presenter 0.7.3 → 0.7.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.
package/dist/export.mjs CHANGED
@@ -28,14 +28,14 @@ function Za(e) {
28
28
  }, k = {
29
29
  x: x.x + T * Math.cos(f - L),
30
30
  y: x.y + T * Math.sin(f - L)
31
- }, M = {
31
+ }, E = {
32
32
  x: x.x + T * Math.cos(f + L),
33
33
  y: x.y + T * Math.sin(f + L)
34
34
  };
35
35
  return {
36
36
  arrowPoints: [x, D],
37
37
  arrowheadPoints: [S, D, U],
38
- doubledArrowheadPoints: [k, x, M]
38
+ doubledArrowheadPoints: [k, x, E]
39
39
  };
40
40
  }
41
41
  function Ca(e, n = null) {
@@ -45,14 +45,14 @@ function Zt(e, n = null) {
45
45
  const { red: t, green: A, blue: a } = e, i = t << 16 | A << 8 | a, s = Math.round(Ca(e, n) * 255);
46
46
  return `#${i.toString(16).padStart(6, "0")}${s !== 255 ? s.toString(16).padStart(2, "0") : ""}`;
47
47
  }
48
- function Me(e, n) {
48
+ function Ee(e, n) {
49
49
  throw new Error("Unexpected value: " + e);
50
50
  }
51
51
  const We = {
52
52
  Browser: "browser",
53
53
  Node: "node"
54
54
  };
55
- function Ee({
55
+ function _e({
56
56
  ctx: e,
57
57
  color: n,
58
58
  drawn: t = null,
@@ -86,7 +86,7 @@ function Ee({
86
86
  s.type === We.Node ? e.context.stroke(s.path) : console.warn("Attempted to use Browser Path2D in Node Canvas context");
87
87
  break;
88
88
  default:
89
- Me(e);
89
+ Ee(e);
90
90
  }
91
91
  }
92
92
  }
@@ -107,7 +107,7 @@ function ze({ ctx: e, path: n, color: t, opacity: A = null }) {
107
107
  n.type === We.Node ? e.context.fill(n.path) : console.warn("Attempted to use Browser Path2D in Node Canvas context");
108
108
  break;
109
109
  default:
110
- Me(e);
110
+ Ee(e);
111
111
  }
112
112
  }
113
113
  function It(e, n) {
@@ -135,7 +135,7 @@ const $a = ({
135
135
  if (a === 0 || n.drawn === 0)
136
136
  return;
137
137
  const { arrowPoints: i, arrowheadPoints: s, doubledArrowheadPoints: c } = Za(n), { path: l } = It(i, A), { path: r } = It(s, A);
138
- if (Ee({
138
+ if (_e({
139
139
  color: n.color,
140
140
  ctx: e,
141
141
  path: l,
@@ -146,7 +146,7 @@ const $a = ({
146
146
  path: r,
147
147
  color: n.color,
148
148
  opacity: a
149
- })), Ee({
149
+ })), _e({
150
150
  color: n.color,
151
151
  ctx: e,
152
152
  path: r,
@@ -162,7 +162,7 @@ const $a = ({
162
162
  path: o,
163
163
  color: n.color,
164
164
  opacity: a
165
- })), Ee({
165
+ })), _e({
166
166
  color: n.color,
167
167
  ctx: e,
168
168
  path: o,
@@ -193,7 +193,7 @@ function Ba(e, n) {
193
193
  n.type === We.Node ? e.context.clip(n.path) : console.warn("Attempted to use Browser Path2D in Node Canvas context");
194
194
  break;
195
195
  default:
196
- Me(e);
196
+ Ee(e);
197
197
  }
198
198
  }
199
199
  const ar = ({
@@ -211,7 +211,7 @@ const ar = ({
211
211
  c !== void 0 && (e.context.save(), Ba(e, c), ze({ ctx: e, path: i, color: n.fill, opacity: a }), e.context.restore());
212
212
  } else
213
213
  ze({ ctx: e, path: i, color: n.fill, opacity: a });
214
- Ee({
214
+ _e({
215
215
  color: n.borderColor,
216
216
  ctx: e,
217
217
  drawn: n.drawn,
@@ -304,7 +304,7 @@ function Qe(e, n, t) {
304
304
  size: t
305
305
  });
306
306
  default:
307
- Me(n);
307
+ Ee(n);
308
308
  }
309
309
  }
310
310
  const or = ({
@@ -313,19 +313,26 @@ const or = ({
313
313
  renderObject: t,
314
314
  opacity: A
315
315
  }) => {
316
- const a = Qe(
316
+ const a = n.scale * n.scaleX, i = n.scale * n.scaleY, s = Qe(
317
317
  ye({ x: n.x, y: n.y }),
318
318
  n.anchor,
319
319
  Le({
320
- width: n.width * n.scale,
321
- height: n.height * n.scale
320
+ width: n.width * Math.abs(a),
321
+ height: n.height * Math.abs(i)
322
322
  })
323
- ), { rotation: i, rotateOriginX: s, rotateOriginY: c } = n;
324
- if (n.scale !== 0) {
325
- e.context.translate(a.origin.x, a.origin.y), e.context.scale(n.scale, n.scale), e.context.translate(s, c), e.context.rotate(i * Math.PI / 180), e.context.translate(-s, -c);
326
- for (const l of n.objects)
327
- t(l, A * n.opacity);
328
- n.previewColor !== null && (e.context.fillStyle = Zt(n.previewColor), e.context.fillRect(0, 0, n.width, n.height)), e.context.translate(s, c), e.context.rotate(-i * Math.PI / 180), e.context.translate(-s, -c), n.rotateOriginPreviewSize > 0 && (e.context.fillStyle = "red", e.context.beginPath(), e.context.arc(s, c, n.rotateOriginPreviewSize, 0, 2 * Math.PI), e.context.fill()), e.context.scale(1 / n.scale, 1 / n.scale), e.context.translate(-a.origin.x, -a.origin.y);
323
+ ), { rotation: c, rotateOriginX: l, rotateOriginY: r, skewOriginX: o, skewOriginY: f, skewX: m, skewY: d } = n;
324
+ if (!(a === 0 || i === 0)) {
325
+ e.context.save(), e.context.translate(s.origin.x, s.origin.y), e.context.scale(a, i), e.context.translate(l, r), e.context.rotate(c * Math.PI / 180), e.context.translate(-l, -r), e.context.translate(o, f), e.context.transform(
326
+ 1,
327
+ Math.tan(d * Math.PI / 180),
328
+ Math.tan(m * Math.PI / 180),
329
+ 1,
330
+ 0,
331
+ 0
332
+ ), e.context.translate(-o, -f);
333
+ for (const g of n.objects)
334
+ t(g, A * n.opacity);
335
+ n.previewColor !== null && (e.context.fillStyle = Zt(n.previewColor), e.context.fillRect(0, 0, n.width, n.height)), n.rotateOriginPreviewSize > 0 && (e.context.fillStyle = "red", e.context.beginPath(), e.context.arc(l, r, n.rotateOriginPreviewSize, 0, 2 * Math.PI), e.context.fill()), n.skewOriginPreviewSize > 0 && (e.context.fillStyle = "blue", e.context.beginPath(), e.context.arc(o, f, n.skewOriginPreviewSize, 0, 2 * Math.PI), e.context.fill()), e.context.restore();
329
336
  }
330
337
  };
331
338
  function $t(e, n, t, A, a = 0) {
@@ -383,7 +390,7 @@ const ut = {
383
390
  c.path.type === We.Node ? e.context.clip(c.path.path) : console.warn("Attempted to use Browser Path2D in Node Canvas context");
384
391
  break;
385
392
  default:
386
- Me(e);
393
+ Ee(e);
387
394
  }
388
395
  }
389
396
  switch (e.context.globalAlpha = A * t.opacity, e.context.imageSmoothingEnabled = t.smooth, e.type) {
@@ -406,7 +413,7 @@ const ut = {
406
413
  ) : console.warn("Attempted to use Browser Image in Node Canvas context");
407
414
  break;
408
415
  default:
409
- Me(e);
416
+ Ee(e);
410
417
  }
411
418
  e.context.restore();
412
419
  }
@@ -427,7 +434,7 @@ const sr = ({
427
434
  if (a === 0 || n.drawn === 0)
428
435
  return;
429
436
  const { path: i, length: s } = Ar(n, A);
430
- Ee({
437
+ _e({
431
438
  color: n.color,
432
439
  ctx: e,
433
440
  drawn: n.drawn,
@@ -509,7 +516,7 @@ const ca = { red: 0, green: 0, blue: 0, alpha: 1 }, lr = ({
509
516
  path: s,
510
517
  color: n.fill,
511
518
  opacity: a
512
- }), Ee({
519
+ }), _e({
513
520
  color: n.color,
514
521
  ctx: e,
515
522
  drawn: n.drawn,
@@ -556,7 +563,7 @@ const dr = ({
556
563
  path: i,
557
564
  color: n.fill,
558
565
  opacity: a
559
- }), Ee({
566
+ }), _e({
560
567
  color: n.borderColor,
561
568
  ctx: e,
562
569
  drawn: n.drawn,
@@ -613,7 +620,7 @@ const pr = ({
613
620
  c !== void 0 && (e.context.save(), Ba(e, c), ze({ ctx: e, path: i, color: n.fill, opacity: a }), e.context.restore());
614
621
  } else
615
622
  ze({ ctx: e, path: i, color: n.fill, opacity: a });
616
- Ee({
623
+ _e({
617
624
  color: n.borderColor,
618
625
  ctx: e,
619
626
  drawn: n.drawn,
@@ -659,10 +666,10 @@ const pr = ({
659
666
  );
660
667
  break;
661
668
  default:
662
- Me(e);
669
+ Ee(e);
663
670
  }
664
671
  e.context.restore();
665
- }, _t = {
672
+ }, Mt = {
666
673
  LEFT: "left",
667
674
  CENTER: "center",
668
675
  RIGHT: "right"
@@ -732,17 +739,17 @@ const mr = ({ ctx: e, object: n, opacity: t }) => {
732
739
  }
733
740
  const v = y.reduce((x, D) => x + D.width, 0), b = y.length === 0 ? d : y.reduce((x, D) => Math.max(x, D.height), 0);
734
741
  switch (n.alignment) {
735
- case _t.LEFT:
742
+ case Mt.LEFT:
736
743
  o = r.origin.x;
737
744
  break;
738
- case _t.CENTER:
745
+ case Mt.CENTER:
739
746
  o = r.origin.x + (r.size.width - v) / 2;
740
747
  break;
741
- case _t.RIGHT:
748
+ case Mt.RIGHT:
742
749
  o = r.origin.x + (r.size.width - v);
743
750
  break;
744
751
  default:
745
- Me(n.alignment);
752
+ Ee(n.alignment);
746
753
  break;
747
754
  }
748
755
  f += b + d * (n.lineSpacing - 1), d = b;
@@ -760,8 +767,8 @@ const mr = ({ ctx: e, object: n, opacity: t }) => {
760
767
  }
761
768
  const k = U ?? T;
762
769
  m += k.length;
763
- const M = { ...s, ...S };
764
- Ra(e, M, A), e.context.fillText(k, o, f), o += L.width;
770
+ const E = { ...s, ...S };
771
+ Ra(e, E, A), e.context.fillText(k, o, f), o += L.width;
765
772
  }
766
773
  }
767
774
  }, Fa = {
@@ -813,7 +820,7 @@ function vr(e) {
813
820
  case ot.UPDATE:
814
821
  break;
815
822
  default:
816
- Me(a);
823
+ Ee(a);
817
824
  }
818
825
  return A;
819
826
  }
@@ -901,7 +908,7 @@ function fa(e, n, t = null) {
901
908
  a += i.duration;
902
909
  break;
903
910
  default:
904
- Me(i);
911
+ Ee(i);
905
912
  }
906
913
  }
907
914
  }
@@ -1159,7 +1166,7 @@ function Cr(e) {
1159
1166
  function xt(e) {
1160
1167
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1161
1168
  }
1162
- var Et = { exports: {} };
1169
+ var _t = { exports: {} };
1163
1170
  /*!
1164
1171
 
1165
1172
  JSZip v3.10.1 - A JavaScript class for generating and reading zip files
@@ -1288,17 +1295,17 @@ function Br() {
1288
1295
  return y;
1289
1296
  }
1290
1297
  function s(d, g, u, y, v, b) {
1291
- var x, D, L = d.file, T = d.compression, S = b !== r.utf8encode, U = c.transformTo("string", b(L.name)), k = c.transformTo("string", r.utf8encode(L.name)), M = L.comment, J = c.transformTo("string", b(M)), B = c.transformTo("string", r.utf8encode(M)), _ = k.length !== L.name.length, p = B.length !== M.length, I = "", K = "", O = "", ae = L.dir, G = L.date, $ = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
1298
+ var x, D, L = d.file, T = d.compression, S = b !== r.utf8encode, U = c.transformTo("string", b(L.name)), k = c.transformTo("string", r.utf8encode(L.name)), E = L.comment, J = c.transformTo("string", b(E)), B = c.transformTo("string", r.utf8encode(E)), M = k.length !== L.name.length, p = B.length !== E.length, I = "", K = "", O = "", ae = L.dir, G = L.date, $ = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
1292
1299
  g && !u || ($.crc32 = d.crc32, $.compressedSize = d.compressedSize, $.uncompressedSize = d.uncompressedSize);
1293
1300
  var F = 0;
1294
- g && (F |= 8), S || !_ && !p || (F |= 2048);
1301
+ g && (F |= 8), S || !M && !p || (F |= 2048);
1295
1302
  var N = 0, j = 0;
1296
1303
  ae && (N |= 16), v === "UNIX" ? (j = 798, N |= (function(Y, Ae) {
1297
1304
  var xe = Y;
1298
1305
  return Y || (xe = Ae ? 16893 : 33204), (65535 & xe) << 16;
1299
1306
  })(L.unixPermissions, ae)) : (j = 20, N |= (function(Y) {
1300
1307
  return 63 & (Y || 0);
1301
- })(L.dosPermissions)), x = G.getUTCHours(), x <<= 6, x |= G.getUTCMinutes(), x <<= 5, x |= G.getUTCSeconds() / 2, D = G.getUTCFullYear() - 1980, D <<= 4, D |= G.getUTCMonth() + 1, D <<= 5, D |= G.getUTCDate(), _ && (K = i(1, 1) + i(o(U), 4) + k, I += "up" + i(K.length, 2) + K), p && (O = i(1, 1) + i(o(J), 4) + B, I += "uc" + i(O.length, 2) + O);
1308
+ })(L.dosPermissions)), x = G.getUTCHours(), x <<= 6, x |= G.getUTCMinutes(), x <<= 5, x |= G.getUTCSeconds() / 2, D = G.getUTCFullYear() - 1980, D <<= 4, D |= G.getUTCMonth() + 1, D <<= 5, D |= G.getUTCDate(), M && (K = i(1, 1) + i(o(U), 4) + k, I += "up" + i(K.length, 2) + K), p && (O = i(1, 1) + i(o(J), 4) + B, I += "uc" + i(O.length, 2) + O);
1302
1309
  var H = "";
1303
1310
  return H += `
1304
1311
  \0`, H += i(F, 2), H += T.magic, H += i(x, 2), H += i(D, 2), H += i($.crc32, 4), H += i($.compressedSize, 4), H += i($.uncompressedSize, 4), H += i(U.length, 2), H += i(I.length, 2), { fileRecord: f.LOCAL_FILE_HEADER + H + U + I, dirRecord: f.CENTRAL_FILE_HEADER + i(j, 2) + H + i(J.length, 2) + "\0\0\0\0" + i(N, 4) + i(y, 4) + U + I + J };
@@ -1470,14 +1477,14 @@ function Br() {
1470
1477
  } };
1471
1478
  }, {}], 15: [function(t, A, a) {
1472
1479
  function i(L, T, S) {
1473
- var U, k = c.getTypeOf(T), M = c.extend(S || {}, o);
1474
- M.date = M.date || /* @__PURE__ */ new Date(), M.compression !== null && (M.compression = M.compression.toUpperCase()), typeof M.unixPermissions == "string" && (M.unixPermissions = parseInt(M.unixPermissions, 8)), M.unixPermissions && 16384 & M.unixPermissions && (M.dir = !0), M.dosPermissions && 16 & M.dosPermissions && (M.dir = !0), M.dir && (L = v(L)), M.createFolders && (U = y(L)) && b.call(this, U, !0);
1475
- var J = k === "string" && M.binary === !1 && M.base64 === !1;
1476
- S && S.binary !== void 0 || (M.binary = !J), (T instanceof f && T.uncompressedSize === 0 || M.dir || !T || T.length === 0) && (M.base64 = !1, M.binary = !0, T = "", M.compression = "STORE", k = "string");
1480
+ var U, k = c.getTypeOf(T), E = c.extend(S || {}, o);
1481
+ E.date = E.date || /* @__PURE__ */ new Date(), E.compression !== null && (E.compression = E.compression.toUpperCase()), typeof E.unixPermissions == "string" && (E.unixPermissions = parseInt(E.unixPermissions, 8)), E.unixPermissions && 16384 & E.unixPermissions && (E.dir = !0), E.dosPermissions && 16 & E.dosPermissions && (E.dir = !0), E.dir && (L = v(L)), E.createFolders && (U = y(L)) && b.call(this, U, !0);
1482
+ var J = k === "string" && E.binary === !1 && E.base64 === !1;
1483
+ S && S.binary !== void 0 || (E.binary = !J), (T instanceof f && T.uncompressedSize === 0 || E.dir || !T || T.length === 0) && (E.base64 = !1, E.binary = !0, T = "", E.compression = "STORE", k = "string");
1477
1484
  var B = null;
1478
- B = T instanceof f || T instanceof l ? T : g.isNode && g.isStream(T) ? new u(L, T) : c.prepareContent(L, T, M.binary, M.optimizedBinaryString, M.base64);
1479
- var _ = new m(L, B, M);
1480
- this.files[L] = _;
1485
+ B = T instanceof f || T instanceof l ? T : g.isNode && g.isStream(T) ? new u(L, T) : c.prepareContent(L, T, E.binary, E.optimizedBinaryString, E.base64);
1486
+ var M = new m(L, B, E);
1487
+ this.files[L] = M;
1481
1488
  }
1482
1489
  var s = t("./utf8"), c = t("./utils"), l = t("./stream/GenericWorker"), r = t("./stream/StreamHelper"), o = t("./defaults"), f = t("./compressedObject"), m = t("./zipObject"), d = t("./generate"), g = t("./nodejsUtils"), u = t("./nodejs/NodejsStreamInputAdapter"), y = function(L) {
1483
1490
  L.slice(-1) === "/" && (L = L.substring(0, L.length - 1));
@@ -1505,16 +1512,16 @@ function Br() {
1505
1512
  if (arguments.length !== 1) return L = this.root + L, i.call(this, L, T, S), this;
1506
1513
  if (x(L)) {
1507
1514
  var U = L;
1508
- return this.filter(function(M, J) {
1509
- return !J.dir && U.test(M);
1515
+ return this.filter(function(E, J) {
1516
+ return !J.dir && U.test(E);
1510
1517
  });
1511
1518
  }
1512
1519
  var k = this.files[this.root + L];
1513
1520
  return k && !k.dir ? k : null;
1514
1521
  }, folder: function(L) {
1515
1522
  if (!L) return this;
1516
- if (x(L)) return this.filter(function(k, M) {
1517
- return M.dir && L.test(k);
1523
+ if (x(L)) return this.filter(function(k, E) {
1524
+ return E.dir && L.test(k);
1518
1525
  });
1519
1526
  var T = this.root + L, S = b.call(this, T), U = this.clone();
1520
1527
  return U.root = S.name, U;
@@ -1522,8 +1529,8 @@ function Br() {
1522
1529
  L = this.root + L;
1523
1530
  var T = this.files[L];
1524
1531
  if (T || (L.slice(-1) !== "/" && (L += "/"), T = this.files[L]), T && !T.dir) delete this.files[L];
1525
- else for (var S = this.filter(function(k, M) {
1526
- return M.name.slice(0, L.length) === L;
1532
+ else for (var S = this.filter(function(k, E) {
1533
+ return E.name.slice(0, L.length) === L;
1527
1534
  }), U = 0; U < S.length; U++) delete this.files[S[U].name];
1528
1535
  return this;
1529
1536
  }, generate: function() {
@@ -1780,7 +1787,7 @@ function Br() {
1780
1787
  return i.transformTo(S, U);
1781
1788
  }
1782
1789
  })(D, (function(S, U) {
1783
- var k, M = 0, J = null, B = 0;
1790
+ var k, E = 0, J = null, B = 0;
1784
1791
  for (k = 0; k < U.length; k++) B += U[k].length;
1785
1792
  switch (S) {
1786
1793
  case "string":
@@ -1788,7 +1795,7 @@ function Br() {
1788
1795
  case "array":
1789
1796
  return Array.prototype.concat.apply([], U);
1790
1797
  case "uint8array":
1791
- for (J = new Uint8Array(B), k = 0; k < U.length; k++) J.set(U[k], M), M += U[k].length;
1798
+ for (J = new Uint8Array(B), k = 0; k < U.length; k++) J.set(U[k], E), E += U[k].length;
1792
1799
  return J;
1793
1800
  case "nodebuffer":
1794
1801
  return Buffer.concat(U);
@@ -2334,8 +2341,8 @@ function Br() {
2334
2341
  if (!x) return this.resolve([]);
2335
2342
  for (var L = new Array(x), T = 0, S = -1, U = new this(s); ++S < x; ) k(v[S], S);
2336
2343
  return U;
2337
- function k(M, J) {
2338
- b.resolve(M).then(function(B) {
2344
+ function k(E, J) {
2345
+ b.resolve(E).then(function(B) {
2339
2346
  L[J] = B, ++T !== x || D || (D = !0, c.resolve(U, L));
2340
2347
  }, function(B) {
2341
2348
  D || (D = !0, c.reject(U, B));
@@ -2412,12 +2419,12 @@ function Br() {
2412
2419
  return v.result;
2413
2420
  }
2414
2421
  d.prototype.push = function(u, y) {
2415
- var v, b, x, D, L, T, S = this.strm, U = this.options.chunkSize, k = this.options.dictionary, M = !1;
2422
+ var v, b, x, D, L, T, S = this.strm, U = this.options.chunkSize, k = this.options.dictionary, E = !1;
2416
2423
  if (this.ended) return !1;
2417
2424
  b = y === ~~y ? y : y === !0 ? l.Z_FINISH : l.Z_NO_FLUSH, typeof u == "string" ? S.input = c.binstring2buf(u) : m.call(u) === "[object ArrayBuffer]" ? S.input = new Uint8Array(u) : S.input = u, S.next_in = 0, S.avail_in = S.input.length;
2418
2425
  do {
2419
- if (S.avail_out === 0 && (S.output = new s.Buf8(U), S.next_out = 0, S.avail_out = U), (v = i.inflate(S, l.Z_NO_FLUSH)) === l.Z_NEED_DICT && k && (T = typeof k == "string" ? c.string2buf(k) : m.call(k) === "[object ArrayBuffer]" ? new Uint8Array(k) : k, v = i.inflateSetDictionary(this.strm, T)), v === l.Z_BUF_ERROR && M === !0 && (v = l.Z_OK, M = !1), v !== l.Z_STREAM_END && v !== l.Z_OK) return this.onEnd(v), !(this.ended = !0);
2420
- S.next_out && (S.avail_out !== 0 && v !== l.Z_STREAM_END && (S.avail_in !== 0 || b !== l.Z_FINISH && b !== l.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = c.utf8border(S.output, S.next_out), D = S.next_out - x, L = c.buf2string(S.output, x), S.next_out = D, S.avail_out = U - D, D && s.arraySet(S.output, S.output, x, D, 0), this.onData(L)) : this.onData(s.shrinkBuf(S.output, S.next_out)))), S.avail_in === 0 && S.avail_out === 0 && (M = !0);
2426
+ if (S.avail_out === 0 && (S.output = new s.Buf8(U), S.next_out = 0, S.avail_out = U), (v = i.inflate(S, l.Z_NO_FLUSH)) === l.Z_NEED_DICT && k && (T = typeof k == "string" ? c.string2buf(k) : m.call(k) === "[object ArrayBuffer]" ? new Uint8Array(k) : k, v = i.inflateSetDictionary(this.strm, T)), v === l.Z_BUF_ERROR && E === !0 && (v = l.Z_OK, E = !1), v !== l.Z_STREAM_END && v !== l.Z_OK) return this.onEnd(v), !(this.ended = !0);
2427
+ S.next_out && (S.avail_out !== 0 && v !== l.Z_STREAM_END && (S.avail_in !== 0 || b !== l.Z_FINISH && b !== l.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = c.utf8border(S.output, S.next_out), D = S.next_out - x, L = c.buf2string(S.output, x), S.next_out = D, S.avail_out = U - D, D && s.arraySet(S.output, S.output, x, D, 0), this.onData(L)) : this.onData(s.shrinkBuf(S.output, S.next_out)))), S.avail_in === 0 && S.avail_out === 0 && (E = !0);
2421
2428
  } while ((0 < S.avail_in || S.avail_out === 0) && v !== l.Z_STREAM_END);
2422
2429
  return v === l.Z_STREAM_END && (b = l.Z_FINISH), b === l.Z_FINISH ? (v = i.inflateEnd(this.strm), this.onEnd(v), this.ended = !0, v === l.Z_OK) : b !== l.Z_SYNC_FLUSH || (this.onEnd(l.Z_OK), !(S.avail_out = 0));
2423
2430
  }, d.prototype.onData = function(u) {
@@ -2525,7 +2532,7 @@ function Br() {
2525
2532
  return -1 ^ s;
2526
2533
  };
2527
2534
  }, {}], 46: [function(t, A, a) {
2528
- var i, s = t("../utils/common"), c = t("./trees"), l = t("./adler32"), r = t("./crc32"), o = t("./messages"), f = 0, m = 4, d = 0, g = -2, u = -1, y = 4, v = 2, b = 8, x = 9, D = 286, L = 30, T = 19, S = 2 * D + 1, U = 15, k = 3, M = 258, J = M + k + 1, B = 42, _ = 113, p = 1, I = 2, K = 3, O = 4;
2535
+ var i, s = t("../utils/common"), c = t("./trees"), l = t("./adler32"), r = t("./crc32"), o = t("./messages"), f = 0, m = 4, d = 0, g = -2, u = -1, y = 4, v = 2, b = 8, x = 9, D = 286, L = 30, T = 19, S = 2 * D + 1, U = 15, k = 3, E = 258, J = E + k + 1, B = 42, M = 113, p = 1, I = 2, K = 3, O = 4;
2529
2536
  function ae(h, z) {
2530
2537
  return h.msg = o[z], z;
2531
2538
  }
@@ -2536,8 +2543,8 @@ function Br() {
2536
2543
  for (var z = h.length; 0 <= --z; ) h[z] = 0;
2537
2544
  }
2538
2545
  function F(h) {
2539
- var z = h.state, E = z.pending;
2540
- E > h.avail_out && (E = h.avail_out), E !== 0 && (s.arraySet(h.output, z.pending_buf, z.pending_out, E, h.next_out), h.next_out += E, z.pending_out += E, h.total_out += E, h.avail_out -= E, z.pending -= E, z.pending === 0 && (z.pending_out = 0));
2546
+ var z = h.state, _ = z.pending;
2547
+ _ > h.avail_out && (_ = h.avail_out), _ !== 0 && (s.arraySet(h.output, z.pending_buf, z.pending_out, _, h.next_out), h.next_out += _, z.pending_out += _, h.total_out += _, h.avail_out -= _, z.pending -= _, z.pending === 0 && (z.pending_out = 0));
2541
2548
  }
2542
2549
  function N(h, z) {
2543
2550
  c._tr_flush_block(h, 0 <= h.block_start ? h.block_start : -1, h.strstart - h.block_start, z), h.block_start = h.strstart, F(h.strm);
@@ -2549,15 +2556,15 @@ function Br() {
2549
2556
  h.pending_buf[h.pending++] = z >>> 8 & 255, h.pending_buf[h.pending++] = 255 & z;
2550
2557
  }
2551
2558
  function Y(h, z) {
2552
- var E, C, w = h.max_chain_length, P = h.strstart, X = h.prev_length, W = h.nice_match, R = h.strstart > h.w_size - J ? h.strstart - (h.w_size - J) : 0, V = h.window, Z = h.w_mask, q = h.prev, ee = h.strstart + M, me = V[P + X - 1], pe = V[P + X];
2559
+ var _, C, w = h.max_chain_length, P = h.strstart, X = h.prev_length, W = h.nice_match, R = h.strstart > h.w_size - J ? h.strstart - (h.w_size - J) : 0, V = h.window, Z = h.w_mask, q = h.prev, ee = h.strstart + E, me = V[P + X - 1], pe = V[P + X];
2553
2560
  h.prev_length >= h.good_match && (w >>= 2), W > h.lookahead && (W = h.lookahead);
2554
2561
  do
2555
- if (V[(E = z) + X] === pe && V[E + X - 1] === me && V[E] === V[P] && V[++E] === V[P + 1]) {
2556
- P += 2, E++;
2562
+ if (V[(_ = z) + X] === pe && V[_ + X - 1] === me && V[_] === V[P] && V[++_] === V[P + 1]) {
2563
+ P += 2, _++;
2557
2564
  do
2558
2565
  ;
2559
- while (V[++P] === V[++E] && V[++P] === V[++E] && V[++P] === V[++E] && V[++P] === V[++E] && V[++P] === V[++E] && V[++P] === V[++E] && V[++P] === V[++E] && V[++P] === V[++E] && P < ee);
2560
- if (C = M - (ee - P), P = ee - M, X < C) {
2566
+ while (V[++P] === V[++_] && V[++P] === V[++_] && V[++P] === V[++_] && V[++P] === V[++_] && V[++P] === V[++_] && V[++P] === V[++_] && V[++P] === V[++_] && V[++P] === V[++_] && P < ee);
2567
+ if (C = E - (ee - P), P = ee - E, X < C) {
2561
2568
  if (h.match_start = z, W <= (X = C)) break;
2562
2569
  me = V[P + X - 1], pe = V[P + X];
2563
2570
  }
@@ -2566,25 +2573,25 @@ function Br() {
2566
2573
  return X <= h.lookahead ? X : h.lookahead;
2567
2574
  }
2568
2575
  function Ae(h) {
2569
- var z, E, C, w, P, X, W, R, V, Z, q = h.w_size;
2576
+ var z, _, C, w, P, X, W, R, V, Z, q = h.w_size;
2570
2577
  do {
2571
2578
  if (w = h.window_size - h.lookahead - h.strstart, h.strstart >= q + (q - J)) {
2572
- for (s.arraySet(h.window, h.window, q, q, 0), h.match_start -= q, h.strstart -= q, h.block_start -= q, z = E = h.hash_size; C = h.head[--z], h.head[z] = q <= C ? C - q : 0, --E; ) ;
2573
- for (z = E = q; C = h.prev[--z], h.prev[z] = q <= C ? C - q : 0, --E; ) ;
2579
+ for (s.arraySet(h.window, h.window, q, q, 0), h.match_start -= q, h.strstart -= q, h.block_start -= q, z = _ = h.hash_size; C = h.head[--z], h.head[z] = q <= C ? C - q : 0, --_; ) ;
2580
+ for (z = _ = q; C = h.prev[--z], h.prev[z] = q <= C ? C - q : 0, --_; ) ;
2574
2581
  w += q;
2575
2582
  }
2576
2583
  if (h.strm.avail_in === 0) break;
2577
- if (X = h.strm, W = h.window, R = h.strstart + h.lookahead, V = w, Z = void 0, Z = X.avail_in, V < Z && (Z = V), E = Z === 0 ? 0 : (X.avail_in -= Z, s.arraySet(W, X.input, X.next_in, Z, R), X.state.wrap === 1 ? X.adler = l(X.adler, W, Z, R) : X.state.wrap === 2 && (X.adler = r(X.adler, W, Z, R)), X.next_in += Z, X.total_in += Z, Z), h.lookahead += E, h.lookahead + h.insert >= k) for (P = h.strstart - h.insert, h.ins_h = h.window[P], h.ins_h = (h.ins_h << h.hash_shift ^ h.window[P + 1]) & h.hash_mask; h.insert && (h.ins_h = (h.ins_h << h.hash_shift ^ h.window[P + k - 1]) & h.hash_mask, h.prev[P & h.w_mask] = h.head[h.ins_h], h.head[h.ins_h] = P, P++, h.insert--, !(h.lookahead + h.insert < k)); ) ;
2584
+ if (X = h.strm, W = h.window, R = h.strstart + h.lookahead, V = w, Z = void 0, Z = X.avail_in, V < Z && (Z = V), _ = Z === 0 ? 0 : (X.avail_in -= Z, s.arraySet(W, X.input, X.next_in, Z, R), X.state.wrap === 1 ? X.adler = l(X.adler, W, Z, R) : X.state.wrap === 2 && (X.adler = r(X.adler, W, Z, R)), X.next_in += Z, X.total_in += Z, Z), h.lookahead += _, h.lookahead + h.insert >= k) for (P = h.strstart - h.insert, h.ins_h = h.window[P], h.ins_h = (h.ins_h << h.hash_shift ^ h.window[P + 1]) & h.hash_mask; h.insert && (h.ins_h = (h.ins_h << h.hash_shift ^ h.window[P + k - 1]) & h.hash_mask, h.prev[P & h.w_mask] = h.head[h.ins_h], h.head[h.ins_h] = P, P++, h.insert--, !(h.lookahead + h.insert < k)); ) ;
2578
2585
  } while (h.lookahead < J && h.strm.avail_in !== 0);
2579
2586
  }
2580
2587
  function xe(h, z) {
2581
- for (var E, C; ; ) {
2588
+ for (var _, C; ; ) {
2582
2589
  if (h.lookahead < J) {
2583
2590
  if (Ae(h), h.lookahead < J && z === f) return p;
2584
2591
  if (h.lookahead === 0) break;
2585
2592
  }
2586
- if (E = 0, h.lookahead >= k && (h.ins_h = (h.ins_h << h.hash_shift ^ h.window[h.strstart + k - 1]) & h.hash_mask, E = h.prev[h.strstart & h.w_mask] = h.head[h.ins_h], h.head[h.ins_h] = h.strstart), E !== 0 && h.strstart - E <= h.w_size - J && (h.match_length = Y(h, E)), h.match_length >= k) if (C = c._tr_tally(h, h.strstart - h.match_start, h.match_length - k), h.lookahead -= h.match_length, h.match_length <= h.max_lazy_match && h.lookahead >= k) {
2587
- for (h.match_length--; h.strstart++, h.ins_h = (h.ins_h << h.hash_shift ^ h.window[h.strstart + k - 1]) & h.hash_mask, E = h.prev[h.strstart & h.w_mask] = h.head[h.ins_h], h.head[h.ins_h] = h.strstart, --h.match_length != 0; ) ;
2593
+ if (_ = 0, h.lookahead >= k && (h.ins_h = (h.ins_h << h.hash_shift ^ h.window[h.strstart + k - 1]) & h.hash_mask, _ = h.prev[h.strstart & h.w_mask] = h.head[h.ins_h], h.head[h.ins_h] = h.strstart), _ !== 0 && h.strstart - _ <= h.w_size - J && (h.match_length = Y(h, _)), h.match_length >= k) if (C = c._tr_tally(h, h.strstart - h.match_start, h.match_length - k), h.lookahead -= h.match_length, h.match_length <= h.max_lazy_match && h.lookahead >= k) {
2594
+ for (h.match_length--; h.strstart++, h.ins_h = (h.ins_h << h.hash_shift ^ h.window[h.strstart + k - 1]) & h.hash_mask, _ = h.prev[h.strstart & h.w_mask] = h.head[h.ins_h], h.head[h.ins_h] = h.strstart, --h.match_length != 0; ) ;
2588
2595
  h.strstart++;
2589
2596
  } else h.strstart += h.match_length, h.match_length = 0, h.ins_h = h.window[h.strstart], h.ins_h = (h.ins_h << h.hash_shift ^ h.window[h.strstart + 1]) & h.hash_mask;
2590
2597
  else C = c._tr_tally(h, 0, h.window[h.strstart]), h.lookahead--, h.strstart++;
@@ -2593,13 +2600,13 @@ function Br() {
2593
2600
  return h.insert = h.strstart < k - 1 ? h.strstart : k - 1, z === m ? (N(h, !0), h.strm.avail_out === 0 ? K : O) : h.last_lit && (N(h, !1), h.strm.avail_out === 0) ? p : I;
2594
2601
  }
2595
2602
  function de(h, z) {
2596
- for (var E, C, w; ; ) {
2603
+ for (var _, C, w; ; ) {
2597
2604
  if (h.lookahead < J) {
2598
2605
  if (Ae(h), h.lookahead < J && z === f) return p;
2599
2606
  if (h.lookahead === 0) break;
2600
2607
  }
2601
- if (E = 0, h.lookahead >= k && (h.ins_h = (h.ins_h << h.hash_shift ^ h.window[h.strstart + k - 1]) & h.hash_mask, E = h.prev[h.strstart & h.w_mask] = h.head[h.ins_h], h.head[h.ins_h] = h.strstart), h.prev_length = h.match_length, h.prev_match = h.match_start, h.match_length = k - 1, E !== 0 && h.prev_length < h.max_lazy_match && h.strstart - E <= h.w_size - J && (h.match_length = Y(h, E), h.match_length <= 5 && (h.strategy === 1 || h.match_length === k && 4096 < h.strstart - h.match_start) && (h.match_length = k - 1)), h.prev_length >= k && h.match_length <= h.prev_length) {
2602
- for (w = h.strstart + h.lookahead - k, C = c._tr_tally(h, h.strstart - 1 - h.prev_match, h.prev_length - k), h.lookahead -= h.prev_length - 1, h.prev_length -= 2; ++h.strstart <= w && (h.ins_h = (h.ins_h << h.hash_shift ^ h.window[h.strstart + k - 1]) & h.hash_mask, E = h.prev[h.strstart & h.w_mask] = h.head[h.ins_h], h.head[h.ins_h] = h.strstart), --h.prev_length != 0; ) ;
2608
+ if (_ = 0, h.lookahead >= k && (h.ins_h = (h.ins_h << h.hash_shift ^ h.window[h.strstart + k - 1]) & h.hash_mask, _ = h.prev[h.strstart & h.w_mask] = h.head[h.ins_h], h.head[h.ins_h] = h.strstart), h.prev_length = h.match_length, h.prev_match = h.match_start, h.match_length = k - 1, _ !== 0 && h.prev_length < h.max_lazy_match && h.strstart - _ <= h.w_size - J && (h.match_length = Y(h, _), h.match_length <= 5 && (h.strategy === 1 || h.match_length === k && 4096 < h.strstart - h.match_start) && (h.match_length = k - 1)), h.prev_length >= k && h.match_length <= h.prev_length) {
2609
+ for (w = h.strstart + h.lookahead - k, C = c._tr_tally(h, h.strstart - 1 - h.prev_match, h.prev_length - k), h.lookahead -= h.prev_length - 1, h.prev_length -= 2; ++h.strstart <= w && (h.ins_h = (h.ins_h << h.hash_shift ^ h.window[h.strstart + k - 1]) & h.hash_mask, _ = h.prev[h.strstart & h.w_mask] = h.head[h.ins_h], h.head[h.ins_h] = h.strstart), --h.prev_length != 0; ) ;
2603
2610
  if (h.match_available = 0, h.match_length = k - 1, h.strstart++, C && (N(h, !1), h.strm.avail_out === 0)) return p;
2604
2611
  } else if (h.match_available) {
2605
2612
  if ((C = c._tr_tally(h, 0, h.window[h.strstart - 1])) && N(h, !1), h.strstart++, h.lookahead--, h.strm.avail_out === 0) return p;
@@ -2607,39 +2614,39 @@ function Br() {
2607
2614
  }
2608
2615
  return h.match_available && (C = c._tr_tally(h, 0, h.window[h.strstart - 1]), h.match_available = 0), h.insert = h.strstart < k - 1 ? h.strstart : k - 1, z === m ? (N(h, !0), h.strm.avail_out === 0 ? K : O) : h.last_lit && (N(h, !1), h.strm.avail_out === 0) ? p : I;
2609
2616
  }
2610
- function fe(h, z, E, C, w) {
2611
- this.good_length = h, this.max_lazy = z, this.nice_length = E, this.max_chain = C, this.func = w;
2617
+ function fe(h, z, _, C, w) {
2618
+ this.good_length = h, this.max_lazy = z, this.nice_length = _, this.max_chain = C, this.func = w;
2612
2619
  }
2613
2620
  function we() {
2614
2621
  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 = b, 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 s.Buf16(2 * S), this.dyn_dtree = new s.Buf16(2 * (2 * L + 1)), this.bl_tree = new s.Buf16(2 * (2 * T + 1)), $(this.dyn_ltree), $(this.dyn_dtree), $(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new s.Buf16(U + 1), this.heap = new s.Buf16(2 * D + 1), $(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new s.Buf16(2 * D + 1), $(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;
2615
2622
  }
2616
2623
  function le(h) {
2617
2624
  var z;
2618
- return h && h.state ? (h.total_in = h.total_out = 0, h.data_type = v, (z = h.state).pending = 0, z.pending_out = 0, z.wrap < 0 && (z.wrap = -z.wrap), z.status = z.wrap ? B : _, h.adler = z.wrap === 2 ? 0 : 1, z.last_flush = f, c._tr_init(z), d) : ae(h, g);
2625
+ return h && h.state ? (h.total_in = h.total_out = 0, h.data_type = v, (z = h.state).pending = 0, z.pending_out = 0, z.wrap < 0 && (z.wrap = -z.wrap), z.status = z.wrap ? B : M, h.adler = z.wrap === 2 ? 0 : 1, z.last_flush = f, c._tr_init(z), d) : ae(h, g);
2619
2626
  }
2620
2627
  function De(h) {
2621
2628
  var z = le(h);
2622
- return z === d && (function(E) {
2623
- E.window_size = 2 * E.w_size, $(E.head), E.max_lazy_match = i[E.level].max_lazy, E.good_match = i[E.level].good_length, E.nice_match = i[E.level].nice_length, E.max_chain_length = i[E.level].max_chain, E.strstart = 0, E.block_start = 0, E.lookahead = 0, E.insert = 0, E.match_length = E.prev_length = k - 1, E.match_available = 0, E.ins_h = 0;
2629
+ return z === d && (function(_) {
2630
+ _.window_size = 2 * _.w_size, $(_.head), _.max_lazy_match = i[_.level].max_lazy, _.good_match = i[_.level].good_length, _.nice_match = i[_.level].nice_length, _.max_chain_length = i[_.level].max_chain, _.strstart = 0, _.block_start = 0, _.lookahead = 0, _.insert = 0, _.match_length = _.prev_length = k - 1, _.match_available = 0, _.ins_h = 0;
2624
2631
  })(h.state), z;
2625
2632
  }
2626
- function ue(h, z, E, C, w, P) {
2633
+ function ue(h, z, _, C, w, P) {
2627
2634
  if (!h) return g;
2628
2635
  var X = 1;
2629
- if (z === u && (z = 6), C < 0 ? (X = 0, C = -C) : 15 < C && (X = 2, C -= 16), w < 1 || x < w || E !== b || C < 8 || 15 < C || z < 0 || 9 < z || P < 0 || y < P) return ae(h, g);
2636
+ if (z === u && (z = 6), C < 0 ? (X = 0, C = -C) : 15 < C && (X = 2, C -= 16), w < 1 || x < w || _ !== b || C < 8 || 15 < C || z < 0 || 9 < z || P < 0 || y < P) return ae(h, g);
2630
2637
  C === 8 && (C = 9);
2631
2638
  var W = new we();
2632
- return (h.state = W).strm = h, W.wrap = X, W.gzhead = null, W.w_bits = C, W.w_size = 1 << W.w_bits, W.w_mask = W.w_size - 1, W.hash_bits = w + 7, W.hash_size = 1 << W.hash_bits, W.hash_mask = W.hash_size - 1, W.hash_shift = ~~((W.hash_bits + k - 1) / k), W.window = new s.Buf8(2 * W.w_size), W.head = new s.Buf16(W.hash_size), W.prev = new s.Buf16(W.w_size), W.lit_bufsize = 1 << w + 6, W.pending_buf_size = 4 * W.lit_bufsize, W.pending_buf = new s.Buf8(W.pending_buf_size), W.d_buf = 1 * W.lit_bufsize, W.l_buf = 3 * W.lit_bufsize, W.level = z, W.strategy = P, W.method = E, De(h);
2639
+ return (h.state = W).strm = h, W.wrap = X, W.gzhead = null, W.w_bits = C, W.w_size = 1 << W.w_bits, W.w_mask = W.w_size - 1, W.hash_bits = w + 7, W.hash_size = 1 << W.hash_bits, W.hash_mask = W.hash_size - 1, W.hash_shift = ~~((W.hash_bits + k - 1) / k), W.window = new s.Buf8(2 * W.w_size), W.head = new s.Buf16(W.hash_size), W.prev = new s.Buf16(W.w_size), W.lit_bufsize = 1 << w + 6, W.pending_buf_size = 4 * W.lit_bufsize, W.pending_buf = new s.Buf8(W.pending_buf_size), W.d_buf = 1 * W.lit_bufsize, W.l_buf = 3 * W.lit_bufsize, W.level = z, W.strategy = P, W.method = _, De(h);
2633
2640
  }
2634
2641
  i = [new fe(0, 0, 0, 0, function(h, z) {
2635
- var E = 65535;
2636
- for (E > h.pending_buf_size - 5 && (E = h.pending_buf_size - 5); ; ) {
2642
+ var _ = 65535;
2643
+ for (_ > h.pending_buf_size - 5 && (_ = h.pending_buf_size - 5); ; ) {
2637
2644
  if (h.lookahead <= 1) {
2638
2645
  if (Ae(h), h.lookahead === 0 && z === f) return p;
2639
2646
  if (h.lookahead === 0) break;
2640
2647
  }
2641
2648
  h.strstart += h.lookahead, h.lookahead = 0;
2642
- var C = h.block_start + E;
2649
+ var C = h.block_start + _;
2643
2650
  if ((h.strstart === 0 || h.strstart >= C) && (h.lookahead = h.strstart - C, h.strstart = C, N(h, !1), h.strm.avail_out === 0) || h.strstart - h.block_start >= h.w_size - J && (N(h, !1), h.strm.avail_out === 0)) return p;
2644
2651
  }
2645
2652
  return h.insert = 0, z === m ? (N(h, !0), h.strm.avail_out === 0 ? K : O) : (h.strstart > h.block_start && (N(h, !1), h.strm.avail_out), p);
@@ -2648,13 +2655,13 @@ function Br() {
2648
2655
  }, a.deflateInit2 = ue, a.deflateReset = De, a.deflateResetKeep = le, a.deflateSetHeader = function(h, z) {
2649
2656
  return h && h.state ? h.state.wrap !== 2 ? g : (h.state.gzhead = z, d) : g;
2650
2657
  }, a.deflate = function(h, z) {
2651
- var E, C, w, P;
2658
+ var _, C, w, P;
2652
2659
  if (!h || !h.state || 5 < z || z < 0) return h ? ae(h, g) : g;
2653
2660
  if (C = h.state, !h.output || !h.input && h.avail_in !== 0 || C.status === 666 && z !== m) return ae(h, h.avail_out === 0 ? -5 : g);
2654
- if (C.strm = h, E = C.last_flush, C.last_flush = z, C.status === B) if (C.wrap === 2) h.adler = 0, j(C, 31), j(C, 139), j(C, 8), C.gzhead ? (j(C, (C.gzhead.text ? 1 : 0) + (C.gzhead.hcrc ? 2 : 0) + (C.gzhead.extra ? 4 : 0) + (C.gzhead.name ? 8 : 0) + (C.gzhead.comment ? 16 : 0)), j(C, 255 & C.gzhead.time), j(C, C.gzhead.time >> 8 & 255), j(C, C.gzhead.time >> 16 & 255), j(C, C.gzhead.time >> 24 & 255), j(C, C.level === 9 ? 2 : 2 <= C.strategy || C.level < 2 ? 4 : 0), j(C, 255 & C.gzhead.os), C.gzhead.extra && C.gzhead.extra.length && (j(C, 255 & C.gzhead.extra.length), j(C, C.gzhead.extra.length >> 8 & 255)), C.gzhead.hcrc && (h.adler = r(h.adler, C.pending_buf, C.pending, 0)), C.gzindex = 0, C.status = 69) : (j(C, 0), j(C, 0), j(C, 0), j(C, 0), j(C, 0), j(C, C.level === 9 ? 2 : 2 <= C.strategy || C.level < 2 ? 4 : 0), j(C, 3), C.status = _);
2661
+ if (C.strm = h, _ = C.last_flush, C.last_flush = z, C.status === B) if (C.wrap === 2) h.adler = 0, j(C, 31), j(C, 139), j(C, 8), C.gzhead ? (j(C, (C.gzhead.text ? 1 : 0) + (C.gzhead.hcrc ? 2 : 0) + (C.gzhead.extra ? 4 : 0) + (C.gzhead.name ? 8 : 0) + (C.gzhead.comment ? 16 : 0)), j(C, 255 & C.gzhead.time), j(C, C.gzhead.time >> 8 & 255), j(C, C.gzhead.time >> 16 & 255), j(C, C.gzhead.time >> 24 & 255), j(C, C.level === 9 ? 2 : 2 <= C.strategy || C.level < 2 ? 4 : 0), j(C, 255 & C.gzhead.os), C.gzhead.extra && C.gzhead.extra.length && (j(C, 255 & C.gzhead.extra.length), j(C, C.gzhead.extra.length >> 8 & 255)), C.gzhead.hcrc && (h.adler = r(h.adler, C.pending_buf, C.pending, 0)), C.gzindex = 0, C.status = 69) : (j(C, 0), j(C, 0), j(C, 0), j(C, 0), j(C, 0), j(C, C.level === 9 ? 2 : 2 <= C.strategy || C.level < 2 ? 4 : 0), j(C, 3), C.status = M);
2655
2662
  else {
2656
2663
  var X = b + (C.w_bits - 8 << 4) << 8;
2657
- X |= (2 <= C.strategy || C.level < 2 ? 0 : C.level < 6 ? 1 : C.level === 6 ? 2 : 3) << 6, C.strstart !== 0 && (X |= 32), X += 31 - X % 31, C.status = _, H(C, X), C.strstart !== 0 && (H(C, h.adler >>> 16), H(C, 65535 & h.adler)), h.adler = 1;
2664
+ X |= (2 <= C.strategy || C.level < 2 ? 0 : C.level < 6 ? 1 : C.level === 6 ? 2 : 3) << 6, C.strstart !== 0 && (X |= 32), X += 31 - X % 31, C.status = M, H(C, X), C.strstart !== 0 && (H(C, h.adler >>> 16), H(C, 65535 & h.adler)), h.adler = 1;
2658
2665
  }
2659
2666
  if (C.status === 69) if (C.gzhead.extra) {
2660
2667
  for (w = C.pending; C.gzindex < (65535 & C.gzhead.extra.length) && (C.pending !== C.pending_buf_size || (C.gzhead.hcrc && C.pending > w && (h.adler = r(h.adler, C.pending_buf, C.pending - w, w)), F(h), w = C.pending, C.pending !== C.pending_buf_size)); ) j(C, 255 & C.gzhead.extra[C.gzindex]), C.gzindex++;
@@ -2682,9 +2689,9 @@ function Br() {
2682
2689
  } while (P !== 0);
2683
2690
  C.gzhead.hcrc && C.pending > w && (h.adler = r(h.adler, C.pending_buf, C.pending - w, w)), P === 0 && (C.status = 103);
2684
2691
  } else C.status = 103;
2685
- if (C.status === 103 && (C.gzhead.hcrc ? (C.pending + 2 > C.pending_buf_size && F(h), C.pending + 2 <= C.pending_buf_size && (j(C, 255 & h.adler), j(C, h.adler >> 8 & 255), h.adler = 0, C.status = _)) : C.status = _), C.pending !== 0) {
2692
+ if (C.status === 103 && (C.gzhead.hcrc ? (C.pending + 2 > C.pending_buf_size && F(h), C.pending + 2 <= C.pending_buf_size && (j(C, 255 & h.adler), j(C, h.adler >> 8 & 255), h.adler = 0, C.status = M)) : C.status = M), C.pending !== 0) {
2686
2693
  if (F(h), h.avail_out === 0) return C.last_flush = -1, d;
2687
- } else if (h.avail_in === 0 && G(z) <= G(E) && z !== m) return ae(h, -5);
2694
+ } else if (h.avail_in === 0 && G(z) <= G(_) && z !== m) return ae(h, -5);
2688
2695
  if (C.status === 666 && h.avail_in !== 0) return ae(h, -5);
2689
2696
  if (h.avail_in !== 0 || C.lookahead !== 0 || z !== f && C.status !== 666) {
2690
2697
  var W = C.strategy === 2 ? (function(R, V) {
@@ -2698,16 +2705,16 @@ function Br() {
2698
2705
  return R.insert = 0, V === m ? (N(R, !0), R.strm.avail_out === 0 ? K : O) : R.last_lit && (N(R, !1), R.strm.avail_out === 0) ? p : I;
2699
2706
  })(C, z) : C.strategy === 3 ? (function(R, V) {
2700
2707
  for (var Z, q, ee, me, pe = R.window; ; ) {
2701
- if (R.lookahead <= M) {
2702
- if (Ae(R), R.lookahead <= M && V === f) return p;
2708
+ if (R.lookahead <= E) {
2709
+ if (Ae(R), R.lookahead <= E && V === f) return p;
2703
2710
  if (R.lookahead === 0) break;
2704
2711
  }
2705
2712
  if (R.match_length = 0, R.lookahead >= k && 0 < R.strstart && (q = pe[ee = R.strstart - 1]) === pe[++ee] && q === pe[++ee] && q === pe[++ee]) {
2706
- me = R.strstart + M;
2713
+ me = R.strstart + E;
2707
2714
  do
2708
2715
  ;
2709
2716
  while (q === pe[++ee] && q === pe[++ee] && q === pe[++ee] && q === pe[++ee] && q === pe[++ee] && q === pe[++ee] && q === pe[++ee] && q === pe[++ee] && ee < me);
2710
- R.match_length = M - (me - ee), R.match_length > R.lookahead && (R.match_length = R.lookahead);
2717
+ R.match_length = E - (me - ee), R.match_length > R.lookahead && (R.match_length = R.lookahead);
2711
2718
  }
2712
2719
  if (R.match_length >= k ? (Z = c._tr_tally(R, 1, R.match_length - k), R.lookahead -= R.match_length, R.strstart += R.match_length, R.match_length = 0) : (Z = c._tr_tally(R, 0, R.window[R.strstart]), R.lookahead--, R.strstart++), Z && (N(R, !1), R.strm.avail_out === 0)) return p;
2713
2720
  }
@@ -2719,15 +2726,15 @@ function Br() {
2719
2726
  return z !== m ? d : C.wrap <= 0 ? 1 : (C.wrap === 2 ? (j(C, 255 & h.adler), j(C, h.adler >> 8 & 255), j(C, h.adler >> 16 & 255), j(C, h.adler >> 24 & 255), j(C, 255 & h.total_in), j(C, h.total_in >> 8 & 255), j(C, h.total_in >> 16 & 255), j(C, h.total_in >> 24 & 255)) : (H(C, h.adler >>> 16), H(C, 65535 & h.adler)), F(h), 0 < C.wrap && (C.wrap = -C.wrap), C.pending !== 0 ? d : 1);
2720
2727
  }, a.deflateEnd = function(h) {
2721
2728
  var z;
2722
- return h && h.state ? (z = h.state.status) !== B && z !== 69 && z !== 73 && z !== 91 && z !== 103 && z !== _ && z !== 666 ? ae(h, g) : (h.state = null, z === _ ? ae(h, -3) : d) : g;
2729
+ return h && h.state ? (z = h.state.status) !== B && z !== 69 && z !== 73 && z !== 91 && z !== 103 && z !== M && z !== 666 ? ae(h, g) : (h.state = null, z === M ? ae(h, -3) : d) : g;
2723
2730
  }, a.deflateSetDictionary = function(h, z) {
2724
- var E, C, w, P, X, W, R, V, Z = z.length;
2725
- if (!h || !h.state || (P = (E = h.state).wrap) === 2 || P === 1 && E.status !== B || E.lookahead) return g;
2726
- for (P === 1 && (h.adler = l(h.adler, z, Z, 0)), E.wrap = 0, Z >= E.w_size && (P === 0 && ($(E.head), E.strstart = 0, E.block_start = 0, E.insert = 0), V = new s.Buf8(E.w_size), s.arraySet(V, z, Z - E.w_size, E.w_size, 0), z = V, Z = E.w_size), X = h.avail_in, W = h.next_in, R = h.input, h.avail_in = Z, h.next_in = 0, h.input = z, Ae(E); E.lookahead >= k; ) {
2727
- for (C = E.strstart, w = E.lookahead - (k - 1); E.ins_h = (E.ins_h << E.hash_shift ^ E.window[C + k - 1]) & E.hash_mask, E.prev[C & E.w_mask] = E.head[E.ins_h], E.head[E.ins_h] = C, C++, --w; ) ;
2728
- E.strstart = C, E.lookahead = k - 1, Ae(E);
2731
+ var _, C, w, P, X, W, R, V, Z = z.length;
2732
+ if (!h || !h.state || (P = (_ = h.state).wrap) === 2 || P === 1 && _.status !== B || _.lookahead) return g;
2733
+ for (P === 1 && (h.adler = l(h.adler, z, Z, 0)), _.wrap = 0, Z >= _.w_size && (P === 0 && ($(_.head), _.strstart = 0, _.block_start = 0, _.insert = 0), V = new s.Buf8(_.w_size), s.arraySet(V, z, Z - _.w_size, _.w_size, 0), z = V, Z = _.w_size), X = h.avail_in, W = h.next_in, R = h.input, h.avail_in = Z, h.next_in = 0, h.input = z, Ae(_); _.lookahead >= k; ) {
2734
+ for (C = _.strstart, w = _.lookahead - (k - 1); _.ins_h = (_.ins_h << _.hash_shift ^ _.window[C + k - 1]) & _.hash_mask, _.prev[C & _.w_mask] = _.head[_.ins_h], _.head[_.ins_h] = C, C++, --w; ) ;
2735
+ _.strstart = C, _.lookahead = k - 1, Ae(_);
2729
2736
  }
2730
- return E.strstart += E.lookahead, E.block_start = E.strstart, E.insert = E.lookahead, E.lookahead = 0, E.match_length = E.prev_length = k - 1, E.match_available = 0, h.next_in = W, h.input = R, h.avail_in = X, E.wrap = P, d;
2737
+ return _.strstart += _.lookahead, _.block_start = _.strstart, _.insert = _.lookahead, _.lookahead = 0, _.match_length = _.prev_length = k - 1, _.match_available = 0, h.next_in = W, h.input = R, h.avail_in = X, _.wrap = P, d;
2731
2738
  }, a.deflateInfo = "pako deflate (from Nodeca project)";
2732
2739
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(t, A, a) {
2733
2740
  A.exports = function() {
@@ -2735,7 +2742,7 @@ function Br() {
2735
2742
  };
2736
2743
  }, {}], 48: [function(t, A, a) {
2737
2744
  A.exports = function(i, s) {
2738
- var c, l, r, o, f, m, d, g, u, y, v, b, x, D, L, T, S, U, k, M, J, B, _, p, I;
2745
+ var c, l, r, o, f, m, d, g, u, y, v, b, x, D, L, T, S, U, k, E, J, B, M, p, I;
2739
2746
  c = i.state, l = i.next_in, p = i.input, r = l + (i.avail_in - 5), o = i.next_out, I = i.output, f = o - (s - i.avail_out), m = o + (i.avail_out - 257), d = c.dmax, g = c.wsize, u = c.whave, y = c.wnext, v = c.window, b = c.hold, x = c.bits, D = c.lencode, L = c.distcode, T = (1 << c.lenbits) - 1, S = (1 << c.distbits) - 1;
2740
2747
  e: do {
2741
2748
  x < 15 && (b += p[l++] << x, x += 8, b += p[l++] << x, x += 8), U = D[b & T];
@@ -2754,7 +2761,7 @@ function Br() {
2754
2761
  i.msg = "invalid literal/length code", c.mode = 30;
2755
2762
  break e;
2756
2763
  }
2757
- M = 65535 & U, (k &= 15) && (x < k && (b += p[l++] << x, x += 8), M += b & (1 << k) - 1, b >>>= k, x -= k), x < 15 && (b += p[l++] << x, x += 8, b += p[l++] << x, x += 8), U = L[b & S];
2764
+ E = 65535 & U, (k &= 15) && (x < k && (b += p[l++] << x, x += 8), E += b & (1 << k) - 1, b >>>= k, x -= k), x < 15 && (b += p[l++] << x, x += 8, b += p[l++] << x, x += 8), U = L[b & S];
2758
2765
  a: for (; ; ) {
2759
2766
  if (b >>>= k = U >>> 24, x -= k, !(16 & (k = U >>> 16 & 255))) {
2760
2767
  if ((64 & k) == 0) {
@@ -2773,28 +2780,28 @@ function Br() {
2773
2780
  i.msg = "invalid distance too far back", c.mode = 30;
2774
2781
  break e;
2775
2782
  }
2776
- if (_ = v, (B = 0) === y) {
2777
- if (B += g - k, k < M) {
2778
- for (M -= k; I[o++] = v[B++], --k; ) ;
2779
- B = o - J, _ = I;
2783
+ if (M = v, (B = 0) === y) {
2784
+ if (B += g - k, k < E) {
2785
+ for (E -= k; I[o++] = v[B++], --k; ) ;
2786
+ B = o - J, M = I;
2780
2787
  }
2781
2788
  } else if (y < k) {
2782
- if (B += g + y - k, (k -= y) < M) {
2783
- for (M -= k; I[o++] = v[B++], --k; ) ;
2784
- if (B = 0, y < M) {
2785
- for (M -= k = y; I[o++] = v[B++], --k; ) ;
2786
- B = o - J, _ = I;
2789
+ if (B += g + y - k, (k -= y) < E) {
2790
+ for (E -= k; I[o++] = v[B++], --k; ) ;
2791
+ if (B = 0, y < E) {
2792
+ for (E -= k = y; I[o++] = v[B++], --k; ) ;
2793
+ B = o - J, M = I;
2787
2794
  }
2788
2795
  }
2789
- } else if (B += y - k, k < M) {
2790
- for (M -= k; I[o++] = v[B++], --k; ) ;
2791
- B = o - J, _ = I;
2796
+ } else if (B += y - k, k < E) {
2797
+ for (E -= k; I[o++] = v[B++], --k; ) ;
2798
+ B = o - J, M = I;
2792
2799
  }
2793
- for (; 2 < M; ) I[o++] = _[B++], I[o++] = _[B++], I[o++] = _[B++], M -= 3;
2794
- M && (I[o++] = _[B++], 1 < M && (I[o++] = _[B++]));
2800
+ for (; 2 < E; ) I[o++] = M[B++], I[o++] = M[B++], I[o++] = M[B++], E -= 3;
2801
+ E && (I[o++] = M[B++], 1 < E && (I[o++] = M[B++]));
2795
2802
  } else {
2796
- for (B = o - J; I[o++] = I[B++], I[o++] = I[B++], I[o++] = I[B++], 2 < (M -= 3); ) ;
2797
- M && (I[o++] = I[B++], 1 < M && (I[o++] = I[B++]));
2803
+ for (B = o - J; I[o++] = I[B++], I[o++] = I[B++], I[o++] = I[B++], 2 < (E -= 3); ) ;
2804
+ E && (I[o++] = I[B++], 1 < E && (I[o++] = I[B++]));
2798
2805
  }
2799
2806
  break;
2800
2807
  }
@@ -2802,7 +2809,7 @@ function Br() {
2802
2809
  break;
2803
2810
  }
2804
2811
  } while (l < r && o < m);
2805
- l -= M = x >> 3, b &= (1 << (x -= M << 3)) - 1, i.next_in = l, i.next_out = o, i.avail_in = l < r ? r - l + 5 : 5 - (l - r), i.avail_out = o < m ? m - o + 257 : 257 - (o - m), c.hold = b, c.bits = x;
2812
+ l -= E = x >> 3, b &= (1 << (x -= E << 3)) - 1, i.next_in = l, i.next_out = o, i.avail_in = l < r ? r - l + 5 : 5 - (l - r), i.avail_out = o < m ? m - o + 257 : 257 - (o - m), c.hold = b, c.bits = x;
2806
2813
  };
2807
2814
  }, {}], 49: [function(t, A, a) {
2808
2815
  var i = t("../utils/common"), s = t("./adler32"), c = t("./crc32"), l = t("./inffast"), r = t("./inftrees"), o = 1, f = 2, m = 0, d = -2, g = 1, u = 852, y = 592;
@@ -2813,42 +2820,42 @@ function Br() {
2813
2820
  this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new i.Buf16(320), this.work = new i.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
2814
2821
  }
2815
2822
  function x(B) {
2816
- var _;
2817
- return B && B.state ? (_ = B.state, B.total_in = B.total_out = _.total = 0, B.msg = "", _.wrap && (B.adler = 1 & _.wrap), _.mode = g, _.last = 0, _.havedict = 0, _.dmax = 32768, _.head = null, _.hold = 0, _.bits = 0, _.lencode = _.lendyn = new i.Buf32(u), _.distcode = _.distdyn = new i.Buf32(y), _.sane = 1, _.back = -1, m) : d;
2823
+ var M;
2824
+ return B && B.state ? (M = B.state, B.total_in = B.total_out = M.total = 0, B.msg = "", M.wrap && (B.adler = 1 & M.wrap), M.mode = g, M.last = 0, M.havedict = 0, M.dmax = 32768, M.head = null, M.hold = 0, M.bits = 0, M.lencode = M.lendyn = new i.Buf32(u), M.distcode = M.distdyn = new i.Buf32(y), M.sane = 1, M.back = -1, m) : d;
2818
2825
  }
2819
2826
  function D(B) {
2820
- var _;
2821
- return B && B.state ? ((_ = B.state).wsize = 0, _.whave = 0, _.wnext = 0, x(B)) : d;
2827
+ var M;
2828
+ return B && B.state ? ((M = B.state).wsize = 0, M.whave = 0, M.wnext = 0, x(B)) : d;
2822
2829
  }
2823
- function L(B, _) {
2830
+ function L(B, M) {
2824
2831
  var p, I;
2825
- return B && B.state ? (I = B.state, _ < 0 ? (p = 0, _ = -_) : (p = 1 + (_ >> 4), _ < 48 && (_ &= 15)), _ && (_ < 8 || 15 < _) ? d : (I.window !== null && I.wbits !== _ && (I.window = null), I.wrap = p, I.wbits = _, D(B))) : d;
2832
+ return B && B.state ? (I = B.state, M < 0 ? (p = 0, M = -M) : (p = 1 + (M >> 4), M < 48 && (M &= 15)), M && (M < 8 || 15 < M) ? d : (I.window !== null && I.wbits !== M && (I.window = null), I.wrap = p, I.wbits = M, D(B))) : d;
2826
2833
  }
2827
- function T(B, _) {
2834
+ function T(B, M) {
2828
2835
  var p, I;
2829
- return B ? (I = new b(), (B.state = I).window = null, (p = L(B, _)) !== m && (B.state = null), p) : d;
2836
+ return B ? (I = new b(), (B.state = I).window = null, (p = L(B, M)) !== m && (B.state = null), p) : d;
2830
2837
  }
2831
2838
  var S, U, k = !0;
2832
- function M(B) {
2839
+ function E(B) {
2833
2840
  if (k) {
2834
- var _;
2835
- for (S = new i.Buf32(512), U = new i.Buf32(32), _ = 0; _ < 144; ) B.lens[_++] = 8;
2836
- for (; _ < 256; ) B.lens[_++] = 9;
2837
- for (; _ < 280; ) B.lens[_++] = 7;
2838
- for (; _ < 288; ) B.lens[_++] = 8;
2839
- for (r(o, B.lens, 0, 288, S, 0, B.work, { bits: 9 }), _ = 0; _ < 32; ) B.lens[_++] = 5;
2841
+ var M;
2842
+ for (S = new i.Buf32(512), U = new i.Buf32(32), M = 0; M < 144; ) B.lens[M++] = 8;
2843
+ for (; M < 256; ) B.lens[M++] = 9;
2844
+ for (; M < 280; ) B.lens[M++] = 7;
2845
+ for (; M < 288; ) B.lens[M++] = 8;
2846
+ for (r(o, B.lens, 0, 288, S, 0, B.work, { bits: 9 }), M = 0; M < 32; ) B.lens[M++] = 5;
2840
2847
  r(f, B.lens, 0, 32, U, 0, B.work, { bits: 5 }), k = !1;
2841
2848
  }
2842
2849
  B.lencode = S, B.lenbits = 9, B.distcode = U, B.distbits = 5;
2843
2850
  }
2844
- function J(B, _, p, I) {
2851
+ function J(B, M, p, I) {
2845
2852
  var K, O = B.state;
2846
- return O.window === null && (O.wsize = 1 << O.wbits, O.wnext = 0, O.whave = 0, O.window = new i.Buf8(O.wsize)), I >= O.wsize ? (i.arraySet(O.window, _, p - O.wsize, O.wsize, 0), O.wnext = 0, O.whave = O.wsize) : (I < (K = O.wsize - O.wnext) && (K = I), i.arraySet(O.window, _, p - I, K, O.wnext), (I -= K) ? (i.arraySet(O.window, _, p - I, I, 0), O.wnext = I, O.whave = O.wsize) : (O.wnext += K, O.wnext === O.wsize && (O.wnext = 0), O.whave < O.wsize && (O.whave += K))), 0;
2853
+ return O.window === null && (O.wsize = 1 << O.wbits, O.wnext = 0, O.whave = 0, O.window = new i.Buf8(O.wsize)), I >= O.wsize ? (i.arraySet(O.window, M, p - O.wsize, O.wsize, 0), O.wnext = 0, O.whave = O.wsize) : (I < (K = O.wsize - O.wnext) && (K = I), i.arraySet(O.window, M, p - I, K, O.wnext), (I -= K) ? (i.arraySet(O.window, M, p - I, I, 0), O.wnext = I, O.whave = O.wsize) : (O.wnext += K, O.wnext === O.wsize && (O.wnext = 0), O.whave < O.wsize && (O.whave += K))), 0;
2847
2854
  }
2848
2855
  a.inflateReset = D, a.inflateReset2 = L, a.inflateResetKeep = x, a.inflateInit = function(B) {
2849
2856
  return T(B, 15);
2850
- }, a.inflateInit2 = T, a.inflate = function(B, _) {
2851
- var p, I, K, O, ae, G, $, F, N, j, H, Y, Ae, xe, de, fe, we, le, De, ue, h, z, E, C, w = 0, P = new i.Buf8(4), X = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
2857
+ }, a.inflateInit2 = T, a.inflate = function(B, M) {
2858
+ var p, I, K, O, ae, G, $, F, N, j, H, Y, Ae, xe, de, fe, we, le, De, ue, h, z, _, C, w = 0, P = new i.Buf8(4), X = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
2852
2859
  if (!B || !B.state || !B.output || !B.input && B.avail_in !== 0) return d;
2853
2860
  (p = B.state).mode === 12 && (p.mode = 13), ae = B.next_out, K = B.output, $ = B.avail_out, O = B.next_in, I = B.input, G = B.avail_in, F = p.hold, N = p.bits, j = G, H = $, z = m;
2854
2861
  e: for (; ; ) switch (p.mode) {
@@ -2956,7 +2963,7 @@ function Br() {
2956
2963
  if (p.havedict === 0) return B.next_out = ae, B.avail_out = $, B.next_in = O, B.avail_in = G, p.hold = F, p.bits = N, 2;
2957
2964
  B.adler = p.check = 1, p.mode = 12;
2958
2965
  case 12:
2959
- if (_ === 5 || _ === 6) break e;
2966
+ if (M === 5 || M === 6) break e;
2960
2967
  case 13:
2961
2968
  if (p.last) {
2962
2969
  F >>>= 7 & N, N -= 7 & N, p.mode = 27;
@@ -2971,7 +2978,7 @@ function Br() {
2971
2978
  p.mode = 14;
2972
2979
  break;
2973
2980
  case 1:
2974
- if (M(p), p.mode = 20, _ !== 6) break;
2981
+ if (E(p), p.mode = 20, M !== 6) break;
2975
2982
  F >>>= 2, N -= 2;
2976
2983
  break e;
2977
2984
  case 2:
@@ -2991,7 +2998,7 @@ function Br() {
2991
2998
  B.msg = "invalid stored block lengths", p.mode = 30;
2992
2999
  break;
2993
3000
  }
2994
- if (p.length = 65535 & F, N = F = 0, p.mode = 15, _ === 6) break e;
3001
+ if (p.length = 65535 & F, N = F = 0, p.mode = 15, M === 6) break e;
2995
3002
  case 15:
2996
3003
  p.mode = 16;
2997
3004
  case 16:
@@ -3021,7 +3028,7 @@ function Br() {
3021
3028
  p.lens[X[p.have++]] = 7 & F, F >>>= 3, N -= 3;
3022
3029
  }
3023
3030
  for (; p.have < 19; ) p.lens[X[p.have++]] = 0;
3024
- if (p.lencode = p.lendyn, p.lenbits = 7, E = { bits: p.lenbits }, z = r(0, p.lens, 0, 19, p.lencode, 0, p.work, E), p.lenbits = E.bits, z) {
3031
+ if (p.lencode = p.lendyn, p.lenbits = 7, _ = { bits: p.lenbits }, z = r(0, p.lens, 0, 19, p.lencode, 0, p.work, _), p.lenbits = _.bits, z) {
3025
3032
  B.msg = "invalid code lengths set", p.mode = 30;
3026
3033
  break;
3027
3034
  }
@@ -3069,15 +3076,15 @@ function Br() {
3069
3076
  B.msg = "invalid code -- missing end-of-block", p.mode = 30;
3070
3077
  break;
3071
3078
  }
3072
- if (p.lenbits = 9, E = { bits: p.lenbits }, z = r(o, p.lens, 0, p.nlen, p.lencode, 0, p.work, E), p.lenbits = E.bits, z) {
3079
+ if (p.lenbits = 9, _ = { bits: p.lenbits }, z = r(o, p.lens, 0, p.nlen, p.lencode, 0, p.work, _), p.lenbits = _.bits, z) {
3073
3080
  B.msg = "invalid literal/lengths set", p.mode = 30;
3074
3081
  break;
3075
3082
  }
3076
- if (p.distbits = 6, p.distcode = p.distdyn, E = { bits: p.distbits }, z = r(f, p.lens, p.nlen, p.ndist, p.distcode, 0, p.work, E), p.distbits = E.bits, z) {
3083
+ if (p.distbits = 6, p.distcode = p.distdyn, _ = { bits: p.distbits }, z = r(f, p.lens, p.nlen, p.ndist, p.distcode, 0, p.work, _), p.distbits = _.bits, z) {
3077
3084
  B.msg = "invalid distances set", p.mode = 30;
3078
3085
  break;
3079
3086
  }
3080
- if (p.mode = 20, _ === 6) break e;
3087
+ if (p.mode = 20, M === 6) break e;
3081
3088
  case 20:
3082
3089
  p.mode = 21;
3083
3090
  case 21:
@@ -3202,38 +3209,38 @@ function Br() {
3202
3209
  default:
3203
3210
  return d;
3204
3211
  }
3205
- return B.next_out = ae, B.avail_out = $, B.next_in = O, B.avail_in = G, p.hold = F, p.bits = N, (p.wsize || H !== B.avail_out && p.mode < 30 && (p.mode < 27 || _ !== 4)) && J(B, B.output, B.next_out, H - B.avail_out) ? (p.mode = 31, -4) : (j -= B.avail_in, H -= B.avail_out, B.total_in += j, B.total_out += H, p.total += H, p.wrap && H && (B.adler = p.check = p.flags ? c(p.check, K, H, B.next_out - H) : s(p.check, K, H, B.next_out - H)), B.data_type = p.bits + (p.last ? 64 : 0) + (p.mode === 12 ? 128 : 0) + (p.mode === 20 || p.mode === 15 ? 256 : 0), (j == 0 && H === 0 || _ === 4) && z === m && (z = -5), z);
3212
+ return B.next_out = ae, B.avail_out = $, B.next_in = O, B.avail_in = G, p.hold = F, p.bits = N, (p.wsize || H !== B.avail_out && p.mode < 30 && (p.mode < 27 || M !== 4)) && J(B, B.output, B.next_out, H - B.avail_out) ? (p.mode = 31, -4) : (j -= B.avail_in, H -= B.avail_out, B.total_in += j, B.total_out += H, p.total += H, p.wrap && H && (B.adler = p.check = p.flags ? c(p.check, K, H, B.next_out - H) : s(p.check, K, H, B.next_out - H)), B.data_type = p.bits + (p.last ? 64 : 0) + (p.mode === 12 ? 128 : 0) + (p.mode === 20 || p.mode === 15 ? 256 : 0), (j == 0 && H === 0 || M === 4) && z === m && (z = -5), z);
3206
3213
  }, a.inflateEnd = function(B) {
3207
3214
  if (!B || !B.state) return d;
3208
- var _ = B.state;
3209
- return _.window && (_.window = null), B.state = null, m;
3210
- }, a.inflateGetHeader = function(B, _) {
3215
+ var M = B.state;
3216
+ return M.window && (M.window = null), B.state = null, m;
3217
+ }, a.inflateGetHeader = function(B, M) {
3211
3218
  var p;
3212
- return B && B.state ? (2 & (p = B.state).wrap) == 0 ? d : ((p.head = _).done = !1, m) : d;
3213
- }, a.inflateSetDictionary = function(B, _) {
3214
- var p, I = _.length;
3215
- return B && B.state ? (p = B.state).wrap !== 0 && p.mode !== 11 ? d : p.mode === 11 && s(1, _, I, 0) !== p.check ? -3 : J(B, _, I, I) ? (p.mode = 31, -4) : (p.havedict = 1, m) : d;
3219
+ return B && B.state ? (2 & (p = B.state).wrap) == 0 ? d : ((p.head = M).done = !1, m) : d;
3220
+ }, a.inflateSetDictionary = function(B, M) {
3221
+ var p, I = M.length;
3222
+ return B && B.state ? (p = B.state).wrap !== 0 && p.mode !== 11 ? d : p.mode === 11 && s(1, M, I, 0) !== p.check ? -3 : J(B, M, I, I) ? (p.mode = 31, -4) : (p.havedict = 1, m) : d;
3216
3223
  }, a.inflateInfo = "pako inflate (from Nodeca project)";
3217
3224
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(t, A, a) {
3218
3225
  var i = t("../utils/common"), s = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], c = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], l = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], r = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
3219
3226
  A.exports = function(o, f, m, d, g, u, y, v) {
3220
- var b, x, D, L, T, S, U, k, M, J = v.bits, B = 0, _ = 0, p = 0, I = 0, K = 0, O = 0, ae = 0, G = 0, $ = 0, F = 0, N = null, j = 0, H = new i.Buf16(16), Y = new i.Buf16(16), Ae = null, xe = 0;
3227
+ var b, x, D, L, T, S, U, k, E, J = v.bits, B = 0, M = 0, p = 0, I = 0, K = 0, O = 0, ae = 0, G = 0, $ = 0, F = 0, N = null, j = 0, H = new i.Buf16(16), Y = new i.Buf16(16), Ae = null, xe = 0;
3221
3228
  for (B = 0; B <= 15; B++) H[B] = 0;
3222
- for (_ = 0; _ < d; _++) H[f[m + _]]++;
3229
+ for (M = 0; M < d; M++) H[f[m + M]]++;
3223
3230
  for (K = J, I = 15; 1 <= I && H[I] === 0; I--) ;
3224
3231
  if (I < K && (K = I), I === 0) return g[u++] = 20971520, g[u++] = 20971520, v.bits = 1, 0;
3225
3232
  for (p = 1; p < I && H[p] === 0; p++) ;
3226
3233
  for (K < p && (K = p), B = G = 1; B <= 15; B++) if (G <<= 1, (G -= H[B]) < 0) return -1;
3227
3234
  if (0 < G && (o === 0 || I !== 1)) return -1;
3228
3235
  for (Y[1] = 0, B = 1; B < 15; B++) Y[B + 1] = Y[B] + H[B];
3229
- for (_ = 0; _ < d; _++) f[m + _] !== 0 && (y[Y[f[m + _]]++] = _);
3230
- if (S = o === 0 ? (N = Ae = y, 19) : o === 1 ? (N = s, j -= 257, Ae = c, xe -= 257, 256) : (N = l, Ae = r, -1), B = p, T = u, ae = _ = F = 0, D = -1, L = ($ = 1 << (O = K)) - 1, o === 1 && 852 < $ || o === 2 && 592 < $) return 1;
3236
+ for (M = 0; M < d; M++) f[m + M] !== 0 && (y[Y[f[m + M]]++] = M);
3237
+ if (S = o === 0 ? (N = Ae = y, 19) : o === 1 ? (N = s, j -= 257, Ae = c, xe -= 257, 256) : (N = l, Ae = r, -1), B = p, T = u, ae = M = F = 0, D = -1, L = ($ = 1 << (O = K)) - 1, o === 1 && 852 < $ || o === 2 && 592 < $) return 1;
3231
3238
  for (; ; ) {
3232
- for (U = B - ae, M = y[_] < S ? (k = 0, y[_]) : y[_] > S ? (k = Ae[xe + y[_]], N[j + y[_]]) : (k = 96, 0), b = 1 << B - ae, p = x = 1 << O; g[T + (F >> ae) + (x -= b)] = U << 24 | k << 16 | M | 0, x !== 0; ) ;
3239
+ for (U = B - ae, E = y[M] < S ? (k = 0, y[M]) : y[M] > S ? (k = Ae[xe + y[M]], N[j + y[M]]) : (k = 96, 0), b = 1 << B - ae, p = x = 1 << O; g[T + (F >> ae) + (x -= b)] = U << 24 | k << 16 | E | 0, x !== 0; ) ;
3233
3240
  for (b = 1 << B - 1; F & b; ) b >>= 1;
3234
- if (b !== 0 ? (F &= b - 1, F += b) : F = 0, _++, --H[B] == 0) {
3241
+ if (b !== 0 ? (F &= b - 1, F += b) : F = 0, M++, --H[B] == 0) {
3235
3242
  if (B === I) break;
3236
- B = f[m + y[_]];
3243
+ B = f[m + y[M]];
3237
3244
  }
3238
3245
  if (K < B && (F & L) !== D) {
3239
3246
  for (ae === 0 && (ae = K), T += p, G = 1 << (O = B - ae); O + ae < I && !((G -= H[O + ae]) <= 0); ) O++, G <<= 1;
@@ -3250,12 +3257,12 @@ function Br() {
3250
3257
  function l(w) {
3251
3258
  for (var P = w.length; 0 <= --P; ) w[P] = 0;
3252
3259
  }
3253
- var r = 0, o = 29, f = 256, m = f + 1 + o, d = 30, g = 19, u = 2 * m + 1, y = 15, v = 16, b = 7, x = 256, D = 16, L = 17, T = 18, S = [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], U = [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], k = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], M = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], J = new Array(2 * (m + 2));
3260
+ var r = 0, o = 29, f = 256, m = f + 1 + o, d = 30, g = 19, u = 2 * m + 1, y = 15, v = 16, b = 7, x = 256, D = 16, L = 17, T = 18, S = [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], U = [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], k = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], E = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], J = new Array(2 * (m + 2));
3254
3261
  l(J);
3255
3262
  var B = new Array(2 * d);
3256
3263
  l(B);
3257
- var _ = new Array(512);
3258
- l(_);
3264
+ var M = new Array(512);
3265
+ l(M);
3259
3266
  var p = new Array(256);
3260
3267
  l(p);
3261
3268
  var I = new Array(o);
@@ -3268,7 +3275,7 @@ function Br() {
3268
3275
  this.dyn_tree = w, this.max_code = 0, this.stat_desc = P;
3269
3276
  }
3270
3277
  function N(w) {
3271
- return w < 256 ? _[w] : _[256 + (w >>> 7)];
3278
+ return w < 256 ? M[w] : M[256 + (w >>> 7)];
3272
3279
  }
3273
3280
  function j(w, P) {
3274
3281
  w.pending_buf[w.pending++] = 255 & P, w.pending_buf[w.pending++] = P >>> 8 & 255;
@@ -3321,15 +3328,15 @@ function Br() {
3321
3328
  for (P.max_code = me, X = w.heap_len >> 1; 1 <= X; X--) le(w, V, X);
3322
3329
  for (R = ee; X = w.heap[1], w.heap[1] = w.heap[w.heap_len--], le(w, V, 1), W = w.heap[1], w.heap[--w.heap_max] = X, w.heap[--w.heap_max] = W, V[2 * R] = V[2 * X] + V[2 * W], w.depth[R] = (w.depth[X] >= w.depth[W] ? w.depth[X] : w.depth[W]) + 1, V[2 * X + 1] = V[2 * W + 1] = R, w.heap[1] = R++, le(w, V, 1), 2 <= w.heap_len; ) ;
3323
3330
  w.heap[--w.heap_max] = w.heap[1], (function(pe, Te) {
3324
- var st, _e, lt, be, yt, St, Ue = Te.dyn_tree, Aa = Te.max_code, Ya = Te.stat_desc.static_tree, qa = Te.stat_desc.has_stree, Ja = Te.stat_desc.extra_bits, sa = Te.stat_desc.extra_base, ct = Te.stat_desc.max_length, bt = 0;
3331
+ var st, Me, lt, be, yt, St, Ue = Te.dyn_tree, Aa = Te.max_code, Ya = Te.stat_desc.static_tree, qa = Te.stat_desc.has_stree, Ja = Te.stat_desc.extra_bits, sa = Te.stat_desc.extra_base, ct = Te.stat_desc.max_length, bt = 0;
3325
3332
  for (be = 0; be <= y; be++) pe.bl_count[be] = 0;
3326
- for (Ue[2 * pe.heap[pe.heap_max] + 1] = 0, st = pe.heap_max + 1; st < u; st++) ct < (be = Ue[2 * Ue[2 * (_e = pe.heap[st]) + 1] + 1] + 1) && (be = ct, bt++), Ue[2 * _e + 1] = be, Aa < _e || (pe.bl_count[be]++, yt = 0, sa <= _e && (yt = Ja[_e - sa]), St = Ue[2 * _e], pe.opt_len += St * (be + yt), qa && (pe.static_len += St * (Ya[2 * _e + 1] + yt)));
3333
+ for (Ue[2 * pe.heap[pe.heap_max] + 1] = 0, st = pe.heap_max + 1; st < u; st++) ct < (be = Ue[2 * Ue[2 * (Me = pe.heap[st]) + 1] + 1] + 1) && (be = ct, bt++), Ue[2 * Me + 1] = be, Aa < Me || (pe.bl_count[be]++, yt = 0, sa <= Me && (yt = Ja[Me - sa]), St = Ue[2 * Me], pe.opt_len += St * (be + yt), qa && (pe.static_len += St * (Ya[2 * Me + 1] + yt)));
3327
3334
  if (bt !== 0) {
3328
3335
  do {
3329
3336
  for (be = ct - 1; pe.bl_count[be] === 0; ) be--;
3330
3337
  pe.bl_count[be]--, pe.bl_count[be + 1] += 2, pe.bl_count[ct]--, bt -= 2;
3331
3338
  } while (0 < bt);
3332
- for (be = ct; be !== 0; be--) for (_e = pe.bl_count[be]; _e !== 0; ) Aa < (lt = pe.heap[--st]) || (Ue[2 * lt + 1] !== be && (pe.opt_len += (be - Ue[2 * lt + 1]) * Ue[2 * lt], Ue[2 * lt + 1] = be), _e--);
3339
+ for (be = ct; be !== 0; be--) for (Me = pe.bl_count[be]; Me !== 0; ) Aa < (lt = pe.heap[--st]) || (Ue[2 * lt + 1] !== be && (pe.opt_len += (be - Ue[2 * lt + 1]) * Ue[2 * lt], Ue[2 * lt + 1] = be), Me--);
3333
3340
  }
3334
3341
  })(w, P), xe(V, me, w.bl_count);
3335
3342
  }
@@ -3346,18 +3353,18 @@ function Br() {
3346
3353
  }
3347
3354
  }
3348
3355
  l(G);
3349
- var E = !1;
3356
+ var _ = !1;
3350
3357
  function C(w, P, X, W) {
3351
3358
  H(w, (r << 1) + (W ? 1 : 0), 3), (function(R, V, Z, q) {
3352
3359
  fe(R), j(R, Z), j(R, ~Z), i.arraySet(R.pending_buf, R.window, V, Z, R.pending), R.pending += Z;
3353
3360
  })(w, P, X);
3354
3361
  }
3355
3362
  a._tr_init = function(w) {
3356
- E || ((function() {
3363
+ _ || ((function() {
3357
3364
  var P, X, W, R, V, Z = new Array(y + 1);
3358
3365
  for (R = W = 0; R < o - 1; R++) for (I[R] = W, P = 0; P < 1 << S[R]; P++) p[W++] = R;
3359
- for (p[W - 1] = R, R = V = 0; R < 16; R++) for (G[R] = V, P = 0; P < 1 << U[R]; P++) _[V++] = R;
3360
- for (V >>= 7; R < d; R++) for (G[R] = V << 7, P = 0; P < 1 << U[R] - 7; P++) _[256 + V++] = R;
3366
+ for (p[W - 1] = R, R = V = 0; R < 16; R++) for (G[R] = V, P = 0; P < 1 << U[R]; P++) M[V++] = R;
3367
+ for (V >>= 7; R < d; R++) for (G[R] = V << 7, P = 0; P < 1 << U[R] - 7; P++) M[256 + V++] = R;
3361
3368
  for (X = 0; X <= y; X++) Z[X] = 0;
3362
3369
  for (P = 0; P <= 143; ) J[2 * P + 1] = 8, P++, Z[8]++;
3363
3370
  for (; P <= 255; ) J[2 * P + 1] = 9, P++, Z[9]++;
@@ -3365,7 +3372,7 @@ function Br() {
3365
3372
  for (; P <= 287; ) J[2 * P + 1] = 8, P++, Z[8]++;
3366
3373
  for (xe(J, m + 1, Z), P = 0; P < d; P++) B[2 * P + 1] = 5, B[2 * P] = Ae(P, 5);
3367
3374
  K = new $(J, S, f + 1, m, y), O = new $(B, U, 0, d, y), ae = new $(new Array(0), k, 0, g, b);
3368
- })(), E = !0), w.l_desc = new F(w.dyn_ltree, K), w.d_desc = new F(w.dyn_dtree, O), w.bl_desc = new F(w.bl_tree, ae), w.bi_buf = 0, w.bi_valid = 0, de(w);
3375
+ })(), _ = !0), w.l_desc = new F(w.dyn_ltree, K), w.d_desc = new F(w.dyn_dtree, O), w.bl_desc = new F(w.bl_tree, ae), w.bi_buf = 0, w.bi_valid = 0, de(w);
3369
3376
  }, a._tr_stored_block = C, a._tr_flush_block = function(w, P, X, W) {
3370
3377
  var R, V, Z = 0;
3371
3378
  0 < w.level ? (w.strm.data_type === 2 && (w.strm.data_type = (function(q) {
@@ -3376,11 +3383,11 @@ function Br() {
3376
3383
  return s;
3377
3384
  })(w)), ue(w, w.l_desc), ue(w, w.d_desc), Z = (function(q) {
3378
3385
  var ee;
3379
- for (h(q, q.dyn_ltree, q.l_desc.max_code), h(q, q.dyn_dtree, q.d_desc.max_code), ue(q, q.bl_desc), ee = g - 1; 3 <= ee && q.bl_tree[2 * M[ee] + 1] === 0; ee--) ;
3386
+ for (h(q, q.dyn_ltree, q.l_desc.max_code), h(q, q.dyn_dtree, q.d_desc.max_code), ue(q, q.bl_desc), ee = g - 1; 3 <= ee && q.bl_tree[2 * E[ee] + 1] === 0; ee--) ;
3380
3387
  return q.opt_len += 3 * (ee + 1) + 5 + 5 + 4, ee;
3381
3388
  })(w), R = w.opt_len + 3 + 7 >>> 3, (V = w.static_len + 3 + 7 >>> 3) <= R && (R = V)) : R = V = X + 5, X + 4 <= R && P !== -1 ? C(w, P, X, W) : w.strategy === 4 || V === R ? (H(w, 2 + (W ? 1 : 0), 3), De(w, J, B)) : (H(w, 4 + (W ? 1 : 0), 3), (function(q, ee, me, pe) {
3382
3389
  var Te;
3383
- for (H(q, ee - 257, 5), H(q, me - 1, 5), H(q, pe - 4, 4), Te = 0; Te < pe; Te++) H(q, q.bl_tree[2 * M[Te] + 1], 3);
3390
+ for (H(q, ee - 257, 5), H(q, me - 1, 5), H(q, pe - 4, 4), Te = 0; Te < pe; Te++) H(q, q.bl_tree[2 * E[Te] + 1], 3);
3384
3391
  z(q, q.dyn_ltree, ee - 1), z(q, q.dyn_dtree, me - 1);
3385
3392
  })(w, w.l_desc.max_code + 1, w.d_desc.max_code + 1, Z + 1), De(w, w.dyn_ltree, w.dyn_dtree)), de(w), W && fe(w);
3386
3393
  }, a._tr_tally = function(w, P, X) {
@@ -3472,10 +3479,10 @@ function Br() {
3472
3479
  }).call(this, typeof wt < "u" ? wt : typeof self < "u" ? self : typeof window < "u" ? window : {});
3473
3480
  }, {}] }, {}, [10])(10);
3474
3481
  });
3475
- })(Et)), Et.exports;
3482
+ })(_t)), _t.exports;
3476
3483
  }
3477
3484
  var Lr = Br();
3478
- const _a = /* @__PURE__ */ Cr(Lr);
3485
+ const Ma = /* @__PURE__ */ Cr(Lr);
3479
3486
  function Ne(e, n, t, A) {
3480
3487
  function a(i) {
3481
3488
  return i instanceof t ? i : new t(function(s) {
@@ -3504,7 +3511,7 @@ function Ne(e, n, t, A) {
3504
3511
  });
3505
3512
  }
3506
3513
  const oe = 914400, vt = 12700, Be = `\r
3507
- `, Dr = 2147483649, Mt = /^[0-9a-fA-F]{6}$/, Pr = 1.67, kr = 27, Ze = { type: "solid", color: "666666", pt: 1 }, Ea = [0.05, 0.1, 0.05, 0.1], $e = { color: "363636", pt: 1 }, je = { color: "888888", style: "solid", size: 1, cap: "flat" }, Pe = "000000", Se = 12, Rr = 18, et = "LAYOUT_16x9", Wt = "DEFAULT", Ma = "333333", Je = { type: "outer", blur: 3, offset: 23e3 / 12700, angle: 90, color: "000000", opacity: 0.35, rotateWithShape: !0 }, gt = [0.5, 0.5, 0.5, 0.5], ga = { color: "000000" }, Nr = { size: 8, color: "FFFFFF", opacity: 0.75 }, Xe = "2094734552", Bt = "2094734553", ft = "2094734554", Qt = "2094734555", za = "2094734556", dt = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""), ht = [
3514
+ `, Dr = 2147483649, Et = /^[0-9a-fA-F]{6}$/, Pr = 1.67, kr = 27, Ze = { type: "solid", color: "666666", pt: 1 }, _a = [0.05, 0.1, 0.05, 0.1], $e = { color: "363636", pt: 1 }, je = { color: "888888", style: "solid", size: 1, cap: "flat" }, Pe = "000000", Se = 12, Rr = 18, et = "LAYOUT_16x9", Wt = "DEFAULT", Ea = "333333", Je = { type: "outer", blur: 3, offset: 23e3 / 12700, angle: 90, color: "000000", opacity: 0.35, rotateWithShape: !0 }, gt = [0.5, 0.5, 0.5, 0.5], ga = { color: "000000" }, Nr = { size: 8, color: "FFFFFF", opacity: 0.75 }, Xe = "2094734552", Bt = "2094734553", ft = "2094734554", Qt = "2094734555", za = "2094734556", dt = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""), ht = [
3508
3515
  "C0504D",
3509
3516
  "4F81BD",
3510
3517
  "9BBB59",
@@ -3634,8 +3641,8 @@ function Ut(e, n, t) {
3634
3641
  }
3635
3642
  function he(e, n) {
3636
3643
  let t = (e || "").replace("#", "");
3637
- !Mt.test(t) && t !== Re.background1 && t !== Re.background2 && t !== Re.text1 && t !== Re.text2 && t !== Re.accent1 && t !== Re.accent2 && t !== Re.accent3 && t !== Re.accent4 && t !== Re.accent5 && t !== Re.accent6 && (console.warn(`"${t}" is not a valid scheme color or hex RGB! "${Pe}" used instead. Only provide 6-digit RGB or 'pptx.SchemeColor' values!`), t = Pe);
3638
- const A = Mt.test(t) ? "srgbClr" : "schemeClr", a = 'val="' + (Mt.test(t) ? t.toUpperCase() : t) + '"';
3644
+ !Et.test(t) && t !== Re.background1 && t !== Re.background2 && t !== Re.text1 && t !== Re.text2 && t !== Re.accent1 && t !== Re.accent2 && t !== Re.accent3 && t !== Re.accent4 && t !== Re.accent5 && t !== Re.accent6 && (console.warn(`"${t}" is not a valid scheme color or hex RGB! "${Pe}" used instead. Only provide 6-digit RGB or 'pptx.SchemeColor' values!`), t = Pe);
3645
+ const A = Et.test(t) ? "srgbClr" : "schemeClr", a = 'val="' + (Et.test(t) ? t.toUpperCase() : t) + '"';
3639
3646
  return n ? `<a:${A} ${a}>${n}</a:${A}>` : `<a:${A} ${a}/>`;
3640
3647
  }
3641
3648
  function Sr(e, n) {
@@ -3727,35 +3734,35 @@ function Oa(e = [], n = {}, t, A) {
3727
3734
  return e.forEach((v, b) => {
3728
3735
  const x = [];
3729
3736
  let D = 0, L = 0, T = [];
3730
- v.forEach((M) => {
3731
- var J, B, _, p;
3737
+ v.forEach((E) => {
3738
+ var J, B, M, p;
3732
3739
  T.push({
3733
3740
  _type: ne.tablecell,
3734
3741
  text: [],
3735
- options: M.options
3736
- }), M.options.margin && M.options.margin[0] >= 1 ? (!((J = M.options) === null || J === void 0) && J.margin && M.options.margin[0] && te(M.options.margin[0]) > D ? D = te(M.options.margin[0]) : n?.margin && n.margin[0] && te(n.margin[0]) > D && (D = te(n.margin[0])), !((B = M.options) === null || B === void 0) && B.margin && M.options.margin[2] && te(M.options.margin[2]) > L ? L = te(M.options.margin[2]) : n?.margin && n.margin[2] && te(n.margin[2]) > L && (L = te(n.margin[2]))) : (!((_ = M.options) === null || _ === void 0) && _.margin && M.options.margin[0] && ce(M.options.margin[0]) > D ? D = ce(M.options.margin[0]) : n?.margin && n.margin[0] && ce(n.margin[0]) > D && (D = ce(n.margin[0])), !((p = M.options) === null || p === void 0) && p.margin && M.options.margin[2] && ce(M.options.margin[2]) > L ? L = ce(M.options.margin[2]) : n?.margin && n.margin[2] && ce(n.margin[2]) > L && (L = ce(n.margin[2])));
3737
- }), u(), c += D + L, n.verbose && b === 0 && console.log(`| SLIDE [${r.length}]: emuSlideTabH ...... = ${(s / oe).toFixed(1)} `), v.forEach((M, J) => {
3742
+ options: E.options
3743
+ }), E.options.margin && E.options.margin[0] >= 1 ? (!((J = E.options) === null || J === void 0) && J.margin && E.options.margin[0] && te(E.options.margin[0]) > D ? D = te(E.options.margin[0]) : n?.margin && n.margin[0] && te(n.margin[0]) > D && (D = te(n.margin[0])), !((B = E.options) === null || B === void 0) && B.margin && E.options.margin[2] && te(E.options.margin[2]) > L ? L = te(E.options.margin[2]) : n?.margin && n.margin[2] && te(n.margin[2]) > L && (L = te(n.margin[2]))) : (!((M = E.options) === null || M === void 0) && M.margin && E.options.margin[0] && ce(E.options.margin[0]) > D ? D = ce(E.options.margin[0]) : n?.margin && n.margin[0] && ce(n.margin[0]) > D && (D = ce(n.margin[0])), !((p = E.options) === null || p === void 0) && p.margin && E.options.margin[2] && ce(E.options.margin[2]) > L ? L = ce(E.options.margin[2]) : n?.margin && n.margin[2] && ce(n.margin[2]) > L && (L = ce(n.margin[2])));
3744
+ }), u(), c += D + L, n.verbose && b === 0 && console.log(`| SLIDE [${r.length}]: emuSlideTabH ...... = ${(s / oe).toFixed(1)} `), v.forEach((E, J) => {
3738
3745
  var B;
3739
- const _ = {
3746
+ const M = {
3740
3747
  _type: ne.tablecell,
3741
3748
  _lines: null,
3742
- _lineHeight: ce((!((B = M.options) === null || B === void 0) && B.fontSize ? M.options.fontSize : n.fontSize ? n.fontSize : Se) * (Pr + (n.autoPageLineWeight ? n.autoPageLineWeight : 0)) / 100),
3749
+ _lineHeight: ce((!((B = E.options) === null || B === void 0) && B.fontSize ? E.options.fontSize : n.fontSize ? n.fontSize : Se) * (Pr + (n.autoPageLineWeight ? n.autoPageLineWeight : 0)) / 100),
3743
3750
  text: [],
3744
- options: M.options
3751
+ options: E.options
3745
3752
  };
3746
- _.options.rowspan && (_._lineHeight = 0), _.options.autoPageCharWeight = n.autoPageCharWeight ? n.autoPageCharWeight : null;
3753
+ M.options.rowspan && (M._lineHeight = 0), M.options.autoPageCharWeight = n.autoPageCharWeight ? n.autoPageCharWeight : null;
3747
3754
  let p = n.colW[J];
3748
- M.options.colspan && Array.isArray(n.colW) && (p = n.colW.filter((I, K) => K >= J && K < K + M.options.colspan).reduce((I, K) => I + K)), _._lines = Ir(M, p), x.push(_);
3755
+ E.options.colspan && Array.isArray(n.colW) && (p = n.colW.filter((I, K) => K >= J && K < K + E.options.colspan).reduce((I, K) => I + K)), M._lines = Ir(E, p), x.push(M);
3749
3756
  }), n.verbose && console.log(`
3750
3757
  | SLIDE [${r.length}]: ROW [${b}]: START...`);
3751
3758
  let S = 0, U = 0, k = !1;
3752
3759
  for (; !k; ) {
3753
- const M = x[S];
3760
+ const E = x[S];
3754
3761
  let J = T[S];
3755
3762
  x.forEach((p) => {
3756
3763
  p._lineHeight >= U && (U = p._lineHeight);
3757
3764
  }), c + U > s && (n.verbose && (console.log(`
3758
- |-----------------------------------------------------------------------|`), console.log(`|-- NEW SLIDE CREATED (currTabH+currLineH > maxH) => ${(c / oe).toFixed(2)} + ${(M._lineHeight / oe).toFixed(2)} > ${s / oe}`), console.log(`|-----------------------------------------------------------------------|
3765
+ |-----------------------------------------------------------------------|`), console.log(`|-- NEW SLIDE CREATED (currTabH+currLineH > maxH) => ${(c / oe).toFixed(2)} + ${(E._lineHeight / oe).toFixed(2)} > ${s / oe}`), console.log(`|-----------------------------------------------------------------------|
3759
3766
 
3760
3767
  `)), T.length > 0 && T.map((I) => I.text.length).reduce((I, K) => I + K) > 0 && y.rows.push(T), r.push(y), y = { rows: [] }, T = [], v.forEach((I) => T.push({ _type: ne.tablecell, text: [], options: I.options })), u(), c += D + L, n.verbose && console.log(`| SLIDE [${r.length}]: emuSlideTabH ...... = ${(s / oe).toFixed(1)} `), c = 0, (n.addHeaderToEach || n.autoPageRepeatHeader) && n._arrObjTabHeadRows && n._arrObjTabHeadRows.forEach((I) => {
3761
3768
  const K = [];
@@ -3764,7 +3771,7 @@ function Oa(e = [], n = {}, t, A) {
3764
3771
  K.push(ae), ae._lineHeight > O && (O = ae._lineHeight);
3765
3772
  }), y.rows.push(K), c += O;
3766
3773
  }), J = T[S]);
3767
- const B = M._lines.shift();
3774
+ const B = E._lines.shift();
3768
3775
  Array.isArray(J.text) && (B ? J.text = J.text.concat(B) : J.text.length === 0 && (J.text = J.text.concat({ _type: ne.tablecell, text: "" }))), S === x.length - 1 && (c += U), S = S < x.length - 1 ? S + 1 : 0, x.map((p) => p._lines.length).reduce((p, I) => p + I) === 0 && (k = !0);
3769
3776
  }
3770
3777
  T.length > 0 && y.rows.push(T), n.verbose && console.log(`- SLIDE [${r.length}]: ROW [${b}]: ...COMPLETE ...... emuTabCurrH = ${(c / oe).toFixed(2)} ( emuSlideTabH = ${(s / oe).toFixed(2)} )`);
@@ -3773,7 +3780,7 @@ function Oa(e = [], n = {}, t, A) {
3773
3780
 
3774
3781
  `)), r;
3775
3782
  }
3776
- function _r(e, n, t = {}, A) {
3783
+ function Mr(e, n, t = {}, A) {
3777
3784
  const a = t || {};
3778
3785
  a.slideMargin = a.slideMargin || a.slideMargin === 0 ? a.slideMargin : 0.5;
3779
3786
  let i = a.w || e.presLayout.width;
@@ -3831,11 +3838,11 @@ function _r(e, n, t = {}, A) {
3831
3838
  window.getComputedStyle(x).getPropertyValue("padding-left") && (T.margin = [0, 0, 0, 0], ["padding-top", "padding-right", "padding-bottom", "padding-left"].forEach((U, k) => {
3832
3839
  T.margin[k] = Math.round(Number(window.getComputedStyle(x).getPropertyValue(U).replace(/\D/gi, "")));
3833
3840
  })), (window.getComputedStyle(x).getPropertyValue("border-top-width") || window.getComputedStyle(x).getPropertyValue("border-right-width") || window.getComputedStyle(x).getPropertyValue("border-bottom-width") || window.getComputedStyle(x).getPropertyValue("border-left-width")) && (T.border = [null, null, null, null], ["top", "right", "bottom", "left"].forEach((U, k) => {
3834
- const M = Math.round(Number(window.getComputedStyle(x).getPropertyValue("border-" + U + "-width").replace("px", "")));
3841
+ const E = Math.round(Number(window.getComputedStyle(x).getPropertyValue("border-" + U + "-width").replace("px", "")));
3835
3842
  let J = [];
3836
3843
  J = window.getComputedStyle(x).getPropertyValue("border-" + U + "-color").replace(/\s+/gi, "").replace("rgba(", "").replace("rgb(", "").replace(")", "").split(",");
3837
3844
  const B = Ut(Number(J[0]), Number(J[1]), Number(J[2]));
3838
- T.border[k] = { pt: M, color: B };
3845
+ T.border[k] = { pt: E, color: B };
3839
3846
  })), b.push({
3840
3847
  _type: ne.tablecell,
3841
3848
  text: x.innerText,
@@ -3869,8 +3876,8 @@ function _r(e, n, t = {}, A) {
3869
3876
  })), a.addShape && v.addShape(a.addShape.shapeName, a.addShape.options || {}), a.addTable && v.addTable(a.addTable.rows, a.addTable.options || {}), a.addText && v.addText(a.addText.text, a.addText.options || {});
3870
3877
  });
3871
3878
  }
3872
- let Er = 0;
3873
- function Mr(e, n) {
3879
+ let _r = 0;
3880
+ function Er(e, n) {
3874
3881
  e.bkgd && (n.bkgd = e.bkgd), e.objects && Array.isArray(e.objects) && e.objects.length > 0 && e.objects.forEach((t, A) => {
3875
3882
  const a = Object.keys(t)[0], i = n;
3876
3883
  Ve[a] && a === "chart" ? Xa(i, t[a].type, t[a].data, t[a].opts) : Ve[a] && a === "image" ? Ga(i, t[a]) : Ve[a] && a === "line" ? jt(i, Ye.LINE, t[a]) : Ve[a] && a === "rect" ? jt(i, Ye.RECTANGLE, t[a]) : Ve[a] && a === "text" ? kt(i, [{ text: t[a].text }], t[a].options, !1) : Ve[a] && a === "placeholder" && (t[a].options.placeholder = t[a].options.name, delete t[a].options.name, t[a].options._placeholderType = t[a].options.type, delete t[a].options.type, t[a].options._placeholderIdx = 100 + A, kt(i, [{ text: t[a].text }], t[a].options, !0));
@@ -3881,7 +3888,7 @@ function Xa(e, n, t, A) {
3881
3888
  function i(f) {
3882
3889
  !f || f.style === "none" || (f.size !== void 0 && (isNaN(Number(f.size)) || f.size <= 0) && (console.warn("Warning: chart.gridLine.size must be greater than 0."), delete f.size), f.style && !["solid", "dash", "dot"].includes(f.style) && (console.warn("Warning: chart.gridLine.style options: `solid`, `dash`, `dot`."), delete f.style), f.cap && !["flat", "square", "round"].includes(f.cap) && (console.warn("Warning: chart.gridLine.cap options: `flat`, `square`, `round`."), delete f.cap));
3883
3890
  }
3884
- const s = ++Er, c = {
3891
+ const s = ++_r, c = {
3885
3892
  _type: null,
3886
3893
  text: null,
3887
3894
  options: null,
@@ -4068,7 +4075,7 @@ function jt(e, n, t) {
4068
4075
  throw new Error("Missing/Invalid shape parameter! Example: `addShape(pptxgen.shapes.LINE, {x:1, y:1, w:1, h:1});`");
4069
4076
  const i = {
4070
4077
  type: A.line.type || "solid",
4071
- color: A.line.color || Ma,
4078
+ color: A.line.color || Ea,
4072
4079
  transparency: A.line.transparency || 0,
4073
4080
  width: A.line.width || 1,
4074
4081
  dashType: A.line.dashType || "solid",
@@ -4109,7 +4116,7 @@ function Or(e, n, t, A, a, i, s) {
4109
4116
  };
4110
4117
  }), d.push(u);
4111
4118
  }) : (console.log("addTable: tableRows has a bad row. A row should be an array of cells. You provided:"), console.log(m)), r.push(d);
4112
- }), l.x = ie(l.x || (l.x === 0 ? 0 : oe / 2), "X", a), l.y = ie(l.y || (l.y === 0 ? 0 : oe / 2), "Y", a), l.h && (l.h = ie(l.h, "Y", a)), l.fontSize = l.fontSize || Se, l.margin = l.margin === 0 || l.margin ? l.margin : Ea, typeof l.margin == "number" && (l.margin = [Number(l.margin), Number(l.margin), Number(l.margin), Number(l.margin)]), JSON.stringify({ arrRows: r }).indexOf("hyperlink") === -1 && (l.color || (l.color = l.color || Pe)), typeof l.border == "string" ? (console.warn("addTable `border` option must be an object. Ex: `{border: {type:'none'}}`"), l.border = null) : Array.isArray(l.border) && [0, 1, 2, 3].forEach((m) => {
4119
+ }), l.x = ie(l.x || (l.x === 0 ? 0 : oe / 2), "X", a), l.y = ie(l.y || (l.y === 0 ? 0 : oe / 2), "Y", a), l.h && (l.h = ie(l.h, "Y", a)), l.fontSize = l.fontSize || Se, l.margin = l.margin === 0 || l.margin ? l.margin : _a, typeof l.margin == "number" && (l.margin = [Number(l.margin), Number(l.margin), Number(l.margin), Number(l.margin)]), JSON.stringify({ arrRows: r }).indexOf("hyperlink") === -1 && (l.color || (l.color = l.color || Pe)), typeof l.border == "string" ? (console.warn("addTable `border` option must be an object. Ex: `{border: {type:'none'}}`"), l.border = null) : Array.isArray(l.border) && [0, 1, 2, 3].forEach((m) => {
4113
4120
  l.border[m] = l.border[m] ? { type: l.border[m].type || Ze.type, color: l.border[m].color || Ze.color, pt: l.border[m].pt || Ze.pt } : { type: "none" };
4114
4121
  }), l.autoPage = typeof l.autoPage == "boolean" ? l.autoPage : !1, l.autoPageRepeatHeader = typeof l.autoPageRepeatHeader == "boolean" ? l.autoPageRepeatHeader : !1, l.autoPageHeaderRows = typeof l.autoPageHeaderRows < "u" && !isNaN(Number(l.autoPageHeaderRows)) ? Number(l.autoPageHeaderRows) : 1, l.autoPageLineWeight = typeof l.autoPageLineWeight < "u" && !isNaN(Number(l.autoPageLineWeight)) ? Number(l.autoPageLineWeight) : 0, l.autoPageLineWeight && (l.autoPageLineWeight > 1 ? l.autoPageLineWeight = 1 : l.autoPageLineWeight < -1 && (l.autoPageLineWeight = -1));
4115
4122
  let o = gt;
@@ -4154,7 +4161,7 @@ function kt(e, n, t, A) {
4154
4161
  if (s.objectName = s.objectName ? re(s.objectName) : `Text ${e._slideObjects.filter((c) => c._type === ne.text).length}`, s.shape === Ye.LINE) {
4155
4162
  const c = {
4156
4163
  type: s.line.type || "solid",
4157
- color: s.line.color || Ma,
4164
+ color: s.line.color || Ea,
4158
4165
  transparency: s.line.transparency || 0,
4159
4166
  width: s.line.width || 1,
4160
4167
  dashType: s.line.dashType || "solid",
@@ -4337,7 +4344,7 @@ function Wr(e, n) {
4337
4344
  const t = e.data;
4338
4345
  return yield new Promise((A, a) => {
4339
4346
  var i, s;
4340
- const c = new _a(), l = (t.length - 1) * 2 + 1, r = ((s = (i = t[0]) === null || i === void 0 ? void 0 : i.labels) === null || s === void 0 ? void 0 : s.length) > 1;
4347
+ const c = new Ma(), l = (t.length - 1) * 2 + 1, r = ((s = (i = t[0]) === null || i === void 0 ? void 0 : i.labels) === null || s === void 0 ? void 0 : s.length) > 1;
4341
4348
  c.folder("_rels"), c.folder("docProps"), c.folder("xl/_rels"), c.folder("xl/tables"), c.folder("xl/theme"), c.folder("xl/worksheets"), c.folder("xl/worksheets/_rels"), c.file("[Content_Types].xml", `<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/> <Default Extension="xml" ContentType="application/xml"/> <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/> <Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/> <Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/> <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/> <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/> <Override PartName="/xl/tables/table1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"/> <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/> <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
4342
4349
  `), c.file("_rels/.rels", `<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>
4343
4350
  `), c.file("docProps/app.xml", `<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Macintosh Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>
@@ -4757,9 +4764,9 @@ function oa(e) {
4757
4764
  return e._bkgdImgRid ? t += `<p:bg><p:bgPr><a:blipFill dpi="0" rotWithShape="1"><a:blip r:embed="rId${e._bkgdImgRid}"><a:lum/></a:blip><a:srcRect/><a:stretch><a:fillRect/></a:stretch></a:blipFill><a:effectLst/></p:bgPr></p:bg>` : !((n = e.background) === null || n === void 0) && n.color ? t += `<p:bg><p:bgPr>${Fe(e.background)}</p:bgPr></p:bg>` : !e.bkgd && e._name && e._name === Wt && (t += '<p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>'), t += "<p:spTree>", t += '<p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr>', t += '<p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/>', t += '<a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr>', e._slideObjects.forEach((a, i) => {
4758
4765
  var s, c, l, r, o, f, m, d;
4759
4766
  let g = 0, u = 0, y = ie("75%", "X", e._presLayout), v = 0, b, x = "", D = null, L = null, T = 0, S = 0, U = null, k = null;
4760
- const M = (s = a.options) === null || s === void 0 ? void 0 : s.sizing, J = (c = a.options) === null || c === void 0 ? void 0 : c.rounding;
4767
+ const E = (s = a.options) === null || s === void 0 ? void 0 : s.sizing, J = (c = a.options) === null || c === void 0 ? void 0 : c.rounding;
4761
4768
  e._slideLayout !== void 0 && e._slideLayout._slideObjects !== void 0 && a.options && a.options.placeholder && (b = e._slideLayout._slideObjects.filter((p) => p.options.placeholder === a.options.placeholder)[0]), a.options = a.options || {}, typeof a.options.x < "u" && (g = ie(a.options.x, "X", e._presLayout)), typeof a.options.y < "u" && (u = ie(a.options.y, "Y", e._presLayout)), typeof a.options.w < "u" && (y = ie(a.options.w, "X", e._presLayout)), typeof a.options.h < "u" && (v = ie(a.options.h, "Y", e._presLayout));
4762
- let B = y, _ = v;
4769
+ let B = y, M = v;
4763
4770
  switch (b && ((b.options.x || b.options.x === 0) && (g = ie(b.options.x, "X", e._presLayout)), (b.options.y || b.options.y === 0) && (u = ie(b.options.y, "Y", e._presLayout)), (b.options.w || b.options.w === 0) && (y = ie(b.options.w, "X", e._presLayout)), (b.options.h || b.options.h === 0) && (v = ie(b.options.h, "Y", e._presLayout))), a.options.flipH && (x += ' flipH="1"'), a.options.flipV && (x += ' flipV="1"'), a.options.rotate && (x += ` rot="${Ke(a.options.rotate)}"`), a._type) {
4764
4771
  case ne.table:
4765
4772
  if (D = a.arrTabRows, L = a.options, T = 0, S = 0, D[0].forEach((p) => {
@@ -4820,7 +4827,7 @@ function oa(e) {
4820
4827
  let fe = !((F = ($ = j._optImp) === null || $ === void 0 ? void 0 : $.fill) === null || F === void 0) && F.color ? j._optImp.fill.color : !((N = j._optImp) === null || N === void 0) && N.fill && typeof j._optImp.fill == "string" ? j._optImp.fill : "";
4821
4828
  fe = fe || Ae.fill ? Ae.fill : "";
4822
4829
  const we = fe ? Fe(fe) : "";
4823
- let le = Ae.margin === 0 || Ae.margin ? Ae.margin : Ea;
4830
+ let le = Ae.margin === 0 || Ae.margin ? Ae.margin : _a;
4824
4831
  !Array.isArray(le) && typeof le == "number" && (le = [le, le, le, le]);
4825
4832
  let De = "";
4826
4833
  le[0] >= 1 ? De = ` marL="${te(le[3])}" marR="${te(le[1])}" marT="${te(le[0])}" marB="${te(le[2])}"` : De = ` marL="${ce(le[3])}" marR="${ce(le[1])}" marT="${ce(le[0])}" marB="${ce(le[2])}"`, k += `<a:tc${Y}>${ba(j)}<a:tcPr${De}${xe}${de}>`, Ae.border && Array.isArray(Ae.border) && [
@@ -4874,12 +4881,12 @@ function oa(e) {
4874
4881
  t += a.options.fill ? Fe(a.options.fill) : "<a:noFill/>", a.options.line && (t += a.options.line.width ? `<a:ln w="${te(a.options.line.width)}">` : "<a:ln>", a.options.line.color && (t += Fe(a.options.line)), a.options.line.dashType && (t += `<a:prstDash val="${a.options.line.dashType}"/>`), a.options.line.beginArrowType && (t += `<a:headEnd type="${a.options.line.beginArrowType}"/>`), a.options.line.endArrowType && (t += `<a:tailEnd type="${a.options.line.endArrowType}"/>`), t += "</a:ln>"), a.options.shadow && a.options.shadow.type !== "none" && (a.options.shadow.type = a.options.shadow.type || "outer", a.options.shadow.blur = te(a.options.shadow.blur || 8), a.options.shadow.offset = te(a.options.shadow.offset || 4), a.options.shadow.angle = Math.round((a.options.shadow.angle || 270) * 6e4), a.options.shadow.opacity = Math.round((a.options.shadow.opacity || 0.75) * 1e5), a.options.shadow.color = a.options.shadow.color || ga.color, t += "<a:effectLst>", t += ` <a:${a.options.shadow.type}Shdw ${a.options.shadow.type === "outer" ? 'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"' : ""} blurRad="${a.options.shadow.blur}" dist="${a.options.shadow.offset}" dir="${a.options.shadow.angle}">`, t += ` <a:srgbClr val="${a.options.shadow.color}">`, t += ` <a:alpha val="${a.options.shadow.opacity}"/></a:srgbClr>`, t += " </a:outerShdw>", t += "</a:effectLst>"), t += "</p:spPr>", t += ba(a), t += "</p:sp>";
4875
4882
  break;
4876
4883
  case ne.image:
4877
- if (t += "<p:pic>", t += " <p:nvPicPr>", t += `<p:cNvPr id="${i + 2}" name="${a.options.objectName}" descr="${re(a.options.altText || a.image)}">`, !((m = a.hyperlink) === null || m === void 0) && m.url && (t += `<a:hlinkClick r:id="rId${a.hyperlink._rId}" tooltip="${a.hyperlink.tooltip ? re(a.hyperlink.tooltip) : ""}"/>`), !((d = a.hyperlink) === null || d === void 0) && d.slide && (t += `<a:hlinkClick r:id="rId${a.hyperlink._rId}" tooltip="${a.hyperlink.tooltip ? re(a.hyperlink.tooltip) : ""}" action="ppaction://hlinksldjump"/>`), t += " </p:cNvPr>", t += ' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>', t += " <p:nvPr>" + Ct(b) + "</p:nvPr>", t += " </p:nvPicPr>", t += "<p:blipFill>", (e._relsMedia || []).filter((p) => p.rId === a.imageRid)[0] && (e._relsMedia || []).filter((p) => p.rId === a.imageRid)[0].extn === "svg" ? (t += `<a:blip r:embed="rId${a.imageRid - 1}">`, t += a.options.transparency ? ` <a:alphaModFix amt="${Math.round((100 - a.options.transparency) * 1e3)}"/>` : "", t += " <a:extLst>", t += ' <a:ext uri="{96DAC541-7B7A-43D3-8B79-37D633B846F1}">', t += ` <asvg:svgBlip xmlns:asvg="http://schemas.microsoft.com/office/drawing/2016/SVG/main" r:embed="rId${a.imageRid}"/>`, t += " </a:ext>", t += " </a:extLst>", t += "</a:blip>") : (t += `<a:blip r:embed="rId${a.imageRid}">`, t += a.options.transparency ? `<a:alphaModFix amt="${Math.round((100 - a.options.transparency) * 1e3)}"/>` : "", t += "</a:blip>"), M?.type) {
4878
- const p = M.w ? ie(M.w, "X", e._presLayout) : y, I = M.h ? ie(M.h, "Y", e._presLayout) : v, K = ie(M.x || 0, "X", e._presLayout), O = ie(M.y || 0, "Y", e._presLayout);
4879
- t += Yr[M.type]({ w: B, h: _ }, { w: p, h: I, x: K, y: O }), B = p, _ = I;
4884
+ if (t += "<p:pic>", t += " <p:nvPicPr>", t += `<p:cNvPr id="${i + 2}" name="${a.options.objectName}" descr="${re(a.options.altText || a.image)}">`, !((m = a.hyperlink) === null || m === void 0) && m.url && (t += `<a:hlinkClick r:id="rId${a.hyperlink._rId}" tooltip="${a.hyperlink.tooltip ? re(a.hyperlink.tooltip) : ""}"/>`), !((d = a.hyperlink) === null || d === void 0) && d.slide && (t += `<a:hlinkClick r:id="rId${a.hyperlink._rId}" tooltip="${a.hyperlink.tooltip ? re(a.hyperlink.tooltip) : ""}" action="ppaction://hlinksldjump"/>`), t += " </p:cNvPr>", t += ' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>', t += " <p:nvPr>" + Ct(b) + "</p:nvPr>", t += " </p:nvPicPr>", t += "<p:blipFill>", (e._relsMedia || []).filter((p) => p.rId === a.imageRid)[0] && (e._relsMedia || []).filter((p) => p.rId === a.imageRid)[0].extn === "svg" ? (t += `<a:blip r:embed="rId${a.imageRid - 1}">`, t += a.options.transparency ? ` <a:alphaModFix amt="${Math.round((100 - a.options.transparency) * 1e3)}"/>` : "", t += " <a:extLst>", t += ' <a:ext uri="{96DAC541-7B7A-43D3-8B79-37D633B846F1}">', t += ` <asvg:svgBlip xmlns:asvg="http://schemas.microsoft.com/office/drawing/2016/SVG/main" r:embed="rId${a.imageRid}"/>`, t += " </a:ext>", t += " </a:extLst>", t += "</a:blip>") : (t += `<a:blip r:embed="rId${a.imageRid}">`, t += a.options.transparency ? `<a:alphaModFix amt="${Math.round((100 - a.options.transparency) * 1e3)}"/>` : "", t += "</a:blip>"), E?.type) {
4885
+ const p = E.w ? ie(E.w, "X", e._presLayout) : y, I = E.h ? ie(E.h, "Y", e._presLayout) : v, K = ie(E.x || 0, "X", e._presLayout), O = ie(E.y || 0, "Y", e._presLayout);
4886
+ t += Yr[E.type]({ w: B, h: M }, { w: p, h: I, x: K, y: O }), B = p, M = I;
4880
4887
  } else
4881
4888
  t += " <a:stretch><a:fillRect/></a:stretch>";
4882
- t += "</p:blipFill>", t += "<p:spPr>", t += " <a:xfrm" + x + ">", t += ` <a:off x="${g}" y="${u}"/>`, t += ` <a:ext cx="${B}" cy="${_}"/>`, t += " </a:xfrm>", t += ` <a:prstGeom prst="${J ? "ellipse" : "rect"}"><a:avLst/></a:prstGeom>`, a.options.shadow && a.options.shadow.type !== "none" && (a.options.shadow.type = a.options.shadow.type || "outer", a.options.shadow.blur = te(a.options.shadow.blur || 8), a.options.shadow.offset = te(a.options.shadow.offset || 4), a.options.shadow.angle = Math.round((a.options.shadow.angle || 270) * 6e4), a.options.shadow.opacity = Math.round((a.options.shadow.opacity || 0.75) * 1e5), a.options.shadow.color = a.options.shadow.color || ga.color, t += "<a:effectLst>", t += `<a:${a.options.shadow.type}Shdw ${a.options.shadow.type === "outer" ? 'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"' : ""} blurRad="${a.options.shadow.blur}" dist="${a.options.shadow.offset}" dir="${a.options.shadow.angle}">`, t += `<a:srgbClr val="${a.options.shadow.color}">`, t += `<a:alpha val="${a.options.shadow.opacity}"/></a:srgbClr>`, t += `</a:${a.options.shadow.type}Shdw>`, t += "</a:effectLst>"), t += "</p:spPr>", t += "</p:pic>";
4889
+ t += "</p:blipFill>", t += "<p:spPr>", t += " <a:xfrm" + x + ">", t += ` <a:off x="${g}" y="${u}"/>`, t += ` <a:ext cx="${B}" cy="${M}"/>`, t += " </a:xfrm>", t += ` <a:prstGeom prst="${J ? "ellipse" : "rect"}"><a:avLst/></a:prstGeom>`, a.options.shadow && a.options.shadow.type !== "none" && (a.options.shadow.type = a.options.shadow.type || "outer", a.options.shadow.blur = te(a.options.shadow.blur || 8), a.options.shadow.offset = te(a.options.shadow.offset || 4), a.options.shadow.angle = Math.round((a.options.shadow.angle || 270) * 6e4), a.options.shadow.opacity = Math.round((a.options.shadow.opacity || 0.75) * 1e5), a.options.shadow.color = a.options.shadow.color || ga.color, t += "<a:effectLst>", t += `<a:${a.options.shadow.type}Shdw ${a.options.shadow.type === "outer" ? 'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"' : ""} blurRad="${a.options.shadow.blur}" dist="${a.options.shadow.offset}" dir="${a.options.shadow.angle}">`, t += `<a:srgbClr val="${a.options.shadow.color}">`, t += `<a:alpha val="${a.options.shadow.opacity}"/></a:srgbClr>`, t += `</a:${a.options.shadow.type}Shdw>`, t += "</a:effectLst>"), t += "</p:spPr>", t += "</p:pic>";
4883
4890
  break;
4884
4891
  case ne.media:
4885
4892
  a.mtype === "online" ? (t += "<p:pic>", t += " <p:nvPicPr>", t += `<p:cNvPr id="${a.mediaRid + 2}" name="${a.options.objectName}"/>`, t += " <p:cNvPicPr/>", t += " <p:nvPr>", t += ` <a:videoFile r:link="rId${a.mediaRid}"/>`, t += " </p:nvPr>", t += " </p:nvPicPr>", t += ` <p:blipFill><a:blip r:embed="rId${a.mediaRid + 1}"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>`, t += " <p:spPr>", t += ` <a:xfrm${x}><a:off x="${g}" y="${u}"/><a:ext cx="${y}" cy="${v}"/></a:xfrm>`, t += ' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>', t += " </p:spPr>", t += "</p:pic>") : (t += "<p:pic>", t += " <p:nvPicPr>", t += `<p:cNvPr id="${a.mediaRid + 2}" name="${a.options.objectName}"><a:hlinkClick r:id="" action="ppaction://media"/></p:cNvPr>`, t += ' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>', t += " <p:nvPr>", t += ` <a:videoFile r:link="rId${a.mediaRid}"/>`, t += " <p:extLst>", t += ' <p:ext uri="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}">', t += ` <p14:media xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" r:embed="rId${a.mediaRid + 1}"/>`, t += " </p:ext>", t += " </p:extLst>", t += " </p:nvPr>", t += " </p:nvPicPr>", t += ` <p:blipFill><a:blip r:embed="rId${a.mediaRid + 2}"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>`, t += " <p:spPr>", t += ` <a:xfrm${x}><a:off x="${g}" y="${u}"/><a:ext cx="${y}" cy="${v}"/></a:xfrm>`, t += ' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>', t += " </p:spPr>", t += "</p:pic>");
@@ -5307,7 +5314,7 @@ class yn {
5307
5314
  }), this.exportPresentation = (i) => Ne(this, void 0, void 0, function* () {
5308
5315
  const s = [];
5309
5316
  let c = [];
5310
- const l = new _a();
5317
+ const l = new Ma();
5311
5318
  return this.slides.forEach((r) => {
5312
5319
  c = c.concat(Gt(r));
5313
5320
  }), this.slideLayouts.forEach((r) => {
@@ -5515,7 +5522,7 @@ class yn {
5515
5522
  background: t.background || null,
5516
5523
  bkgd: t.bkgd || null
5517
5524
  };
5518
- Mr(t, A), this.slideLayouts.push(A), (t.background || t.bkgd) && Wa(t.background, A), A._slideNumberProps && !this.masterSlide._slideNumberProps && (this.masterSlide._slideNumberProps = A._slideNumberProps);
5525
+ Er(t, A), this.slideLayouts.push(A), (t.background || t.bkgd) && Wa(t.background, A), A._slideNumberProps && !this.masterSlide._slideNumberProps && (this.masterSlide._slideNumberProps = A._slideNumberProps);
5519
5526
  }
5520
5527
  // HTML-TO-SLIDES METHODS
5521
5528
  /**
@@ -5524,7 +5531,7 @@ class yn {
5524
5531
  * @param {TableToSlidesProps} options - generation options
5525
5532
  */
5526
5533
  tableToSlides(n, t = {}) {
5527
- _r(this, n, t, t?.masterSlideName ? this.slideLayouts.filter((A) => A._name === t.masterSlideName)[0] : null);
5534
+ Mr(this, n, t, t?.masterSlideName ? this.slideLayouts.filter((A) => A._name === t.masterSlideName)[0] : null);
5528
5535
  }
5529
5536
  }
5530
5537
  const bn = {
@@ -5733,7 +5740,7 @@ const Ln = ({
5733
5740
  path: r,
5734
5741
  color: n.fill,
5735
5742
  opacity: i
5736
- }), Ee({
5743
+ }), _e({
5737
5744
  color: n.color,
5738
5745
  ctx: l,
5739
5746
  drawn: n.drawn,
@@ -5770,7 +5777,7 @@ const Ln = ({
5770
5777
  path: f,
5771
5778
  color: n.fill,
5772
5779
  opacity: i
5773
- }), Ee({
5780
+ }), _e({
5774
5781
  color: n.borderColor,
5775
5782
  ctx: o,
5776
5783
  drawn: n.drawn,
@@ -5891,7 +5898,7 @@ function In({
5891
5898
  }
5892
5899
  return s;
5893
5900
  }
5894
- const _n = ({
5901
+ const Mn = ({
5895
5902
  ctx: e,
5896
5903
  slide: n,
5897
5904
  object: t,
@@ -5922,22 +5929,22 @@ const _n = ({
5922
5929
  h: se(d.height, a) * 1.1,
5923
5930
  w: se(d.width, a) * 1.1
5924
5931
  });
5925
- }, En = ({ object: e }) => {
5932
+ }, _n = ({ object: e }) => {
5926
5933
  console.warn("Object type is not supported by PowerPoint renderer", e);
5927
- }, Mn = {
5934
+ }, En = {
5928
5935
  [ve.ARROW]: Bn,
5929
5936
  [ve.CIRCLE]: Ln,
5930
5937
  [ve.GROUP]: Dn,
5931
5938
  [ve.IMAGE]: Pn,
5932
5939
  [ve.LINE]: kn,
5933
- [ve.MASK]: En,
5940
+ [ve.MASK]: _n,
5934
5941
  [ve.PATH]: Rn,
5935
5942
  [ve.POLYGON]: Nn,
5936
5943
  [ve.RECTANGLE]: Fn,
5937
5944
  [ve.SLIDE_OBJECT]: () => {
5938
5945
  },
5939
5946
  [ve.SVG]: Tn,
5940
- [ve.TEXT]: _n
5947
+ [ve.TEXT]: Mn
5941
5948
  };
5942
5949
  function zn(e, n) {
5943
5950
  const t = {};
@@ -5951,7 +5958,7 @@ class Qn {
5951
5958
  this.props = {
5952
5959
  presentation: ea(),
5953
5960
  objectRenderers: {
5954
- ...Mn,
5961
+ ...En,
5955
5962
  ...t
5956
5963
  },
5957
5964
  pixelsPerInch: 384,