@dscord/daemon 0.1.43 → 0.1.45
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 +2107 -2110
- package/dist/index.js +8961 -8841
- package/package.json +1 -1
package/dist/chat-bridge.js
CHANGED
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_0x52091d = _0x2cd77d['indexOf'](_0x52091d);
|
|
11
|
-
}
|
|
12
|
-
for (let _0x52024a = 0x0, _0x1bcc69 = _0x55c6fc['length']; _0x52024a < _0x1bcc69; _0x52024a++) {
|
|
13
|
-
_0x5da96b += '%' + ('00' + _0x55c6fc['charCodeAt'](_0x52024a)['toString'](0x10))['slice'](-0x2);
|
|
14
|
-
}
|
|
15
|
-
return decodeURIComponent(_0x5da96b);
|
|
16
|
-
};
|
|
17
|
-
_0x4754['LmbUqo'] = _0x321fbd, _0x4754['WXYPfn'] = {}, _0x4754['mOANpg'] = !![];
|
|
18
|
-
}
|
|
19
|
-
const _0x2eb491 = _0x4cbf2b[0x0], _0x3e78e2 = _0x1a992b + _0x2eb491, _0x4bfd19 = _0x4754['WXYPfn'][_0x3e78e2];
|
|
20
|
-
return !_0x4bfd19 ? (_0x475477 = _0x4754['LmbUqo'](_0x475477), _0x4754['WXYPfn'][_0x3e78e2] = _0x475477) : _0x475477 = _0x4bfd19, _0x475477;
|
|
21
|
-
}
|
|
22
|
-
const _0x27ce1c = _0x4754;
|
|
23
|
-
(function (_0x4e403d, _0x3d80f6) {
|
|
24
|
-
const _0x3569b1 = {
|
|
25
|
-
_0x4ba8b0: 0x1cb,
|
|
26
|
-
_0x24c73c: 0x135,
|
|
27
|
-
_0x585230: 0x17e,
|
|
28
|
-
_0x65b7a7: 0x13a,
|
|
29
|
-
_0x133f0d: 0xd7,
|
|
30
|
-
_0x588695: 0x1c9
|
|
31
|
-
}, _0x3c078a = _0x4754, _0x2ed3e5 = _0x4e403d();
|
|
1
|
+
const _0x11a45e = _0xcc9b;
|
|
2
|
+
(function (_0x267c7f, _0x33a869) {
|
|
3
|
+
const _0x201ae0 = {
|
|
4
|
+
_0x343d13: 0xc4,
|
|
5
|
+
_0x4f1a61: 0xa5,
|
|
6
|
+
_0x27dfec: 0xec,
|
|
7
|
+
_0x329a04: 0x95,
|
|
8
|
+
_0x3134b1: 0x18f
|
|
9
|
+
}, _0x68c8d5 = _0xcc9b, _0x4bbad3 = _0x267c7f();
|
|
32
10
|
while (!![]) {
|
|
33
11
|
try {
|
|
34
|
-
const
|
|
35
|
-
if (
|
|
12
|
+
const _0x28a325 = parseInt(_0x68c8d5(0xce)) / 0x1 * (-parseInt(_0x68c8d5(_0x201ae0._0x343d13)) / 0x2) + -parseInt(_0x68c8d5(_0x201ae0._0x4f1a61)) / 0x3 + -parseInt(_0x68c8d5(0x1c2)) / 0x4 + parseInt(_0x68c8d5(0xb5)) / 0x5 + parseInt(_0x68c8d5(0x7f)) / 0x6 + parseInt(_0x68c8d5(_0x201ae0._0x27dfec)) / 0x7 * (-parseInt(_0x68c8d5(_0x201ae0._0x329a04)) / 0x8) + -parseInt(_0x68c8d5(_0x201ae0._0x3134b1)) / 0x9 * (-parseInt(_0x68c8d5(0xdc)) / 0xa);
|
|
13
|
+
if (_0x28a325 === _0x33a869)
|
|
36
14
|
break;
|
|
37
15
|
else
|
|
38
|
-
|
|
39
|
-
} catch (
|
|
40
|
-
|
|
16
|
+
_0x4bbad3['push'](_0x4bbad3['shift']());
|
|
17
|
+
} catch (_0x5d13bb) {
|
|
18
|
+
_0x4bbad3['push'](_0x4bbad3['shift']());
|
|
41
19
|
}
|
|
42
20
|
}
|
|
43
|
-
}(
|
|
21
|
+
}(_0x2d07, 0x2f51e));
|
|
44
22
|
import { pathToFileURL } from 'node:url';
|
|
23
|
+
function _0xcc9b(_0x1226cc, _0x2f2999) {
|
|
24
|
+
_0x1226cc = _0x1226cc - 0x6d;
|
|
25
|
+
const _0x2d0726 = _0x2d07();
|
|
26
|
+
let _0xcc9be6 = _0x2d0726[_0x1226cc];
|
|
27
|
+
if (_0xcc9b['qAUKUD'] === undefined) {
|
|
28
|
+
var _0x3e8ac8 = function (_0x4f05db) {
|
|
29
|
+
const _0x18de70 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
30
|
+
let _0x2ece06 = '', _0x21a9eb = '';
|
|
31
|
+
for (let _0x5e76fc = 0x0, _0x463387, _0x1e870d, _0x1e4a2c = 0x0; _0x1e870d = _0x4f05db['charAt'](_0x1e4a2c++); ~_0x1e870d && (_0x463387 = _0x5e76fc % 0x4 ? _0x463387 * 0x40 + _0x1e870d : _0x1e870d, _0x5e76fc++ % 0x4) ? _0x2ece06 += String['fromCharCode'](0xff & _0x463387 >> (-0x2 * _0x5e76fc & 0x6)) : 0x0) {
|
|
32
|
+
_0x1e870d = _0x18de70['indexOf'](_0x1e870d);
|
|
33
|
+
}
|
|
34
|
+
for (let _0x58fb37 = 0x0, _0x39b51d = _0x2ece06['length']; _0x58fb37 < _0x39b51d; _0x58fb37++) {
|
|
35
|
+
_0x21a9eb += '%' + ('00' + _0x2ece06['charCodeAt'](_0x58fb37)['toString'](0x10))['slice'](-0x2);
|
|
36
|
+
}
|
|
37
|
+
return decodeURIComponent(_0x21a9eb);
|
|
38
|
+
};
|
|
39
|
+
_0xcc9b['TIaQXE'] = _0x3e8ac8, _0xcc9b['yAZUqr'] = {}, _0xcc9b['qAUKUD'] = !![];
|
|
40
|
+
}
|
|
41
|
+
const _0x1485ea = _0x2d0726[0x0], _0x39ef67 = _0x1226cc + _0x1485ea, _0x3a2c60 = _0xcc9b['yAZUqr'][_0x39ef67];
|
|
42
|
+
return !_0x3a2c60 ? (_0xcc9be6 = _0xcc9b['TIaQXE'](_0xcc9be6), _0xcc9b['yAZUqr'][_0x39ef67] = _0xcc9be6) : _0xcc9be6 = _0x3a2c60, _0xcc9be6;
|
|
43
|
+
}
|
|
45
44
|
import {
|
|
46
45
|
mkdir,
|
|
47
46
|
readFile,
|
|
@@ -50,77 +49,76 @@ import {
|
|
|
50
49
|
writeFile
|
|
51
50
|
} from 'node:fs/promises';
|
|
52
51
|
import { homedir } from 'node:os';
|
|
53
|
-
import
|
|
52
|
+
import _0x2ece06 from 'node:path';
|
|
54
53
|
var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
|
|
55
|
-
'.csv':
|
|
56
|
-
'.gif':
|
|
57
|
-
'.jpeg':
|
|
58
|
-
'.jpg':
|
|
59
|
-
'.json':
|
|
60
|
-
'.md':
|
|
61
|
-
'.pdf':
|
|
54
|
+
'.csv': _0x11a45e(0x133),
|
|
55
|
+
'.gif': 'image/gif',
|
|
56
|
+
'.jpeg': _0x11a45e(0x1da),
|
|
57
|
+
'.jpg': _0x11a45e(0x1da),
|
|
58
|
+
'.json': _0x11a45e(0x1e2),
|
|
59
|
+
'.md': 'text/markdown',
|
|
60
|
+
'.pdf': _0x11a45e(0xd4),
|
|
62
61
|
'.png': 'image/png',
|
|
63
|
-
'.svg':
|
|
64
|
-
'.txt':
|
|
65
|
-
'.webp':
|
|
66
|
-
'.xml':
|
|
67
|
-
'.zip':
|
|
62
|
+
'.svg': _0x11a45e(0x113),
|
|
63
|
+
'.txt': _0x11a45e(0x1d6),
|
|
64
|
+
'.webp': _0x11a45e(0x1c5),
|
|
65
|
+
'.xml': 'application/xml',
|
|
66
|
+
'.zip': 'application/zip'
|
|
68
67
|
};
|
|
69
|
-
function guessContentType(
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
_0x516573: 0x1d1,
|
|
73
|
-
_0x24f7dd: 0x124
|
|
74
|
-
}, _0x4e15d9 = _0x27ce1c;
|
|
75
|
-
return MIME_BY_EXTENSION[_0x55c6fc[_0x4e15d9(_0xf5a365._0x53becf)](_0x5da96b)[_0x4e15d9(_0xf5a365._0x516573)]()] ?? _0x4e15d9(_0xf5a365._0x24f7dd);
|
|
68
|
+
function guessContentType(_0x21a9eb) {
|
|
69
|
+
const _0x2a878f = { _0x23af20: 0x108 }, _0x4808c0 = _0x11a45e;
|
|
70
|
+
return MIME_BY_EXTENSION[_0x2ece06[_0x4808c0(_0x2a878f._0x23af20)](_0x21a9eb)['toLowerCase']()] ?? _0x4808c0(0xb6);
|
|
76
71
|
}
|
|
77
|
-
function safeFilename(
|
|
78
|
-
|
|
72
|
+
function safeFilename(_0x5e76fc) {
|
|
73
|
+
const _0x5de7b9 = _0x11a45e;
|
|
74
|
+
return _0x5e76fc[_0x5de7b9(0x12f)](/[\\/]/g, '-');
|
|
79
75
|
}
|
|
80
|
-
function extensionFor(
|
|
81
|
-
const
|
|
82
|
-
return
|
|
76
|
+
function extensionFor(_0x463387) {
|
|
77
|
+
const _0x24017f = { _0x5847c6: 0x124 }, _0x489f97 = _0x11a45e, _0x1e870d = Object[_0x489f97(0x1f1)](MIME_BY_EXTENSION)[_0x489f97(_0x24017f._0x5847c6)](([, _0x1e4a2c]) => _0x1e4a2c === _0x463387);
|
|
78
|
+
return _0x1e870d?.[0x0] ?? _0x489f97(0x16e);
|
|
83
79
|
}
|
|
84
|
-
async function prepareUploadFile(
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
80
|
+
async function prepareUploadFile(_0x58fb37, _0x39b51d = {}) {
|
|
81
|
+
const _0x20c301 = {
|
|
82
|
+
_0x26eeb7: 0x96,
|
|
83
|
+
_0x513e85: 0x14f,
|
|
84
|
+
_0x576ad8: 0x1ae,
|
|
85
|
+
_0xc49984: 0xa1,
|
|
86
|
+
_0x1c6cc3: 0x12a
|
|
87
|
+
}, _0x292824 = _0x11a45e;
|
|
88
|
+
if (!_0x2ece06['isAbsolute'](_0x58fb37))
|
|
89
|
+
throw new Error('file_path\x20must\x20be\x20an\x20absolute\x20path');
|
|
90
|
+
const _0x5dd808 = await stat(_0x58fb37)[_0x292824(_0x20c301._0x26eeb7)](() => null);
|
|
91
|
+
if (!_0x5dd808 || !_0x5dd808[_0x292824(_0x20c301._0x513e85)]())
|
|
92
|
+
throw new Error(_0x292824(0x145) + _0x58fb37);
|
|
93
|
+
const _0x18efbb = _0x39b51d[_0x292824(0x194)] ?? DEFAULT_MAX_FILE_SIZE;
|
|
94
|
+
if (_0x5dd808['size'] > _0x18efbb)
|
|
95
|
+
throw new Error('File\x20size\x20exceeds\x20limit:\x20' + _0x5dd808[_0x292824(0x12a)]);
|
|
96
|
+
const _0x3ce866 = await readFile(_0x58fb37), _0x4f99bb = _0x2ece06[_0x292824(_0x20c301._0x576ad8)](_0x58fb37);
|
|
99
97
|
return {
|
|
100
|
-
'contentBase64':
|
|
101
|
-
'contentType': guessContentType(
|
|
102
|
-
'filename':
|
|
103
|
-
'sizeBytes':
|
|
98
|
+
'contentBase64': _0x3ce866[_0x292824(_0x20c301._0xc49984)](_0x292824(0x140)),
|
|
99
|
+
'contentType': guessContentType(_0x4f99bb),
|
|
100
|
+
'filename': _0x4f99bb,
|
|
101
|
+
'sizeBytes': _0x5dd808[_0x292824(_0x20c301._0x1c6cc3)]
|
|
104
102
|
};
|
|
105
103
|
}
|
|
106
|
-
function createAttachmentCache(
|
|
107
|
-
const
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
},
|
|
104
|
+
function createAttachmentCache(_0x4e2d37 = {}) {
|
|
105
|
+
const _0x1b5194 = { _0x537922: 0x146 }, _0x2a6219 = {
|
|
106
|
+
_0x52c966: 0x132,
|
|
107
|
+
_0x94ceb2: 0x19a
|
|
108
|
+
}, _0x17a4c6 = { _0x3df2af: 0x132 }, _0xd70e6b = _0x11a45e, _0x88b617 = _0x4e2d37[_0xd70e6b(0x13f)] ?? _0x2ece06[_0xd70e6b(0x132)](homedir(), _0xd70e6b(_0x1b5194._0x537922), _0xd70e6b(0x169));
|
|
111
109
|
return {
|
|
112
|
-
'cacheDir':
|
|
113
|
-
async 'findCachedPath'(
|
|
114
|
-
const
|
|
115
|
-
await mkdir(
|
|
116
|
-
const
|
|
117
|
-
return
|
|
110
|
+
'cacheDir': _0x88b617,
|
|
111
|
+
async 'findCachedPath'(_0x5c75cb) {
|
|
112
|
+
const _0x55137d = _0xd70e6b;
|
|
113
|
+
await mkdir(_0x88b617, { 'recursive': !![] });
|
|
114
|
+
const _0x23fd67 = await readdir(_0x88b617), _0x1a2f13 = _0x23fd67[_0x55137d(0x124)](_0x4fec0b => _0x4fec0b['startsWith'](_0x5c75cb + '-') || _0x4fec0b[_0x55137d(0x180)](_0x5c75cb));
|
|
115
|
+
return _0x1a2f13 ? _0x2ece06[_0x55137d(_0x17a4c6._0x3df2af)](_0x88b617, _0x1a2f13) : null;
|
|
118
116
|
},
|
|
119
|
-
async 'save'(
|
|
120
|
-
const
|
|
121
|
-
await mkdir(
|
|
122
|
-
const
|
|
123
|
-
return await writeFile(
|
|
117
|
+
async 'save'(_0x2df608) {
|
|
118
|
+
const _0x15f98c = _0xd70e6b;
|
|
119
|
+
await mkdir(_0x88b617, { 'recursive': !![] });
|
|
120
|
+
const _0x32aa47 = _0x2df608[_0x15f98c(0x198)]?.[_0x15f98c(0xd0)]() ? safeFilename(_0x2df608[_0x15f98c(0x198)]) : '' + _0x2df608[_0x15f98c(0x1cc)] + extensionFor(_0x2df608[_0x15f98c(0x12d)]), _0x1836f8 = _0x2ece06[_0x15f98c(_0x2a6219._0x52c966)](_0x88b617, _0x2df608['attachmentId'] + '-' + _0x32aa47);
|
|
121
|
+
return await writeFile(_0x1836f8, _0x2df608[_0x15f98c(_0x2a6219._0x94ceb2)]), _0x1836f8;
|
|
124
122
|
}
|
|
125
123
|
};
|
|
126
124
|
}
|
|
@@ -128,2227 +126,2226 @@ import {
|
|
|
128
126
|
createHash,
|
|
129
127
|
randomUUID
|
|
130
128
|
} from 'node:crypto';
|
|
131
|
-
var UNSUPPORTED_TARGET_MESSAGE =
|
|
132
|
-
function
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
136
|
-
return _0x54d56c;
|
|
137
|
-
}
|
|
138
|
-
function parseThreadParts(_0x2b5fb7) {
|
|
139
|
-
const _0x19f7fd = { _0x37c3ad: 0x160 }, _0x369a84 = _0x27ce1c, _0x246d15 = _0x2b5fb7[_0x369a84(_0x19f7fd._0x37c3ad)](':');
|
|
140
|
-
if (_0x246d15[_0x369a84(0x255)] < 0x1 || _0x246d15['length'] > 0x2)
|
|
141
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
142
|
-
return {
|
|
143
|
-
'channelName': ensureSegment(_0x246d15[0x0] ?? ''),
|
|
144
|
-
'threadShortId': _0x246d15[0x1] ? ensureSegment(_0x246d15[0x1]) : null
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
function parseTarget(_0x21451a) {
|
|
148
|
-
const _0x25bbe = {
|
|
149
|
-
_0x1ef932: 0x1d7,
|
|
150
|
-
_0x587777: 0x1cc,
|
|
151
|
-
_0x53545c: 0xd0,
|
|
152
|
-
_0x4f4afe: 0x256,
|
|
153
|
-
_0xdbce16: 0x115,
|
|
154
|
-
_0x5b6d10: 0x115,
|
|
155
|
-
_0xbb5290: 0xd0,
|
|
156
|
-
_0x59effe: 0x11a,
|
|
157
|
-
_0x251e03: 0x256,
|
|
158
|
-
_0x5dd046: 0x115,
|
|
159
|
-
_0x3e5014: 0x256,
|
|
160
|
-
_0x157eb7: 0x12b,
|
|
161
|
-
_0x1ac50c: 0x115
|
|
162
|
-
}, _0x97f0d2 = _0x27ce1c, _0xe0dce6 = _0x21451a[_0x97f0d2(_0x25bbe._0x1ef932)]();
|
|
163
|
-
if (!_0xe0dce6)
|
|
164
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
165
|
-
if (_0xe0dce6[_0x97f0d2(_0x25bbe._0x587777)]('#')) {
|
|
166
|
-
const _0x1feb21 = parseThreadParts(_0xe0dce6[_0x97f0d2(_0x25bbe._0x53545c)](0x1)), _0x481da2 = '#' + _0x1feb21[_0x97f0d2(0x256)];
|
|
167
|
-
if (!_0x1feb21[_0x97f0d2(0x115)])
|
|
168
|
-
return {
|
|
169
|
-
'channelName': _0x1feb21['channelName'],
|
|
170
|
-
'channelTarget': _0x481da2,
|
|
171
|
-
'kind': _0x97f0d2(0xf3),
|
|
172
|
-
'target': _0x481da2
|
|
173
|
-
};
|
|
174
|
-
return {
|
|
175
|
-
'channelName': _0x1feb21[_0x97f0d2(_0x25bbe._0x4f4afe)],
|
|
176
|
-
'channelTarget': _0x481da2,
|
|
177
|
-
'kind': 'thread',
|
|
178
|
-
'target': _0x481da2 + ':' + _0x1feb21[_0x97f0d2(_0x25bbe._0xdbce16)],
|
|
179
|
-
'threadShortId': _0x1feb21[_0x97f0d2(_0x25bbe._0x5b6d10)]
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
if (_0xe0dce6[_0x97f0d2(0x1cc)]('dm:')) {
|
|
183
|
-
const _0x100dd0 = parseThreadParts(_0xe0dce6[_0x97f0d2(_0x25bbe._0xbb5290)](0x3));
|
|
184
|
-
if (!_0x100dd0['channelName']['startsWith'](_0x97f0d2(_0x25bbe._0x59effe)))
|
|
185
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
186
|
-
const _0x368bd8 = _0x97f0d2(0x138) + _0x100dd0[_0x97f0d2(_0x25bbe._0x251e03)];
|
|
187
|
-
if (!_0x100dd0[_0x97f0d2(_0x25bbe._0x5dd046)])
|
|
188
|
-
return {
|
|
189
|
-
'channelName': _0x100dd0[_0x97f0d2(_0x25bbe._0x3e5014)],
|
|
190
|
-
'channelTarget': _0x368bd8,
|
|
191
|
-
'kind': 'channel',
|
|
192
|
-
'target': _0x368bd8
|
|
193
|
-
};
|
|
194
|
-
return {
|
|
195
|
-
'channelName': _0x100dd0['channelName'],
|
|
196
|
-
'channelTarget': _0x368bd8,
|
|
197
|
-
'kind': _0x97f0d2(_0x25bbe._0x157eb7),
|
|
198
|
-
'target': _0x368bd8 + ':' + _0x100dd0[_0x97f0d2(_0x25bbe._0x1ac50c)],
|
|
199
|
-
'threadShortId': _0x100dd0[_0x97f0d2(0x115)]
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
203
|
-
}
|
|
204
|
-
function asErrorMessage(_0x3132f7, _0x5709e2) {
|
|
205
|
-
const _0xa04268 = _0x27ce1c;
|
|
206
|
-
if (typeof _0x3132f7 === 'string' && _0x3132f7[_0xa04268(0x1d7)]())
|
|
207
|
-
return _0x3132f7;
|
|
208
|
-
return _0x5709e2;
|
|
209
|
-
}
|
|
210
|
-
function asRecord(_0x16cc54) {
|
|
211
|
-
const _0x518e4b = _0x27ce1c;
|
|
212
|
-
return typeof _0x16cc54 === _0x518e4b(0xe3) && _0x16cc54 !== null ? _0x16cc54 : {};
|
|
213
|
-
}
|
|
214
|
-
function stableStringify(_0x18bdb8) {
|
|
215
|
-
const _0x2dc80d = { _0x45845f: 0x121 }, _0x19040c = _0x27ce1c;
|
|
216
|
-
if (_0x18bdb8 === null || typeof _0x18bdb8 !== _0x19040c(0xe3))
|
|
217
|
-
return JSON[_0x19040c(0x142)](_0x18bdb8);
|
|
218
|
-
if (Array[_0x19040c(_0x2dc80d._0x45845f)](_0x18bdb8))
|
|
219
|
-
return '[' + _0x18bdb8['map'](_0x457682 => stableStringify(_0x457682))[_0x19040c(0x172)](',') + ']';
|
|
220
|
-
const _0x7c819b = Object['entries'](_0x18bdb8)['filter'](([, _0x5ca41b]) => _0x5ca41b !== void 0x0)[_0x19040c(0x1ff)](([_0x36ce67], [_0x298bf6]) => _0x36ce67[_0x19040c(0x1ad)](_0x298bf6))[_0x19040c(0x14e)](([_0x2c681a, _0x406e94]) => JSON[_0x19040c(0x142)](_0x2c681a) + ':' + stableStringify(_0x406e94));
|
|
221
|
-
return '{' + _0x7c819b[_0x19040c(0x172)](',') + '}';
|
|
222
|
-
}
|
|
223
|
-
function createHeaders(_0x2ca748) {
|
|
224
|
-
const _0x207040 = { _0x43676e: 0x170 }, _0xd720c0 = _0x27ce1c;
|
|
225
|
-
return {
|
|
226
|
-
'Content-Type': _0xd720c0(_0x207040._0x43676e),
|
|
227
|
-
'x-daemon-api-key': _0x2ca748
|
|
228
|
-
};
|
|
229
|
-
}
|
|
230
|
-
function toHttpBaseUrl(_0xfea23c) {
|
|
231
|
-
const _0x592071 = {
|
|
232
|
-
_0x91dd62: 0x10f,
|
|
233
|
-
_0x4b6852: 0x1a0,
|
|
234
|
-
_0x3e5f74: 0x13f
|
|
235
|
-
}, _0x18919a = _0x27ce1c, _0x48b3d8 = new URL(_0xfea23c);
|
|
236
|
-
if (_0x48b3d8['protocol'] === _0x18919a(0xd3))
|
|
237
|
-
_0x48b3d8[_0x18919a(_0x592071._0x91dd62)] = 'http:';
|
|
238
|
-
else
|
|
239
|
-
_0x48b3d8['protocol'] === _0x18919a(_0x592071._0x4b6852) && (_0x48b3d8['protocol'] = _0x18919a(0x188));
|
|
240
|
-
return _0x48b3d8[_0x18919a(_0x592071._0x3e5f74)]()['replace'](/\/$/, '');
|
|
241
|
-
}
|
|
242
|
-
function isMentionBoundary(_0x532780) {
|
|
243
|
-
const _0x2e9669 = _0x27ce1c;
|
|
244
|
-
return !_0x532780 || /\s|[([{'",。!?、:;]/[_0x2e9669(0x147)](_0x532780);
|
|
245
|
-
}
|
|
246
|
-
function isMentionTerminal(_0x2360ad) {
|
|
247
|
-
const _0x2e3c30 = _0x27ce1c;
|
|
248
|
-
return !_0x2360ad || /\s|[)\]}'",。!?、:;,.!?]/[_0x2e3c30(0x147)](_0x2360ad);
|
|
249
|
-
}
|
|
250
|
-
function buildMatchableEntries(_0x2d95e6) {
|
|
251
|
-
const _0x43a654 = {
|
|
252
|
-
_0x57ccd0: 0x22e,
|
|
253
|
-
_0x520deb: 0x1ac
|
|
254
|
-
}, _0x39061f = _0x27ce1c, _0x5b567c = [];
|
|
255
|
-
for (const _0x51543b of [
|
|
256
|
-
..._0x2d95e6[_0x39061f(_0x43a654._0x57ccd0)],
|
|
257
|
-
..._0x2d95e6[_0x39061f(0x1e0)]
|
|
258
|
-
]) {
|
|
259
|
-
_0x5b567c['push']({
|
|
260
|
-
'matchName': _0x51543b['name'],
|
|
261
|
-
'matchNameLower': _0x51543b[_0x39061f(0x1c5)][_0x39061f(_0x43a654._0x520deb)](),
|
|
262
|
-
'participantId': _0x51543b['id']
|
|
263
|
-
}), _0x51543b['id'] !== _0x51543b['name'] && _0x5b567c['push']({
|
|
264
|
-
'matchName': _0x51543b['id'],
|
|
265
|
-
'matchNameLower': _0x51543b['id'][_0x39061f(_0x43a654._0x520deb)](),
|
|
266
|
-
'participantId': _0x51543b['id']
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
return _0x5b567c;
|
|
270
|
-
}
|
|
271
|
-
function extractMentionedParticipantIds(_0x2bd934, _0x1e692b) {
|
|
272
|
-
const _0x36128a = {
|
|
273
|
-
_0x23689d: 0x255,
|
|
274
|
-
_0x5d5b6d: 0x187,
|
|
275
|
-
_0x1f6feb: 0x125,
|
|
276
|
-
_0x9e5f69: 0x18f,
|
|
277
|
-
_0x262dcd: 0xdf
|
|
278
|
-
}, _0x412144 = {
|
|
279
|
-
_0x4c7355: 0x1cc,
|
|
280
|
-
_0x599392: 0xdf
|
|
281
|
-
}, _0x5dddf2 = _0x27ce1c, _0x23c057 = buildMatchableEntries(_0x1e692b)['sort']((_0x550322, _0x1557a3) => _0x1557a3['matchName'][_0x5dddf2(0x255)] - _0x550322['matchName'][_0x5dddf2(0x255)]), _0x565c79 = [], _0x3bd457 = new Set();
|
|
282
|
-
for (let _0x3dc237 = 0x0; _0x3dc237 < _0x2bd934[_0x5dddf2(_0x36128a._0x23689d)]; _0x3dc237 += 0x1) {
|
|
283
|
-
if (_0x2bd934[_0x3dc237] !== '@' || !isMentionBoundary(_0x2bd934[_0x3dc237 - 0x1]))
|
|
284
|
-
continue;
|
|
285
|
-
const _0x2d24fc = _0x2bd934['slice'](_0x3dc237 + 0x1), _0x466ade = _0x2d24fc[_0x5dddf2(0x1ac)](), _0x33b9bf = _0x23c057[_0x5dddf2(_0x36128a._0x5d5b6d)](_0x4e5dc5 => {
|
|
286
|
-
const _0x133e02 = _0x5dddf2;
|
|
287
|
-
if (!_0x466ade[_0x133e02(_0x412144._0x4c7355)](_0x4e5dc5['matchNameLower']))
|
|
288
|
-
return ![];
|
|
289
|
-
return isMentionTerminal(_0x2d24fc[_0x4e5dc5[_0x133e02(_0x412144._0x599392)][_0x133e02(0x255)]]);
|
|
290
|
-
});
|
|
291
|
-
if (!_0x33b9bf || _0x3bd457[_0x5dddf2(0x129)](_0x33b9bf[_0x5dddf2(_0x36128a._0x1f6feb)]))
|
|
292
|
-
continue;
|
|
293
|
-
_0x3bd457[_0x5dddf2(_0x36128a._0x9e5f69)](_0x33b9bf[_0x5dddf2(_0x36128a._0x1f6feb)]), _0x565c79[_0x5dddf2(0x1fb)](_0x33b9bf[_0x5dddf2(0x125)]), _0x3dc237 += _0x33b9bf[_0x5dddf2(_0x36128a._0x262dcd)][_0x5dddf2(0x255)];
|
|
294
|
-
}
|
|
295
|
-
return _0x565c79;
|
|
296
|
-
}
|
|
297
|
-
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
298
|
-
function anySignal(..._0xa53121) {
|
|
299
|
-
const _0xca843b = {
|
|
300
|
-
_0x2da2fb: 0xcf,
|
|
301
|
-
_0x10a598: 0x1b7,
|
|
302
|
-
_0x200623: 0x182
|
|
303
|
-
}, _0x544140 = _0x27ce1c, _0x5bbf31 = new AbortController();
|
|
304
|
-
for (const _0x366def of _0xa53121) {
|
|
305
|
-
if (_0x366def[_0x544140(0x11e)])
|
|
306
|
-
return _0x5bbf31[_0x544140(_0xca843b._0x2da2fb)](_0x366def[_0x544140(_0xca843b._0x10a598)]), _0x5bbf31[_0x544140(_0xca843b._0x200623)];
|
|
307
|
-
_0x366def[_0x544140(0x10e)](_0x544140(0xcf), () => _0x5bbf31[_0x544140(0xcf)](_0x366def[_0x544140(0x1b7)]), {
|
|
308
|
-
'once': !![],
|
|
309
|
-
'signal': _0x5bbf31[_0x544140(_0xca843b._0x200623)]
|
|
310
|
-
});
|
|
311
|
-
}
|
|
312
|
-
return _0x5bbf31[_0x544140(_0xca843b._0x200623)];
|
|
313
|
-
}
|
|
314
|
-
function createInternalAgentClient(_0x6a4cfc) {
|
|
315
|
-
const _0x443555 = {
|
|
316
|
-
_0x549365: 0x13d,
|
|
317
|
-
_0x26ffae: 0x1fd
|
|
318
|
-
}, _0x551076 = {
|
|
319
|
-
_0x3fc951: 0x102,
|
|
320
|
-
_0x2d8afa: 0x1a6,
|
|
321
|
-
_0x2b62bd: 0xeb,
|
|
322
|
-
_0x4f580a: 0x1c7,
|
|
323
|
-
_0x44fded: 0x1ca,
|
|
324
|
-
_0x4934f5: 0xe5,
|
|
325
|
-
_0x3b88dc: 0x230,
|
|
326
|
-
_0x15d1a7: 0x156,
|
|
327
|
-
_0x59ad90: 0x252,
|
|
328
|
-
_0x9442b4: 0x252,
|
|
329
|
-
_0x32d96f: 0x236,
|
|
330
|
-
_0xb2e733: 0x204,
|
|
331
|
-
_0x589c0f: 0xea,
|
|
332
|
-
_0x45caa3: 0x1cf,
|
|
333
|
-
_0x1e498e: 0x104,
|
|
334
|
-
_0x1959dd: 0x1b9,
|
|
335
|
-
_0x125564: 0x102,
|
|
336
|
-
_0x567c6c: 0x1c5,
|
|
337
|
-
_0xd4a0d0: 0x1dd,
|
|
338
|
-
_0x2230b2: 0x101,
|
|
339
|
-
_0x18f43c: 0x215,
|
|
340
|
-
_0x200d3c: 0x150,
|
|
341
|
-
_0x4f5eea: 0x208,
|
|
342
|
-
_0x63cd7f: 0xfe,
|
|
343
|
-
_0x2d4a71: 0x1fb
|
|
344
|
-
}, _0x2a4651 = { _0x5f6f7: 0x207 }, _0xb831af = {
|
|
345
|
-
_0x124476: 0xf3,
|
|
346
|
-
_0x2a8e75: 0x15b,
|
|
347
|
-
_0x395a59: 0x252
|
|
348
|
-
}, _0x19dcad = {
|
|
349
|
-
_0x136584: 0x158,
|
|
350
|
-
_0x2d3c12: 0xeb,
|
|
351
|
-
_0x46aa36: 0x196,
|
|
352
|
-
_0x1dd3b2: 0x1c7,
|
|
353
|
-
_0x27c70e: 0x15f,
|
|
354
|
-
_0x1e693c: 0x223
|
|
355
|
-
}, _0x23d865 = {
|
|
356
|
-
_0x59f2f1: 0x1b5,
|
|
357
|
-
_0x5166b1: 0x219,
|
|
358
|
-
_0x31c645: 0x14f,
|
|
359
|
-
_0x15bb47: 0xe1,
|
|
360
|
-
_0x2e8c2c: 0x1c4,
|
|
361
|
-
_0x3a9f44: 0x1c7,
|
|
362
|
-
_0xbbf33e: 0x1c7,
|
|
363
|
-
_0x4be844: 0x223
|
|
364
|
-
}, _0x1d0822 = {
|
|
365
|
-
_0x1b58a0: 0x1f1,
|
|
366
|
-
_0x341813: 0x1bb
|
|
367
|
-
}, _0x434471 = {
|
|
368
|
-
_0x5ea0a7: 0x142,
|
|
369
|
-
_0x344455: 0x19f,
|
|
370
|
-
_0x3e200a: 0x1bb
|
|
371
|
-
}, _0xf970d4 = {
|
|
372
|
-
_0x3a2ae8: 0x18b,
|
|
373
|
-
_0x4b6aab: 0x195,
|
|
374
|
-
_0x480eb3: 0x1bb
|
|
375
|
-
}, _0x198b78 = {
|
|
376
|
-
_0xff391: 0x195,
|
|
377
|
-
_0x53b579: 0x117,
|
|
378
|
-
_0x2f7abf: 0x192,
|
|
379
|
-
_0x3301e8: 0x1bb
|
|
380
|
-
}, _0x1a21d5 = {
|
|
381
|
-
_0x399573: 0xf3,
|
|
382
|
-
_0x586483: 0x18b,
|
|
383
|
-
_0x594d51: 0x195
|
|
384
|
-
}, _0x2e4ccd = {
|
|
385
|
-
_0x41aad0: 0x16e,
|
|
386
|
-
_0x510391: 0x142,
|
|
387
|
-
_0x3d71e0: 0x1bb
|
|
388
|
-
}, _0xa2065e = {
|
|
389
|
-
_0xeaf51a: 0x108,
|
|
390
|
-
_0x5b32c4: 0x142
|
|
391
|
-
}, _0x58c0cb = {
|
|
392
|
-
_0xf8215f: 0x246,
|
|
393
|
-
_0x192550: 0x202
|
|
394
|
-
}, _0xd7145f = {
|
|
395
|
-
_0x1ee543: 0xe1,
|
|
396
|
-
_0x111f95: 0x157,
|
|
397
|
-
_0x5e57ab: 0x142,
|
|
398
|
-
_0x5b917d: 0x252,
|
|
399
|
-
_0x189379: 0x21b,
|
|
400
|
-
_0x29851b: 0x21b,
|
|
401
|
-
_0x2aaf20: 0x1c7
|
|
402
|
-
}, _0x4d379d = {
|
|
403
|
-
_0x3812f6: 0xf9,
|
|
404
|
-
_0x868186: 0x1b5,
|
|
405
|
-
_0xa8dd3c: 0x102,
|
|
406
|
-
_0x1648c0: 0x252,
|
|
407
|
-
_0x504812: 0x209,
|
|
408
|
-
_0x29f2a2: 0x15b,
|
|
409
|
-
_0x1b1c01: 0x248,
|
|
410
|
-
_0x583935: 0x13f,
|
|
411
|
-
_0x288ca3: 0xeb,
|
|
412
|
-
_0x1c9919: 0x1ca,
|
|
413
|
-
_0x3aac13: 0x130,
|
|
414
|
-
_0x3db26a: 0x1ca
|
|
415
|
-
}, _0x2e447b = {
|
|
416
|
-
_0x543ca7: 0x118,
|
|
417
|
-
_0x4900bf: 0x125,
|
|
418
|
-
_0x5dac02: 0x23a,
|
|
419
|
-
_0x110812: 0x125
|
|
420
|
-
}, _0x5dba3f = {
|
|
421
|
-
_0x29a607: 0x12b,
|
|
422
|
-
_0x552e1f: 0x1cf,
|
|
423
|
-
_0x2e7c7c: 0x236,
|
|
424
|
-
_0x57181c: 0x115
|
|
425
|
-
}, _0x3d5e5d = {
|
|
426
|
-
_0x2f2a2f: 0x12f,
|
|
427
|
-
_0x27e5a4: 0x236,
|
|
428
|
-
_0x2283cb: 0x12f,
|
|
429
|
-
_0x565d4a: 0x1b5,
|
|
430
|
-
_0x3bc153: 0xd0
|
|
431
|
-
}, _0x593033 = { _0x1d4dfd: 0x1e5 }, _0x1f4a7a = { _0xaabfec: 0x226 }, _0x264efb = {
|
|
432
|
-
_0x413c95: 0x18b,
|
|
433
|
-
_0x763db9: 0xe1,
|
|
434
|
-
_0x39c8aa: 0x1bb,
|
|
435
|
-
_0x330c7f: 0x1c7,
|
|
436
|
-
_0x530a06: 0x1c7
|
|
437
|
-
}, _0x2e3207 = { _0x26bfb5: 0x1aa }, _0x2ea52e = {
|
|
438
|
-
_0x39877f: 0x142,
|
|
439
|
-
_0x52212c: 0x1c8
|
|
440
|
-
}, _0x32bc42 = {
|
|
441
|
-
_0x4c2904: 0x182,
|
|
442
|
-
_0x51c2eb: 0x155,
|
|
443
|
-
_0x134961: 0x1aa
|
|
444
|
-
}, _0x3f8bfb = {
|
|
445
|
-
_0x196f32: 0x1be,
|
|
446
|
-
_0x389d0e: 0x1d7,
|
|
447
|
-
_0x2d5c84: 0x20a,
|
|
448
|
-
_0x2a48db: 0xed,
|
|
449
|
-
_0x104b58: 0x102
|
|
450
|
-
}, _0x2b1a5e = {
|
|
451
|
-
_0xc2de1c: 0x21c,
|
|
452
|
-
_0x4bb27b: 0x13f
|
|
453
|
-
}, _0x25ea65 = {
|
|
454
|
-
_0x46f9a5: 0x231,
|
|
455
|
-
_0x5c2b2f: 0x174,
|
|
456
|
-
_0x20e676: 0x19c,
|
|
457
|
-
_0x59a94e: 0x24c,
|
|
458
|
-
_0x44371d: 0x1d7,
|
|
459
|
-
_0x347b65: 0x21d,
|
|
460
|
-
_0x380fec: 0xd0,
|
|
461
|
-
_0x425e70: 0xff,
|
|
462
|
-
_0x501227: 0x1bf,
|
|
463
|
-
_0x5a8989: 0x1aa,
|
|
464
|
-
_0x56b56a: 0x17d
|
|
465
|
-
}, _0x4621fb = _0x27ce1c, _0x34531b = _0x6a4cfc[_0x4621fb(_0x443555._0x549365)] ?? fetch, _0x49738b = _0x6a4cfc[_0x4621fb(0x1f2)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x589311 = typeof _0x6a4cfc[_0x4621fb(0x229)] === _0x4621fb(0x204) && _0x6a4cfc[_0x4621fb(0x229)] > 0x0 ? _0x6a4cfc[_0x4621fb(0x229)] : 0x0, _0x2acb95 = _0x6a4cfc[_0x4621fb(0xdc)]?.['trim']() || void 0x0, _0x505c02 = _0x6a4cfc[_0x4621fb(0x14c)]?.['trim']() || void 0x0, _0x538a73 = _0x6a4cfc[_0x4621fb(0x179)] === !![], _0x3b3722 = _0x6a4cfc['workerSessionId']?.[_0x4621fb(0x1d7)]() || void 0x0, _0x267aba = _0x6a4cfc[_0x4621fb(0x1fa)]?.[_0x4621fb(0x1d7)]() || void 0x0, _0x4b9d76 = createHeaders(_0x6a4cfc[_0x4621fb(0xe7)]), _0x222fb8 = toHttpBaseUrl(_0x6a4cfc[_0x4621fb(_0x443555._0x26ffae)]);
|
|
466
|
-
let _0x4ca346 = null;
|
|
467
|
-
const _0x26564e = new Map();
|
|
468
|
-
let _0x19d497 = _0x589311, _0x512667 = _0x589311;
|
|
469
|
-
function _0x1042f7(_0x114cc4) {
|
|
470
|
-
const _0x2e0ba7 = _0x4621fb, _0x197701 = _0x114cc4['response'][_0x2e0ba7(_0x25ea65._0x46f9a5)][_0x2e0ba7(0x1b6)](_0x2e0ba7(_0x25ea65._0x5c2b2f)) ?? _0x2e0ba7(_0x25ea65._0x20e676), _0x3a640f = _0x114cc4[_0x2e0ba7(_0x25ea65._0x59a94e)][_0x2e0ba7(_0x25ea65._0x44371d)]()[_0x2e0ba7(_0x25ea65._0x347b65)](/\s+/g, '\x20')[_0x2e0ba7(_0x25ea65._0x380fec)](0x0, 0x78) || _0x2e0ba7(0x1d5);
|
|
471
|
-
return _0x2e0ba7(0x132) + _0x114cc4[_0x2e0ba7(_0x25ea65._0x425e70)] + _0x2e0ba7(_0x25ea65._0x501227) + _0x114cc4[_0x2e0ba7(0x1bd)][_0x2e0ba7(_0x25ea65._0x5a8989)] + _0x2e0ba7(0x11b) + _0x197701 + ',\x20preview=' + _0x3a640f + _0x2e0ba7(_0x25ea65._0x56b56a);
|
|
472
|
-
}
|
|
473
|
-
async function _0x11cd42(_0x443ad1, _0x475d06) {
|
|
474
|
-
const _0x454696 = _0x4621fb, _0x1d516d = Buffer[_0x454696(_0x2b1a5e._0xc2de1c)](await _0x475d06['arrayBuffer']())[_0x454696(_0x2b1a5e._0x4bb27b)]('utf8');
|
|
475
|
-
if (!_0x1d516d['trim']())
|
|
476
|
-
return {};
|
|
477
|
-
try {
|
|
478
|
-
return JSON[_0x454696(0x169)](_0x1d516d);
|
|
479
|
-
} catch {
|
|
480
|
-
throw new Error(_0x1042f7({
|
|
481
|
-
'bodyText': _0x1d516d,
|
|
482
|
-
'requestUrl': _0x443ad1,
|
|
483
|
-
'response': _0x475d06
|
|
484
|
-
}));
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
function _0x438753(_0x4c260f, _0x4be24a) {
|
|
488
|
-
const _0x144bf0 = _0x4621fb, _0x2c1367 = typeof _0x4be24a[_0x144bf0(0x1be)] === 'string' ? _0x4be24a[_0x144bf0(_0x3f8bfb._0x196f32)][_0x144bf0(_0x3f8bfb._0x389d0e)]() : '';
|
|
489
|
-
if (_0x2c1367)
|
|
490
|
-
return _0x2c1367;
|
|
491
|
-
const _0x5cc80e = Date[_0x144bf0(0x214)]();
|
|
492
|
-
for (const [_0x241c9d, _0x1b0835] of _0x26564e) {
|
|
493
|
-
_0x1b0835[_0x144bf0(_0x3f8bfb._0x2d5c84)] <= _0x5cc80e && _0x26564e[_0x144bf0(0x193)](_0x241c9d);
|
|
494
|
-
}
|
|
495
|
-
const _0x13904e = {
|
|
496
|
-
..._0x4be24a,
|
|
497
|
-
'idempotency_key': void 0x0
|
|
498
|
-
}, _0x1e2126 = createHash(_0x144bf0(0x16c))[_0x144bf0(_0x3f8bfb._0x2a48db)](_0x4c260f + ':' + stableStringify(_0x13904e))[_0x144bf0(0x23e)](_0x144bf0(0x105)), _0x45e796 = _0x4c260f + ':' + _0x1e2126, _0x12cc28 = _0x26564e['get'](_0x45e796);
|
|
499
|
-
if (_0x12cc28)
|
|
500
|
-
return _0x12cc28['value'];
|
|
501
|
-
const _0x2cca0e = _0x144bf0(0xf7) + _0x4c260f + ':' + randomUUID();
|
|
502
|
-
return _0x26564e[_0x144bf0(_0x3f8bfb._0x104b58)](_0x45e796, {
|
|
503
|
-
'expiresAt': _0x5cc80e + 0x5 * 0x3c * 0x3e8,
|
|
504
|
-
'value': _0x2cca0e
|
|
505
|
-
}), _0x2cca0e;
|
|
506
|
-
}
|
|
507
|
-
async function _0x44de4d(_0x2d9f67, _0x596076) {
|
|
508
|
-
const _0x4d60f1 = _0x4621fb, _0x1fea45 = new AbortController(), _0x5d58bc = setTimeout(() => _0x1fea45[_0x4d60f1(0xcf)](), _0x49738b), _0x32c6d8 = _0x596076?.[_0x4d60f1(0x182)] ? anySignal(_0x596076[_0x4d60f1(0x182)], _0x1fea45['signal']) : _0x1fea45[_0x4d60f1(0x182)], _0x4f9147 = '' + _0x222fb8 + _0x2d9f67;
|
|
509
|
-
try {
|
|
510
|
-
const _0x460d23 = await _0x34531b(_0x4f9147, {
|
|
511
|
-
..._0x596076,
|
|
512
|
-
'signal': _0x32c6d8
|
|
513
|
-
}), _0x3c5089 = await _0x11cd42(_0x4f9147, _0x460d23);
|
|
514
|
-
if (!_0x460d23['ok'] || _0x3c5089[_0x4d60f1(0x1db)] === ![])
|
|
515
|
-
throw new Error(asErrorMessage(_0x3c5089['error'], _0x4d60f1(0x196) + _0x460d23['status']));
|
|
516
|
-
return _0x3c5089;
|
|
517
|
-
} finally {
|
|
518
|
-
clearTimeout(_0x5d58bc);
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
async function _0x378f05(_0x38fdcb, _0x5037e0) {
|
|
522
|
-
const _0x1b3db8 = _0x4621fb, _0x2587c7 = new AbortController(), _0x24e7f4 = setTimeout(() => _0x2587c7[_0x1b3db8(0xcf)](), _0x49738b), _0x423878 = _0x5037e0?.['signal'] ? anySignal(_0x5037e0[_0x1b3db8(0x182)], _0x2587c7['signal']) : _0x2587c7[_0x1b3db8(_0x32bc42._0x4c2904)], _0x390fb0 = '' + _0x222fb8 + _0x38fdcb;
|
|
523
|
-
try {
|
|
524
|
-
const _0x4d332c = await _0x34531b(_0x390fb0, {
|
|
525
|
-
..._0x5037e0,
|
|
526
|
-
'signal': _0x423878
|
|
527
|
-
}), _0x5b6dc6 = await _0x11cd42(_0x390fb0, _0x4d332c);
|
|
528
|
-
if (!_0x4d332c['ok'])
|
|
529
|
-
throw new Error(asErrorMessage(_0x5b6dc6[_0x1b3db8(_0x32bc42._0x51c2eb)], _0x1b3db8(0x196) + _0x4d332c[_0x1b3db8(_0x32bc42._0x134961)]));
|
|
530
|
-
return _0x5b6dc6;
|
|
531
|
-
} finally {
|
|
532
|
-
clearTimeout(_0x24e7f4);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
async function _0x140aa8(_0x1d57a5) {
|
|
536
|
-
const _0x3c56cf = _0x4621fb;
|
|
537
|
-
if (!_0x505c02 || _0x1d57a5 <= _0x512667)
|
|
538
|
-
return;
|
|
539
|
-
await _0x44de4d('/api/agent-sessions/' + encodeURIComponent(_0x505c02) + _0x3c56cf(0x123), {
|
|
540
|
-
'body': JSON[_0x3c56cf(_0x2ea52e._0x39877f)]({ 'lastSeenSeq': _0x1d57a5 }),
|
|
541
|
-
'headers': _0x4b9d76,
|
|
542
|
-
'method': _0x3c56cf(_0x2ea52e._0x52212c)
|
|
543
|
-
}), _0x512667 = _0x1d57a5;
|
|
544
|
-
}
|
|
545
|
-
async function _0x53d021(_0x234b38) {
|
|
546
|
-
const _0x261381 = _0x4621fb;
|
|
547
|
-
if (!_0x2acb95 || !_0x3b3722 || _0x234b38 <= _0x512667)
|
|
548
|
-
return;
|
|
549
|
-
const _0x5cfe17 = await _0x34531b(_0x2acb95 + '/workers/context-metrics', {
|
|
550
|
-
'body': JSON[_0x261381(0x142)]({
|
|
551
|
-
'last_seen_seq': _0x234b38,
|
|
552
|
-
'worker_session_id': _0x3b3722
|
|
553
|
-
}),
|
|
554
|
-
'headers': { 'Content-Type': 'application/json' },
|
|
555
|
-
'method': 'POST'
|
|
556
|
-
});
|
|
557
|
-
if (!_0x5cfe17['ok'])
|
|
558
|
-
throw new Error(_0x261381(0x196) + _0x5cfe17[_0x261381(_0x2e3207._0x26bfb5)]);
|
|
559
|
-
_0x512667 = _0x234b38;
|
|
560
|
-
}
|
|
561
|
-
async function _0x2cc5dd(_0x388022) {
|
|
562
|
-
const _0xe7ab0a = _0x4621fb, _0x5411d1 = parseTarget(_0x388022), _0x29c69a = await _0x44de4d(_0xe7ab0a(_0x264efb._0x413c95) + _0x6a4cfc['agentId'] + '/resolve-channel', {
|
|
563
|
-
'body': JSON[_0xe7ab0a(0x142)]({ 'target': _0x5411d1[_0xe7ab0a(_0x264efb._0x763db9)] }),
|
|
564
|
-
'headers': _0x4b9d76,
|
|
565
|
-
'method': _0xe7ab0a(_0x264efb._0x39c8aa)
|
|
566
|
-
});
|
|
567
|
-
return {
|
|
568
|
-
'channelId': _0x29c69a[_0xe7ab0a(_0x264efb._0x330c7f)]?.['channelId'] ?? '',
|
|
569
|
-
'target': _0x5411d1['channelTarget'],
|
|
570
|
-
'task': _0x29c69a[_0xe7ab0a(_0x264efb._0x330c7f)]?.[_0xe7ab0a(0xf5)],
|
|
571
|
-
'threadId': _0x29c69a[_0xe7ab0a(_0x264efb._0x330c7f)]?.[_0xe7ab0a(0x1b5)],
|
|
572
|
-
'threadNumber': _0x29c69a[_0xe7ab0a(_0x264efb._0x530a06)]?.['threadNumber']
|
|
573
|
-
};
|
|
574
|
-
}
|
|
575
|
-
async function _0x52bbc5(_0xd9160e = {}) {
|
|
576
|
-
const _0x51cc46 = {
|
|
577
|
-
_0x32fd98: 0x18b,
|
|
578
|
-
_0x12bb17: 0x1c7,
|
|
579
|
-
_0x4fa4d5: 0x1ae,
|
|
580
|
-
_0x1c72e9: 0x14e,
|
|
581
|
-
_0x317bb5: 0x1c5
|
|
582
|
-
}, _0x4699a3 = _0x4621fb;
|
|
583
|
-
if (!_0xd9160e[_0x4699a3(_0x1f4a7a._0xaabfec)] && _0x4ca346)
|
|
584
|
-
return _0x4ca346;
|
|
585
|
-
return _0x4ca346 = (async () => {
|
|
586
|
-
const _0x49059f = _0x4699a3, _0x396c72 = await _0x44de4d(_0x49059f(_0x51cc46._0x32fd98) + _0x6a4cfc[_0x49059f(0x195)] + _0x49059f(0x143), {
|
|
587
|
-
'headers': _0x4b9d76,
|
|
588
|
-
'method': _0x49059f(0xeb)
|
|
589
|
-
}), _0x379ea4 = _0x396c72[_0x49059f(_0x51cc46._0x12bb17)]?.[_0x49059f(_0x51cc46._0x4fa4d5)] ?? [], _0x302611 = _0x379ea4['filter'](_0xa5749e => _0xa5749e[_0x49059f(0x23a)]?.[_0x49059f(0xd4)] === _0x49059f(0x1e5))[_0x49059f(_0x51cc46._0x1c72e9)](_0x2f2e29 => ({
|
|
590
|
-
'id': _0x45c277(_0x2f2e29),
|
|
591
|
-
'name': _0x137263(_0x2f2e29)
|
|
592
|
-
}))['filter'](_0xfe30d0 => _0xfe30d0['id']), _0x4f3af1 = _0x379ea4[_0x49059f(0x15c)](_0x32cc03 => _0x32cc03['participant']?.[_0x49059f(0xd4)] !== _0x49059f(0x1e5))[_0x49059f(0x14e)](_0x25de18 => ({
|
|
593
|
-
'id': _0x45c277(_0x25de18),
|
|
594
|
-
'name': _0x137263(_0x25de18)
|
|
595
|
-
}))['filter'](_0x1f1bad => _0x1f1bad['id']), _0x473452 = _0x396c72[_0x49059f(0x1c7)]?.[_0x49059f(0x18c)]['id'] ?? '';
|
|
596
|
-
return {
|
|
597
|
-
'agents': _0x302611,
|
|
598
|
-
'channels': _0x396c72[_0x49059f(0x1c7)]?.['channels'] ?? [],
|
|
599
|
-
'humans': _0x4f3af1,
|
|
600
|
-
'serverId': _0x473452,
|
|
601
|
-
'serverName': _0x396c72[_0x49059f(0x1c7)]?.[_0x49059f(0x18c)][_0x49059f(_0x51cc46._0x317bb5)] ?? _0x473452
|
|
602
|
-
};
|
|
603
|
-
})()[_0x4699a3(0x23f)](_0x2c0e5d => {
|
|
604
|
-
_0x4ca346 = null;
|
|
605
|
-
throw _0x2c0e5d;
|
|
606
|
-
}), _0x4ca346;
|
|
607
|
-
}
|
|
608
|
-
function _0x1ea2c2(_0x5db21c, _0x88ea2c) {
|
|
609
|
-
const _0x3719fb = _0x4621fb;
|
|
610
|
-
return _0x88ea2c['agents'][_0x3719fb(0x230)](_0x511d20 => _0x511d20['id'] === _0x5db21c || _0x511d20[_0x3719fb(0x1c5)] === _0x5db21c) ? _0x3719fb(_0x593033._0x1d4dfd) : _0x3719fb(0x197);
|
|
611
|
-
}
|
|
612
|
-
function _0x38340d(_0x331622) {
|
|
613
|
-
const _0x505b59 = _0x4621fb;
|
|
614
|
-
if (_0x331622[_0x505b59(0x1cf)] != null)
|
|
615
|
-
return _0x331622[_0x505b59(0x12f)] + ':t' + _0x331622[_0x505b59(0x1cf)];
|
|
616
|
-
if (_0x331622[_0x505b59(0x236)])
|
|
617
|
-
return _0x331622[_0x505b59(_0x3d5e5d._0x2f2a2f)] + ':' + _0x331622[_0x505b59(_0x3d5e5d._0x27e5a4)];
|
|
618
|
-
if (_0x331622['threadId'])
|
|
619
|
-
return _0x331622[_0x505b59(_0x3d5e5d._0x2283cb)] + ':' + _0x331622[_0x505b59(_0x3d5e5d._0x565d4a)][_0x505b59(_0x3d5e5d._0x3bc153)](0x0, 0x8);
|
|
620
|
-
return _0x331622['channelTarget'];
|
|
621
|
-
}
|
|
622
|
-
function _0x595abf(_0x510c97, _0x3082a8) {
|
|
623
|
-
const _0x58d99d = _0x4621fb;
|
|
624
|
-
try {
|
|
625
|
-
const _0x24205f = parseTarget(_0x510c97);
|
|
626
|
-
if (_0x24205f['kind'] !== _0x58d99d(_0x5dba3f._0x29a607) || _0x24205f['channelTarget'] !== _0x3082a8[_0x58d99d(0x12f)])
|
|
627
|
-
return ![];
|
|
628
|
-
if (_0x3082a8['threadNumber'] != null && _0x24205f[_0x58d99d(0x115)] === 't' + _0x3082a8[_0x58d99d(_0x5dba3f._0x552e1f)])
|
|
629
|
-
return !![];
|
|
630
|
-
if (_0x3082a8[_0x58d99d(_0x5dba3f._0x2e7c7c)])
|
|
631
|
-
return _0x24205f[_0x58d99d(0x115)] === _0x3082a8['rootMessageId'] || _0x3082a8[_0x58d99d(0x236)][_0x58d99d(0x1cc)](_0x24205f[_0x58d99d(0x115)]);
|
|
632
|
-
if (_0x3082a8['threadId'])
|
|
633
|
-
return _0x24205f[_0x58d99d(_0x5dba3f._0x57181c)] === _0x3082a8[_0x58d99d(0x1b5)] || _0x3082a8[_0x58d99d(0x1b5)]['startsWith'](_0x24205f[_0x58d99d(0x115)]);
|
|
634
|
-
return ![];
|
|
635
|
-
} catch {
|
|
636
|
-
return ![];
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
function _0x45c277(_0xcf851c) {
|
|
640
|
-
const _0x5d8e06 = _0x4621fb;
|
|
641
|
-
return _0xcf851c[_0x5d8e06(_0x2e447b._0x543ca7)]?.[_0x5d8e06(_0x2e447b._0x4900bf)] ?? _0xcf851c[_0x5d8e06(_0x2e447b._0x5dac02)]?.['id'] ?? _0xcf851c[_0x5d8e06(_0x2e447b._0x110812)] ?? '';
|
|
642
|
-
}
|
|
643
|
-
function _0x137263(_0x1b45ad) {
|
|
644
|
-
const _0x11092f = _0x4621fb;
|
|
645
|
-
return _0x1b45ad[_0x11092f(0x23a)]?.['name'] ?? _0x45c277(_0x1b45ad);
|
|
646
|
-
}
|
|
647
|
-
async function _0x8b961e(_0x46ea20) {
|
|
648
|
-
const _0x528b58 = _0x4621fb, _0x28780d = Math['min'](_0x46ea20[_0x528b58(_0x4d379d._0x3812f6)] ?? 0x32, 0x64), _0x93e272 = await _0x52bbc5(), _0x31ccbf = new URLSearchParams();
|
|
649
|
-
_0x31ccbf[_0x528b58(0x102)]('limit', String(_0x28780d));
|
|
650
|
-
_0x46ea20['threadId'] ? (_0x31ccbf['set'](_0x528b58(_0x4d379d._0x868186), _0x46ea20[_0x528b58(0x1b5)]), _0x31ccbf[_0x528b58(_0x4d379d._0xa8dd3c)](_0x528b58(_0x4d379d._0x1648c0), _0x46ea20['channelId'])) : _0x31ccbf['set'](_0x528b58(_0x4d379d._0x1648c0), _0x46ea20[_0x528b58(0x252)]);
|
|
651
|
-
_0x46ea20[_0x528b58(_0x4d379d._0x504812)] && _0x31ccbf[_0x528b58(_0x4d379d._0xa8dd3c)]('cursor', String(_0x46ea20[_0x528b58(0x209)]));
|
|
652
|
-
_0x46ea20[_0x528b58(_0x4d379d._0x29f2a2)] !== void 0x0 && _0x31ccbf[_0x528b58(0x102)](_0x528b58(0x15b), String(_0x46ea20[_0x528b58(0x15b)]));
|
|
653
|
-
const _0xf73d4b = await _0x44de4d('/internal/agent/' + _0x6a4cfc[_0x528b58(0x195)] + _0x528b58(_0x4d379d._0x1b1c01) + _0x31ccbf[_0x528b58(_0x4d379d._0x583935)](), {
|
|
654
|
-
'headers': _0x4b9d76,
|
|
655
|
-
'method': _0x528b58(_0x4d379d._0x288ca3)
|
|
656
|
-
}), _0x411e11 = (_0xf73d4b[_0x528b58(0x1c7)] ?? [])[_0x528b58(0x14e)](_0x144651 => ({
|
|
657
|
-
'attachments': (_0x144651[_0x528b58(0x101)] ?? [])[_0x528b58(0x14e)](_0x1d7826 => ({
|
|
658
|
-
'filename': _0x1d7826[_0x528b58(0x1c4)] ?? _0x1d7826['id'],
|
|
659
|
-
'id': _0x1d7826['id']
|
|
660
|
-
})),
|
|
661
|
-
'content': _0x144651[_0x528b58(0x200)] ?? '',
|
|
662
|
-
'createdAt': _0x144651['createdAt'],
|
|
663
|
-
..._0x144651[_0x528b58(0x215)] && _0x144651['kind'] !== _0x528b58(0xfe) ? { 'kind': _0x144651[_0x528b58(0x215)] } : {},
|
|
664
|
-
'messageId': _0x144651['id'],
|
|
665
|
-
'senderName': _0x144651[_0x528b58(0x208)],
|
|
666
|
-
'senderType': _0x1ea2c2(_0x144651[_0x528b58(0x208)], _0x93e272),
|
|
667
|
-
'seq': _0x144651[_0x528b58(0x119)] ?? 0x0
|
|
668
|
-
}));
|
|
669
|
-
return {
|
|
670
|
-
'channel': _0x46ea20[_0x528b58(0x12f)],
|
|
671
|
-
'hasMore': _0xf73d4b[_0x528b58(_0x4d379d._0x1c9919)]?.[_0x528b58(_0x4d379d._0x3aac13)] ?? ![],
|
|
672
|
-
'messages': _0x411e11,
|
|
673
|
-
'nextCursor': _0xf73d4b[_0x528b58(_0x4d379d._0x3db26a)]?.[_0x528b58(0x225)]
|
|
674
|
-
};
|
|
675
|
-
}
|
|
676
|
-
return {
|
|
677
|
-
async 'sendMessage'(_0x25fd2f) {
|
|
678
|
-
const _0x13230d = _0x4621fb, _0x144db7 = await _0x2cc5dd(_0x25fd2f[_0x13230d(_0xd7145f._0x1ee543)]), _0x410388 = _0x25fd2f['content']['includes']('@') ? extractMentionedParticipantIds(_0x25fd2f[_0x13230d(_0xd7145f._0x111f95)], await _0x52bbc5()) : [], _0x5d1be6 = await _0x44de4d(_0x13230d(0x18b) + _0x6a4cfc['agentId'] + _0x13230d(0x107), {
|
|
679
|
-
'body': JSON[_0x13230d(_0xd7145f._0x5e57ab)]({
|
|
680
|
-
'attachment_ids': _0x25fd2f[_0x13230d(0x240)],
|
|
681
|
-
'bodyMarkdown': _0x25fd2f[_0x13230d(0x157)],
|
|
682
|
-
'channelId': _0x144db7[_0x13230d(_0xd7145f._0x5b917d)],
|
|
683
|
-
..._0x410388[_0x13230d(0x255)] > 0x0 ? { 'mentionedParticipantIds': _0x410388 } : {},
|
|
684
|
-
'threadId': _0x144db7[_0x13230d(0x1b5)],
|
|
685
|
-
..._0x25fd2f[_0x13230d(_0xd7145f._0x189379)] ? { 'visibility': _0x25fd2f[_0x13230d(_0xd7145f._0x29851b)] } : {}
|
|
686
|
-
}),
|
|
687
|
-
'headers': _0x4b9d76,
|
|
688
|
-
'method': _0x13230d(0x1bb)
|
|
689
|
-
});
|
|
690
|
-
return { 'messageId': _0x5d1be6[_0x13230d(_0xd7145f._0x2aaf20)]?.['id'] ?? '' };
|
|
691
|
-
},
|
|
692
|
-
async 'listSchedules'() {
|
|
693
|
-
const _0x48bb12 = _0x4621fb, _0x3f030c = await _0x44de4d('/api/internal/schedules', {
|
|
694
|
-
'headers': _0x4b9d76,
|
|
695
|
-
'method': _0x48bb12(0xeb)
|
|
696
|
-
});
|
|
697
|
-
return _0x3f030c[_0x48bb12(0x1c7)] ?? [];
|
|
698
|
-
},
|
|
699
|
-
async 'claimScheduleRun'(_0x1857d9) {
|
|
700
|
-
const _0x278149 = _0x4621fb, _0x113145 = await _0x44de4d(_0x278149(_0x58c0cb._0xf8215f), {
|
|
701
|
-
'body': JSON[_0x278149(0x142)](_0x1857d9),
|
|
702
|
-
'headers': _0x4b9d76,
|
|
703
|
-
'method': 'POST'
|
|
704
|
-
});
|
|
705
|
-
return _0x113145['data'] ?? {
|
|
706
|
-
'granted': ![],
|
|
707
|
-
'runId': null,
|
|
708
|
-
'schedule': null,
|
|
709
|
-
'scheduledFor': _0x1857d9[_0x278149(_0x58c0cb._0x192550)]
|
|
710
|
-
};
|
|
711
|
-
},
|
|
712
|
-
async 'startScheduleRun'(_0x736c0b) {
|
|
713
|
-
const _0x460ac3 = _0x4621fb, _0x236c00 = await _0x44de4d(_0x460ac3(_0xa2065e._0xeaf51a) + encodeURIComponent(_0x736c0b[_0x460ac3(0x16e)]) + '/start', {
|
|
714
|
-
'body': JSON[_0x460ac3(_0xa2065e._0x5b32c4)]({}),
|
|
715
|
-
'headers': _0x4b9d76,
|
|
716
|
-
'method': _0x460ac3(0x1bb)
|
|
717
|
-
});
|
|
718
|
-
return _0x236c00[_0x460ac3(0x1c7)] ?? {
|
|
719
|
-
'claimedByDaemonId': '',
|
|
720
|
-
'id': _0x736c0b[_0x460ac3(0x16e)],
|
|
721
|
-
'scheduleId': '',
|
|
722
|
-
'status': _0x460ac3(0x113)
|
|
723
|
-
};
|
|
724
|
-
},
|
|
725
|
-
async 'finishScheduleRun'(_0x3f77db) {
|
|
726
|
-
const _0x3ddb44 = _0x4621fb, _0x316bde = await _0x44de4d('/api/internal/schedules/' + encodeURIComponent(_0x3f77db[_0x3ddb44(_0x2e4ccd._0x41aad0)]) + '/finish', {
|
|
727
|
-
'body': JSON[_0x3ddb44(_0x2e4ccd._0x510391)]({
|
|
728
|
-
'error': _0x3f77db['error'],
|
|
729
|
-
'resultJson': _0x3f77db[_0x3ddb44(0x241)],
|
|
730
|
-
'status': _0x3f77db[_0x3ddb44(0x1aa)]
|
|
731
|
-
}),
|
|
732
|
-
'headers': _0x4b9d76,
|
|
733
|
-
'method': _0x3ddb44(_0x2e4ccd._0x3d71e0)
|
|
734
|
-
});
|
|
735
|
-
return _0x316bde[_0x3ddb44(0x1c7)] ?? {
|
|
736
|
-
'nextRunAt': null,
|
|
737
|
-
'run': {
|
|
738
|
-
'claimedByDaemonId': '',
|
|
739
|
-
'id': _0x3f77db[_0x3ddb44(0x16e)],
|
|
740
|
-
'scheduleId': '',
|
|
741
|
-
'status': _0x3f77db[_0x3ddb44(0x1aa)]
|
|
742
|
-
}
|
|
743
|
-
};
|
|
744
|
-
},
|
|
745
|
-
async 'listTasks'(_0x4ec2f8) {
|
|
746
|
-
const _0x1455c4 = _0x4621fb, _0x2c8ae3 = new URLSearchParams();
|
|
747
|
-
return _0x2c8ae3[_0x1455c4(0x102)](_0x1455c4(0xf3), _0x4ec2f8[_0x1455c4(_0x1a21d5._0x399573)]), _0x4ec2f8['status'] && _0x2c8ae3[_0x1455c4(0x102)]('status', _0x4ec2f8['status']), _0x378f05(_0x1455c4(_0x1a21d5._0x586483) + _0x6a4cfc[_0x1455c4(_0x1a21d5._0x594d51)] + _0x1455c4(0x232) + _0x2c8ae3[_0x1455c4(0x13f)](), {
|
|
748
|
-
'headers': _0x4b9d76,
|
|
749
|
-
'method': _0x1455c4(0xeb)
|
|
750
|
-
});
|
|
751
|
-
},
|
|
752
|
-
async 'createTasks'(_0x565e1a) {
|
|
753
|
-
const _0x5982d6 = _0x4621fb;
|
|
754
|
-
return _0x378f05(_0x5982d6(0x18b) + _0x6a4cfc[_0x5982d6(_0x198b78._0xff391)] + _0x5982d6(_0x198b78._0x53b579), {
|
|
755
|
-
'body': JSON['stringify']({
|
|
756
|
-
..._0x565e1a,
|
|
757
|
-
'idempotency_key': _0x438753(_0x5982d6(_0x198b78._0x2f7abf), _0x565e1a)
|
|
758
|
-
}),
|
|
759
|
-
'headers': _0x4b9d76,
|
|
760
|
-
'method': _0x5982d6(_0x198b78._0x3301e8)
|
|
761
|
-
});
|
|
762
|
-
},
|
|
763
|
-
async 'claimTasks'(_0x3548a0) {
|
|
764
|
-
const _0x4e32df = _0x4621fb;
|
|
765
|
-
return _0x378f05(_0x4e32df(_0xf970d4._0x3a2ae8) + _0x6a4cfc[_0x4e32df(_0xf970d4._0x4b6aab)] + _0x4e32df(0x111), {
|
|
766
|
-
'body': JSON['stringify']({
|
|
767
|
-
..._0x3548a0,
|
|
768
|
-
'idempotency_key': _0x438753(_0x4e32df(0x23b), _0x3548a0)
|
|
769
|
-
}),
|
|
770
|
-
'headers': _0x4b9d76,
|
|
771
|
-
'method': _0x4e32df(_0xf970d4._0x480eb3)
|
|
772
|
-
});
|
|
773
|
-
},
|
|
774
|
-
async 'unclaimTask'(_0x199c9c) {
|
|
775
|
-
const _0x359bb2 = _0x4621fb;
|
|
776
|
-
return _0x378f05('/internal/agent/' + _0x6a4cfc[_0x359bb2(0x195)] + _0x359bb2(0xfa), {
|
|
777
|
-
'body': JSON[_0x359bb2(_0x434471._0x5ea0a7)]({
|
|
778
|
-
..._0x199c9c,
|
|
779
|
-
'idempotency_key': _0x438753(_0x359bb2(_0x434471._0x344455), _0x199c9c)
|
|
780
|
-
}),
|
|
781
|
-
'headers': _0x4b9d76,
|
|
782
|
-
'method': _0x359bb2(_0x434471._0x3e200a)
|
|
783
|
-
});
|
|
784
|
-
},
|
|
785
|
-
async 'updateTaskStatus'(_0x44ba09) {
|
|
786
|
-
const _0xdb17e5 = _0x4621fb;
|
|
787
|
-
return _0x378f05(_0xdb17e5(0x18b) + _0x6a4cfc[_0xdb17e5(0x195)] + _0xdb17e5(0x25a), {
|
|
788
|
-
'body': JSON[_0xdb17e5(0x142)]({
|
|
789
|
-
..._0x44ba09,
|
|
790
|
-
'idempotency_key': _0x438753(_0xdb17e5(_0x1d0822._0x1b58a0), _0x44ba09)
|
|
791
|
-
}),
|
|
792
|
-
'headers': _0x4b9d76,
|
|
793
|
-
'method': _0xdb17e5(_0x1d0822._0x341813)
|
|
794
|
-
});
|
|
795
|
-
},
|
|
796
|
-
async 'uploadFile'(_0x54c19b) {
|
|
797
|
-
const _0x551178 = _0x4621fb, _0x3f093e = await _0x2cc5dd(_0x54c19b['channel']);
|
|
798
|
-
if (_0x3f093e[_0x551178(_0x23d865._0x59f2f1)])
|
|
799
|
-
throw new Error(_0x551178(_0x23d865._0x5166b1));
|
|
800
|
-
const _0x19d81f = await _0x44de4d(_0x551178(0x18b) + _0x6a4cfc[_0x551178(0x195)] + _0x551178(_0x23d865._0x31c645), {
|
|
801
|
-
'body': JSON[_0x551178(0x142)]({
|
|
802
|
-
'channel': _0x3f093e[_0x551178(_0x23d865._0x15bb47)],
|
|
803
|
-
'contentBase64': _0x54c19b[_0x551178(0x1d2)],
|
|
804
|
-
'contentType': _0x54c19b[_0x551178(0x15f)],
|
|
805
|
-
'originalFilename': _0x54c19b[_0x551178(_0x23d865._0x2e8c2c)]
|
|
806
|
-
}),
|
|
807
|
-
'headers': _0x4b9d76,
|
|
808
|
-
'method': _0x551178(0x1bb)
|
|
809
|
-
});
|
|
810
|
-
return {
|
|
811
|
-
'attachmentId': _0x19d81f[_0x551178(_0x23d865._0x3a9f44)]?.['id'] ?? '',
|
|
812
|
-
'filename': _0x19d81f[_0x551178(_0x23d865._0xbbf33e)]?.[_0x551178(_0x23d865._0x4be844)] ?? _0x54c19b[_0x551178(_0x23d865._0x2e8c2c)],
|
|
813
|
-
'sizeBytes': _0x19d81f[_0x551178(0x1c7)]?.[_0x551178(0x189)] ?? 0x0
|
|
814
|
-
};
|
|
815
|
-
},
|
|
816
|
-
async 'downloadAttachment'(_0x4b61d9) {
|
|
817
|
-
const _0x1c6686 = _0x4621fb, _0xbd7f3b = await _0x44de4d(_0x1c6686(_0x19dcad._0x136584) + _0x4b61d9, {
|
|
818
|
-
'headers': _0x4b9d76,
|
|
819
|
-
'method': _0x1c6686(_0x19dcad._0x2d3c12)
|
|
820
|
-
}), _0x7c6521 = new AbortController(), _0x5c48f8 = setTimeout(() => _0x7c6521[_0x1c6686(0xcf)](), _0x49738b);
|
|
821
|
-
try {
|
|
822
|
-
const _0x1a725b = await _0x34531b(_0x222fb8 + _0x1c6686(0x158) + _0x4b61d9 + '/content', {
|
|
823
|
-
'headers': _0x4b9d76,
|
|
824
|
-
'method': _0x1c6686(_0x19dcad._0x2d3c12),
|
|
825
|
-
'signal': _0x7c6521[_0x1c6686(0x182)]
|
|
826
|
-
});
|
|
827
|
-
if (!_0x1a725b['ok'])
|
|
828
|
-
throw new Error(_0x1c6686(_0x19dcad._0x46aa36) + _0x1a725b[_0x1c6686(0x1aa)]);
|
|
829
|
-
return {
|
|
830
|
-
'contentType': _0xbd7f3b[_0x1c6686(_0x19dcad._0x1dd3b2)]?.[_0x1c6686(_0x19dcad._0x27c70e)] ?? _0x1a725b['headers'][_0x1c6686(0x1b6)](_0x1c6686(0x174)) ?? _0x1c6686(0x124),
|
|
831
|
-
'data': Buffer[_0x1c6686(0x21c)](await _0x1a725b[_0x1c6686(0x12c)]()),
|
|
832
|
-
'originalFilename': _0xbd7f3b[_0x1c6686(_0x19dcad._0x1dd3b2)]?.[_0x1c6686(_0x19dcad._0x1e693c)]
|
|
833
|
-
};
|
|
834
|
-
} finally {
|
|
835
|
-
clearTimeout(_0x5c48f8);
|
|
836
|
-
}
|
|
837
|
-
},
|
|
838
|
-
async 'listServer'() {
|
|
839
|
-
return _0x52bbc5({ 'forceRefresh': !![] });
|
|
840
|
-
},
|
|
841
|
-
async 'readHistory'(_0x4382a1) {
|
|
842
|
-
const _0x4db98a = _0x4621fb, _0x1fd0fd = await _0x2cc5dd(_0x4382a1[_0x4db98a(_0xb831af._0x124476)]);
|
|
843
|
-
return _0x8b961e({
|
|
844
|
-
'after': _0x4382a1[_0x4db98a(_0xb831af._0x2a8e75)],
|
|
845
|
-
'before': _0x4382a1['before'],
|
|
846
|
-
'channelId': _0x1fd0fd[_0x4db98a(_0xb831af._0x395a59)],
|
|
847
|
-
'channelTarget': _0x1fd0fd['target'],
|
|
848
|
-
'limit': _0x4382a1[_0x4db98a(0xf9)],
|
|
849
|
-
'threadId': _0x1fd0fd[_0x4db98a(0x1b5)]
|
|
850
|
-
});
|
|
851
|
-
},
|
|
852
|
-
'resolveTarget': _0x2cc5dd,
|
|
853
|
-
async 'checkMessages'() {
|
|
854
|
-
const _0x5befba = _0x4621fb, _0x573cda = new URLSearchParams();
|
|
855
|
-
_0x573cda[_0x5befba(_0x551076._0x3fc951)](_0x5befba(0x149), String(_0x19d497));
|
|
856
|
-
const _0x19e491 = _0x573cda['toString'](), _0x2209d7 = await _0x44de4d(_0x5befba(0x18b) + _0x6a4cfc[_0x5befba(0x195)] + _0x5befba(_0x551076._0x2d8afa) + (_0x19e491 ? '?' + _0x19e491 : ''), {
|
|
857
|
-
'headers': _0x4b9d76,
|
|
858
|
-
'method': _0x5befba(_0x551076._0x2b62bd)
|
|
859
|
-
}), _0x519fa9 = _0x2209d7[_0x5befba(_0x551076._0x4f580a)] ?? [], _0x87401e = _0x2209d7[_0x5befba(_0x551076._0x44fded)]?.[_0x5befba(0x225)], _0xbc8188 = _0x87401e !== void 0x0 ? Math[_0x5befba(0xe5)](_0x19d497, _0x87401e) : _0x519fa9[_0x5befba(0x255)] > 0x0 ? Math[_0x5befba(_0x551076._0x4934f5)](_0x19d497, _0x519fa9[_0x519fa9['length'] - 0x1][_0x5befba(0x185)]) : _0x19d497, _0x5a83a4 = _0x519fa9['filter'](_0x192b49 => _0x192b49[_0x5befba(0xe4)] === _0x5befba(0x1c3)), _0x5159be = _0x267aba === void 0x0 && _0x538a73;
|
|
860
|
-
let _0x701325 = await _0x52bbc5(), _0xc78ac0 = new Map(_0x701325[_0x5befba(0x156)][_0x5befba(0x14e)](_0x1cc92e => [
|
|
861
|
-
_0x1cc92e['id'],
|
|
862
|
-
_0x1cc92e
|
|
863
|
-
]));
|
|
864
|
-
const _0x1bcadc = _0x5a83a4[_0x5befba(_0x551076._0x3b88dc)](_0x521450 => {
|
|
865
|
-
const _0x1a66d8 = _0x5befba, _0x7c6716 = asRecord(_0x521450['payloadJson']), _0x5bab99 = typeof _0x7c6716?.[_0x1a66d8(0x252)] === _0x1a66d8(_0x2a4651._0x5f6f7) ? _0x7c6716['channelId'] : '';
|
|
866
|
-
return Boolean(_0x5bab99) && !_0xc78ac0['has'](_0x5bab99);
|
|
867
|
-
});
|
|
868
|
-
_0x1bcadc && (_0x701325 = await _0x52bbc5({ 'forceRefresh': !![] }), _0xc78ac0 = new Map(_0x701325[_0x5befba(_0x551076._0x15d1a7)]['map'](_0x3ef69b => [
|
|
869
|
-
_0x3ef69b['id'],
|
|
870
|
-
_0x3ef69b
|
|
871
|
-
])));
|
|
872
|
-
const _0x2e56b2 = new Map();
|
|
873
|
-
for (const _0x252aee of _0x5a83a4) {
|
|
874
|
-
const _0x6fd130 = asRecord(_0x252aee[_0x5befba(0x203)]), _0x4bd5ac = typeof _0x6fd130[_0x5befba(_0x551076._0x59ad90)] === 'string' ? _0x6fd130[_0x5befba(_0x551076._0x9442b4)] : '';
|
|
875
|
-
if (!_0x4bd5ac)
|
|
876
|
-
continue;
|
|
877
|
-
const _0x1d224c = typeof _0x6fd130[_0x5befba(0x1b5)] === _0x5befba(0x207) ? _0x6fd130['threadId'] : void 0x0, _0x13fd06 = typeof _0x6fd130[_0x5befba(_0x551076._0x32d96f)] === 'string' ? _0x6fd130['rootMessageId'] : void 0x0, _0x4b77a7 = typeof _0x6fd130['threadNumber'] === _0x5befba(_0x551076._0xb2e733) && Number[_0x5befba(_0x551076._0x589c0f)](_0x6fd130[_0x5befba(0x1cf)]) ? _0x6fd130[_0x5befba(0x1cf)] : void 0x0, _0xa05b1b = Boolean(_0x1d224c && (!_0x13fd06 || _0x252aee[_0x5befba(0x104)] !== _0x13fd06)), _0x9f67e8 = _0xa05b1b ? _0x4bd5ac + ':' + _0x1d224c : _0x4bd5ac, _0x472b44 = _0x2e56b2['get'](_0x9f67e8) ?? {
|
|
878
|
-
'aggregateIds': [],
|
|
879
|
-
'channelId': _0x4bd5ac,
|
|
880
|
-
'entries': new Map(),
|
|
881
|
-
'isThreadReply': _0xa05b1b,
|
|
882
|
-
'rootMessageId': _0x13fd06,
|
|
883
|
-
'threadNumber': _0x4b77a7,
|
|
884
|
-
'threadId': _0xa05b1b ? _0x1d224c : void 0x0
|
|
885
|
-
};
|
|
886
|
-
_0x472b44[_0x5befba(0x1cf)] == null && _0x4b77a7 != null && (_0x472b44[_0x5befba(_0x551076._0x45caa3)] = _0x4b77a7), !_0x472b44[_0x5befba(0x236)] && _0x13fd06 && (_0x472b44[_0x5befba(_0x551076._0x32d96f)] = _0x13fd06), _0x472b44['aggregateIds']['push'](_0x252aee[_0x5befba(_0x551076._0x1e498e)]), _0x472b44[_0x5befba(_0x551076._0x1959dd)][_0x5befba(_0x551076._0x3fc951)](_0x252aee[_0x5befba(_0x551076._0x1e498e)], {
|
|
887
|
-
'payloadJson': _0x252aee[_0x5befba(0x203)],
|
|
888
|
-
'seq': _0x252aee['seq']
|
|
889
|
-
}), _0x2e56b2[_0x5befba(_0x551076._0x125564)](_0x9f67e8, _0x472b44);
|
|
890
|
-
}
|
|
891
|
-
const _0x146882 = [];
|
|
892
|
-
for (const _0x47a398 of _0x2e56b2[_0x5befba(0x239)]()) {
|
|
893
|
-
const {
|
|
894
|
-
channelId: _0x559fa1,
|
|
895
|
-
threadId: _0x168838,
|
|
896
|
-
rootMessageId: _0x4dfa8d,
|
|
897
|
-
threadNumber: _0x4317eb,
|
|
898
|
-
aggregateIds: _0x3f4f3a,
|
|
899
|
-
isThreadReply: _0x4d4402,
|
|
900
|
-
entries: _0x511cdb
|
|
901
|
-
} = _0x47a398, _0x382ae4 = _0xc78ac0[_0x5befba(0x1b6)](_0x559fa1), _0x3e5170 = _0x382ae4?.[_0x5befba(_0x551076._0x567c6c)] ?? _0x559fa1, _0x317445 = _0x382ae4?.['kind'] === 'dm' ? _0x5befba(0x138) + _0x3e5170 : '#' + _0x3e5170, _0x5c3451 = {
|
|
902
|
-
'channelTarget': _0x317445,
|
|
903
|
-
'rootMessageId': _0x4dfa8d,
|
|
904
|
-
'threadId': _0x168838,
|
|
905
|
-
'threadNumber': _0x4317eb
|
|
906
|
-
}, _0x5f3839 = await _0x8b961e({
|
|
907
|
-
'channelId': _0x559fa1,
|
|
908
|
-
'channelTarget': _0x317445,
|
|
909
|
-
'limit': Math[_0x5befba(0xe5)](_0x3f4f3a['length'], 0x32),
|
|
910
|
-
'threadId': _0x168838
|
|
911
|
-
}), _0x57cacb = new Map(_0x5f3839['messages']['map'](_0x1bb599 => [
|
|
912
|
-
_0x1bb599[_0x5befba(0x139)],
|
|
913
|
-
_0x1bb599
|
|
914
|
-
])), _0x33c726 = _0x168838 ? _0x38340d(_0x5c3451) : _0x317445, _0x48eff4 = _0x267aba ? _0x4d4402 && _0x595abf(_0x267aba, _0x5c3451) : !![], _0x45f7a5 = _0x4d4402 ? _0x48eff4 && _0x267aba ? _0x267aba : _0x33c726 : _0x317445;
|
|
915
|
-
for (const _0x3dcce1 of _0x3f4f3a) {
|
|
916
|
-
if (!_0x48eff4)
|
|
917
|
-
continue;
|
|
918
|
-
const _0x48f389 = _0x511cdb[_0x5befba(0x1b6)](_0x3dcce1), _0x3fe429 = _0x48f389 ? asRecord(_0x48f389['payloadJson']) : void 0x0, _0x26c2be = _0x3fe429?.['taskDeliveryMode'] === _0x5befba(_0x551076._0xd4a0d0);
|
|
919
|
-
if (_0x5159be && _0x26c2be)
|
|
920
|
-
continue;
|
|
921
|
-
const _0x410cc7 = _0x57cacb[_0x5befba(0x1b6)](_0x3dcce1);
|
|
922
|
-
if (_0x410cc7) {
|
|
923
|
-
_0x146882[_0x5befba(0x1fb)]({
|
|
924
|
-
'attachments': _0x410cc7[_0x5befba(_0x551076._0x2230b2)],
|
|
925
|
-
'content': _0x410cc7[_0x5befba(0x157)],
|
|
926
|
-
'createdAt': _0x410cc7['createdAt'],
|
|
927
|
-
..._0x410cc7['kind'] ? { 'kind': _0x410cc7[_0x5befba(_0x551076._0x18f43c)] } : {},
|
|
928
|
-
'messageId': _0x410cc7[_0x5befba(0x139)],
|
|
929
|
-
'senderName': _0x410cc7[_0x5befba(_0x551076._0x200d3c)],
|
|
930
|
-
'senderType': _0x410cc7[_0x5befba(0x1a7)],
|
|
931
|
-
'target': _0x45f7a5,
|
|
932
|
-
..._0x26c2be ? { 'targetedTask': !![] } : {}
|
|
933
|
-
});
|
|
934
|
-
continue;
|
|
935
|
-
}
|
|
936
|
-
if (_0x48f389) {
|
|
937
|
-
const _0x5b4524 = typeof _0x3fe429?.[_0x5befba(_0x551076._0x4f5eea)] === _0x5befba(0x207) ? _0x3fe429[_0x5befba(0x208)] : '', _0x11ec6f = typeof _0x3fe429?.[_0x5befba(0x200)] === 'string' ? _0x3fe429[_0x5befba(0x200)] : '', _0x11dbc4 = typeof _0x3fe429?.[_0x5befba(_0x551076._0x18f43c)] === _0x5befba(0x207) && _0x3fe429[_0x5befba(0x215)] !== _0x5befba(_0x551076._0x63cd7f) ? _0x3fe429[_0x5befba(_0x551076._0x18f43c)] : void 0x0;
|
|
938
|
-
_0x5b4524 && _0x11ec6f && _0x146882[_0x5befba(_0x551076._0x2d4a71)]({
|
|
939
|
-
'attachments': [],
|
|
940
|
-
'content': _0x11ec6f,
|
|
941
|
-
'createdAt': new Date()[_0x5befba(0x161)](),
|
|
942
|
-
..._0x11dbc4 ? { 'kind': _0x11dbc4 } : {},
|
|
943
|
-
'messageId': _0x3dcce1,
|
|
944
|
-
'senderName': _0x5b4524,
|
|
945
|
-
'senderType': _0x1ea2c2(_0x5b4524, _0x701325),
|
|
946
|
-
'target': _0x45f7a5,
|
|
947
|
-
..._0x26c2be ? { 'targetedTask': !![] } : {}
|
|
948
|
-
});
|
|
949
|
-
}
|
|
950
|
-
}
|
|
951
|
-
}
|
|
952
|
-
if (_0xbc8188 > 0x0) {
|
|
953
|
-
if (_0x505c02)
|
|
954
|
-
await _0x140aa8(_0xbc8188);
|
|
955
|
-
else
|
|
956
|
-
_0x3b3722 && await _0x53d021(_0xbc8188);
|
|
957
|
-
}
|
|
958
|
-
return _0xbc8188 > _0x19d497 && (_0x19d497 = _0xbc8188), { 'messages': _0x267aba ? _0x146882 : _0x5159be ? _0x146882['filter'](_0x2f8c77 => _0x2f8c77['targetedTask'] !== !![]) : _0x146882 };
|
|
959
|
-
}
|
|
960
|
-
};
|
|
961
|
-
}
|
|
962
|
-
function toLocalTime(_0x3cc81e) {
|
|
963
|
-
const _0x4c7f4e = {
|
|
964
|
-
_0x586581: 0x257,
|
|
965
|
-
_0x127550: 0xd6,
|
|
966
|
-
_0xba1e6a: 0x12a,
|
|
967
|
-
_0xccf87d: 0x22c
|
|
968
|
-
}, _0x2bcf77 = _0x27ce1c, _0x474eb5 = new Date(_0x3cc81e);
|
|
969
|
-
if (Number[_0x2bcf77(0x1ef)](_0x474eb5[_0x2bcf77(_0x4c7f4e._0x586581)]()))
|
|
970
|
-
return _0x3cc81e;
|
|
971
|
-
const _0x323b09 = _0x16b847 => String(_0x16b847)[_0x2bcf77(0x120)](0x2, '0');
|
|
972
|
-
return _0x474eb5[_0x2bcf77(_0x4c7f4e._0x127550)]() + '-' + _0x323b09(_0x474eb5[_0x2bcf77(_0x4c7f4e._0xba1e6a)]() + 0x1) + '-' + _0x323b09(_0x474eb5[_0x2bcf77(0x244)]()) + '\x20' + _0x323b09(_0x474eb5['getHours']()) + ':' + _0x323b09(_0x474eb5[_0x2bcf77(_0x4c7f4e._0xccf87d)]()) + ':' + _0x323b09(_0x474eb5[_0x2bcf77(0x18a)]());
|
|
973
|
-
}
|
|
974
|
-
function formatAttachmentSuffix(_0x5a9a6c) {
|
|
975
|
-
const _0x289290 = {
|
|
976
|
-
_0x26fdf3: 0x255,
|
|
977
|
-
_0x3018bd: 0x255
|
|
978
|
-
}, _0x2dbb3b = _0x27ce1c;
|
|
979
|
-
if (!_0x5a9a6c || _0x5a9a6c[_0x2dbb3b(_0x289290._0x26fdf3)] === 0x0)
|
|
980
|
-
return '';
|
|
981
|
-
return '\x20[' + _0x5a9a6c[_0x2dbb3b(_0x289290._0x3018bd)] + '\x20attachment' + (_0x5a9a6c['length'] > 0x1 ? 's' : '') + ':\x20' + _0x5a9a6c[_0x2dbb3b(0x14e)](_0x44a2eb => _0x44a2eb['filename'] + _0x2dbb3b(0x233) + _0x44a2eb['id'] + ')')[_0x2dbb3b(0x172)](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
|
|
982
|
-
}
|
|
983
|
-
function formatCheckMessages(_0x4660a9) {
|
|
984
|
-
const _0x442a2c = {
|
|
985
|
-
_0x2e88a0: 0x255,
|
|
986
|
-
_0x24dc48: 0x14e
|
|
987
|
-
}, _0x23c641 = {
|
|
988
|
-
_0x3c7351: 0x1a7,
|
|
989
|
-
_0x4311ad: 0x1e5,
|
|
990
|
-
_0x80fd8c: 0xfe,
|
|
991
|
-
_0x1a9e2f: 0x12e,
|
|
992
|
-
_0x56a66c: 0x139,
|
|
993
|
-
_0xe5bb54: 0xd0,
|
|
994
|
-
_0x3b6837: 0x21f,
|
|
995
|
-
_0x5d70a4: 0x10b,
|
|
996
|
-
_0x2541b6: 0x157
|
|
997
|
-
}, _0x122826 = _0x27ce1c;
|
|
998
|
-
if (_0x4660a9[_0x122826(_0x442a2c._0x2e88a0)] === 0x0)
|
|
999
|
-
return _0x122826(0x1d6);
|
|
1000
|
-
return _0x4660a9[_0x122826(_0x442a2c._0x24dc48)](_0x147050 => {
|
|
1001
|
-
const _0x14a8c4 = _0x122826, _0x5826bd = _0x147050[_0x14a8c4(_0x23c641._0x3c7351)] === _0x14a8c4(_0x23c641._0x4311ad) ? _0x14a8c4(0x128) : '', _0x18c95d = _0x147050['kind'] && _0x147050['kind'] !== _0x14a8c4(_0x23c641._0x80fd8c) ? _0x14a8c4(_0x23c641._0x1a9e2f) + _0x147050[_0x14a8c4(0x215)] : '';
|
|
1002
|
-
return _0x14a8c4(0x1fe) + _0x147050['target'] + _0x14a8c4(0x20e) + _0x147050[_0x14a8c4(_0x23c641._0x56a66c)][_0x14a8c4(_0x23c641._0xe5bb54)](0x0, 0x8) + _0x14a8c4(_0x23c641._0x3b6837) + toLocalTime(_0x147050[_0x14a8c4(_0x23c641._0x5d70a4)]) + _0x5826bd + _0x18c95d + _0x14a8c4(0x165) + _0x147050[_0x14a8c4(0x150)] + ':\x20' + _0x147050[_0x14a8c4(_0x23c641._0x2541b6)] + formatAttachmentSuffix(_0x147050['attachments']);
|
|
1003
|
-
})[_0x122826(0x172)]('\x0a');
|
|
1004
|
-
}
|
|
1005
|
-
function _0x4cbf() {
|
|
1006
|
-
const _0x263ca4 = [
|
|
1007
|
-
'zg0T',
|
|
1008
|
-
'lcbJB250zw50lxr5Cgu9',
|
|
1009
|
-
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
1010
|
-
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
1011
|
-
'ywjVCNrLza',
|
|
1012
|
-
'iYmJiefNzw50CW',
|
|
1013
|
-
'CgfKu3rHCNq',
|
|
1014
|
-
'AxnbCNjHEq',
|
|
1015
|
-
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
1016
|
-
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
1017
|
-
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
1018
|
-
'CgfYDgLJAxbHBNrjza',
|
|
1019
|
-
'Aw1Hz2uVANbLzW',
|
|
1020
|
-
'C2vUzf9TzxnZywDL',
|
|
129
|
+
var UNSUPPORTED_TARGET_MESSAGE = _0x11a45e(0x18e);
|
|
130
|
+
function _0x2d07() {
|
|
131
|
+
const _0x2bce7f = [
|
|
132
|
+
'AhvTyw4',
|
|
1021
133
|
'ihr5Cgu9ywDLBNq',
|
|
1022
|
-
'
|
|
1023
|
-
'
|
|
1024
|
-
'
|
|
1025
|
-
'
|
|
1026
|
-
'
|
|
1027
|
-
'
|
|
1028
|
-
'
|
|
1029
|
-
'
|
|
1030
|
-
'
|
|
1031
|
-
'
|
|
1032
|
-
'
|
|
1033
|
-
'
|
|
1034
|
-
'mZu5ntG5ouzVAfvqCq',
|
|
1035
|
-
'CMvZB2X2zvrHCMDLDa',
|
|
1036
|
-
'zMLUAxnOx3DVCMTLCG',
|
|
1037
|
-
'zg06',
|
|
1038
|
-
'BwvZC2fNzuLK',
|
|
1039
|
-
'oti1mJKWv2T6qNDN',
|
|
1040
|
-
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
1041
|
-
'vgfZAZOG',
|
|
1042
|
-
'zMv0y2HjBxbS',
|
|
134
|
+
'zgvJAxnPB25Z',
|
|
135
|
+
'DgHYzwfKswq',
|
|
136
|
+
'zgvZDhjVEwvK',
|
|
137
|
+
'y29TCgXLDgvK',
|
|
138
|
+
'zMLSDgvY',
|
|
139
|
+
'mJe2qwz2DwfH',
|
|
140
|
+
'y2f0y2G',
|
|
141
|
+
'C2vUzgvYugfYDgLJAxbHBNrjza',
|
|
142
|
+
'C2vUzgvYvhLWzq',
|
|
143
|
+
'DgfZA0LK',
|
|
144
|
+
'zMLSzxnFy2HHBMDLza',
|
|
145
|
+
'AxngAw5PDgu',
|
|
1043
146
|
'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
|
|
147
|
+
'kg5VBMuP',
|
|
148
|
+
'DgfZAY0',
|
|
149
|
+
'cUkAOo+4JYbxt1jlrviGqunusvzbveveiokaLcbtDg9Wiefmtcb3B3jRig9UihrOAxmGDgfZAYbPBw1LzgLHDgvSEs4Gv29YA2vYigHHBMrSzxmGzxHLy3v0Aw9UigvUzc10BY1LBMqU',
|
|
150
|
+
'y29UDgvUDc10ExbL',
|
|
1044
151
|
'Dg9tDhjPBMC',
|
|
1045
|
-
'ANnVBG',
|
|
1046
|
-
'yxr0ywnOBwvUDeLK',
|
|
1047
|
-
'C3rYAw5NAwz5',
|
|
1048
|
-
'l3nLCNzLCG',
|
|
1049
|
-
'B3b0Aw9UywW',
|
|
1050
|
-
'lNnSB2nR',
|
|
1051
|
-
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1052
|
-
'DgvZDa',
|
|
1053
|
-
'zg9Uzq',
|
|
1054
|
-
'ywz0zxjtzxe',
|
|
1055
|
-
'ig1LC3nHz2vZkqOk',
|
|
1056
|
-
'zMLUzenHy2HLzfbHDgG',
|
|
1057
|
-
'C2vZC2LVBKLK',
|
|
1058
|
-
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
1059
|
-
'BwfW',
|
|
1060
|
-
'l3vWBg9Hza',
|
|
1061
152
|
'C2vUzgvYtMfTzq',
|
|
1062
|
-
'
|
|
1063
|
-
'
|
|
1064
|
-
'
|
|
1065
|
-
'
|
|
1066
|
-
'
|
|
1067
|
-
'
|
|
1068
|
-
'
|
|
1069
|
-
'
|
|
1070
|
-
'
|
|
1071
|
-
'
|
|
1072
|
-
'
|
|
1073
|
-
'
|
|
1074
|
-
'
|
|
1075
|
-
'
|
|
1076
|
-
'
|
|
1077
|
-
'
|
|
1078
|
-
'Dg9ju09tDhjPBMC',
|
|
1079
|
-
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
1080
|
-
'zw51Bq',
|
|
1081
|
-
'C2L6zq',
|
|
153
|
+
'r0vu',
|
|
154
|
+
'vgfZAYa',
|
|
155
|
+
'mZKZmtiZy1fYDwPx',
|
|
156
|
+
'DxnLCG',
|
|
157
|
+
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
158
|
+
'l2zPBMLZAa',
|
|
159
|
+
'C3rYAw5N',
|
|
160
|
+
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
|
|
161
|
+
'ig1ZzZ0',
|
|
162
|
+
'DgfZA19Pza',
|
|
163
|
+
'zgfLBw9UqxbPs2v5',
|
|
164
|
+
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
165
|
+
'D29YA2vYCW',
|
|
166
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
|
|
167
|
+
'Dw5RBM93BG',
|
|
168
|
+
'BgLZDfrHC2TZ',
|
|
1082
169
|
'xsba',
|
|
1083
|
-
'
|
|
1084
|
-
'
|
|
1085
|
-
'
|
|
170
|
+
'C2vUzf9TzxnZywDL',
|
|
171
|
+
'mta3nte3nxnzEhLrCG',
|
|
172
|
+
'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
|
|
173
|
+
'CMvZCg9UC2u',
|
|
174
|
+
'yxjNDG',
|
|
175
|
+
'BgLZDfnLCNzLCG',
|
|
176
|
+
'l3nLCNzLCG',
|
|
177
|
+
'DgHYzwfKx3rHCMDLDa',
|
|
178
|
+
'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
|
|
179
|
+
'ywjVCNq',
|
|
180
|
+
'AhvTyw5Z',
|
|
181
|
+
'Bwv0yq',
|
|
182
|
+
'l3nLBMq',
|
|
183
|
+
'Dg9ju09tDhjPBMC',
|
|
184
|
+
'C3rVCe1HAw4',
|
|
1086
185
|
'CgfYC2u',
|
|
1087
|
-
'
|
|
1088
|
-
'nZKXndbhBuXJCfu',
|
|
1089
|
-
'C2HHmJu2',
|
|
1090
|
-
'zgLZCg9ZAxrPB24',
|
|
1091
|
-
'CNvUswq',
|
|
1092
|
-
'Dgv4Dc9TyxjRzg93BG',
|
|
1093
|
-
'yxbWBgLJyxrPB24VANnVBG',
|
|
1094
|
-
'uMv0CMLLDMuGDgHLihjLC3vSDcaOCMvZDw1LihbHy2TLDcKGB2yGysbJB21WBgv0zwqGD29YA2vYlG',
|
|
1095
|
-
'AM9PBG',
|
|
186
|
+
'mJG3otr6AuTfDuu',
|
|
1096
187
|
'iYmJieH1BwfUCW',
|
|
1097
|
-
'
|
|
1098
|
-
'
|
|
1099
|
-
'
|
|
1100
|
-
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
188
|
+
'C2vYDMvYtMfTzq',
|
|
189
|
+
'DgfZA051BwjLCG',
|
|
190
|
+
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1101
191
|
'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
|
|
192
|
+
'BwfYA193ywL0Aw5Nx2LUChv0',
|
|
193
|
+
'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
|
|
194
|
+
'BgLTAxq',
|
|
195
|
+
'DgHYzwfKtNvTyMvY',
|
|
196
|
+
'mJfVtMnMCfG',
|
|
1102
197
|
'D29YA2vYtw9KzuvUywjSzwq',
|
|
1103
|
-
'
|
|
1104
|
-
'
|
|
1105
|
-
'nJi1ntCWmNrhyLPjEG',
|
|
1106
|
-
'77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
|
|
1107
|
-
'nda1mJiWC0LHt2Pp',
|
|
1108
|
-
'C2vUze1LC3nHz2u',
|
|
1109
|
-
'Aw1Hz2uVz2LM',
|
|
1110
|
-
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
1111
|
-
'C2LNBMfS',
|
|
1112
|
-
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
1113
|
-
'4PQG77IpifDpuKTfuIbbq1rjvKfuruqG4Ocuifn0B3aGquXmihDVCMSGB24GDgHPCYb0yxnRigLTBwvKAwf0zwX5lIbeBYbUB3qGC2vUzcbMDxj0AgvYig1LC3nHz2vZihrVihrOAxmGDgHYzwfKlG',
|
|
1114
|
-
'C2vX',
|
|
1115
|
-
'ig1LC3nHz2u9',
|
|
1116
|
-
'zMLUza',
|
|
1117
|
-
'Ahr0Chm6',
|
|
1118
|
-
'C2L6zuj5DgvZ',
|
|
1119
|
-
'z2v0u2vJB25KCW',
|
|
1120
|
-
'l2LUDgvYBMfSl2fNzw50lW',
|
|
198
|
+
'DhjPBq',
|
|
199
|
+
'zMLUAxnOx3DVCMTLCIbMywLSzwq',
|
|
1121
200
|
'C2vYDMvY',
|
|
1122
|
-
'
|
|
1123
|
-
'
|
|
1124
|
-
'
|
|
1125
|
-
'
|
|
1126
|
-
'
|
|
201
|
+
'twvZC2fNzsbZzw50ihrVia',
|
|
202
|
+
'yxbWBgLJyxrPB24VCgrM',
|
|
203
|
+
'vgfZAZOG',
|
|
204
|
+
'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
|
|
205
|
+
'y2HLy2TFBwvZC2fNzxm',
|
|
206
|
+
'zg9Uzq',
|
|
207
|
+
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
208
|
+
'C3bSAxq',
|
|
209
|
+
'Dgv4Da',
|
|
210
|
+
'mZyYnJeXmhLys1HOCG',
|
|
211
|
+
'DgfYz2v0zwruyxnR',
|
|
212
|
+
'zw50zxiTAgfUzg9MzIbMywLSzwq',
|
|
213
|
+
'CNvUBMLUzW',
|
|
214
|
+
'DgHYzwfKu2HVCNrjza',
|
|
215
|
+
'yxr0ywnOBwvUDeLKCW',
|
|
216
|
+
'ChvIBgLJ',
|
|
217
|
+
'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
|
|
218
|
+
'icHPzdO',
|
|
219
|
+
'l3jLy2vPDMu',
|
|
220
|
+
'iIbUB3qGzM91BMq',
|
|
221
|
+
'C29Tzq',
|
|
222
|
+
'AwrLBxbVDgvUy3LFA2v5',
|
|
223
|
+
'lIbZDg9WtwfPBJ10CNvLigv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
224
|
+
'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
|
|
225
|
+
'u2vUzcbHig1LC3nHz2uUieLMihzPC2LIAwXPDhKGAxmGB21PDhrLzcWGDgHLig1LC3nHz2uGAxmGChvIBgLJlIbjBIb0yxnRihrOCMvHzhmSihnLDcb2AxnPyMLSAxr5oIbHC2LKzsbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Gt3v0C2LKzsb0AhjLywrZlcbKBYbUB3qGC2v0ihzPC2LIAwXPDhKUifjLDxnLihrOzsbLEgfJDcb0yxjNzxqGC3rYAw5NigzYB20GAw5JB21PBMCGBwvZC2fNzxmU',
|
|
226
|
+
'mtC2mdvVCwPesNe',
|
|
227
|
+
'yxr0ywnOBwvUDf9Pza',
|
|
228
|
+
'y3jLyxrLzef0',
|
|
1127
229
|
'y3jLyxrLx3rHC2TZ',
|
|
1128
|
-
'
|
|
1129
|
-
'
|
|
1130
|
-
'
|
|
1131
|
-
'
|
|
1132
|
-
'
|
|
1133
|
-
'
|
|
1134
|
-
'
|
|
1135
|
-
'
|
|
1136
|
-
'
|
|
1137
|
-
'
|
|
1138
|
-
'
|
|
1139
|
-
'Aw5JBhvKzxm',
|
|
1140
|
-
'Dw5JBgfPBv90yxnR',
|
|
1141
|
-
'D3nZoG',
|
|
1142
|
-
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
1143
|
-
'D29YA19RzxK',
|
|
230
|
+
'C2f2zq',
|
|
231
|
+
'yM9KEu1HCMTKB3DU',
|
|
232
|
+
'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
|
|
233
|
+
'CgfYDgLJAxbHBNq',
|
|
234
|
+
'D29YA2vYsgfUzg9MzJ10CNvL',
|
|
235
|
+
'yxjYyxLcDwzMzxi',
|
|
236
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
237
|
+
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
238
|
+
'DgHYzwfKvgfYz2v0',
|
|
239
|
+
'ue9tva',
|
|
240
|
+
'AxnbCNjHEq',
|
|
1144
241
|
'zxHLy3v0Aw9Utw9Kzq',
|
|
1145
|
-
'
|
|
1146
|
-
'
|
|
1147
|
-
'
|
|
1148
|
-
'
|
|
1149
|
-
'
|
|
1150
|
-
'BMv4Df9ZDgvWCW',
|
|
1151
|
-
'C3rHDhvZ',
|
|
1152
|
-
'zMLSzxnFy2HHBMDLza',
|
|
1153
|
-
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
1154
|
-
'Bg9JywXLq29TCgfYzq',
|
|
1155
|
-
'BwvTyMvYCW',
|
|
1156
|
-
'D29YA2vYigHHBMrVzMyGzMfPBgvK',
|
|
1157
|
-
'zMLSzv9WyxrO',
|
|
1158
|
-
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1159
|
-
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
1160
|
-
'ChvIBgLJ',
|
|
1161
|
-
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
1162
|
-
'DgHYzwfKswq',
|
|
1163
|
-
'z2v0',
|
|
1164
|
-
'CMvHC29U',
|
|
1165
|
-
'DgfZA051BwjLCG',
|
|
1166
|
-
'zw50CMLLCW',
|
|
242
|
+
'Dw5JBgfPBv90yxnR',
|
|
243
|
+
'zNjVBq',
|
|
244
|
+
'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
|
|
245
|
+
'BwvTyMvY',
|
|
246
|
+
'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
|
|
1167
247
|
'CMvHzeHPC3rVCNK',
|
|
1168
|
-
'
|
|
1169
|
-
'
|
|
1170
|
-
'
|
|
1171
|
-
'
|
|
1172
|
-
'
|
|
1173
|
-
'
|
|
248
|
+
'CMvHzf9OAxn0B3j5',
|
|
249
|
+
'ANnVBG',
|
|
250
|
+
'DxrMoa',
|
|
251
|
+
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
252
|
+
'C2v0',
|
|
253
|
+
'C2vUze1LC3nHz2u',
|
|
254
|
+
'zxH0BMfTzq',
|
|
255
|
+
'ywz0zxjtzxe',
|
|
1174
256
|
'l3DVCMTLCNmVzMLUAxnO',
|
|
1175
|
-
'
|
|
1176
|
-
'
|
|
1177
|
-
'
|
|
1178
|
-
'
|
|
1179
|
-
'
|
|
1180
|
-
'zgf0yq',
|
|
1181
|
-
'uefuq0G',
|
|
1182
|
-
'mtbIBvfutgi',
|
|
1183
|
-
'Bwv0yq',
|
|
1184
|
-
'mJDgCxrsqvK',
|
|
1185
|
-
'C3rHCNrZv2L0Aa',
|
|
1186
|
-
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
1187
|
-
'ihn0yxr1CZ0',
|
|
1188
|
-
'DgHYzwfKtNvTyMvY',
|
|
1189
|
-
'mZvAthb0zeG',
|
|
1190
|
-
'Dg9mB3DLCKnHC2u',
|
|
1191
|
-
'y29UDgvUDejHC2u2na',
|
|
1192
|
-
'yxjNDG',
|
|
1193
|
-
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
1194
|
-
'pgvTChr5pG',
|
|
1195
|
-
'tM8GBMv3ig1LC3nHz2vZlG',
|
|
1196
|
-
'DhjPBq',
|
|
1197
|
-
'y2HLy2TnzxnZywDLCW',
|
|
1198
|
-
'igLUia',
|
|
1199
|
-
'Dgv4Dc9JC3y',
|
|
1200
|
-
'C3vJy2vZCW',
|
|
1201
|
-
'DgL0Bgu',
|
|
1202
|
-
'DgfYz2v0zwq',
|
|
1203
|
-
'w3nLCt0',
|
|
1204
|
-
'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
|
|
1205
|
-
'AhvTyw5Z',
|
|
1206
|
-
'zgvJAxnPB25Z',
|
|
1207
|
-
'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
|
|
1208
|
-
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
1209
|
-
'cGOTls0G',
|
|
1210
|
-
'ywDLBNq',
|
|
1211
|
-
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
257
|
+
'CgfYDgLJAxbHBNrjza',
|
|
258
|
+
'ls1KywvTB24TyxbPlwTLEq',
|
|
259
|
+
'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
|
|
260
|
+
'yxnPzgu',
|
|
261
|
+
'zxnJywXHDgvFDg9FBwfPBG',
|
|
1212
262
|
'ignSywLTzwq',
|
|
1213
|
-
'
|
|
1214
|
-
'
|
|
1215
|
-
'
|
|
1216
|
-
'
|
|
1217
|
-
'
|
|
1218
|
-
'
|
|
1219
|
-
'
|
|
1220
|
-
'
|
|
1221
|
-
'y2XHAw0GzMfPBgvK',
|
|
1222
|
-
'DxbKyxrLx3rHC2TFC3rHDhvZ',
|
|
1223
|
-
'zMv0y2HuAw1LB3v0txm',
|
|
1224
|
-
'iokaLca',
|
|
1225
|
-
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
1226
|
-
'D2fPDgLUz19PBNb1Da',
|
|
1227
|
-
'y2HLy2TFBwvZC2fNzxm',
|
|
1228
|
-
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
1229
|
-
'yMfZzw5HBwu',
|
|
1230
|
-
'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
|
|
1231
|
-
'D29YA2vYvgHYzwfKvgfYz2v0',
|
|
1232
|
-
'ChvZAa',
|
|
1233
|
-
'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
|
|
1234
|
-
'C2vYDMvYvxjS',
|
|
1235
|
-
'w3rHCMDLDd0',
|
|
1236
|
-
'C29YDa',
|
|
1237
|
-
'yM9KEu1HCMTKB3DU',
|
|
1238
|
-
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
1239
|
-
'C2nOzwr1BgvKrM9Y',
|
|
1240
|
-
'Cgf5Bg9HzePZB24',
|
|
1241
|
-
'BNvTyMvY',
|
|
1242
|
-
'zg93BMXVywrbDhrHy2HTzw50',
|
|
263
|
+
'DxbKyxrLvgfZA1n0yxr1CW',
|
|
264
|
+
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
265
|
+
'Aw1Hz2uVC3zNk3HTBa',
|
|
266
|
+
'v29YA2vYia',
|
|
267
|
+
'Aw5JBhvKzxm',
|
|
268
|
+
'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
|
|
269
|
+
'rg93BMXVywrLzcb0BZOG',
|
|
270
|
+
'D29YA2vYtw9Kzq',
|
|
1243
271
|
'CMvJB3jK',
|
|
1244
|
-
'
|
|
1245
|
-
'
|
|
272
|
+
'ywrKrxzLBNrmAxn0zw5LCG',
|
|
273
|
+
'C2vX',
|
|
274
|
+
'zMLSzw5HBwu',
|
|
275
|
+
'DMfSDwvZ',
|
|
1246
276
|
'yMvMB3jL',
|
|
1247
|
-
'
|
|
1248
|
-
'
|
|
1249
|
-
'
|
|
1250
|
-
'
|
|
1251
|
-
'
|
|
1252
|
-
'
|
|
1253
|
-
'
|
|
1254
|
-
'
|
|
1255
|
-
'
|
|
1256
|
-
'
|
|
1257
|
-
'
|
|
1258
|
-
'
|
|
1259
|
-
'
|
|
1260
|
-
'
|
|
1261
|
-
'
|
|
1262
|
-
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
1263
|
-
'yxbWBgLJyxrPB24VEg1S',
|
|
1264
|
-
'DMLZAwjPBgL0Eq',
|
|
1265
|
-
'zNjVBq',
|
|
1266
|
-
'CMvWBgfJzq',
|
|
1267
|
-
'DMLLD19MAwXL',
|
|
1268
|
-
'ihrPBwu9',
|
|
277
|
+
'BgLZDf9Zzxj2zxi',
|
|
278
|
+
'AgfZ',
|
|
279
|
+
'y2HHBM5LBhm',
|
|
280
|
+
'D29YA2vYrgLZCg9ZAxrPB24',
|
|
281
|
+
'DgL0Bgu',
|
|
282
|
+
'zMLUza',
|
|
283
|
+
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
284
|
+
'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
|
|
285
|
+
'BMv4Df9ZDgvWCW',
|
|
286
|
+
'l3DVCMTLCNmVzxnJywXHDgu',
|
|
287
|
+
'Cgf5Bg9HzePZB24',
|
|
288
|
+
'C2L6zq',
|
|
289
|
+
'lcbWCMv2Awv3pq',
|
|
290
|
+
'CMvZDwX0',
|
|
291
|
+
'y29UDgvUDfr5Cgu',
|
|
1269
292
|
'z2v0x3DVCMTLCL9Yzxn1Bhq',
|
|
1270
|
-
'
|
|
1271
|
-
'
|
|
1272
|
-
'
|
|
1273
|
-
'
|
|
1274
|
-
'
|
|
1275
|
-
'
|
|
293
|
+
'CMvWBgfJzq',
|
|
294
|
+
'Bwf4',
|
|
295
|
+
'DgfZA0rLBgL2zxj5tw9Kzq',
|
|
296
|
+
'AM9PBG',
|
|
297
|
+
'Dgv4Dc9JC3y',
|
|
298
|
+
'C2LNBMfS',
|
|
299
|
+
'Bwf0y2Hoyw1L',
|
|
300
|
+
'ChvZAa',
|
|
301
|
+
'BgLZDf90yxnRCW',
|
|
302
|
+
'z2v0',
|
|
303
|
+
'CMvHC29U',
|
|
304
|
+
'C2HHmJu2',
|
|
305
|
+
'C2vYDMvYvxjS',
|
|
306
|
+
'y2HHBM5LBa',
|
|
307
|
+
'DxbSB2fKrMLSzq',
|
|
308
|
+
'l2nVBNrLBNq',
|
|
309
|
+
'y2fJAgveAxi',
|
|
310
|
+
'yMfZzty0',
|
|
311
|
+
'DxbSB2fKuhjLCgfYzxi',
|
|
312
|
+
'AwrSzq',
|
|
313
|
+
'yM9KEvrLEhq',
|
|
314
|
+
'BwvZC2fNzxm',
|
|
1276
315
|
'rMLSzsbUB3qGzM91BMq6ia',
|
|
1277
|
-
'
|
|
1278
|
-
'
|
|
1279
|
-
'
|
|
1280
|
-
'
|
|
1281
|
-
'
|
|
1282
|
-
'
|
|
1283
|
-
'
|
|
1284
|
-
'
|
|
1285
|
-
'
|
|
1286
|
-
'
|
|
1287
|
-
'
|
|
1288
|
-
'icHPzdO',
|
|
1289
|
-
'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
|
|
1290
|
-
'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
|
|
1291
|
-
'CM9VDe1LC3nHz2vjza',
|
|
316
|
+
'lNnSB2nR',
|
|
317
|
+
'C3vJy2vZCW',
|
|
318
|
+
'zw51Bq',
|
|
319
|
+
'DxbKyxrL',
|
|
320
|
+
'C3rHDhvZ',
|
|
321
|
+
'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
|
|
322
|
+
'l3DVCMTLCNmVzgvSAxzLCG',
|
|
323
|
+
'ywDLBNrjza',
|
|
324
|
+
'igf0DgfJAg1LBNq',
|
|
325
|
+
'AxngAwXL',
|
|
326
|
+
'D29YA2vYsgfUzg9MzKvYCM9Y',
|
|
1292
327
|
'igfSCMvHzhKGAgfZigfUigfJDgL2zsb3B3jRzxiUihn0B3bnywLUpxrYDwuGzxHLy3v0Aw9Utw9Kzt13B3jRzxi',
|
|
1293
|
-
'
|
|
1294
|
-
'
|
|
1295
|
-
'
|
|
1296
|
-
'
|
|
1297
|
-
'
|
|
328
|
+
'BwLU',
|
|
329
|
+
'ls13B3jRzxiTBw9Kzq',
|
|
330
|
+
'l2nVBNrLEhqTBwv0CMLJCW',
|
|
331
|
+
'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
|
|
332
|
+
'ywDNCMvNyxrLvhLWzq',
|
|
333
|
+
'z2v0u2vJB25KCW',
|
|
334
|
+
'BgLZDf9Zzxj2zxiGzMfPBgvK',
|
|
335
|
+
'lsba',
|
|
336
|
+
'CxvLDwvK',
|
|
337
|
+
'Dg9gAxHLza',
|
|
1298
338
|
'kgXLz2fJEsK',
|
|
1299
|
-
'
|
|
1300
|
-
'
|
|
1301
|
-
'
|
|
339
|
+
'BwvZC2fNzuLK',
|
|
340
|
+
'zMLSzv9WyxrO',
|
|
341
|
+
't3jPz2LUywWGBwvZC2fNztOG',
|
|
342
|
+
'w3rHCMDLDd0',
|
|
343
|
+
'yxr0ywnOBwvUDenHy2HL',
|
|
344
|
+
'Dg9mB2nHBgvmB3DLCKnHC2u',
|
|
345
|
+
'y2HHDa',
|
|
346
|
+
'CgfYC2vjBNq',
|
|
347
|
+
'zgfLBw9Utg9JywXvCMW',
|
|
348
|
+
'sfruuca',
|
|
349
|
+
'Bwf0y2Hoyw1Ltg93zxi',
|
|
350
|
+
'ls13B3jRzxiTC2vZC2LVBI1Pza',
|
|
351
|
+
'yxr0ywnOBwvUDhm',
|
|
352
|
+
'ywDNCMvNyxrLswq',
|
|
353
|
+
'zMfPBgvK',
|
|
354
|
+
'y2XPzw50',
|
|
355
|
+
'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
|
|
356
|
+
'lMjPBG',
|
|
357
|
+
'uMv0CMLLDMuGDgHLihjLC3vSDcaOCMvZDw1LihbHy2TLDcKGB2yGysbJB21WBgv0zwqGD29YA2vYlG',
|
|
358
|
+
'ls1Zzxj2zxiTDxjS',
|
|
1302
359
|
'CMvZDwX0sNnVBG',
|
|
1303
|
-
'
|
|
1304
|
-
'
|
|
360
|
+
'ig1ZzZ1Oyw5KB2zMihrPBwu9',
|
|
361
|
+
'Aw5FCMv2Awv3',
|
|
362
|
+
'yxr0ywnOBwvUDf9Pzhm',
|
|
363
|
+
'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
|
|
364
|
+
'lcbJB250zw50lxr5Cgu9',
|
|
365
|
+
'tM8GDgfZA3mGy2XHAw1Lzc4',
|
|
366
|
+
'AgfZtw9Yzq',
|
|
367
|
+
'C3rHCNrLza',
|
|
368
|
+
'DgfYz2v0zwq',
|
|
369
|
+
'C2nOzwr1BgvKrM9Y',
|
|
370
|
+
'zxjYB3i',
|
|
1305
371
|
'z2v0rgf0zq',
|
|
372
|
+
'z2v0x3DVCMTLCL9ZDgf0Dxm',
|
|
373
|
+
'l3vWBg9Hza',
|
|
374
|
+
'C3rHCNrZv2L0Aa',
|
|
375
|
+
'zMLUAxnOx3DVCMTLCG',
|
|
376
|
+
'l2fWAs9HDhrHy2HTzw50CY8',
|
|
377
|
+
'iYmGu2vYDMvYoIa',
|
|
378
|
+
'ywDLBNrZ',
|
|
379
|
+
'Dg9KBW',
|
|
380
|
+
'ywz0zxi',
|
|
381
|
+
'rg8GBM90ihnLBMqGzNvYDgHLCIbTzxnZywDLCYb0BYb0AgLZihrOCMvHzcdIGjqGDgHLihDVCMTLCIbPCYbOyw5KBgLUzYbPDc4',
|
|
382
|
+
'DMLLD19MAwXLigzHAwXLza',
|
|
383
|
+
'DhLWzq',
|
|
384
|
+
'AgLNAa',
|
|
1306
385
|
'twLZC2LUzYaTlwfNzw50lwLK',
|
|
1307
|
-
'
|
|
386
|
+
'D29YA2vYx3nLC3nPB25FAwq',
|
|
387
|
+
'zgvZy3jPChrPB24',
|
|
388
|
+
'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
|
|
389
|
+
'ow9jyvvcDa',
|
|
390
|
+
'iJOGC3rHDhvZpq',
|
|
391
|
+
'BwvTyMvYCW',
|
|
392
|
+
'y2XHAw1FDgfZA3m',
|
|
393
|
+
'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
|
|
394
|
+
'Bwf4rMLSzvnPEMvcExrLCW',
|
|
395
|
+
'BwfW',
|
|
396
|
+
'yxv0BZO',
|
|
397
|
+
'z2v0tw9UDgG',
|
|
398
|
+
'B3jPz2LUywXgAwXLBMfTzq',
|
|
399
|
+
'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
|
|
400
|
+
'zgf0yq',
|
|
401
|
+
'lsaJ',
|
|
402
|
+
'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
|
|
403
|
+
'B2jQzwn0',
|
|
1308
404
|
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
|
|
1309
|
-
'
|
|
1310
|
-
'
|
|
1311
|
-
'rMLSzsb1CgXVywrLzdOG',
|
|
1312
|
-
't3b0Aw9UywWUieLMig9TAxr0zwqSihrOzsbTzxnZywDLigLZihb1yMXPyY4Gsw4GDgfZAYb0AhjLywrZlcbZzxqGiMfZAwrLiIbVBMX5ihDOzw4GEw91igv4CgXPy2L0BhKGD2fUDcbHBIbHC2LKzs4Grg8GBM90ihnLDcbVDxrZAwrLihrOCMvHzhmU',
|
|
1313
|
-
'yM9KEvrLEhq',
|
|
1314
|
-
'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
|
|
1315
|
-
'AxnbyNnVBhv0zq',
|
|
1316
|
-
'ywXS',
|
|
1317
|
-
'C3rVCe1HAw49Dhj1zq',
|
|
1318
|
-
'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
|
|
1319
|
-
'y2HHBM5LBeLK',
|
|
1320
|
-
'BgLZDfrHC2TZ',
|
|
1321
|
-
'CMvHzf9OAxn0B3j5',
|
|
1322
|
-
'BgvUz3rO',
|
|
1323
|
-
'y2HHBM5LBe5HBwu',
|
|
1324
|
-
'z2v0vgLTzq',
|
|
405
|
+
'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
|
|
406
|
+
'Dw5JBgfPBvrHC2S',
|
|
1325
407
|
'EM9K',
|
|
1326
|
-
'
|
|
1327
|
-
'
|
|
1328
|
-
'
|
|
1329
|
-
'
|
|
408
|
+
'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
|
|
409
|
+
'DgfZA3m',
|
|
410
|
+
'DMLZAwjPBgL0Eq',
|
|
411
|
+
'ChjVDg9JB2W',
|
|
1330
412
|
'C2XPy2u',
|
|
1331
|
-
'
|
|
1332
|
-
'
|
|
1333
|
-
'D3m6',
|
|
1334
|
-
'DhLWzq',
|
|
1335
|
-
'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
|
|
413
|
+
'D29YA2vYsgfUzg9MzG',
|
|
414
|
+
'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
|
|
1336
415
|
'z2v0rNvSBfLLyxi',
|
|
1337
|
-
'
|
|
1338
|
-
'
|
|
1339
|
-
'
|
|
1340
|
-
'
|
|
1341
|
-
'
|
|
1342
|
-
'
|
|
1343
|
-
'
|
|
1344
|
-
'
|
|
1345
|
-
'
|
|
1346
|
-
'
|
|
1347
|
-
'
|
|
1348
|
-
'
|
|
1349
|
-
'
|
|
1350
|
-
'
|
|
1351
|
-
'
|
|
1352
|
-
'D29YA2vY',
|
|
1353
|
-
'zgfLBw9UqxbPs2v5',
|
|
1354
|
-
'y2XPzw50',
|
|
1355
|
-
'yxjYyxK',
|
|
1356
|
-
'AxnjBNrLz2vY',
|
|
1357
|
-
'r0vu',
|
|
1358
|
-
'CgfYC2vjBNq',
|
|
1359
|
-
'DxbKyxrL',
|
|
1360
|
-
'DxbSB2fKuhjLCgfYzxi',
|
|
1361
|
-
'iow3SUwiH+AnOUwiScb3B3jRzxiG5OMN6kgm',
|
|
1362
|
-
'CMvZDw1Lx3bHy2TLDa',
|
|
1363
|
-
'C2vYDMvYtMfTzq',
|
|
1364
|
-
'C2f2zq',
|
|
1365
|
-
'y2HHBM5LBa',
|
|
1366
|
-
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
416
|
+
'y2HHBM5LBeLK',
|
|
417
|
+
'zgvZy3jPyMu',
|
|
418
|
+
'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
|
|
419
|
+
'Aw5FChjVz3jLC3m',
|
|
420
|
+
'yMfZzw5HBwu',
|
|
421
|
+
'CgfKu3rHCNq',
|
|
422
|
+
'C29YDa',
|
|
423
|
+
'y2XHAw1FDgfZA3mGzMfPBgvK',
|
|
424
|
+
'y3jLyxrLx3rHC2TZigzHAwXLza',
|
|
425
|
+
'A2LUza',
|
|
426
|
+
'Bg9JywXLq29TCgfYzq',
|
|
427
|
+
'zMv0y2HjBxbS',
|
|
428
|
+
'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
|
|
429
|
+
'DgHYzwfKvgfYz2v0pq',
|
|
430
|
+
'y2HLy2TnzxnZywDLCW',
|
|
1367
431
|
'DgfZAW',
|
|
1368
|
-
'
|
|
1369
|
-
'
|
|
1370
|
-
'
|
|
1371
|
-
'
|
|
1372
|
-
'
|
|
1373
|
-
'
|
|
1374
|
-
'
|
|
1375
|
-
'
|
|
1376
|
-
'
|
|
432
|
+
'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
|
|
433
|
+
'zxHWAxjLC0f0',
|
|
434
|
+
'y3vYC29Y',
|
|
435
|
+
'D29YA19RzxK',
|
|
436
|
+
'iokaLca',
|
|
437
|
+
'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
|
|
438
|
+
'BM93',
|
|
439
|
+
'xsbaC3LZDgvToIbBzw50zxiTAgfUzg9MzL0',
|
|
440
|
+
'odK4ntqWufHlAgn6',
|
|
441
|
+
'ls1KywvTB24TBg9JywWTDxjS',
|
|
442
|
+
'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
|
|
443
|
+
'Aw1Hz2uVD2vICa',
|
|
444
|
+
'C2vZC2LVBKLK',
|
|
445
|
+
'vgHYzwfKihrHCMDLDdOG',
|
|
446
|
+
'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
|
|
447
|
+
'v29YA2vYici',
|
|
448
|
+
'BwvZC2fNzq',
|
|
449
|
+
'ls1ZzxnZAw9UlwLK',
|
|
450
|
+
'yxr0ywnOBwvUDeLK',
|
|
451
|
+
'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
|
|
452
|
+
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
453
|
+
'iYmJiefNzw50CW',
|
|
454
|
+
'zxzLBNrtzxe',
|
|
455
|
+
'Dw5JBgfPBv90yxnRigzHAwXLza',
|
|
456
|
+
'ihDVCMTLCKHHBMrVzMy9zMfSC2uGzxjYB3i9',
|
|
457
|
+
'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
|
|
458
|
+
'DgHYzwfK',
|
|
459
|
+
'tM8GDgfZA3mGzM91BMqU',
|
|
460
|
+
'Dgv4Dc9WBgfPBG',
|
|
1377
461
|
'CMvXDwvZDfvYBa',
|
|
462
|
+
'CMvHzf9OAxn0B3j5igzHAwXLza',
|
|
463
|
+
'CNvUswq',
|
|
464
|
+
'Aw1Hz2uVANbLzW',
|
|
465
|
+
'Dg9VBa',
|
|
466
|
+
'DxbSB2fKx2zPBguGzMfPBgvK',
|
|
467
|
+
'y2HHBM5LBfrHCMDLDa',
|
|
468
|
+
'D3nZoG',
|
|
469
|
+
'BMv4Den1CNnVCG',
|
|
470
|
+
'pgvTChr5pG',
|
|
471
|
+
'C3rYAw5NAwz5',
|
|
472
|
+
'yxbWBgLJyxrPB24VANnVBG',
|
|
473
|
+
'ig1LC3nHz2vZkqOk',
|
|
474
|
+
'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
|
|
475
|
+
'B3bLBL9PC3n1zxm',
|
|
476
|
+
'y2HHBM5LBe5HBwu',
|
|
477
|
+
'AgvHzgvYCW',
|
|
478
|
+
'BMfTzq',
|
|
479
|
+
'DxbSB2fKx2zPBgu',
|
|
480
|
+
'6k+35Rgcia',
|
|
481
|
+
'DMLLD19MAwXL',
|
|
482
|
+
'l2LUDgvYBMfSl2fNzw50lW',
|
|
483
|
+
'yxjYyxK',
|
|
484
|
+
'ig1LC3nHz2u9',
|
|
485
|
+
'y29UDgvUDa',
|
|
486
|
+
'zMLUzenHy2HLzfbHDgG',
|
|
487
|
+
'zw50CMLLCW',
|
|
488
|
+
'CM9VDe1LC3nHz2vjza',
|
|
489
|
+
'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
|
|
490
|
+
'B3b0Aw9UywW',
|
|
491
|
+
'D2fPDgLUz19PBNb1Da',
|
|
492
|
+
'zxHLy3v0Aw9Utw9Kzt0',
|
|
493
|
+
'igLUia',
|
|
494
|
+
'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
|
|
495
|
+
'C2L6zuj5DgvZ',
|
|
496
|
+
'Aw5PDgLHBeXHC3rtzwvUu2vX',
|
|
497
|
+
'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
|
|
498
|
+
'y2XHAw1uyxnRCW',
|
|
499
|
+
'BgvUz3rO',
|
|
1378
500
|
'igzHAwXLzdOG',
|
|
1379
|
-
'
|
|
1380
|
-
'
|
|
1381
|
-
'
|
|
1382
|
-
'
|
|
1383
|
-
'
|
|
1384
|
-
'
|
|
1385
|
-
'
|
|
1386
|
-
'
|
|
1387
|
-
'
|
|
1388
|
-
'
|
|
1389
|
-
'
|
|
1390
|
-
'
|
|
1391
|
-
'
|
|
1392
|
-
'
|
|
1393
|
-
'
|
|
1394
|
-
'
|
|
1395
|
-
'
|
|
1396
|
-
'
|
|
1397
|
-
'
|
|
1398
|
-
'
|
|
1399
|
-
'DgHYzwfKu2HVCNrjza',
|
|
1400
|
-
'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
|
|
1401
|
-
'l3rHC2TZ',
|
|
1402
|
-
'BwvTyMvY',
|
|
1403
|
-
'zxzLBNrtzxe'
|
|
501
|
+
'ywrK',
|
|
502
|
+
'zgLZCg9ZAxrPB24',
|
|
503
|
+
'zgvSzxrL',
|
|
504
|
+
'cGOTls0G',
|
|
505
|
+
'CMvZDw1Lx3bHy2TLDa',
|
|
506
|
+
'mJa1mJu2ng1RwKXvrW',
|
|
507
|
+
'DMfSDwu',
|
|
508
|
+
'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
|
|
509
|
+
'ywDLBNq',
|
|
510
|
+
'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
|
|
511
|
+
'zg06',
|
|
512
|
+
'igTPBMq9',
|
|
513
|
+
'C2vUzf9TzxnZywDLigzHAwXLza',
|
|
514
|
+
'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
|
|
515
|
+
'BNvTyMvY',
|
|
516
|
+
'l2HPC3rVCNK/',
|
|
517
|
+
'rxnJywXHDguGyw4GAxnZDwuGDg8GDgHLig1HAw4GywDLBNqGC2vZC2LVBI4GvxnLihDOzw4GDgHLihDVCMTLCIbJyw5UB3qGCMvZB2X2zsbHihbYB2jSzw0GywXVBMuGyw5Kig5LzwrZig1HAw4GDg8GAw50zxj2zw5LlG',
|
|
518
|
+
'DgfYz2v0',
|
|
519
|
+
'ywDNCMvNyxrLswrZ',
|
|
520
|
+
'uefuq0G'
|
|
1404
521
|
];
|
|
1405
|
-
|
|
1406
|
-
return
|
|
522
|
+
_0x2d07 = function () {
|
|
523
|
+
return _0x2bce7f;
|
|
524
|
+
};
|
|
525
|
+
return _0x2d07();
|
|
526
|
+
}
|
|
527
|
+
function ensureSegment(_0x457113) {
|
|
528
|
+
const _0x2d4c7f = _0x11a45e, _0x10e695 = _0x457113['trim']();
|
|
529
|
+
if (!_0x10e695 || _0x10e695[_0x2d4c7f(0x115)](':'))
|
|
530
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
531
|
+
return _0x10e695;
|
|
532
|
+
}
|
|
533
|
+
function parseThreadParts(_0x499027) {
|
|
534
|
+
const _0x3b3c43 = {
|
|
535
|
+
_0x72606b: 0xda,
|
|
536
|
+
_0xc6b0b5: 0x78
|
|
537
|
+
}, _0x5ed821 = _0x11a45e, _0x58e204 = _0x499027[_0x5ed821(_0x3b3c43._0x72606b)](':');
|
|
538
|
+
if (_0x58e204['length'] < 0x1 || _0x58e204[_0x5ed821(_0x3b3c43._0xc6b0b5)] > 0x2)
|
|
539
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
540
|
+
return {
|
|
541
|
+
'channelName': ensureSegment(_0x58e204[0x0] ?? ''),
|
|
542
|
+
'threadShortId': _0x58e204[0x1] ? ensureSegment(_0x58e204[0x1]) : null
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
function parseTarget(_0x8b3151) {
|
|
546
|
+
const _0x4a0634 = {
|
|
547
|
+
_0x22a740: 0x1a6,
|
|
548
|
+
_0x30be87: 0x1e6,
|
|
549
|
+
_0x434245: 0x13c,
|
|
550
|
+
_0x2def7a: 0x1e6,
|
|
551
|
+
_0x21a965: 0xe0,
|
|
552
|
+
_0x4bed39: 0x84,
|
|
553
|
+
_0x383918: 0x1a6,
|
|
554
|
+
_0x49d1c8: 0x1e6,
|
|
555
|
+
_0x488a43: 0x180,
|
|
556
|
+
_0x103547: 0x1d4
|
|
557
|
+
}, _0xe0f8d8 = _0x11a45e, _0x2caf35 = _0x8b3151[_0xe0f8d8(0xd0)]();
|
|
558
|
+
if (!_0x2caf35)
|
|
559
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
560
|
+
if (_0x2caf35[_0xe0f8d8(0x180)]('#')) {
|
|
561
|
+
const _0x4624ab = parseThreadParts(_0x2caf35[_0xe0f8d8(_0x4a0634._0x22a740)](0x1)), _0x1db8ab = '#' + _0x4624ab['channelName'];
|
|
562
|
+
if (!_0x4624ab['threadShortId'])
|
|
563
|
+
return {
|
|
564
|
+
'channelName': _0x4624ab[_0xe0f8d8(_0x4a0634._0x30be87)],
|
|
565
|
+
'channelTarget': _0x1db8ab,
|
|
566
|
+
'kind': _0xe0f8d8(_0x4a0634._0x434245),
|
|
567
|
+
'target': _0x1db8ab
|
|
568
|
+
};
|
|
569
|
+
return {
|
|
570
|
+
'channelName': _0x4624ab[_0xe0f8d8(_0x4a0634._0x2def7a)],
|
|
571
|
+
'channelTarget': _0x1db8ab,
|
|
572
|
+
'kind': _0xe0f8d8(0x1d4),
|
|
573
|
+
'target': _0x1db8ab + ':' + _0x4624ab['threadShortId'],
|
|
574
|
+
'threadShortId': _0x4624ab[_0xe0f8d8(_0x4a0634._0x21a965)]
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
if (_0x2caf35['startsWith'](_0xe0f8d8(_0x4a0634._0x4bed39))) {
|
|
578
|
+
const _0x4fbef4 = parseThreadParts(_0x2caf35[_0xe0f8d8(_0x4a0634._0x383918)](0x3));
|
|
579
|
+
if (!_0x4fbef4[_0xe0f8d8(_0x4a0634._0x49d1c8)][_0xe0f8d8(_0x4a0634._0x488a43)]('dm-'))
|
|
580
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
581
|
+
const _0xaf94cc = _0xe0f8d8(_0x4a0634._0x4bed39) + _0x4fbef4['channelName'];
|
|
582
|
+
if (!_0x4fbef4[_0xe0f8d8(0xe0)])
|
|
583
|
+
return {
|
|
584
|
+
'channelName': _0x4fbef4[_0xe0f8d8(0x1e6)],
|
|
585
|
+
'channelTarget': _0xaf94cc,
|
|
586
|
+
'kind': _0xe0f8d8(_0x4a0634._0x434245),
|
|
587
|
+
'target': _0xaf94cc
|
|
588
|
+
};
|
|
589
|
+
return {
|
|
590
|
+
'channelName': _0x4fbef4[_0xe0f8d8(0x1e6)],
|
|
591
|
+
'channelTarget': _0xaf94cc,
|
|
592
|
+
'kind': _0xe0f8d8(_0x4a0634._0x103547),
|
|
593
|
+
'target': _0xaf94cc + ':' + _0x4fbef4[_0xe0f8d8(0xe0)],
|
|
594
|
+
'threadShortId': _0x4fbef4[_0xe0f8d8(_0x4a0634._0x21a965)]
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
throw new Error(UNSUPPORTED_TARGET_MESSAGE);
|
|
598
|
+
}
|
|
599
|
+
function asErrorMessage(_0x2970cf, _0x2ed55b) {
|
|
600
|
+
const _0x33920c = {
|
|
601
|
+
_0x2c2ea6: 0xa9,
|
|
602
|
+
_0x2eb693: 0xd0
|
|
603
|
+
}, _0x446570 = _0x11a45e;
|
|
604
|
+
if (typeof _0x2970cf === _0x446570(_0x33920c._0x2c2ea6) && _0x2970cf[_0x446570(_0x33920c._0x2eb693)]())
|
|
605
|
+
return _0x2970cf;
|
|
606
|
+
return _0x2ed55b;
|
|
607
|
+
}
|
|
608
|
+
function asRecord(_0x12abbb) {
|
|
609
|
+
return typeof _0x12abbb === 'object' && _0x12abbb !== null ? _0x12abbb : {};
|
|
610
|
+
}
|
|
611
|
+
function stableStringify(_0x1a6238) {
|
|
612
|
+
const _0x5d282f = {
|
|
613
|
+
_0xefa25f: 0x195,
|
|
614
|
+
_0x2fb5c4: 0x132,
|
|
615
|
+
_0x1da052: 0x132
|
|
616
|
+
}, _0x4fde57 = _0x11a45e;
|
|
617
|
+
if (_0x1a6238 === null || typeof _0x1a6238 !== _0x4fde57(0x19d))
|
|
618
|
+
return JSON[_0x4fde57(0x1e1)](_0x1a6238);
|
|
619
|
+
if (Array[_0x4fde57(0xfa)](_0x1a6238))
|
|
620
|
+
return '[' + _0x1a6238[_0x4fde57(_0x5d282f._0xefa25f)](_0x49d137 => stableStringify(_0x49d137))[_0x4fde57(_0x5d282f._0x2fb5c4)](',') + ']';
|
|
621
|
+
const _0x5e9645 = Object[_0x4fde57(0x1f1)](_0x1a6238)[_0x4fde57(0x94)](([, _0x4608f5]) => _0x4608f5 !== void 0x0)['sort'](([_0x421195], [_0x2292ae]) => _0x421195[_0x4fde57(0x1b4)](_0x2292ae))['map'](([_0x3b033a, _0x2dd7a8]) => JSON[_0x4fde57(0x1e1)](_0x3b033a) + ':' + stableStringify(_0x2dd7a8));
|
|
622
|
+
return '{' + _0x5e9645[_0x4fde57(_0x5d282f._0x1da052)](',') + '}';
|
|
623
|
+
}
|
|
624
|
+
function createHeaders(_0x2ece52) {
|
|
625
|
+
const _0x47afaa = { _0x3a5c5f: 0x1e2 }, _0x4e3a38 = _0x11a45e;
|
|
626
|
+
return {
|
|
627
|
+
'Content-Type': _0x4e3a38(_0x47afaa._0x3a5c5f),
|
|
628
|
+
'x-daemon-api-key': _0x2ece52
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
function toHttpBaseUrl(_0x1e4f2d) {
|
|
632
|
+
const _0x42d1fb = {
|
|
633
|
+
_0x1be282: 0x1a5,
|
|
634
|
+
_0x651897: 0x1de,
|
|
635
|
+
_0x36f36e: 0x12f
|
|
636
|
+
}, _0x42b87b = _0x11a45e, _0x43446f = new URL(_0x1e4f2d);
|
|
637
|
+
if (_0x43446f[_0x42b87b(_0x42d1fb._0x1be282)] === 'ws:')
|
|
638
|
+
_0x43446f['protocol'] = 'http:';
|
|
639
|
+
else
|
|
640
|
+
_0x43446f['protocol'] === _0x42b87b(_0x42d1fb._0x651897) && (_0x43446f[_0x42b87b(_0x42d1fb._0x1be282)] = 'https:');
|
|
641
|
+
return _0x43446f['toString']()[_0x42b87b(_0x42d1fb._0x36f36e)](/\/$/, '');
|
|
642
|
+
}
|
|
643
|
+
function isMentionBoundary(_0x42e561) {
|
|
644
|
+
return !_0x42e561 || /\s|[([{'",。!?、:;]/['test'](_0x42e561);
|
|
645
|
+
}
|
|
646
|
+
function isMentionTerminal(_0x48ce9b) {
|
|
647
|
+
return !_0x48ce9b || /\s|[)\]}'",。!?、:;,.!?]/['test'](_0x48ce9b);
|
|
648
|
+
}
|
|
649
|
+
function buildMatchableEntries(_0x1bd96a) {
|
|
650
|
+
const _0x364b12 = {
|
|
651
|
+
_0x28e176: 0x1e8,
|
|
652
|
+
_0x5288b2: 0x162,
|
|
653
|
+
_0x5d7a40: 0x162
|
|
654
|
+
}, _0x3be34d = _0x11a45e, _0x2ef336 = [];
|
|
655
|
+
for (const _0x266ccc of [
|
|
656
|
+
..._0x1bd96a['agents'],
|
|
657
|
+
..._0x1bd96a['humans']
|
|
658
|
+
]) {
|
|
659
|
+
_0x2ef336['push']({
|
|
660
|
+
'matchName': _0x266ccc[_0x3be34d(_0x364b12._0x28e176)],
|
|
661
|
+
'matchNameLower': _0x266ccc[_0x3be34d(0x1e8)][_0x3be34d(_0x364b12._0x5288b2)](),
|
|
662
|
+
'participantId': _0x266ccc['id']
|
|
663
|
+
}), _0x266ccc['id'] !== _0x266ccc[_0x3be34d(_0x364b12._0x28e176)] && _0x2ef336[_0x3be34d(0x136)]({
|
|
664
|
+
'matchName': _0x266ccc['id'],
|
|
665
|
+
'matchNameLower': _0x266ccc['id'][_0x3be34d(_0x364b12._0x5d7a40)](),
|
|
666
|
+
'participantId': _0x266ccc['id']
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
return _0x2ef336;
|
|
670
|
+
}
|
|
671
|
+
function extractMentionedParticipantIds(_0x187bfa, _0x5e410a) {
|
|
672
|
+
const _0x2a43e2 = {
|
|
673
|
+
_0x45edc2: 0x1b0,
|
|
674
|
+
_0x39154e: 0x78,
|
|
675
|
+
_0x4fc024: 0x136,
|
|
676
|
+
_0x2689b9: 0x10b
|
|
677
|
+
}, _0xecaaed = {
|
|
678
|
+
_0x5c053b: 0x167,
|
|
679
|
+
_0x5e56d1: 0x135
|
|
680
|
+
}, _0x2d7e46 = _0x11a45e, _0x68ec45 = buildMatchableEntries(_0x5e410a)[_0x2d7e46(_0x2a43e2._0x45edc2)]((_0x16269c, _0x31d063) => _0x31d063[_0x2d7e46(0x135)][_0x2d7e46(0x78)] - _0x16269c[_0x2d7e46(0x135)][_0x2d7e46(0x78)]), _0x22c268 = [], _0x1cc8e2 = new Set();
|
|
681
|
+
for (let _0x2acced = 0x0; _0x2acced < _0x187bfa[_0x2d7e46(_0x2a43e2._0x39154e)]; _0x2acced += 0x1) {
|
|
682
|
+
if (_0x187bfa[_0x2acced] !== '@' || !isMentionBoundary(_0x187bfa[_0x2acced - 0x1]))
|
|
683
|
+
continue;
|
|
684
|
+
const _0x1f942a = _0x187bfa[_0x2d7e46(0x1a6)](_0x2acced + 0x1), _0x4d9d9f = _0x1f942a[_0x2d7e46(0x162)](), _0xaacb7b = _0x68ec45['find'](_0xcaa7db => {
|
|
685
|
+
const _0x2b9c8a = _0x2d7e46;
|
|
686
|
+
if (!_0x4d9d9f[_0x2b9c8a(0x180)](_0xcaa7db[_0x2b9c8a(_0xecaaed._0x5c053b)]))
|
|
687
|
+
return ![];
|
|
688
|
+
return isMentionTerminal(_0x1f942a[_0xcaa7db[_0x2b9c8a(_0xecaaed._0x5e56d1)]['length']]);
|
|
689
|
+
});
|
|
690
|
+
if (!_0xaacb7b || _0x1cc8e2[_0x2d7e46(0x120)](_0xaacb7b[_0x2d7e46(0x10b)]))
|
|
691
|
+
continue;
|
|
692
|
+
_0x1cc8e2['add'](_0xaacb7b['participantId']), _0x22c268[_0x2d7e46(_0x2a43e2._0x4fc024)](_0xaacb7b[_0x2d7e46(_0x2a43e2._0x2689b9)]), _0x2acced += _0xaacb7b[_0x2d7e46(0x135)][_0x2d7e46(0x78)];
|
|
693
|
+
}
|
|
694
|
+
return _0x22c268;
|
|
695
|
+
}
|
|
696
|
+
var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
|
|
697
|
+
function anySignal(..._0x3e7f67) {
|
|
698
|
+
const _0x502a0b = {
|
|
699
|
+
_0x59c646: 0x11a,
|
|
700
|
+
_0x28853b: 0x134
|
|
701
|
+
}, _0x359011 = _0x11a45e, _0x3065ac = new AbortController();
|
|
702
|
+
for (const _0xe07cf4 of _0x3e7f67) {
|
|
703
|
+
if (_0xe07cf4['aborted'])
|
|
704
|
+
return _0x3065ac[_0x359011(0xbd)](_0xe07cf4['reason']), _0x3065ac['signal'];
|
|
705
|
+
_0xe07cf4[_0x359011(_0x502a0b._0x59c646)](_0x359011(0xbd), () => _0x3065ac[_0x359011(0xbd)](_0xe07cf4['reason']), {
|
|
706
|
+
'once': !![],
|
|
707
|
+
'signal': _0x3065ac[_0x359011(0x134)]
|
|
708
|
+
});
|
|
709
|
+
}
|
|
710
|
+
return _0x3065ac[_0x359011(_0x502a0b._0x28853b)];
|
|
711
|
+
}
|
|
712
|
+
function createInternalAgentClient(_0x2d61d) {
|
|
713
|
+
const _0x4991be = {
|
|
714
|
+
_0xe84182: 0x75,
|
|
715
|
+
_0x1be1e5: 0x75,
|
|
716
|
+
_0x570ea5: 0x165,
|
|
717
|
+
_0x230816: 0xd0,
|
|
718
|
+
_0x81b948: 0x13b
|
|
719
|
+
}, _0x3811b3 = {
|
|
720
|
+
_0x59d34b: 0x14d,
|
|
721
|
+
_0x25c01c: 0xbf,
|
|
722
|
+
_0x3cef49: 0x121,
|
|
723
|
+
_0x2e1914: 0x121,
|
|
724
|
+
_0x5e05d0: 0x91,
|
|
725
|
+
_0x380085: 0x6d,
|
|
726
|
+
_0x3021bd: 0x16a,
|
|
727
|
+
_0x171d9e: 0xcd,
|
|
728
|
+
_0x1d0c54: 0x6d,
|
|
729
|
+
_0x13545a: 0x8c,
|
|
730
|
+
_0x540154: 0x11b,
|
|
731
|
+
_0x5ca790: 0x106,
|
|
732
|
+
_0x3c2314: 0x138,
|
|
733
|
+
_0x5a115a: 0x1e8,
|
|
734
|
+
_0x119c55: 0x130,
|
|
735
|
+
_0x10df3d: 0x144,
|
|
736
|
+
_0x1f6d24: 0x17a,
|
|
737
|
+
_0xfa0b79: 0x136,
|
|
738
|
+
_0x89e986: 0x1ef,
|
|
739
|
+
_0x5146db: 0x1b3,
|
|
740
|
+
_0x4f69a3: 0x15d,
|
|
741
|
+
_0x367d26: 0x98,
|
|
742
|
+
_0x36846a: 0x97,
|
|
743
|
+
_0x2097dd: 0x97,
|
|
744
|
+
_0x3dc14c: 0xa9
|
|
745
|
+
}, _0x3a8b76 = {
|
|
746
|
+
_0x2f0883: 0x129,
|
|
747
|
+
_0x22d7d2: 0x1aa,
|
|
748
|
+
_0x38acaa: 0x120
|
|
749
|
+
}, _0x181661 = { _0x113ddf: 0x1aa }, _0x21c65f = {
|
|
750
|
+
_0x2318a6: 0x182,
|
|
751
|
+
_0x4dc413: 0x182,
|
|
752
|
+
_0x222883: 0x14a,
|
|
753
|
+
_0x46dbd7: 0x12d,
|
|
754
|
+
_0x50c7bb: 0xb6,
|
|
755
|
+
_0x5e0228: 0xfd,
|
|
756
|
+
_0x292d57: 0xf5,
|
|
757
|
+
_0x460ba3: 0x198
|
|
758
|
+
}, _0x857809 = {
|
|
759
|
+
_0x37dbba: 0x91,
|
|
760
|
+
_0x30678e: 0x1e4,
|
|
761
|
+
_0x165b7a: 0x1ec,
|
|
762
|
+
_0x54d2a5: 0x17f,
|
|
763
|
+
_0x5218b8: 0x1e1,
|
|
764
|
+
_0x52918b: 0x8b,
|
|
765
|
+
_0x137daa: 0x12d,
|
|
766
|
+
_0x2321a2: 0x11c,
|
|
767
|
+
_0x3eb755: 0xf9,
|
|
768
|
+
_0x4e1a0a: 0x19a,
|
|
769
|
+
_0x3b034d: 0x198
|
|
770
|
+
}, _0x4d137c = { _0x2d41ae: 0x10d }, _0x531142 = {
|
|
771
|
+
_0x4f437d: 0x14d,
|
|
772
|
+
_0x254534: 0xf9
|
|
773
|
+
}, _0x3232d0 = {
|
|
774
|
+
_0x2c10a2: 0x1ec,
|
|
775
|
+
_0x19a0db: 0xf9
|
|
776
|
+
}, _0x119907 = {
|
|
777
|
+
_0x14f105: 0x14d,
|
|
778
|
+
_0x4e3554: 0x1e1,
|
|
779
|
+
_0x463d9f: 0xef
|
|
780
|
+
}, _0x560933 = {
|
|
781
|
+
_0x1cbd0c: 0x13c,
|
|
782
|
+
_0x14ff4e: 0x14a,
|
|
783
|
+
_0x197479: 0xa1,
|
|
784
|
+
_0x187e01: 0xa3
|
|
785
|
+
}, _0x5b2bbd = {
|
|
786
|
+
_0x285035: 0xa8,
|
|
787
|
+
_0xd13873: 0x14a
|
|
788
|
+
}, _0x45f48e = {
|
|
789
|
+
_0x52ba67: 0x126,
|
|
790
|
+
_0xc0d9fb: 0xf9,
|
|
791
|
+
_0x5489f1: 0x19a,
|
|
792
|
+
_0x15c5af: 0xdf
|
|
793
|
+
}, _0x124125 = { _0x1d201d: 0x17b }, _0x5eab25 = { _0x3ceebb: 0x19a }, _0x333481 = {
|
|
794
|
+
_0x10dc80: 0x115,
|
|
795
|
+
_0x19a9e4: 0x1ef,
|
|
796
|
+
_0x52d817: 0x1ec,
|
|
797
|
+
_0x4511ff: 0x14d,
|
|
798
|
+
_0x4ded13: 0xc0,
|
|
799
|
+
_0x2e2a38: 0x1e1,
|
|
800
|
+
_0x31180d: 0x1aa,
|
|
801
|
+
_0x21f2e6: 0x78,
|
|
802
|
+
_0x1f1008: 0x1a4,
|
|
803
|
+
_0x448f4c: 0x19a
|
|
804
|
+
}, _0x2c871d = {
|
|
805
|
+
_0x1617b7: 0x152,
|
|
806
|
+
_0x1f9a0f: 0xcc,
|
|
807
|
+
_0x5e47c7: 0x91,
|
|
808
|
+
_0x52916a: 0x106,
|
|
809
|
+
_0x3a384e: 0x1aa,
|
|
810
|
+
_0x3dbfbd: 0x106,
|
|
811
|
+
_0x4b422b: 0x1bc,
|
|
812
|
+
_0x27c9b1: 0x11e,
|
|
813
|
+
_0x1369f9: 0x186,
|
|
814
|
+
_0x12d3a6: 0x1ec,
|
|
815
|
+
_0x5b7880: 0x14d,
|
|
816
|
+
_0x50ce8e: 0xa3
|
|
817
|
+
}, _0x119b28 = {
|
|
818
|
+
_0x1b1958: 0xf3,
|
|
819
|
+
_0xa1d8e3: 0x1e8
|
|
820
|
+
}, _0x1ff513 = {
|
|
821
|
+
_0x2431bc: 0xff,
|
|
822
|
+
_0x32d6cf: 0xf3,
|
|
823
|
+
_0x299d37: 0x10b
|
|
824
|
+
}, _0x79097c = {
|
|
825
|
+
_0x20fece: 0x1b3,
|
|
826
|
+
_0x4cdfd5: 0x1d4,
|
|
827
|
+
_0x510189: 0xcd,
|
|
828
|
+
_0x5d42ac: 0xe0,
|
|
829
|
+
_0x1d20dc: 0x91,
|
|
830
|
+
_0x3d9f0f: 0x91,
|
|
831
|
+
_0xefc6a5: 0x180
|
|
832
|
+
}, _0x37442d = {
|
|
833
|
+
_0x3669f5: 0xcd,
|
|
834
|
+
_0x15ef9b: 0x6d,
|
|
835
|
+
_0x4ec64e: 0x1dd,
|
|
836
|
+
_0x24b2a4: 0x91,
|
|
837
|
+
_0x589ef4: 0x91
|
|
838
|
+
}, _0x1310e7 = {
|
|
839
|
+
_0x3411c3: 0x184,
|
|
840
|
+
_0x1962f9: 0x82,
|
|
841
|
+
_0x5d4589: 0x8e
|
|
842
|
+
}, _0x515b7f = {
|
|
843
|
+
_0x47b0a7: 0x1ec,
|
|
844
|
+
_0x5191bf: 0x14d,
|
|
845
|
+
_0x4cd143: 0x1e1,
|
|
846
|
+
_0x4557c1: 0xf9,
|
|
847
|
+
_0x34f735: 0x1dd,
|
|
848
|
+
_0x34ac2d: 0x19a,
|
|
849
|
+
_0x292e53: 0x91,
|
|
850
|
+
_0xdf7995: 0xcd
|
|
851
|
+
}, _0x283c3c = { _0x21d8c7: 0x76 }, _0x2bab8c = { _0x5ce8fa: 0x1e1 }, _0x3f02ab = {
|
|
852
|
+
_0x357417: 0x134,
|
|
853
|
+
_0x26f3df: 0x14a
|
|
854
|
+
}, _0x1d9ef9 = {
|
|
855
|
+
_0x48f1b3: 0x134,
|
|
856
|
+
_0x1289ad: 0x134,
|
|
857
|
+
_0x571115: 0x147,
|
|
858
|
+
_0x6d9f5a: 0x17c
|
|
859
|
+
}, _0x590811 = {
|
|
860
|
+
_0x15ed49: 0xa9,
|
|
861
|
+
_0x22eb06: 0xd0,
|
|
862
|
+
_0x449901: 0x1c0,
|
|
863
|
+
_0x5c6f9f: 0x7c,
|
|
864
|
+
_0x13ab8d: 0x80,
|
|
865
|
+
_0x323649: 0x106
|
|
866
|
+
}, _0x16347e = {
|
|
867
|
+
_0x1a349f: 0xf5,
|
|
868
|
+
_0xdcd427: 0xa1,
|
|
869
|
+
_0x2fa32c: 0x104,
|
|
870
|
+
_0x59b597: 0xd0
|
|
871
|
+
}, _0x2a9de7 = {
|
|
872
|
+
_0x49dd3c: 0x138,
|
|
873
|
+
_0x9db187: 0xd0,
|
|
874
|
+
_0x308f0c: 0x1e0,
|
|
875
|
+
_0x5e8fdd: 0xb7
|
|
876
|
+
}, _0x350fad = _0x11a45e, _0x57fdb4 = _0x2d61d[_0x350fad(0x1b5)] ?? fetch, _0x36fcd1 = _0x2d61d['fetchTimeoutMs'] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x1a4f43 = typeof _0x2d61d[_0x350fad(_0x4991be._0xe84182)] === 'number' && _0x2d61d[_0x350fad(_0x4991be._0x1be1e5)] > 0x0 ? _0x2d61d[_0x350fad(_0x4991be._0xe84182)] : 0x0, _0x4c4eb0 = _0x2d61d[_0x350fad(_0x4991be._0x570ea5)]?.['trim']() || void 0x0, _0x33bae2 = _0x2d61d[_0x350fad(0x1c6)]?.[_0x350fad(_0x4991be._0x230816)]() || void 0x0, _0x5f3585 = _0x2d61d[_0x350fad(0xcf)] === !![], _0x3ec2fb = _0x2d61d['workerSessionId']?.['trim']() || void 0x0, _0x1c82b0 = _0x2d61d[_0x350fad(0x105)]?.['trim']() || void 0x0, _0x5538b3 = createHeaders(_0x2d61d[_0x350fad(0xad)]), _0x273846 = toHttpBaseUrl(_0x2d61d[_0x350fad(_0x4991be._0x81b948)]);
|
|
877
|
+
let _0x3d302f = null;
|
|
878
|
+
const _0x469458 = new Map();
|
|
879
|
+
let _0x1ba400 = _0x1a4f43, _0x1d552c = _0x1a4f43;
|
|
880
|
+
function _0x7707ce(_0x5c7b7a) {
|
|
881
|
+
const _0x241e5a = _0x350fad, _0x1c15a7 = _0x5c7b7a['response'][_0x241e5a(0x1e7)][_0x241e5a(_0x2a9de7._0x49dd3c)]('content-type') ?? _0x241e5a(0xb1), _0x1a2724 = _0x5c7b7a[_0x241e5a(0x143)][_0x241e5a(_0x2a9de7._0x9db187)]()[_0x241e5a(0x12f)](/\s+/g, '\x20')[_0x241e5a(0x1a6)](0x0, 0x78) || _0x241e5a(_0x2a9de7._0x308f0c);
|
|
882
|
+
return _0x241e5a(0x1ea) + _0x5c7b7a[_0x241e5a(0x1d7)] + _0x241e5a(0x6e) + _0x5c7b7a[_0x241e5a(_0x2a9de7._0x5e8fdd)]['status'] + _0x241e5a(0x176) + _0x1c15a7 + _0x241e5a(0x12b) + _0x1a2724 + _0x241e5a(0xc8);
|
|
883
|
+
}
|
|
884
|
+
async function _0x3359c5(_0x258ea5, _0x6eace4) {
|
|
885
|
+
const _0x570bed = _0x350fad, _0x2ea431 = Buffer[_0x570bed(0xfd)](await _0x6eace4[_0x570bed(_0x16347e._0x1a349f)]())[_0x570bed(_0x16347e._0xdcd427)](_0x570bed(_0x16347e._0x2fa32c));
|
|
886
|
+
if (!_0x2ea431[_0x570bed(_0x16347e._0x59b597)]())
|
|
887
|
+
return {};
|
|
888
|
+
try {
|
|
889
|
+
return JSON[_0x570bed(0xc3)](_0x2ea431);
|
|
890
|
+
} catch {
|
|
891
|
+
throw new Error(_0x7707ce({
|
|
892
|
+
'bodyText': _0x2ea431,
|
|
893
|
+
'requestUrl': _0x258ea5,
|
|
894
|
+
'response': _0x6eace4
|
|
895
|
+
}));
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
function _0x667ea7(_0x4e270a, _0x31e9c1) {
|
|
899
|
+
const _0x3245f6 = _0x350fad, _0x2b1c4b = typeof _0x31e9c1[_0x3245f6(0xe8)] === _0x3245f6(_0x590811._0x15ed49) ? _0x31e9c1['idempotency_key'][_0x3245f6(_0x590811._0x22eb06)]() : '';
|
|
900
|
+
if (_0x2b1c4b)
|
|
901
|
+
return _0x2b1c4b;
|
|
902
|
+
const _0x34b65f = Date[_0x3245f6(_0x590811._0x449901)]();
|
|
903
|
+
for (const [_0x2ca832, _0x1a6744] of _0x469458) {
|
|
904
|
+
_0x1a6744[_0x3245f6(0x1bb)] <= _0x34b65f && _0x469458[_0x3245f6(_0x590811._0x5c6f9f)](_0x2ca832);
|
|
905
|
+
}
|
|
906
|
+
const _0x590511 = {
|
|
907
|
+
..._0x31e9c1,
|
|
908
|
+
'idempotency_key': void 0x0
|
|
909
|
+
}, _0x2800ee = createHash(_0x3245f6(0x13a))[_0x3245f6(0x149)](_0x4e270a + ':' + stableStringify(_0x590511))['digest']('hex'), _0x179724 = _0x4e270a + ':' + _0x2800ee, _0x18abca = _0x469458[_0x3245f6(0x138)](_0x179724);
|
|
910
|
+
if (_0x18abca)
|
|
911
|
+
return _0x18abca[_0x3245f6(_0x590811._0x13ab8d)];
|
|
912
|
+
const _0xad0fc4 = _0x3245f6(0x196) + _0x4e270a + ':' + randomUUID();
|
|
913
|
+
return _0x469458[_0x3245f6(_0x590811._0x323649)](_0x179724, {
|
|
914
|
+
'expiresAt': _0x34b65f + 0x5 * 0x3c * 0x3e8,
|
|
915
|
+
'value': _0xad0fc4
|
|
916
|
+
}), _0xad0fc4;
|
|
917
|
+
}
|
|
918
|
+
async function _0xf753d2(_0x284fe5, _0x1fb7c1) {
|
|
919
|
+
const _0x8fadd0 = _0x350fad, _0x36d18b = new AbortController(), _0x2699e3 = setTimeout(() => _0x36d18b['abort'](), _0x36fcd1), _0x1bb990 = _0x1fb7c1?.[_0x8fadd0(0x134)] ? anySignal(_0x1fb7c1[_0x8fadd0(0x134)], _0x36d18b[_0x8fadd0(_0x1d9ef9._0x48f1b3)]) : _0x36d18b[_0x8fadd0(_0x1d9ef9._0x1289ad)], _0x152cb5 = '' + _0x273846 + _0x284fe5;
|
|
920
|
+
try {
|
|
921
|
+
const _0x3ce121 = await _0x57fdb4(_0x152cb5, {
|
|
922
|
+
..._0x1fb7c1,
|
|
923
|
+
'signal': _0x1bb990
|
|
924
|
+
}), _0x279393 = await _0x3359c5(_0x152cb5, _0x3ce121);
|
|
925
|
+
if (!_0x3ce121['ok'] || _0x279393[_0x8fadd0(_0x1d9ef9._0x571115)] === ![])
|
|
926
|
+
throw new Error(asErrorMessage(_0x279393[_0x8fadd0(_0x1d9ef9._0x6d9f5a)], 'HTTP\x20' + _0x3ce121['status']));
|
|
927
|
+
return _0x279393;
|
|
928
|
+
} finally {
|
|
929
|
+
clearTimeout(_0x2699e3);
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
async function _0x143a96(_0x44f5ba, _0x36c6dd) {
|
|
933
|
+
const _0x5e1269 = _0x350fad, _0x2da525 = new AbortController(), _0x5ae105 = setTimeout(() => _0x2da525[_0x5e1269(0xbd)](), _0x36fcd1), _0x584035 = _0x36c6dd?.[_0x5e1269(0x134)] ? anySignal(_0x36c6dd[_0x5e1269(0x134)], _0x2da525[_0x5e1269(_0x3f02ab._0x357417)]) : _0x2da525[_0x5e1269(_0x3f02ab._0x357417)], _0x5dcf73 = '' + _0x273846 + _0x44f5ba;
|
|
934
|
+
try {
|
|
935
|
+
const _0x3364a6 = await _0x57fdb4(_0x5dcf73, {
|
|
936
|
+
..._0x36c6dd,
|
|
937
|
+
'signal': _0x584035
|
|
938
|
+
}), _0x1dd33e = await _0x3359c5(_0x5dcf73, _0x3364a6);
|
|
939
|
+
if (!_0x3364a6['ok'])
|
|
940
|
+
throw new Error(asErrorMessage(_0x1dd33e[_0x5e1269(0x17c)], _0x5e1269(0x166) + _0x3364a6[_0x5e1269(_0x3f02ab._0x26f3df)]));
|
|
941
|
+
return _0x1dd33e;
|
|
942
|
+
} finally {
|
|
943
|
+
clearTimeout(_0x5ae105);
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
async function _0x47f052(_0xe1713c) {
|
|
947
|
+
const _0x1e143b = _0x350fad;
|
|
948
|
+
if (!_0x33bae2 || _0xe1713c <= _0x1d552c)
|
|
949
|
+
return;
|
|
950
|
+
await _0xf753d2('/api/agent-sessions/' + encodeURIComponent(_0x33bae2) + _0x1e143b(0x154), {
|
|
951
|
+
'body': JSON[_0x1e143b(_0x2bab8c._0x5ce8fa)]({ 'lastSeenSeq': _0xe1713c }),
|
|
952
|
+
'headers': _0x5538b3,
|
|
953
|
+
'method': _0x1e143b(0x8d)
|
|
954
|
+
}), _0x1d552c = _0xe1713c;
|
|
955
|
+
}
|
|
956
|
+
async function _0x5345dd(_0x1b2c94) {
|
|
957
|
+
const _0x5bfba4 = _0x350fad;
|
|
958
|
+
if (!_0x4c4eb0 || !_0x3ec2fb || _0x1b2c94 <= _0x1d552c)
|
|
959
|
+
return;
|
|
960
|
+
const _0x2895a8 = await _0x57fdb4(_0x4c4eb0 + _0x5bfba4(_0x283c3c._0x21d8c7), {
|
|
961
|
+
'body': JSON['stringify']({
|
|
962
|
+
'last_seen_seq': _0x1b2c94,
|
|
963
|
+
'worker_session_id': _0x3ec2fb
|
|
964
|
+
}),
|
|
965
|
+
'headers': { 'Content-Type': _0x5bfba4(0x1e2) },
|
|
966
|
+
'method': 'POST'
|
|
967
|
+
});
|
|
968
|
+
if (!_0x2895a8['ok'])
|
|
969
|
+
throw new Error(_0x5bfba4(0x166) + _0x2895a8['status']);
|
|
970
|
+
_0x1d552c = _0x1b2c94;
|
|
971
|
+
}
|
|
972
|
+
async function _0x5d2e30(_0x2e8c9e) {
|
|
973
|
+
const _0x5b2bb2 = _0x350fad, _0x2ae029 = parseTarget(_0x2e8c9e), _0x23c896 = await _0xf753d2(_0x5b2bb2(_0x515b7f._0x47b0a7) + _0x2d61d[_0x5b2bb2(_0x515b7f._0x5191bf)] + '/resolve-channel', {
|
|
974
|
+
'body': JSON[_0x5b2bb2(_0x515b7f._0x4cd143)]({ 'target': _0x2ae029['target'] }),
|
|
975
|
+
'headers': _0x5538b3,
|
|
976
|
+
'method': _0x5b2bb2(_0x515b7f._0x4557c1)
|
|
977
|
+
});
|
|
978
|
+
return {
|
|
979
|
+
'channelId': _0x23c896['data']?.[_0x5b2bb2(0x1aa)] ?? '',
|
|
980
|
+
'target': _0x2ae029[_0x5b2bb2(_0x515b7f._0x34f735)],
|
|
981
|
+
'task': _0x23c896[_0x5b2bb2(_0x515b7f._0x34ac2d)]?.[_0x5b2bb2(0x1b9)],
|
|
982
|
+
'threadId': _0x23c896[_0x5b2bb2(0x19a)]?.[_0x5b2bb2(_0x515b7f._0x292e53)],
|
|
983
|
+
'threadNumber': _0x23c896[_0x5b2bb2(0x19a)]?.[_0x5b2bb2(_0x515b7f._0xdf7995)]
|
|
984
|
+
};
|
|
985
|
+
}
|
|
986
|
+
async function _0x3eb5b4(_0x2ae8d4 = {}) {
|
|
987
|
+
const _0x59a265 = {
|
|
988
|
+
_0x363736: 0x191,
|
|
989
|
+
_0x166f59: 0x94,
|
|
990
|
+
_0x5b65d5: 0x195,
|
|
991
|
+
_0x4ace78: 0x94,
|
|
992
|
+
_0x2ae34e: 0x121,
|
|
993
|
+
_0x5b08f1: 0x1e8
|
|
994
|
+
};
|
|
995
|
+
if (!_0x2ae8d4['forceRefresh'] && _0x3d302f)
|
|
996
|
+
return _0x3d302f;
|
|
997
|
+
return _0x3d302f = (async () => {
|
|
998
|
+
const _0x2d65dc = _0xcc9b, _0x1ec0a6 = await _0xf753d2(_0x2d65dc(0x1ec) + _0x2d61d['agentId'] + _0x2d65dc(0xba), {
|
|
999
|
+
'headers': _0x5538b3,
|
|
1000
|
+
'method': 'GET'
|
|
1001
|
+
}), _0x5737ef = _0x1ec0a6['data']?.[_0x2d65dc(_0x59a265._0x363736)] ?? [], _0x165a38 = _0x5737ef[_0x2d65dc(_0x59a265._0x166f59)](_0xde6242 => _0xde6242[_0x2d65dc(0xf3)]?.['type'] === _0x2d65dc(0x82))[_0x2d65dc(_0x59a265._0x5b65d5)](_0x4ae244 => ({
|
|
1002
|
+
'id': _0x25293a(_0x4ae244),
|
|
1003
|
+
'name': _0xcebf33(_0x4ae244)
|
|
1004
|
+
}))['filter'](_0x86d036 => _0x86d036['id']), _0x25414e = _0x5737ef[_0x2d65dc(0x94)](_0x2f63e6 => _0x2f63e6['participant']?.[_0x2d65dc(0x189)] !== _0x2d65dc(0x82))[_0x2d65dc(0x195)](_0x2d4144 => ({
|
|
1005
|
+
'id': _0x25293a(_0x2d4144),
|
|
1006
|
+
'name': _0xcebf33(_0x2d4144)
|
|
1007
|
+
}))[_0x2d65dc(_0x59a265._0x4ace78)](_0xbeb06b => _0xbeb06b['id']), _0x95b902 = _0x1ec0a6['data']?.[_0x2d65dc(0xd2)]['id'] ?? '';
|
|
1008
|
+
return {
|
|
1009
|
+
'agents': _0x165a38,
|
|
1010
|
+
'channels': _0x1ec0a6[_0x2d65dc(0x19a)]?.[_0x2d65dc(_0x59a265._0x2ae34e)] ?? [],
|
|
1011
|
+
'humans': _0x25414e,
|
|
1012
|
+
'serverId': _0x95b902,
|
|
1013
|
+
'serverName': _0x1ec0a6['data']?.[_0x2d65dc(0xd2)][_0x2d65dc(_0x59a265._0x5b08f1)] ?? _0x95b902
|
|
1014
|
+
};
|
|
1015
|
+
})()['catch'](_0x4192cd => {
|
|
1016
|
+
_0x3d302f = null;
|
|
1017
|
+
throw _0x4192cd;
|
|
1018
|
+
}), _0x3d302f;
|
|
1019
|
+
}
|
|
1020
|
+
function _0x131c90(_0x2291ba, _0xf4f4da) {
|
|
1021
|
+
const _0x3428f9 = _0x350fad;
|
|
1022
|
+
return _0xf4f4da[_0x3428f9(_0x1310e7._0x3411c3)][_0x3428f9(0xe7)](_0x50a300 => _0x50a300['id'] === _0x2291ba || _0x50a300['name'] === _0x2291ba) ? _0x3428f9(_0x1310e7._0x1962f9) : _0x3428f9(_0x1310e7._0x5d4589);
|
|
1023
|
+
}
|
|
1024
|
+
function _0x11b16e(_0x17518) {
|
|
1025
|
+
const _0x5ef966 = _0x350fad;
|
|
1026
|
+
if (_0x17518['threadNumber'] != null)
|
|
1027
|
+
return _0x17518['channelTarget'] + ':t' + _0x17518[_0x5ef966(_0x37442d._0x3669f5)];
|
|
1028
|
+
if (_0x17518[_0x5ef966(_0x37442d._0x15ef9b)])
|
|
1029
|
+
return _0x17518[_0x5ef966(_0x37442d._0x4ec64e)] + ':' + _0x17518[_0x5ef966(0x6d)];
|
|
1030
|
+
if (_0x17518[_0x5ef966(_0x37442d._0x24b2a4)])
|
|
1031
|
+
return _0x17518[_0x5ef966(_0x37442d._0x4ec64e)] + ':' + _0x17518[_0x5ef966(_0x37442d._0x589ef4)]['slice'](0x0, 0x8);
|
|
1032
|
+
return _0x17518[_0x5ef966(0x1dd)];
|
|
1033
|
+
}
|
|
1034
|
+
function _0x2e5e27(_0x898951, _0x587cf5) {
|
|
1035
|
+
const _0xd20cad = _0x350fad;
|
|
1036
|
+
try {
|
|
1037
|
+
const _0x516558 = parseTarget(_0x898951);
|
|
1038
|
+
if (_0x516558[_0xd20cad(_0x79097c._0x20fece)] !== _0xd20cad(_0x79097c._0x4cdfd5) || _0x516558[_0xd20cad(0x1dd)] !== _0x587cf5[_0xd20cad(0x1dd)])
|
|
1039
|
+
return ![];
|
|
1040
|
+
if (_0x587cf5['threadNumber'] != null && _0x516558[_0xd20cad(0xe0)] === 't' + _0x587cf5[_0xd20cad(_0x79097c._0x510189)])
|
|
1041
|
+
return !![];
|
|
1042
|
+
if (_0x587cf5[_0xd20cad(0x6d)])
|
|
1043
|
+
return _0x516558[_0xd20cad(_0x79097c._0x5d42ac)] === _0x587cf5['rootMessageId'] || _0x587cf5[_0xd20cad(0x6d)][_0xd20cad(0x180)](_0x516558[_0xd20cad(0xe0)]);
|
|
1044
|
+
if (_0x587cf5[_0xd20cad(_0x79097c._0x1d20dc)])
|
|
1045
|
+
return _0x516558['threadShortId'] === _0x587cf5['threadId'] || _0x587cf5[_0xd20cad(_0x79097c._0x3d9f0f)][_0xd20cad(_0x79097c._0xefc6a5)](_0x516558['threadShortId']);
|
|
1046
|
+
return ![];
|
|
1047
|
+
} catch {
|
|
1048
|
+
return ![];
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
function _0x25293a(_0xe4f56) {
|
|
1052
|
+
const _0x55f56 = _0x350fad;
|
|
1053
|
+
return _0xe4f56[_0x55f56(_0x1ff513._0x2431bc)]?.['participantId'] ?? _0xe4f56[_0x55f56(_0x1ff513._0x32d6cf)]?.['id'] ?? _0xe4f56[_0x55f56(_0x1ff513._0x299d37)] ?? '';
|
|
1054
|
+
}
|
|
1055
|
+
function _0xcebf33(_0x34f176) {
|
|
1056
|
+
const _0x245407 = _0x350fad;
|
|
1057
|
+
return _0x34f176[_0x245407(_0x119b28._0x1b1958)]?.[_0x245407(_0x119b28._0xa1d8e3)] ?? _0x25293a(_0x34f176);
|
|
1058
|
+
}
|
|
1059
|
+
async function _0x4bfcfe(_0x288919) {
|
|
1060
|
+
const _0x25436c = _0x350fad, _0x4db205 = Math[_0x25436c(_0x2c871d._0x1617b7)](_0x288919[_0x25436c(_0x2c871d._0x1f9a0f)] ?? 0x32, 0x64), _0x3c0bab = await _0x3eb5b4(), _0x202d3b = new URLSearchParams();
|
|
1061
|
+
_0x202d3b[_0x25436c(0x106)](_0x25436c(_0x2c871d._0x1f9a0f), String(_0x4db205));
|
|
1062
|
+
_0x288919[_0x25436c(_0x2c871d._0x5e47c7)] ? (_0x202d3b[_0x25436c(_0x2c871d._0x52916a)](_0x25436c(_0x2c871d._0x5e47c7), _0x288919[_0x25436c(0x91)]), _0x202d3b[_0x25436c(0x106)](_0x25436c(_0x2c871d._0x3a384e), _0x288919[_0x25436c(0x1aa)])) : _0x202d3b[_0x25436c(_0x2c871d._0x52916a)](_0x25436c(0x1aa), _0x288919['channelId']);
|
|
1063
|
+
_0x288919[_0x25436c(0x11e)] && _0x202d3b[_0x25436c(_0x2c871d._0x3dbfbd)](_0x25436c(_0x2c871d._0x4b422b), String(_0x288919[_0x25436c(_0x2c871d._0x27c9b1)]));
|
|
1064
|
+
_0x288919[_0x25436c(_0x2c871d._0x1369f9)] !== void 0x0 && _0x202d3b[_0x25436c(_0x2c871d._0x52916a)](_0x25436c(0x186), String(_0x288919[_0x25436c(0x186)]));
|
|
1065
|
+
const _0x1aa970 = await _0xf753d2(_0x25436c(_0x2c871d._0x12d3a6) + _0x2d61d[_0x25436c(_0x2c871d._0x5b7880)] + _0x25436c(0x89) + _0x202d3b['toString'](), {
|
|
1066
|
+
'headers': _0x5538b3,
|
|
1067
|
+
'method': _0x25436c(_0x2c871d._0x50ce8e)
|
|
1068
|
+
}), _0x87efbd = (_0x1aa970[_0x25436c(0x19a)] ?? [])[_0x25436c(0x195)](_0x3fa158 => ({
|
|
1069
|
+
'attachments': (_0x3fa158[_0x25436c(0x169)] ?? [])[_0x25436c(0x195)](_0x5e1d7b => ({
|
|
1070
|
+
'filename': _0x5e1d7b[_0x25436c(0x11c)] ?? _0x5e1d7b['id'],
|
|
1071
|
+
'id': _0x5e1d7b['id']
|
|
1072
|
+
})),
|
|
1073
|
+
'content': _0x3fa158['bodyMarkdown'] ?? '',
|
|
1074
|
+
'createdAt': _0x3fa158[_0x25436c(0xee)],
|
|
1075
|
+
..._0x3fa158[_0x25436c(0x1b3)] && _0x3fa158['kind'] !== _0x25436c(0x163) ? { 'kind': _0x3fa158[_0x25436c(0x1b3)] } : {},
|
|
1076
|
+
'messageId': _0x3fa158['id'],
|
|
1077
|
+
'senderName': _0x3fa158[_0x25436c(0x97)],
|
|
1078
|
+
'senderType': _0x131c90(_0x3fa158['senderParticipantId'], _0x3c0bab),
|
|
1079
|
+
'seq': _0x3fa158[_0x25436c(0x1d0)] ?? 0x0
|
|
1080
|
+
}));
|
|
1081
|
+
return {
|
|
1082
|
+
'channel': _0x288919[_0x25436c(0x1dd)],
|
|
1083
|
+
'hasMore': _0x1aa970[_0x25436c(0xbf)]?.[_0x25436c(0x178)] ?? ![],
|
|
1084
|
+
'messages': _0x87efbd,
|
|
1085
|
+
'nextCursor': _0x1aa970['meta']?.[_0x25436c(0x1bc)]
|
|
1086
|
+
};
|
|
1087
|
+
}
|
|
1088
|
+
return {
|
|
1089
|
+
async 'sendMessage'(_0x11deca) {
|
|
1090
|
+
const _0x34bae0 = _0x350fad, _0x5b594c = await _0x5d2e30(_0x11deca[_0x34bae0(0x8b)]), _0x4266a6 = _0x11deca['content'][_0x34bae0(_0x333481._0x10dc80)]('@') ? extractMentionedParticipantIds(_0x11deca[_0x34bae0(_0x333481._0x19a9e4)], await _0x3eb5b4()) : [], _0x195d0a = await _0xf753d2(_0x34bae0(_0x333481._0x52d817) + _0x2d61d[_0x34bae0(_0x333481._0x4511ff)] + _0x34bae0(_0x333481._0x4ded13), {
|
|
1091
|
+
'body': JSON[_0x34bae0(_0x333481._0x2e2a38)]({
|
|
1092
|
+
'attachment_ids': _0x11deca[_0x34bae0(0xe1)],
|
|
1093
|
+
'bodyMarkdown': _0x11deca[_0x34bae0(0x1ef)],
|
|
1094
|
+
'channelId': _0x5b594c[_0x34bae0(_0x333481._0x31180d)],
|
|
1095
|
+
..._0x4266a6[_0x34bae0(_0x333481._0x21f2e6)] > 0x0 ? { 'mentionedParticipantIds': _0x4266a6 } : {},
|
|
1096
|
+
'threadId': _0x5b594c[_0x34bae0(0x91)],
|
|
1097
|
+
..._0x11deca[_0x34bae0(0x1a4)] ? { 'visibility': _0x11deca[_0x34bae0(_0x333481._0x1f1008)] } : {}
|
|
1098
|
+
}),
|
|
1099
|
+
'headers': _0x5538b3,
|
|
1100
|
+
'method': _0x34bae0(0xf9)
|
|
1101
|
+
});
|
|
1102
|
+
return { 'messageId': _0x195d0a[_0x34bae0(_0x333481._0x448f4c)]?.['id'] ?? '' };
|
|
1103
|
+
},
|
|
1104
|
+
async 'listSchedules'() {
|
|
1105
|
+
const _0x276ce2 = _0x350fad, _0x369dd6 = await _0xf753d2(_0x276ce2(0xb0), {
|
|
1106
|
+
'headers': _0x5538b3,
|
|
1107
|
+
'method': _0x276ce2(0xa3)
|
|
1108
|
+
});
|
|
1109
|
+
return _0x369dd6[_0x276ce2(_0x5eab25._0x3ceebb)] ?? [];
|
|
1110
|
+
},
|
|
1111
|
+
async 'claimScheduleRun'(_0x42c54f) {
|
|
1112
|
+
const _0x49c669 = _0x350fad, _0x1556f6 = await _0xf753d2('/api/internal/schedules/claim', {
|
|
1113
|
+
'body': JSON['stringify'](_0x42c54f),
|
|
1114
|
+
'headers': _0x5538b3,
|
|
1115
|
+
'method': 'POST'
|
|
1116
|
+
});
|
|
1117
|
+
return _0x1556f6[_0x49c669(0x19a)] ?? {
|
|
1118
|
+
'granted': ![],
|
|
1119
|
+
'runId': null,
|
|
1120
|
+
'schedule': null,
|
|
1121
|
+
'scheduledFor': _0x42c54f[_0x49c669(_0x124125._0x1d201d)]
|
|
1122
|
+
};
|
|
1123
|
+
},
|
|
1124
|
+
async 'startScheduleRun'(_0x4aa938) {
|
|
1125
|
+
const _0xa39b6b = _0x350fad, _0x4c5944 = await _0xf753d2(_0xa39b6b(_0x45f48e._0x52ba67) + encodeURIComponent(_0x4aa938[_0xa39b6b(0x1d9)]) + '/start', {
|
|
1126
|
+
'body': JSON[_0xa39b6b(0x1e1)]({}),
|
|
1127
|
+
'headers': _0x5538b3,
|
|
1128
|
+
'method': _0xa39b6b(_0x45f48e._0xc0d9fb)
|
|
1129
|
+
});
|
|
1130
|
+
return _0x4c5944[_0xa39b6b(_0x45f48e._0x5489f1)] ?? {
|
|
1131
|
+
'claimedByDaemonId': '',
|
|
1132
|
+
'id': _0x4aa938['runId'],
|
|
1133
|
+
'scheduleId': '',
|
|
1134
|
+
'status': _0xa39b6b(_0x45f48e._0x15c5af)
|
|
1135
|
+
};
|
|
1136
|
+
},
|
|
1137
|
+
async 'finishScheduleRun'(_0x16012a) {
|
|
1138
|
+
const _0x211c9f = _0x350fad, _0x4711d0 = await _0xf753d2(_0x211c9f(0x126) + encodeURIComponent(_0x16012a[_0x211c9f(0x1d9)]) + _0x211c9f(_0x5b2bbd._0x285035), {
|
|
1139
|
+
'body': JSON[_0x211c9f(0x1e1)]({
|
|
1140
|
+
'error': _0x16012a[_0x211c9f(0x17c)],
|
|
1141
|
+
'resultJson': _0x16012a[_0x211c9f(0x171)],
|
|
1142
|
+
'status': _0x16012a[_0x211c9f(0x14a)]
|
|
1143
|
+
}),
|
|
1144
|
+
'headers': _0x5538b3,
|
|
1145
|
+
'method': 'POST'
|
|
1146
|
+
});
|
|
1147
|
+
return _0x4711d0['data'] ?? {
|
|
1148
|
+
'nextRunAt': null,
|
|
1149
|
+
'run': {
|
|
1150
|
+
'claimedByDaemonId': '',
|
|
1151
|
+
'id': _0x16012a[_0x211c9f(0x1d9)],
|
|
1152
|
+
'scheduleId': '',
|
|
1153
|
+
'status': _0x16012a[_0x211c9f(_0x5b2bbd._0xd13873)]
|
|
1154
|
+
}
|
|
1155
|
+
};
|
|
1156
|
+
},
|
|
1157
|
+
async 'listTasks'(_0x5b769a) {
|
|
1158
|
+
const _0xbbe5c8 = _0x350fad, _0x21feb7 = new URLSearchParams();
|
|
1159
|
+
return _0x21feb7['set'](_0xbbe5c8(_0x560933._0x1cbd0c), _0x5b769a[_0xbbe5c8(_0x560933._0x1cbd0c)]), _0x5b769a[_0xbbe5c8(_0x560933._0x14ff4e)] && _0x21feb7[_0xbbe5c8(0x106)](_0xbbe5c8(0x14a), _0x5b769a[_0xbbe5c8(0x14a)]), _0x143a96(_0xbbe5c8(0x1ec) + _0x2d61d['agentId'] + '/tasks?' + _0x21feb7[_0xbbe5c8(_0x560933._0x197479)](), {
|
|
1160
|
+
'headers': _0x5538b3,
|
|
1161
|
+
'method': _0xbbe5c8(_0x560933._0x187e01)
|
|
1162
|
+
});
|
|
1163
|
+
},
|
|
1164
|
+
async 'createTasks'(_0x4c9ccf) {
|
|
1165
|
+
const _0x265c99 = _0x350fad;
|
|
1166
|
+
return _0x143a96('/internal/agent/' + _0x2d61d[_0x265c99(_0x119907._0x14f105)] + '/tasks', {
|
|
1167
|
+
'body': JSON[_0x265c99(_0x119907._0x4e3554)]({
|
|
1168
|
+
..._0x4c9ccf,
|
|
1169
|
+
'idempotency_key': _0x667ea7(_0x265c99(_0x119907._0x463d9f), _0x4c9ccf)
|
|
1170
|
+
}),
|
|
1171
|
+
'headers': _0x5538b3,
|
|
1172
|
+
'method': _0x265c99(0xf9)
|
|
1173
|
+
});
|
|
1174
|
+
},
|
|
1175
|
+
async 'claimTasks'(_0x2f6d4b) {
|
|
1176
|
+
const _0x41560e = _0x350fad;
|
|
1177
|
+
return _0x143a96(_0x41560e(_0x3232d0._0x2c10a2) + _0x2d61d['agentId'] + '/tasks/claim', {
|
|
1178
|
+
'body': JSON[_0x41560e(0x1e1)]({
|
|
1179
|
+
..._0x2f6d4b,
|
|
1180
|
+
'idempotency_key': _0x667ea7(_0x41560e(0x192), _0x2f6d4b)
|
|
1181
|
+
}),
|
|
1182
|
+
'headers': _0x5538b3,
|
|
1183
|
+
'method': _0x41560e(_0x3232d0._0x19a0db)
|
|
1184
|
+
});
|
|
1185
|
+
},
|
|
1186
|
+
async 'unclaimTask'(_0x58effd) {
|
|
1187
|
+
const _0x397cdb = _0x350fad;
|
|
1188
|
+
return _0x143a96('/internal/agent/' + _0x2d61d[_0x397cdb(_0x531142._0x4f437d)] + '/tasks/unclaim', {
|
|
1189
|
+
'body': JSON[_0x397cdb(0x1e1)]({
|
|
1190
|
+
..._0x58effd,
|
|
1191
|
+
'idempotency_key': _0x667ea7(_0x397cdb(0xfc), _0x58effd)
|
|
1192
|
+
}),
|
|
1193
|
+
'headers': _0x5538b3,
|
|
1194
|
+
'method': _0x397cdb(_0x531142._0x254534)
|
|
1195
|
+
});
|
|
1196
|
+
},
|
|
1197
|
+
async 'updateTaskStatus'(_0x1189b1) {
|
|
1198
|
+
const _0x375b4e = _0x350fad;
|
|
1199
|
+
return _0x143a96('/internal/agent/' + _0x2d61d['agentId'] + _0x375b4e(_0x4d137c._0x2d41ae), {
|
|
1200
|
+
'body': JSON[_0x375b4e(0x1e1)]({
|
|
1201
|
+
..._0x1189b1,
|
|
1202
|
+
'idempotency_key': _0x667ea7('update_task_status', _0x1189b1)
|
|
1203
|
+
}),
|
|
1204
|
+
'headers': _0x5538b3,
|
|
1205
|
+
'method': 'POST'
|
|
1206
|
+
});
|
|
1207
|
+
},
|
|
1208
|
+
async 'uploadFile'(_0x555a8a) {
|
|
1209
|
+
const _0x46f358 = _0x350fad, _0x3f2090 = await _0x5d2e30(_0x555a8a[_0x46f358(0x13c)]);
|
|
1210
|
+
if (_0x3f2090[_0x46f358(_0x857809._0x37dbba)])
|
|
1211
|
+
throw new Error(_0x46f358(_0x857809._0x30678e));
|
|
1212
|
+
const _0x4a0c48 = await _0xf753d2(_0x46f358(_0x857809._0x165b7a) + _0x2d61d[_0x46f358(0x14d)] + _0x46f358(_0x857809._0x54d2a5), {
|
|
1213
|
+
'body': JSON[_0x46f358(_0x857809._0x5218b8)]({
|
|
1214
|
+
'channel': _0x3f2090[_0x46f358(_0x857809._0x52918b)],
|
|
1215
|
+
'contentBase64': _0x555a8a['contentBase64'],
|
|
1216
|
+
'contentType': _0x555a8a[_0x46f358(_0x857809._0x137daa)],
|
|
1217
|
+
'originalFilename': _0x555a8a[_0x46f358(_0x857809._0x2321a2)]
|
|
1218
|
+
}),
|
|
1219
|
+
'headers': _0x5538b3,
|
|
1220
|
+
'method': _0x46f358(_0x857809._0x3eb755)
|
|
1221
|
+
});
|
|
1222
|
+
return {
|
|
1223
|
+
'attachmentId': _0x4a0c48[_0x46f358(0x19a)]?.['id'] ?? '',
|
|
1224
|
+
'filename': _0x4a0c48[_0x46f358(_0x857809._0x4e1a0a)]?.[_0x46f358(_0x857809._0x3b034d)] ?? _0x555a8a[_0x46f358(0x11c)],
|
|
1225
|
+
'sizeBytes': _0x4a0c48[_0x46f358(0x19a)]?.['sizeBytes'] ?? 0x0
|
|
1226
|
+
};
|
|
1227
|
+
},
|
|
1228
|
+
async 'downloadAttachment'(_0x4b32c4) {
|
|
1229
|
+
const _0x371f91 = _0x350fad, _0x37472c = await _0xf753d2(_0x371f91(_0x21c65f._0x2318a6) + _0x4b32c4, {
|
|
1230
|
+
'headers': _0x5538b3,
|
|
1231
|
+
'method': _0x371f91(0xa3)
|
|
1232
|
+
}), _0x5844b4 = new AbortController(), _0x98e7e7 = setTimeout(() => _0x5844b4[_0x371f91(0xbd)](), _0x36fcd1);
|
|
1233
|
+
try {
|
|
1234
|
+
const _0x12add8 = await _0x57fdb4(_0x273846 + _0x371f91(_0x21c65f._0x4dc413) + _0x4b32c4 + _0x371f91(0x13e), {
|
|
1235
|
+
'headers': _0x5538b3,
|
|
1236
|
+
'method': 'GET',
|
|
1237
|
+
'signal': _0x5844b4[_0x371f91(0x134)]
|
|
1238
|
+
});
|
|
1239
|
+
if (!_0x12add8['ok'])
|
|
1240
|
+
throw new Error('HTTP\x20' + _0x12add8[_0x371f91(_0x21c65f._0x222883)]);
|
|
1241
|
+
return {
|
|
1242
|
+
'contentType': _0x37472c['data']?.[_0x371f91(_0x21c65f._0x46dbd7)] ?? _0x12add8['headers'][_0x371f91(0x138)](_0x371f91(0xa0)) ?? _0x371f91(_0x21c65f._0x50c7bb),
|
|
1243
|
+
'data': Buffer[_0x371f91(_0x21c65f._0x5e0228)](await _0x12add8[_0x371f91(_0x21c65f._0x292d57)]()),
|
|
1244
|
+
'originalFilename': _0x37472c['data']?.[_0x371f91(_0x21c65f._0x460ba3)]
|
|
1245
|
+
};
|
|
1246
|
+
} finally {
|
|
1247
|
+
clearTimeout(_0x98e7e7);
|
|
1248
|
+
}
|
|
1249
|
+
},
|
|
1250
|
+
async 'listServer'() {
|
|
1251
|
+
return _0x3eb5b4({ 'forceRefresh': !![] });
|
|
1252
|
+
},
|
|
1253
|
+
async 'readHistory'(_0x3b4b93) {
|
|
1254
|
+
const _0x11f9b3 = _0x350fad, _0x3db5e1 = await _0x5d2e30(_0x3b4b93['channel']);
|
|
1255
|
+
return _0x4bfcfe({
|
|
1256
|
+
'after': _0x3b4b93['after'],
|
|
1257
|
+
'before': _0x3b4b93['before'],
|
|
1258
|
+
'channelId': _0x3db5e1[_0x11f9b3(_0x181661._0x113ddf)],
|
|
1259
|
+
'channelTarget': _0x3db5e1[_0x11f9b3(0x8b)],
|
|
1260
|
+
'limit': _0x3b4b93[_0x11f9b3(0xcc)],
|
|
1261
|
+
'threadId': _0x3db5e1[_0x11f9b3(0x91)]
|
|
1262
|
+
});
|
|
1263
|
+
},
|
|
1264
|
+
'resolveTarget': _0x5d2e30,
|
|
1265
|
+
async 'checkMessages'() {
|
|
1266
|
+
const _0x14f231 = _0x350fad, _0x5403f9 = new URLSearchParams();
|
|
1267
|
+
_0x5403f9[_0x14f231(0x106)](_0x14f231(0x109), String(_0x1ba400));
|
|
1268
|
+
const _0x44bf30 = _0x5403f9['toString'](), _0x36e2ce = await _0xf753d2('/internal/agent/' + _0x2d61d[_0x14f231(_0x3811b3._0x59d34b)] + _0x14f231(0xe5) + (_0x44bf30 ? '?' + _0x44bf30 : ''), {
|
|
1269
|
+
'headers': _0x5538b3,
|
|
1270
|
+
'method': 'GET'
|
|
1271
|
+
}), _0x1bf6f3 = _0x36e2ce['data'] ?? [], _0x20ba8e = _0x36e2ce[_0x14f231(_0x3811b3._0x25c01c)]?.[_0x14f231(0x1bc)], _0x8539a1 = _0x20ba8e !== void 0x0 ? Math[_0x14f231(0x130)](_0x1ba400, _0x20ba8e) : _0x1bf6f3[_0x14f231(0x78)] > 0x0 ? Math[_0x14f231(0x130)](_0x1ba400, _0x1bf6f3[_0x1bf6f3[_0x14f231(0x78)] - 0x1]['seq']) : _0x1ba400, _0x1b5203 = _0x1bf6f3['filter'](_0x1106a1 => _0x1106a1[_0x14f231(0x156)] === 'message'), _0x300c83 = _0x1c82b0 === void 0x0 && _0x5f3585;
|
|
1272
|
+
let _0x38130b = await _0x3eb5b4(), _0x313b4a = new Map(_0x38130b[_0x14f231(_0x3811b3._0x3cef49)]['map'](_0x19ca46 => [
|
|
1273
|
+
_0x19ca46['id'],
|
|
1274
|
+
_0x19ca46
|
|
1275
|
+
]));
|
|
1276
|
+
const _0x227ceb = _0x1b5203[_0x14f231(0xe7)](_0x42c956 => {
|
|
1277
|
+
const _0x23c960 = _0x14f231, _0x46c160 = asRecord(_0x42c956[_0x23c960(_0x3a8b76._0x2f0883)]), _0x5ccfa1 = typeof _0x46c160?.[_0x23c960(_0x3a8b76._0x22d7d2)] === _0x23c960(0xa9) ? _0x46c160[_0x23c960(0x1aa)] : '';
|
|
1278
|
+
return Boolean(_0x5ccfa1) && !_0x313b4a[_0x23c960(_0x3a8b76._0x38acaa)](_0x5ccfa1);
|
|
1279
|
+
});
|
|
1280
|
+
_0x227ceb && (_0x38130b = await _0x3eb5b4({ 'forceRefresh': !![] }), _0x313b4a = new Map(_0x38130b[_0x14f231(_0x3811b3._0x2e1914)]['map'](_0x16150d => [
|
|
1281
|
+
_0x16150d['id'],
|
|
1282
|
+
_0x16150d
|
|
1283
|
+
])));
|
|
1284
|
+
const _0x132dea = new Map();
|
|
1285
|
+
for (const _0x5e4dd3 of _0x1b5203) {
|
|
1286
|
+
const _0x57d479 = asRecord(_0x5e4dd3['payloadJson']), _0x476cdc = typeof _0x57d479['channelId'] === 'string' ? _0x57d479['channelId'] : '';
|
|
1287
|
+
if (!_0x476cdc)
|
|
1288
|
+
continue;
|
|
1289
|
+
const _0x50249b = typeof _0x57d479['threadId'] === _0x14f231(0xa9) ? _0x57d479[_0x14f231(_0x3811b3._0x5e05d0)] : void 0x0, _0x4011b2 = typeof _0x57d479[_0x14f231(_0x3811b3._0x380085)] === _0x14f231(0xa9) ? _0x57d479['rootMessageId'] : void 0x0, _0x114122 = typeof _0x57d479[_0x14f231(0xcd)] === _0x14f231(0x88) && Number['isInteger'](_0x57d479[_0x14f231(0xcd)]) ? _0x57d479[_0x14f231(0xcd)] : void 0x0, _0x530679 = Boolean(_0x50249b && (!_0x4011b2 || _0x5e4dd3[_0x14f231(_0x3811b3._0x3021bd)] !== _0x4011b2)), _0x2b5cca = _0x530679 ? _0x476cdc + ':' + _0x50249b : _0x476cdc, _0x136976 = _0x132dea[_0x14f231(0x138)](_0x2b5cca) ?? {
|
|
1290
|
+
'aggregateIds': [],
|
|
1291
|
+
'channelId': _0x476cdc,
|
|
1292
|
+
'entries': new Map(),
|
|
1293
|
+
'isThreadReply': _0x530679,
|
|
1294
|
+
'rootMessageId': _0x4011b2,
|
|
1295
|
+
'threadNumber': _0x114122,
|
|
1296
|
+
'threadId': _0x530679 ? _0x50249b : void 0x0
|
|
1297
|
+
};
|
|
1298
|
+
_0x136976[_0x14f231(0xcd)] == null && _0x114122 != null && (_0x136976[_0x14f231(_0x3811b3._0x171d9e)] = _0x114122), !_0x136976[_0x14f231(_0x3811b3._0x1d0c54)] && _0x4011b2 && (_0x136976[_0x14f231(0x6d)] = _0x4011b2), _0x136976[_0x14f231(_0x3811b3._0x13545a)]['push'](_0x5e4dd3[_0x14f231(_0x3811b3._0x3021bd)]), _0x136976[_0x14f231(0x1f1)][_0x14f231(0x106)](_0x5e4dd3[_0x14f231(0x16a)], {
|
|
1299
|
+
'payloadJson': _0x5e4dd3['payloadJson'],
|
|
1300
|
+
'seq': _0x5e4dd3[_0x14f231(_0x3811b3._0x540154)]
|
|
1301
|
+
}), _0x132dea[_0x14f231(_0x3811b3._0x5ca790)](_0x2b5cca, _0x136976);
|
|
1302
|
+
}
|
|
1303
|
+
const _0x22b750 = [];
|
|
1304
|
+
for (const _0x5d8ed6 of _0x132dea[_0x14f231(0x11d)]()) {
|
|
1305
|
+
const {
|
|
1306
|
+
channelId: _0x5db738,
|
|
1307
|
+
threadId: _0x49607c,
|
|
1308
|
+
rootMessageId: _0x53bd76,
|
|
1309
|
+
threadNumber: _0x2c981b,
|
|
1310
|
+
aggregateIds: _0x58f24c,
|
|
1311
|
+
isThreadReply: _0x265e10,
|
|
1312
|
+
entries: _0x1134a8
|
|
1313
|
+
} = _0x5d8ed6, _0x5c29d7 = _0x313b4a[_0x14f231(_0x3811b3._0x3c2314)](_0x5db738), _0x294f0d = _0x5c29d7?.[_0x14f231(_0x3811b3._0x5a115a)] ?? _0x5db738, _0x3c964d = _0x5c29d7?.['kind'] === 'dm' ? _0x14f231(0x84) + _0x294f0d : '#' + _0x294f0d, _0x45baa8 = {
|
|
1314
|
+
'channelTarget': _0x3c964d,
|
|
1315
|
+
'rootMessageId': _0x53bd76,
|
|
1316
|
+
'threadId': _0x49607c,
|
|
1317
|
+
'threadNumber': _0x2c981b
|
|
1318
|
+
}, _0x583580 = await _0x4bfcfe({
|
|
1319
|
+
'channelId': _0x5db738,
|
|
1320
|
+
'channelTarget': _0x3c964d,
|
|
1321
|
+
'limit': Math[_0x14f231(_0x3811b3._0x119c55)](_0x58f24c['length'], 0x32),
|
|
1322
|
+
'threadId': _0x49607c
|
|
1323
|
+
}), _0x3250a2 = new Map(_0x583580[_0x14f231(_0x3811b3._0x10df3d)]['map'](_0x5c7092 => [
|
|
1324
|
+
_0x5c7092[_0x14f231(0x15d)],
|
|
1325
|
+
_0x5c7092
|
|
1326
|
+
])), _0x1b4b72 = _0x49607c ? _0x11b16e(_0x45baa8) : _0x3c964d, _0x5e702f = _0x1c82b0 ? _0x265e10 && _0x2e5e27(_0x1c82b0, _0x45baa8) : !![], _0x94a235 = _0x265e10 ? _0x5e702f && _0x1c82b0 ? _0x1c82b0 : _0x1b4b72 : _0x3c964d;
|
|
1327
|
+
for (const _0x26b05e of _0x58f24c) {
|
|
1328
|
+
if (!_0x5e702f)
|
|
1329
|
+
continue;
|
|
1330
|
+
const _0x59634e = _0x1134a8[_0x14f231(0x138)](_0x26b05e), _0x34b8c4 = _0x59634e ? asRecord(_0x59634e[_0x14f231(0x129)]) : void 0x0, _0x32e724 = _0x34b8c4?.[_0x14f231(0x131)] === _0x14f231(_0x3811b3._0x1f6d24);
|
|
1331
|
+
if (_0x300c83 && _0x32e724)
|
|
1332
|
+
continue;
|
|
1333
|
+
const _0x26f41c = _0x3250a2['get'](_0x26b05e);
|
|
1334
|
+
if (_0x26f41c) {
|
|
1335
|
+
_0x22b750[_0x14f231(_0x3811b3._0xfa0b79)]({
|
|
1336
|
+
'attachments': _0x26f41c['attachments'],
|
|
1337
|
+
'content': _0x26f41c[_0x14f231(_0x3811b3._0x89e986)],
|
|
1338
|
+
'createdAt': _0x26f41c['createdAt'],
|
|
1339
|
+
..._0x26f41c[_0x14f231(0x1b3)] ? { 'kind': _0x26f41c[_0x14f231(_0x3811b3._0x5146db)] } : {},
|
|
1340
|
+
'messageId': _0x26f41c[_0x14f231(_0x3811b3._0x4f69a3)],
|
|
1341
|
+
'senderName': _0x26f41c[_0x14f231(0xa2)],
|
|
1342
|
+
'senderType': _0x26f41c[_0x14f231(_0x3811b3._0x367d26)],
|
|
1343
|
+
'target': _0x94a235,
|
|
1344
|
+
..._0x32e724 ? { 'targetedTask': !![] } : {}
|
|
1345
|
+
});
|
|
1346
|
+
continue;
|
|
1347
|
+
}
|
|
1348
|
+
if (_0x59634e) {
|
|
1349
|
+
const _0x1cf2a8 = typeof _0x34b8c4?.[_0x14f231(_0x3811b3._0x36846a)] === _0x14f231(0xa9) ? _0x34b8c4[_0x14f231(_0x3811b3._0x2097dd)] : '', _0xe3591d = typeof _0x34b8c4?.['bodyMarkdown'] === _0x14f231(_0x3811b3._0x3dc14c) ? _0x34b8c4[_0x14f231(0xf1)] : '', _0x1e53ab = typeof _0x34b8c4?.[_0x14f231(0x1b3)] === _0x14f231(0xa9) && _0x34b8c4[_0x14f231(0x1b3)] !== _0x14f231(0x163) ? _0x34b8c4['kind'] : void 0x0;
|
|
1350
|
+
_0x1cf2a8 && _0xe3591d && _0x22b750[_0x14f231(_0x3811b3._0xfa0b79)]({
|
|
1351
|
+
'attachments': [],
|
|
1352
|
+
'content': _0xe3591d,
|
|
1353
|
+
'createdAt': new Date()['toISOString'](),
|
|
1354
|
+
..._0x1e53ab ? { 'kind': _0x1e53ab } : {},
|
|
1355
|
+
'messageId': _0x26b05e,
|
|
1356
|
+
'senderName': _0x1cf2a8,
|
|
1357
|
+
'senderType': _0x131c90(_0x1cf2a8, _0x38130b),
|
|
1358
|
+
'target': _0x94a235,
|
|
1359
|
+
..._0x32e724 ? { 'targetedTask': !![] } : {}
|
|
1360
|
+
});
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
if (_0x8539a1 > 0x0) {
|
|
1365
|
+
if (_0x33bae2)
|
|
1366
|
+
await _0x47f052(_0x8539a1);
|
|
1367
|
+
else
|
|
1368
|
+
_0x3ec2fb && await _0x5345dd(_0x8539a1);
|
|
1369
|
+
}
|
|
1370
|
+
return _0x8539a1 > _0x1ba400 && (_0x1ba400 = _0x8539a1), { 'messages': _0x1c82b0 ? _0x22b750 : _0x300c83 ? _0x22b750[_0x14f231(0x94)](_0x1dbec1 => _0x1dbec1[_0x14f231(0xdd)] !== !![]) : _0x22b750 };
|
|
1371
|
+
}
|
|
1407
1372
|
};
|
|
1408
|
-
return _0x4cbf();
|
|
1409
1373
|
}
|
|
1410
|
-
function
|
|
1411
|
-
const
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1374
|
+
function toLocalTime(_0x1e2d72) {
|
|
1375
|
+
const _0x176be7 = {
|
|
1376
|
+
_0x3b9b5c: 0x197,
|
|
1377
|
+
_0x1385d0: 0x157
|
|
1378
|
+
}, _0x36cb3d = _0x11a45e, _0x5ebe5e = new Date(_0x1e2d72);
|
|
1379
|
+
if (Number['isNaN'](_0x5ebe5e['getTime']()))
|
|
1380
|
+
return _0x1e2d72;
|
|
1381
|
+
const _0x3e92bb = _0x2232a9 => String(_0x2232a9)[_0x36cb3d(0x1af)](0x2, '0');
|
|
1382
|
+
return _0x5ebe5e[_0x36cb3d(0x1a9)]() + '-' + _0x3e92bb(_0x5ebe5e[_0x36cb3d(_0x176be7._0x3b9b5c)]() + 0x1) + '-' + _0x3e92bb(_0x5ebe5e[_0x36cb3d(0x17d)]()) + '\x20' + _0x3e92bb(_0x5ebe5e['getHours']()) + ':' + _0x3e92bb(_0x5ebe5e['getMinutes']()) + ':' + _0x3e92bb(_0x5ebe5e[_0x36cb3d(_0x176be7._0x1385d0)]());
|
|
1383
|
+
}
|
|
1384
|
+
function formatAttachmentSuffix(_0x14d6d9) {
|
|
1385
|
+
const _0x2131de = {
|
|
1386
|
+
_0x34b7b0: 0x78,
|
|
1387
|
+
_0x3fa001: 0x14e,
|
|
1388
|
+
_0x3e90ac: 0x78,
|
|
1389
|
+
_0x72ef9: 0x132
|
|
1390
|
+
}, _0x3c930e = _0x11a45e;
|
|
1391
|
+
if (!_0x14d6d9 || _0x14d6d9[_0x3c930e(_0x2131de._0x34b7b0)] === 0x0)
|
|
1392
|
+
return '';
|
|
1393
|
+
return '\x20[' + _0x14d6d9['length'] + _0x3c930e(_0x2131de._0x3fa001) + (_0x14d6d9[_0x3c930e(_0x2131de._0x3e90ac)] > 0x1 ? 's' : '') + ':\x20' + _0x14d6d9[_0x3c930e(0x195)](_0x1ee007 => _0x1ee007[_0x3c930e(0x11c)] + _0x3c930e(0xe4) + _0x1ee007['id'] + ')')[_0x3c930e(_0x2131de._0x72ef9)](',\x20') + _0x3c930e(0x81);
|
|
1394
|
+
}
|
|
1395
|
+
function formatCheckMessages(_0x1d23b0) {
|
|
1396
|
+
const _0x27826f = {
|
|
1397
|
+
_0x3fc2d8: 0xae,
|
|
1398
|
+
_0x4b0f03: 0x195
|
|
1399
|
+
}, _0x309d19 = {
|
|
1400
|
+
_0x333f4f: 0x163,
|
|
1401
|
+
_0x516c14: 0x1b3,
|
|
1402
|
+
_0x1c1df5: 0x160,
|
|
1403
|
+
_0x27483a: 0x1a6,
|
|
1404
|
+
_0xd6bb8c: 0xb3
|
|
1405
|
+
}, _0x38317d = _0x11a45e;
|
|
1406
|
+
if (_0x1d23b0[_0x38317d(0x78)] === 0x0)
|
|
1407
|
+
return _0x38317d(_0x27826f._0x3fc2d8);
|
|
1408
|
+
return _0x1d23b0[_0x38317d(_0x27826f._0x4b0f03)](_0x4148b4 => {
|
|
1409
|
+
const _0x117e75 = _0x38317d, _0x4fdaaf = _0x4148b4[_0x117e75(0x98)] === 'agent' ? '\x20type=agent' : '', _0x4fa351 = _0x4148b4[_0x117e75(0x1b3)] && _0x4148b4[_0x117e75(0x1b3)] !== _0x117e75(_0x309d19._0x333f4f) ? _0x117e75(0x85) + _0x4148b4[_0x117e75(_0x309d19._0x516c14)] : '';
|
|
1410
|
+
return _0x117e75(_0x309d19._0x1c1df5) + _0x4148b4[_0x117e75(0x8b)] + '\x20msg=' + _0x4148b4['messageId'][_0x117e75(_0x309d19._0x27483a)](0x0, 0x8) + '\x20time=' + toLocalTime(_0x4148b4['createdAt']) + _0x4fdaaf + _0x4fa351 + _0x117e75(_0x309d19._0xd6bb8c) + _0x4148b4['senderName'] + ':\x20' + _0x4148b4[_0x117e75(0x1ef)] + formatAttachmentSuffix(_0x4148b4['attachments']);
|
|
1411
|
+
})['join']('\x0a');
|
|
1433
1412
|
}
|
|
1434
|
-
function
|
|
1435
|
-
const
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
},
|
|
1413
|
+
function formatHistory(_0x562707) {
|
|
1414
|
+
const _0x54aeba = {
|
|
1415
|
+
_0x5ad8c0: 0x1df,
|
|
1416
|
+
_0x24ef0a: 0x144,
|
|
1417
|
+
_0x5bc1d6: 0x78
|
|
1418
|
+
}, _0x2b1131 = {
|
|
1419
|
+
_0x2dadd6: 0x82,
|
|
1420
|
+
_0x45f7e7: 0x8f,
|
|
1421
|
+
_0x491ff9: 0x11b,
|
|
1422
|
+
_0x4baa6d: 0x15d,
|
|
1423
|
+
_0x58b105: 0xa2
|
|
1424
|
+
}, _0x396b2e = _0x11a45e;
|
|
1425
|
+
if (_0x562707['messages'][_0x396b2e(0x78)] === 0x0)
|
|
1426
|
+
return _0x396b2e(0xf7) + _0x562707[_0x396b2e(0x13c)] + _0x396b2e(0x19f);
|
|
1427
|
+
const _0x4c86db = _0x562707['messages'][_0x396b2e(0x195)](_0x48af0a => {
|
|
1428
|
+
const _0x47f5ce = _0x396b2e, _0x37f77a = _0x48af0a[_0x47f5ce(0x98)] === _0x47f5ce(_0x2b1131._0x2dadd6) ? _0x47f5ce(_0x2b1131._0x45f7e7) : '', _0x35998b = _0x48af0a['kind'] && _0x48af0a['kind'] !== 'chat' ? _0x47f5ce(0x85) + _0x48af0a['kind'] : '';
|
|
1429
|
+
return '[seq=' + _0x48af0a[_0x47f5ce(_0x2b1131._0x491ff9)] + _0x47f5ce(0xab) + _0x48af0a[_0x47f5ce(_0x2b1131._0x4baa6d)] + '\x20time=' + toLocalTime(_0x48af0a[_0x47f5ce(0xee)]) + _0x37f77a + _0x35998b + _0x47f5ce(0xb3) + _0x48af0a[_0x47f5ce(_0x2b1131._0x58b105)] + ':\x20' + _0x48af0a[_0x47f5ce(0x1ef)] + formatAttachmentSuffix(_0x48af0a[_0x47f5ce(0x169)]);
|
|
1430
|
+
})['join']('\x0a'), _0x11f745 = _0x562707[_0x396b2e(0x178)] && _0x562707[_0x396b2e(_0x54aeba._0x5ad8c0)] ? _0x396b2e(0x7d) + _0x562707[_0x396b2e(_0x54aeba._0x24ef0a)][_0x396b2e(_0x54aeba._0x5bc1d6)] + _0x396b2e(0x9c) + _0x562707['nextCursor'] + '\x20to\x20load\x20older\x20messages.\x20---' : '';
|
|
1431
|
+
return '##\x20Message\x20History\x20for\x20' + _0x562707['channel'] + '\x20(' + _0x562707[_0x396b2e(0x144)][_0x396b2e(0x78)] + _0x396b2e(0x1e3) + _0x4c86db + _0x11f745;
|
|
1432
|
+
}
|
|
1433
|
+
function formatServerDirectory(_0x445758) {
|
|
1434
|
+
const _0x4bd74e = {
|
|
1435
|
+
_0x53c0b2: 0x195,
|
|
1436
|
+
_0x9ff4e6: 0x132,
|
|
1437
|
+
_0x1e4e49: 0x195,
|
|
1438
|
+
_0x38bef0: 0x132,
|
|
1439
|
+
_0x3236de: 0xbe,
|
|
1440
|
+
_0x145ecc: 0x78,
|
|
1441
|
+
_0x312bee: 0x9d,
|
|
1442
|
+
_0x1b53af: 0x183,
|
|
1443
|
+
_0x1183e8: 0xc6,
|
|
1444
|
+
_0xc6b5c9: 0x132
|
|
1445
|
+
}, _0x130f62 = _0x11a45e, _0xb77d6d = _0x445758['channels']['length'] > 0x0 ? _0x445758['channels'][_0x130f62(_0x4bd74e._0x53c0b2)](_0x4545c3 => _0x4545c3[_0x130f62(0x18d)] ? _0x130f62(0x19b) + _0x4545c3['name'] + _0x130f62(0x1be) + _0x4545c3['description'] : _0x130f62(0x19b) + _0x4545c3[_0x130f62(0x1e8)])[_0x130f62(_0x4bd74e._0x9ff4e6)]('\x0a') : _0x130f62(0x9d), _0x15c664 = _0x445758['agents']['length'] > 0x0 ? _0x445758[_0x130f62(0x184)][_0x130f62(_0x4bd74e._0x1e4e49)](_0x4ca53b => _0x130f62(0x159) + _0x4ca53b[_0x130f62(0x1e8)])[_0x130f62(_0x4bd74e._0x38bef0)]('\x0a') : _0x130f62(0x9d), _0x86cc2d = _0x445758[_0x130f62(_0x4bd74e._0x3236de)][_0x130f62(_0x4bd74e._0x145ecc)] > 0x0 ? _0x445758['humans'][_0x130f62(_0x4bd74e._0x53c0b2)](_0x95c0a => '-\x20@' + _0x95c0a[_0x130f62(0x1e8)])[_0x130f62(_0x4bd74e._0x38bef0)]('\x0a') : _0x130f62(_0x4bd74e._0x312bee);
|
|
1446
1446
|
return [
|
|
1447
|
-
|
|
1447
|
+
_0x130f62(_0x4bd74e._0x1b53af) + _0x445758[_0x130f62(_0x4bd74e._0x1183e8)],
|
|
1448
1448
|
'',
|
|
1449
1449
|
'###\x20Channels',
|
|
1450
|
-
|
|
1450
|
+
_0xb77d6d,
|
|
1451
1451
|
'',
|
|
1452
|
-
|
|
1453
|
-
|
|
1452
|
+
_0x130f62(0x1cf),
|
|
1453
|
+
_0x15c664,
|
|
1454
1454
|
'',
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
][
|
|
1455
|
+
_0x130f62(0xc5),
|
|
1456
|
+
_0x86cc2d
|
|
1457
|
+
][_0x130f62(_0x4bd74e._0xc6b5c9)]('\x0a');
|
|
1458
1458
|
}
|
|
1459
|
-
function formatUploadResult(
|
|
1460
|
-
const
|
|
1461
|
-
|
|
1462
|
-
_0x44bbad: 0x189,
|
|
1463
|
-
_0x48d88d: 0xfc,
|
|
1464
|
-
_0x41b356: 0x141,
|
|
1465
|
-
_0x1e0d52: 0x19d
|
|
1466
|
-
}, _0x20a3da = _0x27ce1c;
|
|
1467
|
-
return _0x20a3da(_0x431f2c._0x2b4ab6) + _0x1f4730[_0x20a3da(0x1c4)] + '\x20(' + (_0x1f4730[_0x20a3da(_0x431f2c._0x44bbad)] / 0x400)[_0x20a3da(_0x431f2c._0x48d88d)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x1f4730[_0x20a3da(_0x431f2c._0x41b356)] + _0x20a3da(_0x431f2c._0x1e0d52);
|
|
1459
|
+
function formatUploadResult(_0x56c0f4) {
|
|
1460
|
+
const _0x12623f = { _0x951d13: 0x15b }, _0x5c3f41 = _0x11a45e;
|
|
1461
|
+
return 'File\x20uploaded:\x20' + _0x56c0f4[_0x5c3f41(0x11c)] + '\x20(' + (_0x56c0f4[_0x5c3f41(0x74)] / 0x400)[_0x5c3f41(_0x12623f._0x951d13)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x56c0f4[_0x5c3f41(0x1cc)] + _0x5c3f41(0x87);
|
|
1468
1462
|
}
|
|
1469
|
-
function formatViewFileResult(
|
|
1470
|
-
const
|
|
1471
|
-
|
|
1463
|
+
function formatViewFileResult(_0x38d643, _0x28e7ac) {
|
|
1464
|
+
const _0x5f340e = {
|
|
1465
|
+
_0x495e38: 0xa7,
|
|
1466
|
+
_0x53785a: 0x117
|
|
1467
|
+
}, _0x18242c = _0x11a45e;
|
|
1468
|
+
return _0x28e7ac ? _0x18242c(_0x5f340e._0x495e38) + _0x38d643 : _0x18242c(_0x5f340e._0x53785a) + _0x38d643;
|
|
1472
1469
|
}
|
|
1473
|
-
function formatTaskList(
|
|
1474
|
-
const
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
return '
|
|
1486
|
-
|
|
1487
|
-
const _0x528ad3 = _0x5ec371, _0x5e3457 = _0xde3ec2[_0x528ad3(_0x34fafd._0x7fd243)] == null ? '(legacy)' : '#' + _0xde3ec2['taskNumber'], _0x1d1914 = _0xde3ec2[_0x528ad3(0x139)] ? _0x528ad3(_0x34fafd._0x2c7239) + _0xde3ec2[_0x528ad3(_0x34fafd._0x4f4d44)] : '', _0x2ab2f4 = _0x50b469 && _0xde3ec2[_0x528ad3(0x1b8)] != null && _0x50b469[_0x528ad3(_0x34fafd._0x36e603)](_0xde3ec2[_0x528ad3(_0x34fafd._0x10b4cd)]) ? _0x528ad3(_0x34fafd._0x41ee1d) : '';
|
|
1488
|
-
return _0x5e3457 + '\x20[' + _0xde3ec2[_0x528ad3(_0x34fafd._0x2af3d0)] + ']\x20' + _0xde3ec2[_0x528ad3(_0x34fafd._0x2e5fb4)] + _0x1d1914 + _0x2ab2f4;
|
|
1489
|
-
})[_0x5ec371(0x172)]('\x0a');
|
|
1470
|
+
function formatTaskList(_0x254678, _0x21eaf2) {
|
|
1471
|
+
const _0x5a0bf1 = { _0x1896dd: 0x78 }, _0x3b5db7 = {
|
|
1472
|
+
_0x20fc84: 0xc7,
|
|
1473
|
+
_0x32cc03: 0x15c,
|
|
1474
|
+
_0xcb7c2a: 0xc7,
|
|
1475
|
+
_0x4aa6a7: 0x1ee,
|
|
1476
|
+
_0x737a1c: 0x14a
|
|
1477
|
+
}, _0x434b60 = _0x11a45e;
|
|
1478
|
+
if (_0x254678[_0x434b60(_0x5a0bf1._0x1896dd)] === 0x0)
|
|
1479
|
+
return _0x434b60(0x1d5);
|
|
1480
|
+
return _0x254678['map'](_0x5ad08e => {
|
|
1481
|
+
const _0x140c72 = _0x434b60, _0x3512ec = _0x5ad08e[_0x140c72(_0x3b5db7._0x20fc84)] == null ? _0x140c72(_0x3b5db7._0x32cc03) : '#' + _0x5ad08e[_0x140c72(_0x3b5db7._0xcb7c2a)], _0x46253e = _0x5ad08e['messageId'] ? _0x140c72(_0x3b5db7._0x4aa6a7) + _0x5ad08e[_0x140c72(0x15d)] : '', _0x3caa65 = _0x21eaf2 && _0x5ad08e['taskNumber'] != null && _0x21eaf2['has'](_0x5ad08e['taskNumber']) ? _0x140c72(0x116) : '';
|
|
1482
|
+
return _0x3512ec + '\x20[' + _0x5ad08e[_0x140c72(_0x3b5db7._0x737a1c)] + ']\x20' + _0x5ad08e[_0x140c72(0x123)] + _0x46253e + _0x3caa65;
|
|
1483
|
+
})[_0x434b60(0x132)]('\x0a');
|
|
1490
1484
|
}
|
|
1491
|
-
function formatCreatedTasks(
|
|
1492
|
-
const
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1485
|
+
function formatCreatedTasks(_0x51036a) {
|
|
1486
|
+
const _0x49a624 = {
|
|
1487
|
+
_0x2d2776: 0x78,
|
|
1488
|
+
_0x3ae3ae: 0x195,
|
|
1489
|
+
_0xc94838: 0x132
|
|
1490
|
+
}, _0xdbc442 = {
|
|
1491
|
+
_0x435712: 0xc7,
|
|
1492
|
+
_0x1e003d: 0x1ee,
|
|
1493
|
+
_0x4057d7: 0x15d
|
|
1494
|
+
}, _0x183ace = _0x11a45e;
|
|
1495
|
+
if (_0x51036a[_0x183ace(_0x49a624._0x2d2776)] === 0x0)
|
|
1499
1496
|
return 'No\x20tasks\x20created.';
|
|
1500
|
-
return
|
|
1501
|
-
const
|
|
1502
|
-
return
|
|
1503
|
-
})[
|
|
1497
|
+
return _0x51036a[_0x183ace(_0x49a624._0x3ae3ae)](_0x270709 => {
|
|
1498
|
+
const _0x15ca29 = _0x183ace, _0xb57db5 = _0x270709[_0x15ca29(0xc7)] == null ? '(legacy)' : '#' + _0x270709[_0x15ca29(_0xdbc442._0x435712)];
|
|
1499
|
+
return _0xb57db5 + '\x20' + _0x270709[_0x15ca29(0x123)] + _0x15ca29(_0xdbc442._0x1e003d) + _0x270709[_0x15ca29(_0xdbc442._0x4057d7)];
|
|
1500
|
+
})[_0x183ace(_0x49a624._0xc94838)]('\x0a');
|
|
1504
1501
|
}
|
|
1505
|
-
function formatClaimTaskResults(
|
|
1506
|
-
const
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1502
|
+
function formatClaimTaskResults(_0x1db9b6) {
|
|
1503
|
+
const _0x46dbba = {
|
|
1504
|
+
_0x20c636: 0x78,
|
|
1505
|
+
_0x1758fb: 0x177,
|
|
1506
|
+
_0x3e1906: 0x195
|
|
1507
|
+
}, _0xff862f = {
|
|
1508
|
+
_0xf8fa2c: 0x15c,
|
|
1509
|
+
_0x38a6ae: 0xc7,
|
|
1510
|
+
_0x268837: 0xfb,
|
|
1511
|
+
_0x2f5a2a: 0x1b7,
|
|
1512
|
+
_0x5c8d14: 0xf8,
|
|
1513
|
+
_0x490362: 0x122,
|
|
1514
|
+
_0xae7e47: 0x122,
|
|
1515
|
+
_0xadd2f3: 0x110,
|
|
1516
|
+
_0x2b8d23: 0x150,
|
|
1517
|
+
_0x39d4af: 0x1d2,
|
|
1518
|
+
_0x5735fc: 0xc7,
|
|
1519
|
+
_0x45f015: 0xc7,
|
|
1520
|
+
_0x5c6a59: 0x79
|
|
1521
|
+
}, _0x5dbea = _0x11a45e;
|
|
1522
|
+
if (_0x1db9b6[_0x5dbea(_0x46dbba._0x20c636)] === 0x0)
|
|
1523
|
+
return _0x5dbea(_0x46dbba._0x1758fb);
|
|
1524
|
+
return _0x1db9b6[_0x5dbea(_0x46dbba._0x3e1906)](_0x14836b => {
|
|
1525
|
+
const _0x4eb8a7 = _0x5dbea;
|
|
1526
|
+
if (_0x14836b[_0x4eb8a7(0x147)]) {
|
|
1527
|
+
const _0x594c79 = _0x14836b[_0x4eb8a7(0xc7)] == null ? _0x4eb8a7(_0xff862f._0xf8fa2c) : '#' + _0x14836b[_0x4eb8a7(_0xff862f._0x38a6ae)], _0x527066 = _0x14836b['messageId'] ? _0x4eb8a7(0x1ee) + _0x14836b[_0x4eb8a7(0x15d)] : '';
|
|
1528
|
+
if (_0x14836b[_0x4eb8a7(0x1a7)]) {
|
|
1529
|
+
const _0x2b1971 = [
|
|
1530
|
+
_0x4eb8a7(0xf4),
|
|
1531
|
+
_0x14836b[_0x4eb8a7(0xc2)] ? 'stopMain=true' : null,
|
|
1532
|
+
_0x14836b[_0x4eb8a7(0xfb)] ? _0x4eb8a7(0x71) + _0x14836b[_0x4eb8a7(_0xff862f._0x268837)] : null,
|
|
1533
|
+
_0x14836b[_0x4eb8a7(0xf8)] ? _0x4eb8a7(_0xff862f._0x2f5a2a) + _0x14836b[_0x4eb8a7(_0xff862f._0x5c8d14)] : null,
|
|
1534
|
+
_0x14836b[_0x4eb8a7(_0xff862f._0x490362)] ? 'workerDisposition=' + _0x14836b[_0x4eb8a7(_0xff862f._0xae7e47)] : null
|
|
1535
|
+
]['filter'](Boolean)[_0x4eb8a7(0x132)]('\x20');
|
|
1536
|
+
return _0x594c79 + _0x4eb8a7(_0xff862f._0xadd2f3) + _0x527066 + '\x20' + _0x2b1971 + _0x4eb8a7(0x9f);
|
|
1539
1537
|
}
|
|
1540
|
-
const
|
|
1541
|
-
return
|
|
1538
|
+
const _0x2b9272 = _0x14836b[_0x4eb8a7(_0xff862f._0x2b8d23)] ? _0x4eb8a7(_0xff862f._0x39d4af) + _0x14836b['workerHandoffError'] : '';
|
|
1539
|
+
return _0x594c79 + '\x20claimed' + _0x527066 + _0x2b9272;
|
|
1542
1540
|
}
|
|
1543
|
-
const
|
|
1544
|
-
return
|
|
1545
|
-
})[
|
|
1541
|
+
const _0x5b6a96 = _0x14836b[_0x4eb8a7(_0xff862f._0x5735fc)] == null ? _0x14836b[_0x4eb8a7(0x15d)] ?? '(unknown)' : '#' + _0x14836b[_0x4eb8a7(_0xff862f._0x45f015)];
|
|
1542
|
+
return _0x5b6a96 + _0x4eb8a7(_0xff862f._0x5c6a59) + (_0x14836b[_0x4eb8a7(0x139)] ?? 'claim\x20failed');
|
|
1543
|
+
})[_0x5dbea(0x132)]('\x0a');
|
|
1546
1544
|
}
|
|
1547
|
-
function formatUnclaimTaskResult(
|
|
1548
|
-
const
|
|
1549
|
-
|
|
1550
|
-
_0x203832: 0x1b8,
|
|
1551
|
-
_0x4e6b6a: 0x1aa
|
|
1552
|
-
}, _0x2eaa5e = _0x27ce1c, _0x269f69 = _0xb30b41['taskNumber'] == null ? _0x2eaa5e(_0x4dc034._0x41b1cf) : '#' + _0xb30b41[_0x2eaa5e(_0x4dc034._0x203832)];
|
|
1553
|
-
return _0x269f69 + '\x20status=' + _0xb30b41[_0x2eaa5e(_0x4dc034._0x4e6b6a)];
|
|
1545
|
+
function formatUnclaimTaskResult(_0x746195) {
|
|
1546
|
+
const _0x4026e1 = { _0x12033b: 0xc7 }, _0x43985b = _0x11a45e, _0x569ab7 = _0x746195[_0x43985b(_0x4026e1._0x12033b)] == null ? _0x43985b(0x15c) : '#' + _0x746195[_0x43985b(0xc7)];
|
|
1547
|
+
return _0x569ab7 + '\x20status=' + _0x746195['status'];
|
|
1554
1548
|
}
|
|
1555
|
-
function formatUpdateTaskStatusResult(
|
|
1556
|
-
const
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
},
|
|
1561
|
-
return
|
|
1549
|
+
function formatUpdateTaskStatusResult(_0x5df59b) {
|
|
1550
|
+
const _0x471196 = {
|
|
1551
|
+
_0x480ac3: 0xc7,
|
|
1552
|
+
_0x14ff9d: 0x15c,
|
|
1553
|
+
_0x243c76: 0x14a
|
|
1554
|
+
}, _0x51f466 = _0x11a45e, _0x21c014 = _0x5df59b[_0x51f466(_0x471196._0x480ac3)] == null ? _0x51f466(_0x471196._0x14ff9d) : '#' + _0x5df59b['taskNumber'];
|
|
1555
|
+
return _0x21c014 + '\x20status=' + _0x5df59b[_0x51f466(_0x471196._0x243c76)];
|
|
1562
1556
|
}
|
|
1563
1557
|
function getChatBridgeToolDefinitions() {
|
|
1564
|
-
const
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1558
|
+
const _0x3dd0a1 = {
|
|
1559
|
+
_0x20eca0: 0x102,
|
|
1560
|
+
_0x4b6004: 0x11f,
|
|
1561
|
+
_0x378833: 0x1e9,
|
|
1562
|
+
_0x299b51: 0x137,
|
|
1563
|
+
_0x3a1299: 0xef,
|
|
1564
|
+
_0x1bb2b0: 0x12e,
|
|
1565
|
+
_0x34f343: 0x10f
|
|
1566
|
+
}, _0x1f9342 = _0x11a45e;
|
|
1571
1567
|
return [
|
|
1572
1568
|
{ 'name': 'send_message' },
|
|
1573
|
-
{ 'name':
|
|
1574
|
-
{ 'name':
|
|
1575
|
-
{ 'name':
|
|
1576
|
-
{ 'name':
|
|
1577
|
-
{ 'name':
|
|
1578
|
-
{ 'name':
|
|
1579
|
-
{ 'name':
|
|
1580
|
-
{ 'name':
|
|
1581
|
-
{ 'name':
|
|
1582
|
-
{ 'name':
|
|
1583
|
-
{ 'name':
|
|
1584
|
-
{ 'name':
|
|
1585
|
-
{ 'name':
|
|
1586
|
-
{ 'name':
|
|
1569
|
+
{ 'name': _0x1f9342(0xd7) },
|
|
1570
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x20eca0) },
|
|
1571
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x4b6004) },
|
|
1572
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x378833) },
|
|
1573
|
+
{ 'name': _0x1f9342(0x1eb) },
|
|
1574
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x299b51) },
|
|
1575
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x3a1299) },
|
|
1576
|
+
{ 'name': _0x1f9342(0x192) },
|
|
1577
|
+
{ 'name': 'unclaim_task' },
|
|
1578
|
+
{ 'name': _0x1f9342(0xf6) },
|
|
1579
|
+
{ 'name': _0x1f9342(0x17e) },
|
|
1580
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x1bb2b0) },
|
|
1581
|
+
{ 'name': _0x1f9342(0x181) },
|
|
1582
|
+
{ 'name': _0x1f9342(_0x3dd0a1._0x34f343) },
|
|
1587
1583
|
{ 'name': 'mark_waiting_input' }
|
|
1588
1584
|
];
|
|
1589
1585
|
}
|
|
1590
|
-
function createChatBridgeHandlers(
|
|
1591
|
-
const
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
const _0x1cfbf5 = _0x4754;
|
|
1707
|
-
if (!_0x2ea834[_0x1cfbf5(0xdc)] || !_0x2ea834['agentId'] || _0x2ea834[_0x1cfbf5(_0x4c95d6._0x4ee8a5)] || _0x2ea834['workerModeEnabled'] !== !![])
|
|
1586
|
+
function createChatBridgeHandlers(_0x34dd85) {
|
|
1587
|
+
const _0x440f98 = {
|
|
1588
|
+
_0x30568f: 0x142,
|
|
1589
|
+
_0x5f4e2b: 0x70
|
|
1590
|
+
}, _0x5bdefc = {
|
|
1591
|
+
_0x2327fe: 0x165,
|
|
1592
|
+
_0x36c60f: 0x19e,
|
|
1593
|
+
_0x5d1c82: 0x165,
|
|
1594
|
+
_0xa60c6b: 0x128,
|
|
1595
|
+
_0x2a7889: 0x1e1,
|
|
1596
|
+
_0x319f82: 0x103,
|
|
1597
|
+
_0xc7e553: 0x139
|
|
1598
|
+
}, _0x49b294 = {
|
|
1599
|
+
_0x4feac2: 0x165,
|
|
1600
|
+
_0x59e0a7: 0x165,
|
|
1601
|
+
_0x41e4e5: 0x103,
|
|
1602
|
+
_0x21985d: 0x1bd
|
|
1603
|
+
}, _0x8e805e = {
|
|
1604
|
+
_0x4716ac: 0x165,
|
|
1605
|
+
_0x2c50e0: 0xf9,
|
|
1606
|
+
_0x14ad5f: 0x1e1,
|
|
1607
|
+
_0x2c60ce: 0x12c,
|
|
1608
|
+
_0x2f6f0c: 0x9a,
|
|
1609
|
+
_0x4c3587: 0x127,
|
|
1610
|
+
_0x3adeff: 0x12c
|
|
1611
|
+
}, _0x28435c = {
|
|
1612
|
+
_0x560508: 0x165,
|
|
1613
|
+
_0x3d0f91: 0x19e,
|
|
1614
|
+
_0x1bc15e: 0x1bd,
|
|
1615
|
+
_0x3e0f80: 0x103,
|
|
1616
|
+
_0x1fca45: 0x7e
|
|
1617
|
+
}, _0x220b75 = {
|
|
1618
|
+
_0x528209: 0x165,
|
|
1619
|
+
_0x40fc58: 0x165,
|
|
1620
|
+
_0x330247: 0x103,
|
|
1621
|
+
_0x23c3b2: 0x1c9,
|
|
1622
|
+
_0xa90a1e: 0xe6,
|
|
1623
|
+
_0x4a5a96: 0x1bd,
|
|
1624
|
+
_0x262d33: 0x190
|
|
1625
|
+
}, _0x46f248 = {
|
|
1626
|
+
_0x45377f: 0xf0,
|
|
1627
|
+
_0x465d7f: 0xed,
|
|
1628
|
+
_0x1566dc: 0x19a
|
|
1629
|
+
}, _0x190613 = {
|
|
1630
|
+
_0x24d235: 0x15e,
|
|
1631
|
+
_0x1e2cbc: 0x13d
|
|
1632
|
+
}, _0x303e88 = { _0x4505e0: 0x1a0 }, _0x239e56 = {
|
|
1633
|
+
_0x20d659: 0x77,
|
|
1634
|
+
_0x242a3f: 0x195
|
|
1635
|
+
}, _0x4f604b = { _0x20ffcb: 0x16c }, _0x254bcc = {
|
|
1636
|
+
_0x3a362f: 0x16c,
|
|
1637
|
+
_0x400387: 0xb2,
|
|
1638
|
+
_0x3a1896: 0x165,
|
|
1639
|
+
_0x5826ee: 0x14d,
|
|
1640
|
+
_0x4755e4: 0x13c,
|
|
1641
|
+
_0x4c8b83: 0xbb,
|
|
1642
|
+
_0x2127a9: 0x124,
|
|
1643
|
+
_0x1394e1: 0x7a,
|
|
1644
|
+
_0x53e137: 0x1a3
|
|
1645
|
+
}, _0x234aad = { _0x37ae5d: 0xb9 }, _0x6d745 = { _0x1784d3: 0x16c }, _0x57ac12 = {
|
|
1646
|
+
_0x17a549: 0x16c,
|
|
1647
|
+
_0x4fc81f: 0x94
|
|
1648
|
+
}, _0x59d496 = {
|
|
1649
|
+
_0x179b2b: 0xc7,
|
|
1650
|
+
_0x55184a: 0x1a6,
|
|
1651
|
+
_0x4952d7: 0x72,
|
|
1652
|
+
_0x420754: 0x187,
|
|
1653
|
+
_0x55bd3a: 0x132,
|
|
1654
|
+
_0x2d8642: 0xc1,
|
|
1655
|
+
_0x2d3745: 0x1ef,
|
|
1656
|
+
_0x2313fe: 0x1b9,
|
|
1657
|
+
_0x21655e: 0x132,
|
|
1658
|
+
_0xb1a0f3: 0x14c,
|
|
1659
|
+
_0x5191b3: 0x14d,
|
|
1660
|
+
_0x566879: 0x1b9,
|
|
1661
|
+
_0xeab192: 0xa6,
|
|
1662
|
+
_0x181450: 0xe9,
|
|
1663
|
+
_0x26d8b7: 0x1ef,
|
|
1664
|
+
_0x13431b: 0xd3
|
|
1665
|
+
}, _0x501035 = {
|
|
1666
|
+
_0xf2efe5: 0x14d,
|
|
1667
|
+
_0x522c6d: 0xaf,
|
|
1668
|
+
_0x349835: 0x120,
|
|
1669
|
+
_0x4860b5: 0xbb,
|
|
1670
|
+
_0xceb331: 0x7a
|
|
1671
|
+
}, _0x362117 = {
|
|
1672
|
+
_0x104e37: 0x165,
|
|
1673
|
+
_0x53fcb7: 0x118,
|
|
1674
|
+
_0x3f60f1: 0x103,
|
|
1675
|
+
_0x55a2a9: 0xbb,
|
|
1676
|
+
_0x16d39d: 0x12a
|
|
1677
|
+
}, _0x18acbb = {
|
|
1678
|
+
_0x42fa57: 0x118,
|
|
1679
|
+
_0x4384af: 0x13c,
|
|
1680
|
+
_0x1eb7e1: 0x1b3,
|
|
1681
|
+
_0xdc2bf8: 0xcd,
|
|
1682
|
+
_0x1f88b6: 0x1dd,
|
|
1683
|
+
_0x14cd35: 0x16c,
|
|
1684
|
+
_0x4d8d8a: 0x101,
|
|
1685
|
+
_0x2852b0: 0xc7,
|
|
1686
|
+
_0x53031b: 0x15d,
|
|
1687
|
+
_0x450575: 0x1a6,
|
|
1688
|
+
_0x19aa27: 0x125,
|
|
1689
|
+
_0x2b2460: 0x1c7,
|
|
1690
|
+
_0x2b5748: 0x1e2,
|
|
1691
|
+
_0x147eaa: 0x1e1,
|
|
1692
|
+
_0x46431e: 0x14d,
|
|
1693
|
+
_0x5e5c9a: 0x99,
|
|
1694
|
+
_0x15b614: 0xc7,
|
|
1695
|
+
_0x2d49b2: 0xc7,
|
|
1696
|
+
_0x2d0cc2: 0x15a,
|
|
1697
|
+
_0x28e875: 0x179
|
|
1698
|
+
}, _0x21edcf = _0x11a45e;
|
|
1699
|
+
async function _0x446f82(_0x73ed0e) {
|
|
1700
|
+
const _0x4a475a = _0xcc9b;
|
|
1701
|
+
if (!_0x34dd85[_0x4a475a(0x165)] || !_0x34dd85[_0x4a475a(0x14d)] || _0x34dd85[_0x4a475a(_0x18acbb._0x42fa57)] || _0x34dd85['workerModeEnabled'] !== !![])
|
|
1708
1702
|
return null;
|
|
1709
|
-
const
|
|
1710
|
-
if (
|
|
1703
|
+
const _0x2ba13 = parseTarget(_0x73ed0e[_0x4a475a(_0x18acbb._0x4384af)]);
|
|
1704
|
+
if (_0x2ba13[_0x4a475a(_0x18acbb._0x1eb7e1)] !== _0x4a475a(0x13c))
|
|
1711
1705
|
return null;
|
|
1712
|
-
const
|
|
1713
|
-
let
|
|
1706
|
+
const _0x10e3ff = _0x73ed0e[_0x4a475a(_0x18acbb._0xdc2bf8)] != null ? _0x2ba13['channelTarget'] + ':t' + _0x73ed0e['threadNumber'] : _0x2ba13[_0x4a475a(_0x18acbb._0x1f88b6)] + ':' + _0x73ed0e['messageId'];
|
|
1707
|
+
let _0x5a015c;
|
|
1714
1708
|
try {
|
|
1715
|
-
const
|
|
1716
|
-
'channel':
|
|
1709
|
+
const _0x430b68 = await _0x34dd85[_0x4a475a(_0x18acbb._0x14cd35)][_0x4a475a(_0x18acbb._0x4d8d8a)]({
|
|
1710
|
+
'channel': _0x10e3ff,
|
|
1717
1711
|
'limit': 0x14
|
|
1718
1712
|
});
|
|
1719
|
-
|
|
1713
|
+
_0x5a015c = _0x430b68[_0x4a475a(0x144)][_0x4a475a(0x124)](_0x29b88d => _0x29b88d[_0x4a475a(0x15d)] === _0x73ed0e[_0x4a475a(0x15d)]);
|
|
1720
1714
|
} catch {
|
|
1721
|
-
|
|
1715
|
+
_0x5a015c = void 0x0;
|
|
1722
1716
|
}
|
|
1723
|
-
const
|
|
1724
|
-
|
|
1717
|
+
const _0x1ea1c3 = _0x73ed0e[_0x4a475a(_0x18acbb._0x2852b0)] == null ? _0x4a475a(0x15c) : '#' + _0x73ed0e[_0x4a475a(0xc7)], _0x53ed0a = [
|
|
1718
|
+
_0x4a475a(0x160) + _0x10e3ff + '\x20msg=' + _0x73ed0e[_0x4a475a(_0x18acbb._0x53031b)][_0x4a475a(_0x18acbb._0x450575)](0x0, 0x8) + '\x20time=' + new Date()[_0x4a475a(0xc1)]() + _0x4a475a(0x1d3) + _0x1ea1c3 + _0x4a475a(_0x18acbb._0x19aa27),
|
|
1725
1719
|
'',
|
|
1726
|
-
|
|
1720
|
+
_0x5a015c ? 'Root\x20task\x20message:\x0a' + _0x5a015c['content'] : _0x4a475a(0x112) + _0x73ed0e['messageId'],
|
|
1727
1721
|
'',
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
][
|
|
1731
|
-
'method':
|
|
1732
|
-
'headers': { 'Content-Type':
|
|
1733
|
-
'body': JSON[
|
|
1734
|
-
'agent_id':
|
|
1735
|
-
'thread_target':
|
|
1722
|
+
_0x4a475a(_0x18acbb._0x2b2460) + _0x10e3ff,
|
|
1723
|
+
'Continue\x20execution\x20in\x20this\x20thread.\x20Use\x20read_history\x20if\x20you\x20need\x20more\x20context.'
|
|
1724
|
+
]['join']('\x0a'), _0x48a077 = await fetch(_0x34dd85['daemonLocalUrl'] + '/workers/deliver', {
|
|
1725
|
+
'method': 'POST',
|
|
1726
|
+
'headers': { 'Content-Type': _0x4a475a(_0x18acbb._0x2b5748) },
|
|
1727
|
+
'body': JSON[_0x4a475a(_0x18acbb._0x147eaa)]({
|
|
1728
|
+
'agent_id': _0x34dd85[_0x4a475a(_0x18acbb._0x46431e)],
|
|
1729
|
+
'thread_target': _0x10e3ff,
|
|
1736
1730
|
'spawn_packet': {
|
|
1737
|
-
'replyTarget':
|
|
1738
|
-
...
|
|
1731
|
+
'replyTarget': _0x10e3ff,
|
|
1732
|
+
..._0x73ed0e[_0x4a475a(_0x18acbb._0x5e5c9a)] ? { 'taskId': _0x73ed0e[_0x4a475a(0x99)] } : _0x73ed0e[_0x4a475a(_0x18acbb._0x15b614)] != null ? { 'taskId': _0x4a475a(0x9e) + _0x73ed0e[_0x4a475a(_0x18acbb._0x2d49b2)] } : {}
|
|
1739
1733
|
},
|
|
1740
1734
|
'payload': {
|
|
1741
1735
|
'mode': 'user',
|
|
1742
|
-
'text':
|
|
1736
|
+
'text': _0x53ed0a
|
|
1743
1737
|
}
|
|
1744
1738
|
})
|
|
1745
|
-
}),
|
|
1746
|
-
if (!
|
|
1747
|
-
throw new Error(
|
|
1739
|
+
}), _0x54c262 = await _0x48a077[_0x4a475a(0x103)]();
|
|
1740
|
+
if (!_0x54c262['ok'])
|
|
1741
|
+
throw new Error(_0x54c262['error'] ?? 'worker\x20handoff\x20failed');
|
|
1748
1742
|
return {
|
|
1749
1743
|
'stopMain': !![],
|
|
1750
|
-
'threadTarget':
|
|
1751
|
-
'workerDisposition':
|
|
1744
|
+
'threadTarget': _0x10e3ff,
|
|
1745
|
+
'workerDisposition': _0x54c262[_0x4a475a(0x7b)] === _0x4a475a(_0x18acbb._0x2d0cc2) ? _0x4a475a(0x15a) : _0x4a475a(_0x18acbb._0x28e875),
|
|
1752
1746
|
'workerHandoff': !![],
|
|
1753
|
-
'workerSessionId':
|
|
1754
|
-
'executionMode':
|
|
1747
|
+
'workerSessionId': _0x54c262[_0x4a475a(0x18c)] ?? '',
|
|
1748
|
+
'executionMode': 'worker'
|
|
1755
1749
|
};
|
|
1756
1750
|
}
|
|
1757
|
-
async function
|
|
1758
|
-
const
|
|
1759
|
-
if (!
|
|
1751
|
+
async function _0x4a97e5() {
|
|
1752
|
+
const _0x3fa444 = _0xcc9b;
|
|
1753
|
+
if (!_0x34dd85[_0x3fa444(_0x362117._0x104e37)] || !_0x34dd85['agentId'] || _0x34dd85[_0x3fa444(_0x362117._0x53fcb7)])
|
|
1760
1754
|
return null;
|
|
1761
1755
|
try {
|
|
1762
|
-
const
|
|
1763
|
-
if (!
|
|
1756
|
+
const _0x138784 = await fetch(_0x34dd85['daemonLocalUrl'] + _0x3fa444(0x1ba) + encodeURIComponent(_0x34dd85[_0x3fa444(0x14d)])), _0x844f66 = await _0x138784[_0x3fa444(_0x362117._0x3f60f1)]();
|
|
1757
|
+
if (!_0x844f66['ok'])
|
|
1764
1758
|
return null;
|
|
1765
|
-
const
|
|
1766
|
-
for (const
|
|
1767
|
-
|
|
1759
|
+
const _0x5703c1 = new Set();
|
|
1760
|
+
for (const _0x30d2b9 of _0x844f66[_0x3fa444(0xaf)]) {
|
|
1761
|
+
_0x30d2b9[_0x3fa444(0x14a)] !== _0x3fa444(0x92) && _0x30d2b9['thread_target'] && _0x5703c1[_0x3fa444(0x7a)](_0x30d2b9[_0x3fa444(_0x362117._0x55a2a9)]);
|
|
1768
1762
|
}
|
|
1769
|
-
return
|
|
1763
|
+
return _0x5703c1[_0x3fa444(_0x362117._0x16d39d)] > 0x0 ? _0x5703c1 : null;
|
|
1770
1764
|
} catch {
|
|
1771
1765
|
return null;
|
|
1772
1766
|
}
|
|
1773
1767
|
}
|
|
1774
|
-
const
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1768
|
+
const _0xdc2dfc = new Set([
|
|
1769
|
+
_0x21edcf(0xdf),
|
|
1770
|
+
_0x21edcf(_0x440f98._0x30568f),
|
|
1771
|
+
_0x21edcf(_0x440f98._0x5f4e2b)
|
|
1778
1772
|
]);
|
|
1779
|
-
async function
|
|
1780
|
-
const
|
|
1781
|
-
if (!
|
|
1773
|
+
async function _0x398b11() {
|
|
1774
|
+
const _0x3f8ba3 = _0x21edcf;
|
|
1775
|
+
if (!_0x34dd85[_0x3f8ba3(0x165)] || !_0x34dd85[_0x3f8ba3(_0x501035._0xf2efe5)] || _0x34dd85['workerMode'])
|
|
1782
1776
|
return null;
|
|
1783
1777
|
try {
|
|
1784
|
-
const
|
|
1785
|
-
if (!
|
|
1778
|
+
const _0x17470e = await fetch(_0x34dd85['daemonLocalUrl'] + _0x3f8ba3(0x1ba) + encodeURIComponent(_0x34dd85[_0x3f8ba3(_0x501035._0xf2efe5)])), _0x3fe73d = await _0x17470e['json']();
|
|
1779
|
+
if (!_0x3fe73d['ok'])
|
|
1786
1780
|
return null;
|
|
1787
|
-
const
|
|
1788
|
-
for (const
|
|
1789
|
-
|
|
1781
|
+
const _0x3cac3b = new Set();
|
|
1782
|
+
for (const _0x37c01e of _0x3fe73d[_0x3f8ba3(_0x501035._0x522c6d)]) {
|
|
1783
|
+
_0xdc2dfc[_0x3f8ba3(_0x501035._0x349835)](_0x37c01e[_0x3f8ba3(0x14a)]) && _0x37c01e[_0x3f8ba3(_0x501035._0x4860b5)] && _0x3cac3b[_0x3f8ba3(_0x501035._0xceb331)](_0x37c01e['thread_target']);
|
|
1790
1784
|
}
|
|
1791
|
-
return
|
|
1785
|
+
return _0x3cac3b[_0x3f8ba3(0x12a)] > 0x0 ? _0x3cac3b : null;
|
|
1792
1786
|
} catch {
|
|
1793
1787
|
return null;
|
|
1794
1788
|
}
|
|
1795
1789
|
}
|
|
1796
1790
|
return {
|
|
1797
|
-
async 'send_message'(
|
|
1798
|
-
const
|
|
1799
|
-
if (!
|
|
1800
|
-
const
|
|
1801
|
-
if (
|
|
1802
|
-
const
|
|
1803
|
-
if (
|
|
1791
|
+
async 'send_message'(_0x426a2c) {
|
|
1792
|
+
const _0x334629 = _0x21edcf;
|
|
1793
|
+
if (!_0x34dd85['workerMode'] && _0x34dd85[_0x334629(0xcf)] && _0x34dd85[_0x334629(0x165)] && _0x34dd85[_0x334629(0x14d)]) {
|
|
1794
|
+
const _0x4a2bc3 = await _0x34dd85['client']['resolveTarget'](_0x426a2c[_0x334629(0x8b)]);
|
|
1795
|
+
if (_0x4a2bc3[_0x334629(0x1b9)] && _0x4a2bc3['threadId']) {
|
|
1796
|
+
const _0xedc4ba = _0x4a2bc3['task'][_0x334629(0xc7)] != null ? '#' + _0x4a2bc3[_0x334629(0x1b9)][_0x334629(_0x59d496._0x179b2b)] : _0x334629(0x15c), _0x2f7f49 = _0x4a2bc3[_0x334629(0xcd)] != null ? _0x4a2bc3['target'] + ':t' + _0x4a2bc3[_0x334629(0xcd)] : _0x4a2bc3['target'] + ':' + _0x4a2bc3[_0x334629(0x91)][_0x334629(_0x59d496._0x55184a)](0x0, 0x8), _0x36a764 = await _0x398b11();
|
|
1797
|
+
if (_0x36a764?.['has'](_0x2f7f49))
|
|
1804
1798
|
return [
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
][
|
|
1808
|
-
const
|
|
1809
|
-
|
|
1799
|
+
_0x334629(0xa4) + _0xedc4ba + _0x334629(_0x59d496._0x4952d7) + _0x2f7f49 + _0x334629(0x151),
|
|
1800
|
+
_0x334629(_0x59d496._0x420754)
|
|
1801
|
+
][_0x334629(_0x59d496._0x55bd3a)]('\x0a');
|
|
1802
|
+
const _0x4f2db0 = [
|
|
1803
|
+
'[target=' + _0x2f7f49 + _0x334629(0x172) + new Date()[_0x334629(_0x59d496._0x2d8642)]() + _0x334629(0x1c1),
|
|
1810
1804
|
'',
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
][
|
|
1816
|
-
'method':
|
|
1817
|
-
'headers': { 'Content-Type':
|
|
1818
|
-
'body': JSON[
|
|
1819
|
-
'agent_id':
|
|
1820
|
-
'thread_target':
|
|
1805
|
+
_0x334629(0x15f) + _0x426a2c[_0x334629(_0x59d496._0x2d3745)],
|
|
1806
|
+
_0x334629(0xd5) + _0xedc4ba + '\x20(' + _0x4a2bc3[_0x334629(_0x59d496._0x2313fe)]['taskId'] + ')',
|
|
1807
|
+
'Thread\x20target:\x20' + _0x2f7f49,
|
|
1808
|
+
_0x334629(0x1ce)
|
|
1809
|
+
][_0x334629(_0x59d496._0x21655e)]('\x0a'), _0x4479aa = await fetch(_0x34dd85['daemonLocalUrl'] + _0x334629(_0x59d496._0xb1a0f3), {
|
|
1810
|
+
'method': _0x334629(0xf9),
|
|
1811
|
+
'headers': { 'Content-Type': _0x334629(0x1e2) },
|
|
1812
|
+
'body': JSON[_0x334629(0x1e1)]({
|
|
1813
|
+
'agent_id': _0x34dd85[_0x334629(_0x59d496._0x5191b3)],
|
|
1814
|
+
'thread_target': _0x2f7f49,
|
|
1821
1815
|
'spawn_packet': {
|
|
1822
|
-
'replyTarget':
|
|
1823
|
-
'taskId':
|
|
1816
|
+
'replyTarget': _0x2f7f49,
|
|
1817
|
+
'taskId': _0x4a2bc3[_0x334629(_0x59d496._0x566879)][_0x334629(0x99)]
|
|
1824
1818
|
},
|
|
1825
1819
|
'payload': {
|
|
1826
|
-
'mode':
|
|
1827
|
-
'text':
|
|
1820
|
+
'mode': _0x334629(_0x59d496._0xeab192),
|
|
1821
|
+
'text': _0x4f2db0
|
|
1828
1822
|
}
|
|
1829
1823
|
})
|
|
1830
|
-
}),
|
|
1831
|
-
if (!
|
|
1832
|
-
throw new Error(
|
|
1824
|
+
}), _0x27939c = await _0x4479aa[_0x334629(0x103)]();
|
|
1825
|
+
if (!_0x27939c['ok'])
|
|
1826
|
+
throw new Error(_0x27939c[_0x334629(0x17c)] ?? _0x334629(0xde));
|
|
1833
1827
|
return [
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
][
|
|
1828
|
+
_0x334629(0xd6) + _0xedc4ba + _0x334629(0x72) + _0x2f7f49 + _0x334629(_0x59d496._0x181450),
|
|
1829
|
+
_0x334629(0x114) + (_0x27939c[_0x334629(0x7b)] === _0x334629(0x15a) ? _0x334629(0x15a) : _0x334629(0x179)) + '.',
|
|
1830
|
+
'⚠️\x20WORKER\x20ACTIVATED\x20—\x20Stop\x20ALL\x20work\x20on\x20this\x20task\x20immediately.\x20Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
|
|
1831
|
+
]['join']('\x0a');
|
|
1838
1832
|
}
|
|
1839
1833
|
}
|
|
1840
|
-
const
|
|
1841
|
-
'attachmentIds':
|
|
1842
|
-
'content':
|
|
1843
|
-
'target':
|
|
1844
|
-
'visibility':
|
|
1834
|
+
const _0x13f5b5 = await _0x34dd85[_0x334629(0x16c)][_0x334629(0x107)]({
|
|
1835
|
+
'attachmentIds': _0x426a2c[_0x334629(0x174)],
|
|
1836
|
+
'content': _0x426a2c[_0x334629(_0x59d496._0x26d8b7)],
|
|
1837
|
+
'target': _0x426a2c[_0x334629(0x8b)],
|
|
1838
|
+
'visibility': _0x426a2c['visibility']
|
|
1845
1839
|
});
|
|
1846
|
-
return
|
|
1840
|
+
return _0x334629(_0x59d496._0x13431b) + _0x426a2c['target'] + '.\x20Message\x20ID:\x20' + _0x13f5b5[_0x334629(0x15d)];
|
|
1847
1841
|
},
|
|
1848
1842
|
async 'check_messages'() {
|
|
1849
|
-
const
|
|
1850
|
-
if (!
|
|
1851
|
-
const
|
|
1852
|
-
if (
|
|
1853
|
-
return formatCheckMessages(
|
|
1843
|
+
const _0x141cbf = _0x21edcf, _0x4c989c = await _0x34dd85[_0x141cbf(_0x57ac12._0x17a549)][_0x141cbf(0x1b8)]();
|
|
1844
|
+
if (!_0x34dd85[_0x141cbf(0x118)]) {
|
|
1845
|
+
const _0x3a77c0 = await _0x4a97e5();
|
|
1846
|
+
if (_0x3a77c0)
|
|
1847
|
+
return formatCheckMessages(_0x4c989c['messages'][_0x141cbf(_0x57ac12._0x4fc81f)](_0x30ab31 => !_0x3a77c0[_0x141cbf(0x120)](_0x30ab31[_0x141cbf(0x8b)])));
|
|
1854
1848
|
}
|
|
1855
|
-
return formatCheckMessages(
|
|
1849
|
+
return formatCheckMessages(_0x4c989c['messages']);
|
|
1856
1850
|
},
|
|
1857
|
-
async 'read_history'(
|
|
1858
|
-
const
|
|
1859
|
-
return formatHistory(
|
|
1851
|
+
async 'read_history'(_0x5b314c) {
|
|
1852
|
+
const _0x4c624a = _0x21edcf, _0x2d68a0 = await _0x34dd85[_0x4c624a(_0x6d745._0x1784d3)][_0x4c624a(0x101)](_0x5b314c);
|
|
1853
|
+
return formatHistory(_0x2d68a0);
|
|
1860
1854
|
},
|
|
1861
1855
|
async 'list_server'() {
|
|
1862
|
-
const
|
|
1863
|
-
return formatServerDirectory(
|
|
1856
|
+
const _0x5b3a18 = _0x21edcf, _0x1ab5c2 = await _0x34dd85['client'][_0x5b3a18(_0x234aad._0x37ae5d)]();
|
|
1857
|
+
return formatServerDirectory(_0x1ab5c2);
|
|
1864
1858
|
},
|
|
1865
|
-
async 'list_tasks'(
|
|
1866
|
-
const
|
|
1867
|
-
let
|
|
1868
|
-
if (
|
|
1859
|
+
async 'list_tasks'(_0x5da18d) {
|
|
1860
|
+
const _0x46df3f = _0x21edcf, _0x44c06a = await _0x34dd85[_0x46df3f(_0x254bcc._0x3a362f)][_0x46df3f(_0x254bcc._0x400387)](_0x5da18d);
|
|
1861
|
+
let _0x489a9e;
|
|
1862
|
+
if (_0x34dd85[_0x46df3f(_0x254bcc._0x3a1896)] && _0x34dd85['agentId'])
|
|
1869
1863
|
try {
|
|
1870
|
-
const
|
|
1871
|
-
if (
|
|
1872
|
-
const
|
|
1873
|
-
|
|
1874
|
-
for (const
|
|
1875
|
-
if (
|
|
1864
|
+
const _0x31212c = await fetch(_0x34dd85[_0x46df3f(0x165)] + '/workers/list?agent_id=' + encodeURIComponent(_0x34dd85[_0x46df3f(_0x254bcc._0x5826ee)])), _0x88b42e = await _0x31212c['json']();
|
|
1865
|
+
if (_0x88b42e['ok']) {
|
|
1866
|
+
const _0x43354d = _0x5da18d[_0x46df3f(_0x254bcc._0x4755e4)] + ':';
|
|
1867
|
+
_0x489a9e = new Set();
|
|
1868
|
+
for (const _0x144ad7 of _0x88b42e['workers']) {
|
|
1869
|
+
if (_0x144ad7[_0x46df3f(0x14a)] === 'destroyed')
|
|
1876
1870
|
continue;
|
|
1877
|
-
if (
|
|
1878
|
-
const
|
|
1879
|
-
if (
|
|
1880
|
-
|
|
1871
|
+
if (_0x144ad7[_0x46df3f(_0x254bcc._0x4c8b83)]?.[_0x46df3f(0x180)](_0x43354d)) {
|
|
1872
|
+
const _0x26d33d = _0x144ad7['thread_target'][_0x46df3f(0x1a6)](_0x43354d[_0x46df3f(0x78)]), _0x113dd1 = _0x44c06a['tasks'][_0x46df3f(_0x254bcc._0x2127a9)](_0x2b7a21 => _0x2b7a21['messageId']?.['startsWith'](_0x26d33d) === !![]);
|
|
1873
|
+
if (_0x113dd1?.[_0x46df3f(0xc7)] != null) {
|
|
1874
|
+
_0x489a9e[_0x46df3f(_0x254bcc._0x1394e1)](_0x113dd1[_0x46df3f(0xc7)]);
|
|
1881
1875
|
continue;
|
|
1882
1876
|
}
|
|
1883
1877
|
}
|
|
1884
|
-
if (
|
|
1885
|
-
const
|
|
1886
|
-
|
|
1878
|
+
if (_0x144ad7[_0x46df3f(0xac)]) {
|
|
1879
|
+
const _0xf4e858 = _0x44c06a['tasks']['find'](_0x4cffda => _0x4cffda[_0x46df3f(0x99)] === _0x144ad7[_0x46df3f(0xac)]);
|
|
1880
|
+
_0xf4e858?.[_0x46df3f(0xc7)] != null && _0x489a9e[_0x46df3f(_0x254bcc._0x1394e1)](_0xf4e858[_0x46df3f(0xc7)]);
|
|
1887
1881
|
}
|
|
1888
1882
|
}
|
|
1889
1883
|
}
|
|
1890
1884
|
} catch {
|
|
1891
1885
|
}
|
|
1892
|
-
return formatTaskList(
|
|
1886
|
+
return formatTaskList(_0x44c06a[_0x46df3f(_0x254bcc._0x53e137)], _0x489a9e);
|
|
1893
1887
|
},
|
|
1894
|
-
async 'create_tasks'(
|
|
1895
|
-
const
|
|
1896
|
-
return formatCreatedTasks(
|
|
1888
|
+
async 'create_tasks'(_0x25b882) {
|
|
1889
|
+
const _0x418239 = _0x21edcf, _0x18803b = await _0x34dd85[_0x418239(_0x4f604b._0x20ffcb)]['createTasks'](_0x25b882);
|
|
1890
|
+
return formatCreatedTasks(_0x18803b['tasks']);
|
|
1897
1891
|
},
|
|
1898
|
-
async 'claim_tasks'(
|
|
1899
|
-
const
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1892
|
+
async 'claim_tasks'(_0x14964b) {
|
|
1893
|
+
const _0x57e985 = {
|
|
1894
|
+
_0x150505: 0x13c,
|
|
1895
|
+
_0x380feb: 0x15d,
|
|
1896
|
+
_0x4acb32: 0xc7,
|
|
1897
|
+
_0x2536e1: 0xcd,
|
|
1898
|
+
_0x284410: 0x1ca
|
|
1899
|
+
}, _0x918123 = _0x21edcf, _0x19decc = await _0x34dd85[_0x918123(0x16c)][_0x918123(_0x239e56._0x20d659)](_0x14964b), _0x28ae69 = await Promise['all'](_0x19decc['results'][_0x918123(_0x239e56._0x242a3f)](async _0x371893 => {
|
|
1900
|
+
const _0x3abf81 = _0x918123;
|
|
1901
|
+
if (!_0x371893['success'] || !_0x371893[_0x3abf81(0x15d)])
|
|
1902
|
+
return _0x371893;
|
|
1903
1903
|
try {
|
|
1904
|
-
const
|
|
1905
|
-
'channel':
|
|
1906
|
-
'messageId':
|
|
1907
|
-
'taskId':
|
|
1908
|
-
'taskNumber':
|
|
1909
|
-
'threadNumber':
|
|
1904
|
+
const _0x3bccf6 = await _0x446f82({
|
|
1905
|
+
'channel': _0x14964b[_0x3abf81(_0x57e985._0x150505)],
|
|
1906
|
+
'messageId': _0x371893[_0x3abf81(_0x57e985._0x380feb)],
|
|
1907
|
+
'taskId': _0x371893[_0x3abf81(0x99)],
|
|
1908
|
+
'taskNumber': _0x371893[_0x3abf81(_0x57e985._0x4acb32)],
|
|
1909
|
+
'threadNumber': _0x371893[_0x3abf81(_0x57e985._0x2536e1)]
|
|
1910
1910
|
});
|
|
1911
|
-
return
|
|
1912
|
-
...
|
|
1913
|
-
...
|
|
1914
|
-
} :
|
|
1915
|
-
} catch (
|
|
1911
|
+
return _0x3bccf6 ? {
|
|
1912
|
+
..._0x371893,
|
|
1913
|
+
..._0x3bccf6
|
|
1914
|
+
} : _0x371893;
|
|
1915
|
+
} catch (_0x3b65e9) {
|
|
1916
1916
|
return {
|
|
1917
|
-
...
|
|
1918
|
-
'workerHandoffError':
|
|
1917
|
+
..._0x371893,
|
|
1918
|
+
'workerHandoffError': _0x3b65e9 instanceof Error ? _0x3b65e9[_0x3abf81(_0x57e985._0x284410)] : 'worker\x20handoff\x20failed'
|
|
1919
1919
|
};
|
|
1920
1920
|
}
|
|
1921
1921
|
}));
|
|
1922
|
-
return formatClaimTaskResults(
|
|
1922
|
+
return formatClaimTaskResults(_0x28ae69);
|
|
1923
1923
|
},
|
|
1924
|
-
async 'unclaim_task'(
|
|
1925
|
-
const
|
|
1926
|
-
return formatUnclaimTaskResult(
|
|
1924
|
+
async 'unclaim_task'(_0x27345f) {
|
|
1925
|
+
const _0xff451d = _0x21edcf, _0x47ef4b = await _0x34dd85['client'][_0xff451d(_0x303e88._0x4505e0)](_0x27345f);
|
|
1926
|
+
return formatUnclaimTaskResult(_0x47ef4b);
|
|
1927
1927
|
},
|
|
1928
|
-
async 'update_task_status'(
|
|
1929
|
-
const
|
|
1930
|
-
return formatUpdateTaskStatusResult(
|
|
1928
|
+
async 'update_task_status'(_0x2ab8be) {
|
|
1929
|
+
const _0x33dcf4 = _0x21edcf, _0x2c8d91 = await _0x34dd85['client'][_0x33dcf4(0x111)](_0x2ab8be);
|
|
1930
|
+
return formatUpdateTaskStatusResult(_0x2c8d91);
|
|
1931
1931
|
},
|
|
1932
|
-
async 'upload_file'(
|
|
1933
|
-
const
|
|
1934
|
-
sizeBytes:
|
|
1935
|
-
...
|
|
1936
|
-
} =
|
|
1937
|
-
'channel':
|
|
1938
|
-
...
|
|
1932
|
+
async 'upload_file'(_0x5b0581) {
|
|
1933
|
+
const _0x4e7ef7 = _0x21edcf, _0x2ddc8a = await _0x34dd85[_0x4e7ef7(0x141)](_0x5b0581[_0x4e7ef7(_0x190613._0x24d235)]), {
|
|
1934
|
+
sizeBytes: _0x25c24e,
|
|
1935
|
+
..._0x4a2a0f
|
|
1936
|
+
} = _0x2ddc8a, _0x1acaf2 = await _0x34dd85['client'][_0x4e7ef7(_0x190613._0x1e2cbc)]({
|
|
1937
|
+
'channel': _0x5b0581[_0x4e7ef7(0x13c)],
|
|
1938
|
+
..._0x4a2a0f
|
|
1939
1939
|
});
|
|
1940
|
-
return formatUploadResult(
|
|
1940
|
+
return formatUploadResult(_0x1acaf2);
|
|
1941
1941
|
},
|
|
1942
|
-
async 'view_file'(
|
|
1943
|
-
const
|
|
1944
|
-
if (
|
|
1945
|
-
return formatViewFileResult(
|
|
1946
|
-
const
|
|
1947
|
-
'attachmentId':
|
|
1948
|
-
'contentType':
|
|
1949
|
-
'data':
|
|
1950
|
-
'originalFilename':
|
|
1942
|
+
async 'view_file'(_0x3a86ae) {
|
|
1943
|
+
const _0x23006d = _0x21edcf, _0x350b24 = await _0x34dd85[_0x23006d(0x161)][_0x23006d(0x1f0)](_0x3a86ae[_0x23006d(0xed)]);
|
|
1944
|
+
if (_0x350b24)
|
|
1945
|
+
return formatViewFileResult(_0x350b24, !![]);
|
|
1946
|
+
const _0x28ea04 = await _0x34dd85[_0x23006d(0x16c)]['downloadAttachment'](_0x3a86ae[_0x23006d(0xed)]), _0x51a8c8 = await _0x34dd85[_0x23006d(0x161)][_0x23006d(_0x46f248._0x45377f)]({
|
|
1947
|
+
'attachmentId': _0x3a86ae[_0x23006d(_0x46f248._0x465d7f)],
|
|
1948
|
+
'contentType': _0x28ea04['contentType'],
|
|
1949
|
+
'data': _0x28ea04[_0x23006d(_0x46f248._0x1566dc)],
|
|
1950
|
+
'originalFilename': _0x28ea04['originalFilename']
|
|
1951
1951
|
});
|
|
1952
|
-
return formatViewFileResult(
|
|
1952
|
+
return formatViewFileResult(_0x51a8c8, ![]);
|
|
1953
1953
|
},
|
|
1954
|
-
async 'get_worker_status'(
|
|
1955
|
-
const
|
|
1956
|
-
if (!
|
|
1957
|
-
return
|
|
1958
|
-
const
|
|
1959
|
-
if (!
|
|
1960
|
-
return
|
|
1961
|
-
return
|
|
1954
|
+
async 'get_worker_status'(_0x4d8909) {
|
|
1955
|
+
const _0x4bd435 = _0x21edcf;
|
|
1956
|
+
if (!_0x34dd85[_0x4bd435(_0x220b75._0x528209)])
|
|
1957
|
+
return _0x4bd435(0x19e);
|
|
1958
|
+
const _0x4e8323 = await fetch(_0x34dd85[_0x4bd435(_0x220b75._0x40fc58)] + _0x4bd435(0x14b) + encodeURIComponent(_0x4d8909['work_key'])), _0x1fca01 = await _0x4e8323[_0x4bd435(_0x220b75._0x330247)]();
|
|
1959
|
+
if (!_0x1fca01['ok'])
|
|
1960
|
+
return _0x4bd435(_0x220b75._0x23c3b2) + _0x4d8909[_0x4bd435(0x1bd)] + _0x4bd435(_0x220b75._0xa90a1e);
|
|
1961
|
+
return _0x4bd435(0x1c9) + _0x4d8909[_0x4bd435(_0x220b75._0x4a5a96)] + _0x4bd435(_0x220b75._0x262d33) + _0x1fca01[_0x4bd435(0x14a)];
|
|
1962
1962
|
},
|
|
1963
|
-
async 'get_worker_result'(
|
|
1964
|
-
const
|
|
1965
|
-
if (!
|
|
1966
|
-
return
|
|
1967
|
-
const
|
|
1968
|
-
if (!
|
|
1969
|
-
return
|
|
1970
|
-
return JSON[
|
|
1963
|
+
async 'get_worker_result'(_0x404624) {
|
|
1964
|
+
const _0x43d73f = _0x21edcf;
|
|
1965
|
+
if (!_0x34dd85[_0x43d73f(_0x28435c._0x560508)])
|
|
1966
|
+
return _0x43d73f(_0x28435c._0x3d0f91);
|
|
1967
|
+
const _0x50399c = await fetch(_0x34dd85[_0x43d73f(0x165)] + _0x43d73f(0xe3) + encodeURIComponent(_0x404624[_0x43d73f(_0x28435c._0x1bc15e)])), _0x23e005 = await _0x50399c[_0x43d73f(_0x28435c._0x3e0f80)]();
|
|
1968
|
+
if (!_0x23e005[_0x43d73f(_0x28435c._0x1fca45)])
|
|
1969
|
+
return _0x43d73f(0x1ac) + _0x404624['work_key'] + '\x22';
|
|
1970
|
+
return JSON['stringify'](_0x23e005[_0x43d73f(_0x28435c._0x1fca45)], null, 0x2);
|
|
1971
1971
|
},
|
|
1972
|
-
async 'finish_worker'(
|
|
1973
|
-
const
|
|
1974
|
-
if (!
|
|
1975
|
-
return
|
|
1976
|
-
const
|
|
1977
|
-
'method':
|
|
1978
|
-
'headers': { 'Content-Type':
|
|
1979
|
-
'body': JSON[
|
|
1980
|
-
'work_key':
|
|
1972
|
+
async 'finish_worker'(_0x29e00b) {
|
|
1973
|
+
const _0x58c6bb = _0x21edcf;
|
|
1974
|
+
if (!_0x34dd85[_0x58c6bb(_0x8e805e._0x4716ac)])
|
|
1975
|
+
return _0x58c6bb(0x19e);
|
|
1976
|
+
const _0x391e7c = await fetch(_0x34dd85[_0x58c6bb(_0x8e805e._0x4716ac)] + _0x58c6bb(0x10a), {
|
|
1977
|
+
'method': _0x58c6bb(_0x8e805e._0x2c50e0),
|
|
1978
|
+
'headers': { 'Content-Type': _0x58c6bb(0x1e2) },
|
|
1979
|
+
'body': JSON[_0x58c6bb(_0x8e805e._0x14ad5f)]({
|
|
1980
|
+
'work_key': _0x29e00b[_0x58c6bb(0x1bd)],
|
|
1981
1981
|
'resume_packet': {
|
|
1982
1982
|
'objective': '',
|
|
1983
|
-
'result':
|
|
1984
|
-
'summary':
|
|
1985
|
-
'decisions':
|
|
1986
|
-
'filesChanged':
|
|
1987
|
-
'openIssues':
|
|
1988
|
-
'nextSteps':
|
|
1983
|
+
'result': _0x29e00b[_0x58c6bb(_0x8e805e._0x2c60ce)],
|
|
1984
|
+
'summary': _0x29e00b['summary'],
|
|
1985
|
+
'decisions': _0x29e00b[_0x58c6bb(0x90)] ?? [],
|
|
1986
|
+
'filesChanged': _0x29e00b[_0x58c6bb(_0x8e805e._0x2f6f0c)] ?? [],
|
|
1987
|
+
'openIssues': _0x29e00b[_0x58c6bb(0x1e5)] ?? [],
|
|
1988
|
+
'nextSteps': _0x29e00b[_0x58c6bb(_0x8e805e._0x4c3587)] ?? []
|
|
1989
1989
|
}
|
|
1990
1990
|
})
|
|
1991
|
-
}),
|
|
1992
|
-
if (!
|
|
1993
|
-
throw new Error(
|
|
1994
|
-
return
|
|
1991
|
+
}), _0x306d79 = await _0x391e7c[_0x58c6bb(0x103)]();
|
|
1992
|
+
if (!_0x306d79['ok'])
|
|
1993
|
+
throw new Error(_0x306d79['error'] ?? 'finish_worker\x20failed');
|
|
1994
|
+
return 'Worker\x20\x22' + _0x29e00b[_0x58c6bb(0x1bd)] + '\x22\x20finished\x20with\x20result:\x20' + _0x29e00b[_0x58c6bb(_0x8e805e._0x3adeff)];
|
|
1995
1995
|
},
|
|
1996
|
-
async 'mark_waiting_input'(
|
|
1997
|
-
const
|
|
1998
|
-
if (!
|
|
1999
|
-
return
|
|
2000
|
-
const
|
|
2001
|
-
'method':
|
|
2002
|
-
'headers': { 'Content-Type':
|
|
2003
|
-
'body': JSON[
|
|
2004
|
-
'work_key':
|
|
2005
|
-
'agent_id':
|
|
1996
|
+
async 'mark_waiting_input'(_0x5598c6) {
|
|
1997
|
+
const _0x566a53 = _0x21edcf;
|
|
1998
|
+
if (!_0x34dd85[_0x566a53(_0x49b294._0x4feac2)] || !_0x34dd85[_0x566a53(0x14d)])
|
|
1999
|
+
return _0x566a53(0x1a2);
|
|
2000
|
+
const _0x33781d = await fetch(_0x34dd85[_0x566a53(_0x49b294._0x59e0a7)] + _0x566a53(0xc9), {
|
|
2001
|
+
'method': _0x566a53(0xf9),
|
|
2002
|
+
'headers': { 'Content-Type': _0x566a53(0x1e2) },
|
|
2003
|
+
'body': JSON[_0x566a53(0x1e1)]({
|
|
2004
|
+
'work_key': _0x5598c6[_0x566a53(0x1bd)],
|
|
2005
|
+
'agent_id': _0x34dd85['agentId']
|
|
2006
2006
|
})
|
|
2007
|
-
}),
|
|
2008
|
-
if (!
|
|
2009
|
-
throw new Error(
|
|
2010
|
-
return
|
|
2007
|
+
}), _0x4a3eee = await _0x33781d[_0x566a53(_0x49b294._0x41e4e5)]();
|
|
2008
|
+
if (!_0x4a3eee['ok'])
|
|
2009
|
+
throw new Error(_0x4a3eee[_0x566a53(0x17c)] ?? _0x566a53(0x1c4));
|
|
2010
|
+
return _0x566a53(0x1c9) + _0x5598c6[_0x566a53(_0x49b294._0x21985d)] + _0x566a53(0xbc);
|
|
2011
2011
|
},
|
|
2012
|
-
async 'escalate_to_main'(
|
|
2013
|
-
const
|
|
2014
|
-
if (!
|
|
2015
|
-
return
|
|
2016
|
-
const
|
|
2012
|
+
async 'escalate_to_main'(_0x572309) {
|
|
2013
|
+
const _0x3ed566 = _0x21edcf;
|
|
2014
|
+
if (!_0x34dd85[_0x3ed566(_0x5bdefc._0x2327fe)])
|
|
2015
|
+
return _0x3ed566(_0x5bdefc._0x36c60f);
|
|
2016
|
+
const _0x5f4fd8 = await fetch(_0x34dd85[_0x3ed566(_0x5bdefc._0x5d1c82)] + _0x3ed566(_0x5bdefc._0xa60c6b), {
|
|
2017
2017
|
'method': 'POST',
|
|
2018
|
-
'headers': { 'Content-Type':
|
|
2019
|
-
'body': JSON[
|
|
2020
|
-
'work_key':
|
|
2021
|
-
'reason':
|
|
2018
|
+
'headers': { 'Content-Type': _0x3ed566(0x1e2) },
|
|
2019
|
+
'body': JSON[_0x3ed566(_0x5bdefc._0x2a7889)]({
|
|
2020
|
+
'work_key': _0x572309[_0x3ed566(0x1bd)],
|
|
2021
|
+
'reason': _0x572309['reason']
|
|
2022
2022
|
})
|
|
2023
|
-
}),
|
|
2024
|
-
if (!
|
|
2025
|
-
throw new Error(
|
|
2026
|
-
return
|
|
2023
|
+
}), _0x28f254 = await _0x5f4fd8[_0x3ed566(_0x5bdefc._0x319f82)]();
|
|
2024
|
+
if (!_0x28f254['ok'])
|
|
2025
|
+
throw new Error(_0x28f254[_0x3ed566(0x17c)] ?? _0x3ed566(0xfe));
|
|
2026
|
+
return _0x3ed566(0x83) + _0x572309[_0x3ed566(_0x5bdefc._0xc7e553)];
|
|
2027
2027
|
}
|
|
2028
2028
|
};
|
|
2029
2029
|
}
|
|
2030
|
-
function textResult(
|
|
2030
|
+
function textResult(_0x48f6d8, _0x3114e3 = ![]) {
|
|
2031
|
+
const _0x203e1c = _0x11a45e;
|
|
2031
2032
|
return {
|
|
2032
2033
|
'content': [{
|
|
2033
|
-
'type':
|
|
2034
|
-
'text':
|
|
2034
|
+
'type': _0x203e1c(0xdb),
|
|
2035
|
+
'text': _0x48f6d8
|
|
2035
2036
|
}],
|
|
2036
|
-
...
|
|
2037
|
+
..._0x3114e3 ? { 'isError': !![] } : {}
|
|
2037
2038
|
};
|
|
2038
2039
|
}
|
|
2039
|
-
async function registerChatBridgeTools(
|
|
2040
|
-
const
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
},
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
},
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
},
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
},
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
'
|
|
2100
|
-
'
|
|
2101
|
-
'
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2040
|
+
async function registerChatBridgeTools(_0x40f69e, _0x542e52, _0x2d0520) {
|
|
2041
|
+
const _0x1de387 = {
|
|
2042
|
+
_0x59eff9: 0x1db,
|
|
2043
|
+
_0x167805: 0xeb,
|
|
2044
|
+
_0x2e05a3: 0xa9,
|
|
2045
|
+
_0x3ff4d9: 0xe2,
|
|
2046
|
+
_0x527bcb: 0x102,
|
|
2047
|
+
_0x341185: 0x88,
|
|
2048
|
+
_0x58cded: 0x1bf,
|
|
2049
|
+
_0xb66a27: 0x137,
|
|
2050
|
+
_0x5ca3e3: 0x173,
|
|
2051
|
+
_0x454d48: 0xd8,
|
|
2052
|
+
_0x375d03: 0x100,
|
|
2053
|
+
_0x654e08: 0x6f,
|
|
2054
|
+
_0x1d9fe4: 0x19d,
|
|
2055
|
+
_0x2d2069: 0x148,
|
|
2056
|
+
_0x427b97: 0x18a,
|
|
2057
|
+
_0x1b7409: 0x192,
|
|
2058
|
+
_0x54256f: 0x16d,
|
|
2059
|
+
_0x4814ff: 0x88,
|
|
2060
|
+
_0x163656: 0x1ed,
|
|
2061
|
+
_0x18b167: 0xa9,
|
|
2062
|
+
_0x269be3: 0xb1,
|
|
2063
|
+
_0x162386: 0x6f,
|
|
2064
|
+
_0x21e7c7: 0xfc,
|
|
2065
|
+
_0x341f51: 0xea,
|
|
2066
|
+
_0x16cd73: 0x1db,
|
|
2067
|
+
_0x68db79: 0xf6,
|
|
2068
|
+
_0x3e3b43: 0x1e9,
|
|
2069
|
+
_0x30dafb: 0x1c8,
|
|
2070
|
+
_0x32ce4d: 0x1db,
|
|
2071
|
+
_0x37c06d: 0x155,
|
|
2072
|
+
_0x137763: 0x17e,
|
|
2073
|
+
_0x3baa54: 0x19c,
|
|
2074
|
+
_0x4b5e66: 0x1b6,
|
|
2075
|
+
_0x160bed: 0xa9,
|
|
2076
|
+
_0x3bb084: 0xa9,
|
|
2077
|
+
_0x10ece9: 0xa9,
|
|
2078
|
+
_0xee0859: 0x1ed,
|
|
2079
|
+
_0x667398: 0xa9,
|
|
2080
|
+
_0xf880f1: 0x10f,
|
|
2081
|
+
_0x54558f: 0x118
|
|
2082
|
+
}, _0x1e8531 = { _0x120774: 0xca }, _0x698892 = {
|
|
2083
|
+
_0x48e066: 0x10f,
|
|
2084
|
+
_0x385875: 0x1ca
|
|
2085
|
+
}, _0x284336 = { _0x4854e8: 0x1ca }, _0x5af47c = {
|
|
2086
|
+
_0x17a940: 0x12e,
|
|
2087
|
+
_0x3e61fa: 0x1ca
|
|
2088
|
+
}, _0x3f8e74 = { _0x227367: 0x1ca }, _0x447f43 = { _0x1b429e: 0x188 }, _0xfd2ef1 = { _0x592385: 0x1dc }, _0x2d9c53 = {
|
|
2089
|
+
_0xa57af7: 0x1ca,
|
|
2090
|
+
_0x35f27f: 0x1cd
|
|
2091
|
+
}, _0x192a5e = {
|
|
2092
|
+
_0x4b9c2d: 0xfc,
|
|
2093
|
+
_0xcc95c8: 0x1ca,
|
|
2094
|
+
_0x3246fc: 0x1d1
|
|
2095
|
+
}, _0x247e7c = {
|
|
2096
|
+
_0x45f9bf: 0x192,
|
|
2097
|
+
_0x38d461: 0x1b1
|
|
2098
|
+
}, _0x105a83 = { _0x51fb41: 0xef }, _0x194f41 = { _0x4837b1: 0x137 }, _0x1288d7 = { _0x469996: 0x158 }, _0x5b22ff = { _0x4e67d7: 0x1ca }, _0x454f00 = _0x11a45e, {z: _0x65f079} = await import(_0x454f00(0x1a1));
|
|
2099
|
+
_0x40f69e[_0x454f00(_0x1de387._0x59eff9)]('send_message', _0x454f00(_0x1de387._0x167805), {
|
|
2100
|
+
'target': _0x65f079[_0x454f00(_0x1de387._0x2e05a3)](),
|
|
2101
|
+
'content': _0x65f079[_0x454f00(0xa9)](),
|
|
2102
|
+
'attachment_ids': _0x65f079[_0x454f00(0x1ed)](_0x65f079[_0x454f00(_0x1de387._0x2e05a3)]())[_0x454f00(0x6f)](),
|
|
2103
|
+
'visibility': _0x65f079[_0x454f00(0x148)]([
|
|
2104
|
+
_0x454f00(_0x1de387._0x3ff4d9),
|
|
2105
|
+
_0x454f00(0x10e)
|
|
2106
|
+
])['optional']()[_0x454f00(0x1ab)]('Optional.\x20If\x20omitted,\x20the\x20message\x20is\x20public.\x20In\x20task\x20threads,\x20set\x20\x22aside\x22\x20only\x20when\x20you\x20explicitly\x20want\x20an\x20aside.\x20Do\x20not\x20set\x20outside\x20threads.')
|
|
2107
|
+
}, async _0x2e15a1 => {
|
|
2108
|
+
const _0x1c0ca5 = _0x454f00;
|
|
2107
2109
|
try {
|
|
2108
|
-
return textResult(await
|
|
2109
|
-
} catch (
|
|
2110
|
-
return textResult(
|
|
2110
|
+
return textResult(await _0x542e52[_0x1c0ca5(0xb4)](_0x2e15a1));
|
|
2111
|
+
} catch (_0x45c831) {
|
|
2112
|
+
return textResult(_0x45c831 instanceof Error ? _0x45c831[_0x1c0ca5(_0x5b22ff._0x4e67d7)] : _0x1c0ca5(0x86), !![]);
|
|
2111
2113
|
}
|
|
2112
|
-
}),
|
|
2113
|
-
const
|
|
2114
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x59eff9)](_0x454f00(0xd7), 'Check\x20for\x20new\x20messages\x20without\x20waiting.', {}, async () => {
|
|
2115
|
+
const _0x31e040 = _0x454f00;
|
|
2114
2116
|
try {
|
|
2115
|
-
return textResult(await
|
|
2116
|
-
} catch (
|
|
2117
|
-
return textResult(
|
|
2117
|
+
return textResult(await _0x542e52['check_messages']());
|
|
2118
|
+
} catch (_0x1de598) {
|
|
2119
|
+
return textResult(_0x1de598 instanceof Error ? _0x1de598['message'] : _0x31e040(0x193), !![]);
|
|
2118
2120
|
}
|
|
2119
|
-
}),
|
|
2120
|
-
'channel':
|
|
2121
|
-
'limit':
|
|
2122
|
-
'before':
|
|
2123
|
-
'after':
|
|
2124
|
-
}, async
|
|
2125
|
-
const
|
|
2121
|
+
}), _0x40f69e['tool'](_0x454f00(_0x1de387._0x527bcb), 'Read\x20message\x20history\x20for\x20a\x20channel,\x20DM,\x20or\x20thread\x20target.', {
|
|
2122
|
+
'channel': _0x65f079[_0x454f00(0xa9)](),
|
|
2123
|
+
'limit': _0x65f079[_0x454f00(0x88)]()[_0x454f00(0x6f)](),
|
|
2124
|
+
'before': _0x65f079[_0x454f00(_0x1de387._0x341185)]()['optional'](),
|
|
2125
|
+
'after': _0x65f079[_0x454f00(0x88)]()['optional']()
|
|
2126
|
+
}, async _0x488607 => {
|
|
2127
|
+
const _0x17a7b4 = _0x454f00;
|
|
2126
2128
|
try {
|
|
2127
|
-
return textResult(await
|
|
2128
|
-
} catch (
|
|
2129
|
-
return textResult(
|
|
2129
|
+
return textResult(await _0x542e52[_0x17a7b4(0x102)](_0x488607));
|
|
2130
|
+
} catch (_0x15a4d6) {
|
|
2131
|
+
return textResult(_0x15a4d6 instanceof Error ? _0x15a4d6[_0x17a7b4(0x1ca)] : _0x17a7b4(0x1d8), !![]);
|
|
2130
2132
|
}
|
|
2131
|
-
}),
|
|
2132
|
-
const
|
|
2133
|
+
}), _0x40f69e[_0x454f00(0x1db)](_0x454f00(0x11f), _0x454f00(_0x1de387._0x58cded), {}, async () => {
|
|
2134
|
+
const _0x76e5d2 = _0x454f00;
|
|
2133
2135
|
try {
|
|
2134
|
-
return textResult(await
|
|
2135
|
-
} catch (
|
|
2136
|
-
return textResult(
|
|
2136
|
+
return textResult(await _0x542e52[_0x76e5d2(0x11f)]());
|
|
2137
|
+
} catch (_0x36cc1f) {
|
|
2138
|
+
return textResult(_0x36cc1f instanceof Error ? _0x36cc1f[_0x76e5d2(0x1ca)] : _0x76e5d2(_0x1288d7._0x469996), !![]);
|
|
2137
2139
|
}
|
|
2138
|
-
}),
|
|
2139
|
-
'channel':
|
|
2140
|
-
'status':
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
])[
|
|
2146
|
-
}, async
|
|
2147
|
-
const
|
|
2140
|
+
}), _0x40f69e[_0x454f00(0x1db)](_0x454f00(_0x1de387._0xb66a27), _0x454f00(0x1a8), {
|
|
2141
|
+
'channel': _0x65f079[_0x454f00(0xa9)](),
|
|
2142
|
+
'status': _0x65f079['enum']([
|
|
2143
|
+
_0x454f00(0x185),
|
|
2144
|
+
_0x454f00(0x1ad),
|
|
2145
|
+
_0x454f00(_0x1de387._0x5ca3e3),
|
|
2146
|
+
_0x454f00(_0x1de387._0x454d48)
|
|
2147
|
+
])[_0x454f00(0x6f)]()
|
|
2148
|
+
}, async _0x10577d => {
|
|
2149
|
+
const _0x506fb3 = _0x454f00;
|
|
2148
2150
|
try {
|
|
2149
|
-
return textResult(await
|
|
2150
|
-
} catch (
|
|
2151
|
-
return textResult(
|
|
2151
|
+
return textResult(await _0x542e52[_0x506fb3(_0x194f41._0x4837b1)](_0x10577d));
|
|
2152
|
+
} catch (_0x86a668) {
|
|
2153
|
+
return textResult(_0x86a668 instanceof Error ? _0x86a668[_0x506fb3(0x1ca)] : 'list_tasks\x20failed', !![]);
|
|
2152
2154
|
}
|
|
2153
|
-
}),
|
|
2154
|
-
'channel':
|
|
2155
|
-
'idempotency_key':
|
|
2156
|
-
'tasks':
|
|
2157
|
-
'title':
|
|
2158
|
-
'description':
|
|
2159
|
-
'priority':
|
|
2155
|
+
}), _0x40f69e[_0x454f00(0x1db)]('create_tasks', _0x454f00(_0x1de387._0x375d03), {
|
|
2156
|
+
'channel': _0x65f079[_0x454f00(0xa9)](),
|
|
2157
|
+
'idempotency_key': _0x65f079['string']()[_0x454f00(_0x1de387._0x654e08)](),
|
|
2158
|
+
'tasks': _0x65f079[_0x454f00(0x1ed)](_0x65f079[_0x454f00(_0x1de387._0x1d9fe4)]({
|
|
2159
|
+
'title': _0x65f079[_0x454f00(0xa9)](),
|
|
2160
|
+
'description': _0x65f079['string']()['optional'](),
|
|
2161
|
+
'priority': _0x65f079[_0x454f00(_0x1de387._0x2d2069)]([
|
|
2160
2162
|
'low',
|
|
2161
2163
|
'medium',
|
|
2162
|
-
|
|
2164
|
+
_0x454f00(_0x1de387._0x427b97),
|
|
2163
2165
|
'urgent'
|
|
2164
|
-
])[
|
|
2166
|
+
])[_0x454f00(_0x1de387._0x654e08)]()
|
|
2165
2167
|
}))
|
|
2166
|
-
}, async
|
|
2167
|
-
const
|
|
2168
|
+
}, async _0x352bd8 => {
|
|
2169
|
+
const _0x2e195b = _0x454f00;
|
|
2168
2170
|
try {
|
|
2169
|
-
return textResult(await
|
|
2170
|
-
} catch (
|
|
2171
|
-
return textResult(
|
|
2171
|
+
return textResult(await _0x542e52[_0x2e195b(_0x105a83._0x51fb41)](_0x352bd8));
|
|
2172
|
+
} catch (_0x401daf) {
|
|
2173
|
+
return textResult(_0x401daf instanceof Error ? _0x401daf[_0x2e195b(0x1ca)] : _0x2e195b(0x1b2), !![]);
|
|
2172
2174
|
}
|
|
2173
|
-
}),
|
|
2174
|
-
'channel':
|
|
2175
|
-
'task_numbers':
|
|
2176
|
-
'message_ids':
|
|
2177
|
-
'evidence':
|
|
2178
|
-
'create_thread':
|
|
2179
|
-
'create_task':
|
|
2180
|
-
}))[
|
|
2181
|
-
'idempotency_key':
|
|
2182
|
-
}, async
|
|
2183
|
-
const
|
|
2175
|
+
}), _0x40f69e[_0x454f00(0x1db)](_0x454f00(_0x1de387._0x1b7409), _0x454f00(_0x1de387._0x54256f), {
|
|
2176
|
+
'channel': _0x65f079[_0x454f00(0xa9)](),
|
|
2177
|
+
'task_numbers': _0x65f079['array'](_0x65f079[_0x454f00(_0x1de387._0x4814ff)]())[_0x454f00(_0x1de387._0x654e08)](),
|
|
2178
|
+
'message_ids': _0x65f079[_0x454f00(_0x1de387._0x163656)](_0x65f079[_0x454f00(_0x1de387._0x18b167)]())['optional'](),
|
|
2179
|
+
'evidence': _0x65f079[_0x454f00(0x119)](_0x65f079[_0x454f00(0xa9)](), _0x65f079[_0x454f00(_0x1de387._0x1d9fe4)]({
|
|
2180
|
+
'create_thread': _0x65f079[_0x454f00(_0x1de387._0x269be3)]()[_0x454f00(0x6f)](),
|
|
2181
|
+
'create_task': _0x65f079[_0x454f00(0xb1)]()[_0x454f00(_0x1de387._0x162386)]()
|
|
2182
|
+
}))[_0x454f00(0x6f)](),
|
|
2183
|
+
'idempotency_key': _0x65f079[_0x454f00(0xa9)]()[_0x454f00(0x6f)]()
|
|
2184
|
+
}, async _0x5bc012 => {
|
|
2185
|
+
const _0x211bba = _0x454f00;
|
|
2184
2186
|
try {
|
|
2185
|
-
return textResult(await
|
|
2186
|
-
} catch (
|
|
2187
|
-
return textResult(
|
|
2187
|
+
return textResult(await _0x542e52[_0x211bba(_0x247e7c._0x45f9bf)](_0x5bc012));
|
|
2188
|
+
} catch (_0x45e4fd) {
|
|
2189
|
+
return textResult(_0x45e4fd instanceof Error ? _0x45e4fd[_0x211bba(0x1ca)] : _0x211bba(_0x247e7c._0x38d461), !![]);
|
|
2188
2190
|
}
|
|
2189
|
-
}),
|
|
2190
|
-
'channel':
|
|
2191
|
-
'task_number':
|
|
2192
|
-
'idempotency_key':
|
|
2193
|
-
}, async
|
|
2194
|
-
const
|
|
2191
|
+
}), _0x40f69e[_0x454f00(0x1db)](_0x454f00(_0x1de387._0x21e7c7), _0x454f00(_0x1de387._0x341f51), {
|
|
2192
|
+
'channel': _0x65f079[_0x454f00(_0x1de387._0x18b167)](),
|
|
2193
|
+
'task_number': _0x65f079['number'](),
|
|
2194
|
+
'idempotency_key': _0x65f079[_0x454f00(0xa9)]()['optional']()
|
|
2195
|
+
}, async _0x367d50 => {
|
|
2196
|
+
const _0x28e17a = _0x454f00;
|
|
2195
2197
|
try {
|
|
2196
|
-
return textResult(await
|
|
2197
|
-
} catch (
|
|
2198
|
-
return textResult(
|
|
2198
|
+
return textResult(await _0x542e52[_0x28e17a(_0x192a5e._0x4b9c2d)](_0x367d50));
|
|
2199
|
+
} catch (_0x37ede1) {
|
|
2200
|
+
return textResult(_0x37ede1 instanceof Error ? _0x37ede1[_0x28e17a(_0x192a5e._0xcc95c8)] : _0x28e17a(_0x192a5e._0x3246fc), !![]);
|
|
2199
2201
|
}
|
|
2200
|
-
}),
|
|
2201
|
-
'channel':
|
|
2202
|
-
'task_number':
|
|
2203
|
-
'status':
|
|
2204
|
-
|
|
2202
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x16cd73)](_0x454f00(_0x1de387._0x68db79), 'Update\x20task\x20status\x20by\x20channel\x20and\x20task\x20number.', {
|
|
2203
|
+
'channel': _0x65f079[_0x454f00(0xa9)](),
|
|
2204
|
+
'task_number': _0x65f079['number'](),
|
|
2205
|
+
'status': _0x65f079[_0x454f00(0x148)]([
|
|
2206
|
+
_0x454f00(0x185),
|
|
2205
2207
|
'in_progress',
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
+
_0x454f00(0x173),
|
|
2209
|
+
_0x454f00(_0x1de387._0x454d48)
|
|
2208
2210
|
]),
|
|
2209
|
-
'idempotency_key':
|
|
2210
|
-
}, async
|
|
2211
|
-
const
|
|
2211
|
+
'idempotency_key': _0x65f079[_0x454f00(_0x1de387._0x18b167)]()[_0x454f00(0x6f)]()
|
|
2212
|
+
}, async _0x200a6e => {
|
|
2213
|
+
const _0x539aac = _0x454f00;
|
|
2212
2214
|
try {
|
|
2213
|
-
return textResult(await
|
|
2214
|
-
} catch (
|
|
2215
|
-
return textResult(
|
|
2215
|
+
return textResult(await _0x542e52['update_task_status'](_0x200a6e));
|
|
2216
|
+
} catch (_0x4f0507) {
|
|
2217
|
+
return textResult(_0x4f0507 instanceof Error ? _0x4f0507[_0x539aac(_0x2d9c53._0xa57af7)] : _0x539aac(_0x2d9c53._0x35f27f), !![]);
|
|
2216
2218
|
}
|
|
2217
|
-
}),
|
|
2218
|
-
'channel':
|
|
2219
|
-
'file_path':
|
|
2220
|
-
}, async
|
|
2221
|
-
const
|
|
2219
|
+
}), _0x40f69e['tool'](_0x454f00(_0x1de387._0x3e3b43), _0x454f00(_0x1de387._0x30dafb), {
|
|
2220
|
+
'channel': _0x65f079['string'](),
|
|
2221
|
+
'file_path': _0x65f079[_0x454f00(0xa9)]()
|
|
2222
|
+
}, async _0x4104e9 => {
|
|
2223
|
+
const _0xb7aac3 = _0x454f00;
|
|
2222
2224
|
try {
|
|
2223
|
-
return textResult(await
|
|
2224
|
-
} catch (
|
|
2225
|
-
return textResult(
|
|
2225
|
+
return textResult(await _0x542e52['upload_file'](_0x4104e9));
|
|
2226
|
+
} catch (_0x25ae63) {
|
|
2227
|
+
return textResult(_0x25ae63 instanceof Error ? _0x25ae63['message'] : _0xb7aac3(_0xfd2ef1._0x592385), !![]);
|
|
2226
2228
|
}
|
|
2227
|
-
}),
|
|
2228
|
-
const
|
|
2229
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x32ce4d)](_0x454f00(0x1eb), _0x454f00(_0x1de387._0x37c06d), { 'attachment_id': _0x65f079['string']() }, async _0x4d671c => {
|
|
2230
|
+
const _0x26a6ed = _0x454f00;
|
|
2229
2231
|
try {
|
|
2230
|
-
return textResult(await
|
|
2231
|
-
} catch (
|
|
2232
|
-
return textResult(
|
|
2232
|
+
return textResult(await _0x542e52[_0x26a6ed(0x1eb)](_0x4d671c));
|
|
2233
|
+
} catch (_0x5520e3) {
|
|
2234
|
+
return textResult(_0x5520e3 instanceof Error ? _0x5520e3[_0x26a6ed(0x1ca)] : _0x26a6ed(_0x447f43._0x1b429e), !![]);
|
|
2233
2235
|
}
|
|
2234
|
-
}),
|
|
2235
|
-
const
|
|
2236
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x59eff9)](_0x454f00(_0x1de387._0x137763), _0x454f00(_0x1de387._0x3baa54), { 'work_key': _0x65f079['string']() }, async _0x2a7e5d => {
|
|
2237
|
+
const _0x5de789 = _0x454f00;
|
|
2236
2238
|
try {
|
|
2237
|
-
return textResult(await
|
|
2238
|
-
} catch (
|
|
2239
|
-
return textResult(
|
|
2239
|
+
return textResult(await _0x542e52['get_worker_status'](_0x2a7e5d));
|
|
2240
|
+
} catch (_0x57b8c9) {
|
|
2241
|
+
return textResult(_0x57b8c9 instanceof Error ? _0x57b8c9[_0x5de789(_0x3f8e74._0x227367)] : 'get_worker_status\x20failed', !![]);
|
|
2240
2242
|
}
|
|
2241
|
-
}),
|
|
2242
|
-
const
|
|
2243
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x32ce4d)](_0x454f00(0x12e), _0x454f00(0x16f), { 'work_key': _0x65f079[_0x454f00(0xa9)]() }, async _0x21e7a9 => {
|
|
2244
|
+
const _0x12c645 = _0x454f00;
|
|
2243
2245
|
try {
|
|
2244
|
-
return textResult(await
|
|
2245
|
-
} catch (
|
|
2246
|
-
return textResult(
|
|
2246
|
+
return textResult(await _0x542e52[_0x12c645(_0x5af47c._0x17a940)](_0x21e7a9));
|
|
2247
|
+
} catch (_0x34eb9d) {
|
|
2248
|
+
return textResult(_0x34eb9d instanceof Error ? _0x34eb9d[_0x12c645(_0x5af47c._0x3e61fa)] : 'get_worker_result\x20failed', !![]);
|
|
2247
2249
|
}
|
|
2248
|
-
}),
|
|
2249
|
-
'work_key':
|
|
2250
|
-
'result':
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2250
|
+
}), _0x40f69e['tool'](_0x454f00(0x181), _0x454f00(_0x1de387._0x4b5e66), {
|
|
2251
|
+
'work_key': _0x65f079[_0x454f00(_0x1de387._0x160bed)](),
|
|
2252
|
+
'result': _0x65f079[_0x454f00(0x148)]([
|
|
2253
|
+
_0x454f00(0x93),
|
|
2254
|
+
'blocked',
|
|
2255
|
+
_0x454f00(0x16b)
|
|
2254
2256
|
]),
|
|
2255
|
-
'summary':
|
|
2256
|
-
'decisions':
|
|
2257
|
-
'files_changed':
|
|
2258
|
-
'open_issues':
|
|
2259
|
-
'next_steps':
|
|
2260
|
-
}, async
|
|
2261
|
-
const
|
|
2257
|
+
'summary': _0x65f079['string'](),
|
|
2258
|
+
'decisions': _0x65f079[_0x454f00(_0x1de387._0x163656)](_0x65f079[_0x454f00(_0x1de387._0x3bb084)]())['optional'](),
|
|
2259
|
+
'files_changed': _0x65f079['array'](_0x65f079[_0x454f00(_0x1de387._0x10ece9)]())[_0x454f00(_0x1de387._0x162386)](),
|
|
2260
|
+
'open_issues': _0x65f079['array'](_0x65f079[_0x454f00(0xa9)]())['optional'](),
|
|
2261
|
+
'next_steps': _0x65f079[_0x454f00(_0x1de387._0xee0859)](_0x65f079[_0x454f00(_0x1de387._0x667398)]())['optional']()
|
|
2262
|
+
}, async _0x1ee27d => {
|
|
2263
|
+
const _0x22e10c = _0x454f00;
|
|
2262
2264
|
try {
|
|
2263
|
-
return textResult(await
|
|
2264
|
-
} catch (
|
|
2265
|
-
return textResult(
|
|
2265
|
+
return textResult(await _0x542e52[_0x22e10c(0x181)](_0x1ee27d));
|
|
2266
|
+
} catch (_0x5503a9) {
|
|
2267
|
+
return textResult(_0x5503a9 instanceof Error ? _0x5503a9[_0x22e10c(_0x284336._0x4854e8)] : _0x22e10c(0xd1), !![]);
|
|
2266
2268
|
}
|
|
2267
|
-
}),
|
|
2268
|
-
'work_key':
|
|
2269
|
-
'reason':
|
|
2270
|
-
}, async
|
|
2271
|
-
const
|
|
2269
|
+
}), _0x40f69e[_0x454f00(_0x1de387._0x59eff9)](_0x454f00(_0x1de387._0xf880f1), _0x454f00(0x8a), {
|
|
2270
|
+
'work_key': _0x65f079[_0x454f00(_0x1de387._0x2e05a3)](),
|
|
2271
|
+
'reason': _0x65f079['string']()
|
|
2272
|
+
}, async _0x51885f => {
|
|
2273
|
+
const _0x58ceb1 = _0x454f00;
|
|
2272
2274
|
try {
|
|
2273
|
-
return textResult(await
|
|
2274
|
-
} catch (
|
|
2275
|
-
return textResult(
|
|
2275
|
+
return textResult(await _0x542e52[_0x58ceb1(_0x698892._0x48e066)](_0x51885f));
|
|
2276
|
+
} catch (_0x1ef87f) {
|
|
2277
|
+
return textResult(_0x1ef87f instanceof Error ? _0x1ef87f[_0x58ceb1(_0x698892._0x385875)] : _0x58ceb1(0xfe), !![]);
|
|
2276
2278
|
}
|
|
2277
|
-
}),
|
|
2278
|
-
const
|
|
2279
|
+
}), _0x2d0520?.[_0x454f00(_0x1de387._0x54558f)] && _0x40f69e['tool'](_0x454f00(0xca), 'Mark\x20the\x20current\x20worker\x20as\x20waiting\x20for\x20human\x20input.\x20Pauses\x20the\x20idle\x20TTL\x20timer\x20until\x20a\x20new\x20message\x20arrives.', { 'work_key': _0x65f079[_0x454f00(0xa9)]() }, async _0x3f651d => {
|
|
2280
|
+
const _0x39749c = _0x454f00;
|
|
2279
2281
|
try {
|
|
2280
|
-
return textResult(await
|
|
2281
|
-
} catch (
|
|
2282
|
-
return textResult(
|
|
2282
|
+
return textResult(await _0x542e52[_0x39749c(_0x1e8531._0x120774)](_0x3f651d));
|
|
2283
|
+
} catch (_0x28c3c2) {
|
|
2284
|
+
return textResult(_0x28c3c2 instanceof Error ? _0x28c3c2[_0x39749c(0x1ca)] : _0x39749c(0x1c4), !![]);
|
|
2283
2285
|
}
|
|
2284
2286
|
});
|
|
2285
2287
|
}
|
|
2286
|
-
async function createChatBridgeServer(
|
|
2287
|
-
const
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
'
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
'
|
|
2297
|
-
'server': _0x1be01
|
|
2288
|
+
async function createChatBridgeServer(_0x522471) {
|
|
2289
|
+
const _0x191138 = {
|
|
2290
|
+
_0x486fb2: 0xaa,
|
|
2291
|
+
_0x176520: 0x163
|
|
2292
|
+
}, _0x317d14 = _0x11a45e, {McpServer: _0x533cb1} = await import(_0x317d14(_0x191138._0x486fb2)), _0x5db35d = new _0x533cb1({
|
|
2293
|
+
'name': _0x317d14(_0x191138._0x176520),
|
|
2294
|
+
'version': '0.0.0'
|
|
2295
|
+
}), _0x361fba = createChatBridgeHandlers(_0x522471);
|
|
2296
|
+
return await registerChatBridgeTools(_0x5db35d, _0x361fba, { 'workerMode': _0x522471['workerMode'] }), {
|
|
2297
|
+
'handlers': _0x361fba,
|
|
2298
|
+
'server': _0x5db35d
|
|
2298
2299
|
};
|
|
2299
2300
|
}
|
|
2300
|
-
function readFlag(
|
|
2301
|
-
const
|
|
2302
|
-
if (
|
|
2301
|
+
function readFlag(_0x455447, _0x5d4817) {
|
|
2302
|
+
const _0x27793c = _0x455447['indexOf'](_0x5d4817);
|
|
2303
|
+
if (_0x27793c === -0x1)
|
|
2303
2304
|
return void 0x0;
|
|
2304
|
-
return
|
|
2305
|
+
return _0x455447[_0x27793c + 0x1];
|
|
2305
2306
|
}
|
|
2306
|
-
function parseChatBridgeArgs(
|
|
2307
|
-
const
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
throw new Error(_0xf1348a(_0x3fcf1b._0x4e47db));
|
|
2307
|
+
function parseChatBridgeArgs(_0x2d9708) {
|
|
2308
|
+
const _0x47d7aa = {
|
|
2309
|
+
_0x25a3dd: 0xcb,
|
|
2310
|
+
_0x221270: 0x1c3,
|
|
2311
|
+
_0x15eace: 0xd9,
|
|
2312
|
+
_0x3a93ab: 0x115,
|
|
2313
|
+
_0x1be5a5: 0x18b,
|
|
2314
|
+
_0x4fa718: 0x73
|
|
2315
|
+
}, _0x5ebac7 = _0x11a45e, _0x587178 = readFlag(_0x2d9708, '--agent-id'), _0x422a21 = readFlag(_0x2d9708, _0x5ebac7(0x10c)), _0x239587 = readFlag(_0x2d9708, _0x5ebac7(0xf2)), _0x1cec38 = readFlag(_0x2d9708, _0x5ebac7(0x170)) ?? _0x5ebac7(_0x47d7aa._0x25a3dd), _0x598523 = readFlag(_0x2d9708, _0x5ebac7(_0x47d7aa._0x221270)), _0x576d1b = readFlag(_0x2d9708, _0x5ebac7(0x1cb)), _0x2d2d54 = readFlag(_0x2d9708, _0x5ebac7(0x175)), _0x4326ee = readFlag(_0x2d9708, _0x5ebac7(0x168)), _0x539c02 = readFlag(_0x2d9708, _0x5ebac7(_0x47d7aa._0x15eace)), _0x3ab3d6 = _0x2d9708[_0x5ebac7(_0x47d7aa._0x3a93ab)](_0x5ebac7(0x153)), _0x204ed8 = _0x239587 === void 0x0 ? void 0x0 : Number[_0x5ebac7(0x164)](_0x239587, 0xa);
|
|
2316
|
+
if (!_0x587178)
|
|
2317
|
+
throw new Error(_0x5ebac7(_0x47d7aa._0x1be5a5));
|
|
2318
|
+
if (!_0x422a21)
|
|
2319
|
+
throw new Error(_0x5ebac7(_0x47d7aa._0x4fa718));
|
|
2320
|
+
if (_0x239587 !== void 0x0 && (_0x204ed8 === void 0x0 || !Number[_0x5ebac7(0x9b)](_0x204ed8) || _0x204ed8 < 0x0))
|
|
2321
|
+
throw new Error(_0x5ebac7(0x199));
|
|
2322
2322
|
return {
|
|
2323
|
-
'agentId':
|
|
2324
|
-
'daemonApiKey':
|
|
2325
|
-
'daemonLocalUrl':
|
|
2326
|
-
'initialLastSeenSeq':
|
|
2327
|
-
'sessionId':
|
|
2328
|
-
'serverUrl':
|
|
2329
|
-
'workerModeEnabled':
|
|
2330
|
-
'workerSessionId':
|
|
2331
|
-
'workerThreadTarget':
|
|
2332
|
-
'workerMode':
|
|
2323
|
+
'agentId': _0x587178,
|
|
2324
|
+
'daemonApiKey': _0x422a21,
|
|
2325
|
+
'daemonLocalUrl': _0x598523,
|
|
2326
|
+
'initialLastSeenSeq': _0x204ed8,
|
|
2327
|
+
'sessionId': _0x576d1b,
|
|
2328
|
+
'serverUrl': _0x1cec38,
|
|
2329
|
+
'workerModeEnabled': _0x2d2d54 === void 0x0 ? void 0x0 : _0x2d2d54 !== 'false',
|
|
2330
|
+
'workerSessionId': _0x4326ee,
|
|
2331
|
+
'workerThreadTarget': _0x539c02,
|
|
2332
|
+
'workerMode': _0x3ab3d6
|
|
2333
2333
|
};
|
|
2334
2334
|
}
|
|
2335
|
-
async function runChatBridgeCli(
|
|
2336
|
-
const
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
'
|
|
2341
|
-
'attachmentCache': _0x36778e,
|
|
2342
|
-
'client': _0x3c8a90,
|
|
2343
|
-
'daemonLocalUrl': _0x3f8198[_0x5eb2f2(0xdc)],
|
|
2335
|
+
async function runChatBridgeCli(_0x3ac6d4) {
|
|
2336
|
+
const _0x16378b = { _0x305ff9: 0xd2 }, _0x9d9716 = _0x11a45e, _0x175ef0 = parseChatBridgeArgs(_0x3ac6d4), {StdioServerTransport: _0x519666} = await import('@modelcontextprotocol/sdk/server/stdio.js'), _0x127fbe = createInternalAgentClient(_0x175ef0), _0x2db70e = createAttachmentCache(), _0x47cadb = await createChatBridgeServer({
|
|
2337
|
+
'agentId': _0x175ef0[_0x9d9716(0x14d)],
|
|
2338
|
+
'attachmentCache': _0x2db70e,
|
|
2339
|
+
'client': _0x127fbe,
|
|
2340
|
+
'daemonLocalUrl': _0x175ef0['daemonLocalUrl'],
|
|
2344
2341
|
'uploadPreparer': prepareUploadFile,
|
|
2345
|
-
'workerModeEnabled':
|
|
2346
|
-
'workerMode':
|
|
2342
|
+
'workerModeEnabled': _0x175ef0[_0x9d9716(0xcf)],
|
|
2343
|
+
'workerMode': _0x175ef0[_0x9d9716(0x118)]
|
|
2347
2344
|
});
|
|
2348
|
-
await
|
|
2345
|
+
await _0x47cadb[_0x9d9716(_0x16378b._0x305ff9)]['connect'](new _0x519666());
|
|
2349
2346
|
}
|
|
2350
|
-
var executedAsEntry = process[
|
|
2351
|
-
executedAsEntry && await runChatBridgeCli(process[
|
|
2347
|
+
var executedAsEntry = process[_0x11a45e(0xb8)][0x1] ? import.meta.url === pathToFileURL(process[_0x11a45e(0xb8)][0x1])['href'] : ![];
|
|
2348
|
+
executedAsEntry && await runChatBridgeCli(process[_0x11a45e(0xb8)][_0x11a45e(0x1a6)](0x2));
|
|
2352
2349
|
export {
|
|
2353
2350
|
createChatBridgeHandlers,
|
|
2354
2351
|
createChatBridgeServer,
|