@iflyrpa/actions 1.2.11-beta.2 → 1.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -9,1110 +9,6 @@ import * as __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__ from "@iflyrpa/s
9
9
  import * as __WEBPACK_EXTERNAL_MODULE_form_data_cf000082__ from "form-data";
10
10
  import * as __WEBPACK_EXTERNAL_MODULE_node_buffer_fb286294__ from "node:buffer";
11
11
  import * as __WEBPACK_EXTERNAL_MODULE_node_crypto_9ba42079__ from "node:crypto";
12
- var __webpack_modules__ = {
13
- "./src/utils/ttABEncrypt.js": function(module, __unused_webpack_exports, __webpack_require__) {
14
- module = __webpack_require__.nmd(module);
15
- const a0_0x45db08 = a0_0x4b0d;
16
- function a0_0x4b0d(_0x2bd218, _0x316d6) {
17
- const _0x165410 = a0_0x1654();
18
- return a0_0x4b0d = function(_0x4b0d73, _0x5794db) {
19
- _0x4b0d73 -= 0x84;
20
- let _0x1859e3 = _0x165410[_0x4b0d73];
21
- return _0x1859e3;
22
- }, a0_0x4b0d(_0x2bd218, _0x316d6);
23
- }
24
- (function(_0x1b2596, _0x16c0e0) {
25
- const _0x1227f1 = a0_0x4b0d, _0x46fb59 = _0x1b2596();
26
- while(true)try {
27
- const _0x383dd4 = parseInt(_0x1227f1(0x85)) / 0x1 + -parseInt(_0x1227f1(0xb0)) / 0x2 * (-parseInt(_0x1227f1(0x9b)) / 0x3) + parseInt(_0x1227f1(0xaa)) / 0x4 + -parseInt(_0x1227f1(0xa0)) / 0x5 * (parseInt(_0x1227f1(0x9d)) / 0x6) + parseInt(_0x1227f1(0x86)) / 0x7 + -parseInt(_0x1227f1(0xab)) / 0x8 * (parseInt(_0x1227f1(0x8d)) / 0x9) + parseInt(_0x1227f1(0x91)) / 0xa;
28
- if (_0x383dd4 === _0x16c0e0) break;
29
- _0x46fb59['push'](_0x46fb59['shift']());
30
- } catch (_0x4fc071) {
31
- _0x46fb59['push'](_0x46fb59['shift']());
32
- }
33
- })(a0_0x1654, 0x807f8);
34
- const Random = Math['random'](), Ts = Date['now'](), Sm3DoneTs = Ts + 0x30, xhrParaDoneTs = Ts + 0x109, xhrReqDoneTs = Ts + 0x10af0;
35
- function a0_0x1654() {
36
- const _0x46e031 = [
37
- 'floor',
38
- 'dhzx',
39
- 'map',
40
- '_compress',
41
- 'charCodeAt',
42
- 'min',
43
- 'invalid\x20j\x20for\x20constant\x20Tj',
44
- 'reset',
45
- '662|856|1920|977|1920|977|1920|1080|Linux\x20x86_64',
46
- '6GqxJwW',
47
- 'error',
48
- '1578UVUSyW',
49
- 'fromCharCode',
50
- 'replace',
51
- '17445vhaSjq',
52
- 'isNaN',
53
- 'toString',
54
- 'push',
55
- 'length',
56
- 'write',
57
- 'reduce',
58
- 'charAt',
59
- 'reg',
60
- 'split',
61
- '2475936ufrFMu',
62
- '2137592VTpBSF',
63
- 'join',
64
- 'Dkdpgh2ZmsQB80/MfvV36XI1R45-WUAlEixNLwoqYTOPuzKFjJnry79HbGcaStCe',
65
- 'exports',
66
- 'fmUmtNjj1OfTrR716RULEyQaLPrOG1jpZz0/4Tyzr7/IbcOXs8PxVxHmrAIsIMm6IfTserj+JgCbPHUssUmedGKwCrIziubgSU0FT1MmqPOZXcPDGB3xUyq+vaM7HZyYgJtKyMR=',
67
- '48064qVwnFy',
68
- 'concat',
69
- 'prototype',
70
- '167524mhzzJE',
71
- '5968354Oyyfma',
72
- 'chunk',
73
- 'string',
74
- 'forEach',
75
- 'size',
76
- 'slice',
77
- 'sort',
78
- '9BjSPrC',
79
- 'sum',
80
- 'repeat',
81
- 'splice',
82
- '239400JtRPVl'
83
- ];
84
- a0_0x1654 = function() {
85
- return _0x46e031;
86
- };
87
- return a0_0x1654();
88
- }
89
- class SM3Hasher {
90
- constructor(){
91
- const _0x468533 = a0_0x4b0d;
92
- this[_0x468533(0xa8)] = new Array(0x8), this[_0x468533(0x87)] = [], this[_0x468533(0x8a)] = 0x0, this[_0x468533(0x99)]();
93
- }
94
- [a0_0x45db08(0x99)]() {
95
- const _0x11e792 = a0_0x45db08;
96
- this[_0x11e792(0xa8)][0x0] = 0x7380166f, this[_0x11e792(0xa8)][0x1] = 0x4914b2b9, this['reg'][0x2] = 0x172442d7, this[_0x11e792(0xa8)][0x3] = 0xda8a0600, this['reg'][0x4] = 0xa96f30bc, this[_0x11e792(0xa8)][0x5] = 0x163138aa, this[_0x11e792(0xa8)][0x6] = 0xe38dee4d, this[_0x11e792(0xa8)][0x7] = 0xb0fb0e4e, this[_0x11e792(0x87)] = [], this[_0x11e792(0x8a)] = 0x0;
97
- }
98
- [a0_0x45db08(0xa5)](_0x22d1ef) {
99
- const _0x182388 = a0_0x45db08;
100
- var _0x2ded18 = _0x182388(0x88) == typeof _0x22d1ef ? function(_0x5e491d) {
101
- const _0x12d911 = _0x182388;
102
- var _0x5795ab = encodeURIComponent(_0x5e491d)[_0x12d911(0x9f)](/%([0-9A-F]{2})/g, function(_0x22d98b, _0x5659da) {
103
- const _0x357908 = _0x12d911;
104
- return String[_0x357908(0x9e)]('0x' + _0x5659da);
105
- }), _0x5c0d1c = new Array(_0x5795ab['length']);
106
- return Array[_0x12d911(0x84)][_0x12d911(0x89)]['call'](_0x5795ab, function(_0x2e8583, _0x28f42f) {
107
- const _0x4b2a85 = _0x12d911;
108
- _0x5c0d1c[_0x28f42f] = _0x2e8583[_0x4b2a85(0x96)](0x0);
109
- }), _0x5c0d1c;
110
- }(_0x22d1ef) : _0x22d1ef;
111
- this['size'] += _0x2ded18['length'];
112
- var _0xffe4ea = 0x40 - this[_0x182388(0x87)][_0x182388(0xa4)];
113
- if (_0x2ded18[_0x182388(0xa4)] < _0xffe4ea) this['chunk'] = this[_0x182388(0x87)][_0x182388(0xb1)](_0x2ded18);
114
- else for(this['chunk'] = this[_0x182388(0x87)][_0x182388(0xb1)](_0x2ded18[_0x182388(0x8b)](0x0, _0xffe4ea)); this[_0x182388(0x87)]['length'] >= 0x40;)this['_compress'](this[_0x182388(0x87)]), _0xffe4ea < _0x2ded18[_0x182388(0xa4)] ? this['chunk'] = _0x2ded18[_0x182388(0x8b)](_0xffe4ea, Math[_0x182388(0x97)](_0xffe4ea + 0x40, _0x2ded18['length'])) : this[_0x182388(0x87)] = [], _0xffe4ea += 0x40;
115
- }
116
- [a0_0x45db08(0x8e)](_0x34ff8d, _0xecf9f6) {
117
- const _0x3ddb20 = a0_0x45db08;
118
- _0x34ff8d && (this[_0x3ddb20(0x99)](), this[_0x3ddb20(0xa5)](_0x34ff8d)), this['_fill']();
119
- for(var _0x28ac8a = 0x0; _0x28ac8a < this[_0x3ddb20(0x87)][_0x3ddb20(0xa4)]; _0x28ac8a += 0x40)this[_0x3ddb20(0x95)](this[_0x3ddb20(0x87)]['slice'](_0x28ac8a, _0x28ac8a + 0x40));
120
- var _0x117621, _0x335539, _0x450e58, _0x5b1ad8 = null;
121
- if ('hex' == _0xecf9f6) {
122
- _0x5b1ad8 = '';
123
- for(_0x28ac8a = 0x0; _0x28ac8a < 0x8; _0x28ac8a++)_0x5b1ad8 += (_0x117621 = this[_0x3ddb20(0xa8)][_0x28ac8a][_0x3ddb20(0xa2)](0x10), _0x335539 = 0x8, _0x450e58 = '0', _0x117621[_0x3ddb20(0xa4)] >= _0x335539 ? _0x117621 : _0x450e58[_0x3ddb20(0x8f)](_0x335539 - _0x117621[_0x3ddb20(0xa4)]) + _0x117621);
124
- } else for(_0x5b1ad8 = new Array(0x20), _0x28ac8a = 0x0; _0x28ac8a < 0x8; _0x28ac8a++){
125
- var _0x46ad66 = this[_0x3ddb20(0xa8)][_0x28ac8a];
126
- _0x5b1ad8[0x4 * _0x28ac8a + 0x3] = (0xff & _0x46ad66) >>> 0x0, _0x46ad66 >>>= 0x8, _0x5b1ad8[0x4 * _0x28ac8a + 0x2] = (0xff & _0x46ad66) >>> 0x0, _0x46ad66 >>>= 0x8, _0x5b1ad8[0x4 * _0x28ac8a + 0x1] = (0xff & _0x46ad66) >>> 0x0, _0x46ad66 >>>= 0x8, _0x5b1ad8[0x4 * _0x28ac8a] = (0xff & _0x46ad66) >>> 0x0;
127
- }
128
- return this[_0x3ddb20(0x99)](), _0x5b1ad8;
129
- }
130
- ['_fill']() {
131
- const _0xa844a0 = a0_0x45db08;
132
- var _0x15bc36 = 0x8 * this[_0xa844a0(0x8a)], _0x4a32f3 = this['chunk'][_0xa844a0(0xa3)](0x80) % 0x40;
133
- for(0x40 - _0x4a32f3 < 0x8 && (_0x4a32f3 -= 0x40); _0x4a32f3 < 0x38; _0x4a32f3++)this[_0xa844a0(0x87)][_0xa844a0(0xa3)](0x0);
134
- for(var _0x36cc0b = 0x0; _0x36cc0b < 0x4; _0x36cc0b++){
135
- var _0xd7dcfe = Math[_0xa844a0(0x92)](_0x15bc36 / 0x100000000);
136
- this['chunk'][_0xa844a0(0xa3)](_0xd7dcfe >>> 0x8 * (0x3 - _0x36cc0b) & 0xff);
137
- }
138
- for(_0x36cc0b = 0x0; _0x36cc0b < 0x4; _0x36cc0b++)this[_0xa844a0(0x87)][_0xa844a0(0xa3)](_0x15bc36 >>> 0x8 * (0x3 - _0x36cc0b) & 0xff);
139
- }
140
- [a0_0x45db08(0x95)](_0x1e530c) {
141
- const _0x3c50af = a0_0x45db08;
142
- function _0x3da582(_0x14b06e, _0x4ec82e) {
143
- return (_0x14b06e << (_0x4ec82e %= 0x20) | _0x14b06e >>> 0x20 - _0x4ec82e) >>> 0x0;
144
- }
145
- function _0x489962(_0x5dd43e) {
146
- const _0x744660 = a0_0x4b0d;
147
- return 0x0 <= _0x5dd43e && _0x5dd43e < 0x10 ? 0x79cc4519 : 0x10 <= _0x5dd43e && _0x5dd43e < 0x40 ? 0x7a879d8a : void console[_0x744660(0x9c)](_0x744660(0x98));
148
- }
149
- function _0x197f71(_0x5e22dd, _0xfc800b, _0x1300f1, _0xed8891) {
150
- const _0x3414cb = a0_0x4b0d;
151
- return 0x0 <= _0x5e22dd && _0x5e22dd < 0x10 ? (_0xfc800b ^ _0x1300f1 ^ _0xed8891) >>> 0x0 : 0x10 <= _0x5e22dd && _0x5e22dd < 0x40 ? (_0xfc800b & _0x1300f1 | _0xfc800b & _0xed8891 | _0x1300f1 & _0xed8891) >>> 0x0 : (console[_0x3414cb(0x9c)]('invalid\x20j\x20for\x20bool\x20function\x20FF'), 0x0);
152
- }
153
- function _0x2f42fb(_0x326645, _0x2c63af, _0x558c0d, _0x4a902b) {
154
- const _0x493bba = a0_0x4b0d;
155
- return 0x0 <= _0x326645 && _0x326645 < 0x10 ? (_0x2c63af ^ _0x558c0d ^ _0x4a902b) >>> 0x0 : 0x10 <= _0x326645 && _0x326645 < 0x40 ? (_0x2c63af & _0x558c0d | ~_0x2c63af & _0x4a902b) >>> 0x0 : (console[_0x493bba(0x9c)]('invalid\x20j\x20for\x20bool\x20function\x20GG'), 0x0);
156
- }
157
- if (_0x1e530c[_0x3c50af(0xa4)] < 0x40) {
158
- console[_0x3c50af(0x9c)]('compress\x20error:\x20not\x20enough\x20data');
159
- return;
160
- }
161
- for(var _0x23a9bd = function(_0x7114f5) {
162
- for(var _0x49cf1f = new Array(0x84), _0x698c70 = 0x0; _0x698c70 < 0x10; _0x698c70++)_0x49cf1f[_0x698c70] = _0x7114f5[0x4 * _0x698c70] << 0x18, _0x49cf1f[_0x698c70] |= _0x7114f5[0x4 * _0x698c70 + 0x1] << 0x10, _0x49cf1f[_0x698c70] |= _0x7114f5[0x4 * _0x698c70 + 0x2] << 0x8, _0x49cf1f[_0x698c70] |= _0x7114f5[0x4 * _0x698c70 + 0x3], _0x49cf1f[_0x698c70] >>>= 0x0;
163
- for(var _0xe5328 = 0x10; _0xe5328 < 0x44; _0xe5328++){
164
- var _0x2b58f2 = _0x49cf1f[_0xe5328 - 0x10] ^ _0x49cf1f[_0xe5328 - 0x9] ^ _0x3da582(_0x49cf1f[_0xe5328 - 0x3], 0xf);
165
- _0x2b58f2 = _0x2b58f2 ^ _0x3da582(_0x2b58f2, 0xf) ^ _0x3da582(_0x2b58f2, 0x17), _0x49cf1f[_0xe5328] = (_0x2b58f2 ^ _0x3da582(_0x49cf1f[_0xe5328 - 0xd], 0x7) ^ _0x49cf1f[_0xe5328 - 0x6]) >>> 0x0;
166
- }
167
- for(_0xe5328 = 0x0; _0xe5328 < 0x40; _0xe5328++)_0x49cf1f[_0xe5328 + 0x44] = (_0x49cf1f[_0xe5328] ^ _0x49cf1f[_0xe5328 + 0x4]) >>> 0x0;
168
- return _0x49cf1f;
169
- }(_0x1e530c), _0x17c086 = this[_0x3c50af(0xa8)][_0x3c50af(0x8b)](0x0), _0x3621a2 = 0x0; _0x3621a2 < 0x40; _0x3621a2++){
170
- var _0x5959b9 = _0x3da582(_0x17c086[0x0], 0xc) + _0x17c086[0x4] + _0x3da582(_0x489962(_0x3621a2), _0x3621a2), _0x3b42ff = ((_0x5959b9 = _0x3da582(_0x5959b9 = (0xffffffff & _0x5959b9) >>> 0x0, 0x7)) ^ _0x3da582(_0x17c086[0x0], 0xc)) >>> 0x0, _0x50d411 = _0x197f71(_0x3621a2, _0x17c086[0x0], _0x17c086[0x1], _0x17c086[0x2]);
171
- _0x50d411 = (0xffffffff & (_0x50d411 = _0x50d411 + _0x17c086[0x3] + _0x3b42ff + _0x23a9bd[_0x3621a2 + 0x44])) >>> 0x0;
172
- var _0x910e21 = _0x2f42fb(_0x3621a2, _0x17c086[0x4], _0x17c086[0x5], _0x17c086[0x6]);
173
- _0x910e21 = (0xffffffff & (_0x910e21 = _0x910e21 + _0x17c086[0x7] + _0x5959b9 + _0x23a9bd[_0x3621a2])) >>> 0x0, _0x17c086[0x3] = _0x17c086[0x2], _0x17c086[0x2] = _0x3da582(_0x17c086[0x1], 0x9), _0x17c086[0x1] = _0x17c086[0x0], _0x17c086[0x0] = _0x50d411, _0x17c086[0x7] = _0x17c086[0x6], _0x17c086[0x6] = _0x3da582(_0x17c086[0x5], 0x13), _0x17c086[0x5] = _0x17c086[0x4], _0x17c086[0x4] = (_0x910e21 ^ _0x3da582(_0x910e21, 0x9) ^ _0x3da582(_0x910e21, 0x11)) >>> 0x0;
174
- }
175
- for(var _0x459622 = 0x0; _0x459622 < 0x8; _0x459622++)this['reg'][_0x459622] = (this[_0x3c50af(0xa8)][_0x459622] ^ _0x17c086[_0x459622]) >>> 0x0;
176
- }
177
- }
178
- function EnvData2CharCode(_0x58cd97, _0x23e1e0, _0x3ca6b2) {
179
- const _0x56cb93 = a0_0x45db08;
180
- let _0x2d49d4 = 0xf0 * Random >> 0x0 > 0x6d ? (0xf0 * Random >> 0x0) + 0x2 : 0xf0 * Random >> 0x0, _0x3f2013 = 0xff * Random >> 0x0 & 0x4d | 178, _0x4b8ded = [
181
- 0xffff * Random & 170 | 0x55 & [
182
- 0x1,
183
- 0x0,
184
- 0x1,
185
- 0xf
186
- ][_0x56cb93(0x8b)](0x0, 0x2)[0x0],
187
- 0xffff * Random & 85 | 0xaa & [
188
- 0x1,
189
- 0x0,
190
- 0x1,
191
- 0xf
192
- ][_0x56cb93(0x8b)](0x0, 0x2)[0x0],
193
- 0xffff * Random >> 0x8 & 0xaa | 0x55 & [
194
- 0x1,
195
- 0x0,
196
- 0x1,
197
- 0xf
198
- ]['slice'](0x0, 0x2)[0x1],
199
- 0xffff * Random >> 0x8 & 0x55 | 0xaa & [
200
- 0x1,
201
- 0x0,
202
- 0x1,
203
- 0xf
204
- ][_0x56cb93(0x8b)](0x0, 0x2)[0x1],
205
- 0xaa & _0x2d49d4 | 0x55 & [
206
- 0x1,
207
- 0x0,
208
- 0x1,
209
- 0xf
210
- ][_0x56cb93(0x8b)](0x2, 0x4)[0x0],
211
- 0x55 & _0x2d49d4 | 0xaa & [
212
- 0x1,
213
- 0x0,
214
- 0x1,
215
- 0xf
216
- ][_0x56cb93(0x8b)](0x2, 0x4)[0x0],
217
- 0xaa & _0x3f2013 | 0x55 & [
218
- 0x1,
219
- 0x0,
220
- 0x1,
221
- 0xf
222
- ][_0x56cb93(0x8b)](0x2, 0x4)[0x1],
223
- 0x55 & _0x3f2013 | 0xaa & [
224
- 0x1,
225
- 0x0,
226
- 0x1,
227
- 0xf
228
- ][_0x56cb93(0x8b)](0x2, 0x4)[0x1]
229
- ], _0x5bb315 = _0x56cb93(0x9a)['split']('')[_0x56cb93(0x94)]((_0x42b4c4)=>_0x42b4c4[_0x56cb93(0x96)](0x0)), _0x1cdc95 = ((0xff & String(xhrParaDoneTs + 0x3)) + ',')[_0x56cb93(0xa9)]('')[_0x56cb93(0x94)]((_0x58aa5d)=>_0x58aa5d[_0x56cb93(0x96)](0x0));
230
- const _0x26ee7a = new SM3Hasher(), _0xe2d586 = _0x26ee7a[_0x56cb93(0x8e)](_0x26ee7a['sum'](_0x58cd97 + _0x56cb93(0x93))), _0x571095 = _0x26ee7a[_0x56cb93(0x8e)](_0x26ee7a[_0x56cb93(0x8e)](_0x23e1e0 + 'dhzx')), _0x4dabdb = _0x26ee7a[_0x56cb93(0x8e)](_0x3ca6b2);
231
- let _0x4139e6 = [
232
- 0x29,
233
- (xhrReqDoneTs - 0x190e5788800) / 0x3e8 / 0x3c / 0x3c / 0x18 / 0xe >> 0x0,
234
- 0x6,
235
- xhrParaDoneTs - Ts + 0x3 & 0xff,
236
- 0xff & xhrParaDoneTs,
237
- xhrParaDoneTs >> 0x8 & 0xff,
238
- xhrParaDoneTs >> 0x10 & 0xff,
239
- xhrParaDoneTs >> 0x18 & 0xff,
240
- xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
241
- xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
242
- xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 255,
243
- xhrParaDoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 0,
244
- 1,
245
- 0,
246
- 0xa,
247
- 0x4,
248
- 0x4,
249
- 0x0,
250
- 8,
251
- 0,
252
- 0,
253
- 0,
254
- _0xe2d586[0x9],
255
- _0xe2d586[0x12],
256
- 0x3,
257
- _0xe2d586[0x3],
258
- _0x571095[0xa],
259
- _0x571095[0x13],
260
- 0x4,
261
- _0x571095[0x4],
262
- _0x4dabdb[0xb],
263
- _0x4dabdb[0x15],
264
- 0x5,
265
- _0x4dabdb[0x5],
266
- 0xff & Sm3DoneTs,
267
- Sm3DoneTs >> 0x8 & 0xff,
268
- Sm3DoneTs >> 0x10 & 0xff,
269
- Sm3DoneTs >> 0x18 & 0xff,
270
- Sm3DoneTs / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
271
- Sm3DoneTs / 0x100 / 0x100 / 0x100 / 0x100 / 0x100 & 0xff,
272
- 0x3,
273
- 41,
274
- 101,
275
- 0,
276
- 0,
277
- 207,
278
- 4,
279
- 0,
280
- 0,
281
- _0x5bb315['length'],
282
- _0x5bb315['length'],
283
- 0x0,
284
- _0x1cdc95[_0x56cb93(0xa4)],
285
- _0x1cdc95[_0x56cb93(0xa4)],
286
- 0x0
287
- ], _0x339170 = [
288
- _0x4139e6[0x9],
289
- _0x4139e6[0x12],
290
- _0x4139e6[0x1e],
291
- _0x4139e6[0x23],
292
- _0x4139e6[0x2f],
293
- _0x4139e6[0x4],
294
- _0x4139e6[0x2c],
295
- _0x4139e6[0x13],
296
- _0x4139e6[0xa],
297
- _0x4139e6[0x17],
298
- _0x4139e6[0xc],
299
- _0x4139e6[0x28],
300
- _0x4139e6[0x19],
301
- _0x4139e6[0x2a],
302
- _0x4139e6[0x3],
303
- _0x4139e6[0x16],
304
- _0x4139e6[0x26],
305
- _0x4139e6[0x15],
306
- _0x4139e6[0x5],
307
- _0x4139e6[0x2d],
308
- _0x4139e6[0x1],
309
- _0x4139e6[0x1d],
310
- _0x4139e6[0x6],
311
- _0x4139e6[0x2b],
312
- _0x4139e6[0x21],
313
- _0x4139e6[0xe],
314
- _0x4139e6[0x24],
315
- _0x4139e6[0x25],
316
- _0x4139e6[0x2],
317
- _0x4139e6[0x2e],
318
- _0x4139e6[0xf],
319
- _0x4139e6[0x30],
320
- _0x4139e6[0x1f],
321
- _0x4139e6[0x1a],
322
- _0x4139e6[0x10],
323
- _0x4139e6[0xd],
324
- _0x4139e6[0x8],
325
- _0x4139e6[0x29],
326
- _0x4139e6[0x1b],
327
- _0x4139e6[0x11],
328
- _0x4139e6[0x27],
329
- _0x4139e6[0x14],
330
- _0x4139e6[0xb],
331
- _0x4139e6[0x0],
332
- _0x4139e6[0x22],
333
- _0x4139e6[0x7],
334
- _0x4139e6[0x32],
335
- _0x4139e6[0x33],
336
- _0x4139e6[0x35],
337
- _0x4139e6[0x36]
338
- ];
339
- function _0x56e1cd(_0x24b6d5, _0x196cf7) {
340
- const _0x2eb1f3 = _0x56cb93;
341
- return _0x196cf7[_0x2eb1f3(0x8c)]((_0x2171ba, _0x925e58)=>_0x925e58 - _0x2171ba)[_0x2eb1f3(0x89)]((_0x540dbd)=>{
342
- const _0x2fbb10 = _0x2eb1f3;
343
- _0x540dbd >= 0x0 && _0x540dbd < _0x24b6d5[_0x2fbb10(0xa4)] && _0x24b6d5[_0x2fbb10(0x90)](_0x540dbd, 0x1);
344
- }), _0x24b6d5;
345
- }
346
- let _0x41ebdd = _0x4b8ded[_0x56cb93(0xb1)](_0x56e1cd(_0x4139e6, [
347
- 0x18,
348
- 0x1c,
349
- 0x20,
350
- 0x31,
351
- 0x34
352
- ])), _0x42a240 = _0x41ebdd[_0x56cb93(0xa6)]((_0x49ec53, _0x3d9ba0)=>_0x49ec53 ^ _0x3d9ba0), _0xeaa831 = _0x339170['concat'](_0x5bb315, _0x1cdc95, _0x42a240), _0x477e24 = [], _0x3bd924 = 0x0;
353
- for(let _0xa7bf19 = 0x0; _0xa7bf19 + 0x2 < _0xeaa831[_0x56cb93(0xa4)];)_0x477e24[_0x56cb93(0xa3)](0x3e8 * Random & 145 | 0x6e & _0xeaa831[_0xa7bf19++]), _0x477e24['push'](0x3e8 * Random & 66 | 0xbd & _0xeaa831[_0xa7bf19++]), _0x477e24[_0x56cb93(0xa3)](0x3e8 * Random & 44 | 0xd3 & _0xeaa831[_0xa7bf19++]), _0x477e24[_0x56cb93(0xa3)](0x91 & _0xeaa831[_0xa7bf19 - 0x3] | 0x42 & _0xeaa831[_0xa7bf19 - 0x2] | 0x2c & _0xeaa831[_0xa7bf19 - 0x1]), _0x3bd924 += 0x3;
354
- let _0x23c273 = _0x4b8ded[_0x56cb93(0xb1)](_0x477e24, _0xeaa831[_0x56cb93(0x8b)](_0x3bd924, _0xeaa831[_0x56cb93(0xa4)]));
355
- return _0x23c273[_0x56cb93(0x94)]((_0x4d13ab)=>String['fromCharCode'](_0x4d13ab))[_0x56cb93(0xac)]('');
356
- }
357
- function Base2Data(_0x348aa6) {
358
- const _0x2bc7c7 = a0_0x45db08;
359
- let _0x874207 = [
360
- 0xffff * Random & 170 | 0x55 & [
361
- 0x3,
362
- 0x52
363
- ][0x0],
364
- 0xffff * Random & 85 | 0xaa & [
365
- 0x3,
366
- 0x52
367
- ][0x0],
368
- 0x28 * Random >> 0x0 & 0xaa | 0x55 & [
369
- 0x3,
370
- 0x52
371
- ][0x1],
372
- 0x28 * Random >> 0x0 & 0x55 | 0xaa & [
373
- 0x3,
374
- 0x52
375
- ][0x1]
376
- ][_0x2bc7c7(0x94)]((_0x224d00)=>{
377
- const _0x31697c = _0x2bc7c7;
378
- return String[_0x31697c(0x9e)](_0x224d00);
379
- })[_0x2bc7c7(0xac)](''), _0x235e4f = [
380
- 0xff,
381
- 0xfe,
382
- 0xfd,
383
- 0xfc,
384
- 0xfb,
385
- 0xfa,
386
- 0xf9,
387
- 0xf8,
388
- 0xf7,
389
- 0xf6,
390
- 0xf5,
391
- 0xf4,
392
- 0xf3,
393
- 0xf2,
394
- 0xf1,
395
- 0xf0,
396
- 0xef,
397
- 0xee,
398
- 0xed,
399
- 0xec,
400
- 0xeb,
401
- 0xea,
402
- 0xe9,
403
- 0xe8,
404
- 0xe7,
405
- 0xe6,
406
- 0xe5,
407
- 0xe4,
408
- 0xe3,
409
- 0xe2,
410
- 0xe1,
411
- 0xe0,
412
- 0xdf,
413
- 0xde,
414
- 0xdd,
415
- 0xdc,
416
- 0xdb,
417
- 0xda,
418
- 0xd9,
419
- 0xd8,
420
- 0xd7,
421
- 0xd6,
422
- 0xd5,
423
- 0xd4,
424
- 0xd3,
425
- 0xd2,
426
- 0xd1,
427
- 0xd0,
428
- 0xcf,
429
- 0xce,
430
- 0xcd,
431
- 0xcc,
432
- 0xcb,
433
- 0xca,
434
- 0xc9,
435
- 0xc8,
436
- 0xc7,
437
- 0xc6,
438
- 0xc5,
439
- 0xc4,
440
- 0xc3,
441
- 0xc2,
442
- 0xc1,
443
- 0xc0,
444
- 0xbf,
445
- 0xbe,
446
- 0xbd,
447
- 0xbc,
448
- 0xbb,
449
- 0xba,
450
- 0xb9,
451
- 0xb8,
452
- 0xb7,
453
- 0xb6,
454
- 0xb5,
455
- 0xb4,
456
- 0xb3,
457
- 0xb2,
458
- 0xb1,
459
- 0xb0,
460
- 0xaf,
461
- 0xae,
462
- 0xad,
463
- 0xac,
464
- 0xab,
465
- 0xaa,
466
- 0xa9,
467
- 0xa8,
468
- 0xa7,
469
- 0xa6,
470
- 0xa5,
471
- 0xa4,
472
- 0xa3,
473
- 0xa2,
474
- 0xa1,
475
- 0xa0,
476
- 0x9f,
477
- 0x9e,
478
- 0x9d,
479
- 0x9c,
480
- 0x9b,
481
- 0x9a,
482
- 0x99,
483
- 0x98,
484
- 0x97,
485
- 0x96,
486
- 0x95,
487
- 0x94,
488
- 0x93,
489
- 0x92,
490
- 0x91,
491
- 0x90,
492
- 0x8f,
493
- 0x8e,
494
- 0x8d,
495
- 0x8c,
496
- 0x8b,
497
- 0x8a,
498
- 0x89,
499
- 0x88,
500
- 0x87,
501
- 0x86,
502
- 0x85,
503
- 0x84,
504
- 0x83,
505
- 0x82,
506
- 0x81,
507
- 0x80,
508
- 0x7f,
509
- 0x7e,
510
- 0x7d,
511
- 0x7c,
512
- 0x7b,
513
- 0x7a,
514
- 0x79,
515
- 0x78,
516
- 0x77,
517
- 0x76,
518
- 0x75,
519
- 0x74,
520
- 0x73,
521
- 0x72,
522
- 0x71,
523
- 0x70,
524
- 0x6f,
525
- 0x6e,
526
- 0x6d,
527
- 0x6c,
528
- 0x6b,
529
- 0x6a,
530
- 0x69,
531
- 0x68,
532
- 0x67,
533
- 0x66,
534
- 0x65,
535
- 0x64,
536
- 0x63,
537
- 0x62,
538
- 0x61,
539
- 0x60,
540
- 0x5f,
541
- 0x5e,
542
- 0x5d,
543
- 0x5c,
544
- 0x5b,
545
- 0x5a,
546
- 0x59,
547
- 0x58,
548
- 0x57,
549
- 0x56,
550
- 0x55,
551
- 0x54,
552
- 0x53,
553
- 0x52,
554
- 0x51,
555
- 0x50,
556
- 0x4f,
557
- 0x4e,
558
- 0x4d,
559
- 0x4c,
560
- 0x4b,
561
- 0x4a,
562
- 0x49,
563
- 0x48,
564
- 0x47,
565
- 0x46,
566
- 0x45,
567
- 0x44,
568
- 0x43,
569
- 0x42,
570
- 0x41,
571
- 0x40,
572
- 0x3f,
573
- 0x3e,
574
- 0x3d,
575
- 0x3c,
576
- 0x3b,
577
- 0x3a,
578
- 0x39,
579
- 0x38,
580
- 0x37,
581
- 0x36,
582
- 0x35,
583
- 0x34,
584
- 0x33,
585
- 0x32,
586
- 0x31,
587
- 0x30,
588
- 0x2f,
589
- 0x2e,
590
- 0x2d,
591
- 0x2c,
592
- 0x2b,
593
- 0x2a,
594
- 0x29,
595
- 0x28,
596
- 0x27,
597
- 0x26,
598
- 0x25,
599
- 0x24,
600
- 0x23,
601
- 0x22,
602
- 0x21,
603
- 0x20,
604
- 0x1f,
605
- 0x1e,
606
- 0x1d,
607
- 0x1c,
608
- 0x1b,
609
- 0x1a,
610
- 0x19,
611
- 0x18,
612
- 0x17,
613
- 0x16,
614
- 0x15,
615
- 0x14,
616
- 0x13,
617
- 0x12,
618
- 0x11,
619
- 0x10,
620
- 0xf,
621
- 0xe,
622
- 0xd,
623
- 0xc,
624
- 0xb,
625
- 0xa,
626
- 0x9,
627
- 0x8,
628
- 0x7,
629
- 0x6,
630
- 0x5,
631
- 0x4,
632
- 0x3,
633
- 0x2,
634
- 0x1,
635
- 0x0
636
- ];
637
- const _0x29dde1 = 'Ó'[_0x2bc7c7(0x96)](0x0);
638
- let _0x4a74f1 = 0x0;
639
- for(let _0xef36c2 = 0x0; _0xef36c2 < _0x235e4f[_0x2bc7c7(0xa4)]; _0xef36c2++){
640
- let _0x4120e4 = _0x235e4f[_0xef36c2];
641
- _0x4a74f1 = (_0x4a74f1 * _0x4120e4 + _0x4a74f1 + _0x29dde1) % 0x100, [_0x235e4f[_0xef36c2], _0x235e4f[_0x4a74f1]] = [
642
- _0x235e4f[_0x4a74f1],
643
- _0x235e4f[_0xef36c2]
644
- ];
645
- }
646
- let _0x39cb62 = 0x0, _0x5cbaf6 = '';
647
- for(let _0x29a672 = 0x0; _0x29a672 < _0x348aa6[_0x2bc7c7(0xa4)]; _0x29a672++){
648
- let _0x96c5ae = _0x348aa6[_0x2bc7c7(0x96)](_0x29a672), _0x46c34b = _0x29a672 + 0x1, _0x5d4cb4 = _0x235e4f[_0x46c34b];
649
- [_0x235e4f[_0x46c34b], _0x235e4f[(_0x39cb62 + _0x5d4cb4) % 0x100]] = [
650
- _0x235e4f[(_0x39cb62 + _0x5d4cb4) % 0x100],
651
- _0x235e4f[_0x46c34b]
652
- ];
653
- let _0x506f4f = _0x235e4f[(_0x235e4f[_0x46c34b] + _0x5d4cb4) % 0x100];
654
- _0x39cb62 = (_0x39cb62 + _0x5d4cb4) % 0x100, _0x5cbaf6 += String['fromCharCode'](_0x96c5ae ^ _0x506f4f);
655
- }
656
- return _0x874207 + _0x5cbaf6;
657
- }
658
- function Data2A_B(_0x19ca6d) {
659
- const _0x5d8d72 = a0_0x45db08;
660
- let _0x225e7d = _0x5d8d72(0xad), _0x4f0a28 = '', _0x251d62 = [
661
- 0x3e,
662
- 0x12a,
663
- 0x10,
664
- 0x0,
665
- 0x4,
666
- 0x9,
667
- 0x10,
668
- 0x0,
669
- 0x5,
670
- 0x36,
671
- 0x0,
672
- 0x5,
673
- 0x3e,
674
- 0x12b,
675
- 0x1a,
676
- 0x12c,
677
- 0x36,
678
- 0x0,
679
- 0x5,
680
- 0x3e,
681
- 0x12d,
682
- 0x1a,
683
- 0x12e,
684
- 0x36,
685
- 0x0,
686
- 0x5,
687
- 0x3e,
688
- 0x12f,
689
- 0x1a,
690
- 0x130,
691
- 0x36,
692
- 0x0,
693
- 0x5,
694
- 0x3e,
695
- 0x131,
696
- 0x1a,
697
- 0x10c,
698
- 0x36,
699
- 0x0,
700
- 0x5,
701
- 0x3e,
702
- 0x132,
703
- 0x1a,
704
- 0x128,
705
- 0x36,
706
- 0x0,
707
- 0x5,
708
- 0x36,
709
- 0x0,
710
- 0x3,
711
- 0x4c,
712
- 0x10,
713
- 0x0,
714
- 0x6,
715
- 0x3e,
716
- 0x24,
717
- 0x10,
718
- 0x0,
719
- 0x7,
720
- 0x17,
721
- 0x0,
722
- 0x10,
723
- 0x0,
724
- 0x9,
725
- 0x36,
726
- 0x0,
727
- 0x2,
728
- 0x4,
729
- 0x19,
730
- 0x36,
731
- 0x0,
732
- 0x9,
733
- 0x17,
734
- 0x3,
735
- 0x31,
736
- 0x43,
737
- 0xe,
738
- 0x9f,
739
- 0x36,
740
- 0x0,
741
- 0x2,
742
- 0x16,
743
- 0x4,
744
- 0xf7,
745
- 0x22,
746
- 0x0,
747
- 0x9,
748
- 0x3c,
749
- 0xc,
750
- 0x1,
751
- 0x17,
752
- 0xff,
753
- 0x32,
754
- 0x17,
755
- 0x10,
756
- 0x1f,
757
- 0x36,
758
- 0x0,
759
- 0x2,
760
- 0x16,
761
- 0x4,
762
- 0xf7,
763
- 0x22,
764
- 0x0,
765
- 0x9,
766
- 0x3c,
767
- 0xc,
768
- 0x1,
769
- 0x17,
770
- 0xff,
771
- 0x32,
772
- 0x17,
773
- 0x8,
774
- 0x1f,
775
- 0x20,
776
- 0x36,
777
- 0x0,
778
- 0x2,
779
- 0x16,
780
- 0x4,
781
- 0xf7,
782
- 0x22,
783
- 0x0,
784
- 0x9,
785
- 0x3c,
786
- 0xc,
787
- 0x1,
788
- 0x17,
789
- 0xff,
790
- 0x32,
791
- 0x20,
792
- 0x10,
793
- 0x0,
794
- 0x8,
795
- 0x36,
796
- 0x0,
797
- 0x7,
798
- 0x36,
799
- 0x0,
800
- 0x6,
801
- 0x16,
802
- 0x4,
803
- 0x67,
804
- 0x36,
805
- 0x0,
806
- 0x8,
807
- 0x17,
808
- 0xfc0000,
809
- 0x32,
810
- 0x17,
811
- 0x12,
812
- 0x33,
813
- 0xc,
814
- 0x1,
815
- 0x31,
816
- 0x22,
817
- 0x0,
818
- 0x7,
819
- 0x48,
820
- 0x2b,
821
- 0x36,
822
- 0x0,
823
- 0x7,
824
- 0x36,
825
- 0x0,
826
- 0x6,
827
- 0x16,
828
- 0x4,
829
- 0x67,
830
- 0x36,
831
- 0x0,
832
- 0x8,
833
- 0x17,
834
- 0x3f000,
835
- 0x32,
836
- 0x17,
837
- 0xc,
838
- 0x33,
839
- 0xc,
840
- 0x1,
841
- 0x31,
842
- 0x22,
843
- 0x0,
844
- 0x7,
845
- 0x48,
846
- 0x2b,
847
- 0x36,
848
- 0x0,
849
- 0x7,
850
- 0x36,
851
- 0x0,
852
- 0x6,
853
- 0x16,
854
- 0x4,
855
- 0x67,
856
- 0x36,
857
- 0x0,
858
- 0x8,
859
- 0x17,
860
- 0xfc0,
861
- 0x32,
862
- 0x17,
863
- 0x6,
864
- 0x33,
865
- 0xc,
866
- 0x1,
867
- 0x31,
868
- 0x22,
869
- 0x0,
870
- 0x7,
871
- 0x48,
872
- 0x2b,
873
- 0x36,
874
- 0x0,
875
- 0x7,
876
- 0x36,
877
- 0x0,
878
- 0x6,
879
- 0x16,
880
- 0x4,
881
- 0x67,
882
- 0x36,
883
- 0x0,
884
- 0x8,
885
- 0x17,
886
- 0x3f,
887
- 0x32,
888
- 0xc,
889
- 0x1,
890
- 0x31,
891
- 0x22,
892
- 0x0,
893
- 0x7,
894
- 0x48,
895
- 0x2b,
896
- 0x12,
897
- -173,
898
- 0x36,
899
- 0x0,
900
- 0x2,
901
- 0x4,
902
- 0x19,
903
- 0x36,
904
- 0x0,
905
- 0x9,
906
- 0x0,
907
- 0x17,
908
- 0x0,
909
- 0x13,
910
- 0xe,
911
- 0xa0,
912
- 0x36,
913
- 0x0,
914
- 0x2,
915
- 0x16,
916
- 0x4,
917
- 0xf7,
918
- 0x22,
919
- 0x0,
920
- 0x9,
921
- 0x3c,
922
- 0xc,
923
- 0x1,
924
- 0x17,
925
- 0xff,
926
- 0x32,
927
- 0x17,
928
- 0x10,
929
- 0x1f,
930
- 0x36,
931
- 0x0,
932
- 0x2,
933
- 0x4,
934
- 0x19,
935
- 0x36,
936
- 0x0,
937
- 0x9,
938
- 0x13,
939
- 0xe,
940
- 0x13,
941
- 0x36,
942
- 0x0,
943
- 0x2,
944
- 0x16,
945
- 0x4,
946
- 0xf7,
947
- 0x36,
948
- 0x0,
949
- 0x9,
950
- 0xc,
951
- 0x1,
952
- 0x17,
953
- 0xff,
954
- 0x32,
955
- 0x17,
956
- 0x8,
957
- 0x1f,
958
- 0x12,
959
- 0x2,
960
- 0x17,
961
- 0x0,
962
- 0x20,
963
- 0x10,
964
- 0x0,
965
- 0x8,
966
- 0x36,
967
- 0x0,
968
- 0x7,
969
- 0x36,
970
- 0x0,
971
- 0x6,
972
- 0x16,
973
- 0x4,
974
- 0x67,
975
- 0x36,
976
- 0x0,
977
- 0x8,
978
- 0x17,
979
- 0xfc0000,
980
- 0x32,
981
- 0x17,
982
- 0x12,
983
- 0x33,
984
- 0xc,
985
- 0x1,
986
- 0x31,
987
- 0x22,
988
- 0x0,
989
- 0x7,
990
- 0x48,
991
- 0x2b,
992
- 0x36,
993
- 0x0,
994
- 0x7,
995
- 0x36,
996
- 0x0,
997
- 0x6,
998
- 0x16,
999
- 0x4,
1000
- 0x67,
1001
- 0x36,
1002
- 0x0,
1003
- 0x8,
1004
- 0x17,
1005
- 0x3f000,
1006
- 0x32,
1007
- 0x17,
1008
- 0xc,
1009
- 0x33,
1010
- 0xc,
1011
- 0x1,
1012
- 0x31,
1013
- 0x22,
1014
- 0x0,
1015
- 0x7,
1016
- 0x48,
1017
- 0x2b,
1018
- 0x36,
1019
- 0x0,
1020
- 0x7,
1021
- 0x36,
1022
- 0x0,
1023
- 0x2,
1024
- 0x4,
1025
- 0x19,
1026
- 0x36,
1027
- 0x0,
1028
- 0x9,
1029
- 0x13,
1030
- 0xe,
1031
- 0x13,
1032
- 0x36,
1033
- 0x0,
1034
- 0x6,
1035
- 0x16,
1036
- 0x4,
1037
- 0x67,
1038
- 0x36,
1039
- 0x0,
1040
- 0x8,
1041
- 0x17,
1042
- 0xfc0,
1043
- 0x32,
1044
- 0x17,
1045
- 0x6,
1046
- 0x33,
1047
- 0xc,
1048
- 0x1,
1049
- 0x12,
1050
- 0x3,
1051
- 0x36,
1052
- 0x0,
1053
- 0x4,
1054
- 0x31,
1055
- 0x22,
1056
- 0x0,
1057
- 0x7,
1058
- 0x48,
1059
- 0x2b,
1060
- 0x36,
1061
- 0x0,
1062
- 0x7,
1063
- 0x36,
1064
- 0x0,
1065
- 0x4,
1066
- 0x31,
1067
- 0x22,
1068
- 0x0,
1069
- 0x7,
1070
- 0x48,
1071
- 0x2b,
1072
- 0x36,
1073
- 0x0,
1074
- 0x7,
1075
- 0x41
1076
- ];
1077
- for(let _0x2b8eea = 0x0; _0x2b8eea < _0x19ca6d['length']; _0x2b8eea += 0x3){
1078
- const _0x3fca04 = _0x19ca6d[_0x5d8d72(0x96)](_0x2b8eea), _0xb85a46 = _0x19ca6d[_0x5d8d72(0x96)](_0x2b8eea + 0x1), _0x4e702d = _0x19ca6d[_0x5d8d72(0x96)](_0x2b8eea + 0x2), _0x4382e1 = _0x3fca04 << _0x251d62[0x5e] | _0xb85a46 << _0x251d62[0x70] | _0x4e702d, _0x225aa0 = (_0x4382e1 & _0x251d62[0x93]) >> _0x251d62[0x96];
1079
- _0x4f0a28 += _0x225e7d[_0x5d8d72(0xa7)](_0x225aa0);
1080
- const _0x5607b9 = (_0x4382e1 & _0x251d62[0xad]) >> _0x251d62[0xb0];
1081
- _0x4f0a28 += Number[_0x5d8d72(0xa1)](_0x3fca04) ? '=' : _0x225e7d[_0x5d8d72(0xa7)](_0x5607b9);
1082
- const _0x3fb7b7 = (_0x4382e1 & _0x251d62[0xc7]) >> _0x251d62[0xca];
1083
- _0x4f0a28 += Number[_0x5d8d72(0xa1)](_0xb85a46) ? '=' : _0x225e7d[_0x5d8d72(0xa7)](_0x3fb7b7);
1084
- const _0x425784 = _0x4382e1 & _0x251d62[0xe1];
1085
- _0x4f0a28 += Number[_0x5d8d72(0xa1)](_0x4e702d) ? '=' : _0x225e7d[_0x5d8d72(0xa7)](_0x425784);
1086
- }
1087
- return _0x4f0a28;
1088
- }
1089
- function GenAB(_0x315138, _0x1c32b3) {
1090
- const _0x206982 = a0_0x45db08, _0x56536b = _0x206982(0xaf);
1091
- return Data2A_B(Base2Data(EnvData2CharCode(_0x315138, _0x1c32b3, _0x56536b)));
1092
- }
1093
- module[a0_0x45db08(0xae)] = GenAB;
1094
- }
1095
- };
1096
- var __webpack_module_cache__ = {};
1097
- function __webpack_require__(moduleId) {
1098
- var cachedModule = __webpack_module_cache__[moduleId];
1099
- if (void 0 !== cachedModule) return cachedModule.exports;
1100
- var module = __webpack_module_cache__[moduleId] = {
1101
- id: moduleId,
1102
- loaded: false,
1103
- exports: {}
1104
- };
1105
- __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1106
- module.loaded = true;
1107
- return module.exports;
1108
- }
1109
- (()=>{
1110
- __webpack_require__.nmd = function(module) {
1111
- module.paths = [];
1112
- if (!module.children) module.children = [];
1113
- return module;
1114
- };
1115
- })();
1116
12
  class Http {
1117
13
  static handleApiError(error) {
1118
14
  if (error && "object" == typeof error && "code" in error && "message" in error) return error;
@@ -1213,27 +109,6 @@ const extractImgTag = (html)=>{
1213
109
  parser.end();
1214
110
  return srcList;
1215
111
  };
1216
- class TimeFormatter {
1217
- static format(timestamp, formatStr = 'yyyy-MM-dd hh:mm') {
1218
- if ('number' == typeof timestamp && 10 === timestamp.toString().length) timestamp *= 1000;
1219
- const date = new Date(timestamp);
1220
- const map = {
1221
- yyyy: String(date.getFullYear()),
1222
- yy: String(date.getFullYear()).slice(-2),
1223
- MM: String(date.getMonth() + 1).padStart(2, '0'),
1224
- dd: String(date.getDate()).padStart(2, '0'),
1225
- hh: String(date.getHours()).padStart(2, '0'),
1226
- mm: String(date.getMinutes()).padStart(2, '0'),
1227
- ss: String(date.getSeconds()).padStart(2, '0'),
1228
- M: String(date.getMonth() + 1),
1229
- d: String(date.getDate()),
1230
- h: String(date.getHours()),
1231
- m: String(date.getMinutes()),
1232
- s: String(date.getSeconds())
1233
- };
1234
- return formatStr.replace(/yyyy|yy|MM|dd|hh|mm|ss|M|d|h|m|s/g, (key)=>map[key]);
1235
- }
1236
- }
1237
112
  const replaceImgSrc = (html, callback)=>{
1238
113
  let lastedHtml = html;
1239
114
  const isImageTag = (node)=>"tag" === node.type && "img" === node.name;
@@ -1499,7 +374,6 @@ const mockAction = async (task, params)=>{
1499
374
  cover_source: "upload",
1500
375
  activity_list
1501
376
  };
1502
- params.settingInfo.timer && (publishData['timer_time'] = params.settingInfo.timer);
1503
377
  const isDraft = "draft" === params.saveType;
1504
378
  const saveUrl = isDraft ? "https://baijiahao.baidu.com/pcui/article/save?callback=bjhdraft" : "https://baijiahao.baidu.com/pcui/article/publish?callback=bjhpublish";
1505
379
  const res = await http.api({
@@ -1621,16 +495,13 @@ const rpaAction = async (task, params)=>{
1621
495
  if (await findActivity.count() > 0) findActivity.first().locator("..").click();
1622
496
  }
1623
497
  }
1624
- const { articleId, message } = await new Promise(async (resolve)=>{
498
+ const articleId = await new Promise((resolve)=>{
1625
499
  const handleResponse = async (response)=>{
1626
500
  const url = response.url();
1627
501
  if (url.includes("/pcui/article/save") || url.includes("/pcui/article/publish")) {
1628
502
  const jsonResponse = await response.json();
1629
503
  page.off("response", handleResponse);
1630
- resolve({
1631
- articleId: jsonResponse?.ret?.article_id,
1632
- message: jsonResponse?.errmsg
1633
- });
504
+ resolve(jsonResponse?.ret?.article_id);
1634
505
  }
1635
506
  };
1636
507
  page.on("response", handleResponse);
@@ -1638,74 +509,12 @@ const rpaAction = async (task, params)=>{
1638
509
  if ("draft" === params.saveType) operatorContainer.locator(".op-btn-outter-content").filter({
1639
510
  hasText: "存草稿"
1640
511
  }).locator("button").click();
1641
- else if (params.settingInfo.timer) {
1642
- await operatorContainer.locator(".op-btn-outter-content").filter({
1643
- hasText: "定时发布"
1644
- }).locator("button").click();
1645
- await page.locator(".timepublish-wrap-select .select-wrap", {
1646
- hasText: "日"
1647
- }).click();
1648
- await page.locator('#select-date_list + * .cheetah-select-item-option', {
1649
- hasText: TimeFormatter.format(params.settingInfo.timer, "M月dd日")
1650
- }).click();
1651
- await page.waitForTimeout(200);
1652
- await page.locator(".timepublish-wrap-select .select-wrap", {
1653
- hasText: "点"
1654
- }).click();
1655
- await page.locator('#select-hour_list +div.rc-virtual-list').hover();
1656
- const scrollHourInfo = await page.evaluate(()=>{
1657
- const hourInner = document.querySelector('#select-hour_list + * .rc-virtual-list-holder-inner');
1658
- const hourElementHeight = hourInner?.children[0].clientHeight || 36;
1659
- const hourMapsElem = Array.from(document.querySelectorAll('#select-hour_list + * .cheetah-select-item-option .cheetah-select-item-option-content'));
1660
- const hourMap = hourMapsElem.map((item)=>item.textContent?.trim());
1661
- return {
1662
- elementHeight: hourElementHeight,
1663
- elementItem: hourMap
1664
- };
1665
- });
1666
- const fistHourElem = scrollHourInfo.elementItem[0];
1667
- let fistHourElemH = Number(fistHourElem?.split("点")[0]);
1668
- const lastHourElem = scrollHourInfo.elementItem[scrollHourInfo.elementItem.length - 1];
1669
- let lastHourElemH = Number(lastHourElem?.split("点")[0]);
1670
- let targetTimeH = Number(TimeFormatter.format(params.settingInfo.timer, 'h'));
1671
- await page.mouse.wheel(0, targetTimeH > lastHourElemH ? (targetTimeH - lastHourElemH) * scrollHourInfo.elementHeight : targetTimeH < fistHourElemH ? -(fistHourElemH - targetTimeH) * scrollHourInfo.elementHeight : 0);
1672
- await page.locator("#select-hour_list + * .cheetah-select-item-option ", {
1673
- hasText: targetTimeH + "点"
1674
- }).click();
1675
- await page.waitForTimeout(200);
1676
- await page.locator(".timepublish-wrap-select .select-wrap", {
1677
- hasText: "分"
1678
- }).click();
1679
- await page.locator('#select-minute_list +div.rc-virtual-list').hover();
1680
- const scrollMinuteInfo = await page.evaluate(()=>{
1681
- const hourInner = document.querySelector('#select-minute_list + * .rc-virtual-list-holder-inner');
1682
- const hourElementHeight = hourInner?.children[0].clientHeight || 36;
1683
- const hourMapsElem = Array.from(document.querySelectorAll('#select-minute_list + * .cheetah-select-item-option .cheetah-select-item-option-content'));
1684
- const hourMap = hourMapsElem.map((item)=>item.textContent?.trim());
1685
- return {
1686
- elementHeight: hourElementHeight,
1687
- elementItem: hourMap
1688
- };
1689
- });
1690
- const fistMinuteElem = scrollMinuteInfo.elementItem[0];
1691
- let fistMinuteElemH = Number(fistMinuteElem?.split("分")[0]);
1692
- const lastMinuteElem = scrollMinuteInfo.elementItem[scrollMinuteInfo.elementItem.length - 1];
1693
- let lastMinuteElemH = Number(lastMinuteElem?.split("分")[0]);
1694
- let targetTimeM = Number(TimeFormatter.format(params.settingInfo.timer, 'm'));
1695
- await page.mouse.wheel(0, targetTimeM > lastMinuteElemH ? (targetTimeM - lastMinuteElemH) * scrollMinuteInfo.elementHeight : targetTimeM < fistMinuteElemH ? -(fistMinuteElemH - targetTimeM) * scrollMinuteInfo.elementHeight : 0);
1696
- await page.locator("#select-minute_list + * .cheetah-select-item-option ", {
1697
- hasText: targetTimeM + "分"
1698
- }).click();
1699
- await page.waitForTimeout(200);
1700
- await page.locator(".cheetah-modal-confirm-btns button").filter({
1701
- hasText: "定时发布"
1702
- }).click();
1703
- } else operatorContainer.locator(".op-btn-outter-content").filter({
1704
- hasText: /^发布/
512
+ else operatorContainer.locator(".op-btn-outter-content").filter({
513
+ hasText: "发布"
1705
514
  }).locator("button").click();
1706
515
  });
1707
516
  await page.close();
1708
- return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(articleId, articleId ? "发布成功" : message);
517
+ return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(articleId);
1709
518
  };
1710
519
  const baijiahaoPublish = async (task, params)=>{
1711
520
  if ("rpa" === params.actionType) return rpaAction(task, params);
@@ -1869,7 +678,6 @@ const searchXiaohongshuTopicList = async (_task, params)=>{
1869
678
  return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)([]);
1870
679
  }
1871
680
  };
1872
- const GenAB = __webpack_require__("./src/utils/ttABEncrypt.js");
1873
681
  const mock_errnoMap = {
1874
682
  20004020: "图片上传异常,请重新绑定账号后同步。",
1875
683
  7115: "正文图片和封面图片推荐jpg、png格式。",
@@ -1886,11 +694,6 @@ const mock_errnoMap = {
1886
694
  2005: "账号无【申明原创】权限,请关闭申明后重试。",
1887
695
  100004: "用户未登录或登陆已过期,请重新登陆后重试。"
1888
696
  };
1889
- const mock_generatorFormData = (data)=>Object.entries(data).map(([key, value])=>{
1890
- const encodedKey = encodeURIComponent(key);
1891
- const encodedValue = encodeURIComponent(String(value));
1892
- return `${encodedKey}=${encodedValue}`;
1893
- }).join('&');
1894
697
  const get3101DetailError = (errorList, message, saveType)=>{
1895
698
  let error = "";
1896
699
  if (message?.includes("当日发文")) error = errorList[0];
@@ -2010,8 +813,8 @@ const mock_mockAction = async (task, params)=>{
2010
813
  trends_writing_tag: 0,
2011
814
  is_refute_rumor: 0,
2012
815
  save: "publish" === params.saveType ? 1 : 0,
2013
- timer_status: params.settingInfo.timer ? 1 : 0,
2014
- timer_time: params.settingInfo.timer ? TimeFormatter.format(params.settingInfo.timer) : "",
816
+ timer_status: 0,
817
+ timer_time: "",
2015
818
  title: params.title,
2016
819
  content: content + topicContent,
2017
820
  extra: JSON.stringify(extraData),
@@ -2035,29 +838,7 @@ const mock_mockAction = async (task, params)=>{
2035
838
  claim_origin: toutiaoOriginal.includes("original") ? 1 : 0,
2036
839
  claim_exclusive: toutiaoOriginal.includes("exclusive") ? 1 : 0
2037
840
  };
2038
- const msToken = params.cookies.find((it)=>"msToken" === it.name)?.value;
2039
- let publishOption = {};
2040
- if (msToken) {
2041
- const postHeaders = mock_generatorFormData({
2042
- source: "mp",
2043
- type: "article",
2044
- aid: 1231,
2045
- mp_publish_ab_val: 0,
2046
- msToken: msToken
2047
- });
2048
- const postData = mock_generatorFormData(publishData);
2049
- let a_bogus = GenAB(postHeaders, postData);
2050
- publishOption = {
2051
- method: "post",
2052
- url: `https://mp.toutiao.com/mp/agw/article/publish?${postHeaders}&a_bogus=${a_bogus}`,
2053
- data: postData,
2054
- headers: {
2055
- "content-type": "application/x-www-form-urlencoded",
2056
- "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
2057
- },
2058
- defaultErrorMsg: "draft" === params.saveType ? "文章同步异常,请稍后重试。" : "文章发布异常,请稍后重试。"
2059
- };
2060
- } else publishOption = {
841
+ const publishResult = await http.api({
2061
842
  method: "post",
2062
843
  url: "https://mp.toutiao.com/mp/agw/article/publish?source=mp&type=article&aid=1",
2063
844
  data: publishData,
@@ -2065,11 +846,9 @@ const mock_mockAction = async (task, params)=>{
2065
846
  "content-type": "application/x-www-form-urlencoded"
2066
847
  },
2067
848
  defaultErrorMsg: "draft" === params.saveType ? "文章同步异常,请稍后重试。" : "文章发布异常,请稍后重试。"
2068
- };
2069
- const publishResult = await http.api(publishOption);
849
+ });
2070
850
  return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(publishResult.data.pgc_id);
2071
851
  };
2072
- const rpa_GenAB = __webpack_require__("./src/utils/ttABEncrypt.js");
2073
852
  const rpa_rpaAction = async (task, params)=>{
2074
853
  const tmpCachePath = task.getTmpPath();
2075
854
  const commonCookies = {
@@ -2104,30 +883,9 @@ const rpa_rpaAction = async (task, params)=>{
2104
883
  await page.route('**', async (route, request)=>{
2105
884
  const url = new URL(request.url());
2106
885
  if (interceptUrls.some((pattern)=>url.pathname.includes(pattern))) {
2107
- const headers = {
2108
- ...request.headers(),
2109
- "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
2110
- };
2111
- const generatorFormData = (data)=>Object.entries(data).map(([key, value])=>{
2112
- const encodedKey = encodeURIComponent(key);
2113
- const encodedValue = encodeURIComponent(String(value));
2114
- return `${encodedKey}=${encodedValue}`;
2115
- }).join('&');
2116
- const postHeaders = generatorFormData({
2117
- source: "mp",
2118
- type: "article",
2119
- aid: 1231,
2120
- mp_publish_ab_val: 0,
2121
- msToken: url.searchParams.get('msToken')
2122
- });
2123
- const postData = request.postData() || "";
2124
- let a_bogus = rpa_GenAB(postHeaders, postData);
2125
- url.searchParams.set('aid', "1231");
2126
- url.searchParams.set('mp_publish_ab_val', "0");
2127
- url.searchParams.set('a_bogus', a_bogus);
886
+ url.searchParams.set('aid', '1');
2128
887
  await route.continue({
2129
- url: url.toString(),
2130
- headers: headers
888
+ url: url.toString()
2131
889
  });
2132
890
  } else await route.continue();
2133
891
  });
@@ -2208,7 +966,7 @@ const rpa_rpaAction = async (task, params)=>{
2208
966
  }).locator("xpath=..");
2209
967
  exclusiveContainer.locator(".exclusive .exclusive-checkbox-wraper .byte-checkbox").click();
2210
968
  }
2211
- const articleId = await new Promise(async (resolve)=>{
969
+ const articleId = await new Promise((resolve)=>{
2212
970
  const handleResponse = async (response)=>{
2213
971
  const url = response.url();
2214
972
  if (url.includes("/mp/agw/article/publish")) {
@@ -2218,32 +976,7 @@ const rpa_rpaAction = async (task, params)=>{
2218
976
  }
2219
977
  };
2220
978
  page.on("response", handleResponse);
2221
- if (params.settingInfo.timer) {
2222
- await page.locator(".publish-footer button").filter({
2223
- hasText: "定时发布"
2224
- }).click();
2225
- await page.waitForSelector('button.publish-btn:not(.byte-btn-loading) >> nth=1', {
2226
- state: 'attached'
2227
- });
2228
- await page.locator(".byte-modal-content .day-select .byte-select-view-value").click();
2229
- await page.locator('li.byte-select-option', {
2230
- hasText: TimeFormatter.format(params.settingInfo.timer, "MM月dd日")
2231
- }).click();
2232
- await page.waitForTimeout(200);
2233
- await page.locator(".byte-modal-content .hour-select .byte-select-view-value").click();
2234
- await page.locator('li.byte-select-option', {
2235
- hasText: TimeFormatter.format(params.settingInfo.timer, "h")
2236
- }).click();
2237
- await page.waitForTimeout(200);
2238
- await page.locator(".byte-modal-content .minute-select .byte-select-view-value").click();
2239
- await page.locator('li.byte-select-option', {
2240
- hasText: TimeFormatter.format(params.settingInfo.timer, "m")
2241
- }).click();
2242
- await page.waitForTimeout(200);
2243
- await page.locator(".byte-modal-footer button").filter({
2244
- hasText: "预览并定时发布"
2245
- }).click();
2246
- } else await page.locator(".publish-footer button").filter({
979
+ page.locator(".publish-footer button").filter({
2247
980
  hasText: "预览并发布"
2248
981
  }).click();
2249
982
  });
@@ -2254,13 +987,13 @@ const rpa_rpaAction = async (task, params)=>{
2254
987
  }
2255
988
  if ("publish" === params.saveType) {
2256
989
  await page.locator(".publish-footer button").filter({
2257
- hasText: params.settingInfo.timer ? "定时发布" : "确认发布"
990
+ hasText: "确认发布"
2258
991
  }).waitFor({
2259
992
  state: "visible"
2260
993
  });
2261
994
  await page.waitForTimeout(200);
2262
995
  await page.locator(".publish-footer button").filter({
2263
- hasText: params.settingInfo.timer ? "定时发布" : "确认发布"
996
+ hasText: "确认发布"
2264
997
  }).click();
2265
998
  }
2266
999
  await page.close();
@@ -2277,106 +1010,6 @@ const toutiaoPublish = async (task, params)=>{
2277
1010
  if ("mockApi" === params.actionType) return mock_mockAction(task, params);
2278
1011
  return executeAction(mock_mockAction, rpa_rpaAction)(task, params);
2279
1012
  };
2280
- const TTFansExport = async (_task, params)=>{
2281
- const http = new Http({
2282
- headers: {
2283
- cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
2284
- referer: "https://mp.toutiao.com/profile_v4/graphic/publish"
2285
- }
2286
- });
2287
- try {
2288
- const res = await http.api({
2289
- method: "get",
2290
- url: "https://mp.toutiao.com/mp/agw/creator_center/user_info?app_id=1231",
2291
- params: {
2292
- app_id: 1231
2293
- }
2294
- });
2295
- return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(0 === res.code ? {
2296
- fans_count: res.total_fans_count
2297
- } : {
2298
- fans_count: null
2299
- }, "获取粉丝数成功!");
2300
- } catch (error) {
2301
- return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
2302
- fans_count: null
2303
- }, "获取粉丝数失败,请检查登陆有效性!");
2304
- }
2305
- };
2306
- const XhsFansExport = async (_task, params)=>{
2307
- const http = new Http({
2308
- headers: {
2309
- cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
2310
- referer: "https://creator.xiaohongshu.com/new/home?source=official"
2311
- }
2312
- });
2313
- try {
2314
- const res = await http.api({
2315
- method: "get",
2316
- url: "https://creator.xiaohongshu.com/api/galaxy/creator/home/personal_info"
2317
- });
2318
- return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(0 === res.result ? {
2319
- fans_count: res.data.fans_count
2320
- } : {
2321
- fans_count: null
2322
- }, "获取粉丝数成功!");
2323
- } catch (error) {
2324
- return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
2325
- fans_count: null
2326
- }, "获取粉丝数失败,请检查登陆有效性!");
2327
- }
2328
- };
2329
- const WxFansExport = async (_task, params)=>{
2330
- const http = new Http({
2331
- headers: {
2332
- cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";")
2333
- }
2334
- });
2335
- try {
2336
- const htmlStr = await http.api({
2337
- method: "get",
2338
- url: "https://mp.weixin.qq.com/cgi-bin/home",
2339
- params: {
2340
- t: "home/index",
2341
- token: params.token,
2342
- lang: "zh_CN"
2343
- }
2344
- });
2345
- const match = htmlStr.match(/总用户数[\s\S]*?<mp-thousandth>(\d+)<\/mp-thousandth>/);
2346
- return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(match ? {
2347
- fans_count: Number(match[1])
2348
- } : {
2349
- fans_count: null
2350
- }, "获取粉丝数成功!");
2351
- } catch (error) {
2352
- return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
2353
- fans_count: null
2354
- }, "获取粉丝数失败,请检查登陆有效性!");
2355
- }
2356
- };
2357
- const BjhFansExport = async (_task, params)=>{
2358
- const http = new Http({
2359
- headers: {
2360
- cookie: params.cookies.map((it)=>`${it.name}=${it.value}`).join(";"),
2361
- referer: "https://baijiahao.baidu.com/builder/rc/home"
2362
- }
2363
- });
2364
- try {
2365
- const res = await http.api({
2366
- method: "get",
2367
- url: "https://baijiahao.baidu.com/cms-ui/rights/growth/get_info"
2368
- });
2369
- return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(0 === res.errno ? {
2370
- fans_count: res.data.total_fans
2371
- } : {
2372
- fans_count: null
2373
- }, "获取粉丝数成功!");
2374
- } catch (error) {
2375
- return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)({
2376
- fans_count: null
2377
- }, "获取粉丝数失败,请检查登陆有效性!");
2378
- }
2379
- };
2380
1013
  const weitoutiaoPublish_mock_mockAction = async (task, params)=>{
2381
1014
  const tmpCachePath = task.getTmpPath();
2382
1015
  const http = new Http({
@@ -2546,7 +1179,7 @@ const userTypeMap = {
2546
1179
  已关注的用户: 2,
2547
1180
  已关注7天及以上的用户: 3
2548
1181
  };
2549
- const weixinPublish_mock_generatorFormData = (data)=>{
1182
+ const generatorFormData = (data)=>{
2550
1183
  const formData = new URLSearchParams();
2551
1184
  for (const [key, value] of Object.entries(data))formData.append(key, String(value));
2552
1185
  return formData.toString();
@@ -2562,7 +1195,7 @@ const checkCopyrightStat = async (http, params, data)=>{
2562
1195
  token: params.token,
2563
1196
  lang: "zh_CN"
2564
1197
  },
2565
- data: weixinPublish_mock_generatorFormData(data)
1198
+ data: generatorFormData(data)
2566
1199
  });
2567
1200
  } catch (error) {
2568
1201
  resData = error?.data;
@@ -2676,7 +1309,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
2676
1309
  params: {
2677
1310
  action: "searchacct"
2678
1311
  },
2679
- data: weixinPublish_mock_generatorFormData({
1312
+ data: generatorFormData({
2680
1313
  lang: "zh_CN",
2681
1314
  f: "json",
2682
1315
  ajax: 1,
@@ -2805,7 +1438,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
2805
1438
  params: {
2806
1439
  action: 'addautoreply'
2807
1440
  },
2808
- data: weixinPublish_mock_generatorFormData({
1441
+ data: generatorFormData({
2809
1442
  type: 1,
2810
1443
  fingerprint,
2811
1444
  token: params.token,
@@ -2927,7 +1560,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
2927
1560
  type: 77,
2928
1561
  lang: "zh_CN"
2929
1562
  },
2930
- data: weixinPublish_mock_generatorFormData(draftData),
1563
+ data: generatorFormData(draftData),
2931
1564
  defaultErrorMsg: "创建草稿失败,请稍后重试发布。"
2932
1565
  });
2933
1566
  if ("draft" === params.saveType) return {
@@ -2960,7 +1593,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
2960
1593
  lang: "zh_CN",
2961
1594
  token: params.token
2962
1595
  },
2963
- data: weixinPublish_mock_generatorFormData({
1596
+ data: generatorFormData({
2964
1597
  token: params.token,
2965
1598
  lang: "zh_CN",
2966
1599
  f: "json",
@@ -2991,7 +1624,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
2991
1624
  token: params.token,
2992
1625
  lang: "zh_CN"
2993
1626
  },
2994
- data: weixinPublish_mock_generatorFormData({
1627
+ data: generatorFormData({
2995
1628
  appmsgid: appMsgId,
2996
1629
  fingerprint,
2997
1630
  token: params.token,
@@ -3003,7 +1636,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3003
1636
  await http.api({
3004
1637
  method: "post",
3005
1638
  url: "https://mp.weixin.qq.com/cgi-bin/masssend?action=check_same_material",
3006
- data: weixinPublish_mock_generatorFormData({
1639
+ data: generatorFormData({
3007
1640
  msgid: appMsgId,
3008
1641
  fingerprint,
3009
1642
  token: params.token,
@@ -3042,7 +1675,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3042
1675
  token: params.token,
3043
1676
  lang: "zh_CN"
3044
1677
  },
3045
- data: weixinPublish_mock_generatorFormData({
1678
+ data: generatorFormData({
3046
1679
  appmsg_id: appMsgId,
3047
1680
  fingerprint,
3048
1681
  token: params.token,
@@ -3061,7 +1694,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3061
1694
  params: {
3062
1695
  action: "check_music"
3063
1696
  },
3064
- data: weixinPublish_mock_generatorFormData({
1697
+ data: generatorFormData({
3065
1698
  appmsgid: appMsgId,
3066
1699
  masssend_check: 1,
3067
1700
  fingerprint,
@@ -3081,7 +1714,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3081
1714
  lang: "zh_CN",
3082
1715
  1: 1
3083
1716
  },
3084
- data: weixinPublish_mock_generatorFormData({
1717
+ data: generatorFormData({
3085
1718
  token: params.token,
3086
1719
  lang: "zh_CN",
3087
1720
  f: "json",
@@ -3101,7 +1734,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3101
1734
  lang: "zh_CN",
3102
1735
  1: 1
3103
1736
  },
3104
- data: weixinPublish_mock_generatorFormData({
1737
+ data: generatorFormData({
3105
1738
  token: params.token,
3106
1739
  lang: "zh_CN",
3107
1740
  f: "json",
@@ -3133,7 +1766,6 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3133
1766
  ticket: getTicketResult.ticket,
3134
1767
  uuid,
3135
1768
  msgid: operation_seq,
3136
- open_email: !!params.settingInfo.timer,
3137
1769
  ...params.masssend ? {} : {
3138
1770
  publish_type: 1
3139
1771
  }
@@ -3156,7 +1788,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3156
1788
  lang: "zh_CN",
3157
1789
  timespam: Date.now()
3158
1790
  },
3159
- data: weixinPublish_mock_generatorFormData({
1791
+ data: generatorFormData({
3160
1792
  token: params.token,
3161
1793
  lang: "zh_CN",
3162
1794
  f: "json",
@@ -3186,7 +1818,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3186
1818
  lang: "zh_CN",
3187
1819
  1: 1
3188
1820
  },
3189
- data: weixinPublish_mock_generatorFormData({
1821
+ data: generatorFormData({
3190
1822
  token: params.token,
3191
1823
  lang: "zh_CN",
3192
1824
  f: "json",
@@ -3208,7 +1840,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3208
1840
  is_release_publish_page: 1
3209
1841
  }
3210
1842
  },
3211
- data: weixinPublish_mock_generatorFormData({
1843
+ data: generatorFormData({
3212
1844
  token: params.token,
3213
1845
  lang: "zh_CN",
3214
1846
  f: "json",
@@ -3225,7 +1857,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3225
1857
  country: "",
3226
1858
  province: "",
3227
1859
  city: "",
3228
- send_time: params.settingInfo.timer ? params.settingInfo.timer : "0",
1860
+ send_time: "0",
3229
1861
  type: "10",
3230
1862
  share_page: "1",
3231
1863
  synctxweibo: "0",
@@ -3242,7 +1874,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
3242
1874
  }),
3243
1875
  defaultErrorMsg: params.masssend ? "文章群发异常,请尝试关闭群发或稍后重试。" : "文章发布异常,请稍后重试。"
3244
1876
  });
3245
- return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(appMsgId, params.settingInfo.timer ? "微信公众号文章定时发布成功。" : "微信公众号发布完成。");
1877
+ return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(appMsgId, "微信公众号发布完成。");
3246
1878
  };
3247
1879
  const waitQrcodeResultMaxTime = 2000 * scanRetryMaxCount;
3248
1880
  const weixinPublish_rpa_rpaAction = async (task, params)=>{
@@ -3569,7 +2201,7 @@ const weixinPublish_rpa_rpaAction = async (task, params)=>{
3569
2201
  await poperInstance.locator('.frm_radio_item label[for="not_recomment_0"]').click();
3570
2202
  }
3571
2203
  await page.waitForTimeout(1000);
3572
- const articleId = await new Promise(async (resolve)=>{
2204
+ const articleId = await new Promise((resolve)=>{
3573
2205
  const handleResponse = async (response)=>{
3574
2206
  const url = response.url();
3575
2207
  const query = parseUrlQueryString(url);
@@ -3581,34 +2213,7 @@ const weixinPublish_rpa_rpaAction = async (task, params)=>{
3581
2213
  };
3582
2214
  page.on("response", handleResponse);
3583
2215
  page.locator("#editor_pannel #bottom_main #js_button_area #js_send button").click();
3584
- await page.waitForTimeout(200);
3585
- if (params.settingInfo.timer) {
3586
- await page.locator(".mass-send .mass-send__td-setting", {
3587
- hasText: "定时发表"
3588
- }).locator(".weui-desktop-switch__box").check();
3589
- let dateD = Number(TimeFormatter.format(params.settingInfo.timer, "d"));
3590
- let nowD = Number(TimeFormatter.format(Date.now(), "d"));
3591
- await page.locator(".mass-send__timer .weui-desktop-form__dropdown__dt").click();
3592
- const dropMenu = page.locator(".mass-send__timer .weui-desktop-dropdown-menu").locator(".weui-desktop-dropdown__list-ele");
3593
- await dropMenu.filter({
3594
- hasText: dateD == nowD ? "今天" : dateD == nowD + 1 ? "明天" : TimeFormatter.format(params.settingInfo.timer, "M月d日")
3595
- }).click();
3596
- const timeDropMenu = page.locator(".mass-send__timer .weui-desktop-picker__time:visible");
3597
- await timeDropMenu.locator(".weui-desktop-form__input").fill(TimeFormatter.format(params.settingInfo.timer, "hh:mm"));
3598
- await timeDropMenu.locator("i.weui-desktop-icon__time").click();
3599
- }
3600
2216
  });
3601
- await page.waitForTimeout(200);
3602
- if (params.masssend) {
3603
- const times = Number(await page.locator(".mass-send .multi-sent__notice_time").locator('div[style="display: none;"] div:not([style*="display: none"]) span').textContent());
3604
- if (0 == times) return {
3605
- code: 200,
3606
- message: "今日群发次数用尽,请明天再试。",
3607
- data: ""
3608
- };
3609
- await page.locator(".mass-send .mass_send__notify").locator(".weui-desktop-switch__box").check();
3610
- } else await page.locator(".mass-send .mass_send__notify").locator(".weui-desktop-switch__box").uncheck();
3611
- await page.waitForTimeout(200);
3612
2217
  await page.waitForSelector('.new_mass_send_dialog .weui-desktop-dialog__wrp:not([style*="display: none"])', {
3613
2218
  state: "visible"
3614
2219
  });
@@ -3617,19 +2222,6 @@ const weixinPublish_rpa_rpaAction = async (task, params)=>{
3617
2222
  state: "visible"
3618
2223
  });
3619
2224
  await page.locator(".double_check_dialog .weui-desktop-dialog .weui-desktop-dialog__ft button.weui-desktop-btn_primary").click();
3620
- await page.waitForTimeout(2000);
3621
- const originalCheckDialog = page.locator('div[data-transfer="true"][width\\.number="800"][height\\.number="800"] .weui-desktop-dialog__title');
3622
- if (await originalCheckDialog.count() > 0) {
3623
- if (await originalCheckDialog.textContent() === "原创校验") {
3624
- const popMassend = page.locator('div[data-transfer="true"][width\\.number="800"][height\\.number="800"]');
3625
- await popMassend.locator(".weui-desktop-btn_primary", {
3626
- hasText: "下一步"
3627
- }).click();
3628
- await popMassend.locator(".weui-desktop-btn_primary", {
3629
- hasText: "继续"
3630
- }).click();
3631
- }
3632
- }
3633
2225
  try {
3634
2226
  const startTime = Date.now();
3635
2227
  await new Promise(async (resolve, reject)=>{
@@ -4353,7 +2945,9 @@ const xiaohongshuPublish = async (task, params)=>{
4353
2945
  if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
4354
2946
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
4355
2947
  };
4356
- var package_namespaceObject = JSON.parse('{"i8":"1.2.11-beta.1"}');
2948
+ var package_namespaceObject = {
2949
+ i8: "1.2.10"
2950
+ };
4357
2951
  class Action {
4358
2952
  constructor(task){
4359
2953
  this.task = task;
@@ -4377,18 +2971,6 @@ class Action {
4377
2971
  searchToutiaoTopicList(params) {
4378
2972
  return this.bindTask(searchToutiaoTopicList, params);
4379
2973
  }
4380
- TTFansExport(params) {
4381
- return this.bindTask(TTFansExport, params);
4382
- }
4383
- XhsFansExport(params) {
4384
- return this.bindTask(XhsFansExport, params);
4385
- }
4386
- WxFansExport(params) {
4387
- return this.bindTask(WxFansExport, params);
4388
- }
4389
- BjhFansExport(params) {
4390
- return this.bindTask(BjhFansExport, params);
4391
- }
4392
2974
  getToutiaoConfig(params) {
4393
2975
  return this.bindTask(getToutiaoConfig, params);
4394
2976
  }