@wp-playground/client 3.0.52 → 3.0.54
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/index.cjs +37 -35
- package/index.js +574 -566
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -76,13 +76,13 @@ async function fd(e) {
|
|
|
76
76
|
const r = await (await e.read("blueprint.json")).text();
|
|
77
77
|
return JSON.parse(r);
|
|
78
78
|
}
|
|
79
|
-
class
|
|
79
|
+
class Fn {
|
|
80
80
|
static async create(t) {
|
|
81
81
|
const r = await fd(t), i = _p(t) ? t : void 0;
|
|
82
|
-
return
|
|
82
|
+
return Fn.createFromDeclaration(r, i);
|
|
83
83
|
}
|
|
84
84
|
static createFromDeclaration(t, r = void 0) {
|
|
85
|
-
return new
|
|
85
|
+
return new Fn(
|
|
86
86
|
t,
|
|
87
87
|
r,
|
|
88
88
|
t.version || 1
|
|
@@ -117,10 +117,10 @@ const pd = "playground-log", Uo = (e, ...t) => {
|
|
|
117
117
|
})
|
|
118
118
|
);
|
|
119
119
|
}, cd = (e, ...t) => {
|
|
120
|
-
switch (typeof e.message == "string" ? Reflect.set(e, "message",
|
|
120
|
+
switch (typeof e.message == "string" ? Reflect.set(e, "message", Fa(e.message)) : e.message.message && typeof e.message.message == "string" && Reflect.set(
|
|
121
121
|
e.message,
|
|
122
122
|
"message",
|
|
123
|
-
|
|
123
|
+
Fa(e.message.message)
|
|
124
124
|
), e.severity) {
|
|
125
125
|
case dt.Debug:
|
|
126
126
|
console.debug(e.message, ...t);
|
|
@@ -321,7 +321,7 @@ const md = () => {
|
|
|
321
321
|
} catch {
|
|
322
322
|
}
|
|
323
323
|
return [Ra, cd, Uo];
|
|
324
|
-
}, Ae = new hd(md()),
|
|
324
|
+
}, Ae = new hd(md()), Fa = (e) => e.replace(/\t/g, ""), yd = (e, t, r) => {
|
|
325
325
|
const i = /* @__PURE__ */ new Date(), a = new Intl.DateTimeFormat("en-GB", {
|
|
326
326
|
year: "numeric",
|
|
327
327
|
month: "short",
|
|
@@ -335,7 +335,7 @@ const md = () => {
|
|
|
335
335
|
timeZone: "UTC",
|
|
336
336
|
timeZoneName: "short"
|
|
337
337
|
}).format(i), n = a + " " + s;
|
|
338
|
-
return e =
|
|
338
|
+
return e = Fa(e), `[${n}] ${r} ${t.name}: ${e}`;
|
|
339
339
|
}, gd = 5 * 1024 * 1024;
|
|
340
340
|
function wd(e, t) {
|
|
341
341
|
const r = e.headers.get("content-length") || "", i = parseInt(r, 10) || gd;
|
|
@@ -610,7 +610,7 @@ function Oe(...e) {
|
|
|
610
610
|
const i = r[0] === "/", a = t(r);
|
|
611
611
|
return r = ai(r), !r && !i && (r = "."), r && a && !t(r) && (r += "/"), r;
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function La(e) {
|
|
614
614
|
if (e === "/")
|
|
615
615
|
return "/";
|
|
616
616
|
e = ai(e);
|
|
@@ -645,7 +645,7 @@ function xd(e = 36, t = "!@#$%^&*()_+=-[]/.,<>?") {
|
|
|
645
645
|
function qs() {
|
|
646
646
|
return xd(36, "-_");
|
|
647
647
|
}
|
|
648
|
-
function
|
|
648
|
+
function mt(e) {
|
|
649
649
|
return `json_decode(base64_decode('${kd(
|
|
650
650
|
JSON.stringify(e)
|
|
651
651
|
)}'), true)`;
|
|
@@ -653,7 +653,7 @@ function kt(e) {
|
|
|
653
653
|
function Zn(e) {
|
|
654
654
|
const t = {};
|
|
655
655
|
for (const r in e)
|
|
656
|
-
t[r] =
|
|
656
|
+
t[r] = mt(e[r]);
|
|
657
657
|
return t;
|
|
658
658
|
}
|
|
659
659
|
function kd(e) {
|
|
@@ -1000,7 +1000,7 @@ async function so(e, t) {
|
|
|
1000
1000
|
async function Rd(e, t) {
|
|
1001
1001
|
return new File([await so(t)], e);
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function Fd(e) {
|
|
1004
1004
|
if (e instanceof ReadableStream)
|
|
1005
1005
|
return e;
|
|
1006
1006
|
let t;
|
|
@@ -1084,10 +1084,10 @@ ReadableStream.prototype[Symbol.asyncIterator] || (ReadableStream.prototype[Symb
|
|
|
1084
1084
|
}
|
|
1085
1085
|
}, ReadableStream.prototype.iterate = // @ts-ignore
|
|
1086
1086
|
ReadableStream.prototype[Symbol.asyncIterator]);
|
|
1087
|
-
const
|
|
1087
|
+
const Ld = 67324752, Id = 33639248, Cd = 101010256, Dd = 0, Ud = 8;
|
|
1088
1088
|
new Gn({ concurrency: 10 });
|
|
1089
1089
|
function Nd(e) {
|
|
1090
|
-
return
|
|
1090
|
+
return Fd(e).pipeThrough(jd());
|
|
1091
1091
|
}
|
|
1092
1092
|
function jd() {
|
|
1093
1093
|
const e = /* @__PURE__ */ new Map();
|
|
@@ -1104,7 +1104,7 @@ function jd() {
|
|
|
1104
1104
|
);
|
|
1105
1105
|
s = s.slice(10, s.byteLength - 8);
|
|
1106
1106
|
const o = new TextEncoder().encode(r.name), l = {
|
|
1107
|
-
signature:
|
|
1107
|
+
signature: Ld,
|
|
1108
1108
|
version: 2,
|
|
1109
1109
|
generalPurpose: 0,
|
|
1110
1110
|
compressionMethod: r.type === "directory" || s.byteLength === 0 ? Dd : Ud,
|
|
@@ -1189,7 +1189,7 @@ async function oi(e, t, r, { rmRoot: i = !1 } = {}) {
|
|
|
1189
1189
|
i && await e.isDir(t) && await e.rmdir(t, { recursive: !0 });
|
|
1190
1190
|
for (const [a, s] of Object.entries(r)) {
|
|
1191
1191
|
const n = Oe(t, a);
|
|
1192
|
-
await e.fileExists(
|
|
1192
|
+
await e.fileExists(La(n)) || await e.mkdir(La(n)), s instanceof Uint8Array || typeof s == "string" ? await e.writeFile(n, s) : await oi(e, n, s);
|
|
1193
1193
|
}
|
|
1194
1194
|
}
|
|
1195
1195
|
/**
|
|
@@ -1208,7 +1208,7 @@ const $p = Symbol("Comlink.proxy"), zd = Symbol("Comlink.endpoint"), Hd = Symbol
|
|
|
1208
1208
|
const Ms = {
|
|
1209
1209
|
RAW: "RAW",
|
|
1210
1210
|
HANDLER: "HANDLER"
|
|
1211
|
-
},
|
|
1211
|
+
}, xt = {
|
|
1212
1212
|
GET: "GET",
|
|
1213
1213
|
SET: "SET",
|
|
1214
1214
|
APPLY: "APPLY",
|
|
@@ -1269,30 +1269,30 @@ function ao(e, t = globalThis, r = ["*"], i) {
|
|
|
1269
1269
|
try {
|
|
1270
1270
|
const h = l.slice(0, -1).reduce((g, T) => g[T], e), m = l.reduce((g, T) => g[T], e);
|
|
1271
1271
|
switch (o) {
|
|
1272
|
-
case
|
|
1272
|
+
case xt.GET:
|
|
1273
1273
|
c = m;
|
|
1274
1274
|
break;
|
|
1275
|
-
case
|
|
1275
|
+
case xt.SET:
|
|
1276
1276
|
h[l.slice(-1)[0]] = Er(
|
|
1277
1277
|
s.data.value
|
|
1278
1278
|
), c = !0;
|
|
1279
1279
|
break;
|
|
1280
|
-
case
|
|
1280
|
+
case xt.APPLY:
|
|
1281
1281
|
c = m.apply(h, p);
|
|
1282
1282
|
break;
|
|
1283
|
-
case
|
|
1283
|
+
case xt.CONSTRUCT:
|
|
1284
1284
|
{
|
|
1285
1285
|
const g = new m(...p);
|
|
1286
1286
|
c = Cp(g);
|
|
1287
1287
|
}
|
|
1288
1288
|
break;
|
|
1289
|
-
case
|
|
1289
|
+
case xt.ENDPOINT:
|
|
1290
1290
|
{
|
|
1291
1291
|
const { port1: g, port2: T } = new MessageChannel();
|
|
1292
1292
|
ao(e, T), c = Qd(g, [g]);
|
|
1293
1293
|
}
|
|
1294
1294
|
break;
|
|
1295
|
-
case
|
|
1295
|
+
case xt.RELEASE:
|
|
1296
1296
|
c = void 0;
|
|
1297
1297
|
break;
|
|
1298
1298
|
default:
|
|
@@ -1303,7 +1303,7 @@ function ao(e, t = globalThis, r = ["*"], i) {
|
|
|
1303
1303
|
}
|
|
1304
1304
|
Promise.resolve(c).catch((h) => ({ value: h, [Os]: 0 })).then((h) => {
|
|
1305
1305
|
const [m, g] = Hs(h);
|
|
1306
|
-
t.postMessage({ ...m, id: n }, g), o ===
|
|
1306
|
+
t.postMessage({ ...m, id: n }, g), o === xt.RELEASE && (t.removeEventListener("message", a), Fp(t), Ei in e && typeof e[Ei] == "function" && e[Ei]());
|
|
1307
1307
|
}).catch(() => {
|
|
1308
1308
|
const [h, m] = Hs({
|
|
1309
1309
|
value: new TypeError("Unserializable return value"),
|
|
@@ -1317,7 +1317,7 @@ function ao(e, t = globalThis, r = ["*"], i) {
|
|
|
1317
1317
|
function Yd(e) {
|
|
1318
1318
|
return e.constructor.name === "MessagePort";
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function Fp(e) {
|
|
1321
1321
|
Yd(e) && e.close();
|
|
1322
1322
|
}
|
|
1323
1323
|
function oo(e, t) {
|
|
@@ -1339,16 +1339,16 @@ function ps(e) {
|
|
|
1339
1339
|
if (e)
|
|
1340
1340
|
throw new Error("Proxy has been released and is not useable");
|
|
1341
1341
|
}
|
|
1342
|
-
function
|
|
1342
|
+
function Lp(e) {
|
|
1343
1343
|
return Xr(e, /* @__PURE__ */ new Map(), {
|
|
1344
|
-
type:
|
|
1344
|
+
type: xt.RELEASE
|
|
1345
1345
|
}).then(() => {
|
|
1346
|
-
|
|
1346
|
+
Fp(e);
|
|
1347
1347
|
});
|
|
1348
1348
|
}
|
|
1349
1349
|
const Ws = /* @__PURE__ */ new WeakMap(), zs = "FinalizationRegistry" in globalThis && new FinalizationRegistry((e) => {
|
|
1350
1350
|
const t = (Ws.get(e) || 0) - 1;
|
|
1351
|
-
Ws.set(e, t), t === 0 &&
|
|
1351
|
+
Ws.set(e, t), t === 0 && Lp(e);
|
|
1352
1352
|
});
|
|
1353
1353
|
function Kd(e, t) {
|
|
1354
1354
|
const r = (Ws.get(t) || 0) + 1;
|
|
@@ -1364,13 +1364,13 @@ function Ia(e, t, r = [], i = function() {
|
|
|
1364
1364
|
get(n, o) {
|
|
1365
1365
|
if (ps(a), o === Hd)
|
|
1366
1366
|
return () => {
|
|
1367
|
-
Xd(s),
|
|
1367
|
+
Xd(s), Lp(e), t.clear(), a = !0;
|
|
1368
1368
|
};
|
|
1369
1369
|
if (o === "then") {
|
|
1370
1370
|
if (r.length === 0)
|
|
1371
1371
|
return { then: () => s };
|
|
1372
1372
|
const l = Xr(e, t, {
|
|
1373
|
-
type:
|
|
1373
|
+
type: xt.GET,
|
|
1374
1374
|
path: r.map((p) => p.toString())
|
|
1375
1375
|
}).then(Er);
|
|
1376
1376
|
return l.then.bind(l);
|
|
@@ -1384,7 +1384,7 @@ function Ia(e, t, r = [], i = function() {
|
|
|
1384
1384
|
e,
|
|
1385
1385
|
t,
|
|
1386
1386
|
{
|
|
1387
|
-
type:
|
|
1387
|
+
type: xt.SET,
|
|
1388
1388
|
path: [...r, o].map((h) => h.toString()),
|
|
1389
1389
|
value: p
|
|
1390
1390
|
},
|
|
@@ -1396,7 +1396,7 @@ function Ia(e, t, r = [], i = function() {
|
|
|
1396
1396
|
const p = r[r.length - 1];
|
|
1397
1397
|
if (p === zd)
|
|
1398
1398
|
return Xr(e, t, {
|
|
1399
|
-
type:
|
|
1399
|
+
type: xt.ENDPOINT
|
|
1400
1400
|
}).then(Er);
|
|
1401
1401
|
if (p === "bind")
|
|
1402
1402
|
return Ia(e, t, r.slice(0, -1));
|
|
@@ -1405,7 +1405,7 @@ function Ia(e, t, r = [], i = function() {
|
|
|
1405
1405
|
e,
|
|
1406
1406
|
t,
|
|
1407
1407
|
{
|
|
1408
|
-
type:
|
|
1408
|
+
type: xt.APPLY,
|
|
1409
1409
|
path: r.map((m) => m.toString()),
|
|
1410
1410
|
argumentList: c
|
|
1411
1411
|
},
|
|
@@ -1419,7 +1419,7 @@ function Ia(e, t, r = [], i = function() {
|
|
|
1419
1419
|
e,
|
|
1420
1420
|
t,
|
|
1421
1421
|
{
|
|
1422
|
-
type:
|
|
1422
|
+
type: xt.CONSTRUCT,
|
|
1423
1423
|
path: r.map((c) => c.toString()),
|
|
1424
1424
|
argumentList: l
|
|
1425
1425
|
},
|
|
@@ -2344,27 +2344,27 @@ function Ah(e) {
|
|
|
2344
2344
|
`).map((t) => t.replace(/^ /, "")).join(`
|
|
2345
2345
|
`);
|
|
2346
2346
|
}
|
|
2347
|
-
class
|
|
2347
|
+
class bt {
|
|
2348
2348
|
constructor(t) {
|
|
2349
2349
|
if (typeof t == "string")
|
|
2350
2350
|
this._commit = t;
|
|
2351
2351
|
else if (Buffer.isBuffer(t))
|
|
2352
2352
|
this._commit = t.toString("utf8");
|
|
2353
2353
|
else if (typeof t == "object")
|
|
2354
|
-
this._commit =
|
|
2354
|
+
this._commit = bt.render(t);
|
|
2355
2355
|
else
|
|
2356
2356
|
throw new Ee("invalid type passed to GitCommit constructor");
|
|
2357
2357
|
}
|
|
2358
2358
|
static fromPayloadSignature({ payload: t, signature: r }) {
|
|
2359
|
-
const i =
|
|
2359
|
+
const i = bt.justHeaders(t), a = bt.justMessage(t), s = rr(
|
|
2360
2360
|
i + `
|
|
2361
2361
|
gpgsig` + Ai(r) + `
|
|
2362
2362
|
` + a
|
|
2363
2363
|
);
|
|
2364
|
-
return new
|
|
2364
|
+
return new bt(s);
|
|
2365
2365
|
}
|
|
2366
2366
|
static from(t) {
|
|
2367
|
-
return new
|
|
2367
|
+
return new bt(t);
|
|
2368
2368
|
}
|
|
2369
2369
|
toObject() {
|
|
2370
2370
|
return Buffer.from(this._commit, "utf8");
|
|
@@ -2375,7 +2375,7 @@ gpgsig` + Ai(r) + `
|
|
|
2375
2375
|
}
|
|
2376
2376
|
// Todo: allow setting the headers and message
|
|
2377
2377
|
message() {
|
|
2378
|
-
return
|
|
2378
|
+
return bt.justMessage(this._commit);
|
|
2379
2379
|
}
|
|
2380
2380
|
parse() {
|
|
2381
2381
|
return Object.assign({ message: this.message() }, this.headers());
|
|
@@ -2391,7 +2391,7 @@ gpgsig` + Ai(r) + `
|
|
|
2391
2391
|
`));
|
|
2392
2392
|
}
|
|
2393
2393
|
parseHeaders() {
|
|
2394
|
-
const t =
|
|
2394
|
+
const t = bt.justHeaders(this._commit).split(`
|
|
2395
2395
|
`), r = [];
|
|
2396
2396
|
for (const a of t)
|
|
2397
2397
|
a[0] === " " ? r[r.length - 1] += `
|
|
@@ -2424,7 +2424,7 @@ gpgsig` + Ai(r) + `
|
|
|
2424
2424
|
`, t.gpgsig && (r += "gpgsig" + Ai(t.gpgsig)), r;
|
|
2425
2425
|
}
|
|
2426
2426
|
static render(t) {
|
|
2427
|
-
return
|
|
2427
|
+
return bt.renderHeaders(t) + `
|
|
2428
2428
|
` + rr(t.message);
|
|
2429
2429
|
}
|
|
2430
2430
|
render() {
|
|
@@ -2450,13 +2450,13 @@ gpgsig`)), i = t.slice(
|
|
|
2450
2450
|
return Ah(t);
|
|
2451
2451
|
}
|
|
2452
2452
|
static async sign(t, r, i) {
|
|
2453
|
-
const a = t.withoutSignature(), s =
|
|
2453
|
+
const a = t.withoutSignature(), s = bt.justMessage(t._commit);
|
|
2454
2454
|
let { signature: n } = await r({ payload: a, secretKey: i });
|
|
2455
2455
|
n = rr(n);
|
|
2456
|
-
const l =
|
|
2456
|
+
const l = bt.justHeaders(t._commit) + `
|
|
2457
2457
|
gpgsig` + Ai(n) + `
|
|
2458
2458
|
` + s;
|
|
2459
|
-
return
|
|
2459
|
+
return bt.from(l);
|
|
2460
2460
|
}
|
|
2461
2461
|
}
|
|
2462
2462
|
var zp = {};
|
|
@@ -2467,33 +2467,33 @@ var zp = {};
|
|
|
2467
2467
|
})(function(t) {
|
|
2468
2468
|
t.version = "1.2.2";
|
|
2469
2469
|
function r() {
|
|
2470
|
-
for (var O = 0,
|
|
2471
|
-
O = P, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1,
|
|
2472
|
-
return typeof Int32Array < "u" ? new Int32Array(
|
|
2470
|
+
for (var O = 0, F = new Array(256), P = 0; P != 256; ++P)
|
|
2471
|
+
O = P, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, O = O & 1 ? -306674912 ^ O >>> 1 : O >>> 1, F[P] = O;
|
|
2472
|
+
return typeof Int32Array < "u" ? new Int32Array(F) : F;
|
|
2473
2473
|
}
|
|
2474
2474
|
var i = r();
|
|
2475
2475
|
function a(O) {
|
|
2476
|
-
var
|
|
2476
|
+
var F = 0, P = 0, S = 0, D = typeof Int32Array < "u" ? new Int32Array(4096) : new Array(4096);
|
|
2477
2477
|
for (S = 0; S != 256; ++S) D[S] = O[S];
|
|
2478
2478
|
for (S = 0; S != 256; ++S)
|
|
2479
|
-
for (P = O[S],
|
|
2480
|
-
var
|
|
2481
|
-
for (S = 1; S != 16; ++S)
|
|
2482
|
-
return
|
|
2479
|
+
for (P = O[S], F = 256 + S; F < 4096; F += 256) P = D[F] = P >>> 8 ^ O[P & 255];
|
|
2480
|
+
var L = [];
|
|
2481
|
+
for (S = 1; S != 16; ++S) L[S - 1] = typeof Int32Array < "u" ? D.subarray(S * 256, S * 256 + 256) : D.slice(S * 256, S * 256 + 256);
|
|
2482
|
+
return L;
|
|
2483
2483
|
}
|
|
2484
2484
|
var s = a(i), n = s[0], o = s[1], l = s[2], p = s[3], c = s[4], h = s[5], m = s[6], g = s[7], T = s[8], y = s[9], w = s[10], b = s[11], A = s[12], k = s[13], I = s[14];
|
|
2485
|
-
function $(O,
|
|
2486
|
-
for (var P =
|
|
2485
|
+
function $(O, F) {
|
|
2486
|
+
for (var P = F ^ -1, S = 0, D = O.length; S < D; ) P = P >>> 8 ^ i[(P ^ O.charCodeAt(S++)) & 255];
|
|
2487
2487
|
return ~P;
|
|
2488
2488
|
}
|
|
2489
|
-
function C(O,
|
|
2490
|
-
for (var P =
|
|
2489
|
+
function C(O, F) {
|
|
2490
|
+
for (var P = F ^ -1, S = O.length - 15, D = 0; D < S; ) P = I[O[D++] ^ P & 255] ^ k[O[D++] ^ P >> 8 & 255] ^ A[O[D++] ^ P >> 16 & 255] ^ b[O[D++] ^ P >>> 24] ^ w[O[D++]] ^ y[O[D++]] ^ T[O[D++]] ^ g[O[D++]] ^ m[O[D++]] ^ h[O[D++]] ^ c[O[D++]] ^ p[O[D++]] ^ l[O[D++]] ^ o[O[D++]] ^ n[O[D++]] ^ i[O[D++]];
|
|
2491
2491
|
for (S += 15; D < S; ) P = P >>> 8 ^ i[(P ^ O[D++]) & 255];
|
|
2492
2492
|
return ~P;
|
|
2493
2493
|
}
|
|
2494
|
-
function E(O,
|
|
2495
|
-
for (var P =
|
|
2496
|
-
|
|
2494
|
+
function E(O, F) {
|
|
2495
|
+
for (var P = F ^ -1, S = 0, D = O.length, L = 0, j = 0; S < D; )
|
|
2496
|
+
L = O.charCodeAt(S++), L < 128 ? P = P >>> 8 ^ i[(P ^ L) & 255] : L < 2048 ? (P = P >>> 8 ^ i[(P ^ (192 | L >> 6 & 31)) & 255], P = P >>> 8 ^ i[(P ^ (128 | L & 63)) & 255]) : L >= 55296 && L < 57344 ? (L = (L & 1023) + 64, j = O.charCodeAt(S++) & 1023, P = P >>> 8 ^ i[(P ^ (240 | L >> 8 & 7)) & 255], P = P >>> 8 ^ i[(P ^ (128 | L >> 2 & 63)) & 255], P = P >>> 8 ^ i[(P ^ (128 | j >> 6 & 15 | (L & 3) << 4)) & 255], P = P >>> 8 ^ i[(P ^ (128 | j & 63)) & 255]) : (P = P >>> 8 ^ i[(P ^ (224 | L >> 12 & 15)) & 255], P = P >>> 8 ^ i[(P ^ (128 | L >> 6 & 63)) & 255], P = P >>> 8 ^ i[(P ^ (128 | L & 63)) & 255]);
|
|
2497
2497
|
return ~P;
|
|
2498
2498
|
}
|
|
2499
2499
|
t.table = i, t.bstr = $, t.buf = C, t.str = E;
|
|
@@ -2671,12 +2671,12 @@ var ar = {};
|
|
|
2671
2671
|
s ? (e.Buf8 = Uint8Array, e.Buf16 = Uint16Array, e.Buf32 = Int32Array, e.assign(e, i)) : (e.Buf8 = Array, e.Buf16 = Array, e.Buf32 = Array, e.assign(e, a));
|
|
2672
2672
|
}, e.setTyped(t);
|
|
2673
2673
|
})(ar);
|
|
2674
|
-
var Kn = {}, Qt = {}, un = {},
|
|
2674
|
+
var Kn = {}, Qt = {}, un = {}, Fh = ar, Lh = 4, Ko = 0, Xo = 1, Ih = 2;
|
|
2675
2675
|
function dn(e) {
|
|
2676
2676
|
for (var t = e.length; --t >= 0; )
|
|
2677
2677
|
e[t] = 0;
|
|
2678
2678
|
}
|
|
2679
|
-
var Ch = 0, Hp = 1, Dh = 2, Uh = 3, Nh = 258, co = 29, Xn = 256,
|
|
2679
|
+
var Ch = 0, Hp = 1, Dh = 2, Uh = 3, Nh = 258, co = 29, Xn = 256, Ln = Xn + 1 + co, rn = 30, uo = 19, Vp = 2 * Ln + 1, Ar = 15, Ti = 16, jh = 7, ho = 256, Gp = 16, Zp = 17, Yp = 18, Ua = (
|
|
2680
2680
|
/* extra bits for each length code */
|
|
2681
2681
|
[0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0]
|
|
2682
2682
|
), As = (
|
|
@@ -2685,7 +2685,7 @@ var Ch = 0, Hp = 1, Dh = 2, Uh = 3, Nh = 258, co = 29, Xn = 256, Fn = Xn + 1 + c
|
|
|
2685
2685
|
), Bh = (
|
|
2686
2686
|
/* extra bits for each bit length code */
|
|
2687
2687
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]
|
|
2688
|
-
), Kp = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], qh = 512, nr = new Array((
|
|
2688
|
+
), Kp = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], qh = 512, nr = new Array((Ln + 2) * 2);
|
|
2689
2689
|
dn(nr);
|
|
2690
2690
|
var Sn = new Array(rn * 2);
|
|
2691
2691
|
dn(Sn);
|
|
@@ -2778,13 +2778,13 @@ function zh() {
|
|
|
2778
2778
|
nr[e * 2 + 1] = 7, e++, s[7]++;
|
|
2779
2779
|
for (; e <= 287; )
|
|
2780
2780
|
nr[e * 2 + 1] = 8, e++, s[8]++;
|
|
2781
|
-
for (rc(nr,
|
|
2781
|
+
for (rc(nr, Ln + 1, s), e = 0; e < rn; e++)
|
|
2782
2782
|
Sn[e * 2 + 1] = 5, Sn[e * 2] = tc(e, 5);
|
|
2783
|
-
Xp = new $i(nr, Ua, Xn + 1,
|
|
2783
|
+
Xp = new $i(nr, Ua, Xn + 1, Ln, Ar), Jp = new $i(Sn, As, 0, rn, Ar), Qp = new $i(new Array(0), Bh, 0, uo, jh);
|
|
2784
2784
|
}
|
|
2785
2785
|
function nc(e) {
|
|
2786
2786
|
var t;
|
|
2787
|
-
for (t = 0; t <
|
|
2787
|
+
for (t = 0; t < Ln; t++)
|
|
2788
2788
|
e.dyn_ltree[t * 2] = 0;
|
|
2789
2789
|
for (t = 0; t < rn; t++)
|
|
2790
2790
|
e.dyn_dtree[t * 2] = 0;
|
|
@@ -2796,13 +2796,13 @@ function sc(e) {
|
|
|
2796
2796
|
e.bi_valid > 8 ? Dn(e, e.bi_buf) : e.bi_valid > 0 && (e.pending_buf[e.pending++] = e.bi_buf), e.bi_buf = 0, e.bi_valid = 0;
|
|
2797
2797
|
}
|
|
2798
2798
|
function Hh(e, t, r, i) {
|
|
2799
|
-
sc(e), Dn(e, r), Dn(e, ~r),
|
|
2799
|
+
sc(e), Dn(e, r), Dn(e, ~r), Fh.arraySet(e.pending_buf, e.window, t, r, e.pending), e.pending += r;
|
|
2800
2800
|
}
|
|
2801
2801
|
function Jo(e, t, r, i) {
|
|
2802
2802
|
var a = t * 2, s = r * 2;
|
|
2803
2803
|
return e[a] < e[s] || e[a] === e[s] && i[t] <= i[r];
|
|
2804
2804
|
}
|
|
2805
|
-
function
|
|
2805
|
+
function Fi(e, t, r) {
|
|
2806
2806
|
for (var i = e.heap[r], a = r << 1; a <= e.heap_len && (a < e.heap_len && Jo(t, e.heap[a + 1], e.heap[a], e.depth) && a++, !Jo(t, i, e.heap[a], e.depth)); )
|
|
2807
2807
|
e.heap[r] = e.heap[a], r = a, a <<= 1;
|
|
2808
2808
|
e.heap[r] = i;
|
|
@@ -2822,7 +2822,7 @@ function Na(e, t) {
|
|
|
2822
2822
|
for (; e.heap_len < 2; )
|
|
2823
2823
|
p = e.heap[++e.heap_len] = l < 2 ? ++l : 0, r[p * 2] = 1, e.depth[p] = 0, e.opt_len--, a && (e.static_len -= i[p * 2 + 1]);
|
|
2824
2824
|
for (t.max_code = l, n = e.heap_len >> 1; n >= 1; n--)
|
|
2825
|
-
|
|
2825
|
+
Fi(e, r, n);
|
|
2826
2826
|
p = s;
|
|
2827
2827
|
do
|
|
2828
2828
|
n = e.heap[
|
|
@@ -2831,7 +2831,7 @@ function Na(e, t) {
|
|
|
2831
2831
|
], e.heap[
|
|
2832
2832
|
1
|
|
2833
2833
|
/*SMALLEST*/
|
|
2834
|
-
] = e.heap[e.heap_len--],
|
|
2834
|
+
] = e.heap[e.heap_len--], Fi(
|
|
2835
2835
|
e,
|
|
2836
2836
|
r,
|
|
2837
2837
|
1
|
|
@@ -2842,7 +2842,7 @@ function Na(e, t) {
|
|
|
2842
2842
|
], e.heap[--e.heap_max] = n, e.heap[--e.heap_max] = o, r[p * 2] = r[n * 2] + r[o * 2], e.depth[p] = (e.depth[n] >= e.depth[o] ? e.depth[n] : e.depth[o]) + 1, r[n * 2 + 1] = r[o * 2 + 1] = p, e.heap[
|
|
2843
2843
|
1
|
|
2844
2844
|
/*SMALLEST*/
|
|
2845
|
-
] = p++,
|
|
2845
|
+
] = p++, Fi(
|
|
2846
2846
|
e,
|
|
2847
2847
|
r,
|
|
2848
2848
|
1
|
|
@@ -2907,7 +2907,7 @@ function Kh(e) {
|
|
|
2907
2907
|
}
|
|
2908
2908
|
function Xh(e, t, r, i) {
|
|
2909
2909
|
var a, s, n = 0;
|
|
2910
|
-
e.level > 0 ? (e.strm.data_type === Ih && (e.strm.data_type = Zh(e)), Na(e, e.l_desc), Na(e, e.d_desc), n = Vh(e), a = e.opt_len + 3 + 7 >>> 3, s = e.static_len + 3 + 7 >>> 3, s <= a && (a = s)) : a = s = r + 5, r + 4 <= a && t !== -1 ? ic(e, t, r, i) : e.strategy ===
|
|
2910
|
+
e.level > 0 ? (e.strm.data_type === Ih && (e.strm.data_type = Zh(e)), Na(e, e.l_desc), Na(e, e.d_desc), n = Vh(e), a = e.opt_len + 3 + 7 >>> 3, s = e.static_len + 3 + 7 >>> 3, s <= a && (a = s)) : a = s = r + 5, r + 4 <= a && t !== -1 ? ic(e, t, r, i) : e.strategy === Lh || s === a ? (ht(e, (Hp << 1) + (i ? 1 : 0), 3), Qo(e, nr, Sn)) : (ht(e, (Dh << 1) + (i ? 1 : 0), 3), Gh(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, n + 1), Qo(e, e.dyn_ltree, e.dyn_dtree)), nc(e), i && sc(e);
|
|
2911
2911
|
}
|
|
2912
2912
|
function Jh(e, t, r) {
|
|
2913
2913
|
return e.pending_buf[e.d_buf + e.last_lit * 2] = t >>> 8 & 255, e.pending_buf[e.d_buf + e.last_lit * 2 + 1] = t & 255, e.pending_buf[e.l_buf + e.last_lit] = r & 255, e.last_lit++, t === 0 ? e.dyn_ltree[r * 2]++ : (e.matches++, t--, e.dyn_ltree[(Cn[r] + Xn + 1) * 2]++, e.dyn_dtree[ec(t) * 2]++), e.last_lit === e.lit_bufsize - 1;
|
|
@@ -2964,7 +2964,7 @@ var oc = rm, yo = {
|
|
|
2964
2964
|
/* Z_BUF_ERROR (-5) */
|
|
2965
2965
|
"-6": "incompatible version"
|
|
2966
2966
|
/* Z_VERSION_ERROR (-6) */
|
|
2967
|
-
}, at = ar, Tt = un, lc = ac, ur = oc, nm = yo, qr = 0, sm = 1, im = 3, vr = 4, nl = 5, Yt = 0, sl = 1, $t = -2, am = -3,
|
|
2967
|
+
}, at = ar, Tt = un, lc = ac, ur = oc, nm = yo, qr = 0, sm = 1, im = 3, vr = 4, nl = 5, Yt = 0, sl = 1, $t = -2, am = -3, Li = -5, om = -1, lm = 1, cs = 2, fm = 3, pm = 4, cm = 0, um = 2, li = 8, dm = 9, hm = 15, mm = 8, ym = 29, gm = 256, ja = gm + 1 + ym, wm = 30, bm = 19, _m = 2 * ja + 1, vm = 15, ge = 3, br = 258, Nt = br + ge + 1, xm = 32, fi = 42, Ba = 69, Ts = 73, $s = 91, Rs = 103, Tr = 113, kn = 666, ze = 1, Jn = 2, Cr = 3, hn = 4, km = 3;
|
|
2968
2968
|
function _r(e, t) {
|
|
2969
2969
|
return e.msg = nm[t], t;
|
|
2970
2970
|
}
|
|
@@ -3183,12 +3183,12 @@ function uc(e, t, r, i, a, s) {
|
|
|
3183
3183
|
function Rm(e, t) {
|
|
3184
3184
|
return uc(e, t, li, hm, mm, cm);
|
|
3185
3185
|
}
|
|
3186
|
-
function
|
|
3186
|
+
function Fm(e, t) {
|
|
3187
3187
|
var r, i, a, s;
|
|
3188
3188
|
if (!e || !e.state || t > nl || t < 0)
|
|
3189
3189
|
return e ? _r(e, $t) : $t;
|
|
3190
3190
|
if (i = e.state, !e.output || !e.input && e.avail_in !== 0 || i.status === kn && t !== vr)
|
|
3191
|
-
return _r(e, e.avail_out === 0 ?
|
|
3191
|
+
return _r(e, e.avail_out === 0 ? Li : $t);
|
|
3192
3192
|
if (i.strm = e, r = i.last_flush, i.last_flush = t, i.status === fi)
|
|
3193
3193
|
if (i.wrap === 2)
|
|
3194
3194
|
e.adler = 0, Pe(i, 31), Pe(i, 139), Pe(i, 8), i.gzhead ? (Pe(
|
|
@@ -3236,9 +3236,9 @@ function Lm(e, t) {
|
|
|
3236
3236
|
if (dr(e), e.avail_out === 0)
|
|
3237
3237
|
return i.last_flush = -1, Yt;
|
|
3238
3238
|
} else if (e.avail_in === 0 && il(t) <= il(r) && t !== vr)
|
|
3239
|
-
return _r(e,
|
|
3239
|
+
return _r(e, Li);
|
|
3240
3240
|
if (i.status === kn && e.avail_in !== 0)
|
|
3241
|
-
return _r(e,
|
|
3241
|
+
return _r(e, Li);
|
|
3242
3242
|
if (e.avail_in !== 0 || i.lookahead !== 0 || t !== qr && i.status !== kn) {
|
|
3243
3243
|
var l = i.strategy === cs ? Om(i, t) : i.strategy === fm ? Sm(i, t) : en[i.level].func(i, t);
|
|
3244
3244
|
if ((l === Cr || l === hn) && (i.status = kn), l === ze || l === Cr)
|
|
@@ -3248,7 +3248,7 @@ function Lm(e, t) {
|
|
|
3248
3248
|
}
|
|
3249
3249
|
return t !== vr ? Yt : i.wrap <= 0 ? sl : (i.wrap === 2 ? (Pe(i, e.adler & 255), Pe(i, e.adler >> 8 & 255), Pe(i, e.adler >> 16 & 255), Pe(i, e.adler >> 24 & 255), Pe(i, e.total_in & 255), Pe(i, e.total_in >> 8 & 255), Pe(i, e.total_in >> 16 & 255), Pe(i, e.total_in >> 24 & 255)) : (gn(i, e.adler >>> 16), gn(i, e.adler & 65535)), dr(e), i.wrap > 0 && (i.wrap = -i.wrap), i.pending !== 0 ? Yt : sl);
|
|
3250
3250
|
}
|
|
3251
|
-
function
|
|
3251
|
+
function Lm(e) {
|
|
3252
3252
|
var t;
|
|
3253
3253
|
return !e || !e.state ? $t : (t = e.state.status, t !== fi && t !== Ba && t !== Ts && t !== $s && t !== Rs && t !== Tr && t !== kn ? _r(e, $t) : (e.state = null, t === Tr ? _r(e, am) : Yt));
|
|
3254
3254
|
}
|
|
@@ -3270,8 +3270,8 @@ Qt.deflateInit2 = uc;
|
|
|
3270
3270
|
Qt.deflateReset = cc;
|
|
3271
3271
|
Qt.deflateResetKeep = pc;
|
|
3272
3272
|
Qt.deflateSetHeader = $m;
|
|
3273
|
-
Qt.deflate =
|
|
3274
|
-
Qt.deflateEnd =
|
|
3273
|
+
Qt.deflate = Fm;
|
|
3274
|
+
Qt.deflateEnd = Lm;
|
|
3275
3275
|
Qt.deflateSetDictionary = Im;
|
|
3276
3276
|
Qt.deflateInfo = "pako deflate (from Nodeca project)";
|
|
3277
3277
|
var Mr = {}, pi = ar, dc = !0, hc = !0;
|
|
@@ -3408,7 +3408,7 @@ Kn.deflate = go;
|
|
|
3408
3408
|
Kn.deflateRaw = qm;
|
|
3409
3409
|
Kn.gzip = Mm;
|
|
3410
3410
|
var Qn = {}, jt = {}, us = 30, Wm = 12, zm = function(t, r) {
|
|
3411
|
-
var i, a, s, n, o, l, p, c, h, m, g, T, y, w, b, A, k, I, $, C, E, O,
|
|
3411
|
+
var i, a, s, n, o, l, p, c, h, m, g, T, y, w, b, A, k, I, $, C, E, O, F, P, S;
|
|
3412
3412
|
i = t.state, a = t.next_in, P = t.input, s = a + (t.avail_in - 5), n = t.next_out, S = t.output, o = n - (r - t.avail_out), l = n + (t.avail_out - 257), p = i.dmax, c = i.wsize, h = i.whave, m = i.wnext, g = i.window, T = i.hold, y = i.bits, w = i.lencode, b = i.distcode, A = (1 << i.lenbits) - 1, k = (1 << i.distbits) - 1;
|
|
3413
3413
|
e:
|
|
3414
3414
|
do {
|
|
@@ -3431,13 +3431,13 @@ var Qn = {}, jt = {}, us = 30, Wm = 12, zm = function(t, r) {
|
|
|
3431
3431
|
t.msg = "invalid distance too far back", i.mode = us;
|
|
3432
3432
|
break e;
|
|
3433
3433
|
}
|
|
3434
|
-
if (O = 0,
|
|
3434
|
+
if (O = 0, F = g, m === 0) {
|
|
3435
3435
|
if (O += c - $, $ < C) {
|
|
3436
3436
|
C -= $;
|
|
3437
3437
|
do
|
|
3438
3438
|
S[n++] = g[O++];
|
|
3439
3439
|
while (--$);
|
|
3440
|
-
O = n - E,
|
|
3440
|
+
O = n - E, F = S;
|
|
3441
3441
|
}
|
|
3442
3442
|
} else if (m < $) {
|
|
3443
3443
|
if (O += c + m - $, $ -= m, $ < C) {
|
|
@@ -3450,7 +3450,7 @@ var Qn = {}, jt = {}, us = 30, Wm = 12, zm = function(t, r) {
|
|
|
3450
3450
|
do
|
|
3451
3451
|
S[n++] = g[O++];
|
|
3452
3452
|
while (--$);
|
|
3453
|
-
O = n - E,
|
|
3453
|
+
O = n - E, F = S;
|
|
3454
3454
|
}
|
|
3455
3455
|
}
|
|
3456
3456
|
} else if (O += m - $, $ < C) {
|
|
@@ -3458,11 +3458,11 @@ var Qn = {}, jt = {}, us = 30, Wm = 12, zm = function(t, r) {
|
|
|
3458
3458
|
do
|
|
3459
3459
|
S[n++] = g[O++];
|
|
3460
3460
|
while (--$);
|
|
3461
|
-
O = n - E,
|
|
3461
|
+
O = n - E, F = S;
|
|
3462
3462
|
}
|
|
3463
3463
|
for (; C > 2; )
|
|
3464
|
-
S[n++] =
|
|
3465
|
-
C && (S[n++] =
|
|
3464
|
+
S[n++] = F[O++], S[n++] = F[O++], S[n++] = F[O++], C -= 3;
|
|
3465
|
+
C && (S[n++] = F[O++], C > 1 && (S[n++] = F[O++]));
|
|
3466
3466
|
} else {
|
|
3467
3467
|
O = n - E;
|
|
3468
3468
|
do
|
|
@@ -3630,7 +3630,7 @@ var Qn = {}, jt = {}, us = 30, Wm = 12, zm = function(t, r) {
|
|
|
3630
3630
|
64,
|
|
3631
3631
|
64
|
|
3632
3632
|
], Ym = function(t, r, i, a, s, n, o, l) {
|
|
3633
|
-
var p = l.bits, c = 0, h = 0, m = 0, g = 0, T = 0, y = 0, w = 0, b = 0, A = 0, k = 0, I, $, C, E, O,
|
|
3633
|
+
var p = l.bits, c = 0, h = 0, m = 0, g = 0, T = 0, y = 0, w = 0, b = 0, A = 0, k = 0, I, $, C, E, O, F = null, P = 0, S, D = new ll.Buf16(Hr + 1), L = new ll.Buf16(Hr + 1), j = null, q = 0, W, X, V;
|
|
3634
3634
|
for (c = 0; c <= Hr; c++)
|
|
3635
3635
|
D[c] = 0;
|
|
3636
3636
|
for (h = 0; h < a; h++)
|
|
@@ -3646,14 +3646,14 @@ var Qn = {}, jt = {}, us = 30, Wm = 12, zm = function(t, r) {
|
|
|
3646
3646
|
return -1;
|
|
3647
3647
|
if (b > 0 && (t === cl || g !== 1))
|
|
3648
3648
|
return -1;
|
|
3649
|
-
for (
|
|
3650
|
-
|
|
3649
|
+
for (L[1] = 0, c = 1; c < Hr; c++)
|
|
3650
|
+
L[c + 1] = L[c] + D[c];
|
|
3651
3651
|
for (h = 0; h < a; h++)
|
|
3652
|
-
r[i + h] !== 0 && (o[
|
|
3653
|
-
if (t === cl ? (
|
|
3652
|
+
r[i + h] !== 0 && (o[L[r[i + h]]++] = h);
|
|
3653
|
+
if (t === cl ? (F = j = o, S = 19) : t === Di ? (F = Hm, P -= 257, j = Vm, q -= 257, S = 256) : (F = Gm, j = Zm, S = -1), k = 0, h = 0, c = m, O = n, y = T, w = 0, C = -1, A = 1 << T, E = A - 1, t === Di && A > fl || t === ul && A > pl)
|
|
3654
3654
|
return 1;
|
|
3655
3655
|
for (; ; ) {
|
|
3656
|
-
W = c - w, o[h] < S ? (X = 0, V = o[h]) : o[h] > S ? (X = j[q + o[h]], V =
|
|
3656
|
+
W = c - w, o[h] < S ? (X = 0, V = o[h]) : o[h] > S ? (X = j[q + o[h]], V = F[P + o[h]]) : (X = 96, V = 0), I = 1 << c - w, $ = 1 << y, m = $;
|
|
3657
3657
|
do
|
|
3658
3658
|
$ -= I, s[O + (k >> w) + $] = W << 24 | X << 16 | V | 0;
|
|
3659
3659
|
while ($ !== 0);
|
|
@@ -3673,16 +3673,16 @@ var Qn = {}, jt = {}, us = 30, Wm = 12, zm = function(t, r) {
|
|
|
3673
3673
|
}
|
|
3674
3674
|
}
|
|
3675
3675
|
return k !== 0 && (s[O + k] = c - w << 24 | 64 << 16 | 0), l.bits = T, 0;
|
|
3676
|
-
},
|
|
3676
|
+
}, kt = ar, Wa = ac, Mt = oc, Km = zm, Tn = Ym, Xm = 0, wc = 1, bc = 2, dl = 4, Jm = 5, ds = 6, Nr = 0, Qm = 1, ey = 2, Rt = -2, _c = -3, vc = -4, ty = -5, hl = 8, xc = 1, ml = 2, yl = 3, gl = 4, wl = 5, bl = 6, _l = 7, vl = 8, xl = 9, kl = 10, Zs = 11, tr = 12, Ui = 13, Pl = 14, Ni = 15, El = 16, Sl = 17, Ol = 18, Al = 19, hs = 20, ms = 21, Tl = 22, $l = 23, Rl = 24, Fl = 25, Ll = 26, ji = 27, Il = 28, Cl = 29, De = 30, kc = 31, ry = 32, ny = 852, sy = 592, iy = 15, ay = iy;
|
|
3677
3677
|
function Dl(e) {
|
|
3678
3678
|
return (e >>> 24 & 255) + (e >>> 8 & 65280) + ((e & 65280) << 8) + ((e & 255) << 24);
|
|
3679
3679
|
}
|
|
3680
3680
|
function oy() {
|
|
3681
|
-
this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new
|
|
3681
|
+
this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new kt.Buf16(320), this.work = new kt.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
|
|
3682
3682
|
}
|
|
3683
3683
|
function Pc(e) {
|
|
3684
3684
|
var t;
|
|
3685
|
-
return !e || !e.state ? Rt : (t = e.state, e.total_in = e.total_out = t.total = 0, e.msg = "", t.wrap && (e.adler = t.wrap & 1), t.mode = xc, t.last = 0, t.havedict = 0, t.dmax = 32768, t.head = null, t.hold = 0, t.bits = 0, t.lencode = t.lendyn = new
|
|
3685
|
+
return !e || !e.state ? Rt : (t = e.state, e.total_in = e.total_out = t.total = 0, e.msg = "", t.wrap && (e.adler = t.wrap & 1), t.mode = xc, t.last = 0, t.havedict = 0, t.dmax = 32768, t.head = null, t.hold = 0, t.bits = 0, t.lencode = t.lendyn = new kt.Buf32(ny), t.distcode = t.distdyn = new kt.Buf32(sy), t.sane = 1, t.back = -1, Nr);
|
|
3686
3686
|
}
|
|
3687
3687
|
function Ec(e) {
|
|
3688
3688
|
var t;
|
|
@@ -3703,7 +3703,7 @@ var Ul = !0, Bi, qi;
|
|
|
3703
3703
|
function fy(e) {
|
|
3704
3704
|
if (Ul) {
|
|
3705
3705
|
var t;
|
|
3706
|
-
for (Bi = new
|
|
3706
|
+
for (Bi = new kt.Buf32(512), qi = new kt.Buf32(32), t = 0; t < 144; )
|
|
3707
3707
|
e.lens[t++] = 8;
|
|
3708
3708
|
for (; t < 256; )
|
|
3709
3709
|
e.lens[t++] = 9;
|
|
@@ -3719,10 +3719,10 @@ function fy(e) {
|
|
|
3719
3719
|
}
|
|
3720
3720
|
function Ac(e, t, r, i) {
|
|
3721
3721
|
var a, s = e.state;
|
|
3722
|
-
return s.window === null && (s.wsize = 1 << s.wbits, s.wnext = 0, s.whave = 0, s.window = new
|
|
3722
|
+
return s.window === null && (s.wsize = 1 << s.wbits, s.wnext = 0, s.whave = 0, s.window = new kt.Buf8(s.wsize)), i >= s.wsize ? (kt.arraySet(s.window, t, r - s.wsize, s.wsize, 0), s.wnext = 0, s.whave = s.wsize) : (a = s.wsize - s.wnext, a > i && (a = i), kt.arraySet(s.window, t, r - i, a, s.wnext), i -= a, i ? (kt.arraySet(s.window, t, r - i, i, 0), s.wnext = i, s.whave = s.wsize) : (s.wnext += a, s.wnext === s.wsize && (s.wnext = 0), s.whave < s.wsize && (s.whave += a))), 0;
|
|
3723
3723
|
}
|
|
3724
3724
|
function py(e, t) {
|
|
3725
|
-
var r, i, a, s, n, o, l, p, c, h, m, g, T, y, w = 0, b, A, k, I, $, C, E, O,
|
|
3725
|
+
var r, i, a, s, n, o, l, p, c, h, m, g, T, y, w = 0, b, A, k, I, $, C, E, O, F = new kt.Buf8(4), P, S, D = (
|
|
3726
3726
|
/* permutation of code lengths */
|
|
3727
3727
|
[16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
|
|
3728
3728
|
);
|
|
@@ -3743,7 +3743,7 @@ function py(e, t) {
|
|
|
3743
3743
|
o--, p += i[s++] << c, c += 8;
|
|
3744
3744
|
}
|
|
3745
3745
|
if (r.wrap & 2 && p === 35615) {
|
|
3746
|
-
r.check = 0,
|
|
3746
|
+
r.check = 0, F[0] = p & 255, F[1] = p >>> 8 & 255, r.check = Mt(r.check, F, 2, 0), p = 0, c = 0, r.mode = ml;
|
|
3747
3747
|
break;
|
|
3748
3748
|
}
|
|
3749
3749
|
if (r.flags = 0, r.head && (r.head.done = !1), !(r.wrap & 1) || /* check if zlib header allowed */
|
|
@@ -3777,21 +3777,21 @@ function py(e, t) {
|
|
|
3777
3777
|
e.msg = "unknown header flags set", r.mode = De;
|
|
3778
3778
|
break;
|
|
3779
3779
|
}
|
|
3780
|
-
r.head && (r.head.text = p >> 8 & 1), r.flags & 512 && (
|
|
3780
|
+
r.head && (r.head.text = p >> 8 & 1), r.flags & 512 && (F[0] = p & 255, F[1] = p >>> 8 & 255, r.check = Mt(r.check, F, 2, 0)), p = 0, c = 0, r.mode = yl;
|
|
3781
3781
|
case yl:
|
|
3782
3782
|
for (; c < 32; ) {
|
|
3783
3783
|
if (o === 0)
|
|
3784
3784
|
break e;
|
|
3785
3785
|
o--, p += i[s++] << c, c += 8;
|
|
3786
3786
|
}
|
|
3787
|
-
r.head && (r.head.time = p), r.flags & 512 && (
|
|
3787
|
+
r.head && (r.head.time = p), r.flags & 512 && (F[0] = p & 255, F[1] = p >>> 8 & 255, F[2] = p >>> 16 & 255, F[3] = p >>> 24 & 255, r.check = Mt(r.check, F, 4, 0)), p = 0, c = 0, r.mode = gl;
|
|
3788
3788
|
case gl:
|
|
3789
3789
|
for (; c < 16; ) {
|
|
3790
3790
|
if (o === 0)
|
|
3791
3791
|
break e;
|
|
3792
3792
|
o--, p += i[s++] << c, c += 8;
|
|
3793
3793
|
}
|
|
3794
|
-
r.head && (r.head.xflags = p & 255, r.head.os = p >> 8), r.flags & 512 && (
|
|
3794
|
+
r.head && (r.head.xflags = p & 255, r.head.os = p >> 8), r.flags & 512 && (F[0] = p & 255, F[1] = p >>> 8 & 255, r.check = Mt(r.check, F, 2, 0)), p = 0, c = 0, r.mode = wl;
|
|
3795
3795
|
case wl:
|
|
3796
3796
|
if (r.flags & 1024) {
|
|
3797
3797
|
for (; c < 16; ) {
|
|
@@ -3799,11 +3799,11 @@ function py(e, t) {
|
|
|
3799
3799
|
break e;
|
|
3800
3800
|
o--, p += i[s++] << c, c += 8;
|
|
3801
3801
|
}
|
|
3802
|
-
r.length = p, r.head && (r.head.extra_len = p), r.flags & 512 && (
|
|
3802
|
+
r.length = p, r.head && (r.head.extra_len = p), r.flags & 512 && (F[0] = p & 255, F[1] = p >>> 8 & 255, r.check = Mt(r.check, F, 2, 0)), p = 0, c = 0;
|
|
3803
3803
|
} else r.head && (r.head.extra = null);
|
|
3804
3804
|
r.mode = bl;
|
|
3805
3805
|
case bl:
|
|
3806
|
-
if (r.flags & 1024 && (g = r.length, g > o && (g = o), g && (r.head && (E = r.head.extra_len - r.length, r.head.extra || (r.head.extra = new Array(r.head.extra_len)),
|
|
3806
|
+
if (r.flags & 1024 && (g = r.length, g > o && (g = o), g && (r.head && (E = r.head.extra_len - r.length, r.head.extra || (r.head.extra = new Array(r.head.extra_len)), kt.arraySet(
|
|
3807
3807
|
r.head.extra,
|
|
3808
3808
|
i,
|
|
3809
3809
|
s,
|
|
@@ -3914,7 +3914,7 @@ function py(e, t) {
|
|
|
3914
3914
|
if (g = r.length, g) {
|
|
3915
3915
|
if (g > o && (g = o), g > l && (g = l), g === 0)
|
|
3916
3916
|
break e;
|
|
3917
|
-
|
|
3917
|
+
kt.arraySet(a, i, s, g, n), o -= g, s += g, l -= g, n += g, r.length -= g;
|
|
3918
3918
|
break;
|
|
3919
3919
|
}
|
|
3920
3920
|
r.mode = tr;
|
|
@@ -4027,7 +4027,7 @@ function py(e, t) {
|
|
|
4027
4027
|
p >>>= I, c -= I, r.back += I;
|
|
4028
4028
|
}
|
|
4029
4029
|
if (p >>>= b, c -= b, r.back += b, r.length = k, A === 0) {
|
|
4030
|
-
r.mode =
|
|
4030
|
+
r.mode = Ll;
|
|
4031
4031
|
break;
|
|
4032
4032
|
}
|
|
4033
4033
|
if (A & 32) {
|
|
@@ -4081,8 +4081,8 @@ function py(e, t) {
|
|
|
4081
4081
|
e.msg = "invalid distance too far back", r.mode = De;
|
|
4082
4082
|
break;
|
|
4083
4083
|
}
|
|
4084
|
-
r.mode =
|
|
4085
|
-
case
|
|
4084
|
+
r.mode = Fl;
|
|
4085
|
+
case Fl:
|
|
4086
4086
|
if (l === 0)
|
|
4087
4087
|
break e;
|
|
4088
4088
|
if (g = m - l, r.offset > g) {
|
|
@@ -4099,7 +4099,7 @@ function py(e, t) {
|
|
|
4099
4099
|
while (--g);
|
|
4100
4100
|
r.length === 0 && (r.mode = ms);
|
|
4101
4101
|
break;
|
|
4102
|
-
case
|
|
4102
|
+
case Ll:
|
|
4103
4103
|
if (l === 0)
|
|
4104
4104
|
break e;
|
|
4105
4105
|
a[n++] = r.length, l--, r.mode = ms;
|
|
@@ -4215,7 +4215,7 @@ var Tc = {
|
|
|
4215
4215
|
function hy() {
|
|
4216
4216
|
this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1;
|
|
4217
4217
|
}
|
|
4218
|
-
var my = hy, sn = jt, $n = ar,
|
|
4218
|
+
var my = hy, sn = jt, $n = ar, Fs = Mr, je = Tc, za = yo, yy = yc, gy = my, $c = Object.prototype.toString;
|
|
4219
4219
|
function jr(e) {
|
|
4220
4220
|
if (!(this instanceof jr)) return new jr(e);
|
|
4221
4221
|
this.options = $n.assign({
|
|
@@ -4231,18 +4231,18 @@ function jr(e) {
|
|
|
4231
4231
|
);
|
|
4232
4232
|
if (r !== je.Z_OK)
|
|
4233
4233
|
throw new Error(za[r]);
|
|
4234
|
-
if (this.header = new gy(), sn.inflateGetHeader(this.strm, this.header), t.dictionary && (typeof t.dictionary == "string" ? t.dictionary =
|
|
4234
|
+
if (this.header = new gy(), sn.inflateGetHeader(this.strm, this.header), t.dictionary && (typeof t.dictionary == "string" ? t.dictionary = Fs.string2buf(t.dictionary) : $c.call(t.dictionary) === "[object ArrayBuffer]" && (t.dictionary = new Uint8Array(t.dictionary)), t.raw && (r = sn.inflateSetDictionary(this.strm, t.dictionary), r !== je.Z_OK)))
|
|
4235
4235
|
throw new Error(za[r]);
|
|
4236
4236
|
}
|
|
4237
4237
|
jr.prototype.push = function(e, t) {
|
|
4238
4238
|
var r = this.strm, i = this.options.chunkSize, a = this.options.dictionary, s, n, o, l, p, c = !1;
|
|
4239
4239
|
if (this.ended)
|
|
4240
4240
|
return !1;
|
|
4241
|
-
n = t === ~~t ? t : t === !0 ? je.Z_FINISH : je.Z_NO_FLUSH, typeof e == "string" ? r.input =
|
|
4241
|
+
n = t === ~~t ? t : t === !0 ? je.Z_FINISH : je.Z_NO_FLUSH, typeof e == "string" ? r.input = Fs.binstring2buf(e) : $c.call(e) === "[object ArrayBuffer]" ? r.input = new Uint8Array(e) : r.input = e, r.next_in = 0, r.avail_in = r.input.length;
|
|
4242
4242
|
do {
|
|
4243
4243
|
if (r.avail_out === 0 && (r.output = new $n.Buf8(i), r.next_out = 0, r.avail_out = i), s = sn.inflate(r, je.Z_NO_FLUSH), s === je.Z_NEED_DICT && a && (s = sn.inflateSetDictionary(this.strm, a)), s === je.Z_BUF_ERROR && c === !0 && (s = je.Z_OK, c = !1), s !== je.Z_STREAM_END && s !== je.Z_OK)
|
|
4244
4244
|
return this.onEnd(s), this.ended = !0, !1;
|
|
4245
|
-
r.next_out && (r.avail_out === 0 || s === je.Z_STREAM_END || r.avail_in === 0 && (n === je.Z_FINISH || n === je.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (o =
|
|
4245
|
+
r.next_out && (r.avail_out === 0 || s === je.Z_STREAM_END || r.avail_in === 0 && (n === je.Z_FINISH || n === je.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (o = Fs.utf8border(r.output, r.next_out), l = r.next_out - o, p = Fs.buf2string(r.output, o), r.next_out = l, r.avail_out = i - l, l && $n.arraySet(r.output, r.output, o, l, 0), this.onData(p)) : this.onData($n.shrinkBuf(r.output, r.next_out))), r.avail_in === 0 && r.avail_out === 0 && (c = !0);
|
|
4246
4246
|
} while ((r.avail_in > 0 || r.avail_out === 0) && s !== je.Z_STREAM_END);
|
|
4247
4247
|
return s === je.Z_STREAM_END && (n = je.Z_FINISH), n === je.Z_FINISH ? (s = sn.inflateEnd(this.strm), this.onEnd(s), this.ended = !0, s === je.Z_OK) : (n === je.Z_SYNC_FLUSH && (this.onEnd(je.Z_OK), r.avail_out = 0), !0);
|
|
4248
4248
|
};
|
|
@@ -4351,14 +4351,14 @@ typeof Object.create == "function" ? Ha.exports = function(t, r) {
|
|
|
4351
4351
|
};
|
|
4352
4352
|
var Oy = Ha.exports, Va = { exports: {} }, _o = {}, ci = {};
|
|
4353
4353
|
ci.byteLength = $y;
|
|
4354
|
-
ci.toByteArray =
|
|
4354
|
+
ci.toByteArray = Fy;
|
|
4355
4355
|
ci.fromByteArray = Cy;
|
|
4356
4356
|
var Kt = [], Ot = [], Ay = typeof Uint8Array < "u" ? Uint8Array : Array, Mi = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
4357
4357
|
for (var Vr = 0, Ty = Mi.length; Vr < Ty; ++Vr)
|
|
4358
4358
|
Kt[Vr] = Mi[Vr], Ot[Mi.charCodeAt(Vr)] = Vr;
|
|
4359
4359
|
Ot[45] = 62;
|
|
4360
4360
|
Ot[95] = 63;
|
|
4361
|
-
function
|
|
4361
|
+
function Fc(e) {
|
|
4362
4362
|
var t = e.length;
|
|
4363
4363
|
if (t % 4 > 0)
|
|
4364
4364
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -4368,24 +4368,24 @@ function Lc(e) {
|
|
|
4368
4368
|
return [r, i];
|
|
4369
4369
|
}
|
|
4370
4370
|
function $y(e) {
|
|
4371
|
-
var t =
|
|
4371
|
+
var t = Fc(e), r = t[0], i = t[1];
|
|
4372
4372
|
return (r + i) * 3 / 4 - i;
|
|
4373
4373
|
}
|
|
4374
4374
|
function Ry(e, t, r) {
|
|
4375
4375
|
return (t + r) * 3 / 4 - r;
|
|
4376
4376
|
}
|
|
4377
|
-
function
|
|
4378
|
-
var t, r =
|
|
4377
|
+
function Fy(e) {
|
|
4378
|
+
var t, r = Fc(e), i = r[0], a = r[1], s = new Ay(Ry(e, i, a)), n = 0, o = a > 0 ? i - 4 : i, l;
|
|
4379
4379
|
for (l = 0; l < o; l += 4)
|
|
4380
4380
|
t = Ot[e.charCodeAt(l)] << 18 | Ot[e.charCodeAt(l + 1)] << 12 | Ot[e.charCodeAt(l + 2)] << 6 | Ot[e.charCodeAt(l + 3)], s[n++] = t >> 16 & 255, s[n++] = t >> 8 & 255, s[n++] = t & 255;
|
|
4381
4381
|
return a === 2 && (t = Ot[e.charCodeAt(l)] << 2 | Ot[e.charCodeAt(l + 1)] >> 4, s[n++] = t & 255), a === 1 && (t = Ot[e.charCodeAt(l)] << 10 | Ot[e.charCodeAt(l + 1)] << 4 | Ot[e.charCodeAt(l + 2)] >> 2, s[n++] = t >> 8 & 255, s[n++] = t & 255), s;
|
|
4382
4382
|
}
|
|
4383
|
-
function
|
|
4383
|
+
function Ly(e) {
|
|
4384
4384
|
return Kt[e >> 18 & 63] + Kt[e >> 12 & 63] + Kt[e >> 6 & 63] + Kt[e & 63];
|
|
4385
4385
|
}
|
|
4386
4386
|
function Iy(e, t, r) {
|
|
4387
4387
|
for (var i, a = [], s = t; s < r; s += 3)
|
|
4388
|
-
i = (e[s] << 16 & 16711680) + (e[s + 1] << 8 & 65280) + (e[s + 2] & 255), a.push(
|
|
4388
|
+
i = (e[s] << 16 & 16711680) + (e[s + 1] << 8 & 65280) + (e[s + 2] & 255), a.push(Ly(i));
|
|
4389
4389
|
return a.join("");
|
|
4390
4390
|
}
|
|
4391
4391
|
function Cy(e) {
|
|
@@ -4682,7 +4682,7 @@ vo.write = function(e, t, r, i, a, s) {
|
|
|
4682
4682
|
case "binary":
|
|
4683
4683
|
return V(this, u, d);
|
|
4684
4684
|
case "base64":
|
|
4685
|
-
return
|
|
4685
|
+
return L(this, u, d);
|
|
4686
4686
|
case "ucs2":
|
|
4687
4687
|
case "ucs-2":
|
|
4688
4688
|
case "utf16le":
|
|
@@ -4770,8 +4770,8 @@ vo.write = function(e, t, r, i, a, s) {
|
|
|
4770
4770
|
return -1;
|
|
4771
4771
|
H = 2, K /= 2, pe /= 2, d /= 2;
|
|
4772
4772
|
}
|
|
4773
|
-
function we(rt,
|
|
4774
|
-
return H === 1 ? rt[
|
|
4773
|
+
function we(rt, Ft) {
|
|
4774
|
+
return H === 1 ? rt[Ft] : rt.readUInt16BE(Ft * H);
|
|
4775
4775
|
}
|
|
4776
4776
|
var he;
|
|
4777
4777
|
if (N) {
|
|
@@ -4783,8 +4783,8 @@ vo.write = function(e, t, r, i, a, s) {
|
|
|
4783
4783
|
Ne !== -1 && (he -= he - Ne), Ne = -1;
|
|
4784
4784
|
} else
|
|
4785
4785
|
for (d + pe > K && (d = K - pe), he = d; he >= 0; he--) {
|
|
4786
|
-
for (var ue = !0,
|
|
4787
|
-
if (we(v, he +
|
|
4786
|
+
for (var ue = !0, yt = 0; yt < pe; yt++)
|
|
4787
|
+
if (we(v, he + yt) !== we(u, yt)) {
|
|
4788
4788
|
ue = !1;
|
|
4789
4789
|
break;
|
|
4790
4790
|
}
|
|
@@ -4812,7 +4812,7 @@ vo.write = function(e, t, r, i, a, s) {
|
|
|
4812
4812
|
}
|
|
4813
4813
|
return K;
|
|
4814
4814
|
}
|
|
4815
|
-
function
|
|
4815
|
+
function F(v, u, d, R) {
|
|
4816
4816
|
return Ie(Te(u, v.length - d), v, d, R);
|
|
4817
4817
|
}
|
|
4818
4818
|
function P(v, u, d, R) {
|
|
@@ -4845,7 +4845,7 @@ vo.write = function(e, t, r, i, a, s) {
|
|
|
4845
4845
|
return O(this, u, d, R);
|
|
4846
4846
|
case "utf8":
|
|
4847
4847
|
case "utf-8":
|
|
4848
|
-
return
|
|
4848
|
+
return F(this, u, d, R);
|
|
4849
4849
|
case "ascii":
|
|
4850
4850
|
case "latin1":
|
|
4851
4851
|
case "binary":
|
|
@@ -4867,7 +4867,7 @@ vo.write = function(e, t, r, i, a, s) {
|
|
|
4867
4867
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
4868
4868
|
};
|
|
4869
4869
|
};
|
|
4870
|
-
function
|
|
4870
|
+
function L(v, u, d) {
|
|
4871
4871
|
return u === 0 && d === v.length ? t.fromByteArray(v) : t.fromByteArray(v.slice(u, d));
|
|
4872
4872
|
}
|
|
4873
4873
|
function j(v, u, d) {
|
|
@@ -5239,18 +5239,18 @@ vo.write = function(e, t, r, i, a, s) {
|
|
|
5239
5239
|
})(Va, Va.exports);
|
|
5240
5240
|
var xo = Va.exports, Dy = {}.toString, Uy = Array.isArray || function(e) {
|
|
5241
5241
|
return Dy.call(e) == "[object Array]";
|
|
5242
|
-
}, es = TypeError,
|
|
5242
|
+
}, es = TypeError, Lc = Object, Ny = Error, jy = EvalError, By = RangeError, qy = ReferenceError, Ic = SyntaxError, My = URIError, Wy = Math.abs, zy = Math.floor, Hy = Math.max, Vy = Math.min, Gy = Math.pow, Zy = Math.round, Yy = Number.isNaN || function(t) {
|
|
5243
5243
|
return t !== t;
|
|
5244
5244
|
}, Ky = Yy, Xy = function(t) {
|
|
5245
5245
|
return Ky(t) || t === 0 ? t : t < 0 ? -1 : 1;
|
|
5246
|
-
}, Jy = Object.getOwnPropertyDescriptor,
|
|
5247
|
-
if (
|
|
5246
|
+
}, Jy = Object.getOwnPropertyDescriptor, Ls = Jy;
|
|
5247
|
+
if (Ls)
|
|
5248
5248
|
try {
|
|
5249
|
-
|
|
5249
|
+
Ls([], "length");
|
|
5250
5250
|
} catch {
|
|
5251
|
-
|
|
5251
|
+
Ls = null;
|
|
5252
5252
|
}
|
|
5253
|
-
var ts =
|
|
5253
|
+
var ts = Ls, Is = Object.defineProperty || !1;
|
|
5254
5254
|
if (Is)
|
|
5255
5255
|
try {
|
|
5256
5256
|
Is({}, "a", { value: 1 });
|
|
@@ -5304,7 +5304,7 @@ var Vi, ql;
|
|
|
5304
5304
|
function Uc() {
|
|
5305
5305
|
if (ql) return Vi;
|
|
5306
5306
|
ql = 1;
|
|
5307
|
-
var e =
|
|
5307
|
+
var e = Lc;
|
|
5308
5308
|
return Vi = e.getPrototypeOf || null, Vi;
|
|
5309
5309
|
}
|
|
5310
5310
|
var e0 = "Function.prototype.bind called on incompatible ", t0 = Object.prototype.toString, r0 = Math.max, n0 = "[object Function]", Ml = function(t, r) {
|
|
@@ -5399,14 +5399,14 @@ function w0() {
|
|
|
5399
5399
|
var e = Function.prototype.call, t = Object.prototype.hasOwnProperty, r = rs;
|
|
5400
5400
|
return Ki = r.call(e, t), Ki;
|
|
5401
5401
|
}
|
|
5402
|
-
var ye, b0 =
|
|
5402
|
+
var ye, b0 = Lc, _0 = Ny, v0 = jy, x0 = By, k0 = qy, fn = Ic, an = es, P0 = My, E0 = Wy, S0 = zy, O0 = Hy, A0 = Vy, T0 = Gy, $0 = Zy, R0 = Xy, Bc = Function, Xi = function(e) {
|
|
5403
5403
|
try {
|
|
5404
5404
|
return Bc('"use strict"; return (' + e + ").constructor;")();
|
|
5405
5405
|
} catch {
|
|
5406
5406
|
}
|
|
5407
|
-
}, Nn = ts,
|
|
5407
|
+
}, Nn = ts, F0 = ui, Ji = function() {
|
|
5408
5408
|
throw new an();
|
|
5409
|
-
},
|
|
5409
|
+
}, L0 = Nn ? function() {
|
|
5410
5410
|
try {
|
|
5411
5411
|
return arguments.callee, Ji;
|
|
5412
5412
|
} catch {
|
|
@@ -5476,7 +5476,7 @@ var ye, b0 = Fc, _0 = Ny, v0 = jy, x0 = By, k0 = qy, fn = Ic, an = es, P0 = My,
|
|
|
5476
5476
|
"%StringIteratorPrototype%": Gr && Ge ? Ge(""[Symbol.iterator]()) : ye,
|
|
5477
5477
|
"%Symbol%": Gr ? Symbol : ye,
|
|
5478
5478
|
"%SyntaxError%": fn,
|
|
5479
|
-
"%ThrowTypeError%":
|
|
5479
|
+
"%ThrowTypeError%": L0,
|
|
5480
5480
|
"%TypedArray%": D0,
|
|
5481
5481
|
"%TypeError%": an,
|
|
5482
5482
|
"%Uint8Array%": typeof Uint8Array > "u" ? ye : Uint8Array,
|
|
@@ -5489,7 +5489,7 @@ var ye, b0 = Fc, _0 = Ny, v0 = jy, x0 = By, k0 = qy, fn = Ic, an = es, P0 = My,
|
|
|
5489
5489
|
"%WeakSet%": typeof WeakSet > "u" ? ye : WeakSet,
|
|
5490
5490
|
"%Function.prototype.call%": ns,
|
|
5491
5491
|
"%Function.prototype.apply%": qc,
|
|
5492
|
-
"%Object.defineProperty%":
|
|
5492
|
+
"%Object.defineProperty%": F0,
|
|
5493
5493
|
"%Object.getPrototypeOf%": I0,
|
|
5494
5494
|
"%Math.abs%": E0,
|
|
5495
5495
|
"%Math.floor%": S0,
|
|
@@ -6098,7 +6098,7 @@ async function Rg() {
|
|
|
6098
6098
|
}
|
|
6099
6099
|
return !1;
|
|
6100
6100
|
}
|
|
6101
|
-
function
|
|
6101
|
+
function Fg(e) {
|
|
6102
6102
|
const t = [];
|
|
6103
6103
|
let r = 0, i = 0;
|
|
6104
6104
|
do {
|
|
@@ -6108,7 +6108,7 @@ function Lg(e) {
|
|
|
6108
6108
|
} while (i);
|
|
6109
6109
|
return t.reduce((a, s) => a + 1 << 7 | s, -1);
|
|
6110
6110
|
}
|
|
6111
|
-
function
|
|
6111
|
+
function Lg(e, t) {
|
|
6112
6112
|
let r = t, i = 4, a = null;
|
|
6113
6113
|
do
|
|
6114
6114
|
a = e.readUInt8(), r |= (a & 127) << i, i += 7;
|
|
@@ -6282,10 +6282,10 @@ class pn {
|
|
|
6282
6282
|
throw new Ee("Unrecognized type: 0b" + n.toString(2));
|
|
6283
6283
|
const l = s & 15;
|
|
6284
6284
|
let p = l;
|
|
6285
|
-
s & 128 && (p =
|
|
6285
|
+
s & 128 && (p = Lg(a, l));
|
|
6286
6286
|
let h = null, m = null;
|
|
6287
6287
|
if (o === "ofs_delta") {
|
|
6288
|
-
const T =
|
|
6288
|
+
const T = Fg(a), y = t - T;
|
|
6289
6289
|
({ object: h, type: o } = await this.readSlice({ start: y }));
|
|
6290
6290
|
}
|
|
6291
6291
|
if (o === "ref_delta") {
|
|
@@ -7069,7 +7069,7 @@ function Rr(e) {
|
|
|
7069
7069
|
if (e.object instanceof Buffer)
|
|
7070
7070
|
switch (e.type) {
|
|
7071
7071
|
case "commit":
|
|
7072
|
-
e.object =
|
|
7072
|
+
e.object = bt.from(e.object).parse();
|
|
7073
7073
|
break;
|
|
7074
7074
|
case "tree":
|
|
7075
7075
|
e.object = po.from(e.object).entries();
|
|
@@ -7296,7 +7296,7 @@ const yf = [0, 1, 2, 3].concat(...mi([
|
|
|
7296
7296
|
[64, 28],
|
|
7297
7297
|
[64, 29]
|
|
7298
7298
|
]));
|
|
7299
|
-
function
|
|
7299
|
+
function Fe() {
|
|
7300
7300
|
const e = this;
|
|
7301
7301
|
function t(a) {
|
|
7302
7302
|
const s = e.dyn_tree, n = e.stat_desc.static_tree, o = e.stat_desc.extra_bits, l = e.stat_desc.extra_base, p = e.stat_desc.max_length;
|
|
@@ -7347,7 +7347,7 @@ function Le() {
|
|
|
7347
7347
|
a.heap[--a.heap_max] = a.heap[1], t(a), i(s, e.max_code, a.bl_count);
|
|
7348
7348
|
};
|
|
7349
7349
|
}
|
|
7350
|
-
|
|
7350
|
+
Fe._length_code = [0, 1, 2, 3, 4, 5, 6, 7].concat(...mi([
|
|
7351
7351
|
[2, 8],
|
|
7352
7352
|
[2, 9],
|
|
7353
7353
|
[2, 10],
|
|
@@ -7370,8 +7370,8 @@ Le._length_code = [0, 1, 2, 3, 4, 5, 6, 7].concat(...mi([
|
|
|
7370
7370
|
[31, 27],
|
|
7371
7371
|
[1, 28]
|
|
7372
7372
|
]));
|
|
7373
|
-
|
|
7374
|
-
|
|
7373
|
+
Fe.base_length = [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 0];
|
|
7374
|
+
Fe.base_dist = [
|
|
7375
7375
|
0,
|
|
7376
7376
|
1,
|
|
7377
7377
|
2,
|
|
@@ -7403,13 +7403,13 @@ Le.base_dist = [
|
|
|
7403
7403
|
16384,
|
|
7404
7404
|
24576
|
|
7405
7405
|
];
|
|
7406
|
-
|
|
7406
|
+
Fe.d_code = function(e) {
|
|
7407
7407
|
return e < 256 ? yf[e] : yf[256 + (e >>> 7)];
|
|
7408
7408
|
};
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7409
|
+
Fe.extra_lbits = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0];
|
|
7410
|
+
Fe.extra_dbits = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13];
|
|
7411
|
+
Fe.extra_blbits = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7];
|
|
7412
|
+
Fe.bl_order = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
7413
7413
|
function Je(e, t, r, i, a) {
|
|
7414
7414
|
const s = this;
|
|
7415
7415
|
s.static_tree = e, s.extra_bits = t, s.extra_base = r, s.elems = i, s.max_length = a;
|
|
@@ -7707,15 +7707,15 @@ const o1 = [
|
|
|
7707
7707
|
Je.static_ltree = yi(o1.map((e, t) => [e, l1[t]]));
|
|
7708
7708
|
const f1 = [0, 16, 8, 24, 4, 20, 12, 28, 2, 18, 10, 26, 6, 22, 14, 30, 1, 17, 9, 25, 5, 21, 13, 29, 3, 19, 11, 27, 7, 23], p1 = mi([[30, 5]]);
|
|
7709
7709
|
Je.static_dtree = yi(f1.map((e, t) => [e, p1[t]]));
|
|
7710
|
-
Je.static_l_desc = new Je(Je.static_ltree,
|
|
7711
|
-
Je.static_d_desc = new Je(Je.static_dtree,
|
|
7712
|
-
Je.static_bl_desc = new Je(null,
|
|
7710
|
+
Je.static_l_desc = new Je(Je.static_ltree, Fe.extra_lbits, Js + 1, So, Wn);
|
|
7711
|
+
Je.static_d_desc = new Je(Je.static_dtree, Fe.extra_dbits, 0, Za, Wn);
|
|
7712
|
+
Je.static_bl_desc = new Je(null, Fe.extra_blbits, 0, Ya, r1);
|
|
7713
7713
|
const c1 = 9, u1 = 8;
|
|
7714
7714
|
function zt(e, t, r, i, a) {
|
|
7715
7715
|
const s = this;
|
|
7716
7716
|
s.good_length = e, s.max_lazy = t, s.nice_length = r, s.max_chain = i, s.func = a;
|
|
7717
7717
|
}
|
|
7718
|
-
const ru = 0, Cs = 1, Pr = 2,
|
|
7718
|
+
const ru = 0, Cs = 1, Pr = 2, Lt = [
|
|
7719
7719
|
new zt(0, 0, 0, 0, ru),
|
|
7720
7720
|
new zt(4, 4, 8, 4, Cs),
|
|
7721
7721
|
new zt(4, 5, 16, 8, Cs),
|
|
@@ -7747,15 +7747,15 @@ const ru = 0, Cs = 1, Pr = 2, Ft = [
|
|
|
7747
7747
|
"",
|
|
7748
7748
|
// Z_VERSION_ERROR (-6)
|
|
7749
7749
|
""
|
|
7750
|
-
], St = 0, bs = 1, bn = 2, _s = 3, d1 = 32, ha = 42, vs = 113, _n = 666, ma = 8, h1 = 0, ya = 1, m1 = 2, Ue = 3, Ds = 258,
|
|
7750
|
+
], St = 0, bs = 1, bn = 2, _s = 3, d1 = 32, ha = 42, vs = 113, _n = 666, ma = 8, h1 = 0, ya = 1, m1 = 2, Ue = 3, Ds = 258, wt = Ds + Ue + 1;
|
|
7751
7751
|
function gf(e, t, r, i) {
|
|
7752
7752
|
const a = e[t * 2], s = e[r * 2];
|
|
7753
7753
|
return a < s || a == s && i[t] <= i[r];
|
|
7754
7754
|
}
|
|
7755
7755
|
function y1() {
|
|
7756
7756
|
const e = this;
|
|
7757
|
-
let t, r, i, a, s, n, o, l, p, c, h, m, g, T, y, w, b, A, k, I, $, C, E, O,
|
|
7758
|
-
const V = new
|
|
7757
|
+
let t, r, i, a, s, n, o, l, p, c, h, m, g, T, y, w, b, A, k, I, $, C, E, O, F, P, S, D, L, j, q, W, X;
|
|
7758
|
+
const V = new Fe(), se = new Fe(), G = new Fe();
|
|
7759
7759
|
e.depth = [];
|
|
7760
7760
|
let Q, ee, Z, fe, ie, ae;
|
|
7761
7761
|
e.bl_count = [], e.heap = [], q = [], W = [], X = [];
|
|
@@ -7763,7 +7763,7 @@ function y1() {
|
|
|
7763
7763
|
p = 2 * s, h[g - 1] = 0;
|
|
7764
7764
|
for (let M = 0; M < g - 1; M++)
|
|
7765
7765
|
h[M] = 0;
|
|
7766
|
-
P =
|
|
7766
|
+
P = Lt[S].max_lazy, L = Lt[S].good_length, j = Lt[S].nice_length, F = Lt[S].max_chain, $ = 0, b = 0, E = 0, A = O = Ue - 1, I = 0, m = 0;
|
|
7767
7767
|
}
|
|
7768
7768
|
function Te() {
|
|
7769
7769
|
let M;
|
|
@@ -7793,7 +7793,7 @@ function y1() {
|
|
|
7793
7793
|
}
|
|
7794
7794
|
function Et() {
|
|
7795
7795
|
let M;
|
|
7796
|
-
for (tt(q, V.max_code), tt(W, se.max_code), G.build_tree(e), M = Ya - 1; M >= 3 && X[
|
|
7796
|
+
for (tt(q, V.max_code), tt(W, se.max_code), G.build_tree(e), M = Ya - 1; M >= 3 && X[Fe.bl_order[M] * 2 + 1] === 0; M--)
|
|
7797
7797
|
;
|
|
7798
7798
|
return e.opt_len += 3 * (M + 1) + 5 + 5 + 4, M;
|
|
7799
7799
|
}
|
|
@@ -7830,7 +7830,7 @@ function y1() {
|
|
|
7830
7830
|
function d(M, Y, z) {
|
|
7831
7831
|
let J;
|
|
7832
7832
|
for (Re(M - 257, 5), Re(Y - 1, 5), Re(z - 4, 4), J = 0; J < z; J++)
|
|
7833
|
-
Re(X[
|
|
7833
|
+
Re(X[Fe.bl_order[J] * 2 + 1], 3);
|
|
7834
7834
|
u(q, M - 1), u(W, Y - 1);
|
|
7835
7835
|
}
|
|
7836
7836
|
function R() {
|
|
@@ -7841,9 +7841,9 @@ function y1() {
|
|
|
7841
7841
|
}
|
|
7842
7842
|
function H(M, Y) {
|
|
7843
7843
|
let z, J, ne;
|
|
7844
|
-
if (e.dist_buf[ee] = M, e.lc_buf[ee] = Y & 255, ee++, M === 0 ? q[Y * 2]++ : (Z++, M--, q[(
|
|
7844
|
+
if (e.dist_buf[ee] = M, e.lc_buf[ee] = Y & 255, ee++, M === 0 ? q[Y * 2]++ : (Z++, M--, q[(Fe._length_code[Y] + Js + 1) * 2]++, W[Fe.d_code(M) * 2]++), !(ee & 8191) && S > 2) {
|
|
7845
7845
|
for (z = ee * 8, J = $ - b, ne = 0; ne < Za; ne++)
|
|
7846
|
-
z += W[ne * 2] * (5 +
|
|
7846
|
+
z += W[ne * 2] * (5 + Fe.extra_dbits[ne]);
|
|
7847
7847
|
if (z >>>= 3, Z < Math.floor(ee / 2) && z < Math.floor(J / 2))
|
|
7848
7848
|
return !0;
|
|
7849
7849
|
}
|
|
@@ -7853,7 +7853,7 @@ function y1() {
|
|
|
7853
7853
|
let z, J, ne = 0, le, de;
|
|
7854
7854
|
if (ee !== 0)
|
|
7855
7855
|
do
|
|
7856
|
-
z = e.dist_buf[ne], J = e.lc_buf[ne], ne++, z === 0 ? v(J, M) : (le =
|
|
7856
|
+
z = e.dist_buf[ne], J = e.lc_buf[ne], ne++, z === 0 ? v(J, M) : (le = Fe._length_code[J], v(le + Js + 1, M), de = Fe.extra_lbits[le], de !== 0 && (J -= Fe.base_length[le], Re(J, de)), z--, le = Fe.d_code(z), v(le, Y), de = Fe.extra_dbits[le], de !== 0 && (z -= Fe.base_dist[le], Re(z, de)));
|
|
7857
7857
|
while (ne < ee);
|
|
7858
7858
|
v(wn, M), fe = M[wn * 2 + 1];
|
|
7859
7859
|
}
|
|
@@ -7873,14 +7873,14 @@ function y1() {
|
|
|
7873
7873
|
function ue(M) {
|
|
7874
7874
|
Ne(b >= 0 ? b : -1, $ - b, M), b = $, t.flush_pending();
|
|
7875
7875
|
}
|
|
7876
|
-
function
|
|
7876
|
+
function yt() {
|
|
7877
7877
|
let M, Y, z, J;
|
|
7878
7878
|
do {
|
|
7879
7879
|
if (J = p - E - $, J === 0 && $ === 0 && E === 0)
|
|
7880
7880
|
J = s;
|
|
7881
7881
|
else if (J == -1)
|
|
7882
7882
|
J--;
|
|
7883
|
-
else if ($ >= s + s -
|
|
7883
|
+
else if ($ >= s + s - wt) {
|
|
7884
7884
|
l.set(l.subarray(s, s + s), 0), C -= s, $ -= s, b -= s, M = g, z = M;
|
|
7885
7885
|
do
|
|
7886
7886
|
Y = h[--z] & 65535, h[z] = Y >= s ? Y - s : 0;
|
|
@@ -7894,29 +7894,29 @@ function y1() {
|
|
|
7894
7894
|
if (t.avail_in === 0)
|
|
7895
7895
|
return;
|
|
7896
7896
|
M = t.read_buf(l, $ + E, J), E += M, E >= Ue && (m = l[$] & 255, m = (m << w ^ l[$ + 1] & 255) & y);
|
|
7897
|
-
} while (E <
|
|
7897
|
+
} while (E < wt && t.avail_in !== 0);
|
|
7898
7898
|
}
|
|
7899
7899
|
function rt(M) {
|
|
7900
7900
|
let Y = 65535, z;
|
|
7901
7901
|
for (Y > i - 5 && (Y = i - 5); ; ) {
|
|
7902
7902
|
if (E <= 1) {
|
|
7903
|
-
if (
|
|
7903
|
+
if (yt(), E === 0 && M == Qr)
|
|
7904
7904
|
return St;
|
|
7905
7905
|
if (E === 0)
|
|
7906
7906
|
break;
|
|
7907
7907
|
}
|
|
7908
|
-
if ($ += E, E = 0, z = b + Y, ($ === 0 || $ >= z) && (E = $ - z, $ = z, ue(!1), t.avail_out === 0) || $ - b >= s -
|
|
7908
|
+
if ($ += E, E = 0, z = b + Y, ($ === 0 || $ >= z) && (E = $ - z, $ = z, ue(!1), t.avail_out === 0) || $ - b >= s - wt && (ue(!1), t.avail_out === 0))
|
|
7909
7909
|
return St;
|
|
7910
7910
|
}
|
|
7911
7911
|
return ue(M == pt), t.avail_out === 0 ? M == pt ? bn : St : M == pt ? _s : bs;
|
|
7912
7912
|
}
|
|
7913
|
-
function
|
|
7914
|
-
let Y =
|
|
7915
|
-
const de = $ > s -
|
|
7913
|
+
function Ft(M) {
|
|
7914
|
+
let Y = F, z = $, J, ne, le = O;
|
|
7915
|
+
const de = $ > s - wt ? $ - (s - wt) : 0;
|
|
7916
7916
|
let Me = j;
|
|
7917
7917
|
const ce = o, xe = $ + Ds;
|
|
7918
7918
|
let B = l[z + le - 1], oe = l[z + le];
|
|
7919
|
-
O >=
|
|
7919
|
+
O >= L && (Y >>= 2), Me > E && (Me = E);
|
|
7920
7920
|
do
|
|
7921
7921
|
if (J = M, !(l[J + le] != oe || l[J + le - 1] != B || l[J] != l[z] || l[++J] != l[z + 1])) {
|
|
7922
7922
|
z += 2, J++;
|
|
@@ -7935,13 +7935,13 @@ function y1() {
|
|
|
7935
7935
|
function bi(M) {
|
|
7936
7936
|
let Y = 0, z;
|
|
7937
7937
|
for (; ; ) {
|
|
7938
|
-
if (E <
|
|
7939
|
-
if (
|
|
7938
|
+
if (E < wt) {
|
|
7939
|
+
if (yt(), E < wt && M == Qr)
|
|
7940
7940
|
return St;
|
|
7941
7941
|
if (E === 0)
|
|
7942
7942
|
break;
|
|
7943
7943
|
}
|
|
7944
|
-
if (E >= Ue && (m = (m << w ^ l[$ + (Ue - 1)] & 255) & y, Y = h[m] & 65535, c[$ & o] = h[m], h[m] = $), Y !== 0 && ($ - Y & 65535) <= s -
|
|
7944
|
+
if (E >= Ue && (m = (m << w ^ l[$ + (Ue - 1)] & 255) & y, Y = h[m] & 65535, c[$ & o] = h[m], h[m] = $), Y !== 0 && ($ - Y & 65535) <= s - wt && D != ys && (A = Ft(Y)), A >= Ue)
|
|
7945
7945
|
if (z = H($ - C, A - Ue), E -= A, A <= P && E >= Ue) {
|
|
7946
7946
|
A--;
|
|
7947
7947
|
do
|
|
@@ -7960,13 +7960,13 @@ function y1() {
|
|
|
7960
7960
|
function nt(M) {
|
|
7961
7961
|
let Y = 0, z, J;
|
|
7962
7962
|
for (; ; ) {
|
|
7963
|
-
if (E <
|
|
7964
|
-
if (
|
|
7963
|
+
if (E < wt) {
|
|
7964
|
+
if (yt(), E < wt && M == Qr)
|
|
7965
7965
|
return St;
|
|
7966
7966
|
if (E === 0)
|
|
7967
7967
|
break;
|
|
7968
7968
|
}
|
|
7969
|
-
if (E >= Ue && (m = (m << w ^ l[$ + (Ue - 1)] & 255) & y, Y = h[m] & 65535, c[$ & o] = h[m], h[m] = $), O = A, k = C, A = Ue - 1, Y !== 0 && O < P && ($ - Y & 65535) <= s -
|
|
7969
|
+
if (E >= Ue && (m = (m << w ^ l[$ + (Ue - 1)] & 255) & y, Y = h[m] & 65535, c[$ & o] = h[m], h[m] = $), O = A, k = C, A = Ue - 1, Y !== 0 && O < P && ($ - Y & 65535) <= s - wt && (D != ys && (A = Ft(Y)), A <= 5 && (D == n1 || A == Ue && $ - C > 4096) && (A = Ue - 1)), O >= Ue && A <= O) {
|
|
7970
7970
|
J = $ + E - Ue, z = H($ - 1 - k, O - Ue), E -= O - 1, O -= 2;
|
|
7971
7971
|
do
|
|
7972
7972
|
++$ <= J && (m = (m << w ^ l[$ + (Ue - 1)] & 255) & y, Y = h[m] & 65535, c[$ & o] = h[m], h[m] = $);
|
|
@@ -7990,14 +7990,14 @@ function y1() {
|
|
|
7990
7990
|
return r != ha && r != vs && r != _n ? Ut : (e.lc_buf = null, e.dist_buf = null, e.pending_buf = null, h = null, c = null, l = null, e.dstate = null, r == vs ? a1 : Ct);
|
|
7991
7991
|
}, e.deflateParams = function(M, Y, z) {
|
|
7992
7992
|
let J = Ct;
|
|
7993
|
-
return Y == Qs && (Y = 6), Y < 0 || Y > 9 || z < 0 || z > ys ? Ut : (
|
|
7993
|
+
return Y == Qs && (Y = 6), Y < 0 || Y > 9 || z < 0 || z > ys ? Ut : (Lt[S].func != Lt[Y].func && M.total_in !== 0 && (J = M.deflate(mf)), S != Y && (S = Y, P = Lt[S].max_lazy, L = Lt[S].good_length, j = Lt[S].nice_length, F = Lt[S].max_chain), D = z, J);
|
|
7994
7994
|
}, e.deflateSetDictionary = function(M, Y, z) {
|
|
7995
7995
|
let J = z, ne, le = 0;
|
|
7996
7996
|
if (!Y || r != ha)
|
|
7997
7997
|
return Ut;
|
|
7998
7998
|
if (J < Ue)
|
|
7999
7999
|
return Ct;
|
|
8000
|
-
for (J > s -
|
|
8000
|
+
for (J > s - wt && (J = s - wt, le = z - J), l.set(Y.subarray(le, le + J), 0), $ = J, b = J, m = l[0] & 255, m = (m << w ^ l[1] & 255) & y, ne = 0; ne <= J - Ue; ne++)
|
|
8001
8001
|
m = (m << w ^ l[ne + (Ue - 1)] & 255) & y, c[ne & o] = h[m], h[m] = ne;
|
|
8002
8002
|
return Ct;
|
|
8003
8003
|
}, e.deflate = function(M, Y) {
|
|
@@ -8016,7 +8016,7 @@ function y1() {
|
|
|
8016
8016
|
if (r == _n && t.avail_in !== 0)
|
|
8017
8017
|
return M.msg = ws[gs - Zr], Zr;
|
|
8018
8018
|
if (t.avail_in !== 0 || E !== 0 || Y != Qr && r != _n) {
|
|
8019
|
-
switch (de = -1,
|
|
8019
|
+
switch (de = -1, Lt[S].func) {
|
|
8020
8020
|
case ru:
|
|
8021
8021
|
de = rt(Y);
|
|
8022
8022
|
break;
|
|
@@ -8123,7 +8123,7 @@ function g1(e) {
|
|
|
8123
8123
|
function w1(e) {
|
|
8124
8124
|
return e + 5 * (Math.floor(e / 16383) + 1);
|
|
8125
8125
|
}
|
|
8126
|
-
const b1 = 15, ve = 0, sr = 1, _1 = 2, ut = -2,
|
|
8126
|
+
const b1 = 15, ve = 0, sr = 1, _1 = 2, ut = -2, Le = -3, wf = -4, ir = -5, _t = [
|
|
8127
8127
|
0,
|
|
8128
8128
|
1,
|
|
8129
8129
|
3,
|
|
@@ -9911,50 +9911,50 @@ function Ka() {
|
|
|
9911
9911
|
const e = this;
|
|
9912
9912
|
let t, r, i, a, s, n;
|
|
9913
9913
|
function o(p, c, h, m, g, T, y, w, b, A, k) {
|
|
9914
|
-
let I, $, C, E, O,
|
|
9915
|
-
|
|
9914
|
+
let I, $, C, E, O, F, P, S, D, L, j, q, W, X, V;
|
|
9915
|
+
L = 0, O = h;
|
|
9916
9916
|
do
|
|
9917
|
-
i[p[c +
|
|
9917
|
+
i[p[c + L]]++, L++, O--;
|
|
9918
9918
|
while (O !== 0);
|
|
9919
9919
|
if (i[0] == h)
|
|
9920
9920
|
return y[0] = -1, w[0] = 0, ve;
|
|
9921
|
-
for (S = w[0],
|
|
9921
|
+
for (S = w[0], F = 1; F <= fr && i[F] === 0; F++)
|
|
9922
9922
|
;
|
|
9923
|
-
for (P =
|
|
9923
|
+
for (P = F, S < F && (S = F), O = fr; O !== 0 && i[O] === 0; O--)
|
|
9924
9924
|
;
|
|
9925
|
-
for (C = O, S > O && (S = O), w[0] = S, X = 1 <<
|
|
9926
|
-
if ((X -= i[
|
|
9927
|
-
return
|
|
9925
|
+
for (C = O, S > O && (S = O), w[0] = S, X = 1 << F; F < O; F++, X <<= 1)
|
|
9926
|
+
if ((X -= i[F]) < 0)
|
|
9927
|
+
return Le;
|
|
9928
9928
|
if ((X -= i[O]) < 0)
|
|
9929
|
-
return
|
|
9930
|
-
for (i[O] += X, n[1] =
|
|
9931
|
-
n[W] =
|
|
9932
|
-
O = 0,
|
|
9929
|
+
return Le;
|
|
9930
|
+
for (i[O] += X, n[1] = F = 0, L = 1, W = 2; --O !== 0; )
|
|
9931
|
+
n[W] = F += i[L], W++, L++;
|
|
9932
|
+
O = 0, L = 0;
|
|
9933
9933
|
do
|
|
9934
|
-
(
|
|
9934
|
+
(F = p[c + L]) !== 0 && (k[n[F]++] = O), L++;
|
|
9935
9935
|
while (++O < h);
|
|
9936
|
-
for (h = n[C], n[0] = O = 0,
|
|
9936
|
+
for (h = n[C], n[0] = O = 0, L = 0, E = -1, q = -S, s[0] = 0, j = 0, V = 0; P <= C; P++)
|
|
9937
9937
|
for (I = i[P]; I-- !== 0; ) {
|
|
9938
9938
|
for (; P > q + S; ) {
|
|
9939
|
-
if (E++, q += S, V = C - q, V = V > S ? S : V, ($ = 1 << (
|
|
9940
|
-
for (; ++
|
|
9939
|
+
if (E++, q += S, V = C - q, V = V > S ? S : V, ($ = 1 << (F = P - q)) > I + 1 && ($ -= I + 1, W = P, F < V))
|
|
9940
|
+
for (; ++F < V && !(($ <<= 1) <= i[++W]); )
|
|
9941
9941
|
$ -= i[W];
|
|
9942
|
-
if (V = 1 <<
|
|
9943
|
-
return
|
|
9942
|
+
if (V = 1 << F, A[0] + V > su)
|
|
9943
|
+
return Le;
|
|
9944
9944
|
s[E] = j = /* hp+ */
|
|
9945
9945
|
A[0], A[0] += V, E !== 0 ? (n[E] = O, a[0] = /* (byte) */
|
|
9946
|
-
|
|
9947
|
-
S,
|
|
9948
|
-
j - s[E - 1] -
|
|
9946
|
+
F, a[1] = /* (byte) */
|
|
9947
|
+
S, F = O >>> q - S, a[2] = /* (int) */
|
|
9948
|
+
j - s[E - 1] - F, b.set(a, (s[E - 1] + F) * 3)) : y[0] = j;
|
|
9949
9949
|
}
|
|
9950
9950
|
for (a[1] = /* (byte) */
|
|
9951
|
-
P - q,
|
|
9952
|
-
k[
|
|
9953
|
-
T[k[
|
|
9954
|
-
b.set(a, (j +
|
|
9955
|
-
for (
|
|
9956
|
-
O ^=
|
|
9957
|
-
for (O ^=
|
|
9951
|
+
P - q, L >= h ? a[0] = 192 : k[L] < m ? (a[0] = /* (byte) */
|
|
9952
|
+
k[L] < 256 ? 0 : 96, a[2] = k[L++]) : (a[0] = /* (byte) */
|
|
9953
|
+
T[k[L] - m] + 16 + 64, a[2] = g[k[L++] - m]), $ = 1 << P - q, F = O >>> q; F < V; F += $)
|
|
9954
|
+
b.set(a, (j + F) * 3);
|
|
9955
|
+
for (F = 1 << P - 1; O & F; F >>>= 1)
|
|
9956
|
+
O ^= F;
|
|
9957
|
+
for (O ^= F, D = (1 << q) - 1; (O & D) != n[E]; )
|
|
9958
9958
|
E--, q -= S, D = (1 << q) - 1;
|
|
9959
9959
|
}
|
|
9960
9960
|
return X !== 0 && C != 1 ? ir : ve;
|
|
@@ -9971,10 +9971,10 @@ function Ka() {
|
|
|
9971
9971
|
}
|
|
9972
9972
|
e.inflate_trees_bits = function(p, c, h, m, g) {
|
|
9973
9973
|
let T;
|
|
9974
|
-
return l(19), t[0] = 0, T = o(p, 0, 19, 19, null, null, h, c, m, t, r), T ==
|
|
9974
|
+
return l(19), t[0] = 0, T = o(p, 0, 19, 19, null, null, h, c, m, t, r), T == Le ? g.msg = "oversubscribed dynamic bit lengths tree" : (T == ir || c[0] === 0) && (g.msg = "incomplete dynamic bit lengths tree", T = Le), T;
|
|
9975
9975
|
}, e.inflate_trees_dynamic = function(p, c, h, m, g, T, y, w, b) {
|
|
9976
9976
|
let A;
|
|
9977
|
-
return l(288), t[0] = 0, A = o(h, 0, p, 257, O1, A1, T, m, w, t, r), A != ve || m[0] === 0 ? (A ==
|
|
9977
|
+
return l(288), t[0] = 0, A = o(h, 0, p, 257, O1, A1, T, m, w, t, r), A != ve || m[0] === 0 ? (A == Le ? b.msg = "oversubscribed literal/length tree" : A != wf && (b.msg = "incomplete literal/length tree", A = Le), A) : (l(288), A = o(h, p, c, 0, T1, $1, y, g, w, t, r), A != ve || g[0] === 0 && p > 257 ? (A == Le ? b.msg = "oversubscribed distance tree" : A == ir ? (b.msg = "incomplete distance tree", A = Le) : A != wf && (b.msg = "empty distance tree with lengths", A = Le), A) : ve);
|
|
9978
9978
|
};
|
|
9979
9979
|
}
|
|
9980
9980
|
Ka.inflate_trees_fixed = function(e, t, r, i) {
|
|
@@ -9985,27 +9985,27 @@ function R1() {
|
|
|
9985
9985
|
const e = this;
|
|
9986
9986
|
let t, r = 0, i, a = 0, s = 0, n = 0, o = 0, l = 0, p = 0, c = 0, h, m = 0, g, T = 0;
|
|
9987
9987
|
function y(w, b, A, k, I, $, C, E) {
|
|
9988
|
-
let O,
|
|
9989
|
-
j = E.next_in_index, q = E.avail_in, D = C.bitb,
|
|
9988
|
+
let O, F, P, S, D, L, j, q, W, X, V, se, G, Q, ee, Z;
|
|
9989
|
+
j = E.next_in_index, q = E.avail_in, D = C.bitb, L = C.bitk, W = C.write, X = W < C.read ? C.read - W - 1 : C.end - W, V = _t[w], se = _t[b];
|
|
9990
9990
|
do {
|
|
9991
|
-
for (;
|
|
9992
|
-
q--, D |= (E.read_byte(j++) & 255) <<
|
|
9993
|
-
if (O = D & V,
|
|
9994
|
-
D >>=
|
|
9995
|
-
|
|
9991
|
+
for (; L < 20; )
|
|
9992
|
+
q--, D |= (E.read_byte(j++) & 255) << L, L += 8;
|
|
9993
|
+
if (O = D & V, F = A, P = k, Z = (P + O) * 3, (S = F[Z]) === 0) {
|
|
9994
|
+
D >>= F[Z + 1], L -= F[Z + 1], C.win[W++] = /* (byte) */
|
|
9995
|
+
F[Z + 2], X--;
|
|
9996
9996
|
continue;
|
|
9997
9997
|
}
|
|
9998
9998
|
do {
|
|
9999
|
-
if (D >>=
|
|
10000
|
-
for (S &= 15, G =
|
|
10001
|
-
(D &
|
|
10002
|
-
q--, D |= (E.read_byte(j++) & 255) <<
|
|
10003
|
-
O = D & se,
|
|
9999
|
+
if (D >>= F[Z + 1], L -= F[Z + 1], S & 16) {
|
|
10000
|
+
for (S &= 15, G = F[Z + 2] + /* (int) */
|
|
10001
|
+
(D & _t[S]), D >>= S, L -= S; L < 15; )
|
|
10002
|
+
q--, D |= (E.read_byte(j++) & 255) << L, L += 8;
|
|
10003
|
+
O = D & se, F = I, P = $, Z = (P + O) * 3, S = F[Z];
|
|
10004
10004
|
do
|
|
10005
|
-
if (D >>=
|
|
10006
|
-
for (S &= 15;
|
|
10007
|
-
q--, D |= (E.read_byte(j++) & 255) <<
|
|
10008
|
-
if (Q =
|
|
10005
|
+
if (D >>= F[Z + 1], L -= F[Z + 1], S & 16) {
|
|
10006
|
+
for (S &= 15; L < S; )
|
|
10007
|
+
q--, D |= (E.read_byte(j++) & 255) << L, L += 8;
|
|
10008
|
+
if (Q = F[Z + 2] + (D & _t[S]), D >>= S, L -= S, X -= G, W >= Q)
|
|
10009
10009
|
ee = W - Q, W - ee > 0 && 2 > W - ee ? (C.win[W++] = C.win[ee++], C.win[W++] = C.win[ee++], G -= 2) : (C.win.set(C.win.subarray(ee, ee + 2), W), W += 2, ee += 2, G -= 2);
|
|
10010
10010
|
else {
|
|
10011
10011
|
ee = W - Q;
|
|
@@ -10030,46 +10030,46 @@ function R1() {
|
|
|
10030
10030
|
C.win.set(C.win.subarray(ee, ee + G), W), W += G, ee += G, G = 0;
|
|
10031
10031
|
break;
|
|
10032
10032
|
} else if (!(S & 64))
|
|
10033
|
-
O +=
|
|
10033
|
+
O += F[Z + 2], O += D & _t[S], Z = (P + O) * 3, S = F[Z];
|
|
10034
10034
|
else
|
|
10035
|
-
return E.msg = "invalid distance code", G = E.avail_in - q, G =
|
|
10035
|
+
return E.msg = "invalid distance code", G = E.avail_in - q, G = L >> 3 < G ? L >> 3 : G, q += G, j -= G, L -= G << 3, C.bitb = D, C.bitk = L, E.avail_in = q, E.total_in += j - E.next_in_index, E.next_in_index = j, C.write = W, Le;
|
|
10036
10036
|
while (!0);
|
|
10037
10037
|
break;
|
|
10038
10038
|
}
|
|
10039
10039
|
if (S & 64)
|
|
10040
|
-
return S & 32 ? (G = E.avail_in - q, G =
|
|
10041
|
-
if (O +=
|
|
10042
|
-
D >>=
|
|
10043
|
-
|
|
10040
|
+
return S & 32 ? (G = E.avail_in - q, G = L >> 3 < G ? L >> 3 : G, q += G, j -= G, L -= G << 3, C.bitb = D, C.bitk = L, E.avail_in = q, E.total_in += j - E.next_in_index, E.next_in_index = j, C.write = W, sr) : (E.msg = "invalid literal/length code", G = E.avail_in - q, G = L >> 3 < G ? L >> 3 : G, q += G, j -= G, L -= G << 3, C.bitb = D, C.bitk = L, E.avail_in = q, E.total_in += j - E.next_in_index, E.next_in_index = j, C.write = W, Le);
|
|
10041
|
+
if (O += F[Z + 2], O += D & _t[S], Z = (P + O) * 3, (S = F[Z]) === 0) {
|
|
10042
|
+
D >>= F[Z + 1], L -= F[Z + 1], C.win[W++] = /* (byte) */
|
|
10043
|
+
F[Z + 2], X--;
|
|
10044
10044
|
break;
|
|
10045
10045
|
}
|
|
10046
10046
|
} while (!0);
|
|
10047
10047
|
} while (X >= 258 && q >= 10);
|
|
10048
|
-
return G = E.avail_in - q, G =
|
|
10048
|
+
return G = E.avail_in - q, G = L >> 3 < G ? L >> 3 : G, q += G, j -= G, L -= G << 3, C.bitb = D, C.bitk = L, E.avail_in = q, E.total_in += j - E.next_in_index, E.next_in_index = j, C.write = W, ve;
|
|
10049
10049
|
}
|
|
10050
10050
|
e.init = function(w, b, A, k, I, $) {
|
|
10051
10051
|
t = xs, p = /* (byte) */
|
|
10052
10052
|
w, c = /* (byte) */
|
|
10053
10053
|
b, h = A, m = k, g = I, T = $, i = null;
|
|
10054
10054
|
}, e.proc = function(w, b, A) {
|
|
10055
|
-
let k, I, $, C = 0, E = 0, O = 0,
|
|
10056
|
-
for (O = b.next_in_index,
|
|
10055
|
+
let k, I, $, C = 0, E = 0, O = 0, F, P, S, D;
|
|
10056
|
+
for (O = b.next_in_index, F = b.avail_in, C = w.bitb, E = w.bitk, P = w.write, S = P < w.read ? w.read - P - 1 : w.end - P; ; )
|
|
10057
10057
|
switch (t) {
|
|
10058
10058
|
case xs:
|
|
10059
|
-
if (S >= 258 &&
|
|
10059
|
+
if (S >= 258 && F >= 10 && (w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, A = y(p, c, h, m, g, T, w, b), O = b.next_in_index, F = b.avail_in, C = w.bitb, E = w.bitk, P = w.write, S = P < w.read ? w.read - P - 1 : w.end - P, A != ve)) {
|
|
10060
10060
|
t = A == sr ? ga : ks;
|
|
10061
10061
|
break;
|
|
10062
10062
|
}
|
|
10063
10063
|
s = p, i = h, a = m, t = bf;
|
|
10064
10064
|
case bf:
|
|
10065
10065
|
for (k = s; E < k; ) {
|
|
10066
|
-
if (
|
|
10066
|
+
if (F !== 0)
|
|
10067
10067
|
A = ve;
|
|
10068
10068
|
else
|
|
10069
|
-
return w.bitb = C, w.bitk = E, b.avail_in =
|
|
10070
|
-
|
|
10069
|
+
return w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10070
|
+
F--, C |= (b.read_byte(O++) & 255) << E, E += 8;
|
|
10071
10071
|
}
|
|
10072
|
-
if (I = (a + (C &
|
|
10072
|
+
if (I = (a + (C & _t[k])) * 3, C >>>= i[I + 1], E -= i[I + 1], $ = i[I], $ === 0) {
|
|
10073
10073
|
n = i[I + 2], t = Pf;
|
|
10074
10074
|
break;
|
|
10075
10075
|
}
|
|
@@ -10085,25 +10085,25 @@ function R1() {
|
|
|
10085
10085
|
t = ga;
|
|
10086
10086
|
break;
|
|
10087
10087
|
}
|
|
10088
|
-
return t = ks, b.msg = "invalid literal/length code", A =
|
|
10088
|
+
return t = ks, b.msg = "invalid literal/length code", A = Le, w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10089
10089
|
case _f:
|
|
10090
10090
|
for (k = o; E < k; ) {
|
|
10091
|
-
if (
|
|
10091
|
+
if (F !== 0)
|
|
10092
10092
|
A = ve;
|
|
10093
10093
|
else
|
|
10094
|
-
return w.bitb = C, w.bitk = E, b.avail_in =
|
|
10095
|
-
|
|
10094
|
+
return w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10095
|
+
F--, C |= (b.read_byte(O++) & 255) << E, E += 8;
|
|
10096
10096
|
}
|
|
10097
|
-
r += C &
|
|
10097
|
+
r += C & _t[k], C >>= k, E -= k, s = c, i = g, a = T, t = vf;
|
|
10098
10098
|
case vf:
|
|
10099
10099
|
for (k = s; E < k; ) {
|
|
10100
|
-
if (
|
|
10100
|
+
if (F !== 0)
|
|
10101
10101
|
A = ve;
|
|
10102
10102
|
else
|
|
10103
|
-
return w.bitb = C, w.bitk = E, b.avail_in =
|
|
10104
|
-
|
|
10103
|
+
return w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10104
|
+
F--, C |= (b.read_byte(O++) & 255) << E, E += 8;
|
|
10105
10105
|
}
|
|
10106
|
-
if (I = (a + (C &
|
|
10106
|
+
if (I = (a + (C & _t[k])) * 3, C >>= i[I + 1], E -= i[I + 1], $ = i[I], $ & 16) {
|
|
10107
10107
|
o = $ & 15, l = i[I + 2], t = xf;
|
|
10108
10108
|
break;
|
|
10109
10109
|
}
|
|
@@ -10111,42 +10111,42 @@ function R1() {
|
|
|
10111
10111
|
s = $, a = I / 3 + i[I + 2];
|
|
10112
10112
|
break;
|
|
10113
10113
|
}
|
|
10114
|
-
return t = ks, b.msg = "invalid distance code", A =
|
|
10114
|
+
return t = ks, b.msg = "invalid distance code", A = Le, w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10115
10115
|
case xf:
|
|
10116
10116
|
for (k = o; E < k; ) {
|
|
10117
|
-
if (
|
|
10117
|
+
if (F !== 0)
|
|
10118
10118
|
A = ve;
|
|
10119
10119
|
else
|
|
10120
|
-
return w.bitb = C, w.bitk = E, b.avail_in =
|
|
10121
|
-
|
|
10120
|
+
return w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10121
|
+
F--, C |= (b.read_byte(O++) & 255) << E, E += 8;
|
|
10122
10122
|
}
|
|
10123
|
-
l += C &
|
|
10123
|
+
l += C & _t[k], C >>= k, E -= k, t = kf;
|
|
10124
10124
|
case kf:
|
|
10125
10125
|
for (D = P - l; D < 0; )
|
|
10126
10126
|
D += w.end;
|
|
10127
10127
|
for (; r !== 0; ) {
|
|
10128
10128
|
if (S === 0 && (P == w.end && w.read !== 0 && (P = 0, S = P < w.read ? w.read - P - 1 : w.end - P), S === 0 && (w.write = P, A = w.inflate_flush(b, A), P = w.write, S = P < w.read ? w.read - P - 1 : w.end - P, P == w.end && w.read !== 0 && (P = 0, S = P < w.read ? w.read - P - 1 : w.end - P), S === 0)))
|
|
10129
|
-
return w.bitb = C, w.bitk = E, b.avail_in =
|
|
10129
|
+
return w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10130
10130
|
w.win[P++] = w.win[D++], S--, D == w.end && (D = 0), r--;
|
|
10131
10131
|
}
|
|
10132
10132
|
t = xs;
|
|
10133
10133
|
break;
|
|
10134
10134
|
case Pf:
|
|
10135
10135
|
if (S === 0 && (P == w.end && w.read !== 0 && (P = 0, S = P < w.read ? w.read - P - 1 : w.end - P), S === 0 && (w.write = P, A = w.inflate_flush(b, A), P = w.write, S = P < w.read ? w.read - P - 1 : w.end - P, P == w.end && w.read !== 0 && (P = 0, S = P < w.read ? w.read - P - 1 : w.end - P), S === 0)))
|
|
10136
|
-
return w.bitb = C, w.bitk = E, b.avail_in =
|
|
10136
|
+
return w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10137
10137
|
A = ve, w.win[P++] = /* (byte) */
|
|
10138
10138
|
n, S--, t = xs;
|
|
10139
10139
|
break;
|
|
10140
10140
|
case ga:
|
|
10141
|
-
if (E > 7 && (E -= 8,
|
|
10142
|
-
return w.bitb = C, w.bitk = E, b.avail_in =
|
|
10141
|
+
if (E > 7 && (E -= 8, F++, O--), w.write = P, A = w.inflate_flush(b, A), P = w.write, S = P < w.read ? w.read - P - 1 : w.end - P, w.read != w.write)
|
|
10142
|
+
return w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10143
10143
|
t = Ef;
|
|
10144
10144
|
case Ef:
|
|
10145
|
-
return A = sr, w.bitb = C, w.bitk = E, b.avail_in =
|
|
10145
|
+
return A = sr, w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10146
10146
|
case ks:
|
|
10147
|
-
return A =
|
|
10147
|
+
return A = Le, w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10148
10148
|
default:
|
|
10149
|
-
return A = ut, w.bitb = C, w.bitk = E, b.avail_in =
|
|
10149
|
+
return A = ut, w.bitb = C, w.bitk = E, b.avail_in = F, b.total_in += O - b.next_in_index, b.next_in_index = O, w.write = P, w.inflate_flush(b, A);
|
|
10150
10150
|
}
|
|
10151
10151
|
}, e.free = function() {
|
|
10152
10152
|
};
|
|
@@ -10173,7 +10173,7 @@ const Sf = [
|
|
|
10173
10173
|
1,
|
|
10174
10174
|
15
|
|
10175
10175
|
], Yr = 0, wa = 1, Of = 2, Af = 3, Tf = 4, $f = 5, Ps = 6, Es = 7, Rf = 8, kr = 9;
|
|
10176
|
-
function
|
|
10176
|
+
function F1(e, t) {
|
|
10177
10177
|
const r = this;
|
|
10178
10178
|
let i = Yr, a = 0, s = 0, n = 0, o;
|
|
10179
10179
|
const l = [0], p = [0], c = new R1();
|
|
@@ -10189,7 +10189,7 @@ function L1(e, t) {
|
|
|
10189
10189
|
let b, A, k, I, $, C, E, O;
|
|
10190
10190
|
for (I = y.next_in_index, $ = y.avail_in, A = r.bitb, k = r.bitk, C = r.write, E = /* (int) */
|
|
10191
10191
|
C < r.read ? r.read - C - 1 : r.end - C; ; ) {
|
|
10192
|
-
let
|
|
10192
|
+
let F, P, S, D, L, j, q, W;
|
|
10193
10193
|
switch (i) {
|
|
10194
10194
|
case Yr:
|
|
10195
10195
|
for (; k < 3; ) {
|
|
@@ -10205,13 +10205,13 @@ function L1(e, t) {
|
|
|
10205
10205
|
A >>>= 3, k -= 3, b = k & 7, A >>>= b, k -= b, i = wa;
|
|
10206
10206
|
break;
|
|
10207
10207
|
case 1:
|
|
10208
|
-
|
|
10208
|
+
F = [], P = [], S = [[]], D = [[]], Ka.inflate_trees_fixed(F, P, S, D), c.init(F[0], P[0], S[0], 0, D[0], 0), A >>>= 3, k -= 3, i = Ps;
|
|
10209
10209
|
break;
|
|
10210
10210
|
case 2:
|
|
10211
10211
|
A >>>= 3, k -= 3, i = Af;
|
|
10212
10212
|
break;
|
|
10213
10213
|
case 3:
|
|
10214
|
-
return A >>>= 3, k -= 3, i = kr, y.msg = "invalid block type", w =
|
|
10214
|
+
return A >>>= 3, k -= 3, i = kr, y.msg = "invalid block type", w = Le, r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10215
10215
|
}
|
|
10216
10216
|
break;
|
|
10217
10217
|
case wa:
|
|
@@ -10223,7 +10223,7 @@ function L1(e, t) {
|
|
|
10223
10223
|
$--, A |= (y.read_byte(I++) & 255) << k, k += 8;
|
|
10224
10224
|
}
|
|
10225
10225
|
if ((~A >>> 16 & 65535) != (A & 65535))
|
|
10226
|
-
return i = kr, y.msg = "invalid stored block lengths", w =
|
|
10226
|
+
return i = kr, y.msg = "invalid stored block lengths", w = Le, r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10227
10227
|
a = A & 65535, A = k = 0, i = a !== 0 ? Of : h !== 0 ? Es : Yr;
|
|
10228
10228
|
break;
|
|
10229
10229
|
case Of:
|
|
@@ -10245,7 +10245,7 @@ function L1(e, t) {
|
|
|
10245
10245
|
$--, A |= (y.read_byte(I++) & 255) << k, k += 8;
|
|
10246
10246
|
}
|
|
10247
10247
|
if (s = b = A & 16383, (b & 31) > 29 || (b >> 5 & 31) > 29)
|
|
10248
|
-
return i = kr, y.msg = "too many length or distance symbols", w =
|
|
10248
|
+
return i = kr, y.msg = "too many length or distance symbols", w = Le, r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10249
10249
|
if (b = 258 + (b & 31) + (b >> 5 & 31), !o || o.length < b)
|
|
10250
10250
|
o = [];
|
|
10251
10251
|
else
|
|
@@ -10266,7 +10266,7 @@ function L1(e, t) {
|
|
|
10266
10266
|
for (; n < 19; )
|
|
10267
10267
|
o[Sf[n++]] = 0;
|
|
10268
10268
|
if (l[0] = 7, b = T.inflate_trees_bits(o, l, p, m, y), b != ve)
|
|
10269
|
-
return w = b, w ==
|
|
10269
|
+
return w = b, w == Le && (o = null, i = kr), r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10270
10270
|
n = 0, i = $f;
|
|
10271
10271
|
case $f:
|
|
10272
10272
|
for (; b = s, !(n >= 258 + (b & 31) + (b >> 5 & 31)); ) {
|
|
@@ -10278,7 +10278,7 @@ function L1(e, t) {
|
|
|
10278
10278
|
return r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10279
10279
|
$--, A |= (y.read_byte(I++) & 255) << k, k += 8;
|
|
10280
10280
|
}
|
|
10281
|
-
if (b = m[(p[0] + (A &
|
|
10281
|
+
if (b = m[(p[0] + (A & _t[b])) * 3 + 1], V = m[(p[0] + (A & _t[b])) * 3 + 2], V < 16)
|
|
10282
10282
|
A >>>= b, k -= b, o[n++] = V;
|
|
10283
10283
|
else {
|
|
10284
10284
|
for (O = V == 18 ? 7 : V - 14, X = V == 18 ? 11 : 3; k < b + O; ) {
|
|
@@ -10288,8 +10288,8 @@ function L1(e, t) {
|
|
|
10288
10288
|
return r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10289
10289
|
$--, A |= (y.read_byte(I++) & 255) << k, k += 8;
|
|
10290
10290
|
}
|
|
10291
|
-
if (A >>>= b, k -= b, X += A &
|
|
10292
|
-
return o = null, i = kr, y.msg = "invalid bit length repeat", w =
|
|
10291
|
+
if (A >>>= b, k -= b, X += A & _t[O], A >>>= O, k -= O, O = n, b = s, O + X > 258 + (b & 31) + (b >> 5 & 31) || V == 16 && O < 1)
|
|
10292
|
+
return o = null, i = kr, y.msg = "invalid bit length repeat", w = Le, r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10293
10293
|
V = V == 16 ? o[O - 1] : 0;
|
|
10294
10294
|
do
|
|
10295
10295
|
o[O++] = V;
|
|
@@ -10297,9 +10297,9 @@ function L1(e, t) {
|
|
|
10297
10297
|
n = O;
|
|
10298
10298
|
}
|
|
10299
10299
|
}
|
|
10300
|
-
if (p[0] = -1,
|
|
10301
|
-
return b ==
|
|
10302
|
-
c.init(
|
|
10300
|
+
if (p[0] = -1, L = [], j = [], q = [], W = [], L[0] = 9, j[0] = 6, b = s, b = T.inflate_trees_dynamic(257 + (b & 31), 1 + (b >> 5 & 31), o, L, j, q, W, m, y), b != ve)
|
|
10301
|
+
return b == Le && (o = null, i = kr), w = b, r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10302
|
+
c.init(L[0], j[0], m, q[0], m, W[0]), i = Ps;
|
|
10303
10303
|
case Ps:
|
|
10304
10304
|
if (r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, (w = c.proc(r, y, w)) != sr)
|
|
10305
10305
|
return r.inflate_flush(y, w);
|
|
@@ -10317,7 +10317,7 @@ function L1(e, t) {
|
|
|
10317
10317
|
case Rf:
|
|
10318
10318
|
return w = sr, r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10319
10319
|
case kr:
|
|
10320
|
-
return w =
|
|
10320
|
+
return w = Le, r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10321
10321
|
default:
|
|
10322
10322
|
return w = ut, r.bitb = A, r.bitk = k, y.avail_in = $, y.total_in += I - y.next_in_index, y.next_in_index = I, r.write = C, r.inflate_flush(y, w);
|
|
10323
10323
|
}
|
|
@@ -10330,7 +10330,7 @@ function L1(e, t) {
|
|
|
10330
10330
|
return i == wa ? 1 : 0;
|
|
10331
10331
|
};
|
|
10332
10332
|
}
|
|
10333
|
-
const
|
|
10333
|
+
const L1 = 32, I1 = 8, C1 = 0, Ff = 1, Lf = 2, If = 3, Cf = 4, Df = 5, ba = 6, vn = 7, Uf = 12, pr = 13, D1 = [0, 0, 255, 255];
|
|
10334
10334
|
function U1() {
|
|
10335
10335
|
const e = this;
|
|
10336
10336
|
e.mode = 0, e.method = 0, e.was = [0], e.need = 0, e.marker = 0, e.wbits = 0;
|
|
@@ -10340,7 +10340,7 @@ function U1() {
|
|
|
10340
10340
|
e.inflateEnd = function(r) {
|
|
10341
10341
|
return e.blocks && e.blocks.free(r), e.blocks = null, ve;
|
|
10342
10342
|
}, e.inflateInit = function(r, i) {
|
|
10343
|
-
return r.msg = null, e.blocks = null, i < 8 || i > 15 ? (e.inflateEnd(r), ut) : (e.wbits = i, r.istate.blocks = new
|
|
10343
|
+
return r.msg = null, e.blocks = null, i < 8 || i > 15 ? (e.inflateEnd(r), ut) : (e.wbits = i, r.istate.blocks = new F1(r, 1 << i), t(r), ve);
|
|
10344
10344
|
}, e.inflate = function(r, i) {
|
|
10345
10345
|
let a, s;
|
|
10346
10346
|
if (!r || !r.istate || !r.next_in)
|
|
@@ -10359,20 +10359,20 @@ function U1() {
|
|
|
10359
10359
|
n.mode = pr, r.msg = "invalid win size", n.marker = 5;
|
|
10360
10360
|
break;
|
|
10361
10361
|
}
|
|
10362
|
-
n.mode =
|
|
10363
|
-
case
|
|
10362
|
+
n.mode = Ff;
|
|
10363
|
+
case Ff:
|
|
10364
10364
|
if (r.avail_in === 0)
|
|
10365
10365
|
return a;
|
|
10366
10366
|
if (a = i, r.avail_in--, r.total_in++, s = r.read_byte(r.next_in_index++) & 255, ((n.method << 8) + s) % 31 !== 0) {
|
|
10367
10367
|
n.mode = pr, r.msg = "incorrect header check", n.marker = 5;
|
|
10368
10368
|
break;
|
|
10369
10369
|
}
|
|
10370
|
-
if (!(s &
|
|
10370
|
+
if (!(s & L1)) {
|
|
10371
10371
|
n.mode = vn;
|
|
10372
10372
|
break;
|
|
10373
10373
|
}
|
|
10374
|
-
n.mode =
|
|
10375
|
-
case
|
|
10374
|
+
n.mode = Lf;
|
|
10375
|
+
case Lf:
|
|
10376
10376
|
if (r.avail_in === 0)
|
|
10377
10377
|
return a;
|
|
10378
10378
|
a = i, r.avail_in--, r.total_in++, n.need = (r.read_byte(r.next_in_index++) & 255) << 24 & 4278190080, n.mode = If;
|
|
@@ -10389,7 +10389,7 @@ function U1() {
|
|
|
10389
10389
|
case ba:
|
|
10390
10390
|
return n.mode = pr, r.msg = "need dictionary", n.marker = 0, ut;
|
|
10391
10391
|
case vn:
|
|
10392
|
-
if (a = n.blocks.proc(r, a), a ==
|
|
10392
|
+
if (a = n.blocks.proc(r, a), a == Le) {
|
|
10393
10393
|
n.mode = pr, n.marker = 0;
|
|
10394
10394
|
break;
|
|
10395
10395
|
}
|
|
@@ -10399,7 +10399,7 @@ function U1() {
|
|
|
10399
10399
|
case Uf:
|
|
10400
10400
|
return r.avail_in = 0, sr;
|
|
10401
10401
|
case pr:
|
|
10402
|
-
return
|
|
10402
|
+
return Le;
|
|
10403
10403
|
default:
|
|
10404
10404
|
return ut;
|
|
10405
10405
|
}
|
|
@@ -10418,7 +10418,7 @@ function U1() {
|
|
|
10418
10418
|
return ir;
|
|
10419
10419
|
for (a = r.next_in_index, s = l.marker; i !== 0 && s < 4; )
|
|
10420
10420
|
r.read_byte(a) == D1[s] ? s++ : r.read_byte(a) !== 0 ? s = 0 : s = 4 - s, a++, i--;
|
|
10421
|
-
return r.total_in += a - r.next_in_index, r.next_in_index = a, r.avail_in = i, l.marker = s, s != 4 ?
|
|
10421
|
+
return r.total_in += a - r.next_in_index, r.next_in_index = a, r.avail_in = i, l.marker = s, s != 4 ? Le : (n = r.total_in, o = r.total_out, t(r), r.total_in = n, r.total_out = o, l.mode = vn, ve);
|
|
10422
10422
|
}, e.inflateSyncPoint = function(r) {
|
|
10423
10423
|
return !r || !r.istate || !r.istate.blocks ? ut : r.istate.blocks.sync_point();
|
|
10424
10424
|
};
|
|
@@ -10482,7 +10482,7 @@ function N1(e) {
|
|
|
10482
10482
|
r.inflateEnd();
|
|
10483
10483
|
};
|
|
10484
10484
|
}
|
|
10485
|
-
const
|
|
10485
|
+
const Fr = 4294967295, mr = 65535, j1 = 8, B1 = 0, q1 = 99, M1 = 67324752, W1 = 134695760, Nf = 33639248, z1 = 101010256, jf = 101075792, H1 = 117853008, Kr = 22, _a = 20, va = 56, V1 = 1, G1 = 39169, Z1 = 10, Y1 = 1, K1 = 21589, X1 = 28789, J1 = 25461, Q1 = 6534, Bf = 1, ew = 6, qf = 8, Mf = 2048, Wf = 16, zf = 16384, Hf = 73, Vf = "/", lt = void 0, xr = "undefined", as = "function";
|
|
10486
10486
|
class Gf {
|
|
10487
10487
|
constructor(t) {
|
|
10488
10488
|
return class extends TransformStream {
|
|
@@ -12883,13 +12883,13 @@ function Eu(e, t, r, i, a) {
|
|
|
12883
12883
|
function Jt(e, t) {
|
|
12884
12884
|
return e.pipeThrough(t);
|
|
12885
12885
|
}
|
|
12886
|
-
const Aw = "message", Tw = "start", $w = "pull", ep = "data", Rw = "ack", tp = "close",
|
|
12887
|
-
class
|
|
12886
|
+
const Aw = "message", Tw = "start", $w = "pull", ep = "data", Rw = "ack", tp = "close", Fw = "deflate", Su = "inflate";
|
|
12887
|
+
class Lw extends TransformStream {
|
|
12888
12888
|
constructor(t, r) {
|
|
12889
12889
|
super({});
|
|
12890
12890
|
const i = this, { codecType: a } = t;
|
|
12891
12891
|
let s;
|
|
12892
|
-
a.startsWith(
|
|
12892
|
+
a.startsWith(Fw) ? s = Sw : a.startsWith(Su) && (s = Ow);
|
|
12893
12893
|
let n = 0, o = 0;
|
|
12894
12894
|
const l = new s(t, r), p = super.readable, c = new TransformStream({
|
|
12895
12895
|
transform(m, g) {
|
|
@@ -13009,7 +13009,7 @@ function Dw(e, t) {
|
|
|
13009
13009
|
}
|
|
13010
13010
|
async function Uw({ options: e, readable: t, writable: r, onTaskFinished: i }, a) {
|
|
13011
13011
|
try {
|
|
13012
|
-
const s = new
|
|
13012
|
+
const s = new Lw(e, a);
|
|
13013
13013
|
await t.pipeThrough(s).pipeTo(r, { preventClose: !0, preventAbort: !0 });
|
|
13014
13014
|
const {
|
|
13015
13015
|
signature: n,
|
|
@@ -13325,9 +13325,9 @@ function Qw(e) {
|
|
|
13325
13325
|
function Ns(e, t) {
|
|
13326
13326
|
return t && t.trim().toLowerCase() == "cp437" ? Qw(e) : new TextDecoder(t).decode(e);
|
|
13327
13327
|
}
|
|
13328
|
-
const
|
|
13329
|
-
Lu,
|
|
13328
|
+
const Fu = "filename", Lu = "rawFilename", Iu = "comment", Cu = "rawComment", Du = "uncompressedSize", Uu = "compressedSize", Nu = "offset", Qa = "diskNumberStart", eo = "lastModDate", to = "rawLastModDate", ju = "lastAccessDate", eb = "rawLastAccessDate", Bu = "creationDate", tb = "rawCreationDate", rb = "internalFileAttribute", nb = "internalFileAttributes", sb = "externalFileAttribute", ib = "externalFileAttributes", ab = "msDosCompatible", ob = "zip64", lb = "encrypted", fb = "version", pb = "versionMadeBy", cb = "zipCrypto", ub = "directory", db = "executable", hb = [
|
|
13330
13329
|
Fu,
|
|
13330
|
+
Lu,
|
|
13331
13331
|
Uu,
|
|
13332
13332
|
Du,
|
|
13333
13333
|
eo,
|
|
@@ -13371,16 +13371,16 @@ class op {
|
|
|
13371
13371
|
}
|
|
13372
13372
|
}
|
|
13373
13373
|
const Sa = "File format is not recognized", mb = "End of central directory not found", yb = "End of Zip64 central directory locator not found", gb = "Central directory header not found", wb = "Local file header not found", bb = "Zip64 extra field not found", _b = "File contains encrypted entry", vb = "Encryption method not supported", lp = "Compression method not supported", fp = "Split zip file", pp = "utf-8", cp = "cp437", xb = [
|
|
13374
|
-
[Du,
|
|
13375
|
-
[Uu,
|
|
13376
|
-
[Nu,
|
|
13374
|
+
[Du, Fr],
|
|
13375
|
+
[Uu, Fr],
|
|
13376
|
+
[Nu, Fr],
|
|
13377
13377
|
[Qa, mr]
|
|
13378
13378
|
], kb = {
|
|
13379
13379
|
[mr]: {
|
|
13380
13380
|
getValue: Be,
|
|
13381
13381
|
bytes: 4
|
|
13382
13382
|
},
|
|
13383
|
-
[
|
|
13383
|
+
[Fr]: {
|
|
13384
13384
|
getValue: js,
|
|
13385
13385
|
bytes: 8
|
|
13386
13386
|
}
|
|
@@ -13411,19 +13411,19 @@ class up {
|
|
|
13411
13411
|
let m = Ze(n, 4);
|
|
13412
13412
|
const g = i.lastDiskNumber || 0;
|
|
13413
13413
|
let T = Ze(n, 6), y = Ze(n, 8), w = 0, b = 0;
|
|
13414
|
-
if (l ==
|
|
13414
|
+
if (l == Fr || o == Fr || y == mr || T == mr) {
|
|
13415
13415
|
const P = await et(i, s.offset - _a, _a), S = Ye(P);
|
|
13416
13416
|
if (Be(S, 0) == H1) {
|
|
13417
13417
|
l = js(S, 8);
|
|
13418
|
-
let D = await et(i, l, va, -1),
|
|
13418
|
+
let D = await et(i, l, va, -1), L = Ye(D);
|
|
13419
13419
|
const j = s.offset - _a - va;
|
|
13420
|
-
if (Be(
|
|
13420
|
+
if (Be(L, 0) != jf && l != j) {
|
|
13421
13421
|
const q = l;
|
|
13422
|
-
l = j, w = l - q, D = await et(i, l, va, -1),
|
|
13422
|
+
l = j, w = l - q, D = await et(i, l, va, -1), L = Ye(D);
|
|
13423
13423
|
}
|
|
13424
|
-
if (Be(
|
|
13424
|
+
if (Be(L, 0) != jf)
|
|
13425
13425
|
throw new Error(yb);
|
|
13426
|
-
m == mr && (m = Be(
|
|
13426
|
+
m == mr && (m = Be(L, 16)), T == mr && (T = Be(L, 20)), y == mr && (y = js(L, 32)), o == Fr && (o = js(L, 40)), l -= o;
|
|
13427
13427
|
}
|
|
13428
13428
|
}
|
|
13429
13429
|
if (l >= i.size && (w = i.size - l - o - Kr, l = i.size - o - Kr), g != m)
|
|
@@ -13447,7 +13447,7 @@ class up {
|
|
|
13447
13447
|
if (Be(I, A) != Nf)
|
|
13448
13448
|
throw new Error(gb);
|
|
13449
13449
|
qu(S, I, A + 6);
|
|
13450
|
-
const D = !!S.bitFlag.languageEncodingFlag,
|
|
13450
|
+
const D = !!S.bitFlag.languageEncodingFlag, L = A + 46, j = L + S.filenameLength, q = j + S.extraFieldLength, W = Ze(I, A + 4), X = W >> 8 == 0, V = W >> 8 == 3, se = k.subarray(L, j), G = Ze(I, A + 32), Q = q + G, ee = k.subarray(q, Q), Z = D, fe = D, ie = Be(I, A + 38), ae = X && (ln(I, A + 38) & Wf) == Wf || V && (ie >> 16 & zf) == zf || se.length && se[se.length - 1] == Vf.charCodeAt(0), Se = V && (ie >> 16 & Hf) == Hf, Te = Be(I, A + 42) + w;
|
|
13451
13451
|
Object.assign(S, {
|
|
13452
13452
|
versionMadeBy: W,
|
|
13453
13453
|
msDosCompatible: X,
|
|
@@ -13485,8 +13485,8 @@ class up {
|
|
|
13485
13485
|
}
|
|
13486
13486
|
yield ft;
|
|
13487
13487
|
}
|
|
13488
|
-
const O = it(r, t, "extractPrependedData"),
|
|
13489
|
-
return O && (r.prependedData = b > 0 ? await et(i, 0, b) : new Uint8Array()), r.comment = c ? await et(i, p + Kr, c) : new Uint8Array(),
|
|
13488
|
+
const O = it(r, t, "extractPrependedData"), F = it(r, t, "extractAppendedData");
|
|
13489
|
+
return O && (r.prependedData = b > 0 ? await et(i, 0, b) : new Uint8Array()), r.comment = c ? await et(i, p + Kr, c) : new Uint8Array(), F && (r.appendedData = h < i.size ? await et(i, h, i.size - h) : new Uint8Array()), !0;
|
|
13490
13490
|
}
|
|
13491
13491
|
async getEntries(t = {}) {
|
|
13492
13492
|
const r = [];
|
|
@@ -13538,15 +13538,15 @@ class Pb {
|
|
|
13538
13538
|
if (!k && !I)
|
|
13539
13539
|
throw new Error(_b);
|
|
13540
13540
|
}
|
|
13541
|
-
const O = n + 30 + w.filenameLength + w.extraFieldLength,
|
|
13541
|
+
const O = n + 30 + w.filenameLength + w.extraFieldLength, F = y, P = s.readable;
|
|
13542
13542
|
Object.assign(P, {
|
|
13543
13543
|
diskNumberStart: o,
|
|
13544
13544
|
offset: O,
|
|
13545
|
-
size:
|
|
13545
|
+
size: F
|
|
13546
13546
|
});
|
|
13547
13547
|
const S = it(a, i, "signal"), D = it(a, i, "checkPasswordOnly");
|
|
13548
13548
|
D && (t = new WritableStream()), t = Xw(t), await ri(t, $ ? y : T);
|
|
13549
|
-
const { writable:
|
|
13549
|
+
const { writable: L } = t, { onstart: j, onprogress: q, onend: W } = i, X = {
|
|
13550
13550
|
options: {
|
|
13551
13551
|
codecType: Su,
|
|
13552
13552
|
password: k,
|
|
@@ -13564,19 +13564,19 @@ class Pb {
|
|
|
13564
13564
|
checkPasswordOnly: D
|
|
13565
13565
|
},
|
|
13566
13566
|
config: c,
|
|
13567
|
-
streamOptions: { signal: S, size:
|
|
13567
|
+
streamOptions: { signal: S, size: F, onstart: j, onprogress: q, onend: W }
|
|
13568
13568
|
};
|
|
13569
13569
|
let V = 0;
|
|
13570
13570
|
try {
|
|
13571
|
-
({ outputSize: V } = await Mw({ readable: P, writable:
|
|
13571
|
+
({ outputSize: V } = await Mw({ readable: P, writable: L }, X));
|
|
13572
13572
|
} catch (se) {
|
|
13573
13573
|
if (!D || se.message != Ao)
|
|
13574
13574
|
throw se;
|
|
13575
13575
|
} finally {
|
|
13576
13576
|
const se = it(a, i, "preventClose");
|
|
13577
|
-
|
|
13577
|
+
L.size += V, !se && !L.locked && await L.getWriter().close();
|
|
13578
13578
|
}
|
|
13579
|
-
return D ? lt : t.getData ? t.getData() :
|
|
13579
|
+
return D ? lt : t.getData ? t.getData() : L;
|
|
13580
13580
|
}
|
|
13581
13581
|
}
|
|
13582
13582
|
function qu(e, t, r) {
|
|
@@ -13617,7 +13617,7 @@ function Mu(e, t, r, i, a) {
|
|
|
13617
13617
|
const c = n.get(V1);
|
|
13618
13618
|
c && (Eb(c, t), t.extraFieldZip64 = c);
|
|
13619
13619
|
const h = n.get(X1);
|
|
13620
|
-
h && (dp(h,
|
|
13620
|
+
h && (dp(h, Fu, Lu, t, e), t.extraFieldUnicodePath = h);
|
|
13621
13621
|
const m = n.get(J1);
|
|
13622
13622
|
m && (dp(m, Iu, Cu, t, e), t.extraFieldUnicodeComment = m);
|
|
13623
13623
|
const g = n.get(G1);
|
|
@@ -13755,7 +13755,7 @@ try {
|
|
|
13755
13755
|
Oo({ baseURL: Wu });
|
|
13756
13756
|
zw(Oo);
|
|
13757
13757
|
Oo({ Deflate: g1, Inflate: N1 });
|
|
13758
|
-
class
|
|
13758
|
+
class Fb {
|
|
13759
13759
|
constructor(t) {
|
|
13760
13760
|
this.fileTree = t;
|
|
13761
13761
|
}
|
|
@@ -13824,7 +13824,7 @@ class ni {
|
|
|
13824
13824
|
return this.entries;
|
|
13825
13825
|
}
|
|
13826
13826
|
}
|
|
13827
|
-
class
|
|
13827
|
+
class Lb {
|
|
13828
13828
|
/**
|
|
13829
13829
|
* Creates a new OverlayFilesystem.
|
|
13830
13830
|
*
|
|
@@ -14202,7 +14202,7 @@ class Vb extends Pt {
|
|
|
14202
14202
|
return this.resource.name;
|
|
14203
14203
|
}
|
|
14204
14204
|
}
|
|
14205
|
-
class
|
|
14205
|
+
class Fo extends Pt {
|
|
14206
14206
|
/**
|
|
14207
14207
|
* Creates a new instance of `FetchResource`.
|
|
14208
14208
|
* @param progress The progress tracker.
|
|
@@ -14289,7 +14289,7 @@ function Gb(e) {
|
|
|
14289
14289
|
}
|
|
14290
14290
|
const Zb = () => {
|
|
14291
14291
|
};
|
|
14292
|
-
class Yb extends
|
|
14292
|
+
class Yb extends Fo {
|
|
14293
14293
|
/**
|
|
14294
14294
|
* Creates a new instance of `UrlResource`.
|
|
14295
14295
|
* @param resource The URL reference.
|
|
@@ -14405,7 +14405,7 @@ class Jb extends Pt {
|
|
|
14405
14405
|
return this.reference.name;
|
|
14406
14406
|
}
|
|
14407
14407
|
}
|
|
14408
|
-
class Qb extends
|
|
14408
|
+
class Qb extends Fo {
|
|
14409
14409
|
constructor(t, r) {
|
|
14410
14410
|
super(r), this.resource = t;
|
|
14411
14411
|
}
|
|
@@ -14416,7 +14416,7 @@ class Qb extends Lo {
|
|
|
14416
14416
|
return `https://downloads.wordpress.org/theme/${Hu(this.resource.slug)}`;
|
|
14417
14417
|
}
|
|
14418
14418
|
}
|
|
14419
|
-
class e_ extends
|
|
14419
|
+
class e_ extends Fo {
|
|
14420
14420
|
constructor(t, r) {
|
|
14421
14421
|
super(r), this.resource = t;
|
|
14422
14422
|
}
|
|
@@ -15361,7 +15361,7 @@ async function d_(e, t) {
|
|
|
15361
15361
|
)
|
|
15362
15362
|
), await Yu(e, r, i, "skip");
|
|
15363
15363
|
}
|
|
15364
|
-
const
|
|
15364
|
+
const Lo = async (e, { consts: t, method: r = "define-before-run" }) => {
|
|
15365
15365
|
switch (r) {
|
|
15366
15366
|
case "define-before-run":
|
|
15367
15367
|
await h_(e, t);
|
|
@@ -15388,8 +15388,8 @@ const Ku = async (e, { options: t }) => {
|
|
|
15388
15388
|
const r = await e.documentRoot;
|
|
15389
15389
|
await e.run({
|
|
15390
15390
|
code: `<?php
|
|
15391
|
-
include ${
|
|
15392
|
-
$site_options = ${
|
|
15391
|
+
include ${mt(r)} . '/wp-load.php';
|
|
15392
|
+
$site_options = ${mt(t)};
|
|
15393
15393
|
foreach($site_options as $name => $value) {
|
|
15394
15394
|
update_option($name, $value);
|
|
15395
15395
|
}
|
|
@@ -15400,10 +15400,10 @@ const Ku = async (e, { options: t }) => {
|
|
|
15400
15400
|
const i = await e.documentRoot;
|
|
15401
15401
|
await e.run({
|
|
15402
15402
|
code: `<?php
|
|
15403
|
-
include ${
|
|
15404
|
-
$meta = ${
|
|
15403
|
+
include ${mt(i)} . '/wp-load.php';
|
|
15404
|
+
$meta = ${mt(t)};
|
|
15405
15405
|
foreach($meta as $name => $value) {
|
|
15406
|
-
update_user_meta(${
|
|
15406
|
+
update_user_meta(${mt(r)}, $name, $value);
|
|
15407
15407
|
}
|
|
15408
15408
|
`
|
|
15409
15409
|
});
|
|
@@ -15480,7 +15480,7 @@ This will ensure your code works reliably regardless of the current working dire
|
|
|
15480
15480
|
$GLOBALS['argv'] = array_merge([
|
|
15481
15481
|
"/tmp/wp-cli.phar",
|
|
15482
15482
|
"--path=${o}"
|
|
15483
|
-
], ${
|
|
15483
|
+
], ${mt(n)});
|
|
15484
15484
|
|
|
15485
15485
|
// Provide stdin, stdout, stderr streams outside of
|
|
15486
15486
|
// the CLI SAPI.
|
|
@@ -15488,7 +15488,7 @@ This will ensure your code works reliably regardless of the current working dire
|
|
|
15488
15488
|
define('STDOUT', fopen('php://stdout', 'wb'));
|
|
15489
15489
|
define('STDERR', fopen('php://stderr', 'wb'));
|
|
15490
15490
|
|
|
15491
|
-
require( ${
|
|
15491
|
+
require( ${mt(r)} );
|
|
15492
15492
|
`
|
|
15493
15493
|
);
|
|
15494
15494
|
const l = await e.run({
|
|
@@ -15509,15 +15509,15 @@ function g_(e) {
|
|
|
15509
15509
|
return n && s.push(n), s;
|
|
15510
15510
|
}
|
|
15511
15511
|
const w_ = async (e, { wpCliPath: t }) => {
|
|
15512
|
-
await Xu(e, t), await
|
|
15512
|
+
await Xu(e, t), await Lo(e, {
|
|
15513
15513
|
consts: {
|
|
15514
15514
|
WP_ALLOW_MULTISITE: 1
|
|
15515
15515
|
}
|
|
15516
15516
|
});
|
|
15517
15517
|
const r = new URL(await e.absoluteUrl);
|
|
15518
15518
|
if (r.port !== "") {
|
|
15519
|
-
let
|
|
15520
|
-
throw r.hostname === "localhost" && (
|
|
15519
|
+
let p = `The current host is ${r.host}, but WordPress multisites do not support custom ports.`;
|
|
15520
|
+
throw r.hostname === "localhost" && (p += " For development, you can set up a playground.test domain using the instructions at https://wordpress.github.io/wordpress-playground/contributing/code."), new Error(p);
|
|
15521
15521
|
}
|
|
15522
15522
|
const i = r.pathname.replace(/\/$/, "") + "/", a = `${r.protocol}//${r.hostname}${i}`;
|
|
15523
15523
|
await Ku(e, {
|
|
@@ -15528,6 +15528,14 @@ const w_ = async (e, { wpCliPath: t }) => {
|
|
|
15528
15528
|
}), await Ju(e, {
|
|
15529
15529
|
command: `wp core multisite-convert --base="${i}"`
|
|
15530
15530
|
});
|
|
15531
|
+
const n = `${await e.documentRoot}/wp-config.php`, o = await e.readFileAsText(n);
|
|
15532
|
+
let l = o;
|
|
15533
|
+
o.includes("$_SERVER['HTTP_HOST']") || (l = o.replace(
|
|
15534
|
+
/^<\?php\s*/i,
|
|
15535
|
+
`<?php
|
|
15536
|
+
$_SERVER['HTTP_HOST'] = ${mt(r.hostname)};
|
|
15537
|
+
`
|
|
15538
|
+
)), await e.writeFile(n, l);
|
|
15531
15539
|
}, b_ = async (e, { fromPath: t, toPath: r }) => {
|
|
15532
15540
|
(!t.startsWith("/") || !r.startsWith("/")) && Ae.error(
|
|
15533
15541
|
`
|
|
@@ -15640,7 +15648,7 @@ This will ensure your code works reliably regardless of the current working dire
|
|
|
15640
15648
|
`.trim()
|
|
15641
15649
|
), t = `/${t}`), await oi(e, t, r.files);
|
|
15642
15650
|
}, Qu = async (e, { siteUrl: t }) => {
|
|
15643
|
-
await
|
|
15651
|
+
await Lo(e, {
|
|
15644
15652
|
consts: {
|
|
15645
15653
|
WP_HOME: t,
|
|
15646
15654
|
WP_SITEURL: t
|
|
@@ -15748,7 +15756,7 @@ const ed = async (e, { themeSlug: t = "" }, r) => {
|
|
|
15748
15756
|
* See _wp_customize_include()
|
|
15749
15757
|
*/
|
|
15750
15758
|
$_REQUEST['wp_customize'] = 'on';
|
|
15751
|
-
$_REQUEST['customize_theme'] = ${
|
|
15759
|
+
$_REQUEST['customize_theme'] = ${mt(t)} ?: get_stylesheet();
|
|
15752
15760
|
|
|
15753
15761
|
/*
|
|
15754
15762
|
* Claim this is a ajax request saving settings, to avoid the preview filters being applied.
|
|
@@ -15760,7 +15768,7 @@ const ed = async (e, { themeSlug: t = "" }, r) => {
|
|
|
15760
15768
|
}
|
|
15761
15769
|
playground_add_filter( 'plugins_loaded', 'importThemeStarterContent_plugins_loaded', 0 );
|
|
15762
15770
|
|
|
15763
|
-
require ${
|
|
15771
|
+
require ${mt(i)} . '/wp-load.php';
|
|
15764
15772
|
|
|
15765
15773
|
// Return early if there's no starter content.
|
|
15766
15774
|
if ( ! get_theme_starter_content() ) {
|
|
@@ -15826,7 +15834,7 @@ const ed = async (e, { themeSlug: t = "" }, r) => {
|
|
|
15826
15834
|
);
|
|
15827
15835
|
await mp(e, T);
|
|
15828
15836
|
const y = Oe(l, g);
|
|
15829
|
-
await e.fileExists(y) && (await e.mkdir(
|
|
15837
|
+
await e.fileExists(y) && (await e.mkdir(La(T)), await e.mv(y, T));
|
|
15830
15838
|
}
|
|
15831
15839
|
const p = Oe(
|
|
15832
15840
|
a,
|
|
@@ -15848,7 +15856,7 @@ const ed = async (e, { themeSlug: t = "" }, r) => {
|
|
|
15848
15856
|
n || (n = await A_(e, i)), await Qu(e, {
|
|
15849
15857
|
siteUrl: h
|
|
15850
15858
|
});
|
|
15851
|
-
const m =
|
|
15859
|
+
const m = mt(
|
|
15852
15860
|
Oe(i, "wp-admin", "upgrade.php")
|
|
15853
15861
|
);
|
|
15854
15862
|
await e.run({
|
|
@@ -16099,9 +16107,9 @@ const $_ = async (e, { pluginData: t, pluginZipFile: r, ifAlreadyInstalled: i, o
|
|
|
16099
16107
|
},
|
|
16100
16108
|
s
|
|
16101
16109
|
);
|
|
16102
|
-
},
|
|
16110
|
+
}, F_ = async (e, { username: t = "admin" } = {}, r) => {
|
|
16103
16111
|
r == null || r.tracker.setCaption((r == null ? void 0 : r.initialCaption) || "Logging in"), e.defineConstant("PLAYGROUND_AUTO_LOGIN_AS_USER", t);
|
|
16104
|
-
},
|
|
16112
|
+
}, L_ = async (e, t, r) => {
|
|
16105
16113
|
var a;
|
|
16106
16114
|
(a = r == null ? void 0 : r.tracker) == null || a.setCaption("Resetting WordPress data");
|
|
16107
16115
|
const i = await e.documentRoot;
|
|
@@ -16351,7 +16359,7 @@ const N_ = async (e, t) => {
|
|
|
16351
16359
|
activateTheme: Gu,
|
|
16352
16360
|
cp: b_,
|
|
16353
16361
|
defineSiteUrl: Qu,
|
|
16354
|
-
defineWpConfigConsts:
|
|
16362
|
+
defineWpConfigConsts: Lo,
|
|
16355
16363
|
enableMultisite: w_,
|
|
16356
16364
|
exportWXR: T_,
|
|
16357
16365
|
importThemeStarterContent: ed,
|
|
@@ -16359,11 +16367,11 @@ const N_ = async (e, t) => {
|
|
|
16359
16367
|
importWxr: P_,
|
|
16360
16368
|
installPlugin: $_,
|
|
16361
16369
|
installTheme: R_,
|
|
16362
|
-
login:
|
|
16370
|
+
login: F_,
|
|
16363
16371
|
mkdir: v_,
|
|
16364
16372
|
mv: __,
|
|
16365
16373
|
request: p_,
|
|
16366
|
-
resetData:
|
|
16374
|
+
resetData: L_,
|
|
16367
16375
|
rm: ro,
|
|
16368
16376
|
rmdir: x_,
|
|
16369
16377
|
runPHP: a_,
|
|
@@ -16777,8 +16785,8 @@ const H_ = {
|
|
|
16777
16785
|
{ type: ["object", "string"] }
|
|
16778
16786
|
]
|
|
16779
16787
|
}
|
|
16780
|
-
}, $a = { validate:
|
|
16781
|
-
function
|
|
16788
|
+
}, $a = { validate: Lr };
|
|
16789
|
+
function Lr(e, { instancePath: t = "", parentData: r, parentDataProperty: i, rootData: a = e } = {}) {
|
|
16782
16790
|
let s = null, n = 0;
|
|
16783
16791
|
if (n === 0)
|
|
16784
16792
|
if (e && typeof e == "object" && !Array.isArray(e))
|
|
@@ -16821,14 +16829,14 @@ function Fr(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
16821
16829
|
params: {},
|
|
16822
16830
|
message: "must match a schema in anyOf"
|
|
16823
16831
|
};
|
|
16824
|
-
return s === null ? s = [y] : s.push(y), n++,
|
|
16832
|
+
return s === null ? s = [y] : s.push(y), n++, Lr.errors = s, !1;
|
|
16825
16833
|
}
|
|
16826
16834
|
var l = h === n;
|
|
16827
16835
|
if (!l)
|
|
16828
16836
|
break;
|
|
16829
16837
|
}
|
|
16830
16838
|
else
|
|
16831
|
-
return
|
|
16839
|
+
return Lr.errors = [
|
|
16832
16840
|
{
|
|
16833
16841
|
instancePath: t,
|
|
16834
16842
|
schemaPath: "#/type",
|
|
@@ -16837,7 +16845,7 @@ function Fr(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
16837
16845
|
message: "must be object"
|
|
16838
16846
|
}
|
|
16839
16847
|
], !1;
|
|
16840
|
-
return
|
|
16848
|
+
return Lr.errors = s, n === 0;
|
|
16841
16849
|
}
|
|
16842
16850
|
function Ht(e, { instancePath: t = "", parentData: r, parentDataProperty: i, rootData: a = e } = {}) {
|
|
16843
16851
|
let s = null, n = 0;
|
|
@@ -16899,12 +16907,12 @@ function Ht(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
16899
16907
|
if (o) {
|
|
16900
16908
|
if (e.files !== void 0) {
|
|
16901
16909
|
const c = n;
|
|
16902
|
-
|
|
16910
|
+
Lr(e.files, {
|
|
16903
16911
|
instancePath: t + "/files",
|
|
16904
16912
|
parentData: e,
|
|
16905
16913
|
parentDataProperty: "files",
|
|
16906
16914
|
rootData: a
|
|
16907
|
-
}) || (s = s === null ?
|
|
16915
|
+
}) || (s = s === null ? Lr.errors : s.concat(Lr.errors), n = s.length);
|
|
16908
16916
|
var o = c === n;
|
|
16909
16917
|
} else
|
|
16910
16918
|
var o = !0;
|
|
@@ -17139,24 +17147,24 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17139
17147
|
let E = e.resource;
|
|
17140
17148
|
const O = n;
|
|
17141
17149
|
if (typeof E != "string") {
|
|
17142
|
-
const
|
|
17150
|
+
const F = {
|
|
17143
17151
|
instancePath: t + "/resource",
|
|
17144
17152
|
schemaPath: "#/definitions/VFSReference/properties/resource/type",
|
|
17145
17153
|
keyword: "type",
|
|
17146
17154
|
params: { type: "string" },
|
|
17147
17155
|
message: "must be string"
|
|
17148
17156
|
};
|
|
17149
|
-
s === null ? s = [
|
|
17157
|
+
s === null ? s = [F] : s.push(F), n++;
|
|
17150
17158
|
}
|
|
17151
17159
|
if (E !== "vfs") {
|
|
17152
|
-
const
|
|
17160
|
+
const F = {
|
|
17153
17161
|
instancePath: t + "/resource",
|
|
17154
17162
|
schemaPath: "#/definitions/VFSReference/properties/resource/const",
|
|
17155
17163
|
keyword: "const",
|
|
17156
17164
|
params: { allowedValue: "vfs" },
|
|
17157
17165
|
message: "must be equal to constant"
|
|
17158
17166
|
};
|
|
17159
|
-
s === null ? s = [
|
|
17167
|
+
s === null ? s = [F] : s.push(F), n++;
|
|
17160
17168
|
}
|
|
17161
17169
|
var h = O === n;
|
|
17162
17170
|
} else
|
|
@@ -17165,14 +17173,14 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17165
17173
|
if (e.path !== void 0) {
|
|
17166
17174
|
const E = n;
|
|
17167
17175
|
if (typeof e.path != "string") {
|
|
17168
|
-
const
|
|
17176
|
+
const F = {
|
|
17169
17177
|
instancePath: t + "/path",
|
|
17170
17178
|
schemaPath: "#/definitions/VFSReference/properties/path/type",
|
|
17171
17179
|
keyword: "type",
|
|
17172
17180
|
params: { type: "string" },
|
|
17173
17181
|
message: "must be string"
|
|
17174
17182
|
};
|
|
17175
|
-
s === null ? s = [
|
|
17183
|
+
s === null ? s = [F] : s.push(F), n++;
|
|
17176
17184
|
}
|
|
17177
17185
|
var h = E === n;
|
|
17178
17186
|
} else
|
|
@@ -17196,16 +17204,16 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17196
17204
|
if (e && typeof e == "object" && !Array.isArray(e)) {
|
|
17197
17205
|
let O;
|
|
17198
17206
|
if (e.resource === void 0 && (O = "resource") || e.name === void 0 && (O = "name") || e.contents === void 0 && (O = "contents")) {
|
|
17199
|
-
const
|
|
17207
|
+
const F = {
|
|
17200
17208
|
instancePath: t,
|
|
17201
17209
|
schemaPath: "#/definitions/LiteralReference/required",
|
|
17202
17210
|
keyword: "required",
|
|
17203
17211
|
params: { missingProperty: O },
|
|
17204
17212
|
message: "must have required property '" + O + "'"
|
|
17205
17213
|
};
|
|
17206
|
-
s === null ? s = [
|
|
17214
|
+
s === null ? s = [F] : s.push(F), n++;
|
|
17207
17215
|
} else {
|
|
17208
|
-
const
|
|
17216
|
+
const F = n;
|
|
17209
17217
|
for (const P in e)
|
|
17210
17218
|
if (!(P === "resource" || P === "name" || P === "contents")) {
|
|
17211
17219
|
const S = {
|
|
@@ -17218,7 +17226,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17218
17226
|
s === null ? s = [S] : s.push(S), n++;
|
|
17219
17227
|
break;
|
|
17220
17228
|
}
|
|
17221
|
-
if (
|
|
17229
|
+
if (F === n) {
|
|
17222
17230
|
if (e.resource !== void 0) {
|
|
17223
17231
|
let P = e.resource;
|
|
17224
17232
|
const S = n;
|
|
@@ -17265,7 +17273,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17265
17273
|
if (e.contents !== void 0) {
|
|
17266
17274
|
let P = e.contents;
|
|
17267
17275
|
const S = n, D = n;
|
|
17268
|
-
let
|
|
17276
|
+
let L = !1;
|
|
17269
17277
|
const j = n;
|
|
17270
17278
|
if (typeof P != "string") {
|
|
17271
17279
|
const W = {
|
|
@@ -17278,7 +17286,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17278
17286
|
s === null ? s = [W] : s.push(W), n++;
|
|
17279
17287
|
}
|
|
17280
17288
|
var T = j === n;
|
|
17281
|
-
if (
|
|
17289
|
+
if (L = L || T, !L) {
|
|
17282
17290
|
const W = n;
|
|
17283
17291
|
if (n === W)
|
|
17284
17292
|
if (P && typeof P == "object" && !Array.isArray(P)) {
|
|
@@ -17529,9 +17537,9 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17529
17537
|
s === null ? s = [V] : s.push(V), n++;
|
|
17530
17538
|
}
|
|
17531
17539
|
var T = W === n;
|
|
17532
|
-
|
|
17540
|
+
L = L || T;
|
|
17533
17541
|
}
|
|
17534
|
-
if (
|
|
17542
|
+
if (L)
|
|
17535
17543
|
n = D, s !== null && (D ? s.length = D : s = null);
|
|
17536
17544
|
else {
|
|
17537
17545
|
const W = {
|
|
@@ -17576,13 +17584,13 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17576
17584
|
s === null ? s = [D] : s.push(D), n++;
|
|
17577
17585
|
} else {
|
|
17578
17586
|
const D = n;
|
|
17579
|
-
for (const
|
|
17580
|
-
if (!(
|
|
17587
|
+
for (const L in e)
|
|
17588
|
+
if (!(L === "resource" || L === "slug")) {
|
|
17581
17589
|
const j = {
|
|
17582
17590
|
instancePath: t,
|
|
17583
17591
|
schemaPath: "#/definitions/CoreThemeReference/additionalProperties",
|
|
17584
17592
|
keyword: "additionalProperties",
|
|
17585
|
-
params: { additionalProperty:
|
|
17593
|
+
params: { additionalProperty: L },
|
|
17586
17594
|
message: "must NOT have additional properties"
|
|
17587
17595
|
};
|
|
17588
17596
|
s === null ? s = [j] : s.push(j), n++;
|
|
@@ -17590,9 +17598,9 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17590
17598
|
}
|
|
17591
17599
|
if (D === n) {
|
|
17592
17600
|
if (e.resource !== void 0) {
|
|
17593
|
-
let
|
|
17601
|
+
let L = e.resource;
|
|
17594
17602
|
const j = n;
|
|
17595
|
-
if (typeof
|
|
17603
|
+
if (typeof L != "string") {
|
|
17596
17604
|
const q = {
|
|
17597
17605
|
instancePath: t + "/resource",
|
|
17598
17606
|
schemaPath: "#/definitions/CoreThemeReference/properties/resource/type",
|
|
@@ -17602,7 +17610,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17602
17610
|
};
|
|
17603
17611
|
s === null ? s = [q] : s.push(q), n++;
|
|
17604
17612
|
}
|
|
17605
|
-
if (
|
|
17613
|
+
if (L !== "wordpress.org/themes") {
|
|
17606
17614
|
const q = {
|
|
17607
17615
|
instancePath: t + "/resource",
|
|
17608
17616
|
schemaPath: "#/definitions/CoreThemeReference/properties/resource/const",
|
|
@@ -17619,7 +17627,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17619
17627
|
var b = !0;
|
|
17620
17628
|
if (b)
|
|
17621
17629
|
if (e.slug !== void 0) {
|
|
17622
|
-
const
|
|
17630
|
+
const L = n;
|
|
17623
17631
|
if (typeof e.slug != "string") {
|
|
17624
17632
|
const q = {
|
|
17625
17633
|
instancePath: t + "/slug",
|
|
@@ -17630,7 +17638,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17630
17638
|
};
|
|
17631
17639
|
s === null ? s = [q] : s.push(q), n++;
|
|
17632
17640
|
}
|
|
17633
|
-
var b =
|
|
17641
|
+
var b = L === n;
|
|
17634
17642
|
} else
|
|
17635
17643
|
var b = !0;
|
|
17636
17644
|
}
|
|
@@ -18681,13 +18689,13 @@ Only the username field is required for user authentication.`
|
|
|
18681
18689
|
}, sd = {
|
|
18682
18690
|
enum: ["GET", "POST", "HEAD", "OPTIONS", "PATCH", "PUT", "DELETE"]
|
|
18683
18691
|
};
|
|
18684
|
-
function
|
|
18692
|
+
function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, rootData: a = e } = {}) {
|
|
18685
18693
|
let s = null, n = 0;
|
|
18686
18694
|
if (n === 0)
|
|
18687
18695
|
if (e && typeof e == "object" && !Array.isArray(e)) {
|
|
18688
18696
|
let b;
|
|
18689
18697
|
if (e.url === void 0 && (b = "url"))
|
|
18690
|
-
return
|
|
18698
|
+
return vt.errors = [
|
|
18691
18699
|
{
|
|
18692
18700
|
instancePath: t,
|
|
18693
18701
|
schemaPath: "#/required",
|
|
@@ -18700,7 +18708,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18700
18708
|
const A = n;
|
|
18701
18709
|
for (const k in e)
|
|
18702
18710
|
if (!(k === "method" || k === "url" || k === "headers" || k === "body"))
|
|
18703
|
-
return
|
|
18711
|
+
return vt.errors = [
|
|
18704
18712
|
{
|
|
18705
18713
|
instancePath: t,
|
|
18706
18714
|
schemaPath: "#/additionalProperties",
|
|
@@ -18714,7 +18722,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18714
18722
|
let k = e.method;
|
|
18715
18723
|
const I = n;
|
|
18716
18724
|
if (typeof k != "string")
|
|
18717
|
-
return
|
|
18725
|
+
return vt.errors = [
|
|
18718
18726
|
{
|
|
18719
18727
|
instancePath: t + "/method",
|
|
18720
18728
|
schemaPath: "#/definitions/HTTPMethod/type",
|
|
@@ -18724,7 +18732,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18724
18732
|
}
|
|
18725
18733
|
], !1;
|
|
18726
18734
|
if (!(k === "GET" || k === "POST" || k === "HEAD" || k === "OPTIONS" || k === "PATCH" || k === "PUT" || k === "DELETE"))
|
|
18727
|
-
return
|
|
18735
|
+
return vt.errors = [
|
|
18728
18736
|
{
|
|
18729
18737
|
instancePath: t + "/method",
|
|
18730
18738
|
schemaPath: "#/definitions/HTTPMethod/enum",
|
|
@@ -18740,7 +18748,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18740
18748
|
if (e.url !== void 0) {
|
|
18741
18749
|
const k = n;
|
|
18742
18750
|
if (typeof e.url != "string")
|
|
18743
|
-
return
|
|
18751
|
+
return vt.errors = [
|
|
18744
18752
|
{
|
|
18745
18753
|
instancePath: t + "/url",
|
|
18746
18754
|
schemaPath: "#/properties/url/type",
|
|
@@ -18761,7 +18769,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18761
18769
|
for (const E in k) {
|
|
18762
18770
|
const O = n;
|
|
18763
18771
|
if (typeof k[E] != "string")
|
|
18764
|
-
return
|
|
18772
|
+
return vt.errors = [
|
|
18765
18773
|
{
|
|
18766
18774
|
instancePath: t + "/headers/" + E.replace(
|
|
18767
18775
|
/~/g,
|
|
@@ -18783,7 +18791,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18783
18791
|
break;
|
|
18784
18792
|
}
|
|
18785
18793
|
else
|
|
18786
|
-
return
|
|
18794
|
+
return vt.errors = [
|
|
18787
18795
|
{
|
|
18788
18796
|
instancePath: t + "/headers",
|
|
18789
18797
|
schemaPath: "#/definitions/PHPRequestHeaders/type",
|
|
@@ -18802,19 +18810,19 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18802
18810
|
let C = !1;
|
|
18803
18811
|
const E = n;
|
|
18804
18812
|
if (typeof k != "string") {
|
|
18805
|
-
const
|
|
18813
|
+
const F = {
|
|
18806
18814
|
instancePath: t + "/body",
|
|
18807
18815
|
schemaPath: "#/properties/body/anyOf/0/type",
|
|
18808
18816
|
keyword: "type",
|
|
18809
18817
|
params: { type: "string" },
|
|
18810
18818
|
message: "must be string"
|
|
18811
18819
|
};
|
|
18812
|
-
s === null ? s = [
|
|
18820
|
+
s === null ? s = [F] : s.push(F), n++;
|
|
18813
18821
|
}
|
|
18814
18822
|
var p = E === n;
|
|
18815
18823
|
if (C = C || p, !C) {
|
|
18816
|
-
const
|
|
18817
|
-
if (n ===
|
|
18824
|
+
const F = n;
|
|
18825
|
+
if (n === F)
|
|
18818
18826
|
if (k && typeof k == "object" && !Array.isArray(k)) {
|
|
18819
18827
|
let S;
|
|
18820
18828
|
if (k.BYTES_PER_ELEMENT === void 0 && (S = "BYTES_PER_ELEMENT") || k.buffer === void 0 && (S = "buffer") || k.byteLength === void 0 && (S = "byteLength") || k.byteOffset === void 0 && (S = "byteOffset") || k.length === void 0 && (S = "length")) {
|
|
@@ -18830,15 +18838,15 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18830
18838
|
s === null ? s = [D] : s.push(D), n++;
|
|
18831
18839
|
} else {
|
|
18832
18840
|
const D = n;
|
|
18833
|
-
for (const
|
|
18834
|
-
if (!(
|
|
18835
|
-
let j = k[
|
|
18841
|
+
for (const L in k)
|
|
18842
|
+
if (!(L === "BYTES_PER_ELEMENT" || L === "buffer" || L === "byteLength" || L === "byteOffset" || L === "length")) {
|
|
18843
|
+
let j = k[L];
|
|
18836
18844
|
const q = n;
|
|
18837
18845
|
if (!(typeof j == "number" && isFinite(
|
|
18838
18846
|
j
|
|
18839
18847
|
))) {
|
|
18840
18848
|
const W = {
|
|
18841
|
-
instancePath: t + "/body/" +
|
|
18849
|
+
instancePath: t + "/body/" + L.replace(
|
|
18842
18850
|
/~/g,
|
|
18843
18851
|
"~0"
|
|
18844
18852
|
).replace(
|
|
@@ -18864,10 +18872,10 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18864
18872
|
}
|
|
18865
18873
|
if (D === n) {
|
|
18866
18874
|
if (k.BYTES_PER_ELEMENT !== void 0) {
|
|
18867
|
-
let
|
|
18875
|
+
let L = k.BYTES_PER_ELEMENT;
|
|
18868
18876
|
const j = n;
|
|
18869
|
-
if (!(typeof
|
|
18870
|
-
|
|
18877
|
+
if (!(typeof L == "number" && isFinite(
|
|
18878
|
+
L
|
|
18871
18879
|
))) {
|
|
18872
18880
|
const q = {
|
|
18873
18881
|
instancePath: t + "/body/BYTES_PER_ELEMENT",
|
|
@@ -18889,14 +18897,14 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18889
18897
|
var h = !0;
|
|
18890
18898
|
if (h) {
|
|
18891
18899
|
if (k.buffer !== void 0) {
|
|
18892
|
-
let
|
|
18900
|
+
let L = k.buffer;
|
|
18893
18901
|
const j = n;
|
|
18894
18902
|
if (n === j)
|
|
18895
|
-
if (
|
|
18896
|
-
|
|
18903
|
+
if (L && typeof L == "object" && !Array.isArray(
|
|
18904
|
+
L
|
|
18897
18905
|
)) {
|
|
18898
18906
|
let W;
|
|
18899
|
-
if (
|
|
18907
|
+
if (L.byteLength === void 0 && (W = "byteLength")) {
|
|
18900
18908
|
const X = {
|
|
18901
18909
|
instancePath: t + "/body/buffer",
|
|
18902
18910
|
schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
|
|
@@ -18913,7 +18921,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18913
18921
|
), n++;
|
|
18914
18922
|
} else {
|
|
18915
18923
|
const X = n;
|
|
18916
|
-
for (const V in
|
|
18924
|
+
for (const V in L)
|
|
18917
18925
|
if (V !== "byteLength") {
|
|
18918
18926
|
const se = {
|
|
18919
18927
|
instancePath: t + "/body/buffer",
|
|
@@ -18931,8 +18939,8 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18931
18939
|
), n++;
|
|
18932
18940
|
break;
|
|
18933
18941
|
}
|
|
18934
|
-
if (X === n &&
|
|
18935
|
-
let V =
|
|
18942
|
+
if (X === n && L.byteLength !== void 0) {
|
|
18943
|
+
let V = L.byteLength;
|
|
18936
18944
|
if (!(typeof V == "number" && isFinite(
|
|
18937
18945
|
V
|
|
18938
18946
|
))) {
|
|
@@ -18974,10 +18982,10 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18974
18982
|
var h = !0;
|
|
18975
18983
|
if (h) {
|
|
18976
18984
|
if (k.byteLength !== void 0) {
|
|
18977
|
-
let
|
|
18985
|
+
let L = k.byteLength;
|
|
18978
18986
|
const j = n;
|
|
18979
|
-
if (!(typeof
|
|
18980
|
-
|
|
18987
|
+
if (!(typeof L == "number" && isFinite(
|
|
18988
|
+
L
|
|
18981
18989
|
))) {
|
|
18982
18990
|
const W = {
|
|
18983
18991
|
instancePath: t + "/body/byteLength",
|
|
@@ -18999,10 +19007,10 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18999
19007
|
var h = !0;
|
|
19000
19008
|
if (h) {
|
|
19001
19009
|
if (k.byteOffset !== void 0) {
|
|
19002
|
-
let
|
|
19010
|
+
let L = k.byteOffset;
|
|
19003
19011
|
const j = n;
|
|
19004
|
-
if (!(typeof
|
|
19005
|
-
|
|
19012
|
+
if (!(typeof L == "number" && isFinite(
|
|
19013
|
+
L
|
|
19006
19014
|
))) {
|
|
19007
19015
|
const W = {
|
|
19008
19016
|
instancePath: t + "/body/byteOffset",
|
|
@@ -19024,10 +19032,10 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19024
19032
|
var h = !0;
|
|
19025
19033
|
if (h)
|
|
19026
19034
|
if (k.length !== void 0) {
|
|
19027
|
-
let
|
|
19035
|
+
let L = k.length;
|
|
19028
19036
|
const j = n;
|
|
19029
|
-
if (!(typeof
|
|
19030
|
-
|
|
19037
|
+
if (!(typeof L == "number" && isFinite(
|
|
19038
|
+
L
|
|
19031
19039
|
))) {
|
|
19032
19040
|
const W = {
|
|
19033
19041
|
instancePath: t + "/body/length",
|
|
@@ -19062,19 +19070,19 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19062
19070
|
};
|
|
19063
19071
|
s === null ? s = [S] : s.push(S), n++;
|
|
19064
19072
|
}
|
|
19065
|
-
var p =
|
|
19073
|
+
var p = F === n;
|
|
19066
19074
|
if (C = C || p, !C) {
|
|
19067
19075
|
const S = n;
|
|
19068
19076
|
if (n === S)
|
|
19069
19077
|
if (k && typeof k == "object" && !Array.isArray(k))
|
|
19070
|
-
for (const
|
|
19071
|
-
let j = k[
|
|
19078
|
+
for (const L in k) {
|
|
19079
|
+
let j = k[L];
|
|
19072
19080
|
const q = n, W = n;
|
|
19073
19081
|
let X = !1;
|
|
19074
19082
|
const V = n;
|
|
19075
19083
|
if (typeof j != "string") {
|
|
19076
19084
|
const se = {
|
|
19077
|
-
instancePath: t + "/body/" +
|
|
19085
|
+
instancePath: t + "/body/" + L.replace(
|
|
19078
19086
|
/~/g,
|
|
19079
19087
|
"~0"
|
|
19080
19088
|
).replace(
|
|
@@ -19104,7 +19112,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19104
19112
|
let Q;
|
|
19105
19113
|
if (j.BYTES_PER_ELEMENT === void 0 && (Q = "BYTES_PER_ELEMENT") || j.buffer === void 0 && (Q = "buffer") || j.byteLength === void 0 && (Q = "byteLength") || j.byteOffset === void 0 && (Q = "byteOffset") || j.length === void 0 && (Q = "length")) {
|
|
19106
19114
|
const ee = {
|
|
19107
|
-
instancePath: t + "/body/" +
|
|
19115
|
+
instancePath: t + "/body/" + L.replace(
|
|
19108
19116
|
/~/g,
|
|
19109
19117
|
"~0"
|
|
19110
19118
|
).replace(
|
|
@@ -19133,7 +19141,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19133
19141
|
fe
|
|
19134
19142
|
))) {
|
|
19135
19143
|
const ae = {
|
|
19136
|
-
instancePath: t + "/body/" +
|
|
19144
|
+
instancePath: t + "/body/" + L.replace(
|
|
19137
19145
|
/~/g,
|
|
19138
19146
|
"~0"
|
|
19139
19147
|
).replace(
|
|
@@ -19171,7 +19179,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19171
19179
|
Z
|
|
19172
19180
|
))) {
|
|
19173
19181
|
const ie = {
|
|
19174
|
-
instancePath: t + "/body/" +
|
|
19182
|
+
instancePath: t + "/body/" + L.replace(
|
|
19175
19183
|
/~/g,
|
|
19176
19184
|
"~0"
|
|
19177
19185
|
).replace(
|
|
@@ -19205,7 +19213,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19205
19213
|
let ae;
|
|
19206
19214
|
if (Z.byteLength === void 0 && (ae = "byteLength")) {
|
|
19207
19215
|
const Se = {
|
|
19208
|
-
instancePath: t + "/body/" +
|
|
19216
|
+
instancePath: t + "/body/" + L.replace(
|
|
19209
19217
|
/~/g,
|
|
19210
19218
|
"~0"
|
|
19211
19219
|
).replace(
|
|
@@ -19229,7 +19237,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19229
19237
|
for (const Te in Z)
|
|
19230
19238
|
if (Te !== "byteLength") {
|
|
19231
19239
|
const Xe = {
|
|
19232
|
-
instancePath: t + "/body/" +
|
|
19240
|
+
instancePath: t + "/body/" + L.replace(
|
|
19233
19241
|
/~/g,
|
|
19234
19242
|
"~0"
|
|
19235
19243
|
).replace(
|
|
@@ -19256,7 +19264,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19256
19264
|
Te
|
|
19257
19265
|
))) {
|
|
19258
19266
|
const Xe = {
|
|
19259
|
-
instancePath: t + "/body/" +
|
|
19267
|
+
instancePath: t + "/body/" + L.replace(
|
|
19260
19268
|
/~/g,
|
|
19261
19269
|
"~0"
|
|
19262
19270
|
).replace(
|
|
@@ -19280,7 +19288,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19280
19288
|
}
|
|
19281
19289
|
} else {
|
|
19282
19290
|
const ae = {
|
|
19283
|
-
instancePath: t + "/body/" +
|
|
19291
|
+
instancePath: t + "/body/" + L.replace(
|
|
19284
19292
|
/~/g,
|
|
19285
19293
|
"~0"
|
|
19286
19294
|
).replace(
|
|
@@ -19311,7 +19319,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19311
19319
|
Z
|
|
19312
19320
|
))) {
|
|
19313
19321
|
const ae = {
|
|
19314
|
-
instancePath: t + "/body/" +
|
|
19322
|
+
instancePath: t + "/body/" + L.replace(
|
|
19315
19323
|
/~/g,
|
|
19316
19324
|
"~0"
|
|
19317
19325
|
).replace(
|
|
@@ -19342,7 +19350,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19342
19350
|
Z
|
|
19343
19351
|
))) {
|
|
19344
19352
|
const ae = {
|
|
19345
|
-
instancePath: t + "/body/" +
|
|
19353
|
+
instancePath: t + "/body/" + L.replace(
|
|
19346
19354
|
/~/g,
|
|
19347
19355
|
"~0"
|
|
19348
19356
|
).replace(
|
|
@@ -19373,7 +19381,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19373
19381
|
Z
|
|
19374
19382
|
))) {
|
|
19375
19383
|
const ae = {
|
|
19376
|
-
instancePath: t + "/body/" +
|
|
19384
|
+
instancePath: t + "/body/" + L.replace(
|
|
19377
19385
|
/~/g,
|
|
19378
19386
|
"~0"
|
|
19379
19387
|
).replace(
|
|
@@ -19403,7 +19411,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19403
19411
|
}
|
|
19404
19412
|
} else {
|
|
19405
19413
|
const Q = {
|
|
19406
|
-
instancePath: t + "/body/" +
|
|
19414
|
+
instancePath: t + "/body/" + L.replace(
|
|
19407
19415
|
/~/g,
|
|
19408
19416
|
"~0"
|
|
19409
19417
|
).replace(
|
|
@@ -19433,7 +19441,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19433
19441
|
let Z;
|
|
19434
19442
|
if (j.lastModified === void 0 && (Z = "lastModified") || j.name === void 0 && (Z = "name") || j.size === void 0 && (Z = "size") || j.type === void 0 && (Z = "type") || j.webkitRelativePath === void 0 && (Z = "webkitRelativePath")) {
|
|
19435
19443
|
const fe = {
|
|
19436
|
-
instancePath: t + "/body/" +
|
|
19444
|
+
instancePath: t + "/body/" + L.replace(
|
|
19437
19445
|
/~/g,
|
|
19438
19446
|
"~0"
|
|
19439
19447
|
).replace(
|
|
@@ -19457,7 +19465,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19457
19465
|
for (const ie in j)
|
|
19458
19466
|
if (!(ie === "size" || ie === "type" || ie === "lastModified" || ie === "name" || ie === "webkitRelativePath")) {
|
|
19459
19467
|
const ae = {
|
|
19460
|
-
instancePath: t + "/body/" +
|
|
19468
|
+
instancePath: t + "/body/" + L.replace(
|
|
19461
19469
|
/~/g,
|
|
19462
19470
|
"~0"
|
|
19463
19471
|
).replace(
|
|
@@ -19486,7 +19494,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19486
19494
|
ie
|
|
19487
19495
|
))) {
|
|
19488
19496
|
const Se = {
|
|
19489
|
-
instancePath: t + "/body/" +
|
|
19497
|
+
instancePath: t + "/body/" + L.replace(
|
|
19490
19498
|
/~/g,
|
|
19491
19499
|
"~0"
|
|
19492
19500
|
).replace(
|
|
@@ -19514,7 +19522,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19514
19522
|
const ie = n;
|
|
19515
19523
|
if (typeof j.type != "string") {
|
|
19516
19524
|
const Se = {
|
|
19517
|
-
instancePath: t + "/body/" +
|
|
19525
|
+
instancePath: t + "/body/" + L.replace(
|
|
19518
19526
|
/~/g,
|
|
19519
19527
|
"~0"
|
|
19520
19528
|
).replace(
|
|
@@ -19545,7 +19553,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19545
19553
|
ie
|
|
19546
19554
|
))) {
|
|
19547
19555
|
const Te = {
|
|
19548
|
-
instancePath: t + "/body/" +
|
|
19556
|
+
instancePath: t + "/body/" + L.replace(
|
|
19549
19557
|
/~/g,
|
|
19550
19558
|
"~0"
|
|
19551
19559
|
).replace(
|
|
@@ -19573,7 +19581,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19573
19581
|
const ie = n;
|
|
19574
19582
|
if (typeof j.name != "string") {
|
|
19575
19583
|
const Se = {
|
|
19576
|
-
instancePath: t + "/body/" +
|
|
19584
|
+
instancePath: t + "/body/" + L.replace(
|
|
19577
19585
|
/~/g,
|
|
19578
19586
|
"~0"
|
|
19579
19587
|
).replace(
|
|
@@ -19601,7 +19609,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19601
19609
|
const ie = n;
|
|
19602
19610
|
if (typeof j.webkitRelativePath != "string") {
|
|
19603
19611
|
const Se = {
|
|
19604
|
-
instancePath: t + "/body/" +
|
|
19612
|
+
instancePath: t + "/body/" + L.replace(
|
|
19605
19613
|
/~/g,
|
|
19606
19614
|
"~0"
|
|
19607
19615
|
).replace(
|
|
@@ -19631,7 +19639,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19631
19639
|
}
|
|
19632
19640
|
} else {
|
|
19633
19641
|
const Z = {
|
|
19634
|
-
instancePath: t + "/body/" +
|
|
19642
|
+
instancePath: t + "/body/" + L.replace(
|
|
19635
19643
|
/~/g,
|
|
19636
19644
|
"~0"
|
|
19637
19645
|
).replace(
|
|
@@ -19659,7 +19667,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19659
19667
|
n = W, s !== null && (W ? s.length = W : s = null);
|
|
19660
19668
|
else {
|
|
19661
19669
|
const se = {
|
|
19662
|
-
instancePath: t + "/body/" +
|
|
19670
|
+
instancePath: t + "/body/" + L.replace(
|
|
19663
19671
|
/~/g,
|
|
19664
19672
|
"~0"
|
|
19665
19673
|
).replace(
|
|
@@ -19682,7 +19690,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19682
19690
|
break;
|
|
19683
19691
|
}
|
|
19684
19692
|
else {
|
|
19685
|
-
const
|
|
19693
|
+
const L = {
|
|
19686
19694
|
instancePath: t + "/body",
|
|
19687
19695
|
schemaPath: "#/properties/body/anyOf/2/type",
|
|
19688
19696
|
keyword: "type",
|
|
@@ -19691,7 +19699,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19691
19699
|
},
|
|
19692
19700
|
message: "must be object"
|
|
19693
19701
|
};
|
|
19694
|
-
s === null ? s = [
|
|
19702
|
+
s === null ? s = [L] : s.push(L), n++;
|
|
19695
19703
|
}
|
|
19696
19704
|
var p = S === n;
|
|
19697
19705
|
C = C || p;
|
|
@@ -19700,14 +19708,14 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19700
19708
|
if (C)
|
|
19701
19709
|
n = $, s !== null && ($ ? s.length = $ : s = null);
|
|
19702
19710
|
else {
|
|
19703
|
-
const
|
|
19711
|
+
const F = {
|
|
19704
19712
|
instancePath: t + "/body",
|
|
19705
19713
|
schemaPath: "#/properties/body/anyOf",
|
|
19706
19714
|
keyword: "anyOf",
|
|
19707
19715
|
params: {},
|
|
19708
19716
|
message: "must match a schema in anyOf"
|
|
19709
19717
|
};
|
|
19710
|
-
return s === null ? s = [
|
|
19718
|
+
return s === null ? s = [F] : s.push(F), n++, vt.errors = s, !1;
|
|
19711
19719
|
}
|
|
19712
19720
|
var o = I === n;
|
|
19713
19721
|
} else
|
|
@@ -19717,7 +19725,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19717
19725
|
}
|
|
19718
19726
|
}
|
|
19719
19727
|
} else
|
|
19720
|
-
return
|
|
19728
|
+
return vt.errors = [
|
|
19721
19729
|
{
|
|
19722
19730
|
instancePath: t,
|
|
19723
19731
|
schemaPath: "#/type",
|
|
@@ -19726,7 +19734,7 @@ function _t(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19726
19734
|
message: "must be object"
|
|
19727
19735
|
}
|
|
19728
19736
|
], !1;
|
|
19729
|
-
return
|
|
19737
|
+
return vt.errors = s, n === 0;
|
|
19730
19738
|
}
|
|
19731
19739
|
const V_ = {
|
|
19732
19740
|
properties: {
|
|
@@ -19963,15 +19971,15 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19963
19971
|
s === null ? s = [O] : s.push(O), n++;
|
|
19964
19972
|
} else {
|
|
19965
19973
|
const O = n;
|
|
19966
|
-
for (const
|
|
19967
|
-
if (!(
|
|
19968
|
-
let P = y[
|
|
19974
|
+
for (const F in y)
|
|
19975
|
+
if (!(F === "BYTES_PER_ELEMENT" || F === "buffer" || F === "byteLength" || F === "byteOffset" || F === "length")) {
|
|
19976
|
+
let P = y[F];
|
|
19969
19977
|
const S = n;
|
|
19970
19978
|
if (!(typeof P == "number" && isFinite(
|
|
19971
19979
|
P
|
|
19972
19980
|
))) {
|
|
19973
19981
|
const D = {
|
|
19974
|
-
instancePath: t + "/body/" +
|
|
19982
|
+
instancePath: t + "/body/" + F.replace(
|
|
19975
19983
|
/~/g,
|
|
19976
19984
|
"~0"
|
|
19977
19985
|
).replace(
|
|
@@ -19997,10 +20005,10 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19997
20005
|
}
|
|
19998
20006
|
if (O === n) {
|
|
19999
20007
|
if (y.BYTES_PER_ELEMENT !== void 0) {
|
|
20000
|
-
let
|
|
20008
|
+
let F = y.BYTES_PER_ELEMENT;
|
|
20001
20009
|
const P = n;
|
|
20002
|
-
if (!(typeof
|
|
20003
|
-
|
|
20010
|
+
if (!(typeof F == "number" && isFinite(
|
|
20011
|
+
F
|
|
20004
20012
|
))) {
|
|
20005
20013
|
const S = {
|
|
20006
20014
|
instancePath: t + "/body/BYTES_PER_ELEMENT",
|
|
@@ -20022,15 +20030,15 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20022
20030
|
var h = !0;
|
|
20023
20031
|
if (h) {
|
|
20024
20032
|
if (y.buffer !== void 0) {
|
|
20025
|
-
let
|
|
20033
|
+
let F = y.buffer;
|
|
20026
20034
|
const P = n;
|
|
20027
20035
|
if (n === P)
|
|
20028
|
-
if (
|
|
20029
|
-
|
|
20036
|
+
if (F && typeof F == "object" && !Array.isArray(
|
|
20037
|
+
F
|
|
20030
20038
|
)) {
|
|
20031
20039
|
let D;
|
|
20032
|
-
if (
|
|
20033
|
-
const
|
|
20040
|
+
if (F.byteLength === void 0 && (D = "byteLength")) {
|
|
20041
|
+
const L = {
|
|
20034
20042
|
instancePath: t + "/body/buffer",
|
|
20035
20043
|
schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
|
|
20036
20044
|
keyword: "required",
|
|
@@ -20040,13 +20048,13 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20040
20048
|
message: "must have required property '" + D + "'"
|
|
20041
20049
|
};
|
|
20042
20050
|
s === null ? s = [
|
|
20043
|
-
|
|
20051
|
+
L
|
|
20044
20052
|
] : s.push(
|
|
20045
|
-
|
|
20053
|
+
L
|
|
20046
20054
|
), n++;
|
|
20047
20055
|
} else {
|
|
20048
|
-
const
|
|
20049
|
-
for (const j in
|
|
20056
|
+
const L = n;
|
|
20057
|
+
for (const j in F)
|
|
20050
20058
|
if (j !== "byteLength") {
|
|
20051
20059
|
const q = {
|
|
20052
20060
|
instancePath: t + "/body/buffer",
|
|
@@ -20064,8 +20072,8 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20064
20072
|
), n++;
|
|
20065
20073
|
break;
|
|
20066
20074
|
}
|
|
20067
|
-
if (
|
|
20068
|
-
let j =
|
|
20075
|
+
if (L === n && F.byteLength !== void 0) {
|
|
20076
|
+
let j = F.byteLength;
|
|
20069
20077
|
if (!(typeof j == "number" && isFinite(
|
|
20070
20078
|
j
|
|
20071
20079
|
))) {
|
|
@@ -20107,10 +20115,10 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20107
20115
|
var h = !0;
|
|
20108
20116
|
if (h) {
|
|
20109
20117
|
if (y.byteLength !== void 0) {
|
|
20110
|
-
let
|
|
20118
|
+
let F = y.byteLength;
|
|
20111
20119
|
const P = n;
|
|
20112
|
-
if (!(typeof
|
|
20113
|
-
|
|
20120
|
+
if (!(typeof F == "number" && isFinite(
|
|
20121
|
+
F
|
|
20114
20122
|
))) {
|
|
20115
20123
|
const D = {
|
|
20116
20124
|
instancePath: t + "/body/byteLength",
|
|
@@ -20132,10 +20140,10 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20132
20140
|
var h = !0;
|
|
20133
20141
|
if (h) {
|
|
20134
20142
|
if (y.byteOffset !== void 0) {
|
|
20135
|
-
let
|
|
20143
|
+
let F = y.byteOffset;
|
|
20136
20144
|
const P = n;
|
|
20137
|
-
if (!(typeof
|
|
20138
|
-
|
|
20145
|
+
if (!(typeof F == "number" && isFinite(
|
|
20146
|
+
F
|
|
20139
20147
|
))) {
|
|
20140
20148
|
const D = {
|
|
20141
20149
|
instancePath: t + "/body/byteOffset",
|
|
@@ -20157,10 +20165,10 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20157
20165
|
var h = !0;
|
|
20158
20166
|
if (h)
|
|
20159
20167
|
if (y.length !== void 0) {
|
|
20160
|
-
let
|
|
20168
|
+
let F = y.length;
|
|
20161
20169
|
const P = n;
|
|
20162
|
-
if (!(typeof
|
|
20163
|
-
|
|
20170
|
+
if (!(typeof F == "number" && isFinite(
|
|
20171
|
+
F
|
|
20164
20172
|
))) {
|
|
20165
20173
|
const D = {
|
|
20166
20174
|
instancePath: t + "/body/length",
|
|
@@ -22080,10 +22088,10 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22080
22088
|
message: "must be number"
|
|
22081
22089
|
}
|
|
22082
22090
|
], !1;
|
|
22083
|
-
var
|
|
22091
|
+
var F = re === n;
|
|
22084
22092
|
} else
|
|
22085
|
-
var
|
|
22086
|
-
if (
|
|
22093
|
+
var F = !0;
|
|
22094
|
+
if (F)
|
|
22087
22095
|
if (f.caption !== void 0) {
|
|
22088
22096
|
const x = n;
|
|
22089
22097
|
if (typeof f.caption != "string")
|
|
@@ -22098,9 +22106,9 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22098
22106
|
message: "must be string"
|
|
22099
22107
|
}
|
|
22100
22108
|
], !1;
|
|
22101
|
-
var
|
|
22109
|
+
var F = x === n;
|
|
22102
22110
|
} else
|
|
22103
|
-
var
|
|
22111
|
+
var F = !0;
|
|
22104
22112
|
}
|
|
22105
22113
|
} else
|
|
22106
22114
|
return _.errors = [
|
|
@@ -22408,10 +22416,10 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22408
22416
|
message: "must be number"
|
|
22409
22417
|
}
|
|
22410
22418
|
], !1;
|
|
22411
|
-
var
|
|
22419
|
+
var L = re === n;
|
|
22412
22420
|
} else
|
|
22413
|
-
var
|
|
22414
|
-
if (
|
|
22421
|
+
var L = !0;
|
|
22422
|
+
if (L)
|
|
22415
22423
|
if (f.caption !== void 0) {
|
|
22416
22424
|
const x = n;
|
|
22417
22425
|
if (typeof f.caption != "string")
|
|
@@ -22426,9 +22434,9 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22426
22434
|
message: "must be string"
|
|
22427
22435
|
}
|
|
22428
22436
|
], !1;
|
|
22429
|
-
var
|
|
22437
|
+
var L = x === n;
|
|
22430
22438
|
} else
|
|
22431
|
-
var
|
|
22439
|
+
var L = !0;
|
|
22432
22440
|
}
|
|
22433
22441
|
} else
|
|
22434
22442
|
return _.errors = [
|
|
@@ -23517,7 +23525,7 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
23517
23525
|
if (ae)
|
|
23518
23526
|
if (e.request !== void 0) {
|
|
23519
23527
|
const f = n;
|
|
23520
|
-
|
|
23528
|
+
vt(
|
|
23521
23529
|
e.request,
|
|
23522
23530
|
{
|
|
23523
23531
|
instancePath: t + "/request",
|
|
@@ -23525,8 +23533,8 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
23525
23533
|
parentDataProperty: "request",
|
|
23526
23534
|
rootData: a
|
|
23527
23535
|
}
|
|
23528
|
-
) || (s = s === null ?
|
|
23529
|
-
|
|
23536
|
+
) || (s = s === null ? vt.errors : s.concat(
|
|
23537
|
+
vt.errors
|
|
23530
23538
|
), n = s.length);
|
|
23531
23539
|
var ae = f === n;
|
|
23532
23540
|
} else
|
|
@@ -25364,10 +25372,10 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25364
25372
|
message: "must be number"
|
|
25365
25373
|
}
|
|
25366
25374
|
], !1;
|
|
25367
|
-
var
|
|
25375
|
+
var yt = re === n;
|
|
25368
25376
|
} else
|
|
25369
|
-
var
|
|
25370
|
-
if (
|
|
25377
|
+
var yt = !0;
|
|
25378
|
+
if (yt)
|
|
25371
25379
|
if (f.caption !== void 0) {
|
|
25372
25380
|
const x = n;
|
|
25373
25381
|
if (typeof f.caption != "string")
|
|
@@ -25382,9 +25390,9 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25382
25390
|
message: "must be string"
|
|
25383
25391
|
}
|
|
25384
25392
|
], !1;
|
|
25385
|
-
var
|
|
25393
|
+
var yt = x === n;
|
|
25386
25394
|
} else
|
|
25387
|
-
var
|
|
25395
|
+
var yt = !0;
|
|
25388
25396
|
}
|
|
25389
25397
|
} else
|
|
25390
25398
|
return _.errors = [
|
|
@@ -25467,8 +25475,8 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25467
25475
|
) || (s = s === null ? _e.errors : s.concat(
|
|
25468
25476
|
_e.errors
|
|
25469
25477
|
), n = s.length);
|
|
25470
|
-
var
|
|
25471
|
-
if (x = x ||
|
|
25478
|
+
var Ft = re === n;
|
|
25479
|
+
if (x = x || Ft, !x) {
|
|
25472
25480
|
const ke = n;
|
|
25473
25481
|
if (typeof f != "string") {
|
|
25474
25482
|
const He = {
|
|
@@ -25486,8 +25494,8 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25486
25494
|
He
|
|
25487
25495
|
), n++;
|
|
25488
25496
|
}
|
|
25489
|
-
var
|
|
25490
|
-
if (x = x ||
|
|
25497
|
+
var Ft = ke === n;
|
|
25498
|
+
if (x = x || Ft, !x) {
|
|
25491
25499
|
const He = n;
|
|
25492
25500
|
if (n === He)
|
|
25493
25501
|
if (f && typeof f == "object" && !Array.isArray(
|
|
@@ -25513,10 +25521,10 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25513
25521
|
const Bt = n;
|
|
25514
25522
|
for (const be in f)
|
|
25515
25523
|
if (!(be === "BYTES_PER_ELEMENT" || be === "buffer" || be === "byteLength" || be === "byteOffset" || be === "length")) {
|
|
25516
|
-
let
|
|
25524
|
+
let gt = f[be];
|
|
25517
25525
|
const ls = n;
|
|
25518
|
-
if (!(typeof
|
|
25519
|
-
|
|
25526
|
+
if (!(typeof gt == "number" && isFinite(
|
|
25527
|
+
gt
|
|
25520
25528
|
))) {
|
|
25521
25529
|
const Ve = {
|
|
25522
25530
|
instancePath: t + "/data/" + be.replace(
|
|
@@ -25546,7 +25554,7 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25546
25554
|
if (Bt === n) {
|
|
25547
25555
|
if (f.BYTES_PER_ELEMENT !== void 0) {
|
|
25548
25556
|
let be = f.BYTES_PER_ELEMENT;
|
|
25549
|
-
const
|
|
25557
|
+
const gt = n;
|
|
25550
25558
|
if (!(typeof be == "number" && isFinite(
|
|
25551
25559
|
be
|
|
25552
25560
|
))) {
|
|
@@ -25565,14 +25573,14 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25565
25573
|
ls
|
|
25566
25574
|
), n++;
|
|
25567
25575
|
}
|
|
25568
|
-
var nt =
|
|
25576
|
+
var nt = gt === n;
|
|
25569
25577
|
} else
|
|
25570
25578
|
var nt = !0;
|
|
25571
25579
|
if (nt) {
|
|
25572
25580
|
if (f.buffer !== void 0) {
|
|
25573
25581
|
let be = f.buffer;
|
|
25574
|
-
const
|
|
25575
|
-
if (n ===
|
|
25582
|
+
const gt = n;
|
|
25583
|
+
if (n === gt)
|
|
25576
25584
|
if (be && typeof be == "object" && !Array.isArray(
|
|
25577
25585
|
be
|
|
25578
25586
|
)) {
|
|
@@ -25650,13 +25658,13 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25650
25658
|
Ve
|
|
25651
25659
|
), n++;
|
|
25652
25660
|
}
|
|
25653
|
-
var nt =
|
|
25661
|
+
var nt = gt === n;
|
|
25654
25662
|
} else
|
|
25655
25663
|
var nt = !0;
|
|
25656
25664
|
if (nt) {
|
|
25657
25665
|
if (f.byteLength !== void 0) {
|
|
25658
25666
|
let be = f.byteLength;
|
|
25659
|
-
const
|
|
25667
|
+
const gt = n;
|
|
25660
25668
|
if (!(typeof be == "number" && isFinite(
|
|
25661
25669
|
be
|
|
25662
25670
|
))) {
|
|
@@ -25675,13 +25683,13 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25675
25683
|
Ve
|
|
25676
25684
|
), n++;
|
|
25677
25685
|
}
|
|
25678
|
-
var nt =
|
|
25686
|
+
var nt = gt === n;
|
|
25679
25687
|
} else
|
|
25680
25688
|
var nt = !0;
|
|
25681
25689
|
if (nt) {
|
|
25682
25690
|
if (f.byteOffset !== void 0) {
|
|
25683
25691
|
let be = f.byteOffset;
|
|
25684
|
-
const
|
|
25692
|
+
const gt = n;
|
|
25685
25693
|
if (!(typeof be == "number" && isFinite(
|
|
25686
25694
|
be
|
|
25687
25695
|
))) {
|
|
@@ -25700,13 +25708,13 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25700
25708
|
Ve
|
|
25701
25709
|
), n++;
|
|
25702
25710
|
}
|
|
25703
|
-
var nt =
|
|
25711
|
+
var nt = gt === n;
|
|
25704
25712
|
} else
|
|
25705
25713
|
var nt = !0;
|
|
25706
25714
|
if (nt)
|
|
25707
25715
|
if (f.length !== void 0) {
|
|
25708
25716
|
let be = f.length;
|
|
25709
|
-
const
|
|
25717
|
+
const gt = n;
|
|
25710
25718
|
if (!(typeof be == "number" && isFinite(
|
|
25711
25719
|
be
|
|
25712
25720
|
))) {
|
|
@@ -25725,7 +25733,7 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25725
25733
|
Ve
|
|
25726
25734
|
), n++;
|
|
25727
25735
|
}
|
|
25728
|
-
var nt =
|
|
25736
|
+
var nt = gt === n;
|
|
25729
25737
|
} else
|
|
25730
25738
|
var nt = !0;
|
|
25731
25739
|
}
|
|
@@ -25749,8 +25757,8 @@ function _(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
25749
25757
|
qe
|
|
25750
25758
|
), n++;
|
|
25751
25759
|
}
|
|
25752
|
-
var
|
|
25753
|
-
x = x ||
|
|
25760
|
+
var Ft = He === n;
|
|
25761
|
+
x = x || Ft;
|
|
25754
25762
|
}
|
|
25755
25763
|
}
|
|
25756
25764
|
if (x)
|
|
@@ -26572,8 +26580,8 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26572
26580
|
if (l)
|
|
26573
26581
|
if (E.categories !== void 0) {
|
|
26574
26582
|
let D = E.categories;
|
|
26575
|
-
const
|
|
26576
|
-
if (n ===
|
|
26583
|
+
const L = n;
|
|
26584
|
+
if (n === L)
|
|
26577
26585
|
if (Array.isArray(
|
|
26578
26586
|
D
|
|
26579
26587
|
)) {
|
|
@@ -26609,7 +26617,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26609
26617
|
message: "must be array"
|
|
26610
26618
|
}
|
|
26611
26619
|
], !1;
|
|
26612
|
-
var l =
|
|
26620
|
+
var l = L === n;
|
|
26613
26621
|
} else
|
|
26614
26622
|
var l = !0;
|
|
26615
26623
|
}
|
|
@@ -26666,7 +26674,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26666
26674
|
if (S === n) {
|
|
26667
26675
|
if (E.php !== void 0) {
|
|
26668
26676
|
let D = E.php;
|
|
26669
|
-
const
|
|
26677
|
+
const L = n, j = n;
|
|
26670
26678
|
let q = !1;
|
|
26671
26679
|
const W = n;
|
|
26672
26680
|
Rn(D, {
|
|
@@ -26727,7 +26735,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26727
26735
|
};
|
|
26728
26736
|
return s === null ? s = [X] : s.push(X), n++, me.errors = s, !1;
|
|
26729
26737
|
}
|
|
26730
|
-
var h =
|
|
26738
|
+
var h = L === n;
|
|
26731
26739
|
} else
|
|
26732
26740
|
var h = !0;
|
|
26733
26741
|
if (h)
|
|
@@ -26843,7 +26851,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26843
26851
|
const P = E.length;
|
|
26844
26852
|
for (let S = 0; S < P; S++) {
|
|
26845
26853
|
let D = E[S];
|
|
26846
|
-
const
|
|
26854
|
+
const L = n;
|
|
26847
26855
|
if (typeof D != "string")
|
|
26848
26856
|
return me.errors = [
|
|
26849
26857
|
{
|
|
@@ -26868,7 +26876,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26868
26876
|
message: "must be equal to constant"
|
|
26869
26877
|
}
|
|
26870
26878
|
], !1;
|
|
26871
|
-
var g =
|
|
26879
|
+
var g = L === n;
|
|
26872
26880
|
if (!g)
|
|
26873
26881
|
break;
|
|
26874
26882
|
}
|
|
@@ -26895,7 +26903,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26895
26903
|
if (E && typeof E == "object" && !Array.isArray(E))
|
|
26896
26904
|
for (const S in E) {
|
|
26897
26905
|
let D = E[S];
|
|
26898
|
-
const
|
|
26906
|
+
const L = n;
|
|
26899
26907
|
if (typeof D != "string" && typeof D != "boolean" && !(typeof D == "number" && isFinite(D)))
|
|
26900
26908
|
return me.errors = [
|
|
26901
26909
|
{
|
|
@@ -26914,7 +26922,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26914
26922
|
message: "must be string,boolean,number"
|
|
26915
26923
|
}
|
|
26916
26924
|
], !1;
|
|
26917
|
-
var T =
|
|
26925
|
+
var T = L === n;
|
|
26918
26926
|
if (!T)
|
|
26919
26927
|
break;
|
|
26920
26928
|
}
|
|
@@ -26943,7 +26951,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26943
26951
|
const P = E.length;
|
|
26944
26952
|
for (let S = 0; S < P; S++) {
|
|
26945
26953
|
let D = E[S];
|
|
26946
|
-
const
|
|
26954
|
+
const L = n, j = n;
|
|
26947
26955
|
let q = !1;
|
|
26948
26956
|
const W = n;
|
|
26949
26957
|
if (typeof D != "string") {
|
|
@@ -26995,7 +27003,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26995
27003
|
V
|
|
26996
27004
|
), n++, me.errors = s, !1;
|
|
26997
27005
|
}
|
|
26998
|
-
var y =
|
|
27006
|
+
var y = L === n;
|
|
26999
27007
|
if (!y)
|
|
27000
27008
|
break;
|
|
27001
27009
|
}
|
|
@@ -27078,11 +27086,11 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27078
27086
|
if (o) {
|
|
27079
27087
|
if (e.login !== void 0) {
|
|
27080
27088
|
let E = e.login;
|
|
27081
|
-
const O = n,
|
|
27089
|
+
const O = n, F = n;
|
|
27082
27090
|
let P = !1;
|
|
27083
27091
|
const S = n;
|
|
27084
27092
|
if (typeof E != "boolean") {
|
|
27085
|
-
const
|
|
27093
|
+
const L = {
|
|
27086
27094
|
instancePath: t + "/login",
|
|
27087
27095
|
schemaPath: "#/properties/login/anyOf/0/type",
|
|
27088
27096
|
keyword: "type",
|
|
@@ -27092,15 +27100,15 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27092
27100
|
message: "must be boolean"
|
|
27093
27101
|
};
|
|
27094
27102
|
s === null ? s = [
|
|
27095
|
-
|
|
27103
|
+
L
|
|
27096
27104
|
] : s.push(
|
|
27097
|
-
|
|
27105
|
+
L
|
|
27098
27106
|
), n++;
|
|
27099
27107
|
}
|
|
27100
27108
|
var A = S === n;
|
|
27101
27109
|
if (P = P || A, !P) {
|
|
27102
|
-
const
|
|
27103
|
-
if (n ===
|
|
27110
|
+
const L = n;
|
|
27111
|
+
if (n === L)
|
|
27104
27112
|
if (E && typeof E == "object" && !Array.isArray(
|
|
27105
27113
|
E
|
|
27106
27114
|
)) {
|
|
@@ -27202,13 +27210,13 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27202
27210
|
q
|
|
27203
27211
|
), n++;
|
|
27204
27212
|
}
|
|
27205
|
-
var A =
|
|
27213
|
+
var A = L === n;
|
|
27206
27214
|
P = P || A;
|
|
27207
27215
|
}
|
|
27208
27216
|
if (P)
|
|
27209
|
-
n =
|
|
27217
|
+
n = F, s !== null && (F ? s.length = F : s = null);
|
|
27210
27218
|
else {
|
|
27211
|
-
const
|
|
27219
|
+
const L = {
|
|
27212
27220
|
instancePath: t + "/login",
|
|
27213
27221
|
schemaPath: "#/properties/login/anyOf",
|
|
27214
27222
|
keyword: "anyOf",
|
|
@@ -27216,9 +27224,9 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27216
27224
|
message: "must match a schema in anyOf"
|
|
27217
27225
|
};
|
|
27218
27226
|
return s === null ? s = [
|
|
27219
|
-
|
|
27227
|
+
L
|
|
27220
27228
|
] : s.push(
|
|
27221
|
-
|
|
27229
|
+
L
|
|
27222
27230
|
), n++, me.errors = s, !1;
|
|
27223
27231
|
}
|
|
27224
27232
|
var o = O === n;
|
|
@@ -27236,7 +27244,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27236
27244
|
const P = E.length;
|
|
27237
27245
|
for (let S = 0; S < P; S++) {
|
|
27238
27246
|
let D = E[S];
|
|
27239
|
-
const
|
|
27247
|
+
const L = n, j = n;
|
|
27240
27248
|
let q = !1;
|
|
27241
27249
|
const W = n;
|
|
27242
27250
|
_(
|
|
@@ -27359,7 +27367,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27359
27367
|
V
|
|
27360
27368
|
), n++, me.errors = s, !1;
|
|
27361
27369
|
}
|
|
27362
|
-
var I =
|
|
27370
|
+
var I = L === n;
|
|
27363
27371
|
if (!I)
|
|
27364
27372
|
break;
|
|
27365
27373
|
}
|
|
@@ -27480,12 +27488,12 @@ function J_(e, {
|
|
|
27480
27488
|
...e,
|
|
27481
27489
|
steps: (e.steps || []).filter(rv).filter(nv)
|
|
27482
27490
|
}, e.steps = [...e.steps || [], ...l || []];
|
|
27483
|
-
for (const
|
|
27484
|
-
!
|
|
27491
|
+
for (const F of e.steps)
|
|
27492
|
+
!F || typeof F != "object" || (F.step === "importFile" ? (F.step = "importWxr", Ae.warn(
|
|
27485
27493
|
'The "importFile" step is deprecated. Use "importWxr" instead.'
|
|
27486
|
-
)) : (
|
|
27494
|
+
)) : (F == null ? void 0 : F.step) === "installPlugin" && "pluginZipFile" in F ? (F.pluginData = F.pluginZipFile, Ae.warn(
|
|
27487
27495
|
'The "pluginZipFile" option of the "installPlugin" step is deprecated. Use "pluginData" instead.'
|
|
27488
|
-
)) : (
|
|
27496
|
+
)) : (F == null ? void 0 : F.step) === "installTheme" && "themeZipFile" in F && (F.themeData = F.themeZipFile, Ae.warn(
|
|
27489
27497
|
'The "themeZipFile" option of the "installTheme" step is deprecated. Use "themeData" instead.'
|
|
27490
27498
|
)));
|
|
27491
27499
|
if (e.constants && e.steps.unshift({
|
|
@@ -27495,7 +27503,7 @@ function J_(e, {
|
|
|
27495
27503
|
step: "setSiteOptions",
|
|
27496
27504
|
options: e.siteOptions
|
|
27497
27505
|
}), e.plugins) {
|
|
27498
|
-
const
|
|
27506
|
+
const F = e.plugins.map((P) => typeof P == "string" ? P.startsWith("https://") ? {
|
|
27499
27507
|
resource: "url",
|
|
27500
27508
|
url: P
|
|
27501
27509
|
} : {
|
|
@@ -27505,29 +27513,29 @@ function J_(e, {
|
|
|
27505
27513
|
step: "installPlugin",
|
|
27506
27514
|
pluginData: P
|
|
27507
27515
|
}));
|
|
27508
|
-
e.steps.unshift(...
|
|
27516
|
+
e.steps.unshift(...F);
|
|
27509
27517
|
}
|
|
27510
27518
|
e.login && e.steps.unshift({
|
|
27511
27519
|
step: "login",
|
|
27512
27520
|
...e.login === !0 ? { username: "admin" } : e.login
|
|
27513
27521
|
});
|
|
27514
27522
|
const p = ((y = e.steps) == null ? void 0 : y.findIndex(
|
|
27515
|
-
(
|
|
27523
|
+
(F) => typeof F == "object" && (F == null ? void 0 : F.step) && ["wp-cli", "enableMultisite"].includes(F.step)
|
|
27516
27524
|
)) ?? -1;
|
|
27517
27525
|
if ((w = e == null ? void 0 : e.extraLibraries) != null && w.includes("wp-cli") || p !== -1) {
|
|
27518
|
-
const
|
|
27526
|
+
const F = {
|
|
27519
27527
|
step: "writeFile",
|
|
27520
27528
|
data: y_,
|
|
27521
27529
|
path: Io
|
|
27522
27530
|
};
|
|
27523
|
-
p === -1 ? (b = e.steps) == null || b.push(
|
|
27531
|
+
p === -1 ? (b = e.steps) == null || b.push(F) : (A = e.steps) == null || A.splice(
|
|
27524
27532
|
p,
|
|
27525
27533
|
0,
|
|
27526
|
-
|
|
27534
|
+
F
|
|
27527
27535
|
);
|
|
27528
27536
|
}
|
|
27529
27537
|
const c = (k = e.steps) == null ? void 0 : k.findIndex(
|
|
27530
|
-
(
|
|
27538
|
+
(F) => typeof F == "object" && (F == null ? void 0 : F.step) === "importWxr"
|
|
27531
27539
|
);
|
|
27532
27540
|
c !== void 0 && c > -1 && ((I = e.steps) == null || I.splice(c, 0, {
|
|
27533
27541
|
step: "installPlugin",
|
|
@@ -27538,27 +27546,27 @@ function J_(e, {
|
|
|
27538
27546
|
}));
|
|
27539
27547
|
const h = ev(e);
|
|
27540
27548
|
if (!h.valid) {
|
|
27541
|
-
const { errors:
|
|
27549
|
+
const { errors: F } = h, P = Q_(e, F);
|
|
27542
27550
|
throw new Y_(
|
|
27543
27551
|
`Invalid Blueprint: The Blueprint does not conform to the schema.
|
|
27544
27552
|
|
|
27545
|
-
Found ${
|
|
27553
|
+
Found ${F.length} validation error(s):
|
|
27546
27554
|
|
|
27547
27555
|
${P}
|
|
27548
27556
|
|
|
27549
27557
|
Please review your Blueprint and fix these issues. Learn more about the Blueprint format: https://wordpress.github.io/wordpress-playground/blueprints/data-format`,
|
|
27550
|
-
|
|
27558
|
+
F
|
|
27551
27559
|
);
|
|
27552
27560
|
}
|
|
27553
27561
|
a(e);
|
|
27554
27562
|
const m = e.steps || [], g = m.reduce(
|
|
27555
|
-
(
|
|
27563
|
+
(F, P) => {
|
|
27556
27564
|
var S;
|
|
27557
|
-
return
|
|
27565
|
+
return F + (((S = P.progress) == null ? void 0 : S.weight) || 1);
|
|
27558
27566
|
},
|
|
27559
27567
|
0
|
|
27560
27568
|
), T = m.map(
|
|
27561
|
-
(
|
|
27569
|
+
(F) => sv(F, {
|
|
27562
27570
|
semaphore: r,
|
|
27563
27571
|
rootProgressTracker: t,
|
|
27564
27572
|
totalProgressWeight: g,
|
|
@@ -27583,28 +27591,28 @@ Please review your Blueprint and fix these issues. Learn more about the Blueprin
|
|
|
27583
27591
|
networking: ((O = e.features) == null ? void 0 : O.networking) ?? !0
|
|
27584
27592
|
},
|
|
27585
27593
|
extraLibraries: e.extraLibraries || [],
|
|
27586
|
-
run: async (
|
|
27594
|
+
run: async (F) => {
|
|
27587
27595
|
try {
|
|
27588
27596
|
for (const { resources: P } of T)
|
|
27589
27597
|
for (const S of P)
|
|
27590
|
-
S.setPlayground(
|
|
27598
|
+
S.setPlayground(F), S.isAsync && S.resolve().catch(() => {
|
|
27591
27599
|
});
|
|
27592
27600
|
for (const [P, { run: S, step: D }] of Object.entries(T))
|
|
27593
27601
|
try {
|
|
27594
|
-
const
|
|
27595
|
-
i(
|
|
27596
|
-
} catch (
|
|
27602
|
+
const L = await S(F);
|
|
27603
|
+
i(L, D);
|
|
27604
|
+
} catch (L) {
|
|
27597
27605
|
const j = Number(P) + 1;
|
|
27598
27606
|
throw new K_({
|
|
27599
27607
|
stepNumber: j,
|
|
27600
27608
|
step: D,
|
|
27601
|
-
cause:
|
|
27609
|
+
cause: L
|
|
27602
27610
|
});
|
|
27603
27611
|
}
|
|
27604
27612
|
} finally {
|
|
27605
27613
|
try {
|
|
27606
|
-
const P = await
|
|
27607
|
-
await
|
|
27614
|
+
const P = await F.pathToInternalUrl(e.landingPage || "/");
|
|
27615
|
+
await F.goTo(
|
|
27608
27616
|
"/index.php?playground-redirection-handler&next=" + encodeURIComponent(P)
|
|
27609
27617
|
);
|
|
27610
27618
|
} catch {
|
|
@@ -27843,7 +27851,7 @@ playground_add_filter('blueprint.target_resolved', 'playground_on_blueprint_targ
|
|
|
27843
27851
|
|
|
27844
27852
|
playground_add_filter('blueprint.resolved', 'playground_on_blueprint_resolved');
|
|
27845
27853
|
function playground_on_blueprint_resolved($blueprint) {
|
|
27846
|
-
$additional_blueprint_steps = json_decode(${
|
|
27854
|
+
$additional_blueprint_steps = json_decode(${mt(
|
|
27847
27855
|
JSON.stringify(((c = e.blueprintOverrides) == null ? void 0 : c.additionalSteps) || [])
|
|
27848
27856
|
)}, true);
|
|
27849
27857
|
if(count($additional_blueprint_steps) > 0) {
|
|
@@ -27853,7 +27861,7 @@ function playground_on_blueprint_resolved($blueprint) {
|
|
|
27853
27861
|
);
|
|
27854
27862
|
}
|
|
27855
27863
|
|
|
27856
|
-
$wp_version_override = json_decode(${
|
|
27864
|
+
$wp_version_override = json_decode(${mt(
|
|
27857
27865
|
JSON.stringify(((h = e.blueprintOverrides) == null ? void 0 : h.wordpressVersion) || null)
|
|
27858
27866
|
)}, true);
|
|
27859
27867
|
if($wp_version_override) {
|
|
@@ -27943,8 +27951,8 @@ async function Pv(e) {
|
|
|
27943
27951
|
}
|
|
27944
27952
|
try {
|
|
27945
27953
|
const r = new TextDecoder().decode(t);
|
|
27946
|
-
return JSON.parse(r), new
|
|
27947
|
-
new
|
|
27954
|
+
return JSON.parse(r), new Lb([
|
|
27955
|
+
new Fb({
|
|
27948
27956
|
"blueprint.json": r
|
|
27949
27957
|
}),
|
|
27950
27958
|
new Ib({
|
|
@@ -27967,7 +27975,7 @@ async function pv(e) {
|
|
|
27967
27975
|
return t[0] === 80 && t[1] === 75 && t[2] === 3 && t[3] === 4;
|
|
27968
27976
|
}
|
|
27969
27977
|
async function cv(e) {
|
|
27970
|
-
if ((await
|
|
27978
|
+
if ((await Fn.create(e)).getVersion() === 1) {
|
|
27971
27979
|
const r = await id(
|
|
27972
27980
|
e
|
|
27973
27981
|
);
|
|
@@ -28038,7 +28046,7 @@ class mv {
|
|
|
28038
28046
|
corsProxyUrl: s,
|
|
28039
28047
|
sqliteDriverVersion: h,
|
|
28040
28048
|
pathAliases: T
|
|
28041
|
-
}), await A.isReady(), w.finish(), xp(Ae, A), g == null || g(A), (await
|
|
28049
|
+
}), await A.isReady(), w.finish(), xp(Ae, A), g == null || g(A), (await Fn.create(b)).getVersion() === 1) {
|
|
28042
28050
|
const $ = await id(b, {
|
|
28043
28051
|
progress: y,
|
|
28044
28052
|
onStepCompleted: a,
|
|
@@ -28166,7 +28174,7 @@ function _v(e, t) {
|
|
|
28166
28174
|
export {
|
|
28167
28175
|
fv as BlueprintFetchError,
|
|
28168
28176
|
Bb as BlueprintFilesystemRequiredError,
|
|
28169
|
-
|
|
28177
|
+
Fn as BlueprintReflection,
|
|
28170
28178
|
K_ as BlueprintStepExecutionError,
|
|
28171
28179
|
Y_ as InvalidBlueprintError,
|
|
28172
28180
|
Wd as LatestSupportedPHPVersion,
|
|
@@ -28179,7 +28187,7 @@ export {
|
|
|
28179
28187
|
id as compileBlueprintV1,
|
|
28180
28188
|
b_ as cp,
|
|
28181
28189
|
Qu as defineSiteUrl,
|
|
28182
|
-
|
|
28190
|
+
Lo as defineWpConfigConsts,
|
|
28183
28191
|
w_ as enableMultisite,
|
|
28184
28192
|
T_ as exportWXR,
|
|
28185
28193
|
X_ as getBlueprintDeclaration,
|
|
@@ -28191,13 +28199,13 @@ export {
|
|
|
28191
28199
|
R_ as installTheme,
|
|
28192
28200
|
ad as isBlueprintBundle,
|
|
28193
28201
|
rv as isStepDefinition,
|
|
28194
|
-
|
|
28202
|
+
F_ as login,
|
|
28195
28203
|
v_ as mkdir,
|
|
28196
28204
|
__ as mv,
|
|
28197
|
-
|
|
28205
|
+
mt as phpVar,
|
|
28198
28206
|
Zn as phpVars,
|
|
28199
28207
|
p_ as request,
|
|
28200
|
-
|
|
28208
|
+
L_ as resetData,
|
|
28201
28209
|
Pv as resolveRemoteBlueprint,
|
|
28202
28210
|
cv as resolveRuntimeConfiguration,
|
|
28203
28211
|
ro as rm,
|