@wp-playground/client 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.cjs +39 -39
  2. package/index.js +842 -842
  3. package/package.json +2 -2
package/index.js CHANGED
@@ -76,16 +76,16 @@ async function _c(e) {
76
76
  const r = await (await e.read("blueprint.json")).text();
77
77
  return JSON.parse(r);
78
78
  }
79
- class ws {
79
+ class gs {
80
80
  constructor(t, r, i) {
81
81
  this.declaration = t, this.bundle = r, this.version = i;
82
82
  }
83
83
  static async create(t) {
84
84
  const r = await _c(t), i = jl(t) ? t : void 0;
85
- return ws.createFromDeclaration(r, i);
85
+ return gs.createFromDeclaration(r, i);
86
86
  }
87
87
  static createFromDeclaration(t, r = void 0) {
88
- return new ws(
88
+ return new gs(
89
89
  t,
90
90
  r,
91
91
  t.version || 1
@@ -117,10 +117,10 @@ const gc = "playground-log", Ta = (e, ...t) => {
117
117
  })
118
118
  );
119
119
  }, wc = (e, ...t) => {
120
- switch (typeof e.message == "string" ? Reflect.set(e, "message", Ri(e.message)) : e.message.message && typeof e.message.message == "string" && Reflect.set(
120
+ switch (typeof e.message == "string" ? Reflect.set(e, "message", Li(e.message)) : e.message.message && typeof e.message.message == "string" && Reflect.set(
121
121
  e.message,
122
122
  "message",
123
- Ri(e.message.message)
123
+ Li(e.message.message)
124
124
  ), e.severity) {
125
125
  case ft.Debug:
126
126
  console.debug(e.message, ...t);
@@ -143,35 +143,35 @@ const gc = "playground-log", Ta = (e, ...t) => {
143
143
  }, bc = (e) => e instanceof Error ? [e.message, e.stack].join(`
144
144
  `) : JSON.stringify(e, null, 2), Wl = [], Ca = (e) => {
145
145
  Wl.push(e);
146
- }, Li = (e) => {
146
+ }, Oi = (e) => {
147
147
  if (e.raw === !0)
148
148
  Ca(e.message);
149
149
  else {
150
150
  const t = Sc(
151
151
  typeof e.message == "object" ? bc(e.message) : e.message,
152
152
  e.severity,
153
- e.prefix ?? ur.JS
153
+ e.prefix ?? cr.JS
154
154
  );
155
155
  Ca(t);
156
156
  }
157
157
  };
158
- let Vn = 0;
158
+ let Zn = 0;
159
159
  const Oa = "/wordpress/wp-content/debug.log", vc = async (e) => await e.fileExists(Oa) ? await e.readFileAsText(Oa) : "", Ul = (e, t) => {
160
160
  t.addEventListener("request.end", async () => {
161
161
  const r = await vc(t);
162
- if (r.length > Vn) {
163
- const i = r.substring(Vn);
162
+ if (r.length > Zn) {
163
+ const i = r.substring(Zn);
164
164
  e.logMessage({
165
165
  message: i,
166
166
  severity: ft.Log,
167
167
  raw: !0
168
- }), Vn = r.length;
168
+ }), Zn = r.length;
169
169
  }
170
170
  }), t.addEventListener("request.error", (r) => {
171
171
  r = r, r.error && (e.logMessage({
172
172
  message: `${r.error.message} ${r.error.stack}`,
173
173
  severity: ft.Fatal,
174
- prefix: r.source === "request" ? ur.PHP : ur.WASM
174
+ prefix: r.source === "request" ? cr.PHP : cr.WASM
175
175
  }), e.dispatchEvent(
176
176
  new CustomEvent(e.fatalErrorEvent, {
177
177
  detail: {
@@ -188,7 +188,7 @@ const Oa = "/wordpress/wp-content/debug.log", vc = async (e) => await e.fileExis
188
188
  Log: { name: "log", level: 3 },
189
189
  Info: { name: "info", level: 4 },
190
190
  Debug: { name: "debug", level: 5 }
191
- }, ur = {
191
+ }, cr = {
192
192
  WASM: "Wasm Crash",
193
193
  PHP: "PHP",
194
194
  JS: "JavaScript"
@@ -203,7 +203,7 @@ class xc extends EventTarget {
203
203
  * @returns string[]
204
204
  */
205
205
  getLogs() {
206
- return this.handlers.includes(Li) ? [...Wl] : (this.error(`Logs aren't stored because the logToMemory handler isn't registered.
206
+ return this.handlers.includes(Oi) ? [...Wl] : (this.error(`Logs aren't stored because the logToMemory handler isn't registered.
207
207
  If you're using a custom logger instance, make sure to register logToMemory handler.
208
208
  `), []);
209
209
  }
@@ -239,7 +239,7 @@ class xc extends EventTarget {
239
239
  {
240
240
  message: t,
241
241
  severity: ft.Log,
242
- prefix: ur.JS,
242
+ prefix: cr.JS,
243
243
  raw: !1
244
244
  },
245
245
  ...r
@@ -256,7 +256,7 @@ class xc extends EventTarget {
256
256
  {
257
257
  message: t,
258
258
  severity: ft.Debug,
259
- prefix: ur.JS,
259
+ prefix: cr.JS,
260
260
  raw: !1
261
261
  },
262
262
  ...r
@@ -273,7 +273,7 @@ class xc extends EventTarget {
273
273
  {
274
274
  message: t,
275
275
  severity: ft.Info,
276
- prefix: ur.JS,
276
+ prefix: cr.JS,
277
277
  raw: !1
278
278
  },
279
279
  ...r
@@ -290,7 +290,7 @@ class xc extends EventTarget {
290
290
  {
291
291
  message: t,
292
292
  severity: ft.Warn,
293
- prefix: ur.JS,
293
+ prefix: cr.JS,
294
294
  raw: !1
295
295
  },
296
296
  ...r
@@ -307,7 +307,7 @@ class xc extends EventTarget {
307
307
  {
308
308
  message: t,
309
309
  severity: ft.Error,
310
- prefix: ur.JS,
310
+ prefix: cr.JS,
311
311
  raw: !1
312
312
  },
313
313
  ...r
@@ -317,11 +317,11 @@ class xc extends EventTarget {
317
317
  const kc = () => {
318
318
  try {
319
319
  if (process.env.NODE_ENV === "test")
320
- return [Li, Ta];
320
+ return [Oi, Ta];
321
321
  } catch {
322
322
  }
323
- return [Li, wc, Ta];
324
- }, Pe = new xc(kc()), Ri = (e) => e.replace(/\t/g, ""), Sc = (e, t, r) => {
323
+ return [Oi, wc, Ta];
324
+ }, Pe = new xc(kc()), Li = (e) => e.replace(/\t/g, ""), Sc = (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 kc = () => {
335
335
  timeZone: "UTC",
336
336
  timeZoneName: "short"
337
337
  }).format(i), s = a + " " + n;
338
- return e = Ri(e), `[${s}] ${r} ${t.name}: ${e}`;
338
+ return e = Li(e), `[${s}] ${r} ${t.name}: ${e}`;
339
339
  }, Ec = 5 * 1024 * 1024;
340
340
  function Pc(e, t) {
341
341
  const r = e.headers.get("content-length") || "", i = parseInt(r, 10) || Ec;
@@ -383,7 +383,7 @@ function Ml(e, t, r) {
383
383
  });
384
384
  }
385
385
  const La = 1e-5;
386
- class In extends EventTarget {
386
+ class Rn extends EventTarget {
387
387
  constructor({
388
388
  weight: t = 1,
389
389
  caption: r = "",
@@ -432,7 +432,7 @@ class In extends EventTarget {
432
432
  `Cannot add a stage with weight ${t} as the total weight of registered stages would exceed 1.`
433
433
  );
434
434
  this._selfWeight -= t;
435
- const i = new In({
435
+ const i = new Rn({
436
436
  caption: r,
437
437
  weight: t,
438
438
  fillTime: this._fillTime
@@ -560,7 +560,7 @@ class Tc extends Error {
560
560
  super("Acquiring lock timed out");
561
561
  }
562
562
  }
563
- class Jr {
563
+ class Xr {
564
564
  constructor({ concurrency: t, timeout: r }) {
565
565
  this._running = 0, this.concurrency = t, this.timeout = r, this.queue = [];
566
566
  }
@@ -605,16 +605,16 @@ function Ee(...e) {
605
605
  }
606
606
  let r = e.join("/");
607
607
  const i = r[0] === "/", a = t(r);
608
- return r = Dn(r), !r && !i && (r = "."), r && a && !t(r) && (r += "/"), r;
608
+ return r = In(r), !r && !i && (r = "."), r && a && !t(r) && (r += "/"), r;
609
609
  }
610
- function wn(e) {
610
+ function gn(e) {
611
611
  if (e === "/")
612
612
  return "/";
613
- e = Dn(e);
613
+ e = In(e);
614
614
  const t = e.lastIndexOf("/");
615
615
  return t === -1 ? "" : t === 0 ? "/" : e.substr(0, t);
616
616
  }
617
- function Dn(e) {
617
+ function In(e) {
618
618
  const t = e[0] === "/";
619
619
  return e = Cc(
620
620
  e.split("/").filter((r) => !!r),
@@ -647,7 +647,7 @@ function wt(e) {
647
647
  JSON.stringify(e)
648
648
  )}'), true)`;
649
649
  }
650
- function $n(e) {
650
+ function Dn(e) {
651
651
  const t = {};
652
652
  for (const r in e)
653
653
  t[r] = wt(e[r]);
@@ -688,12 +688,12 @@ const Dc = {
688
688
  201: "Created",
689
689
  200: "OK"
690
690
  };
691
- class us {
691
+ class cs {
692
692
  constructor(t, r, i, a = "", n = 0) {
693
693
  this.httpStatusCode = t, this.headers = r, this.bytes = i, this.exitCode = n, this.errors = a;
694
694
  }
695
695
  static forHttpCode(t, r = "") {
696
- return new us(
696
+ return new cs(
697
697
  t,
698
698
  {},
699
699
  new TextEncoder().encode(
@@ -702,7 +702,7 @@ class us {
702
702
  );
703
703
  }
704
704
  static fromRawData(t) {
705
- return new us(
705
+ return new cs(
706
706
  t.httpStatusCode,
707
707
  t.headers,
708
708
  t.bytes,
@@ -711,7 +711,7 @@ class us {
711
711
  );
712
712
  }
713
713
  static async fromStreamedResponse(t) {
714
- return await t.finished, new us(
714
+ return await t.finished, new cs(
715
715
  await t.httpStatusCode,
716
716
  await t.headers,
717
717
  await t.stdoutBytes,
@@ -749,10 +749,10 @@ class us {
749
749
  }
750
750
  }
751
751
  const Ra = "/internal/shared/php.ini";
752
- function ra(e) {
752
+ function ta(e) {
753
753
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
754
754
  }
755
- const { hasOwnProperty: Yn } = Object.prototype, Ii = (e, t = {}) => {
755
+ const { hasOwnProperty: Vn } = Object.prototype, Ri = (e, t = {}) => {
756
756
  typeof t == "string" && (t = { section: t }), t.align = t.align === !0, t.newline = t.newline === !0, t.sort = t.sort === !0, t.whitespace = t.whitespace === !0 || t.align === !0, t.platform = t.platform || typeof process < "u" && process.platform, t.bracketedArray = t.bracketedArray !== !1;
757
757
  const r = t.platform === "win32" ? `\r
758
758
  ` : `
@@ -772,7 +772,7 @@ const { hasOwnProperty: Yn } = Object.prototype, Ii = (e, t = {}) => {
772
772
  }
773
773
  t.section && o.length && (o = "[" + Zt(t.section) + "]" + (t.newline ? r + r : r) + o);
774
774
  for (const p of a) {
775
- const c = zl(p, ".").join("\\."), m = (t.section ? t.section + "." : "") + c, h = Ii(e[p], {
775
+ const c = zl(p, ".").join("\\."), m = (t.section ? t.section + "." : "") + c, h = Ri(e[p], {
776
776
  ...t,
777
777
  section: m
778
778
  });
@@ -803,37 +803,37 @@ const Ia = (e, t = {}) => {
803
803
  if (!c)
804
804
  continue;
805
805
  if (c[1] !== void 0) {
806
- if (a = an(c[1]), a === "__proto__") {
806
+ if (a = nn(c[1]), a === "__proto__") {
807
807
  i = /* @__PURE__ */ Object.create(null);
808
808
  continue;
809
809
  }
810
810
  i = r[a] = r[a] || /* @__PURE__ */ Object.create(null);
811
811
  continue;
812
812
  }
813
- const m = an(c[2]);
813
+ const m = nn(c[2]);
814
814
  let h;
815
815
  t.bracketedArray ? h = m.length > 2 && m.slice(-2) === "[]" : (o[m] = ((o == null ? void 0 : o[m]) || 0) + 1, h = o[m] > 1);
816
816
  const _ = h ? m.slice(0, -2) : m;
817
817
  if (_ === "__proto__")
818
818
  continue;
819
- const L = c[3] ? an(c[4]) : !0, y = L === "true" || L === "false" || L === "null" ? JSON.parse(L) : L;
820
- h && (Yn.call(i, _) ? Array.isArray(i[_]) || (i[_] = [i[_]]) : i[_] = []), Array.isArray(i[_]) ? i[_].push(y) : i[_] = y;
819
+ const L = c[3] ? nn(c[4]) : !0, y = L === "true" || L === "false" || L === "null" ? JSON.parse(L) : L;
820
+ h && (Vn.call(i, _) ? Array.isArray(i[_]) || (i[_] = [i[_]]) : i[_] = []), Array.isArray(i[_]) ? i[_].push(y) : i[_] = y;
821
821
  }
822
822
  const f = [];
823
823
  for (const p of Object.keys(r)) {
824
- if (!Yn.call(r, p) || typeof r[p] != "object" || Array.isArray(r[p]))
824
+ if (!Vn.call(r, p) || typeof r[p] != "object" || Array.isArray(r[p]))
825
825
  continue;
826
826
  const c = zl(p, ".");
827
827
  i = r;
828
828
  const m = c.pop(), h = m.replace(/\\\./g, ".");
829
829
  for (const _ of c)
830
- _ !== "__proto__" && ((!Yn.call(i, _) || typeof i[_] != "object") && (i[_] = /* @__PURE__ */ Object.create(null)), i = i[_]);
830
+ _ !== "__proto__" && ((!Vn.call(i, _) || typeof i[_] != "object") && (i[_] = /* @__PURE__ */ Object.create(null)), i = i[_]);
831
831
  i === r && h === m || (i[h] = r[p], f.push(p));
832
832
  }
833
833
  for (const p of f)
834
834
  delete r[p];
835
835
  return r;
836
- }, Gl = (e) => e.startsWith('"') && e.endsWith('"') || e.startsWith("'") && e.endsWith("'"), Zt = (e) => typeof e != "string" || e.match(/[=\r\n]/) || e.match(/^\[/) || e.length > 1 && Gl(e) || e !== e.trim() ? JSON.stringify(e) : e.split(";").join("\\;").split("#").join("\\#"), an = (e) => {
836
+ }, Gl = (e) => e.startsWith('"') && e.endsWith('"') || e.startsWith("'") && e.endsWith("'"), Zt = (e) => typeof e != "string" || e.match(/[=\r\n]/) || e.match(/^\[/) || e.length > 1 && Gl(e) || e !== e.trim() ? JSON.stringify(e) : e.split(";").join("\\;").split("#").join("\\#"), nn = (e) => {
837
837
  if (e = (e || "").trim(), Gl(e)) {
838
838
  e.charAt(0) === "'" && (e = e.slice(1, -1));
839
839
  try {
@@ -859,10 +859,10 @@ const Ia = (e, t = {}) => {
859
859
  var Da = {
860
860
  parse: Ia,
861
861
  decode: Ia,
862
- stringify: Ii,
863
- encode: Ii,
862
+ stringify: Ri,
863
+ encode: Ri,
864
864
  safe: Zt,
865
- unsafe: an
865
+ unsafe: nn
866
866
  };
867
867
  async function mg(e, t) {
868
868
  const r = Da.parse(await e.readFileAsText(Ra));
@@ -895,7 +895,7 @@ function Hc(e) {
895
895
  async function Fc(e, t) {
896
896
  return await e.pipeThrough(Hc()).getReader().read().then(({ value: r }) => r);
897
897
  }
898
- class bs extends File {
898
+ class ws extends File {
899
899
  /**
900
900
  * Creates a new StreamedFile instance.
901
901
  *
@@ -953,8 +953,8 @@ ReadableStream.prototype[Symbol.asyncIterator] || (ReadableStream.prototype[Symb
953
953
  }
954
954
  }, ReadableStream.prototype.iterate = // @ts-ignore
955
955
  ReadableStream.prototype[Symbol.asyncIterator]);
956
- new Jr({ concurrency: 10 });
957
- const sa = [
956
+ new Xr({ concurrency: 10 });
957
+ const ra = [
958
958
  "8.4",
959
959
  "8.3",
960
960
  "8.2",
@@ -963,12 +963,12 @@ const sa = [
963
963
  "7.4",
964
964
  "7.3",
965
965
  "7.2"
966
- ], Nc = sa[0], yg = sa;
967
- async function Hn(e, t, r, { rmRoot: i = !1 } = {}) {
966
+ ], Nc = ra[0], yg = ra;
967
+ async function $n(e, t, r, { rmRoot: i = !1 } = {}) {
968
968
  i && await e.isDir(t) && await e.rmdir(t, { recursive: !0 });
969
969
  for (const [a, n] of Object.entries(r)) {
970
970
  const s = Ee(t, a);
971
- await e.fileExists(wn(s)) || await e.mkdir(wn(s)), n instanceof Uint8Array || typeof n == "string" ? await e.writeFile(s, n) : await Hn(e, s, n);
971
+ await e.fileExists(gn(s)) || await e.mkdir(gn(s)), n instanceof Uint8Array || typeof n == "string" ? await e.writeFile(s, n) : await $n(e, s, n);
972
972
  }
973
973
  }
974
974
  /**
@@ -978,13 +978,13 @@ async function Hn(e, t, r, { rmRoot: i = !1 } = {}) {
978
978
  * Copyright 2019 Google LLC
979
979
  * SPDX-License-Identifier: Apache-2.0
980
980
  */
981
- const Zl = Symbol("Comlink.proxy"), Bc = Symbol("Comlink.endpoint"), jc = Symbol("Comlink.releaseProxy"), Xn = Symbol("Comlink.finalizer"), on = Symbol("Comlink.thrown");
981
+ const Zl = Symbol("Comlink.proxy"), Bc = Symbol("Comlink.endpoint"), jc = Symbol("Comlink.releaseProxy"), Yn = Symbol("Comlink.finalizer"), an = Symbol("Comlink.thrown");
982
982
  /**
983
983
  * @license
984
984
  * Copyright 2019 Google LLC
985
985
  * SPDX-License-Identifier: Apache-2.0
986
986
  */
987
- const bn = {
987
+ const wn = {
988
988
  RAW: "RAW",
989
989
  HANDLER: "HANDLER"
990
990
  }, _t = {
@@ -998,13 +998,13 @@ const bn = {
998
998
  canHandle: (e) => Vl(e) && e[Zl],
999
999
  serialize(e) {
1000
1000
  const { port1: t, port2: r } = new MessageChannel();
1001
- return na(e, t), [r, [r]];
1001
+ return sa(e, t), [r, [r]];
1002
1002
  },
1003
1003
  deserialize(e) {
1004
- return e.start(), ia(e);
1004
+ return e.start(), na(e);
1005
1005
  }
1006
1006
  }, Uc = {
1007
- canHandle: (e) => Vl(e) && on in e,
1007
+ canHandle: (e) => Vl(e) && an in e,
1008
1008
  serialize({ value: e }) {
1009
1009
  let t;
1010
1010
  return e instanceof Error ? t = {
@@ -1032,7 +1032,7 @@ function Mc(e, t) {
1032
1032
  return !0;
1033
1033
  return !1;
1034
1034
  }
1035
- function na(e, t = globalThis, r = ["*"], i) {
1035
+ function sa(e, t = globalThis, r = ["*"], i) {
1036
1036
  t.addEventListener("message", function a(n) {
1037
1037
  if (!n || !n.data)
1038
1038
  return;
@@ -1043,7 +1043,7 @@ function na(e, t = globalThis, r = ["*"], i) {
1043
1043
  const { id: s, type: o, path: f } = {
1044
1044
  path: [],
1045
1045
  ...n.data
1046
- }, p = (n.data.argumentList || []).map(br);
1046
+ }, p = (n.data.argumentList || []).map(wr);
1047
1047
  let c;
1048
1048
  try {
1049
1049
  const m = f.slice(0, -1).reduce((_, L) => _[L], e), h = f.reduce((_, L) => _[L], e);
@@ -1052,7 +1052,7 @@ function na(e, t = globalThis, r = ["*"], i) {
1052
1052
  c = h;
1053
1053
  break;
1054
1054
  case _t.SET:
1055
- m[f.slice(-1)[0]] = br(
1055
+ m[f.slice(-1)[0]] = wr(
1056
1056
  n.data.value
1057
1057
  ), c = !0;
1058
1058
  break;
@@ -1068,7 +1068,7 @@ function na(e, t = globalThis, r = ["*"], i) {
1068
1068
  case _t.ENDPOINT:
1069
1069
  {
1070
1070
  const { port1: _, port2: L } = new MessageChannel();
1071
- na(e, L), c = Zc(_, [_]);
1071
+ sa(e, L), c = Zc(_, [_]);
1072
1072
  }
1073
1073
  break;
1074
1074
  case _t.RELEASE:
@@ -1078,15 +1078,15 @@ function na(e, t = globalThis, r = ["*"], i) {
1078
1078
  return;
1079
1079
  }
1080
1080
  } catch (m) {
1081
- c = { value: m, [on]: 0 };
1081
+ c = { value: m, [an]: 0 };
1082
1082
  }
1083
- Promise.resolve(c).catch((m) => ({ value: m, [on]: 0 })).then((m) => {
1084
- const [h, _] = kn(m);
1085
- t.postMessage({ ...h, id: s }, _), o === _t.RELEASE && (t.removeEventListener("message", a), Yl(t), Xn in e && typeof e[Xn] == "function" && e[Xn]());
1083
+ Promise.resolve(c).catch((m) => ({ value: m, [an]: 0 })).then((m) => {
1084
+ const [h, _] = xn(m);
1085
+ t.postMessage({ ...h, id: s }, _), o === _t.RELEASE && (t.removeEventListener("message", a), Yl(t), Yn in e && typeof e[Yn] == "function" && e[Yn]());
1086
1086
  }).catch(() => {
1087
- const [m, h] = kn({
1087
+ const [m, h] = xn({
1088
1088
  value: new TypeError("Unserializable return value"),
1089
- [on]: 0
1089
+ [an]: 0
1090
1090
  });
1091
1091
  t.postMessage({ ...m, id: s }, h);
1092
1092
  }).finally(() => {
@@ -1099,7 +1099,7 @@ function qc(e) {
1099
1099
  function Yl(e) {
1100
1100
  qc(e) && e.close();
1101
1101
  }
1102
- function ia(e, t) {
1102
+ function na(e, t) {
1103
1103
  const r = /* @__PURE__ */ new Map();
1104
1104
  return e.addEventListener("message", function(a) {
1105
1105
  const { data: n } = a;
@@ -1112,54 +1112,54 @@ function ia(e, t) {
1112
1112
  } finally {
1113
1113
  r.delete(n.id);
1114
1114
  }
1115
- }), Di(e, r, [], t);
1115
+ }), Ii(e, r, [], t);
1116
1116
  }
1117
- function Us(e) {
1117
+ function Ws(e) {
1118
1118
  if (e)
1119
1119
  throw new Error("Proxy has been released and is not useable");
1120
1120
  }
1121
1121
  function Xl(e) {
1122
- return Mr(e, /* @__PURE__ */ new Map(), {
1122
+ return Ur(e, /* @__PURE__ */ new Map(), {
1123
1123
  type: _t.RELEASE
1124
1124
  }).then(() => {
1125
1125
  Yl(e);
1126
1126
  });
1127
1127
  }
1128
- const vn = /* @__PURE__ */ new WeakMap(), xn = "FinalizationRegistry" in globalThis && new FinalizationRegistry((e) => {
1129
- const t = (vn.get(e) || 0) - 1;
1130
- vn.set(e, t), t === 0 && Xl(e);
1128
+ const bn = /* @__PURE__ */ new WeakMap(), vn = "FinalizationRegistry" in globalThis && new FinalizationRegistry((e) => {
1129
+ const t = (bn.get(e) || 0) - 1;
1130
+ bn.set(e, t), t === 0 && Xl(e);
1131
1131
  });
1132
1132
  function Kc(e, t) {
1133
- const r = (vn.get(t) || 0) + 1;
1134
- vn.set(t, r), xn && xn.register(e, t, e);
1133
+ const r = (bn.get(t) || 0) + 1;
1134
+ bn.set(t, r), vn && vn.register(e, t, e);
1135
1135
  }
1136
1136
  function zc(e) {
1137
- xn && xn.unregister(e);
1137
+ vn && vn.unregister(e);
1138
1138
  }
1139
- function Di(e, t, r = [], i = function() {
1139
+ function Ii(e, t, r = [], i = function() {
1140
1140
  }) {
1141
1141
  let a = !1;
1142
1142
  const n = new Proxy(i, {
1143
1143
  get(s, o) {
1144
- if (Us(a), o === jc)
1144
+ if (Ws(a), o === jc)
1145
1145
  return () => {
1146
1146
  zc(n), Xl(e), t.clear(), a = !0;
1147
1147
  };
1148
1148
  if (o === "then") {
1149
1149
  if (r.length === 0)
1150
1150
  return { then: () => n };
1151
- const f = Mr(e, t, {
1151
+ const f = Ur(e, t, {
1152
1152
  type: _t.GET,
1153
1153
  path: r.map((p) => p.toString())
1154
- }).then(br);
1154
+ }).then(wr);
1155
1155
  return f.then.bind(f);
1156
1156
  }
1157
- return Di(e, t, [...r, o]);
1157
+ return Ii(e, t, [...r, o]);
1158
1158
  },
1159
1159
  set(s, o, f) {
1160
- Us(a);
1161
- const [p, c] = kn(f);
1162
- return Mr(
1160
+ Ws(a);
1161
+ const [p, c] = xn(f);
1162
+ return Ur(
1163
1163
  e,
1164
1164
  t,
1165
1165
  {
@@ -1168,19 +1168,19 @@ function Di(e, t, r = [], i = function() {
1168
1168
  value: p
1169
1169
  },
1170
1170
  c
1171
- ).then(br);
1171
+ ).then(wr);
1172
1172
  },
1173
1173
  apply(s, o, f) {
1174
- Us(a);
1174
+ Ws(a);
1175
1175
  const p = r[r.length - 1];
1176
1176
  if (p === Bc)
1177
- return Mr(e, t, {
1177
+ return Ur(e, t, {
1178
1178
  type: _t.ENDPOINT
1179
- }).then(br);
1179
+ }).then(wr);
1180
1180
  if (p === "bind")
1181
- return Di(e, t, r.slice(0, -1));
1181
+ return Ii(e, t, r.slice(0, -1));
1182
1182
  const [c, m] = $a(f);
1183
- return Mr(
1183
+ return Ur(
1184
1184
  e,
1185
1185
  t,
1186
1186
  {
@@ -1189,12 +1189,12 @@ function Di(e, t, r = [], i = function() {
1189
1189
  argumentList: c
1190
1190
  },
1191
1191
  m
1192
- ).then(br);
1192
+ ).then(wr);
1193
1193
  },
1194
1194
  construct(s, o) {
1195
- Us(a);
1195
+ Ws(a);
1196
1196
  const [f, p] = $a(o);
1197
- return Mr(
1197
+ return Ur(
1198
1198
  e,
1199
1199
  t,
1200
1200
  {
@@ -1203,7 +1203,7 @@ function Di(e, t, r = [], i = function() {
1203
1203
  argumentList: f
1204
1204
  },
1205
1205
  p
1206
- ).then(br);
1206
+ ).then(wr);
1207
1207
  }
1208
1208
  });
1209
1209
  return Kc(n, e), n;
@@ -1212,7 +1212,7 @@ function Gc(e) {
1212
1212
  return Array.prototype.concat.apply([], e);
1213
1213
  }
1214
1214
  function $a(e) {
1215
- const t = e.map(kn);
1215
+ const t = e.map(xn);
1216
1216
  return [t.map((r) => r[0]), Gc(t.map((r) => r[1]))];
1217
1217
  }
1218
1218
  const Jl = /* @__PURE__ */ new WeakMap();
@@ -1229,13 +1229,13 @@ function Vc(e, t = globalThis, r = "*") {
1229
1229
  removeEventListener: t.removeEventListener.bind(t)
1230
1230
  };
1231
1231
  }
1232
- function kn(e) {
1232
+ function xn(e) {
1233
1233
  for (const [t, r] of Xt)
1234
1234
  if (r.canHandle(e)) {
1235
1235
  const [i, a] = r.serialize(e);
1236
1236
  return [
1237
1237
  {
1238
- type: bn.HANDLER,
1238
+ type: wn.HANDLER,
1239
1239
  name: t,
1240
1240
  value: i
1241
1241
  },
@@ -1244,21 +1244,21 @@ function kn(e) {
1244
1244
  }
1245
1245
  return [
1246
1246
  {
1247
- type: bn.RAW,
1247
+ type: wn.RAW,
1248
1248
  value: e
1249
1249
  },
1250
1250
  Jl.get(e) || []
1251
1251
  ];
1252
1252
  }
1253
- function br(e) {
1253
+ function wr(e) {
1254
1254
  switch (e.type) {
1255
- case bn.HANDLER:
1255
+ case wn.HANDLER:
1256
1256
  return Xt.get(e.name).deserialize(e.value);
1257
- case bn.RAW:
1257
+ case wn.RAW:
1258
1258
  return e.value;
1259
1259
  }
1260
1260
  }
1261
- function Mr(e, t, r, i) {
1261
+ function Ur(e, t, r, i) {
1262
1262
  return new Promise((a) => {
1263
1263
  const n = Yc();
1264
1264
  t.set(n, a), e.start && e.start(), e.postMessage({ id: n, ...r }, i);
@@ -1303,9 +1303,9 @@ const Jc = [
1303
1303
  globalThis.AssertionError,
1304
1304
  globalThis.SystemError
1305
1305
  ].filter(Boolean).map((e) => [e.name, e]), Qc = new Map(Jc);
1306
- class aa extends Error {
1306
+ class ia extends Error {
1307
1307
  constructor(t) {
1308
- super(aa._prepareSuperMessage(t)), this.name = "NonError";
1308
+ super(ia._prepareSuperMessage(t)), this.name = "NonError";
1309
1309
  }
1310
1310
  static _prepareSuperMessage(t) {
1311
1311
  try {
@@ -1340,14 +1340,14 @@ const eu = [
1340
1340
  property: "errors",
1341
1341
  enumerable: !1
1342
1342
  }
1343
- ], $i = /* @__PURE__ */ new WeakSet(), tu = (e) => {
1344
- $i.add(e);
1343
+ ], Di = /* @__PURE__ */ new WeakSet(), tu = (e) => {
1344
+ Di.add(e);
1345
1345
  const t = e.toJSON();
1346
- return $i.delete(e), t;
1346
+ return Di.delete(e), t;
1347
1347
  }, ef = (e) => {
1348
1348
  const t = Qc.get(e) ?? Error;
1349
1349
  return t === AggregateError ? new t([]) : new t();
1350
- }, oa = ({
1350
+ }, aa = ({
1351
1351
  from: e,
1352
1352
  seen: t,
1353
1353
  to: r,
@@ -1359,9 +1359,9 @@ const eu = [
1359
1359
  }) => {
1360
1360
  if (r || (Array.isArray(e) ? r = [] : !o && Ha(e) ? r = ef(e.name) : r = {}), t.push(e), n >= a)
1361
1361
  return r;
1362
- if (s && typeof e.toJSON == "function" && !$i.has(e))
1362
+ if (s && typeof e.toJSON == "function" && !Di.has(e))
1363
1363
  return tu(e);
1364
- const f = (p) => oa({
1364
+ const f = (p) => aa({
1365
1365
  from: p,
1366
1366
  seen: [...t],
1367
1367
  forceEnumerable: i,
@@ -1406,7 +1406,7 @@ const eu = [
1406
1406
  };
1407
1407
  function ru(e, t = {}) {
1408
1408
  const { maxDepth: r = Number.POSITIVE_INFINITY, useToJSON: i = !0 } = t;
1409
- return typeof e == "object" && e !== null ? oa({
1409
+ return typeof e == "object" && e !== null ? aa({
1410
1410
  from: e,
1411
1411
  seen: [],
1412
1412
  forceEnumerable: !0,
@@ -1418,14 +1418,14 @@ function ru(e, t = {}) {
1418
1418
  }
1419
1419
  function su(e, t = {}) {
1420
1420
  const { maxDepth: r = Number.POSITIVE_INFINITY } = t;
1421
- return e instanceof Error ? e : nu(e) ? oa({
1421
+ return e instanceof Error ? e : nu(e) ? aa({
1422
1422
  from: e,
1423
1423
  seen: [],
1424
1424
  to: ef(e.name),
1425
1425
  maxDepth: r,
1426
1426
  depth: 0,
1427
1427
  serialize: !1
1428
- }) : new aa(e);
1428
+ }) : new ia(e);
1429
1429
  }
1430
1430
  function Ha(e) {
1431
1431
  return !!e && typeof e == "object" && typeof e.name == "string" && typeof e.message == "string" && typeof e.stack == "string";
@@ -1437,7 +1437,7 @@ function tf(e, t = void 0) {
1437
1437
  au();
1438
1438
  let r;
1439
1439
  import.meta.url.startsWith("file://") ? r = Xc(e) : r = e instanceof Worker ? e : Vc(e, t);
1440
- const a = ia(r), n = rf(a);
1440
+ const a = na(r), n = rf(a);
1441
1441
  return new Proxy(n, {
1442
1442
  get: (s, o) => o === "isConnected" ? async () => {
1443
1443
  for (; ; )
@@ -1473,10 +1473,10 @@ function au() {
1473
1473
  // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
1474
1474
  serialize(r) {
1475
1475
  const { port1: i, port2: a } = new MessageChannel();
1476
- return na(r, i), [a, [a]];
1476
+ return sa(r, i), [a, [a]];
1477
1477
  },
1478
1478
  deserialize(r) {
1479
- return r.start(), ia(r);
1479
+ return r.start(), na(r);
1480
1480
  }
1481
1481
  }), Xt.set("MESSAGE_PORT", {
1482
1482
  canHandle: (r) => r instanceof MessagePort,
@@ -1492,7 +1492,7 @@ function au() {
1492
1492
  return [r.toRawData(), []];
1493
1493
  },
1494
1494
  deserialize(r) {
1495
- return us.fromRawData(r);
1495
+ return cs.fromRawData(r);
1496
1496
  }
1497
1497
  });
1498
1498
  const e = Xt.get("throw"), t = e == null ? void 0 : e.serialize;
@@ -1542,8 +1542,8 @@ function rf(e) {
1542
1542
  }
1543
1543
  });
1544
1544
  }
1545
- new Jr({ concurrency: 15 });
1546
- new Jr({ concurrency: 10 });
1545
+ new Xr({ concurrency: 15 });
1546
+ new Xr({ concurrency: 10 });
1547
1547
  function fu(e) {
1548
1548
  let t = [e];
1549
1549
  return {
@@ -1653,7 +1653,7 @@ class Ze {
1653
1653
  };
1654
1654
  }
1655
1655
  }
1656
- class Qr extends Error {
1656
+ class Jr extends Error {
1657
1657
  constructor(t) {
1658
1658
  super(t), this.caller = "";
1659
1659
  }
@@ -1667,14 +1667,14 @@ class Qr extends Error {
1667
1667
  };
1668
1668
  }
1669
1669
  fromJSON(t) {
1670
- const r = new Qr(t.message);
1670
+ const r = new Jr(t.message);
1671
1671
  return r.code = t.code, r.data = t.data, r.caller = t.caller, r.stack = t.stack, r;
1672
1672
  }
1673
1673
  get isIsomorphicGitError() {
1674
1674
  return !0;
1675
1675
  }
1676
1676
  }
1677
- class He extends Qr {
1677
+ class He extends Jr {
1678
1678
  /**
1679
1679
  * @param {string} message
1680
1680
  */
@@ -1685,15 +1685,15 @@ class He extends Qr {
1685
1685
  }
1686
1686
  }
1687
1687
  He.code = "InternalError";
1688
- class Fn extends Qr {
1688
+ class Hn extends Jr {
1689
1689
  /**
1690
1690
  * @param {string} filepath
1691
1691
  */
1692
1692
  constructor(t) {
1693
- super(`The filepath "${t}" contains unsafe character sequences`), this.code = this.name = Fn.code, this.data = { filepath: t };
1693
+ super(`The filepath "${t}" contains unsafe character sequences`), this.code = this.name = Hn.code, this.data = { filepath: t };
1694
1694
  }
1695
1695
  }
1696
- Fn.code = "UnsafeFilepathError";
1696
+ Hn.code = "UnsafeFilepathError";
1697
1697
  function af(e, t) {
1698
1698
  return -(e < t) || +(e > t);
1699
1699
  }
@@ -1739,7 +1739,7 @@ function hu(e) {
1739
1739
  n === "40000" && (n = "040000");
1740
1740
  const s = of(n), o = e.slice(i + 1, a).toString("utf8");
1741
1741
  if (o.includes("\\") || o.includes("/"))
1742
- throw new Fn(o);
1742
+ throw new Hn(o);
1743
1743
  const f = e.slice(a + 1, a + 21).toString("hex");
1744
1744
  r = a + 21, t.push({ mode: n, path: o, oid: f, type: s });
1745
1745
  }
@@ -1756,7 +1756,7 @@ function mu(e) {
1756
1756
  function yu(e) {
1757
1757
  return !e.oid && e.sha && (e.oid = e.sha), e.mode = mu(e.mode), e.type || (e.type = of(e.mode)), e;
1758
1758
  }
1759
- class la {
1759
+ class oa {
1760
1760
  constructor(t) {
1761
1761
  if (Buffer.isBuffer(t))
1762
1762
  this._entries = hu(t);
@@ -1767,7 +1767,7 @@ class la {
1767
1767
  this._entries.sort(uu);
1768
1768
  }
1769
1769
  static from(t) {
1770
- return new la(t);
1770
+ return new oa(t);
1771
1771
  }
1772
1772
  render() {
1773
1773
  return this._entries.map((t) => `${t.mode} ${t.type} ${t.oid} ${t.path}`).join(`
@@ -1793,7 +1793,7 @@ class la {
1793
1793
  yield t;
1794
1794
  }
1795
1795
  }
1796
- function Hi({ name: e, email: t, timestamp: r, timezoneOffset: i }) {
1796
+ function $i({ name: e, email: t, timestamp: r, timezoneOffset: i }) {
1797
1797
  return i = _u(i), `${e} <${t}> ${r} ${i}`;
1798
1798
  }
1799
1799
  function _u(e) {
@@ -1814,7 +1814,7 @@ function Vt(e) {
1814
1814
  return e = e.replace(/\r/g, ""), e = e.replace(/^\n+/, ""), e = e.replace(/\n+$/, "") + `
1815
1815
  `, e;
1816
1816
  }
1817
- function Sn(e) {
1817
+ function kn(e) {
1818
1818
  const [, t, r, i, a] = e.match(
1819
1819
  /^(.*) <(.*)> (.*) (.*)$/
1820
1820
  );
@@ -1832,27 +1832,27 @@ function bu(e) {
1832
1832
  function vu(e) {
1833
1833
  return e === 0 ? e : -e;
1834
1834
  }
1835
- class ds {
1835
+ class us {
1836
1836
  constructor(t) {
1837
1837
  if (typeof t == "string")
1838
1838
  this._tag = t;
1839
1839
  else if (Buffer.isBuffer(t))
1840
1840
  this._tag = t.toString("utf8");
1841
1841
  else if (typeof t == "object")
1842
- this._tag = ds.render(t);
1842
+ this._tag = us.render(t);
1843
1843
  else
1844
1844
  throw new He(
1845
1845
  "invalid type passed to GitAnnotatedTag constructor"
1846
1846
  );
1847
1847
  }
1848
1848
  static from(t) {
1849
- return new ds(t);
1849
+ return new us(t);
1850
1850
  }
1851
1851
  static render(t) {
1852
1852
  return `object ${t.object}
1853
1853
  type ${t.type}
1854
1854
  tag ${t.tag}
1855
- tagger ${Hi(t.tagger)}
1855
+ tagger ${$i(t.tagger)}
1856
1856
 
1857
1857
  ${t.message}
1858
1858
  ${t.gpgsig ? t.gpgsig : ""}`;
@@ -1888,7 +1888,7 @@ ${t.gpgsig ? t.gpgsig : ""}`;
1888
1888
  const n = a.slice(0, a.indexOf(" ")), s = a.slice(a.indexOf(" ") + 1);
1889
1889
  Array.isArray(i[n]) ? i[n].push(s) : i[n] = s;
1890
1890
  }
1891
- return i.tagger && (i.tagger = Sn(i.tagger)), i.committer && (i.committer = Sn(i.committer)), i;
1891
+ return i.tagger && (i.tagger = kn(i.tagger)), i.committer && (i.committer = kn(i.committer)), i;
1892
1892
  }
1893
1893
  withoutSignature() {
1894
1894
  const t = Vt(this._tag);
@@ -1917,10 +1917,10 @@ ${t.gpgsig ? t.gpgsig : ""}`;
1917
1917
  let { signature: n } = await r({ payload: a, secretKey: i });
1918
1918
  n = Vt(n);
1919
1919
  const s = a + n;
1920
- return ds.from(s);
1920
+ return us.from(s);
1921
1921
  }
1922
1922
  }
1923
- function Jn(e) {
1923
+ function Xn(e) {
1924
1924
  return e.trim().split(`
1925
1925
  `).map((t) => " " + t).join(`
1926
1926
  `) + `
@@ -1945,7 +1945,7 @@ class ht {
1945
1945
  static fromPayloadSignature({ payload: t, signature: r }) {
1946
1946
  const i = ht.justHeaders(t), a = ht.justMessage(t), n = Vt(
1947
1947
  i + `
1948
- gpgsig` + Jn(r) + `
1948
+ gpgsig` + Xn(r) + `
1949
1949
  ` + a
1950
1950
  );
1951
1951
  return new ht(n);
@@ -1990,7 +1990,7 @@ gpgsig` + Jn(r) + `
1990
1990
  const n = a.slice(0, a.indexOf(" ")), s = a.slice(a.indexOf(" ") + 1);
1991
1991
  Array.isArray(i[n]) ? i[n].push(s) : i[n] = s;
1992
1992
  }
1993
- return i.author && (i.author = Sn(i.author)), i.committer && (i.committer = Sn(i.committer)), i;
1993
+ return i.author && (i.author = kn(i.author)), i.committer && (i.committer = kn(i.committer)), i;
1994
1994
  }
1995
1995
  static renderHeaders(t) {
1996
1996
  let r = "";
@@ -2004,11 +2004,11 @@ gpgsig` + Jn(r) + `
2004
2004
  `;
2005
2005
  }
2006
2006
  const i = t.author;
2007
- r += `author ${Hi(i)}
2007
+ r += `author ${$i(i)}
2008
2008
  `;
2009
2009
  const a = t.committer || t.author;
2010
- return r += `committer ${Hi(a)}
2011
- `, t.gpgsig && (r += "gpgsig" + Jn(t.gpgsig)), r;
2010
+ return r += `committer ${$i(a)}
2011
+ `, t.gpgsig && (r += "gpgsig" + Xn(t.gpgsig)), r;
2012
2012
  }
2013
2013
  static render(t) {
2014
2014
  return ht.renderHeaders(t) + `
@@ -2041,7 +2041,7 @@ gpgsig`)), i = t.slice(
2041
2041
  let { signature: s } = await r({ payload: a, secretKey: i });
2042
2042
  s = Vt(s);
2043
2043
  const f = ht.justHeaders(t._commit) + `
2044
- gpgsig` + Jn(s) + `
2044
+ gpgsig` + Xn(s) + `
2045
2045
  ` + n;
2046
2046
  return ht.from(f);
2047
2047
  }
@@ -2086,7 +2086,7 @@ var lf = {};
2086
2086
  t.table = i, t.bstr = A, t.buf = $, t.str = S;
2087
2087
  });
2088
2088
  })(lf);
2089
- const ku = /* @__PURE__ */ ra(lf);
2089
+ const ku = /* @__PURE__ */ ta(lf);
2090
2090
  class Su {
2091
2091
  static wrap({ type: t, object: r }) {
2092
2092
  return Buffer.concat([
@@ -2106,7 +2106,7 @@ class Su {
2106
2106
  };
2107
2107
  }
2108
2108
  }
2109
- class vr {
2109
+ class br {
2110
2110
  constructor(t) {
2111
2111
  this.buffer = t, this._start = 0;
2112
2112
  }
@@ -2161,7 +2161,7 @@ class vr {
2161
2161
  }
2162
2162
  }
2163
2163
  function Eu(e, t) {
2164
- const r = new vr(e), i = Ba(r);
2164
+ const r = new br(e), i = Ba(r);
2165
2165
  if (i !== t.byteLength)
2166
2166
  throw new He(
2167
2167
  `applyDelta expected source buffer to be ${i} bytes but the provided buffer was ${t.length} bytes`
@@ -2173,7 +2173,7 @@ function Eu(e, t) {
2173
2173
  n = s;
2174
2174
  else {
2175
2175
  n = Buffer.alloc(a);
2176
- const o = new vr(n);
2176
+ const o = new br(n);
2177
2177
  for (o.copy(s); !r.eof(); )
2178
2178
  o.copy(Wa(r, t));
2179
2179
  const f = o.tell();
@@ -2206,7 +2206,7 @@ function Wa(e, t) {
2206
2206
  } else
2207
2207
  return e.slice(r);
2208
2208
  }
2209
- var tr = {};
2209
+ var er = {};
2210
2210
  (function(e) {
2211
2211
  var t = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
2212
2212
  function r(n, s) {
@@ -2257,48 +2257,48 @@ var tr = {};
2257
2257
  e.setTyped = function(n) {
2258
2258
  n ? (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));
2259
2259
  }, e.setTyped(t);
2260
- })(tr);
2261
- var Is = {}, qt = {}, es = {}, Pu = tr, Au = 4, Ua = 0, Ma = 1, Tu = 2;
2262
- function ts(e) {
2260
+ })(er);
2261
+ var Rs = {}, qt = {}, Qr = {}, Pu = er, Au = 4, Ua = 0, Ma = 1, Tu = 2;
2262
+ function es(e) {
2263
2263
  for (var t = e.length; --t >= 0; )
2264
2264
  e[t] = 0;
2265
2265
  }
2266
- var Cu = 0, ff = 1, Ou = 2, Lu = 3, Ru = 258, fa = 29, Ds = 256, vs = Ds + 1 + fa, Gr = 30, pa = 19, pf = 2 * vs + 1, kr = 15, Qn = 16, Iu = 7, ca = 256, cf = 16, uf = 17, df = 18, Fi = (
2266
+ var Cu = 0, ff = 1, Ou = 2, Lu = 3, Ru = 258, la = 29, Is = 256, bs = Is + 1 + la, zr = 30, fa = 19, pf = 2 * bs + 1, xr = 15, Jn = 16, Iu = 7, pa = 256, cf = 16, uf = 17, df = 18, Hi = (
2267
2267
  /* extra bits for each length code */
2268
2268
  [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]
2269
- ), ln = (
2269
+ ), on = (
2270
2270
  /* extra bits for each distance code */
2271
2271
  [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]
2272
2272
  ), Du = (
2273
2273
  /* extra bits for each bit length code */
2274
2274
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]
2275
- ), hf = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], $u = 512, Yt = new Array((vs + 2) * 2);
2276
- ts(Yt);
2277
- var hs = new Array(Gr * 2);
2278
- ts(hs);
2279
- var xs = new Array($u);
2280
- ts(xs);
2281
- var ks = new Array(Ru - Lu + 1);
2282
- ts(ks);
2283
- var ua = new Array(fa);
2284
- ts(ua);
2285
- var En = new Array(Gr);
2286
- ts(En);
2287
- function ei(e, t, r, i, a) {
2275
+ ), hf = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], $u = 512, Yt = new Array((bs + 2) * 2);
2276
+ es(Yt);
2277
+ var ds = new Array(zr * 2);
2278
+ es(ds);
2279
+ var vs = new Array($u);
2280
+ es(vs);
2281
+ var xs = new Array(Ru - Lu + 1);
2282
+ es(xs);
2283
+ var ca = new Array(la);
2284
+ es(ca);
2285
+ var Sn = new Array(zr);
2286
+ es(Sn);
2287
+ function Qn(e, t, r, i, a) {
2288
2288
  this.static_tree = e, this.extra_bits = t, this.extra_base = r, this.elems = i, this.max_length = a, this.has_stree = e && e.length;
2289
2289
  }
2290
2290
  var mf, yf, _f;
2291
- function ti(e, t) {
2291
+ function ei(e, t) {
2292
2292
  this.dyn_tree = e, this.max_code = 0, this.stat_desc = t;
2293
2293
  }
2294
2294
  function gf(e) {
2295
- return e < 256 ? xs[e] : xs[256 + (e >>> 7)];
2295
+ return e < 256 ? vs[e] : vs[256 + (e >>> 7)];
2296
2296
  }
2297
- function Ss(e, t) {
2297
+ function ks(e, t) {
2298
2298
  e.pending_buf[e.pending++] = t & 255, e.pending_buf[e.pending++] = t >>> 8 & 255;
2299
2299
  }
2300
2300
  function pt(e, t, r) {
2301
- e.bi_valid > Qn - r ? (e.bi_buf |= t << e.bi_valid & 65535, Ss(e, e.bi_buf), e.bi_buf = t >> Qn - e.bi_valid, e.bi_valid += r - Qn) : (e.bi_buf |= t << e.bi_valid & 65535, e.bi_valid += r);
2301
+ e.bi_valid > Jn - r ? (e.bi_buf |= t << e.bi_valid & 65535, ks(e, e.bi_buf), e.bi_buf = t >> Jn - e.bi_valid, e.bi_valid += r - Jn) : (e.bi_buf |= t << e.bi_valid & 65535, e.bi_valid += r);
2302
2302
  }
2303
2303
  function Bt(e, t, r) {
2304
2304
  pt(
@@ -2316,11 +2316,11 @@ function wf(e, t) {
2316
2316
  return r >>> 1;
2317
2317
  }
2318
2318
  function Hu(e) {
2319
- e.bi_valid === 16 ? (Ss(e, e.bi_buf), e.bi_buf = 0, e.bi_valid = 0) : e.bi_valid >= 8 && (e.pending_buf[e.pending++] = e.bi_buf & 255, e.bi_buf >>= 8, e.bi_valid -= 8);
2319
+ e.bi_valid === 16 ? (ks(e, e.bi_buf), e.bi_buf = 0, e.bi_valid = 0) : e.bi_valid >= 8 && (e.pending_buf[e.pending++] = e.bi_buf & 255, e.bi_buf >>= 8, e.bi_valid -= 8);
2320
2320
  }
2321
2321
  function Fu(e, t) {
2322
2322
  var r = t.dyn_tree, i = t.max_code, a = t.stat_desc.static_tree, n = t.stat_desc.has_stree, s = t.stat_desc.extra_bits, o = t.stat_desc.extra_base, f = t.stat_desc.max_length, p, c, m, h, _, L, y = 0;
2323
- for (h = 0; h <= kr; h++)
2323
+ for (h = 0; h <= xr; h++)
2324
2324
  e.bl_count[h] = 0;
2325
2325
  for (r[e.heap[e.heap_max] * 2 + 1] = 0, p = e.heap_max + 1; p < pf; p++)
2326
2326
  c = e.heap[p], h = r[r[c * 2 + 1] * 2 + 1] + 1, h > f && (h = f, y++), r[c * 2 + 1] = h, !(c > i) && (e.bl_count[h]++, _ = 0, c >= o && (_ = s[c - o]), L = r[c * 2], e.opt_len += L * (h + _), n && (e.static_len += L * (a[c * 2 + 1] + _)));
@@ -2336,8 +2336,8 @@ function Fu(e, t) {
2336
2336
  }
2337
2337
  }
2338
2338
  function bf(e, t, r) {
2339
- var i = new Array(kr + 1), a = 0, n, s;
2340
- for (n = 1; n <= kr; n++)
2339
+ var i = new Array(xr + 1), a = 0, n, s;
2340
+ for (n = 1; n <= xr; n++)
2341
2341
  i[n] = a = a + r[n - 1] << 1;
2342
2342
  for (s = 0; s <= t; s++) {
2343
2343
  var o = e[s * 2 + 1];
@@ -2345,17 +2345,17 @@ function bf(e, t, r) {
2345
2345
  }
2346
2346
  }
2347
2347
  function Nu() {
2348
- var e, t, r, i, a, n = new Array(kr + 1);
2349
- for (r = 0, i = 0; i < fa - 1; i++)
2350
- for (ua[i] = r, e = 0; e < 1 << Fi[i]; e++)
2351
- ks[r++] = i;
2352
- for (ks[r - 1] = i, a = 0, i = 0; i < 16; i++)
2353
- for (En[i] = a, e = 0; e < 1 << ln[i]; e++)
2354
- xs[a++] = i;
2355
- for (a >>= 7; i < Gr; i++)
2356
- for (En[i] = a << 7, e = 0; e < 1 << ln[i] - 7; e++)
2357
- xs[256 + a++] = i;
2358
- for (t = 0; t <= kr; t++)
2348
+ var e, t, r, i, a, n = new Array(xr + 1);
2349
+ for (r = 0, i = 0; i < la - 1; i++)
2350
+ for (ca[i] = r, e = 0; e < 1 << Hi[i]; e++)
2351
+ xs[r++] = i;
2352
+ for (xs[r - 1] = i, a = 0, i = 0; i < 16; i++)
2353
+ for (Sn[i] = a, e = 0; e < 1 << on[i]; e++)
2354
+ vs[a++] = i;
2355
+ for (a >>= 7; i < zr; i++)
2356
+ for (Sn[i] = a << 7, e = 0; e < 1 << on[i] - 7; e++)
2357
+ vs[256 + a++] = i;
2358
+ for (t = 0; t <= xr; t++)
2359
2359
  n[t] = 0;
2360
2360
  for (e = 0; e <= 143; )
2361
2361
  Yt[e * 2 + 1] = 8, e++, n[8]++;
@@ -2365,31 +2365,31 @@ function Nu() {
2365
2365
  Yt[e * 2 + 1] = 7, e++, n[7]++;
2366
2366
  for (; e <= 287; )
2367
2367
  Yt[e * 2 + 1] = 8, e++, n[8]++;
2368
- for (bf(Yt, vs + 1, n), e = 0; e < Gr; e++)
2369
- hs[e * 2 + 1] = 5, hs[e * 2] = wf(e, 5);
2370
- mf = new ei(Yt, Fi, Ds + 1, vs, kr), yf = new ei(hs, ln, 0, Gr, kr), _f = new ei(new Array(0), Du, 0, pa, Iu);
2368
+ for (bf(Yt, bs + 1, n), e = 0; e < zr; e++)
2369
+ ds[e * 2 + 1] = 5, ds[e * 2] = wf(e, 5);
2370
+ mf = new Qn(Yt, Hi, Is + 1, bs, xr), yf = new Qn(ds, on, 0, zr, xr), _f = new Qn(new Array(0), Du, 0, fa, Iu);
2371
2371
  }
2372
2372
  function vf(e) {
2373
2373
  var t;
2374
- for (t = 0; t < vs; t++)
2374
+ for (t = 0; t < bs; t++)
2375
2375
  e.dyn_ltree[t * 2] = 0;
2376
- for (t = 0; t < Gr; t++)
2376
+ for (t = 0; t < zr; t++)
2377
2377
  e.dyn_dtree[t * 2] = 0;
2378
- for (t = 0; t < pa; t++)
2378
+ for (t = 0; t < fa; t++)
2379
2379
  e.bl_tree[t * 2] = 0;
2380
- e.dyn_ltree[ca * 2] = 1, e.opt_len = e.static_len = 0, e.last_lit = e.matches = 0;
2380
+ e.dyn_ltree[pa * 2] = 1, e.opt_len = e.static_len = 0, e.last_lit = e.matches = 0;
2381
2381
  }
2382
2382
  function xf(e) {
2383
- e.bi_valid > 8 ? Ss(e, e.bi_buf) : e.bi_valid > 0 && (e.pending_buf[e.pending++] = e.bi_buf), e.bi_buf = 0, e.bi_valid = 0;
2383
+ e.bi_valid > 8 ? ks(e, e.bi_buf) : e.bi_valid > 0 && (e.pending_buf[e.pending++] = e.bi_buf), e.bi_buf = 0, e.bi_valid = 0;
2384
2384
  }
2385
2385
  function Bu(e, t, r, i) {
2386
- xf(e), Ss(e, r), Ss(e, ~r), Pu.arraySet(e.pending_buf, e.window, t, r, e.pending), e.pending += r;
2386
+ xf(e), ks(e, r), ks(e, ~r), Pu.arraySet(e.pending_buf, e.window, t, r, e.pending), e.pending += r;
2387
2387
  }
2388
2388
  function qa(e, t, r, i) {
2389
2389
  var a = t * 2, n = r * 2;
2390
2390
  return e[a] < e[n] || e[a] === e[n] && i[t] <= i[r];
2391
2391
  }
2392
- function ri(e, t, r) {
2392
+ function ti(e, t, r) {
2393
2393
  for (var i = e.heap[r], a = r << 1; a <= e.heap_len && (a < e.heap_len && qa(t, e.heap[a + 1], e.heap[a], e.depth) && a++, !qa(t, i, e.heap[a], e.depth)); )
2394
2394
  e.heap[r] = e.heap[a], r = a, a <<= 1;
2395
2395
  e.heap[r] = i;
@@ -2398,18 +2398,18 @@ function Ka(e, t, r) {
2398
2398
  var i, a, n = 0, s, o;
2399
2399
  if (e.last_lit !== 0)
2400
2400
  do
2401
- i = e.pending_buf[e.d_buf + n * 2] << 8 | e.pending_buf[e.d_buf + n * 2 + 1], a = e.pending_buf[e.l_buf + n], n++, i === 0 ? Bt(e, a, t) : (s = ks[a], Bt(e, s + Ds + 1, t), o = Fi[s], o !== 0 && (a -= ua[s], pt(e, a, o)), i--, s = gf(i), Bt(e, s, r), o = ln[s], o !== 0 && (i -= En[s], pt(e, i, o)));
2401
+ i = e.pending_buf[e.d_buf + n * 2] << 8 | e.pending_buf[e.d_buf + n * 2 + 1], a = e.pending_buf[e.l_buf + n], n++, i === 0 ? Bt(e, a, t) : (s = xs[a], Bt(e, s + Is + 1, t), o = Hi[s], o !== 0 && (a -= ca[s], pt(e, a, o)), i--, s = gf(i), Bt(e, s, r), o = on[s], o !== 0 && (i -= Sn[s], pt(e, i, o)));
2402
2402
  while (n < e.last_lit);
2403
- Bt(e, ca, t);
2403
+ Bt(e, pa, t);
2404
2404
  }
2405
- function Ni(e, t) {
2405
+ function Fi(e, t) {
2406
2406
  var r = t.dyn_tree, i = t.stat_desc.static_tree, a = t.stat_desc.has_stree, n = t.stat_desc.elems, s, o, f = -1, p;
2407
2407
  for (e.heap_len = 0, e.heap_max = pf, s = 0; s < n; s++)
2408
2408
  r[s * 2] !== 0 ? (e.heap[++e.heap_len] = f = s, e.depth[s] = 0) : r[s * 2 + 1] = 0;
2409
2409
  for (; e.heap_len < 2; )
2410
2410
  p = e.heap[++e.heap_len] = f < 2 ? ++f : 0, r[p * 2] = 1, e.depth[p] = 0, e.opt_len--, a && (e.static_len -= i[p * 2 + 1]);
2411
2411
  for (t.max_code = f, s = e.heap_len >> 1; s >= 1; s--)
2412
- ri(e, r, s);
2412
+ ti(e, r, s);
2413
2413
  p = n;
2414
2414
  do
2415
2415
  s = e.heap[
@@ -2418,7 +2418,7 @@ function Ni(e, t) {
2418
2418
  ], e.heap[
2419
2419
  1
2420
2420
  /*SMALLEST*/
2421
- ] = e.heap[e.heap_len--], ri(
2421
+ ] = e.heap[e.heap_len--], ti(
2422
2422
  e,
2423
2423
  r,
2424
2424
  1
@@ -2429,7 +2429,7 @@ function Ni(e, t) {
2429
2429
  ], e.heap[--e.heap_max] = s, e.heap[--e.heap_max] = o, r[p * 2] = r[s * 2] + r[o * 2], e.depth[p] = (e.depth[s] >= e.depth[o] ? e.depth[s] : e.depth[o]) + 1, r[s * 2 + 1] = r[o * 2 + 1] = p, e.heap[
2430
2430
  1
2431
2431
  /*SMALLEST*/
2432
- ] = p++, ri(
2432
+ ] = p++, ti(
2433
2433
  e,
2434
2434
  r,
2435
2435
  1
@@ -2460,7 +2460,7 @@ function Ga(e, t, r) {
2460
2460
  }
2461
2461
  function ju(e) {
2462
2462
  var t;
2463
- for (za(e, e.dyn_ltree, e.l_desc.max_code), za(e, e.dyn_dtree, e.d_desc.max_code), Ni(e, e.bl_desc), t = pa - 1; t >= 3 && e.bl_tree[hf[t] * 2 + 1] === 0; t--)
2463
+ for (za(e, e.dyn_ltree, e.l_desc.max_code), za(e, e.dyn_dtree, e.d_desc.max_code), Fi(e, e.bl_desc), t = fa - 1; t >= 3 && e.bl_tree[hf[t] * 2 + 1] === 0; t--)
2464
2464
  ;
2465
2465
  return e.opt_len += 3 * (t + 1) + 5 + 5 + 4, t;
2466
2466
  }
@@ -2477,33 +2477,33 @@ function Uu(e) {
2477
2477
  return Ua;
2478
2478
  if (e.dyn_ltree[9 * 2] !== 0 || e.dyn_ltree[10 * 2] !== 0 || e.dyn_ltree[13 * 2] !== 0)
2479
2479
  return Ma;
2480
- for (r = 32; r < Ds; r++)
2480
+ for (r = 32; r < Is; r++)
2481
2481
  if (e.dyn_ltree[r * 2] !== 0)
2482
2482
  return Ma;
2483
2483
  return Ua;
2484
2484
  }
2485
2485
  var Za = !1;
2486
2486
  function Mu(e) {
2487
- Za || (Nu(), Za = !0), e.l_desc = new ti(e.dyn_ltree, mf), e.d_desc = new ti(e.dyn_dtree, yf), e.bl_desc = new ti(e.bl_tree, _f), e.bi_buf = 0, e.bi_valid = 0, vf(e);
2487
+ Za || (Nu(), Za = !0), e.l_desc = new ei(e.dyn_ltree, mf), e.d_desc = new ei(e.dyn_dtree, yf), e.bl_desc = new ei(e.bl_tree, _f), e.bi_buf = 0, e.bi_valid = 0, vf(e);
2488
2488
  }
2489
2489
  function kf(e, t, r, i) {
2490
2490
  pt(e, (Cu << 1) + (i ? 1 : 0), 3), Bu(e, t, r);
2491
2491
  }
2492
2492
  function qu(e) {
2493
- pt(e, ff << 1, 3), Bt(e, ca, Yt), Hu(e);
2493
+ pt(e, ff << 1, 3), Bt(e, pa, Yt), Hu(e);
2494
2494
  }
2495
2495
  function Ku(e, t, r, i) {
2496
2496
  var a, n, s = 0;
2497
- e.level > 0 ? (e.strm.data_type === Tu && (e.strm.data_type = Uu(e)), Ni(e, e.l_desc), Ni(e, e.d_desc), s = ju(e), a = e.opt_len + 3 + 7 >>> 3, n = e.static_len + 3 + 7 >>> 3, n <= a && (a = n)) : a = n = r + 5, r + 4 <= a && t !== -1 ? kf(e, t, r, i) : e.strategy === Au || n === a ? (pt(e, (ff << 1) + (i ? 1 : 0), 3), Ka(e, Yt, hs)) : (pt(e, (Ou << 1) + (i ? 1 : 0), 3), Wu(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, s + 1), Ka(e, e.dyn_ltree, e.dyn_dtree)), vf(e), i && xf(e);
2497
+ e.level > 0 ? (e.strm.data_type === Tu && (e.strm.data_type = Uu(e)), Fi(e, e.l_desc), Fi(e, e.d_desc), s = ju(e), a = e.opt_len + 3 + 7 >>> 3, n = e.static_len + 3 + 7 >>> 3, n <= a && (a = n)) : a = n = r + 5, r + 4 <= a && t !== -1 ? kf(e, t, r, i) : e.strategy === Au || n === a ? (pt(e, (ff << 1) + (i ? 1 : 0), 3), Ka(e, Yt, ds)) : (pt(e, (Ou << 1) + (i ? 1 : 0), 3), Wu(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, s + 1), Ka(e, e.dyn_ltree, e.dyn_dtree)), vf(e), i && xf(e);
2498
2498
  }
2499
2499
  function zu(e, t, r) {
2500
- 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[(ks[r] + Ds + 1) * 2]++, e.dyn_dtree[gf(t) * 2]++), e.last_lit === e.lit_bufsize - 1;
2500
+ 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[(xs[r] + Is + 1) * 2]++, e.dyn_dtree[gf(t) * 2]++), e.last_lit === e.lit_bufsize - 1;
2501
2501
  }
2502
- es._tr_init = Mu;
2503
- es._tr_stored_block = kf;
2504
- es._tr_flush_block = Ku;
2505
- es._tr_tally = zu;
2506
- es._tr_align = qu;
2502
+ Qr._tr_init = Mu;
2503
+ Qr._tr_stored_block = kf;
2504
+ Qr._tr_flush_block = Ku;
2505
+ Qr._tr_tally = zu;
2506
+ Qr._tr_align = qu;
2507
2507
  function Gu(e, t, r, i) {
2508
2508
  for (var a = e & 65535 | 0, n = e >>> 16 & 65535 | 0, s = 0; r !== 0; ) {
2509
2509
  s = r > 2e3 ? 2e3 : r, r -= s;
@@ -2532,7 +2532,7 @@ function Yu(e, t, r, i) {
2532
2532
  e = e >>> 8 ^ a[(e ^ t[s]) & 255];
2533
2533
  return e ^ -1;
2534
2534
  }
2535
- var Ef = Yu, da = {
2535
+ var Ef = Yu, ua = {
2536
2536
  2: "need dictionary",
2537
2537
  /* Z_NEED_DICT 2 */
2538
2538
  1: "stream end",
@@ -2551,36 +2551,36 @@ var Ef = Yu, da = {
2551
2551
  /* Z_BUF_ERROR (-5) */
2552
2552
  "-6": "incompatible version"
2553
2553
  /* Z_VERSION_ERROR (-6) */
2554
- }, st = tr, St = es, Pf = Sf, or = Ef, Xu = da, Dr = 0, Ju = 1, Qu = 3, yr = 4, Va = 5, jt = 0, Ya = 1, Et = -2, ed = -3, si = -5, td = -1, rd = 1, Ms = 2, sd = 3, nd = 4, id = 0, ad = 2, Nn = 8, od = 9, ld = 15, fd = 8, pd = 29, cd = 256, Bi = cd + 1 + pd, ud = 30, dd = 19, hd = 2 * Bi + 1, md = 15, ye = 3, hr = 258, Rt = hr + ye + 1, yd = 32, Bn = 42, ji = 69, fn = 73, pn = 91, cn = 103, Sr = 113, cs = 666, Me = 1, $s = 2, Tr = 3, rs = 4, _d = 3;
2555
- function mr(e, t) {
2554
+ }, st = er, St = Qr, Pf = Sf, ar = Ef, Xu = ua, Ir = 0, Ju = 1, Qu = 3, mr = 4, Va = 5, jt = 0, Ya = 1, Et = -2, ed = -3, ri = -5, td = -1, rd = 1, Us = 2, sd = 3, nd = 4, id = 0, ad = 2, Fn = 8, od = 9, ld = 15, fd = 8, pd = 29, cd = 256, Ni = cd + 1 + pd, ud = 30, dd = 19, hd = 2 * Ni + 1, md = 15, ye = 3, dr = 258, Rt = dr + ye + 1, yd = 32, Nn = 42, Bi = 69, ln = 73, fn = 91, pn = 103, kr = 113, ps = 666, Me = 1, Ds = 2, Ar = 3, ts = 4, _d = 3;
2555
+ function hr(e, t) {
2556
2556
  return e.msg = Xu[t], t;
2557
2557
  }
2558
2558
  function Xa(e) {
2559
2559
  return (e << 1) - (e > 4 ? 9 : 0);
2560
2560
  }
2561
- function dr(e) {
2561
+ function ur(e) {
2562
2562
  for (var t = e.length; --t >= 0; )
2563
2563
  e[t] = 0;
2564
2564
  }
2565
- function lr(e) {
2565
+ function or(e) {
2566
2566
  var t = e.state, r = t.pending;
2567
2567
  r > e.avail_out && (r = e.avail_out), r !== 0 && (st.arraySet(e.output, t.pending_buf, t.pending_out, r, e.next_out), e.next_out += r, t.pending_out += r, e.total_out += r, e.avail_out -= r, t.pending -= r, t.pending === 0 && (t.pending_out = 0));
2568
2568
  }
2569
2569
  function Xe(e, t) {
2570
- St._tr_flush_block(e, e.block_start >= 0 ? e.block_start : -1, e.strstart - e.block_start, t), e.block_start = e.strstart, lr(e.strm);
2570
+ St._tr_flush_block(e, e.block_start >= 0 ? e.block_start : -1, e.strstart - e.block_start, t), e.block_start = e.strstart, or(e.strm);
2571
2571
  }
2572
2572
  function xe(e, t) {
2573
2573
  e.pending_buf[e.pending++] = t;
2574
2574
  }
2575
- function is(e, t) {
2575
+ function ns(e, t) {
2576
2576
  e.pending_buf[e.pending++] = t >>> 8 & 255, e.pending_buf[e.pending++] = t & 255;
2577
2577
  }
2578
2578
  function gd(e, t, r, i) {
2579
2579
  var a = e.avail_in;
2580
- return a > i && (a = i), a === 0 ? 0 : (e.avail_in -= a, st.arraySet(t, e.input, e.next_in, a, r), e.state.wrap === 1 ? e.adler = Pf(e.adler, t, a, r) : e.state.wrap === 2 && (e.adler = or(e.adler, t, a, r)), e.next_in += a, e.total_in += a, a);
2580
+ return a > i && (a = i), a === 0 ? 0 : (e.avail_in -= a, st.arraySet(t, e.input, e.next_in, a, r), e.state.wrap === 1 ? e.adler = Pf(e.adler, t, a, r) : e.state.wrap === 2 && (e.adler = ar(e.adler, t, a, r)), e.next_in += a, e.total_in += a, a);
2581
2581
  }
2582
2582
  function Af(e, t) {
2583
- var r = e.max_chain_length, i = e.strstart, a, n, s = e.prev_length, o = e.nice_match, f = e.strstart > e.w_size - Rt ? e.strstart - (e.w_size - Rt) : 0, p = e.window, c = e.w_mask, m = e.prev, h = e.strstart + hr, _ = p[i + s - 1], L = p[i + s];
2583
+ var r = e.max_chain_length, i = e.strstart, a, n, s = e.prev_length, o = e.nice_match, f = e.strstart > e.w_size - Rt ? e.strstart - (e.w_size - Rt) : 0, p = e.window, c = e.w_mask, m = e.prev, h = e.strstart + dr, _ = p[i + s - 1], L = p[i + s];
2584
2584
  e.prev_length >= e.good_match && (r >>= 2), o > e.lookahead && (o = e.lookahead);
2585
2585
  do
2586
2586
  if (a = t, !(p[a + s] !== L || p[a + s - 1] !== _ || p[a] !== p[i] || p[++a] !== p[i + 1])) {
@@ -2588,7 +2588,7 @@ function Af(e, t) {
2588
2588
  do
2589
2589
  ;
2590
2590
  while (p[++i] === p[++a] && p[++i] === p[++a] && p[++i] === p[++a] && p[++i] === p[++a] && p[++i] === p[++a] && p[++i] === p[++a] && p[++i] === p[++a] && p[++i] === p[++a] && i < h);
2591
- if (n = hr - (h - i), i = h - hr, n > s) {
2591
+ if (n = dr - (h - i), i = h - dr, n > s) {
2592
2592
  if (e.match_start = t, s = n, n >= o)
2593
2593
  break;
2594
2594
  _ = p[i + s - 1], L = p[i + s];
@@ -2597,7 +2597,7 @@ function Af(e, t) {
2597
2597
  while ((t = m[t & c]) > f && --r !== 0);
2598
2598
  return s <= e.lookahead ? s : e.lookahead;
2599
2599
  }
2600
- function Cr(e) {
2600
+ function Tr(e) {
2601
2601
  var t = e.w_size, r, i, a, n, s;
2602
2602
  do {
2603
2603
  if (n = e.window_size - e.lookahead - e.strstart, e.strstart >= t + (t - Rt)) {
@@ -2622,7 +2622,7 @@ function wd(e, t) {
2622
2622
  var r = 65535;
2623
2623
  for (r > e.pending_buf_size - 5 && (r = e.pending_buf_size - 5); ; ) {
2624
2624
  if (e.lookahead <= 1) {
2625
- if (Cr(e), e.lookahead === 0 && t === Dr)
2625
+ if (Tr(e), e.lookahead === 0 && t === Ir)
2626
2626
  return Me;
2627
2627
  if (e.lookahead === 0)
2628
2628
  break;
@@ -2632,12 +2632,12 @@ function wd(e, t) {
2632
2632
  if ((e.strstart === 0 || e.strstart >= i) && (e.lookahead = e.strstart - i, e.strstart = i, Xe(e, !1), e.strm.avail_out === 0) || e.strstart - e.block_start >= e.w_size - Rt && (Xe(e, !1), e.strm.avail_out === 0))
2633
2633
  return Me;
2634
2634
  }
2635
- return e.insert = 0, t === yr ? (Xe(e, !0), e.strm.avail_out === 0 ? Tr : rs) : (e.strstart > e.block_start && (Xe(e, !1), e.strm.avail_out === 0), Me);
2635
+ return e.insert = 0, t === mr ? (Xe(e, !0), e.strm.avail_out === 0 ? Ar : ts) : (e.strstart > e.block_start && (Xe(e, !1), e.strm.avail_out === 0), Me);
2636
2636
  }
2637
- function ni(e, t) {
2637
+ function si(e, t) {
2638
2638
  for (var r, i; ; ) {
2639
2639
  if (e.lookahead < Rt) {
2640
- if (Cr(e), e.lookahead < Rt && t === Dr)
2640
+ if (Tr(e), e.lookahead < Rt && t === Ir)
2641
2641
  return Me;
2642
2642
  if (e.lookahead === 0)
2643
2643
  break;
@@ -2656,12 +2656,12 @@ function ni(e, t) {
2656
2656
  if (i && (Xe(e, !1), e.strm.avail_out === 0))
2657
2657
  return Me;
2658
2658
  }
2659
- return e.insert = e.strstart < ye - 1 ? e.strstart : ye - 1, t === yr ? (Xe(e, !0), e.strm.avail_out === 0 ? Tr : rs) : e.last_lit && (Xe(e, !1), e.strm.avail_out === 0) ? Me : $s;
2659
+ return e.insert = e.strstart < ye - 1 ? e.strstart : ye - 1, t === mr ? (Xe(e, !0), e.strm.avail_out === 0 ? Ar : ts) : e.last_lit && (Xe(e, !1), e.strm.avail_out === 0) ? Me : Ds;
2660
2660
  }
2661
- function Fr(e, t) {
2661
+ function Hr(e, t) {
2662
2662
  for (var r, i, a; ; ) {
2663
2663
  if (e.lookahead < Rt) {
2664
- if (Cr(e), e.lookahead < Rt && t === Dr)
2664
+ if (Tr(e), e.lookahead < Rt && t === Ir)
2665
2665
  return Me;
2666
2666
  if (e.lookahead === 0)
2667
2667
  break;
@@ -2679,76 +2679,76 @@ function Fr(e, t) {
2679
2679
  } else
2680
2680
  e.match_available = 1, e.strstart++, e.lookahead--;
2681
2681
  }
2682
- return e.match_available && (i = St._tr_tally(e, 0, e.window[e.strstart - 1]), e.match_available = 0), e.insert = e.strstart < ye - 1 ? e.strstart : ye - 1, t === yr ? (Xe(e, !0), e.strm.avail_out === 0 ? Tr : rs) : e.last_lit && (Xe(e, !1), e.strm.avail_out === 0) ? Me : $s;
2682
+ return e.match_available && (i = St._tr_tally(e, 0, e.window[e.strstart - 1]), e.match_available = 0), e.insert = e.strstart < ye - 1 ? e.strstart : ye - 1, t === mr ? (Xe(e, !0), e.strm.avail_out === 0 ? Ar : ts) : e.last_lit && (Xe(e, !1), e.strm.avail_out === 0) ? Me : Ds;
2683
2683
  }
2684
2684
  function bd(e, t) {
2685
2685
  for (var r, i, a, n, s = e.window; ; ) {
2686
- if (e.lookahead <= hr) {
2687
- if (Cr(e), e.lookahead <= hr && t === Dr)
2686
+ if (e.lookahead <= dr) {
2687
+ if (Tr(e), e.lookahead <= dr && t === Ir)
2688
2688
  return Me;
2689
2689
  if (e.lookahead === 0)
2690
2690
  break;
2691
2691
  }
2692
2692
  if (e.match_length = 0, e.lookahead >= ye && e.strstart > 0 && (a = e.strstart - 1, i = s[a], i === s[++a] && i === s[++a] && i === s[++a])) {
2693
- n = e.strstart + hr;
2693
+ n = e.strstart + dr;
2694
2694
  do
2695
2695
  ;
2696
2696
  while (i === s[++a] && i === s[++a] && i === s[++a] && i === s[++a] && i === s[++a] && i === s[++a] && i === s[++a] && i === s[++a] && a < n);
2697
- e.match_length = hr - (n - a), e.match_length > e.lookahead && (e.match_length = e.lookahead);
2697
+ e.match_length = dr - (n - a), e.match_length > e.lookahead && (e.match_length = e.lookahead);
2698
2698
  }
2699
2699
  if (e.match_length >= ye ? (r = St._tr_tally(e, 1, e.match_length - ye), e.lookahead -= e.match_length, e.strstart += e.match_length, e.match_length = 0) : (r = St._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++), r && (Xe(e, !1), e.strm.avail_out === 0))
2700
2700
  return Me;
2701
2701
  }
2702
- return e.insert = 0, t === yr ? (Xe(e, !0), e.strm.avail_out === 0 ? Tr : rs) : e.last_lit && (Xe(e, !1), e.strm.avail_out === 0) ? Me : $s;
2702
+ return e.insert = 0, t === mr ? (Xe(e, !0), e.strm.avail_out === 0 ? Ar : ts) : e.last_lit && (Xe(e, !1), e.strm.avail_out === 0) ? Me : Ds;
2703
2703
  }
2704
2704
  function vd(e, t) {
2705
2705
  for (var r; ; ) {
2706
- if (e.lookahead === 0 && (Cr(e), e.lookahead === 0)) {
2707
- if (t === Dr)
2706
+ if (e.lookahead === 0 && (Tr(e), e.lookahead === 0)) {
2707
+ if (t === Ir)
2708
2708
  return Me;
2709
2709
  break;
2710
2710
  }
2711
2711
  if (e.match_length = 0, r = St._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++, r && (Xe(e, !1), e.strm.avail_out === 0))
2712
2712
  return Me;
2713
2713
  }
2714
- return e.insert = 0, t === yr ? (Xe(e, !0), e.strm.avail_out === 0 ? Tr : rs) : e.last_lit && (Xe(e, !1), e.strm.avail_out === 0) ? Me : $s;
2714
+ return e.insert = 0, t === mr ? (Xe(e, !0), e.strm.avail_out === 0 ? Ar : ts) : e.last_lit && (Xe(e, !1), e.strm.avail_out === 0) ? Me : Ds;
2715
2715
  }
2716
2716
  function $t(e, t, r, i, a) {
2717
2717
  this.good_length = e, this.max_lazy = t, this.nice_length = r, this.max_chain = i, this.func = a;
2718
2718
  }
2719
- var Kr;
2720
- Kr = [
2719
+ var qr;
2720
+ qr = [
2721
2721
  /* good lazy nice chain */
2722
2722
  new $t(0, 0, 0, 0, wd),
2723
2723
  /* 0 store only */
2724
- new $t(4, 4, 8, 4, ni),
2724
+ new $t(4, 4, 8, 4, si),
2725
2725
  /* 1 max speed, no lazy matches */
2726
- new $t(4, 5, 16, 8, ni),
2726
+ new $t(4, 5, 16, 8, si),
2727
2727
  /* 2 */
2728
- new $t(4, 6, 32, 32, ni),
2728
+ new $t(4, 6, 32, 32, si),
2729
2729
  /* 3 */
2730
- new $t(4, 4, 16, 16, Fr),
2730
+ new $t(4, 4, 16, 16, Hr),
2731
2731
  /* 4 lazy matches */
2732
- new $t(8, 16, 32, 32, Fr),
2732
+ new $t(8, 16, 32, 32, Hr),
2733
2733
  /* 5 */
2734
- new $t(8, 16, 128, 128, Fr),
2734
+ new $t(8, 16, 128, 128, Hr),
2735
2735
  /* 6 */
2736
- new $t(8, 32, 128, 256, Fr),
2736
+ new $t(8, 32, 128, 256, Hr),
2737
2737
  /* 7 */
2738
- new $t(32, 128, 258, 1024, Fr),
2738
+ new $t(32, 128, 258, 1024, Hr),
2739
2739
  /* 8 */
2740
- new $t(32, 258, 258, 4096, Fr)
2740
+ new $t(32, 258, 258, 4096, Hr)
2741
2741
  /* 9 max compression */
2742
2742
  ];
2743
2743
  function xd(e) {
2744
- e.window_size = 2 * e.w_size, dr(e.head), e.max_lazy_match = Kr[e.level].max_lazy, e.good_match = Kr[e.level].good_length, e.nice_match = Kr[e.level].nice_length, e.max_chain_length = Kr[e.level].max_chain, e.strstart = 0, e.block_start = 0, e.lookahead = 0, e.insert = 0, e.match_length = e.prev_length = ye - 1, e.match_available = 0, e.ins_h = 0;
2744
+ e.window_size = 2 * e.w_size, ur(e.head), e.max_lazy_match = qr[e.level].max_lazy, e.good_match = qr[e.level].good_length, e.nice_match = qr[e.level].nice_length, e.max_chain_length = qr[e.level].max_chain, e.strstart = 0, e.block_start = 0, e.lookahead = 0, e.insert = 0, e.match_length = e.prev_length = ye - 1, e.match_available = 0, e.ins_h = 0;
2745
2745
  }
2746
2746
  function kd() {
2747
- this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = Nn, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new st.Buf16(hd * 2), this.dyn_dtree = new st.Buf16((2 * ud + 1) * 2), this.bl_tree = new st.Buf16((2 * dd + 1) * 2), dr(this.dyn_ltree), dr(this.dyn_dtree), dr(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new st.Buf16(md + 1), this.heap = new st.Buf16(2 * Bi + 1), dr(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new st.Buf16(2 * Bi + 1), dr(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
2747
+ this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = Fn, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new st.Buf16(hd * 2), this.dyn_dtree = new st.Buf16((2 * ud + 1) * 2), this.bl_tree = new st.Buf16((2 * dd + 1) * 2), ur(this.dyn_ltree), ur(this.dyn_dtree), ur(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new st.Buf16(md + 1), this.heap = new st.Buf16(2 * Ni + 1), ur(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new st.Buf16(2 * Ni + 1), ur(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
2748
2748
  }
2749
2749
  function Tf(e) {
2750
2750
  var t;
2751
- return !e || !e.state ? mr(e, Et) : (e.total_in = e.total_out = 0, e.data_type = ad, t = e.state, t.pending = 0, t.pending_out = 0, t.wrap < 0 && (t.wrap = -t.wrap), t.status = t.wrap ? Bn : Sr, e.adler = t.wrap === 2 ? 0 : 1, t.last_flush = Dr, St._tr_init(t), jt);
2751
+ return !e || !e.state ? hr(e, Et) : (e.total_in = e.total_out = 0, e.data_type = ad, t = e.state, t.pending = 0, t.pending_out = 0, t.wrap < 0 && (t.wrap = -t.wrap), t.status = t.wrap ? Nn : kr, e.adler = t.wrap === 2 ? 0 : 1, t.last_flush = Ir, St._tr_init(t), jt);
2752
2752
  }
2753
2753
  function Cf(e) {
2754
2754
  var t = Tf(e);
@@ -2761,94 +2761,94 @@ function Of(e, t, r, i, a, n) {
2761
2761
  if (!e)
2762
2762
  return Et;
2763
2763
  var s = 1;
2764
- if (t === td && (t = 6), i < 0 ? (s = 0, i = -i) : i > 15 && (s = 2, i -= 16), a < 1 || a > od || r !== Nn || i < 8 || i > 15 || t < 0 || t > 9 || n < 0 || n > nd)
2765
- return mr(e, Et);
2764
+ if (t === td && (t = 6), i < 0 ? (s = 0, i = -i) : i > 15 && (s = 2, i -= 16), a < 1 || a > od || r !== Fn || i < 8 || i > 15 || t < 0 || t > 9 || n < 0 || n > nd)
2765
+ return hr(e, Et);
2766
2766
  i === 8 && (i = 9);
2767
2767
  var o = new kd();
2768
2768
  return e.state = o, o.strm = e, o.wrap = s, o.gzhead = null, o.w_bits = i, o.w_size = 1 << o.w_bits, o.w_mask = o.w_size - 1, o.hash_bits = a + 7, o.hash_size = 1 << o.hash_bits, o.hash_mask = o.hash_size - 1, o.hash_shift = ~~((o.hash_bits + ye - 1) / ye), o.window = new st.Buf8(o.w_size * 2), o.head = new st.Buf16(o.hash_size), o.prev = new st.Buf16(o.w_size), o.lit_bufsize = 1 << a + 6, o.pending_buf_size = o.lit_bufsize * 4, o.pending_buf = new st.Buf8(o.pending_buf_size), o.d_buf = 1 * o.lit_bufsize, o.l_buf = 3 * o.lit_bufsize, o.level = t, o.strategy = n, o.method = r, Cf(e);
2769
2769
  }
2770
2770
  function Ed(e, t) {
2771
- return Of(e, t, Nn, ld, fd, id);
2771
+ return Of(e, t, Fn, ld, fd, id);
2772
2772
  }
2773
2773
  function Pd(e, t) {
2774
2774
  var r, i, a, n;
2775
2775
  if (!e || !e.state || t > Va || t < 0)
2776
- return e ? mr(e, Et) : Et;
2777
- if (i = e.state, !e.output || !e.input && e.avail_in !== 0 || i.status === cs && t !== yr)
2778
- return mr(e, e.avail_out === 0 ? si : Et);
2779
- if (i.strm = e, r = i.last_flush, i.last_flush = t, i.status === Bn)
2776
+ return e ? hr(e, Et) : Et;
2777
+ if (i = e.state, !e.output || !e.input && e.avail_in !== 0 || i.status === ps && t !== mr)
2778
+ return hr(e, e.avail_out === 0 ? ri : Et);
2779
+ if (i.strm = e, r = i.last_flush, i.last_flush = t, i.status === Nn)
2780
2780
  if (i.wrap === 2)
2781
2781
  e.adler = 0, xe(i, 31), xe(i, 139), xe(i, 8), i.gzhead ? (xe(
2782
2782
  i,
2783
2783
  (i.gzhead.text ? 1 : 0) + (i.gzhead.hcrc ? 2 : 0) + (i.gzhead.extra ? 4 : 0) + (i.gzhead.name ? 8 : 0) + (i.gzhead.comment ? 16 : 0)
2784
- ), xe(i, i.gzhead.time & 255), xe(i, i.gzhead.time >> 8 & 255), xe(i, i.gzhead.time >> 16 & 255), xe(i, i.gzhead.time >> 24 & 255), xe(i, i.level === 9 ? 2 : i.strategy >= Ms || i.level < 2 ? 4 : 0), xe(i, i.gzhead.os & 255), i.gzhead.extra && i.gzhead.extra.length && (xe(i, i.gzhead.extra.length & 255), xe(i, i.gzhead.extra.length >> 8 & 255)), i.gzhead.hcrc && (e.adler = or(e.adler, i.pending_buf, i.pending, 0)), i.gzindex = 0, i.status = ji) : (xe(i, 0), xe(i, 0), xe(i, 0), xe(i, 0), xe(i, 0), xe(i, i.level === 9 ? 2 : i.strategy >= Ms || i.level < 2 ? 4 : 0), xe(i, _d), i.status = Sr);
2784
+ ), xe(i, i.gzhead.time & 255), xe(i, i.gzhead.time >> 8 & 255), xe(i, i.gzhead.time >> 16 & 255), xe(i, i.gzhead.time >> 24 & 255), xe(i, i.level === 9 ? 2 : i.strategy >= Us || i.level < 2 ? 4 : 0), xe(i, i.gzhead.os & 255), i.gzhead.extra && i.gzhead.extra.length && (xe(i, i.gzhead.extra.length & 255), xe(i, i.gzhead.extra.length >> 8 & 255)), i.gzhead.hcrc && (e.adler = ar(e.adler, i.pending_buf, i.pending, 0)), i.gzindex = 0, i.status = Bi) : (xe(i, 0), xe(i, 0), xe(i, 0), xe(i, 0), xe(i, 0), xe(i, i.level === 9 ? 2 : i.strategy >= Us || i.level < 2 ? 4 : 0), xe(i, _d), i.status = kr);
2785
2785
  else {
2786
- var s = Nn + (i.w_bits - 8 << 4) << 8, o = -1;
2787
- i.strategy >= Ms || i.level < 2 ? o = 0 : i.level < 6 ? o = 1 : i.level === 6 ? o = 2 : o = 3, s |= o << 6, i.strstart !== 0 && (s |= yd), s += 31 - s % 31, i.status = Sr, is(i, s), i.strstart !== 0 && (is(i, e.adler >>> 16), is(i, e.adler & 65535)), e.adler = 1;
2786
+ var s = Fn + (i.w_bits - 8 << 4) << 8, o = -1;
2787
+ i.strategy >= Us || i.level < 2 ? o = 0 : i.level < 6 ? o = 1 : i.level === 6 ? o = 2 : o = 3, s |= o << 6, i.strstart !== 0 && (s |= yd), s += 31 - s % 31, i.status = kr, ns(i, s), i.strstart !== 0 && (ns(i, e.adler >>> 16), ns(i, e.adler & 65535)), e.adler = 1;
2788
2788
  }
2789
- if (i.status === ji)
2789
+ if (i.status === Bi)
2790
2790
  if (i.gzhead.extra) {
2791
- for (a = i.pending; i.gzindex < (i.gzhead.extra.length & 65535) && !(i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (e.adler = or(e.adler, i.pending_buf, i.pending - a, a)), lr(e), a = i.pending, i.pending === i.pending_buf_size)); )
2791
+ for (a = i.pending; i.gzindex < (i.gzhead.extra.length & 65535) && !(i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (e.adler = ar(e.adler, i.pending_buf, i.pending - a, a)), or(e), a = i.pending, i.pending === i.pending_buf_size)); )
2792
2792
  xe(i, i.gzhead.extra[i.gzindex] & 255), i.gzindex++;
2793
- i.gzhead.hcrc && i.pending > a && (e.adler = or(e.adler, i.pending_buf, i.pending - a, a)), i.gzindex === i.gzhead.extra.length && (i.gzindex = 0, i.status = fn);
2793
+ i.gzhead.hcrc && i.pending > a && (e.adler = ar(e.adler, i.pending_buf, i.pending - a, a)), i.gzindex === i.gzhead.extra.length && (i.gzindex = 0, i.status = ln);
2794
2794
  } else
2795
- i.status = fn;
2796
- if (i.status === fn)
2795
+ i.status = ln;
2796
+ if (i.status === ln)
2797
2797
  if (i.gzhead.name) {
2798
2798
  a = i.pending;
2799
2799
  do {
2800
- if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (e.adler = or(e.adler, i.pending_buf, i.pending - a, a)), lr(e), a = i.pending, i.pending === i.pending_buf_size)) {
2800
+ if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (e.adler = ar(e.adler, i.pending_buf, i.pending - a, a)), or(e), a = i.pending, i.pending === i.pending_buf_size)) {
2801
2801
  n = 1;
2802
2802
  break;
2803
2803
  }
2804
2804
  i.gzindex < i.gzhead.name.length ? n = i.gzhead.name.charCodeAt(i.gzindex++) & 255 : n = 0, xe(i, n);
2805
2805
  } while (n !== 0);
2806
- i.gzhead.hcrc && i.pending > a && (e.adler = or(e.adler, i.pending_buf, i.pending - a, a)), n === 0 && (i.gzindex = 0, i.status = pn);
2806
+ i.gzhead.hcrc && i.pending > a && (e.adler = ar(e.adler, i.pending_buf, i.pending - a, a)), n === 0 && (i.gzindex = 0, i.status = fn);
2807
2807
  } else
2808
- i.status = pn;
2809
- if (i.status === pn)
2808
+ i.status = fn;
2809
+ if (i.status === fn)
2810
2810
  if (i.gzhead.comment) {
2811
2811
  a = i.pending;
2812
2812
  do {
2813
- if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (e.adler = or(e.adler, i.pending_buf, i.pending - a, a)), lr(e), a = i.pending, i.pending === i.pending_buf_size)) {
2813
+ if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (e.adler = ar(e.adler, i.pending_buf, i.pending - a, a)), or(e), a = i.pending, i.pending === i.pending_buf_size)) {
2814
2814
  n = 1;
2815
2815
  break;
2816
2816
  }
2817
2817
  i.gzindex < i.gzhead.comment.length ? n = i.gzhead.comment.charCodeAt(i.gzindex++) & 255 : n = 0, xe(i, n);
2818
2818
  } while (n !== 0);
2819
- i.gzhead.hcrc && i.pending > a && (e.adler = or(e.adler, i.pending_buf, i.pending - a, a)), n === 0 && (i.status = cn);
2819
+ i.gzhead.hcrc && i.pending > a && (e.adler = ar(e.adler, i.pending_buf, i.pending - a, a)), n === 0 && (i.status = pn);
2820
2820
  } else
2821
- i.status = cn;
2822
- if (i.status === cn && (i.gzhead.hcrc ? (i.pending + 2 > i.pending_buf_size && lr(e), i.pending + 2 <= i.pending_buf_size && (xe(i, e.adler & 255), xe(i, e.adler >> 8 & 255), e.adler = 0, i.status = Sr)) : i.status = Sr), i.pending !== 0) {
2823
- if (lr(e), e.avail_out === 0)
2821
+ i.status = pn;
2822
+ if (i.status === pn && (i.gzhead.hcrc ? (i.pending + 2 > i.pending_buf_size && or(e), i.pending + 2 <= i.pending_buf_size && (xe(i, e.adler & 255), xe(i, e.adler >> 8 & 255), e.adler = 0, i.status = kr)) : i.status = kr), i.pending !== 0) {
2823
+ if (or(e), e.avail_out === 0)
2824
2824
  return i.last_flush = -1, jt;
2825
- } else if (e.avail_in === 0 && Xa(t) <= Xa(r) && t !== yr)
2826
- return mr(e, si);
2827
- if (i.status === cs && e.avail_in !== 0)
2828
- return mr(e, si);
2829
- if (e.avail_in !== 0 || i.lookahead !== 0 || t !== Dr && i.status !== cs) {
2830
- var f = i.strategy === Ms ? vd(i, t) : i.strategy === sd ? bd(i, t) : Kr[i.level].func(i, t);
2831
- if ((f === Tr || f === rs) && (i.status = cs), f === Me || f === Tr)
2825
+ } else if (e.avail_in === 0 && Xa(t) <= Xa(r) && t !== mr)
2826
+ return hr(e, ri);
2827
+ if (i.status === ps && e.avail_in !== 0)
2828
+ return hr(e, ri);
2829
+ if (e.avail_in !== 0 || i.lookahead !== 0 || t !== Ir && i.status !== ps) {
2830
+ var f = i.strategy === Us ? vd(i, t) : i.strategy === sd ? bd(i, t) : qr[i.level].func(i, t);
2831
+ if ((f === Ar || f === ts) && (i.status = ps), f === Me || f === Ar)
2832
2832
  return e.avail_out === 0 && (i.last_flush = -1), jt;
2833
- if (f === $s && (t === Ju ? St._tr_align(i) : t !== Va && (St._tr_stored_block(i, 0, 0, !1), t === Qu && (dr(i.head), i.lookahead === 0 && (i.strstart = 0, i.block_start = 0, i.insert = 0))), lr(e), e.avail_out === 0))
2833
+ if (f === Ds && (t === Ju ? St._tr_align(i) : t !== Va && (St._tr_stored_block(i, 0, 0, !1), t === Qu && (ur(i.head), i.lookahead === 0 && (i.strstart = 0, i.block_start = 0, i.insert = 0))), or(e), e.avail_out === 0))
2834
2834
  return i.last_flush = -1, jt;
2835
2835
  }
2836
- return t !== yr ? jt : i.wrap <= 0 ? Ya : (i.wrap === 2 ? (xe(i, e.adler & 255), xe(i, e.adler >> 8 & 255), xe(i, e.adler >> 16 & 255), xe(i, e.adler >> 24 & 255), xe(i, e.total_in & 255), xe(i, e.total_in >> 8 & 255), xe(i, e.total_in >> 16 & 255), xe(i, e.total_in >> 24 & 255)) : (is(i, e.adler >>> 16), is(i, e.adler & 65535)), lr(e), i.wrap > 0 && (i.wrap = -i.wrap), i.pending !== 0 ? jt : Ya);
2836
+ return t !== mr ? jt : i.wrap <= 0 ? Ya : (i.wrap === 2 ? (xe(i, e.adler & 255), xe(i, e.adler >> 8 & 255), xe(i, e.adler >> 16 & 255), xe(i, e.adler >> 24 & 255), xe(i, e.total_in & 255), xe(i, e.total_in >> 8 & 255), xe(i, e.total_in >> 16 & 255), xe(i, e.total_in >> 24 & 255)) : (ns(i, e.adler >>> 16), ns(i, e.adler & 65535)), or(e), i.wrap > 0 && (i.wrap = -i.wrap), i.pending !== 0 ? jt : Ya);
2837
2837
  }
2838
2838
  function Ad(e) {
2839
2839
  var t;
2840
- return !e || !e.state ? Et : (t = e.state.status, t !== Bn && t !== ji && t !== fn && t !== pn && t !== cn && t !== Sr && t !== cs ? mr(e, Et) : (e.state = null, t === Sr ? mr(e, ed) : jt));
2840
+ return !e || !e.state ? Et : (t = e.state.status, t !== Nn && t !== Bi && t !== ln && t !== fn && t !== pn && t !== kr && t !== ps ? hr(e, Et) : (e.state = null, t === kr ? hr(e, ed) : jt));
2841
2841
  }
2842
2842
  function Td(e, t) {
2843
2843
  var r = t.length, i, a, n, s, o, f, p, c;
2844
- if (!e || !e.state || (i = e.state, s = i.wrap, s === 2 || s === 1 && i.status !== Bn || i.lookahead))
2844
+ if (!e || !e.state || (i = e.state, s = i.wrap, s === 2 || s === 1 && i.status !== Nn || i.lookahead))
2845
2845
  return Et;
2846
- for (s === 1 && (e.adler = Pf(e.adler, t, r, 0)), i.wrap = 0, r >= i.w_size && (s === 0 && (dr(i.head), i.strstart = 0, i.block_start = 0, i.insert = 0), c = new st.Buf8(i.w_size), st.arraySet(c, t, r - i.w_size, i.w_size, 0), t = c, r = i.w_size), o = e.avail_in, f = e.next_in, p = e.input, e.avail_in = r, e.next_in = 0, e.input = t, Cr(i); i.lookahead >= ye; ) {
2846
+ for (s === 1 && (e.adler = Pf(e.adler, t, r, 0)), i.wrap = 0, r >= i.w_size && (s === 0 && (ur(i.head), i.strstart = 0, i.block_start = 0, i.insert = 0), c = new st.Buf8(i.w_size), st.arraySet(c, t, r - i.w_size, i.w_size, 0), t = c, r = i.w_size), o = e.avail_in, f = e.next_in, p = e.input, e.avail_in = r, e.next_in = 0, e.input = t, Tr(i); i.lookahead >= ye; ) {
2847
2847
  a = i.strstart, n = i.lookahead - (ye - 1);
2848
2848
  do
2849
2849
  i.ins_h = (i.ins_h << i.hash_shift ^ i.window[a + ye - 1]) & i.hash_mask, i.prev[a & i.w_mask] = i.head[i.ins_h], i.head[i.ins_h] = a, a++;
2850
2850
  while (--n);
2851
- i.strstart = a, i.lookahead = ye - 1, Cr(i);
2851
+ i.strstart = a, i.lookahead = ye - 1, Tr(i);
2852
2852
  }
2853
2853
  return i.strstart += i.lookahead, i.block_start = i.strstart, i.insert = i.lookahead, i.lookahead = 0, i.match_length = i.prev_length = ye - 1, i.match_available = 0, e.next_in = f, e.input = p, e.avail_in = o, i.wrap = s, jt;
2854
2854
  }
@@ -2861,7 +2861,7 @@ qt.deflate = Pd;
2861
2861
  qt.deflateEnd = Ad;
2862
2862
  qt.deflateSetDictionary = Td;
2863
2863
  qt.deflateInfo = "pako deflate (from Nodeca project)";
2864
- var $r = {}, jn = tr, Lf = !0, Rf = !0;
2864
+ var Dr = {}, Bn = er, Lf = !0, Rf = !0;
2865
2865
  try {
2866
2866
  String.fromCharCode.apply(null, [0]);
2867
2867
  } catch {
@@ -2872,41 +2872,41 @@ try {
2872
2872
  } catch {
2873
2873
  Rf = !1;
2874
2874
  }
2875
- var Es = new jn.Buf8(256);
2876
- for (var sr = 0; sr < 256; sr++)
2877
- Es[sr] = sr >= 252 ? 6 : sr >= 248 ? 5 : sr >= 240 ? 4 : sr >= 224 ? 3 : sr >= 192 ? 2 : 1;
2878
- Es[254] = Es[254] = 1;
2879
- $r.string2buf = function(e) {
2875
+ var Ss = new Bn.Buf8(256);
2876
+ for (var rr = 0; rr < 256; rr++)
2877
+ Ss[rr] = rr >= 252 ? 6 : rr >= 248 ? 5 : rr >= 240 ? 4 : rr >= 224 ? 3 : rr >= 192 ? 2 : 1;
2878
+ Ss[254] = Ss[254] = 1;
2879
+ Dr.string2buf = function(e) {
2880
2880
  var t, r, i, a, n, s = e.length, o = 0;
2881
2881
  for (a = 0; a < s; a++)
2882
2882
  r = e.charCodeAt(a), (r & 64512) === 55296 && a + 1 < s && (i = e.charCodeAt(a + 1), (i & 64512) === 56320 && (r = 65536 + (r - 55296 << 10) + (i - 56320), a++)), o += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4;
2883
- for (t = new jn.Buf8(o), n = 0, a = 0; n < o; a++)
2883
+ for (t = new Bn.Buf8(o), n = 0, a = 0; n < o; a++)
2884
2884
  r = e.charCodeAt(a), (r & 64512) === 55296 && a + 1 < s && (i = e.charCodeAt(a + 1), (i & 64512) === 56320 && (r = 65536 + (r - 55296 << 10) + (i - 56320), a++)), r < 128 ? t[n++] = r : r < 2048 ? (t[n++] = 192 | r >>> 6, t[n++] = 128 | r & 63) : r < 65536 ? (t[n++] = 224 | r >>> 12, t[n++] = 128 | r >>> 6 & 63, t[n++] = 128 | r & 63) : (t[n++] = 240 | r >>> 18, t[n++] = 128 | r >>> 12 & 63, t[n++] = 128 | r >>> 6 & 63, t[n++] = 128 | r & 63);
2885
2885
  return t;
2886
2886
  };
2887
2887
  function If(e, t) {
2888
2888
  if (t < 65534 && (e.subarray && Rf || !e.subarray && Lf))
2889
- return String.fromCharCode.apply(null, jn.shrinkBuf(e, t));
2889
+ return String.fromCharCode.apply(null, Bn.shrinkBuf(e, t));
2890
2890
  for (var r = "", i = 0; i < t; i++)
2891
2891
  r += String.fromCharCode(e[i]);
2892
2892
  return r;
2893
2893
  }
2894
- $r.buf2binstring = function(e) {
2894
+ Dr.buf2binstring = function(e) {
2895
2895
  return If(e, e.length);
2896
2896
  };
2897
- $r.binstring2buf = function(e) {
2898
- for (var t = new jn.Buf8(e.length), r = 0, i = t.length; r < i; r++)
2897
+ Dr.binstring2buf = function(e) {
2898
+ for (var t = new Bn.Buf8(e.length), r = 0, i = t.length; r < i; r++)
2899
2899
  t[r] = e.charCodeAt(r);
2900
2900
  return t;
2901
2901
  };
2902
- $r.buf2string = function(e, t) {
2902
+ Dr.buf2string = function(e, t) {
2903
2903
  var r, i, a, n, s = t || e.length, o = new Array(s * 2);
2904
2904
  for (i = 0, r = 0; r < s; ) {
2905
2905
  if (a = e[r++], a < 128) {
2906
2906
  o[i++] = a;
2907
2907
  continue;
2908
2908
  }
2909
- if (n = Es[a], n > 4) {
2909
+ if (n = Ss[a], n > 4) {
2910
2910
  o[i++] = 65533, r += n - 1;
2911
2911
  continue;
2912
2912
  }
@@ -2920,19 +2920,19 @@ $r.buf2string = function(e, t) {
2920
2920
  }
2921
2921
  return If(o, i);
2922
2922
  };
2923
- $r.utf8border = function(e, t) {
2923
+ Dr.utf8border = function(e, t) {
2924
2924
  var r;
2925
2925
  for (t = t || e.length, t > e.length && (t = e.length), r = t - 1; r >= 0 && (e[r] & 192) === 128; )
2926
2926
  r--;
2927
- return r < 0 || r === 0 ? t : r + Es[e[r]] > t ? r : t;
2927
+ return r < 0 || r === 0 ? t : r + Ss[e[r]] > t ? r : t;
2928
2928
  };
2929
2929
  function Cd() {
2930
2930
  this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
2931
2931
  }
2932
- var Df = Cd, ms = qt, ys = tr, Wi = $r, Ui = da, Od = Df, $f = Object.prototype.toString, Ld = 0, ii = 4, Zr = 0, Ja = 1, Qa = 2, Rd = -1, Id = 0, Dd = 8;
2933
- function Or(e) {
2934
- if (!(this instanceof Or)) return new Or(e);
2935
- this.options = ys.assign({
2932
+ var Df = Cd, hs = qt, ms = er, ji = Dr, Wi = ua, Od = Df, $f = Object.prototype.toString, Ld = 0, ni = 4, Gr = 0, Ja = 1, Qa = 2, Rd = -1, Id = 0, Dd = 8;
2933
+ function Cr(e) {
2934
+ if (!(this instanceof Cr)) return new Cr(e);
2935
+ this.options = ms.assign({
2936
2936
  level: Rd,
2937
2937
  method: Dd,
2938
2938
  chunkSize: 16384,
@@ -2943,7 +2943,7 @@ function Or(e) {
2943
2943
  }, e || {});
2944
2944
  var t = this.options;
2945
2945
  t.raw && t.windowBits > 0 ? t.windowBits = -t.windowBits : t.gzip && t.windowBits > 0 && t.windowBits < 16 && (t.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new Od(), this.strm.avail_out = 0;
2946
- var r = ms.deflateInit2(
2946
+ var r = hs.deflateInit2(
2947
2947
  this.strm,
2948
2948
  t.level,
2949
2949
  t.method,
@@ -2951,50 +2951,50 @@ function Or(e) {
2951
2951
  t.memLevel,
2952
2952
  t.strategy
2953
2953
  );
2954
- if (r !== Zr)
2955
- throw new Error(Ui[r]);
2956
- if (t.header && ms.deflateSetHeader(this.strm, t.header), t.dictionary) {
2954
+ if (r !== Gr)
2955
+ throw new Error(Wi[r]);
2956
+ if (t.header && hs.deflateSetHeader(this.strm, t.header), t.dictionary) {
2957
2957
  var i;
2958
- if (typeof t.dictionary == "string" ? i = Wi.string2buf(t.dictionary) : $f.call(t.dictionary) === "[object ArrayBuffer]" ? i = new Uint8Array(t.dictionary) : i = t.dictionary, r = ms.deflateSetDictionary(this.strm, i), r !== Zr)
2959
- throw new Error(Ui[r]);
2958
+ if (typeof t.dictionary == "string" ? i = ji.string2buf(t.dictionary) : $f.call(t.dictionary) === "[object ArrayBuffer]" ? i = new Uint8Array(t.dictionary) : i = t.dictionary, r = hs.deflateSetDictionary(this.strm, i), r !== Gr)
2959
+ throw new Error(Wi[r]);
2960
2960
  this._dict_set = !0;
2961
2961
  }
2962
2962
  }
2963
- Or.prototype.push = function(e, t) {
2963
+ Cr.prototype.push = function(e, t) {
2964
2964
  var r = this.strm, i = this.options.chunkSize, a, n;
2965
2965
  if (this.ended)
2966
2966
  return !1;
2967
- n = t === ~~t ? t : t === !0 ? ii : Ld, typeof e == "string" ? r.input = Wi.string2buf(e) : $f.call(e) === "[object ArrayBuffer]" ? r.input = new Uint8Array(e) : r.input = e, r.next_in = 0, r.avail_in = r.input.length;
2967
+ n = t === ~~t ? t : t === !0 ? ni : Ld, typeof e == "string" ? r.input = ji.string2buf(e) : $f.call(e) === "[object ArrayBuffer]" ? r.input = new Uint8Array(e) : r.input = e, r.next_in = 0, r.avail_in = r.input.length;
2968
2968
  do {
2969
- if (r.avail_out === 0 && (r.output = new ys.Buf8(i), r.next_out = 0, r.avail_out = i), a = ms.deflate(r, n), a !== Ja && a !== Zr)
2969
+ if (r.avail_out === 0 && (r.output = new ms.Buf8(i), r.next_out = 0, r.avail_out = i), a = hs.deflate(r, n), a !== Ja && a !== Gr)
2970
2970
  return this.onEnd(a), this.ended = !0, !1;
2971
- (r.avail_out === 0 || r.avail_in === 0 && (n === ii || n === Qa)) && (this.options.to === "string" ? this.onData(Wi.buf2binstring(ys.shrinkBuf(r.output, r.next_out))) : this.onData(ys.shrinkBuf(r.output, r.next_out)));
2971
+ (r.avail_out === 0 || r.avail_in === 0 && (n === ni || n === Qa)) && (this.options.to === "string" ? this.onData(ji.buf2binstring(ms.shrinkBuf(r.output, r.next_out))) : this.onData(ms.shrinkBuf(r.output, r.next_out)));
2972
2972
  } while ((r.avail_in > 0 || r.avail_out === 0) && a !== Ja);
2973
- return n === ii ? (a = ms.deflateEnd(this.strm), this.onEnd(a), this.ended = !0, a === Zr) : (n === Qa && (this.onEnd(Zr), r.avail_out = 0), !0);
2973
+ return n === ni ? (a = hs.deflateEnd(this.strm), this.onEnd(a), this.ended = !0, a === Gr) : (n === Qa && (this.onEnd(Gr), r.avail_out = 0), !0);
2974
2974
  };
2975
- Or.prototype.onData = function(e) {
2975
+ Cr.prototype.onData = function(e) {
2976
2976
  this.chunks.push(e);
2977
2977
  };
2978
- Or.prototype.onEnd = function(e) {
2979
- e === Zr && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = ys.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
2978
+ Cr.prototype.onEnd = function(e) {
2979
+ e === Gr && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = ms.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
2980
2980
  };
2981
- function ha(e, t) {
2982
- var r = new Or(t);
2981
+ function da(e, t) {
2982
+ var r = new Cr(t);
2983
2983
  if (r.push(e, !0), r.err)
2984
- throw r.msg || Ui[r.err];
2984
+ throw r.msg || Wi[r.err];
2985
2985
  return r.result;
2986
2986
  }
2987
2987
  function $d(e, t) {
2988
- return t = t || {}, t.raw = !0, ha(e, t);
2988
+ return t = t || {}, t.raw = !0, da(e, t);
2989
2989
  }
2990
2990
  function Hd(e, t) {
2991
- return t = t || {}, t.gzip = !0, ha(e, t);
2991
+ return t = t || {}, t.gzip = !0, da(e, t);
2992
2992
  }
2993
- Is.Deflate = Or;
2994
- Is.deflate = ha;
2995
- Is.deflateRaw = $d;
2996
- Is.gzip = Hd;
2997
- var Hs = {}, It = {}, qs = 30, Fd = 12, Nd = function(t, r) {
2993
+ Rs.Deflate = Cr;
2994
+ Rs.deflate = da;
2995
+ Rs.deflateRaw = $d;
2996
+ Rs.gzip = Hd;
2997
+ var $s = {}, It = {}, Ms = 30, Fd = 12, Nd = function(t, r) {
2998
2998
  var i, a, n, s, o, f, p, c, m, h, _, L, y, g, b, R, O, H, A, $, S, P, C, k, E;
2999
2999
  i = t.state, a = t.next_in, k = t.input, n = a + (t.avail_in - 5), s = t.next_out, E = t.output, o = s - (r - t.avail_out), f = s + (t.avail_out - 257), p = i.dmax, c = i.wsize, m = i.whave, h = i.wnext, _ = i.window, L = i.hold, y = i.bits, g = i.lencode, b = i.distcode, R = (1 << i.lenbits) - 1, O = (1 << i.distbits) - 1;
3000
3000
  e:
@@ -3010,12 +3010,12 @@ var Hs = {}, It = {}, qs = 30, Fd = 12, Nd = function(t, r) {
3010
3010
  for (; ; ) {
3011
3011
  if (A = H >>> 24, L >>>= A, y -= A, A = H >>> 16 & 255, A & 16) {
3012
3012
  if (S = H & 65535, A &= 15, y < A && (L += k[a++] << y, y += 8, y < A && (L += k[a++] << y, y += 8)), S += L & (1 << A) - 1, S > p) {
3013
- t.msg = "invalid distance too far back", i.mode = qs;
3013
+ t.msg = "invalid distance too far back", i.mode = Ms;
3014
3014
  break e;
3015
3015
  }
3016
3016
  if (L >>>= A, y -= A, A = s - o, S > A) {
3017
3017
  if (A = S - A, A > m && i.sane) {
3018
- t.msg = "invalid distance too far back", i.mode = qs;
3018
+ t.msg = "invalid distance too far back", i.mode = Ms;
3019
3019
  break e;
3020
3020
  }
3021
3021
  if (P = 0, C = _, h === 0) {
@@ -3058,7 +3058,7 @@ var Hs = {}, It = {}, qs = 30, Fd = 12, Nd = function(t, r) {
3058
3058
  $ && (E[s++] = E[P++], $ > 1 && (E[s++] = E[P++]));
3059
3059
  }
3060
3060
  } else if (A & 64) {
3061
- t.msg = "invalid distance code", i.mode = qs;
3061
+ t.msg = "invalid distance code", i.mode = Ms;
3062
3062
  break e;
3063
3063
  } else {
3064
3064
  H = b[(H & 65535) + (L & (1 << A) - 1)];
@@ -3071,7 +3071,7 @@ var Hs = {}, It = {}, qs = 30, Fd = 12, Nd = function(t, r) {
3071
3071
  i.mode = Fd;
3072
3072
  break e;
3073
3073
  } else {
3074
- t.msg = "invalid literal/length code", i.mode = qs;
3074
+ t.msg = "invalid literal/length code", i.mode = Ms;
3075
3075
  break e;
3076
3076
  }
3077
3077
  else {
@@ -3082,7 +3082,7 @@ var Hs = {}, It = {}, qs = 30, Fd = 12, Nd = function(t, r) {
3082
3082
  }
3083
3083
  } while (a < n && s < f);
3084
3084
  $ = y >> 3, a -= $, y -= $ << 3, L &= (1 << y) - 1, t.next_in = a, t.next_out = s, t.avail_in = a < n ? 5 + (n - a) : 5 - (a - n), t.avail_out = s < f ? 257 + (f - s) : 257 - (s - f), i.hold = L, i.bits = y;
3085
- }, eo = tr, Nr = 15, to = 852, ro = 592, so = 0, ai = 1, no = 2, Bd = [
3085
+ }, eo = er, Fr = 15, to = 852, ro = 592, so = 0, ii = 1, no = 2, Bd = [
3086
3086
  /* Length codes 257..285 base */
3087
3087
  3,
3088
3088
  4,
@@ -3217,27 +3217,27 @@ var Hs = {}, It = {}, qs = 30, Fd = 12, Nd = function(t, r) {
3217
3217
  64,
3218
3218
  64
3219
3219
  ], Md = function(t, r, i, a, n, s, o, f) {
3220
- var p = f.bits, c = 0, m = 0, h = 0, _ = 0, L = 0, y = 0, g = 0, b = 0, R = 0, O = 0, H, A, $, S, P, C = null, k = 0, E, D = new eo.Buf16(Nr + 1), I = new eo.Buf16(Nr + 1), B = null, W = 0, M, V, z;
3221
- for (c = 0; c <= Nr; c++)
3220
+ var p = f.bits, c = 0, m = 0, h = 0, _ = 0, L = 0, y = 0, g = 0, b = 0, R = 0, O = 0, H, A, $, S, P, C = null, k = 0, E, D = new eo.Buf16(Fr + 1), I = new eo.Buf16(Fr + 1), B = null, W = 0, M, V, z;
3221
+ for (c = 0; c <= Fr; c++)
3222
3222
  D[c] = 0;
3223
3223
  for (m = 0; m < a; m++)
3224
3224
  D[r[i + m]]++;
3225
- for (L = p, _ = Nr; _ >= 1 && D[_] === 0; _--)
3225
+ for (L = p, _ = Fr; _ >= 1 && D[_] === 0; _--)
3226
3226
  ;
3227
3227
  if (L > _ && (L = _), _ === 0)
3228
3228
  return n[s++] = 1 << 24 | 64 << 16 | 0, n[s++] = 1 << 24 | 64 << 16 | 0, f.bits = 1, 0;
3229
3229
  for (h = 1; h < _ && D[h] === 0; h++)
3230
3230
  ;
3231
- for (L < h && (L = h), b = 1, c = 1; c <= Nr; c++)
3231
+ for (L < h && (L = h), b = 1, c = 1; c <= Fr; c++)
3232
3232
  if (b <<= 1, b -= D[c], b < 0)
3233
3233
  return -1;
3234
3234
  if (b > 0 && (t === so || _ !== 1))
3235
3235
  return -1;
3236
- for (I[1] = 0, c = 1; c < Nr; c++)
3236
+ for (I[1] = 0, c = 1; c < Fr; c++)
3237
3237
  I[c + 1] = I[c] + D[c];
3238
3238
  for (m = 0; m < a; m++)
3239
3239
  r[i + m] !== 0 && (o[I[r[i + m]]++] = m);
3240
- if (t === so ? (C = B = o, E = 19) : t === ai ? (C = Bd, k -= 257, B = jd, W -= 257, E = 256) : (C = Wd, B = Ud, E = -1), O = 0, m = 0, c = h, P = s, y = L, g = 0, $ = -1, R = 1 << L, S = R - 1, t === ai && R > to || t === no && R > ro)
3240
+ if (t === so ? (C = B = o, E = 19) : t === ii ? (C = Bd, k -= 257, B = jd, W -= 257, E = 256) : (C = Wd, B = Ud, E = -1), O = 0, m = 0, c = h, P = s, y = L, g = 0, $ = -1, R = 1 << L, S = R - 1, t === ii && R > to || t === no && R > ro)
3241
3241
  return 1;
3242
3242
  for (; ; ) {
3243
3243
  M = c - g, o[m] < E ? (V = 0, z = o[m]) : o[m] > E ? (V = B[W + o[m]], z = C[k + o[m]]) : (V = 96, z = 0), H = 1 << c - g, A = 1 << y, h = A;
@@ -3254,13 +3254,13 @@ var Hs = {}, It = {}, qs = 30, Fd = 12, Nd = function(t, r) {
3254
3254
  if (c > L && (O & S) !== $) {
3255
3255
  for (g === 0 && (g = L), P += h, y = c - g, b = 1 << y; y + g < _ && (b -= D[y + g], !(b <= 0)); )
3256
3256
  y++, b <<= 1;
3257
- if (R += 1 << y, t === ai && R > to || t === no && R > ro)
3257
+ if (R += 1 << y, t === ii && R > to || t === no && R > ro)
3258
3258
  return 1;
3259
3259
  $ = O & S, n[$] = L << 24 | y << 16 | P - s | 0;
3260
3260
  }
3261
3261
  }
3262
3262
  return O !== 0 && (n[P + O] = c - g << 24 | 64 << 16 | 0), f.bits = L, 0;
3263
- }, gt = tr, Mi = Sf, Ht = Ef, qd = Nd, _s = Md, Kd = 0, Hf = 1, Ff = 2, io = 4, zd = 5, Ks = 6, Lr = 0, Gd = 1, Zd = 2, Pt = -2, Nf = -3, Bf = -4, Vd = -5, ao = 8, jf = 1, oo = 2, lo = 3, fo = 4, po = 5, co = 6, uo = 7, ho = 8, mo = 9, yo = 10, Pn = 11, Gt = 12, oi = 13, _o = 14, li = 15, go = 16, wo = 17, bo = 18, vo = 19, zs = 20, Gs = 21, xo = 22, ko = 23, So = 24, Eo = 25, Po = 26, fi = 27, Ao = 28, To = 29, De = 30, Wf = 31, Yd = 32, Xd = 852, Jd = 592, Qd = 15, eh = Qd;
3263
+ }, gt = er, Ui = Sf, Ht = Ef, qd = Nd, ys = Md, Kd = 0, Hf = 1, Ff = 2, io = 4, zd = 5, qs = 6, Or = 0, Gd = 1, Zd = 2, Pt = -2, Nf = -3, Bf = -4, Vd = -5, ao = 8, jf = 1, oo = 2, lo = 3, fo = 4, po = 5, co = 6, uo = 7, ho = 8, mo = 9, yo = 10, En = 11, Gt = 12, ai = 13, _o = 14, oi = 15, go = 16, wo = 17, bo = 18, vo = 19, Ks = 20, zs = 21, xo = 22, ko = 23, So = 24, Eo = 25, Po = 26, li = 27, Ao = 28, To = 29, De = 30, Wf = 31, Yd = 32, Xd = 852, Jd = 592, Qd = 15, eh = Qd;
3264
3264
  function Co(e) {
3265
3265
  return (e >>> 24 & 255) + (e >>> 8 & 65280) + ((e & 65280) << 8) + ((e & 255) << 24);
3266
3266
  }
@@ -3269,7 +3269,7 @@ function th() {
3269
3269
  }
3270
3270
  function Uf(e) {
3271
3271
  var t;
3272
- return !e || !e.state ? Pt : (t = e.state, e.total_in = e.total_out = t.total = 0, e.msg = "", t.wrap && (e.adler = t.wrap & 1), t.mode = jf, t.last = 0, t.havedict = 0, t.dmax = 32768, t.head = null, t.hold = 0, t.bits = 0, t.lencode = t.lendyn = new gt.Buf32(Xd), t.distcode = t.distdyn = new gt.Buf32(Jd), t.sane = 1, t.back = -1, Lr);
3272
+ return !e || !e.state ? Pt : (t = e.state, e.total_in = e.total_out = t.total = 0, e.msg = "", t.wrap && (e.adler = t.wrap & 1), t.mode = jf, t.last = 0, t.havedict = 0, t.dmax = 32768, t.head = null, t.hold = 0, t.bits = 0, t.lencode = t.lendyn = new gt.Buf32(Xd), t.distcode = t.distdyn = new gt.Buf32(Jd), t.sane = 1, t.back = -1, Or);
3273
3273
  }
3274
3274
  function Mf(e) {
3275
3275
  var t;
@@ -3281,16 +3281,16 @@ function qf(e, t) {
3281
3281
  }
3282
3282
  function Kf(e, t) {
3283
3283
  var r, i;
3284
- return e ? (i = new th(), e.state = i, i.window = null, r = qf(e, t), r !== Lr && (e.state = null), r) : Pt;
3284
+ return e ? (i = new th(), e.state = i, i.window = null, r = qf(e, t), r !== Or && (e.state = null), r) : Pt;
3285
3285
  }
3286
3286
  function rh(e) {
3287
3287
  return Kf(e, eh);
3288
3288
  }
3289
- var Oo = !0, pi, ci;
3289
+ var Oo = !0, fi, pi;
3290
3290
  function sh(e) {
3291
3291
  if (Oo) {
3292
3292
  var t;
3293
- for (pi = new gt.Buf32(512), ci = new gt.Buf32(32), t = 0; t < 144; )
3293
+ for (fi = new gt.Buf32(512), pi = new gt.Buf32(32), t = 0; t < 144; )
3294
3294
  e.lens[t++] = 8;
3295
3295
  for (; t < 256; )
3296
3296
  e.lens[t++] = 9;
@@ -3298,11 +3298,11 @@ function sh(e) {
3298
3298
  e.lens[t++] = 7;
3299
3299
  for (; t < 288; )
3300
3300
  e.lens[t++] = 8;
3301
- for (_s(Hf, e.lens, 0, 288, pi, 0, e.work, { bits: 9 }), t = 0; t < 32; )
3301
+ for (ys(Hf, e.lens, 0, 288, fi, 0, e.work, { bits: 9 }), t = 0; t < 32; )
3302
3302
  e.lens[t++] = 5;
3303
- _s(Ff, e.lens, 0, 32, ci, 0, e.work, { bits: 5 }), Oo = !1;
3303
+ ys(Ff, e.lens, 0, 32, pi, 0, e.work, { bits: 5 }), Oo = !1;
3304
3304
  }
3305
- e.lencode = pi, e.lenbits = 9, e.distcode = ci, e.distbits = 5;
3305
+ e.lencode = fi, e.lenbits = 9, e.distcode = pi, e.distbits = 5;
3306
3306
  }
3307
3307
  function zf(e, t, r, i) {
3308
3308
  var a, n = e.state;
@@ -3315,13 +3315,13 @@ function nh(e, t) {
3315
3315
  );
3316
3316
  if (!e || !e.state || !e.output || !e.input && e.avail_in !== 0)
3317
3317
  return Pt;
3318
- r = e.state, r.mode === Gt && (r.mode = oi), s = e.next_out, a = e.output, f = e.avail_out, n = e.next_in, i = e.input, o = e.avail_in, p = r.hold, c = r.bits, m = o, h = f, P = Lr;
3318
+ r = e.state, r.mode === Gt && (r.mode = ai), s = e.next_out, a = e.output, f = e.avail_out, n = e.next_in, i = e.input, o = e.avail_in, p = r.hold, c = r.bits, m = o, h = f, P = Or;
3319
3319
  e:
3320
3320
  for (; ; )
3321
3321
  switch (r.mode) {
3322
3322
  case jf:
3323
3323
  if (r.wrap === 0) {
3324
- r.mode = oi;
3324
+ r.mode = ai;
3325
3325
  break;
3326
3326
  }
3327
3327
  for (; c < 16; ) {
@@ -3447,17 +3447,17 @@ function nh(e, t) {
3447
3447
  break e;
3448
3448
  o--, p += i[n++] << c, c += 8;
3449
3449
  }
3450
- e.adler = r.check = Co(p), p = 0, c = 0, r.mode = Pn;
3451
- case Pn:
3450
+ e.adler = r.check = Co(p), p = 0, c = 0, r.mode = En;
3451
+ case En:
3452
3452
  if (r.havedict === 0)
3453
3453
  return e.next_out = s, e.avail_out = f, e.next_in = n, e.avail_in = o, r.hold = p, r.bits = c, Zd;
3454
3454
  e.adler = r.check = 1, r.mode = Gt;
3455
3455
  case Gt:
3456
- if (t === zd || t === Ks)
3456
+ if (t === zd || t === qs)
3457
3457
  break e;
3458
- case oi:
3458
+ case ai:
3459
3459
  if (r.last) {
3460
- p >>>= c & 7, c -= c & 7, r.mode = fi;
3460
+ p >>>= c & 7, c -= c & 7, r.mode = li;
3461
3461
  break;
3462
3462
  }
3463
3463
  for (; c < 3; ) {
@@ -3470,7 +3470,7 @@ function nh(e, t) {
3470
3470
  r.mode = _o;
3471
3471
  break;
3472
3472
  case 1:
3473
- if (sh(r), r.mode = zs, t === Ks) {
3473
+ if (sh(r), r.mode = Ks, t === qs) {
3474
3474
  p >>>= 2, c -= 2;
3475
3475
  break e;
3476
3476
  }
@@ -3493,9 +3493,9 @@ function nh(e, t) {
3493
3493
  e.msg = "invalid stored block lengths", r.mode = De;
3494
3494
  break;
3495
3495
  }
3496
- if (r.length = p & 65535, p = 0, c = 0, r.mode = li, t === Ks)
3496
+ if (r.length = p & 65535, p = 0, c = 0, r.mode = oi, t === qs)
3497
3497
  break e;
3498
- case li:
3498
+ case oi:
3499
3499
  r.mode = go;
3500
3500
  case go:
3501
3501
  if (_ = r.length, _) {
@@ -3528,7 +3528,7 @@ function nh(e, t) {
3528
3528
  }
3529
3529
  for (; r.have < 19; )
3530
3530
  r.lens[D[r.have++]] = 0;
3531
- if (r.lencode = r.lendyn, r.lenbits = 7, k = { bits: r.lenbits }, P = _s(Kd, r.lens, 0, 19, r.lencode, 0, r.work, k), r.lenbits = k.bits, P) {
3531
+ if (r.lencode = r.lendyn, r.lenbits = 7, k = { bits: r.lenbits }, P = ys(Kd, r.lens, 0, 19, r.lencode, 0, r.work, k), r.lenbits = k.bits, P) {
3532
3532
  e.msg = "invalid code lengths set", r.mode = De;
3533
3533
  break;
3534
3534
  }
@@ -3583,19 +3583,19 @@ function nh(e, t) {
3583
3583
  e.msg = "invalid code -- missing end-of-block", r.mode = De;
3584
3584
  break;
3585
3585
  }
3586
- if (r.lenbits = 9, k = { bits: r.lenbits }, P = _s(Hf, r.lens, 0, r.nlen, r.lencode, 0, r.work, k), r.lenbits = k.bits, P) {
3586
+ if (r.lenbits = 9, k = { bits: r.lenbits }, P = ys(Hf, r.lens, 0, r.nlen, r.lencode, 0, r.work, k), r.lenbits = k.bits, P) {
3587
3587
  e.msg = "invalid literal/lengths set", r.mode = De;
3588
3588
  break;
3589
3589
  }
3590
- if (r.distbits = 6, r.distcode = r.distdyn, k = { bits: r.distbits }, P = _s(Ff, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, k), r.distbits = k.bits, P) {
3590
+ if (r.distbits = 6, r.distcode = r.distdyn, k = { bits: r.distbits }, P = ys(Ff, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, k), r.distbits = k.bits, P) {
3591
3591
  e.msg = "invalid distances set", r.mode = De;
3592
3592
  break;
3593
3593
  }
3594
- if (r.mode = zs, t === Ks)
3594
+ if (r.mode = Ks, t === qs)
3595
3595
  break e;
3596
+ case Ks:
3597
+ r.mode = zs;
3596
3598
  case zs:
3597
- r.mode = Gs;
3598
- case Gs:
3599
3599
  if (o >= 6 && f >= 258) {
3600
3600
  e.next_out = s, e.avail_out = f, e.next_in = n, e.avail_in = o, r.hold = p, r.bits = c, qd(e, h), s = e.next_out, a = e.output, f = e.avail_out, n = e.next_in, i = e.input, o = e.avail_in, p = r.hold, c = r.bits, r.mode === Gt && (r.back = -1);
3601
3601
  break;
@@ -3684,14 +3684,14 @@ function nh(e, t) {
3684
3684
  do
3685
3685
  a[s++] = y[L++];
3686
3686
  while (--_);
3687
- r.length === 0 && (r.mode = Gs);
3687
+ r.length === 0 && (r.mode = zs);
3688
3688
  break;
3689
3689
  case Po:
3690
3690
  if (f === 0)
3691
3691
  break e;
3692
- a[s++] = r.length, f--, r.mode = Gs;
3692
+ a[s++] = r.length, f--, r.mode = zs;
3693
3693
  break;
3694
- case fi:
3694
+ case li:
3695
3695
  if (r.wrap) {
3696
3696
  for (; c < 32; ) {
3697
3697
  if (o === 0)
@@ -3699,7 +3699,7 @@ function nh(e, t) {
3699
3699
  o--, p |= i[n++] << c, c += 8;
3700
3700
  }
3701
3701
  if (h -= f, e.total_out += h, r.total += h, h && (e.adler = r.check = /*UPDATE(state.check, put - _out, _out);*/
3702
- r.flags ? Ht(r.check, a, h, s - h) : Mi(r.check, a, h, s - h)), h = f, (r.flags ? p : Co(p)) !== r.check) {
3702
+ r.flags ? Ht(r.check, a, h, s - h) : Ui(r.check, a, h, s - h)), h = f, (r.flags ? p : Co(p)) !== r.check) {
3703
3703
  e.msg = "incorrect data check", r.mode = De;
3704
3704
  break;
3705
3705
  }
@@ -3732,22 +3732,22 @@ function nh(e, t) {
3732
3732
  default:
3733
3733
  return Pt;
3734
3734
  }
3735
- return e.next_out = s, e.avail_out = f, e.next_in = n, e.avail_in = o, r.hold = p, r.bits = c, (r.wsize || h !== e.avail_out && r.mode < De && (r.mode < fi || t !== io)) && zf(e, e.output, e.next_out, h - e.avail_out), m -= e.avail_in, h -= e.avail_out, e.total_in += m, e.total_out += h, r.total += h, r.wrap && h && (e.adler = r.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/
3736
- r.flags ? Ht(r.check, a, h, e.next_out - h) : Mi(r.check, a, h, e.next_out - h)), e.data_type = r.bits + (r.last ? 64 : 0) + (r.mode === Gt ? 128 : 0) + (r.mode === zs || r.mode === li ? 256 : 0), (m === 0 && h === 0 || t === io) && P === Lr && (P = Vd), P;
3735
+ return e.next_out = s, e.avail_out = f, e.next_in = n, e.avail_in = o, r.hold = p, r.bits = c, (r.wsize || h !== e.avail_out && r.mode < De && (r.mode < li || t !== io)) && zf(e, e.output, e.next_out, h - e.avail_out), m -= e.avail_in, h -= e.avail_out, e.total_in += m, e.total_out += h, r.total += h, r.wrap && h && (e.adler = r.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/
3736
+ r.flags ? Ht(r.check, a, h, e.next_out - h) : Ui(r.check, a, h, e.next_out - h)), e.data_type = r.bits + (r.last ? 64 : 0) + (r.mode === Gt ? 128 : 0) + (r.mode === Ks || r.mode === oi ? 256 : 0), (m === 0 && h === 0 || t === io) && P === Or && (P = Vd), P;
3737
3737
  }
3738
3738
  function ih(e) {
3739
3739
  if (!e || !e.state)
3740
3740
  return Pt;
3741
3741
  var t = e.state;
3742
- return t.window && (t.window = null), e.state = null, Lr;
3742
+ return t.window && (t.window = null), e.state = null, Or;
3743
3743
  }
3744
3744
  function ah(e, t) {
3745
3745
  var r;
3746
- return !e || !e.state || (r = e.state, !(r.wrap & 2)) ? Pt : (r.head = t, t.done = !1, Lr);
3746
+ return !e || !e.state || (r = e.state, !(r.wrap & 2)) ? Pt : (r.head = t, t.done = !1, Or);
3747
3747
  }
3748
3748
  function oh(e, t) {
3749
3749
  var r = t.length, i, a, n;
3750
- return !e || !e.state || (i = e.state, i.wrap !== 0 && i.mode !== Pn) ? Pt : i.mode === Pn && (a = 1, a = Mi(a, t, r, 0), a !== i.check) ? Nf : (n = zf(e, t, r, r), n ? (i.mode = Wf, Bf) : (i.havedict = 1, Lr));
3750
+ return !e || !e.state || (i = e.state, i.wrap !== 0 && i.mode !== En) ? Pt : i.mode === En && (a = 1, a = Ui(a, t, r, 0), a !== i.check) ? Nf : (n = zf(e, t, r, r), n ? (i.mode = Wf, Bf) : (i.havedict = 1, Or));
3751
3751
  }
3752
3752
  It.inflateReset = Mf;
3753
3753
  It.inflateReset2 = qf;
@@ -3802,60 +3802,60 @@ var Gf = {
3802
3802
  function lh() {
3803
3803
  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;
3804
3804
  }
3805
- var fh = lh, Vr = It, gs = tr, un = $r, Ne = Gf, qi = da, ph = Df, ch = fh, Zf = Object.prototype.toString;
3806
- function Rr(e) {
3807
- if (!(this instanceof Rr)) return new Rr(e);
3808
- this.options = gs.assign({
3805
+ var fh = lh, Zr = It, _s = er, cn = Dr, Ne = Gf, Mi = ua, ph = Df, ch = fh, Zf = Object.prototype.toString;
3806
+ function Lr(e) {
3807
+ if (!(this instanceof Lr)) return new Lr(e);
3808
+ this.options = _s.assign({
3809
3809
  chunkSize: 16384,
3810
3810
  windowBits: 0,
3811
3811
  to: ""
3812
3812
  }, e || {});
3813
3813
  var t = this.options;
3814
3814
  t.raw && t.windowBits >= 0 && t.windowBits < 16 && (t.windowBits = -t.windowBits, t.windowBits === 0 && (t.windowBits = -15)), t.windowBits >= 0 && t.windowBits < 16 && !(e && e.windowBits) && (t.windowBits += 32), t.windowBits > 15 && t.windowBits < 48 && (t.windowBits & 15 || (t.windowBits |= 15)), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new ph(), this.strm.avail_out = 0;
3815
- var r = Vr.inflateInit2(
3815
+ var r = Zr.inflateInit2(
3816
3816
  this.strm,
3817
3817
  t.windowBits
3818
3818
  );
3819
3819
  if (r !== Ne.Z_OK)
3820
- throw new Error(qi[r]);
3821
- if (this.header = new ch(), Vr.inflateGetHeader(this.strm, this.header), t.dictionary && (typeof t.dictionary == "string" ? t.dictionary = un.string2buf(t.dictionary) : Zf.call(t.dictionary) === "[object ArrayBuffer]" && (t.dictionary = new Uint8Array(t.dictionary)), t.raw && (r = Vr.inflateSetDictionary(this.strm, t.dictionary), r !== Ne.Z_OK)))
3822
- throw new Error(qi[r]);
3820
+ throw new Error(Mi[r]);
3821
+ if (this.header = new ch(), Zr.inflateGetHeader(this.strm, this.header), t.dictionary && (typeof t.dictionary == "string" ? t.dictionary = cn.string2buf(t.dictionary) : Zf.call(t.dictionary) === "[object ArrayBuffer]" && (t.dictionary = new Uint8Array(t.dictionary)), t.raw && (r = Zr.inflateSetDictionary(this.strm, t.dictionary), r !== Ne.Z_OK)))
3822
+ throw new Error(Mi[r]);
3823
3823
  }
3824
- Rr.prototype.push = function(e, t) {
3824
+ Lr.prototype.push = function(e, t) {
3825
3825
  var r = this.strm, i = this.options.chunkSize, a = this.options.dictionary, n, s, o, f, p, c = !1;
3826
3826
  if (this.ended)
3827
3827
  return !1;
3828
- s = t === ~~t ? t : t === !0 ? Ne.Z_FINISH : Ne.Z_NO_FLUSH, typeof e == "string" ? r.input = un.binstring2buf(e) : Zf.call(e) === "[object ArrayBuffer]" ? r.input = new Uint8Array(e) : r.input = e, r.next_in = 0, r.avail_in = r.input.length;
3828
+ s = t === ~~t ? t : t === !0 ? Ne.Z_FINISH : Ne.Z_NO_FLUSH, typeof e == "string" ? r.input = cn.binstring2buf(e) : Zf.call(e) === "[object ArrayBuffer]" ? r.input = new Uint8Array(e) : r.input = e, r.next_in = 0, r.avail_in = r.input.length;
3829
3829
  do {
3830
- if (r.avail_out === 0 && (r.output = new gs.Buf8(i), r.next_out = 0, r.avail_out = i), n = Vr.inflate(r, Ne.Z_NO_FLUSH), n === Ne.Z_NEED_DICT && a && (n = Vr.inflateSetDictionary(this.strm, a)), n === Ne.Z_BUF_ERROR && c === !0 && (n = Ne.Z_OK, c = !1), n !== Ne.Z_STREAM_END && n !== Ne.Z_OK)
3830
+ if (r.avail_out === 0 && (r.output = new _s.Buf8(i), r.next_out = 0, r.avail_out = i), n = Zr.inflate(r, Ne.Z_NO_FLUSH), n === Ne.Z_NEED_DICT && a && (n = Zr.inflateSetDictionary(this.strm, a)), n === Ne.Z_BUF_ERROR && c === !0 && (n = Ne.Z_OK, c = !1), n !== Ne.Z_STREAM_END && n !== Ne.Z_OK)
3831
3831
  return this.onEnd(n), this.ended = !0, !1;
3832
- r.next_out && (r.avail_out === 0 || n === Ne.Z_STREAM_END || r.avail_in === 0 && (s === Ne.Z_FINISH || s === Ne.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (o = un.utf8border(r.output, r.next_out), f = r.next_out - o, p = un.buf2string(r.output, o), r.next_out = f, r.avail_out = i - f, f && gs.arraySet(r.output, r.output, o, f, 0), this.onData(p)) : this.onData(gs.shrinkBuf(r.output, r.next_out))), r.avail_in === 0 && r.avail_out === 0 && (c = !0);
3832
+ r.next_out && (r.avail_out === 0 || n === Ne.Z_STREAM_END || r.avail_in === 0 && (s === Ne.Z_FINISH || s === Ne.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (o = cn.utf8border(r.output, r.next_out), f = r.next_out - o, p = cn.buf2string(r.output, o), r.next_out = f, r.avail_out = i - f, f && _s.arraySet(r.output, r.output, o, f, 0), this.onData(p)) : this.onData(_s.shrinkBuf(r.output, r.next_out))), r.avail_in === 0 && r.avail_out === 0 && (c = !0);
3833
3833
  } while ((r.avail_in > 0 || r.avail_out === 0) && n !== Ne.Z_STREAM_END);
3834
- return n === Ne.Z_STREAM_END && (s = Ne.Z_FINISH), s === Ne.Z_FINISH ? (n = Vr.inflateEnd(this.strm), this.onEnd(n), this.ended = !0, n === Ne.Z_OK) : (s === Ne.Z_SYNC_FLUSH && (this.onEnd(Ne.Z_OK), r.avail_out = 0), !0);
3834
+ return n === Ne.Z_STREAM_END && (s = Ne.Z_FINISH), s === Ne.Z_FINISH ? (n = Zr.inflateEnd(this.strm), this.onEnd(n), this.ended = !0, n === Ne.Z_OK) : (s === Ne.Z_SYNC_FLUSH && (this.onEnd(Ne.Z_OK), r.avail_out = 0), !0);
3835
3835
  };
3836
- Rr.prototype.onData = function(e) {
3836
+ Lr.prototype.onData = function(e) {
3837
3837
  this.chunks.push(e);
3838
3838
  };
3839
- Rr.prototype.onEnd = function(e) {
3840
- e === Ne.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = gs.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
3839
+ Lr.prototype.onEnd = function(e) {
3840
+ e === Ne.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = _s.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
3841
3841
  };
3842
- function ma(e, t) {
3843
- var r = new Rr(t);
3842
+ function ha(e, t) {
3843
+ var r = new Lr(t);
3844
3844
  if (r.push(e, !0), r.err)
3845
- throw r.msg || qi[r.err];
3845
+ throw r.msg || Mi[r.err];
3846
3846
  return r.result;
3847
3847
  }
3848
3848
  function uh(e, t) {
3849
- return t = t || {}, t.raw = !0, ma(e, t);
3849
+ return t = t || {}, t.raw = !0, ha(e, t);
3850
3850
  }
3851
- Hs.Inflate = Rr;
3852
- Hs.inflate = ma;
3853
- Hs.inflateRaw = uh;
3854
- Hs.ungzip = ma;
3855
- var dh = tr.assign, hh = Is, mh = Hs, yh = Gf, Vf = {};
3851
+ $s.Inflate = Lr;
3852
+ $s.inflate = ha;
3853
+ $s.inflateRaw = uh;
3854
+ $s.ungzip = ha;
3855
+ var dh = er.assign, hh = Rs, mh = $s, yh = Gf, Vf = {};
3856
3856
  dh(Vf, hh, mh, yh);
3857
3857
  var _h = Vf;
3858
- const Yf = /* @__PURE__ */ ra(_h);
3858
+ const Yf = /* @__PURE__ */ ta(_h);
3859
3859
  async function gh(e, t) {
3860
3860
  const r = new nf(e);
3861
3861
  let i = await r.read(4);
@@ -3918,8 +3918,8 @@ async function wh(e) {
3918
3918
  async function bh(e) {
3919
3919
  return Yf.inflate(e);
3920
3920
  }
3921
- var Ki = { exports: {} };
3922
- typeof Object.create == "function" ? Ki.exports = function(t, r) {
3921
+ var qi = { exports: {} };
3922
+ typeof Object.create == "function" ? qi.exports = function(t, r) {
3923
3923
  r && (t.super_ = r, t.prototype = Object.create(r.prototype, {
3924
3924
  constructor: {
3925
3925
  value: t,
@@ -3928,7 +3928,7 @@ typeof Object.create == "function" ? Ki.exports = function(t, r) {
3928
3928
  configurable: !0
3929
3929
  }
3930
3930
  }));
3931
- } : Ki.exports = function(t, r) {
3931
+ } : qi.exports = function(t, r) {
3932
3932
  if (r) {
3933
3933
  t.super_ = r;
3934
3934
  var i = function() {
@@ -3936,13 +3936,13 @@ typeof Object.create == "function" ? Ki.exports = function(t, r) {
3936
3936
  i.prototype = r.prototype, t.prototype = new i(), t.prototype.constructor = t;
3937
3937
  }
3938
3938
  };
3939
- var vh = Ki.exports, zi = { exports: {} }, er = {}, Wn = {};
3940
- Wn.byteLength = Sh;
3941
- Wn.toByteArray = Ph;
3942
- Wn.fromByteArray = Ch;
3943
- var Wt = [], xt = [], xh = typeof Uint8Array < "u" ? Uint8Array : Array, ui = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
3944
- for (var Br = 0, kh = ui.length; Br < kh; ++Br)
3945
- Wt[Br] = ui[Br], xt[ui.charCodeAt(Br)] = Br;
3939
+ var vh = qi.exports, Ki = { exports: {} }, ma = {}, jn = {};
3940
+ jn.byteLength = Sh;
3941
+ jn.toByteArray = Ph;
3942
+ jn.fromByteArray = Ch;
3943
+ var Wt = [], xt = [], xh = typeof Uint8Array < "u" ? Uint8Array : Array, ci = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
3944
+ for (var Nr = 0, kh = ci.length; Nr < kh; ++Nr)
3945
+ Wt[Nr] = ci[Nr], xt[ci.charCodeAt(Nr)] = Nr;
3946
3946
  xt[45] = 62;
3947
3947
  xt[95] = 63;
3948
3948
  function Xf(e) {
@@ -4016,7 +4016,7 @@ ya.write = function(e, t, r, i, a, n) {
4016
4016
  * @license MIT
4017
4017
  */
4018
4018
  (function(e) {
4019
- var t = Wn, r = ya, i = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
4019
+ var t = jn, r = ya, i = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
4020
4020
  e.Buffer = o, e.SlowBuffer = R, e.INSPECT_MAX_BYTES = 50;
4021
4021
  var a = 2147483647;
4022
4022
  e.kMaxLength = a, o.TYPED_ARRAY_SUPPORT = n(), !o.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
@@ -4793,10 +4793,10 @@ ya.write = function(e, t, r, i, a, n) {
4793
4793
  u[T + N] = v[d] + v[N];
4794
4794
  return u;
4795
4795
  }();
4796
- })(er);
4796
+ })(ma);
4797
4797
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
4798
4798
  (function(e, t) {
4799
- var r = er, i = r.Buffer;
4799
+ var r = ma, i = r.Buffer;
4800
4800
  function a(s, o) {
4801
4801
  for (var f in s)
4802
4802
  o[f] = s[f];
@@ -4823,12 +4823,12 @@ ya.write = function(e, t, r, i, a, n) {
4823
4823
  throw new TypeError("Argument must be a number");
4824
4824
  return r.SlowBuffer(s);
4825
4825
  };
4826
- })(zi, zi.exports);
4827
- var Jf = zi.exports, Qf = Jf.Buffer;
4828
- function Un(e, t) {
4826
+ })(Ki, Ki.exports);
4827
+ var Jf = Ki.exports, Qf = Jf.Buffer;
4828
+ function Wn(e, t) {
4829
4829
  this._block = Qf.alloc(e), this._finalSize = t, this._blockSize = e, this._len = 0;
4830
4830
  }
4831
- Un.prototype.update = function(e, t) {
4831
+ Wn.prototype.update = function(e, t) {
4832
4832
  typeof e == "string" && (t = t || "utf8", e = Qf.from(e, t));
4833
4833
  for (var r = this._block, i = this._blockSize, a = e.length, n = this._len, s = 0; s < a; ) {
4834
4834
  for (var o = n % i, f = Math.min(a - s, i - o), p = 0; p < f; p++)
@@ -4837,7 +4837,7 @@ Un.prototype.update = function(e, t) {
4837
4837
  }
4838
4838
  return this._len += a, this;
4839
4839
  };
4840
- Un.prototype.digest = function(e) {
4840
+ Wn.prototype.digest = function(e) {
4841
4841
  var t = this._len % this._blockSize;
4842
4842
  this._block[t] = 128, this._block.fill(0, t + 1), t >= this._finalSize && (this._update(this._block), this._block.fill(0));
4843
4843
  var r = this._len * 8;
@@ -4851,20 +4851,20 @@ Un.prototype.digest = function(e) {
4851
4851
  var n = this._hash();
4852
4852
  return e ? n.toString(e) : n;
4853
4853
  };
4854
- Un.prototype._update = function() {
4854
+ Wn.prototype._update = function() {
4855
4855
  throw new Error("_update must be implemented by subclass");
4856
4856
  };
4857
- var Oh = Un, Lh = vh, ep = Oh, Rh = Jf.Buffer, Ih = [
4857
+ var Oh = Wn, Lh = vh, ep = Oh, Rh = Jf.Buffer, Ih = [
4858
4858
  1518500249,
4859
4859
  1859775393,
4860
4860
  -1894007588,
4861
4861
  -899497514
4862
4862
  ], Dh = new Array(80);
4863
- function Fs() {
4863
+ function Hs() {
4864
4864
  this.init(), this._w = Dh, ep.call(this, 64, 56);
4865
4865
  }
4866
- Lh(Fs, ep);
4867
- Fs.prototype.init = function() {
4866
+ Lh(Hs, ep);
4867
+ Hs.prototype.init = function() {
4868
4868
  return this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520, this;
4869
4869
  };
4870
4870
  function $h(e) {
@@ -4879,7 +4879,7 @@ function Fh(e) {
4879
4879
  function Nh(e, t, r, i) {
4880
4880
  return e === 0 ? t & r | ~t & i : e === 2 ? t & r | t & i | r & i : t ^ r ^ i;
4881
4881
  }
4882
- Fs.prototype._update = function(e) {
4882
+ Hs.prototype._update = function(e) {
4883
4883
  for (var t = this._w, r = this._a | 0, i = this._b | 0, a = this._c | 0, n = this._d | 0, s = this._e | 0, o = 0; o < 16; ++o) t[o] = e.readInt32BE(o * 4);
4884
4884
  for (; o < 80; ++o) t[o] = $h(t[o - 3] ^ t[o - 8] ^ t[o - 14] ^ t[o - 16]);
4885
4885
  for (var f = 0; f < 80; ++f) {
@@ -4888,21 +4888,21 @@ Fs.prototype._update = function(e) {
4888
4888
  }
4889
4889
  this._a = r + this._a | 0, this._b = i + this._b | 0, this._c = a + this._c | 0, this._d = n + this._d | 0, this._e = s + this._e | 0;
4890
4890
  };
4891
- Fs.prototype._hash = function() {
4891
+ Hs.prototype._hash = function() {
4892
4892
  var e = Rh.allocUnsafe(20);
4893
4893
  return e.writeInt32BE(this._a | 0, 0), e.writeInt32BE(this._b | 0, 4), e.writeInt32BE(this._c | 0, 8), e.writeInt32BE(this._d | 0, 12), e.writeInt32BE(this._e | 0, 16), e;
4894
4894
  };
4895
- var Bh = Fs;
4896
- const jh = /* @__PURE__ */ ra(Bh);
4895
+ var Bh = Hs;
4896
+ const jh = /* @__PURE__ */ ta(Bh);
4897
4897
  function Wh(e) {
4898
4898
  let t = "";
4899
4899
  for (const r of new Uint8Array(e))
4900
4900
  r < 16 && (t += "0"), t += r.toString(16);
4901
4901
  return t;
4902
4902
  }
4903
- let di = null;
4903
+ let ui = null;
4904
4904
  async function Lo(e) {
4905
- return di === null && (di = await Mh()), di ? tp(e) : Uh(e);
4905
+ return ui === null && (ui = await Mh()), ui ? tp(e) : Uh(e);
4906
4906
  }
4907
4907
  function Uh(e) {
4908
4908
  return new jh().update(e).digest("hex");
@@ -4935,12 +4935,12 @@ function Kh(e, t) {
4935
4935
  while (a & 128);
4936
4936
  return r;
4937
4937
  }
4938
- class Ps {
4938
+ class Es {
4939
4939
  constructor(t) {
4940
4940
  Object.assign(this, t), this.offsetCache = {};
4941
4941
  }
4942
4942
  static async fromIdx({ idx: t, getExternalRefDelta: r }) {
4943
- const i = new vr(t);
4943
+ const i = new br(t);
4944
4944
  if (i.slice(4).toString("hex") !== "ff744f63")
4945
4945
  return;
4946
4946
  const n = i.readUInt32BE();
@@ -4963,7 +4963,7 @@ class Ps {
4963
4963
  for (let c = 0; c < s; c++)
4964
4964
  f.set(o[c], i.readUInt32BE());
4965
4965
  const p = i.slice(20).toString("hex");
4966
- return new Ps({
4966
+ return new Es({
4967
4967
  hashes: o,
4968
4968
  crcs: {},
4969
4969
  offsets: f,
@@ -5006,7 +5006,7 @@ class Ps {
5006
5006
  const R = g + 1 === h.length ? t.byteLength - 20 : h[g + 1], O = n[b], H = ku.buf(t.slice(b, R)) >>> 0;
5007
5007
  O.end = R, O.crc = H;
5008
5008
  }
5009
- const _ = new Ps({
5009
+ const _ = new Es({
5010
5010
  pack: Promise.resolve(t),
5011
5011
  packfileSha: s,
5012
5012
  crcs: f,
@@ -5044,7 +5044,7 @@ class Ps {
5044
5044
  t.push(Buffer.from(p, c));
5045
5045
  };
5046
5046
  r("ff744f63", "hex"), r("00000002", "hex");
5047
- const i = new vr(Buffer.alloc(256 * 4));
5047
+ const i = new br(Buffer.alloc(256 * 4));
5048
5048
  for (let p = 0; p < 256; p++) {
5049
5049
  let c = 0;
5050
5050
  for (const m of this.hashes)
@@ -5054,11 +5054,11 @@ class Ps {
5054
5054
  t.push(i.buffer);
5055
5055
  for (const p of this.hashes)
5056
5056
  r(p, "hex");
5057
- const a = new vr(Buffer.alloc(this.hashes.length * 4));
5057
+ const a = new br(Buffer.alloc(this.hashes.length * 4));
5058
5058
  for (const p of this.hashes)
5059
5059
  a.writeUInt32BE(this.crcs[p]);
5060
5060
  t.push(a.buffer);
5061
- const n = new vr(Buffer.alloc(this.hashes.length * 4));
5061
+ const n = new br(Buffer.alloc(this.hashes.length * 4));
5062
5062
  for (const p of this.hashes)
5063
5063
  n.writeUInt32BE(this.offsets.get(p));
5064
5064
  t.push(n.buffer), r(this.packfileSha, "hex");
@@ -5096,7 +5096,7 @@ class Ps {
5096
5096
  throw new He(
5097
5097
  "Tried to read from a GitPackIndex with no packfile loaded into memory"
5098
5098
  );
5099
- const i = (await this.pack).slice(t), a = new vr(i), n = a.readUInt8(), s = n & 112;
5099
+ const i = (await this.pack).slice(t), a = new br(i), n = a.readUInt8(), s = n & 112;
5100
5100
  let o = r[s];
5101
5101
  if (o === void 0)
5102
5102
  throw new He("Unrecognized type: 0b" + s.toString(2));
@@ -5120,16 +5120,16 @@ class Ps {
5120
5120
  return m && (h = Buffer.from(Eu(h, m))), this.readDepth > 3 && (this.offsetCache[t] = { type: o, object: h }), { type: o, format: "content", object: h };
5121
5121
  }
5122
5122
  }
5123
- class As extends Qr {
5123
+ class Ps extends Jr {
5124
5124
  /**
5125
5125
  * @param {string} value
5126
5126
  */
5127
5127
  constructor(t) {
5128
- super(`Expected a 40-char hex object id but saw "${t}".`), this.code = this.name = As.code, this.data = { value: t };
5128
+ super(`Expected a 40-char hex object id but saw "${t}".`), this.code = this.name = Ps.code, this.data = { value: t };
5129
5129
  }
5130
5130
  }
5131
- As.code = "InvalidOidError";
5132
- class Mn extends Qr {
5131
+ Ps.code = "InvalidOidError";
5132
+ class Un extends Jr {
5133
5133
  /**
5134
5134
  * @param {string} oid
5135
5135
  * @param {'blob'|'commit'|'tag'|'tree'} actual
@@ -5139,10 +5139,10 @@ class Mn extends Qr {
5139
5139
  constructor(t, r, i, a) {
5140
5140
  super(
5141
5141
  `Object ${t} ${a ? `at ${a}` : ""}was anticipated to be a ${i} but it is a ${r}.`
5142
- ), this.code = this.name = Mn.code, this.data = { oid: t, actual: r, expected: i, filepath: a };
5142
+ ), this.code = this.name = Un.code, this.data = { oid: t, actual: r, expected: i, filepath: a };
5143
5143
  }
5144
5144
  }
5145
- Mn.code = "ObjectTypeError";
5145
+ Un.code = "ObjectTypeError";
5146
5146
  async function rp(e, t) {
5147
5147
  const r = sf(e);
5148
5148
  for (; ; ) {
@@ -5151,7 +5151,7 @@ async function rp(e, t) {
5151
5151
  }
5152
5152
  r.return && r.return();
5153
5153
  }
5154
- async function Ts(e) {
5154
+ async function As(e) {
5155
5155
  let t = 0;
5156
5156
  const r = [];
5157
5157
  await rp(e, (n) => {
@@ -5163,7 +5163,7 @@ async function Ts(e) {
5163
5163
  i.set(n, a), a += n.byteLength;
5164
5164
  return i;
5165
5165
  }
5166
- class hi {
5166
+ class di {
5167
5167
  constructor() {
5168
5168
  this._queue = [];
5169
5169
  }
@@ -5201,7 +5201,7 @@ class hi {
5201
5201
  }
5202
5202
  class zh {
5203
5203
  static demux(t) {
5204
- const r = Ze.streamReader(t), i = new hi(), a = new hi(), n = new hi(), s = async function() {
5204
+ const r = Ze.streamReader(t), i = new di(), a = new di(), n = new di(), s = async function() {
5205
5205
  const o = await r();
5206
5206
  if (o === null) return s();
5207
5207
  if (o === !0) {
@@ -5309,10 +5309,10 @@ async function sp(e) {
5309
5309
  const h = m.toString("utf8").trim();
5310
5310
  if (h.startsWith("shallow")) {
5311
5311
  const _ = h.slice(-41).trim();
5312
- _.length !== 40 && c(new As(_)), a.push(_);
5312
+ _.length !== 40 && c(new Ps(_)), a.push(_);
5313
5313
  } else if (h.startsWith("unshallow")) {
5314
5314
  const _ = h.slice(-41).trim();
5315
- _.length !== 40 && c(new As(_)), n.push(_);
5315
+ _.length !== 40 && c(new Ps(_)), n.push(_);
5316
5316
  } else if (h.startsWith("ACK")) {
5317
5317
  const [, _, L] = h.split(" ");
5318
5318
  s.push({ oid: _, status: L }), L || (f = !0);
@@ -5323,7 +5323,7 @@ async function sp(e) {
5323
5323
  });
5324
5324
  });
5325
5325
  }
5326
- typeof window < "u" && (window.Buffer = er.Buffer);
5326
+ typeof globalThis.Buffer > "u" && (globalThis.Buffer = ma.Buffer);
5327
5327
  async function Gh(e, t, r) {
5328
5328
  const i = await ip(e, t), a = await Jh(i, t, r), n = await Qh(
5329
5329
  e,
@@ -5381,8 +5381,8 @@ function np(e) {
5381
5381
  }).filter((t) => !!(t != null && t.name));
5382
5382
  }
5383
5383
  async function Yh(e, t) {
5384
- const r = er.Buffer.from(
5385
- await Ts([
5384
+ const r = Buffer.from(
5385
+ await As([
5386
5386
  Ze.encode(`command=ls-refs
5387
5387
  `),
5388
5388
  Ze.encode(`agent=git/2.37.3
@@ -5413,8 +5413,8 @@ async function Yh(e, t) {
5413
5413
  return a;
5414
5414
  }
5415
5415
  async function ip(e, t) {
5416
- const r = er.Buffer.from(
5417
- await Ts([
5416
+ const r = Buffer.from(
5417
+ await As([
5418
5418
  Ze.encode(
5419
5419
  `want ${t} multi_ack_detailed no-done side-band-64k thin-pack ofs-delta agent=git/2.37.3 filter
5420
5420
  `
@@ -5439,7 +5439,7 @@ async function ip(e, t) {
5439
5439
  "Content-Length": `${r.length}`
5440
5440
  },
5441
5441
  body: r
5442
- }), a = op(i.body), n = await sp(a), s = er.Buffer.from(await Ts(n.packfile)), o = await Ps.fromPack({
5442
+ }), a = op(i.body), n = await sp(a), s = Buffer.from(await As(n.packfile)), o = await Es.fromPack({
5443
5443
  pack: s
5444
5444
  }), f = o.read;
5445
5445
  return o.read = async function({ oid: p, ...c }) {
@@ -5451,11 +5451,11 @@ async function Xh(e, t) {
5451
5451
  const r = await e.read({
5452
5452
  oid: t
5453
5453
  });
5454
- Er(r);
5454
+ Sr(r);
5455
5455
  const i = await e.read({ oid: r.object.tree }), a = [i];
5456
5456
  for (; a.length > 0; ) {
5457
5457
  const n = a.pop(), s = await e.read({ oid: n.oid });
5458
- if (Er(s), n.object = s.object, s.type === "tree")
5458
+ if (Sr(s), n.object = s.object, s.type === "tree")
5459
5459
  for (const o of s.object)
5460
5460
  o.type === "tree" && a.push(o);
5461
5461
  }
@@ -5465,9 +5465,9 @@ async function Jh(e, t, r) {
5465
5465
  const i = await e.read({
5466
5466
  oid: t
5467
5467
  });
5468
- Er(i);
5468
+ Sr(i);
5469
5469
  const a = await e.read({ oid: i.object.tree });
5470
- Er(a);
5470
+ Sr(a);
5471
5471
  const n = {};
5472
5472
  for (const s of r) {
5473
5473
  let o = a;
@@ -5479,7 +5479,7 @@ async function Jh(e, t, r) {
5479
5479
  for (const m of o.object)
5480
5480
  if (m.path === p) {
5481
5481
  try {
5482
- o = await e.read({ oid: m.oid }), Er(o);
5482
+ o = await e.read({ oid: m.oid }), Sr(o);
5483
5483
  } catch {
5484
5484
  o = m;
5485
5485
  }
@@ -5494,8 +5494,8 @@ async function Jh(e, t, r) {
5494
5494
  return n;
5495
5495
  }
5496
5496
  async function Qh(e, t) {
5497
- const r = er.Buffer.from(
5498
- await Ts([
5497
+ const r = Buffer.from(
5498
+ await As([
5499
5499
  ...t.map(
5500
5500
  (o) => Ze.encode(
5501
5501
  `want ${o} multi_ack_detailed no-done side-band-64k thin-pack ofs-delta agent=git/2.37.3
@@ -5514,40 +5514,40 @@ async function Qh(e, t) {
5514
5514
  "Content-Length": `${r.length}`
5515
5515
  },
5516
5516
  body: r
5517
- }), a = op(i.body), n = await sp(a), s = er.Buffer.from(await Ts(n.packfile));
5518
- return await Ps.fromPack({
5517
+ }), a = op(i.body), n = await sp(a), s = Buffer.from(await As(n.packfile));
5518
+ return await Es.fromPack({
5519
5519
  pack: s
5520
5520
  });
5521
5521
  }
5522
5522
  async function ap(e, t) {
5523
5523
  const r = await e.read({ oid: t });
5524
- if (Er(r), r.type === "blob")
5524
+ if (Sr(r), r.type === "blob")
5525
5525
  return r.object;
5526
5526
  const i = {};
5527
5527
  for (const { path: a, oid: n, type: s } of r.object)
5528
5528
  if (s === "blob") {
5529
5529
  const o = await e.read({ oid: n });
5530
- Er(o), i[a] = o.object;
5530
+ Sr(o), i[a] = o.object;
5531
5531
  } else s === "tree" && (i[a] = await ap(e, n));
5532
5532
  return i;
5533
5533
  }
5534
- function Er(e) {
5535
- if (e.object instanceof er.Buffer)
5534
+ function Sr(e) {
5535
+ if (e.object instanceof Buffer)
5536
5536
  switch (e.type) {
5537
5537
  case "commit":
5538
5538
  e.object = ht.from(e.object).parse();
5539
5539
  break;
5540
5540
  case "tree":
5541
- e.object = la.from(e.object).entries();
5541
+ e.object = oa.from(e.object).entries();
5542
5542
  break;
5543
5543
  case "blob":
5544
5544
  e.object = new Uint8Array(e.object), e.format = "content";
5545
5545
  break;
5546
5546
  case "tag":
5547
- e.object = ds.from(e.object).parse();
5547
+ e.object = us.from(e.object).parse();
5548
5548
  break;
5549
5549
  default:
5550
- throw new Mn(
5550
+ throw new Un(
5551
5551
  e.oid,
5552
5552
  e.type,
5553
5553
  "blob|commit|tag|tree"
@@ -5581,7 +5581,7 @@ function op(e) {
5581
5581
  };
5582
5582
  }
5583
5583
  function tm(e, t) {
5584
- t = Dn(t);
5584
+ t = In(t);
5585
5585
  const r = ["", ".", "/"].includes(t);
5586
5586
  let i = e;
5587
5587
  if (r)
@@ -5610,14 +5610,14 @@ function tm(e, t) {
5610
5610
  }
5611
5611
  return a;
5612
5612
  }
5613
- const Cs = 15, Gi = 30, Zi = 19, rm = 29, An = 256, _a = An + 1 + rm, Ro = 2 * _a + 1, as = 256, sm = 7, Io = 16, Do = 17, $o = 18, mi = 8 * 2, Tn = -1, nm = 1, Zs = 2, im = 0, qr = 0, Ho = 1, am = 3, ot = 4, Ct = 0, lp = 1, Vs = 2, Lt = -2, om = -3, jr = -5;
5614
- function qn(e) {
5615
- return Kn(e.map(([t, r]) => new Array(t).fill(r, 0, t)));
5613
+ const Ts = 15, zi = 30, Gi = 19, rm = 29, Pn = 256, _a = Pn + 1 + rm, Ro = 2 * _a + 1, is = 256, sm = 7, Io = 16, Do = 17, $o = 18, hi = 8 * 2, An = -1, nm = 1, Gs = 2, im = 0, Mr = 0, Ho = 1, am = 3, ot = 4, Ct = 0, lp = 1, Zs = 2, Lt = -2, om = -3, Br = -5;
5614
+ function Mn(e) {
5615
+ return qn(e.map(([t, r]) => new Array(t).fill(r, 0, t)));
5616
5616
  }
5617
- function Kn(e) {
5618
- return e.reduce((t, r) => t.concat(Array.isArray(r) ? Kn(r) : r), []);
5617
+ function qn(e) {
5618
+ return e.reduce((t, r) => t.concat(Array.isArray(r) ? qn(r) : r), []);
5619
5619
  }
5620
- const Fo = [0, 1, 2, 3].concat(...qn([
5620
+ const Fo = [0, 1, 2, 3].concat(...Mn([
5621
5621
  [2, 4],
5622
5622
  [2, 5],
5623
5623
  [4, 6],
@@ -5651,7 +5651,7 @@ function Oe() {
5651
5651
  function t(a) {
5652
5652
  const n = e.dyn_tree, s = e.stat_desc.static_tree, o = e.stat_desc.extra_bits, f = e.stat_desc.extra_base, p = e.stat_desc.max_length;
5653
5653
  let c, m, h, _, L, y, g = 0;
5654
- for (_ = 0; _ <= Cs; _++)
5654
+ for (_ = 0; _ <= Ts; _++)
5655
5655
  a.bl_count[_] = 0;
5656
5656
  for (n[a.heap[a.heap_max] * 2 + 1] = 0, c = a.heap_max + 1; c < Ro; c++)
5657
5657
  m = a.heap[c], _ = n[n[m * 2 + 1] * 2 + 1] + 1, _ > p && (_ = p, g++), n[m * 2 + 1] = _, !(m > e.max_code) && (a.bl_count[_]++, L = 0, m >= f && (L = o[m - f]), y = n[m * 2], a.opt_len += y * (_ + L), s && (a.static_len += y * (s[m * 2 + 1] + L)));
@@ -5676,7 +5676,7 @@ function Oe() {
5676
5676
  function i(a, n, s) {
5677
5677
  const o = [];
5678
5678
  let f = 0, p, c, m;
5679
- for (p = 1; p <= Cs; p++)
5679
+ for (p = 1; p <= Ts; p++)
5680
5680
  o[p] = f = f + s[p - 1] << 1;
5681
5681
  for (c = 0; c <= n; c++)
5682
5682
  m = a[c * 2 + 1], m !== 0 && (a[c * 2] = r(o[m]++, m));
@@ -5697,7 +5697,7 @@ function Oe() {
5697
5697
  a.heap[--a.heap_max] = a.heap[1], t(a), i(n, e.max_code, a.bl_count);
5698
5698
  };
5699
5699
  }
5700
- Oe._length_code = [0, 1, 2, 3, 4, 5, 6, 7].concat(...qn([
5700
+ Oe._length_code = [0, 1, 2, 3, 4, 5, 6, 7].concat(...Mn([
5701
5701
  [2, 8],
5702
5702
  [2, 9],
5703
5703
  [2, 10],
@@ -6053,30 +6053,30 @@ const lm = [
6053
6053
  163,
6054
6054
  99,
6055
6055
  227
6056
- ], fm = qn([[144, 8], [112, 9], [24, 7], [8, 8]]);
6057
- Ye.static_ltree = Kn(lm.map((e, t) => [e, fm[t]]));
6058
- const pm = [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], cm = qn([[30, 5]]);
6059
- Ye.static_dtree = Kn(pm.map((e, t) => [e, cm[t]]));
6060
- Ye.static_l_desc = new Ye(Ye.static_ltree, Oe.extra_lbits, An + 1, _a, Cs);
6061
- Ye.static_d_desc = new Ye(Ye.static_dtree, Oe.extra_dbits, 0, Gi, Cs);
6062
- Ye.static_bl_desc = new Ye(null, Oe.extra_blbits, 0, Zi, sm);
6056
+ ], fm = Mn([[144, 8], [112, 9], [24, 7], [8, 8]]);
6057
+ Ye.static_ltree = qn(lm.map((e, t) => [e, fm[t]]));
6058
+ const pm = [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], cm = Mn([[30, 5]]);
6059
+ Ye.static_dtree = qn(pm.map((e, t) => [e, cm[t]]));
6060
+ Ye.static_l_desc = new Ye(Ye.static_ltree, Oe.extra_lbits, Pn + 1, _a, Ts);
6061
+ Ye.static_d_desc = new Ye(Ye.static_dtree, Oe.extra_dbits, 0, zi, Ts);
6062
+ Ye.static_bl_desc = new Ye(null, Oe.extra_blbits, 0, Gi, sm);
6063
6063
  const um = 9, dm = 8;
6064
6064
  function Ft(e, t, r, i, a) {
6065
6065
  const n = this;
6066
6066
  n.good_length = e, n.max_lazy = t, n.nice_length = r, n.max_chain = i, n.func = a;
6067
6067
  }
6068
- const fp = 0, dn = 1, wr = 2, Tt = [
6068
+ const fp = 0, un = 1, gr = 2, Tt = [
6069
6069
  new Ft(0, 0, 0, 0, fp),
6070
- new Ft(4, 4, 8, 4, dn),
6071
- new Ft(4, 5, 16, 8, dn),
6072
- new Ft(4, 6, 32, 32, dn),
6073
- new Ft(4, 4, 16, 16, wr),
6074
- new Ft(8, 16, 32, 32, wr),
6075
- new Ft(8, 16, 128, 128, wr),
6076
- new Ft(8, 32, 128, 256, wr),
6077
- new Ft(32, 128, 258, 1024, wr),
6078
- new Ft(32, 258, 258, 4096, wr)
6079
- ], Ys = [
6070
+ new Ft(4, 4, 8, 4, un),
6071
+ new Ft(4, 5, 16, 8, un),
6072
+ new Ft(4, 6, 32, 32, un),
6073
+ new Ft(4, 4, 16, 16, gr),
6074
+ new Ft(8, 16, 32, 32, gr),
6075
+ new Ft(8, 16, 128, 128, gr),
6076
+ new Ft(8, 32, 128, 256, gr),
6077
+ new Ft(32, 128, 258, 1024, gr),
6078
+ new Ft(32, 258, 258, 4096, gr)
6079
+ ], Vs = [
6080
6080
  "need dictionary",
6081
6081
  // Z_NEED_DICT
6082
6082
  // 2
@@ -6097,7 +6097,7 @@ const fp = 0, dn = 1, wr = 2, Tt = [
6097
6097
  "",
6098
6098
  // Z_VERSION_ERROR (-6)
6099
6099
  ""
6100
- ], vt = 0, Xs = 1, os = 2, Js = 3, hm = 32, yi = 42, Qs = 113, ls = 666, _i = 8, mm = 0, gi = 1, ym = 2, $e = 3, hn = 258, dt = hn + $e + 1;
6100
+ ], vt = 0, Ys = 1, as = 2, Xs = 3, hm = 32, mi = 42, Js = 113, os = 666, yi = 8, mm = 0, _i = 1, ym = 2, $e = 3, dn = 258, dt = dn + $e + 1;
6101
6101
  function No(e, t, r, i) {
6102
6102
  const a = e[t * 2], n = e[r * 2];
6103
6103
  return a < n || a == n && i[t] <= i[r];
@@ -6119,11 +6119,11 @@ function _m() {
6119
6119
  let U;
6120
6120
  for (U = 0; U < _a; U++)
6121
6121
  W[U * 2] = 0;
6122
- for (U = 0; U < Gi; U++)
6122
+ for (U = 0; U < zi; U++)
6123
6123
  M[U * 2] = 0;
6124
- for (U = 0; U < Zi; U++)
6124
+ for (U = 0; U < Gi; U++)
6125
6125
  V[U * 2] = 0;
6126
- W[as * 2] = 1, e.opt_len = e.static_len = 0, ee = Z = 0;
6126
+ W[is * 2] = 1, e.opt_len = e.static_len = 0, ee = Z = 0;
6127
6127
  }
6128
6128
  function Ve() {
6129
6129
  z.dyn_tree = W, z.stat_desc = Ye.static_l_desc, ne.dyn_tree = M, ne.stat_desc = Ye.static_d_desc, G.dyn_tree = V, G.stat_desc = Ye.static_bl_desc, ie = 0, ae = 0, fe = 8, Ae();
@@ -6143,7 +6143,7 @@ function _m() {
6143
6143
  }
6144
6144
  function bt() {
6145
6145
  let U;
6146
- for (Qe(W, z.max_code), Qe(M, ne.max_code), G.build_tree(e), U = Zi - 1; U >= 3 && V[Oe.bl_order[U] * 2 + 1] === 0; U--)
6146
+ for (Qe(W, z.max_code), Qe(M, ne.max_code), G.build_tree(e), U = Gi - 1; U >= 3 && V[Oe.bl_order[U] * 2 + 1] === 0; U--)
6147
6147
  ;
6148
6148
  return e.opt_len += 3 * (U + 1) + 5 + 5 + 4, U;
6149
6149
  }
@@ -6159,7 +6159,7 @@ function _m() {
6159
6159
  function Ce(U, Y) {
6160
6160
  let q;
6161
6161
  const J = Y;
6162
- ae > mi - J ? (q = U, ie |= q << ae & 65535, Ie(ie), ie = q >>> mi - ae, ae += J - mi) : (ie |= U << ae & 65535, ae += J);
6162
+ ae > hi - J ? (q = U, ie |= q << ae & 65535, Ie(ie), ie = q >>> hi - ae, ae += J - hi) : (ie |= U << ae & 65535, ae += J);
6163
6163
  }
6164
6164
  function v(U, Y) {
6165
6165
  const q = U * 2;
@@ -6187,12 +6187,12 @@ function _m() {
6187
6187
  ae == 16 ? (Ie(ie), ie = 0, ae = 0) : ae >= 8 && (Re(ie & 255), ie >>>= 8, ae -= 8);
6188
6188
  }
6189
6189
  function N() {
6190
- Ce(gi << 1, 3), v(as, Ye.static_ltree), T(), 1 + fe + 10 - ae < 9 && (Ce(gi << 1, 3), v(as, Ye.static_ltree), T()), fe = 7;
6190
+ Ce(_i << 1, 3), v(is, Ye.static_ltree), T(), 1 + fe + 10 - ae < 9 && (Ce(_i << 1, 3), v(is, Ye.static_ltree), T()), fe = 7;
6191
6191
  }
6192
6192
  function K(U, Y) {
6193
6193
  let q, J, se;
6194
- if (e.dist_buf[ee] = U, e.lc_buf[ee] = Y & 255, ee++, U === 0 ? W[Y * 2]++ : (Z++, U--, W[(Oe._length_code[Y] + An + 1) * 2]++, M[Oe.d_code(U) * 2]++), !(ee & 8191) && E > 2) {
6195
- for (q = ee * 8, J = A - b, se = 0; se < Gi; se++)
6194
+ if (e.dist_buf[ee] = U, e.lc_buf[ee] = Y & 255, ee++, U === 0 ? W[Y * 2]++ : (Z++, U--, W[(Oe._length_code[Y] + Pn + 1) * 2]++, M[Oe.d_code(U) * 2]++), !(ee & 8191) && E > 2) {
6195
+ for (q = ee * 8, J = A - b, se = 0; se < zi; se++)
6196
6196
  q += M[se * 2] * (5 + Oe.extra_dbits[se]);
6197
6197
  if (q >>>= 3, Z < Math.floor(ee / 2) && q < Math.floor(J / 2))
6198
6198
  return !0;
@@ -6203,9 +6203,9 @@ function _m() {
6203
6203
  let q, J, se = 0, le, de;
6204
6204
  if (ee !== 0)
6205
6205
  do
6206
- q = e.dist_buf[se], J = e.lc_buf[se], se++, q === 0 ? v(J, U) : (le = Oe._length_code[J], v(le + An + 1, U), de = Oe.extra_lbits[le], de !== 0 && (J -= Oe.base_length[le], Ce(J, de)), q--, le = Oe.d_code(q), v(le, Y), de = Oe.extra_dbits[le], de !== 0 && (q -= Oe.base_dist[le], Ce(q, de)));
6206
+ q = e.dist_buf[se], J = e.lc_buf[se], se++, q === 0 ? v(J, U) : (le = Oe._length_code[J], v(le + Pn + 1, U), de = Oe.extra_lbits[le], de !== 0 && (J -= Oe.base_length[le], Ce(J, de)), q--, le = Oe.d_code(q), v(le, Y), de = Oe.extra_dbits[le], de !== 0 && (q -= Oe.base_dist[le], Ce(q, de)));
6207
6207
  while (se < ee);
6208
- v(as, U), fe = U[as * 2 + 1];
6208
+ v(is, U), fe = U[is * 2 + 1];
6209
6209
  }
6210
6210
  function pe() {
6211
6211
  ae > 8 ? Ie(ie) : ae > 0 && Re(ie & 255), ie = 0, ae = 0;
@@ -6218,7 +6218,7 @@ function _m() {
6218
6218
  }
6219
6219
  function Fe(U, Y, q) {
6220
6220
  let J, se, le = 0;
6221
- E > 0 ? (z.build_tree(e), ne.build_tree(e), le = bt(), J = e.opt_len + 3 + 7 >>> 3, se = e.static_len + 3 + 7 >>> 3, se <= J && (J = se)) : J = se = Y + 5, Y + 4 <= J && U != -1 ? he(U, Y, q) : se == J ? (Ce((gi << 1) + (q ? 1 : 0), 3), X(Ye.static_ltree, Ye.static_dtree)) : (Ce((ym << 1) + (q ? 1 : 0), 3), d(z.max_code + 1, ne.max_code + 1, le + 1), X(W, M)), Ae(), q && pe();
6221
+ E > 0 ? (z.build_tree(e), ne.build_tree(e), le = bt(), J = e.opt_len + 3 + 7 >>> 3, se = e.static_len + 3 + 7 >>> 3, se <= J && (J = se)) : J = se = Y + 5, Y + 4 <= J && U != -1 ? he(U, Y, q) : se == J ? (Ce((_i << 1) + (q ? 1 : 0), 3), X(Ye.static_ltree, Ye.static_dtree)) : (Ce((ym << 1) + (q ? 1 : 0), 3), d(z.max_code + 1, ne.max_code + 1, le + 1), X(W, M)), Ae(), q && pe();
6222
6222
  }
6223
6223
  function ue(U) {
6224
6224
  Fe(b >= 0 ? b : -1, A - b, U), b = A, t.flush_pending();
@@ -6250,7 +6250,7 @@ function _m() {
6250
6250
  let Y = 65535, q;
6251
6251
  for (Y > i - 5 && (Y = i - 5); ; ) {
6252
6252
  if (S <= 1) {
6253
- if (ct(), S === 0 && U == qr)
6253
+ if (ct(), S === 0 && U == Mr)
6254
6254
  return vt;
6255
6255
  if (S === 0)
6256
6256
  break;
@@ -6258,13 +6258,13 @@ function _m() {
6258
6258
  if (A += S, S = 0, q = b + Y, (A === 0 || A >= q) && (S = A - q, A = q, ue(!1), t.avail_out === 0) || A - b >= n - dt && (ue(!1), t.avail_out === 0))
6259
6259
  return vt;
6260
6260
  }
6261
- return ue(U == ot), t.avail_out === 0 ? U == ot ? os : vt : U == ot ? Js : Xs;
6261
+ return ue(U == ot), t.avail_out === 0 ? U == ot ? as : vt : U == ot ? Xs : Ys;
6262
6262
  }
6263
6263
  function At(U) {
6264
6264
  let Y = C, q = A, J, se, le = P;
6265
6265
  const de = A > n - dt ? A - (n - dt) : 0;
6266
6266
  let We = B;
6267
- const ce = o, be = A + hn;
6267
+ const ce = o, be = A + dn;
6268
6268
  let j = f[q + le - 1], oe = f[q + le];
6269
6269
  P >= I && (Y >>= 2), We > S && (We = S);
6270
6270
  do
@@ -6273,7 +6273,7 @@ function _m() {
6273
6273
  do
6274
6274
  ;
6275
6275
  while (f[++q] == f[++J] && f[++q] == f[++J] && f[++q] == f[++J] && f[++q] == f[++J] && f[++q] == f[++J] && f[++q] == f[++J] && f[++q] == f[++J] && f[++q] == f[++J] && q < be);
6276
- if (se = hn - (be - q), q = be - hn, se > le) {
6276
+ if (se = dn - (be - q), q = be - dn, se > le) {
6277
6277
  if ($ = U, le = se, se >= We)
6278
6278
  break;
6279
6279
  j = f[q + le - 1], oe = f[q + le];
@@ -6282,16 +6282,16 @@ function _m() {
6282
6282
  while ((U = c[U & ce] & 65535) > de && --Y !== 0);
6283
6283
  return le <= S ? le : S;
6284
6284
  }
6285
- function Zn(U) {
6285
+ function Gn(U) {
6286
6286
  let Y = 0, q;
6287
6287
  for (; ; ) {
6288
6288
  if (S < dt) {
6289
- if (ct(), S < dt && U == qr)
6289
+ if (ct(), S < dt && U == Mr)
6290
6290
  return vt;
6291
6291
  if (S === 0)
6292
6292
  break;
6293
6293
  }
6294
- if (S >= $e && (h = (h << g ^ f[A + ($e - 1)] & 255) & y, Y = m[h] & 65535, c[A & o] = m[h], m[h] = A), Y !== 0 && (A - Y & 65535) <= n - dt && D != Zs && (R = At(Y)), R >= $e)
6294
+ if (S >= $e && (h = (h << g ^ f[A + ($e - 1)] & 255) & y, Y = m[h] & 65535, c[A & o] = m[h], m[h] = A), Y !== 0 && (A - Y & 65535) <= n - dt && D != Gs && (R = At(Y)), R >= $e)
6295
6295
  if (q = K(A - $, R - $e), S -= R, R <= k && S >= $e) {
6296
6296
  R--;
6297
6297
  do
@@ -6305,18 +6305,18 @@ function _m() {
6305
6305
  if (q && (ue(!1), t.avail_out === 0))
6306
6306
  return vt;
6307
6307
  }
6308
- return ue(U == ot), t.avail_out === 0 ? U == ot ? os : vt : U == ot ? Js : Xs;
6308
+ return ue(U == ot), t.avail_out === 0 ? U == ot ? as : vt : U == ot ? Xs : Ys;
6309
6309
  }
6310
6310
  function tt(U) {
6311
6311
  let Y = 0, q, J;
6312
6312
  for (; ; ) {
6313
6313
  if (S < dt) {
6314
- if (ct(), S < dt && U == qr)
6314
+ if (ct(), S < dt && U == Mr)
6315
6315
  return vt;
6316
6316
  if (S === 0)
6317
6317
  break;
6318
6318
  }
6319
- if (S >= $e && (h = (h << g ^ f[A + ($e - 1)] & 255) & y, Y = m[h] & 65535, c[A & o] = m[h], m[h] = A), P = R, O = $, R = $e - 1, Y !== 0 && P < k && (A - Y & 65535) <= n - dt && (D != Zs && (R = At(Y)), R <= 5 && (D == nm || R == $e && A - $ > 4096) && (R = $e - 1)), P >= $e && R <= P) {
6319
+ if (S >= $e && (h = (h << g ^ f[A + ($e - 1)] & 255) & y, Y = m[h] & 65535, c[A & o] = m[h], m[h] = A), P = R, O = $, R = $e - 1, Y !== 0 && P < k && (A - Y & 65535) <= n - dt && (D != Gs && (R = At(Y)), R <= 5 && (D == nm || R == $e && A - $ > 4096) && (R = $e - 1)), P >= $e && R <= P) {
6320
6320
  J = A + S - $e, q = K(A - 1 - O, P - $e), S -= P - 1, P -= 2;
6321
6321
  do
6322
6322
  ++A <= J && (h = (h << g ^ f[A + ($e - 1)] & 255) & y, Y = m[h] & 65535, c[A & o] = m[h], m[h] = A);
@@ -6329,21 +6329,21 @@ function _m() {
6329
6329
  } else
6330
6330
  H = 1, A++, S--;
6331
6331
  }
6332
- return H !== 0 && (q = K(0, f[A - 1] & 255), H = 0), ue(U == ot), t.avail_out === 0 ? U == ot ? os : vt : U == ot ? Js : Xs;
6332
+ return H !== 0 && (q = K(0, f[A - 1] & 255), H = 0), ue(U == ot), t.avail_out === 0 ? U == ot ? as : vt : U == ot ? Xs : Ys;
6333
6333
  }
6334
- function Hr(U) {
6335
- return U.total_in = U.total_out = 0, U.msg = null, e.pending = 0, e.pending_out = 0, r = Qs, a = qr, Ve(), Se(), Ct;
6334
+ function $r(U) {
6335
+ return U.total_in = U.total_out = 0, U.msg = null, e.pending = 0, e.pending_out = 0, r = Js, a = Mr, Ve(), Se(), Ct;
6336
6336
  }
6337
6337
  e.deflateInit = function(U, Y, q, J, se, le) {
6338
- return J || (J = _i), se || (se = dm), le || (le = im), U.msg = null, Y == Tn && (Y = 6), se < 1 || se > um || J != _i || q < 9 || q > 15 || Y < 0 || Y > 9 || le < 0 || le > Zs ? Lt : (U.dstate = e, s = q, n = 1 << s, o = n - 1, L = se + 7, _ = 1 << L, y = _ - 1, g = Math.floor((L + $e - 1) / $e), f = new Uint8Array(n * 2), c = [], m = [], Q = 1 << se + 6, e.pending_buf = new Uint8Array(Q * 4), i = Q * 4, e.dist_buf = new Uint16Array(Q), e.lc_buf = new Uint8Array(Q), E = Y, D = le, Hr(U));
6338
+ return J || (J = yi), se || (se = dm), le || (le = im), U.msg = null, Y == An && (Y = 6), se < 1 || se > um || J != yi || q < 9 || q > 15 || Y < 0 || Y > 9 || le < 0 || le > Gs ? Lt : (U.dstate = e, s = q, n = 1 << s, o = n - 1, L = se + 7, _ = 1 << L, y = _ - 1, g = Math.floor((L + $e - 1) / $e), f = new Uint8Array(n * 2), c = [], m = [], Q = 1 << se + 6, e.pending_buf = new Uint8Array(Q * 4), i = Q * 4, e.dist_buf = new Uint16Array(Q), e.lc_buf = new Uint8Array(Q), E = Y, D = le, $r(U));
6339
6339
  }, e.deflateEnd = function() {
6340
- return r != yi && r != Qs && r != ls ? Lt : (e.lc_buf = null, e.dist_buf = null, e.pending_buf = null, m = null, c = null, f = null, e.dstate = null, r == Qs ? om : Ct);
6340
+ return r != mi && r != Js && r != os ? Lt : (e.lc_buf = null, e.dist_buf = null, e.pending_buf = null, m = null, c = null, f = null, e.dstate = null, r == Js ? om : Ct);
6341
6341
  }, e.deflateParams = function(U, Y, q) {
6342
6342
  let J = Ct;
6343
- return Y == Tn && (Y = 6), Y < 0 || Y > 9 || q < 0 || q > Zs ? Lt : (Tt[E].func != Tt[Y].func && U.total_in !== 0 && (J = U.deflate(Ho)), E != Y && (E = Y, k = Tt[E].max_lazy, I = Tt[E].good_length, B = Tt[E].nice_length, C = Tt[E].max_chain), D = q, J);
6343
+ return Y == An && (Y = 6), Y < 0 || Y > 9 || q < 0 || q > Gs ? Lt : (Tt[E].func != Tt[Y].func && U.total_in !== 0 && (J = U.deflate(Ho)), E != Y && (E = Y, k = Tt[E].max_lazy, I = Tt[E].good_length, B = Tt[E].nice_length, C = Tt[E].max_chain), D = q, J);
6344
6344
  }, e.deflateSetDictionary = function(U, Y, q) {
6345
6345
  let J = q, se, le = 0;
6346
- if (!Y || r != yi)
6346
+ if (!Y || r != mi)
6347
6347
  return Lt;
6348
6348
  if (J < $e)
6349
6349
  return Ct;
@@ -6354,32 +6354,32 @@ function _m() {
6354
6354
  let q, J, se, le, de;
6355
6355
  if (Y > ot || Y < 0)
6356
6356
  return Lt;
6357
- if (!U.next_out || !U.next_in && U.avail_in !== 0 || r == ls && Y != ot)
6358
- return U.msg = Ys[Vs - Lt], Lt;
6357
+ if (!U.next_out || !U.next_in && U.avail_in !== 0 || r == os && Y != ot)
6358
+ return U.msg = Vs[Zs - Lt], Lt;
6359
6359
  if (U.avail_out === 0)
6360
- return U.msg = Ys[Vs - jr], jr;
6361
- if (t = U, le = a, a = Y, r == yi && (J = _i + (s - 8 << 4) << 8, se = (E - 1 & 255) >> 1, se > 3 && (se = 3), J |= se << 6, A !== 0 && (J |= hm), J += 31 - J % 31, r = Qs, at(J)), e.pending !== 0) {
6360
+ return U.msg = Vs[Zs - Br], Br;
6361
+ if (t = U, le = a, a = Y, r == mi && (J = yi + (s - 8 << 4) << 8, se = (E - 1 & 255) >> 1, se > 3 && (se = 3), J |= se << 6, A !== 0 && (J |= hm), J += 31 - J % 31, r = Js, at(J)), e.pending !== 0) {
6362
6362
  if (t.flush_pending(), t.avail_out === 0)
6363
6363
  return a = -1, Ct;
6364
6364
  } else if (t.avail_in === 0 && Y <= le && Y != ot)
6365
- return t.msg = Ys[Vs - jr], jr;
6366
- if (r == ls && t.avail_in !== 0)
6367
- return U.msg = Ys[Vs - jr], jr;
6368
- if (t.avail_in !== 0 || S !== 0 || Y != qr && r != ls) {
6365
+ return t.msg = Vs[Zs - Br], Br;
6366
+ if (r == os && t.avail_in !== 0)
6367
+ return U.msg = Vs[Zs - Br], Br;
6368
+ if (t.avail_in !== 0 || S !== 0 || Y != Mr && r != os) {
6369
6369
  switch (de = -1, Tt[E].func) {
6370
6370
  case fp:
6371
6371
  de = et(Y);
6372
6372
  break;
6373
- case dn:
6374
- de = Zn(Y);
6373
+ case un:
6374
+ de = Gn(Y);
6375
6375
  break;
6376
- case wr:
6376
+ case gr:
6377
6377
  de = tt(Y);
6378
6378
  break;
6379
6379
  }
6380
- if ((de == os || de == Js) && (r = ls), de == vt || de == os)
6380
+ if ((de == as || de == Xs) && (r = os), de == vt || de == as)
6381
6381
  return t.avail_out === 0 && (a = -1), Ct;
6382
- if (de == Xs) {
6382
+ if (de == Ys) {
6383
6383
  if (Y == Ho)
6384
6384
  N();
6385
6385
  else if (he(0, 0, !1), Y == am)
@@ -6399,7 +6399,7 @@ function pp() {
6399
6399
  pp.prototype = {
6400
6400
  deflateInit(e, t) {
6401
6401
  const r = this;
6402
- return r.dstate = new _m(), t || (t = Cs), r.dstate.deflateInit(r, e, t);
6402
+ return r.dstate = new _m(), t || (t = Ts), r.dstate.deflateInit(r, e, t);
6403
6403
  },
6404
6404
  deflate(e) {
6405
6405
  const t = this;
@@ -6441,9 +6441,9 @@ pp.prototype = {
6441
6441
  }
6442
6442
  };
6443
6443
  function gm(e) {
6444
- const t = this, r = new pp(), i = wm(e && e.chunkSize ? e.chunkSize : 64 * 1024), a = qr, n = new Uint8Array(i);
6445
- let s = e ? e.level : Tn;
6446
- typeof s > "u" && (s = Tn), r.deflateInit(s), r.next_out = n, t.append = function(o, f) {
6444
+ const t = this, r = new pp(), i = wm(e && e.chunkSize ? e.chunkSize : 64 * 1024), a = Mr, n = new Uint8Array(i);
6445
+ let s = e ? e.level : An;
6446
+ typeof s > "u" && (s = An), r.deflateInit(s), r.next_out = n, t.append = function(o, f) {
6447
6447
  let p, c, m = 0, h = 0, _ = 0;
6448
6448
  const L = [];
6449
6449
  if (o.length) {
@@ -8256,8 +8256,8 @@ const bm = 15, we = 0, Jt = 1, vm = 2, lt = -2, Le = -3, Bo = -4, Qt = -5, mt =
8256
8256
  12,
8257
8257
  13,
8258
8258
  13
8259
- ], nr = 15;
8260
- function Vi() {
8259
+ ], sr = 15;
8260
+ function Zi() {
8261
8261
  const e = this;
8262
8262
  let t, r, i, a, n, s;
8263
8263
  function o(p, c, m, h, _, L, y, g, b, R, O) {
@@ -8268,9 +8268,9 @@ function Vi() {
8268
8268
  while (P !== 0);
8269
8269
  if (i[0] == m)
8270
8270
  return y[0] = -1, g[0] = 0, we;
8271
- for (E = g[0], C = 1; C <= nr && i[C] === 0; C++)
8271
+ for (E = g[0], C = 1; C <= sr && i[C] === 0; C++)
8272
8272
  ;
8273
- for (k = C, E < C && (E = C), P = nr; P !== 0 && i[P] === 0; P--)
8273
+ for (k = C, E < C && (E = C), P = sr; P !== 0 && i[P] === 0; P--)
8274
8274
  ;
8275
8275
  for ($ = P, E > P && (E = P), g[0] = E, V = 1 << C; C < P; C++, V <<= 1)
8276
8276
  if ((V -= i[C]) < 0)
@@ -8311,13 +8311,13 @@ function Vi() {
8311
8311
  }
8312
8312
  function f(p) {
8313
8313
  let c;
8314
- for (t || (t = [], r = [], i = new Int32Array(nr + 1), a = [], n = new Int32Array(nr), s = new Int32Array(nr + 1)), r.length < p && (r = []), c = 0; c < p; c++)
8314
+ for (t || (t = [], r = [], i = new Int32Array(sr + 1), a = [], n = new Int32Array(sr), s = new Int32Array(sr + 1)), r.length < p && (r = []), c = 0; c < p; c++)
8315
8315
  r[c] = 0;
8316
- for (c = 0; c < nr + 1; c++)
8316
+ for (c = 0; c < sr + 1; c++)
8317
8317
  i[c] = 0;
8318
8318
  for (c = 0; c < 3; c++)
8319
8319
  a[c] = 0;
8320
- n.set(i.subarray(0, nr), 0), s.set(i.subarray(0, nr + 1), 0);
8320
+ n.set(i.subarray(0, sr), 0), s.set(i.subarray(0, sr + 1), 0);
8321
8321
  }
8322
8322
  e.inflate_trees_bits = function(p, c, m, h, _) {
8323
8323
  let L;
@@ -8327,10 +8327,10 @@ function Vi() {
8327
8327
  return f(288), t[0] = 0, R = o(m, 0, p, 257, Tm, Cm, L, h, g, t, r), R != we || h[0] === 0 ? (R == Le ? b.msg = "oversubscribed literal/length tree" : R != Bo && (b.msg = "incomplete literal/length tree", R = Le), R) : (f(288), R = o(m, p, c, 0, Om, Lm, y, _, g, t, r), R != we || _[0] === 0 && p > 257 ? (R == Le ? b.msg = "oversubscribed distance tree" : R == Qt ? (b.msg = "incomplete distance tree", R = Le) : R != Bo && (b.msg = "empty distance tree with lengths", R = Le), R) : we);
8328
8328
  };
8329
8329
  }
8330
- Vi.inflate_trees_fixed = function(e, t, r, i) {
8330
+ Zi.inflate_trees_fixed = function(e, t, r, i) {
8331
8331
  return e[0] = Sm, t[0] = Em, r[0] = Pm, i[0] = Am, we;
8332
8332
  };
8333
- const en = 0, jo = 1, Wo = 2, Uo = 3, Mo = 4, qo = 5, Ko = 6, wi = 7, zo = 8, tn = 9;
8333
+ const Qs = 0, jo = 1, Wo = 2, Uo = 3, Mo = 4, qo = 5, Ko = 6, gi = 7, zo = 8, en = 9;
8334
8334
  function Rm() {
8335
8335
  const e = this;
8336
8336
  let t, r = 0, i, a = 0, n = 0, s = 0, o = 0, f = 0, p = 0, c = 0, m, h = 0, _, L = 0;
@@ -8398,16 +8398,16 @@ function Rm() {
8398
8398
  return G = S.avail_in - W, G = I >> 3 < G ? I >> 3 : G, W += G, B -= G, I -= G << 3, $.bitb = D, $.bitk = I, S.avail_in = W, S.total_in += B - S.next_in_index, S.next_in_index = B, $.write = M, we;
8399
8399
  }
8400
8400
  e.init = function(g, b, R, O, H, A) {
8401
- t = en, p = /* (byte) */
8401
+ t = Qs, p = /* (byte) */
8402
8402
  g, c = /* (byte) */
8403
8403
  b, m = R, h = O, _ = H, L = A, i = null;
8404
8404
  }, e.proc = function(g, b, R) {
8405
8405
  let O, H, A, $ = 0, S = 0, P = 0, C, k, E, D;
8406
8406
  for (P = b.next_in_index, C = b.avail_in, $ = g.bitb, S = g.bitk, k = g.write, E = k < g.read ? g.read - k - 1 : g.end - k; ; )
8407
8407
  switch (t) {
8408
- case en:
8408
+ case Qs:
8409
8409
  if (E >= 258 && C >= 10 && (g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, R = y(p, c, m, h, _, L, g, b), P = b.next_in_index, C = b.avail_in, $ = g.bitb, S = g.bitk, k = g.write, E = k < g.read ? g.read - k - 1 : g.end - k, R != we)) {
8410
- t = R == Jt ? wi : tn;
8410
+ t = R == Jt ? gi : en;
8411
8411
  break;
8412
8412
  }
8413
8413
  n = p, i = m, a = h, t = jo;
@@ -8432,10 +8432,10 @@ function Rm() {
8432
8432
  break;
8433
8433
  }
8434
8434
  if (A & 32) {
8435
- t = wi;
8435
+ t = gi;
8436
8436
  break;
8437
8437
  }
8438
- return t = tn, b.msg = "invalid literal/length code", R = Le, g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, g.inflate_flush(b, R);
8438
+ return t = en, b.msg = "invalid literal/length code", R = Le, g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, g.inflate_flush(b, R);
8439
8439
  case Wo:
8440
8440
  for (O = o; S < O; ) {
8441
8441
  if (C !== 0)
@@ -8461,7 +8461,7 @@ function Rm() {
8461
8461
  n = A, a = H / 3 + i[H + 2];
8462
8462
  break;
8463
8463
  }
8464
- return t = tn, b.msg = "invalid distance code", R = Le, g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, g.inflate_flush(b, R);
8464
+ return t = en, b.msg = "invalid distance code", R = Le, g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, g.inflate_flush(b, R);
8465
8465
  case Mo:
8466
8466
  for (O = o; S < O; ) {
8467
8467
  if (C !== 0)
@@ -8479,21 +8479,21 @@ function Rm() {
8479
8479
  return g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, g.inflate_flush(b, R);
8480
8480
  g.win[k++] = g.win[D++], E--, D == g.end && (D = 0), r--;
8481
8481
  }
8482
- t = en;
8482
+ t = Qs;
8483
8483
  break;
8484
8484
  case Ko:
8485
8485
  if (E === 0 && (k == g.end && g.read !== 0 && (k = 0, E = k < g.read ? g.read - k - 1 : g.end - k), E === 0 && (g.write = k, R = g.inflate_flush(b, R), k = g.write, E = k < g.read ? g.read - k - 1 : g.end - k, k == g.end && g.read !== 0 && (k = 0, E = k < g.read ? g.read - k - 1 : g.end - k), E === 0)))
8486
8486
  return g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, g.inflate_flush(b, R);
8487
8487
  R = we, g.win[k++] = /* (byte) */
8488
- s, E--, t = en;
8488
+ s, E--, t = Qs;
8489
8489
  break;
8490
- case wi:
8490
+ case gi:
8491
8491
  if (S > 7 && (S -= 8, C++, P--), g.write = k, R = g.inflate_flush(b, R), k = g.write, E = k < g.read ? g.read - k - 1 : g.end - k, g.read != g.write)
8492
8492
  return g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, g.inflate_flush(b, R);
8493
8493
  t = zo;
8494
8494
  case zo:
8495
8495
  return R = Jt, g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, g.inflate_flush(b, R);
8496
- case tn:
8496
+ case en:
8497
8497
  return R = Le, g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, g.inflate_flush(b, R);
8498
8498
  default:
8499
8499
  return R = lt, g.bitb = $, g.bitk = S, b.avail_in = C, b.total_in += P - b.next_in_index, b.next_in_index = P, g.write = k, g.inflate_flush(b, R);
@@ -8522,15 +8522,15 @@ const Go = [
8522
8522
  14,
8523
8523
  1,
8524
8524
  15
8525
- ], Wr = 0, bi = 1, Zo = 2, Vo = 3, Yo = 4, Xo = 5, rn = 6, sn = 7, Jo = 8, gr = 9;
8525
+ ], jr = 0, wi = 1, Zo = 2, Vo = 3, Yo = 4, Xo = 5, tn = 6, rn = 7, Jo = 8, _r = 9;
8526
8526
  function Im(e, t) {
8527
8527
  const r = this;
8528
- let i = Wr, a = 0, n = 0, s = 0, o;
8528
+ let i = jr, a = 0, n = 0, s = 0, o;
8529
8529
  const f = [0], p = [0], c = new Rm();
8530
8530
  let m = 0, h = new Int32Array(cp * 3);
8531
- const _ = 0, L = new Vi();
8531
+ const _ = 0, L = new Zi();
8532
8532
  r.bitk = 0, r.bitb = 0, r.win = new Uint8Array(t), r.end = t, r.read = 0, r.write = 0, r.reset = function(y, g) {
8533
- g && (g[0] = _), i == rn && c.free(y), i = Wr, r.bitk = 0, r.bitb = 0, r.read = r.write = 0;
8533
+ g && (g[0] = _), i == tn && c.free(y), i = jr, r.bitk = 0, r.bitb = 0, r.read = r.write = 0;
8534
8534
  }, r.reset(e, null), r.inflate_flush = function(y, g) {
8535
8535
  let b, R, O;
8536
8536
  return R = y.next_out_index, O = r.read, b = /* (int) */
@@ -8541,7 +8541,7 @@ function Im(e, t) {
8541
8541
  $ < r.read ? r.read - $ - 1 : r.end - $; ; ) {
8542
8542
  let C, k, E, D, I, B, W, M;
8543
8543
  switch (i) {
8544
- case Wr:
8544
+ case jr:
8545
8545
  for (; O < 3; ) {
8546
8546
  if (A !== 0)
8547
8547
  g = we;
@@ -8552,19 +8552,19 @@ function Im(e, t) {
8552
8552
  switch (b = /* (int) */
8553
8553
  R & 7, m = b & 1, b >>> 1) {
8554
8554
  case 0:
8555
- R >>>= 3, O -= 3, b = O & 7, R >>>= b, O -= b, i = bi;
8555
+ R >>>= 3, O -= 3, b = O & 7, R >>>= b, O -= b, i = wi;
8556
8556
  break;
8557
8557
  case 1:
8558
- C = [], k = [], E = [[]], D = [[]], Vi.inflate_trees_fixed(C, k, E, D), c.init(C[0], k[0], E[0], 0, D[0], 0), R >>>= 3, O -= 3, i = rn;
8558
+ C = [], k = [], E = [[]], D = [[]], Zi.inflate_trees_fixed(C, k, E, D), c.init(C[0], k[0], E[0], 0, D[0], 0), R >>>= 3, O -= 3, i = tn;
8559
8559
  break;
8560
8560
  case 2:
8561
8561
  R >>>= 3, O -= 3, i = Vo;
8562
8562
  break;
8563
8563
  case 3:
8564
- return R >>>= 3, O -= 3, i = gr, y.msg = "invalid block type", g = Le, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8564
+ return R >>>= 3, O -= 3, i = _r, y.msg = "invalid block type", g = Le, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8565
8565
  }
8566
8566
  break;
8567
- case bi:
8567
+ case wi:
8568
8568
  for (; O < 32; ) {
8569
8569
  if (A !== 0)
8570
8570
  g = we;
@@ -8573,8 +8573,8 @@ function Im(e, t) {
8573
8573
  A--, R |= (y.read_byte(H++) & 255) << O, O += 8;
8574
8574
  }
8575
8575
  if ((~R >>> 16 & 65535) != (R & 65535))
8576
- return i = gr, y.msg = "invalid stored block lengths", g = Le, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8577
- a = R & 65535, R = O = 0, i = a !== 0 ? Zo : m !== 0 ? sn : Wr;
8576
+ return i = _r, y.msg = "invalid stored block lengths", g = Le, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8577
+ a = R & 65535, R = O = 0, i = a !== 0 ? Zo : m !== 0 ? rn : jr;
8578
8578
  break;
8579
8579
  case Zo:
8580
8580
  if (A === 0 || S === 0 && ($ == r.end && r.read !== 0 && ($ = 0, S = /* (int) */
@@ -8584,7 +8584,7 @@ function Im(e, t) {
8584
8584
  return r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8585
8585
  if (g = we, b = a, b > A && (b = A), b > S && (b = S), r.win.set(y.read_buf(H, b), $), H += b, A -= b, $ += b, S -= b, (a -= b) !== 0)
8586
8586
  break;
8587
- i = m !== 0 ? sn : Wr;
8587
+ i = m !== 0 ? rn : jr;
8588
8588
  break;
8589
8589
  case Vo:
8590
8590
  for (; O < 14; ) {
@@ -8595,7 +8595,7 @@ function Im(e, t) {
8595
8595
  A--, R |= (y.read_byte(H++) & 255) << O, O += 8;
8596
8596
  }
8597
8597
  if (n = b = R & 16383, (b & 31) > 29 || (b >> 5 & 31) > 29)
8598
- return i = gr, y.msg = "too many length or distance symbols", g = Le, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8598
+ return i = _r, y.msg = "too many length or distance symbols", g = Le, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8599
8599
  if (b = 258 + (b & 31) + (b >> 5 & 31), !o || o.length < b)
8600
8600
  o = [];
8601
8601
  else
@@ -8616,7 +8616,7 @@ function Im(e, t) {
8616
8616
  for (; s < 19; )
8617
8617
  o[Go[s++]] = 0;
8618
8618
  if (f[0] = 7, b = L.inflate_trees_bits(o, f, p, h, y), b != we)
8619
- return g = b, g == Le && (o = null, i = gr), r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8619
+ return g = b, g == Le && (o = null, i = _r), r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8620
8620
  s = 0, i = Xo;
8621
8621
  case Xo:
8622
8622
  for (; b = n, !(s >= 258 + (b & 31) + (b >> 5 & 31)); ) {
@@ -8639,7 +8639,7 @@ function Im(e, t) {
8639
8639
  A--, R |= (y.read_byte(H++) & 255) << O, O += 8;
8640
8640
  }
8641
8641
  if (R >>>= b, O -= b, V += R & mt[P], R >>>= P, O -= P, P = s, b = n, P + V > 258 + (b & 31) + (b >> 5 & 31) || z == 16 && P < 1)
8642
- return o = null, i = gr, y.msg = "invalid bit length repeat", g = Le, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8642
+ return o = null, i = _r, y.msg = "invalid bit length repeat", g = Le, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8643
8643
  z = z == 16 ? o[P - 1] : 0;
8644
8644
  do
8645
8645
  o[P++] = z;
@@ -8648,25 +8648,25 @@ function Im(e, t) {
8648
8648
  }
8649
8649
  }
8650
8650
  if (p[0] = -1, I = [], B = [], W = [], M = [], I[0] = 9, B[0] = 6, b = n, b = L.inflate_trees_dynamic(257 + (b & 31), 1 + (b >> 5 & 31), o, I, B, W, M, h, y), b != we)
8651
- return b == Le && (o = null, i = gr), g = b, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8652
- c.init(I[0], B[0], h, W[0], h, M[0]), i = rn;
8653
- case rn:
8651
+ return b == Le && (o = null, i = _r), g = b, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8652
+ c.init(I[0], B[0], h, W[0], h, M[0]), i = tn;
8653
+ case tn:
8654
8654
  if (r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, (g = c.proc(r, y, g)) != Jt)
8655
8655
  return r.inflate_flush(y, g);
8656
8656
  if (g = we, c.free(y), H = y.next_in_index, A = y.avail_in, R = r.bitb, O = r.bitk, $ = r.write, S = /* (int) */
8657
8657
  $ < r.read ? r.read - $ - 1 : r.end - $, m === 0) {
8658
- i = Wr;
8658
+ i = jr;
8659
8659
  break;
8660
8660
  }
8661
- i = sn;
8662
- case sn:
8661
+ i = rn;
8662
+ case rn:
8663
8663
  if (r.write = $, g = r.inflate_flush(y, g), $ = r.write, S = /* (int) */
8664
8664
  $ < r.read ? r.read - $ - 1 : r.end - $, r.read != r.write)
8665
8665
  return r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8666
8666
  i = Jo;
8667
8667
  case Jo:
8668
8668
  return g = Jt, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8669
- case gr:
8669
+ case _r:
8670
8670
  return g = Le, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
8671
8671
  default:
8672
8672
  return g = lt, r.bitb = R, r.bitk = O, y.avail_in = A, y.total_in += H - y.next_in_index, y.next_in_index = H, r.write = $, r.inflate_flush(y, g);
@@ -8677,15 +8677,15 @@ function Im(e, t) {
8677
8677
  }, r.set_dictionary = function(y, g, b) {
8678
8678
  r.win.set(y.subarray(g, g + b), 0), r.read = r.write = b;
8679
8679
  }, r.sync_point = function() {
8680
- return i == bi ? 1 : 0;
8680
+ return i == wi ? 1 : 0;
8681
8681
  };
8682
8682
  }
8683
- const Dm = 32, $m = 8, Hm = 0, Qo = 1, el = 2, tl = 3, rl = 4, sl = 5, vi = 6, fs = 7, nl = 12, ir = 13, Fm = [0, 0, 255, 255];
8683
+ const Dm = 32, $m = 8, Hm = 0, Qo = 1, el = 2, tl = 3, rl = 4, sl = 5, bi = 6, ls = 7, nl = 12, nr = 13, Fm = [0, 0, 255, 255];
8684
8684
  function Nm() {
8685
8685
  const e = this;
8686
8686
  e.mode = 0, e.method = 0, e.was = [0], e.need = 0, e.marker = 0, e.wbits = 0;
8687
8687
  function t(r) {
8688
- return !r || !r.istate ? lt : (r.total_in = r.total_out = 0, r.msg = null, r.istate.mode = fs, r.istate.blocks.reset(r, null), we);
8688
+ return !r || !r.istate ? lt : (r.total_in = r.total_out = 0, r.msg = null, r.istate.mode = ls, r.istate.blocks.reset(r, null), we);
8689
8689
  }
8690
8690
  e.inflateEnd = function(r) {
8691
8691
  return e.blocks && e.blocks.free(r), e.blocks = null, we;
@@ -8702,11 +8702,11 @@ function Nm() {
8702
8702
  if (r.avail_in === 0)
8703
8703
  return a;
8704
8704
  if (a = i, r.avail_in--, r.total_in++, ((s.method = r.read_byte(r.next_in_index++)) & 15) != $m) {
8705
- s.mode = ir, r.msg = "unknown compression method", s.marker = 5;
8705
+ s.mode = nr, r.msg = "unknown compression method", s.marker = 5;
8706
8706
  break;
8707
8707
  }
8708
8708
  if ((s.method >> 4) + 8 > s.wbits) {
8709
- s.mode = ir, r.msg = "invalid win size", s.marker = 5;
8709
+ s.mode = nr, r.msg = "invalid win size", s.marker = 5;
8710
8710
  break;
8711
8711
  }
8712
8712
  s.mode = Qo;
@@ -8714,11 +8714,11 @@ function Nm() {
8714
8714
  if (r.avail_in === 0)
8715
8715
  return a;
8716
8716
  if (a = i, r.avail_in--, r.total_in++, n = r.read_byte(r.next_in_index++) & 255, ((s.method << 8) + n) % 31 !== 0) {
8717
- s.mode = ir, r.msg = "incorrect header check", s.marker = 5;
8717
+ s.mode = nr, r.msg = "incorrect header check", s.marker = 5;
8718
8718
  break;
8719
8719
  }
8720
8720
  if (!(n & Dm)) {
8721
- s.mode = fs;
8721
+ s.mode = ls;
8722
8722
  break;
8723
8723
  }
8724
8724
  s.mode = el;
@@ -8735,12 +8735,12 @@ function Nm() {
8735
8735
  return a;
8736
8736
  a = i, r.avail_in--, r.total_in++, s.need += (r.read_byte(r.next_in_index++) & 255) << 8 & 65280, s.mode = sl;
8737
8737
  case sl:
8738
- return r.avail_in === 0 ? a : (a = i, r.avail_in--, r.total_in++, s.need += r.read_byte(r.next_in_index++) & 255, s.mode = vi, vm);
8739
- case vi:
8740
- return s.mode = ir, r.msg = "need dictionary", s.marker = 0, lt;
8741
- case fs:
8738
+ return r.avail_in === 0 ? a : (a = i, r.avail_in--, r.total_in++, s.need += r.read_byte(r.next_in_index++) & 255, s.mode = bi, vm);
8739
+ case bi:
8740
+ return s.mode = nr, r.msg = "need dictionary", s.marker = 0, lt;
8741
+ case ls:
8742
8742
  if (a = s.blocks.proc(r, a), a == Le) {
8743
- s.mode = ir, s.marker = 0;
8743
+ s.mode = nr, s.marker = 0;
8744
8744
  break;
8745
8745
  }
8746
8746
  if (a == we && (a = i), a != Jt)
@@ -8748,27 +8748,27 @@ function Nm() {
8748
8748
  a = i, s.blocks.reset(r, s.was), s.mode = nl;
8749
8749
  case nl:
8750
8750
  return r.avail_in = 0, Jt;
8751
- case ir:
8751
+ case nr:
8752
8752
  return Le;
8753
8753
  default:
8754
8754
  return lt;
8755
8755
  }
8756
8756
  }, e.inflateSetDictionary = function(r, i, a) {
8757
8757
  let n = 0, s = a;
8758
- if (!r || !r.istate || r.istate.mode != vi)
8758
+ if (!r || !r.istate || r.istate.mode != bi)
8759
8759
  return lt;
8760
8760
  const o = r.istate;
8761
- return s >= 1 << o.wbits && (s = (1 << o.wbits) - 1, n = a - s), o.blocks.set_dictionary(i, n, s), o.mode = fs, we;
8761
+ return s >= 1 << o.wbits && (s = (1 << o.wbits) - 1, n = a - s), o.blocks.set_dictionary(i, n, s), o.mode = ls, we;
8762
8762
  }, e.inflateSync = function(r) {
8763
8763
  let i, a, n, s, o;
8764
8764
  if (!r || !r.istate)
8765
8765
  return lt;
8766
8766
  const f = r.istate;
8767
- if (f.mode != ir && (f.mode = ir, f.marker = 0), (i = r.avail_in) === 0)
8767
+ if (f.mode != nr && (f.mode = nr, f.marker = 0), (i = r.avail_in) === 0)
8768
8768
  return Qt;
8769
8769
  for (a = r.next_in_index, n = f.marker; i !== 0 && n < 4; )
8770
8770
  r.read_byte(a) == Fm[n] ? n++ : r.read_byte(a) !== 0 ? n = 0 : n = 4 - n, a++, i--;
8771
- return r.total_in += a - r.next_in_index, r.next_in_index = a, r.avail_in = i, f.marker = n, n != 4 ? Le : (s = r.total_in, o = r.total_out, t(r), r.total_in = s, r.total_out = o, f.mode = fs, we);
8771
+ return r.total_in += a - r.next_in_index, r.next_in_index = a, r.avail_in = i, f.marker = n, n != 4 ? Le : (s = r.total_in, o = r.total_out, t(r), r.total_in = s, r.total_out = o, f.mode = ls, we);
8772
8772
  }, e.inflateSyncPoint = function(r) {
8773
8773
  return !r || !r.istate || !r.istate.blocks ? lt : r.istate.blocks.sync_point();
8774
8774
  };
@@ -8832,7 +8832,7 @@ function Bm(e) {
8832
8832
  r.inflateEnd();
8833
8833
  };
8834
8834
  }
8835
- const Pr = 4294967295, pr = 65535, jm = 8, Wm = 0, Um = 99, Mm = 67324752, qm = 134695760, il = 33639248, Km = 101010256, al = 101075792, zm = 117853008, Ur = 22, xi = 20, ki = 56, Gm = 1, Zm = 39169, Vm = 10, Ym = 1, Xm = 21589, Jm = 28789, Qm = 25461, e0 = 6534, ol = 1, t0 = 6, ll = 8, fl = 2048, pl = 16, cl = 16384, ul = 73, dl = "/", it = void 0, _r = "undefined", Ns = "function";
8835
+ const Er = 4294967295, fr = 65535, jm = 8, Wm = 0, Um = 99, Mm = 67324752, qm = 134695760, il = 33639248, Km = 101010256, al = 101075792, zm = 117853008, Wr = 22, vi = 20, xi = 56, Gm = 1, Zm = 39169, Vm = 10, Ym = 1, Xm = 21589, Jm = 28789, Qm = 25461, e0 = 6534, ol = 1, t0 = 6, ll = 8, fl = 2048, pl = 16, cl = 16384, ul = 73, dl = "/", it = void 0, yr = "undefined", Fs = "function";
8836
8836
  class hl {
8837
8837
  constructor(t) {
8838
8838
  return class extends TransformStream {
@@ -8854,7 +8854,7 @@ class hl {
8854
8854
  const r0 = 64;
8855
8855
  let dp = 2;
8856
8856
  try {
8857
- typeof navigator != _r && navigator.hardwareConcurrency && (dp = navigator.hardwareConcurrency);
8857
+ typeof navigator != yr && navigator.hardwareConcurrency && (dp = navigator.hardwareConcurrency);
8858
8858
  } catch {
8859
8859
  }
8860
8860
  const s0 = {
@@ -8864,11 +8864,11 @@ const s0 = {
8864
8864
  useWebWorkers: !0,
8865
8865
  useCompressionStream: !0,
8866
8866
  workerScripts: it,
8867
- CompressionStreamNative: typeof CompressionStream != _r && CompressionStream,
8868
- DecompressionStreamNative: typeof DecompressionStream != _r && DecompressionStream
8869
- }, cr = Object.assign({}, s0);
8867
+ CompressionStreamNative: typeof CompressionStream != yr && CompressionStream,
8868
+ DecompressionStreamNative: typeof DecompressionStream != yr && DecompressionStream
8869
+ }, pr = Object.assign({}, s0);
8870
8870
  function n0() {
8871
- return cr;
8871
+ return pr;
8872
8872
  }
8873
8873
  function i0(e) {
8874
8874
  return Math.max(e.chunkSize, r0);
@@ -8887,24 +8887,24 @@ function ga(e) {
8887
8887
  DecompressionStream: c,
8888
8888
  workerScripts: m
8889
8889
  } = e;
8890
- if (ar("baseURL", t), ar("chunkSize", r), ar("maxWorkers", i), ar("terminateWorkerTimeout", a), ar("useCompressionStream", n), ar("useWebWorkers", s), o && (cr.CompressionStream = new hl(o)), f && (cr.DecompressionStream = new hl(f)), ar("CompressionStream", p), ar("DecompressionStream", c), m !== it) {
8890
+ if (ir("baseURL", t), ir("chunkSize", r), ir("maxWorkers", i), ir("terminateWorkerTimeout", a), ir("useCompressionStream", n), ir("useWebWorkers", s), o && (pr.CompressionStream = new hl(o)), f && (pr.DecompressionStream = new hl(f)), ir("CompressionStream", p), ir("DecompressionStream", c), m !== it) {
8891
8891
  const { deflate: h, inflate: _ } = m;
8892
- if ((h || _) && (cr.workerScripts || (cr.workerScripts = {})), h) {
8892
+ if ((h || _) && (pr.workerScripts || (pr.workerScripts = {})), h) {
8893
8893
  if (!Array.isArray(h))
8894
8894
  throw new Error("workerScripts.deflate must be an array");
8895
- cr.workerScripts.deflate = h;
8895
+ pr.workerScripts.deflate = h;
8896
8896
  }
8897
8897
  if (_) {
8898
8898
  if (!Array.isArray(_))
8899
8899
  throw new Error("workerScripts.inflate must be an array");
8900
- cr.workerScripts.inflate = _;
8900
+ pr.workerScripts.inflate = _;
8901
8901
  }
8902
8902
  }
8903
8903
  }
8904
- function ar(e, t) {
8905
- t !== it && (cr[e] = t);
8904
+ function ir(e, t) {
8905
+ t !== it && (pr[e] = t);
8906
8906
  }
8907
- const Si = {
8907
+ const ki = {
8908
8908
  application: {
8909
8909
  "andrew-inset": "ez",
8910
8910
  annodex: "anx",
@@ -10487,9 +10487,9 @@ const Si = {
10487
10487
  };
10488
10488
  (() => {
10489
10489
  const e = {};
10490
- for (const t of Object.keys(Si))
10491
- for (const r of Object.keys(Si[t])) {
10492
- const i = Si[t][r];
10490
+ for (const t of Object.keys(ki))
10491
+ for (const r of Object.keys(ki[t])) {
10492
+ const i = ki[t][r];
10493
10493
  if (typeof i == "string")
10494
10494
  e[i] = t + "/" + r;
10495
10495
  else
@@ -10505,7 +10505,7 @@ for (let e = 0; e < 256; e++) {
10505
10505
  t & 1 ? t = t >>> 1 ^ 3988292384 : t = t >>> 1;
10506
10506
  hp[e] = t;
10507
10507
  }
10508
- class Cn {
10508
+ class Tn {
10509
10509
  constructor(t) {
10510
10510
  this.crc = t || -1;
10511
10511
  }
@@ -10522,7 +10522,7 @@ class Cn {
10522
10522
  class mp extends TransformStream {
10523
10523
  constructor() {
10524
10524
  let t;
10525
- const r = new Cn();
10525
+ const r = new Tn();
10526
10526
  super({
10527
10527
  transform(i, a) {
10528
10528
  r.append(i), a.enqueue(i);
@@ -10535,7 +10535,7 @@ class mp extends TransformStream {
10535
10535
  }
10536
10536
  }
10537
10537
  function a0(e) {
10538
- if (typeof TextEncoder == _r) {
10538
+ if (typeof TextEncoder == yr) {
10539
10539
  e = unescape(encodeURIComponent(e));
10540
10540
  const t = new Uint8Array(e.length);
10541
10541
  for (let r = 0; r < t.length; r++)
@@ -10617,7 +10617,7 @@ const nt = {
10617
10617
  const a = e.length ? e[e.length - 1] : 0, n = nt.getPartial(a);
10618
10618
  return i.push(nt.partial(t + n & 31, t + n > 32 ? r : i.pop(), 1)), i;
10619
10619
  }
10620
- }, On = {
10620
+ }, Cn = {
10621
10621
  bytes: {
10622
10622
  /** Convert from a bitArray to an array of bytes. */
10623
10623
  fromBits(e) {
@@ -10657,7 +10657,7 @@ yp.sha1 = class {
10657
10657
  */
10658
10658
  update(e) {
10659
10659
  const t = this;
10660
- typeof e == "string" && (e = On.utf8String.toBits(e));
10660
+ typeof e == "string" && (e = Cn.utf8String.toBits(e));
10661
10661
  const r = t._buffer = nt.concat(t._buffer, e), i = t._length, a = t._length = i + nt.bitLength(e);
10662
10662
  if (a > 9007199254740991)
10663
10663
  throw new Error("Cannot hash more than 2^53 - 1 bits");
@@ -10858,9 +10858,9 @@ gp.ctrGladman = class {
10858
10858
  return nt.clamp(t, a);
10859
10859
  }
10860
10860
  };
10861
- const Ir = {
10861
+ const Rr = {
10862
10862
  importKey(e) {
10863
- return new Ir.hmacSha1(On.bytes.toBits(e));
10863
+ return new Rr.hmacSha1(Cn.bytes.toBits(e));
10864
10864
  },
10865
10865
  pbkdf2(e, t, r, i) {
10866
10866
  if (r = r || 1e4, i < 0 || r < 0)
@@ -10870,7 +10870,7 @@ const Ir = {
10870
10870
  const c = new ArrayBuffer(a), m = new DataView(c);
10871
10871
  let h = 0;
10872
10872
  const _ = nt;
10873
- for (t = On.bytes.toBits(t), p = 1; h < (a || 1); p++) {
10873
+ for (t = Cn.bytes.toBits(t), p = 1; h < (a || 1); p++) {
10874
10874
  for (n = s = e.encrypt(_.concat(t, [p])), o = 1; o < r; o++)
10875
10875
  for (s = e.encrypt(s), f = 0; f < s.length; f++)
10876
10876
  n[f] ^= s[f];
@@ -10880,7 +10880,7 @@ const Ir = {
10880
10880
  return c.slice(0, i / 8);
10881
10881
  }
10882
10882
  };
10883
- Ir.hmacSha1 = class {
10883
+ Rr.hmacSha1 = class {
10884
10884
  constructor(e) {
10885
10885
  const t = this, r = t._hash = yp.sha1, i = [[], []];
10886
10886
  t._baseHash = [new r(), new r()];
@@ -10908,12 +10908,12 @@ Ir.hmacSha1 = class {
10908
10908
  return this.update(e), this.digest(e);
10909
10909
  }
10910
10910
  };
10911
- const l0 = typeof crypto != _r && typeof crypto.getRandomValues == Ns, wp = "Invalid password", bp = "Invalid signature", wa = "zipjs-abort-check-password";
10911
+ const l0 = typeof crypto != yr && typeof crypto.getRandomValues == Fs, wp = "Invalid password", bp = "Invalid signature", wa = "zipjs-abort-check-password";
10912
10912
  function vp(e) {
10913
10913
  return l0 ? crypto.getRandomValues(e) : o0.getRandomValues(e);
10914
10914
  }
10915
- const zr = 16, f0 = "raw", xp = { name: "PBKDF2" }, p0 = { name: "HMAC" }, c0 = "SHA-1", u0 = Object.assign({ hash: p0 }, xp), Yi = Object.assign({ iterations: 1e3, hash: { name: c0 } }, xp), d0 = ["deriveBits"], Os = [8, 12, 16], ps = [16, 24, 32], fr = 10, h0 = [0, 0, 0, 0], zn = typeof crypto != _r, Bs = zn && crypto.subtle, kp = zn && typeof Bs != _r, Ut = On.bytes, m0 = _p.aes, y0 = gp.ctrGladman, _0 = Ir.hmacSha1;
10916
- let ml = zn && kp && typeof Bs.importKey == Ns, yl = zn && kp && typeof Bs.deriveBits == Ns;
10915
+ const Kr = 16, f0 = "raw", xp = { name: "PBKDF2" }, p0 = { name: "HMAC" }, c0 = "SHA-1", u0 = Object.assign({ hash: p0 }, xp), Vi = Object.assign({ iterations: 1e3, hash: { name: c0 } }, xp), d0 = ["deriveBits"], Cs = [8, 12, 16], fs = [16, 24, 32], lr = 10, h0 = [0, 0, 0, 0], Kn = typeof crypto != yr, Ns = Kn && crypto.subtle, kp = Kn && typeof Ns != yr, Ut = Cn.bytes, m0 = _p.aes, y0 = gp.ctrGladman, _0 = Rr.hmacSha1;
10916
+ let ml = Kn && kp && typeof Ns.importKey == Fs, yl = Kn && kp && typeof Ns.deriveBits == Fs;
10917
10917
  class g0 extends TransformStream {
10918
10918
  constructor({ password: t, rawPassword: r, signed: i, encryptionStrength: a, checkPasswordOnly: n }) {
10919
10919
  super({
@@ -10933,9 +10933,9 @@ class g0 extends TransformStream {
10933
10933
  resolveReady: m,
10934
10934
  ready: h
10935
10935
  } = f;
10936
- p ? (await b0(f, c, p, kt(s, 0, Os[c] + 2)), s = kt(s, Os[c] + 2), n ? o.error(new Error(wa)) : m()) : await h;
10937
- const _ = new Uint8Array(s.length - fr - (s.length - fr) % zr);
10938
- o.enqueue(Sp(f, s, _, 0, fr, !0));
10936
+ p ? (await b0(f, c, p, kt(s, 0, Cs[c] + 2)), s = kt(s, Cs[c] + 2), n ? o.error(new Error(wa)) : m()) : await h;
10937
+ const _ = new Uint8Array(s.length - lr - (s.length - lr) % Kr);
10938
+ o.enqueue(Sp(f, s, _, 0, lr, !0));
10939
10939
  },
10940
10940
  async flush(s) {
10941
10941
  const {
@@ -10947,17 +10947,17 @@ class g0 extends TransformStream {
10947
10947
  } = this;
10948
10948
  if (p && f) {
10949
10949
  await m;
10950
- const h = kt(c, 0, c.length - fr), _ = kt(c, c.length - fr);
10950
+ const h = kt(c, 0, c.length - lr), _ = kt(c, c.length - lr);
10951
10951
  let L = new Uint8Array();
10952
10952
  if (h.length) {
10953
- const y = Rs(Ut, h);
10953
+ const y = Ls(Ut, h);
10954
10954
  p.update(y);
10955
10955
  const g = f.update(y);
10956
- L = Ls(Ut, g);
10956
+ L = Os(Ut, g);
10957
10957
  }
10958
10958
  if (o) {
10959
- const y = kt(Ls(Ut, p.digest()), 0, fr);
10960
- for (let g = 0; g < fr; g++)
10959
+ const y = kt(Os(Ut, p.digest()), 0, lr);
10960
+ for (let g = 0; g < lr; g++)
10961
10961
  if (y[g] != _[g])
10962
10962
  throw new Error(bp);
10963
10963
  }
@@ -10988,7 +10988,7 @@ class w0 extends TransformStream {
10988
10988
  } = o;
10989
10989
  let h = new Uint8Array();
10990
10990
  f ? (h = await v0(o, p, f), c()) : await m;
10991
- const _ = new Uint8Array(h.length + n.length - n.length % zr);
10991
+ const _ = new Uint8Array(h.length + n.length - n.length % Kr);
10992
10992
  _.set(h, 0), s.enqueue(Sp(o, n, _, h.length, 0));
10993
10993
  },
10994
10994
  async flush(n) {
@@ -11002,10 +11002,10 @@ class w0 extends TransformStream {
11002
11002
  await p;
11003
11003
  let c = new Uint8Array();
11004
11004
  if (f.length) {
11005
- const m = s.update(Rs(Ut, f));
11006
- o.update(m), c = Ls(Ut, m);
11005
+ const m = s.update(Ls(Ut, f));
11006
+ o.update(m), c = Os(Ut, m);
11007
11007
  }
11008
- a.signature = Ls(Ut, o.digest()).slice(0, fr), n.enqueue(ba(c, a.signature));
11008
+ a.signature = Os(Ut, o.digest()).slice(0, lr), n.enqueue(ba(c, a.signature));
11009
11009
  }
11010
11010
  }
11011
11011
  }), a = this;
@@ -11017,28 +11017,28 @@ function Sp(e, t, r, i, a, n) {
11017
11017
  hmac: o,
11018
11018
  pending: f
11019
11019
  } = e, p = t.length - a;
11020
- f.length && (t = ba(f, t), r = S0(r, p - p % zr));
11020
+ f.length && (t = ba(f, t), r = S0(r, p - p % Kr));
11021
11021
  let c;
11022
- for (c = 0; c <= p - zr; c += zr) {
11023
- const m = Rs(Ut, kt(t, c, c + zr));
11022
+ for (c = 0; c <= p - Kr; c += Kr) {
11023
+ const m = Ls(Ut, kt(t, c, c + Kr));
11024
11024
  n && o.update(m);
11025
11025
  const h = s.update(m);
11026
- n || o.update(h), r.set(Ls(Ut, h), c + i);
11026
+ n || o.update(h), r.set(Os(Ut, h), c + i);
11027
11027
  }
11028
11028
  return e.pending = kt(t, c), r;
11029
11029
  }
11030
11030
  async function b0(e, t, r, i) {
11031
- const a = await Ep(e, t, r, kt(i, 0, Os[t])), n = kt(i, Os[t]);
11031
+ const a = await Ep(e, t, r, kt(i, 0, Cs[t])), n = kt(i, Cs[t]);
11032
11032
  if (a[0] != n[0] || a[1] != n[1])
11033
11033
  throw new Error(wp);
11034
11034
  }
11035
11035
  async function v0(e, t, r) {
11036
- const i = vp(new Uint8Array(Os[t])), a = await Ep(e, t, r, i);
11036
+ const i = vp(new Uint8Array(Cs[t])), a = await Ep(e, t, r, i);
11037
11037
  return ba(i, a);
11038
11038
  }
11039
11039
  async function Ep(e, t, r, i) {
11040
11040
  e.password = null;
11041
- const a = await x0(f0, r, u0, !1, d0), n = await k0(Object.assign({ salt: i }, Yi), a, 8 * (ps[t] * 2 + 2)), s = new Uint8Array(n), o = Rs(Ut, kt(s, 0, ps[t])), f = Rs(Ut, kt(s, ps[t], ps[t] * 2)), p = kt(s, ps[t] * 2);
11041
+ const a = await x0(f0, r, u0, !1, d0), n = await k0(Object.assign({ salt: i }, Vi), a, 8 * (fs[t] * 2 + 2)), s = new Uint8Array(n), o = Ls(Ut, kt(s, 0, fs[t])), f = Ls(Ut, kt(s, fs[t], fs[t] * 2)), p = kt(s, fs[t] * 2);
11042
11042
  return Object.assign(e, {
11043
11043
  keys: {
11044
11044
  key: o,
@@ -11052,22 +11052,22 @@ async function Ep(e, t, r, i) {
11052
11052
  async function x0(e, t, r, i, a) {
11053
11053
  if (ml)
11054
11054
  try {
11055
- return await Bs.importKey(e, t, r, i, a);
11055
+ return await Ns.importKey(e, t, r, i, a);
11056
11056
  } catch {
11057
- return ml = !1, Ir.importKey(t);
11057
+ return ml = !1, Rr.importKey(t);
11058
11058
  }
11059
11059
  else
11060
- return Ir.importKey(t);
11060
+ return Rr.importKey(t);
11061
11061
  }
11062
11062
  async function k0(e, t, r) {
11063
11063
  if (yl)
11064
11064
  try {
11065
- return await Bs.deriveBits(e, t, r);
11065
+ return await Ns.deriveBits(e, t, r);
11066
11066
  } catch {
11067
- return yl = !1, Ir.pbkdf2(t, e.salt, Yi.iterations, r);
11067
+ return yl = !1, Rr.pbkdf2(t, e.salt, Vi.iterations, r);
11068
11068
  }
11069
11069
  else
11070
- return Ir.pbkdf2(t, e.salt, Yi.iterations, r);
11070
+ return Rr.pbkdf2(t, e.salt, Vi.iterations, r);
11071
11071
  }
11072
11072
  function Pp(e, t) {
11073
11073
  return t === it ? a0(e) : t;
@@ -11086,13 +11086,13 @@ function S0(e, t) {
11086
11086
  function kt(e, t, r) {
11087
11087
  return e.subarray(t, r);
11088
11088
  }
11089
- function Ls(e, t) {
11089
+ function Os(e, t) {
11090
11090
  return e.fromBits(t);
11091
11091
  }
11092
- function Rs(e, t) {
11092
+ function Ls(e, t) {
11093
11093
  return e.toBits(t);
11094
11094
  }
11095
- const Yr = 12;
11095
+ const Vr = 12;
11096
11096
  class E0 extends TransformStream {
11097
11097
  constructor({ password: t, passwordVerification: r, checkPasswordOnly: i }) {
11098
11098
  super({
@@ -11105,10 +11105,10 @@ class E0 extends TransformStream {
11105
11105
  transform(a, n) {
11106
11106
  const s = this;
11107
11107
  if (s.password) {
11108
- const o = _l(s, a.subarray(0, Yr));
11109
- if (s.password = null, o[Yr - 1] != s.passwordVerification)
11108
+ const o = _l(s, a.subarray(0, Vr));
11109
+ if (s.password = null, o[Vr - 1] != s.passwordVerification)
11110
11110
  throw new Error(wp);
11111
- a = a.subarray(Yr);
11111
+ a = a.subarray(Vr);
11112
11112
  }
11113
11113
  i ? n.error(new Error(wa)) : n.enqueue(_l(s, a));
11114
11114
  }
@@ -11129,8 +11129,8 @@ class P0 extends TransformStream {
11129
11129
  let s, o;
11130
11130
  if (n.password) {
11131
11131
  n.password = null;
11132
- const f = vp(new Uint8Array(Yr));
11133
- f[Yr - 1] = n.passwordVerification, s = new Uint8Array(i.length + f.length), s.set(gl(n, f), 0), o = Yr;
11132
+ const f = vp(new Uint8Array(Vr));
11133
+ f[Vr - 1] = n.passwordVerification, s = new Uint8Array(i.length + f.length), s.set(gl(n, f), 0), o = Vr;
11134
11134
  } else
11135
11135
  s = new Uint8Array(i.length), o = 0;
11136
11136
  s.set(gl(n, i), o), a.enqueue(s);
@@ -11154,8 +11154,8 @@ function Ap(e, t) {
11154
11154
  const r = [305419896, 591751049, 878082192];
11155
11155
  Object.assign(e, {
11156
11156
  keys: r,
11157
- crcKey0: new Cn(r[0]),
11158
- crcKey2: new Cn(r[2])
11157
+ crcKey0: new Tn(r[0]),
11158
+ crcKey2: new Tn(r[2])
11159
11159
  });
11160
11160
  for (let i = 0; i < t.length; i++)
11161
11161
  va(e, t.charCodeAt(i));
@@ -11288,8 +11288,8 @@ class $0 extends TransformStream {
11288
11288
  }
11289
11289
  }
11290
11290
  }
11291
- let Dp = typeof Worker != _r;
11292
- class Ei {
11291
+ let Dp = typeof Worker != yr;
11292
+ class Si {
11293
11293
  constructor(t, { readable: r, writable: i }, { options: a, config: n, streamOptions: s, useWebWorkers: o, transferStreams: f, scripts: p }, c) {
11294
11294
  const { signal: m } = s;
11295
11295
  return Object.assign(t, {
@@ -11317,18 +11317,18 @@ class H0 extends TransformStream {
11317
11317
  let s = 0;
11318
11318
  super({
11319
11319
  async start() {
11320
- r && await Pi(r, a);
11320
+ r && await Ei(r, a);
11321
11321
  },
11322
11322
  async transform(o, f) {
11323
- s += o.length, i && await Pi(i, s, a), f.enqueue(o);
11323
+ s += o.length, i && await Ei(i, s, a), f.enqueue(o);
11324
11324
  },
11325
11325
  async flush() {
11326
- t.size = s, n && await Pi(n, s);
11326
+ t.size = s, n && await Ei(n, s);
11327
11327
  }
11328
11328
  });
11329
11329
  }
11330
11330
  }
11331
- async function Pi(e, ...t) {
11331
+ async function Ei(e, ...t) {
11332
11332
  try {
11333
11333
  await e(...t);
11334
11334
  } catch {
@@ -11387,7 +11387,7 @@ async function B0(e, t) {
11387
11387
  rejectResult: i,
11388
11388
  result: a
11389
11389
  });
11390
- const { readable: n, options: s, scripts: o } = e, { writable: f, closed: p } = j0(e.writable), c = mn({
11390
+ const { readable: n, options: s, scripts: o } = e, { writable: f, closed: p } = j0(e.writable), c = hn({
11391
11391
  type: O0,
11392
11392
  scripts: o.slice(1),
11393
11393
  options: s,
@@ -11422,7 +11422,7 @@ let kl = !0, Sl = !0;
11422
11422
  function W0(e, t, r) {
11423
11423
  const i = { type: "module" };
11424
11424
  let a, n;
11425
- typeof e == Ns && (e = e());
11425
+ typeof e == Fs && (e = e());
11426
11426
  try {
11427
11427
  a = new URL(e, t);
11428
11428
  } catch {
@@ -11438,7 +11438,7 @@ function W0(e, t, r) {
11438
11438
  n = new Worker(a, i);
11439
11439
  return n.addEventListener(C0, (s) => U0(s, r)), n;
11440
11440
  }
11441
- function mn(e, { worker: t, writer: r, onTaskFinished: i, transferStreams: a }) {
11441
+ function hn(e, { worker: t, writer: r, onTaskFinished: i, transferStreams: a }) {
11442
11442
  try {
11443
11443
  const { value: n, readable: s, writable: o } = e, f = [];
11444
11444
  if (n && (n.byteLength < n.buffer.byteLength ? e.value = n.buffer.slice(0, n.byteLength) : e.value = n.buffer, f.push(e.value)), a && Sl ? (s && f.push(s), o && f.push(o)) : e.readable = e.writable = null, f.length)
@@ -11462,19 +11462,19 @@ async function U0({ data: e }, t) {
11462
11462
  } else {
11463
11463
  if (r == L0) {
11464
11464
  const { value: _, done: L } = await o.read();
11465
- mn({ type: vl, value: _, done: L, messageId: a }, t);
11465
+ hn({ type: vl, value: _, done: L, messageId: a }, t);
11466
11466
  }
11467
- r == vl && (await f.ready, await f.write(new Uint8Array(i)), mn({ type: R0, messageId: a }, t)), r == xl && h(null, n);
11467
+ r == vl && (await f.ready, await f.write(new Uint8Array(i)), hn({ type: R0, messageId: a }, t)), r == xl && h(null, n);
11468
11468
  }
11469
11469
  } catch (_) {
11470
- mn({ type: xl, messageId: a }, t), h(_);
11470
+ hn({ type: xl, messageId: a }, t), h(_);
11471
11471
  }
11472
11472
  function h(_, L) {
11473
11473
  _ ? c(_) : p(L), f && f.releaseLock(), m();
11474
11474
  }
11475
11475
  }
11476
- let xr = [];
11477
- const Ai = [];
11476
+ let vr = [];
11477
+ const Pi = [];
11478
11478
  let El = 0;
11479
11479
  async function M0(e, t) {
11480
11480
  const { options: r, config: i } = t, { transferStreams: a, useWebWorkers: n, useCompressionStream: s, codecType: o, compressed: f, signed: p, encrypted: c } = r, { workerScripts: m, maxWorkers: h } = i;
@@ -11482,26 +11482,26 @@ async function M0(e, t) {
11482
11482
  const _ = !f && !p && !c && !t.transferStreams;
11483
11483
  return t.useWebWorkers = !_ && (n || n === it && i.useWebWorkers), t.scripts = t.useWebWorkers && m ? m[o] : [], r.useCompressionStream = s || s === it && i.useCompressionStream, (await L()).run();
11484
11484
  async function L() {
11485
- const g = xr.find((b) => !b.busy);
11485
+ const g = vr.find((b) => !b.busy);
11486
11486
  if (g)
11487
- return Pl(g), new Ei(g, e, t, y);
11488
- if (xr.length < h) {
11487
+ return Pl(g), new Si(g, e, t, y);
11488
+ if (vr.length < h) {
11489
11489
  const b = { indexWorker: El };
11490
- return El++, xr.push(b), new Ei(b, e, t, y);
11490
+ return El++, vr.push(b), new Si(b, e, t, y);
11491
11491
  } else
11492
- return new Promise((b) => Ai.push({ resolve: b, stream: e, workerOptions: t }));
11492
+ return new Promise((b) => Pi.push({ resolve: b, stream: e, workerOptions: t }));
11493
11493
  }
11494
11494
  function y(g) {
11495
- if (Ai.length) {
11496
- const [{ resolve: b, stream: R, workerOptions: O }] = Ai.splice(0, 1);
11497
- b(new Ei(g, R, O, y));
11498
- } else g.worker ? (Pl(g), q0(g, t)) : xr = xr.filter((b) => b != g);
11495
+ if (Pi.length) {
11496
+ const [{ resolve: b, stream: R, workerOptions: O }] = Pi.splice(0, 1);
11497
+ b(new Si(g, R, O, y));
11498
+ } else g.worker ? (Pl(g), q0(g, t)) : vr = vr.filter((b) => b != g);
11499
11499
  }
11500
11500
  }
11501
11501
  function q0(e, t) {
11502
11502
  const { config: r } = t, { terminateWorkerTimeout: i } = r;
11503
11503
  Number.isFinite(i) && i >= 0 && (e.terminated ? e.terminated = !1 : e.terminateTimeout = setTimeout(async () => {
11504
- xr = xr.filter((a) => a != e);
11504
+ vr = vr.filter((a) => a != e);
11505
11505
  try {
11506
11506
  await e.terminate();
11507
11507
  } catch {
@@ -11540,7 +11540,7 @@ class Fp extends xa {
11540
11540
  return i;
11541
11541
  }
11542
11542
  }
11543
- class Xi extends Fp {
11543
+ class Yi extends Fp {
11544
11544
  constructor(t) {
11545
11545
  super(), Object.assign(this, {
11546
11546
  blob: t,
@@ -11615,7 +11615,7 @@ class Al extends xa {
11615
11615
  const { value: h, done: _ } = await t.next();
11616
11616
  if (_ && !h)
11617
11617
  throw new Error(z0);
11618
- a = h, a.size = 0, a.maxSize && (i.maxSize = a.maxSize), i.availableSize = i.maxSize, await Ln(a), n = h.writable, s = n.getWriter(), await this.write(c);
11618
+ a = h, a.size = 0, a.maxSize && (i.maxSize = a.maxSize), i.availableSize = i.maxSize, await On(a), n = h.writable, s = n.getWriter(), await this.write(c);
11619
11619
  }
11620
11620
  },
11621
11621
  async close() {
@@ -11636,7 +11636,7 @@ class Al extends xa {
11636
11636
  }
11637
11637
  }
11638
11638
  }
11639
- async function Ln(e, t) {
11639
+ async function On(e, t) {
11640
11640
  if (e.init && !e.initialized)
11641
11641
  await e.init(t);
11642
11642
  else
@@ -11648,7 +11648,7 @@ function X0(e) {
11648
11648
  }), e;
11649
11649
  }
11650
11650
  function J0(e) {
11651
- e.writable === it && typeof e.next == Ns && (e = new Al(e)), e instanceof WritableStream && (e = {
11651
+ e.writable === it && typeof e.next == Fs && (e = new Al(e)), e instanceof WritableStream && (e = {
11652
11652
  writable: e
11653
11653
  });
11654
11654
  const { writable: t } = e;
@@ -11672,23 +11672,23 @@ function ey(e) {
11672
11672
  } else
11673
11673
  return new TextDecoder().decode(e);
11674
11674
  }
11675
- function yn(e, t) {
11675
+ function mn(e, t) {
11676
11676
  return t && t.trim().toLowerCase() == "cp437" ? ey(e) : new TextDecoder(t).decode(e);
11677
11677
  }
11678
- const Bp = "filename", jp = "rawFilename", Wp = "comment", Up = "rawComment", Mp = "uncompressedSize", qp = "compressedSize", Kp = "offset", Ji = "diskNumberStart", Qi = "lastModDate", ea = "rawLastModDate", zp = "lastAccessDate", ty = "rawLastAccessDate", Gp = "creationDate", ry = "rawCreationDate", sy = "internalFileAttribute", ny = "internalFileAttributes", iy = "externalFileAttribute", ay = "externalFileAttributes", oy = "msDosCompatible", ly = "zip64", fy = "encrypted", py = "version", cy = "versionMadeBy", uy = "zipCrypto", dy = "directory", hy = "executable", my = [
11678
+ const Bp = "filename", jp = "rawFilename", Wp = "comment", Up = "rawComment", Mp = "uncompressedSize", qp = "compressedSize", Kp = "offset", Xi = "diskNumberStart", Ji = "lastModDate", Qi = "rawLastModDate", zp = "lastAccessDate", ty = "rawLastAccessDate", Gp = "creationDate", ry = "rawCreationDate", sy = "internalFileAttribute", ny = "internalFileAttributes", iy = "externalFileAttribute", ay = "externalFileAttributes", oy = "msDosCompatible", ly = "zip64", fy = "encrypted", py = "version", cy = "versionMadeBy", uy = "zipCrypto", dy = "directory", hy = "executable", my = [
11679
11679
  Bp,
11680
11680
  jp,
11681
11681
  qp,
11682
11682
  Mp,
11683
+ Ji,
11683
11684
  Qi,
11684
- ea,
11685
11685
  Wp,
11686
11686
  Up,
11687
11687
  zp,
11688
11688
  Gp,
11689
11689
  Kp,
11690
- Ji,
11691
- Ji,
11690
+ Xi,
11691
+ Xi,
11692
11692
  sy,
11693
11693
  ny,
11694
11694
  iy,
@@ -11720,18 +11720,18 @@ class Tl {
11720
11720
  my.forEach((r) => this[r] = t[r]);
11721
11721
  }
11722
11722
  }
11723
- const Ti = "File format is not recognized", yy = "End of central directory not found", _y = "End of Zip64 central directory locator not found", gy = "Central directory header not found", wy = "Local file header not found", by = "Zip64 extra field not found", vy = "File contains encrypted entry", xy = "Encryption method not supported", Cl = "Compression method not supported", Ol = "Split zip file", Ll = "utf-8", Rl = "cp437", ky = [
11724
- [Mp, Pr],
11725
- [qp, Pr],
11726
- [Kp, Pr],
11727
- [Ji, pr]
11723
+ const Ai = "File format is not recognized", yy = "End of central directory not found", _y = "End of Zip64 central directory locator not found", gy = "Central directory header not found", wy = "Local file header not found", by = "Zip64 extra field not found", vy = "File contains encrypted entry", xy = "Encryption method not supported", Cl = "Compression method not supported", Ol = "Split zip file", Ll = "utf-8", Rl = "cp437", ky = [
11724
+ [Mp, Er],
11725
+ [qp, Er],
11726
+ [Kp, Er],
11727
+ [Xi, fr]
11728
11728
  ], Sy = {
11729
- [pr]: {
11729
+ [fr]: {
11730
11730
  getValue: Be,
11731
11731
  bytes: 4
11732
11732
  },
11733
- [Pr]: {
11734
- getValue: _n,
11733
+ [Er]: {
11734
+ getValue: yn,
11735
11735
  bytes: 8
11736
11736
  }
11737
11737
  };
@@ -11747,39 +11747,39 @@ class Il {
11747
11747
  const r = this;
11748
11748
  let { reader: i } = r;
11749
11749
  const { config: a } = r;
11750
- if (await Ln(i), (i.size === it || !i.readUint8Array) && (i = new Xi(await new Response(i.readable).blob()), await Ln(i)), i.size < Ur)
11751
- throw new Error(Ti);
11750
+ if (await On(i), (i.size === it || !i.readUint8Array) && (i = new Yi(await new Response(i.readable).blob()), await On(i)), i.size < Wr)
11751
+ throw new Error(Ai);
11752
11752
  i.chunkSize = i0(a);
11753
- const n = await Oy(i, Km, i.size, Ur, pr * 16);
11753
+ const n = await Oy(i, Km, i.size, Wr, fr * 16);
11754
11754
  if (!n) {
11755
11755
  const k = await Je(i, 0, 4), E = Ge(k);
11756
11756
  throw Be(E) == qm ? new Error(Ol) : new Error(yy);
11757
11757
  }
11758
11758
  const s = Ge(n);
11759
11759
  let o = Be(s, 12), f = Be(s, 16);
11760
- const p = n.offset, c = ze(s, 20), m = p + Ur + c;
11760
+ const p = n.offset, c = ze(s, 20), m = p + Wr + c;
11761
11761
  let h = ze(s, 4);
11762
11762
  const _ = i.lastDiskNumber || 0;
11763
11763
  let L = ze(s, 6), y = ze(s, 8), g = 0, b = 0;
11764
- if (f == Pr || o == Pr || y == pr || L == pr) {
11765
- const k = await Je(i, n.offset - xi, xi), E = Ge(k);
11764
+ if (f == Er || o == Er || y == fr || L == fr) {
11765
+ const k = await Je(i, n.offset - vi, vi), E = Ge(k);
11766
11766
  if (Be(E, 0) == zm) {
11767
- f = _n(E, 8);
11768
- let D = await Je(i, f, ki, -1), I = Ge(D);
11769
- const B = n.offset - xi - ki;
11767
+ f = yn(E, 8);
11768
+ let D = await Je(i, f, xi, -1), I = Ge(D);
11769
+ const B = n.offset - vi - xi;
11770
11770
  if (Be(I, 0) != al && f != B) {
11771
11771
  const W = f;
11772
- f = B, g = f - W, D = await Je(i, f, ki, -1), I = Ge(D);
11772
+ f = B, g = f - W, D = await Je(i, f, xi, -1), I = Ge(D);
11773
11773
  }
11774
11774
  if (Be(I, 0) != al)
11775
11775
  throw new Error(_y);
11776
- h == pr && (h = Be(I, 16)), L == pr && (L = Be(I, 20)), y == pr && (y = _n(I, 32)), o == Pr && (o = _n(I, 40)), f -= o;
11776
+ h == fr && (h = Be(I, 16)), L == fr && (L = Be(I, 20)), y == fr && (y = yn(I, 32)), o == Er && (o = yn(I, 40)), f -= o;
11777
11777
  }
11778
11778
  }
11779
- if (f >= i.size && (g = i.size - f - o - Ur, f = i.size - o - Ur), _ != h)
11779
+ if (f >= i.size && (g = i.size - f - o - Wr, f = i.size - o - Wr), _ != h)
11780
11780
  throw new Error(Ol);
11781
11781
  if (f < 0)
11782
- throw new Error(Ti);
11782
+ throw new Error(Ai);
11783
11783
  let R = 0, O = await Je(i, f, o, L), H = Ge(O);
11784
11784
  if (o) {
11785
11785
  const k = n.offset - o;
@@ -11790,14 +11790,14 @@ class Il {
11790
11790
  }
11791
11791
  const A = n.offset - f - (i.lastDiskOffset || 0);
11792
11792
  if (o != A && A >= 0 && (o = A, O = await Je(i, f, o, L), H = Ge(O)), f < 0 || f >= i.size)
11793
- throw new Error(Ti);
11793
+ throw new Error(Ai);
11794
11794
  const $ = rt(r, t, "filenameEncoding"), S = rt(r, t, "commentEncoding");
11795
11795
  for (let k = 0; k < y; k++) {
11796
11796
  const E = new Ey(i, a, r.options);
11797
11797
  if (Be(H, R) != il)
11798
11798
  throw new Error(gy);
11799
11799
  Zp(E, H, R + 6);
11800
- const D = !!E.bitFlag.languageEncodingFlag, I = R + 46, B = I + E.filenameLength, W = B + E.extraFieldLength, M = ze(H, R + 4), V = M >> 8 == 0, z = M >> 8 == 3, ne = O.subarray(I, B), G = ze(H, R + 32), Q = W + G, ee = O.subarray(W, Q), Z = D, fe = D, ie = Be(H, R + 38), ae = V && (Xr(H, R + 38) & pl) == pl || z && (ie >> 16 & cl) == cl || ne.length && ne[ne.length - 1] == dl.charCodeAt(0), Se = z && (ie >> 16 & ul) == ul, Ae = Be(H, R + 42) + g;
11800
+ const D = !!E.bitFlag.languageEncodingFlag, I = R + 46, B = I + E.filenameLength, W = B + E.extraFieldLength, M = ze(H, R + 4), V = M >> 8 == 0, z = M >> 8 == 3, ne = O.subarray(I, B), G = ze(H, R + 32), Q = W + G, ee = O.subarray(W, Q), Z = D, fe = D, ie = Be(H, R + 38), ae = V && (Yr(H, R + 38) & pl) == pl || z && (ie >> 16 & cl) == cl || ne.length && ne[ne.length - 1] == dl.charCodeAt(0), Se = z && (ie >> 16 & ul) == ul, Ae = Be(H, R + 42) + g;
11801
11801
  Object.assign(E, {
11802
11802
  versionMadeBy: M,
11803
11803
  msDosCompatible: V,
@@ -11815,11 +11815,11 @@ class Il {
11815
11815
  rawExtraField: O.subarray(B, W),
11816
11816
  executable: Se
11817
11817
  }), E.internalFileAttribute = E.internalFileAttributes, E.externalFileAttribute = E.externalFileAttributes;
11818
- const Ve = rt(r, t, "decodeText") || yn, Qe = Z ? Ll : $ || Rl, bt = fe ? Ll : S || Rl;
11818
+ const Ve = rt(r, t, "decodeText") || mn, Qe = Z ? Ll : $ || Rl, bt = fe ? Ll : S || Rl;
11819
11819
  let Re = Ve(ne, Qe);
11820
- Re === it && (Re = yn(ne, Qe));
11820
+ Re === it && (Re = mn(ne, Qe));
11821
11821
  let Ie = Ve(ee, bt);
11822
- Ie === it && (Ie = yn(ee, bt)), Object.assign(E, {
11822
+ Ie === it && (Ie = mn(ee, bt)), Object.assign(E, {
11823
11823
  rawComment: ee,
11824
11824
  filename: Re,
11825
11825
  comment: Ie,
@@ -11836,7 +11836,7 @@ class Il {
11836
11836
  yield at;
11837
11837
  }
11838
11838
  const P = rt(r, t, "extractPrependedData"), C = rt(r, t, "extractAppendedData");
11839
- return P && (r.prependedData = b > 0 ? await Je(i, 0, b) : new Uint8Array()), r.comment = c ? await Je(i, p + Ur, c) : new Uint8Array(), C && (r.appendedData = m < i.size ? await Je(i, m, i.size - m) : new Uint8Array()), !0;
11839
+ return P && (r.prependedData = b > 0 ? await Je(i, 0, b) : new Uint8Array()), r.comment = c ? await Je(i, p + Wr, c) : new Uint8Array(), C && (r.appendedData = m < i.size ? await Je(i, m, i.size - m) : new Uint8Array()), !0;
11840
11840
  }
11841
11841
  async getEntries(t = {}) {
11842
11842
  const r = [];
@@ -11895,7 +11895,7 @@ class Ey {
11895
11895
  size: C
11896
11896
  });
11897
11897
  const E = rt(a, i, "signal"), D = rt(a, i, "checkPasswordOnly");
11898
- D && (t = new WritableStream()), t = J0(t), await Ln(t, A ? y : L);
11898
+ D && (t = new WritableStream()), t = J0(t), await On(t, A ? y : L);
11899
11899
  const { writable: I } = t, { onstart: B, onprogress: W, onend: M } = i, V = {
11900
11900
  options: {
11901
11901
  codecType: Ip,
@@ -11992,22 +11992,22 @@ function Py(e, t) {
11992
11992
  }
11993
11993
  }
11994
11994
  function Dl(e, t, r, i, a) {
11995
- const n = Ge(e.data), s = new Cn();
11995
+ const n = Ge(e.data), s = new Tn();
11996
11996
  s.append(a[r]);
11997
11997
  const o = Ge(new Uint8Array(4));
11998
11998
  o.setUint32(0, s.get(), !0);
11999
11999
  const f = Be(n, 1);
12000
12000
  Object.assign(e, {
12001
- version: Xr(n, 0),
12002
- [t]: yn(e.data.subarray(5)),
12001
+ version: Yr(n, 0),
12002
+ [t]: mn(e.data.subarray(5)),
12003
12003
  valid: !a.bitFlag.languageEncodingFlag && f == Be(o, 0)
12004
12004
  }), e.valid && (i[t] = e[t], i[t + "UTF8"] = !0);
12005
12005
  }
12006
12006
  function Ay(e, t, r) {
12007
- const i = Ge(e.data), a = Xr(i, 4);
12007
+ const i = Ge(e.data), a = Yr(i, 4);
12008
12008
  Object.assign(e, {
12009
- vendorVersion: Xr(i, 0),
12010
- vendorId: Xr(i, 2),
12009
+ vendorVersion: Yr(i, 0),
12010
+ vendorId: Yr(i, 2),
12011
12011
  strength: a,
12012
12012
  originalCompressionMethod: r,
12013
12013
  compressionMethod: ze(i, 5)
@@ -12031,15 +12031,15 @@ function Ty(e, t) {
12031
12031
  rawLastAccessDate: o,
12032
12032
  rawCreationDate: f
12033
12033
  });
12034
- const p = Ci(s), c = Ci(o), m = Ci(f), h = { lastModDate: p, lastAccessDate: c, creationDate: m };
12034
+ const p = Ti(s), c = Ti(o), m = Ti(f), h = { lastModDate: p, lastAccessDate: c, creationDate: m };
12035
12035
  Object.assign(e, h), Object.assign(t, h);
12036
12036
  }
12037
12037
  } catch {
12038
12038
  }
12039
12039
  }
12040
12040
  function Cy(e, t, r) {
12041
- const i = Ge(e.data), a = Xr(i, 0), n = [], s = [];
12042
- r ? ((a & 1) == 1 && (n.push(Qi), s.push(ea)), (a & 2) == 2 && (n.push(zp), s.push(ty)), (a & 4) == 4 && (n.push(Gp), s.push(ry))) : e.data.length >= 5 && (n.push(Qi), s.push(ea));
12041
+ const i = Ge(e.data), a = Yr(i, 0), n = [], s = [];
12042
+ r ? ((a & 1) == 1 && (n.push(Ji), s.push(Qi)), (a & 2) == 2 && (n.push(zp), s.push(ty)), (a & 4) == 4 && (n.push(Gp), s.push(ry))) : e.data.length >= 5 && (n.push(Ji), s.push(Qi));
12043
12043
  let o = 1;
12044
12044
  n.forEach((f, p) => {
12045
12045
  if (e.data.length >= o + 4) {
@@ -12076,10 +12076,10 @@ function Ly(e) {
12076
12076
  } catch {
12077
12077
  }
12078
12078
  }
12079
- function Ci(e) {
12079
+ function Ti(e) {
12080
12080
  return new Date(Number(e / BigInt(1e4) - BigInt(116444736e5)));
12081
12081
  }
12082
- function Xr(e, t) {
12082
+ function Yr(e, t) {
12083
12083
  return e.getUint8(t);
12084
12084
  }
12085
12085
  function ze(e, t) {
@@ -12088,7 +12088,7 @@ function ze(e, t) {
12088
12088
  function Be(e, t) {
12089
12089
  return e.getUint32(t, !0);
12090
12090
  }
12091
- function _n(e, t) {
12091
+ function yn(e, t) {
12092
12092
  return Number(e.getBigUint64(t, !0));
12093
12093
  }
12094
12094
  function Ry(e, t, r) {
@@ -12120,7 +12120,7 @@ class Iy {
12120
12120
  a.enqueue(r), a.close();
12121
12121
  }
12122
12122
  });
12123
- return new bs(i, t, {
12123
+ return new ws(i, t, {
12124
12124
  filesize: r.byteLength
12125
12125
  });
12126
12126
  }
@@ -12137,25 +12137,25 @@ class Iy {
12137
12137
  throw new Error(`File not found at ${t}`);
12138
12138
  }
12139
12139
  }
12140
- class Rn {
12140
+ class Ln {
12141
12141
  constructor(t) {
12142
12142
  this.entries = /* @__PURE__ */ new Map(), this.zipReader = t;
12143
12143
  }
12144
12144
  static fromStream(t) {
12145
12145
  const r = new Il(
12146
- new Xi(new bs(t, "archive.zip"))
12146
+ new Yi(new ws(t, "archive.zip"))
12147
12147
  );
12148
- return new Rn(r);
12148
+ return new Ln(r);
12149
12149
  }
12150
12150
  static fromArrayBuffer(t) {
12151
12151
  const r = new Il(
12152
- new Xi(new Blob([t]))
12152
+ new Yi(new Blob([t]))
12153
12153
  );
12154
- return new Rn(r);
12154
+ return new Ln(r);
12155
12155
  }
12156
12156
  async read(t) {
12157
12157
  const r = await this.getEntry(t), i = await r.getData(new V0());
12158
- return new bs(i.stream(), t, {
12158
+ return new ws(i.stream(), t, {
12159
12159
  filesize: r.uncompressedSize
12160
12160
  });
12161
12161
  }
@@ -12230,7 +12230,7 @@ class $y {
12230
12230
  throw new Error(
12231
12231
  "FetchFilesystem cannot fetch files from data URLs"
12232
12232
  );
12233
- t = Dn(t);
12233
+ t = In(t);
12234
12234
  const r = t.replace(/^\//, ""), i = new URL(r, this.baseUrl).toString();
12235
12235
  if (!i.startsWith(this.baseUrl))
12236
12236
  throw new Error(
@@ -12242,14 +12242,14 @@ class $y {
12242
12242
  `Failed to fetch file at ${t}: ${n.statusText}`
12243
12243
  );
12244
12244
  const s = n.headers.get("content-length") ? parseInt(n.headers.get("content-length"), 10) : void 0;
12245
- return new bs(n.body, t, { filesize: s });
12245
+ return new ws(n.body, t, { filesize: s });
12246
12246
  }
12247
12247
  }
12248
- function Gn(e) {
12248
+ function zn(e) {
12249
12249
  const t = e.split(".").shift().replace(/-/g, " ");
12250
12250
  return t.charAt(0).toUpperCase() + t.slice(1).toLowerCase();
12251
12251
  }
12252
- function rr(e) {
12252
+ function tr(e) {
12253
12253
  return Object.fromEntries(Object.entries(e).map(([t, r]) => [r, t]));
12254
12254
  }
12255
12255
  const Hy = {
@@ -12307,11 +12307,11 @@ const Hy = {
12307
12307
  transparency_info: 52,
12308
12308
  connection_id: 54
12309
12309
  };
12310
- rr(Hy);
12310
+ tr(Hy);
12311
12311
  const Fy = {
12312
12312
  host_name: 0
12313
12313
  };
12314
- rr(Fy);
12314
+ tr(Fy);
12315
12315
  const Ny = {
12316
12316
  TLS1_CK_PSK_WITH_RC4_128_SHA: 138,
12317
12317
  TLS1_CK_PSK_WITH_3DES_EDE_CBC_SHA: 139,
@@ -12516,7 +12516,7 @@ const Ny = {
12516
12516
  TLS1_CK_DHE_PSK_WITH_CHACHA20_POLY1305: 52397,
12517
12517
  TLS1_CK_RSA_PSK_WITH_CHACHA20_POLY1305: 52398
12518
12518
  };
12519
- rr(Ny);
12519
+ tr(Ny);
12520
12520
  const By = {
12521
12521
  secp256r1: 23,
12522
12522
  secp384r1: 24,
@@ -12524,20 +12524,20 @@ const By = {
12524
12524
  x25519: 29,
12525
12525
  x448: 30
12526
12526
  };
12527
- rr(By);
12527
+ tr(By);
12528
12528
  const jy = {
12529
12529
  uncompressed: 0,
12530
12530
  ansiX962_compressed_prime: 1,
12531
12531
  ansiX962_compressed_char2: 2
12532
12532
  };
12533
- rr(jy);
12533
+ tr(jy);
12534
12534
  const Wy = {
12535
12535
  anonymous: 0,
12536
12536
  rsa: 1,
12537
12537
  dsa: 2,
12538
12538
  ecdsa: 3
12539
12539
  };
12540
- rr(Wy);
12540
+ tr(Wy);
12541
12541
  const Uy = {
12542
12542
  none: 0,
12543
12543
  md5: 1,
@@ -12547,12 +12547,12 @@ const Uy = {
12547
12547
  sha384: 5,
12548
12548
  sha512: 6
12549
12549
  };
12550
- rr(Uy);
12550
+ tr(Uy);
12551
12551
  const My = {
12552
12552
  Warning: 1,
12553
12553
  Fatal: 2
12554
12554
  };
12555
- rr(My);
12555
+ tr(My);
12556
12556
  const qy = {
12557
12557
  CloseNotify: 0,
12558
12558
  UnexpectedMessage: 10,
@@ -12580,7 +12580,7 @@ const qy = {
12580
12580
  NoRenegotiation: 100,
12581
12581
  UnsupportedExtension: 110
12582
12582
  };
12583
- rr(qy);
12583
+ tr(qy);
12584
12584
  crypto.subtle.generateKey(
12585
12585
  {
12586
12586
  name: "ECDH",
@@ -12592,7 +12592,7 @@ crypto.subtle.generateKey(
12592
12592
  ["deriveKey", "deriveBits"]
12593
12593
  // Key usage
12594
12594
  );
12595
- async function ta(e, t) {
12595
+ async function ea(e, t) {
12596
12596
  const r = ["GET", "HEAD"].includes(e.method) || "body" in t ? void 0 : await e.blob();
12597
12597
  return new Request(t.url || e.url, {
12598
12598
  body: r,
@@ -12613,8 +12613,8 @@ async function Ky(e) {
12613
12613
  return [e, e];
12614
12614
  const [t, r] = e.body.tee();
12615
12615
  return [
12616
- await ta(e, { body: t, duplex: "half" }),
12617
- await ta(e, { body: r, duplex: "half" })
12616
+ await ea(e, { body: t, duplex: "half" }),
12617
+ await ea(e, { body: r, duplex: "half" })
12618
12618
  ];
12619
12619
  }
12620
12620
  async function zy(e, t, r, i) {
@@ -12632,7 +12632,7 @@ async function zy(e, t, r, i) {
12632
12632
  try {
12633
12633
  return await fetch(o);
12634
12634
  } catch {
12635
- const m = ((p = new Headers(f.headers).get("x-cors-proxy-allowed-request-headers")) == null ? void 0 : p.split(",")) || [], h = m.includes("authorization") || m.includes("cookie"), _ = await ta(f, {
12635
+ const m = ((p = new Headers(f.headers).get("x-cors-proxy-allowed-request-headers")) == null ? void 0 : p.split(",")) || [], h = m.includes("authorization") || m.includes("cookie"), _ = await ea(f, {
12636
12636
  url: `${r}${a.url}`,
12637
12637
  ...h && { credentials: "include" }
12638
12638
  });
@@ -12692,7 +12692,7 @@ class _g extends TransformStream {
12692
12692
  });
12693
12693
  }
12694
12694
  }
12695
- new Jr({ concurrency: 15 });
12695
+ new Xr({ concurrency: 15 });
12696
12696
  const Gy = [
12697
12697
  "vfs",
12698
12698
  "literal",
@@ -12984,7 +12984,7 @@ class e_ extends Kt {
12984
12984
  s,
12985
12985
  (f) => f.substring(a.length).replace(/^\/+/, "")
12986
12986
  ), {
12987
- name: wn(this.reference.path) || this.reference.url.replaceAll(/[^a-zA-Z0-9-.]/g, "-").replaceAll(/-+/g, "-"),
12987
+ name: gn(this.reference.path) || this.reference.url.replaceAll(/[^a-zA-Z0-9-.]/g, "-").replaceAll(/-+/g, "-"),
12988
12988
  files: s
12989
12989
  };
12990
12990
  }
@@ -13015,7 +13015,7 @@ class s_ extends ka {
13015
13015
  super(r), this.resource = t;
13016
13016
  }
13017
13017
  get name() {
13018
- return Gn(this.resource.slug);
13018
+ return zn(this.resource.slug);
13019
13019
  }
13020
13020
  getURL() {
13021
13021
  return `https://downloads.wordpress.org/theme/${Jp(this.resource.slug)}`;
@@ -13027,7 +13027,7 @@ class n_ extends ka {
13027
13027
  }
13028
13028
  /** @inheritDoc */
13029
13029
  get name() {
13030
- return Gn(this.resource.slug);
13030
+ return zn(this.resource.slug);
13031
13031
  }
13032
13032
  /** @inheritDoc */
13033
13033
  getURL() {
@@ -13084,7 +13084,7 @@ class o_ extends Kt {
13084
13084
  );
13085
13085
  }
13086
13086
  );
13087
- return new bs(s, this.name, {
13087
+ return new ws(s, this.name, {
13088
13088
  filesize: n
13089
13089
  });
13090
13090
  } catch (a) {
@@ -13281,7 +13281,7 @@ This will ensure your code works reliably regardless of the current working dire
13281
13281
  i,
13282
13282
  new Uint8Array(await t.arrayBuffer())
13283
13283
  );
13284
- const a = await e.documentRoot, n = $n({ docroot: a, sqlFilename: i }), s = await e.run({
13284
+ const a = await e.documentRoot, n = Dn({ docroot: a, sqlFilename: i }), s = await e.run({
13285
13285
  code: `<?php
13286
13286
  require_once ${n.docroot} . '/wp-load.php';
13287
13287
 
@@ -13319,7 +13319,7 @@ This will ensure your code works reliably regardless of the current working dire
13319
13319
  new Uint8Array(await s.arrayBuffer())
13320
13320
  );
13321
13321
  }
13322
- const n = $n({
13322
+ const n = Dn({
13323
13323
  zipPath: t,
13324
13324
  extractToPath: r,
13325
13325
  overwriteFiles: i
@@ -13700,7 +13700,7 @@ function skip_whitespace($tokens) {
13700
13700
  }
13701
13701
  `;
13702
13702
  async function sc(e, t, r, i = "rewrite") {
13703
- const a = $n({ wpConfigPath: t, constants: r, whenAlreadyDefined: i });
13703
+ const a = Dn({ wpConfigPath: t, constants: r, whenAlreadyDefined: i });
13704
13704
  if ((await e.run({
13705
13705
  code: `<?php ob_start(); ?>
13706
13706
  ${d_}
@@ -14003,7 +14003,7 @@ Use: writeFiles({ writeToPath: '/wordpress/wp-content/plugins/my-plugin'
14003
14003
 
14004
14004
  This will ensure your code works reliably regardless of the current working directory.
14005
14005
  `.trim()
14006
- ), t = `/${t}`), await Hn(e, t, r.files);
14006
+ ), t = `/${t}`), await $n(e, t, r.files);
14007
14007
  }, oc = async (e, { siteUrl: t }) => {
14008
14008
  await Sa(e, {
14009
14009
  consts: {
@@ -14174,7 +14174,7 @@ const lc = async (e, { themeSlug: t = "" }, r) => {
14174
14174
  );
14175
14175
  await $l(e, m);
14176
14176
  const h = Ee(s, c);
14177
- await e.fileExists(h) && (await e.mkdir(wn(m)), await e.mv(h, m));
14177
+ await e.fileExists(h) && (await e.mkdir(gn(m)), await e.mv(h, m));
14178
14178
  }
14179
14179
  const o = Ee(
14180
14180
  a,
@@ -14285,7 +14285,7 @@ const C_ = async (e, { pluginData: t, pluginZipFile: r, ifAlreadyInstalled: i, o
14285
14285
  if (t instanceof File)
14286
14286
  if (await c(t)) {
14287
14287
  const h = t.name.split("/").pop() || "plugin.zip";
14288
- p = Gn(h), n == null || n.tracker.setCaption(
14288
+ p = zn(h), n == null || n.tracker.setCaption(
14289
14289
  `Installing the ${p} plugin`
14290
14290
  );
14291
14291
  const _ = await pc(e, {
@@ -14314,7 +14314,7 @@ const C_ = async (e, { pluginData: t, pluginZipFile: r, ifAlreadyInstalled: i, o
14314
14314
  s,
14315
14315
  o || t.name
14316
14316
  );
14317
- await Hn(e, h, t.files, {
14317
+ await $n(e, h, t.files, {
14318
14318
  rmRoot: !0
14319
14319
  }), f = h;
14320
14320
  }
@@ -14334,7 +14334,7 @@ const C_ = async (e, { pluginData: t, pluginZipFile: r, ifAlreadyInstalled: i, o
14334
14334
  let o = "", f = "";
14335
14335
  if (t instanceof File) {
14336
14336
  const m = t.name.split("/").pop() || "theme.zip";
14337
- f = Gn(m), n == null || n.tracker.setCaption(`Installing the ${f} theme`), o = (await pc(e, {
14337
+ f = zn(m), n == null || n.tracker.setCaption(`Installing the ${f} theme`), o = (await pc(e, {
14338
14338
  ifAlreadyInstalled: i,
14339
14339
  zipFile: t,
14340
14340
  targetPath: `${await e.documentRoot}/wp-content/themes`,
@@ -14348,7 +14348,7 @@ const C_ = async (e, { pluginData: t, pluginZipFile: r, ifAlreadyInstalled: i, o
14348
14348
  "themes",
14349
14349
  o
14350
14350
  );
14351
- await Hn(e, m, t.files, {
14351
+ await $n(e, m, t.files, {
14352
14352
  rmRoot: !0
14353
14353
  });
14354
14354
  }
@@ -14414,7 +14414,7 @@ const C_ = async (e, { pluginData: t, pluginZipFile: r, ifAlreadyInstalled: i, o
14414
14414
  t && (n = n.filter((f) => !f.startsWith("themes/twenty")).filter(
14415
14415
  (f) => f !== "mu-plugins/sqlite-database-integration"
14416
14416
  ));
14417
- const s = $n({
14417
+ const s = Dn({
14418
14418
  zipPath: r,
14419
14419
  wpContentPath: a,
14420
14420
  documentRoot: i,
@@ -14576,7 +14576,7 @@ const F_ = async (e, t) => {
14576
14576
  type: "theme"
14577
14577
  });
14578
14578
  await e.isDir(`${i}/wp-content/languages/plugins`) || await e.mkdir(`${i}/wp-content/languages/plugins`), await e.isDir(`${i}/wp-content/languages/themes`) || await e.mkdir(`${i}/wp-content/languages/themes`);
14579
- const c = new Jr({ concurrency: 5 }), m = n.map(
14579
+ const c = new Xr({ concurrency: 5 }), m = n.map(
14580
14580
  ({ url: h, type: _ }) => c.run(async () => {
14581
14581
  try {
14582
14582
  const L = await fetch(h);
@@ -15613,7 +15613,7 @@ function ke(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
15613
15613
  }
15614
15614
  return ke.errors = n, s === 0;
15615
15615
  }
15616
- const nn = {
15616
+ const sn = {
15617
15617
  oneOf: [
15618
15618
  {
15619
15619
  type: "object",
@@ -16341,8 +16341,8 @@ Only the username field is required for user authentication.`
16341
16341
  { type: ["object", "string"] }
16342
16342
  ]
16343
16343
  }
16344
- }, Oi = { validate: Ar };
16345
- function Ar(e, { instancePath: t = "", parentData: r, parentDataProperty: i, rootData: a = e } = {}) {
16344
+ }, Ci = { validate: Pr };
16345
+ function Pr(e, { instancePath: t = "", parentData: r, parentDataProperty: i, rootData: a = e } = {}) {
16346
16346
  let n = null, s = 0;
16347
16347
  if (s === 0)
16348
16348
  if (e && typeof e == "object" && !Array.isArray(e))
@@ -16351,12 +16351,12 @@ function Ar(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
16351
16351
  const m = s, h = s;
16352
16352
  let _ = !1;
16353
16353
  const L = s;
16354
- Oi.validate(c, {
16354
+ Ci.validate(c, {
16355
16355
  instancePath: t + "/" + p.replace(/~/g, "~0").replace(/\//g, "~1"),
16356
16356
  parentData: e,
16357
16357
  parentDataProperty: p,
16358
16358
  rootData: a
16359
- }) || (n = n === null ? Oi.validate.errors : n.concat(Oi.validate.errors), s = n.length);
16359
+ }) || (n = n === null ? Ci.validate.errors : n.concat(Ci.validate.errors), s = n.length);
16360
16360
  var o = L === s;
16361
16361
  if (_ = _ || o, !_) {
16362
16362
  const y = s;
@@ -16385,14 +16385,14 @@ function Ar(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
16385
16385
  params: {},
16386
16386
  message: "must match a schema in anyOf"
16387
16387
  };
16388
- return n === null ? n = [y] : n.push(y), s++, Ar.errors = n, !1;
16388
+ return n === null ? n = [y] : n.push(y), s++, Pr.errors = n, !1;
16389
16389
  }
16390
16390
  var f = m === s;
16391
16391
  if (!f)
16392
16392
  break;
16393
16393
  }
16394
16394
  else
16395
- return Ar.errors = [
16395
+ return Pr.errors = [
16396
16396
  {
16397
16397
  instancePath: t,
16398
16398
  schemaPath: "#/type",
@@ -16401,7 +16401,7 @@ function Ar(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
16401
16401
  message: "must be object"
16402
16402
  }
16403
16403
  ], !1;
16404
- return Ar.errors = n, s === 0;
16404
+ return Pr.errors = n, s === 0;
16405
16405
  }
16406
16406
  function Nt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, rootData: a = e } = {}) {
16407
16407
  let n = null, s = 0;
@@ -16463,12 +16463,12 @@ function Nt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
16463
16463
  if (o) {
16464
16464
  if (e.files !== void 0) {
16465
16465
  const c = s;
16466
- Ar(e.files, {
16466
+ Pr(e.files, {
16467
16467
  instancePath: t + "/files",
16468
16468
  parentData: e,
16469
16469
  parentDataProperty: "files",
16470
16470
  rootData: a
16471
- }) || (n = n === null ? Ar.errors : n.concat(Ar.errors), s = n.length);
16471
+ }) || (n = n === null ? Pr.errors : n.concat(Pr.errors), s = n.length);
16472
16472
  var o = c === s;
16473
16473
  } else
16474
16474
  var o = !0;
@@ -19055,7 +19055,7 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
19055
19055
  schemaPath: "#/oneOf/3/properties/method/enum",
19056
19056
  keyword: "enum",
19057
19057
  params: {
19058
- allowedValues: nn.oneOf[3].properties.method.enum
19058
+ allowedValues: sn.oneOf[3].properties.method.enum
19059
19059
  },
19060
19060
  message: "must be equal to one of the allowed values"
19061
19061
  }
@@ -19606,7 +19606,7 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
19606
19606
  schemaPath: "#/oneOf/6/properties/importer/enum",
19607
19607
  keyword: "enum",
19608
19608
  params: {
19609
- allowedValues: nn.oneOf[6].properties.importer.enum
19609
+ allowedValues: sn.oneOf[6].properties.importer.enum
19610
19610
  },
19611
19611
  message: "must be equal to one of the allowed values"
19612
19612
  }
@@ -20111,7 +20111,7 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
20111
20111
  schemaPath: "#/oneOf/9/properties/ifAlreadyInstalled/enum",
20112
20112
  keyword: "enum",
20113
20113
  params: {
20114
- allowedValues: nn.oneOf[9].properties.ifAlreadyInstalled.enum
20114
+ allowedValues: sn.oneOf[9].properties.ifAlreadyInstalled.enum
20115
20115
  },
20116
20116
  message: "must be equal to one of the allowed values"
20117
20117
  }
@@ -20439,7 +20439,7 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
20439
20439
  schemaPath: "#/oneOf/10/properties/ifAlreadyInstalled/enum",
20440
20440
  keyword: "enum",
20441
20441
  params: {
20442
- allowedValues: nn.oneOf[10].properties.ifAlreadyInstalled.enum
20442
+ allowedValues: sn.oneOf[10].properties.ifAlreadyInstalled.enum
20443
20443
  },
20444
20444
  message: "must be equal to one of the allowed values"
20445
20445
  }
@@ -23485,7 +23485,7 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
23485
23485
  for (const ge in l)
23486
23486
  if (!(ge === "BYTES_PER_ELEMENT" || ge === "buffer" || ge === "byteLength" || ge === "byteOffset" || ge === "length")) {
23487
23487
  let ut = l[ge];
23488
- const js = s;
23488
+ const Bs = s;
23489
23489
  if (!(typeof ut == "number" && isFinite(
23490
23490
  ut
23491
23491
  ))) {
@@ -23510,8 +23510,8 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
23510
23510
  Ke
23511
23511
  ), s++;
23512
23512
  }
23513
- var Zn = js === s;
23514
- if (!Zn)
23513
+ var Gn = Bs === s;
23514
+ if (!Gn)
23515
23515
  break;
23516
23516
  }
23517
23517
  if (Dt === s) {
@@ -23521,7 +23521,7 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
23521
23521
  if (!(typeof ge == "number" && isFinite(
23522
23522
  ge
23523
23523
  ))) {
23524
- const js = {
23524
+ const Bs = {
23525
23525
  instancePath: t + "/data/BYTES_PER_ELEMENT",
23526
23526
  schemaPath: "#/oneOf/25/properties/data/anyOf/2/properties/BYTES_PER_ELEMENT/type",
23527
23527
  keyword: "type",
@@ -23531,9 +23531,9 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
23531
23531
  message: "must be number"
23532
23532
  };
23533
23533
  n === null ? n = [
23534
- js
23534
+ Bs
23535
23535
  ] : n.push(
23536
- js
23536
+ Bs
23537
23537
  ), s++;
23538
23538
  }
23539
23539
  var tt = ut === s;
@@ -23549,7 +23549,7 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
23549
23549
  )) {
23550
23550
  let Ke;
23551
23551
  if (ge.byteLength === void 0 && (Ke = "byteLength")) {
23552
- const Ws = {
23552
+ const js = {
23553
23553
  instancePath: t + "/data/buffer",
23554
23554
  schemaPath: "#/oneOf/25/properties/data/anyOf/2/properties/buffer/required",
23555
23555
  keyword: "required",
@@ -23559,36 +23559,36 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
23559
23559
  message: "must have required property '" + Ke + "'"
23560
23560
  };
23561
23561
  n === null ? n = [
23562
- Ws
23562
+ js
23563
23563
  ] : n.push(
23564
- Ws
23564
+ js
23565
23565
  ), s++;
23566
23566
  } else {
23567
- const Ws = s;
23568
- for (const ss in ge)
23569
- if (ss !== "byteLength") {
23570
- const ns = {
23567
+ const js = s;
23568
+ for (const rs in ge)
23569
+ if (rs !== "byteLength") {
23570
+ const ss = {
23571
23571
  instancePath: t + "/data/buffer",
23572
23572
  schemaPath: "#/oneOf/25/properties/data/anyOf/2/properties/buffer/additionalProperties",
23573
23573
  keyword: "additionalProperties",
23574
23574
  params: {
23575
- additionalProperty: ss
23575
+ additionalProperty: rs
23576
23576
  },
23577
23577
  message: "must NOT have additional properties"
23578
23578
  };
23579
23579
  n === null ? n = [
23580
- ns
23580
+ ss
23581
23581
  ] : n.push(
23582
- ns
23582
+ ss
23583
23583
  ), s++;
23584
23584
  break;
23585
23585
  }
23586
- if (Ws === s && ge.byteLength !== void 0) {
23587
- let ss = ge.byteLength;
23588
- if (!(typeof ss == "number" && isFinite(
23589
- ss
23586
+ if (js === s && ge.byteLength !== void 0) {
23587
+ let rs = ge.byteLength;
23588
+ if (!(typeof rs == "number" && isFinite(
23589
+ rs
23590
23590
  ))) {
23591
- const ns = {
23591
+ const ss = {
23592
23592
  instancePath: t + "/data/buffer/byteLength",
23593
23593
  schemaPath: "#/oneOf/25/properties/data/anyOf/2/properties/buffer/properties/byteLength/type",
23594
23594
  keyword: "type",
@@ -23598,9 +23598,9 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
23598
23598
  message: "must be number"
23599
23599
  };
23600
23600
  n === null ? n = [
23601
- ns
23601
+ ss
23602
23602
  ] : n.push(
23603
- ns
23603
+ ss
23604
23604
  ), s++;
23605
23605
  }
23606
23606
  }
@@ -23826,10 +23826,10 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
23826
23826
  message: "must be number"
23827
23827
  }
23828
23828
  ], !1;
23829
- var Hr = re === s;
23829
+ var $r = re === s;
23830
23830
  } else
23831
- var Hr = !0;
23832
- if (Hr)
23831
+ var $r = !0;
23832
+ if ($r)
23833
23833
  if (l.caption !== void 0) {
23834
23834
  const x = s;
23835
23835
  if (typeof l.caption != "string")
@@ -23844,9 +23844,9 @@ function w(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
23844
23844
  message: "must be string"
23845
23845
  }
23846
23846
  ], !1;
23847
- var Hr = x === s;
23847
+ var $r = x === s;
23848
23848
  } else
23849
- var Hr = !0;
23849
+ var $r = !0;
23850
23850
  }
23851
23851
  } else
23852
23852
  return w.errors = [
@@ -25406,14 +25406,14 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
25406
25406
  ], !1;
25407
25407
  return me.errors = n, s === 0;
25408
25408
  }
25409
- function gn(e, { instancePath: t = "", parentData: r, parentDataProperty: i, rootData: a = e } = {}) {
25409
+ function _n(e, { instancePath: t = "", parentData: r, parentDataProperty: i, rootData: a = e } = {}) {
25410
25410
  let n = null, s = 0;
25411
25411
  return me(e, {
25412
25412
  instancePath: t,
25413
25413
  parentData: r,
25414
25414
  parentDataProperty: i,
25415
25415
  rootData: a
25416
- }) || (n = n === null ? me.errors : n.concat(me.errors), s = n.length), gn.errors = n, s === 0;
25416
+ }) || (n = n === null ? me.errors : n.concat(me.errors), s = n.length), _n.errors = n, s === 0;
25417
25417
  }
25418
25418
  const { wpCLI: K_, ...Hl } = B_, z_ = {
25419
25419
  ...Hl,
@@ -25439,8 +25439,8 @@ async function G_(e) {
25439
25439
  return JSON.parse(r);
25440
25440
  }
25441
25441
  function Z_(e, {
25442
- progress: t = new In(),
25443
- semaphore: r = new Jr({ concurrency: 3 }),
25442
+ progress: t = new Rn(),
25443
+ semaphore: r = new Xr({ concurrency: 3 }),
25444
25444
  onStepCompleted: i = () => {
25445
25445
  },
25446
25446
  onBlueprintValidated: a = () => {
@@ -25537,7 +25537,7 @@ function Z_(e, {
25537
25537
  versions: {
25538
25538
  php: Y_(
25539
25539
  (A = e.preferredVersions) == null ? void 0 : A.php,
25540
- sa,
25540
+ ra,
25541
25541
  Nc
25542
25542
  ),
25543
25543
  wp: (($ = e.preferredVersions) == null ? void 0 : $.wp) || "latest"
@@ -25582,13 +25582,13 @@ function Z_(e, {
25582
25582
  }
25583
25583
  function V_(e) {
25584
25584
  var a;
25585
- const t = gn(e);
25585
+ const t = _n(e);
25586
25586
  if (t)
25587
25587
  return { valid: t };
25588
25588
  const r = /* @__PURE__ */ new Set();
25589
- for (const n of gn.errors)
25589
+ for (const n of _n.errors)
25590
25590
  n.schemaPath.startsWith("#/properties/steps/items/anyOf") || r.add(n.instancePath);
25591
- const i = (a = gn.errors) == null ? void 0 : a.filter(
25591
+ const i = (a = _n.errors) == null ? void 0 : a.filter(
25592
25592
  (n) => !(n.schemaPath.startsWith("#/properties/steps/items/anyOf") && r.has(n.instancePath))
25593
25593
  );
25594
25594
  return {
@@ -25857,7 +25857,7 @@ async function wg(e) {
25857
25857
  ]);
25858
25858
  } catch {
25859
25859
  if (await ng(r))
25860
- return Rn.fromArrayBuffer(r);
25860
+ return Ln.fromArrayBuffer(r);
25861
25861
  throw new Error(
25862
25862
  `Blueprint file at ${e} is neither a valid JSON nor a ZIP file.`
25863
25863
  );
@@ -25870,7 +25870,7 @@ async function ng(e) {
25870
25870
  return t[0] === 80 && t[1] === 75 && t[2] === 3 && t[3] === 4;
25871
25871
  }
25872
25872
  async function ig(e) {
25873
- if ((await ws.create(e)).getVersion() === 1) {
25873
+ if ((await gs.create(e)).getVersion() === 1) {
25874
25874
  const r = await dc(
25875
25875
  e
25876
25876
  );
@@ -25938,7 +25938,7 @@ class fg {
25938
25938
  withNetworking: g.networking,
25939
25939
  corsProxyUrl: n,
25940
25940
  sqliteDriverVersion: c
25941
- }), await y.isReady(), _.finish(), Ul(Pe, y), m == null || m(y), (await ws.create(L)).getVersion() === 1) {
25941
+ }), await y.isReady(), _.finish(), Ul(Pe, y), m == null || m(y), (await gs.create(L)).getVersion() === 1) {
25942
25942
  const R = await dc(L, {
25943
25943
  progress: h,
25944
25944
  onStepCompleted: a,
@@ -26004,7 +26004,7 @@ class pg {
26004
26004
  async function vg(e) {
26005
26005
  const {
26006
26006
  iframe: t,
26007
- progressTracker: r = new In(),
26007
+ progressTracker: r = new Rn(),
26008
26008
  disableProgressBar: i
26009
26009
  } = e;
26010
26010
  let { remoteUrl: a } = e;
@@ -26057,9 +26057,9 @@ function hg(e, t) {
26057
26057
  return r.search = i.toString(), r.toString();
26058
26058
  }
26059
26059
  export {
26060
- ws as BlueprintReflection,
26060
+ gs as BlueprintReflection,
26061
26061
  Nc as LatestSupportedPHPVersion,
26062
- sa as SupportedPHPVersions,
26062
+ ra as SupportedPHPVersions,
26063
26063
  yg as SupportedPHPVersionsList,
26064
26064
  Qp as activatePlugin,
26065
26065
  ec as activateTheme,
@@ -26082,7 +26082,7 @@ export {
26082
26082
  x_ as mkdir,
26083
26083
  v_ as mv,
26084
26084
  wt as phpVar,
26085
- $n as phpVars,
26085
+ Dn as phpVars,
26086
26086
  c_ as request,
26087
26087
  R_ as resetData,
26088
26088
  wg as resolveRemoteBlueprint,