@dscord/daemon 0.1.19 → 0.1.24

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.
Files changed (3) hide show
  1. package/dist/chat-bridge.js +1920 -1900
  2. package/dist/index.js +8533 -7930
  3. package/package.json +1 -1
@@ -1,26 +1,23 @@
1
- const _0x6aa24e = _0x3431;
2
- (function (_0x243e58, _0x5a06c9) {
3
- const _0x82634d = {
4
- _0x2782c8: 0x1e8,
5
- _0x478ff7: 0x129,
6
- _0x5f153c: 0x16a,
7
- _0x5b9e59: 0x1a2,
8
- _0x3e6273: 0x225,
9
- _0x363635: 0x133,
10
- _0xb05356: 0x1cd
11
- }, _0x17cd81 = _0x3431, _0x9dc8df = _0x243e58();
1
+ const _0x15d6d8 = _0x3844;
2
+ (function (_0x40a4b1, _0x2a22b6) {
3
+ const _0x4e1f87 = {
4
+ _0x2d0e7a: 0x1a0,
5
+ _0x22cde3: 0x1b8,
6
+ _0x32803d: 0x1e2,
7
+ _0xb73754: 0x2a3
8
+ }, _0x4ba255 = _0x3844, _0x51ca58 = _0x40a4b1();
12
9
  while (!![]) {
13
10
  try {
14
- const _0x288d02 = -parseInt(_0x17cd81(_0x82634d._0x2782c8)) / 0x1 * (parseInt(_0x17cd81(_0x82634d._0x478ff7)) / 0x2) + -parseInt(_0x17cd81(_0x82634d._0x5f153c)) / 0x3 * (parseInt(_0x17cd81(0x12f)) / 0x4) + -parseInt(_0x17cd81(_0x82634d._0x5b9e59)) / 0x5 + -parseInt(_0x17cd81(0x19a)) / 0x6 + parseInt(_0x17cd81(_0x82634d._0x3e6273)) / 0x7 + parseInt(_0x17cd81(0x1ac)) / 0x8 * (-parseInt(_0x17cd81(0x263)) / 0x9) + -parseInt(_0x17cd81(_0x82634d._0x363635)) / 0xa * (-parseInt(_0x17cd81(_0x82634d._0xb05356)) / 0xb);
15
- if (_0x288d02 === _0x5a06c9)
11
+ const _0x28065d = parseInt(_0x4ba255(0x186)) / 0x1 * (-parseInt(_0x4ba255(0x1fb)) / 0x2) + -parseInt(_0x4ba255(0x273)) / 0x3 * (parseInt(_0x4ba255(0x150)) / 0x4) + parseInt(_0x4ba255(_0x4e1f87._0x2d0e7a)) / 0x5 * (-parseInt(_0x4ba255(0x205)) / 0x6) + -parseInt(_0x4ba255(0x1e9)) / 0x7 + -parseInt(_0x4ba255(_0x4e1f87._0x22cde3)) / 0x8 + -parseInt(_0x4ba255(_0x4e1f87._0x32803d)) / 0x9 + parseInt(_0x4ba255(0x20c)) / 0xa * (parseInt(_0x4ba255(_0x4e1f87._0xb73754)) / 0xb);
12
+ if (_0x28065d === _0x2a22b6)
16
13
  break;
17
14
  else
18
- _0x9dc8df['push'](_0x9dc8df['shift']());
19
- } catch (_0xe44de0) {
20
- _0x9dc8df['push'](_0x9dc8df['shift']());
15
+ _0x51ca58['push'](_0x51ca58['shift']());
16
+ } catch (_0x1a4276) {
17
+ _0x51ca58['push'](_0x51ca58['shift']());
21
18
  }
22
19
  }
23
- }(_0x4fb2, 0xd1eb9));
20
+ }(_0x4199, 0x99348));
24
21
  import { pathToFileURL } from 'node:url';
25
22
  import {
26
23
  mkdir,
@@ -30,109 +27,82 @@ import {
30
27
  writeFile
31
28
  } from 'node:fs/promises';
32
29
  import { homedir } from 'node:os';
33
- import _0x439f55 from 'node:path';
30
+ import _0x5e67bd from 'node:path';
34
31
  var DEFAULT_MAX_FILE_SIZE = 0x64 * 0x400 * 0x400, MIME_BY_EXTENSION = {
35
- '.csv': _0x6aa24e(0x226),
36
- '.gif': _0x6aa24e(0x103),
37
- '.jpeg': _0x6aa24e(0x207),
38
- '.jpg': _0x6aa24e(0x207),
39
- '.json': _0x6aa24e(0x181),
40
- '.md': _0x6aa24e(0x128),
41
- '.pdf': _0x6aa24e(0x1a9),
42
- '.png': _0x6aa24e(0x24e),
43
- '.svg': _0x6aa24e(0x15b),
44
- '.txt': _0x6aa24e(0x131),
45
- '.webp': _0x6aa24e(0x124),
46
- '.xml': _0x6aa24e(0x21b),
47
- '.zip': _0x6aa24e(0x1fe)
32
+ '.csv': _0x15d6d8(0x13a),
33
+ '.gif': _0x15d6d8(0x244),
34
+ '.jpeg': 'image/jpeg',
35
+ '.jpg': _0x15d6d8(0x1a3),
36
+ '.json': _0x15d6d8(0x12a),
37
+ '.md': 'text/markdown',
38
+ '.pdf': _0x15d6d8(0x14e),
39
+ '.png': 'image/png',
40
+ '.svg': _0x15d6d8(0x19d),
41
+ '.txt': _0x15d6d8(0x23d),
42
+ '.webp': _0x15d6d8(0x1c4),
43
+ '.xml': 'application/xml',
44
+ '.zip': 'application/zip'
48
45
  };
49
- function guessContentType(_0x556c57) {
50
- const _0x4e8545 = {
51
- _0x5559d7: 0x1b9,
52
- _0x24f1ee: 0x1b1
53
- }, _0x113286 = _0x6aa24e;
54
- return MIME_BY_EXTENSION[_0x439f55[_0x113286(_0x4e8545._0x5559d7)](_0x556c57)[_0x113286(0x199)]()] ?? _0x113286(_0x4e8545._0x24f1ee);
46
+ function guessContentType(_0xfe6095) {
47
+ const _0x16b3a0 = { _0x4aca58: 0x1b2 }, _0x4d8bb6 = _0x15d6d8;
48
+ return MIME_BY_EXTENSION[_0x5e67bd[_0x4d8bb6(0x27d)](_0xfe6095)[_0x4d8bb6(_0x16b3a0._0x4aca58)]()] ?? 'application/octet-stream';
55
49
  }
56
- function safeFilename(_0x1d1585) {
57
- const _0x23db86 = { _0x93b75b: 0x258 }, _0x3999c2 = _0x6aa24e;
58
- return _0x1d1585[_0x3999c2(_0x23db86._0x93b75b)](/[\\/]/g, '-');
50
+ function safeFilename(_0x429db5) {
51
+ const _0x31ccb4 = _0x15d6d8;
52
+ return _0x429db5[_0x31ccb4(0x27a)](/[\\/]/g, '-');
59
53
  }
60
- function extensionFor(_0x548651) {
61
- const _0x12c5e6 = { _0x94bf36: 0x23c }, _0x328f45 = _0x6aa24e, _0x3c5285 = Object['entries'](MIME_BY_EXTENSION)[_0x328f45(0x22f)](([, _0x53a401]) => _0x53a401 === _0x548651);
62
- return _0x3c5285?.[0x0] ?? _0x328f45(_0x12c5e6._0x94bf36);
54
+ function extensionFor(_0x5123a9) {
55
+ const _0x2443e2 = {
56
+ _0x59fa23: 0x23a,
57
+ _0x41c7f4: 0x160
58
+ }, _0x1c4845 = _0x15d6d8, _0x2743f4 = Object[_0x1c4845(_0x2443e2._0x59fa23)](MIME_BY_EXTENSION)[_0x1c4845(0x21e)](([, _0x50482c]) => _0x50482c === _0x5123a9);
59
+ return _0x2743f4?.[0x0] ?? _0x1c4845(_0x2443e2._0x41c7f4);
63
60
  }
64
- async function prepareUploadFile(_0x1bc7e6, _0x35585b = {}) {
65
- const _0x24806e = {
66
- _0x396962: 0x19e,
67
- _0x360f78: 0x150,
68
- _0x374e00: 0x19f,
69
- _0x411041: 0x172,
70
- _0x2907ec: 0x241
71
- }, _0x5c6303 = _0x6aa24e;
72
- if (!_0x439f55[_0x5c6303(_0x24806e._0x396962)](_0x1bc7e6))
73
- throw new Error(_0x5c6303(_0x24806e._0x360f78));
74
- const _0x4ead97 = await stat(_0x1bc7e6)[_0x5c6303(_0x24806e._0x374e00)](() => null);
75
- if (!_0x4ead97 || !_0x4ead97[_0x5c6303(0x156)]())
76
- throw new Error(_0x5c6303(0x1e7) + _0x1bc7e6);
77
- const _0x4c36a9 = _0x35585b[_0x5c6303(_0x24806e._0x411041)] ?? DEFAULT_MAX_FILE_SIZE;
78
- if (_0x4ead97[_0x5c6303(0x1dd)] > _0x4c36a9)
79
- throw new Error(_0x5c6303(0x242) + _0x4ead97[_0x5c6303(0x1dd)]);
80
- const _0x35f3b1 = await readFile(_0x1bc7e6), _0x2ad215 = _0x439f55['basename'](_0x1bc7e6);
61
+ async function prepareUploadFile(_0x2d4983, _0x3223aa = {}) {
62
+ const _0x584610 = {
63
+ _0x5a9cfb: 0x297,
64
+ _0x3d35ce: 0x1b5,
65
+ _0x51b64c: 0x1b5
66
+ }, _0x4aeb82 = _0x15d6d8;
67
+ if (!_0x5e67bd['isAbsolute'](_0x2d4983))
68
+ throw new Error('file_path\x20must\x20be\x20an\x20absolute\x20path');
69
+ const _0xa34989 = await stat(_0x2d4983)[_0x4aeb82(0x198)](() => null);
70
+ if (!_0xa34989 || !_0xa34989['isFile']())
71
+ throw new Error(_0x4aeb82(0x1dd) + _0x2d4983);
72
+ const _0x2a8c11 = _0x3223aa[_0x4aeb82(_0x584610._0x5a9cfb)] ?? DEFAULT_MAX_FILE_SIZE;
73
+ if (_0xa34989[_0x4aeb82(_0x584610._0x3d35ce)] > _0x2a8c11)
74
+ throw new Error(_0x4aeb82(0x21b) + _0xa34989[_0x4aeb82(_0x584610._0x51b64c)]);
75
+ const _0x1619b5 = await readFile(_0x2d4983), _0x43faf9 = _0x5e67bd[_0x4aeb82(0x164)](_0x2d4983);
81
76
  return {
82
- 'contentBase64': _0x35f3b1[_0x5c6303(0x167)](_0x5c6303(_0x24806e._0x2907ec)),
83
- 'contentType': guessContentType(_0x2ad215),
84
- 'filename': _0x2ad215,
85
- 'sizeBytes': _0x4ead97['size']
77
+ 'contentBase64': _0x1619b5['toString'](_0x4aeb82(0x230)),
78
+ 'contentType': guessContentType(_0x43faf9),
79
+ 'filename': _0x43faf9,
80
+ 'sizeBytes': _0xa34989[_0x4aeb82(_0x584610._0x3d35ce)]
86
81
  };
87
82
  }
88
- function _0x3431(_0x4092ac, _0x4ee71f) {
89
- _0x4092ac = _0x4092ac - 0xfc;
90
- const _0x4fb22d = _0x4fb2();
91
- let _0x34319e = _0x4fb22d[_0x4092ac];
92
- if (_0x3431['fDPfez'] === undefined) {
93
- var _0x286052 = function (_0x2f97da) {
94
- const _0x48c9a0 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
95
- let _0x439f55 = '', _0x556c57 = '';
96
- for (let _0x1d1585 = 0x0, _0x548651, _0x3c5285, _0x53a401 = 0x0; _0x3c5285 = _0x2f97da['charAt'](_0x53a401++); ~_0x3c5285 && (_0x548651 = _0x1d1585 % 0x4 ? _0x548651 * 0x40 + _0x3c5285 : _0x3c5285, _0x1d1585++ % 0x4) ? _0x439f55 += String['fromCharCode'](0xff & _0x548651 >> (-0x2 * _0x1d1585 & 0x6)) : 0x0) {
97
- _0x3c5285 = _0x48c9a0['indexOf'](_0x3c5285);
98
- }
99
- for (let _0x1bc7e6 = 0x0, _0x35585b = _0x439f55['length']; _0x1bc7e6 < _0x35585b; _0x1bc7e6++) {
100
- _0x556c57 += '%' + ('00' + _0x439f55['charCodeAt'](_0x1bc7e6)['toString'](0x10))['slice'](-0x2);
101
- }
102
- return decodeURIComponent(_0x556c57);
103
- };
104
- _0x3431['hJkSPM'] = _0x286052, _0x3431['uxkzZu'] = {}, _0x3431['fDPfez'] = !![];
105
- }
106
- const _0x3749fd = _0x4fb22d[0x0], _0x2eff16 = _0x4092ac + _0x3749fd, _0x27d6b9 = _0x3431['uxkzZu'][_0x2eff16];
107
- return !_0x27d6b9 ? (_0x34319e = _0x3431['hJkSPM'](_0x34319e), _0x3431['uxkzZu'][_0x2eff16] = _0x34319e) : _0x34319e = _0x27d6b9, _0x34319e;
108
- }
109
- function createAttachmentCache(_0x574069 = {}) {
110
- const _0x4f979f = {
111
- _0x2bc9cb: 0x18d,
112
- _0x2aaef6: 0x13c,
113
- _0x3e7a1a: 0x12e
114
- }, _0x38a227 = {
115
- _0x6ca472: 0x100,
116
- _0x4853ee: 0x240,
117
- _0x16cdc1: 0x100,
118
- _0x538658: 0x208,
119
- _0x11a37e: 0x165,
120
- _0x98d294: 0x13c,
121
- _0x127eee: 0x193
122
- }, _0x351719 = _0x6aa24e, _0x5d52fc = _0x574069[_0x351719(_0x4f979f._0x2bc9cb)] ?? _0x439f55[_0x351719(_0x4f979f._0x2aaef6)](homedir(), '.slock', _0x351719(_0x4f979f._0x3e7a1a));
83
+ function createAttachmentCache(_0x3e7efd = {}) {
84
+ const _0x52bb2c = {
85
+ _0x234a16: 0x1b9,
86
+ _0x4e3861: 0x26a,
87
+ _0x5cb0d8: 0x2a1
88
+ }, _0x3b0a9d = {
89
+ _0x17ef56: 0x13e,
90
+ _0x257c97: 0x13e,
91
+ _0x21220b: 0x153
92
+ }, _0xcab1c0 = _0x15d6d8, _0x218ee6 = _0x3e7efd[_0xcab1c0(_0x52bb2c._0x234a16)] ?? _0x5e67bd[_0xcab1c0(0x15d)](homedir(), _0xcab1c0(_0x52bb2c._0x4e3861), _0xcab1c0(_0x52bb2c._0x5cb0d8));
123
93
  return {
124
- 'cacheDir': _0x5d52fc,
125
- async 'findCachedPath'(_0x5b96c6) {
126
- const _0x5874ea = _0x351719;
127
- await mkdir(_0x5d52fc, { 'recursive': !![] });
128
- const _0x2f603e = await readdir(_0x5d52fc), _0x181064 = _0x2f603e[_0x5874ea(0x22f)](_0xee184a => _0xee184a[_0x5874ea(0x1d0)](_0x5b96c6 + '-') || _0xee184a[_0x5874ea(0x1d0)](_0x5b96c6));
129
- return _0x181064 ? _0x439f55[_0x5874ea(0x13c)](_0x5d52fc, _0x181064) : null;
94
+ 'cacheDir': _0x218ee6,
95
+ async 'findCachedPath'(_0x2ed894) {
96
+ const _0x1eaab1 = _0xcab1c0;
97
+ await mkdir(_0x218ee6, { 'recursive': !![] });
98
+ const _0x4a2a8e = await readdir(_0x218ee6), _0x257746 = _0x4a2a8e['find'](_0x27db84 => _0x27db84['startsWith'](_0x2ed894 + '-') || _0x27db84[_0x1eaab1(0x215)](_0x2ed894));
99
+ return _0x257746 ? _0x5e67bd['join'](_0x218ee6, _0x257746) : null;
130
100
  },
131
- async 'save'(_0x247362) {
132
- const _0x33d170 = _0x351719;
133
- await mkdir(_0x5d52fc, { 'recursive': !![] });
134
- const _0x39f78d = _0x247362[_0x33d170(_0x38a227._0x6ca472)]?.[_0x33d170(_0x38a227._0x4853ee)]() ? safeFilename(_0x247362[_0x33d170(_0x38a227._0x16cdc1)]) : '' + _0x247362[_0x33d170(_0x38a227._0x538658)] + extensionFor(_0x247362[_0x33d170(_0x38a227._0x11a37e)]), _0x52f62f = _0x439f55[_0x33d170(_0x38a227._0x98d294)](_0x5d52fc, _0x247362['attachmentId'] + '-' + _0x39f78d);
135
- return await writeFile(_0x52f62f, _0x247362[_0x33d170(_0x38a227._0x127eee)]), _0x52f62f;
101
+ async 'save'(_0x4355dc) {
102
+ const _0x31293d = _0xcab1c0;
103
+ await mkdir(_0x218ee6, { 'recursive': !![] });
104
+ const _0x21bcd = _0x4355dc['originalFilename']?.[_0x31293d(0x269)]() ? safeFilename(_0x4355dc['originalFilename']) : '' + _0x4355dc[_0x31293d(_0x3b0a9d._0x17ef56)] + extensionFor(_0x4355dc['contentType']), _0x505ebe = _0x5e67bd[_0x31293d(0x15d)](_0x218ee6, _0x4355dc[_0x31293d(_0x3b0a9d._0x257c97)] + '-' + _0x21bcd);
105
+ return await writeFile(_0x505ebe, _0x4355dc[_0x31293d(_0x3b0a9d._0x21220b)]), _0x505ebe;
136
106
  }
137
107
  };
138
108
  }
@@ -140,2144 +110,1793 @@ import {
140
110
  createHash,
141
111
  randomUUID
142
112
  } from 'node:crypto';
143
- var UNSUPPORTED_TARGET_MESSAGE = _0x6aa24e(0x1fa);
144
- function ensureSegment(_0x233a4b) {
145
- const _0x1e8c51 = { _0x136373: 0x240 }, _0x4850a3 = _0x6aa24e, _0x47c602 = _0x233a4b[_0x4850a3(_0x1e8c51._0x136373)]();
146
- if (!_0x47c602 || _0x47c602[_0x4850a3(0x10f)](':'))
113
+ var UNSUPPORTED_TARGET_MESSAGE = _0x15d6d8(0x207);
114
+ function ensureSegment(_0x46d629) {
115
+ const _0x49a5f2 = {
116
+ _0x319679: 0x269,
117
+ _0x33e1e8: 0x135
118
+ }, _0x4a6222 = _0x15d6d8, _0x35f431 = _0x46d629[_0x4a6222(_0x49a5f2._0x319679)]();
119
+ if (!_0x35f431 || _0x35f431[_0x4a6222(_0x49a5f2._0x33e1e8)](':'))
147
120
  throw new Error(UNSUPPORTED_TARGET_MESSAGE);
148
- return _0x47c602;
121
+ return _0x35f431;
149
122
  }
150
- function parseThreadParts(_0x26a753) {
151
- const _0x47f083 = { _0x213cbc: 0x1a6 }, _0x4c0a2a = _0x6aa24e, _0x177a65 = _0x26a753[_0x4c0a2a(0x24f)](':');
152
- if (_0x177a65[_0x4c0a2a(0x1a6)] < 0x1 || _0x177a65[_0x4c0a2a(_0x47f083._0x213cbc)] > 0x2)
123
+ function parseThreadParts(_0x24bd8f) {
124
+ const _0x1d97c8 = {
125
+ _0x41c8b4: 0x197,
126
+ _0x23ddf8: 0x190
127
+ }, _0x2cb299 = _0x15d6d8, _0x2ff131 = _0x24bd8f[_0x2cb299(_0x1d97c8._0x41c8b4)](':');
128
+ if (_0x2ff131[_0x2cb299(_0x1d97c8._0x23ddf8)] < 0x1 || _0x2ff131['length'] > 0x2)
153
129
  throw new Error(UNSUPPORTED_TARGET_MESSAGE);
154
130
  return {
155
- 'channelName': ensureSegment(_0x177a65[0x0] ?? ''),
156
- 'threadShortId': _0x177a65[0x1] ? ensureSegment(_0x177a65[0x1]) : null
131
+ 'channelName': ensureSegment(_0x2ff131[0x0] ?? ''),
132
+ 'threadShortId': _0x2ff131[0x1] ? ensureSegment(_0x2ff131[0x1]) : null
157
133
  };
158
134
  }
159
- function _0x4fb2() {
160
- const _0x56faf6 = [
161
- 'yxv0BZO',
162
- 'yxr0ywnOBwvUDf9Pzhm',
163
- 'DgfZA0LK',
164
- 'v29YA2vYia',
165
- 'Bg93',
166
- 'DgfZAW',
167
- 'CMvZCg9UC2u',
168
- 'BMv4Df9ZDgvWCW',
169
- 'y2XHAw1FDgfZA3m',
170
- 'zgLNzxn0',
171
- 'ChvZAa',
172
- 'B3jPz2LUywXgAwXLBMfTzq',
173
- 'ChvIBgLJ',
174
- 'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
175
- 'Aw1Hz2uVz2LM',
176
- 'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
177
- 'DxbSB2fKuhjLCgfYzxi',
178
- 'y2HLy2TFBwvZC2fNzxmGzMfPBgvK',
179
- 'y2HHBM5LBe5HBwu',
180
- 'D29YA19RzxK',
181
- 'D29YA2vYtw9KzuvUywjSzwq',
182
- 'yxr0ywnOBwvUDf9Pza',
183
- 'ywjVCNrLza',
184
- 'B3bLBL9PC3n1zxm',
185
- 'CMvZDw1Lx3bHy2TLDa',
186
- 'ls13B3jRzxiTC2vZC2LVBI1Pza',
187
- 'Aw5JBhvKzxm',
188
- 'BMv4Den1CNnVCG',
189
- 'zMfSC2u',
190
- 'Dw5JBgfPBv90yxnR',
191
- 'BNvTyMvY',
192
- 'Dg9VBa',
193
- 'C3rYAw5NAwz5',
194
- 'l3rHC2TZ',
195
- 'BM93',
196
- 'D29YA2vYsgfUzg9MzJ10CNvL',
197
- 'Dw5JBgfPBvrHC2S',
198
- 'ls1KywvTB24TBg9JywWTDxjS',
199
- 'zg9Uzq',
200
- 'CgfYDgLJAxbHBNq',
201
- 'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
202
- 'iYmJiefNzw50CW',
203
- 'DgHYzwfKvgfYz2v0',
204
- 'AxnbCNjHEq',
205
- 'BwvZC2fNzuLK',
206
- 'ls13B3jRzxiTDgHYzwfKlxrHCMDLDa',
207
- 'zxnJywXHDgvFDg9FBwfPBG',
208
- 'Aw1Hz2uVD2vICa',
209
- 'AgLNAa',
210
- 'w3nLCt0',
211
- 'r0vu',
212
- 'Dgv4Dc9TyxjRzg93BG',
213
- 'nde2mJGYz2rKtgfg',
214
- 'D3m6',
215
- 'C2v0',
216
- 'DxnLCG',
217
- 'zgvJAxnPB25Z',
218
- 'yxr0ywnOBwvUDhm',
219
- 'mti4ody0menqrMnQva',
220
- 't3jPz2LUywWGBwvZC2fNztOG',
221
- 'Dgv4Dc9WBgfPBG',
222
- 'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
223
- 'mJbVC1z1Bgu',
224
- 'DMLZAwjPBgL0Eq',
225
- 'uMvSzwfZzsbHignSywLTzwqGDgfZAYbIEsbJAgfUBMvSigfUzcb0yxnRig51BwjLCI4',
226
- 'ANnVBG',
227
- 'zMLUAxnOx3DVCMTLCG',
228
- 'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
229
- 'DxbSB2fKx2zPBguGzMfPBgvK',
230
- 'y2HLy2TFBwvZC2fNzxm',
231
- 'zg93BMXVywrbDhrHy2HTzw50',
232
- 'AM9PBG',
233
- 'y3jLyxrLx3rHC2TZigzHAwXLza',
234
- 'yxjNDG',
235
- 'DgHYzwfKu2HVCNrjza',
236
- 'AgvHzgvYCW',
237
- 'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
238
- 'l3DVCMTLCNmVD2fPDgLUz19PBNb1Da',
239
- 'Bwv0yq',
240
- 'y3vYC29Y',
241
- 'l3nLBMq',
242
- 'DgfZAY0',
243
- 'zNjVBq',
244
- 'zgfLBw9Utg9JywXvCMW',
245
- 'DMfSDwu',
246
- 'BgLTAxq',
247
- 'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
248
- 'C2vUze1LC3nHz2u',
249
- 'tM8GDgfZA3mGzM91BMqU',
250
- 'D29YA2vYigHHBMrVzMyGzMfPBgvK',
251
- 'rg93BMXVywrLzcb0BZOG',
252
- 'zMLSzv9WyxrOig11C3qGyMuGyw4GywjZB2X1DguGCgf0Aa',
253
- 'BgLZDf90yxnRCW',
254
- 'y29TCgXLDgvK',
255
- 'l3DVCMTLCNmVzxnJywXHDgu',
256
- 'BgLZDf90yxnRCYbMywLSzwq',
257
- '6k+35Rgcia',
258
- 'AxngAwXL',
259
- 'BwfW',
260
- 'AxnjBNrLz2vY',
261
- 'yxjYyxK',
262
- 'DxbKyxrL',
263
- 'Aw1Hz2uVC3zNk3HTBa',
264
- 'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
265
- 'CgfYDgLJAxbHBNrjza',
266
- 'Bwf0y2Hoyw1Ltg93zxi',
267
- 'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
268
- 'zxjYB3i',
269
- 'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
270
- 'D29YA2vYsgfUzg9MzJ1MywXZzsbLCNjVCJ0',
271
- 'C3rVCe1HAw49Dhj1zsbLEgvJDxrPB25nB2rLpxDVCMTLCG',
272
- 'DgHYzwfKx3rHCMDLDa',
273
- 'y29UDgvUDfr5Cgu',
274
- 'y29UDgvUDc10ExbL',
275
- 'Dg9tDhjPBMC',
276
- 'AwrLBxbVDgvUy3LFA2v5',
277
- 'Dw5JBgfPBv90yxnRigzHAwXLza',
278
- 'mtvQA2rJy3i',
279
- 'C2vUzgvYtMfTzq',
280
- 'zxHWAxjLC0f0',
281
- 'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
282
- 'zMv0y2HjBxbS',
283
- 'l2LUDgvYBMfSl2fNzw50lW',
284
- 'yxr0ywnOBwvUDeLKCW',
285
- 'u2vUzcbHig1LC3nHz2uGDg8GysbJAgfUBMvSig9YiernlIbszxvZzsb0AguGzxHHy3qGDgfYz2v0ihn0CMLUzYbMCM9TigLUy29TAw5Nig1LC3nHz2vZoYb0AhjLywqGDgfYz2v0CYb1C2uGDgHLihnHBwuGzMLLBgqU',
286
- 'Bwf4rMLSzvnPEMvcExrLCW',
287
- 'y3jLyxrLx3rHC2TZ',
288
- 'yxjYyxLcDwzMzxi',
289
- 'twvZC2fNzsbZzw50ihrVia',
290
- 'Agv4',
291
- 'C2XPy2u',
292
- 'ywDNCMvNyxrLswq',
293
- 'CMvHC29U',
294
- 'DgfYz2v0',
295
- 'l3DVCMTLCNmVzgvSAxzLCG',
296
- 'zgvZy3jPChrPB24',
297
- 'Bwf0y2Hoyw1L',
298
- 'lsaJ',
299
- 'y29UBMvJDa',
300
- 'C2LNBMfS',
301
- 'yxbWBgLJyxrPB24VANnVBG',
302
- 'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
303
- 'zg0T',
304
- 'DgHYzwfKswq',
305
- 'C2f2zq',
306
- 'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
307
- 'y2XHAw0GzMfPBgvK',
308
- 'ywz0zxjtzxe',
309
- 'vgHYzwfKihrHCMDLDdOG',
310
- 'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
311
- 'zg06',
312
- 'C2vZC2LVBKLK',
313
- 'y2fJAgveAxi',
314
- 'ignSywLTzwq',
315
- 'AgfZ',
316
- 'BwvTyMvYCW',
317
- 'DgfYz2v0zwq',
318
- 'C3rVCe1HAw49Dhj1zq',
319
- 'zgf0yq',
320
- 'EM9K',
321
- 'yM9KEvrLEhq',
322
- 'z2v0x3DVCMTLCL9Yzxn1Bhq',
323
- 'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
324
- 'ls1Zzxj2zxiTDxjS',
325
- 'Dg9mB3DLCKnHC2u',
326
- 'ndaWntuXmhfvDwPmvW',
327
- 'DgfZA19Pza',
328
- 'uefuq0G',
329
- 'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
330
- 'AxnbyNnVBhv0zq',
331
- 'y2f0y2G',
332
- 'Aw5PDgLHBeXHC3rtzwvUu2vX',
333
- 'y2HHBM5LBeLK',
334
- 'nZq4mdm2mgnqwwzAyq',
335
- 'C29Tzq',
336
- 'icHPzdO',
337
- 'BMfTzq',
338
- 'BgvUz3rO',
339
- 'l2zPBMLZAa',
340
- 'CMvHzf9OAxn0B3j5',
341
- 'yxbWBgLJyxrPB24VCgrM',
342
- 'ls1Hz2vUDc1Pza',
343
- 'z2v0',
344
- 'offktMvwAG',
345
- 'AgfZtw9Yzq',
346
- 'BgLZDf9Zzxj2zxi',
347
- 'ioI/LowBNUs6HUMDNIbku09oiowtJEw6Lo+8Ihn0yxr1CZ0',
348
- 'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
349
- 'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
350
- 'Dgv4Da',
351
- 'CMvHzeHPC3rVCNK',
352
- 'z2v0tw9UDgG',
353
- 'C2vYDMvY',
354
- 'Dw5RBM93BG',
355
- 'DgHYzwfK',
356
- 'y2XPzw50',
357
- 'zxH0BMfTzq',
358
- 'DxbSB2fKrMLSzq',
359
- 'CMvZB2X2zvrHCMDLDa',
360
- 'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
361
- 'Dg9mB2nHBgvmB3DLCKnHC2u',
362
- 'zMLUAxnOx3DVCMTLCIbMywLSzwq',
363
- 'z2v0u2vJB25KCW',
364
- 'D29YA2vYsgfUzg9MzKvYCM9Y',
365
- 'C3rYAw5N',
366
- 'C2vUzgvYvhLWzq',
367
- 'yMvMB3jL',
368
- 'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
369
- 'BwfYA193ywL0Aw5Nx2LUChv0',
370
- 'y2HHBM5LBhm',
371
- 'C2vUzgvYugfYDgLJAxbHBNrjza',
372
- 'DgHYzwfKtNvTyMvY',
373
- 'sfruuca',
374
- 'zw51Bq',
375
- 'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
376
- 'pgvTChr5pG',
377
- 'mJKZode2mdvxCufOEM0',
378
- 'DxbKyxrLvgfZA1n0yxr1CW',
379
- 'ywz0zxi',
380
- 'C3rHCNrZv2L0Aa',
381
- 'CMvHzf9OAxn0B3j5igzHAwXLza',
382
- 'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
383
- 'CxvLDwvK',
384
- 'AhvTyw4',
385
- 'D29YA2vYu2vZC2LVBKLK',
386
- 'zMLUzenHy2HLzfbHDgG',
387
- 'C3vTBwfYEq',
388
- 'BgLZDfrHC2TZ',
389
- 'C2nOzwr1BgvKrM9Y',
390
- 'l3jLy2vPDMu',
391
- 'rMLSzsb1CgXVywrLzdOG',
392
- 'ywjVCNq',
393
- 'C2L6zq',
394
- 'zMLSzw5HBwu',
395
- 'zw50CMLLCW',
396
- 'Dg9gAxHLza',
397
- 'ywXS',
398
- 'y29UDgvUDejHC2u2na',
399
- 'ywrK',
400
- 'iJOGC3rHDhvZpq',
401
- 'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
402
- 'zw50zxiTAgfUzg9MzIbMywLSzwq',
403
- 'rMLSzsbUB3qGzM91BMq6ia',
404
- 'm0r3uLLnDW',
405
- 'uM9VDcb0yxnRig1LC3nHz2u6cG',
406
- 'zMLSDgvY',
407
- 'ChjVDg9JB2W',
408
- 'AhvTyw5Z',
409
- 'D29YA2vY',
410
- 'vgfZAZOG',
411
- 'C2vYDMvYtMfTzq',
412
- 'CMvZDwX0CW',
413
- 'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
414
- 'lsba',
415
- 'zMLSzv9WyxrO',
416
- 'y2XHAw1FDgfZA3mGzMfPBgvK',
417
- 'DgfZA3m',
418
- 'z2v0rNvSBfLLyxi',
419
- 'yMXVy2TLza',
420
- 'AxngAw5PDgu',
421
- 'Cgf5Bg9HzePZB24',
422
- 'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
423
- 'igzHAwXLzdOG',
424
- 'C2vX',
425
- 'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
426
- 'yxbWBgLJyxrPB24VEMLW',
427
- 'ls1ZzxnZAw9UlwLK',
428
- 'y29UDgvUDa',
429
- 'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
430
- 'CNvUswq',
431
- 'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
432
- 'D29YA2vYCW',
433
- 'ue9tva',
434
- 'BwvZC2fNzxm',
435
- 'Aw1Hz2uVANbLzW',
436
- 'yxr0ywnOBwvUDeLK',
437
- 'z2v0x3DVCMTLCL9ZDgf0Dxm',
438
- 'zgvSzxrL',
439
- 'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
440
- 'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
441
- 'D3nZoG',
442
- 'zMfPBgvK',
443
- 'sgfUzg9MzIb0BYb3B3jRzxiGzM9YihrHC2SG',
444
- 'l3rHC2TZl3vUy2XHAw0',
445
- 'Bwf4',
446
- 'zgLZCg9ZAxrPB24',
447
- 'ig1LC3nHz2u9',
448
- 'twLZC2LUzYaTlwfNzw50lwLK',
449
- 'ywDLBNrjza',
450
- 'tM8GDgfZA3mGy3jLyxrLzc4',
451
- 'ihr5Cgu9ywDLBNq',
452
- 'C2vYDMvYvxjS',
453
- 'DgL0Bgu',
454
- 'DxbSB2fKx2zPBgu',
455
- 'yxbWBgLJyxrPB24VEg1S',
456
- 'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
457
- 'ywDNCMvNyxrLvhLWzq',
458
- 'DgvZDa',
459
- 'C2vUzf9TzxnZywDL',
460
- 'lcbWCMv2Awv3pq',
461
- 'DMLLD19MAwXL',
462
- 'ig1ZzZ0',
463
- 'A2LUza',
464
- 'l3nLCNzLCG',
465
- 'mtaYotq0otrzBgTYD3K',
466
- 'Dgv4Dc9JC3y',
467
- 'D29YA2vYrgLZCg9ZAxrPB24',
468
- 'rMLSzsbHBhjLywr5ignHy2HLzcbHDdOG',
469
- 'DMLLD19MAwXLigzHAwXLza',
470
- 'zgvZDhjVEwvK',
471
- 'DxrMoa',
472
- 'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
473
- 'w3rHCMDLDd0',
474
- 'CgfKu3rHCNq',
475
- 'zMLUza',
476
- 'B2jQzwn0',
477
- 'C2HHmJu2',
478
- 'ywrKrxzLBNrmAxn0zw5LCG',
479
- 'lIbnzxnZywDLieLeoIa',
480
- 'C29YDa',
481
- 'C3vJy2vZCW',
482
- 'DgHYzwfKvgfYz2v0pq',
483
- 'zxHLy3v0Aw9Utw9Kzq',
484
- 'zMLSzxnFy2HHBMDLza',
485
- 'ihrPBwu9',
486
- 'CM9VDe1LC3nHz2vjza',
487
- 'iYmJienOyw5UzwXZ',
488
- 'lMjPBG',
489
- 'yxr0ywnOBwvUDenHy2HL',
490
- 'l3rHC2TZpW',
491
- 'DhLWzq',
492
- 'DhjPBq',
493
- 'yMfZzty0',
494
- 'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
495
- 'AhjLzG',
496
- 'CMvZDwX0',
497
- 'C3rHCNrLza',
498
- 'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
499
- 'ywDNCMvNyxrLswrZ',
500
- 'ywDLBNq',
501
- 'C3rHDhvZ',
502
- 'DgfYz2v0zwruyxnR',
503
- 'BwvZC2fNzq',
504
- 'y3jLyxrLvgfZA3m',
505
- 'y2HHBM5LBfrHCMDLDa',
506
- 'Aw1Hz2uVCg5N',
507
- 'C3bSAxq',
508
- 'iYmJieH1BwfUCW',
509
- 'zMv0y2HuAw1LB3v0txm',
510
- 'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
511
- 'z2v0x3DVCMTLCL9ZDgf0DxmGzMfPBgvK',
512
- 'yM9KEu1HCMTKB3DU',
513
- 'DxbKyxrLx3rHC2TFC3rHDhvZ',
514
- 'v29YA2vYici',
515
- 'Dg9KBW',
516
- 'CMvWBgfJzq',
517
- 'ls13B3jRzxiTBw9Kzq',
518
- 'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
519
- 'zM9Yy2vszwzYzxnO',
520
- 'l2fWAs9HDhrHy2HTzw50CY8',
521
- 'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
522
- 'ls1KywvTB24TyxbPlwTLEq',
523
- 'kgXLz2fJEsK',
524
- 'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
525
- 'DgfZA051BwjLCG',
526
- 'y3jLyxrLzef0',
527
- 'mtm5odyZntfmtLz2zem',
528
- 'DxjNzw50',
529
- 'C2vUzf9TzxnZywDLigzHAwXLza',
530
- 'l3rHC2TZl2nSywLT',
531
- 'B3b0Aw9UywW',
532
- 'xsba',
533
- 'Aw5FCMv2Awv3',
534
- 'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
535
- 'CMvZDwX0sNnVBG',
536
- 'D29YA2vYtw9Kzq',
537
- 'C2L6zuj5DgvZ',
538
- 'Dg9ju09tDhjPBMC',
539
- 'y2HHBM5LBa',
540
- 'Ahr0Chm6',
541
- 'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
542
- 'zxHLy3v0Aw9Utw9Kzt0',
543
- 'BwLU',
544
- 'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
545
- 'ig1LC3nHz2vZkqOk',
546
- 'kg5VBMuP',
547
- 'iokaLca',
548
- 'ywDLBNrZ',
549
- 'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
550
- 'y2HHDa',
551
- 'Aw5FChjVz3jLC3m',
552
- 'BgLZDf9Zzxj2zxiGzMfPBgvK'
553
- ];
554
- _0x4fb2 = function () {
555
- return _0x56faf6;
556
- };
557
- return _0x4fb2();
558
- }
559
- function parseTarget(_0x44541d) {
560
- const _0xfb089c = {
561
- _0x3c1d76: 0x240,
562
- _0x113fc8: 0x177,
563
- _0x4d8cbf: 0x13f,
564
- _0x2eb263: 0x26f,
565
- _0x594d16: 0x107,
566
- _0x26959b: 0x13f,
567
- _0x2652e2: 0x1d0,
568
- _0x2c6862: 0x18b
569
- }, _0x2c6337 = _0x6aa24e, _0x4bb6cc = _0x44541d[_0x2c6337(_0xfb089c._0x3c1d76)]();
570
- if (!_0x4bb6cc)
135
+ function parseTarget(_0x64f36f) {
136
+ const _0x5528fe = {
137
+ _0x5f2b23: 0x263,
138
+ _0x3978e2: 0x13b,
139
+ _0x39a982: 0x13b,
140
+ _0x449732: 0x215,
141
+ _0x4ab642: 0x259,
142
+ _0x222380: 0x1f8,
143
+ _0x5ec508: 0x268
144
+ }, _0x4b9271 = _0x15d6d8, _0x48cebd = _0x64f36f[_0x4b9271(0x269)]();
145
+ if (!_0x48cebd)
571
146
  throw new Error(UNSUPPORTED_TARGET_MESSAGE);
572
- if (_0x4bb6cc[_0x2c6337(0x1d0)]('#')) {
573
- const _0xe2ef2c = parseThreadParts(_0x4bb6cc[_0x2c6337(_0xfb089c._0x113fc8)](0x1)), _0x5349f0 = '#' + _0xe2ef2c[_0x2c6337(0x107)];
574
- if (!_0xe2ef2c[_0x2c6337(_0xfb089c._0x4d8cbf)])
147
+ if (_0x48cebd[_0x4b9271(0x215)]('#')) {
148
+ const _0x4bc6ab = parseThreadParts(_0x48cebd[_0x4b9271(_0x5528fe._0x5f2b23)](0x1)), _0x489a6c = '#' + _0x4bc6ab['channelName'];
149
+ if (!_0x4bc6ab[_0x4b9271(0x13b)])
575
150
  return {
576
- 'channelName': _0xe2ef2c[_0x2c6337(0x107)],
577
- 'channelTarget': _0x5349f0,
578
- 'kind': _0x2c6337(_0xfb089c._0x2eb263),
579
- 'target': _0x5349f0
151
+ 'channelName': _0x4bc6ab['channelName'],
152
+ 'channelTarget': _0x489a6c,
153
+ 'kind': _0x4b9271(0x268),
154
+ 'target': _0x489a6c
580
155
  };
581
156
  return {
582
- 'channelName': _0xe2ef2c[_0x2c6337(_0xfb089c._0x594d16)],
583
- 'channelTarget': _0x5349f0,
584
- 'kind': _0x2c6337(0x1b7),
585
- 'target': _0x5349f0 + ':' + _0xe2ef2c[_0x2c6337(0x13f)],
586
- 'threadShortId': _0xe2ef2c[_0x2c6337(_0xfb089c._0x26959b)]
157
+ 'channelName': _0x4bc6ab[_0x4b9271(0x1f8)],
158
+ 'channelTarget': _0x489a6c,
159
+ 'kind': 'thread',
160
+ 'target': _0x489a6c + ':' + _0x4bc6ab[_0x4b9271(_0x5528fe._0x3978e2)],
161
+ 'threadShortId': _0x4bc6ab[_0x4b9271(_0x5528fe._0x39a982)]
587
162
  };
588
163
  }
589
- if (_0x4bb6cc['startsWith']('dm:')) {
590
- const _0x54ec93 = parseThreadParts(_0x4bb6cc[_0x2c6337(0x177)](0x3));
591
- if (!_0x54ec93[_0x2c6337(0x107)][_0x2c6337(_0xfb089c._0x2652e2)](_0x2c6337(0x183)))
164
+ if (_0x48cebd[_0x4b9271(_0x5528fe._0x449732)](_0x4b9271(0x258))) {
165
+ const _0x1395fa = parseThreadParts(_0x48cebd['slice'](0x3));
166
+ if (!_0x1395fa[_0x4b9271(0x1f8)]['startsWith'](_0x4b9271(_0x5528fe._0x4ab642)))
592
167
  throw new Error(UNSUPPORTED_TARGET_MESSAGE);
593
- const _0xc6c007 = _0x2c6337(_0xfb089c._0x2c6862) + _0x54ec93[_0x2c6337(0x107)];
594
- if (!_0x54ec93[_0x2c6337(0x13f)])
168
+ const _0x290cbe = _0x4b9271(0x258) + _0x1395fa[_0x4b9271(0x1f8)];
169
+ if (!_0x1395fa[_0x4b9271(0x13b)])
595
170
  return {
596
- 'channelName': _0x54ec93[_0x2c6337(_0xfb089c._0x594d16)],
597
- 'channelTarget': _0xc6c007,
598
- 'kind': _0x2c6337(0x26f),
599
- 'target': _0xc6c007
171
+ 'channelName': _0x1395fa[_0x4b9271(_0x5528fe._0x222380)],
172
+ 'channelTarget': _0x290cbe,
173
+ 'kind': _0x4b9271(_0x5528fe._0x5ec508),
174
+ 'target': _0x290cbe
600
175
  };
601
176
  return {
602
- 'channelName': _0x54ec93[_0x2c6337(0x107)],
603
- 'channelTarget': _0xc6c007,
177
+ 'channelName': _0x1395fa['channelName'],
178
+ 'channelTarget': _0x290cbe,
604
179
  'kind': 'thread',
605
- 'target': _0xc6c007 + ':' + _0x54ec93[_0x2c6337(0x13f)],
606
- 'threadShortId': _0x54ec93[_0x2c6337(0x13f)]
180
+ 'target': _0x290cbe + ':' + _0x1395fa[_0x4b9271(0x13b)],
181
+ 'threadShortId': _0x1395fa[_0x4b9271(_0x5528fe._0x3978e2)]
607
182
  };
608
183
  }
609
184
  throw new Error(UNSUPPORTED_TARGET_MESSAGE);
610
185
  }
611
- function asErrorMessage(_0x14b238, _0x2780d) {
612
- const _0x1a6bfe = _0x6aa24e;
613
- if (typeof _0x14b238 === 'string' && _0x14b238[_0x1a6bfe(0x240)]())
614
- return _0x14b238;
615
- return _0x2780d;
186
+ function _0x3844(_0x383972, _0x284cad) {
187
+ _0x383972 = _0x383972 - 0x11e;
188
+ const _0x419973 = _0x4199();
189
+ let _0x38441b = _0x419973[_0x383972];
190
+ if (_0x3844['HFsmfV'] === undefined) {
191
+ var _0x161da8 = function (_0x2d0bc1) {
192
+ const _0x3923fe = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
193
+ let _0x5e67bd = '', _0xfe6095 = '';
194
+ for (let _0x429db5 = 0x0, _0x5123a9, _0x2743f4, _0x50482c = 0x0; _0x2743f4 = _0x2d0bc1['charAt'](_0x50482c++); ~_0x2743f4 && (_0x5123a9 = _0x429db5 % 0x4 ? _0x5123a9 * 0x40 + _0x2743f4 : _0x2743f4, _0x429db5++ % 0x4) ? _0x5e67bd += String['fromCharCode'](0xff & _0x5123a9 >> (-0x2 * _0x429db5 & 0x6)) : 0x0) {
195
+ _0x2743f4 = _0x3923fe['indexOf'](_0x2743f4);
196
+ }
197
+ for (let _0x2d4983 = 0x0, _0x3223aa = _0x5e67bd['length']; _0x2d4983 < _0x3223aa; _0x2d4983++) {
198
+ _0xfe6095 += '%' + ('00' + _0x5e67bd['charCodeAt'](_0x2d4983)['toString'](0x10))['slice'](-0x2);
199
+ }
200
+ return decodeURIComponent(_0xfe6095);
201
+ };
202
+ _0x3844['ZTsBkI'] = _0x161da8, _0x3844['SmQLjy'] = {}, _0x3844['HFsmfV'] = !![];
203
+ }
204
+ const _0x2144f6 = _0x419973[0x0], _0x22ad2b = _0x383972 + _0x2144f6, _0xf5275c = _0x3844['SmQLjy'][_0x22ad2b];
205
+ return !_0xf5275c ? (_0x38441b = _0x3844['ZTsBkI'](_0x38441b), _0x3844['SmQLjy'][_0x22ad2b] = _0x38441b) : _0x38441b = _0xf5275c, _0x38441b;
616
206
  }
617
- function asRecord(_0x5dd923) {
618
- const _0x3b2ffa = _0x6aa24e;
619
- return typeof _0x5dd923 === _0x3b2ffa(0x230) && _0x5dd923 !== null ? _0x5dd923 : {};
207
+ function asErrorMessage(_0x1b3f64, _0x2c5414) {
208
+ const _0x3e879e = _0x15d6d8;
209
+ if (typeof _0x1b3f64 === _0x3e879e(0x140) && _0x1b3f64[_0x3e879e(0x269)]())
210
+ return _0x1b3f64;
211
+ return _0x2c5414;
620
212
  }
621
- function stableStringify(_0x23f4ac) {
622
- const _0x3e4645 = {
623
- _0x5a2e1e: 0x230,
624
- _0x35e4d2: 0x115,
625
- _0x204638: 0x120,
626
- _0x45a047: 0x157,
627
- _0x1fce9c: 0x1df
628
- }, _0x21e1ce = _0x6aa24e;
629
- if (_0x23f4ac === null || typeof _0x23f4ac !== _0x21e1ce(_0x3e4645._0x5a2e1e))
630
- return JSON[_0x21e1ce(_0x3e4645._0x35e4d2)](_0x23f4ac);
631
- if (Array[_0x21e1ce(_0x3e4645._0x204638)](_0x23f4ac))
632
- return '[' + _0x23f4ac[_0x21e1ce(_0x3e4645._0x45a047)](_0x47936d => stableStringify(_0x47936d))[_0x21e1ce(0x13c)](',') + ']';
633
- const _0x1147ff = Object[_0x21e1ce(_0x3e4645._0x1fce9c)](_0x23f4ac)[_0x21e1ce(0x1ea)](([, _0x42ab38]) => _0x42ab38 !== void 0x0)['sort'](([_0x42c8e4], [_0x797809]) => _0x42c8e4['localeCompare'](_0x797809))[_0x21e1ce(0x157)](([_0x303c6d, _0x44f8f8]) => JSON[_0x21e1ce(0x115)](_0x303c6d) + ':' + stableStringify(_0x44f8f8));
634
- return '{' + _0x1147ff[_0x21e1ce(0x13c)](',') + '}';
213
+ function asRecord(_0x1bde71) {
214
+ const _0x213c74 = _0x15d6d8;
215
+ return typeof _0x1bde71 === _0x213c74(0x20e) && _0x1bde71 !== null ? _0x1bde71 : {};
635
216
  }
636
- function createHeaders(_0x17faff) {
217
+ function stableStringify(_0x10b8da) {
218
+ const _0xb37a88 = {
219
+ _0x2675bd: 0x20e,
220
+ _0x5f2117: 0x15d,
221
+ _0xe361: 0x1a7,
222
+ _0x28707b: 0x15d
223
+ }, _0x39e887 = _0x15d6d8;
224
+ if (_0x10b8da === null || typeof _0x10b8da !== _0x39e887(_0xb37a88._0x2675bd))
225
+ return JSON[_0x39e887(0x14b)](_0x10b8da);
226
+ if (Array['isArray'](_0x10b8da))
227
+ return '[' + _0x10b8da[_0x39e887(0x208)](_0x47d4a9 => stableStringify(_0x47d4a9))[_0x39e887(_0xb37a88._0x5f2117)](',') + ']';
228
+ const _0x5bbeb1 = Object[_0x39e887(0x23a)](_0x10b8da)[_0x39e887(_0xb37a88._0xe361)](([, _0x1f9422]) => _0x1f9422 !== void 0x0)['sort'](([_0xfdd987], [_0x3f50ac]) => _0xfdd987[_0x39e887(0x1d6)](_0x3f50ac))[_0x39e887(0x208)](([_0x117e51, _0x266b49]) => JSON[_0x39e887(0x14b)](_0x117e51) + ':' + stableStringify(_0x266b49));
229
+ return '{' + _0x5bbeb1[_0x39e887(_0xb37a88._0x28707b)](',') + '}';
230
+ }
231
+ function createHeaders(_0x1e2b64) {
232
+ const _0x2832a5 = { _0x5f04bf: 0x12a }, _0x48a60c = _0x15d6d8;
637
233
  return {
638
- 'Content-Type': 'application/json',
639
- 'x-daemon-api-key': _0x17faff
234
+ 'Content-Type': _0x48a60c(_0x2832a5._0x5f04bf),
235
+ 'x-daemon-api-key': _0x1e2b64
640
236
  };
641
237
  }
642
- function toHttpBaseUrl(_0xe70180) {
643
- const _0x47a4e1 = {
644
- _0x2ed3e3: 0x1eb,
645
- _0x39c699: 0x1eb,
646
- _0x371236: 0x270,
647
- _0x8971a6: 0x258
648
- }, _0xc6a12c = _0x6aa24e, _0x567bb5 = new URL(_0xe70180);
649
- if (_0x567bb5[_0xc6a12c(_0x47a4e1._0x2ed3e3)] === _0xc6a12c(0x12a))
650
- _0x567bb5['protocol'] = 'http:';
238
+ function toHttpBaseUrl(_0x72e409) {
239
+ const _0x39e7c4 = {
240
+ _0x2054e0: 0x1a2,
241
+ _0x4a3748: 0x22e,
242
+ _0x5d2516: 0x27a
243
+ }, _0x21508e = _0x15d6d8, _0x1f1ae0 = new URL(_0x72e409);
244
+ if (_0x1f1ae0[_0x21508e(0x22e)] === 'ws:')
245
+ _0x1f1ae0[_0x21508e(0x22e)] = _0x21508e(0x29a);
651
246
  else
652
- _0x567bb5[_0xc6a12c(_0x47a4e1._0x39c699)] === _0xc6a12c(0x20d) && (_0x567bb5[_0xc6a12c(_0x47a4e1._0x2ed3e3)] = _0xc6a12c(_0x47a4e1._0x371236));
653
- return _0x567bb5['toString']()[_0xc6a12c(_0x47a4e1._0x8971a6)](/\/$/, '');
247
+ _0x1f1ae0[_0x21508e(0x22e)] === _0x21508e(_0x39e7c4._0x2054e0) && (_0x1f1ae0[_0x21508e(_0x39e7c4._0x4a3748)] = _0x21508e(0x18e));
248
+ return _0x1f1ae0[_0x21508e(0x1f9)]()[_0x21508e(_0x39e7c4._0x5d2516)](/\/$/, '');
654
249
  }
655
- function isMentionBoundary(_0x230f1d) {
656
- const _0x161515 = { _0x4ee6a5: 0x21e }, _0x40a588 = _0x6aa24e;
657
- return !_0x230f1d || /\s|[([{'",。!?、:;]/[_0x40a588(_0x161515._0x4ee6a5)](_0x230f1d);
250
+ function isMentionBoundary(_0x22a2ff) {
251
+ const _0x25eda3 = { _0x2f3b09: 0x184 }, _0x93cce6 = _0x15d6d8;
252
+ return !_0x22a2ff || /\s|[([{'",。!?、:;]/[_0x93cce6(_0x25eda3._0x2f3b09)](_0x22a2ff);
658
253
  }
659
- function isMentionTerminal(_0x5c3b3a) {
660
- return !_0x5c3b3a || /\s|[)\]}'",。!?、:;,.!?]/['test'](_0x5c3b3a);
254
+ function isMentionTerminal(_0x5b2761) {
255
+ return !_0x5b2761 || /\s|[)\]}'",。!?、:;,.!?]/['test'](_0x5b2761);
661
256
  }
662
- function buildMatchableEntries(_0x59c954) {
663
- const _0x3e1a19 = {
664
- _0x191873: 0x278,
665
- _0x573796: 0x1a5,
666
- _0x2f27df: 0xff
667
- }, _0x552aa3 = _0x6aa24e, _0x305937 = [];
668
- for (const _0x24b87d of [
669
- ..._0x59c954[_0x552aa3(_0x3e1a19._0x191873)],
670
- ..._0x59c954['humans']
257
+ function buildMatchableEntries(_0x1dcec4) {
258
+ const _0x5af7f6 = {
259
+ _0x44bb5b: 0x14d,
260
+ _0x47758d: 0x12e,
261
+ _0x350624: 0x130
262
+ }, _0x38dcd9 = _0x15d6d8, _0x2290ac = [];
263
+ for (const _0x2601d7 of [
264
+ ..._0x1dcec4[_0x38dcd9(_0x5af7f6._0x44bb5b)],
265
+ ..._0x1dcec4['humans']
671
266
  ]) {
672
- _0x305937['push']({
673
- 'matchName': _0x24b87d[_0x552aa3(_0x3e1a19._0x573796)],
674
- 'matchNameLower': _0x24b87d['name'][_0x552aa3(0x1bd)](),
675
- 'participantId': _0x24b87d['id']
676
- }), _0x24b87d['id'] !== _0x24b87d[_0x552aa3(0x1a5)] && _0x305937[_0x552aa3(_0x3e1a19._0x2f27df)]({
677
- 'matchName': _0x24b87d['id'],
678
- 'matchNameLower': _0x24b87d['id']['toLocaleLowerCase'](),
679
- 'participantId': _0x24b87d['id']
267
+ _0x2290ac[_0x38dcd9(_0x5af7f6._0x47758d)]({
268
+ 'matchName': _0x2601d7[_0x38dcd9(0x130)],
269
+ 'matchNameLower': _0x2601d7['name'][_0x38dcd9(0x1ee)](),
270
+ 'participantId': _0x2601d7['id']
271
+ }), _0x2601d7['id'] !== _0x2601d7[_0x38dcd9(_0x5af7f6._0x350624)] && _0x2290ac[_0x38dcd9(0x12e)]({
272
+ 'matchName': _0x2601d7['id'],
273
+ 'matchNameLower': _0x2601d7['id']['toLocaleLowerCase'](),
274
+ 'participantId': _0x2601d7['id']
680
275
  });
681
276
  }
682
- return _0x305937;
277
+ return _0x2290ac;
683
278
  }
684
- function extractMentionedParticipantIds(_0x5246f6, _0x3a1f92) {
685
- const _0x410c11 = {
686
- _0x1e7865: 0x1a6,
687
- _0x1006a9: 0x22f,
688
- _0x4909d4: 0x18f,
689
- _0x3f1b07: 0xff,
690
- _0x1b1b1e: 0x15d
691
- }, _0x156f14 = _0x6aa24e, _0x27852a = buildMatchableEntries(_0x3a1f92)[_0x156f14(0x234)]((_0x3a693d, _0x2ab54a) => _0x2ab54a['matchName'][_0x156f14(0x1a6)] - _0x3a693d[_0x156f14(0x17d)][_0x156f14(0x1a6)]), _0x1cebd1 = [], _0x56d46a = new Set();
692
- for (let _0x4204aa = 0x0; _0x4204aa < _0x5246f6[_0x156f14(_0x410c11._0x1e7865)]; _0x4204aa += 0x1) {
693
- if (_0x5246f6[_0x4204aa] !== '@' || !isMentionBoundary(_0x5246f6[_0x4204aa - 0x1]))
279
+ function extractMentionedParticipantIds(_0x158b70, _0x486a7c) {
280
+ const _0x2913e5 = {
281
+ _0x5cdc8b: 0x21e,
282
+ _0x335b7e: 0x248,
283
+ _0x4d8cc0: 0x159,
284
+ _0x286d47: 0x12e
285
+ }, _0x236341 = {
286
+ _0x372c7a: 0x215,
287
+ _0x5e9884: 0x1c0
288
+ }, _0x360e4e = _0x15d6d8, _0x54a4c1 = buildMatchableEntries(_0x486a7c)[_0x360e4e(0x136)]((_0x3f5e9b, _0x2f4ec1) => _0x2f4ec1[_0x360e4e(0x1c0)][_0x360e4e(0x190)] - _0x3f5e9b[_0x360e4e(0x1c0)][_0x360e4e(0x190)]), _0x3a6315 = [], _0x47378b = new Set();
289
+ for (let _0x4f4e56 = 0x0; _0x4f4e56 < _0x158b70['length']; _0x4f4e56 += 0x1) {
290
+ if (_0x158b70[_0x4f4e56] !== '@' || !isMentionBoundary(_0x158b70[_0x4f4e56 - 0x1]))
694
291
  continue;
695
- const _0x4f4b7d = _0x5246f6[_0x156f14(0x177)](_0x4204aa + 0x1), _0x31fd7a = _0x4f4b7d[_0x156f14(0x1bd)](), _0x45418e = _0x27852a[_0x156f14(_0x410c11._0x1006a9)](_0xf9805a => {
696
- const _0x2f4382 = _0x156f14;
697
- if (!_0x31fd7a['startsWith'](_0xf9805a[_0x2f4382(0x15e)]))
292
+ const _0x19da58 = _0x158b70['slice'](_0x4f4e56 + 0x1), _0x2c8a19 = _0x19da58[_0x360e4e(0x1ee)](), _0x15455e = _0x54a4c1[_0x360e4e(_0x2913e5._0x5cdc8b)](_0x35cbe9 => {
293
+ const _0x11e551 = _0x360e4e;
294
+ if (!_0x2c8a19[_0x11e551(_0x236341._0x372c7a)](_0x35cbe9[_0x11e551(0x188)]))
698
295
  return ![];
699
- return isMentionTerminal(_0x4f4b7d[_0xf9805a['matchName']['length']]);
296
+ return isMentionTerminal(_0x19da58[_0x35cbe9[_0x11e551(_0x236341._0x5e9884)]['length']]);
700
297
  });
701
- if (!_0x45418e || _0x56d46a[_0x156f14(_0x410c11._0x4909d4)](_0x45418e['participantId']))
298
+ if (!_0x15455e || _0x47378b[_0x360e4e(_0x2913e5._0x335b7e)](_0x15455e[_0x360e4e(0x159)]))
702
299
  continue;
703
- _0x56d46a[_0x156f14(0x1e3)](_0x45418e[_0x156f14(0x15d)]), _0x1cebd1[_0x156f14(_0x410c11._0x3f1b07)](_0x45418e[_0x156f14(_0x410c11._0x1b1b1e)]), _0x4204aa += _0x45418e['matchName']['length'];
300
+ _0x47378b['add'](_0x15455e[_0x360e4e(_0x2913e5._0x4d8cc0)]), _0x3a6315[_0x360e4e(_0x2913e5._0x286d47)](_0x15455e[_0x360e4e(0x159)]), _0x4f4e56 += _0x15455e['matchName']['length'];
704
301
  }
705
- return _0x1cebd1;
302
+ return _0x3a6315;
706
303
  }
707
304
  var DEFAULT_FETCH_TIMEOUT_MS = 0x3a98;
708
- function anySignal(..._0x137955) {
709
- const _0x451fac = {
710
- _0x30ccd2: 0x1dc,
711
- _0x328fe8: 0x180,
712
- _0xd35811: 0x232
713
- }, _0x20d4ae = _0x6aa24e, _0xb703f9 = new AbortController();
714
- for (const _0x5771ca of _0x137955) {
715
- if (_0x5771ca[_0x20d4ae(0x10b)])
716
- return _0xb703f9[_0x20d4ae(_0x451fac._0x30ccd2)](_0x5771ca[_0x20d4ae(0x179)]), _0xb703f9[_0x20d4ae(_0x451fac._0x328fe8)];
717
- _0x5771ca[_0x20d4ae(_0x451fac._0xd35811)](_0x20d4ae(_0x451fac._0x30ccd2), () => _0xb703f9['abort'](_0x5771ca[_0x20d4ae(0x179)]), {
305
+ function anySignal(..._0x4a2234) {
306
+ const _0x4e33a3 = { _0x4b3ece: 0x156 }, _0x84c8e6 = _0x15d6d8, _0x19bf04 = new AbortController();
307
+ for (const _0x1ceaf2 of _0x4a2234) {
308
+ if (_0x1ceaf2['aborted'])
309
+ return _0x19bf04[_0x84c8e6(0x1b4)](_0x1ceaf2[_0x84c8e6(0x127)]), _0x19bf04['signal'];
310
+ _0x1ceaf2[_0x84c8e6(0x221)]('abort', () => _0x19bf04[_0x84c8e6(0x1b4)](_0x1ceaf2[_0x84c8e6(0x127)]), {
718
311
  'once': !![],
719
- 'signal': _0xb703f9[_0x20d4ae(0x180)]
312
+ 'signal': _0x19bf04[_0x84c8e6(_0x4e33a3._0x4b3ece)]
720
313
  });
721
314
  }
722
- return _0xb703f9[_0x20d4ae(0x180)];
315
+ return _0x19bf04[_0x84c8e6(0x156)];
723
316
  }
724
- function createInternalAgentClient(_0x5b69b8) {
725
- const _0x38dbc3 = {
726
- _0x18b9b5: 0x16e,
727
- _0x2d429a: 0x148,
728
- _0x22e196: 0x240,
729
- _0x1ee216: 0x18c
730
- }, _0x360058 = {
731
- _0x49c552: 0x188,
732
- _0x758dc9: 0x167,
733
- _0x1cd084: 0x144,
734
- _0x163511: 0x1a6,
735
- _0x3a4475: 0x1c6,
736
- _0x78db33: 0x157,
737
- _0x2075d0: 0x1c6,
738
- _0x344bbb: 0x184,
739
- _0x7b47e9: 0x23a,
740
- _0x48b5f1: 0x1c8,
741
- _0x4d2db2: 0x158,
742
- _0x2bb5fa: 0x23a,
743
- _0xd18672: 0x178,
744
- _0x1964db: 0x1df,
745
- _0x3445f9: 0x12b,
746
- _0x523aed: 0x1f9,
747
- _0x372c75: 0x206,
748
- _0x5b8ee0: 0x16b,
749
- _0x4cd6f3: 0x1c7,
750
- _0x28a8fe: 0x1c1,
751
- _0x265568: 0xff,
752
- _0x15e3d9: 0x26e,
753
- _0x5977f7: 0x1ea
754
- }, _0x4c3ff1 = {
755
- _0x3d1794: 0x1a1,
756
- _0x192fe7: 0x17a
757
- }, _0x3b5c83 = {
758
- _0x4b6433: 0x25c,
759
- _0x22c029: 0x127,
760
- _0x43689c: 0x180,
761
- _0x40e61a: 0x249,
762
- _0x741592: 0x193,
763
- _0xb44e43: 0x165
764
- }, _0x3c5c8e = {
765
- _0xb36b04: 0x246,
766
- _0x3447f2: 0x215,
767
- _0x113d6f: 0x115,
768
- _0x5f1de0: 0x17a,
769
- _0x356261: 0x1e2,
770
- _0x560fce: 0x165,
771
- _0x1fb7a6: 0x1de,
772
- _0x11349e: 0x205,
773
- _0x32aa6e: 0x193
774
- }, _0x3e46a8 = {
775
- _0x3d327c: 0x20c,
776
- _0x480100: 0x115,
777
- _0x58dccf: 0x255
778
- }, _0x1955a5 = {
779
- _0x1284a7: 0x16f,
780
- _0x45d66d: 0x210,
781
- _0x4dff3c: 0x115,
782
- _0x1f4f2e: 0x205
783
- }, _0x186995 = { _0x10f386: 0x16f }, _0x1ffc6c = { _0x3e8f08: 0x116 }, _0x20d162 = {
784
- _0x4ef1c9: 0x26f,
785
- _0x1a24c3: 0x249,
786
- _0x42cebf: 0x249,
787
- _0x5024dd: 0x249,
788
- _0x379381: 0x167
789
- }, _0x38e4bc = {
790
- _0x38058c: 0x202,
791
- _0x218db0: 0x160,
792
- _0x40a2d1: 0x205
793
- }, _0x4dd837 = { _0x5c5ac8: 0x202 }, _0x481ae5 = {
794
- _0x4ede99: 0x115,
795
- _0x238211: 0x193
796
- }, _0xc39e25 = {
797
- _0x3a9e05: 0x200,
798
- _0x21d672: 0x10f,
799
- _0x13ec2a: 0x145,
800
- _0x229bea: 0x115,
801
- _0x526457: 0x170,
802
- _0x3e8acd: 0x1a6
803
- }, _0x2e597e = {
804
- _0x5da472: 0x14a,
805
- _0x507f3e: 0x12b,
806
- _0x48a630: 0x14a,
807
- _0x532268: 0x1a1,
808
- _0xc3c76b: 0x144,
809
- _0x50199b: 0x1cf,
810
- _0x478cb6: 0x143
811
- }, _0x209e93 = { _0x148c73: 0x15d }, _0x2f3e7c = {
812
- _0x117bcf: 0x223,
813
- _0x1e87cf: 0x24d,
814
- _0x3fd319: 0x1c8,
815
- _0x392b7e: 0x23a,
816
- _0x220015: 0x1d0,
817
- _0xe98189: 0x184,
818
- _0x1fe98e: 0x13f
819
- }, _0x43b634 = {
820
- _0x564df1: 0x24d,
821
- _0x54bbd5: 0x1c8,
822
- _0x5e4808: 0x184,
823
- _0x5c9370: 0x177
824
- }, _0xdbac69 = { _0x50985f: 0x25b }, _0x568587 = {
825
- _0x570e51: 0x16f,
826
- _0x141f43: 0x1c6,
827
- _0x3a6a80: 0x193,
828
- _0x469872: 0x1a5
829
- }, _0x4b99d1 = {
830
- _0x42cd3f: 0x115,
831
- _0x2b8da8: 0x205,
832
- _0x5d9572: 0x184
833
- }, _0x34e838 = {
834
- _0xbecb33: 0x20b,
835
- _0x5373aa: 0x115
836
- }, _0x3f027a = {
837
- _0x95aa69: 0x180,
838
- _0x386b37: 0x180,
839
- _0x562235: 0x160,
840
- _0x4d8df1: 0x249
841
- }, _0x25a50e = { _0xbfcdd: 0x1c9 }, _0x1c8e54 = {
842
- _0x4f6bf4: 0x168,
843
- _0x33439b: 0x168,
844
- _0x4ee08d: 0x240,
845
- _0x4c05f8: 0x20a,
846
- _0x3f7e07: 0x231,
847
- _0x4c0dc8: 0x15a,
848
- _0x2c5e55: 0x176,
849
- _0x342444: 0x27d,
850
- _0x258f2a: 0x12b
851
- }, _0x37f92a = {
852
- _0x104c4e: 0x147,
853
- _0x12cc36: 0x22b
854
- }, _0x5b4338 = {
855
- _0x4fce95: 0x166,
856
- _0x32bb94: 0x1b6,
857
- _0x48e46b: 0x195,
858
- _0x5da37e: 0x240,
859
- _0x5bee24: 0x258,
860
- _0x450716: 0x283
861
- }, _0x12276d = _0x6aa24e, _0x14be2d = _0x5b69b8[_0x12276d(_0x38dbc3._0x18b9b5)] ?? fetch, _0x32b7eb = _0x5b69b8[_0x12276d(0x251)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x264efb = typeof _0x5b69b8[_0x12276d(0x1a0)] === 'number' && _0x5b69b8['initialLastSeenSeq'] > 0x0 ? _0x5b69b8[_0x12276d(0x1a0)] : 0x0, _0x4aab04 = _0x5b69b8[_0x12276d(_0x38dbc3._0x2d429a)]?.[_0x12276d(_0x38dbc3._0x22e196)]() || void 0x0, _0x440b4f = _0x5b69b8[_0x12276d(_0x38dbc3._0x1ee216)]?.[_0x12276d(0x240)]() || void 0x0, _0xd3925b = _0x5b69b8[_0x12276d(0x109)] === !![], _0x236541 = _0x5b69b8[_0x12276d(0x1d5)]?.[_0x12276d(_0x38dbc3._0x22e196)]() || void 0x0, _0x53b1a9 = _0x5b69b8['workerThreadTarget']?.[_0x12276d(0x240)]() || void 0x0, _0x186643 = createHeaders(_0x5b69b8['daemonApiKey']), _0x3fa8d3 = toHttpBaseUrl(_0x5b69b8[_0x12276d(0x218)]);
862
- let _0x1e6a32 = null;
863
- const _0x3405be = new Map();
864
- let _0x1b7865 = _0x264efb, _0x21f674 = _0x264efb;
865
- function _0x3cda31(_0x492452) {
866
- const _0x230a4a = _0x12276d, _0x8a25bc = _0x492452[_0x230a4a(0x283)][_0x230a4a(0x140)][_0x230a4a(0x1ab)](_0x230a4a(_0x5b4338._0x4fce95)) ?? _0x230a4a(_0x5b4338._0x32bb94), _0x4b468f = _0x492452[_0x230a4a(_0x5b4338._0x48e46b)][_0x230a4a(_0x5b4338._0x5da37e)]()[_0x230a4a(_0x5b4338._0x5bee24)](/\s+/g, '\x20')[_0x230a4a(0x177)](0x0, 0x78) || _0x230a4a(0x1cc);
867
- return _0x230a4a(0x155) + _0x492452['requestUrl'] + _0x230a4a(0x1af) + _0x492452[_0x230a4a(_0x5b4338._0x450716)][_0x230a4a(0x249)] + ',\x20content-type=' + _0x8a25bc + _0x230a4a(0x220) + _0x4b468f + ')。这通常表示\x20serverUrl\x20指向了\x20web\x20站点,或代理没有把\x20daemon/internal\x20API\x20转发到后端。';
317
+ function createInternalAgentClient(_0x13d36f) {
318
+ const _0x43e8f8 = {
319
+ _0x139ca8: 0x11e,
320
+ _0x537ee3: 0x269,
321
+ _0x118f56: 0x28d,
322
+ _0x3eb146: 0x1ba,
323
+ _0x532984: 0x20a,
324
+ _0x29017e: 0x17a
325
+ }, _0x3728a0 = {
326
+ _0x2e7a91: 0x149,
327
+ _0x16b3f4: 0x1f9,
328
+ _0xd9f26a: 0x1cf,
329
+ _0x5bfccf: 0x15b,
330
+ _0x3b5cdd: 0x1c8,
331
+ _0x48f231: 0x289,
332
+ _0x3c9109: 0x12d,
333
+ _0xb985d1: 0x12d,
334
+ _0x55fe5c: 0x190,
335
+ _0xb77e4d: 0x1a7,
336
+ _0x43bc7e: 0x163,
337
+ _0x331fd8: 0x208,
338
+ _0x17f0d7: 0x20f,
339
+ _0x1e18a8: 0x140,
340
+ _0x26e0c3: 0x28b,
341
+ _0x7fa418: 0x24b,
342
+ _0x4c9f7f: 0x18a,
343
+ _0x46d0f6: 0x18a,
344
+ _0x35f363: 0x12e,
345
+ _0x554284: 0x1e5,
346
+ _0x4f0a12: 0x130,
347
+ _0x44f2b7: 0x12d,
348
+ _0x487be4: 0x218,
349
+ _0x58237b: 0x245,
350
+ _0x15eaf0: 0x2a1,
351
+ _0x3ec5cf: 0x13c,
352
+ _0x42d982: 0x1ff,
353
+ _0x2cb224: 0x228,
354
+ _0x367c52: 0x12e,
355
+ _0x1a2d54: 0x25e,
356
+ _0x6e0d76: 0x1a7
357
+ }, _0x103a32 = {
358
+ _0x533010: 0x26b,
359
+ _0xc1267e: 0x1fd
360
+ }, _0x3ba4af = {
361
+ _0x288724: 0x25a,
362
+ _0x279eb3: 0x153,
363
+ _0x6b8881: 0x151,
364
+ _0x1d84b3: 0x1ea,
365
+ _0x3a4013: 0x141
366
+ }, _0x3ea8a0 = {
367
+ _0x5499db: 0x28b,
368
+ _0x45cdc7: 0x241,
369
+ _0x592796: 0x14b,
370
+ _0x502405: 0x1fe,
371
+ _0x35fedc: 0x1b6,
372
+ _0x545740: 0x199,
373
+ _0x254a57: 0x153
374
+ }, _0x3ffdc5 = {
375
+ _0x5771f2: 0x203,
376
+ _0x3fe330: 0x14b
377
+ }, _0x29cc52 = {
378
+ _0x4c7ac1: 0x1cf,
379
+ _0x5ad920: 0x16a
380
+ }, _0x2598d4 = { _0x482643: 0x199 }, _0x2337a0 = {
381
+ _0x1c7347: 0x242,
382
+ _0x5c8a09: 0x14b,
383
+ _0x693190: 0x199
384
+ }, _0x2c7e73 = { _0x3a1d80: 0x15b }, _0x13e5e5 = {
385
+ _0x5b047b: 0x26d,
386
+ _0x312946: 0x14b,
387
+ _0x3d0059: 0x153,
388
+ _0x206a25: 0x250,
389
+ _0x207b94: 0x27f
390
+ }, _0x28060a = {
391
+ _0x22aec3: 0x250,
392
+ _0x32a397: 0x14b,
393
+ _0x57e62f: 0x153
394
+ }, _0x3fb387 = {
395
+ _0x2390cf: 0x22d,
396
+ _0x15ede1: 0x153
397
+ }, _0x4cc4ed = {
398
+ _0x28f41d: 0x24e,
399
+ _0x2ab48a: 0x153
400
+ }, _0x3e364b = {
401
+ _0x2c5a00: 0x23f,
402
+ _0x43864d: 0x1cf,
403
+ _0x2c55fe: 0x15b,
404
+ _0x36776d: 0x28b,
405
+ _0x48a3fe: 0x24a
406
+ }, _0x1f8d88 = {
407
+ _0x3819e7: 0x214,
408
+ _0x1b89fa: 0x28b,
409
+ _0x55d8c1: 0x1fd,
410
+ _0x1a689c: 0x1fd,
411
+ _0x488bea: 0x1e5,
412
+ _0x391dee: 0x289,
413
+ _0x11873e: 0x26b,
414
+ _0x4de3c9: 0x1e5,
415
+ _0x83960d: 0x26b,
416
+ _0x2ba919: 0x1cf,
417
+ _0x256cce: 0x1d9,
418
+ _0x22f7b4: 0x153,
419
+ _0x398e5f: 0x208,
420
+ _0x2d235c: 0x1c8
421
+ }, _0x33b904 = { _0x5d384b: 0x159 }, _0x538919 = {
422
+ _0x34cd4a: 0x24b,
423
+ _0x1096b6: 0x18a
424
+ }, _0x3ae324 = {
425
+ _0x1ced37: 0x24b,
426
+ _0xe33fdc: 0x185,
427
+ _0x163088: 0x185,
428
+ _0x3fb75d: 0x18a,
429
+ _0x38a87c: 0x263,
430
+ _0x16cafa: 0x185
431
+ }, _0x2b9292 = {
432
+ _0x4f62f6: 0x14d,
433
+ _0x2d8c75: 0x20f,
434
+ _0x3feaa6: 0x171
435
+ }, _0x3367ee = { _0x24d387: 0x1c6 }, _0x5032ff = {
436
+ _0x25e293: 0x15b,
437
+ _0x114812: 0x1d1,
438
+ _0x44c811: 0x14b,
439
+ _0x312f1f: 0x1fe,
440
+ _0x89fa65: 0x199,
441
+ _0x3dbc01: 0x153,
442
+ _0x4a980a: 0x1fd,
443
+ _0xad8d80: 0x2a5,
444
+ _0xfc4e5f: 0x28b,
445
+ _0x3d662b: 0x153,
446
+ _0x1f1382: 0x24b
447
+ }, _0x52aba0 = {
448
+ _0x2ddeb1: 0x1a8,
449
+ _0x152833: 0x12a,
450
+ _0x107674: 0x27f
451
+ }, _0x84a6a9 = {
452
+ _0x16d9c2: 0x14b,
453
+ _0x3c425a: 0x279
454
+ }, _0x3d3b94 = {
455
+ _0x4d1d06: 0x156,
456
+ _0x27d405: 0x156,
457
+ _0x3fb042: 0x283
458
+ }, _0x1e3afb = {
459
+ _0x394742: 0x156,
460
+ _0xb0050a: 0x227,
461
+ _0x7c0fb5: 0x1c5
462
+ }, _0x1d94eb = {
463
+ _0x1c38a9: 0x140,
464
+ _0x4a728a: 0x269,
465
+ _0x442ffc: 0x161,
466
+ _0x1fb6ed: 0x275,
467
+ _0x12557c: 0x145,
468
+ _0x480223: 0x218
469
+ }, _0x2acac8 = {
470
+ _0x5ba471: 0x1ea,
471
+ _0x419384: 0x1e7,
472
+ _0x4a2051: 0x269
473
+ }, _0x5a799b = {
474
+ _0x5c2a27: 0x1af,
475
+ _0x566c30: 0x23b,
476
+ _0x4949e9: 0x22b,
477
+ _0x3a897e: 0x22a
478
+ }, _0x48cdc4 = _0x15d6d8, _0x489cf6 = _0x13d36f['fetchImpl'] ?? fetch, _0x5dad0a = _0x13d36f[_0x48cdc4(_0x43e8f8._0x139ca8)] ?? DEFAULT_FETCH_TIMEOUT_MS, _0x1caab5 = typeof _0x13d36f['initialLastSeenSeq'] === _0x48cdc4(0x2a4) && _0x13d36f[_0x48cdc4(0x262)] > 0x0 ? _0x13d36f['initialLastSeenSeq'] : 0x0, _0x5979b7 = _0x13d36f['daemonLocalUrl']?.['trim']() || void 0x0, _0x299cbf = _0x13d36f['sessionId']?.[_0x48cdc4(_0x43e8f8._0x537ee3)]() || void 0x0, _0x31c393 = _0x13d36f[_0x48cdc4(_0x43e8f8._0x118f56)] === !![], _0x50f71f = _0x13d36f[_0x48cdc4(_0x43e8f8._0x3eb146)]?.[_0x48cdc4(_0x43e8f8._0x537ee3)]() || void 0x0, _0x2255dd = _0x13d36f[_0x48cdc4(_0x43e8f8._0x532984)]?.[_0x48cdc4(0x269)]() || void 0x0, _0x260a25 = createHeaders(_0x13d36f[_0x48cdc4(_0x43e8f8._0x29017e)]), _0x558658 = toHttpBaseUrl(_0x13d36f['serverUrl']);
479
+ let _0x4627c1 = null;
480
+ const _0x4d25d3 = new Map();
481
+ let _0x16e3b1 = _0x1caab5, _0x27a6f4 = _0x1caab5;
482
+ function _0x3d2826(_0x211204) {
483
+ const _0x5bae67 = _0x48cdc4, _0x4edfae = _0x211204[_0x5bae67(0x152)][_0x5bae67(_0x5a799b._0x5c2a27)][_0x5bae67(0x218)](_0x5bae67(0x19b)) ?? _0x5bae67(0x16c), _0x4016af = _0x211204[_0x5bae67(_0x5a799b._0x566c30)][_0x5bae67(0x269)]()[_0x5bae67(0x27a)](/\s+/g, '\x20')['slice'](0x0, 0x78) || _0x5bae67(0x1f4);
484
+ return _0x5bae67(_0x5a799b._0x4949e9) + _0x211204[_0x5bae67(0x169)] + '\x20返回了非\x20JSON\x20响应(status=' + _0x211204[_0x5bae67(0x152)][_0x5bae67(0x27f)] + _0x5bae67(0x204) + _0x4edfae + ',\x20preview=' + _0x4016af + _0x5bae67(_0x5a799b._0x3a897e);
868
485
  }
869
- async function _0x4bbc7d(_0x1cf234, _0x3ab25d) {
870
- const _0x3faf6f = _0x12276d, _0x530e27 = Buffer[_0x3faf6f(_0x37f92a._0x104c4e)](await _0x3ab25d['arrayBuffer']())[_0x3faf6f(0x167)](_0x3faf6f(_0x37f92a._0x12cc36));
871
- if (!_0x530e27[_0x3faf6f(0x240)]())
486
+ async function _0x3d15cc(_0x2cde0d, _0x4cf454) {
487
+ const _0x5f1c22 = _0x48cdc4, _0x19fff2 = Buffer[_0x5f1c22(_0x2acac8._0x5ba471)](await _0x4cf454['arrayBuffer']())[_0x5f1c22(0x1f9)](_0x5f1c22(_0x2acac8._0x419384));
488
+ if (!_0x19fff2[_0x5f1c22(_0x2acac8._0x4a2051)]())
872
489
  return {};
873
490
  try {
874
- return JSON['parse'](_0x530e27);
491
+ return JSON[_0x5f1c22(0x25f)](_0x19fff2);
875
492
  } catch {
876
- throw new Error(_0x3cda31({
877
- 'bodyText': _0x530e27,
878
- 'requestUrl': _0x1cf234,
879
- 'response': _0x3ab25d
493
+ throw new Error(_0x3d2826({
494
+ 'bodyText': _0x19fff2,
495
+ 'requestUrl': _0x2cde0d,
496
+ 'response': _0x4cf454
880
497
  }));
881
498
  }
882
499
  }
883
- function _0x2a480f(_0x137bc5, _0x397bf4) {
884
- const _0x5543ba = _0x12276d, _0x4d2814 = typeof _0x397bf4[_0x5543ba(_0x1c8e54._0x4f6bf4)] === 'string' ? _0x397bf4[_0x5543ba(_0x1c8e54._0x33439b)][_0x5543ba(_0x1c8e54._0x4ee08d)]() : '';
885
- if (_0x4d2814)
886
- return _0x4d2814;
887
- const _0x49aa71 = Date[_0x5543ba(0x117)]();
888
- for (const [_0x587ee3, _0x1c4a64] of _0x3405be) {
889
- _0x1c4a64[_0x5543ba(0x16c)] <= _0x49aa71 && _0x3405be[_0x5543ba(_0x1c8e54._0x4c05f8)](_0x587ee3);
500
+ function _0x12772a(_0x47b996, _0x4e58b2) {
501
+ const _0x13b74c = _0x48cdc4, _0x447aee = typeof _0x4e58b2[_0x13b74c(0x286)] === _0x13b74c(_0x1d94eb._0x1c38a9) ? _0x4e58b2[_0x13b74c(0x286)][_0x13b74c(_0x1d94eb._0x4a728a)]() : '';
502
+ if (_0x447aee)
503
+ return _0x447aee;
504
+ const _0x5c286e = Date[_0x13b74c(0x18c)]();
505
+ for (const [_0x3f3211, _0x195dd8] of _0x4d25d3) {
506
+ _0x195dd8[_0x13b74c(0x1ef)] <= _0x5c286e && _0x4d25d3['delete'](_0x3f3211);
890
507
  }
891
- const _0x98ff39 = {
892
- ..._0x397bf4,
508
+ const _0x3b54d1 = {
509
+ ..._0x4e58b2,
893
510
  'idempotency_key': void 0x0
894
- }, _0x41f9a1 = createHash(_0x5543ba(_0x1c8e54._0x3f7e07))[_0x5543ba(_0x1c8e54._0x4c0dc8)](_0x137bc5 + ':' + stableStringify(_0x98ff39))[_0x5543ba(0xfe)](_0x5543ba(_0x1c8e54._0x2c5e55)), _0x13b5dd = _0x137bc5 + ':' + _0x41f9a1, _0x4fd34c = _0x3405be[_0x5543ba(0x1ab)](_0x13b5dd);
895
- if (_0x4fd34c)
896
- return _0x4fd34c[_0x5543ba(0x149)];
897
- const _0x2605ab = _0x5543ba(_0x1c8e54._0x342444) + _0x137bc5 + ':' + randomUUID();
898
- return _0x3405be[_0x5543ba(_0x1c8e54._0x258f2a)](_0x13b5dd, {
899
- 'expiresAt': _0x49aa71 + 0x5 * 0x3c * 0x3e8,
900
- 'value': _0x2605ab
901
- }), _0x2605ab;
511
+ }, _0xb161a7 = createHash(_0x13b74c(_0x1d94eb._0x442ffc))[_0x13b74c(_0x1d94eb._0x1fb6ed)](_0x47b996 + ':' + stableStringify(_0x3b54d1))['digest'](_0x13b74c(_0x1d94eb._0x12557c)), _0x11ee55 = _0x47b996 + ':' + _0xb161a7, _0x4e5fa2 = _0x4d25d3[_0x13b74c(_0x1d94eb._0x480223)](_0x11ee55);
512
+ if (_0x4e5fa2)
513
+ return _0x4e5fa2[_0x13b74c(0x1ec)];
514
+ const _0x35216d = _0x13b74c(0x26e) + _0x47b996 + ':' + randomUUID();
515
+ return _0x4d25d3[_0x13b74c(0x1e5)](_0x11ee55, {
516
+ 'expiresAt': _0x5c286e + 0x5 * 0x3c * 0x3e8,
517
+ 'value': _0x35216d
518
+ }), _0x35216d;
902
519
  }
903
- async function _0x5319c9(_0x3392c7, _0x4a4203) {
904
- const _0x313a4f = _0x12276d, _0x23eb3d = new AbortController(), _0x5a80f6 = setTimeout(() => _0x23eb3d[_0x313a4f(0x1dc)](), _0x32b7eb), _0x6358f5 = _0x4a4203?.[_0x313a4f(0x180)] ? anySignal(_0x4a4203['signal'], _0x23eb3d[_0x313a4f(0x180)]) : _0x23eb3d[_0x313a4f(0x180)], _0x1dae98 = '' + _0x3fa8d3 + _0x3392c7;
520
+ async function _0x1d8040(_0xea6379, _0x2d9e45) {
521
+ const _0x35b8f3 = _0x48cdc4, _0x3c6be1 = new AbortController(), _0x15bb94 = setTimeout(() => _0x3c6be1['abort'](), _0x5dad0a), _0x4988a4 = _0x2d9e45?.[_0x35b8f3(_0x1e3afb._0x394742)] ? anySignal(_0x2d9e45['signal'], _0x3c6be1['signal']) : _0x3c6be1[_0x35b8f3(0x156)], _0x21f228 = '' + _0x558658 + _0xea6379;
905
522
  try {
906
- const _0x5205ab = await _0x14be2d(_0x1dae98, {
907
- ..._0x4a4203,
908
- 'signal': _0x6358f5
909
- }), _0x422443 = await _0x4bbc7d(_0x1dae98, _0x5205ab);
910
- if (!_0x5205ab['ok'] || _0x422443[_0x313a4f(0x235)] === ![])
911
- throw new Error(asErrorMessage(_0x422443[_0x313a4f(0x160)], _0x313a4f(_0x25a50e._0xbfcdd) + _0x5205ab[_0x313a4f(0x249)]));
912
- return _0x422443;
523
+ const _0x26d60a = await _0x489cf6(_0x21f228, {
524
+ ..._0x2d9e45,
525
+ 'signal': _0x4988a4
526
+ }), _0x2d7c08 = await _0x3d15cc(_0x21f228, _0x26d60a);
527
+ if (!_0x26d60a['ok'] || _0x2d7c08[_0x35b8f3(_0x1e3afb._0xb0050a)] === ![])
528
+ throw new Error(asErrorMessage(_0x2d7c08[_0x35b8f3(_0x1e3afb._0x7c0fb5)], 'HTTP\x20' + _0x26d60a['status']));
529
+ return _0x2d7c08;
913
530
  } finally {
914
- clearTimeout(_0x5a80f6);
531
+ clearTimeout(_0x15bb94);
915
532
  }
916
533
  }
917
- async function _0x58be69(_0x5e0645, _0x302a56) {
918
- const _0x47b1ac = _0x12276d, _0x2b1f7d = new AbortController(), _0x4091c2 = setTimeout(() => _0x2b1f7d['abort'](), _0x32b7eb), _0x285ef8 = _0x302a56?.[_0x47b1ac(0x180)] ? anySignal(_0x302a56[_0x47b1ac(_0x3f027a._0x95aa69)], _0x2b1f7d[_0x47b1ac(0x180)]) : _0x2b1f7d[_0x47b1ac(_0x3f027a._0x386b37)], _0x2f98dc = '' + _0x3fa8d3 + _0x5e0645;
534
+ async function _0x270d3b(_0x659414, _0x570fd5) {
535
+ const _0x359047 = _0x48cdc4, _0x32a2d3 = new AbortController(), _0x3309c3 = setTimeout(() => _0x32a2d3['abort'](), _0x5dad0a), _0x1ccb99 = _0x570fd5?.[_0x359047(_0x3d3b94._0x4d1d06)] ? anySignal(_0x570fd5[_0x359047(_0x3d3b94._0x27d405)], _0x32a2d3[_0x359047(0x156)]) : _0x32a2d3['signal'], _0x338c99 = '' + _0x558658 + _0x659414;
919
536
  try {
920
- const _0x1538f0 = await _0x14be2d(_0x2f98dc, {
921
- ..._0x302a56,
922
- 'signal': _0x285ef8
923
- }), _0x2a5ebf = await _0x4bbc7d(_0x2f98dc, _0x1538f0);
924
- if (!_0x1538f0['ok'])
925
- throw new Error(asErrorMessage(_0x2a5ebf[_0x47b1ac(_0x3f027a._0x562235)], 'HTTP\x20' + _0x1538f0[_0x47b1ac(_0x3f027a._0x4d8df1)]));
926
- return _0x2a5ebf;
537
+ const _0x547631 = await _0x489cf6(_0x338c99, {
538
+ ..._0x570fd5,
539
+ 'signal': _0x1ccb99
540
+ }), _0x17b816 = await _0x3d15cc(_0x338c99, _0x547631);
541
+ if (!_0x547631['ok'])
542
+ throw new Error(asErrorMessage(_0x17b816[_0x359047(0x1c5)], _0x359047(_0x3d3b94._0x3fb042) + _0x547631['status']));
543
+ return _0x17b816;
927
544
  } finally {
928
- clearTimeout(_0x4091c2);
545
+ clearTimeout(_0x3309c3);
929
546
  }
930
547
  }
931
- async function _0x1f0adf(_0x3173b5) {
932
- const _0x361313 = _0x12276d;
933
- if (!_0x440b4f || _0x3173b5 <= _0x21f674)
548
+ async function _0x3e053b(_0x1e8a46) {
549
+ const _0x5ac911 = _0x48cdc4;
550
+ if (!_0x299cbf || _0x1e8a46 <= _0x27a6f4)
934
551
  return;
935
- await _0x5319c9(_0x361313(_0x34e838._0xbecb33) + encodeURIComponent(_0x440b4f) + '/context-metrics', {
936
- 'body': JSON[_0x361313(_0x34e838._0x5373aa)]({ 'lastSeenSeq': _0x3173b5 }),
937
- 'headers': _0x186643,
938
- 'method': _0x361313(0x19c)
939
- }), _0x21f674 = _0x3173b5;
552
+ await _0x1d8040(_0x5ac911(0x143) + encodeURIComponent(_0x299cbf) + _0x5ac911(0x123), {
553
+ 'body': JSON[_0x5ac911(_0x84a6a9._0x16d9c2)]({ 'lastSeenSeq': _0x1e8a46 }),
554
+ 'headers': _0x260a25,
555
+ 'method': _0x5ac911(_0x84a6a9._0x3c425a)
556
+ }), _0x27a6f4 = _0x1e8a46;
940
557
  }
941
- async function _0x45a06c(_0x18b2bc) {
942
- const _0x35175f = _0x12276d;
943
- if (!_0x4aab04 || !_0x236541 || _0x18b2bc <= _0x21f674)
558
+ async function _0x1b8e6a(_0x835acd) {
559
+ const _0x583bfa = _0x48cdc4;
560
+ if (!_0x5979b7 || !_0x50f71f || _0x835acd <= _0x27a6f4)
944
561
  return;
945
- const _0xd5d4d6 = await _0x14be2d(_0x4aab04 + '/workers/context-metrics', {
946
- 'body': JSON[_0x35175f(0x115)]({
947
- 'last_seen_seq': _0x18b2bc,
948
- 'worker_session_id': _0x236541
562
+ const _0x58302d = await _0x489cf6(_0x5979b7 + _0x583bfa(_0x52aba0._0x2ddeb1), {
563
+ 'body': JSON[_0x583bfa(0x14b)]({
564
+ 'last_seen_seq': _0x835acd,
565
+ 'worker_session_id': _0x50f71f
949
566
  }),
950
- 'headers': { 'Content-Type': _0x35175f(0x181) },
567
+ 'headers': { 'Content-Type': _0x583bfa(_0x52aba0._0x152833) },
951
568
  'method': 'POST'
952
569
  });
953
- if (!_0xd5d4d6['ok'])
954
- throw new Error(_0x35175f(0x1c9) + _0xd5d4d6[_0x35175f(0x249)]);
955
- _0x21f674 = _0x18b2bc;
570
+ if (!_0x58302d['ok'])
571
+ throw new Error('HTTP\x20' + _0x58302d[_0x583bfa(_0x52aba0._0x107674)]);
572
+ _0x27a6f4 = _0x835acd;
956
573
  }
957
- async function _0x230320(_0x2067b2) {
958
- const _0x2d3770 = _0x12276d, _0x3c4f56 = parseTarget(_0x2067b2), _0x9a275a = await _0x5319c9('/internal/agent/' + _0x5b69b8[_0x2d3770(0x215)] + '/resolve-channel', {
959
- 'body': JSON[_0x2d3770(_0x4b99d1._0x42cd3f)]({ 'target': _0x3c4f56['target'] }),
960
- 'headers': _0x186643,
961
- 'method': _0x2d3770(_0x4b99d1._0x2b8da8)
574
+ async function _0x459e2f(_0x307d22) {
575
+ const _0x2093d1 = _0x48cdc4, _0x12b5f4 = parseTarget(_0x307d22), _0x8aea97 = await _0x1d8040(_0x2093d1(0x1cf) + _0x13d36f[_0x2093d1(_0x5032ff._0x25e293)] + _0x2093d1(_0x5032ff._0x114812), {
576
+ 'body': JSON[_0x2093d1(_0x5032ff._0x44c811)]({ 'target': _0x12b5f4[_0x2093d1(_0x5032ff._0x312f1f)] }),
577
+ 'headers': _0x260a25,
578
+ 'method': _0x2093d1(_0x5032ff._0x89fa65)
962
579
  });
963
580
  return {
964
- 'channelId': _0x9a275a['data']?.[_0x2d3770(0x1a1)] ?? '',
965
- 'target': _0x3c4f56[_0x2d3770(0x24d)],
966
- 'task': _0x9a275a['data']?.['task'],
967
- 'threadId': _0x9a275a['data']?.[_0x2d3770(_0x4b99d1._0x5d9572)],
968
- 'threadNumber': _0x9a275a[_0x2d3770(0x193)]?.['threadNumber']
581
+ 'channelId': _0x8aea97[_0x2093d1(_0x5032ff._0x3dbc01)]?.[_0x2093d1(_0x5032ff._0x4a980a)] ?? '',
582
+ 'target': _0x12b5f4[_0x2093d1(0x185)],
583
+ 'task': _0x8aea97[_0x2093d1(_0x5032ff._0x3dbc01)]?.[_0x2093d1(_0x5032ff._0xad8d80)],
584
+ 'threadId': _0x8aea97[_0x2093d1(_0x5032ff._0x3dbc01)]?.[_0x2093d1(_0x5032ff._0xfc4e5f)],
585
+ 'threadNumber': _0x8aea97[_0x2093d1(_0x5032ff._0x3d662b)]?.[_0x2093d1(_0x5032ff._0x1f1382)]
969
586
  };
970
587
  }
971
- async function _0x40c4a0(_0x4be4a6 = {}) {
972
- const _0x423d60 = _0x12276d;
973
- if (!_0x4be4a6[_0x423d60(_0xdbac69._0x50985f)] && _0x1e6a32)
974
- return _0x1e6a32;
975
- return _0x1e6a32 = (async () => {
976
- const _0x35fd6d = _0x423d60, _0x20161a = await _0x5319c9(_0x35fd6d(_0x568587._0x570e51) + _0x5b69b8['agentId'] + _0x35fd6d(0x224), {
977
- 'headers': _0x186643,
978
- 'method': _0x35fd6d(0x127)
979
- }), _0xb88399 = _0x20161a['data']?.[_0x35fd6d(0x190)] ?? [], _0x1e8af8 = _0xb88399[_0x35fd6d(0x1ea)](_0x5ef2d3 => _0x5ef2d3['participant']?.[_0x35fd6d(0x23f)] === _0x35fd6d(0x248))[_0x35fd6d(0x157)](_0x8e5f46 => ({
980
- 'id': _0x3bb785(_0x8e5f46),
981
- 'name': _0x30485d(_0x8e5f46)
982
- }))['filter'](_0x138606 => _0x138606['id']), _0x45fee5 = _0xb88399['filter'](_0x2c320f => _0x2c320f[_0x35fd6d(0x11c)]?.[_0x35fd6d(0x23f)] !== _0x35fd6d(0x248))['map'](_0x431105 => ({
983
- 'id': _0x3bb785(_0x431105),
984
- 'name': _0x30485d(_0x431105)
985
- }))[_0x35fd6d(0x1ea)](_0x2929f2 => _0x2929f2['id']), _0x2a9661 = _0x20161a[_0x35fd6d(0x193)]?.['server']['id'] ?? '';
588
+ async function _0x1c8519(_0x1df72a = {}) {
589
+ const _0x36ae33 = {
590
+ _0xf9cd50: 0x1cf,
591
+ _0x177c4f: 0x15b,
592
+ _0x294f77: 0x17c,
593
+ _0x4e8218: 0x153,
594
+ _0x1ad01f: 0x1a7,
595
+ _0x26413e: 0x208,
596
+ _0xb61623: 0x1a7,
597
+ _0x583af6: 0x224,
598
+ _0xab712e: 0x163
599
+ }, _0x13b2a0 = _0x48cdc4;
600
+ if (!_0x1df72a[_0x13b2a0(_0x3367ee._0x24d387)] && _0x4627c1)
601
+ return _0x4627c1;
602
+ return _0x4627c1 = (async () => {
603
+ const _0x53f05d = _0x13b2a0, _0x5085f0 = await _0x1d8040(_0x53f05d(_0x36ae33._0xf9cd50) + _0x13d36f[_0x53f05d(_0x36ae33._0x177c4f)] + _0x53f05d(_0x36ae33._0x294f77), {
604
+ 'headers': _0x260a25,
605
+ 'method': 'GET'
606
+ }), _0x2ccd51 = _0x5085f0[_0x53f05d(_0x36ae33._0x4e8218)]?.[_0x53f05d(0x206)] ?? [], _0x436d9e = _0x2ccd51[_0x53f05d(_0x36ae33._0x1ad01f)](_0x14164f => _0x14164f[_0x53f05d(0x29e)]?.['type'] === 'agent')['map'](_0x1d7c2a => ({
607
+ 'id': _0x3974b5(_0x1d7c2a),
608
+ 'name': _0xe4f041(_0x1d7c2a)
609
+ }))['filter'](_0x58ed01 => _0x58ed01['id']), _0x1e16c7 = _0x2ccd51[_0x53f05d(_0x36ae33._0x1ad01f)](_0x50aced => _0x50aced[_0x53f05d(0x29e)]?.['type'] !== _0x53f05d(0x171))[_0x53f05d(_0x36ae33._0x26413e)](_0x4e28f9 => ({
610
+ 'id': _0x3974b5(_0x4e28f9),
611
+ 'name': _0xe4f041(_0x4e28f9)
612
+ }))[_0x53f05d(_0x36ae33._0xb61623)](_0x24c410 => _0x24c410['id']), _0x286c67 = _0x5085f0['data']?.[_0x53f05d(_0x36ae33._0x583af6)]['id'] ?? '';
986
613
  return {
987
- 'agents': _0x1e8af8,
988
- 'channels': _0x20161a[_0x35fd6d(0x193)]?.[_0x35fd6d(_0x568587._0x141f43)] ?? [],
989
- 'humans': _0x45fee5,
990
- 'serverId': _0x2a9661,
991
- 'serverName': _0x20161a[_0x35fd6d(_0x568587._0x3a6a80)]?.[_0x35fd6d(0x1b5)][_0x35fd6d(_0x568587._0x469872)] ?? _0x2a9661
614
+ 'agents': _0x436d9e,
615
+ 'channels': _0x5085f0[_0x53f05d(0x153)]?.[_0x53f05d(_0x36ae33._0xab712e)] ?? [],
616
+ 'humans': _0x1e16c7,
617
+ 'serverId': _0x286c67,
618
+ 'serverName': _0x5085f0['data']?.[_0x53f05d(0x224)]['name'] ?? _0x286c67
992
619
  };
993
- })()[_0x423d60(0x19f)](_0x198a6c => {
994
- _0x1e6a32 = null;
995
- throw _0x198a6c;
996
- }), _0x1e6a32;
620
+ })()['catch'](_0x4e7aa3 => {
621
+ _0x4627c1 = null;
622
+ throw _0x4e7aa3;
623
+ }), _0x4627c1;
997
624
  }
998
- function _0x1600b0(_0x50f599, _0xe924ec) {
999
- const _0x3b1a94 = _0x12276d;
1000
- return _0xe924ec[_0x3b1a94(0x278)]['some'](_0x29ef71 => _0x29ef71['id'] === _0x50f599 || _0x29ef71[_0x3b1a94(0x1a5)] === _0x50f599) ? _0x3b1a94(0x248) : _0x3b1a94(0x1d4);
625
+ function _0x2db2d6(_0x1589d2, _0x248ac8) {
626
+ const _0x1641f4 = _0x48cdc4;
627
+ return _0x248ac8[_0x1641f4(_0x2b9292._0x4f62f6)][_0x1641f4(_0x2b9292._0x2d8c75)](_0x40b1b4 => _0x40b1b4['id'] === _0x1589d2 || _0x40b1b4[_0x1641f4(0x130)] === _0x1589d2) ? _0x1641f4(_0x2b9292._0x3feaa6) : _0x1641f4(0x294);
1001
628
  }
1002
- function _0x1c1b5f(_0x8ab79b) {
1003
- const _0x28bd4c = _0x12276d;
1004
- if (_0x8ab79b['threadNumber'] != null)
1005
- return _0x8ab79b[_0x28bd4c(_0x43b634._0x564df1)] + ':t' + _0x8ab79b[_0x28bd4c(_0x43b634._0x54bbd5)];
1006
- if (_0x8ab79b[_0x28bd4c(0x23a)])
1007
- return _0x8ab79b[_0x28bd4c(_0x43b634._0x564df1)] + ':' + _0x8ab79b['rootMessageId'];
1008
- if (_0x8ab79b[_0x28bd4c(_0x43b634._0x5e4808)])
1009
- return _0x8ab79b[_0x28bd4c(0x24d)] + ':' + _0x8ab79b['threadId'][_0x28bd4c(_0x43b634._0x5c9370)](0x0, 0x8);
1010
- return _0x8ab79b['channelTarget'];
629
+ function _0x442be0(_0xdbf355) {
630
+ const _0x3ace90 = _0x48cdc4;
631
+ if (_0xdbf355[_0x3ace90(_0x3ae324._0x1ced37)] != null)
632
+ return _0xdbf355[_0x3ace90(_0x3ae324._0xe33fdc)] + ':t' + _0xdbf355[_0x3ace90(_0x3ae324._0x1ced37)];
633
+ if (_0xdbf355['rootMessageId'])
634
+ return _0xdbf355[_0x3ace90(_0x3ae324._0x163088)] + ':' + _0xdbf355[_0x3ace90(_0x3ae324._0x3fb75d)];
635
+ if (_0xdbf355[_0x3ace90(0x28b)])
636
+ return _0xdbf355['channelTarget'] + ':' + _0xdbf355[_0x3ace90(0x28b)][_0x3ace90(_0x3ae324._0x38a87c)](0x0, 0x8);
637
+ return _0xdbf355[_0x3ace90(_0x3ae324._0x16cafa)];
1011
638
  }
1012
- function _0x1dfced(_0xdccee3, _0x58d66a) {
1013
- const _0x1c28dc = _0x12276d;
639
+ function _0x59142d(_0x1de55c, _0x564973) {
640
+ const _0x574d85 = _0x48cdc4;
1014
641
  try {
1015
- const _0xcd603d = parseTarget(_0xdccee3);
1016
- if (_0xcd603d[_0x1c28dc(_0x2f3e7c._0x117bcf)] !== _0x1c28dc(0x1b7) || _0xcd603d[_0x1c28dc(_0x2f3e7c._0x1e87cf)] !== _0x58d66a[_0x1c28dc(_0x2f3e7c._0x1e87cf)])
642
+ const _0x3475a5 = parseTarget(_0x1de55c);
643
+ if (_0x3475a5['kind'] !== _0x574d85(0x148) || _0x3475a5['channelTarget'] !== _0x564973[_0x574d85(0x185)])
1017
644
  return ![];
1018
- if (_0x58d66a['threadNumber'] != null && _0xcd603d[_0x1c28dc(0x13f)] === 't' + _0x58d66a[_0x1c28dc(_0x2f3e7c._0x3fd319)])
645
+ if (_0x564973[_0x574d85(_0x538919._0x34cd4a)] != null && _0x3475a5[_0x574d85(0x13b)] === 't' + _0x564973['threadNumber'])
1019
646
  return !![];
1020
- if (_0x58d66a['rootMessageId'])
1021
- return _0xcd603d[_0x1c28dc(0x13f)] === _0x58d66a[_0x1c28dc(_0x2f3e7c._0x392b7e)] || _0x58d66a[_0x1c28dc(_0x2f3e7c._0x392b7e)][_0x1c28dc(_0x2f3e7c._0x220015)](_0xcd603d['threadShortId']);
1022
- if (_0x58d66a[_0x1c28dc(0x184)])
1023
- return _0xcd603d['threadShortId'] === _0x58d66a[_0x1c28dc(_0x2f3e7c._0xe98189)] || _0x58d66a[_0x1c28dc(_0x2f3e7c._0xe98189)][_0x1c28dc(_0x2f3e7c._0x220015)](_0xcd603d[_0x1c28dc(_0x2f3e7c._0x1fe98e)]);
647
+ if (_0x564973['rootMessageId'])
648
+ return _0x3475a5[_0x574d85(0x13b)] === _0x564973[_0x574d85(_0x538919._0x1096b6)] || _0x564973[_0x574d85(_0x538919._0x1096b6)]['startsWith'](_0x3475a5[_0x574d85(0x13b)]);
649
+ if (_0x564973[_0x574d85(0x28b)])
650
+ return _0x3475a5[_0x574d85(0x13b)] === _0x564973['threadId'] || _0x564973['threadId'][_0x574d85(0x215)](_0x3475a5[_0x574d85(0x13b)]);
1024
651
  return ![];
1025
652
  } catch {
1026
653
  return ![];
1027
654
  }
1028
655
  }
1029
- function _0x3bb785(_0x1f1ba2) {
1030
- const _0x1babff = _0x12276d;
1031
- return _0x1f1ba2['member']?.[_0x1babff(_0x209e93._0x148c73)] ?? _0x1f1ba2['participant']?.['id'] ?? _0x1f1ba2[_0x1babff(0x15d)] ?? '';
656
+ function _0x3974b5(_0x508374) {
657
+ const _0x3d0d5d = _0x48cdc4;
658
+ return _0x508374['member']?.['participantId'] ?? _0x508374['participant']?.['id'] ?? _0x508374[_0x3d0d5d(_0x33b904._0x5d384b)] ?? '';
1032
659
  }
1033
- function _0x30485d(_0x15ca41) {
1034
- const _0x4dad69 = _0x12276d;
1035
- return _0x15ca41['participant']?.[_0x4dad69(0x1a5)] ?? _0x3bb785(_0x15ca41);
660
+ function _0xe4f041(_0x4390af) {
661
+ const _0x32e3e7 = _0x48cdc4;
662
+ return _0x4390af[_0x32e3e7(0x29e)]?.['name'] ?? _0x3974b5(_0x4390af);
1036
663
  }
1037
- async function _0x49cd6b(_0x1658a2) {
1038
- const _0x474efc = _0x12276d, _0x500a2f = Math[_0x474efc(0x273)](_0x1658a2[_0x474efc(_0x2e597e._0x5da472)] ?? 0x32, 0x64), _0xb8481c = await _0x40c4a0(), _0x525cfa = new URLSearchParams();
1039
- _0x525cfa[_0x474efc(_0x2e597e._0x507f3e)](_0x474efc(_0x2e597e._0x48a630), String(_0x500a2f));
1040
- _0x1658a2[_0x474efc(0x184)] ? (_0x525cfa['set']('threadId', _0x1658a2['threadId']), _0x525cfa[_0x474efc(0x12b)](_0x474efc(0x1a1), _0x1658a2[_0x474efc(0x1a1)])) : _0x525cfa[_0x474efc(0x12b)](_0x474efc(_0x2e597e._0x532268), _0x1658a2['channelId']);
1041
- _0x1658a2['before'] && _0x525cfa[_0x474efc(0x12b)](_0x474efc(_0x2e597e._0xc3c76b), String(_0x1658a2[_0x474efc(0x1c3)]));
1042
- _0x1658a2[_0x474efc(0x1cf)] !== void 0x0 && _0x525cfa['set'](_0x474efc(_0x2e597e._0x50199b), String(_0x1658a2[_0x474efc(0x1cf)]));
1043
- const _0x5aa50a = await _0x5319c9('/internal/agent/' + _0x5b69b8['agentId'] + '/history?' + _0x525cfa[_0x474efc(0x167)](), {
1044
- 'headers': _0x186643,
1045
- 'method': 'GET'
1046
- }), _0x322dde = (_0x5aa50a[_0x474efc(0x193)] ?? [])[_0x474efc(0x157)](_0x1f04fe => ({
1047
- 'attachments': (_0x1f04fe[_0x474efc(0x12e)] ?? [])[_0x474efc(0x157)](_0x497a94 => ({
1048
- 'filename': _0x497a94[_0x474efc(0x1de)] ?? _0x497a94['id'],
1049
- 'id': _0x497a94['id']
664
+ async function _0x5a8c6e(_0x3beeb5) {
665
+ const _0x2a78dd = _0x48cdc4, _0x26fbcb = Math[_0x2a78dd(0x1cd)](_0x3beeb5[_0x2a78dd(0x214)] ?? 0x32, 0x64), _0x4cccfd = await _0x1c8519(), _0x1a55d6 = new URLSearchParams();
666
+ _0x1a55d6[_0x2a78dd(0x1e5)](_0x2a78dd(_0x1f8d88._0x3819e7), String(_0x26fbcb));
667
+ _0x3beeb5[_0x2a78dd(0x28b)] ? (_0x1a55d6[_0x2a78dd(0x1e5)](_0x2a78dd(_0x1f8d88._0x1b89fa), _0x3beeb5[_0x2a78dd(0x28b)]), _0x1a55d6[_0x2a78dd(0x1e5)](_0x2a78dd(_0x1f8d88._0x55d8c1), _0x3beeb5[_0x2a78dd(_0x1f8d88._0x1a689c)])) : _0x1a55d6[_0x2a78dd(_0x1f8d88._0x488bea)]('channelId', _0x3beeb5[_0x2a78dd(_0x1f8d88._0x55d8c1)]);
668
+ _0x3beeb5['before'] && _0x1a55d6['set'](_0x2a78dd(_0x1f8d88._0x391dee), String(_0x3beeb5['before']));
669
+ _0x3beeb5[_0x2a78dd(_0x1f8d88._0x11873e)] !== void 0x0 && _0x1a55d6[_0x2a78dd(_0x1f8d88._0x4de3c9)](_0x2a78dd(_0x1f8d88._0x83960d), String(_0x3beeb5[_0x2a78dd(0x26b)]));
670
+ const _0x131704 = await _0x1d8040(_0x2a78dd(_0x1f8d88._0x2ba919) + _0x13d36f['agentId'] + _0x2a78dd(_0x1f8d88._0x256cce) + _0x1a55d6[_0x2a78dd(0x1f9)](), {
671
+ 'headers': _0x260a25,
672
+ 'method': _0x2a78dd(0x24e)
673
+ }), _0xb9599d = (_0x131704[_0x2a78dd(_0x1f8d88._0x22f7b4)] ?? [])[_0x2a78dd(_0x1f8d88._0x398e5f)](_0x28fd52 => ({
674
+ 'attachments': (_0x28fd52['attachments'] ?? [])[_0x2a78dd(0x208)](_0x4a9bc2 => ({
675
+ 'filename': _0x4a9bc2[_0x2a78dd(0x1b6)] ?? _0x4a9bc2['id'],
676
+ 'id': _0x4a9bc2['id']
1050
677
  })),
1051
- 'content': _0x1f04fe[_0x474efc(0x254)] ?? '',
1052
- 'createdAt': _0x1f04fe[_0x474efc(0x262)],
1053
- 'messageId': _0x1f04fe['id'],
1054
- 'senderName': _0x1f04fe[_0x474efc(0x1c7)],
1055
- 'senderType': _0x1600b0(_0x1f04fe[_0x474efc(0x1c7)], _0xb8481c),
1056
- 'seq': _0x1f04fe['eventSeq'] ?? 0x0
678
+ 'content': _0x28fd52['bodyMarkdown'] ?? '',
679
+ 'createdAt': _0x28fd52[_0x2a78dd(0x13c)],
680
+ 'messageId': _0x28fd52['id'],
681
+ 'senderName': _0x28fd52[_0x2a78dd(0x228)],
682
+ 'senderType': _0x2db2d6(_0x28fd52[_0x2a78dd(0x228)], _0x4cccfd),
683
+ 'seq': _0x28fd52[_0x2a78dd(0x209)] ?? 0x0
1057
684
  }));
1058
685
  return {
1059
- 'channel': _0x1658a2[_0x474efc(0x24d)],
1060
- 'hasMore': _0x5aa50a['meta']?.[_0x474efc(0x1ad)] ?? ![],
1061
- 'messages': _0x322dde,
1062
- 'nextCursor': _0x5aa50a[_0x474efc(_0x2e597e._0x478cb6)]?.[_0x474efc(0x144)]
686
+ 'channel': _0x3beeb5[_0x2a78dd(0x185)],
687
+ 'hasMore': _0x131704[_0x2a78dd(0x1c8)]?.['hasMore'] ?? ![],
688
+ 'messages': _0xb9599d,
689
+ 'nextCursor': _0x131704[_0x2a78dd(_0x1f8d88._0x2d235c)]?.[_0x2a78dd(0x289)]
1063
690
  };
1064
691
  }
1065
692
  return {
1066
- async 'sendMessage'(_0x44cc1c) {
1067
- const _0x372882 = _0x12276d, _0x167b47 = await _0x230320(_0x44cc1c[_0x372882(0x17a)]), _0x3be212 = _0x44cc1c[_0x372882(_0xc39e25._0x3a9e05)][_0x372882(_0xc39e25._0x21d672)]('@') ? extractMentionedParticipantIds(_0x44cc1c[_0x372882(_0xc39e25._0x3a9e05)], await _0x40c4a0()) : [], _0x26dd3f = await _0x5319c9(_0x372882(0x16f) + _0x5b69b8['agentId'] + _0x372882(_0xc39e25._0x13ec2a), {
1068
- 'body': JSON[_0x372882(_0xc39e25._0x229bea)]({
1069
- 'attachment_ids': _0x44cc1c[_0x372882(_0xc39e25._0x526457)],
1070
- 'bodyMarkdown': _0x44cc1c['content'],
1071
- 'channelId': _0x167b47['channelId'],
1072
- ..._0x3be212[_0x372882(_0xc39e25._0x3e8acd)] > 0x0 ? { 'mentionedParticipantIds': _0x3be212 } : {},
1073
- 'threadId': _0x167b47[_0x372882(0x184)],
1074
- ..._0x44cc1c['visibility'] ? { 'visibility': _0x44cc1c[_0x372882(0x134)] } : {}
693
+ async 'sendMessage'(_0xa2f20d) {
694
+ const _0xb7de02 = _0x48cdc4, _0x182b41 = await _0x459e2f(_0xa2f20d[_0xb7de02(0x1fe)]), _0x42831e = _0xa2f20d[_0xb7de02(_0x3e364b._0x2c5a00)][_0xb7de02(0x135)]('@') ? extractMentionedParticipantIds(_0xa2f20d[_0xb7de02(0x23f)], await _0x1c8519()) : [], _0x3dca04 = await _0x1d8040(_0xb7de02(_0x3e364b._0x43864d) + _0x13d36f[_0xb7de02(_0x3e364b._0x2c55fe)] + _0xb7de02(0x1da), {
695
+ 'body': JSON['stringify']({
696
+ 'attachment_ids': _0xa2f20d[_0xb7de02(0x1ab)],
697
+ 'bodyMarkdown': _0xa2f20d[_0xb7de02(0x23f)],
698
+ 'channelId': _0x182b41['channelId'],
699
+ ..._0x42831e[_0xb7de02(0x190)] > 0x0 ? { 'mentionedParticipantIds': _0x42831e } : {},
700
+ 'threadId': _0x182b41[_0xb7de02(_0x3e364b._0x36776d)],
701
+ ..._0xa2f20d[_0xb7de02(_0x3e364b._0x48a3fe)] ? { 'visibility': _0xa2f20d[_0xb7de02(0x24a)] } : {}
1075
702
  }),
1076
- 'headers': _0x186643,
1077
- 'method': _0x372882(0x205)
703
+ 'headers': _0x260a25,
704
+ 'method': _0xb7de02(0x199)
1078
705
  });
1079
- return { 'messageId': _0x26dd3f['data']?.['id'] ?? '' };
706
+ return { 'messageId': _0x3dca04[_0xb7de02(0x153)]?.['id'] ?? '' };
1080
707
  },
1081
708
  async 'listSchedules'() {
1082
- const _0x2ea2a1 = _0x12276d, _0x5496ec = await _0x5319c9('/api/internal/schedules', {
1083
- 'headers': _0x186643,
1084
- 'method': _0x2ea2a1(0x127)
709
+ const _0x152da3 = _0x48cdc4, _0x116ff5 = await _0x1d8040(_0x152da3(0x158), {
710
+ 'headers': _0x260a25,
711
+ 'method': _0x152da3(_0x4cc4ed._0x28f41d)
1085
712
  });
1086
- return _0x5496ec[_0x2ea2a1(0x193)] ?? [];
713
+ return _0x116ff5[_0x152da3(_0x4cc4ed._0x2ab48a)] ?? [];
1087
714
  },
1088
- async 'claimScheduleRun'(_0x563493) {
1089
- const _0x4f3e2a = _0x12276d, _0x5f13c3 = await _0x5319c9(_0x4f3e2a(0x19d), {
1090
- 'body': JSON[_0x4f3e2a(_0x481ae5._0x4ede99)](_0x563493),
1091
- 'headers': _0x186643,
1092
- 'method': _0x4f3e2a(0x205)
715
+ async 'claimScheduleRun'(_0xab9d7a) {
716
+ const _0x1cbccb = _0x48cdc4, _0x1241df = await _0x1d8040(_0x1cbccb(_0x3fb387._0x2390cf), {
717
+ 'body': JSON[_0x1cbccb(0x14b)](_0xab9d7a),
718
+ 'headers': _0x260a25,
719
+ 'method': 'POST'
1093
720
  });
1094
- return _0x5f13c3[_0x4f3e2a(_0x481ae5._0x238211)] ?? {
721
+ return _0x1241df[_0x1cbccb(_0x3fb387._0x15ede1)] ?? {
1095
722
  'granted': ![],
1096
723
  'runId': null,
1097
724
  'schedule': null,
1098
- 'scheduledFor': _0x563493[_0x4f3e2a(0x1d9)]
725
+ 'scheduledFor': _0xab9d7a[_0x1cbccb(0x29f)]
1099
726
  };
1100
727
  },
1101
- async 'startScheduleRun'(_0x36c6bb) {
1102
- const _0x4c38bf = _0x12276d, _0x379cd4 = await _0x5319c9(_0x4c38bf(0x271) + encodeURIComponent(_0x36c6bb[_0x4c38bf(_0x4dd837._0x5c5ac8)]) + '/start', {
1103
- 'body': JSON['stringify']({}),
1104
- 'headers': _0x186643,
728
+ async 'startScheduleRun'(_0x344c5b) {
729
+ const _0x2c4b25 = _0x48cdc4, _0x5dfbce = await _0x1d8040(_0x2c4b25(0x26d) + encodeURIComponent(_0x344c5b[_0x2c4b25(_0x28060a._0x22aec3)]) + '/start', {
730
+ 'body': JSON[_0x2c4b25(_0x28060a._0x32a397)]({}),
731
+ 'headers': _0x260a25,
1105
732
  'method': 'POST'
1106
733
  });
1107
- return _0x379cd4[_0x4c38bf(0x193)] ?? {
734
+ return _0x5dfbce[_0x2c4b25(_0x28060a._0x57e62f)] ?? {
1108
735
  'claimedByDaemonId': '',
1109
- 'id': _0x36c6bb[_0x4c38bf(_0x4dd837._0x5c5ac8)],
736
+ 'id': _0x344c5b[_0x2c4b25(_0x28060a._0x22aec3)],
1110
737
  'scheduleId': '',
1111
- 'status': 'running'
738
+ 'status': _0x2c4b25(0x28a)
1112
739
  };
1113
740
  },
1114
- async 'finishScheduleRun'(_0x3f437b) {
1115
- const _0x110220 = _0x12276d, _0x225321 = await _0x5319c9('/api/internal/schedules/' + encodeURIComponent(_0x3f437b[_0x110220(_0x38e4bc._0x38058c)]) + _0x110220(0x1a7), {
1116
- 'body': JSON['stringify']({
1117
- 'error': _0x3f437b[_0x110220(_0x38e4bc._0x218db0)],
1118
- 'resultJson': _0x3f437b[_0x110220(0x26b)],
1119
- 'status': _0x3f437b[_0x110220(0x249)]
741
+ async 'finishScheduleRun'(_0x197bf9) {
742
+ const _0x8b1159 = _0x48cdc4, _0x5d5358 = await _0x1d8040(_0x8b1159(_0x13e5e5._0x5b047b) + encodeURIComponent(_0x197bf9[_0x8b1159(0x250)]) + _0x8b1159(0x121), {
743
+ 'body': JSON[_0x8b1159(_0x13e5e5._0x312946)]({
744
+ 'error': _0x197bf9['error'],
745
+ 'resultJson': _0x197bf9[_0x8b1159(0x252)],
746
+ 'status': _0x197bf9['status']
1120
747
  }),
1121
- 'headers': _0x186643,
1122
- 'method': _0x110220(_0x38e4bc._0x40a2d1)
748
+ 'headers': _0x260a25,
749
+ 'method': 'POST'
1123
750
  });
1124
- return _0x225321['data'] ?? {
751
+ return _0x5d5358[_0x8b1159(_0x13e5e5._0x3d0059)] ?? {
1125
752
  'nextRunAt': null,
1126
753
  'run': {
1127
754
  'claimedByDaemonId': '',
1128
- 'id': _0x3f437b[_0x110220(0x202)],
755
+ 'id': _0x197bf9[_0x8b1159(_0x13e5e5._0x206a25)],
1129
756
  'scheduleId': '',
1130
- 'status': _0x3f437b['status']
757
+ 'status': _0x197bf9[_0x8b1159(_0x13e5e5._0x207b94)]
1131
758
  }
1132
759
  };
1133
760
  },
1134
- async 'listTasks'(_0x274df3) {
1135
- const _0x222dcd = _0x12276d, _0x4cb11a = new URLSearchParams();
1136
- return _0x4cb11a['set'](_0x222dcd(_0x20d162._0x4ef1c9), _0x274df3['channel']), _0x274df3[_0x222dcd(_0x20d162._0x1a24c3)] && _0x4cb11a[_0x222dcd(0x12b)](_0x222dcd(_0x20d162._0x42cebf), _0x274df3[_0x222dcd(_0x20d162._0x5024dd)]), _0x58be69('/internal/agent/' + _0x5b69b8[_0x222dcd(0x215)] + _0x222dcd(0x23e) + _0x4cb11a[_0x222dcd(_0x20d162._0x379381)](), {
1137
- 'headers': _0x186643,
1138
- 'method': _0x222dcd(0x127)
761
+ async 'listTasks'(_0x322069) {
762
+ const _0x4ec7d4 = _0x48cdc4, _0x47ccd7 = new URLSearchParams();
763
+ return _0x47ccd7[_0x4ec7d4(0x1e5)](_0x4ec7d4(0x268), _0x322069[_0x4ec7d4(0x268)]), _0x322069[_0x4ec7d4(0x27f)] && _0x47ccd7[_0x4ec7d4(0x1e5)](_0x4ec7d4(0x27f), _0x322069[_0x4ec7d4(0x27f)]), _0x270d3b('/internal/agent/' + _0x13d36f[_0x4ec7d4(_0x2c7e73._0x3a1d80)] + _0x4ec7d4(0x271) + _0x47ccd7[_0x4ec7d4(0x1f9)](), {
764
+ 'headers': _0x260a25,
765
+ 'method': _0x4ec7d4(0x24e)
1139
766
  });
1140
767
  },
1141
- async 'createTasks'(_0x2a3e14) {
1142
- const _0x4d867d = _0x12276d;
1143
- return _0x58be69(_0x4d867d(0x16f) + _0x5b69b8[_0x4d867d(0x215)] + _0x4d867d(_0x1ffc6c._0x3e8f08), {
1144
- 'body': JSON['stringify']({
1145
- ..._0x2a3e14,
1146
- 'idempotency_key': _0x2a480f('create_tasks', _0x2a3e14)
768
+ async 'createTasks'(_0x14e6fc) {
769
+ const _0x50a3de = _0x48cdc4;
770
+ return _0x270d3b(_0x50a3de(0x1cf) + _0x13d36f['agentId'] + _0x50a3de(_0x2337a0._0x1c7347), {
771
+ 'body': JSON[_0x50a3de(_0x2337a0._0x5c8a09)]({
772
+ ..._0x14e6fc,
773
+ 'idempotency_key': _0x12772a(_0x50a3de(0x222), _0x14e6fc)
1147
774
  }),
1148
- 'headers': _0x186643,
1149
- 'method': 'POST'
775
+ 'headers': _0x260a25,
776
+ 'method': _0x50a3de(_0x2337a0._0x693190)
1150
777
  });
1151
778
  },
1152
- async 'claimTasks'(_0x427c77) {
1153
- const _0x289832 = _0x12276d;
1154
- return _0x58be69(_0x289832(_0x186995._0x10f386) + _0x5b69b8[_0x289832(0x215)] + _0x289832(0x266), {
1155
- 'body': JSON[_0x289832(0x115)]({
1156
- ..._0x427c77,
1157
- 'idempotency_key': _0x2a480f(_0x289832(0xfd), _0x427c77)
779
+ async 'claimTasks'(_0xd8c161) {
780
+ const _0x39d41b = _0x48cdc4;
781
+ return _0x270d3b(_0x39d41b(0x1cf) + _0x13d36f[_0x39d41b(0x15b)] + _0x39d41b(0x277), {
782
+ 'body': JSON[_0x39d41b(0x14b)]({
783
+ ..._0xd8c161,
784
+ 'idempotency_key': _0x12772a(_0x39d41b(0x1c3), _0xd8c161)
1158
785
  }),
1159
- 'headers': _0x186643,
1160
- 'method': _0x289832(0x205)
786
+ 'headers': _0x260a25,
787
+ 'method': _0x39d41b(_0x2598d4._0x482643)
1161
788
  });
1162
789
  },
1163
- async 'unclaimTask'(_0x158846) {
1164
- const _0x14d020 = _0x12276d;
1165
- return _0x58be69(_0x14d020(_0x1955a5._0x1284a7) + _0x5b69b8['agentId'] + _0x14d020(_0x1955a5._0x45d66d), {
1166
- 'body': JSON[_0x14d020(_0x1955a5._0x4dff3c)]({
1167
- ..._0x158846,
1168
- 'idempotency_key': _0x2a480f('unclaim_task', _0x158846)
790
+ async 'unclaimTask'(_0x42b4b8) {
791
+ const _0x201902 = _0x48cdc4;
792
+ return _0x270d3b(_0x201902(_0x29cc52._0x4c7ac1) + _0x13d36f['agentId'] + '/tasks/unclaim', {
793
+ 'body': JSON[_0x201902(0x14b)]({
794
+ ..._0x42b4b8,
795
+ 'idempotency_key': _0x12772a(_0x201902(_0x29cc52._0x5ad920), _0x42b4b8)
1169
796
  }),
1170
- 'headers': _0x186643,
1171
- 'method': _0x14d020(_0x1955a5._0x1f4f2e)
797
+ 'headers': _0x260a25,
798
+ 'method': _0x201902(0x199)
1172
799
  });
1173
800
  },
1174
- async 'updateTaskStatus'(_0x3cd00b) {
1175
- const _0x3be15f = _0x12276d;
1176
- return _0x58be69(_0x3be15f(0x16f) + _0x5b69b8[_0x3be15f(0x215)] + _0x3be15f(_0x3e46a8._0x3d327c), {
1177
- 'body': JSON[_0x3be15f(_0x3e46a8._0x480100)]({
1178
- ..._0x3cd00b,
1179
- 'idempotency_key': _0x2a480f(_0x3be15f(_0x3e46a8._0x58dccf), _0x3cd00b)
801
+ async 'updateTaskStatus'(_0x5044b4) {
802
+ const _0x49c7a6 = _0x48cdc4;
803
+ return _0x270d3b(_0x49c7a6(0x1cf) + _0x13d36f[_0x49c7a6(0x15b)] + _0x49c7a6(_0x3ffdc5._0x5771f2), {
804
+ 'body': JSON[_0x49c7a6(_0x3ffdc5._0x3fe330)]({
805
+ ..._0x5044b4,
806
+ 'idempotency_key': _0x12772a(_0x49c7a6(0x1c9), _0x5044b4)
1180
807
  }),
1181
- 'headers': _0x186643,
808
+ 'headers': _0x260a25,
1182
809
  'method': 'POST'
1183
810
  });
1184
811
  },
1185
- async 'uploadFile'(_0x483f99) {
1186
- const _0xc91ea2 = _0x12276d, _0x1e72b6 = await _0x230320(_0x483f99[_0xc91ea2(0x26f)]);
1187
- if (_0x1e72b6['threadId'])
1188
- throw new Error(_0xc91ea2(_0x3c5c8e._0xb36b04));
1189
- const _0x5c44aa = await _0x5319c9(_0xc91ea2(0x16f) + _0x5b69b8[_0xc91ea2(_0x3c5c8e._0x3447f2)] + '/upload', {
1190
- 'body': JSON[_0xc91ea2(_0x3c5c8e._0x113d6f)]({
1191
- 'channel': _0x1e72b6[_0xc91ea2(_0x3c5c8e._0x5f1de0)],
1192
- 'contentBase64': _0x483f99[_0xc91ea2(_0x3c5c8e._0x356261)],
1193
- 'contentType': _0x483f99[_0xc91ea2(_0x3c5c8e._0x560fce)],
1194
- 'originalFilename': _0x483f99[_0xc91ea2(_0x3c5c8e._0x1fb7a6)]
812
+ async 'uploadFile'(_0x30bbbc) {
813
+ const _0x3b300f = _0x48cdc4, _0x57510a = await _0x459e2f(_0x30bbbc[_0x3b300f(0x268)]);
814
+ if (_0x57510a[_0x3b300f(_0x3ea8a0._0x5499db)])
815
+ throw new Error(_0x3b300f(_0x3ea8a0._0x45cdc7));
816
+ const _0x4c1ad6 = await _0x1d8040(_0x3b300f(0x1cf) + _0x13d36f['agentId'] + _0x3b300f(0x12c), {
817
+ 'body': JSON[_0x3b300f(_0x3ea8a0._0x592796)]({
818
+ 'channel': _0x57510a[_0x3b300f(_0x3ea8a0._0x502405)],
819
+ 'contentBase64': _0x30bbbc['contentBase64'],
820
+ 'contentType': _0x30bbbc['contentType'],
821
+ 'originalFilename': _0x30bbbc[_0x3b300f(_0x3ea8a0._0x35fedc)]
1195
822
  }),
1196
- 'headers': _0x186643,
1197
- 'method': _0xc91ea2(_0x3c5c8e._0x11349e)
823
+ 'headers': _0x260a25,
824
+ 'method': _0x3b300f(_0x3ea8a0._0x545740)
1198
825
  });
1199
826
  return {
1200
- 'attachmentId': _0x5c44aa[_0xc91ea2(_0x3c5c8e._0x32aa6e)]?.['id'] ?? '',
1201
- 'filename': _0x5c44aa[_0xc91ea2(_0x3c5c8e._0x32aa6e)]?.['originalFilename'] ?? _0x483f99['filename'],
1202
- 'sizeBytes': _0x5c44aa[_0xc91ea2(0x193)]?.[_0xc91ea2(0x26d)] ?? 0x0
827
+ 'attachmentId': _0x4c1ad6[_0x3b300f(_0x3ea8a0._0x254a57)]?.['id'] ?? '',
828
+ 'filename': _0x4c1ad6[_0x3b300f(0x153)]?.[_0x3b300f(0x141)] ?? _0x30bbbc[_0x3b300f(_0x3ea8a0._0x35fedc)],
829
+ 'sizeBytes': _0x4c1ad6['data']?.[_0x3b300f(0x267)] ?? 0x0
1203
830
  };
1204
831
  },
1205
- async 'downloadAttachment'(_0x2994e4) {
1206
- const _0x1e570a = _0x12276d, _0x564e8b = await _0x5319c9(_0x1e570a(_0x3b5c83._0x4b6433) + _0x2994e4, {
1207
- 'headers': _0x186643,
832
+ async 'downloadAttachment'(_0x9e0588) {
833
+ const _0x3ac7d0 = _0x48cdc4, _0x5eddaf = await _0x1d8040(_0x3ac7d0(0x193) + _0x9e0588, {
834
+ 'headers': _0x260a25,
1208
835
  'method': 'GET'
1209
- }), _0x6c5336 = new AbortController(), _0x30a95b = setTimeout(() => _0x6c5336[_0x1e570a(0x1dc)](), _0x32b7eb);
836
+ }), _0x1fd0e2 = new AbortController(), _0x4731a6 = setTimeout(() => _0x1fd0e2[_0x3ac7d0(0x1b4)](), _0x5dad0a);
1210
837
  try {
1211
- const _0x387071 = await _0x14be2d(_0x3fa8d3 + _0x1e570a(_0x3b5c83._0x4b6433) + _0x2994e4 + '/content', {
1212
- 'headers': _0x186643,
1213
- 'method': _0x1e570a(_0x3b5c83._0x22c029),
1214
- 'signal': _0x6c5336[_0x1e570a(_0x3b5c83._0x43689c)]
838
+ const _0x52486d = await _0x489cf6(_0x558658 + '/api/attachments/' + _0x9e0588 + _0x3ac7d0(_0x3ba4af._0x288724), {
839
+ 'headers': _0x260a25,
840
+ 'method': 'GET',
841
+ 'signal': _0x1fd0e2[_0x3ac7d0(0x156)]
1215
842
  });
1216
- if (!_0x387071['ok'])
1217
- throw new Error('HTTP\x20' + _0x387071[_0x1e570a(_0x3b5c83._0x40e61a)]);
843
+ if (!_0x52486d['ok'])
844
+ throw new Error(_0x3ac7d0(0x283) + _0x52486d[_0x3ac7d0(0x27f)]);
1218
845
  return {
1219
- 'contentType': _0x564e8b[_0x1e570a(_0x3b5c83._0x741592)]?.[_0x1e570a(_0x3b5c83._0xb44e43)] ?? _0x387071['headers'][_0x1e570a(0x1ab)](_0x1e570a(0x166)) ?? _0x1e570a(0x1b1),
1220
- 'data': Buffer[_0x1e570a(0x147)](await _0x387071[_0x1e570a(0x174)]()),
1221
- 'originalFilename': _0x564e8b[_0x1e570a(0x193)]?.[_0x1e570a(0x100)]
846
+ 'contentType': _0x5eddaf[_0x3ac7d0(_0x3ba4af._0x279eb3)]?.[_0x3ac7d0(_0x3ba4af._0x6b8881)] ?? _0x52486d['headers'][_0x3ac7d0(0x218)]('content-type') ?? _0x3ac7d0(0x1a4),
847
+ 'data': Buffer[_0x3ac7d0(_0x3ba4af._0x1d84b3)](await _0x52486d[_0x3ac7d0(0x247)]()),
848
+ 'originalFilename': _0x5eddaf['data']?.[_0x3ac7d0(_0x3ba4af._0x3a4013)]
1222
849
  };
1223
850
  } finally {
1224
- clearTimeout(_0x30a95b);
851
+ clearTimeout(_0x4731a6);
1225
852
  }
1226
853
  },
1227
854
  async 'listServer'() {
1228
- return _0x40c4a0({ 'forceRefresh': !![] });
855
+ return _0x1c8519({ 'forceRefresh': !![] });
1229
856
  },
1230
- async 'readHistory'(_0x37ded0) {
1231
- const _0x2ec5b3 = _0x12276d, _0x4abdec = await _0x230320(_0x37ded0['channel']);
1232
- return _0x49cd6b({
1233
- 'after': _0x37ded0['after'],
1234
- 'before': _0x37ded0[_0x2ec5b3(0x1c3)],
1235
- 'channelId': _0x4abdec[_0x2ec5b3(_0x4c3ff1._0x3d1794)],
1236
- 'channelTarget': _0x4abdec[_0x2ec5b3(_0x4c3ff1._0x192fe7)],
1237
- 'limit': _0x37ded0['limit'],
1238
- 'threadId': _0x4abdec[_0x2ec5b3(0x184)]
857
+ async 'readHistory'(_0x15719b) {
858
+ const _0x20ea48 = _0x48cdc4, _0x1f6faf = await _0x459e2f(_0x15719b['channel']);
859
+ return _0x5a8c6e({
860
+ 'after': _0x15719b[_0x20ea48(_0x103a32._0x533010)],
861
+ 'before': _0x15719b[_0x20ea48(0x25d)],
862
+ 'channelId': _0x1f6faf[_0x20ea48(_0x103a32._0xc1267e)],
863
+ 'channelTarget': _0x1f6faf[_0x20ea48(0x1fe)],
864
+ 'limit': _0x15719b['limit'],
865
+ 'threadId': _0x1f6faf['threadId']
1239
866
  });
1240
867
  },
1241
- 'resolveTarget': _0x230320,
868
+ 'resolveTarget': _0x459e2f,
1242
869
  async 'checkMessages'() {
1243
- const _0x29bf4b = {
1244
- _0x5c1c06: 0x1f9,
1245
- _0x5bf04e: 0x1a1
1246
- }, _0x4ef99a = _0x12276d, _0xe8fb71 = new URLSearchParams();
1247
- _0xe8fb71['set'](_0x4ef99a(_0x360058._0x49c552), String(_0x1b7865));
1248
- const _0x2a0fde = _0xe8fb71[_0x4ef99a(_0x360058._0x758dc9)](), _0x12e38f = await _0x5319c9('/internal/agent/' + _0x5b69b8['agentId'] + _0x4ef99a(0x1da) + (_0x2a0fde ? '?' + _0x2a0fde : ''), {
1249
- 'headers': _0x186643,
1250
- 'method': _0x4ef99a(0x127)
1251
- }), _0x325000 = _0x12e38f['data'] ?? [], _0x216d26 = _0x12e38f[_0x4ef99a(0x143)]?.[_0x4ef99a(_0x360058._0x1cd084)], _0x55c5de = _0x216d26 !== void 0x0 ? Math['max'](_0x1b7865, _0x216d26) : _0x325000[_0x4ef99a(_0x360058._0x163511)] > 0x0 ? Math['max'](_0x1b7865, _0x325000[_0x325000['length'] - 0x1]['seq']) : _0x1b7865, _0x573c51 = _0x325000[_0x4ef99a(0x1ea)](_0x3c8e45 => _0x3c8e45[_0x4ef99a(0x21d)] === _0x4ef99a(0x24b)), _0x20bb30 = _0x53b1a9 === void 0x0 && _0xd3925b;
1252
- let _0x49331d = await _0x40c4a0(), _0xd9c645 = new Map(_0x49331d[_0x4ef99a(_0x360058._0x3a4475)][_0x4ef99a(_0x360058._0x78db33)](_0x5aa1db => [
1253
- _0x5aa1db['id'],
1254
- _0x5aa1db
870
+ const _0x5cab76 = { _0x38b32d: 0x140 }, _0xce13b5 = _0x48cdc4, _0xe35dab = new URLSearchParams();
871
+ _0xe35dab[_0xce13b5(0x1e5)](_0xce13b5(_0x3728a0._0x2e7a91), String(_0x16e3b1));
872
+ const _0x5f075b = _0xe35dab[_0xce13b5(_0x3728a0._0x16b3f4)](), _0x9a779c = await _0x1d8040(_0xce13b5(_0x3728a0._0xd9f26a) + _0x13d36f[_0xce13b5(_0x3728a0._0x5bfccf)] + '/receive' + (_0x5f075b ? '?' + _0x5f075b : ''), {
873
+ 'headers': _0x260a25,
874
+ 'method': 'GET'
875
+ }), _0x907ad7 = _0x9a779c[_0xce13b5(0x153)] ?? [], _0x48a36f = _0x9a779c[_0xce13b5(_0x3728a0._0x3b5cdd)]?.[_0xce13b5(_0x3728a0._0x48f231)], _0x531496 = _0x48a36f !== void 0x0 ? Math[_0xce13b5(_0x3728a0._0x3c9109)](_0x16e3b1, _0x48a36f) : _0x907ad7[_0xce13b5(0x190)] > 0x0 ? Math[_0xce13b5(_0x3728a0._0xb985d1)](_0x16e3b1, _0x907ad7[_0x907ad7[_0xce13b5(_0x3728a0._0x55fe5c)] - 0x1]['seq']) : _0x16e3b1, _0x3e960d = _0x907ad7[_0xce13b5(_0x3728a0._0xb77e4d)](_0xc42a06 => _0xc42a06[_0xce13b5(0x232)] === 'message'), _0x207d0f = _0x2255dd === void 0x0 && _0x31c393;
876
+ let _0x3bdb1f = await _0x1c8519(), _0x5c7de7 = new Map(_0x3bdb1f[_0xce13b5(_0x3728a0._0x43bc7e)][_0xce13b5(_0x3728a0._0x331fd8)](_0x1d9dd3 => [
877
+ _0x1d9dd3['id'],
878
+ _0x1d9dd3
1255
879
  ]));
1256
- const _0x4e417f = _0x573c51[_0x4ef99a(0x1a3)](_0x1f2483 => {
1257
- const _0x56eebb = _0x4ef99a, _0x5170f5 = asRecord(_0x1f2483[_0x56eebb(_0x29bf4b._0x5c1c06)]), _0x70de40 = typeof _0x5170f5?.['channelId'] === _0x56eebb(0x1c1) ? _0x5170f5[_0x56eebb(_0x29bf4b._0x5bf04e)] : '';
1258
- return Boolean(_0x70de40) && !_0xd9c645['has'](_0x70de40);
880
+ const _0x14ea6b = _0x3e960d[_0xce13b5(_0x3728a0._0x17f0d7)](_0x4e3e36 => {
881
+ const _0x5641de = _0xce13b5, _0x2b3097 = asRecord(_0x4e3e36[_0x5641de(0x1e0)]), _0x32408c = typeof _0x2b3097?.['channelId'] === _0x5641de(_0x5cab76._0x38b32d) ? _0x2b3097[_0x5641de(0x1fd)] : '';
882
+ return Boolean(_0x32408c) && !_0x5c7de7[_0x5641de(0x248)](_0x32408c);
1259
883
  });
1260
- _0x4e417f && (_0x49331d = await _0x40c4a0({ 'forceRefresh': !![] }), _0xd9c645 = new Map(_0x49331d[_0x4ef99a(_0x360058._0x2075d0)][_0x4ef99a(0x157)](_0x4925cf => [
1261
- _0x4925cf['id'],
1262
- _0x4925cf
884
+ _0x14ea6b && (_0x3bdb1f = await _0x1c8519({ 'forceRefresh': !![] }), _0x5c7de7 = new Map(_0x3bdb1f['channels'][_0xce13b5(0x208)](_0x5e9682 => [
885
+ _0x5e9682['id'],
886
+ _0x5e9682
1263
887
  ])));
1264
- const _0x10914 = new Map();
1265
- for (const _0xb1270c of _0x573c51) {
1266
- const _0x206ccf = asRecord(_0xb1270c[_0x4ef99a(0x1f9)]), _0x2f56ca = typeof _0x206ccf[_0x4ef99a(0x1a1)] === _0x4ef99a(0x1c1) ? _0x206ccf[_0x4ef99a(0x1a1)] : '';
1267
- if (!_0x2f56ca)
888
+ const _0x440dd6 = new Map();
889
+ for (const _0x3102f6 of _0x3e960d) {
890
+ const _0x1682bb = asRecord(_0x3102f6[_0xce13b5(0x1e0)]), _0x4349b8 = typeof _0x1682bb['channelId'] === _0xce13b5(_0x3728a0._0x1e18a8) ? _0x1682bb[_0xce13b5(0x1fd)] : '';
891
+ if (!_0x4349b8)
1268
892
  continue;
1269
- const _0x2c08f4 = typeof _0x206ccf[_0x4ef99a(_0x360058._0x344bbb)] === _0x4ef99a(0x1c1) ? _0x206ccf[_0x4ef99a(0x184)] : void 0x0, _0x400cf5 = typeof _0x206ccf[_0x4ef99a(_0x360058._0x7b47e9)] === _0x4ef99a(0x1c1) ? _0x206ccf[_0x4ef99a(0x23a)] : void 0x0, _0x5d4ee6 = typeof _0x206ccf[_0x4ef99a(_0x360058._0x48b5f1)] === 'number' && Number[_0x4ef99a(_0x360058._0x4d2db2)](_0x206ccf[_0x4ef99a(0x1c8)]) ? _0x206ccf[_0x4ef99a(_0x360058._0x48b5f1)] : void 0x0, _0x4b333a = Boolean(_0x2c08f4 && (!_0x400cf5 || _0xb1270c['aggregateId'] !== _0x400cf5)), _0x248eb2 = _0x4b333a ? _0x2f56ca + ':' + _0x2c08f4 : _0x2f56ca, _0x3fcfc5 = _0x10914[_0x4ef99a(0x1ab)](_0x248eb2) ?? {
893
+ const _0x37775c = typeof _0x1682bb['threadId'] === _0xce13b5(0x140) ? _0x1682bb[_0xce13b5(_0x3728a0._0x26e0c3)] : void 0x0, _0x50520f = typeof _0x1682bb[_0xce13b5(0x18a)] === 'string' ? _0x1682bb[_0xce13b5(0x18a)] : void 0x0, _0x2c8e52 = typeof _0x1682bb['threadNumber'] === _0xce13b5(0x2a4) && Number[_0xce13b5(0x191)](_0x1682bb[_0xce13b5(0x24b)]) ? _0x1682bb[_0xce13b5(0x24b)] : void 0x0, _0x2a0adc = Boolean(_0x37775c && (!_0x50520f || _0x3102f6['aggregateId'] !== _0x50520f)), _0x2c5a81 = _0x2a0adc ? _0x4349b8 + ':' + _0x37775c : _0x4349b8, _0x1db3e4 = _0x440dd6['get'](_0x2c5a81) ?? {
1270
894
  'aggregateIds': [],
1271
- 'channelId': _0x2f56ca,
895
+ 'channelId': _0x4349b8,
1272
896
  'entries': new Map(),
1273
- 'isThreadReply': _0x4b333a,
1274
- 'rootMessageId': _0x400cf5,
1275
- 'threadNumber': _0x5d4ee6,
1276
- 'threadId': _0x4b333a ? _0x2c08f4 : void 0x0
897
+ 'isThreadReply': _0x2a0adc,
898
+ 'rootMessageId': _0x50520f,
899
+ 'threadNumber': _0x2c8e52,
900
+ 'threadId': _0x2a0adc ? _0x37775c : void 0x0
1277
901
  };
1278
- _0x3fcfc5[_0x4ef99a(0x1c8)] == null && _0x5d4ee6 != null && (_0x3fcfc5[_0x4ef99a(0x1c8)] = _0x5d4ee6), !_0x3fcfc5['rootMessageId'] && _0x400cf5 && (_0x3fcfc5[_0x4ef99a(_0x360058._0x2bb5fa)] = _0x400cf5), _0x3fcfc5[_0x4ef99a(0x247)][_0x4ef99a(0xff)](_0xb1270c[_0x4ef99a(_0x360058._0xd18672)]), _0x3fcfc5[_0x4ef99a(_0x360058._0x1964db)][_0x4ef99a(_0x360058._0x3445f9)](_0xb1270c[_0x4ef99a(_0x360058._0xd18672)], {
1279
- 'payloadJson': _0xb1270c[_0x4ef99a(_0x360058._0x523aed)],
1280
- 'seq': _0xb1270c[_0x4ef99a(0x1fc)]
1281
- }), _0x10914[_0x4ef99a(0x12b)](_0x248eb2, _0x3fcfc5);
902
+ _0x1db3e4[_0xce13b5(0x24b)] == null && _0x2c8e52 != null && (_0x1db3e4[_0xce13b5(_0x3728a0._0x7fa418)] = _0x2c8e52), !_0x1db3e4[_0xce13b5(_0x3728a0._0x4c9f7f)] && _0x50520f && (_0x1db3e4[_0xce13b5(_0x3728a0._0x46d0f6)] = _0x50520f), _0x1db3e4['aggregateIds'][_0xce13b5(_0x3728a0._0x35f363)](_0x3102f6['aggregateId']), _0x1db3e4[_0xce13b5(0x23a)][_0xce13b5(_0x3728a0._0x554284)](_0x3102f6[_0xce13b5(0x226)], {
903
+ 'payloadJson': _0x3102f6[_0xce13b5(0x1e0)],
904
+ 'seq': _0x3102f6[_0xce13b5(0x1d3)]
905
+ }), _0x440dd6[_0xce13b5(0x1e5)](_0x2c5a81, _0x1db3e4);
1282
906
  }
1283
- const _0x14b931 = [];
1284
- for (const _0x1c83a4 of _0x10914['values']()) {
907
+ const _0xa7b6a3 = [];
908
+ for (const _0x57a4f5 of _0x440dd6['values']()) {
1285
909
  const {
1286
- channelId: _0x59008a,
1287
- threadId: _0x668fea,
1288
- rootMessageId: _0x2a228f,
1289
- threadNumber: _0x519d05,
1290
- aggregateIds: _0x49d506,
1291
- isThreadReply: _0x3214a3,
1292
- entries: _0xe6acb7
1293
- } = _0x1c83a4, _0x4c4db7 = _0xd9c645[_0x4ef99a(0x1ab)](_0x59008a), _0x8298d7 = _0x4c4db7?.[_0x4ef99a(0x1a5)] ?? _0x59008a, _0x15de32 = _0x4c4db7?.['kind'] === 'dm' ? _0x4ef99a(0x18b) + _0x8298d7 : '#' + _0x8298d7, _0x3c396e = {
1294
- 'channelTarget': _0x15de32,
1295
- 'rootMessageId': _0x2a228f,
1296
- 'threadId': _0x668fea,
1297
- 'threadNumber': _0x519d05
1298
- }, _0x3a8df0 = await _0x49cd6b({
1299
- 'channelId': _0x59008a,
1300
- 'channelTarget': _0x15de32,
1301
- 'limit': Math[_0x4ef99a(0x211)](_0x49d506[_0x4ef99a(_0x360058._0x163511)], 0x32),
1302
- 'threadId': _0x668fea
1303
- }), _0x124892 = new Map(_0x3a8df0[_0x4ef99a(_0x360058._0x372c75)]['map'](_0x5b575d => [
1304
- _0x5b575d['messageId'],
1305
- _0x5b575d
1306
- ])), _0x3d9300 = _0x668fea ? _0x1c1b5f(_0x3c396e) : _0x15de32, _0x45cf5f = _0x53b1a9 ? _0x3214a3 && _0x1dfced(_0x53b1a9, _0x3c396e) : !![], _0x2feb3b = _0x3214a3 ? _0x45cf5f && _0x53b1a9 ? _0x53b1a9 : _0x3d9300 : _0x15de32;
1307
- for (const _0x5954ce of _0x49d506) {
1308
- if (!_0x45cf5f)
910
+ channelId: _0x4287a9,
911
+ threadId: _0x3345b1,
912
+ rootMessageId: _0x18ea10,
913
+ threadNumber: _0x511bb0,
914
+ aggregateIds: _0x3d01a0,
915
+ isThreadReply: _0x31adbc,
916
+ entries: _0x26b7ef
917
+ } = _0x57a4f5, _0x14b4ff = _0x5c7de7[_0xce13b5(0x218)](_0x4287a9), _0x5d1a37 = _0x14b4ff?.[_0xce13b5(_0x3728a0._0x4f0a12)] ?? _0x4287a9, _0x45b195 = _0x14b4ff?.['kind'] === 'dm' ? 'dm:' + _0x5d1a37 : '#' + _0x5d1a37, _0x4f5b00 = {
918
+ 'channelTarget': _0x45b195,
919
+ 'rootMessageId': _0x18ea10,
920
+ 'threadId': _0x3345b1,
921
+ 'threadNumber': _0x511bb0
922
+ }, _0x4aee6a = await _0x5a8c6e({
923
+ 'channelId': _0x4287a9,
924
+ 'channelTarget': _0x45b195,
925
+ 'limit': Math[_0xce13b5(_0x3728a0._0x44f2b7)](_0x3d01a0[_0xce13b5(_0x3728a0._0x55fe5c)], 0x32),
926
+ 'threadId': _0x3345b1
927
+ }), _0x9b38f = new Map(_0x4aee6a[_0xce13b5(0x20d)][_0xce13b5(_0x3728a0._0x331fd8)](_0x36330c => [
928
+ _0x36330c[_0xce13b5(0x212)],
929
+ _0x36330c
930
+ ])), _0x39530b = _0x3345b1 ? _0x442be0(_0x4f5b00) : _0x45b195, _0x4c1370 = _0x2255dd ? _0x31adbc && _0x59142d(_0x2255dd, _0x4f5b00) : !![], _0xfb84e6 = _0x31adbc ? _0x4c1370 && _0x2255dd ? _0x2255dd : _0x39530b : _0x45b195;
931
+ for (const _0xef93f0 of _0x3d01a0) {
932
+ if (!_0x4c1370)
1309
933
  continue;
1310
- const _0x4d13ac = _0xe6acb7[_0x4ef99a(0x1ab)](_0x5954ce), _0x17eda3 = _0x4d13ac ? asRecord(_0x4d13ac[_0x4ef99a(0x1f9)]) : void 0x0, _0x4d0308 = _0x17eda3?.['taskDeliveryMode'] === _0x4ef99a(0x191);
1311
- if (_0x20bb30 && _0x4d0308)
934
+ const _0x50ff0c = _0x26b7ef[_0xce13b5(_0x3728a0._0x487be4)](_0xef93f0), _0x41716c = _0x50ff0c ? asRecord(_0x50ff0c[_0xce13b5(0x1e0)]) : void 0x0, _0x13721e = _0x41716c?.[_0xce13b5(_0x3728a0._0x58237b)] === _0xce13b5(0x174);
935
+ if (_0x207d0f && _0x13721e)
1312
936
  continue;
1313
- const _0x35be27 = _0x124892['get'](_0x5954ce);
1314
- if (_0x35be27) {
1315
- _0x14b931['push']({
1316
- 'attachments': _0x35be27[_0x4ef99a(0x12e)],
1317
- 'content': _0x35be27['content'],
1318
- 'createdAt': _0x35be27['createdAt'],
1319
- 'messageId': _0x35be27[_0x4ef99a(0x121)],
1320
- 'senderName': _0x35be27[_0x4ef99a(_0x360058._0x5b8ee0)],
1321
- 'senderType': _0x35be27['senderType'],
1322
- 'target': _0x2feb3b,
1323
- ..._0x4d0308 ? { 'targetedTask': !![] } : {}
937
+ const _0x21dd7e = _0x9b38f['get'](_0xef93f0);
938
+ if (_0x21dd7e) {
939
+ _0xa7b6a3[_0xce13b5(_0x3728a0._0x35f363)]({
940
+ 'attachments': _0x21dd7e[_0xce13b5(_0x3728a0._0x15eaf0)],
941
+ 'content': _0x21dd7e[_0xce13b5(0x23f)],
942
+ 'createdAt': _0x21dd7e[_0xce13b5(_0x3728a0._0x3ec5cf)],
943
+ 'messageId': _0x21dd7e['messageId'],
944
+ 'senderName': _0x21dd7e[_0xce13b5(0x24f)],
945
+ 'senderType': _0x21dd7e[_0xce13b5(_0x3728a0._0x42d982)],
946
+ 'target': _0xfb84e6,
947
+ ..._0x13721e ? { 'targetedTask': !![] } : {}
1324
948
  });
1325
949
  continue;
1326
950
  }
1327
- if (_0x4d13ac) {
1328
- const _0x442021 = typeof _0x17eda3?.[_0x4ef99a(_0x360058._0x4cd6f3)] === 'string' ? _0x17eda3['senderParticipantId'] : '', _0x5486a3 = typeof _0x17eda3?.[_0x4ef99a(0x254)] === _0x4ef99a(_0x360058._0x28a8fe) ? _0x17eda3[_0x4ef99a(0x254)] : '';
1329
- _0x442021 && _0x5486a3 && _0x14b931[_0x4ef99a(_0x360058._0x265568)]({
951
+ if (_0x50ff0c) {
952
+ const _0x330f56 = typeof _0x41716c?.[_0xce13b5(0x228)] === _0xce13b5(0x140) ? _0x41716c[_0xce13b5(_0x3728a0._0x2cb224)] : '', _0x5be27a = typeof _0x41716c?.[_0xce13b5(0x243)] === _0xce13b5(_0x3728a0._0x1e18a8) ? _0x41716c[_0xce13b5(0x243)] : '';
953
+ _0x330f56 && _0x5be27a && _0xa7b6a3[_0xce13b5(_0x3728a0._0x367c52)]({
1330
954
  'attachments': [],
1331
- 'content': _0x5486a3,
1332
- 'createdAt': new Date()[_0x4ef99a(_0x360058._0x15e3d9)](),
1333
- 'messageId': _0x5954ce,
1334
- 'senderName': _0x442021,
1335
- 'senderType': _0x1600b0(_0x442021, _0x49331d),
1336
- 'target': _0x2feb3b,
1337
- ..._0x4d0308 ? { 'targetedTask': !![] } : {}
955
+ 'content': _0x5be27a,
956
+ 'createdAt': new Date()[_0xce13b5(_0x3728a0._0x1a2d54)](),
957
+ 'messageId': _0xef93f0,
958
+ 'senderName': _0x330f56,
959
+ 'senderType': _0x2db2d6(_0x330f56, _0x3bdb1f),
960
+ 'target': _0xfb84e6,
961
+ ..._0x13721e ? { 'targetedTask': !![] } : {}
1338
962
  });
1339
963
  }
1340
964
  }
1341
965
  }
1342
- if (_0x55c5de > 0x0) {
1343
- if (_0x440b4f)
1344
- await _0x1f0adf(_0x55c5de);
966
+ if (_0x531496 > 0x0) {
967
+ if (_0x299cbf)
968
+ await _0x3e053b(_0x531496);
1345
969
  else
1346
- _0x236541 && await _0x45a06c(_0x55c5de);
970
+ _0x50f71f && await _0x1b8e6a(_0x531496);
1347
971
  }
1348
- return _0x55c5de > _0x1b7865 && (_0x1b7865 = _0x55c5de), { 'messages': _0x53b1a9 ? _0x14b931 : _0x20bb30 ? _0x14b931[_0x4ef99a(_0x360058._0x5977f7)](_0x46ccae => _0x46ccae[_0x4ef99a(0x24a)] !== !![]) : _0x14b931 };
972
+ return _0x531496 > _0x16e3b1 && (_0x16e3b1 = _0x531496), { 'messages': _0x2255dd ? _0xa7b6a3 : _0x207d0f ? _0xa7b6a3[_0xce13b5(_0x3728a0._0x6e0d76)](_0x3100fb => _0x3100fb[_0xce13b5(0x1cb)] !== !![]) : _0xa7b6a3 };
1349
973
  }
1350
974
  };
1351
975
  }
1352
- function toLocalTime(_0xcfc290) {
1353
- const _0x276296 = {
1354
- _0x4fedfb: 0x1f6,
1355
- _0x1d2181: 0x1bf
1356
- }, _0xaa8b50 = _0x6aa24e, _0x56c5ab = new Date(_0xcfc290);
1357
- if (Number['isNaN'](_0x56c5ab['getTime']()))
1358
- return _0xcfc290;
1359
- const _0x3ecc84 = _0xfe024b => String(_0xfe024b)[_0xaa8b50(0x22e)](0x2, '0');
1360
- return _0x56c5ab[_0xaa8b50(_0x276296._0x4fedfb)]() + '-' + _0x3ecc84(_0x56c5ab[_0xaa8b50(0x1b4)]() + 0x1) + '-' + _0x3ecc84(_0x56c5ab['getDate']()) + '\x20' + _0x3ecc84(_0x56c5ab['getHours']()) + ':' + _0x3ecc84(_0x56c5ab['getMinutes']()) + ':' + _0x3ecc84(_0x56c5ab[_0xaa8b50(_0x276296._0x1d2181)]());
976
+ function toLocalTime(_0x2c27ec) {
977
+ const _0x7c7b15 = { _0x4e7f38: 0x21f }, _0x12455a = _0x15d6d8, _0xfdfb2f = new Date(_0x2c27ec);
978
+ if (Number[_0x12455a(_0x7c7b15._0x4e7f38)](_0xfdfb2f[_0x12455a(0x1b7)]()))
979
+ return _0x2c27ec;
980
+ const _0x38e79d = _0x4b4ea2 => String(_0x4b4ea2)[_0x12455a(0x16f)](0x2, '0');
981
+ return _0xfdfb2f[_0x12455a(0x287)]() + '-' + _0x38e79d(_0xfdfb2f['getMonth']() + 0x1) + '-' + _0x38e79d(_0xfdfb2f['getDate']()) + '\x20' + _0x38e79d(_0xfdfb2f[_0x12455a(0x180)]()) + ':' + _0x38e79d(_0xfdfb2f[_0x12455a(0x179)]()) + ':' + _0x38e79d(_0xfdfb2f[_0x12455a(0x128)]());
1361
982
  }
1362
- function formatAttachmentSuffix(_0x3e8bba) {
1363
- const _0x189387 = {
1364
- _0x1ebcb0: 0x1a6,
1365
- _0x118bf6: 0x1a6,
1366
- _0x106e17: 0x157,
1367
- _0x106c6c: 0x13c
1368
- }, _0x3d3aad = _0x6aa24e;
1369
- if (!_0x3e8bba || _0x3e8bba[_0x3d3aad(_0x189387._0x1ebcb0)] === 0x0)
983
+ function formatAttachmentSuffix(_0x105ebf) {
984
+ const _0x43ec7f = {
985
+ _0x380d70: 0x190,
986
+ _0x4bea1a: 0x16e
987
+ }, _0x4a3b38 = _0x15d6d8;
988
+ if (!_0x105ebf || _0x105ebf[_0x4a3b38(_0x43ec7f._0x380d70)] === 0x0)
1370
989
  return '';
1371
- return '\x20[' + _0x3e8bba[_0x3d3aad(_0x189387._0x118bf6)] + '\x20attachment' + (_0x3e8bba['length'] > 0x1 ? 's' : '') + ':\x20' + _0x3e8bba[_0x3d3aad(_0x189387._0x106e17)](_0xbb1c6a => _0xbb1c6a['filename'] + _0x3d3aad(0x1a4) + _0xbb1c6a['id'] + ')')[_0x3d3aad(_0x189387._0x106c6c)](',\x20') + '\x20—\x20use\x20view_file\x20to\x20see]';
990
+ return '\x20[' + _0x105ebf[_0x4a3b38(0x190)] + _0x4a3b38(0x225) + (_0x105ebf[_0x4a3b38(_0x43ec7f._0x380d70)] > 0x1 ? 's' : '') + ':\x20' + _0x105ebf['map'](_0x5f8828 => _0x5f8828[_0x4a3b38(0x1b6)] + _0x4a3b38(0x137) + _0x5f8828['id'] + ')')[_0x4a3b38(0x15d)](',\x20') + _0x4a3b38(_0x43ec7f._0x4bea1a);
1372
991
  }
1373
- function formatCheckMessages(_0x46b979) {
1374
- const _0x1f4a2e = {
1375
- _0x3ac135: 0x22d,
1376
- _0x22b8b0: 0x121,
1377
- _0x41bee4: 0x239,
1378
- _0x142e9a: 0x262,
1379
- _0x444fac: 0x200
1380
- }, _0x90b4f3 = _0x6aa24e;
1381
- if (_0x46b979[_0x90b4f3(0x1a6)] === 0x0)
992
+ function formatCheckMessages(_0x4dd1a4) {
993
+ const _0x8029e0 = {
994
+ _0x1ce265: 0x190,
995
+ _0x49d51b: 0x15d
996
+ }, _0xe15d74 = {
997
+ _0xe7cc73: 0x292,
998
+ _0x12fe02: 0x201,
999
+ _0x15e034: 0x212,
1000
+ _0xf36a10: 0x24f,
1001
+ _0x586dab: 0x2a1
1002
+ }, _0x5af5a3 = _0x15d6d8;
1003
+ if (_0x4dd1a4[_0x5af5a3(_0x8029e0._0x1ce265)] === 0x0)
1382
1004
  return 'No\x20new\x20messages.';
1383
- return _0x46b979[_0x90b4f3(0x157)](_0x3c9c85 => {
1384
- const _0x18a385 = _0x90b4f3, _0x1f16c5 = _0x3c9c85[_0x18a385(0x1c2)] === _0x18a385(0x248) ? _0x18a385(0x217) : '';
1385
- return _0x18a385(_0x1f4a2e._0x3ac135) + _0x3c9c85[_0x18a385(0x17a)] + _0x18a385(0x222) + _0x3c9c85[_0x18a385(_0x1f4a2e._0x22b8b0)]['slice'](0x0, 0x8) + _0x18a385(_0x1f4a2e._0x41bee4) + toLocalTime(_0x3c9c85[_0x18a385(_0x1f4a2e._0x142e9a)]) + _0x1f16c5 + ']\x20@' + _0x3c9c85[_0x18a385(0x16b)] + ':\x20' + _0x3c9c85[_0x18a385(_0x1f4a2e._0x444fac)] + formatAttachmentSuffix(_0x3c9c85['attachments']);
1386
- })[_0x90b4f3(0x13c)]('\x0a');
1005
+ return _0x4dd1a4[_0x5af5a3(0x208)](_0x31ee44 => {
1006
+ const _0x209e31 = _0x5af5a3, _0x45c81d = _0x31ee44[_0x209e31(0x1ff)] === _0x209e31(0x171) ? _0x209e31(_0xe15d74._0xe7cc73) : '';
1007
+ return _0x209e31(0x213) + _0x31ee44[_0x209e31(0x1fe)] + _0x209e31(_0xe15d74._0x12fe02) + _0x31ee44[_0x209e31(_0xe15d74._0x15e034)][_0x209e31(0x263)](0x0, 0x8) + _0x209e31(0x120) + toLocalTime(_0x31ee44[_0x209e31(0x13c)]) + _0x45c81d + _0x209e31(0x229) + _0x31ee44[_0x209e31(_0xe15d74._0xf36a10)] + ':\x20' + _0x31ee44[_0x209e31(0x23f)] + formatAttachmentSuffix(_0x31ee44[_0x209e31(_0xe15d74._0x586dab)]);
1008
+ })[_0x5af5a3(_0x8029e0._0x49d51b)]('\x0a');
1387
1009
  }
1388
- function formatHistory(_0x4604fa) {
1389
- const _0x2b41d0 = {
1390
- _0x2460ed: 0x1a6,
1391
- _0x518b0a: 0x25d,
1392
- _0x1369c9: 0x157,
1393
- _0x30cf49: 0x206
1394
- }, _0x4dcfa8 = {
1395
- _0x37e4a4: 0x248,
1396
- _0x52ce19: 0x1fc,
1397
- _0x8dc5ea: 0x268,
1398
- _0x4c40b9: 0x16b
1399
- }, _0x2f9ea3 = _0x6aa24e;
1400
- if (_0x4604fa[_0x2f9ea3(0x206)][_0x2f9ea3(_0x2b41d0._0x2460ed)] === 0x0)
1401
- return _0x2f9ea3(_0x2b41d0._0x518b0a) + _0x4604fa[_0x2f9ea3(0x26f)] + _0x2f9ea3(0x25a);
1402
- const _0x125181 = _0x4604fa['messages'][_0x2f9ea3(_0x2b41d0._0x1369c9)](_0x15226a => {
1403
- const _0xf9d299 = _0x2f9ea3, _0x5bda36 = _0x15226a['senderType'] === _0xf9d299(_0x4dcfa8._0x37e4a4) ? '\x20type=agent' : '';
1404
- return _0xf9d299(0x126) + _0x15226a[_0xf9d299(_0x4dcfa8._0x52ce19)] + _0xf9d299(0x222) + _0x15226a['messageId'] + _0xf9d299(0x239) + toLocalTime(_0x15226a[_0xf9d299(0x262)]) + _0x5bda36 + _0xf9d299(_0x4dcfa8._0x8dc5ea) + _0x15226a[_0xf9d299(_0x4dcfa8._0x4c40b9)] + ':\x20' + _0x15226a[_0xf9d299(0x200)] + formatAttachmentSuffix(_0x15226a['attachments']);
1405
- })['join']('\x0a'), _0x645790 = _0x4604fa[_0x2f9ea3(0x1ad)] && _0x4604fa[_0x2f9ea3(0x110)] ? '\x0a\x0a---\x20' + _0x4604fa[_0x2f9ea3(_0x2b41d0._0x30cf49)][_0x2f9ea3(_0x2b41d0._0x2460ed)] + _0x2f9ea3(0x14b) + _0x4604fa[_0x2f9ea3(0x110)] + _0x2f9ea3(0x1b0) : '';
1406
- return _0x2f9ea3(_0x2b41d0._0x518b0a) + _0x4604fa[_0x2f9ea3(0x26f)] + '\x20(' + _0x4604fa[_0x2f9ea3(_0x2b41d0._0x30cf49)][_0x2f9ea3(_0x2b41d0._0x2460ed)] + _0x2f9ea3(0x275) + _0x125181 + _0x645790;
1010
+ function formatHistory(_0x370cc7) {
1011
+ const _0x483f21 = {
1012
+ _0x32e7f5: 0x20d,
1013
+ _0xd4266d: 0x190,
1014
+ _0xa7d70b: 0x21d,
1015
+ _0x2e173f: 0x219,
1016
+ _0x261fb1: 0x12b,
1017
+ _0xbb3cb3: 0x190
1018
+ }, _0x2edde9 = {
1019
+ _0x1cdcbc: 0x1ff,
1020
+ _0x376b72: 0x171,
1021
+ _0x2486b6: 0x1d3,
1022
+ _0x48a18f: 0x201,
1023
+ _0x371e9c: 0x229
1024
+ }, _0x4a8ea9 = _0x15d6d8;
1025
+ if (_0x370cc7[_0x4a8ea9(_0x483f21._0x32e7f5)][_0x4a8ea9(_0x483f21._0xd4266d)] === 0x0)
1026
+ return _0x4a8ea9(_0x483f21._0xa7d70b) + _0x370cc7['channel'] + _0x4a8ea9(0x27c);
1027
+ const _0x281c12 = _0x370cc7['messages']['map'](_0x2ff3a => {
1028
+ const _0x2c007e = _0x4a8ea9, _0x2a7c1d = _0x2ff3a[_0x2c007e(_0x2edde9._0x1cdcbc)] === _0x2c007e(_0x2edde9._0x376b72) ? _0x2c007e(0x292) : '';
1029
+ return '[seq=' + _0x2ff3a[_0x2c007e(_0x2edde9._0x2486b6)] + _0x2c007e(_0x2edde9._0x48a18f) + _0x2ff3a[_0x2c007e(0x212)] + _0x2c007e(0x120) + toLocalTime(_0x2ff3a['createdAt']) + _0x2a7c1d + _0x2c007e(_0x2edde9._0x371e9c) + _0x2ff3a[_0x2c007e(0x24f)] + ':\x20' + _0x2ff3a[_0x2c007e(0x23f)] + formatAttachmentSuffix(_0x2ff3a[_0x2c007e(0x2a1)]);
1030
+ })['join']('\x0a'), _0x2b3e17 = _0x370cc7[_0x4a8ea9(_0x483f21._0x2e173f)] && _0x370cc7[_0x4a8ea9(0x12b)] ? '\x0a\x0a---\x20' + _0x370cc7[_0x4a8ea9(0x20d)]['length'] + _0x4a8ea9(0x144) + _0x370cc7[_0x4a8ea9(_0x483f21._0x261fb1)] + _0x4a8ea9(0x1bf) : '';
1031
+ return '##\x20Message\x20History\x20for\x20' + _0x370cc7['channel'] + '\x20(' + _0x370cc7[_0x4a8ea9(_0x483f21._0x32e7f5)][_0x4a8ea9(_0x483f21._0xbb3cb3)] + _0x4a8ea9(0x15f) + _0x281c12 + _0x2b3e17;
1407
1032
  }
1408
- function formatServerDirectory(_0x5eb1ec) {
1409
- const _0x5b5f0e = {
1410
- _0x147474: 0x1a6,
1411
- _0x291b3d: 0x278,
1412
- _0x17e13d: 0x157,
1413
- _0x22b3f5: 0x276,
1414
- _0x2d16b4: 0x1ec,
1415
- _0x1cd7f2: 0x23b
1416
- }, _0x58e22e = _0x6aa24e, _0x3c9f95 = _0x5eb1ec['channels'][_0x58e22e(_0x5b5f0e._0x147474)] > 0x0 ? _0x5eb1ec['channels'][_0x58e22e(0x157)](_0x7117d => _0x7117d[_0x58e22e(0x17c)] ? '-\x20#' + _0x7117d['name'] + _0x58e22e(0x277) + _0x7117d['description'] : _0x58e22e(0x17e) + _0x7117d['name'])[_0x58e22e(0x13c)]('\x0a') : '(none)', _0x49d971 = _0x5eb1ec['agents']['length'] > 0x0 ? _0x5eb1ec[_0x58e22e(_0x5b5f0e._0x291b3d)][_0x58e22e(_0x5b5f0e._0x17e13d)](_0x271a89 => _0x58e22e(0x1f2) + _0x271a89[_0x58e22e(0x1a5)])[_0x58e22e(0x13c)]('\x0a') : _0x58e22e(_0x5b5f0e._0x22b3f5), _0x4ad901 = _0x5eb1ec[_0x58e22e(_0x5b5f0e._0x2d16b4)]['length'] > 0x0 ? _0x5eb1ec[_0x58e22e(_0x5b5f0e._0x2d16b4)][_0x58e22e(0x157)](_0x5ab46d => _0x58e22e(0x1f2) + _0x5ab46d['name'])[_0x58e22e(0x13c)]('\x0a') : '(none)';
1033
+ function formatServerDirectory(_0x32bdf4) {
1034
+ const _0x518eac = {
1035
+ _0x29649e: 0x163,
1036
+ _0x357b79: 0x190,
1037
+ _0x8b1180: 0x208,
1038
+ _0x469548: 0x15d,
1039
+ _0x2a446d: 0x190,
1040
+ _0x3377df: 0x14d,
1041
+ _0x261430: 0x195,
1042
+ _0x26451c: 0x1d2,
1043
+ _0x446629: 0x15d,
1044
+ _0x285418: 0x21c,
1045
+ _0x4f2f2b: 0x18d,
1046
+ _0x4d2945: 0x27b
1047
+ }, _0x569ec0 = _0x15d6d8, _0x41ec80 = _0x32bdf4[_0x569ec0(_0x518eac._0x29649e)][_0x569ec0(_0x518eac._0x357b79)] > 0x0 ? _0x32bdf4[_0x569ec0(_0x518eac._0x29649e)][_0x569ec0(_0x518eac._0x8b1180)](_0x469ead => _0x469ead[_0x569ec0(0x13d)] ? _0x569ec0(0x1fa) + _0x469ead[_0x569ec0(0x130)] + _0x569ec0(0x231) + _0x469ead[_0x569ec0(0x13d)] : _0x569ec0(0x1fa) + _0x469ead[_0x569ec0(0x130)])[_0x569ec0(_0x518eac._0x469548)]('\x0a') : _0x569ec0(0x195), _0x159029 = _0x32bdf4[_0x569ec0(0x14d)][_0x569ec0(_0x518eac._0x2a446d)] > 0x0 ? _0x32bdf4[_0x569ec0(_0x518eac._0x3377df)]['map'](_0x2a551d => '-\x20@' + _0x2a551d['name'])[_0x569ec0(0x15d)]('\x0a') : _0x569ec0(_0x518eac._0x261430), _0x5dbd32 = _0x32bdf4[_0x569ec0(0x1d2)][_0x569ec0(_0x518eac._0x2a446d)] > 0x0 ? _0x32bdf4[_0x569ec0(_0x518eac._0x26451c)][_0x569ec0(0x208)](_0x3fc970 => _0x569ec0(0x2a6) + _0x3fc970['name'])[_0x569ec0(_0x518eac._0x446629)]('\x0a') : _0x569ec0(_0x518eac._0x261430);
1417
1048
  return [
1418
- '##\x20Server:\x20' + _0x5eb1ec[_0x58e22e(0x1ef)],
1049
+ '##\x20Server:\x20' + _0x32bdf4[_0x569ec0(_0x518eac._0x285418)],
1419
1050
  '',
1420
- _0x58e22e(_0x5b5f0e._0x1cd7f2),
1421
- _0x3c9f95,
1051
+ _0x569ec0(_0x518eac._0x4f2f2b),
1052
+ _0x41ec80,
1422
1053
  '',
1423
- _0x58e22e(0x11e),
1424
- _0x49d971,
1054
+ _0x569ec0(_0x518eac._0x4d2945),
1055
+ _0x159029,
1425
1056
  '',
1426
- _0x58e22e(0x250),
1427
- _0x4ad901
1428
- ]['join']('\x0a');
1057
+ '###\x20Humans',
1058
+ _0x5dbd32
1059
+ ][_0x569ec0(0x15d)]('\x0a');
1429
1060
  }
1430
- function formatUploadResult(_0x4b2d24) {
1431
- const _0x3ca3b3 = {
1432
- _0x23dc29: 0x1db,
1433
- _0x4a2c9b: 0x1de,
1434
- _0x582cc6: 0x1e0,
1435
- _0x27ea0d: 0x208
1436
- }, _0x581fce = _0x6aa24e;
1437
- return _0x581fce(_0x3ca3b3._0x23dc29) + _0x4b2d24[_0x581fce(_0x3ca3b3._0x4a2c9b)] + '\x20(' + (_0x4b2d24[_0x581fce(0x26d)] / 0x400)[_0x581fce(_0x3ca3b3._0x582cc6)](0x1) + 'KB)\x0aAttachment\x20ID:\x20' + _0x4b2d24[_0x581fce(_0x3ca3b3._0x27ea0d)] + _0x581fce(0x138);
1061
+ function formatUploadResult(_0x11c05b) {
1062
+ const _0x1297e9 = {
1063
+ _0x40413a: 0x1b6,
1064
+ _0x278026: 0x167
1065
+ }, _0x5693b5 = _0x15d6d8;
1066
+ return _0x5693b5(0x240) + _0x11c05b[_0x5693b5(_0x1297e9._0x40413a)] + '\x20(' + (_0x11c05b['sizeBytes'] / 0x400)[_0x5693b5(0x1bc)](0x1) + _0x5693b5(_0x1297e9._0x278026) + _0x11c05b['attachmentId'] + _0x5693b5(0x14c);
1438
1067
  }
1439
- function formatViewFileResult(_0x74c917, _0x2ed218) {
1440
- const _0x2a4f16 = { _0x54afcf: 0x14f }, _0x32f7ef = _0x6aa24e;
1441
- return _0x2ed218 ? _0x32f7ef(0x228) + _0x74c917 : _0x32f7ef(_0x2a4f16._0x54afcf) + _0x74c917;
1068
+ function formatViewFileResult(_0x2da695, _0x247d5c) {
1069
+ const _0x5611bc = _0x15d6d8;
1070
+ return _0x247d5c ? 'File\x20already\x20cached\x20at:\x20' + _0x2da695 : _0x5611bc(0x125) + _0x2da695;
1442
1071
  }
1443
- function formatTaskList(_0x2a57fe, _0x310989) {
1444
- const _0x5d4df4 = { _0x26efe7: 0x18f }, _0x50aecc = _0x6aa24e;
1445
- if (_0x2a57fe[_0x50aecc(0x1a6)] === 0x0)
1446
- return _0x50aecc(0x14d);
1447
- return _0x2a57fe['map'](_0x402721 => {
1448
- const _0x2c3bc9 = _0x50aecc, _0x33e6a4 = _0x402721[_0x2c3bc9(0x261)] == null ? _0x2c3bc9(0x25f) : '#' + _0x402721[_0x2c3bc9(0x261)], _0x54e745 = _0x402721['messageId'] ? _0x2c3bc9(0x213) + _0x402721['messageId'] : '', _0x9a3715 = _0x310989 && _0x402721[_0x2c3bc9(0x261)] != null && _0x310989[_0x2c3bc9(_0x5d4df4._0x26efe7)](_0x402721[_0x2c3bc9(0x261)]) ? _0x2c3bc9(0x104) : '';
1449
- return _0x33e6a4 + '\x20[' + _0x402721[_0x2c3bc9(0x249)] + ']\x20' + _0x402721[_0x2c3bc9(0x219)] + _0x54e745 + _0x9a3715;
1450
- })['join']('\x0a');
1072
+ function formatTaskList(_0x36ce51, _0x1b9da5) {
1073
+ const _0x2cb346 = {
1074
+ _0x1f7e6c: 0x190,
1075
+ _0x2096ca: 0x1ad,
1076
+ _0x28fdcb: 0x208,
1077
+ _0xb1781e: 0x15d
1078
+ }, _0x3b16f7 = {
1079
+ _0x266e12: 0x1b3,
1080
+ _0x17151a: 0x16d,
1081
+ _0x10a099: 0x16d,
1082
+ _0x538105: 0x23e,
1083
+ _0x4e3123: 0x132
1084
+ }, _0x206037 = _0x15d6d8;
1085
+ if (_0x36ce51[_0x206037(_0x2cb346._0x1f7e6c)] === 0x0)
1086
+ return _0x206037(_0x2cb346._0x2096ca);
1087
+ return _0x36ce51[_0x206037(_0x2cb346._0x28fdcb)](_0x1dacb2 => {
1088
+ const _0x2a2811 = _0x206037, _0x4f8175 = _0x1dacb2[_0x2a2811(0x16d)] == null ? _0x2a2811(_0x3b16f7._0x266e12) : '#' + _0x1dacb2[_0x2a2811(_0x3b16f7._0x17151a)], _0x36e225 = _0x1dacb2['messageId'] ? _0x2a2811(0x272) + _0x1dacb2['messageId'] : '', _0x5b7323 = _0x1b9da5 && _0x1dacb2[_0x2a2811(0x16d)] != null && _0x1b9da5['has'](_0x1dacb2[_0x2a2811(_0x3b16f7._0x10a099)]) ? _0x2a2811(_0x3b16f7._0x538105) : '';
1089
+ return _0x4f8175 + '\x20[' + _0x1dacb2['status'] + ']\x20' + _0x1dacb2[_0x2a2811(_0x3b16f7._0x4e3123)] + _0x36e225 + _0x5b7323;
1090
+ })[_0x206037(_0x2cb346._0xb1781e)]('\x0a');
1451
1091
  }
1452
- function formatCreatedTasks(_0xf6e6b5) {
1453
- const _0x48d79d = {
1454
- _0x267329: 0x216,
1455
- _0x382bf9: 0x157
1456
- }, _0x342107 = _0x6aa24e;
1457
- if (_0xf6e6b5[_0x342107(0x1a6)] === 0x0)
1458
- return _0x342107(_0x48d79d._0x267329);
1459
- return _0xf6e6b5[_0x342107(_0x48d79d._0x382bf9)](_0x16f82e => {
1460
- const _0x21a54f = _0x342107, _0x139a4b = _0x16f82e['taskNumber'] == null ? _0x21a54f(0x25f) : '#' + _0x16f82e[_0x21a54f(0x261)];
1461
- return _0x139a4b + '\x20' + _0x16f82e[_0x21a54f(0x219)] + '\x20message=' + _0x16f82e[_0x21a54f(0x121)];
1462
- })['join']('\x0a');
1092
+ function formatCreatedTasks(_0x54b07b) {
1093
+ const _0x410cb9 = { _0x5a9306: 0x15d }, _0x2fc4c6 = {
1094
+ _0x3da679: 0x16d,
1095
+ _0x408a84: 0x1b3
1096
+ }, _0x7eb530 = _0x15d6d8;
1097
+ if (_0x54b07b[_0x7eb530(0x190)] === 0x0)
1098
+ return _0x7eb530(0x187);
1099
+ return _0x54b07b[_0x7eb530(0x208)](_0x32a854 => {
1100
+ const _0x2d75d3 = _0x7eb530, _0x448e52 = _0x32a854[_0x2d75d3(_0x2fc4c6._0x3da679)] == null ? _0x2d75d3(_0x2fc4c6._0x408a84) : '#' + _0x32a854[_0x2d75d3(_0x2fc4c6._0x3da679)];
1101
+ return _0x448e52 + '\x20' + _0x32a854['title'] + _0x2d75d3(0x272) + _0x32a854[_0x2d75d3(0x212)];
1102
+ })[_0x7eb530(_0x410cb9._0x5a9306)]('\x0a');
1463
1103
  }
1464
- function formatClaimTaskResults(_0x2bc82f) {
1465
- const _0x26143e = {
1466
- _0x56c4cc: 0x235,
1467
- _0x7df2e9: 0x261,
1468
- _0x47c853: 0x121,
1469
- _0x4d0980: 0x121,
1470
- _0x137d40: 0x118,
1471
- _0x89bab5: 0x192,
1472
- _0x313382: 0x272,
1473
- _0xa4a67: 0x11f,
1474
- _0x1d4c2d: 0x227,
1475
- _0x456cd8: 0x13c,
1476
- _0x101f73: 0x1c0,
1477
- _0x483388: 0x261,
1478
- _0x56946d: 0x187
1479
- }, _0x1533f2 = _0x6aa24e;
1480
- if (_0x2bc82f[_0x1533f2(0x1a6)] === 0x0)
1481
- return 'No\x20tasks\x20claimed.';
1482
- return _0x2bc82f['map'](_0x34c36f => {
1483
- const _0x2a1fba = _0x1533f2;
1484
- if (_0x34c36f[_0x2a1fba(_0x26143e._0x56c4cc)]) {
1485
- const _0x4c82d2 = _0x34c36f[_0x2a1fba(_0x26143e._0x7df2e9)] == null ? _0x2a1fba(0x25f) : '#' + _0x34c36f['taskNumber'], _0x3cd1bb = _0x34c36f[_0x2a1fba(_0x26143e._0x47c853)] ? '\x20message=' + _0x34c36f[_0x2a1fba(_0x26143e._0x4d0980)] : '', _0x560d3e = _0x34c36f['workerHandoff'] ? [
1486
- _0x2a1fba(_0x26143e._0x137d40),
1487
- _0x34c36f['stopMain'] ? _0x2a1fba(_0x26143e._0x89bab5) : null,
1488
- _0x34c36f['executionMode'] ? _0x2a1fba(_0x26143e._0x313382) + _0x34c36f[_0x2a1fba(0x237)] : null,
1489
- _0x34c36f['threadTarget'] ? _0x2a1fba(0x236) + _0x34c36f[_0x2a1fba(_0x26143e._0xa4a67)] : null,
1490
- _0x34c36f['workerDisposition'] ? 'workerDisposition=' + _0x34c36f[_0x2a1fba(_0x26143e._0x1d4c2d)] : null
1491
- ]['filter'](Boolean)[_0x2a1fba(_0x26143e._0x456cd8)]('\x20') : _0x34c36f[_0x2a1fba(_0x26143e._0x101f73)] ? _0x2a1fba(0x162) + _0x34c36f[_0x2a1fba(0x1c0)] : '';
1104
+ function formatClaimTaskResults(_0xa86bf4) {
1105
+ const _0x22f664 = { _0xd67b0e: 0x131 }, _0x76e3a6 = {
1106
+ _0x236951: 0x227,
1107
+ _0x58b40c: 0x16d,
1108
+ _0x3d690d: 0x212,
1109
+ _0x1c5747: 0x272,
1110
+ _0x34e229: 0x26c,
1111
+ _0x93bdb2: 0x261,
1112
+ _0x38b9ee: 0x233,
1113
+ _0x538c38: 0x19e,
1114
+ _0x2c7d22: 0x202,
1115
+ _0x184988: 0x1a7,
1116
+ _0x203554: 0x1ca,
1117
+ _0x136b04: 0x142,
1118
+ _0x2fe657: 0x1dc
1119
+ }, _0x4088f4 = _0x15d6d8;
1120
+ if (_0xa86bf4[_0x4088f4(0x190)] === 0x0)
1121
+ return _0x4088f4(_0x22f664._0xd67b0e);
1122
+ return _0xa86bf4['map'](_0x5e3ad0 => {
1123
+ const _0x133b23 = _0x4088f4;
1124
+ if (_0x5e3ad0[_0x133b23(_0x76e3a6._0x236951)]) {
1125
+ const _0x8134fd = _0x5e3ad0[_0x133b23(0x16d)] == null ? '(legacy)' : '#' + _0x5e3ad0[_0x133b23(_0x76e3a6._0x58b40c)], _0x40b7de = _0x5e3ad0[_0x133b23(_0x76e3a6._0x3d690d)] ? _0x133b23(_0x76e3a6._0x1c5747) + _0x5e3ad0[_0x133b23(0x212)] : '', _0x30a599 = _0x5e3ad0[_0x133b23(0x284)] ? [
1126
+ _0x133b23(0x293),
1127
+ _0x5e3ad0[_0x133b23(0x26f)] ? _0x133b23(_0x76e3a6._0x34e229) : null,
1128
+ _0x5e3ad0[_0x133b23(0x1f0)] ? _0x133b23(_0x76e3a6._0x93bdb2) + _0x5e3ad0[_0x133b23(0x1f0)] : null,
1129
+ _0x5e3ad0[_0x133b23(_0x76e3a6._0x38b9ee)] ? _0x133b23(0x1a5) + _0x5e3ad0[_0x133b23(0x233)] : null,
1130
+ _0x5e3ad0[_0x133b23(_0x76e3a6._0x538c38)] ? _0x133b23(_0x76e3a6._0x2c7d22) + _0x5e3ad0[_0x133b23(_0x76e3a6._0x538c38)] : null
1131
+ ][_0x133b23(_0x76e3a6._0x184988)](Boolean)[_0x133b23(0x15d)]('\x20') : _0x5e3ad0['workerHandoffError'] ? _0x133b23(_0x76e3a6._0x203554) + _0x5e3ad0[_0x133b23(_0x76e3a6._0x136b04)] : '';
1492
1132
  return [
1493
- _0x4c82d2 + _0x2a1fba(0x18e) + _0x3cd1bb,
1494
- _0x560d3e
1495
- ]['filter'](Boolean)[_0x2a1fba(0x13c)]('\x20');
1133
+ _0x8134fd + _0x133b23(0x278) + _0x40b7de,
1134
+ _0x30a599
1135
+ ]['filter'](Boolean)[_0x133b23(0x15d)]('\x20');
1496
1136
  }
1497
- const _0x9fcd19 = _0x34c36f[_0x2a1fba(_0x26143e._0x7df2e9)] == null ? _0x34c36f['messageId'] ?? '(unknown)' : '#' + _0x34c36f[_0x2a1fba(_0x26143e._0x483388)];
1498
- return _0x9fcd19 + _0x2a1fba(0x1fb) + (_0x34c36f[_0x2a1fba(0x179)] ?? _0x2a1fba(_0x26143e._0x56946d));
1137
+ const _0x50b51c = _0x5e3ad0['taskNumber'] == null ? _0x5e3ad0[_0x133b23(_0x76e3a6._0x3d690d)] ?? _0x133b23(_0x76e3a6._0x2fe657) : '#' + _0x5e3ad0[_0x133b23(_0x76e3a6._0x58b40c)];
1138
+ return _0x50b51c + _0x133b23(0x216) + (_0x5e3ad0['reason'] ?? 'claim\x20failed');
1499
1139
  })['join']('\x0a');
1500
1140
  }
1501
- function formatUnclaimTaskResult(_0x4a3a68) {
1502
- const _0x1533f0 = _0x6aa24e, _0x47210e = _0x4a3a68['taskNumber'] == null ? _0x1533f0(0x25f) : '#' + _0x4a3a68[_0x1533f0(0x261)];
1503
- return _0x47210e + '\x20status=' + _0x4a3a68['status'];
1141
+ function formatUnclaimTaskResult(_0x27ba99) {
1142
+ const _0x2ea1c2 = {
1143
+ _0x4bf6ef: 0x16d,
1144
+ _0x4edfe9: 0x211
1145
+ }, _0x579db0 = _0x15d6d8, _0x59da56 = _0x27ba99[_0x579db0(_0x2ea1c2._0x4bf6ef)] == null ? '(legacy)' : '#' + _0x27ba99[_0x579db0(_0x2ea1c2._0x4bf6ef)];
1146
+ return _0x59da56 + _0x579db0(_0x2ea1c2._0x4edfe9) + _0x27ba99[_0x579db0(0x27f)];
1504
1147
  }
1505
- function formatUpdateTaskStatusResult(_0x49b858) {
1506
- const _0x38f8b9 = { _0xf07e6a: 0x261 }, _0x381a23 = _0x6aa24e, _0x3838f2 = _0x49b858[_0x381a23(0x261)] == null ? '(legacy)' : '#' + _0x49b858[_0x381a23(_0x38f8b9._0xf07e6a)];
1507
- return _0x3838f2 + '\x20status=' + _0x49b858[_0x381a23(0x249)];
1148
+ function formatUpdateTaskStatusResult(_0x303632) {
1149
+ const _0x227591 = {
1150
+ _0x783ee: 0x1b3,
1151
+ _0x572afd: 0x211
1152
+ }, _0x20541f = _0x15d6d8, _0x4dc1e5 = _0x303632['taskNumber'] == null ? _0x20541f(_0x227591._0x783ee) : '#' + _0x303632[_0x20541f(0x16d)];
1153
+ return _0x4dc1e5 + _0x20541f(_0x227591._0x572afd) + _0x303632[_0x20541f(0x27f)];
1508
1154
  }
1509
1155
  function getChatBridgeToolDefinitions() {
1510
- const _0x414ec3 = {
1511
- _0x18ef47: 0x21f,
1512
- _0x1a1864: 0x13a,
1513
- _0xbcdd82: 0x151,
1514
- _0x49a06e: 0x1c5
1515
- }, _0x30167d = _0x6aa24e;
1156
+ const _0x4ff73e = {
1157
+ _0x5b7d5a: 0x251,
1158
+ _0x10b9b0: 0x254,
1159
+ _0x1407b7: 0x266,
1160
+ _0x41cba4: 0x1de,
1161
+ _0x36af71: 0x1db,
1162
+ _0x2dd22b: 0x1eb,
1163
+ _0x5397b5: 0x222,
1164
+ _0x2b2480: 0x1c9,
1165
+ _0x5471a2: 0x173,
1166
+ _0x429f70: 0x27e
1167
+ }, _0x4ba0ad = _0x15d6d8;
1516
1168
  return [
1517
- { 'name': _0x30167d(_0x414ec3._0x18ef47) },
1518
- { 'name': _0x30167d(_0x414ec3._0x1a1864) },
1519
- { 'name': _0x30167d(0x1a8) },
1520
- { 'name': _0x30167d(0x1ae) },
1521
- { 'name': _0x30167d(0x21a) },
1522
- { 'name': _0x30167d(0x221) },
1523
- { 'name': _0x30167d(_0x414ec3._0xbcdd82) },
1524
- { 'name': _0x30167d(0x173) },
1525
- { 'name': _0x30167d(0xfd) },
1526
- { 'name': _0x30167d(0x112) },
1527
- { 'name': _0x30167d(0x255) },
1528
- { 'name': _0x30167d(0x209) },
1169
+ { 'name': _0x4ba0ad(_0x4ff73e._0x5b7d5a) },
1170
+ { 'name': _0x4ba0ad(_0x4ff73e._0x10b9b0) },
1171
+ { 'name': _0x4ba0ad(_0x4ff73e._0x1407b7) },
1172
+ { 'name': _0x4ba0ad(_0x4ff73e._0x41cba4) },
1173
+ { 'name': _0x4ba0ad(0x1e8) },
1174
+ { 'name': _0x4ba0ad(_0x4ff73e._0x36af71) },
1175
+ { 'name': _0x4ba0ad(_0x4ff73e._0x2dd22b) },
1176
+ { 'name': _0x4ba0ad(_0x4ff73e._0x5397b5) },
1177
+ { 'name': 'claim_tasks' },
1178
+ { 'name': _0x4ba0ad(0x16a) },
1179
+ { 'name': _0x4ba0ad(_0x4ff73e._0x2b2480) },
1180
+ { 'name': 'get_worker_status' },
1529
1181
  { 'name': 'get_worker_result' },
1530
- { 'name': 'finish_worker' },
1531
- { 'name': _0x30167d(0x123) },
1532
- { 'name': _0x30167d(_0x414ec3._0x49a06e) }
1182
+ { 'name': _0x4ba0ad(_0x4ff73e._0x5471a2) },
1183
+ { 'name': _0x4ba0ad(_0x4ff73e._0x429f70) },
1184
+ { 'name': 'mark_waiting_input' }
1533
1185
  ];
1534
1186
  }
1535
- function createChatBridgeHandlers(_0x3dc6c3) {
1536
- const _0x9abc5d = {
1537
- _0x54b1e0: 0x153,
1538
- _0x490a17: 0x136,
1539
- _0x4eab87: 0x160,
1540
- _0x2d68bf: 0x1bc
1541
- }, _0x15209e = {
1542
- _0x49ed48: 0x142,
1543
- _0x281c0a: 0x205,
1544
- _0x21f780: 0x181,
1545
- _0x20e806: 0x215,
1546
- _0x2f2396: 0x136,
1547
- _0x2a956a: 0x11d,
1548
- _0x4c982c: 0x108
1549
- }, _0x5b369e = {
1550
- _0x47c0b8: 0x115,
1551
- _0x1cc8a2: 0x244,
1552
- _0x448c22: 0x1d7,
1553
- _0x1aad82: 0x12d,
1554
- _0x3a96d3: 0x10c,
1555
- _0x2e1a5a: 0x1e5,
1556
- _0x235ebe: 0x244
1557
- }, _0x1ee086 = {
1558
- _0x3c4cf9: 0x148,
1559
- _0x4bc2a1: 0x102,
1560
- _0x4f5430: 0x136
1561
- }, _0x504d00 = {
1562
- _0x5685c7: 0x132,
1563
- _0x3f28ac: 0x108,
1564
- _0xba294: 0x256
1565
- }, _0x4eb0c6 = {
1566
- _0x593796: 0x23d,
1567
- _0x17a276: 0x10a,
1568
- _0x26e883: 0x185,
1569
- _0x5e0797: 0x165
1570
- }, _0x5c9d2f = {
1571
- _0x3fce68: 0x105,
1572
- _0x68ed06: 0x1ba
1573
- }, _0x75981 = { _0x1c6e57: 0x1b8 }, _0x4e2a70 = { _0x5b1fa7: 0x119 }, _0x5921fe = {
1574
- _0x4f9e70: 0x1b8,
1575
- _0x51b9d9: 0x1f0,
1576
- _0x2cd367: 0x157
1577
- }, _0x3cb8b7 = {
1578
- _0x39d49c: 0x235,
1579
- _0x12ceaa: 0x121,
1580
- _0x562e7a: 0x26f,
1581
- _0x55f5d7: 0x24b,
1582
- _0x586343: 0x14e
1583
- }, _0x434707 = {
1584
- _0xabdce7: 0x215,
1585
- _0x4d7184: 0x164,
1586
- _0x1e2ebd: 0x177,
1587
- _0x354e7d: 0x1a6,
1588
- _0xcc6aa0: 0x261,
1589
- _0xe5e956: 0x22f,
1590
- _0x40d406: 0x1e3
1591
- }, _0x356e28 = {
1592
- _0x55dc4f: 0x1ea,
1593
- _0x4c8552: 0x206
1594
- }, _0x3e3a9b = {
1595
- _0xee10f0: 0x109,
1596
- _0x31f35d: 0x148,
1597
- _0x4c534a: 0x215,
1598
- _0x458743: 0x1bb,
1599
- _0x301360: 0x17a,
1600
- _0x8bc94c: 0x282,
1601
- _0x5eb393: 0x282,
1602
- _0x46aa83: 0x25f,
1603
- _0xbe28fe: 0x1c8,
1604
- _0x4385db: 0x184,
1605
- _0xcd17e2: 0x26e,
1606
- _0x1ed498: 0x200,
1607
- _0x520cd1: 0x1ee,
1608
- _0x303a36: 0x282,
1609
- _0x4e7309: 0x27f,
1610
- _0x43cf0b: 0x17b,
1611
- _0x4056a7: 0x205,
1612
- _0x130a59: 0x215,
1613
- _0x323032: 0x282,
1614
- _0x262554: 0x12c,
1615
- _0x1ded09: 0x136,
1616
- _0x22f593: 0x1e6,
1617
- _0x38ef6d: 0x163,
1618
- _0x92f30d: 0x280,
1619
- _0x3877ae: 0x245,
1620
- _0x5e4e5c: 0x14c,
1621
- _0x5f1377: 0x27e,
1622
- _0x1513ca: 0x175
1623
- }, _0xbbb2db = {
1624
- _0x2de3c3: 0x141,
1625
- _0x256b27: 0x136,
1626
- _0x4dfe38: 0x204,
1627
- _0x246a96: 0x164,
1628
- _0xa08f38: 0x1e3
1629
- }, _0x2d3a26 = {
1630
- _0x594b92: 0x148,
1631
- _0x4d861f: 0x109,
1632
- _0x142024: 0x26f,
1633
- _0x223c7c: 0x223,
1634
- _0x33b6f1: 0x1c8,
1635
- _0x319c0f: 0x24d,
1636
- _0x11a129: 0x1c8,
1637
- _0x2bdb0f: 0x206,
1638
- _0x2a4291: 0x261,
1639
- _0x4a5da4: 0x25f,
1640
- _0x406c0b: 0x22d,
1641
- _0x498599: 0x239,
1642
- _0x1e2c91: 0x1e9,
1643
- _0x151fdf: 0x200,
1644
- _0x4d1ee1: 0x261,
1645
- _0x23a6b2: 0x12c,
1646
- _0x2dc6b9: 0x136,
1647
- _0x1d971b: 0x1ed
1187
+ function createChatBridgeHandlers(_0x783ce3) {
1188
+ const _0xdd6200 = {
1189
+ _0x561c26: 0x17b,
1190
+ _0x4d57d5: 0x14b,
1191
+ _0x56c091: 0x24d,
1192
+ _0x480e89: 0x1f6,
1193
+ _0x5ae416: 0x1c5,
1194
+ _0xb2b391: 0x276
1195
+ }, _0x1d15da = {
1196
+ _0x432cbc: 0x1d4,
1197
+ _0x5220cd: 0x15b,
1198
+ _0xf857d2: 0x18b,
1199
+ _0x245ccf: 0x12a,
1200
+ _0x52d8af: 0x15b,
1201
+ _0x5597ef: 0x1c5,
1202
+ _0x36967c: 0x122,
1203
+ _0x1d0814: 0x1b0
1204
+ }, _0x2b29a9 = {
1205
+ _0x297571: 0x17b,
1206
+ _0x2b506d: 0x1d4,
1207
+ _0x37ca03: 0x14b,
1208
+ _0xce1a12: 0x253,
1209
+ _0x11bb22: 0x1c7,
1210
+ _0x19a7d1: 0x1b0
1211
+ }, _0x554245 = {
1212
+ _0x7d9090: 0x1d4,
1213
+ _0x46f1d9: 0x1f6
1214
+ }, _0x5eda22 = {
1215
+ _0x33f96c: 0x1f6,
1216
+ _0x45fc75: 0x1b0,
1217
+ _0x1019ef: 0x1b0
1218
+ }, _0x4364de = {
1219
+ _0x3e905e: 0x126,
1220
+ _0x331f81: 0x177,
1221
+ _0xdcbc6a: 0x153,
1222
+ _0x32eb45: 0x141
1223
+ }, _0x354a35 = {
1224
+ _0x714231: 0x196,
1225
+ _0xe55152: 0x1c1,
1226
+ _0x625f2a: 0x208
1227
+ }, _0x371f1c = { _0x5876b3: 0x236 }, _0x2be618 = {
1228
+ _0x59c6af: 0x288,
1229
+ _0x46fd55: 0x15b,
1230
+ _0x150a09: 0x194,
1231
+ _0x21c227: 0x181,
1232
+ _0x443ead: 0x190,
1233
+ _0x157249: 0x16d,
1234
+ _0x246e9b: 0x155,
1235
+ _0x53770c: 0x1f1,
1236
+ _0x3a701c: 0x16d
1237
+ }, _0x29cc42 = { _0x33961c: 0x288 }, _0x109f69 = { _0x549000: 0x189 }, _0x1c712d = {
1238
+ _0x48e42c: 0x288,
1239
+ _0x3c460c: 0x19a,
1240
+ _0x20d1d3: 0x20d
1241
+ }, _0x2ec10b = {
1242
+ _0x2eaa8a: 0x19a,
1243
+ _0x138f0e: 0x15b,
1244
+ _0x4b3345: 0x28b,
1245
+ _0x132a87: 0x16d,
1246
+ _0x5a6c97: 0x1b3,
1247
+ _0x1b0f86: 0x24b,
1248
+ _0x201b72: 0x25e,
1249
+ _0x2d1fe7: 0x24c,
1250
+ _0x573f5b: 0x1d4,
1251
+ _0x6d1101: 0x199,
1252
+ _0x17bc27: 0x14b,
1253
+ _0x30402b: 0x255,
1254
+ _0x26725c: 0x19c,
1255
+ _0x43ec72: 0x14a,
1256
+ _0x3b6b67: 0x2a0,
1257
+ _0xd874f1: 0x1fe,
1258
+ _0x4e7cf2: 0x29b
1259
+ }, _0x48769b = {
1260
+ _0x318c93: 0x1d4,
1261
+ _0x4f1b19: 0x1f6,
1262
+ _0x23c946: 0x155
1263
+ }, _0x2186e0 = {
1264
+ _0x2c64ab: 0x28d,
1265
+ _0x398104: 0x17f,
1266
+ _0x2ee000: 0x268,
1267
+ _0x17c4db: 0x20d,
1268
+ _0x339e27: 0x1b3,
1269
+ _0x229c18: 0x213,
1270
+ _0x1d66ac: 0x212,
1271
+ _0x11bf9d: 0x263,
1272
+ _0x22a602: 0x1a9,
1273
+ _0x1822d3: 0x176,
1274
+ _0x3e045d: 0x14b,
1275
+ _0x5f3d48: 0x15b,
1276
+ _0xdf7408: 0x2a2,
1277
+ _0x49b5f6: 0x1c5,
1278
+ _0x4b1db1: 0x1bb,
1279
+ _0x3df26f: 0x17e,
1280
+ _0x4d58df: 0x257
1648
1281
  };
1649
- async function _0x39301b(_0x5aa99e) {
1650
- const _0x1f69cb = _0x3431;
1651
- if (!_0x3dc6c3[_0x1f69cb(_0x2d3a26._0x594b92)] || !_0x3dc6c3['agentId'] || _0x3dc6c3[_0x1f69cb(0x26c)] || _0x3dc6c3[_0x1f69cb(_0x2d3a26._0x4d861f)] !== !![])
1282
+ async function _0x23bc3f(_0x5418da) {
1283
+ const _0x1524c2 = _0x3844;
1284
+ if (!_0x783ce3['daemonLocalUrl'] || !_0x783ce3['agentId'] || _0x783ce3[_0x1524c2(0x19a)] || _0x783ce3[_0x1524c2(_0x2186e0._0x2c64ab)] !== !![])
1652
1285
  return null;
1653
- const _0xb28699 = parseTarget(_0x5aa99e[_0x1f69cb(_0x2d3a26._0x142024)]);
1654
- if (_0xb28699[_0x1f69cb(_0x2d3a26._0x223c7c)] !== 'channel')
1286
+ const _0x4f38cf = parseTarget(_0x5418da[_0x1524c2(0x268)]);
1287
+ if (_0x4f38cf[_0x1524c2(_0x2186e0._0x398104)] !== _0x1524c2(_0x2186e0._0x2ee000))
1655
1288
  return null;
1656
- const _0x4078b4 = _0x5aa99e[_0x1f69cb(_0x2d3a26._0x33b6f1)] != null ? _0xb28699[_0x1f69cb(_0x2d3a26._0x319c0f)] + ':t' + _0x5aa99e[_0x1f69cb(_0x2d3a26._0x11a129)] : _0xb28699[_0x1f69cb(0x24d)] + ':' + _0x5aa99e['messageId'];
1657
- let _0x3fad6c;
1289
+ const _0x3017e0 = _0x5418da['threadNumber'] != null ? _0x4f38cf[_0x1524c2(0x185)] + ':t' + _0x5418da['threadNumber'] : _0x4f38cf[_0x1524c2(0x185)] + ':' + _0x5418da[_0x1524c2(0x212)];
1290
+ let _0x5ef5b6;
1658
1291
  try {
1659
- const _0x124da5 = await _0x3dc6c3[_0x1f69cb(0x1b8)]['readHistory']({
1660
- 'channel': _0x4078b4,
1292
+ const _0xd52fa7 = await _0x783ce3['client'][_0x1524c2(0x189)]({
1293
+ 'channel': _0x3017e0,
1661
1294
  'limit': 0x14
1662
1295
  });
1663
- _0x3fad6c = _0x124da5[_0x1f69cb(_0x2d3a26._0x2bdb0f)][_0x1f69cb(0x22f)](_0xfe087 => _0xfe087['messageId'] === _0x5aa99e[_0x1f69cb(0x121)]);
1296
+ _0x5ef5b6 = _0xd52fa7[_0x1524c2(_0x2186e0._0x17c4db)]['find'](_0x48c7ae => _0x48c7ae[_0x1524c2(0x212)] === _0x5418da['messageId']);
1664
1297
  } catch {
1665
- _0x3fad6c = void 0x0;
1298
+ _0x5ef5b6 = void 0x0;
1666
1299
  }
1667
- const _0x4be0f5 = _0x5aa99e[_0x1f69cb(_0x2d3a26._0x2a4291)] == null ? _0x1f69cb(_0x2d3a26._0x4a5da4) : '#' + _0x5aa99e[_0x1f69cb(0x261)], _0x3d40c4 = [
1668
- _0x1f69cb(_0x2d3a26._0x406c0b) + _0x4078b4 + _0x1f69cb(0x222) + _0x5aa99e[_0x1f69cb(0x121)]['slice'](0x0, 0x8) + _0x1f69cb(_0x2d3a26._0x498599) + new Date()[_0x1f69cb(0x26e)]() + _0x1f69cb(0x1fd) + _0x4be0f5 + '\x20已切换到\x20worker\x20执行',
1300
+ const _0x60533c = _0x5418da[_0x1524c2(0x16d)] == null ? _0x1524c2(_0x2186e0._0x339e27) : '#' + _0x5418da['taskNumber'], _0x57fb3d = [
1301
+ _0x1524c2(_0x2186e0._0x229c18) + _0x3017e0 + '\x20msg=' + _0x5418da[_0x1524c2(_0x2186e0._0x1d66ac)][_0x1524c2(_0x2186e0._0x11bf9d)](0x0, 0x8) + _0x1524c2(0x120) + new Date()[_0x1524c2(0x25e)]() + _0x1524c2(0x264) + _0x60533c + '\x20已切换到\x20worker\x20执行',
1669
1302
  '',
1670
- _0x3fad6c ? _0x1f69cb(_0x2d3a26._0x1e2c91) + _0x3fad6c[_0x1f69cb(_0x2d3a26._0x151fdf)] : _0x1f69cb(0x15f) + _0x5aa99e[_0x1f69cb(0x121)],
1303
+ _0x5ef5b6 ? _0x1524c2(0x172) + _0x5ef5b6[_0x1524c2(0x23f)] : _0x1524c2(0x25c) + _0x5418da[_0x1524c2(0x212)],
1671
1304
  '',
1672
- _0x1f69cb(0x189) + _0x4078b4,
1673
- _0x1f69cb(0x1f1)
1674
- ][_0x1f69cb(0x13c)]('\x0a'), _0xcb2597 = await fetch(_0x3dc6c3[_0x1f69cb(0x148)] + '/workers/deliver', {
1675
- 'method': 'POST',
1676
- 'headers': { 'Content-Type': _0x1f69cb(0x181) },
1677
- 'body': JSON[_0x1f69cb(0x115)]({
1678
- 'agent_id': _0x3dc6c3[_0x1f69cb(0x215)],
1679
- 'thread_target': _0x4078b4,
1305
+ _0x1524c2(_0x2186e0._0x22a602) + _0x3017e0,
1306
+ _0x1524c2(0x238)
1307
+ ][_0x1524c2(0x15d)]('\x0a'), _0x19141e = await fetch(_0x783ce3[_0x1524c2(0x1d4)] + _0x1524c2(_0x2186e0._0x1822d3), {
1308
+ 'method': _0x1524c2(0x199),
1309
+ 'headers': { 'Content-Type': _0x1524c2(0x12a) },
1310
+ 'body': JSON[_0x1524c2(_0x2186e0._0x3e045d)]({
1311
+ 'agent_id': _0x783ce3[_0x1524c2(_0x2186e0._0x5f3d48)],
1312
+ 'thread_target': _0x3017e0,
1680
1313
  'spawn_packet': {
1681
- 'replyTarget': _0x4078b4,
1682
- ..._0x5aa99e['taskId'] ? { 'taskId': _0x5aa99e['taskId'] } : _0x5aa99e[_0x1f69cb(0x261)] != null ? { 'taskId': _0x1f69cb(0x146) + _0x5aa99e[_0x1f69cb(_0x2d3a26._0x4d1ee1)] } : {}
1314
+ 'replyTarget': _0x3017e0,
1315
+ ..._0x5418da['taskId'] ? { 'taskId': _0x5418da[_0x1524c2(0x133)] } : _0x5418da['taskNumber'] != null ? { 'taskId': _0x1524c2(_0x2186e0._0xdf7408) + _0x5418da[_0x1524c2(0x16d)] } : {}
1683
1316
  },
1684
1317
  'payload': {
1685
- 'mode': _0x1f69cb(_0x2d3a26._0x23a6b2),
1686
- 'text': _0x3d40c4
1318
+ 'mode': _0x1524c2(0x265),
1319
+ 'text': _0x57fb3d
1687
1320
  }
1688
1321
  })
1689
- }), _0x7db147 = await _0xcb2597[_0x1f69cb(_0x2d3a26._0x2dc6b9)]();
1690
- if (!_0x7db147['ok'])
1691
- throw new Error(_0x7db147['error'] ?? 'worker\x20handoff\x20failed');
1322
+ }), _0x1a5a0c = await _0x19141e['json']();
1323
+ if (!_0x1a5a0c['ok'])
1324
+ throw new Error(_0x1a5a0c[_0x1524c2(_0x2186e0._0x49b5f6)] ?? 'worker\x20handoff\x20failed');
1692
1325
  return {
1693
1326
  'stopMain': !![],
1694
- 'threadTarget': _0x4078b4,
1695
- 'workerDisposition': _0x7db147[_0x1f69cb(0x212)] === _0x1f69cb(0x1d3) ? _0x1f69cb(0x1d3) : _0x1f69cb(0x245),
1327
+ 'threadTarget': _0x3017e0,
1328
+ 'workerDisposition': _0x1a5a0c[_0x1524c2(_0x2186e0._0x4b1db1)] === _0x1524c2(0x138) ? 'queued' : 'started',
1696
1329
  'workerHandoff': !![],
1697
- 'workerSessionId': _0x7db147['worker_session_id'] ?? '',
1698
- 'executionMode': _0x1f69cb(_0x2d3a26._0x1d971b)
1330
+ 'workerSessionId': _0x1a5a0c[_0x1524c2(_0x2186e0._0x3df26f)] ?? '',
1331
+ 'executionMode': _0x1524c2(_0x2186e0._0x4d58df)
1699
1332
  };
1700
1333
  }
1701
- async function _0xb50e2() {
1702
- const _0x10644a = _0x3431;
1703
- if (!_0x3dc6c3['daemonLocalUrl'] || !_0x3dc6c3['agentId'] || _0x3dc6c3[_0x10644a(0x26c)])
1334
+ async function _0x3b6e28() {
1335
+ const _0x331ee0 = _0x3844;
1336
+ if (!_0x783ce3[_0x331ee0(_0x48769b._0x318c93)] || !_0x783ce3[_0x331ee0(0x15b)] || _0x783ce3[_0x331ee0(0x19a)])
1704
1337
  return null;
1705
1338
  try {
1706
- const _0x3a75f2 = await fetch(_0x3dc6c3['daemonLocalUrl'] + _0x10644a(_0xbbb2db._0x2de3c3) + encodeURIComponent(_0x3dc6c3[_0x10644a(0x215)])), _0x3eec42 = await _0x3a75f2[_0x10644a(_0xbbb2db._0x256b27)]();
1707
- if (!_0x3eec42['ok'])
1339
+ const _0x266594 = await fetch(_0x783ce3[_0x331ee0(0x1d4)] + _0x331ee0(0x290) + encodeURIComponent(_0x783ce3[_0x331ee0(0x15b)])), _0x545529 = await _0x266594[_0x331ee0(_0x48769b._0x4f1b19)]();
1340
+ if (!_0x545529['ok'])
1708
1341
  return null;
1709
- const _0x6332fc = new Set();
1710
- for (const _0x1567af of _0x3eec42[_0x10644a(_0xbbb2db._0x4dfe38)]) {
1711
- _0x1567af[_0x10644a(0x249)] !== _0x10644a(0x22a) && _0x1567af[_0x10644a(_0xbbb2db._0x246a96)] && _0x6332fc[_0x10644a(_0xbbb2db._0xa08f38)](_0x1567af[_0x10644a(0x164)]);
1342
+ const _0x1bcdbf = new Set();
1343
+ for (const _0x21c695 of _0x545529[_0x331ee0(0x194)]) {
1344
+ _0x21c695[_0x331ee0(0x27f)] !== 'destroyed' && _0x21c695[_0x331ee0(0x181)] && _0x1bcdbf[_0x331ee0(_0x48769b._0x23c946)](_0x21c695['thread_target']);
1712
1345
  }
1713
- return _0x6332fc[_0x10644a(0x1dd)] > 0x0 ? _0x6332fc : null;
1346
+ return _0x1bcdbf[_0x331ee0(0x1b5)] > 0x0 ? _0x1bcdbf : null;
1714
1347
  } catch {
1715
1348
  return null;
1716
1349
  }
1717
1350
  }
1718
1351
  return {
1719
- async 'send_message'(_0x1c0f61) {
1720
- const _0x46204c = _0x3431;
1721
- if (!_0x3dc6c3['workerMode'] && _0x3dc6c3[_0x46204c(_0x3e3a9b._0xee10f0)] && _0x3dc6c3[_0x46204c(_0x3e3a9b._0x31f35d)] && _0x3dc6c3[_0x46204c(_0x3e3a9b._0x4c534a)]) {
1722
- const _0xfffd4 = await _0x3dc6c3[_0x46204c(0x1b8)][_0x46204c(_0x3e3a9b._0x458743)](_0x1c0f61[_0x46204c(_0x3e3a9b._0x301360)]);
1723
- if (_0xfffd4[_0x46204c(0x282)] && _0xfffd4['threadId']) {
1724
- const _0x2cd6ae = _0xfffd4[_0x46204c(_0x3e3a9b._0x8bc94c)]['taskNumber'] != null ? '#' + _0xfffd4[_0x46204c(_0x3e3a9b._0x5eb393)][_0x46204c(0x261)] : _0x46204c(_0x3e3a9b._0x46aa83), _0x5d5862 = _0xfffd4[_0x46204c(0x1c8)] != null ? _0xfffd4['target'] + ':t' + _0xfffd4[_0x46204c(_0x3e3a9b._0xbe28fe)] : _0xfffd4[_0x46204c(_0x3e3a9b._0x301360)] + ':' + _0xfffd4[_0x46204c(_0x3e3a9b._0x4385db)][_0x46204c(0x177)](0x0, 0x8), _0x9062ac = [
1725
- _0x46204c(0x22d) + _0x5d5862 + '\x20msg=handoff\x20time=' + new Date()[_0x46204c(_0x3e3a9b._0xcd17e2)]() + ']\x20@system:\x20[enter-handoff]',
1352
+ async 'send_message'(_0x255485) {
1353
+ const _0x32c2a0 = _0x3844;
1354
+ if (!_0x783ce3[_0x32c2a0(_0x2ec10b._0x2eaa8a)] && _0x783ce3[_0x32c2a0(0x28d)] && _0x783ce3['daemonLocalUrl'] && _0x783ce3[_0x32c2a0(_0x2ec10b._0x138f0e)]) {
1355
+ const _0x13c297 = await _0x783ce3['client']['resolveTarget'](_0x255485[_0x32c2a0(0x1fe)]);
1356
+ if (_0x13c297[_0x32c2a0(0x2a5)] && _0x13c297[_0x32c2a0(_0x2ec10b._0x4b3345)]) {
1357
+ const _0xdf26a4 = _0x13c297[_0x32c2a0(0x2a5)][_0x32c2a0(_0x2ec10b._0x132a87)] != null ? '#' + _0x13c297[_0x32c2a0(0x2a5)][_0x32c2a0(_0x2ec10b._0x132a87)] : _0x32c2a0(_0x2ec10b._0x5a6c97), _0x52f36d = _0x13c297[_0x32c2a0(_0x2ec10b._0x1b0f86)] != null ? _0x13c297[_0x32c2a0(0x1fe)] + ':t' + _0x13c297[_0x32c2a0(0x24b)] : _0x13c297[_0x32c2a0(0x1fe)] + ':' + _0x13c297[_0x32c2a0(_0x2ec10b._0x4b3345)]['slice'](0x0, 0x8), _0x565c4e = [
1358
+ '[target=' + _0x52f36d + _0x32c2a0(0x178) + new Date()[_0x32c2a0(_0x2ec10b._0x201b72)]() + ']\x20@system:\x20[enter-handoff]',
1726
1359
  '',
1727
- _0x46204c(0x130) + _0x1c0f61[_0x46204c(_0x3e3a9b._0x1ed498)],
1728
- _0x46204c(_0x3e3a9b._0x520cd1) + _0x2cd6ae + '\x20(' + _0xfffd4[_0x46204c(_0x3e3a9b._0x303a36)][_0x46204c(_0x3e3a9b._0x4e7309)] + ')',
1729
- _0x46204c(0x189) + _0x5d5862,
1730
- 'Read\x20thread\x20history\x20before\x20taking\x20action.\x20Do\x20not\x20echo\x20this\x20message\x20to\x20the\x20thread.'
1731
- ]['join']('\x0a'), _0x3b3b33 = await fetch(_0x3dc6c3[_0x46204c(0x148)] + _0x46204c(_0x3e3a9b._0x43cf0b), {
1732
- 'method': _0x46204c(_0x3e3a9b._0x4056a7),
1360
+ _0x32c2a0(_0x2ec10b._0x2d1fe7) + _0x255485[_0x32c2a0(0x23f)],
1361
+ _0x32c2a0(0x239) + _0xdf26a4 + '\x20(' + _0x13c297['task'][_0x32c2a0(0x133)] + ')',
1362
+ _0x32c2a0(0x1a9) + _0x52f36d,
1363
+ _0x32c2a0(0x154)
1364
+ ][_0x32c2a0(0x15d)]('\x0a'), _0x18f7ea = await fetch(_0x783ce3[_0x32c2a0(_0x2ec10b._0x573f5b)] + '/workers/deliver', {
1365
+ 'method': _0x32c2a0(_0x2ec10b._0x6d1101),
1733
1366
  'headers': { 'Content-Type': 'application/json' },
1734
- 'body': JSON[_0x46204c(0x115)]({
1735
- 'agent_id': _0x3dc6c3[_0x46204c(_0x3e3a9b._0x130a59)],
1736
- 'thread_target': _0x5d5862,
1367
+ 'body': JSON[_0x32c2a0(_0x2ec10b._0x17bc27)]({
1368
+ 'agent_id': _0x783ce3[_0x32c2a0(0x15b)],
1369
+ 'thread_target': _0x52f36d,
1737
1370
  'spawn_packet': {
1738
- 'replyTarget': _0x5d5862,
1739
- 'taskId': _0xfffd4[_0x46204c(_0x3e3a9b._0x323032)][_0x46204c(_0x3e3a9b._0x4e7309)]
1371
+ 'replyTarget': _0x52f36d,
1372
+ 'taskId': _0x13c297['task']['taskId']
1740
1373
  },
1741
1374
  'payload': {
1742
- 'mode': _0x46204c(_0x3e3a9b._0x262554),
1743
- 'text': _0x9062ac
1375
+ 'mode': 'user',
1376
+ 'text': _0x565c4e
1744
1377
  }
1745
1378
  })
1746
- }), _0x4c9889 = await _0x3b3b33[_0x46204c(_0x3e3a9b._0x1ded09)]();
1747
- if (!_0x4c9889['ok'])
1748
- throw new Error(_0x4c9889[_0x46204c(0x160)] ?? _0x46204c(_0x3e3a9b._0x22f593));
1379
+ }), _0x37137b = await _0x18f7ea['json']();
1380
+ if (!_0x37137b['ok'])
1381
+ throw new Error(_0x37137b[_0x32c2a0(0x1c5)] ?? _0x32c2a0(_0x2ec10b._0x30402b));
1749
1382
  return [
1750
- _0x46204c(0x20f) + _0x2cd6ae + '\x20in\x20' + _0x5d5862 + '.',
1751
- _0x46204c(_0x3e3a9b._0x38ef6d),
1752
- _0x46204c(_0x3e3a9b._0x92f30d) + (_0x4c9889[_0x46204c(0x212)] === 'queued' ? _0x46204c(0x1d3) : _0x46204c(_0x3e3a9b._0x3877ae)) + '.',
1383
+ 'Handoff\x20to\x20worker\x20for\x20task\x20' + _0xdf26a4 + '\x20in\x20' + _0x52f36d + '.',
1384
+ 'stopMain=true\x20executionMode=worker',
1385
+ _0x32c2a0(_0x2ec10b._0x26725c) + (_0x37137b[_0x32c2a0(0x1bb)] === _0x32c2a0(0x138) ? 'queued' : _0x32c2a0(_0x2ec10b._0x43ec72)) + '.',
1753
1386
  'Do\x20not\x20send\x20further\x20messages\x20to\x20this\x20thread.'
1754
- ][_0x46204c(0x13c)]('\x20');
1387
+ ]['join']('\x20');
1755
1388
  }
1756
1389
  }
1757
- const _0x197454 = await _0x3dc6c3['client'][_0x46204c(_0x3e3a9b._0x5e4e5c)]({
1758
- 'attachmentIds': _0x1c0f61[_0x46204c(_0x3e3a9b._0x5f1377)],
1759
- 'content': _0x1c0f61[_0x46204c(_0x3e3a9b._0x1ed498)],
1760
- 'target': _0x1c0f61['target'],
1761
- 'visibility': _0x1c0f61[_0x46204c(0x134)]
1390
+ const _0x236043 = await _0x783ce3['client']['sendMessage']({
1391
+ 'attachmentIds': _0x255485[_0x32c2a0(_0x2ec10b._0x3b6b67)],
1392
+ 'content': _0x255485['content'],
1393
+ 'target': _0x255485[_0x32c2a0(0x1fe)],
1394
+ 'visibility': _0x255485[_0x32c2a0(0x24a)]
1762
1395
  });
1763
- return _0x46204c(_0x3e3a9b._0x1513ca) + _0x1c0f61['target'] + _0x46204c(0x233) + _0x197454[_0x46204c(0x121)];
1396
+ return _0x32c2a0(0x12f) + _0x255485[_0x32c2a0(_0x2ec10b._0xd874f1)] + _0x32c2a0(_0x2ec10b._0x4e7cf2) + _0x236043[_0x32c2a0(0x212)];
1764
1397
  },
1765
1398
  async 'check_messages'() {
1766
- const _0x127318 = _0x3431, _0x3cde64 = await _0x3dc6c3['client']['checkMessages']();
1767
- if (!_0x3dc6c3[_0x127318(0x26c)]) {
1768
- const _0x4a6215 = await _0xb50e2();
1769
- if (_0x4a6215)
1770
- return formatCheckMessages(_0x3cde64[_0x127318(0x206)][_0x127318(_0x356e28._0x55dc4f)](_0xaad86d => !_0x4a6215['has'](_0xaad86d[_0x127318(0x17a)])));
1399
+ const _0x30684a = _0x3844, _0x3f2d23 = await _0x783ce3[_0x30684a(_0x1c712d._0x48e42c)][_0x30684a(0x165)]();
1400
+ if (!_0x783ce3[_0x30684a(_0x1c712d._0x3c460c)]) {
1401
+ const _0x1b9dc3 = await _0x3b6e28();
1402
+ if (_0x1b9dc3)
1403
+ return formatCheckMessages(_0x3f2d23[_0x30684a(_0x1c712d._0x20d1d3)]['filter'](_0x2f30a8 => !_0x1b9dc3[_0x30684a(0x248)](_0x2f30a8['target'])));
1771
1404
  }
1772
- return formatCheckMessages(_0x3cde64[_0x127318(_0x356e28._0x4c8552)]);
1405
+ return formatCheckMessages(_0x3f2d23[_0x30684a(0x20d)]);
1773
1406
  },
1774
- async 'read_history'(_0x47011f) {
1775
- const _0x7a1d45 = _0x3431, _0x3fc27d = await _0x3dc6c3[_0x7a1d45(0x1b8)][_0x7a1d45(0x1b3)](_0x47011f);
1776
- return formatHistory(_0x3fc27d);
1407
+ async 'read_history'(_0x445ea1) {
1408
+ const _0x286d4b = _0x3844, _0x17af99 = await _0x783ce3[_0x286d4b(0x288)][_0x286d4b(_0x109f69._0x549000)](_0x445ea1);
1409
+ return formatHistory(_0x17af99);
1777
1410
  },
1778
1411
  async 'list_server'() {
1779
- const _0x2051a9 = _0x3431, _0x7ca151 = await _0x3dc6c3[_0x2051a9(0x1b8)]['listServer']();
1780
- return formatServerDirectory(_0x7ca151);
1412
+ const _0x5325f2 = _0x3844, _0x21b2f9 = await _0x783ce3[_0x5325f2(_0x29cc42._0x33961c)][_0x5325f2(0x11f)]();
1413
+ return formatServerDirectory(_0x21b2f9);
1781
1414
  },
1782
- async 'list_tasks'(_0x38b29a) {
1783
- const _0x32a18f = _0x3431, _0x3daeb3 = await _0x3dc6c3['client'][_0x32a18f(0x1d8)](_0x38b29a);
1784
- let _0x17b078;
1785
- if (_0x3dc6c3[_0x32a18f(0x148)] && _0x3dc6c3[_0x32a18f(_0x434707._0xabdce7)])
1415
+ async 'list_tasks'(_0x52254d) {
1416
+ const _0x200762 = _0x3844, _0x392033 = await _0x783ce3[_0x200762(_0x2be618._0x59c6af)]['listTasks'](_0x52254d);
1417
+ let _0x55f818;
1418
+ if (_0x783ce3['daemonLocalUrl'] && _0x783ce3[_0x200762(_0x2be618._0x46fd55)])
1786
1419
  try {
1787
- const _0x4ed710 = await fetch(_0x3dc6c3[_0x32a18f(0x148)] + '/workers/list?agent_id=' + encodeURIComponent(_0x3dc6c3[_0x32a18f(0x215)])), _0x347cee = await _0x4ed710[_0x32a18f(0x136)]();
1788
- if (_0x347cee['ok']) {
1789
- const _0x51572c = _0x38b29a[_0x32a18f(0x26f)] + ':';
1790
- _0x17b078 = new Set();
1791
- for (const _0x117264 of _0x347cee['workers']) {
1792
- if (_0x117264[_0x32a18f(0x249)] === 'destroyed')
1420
+ const _0x5c2cda = await fetch(_0x783ce3[_0x200762(0x1d4)] + '/workers/list?agent_id=' + encodeURIComponent(_0x783ce3[_0x200762(0x15b)])), _0x30c668 = await _0x5c2cda[_0x200762(0x1f6)]();
1421
+ if (_0x30c668['ok']) {
1422
+ const _0xec47d0 = _0x52254d[_0x200762(0x268)] + ':';
1423
+ _0x55f818 = new Set();
1424
+ for (const _0x592a7b of _0x30c668[_0x200762(_0x2be618._0x150a09)]) {
1425
+ if (_0x592a7b['status'] === _0x200762(0x170))
1793
1426
  continue;
1794
- if (_0x117264['thread_target']?.['startsWith'](_0x51572c)) {
1795
- const _0x11fa44 = _0x117264[_0x32a18f(_0x434707._0x4d7184)][_0x32a18f(_0x434707._0x1e2ebd)](_0x51572c[_0x32a18f(_0x434707._0x354e7d)]), _0xbe3412 = _0x3daeb3[_0x32a18f(0x1f5)]['find'](_0x267e64 => _0x267e64[_0x32a18f(0x121)]?.[_0x32a18f(0x1d0)](_0x11fa44) === !![]);
1796
- if (_0xbe3412?.[_0x32a18f(_0x434707._0xcc6aa0)] != null) {
1797
- _0x17b078[_0x32a18f(0x1e3)](_0xbe3412[_0x32a18f(0x261)]);
1427
+ if (_0x592a7b[_0x200762(_0x2be618._0x21c227)]?.['startsWith'](_0xec47d0)) {
1428
+ const _0x178e73 = _0x592a7b[_0x200762(0x181)]['slice'](_0xec47d0[_0x200762(_0x2be618._0x443ead)]), _0x93e99 = _0x392033['tasks']['find'](_0x952db0 => _0x952db0[_0x200762(0x212)]?.['startsWith'](_0x178e73) === !![]);
1429
+ if (_0x93e99?.[_0x200762(_0x2be618._0x157249)] != null) {
1430
+ _0x55f818[_0x200762(_0x2be618._0x246e9b)](_0x93e99[_0x200762(0x16d)]);
1798
1431
  continue;
1799
1432
  }
1800
1433
  }
1801
- if (_0x117264[_0x32a18f(0x19b)]) {
1802
- const _0x4f9e6d = _0x3daeb3['tasks'][_0x32a18f(_0x434707._0xe5e956)](_0x1bc39f => _0x1bc39f[_0x32a18f(0x27f)] === _0x117264[_0x32a18f(0x19b)]);
1803
- _0x4f9e6d?.[_0x32a18f(0x261)] != null && _0x17b078[_0x32a18f(_0x434707._0x40d406)](_0x4f9e6d[_0x32a18f(0x261)]);
1434
+ if (_0x592a7b[_0x200762(_0x2be618._0x53770c)]) {
1435
+ const _0x552645 = _0x392033['tasks'][_0x200762(0x21e)](_0xe5ded5 => _0xe5ded5['taskId'] === _0x592a7b[_0x200762(0x1f1)]);
1436
+ _0x552645?.[_0x200762(0x16d)] != null && _0x55f818[_0x200762(0x155)](_0x552645[_0x200762(_0x2be618._0x3a701c)]);
1804
1437
  }
1805
1438
  }
1806
1439
  }
1807
1440
  } catch {
1808
1441
  }
1809
- return formatTaskList(_0x3daeb3[_0x32a18f(0x1f5)], _0x17b078);
1442
+ return formatTaskList(_0x392033[_0x200762(0x236)], _0x55f818);
1810
1443
  },
1811
- async 'create_tasks'(_0x5b4fb4) {
1812
- const _0x5c7fce = _0x3431, _0x38a226 = await _0x3dc6c3[_0x5c7fce(0x1b8)][_0x5c7fce(0x24c)](_0x5b4fb4);
1813
- return formatCreatedTasks(_0x38a226[_0x5c7fce(0x1f5)]);
1444
+ async 'create_tasks'(_0x297034) {
1445
+ const _0x32becd = _0x3844, _0x4a17e3 = await _0x783ce3['client'][_0x32becd(0x1e3)](_0x297034);
1446
+ return formatCreatedTasks(_0x4a17e3[_0x32becd(_0x371f1c._0x5876b3)]);
1814
1447
  },
1815
- async 'claim_tasks'(_0x5169c8) {
1816
- const _0xd6e6c4 = _0x3431, _0x20069c = await _0x3dc6c3[_0xd6e6c4(_0x5921fe._0x4f9e70)]['claimTasks'](_0x5169c8), _0x35cb34 = await Promise[_0xd6e6c4(0x1e1)](_0x20069c[_0xd6e6c4(_0x5921fe._0x51b9d9)][_0xd6e6c4(_0x5921fe._0x2cd367)](async _0x3cce8d => {
1817
- const _0x6c8599 = _0xd6e6c4;
1818
- if (!_0x3cce8d[_0x6c8599(_0x3cb8b7._0x39d49c)] || !_0x3cce8d[_0x6c8599(_0x3cb8b7._0x12ceaa)])
1819
- return _0x3cce8d;
1448
+ async 'claim_tasks'(_0x1c0836) {
1449
+ const _0x547130 = { _0x598e9f: 0x212 }, _0x5498f3 = _0x3844, _0x37a157 = await _0x783ce3['client']['claimTasks'](_0x1c0836), _0x39451d = await Promise[_0x5498f3(_0x354a35._0x714231)](_0x37a157[_0x5498f3(_0x354a35._0xe55152)][_0x5498f3(_0x354a35._0x625f2a)](async _0x2fcb9e => {
1450
+ const _0x33cab4 = _0x5498f3;
1451
+ if (!_0x2fcb9e['success'] || !_0x2fcb9e['messageId'])
1452
+ return _0x2fcb9e;
1820
1453
  try {
1821
- const _0x1469c3 = await _0x39301b({
1822
- 'channel': _0x5169c8[_0x6c8599(_0x3cb8b7._0x562e7a)],
1823
- 'messageId': _0x3cce8d['messageId'],
1824
- 'taskId': _0x3cce8d[_0x6c8599(0x27f)],
1825
- 'taskNumber': _0x3cce8d[_0x6c8599(0x261)],
1826
- 'threadNumber': _0x3cce8d['threadNumber']
1454
+ const _0x4d669b = await _0x23bc3f({
1455
+ 'channel': _0x1c0836[_0x33cab4(0x268)],
1456
+ 'messageId': _0x2fcb9e[_0x33cab4(_0x547130._0x598e9f)],
1457
+ 'taskId': _0x2fcb9e[_0x33cab4(0x133)],
1458
+ 'taskNumber': _0x2fcb9e[_0x33cab4(0x16d)],
1459
+ 'threadNumber': _0x2fcb9e['threadNumber']
1827
1460
  });
1828
- return _0x1469c3 ? {
1829
- ..._0x3cce8d,
1830
- ..._0x1469c3
1831
- } : _0x3cce8d;
1832
- } catch (_0xa3be41) {
1461
+ return _0x4d669b ? {
1462
+ ..._0x2fcb9e,
1463
+ ..._0x4d669b
1464
+ } : _0x2fcb9e;
1465
+ } catch (_0x270ec2) {
1833
1466
  return {
1834
- ..._0x3cce8d,
1835
- 'workerHandoffError': _0xa3be41 instanceof Error ? _0xa3be41[_0x6c8599(_0x3cb8b7._0x55f5d7)] : _0x6c8599(_0x3cb8b7._0x586343)
1467
+ ..._0x2fcb9e,
1468
+ 'workerHandoffError': _0x270ec2 instanceof Error ? _0x270ec2['message'] : 'worker\x20handoff\x20failed'
1836
1469
  };
1837
1470
  }
1838
1471
  }));
1839
- return formatClaimTaskResults(_0x35cb34);
1472
+ return formatClaimTaskResults(_0x39451d);
1840
1473
  },
1841
- async 'unclaim_task'(_0xcbbcd2) {
1842
- const _0x35d5c2 = _0x3431, _0x3a5fa6 = await _0x3dc6c3['client'][_0x35d5c2(_0x4e2a70._0x5b1fa7)](_0xcbbcd2);
1843
- return formatUnclaimTaskResult(_0x3a5fa6);
1474
+ async 'unclaim_task'(_0x28d6cd) {
1475
+ const _0x9ff59d = _0x3844, _0x85d53c = await _0x783ce3[_0x9ff59d(0x288)]['unclaimTask'](_0x28d6cd);
1476
+ return formatUnclaimTaskResult(_0x85d53c);
1844
1477
  },
1845
- async 'update_task_status'(_0x26be19) {
1846
- const _0x32ae1f = _0x3431, _0x14f04f = await _0x3dc6c3[_0x32ae1f(_0x75981._0x1c6e57)][_0x32ae1f(0x1ce)](_0x26be19);
1847
- return formatUpdateTaskStatusResult(_0x14f04f);
1478
+ async 'update_task_status'(_0x55d930) {
1479
+ const _0x285828 = _0x3844, _0x57a4bb = await _0x783ce3[_0x285828(0x288)]['updateTaskStatus'](_0x55d930);
1480
+ return formatUpdateTaskStatusResult(_0x57a4bb);
1848
1481
  },
1849
- async 'upload_file'(_0x1fcb72) {
1850
- const _0x356438 = _0x3431, _0x3fc728 = await _0x3dc6c3[_0x356438(_0x5c9d2f._0x3fce68)](_0x1fcb72[_0x356438(0x1f3)]), {
1851
- sizeBytes: _0x1a6735,
1852
- ..._0x546331
1853
- } = _0x3fc728, _0x236575 = await _0x3dc6c3['client'][_0x356438(_0x5c9d2f._0x68ed06)]({
1854
- 'channel': _0x1fcb72[_0x356438(0x26f)],
1855
- ..._0x546331
1482
+ async 'upload_file'(_0x13a80b) {
1483
+ const _0x155e67 = _0x3844, _0x21b4da = await _0x783ce3[_0x155e67(0x220)](_0x13a80b['file_path']), {
1484
+ sizeBytes: _0x10d744,
1485
+ ..._0x5efd0a
1486
+ } = _0x21b4da, _0x384d74 = await _0x783ce3[_0x155e67(0x288)]['uploadFile']({
1487
+ 'channel': _0x13a80b[_0x155e67(0x268)],
1488
+ ..._0x5efd0a
1856
1489
  });
1857
- return formatUploadResult(_0x236575);
1490
+ return formatUploadResult(_0x384d74);
1858
1491
  },
1859
- async 'view_file'(_0x415986) {
1860
- const _0x1322a9 = _0x3431, _0xf9c944 = await _0x3dc6c3[_0x1322a9(_0x4eb0c6._0x593796)][_0x1322a9(0x1d6)](_0x415986[_0x1322a9(_0x4eb0c6._0x17a276)]);
1861
- if (_0xf9c944)
1862
- return formatViewFileResult(_0xf9c944, !![]);
1863
- const _0xe24c74 = await _0x3dc6c3[_0x1322a9(0x1b8)][_0x1322a9(0x13b)](_0x415986[_0x1322a9(0x10a)]), _0x3e5e6f = await _0x3dc6c3[_0x1322a9(_0x4eb0c6._0x593796)][_0x1322a9(_0x4eb0c6._0x26e883)]({
1864
- 'attachmentId': _0x415986[_0x1322a9(0x10a)],
1865
- 'contentType': _0xe24c74[_0x1322a9(_0x4eb0c6._0x5e0797)],
1866
- 'data': _0xe24c74[_0x1322a9(0x193)],
1867
- 'originalFilename': _0xe24c74['originalFilename']
1492
+ async 'view_file'(_0x51f82c) {
1493
+ const _0x2d3825 = _0x3844, _0x4e6bd5 = await _0x783ce3[_0x2d3825(0x177)][_0x2d3825(_0x4364de._0x3e905e)](_0x51f82c[_0x2d3825(0x13f)]);
1494
+ if (_0x4e6bd5)
1495
+ return formatViewFileResult(_0x4e6bd5, !![]);
1496
+ const _0x338e64 = await _0x783ce3['client'][_0x2d3825(0x146)](_0x51f82c[_0x2d3825(0x13f)]), _0x2a27bf = await _0x783ce3[_0x2d3825(_0x4364de._0x331f81)]['save']({
1497
+ 'attachmentId': _0x51f82c['attachment_id'],
1498
+ 'contentType': _0x338e64['contentType'],
1499
+ 'data': _0x338e64[_0x2d3825(_0x4364de._0xdcbc6a)],
1500
+ 'originalFilename': _0x338e64[_0x2d3825(_0x4364de._0x32eb45)]
1868
1501
  });
1869
- return formatViewFileResult(_0x3e5e6f, ![]);
1502
+ return formatViewFileResult(_0x2a27bf, ![]);
1870
1503
  },
1871
- async 'get_worker_status'(_0x10f486) {
1872
- const _0x1bcbd6 = _0x3431;
1873
- if (!_0x3dc6c3[_0x1bcbd6(0x148)])
1504
+ async 'get_worker_status'(_0x118603) {
1505
+ const _0x57dfa9 = _0x3844;
1506
+ if (!_0x783ce3[_0x57dfa9(0x1d4)])
1874
1507
  return 'Worker\x20features\x20not\x20available';
1875
- const _0x4dd104 = await fetch(_0x3dc6c3[_0x1bcbd6(0x148)] + _0x1bcbd6(_0x504d00._0x5685c7) + encodeURIComponent(_0x10f486[_0x1bcbd6(_0x504d00._0x3f28ac)])), _0x496309 = await _0x4dd104[_0x1bcbd6(0x136)]();
1876
- if (!_0x496309['ok'])
1877
- return 'Worker\x20\x22' + _0x10f486[_0x1bcbd6(_0x504d00._0x3f28ac)] + '\x22\x20not\x20found';
1878
- return _0x1bcbd6(_0x504d00._0xba294) + _0x10f486[_0x1bcbd6(0x108)] + _0x1bcbd6(0x1e4) + _0x496309[_0x1bcbd6(0x249)];
1508
+ const _0x48829d = await fetch(_0x783ce3['daemonLocalUrl'] + _0x57dfa9(0x139) + encodeURIComponent(_0x118603['work_key'])), _0x5c6d59 = await _0x48829d[_0x57dfa9(_0x5eda22._0x33f96c)]();
1509
+ if (!_0x5c6d59['ok'])
1510
+ return _0x57dfa9(_0x5eda22._0x45fc75) + _0x118603['work_key'] + '\x22\x20not\x20found';
1511
+ return _0x57dfa9(_0x5eda22._0x1019ef) + _0x118603['work_key'] + _0x57dfa9(0x1f3) + _0x5c6d59[_0x57dfa9(0x27f)];
1879
1512
  },
1880
- async 'get_worker_result'(_0x2e4c64) {
1881
- const _0x18397c = _0x3431;
1882
- if (!_0x3dc6c3[_0x18397c(_0x1ee086._0x3c4cf9)])
1883
- return _0x18397c(0x1d2);
1884
- const _0x5cf0ba = await fetch(_0x3dc6c3[_0x18397c(_0x1ee086._0x3c4cf9)] + _0x18397c(_0x1ee086._0x4bc2a1) + encodeURIComponent(_0x2e4c64[_0x18397c(0x108)])), _0x5b9355 = await _0x5cf0ba[_0x18397c(_0x1ee086._0x4f5430)]();
1885
- if (!_0x5b9355['resume_packet'])
1886
- return 'No\x20result\x20yet\x20for\x20worker\x20\x22' + _0x2e4c64[_0x18397c(0x108)] + '\x22';
1887
- return JSON['stringify'](_0x5b9355[_0x18397c(0x10d)], null, 0x2);
1888
- },
1889
- async 'finish_worker'(_0x3c8f52) {
1890
- const _0x1e3711 = _0x3431;
1891
- if (!_0x3dc6c3['daemonLocalUrl'])
1513
+ async 'get_worker_result'(_0x102906) {
1514
+ const _0x369d45 = _0x3844;
1515
+ if (!_0x783ce3[_0x369d45(_0x554245._0x7d9090)])
1892
1516
  return 'Worker\x20features\x20not\x20available';
1893
- const _0x28af24 = await fetch(_0x3dc6c3[_0x1e3711(0x148)] + '/workers/finish', {
1894
- 'method': 'POST',
1895
- 'headers': { 'Content-Type': 'application/json' },
1896
- 'body': JSON[_0x1e3711(_0x5b369e._0x47c0b8)]({
1897
- 'work_key': _0x3c8f52[_0x1e3711(0x108)],
1517
+ const _0x4b9352 = await fetch(_0x783ce3[_0x369d45(_0x554245._0x7d9090)] + _0x369d45(0x210) + encodeURIComponent(_0x102906['work_key'])), _0x1bead1 = await _0x4b9352[_0x369d45(_0x554245._0x46f1d9)]();
1518
+ if (!_0x1bead1[_0x369d45(0x28f)])
1519
+ return _0x369d45(0x274) + _0x102906[_0x369d45(0x24d)] + '\x22';
1520
+ return JSON['stringify'](_0x1bead1[_0x369d45(0x28f)], null, 0x2);
1521
+ },
1522
+ async 'finish_worker'(_0x51de75) {
1523
+ const _0x588bdd = _0x3844;
1524
+ if (!_0x783ce3[_0x588bdd(0x1d4)])
1525
+ return _0x588bdd(_0x2b29a9._0x297571);
1526
+ const _0x68bb35 = await fetch(_0x783ce3[_0x588bdd(_0x2b29a9._0x2b506d)] + _0x588bdd(0x270), {
1527
+ 'method': _0x588bdd(0x199),
1528
+ 'headers': { 'Content-Type': _0x588bdd(0x12a) },
1529
+ 'body': JSON[_0x588bdd(_0x2b29a9._0x37ca03)]({
1530
+ 'work_key': _0x51de75[_0x588bdd(0x24d)],
1898
1531
  'resume_packet': {
1899
1532
  'objective': '',
1900
- 'result': _0x3c8f52[_0x1e3711(_0x5b369e._0x1cc8a2)],
1901
- 'summary': _0x3c8f52[_0x1e3711(_0x5b369e._0x448c22)],
1902
- 'decisions': _0x3c8f52[_0x1e3711(_0x5b369e._0x1aad82)] ?? [],
1903
- 'filesChanged': _0x3c8f52[_0x1e3711(0x238)] ?? [],
1904
- 'openIssues': _0x3c8f52[_0x1e3711(_0x5b369e._0x3a96d3)] ?? [],
1905
- 'nextSteps': _0x3c8f52[_0x1e3711(0xfc)] ?? []
1533
+ 'result': _0x51de75[_0x588bdd(_0x2b29a9._0xce1a12)],
1534
+ 'summary': _0x51de75[_0x588bdd(_0x2b29a9._0x11bb22)],
1535
+ 'decisions': _0x51de75[_0x588bdd(0x183)] ?? [],
1536
+ 'filesChanged': _0x51de75[_0x588bdd(0x223)] ?? [],
1537
+ 'openIssues': _0x51de75[_0x588bdd(0x129)] ?? [],
1538
+ 'nextSteps': _0x51de75[_0x588bdd(0x1b1)] ?? []
1906
1539
  }
1907
1540
  })
1908
- }), _0x1d2598 = await _0x28af24[_0x1e3711(0x136)]();
1909
- if (!_0x1d2598['ok'])
1910
- throw new Error(_0x1d2598[_0x1e3711(0x160)] ?? _0x1e3711(0x1be));
1911
- return _0x1e3711(0x256) + _0x3c8f52['work_key'] + _0x1e3711(_0x5b369e._0x2e1a5a) + _0x3c8f52[_0x1e3711(_0x5b369e._0x235ebe)];
1541
+ }), _0x7871c6 = await _0x68bb35['json']();
1542
+ if (!_0x7871c6['ok'])
1543
+ throw new Error(_0x7871c6['error'] ?? _0x588bdd(0x134));
1544
+ return _0x588bdd(_0x2b29a9._0x19a7d1) + _0x51de75['work_key'] + _0x588bdd(0x25b) + _0x51de75['result'];
1912
1545
  },
1913
- async 'mark_waiting_input'(_0x2cdb7a) {
1914
- const _0x323bb4 = _0x3431;
1915
- if (!_0x3dc6c3['daemonLocalUrl'] || !_0x3dc6c3[_0x323bb4(0x215)])
1916
- return _0x323bb4(0x186);
1917
- const _0x1ea85b = await fetch(_0x3dc6c3['daemonLocalUrl'] + _0x323bb4(_0x15209e._0x49ed48), {
1918
- 'method': _0x323bb4(_0x15209e._0x281c0a),
1919
- 'headers': { 'Content-Type': _0x323bb4(_0x15209e._0x21f780) },
1546
+ async 'mark_waiting_input'(_0x5a10aa) {
1547
+ const _0x476c66 = _0x3844;
1548
+ if (!_0x783ce3[_0x476c66(_0x1d15da._0x432cbc)] || !_0x783ce3[_0x476c66(_0x1d15da._0x5220cd)])
1549
+ return _0x476c66(_0x1d15da._0xf857d2);
1550
+ const _0x120919 = await fetch(_0x783ce3[_0x476c66(0x1d4)] + '/workers/waiting_input', {
1551
+ 'method': 'POST',
1552
+ 'headers': { 'Content-Type': _0x476c66(_0x1d15da._0x245ccf) },
1920
1553
  'body': JSON['stringify']({
1921
- 'work_key': _0x2cdb7a[_0x323bb4(0x108)],
1922
- 'agent_id': _0x3dc6c3[_0x323bb4(_0x15209e._0x20e806)]
1554
+ 'work_key': _0x5a10aa['work_key'],
1555
+ 'agent_id': _0x783ce3[_0x476c66(_0x1d15da._0x52d8af)]
1923
1556
  })
1924
- }), _0xf9f64d = await _0x1ea85b[_0x323bb4(_0x15209e._0x2f2396)]();
1925
- if (!_0xf9f64d['ok'])
1926
- throw new Error(_0xf9f64d['error'] ?? _0x323bb4(_0x15209e._0x2a956a));
1927
- return _0x323bb4(0x256) + _0x2cdb7a[_0x323bb4(_0x15209e._0x4c982c)] + _0x323bb4(0x18a);
1557
+ }), _0x18fbbf = await _0x120919[_0x476c66(0x1f6)]();
1558
+ if (!_0x18fbbf['ok'])
1559
+ throw new Error(_0x18fbbf[_0x476c66(_0x1d15da._0x5597ef)] ?? _0x476c66(_0x1d15da._0x36967c));
1560
+ return _0x476c66(_0x1d15da._0x1d0814) + _0x5a10aa[_0x476c66(0x24d)] + _0x476c66(0x1bd);
1928
1561
  },
1929
- async 'escalate_to_main'(_0x1738b7) {
1930
- const _0x4909b3 = _0x3431;
1931
- if (!_0x3dc6c3[_0x4909b3(0x148)])
1932
- return 'Worker\x20features\x20not\x20available';
1933
- const _0x1b1b59 = await fetch(_0x3dc6c3[_0x4909b3(0x148)] + _0x4909b3(_0x9abc5d._0x54b1e0), {
1934
- 'method': _0x4909b3(0x205),
1935
- 'headers': { 'Content-Type': 'application/json' },
1936
- 'body': JSON[_0x4909b3(0x115)]({
1937
- 'work_key': _0x1738b7['work_key'],
1938
- 'reason': _0x1738b7[_0x4909b3(0x179)]
1562
+ async 'escalate_to_main'(_0x2626ba) {
1563
+ const _0x5a1297 = _0x3844;
1564
+ if (!_0x783ce3[_0x5a1297(0x1d4)])
1565
+ return _0x5a1297(_0xdd6200._0x561c26);
1566
+ const _0x3b3c86 = await fetch(_0x783ce3['daemonLocalUrl'] + _0x5a1297(0x23c), {
1567
+ 'method': _0x5a1297(0x199),
1568
+ 'headers': { 'Content-Type': _0x5a1297(0x12a) },
1569
+ 'body': JSON[_0x5a1297(_0xdd6200._0x4d57d5)]({
1570
+ 'work_key': _0x2626ba[_0x5a1297(_0xdd6200._0x56c091)],
1571
+ 'reason': _0x2626ba[_0x5a1297(0x127)]
1939
1572
  })
1940
- }), _0x5c25c5 = await _0x1b1b59[_0x4909b3(_0x9abc5d._0x490a17)]();
1941
- if (!_0x5c25c5['ok'])
1942
- throw new Error(_0x5c25c5[_0x4909b3(_0x9abc5d._0x4eab87)] ?? _0x4909b3(_0x9abc5d._0x2d68bf));
1943
- return _0x4909b3(0x274) + _0x1738b7['reason'];
1573
+ }), _0x30b472 = await _0x3b3c86[_0x5a1297(_0xdd6200._0x480e89)]();
1574
+ if (!_0x30b472['ok'])
1575
+ throw new Error(_0x30b472[_0x5a1297(_0xdd6200._0x5ae416)] ?? _0x5a1297(0x22c));
1576
+ return _0x5a1297(_0xdd6200._0xb2b391) + _0x2626ba[_0x5a1297(0x127)];
1944
1577
  }
1945
1578
  };
1946
1579
  }
1947
- function textResult(_0x9697d1, _0x67e99 = ![]) {
1948
- const _0xe9fa08 = _0x6aa24e;
1580
+ function textResult(_0x102a12, _0x378451 = ![]) {
1581
+ const _0x2d91f9 = { _0x1d5bb8: 0x1aa }, _0x460d3c = _0x15d6d8;
1949
1582
  return {
1950
1583
  'content': [{
1951
- 'type': _0xe9fa08(0x1b2),
1952
- 'text': _0x9697d1
1584
+ 'type': _0x460d3c(_0x2d91f9._0x1d5bb8),
1585
+ 'text': _0x102a12
1953
1586
  }],
1954
- ..._0x67e99 ? { 'isError': !![] } : {}
1587
+ ..._0x378451 ? { 'isError': !![] } : {}
1955
1588
  };
1956
1589
  }
1957
- async function registerChatBridgeTools(_0x5654d0, _0x16f095, _0xad895) {
1958
- const _0x3f6c6c = {
1959
- _0x4a0344: 0x194,
1960
- _0x1f8edb: 0x21f,
1961
- _0xb59266: 0x1c1,
1962
- _0x4067fd: 0x267,
1963
- _0x529b47: 0x1ca,
1964
- _0x3858c1: 0x101,
1965
- _0x337702: 0x1a8,
1966
- _0x5afea0: 0x113,
1967
- _0x2a8024: 0x267,
1968
- _0x247ea4: 0x114,
1969
- _0x3f18f8: 0x151,
1970
- _0x4ff2fa: 0x1c1,
1971
- _0x3a5501: 0x257,
1972
- _0x193487: 0x1c1,
1973
- _0x2e0c59: 0x159,
1974
- _0x175ae3: 0x230,
1975
- _0x509662: 0x1ca,
1976
- _0x1f4488: 0x281,
1977
- _0xa95cb3: 0x125,
1978
- _0x15f62f: 0x264,
1979
- _0x56360d: 0x159,
1980
- _0x26b6b0: 0x230,
1981
- _0x4f7e80: 0x112,
1982
- _0x178d71: 0x113,
1983
- _0x15e762: 0x27b,
1984
- _0x326165: 0x1c1,
1985
- _0x9a6899: 0x21a,
1986
- _0x1427be: 0x221,
1987
- _0x1abfa7: 0x197,
1988
- _0x551657: 0x209,
1989
- _0x413166: 0x16d,
1990
- _0x1f387f: 0x196,
1991
- _0x327641: 0x152,
1992
- _0x34930b: 0x1f7,
1993
- _0x206e5c: 0x1c1,
1994
- _0x3754ef: 0x1c1,
1995
- _0x281a0d: 0x1c1,
1996
- _0x1d4273: 0x26c,
1997
- _0x16d01b: 0x1c5,
1998
- _0x3277ee: 0x1c1
1999
- }, _0x4918f3 = {
2000
- _0x1329b1: 0x1c5,
2001
- _0x359a47: 0x24b
2002
- }, _0xc28660 = {
2003
- _0x3318eb: 0x123,
2004
- _0x54eabd: 0x24b,
2005
- _0x56ee37: 0x1bc
2006
- }, _0x995851 = {
2007
- _0x2cc747: 0x137,
2008
- _0x226f7c: 0x1be
2009
- }, _0x2331ab = { _0x3ae404: 0x24b }, _0x5948c8 = {
2010
- _0x37a3b1: 0x209,
2011
- _0x3551dc: 0x253
2012
- }, _0x2334ed = { _0x79d89d: 0x229 }, _0x47fb14 = {
2013
- _0x37bd52: 0x21a,
2014
- _0x5dc439: 0x139
2015
- }, _0x459920 = { _0x10b7f8: 0x203 }, _0x451628 = {
2016
- _0x463a13: 0x112,
2017
- _0x4d717f: 0x169
2018
- }, _0x459390 = { _0x4af86a: 0x24b }, _0x54f46a = { _0x2e1086: 0x24b }, _0x376465 = { _0x28a8a2: 0x151 }, _0x3b6925 = { _0x401a74: 0x27c }, _0x3c0319 = { _0xb74384: 0x1d1 }, _0x215781 = {
2019
- _0x39e242: 0x24b,
2020
- _0x489d85: 0x106
2021
- }, _0x3f1d81 = {
2022
- _0x466a91: 0x21f,
2023
- _0x38acf4: 0x24b,
2024
- _0x14d654: 0x265
2025
- }, _0xb5edc6 = _0x6aa24e, {z: _0x38e391} = await import(_0xb5edc6(_0x3f6c6c._0x4a0344));
2026
- _0x5654d0[_0xb5edc6(0x114)](_0xb5edc6(_0x3f6c6c._0x1f8edb), _0xb5edc6(0x171), {
2027
- 'target': _0x38e391[_0xb5edc6(0x1c1)](),
2028
- 'content': _0x38e391[_0xb5edc6(_0x3f6c6c._0xb59266)](),
2029
- 'attachment_ids': _0x38e391[_0xb5edc6(0x159)](_0x38e391['string']())[_0xb5edc6(_0x3f6c6c._0x4067fd)](),
2030
- 'visibility': _0x38e391[_0xb5edc6(_0x3f6c6c._0x529b47)]([
2031
- _0xb5edc6(_0x3f6c6c._0x3858c1),
1590
+ async function registerChatBridgeTools(_0x2c0a4f, _0x1acf13, _0x2e1d17) {
1591
+ const _0x384acc = {
1592
+ _0x51be69: 0x1d5,
1593
+ _0xa56e21: 0x140,
1594
+ _0x50a13d: 0x217,
1595
+ _0x2f3f83: 0x1d7,
1596
+ _0x4fa223: 0x1d7,
1597
+ _0x3b6a3d: 0x285,
1598
+ _0x59b3b7: 0x15e,
1599
+ _0x11092a: 0x2a4,
1600
+ _0x53dc76: 0x1de,
1601
+ _0x25a79a: 0x124,
1602
+ _0x14e924: 0x1eb,
1603
+ _0x237a1a: 0x15e,
1604
+ _0x39ba14: 0x235,
1605
+ _0x5f26a5: 0x15e,
1606
+ _0x5c72b1: 0x29c,
1607
+ _0x47a94d: 0x182,
1608
+ _0x2141af: 0x15e,
1609
+ _0x4a6e4a: 0x1c3,
1610
+ _0x5a88a7: 0x140,
1611
+ _0x5cd37e: 0x15e,
1612
+ _0xb0077b: 0x20e,
1613
+ _0x521342: 0x16c,
1614
+ _0x5dd328: 0x15e,
1615
+ _0x27e913: 0x1c9,
1616
+ _0x5d44f0: 0x140,
1617
+ _0x2cb6ad: 0x1cc,
1618
+ _0x10a7e4: 0x140,
1619
+ _0x383d96: 0x1db,
1620
+ _0x53f615: 0x260,
1621
+ _0x3f6cfc: 0x1d7,
1622
+ _0x5c15d7: 0x1d0,
1623
+ _0x46165c: 0x1e1,
1624
+ _0x36b6b6: 0x173,
1625
+ _0x490d1c: 0x15a,
1626
+ _0x312220: 0x147,
1627
+ _0x448a61: 0x235,
1628
+ _0xb57de5: 0x140,
1629
+ _0x309b93: 0x235,
1630
+ _0x3961d0: 0x27e,
1631
+ _0xa7a56b: 0x140,
1632
+ _0x4fb54c: 0x1d7,
1633
+ _0x122931: 0x295
1634
+ }, _0x13b04d = { _0x24d0c9: 0x200 }, _0x31442a = { _0x2f8090: 0x22c }, _0x4bb5d0 = {
1635
+ _0x100d01: 0x173,
1636
+ _0x5784b7: 0x134
1637
+ }, _0x17f107 = { _0x11a3cb: 0x1e1 }, _0x5dbbe3 = { _0x3449f8: 0x28c }, _0x4dc651 = {
1638
+ _0x4a41f7: 0x200,
1639
+ _0x1cd2e1: 0x168
1640
+ }, _0x19c879 = {
1641
+ _0x41b495: 0x200,
1642
+ _0xc5a405: 0x1f5
1643
+ }, _0x28efe4 = { _0xc9d9cc: 0x16a }, _0xdc4f45 = {
1644
+ _0x5c88fd: 0x200,
1645
+ _0x2a9069: 0x246
1646
+ }, _0x299cf4 = { _0x5465f9: 0x222 }, _0x520729 = { _0x350146: 0x234 }, _0x1d08a4 = {
1647
+ _0x16efb9: 0x1de,
1648
+ _0x47ac4b: 0x200
1649
+ }, _0x37fc1a = {
1650
+ _0x1407c6: 0x200,
1651
+ _0x4c6009: 0x22f
1652
+ }, _0x579c4f = { _0x3bc9e4: 0x254 }, _0x94f102 = { _0x23643a: 0x251 }, _0x33e4d4 = _0x15d6d8, {z: _0x58654b} = await import(_0x33e4d4(0x1ed));
1653
+ _0x2c0a4f[_0x33e4d4(0x1d7)](_0x33e4d4(0x251), _0x33e4d4(_0x384acc._0x51be69), {
1654
+ 'target': _0x58654b[_0x33e4d4(0x140)](),
1655
+ 'content': _0x58654b[_0x33e4d4(_0x384acc._0xa56e21)](),
1656
+ 'attachment_ids': _0x58654b['array'](_0x58654b[_0x33e4d4(0x140)]())['optional'](),
1657
+ 'visibility': _0x58654b[_0x33e4d4(0x1a1)]([
1658
+ _0x33e4d4(_0x384acc._0x50a13d),
2032
1659
  'aside'
2033
- ])[_0xb5edc6(0x267)]()
2034
- }, async _0xae85ba => {
2035
- const _0x2f3455 = _0xb5edc6;
1660
+ ])[_0x33e4d4(0x15e)]()
1661
+ }, async _0x42b8ca => {
1662
+ const _0x51febf = _0x33e4d4;
2036
1663
  try {
2037
- return textResult(await _0x16f095[_0x2f3455(_0x3f1d81._0x466a91)](_0xae85ba));
2038
- } catch (_0x186538) {
2039
- return textResult(_0x186538 instanceof Error ? _0x186538[_0x2f3455(_0x3f1d81._0x38acf4)] : _0x2f3455(_0x3f1d81._0x14d654), !![]);
1664
+ return textResult(await _0x1acf13[_0x51febf(_0x94f102._0x23643a)](_0x42b8ca));
1665
+ } catch (_0x3581e4) {
1666
+ return textResult(_0x3581e4 instanceof Error ? _0x3581e4['message'] : 'send_message\x20failed', !![]);
2040
1667
  }
2041
- }), _0x5654d0[_0xb5edc6(0x114)](_0xb5edc6(0x13a), _0xb5edc6(0x252), {}, async () => {
2042
- const _0x4c5ed2 = _0xb5edc6;
1668
+ }), _0x2c0a4f[_0x33e4d4(_0x384acc._0x2f3f83)]('check_messages', _0x33e4d4(0x19f), {}, async () => {
1669
+ const _0x4227d9 = _0x33e4d4;
2043
1670
  try {
2044
- return textResult(await _0x16f095[_0x4c5ed2(0x13a)]());
2045
- } catch (_0x5d7172) {
2046
- return textResult(_0x5d7172 instanceof Error ? _0x5d7172[_0x4c5ed2(_0x215781._0x39e242)] : _0x4c5ed2(_0x215781._0x489d85), !![]);
1671
+ return textResult(await _0x1acf13[_0x4227d9(_0x579c4f._0x3bc9e4)]());
1672
+ } catch (_0x8b2e82) {
1673
+ return textResult(_0x8b2e82 instanceof Error ? _0x8b2e82['message'] : 'check_messages\x20failed', !![]);
2047
1674
  }
2048
- }), _0x5654d0['tool'](_0xb5edc6(_0x3f6c6c._0x337702), _0xb5edc6(0x182), {
2049
- 'channel': _0x38e391['string'](),
2050
- 'limit': _0x38e391[_0xb5edc6(0x113)]()[_0xb5edc6(0x267)](),
2051
- 'before': _0x38e391[_0xb5edc6(_0x3f6c6c._0x5afea0)]()['optional'](),
2052
- 'after': _0x38e391['number']()[_0xb5edc6(_0x3f6c6c._0x2a8024)]()
2053
- }, async _0x2caa59 => {
2054
- const _0x1da12b = _0xb5edc6;
1675
+ }), _0x2c0a4f[_0x33e4d4(_0x384acc._0x4fa223)](_0x33e4d4(0x266), _0x33e4d4(_0x384acc._0x3b6a3d), {
1676
+ 'channel': _0x58654b[_0x33e4d4(0x140)](),
1677
+ 'limit': _0x58654b[_0x33e4d4(0x2a4)]()['optional'](),
1678
+ 'before': _0x58654b['number']()[_0x33e4d4(_0x384acc._0x59b3b7)](),
1679
+ 'after': _0x58654b[_0x33e4d4(_0x384acc._0x11092a)]()['optional']()
1680
+ }, async _0x3cc0e2 => {
1681
+ const _0x23b768 = _0x33e4d4;
2055
1682
  try {
2056
- return textResult(await _0x16f095['read_history'](_0x2caa59));
2057
- } catch (_0x56eefd) {
2058
- return textResult(_0x56eefd instanceof Error ? _0x56eefd[_0x1da12b(0x24b)] : _0x1da12b(_0x3c0319._0xb74384), !![]);
1683
+ return textResult(await _0x1acf13[_0x23b768(0x266)](_0x3cc0e2));
1684
+ } catch (_0x3a3a34) {
1685
+ return textResult(_0x3a3a34 instanceof Error ? _0x3a3a34[_0x23b768(_0x37fc1a._0x1407c6)] : _0x23b768(_0x37fc1a._0x4c6009), !![]);
2059
1686
  }
2060
- }), _0x5654d0[_0xb5edc6(0x114)](_0xb5edc6(0x1ae), 'List\x20channels,\x20agents,\x20and\x20humans\x20in\x20the\x20current\x20server.', {}, async () => {
2061
- const _0x295ff5 = _0xb5edc6;
1687
+ }), _0x2c0a4f[_0x33e4d4(0x1d7)](_0x33e4d4(_0x384acc._0x53dc76), _0x33e4d4(_0x384acc._0x25a79a), {}, async () => {
1688
+ const _0x55d42a = _0x33e4d4;
2062
1689
  try {
2063
- return textResult(await _0x16f095['list_server']());
2064
- } catch (_0x569667) {
2065
- return textResult(_0x569667 instanceof Error ? _0x569667['message'] : _0x295ff5(_0x3b6925._0x401a74), !![]);
1690
+ return textResult(await _0x1acf13[_0x55d42a(_0x1d08a4._0x16efb9)]());
1691
+ } catch (_0x1d4af9) {
1692
+ return textResult(_0x1d4af9 instanceof Error ? _0x1d4af9[_0x55d42a(_0x1d08a4._0x47ac4b)] : _0x55d42a(0x20b), !![]);
2066
1693
  }
2067
- }), _0x5654d0[_0xb5edc6(_0x3f6c6c._0x247ea4)](_0xb5edc6(_0x3f6c6c._0x3f18f8), 'List\x20tasks\x20in\x20a\x20channel.', {
2068
- 'channel': _0x38e391[_0xb5edc6(_0x3f6c6c._0x4ff2fa)](),
2069
- 'status': _0x38e391['enum']([
2070
- _0xb5edc6(_0x3f6c6c._0x3a5501),
2071
- 'in_progress',
2072
- _0xb5edc6(0x269),
2073
- _0xb5edc6(0x11b)
1694
+ }), _0x2c0a4f[_0x33e4d4(0x1d7)](_0x33e4d4(_0x384acc._0x14e924), _0x33e4d4(0x1ce), {
1695
+ 'channel': _0x58654b[_0x33e4d4(0x140)](),
1696
+ 'status': _0x58654b[_0x33e4d4(0x1a1)]([
1697
+ 'todo',
1698
+ _0x33e4d4(0x1cc),
1699
+ _0x33e4d4(0x175),
1700
+ _0x33e4d4(0x291)
2074
1701
  ])['optional']()
2075
- }, async _0x9f251a => {
2076
- const _0x24885b = _0xb5edc6;
1702
+ }, async _0x513ecb => {
1703
+ const _0x23aee5 = _0x33e4d4;
2077
1704
  try {
2078
- return textResult(await _0x16f095[_0x24885b(_0x376465._0x28a8a2)](_0x9f251a));
2079
- } catch (_0x2889a3) {
2080
- return textResult(_0x2889a3 instanceof Error ? _0x2889a3[_0x24885b(0x24b)] : _0x24885b(0x154), !![]);
1705
+ return textResult(await _0x1acf13[_0x23aee5(0x1eb)](_0x513ecb));
1706
+ } catch (_0x47472b) {
1707
+ return textResult(_0x47472b instanceof Error ? _0x47472b[_0x23aee5(0x200)] : _0x23aee5(_0x520729._0x350146), !![]);
2081
1708
  }
2082
- }), _0x5654d0[_0xb5edc6(_0x3f6c6c._0x247ea4)](_0xb5edc6(0x173), _0xb5edc6(0x260), {
2083
- 'channel': _0x38e391[_0xb5edc6(_0x3f6c6c._0x193487)](),
2084
- 'idempotency_key': _0x38e391['string']()['optional'](),
2085
- 'tasks': _0x38e391[_0xb5edc6(_0x3f6c6c._0x2e0c59)](_0x38e391[_0xb5edc6(_0x3f6c6c._0x175ae3)]({
2086
- 'title': _0x38e391[_0xb5edc6(0x1c1)](),
2087
- 'description': _0x38e391[_0xb5edc6(0x1c1)]()[_0xb5edc6(0x267)](),
2088
- 'priority': _0x38e391[_0xb5edc6(_0x3f6c6c._0x509662)]([
2089
- _0xb5edc6(_0x3f6c6c._0x1f4488),
2090
- 'medium',
2091
- _0xb5edc6(_0x3f6c6c._0xa95cb3),
2092
- _0xb5edc6(_0x3f6c6c._0x15f62f)
2093
- ])['optional']()
1709
+ }), _0x2c0a4f['tool'](_0x33e4d4(0x222), _0x33e4d4(0x18f), {
1710
+ 'channel': _0x58654b[_0x33e4d4(0x140)](),
1711
+ 'idempotency_key': _0x58654b['string']()[_0x33e4d4(_0x384acc._0x237a1a)](),
1712
+ 'tasks': _0x58654b[_0x33e4d4(_0x384acc._0x39ba14)](_0x58654b['object']({
1713
+ 'title': _0x58654b[_0x33e4d4(_0x384acc._0xa56e21)](),
1714
+ 'description': _0x58654b[_0x33e4d4(0x140)]()[_0x33e4d4(_0x384acc._0x5f26a5)](),
1715
+ 'priority': _0x58654b['enum']([
1716
+ 'low',
1717
+ _0x33e4d4(_0x384acc._0x5c72b1),
1718
+ 'high',
1719
+ _0x33e4d4(_0x384acc._0x47a94d)
1720
+ ])[_0x33e4d4(_0x384acc._0x2141af)]()
2094
1721
  }))
2095
- }, async _0x560627 => {
2096
- const _0x4680be = _0xb5edc6;
1722
+ }, async _0x28fb6b => {
1723
+ const _0x569bbe = _0x33e4d4;
2097
1724
  try {
2098
- return textResult(await _0x16f095[_0x4680be(0x173)](_0x560627));
2099
- } catch (_0x34228e) {
2100
- return textResult(_0x34228e instanceof Error ? _0x34228e[_0x4680be(_0x54f46a._0x2e1086)] : _0x4680be(0x13d), !![]);
1725
+ return textResult(await _0x1acf13[_0x569bbe(_0x299cf4._0x5465f9)](_0x28fb6b));
1726
+ } catch (_0x10e1f8) {
1727
+ return textResult(_0x10e1f8 instanceof Error ? _0x10e1f8['message'] : _0x569bbe(0x282), !![]);
2101
1728
  }
2102
- }), _0x5654d0[_0xb5edc6(_0x3f6c6c._0x247ea4)](_0xb5edc6(0xfd), _0xb5edc6(0x15c), {
2103
- 'channel': _0x38e391[_0xb5edc6(0x1c1)](),
2104
- 'task_numbers': _0x38e391[_0xb5edc6(_0x3f6c6c._0x56360d)](_0x38e391[_0xb5edc6(0x113)]())[_0xb5edc6(0x267)](),
2105
- 'message_ids': _0x38e391[_0xb5edc6(0x159)](_0x38e391[_0xb5edc6(0x1c1)]())[_0xb5edc6(_0x3f6c6c._0x4067fd)](),
2106
- 'evidence': _0x38e391['record'](_0x38e391[_0xb5edc6(0x1c1)](), _0x38e391[_0xb5edc6(_0x3f6c6c._0x26b6b0)]({
2107
- 'create_thread': _0x38e391['unknown']()['optional'](),
2108
- 'create_task': _0x38e391[_0xb5edc6(0x1b6)]()[_0xb5edc6(0x267)]()
2109
- }))['optional'](),
2110
- 'idempotency_key': _0x38e391['string']()['optional']()
2111
- }, async _0x1241fa => {
2112
- const _0x6405fb = _0xb5edc6;
1729
+ }), _0x2c0a4f[_0x33e4d4(0x1d7)](_0x33e4d4(_0x384acc._0x4a6e4a), _0x33e4d4(0x16b), {
1730
+ 'channel': _0x58654b[_0x33e4d4(_0x384acc._0x5a88a7)](),
1731
+ 'task_numbers': _0x58654b[_0x33e4d4(0x235)](_0x58654b[_0x33e4d4(0x2a4)]())[_0x33e4d4(_0x384acc._0x5cd37e)](),
1732
+ 'message_ids': _0x58654b[_0x33e4d4(0x235)](_0x58654b[_0x33e4d4(0x140)]())[_0x33e4d4(_0x384acc._0x5cd37e)](),
1733
+ 'evidence': _0x58654b['record'](_0x58654b[_0x33e4d4(0x140)](), _0x58654b[_0x33e4d4(_0x384acc._0xb0077b)]({
1734
+ 'create_thread': _0x58654b[_0x33e4d4(_0x384acc._0x521342)]()[_0x33e4d4(_0x384acc._0x5dd328)](),
1735
+ 'create_task': _0x58654b[_0x33e4d4(0x16c)]()[_0x33e4d4(0x15e)]()
1736
+ }))[_0x33e4d4(0x15e)](),
1737
+ 'idempotency_key': _0x58654b[_0x33e4d4(0x140)]()[_0x33e4d4(0x15e)]()
1738
+ }, async _0x5e0476 => {
1739
+ const _0x5857b0 = _0x33e4d4;
2113
1740
  try {
2114
- return textResult(await _0x16f095[_0x6405fb(0xfd)](_0x1241fa));
2115
- } catch (_0x3876e4) {
2116
- return textResult(_0x3876e4 instanceof Error ? _0x3876e4[_0x6405fb(_0x459390._0x4af86a)] : _0x6405fb(0x1f4), !![]);
1741
+ return textResult(await _0x1acf13['claim_tasks'](_0x5e0476));
1742
+ } catch (_0x127630) {
1743
+ return textResult(_0x127630 instanceof Error ? _0x127630[_0x5857b0(_0xdc4f45._0x5c88fd)] : _0x5857b0(_0xdc4f45._0x2a9069), !![]);
2117
1744
  }
2118
- }), _0x5654d0[_0xb5edc6(_0x3f6c6c._0x247ea4)](_0xb5edc6(_0x3f6c6c._0x4f7e80), _0xb5edc6(0x135), {
2119
- 'channel': _0x38e391[_0xb5edc6(_0x3f6c6c._0xb59266)](),
2120
- 'task_number': _0x38e391[_0xb5edc6(_0x3f6c6c._0x5afea0)](),
2121
- 'idempotency_key': _0x38e391[_0xb5edc6(_0x3f6c6c._0x193487)]()['optional']()
2122
- }, async _0x47b683 => {
2123
- const _0x41bd79 = _0xb5edc6;
1745
+ }), _0x2c0a4f[_0x33e4d4(0x1d7)](_0x33e4d4(0x16a), 'Release\x20a\x20claimed\x20task\x20by\x20channel\x20and\x20task\x20number.', {
1746
+ 'channel': _0x58654b[_0x33e4d4(_0x384acc._0x5a88a7)](),
1747
+ 'task_number': _0x58654b[_0x33e4d4(0x2a4)](),
1748
+ 'idempotency_key': _0x58654b[_0x33e4d4(0x140)]()[_0x33e4d4(_0x384acc._0x2141af)]()
1749
+ }, async _0x46bfd6 => {
1750
+ const _0x248c72 = _0x33e4d4;
2124
1751
  try {
2125
- return textResult(await _0x16f095[_0x41bd79(_0x451628._0x463a13)](_0x47b683));
2126
- } catch (_0xe459fc) {
2127
- return textResult(_0xe459fc instanceof Error ? _0xe459fc['message'] : _0x41bd79(_0x451628._0x4d717f), !![]);
1752
+ return textResult(await _0x1acf13[_0x248c72(_0x28efe4._0xc9d9cc)](_0x46bfd6));
1753
+ } catch (_0x1e2652) {
1754
+ return textResult(_0x1e2652 instanceof Error ? _0x1e2652[_0x248c72(0x200)] : _0x248c72(0x298), !![]);
2128
1755
  }
2129
- }), _0x5654d0['tool']('update_task_status', 'Update\x20task\x20status\x20by\x20channel\x20and\x20task\x20number.', {
2130
- 'channel': _0x38e391['string'](),
2131
- 'task_number': _0x38e391[_0xb5edc6(_0x3f6c6c._0x178d71)](),
2132
- 'status': _0x38e391[_0xb5edc6(0x1ca)]([
2133
- 'todo',
2134
- _0xb5edc6(_0x3f6c6c._0x15e762),
2135
- _0xb5edc6(0x269),
2136
- 'done'
1756
+ }), _0x2c0a4f[_0x33e4d4(_0x384acc._0x4fa223)](_0x33e4d4(_0x384acc._0x27e913), _0x33e4d4(0x192), {
1757
+ 'channel': _0x58654b[_0x33e4d4(_0x384acc._0x5d44f0)](),
1758
+ 'task_number': _0x58654b[_0x33e4d4(_0x384acc._0x11092a)](),
1759
+ 'status': _0x58654b['enum']([
1760
+ _0x33e4d4(0x1fc),
1761
+ _0x33e4d4(_0x384acc._0x2cb6ad),
1762
+ _0x33e4d4(0x175),
1763
+ _0x33e4d4(0x291)
2137
1764
  ]),
2138
- 'idempotency_key': _0x38e391[_0xb5edc6(_0x3f6c6c._0x326165)]()[_0xb5edc6(0x267)]()
2139
- }, async _0xe0eb47 => {
2140
- const _0x1005fa = _0xb5edc6;
1765
+ 'idempotency_key': _0x58654b[_0x33e4d4(_0x384acc._0x5a88a7)]()['optional']()
1766
+ }, async _0x9f868 => {
1767
+ const _0x9f5cad = _0x33e4d4;
2141
1768
  try {
2142
- return textResult(await _0x16f095[_0x1005fa(0x255)](_0xe0eb47));
2143
- } catch (_0x4163cb) {
2144
- return textResult(_0x4163cb instanceof Error ? _0x4163cb[_0x1005fa(0x24b)] : _0x1005fa(_0x459920._0x10b7f8), !![]);
1769
+ return textResult(await _0x1acf13[_0x9f5cad(0x1c9)](_0x9f868));
1770
+ } catch (_0x470e9b) {
1771
+ return textResult(_0x470e9b instanceof Error ? _0x470e9b[_0x9f5cad(_0x19c879._0x41b495)] : _0x9f5cad(_0x19c879._0xc5a405), !![]);
2145
1772
  }
2146
- }), _0x5654d0['tool'](_0xb5edc6(_0x3f6c6c._0x9a6899), _0xb5edc6(0x279), {
2147
- 'channel': _0x38e391[_0xb5edc6(_0x3f6c6c._0x326165)](),
2148
- 'file_path': _0x38e391['string']()
2149
- }, async _0x36092d => {
2150
- const _0x45ee61 = _0xb5edc6;
1773
+ }), _0x2c0a4f[_0x33e4d4(0x1d7)]('upload_file', _0x33e4d4(0x166), {
1774
+ 'channel': _0x58654b[_0x33e4d4(_0x384acc._0xa56e21)](),
1775
+ 'file_path': _0x58654b[_0x33e4d4(_0x384acc._0x10a7e4)]()
1776
+ }, async _0x318b2a => {
1777
+ const _0x16ad5a = _0x33e4d4;
2151
1778
  try {
2152
- return textResult(await _0x16f095[_0x45ee61(_0x47fb14._0x37bd52)](_0x36092d));
2153
- } catch (_0x8f0e3) {
2154
- return textResult(_0x8f0e3 instanceof Error ? _0x8f0e3['message'] : _0x45ee61(_0x47fb14._0x5dc439), !![]);
1779
+ return textResult(await _0x1acf13[_0x16ad5a(0x1e8)](_0x318b2a));
1780
+ } catch (_0x204209) {
1781
+ return textResult(_0x204209 instanceof Error ? _0x204209['message'] : _0x16ad5a(0x299), !![]);
2155
1782
  }
2156
- }), _0x5654d0['tool'](_0xb5edc6(_0x3f6c6c._0x1427be), _0xb5edc6(_0x3f6c6c._0x1abfa7), { 'attachment_id': _0x38e391[_0xb5edc6(0x1c1)]() }, async _0x3395fd => {
2157
- const _0x2edc8c = _0xb5edc6;
1783
+ }), _0x2c0a4f['tool'](_0x33e4d4(_0x384acc._0x383d96), _0x33e4d4(_0x384acc._0x53f615), { 'attachment_id': _0x58654b['string']() }, async _0x56f547 => {
1784
+ const _0xa1c9f1 = _0x33e4d4;
2158
1785
  try {
2159
- return textResult(await _0x16f095['view_file'](_0x3395fd));
2160
- } catch (_0x1fa905) {
2161
- return textResult(_0x1fa905 instanceof Error ? _0x1fa905[_0x2edc8c(0x24b)] : _0x2edc8c(_0x2334ed._0x79d89d), !![]);
1786
+ return textResult(await _0x1acf13[_0xa1c9f1(0x1db)](_0x56f547));
1787
+ } catch (_0x3e7418) {
1788
+ return textResult(_0x3e7418 instanceof Error ? _0x3e7418[_0xa1c9f1(_0x4dc651._0x4a41f7)] : _0xa1c9f1(_0x4dc651._0x1cd2e1), !![]);
2162
1789
  }
2163
- }), _0x5654d0[_0xb5edc6(0x114)](_0xb5edc6(_0x3f6c6c._0x551657), _0xb5edc6(_0x3f6c6c._0x413166), { 'work_key': _0x38e391['string']() }, async _0x341662 => {
2164
- const _0x168145 = _0xb5edc6;
1790
+ }), _0x2c0a4f[_0x33e4d4(_0x384acc._0x3f6cfc)](_0x33e4d4(0x28c), _0x33e4d4(_0x384acc._0x5c15d7), { 'work_key': _0x58654b['string']() }, async _0xfa660a => {
1791
+ const _0x615eb0 = _0x33e4d4;
2165
1792
  try {
2166
- return textResult(await _0x16f095[_0x168145(_0x5948c8._0x37a3b1)](_0x341662));
2167
- } catch (_0x3bc0b0) {
2168
- return textResult(_0x3bc0b0 instanceof Error ? _0x3bc0b0['message'] : _0x168145(_0x5948c8._0x3551dc), !![]);
1793
+ return textResult(await _0x1acf13[_0x615eb0(_0x5dbbe3._0x3449f8)](_0xfa660a));
1794
+ } catch (_0x322694) {
1795
+ return textResult(_0x322694 instanceof Error ? _0x322694[_0x615eb0(0x200)] : 'get_worker_status\x20failed', !![]);
2169
1796
  }
2170
- }), _0x5654d0['tool'](_0xb5edc6(_0x3f6c6c._0x1f387f), 'Retrieve\x20the\x20result\x20(resume\x20packet)\x20of\x20a\x20completed\x20worker.', { 'work_key': _0x38e391[_0xb5edc6(0x1c1)]() }, async _0xdafcd1 => {
2171
- const _0x180f44 = _0xb5edc6;
1797
+ }), _0x2c0a4f[_0x33e4d4(0x1d7)](_0x33e4d4(_0x384acc._0x46165c), _0x33e4d4(0x1e6), { 'work_key': _0x58654b[_0x33e4d4(0x140)]() }, async _0xfde60a => {
1798
+ const _0x2be5f7 = _0x33e4d4;
2172
1799
  try {
2173
- return textResult(await _0x16f095['get_worker_result'](_0xdafcd1));
2174
- } catch (_0x161d2b) {
2175
- return textResult(_0x161d2b instanceof Error ? _0x161d2b[_0x180f44(_0x2331ab._0x3ae404)] : 'get_worker_result\x20failed', !![]);
1800
+ return textResult(await _0x1acf13[_0x2be5f7(_0x17f107._0x11a3cb)](_0xfde60a));
1801
+ } catch (_0x3e3e9f) {
1802
+ return textResult(_0x3e3e9f instanceof Error ? _0x3e3e9f['message'] : 'get_worker_result\x20failed', !![]);
2176
1803
  }
2177
- }), _0x5654d0[_0xb5edc6(0x114)](_0xb5edc6(0x137), _0xb5edc6(0x22c), {
2178
- 'work_key': _0x38e391['string'](),
2179
- 'result': _0x38e391[_0xb5edc6(0x1ca)]([
2180
- _0xb5edc6(_0x3f6c6c._0x327641),
2181
- _0xb5edc6(_0x3f6c6c._0x34930b),
2182
- _0xb5edc6(0x20e)
1804
+ }), _0x2c0a4f[_0x33e4d4(_0x384acc._0x4fa223)](_0x33e4d4(_0x384acc._0x36b6b6), _0x33e4d4(_0x384acc._0x490d1c), {
1805
+ 'work_key': _0x58654b[_0x33e4d4(0x140)](),
1806
+ 'result': _0x58654b['enum']([
1807
+ _0x33e4d4(0x15c),
1808
+ _0x33e4d4(0x162),
1809
+ _0x33e4d4(_0x384acc._0x312220)
2183
1810
  ]),
2184
- 'summary': _0x38e391[_0xb5edc6(_0x3f6c6c._0x206e5c)](),
2185
- 'decisions': _0x38e391['array'](_0x38e391['string']())['optional'](),
2186
- 'files_changed': _0x38e391['array'](_0x38e391[_0xb5edc6(_0x3f6c6c._0x3754ef)]())[_0xb5edc6(0x267)](),
2187
- 'open_issues': _0x38e391['array'](_0x38e391[_0xb5edc6(0x1c1)]())[_0xb5edc6(0x267)](),
2188
- 'next_steps': _0x38e391[_0xb5edc6(0x159)](_0x38e391[_0xb5edc6(_0x3f6c6c._0x281a0d)]())[_0xb5edc6(0x267)]()
2189
- }, async _0xf1efed => {
2190
- const _0x3d4a83 = _0xb5edc6;
1811
+ 'summary': _0x58654b[_0x33e4d4(0x140)](),
1812
+ 'decisions': _0x58654b[_0x33e4d4(0x235)](_0x58654b[_0x33e4d4(0x140)]())[_0x33e4d4(0x15e)](),
1813
+ 'files_changed': _0x58654b[_0x33e4d4(_0x384acc._0x39ba14)](_0x58654b[_0x33e4d4(_0x384acc._0x5a88a7)]())[_0x33e4d4(0x15e)](),
1814
+ 'open_issues': _0x58654b[_0x33e4d4(_0x384acc._0x448a61)](_0x58654b[_0x33e4d4(_0x384acc._0xb57de5)]())[_0x33e4d4(0x15e)](),
1815
+ 'next_steps': _0x58654b[_0x33e4d4(_0x384acc._0x309b93)](_0x58654b['string']())['optional']()
1816
+ }, async _0x3f4c52 => {
1817
+ const _0x1e5ca0 = _0x33e4d4;
2191
1818
  try {
2192
- return textResult(await _0x16f095[_0x3d4a83(_0x995851._0x2cc747)](_0xf1efed));
2193
- } catch (_0x4070fb) {
2194
- return textResult(_0x4070fb instanceof Error ? _0x4070fb[_0x3d4a83(0x24b)] : _0x3d4a83(_0x995851._0x226f7c), !![]);
1819
+ return textResult(await _0x1acf13[_0x1e5ca0(_0x4bb5d0._0x100d01)](_0x3f4c52));
1820
+ } catch (_0x12e88b) {
1821
+ return textResult(_0x12e88b instanceof Error ? _0x12e88b['message'] : _0x1e5ca0(_0x4bb5d0._0x5784b7), !![]);
2195
1822
  }
2196
- }), _0x5654d0[_0xb5edc6(_0x3f6c6c._0x247ea4)](_0xb5edc6(0x123), 'Escalate\x20an\x20issue\x20to\x20the\x20main\x20agent\x20session.\x20Use\x20when\x20the\x20worker\x20cannot\x20resolve\x20a\x20problem\x20alone\x20and\x20needs\x20main\x20to\x20intervene.', {
2197
- 'work_key': _0x38e391[_0xb5edc6(0x1c1)](),
2198
- 'reason': _0x38e391['string']()
2199
- }, async _0x3ab6ca => {
2200
- const _0x3000ef = _0xb5edc6;
1823
+ }), _0x2c0a4f[_0x33e4d4(0x1d7)](_0x33e4d4(_0x384acc._0x3961d0), 'Escalate\x20an\x20issue\x20to\x20the\x20main\x20agent\x20session.\x20Use\x20when\x20the\x20worker\x20cannot\x20resolve\x20a\x20problem\x20alone\x20and\x20needs\x20main\x20to\x20intervene.', {
1824
+ 'work_key': _0x58654b[_0x33e4d4(_0x384acc._0xb57de5)](),
1825
+ 'reason': _0x58654b[_0x33e4d4(_0x384acc._0xa7a56b)]()
1826
+ }, async _0x884e6e => {
1827
+ const _0xde809e = _0x33e4d4;
2201
1828
  try {
2202
- return textResult(await _0x16f095[_0x3000ef(_0xc28660._0x3318eb)](_0x3ab6ca));
2203
- } catch (_0x82362a) {
2204
- return textResult(_0x82362a instanceof Error ? _0x82362a[_0x3000ef(_0xc28660._0x54eabd)] : _0x3000ef(_0xc28660._0x56ee37), !![]);
1829
+ return textResult(await _0x1acf13['escalate_to_main'](_0x884e6e));
1830
+ } catch (_0x55a6d2) {
1831
+ return textResult(_0x55a6d2 instanceof Error ? _0x55a6d2[_0xde809e(0x200)] : _0xde809e(_0x31442a._0x2f8090), !![]);
2205
1832
  }
2206
- }), _0xad895?.[_0xb5edc6(_0x3f6c6c._0x1d4273)] && _0x5654d0[_0xb5edc6(0x114)](_0xb5edc6(_0x3f6c6c._0x16d01b), _0xb5edc6(0x1c4), { 'work_key': _0x38e391[_0xb5edc6(_0x3f6c6c._0x3277ee)]() }, async _0x508106 => {
2207
- const _0x332c2d = _0xb5edc6;
1833
+ }), _0x2e1d17?.['workerMode'] && _0x2c0a4f[_0x33e4d4(_0x384acc._0x4fb54c)](_0x33e4d4(0x29d), _0x33e4d4(_0x384acc._0x122931), { 'work_key': _0x58654b[_0x33e4d4(_0x384acc._0x5d44f0)]() }, async _0x1453cc => {
1834
+ const _0x364fdd = _0x33e4d4;
2208
1835
  try {
2209
- return textResult(await _0x16f095[_0x332c2d(_0x4918f3._0x1329b1)](_0x508106));
2210
- } catch (_0x571d19) {
2211
- return textResult(_0x571d19 instanceof Error ? _0x571d19[_0x332c2d(_0x4918f3._0x359a47)] : 'mark_waiting_input\x20failed', !![]);
1836
+ return textResult(await _0x1acf13['mark_waiting_input'](_0x1453cc));
1837
+ } catch (_0x993bc6) {
1838
+ return textResult(_0x993bc6 instanceof Error ? _0x993bc6[_0x364fdd(_0x13b04d._0x24d0c9)] : _0x364fdd(0x122), !![]);
2212
1839
  }
2213
1840
  });
2214
1841
  }
2215
- async function createChatBridgeServer(_0x137477) {
2216
- const _0x77f7b0 = {
2217
- _0x1a5484: 0x27a,
2218
- _0x3f95b5: 0x26c
2219
- }, _0x4c16b4 = _0x6aa24e, {McpServer: _0x4d3e4c} = await import('@modelcontextprotocol/sdk/server/mcp.js'), _0x499ff9 = new _0x4d3e4c({
2220
- 'name': _0x4c16b4(_0x77f7b0._0x1a5484),
2221
- 'version': '0.0.0'
2222
- }), _0x2debf6 = createChatBridgeHandlers(_0x137477);
2223
- return await registerChatBridgeTools(_0x499ff9, _0x2debf6, { 'workerMode': _0x137477[_0x4c16b4(_0x77f7b0._0x3f95b5)] }), {
2224
- 'handlers': _0x2debf6,
2225
- 'server': _0x499ff9
1842
+ async function createChatBridgeServer(_0x3bab65) {
1843
+ const _0x44402d = { _0x5477a2: 0x1d8 }, _0x6619e7 = _0x15d6d8, {McpServer: _0x30c9db} = await import(_0x6619e7(_0x44402d._0x5477a2)), _0x423a32 = new _0x30c9db({
1844
+ 'name': _0x6619e7(0x157),
1845
+ 'version': _0x6619e7(0x249)
1846
+ }), _0x36997f = createChatBridgeHandlers(_0x3bab65);
1847
+ return await registerChatBridgeTools(_0x423a32, _0x36997f, { 'workerMode': _0x3bab65[_0x6619e7(0x19a)] }), {
1848
+ 'handlers': _0x36997f,
1849
+ 'server': _0x423a32
2226
1850
  };
2227
1851
  }
2228
- function readFlag(_0x15a9af, _0x402e5a) {
2229
- const _0x5804d1 = _0x15a9af['indexOf'](_0x402e5a);
2230
- if (_0x5804d1 === -0x1)
1852
+ function readFlag(_0x305340, _0x5a20e9) {
1853
+ const _0x14e4df = { _0x12b5ec: 0x1f2 }, _0x2364d3 = _0x15d6d8, _0x49ae2f = _0x305340[_0x2364d3(_0x14e4df._0x12b5ec)](_0x5a20e9);
1854
+ if (_0x49ae2f === -0x1)
2231
1855
  return void 0x0;
2232
- return _0x15a9af[_0x5804d1 + 0x1];
1856
+ return _0x305340[_0x49ae2f + 0x1];
2233
1857
  }
2234
- function parseChatBridgeArgs(_0x22c7e1) {
2235
- const _0x423713 = {
2236
- _0x5826fc: 0x25e,
2237
- _0x27a7cd: 0x198,
2238
- _0x2b5a08: 0x11a,
2239
- _0x5c0647: 0x1ff,
2240
- _0x7e24c: 0x10f,
2241
- _0x397c5c: 0x214,
2242
- _0x246b16: 0x1f8,
2243
- _0x245d30: 0x111
2244
- }, _0x5c788f = _0x6aa24e, _0x8debd0 = readFlag(_0x22c7e1, _0x5c788f(0x1aa)), _0x2ceb23 = readFlag(_0x22c7e1, _0x5c788f(_0x423713._0x5826fc)), _0x1ef798 = readFlag(_0x22c7e1, _0x5c788f(0x201)), _0x1eff94 = readFlag(_0x22c7e1, _0x5c788f(_0x423713._0x27a7cd)) ?? 'http://localhost:8121', _0x246e0f = readFlag(_0x22c7e1, _0x5c788f(_0x423713._0x2b5a08)), _0x1d3c39 = readFlag(_0x22c7e1, _0x5c788f(_0x423713._0x5c0647)), _0x34946a = readFlag(_0x22c7e1, _0x5c788f(0x1cb)), _0xa8393b = readFlag(_0x22c7e1, _0x5c788f(0x10e)), _0x453d95 = readFlag(_0x22c7e1, _0x5c788f(0x122)), _0x316a4e = _0x22c7e1[_0x5c788f(_0x423713._0x7e24c)](_0x5c788f(0x259)), _0x24439f = _0x1ef798 === void 0x0 ? void 0x0 : Number['parseInt'](_0x1ef798, 0xa);
2245
- if (!_0x8debd0)
2246
- throw new Error(_0x5c788f(_0x423713._0x397c5c));
2247
- if (!_0x2ceb23)
2248
- throw new Error(_0x5c788f(0x26a));
2249
- if (_0x1ef798 !== void 0x0 && (_0x24439f === void 0x0 || !Number[_0x5c788f(_0x423713._0x246b16)](_0x24439f) || _0x24439f < 0x0))
2250
- throw new Error(_0x5c788f(0x161));
1858
+ function parseChatBridgeArgs(_0x3a68d2) {
1859
+ const _0x4af55b = {
1860
+ _0x44483f: 0x1f7,
1861
+ _0x5c1a01: 0x1e4,
1862
+ _0x22db9d: 0x135,
1863
+ _0x55c423: 0x281,
1864
+ _0x187f08: 0x256,
1865
+ _0x27dd05: 0x237
1866
+ }, _0x49e93d = _0x15d6d8, _0x254323 = readFlag(_0x3a68d2, _0x49e93d(0x28e)), _0x2aee04 = readFlag(_0x3a68d2, _0x49e93d(_0x4af55b._0x44483f)), _0x5f53f6 = readFlag(_0x3a68d2, _0x49e93d(0x296)), _0x118169 = readFlag(_0x3a68d2, _0x49e93d(0x21a)) ?? _0x49e93d(_0x4af55b._0x5c1a01), _0xae2c11 = readFlag(_0x3a68d2, '--daemon-local-url'), _0x365ebc = readFlag(_0x3a68d2, '--session-id'), _0x5a53bd = readFlag(_0x3a68d2, _0x49e93d(0x1ac)), _0x3ec9e7 = readFlag(_0x3a68d2, _0x49e93d(0x1df)), _0x25f8e1 = readFlag(_0x3a68d2, '--worker-thread-target'), _0x5b540f = _0x3a68d2[_0x49e93d(_0x4af55b._0x22db9d)]('--worker-mode'), _0x415c1c = _0x5f53f6 === void 0x0 ? void 0x0 : Number[_0x49e93d(_0x4af55b._0x55c423)](_0x5f53f6, 0xa);
1867
+ if (!_0x254323)
1868
+ throw new Error(_0x49e93d(0x14f));
1869
+ if (!_0x2aee04)
1870
+ throw new Error(_0x49e93d(_0x4af55b._0x187f08));
1871
+ if (_0x5f53f6 !== void 0x0 && (_0x415c1c === void 0x0 || !Number[_0x49e93d(_0x4af55b._0x27dd05)](_0x415c1c) || _0x415c1c < 0x0))
1872
+ throw new Error(_0x49e93d(0x1ae));
2251
1873
  return {
2252
- 'agentId': _0x8debd0,
2253
- 'daemonApiKey': _0x2ceb23,
2254
- 'daemonLocalUrl': _0x246e0f,
2255
- 'initialLastSeenSeq': _0x24439f,
2256
- 'sessionId': _0x1d3c39,
2257
- 'serverUrl': _0x1eff94,
2258
- 'workerModeEnabled': _0x34946a === void 0x0 ? void 0x0 : _0x34946a !== _0x5c788f(_0x423713._0x245d30),
2259
- 'workerSessionId': _0xa8393b,
2260
- 'workerThreadTarget': _0x453d95,
2261
- 'workerMode': _0x316a4e
1874
+ 'agentId': _0x254323,
1875
+ 'daemonApiKey': _0x2aee04,
1876
+ 'daemonLocalUrl': _0xae2c11,
1877
+ 'initialLastSeenSeq': _0x415c1c,
1878
+ 'sessionId': _0x365ebc,
1879
+ 'serverUrl': _0x118169,
1880
+ 'workerModeEnabled': _0x5a53bd === void 0x0 ? void 0x0 : _0x5a53bd !== _0x49e93d(0x1c2),
1881
+ 'workerSessionId': _0x3ec9e7,
1882
+ 'workerThreadTarget': _0x25f8e1,
1883
+ 'workerMode': _0x5b540f
2262
1884
  };
2263
1885
  }
2264
- async function runChatBridgeCli(_0x2a3e85) {
2265
- const _0x459e46 = {
2266
- _0x33335e: 0x148,
2267
- _0x2d2b90: 0x1b5
2268
- }, _0x352c7f = _0x6aa24e, _0x305e83 = parseChatBridgeArgs(_0x2a3e85), {StdioServerTransport: _0x4ca15a} = await import(_0x352c7f(0x21c)), _0x57f6f1 = createInternalAgentClient(_0x305e83), _0x12c85a = createAttachmentCache(), _0x2b95d5 = await createChatBridgeServer({
2269
- 'agentId': _0x305e83['agentId'],
2270
- 'attachmentCache': _0x12c85a,
2271
- 'client': _0x57f6f1,
2272
- 'daemonLocalUrl': _0x305e83[_0x352c7f(_0x459e46._0x33335e)],
1886
+ async function runChatBridgeCli(_0x2b9b0a) {
1887
+ const _0x36dca9 = { _0x1c145e: 0x17d }, _0x3d3a98 = _0x15d6d8, _0x20fccd = parseChatBridgeArgs(_0x2b9b0a), {StdioServerTransport: _0x3569e9} = await import(_0x3d3a98(_0x36dca9._0x1c145e)), _0x26264e = createInternalAgentClient(_0x20fccd), _0x555850 = createAttachmentCache(), _0x229ddb = await createChatBridgeServer({
1888
+ 'agentId': _0x20fccd['agentId'],
1889
+ 'attachmentCache': _0x555850,
1890
+ 'client': _0x26264e,
1891
+ 'daemonLocalUrl': _0x20fccd[_0x3d3a98(0x1d4)],
2273
1892
  'uploadPreparer': prepareUploadFile,
2274
- 'workerModeEnabled': _0x305e83[_0x352c7f(0x109)],
2275
- 'workerMode': _0x305e83[_0x352c7f(0x26c)]
1893
+ 'workerModeEnabled': _0x20fccd['workerModeEnabled'],
1894
+ 'workerMode': _0x20fccd['workerMode']
2276
1895
  });
2277
- await _0x2b95d5[_0x352c7f(_0x459e46._0x2d2b90)][_0x352c7f(0x17f)](new _0x4ca15a());
1896
+ await _0x229ddb['server'][_0x3d3a98(0x1be)](new _0x3569e9());
2278
1897
  }
2279
- var executedAsEntry = process[_0x6aa24e(0x13e)][0x1] ? import.meta.url === pathToFileURL(process['argv'][0x1])[_0x6aa24e(0x243)] : ![];
2280
- executedAsEntry && await runChatBridgeCli(process[_0x6aa24e(0x13e)][_0x6aa24e(0x177)](0x2));
1898
+ var executedAsEntry = process[_0x15d6d8(0x1a6)][0x1] ? import.meta.url === pathToFileURL(process[_0x15d6d8(0x1a6)][0x1])[_0x15d6d8(0x280)] : ![];
1899
+ executedAsEntry && await runChatBridgeCli(process[_0x15d6d8(0x1a6)][_0x15d6d8(0x263)](0x2));
2281
1900
  export {
2282
1901
  createChatBridgeHandlers,
2283
1902
  createChatBridgeServer,
@@ -2285,3 +1904,404 @@ export {
2285
1904
  parseChatBridgeArgs,
2286
1905
  runChatBridgeCli
2287
1906
  };
1907
+ function _0x4199() {
1908
+ const _0xb40cad = [
1909
+ 'yM9KEvrLEhq',
1910
+ 'l3DVCMTLCNmVzxnJywXHDgu',
1911
+ 'Dgv4Dc9WBgfPBG',
1912
+ 'igv4zwn1DgLVBK1Vzgu9D29YA2vY',
1913
+ 'y29UDgvUDa',
1914
+ 'rMLSzsb1CgXVywrLzdOG',
1915
+ 'DxbSB2fKx2zPBguGB25SEsbZDxbWB3j0CYbJAgfUBMvSig9YiernihrHCMDLDhmSig5VDcb0AhjLywqGDgfYz2v0CW',
1916
+ 'l3rHC2TZ',
1917
+ 'yM9KEu1HCMTKB3DU',
1918
+ 'Aw1Hz2uVz2LM',
1919
+ 'DgfZA0rLBgL2zxj5tw9Kzq',
1920
+ 'y2XHAw1FDgfZA3mGzMfPBgvK',
1921
+ 'yxjYyxLcDwzMzxi',
1922
+ 'AgfZ',
1923
+ 'mc4WlJa',
1924
+ 'DMLZAwjPBgL0Eq',
1925
+ 'DgHYzwfKtNvTyMvY',
1926
+ 't3jPz2LUywWGBwvZC2fNztOG',
1927
+ 'D29YA19RzxK',
1928
+ 'r0vu',
1929
+ 'C2vUzgvYtMfTzq',
1930
+ 'CNvUswq',
1931
+ 'C2vUzf9TzxnZywDL',
1932
+ 'CMvZDwX0sNnVBG',
1933
+ 'CMvZDwX0',
1934
+ 'y2HLy2TFBwvZC2fNzxm',
1935
+ 'zw50zxiTAgfUzg9MzIbMywLSzwq',
1936
+ 'twLZC2LUzYaTlwrHzw1VBI1HCgKTA2v5',
1937
+ 'D29YA2vY',
1938
+ 'zg06',
1939
+ 'zg0T',
1940
+ 'l2nVBNrLBNq',
1941
+ 'iIbMAw5PC2HLzcb3AxrOihjLC3vSDdOG',
1942
+ 'uM9VDcb0yxnRig1LC3nHz2uGAwq6ia',
1943
+ 'yMvMB3jL',
1944
+ 'Dg9ju09tDhjPBMC',
1945
+ 'CgfYC2u',
1946
+ 'rg93BMXVywqGyw4Gyxr0ywnOBwvUDcb0BYb0AguGBg9JywWGy2fJAguGyw5KihjLDhvYBIb0AguGBg9JywWGCgf0Ac4',
1947
+ 'zxHLy3v0Aw9Utw9Kzt0',
1948
+ 'Aw5PDgLHBeXHC3rtzwvUu2vX',
1949
+ 'C2XPy2u',
1950
+ 'xsbaC3LZDgvToIbBy2XHAw0TAgfUzg9MzL0G',
1951
+ 'DxnLCG',
1952
+ 'CMvHzf9OAxn0B3j5',
1953
+ 'C2L6zuj5DgvZ',
1954
+ 'y2HHBM5LBa',
1955
+ 'DhjPBq',
1956
+ 'lNnSB2nR',
1957
+ 'ywz0zxi',
1958
+ 'C3rVCe1HAw49Dhj1zq',
1959
+ 'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmV',
1960
+ 'yxv0BZO',
1961
+ 'C3rVCe1HAw4',
1962
+ 'l3DVCMTLCNmVzMLUAxnO',
1963
+ 'l3rHC2TZpW',
1964
+ 'ig1LC3nHz2u9',
1965
+ 'mJC0ndKXCNjHugXd',
1966
+ 'tM8GCMvZDwX0ihLLDcbMB3iGD29YA2vYici',
1967
+ 'DxbKyxrL',
1968
+ 'rxnJywXHDgLVBIbZzw50ihrVig1HAw4GywDLBNqUifjLyxnVBJOG',
1969
+ 'l3rHC2TZl2nSywLT',
1970
+ 'ignSywLTzwq',
1971
+ 'uefuq0G',
1972
+ 'CMvWBgfJzq',
1973
+ 'iYmJiefNzw50CW',
1974
+ 'icGWig1LC3nHz2vZkqOktM8GBwvZC2fNzxmGAw4GDgHPCYbJAgfUBMvSlG',
1975
+ 'zxH0BMfTzq',
1976
+ 'zxnJywXHDgvFDg9FBwfPBG',
1977
+ 'C3rHDhvZ',
1978
+ 'AhjLzG',
1979
+ 'CgfYC2vjBNq',
1980
+ 'y3jLyxrLx3rHC2TZigzHAwXLza',
1981
+ 'sfruuca',
1982
+ 'D29YA2vYsgfUzg9MzG',
1983
+ 'uMvHzcbTzxnZywDLigHPC3rVCNKGzM9YigeGy2HHBM5LBcWGre0Sig9YihrOCMvHzcb0yxjNzxqU',
1984
+ 'AwrLBxbVDgvUy3LFA2v5',
1985
+ 'z2v0rNvSBfLLyxi',
1986
+ 'y2XPzw50',
1987
+ 'y3vYC29Y',
1988
+ 'CNvUBMLUzW',
1989
+ 'DgHYzwfKswq',
1990
+ 'z2v0x3DVCMTLCL9ZDgf0Dxm',
1991
+ 'D29YA2vYtw9KzuvUywjSzwq',
1992
+ 'ls1Hz2vUDc1Pza',
1993
+ 'CMvZDw1Lx3bHy2TLDa',
1994
+ 'l3DVCMTLCNmVBgLZDd9Hz2vUDf9Pzd0',
1995
+ 'zg9Uzq',
1996
+ 'ihr5Cgu9ywDLBNq',
1997
+ 'D29YA2vYsgfUzg9MzJ10CNvL',
1998
+ 'AhvTyw4',
1999
+ 'twfYAYb0AguGy3vYCMvUDcb3B3jRzxiGyxmGD2fPDgLUzYbMB3iGAhvTyw4GAw5WDxqUifbHDxnLCYb0AguGAwrSzsbuveWGDgLTzxiGDw50AwWGysbUzxCGBwvZC2fNzsbHCNjPDMvZlG',
2000
+ 'ls1PBML0AwfSlwXHC3qTC2vLBI1Zzxe',
2001
+ 'Bwf4rMLSzvnPEMvcExrLCW',
2002
+ 'Dw5JBgfPBv90yxnRigzHAwXLza',
2003
+ 'DxbSB2fKx2zPBguGzMfPBgvK',
2004
+ 'Ahr0CdO',
2005
+ 'lIbnzxnZywDLieLeoIa',
2006
+ 'BwvKAxvT',
2007
+ 'BwfYA193ywL0Aw5Nx2LUChv0',
2008
+ 'CgfYDgLJAxbHBNq',
2009
+ 'C2nOzwr1BgvKrM9Y',
2010
+ 'yxr0ywnOBwvUDf9Pzhm',
2011
+ 'yxr0ywnOBwvUDhm',
2012
+ 'DgfZAY0',
2013
+ 'mtfMyNz4q1y',
2014
+ 'BNvTyMvY',
2015
+ 'DgfZAW',
2016
+ 'lsba',
2017
+ 'zMv0y2HuAw1LB3v0txm',
2018
+ 'BgLZDfnLCNzLCG',
2019
+ 'ihrPBwu9',
2020
+ 'l2zPBMLZAa',
2021
+ 'BwfYA193ywL0Aw5Nx2LUChv0igzHAwXLza',
2022
+ 'l2nVBNrLEhqTBwv0CMLJCW',
2023
+ 'tgLZDcbJAgfUBMvSCYWGywDLBNrZlcbHBMqGAhvTyw5ZigLUihrOzsbJDxjYzw50ihnLCNzLCI4',
2024
+ 'rg93BMXVywrLzcb0BZOG',
2025
+ 'zMLUzenHy2HLzfbHDgG',
2026
+ 'CMvHC29U',
2027
+ 'z2v0u2vJB25KCW',
2028
+ 'B3bLBL9PC3n1zxm',
2029
+ 'yxbWBgLJyxrPB24VANnVBG',
2030
+ 'BMv4Den1CNnVCG',
2031
+ 'l3vWBg9Hza',
2032
+ 'Bwf4',
2033
+ 'ChvZAa',
2034
+ 'twvZC2fNzsbZzw50ihrVia',
2035
+ 'BMfTzq',
2036
+ 'tM8GDgfZA3mGy2XHAw1Lzc4',
2037
+ 'DgL0Bgu',
2038
+ 'DgfZA0LK',
2039
+ 'zMLUAxnOx3DVCMTLCIbMywLSzwq',
2040
+ 'Aw5JBhvKzxm',
2041
+ 'C29YDa',
2042
+ 'icHPzdO',
2043
+ 'CxvLDwvK',
2044
+ 'l3DVCMTLCNmVC3rHDhvZp3DVCMTFA2v5pq',
2045
+ 'Dgv4Dc9JC3y',
2046
+ 'DgHYzwfKu2HVCNrjza',
2047
+ 'y3jLyxrLzef0',
2048
+ 'zgvZy3jPChrPB24',
2049
+ 'yxr0ywnOBwvUDeLK',
2050
+ 'yxr0ywnOBwvUDf9Pza',
2051
+ 'C3rYAw5N',
2052
+ 'B3jPz2LUywXgAwXLBMfTzq',
2053
+ 'D29YA2vYsgfUzg9MzKvYCM9Y',
2054
+ 'l2fWAs9Hz2vUDc1ZzxnZAw9UCY8',
2055
+ 'ig1LC3nHz2vZihnOB3DUlIbvC2uGyMvMB3jLpq',
2056
+ 'Agv4',
2057
+ 'zg93BMXVywrbDhrHy2HTzw50',
2058
+ 'zMfPBgvK',
2059
+ 'DgHYzwfK',
2060
+ 'ywz0zxjtzxe',
2061
+ 'C3rHCNrLza',
2062
+ 'C3rYAw5NAwz5',
2063
+ 'cGPvC2uGDgHPCYbjrcbPBIbZzw5Kx21LC3nHz2uNCYbHDhrHy2HTzw50x2LKCYbWyxjHBwv0zxiGDg8GAw5JBhvKzsbPDcbPBIbHig1LC3nHz2uU',
2064
+ 'ywDLBNrZ',
2065
+ 'yxbWBgLJyxrPB24VCgrM',
2066
+ 'twLZC2LUzYaTlwfNzw50lwLK',
2067
+ 'ntjwtNjHyxm',
2068
+ 'y29UDgvUDfr5Cgu',
2069
+ 'CMvZCg9UC2u',
2070
+ 'zgf0yq',
2071
+ 'uMvHzcb0AhjLywqGAgLZDg9YEsbIzwzVCMuGDgfRAw5NigfJDgLVBI4Grg8GBM90igvJAg8GDgHPCYbTzxnZywDLihrVihrOzsb0AhjLywqU',
2072
+ 'ywrK',
2073
+ 'C2LNBMfS',
2074
+ 'y2HHDa',
2075
+ 'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxm',
2076
+ 'CgfYDgLJAxbHBNrjza',
2077
+ 'u2LNBMfSihrOyxqGDgHLign1CNjLBNqGD29YA2vYihnLC3nPB24GAxmGzMLUAxnOzwqGyw5KihbYB3zPzguGysbYzxn1BhqGC3vTBwfYEs4',
2078
+ 'ywDLBNrjza',
2079
+ 'y29TCgXLDgvK',
2080
+ 'AM9PBG',
2081
+ 'B3b0Aw9UywW',
2082
+ 'ig1LC3nHz2vZkqOk',
2083
+ 'lMjPBG',
2084
+ 'C2HHmJu2',
2085
+ 'yMXVy2TLza',
2086
+ 'y2HHBM5LBhm',
2087
+ 'yMfZzw5HBwu',
2088
+ 'y2HLy2TnzxnZywDLCW',
2089
+ 'vxbSB2fKigeGBg9JywWGzMLSzsb0BYbHignOyw5UzwWGB3iGre0Gyw5KihjLDhvYBIbHBIbHDhrHy2HTzw50ieLeihrOyxqGy2fUigjLihvZzwqGD2L0AcbZzw5Kx21LC3nHz2uUifrOCMvHzcb0yxjNzxrZigfYzsbUB3qGywXSB3DLzc4',
2090
+ 's0iPcKf0DgfJAg1LBNqGsuq6ia',
2091
+ 'DMLLD19MAwXLigzHAwXLza',
2092
+ 'CMvXDwvZDfvYBa',
2093
+ 'Dw5JBgfPBv90yxnR',
2094
+ 'q2XHAw0GDgfZA3mGAw4GysbJAgfUBMvSigj5ihrHC2SGBNvTyMvYig9YihnVDxjJzsbTzxnZywDLlG',
2095
+ 'Dw5RBM93BG',
2096
+ 'DgfZA051BwjLCG',
2097
+ 'iokaLcb1C2uGDMLLD19MAwXLihrVihnLzv0',
2098
+ 'CgfKu3rHCNq',
2099
+ 'zgvZDhjVEwvK',
2100
+ 'ywDLBNq',
2101
+ 'uM9VDcb0yxnRig1LC3nHz2u6cG',
2102
+ 'zMLUAxnOx3DVCMTLCG',
2103
+ 'DgfYz2v0zwq',
2104
+ 'Aw5FCMv2Awv3',
2105
+ 'l3DVCMTLCNmVzgvSAxzLCG',
2106
+ 'yxr0ywnOBwvUDenHy2HL',
2107
+ 'ig1ZzZ1Oyw5KB2zMihrPBwu9',
2108
+ 'z2v0twLUDxrLCW',
2109
+ 'zgfLBw9UqxbPs2v5',
2110
+ 'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBgu',
2111
+ 'l3nLCNzLCG',
2112
+ 'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVC3rKAw8UANm',
2113
+ 'D29YA2vYx3nLC3nPB25FAwq',
2114
+ 'A2LUza',
2115
+ 'z2v0sg91CNm',
2116
+ 'DgHYzwfKx3rHCMDLDa',
2117
+ 'DxjNzw50',
2118
+ 'zgvJAxnPB25Z',
2119
+ 'DgvZDa',
2120
+ 'y2HHBM5LBfrHCMDLDa',
2121
+ 'nJHUBwHHCgC',
2122
+ 'tM8GDgfZA3mGy3jLyxrLzc4',
2123
+ 'Bwf0y2Hoyw1Ltg93zxi',
2124
+ 'CMvHzeHPC3rVCNK',
2125
+ 'CM9VDe1LC3nHz2vjza',
2126
+ 'v29YA2vYigzLyxr1CMvZig5VDcbHDMfPBgfIBguGkgrHzw1VBIbSB2nHBcbvuKWGB3iGywDLBNqGsuqGBM90ignVBMzPz3vYzwqP',
2127
+ 'BM93',
2128
+ 'iYmJienOyw5UzwXZ',
2129
+ 'Ahr0Chm6',
2130
+ 'q3jLyxrLig9UzsbVCIbTB3jLihrHC2TZigLUigeGy2HHBM5LBc4',
2131
+ 'BgvUz3rO',
2132
+ 'AxnjBNrLz2vY',
2133
+ 'vxbKyxrLihrHC2SGC3rHDhvZigj5ignOyw5UzwWGyw5KihrHC2SGBNvTyMvYlG',
2134
+ 'l2fWAs9HDhrHy2HTzw50CY8',
2135
+ 'D29YA2vYCW',
2136
+ 'kg5VBMuP',
2137
+ 'ywXS',
2138
+ 'C3bSAxq',
2139
+ 'y2f0y2G',
2140
+ 'ue9tva',
2141
+ 'D29YA2vYtw9Kzq',
2142
+ 'y29UDgvUDc10ExbL',
2143
+ 'v29YA2vYia',
2144
+ 'Aw1Hz2uVC3zNk3HTBa',
2145
+ 'D29YA2vYrgLZCg9ZAxrPB24',
2146
+ 'q2HLy2SGzM9Yig5LDYbTzxnZywDLCYb3AxrOB3v0ihDHAxrPBMCU',
2147
+ 'mte1me5owNPTtG',
2148
+ 'zw51Bq',
2149
+ 'D3nZoG',
2150
+ 'Aw1Hz2uVANbLzW',
2151
+ 'yxbWBgLJyxrPB24VB2n0zxqTC3rYzwfT',
2152
+ 'DgHYzwfKvgfYz2v0pq',
2153
+ 'yxjNDG',
2154
+ 'zMLSDgvY',
2155
+ 'l3DVCMTLCNmVy29UDgv4Dc1TzxrYAwnZ',
2156
+ 'vgHYzwfKihrHCMDLDdOG',
2157
+ 'Dgv4Da',
2158
+ 'yxr0ywnOBwvUDeLKCW',
2159
+ 'ls13B3jRzxiTBw9Kzs1LBMfIBgvK',
2160
+ 'tM8GDgfZA3mGzM91BMqU',
2161
+ 'sw52ywXPzcaTlwLUAxrPywWTBgfZDc1ZzwvUlxnLCq',
2162
+ 'AgvHzgvYCW',
2163
+ 'v29YA2vYici',
2164
+ 'BMv4Df9ZDgvWCW',
2165
+ 'Dg9mB3DLCKnHC2u',
2166
+ 'kgXLz2fJEsK',
2167
+ 'ywjVCNq',
2168
+ 'C2L6zq',
2169
+ 'zMLSzw5HBwu',
2170
+ 'z2v0vgLTzq',
2171
+ 'ndi5nZG1nK5oCeTPvW',
2172
+ 'y2fJAgveAxi',
2173
+ 'D29YA2vYu2vZC2LVBKLK',
2174
+ 'zgLZCg9ZAxrPB24',
2175
+ 'Dg9gAxHLza',
2176
+ 'iIbTyxjRzwqGyxmGD2fPDgLUz19PBNb1Dc4GvfrmihrPBwvYihbHDxnLzcb1BNrPBcbUzxH0ig1LC3nHz2uGyxjYAxzLCY4',
2177
+ 'y29UBMvJDa',
2178
+ 'ihrVigXVywqGB2XKzxiGBwvZC2fNzxmUic0Tlq',
2179
+ 'Bwf0y2Hoyw1L',
2180
+ 'CMvZDwX0CW',
2181
+ 'zMfSC2u',
2182
+ 'y2XHAw1FDgfZA3m',
2183
+ 'Aw1Hz2uVD2vICa',
2184
+ 'zxjYB3i',
2185
+ 'zM9Yy2vszwzYzxnO',
2186
+ 'C3vTBwfYEq',
2187
+ 'Bwv0yq',
2188
+ 'DxbKyxrLx3rHC2TFC3rHDhvZ',
2189
+ 'D29YA2vYsgfUzg9MzJ1MywXZzsbLCNjVCJ0',
2190
+ 'DgfYz2v0zwruyxnR',
2191
+ 'Aw5FChjVz3jLC3m',
2192
+ 'BwLU',
2193
+ 'tgLZDcb0yxnRCYbPBIbHignOyw5UzwWU',
2194
+ 'l2LUDgvYBMfSl2fNzw50lW',
2195
+ 'q2HLy2SGDgHLign1CNjLBNqGC3rHDhvZig9MigeGC3bHD25Lzcb3B3jRzxiGyNKGAxrZihDVCMSGA2v5lG',
2196
+ 'l3jLC29SDMuTy2HHBM5LBa',
2197
+ 'AhvTyw5Z',
2198
+ 'C2vX',
2199
+ 'zgfLBw9Utg9JywXvCMW',
2200
+ 'u2vUzcbHig1LC3nHz2uGDg8GysbJAgfUBMvSig9YiernlIbszxvZzsb0AguGzxHHy3qGDgfYz2v0ihn0CMLUzYbMCM9TigLUy29TAw5Nig1LC3nHz2vZoYb0AhjLywqGDgfYz2v0CYb1C2uGDgHLihnHBwuGzMLLBgqU',
2201
+ 'Bg9JywXLq29TCgfYzq',
2202
+ 'Dg9VBa',
2203
+ 'qg1VzgvSy29UDgv4DhbYB3rVy29Sl3nKAY9Zzxj2zxiVBwnWlMPZ',
2204
+ 'l2HPC3rVCNK/',
2205
+ 'l3nLBMq',
2206
+ 'DMLLD19MAwXL',
2207
+ 'khvUA25VD24P',
2208
+ 'rMLSzsbUB3qGzM91BMq6ia',
2209
+ 'BgLZDf9Zzxj2zxi',
2210
+ 'ls13B3jRzxiTC2vZC2LVBI1Pza',
2211
+ 'Cgf5Bg9HzePZB24',
2212
+ 'z2v0x3DVCMTLCL9Yzxn1Bhq',
2213
+ 'odiWota1m3nUBxD2qq',
2214
+ 'y3jLyxrLvgfZA3m',
2215
+ 'Ahr0CdOVl2XVy2fSAg9ZDdO4mtiX',
2216
+ 'C2v0',
2217
+ 'uMv0CMLLDMuGDgHLihjLC3vSDcaOCMvZDw1LihbHy2TLDcKGB2yGysbJB21WBgv0zwqGD29YA2vYlG',
2218
+ 'DxrMoa',
2219
+ 'DxbSB2fKx2zPBgu',
2220
+ 'mJCXodK4oxHwvLbyqq',
2221
+ 'zNjVBq',
2222
+ 'BgLZDf90yxnRCW',
2223
+ 'DMfSDwu',
2224
+ 'EM9K',
2225
+ 'Dg9mB2nHBgvmB3DLCKnHC2u',
2226
+ 'zxHWAxjLC0f0',
2227
+ 'zxHLy3v0Aw9Utw9Kzq',
2228
+ 'DgfZA19Pza',
2229
+ 'Aw5KzxHpzG',
2230
+ 'iJOGC3rHDhvZpq',
2231
+ 'pgvTChr5pG',
2232
+ 'DxbKyxrLx3rHC2TFC3rHDhvZigzHAwXLza',
2233
+ 'ANnVBG',
2234
+ 'ls1KywvTB24TyxbPlwTLEq',
2235
+ 'y2HHBM5LBe5HBwu',
2236
+ 'Dg9tDhjPBMC',
2237
+ 'lsaJ',
2238
+ 'mtuXmtbYwhj3B0O',
2239
+ 'Dg9KBW',
2240
+ 'y2HHBM5LBeLK',
2241
+ 'DgfYz2v0',
2242
+ 'C2vUzgvYvhLWzq',
2243
+ 'BwvZC2fNzq',
2244
+ 'ig1ZzZ0',
2245
+ 'D29YA2vYrgLZCg9ZAxrPB249',
2246
+ 'l3rHC2TZl3vWzgf0zs1ZDgf0Dxm',
2247
+ 'lcbJB250zw50lxr5Cgu9',
2248
+ 'odC3mNHSDuP1ta',
2249
+ 'BwvTyMvYCW',
2250
+ 'vw5ZDxbWB3j0zwqGDgfYz2v0igzVCM1HDc4Gu3vWCg9YDgvKihzHBhvLCYbHCMuGi2nOyw5UzwWSigrToMrTltXUyw1LpIWGyw5KihrOzwLYihrOCMvHzcb0yxjNzxrZlG',
2251
+ 'BwfW',
2252
+ 'zxzLBNrtzxe',
2253
+ 'D29YA2vYvgHYzwfKvgfYz2v0',
2254
+ 'BgLZDf9Zzxj2zxiGzMfPBgvK',
2255
+ 'nduWndC2ntbWuKLOD04',
2256
+ 'BwvZC2fNzxm',
2257
+ 'B2jQzwn0',
2258
+ 'C29Tzq',
2259
+ 'l3DVCMTLCNmVCMvZDwX0p3DVCMTFA2v5pq',
2260
+ 'ihn0yxr1CZ0',
2261
+ 'BwvZC2fNzuLK',
2262
+ 'w3rHCMDLDd0',
2263
+ 'BgLTAxq',
2264
+ 'C3rHCNrZv2L0Aa',
2265
+ 'igzHAwXLzdOG',
2266
+ 'ChvIBgLJ',
2267
+ 'z2v0',
2268
+ 'AgfZtw9Yzq',
2269
+ 'ls1Zzxj2zxiTDxjS',
2270
+ 'rMLSzsbZAxPLigv4y2vLzhmGBgLTAxq6ia',
2271
+ 'C2vYDMvYtMfTzq',
2272
+ 'iYmGtwvZC2fNzsbiAxn0B3j5igzVCIa',
2273
+ 'zMLUza',
2274
+ 'Axnoyu4',
2275
+ 'DxbSB2fKuhjLCgfYzxi',
2276
+ 'ywrKrxzLBNrmAxn0zw5LCG',
2277
+ 'y3jLyxrLx3rHC2TZ',
2278
+ 'zMLSzxnFy2HHBMDLza',
2279
+ 'C2vYDMvY',
2280
+ 'igf0DgfJAg1LBNq',
2281
+ 'ywDNCMvNyxrLswq',
2282
+ 'C3vJy2vZCW',
2283
+ 'C2vUzgvYugfYDgLJAxbHBNrjza',
2284
+ 'xsba',
2285
+ '77Yj44cc6l+z6ycA5BI46kgO56s6ihnLCNzLCLvYBcdMJiFLKjhKUOyGD2vIioERMEEcUE+8JoAiLUs7O+EqHUAYOEACIEAkIIbKywvTB24VAw50zxjUywWGqvbjioI9RowpKEwiSowqJUERR+oaGG',
2286
+ '6k+35Rgcia',
2287
+ 'zxnJywXHDgvFDg9FBwfPBIbMywLSzwq',
2288
+ 'l2fWAs9PBNrLCM5HBc9Zy2HLzhvSzxmVy2XHAw0',
2289
+ 'ChjVDg9JB2W',
2290
+ 'CMvHzf9OAxn0B3j5igzHAwXLza',
2291
+ 'yMfZzty0',
2292
+ 'iokaLca',
2293
+ 'ywDNCMvNyxrLvhLWzq',
2294
+ 'DgHYzwfKvgfYz2v0',
2295
+ 'BgLZDf90yxnRCYbMywLSzwq',
2296
+ 'yxjYyxK',
2297
+ 'DgfZA3m',
2298
+ 'AxngAw5PDgu',
2299
+ 'q29UDgLUDwuGzxHLy3v0Aw9UigLUihrOAxmGDgHYzwfKlIbvC2uGCMvHzf9OAxn0B3j5igLMihLVDsbUzwvKig1VCMuGy29UDgv4Dc4',
2300
+ 'vgfZAZOG',
2301
+ 'zw50CMLLCW'
2302
+ ];
2303
+ _0x4199 = function () {
2304
+ return _0xb40cad;
2305
+ };
2306
+ return _0x4199();
2307
+ }