mng-cli 1.0.0 → 1.0.2
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.d.ts +2 -2
- package/dist/index.js +2420 -258
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,329 +1,2491 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { Buffer as Bx } from "node:buffer";
|
|
2
|
+
import H from "node:path";
|
|
3
|
+
import Re from "node:child_process";
|
|
4
|
+
import B from "node:process";
|
|
5
|
+
import Ux from "child_process";
|
|
6
|
+
import he, { dirname as jx, join as A } from "path";
|
|
7
|
+
import me, { promises as C } from "fs";
|
|
8
|
+
import { fileURLToPath as ex } from "node:url";
|
|
9
|
+
import { constants as xx, tmpdir as qx } from "os";
|
|
10
|
+
import Vx from "node:os";
|
|
11
|
+
import zx from "assert";
|
|
12
|
+
import Hx from "events";
|
|
13
|
+
import Xx from "buffer";
|
|
14
|
+
import ye from "stream";
|
|
15
|
+
import Qx from "util";
|
|
16
|
+
import { fileURLToPath as Wx } from "url";
|
|
17
|
+
function pe(x, n) {
|
|
18
|
+
return x = x - 188, a0()[x];
|
|
19
|
+
}
|
|
20
|
+
(function(x, n) {
|
|
21
|
+
const e = pe, t = x();
|
|
22
|
+
for (; ; )
|
|
23
|
+
try {
|
|
24
|
+
if (parseInt(e(213)) / 1 * (parseInt(e(218)) / 2) + parseInt(e(226)) / 3 * (parseInt(e(222)) / 4) + -parseInt(e(198)) / 5 * (-parseInt(e(207)) / 6) + parseInt(e(205)) / 7 + parseInt(e(195)) / 8 * (-parseInt(e(202)) / 9) + -parseInt(e(211)) / 10 * (-parseInt(e(215)) / 11) + -parseInt(e(203)) / 12 === n) break;
|
|
25
|
+
t.push(t.shift());
|
|
26
|
+
} catch {
|
|
27
|
+
t.push(t.shift());
|
|
28
|
+
}
|
|
29
|
+
})(a0, 654548);
|
|
30
|
+
var le;
|
|
31
|
+
(function(x) {
|
|
32
|
+
const n = pe;
|
|
33
|
+
(function(e) {
|
|
34
|
+
const t = pe;
|
|
35
|
+
e[t(196)] = { type: t(196) }, e[t(210)] = (r) => {
|
|
36
|
+
const i = t;
|
|
37
|
+
let a = e[i(196)];
|
|
38
|
+
for (let s = r[i(201)] - 1; s >= 0; s--)
|
|
39
|
+
a = { type: i(217), head: r[s], tail: a };
|
|
40
|
+
return a;
|
|
41
|
+
}, e[t(201)] = (r) => {
|
|
42
|
+
const i = t;
|
|
43
|
+
let a = r, s = 0;
|
|
44
|
+
for (; a[i(200)] !== i(196); )
|
|
45
|
+
s++, a = a.tail;
|
|
46
|
+
return s;
|
|
47
|
+
}, e[t(209)] = (r, i) => {
|
|
48
|
+
const a = t;
|
|
49
|
+
let s = r;
|
|
50
|
+
for (; ; ) {
|
|
51
|
+
let c = !1;
|
|
52
|
+
switch (s[a(200)]) {
|
|
53
|
+
case a(196): {
|
|
54
|
+
c = !0;
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
case a(217):
|
|
58
|
+
i(s[a(206)]), s = s[a(192)];
|
|
59
|
+
}
|
|
60
|
+
if (c) break;
|
|
61
|
+
}
|
|
62
|
+
}, e[t(214)] = (r, i) => {
|
|
63
|
+
const a = t;
|
|
64
|
+
let s = r, c = 0;
|
|
65
|
+
for (; ; ) {
|
|
66
|
+
let o = !1;
|
|
67
|
+
switch (s[a(200)]) {
|
|
68
|
+
case a(196): {
|
|
69
|
+
o = !0;
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
case a(217):
|
|
73
|
+
i(s[a(206)], c), c++, s = s[a(192)];
|
|
74
|
+
}
|
|
75
|
+
if (o) break;
|
|
76
|
+
}
|
|
77
|
+
}, e.map = (r, i) => {
|
|
78
|
+
const a = t;
|
|
79
|
+
let s = r, c = e[a(196)];
|
|
80
|
+
for (; ; ) {
|
|
81
|
+
let o = !1;
|
|
82
|
+
switch (s[a(200)]) {
|
|
83
|
+
case a(196): {
|
|
84
|
+
o = !0;
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
case "cons": {
|
|
88
|
+
const u = i(s[a(206)]);
|
|
89
|
+
c = { type: a(217), head: u, tail: c }, s = s[a(192)];
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
if (o) break;
|
|
93
|
+
}
|
|
94
|
+
return e[a(204)](c);
|
|
95
|
+
}, e[t(188)] = (r, i) => {
|
|
96
|
+
const a = t;
|
|
97
|
+
let s = r, c = e[a(196)], o = 0;
|
|
98
|
+
for (; ; ) {
|
|
99
|
+
let u = !1;
|
|
100
|
+
switch (s.type) {
|
|
101
|
+
case a(196): {
|
|
102
|
+
u = !0;
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
case a(217): {
|
|
106
|
+
const f = i(s[a(206)], o);
|
|
107
|
+
o++, c = { type: "cons", head: f, tail: c }, s = s.tail;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
if (u) break;
|
|
111
|
+
}
|
|
112
|
+
return e[a(204)](c);
|
|
113
|
+
}, e[t(191)] = (r) => {
|
|
114
|
+
const i = t, a = [];
|
|
115
|
+
let s = r;
|
|
116
|
+
for (; ; ) {
|
|
117
|
+
let c = !1;
|
|
118
|
+
switch (s.type) {
|
|
119
|
+
case i(196): {
|
|
120
|
+
c = !0;
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
case i(217):
|
|
124
|
+
a[i(220)](s.head), s = s.tail;
|
|
125
|
+
}
|
|
126
|
+
if (c) break;
|
|
127
|
+
}
|
|
128
|
+
return a;
|
|
129
|
+
}, e.filter = (r, i) => {
|
|
130
|
+
const a = t;
|
|
131
|
+
let s = r, c = e[a(196)];
|
|
132
|
+
for (; ; ) {
|
|
133
|
+
let o = !1;
|
|
134
|
+
switch (s.type) {
|
|
135
|
+
case a(196): {
|
|
136
|
+
o = !0;
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
case a(217):
|
|
140
|
+
i(s[a(206)]) && (c = { type: a(217), head: s.head, tail: c }), s = s[a(192)];
|
|
141
|
+
}
|
|
142
|
+
if (o) break;
|
|
143
|
+
}
|
|
144
|
+
return e[a(204)](c);
|
|
145
|
+
}, e[t(212)] = (r, i) => {
|
|
146
|
+
const a = t;
|
|
147
|
+
let s = r, c = e[a(196)], o = 0;
|
|
148
|
+
for (; ; ) {
|
|
149
|
+
let u = !1;
|
|
150
|
+
switch (s[a(200)]) {
|
|
151
|
+
case "nil": {
|
|
152
|
+
u = !0;
|
|
153
|
+
break;
|
|
154
|
+
}
|
|
155
|
+
case a(217):
|
|
156
|
+
i(s.head, o) && (c = { type: a(217), head: s[a(206)], tail: c }), s = s.tail, o++;
|
|
157
|
+
}
|
|
158
|
+
if (u) break;
|
|
159
|
+
}
|
|
160
|
+
return e[a(204)](c);
|
|
161
|
+
}, e[t(216)] = (r, i) => {
|
|
162
|
+
const a = t;
|
|
163
|
+
let s = r;
|
|
164
|
+
for (; ; ) {
|
|
165
|
+
let c = !1;
|
|
166
|
+
switch (s[a(200)]) {
|
|
167
|
+
case "nil": {
|
|
168
|
+
c = !0;
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
case a(217):
|
|
172
|
+
if (i(s[a(206)])) s = s.tail;
|
|
173
|
+
else return !1;
|
|
174
|
+
}
|
|
175
|
+
if (c) break;
|
|
176
|
+
}
|
|
177
|
+
return !0;
|
|
178
|
+
}, e.any = (r, i) => {
|
|
179
|
+
const a = t;
|
|
180
|
+
let s = r;
|
|
181
|
+
for (; ; ) {
|
|
182
|
+
let c = !1;
|
|
183
|
+
switch (s[a(200)]) {
|
|
184
|
+
case a(196): {
|
|
185
|
+
c = !0;
|
|
186
|
+
break;
|
|
187
|
+
}
|
|
188
|
+
case a(217): {
|
|
189
|
+
if (i(s[a(206)])) return !0;
|
|
190
|
+
s = s[a(192)];
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
if (c) break;
|
|
194
|
+
}
|
|
195
|
+
return !1;
|
|
196
|
+
}, e.concat = (r, i) => {
|
|
197
|
+
const a = t;
|
|
198
|
+
let s = r, c = e[a(196)], o = !1;
|
|
199
|
+
e: for (; ; )
|
|
200
|
+
switch (s.type) {
|
|
201
|
+
case "nil": {
|
|
202
|
+
if (o) break e;
|
|
203
|
+
s = i, o = !0;
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
case a(217): {
|
|
207
|
+
c = { type: a(217), head: s[a(206)], tail: c }, s = s[a(192)];
|
|
208
|
+
break;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
return e[a(204)](c);
|
|
212
|
+
}, e.reverse = (r) => {
|
|
213
|
+
const i = t;
|
|
214
|
+
let a = r, s = e[i(196)];
|
|
215
|
+
for (; ; ) {
|
|
216
|
+
let c = !1;
|
|
217
|
+
switch (a.type) {
|
|
218
|
+
case i(196): {
|
|
219
|
+
c = !0;
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
case i(217):
|
|
223
|
+
s = { type: i(217), head: a[i(206)], tail: s }, a = a[i(192)];
|
|
224
|
+
}
|
|
225
|
+
if (c) break;
|
|
226
|
+
}
|
|
227
|
+
return s;
|
|
228
|
+
}, e[t(208)] = (r, i, a) => {
|
|
229
|
+
const s = t;
|
|
230
|
+
let c = r, o = i;
|
|
231
|
+
for (; ; ) {
|
|
232
|
+
let u = !1;
|
|
233
|
+
switch (c[s(200)]) {
|
|
234
|
+
case s(196): {
|
|
235
|
+
u = !0;
|
|
236
|
+
break;
|
|
237
|
+
}
|
|
238
|
+
case "cons": {
|
|
239
|
+
o = a(o, c[s(206)]), c = c[s(192)];
|
|
240
|
+
break;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
if (u) break;
|
|
244
|
+
}
|
|
245
|
+
return o;
|
|
246
|
+
}, e[t(189)] = (r, i) => {
|
|
247
|
+
const a = t;
|
|
248
|
+
let s = r, c = i, o = e.nil;
|
|
249
|
+
for (; ; )
|
|
250
|
+
switch (s[a(200)]) {
|
|
251
|
+
case a(196):
|
|
252
|
+
switch (c.type) {
|
|
253
|
+
case a(196):
|
|
254
|
+
return e[a(204)](o);
|
|
255
|
+
case a(217):
|
|
256
|
+
throw new Error(a(219));
|
|
257
|
+
}
|
|
258
|
+
case a(217):
|
|
259
|
+
switch (c[a(200)]) {
|
|
260
|
+
case a(196):
|
|
261
|
+
throw new Error(a(219));
|
|
262
|
+
case a(217):
|
|
263
|
+
o = { type: a(217), head: [s[a(206)], c[a(206)]], tail: o }, s = s[a(192)], c = c.tail;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}, e[t(194)] = (r, i) => {
|
|
267
|
+
const a = t, s = e[a(191)](r), c = [];
|
|
268
|
+
for (const o of s)
|
|
269
|
+
if (i(o)) {
|
|
270
|
+
if (c[a(201)] === 0) continue;
|
|
271
|
+
c.push([]);
|
|
272
|
+
} else
|
|
273
|
+
c[a(201)] === 0 ? c[a(220)]([o]) : c[c[a(201)] - 1][a(220)](o);
|
|
274
|
+
return e[a(210)](c[a(223)](e[a(210)]));
|
|
275
|
+
}, e.unzip = (r) => {
|
|
276
|
+
const i = t;
|
|
277
|
+
let a = e[i(196)], s = e[i(196)], c = r;
|
|
278
|
+
for (; ; )
|
|
279
|
+
switch (c[i(200)]) {
|
|
280
|
+
case i(196):
|
|
281
|
+
return [e[i(204)](a), e[i(204)](s)];
|
|
282
|
+
case i(217): {
|
|
283
|
+
const [o, u] = c.head;
|
|
284
|
+
a = { type: "cons", head: o, tail: a }, s = { type: i(217), head: u, tail: s }, c = c.tail;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}, e[t(224)] = (r) => {
|
|
288
|
+
const i = t;
|
|
289
|
+
let a = r, s = e[i(196)];
|
|
290
|
+
for (; ; )
|
|
291
|
+
switch (a[i(200)]) {
|
|
292
|
+
case i(196):
|
|
293
|
+
return e[i(204)](s);
|
|
294
|
+
case i(217): {
|
|
295
|
+
let c = a[i(206)];
|
|
296
|
+
a = a[i(192)];
|
|
297
|
+
e: for (; ; )
|
|
298
|
+
switch (c[i(200)]) {
|
|
299
|
+
case i(196):
|
|
300
|
+
break e;
|
|
301
|
+
case "cons":
|
|
302
|
+
s = { type: i(217), head: c[i(206)], tail: s }, c = c[i(192)];
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}, e[t(225)] = (r, i) => {
|
|
307
|
+
const a = t;
|
|
308
|
+
let s;
|
|
309
|
+
switch (r[a(200)]) {
|
|
310
|
+
case a(196):
|
|
311
|
+
throw new Error("the list is empty");
|
|
312
|
+
case a(217): {
|
|
313
|
+
let c = r;
|
|
314
|
+
for (; ; )
|
|
315
|
+
switch (c[a(200)]) {
|
|
316
|
+
case a(217): {
|
|
317
|
+
s === void 0 ? (s = c[a(206)], c = c.tail) : (i(s, c.head) === -1 && (s = c[a(206)]), c = c[a(192)]);
|
|
318
|
+
break;
|
|
319
|
+
}
|
|
320
|
+
case a(196):
|
|
321
|
+
if (s !== void 0) return s;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}, e.min = (r, i) => {
|
|
326
|
+
const a = t;
|
|
327
|
+
let s;
|
|
328
|
+
switch (r.type) {
|
|
329
|
+
case "nil":
|
|
330
|
+
throw new Error(a(190));
|
|
331
|
+
case a(217): {
|
|
332
|
+
let c = r;
|
|
333
|
+
for (; ; )
|
|
334
|
+
switch (c[a(200)]) {
|
|
335
|
+
case "cons": {
|
|
336
|
+
if (s === void 0) {
|
|
337
|
+
s = c.head, c = c.tail;
|
|
338
|
+
continue;
|
|
339
|
+
} else
|
|
340
|
+
i(s, c[a(206)]) === 1 && (s = c[a(206)]), c = c[a(192)];
|
|
341
|
+
break;
|
|
342
|
+
}
|
|
343
|
+
case a(196):
|
|
344
|
+
if (s !== void 0) return s;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}, e[t(221)] = (r, i) => {
|
|
349
|
+
const a = t, s = e.toArray(r);
|
|
350
|
+
return s[a(221)](i), e.fromArray(s);
|
|
351
|
+
}, e[t(197)] = (r, i) => {
|
|
352
|
+
const a = t;
|
|
353
|
+
let s = r;
|
|
354
|
+
for (; ; )
|
|
355
|
+
switch (s[a(200)]) {
|
|
356
|
+
case a(196):
|
|
357
|
+
return !1;
|
|
358
|
+
case a(217): {
|
|
359
|
+
if (i(s[a(206)])) return !0;
|
|
360
|
+
s = s[a(192)];
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}, e[t(199)] = (r, i) => {
|
|
364
|
+
const a = t;
|
|
365
|
+
let s = e[a(196)], c = r;
|
|
366
|
+
for (; ; ) {
|
|
367
|
+
const o = i(c);
|
|
368
|
+
if (o === void 0) return e[a(204)](s);
|
|
369
|
+
{
|
|
370
|
+
const [u, f] = o;
|
|
371
|
+
c = f, s = { type: a(217), head: u, tail: s };
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
})(x[n(193)] || (x[n(193)] = {}));
|
|
376
|
+
})(le || (le = {}));
|
|
377
|
+
const Kx = le;
|
|
378
|
+
function a0() {
|
|
379
|
+
const x = ["max", "87bsLrNd", "mapi", "zip", "the list is empty", "toArray", "tail", "list", "splitBy", "3064ErFDNT", "nil", "contain", "2485HUecVJ", "unfold", "type", "length", "3231jedknQ", "37152972Qlivtm", "reverse", "9099853HMLKcM", "head", "3738ZnbJLq", "fold", "iter", "fromArray", "10CwTAaD", "filteri", "1272964qeKTjd", "iteri", "5209655PWWkHK", "all", "cons", "2UpqJsG", "the lists be zipped should have the same length", "push", "sort", "73372UScjwe", "map", "flatten"];
|
|
380
|
+
return a0 = function() {
|
|
381
|
+
return x;
|
|
382
|
+
}, a0();
|
|
383
|
+
}
|
|
384
|
+
const J = ge;
|
|
385
|
+
(function(x, n) {
|
|
386
|
+
const e = ge, t = x();
|
|
387
|
+
for (; ; )
|
|
388
|
+
try {
|
|
389
|
+
if (-parseInt(e(485)) / 1 * (parseInt(e(486)) / 2) + parseInt(e(488)) / 3 + -parseInt(e(492)) / 4 * (-parseInt(e(483)) / 5) + -parseInt(e(480)) / 6 + -parseInt(e(490)) / 7 * (parseInt(e(482)) / 8) + parseInt(e(484)) / 9 + -parseInt(e(489)) / 10 * (-parseInt(e(477)) / 11) === n) break;
|
|
390
|
+
t.push(t.shift());
|
|
391
|
+
} catch {
|
|
392
|
+
t.push(t.shift());
|
|
393
|
+
}
|
|
394
|
+
})(s0, 875062);
|
|
395
|
+
function ge(x, n) {
|
|
396
|
+
return x = x - 477, s0()[x];
|
|
397
|
+
}
|
|
398
|
+
var U;
|
|
399
|
+
(function(x) {
|
|
400
|
+
const n = ge;
|
|
401
|
+
function e(s, c, o) {
|
|
402
|
+
return s == null ? o ?? void 0 : c(s);
|
|
403
|
+
}
|
|
404
|
+
x.map = e;
|
|
405
|
+
function t(s) {
|
|
406
|
+
return s != null;
|
|
407
|
+
}
|
|
408
|
+
x.isNonNullable = t;
|
|
409
|
+
function r(s) {
|
|
410
|
+
return !t(s);
|
|
411
|
+
}
|
|
412
|
+
x[n(479)] = r;
|
|
413
|
+
function i() {
|
|
414
|
+
}
|
|
415
|
+
x[n(478)] = i;
|
|
416
|
+
function a(s, c) {
|
|
417
|
+
return r(s) ? s : c(s);
|
|
418
|
+
}
|
|
419
|
+
x[n(491)] = a;
|
|
420
|
+
})(U || (U = {}));
|
|
421
|
+
U[J(487)];
|
|
422
|
+
U[J(481)];
|
|
423
|
+
U[J(479)];
|
|
424
|
+
function s0() {
|
|
425
|
+
const x = ["map", "1775526XeoCHl", "10OYPqDT", "14QOKdqH", "flatMap", "20IxMsLW", "25133152mIHmCH", "empty", "isNullable", "3492714asdjub", "isNonNullable", "5284120gOxJfG", "1128130KbjrZW", "2565990rTfToH", "3LFmxCE", "1007802KQocgm"];
|
|
426
|
+
return s0 = function() {
|
|
427
|
+
return x;
|
|
428
|
+
}, s0();
|
|
429
|
+
}
|
|
430
|
+
U[J(478)];
|
|
431
|
+
U[J(491)];
|
|
432
|
+
const tx = c0;
|
|
433
|
+
function c0(x, n) {
|
|
434
|
+
return x = x - 394, i0()[x];
|
|
435
|
+
}
|
|
436
|
+
(function(x, n) {
|
|
437
|
+
const e = c0, t = x();
|
|
438
|
+
for (; ; )
|
|
439
|
+
try {
|
|
440
|
+
if (parseInt(e(408)) / 1 * (-parseInt(e(400)) / 2) + -parseInt(e(404)) / 3 * (-parseInt(e(410)) / 4) + -parseInt(e(402)) / 5 * (-parseInt(e(394)) / 6) + -parseInt(e(397)) / 7 + -parseInt(e(405)) / 8 * (parseInt(e(406)) / 9) + parseInt(e(396)) / 10 + parseInt(e(399)) / 11 === n) break;
|
|
441
|
+
t.push(t.shift());
|
|
442
|
+
} catch {
|
|
443
|
+
t.push(t.shift());
|
|
444
|
+
}
|
|
445
|
+
})(i0, 707895);
|
|
446
|
+
function i0() {
|
|
447
|
+
const x = ["11009010mXbhhR", "9746954CzrfLn", "type", "34011021NuUNuf", "2wVcjKP", "err", "174485ELqiNM", "isOk", "6OKltyQ", "1584Qhclig", "56961xETplB", "map", "1132142eforit", "mapErr", "97020mTOJbV", "42OfnBgR", "value"];
|
|
448
|
+
return i0 = function() {
|
|
449
|
+
return x;
|
|
450
|
+
}, i0();
|
|
451
|
+
}
|
|
452
|
+
var V;
|
|
453
|
+
(function(x) {
|
|
454
|
+
const n = c0;
|
|
455
|
+
function e(c) {
|
|
456
|
+
return { type: "ok", value: c };
|
|
457
|
+
}
|
|
458
|
+
x.ok = e;
|
|
459
|
+
function t(c) {
|
|
460
|
+
return { type: c0(401), value: c };
|
|
461
|
+
}
|
|
462
|
+
x[n(401)] = t;
|
|
463
|
+
function r(c, o, u) {
|
|
464
|
+
return c[n(398)] === "ok" ? e(o(c.value)) : u !== void 0 ? e(u) : c;
|
|
465
|
+
}
|
|
466
|
+
x[n(407)] = r;
|
|
467
|
+
function i(c, o) {
|
|
468
|
+
const u = n;
|
|
469
|
+
return c[u(398)] === u(401) ? t(o(c[u(395)])) : c;
|
|
470
|
+
}
|
|
471
|
+
x[n(409)] = i;
|
|
472
|
+
function a(c) {
|
|
473
|
+
return c[n(398)] === "ok";
|
|
474
|
+
}
|
|
475
|
+
x[n(403)] = a;
|
|
476
|
+
function s(c) {
|
|
477
|
+
return c[n(398)] === "err";
|
|
478
|
+
}
|
|
479
|
+
x.isErr = s;
|
|
480
|
+
})(V || (V = {}));
|
|
481
|
+
V.ok;
|
|
482
|
+
V[tx(401)];
|
|
483
|
+
V.map;
|
|
484
|
+
V[tx(409)];
|
|
485
|
+
const h = Z;
|
|
486
|
+
(function(x, n) {
|
|
487
|
+
const e = Z, t = x();
|
|
488
|
+
for (; ; )
|
|
489
|
+
try {
|
|
490
|
+
if (parseInt(e(471)) / 1 * (-parseInt(e(474)) / 2) + parseInt(e(484)) / 3 * (parseInt(e(495)) / 4) + -parseInt(e(485)) / 5 * (-parseInt(e(464)) / 6) + -parseInt(e(458)) / 7 * (-parseInt(e(461)) / 8) + parseInt(e(483)) / 9 + -parseInt(e(494)) / 10 + -parseInt(e(476)) / 11 === n) break;
|
|
491
|
+
t.push(t.shift());
|
|
492
|
+
} catch {
|
|
493
|
+
t.push(t.shift());
|
|
494
|
+
}
|
|
495
|
+
})(o0, 419670);
|
|
496
|
+
function o0() {
|
|
497
|
+
const x = ["make", "ModuleOption", "some", "3173058UplsvX", "3tVSFsu", "1759045DopdGF", "get", "expect", "isOk", "unwrap", "isSome", "map", "block", "this.value is None", "5864300NYjMRz", "2522128dWjwRz", "getError", "keys", "unwrapOr", "mapOrElse", "150465vfMoKr", "value", "type", "88TodAax", "ModuleResult", "unwrapOrElse", "12LuSluy", "isErr", "isNotNull", "push", "err", "tag", "flatMap", "39769TbCvSI", "this.value is undefined", "pipe", "22rQMRRU", "error", "5275578rbcYUA", "none", "mapOr", "result"];
|
|
498
|
+
return o0 = function() {
|
|
499
|
+
return x;
|
|
500
|
+
}, o0();
|
|
501
|
+
}
|
|
502
|
+
var f0;
|
|
503
|
+
(function(x) {
|
|
504
|
+
const n = Z;
|
|
505
|
+
(function(t) {
|
|
506
|
+
const r = Z;
|
|
507
|
+
function i(a) {
|
|
508
|
+
return { x: a, to(s) {
|
|
509
|
+
return i(s(a));
|
|
510
|
+
} };
|
|
511
|
+
}
|
|
512
|
+
t[r(480)] = i;
|
|
513
|
+
})(x[n(473)] || (x[n(473)] = {})), (function(t) {
|
|
514
|
+
const r = n;
|
|
515
|
+
function i(s, c) {
|
|
516
|
+
const o = Z;
|
|
517
|
+
switch (s[o(460)]) {
|
|
518
|
+
case "ok":
|
|
519
|
+
return { type: "ok", value: c(s.value) };
|
|
520
|
+
case o(468):
|
|
521
|
+
return s;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
t[r(491)] = i;
|
|
525
|
+
function a(s, c) {
|
|
526
|
+
const o = r;
|
|
527
|
+
switch (s[o(460)]) {
|
|
528
|
+
case "ok":
|
|
529
|
+
return c(s[o(459)]);
|
|
530
|
+
case o(468):
|
|
531
|
+
return s;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
t.flatMap = a;
|
|
535
|
+
})(x[n(479)] || (x.result = {}));
|
|
536
|
+
function e(t) {
|
|
537
|
+
return t();
|
|
538
|
+
}
|
|
539
|
+
x[n(492)] = e, x[n(466)] = (t) => t != null, x.ds = Kx;
|
|
540
|
+
})(f0 || (f0 = {}));
|
|
541
|
+
function Z(x, n) {
|
|
542
|
+
return x = x - 457, o0()[x];
|
|
543
|
+
}
|
|
544
|
+
f0.isNotNull;
|
|
545
|
+
f0[h(492)];
|
|
546
|
+
class R {
|
|
547
|
+
constructor(n, e, t) {
|
|
548
|
+
const r = h;
|
|
549
|
+
this[r(469)] = n, this.value = e, this.error = t;
|
|
550
|
+
}
|
|
551
|
+
static ok(n) {
|
|
552
|
+
return new R(0, n, void 0);
|
|
553
|
+
}
|
|
554
|
+
static err(n) {
|
|
555
|
+
return new R(1, void 0, n);
|
|
556
|
+
}
|
|
557
|
+
isOk() {
|
|
558
|
+
return this.tag === 0;
|
|
559
|
+
}
|
|
560
|
+
[h(465)]() {
|
|
561
|
+
return this[h(469)] === 1;
|
|
562
|
+
}
|
|
563
|
+
[h(489)]() {
|
|
564
|
+
const n = h;
|
|
565
|
+
if (this.isOk()) return this[n(459)];
|
|
566
|
+
throw new Error(n(472));
|
|
567
|
+
}
|
|
568
|
+
[h(496)]() {
|
|
569
|
+
const n = h;
|
|
570
|
+
if (this[n(465)]()) return this[n(475)];
|
|
571
|
+
throw new Error("the result is not err but called getError");
|
|
572
|
+
}
|
|
573
|
+
[h(498)](n) {
|
|
574
|
+
const e = h;
|
|
575
|
+
return this[e(488)]() ? this[e(459)] : n;
|
|
576
|
+
}
|
|
577
|
+
[h(463)](n) {
|
|
578
|
+
const e = h;
|
|
579
|
+
return this[e(488)]() ? this[e(459)] : n();
|
|
580
|
+
}
|
|
581
|
+
[h(487)](n) {
|
|
582
|
+
const e = h;
|
|
583
|
+
if (this[e(488)]()) return this[e(459)];
|
|
584
|
+
throw new Error(n);
|
|
585
|
+
}
|
|
586
|
+
[h(491)](n) {
|
|
587
|
+
const e = h;
|
|
588
|
+
return this[e(488)]() ? R.ok(n(this.value)) : R[e(468)](this.getError());
|
|
589
|
+
}
|
|
590
|
+
[h(470)](n) {
|
|
591
|
+
const e = h;
|
|
592
|
+
return this[e(488)]() ? n(this.value) : R.err(this[e(496)]());
|
|
593
|
+
}
|
|
594
|
+
mapOr(n, e) {
|
|
595
|
+
const t = h;
|
|
596
|
+
return this[t(488)]() ? e(this[t(459)]) : n;
|
|
597
|
+
}
|
|
598
|
+
[h(457)](n, e) {
|
|
599
|
+
const t = h;
|
|
600
|
+
return this[t(488)]() ? e(this[t(459)]) : n();
|
|
601
|
+
}
|
|
602
|
+
mapErr(n) {
|
|
603
|
+
const e = h;
|
|
604
|
+
return this.isErr() ? R[e(468)](n(this[e(475)])) : R.ok(this[e(489)]());
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
class W {
|
|
608
|
+
constructor(n) {
|
|
609
|
+
const e = h;
|
|
610
|
+
this[e(459)] = n;
|
|
611
|
+
}
|
|
612
|
+
static [h(482)](n) {
|
|
613
|
+
return new W(n);
|
|
614
|
+
}
|
|
615
|
+
static [h(477)]() {
|
|
616
|
+
return new W(void 0);
|
|
617
|
+
}
|
|
618
|
+
[h(490)]() {
|
|
619
|
+
return this.value !== void 0;
|
|
620
|
+
}
|
|
621
|
+
isNone() {
|
|
622
|
+
return this[h(459)] === void 0;
|
|
623
|
+
}
|
|
624
|
+
[h(489)]() {
|
|
625
|
+
const n = h;
|
|
626
|
+
if (this[n(459)] !== void 0) return this[n(459)];
|
|
627
|
+
throw new Error(n(493));
|
|
628
|
+
}
|
|
629
|
+
[h(487)](n) {
|
|
630
|
+
const e = h;
|
|
631
|
+
if (this[e(459)] !== void 0) return this[e(459)];
|
|
632
|
+
throw new Error(n);
|
|
633
|
+
}
|
|
634
|
+
[h(498)](n) {
|
|
635
|
+
const e = h;
|
|
636
|
+
return this[e(490)]() ? this[e(459)] : n;
|
|
637
|
+
}
|
|
638
|
+
[h(463)](n) {
|
|
639
|
+
const e = h;
|
|
640
|
+
return this[e(490)]() ? this[e(459)] : n();
|
|
641
|
+
}
|
|
642
|
+
[h(491)](n) {
|
|
643
|
+
const e = h;
|
|
644
|
+
return this[e(490)]() ? W[e(482)](n(this[e(459)])) : W[e(477)]();
|
|
645
|
+
}
|
|
646
|
+
[h(478)](n, e) {
|
|
647
|
+
const t = h;
|
|
648
|
+
return this[t(490)]() ? e(this[t(459)]) : n;
|
|
649
|
+
}
|
|
650
|
+
[h(457)](n, e) {
|
|
651
|
+
return this[h(490)]() ? e(this.value) : n();
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
class be {
|
|
655
|
+
constructor(n) {
|
|
656
|
+
const e = h;
|
|
657
|
+
this[e(459)] = n;
|
|
658
|
+
}
|
|
659
|
+
static of(n) {
|
|
660
|
+
return new be(n);
|
|
661
|
+
}
|
|
662
|
+
next(n) {
|
|
663
|
+
return new be(n(this.value));
|
|
664
|
+
}
|
|
665
|
+
[h(486)]() {
|
|
666
|
+
return this[h(459)];
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
class er {
|
|
670
|
+
static [h(497)](n) {
|
|
671
|
+
const e = h, t = Object[e(497)](n), r = (a) => n.hasOwnProperty(a), i = [];
|
|
672
|
+
for (const a of t)
|
|
673
|
+
r(a) && i[e(467)](a);
|
|
674
|
+
return i;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
var ke;
|
|
678
|
+
(function(x) {
|
|
679
|
+
const n = h;
|
|
680
|
+
x[n(481)] = U, x[n(462)] = V;
|
|
681
|
+
})(ke || (ke = {}));
|
|
682
|
+
var u0 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
683
|
+
function $(x) {
|
|
684
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x.default : x;
|
|
685
|
+
}
|
|
686
|
+
function Yx(x) {
|
|
687
|
+
return x && Object.prototype.hasOwnProperty.call(x, "default") ? x.default : x;
|
|
688
|
+
}
|
|
689
|
+
function Zx(x) {
|
|
690
|
+
return x && Object.prototype.hasOwnProperty.call(x, "default") && Object.keys(x).length === 1 ? x.default : x;
|
|
691
|
+
}
|
|
692
|
+
function Jx(x) {
|
|
693
|
+
if (Object.prototype.hasOwnProperty.call(x, "__esModule")) return x;
|
|
694
|
+
var n = x.default;
|
|
695
|
+
if (typeof n == "function") {
|
|
696
|
+
var e = function t() {
|
|
697
|
+
return this instanceof t ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
|
|
698
|
+
};
|
|
699
|
+
e.prototype = n.prototype;
|
|
700
|
+
} else e = {};
|
|
701
|
+
return Object.defineProperty(e, "__esModule", { value: !0 }), Object.keys(x).forEach(function(t) {
|
|
702
|
+
var r = Object.getOwnPropertyDescriptor(x, t);
|
|
703
|
+
Object.defineProperty(e, t, r.get ? r : {
|
|
704
|
+
enumerable: !0,
|
|
705
|
+
get: function() {
|
|
706
|
+
return x[t];
|
|
707
|
+
}
|
|
708
|
+
});
|
|
709
|
+
}), e;
|
|
710
|
+
}
|
|
711
|
+
const Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
712
|
+
__proto__: null,
|
|
713
|
+
commonjsGlobal: u0,
|
|
714
|
+
getAugmentedNamespace: Jx,
|
|
715
|
+
getDefaultExportFromCjs: $,
|
|
716
|
+
getDefaultExportFromNamespaceIfNotNamed: Zx,
|
|
717
|
+
getDefaultExportFromNamespaceIfPresent: Yx
|
|
718
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
719
|
+
var D = { exports: {} };
|
|
720
|
+
(function(x, n) {
|
|
721
|
+
for (var e = nx, t = x(); ; )
|
|
722
|
+
try {
|
|
723
|
+
var r = parseInt(e(153)) / 1 + -parseInt(e(144)) / 2 + parseInt(e(140)) / 3 * (-parseInt(e(136)) / 4) + -parseInt(e(152)) / 5 * (parseInt(e(139)) / 6) + parseInt(e(149)) / 7 + -parseInt(e(146)) / 8 + -parseInt(e(147)) / 9 * (-parseInt(e(135)) / 10);
|
|
724
|
+
if (r === n) break;
|
|
725
|
+
t.push(t.shift());
|
|
726
|
+
} catch {
|
|
727
|
+
t.push(t.shift());
|
|
728
|
+
}
|
|
729
|
+
})(d0, 560162);
|
|
730
|
+
var J0, Pe;
|
|
731
|
+
function $x() {
|
|
732
|
+
var x = nx;
|
|
733
|
+
if (Pe) return J0;
|
|
734
|
+
Pe = 1, J0 = r, r[x(145)] = i;
|
|
735
|
+
var n = me;
|
|
736
|
+
function e(a, s) {
|
|
737
|
+
var c = x, o = s[c(137)] !== void 0 ? s[c(137)] : process[c(138)][c(148)];
|
|
738
|
+
if (!o || (o = o[c(150)](";"), o.indexOf("") !== -1)) return !0;
|
|
739
|
+
for (var u = 0; u < o[c(133)]; u++) {
|
|
740
|
+
var f = o[u][c(134)]();
|
|
741
|
+
if (f && a[c(143)](-f[c(133)])[c(134)]() === f) return !0;
|
|
742
|
+
}
|
|
743
|
+
return !1;
|
|
744
|
+
}
|
|
745
|
+
function t(a, s, c) {
|
|
746
|
+
var o = x;
|
|
747
|
+
return !a[o(142)]() && !a.isFile() ? !1 : e(s, c);
|
|
748
|
+
}
|
|
749
|
+
function r(a, s, c) {
|
|
750
|
+
var o = x;
|
|
751
|
+
n[o(151)](a, function(u, f) {
|
|
752
|
+
c(u, u ? !1 : t(f, a, s));
|
|
753
|
+
});
|
|
754
|
+
}
|
|
755
|
+
function i(a, s) {
|
|
756
|
+
var c = x;
|
|
757
|
+
return t(n[c(141)](a), a, s);
|
|
758
|
+
}
|
|
759
|
+
return J0;
|
|
760
|
+
}
|
|
761
|
+
function d0() {
|
|
762
|
+
var x = ["984QyyFMd", "pathExt", "env", "58260eakHds", "1461WVzdZE", "statSync", "isSymbolicLink", "substr", "264926wQxmPR", "sync", "517536oicSdc", "4541436vfbSIr", "PATHEXT", "3524521SRtQRL", "split", "stat", "530KiPtye", "393668uGMQEJ", "length", "toLowerCase", "20KxxFwt"];
|
|
763
|
+
return d0 = function() {
|
|
764
|
+
return x;
|
|
765
|
+
}, d0();
|
|
766
|
+
}
|
|
767
|
+
function nx(x, n) {
|
|
768
|
+
x = x - 133;
|
|
769
|
+
var e = d0(), t = e[x];
|
|
770
|
+
return t;
|
|
771
|
+
}
|
|
772
|
+
(function(x, n) {
|
|
773
|
+
for (var e = K, t = x(); ; )
|
|
774
|
+
try {
|
|
775
|
+
var r = -parseInt(e(404)) / 1 * (-parseInt(e(392)) / 2) + parseInt(e(396)) / 3 * (parseInt(e(399)) / 4) + -parseInt(e(395)) / 5 + parseInt(e(406)) / 6 + -parseInt(e(402)) / 7 * (parseInt(e(400)) / 8) + parseInt(e(405)) / 9 + parseInt(e(407)) / 10 * (-parseInt(e(394)) / 11);
|
|
776
|
+
if (r === n) break;
|
|
777
|
+
t.push(t.shift());
|
|
778
|
+
} catch {
|
|
779
|
+
t.push(t.shift());
|
|
780
|
+
}
|
|
781
|
+
})(p0, 514365);
|
|
782
|
+
function K(x, n) {
|
|
783
|
+
x = x - 391;
|
|
784
|
+
var e = p0(), t = e[x];
|
|
785
|
+
return t;
|
|
786
|
+
}
|
|
787
|
+
var $0, Ne;
|
|
788
|
+
function p0() {
|
|
789
|
+
var x = ["1263972SfzcEt", "1309730NkNSfY", "gid", "getgid", "isFile", "126406BUeUPG", "statSync", "55GdwqnW", "1433005afeyDu", "6apksEP", "mode", "uid", "1606148FyvEJC", "176YbMOyA", "getuid", "202314lxDTRu", "stat", "1xzeClk", "9132624bmMFAm"];
|
|
790
|
+
return p0 = function() {
|
|
791
|
+
return x;
|
|
792
|
+
}, p0();
|
|
793
|
+
}
|
|
794
|
+
function et() {
|
|
795
|
+
if (Ne) return $0;
|
|
796
|
+
Ne = 1, $0 = n, n.sync = e;
|
|
797
|
+
var x = me;
|
|
798
|
+
function n(i, a, s) {
|
|
799
|
+
var c = K;
|
|
800
|
+
x[c(403)](i, function(o, u) {
|
|
801
|
+
s(o, o ? !1 : t(u, a));
|
|
802
|
+
});
|
|
803
|
+
}
|
|
804
|
+
function e(i, a) {
|
|
805
|
+
var s = K;
|
|
806
|
+
return t(x[s(393)](i), a);
|
|
807
|
+
}
|
|
808
|
+
function t(i, a) {
|
|
809
|
+
var s = K;
|
|
810
|
+
return i[s(391)]() && r(i, a);
|
|
811
|
+
}
|
|
812
|
+
function r(i, a) {
|
|
813
|
+
var s = K, c = i[s(397)], o = i[s(398)], u = i.gid, f = a[s(398)] !== void 0 ? a[s(398)] : process.getuid && process[s(401)](), p = a[s(408)] !== void 0 ? a[s(408)] : process.getgid && process[s(409)](), I = parseInt("100", 8), m = parseInt("010", 8), g = parseInt("001", 8), w = I | m, _ = c & g || c & m && u === p || c & I && o === f || c & w && f === 0;
|
|
814
|
+
return _;
|
|
815
|
+
}
|
|
816
|
+
return $0;
|
|
817
|
+
}
|
|
818
|
+
(function(x, n) {
|
|
819
|
+
for (var e = rx, t = x(); ; )
|
|
820
|
+
try {
|
|
821
|
+
var r = -parseInt(e(422)) / 1 + parseInt(e(420)) / 2 + -parseInt(e(423)) / 3 + -parseInt(e(431)) / 4 + parseInt(e(425)) / 5 * (-parseInt(e(417)) / 6) + parseInt(e(419)) / 7 + -parseInt(e(430)) / 8 * (-parseInt(e(418)) / 9);
|
|
822
|
+
if (r === n) break;
|
|
823
|
+
t.push(t.shift());
|
|
824
|
+
} catch {
|
|
825
|
+
t.push(t.shift());
|
|
826
|
+
}
|
|
827
|
+
})(l0, 344265);
|
|
828
|
+
var ee, Ge;
|
|
829
|
+
function rx(x, n) {
|
|
830
|
+
x = x - 416;
|
|
831
|
+
var e = l0(), t = e[x];
|
|
832
|
+
return t;
|
|
833
|
+
}
|
|
834
|
+
function xt() {
|
|
835
|
+
var x = rx;
|
|
836
|
+
if (Ge) return ee;
|
|
837
|
+
Ge = 1;
|
|
838
|
+
var n;
|
|
839
|
+
process.platform === x(427) || u0[x(428)] ? n = $x() : n = et(), ee = e, e[x(421)] = t;
|
|
840
|
+
function e(r, i, a) {
|
|
841
|
+
var s = x;
|
|
842
|
+
if (typeof i === s(424) && (a = i, i = {}), !a) {
|
|
843
|
+
if (typeof Promise !== s(424)) throw new TypeError(s(429));
|
|
844
|
+
return new Promise(function(c, o) {
|
|
845
|
+
e(r, i || {}, function(u, f) {
|
|
846
|
+
u ? o(u) : c(f);
|
|
847
|
+
});
|
|
848
|
+
});
|
|
849
|
+
}
|
|
850
|
+
n(r, i || {}, function(c, o) {
|
|
851
|
+
var u = s;
|
|
852
|
+
c && (c[u(416)] === u(426) || i && i.ignoreErrors) && (c = null, o = !1), a(c, o);
|
|
853
|
+
});
|
|
854
|
+
}
|
|
855
|
+
function t(r, i) {
|
|
856
|
+
var a = x;
|
|
857
|
+
try {
|
|
858
|
+
return n[a(421)](r, i || {});
|
|
859
|
+
} catch (s) {
|
|
860
|
+
if (i && i.ignoreErrors || s[a(416)] === a(426)) return !1;
|
|
861
|
+
throw s;
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
return ee;
|
|
865
|
+
}
|
|
866
|
+
function l0() {
|
|
867
|
+
var x = ["1147448emCUSn", "code", "1595712MkFREW", "12609YTVQfP", "3642982snvUVD", "1192356DJJSwk", "sync", "183255lvPCHG", "180261xKdACN", "function", "5irfqBh", "EACCES", "win32", "TESTING_WINDOWS", "callback not provided", "136aeftFR"];
|
|
868
|
+
return l0 = function() {
|
|
869
|
+
return x;
|
|
870
|
+
}, l0();
|
|
871
|
+
}
|
|
872
|
+
(function(x, n) {
|
|
873
|
+
const e = ax, t = x();
|
|
874
|
+
for (; ; )
|
|
875
|
+
try {
|
|
876
|
+
if (parseInt(e(356)) / 1 * (parseInt(e(370)) / 2) + parseInt(e(351)) / 3 * (parseInt(e(345)) / 4) + parseInt(e(366)) / 5 * (parseInt(e(352)) / 6) + parseInt(e(369)) / 7 + parseInt(e(357)) / 8 + parseInt(e(350)) / 9 + -parseInt(e(340)) / 10 === n) break;
|
|
877
|
+
t.push(t.shift());
|
|
878
|
+
} catch {
|
|
879
|
+
t.push(t.shift());
|
|
880
|
+
}
|
|
881
|
+
})(b0, 513291);
|
|
882
|
+
var xe, Le;
|
|
883
|
+
function ax(x, n) {
|
|
884
|
+
return x = x - 338, b0()[x];
|
|
885
|
+
}
|
|
886
|
+
function b0() {
|
|
887
|
+
const x = ["indexOf", "3zqKecL", "6745976bzxJwt", "PATHEXT", "env", "function", "join", "cwd", "unshift", "platform", "sync", "5tIkVtJ", "match", "pathExt", "674870xjiHjI", "566942mLyOJH", "msys", "push", "23238870rKyKkC", "cygwin", "win32", "nothrow", "PATH", "4cOArYY", "all", "test", "OSTYPE", "length", "4625478DBWRDf", "32925AhRARH", "3133146Fltmae", "slice", "split"];
|
|
888
|
+
return b0 = function() {
|
|
889
|
+
return x;
|
|
890
|
+
}, b0();
|
|
891
|
+
}
|
|
892
|
+
function tt() {
|
|
893
|
+
const x = ax;
|
|
894
|
+
if (Le) return xe;
|
|
895
|
+
Le = 1;
|
|
896
|
+
const n = process[x(364)] === x(342) || process[x(359)][x(348)] === x(341) || process.env[x(348)] === x(338), e = he, t = n ? ";" : ":", r = xt(), i = (o) => Object.assign(new Error("not found: " + o), { code: "ENOENT" }), a = (o, u) => {
|
|
897
|
+
const f = x, p = u.colon || t, I = o[f(367)](/\//) || n && o.match(/\\/) ? [""] : [...n ? [process[f(362)]()] : [], ...(u.path || process.env[f(344)] || "").split(p)], m = n ? u[f(368)] || process[f(359)][f(358)] || ".EXE;.CMD;.BAT;.COM" : "", g = n ? m[f(354)](p) : [""];
|
|
898
|
+
return n && o[f(355)](".") !== -1 && g[0] !== "" && g[f(363)](""), { pathEnv: I, pathExt: g, pathExtExe: m };
|
|
899
|
+
}, s = (o, u, f) => {
|
|
900
|
+
const p = x;
|
|
901
|
+
typeof u === p(360) && (f = u, u = {}), u || (u = {});
|
|
902
|
+
const { pathEnv: I, pathExt: m, pathExtExe: g } = a(o, u), w = [], _ = (b) => new Promise((y, E) => {
|
|
903
|
+
const v = p;
|
|
904
|
+
if (b === I.length) return u[v(346)] && w.length ? y(w) : E(i(o));
|
|
905
|
+
const O = I[b], T = /^".*"$/[v(347)](O) ? O[v(353)](1, -1) : O, k = e[v(361)](T, o), z = !T && /^\.[\\\/]/[v(347)](o) ? o[v(353)](0, 2) + k : k;
|
|
906
|
+
y(l(z, b, 0));
|
|
907
|
+
}), l = (b, y, E) => new Promise((v, O) => {
|
|
908
|
+
const T = p;
|
|
909
|
+
if (E === m[T(349)]) return v(_(y + 1));
|
|
910
|
+
const k = m[E];
|
|
911
|
+
r(b + k, { pathExt: g }, (z, Dx) => {
|
|
912
|
+
const Mx = T;
|
|
913
|
+
if (!z && Dx)
|
|
914
|
+
if (u[Mx(346)]) w.push(b + k);
|
|
915
|
+
else return v(b + k);
|
|
916
|
+
return v(l(b, y, E + 1));
|
|
917
|
+
});
|
|
918
|
+
});
|
|
919
|
+
return f ? _(0).then((b) => f(null, b), f) : _(0);
|
|
920
|
+
}, c = (o, u) => {
|
|
921
|
+
const f = x;
|
|
922
|
+
u = u || {};
|
|
923
|
+
const { pathEnv: p, pathExt: I, pathExtExe: m } = a(o, u), g = [];
|
|
924
|
+
for (let w = 0; w < p.length; w++) {
|
|
925
|
+
const _ = p[w], l = /^".*"$/[f(347)](_) ? _[f(353)](1, -1) : _, b = e.join(l, o), y = !l && /^\.[\\\/]/.test(o) ? o[f(353)](0, 2) + b : b;
|
|
926
|
+
for (let E = 0; E < I[f(349)]; E++) {
|
|
927
|
+
const v = y + I[E];
|
|
928
|
+
try {
|
|
929
|
+
if (r[f(365)](v, { pathExt: m }))
|
|
930
|
+
if (u[f(346)]) g[f(339)](v);
|
|
931
|
+
else return v;
|
|
932
|
+
} catch {
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
if (u[f(346)] && g.length) return g;
|
|
937
|
+
if (u[f(343)]) return null;
|
|
938
|
+
throw i(o);
|
|
939
|
+
};
|
|
940
|
+
return xe = s, s[x(365)] = c, xe;
|
|
941
|
+
}
|
|
942
|
+
var Y = { exports: {} };
|
|
943
|
+
const sx = cx;
|
|
944
|
+
function _0() {
|
|
945
|
+
const x = ["4092890ydNVMC", "1198150CEuYyi", "1060288zEzHVE", "Path", "221624regdnE", "toUpperCase", "env", "keys", "reverse", "396261jCslsD", "use strict", "exports", "28Dnbaix", "platform", "432078WtkKbm", "2539wvZaJf", "244kIEGHe", "PATH", "9QZxObT"];
|
|
946
|
+
return _0 = function() {
|
|
947
|
+
return x;
|
|
948
|
+
}, _0();
|
|
949
|
+
}
|
|
950
|
+
(function(x, n) {
|
|
951
|
+
const e = cx, t = x();
|
|
952
|
+
for (; ; )
|
|
953
|
+
try {
|
|
954
|
+
if (-parseInt(e(107)) / 1 * (-parseInt(e(108)) / 2) + parseInt(e(101)) / 3 + -parseInt(e(113)) / 4 + parseInt(e(112)) / 5 + parseInt(e(106)) / 6 + parseInt(e(104)) / 7 * (parseInt(e(115)) / 8) + -parseInt(e(110)) / 9 * (parseInt(e(111)) / 10) === n) break;
|
|
955
|
+
t.push(t.shift());
|
|
956
|
+
} catch {
|
|
957
|
+
t.push(t.shift());
|
|
958
|
+
}
|
|
959
|
+
})(_0, 189939);
|
|
960
|
+
Y[sx(103)];
|
|
961
|
+
var Ce;
|
|
962
|
+
function nt() {
|
|
963
|
+
const x = sx;
|
|
964
|
+
if (Ce) return Y.exports;
|
|
965
|
+
Ce = 1, x(102);
|
|
966
|
+
const n = (e = {}) => {
|
|
967
|
+
const t = x, r = e[t(117)] || process[t(117)];
|
|
968
|
+
return (e[t(105)] || process.platform) !== "win32" ? t(109) : Object[t(118)](r)[t(100)]().find((a) => a[t(116)]() === t(109)) || t(114);
|
|
969
|
+
};
|
|
970
|
+
return Y[x(103)] = n, Y[x(103)].default = n, Y[x(103)];
|
|
971
|
+
}
|
|
972
|
+
function cx(x, n) {
|
|
973
|
+
return x = x - 100, _0()[x];
|
|
974
|
+
}
|
|
975
|
+
(function(x, n) {
|
|
976
|
+
const e = ix, t = x();
|
|
977
|
+
for (; ; )
|
|
978
|
+
try {
|
|
979
|
+
if (-parseInt(e(507)) / 1 * (parseInt(e(502)) / 2) + -parseInt(e(508)) / 3 + parseInt(e(498)) / 4 + parseInt(e(500)) / 5 + -parseInt(e(510)) / 6 + parseInt(e(515)) / 7 * (parseInt(e(504)) / 8) + parseInt(e(506)) / 9 * (-parseInt(e(499)) / 10) === n) break;
|
|
980
|
+
t.push(t.shift());
|
|
981
|
+
} catch {
|
|
982
|
+
t.push(t.shift());
|
|
983
|
+
}
|
|
984
|
+
})(I0, 855353);
|
|
985
|
+
function I0() {
|
|
986
|
+
const x = ["72iDBFlp", "103RicxbJ", "55683eRcSEU", "disabled", "4323792JRatcs", "env", "options", "command", "use strict", "10411198GVrDYn", "chdir", "5037400LCdPnB", "1980450WikknQ", "5148725MHycLC", "resolve", "11602oaRkDL", "delimiter", "8VepHSZ", "cwd"];
|
|
987
|
+
return I0 = function() {
|
|
988
|
+
return x;
|
|
989
|
+
}, I0();
|
|
990
|
+
}
|
|
991
|
+
function ix(x, n) {
|
|
992
|
+
return x = x - 497, I0()[x];
|
|
993
|
+
}
|
|
994
|
+
var te, Fe;
|
|
995
|
+
function rt() {
|
|
996
|
+
const x = ix;
|
|
997
|
+
if (Fe) return te;
|
|
998
|
+
Fe = 1, x(514);
|
|
999
|
+
const n = he, e = tt(), t = nt();
|
|
1000
|
+
function r(a, s) {
|
|
1001
|
+
const c = x, o = a[c(512)][c(511)] || process[c(511)], u = process[c(505)](), f = a.options[c(505)] != null, p = f && process.chdir !== void 0 && !process[c(497)][c(509)];
|
|
1002
|
+
if (p) try {
|
|
1003
|
+
process.chdir(a[c(512)][c(505)]);
|
|
1004
|
+
} catch {
|
|
1005
|
+
}
|
|
1006
|
+
let I;
|
|
1007
|
+
try {
|
|
1008
|
+
I = e.sync(a[c(513)], { path: o[t({ env: o })], pathExt: s ? n[c(503)] : void 0 });
|
|
1009
|
+
} catch {
|
|
1010
|
+
} finally {
|
|
1011
|
+
p && process[c(497)](u);
|
|
1012
|
+
}
|
|
1013
|
+
return I && (I = n[c(501)](f ? a.options[c(505)] : "", I)), I;
|
|
1014
|
+
}
|
|
1015
|
+
function i(a) {
|
|
1016
|
+
return r(a) || r(a, !0);
|
|
1017
|
+
}
|
|
1018
|
+
return te = i, te;
|
|
1019
|
+
}
|
|
1020
|
+
var x0 = {};
|
|
1021
|
+
(function(x, n) {
|
|
1022
|
+
for (var e = ox, t = x(); ; )
|
|
1023
|
+
try {
|
|
1024
|
+
var r = parseInt(e(485)) / 1 + parseInt(e(492)) / 2 + -parseInt(e(494)) / 3 + -parseInt(e(496)) / 4 + -parseInt(e(491)) / 5 + parseInt(e(488)) / 6 + -parseInt(e(490)) / 7;
|
|
1025
|
+
if (r === n) break;
|
|
1026
|
+
t.push(t.shift());
|
|
1027
|
+
} catch {
|
|
1028
|
+
t.push(t.shift());
|
|
1029
|
+
}
|
|
1030
|
+
})(h0, 463979);
|
|
1031
|
+
var De;
|
|
1032
|
+
function at() {
|
|
1033
|
+
var x = ox;
|
|
1034
|
+
if (De) return x0;
|
|
1035
|
+
De = 1, x(489);
|
|
1036
|
+
const n = /([()\][%!^"`<>&|;, *?])/g;
|
|
1037
|
+
function e(r) {
|
|
1038
|
+
var i = x;
|
|
1039
|
+
return r = r[i(495)](n, i(486)), r;
|
|
1040
|
+
}
|
|
1041
|
+
function t(r, i) {
|
|
1042
|
+
var a = x;
|
|
1043
|
+
return r = "" + r, r = r.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"'), r = r.replace(/(?=(\\+?)?)\1$/, a(493)), r = '"' + r + '"', r = r.replace(n, a(486)), i && (r = r[a(495)](n, a(486))), r;
|
|
1044
|
+
}
|
|
1045
|
+
return x0.command = e, x0[x(487)] = t, x0;
|
|
1046
|
+
}
|
|
1047
|
+
function ox(x, n) {
|
|
1048
|
+
x = x - 485;
|
|
1049
|
+
var e = h0(), t = e[x];
|
|
1050
|
+
return t;
|
|
1051
|
+
}
|
|
1052
|
+
function h0() {
|
|
1053
|
+
var x = ["259885DMuFTf", "173350OMdkXJ", "$1$1", "180585rIZVAa", "replace", "362912ijYNhL", "730639ADQCOk", "^$1", "argument", "4541292SDwJXn", "use strict", "6351219xvAkHc"];
|
|
1054
|
+
return h0 = function() {
|
|
1055
|
+
return x;
|
|
1056
|
+
}, h0();
|
|
1057
|
+
}
|
|
1058
|
+
(function(x, n) {
|
|
1059
|
+
for (var e = fx, t = x(); ; )
|
|
1060
|
+
try {
|
|
1061
|
+
var r = -parseInt(e(339)) / 1 * (parseInt(e(329)) / 2) + parseInt(e(331)) / 3 + -parseInt(e(337)) / 4 + -parseInt(e(334)) / 5 + -parseInt(e(338)) / 6 * (parseInt(e(332)) / 7) + -parseInt(e(333)) / 8 * (-parseInt(e(335)) / 9) + -parseInt(e(330)) / 10 * (-parseInt(e(328)) / 11);
|
|
1062
|
+
if (r === n) break;
|
|
1063
|
+
t.push(t.shift());
|
|
1064
|
+
} catch {
|
|
1065
|
+
t.push(t.shift());
|
|
1066
|
+
}
|
|
1067
|
+
})(m0, 735984);
|
|
1068
|
+
function fx(x, n) {
|
|
1069
|
+
x = x - 328;
|
|
1070
|
+
var e = m0(), t = e[x];
|
|
1071
|
+
return t;
|
|
1072
|
+
}
|
|
1073
|
+
var ne, Me;
|
|
1074
|
+
function st() {
|
|
1075
|
+
var x = fx;
|
|
1076
|
+
return Me || (Me = 1, x(336), ne = /^#!(.*)/), ne;
|
|
1077
|
+
}
|
|
1078
|
+
function m0() {
|
|
1079
|
+
var x = ["5008852hOJSfH", "12zXPatn", "33559IohfMY", "14179YLabDN", "82IpMiiJ", "23970qMrzKM", "586542mTvJgr", "2059358FeswOI", "1323912xLEbri", "2455830wiyAGS", "63yLGStF", "use strict"];
|
|
1080
|
+
return m0 = function() {
|
|
1081
|
+
return x;
|
|
1082
|
+
}, m0();
|
|
1083
|
+
}
|
|
1084
|
+
(function(x, n) {
|
|
1085
|
+
const e = ux, t = x();
|
|
1086
|
+
for (; ; )
|
|
1087
|
+
try {
|
|
1088
|
+
if (parseInt(e(491)) / 1 * (-parseInt(e(495)) / 2) + -parseInt(e(486)) / 3 * (parseInt(e(483)) / 4) + -parseInt(e(484)) / 5 * (parseInt(e(479)) / 6) + -parseInt(e(485)) / 7 * (parseInt(e(488)) / 8) + parseInt(e(482)) / 9 + parseInt(e(492)) / 10 * (-parseInt(e(481)) / 11) + -parseInt(e(480)) / 12 * (-parseInt(e(493)) / 13) === n) break;
|
|
1089
|
+
t.push(t.shift());
|
|
1090
|
+
} catch {
|
|
1091
|
+
t.push(t.shift());
|
|
1092
|
+
}
|
|
1093
|
+
})(y0, 491766);
|
|
1094
|
+
function ux(x, n) {
|
|
1095
|
+
return x = x - 479, y0()[x];
|
|
1096
|
+
}
|
|
1097
|
+
var re, Be;
|
|
1098
|
+
function y0() {
|
|
1099
|
+
const x = ["2694saayoB", "12CLRnuO", "231UhTexi", "7409682UgyDGD", "112YbAjUv", "10900YjmZsf", "371GOkfhQ", "24273QYGdpU", "match", "113384GfUSft", "replace", "env", "81933SZiqoH", "457090rcJeKL", "34668751TYQUwx", "split", "2yVTBdw"];
|
|
1100
|
+
return y0 = function() {
|
|
1101
|
+
return x;
|
|
1102
|
+
}, y0();
|
|
1103
|
+
}
|
|
1104
|
+
function ct() {
|
|
1105
|
+
if (Be) return re;
|
|
1106
|
+
Be = 1;
|
|
1107
|
+
const x = st();
|
|
1108
|
+
return re = (n = "") => {
|
|
1109
|
+
const e = ux, t = n[e(487)](x);
|
|
1110
|
+
if (!t) return null;
|
|
1111
|
+
const [r, i] = t[0][e(489)](/#! ?/, "")[e(494)](" "), a = r[e(494)]("/").pop();
|
|
1112
|
+
return a === e(490) ? i : i ? a + " " + i : a;
|
|
1113
|
+
}, re;
|
|
1114
|
+
}
|
|
1115
|
+
(function(x, n) {
|
|
1116
|
+
const e = dx, t = x();
|
|
1117
|
+
for (; ; )
|
|
1118
|
+
try {
|
|
1119
|
+
if (-parseInt(e(406)) / 1 * (parseInt(e(407)) / 2) + -parseInt(e(402)) / 3 * (-parseInt(e(410)) / 4) + -parseInt(e(412)) / 5 * (-parseInt(e(414)) / 6) + parseInt(e(409)) / 7 * (parseInt(e(404)) / 8) + parseInt(e(405)) / 9 + parseInt(e(415)) / 10 * (parseInt(e(403)) / 11) + parseInt(e(401)) / 12 * (-parseInt(e(408)) / 13) === n) break;
|
|
1120
|
+
t.push(t.shift());
|
|
1121
|
+
} catch {
|
|
1122
|
+
t.push(t.shift());
|
|
1123
|
+
}
|
|
1124
|
+
})(g0, 983100);
|
|
1125
|
+
function g0() {
|
|
1126
|
+
const x = ["32AhInqI", "12388167PMuazY", "487afPpWu", "36UEGBAm", "143nDBtqN", "636055tgQFTS", "4pqKeXN", "toString", "10vLiags", "readSync", "1809426Vhgicq", "1750vTUqwx", "alloc", "openSync", "4340220fqsLom", "4662183wIKyxC", "67463iRNLOC"];
|
|
1127
|
+
return g0 = function() {
|
|
1128
|
+
return x;
|
|
1129
|
+
}, g0();
|
|
1130
|
+
}
|
|
1131
|
+
var ae, Ue;
|
|
1132
|
+
function it() {
|
|
1133
|
+
if (Ue) return ae;
|
|
1134
|
+
Ue = 1;
|
|
1135
|
+
const x = me, n = ct();
|
|
1136
|
+
function e(t) {
|
|
1137
|
+
const r = dx, i = 150, a = Buffer[r(416)](i);
|
|
1138
|
+
let s;
|
|
1139
|
+
try {
|
|
1140
|
+
s = x[r(400)](t, "r"), x[r(413)](s, a, 0, i, 0), x.closeSync(s);
|
|
1141
|
+
} catch {
|
|
1142
|
+
}
|
|
1143
|
+
return n(a[r(411)]());
|
|
1144
|
+
}
|
|
1145
|
+
return ae = e, ae;
|
|
1146
|
+
}
|
|
1147
|
+
function dx(x, n) {
|
|
1148
|
+
return x = x - 400, g0()[x];
|
|
1149
|
+
}
|
|
1150
|
+
(function(x, n) {
|
|
1151
|
+
const e = px, t = x();
|
|
1152
|
+
for (; ; )
|
|
1153
|
+
try {
|
|
1154
|
+
if (parseInt(e(137)) / 1 * (parseInt(e(134)) / 2) + -parseInt(e(138)) / 3 + parseInt(e(130)) / 4 + -parseInt(e(127)) / 5 + -parseInt(e(136)) / 6 + parseInt(e(152)) / 7 + -parseInt(e(131)) / 8 * (parseInt(e(146)) / 9) === n) break;
|
|
1155
|
+
t.push(t.shift());
|
|
1156
|
+
} catch {
|
|
1157
|
+
t.push(t.shift());
|
|
1158
|
+
}
|
|
1159
|
+
})(w0, 777798);
|
|
1160
|
+
function px(x, n) {
|
|
1161
|
+
return x = x - 127, w0()[x];
|
|
1162
|
+
}
|
|
1163
|
+
function w0() {
|
|
1164
|
+
const x = ["command", "7639198hGZONw", "windowsVerbatimArguments", "file", "2644610emYOgN", "argument", "platform", "4784772wVaTPY", "13844632WuVCiO", "env", "unshift", "20798RxIfFd", "forceShell", "1241814ZxQscm", "106ZphDcf", "436599mTNOyN", "join", "comspec", "use strict", "args", "assign", "concat", "test", "9sEakKf", "shell", "slice", "isArray", "options"];
|
|
1165
|
+
return w0 = function() {
|
|
1166
|
+
return x;
|
|
1167
|
+
}, w0();
|
|
1168
|
+
}
|
|
1169
|
+
var se, je;
|
|
1170
|
+
function ot() {
|
|
1171
|
+
const x = px;
|
|
1172
|
+
if (je) return se;
|
|
1173
|
+
je = 1, x(141);
|
|
1174
|
+
const n = he, e = rt(), t = at(), r = it(), i = process[x(129)] === "win32", a = /\.(?:com|exe)$/i, s = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
1175
|
+
function c(f) {
|
|
1176
|
+
const p = x;
|
|
1177
|
+
f.file = e(f);
|
|
1178
|
+
const I = f[p(154)] && r(f[p(154)]);
|
|
1179
|
+
return I ? (f.args[p(133)](f[p(154)]), f[p(151)] = I, e(f)) : f[p(154)];
|
|
1180
|
+
}
|
|
1181
|
+
function o(f) {
|
|
1182
|
+
const p = x;
|
|
1183
|
+
if (!i) return f;
|
|
1184
|
+
const I = c(f), m = !a[p(145)](I);
|
|
1185
|
+
if (f[p(150)][p(135)] || m) {
|
|
1186
|
+
const g = s[p(145)](I);
|
|
1187
|
+
f[p(151)] = n.normalize(f[p(151)]), f[p(151)] = t[p(151)](f.command), f[p(142)] = f[p(142)].map((_) => t[p(128)](_, g));
|
|
1188
|
+
const w = [f[p(151)]][p(144)](f[p(142)])[p(139)](" ");
|
|
1189
|
+
f.args = ["/d", "/s", "/c", '"' + w + '"'], f[p(151)] = process[p(132)][p(140)] || "cmd.exe", f.options[p(153)] = !0;
|
|
1190
|
+
}
|
|
1191
|
+
return f;
|
|
1192
|
+
}
|
|
1193
|
+
function u(f, p, I) {
|
|
1194
|
+
const m = x;
|
|
1195
|
+
p && !Array[m(149)](p) && (I = p, p = null), p = p ? p[m(148)](0) : [], I = Object[m(143)]({}, I);
|
|
1196
|
+
const g = { command: f, args: p, options: I, file: void 0, original: { command: f, args: p } };
|
|
1197
|
+
return I[m(147)] ? g : o(g);
|
|
1198
|
+
}
|
|
1199
|
+
return se = u, se;
|
|
1200
|
+
}
|
|
1201
|
+
(function(x, n) {
|
|
1202
|
+
const e = _e, t = x();
|
|
1203
|
+
for (; ; )
|
|
1204
|
+
try {
|
|
1205
|
+
if (parseInt(e(285)) / 1 * (-parseInt(e(274)) / 2) + -parseInt(e(266)) / 3 + parseInt(e(287)) / 4 + parseInt(e(267)) / 5 + -parseInt(e(270)) / 6 + -parseInt(e(272)) / 7 * (parseInt(e(271)) / 8) + parseInt(e(286)) / 9 === n) break;
|
|
1206
|
+
t.push(t.shift());
|
|
1207
|
+
} catch {
|
|
1208
|
+
t.push(t.shift());
|
|
1209
|
+
}
|
|
1210
|
+
})(E0, 540172);
|
|
1211
|
+
var ce, qe;
|
|
1212
|
+
function _e(x, n) {
|
|
1213
|
+
return x = x - 266, E0()[x];
|
|
1214
|
+
}
|
|
1215
|
+
function E0() {
|
|
1216
|
+
const x = ["12632526UOvlxk", "2731976OwVAFF", "3170994BGZIZl", "1365935XHZEUa", " ENOENT", "command", "2126628bwpPWg", "2481736fcIIQe", "7tZmlGf", "original", "1940TrlRvh", "spawnSync", "exit", "apply", "call", "ENOENT", "args", "file", "error", "use strict", "spawn", "101FNscyR"];
|
|
1217
|
+
return E0 = function() {
|
|
1218
|
+
return x;
|
|
1219
|
+
}, E0();
|
|
1220
|
+
}
|
|
1221
|
+
function ft() {
|
|
1222
|
+
const x = _e;
|
|
1223
|
+
if (qe) return ce;
|
|
1224
|
+
qe = 1, x(283);
|
|
1225
|
+
const n = process.platform === "win32";
|
|
1226
|
+
function e(a, s) {
|
|
1227
|
+
const c = x;
|
|
1228
|
+
return Object.assign(new Error(s + " " + a[c(269)] + c(268)), { code: c(279), errno: c(279), syscall: s + " " + a[c(269)], path: a.command, spawnargs: a[c(280)] });
|
|
1229
|
+
}
|
|
1230
|
+
function t(a, s) {
|
|
1231
|
+
if (!n) return;
|
|
1232
|
+
const c = a.emit;
|
|
1233
|
+
a.emit = function(o, u) {
|
|
1234
|
+
const f = _e;
|
|
1235
|
+
if (o === f(276)) {
|
|
1236
|
+
const p = r(u, s);
|
|
1237
|
+
if (p) return c[f(278)](a, f(282), p);
|
|
1238
|
+
}
|
|
1239
|
+
return c[f(277)](a, arguments);
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
function r(a, s) {
|
|
1243
|
+
const c = x;
|
|
1244
|
+
return n && a === 1 && !s[c(281)] ? e(s[c(273)], c(284)) : null;
|
|
1245
|
+
}
|
|
1246
|
+
function i(a, s) {
|
|
1247
|
+
const c = x;
|
|
1248
|
+
return n && a === 1 && !s[c(281)] ? e(s[c(273)], c(275)) : null;
|
|
1249
|
+
}
|
|
1250
|
+
return ce = { hookChildProcess: t, verifyENOENT: r, verifyENOENTSync: i, notFoundError: e }, ce;
|
|
1251
|
+
}
|
|
1252
|
+
const lx = bx;
|
|
1253
|
+
function S0() {
|
|
1254
|
+
const x = ["7706470wkCKuc", "spawnSync", "error", "601972rXBqCz", "3739145PrkJlS", "6XtoXws", "command", "use strict", "70898lZwlAJ", "1254872pXImOK", "25649063KINHLe", "sync", "args", "3FCzSMR", "options", "8fiNABO", "exports", "3154779DKrckE", "8dnFblL", "_enoent", "_parse", "verifyENOENTSync", "12gtWYzX", "spawn", "status"];
|
|
1255
|
+
return S0 = function() {
|
|
1256
|
+
return x;
|
|
1257
|
+
}, S0();
|
|
1258
|
+
}
|
|
1259
|
+
(function(x, n) {
|
|
1260
|
+
const e = bx, t = x();
|
|
1261
|
+
for (; ; )
|
|
1262
|
+
try {
|
|
1263
|
+
if (parseInt(e(228)) / 1 * (-parseInt(e(213)) / 2) + -parseInt(e(208)) / 3 * (-parseInt(e(229)) / 4) + parseInt(e(224)) / 5 * (-parseInt(e(225)) / 6) + parseInt(e(223)) / 7 * (-parseInt(e(210)) / 8) + -parseInt(e(212)) / 9 + -parseInt(e(220)) / 10 + parseInt(e(205)) / 11 * (parseInt(e(217)) / 12) === n) break;
|
|
1264
|
+
t.push(t.shift());
|
|
1265
|
+
} catch {
|
|
1266
|
+
t.push(t.shift());
|
|
1267
|
+
}
|
|
1268
|
+
})(S0, 406856);
|
|
1269
|
+
function bx(x, n) {
|
|
1270
|
+
return x = x - 205, S0()[x];
|
|
1271
|
+
}
|
|
1272
|
+
D[lx(211)];
|
|
1273
|
+
var Ve;
|
|
1274
|
+
function ut() {
|
|
1275
|
+
const x = lx;
|
|
1276
|
+
if (Ve) return D[x(211)];
|
|
1277
|
+
Ve = 1, x(227);
|
|
1278
|
+
const n = Ux, e = ot(), t = ft();
|
|
1279
|
+
function r(a, s, c) {
|
|
1280
|
+
const o = x, u = e(a, s, c), f = n[o(218)](u[o(226)], u[o(207)], u[o(209)]);
|
|
1281
|
+
return t.hookChildProcess(f, u), f;
|
|
1282
|
+
}
|
|
1283
|
+
function i(a, s, c) {
|
|
1284
|
+
const o = x, u = e(a, s, c), f = n[o(221)](u[o(226)], u[o(207)], u[o(209)]);
|
|
1285
|
+
return f[o(222)] = f[o(222)] || t[o(216)](f[o(219)], u), f;
|
|
1286
|
+
}
|
|
1287
|
+
return D[x(211)] = r, D[x(211)].spawn = r, D.exports[x(206)] = i, D[x(211)][x(215)] = e, D[x(211)][x(214)] = t, D.exports;
|
|
1288
|
+
}
|
|
1289
|
+
var dt = ut();
|
|
1290
|
+
const pt = /* @__PURE__ */ $(dt);
|
|
1291
|
+
(function(x, n) {
|
|
1292
|
+
const e = _x, t = x();
|
|
1293
|
+
for (; ; )
|
|
1294
|
+
try {
|
|
1295
|
+
if (parseInt(e(394)) / 1 + -parseInt(e(387)) / 2 * (-parseInt(e(397)) / 3) + parseInt(e(385)) / 4 + parseInt(e(389)) / 5 + -parseInt(e(390)) / 6 * (parseInt(e(391)) / 7) + -parseInt(e(396)) / 8 + parseInt(e(392)) / 9 === n) break;
|
|
1296
|
+
t.push(t.shift());
|
|
1297
|
+
} catch {
|
|
1298
|
+
t.push(t.shift());
|
|
1299
|
+
}
|
|
1300
|
+
})(v0, 307393);
|
|
1301
|
+
function lt(x) {
|
|
1302
|
+
const n = _x, e = typeof x === n(395) ? `
|
|
1303
|
+
` : 10, t = typeof x === n(395) ? "\r" : "\r"[n(386)]();
|
|
1304
|
+
return x[x[n(388)] - 1] === e && (x = x.slice(0, -1)), x[x.length - 1] === t && (x = x[n(393)](0, -1)), x;
|
|
1305
|
+
}
|
|
1306
|
+
function _x(x, n) {
|
|
1307
|
+
return x = x - 385, v0()[x];
|
|
1308
|
+
}
|
|
1309
|
+
function v0() {
|
|
1310
|
+
const x = ["string", "3849384viwVOC", "1163661PzMjzD", "739684evZehY", "charCodeAt", "2pDqyad", "length", "836515lNBrGG", "498aGdkYa", "35287xiyOjk", "470331zAOAQa", "slice", "414599bHCGxO"];
|
|
1311
|
+
return v0 = function() {
|
|
1312
|
+
return x;
|
|
1313
|
+
}, v0();
|
|
1314
|
+
}
|
|
1315
|
+
(function(x, n) {
|
|
1316
|
+
const e = Ix, t = x();
|
|
1317
|
+
for (; ; )
|
|
1318
|
+
try {
|
|
1319
|
+
if (-parseInt(e(431)) / 1 * (-parseInt(e(433)) / 2) + parseInt(e(434)) / 3 + -parseInt(e(429)) / 4 + -parseInt(e(426)) / 5 + -parseInt(e(422)) / 6 + -parseInt(e(427)) / 7 + -parseInt(e(432)) / 8 * (-parseInt(e(428)) / 9) === n) break;
|
|
1320
|
+
t.push(t.shift());
|
|
1321
|
+
} catch {
|
|
1322
|
+
t.push(t.shift());
|
|
1323
|
+
}
|
|
1324
|
+
})(O0, 549729);
|
|
1325
|
+
function O0() {
|
|
1326
|
+
const x = ["1238020BeOhVe", "4174646RrbGcg", "14067585GLncAS", "408868ifPeTV", "keys", "244259jWUgWb", "8kLmzPR", "6YoJUaj", "325440boMtyl", "env", "5450364rjqnAZ", "Path", "win32", "reverse"];
|
|
1327
|
+
return O0 = function() {
|
|
1328
|
+
return x;
|
|
1329
|
+
}, O0();
|
|
1330
|
+
}
|
|
1331
|
+
function Ix(x, n) {
|
|
1332
|
+
return x = x - 421, O0()[x];
|
|
1333
|
+
}
|
|
1334
|
+
function hx(x = {}) {
|
|
1335
|
+
const n = Ix, { env: e = process[n(421)], platform: t = process.platform } = x;
|
|
1336
|
+
return t !== n(424) ? "PATH" : Object[n(430)](e)[n(425)]().find((r) => r.toUpperCase() === "PATH") || n(423);
|
|
1337
|
+
}
|
|
1338
|
+
const q = mx;
|
|
1339
|
+
(function(x, n) {
|
|
1340
|
+
const e = mx, t = x();
|
|
1341
|
+
for (; ; )
|
|
1342
|
+
try {
|
|
1343
|
+
if (-parseInt(e(175)) / 1 + -parseInt(e(171)) / 2 + parseInt(e(174)) / 3 + parseInt(e(176)) / 4 + -parseInt(e(164)) / 5 + parseInt(e(170)) / 6 * (parseInt(e(165)) / 7) + -parseInt(e(179)) / 8 * (-parseInt(e(178)) / 9) === n) break;
|
|
1344
|
+
t.push(t.shift());
|
|
1345
|
+
} catch {
|
|
1346
|
+
t.push(t.shift());
|
|
1347
|
+
}
|
|
1348
|
+
})(T0, 651087);
|
|
1349
|
+
function T0() {
|
|
1350
|
+
const x = ["3238320uMDJat", "248395fFuvcJ", "cwd", "push", "path", "resolve", "30pRtWTe", "1276044Ychgpc", "env", "execPath", "1953198wqRzyp", "75161Lmwhvz", "2598636udtvkI", "join", "414VDadCZ", "92832WQVRcP", "node_modules/.bin", "delimiter"];
|
|
1351
|
+
return T0 = function() {
|
|
1352
|
+
return x;
|
|
1353
|
+
}, T0();
|
|
1354
|
+
}
|
|
1355
|
+
function mx(x, n) {
|
|
1356
|
+
return x = x - 163, T0()[x];
|
|
1357
|
+
}
|
|
1358
|
+
const bt = ({ cwd: x = B[q(166)](), path: n = B.env[hx()], preferLocal: e = !0, execPath: t = B[q(173)], addExecPath: r = !0 } = {}) => {
|
|
1359
|
+
const i = q, a = x instanceof URL ? ex(x) : x, s = H[i(169)](a), c = [];
|
|
1360
|
+
return e && _t(c, s), r && It(c, t, s), [...c, n][i(177)](H[i(163)]);
|
|
1361
|
+
}, _t = (x, n) => {
|
|
1362
|
+
const e = q;
|
|
1363
|
+
let t;
|
|
1364
|
+
for (; t !== n; )
|
|
1365
|
+
x[e(167)](H[e(177)](n, e(180))), t = n, n = H[e(169)](n, "..");
|
|
1366
|
+
}, It = (x, n, e) => {
|
|
1367
|
+
const t = q, r = n instanceof URL ? ex(n) : n;
|
|
1368
|
+
x[t(167)](H[t(169)](e, r, ".."));
|
|
1369
|
+
}, ht = ({ env: x = B[q(172)], ...n } = {}) => {
|
|
1370
|
+
const e = q;
|
|
1371
|
+
x = { ...x };
|
|
1372
|
+
const t = hx({ env: x });
|
|
1373
|
+
return n[e(168)] = x[t], x[t] = bt(n), x;
|
|
1374
|
+
}, F = e0;
|
|
1375
|
+
(function(x, n) {
|
|
1376
|
+
const e = e0, t = x();
|
|
1377
|
+
for (; ; )
|
|
1378
|
+
try {
|
|
1379
|
+
if (-parseInt(e(140)) / 1 + -parseInt(e(125)) / 2 + parseInt(e(148)) / 3 * (-parseInt(e(136)) / 4) + parseInt(e(142)) / 5 * (-parseInt(e(132)) / 6) + parseInt(e(143)) / 7 + -parseInt(e(130)) / 8 * (-parseInt(e(138)) / 9) + parseInt(e(145)) / 10 * (parseInt(e(147)) / 11) === n) break;
|
|
1380
|
+
t.push(t.shift());
|
|
1381
|
+
} catch {
|
|
1382
|
+
t.push(t.shift());
|
|
1383
|
+
}
|
|
1384
|
+
})(A0, 526664);
|
|
1385
|
+
const mt = (x, n, e, t) => {
|
|
1386
|
+
const r = e0;
|
|
1387
|
+
if (e === "length" || e === "prototype" || e === r(135) || e === "caller") return;
|
|
1388
|
+
const i = Object[r(139)](x, e), a = Object[r(139)](n, e);
|
|
1389
|
+
!yt(i, a) && t || Object.defineProperty(x, e, a);
|
|
1390
|
+
}, yt = function(x, n) {
|
|
1391
|
+
const e = e0;
|
|
1392
|
+
return x === void 0 || x[e(128)] || x.writable === n.writable && x[e(150)] === n[e(150)] && x.configurable === n[e(128)] && (x.writable || x[e(137)] === n[e(137)]);
|
|
1393
|
+
}, gt = (x, n) => {
|
|
1394
|
+
const e = e0, t = Object[e(144)](n);
|
|
1395
|
+
t !== Object[e(144)](x) && Object[e(129)](x, t);
|
|
1396
|
+
}, wt = (x, n) => F(126) + x + F(146) + n, Et = Object[F(139)](Function.prototype, F(127)), St = Object[F(139)](Function.prototype[F(127)], F(134)), vt = (x, n, e) => {
|
|
1397
|
+
const t = F, r = e === "" ? "" : "with " + e.trim() + t(149), i = wt[t(131)](null, r, n[t(127)]());
|
|
1398
|
+
Object[t(141)](i, "name", St), Object.defineProperty(x, t(127), { ...Et, value: i });
|
|
1399
|
+
};
|
|
1400
|
+
function e0(x, n) {
|
|
1401
|
+
return x = x - 125, A0()[x];
|
|
1402
|
+
}
|
|
1403
|
+
function A0() {
|
|
1404
|
+
const x = ["arguments", "188644zRVBZl", "value", "69867OHysZD", "getOwnPropertyDescriptor", "259745GZdasl", "defineProperty", "4643545wETtcL", "4964078IfpLFI", "getPrototypeOf", "3979630BLAahw", `*/
|
|
1405
|
+
`, "22gAtFgo", "18DmymBH", "() ", "enumerable", "1094476tUtAWV", "/* Wrapped ", "toString", "configurable", "setPrototypeOf", "1072ehkyai", "bind", "6tNisPR", "ownKeys", "name"];
|
|
1406
|
+
return A0 = function() {
|
|
1407
|
+
return x;
|
|
1408
|
+
}, A0();
|
|
1409
|
+
}
|
|
1410
|
+
function Ot(x, n, { ignoreNonConfigurable: e = !1 } = {}) {
|
|
1411
|
+
const t = F, { name: r } = x;
|
|
1412
|
+
for (const i of Reflect[t(133)](n))
|
|
1413
|
+
mt(x, n, i, e);
|
|
1414
|
+
return gt(x, n), vt(x, n, r), x;
|
|
1415
|
+
}
|
|
1416
|
+
const ze = we;
|
|
1417
|
+
(function(x, n) {
|
|
1418
|
+
const e = we, t = x();
|
|
1419
|
+
for (; ; )
|
|
1420
|
+
try {
|
|
1421
|
+
if (parseInt(e(478)) / 1 + parseInt(e(491)) / 2 + parseInt(e(496)) / 3 + parseInt(e(492)) / 4 * (-parseInt(e(494)) / 5) + -parseInt(e(480)) / 6 * (-parseInt(e(486)) / 7) + -parseInt(e(481)) / 8 + -parseInt(e(495)) / 9 === n) break;
|
|
1422
|
+
t.push(t.shift());
|
|
1423
|
+
} catch {
|
|
1424
|
+
t.push(t.shift());
|
|
1425
|
+
}
|
|
1426
|
+
})(R0, 485595);
|
|
1427
|
+
function R0() {
|
|
1428
|
+
const x = ["callCount", "` is not wrapped by the `onetime` package", "359014OsyVkt", "apply", "132yLmiQT", "5546488rNHyPA", "Expected a function", "The given function `", "Function `", "set", "165683Pntnen", "throw", "name", "` can only be called once", "displayName", "933236tEEjwi", "5224aybMsj", "has", "2105CVbRQg", "4858038KbczGO", "2766492eUNxEN"];
|
|
1429
|
+
return R0 = function() {
|
|
1430
|
+
return x;
|
|
1431
|
+
}, R0();
|
|
1432
|
+
}
|
|
1433
|
+
const k0 = /* @__PURE__ */ new WeakMap(), yx = (x, n = {}) => {
|
|
1434
|
+
const e = we;
|
|
1435
|
+
if (typeof x != "function") throw new TypeError(e(482));
|
|
1436
|
+
let t, r = 0;
|
|
1437
|
+
const i = x[e(490)] || x.name || "<anonymous>", a = function(...s) {
|
|
1438
|
+
const c = e;
|
|
1439
|
+
if (k0[c(485)](a, ++r), r === 1) t = x[c(479)](this, s), x = null;
|
|
1440
|
+
else if (n[c(487)] === !0) throw new Error(c(484) + i + c(489));
|
|
1441
|
+
return t;
|
|
1442
|
+
};
|
|
1443
|
+
return Ot(a, x), k0.set(a, r), a;
|
|
1444
|
+
};
|
|
1445
|
+
function we(x, n) {
|
|
1446
|
+
return x = x - 478, R0()[x];
|
|
1447
|
+
}
|
|
1448
|
+
yx[ze(497)] = (x) => {
|
|
1449
|
+
const n = ze;
|
|
1450
|
+
if (!k0[n(493)](x)) throw new Error(n(483) + x[n(488)] + n(498));
|
|
1451
|
+
return k0.get(x);
|
|
1452
|
+
};
|
|
1453
|
+
(function(x, n) {
|
|
1454
|
+
const e = Ee, t = x();
|
|
1455
|
+
for (; ; )
|
|
1456
|
+
try {
|
|
1457
|
+
if (parseInt(e(268)) / 1 * (-parseInt(e(271)) / 2) + -parseInt(e(261)) / 3 * (-parseInt(e(267)) / 4) + -parseInt(e(270)) / 5 * (parseInt(e(265)) / 6) + -parseInt(e(272)) / 7 * (-parseInt(e(262)) / 8) + -parseInt(e(263)) / 9 * (-parseInt(e(266)) / 10) + parseInt(e(274)) / 11 + parseInt(e(269)) / 12 === n) break;
|
|
1458
|
+
t.push(t.shift());
|
|
1459
|
+
} catch {
|
|
1460
|
+
t.push(t.shift());
|
|
1461
|
+
}
|
|
1462
|
+
})(P0, 981403);
|
|
1463
|
+
const Tt = function() {
|
|
1464
|
+
const x = Ee, n = wx - gx + 1;
|
|
1465
|
+
return Array[x(276)]({ length: n }, At);
|
|
1466
|
+
};
|
|
1467
|
+
function Ee(x, n) {
|
|
1468
|
+
return x = x - 261, P0()[x];
|
|
1469
|
+
}
|
|
1470
|
+
function P0() {
|
|
1471
|
+
const x = ["104hhQdJN", "7SHhsJT", "terminate", "15285732sEIChC", "SIGRT", "from", "559794IZDaQF", "5817904Biduwo", "666WxVuXS", "posix", "96354FOSmeX", "195040APfpNO", "16AfVFnk", "33406tVaTCu", "3297852TWOhjo", "580zXplvv"];
|
|
1472
|
+
return P0 = function() {
|
|
1473
|
+
return x;
|
|
1474
|
+
}, P0();
|
|
1475
|
+
}
|
|
1476
|
+
const At = function(x, n) {
|
|
1477
|
+
const e = Ee;
|
|
1478
|
+
return { name: e(275) + (n + 1), number: gx + n, action: e(273), description: "Application-specific signal (realtime)", standard: e(264) };
|
|
1479
|
+
}, gx = 34, wx = 64;
|
|
1480
|
+
function Ex(x, n) {
|
|
1481
|
+
return x = x - 479, N0()[x];
|
|
1482
|
+
}
|
|
1483
|
+
const d = Ex;
|
|
1484
|
+
function N0() {
|
|
1485
|
+
const x = ["bsd", "Terminal window size changed", "SIGTERM", "other", "Request for process information", "unpause", "Unpaused", "Segmentation fault", "Child process terminated, paused or unpaused", "Stack is empty or overflowed", "SIGPROF", "Device running out of power", "Debugger breakpoint", "systemv", "core", "SIGIO", "20958579LJjBDG", "SIGCHLD", "SIGHUP", "ignore", "SIGKILL", "User interruption with CTRL-\\", "SIGVTALRM", "SIGPWR", "Paused", "SIGILL", "56ZcopRv", "User interruption with CTRL-BREAK", "I/O is available", "Process timed out", "ansi", "SIGCLD", "terminate", "SIGEMT", "Terminal closed", "85zajtJA", "SIGINFO", "SIGUNUSED", "SIGBUS", "756114skDrSR", "User interruption with CTRL-C", "File too big", "SIGWINCH", "SIGUSR1", "Application-specific signal", "pause", "942206EPwgXB", "SIGABRT", "posix", "289148VOLKGr", "SIGIOT", "4689424PumpgR", "SIGPOLL", "SIGCONT", "1204317LtMdqB", "127531JFyMpf", "Background process cannot write to terminal output", "SIGSYS", "Invalid system call", "SIGALRM", "SIGFPE", "SIGXCPU", "SIGSTKFLT", "Command should be emulated but is not implemented", "SIGTTIN", "Background process cannot read terminal input", "SIGTSTP", "Timeout or timer", "Socket received out-of-band data", "SIGTTOU"];
|
|
1486
|
+
return N0 = function() {
|
|
1487
|
+
return x;
|
|
1488
|
+
}, N0();
|
|
1489
|
+
}
|
|
1490
|
+
(function(x, n) {
|
|
1491
|
+
const e = Ex, t = x();
|
|
1492
|
+
for (; ; )
|
|
1493
|
+
try {
|
|
1494
|
+
if (-parseInt(e(486)) / 1 + parseInt(e(547)) / 2 + -parseInt(e(485)) / 3 + parseInt(e(480)) / 4 * (-parseInt(e(536)) / 5) + -parseInt(e(540)) / 6 * (parseInt(e(527)) / 7) + parseInt(e(482)) / 8 + parseInt(e(517)) / 9 === n) break;
|
|
1495
|
+
t.push(t.shift());
|
|
1496
|
+
} catch {
|
|
1497
|
+
t.push(t.shift());
|
|
1498
|
+
}
|
|
1499
|
+
})(N0, 620011);
|
|
1500
|
+
const Rt = [{ name: d(519), number: 1, action: d(533), description: d(535), standard: d(479) }, { name: "SIGINT", number: 2, action: d(533), description: d(541), standard: "ansi" }, { name: "SIGQUIT", number: 3, action: "core", description: d(522), standard: d(479) }, { name: d(526), number: 4, action: d(515), description: "Invalid machine instruction", standard: d(531) }, { name: "SIGTRAP", number: 5, action: d(515), description: d(513), standard: d(479) }, { name: d(548), number: 6, action: "core", description: "Aborted", standard: "ansi" }, { name: d(481), number: 6, action: d(515), description: "Aborted", standard: "bsd" }, { name: d(539), number: 7, action: d(515), description: "Bus error due to misaligned, non-existing address or paging error", standard: "bsd" }, { name: d(534), number: 7, action: d(533), description: d(494), standard: "other" }, { name: d(491), number: 8, action: d(515), description: "Floating point arithmetic error", standard: d(531) }, { name: d(521), number: 9, action: d(533), description: "Forced termination", standard: d(479), forced: !0 }, { name: d(544), number: 10, action: d(533), description: d(545), standard: d(479) }, { name: "SIGSEGV", number: 11, action: d(515), description: d(508), standard: d(531) }, { name: "SIGUSR2", number: 12, action: d(533), description: d(545), standard: d(479) }, { name: "SIGPIPE", number: 13, action: d(533), description: "Broken pipe or socket", standard: "posix" }, { name: d(490), number: 14, action: d(533), description: d(498), standard: "posix" }, { name: d(503), number: 15, action: d(533), description: "Termination", standard: d(531) }, { name: d(493), number: 16, action: "terminate", description: d(510), standard: d(504) }, { name: d(518), number: 17, action: d(520), description: d(509), standard: d(479) }, { name: d(532), number: 17, action: d(520), description: "Child process terminated, paused or unpaused", standard: "other" }, { name: d(484), number: 18, action: d(506), description: d(507), standard: d(479), forced: !0 }, { name: "SIGSTOP", number: 19, action: d(546), description: d(525), standard: d(479), forced: !0 }, { name: d(497), number: 20, action: d(546), description: 'Paused using CTRL-Z or "suspend"', standard: d(479) }, { name: d(495), number: 21, action: d(546), description: d(496), standard: d(479) }, { name: "SIGBREAK", number: 21, action: "terminate", description: d(528), standard: "other" }, { name: d(500), number: 22, action: d(546), description: d(487), standard: d(479) }, { name: "SIGURG", number: 23, action: "ignore", description: d(499), standard: d(501) }, { name: d(492), number: 24, action: d(515), description: d(530), standard: d(501) }, { name: "SIGXFSZ", number: 25, action: d(515), description: d(542), standard: "bsd" }, { name: d(523), number: 26, action: d(533), description: d(498), standard: d(501) }, { name: d(511), number: 27, action: "terminate", description: "Timeout or timer", standard: "bsd" }, { name: d(543), number: 28, action: d(520), description: d(502), standard: d(501) }, { name: d(516), number: 29, action: d(533), description: d(529), standard: d(504) }, { name: d(483), number: 29, action: d(533), description: "Watched event", standard: "other" }, { name: d(537), number: 29, action: "ignore", description: d(505), standard: d(504) }, { name: d(524), number: 30, action: d(533), description: d(512), standard: d(514) }, { name: d(488), number: 31, action: d(515), description: d(489), standard: d(504) }, { name: d(538), number: 31, action: d(533), description: d(489), standard: d(504) }];
|
|
1501
|
+
(function(x, n) {
|
|
1502
|
+
const e = vx, t = x();
|
|
1503
|
+
for (; ; )
|
|
1504
|
+
try {
|
|
1505
|
+
if (parseInt(e(126)) / 1 + parseInt(e(119)) / 2 * (parseInt(e(125)) / 3) + -parseInt(e(123)) / 4 * (parseInt(e(124)) / 5) + parseInt(e(121)) / 6 * (-parseInt(e(117)) / 7) + parseInt(e(127)) / 8 + -parseInt(e(120)) / 9 + -parseInt(e(122)) / 10 === n) break;
|
|
1506
|
+
t.push(t.shift());
|
|
1507
|
+
} catch {
|
|
1508
|
+
t.push(t.shift());
|
|
1509
|
+
}
|
|
1510
|
+
})(G0, 669988);
|
|
1511
|
+
const Sx = function() {
|
|
1512
|
+
const x = vx, n = Tt();
|
|
1513
|
+
return [...Rt, ...n][x(118)](kt);
|
|
1514
|
+
}, kt = function({ name: x, number: n, description: e, action: t, forced: r = !1, standard: i }) {
|
|
1515
|
+
const { signals: { [x]: a } } = xx, s = a !== void 0;
|
|
1516
|
+
return { name: x, number: s ? a : n, description: e, supported: s, action: t, forced: r, standard: i };
|
|
1517
|
+
};
|
|
1518
|
+
function vx(x, n) {
|
|
1519
|
+
return x = x - 117, G0()[x];
|
|
1520
|
+
}
|
|
1521
|
+
function G0() {
|
|
1522
|
+
const x = ["13132600OxxsIU", "16XIZzuA", "624795YVvJyQ", "12QwdWyL", "1336688CGrYQs", "8583704antEDJ", "1358diGQWc", "map", "493538RsKfeE", "3321765hryAgt", "16842STAOkP"];
|
|
1523
|
+
return G0 = function() {
|
|
1524
|
+
return x;
|
|
1525
|
+
}, G0();
|
|
1526
|
+
}
|
|
1527
|
+
(function(x, n) {
|
|
1528
|
+
const e = Se, t = x();
|
|
1529
|
+
for (; ; )
|
|
1530
|
+
try {
|
|
1531
|
+
if (parseInt(e(339)) / 1 * (-parseInt(e(340)) / 2) + -parseInt(e(349)) / 3 * (-parseInt(e(343)) / 4) + parseInt(e(345)) / 5 + parseInt(e(344)) / 6 + -parseInt(e(350)) / 7 * (parseInt(e(347)) / 8) + -parseInt(e(337)) / 9 * (-parseInt(e(336)) / 10) + -parseInt(e(348)) / 11 * (parseInt(e(338)) / 12) === n) break;
|
|
1532
|
+
t.push(t.shift());
|
|
1533
|
+
} catch {
|
|
1534
|
+
t.push(t.shift());
|
|
1535
|
+
}
|
|
1536
|
+
})(L0, 686482);
|
|
1537
|
+
function Se(x, n) {
|
|
1538
|
+
return x = x - 336, L0()[x];
|
|
1539
|
+
}
|
|
1540
|
+
const Pt = function() {
|
|
1541
|
+
const x = Se;
|
|
1542
|
+
return Sx()[x(341)](Nt, {});
|
|
1543
|
+
}, Nt = function(x, { name: n, number: e, description: t, supported: r, action: i, forced: a, standard: s }) {
|
|
1544
|
+
return { ...x, [n]: { name: n, number: e, description: t, supported: r, action: i, forced: a, standard: s } };
|
|
1545
|
+
}, Gt = Pt(), Lt = function() {
|
|
1546
|
+
const x = Sx(), n = wx + 1, e = Array.from({ length: n }, (t, r) => Ct(r, x));
|
|
1547
|
+
return Object.assign({}, ...e);
|
|
1548
|
+
}, Ct = function(x, n) {
|
|
1549
|
+
const e = Ft(x, n);
|
|
1550
|
+
if (e === void 0) return {};
|
|
1551
|
+
const { name: t, description: r, supported: i, action: a, forced: s, standard: c } = e;
|
|
1552
|
+
return { [x]: { name: t, number: x, description: r, supported: i, action: a, forced: s, standard: c } };
|
|
1553
|
+
}, Ft = function(x, n) {
|
|
1554
|
+
const e = Se, t = n.find(({ name: r }) => xx[e(342)][r] === x);
|
|
1555
|
+
return t !== void 0 ? t : n[e(351)]((r) => r[e(346)] === x);
|
|
1556
|
+
};
|
|
1557
|
+
function L0() {
|
|
1558
|
+
const x = ["7745232NkQVeI", "11NfSkKk", "89202YeZAAM", "7DmrbbH", "find", "3790srirRt", "30501UVwljh", "5169012GtLTst", "1643ekqEkG", "128fHbIOB", "reduce", "signals", "4dfTWAz", "1878984HPCFhz", "2816050UaspZt", "number"];
|
|
1559
|
+
return L0 = function() {
|
|
1560
|
+
return x;
|
|
1561
|
+
}, L0();
|
|
1562
|
+
}
|
|
1563
|
+
Lt();
|
|
1564
|
+
(function(x, n) {
|
|
1565
|
+
const e = ve, t = x();
|
|
1566
|
+
for (; ; )
|
|
1567
|
+
try {
|
|
1568
|
+
if (-parseInt(e(366)) / 1 * (parseInt(e(372)) / 2) + parseInt(e(357)) / 3 + -parseInt(e(392)) / 4 * (-parseInt(e(365)) / 5) + -parseInt(e(393)) / 6 + -parseInt(e(389)) / 7 * (-parseInt(e(368)) / 8) + -parseInt(e(382)) / 9 * (parseInt(e(361)) / 10) + parseInt(e(367)) / 11 * (parseInt(e(369)) / 12) === n) break;
|
|
1569
|
+
t.push(t.shift());
|
|
1570
|
+
} catch {
|
|
1571
|
+
t.push(t.shift());
|
|
1572
|
+
}
|
|
1573
|
+
})(C0, 295658);
|
|
1574
|
+
function C0() {
|
|
1575
|
+
const x = ["bufferedData", "all", "stderr", "1022txEBCC", "message", "[object Error]", "408964QZabDV", "2399694sgrsJg", "isCanceled", "1438254GJOJJh", "failed with ", "Command ", "failed with exit code ", "5392830raKFuq", "code", "signalDescription", "was killed with ", "15sDupXI", "61qMpPxg", "352VQlTbG", "8536pYBKvp", "257292MSUblD", "escapedCommand", "filter", "12890veSrZr", "timed out after ", "exitCode", "signal", "toString", "was canceled", "timedOut", "killed", "description", "shortMessage", "9KEloQI", "prototype", "stdout", "failed"];
|
|
1576
|
+
return C0 = function() {
|
|
1577
|
+
return x;
|
|
1578
|
+
}, C0();
|
|
1579
|
+
}
|
|
1580
|
+
function ve(x, n) {
|
|
1581
|
+
return x = x - 356, C0()[x];
|
|
1582
|
+
}
|
|
1583
|
+
const Dt = ({ timedOut: x, timeout: n, errorCode: e, signal: t, signalDescription: r, exitCode: i, isCanceled: a }) => {
|
|
1584
|
+
const s = ve;
|
|
1585
|
+
return x ? s(373) + n + " milliseconds" : a ? s(377) : e !== void 0 ? s(358) + e : t !== void 0 ? s(364) + t + " (" + r + ")" : i !== void 0 ? s(360) + i : s(385);
|
|
1586
|
+
}, He = ({ stdout: x, stderr: n, all: e, error: t, signal: r, exitCode: i, command: a, escapedCommand: s, timedOut: c, isCanceled: o, killed: u, parsed: { options: { timeout: f } } }) => {
|
|
1587
|
+
const p = ve;
|
|
1588
|
+
i = i === null ? void 0 : i, r = r === null ? void 0 : r;
|
|
1589
|
+
const I = r === void 0 ? void 0 : Gt[r][p(380)], m = t && t[p(362)], g = Dt({ timedOut: c, timeout: f, errorCode: m, signal: r, signalDescription: I, exitCode: i, isCanceled: o }), w = p(359) + g + ": " + a, _ = Object[p(383)][p(376)].call(t) === p(391), l = _ ? w + `
|
|
1590
|
+
` + t[p(390)] : w, b = [l, n, x][p(371)](Boolean).join(`
|
|
1591
|
+
`);
|
|
1592
|
+
return _ ? (t.originalMessage = t[p(390)], t[p(390)] = b) : t = new Error(b), t[p(381)] = l, t.command = a, t[p(370)] = s, t[p(374)] = i, t[p(375)] = r, t[p(363)] = I, t[p(384)] = x, t[p(388)] = n, e !== void 0 && (t[p(387)] = e), p(386) in t && delete t.bufferedData, t[p(385)] = !0, t[p(378)] = !!c, t[p(356)] = o, t[p(379)] = u && !c, t;
|
|
1593
|
+
}, Ox = Tx;
|
|
1594
|
+
function F0() {
|
|
1595
|
+
const x = ["14sTwyMl", "max", "It's not possible to provide `stdio` in combination with one of ", "192XfPYRh", "some", "36976GrhQmz", "87xYqusp", "18NqivEE", "461805IaUItM", "3551048GyQgXm", "502447lXjKfb", "length", "ipc", "from", "isArray", "7295910lXpnii", "string", "map", "includes", "join", "Expected `stdio` to be of type `string` or `Array`, got `", "9iuLwOu", "841105crjxun", "1641472FNRJRX"];
|
|
1596
|
+
return F0 = function() {
|
|
1597
|
+
return x;
|
|
1598
|
+
}, F0();
|
|
1599
|
+
}
|
|
1600
|
+
function Tx(x, n) {
|
|
1601
|
+
return x = x - 410, F0()[x];
|
|
1602
|
+
}
|
|
1603
|
+
(function(x, n) {
|
|
1604
|
+
const e = Tx, t = x();
|
|
1605
|
+
for (; ; )
|
|
1606
|
+
try {
|
|
1607
|
+
if (parseInt(e(421)) / 1 + parseInt(e(422)) / 2 + -parseInt(e(429)) / 3 * (parseInt(e(428)) / 4) + -parseInt(e(431)) / 5 * (parseInt(e(430)) / 6) + parseInt(e(423)) / 7 * (parseInt(e(432)) / 8) + parseInt(e(420)) / 9 * (-parseInt(e(414)) / 10) + parseInt(e(433)) / 11 * (-parseInt(e(426)) / 12) === n) break;
|
|
1608
|
+
t.push(t.shift());
|
|
1609
|
+
} catch {
|
|
1610
|
+
t.push(t.shift());
|
|
1611
|
+
}
|
|
1612
|
+
})(F0, 544021);
|
|
1613
|
+
const n0 = ["stdin", "stdout", "stderr"], Mt = (x) => n0[Ox(427)]((n) => x[n] !== void 0), Bt = (x) => {
|
|
1614
|
+
const n = Ox;
|
|
1615
|
+
if (!x) return;
|
|
1616
|
+
const { stdio: e } = x;
|
|
1617
|
+
if (e === void 0) return n0[n(416)]((r) => x[r]);
|
|
1618
|
+
if (Mt(x)) throw new Error(n(425) + n0[n(416)]((r) => "`" + r + "`")[n(418)](", "));
|
|
1619
|
+
if (typeof e == "string") return e;
|
|
1620
|
+
if (!Array[n(413)](e)) throw new TypeError(n(419) + typeof e + "`");
|
|
1621
|
+
const t = Math[n(424)](e[n(410)], n0.length);
|
|
1622
|
+
return Array[n(412)]({ length: t }, (r, i) => e[i]);
|
|
1623
|
+
};
|
|
1624
|
+
var M = { exports: {} }, r0 = { exports: {} }, Ax = Rx;
|
|
1625
|
+
(function(x, n) {
|
|
1626
|
+
for (var e = Rx, t = x(); ; )
|
|
1627
|
+
try {
|
|
1628
|
+
var r = parseInt(e(447)) / 1 * (-parseInt(e(445)) / 2) + -parseInt(e(461)) / 3 * (parseInt(e(443)) / 4) + parseInt(e(437)) / 5 * (-parseInt(e(440)) / 6) + parseInt(e(434)) / 7 * (-parseInt(e(457)) / 8) + parseInt(e(439)) / 9 + parseInt(e(452)) / 10 * (parseInt(e(450)) / 11) + -parseInt(e(438)) / 12 * (-parseInt(e(441)) / 13);
|
|
1629
|
+
if (r === n) break;
|
|
1630
|
+
t.push(t.shift());
|
|
1631
|
+
} catch {
|
|
1632
|
+
t.push(t.shift());
|
|
1633
|
+
}
|
|
1634
|
+
})(D0, 500431);
|
|
1635
|
+
function D0() {
|
|
1636
|
+
var x = ["SIGABRT", "4oEKsDp", "SIGXFSZ", "704042QKptbT", "SIGPOLL", "1QYoTYb", "SIGUSR2", "SIGSTKFLT", "1001QVISOP", "exports", "35600RGXwWz", "SIGHUP", "SIGTRAP", "SIGIOT", "platform", "8kwZhlN", "SIGIO", "SIGQUIT", "push", "785832DLyPcY", "SIGXCPU", "SIGSYS", "SIGUNUSED", "3525585QpRMaA", "SIGALRM", "SIGINT", "43345LfllTe", "48JldhER", "15246MZrISa", "426bMzUll", "6200662olYhOF"];
|
|
1637
|
+
return D0 = function() {
|
|
1638
|
+
return x;
|
|
1639
|
+
}, D0();
|
|
1640
|
+
}
|
|
1641
|
+
r0[Ax(451)];
|
|
1642
|
+
var Xe;
|
|
1643
|
+
function Ut() {
|
|
1644
|
+
var x = Ax;
|
|
1645
|
+
return Xe || (Xe = 1, (function(n) {
|
|
1646
|
+
var e = x;
|
|
1647
|
+
n[e(451)] = [e(442), e(435), e(453), e(436), "SIGTERM"], process[e(456)] !== "win32" && n.exports[e(460)]("SIGVTALRM", e(431), e(444), e(448), e(454), e(432), e(459), e(455)), process[e(456)] === "linux" && n[e(451)][e(460)](e(458), e(446), "SIGPWR", e(449), e(433));
|
|
1648
|
+
})(r0)), r0[x(451)];
|
|
1649
|
+
}
|
|
1650
|
+
function Rx(x, n) {
|
|
1651
|
+
x = x - 431;
|
|
1652
|
+
var e = D0(), t = e[x];
|
|
1653
|
+
return t;
|
|
1654
|
+
}
|
|
1655
|
+
var kx = Oe;
|
|
1656
|
+
function Oe(x, n) {
|
|
1657
|
+
x = x - 406;
|
|
1658
|
+
var e = M0(), t = e[x];
|
|
1659
|
+
return t;
|
|
1660
|
+
}
|
|
1661
|
+
(function(x, n) {
|
|
1662
|
+
for (var e = Oe, t = x(); ; )
|
|
1663
|
+
try {
|
|
1664
|
+
var r = -parseInt(e(420)) / 1 * (-parseInt(e(428)) / 2) + -parseInt(e(434)) / 3 * (parseInt(e(425)) / 4) + -parseInt(e(409)) / 5 * (parseInt(e(444)) / 6) + parseInt(e(417)) / 7 * (-parseInt(e(423)) / 8) + parseInt(e(448)) / 9 + parseInt(e(431)) / 10 + -parseInt(e(449)) / 11 * (parseInt(e(435)) / 12);
|
|
1665
|
+
if (r === n) break;
|
|
1666
|
+
t.push(t.shift());
|
|
1667
|
+
} catch {
|
|
1668
|
+
t.push(t.shift());
|
|
1669
|
+
}
|
|
1670
|
+
})(M0, 439834);
|
|
1671
|
+
M[kx(418)];
|
|
1672
|
+
function M0() {
|
|
1673
|
+
var x = ["forEach", "1177164rXxIpA", "115176uAtzwI", "listeners", "load", "kill", "filter", "number", "a callback must be provided for exit handler", "infinite", "process", "6RCIaQv", "exitCode", "reallyExit", "afterexit", "4955193AfMCFd", "66nFyLCh", "function", "platform", "unload", "call", "3092615PfBPds", "alwaysLast", "removeListener", "commonjsGlobal", "__signal_exit_emitter__", "emit", "SIGHUP", "pid", "698551imiZNW", "exports", "exit", "54OUFlLm", "equal", "setMaxListeners", "8YPrhho", "apply", "4xiRRui", "emitted", "length", "18314rFCVeq", "object", "count", "5630710glcdxi", "EventEmitter"];
|
|
1674
|
+
return M0 = function() {
|
|
1675
|
+
return x;
|
|
1676
|
+
}, M0();
|
|
1677
|
+
}
|
|
1678
|
+
var Qe;
|
|
1679
|
+
function jt() {
|
|
1680
|
+
var x = kx;
|
|
1681
|
+
if (Qe) return M[x(418)];
|
|
1682
|
+
Qe = 1;
|
|
1683
|
+
var n = u0[x(443)];
|
|
1684
|
+
const e = function(_) {
|
|
1685
|
+
var l = x;
|
|
1686
|
+
return _ && typeof _ === l(429) && typeof _.removeListener === l(450) && typeof _[l(414)] === l(450) && typeof _.reallyExit === l(450) && typeof _[l(436)] === l(450) && typeof _[l(438)] === l(450) && typeof _.pid === l(440) && typeof _.on === l(450);
|
|
1687
|
+
};
|
|
1688
|
+
if (!e(n)) M[x(418)] = function() {
|
|
1689
|
+
return function() {
|
|
1690
|
+
};
|
|
1691
|
+
};
|
|
1692
|
+
else {
|
|
1693
|
+
var t = zx, r = Ut(), i = /^win/i.test(n[x(406)]), a = Hx;
|
|
1694
|
+
typeof a !== x(450) && (a = a[x(432)]);
|
|
1695
|
+
var s;
|
|
1696
|
+
n.__signal_exit_emitter__ ? s = n.__signal_exit_emitter__ : (s = n[x(413)] = new a(), s[x(430)] = 0, s[x(426)] = {}), !s[x(442)] && (s[x(422)](1 / 0), s[x(442)] = !0), M[x(418)] = function(_, l) {
|
|
1697
|
+
var b = x;
|
|
1698
|
+
if (!e(u0.process)) return function() {
|
|
1699
|
+
};
|
|
1700
|
+
t[b(421)](typeof _, b(450), b(441)), f === !1 && p();
|
|
1701
|
+
var y = b(419);
|
|
1702
|
+
l && l[b(410)] && (y = "afterexit");
|
|
1703
|
+
var E = function() {
|
|
1704
|
+
var v = b;
|
|
1705
|
+
s[v(411)](y, _), s[v(436)](v(419))[v(427)] === 0 && s.listeners(v(447))[v(427)] === 0 && c();
|
|
1706
|
+
};
|
|
1707
|
+
return s.on(y, _), E;
|
|
1708
|
+
};
|
|
1709
|
+
var c = function() {
|
|
1710
|
+
var l = x;
|
|
1711
|
+
!f || !e(Q[l(412)].process) || (f = !1, r[l(433)](function(b) {
|
|
1712
|
+
try {
|
|
1713
|
+
n.removeListener(b, u[b]);
|
|
1714
|
+
} catch {
|
|
1715
|
+
}
|
|
1716
|
+
}), n[l(414)] = g, n[l(446)] = I, s[l(430)] -= 1);
|
|
1717
|
+
};
|
|
1718
|
+
M.exports[x(407)] = c;
|
|
1719
|
+
var o = function(l, b, y) {
|
|
1720
|
+
var E = x;
|
|
1721
|
+
s[E(426)][l] || (s.emitted[l] = !0, s[E(414)](l, b, y));
|
|
1722
|
+
}, u = {};
|
|
1723
|
+
r[x(433)](function(_) {
|
|
1724
|
+
u[_] = function() {
|
|
1725
|
+
var b = Oe;
|
|
1726
|
+
if (e(Q[b(412)][b(443)])) {
|
|
1727
|
+
var y = n[b(436)](_);
|
|
1728
|
+
y[b(427)] === s.count && (c(), o("exit", null, _), o(b(447), null, _), i && _ === b(415) && (_ = "SIGINT"), n[b(438)](n[b(416)], _));
|
|
1729
|
+
}
|
|
1730
|
+
};
|
|
1731
|
+
}), M[x(418)].signals = function() {
|
|
1732
|
+
return r;
|
|
1733
|
+
};
|
|
1734
|
+
var f = !1, p = function() {
|
|
1735
|
+
var l = x;
|
|
1736
|
+
f || !e(Q[l(412)].process) || (f = !0, s[l(430)] += 1, r = r[l(439)](function(b) {
|
|
1737
|
+
try {
|
|
1738
|
+
return n.on(b, u[b]), !0;
|
|
1739
|
+
} catch {
|
|
1740
|
+
return !1;
|
|
1741
|
+
}
|
|
1742
|
+
}), n[l(414)] = w, n[l(446)] = m);
|
|
1743
|
+
};
|
|
1744
|
+
M[x(418)][x(437)] = p;
|
|
1745
|
+
var I = n.reallyExit, m = function(l) {
|
|
1746
|
+
var b = x;
|
|
1747
|
+
e(Q[b(412)][b(443)]) && (n[b(445)] = l || 0, o(b(419), n[b(445)], null), o(b(447), n[b(445)], null), I[b(408)](n, n[b(445)]));
|
|
1748
|
+
}, g = n[x(414)], w = function(l, b) {
|
|
1749
|
+
var y = x;
|
|
1750
|
+
if (l === y(419) && e(Q[y(412)][y(443)])) {
|
|
1751
|
+
b !== void 0 && (n.exitCode = b);
|
|
1752
|
+
var E = g.apply(this, arguments);
|
|
1753
|
+
return o(y(419), n[y(445)], null), o(y(447), n.exitCode, null), E;
|
|
1754
|
+
} else return g[y(424)](this, arguments);
|
|
1755
|
+
};
|
|
1756
|
+
}
|
|
1757
|
+
return M.exports;
|
|
1758
|
+
}
|
|
1759
|
+
var qt = jt();
|
|
1760
|
+
const Vt = /* @__PURE__ */ $(qt), G = Y0;
|
|
1761
|
+
(function(x, n) {
|
|
1762
|
+
const e = Y0, t = x();
|
|
1763
|
+
for (; ; )
|
|
1764
|
+
try {
|
|
1765
|
+
if (parseInt(e(183)) / 1 * (parseInt(e(188)) / 2) + -parseInt(e(194)) / 3 + parseInt(e(180)) / 4 + -parseInt(e(177)) / 5 + parseInt(e(178)) / 6 + -parseInt(e(192)) / 7 + parseInt(e(189)) / 8 * (-parseInt(e(196)) / 9) === n) break;
|
|
1766
|
+
t.push(t.shift());
|
|
1767
|
+
} catch {
|
|
1768
|
+
t.push(t.shift());
|
|
1769
|
+
}
|
|
1770
|
+
})(B0, 386481);
|
|
1771
|
+
const zt = 1e3 * 5;
|
|
1772
|
+
function B0() {
|
|
1773
|
+
const x = ["2GzVrse", "735448FPDBcg", "` (", "isCanceled", "1319472VZnXsW", "finally", "1213518lAWOWB", "kill", "18oKJYEA", "isFinite", "SIGTERM", "Timed out", "686670OXjRSN", "3260964hzFKng", "Expected the `forceKillAfterTimeout` option to be a non-negative integer, got `", "1542956cFMxDW", "string", "assign", "371446sgqefw", "race", "signals", "unref", "toUpperCase"];
|
|
1774
|
+
return B0 = function() {
|
|
1775
|
+
return x;
|
|
1776
|
+
}, B0();
|
|
1777
|
+
}
|
|
1778
|
+
const Ht = (x, n = "SIGTERM", e = {}) => {
|
|
1779
|
+
const t = x(n);
|
|
1780
|
+
return Xt(x, n, e, t), t;
|
|
1781
|
+
}, Xt = (x, n, e, t) => {
|
|
1782
|
+
const r = Y0;
|
|
1783
|
+
if (!Qt(n, e, t)) return;
|
|
1784
|
+
const i = Kt(e), a = setTimeout(() => {
|
|
1785
|
+
x("SIGKILL");
|
|
1786
|
+
}, i);
|
|
1787
|
+
a[r(186)] && a[r(186)]();
|
|
1788
|
+
}, Qt = (x, { forceKillAfterTimeout: n }, e) => Wt(x) && n !== !1 && e, Wt = (x) => x === Vx.constants[G(185)][G(175)] || typeof x === G(181) && x[G(187)]() === "SIGTERM", Kt = ({ forceKillAfterTimeout: x = !0 }) => {
|
|
1789
|
+
const n = G;
|
|
1790
|
+
if (x === !0) return zt;
|
|
1791
|
+
if (!Number[n(174)](x) || x < 0) throw new TypeError(n(179) + x + "` (" + typeof x + ")");
|
|
1792
|
+
return x;
|
|
1793
|
+
}, Yt = (x, n) => {
|
|
1794
|
+
const e = G;
|
|
1795
|
+
x[e(195)]() && (n[e(191)] = !0);
|
|
1796
|
+
}, Zt = (x, n, e) => {
|
|
1797
|
+
const t = G;
|
|
1798
|
+
x[t(195)](n), e(Object[t(182)](new Error(t(176)), { timedOut: !0, signal: n }));
|
|
1799
|
+
};
|
|
1800
|
+
function Y0(x, n) {
|
|
1801
|
+
return x = x - 174, B0()[x];
|
|
1802
|
+
}
|
|
1803
|
+
const Jt = (x, { timeout: n, killSignal: e = G(175) }, t) => {
|
|
1804
|
+
const r = G;
|
|
1805
|
+
if (n === 0 || n === void 0) return t;
|
|
1806
|
+
let i;
|
|
1807
|
+
const a = new Promise((c, o) => {
|
|
1808
|
+
i = setTimeout(() => {
|
|
1809
|
+
Zt(x, e, o);
|
|
1810
|
+
}, n);
|
|
1811
|
+
}), s = t[r(193)](() => {
|
|
1812
|
+
clearTimeout(i);
|
|
1813
|
+
});
|
|
1814
|
+
return Promise[r(184)]([a, s]);
|
|
1815
|
+
}, $t = ({ timeout: x }) => {
|
|
1816
|
+
const n = G;
|
|
1817
|
+
if (x !== void 0 && (!Number[n(174)](x) || x < 0)) throw new TypeError("Expected the `timeout` option to be a non-negative integer, got `" + x + n(190) + typeof x + ")");
|
|
1818
|
+
}, en = async (x, { cleanup: n, detached: e }, t) => {
|
|
1819
|
+
const r = G;
|
|
1820
|
+
if (!n || e) return t;
|
|
1821
|
+
const i = Vt(() => {
|
|
1822
|
+
x[Y0(195)]();
|
|
1823
|
+
});
|
|
1824
|
+
return t[r(193)](() => {
|
|
1825
|
+
i();
|
|
1826
|
+
});
|
|
1827
|
+
};
|
|
1828
|
+
(function(x, n) {
|
|
1829
|
+
for (var e = Px, t = x(); ; )
|
|
1830
|
+
try {
|
|
1831
|
+
var r = -parseInt(e(336)) / 1 + parseInt(e(332)) / 2 * (-parseInt(e(326)) / 3) + parseInt(e(340)) / 4 + -parseInt(e(329)) / 5 * (parseInt(e(339)) / 6) + parseInt(e(327)) / 7 + -parseInt(e(328)) / 8 + parseInt(e(338)) / 9;
|
|
1832
|
+
if (r === n) break;
|
|
1833
|
+
t.push(t.shift());
|
|
1834
|
+
} catch {
|
|
1835
|
+
t.push(t.shift());
|
|
1836
|
+
}
|
|
1837
|
+
})(U0, 474953);
|
|
1838
|
+
function xn(x) {
|
|
1839
|
+
var n = Px;
|
|
1840
|
+
return x !== null && typeof x === n(334) && typeof x[n(333)] == "function";
|
|
1841
|
+
}
|
|
1842
|
+
function U0() {
|
|
1843
|
+
var x = ["3649120YCsOGu", "5WOoTrf", "_write", "writable", "222050SNTppX", "pipe", "object", "function", "939218bQOFeQ", "_writableState", "5874930MKkgSj", "904578qerjNz", "3502808bkvbyO", "_read", "_readableState", "6EMWUxC", "5002564taWkKD"];
|
|
1844
|
+
return U0 = function() {
|
|
1845
|
+
return x;
|
|
1846
|
+
}, U0();
|
|
1847
|
+
}
|
|
1848
|
+
function Px(x, n) {
|
|
1849
|
+
x = x - 324;
|
|
1850
|
+
var e = U0(), t = e[x];
|
|
1851
|
+
return t;
|
|
1852
|
+
}
|
|
1853
|
+
var j = { exports: {} };
|
|
1854
|
+
(function(x, n) {
|
|
1855
|
+
const e = Nx, t = x();
|
|
1856
|
+
for (; ; )
|
|
1857
|
+
try {
|
|
1858
|
+
if (parseInt(e(252)) / 1 * (parseInt(e(266)) / 2) + -parseInt(e(250)) / 3 + -parseInt(e(258)) / 4 + -parseInt(e(251)) / 5 * (parseInt(e(265)) / 6) + -parseInt(e(256)) / 7 * (-parseInt(e(257)) / 8) + -parseInt(e(263)) / 9 + parseInt(e(268)) / 10 === n) break;
|
|
1859
|
+
t.push(t.shift());
|
|
1860
|
+
} catch {
|
|
1861
|
+
t.push(t.shift());
|
|
1862
|
+
}
|
|
1863
|
+
})(j0, 888275);
|
|
1864
|
+
var ie, We;
|
|
1865
|
+
function tn() {
|
|
1866
|
+
const x = Nx;
|
|
1867
|
+
if (We) return ie;
|
|
1868
|
+
We = 1, x(264);
|
|
1869
|
+
const { PassThrough: n } = ye;
|
|
1870
|
+
return ie = (e) => {
|
|
1871
|
+
const t = x;
|
|
1872
|
+
e = { ...e };
|
|
1873
|
+
const { array: r } = e;
|
|
1874
|
+
let { encoding: i } = e;
|
|
1875
|
+
const a = i === t(261);
|
|
1876
|
+
let s = !1;
|
|
1877
|
+
r ? s = !(i || a) : i = i || t(260), a && (i = null);
|
|
1878
|
+
const c = new n({ objectMode: s });
|
|
1879
|
+
i && c[t(253)](i);
|
|
1880
|
+
let o = 0;
|
|
1881
|
+
const u = [];
|
|
1882
|
+
return c.on(t(262), (f) => {
|
|
1883
|
+
const p = t;
|
|
1884
|
+
u[p(267)](f), s ? o = u[p(249)] : o += f.length;
|
|
1885
|
+
}), c.getBufferedValue = () => {
|
|
1886
|
+
const f = t;
|
|
1887
|
+
return r ? u : a ? Buffer[f(259)](u, o) : u[f(254)]("");
|
|
1888
|
+
}, c[t(255)] = () => o, c;
|
|
1889
|
+
}, ie;
|
|
1890
|
+
}
|
|
1891
|
+
function j0() {
|
|
1892
|
+
const x = ["182yibSje", "71832PtiDSt", "458768OvvMpD", "concat", "utf8", "buffer", "data", "11001879wpzvUF", "use strict", "65316BkMbBL", "3288566CqSDsb", "push", "27376960XmcsTj", "length", "2826591cmEwqv", "665zpeCAg", "1WuOBGR", "setEncoding", "join", "getBufferedLength"];
|
|
1893
|
+
return j0 = function() {
|
|
1894
|
+
return x;
|
|
1895
|
+
}, j0();
|
|
1896
|
+
}
|
|
1897
|
+
function Nx(x, n) {
|
|
1898
|
+
return x = x - 249, j0()[x];
|
|
1899
|
+
}
|
|
1900
|
+
const Gx = Te;
|
|
1901
|
+
(function(x, n) {
|
|
1902
|
+
const e = Te, t = x();
|
|
1903
|
+
for (; ; )
|
|
1904
|
+
try {
|
|
1905
|
+
if (-parseInt(e(164)) / 1 * (-parseInt(e(168)) / 2) + -parseInt(e(159)) / 3 * (parseInt(e(175)) / 4) + -parseInt(e(181)) / 5 * (parseInt(e(166)) / 6) + -parseInt(e(172)) / 7 * (parseInt(e(177)) / 8) + parseInt(e(174)) / 9 + -parseInt(e(162)) / 10 * (parseInt(e(171)) / 11) + parseInt(e(170)) / 12 === n) break;
|
|
1906
|
+
t.push(t.shift());
|
|
1907
|
+
} catch {
|
|
1908
|
+
t.push(t.shift());
|
|
1909
|
+
}
|
|
1910
|
+
})(q0, 484315);
|
|
1911
|
+
j[Gx(165)];
|
|
1912
|
+
function Te(x, n) {
|
|
1913
|
+
return x = x - 159, q0()[x];
|
|
1914
|
+
}
|
|
1915
|
+
function q0() {
|
|
1916
|
+
const x = ["489nRcNcL", "exports", "47274XWCdSS", "name", "3194BQfohi", "buffer", "1087272OjTfWk", "110oLMBAb", "126cwEiAZ", "data", "1309230RsLPhc", "14028XbhIOO", "use strict", "27512dPhlCV", "Expected a stream", "MaxBufferError", "pipeline", "45Mhwewk", "129wqOqkH", "maxBuffer exceeded", "getBufferedLength", "249080dzlxfg", "getBufferedValue"];
|
|
1917
|
+
return q0 = function() {
|
|
1918
|
+
return x;
|
|
1919
|
+
}, q0();
|
|
1920
|
+
}
|
|
1921
|
+
var Ke;
|
|
1922
|
+
function nn() {
|
|
1923
|
+
const x = Gx;
|
|
1924
|
+
if (Ke) return j[x(165)];
|
|
1925
|
+
Ke = 1, x(176);
|
|
1926
|
+
const { constants: n } = Xx, e = ye, { promisify: t } = Qx, r = tn(), i = t(e[x(180)]);
|
|
1927
|
+
class a extends Error {
|
|
1928
|
+
constructor() {
|
|
1929
|
+
const o = x;
|
|
1930
|
+
super(o(160)), this[o(167)] = o(179);
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
async function s(c, o) {
|
|
1934
|
+
const u = x;
|
|
1935
|
+
if (!c) throw new Error(u(178));
|
|
1936
|
+
o = { maxBuffer: 1 / 0, ...o };
|
|
1937
|
+
const { maxBuffer: f } = o, p = r(o);
|
|
1938
|
+
return await new Promise((I, m) => {
|
|
1939
|
+
const g = u, w = (_) => {
|
|
1940
|
+
const l = Te;
|
|
1941
|
+
_ && p[l(161)]() <= n.MAX_LENGTH && (_.bufferedData = p[l(163)]()), m(_);
|
|
1942
|
+
};
|
|
1943
|
+
(async () => {
|
|
1944
|
+
try {
|
|
1945
|
+
await i(c, p), I();
|
|
1946
|
+
} catch (_) {
|
|
1947
|
+
w(_);
|
|
1948
|
+
}
|
|
1949
|
+
})(), p.on(g(173), () => {
|
|
1950
|
+
p[g(161)]() > f && w(new a());
|
|
1951
|
+
});
|
|
1952
|
+
}), p[u(163)]();
|
|
1953
|
+
}
|
|
1954
|
+
return j.exports = s, j[x(165)][x(169)] = (c, o) => s(c, { ...o, encoding: x(169) }), j[x(165)].array = (c, o) => s(c, { ...o, array: !0 }), j[x(165)][x(179)] = a, j[x(165)];
|
|
1955
|
+
}
|
|
1956
|
+
var rn = nn();
|
|
1957
|
+
const Ye = /* @__PURE__ */ $(rn);
|
|
1958
|
+
(function(x, n) {
|
|
1959
|
+
for (var e = Lx, t = x(); ; )
|
|
1960
|
+
try {
|
|
1961
|
+
var r = parseInt(e(343)) / 1 * (parseInt(e(334)) / 2) + -parseInt(e(317)) / 3 * (parseInt(e(326)) / 4) + parseInt(e(319)) / 5 * (parseInt(e(336)) / 6) + -parseInt(e(329)) / 7 * (-parseInt(e(344)) / 8) + -parseInt(e(346)) / 9 + parseInt(e(342)) / 10 * (-parseInt(e(327)) / 11) + parseInt(e(338)) / 12 * (parseInt(e(347)) / 13);
|
|
1962
|
+
if (r === n) break;
|
|
1963
|
+
t.push(t.shift());
|
|
1964
|
+
} catch {
|
|
1965
|
+
t.push(t.shift());
|
|
1966
|
+
}
|
|
1967
|
+
})(V0, 760875);
|
|
1968
|
+
function V0() {
|
|
1969
|
+
var x = ["pipe", "13297404zVBxyx", "push", "length", "slice", "10XrYqZM", "1UNyDBV", "1912vpiUYd", "isEmpty", "9146511urRivF", "13SksIOU", "end", "3WqYZCI", "bind", "54970ZGvFpw", "once", "error", "filter", "isArray", "unpipe", "setMaxListeners", "6037276XecWFm", "3049629GHHSbq", "use strict", "17059IqeSFh", "readable", "forEach", "emit", "add", "1987264TtzthT", "call", "480DHziwl"];
|
|
1970
|
+
return V0 = function() {
|
|
1971
|
+
return x;
|
|
1972
|
+
}, V0();
|
|
1973
|
+
}
|
|
1974
|
+
var oe, Ze;
|
|
1975
|
+
function an() {
|
|
1976
|
+
var x = Lx;
|
|
1977
|
+
if (Ze) return oe;
|
|
1978
|
+
Ze = 1, x(328);
|
|
1979
|
+
const { PassThrough: n } = ye;
|
|
1980
|
+
return oe = function() {
|
|
1981
|
+
var e = x, t = [], r = new n({ objectMode: !0 });
|
|
1982
|
+
return r[e(325)](0), r[e(333)] = i, r[e(345)] = a, r.on(e(324), s), Array.prototype[e(341)][e(335)](arguments).forEach(i), r;
|
|
1983
|
+
function i(c) {
|
|
1984
|
+
var o = e;
|
|
1985
|
+
return Array[o(323)](c) ? (c[o(331)](i), this) : (t[o(339)](c), c.once("end", s[o(318)](null, c)), c[o(320)](o(321), r[o(332)][o(318)](r, o(321))), c[o(337)](r, { end: !1 }), this);
|
|
1986
|
+
}
|
|
1987
|
+
function a() {
|
|
1988
|
+
var c = e;
|
|
1989
|
+
return t[c(340)] == 0;
|
|
1990
|
+
}
|
|
1991
|
+
function s(c) {
|
|
1992
|
+
var o = e;
|
|
1993
|
+
t = t[o(322)](function(u) {
|
|
1994
|
+
return u !== c;
|
|
1995
|
+
}), !t[o(340)] && r[o(330)] && r[o(348)]();
|
|
1996
|
+
}
|
|
1997
|
+
}, oe;
|
|
1998
|
+
}
|
|
1999
|
+
function Lx(x, n) {
|
|
2000
|
+
x = x - 317;
|
|
2001
|
+
var e = V0(), t = e[x];
|
|
2002
|
+
return t;
|
|
2003
|
+
}
|
|
2004
|
+
var sn = an();
|
|
2005
|
+
const cn = /* @__PURE__ */ $(sn);
|
|
2006
|
+
(function(x, n) {
|
|
2007
|
+
const e = X, t = x();
|
|
2008
|
+
for (; ; )
|
|
2009
|
+
try {
|
|
2010
|
+
if (-parseInt(e(181)) / 1 + parseInt(e(193)) / 2 * (-parseInt(e(177)) / 3) + -parseInt(e(184)) / 4 + -parseInt(e(188)) / 5 * (parseInt(e(189)) / 6) + -parseInt(e(192)) / 7 * (parseInt(e(182)) / 8) + -parseInt(e(195)) / 9 * (parseInt(e(187)) / 10) + parseInt(e(180)) / 11 === n) break;
|
|
2011
|
+
t.push(t.shift());
|
|
2012
|
+
} catch {
|
|
2013
|
+
t.push(t.shift());
|
|
2014
|
+
}
|
|
2015
|
+
})(z0, 676741);
|
|
2016
|
+
function X(x, n) {
|
|
2017
|
+
return x = x - 177, z0()[x];
|
|
2018
|
+
}
|
|
2019
|
+
const on = (x, n) => {
|
|
2020
|
+
const e = X;
|
|
2021
|
+
n === void 0 || x[e(197)] === void 0 || (xn(n) ? n.pipe(x[e(197)]) : x.stdin.end(n));
|
|
2022
|
+
}, fn = (x, { all: n }) => {
|
|
2023
|
+
const e = X;
|
|
2024
|
+
if (!n || !x[e(179)] && !x[e(178)]) return;
|
|
2025
|
+
const t = cn();
|
|
2026
|
+
return x[e(179)] && t[e(185)](x[e(179)]), x[e(178)] && t[e(185)](x[e(178)]), t;
|
|
2027
|
+
}, fe = async (x, n) => {
|
|
2028
|
+
const e = X;
|
|
2029
|
+
if (x) {
|
|
2030
|
+
x[e(183)]();
|
|
2031
|
+
try {
|
|
2032
|
+
return await n;
|
|
2033
|
+
} catch (t) {
|
|
2034
|
+
return t[e(186)];
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
}, ue = (x, { encoding: n, buffer: e, maxBuffer: t }) => {
|
|
2038
|
+
const r = X;
|
|
2039
|
+
if (!(!x || !e))
|
|
2040
|
+
return n ? Ye(x, { encoding: n, maxBuffer: t }) : Ye[r(190)](x, { maxBuffer: t });
|
|
2041
|
+
}, un = async ({ stdout: x, stderr: n, all: e }, { encoding: t, buffer: r, maxBuffer: i }, a) => {
|
|
2042
|
+
const s = X, c = ue(x, { encoding: t, buffer: r, maxBuffer: i }), o = ue(n, { encoding: t, buffer: r, maxBuffer: i }), u = ue(e, { encoding: t, buffer: r, maxBuffer: i * 2 });
|
|
2043
|
+
try {
|
|
2044
|
+
return await Promise[s(196)]([a, c, o, u]);
|
|
2045
|
+
} catch (f) {
|
|
2046
|
+
return Promise[s(196)]([{ error: f, signal: f[s(191)], timedOut: f.timedOut }, fe(x, c), fe(n, o), fe(e, u)]);
|
|
2047
|
+
}
|
|
2048
|
+
};
|
|
2049
|
+
function z0() {
|
|
2050
|
+
const x = ["buffer", "signal", "12082kvTjfY", "10678ooorLM", "The `input` option cannot be a stream in sync mode", "5625ZRLiae", "all", "stdin", "483rjyQLf", "stderr", "stdout", "54730566yFMuMu", "757244swaGMN", "392eJKVhf", "destroy", "2478724TmBlln", "add", "bufferedData", "15010EPZvRG", "2598905KVnIuB", "12uOQYki"];
|
|
2051
|
+
return z0 = function() {
|
|
2052
|
+
return x;
|
|
2053
|
+
}, z0();
|
|
2054
|
+
}
|
|
2055
|
+
const L = Cx;
|
|
2056
|
+
function Cx(x, n) {
|
|
2057
|
+
return x = x - 462, H0()[x];
|
|
2058
|
+
}
|
|
2059
|
+
(function(x, n) {
|
|
2060
|
+
const e = Cx, t = x();
|
|
2061
|
+
for (; ; )
|
|
2062
|
+
try {
|
|
2063
|
+
if (parseInt(e(483)) / 1 * (parseInt(e(472)) / 2) + parseInt(e(473)) / 3 * (parseInt(e(462)) / 4) + -parseInt(e(471)) / 5 + parseInt(e(469)) / 6 * (parseInt(e(479)) / 7) + parseInt(e(478)) / 8 * (-parseInt(e(475)) / 9) + parseInt(e(467)) / 10 + -parseInt(e(464)) / 11 === n) break;
|
|
2064
|
+
t.push(t.shift());
|
|
2065
|
+
} catch {
|
|
2066
|
+
t.push(t.shift());
|
|
2067
|
+
}
|
|
2068
|
+
})(H0, 500257);
|
|
2069
|
+
const dn = (async () => {
|
|
2070
|
+
})()[L(465)][L(480)], pn = [L(470), L(474), L(484)][L(477)]((x) => [x, Reflect[L(463)](dn, x)]);
|
|
2071
|
+
function H0() {
|
|
2072
|
+
const x = ["7551dziIqQ", "catch", "333jwHuLj", "error", "map", "172728nPbDcS", "7tQSTZe", "prototype", "exit", "stdin", "3MRKMaf", "finally", "1028TOQWfB", "getOwnPropertyDescriptor", "5459289YRUDZa", "constructor", "value", "6070200RAVriQ", "function", "3242022qbXvBK", "then", "1727640fQWtjm", "231150jPtcwI"];
|
|
2073
|
+
return H0 = function() {
|
|
2074
|
+
return x;
|
|
2075
|
+
}, H0();
|
|
2076
|
+
}
|
|
2077
|
+
const Je = (x, n) => {
|
|
2078
|
+
const e = L;
|
|
2079
|
+
for (const [t, r] of pn) {
|
|
2080
|
+
const i = typeof n === e(468) ? (...a) => Reflect.apply(r[e(466)], n(), a) : r[e(466)].bind(n);
|
|
2081
|
+
Reflect.defineProperty(x, t, { ...r, value: i });
|
|
2082
|
+
}
|
|
2083
|
+
return x;
|
|
2084
|
+
}, ln = (x) => new Promise((n, e) => {
|
|
2085
|
+
const t = L;
|
|
2086
|
+
x.on(t(481), (r, i) => {
|
|
2087
|
+
n({ exitCode: r, signal: i });
|
|
2088
|
+
}), x.on(t(476), (r) => {
|
|
2089
|
+
e(r);
|
|
2090
|
+
}), x[t(482)] && x[t(482)].on(t(476), (r) => {
|
|
2091
|
+
e(r);
|
|
2092
|
+
});
|
|
2093
|
+
}), Ie = Ae;
|
|
2094
|
+
(function(x, n) {
|
|
2095
|
+
const e = Ae, t = x();
|
|
2096
|
+
for (; ; )
|
|
2097
|
+
try {
|
|
2098
|
+
if (parseInt(e(202)) / 1 * (-parseInt(e(216)) / 2) + -parseInt(e(211)) / 3 * (-parseInt(e(210)) / 4) + -parseInt(e(208)) / 5 * (-parseInt(e(203)) / 6) + parseInt(e(206)) / 7 * (-parseInt(e(199)) / 8) + parseInt(e(197)) / 9 + parseInt(e(207)) / 10 + -parseInt(e(196)) / 11 * (-parseInt(e(212)) / 12) === n) break;
|
|
2099
|
+
t.push(t.shift());
|
|
2100
|
+
} catch {
|
|
2101
|
+
t.push(t.shift());
|
|
2102
|
+
}
|
|
2103
|
+
})(X0, 845033);
|
|
2104
|
+
const Fx = (x, n = []) => Array.isArray(n) ? [x, ...n] : [x], bn = /^[\w.-]+$/, _n = /"/g, In = (x) => {
|
|
2105
|
+
const n = Ae;
|
|
2106
|
+
return typeof x !== n(204) || bn[n(213)](x) ? x : '"' + x.replace(_n, '\\"') + '"';
|
|
2107
|
+
}, hn = (x, n) => Fx(x, n)[Ie(200)](" "), mn = (x, n) => Fx(x, n)[Ie(214)]((e) => In(e))[Ie(200)](" ");
|
|
2108
|
+
function X0() {
|
|
2109
|
+
const x = ["string", "slice", "938hdOfpI", "1711500iTHgTz", "10IjPvds", "split", "908bAcCcm", "12891MiLJnc", "476556WOyvEe", "test", "map", "length", "429116ewFPSl", "319GQTxbR", "920115kvYiiF", "trim", "83968TbCAUs", "join", "endsWith", "2fsNpOh", "840396XQZJgd"];
|
|
2110
|
+
return X0 = function() {
|
|
2111
|
+
return x;
|
|
2112
|
+
}, X0();
|
|
2113
|
+
}
|
|
2114
|
+
function Ae(x, n) {
|
|
2115
|
+
return x = x - 196, X0()[x];
|
|
2116
|
+
}
|
|
2117
|
+
(function(x, n) {
|
|
2118
|
+
const e = Z0, t = x();
|
|
12
2119
|
for (; ; )
|
|
13
2120
|
try {
|
|
14
|
-
if (-parseInt(
|
|
2121
|
+
if (-parseInt(e(360)) / 1 + -parseInt(e(365)) / 2 * (parseInt(e(388)) / 3) + parseInt(e(379)) / 4 + -parseInt(e(355)) / 5 + -parseInt(e(389)) / 6 * (parseInt(e(384)) / 7) + parseInt(e(372)) / 8 + parseInt(e(385)) / 9 === n) break;
|
|
15
2122
|
t.push(t.shift());
|
|
16
2123
|
} catch {
|
|
17
2124
|
t.push(t.shift());
|
|
18
2125
|
}
|
|
19
|
-
})(
|
|
20
|
-
function
|
|
21
|
-
const
|
|
22
|
-
return
|
|
23
|
-
return
|
|
24
|
-
},
|
|
2126
|
+
})(Q0, 590097);
|
|
2127
|
+
function Q0() {
|
|
2128
|
+
const x = ["startsWith", "input", "killed", "8856oaKCJw", "spawnSync", "options", "object", "status", "win32", "--inspect", "1495472cokTPz", "isBuffer", "error", "stderr", "utf8", "signal", "isArray", "2019664AsNITB", "file", "stdout", "execArgv", "string", "14jkBvNG", "12550410AuCrFi", "unshift", "basename", "219pyRYgu", "2561268NxUNrd", ".exe", "env", "args", "kill", "cancel", "_parse", "aborted", "filter", "reject", "spawn", "466910wTRJId", "command", "execPath", "bind", "stripFinalNewline", "225861RzLMSh", "cmd"];
|
|
2129
|
+
return Q0 = function() {
|
|
2130
|
+
return x;
|
|
2131
|
+
}, Q0();
|
|
2132
|
+
}
|
|
2133
|
+
const yn = 1e3 * 1e3 * 100, gn = ({ env: x, extendEnv: n, preferLocal: e, localDir: t, execPath: r }) => {
|
|
2134
|
+
const i = n ? { ...B.env, ...x } : x;
|
|
2135
|
+
return e ? ht({ env: i, cwd: t, execPath: r }) : i;
|
|
2136
|
+
}, wn = (x, n, e = {}) => {
|
|
2137
|
+
const t = Z0, r = pt[t(395)](x, n, e);
|
|
2138
|
+
return x = r[t(356)], n = r[t(392)], e = r[t(367)], e = { maxBuffer: yn, buffer: !0, stripFinalNewline: !0, extendEnv: !0, preferLocal: !1, localDir: e.cwd || B.cwd(), execPath: B[t(357)], encoding: t(376), reject: !0, cleanup: !0, all: !1, windowsHide: !0, ...e }, e[t(391)] = gn(e), e.stdio = Bt(e), B.platform === t(370) && H[t(387)](x, t(390)) === t(361) && n[t(386)]("/q"), { file: x, args: n, options: e, parsed: r };
|
|
2139
|
+
}, de = (x, n, e) => {
|
|
2140
|
+
const t = Z0;
|
|
2141
|
+
return typeof n !== t(383) && !Bx[t(373)](n) ? e === void 0 ? void 0 : "" : x[t(359)] ? lt(n) : n;
|
|
2142
|
+
};
|
|
2143
|
+
function En(x, n, e) {
|
|
2144
|
+
const t = Z0, r = wn(x, n, e), i = hn(x, n), a = mn(x, n);
|
|
2145
|
+
$t(r[t(367)]);
|
|
2146
|
+
let s;
|
|
2147
|
+
try {
|
|
2148
|
+
s = Re[t(354)](r[t(380)], r[t(392)], r.options);
|
|
2149
|
+
} catch (m) {
|
|
2150
|
+
const g = new Re.ChildProcess(), w = Promise.reject(He({ error: m, stdout: "", stderr: "", all: "", command: i, escapedCommand: a, parsed: r, timedOut: !1, isCanceled: !1, killed: !1 }));
|
|
2151
|
+
return Je(g, w);
|
|
2152
|
+
}
|
|
2153
|
+
const c = ln(s), o = Jt(s, r.options, c), u = en(s, r[t(367)], o), f = { isCanceled: !1 };
|
|
2154
|
+
s[t(393)] = Ht.bind(null, s.kill.bind(s)), s[t(394)] = Yt[t(358)](null, s, f);
|
|
2155
|
+
const p = async () => {
|
|
2156
|
+
const m = t, [{ error: g, exitCode: w, signal: _, timedOut: l }, b, y, E] = await un(s, r.options, u), v = de(r[m(367)], b), O = de(r[m(367)], y), T = de(r.options, E);
|
|
2157
|
+
if (g || w !== 0 || _ !== null) {
|
|
2158
|
+
const k = He({ error: g, exitCode: w, signal: _, stdout: v, stderr: O, all: T, command: i, escapedCommand: a, parsed: r, timedOut: l, isCanceled: f.isCanceled || (r[m(367)][m(377)] ? r[m(367)][m(377)][m(351)] : !1), killed: s[m(364)] });
|
|
2159
|
+
if (!r[m(367)].reject) return k;
|
|
2160
|
+
throw k;
|
|
2161
|
+
}
|
|
2162
|
+
return { command: i, escapedCommand: a, exitCode: 0, stdout: v, stderr: O, all: T, failed: !1, timedOut: !1, isCanceled: !1, killed: !1 };
|
|
2163
|
+
}, I = yx(p);
|
|
2164
|
+
return on(s, r[t(367)][t(363)]), s.all = fn(s, r[t(367)]), Je(s, I);
|
|
25
2165
|
}
|
|
26
|
-
function
|
|
27
|
-
return
|
|
2166
|
+
function Z0(x, n) {
|
|
2167
|
+
return x = x - 351, Q0()[x];
|
|
28
2168
|
}
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
2169
|
+
const Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2170
|
+
__proto__: null
|
|
2171
|
+
}, Symbol.toStringTag, { value: "Module" })), P = N;
|
|
2172
|
+
(function(x, n) {
|
|
2173
|
+
const e = N, t = x();
|
|
2174
|
+
for (; ; )
|
|
2175
|
+
try {
|
|
2176
|
+
if (parseInt(e(363)) / 1 + -parseInt(e(345)) / 2 * (-parseInt(e(299)) / 3) + -parseInt(e(353)) / 4 + -parseInt(e(289)) / 5 * (parseInt(e(352)) / 6) + -parseInt(e(296)) / 7 * (parseInt(e(355)) / 8) + -parseInt(e(309)) / 9 * (-parseInt(e(392)) / 10) + parseInt(e(369)) / 11 * (parseInt(e(280)) / 12) === n) break;
|
|
2177
|
+
t.push(t.shift());
|
|
2178
|
+
} catch {
|
|
2179
|
+
t.push(t.shift());
|
|
2180
|
+
}
|
|
2181
|
+
})(W0, 647736);
|
|
2182
|
+
const vn = Wx(import.meta.url), $e = jx(vn);
|
|
2183
|
+
function On(x) {
|
|
2184
|
+
return x instanceof ArrayBuffer;
|
|
32
2185
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
2186
|
+
function Tn(x) {
|
|
2187
|
+
return x instanceof Blob;
|
|
35
2188
|
}
|
|
36
|
-
function
|
|
37
|
-
return
|
|
2189
|
+
function An(x) {
|
|
2190
|
+
return x instanceof File;
|
|
38
2191
|
}
|
|
39
|
-
function
|
|
40
|
-
const
|
|
41
|
-
return typeof
|
|
2192
|
+
function Rn(x) {
|
|
2193
|
+
const n = N;
|
|
2194
|
+
return typeof x === n(401) && x !== null && typeof x[n(297)] === n(387);
|
|
42
2195
|
}
|
|
43
|
-
var
|
|
44
|
-
const
|
|
45
|
-
return
|
|
46
|
-
})(
|
|
47
|
-
function
|
|
48
|
-
const
|
|
49
|
-
return
|
|
2196
|
+
var kn = ((x) => {
|
|
2197
|
+
const n = N;
|
|
2198
|
+
return x[n(382)] = n(382), x.INVALID_FRAME_COUNT = n(313), x[n(314)] = n(314), x.GIFSICLE_BINARY_NOT_FOUND = n(328), x.GIFSICLE_NOT_AVAILABLE = "GIFSICLE_NOT_AVAILABLE", x.UNSUPPORTED_FILE_TYPE = "UNSUPPORTED_FILE_TYPE", x[n(359)] = "CANNOT_READ_FILE_DATA", x[n(370)] = n(370), x.INVALID_DROP_FRAME_RATIO = n(347), x[n(295)] = n(295), x.PARSING_FAILED = "PARSING_FAILED", x.COMPRESSION_FAILED = n(292), x[n(271)] = n(271), x[n(381)] = "NO_OUTPUT_FILE", x[n(361)] = "FILE_PROCESSING_FAILED", x;
|
|
2199
|
+
})(kn || {});
|
|
2200
|
+
function S(x, n) {
|
|
2201
|
+
const e = N, t = { [e(382)]: e(288), INVALID_FRAME_COUNT: e(399), [e(314)]: e(302), [e(328)]: e(364), [e(320)]: "lib不可用", [e(325)]: e(294), CANNOT_READ_FILE_DATA: e(350), [e(370)]: e(390), [e(347)]: e(393), [e(295)]: e(327), [e(331)]: e(391), [e(292)]: e(270), [e(271)]: e(308), [e(381)]: e(383), [e(361)]: "处理文件失败" }, r = n ? t[x] + ": " + n : t[x];
|
|
2202
|
+
return R.err(r);
|
|
50
2203
|
}
|
|
51
|
-
const
|
|
52
|
-
function
|
|
53
|
-
const
|
|
54
|
-
if (
|
|
55
|
-
const
|
|
56
|
-
return { platformDir:
|
|
2204
|
+
const t0 = { MAX_ATTEMPTS: 50, LOW_GAP_THRESHOLD: 10, GAP_RATIO_THRESHOLD: 0.01, FILE_SIZE_THRESHOLDS: { SMALL: 1 * 1024 * 1024, MEDIUM: 3 * 1024 * 1024, LARGE: 5 * 1024 * 1024, XLARGE: 10 * 1024 * 1024, XXLARGE: 50 * 1024 * 1024, HUGE: 100 * 1024 * 1024 }, DELTA_VALUES: { SMALL: 10, MEDIUM: 20, LARGE: 30, XLARGE: 40, XXLARGE: 50, HUGE: 100, VERY_HUGE: 200 } };
|
|
2205
|
+
function Pn() {
|
|
2206
|
+
const x = N, n = process.platform, e = process[x(300)];
|
|
2207
|
+
if (n === "win32") {
|
|
2208
|
+
const r = x(e === "x64" ? 371 : 394);
|
|
2209
|
+
return { platformDir: A(x(335), r), binaryName: "gifsicle.exe" };
|
|
57
2210
|
}
|
|
58
|
-
if (
|
|
59
|
-
const t =
|
|
60
|
-
return { platformDir:
|
|
2211
|
+
if (n === x(318)) return { platformDir: x(291), binaryName: "gifsicle" };
|
|
2212
|
+
const t = e === x(371) ? x(371) : x(394);
|
|
2213
|
+
return { platformDir: A(x(315), t), binaryName: x(323) };
|
|
61
2214
|
}
|
|
62
|
-
async function
|
|
63
|
-
const
|
|
2215
|
+
async function Nn() {
|
|
2216
|
+
const x = N, n = process[x(272)], e = process[x(300)];
|
|
64
2217
|
let t = "";
|
|
65
|
-
if (
|
|
66
|
-
const
|
|
67
|
-
t =
|
|
68
|
-
} else if (
|
|
2218
|
+
if (n === x(356)) {
|
|
2219
|
+
const i = e === x(371) ? x(371) : x(394);
|
|
2220
|
+
t = A("win", i, "gifsicle.exe");
|
|
2221
|
+
} else if (n === x(318)) t = A(x(291), "gifsicle");
|
|
69
2222
|
else {
|
|
70
|
-
const
|
|
71
|
-
t =
|
|
2223
|
+
const i = e === x(371) ? x(371) : "x86";
|
|
2224
|
+
t = A("linux", i, "gifsicle");
|
|
72
2225
|
}
|
|
73
|
-
const
|
|
74
|
-
for (const
|
|
2226
|
+
const r = [A($e, x(395)), A($e, x(389)), A(process[x(293)](), x(389)), A(process[x(293)](), "dist/vendor")];
|
|
2227
|
+
for (const i of r)
|
|
75
2228
|
try {
|
|
76
|
-
return await
|
|
2229
|
+
return await C[x(336)](A(i, t)), i;
|
|
77
2230
|
} catch {
|
|
78
2231
|
}
|
|
79
|
-
throw new Error(
|
|
2232
|
+
throw new Error(x(268) + r[x(276)](", "));
|
|
80
2233
|
}
|
|
81
|
-
async function
|
|
82
|
-
const
|
|
83
|
-
if (typeof
|
|
84
|
-
if (
|
|
85
|
-
if (
|
|
86
|
-
const
|
|
87
|
-
return Buffer
|
|
88
|
-
} catch (
|
|
89
|
-
throw
|
|
2234
|
+
async function Gn(x) {
|
|
2235
|
+
const n = N;
|
|
2236
|
+
if (typeof x == "string") return await C.readFile(x);
|
|
2237
|
+
if (On(x)) return Buffer[n(388)](x);
|
|
2238
|
+
if (An(x) || Tn(x) || Rn(x)) try {
|
|
2239
|
+
const e = await x[n(297)]();
|
|
2240
|
+
return Buffer.from(e);
|
|
2241
|
+
} catch (e) {
|
|
2242
|
+
throw S(n(359), e instanceof Error ? e[n(310)] : String(e));
|
|
90
2243
|
}
|
|
91
|
-
throw
|
|
2244
|
+
throw S(n(325), typeof x);
|
|
92
2245
|
}
|
|
93
|
-
async function
|
|
94
|
-
const
|
|
2246
|
+
async function Ln(x) {
|
|
2247
|
+
const n = N, e = A(qx(), n(305) + Date.now() + "-" + Math[n(334)]()[n(402)](36)[n(317)](2)), t = A(e, n(385));
|
|
95
2248
|
try {
|
|
96
|
-
return await
|
|
2249
|
+
return await C[n(321)](e, { recursive: !0 }), await C.mkdir(t, { recursive: !0 }), await x(e, t);
|
|
97
2250
|
} finally {
|
|
98
|
-
await
|
|
2251
|
+
await C.rm(e, { recursive: !0, force: !0 }).catch(() => {
|
|
99
2252
|
});
|
|
100
2253
|
}
|
|
101
2254
|
}
|
|
102
|
-
function
|
|
103
|
-
const
|
|
104
|
-
for (const
|
|
105
|
-
const
|
|
106
|
-
for (const
|
|
107
|
-
let
|
|
108
|
-
if (
|
|
109
|
-
const
|
|
110
|
-
|
|
2255
|
+
function Cn(x, n, e, t) {
|
|
2256
|
+
const r = N, i = [];
|
|
2257
|
+
for (const a of x) {
|
|
2258
|
+
const s = a.split(" ")[r(380)]((c) => c[r(342)]() !== "");
|
|
2259
|
+
for (const c of s) {
|
|
2260
|
+
let o = c;
|
|
2261
|
+
if (c[r(284)](r(311))) {
|
|
2262
|
+
const f = c[r(317)](5);
|
|
2263
|
+
o = A(t, f);
|
|
111
2264
|
}
|
|
112
|
-
|
|
2265
|
+
n[r(333)]((f) => f[r(344)] === c) && (o = A(e, c)), i.push(o);
|
|
113
2266
|
}
|
|
114
2267
|
}
|
|
115
|
-
return
|
|
2268
|
+
return i;
|
|
2269
|
+
}
|
|
2270
|
+
function W0() {
|
|
2271
|
+
const x = ["XLARGE", "trim", "LOW_GAP_THRESHOLD", "name", "1254404sZjcRF", "endsWith", "INVALID_DROP_FRAME_RATIO", "compress", "尺寸数值错误", "读取文件数据失败", "file", "6195498zjXwcX", "518060HTQivC", "HUGE", "148856UgccMv", "win32", "convertDropFrame", "parseOriginalGif", "CANNOT_READ_FILE_DATA", "No output file from gifsicle", "FILE_PROCESSING_FAILED", "width", "976723aVLNcI", "lib未找到", "split", "pop", "logical screen", "push", "3081661IQNWfF", "MISSING_ORIGINAL_GIF", "x64", "exportSize", "doCompressOnce", "singleCompress", "global color table", " --lossy=", "map", "GAP_RATIO_THRESHOLD", "originalGif", "filter", "NO_OUTPUT_FILE", "INVALID_GIF_DIMENSIONS", "未生成输出文件", "writeFile", "out", "路径: ", "function", "from", "vendor", "原始GIF文件不能为空", "解析GIF失败", "48970epRICI", "抽帧比例必须在0到1之间", "x86", "../gifsicle-bin/vendor", "text", "--delete ", "resetDelayGif", "无法解析帧数", "includes", "object", "toString", "images", "LARGE", "无法找到gifsicle vendor目录,尝试的路径: ", "MEDIUM", "压缩GIF失败", "RESET_DELAY_FAILED", "platform", "ensureGifsicle", "input.gif ", "getError", "join", "readdir", "length", "Result.err:", "36kiscRw", "runGifsicle", "XXLARGE", "格式错误", "startsWith", "round", "height", "image/gif", "无法解析GIF尺寸", "5QUNgZk", "readFile", "macos", "COMPRESSION_FAILED", "cwd", "不支持的输入文件类型", "INVALID_EXPORT_SIZE", "469OaRXOO", "arrayBuffer", "无法解析帧延迟信息", "3GpxqnI", "arch", "input.gif", "压缩GIF超时,请调整压缩参数后再进行压缩", "size", "abs", "gifsicle-", "replace", "SMALL", "重置帧延迟失败", "1125bwbMsP", "message", "/out/", " -o /out/out.gif", "INVALID_FRAME_COUNT", "COMPRESSION_TIMEOUT", "linux", "slice", "substring", "darwin", "err", "GIFSICLE_NOT_AVAILABLE", "mkdir", "isErr", "gifsicle", "gifsiclePath", "UNSUPPORTED_FILE_TYPE", "gifsicle未生成输出文件", "导出大小不能为负数", "GIFSICLE_BINARY_NOT_FOUND", "delay", "VERY_HUGE", "PARSING_FAILED", "dropFrame", "find", "random", "win", "access", "输出文件为空", "unwrap", "deltaByFileSize", "application/octet-stream"];
|
|
2272
|
+
return W0 = function() {
|
|
2273
|
+
return x;
|
|
2274
|
+
}, W0();
|
|
116
2275
|
}
|
|
117
|
-
class
|
|
2276
|
+
class Fn {
|
|
118
2277
|
constructor() {
|
|
119
|
-
const
|
|
120
|
-
this[
|
|
2278
|
+
const n = N;
|
|
2279
|
+
this[n(324)] = null;
|
|
121
2280
|
}
|
|
122
|
-
async
|
|
123
|
-
const
|
|
2281
|
+
async ensureGifsicle() {
|
|
2282
|
+
const n = N;
|
|
124
2283
|
try {
|
|
125
|
-
const { platformDir:
|
|
2284
|
+
const { platformDir: e, binaryName: t } = Pn(), r = await Nn(), i = A(r, e, t);
|
|
126
2285
|
try {
|
|
127
|
-
await
|
|
2286
|
+
await C.access(i);
|
|
128
2287
|
} catch {
|
|
129
|
-
throw
|
|
2288
|
+
throw S("GIFSICLE_BINARY_NOT_FOUND", n(386) + i);
|
|
130
2289
|
}
|
|
131
|
-
this[
|
|
132
|
-
} catch (
|
|
133
|
-
throw
|
|
2290
|
+
this[n(324)] = i, console.log("gifsicle路径:", this[n(324)]);
|
|
2291
|
+
} catch (e) {
|
|
2292
|
+
throw S(n(320), e instanceof Error ? e[n(310)] : String(e));
|
|
134
2293
|
}
|
|
135
2294
|
}
|
|
136
|
-
async [
|
|
137
|
-
const t =
|
|
138
|
-
!this[t(
|
|
2295
|
+
async [P(281)](n, e) {
|
|
2296
|
+
const t = P;
|
|
2297
|
+
!this[t(324)] && await this[t(273)]();
|
|
139
2298
|
try {
|
|
140
|
-
return await
|
|
141
|
-
const
|
|
142
|
-
for (const
|
|
2299
|
+
return await Ln(async (r, i) => {
|
|
2300
|
+
const a = t;
|
|
2301
|
+
for (const u of n)
|
|
143
2302
|
try {
|
|
144
|
-
const
|
|
145
|
-
await
|
|
146
|
-
} catch (
|
|
147
|
-
return
|
|
2303
|
+
const f = await Gn(u[a(351)]), p = A(r, u[a(344)]);
|
|
2304
|
+
await C[a(384)](p, f);
|
|
2305
|
+
} catch (f) {
|
|
2306
|
+
return f instanceof Error && f[a(310)][a(284)](a(279)) ? f : S(a(361), u[a(344)] + ": " + (f instanceof Error ? f[a(310)] : String(f)));
|
|
148
2307
|
}
|
|
149
|
-
const
|
|
150
|
-
await
|
|
151
|
-
const
|
|
152
|
-
for (const
|
|
153
|
-
const
|
|
154
|
-
|
|
2308
|
+
const s = Cn(e, n, r, i);
|
|
2309
|
+
await En(this[a(324)], s, { cwd: r });
|
|
2310
|
+
const c = [], o = await C[a(277)](i);
|
|
2311
|
+
for (const u of o) {
|
|
2312
|
+
const f = A(i, u), p = await C[a(290)](f), I = new File([p], u, { type: a(340) });
|
|
2313
|
+
c[a(368)](I);
|
|
155
2314
|
}
|
|
156
|
-
return
|
|
2315
|
+
return R.ok(c);
|
|
157
2316
|
});
|
|
158
|
-
} catch (
|
|
159
|
-
return
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
const
|
|
164
|
-
return
|
|
165
|
-
}
|
|
166
|
-
[
|
|
167
|
-
const t =
|
|
168
|
-
if (
|
|
169
|
-
const
|
|
170
|
-
let
|
|
171
|
-
for (let
|
|
172
|
-
const
|
|
173
|
-
(
|
|
174
|
-
}
|
|
175
|
-
const
|
|
176
|
-
return { deleteParam:
|
|
177
|
-
}
|
|
178
|
-
async [
|
|
179
|
-
const
|
|
180
|
-
if (!e
|
|
181
|
-
if (e
|
|
182
|
-
if (e
|
|
183
|
-
const t = await this.parseOriginalGif(e
|
|
184
|
-
if (t
|
|
185
|
-
const
|
|
186
|
-
return await this
|
|
187
|
-
}
|
|
188
|
-
async [
|
|
189
|
-
const
|
|
190
|
-
try {
|
|
191
|
-
const t = await this.runGifsicle([{ file:
|
|
192
|
-
if (t.isErr()) return
|
|
193
|
-
const
|
|
194
|
-
if (
|
|
195
|
-
const
|
|
196
|
-
if (!
|
|
197
|
-
const
|
|
198
|
-
`),
|
|
199
|
-
if (!
|
|
200
|
-
const
|
|
201
|
-
if (
|
|
202
|
-
const
|
|
203
|
-
if (!
|
|
204
|
-
const
|
|
205
|
-
if (isNaN(
|
|
206
|
-
let
|
|
207
|
-
const
|
|
208
|
-
if (
|
|
209
|
-
const
|
|
210
|
-
|
|
2317
|
+
} catch (r) {
|
|
2318
|
+
return r instanceof Error && r[t(310)][t(284)]("Result.err:") ? r : S(t(292), r instanceof Error ? r.message : String(r));
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
deltaByFileSize(n) {
|
|
2322
|
+
const e = P, { FILE_SIZE_THRESHOLDS: t, DELTA_VALUES: r } = t0;
|
|
2323
|
+
return n > t[e(354)] ? r[e(330)] : n > t[e(282)] && n <= t[e(354)] ? r.HUGE : n > t[e(341)] && n <= t[e(282)] ? r[e(282)] : n > t[e(404)] && n <= t[e(341)] ? r[e(341)] : n > t[e(269)] && n <= t[e(404)] ? r[e(404)] : n > t[e(307)] && n <= t[e(269)] ? r[e(269)] : r[e(307)];
|
|
2324
|
+
}
|
|
2325
|
+
[P(357)](n, e) {
|
|
2326
|
+
const t = P;
|
|
2327
|
+
if (n <= 0 || n >= 1) return { deleteParam: null, delayParam: null };
|
|
2328
|
+
const r = Math[t(285)](1 / n), i = e.frames, a = i.filter((f, p) => (p + 1) % r === 0)[t(377)]((f) => "#" + f.index), s = a[t(278)] > 0 ? t(397) + a[t(276)](" ") : null, c = [];
|
|
2329
|
+
let o = 0;
|
|
2330
|
+
for (let f = 0; f < i[t(278)]; f++) {
|
|
2331
|
+
const p = i[f];
|
|
2332
|
+
(f + 1) % r === 0 ? o += p.delay : (c[t(368)](p[t(329)] + o), o = 0);
|
|
2333
|
+
}
|
|
2334
|
+
const u = c[t(278)] > 0 ? c.map((f, p) => "-d" + Math[t(285)](f / 10) + " #" + p)[t(276)](" ") : null;
|
|
2335
|
+
return { deleteParam: s, delayParam: u };
|
|
2336
|
+
}
|
|
2337
|
+
async [P(348)](n) {
|
|
2338
|
+
const e = P;
|
|
2339
|
+
if (!n[e(379)]) return S("MISSING_ORIGINAL_GIF");
|
|
2340
|
+
if (n[e(332)] === void 0 || n[e(332)] < 0 || n.dropFrame > 1) return S(e(347));
|
|
2341
|
+
if (n[e(372)] === void 0 || n[e(372)] < 0) return S(e(295));
|
|
2342
|
+
const t = await this.parseOriginalGif(n[e(379)]);
|
|
2343
|
+
if (t.isErr()) return S(e(331), t.getError());
|
|
2344
|
+
const r = t[e(338)]();
|
|
2345
|
+
return await this[e(373)](r, n);
|
|
2346
|
+
}
|
|
2347
|
+
async [P(358)](n) {
|
|
2348
|
+
const e = P;
|
|
2349
|
+
try {
|
|
2350
|
+
const t = await this.runGifsicle([{ file: n, name: "input.gif" }], ["--info input.gif -o /out/out.txt"]);
|
|
2351
|
+
if (t.isErr()) return S("PARSING_FAILED", t[e(275)]());
|
|
2352
|
+
const r = t[e(338)]();
|
|
2353
|
+
if (r.length === 0) return S("NO_OUTPUT_FILE", e(360));
|
|
2354
|
+
const i = r[0];
|
|
2355
|
+
if (!i) return S(e(381), e(337));
|
|
2356
|
+
const a = await i[e(396)](), s = a[e(365)](`
|
|
2357
|
+
`), c = s.find((O) => O[e(400)](e(367)));
|
|
2358
|
+
if (!c) return S(e(382));
|
|
2359
|
+
const o = c.replace("logical screen", "")[e(342)]()[e(365)]("x");
|
|
2360
|
+
if (o[e(278)] !== 2) return S("INVALID_GIF_DIMENSIONS", e(283));
|
|
2361
|
+
const u = o[0]?.[e(342)](), f = o[1]?.trim();
|
|
2362
|
+
if (!u || !f) return S(e(382), "尺寸格式错误");
|
|
2363
|
+
const p = parseInt(u, 10), I = parseInt(f, 10);
|
|
2364
|
+
if (isNaN(p) || isNaN(I)) return S(e(382), e(349));
|
|
2365
|
+
let m = null;
|
|
2366
|
+
const g = s.find((O) => O[e(400)](e(375)));
|
|
2367
|
+
if (g) {
|
|
2368
|
+
const O = g[e(306)](e(375), "")[e(306)]("[", "")[e(306)]("]", "")[e(342)]();
|
|
2369
|
+
m = parseInt(O, 10) || null;
|
|
211
2370
|
}
|
|
212
|
-
const
|
|
213
|
-
const
|
|
214
|
-
return
|
|
2371
|
+
const w = s[e(333)]((O) => {
|
|
2372
|
+
const T = e, k = O.trim();
|
|
2373
|
+
return k[T(284)]("*") && k[T(346)](T(403));
|
|
215
2374
|
});
|
|
216
|
-
if (!
|
|
217
|
-
const
|
|
218
|
-
if (isNaN(
|
|
219
|
-
const
|
|
220
|
-
for (const
|
|
221
|
-
if (
|
|
222
|
-
const
|
|
223
|
-
if (
|
|
224
|
-
const
|
|
225
|
-
!isNaN(
|
|
2375
|
+
if (!w) return S("INVALID_FRAME_COUNT");
|
|
2376
|
+
const _ = w[e(306)](e(403), "")[e(342)]()[e(365)](" ")[e(366)](), l = _ ? parseInt(_, 10) : NaN;
|
|
2377
|
+
if (isNaN(l)) return S(e(313), "数值错误");
|
|
2378
|
+
const b = [];
|
|
2379
|
+
for (const O of s)
|
|
2380
|
+
if (O.includes("delay")) {
|
|
2381
|
+
const T = O.indexOf(e(329));
|
|
2382
|
+
if (T !== -1) {
|
|
2383
|
+
const k = O.slice(T + 5).trim().replace("s", ""), z = parseFloat(k);
|
|
2384
|
+
!isNaN(z) && b[e(368)](Math[e(285)](z * 1e3));
|
|
226
2385
|
}
|
|
227
2386
|
}
|
|
228
|
-
const
|
|
229
|
-
let
|
|
230
|
-
if (
|
|
231
|
-
if (
|
|
232
|
-
if (
|
|
2387
|
+
const y = b[e(377)]((O, T) => ({ index: T, delay: O }));
|
|
2388
|
+
let E = y;
|
|
2389
|
+
if (y.length !== l) {
|
|
2390
|
+
if (y[e(278)] === 0) return S(e(331), e(298));
|
|
2391
|
+
if (y[e(278)] > l) E = y[e(316)](0, l);
|
|
233
2392
|
else {
|
|
234
|
-
const
|
|
235
|
-
|
|
236
|
-
for (let
|
|
237
|
-
|
|
2393
|
+
const O = y[y.length - 1].delay;
|
|
2394
|
+
E = [...y];
|
|
2395
|
+
for (let T = y[e(278)]; T < l; T++)
|
|
2396
|
+
E.push({ index: T, delay: O });
|
|
238
2397
|
}
|
|
239
2398
|
}
|
|
240
|
-
const
|
|
241
|
-
return
|
|
2399
|
+
const v = n[e(303)] / 1024;
|
|
2400
|
+
return R.ok({ size: v, width: p, height: I, colorTableSize: m, frameNum: l, frames: E });
|
|
242
2401
|
} catch (t) {
|
|
243
|
-
return
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
async
|
|
247
|
-
const t =
|
|
248
|
-
if (!
|
|
249
|
-
const
|
|
250
|
-
if (
|
|
251
|
-
const
|
|
252
|
-
return
|
|
253
|
-
}
|
|
254
|
-
async [
|
|
255
|
-
const
|
|
256
|
-
if (
|
|
257
|
-
const
|
|
258
|
-
if (
|
|
259
|
-
const
|
|
260
|
-
if (
|
|
261
|
-
const
|
|
2402
|
+
return S("PARSING_FAILED", t instanceof Error ? t[e(310)] : String(t));
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
async [P(398)](n, e) {
|
|
2406
|
+
const t = P;
|
|
2407
|
+
if (!e) return R.ok(n);
|
|
2408
|
+
const r = [t(274) + e + t(312)], i = await this[t(281)]([{ file: n, name: t(301) }], r);
|
|
2409
|
+
if (i[t(322)]()) return S(t(271), i[t(275)]());
|
|
2410
|
+
const a = i[t(338)]();
|
|
2411
|
+
return a[t(278)] === 0 ? S("NO_OUTPUT_FILE", t(326)) : R.ok(a[0]);
|
|
2412
|
+
}
|
|
2413
|
+
async [P(374)](n, e, t, r, i, a, s, c, o) {
|
|
2414
|
+
const u = P;
|
|
2415
|
+
if (a >= t0.MAX_ATTEMPTS) return S(u(314));
|
|
2416
|
+
const f = r || "", p = ["input.gif --no-warnings --resize-width " + e + u(376) + s + " " + f + u(312)], I = await this[u(281)]([{ file: n, name: u(301) }], p);
|
|
2417
|
+
if (I[u(322)]()) return S(u(292), I[u(275)]());
|
|
2418
|
+
const m = I.unwrap();
|
|
2419
|
+
if (m[u(278)] === 0) return S(u(292), "可以尝试降低压缩宽/高");
|
|
2420
|
+
const g = m[0];
|
|
262
2421
|
if (t === null) {
|
|
263
|
-
const
|
|
264
|
-
if (
|
|
265
|
-
const
|
|
266
|
-
return
|
|
267
|
-
}
|
|
268
|
-
const
|
|
269
|
-
if (
|
|
270
|
-
const
|
|
271
|
-
if (
|
|
272
|
-
const
|
|
273
|
-
return
|
|
274
|
-
}
|
|
275
|
-
if (
|
|
276
|
-
if (
|
|
277
|
-
const
|
|
278
|
-
return this
|
|
279
|
-
}
|
|
280
|
-
const
|
|
281
|
-
return this[
|
|
282
|
-
}
|
|
283
|
-
async doCompressOnce(
|
|
284
|
-
const t =
|
|
285
|
-
if (!
|
|
286
|
-
let
|
|
287
|
-
if (
|
|
288
|
-
else if (
|
|
289
|
-
const
|
|
290
|
-
|
|
291
|
-
} else
|
|
292
|
-
const
|
|
2422
|
+
const l = await this[u(398)](g, i);
|
|
2423
|
+
if (l[u(322)]()) return l;
|
|
2424
|
+
const b = l[u(338)](), y = await b[u(297)](), E = new Blob([y], { type: "image/gif" });
|
|
2425
|
+
return R.ok(E);
|
|
2426
|
+
}
|
|
2427
|
+
const w = g[u(303)];
|
|
2428
|
+
if (w <= t) {
|
|
2429
|
+
const l = await this[u(398)](g, i);
|
|
2430
|
+
if (l.isErr()) return l;
|
|
2431
|
+
const b = l[u(338)](), y = await b.arrayBuffer(), E = new Blob([y], { type: u(287) });
|
|
2432
|
+
return R.ok(E);
|
|
2433
|
+
}
|
|
2434
|
+
if (o !== null && Math[u(304)](w - o) / n[u(303)] <= t0[u(378)]) {
|
|
2435
|
+
if (c + 1 > t0[u(343)]) return S("COMPRESSION_FAILED", "可以尝试降低压缩宽/高");
|
|
2436
|
+
const y = this[u(339)](w);
|
|
2437
|
+
return this.singleCompress(n, e, t, r, i, a + 1, s + y, c + 1, w);
|
|
2438
|
+
}
|
|
2439
|
+
const _ = this.deltaByFileSize(w);
|
|
2440
|
+
return this[u(374)](n, e, t, r, i, a + 1, s + _, 0, w);
|
|
2441
|
+
}
|
|
2442
|
+
async doCompressOnce(n, e) {
|
|
2443
|
+
const t = P, r = e[t(379)];
|
|
2444
|
+
if (!r) return R[t(319)]("原始GIF文件不能为空");
|
|
2445
|
+
let i;
|
|
2446
|
+
if (e[t(362)] !== void 0) i = e[t(362)];
|
|
2447
|
+
else if (e[t(286)] !== void 0) {
|
|
2448
|
+
const o = n.width / n.height;
|
|
2449
|
+
i = Math.round(e[t(286)] * o);
|
|
2450
|
+
} else i = n[t(362)];
|
|
2451
|
+
const a = e[t(372)] && e[t(372)] > 0 ? e[t(372)] * 1024 : null, { deleteParam: s, delayParam: c } = this[t(357)](e.dropFrame ?? 0.3, n);
|
|
293
2452
|
try {
|
|
294
|
-
const
|
|
295
|
-
return await this[t(
|
|
296
|
-
} catch (
|
|
297
|
-
return
|
|
2453
|
+
const o = this[t(339)](r[t(303)]);
|
|
2454
|
+
return await this[t(374)](r, i, a, s, c, 0, o, 0, null);
|
|
2455
|
+
} catch (o) {
|
|
2456
|
+
return R[t(319)](o instanceof Error ? o.message : String(o));
|
|
298
2457
|
}
|
|
299
2458
|
}
|
|
300
2459
|
}
|
|
301
|
-
|
|
2460
|
+
function N(x, n) {
|
|
2461
|
+
return x = x - 268, W0()[x];
|
|
2462
|
+
}
|
|
2463
|
+
const xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
302
2464
|
__proto__: null,
|
|
303
|
-
GifCompressor:
|
|
304
|
-
interfaces:
|
|
2465
|
+
GifCompressor: Fn,
|
|
2466
|
+
interfaces: Sn
|
|
305
2467
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
306
|
-
(function(
|
|
307
|
-
for (var
|
|
2468
|
+
(function(x, n) {
|
|
2469
|
+
for (var e = Dn, t = x(); ; )
|
|
308
2470
|
try {
|
|
309
|
-
var
|
|
310
|
-
if (
|
|
2471
|
+
var r = -parseInt(e(208)) / 1 * (-parseInt(e(214)) / 2) + -parseInt(e(207)) / 3 * (-parseInt(e(206)) / 4) + parseInt(e(209)) / 5 + -parseInt(e(210)) / 6 * (-parseInt(e(205)) / 7) + parseInt(e(203)) / 8 * (parseInt(e(213)) / 9) + parseInt(e(204)) / 10 * (parseInt(e(212)) / 11) + parseInt(e(215)) / 12 * (-parseInt(e(211)) / 13);
|
|
2472
|
+
if (r === n) break;
|
|
311
2473
|
t.push(t.shift());
|
|
312
2474
|
} catch {
|
|
313
2475
|
t.push(t.shift());
|
|
314
2476
|
}
|
|
315
|
-
})(
|
|
316
|
-
function
|
|
317
|
-
|
|
318
|
-
var
|
|
2477
|
+
})(K0, 175129);
|
|
2478
|
+
function Dn(x, n) {
|
|
2479
|
+
x = x - 203;
|
|
2480
|
+
var e = K0(), t = e[x];
|
|
319
2481
|
return t;
|
|
320
2482
|
}
|
|
321
|
-
function
|
|
322
|
-
var
|
|
323
|
-
return
|
|
324
|
-
return
|
|
325
|
-
},
|
|
2483
|
+
function K0() {
|
|
2484
|
+
var x = ["9eFbwOe", "627122tOBwjD", "1346028URLejV", "1594696avhBFy", "124210KesLBz", "6657qAWxYc", "366348TQpzpj", "6XsQzzc", "1ovMFiD", "821505ZkakmS", "6peTwVb", "104fPYgOA", "187DlsCOK"];
|
|
2485
|
+
return K0 = function() {
|
|
2486
|
+
return x;
|
|
2487
|
+
}, K0();
|
|
326
2488
|
}
|
|
327
2489
|
export {
|
|
328
|
-
|
|
2490
|
+
xr as gifCompress
|
|
329
2491
|
};
|