@harbour-enterprises/superdoc 0.29.0-next.9 → 0.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/chunks/{PdfViewer-BV-ij_Jn.es.js → PdfViewer-DQhcHGV_.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer-DpviVXfb.cjs → PdfViewer-qQqnhYEQ.cjs} +2 -2
  3. package/dist/chunks/{eventemitter3-BvTILlBo.cjs → eventemitter3-DmHNHvFX.cjs} +1 -1
  4. package/dist/chunks/{eventemitter3-D4gv5QOO.es.js → eventemitter3-hYlnBzSA.es.js} +1 -1
  5. package/dist/chunks/{index-B5hIswvq.cjs → index-CaDbRGFF.cjs} +6 -6
  6. package/dist/chunks/{index-sJFE-5Sw-Chv1r9bA.cjs → index-DldNo6-E-B0LsewRn.cjs} +1 -1
  7. package/dist/chunks/{index-sJFE-5Sw-r5deiWbP.es.js → index-DldNo6-E-lpDwRf2x.es.js} +1 -1
  8. package/dist/chunks/{index-UVpS_47e.es.js → index-G6IpAZy0.es.js} +6 -6
  9. package/dist/chunks/{jszip-B0BPx_cv.cjs → jszip-BP2FTbpi.cjs} +7 -7
  10. package/dist/chunks/{jszip-Bhl-Iudl.es.js → jszip-jKrsZoMS.es.js} +7 -7
  11. package/dist/chunks/{super-editor.es-C9OTu_pS.es.js → super-editor.es-D2S9NC5U.es.js} +710 -673
  12. package/dist/chunks/{super-editor.es-Cw1FmXd7.cjs → super-editor.es-DISiPGag.cjs} +757 -720
  13. package/dist/chunks/{vue-D1vcEBAQ.es.js → vue-CKmzTNVs.es.js} +2 -2
  14. package/dist/chunks/{vue-BQxRC6G7.cjs → vue-Cwv-wUpm.cjs} +2 -2
  15. package/dist/chunks/xml-js-BSDu25I7.cjs +3 -0
  16. package/dist/chunks/xml-js-CBrRls0f.es.js +2 -0
  17. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  18. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  19. package/dist/style.css +2 -0
  20. package/dist/super-editor/ai-writer.es.js +2 -2
  21. package/dist/super-editor/chunks/{converter-D6qfGG_6.js → converter-DgrhVpVg.js} +440 -403
  22. package/dist/super-editor/chunks/{docx-zipper-BqmHhBsY.js → docx-zipper-rQGWdry3.js} +2 -2
  23. package/dist/super-editor/chunks/{editor-5q11lIMq.js → editor-CClqHaHN.js} +5 -5
  24. package/dist/super-editor/chunks/{index-sJFE-5Sw.js → index-DldNo6-E.js} +1 -1
  25. package/dist/super-editor/chunks/{toolbar-BV-1nlen.js → toolbar-DMCudruT.js} +2 -2
  26. package/dist/super-editor/converter.es.js +1 -1
  27. package/dist/super-editor/docx-zipper.es.js +2 -2
  28. package/dist/super-editor/editor.es.js +3 -3
  29. package/dist/super-editor/file-zipper.es.js +1 -1
  30. package/dist/super-editor/style.css +2 -0
  31. package/dist/super-editor/super-editor/src/core/super-converter/relationship-helpers.d.ts.map +1 -1
  32. package/dist/super-editor/super-editor/src/extensions/index.d.ts +2 -2
  33. package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
  34. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  35. package/dist/super-editor/super-editor.es.js +6 -6
  36. package/dist/super-editor/toolbar.es.js +2 -2
  37. package/dist/super-editor.cjs +2 -2
  38. package/dist/super-editor.es.js +2 -2
  39. package/dist/superdoc.cjs +2 -2
  40. package/dist/superdoc.es.js +2 -2
  41. package/dist/superdoc.umd.js +645 -608
  42. package/dist/superdoc.umd.js.map +1 -1
  43. package/package.json +2 -5
  44. package/dist/chunks/xml-js-cO2Q8Wfu.cjs +0 -3
  45. package/dist/chunks/xml-js-jMPlIVKT.es.js +0 -2
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const vue = require("./vue-BQxRC6G7.cjs");
2
+ const vue = require("./vue-Cwv-wUpm.cjs");
3
3
  const Y = require("yjs");
4
4
  function _interopNamespaceDefault(e) {
5
5
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -207,15 +207,15 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
207
207
  * @author Feross Aboukhadijeh <https://feross.org>
208
208
  * @license MIT
209
209
  */
210
- (function(exports2) {
210
+ (function(exports$1) {
211
211
  const base64 = base64Js;
212
212
  const ieee754$1 = ieee754;
213
213
  const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
214
- exports2.Buffer = Buffer3;
215
- exports2.SlowBuffer = SlowBuffer;
216
- exports2.INSPECT_MAX_BYTES = 50;
214
+ exports$1.Buffer = Buffer3;
215
+ exports$1.SlowBuffer = SlowBuffer;
216
+ exports$1.INSPECT_MAX_BYTES = 50;
217
217
  const K_MAX_LENGTH = 2147483647;
218
- exports2.kMaxLength = K_MAX_LENGTH;
218
+ exports$1.kMaxLength = K_MAX_LENGTH;
219
219
  const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;
220
220
  Buffer3.TYPED_ARRAY_SUPPORT = typedArraySupport();
221
221
  if (!Buffer3.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
@@ -433,17 +433,17 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
433
433
  );
434
434
  }
435
435
  if (a === b2) return 0;
436
- let x = a.length;
436
+ let x2 = a.length;
437
437
  let y2 = b2.length;
438
- for (let i = 0, len = Math.min(x, y2); i < len; ++i) {
438
+ for (let i = 0, len = Math.min(x2, y2); i < len; ++i) {
439
439
  if (a[i] !== b2[i]) {
440
- x = a[i];
440
+ x2 = a[i];
441
441
  y2 = b2[i];
442
442
  break;
443
443
  }
444
444
  }
445
- if (x < y2) return -1;
446
- if (y2 < x) return 1;
445
+ if (x2 < y2) return -1;
446
+ if (y2 < x2) return 1;
447
447
  return 0;
448
448
  };
449
449
  Buffer3.isEncoding = function isEncoding(encoding) {
@@ -646,7 +646,7 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
646
646
  };
647
647
  Buffer3.prototype.inspect = function inspect() {
648
648
  let str = "";
649
- const max2 = exports2.INSPECT_MAX_BYTES;
649
+ const max2 = exports$1.INSPECT_MAX_BYTES;
650
650
  str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
651
651
  if (this.length > max2) str += " ... ";
652
652
  return "<Buffer " + str + ">";
@@ -692,20 +692,20 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
692
692
  thisStart >>>= 0;
693
693
  thisEnd >>>= 0;
694
694
  if (this === target) return 0;
695
- let x = thisEnd - thisStart;
695
+ let x2 = thisEnd - thisStart;
696
696
  let y2 = end2 - start2;
697
- const len = Math.min(x, y2);
697
+ const len = Math.min(x2, y2);
698
698
  const thisCopy = this.slice(thisStart, thisEnd);
699
699
  const targetCopy = target.slice(start2, end2);
700
700
  for (let i = 0; i < len; ++i) {
701
701
  if (thisCopy[i] !== targetCopy[i]) {
702
- x = thisCopy[i];
702
+ x2 = thisCopy[i];
703
703
  y2 = targetCopy[i];
704
704
  break;
705
705
  }
706
706
  }
707
- if (x < y2) return -1;
708
- if (y2 < x) return 1;
707
+ if (x2 < y2) return -1;
708
+ if (y2 < x2) return 1;
709
709
  return 0;
710
710
  };
711
711
  function bidirectionalIndexOf(buffer2, val, byteOffset, encoding, dir) {
@@ -1795,8 +1795,8 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
1795
1795
  })(buffer);
1796
1796
  const Buffer2 = buffer.Buffer;
1797
1797
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof vue.global !== "undefined" ? vue.global : typeof self !== "undefined" ? self : {};
1798
- function getDefaultExportFromCjs$2(x) {
1799
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
1798
+ function getDefaultExportFromCjs$2(x2) {
1799
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
1800
1800
  }
1801
1801
  var sax = {};
1802
1802
  var events$1 = { exports: {} };
@@ -1804,13 +1804,13 @@ var hasRequiredEvents;
1804
1804
  function requireEvents() {
1805
1805
  if (hasRequiredEvents) return events$1.exports;
1806
1806
  hasRequiredEvents = 1;
1807
- var R2 = typeof Reflect === "object" ? Reflect : null;
1808
- var ReflectApply = R2 && typeof R2.apply === "function" ? R2.apply : function ReflectApply2(target, receiver, args) {
1807
+ var R = typeof Reflect === "object" ? Reflect : null;
1808
+ var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) {
1809
1809
  return Function.prototype.apply.call(target, receiver, args);
1810
1810
  };
1811
1811
  var ReflectOwnKeys;
1812
- if (R2 && typeof R2.ownKeys === "function") {
1813
- ReflectOwnKeys = R2.ownKeys;
1812
+ if (R && typeof R.ownKeys === "function") {
1813
+ ReflectOwnKeys = R.ownKeys;
1814
1814
  } else if (Object.getOwnPropertySymbols) {
1815
1815
  ReflectOwnKeys = function ReflectOwnKeys2(target) {
1816
1816
  return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
@@ -2200,8 +2200,8 @@ function requireInherits_browser() {
2200
2200
  }
2201
2201
  return inherits_browser.exports;
2202
2202
  }
2203
- function getDefaultExportFromCjs$1(x) {
2204
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
2203
+ function getDefaultExportFromCjs$1(x2) {
2204
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
2205
2205
  }
2206
2206
  var browser$1 = { exports: {} };
2207
2207
  var process$1 = browser$1.exports = {};
@@ -2375,8 +2375,8 @@ var hasRequiredDist;
2375
2375
  function requireDist() {
2376
2376
  if (hasRequiredDist) return dist;
2377
2377
  hasRequiredDist = 1;
2378
- (function(exports2) {
2379
- Object.defineProperties(exports2, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
2378
+ (function(exports$1) {
2379
+ Object.defineProperties(exports$1, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
2380
2380
  var buffer2 = {};
2381
2381
  var base64Js2 = {};
2382
2382
  base64Js2.byteLength = byteLength2;
@@ -2556,15 +2556,15 @@ function requireDist() {
2556
2556
  * @author Feross Aboukhadijeh <https://feross.org>
2557
2557
  * @license MIT
2558
2558
  */
2559
- (function(exports22) {
2559
+ (function(exports$12) {
2560
2560
  const base64 = base64Js2;
2561
2561
  const ieee754$1 = ieee7542;
2562
2562
  const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
2563
- exports22.Buffer = Buffer4;
2564
- exports22.SlowBuffer = SlowBuffer;
2565
- exports22.INSPECT_MAX_BYTES = 50;
2563
+ exports$12.Buffer = Buffer4;
2564
+ exports$12.SlowBuffer = SlowBuffer;
2565
+ exports$12.INSPECT_MAX_BYTES = 50;
2566
2566
  const K_MAX_LENGTH = 2147483647;
2567
- exports22.kMaxLength = K_MAX_LENGTH;
2567
+ exports$12.kMaxLength = K_MAX_LENGTH;
2568
2568
  const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;
2569
2569
  Buffer4.TYPED_ARRAY_SUPPORT = typedArraySupport();
2570
2570
  if (!Buffer4.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
@@ -2782,17 +2782,17 @@ function requireDist() {
2782
2782
  );
2783
2783
  }
2784
2784
  if (a === b2) return 0;
2785
- let x = a.length;
2785
+ let x2 = a.length;
2786
2786
  let y2 = b2.length;
2787
- for (let i2 = 0, len2 = Math.min(x, y2); i2 < len2; ++i2) {
2787
+ for (let i2 = 0, len2 = Math.min(x2, y2); i2 < len2; ++i2) {
2788
2788
  if (a[i2] !== b2[i2]) {
2789
- x = a[i2];
2789
+ x2 = a[i2];
2790
2790
  y2 = b2[i2];
2791
2791
  break;
2792
2792
  }
2793
2793
  }
2794
- if (x < y2) return -1;
2795
- if (y2 < x) return 1;
2794
+ if (x2 < y2) return -1;
2795
+ if (y2 < x2) return 1;
2796
2796
  return 0;
2797
2797
  };
2798
2798
  Buffer4.isEncoding = function isEncoding(encoding) {
@@ -2995,7 +2995,7 @@ function requireDist() {
2995
2995
  };
2996
2996
  Buffer4.prototype.inspect = function inspect() {
2997
2997
  let str = "";
2998
- const max2 = exports22.INSPECT_MAX_BYTES;
2998
+ const max2 = exports$12.INSPECT_MAX_BYTES;
2999
2999
  str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
3000
3000
  if (this.length > max2) str += " ... ";
3001
3001
  return "<Buffer " + str + ">";
@@ -3041,20 +3041,20 @@ function requireDist() {
3041
3041
  thisStart >>>= 0;
3042
3042
  thisEnd >>>= 0;
3043
3043
  if (this === target) return 0;
3044
- let x = thisEnd - thisStart;
3044
+ let x2 = thisEnd - thisStart;
3045
3045
  let y2 = end2 - start2;
3046
- const len2 = Math.min(x, y2);
3046
+ const len2 = Math.min(x2, y2);
3047
3047
  const thisCopy = this.slice(thisStart, thisEnd);
3048
3048
  const targetCopy = target.slice(start2, end2);
3049
3049
  for (let i2 = 0; i2 < len2; ++i2) {
3050
3050
  if (thisCopy[i2] !== targetCopy[i2]) {
3051
- x = thisCopy[i2];
3051
+ x2 = thisCopy[i2];
3052
3052
  y2 = targetCopy[i2];
3053
3053
  break;
3054
3054
  }
3055
3055
  }
3056
- if (x < y2) return -1;
3057
- if (y2 < x) return 1;
3056
+ if (x2 < y2) return -1;
3057
+ if (y2 < x2) return 1;
3058
3058
  return 0;
3059
3059
  };
3060
3060
  function bidirectionalIndexOf(buffer3, val, byteOffset, encoding, dir) {
@@ -4143,24 +4143,24 @@ function requireDist() {
4143
4143
  }
4144
4144
  })(buffer2);
4145
4145
  const Buffer3 = buffer2.Buffer;
4146
- exports2.Blob = buffer2.Blob;
4147
- exports2.BlobOptions = buffer2.BlobOptions;
4148
- exports2.Buffer = buffer2.Buffer;
4149
- exports2.File = buffer2.File;
4150
- exports2.FileOptions = buffer2.FileOptions;
4151
- exports2.INSPECT_MAX_BYTES = buffer2.INSPECT_MAX_BYTES;
4152
- exports2.SlowBuffer = buffer2.SlowBuffer;
4153
- exports2.TranscodeEncoding = buffer2.TranscodeEncoding;
4154
- exports2.atob = buffer2.atob;
4155
- exports2.btoa = buffer2.btoa;
4156
- exports2.constants = buffer2.constants;
4157
- exports2.default = Buffer3;
4158
- exports2.isAscii = buffer2.isAscii;
4159
- exports2.isUtf8 = buffer2.isUtf8;
4160
- exports2.kMaxLength = buffer2.kMaxLength;
4161
- exports2.kStringMaxLength = buffer2.kStringMaxLength;
4162
- exports2.resolveObjectURL = buffer2.resolveObjectURL;
4163
- exports2.transcode = buffer2.transcode;
4146
+ exports$1.Blob = buffer2.Blob;
4147
+ exports$1.BlobOptions = buffer2.BlobOptions;
4148
+ exports$1.Buffer = buffer2.Buffer;
4149
+ exports$1.File = buffer2.File;
4150
+ exports$1.FileOptions = buffer2.FileOptions;
4151
+ exports$1.INSPECT_MAX_BYTES = buffer2.INSPECT_MAX_BYTES;
4152
+ exports$1.SlowBuffer = buffer2.SlowBuffer;
4153
+ exports$1.TranscodeEncoding = buffer2.TranscodeEncoding;
4154
+ exports$1.atob = buffer2.atob;
4155
+ exports$1.btoa = buffer2.btoa;
4156
+ exports$1.constants = buffer2.constants;
4157
+ exports$1.default = Buffer3;
4158
+ exports$1.isAscii = buffer2.isAscii;
4159
+ exports$1.isUtf8 = buffer2.isUtf8;
4160
+ exports$1.kMaxLength = buffer2.kMaxLength;
4161
+ exports$1.kStringMaxLength = buffer2.kStringMaxLength;
4162
+ exports$1.resolveObjectURL = buffer2.resolveObjectURL;
4163
+ exports$1.transcode = buffer2.transcode;
4164
4164
  })(dist);
4165
4165
  return dist;
4166
4166
  }
@@ -4626,15 +4626,15 @@ function requireGetProto() {
4626
4626
  var reflectGetProto = requireReflect_getPrototypeOf();
4627
4627
  var originalGetProto = requireObject_getPrototypeOf();
4628
4628
  var getDunderProto = /* @__PURE__ */ requireGet();
4629
- getProto = reflectGetProto ? function getProto2(O2) {
4630
- return reflectGetProto(O2);
4631
- } : originalGetProto ? function getProto2(O2) {
4632
- if (!O2 || typeof O2 !== "object" && typeof O2 !== "function") {
4629
+ getProto = reflectGetProto ? function getProto2(O) {
4630
+ return reflectGetProto(O);
4631
+ } : originalGetProto ? function getProto2(O) {
4632
+ if (!O || typeof O !== "object" && typeof O !== "function") {
4633
4633
  throw new TypeError("getProto: not an object");
4634
4634
  }
4635
- return originalGetProto(O2);
4636
- } : getDunderProto ? function getProto2(O2) {
4637
- return getDunderProto(O2);
4635
+ return originalGetProto(O);
4636
+ } : getDunderProto ? function getProto2(O) {
4637
+ return getDunderProto(O);
4638
4638
  } : null;
4639
4639
  return getProto;
4640
4640
  }
@@ -5312,8 +5312,8 @@ function requireForEach() {
5312
5312
  }
5313
5313
  }
5314
5314
  };
5315
- function isArray2(x) {
5316
- return toStr.call(x) === "[object Array]";
5315
+ function isArray2(x2) {
5316
+ return toStr.call(x2) === "[object Array]";
5317
5317
  }
5318
5318
  forEach = function forEach22(list, iterator, thisArg) {
5319
5319
  if (!isCallable2(iterator)) {
@@ -5662,7 +5662,7 @@ var hasRequiredTypes;
5662
5662
  function requireTypes() {
5663
5663
  if (hasRequiredTypes) return types;
5664
5664
  hasRequiredTypes = 1;
5665
- (function(exports2) {
5665
+ (function(exports$1) {
5666
5666
  var isArgumentsObject = /* @__PURE__ */ requireIsArguments();
5667
5667
  var isGeneratorFunction2 = requireIsGeneratorFunction();
5668
5668
  var whichTypedArray2 = /* @__PURE__ */ requireWhichTypedArray();
@@ -5693,64 +5693,64 @@ function requireTypes() {
5693
5693
  return false;
5694
5694
  }
5695
5695
  }
5696
- exports2.isArgumentsObject = isArgumentsObject;
5697
- exports2.isGeneratorFunction = isGeneratorFunction2;
5698
- exports2.isTypedArray = isTypedArray2;
5696
+ exports$1.isArgumentsObject = isArgumentsObject;
5697
+ exports$1.isGeneratorFunction = isGeneratorFunction2;
5698
+ exports$1.isTypedArray = isTypedArray2;
5699
5699
  function isPromise(input) {
5700
5700
  return typeof Promise !== "undefined" && input instanceof Promise || input !== null && typeof input === "object" && typeof input.then === "function" && typeof input.catch === "function";
5701
5701
  }
5702
- exports2.isPromise = isPromise;
5702
+ exports$1.isPromise = isPromise;
5703
5703
  function isArrayBufferView(value) {
5704
5704
  if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
5705
5705
  return ArrayBuffer.isView(value);
5706
5706
  }
5707
5707
  return isTypedArray2(value) || isDataView(value);
5708
5708
  }
5709
- exports2.isArrayBufferView = isArrayBufferView;
5709
+ exports$1.isArrayBufferView = isArrayBufferView;
5710
5710
  function isUint8Array(value) {
5711
5711
  return whichTypedArray2(value) === "Uint8Array";
5712
5712
  }
5713
- exports2.isUint8Array = isUint8Array;
5713
+ exports$1.isUint8Array = isUint8Array;
5714
5714
  function isUint8ClampedArray(value) {
5715
5715
  return whichTypedArray2(value) === "Uint8ClampedArray";
5716
5716
  }
5717
- exports2.isUint8ClampedArray = isUint8ClampedArray;
5717
+ exports$1.isUint8ClampedArray = isUint8ClampedArray;
5718
5718
  function isUint16Array(value) {
5719
5719
  return whichTypedArray2(value) === "Uint16Array";
5720
5720
  }
5721
- exports2.isUint16Array = isUint16Array;
5721
+ exports$1.isUint16Array = isUint16Array;
5722
5722
  function isUint32Array(value) {
5723
5723
  return whichTypedArray2(value) === "Uint32Array";
5724
5724
  }
5725
- exports2.isUint32Array = isUint32Array;
5725
+ exports$1.isUint32Array = isUint32Array;
5726
5726
  function isInt8Array(value) {
5727
5727
  return whichTypedArray2(value) === "Int8Array";
5728
5728
  }
5729
- exports2.isInt8Array = isInt8Array;
5729
+ exports$1.isInt8Array = isInt8Array;
5730
5730
  function isInt16Array(value) {
5731
5731
  return whichTypedArray2(value) === "Int16Array";
5732
5732
  }
5733
- exports2.isInt16Array = isInt16Array;
5733
+ exports$1.isInt16Array = isInt16Array;
5734
5734
  function isInt32Array(value) {
5735
5735
  return whichTypedArray2(value) === "Int32Array";
5736
5736
  }
5737
- exports2.isInt32Array = isInt32Array;
5737
+ exports$1.isInt32Array = isInt32Array;
5738
5738
  function isFloat32Array(value) {
5739
5739
  return whichTypedArray2(value) === "Float32Array";
5740
5740
  }
5741
- exports2.isFloat32Array = isFloat32Array;
5741
+ exports$1.isFloat32Array = isFloat32Array;
5742
5742
  function isFloat64Array(value) {
5743
5743
  return whichTypedArray2(value) === "Float64Array";
5744
5744
  }
5745
- exports2.isFloat64Array = isFloat64Array;
5745
+ exports$1.isFloat64Array = isFloat64Array;
5746
5746
  function isBigInt64Array(value) {
5747
5747
  return whichTypedArray2(value) === "BigInt64Array";
5748
5748
  }
5749
- exports2.isBigInt64Array = isBigInt64Array;
5749
+ exports$1.isBigInt64Array = isBigInt64Array;
5750
5750
  function isBigUint64Array(value) {
5751
5751
  return whichTypedArray2(value) === "BigUint64Array";
5752
5752
  }
5753
- exports2.isBigUint64Array = isBigUint64Array;
5753
+ exports$1.isBigUint64Array = isBigUint64Array;
5754
5754
  function isMapToString(value) {
5755
5755
  return ObjectToString(value) === "[object Map]";
5756
5756
  }
@@ -5761,7 +5761,7 @@ function requireTypes() {
5761
5761
  }
5762
5762
  return isMapToString.working ? isMapToString(value) : value instanceof Map;
5763
5763
  }
5764
- exports2.isMap = isMap;
5764
+ exports$1.isMap = isMap;
5765
5765
  function isSetToString(value) {
5766
5766
  return ObjectToString(value) === "[object Set]";
5767
5767
  }
@@ -5772,7 +5772,7 @@ function requireTypes() {
5772
5772
  }
5773
5773
  return isSetToString.working ? isSetToString(value) : value instanceof Set;
5774
5774
  }
5775
- exports2.isSet = isSet;
5775
+ exports$1.isSet = isSet;
5776
5776
  function isWeakMapToString(value) {
5777
5777
  return ObjectToString(value) === "[object WeakMap]";
5778
5778
  }
@@ -5783,7 +5783,7 @@ function requireTypes() {
5783
5783
  }
5784
5784
  return isWeakMapToString.working ? isWeakMapToString(value) : value instanceof WeakMap;
5785
5785
  }
5786
- exports2.isWeakMap = isWeakMap;
5786
+ exports$1.isWeakMap = isWeakMap;
5787
5787
  function isWeakSetToString(value) {
5788
5788
  return ObjectToString(value) === "[object WeakSet]";
5789
5789
  }
@@ -5791,7 +5791,7 @@ function requireTypes() {
5791
5791
  function isWeakSet(value) {
5792
5792
  return isWeakSetToString(value);
5793
5793
  }
5794
- exports2.isWeakSet = isWeakSet;
5794
+ exports$1.isWeakSet = isWeakSet;
5795
5795
  function isArrayBufferToString(value) {
5796
5796
  return ObjectToString(value) === "[object ArrayBuffer]";
5797
5797
  }
@@ -5802,7 +5802,7 @@ function requireTypes() {
5802
5802
  }
5803
5803
  return isArrayBufferToString.working ? isArrayBufferToString(value) : value instanceof ArrayBuffer;
5804
5804
  }
5805
- exports2.isArrayBuffer = isArrayBuffer;
5805
+ exports$1.isArrayBuffer = isArrayBuffer;
5806
5806
  function isDataViewToString(value) {
5807
5807
  return ObjectToString(value) === "[object DataView]";
5808
5808
  }
@@ -5813,7 +5813,7 @@ function requireTypes() {
5813
5813
  }
5814
5814
  return isDataViewToString.working ? isDataViewToString(value) : value instanceof DataView;
5815
5815
  }
5816
- exports2.isDataView = isDataView;
5816
+ exports$1.isDataView = isDataView;
5817
5817
  var SharedArrayBufferCopy = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : void 0;
5818
5818
  function isSharedArrayBufferToString(value) {
5819
5819
  return ObjectToString(value) === "[object SharedArrayBuffer]";
@@ -5827,57 +5827,57 @@ function requireTypes() {
5827
5827
  }
5828
5828
  return isSharedArrayBufferToString.working ? isSharedArrayBufferToString(value) : value instanceof SharedArrayBufferCopy;
5829
5829
  }
5830
- exports2.isSharedArrayBuffer = isSharedArrayBuffer;
5830
+ exports$1.isSharedArrayBuffer = isSharedArrayBuffer;
5831
5831
  function isAsyncFunction(value) {
5832
5832
  return ObjectToString(value) === "[object AsyncFunction]";
5833
5833
  }
5834
- exports2.isAsyncFunction = isAsyncFunction;
5834
+ exports$1.isAsyncFunction = isAsyncFunction;
5835
5835
  function isMapIterator(value) {
5836
5836
  return ObjectToString(value) === "[object Map Iterator]";
5837
5837
  }
5838
- exports2.isMapIterator = isMapIterator;
5838
+ exports$1.isMapIterator = isMapIterator;
5839
5839
  function isSetIterator(value) {
5840
5840
  return ObjectToString(value) === "[object Set Iterator]";
5841
5841
  }
5842
- exports2.isSetIterator = isSetIterator;
5842
+ exports$1.isSetIterator = isSetIterator;
5843
5843
  function isGeneratorObject(value) {
5844
5844
  return ObjectToString(value) === "[object Generator]";
5845
5845
  }
5846
- exports2.isGeneratorObject = isGeneratorObject;
5846
+ exports$1.isGeneratorObject = isGeneratorObject;
5847
5847
  function isWebAssemblyCompiledModule(value) {
5848
5848
  return ObjectToString(value) === "[object WebAssembly.Module]";
5849
5849
  }
5850
- exports2.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
5850
+ exports$1.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
5851
5851
  function isNumberObject(value) {
5852
5852
  return checkBoxedPrimitive(value, numberValue);
5853
5853
  }
5854
- exports2.isNumberObject = isNumberObject;
5854
+ exports$1.isNumberObject = isNumberObject;
5855
5855
  function isStringObject(value) {
5856
5856
  return checkBoxedPrimitive(value, stringValue);
5857
5857
  }
5858
- exports2.isStringObject = isStringObject;
5858
+ exports$1.isStringObject = isStringObject;
5859
5859
  function isBooleanObject(value) {
5860
5860
  return checkBoxedPrimitive(value, booleanValue);
5861
5861
  }
5862
- exports2.isBooleanObject = isBooleanObject;
5862
+ exports$1.isBooleanObject = isBooleanObject;
5863
5863
  function isBigIntObject(value) {
5864
5864
  return BigIntSupported && checkBoxedPrimitive(value, bigIntValue);
5865
5865
  }
5866
- exports2.isBigIntObject = isBigIntObject;
5866
+ exports$1.isBigIntObject = isBigIntObject;
5867
5867
  function isSymbolObject(value) {
5868
5868
  return SymbolSupported && checkBoxedPrimitive(value, symbolValue);
5869
5869
  }
5870
- exports2.isSymbolObject = isSymbolObject;
5870
+ exports$1.isSymbolObject = isSymbolObject;
5871
5871
  function isBoxedPrimitive(value) {
5872
5872
  return isNumberObject(value) || isStringObject(value) || isBooleanObject(value) || isBigIntObject(value) || isSymbolObject(value);
5873
5873
  }
5874
- exports2.isBoxedPrimitive = isBoxedPrimitive;
5874
+ exports$1.isBoxedPrimitive = isBoxedPrimitive;
5875
5875
  function isAnyArrayBuffer(value) {
5876
5876
  return typeof Uint8Array !== "undefined" && (isArrayBuffer(value) || isSharedArrayBuffer(value));
5877
5877
  }
5878
- exports2.isAnyArrayBuffer = isAnyArrayBuffer;
5878
+ exports$1.isAnyArrayBuffer = isAnyArrayBuffer;
5879
5879
  ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(method) {
5880
- Object.defineProperty(exports2, method, {
5880
+ Object.defineProperty(exports$1, method, {
5881
5881
  enumerable: false,
5882
5882
  value: function() {
5883
5883
  throw new Error(method + " is not supported in userland");
@@ -5901,7 +5901,7 @@ var hasRequiredUtil;
5901
5901
  function requireUtil() {
5902
5902
  if (hasRequiredUtil) return util;
5903
5903
  hasRequiredUtil = 1;
5904
- (function(exports2) {
5904
+ (function(exports$1) {
5905
5905
  var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
5906
5906
  var keys2 = Object.keys(obj);
5907
5907
  var descriptors = {};
@@ -5911,7 +5911,7 @@ function requireUtil() {
5911
5911
  return descriptors;
5912
5912
  };
5913
5913
  var formatRegExp = /%[sdj%]/g;
5914
- exports2.format = function(f2) {
5914
+ exports$1.format = function(f2) {
5915
5915
  if (!isString(f2)) {
5916
5916
  var objects = [];
5917
5917
  for (var i = 0; i < arguments.length; i++) {
@@ -5922,10 +5922,10 @@ function requireUtil() {
5922
5922
  var i = 1;
5923
5923
  var args = arguments;
5924
5924
  var len = args.length;
5925
- var str = String(f2).replace(formatRegExp, function(x2) {
5926
- if (x2 === "%%") return "%";
5927
- if (i >= len) return x2;
5928
- switch (x2) {
5925
+ var str = String(f2).replace(formatRegExp, function(x3) {
5926
+ if (x3 === "%%") return "%";
5927
+ if (i >= len) return x3;
5928
+ switch (x3) {
5929
5929
  case "%s":
5930
5930
  return String(args[i++]);
5931
5931
  case "%d":
@@ -5937,25 +5937,25 @@ function requireUtil() {
5937
5937
  return "[Circular]";
5938
5938
  }
5939
5939
  default:
5940
- return x2;
5940
+ return x3;
5941
5941
  }
5942
5942
  });
5943
- for (var x = args[i]; i < len; x = args[++i]) {
5944
- if (isNull(x) || !isObject2(x)) {
5945
- str += " " + x;
5943
+ for (var x2 = args[i]; i < len; x2 = args[++i]) {
5944
+ if (isNull(x2) || !isObject2(x2)) {
5945
+ str += " " + x2;
5946
5946
  } else {
5947
- str += " " + inspect(x);
5947
+ str += " " + inspect(x2);
5948
5948
  }
5949
5949
  }
5950
5950
  return str;
5951
5951
  };
5952
- exports2.deprecate = function(fn2, msg2) {
5952
+ exports$1.deprecate = function(fn2, msg2) {
5953
5953
  if (typeof process$1$1 !== "undefined" && process$1$1.noDeprecation === true) {
5954
5954
  return fn2;
5955
5955
  }
5956
5956
  if (typeof process$1$1 === "undefined") {
5957
5957
  return function() {
5958
- return exports2.deprecate(fn2, msg2).apply(this, arguments);
5958
+ return exports$1.deprecate(fn2, msg2).apply(this, arguments);
5959
5959
  };
5960
5960
  }
5961
5961
  var warned = false;
@@ -5981,13 +5981,13 @@ function requireUtil() {
5981
5981
  debugEnv = debugEnv.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase();
5982
5982
  debugEnvRegex = new RegExp("^" + debugEnv + "$", "i");
5983
5983
  }
5984
- exports2.debuglog = function(set) {
5984
+ exports$1.debuglog = function(set) {
5985
5985
  set = set.toUpperCase();
5986
5986
  if (!debugs[set]) {
5987
5987
  if (debugEnvRegex.test(set)) {
5988
5988
  var pid = process$1$1.pid;
5989
5989
  debugs[set] = function() {
5990
- var msg2 = exports2.format.apply(exports2, arguments);
5990
+ var msg2 = exports$1.format.apply(exports$1, arguments);
5991
5991
  console.error("%s %d: %s", set, pid, msg2);
5992
5992
  };
5993
5993
  } else {
@@ -6007,7 +6007,7 @@ function requireUtil() {
6007
6007
  if (isBoolean(opts)) {
6008
6008
  ctx2.showHidden = opts;
6009
6009
  } else if (opts) {
6010
- exports2._extend(ctx2, opts);
6010
+ exports$1._extend(ctx2, opts);
6011
6011
  }
6012
6012
  if (isUndefined(ctx2.showHidden)) ctx2.showHidden = false;
6013
6013
  if (isUndefined(ctx2.depth)) ctx2.depth = 2;
@@ -6016,7 +6016,7 @@ function requireUtil() {
6016
6016
  if (ctx2.colors) ctx2.stylize = stylizeWithColor;
6017
6017
  return formatValue(ctx2, obj, ctx2.depth);
6018
6018
  }
6019
- exports2.inspect = inspect;
6019
+ exports$1.inspect = inspect;
6020
6020
  inspect.colors = {
6021
6021
  "bold": [1, 22],
6022
6022
  "italic": [3, 23],
@@ -6063,7 +6063,7 @@ function requireUtil() {
6063
6063
  }
6064
6064
  function formatValue(ctx2, value, recurseTimes) {
6065
6065
  if (ctx2.customInspect && value && isFunction2(value.inspect) && // Filter out the util module, it's inspect function is special
6066
- value.inspect !== exports2.inspect && // Also filter out any prototype objects using the circular check.
6066
+ value.inspect !== exports$1.inspect && // Also filter out any prototype objects using the circular check.
6067
6067
  !(value.constructor && value.constructor.prototype === value)) {
6068
6068
  var ret = value.inspect(recurseTimes, ctx2);
6069
6069
  if (!isString(ret)) {
@@ -6249,68 +6249,68 @@ function requireUtil() {
6249
6249
  }
6250
6250
  return braces[0] + base2 + " " + output.join(", ") + " " + braces[1];
6251
6251
  }
6252
- exports2.types = requireTypes();
6252
+ exports$1.types = requireTypes();
6253
6253
  function isArray2(ar) {
6254
6254
  return Array.isArray(ar);
6255
6255
  }
6256
- exports2.isArray = isArray2;
6256
+ exports$1.isArray = isArray2;
6257
6257
  function isBoolean(arg) {
6258
6258
  return typeof arg === "boolean";
6259
6259
  }
6260
- exports2.isBoolean = isBoolean;
6260
+ exports$1.isBoolean = isBoolean;
6261
6261
  function isNull(arg) {
6262
6262
  return arg === null;
6263
6263
  }
6264
- exports2.isNull = isNull;
6264
+ exports$1.isNull = isNull;
6265
6265
  function isNullOrUndefined(arg) {
6266
6266
  return arg == null;
6267
6267
  }
6268
- exports2.isNullOrUndefined = isNullOrUndefined;
6268
+ exports$1.isNullOrUndefined = isNullOrUndefined;
6269
6269
  function isNumber(arg) {
6270
6270
  return typeof arg === "number";
6271
6271
  }
6272
- exports2.isNumber = isNumber;
6272
+ exports$1.isNumber = isNumber;
6273
6273
  function isString(arg) {
6274
6274
  return typeof arg === "string";
6275
6275
  }
6276
- exports2.isString = isString;
6276
+ exports$1.isString = isString;
6277
6277
  function isSymbol2(arg) {
6278
6278
  return typeof arg === "symbol";
6279
6279
  }
6280
- exports2.isSymbol = isSymbol2;
6280
+ exports$1.isSymbol = isSymbol2;
6281
6281
  function isUndefined(arg) {
6282
6282
  return arg === void 0;
6283
6283
  }
6284
- exports2.isUndefined = isUndefined;
6284
+ exports$1.isUndefined = isUndefined;
6285
6285
  function isRegExp2(re2) {
6286
6286
  return isObject2(re2) && objectToString2(re2) === "[object RegExp]";
6287
6287
  }
6288
- exports2.isRegExp = isRegExp2;
6289
- exports2.types.isRegExp = isRegExp2;
6288
+ exports$1.isRegExp = isRegExp2;
6289
+ exports$1.types.isRegExp = isRegExp2;
6290
6290
  function isObject2(arg) {
6291
6291
  return typeof arg === "object" && arg !== null;
6292
6292
  }
6293
- exports2.isObject = isObject2;
6293
+ exports$1.isObject = isObject2;
6294
6294
  function isDate(d2) {
6295
6295
  return isObject2(d2) && objectToString2(d2) === "[object Date]";
6296
6296
  }
6297
- exports2.isDate = isDate;
6298
- exports2.types.isDate = isDate;
6297
+ exports$1.isDate = isDate;
6298
+ exports$1.types.isDate = isDate;
6299
6299
  function isError(e) {
6300
6300
  return isObject2(e) && (objectToString2(e) === "[object Error]" || e instanceof Error);
6301
6301
  }
6302
- exports2.isError = isError;
6303
- exports2.types.isNativeError = isError;
6302
+ exports$1.isError = isError;
6303
+ exports$1.types.isNativeError = isError;
6304
6304
  function isFunction2(arg) {
6305
6305
  return typeof arg === "function";
6306
6306
  }
6307
- exports2.isFunction = isFunction2;
6307
+ exports$1.isFunction = isFunction2;
6308
6308
  function isPrimitive(arg) {
6309
6309
  return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || // ES6 symbol
6310
6310
  typeof arg === "undefined";
6311
6311
  }
6312
- exports2.isPrimitive = isPrimitive;
6313
- exports2.isBuffer = requireIsBufferBrowser();
6312
+ exports$1.isPrimitive = isPrimitive;
6313
+ exports$1.isBuffer = requireIsBufferBrowser();
6314
6314
  function objectToString2(o) {
6315
6315
  return Object.prototype.toString.call(o);
6316
6316
  }
@@ -6340,11 +6340,11 @@ function requireUtil() {
6340
6340
  ].join(":");
6341
6341
  return [d2.getDate(), months[d2.getMonth()], time2].join(" ");
6342
6342
  }
6343
- exports2.log = function() {
6344
- console.log("%s - %s", timestamp(), exports2.format.apply(exports2, arguments));
6343
+ exports$1.log = function() {
6344
+ console.log("%s - %s", timestamp(), exports$1.format.apply(exports$1, arguments));
6345
6345
  };
6346
- exports2.inherits = requireInherits_browser();
6347
- exports2._extend = function(origin, add) {
6346
+ exports$1.inherits = requireInherits_browser();
6347
+ exports$1._extend = function(origin, add) {
6348
6348
  if (!add || !isObject2(add)) return origin;
6349
6349
  var keys2 = Object.keys(add);
6350
6350
  var i = keys2.length;
@@ -6357,7 +6357,7 @@ function requireUtil() {
6357
6357
  return Object.prototype.hasOwnProperty.call(obj, prop);
6358
6358
  }
6359
6359
  var kCustomPromisifiedSymbol = typeof Symbol !== "undefined" ? Symbol("util.promisify.custom") : void 0;
6360
- exports2.promisify = function promisify(original) {
6360
+ exports$1.promisify = function promisify(original) {
6361
6361
  if (typeof original !== "function")
6362
6362
  throw new TypeError('The "original" argument must be of type Function');
6363
6363
  if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {
@@ -6409,7 +6409,7 @@ function requireUtil() {
6409
6409
  getOwnPropertyDescriptors(original)
6410
6410
  );
6411
6411
  };
6412
- exports2.promisify.custom = kCustomPromisifiedSymbol;
6412
+ exports$1.promisify.custom = kCustomPromisifiedSymbol;
6413
6413
  function callbackifyOnRejected(reason, cb) {
6414
6414
  if (!reason) {
6415
6415
  var newReason = new Error("Promise was rejected with a falsy value");
@@ -6451,7 +6451,7 @@ function requireUtil() {
6451
6451
  );
6452
6452
  return callbackified;
6453
6453
  }
6454
- exports2.callbackify = callbackify;
6454
+ exports$1.callbackify = callbackify;
6455
6455
  })(util);
6456
6456
  return util;
6457
6457
  }
@@ -7509,11 +7509,12 @@ function require_stream_duplex() {
7509
7509
  }
7510
7510
  var string_decoder = {};
7511
7511
  var safeBuffer = { exports: {} };
7512
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
7512
7513
  var hasRequiredSafeBuffer;
7513
7514
  function requireSafeBuffer() {
7514
7515
  if (hasRequiredSafeBuffer) return safeBuffer.exports;
7515
7516
  hasRequiredSafeBuffer = 1;
7516
- (function(module2, exports2) {
7517
+ (function(module2, exports$1) {
7517
7518
  var buffer2 = requireDist();
7518
7519
  var Buffer3 = buffer2.Buffer;
7519
7520
  function copyProps(src, dst) {
@@ -7524,12 +7525,13 @@ function requireSafeBuffer() {
7524
7525
  if (Buffer3.from && Buffer3.alloc && Buffer3.allocUnsafe && Buffer3.allocUnsafeSlow) {
7525
7526
  module2.exports = buffer2;
7526
7527
  } else {
7527
- copyProps(buffer2, exports2);
7528
- exports2.Buffer = SafeBuffer;
7528
+ copyProps(buffer2, exports$1);
7529
+ exports$1.Buffer = SafeBuffer;
7529
7530
  }
7530
7531
  function SafeBuffer(arg, encodingOrOffset, length2) {
7531
7532
  return Buffer3(arg, encodingOrOffset, length2);
7532
7533
  }
7534
+ SafeBuffer.prototype = Object.create(Buffer3.prototype);
7533
7535
  copyProps(Buffer3, SafeBuffer);
7534
7536
  SafeBuffer.from = function(arg, encodingOrOffset, length2) {
7535
7537
  if (typeof arg === "number") {
@@ -8807,9 +8809,9 @@ function require_stream_readable() {
8807
8809
  return from2(Readable, iterable, opts);
8808
8810
  };
8809
8811
  }
8810
- function indexOf(xs, x) {
8812
+ function indexOf(xs, x2) {
8811
8813
  for (var i = 0, l3 = xs.length; i < l3; i++) {
8812
- if (xs[i] === x) return i;
8814
+ if (xs[i] === x2) return i;
8813
8815
  }
8814
8816
  return -1;
8815
8817
  }
@@ -9094,7 +9096,7 @@ var hasRequiredSax;
9094
9096
  function requireSax() {
9095
9097
  if (hasRequiredSax) return sax;
9096
9098
  hasRequiredSax = 1;
9097
- (function(exports2) {
9099
+ (function(exports$1) {
9098
9100
  (function(sax2) {
9099
9101
  sax2.parser = function(strict, opt) {
9100
9102
  return new SAXParser(strict, opt);
@@ -9267,27 +9269,27 @@ function requireSax() {
9267
9269
  this._parser = new SAXParser(strict, opt);
9268
9270
  this.writable = true;
9269
9271
  this.readable = true;
9270
- var me = this;
9272
+ var me2 = this;
9271
9273
  this._parser.onend = function() {
9272
- me.emit("end");
9274
+ me2.emit("end");
9273
9275
  };
9274
9276
  this._parser.onerror = function(er) {
9275
- me.emit("error", er);
9276
- me._parser.error = null;
9277
+ me2.emit("error", er);
9278
+ me2._parser.error = null;
9277
9279
  };
9278
9280
  this._decoder = null;
9279
9281
  streamWraps.forEach(function(ev) {
9280
- Object.defineProperty(me, "on" + ev, {
9282
+ Object.defineProperty(me2, "on" + ev, {
9281
9283
  get: function() {
9282
- return me._parser["on" + ev];
9284
+ return me2._parser["on" + ev];
9283
9285
  },
9284
- set: function(h2) {
9285
- if (!h2) {
9286
- me.removeAllListeners(ev);
9287
- me._parser["on" + ev] = h2;
9288
- return h2;
9286
+ set: function(h) {
9287
+ if (!h) {
9288
+ me2.removeAllListeners(ev);
9289
+ me2._parser["on" + ev] = h;
9290
+ return h;
9289
9291
  }
9290
- me.on(ev, h2);
9292
+ me2.on(ev, h);
9291
9293
  },
9292
9294
  enumerable: true,
9293
9295
  configurable: false
@@ -9319,15 +9321,15 @@ function requireSax() {
9319
9321
  return true;
9320
9322
  };
9321
9323
  SAXStream.prototype.on = function(ev, handler2) {
9322
- var me = this;
9323
- if (!me._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
9324
- me._parser["on" + ev] = function() {
9324
+ var me2 = this;
9325
+ if (!me2._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
9326
+ me2._parser["on" + ev] = function() {
9325
9327
  var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
9326
9328
  args.splice(0, 0, ev);
9327
- me.emit.apply(me, args);
9329
+ me2.emit.apply(me2, args);
9328
9330
  };
9329
9331
  }
9330
- return Stream.prototype.on.call(me, ev, handler2);
9332
+ return Stream.prototype.on.call(me2, ev, handler2);
9331
9333
  };
9332
9334
  var CDATA = "[CDATA[";
9333
9335
  var DOCTYPE = "DOCTYPE";
@@ -9919,9 +9921,9 @@ function requireSax() {
9919
9921
  var tag = parser.tag = parser.tags.pop();
9920
9922
  parser.tagName = parser.tag.name;
9921
9923
  emitNode(parser, "onclosetag", parser.tagName);
9922
- var x = {};
9924
+ var x2 = {};
9923
9925
  for (var i in tag.ns) {
9924
- x[i] = tag.ns[i];
9926
+ x2[i] = tag.ns[i];
9925
9927
  }
9926
9928
  var parent = parser.tags[parser.tags.length - 1] || parser;
9927
9929
  if (parser.opt.xmlns && tag.ns !== parent.ns) {
@@ -10572,7 +10574,7 @@ function requireSax() {
10572
10574
  }
10573
10575
  })();
10574
10576
  }
10575
- })(exports2);
10577
+ })(exports$1);
10576
10578
  })(sax);
10577
10579
  return sax;
10578
10580
  }
@@ -11401,8 +11403,8 @@ function v4(options, buf, offset2) {
11401
11403
  rnds[8] = rnds[8] & 63 | 128;
11402
11404
  return unsafeStringify(rnds);
11403
11405
  }
11404
- function getDefaultExportFromCjs(x) {
11405
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
11406
+ function getDefaultExportFromCjs(x2) {
11407
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
11406
11408
  }
11407
11409
  const CRC_TABLE = new Int32Array([
11408
11410
  0,
@@ -15218,8 +15220,8 @@ function polygonToObj(polygonNode) {
15218
15220
  const points = [];
15219
15221
  polygonNode.elements.forEach((element) => {
15220
15222
  if (["wp:start", "wp:lineTo"].includes(element.name)) {
15221
- const { x, y: y2 } = element.attributes;
15222
- points.push([polygonUnitsToPixels(x), polygonUnitsToPixels(y2)]);
15223
+ const { x: x2, y: y2 } = element.attributes;
15224
+ points.push([polygonUnitsToPixels(x2), polygonUnitsToPixels(y2)]);
15223
15225
  }
15224
15226
  });
15225
15227
  if (points.length > 1) {
@@ -15242,13 +15244,13 @@ function objToPolygon(points) {
15242
15244
  elements: []
15243
15245
  };
15244
15246
  points.forEach((point, index2) => {
15245
- const [x, y2] = point;
15247
+ const [x2, y2] = point;
15246
15248
  const tagName = index2 === 0 ? "wp:start" : "wp:lineTo";
15247
15249
  const pointNode = {
15248
15250
  name: tagName,
15249
15251
  type: tagName,
15250
15252
  attributes: {
15251
- x: pixelsToPolygonUnits(x),
15253
+ x: pixelsToPolygonUnits(x2),
15252
15254
  y: pixelsToPolygonUnits(y2)
15253
15255
  }
15254
15256
  };
@@ -17465,13 +17467,17 @@ function canCut(node, start2, end2) {
17465
17467
  function liftTarget(range2) {
17466
17468
  let parent = range2.parent;
17467
17469
  let content = parent.content.cutByIndex(range2.startIndex, range2.endIndex);
17468
- for (let depth = range2.depth; ; --depth) {
17470
+ for (let depth = range2.depth, contentBefore = 0, contentAfter = 0; ; --depth) {
17469
17471
  let node = range2.$from.node(depth);
17470
- let index2 = range2.$from.index(depth), endIndex = range2.$to.indexAfter(depth);
17472
+ let index2 = range2.$from.index(depth) + contentBefore, endIndex = range2.$to.indexAfter(depth) - contentAfter;
17471
17473
  if (depth < range2.depth && node.canReplace(index2, endIndex, content))
17472
17474
  return depth;
17473
17475
  if (depth == 0 || node.type.spec.isolating || !canCut(node, index2, endIndex))
17474
17476
  break;
17477
+ if (index2)
17478
+ contentBefore = 1;
17479
+ if (endIndex < node.childCount)
17480
+ contentAfter = 1;
17475
17481
  }
17476
17482
  return null;
17477
17483
  }
@@ -18014,7 +18020,7 @@ function replaceRange(tr, from2, to, slice2) {
18014
18020
  let $from = tr.doc.resolve(from2), $to = tr.doc.resolve(to);
18015
18021
  if (fitsTrivially($from, $to, slice2))
18016
18022
  return tr.step(new ReplaceStep(from2, to, slice2));
18017
- let targetDepths = coveredDepths($from, tr.doc.resolve(to));
18023
+ let targetDepths = coveredDepths($from, $to);
18018
18024
  if (targetDepths[targetDepths.length - 1] == 0)
18019
18025
  targetDepths.pop();
18020
18026
  let preferredTarget = -($from.depth + 1);
@@ -22906,7 +22912,7 @@ function posToDOMRect(view, from2, to) {
22906
22912
  const right2 = Math.max(start2.right, end2.right);
22907
22913
  const width = right2 - left2;
22908
22914
  const height = bottom2 - top2;
22909
- const x = left2;
22915
+ const x2 = left2;
22910
22916
  const y2 = top2;
22911
22917
  const data = {
22912
22918
  top: top2,
@@ -22915,7 +22921,7 @@ function posToDOMRect(view, from2, to) {
22915
22921
  right: right2,
22916
22922
  width,
22917
22923
  height,
22918
- x,
22924
+ x: x2,
22919
22925
  y: y2
22920
22926
  };
22921
22927
  return {
@@ -23004,25 +23010,31 @@ function createDocFromHTML(content, schema, options = {}) {
23004
23010
  function L() {
23005
23011
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
23006
23012
  }
23007
- var O = L();
23013
+ var T = L();
23008
23014
  function G(l3) {
23009
- O = l3;
23015
+ T = l3;
23010
23016
  }
23011
23017
  var E = { exec: () => null };
23012
- function h(l3, e = "") {
23018
+ function d$1(l3, e = "") {
23013
23019
  let t = typeof l3 == "string" ? l3 : l3.source, n = { replace: (r2, i) => {
23014
23020
  let s2 = typeof i == "string" ? i : i.source;
23015
23021
  return s2 = s2.replace(m.caret, "$1"), t = t.replace(r2, s2), n;
23016
23022
  }, getRegex: () => new RegExp(t, e) };
23017
23023
  return n;
23018
23024
  }
23019
- var m = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (l3) => new RegExp(`^( {0,3}${l3})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}#`), htmlBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}<(?:[a-z].*>|!--)`, "i") }, xe = /^(?:[ \t]*(?:\n|$))+/, be = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Re = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, C = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Oe = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, j = /(?:[*+-]|\d{1,9}[.)])/, se = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ie$2 = h(se).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Te = h(se).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), F = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, we = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, ye = h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Pe = h(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, j).getRegex(), v = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Se = h("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), oe = h(F).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), $e = h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", oe).getRegex(), K$1 = { blockquote: $e, code: be, def: ye, fences: Re, heading: Oe, hr: C, html: Se, lheading: ie$2, list: Pe, newline: xe, paragraph: oe, table: E, text: we }, re = h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), _e = { ...K$1, lheading: Te, table: re, paragraph: h(F).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex() }, Le = { ...K$1, html: h(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: E, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: h(F).replace("hr", C).replace("heading", ` *#{1,6} *[^
23020
- ]`).replace("lheading", ie$2).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Me = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ze = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, ae = /^( {2,}|\\)\n(?!\s*$)/, Ae = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, le = /[^\s\p{P}\p{S}]/u, Ee = h(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), ue = /(?!~)[\p{P}\p{S}]/u, Ce = /(?!~)[\s\p{P}\p{S}]/u, Ie = /(?:[^\s\p{P}\p{S}]|~)/u, Be = /\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g, pe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, qe = h(pe, "u").replace(/punct/g, D).getRegex(), ve = h(pe, "u").replace(/punct/g, ue).getRegex(), ce = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", De = h(ce, "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), He = h(ce, "gu").replace(/notPunctSpace/g, Ie).replace(/punctSpace/g, Ce).replace(/punct/g, ue).getRegex(), Ze = h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ge = h(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), Ne = h(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), je = h(U).replace("(?:-->|$)", "-->").getRegex(), Fe = h("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", je).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/, Qe = h(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), he$3 = h(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), de = h(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), Ue = h("reflink|nolink(?!\\()", "g").replace("reflink", he$3).replace("nolink", de).getRegex(), X = { _backpedal: E, anyPunctuation: Ge, autolink: Ne, blockSkip: Be, br: ae, code: ze, del: E, emStrongLDelim: qe, emStrongRDelimAst: De, emStrongRDelimUnd: Ze, escape: Me, link: Qe, nolink: de, punctuation: Ee, reflink: he$3, reflinkSearch: Ue, tag: Fe, text: Ae, url: E }, Ke = { ...X, link: h(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, N = { ...X, emStrongRDelimAst: He, emStrongLDelim: ve, url: h(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ }, We = { ...N, br: h(ae).replace("{2,}", "*").getRegex(), text: h(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, I = { normal: K$1, gfm: _e, pedantic: Le }, M$1 = { normal: X, gfm: N, breaks: We, pedantic: Ke };
23021
- var Xe = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ke = (l3) => Xe[l3];
23025
+ var be = (() => {
23026
+ try {
23027
+ return !!new RegExp("(?<=1)(?<!1)");
23028
+ } catch {
23029
+ return false;
23030
+ }
23031
+ })(), m = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (l3) => new RegExp(`^( {0,3}${l3})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}#`), htmlBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}<(?:[a-z].*>|!--)`, "i") }, Re = /^(?:[ \t]*(?:\n|$))+/, Te = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Oe = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, I = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, we = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = /(?:[*+-]|\d{1,9}[.)])/, ie$2 = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = d$1(ie$2).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), ye = d$1(ie$2).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), j = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pe = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Se = d$1(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), $e = d$1(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), v = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, _e = d$1("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ae = d$1(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), Le = d$1(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ae).getRegex(), K$1 = { blockquote: Le, code: Te, def: Se, fences: Oe, heading: we, hr: I, html: _e, lheading: oe, list: $e, newline: Re, paragraph: ae, table: E, text: Pe }, re = d$1("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), Me = { ...K$1, lheading: ye, table: re, paragraph: d$1(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex() }, ze = { ...K$1, html: d$1(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: E, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: d$1(j).replace("hr", I).replace("heading", ` *#{1,6} *[^
23032
+ ]`).replace("lheading", oe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ae = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ee = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, le = /^( {2,}|\\)\n(?!\s*$)/, Ie = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, ue = /[^\s\p{P}\p{S}]/u, Ce = d$1(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), pe = /(?!~)[\p{P}\p{S}]/u, Be = /(?!~)[\s\p{P}\p{S}]/u, qe = /(?:[^\s\p{P}\p{S}]|~)/u, ve = d$1(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", be ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ce = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, De = d$1(ce, "u").replace(/punct/g, D).getRegex(), He = d$1(ce, "u").replace(/punct/g, pe).getRegex(), he$3 = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ze = d$1(he$3, "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ge = d$1(he$3, "gu").replace(/notPunctSpace/g, qe).replace(/punctSpace/g, Be).replace(/punct/g, pe).getRegex(), Ne = d$1("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Fe = d$1(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), je = d$1(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Qe = d$1(U).replace("(?:-->|$)", "-->").getRegex(), Ue = d$1("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Qe).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Ke = d$1(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), de = d$1(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), ke = d$1(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), We = d$1("reflink|nolink(?!\\()", "g").replace("reflink", de).replace("nolink", ke).getRegex(), se = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, X = { _backpedal: E, anyPunctuation: Fe, autolink: je, blockSkip: ve, br: le, code: Ee, del: E, emStrongLDelim: De, emStrongRDelimAst: Ze, emStrongRDelimUnd: Ne, escape: Ae, link: Ke, nolink: ke, punctuation: Ce, reflink: de, reflinkSearch: We, tag: Ue, text: Ie, url: E }, Xe = { ...X, link: d$1(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: d$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, N = { ...X, emStrongRDelimAst: Ge, emStrongLDelim: He, url: d$1(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", se).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: d$1(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", se).getRegex() }, Je = { ...N, br: d$1(le).replace("{2,}", "*").getRegex(), text: d$1(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, C = { normal: K$1, gfm: Me, pedantic: ze }, M$1 = { normal: X, gfm: N, breaks: Je, pedantic: Xe };
23033
+ var Ve = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ge = (l3) => Ve[l3];
23022
23034
  function w(l3, e) {
23023
23035
  if (e) {
23024
- if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ke);
23025
- } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ke);
23036
+ if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ge);
23037
+ } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ge);
23026
23038
  return l3;
23027
23039
  }
23028
23040
  function J(l3) {
@@ -23034,10 +23046,10 @@ function J(l3) {
23034
23046
  return l3;
23035
23047
  }
23036
23048
  function V(l3, e) {
23037
- let t = l3.replace(m.findPipe, (i, s2, o) => {
23038
- let a = false, u = s2;
23039
- for (; --u >= 0 && o[u] === "\\"; ) a = !a;
23040
- return a ? "|" : " |";
23049
+ let t = l3.replace(m.findPipe, (i, s2, a) => {
23050
+ let o = false, p = s2;
23051
+ for (; --p >= 0 && a[p] === "\\"; ) o = !o;
23052
+ return o ? "|" : " |";
23041
23053
  }), n = t.split(m.splitPipe), r2 = 0;
23042
23054
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), e) if (n.length > e) n.splice(e);
23043
23055
  else for (; n.length < e; ) n.push("");
@@ -23055,7 +23067,7 @@ function z(l3, e, t) {
23055
23067
  }
23056
23068
  return l3.slice(0, n - r2);
23057
23069
  }
23058
- function ge(l3, e) {
23070
+ function fe(l3, e) {
23059
23071
  if (l3.indexOf(e[1]) === -1) return -1;
23060
23072
  let t = 0;
23061
23073
  for (let n = 0; n < l3.length; n++) if (l3[n] === "\\") n++;
@@ -23063,13 +23075,13 @@ function ge(l3, e) {
23063
23075
  else if (l3[n] === e[1] && (t--, t < 0)) return n;
23064
23076
  return t > 0 ? -2 : -1;
23065
23077
  }
23066
- function fe(l3, e, t, n, r2) {
23067
- let i = e.href, s2 = e.title || null, o = l3[1].replace(r2.other.outputLinkReplace, "$1");
23078
+ function me(l3, e, t, n, r2) {
23079
+ let i = e.href, s2 = e.title || null, a = l3[1].replace(r2.other.outputLinkReplace, "$1");
23068
23080
  n.state.inLink = true;
23069
- let a = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: o, tokens: n.inlineTokens(o) };
23070
- return n.state.inLink = false, a;
23081
+ let o = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: a, tokens: n.inlineTokens(a) };
23082
+ return n.state.inLink = false, o;
23071
23083
  }
23072
- function Je(l3, e, t) {
23084
+ function Ye(l3, e, t) {
23073
23085
  let n = l3.match(t.other.indentCodeCompensation);
23074
23086
  if (n === null) return e;
23075
23087
  let r2 = n[1];
@@ -23077,8 +23089,8 @@ function Je(l3, e, t) {
23077
23089
  `).map((i) => {
23078
23090
  let s2 = i.match(t.other.beginningSpace);
23079
23091
  if (s2 === null) return i;
23080
- let [o] = s2;
23081
- return o.length >= r2.length ? i.slice(r2.length) : i;
23092
+ let [a] = s2;
23093
+ return a.length >= r2.length ? i.slice(r2.length) : i;
23082
23094
  }).join(`
23083
23095
  `);
23084
23096
  }
@@ -23087,7 +23099,7 @@ var y = class {
23087
23099
  __publicField$2(this, "options");
23088
23100
  __publicField$2(this, "rules");
23089
23101
  __publicField$2(this, "lexer");
23090
- this.options = e || O;
23102
+ this.options = e || T;
23091
23103
  }
23092
23104
  space(e) {
23093
23105
  let t = this.rules.block.newline.exec(e);
@@ -23104,7 +23116,7 @@ var y = class {
23104
23116
  fences(e) {
23105
23117
  let t = this.rules.block.fences.exec(e);
23106
23118
  if (t) {
23107
- let n = t[0], r2 = Je(n, t[3] || "", this.rules);
23119
+ let n = t[0], r2 = Ye(n, t[3] || "", this.rules);
23108
23120
  return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: r2 };
23109
23121
  }
23110
23122
  }
@@ -23131,32 +23143,32 @@ var y = class {
23131
23143
  `).split(`
23132
23144
  `), r2 = "", i = "", s2 = [];
23133
23145
  for (; n.length > 0; ) {
23134
- let o = false, a = [], u;
23135
- for (u = 0; u < n.length; u++) if (this.rules.other.blockquoteStart.test(n[u])) a.push(n[u]), o = true;
23136
- else if (!o) a.push(n[u]);
23146
+ let a = false, o = [], p;
23147
+ for (p = 0; p < n.length; p++) if (this.rules.other.blockquoteStart.test(n[p])) o.push(n[p]), a = true;
23148
+ else if (!a) o.push(n[p]);
23137
23149
  else break;
23138
- n = n.slice(u);
23139
- let p = a.join(`
23140
- `), c2 = p.replace(this.rules.other.blockquoteSetextReplace, `
23150
+ n = n.slice(p);
23151
+ let u = o.join(`
23152
+ `), c2 = u.replace(this.rules.other.blockquoteSetextReplace, `
23141
23153
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
23142
23154
  r2 = r2 ? `${r2}
23143
- ${p}` : p, i = i ? `${i}
23155
+ ${u}` : u, i = i ? `${i}
23144
23156
  ${c2}` : c2;
23145
- let f2 = this.lexer.state.top;
23146
- if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = f2, n.length === 0) break;
23147
- let k2 = s2.at(-1);
23148
- if (k2?.type === "code") break;
23149
- if (k2?.type === "blockquote") {
23150
- let x = k2, g = x.raw + `
23157
+ let g = this.lexer.state.top;
23158
+ if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = g, n.length === 0) break;
23159
+ let h = s2.at(-1);
23160
+ if (h?.type === "code") break;
23161
+ if (h?.type === "blockquote") {
23162
+ let R = h, f2 = R.raw + `
23151
23163
  ` + n.join(`
23152
- `), T = this.blockquote(g);
23153
- s2[s2.length - 1] = T, r2 = r2.substring(0, r2.length - x.raw.length) + T.raw, i = i.substring(0, i.length - x.text.length) + T.text;
23164
+ `), O = this.blockquote(f2);
23165
+ s2[s2.length - 1] = O, r2 = r2.substring(0, r2.length - R.raw.length) + O.raw, i = i.substring(0, i.length - R.text.length) + O.text;
23154
23166
  break;
23155
- } else if (k2?.type === "list") {
23156
- let x = k2, g = x.raw + `
23167
+ } else if (h?.type === "list") {
23168
+ let R = h, f2 = R.raw + `
23157
23169
  ` + n.join(`
23158
- `), T = this.list(g);
23159
- s2[s2.length - 1] = T, r2 = r2.substring(0, r2.length - k2.raw.length) + T.raw, i = i.substring(0, i.length - x.raw.length) + T.raw, n = g.substring(s2.at(-1).raw.length).split(`
23170
+ `), O = this.list(f2);
23171
+ s2[s2.length - 1] = O, r2 = r2.substring(0, r2.length - h.raw.length) + O.raw, i = i.substring(0, i.length - R.raw.length) + O.raw, n = f2.substring(s2.at(-1).raw.length).split(`
23160
23172
  `);
23161
23173
  continue;
23162
23174
  }
@@ -23169,45 +23181,45 @@ ${c2}` : c2;
23169
23181
  if (t) {
23170
23182
  let n = t[1].trim(), r2 = n.length > 1, i = { type: "list", raw: "", ordered: r2, start: r2 ? +n.slice(0, -1) : "", loose: false, items: [] };
23171
23183
  n = r2 ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r2 ? n : "[*+-]");
23172
- let s2 = this.rules.other.listItemRegex(n), o = false;
23184
+ let s2 = this.rules.other.listItemRegex(n), a = false;
23173
23185
  for (; e; ) {
23174
- let u = false, p = "", c2 = "";
23186
+ let p = false, u = "", c2 = "";
23175
23187
  if (!(t = s2.exec(e)) || this.rules.block.hr.test(e)) break;
23176
- p = t[0], e = e.substring(p.length);
23177
- let f2 = t[2].split(`
23178
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), k2 = e.split(`
23179
- `, 1)[0], x = !f2.trim(), g = 0;
23180
- if (this.options.pedantic ? (g = 2, c2 = f2.trimStart()) : x ? g = t[1].length + 1 : (g = t[2].search(this.rules.other.nonSpaceChar), g = g > 4 ? 1 : g, c2 = f2.slice(g), g += t[1].length), x && this.rules.other.blankLine.test(k2) && (p += k2 + `
23181
- `, e = e.substring(k2.length + 1), u = true), !u) {
23182
- let H = this.rules.other.nextBulletRegex(g), ee = this.rules.other.hrRegex(g), te = this.rules.other.fencesBeginRegex(g), ne = this.rules.other.headingBeginRegex(g), me = this.rules.other.htmlBeginRegex(g);
23188
+ u = t[0], e = e.substring(u.length);
23189
+ let g = t[2].split(`
23190
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), h = e.split(`
23191
+ `, 1)[0], R = !g.trim(), f2 = 0;
23192
+ if (this.options.pedantic ? (f2 = 2, c2 = g.trimStart()) : R ? f2 = t[1].length + 1 : (f2 = t[2].search(this.rules.other.nonSpaceChar), f2 = f2 > 4 ? 1 : f2, c2 = g.slice(f2), f2 += t[1].length), R && this.rules.other.blankLine.test(h) && (u += h + `
23193
+ `, e = e.substring(h.length + 1), p = true), !p) {
23194
+ let H = this.rules.other.nextBulletRegex(f2), ee = this.rules.other.hrRegex(f2), te = this.rules.other.fencesBeginRegex(f2), ne = this.rules.other.headingBeginRegex(f2), xe = this.rules.other.htmlBeginRegex(f2);
23183
23195
  for (; e; ) {
23184
23196
  let Z = e.split(`
23185
23197
  `, 1)[0], A2;
23186
- if (k2 = Z, this.options.pedantic ? (k2 = k2.replace(this.rules.other.listReplaceNesting, " "), A2 = k2) : A2 = k2.replace(this.rules.other.tabCharGlobal, " "), te.test(k2) || ne.test(k2) || me.test(k2) || H.test(k2) || ee.test(k2)) break;
23187
- if (A2.search(this.rules.other.nonSpaceChar) >= g || !k2.trim()) c2 += `
23188
- ` + A2.slice(g);
23198
+ if (h = Z, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), A2 = h) : A2 = h.replace(this.rules.other.tabCharGlobal, " "), te.test(h) || ne.test(h) || xe.test(h) || H.test(h) || ee.test(h)) break;
23199
+ if (A2.search(this.rules.other.nonSpaceChar) >= f2 || !h.trim()) c2 += `
23200
+ ` + A2.slice(f2);
23189
23201
  else {
23190
- if (x || f2.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || te.test(f2) || ne.test(f2) || ee.test(f2)) break;
23202
+ if (R || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || te.test(g) || ne.test(g) || ee.test(g)) break;
23191
23203
  c2 += `
23192
- ` + k2;
23204
+ ` + h;
23193
23205
  }
23194
- !x && !k2.trim() && (x = true), p += Z + `
23195
- `, e = e.substring(Z.length + 1), f2 = A2.slice(g);
23206
+ !R && !h.trim() && (R = true), u += Z + `
23207
+ `, e = e.substring(Z.length + 1), g = A2.slice(f2);
23196
23208
  }
23197
23209
  }
23198
- i.loose || (o ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (o = true));
23199
- let T = null, Y2;
23200
- this.options.gfm && (T = this.rules.other.listIsTask.exec(c2), T && (Y2 = T[0] !== "[ ] ", c2 = c2.replace(this.rules.other.listReplaceTask, ""))), i.items.push({ type: "list_item", raw: p, task: !!T, checked: Y2, loose: false, text: c2, tokens: [] }), i.raw += p;
23210
+ i.loose || (a ? i.loose = true : this.rules.other.doubleBlankLine.test(u) && (a = true));
23211
+ let O = null, Y2;
23212
+ this.options.gfm && (O = this.rules.other.listIsTask.exec(c2), O && (Y2 = O[0] !== "[ ] ", c2 = c2.replace(this.rules.other.listReplaceTask, ""))), i.items.push({ type: "list_item", raw: u, task: !!O, checked: Y2, loose: false, text: c2, tokens: [] }), i.raw += u;
23201
23213
  }
23202
- let a = i.items.at(-1);
23203
- if (a) a.raw = a.raw.trimEnd(), a.text = a.text.trimEnd();
23214
+ let o = i.items.at(-1);
23215
+ if (o) o.raw = o.raw.trimEnd(), o.text = o.text.trimEnd();
23204
23216
  else return;
23205
23217
  i.raw = i.raw.trimEnd();
23206
- for (let u = 0; u < i.items.length; u++) if (this.lexer.state.top = false, i.items[u].tokens = this.lexer.blockTokens(i.items[u].text, []), !i.loose) {
23207
- let p = i.items[u].tokens.filter((f2) => f2.type === "space"), c2 = p.length > 0 && p.some((f2) => this.rules.other.anyLine.test(f2.raw));
23218
+ for (let p = 0; p < i.items.length; p++) if (this.lexer.state.top = false, i.items[p].tokens = this.lexer.blockTokens(i.items[p].text, []), !i.loose) {
23219
+ let u = i.items[p].tokens.filter((g) => g.type === "space"), c2 = u.length > 0 && u.some((g) => this.rules.other.anyLine.test(g.raw));
23208
23220
  i.loose = c2;
23209
23221
  }
23210
- if (i.loose) for (let u = 0; u < i.items.length; u++) i.items[u].loose = true;
23222
+ if (i.loose) for (let p = 0; p < i.items.length; p++) i.items[p].loose = true;
23211
23223
  return i;
23212
23224
  }
23213
23225
  }
@@ -23228,9 +23240,9 @@ ${c2}` : c2;
23228
23240
  let n = V(t[1]), r2 = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split(`
23229
23241
  `) : [], s2 = { type: "table", raw: t[0], header: [], align: [], rows: [] };
23230
23242
  if (n.length === r2.length) {
23231
- for (let o of r2) this.rules.other.tableAlignRight.test(o) ? s2.align.push("right") : this.rules.other.tableAlignCenter.test(o) ? s2.align.push("center") : this.rules.other.tableAlignLeft.test(o) ? s2.align.push("left") : s2.align.push(null);
23232
- for (let o = 0; o < n.length; o++) s2.header.push({ text: n[o], tokens: this.lexer.inline(n[o]), header: true, align: s2.align[o] });
23233
- for (let o of i) s2.rows.push(V(o, s2.header.length).map((a, u) => ({ text: a, tokens: this.lexer.inline(a), header: false, align: s2.align[u] })));
23243
+ for (let a of r2) this.rules.other.tableAlignRight.test(a) ? s2.align.push("right") : this.rules.other.tableAlignCenter.test(a) ? s2.align.push("center") : this.rules.other.tableAlignLeft.test(a) ? s2.align.push("left") : s2.align.push(null);
23244
+ for (let a = 0; a < n.length; a++) s2.header.push({ text: n[a], tokens: this.lexer.inline(n[a]), header: true, align: s2.align[a] });
23245
+ for (let a of i) s2.rows.push(V(a, s2.header.length).map((o, p) => ({ text: o, tokens: this.lexer.inline(o), header: false, align: s2.align[p] })));
23234
23246
  return s2;
23235
23247
  }
23236
23248
  }
@@ -23267,11 +23279,11 @@ ${c2}` : c2;
23267
23279
  let s2 = z(n.slice(0, -1), "\\");
23268
23280
  if ((n.length - s2.length) % 2 === 0) return;
23269
23281
  } else {
23270
- let s2 = ge(t[2], "()");
23282
+ let s2 = fe(t[2], "()");
23271
23283
  if (s2 === -2) return;
23272
23284
  if (s2 > -1) {
23273
- let a = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23274
- t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, a).trim(), t[3] = "";
23285
+ let o = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23286
+ t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, o).trim(), t[3] = "";
23275
23287
  }
23276
23288
  }
23277
23289
  let r2 = t[2], i = "";
@@ -23279,7 +23291,7 @@ ${c2}` : c2;
23279
23291
  let s2 = this.rules.other.pedanticHrefTitle.exec(r2);
23280
23292
  s2 && (r2 = s2[1], i = s2[3]);
23281
23293
  } else i = t[3] ? t[3].slice(1, -1) : "";
23282
- return r2 = r2.trim(), this.rules.other.startAngleBracket.test(r2) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n) ? r2 = r2.slice(1) : r2 = r2.slice(1, -1)), fe(t, { href: r2 && r2.replace(this.rules.inline.anyPunctuation, "$1"), title: i && i.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
23294
+ return r2 = r2.trim(), this.rules.other.startAngleBracket.test(r2) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n) ? r2 = r2.slice(1) : r2 = r2.slice(1, -1)), me(t, { href: r2 && r2.replace(this.rules.inline.anyPunctuation, "$1"), title: i && i.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
23283
23295
  }
23284
23296
  }
23285
23297
  reflink(e, t) {
@@ -23290,32 +23302,32 @@ ${c2}` : c2;
23290
23302
  let s2 = n[0].charAt(0);
23291
23303
  return { type: "text", raw: s2, text: s2 };
23292
23304
  }
23293
- return fe(n, i, n[0], this.lexer, this.rules);
23305
+ return me(n, i, n[0], this.lexer, this.rules);
23294
23306
  }
23295
23307
  }
23296
23308
  emStrong(e, t, n = "") {
23297
23309
  let r2 = this.rules.inline.emStrongLDelim.exec(e);
23298
23310
  if (!r2 || r2[3] && n.match(this.rules.other.unicodeAlphaNumeric)) return;
23299
23311
  if (!(r2[1] || r2[2] || "") || !n || this.rules.inline.punctuation.exec(n)) {
23300
- let s2 = [...r2[0]].length - 1, o, a, u = s2, p = 0, c2 = r2[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
23312
+ let s2 = [...r2[0]].length - 1, a, o, p = s2, u = 0, c2 = r2[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
23301
23313
  for (c2.lastIndex = 0, t = t.slice(-1 * e.length + s2); (r2 = c2.exec(t)) != null; ) {
23302
- if (o = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !o) continue;
23303
- if (a = [...o].length, r2[3] || r2[4]) {
23304
- u += a;
23314
+ if (a = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !a) continue;
23315
+ if (o = [...a].length, r2[3] || r2[4]) {
23316
+ p += o;
23305
23317
  continue;
23306
- } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + a) % 3)) {
23307
- p += a;
23318
+ } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + o) % 3)) {
23319
+ u += o;
23308
23320
  continue;
23309
23321
  }
23310
- if (u -= a, u > 0) continue;
23311
- a = Math.min(a, a + u + p);
23312
- let f2 = [...r2[0]][0].length, k2 = e.slice(0, s2 + r2.index + f2 + a);
23313
- if (Math.min(s2, a) % 2) {
23314
- let g = k2.slice(1, -1);
23315
- return { type: "em", raw: k2, text: g, tokens: this.lexer.inlineTokens(g) };
23322
+ if (p -= o, p > 0) continue;
23323
+ o = Math.min(o, o + p + u);
23324
+ let g = [...r2[0]][0].length, h = e.slice(0, s2 + r2.index + g + o);
23325
+ if (Math.min(s2, o) % 2) {
23326
+ let f2 = h.slice(1, -1);
23327
+ return { type: "em", raw: h, text: f2, tokens: this.lexer.inlineTokens(f2) };
23316
23328
  }
23317
- let x = k2.slice(2, -2);
23318
- return { type: "strong", raw: k2, text: x, tokens: this.lexer.inlineTokens(x) };
23329
+ let R = h.slice(2, -2);
23330
+ return { type: "strong", raw: h, text: R, tokens: this.lexer.inlineTokens(R) };
23319
23331
  }
23320
23332
  }
23321
23333
  }
@@ -23364,19 +23376,19 @@ ${c2}` : c2;
23364
23376
  }
23365
23377
  }
23366
23378
  };
23367
- var b = class l {
23379
+ var x = class l {
23368
23380
  constructor(e) {
23369
23381
  __publicField$2(this, "tokens");
23370
23382
  __publicField$2(this, "options");
23371
23383
  __publicField$2(this, "state");
23372
23384
  __publicField$2(this, "tokenizer");
23373
23385
  __publicField$2(this, "inlineQueue");
23374
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || O, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
23375
- let t = { other: m, block: I.normal, inline: M$1.normal };
23376
- this.options.pedantic ? (t.block = I.pedantic, t.inline = M$1.pedantic) : this.options.gfm && (t.block = I.gfm, this.options.breaks ? t.inline = M$1.breaks : t.inline = M$1.gfm), this.tokenizer.rules = t;
23386
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || T, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
23387
+ let t = { other: m, block: C.normal, inline: M$1.normal };
23388
+ this.options.pedantic ? (t.block = C.pedantic, t.inline = M$1.pedantic) : this.options.gfm && (t.block = C.gfm, this.options.breaks ? t.inline = M$1.breaks : t.inline = M$1.gfm), this.tokenizer.rules = t;
23377
23389
  }
23378
23390
  static get rules() {
23379
- return { block: I, inline: M$1 };
23391
+ return { block: C, inline: M$1 };
23380
23392
  }
23381
23393
  static lex(e, t) {
23382
23394
  return new l(t).lex(e);
@@ -23456,9 +23468,9 @@ var b = class l {
23456
23468
  }
23457
23469
  let i = e;
23458
23470
  if (this.options.extensions?.startBlock) {
23459
- let s2 = 1 / 0, o = e.slice(1), a;
23460
- this.options.extensions.startBlock.forEach((u) => {
23461
- a = u.call({ lexer: this }, o), typeof a == "number" && a >= 0 && (s2 = Math.min(s2, a));
23471
+ let s2 = 1 / 0, a = e.slice(1), o;
23472
+ this.options.extensions.startBlock.forEach((p) => {
23473
+ o = p.call({ lexer: this }, a), typeof o == "number" && o >= 0 && (s2 = Math.min(s2, o));
23462
23474
  }), s2 < 1 / 0 && s2 >= 0 && (i = e.substring(0, s2 + 1));
23463
23475
  }
23464
23476
  if (this.state.top && (r2 = this.tokenizer.paragraph(i))) {
@@ -23498,11 +23510,12 @@ var b = class l {
23498
23510
  if (o.length > 0) for (; (r2 = this.tokenizer.rules.inline.reflinkSearch.exec(n)) != null; ) o.includes(r2[0].slice(r2[0].lastIndexOf("[") + 1, -1)) && (n = n.slice(0, r2.index) + "[" + "a".repeat(r2[0].length - 2) + "]" + n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
23499
23511
  }
23500
23512
  for (; (r2 = this.tokenizer.rules.inline.anyPunctuation.exec(n)) != null; ) n = n.slice(0, r2.index) + "++" + n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
23501
- for (; (r2 = this.tokenizer.rules.inline.blockSkip.exec(n)) != null; ) n = n.slice(0, r2.index) + "[" + "a".repeat(r2[0].length - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
23513
+ let i;
23514
+ for (; (r2 = this.tokenizer.rules.inline.blockSkip.exec(n)) != null; ) i = r2[2] ? r2[2].length : 0, n = n.slice(0, r2.index + i) + "[" + "a".repeat(r2[0].length - i - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
23502
23515
  n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
23503
- let i = false, s2 = "";
23516
+ let s2 = false, a = "";
23504
23517
  for (; e; ) {
23505
- i || (s2 = ""), i = false;
23518
+ s2 || (a = ""), s2 = false;
23506
23519
  let o;
23507
23520
  if (this.options.extensions?.inline?.some((u) => (o = u.call({ lexer: this }, e, t)) ? (e = e.substring(o.raw.length), t.push(o), true) : false)) continue;
23508
23521
  if (o = this.tokenizer.escape(e)) {
@@ -23523,7 +23536,7 @@ var b = class l {
23523
23536
  o.type === "text" && u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23524
23537
  continue;
23525
23538
  }
23526
- if (o = this.tokenizer.emStrong(e, n, s2)) {
23539
+ if (o = this.tokenizer.emStrong(e, n, a)) {
23527
23540
  e = e.substring(o.raw.length), t.push(o);
23528
23541
  continue;
23529
23542
  }
@@ -23547,15 +23560,15 @@ var b = class l {
23547
23560
  e = e.substring(o.raw.length), t.push(o);
23548
23561
  continue;
23549
23562
  }
23550
- let a = e;
23563
+ let p = e;
23551
23564
  if (this.options.extensions?.startInline) {
23552
- let u = 1 / 0, p = e.slice(1), c2;
23553
- this.options.extensions.startInline.forEach((f2) => {
23554
- c2 = f2.call({ lexer: this }, p), typeof c2 == "number" && c2 >= 0 && (u = Math.min(u, c2));
23555
- }), u < 1 / 0 && u >= 0 && (a = e.substring(0, u + 1));
23565
+ let u = 1 / 0, c2 = e.slice(1), g;
23566
+ this.options.extensions.startInline.forEach((h) => {
23567
+ g = h.call({ lexer: this }, c2), typeof g == "number" && g >= 0 && (u = Math.min(u, g));
23568
+ }), u < 1 / 0 && u >= 0 && (p = e.substring(0, u + 1));
23556
23569
  }
23557
- if (o = this.tokenizer.inlineText(a)) {
23558
- e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (s2 = o.raw.slice(-1)), i = true;
23570
+ if (o = this.tokenizer.inlineText(p)) {
23571
+ e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (a = o.raw.slice(-1)), s2 = true;
23559
23572
  let u = t.at(-1);
23560
23573
  u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23561
23574
  continue;
@@ -23575,7 +23588,7 @@ var P = class {
23575
23588
  constructor(e) {
23576
23589
  __publicField$2(this, "options");
23577
23590
  __publicField$2(this, "parser");
23578
- this.options = e || O;
23591
+ this.options = e || T;
23579
23592
  }
23580
23593
  space(e) {
23581
23594
  return "";
@@ -23608,9 +23621,9 @@ ${this.parser.parse(e)}</blockquote>
23608
23621
  }
23609
23622
  list(e) {
23610
23623
  let t = e.ordered, n = e.start, r2 = "";
23611
- for (let o = 0; o < e.items.length; o++) {
23612
- let a = e.items[o];
23613
- r2 += this.listitem(a);
23624
+ for (let a = 0; a < e.items.length; a++) {
23625
+ let o = e.items[a];
23626
+ r2 += this.listitem(o);
23614
23627
  }
23615
23628
  let i = t ? "ol" : "ul", s2 = t && n !== 1 ? ' start="' + n + '"' : "";
23616
23629
  return "<" + i + s2 + `>
@@ -23641,7 +23654,7 @@ ${this.parser.parse(e)}</blockquote>
23641
23654
  for (let i = 0; i < e.rows.length; i++) {
23642
23655
  let s2 = e.rows[i];
23643
23656
  n = "";
23644
- for (let o = 0; o < s2.length; o++) n += this.tablecell(s2[o]);
23657
+ for (let a = 0; a < s2.length; a++) n += this.tablecell(s2[a]);
23645
23658
  r2 += this.tablerow({ text: n });
23646
23659
  }
23647
23660
  return r2 && (r2 = `<tbody>${r2}</tbody>`), `<table>
@@ -23723,12 +23736,12 @@ var $ = class {
23723
23736
  return "";
23724
23737
  }
23725
23738
  };
23726
- var R = class l2 {
23739
+ var b = class l2 {
23727
23740
  constructor(e) {
23728
23741
  __publicField$2(this, "options");
23729
23742
  __publicField$2(this, "renderer");
23730
23743
  __publicField$2(this, "textRenderer");
23731
- this.options = e || O, this.options.renderer = this.options.renderer || new P(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new $();
23744
+ this.options = e || T, this.options.renderer = this.options.renderer || new P(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new $();
23732
23745
  }
23733
23746
  static parse(e, t) {
23734
23747
  return new l2(t).parse(e);
@@ -23741,9 +23754,9 @@ var R = class l2 {
23741
23754
  for (let r2 = 0; r2 < e.length; r2++) {
23742
23755
  let i = e[r2];
23743
23756
  if (this.options.extensions?.renderers?.[i.type]) {
23744
- let o = i, a = this.options.extensions.renderers[o.type].call({ parser: this }, o);
23745
- if (a !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(o.type)) {
23746
- n += a || "";
23757
+ let a = i, o = this.options.extensions.renderers[a.type].call({ parser: this }, a);
23758
+ if (o !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(a.type)) {
23759
+ n += o || "";
23747
23760
  continue;
23748
23761
  }
23749
23762
  }
@@ -23790,16 +23803,16 @@ var R = class l2 {
23790
23803
  continue;
23791
23804
  }
23792
23805
  case "text": {
23793
- let o = s2, a = this.renderer.text(o);
23794
- for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) o = e[++r2], a += `
23795
- ` + this.renderer.text(o);
23796
- t ? n += this.renderer.paragraph({ type: "paragraph", raw: a, text: a, tokens: [{ type: "text", raw: a, text: a, escaped: true }] }) : n += a;
23806
+ let a = s2, o = this.renderer.text(a);
23807
+ for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) a = e[++r2], o += `
23808
+ ` + this.renderer.text(a);
23809
+ t ? n += this.renderer.paragraph({ type: "paragraph", raw: o, text: o, tokens: [{ type: "text", raw: o, text: o, escaped: true }] }) : n += o;
23797
23810
  continue;
23798
23811
  }
23799
23812
  default: {
23800
- let o = 'Token with "' + s2.type + '" type was not found.';
23801
- if (this.options.silent) return console.error(o), "";
23802
- throw new Error(o);
23813
+ let a = 'Token with "' + s2.type + '" type was not found.';
23814
+ if (this.options.silent) return console.error(a), "";
23815
+ throw new Error(a);
23803
23816
  }
23804
23817
  }
23805
23818
  }
@@ -23810,9 +23823,9 @@ var R = class l2 {
23810
23823
  for (let r2 = 0; r2 < e.length; r2++) {
23811
23824
  let i = e[r2];
23812
23825
  if (this.options.extensions?.renderers?.[i.type]) {
23813
- let o = this.options.extensions.renderers[i.type].call({ parser: this }, i);
23814
- if (o !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
23815
- n += o || "";
23826
+ let a = this.options.extensions.renderers[i.type].call({ parser: this }, i);
23827
+ if (a !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
23828
+ n += a || "";
23816
23829
  continue;
23817
23830
  }
23818
23831
  }
@@ -23859,9 +23872,9 @@ var R = class l2 {
23859
23872
  break;
23860
23873
  }
23861
23874
  default: {
23862
- let o = 'Token with "' + s2.type + '" type was not found.';
23863
- if (this.options.silent) return console.error(o), "";
23864
- throw new Error(o);
23875
+ let a = 'Token with "' + s2.type + '" type was not found.';
23876
+ if (this.options.silent) return console.error(a), "";
23877
+ throw new Error(a);
23865
23878
  }
23866
23879
  }
23867
23880
  }
@@ -23872,7 +23885,7 @@ var S = (_a = class {
23872
23885
  constructor(e) {
23873
23886
  __publicField$2(this, "options");
23874
23887
  __publicField$2(this, "block");
23875
- this.options = e || O;
23888
+ this.options = e || T;
23876
23889
  }
23877
23890
  preprocess(e) {
23878
23891
  return e;
@@ -23887,10 +23900,10 @@ var S = (_a = class {
23887
23900
  return e;
23888
23901
  }
23889
23902
  provideLexer() {
23890
- return this.block ? b.lex : b.lexInline;
23903
+ return this.block ? x.lex : x.lexInline;
23891
23904
  }
23892
23905
  provideParser() {
23893
- return this.block ? R.parse : R.parseInline;
23906
+ return this.block ? b.parse : b.parseInline;
23894
23907
  }
23895
23908
  }, __publicField$2(_a, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField$2(_a, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _a);
23896
23909
  var B = class {
@@ -23899,10 +23912,10 @@ var B = class {
23899
23912
  __publicField$2(this, "options", this.setOptions);
23900
23913
  __publicField$2(this, "parse", this.parseMarkdown(true));
23901
23914
  __publicField$2(this, "parseInline", this.parseMarkdown(false));
23902
- __publicField$2(this, "Parser", R);
23915
+ __publicField$2(this, "Parser", b);
23903
23916
  __publicField$2(this, "Renderer", P);
23904
23917
  __publicField$2(this, "TextRenderer", $);
23905
- __publicField$2(this, "Lexer", b);
23918
+ __publicField$2(this, "Lexer", x);
23906
23919
  __publicField$2(this, "Tokenizer", y);
23907
23920
  __publicField$2(this, "Hooks", S);
23908
23921
  this.use(...e);
@@ -23913,7 +23926,7 @@ var B = class {
23913
23926
  case "table": {
23914
23927
  let i = r2;
23915
23928
  for (let s2 of i.header) n = n.concat(this.walkTokens(s2.tokens, t));
23916
- for (let s2 of i.rows) for (let o of s2) n = n.concat(this.walkTokens(o.tokens, t));
23929
+ for (let s2 of i.rows) for (let a of s2) n = n.concat(this.walkTokens(a.tokens, t));
23917
23930
  break;
23918
23931
  }
23919
23932
  case "list": {
@@ -23924,8 +23937,8 @@ var B = class {
23924
23937
  default: {
23925
23938
  let i = r2;
23926
23939
  this.defaults.extensions?.childTokens?.[i.type] ? this.defaults.extensions.childTokens[i.type].forEach((s2) => {
23927
- let o = i[s2].flat(1 / 0);
23928
- n = n.concat(this.walkTokens(o, t));
23940
+ let a = i[s2].flat(1 / 0);
23941
+ n = n.concat(this.walkTokens(a, t));
23929
23942
  }) : i.tokens && (n = n.concat(this.walkTokens(i.tokens, t)));
23930
23943
  }
23931
23944
  }
@@ -23939,9 +23952,9 @@ var B = class {
23939
23952
  if (!i.name) throw new Error("extension name required");
23940
23953
  if ("renderer" in i) {
23941
23954
  let s2 = t.renderers[i.name];
23942
- s2 ? t.renderers[i.name] = function(...o) {
23943
- let a = i.renderer.apply(this, o);
23944
- return a === false && (a = s2.apply(this, o)), a;
23955
+ s2 ? t.renderers[i.name] = function(...a) {
23956
+ let o = i.renderer.apply(this, a);
23957
+ return o === false && (o = s2.apply(this, a)), o;
23945
23958
  } : t.renderers[i.name] = i.renderer;
23946
23959
  }
23947
23960
  if ("tokenizer" in i) {
@@ -23955,10 +23968,10 @@ var B = class {
23955
23968
  for (let s2 in n.renderer) {
23956
23969
  if (!(s2 in i)) throw new Error(`renderer '${s2}' does not exist`);
23957
23970
  if (["options", "parser"].includes(s2)) continue;
23958
- let o = s2, a = n.renderer[o], u = i[o];
23959
- i[o] = (...p) => {
23960
- let c2 = a.apply(i, p);
23961
- return c2 === false && (c2 = u.apply(i, p)), c2 || "";
23971
+ let a = s2, o = n.renderer[a], p = i[a];
23972
+ i[a] = (...u) => {
23973
+ let c2 = o.apply(i, u);
23974
+ return c2 === false && (c2 = p.apply(i, u)), c2 || "";
23962
23975
  };
23963
23976
  }
23964
23977
  r2.renderer = i;
@@ -23968,10 +23981,10 @@ var B = class {
23968
23981
  for (let s2 in n.tokenizer) {
23969
23982
  if (!(s2 in i)) throw new Error(`tokenizer '${s2}' does not exist`);
23970
23983
  if (["options", "rules", "lexer"].includes(s2)) continue;
23971
- let o = s2, a = n.tokenizer[o], u = i[o];
23972
- i[o] = (...p) => {
23973
- let c2 = a.apply(i, p);
23974
- return c2 === false && (c2 = u.apply(i, p)), c2;
23984
+ let a = s2, o = n.tokenizer[a], p = i[a];
23985
+ i[a] = (...u) => {
23986
+ let c2 = o.apply(i, u);
23987
+ return c2 === false && (c2 = p.apply(i, u)), c2;
23975
23988
  };
23976
23989
  }
23977
23990
  r2.tokenizer = i;
@@ -23981,23 +23994,30 @@ var B = class {
23981
23994
  for (let s2 in n.hooks) {
23982
23995
  if (!(s2 in i)) throw new Error(`hook '${s2}' does not exist`);
23983
23996
  if (["options", "block"].includes(s2)) continue;
23984
- let o = s2, a = n.hooks[o], u = i[o];
23985
- S.passThroughHooks.has(s2) ? i[o] = (p) => {
23986
- if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return Promise.resolve(a.call(i, p)).then((f2) => u.call(i, f2));
23987
- let c2 = a.call(i, p);
23988
- return u.call(i, c2);
23989
- } : i[o] = (...p) => {
23990
- let c2 = a.apply(i, p);
23991
- return c2 === false && (c2 = u.apply(i, p)), c2;
23997
+ let a = s2, o = n.hooks[a], p = i[a];
23998
+ S.passThroughHooks.has(s2) ? i[a] = (u) => {
23999
+ if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return (async () => {
24000
+ let g = await o.call(i, u);
24001
+ return p.call(i, g);
24002
+ })();
24003
+ let c2 = o.call(i, u);
24004
+ return p.call(i, c2);
24005
+ } : i[a] = (...u) => {
24006
+ if (this.defaults.async) return (async () => {
24007
+ let g = await o.apply(i, u);
24008
+ return g === false && (g = await p.apply(i, u)), g;
24009
+ })();
24010
+ let c2 = o.apply(i, u);
24011
+ return c2 === false && (c2 = p.apply(i, u)), c2;
23992
24012
  };
23993
24013
  }
23994
24014
  r2.hooks = i;
23995
24015
  }
23996
24016
  if (n.walkTokens) {
23997
24017
  let i = this.defaults.walkTokens, s2 = n.walkTokens;
23998
- r2.walkTokens = function(o) {
23999
- let a = [];
24000
- return a.push(s2.call(this, o)), i && (a = a.concat(i.call(this, o))), a;
24018
+ r2.walkTokens = function(a) {
24019
+ let o = [];
24020
+ return o.push(s2.call(this, a)), i && (o = o.concat(i.call(this, a))), o;
24001
24021
  };
24002
24022
  }
24003
24023
  this.defaults = { ...this.defaults, ...r2 };
@@ -24007,28 +24027,31 @@ var B = class {
24007
24027
  return this.defaults = { ...this.defaults, ...e }, this;
24008
24028
  }
24009
24029
  lexer(e, t) {
24010
- return b.lex(e, t ?? this.defaults);
24030
+ return x.lex(e, t ?? this.defaults);
24011
24031
  }
24012
24032
  parser(e, t) {
24013
- return R.parse(e, t ?? this.defaults);
24033
+ return b.parse(e, t ?? this.defaults);
24014
24034
  }
24015
24035
  parseMarkdown(e) {
24016
24036
  return (n, r2) => {
24017
- let i = { ...r2 }, s2 = { ...this.defaults, ...i }, o = this.onError(!!s2.silent, !!s2.async);
24018
- if (this.defaults.async === true && i.async === false) return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
24019
- if (typeof n > "u" || n === null) return o(new Error("marked(): input parameter is undefined or null"));
24020
- if (typeof n != "string") return o(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24021
- s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e);
24022
- let a = s2.hooks ? s2.hooks.provideLexer() : e ? b.lex : b.lexInline, u = s2.hooks ? s2.hooks.provideParser() : e ? R.parse : R.parseInline;
24023
- if (s2.async) return Promise.resolve(s2.hooks ? s2.hooks.preprocess(n) : n).then((p) => a(p, s2)).then((p) => s2.hooks ? s2.hooks.processAllTokens(p) : p).then((p) => s2.walkTokens ? Promise.all(this.walkTokens(p, s2.walkTokens)).then(() => p) : p).then((p) => u(p, s2)).then((p) => s2.hooks ? s2.hooks.postprocess(p) : p).catch(o);
24037
+ let i = { ...r2 }, s2 = { ...this.defaults, ...i }, a = this.onError(!!s2.silent, !!s2.async);
24038
+ if (this.defaults.async === true && i.async === false) return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
24039
+ if (typeof n > "u" || n === null) return a(new Error("marked(): input parameter is undefined or null"));
24040
+ if (typeof n != "string") return a(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24041
+ if (s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e), s2.async) return (async () => {
24042
+ let o = s2.hooks ? await s2.hooks.preprocess(n) : n, u = await (s2.hooks ? await s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(o, s2), c2 = s2.hooks ? await s2.hooks.processAllTokens(u) : u;
24043
+ s2.walkTokens && await Promise.all(this.walkTokens(c2, s2.walkTokens));
24044
+ let h = await (s2.hooks ? await s2.hooks.provideParser() : e ? b.parse : b.parseInline)(c2, s2);
24045
+ return s2.hooks ? await s2.hooks.postprocess(h) : h;
24046
+ })().catch(a);
24024
24047
  try {
24025
24048
  s2.hooks && (n = s2.hooks.preprocess(n));
24026
- let p = a(n, s2);
24049
+ let p = (s2.hooks ? s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(n, s2);
24027
24050
  s2.hooks && (p = s2.hooks.processAllTokens(p)), s2.walkTokens && this.walkTokens(p, s2.walkTokens);
24028
- let c2 = u(p, s2);
24051
+ let c2 = (s2.hooks ? s2.hooks.provideParser() : e ? b.parse : b.parseInline)(p, s2);
24029
24052
  return s2.hooks && (c2 = s2.hooks.postprocess(c2)), c2;
24030
- } catch (p) {
24031
- return o(p);
24053
+ } catch (o) {
24054
+ return a(o);
24032
24055
  }
24033
24056
  };
24034
24057
  }
@@ -24045,38 +24068,38 @@ Please report this to https://github.com/markedjs/marked.`, e) {
24045
24068
  }
24046
24069
  };
24047
24070
  var _ = new B();
24048
- function d$1(l3, e) {
24071
+ function k$1(l3, e) {
24049
24072
  return _.parse(l3, e);
24050
24073
  }
24051
- d$1.options = d$1.setOptions = function(l3) {
24052
- return _.setOptions(l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
24074
+ k$1.options = k$1.setOptions = function(l3) {
24075
+ return _.setOptions(l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
24053
24076
  };
24054
- d$1.getDefaults = L;
24055
- d$1.defaults = O;
24056
- d$1.use = function(...l3) {
24057
- return _.use(...l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
24077
+ k$1.getDefaults = L;
24078
+ k$1.defaults = T;
24079
+ k$1.use = function(...l3) {
24080
+ return _.use(...l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
24058
24081
  };
24059
- d$1.walkTokens = function(l3, e) {
24082
+ k$1.walkTokens = function(l3, e) {
24060
24083
  return _.walkTokens(l3, e);
24061
24084
  };
24062
- d$1.parseInline = _.parseInline;
24063
- d$1.Parser = R;
24064
- d$1.parser = R.parse;
24065
- d$1.Renderer = P;
24066
- d$1.TextRenderer = $;
24067
- d$1.Lexer = b;
24068
- d$1.lexer = b.lex;
24069
- d$1.Tokenizer = y;
24070
- d$1.Hooks = S;
24071
- d$1.parse = d$1;
24072
- d$1.options;
24073
- d$1.setOptions;
24074
- d$1.use;
24075
- d$1.walkTokens;
24076
- d$1.parseInline;
24077
- R.parse;
24078
- b.lex;
24079
- d$1.use({
24085
+ k$1.parseInline = _.parseInline;
24086
+ k$1.Parser = b;
24087
+ k$1.parser = b.parse;
24088
+ k$1.Renderer = P;
24089
+ k$1.TextRenderer = $;
24090
+ k$1.Lexer = x;
24091
+ k$1.lexer = x.lex;
24092
+ k$1.Tokenizer = y;
24093
+ k$1.Hooks = S;
24094
+ k$1.parse = k$1;
24095
+ k$1.options;
24096
+ k$1.setOptions;
24097
+ k$1.use;
24098
+ k$1.walkTokens;
24099
+ k$1.parseInline;
24100
+ b.parse;
24101
+ x.lex;
24102
+ k$1.use({
24080
24103
  breaks: false,
24081
24104
  // Use proper paragraphs, not <br> tags
24082
24105
  gfm: true
@@ -24087,7 +24110,7 @@ function createDocFromMarkdown(markdown, schema, options = {}) {
24087
24110
  return createDocFromHTML(html, schema, options);
24088
24111
  }
24089
24112
  function convertMarkdownToHTML(markdown) {
24090
- let html = d$1.parse(markdown, { async: false });
24113
+ let html = k$1.parse(markdown, { async: false });
24091
24114
  return html.replace(/<\/p>\n<ul>/g, "</p>\n<p>&nbsp;</p>\n<ul>").replace(/<\/p>\n<ol>/g, "</p>\n<p>&nbsp;</p>\n<ol>").replace(/<\/ul>\n<h/g, "</ul>\n<p>&nbsp;</p>\n<h").replace(/<\/ol>\n<h/g, "</ol>\n<p>&nbsp;</p>\n<h");
24092
24115
  }
24093
24116
  function processContent({ content, type: type2, schema }) {
@@ -28833,8 +28856,8 @@ const translateImageNode = (params2) => {
28833
28856
  const leftMargin = tableCell.attrs.cellMargins?.left || 8;
28834
28857
  const rightMargin = tableCell.attrs.cellMargins?.right || 8;
28835
28858
  const maxWidthEmu = pixelsToEmu(colwidthSum - (leftMargin + rightMargin));
28836
- const { width: w2, height: h2 } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
28837
- if (w2 && h2) size2 = { w: w2, h: h2 };
28859
+ const { width: w2, height: h } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
28860
+ if (w2 && h) size2 = { w: w2, h };
28838
28861
  }
28839
28862
  if (imageId) {
28840
28863
  const docx = params2.converter?.convertedXml || {};
@@ -30377,9 +30400,9 @@ var hasRequiredHe;
30377
30400
  function requireHe() {
30378
30401
  if (hasRequiredHe) return he$2.exports;
30379
30402
  hasRequiredHe = 1;
30380
- (function(module2, exports2) {
30403
+ (function(module2, exports$1) {
30381
30404
  (function(root2) {
30382
- var freeExports2 = exports2;
30405
+ var freeExports2 = exports$1;
30383
30406
  var freeModule2 = module2 && module2.exports == freeExports2 && module2;
30384
30407
  var freeGlobal2 = typeof commonjsGlobal == "object" && commonjsGlobal;
30385
30408
  if (freeGlobal2.global === freeGlobal2 || freeGlobal2.window === freeGlobal2) {
@@ -35387,6 +35410,12 @@ const mergeRelationshipElements = (existingRelationships = [], newRelationships
35387
35410
  if (!newRelationships?.length) return existingRelationships;
35388
35411
  let largestId = getLargestRelationshipId(existingRelationships);
35389
35412
  const seenIds = new Set(existingRelationships.map((rel) => rel?.attributes?.Id).filter(Boolean));
35413
+ for (const rel of newRelationships) {
35414
+ const id = rel?.attributes?.Id;
35415
+ if (!id || seenIds.has(id)) continue;
35416
+ const numeric = Number(String(id).replace(REL_ID_NUMERIC_PATTERN, ""));
35417
+ if (Number.isFinite(numeric) && numeric > largestId) largestId = numeric;
35418
+ }
35390
35419
  const additions = [];
35391
35420
  newRelationships.forEach((rel) => {
35392
35421
  if (!rel?.attributes) return;
@@ -35400,7 +35429,15 @@ const mergeRelationshipElements = (existingRelationships = [], newRelationships
35400
35429
  const hasSeenId = currentId && seenIds.has(currentId);
35401
35430
  if (!isNewHyperlink && !isNewHeadFoot && existingTarget) return;
35402
35431
  if (!currentId || hasSeenId) {
35403
- attributes.Id = `rId${++largestId}`;
35432
+ let candidate = Math.max(largestId, 1);
35433
+ while (seenIds.has(`rId${candidate}`)) {
35434
+ candidate += 1;
35435
+ }
35436
+ attributes.Id = `rId${candidate}`;
35437
+ largestId = candidate;
35438
+ } else {
35439
+ const numeric = Number(String(currentId).replace(REL_ID_NUMERIC_PATTERN, ""));
35440
+ if (Number.isFinite(numeric) && numeric > largestId) largestId = numeric;
35404
35441
  }
35405
35442
  seenIds.add(attributes.Id);
35406
35443
  additions.push(rel);
@@ -35615,7 +35652,7 @@ const _SuperConverter = class _SuperConverter2 {
35615
35652
  static getStoredSuperdocVersion(docx) {
35616
35653
  return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
35617
35654
  }
35618
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0-next.9") {
35655
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.1") {
35619
35656
  return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
35620
35657
  }
35621
35658
  /**
@@ -36006,7 +36043,7 @@ prepareCommentsXmlFilesForExport_fn = function({ defs, exportType, commentsWithP
36006
36043
  };
36007
36044
  exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36008
36045
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36009
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36046
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36010
36047
  const newDocRels = [];
36011
36048
  Object.entries(this.headers).forEach(([id, header], index2) => {
36012
36049
  const fileName = relationships.elements.find((el) => el.attributes.Id === id)?.attributes.Target || `header${index2 + 1}.xml`;
@@ -36047,7 +36084,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36047
36084
  }
36048
36085
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36049
36086
  if (params2.relationships.length) {
36050
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36087
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36051
36088
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36052
36089
  declaration: this.initialJSON?.declaration,
36053
36090
  elements: [
@@ -36101,7 +36138,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36101
36138
  }
36102
36139
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36103
36140
  if (params2.relationships.length) {
36104
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36141
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36105
36142
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36106
36143
  declaration: this.initialJSON?.declaration,
36107
36144
  elements: [
@@ -36120,7 +36157,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36120
36157
  };
36121
36158
  exportProcessNewRelationships_fn = function(rels = []) {
36122
36159
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36123
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36160
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36124
36161
  relationships.elements = mergeRelationshipElements(relationships.elements, rels);
36125
36162
  };
36126
36163
  exportProcessMediaFiles_fn = async function(media = {}) {
@@ -36200,11 +36237,11 @@ var hasRequiredJszip_min;
36200
36237
  function requireJszip_min() {
36201
36238
  if (hasRequiredJszip_min) return jszip_min.exports;
36202
36239
  hasRequiredJszip_min = 1;
36203
- (function(module2, exports2) {
36240
+ (function(module2, exports$1) {
36204
36241
  !(function(e) {
36205
36242
  module2.exports = e();
36206
36243
  })(function() {
36207
- return (function s2(a, o, h2) {
36244
+ return (function s2(a, o, h) {
36208
36245
  function u(r2, e2) {
36209
36246
  if (!o[r2]) {
36210
36247
  if (!a[r2]) {
@@ -36218,23 +36255,23 @@ function requireJszip_min() {
36218
36255
  a[r2][0].call(i.exports, function(e3) {
36219
36256
  var t2 = a[r2][1][e3];
36220
36257
  return u(t2 || e3);
36221
- }, i, i.exports, s2, a, o, h2);
36258
+ }, i, i.exports, s2, a, o, h);
36222
36259
  }
36223
36260
  return o[r2].exports;
36224
36261
  }
36225
- for (var l3 = "function" == typeof commonjsRequire && commonjsRequire, e = 0; e < h2.length; e++) u(h2[e]);
36262
+ for (var l3 = "function" == typeof commonjsRequire && commonjsRequire, e = 0; e < h.length; e++) u(h[e]);
36226
36263
  return u;
36227
36264
  })({ 1: [function(e, t, r2) {
36228
36265
  var d2 = e("./utils"), c2 = e("./support"), p = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
36229
36266
  r2.encode = function(e2) {
36230
- for (var t2, r22, n, i, s2, a, o, h2 = [], u = 0, l3 = e2.length, f2 = l3, c22 = "string" !== d2.getTypeOf(e2); u < e2.length; ) f2 = l3 - u, n = c22 ? (t2 = e2[u++], r22 = u < l3 ? e2[u++] : 0, u < l3 ? e2[u++] : 0) : (t2 = e2.charCodeAt(u++), r22 = u < l3 ? e2.charCodeAt(u++) : 0, u < l3 ? e2.charCodeAt(u++) : 0), i = t2 >> 2, s2 = (3 & t2) << 4 | r22 >> 4, a = 1 < f2 ? (15 & r22) << 2 | n >> 6 : 64, o = 2 < f2 ? 63 & n : 64, h2.push(p.charAt(i) + p.charAt(s2) + p.charAt(a) + p.charAt(o));
36231
- return h2.join("");
36267
+ for (var t2, r22, n, i, s2, a, o, h = [], u = 0, l3 = e2.length, f2 = l3, c22 = "string" !== d2.getTypeOf(e2); u < e2.length; ) f2 = l3 - u, n = c22 ? (t2 = e2[u++], r22 = u < l3 ? e2[u++] : 0, u < l3 ? e2[u++] : 0) : (t2 = e2.charCodeAt(u++), r22 = u < l3 ? e2.charCodeAt(u++) : 0, u < l3 ? e2.charCodeAt(u++) : 0), i = t2 >> 2, s2 = (3 & t2) << 4 | r22 >> 4, a = 1 < f2 ? (15 & r22) << 2 | n >> 6 : 64, o = 2 < f2 ? 63 & n : 64, h.push(p.charAt(i) + p.charAt(s2) + p.charAt(a) + p.charAt(o));
36268
+ return h.join("");
36232
36269
  }, r2.decode = function(e2) {
36233
- var t2, r22, n, i, s2, a, o = 0, h2 = 0, u = "data:";
36270
+ var t2, r22, n, i, s2, a, o = 0, h = 0, u = "data:";
36234
36271
  if (e2.substr(0, u.length) === u) throw new Error("Invalid base64 input, it looks like a data url.");
36235
36272
  var l3, f2 = 3 * (e2 = e2.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
36236
36273
  if (e2.charAt(e2.length - 1) === p.charAt(64) && f2--, e2.charAt(e2.length - 2) === p.charAt(64) && f2--, f2 % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
36237
- for (l3 = c2.uint8array ? new Uint8Array(0 | f2) : new Array(0 | f2); o < e2.length; ) t2 = p.indexOf(e2.charAt(o++)) << 2 | (i = p.indexOf(e2.charAt(o++))) >> 4, r22 = (15 & i) << 4 | (s2 = p.indexOf(e2.charAt(o++))) >> 2, n = (3 & s2) << 6 | (a = p.indexOf(e2.charAt(o++))), l3[h2++] = t2, 64 !== s2 && (l3[h2++] = r22), 64 !== a && (l3[h2++] = n);
36274
+ for (l3 = c2.uint8array ? new Uint8Array(0 | f2) : new Array(0 | f2); o < e2.length; ) t2 = p.indexOf(e2.charAt(o++)) << 2 | (i = p.indexOf(e2.charAt(o++))) >> 4, r22 = (15 & i) << 4 | (s2 = p.indexOf(e2.charAt(o++))) >> 2, n = (3 & s2) << 6 | (a = p.indexOf(e2.charAt(o++))), l3[h++] = t2, 64 !== s2 && (l3[h++] = r22), 64 !== a && (l3[h++] = n);
36238
36275
  return l3;
36239
36276
  };
36240
36277
  }, { "./support": 30, "./utils": 32 }], 2: [function(e, t, r2) {
@@ -36289,25 +36326,25 @@ function requireJszip_min() {
36289
36326
  n = "undefined" != typeof Promise ? Promise : e("lie"), t.exports = { Promise: n };
36290
36327
  }, { lie: 37 }], 7: [function(e, t, r2) {
36291
36328
  var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Uint32Array, i = e("pako"), s2 = e("./utils"), a = e("./stream/GenericWorker"), o = n ? "uint8array" : "array";
36292
- function h2(e2, t2) {
36329
+ function h(e2, t2) {
36293
36330
  a.call(this, "FlateWorker/" + e2), this._pako = null, this._pakoAction = e2, this._pakoOptions = t2, this.meta = {};
36294
36331
  }
36295
- r2.magic = "\b\0", s2.inherits(h2, a), h2.prototype.processChunk = function(e2) {
36332
+ r2.magic = "\b\0", s2.inherits(h, a), h.prototype.processChunk = function(e2) {
36296
36333
  this.meta = e2.meta, null === this._pako && this._createPako(), this._pako.push(s2.transformTo(o, e2.data), false);
36297
- }, h2.prototype.flush = function() {
36334
+ }, h.prototype.flush = function() {
36298
36335
  a.prototype.flush.call(this), null === this._pako && this._createPako(), this._pako.push([], true);
36299
- }, h2.prototype.cleanUp = function() {
36336
+ }, h.prototype.cleanUp = function() {
36300
36337
  a.prototype.cleanUp.call(this), this._pako = null;
36301
- }, h2.prototype._createPako = function() {
36338
+ }, h.prototype._createPako = function() {
36302
36339
  this._pako = new i[this._pakoAction]({ raw: true, level: this._pakoOptions.level || -1 });
36303
36340
  var t2 = this;
36304
36341
  this._pako.onData = function(e2) {
36305
36342
  t2.push({ data: e2, meta: t2.meta });
36306
36343
  };
36307
36344
  }, r2.compressWorker = function(e2) {
36308
- return new h2("Deflate", e2);
36345
+ return new h("Deflate", e2);
36309
36346
  }, r2.uncompressWorker = function() {
36310
- return new h2("Inflate", {});
36347
+ return new h("Inflate", {});
36311
36348
  };
36312
36349
  }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(e, t, r2) {
36313
36350
  function A2(e2, t2) {
@@ -36316,21 +36353,21 @@ function requireJszip_min() {
36316
36353
  return n2;
36317
36354
  }
36318
36355
  function n(e2, t2, r22, n2, i2, s22) {
36319
- var a, o, h2 = e2.file, u = e2.compression, l3 = s22 !== O2.utf8encode, f2 = I2.transformTo("string", s22(h2.name)), c2 = I2.transformTo("string", O2.utf8encode(h2.name)), d2 = h2.comment, p = I2.transformTo("string", s22(d2)), m2 = I2.transformTo("string", O2.utf8encode(d2)), _2 = c2.length !== h2.name.length, g = m2.length !== d2.length, b2 = "", v2 = "", y2 = "", w2 = h2.dir, k2 = h2.date, x = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
36320
- t2 && !r22 || (x.crc32 = e2.crc32, x.compressedSize = e2.compressedSize, x.uncompressedSize = e2.uncompressedSize);
36356
+ var a, o, h = e2.file, u = e2.compression, l3 = s22 !== O.utf8encode, f2 = I2.transformTo("string", s22(h.name)), c2 = I2.transformTo("string", O.utf8encode(h.name)), d2 = h.comment, p = I2.transformTo("string", s22(d2)), m2 = I2.transformTo("string", O.utf8encode(d2)), _2 = c2.length !== h.name.length, g = m2.length !== d2.length, b2 = "", v2 = "", y2 = "", w2 = h.dir, k2 = h.date, x2 = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
36357
+ t2 && !r22 || (x2.crc32 = e2.crc32, x2.compressedSize = e2.compressedSize, x2.uncompressedSize = e2.uncompressedSize);
36321
36358
  var S2 = 0;
36322
36359
  t2 && (S2 |= 8), l3 || !_2 && !g || (S2 |= 2048);
36323
36360
  var z2 = 0, C2 = 0;
36324
36361
  w2 && (z2 |= 16), "UNIX" === i2 ? (C2 = 798, z2 |= (function(e3, t3) {
36325
36362
  var r3 = e3;
36326
36363
  return e3 || (r3 = t3 ? 16893 : 33204), (65535 & r3) << 16;
36327
- })(h2.unixPermissions, w2)) : (C2 = 20, z2 |= (function(e3) {
36364
+ })(h.unixPermissions, w2)) : (C2 = 20, z2 |= (function(e3) {
36328
36365
  return 63 & (e3 || 0);
36329
- })(h2.dosPermissions)), a = k2.getUTCHours(), a <<= 6, a |= k2.getUTCMinutes(), a <<= 5, a |= k2.getUTCSeconds() / 2, o = k2.getUTCFullYear() - 1980, o <<= 4, o |= k2.getUTCMonth() + 1, o <<= 5, o |= k2.getUTCDate(), _2 && (v2 = A2(1, 1) + A2(B2(f2), 4) + c2, b2 += "up" + A2(v2.length, 2) + v2), g && (y2 = A2(1, 1) + A2(B2(p), 4) + m2, b2 += "uc" + A2(y2.length, 2) + y2);
36366
+ })(h.dosPermissions)), a = k2.getUTCHours(), a <<= 6, a |= k2.getUTCMinutes(), a <<= 5, a |= k2.getUTCSeconds() / 2, o = k2.getUTCFullYear() - 1980, o <<= 4, o |= k2.getUTCMonth() + 1, o <<= 5, o |= k2.getUTCDate(), _2 && (v2 = A2(1, 1) + A2(B2(f2), 4) + c2, b2 += "up" + A2(v2.length, 2) + v2), g && (y2 = A2(1, 1) + A2(B2(p), 4) + m2, b2 += "uc" + A2(y2.length, 2) + y2);
36330
36367
  var E2 = "";
36331
- return E2 += "\n\0", E2 += A2(S2, 2), E2 += u.magic, E2 += A2(a, 2), E2 += A2(o, 2), E2 += A2(x.crc32, 4), E2 += A2(x.compressedSize, 4), E2 += A2(x.uncompressedSize, 4), E2 += A2(f2.length, 2), E2 += A2(b2.length, 2), { fileRecord: R2.LOCAL_FILE_HEADER + E2 + f2 + b2, dirRecord: R2.CENTRAL_FILE_HEADER + A2(C2, 2) + E2 + A2(p.length, 2) + "\0\0\0\0" + A2(z2, 4) + A2(n2, 4) + f2 + b2 + p };
36368
+ return E2 += "\n\0", E2 += A2(S2, 2), E2 += u.magic, E2 += A2(a, 2), E2 += A2(o, 2), E2 += A2(x2.crc32, 4), E2 += A2(x2.compressedSize, 4), E2 += A2(x2.uncompressedSize, 4), E2 += A2(f2.length, 2), E2 += A2(b2.length, 2), { fileRecord: R.LOCAL_FILE_HEADER + E2 + f2 + b2, dirRecord: R.CENTRAL_FILE_HEADER + A2(C2, 2) + E2 + A2(p.length, 2) + "\0\0\0\0" + A2(z2, 4) + A2(n2, 4) + f2 + b2 + p };
36332
36369
  }
36333
- var I2 = e("../utils"), i = e("../stream/GenericWorker"), O2 = e("../utf8"), B2 = e("../crc32"), R2 = e("../signature");
36370
+ var I2 = e("../utils"), i = e("../stream/GenericWorker"), O = e("../utf8"), B2 = e("../crc32"), R = e("../signature");
36334
36371
  function s2(e2, t2, r22, n2) {
36335
36372
  i.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = t2, this.zipPlatform = r22, this.encodeFileName = n2, this.streamFiles = e2, this.accumulate = false, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
36336
36373
  }
@@ -36348,7 +36385,7 @@ function requireJszip_min() {
36348
36385
  this.accumulate = false;
36349
36386
  var t2 = this.streamFiles && !e2.file.dir, r22 = n(e2, t2, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
36350
36387
  if (this.dirRecords.push(r22.dirRecord), t2) this.push({ data: (function(e3) {
36351
- return R2.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36388
+ return R.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36352
36389
  })(e2), meta: { percent: 100 } });
36353
36390
  else for (this.push({ data: r22.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
36354
36391
  this.currentFile = null;
@@ -36356,7 +36393,7 @@ function requireJszip_min() {
36356
36393
  for (var e2 = this.bytesWritten, t2 = 0; t2 < this.dirRecords.length; t2++) this.push({ data: this.dirRecords[t2], meta: { percent: 100 } });
36357
36394
  var r22 = this.bytesWritten - e2, n2 = (function(e3, t3, r3, n3, i2) {
36358
36395
  var s22 = I2.transformTo("string", i2(n3));
36359
- return R2.CENTRAL_DIRECTORY_END + "\0\0\0\0" + A2(e3, 2) + A2(e3, 2) + A2(t3, 4) + A2(r3, 4) + A2(s22.length, 2) + s22;
36396
+ return R.CENTRAL_DIRECTORY_END + "\0\0\0\0" + A2(e3, 2) + A2(e3, 2) + A2(t3, 4) + A2(r3, 4) + A2(s22.length, 2) + s22;
36360
36397
  })(this.dirRecords.length, r22, e2, this.zipComment, this.encodeFileName);
36361
36398
  this.push({ data: n2, meta: { percent: 100 } });
36362
36399
  }, s2.prototype.prepareNextSource = function() {
@@ -36388,17 +36425,17 @@ function requireJszip_min() {
36388
36425
  }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(e, t, r2) {
36389
36426
  var u = e("../compressions"), n = e("./ZipFileWorker");
36390
36427
  r2.generateWorker = function(e2, a, t2) {
36391
- var o = new n(a.streamFiles, t2, a.platform, a.encodeFileName), h2 = 0;
36428
+ var o = new n(a.streamFiles, t2, a.platform, a.encodeFileName), h = 0;
36392
36429
  try {
36393
36430
  e2.forEach(function(e3, t3) {
36394
- h2++;
36431
+ h++;
36395
36432
  var r22 = (function(e4, t4) {
36396
36433
  var r3 = e4 || t4, n3 = u[r3];
36397
36434
  if (!n3) throw new Error(r3 + " is not a valid compression method !");
36398
36435
  return n3;
36399
36436
  })(t3.options.compression, a.compression), n2 = t3.options.compressionOptions || a.compressionOptions || {}, i = t3.dir, s2 = t3.date;
36400
36437
  t3._compressWorker(r22, n2).withStreamInfo("file", { name: e3, dir: i, date: s2, comment: t3.comment || "", unixPermissions: t3.unixPermissions, dosPermissions: t3.dosPermissions }).pipe(o);
36401
- }), o.entriesCount = h2;
36438
+ }), o.entriesCount = h;
36402
36439
  } catch (e3) {
36403
36440
  o.error(e3);
36404
36441
  }
@@ -36430,7 +36467,7 @@ function requireJszip_min() {
36430
36467
  });
36431
36468
  }
36432
36469
  t.exports = function(e2, o) {
36433
- var h2 = this;
36470
+ var h = this;
36434
36471
  return o = u.extend(o || {}, { base64: false, checkCRC32: false, optimizedBinaryString: false, createFolders: false, decodeFileName: n.utf8decode }), l3.isNode && l3.isStream(e2) ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : u.prepareContent("the loaded zip file", e2, true, o.optimizedBinaryString, o.base64).then(function(e3) {
36435
36472
  var t2 = new s2(o);
36436
36473
  return t2.load(e3), t2;
@@ -36441,9 +36478,9 @@ function requireJszip_min() {
36441
36478
  }).then(function(e3) {
36442
36479
  for (var t2 = e3.shift(), r22 = t2.files, n2 = 0; n2 < r22.length; n2++) {
36443
36480
  var i2 = r22[n2], s22 = i2.fileNameStr, a2 = u.resolve(i2.fileNameStr);
36444
- h2.file(a2, i2.decompressed, { binary: true, optimizedBinaryString: true, date: i2.date, dir: i2.dir, comment: i2.fileCommentStr.length ? i2.fileCommentStr : null, unixPermissions: i2.unixPermissions, dosPermissions: i2.dosPermissions, createFolders: o.createFolders }), i2.dir || (h2.file(a2).unsafeOriginalName = s22);
36481
+ h.file(a2, i2.decompressed, { binary: true, optimizedBinaryString: true, date: i2.date, dir: i2.dir, comment: i2.fileCommentStr.length ? i2.fileCommentStr : null, unixPermissions: i2.unixPermissions, dosPermissions: i2.dosPermissions, createFolders: o.createFolders }), i2.dir || (h.file(a2).unsafeOriginalName = s22);
36445
36482
  }
36446
- return t2.zipComment.length && (h2.comment = t2.zipComment), h2;
36483
+ return t2.zipComment.length && (h.comment = t2.zipComment), h;
36447
36484
  });
36448
36485
  };
36449
36486
  }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(e, t, r2) {
@@ -36503,8 +36540,8 @@ function requireJszip_min() {
36503
36540
  r22 && void 0 !== r22.binary || (s22.binary = !a2), (t2 instanceof c2 && 0 === t2.uncompressedSize || s22.dir || !t2 || 0 === t2.length) && (s22.base64 = false, s22.binary = true, t2 = "", s22.compression = "STORE", i2 = "string");
36504
36541
  var o2 = null;
36505
36542
  o2 = t2 instanceof c2 || t2 instanceof l3 ? t2 : p.isNode && p.isStream(t2) ? new m2(e2, t2) : u.prepareContent(e2, t2, s22.binary, s22.optimizedBinaryString, s22.base64);
36506
- var h22 = new d2(e2, o2, s22);
36507
- this.files[e2] = h22;
36543
+ var h2 = new d2(e2, o2, s22);
36544
+ this.files[e2] = h2;
36508
36545
  }
36509
36546
  var i = e("./utf8"), u = e("./utils"), l3 = e("./stream/GenericWorker"), a = e("./stream/StreamHelper"), f2 = e("./defaults"), c2 = e("./compressedObject"), d2 = e("./zipObject"), o = e("./generate"), p = e("./nodejsUtils"), m2 = e("./nodejs/NodejsStreamInputAdapter"), _2 = function(e2) {
36510
36547
  "/" === e2.slice(-1) && (e2 = e2.substring(0, e2.length - 1));
@@ -36515,7 +36552,7 @@ function requireJszip_min() {
36515
36552
  }, b2 = function(e2, t2) {
36516
36553
  return t2 = void 0 !== t2 ? t2 : f2.createFolders, e2 = g(e2), this.files[e2] || s2.call(this, e2, null, { dir: true, createFolders: t2 }), this.files[e2];
36517
36554
  };
36518
- function h2(e2) {
36555
+ function h(e2) {
36519
36556
  return "[object RegExp]" === Object.prototype.toString.call(e2);
36520
36557
  }
36521
36558
  var n = { load: function() {
@@ -36530,7 +36567,7 @@ function requireJszip_min() {
36530
36567
  }), n2;
36531
36568
  }, file: function(e2, t2, r22) {
36532
36569
  if (1 !== arguments.length) return e2 = this.root + e2, s2.call(this, e2, t2, r22), this;
36533
- if (h2(e2)) {
36570
+ if (h(e2)) {
36534
36571
  var n2 = e2;
36535
36572
  return this.filter(function(e3, t3) {
36536
36573
  return !t3.dir && n2.test(e3);
@@ -36540,7 +36577,7 @@ function requireJszip_min() {
36540
36577
  return i2 && !i2.dir ? i2 : null;
36541
36578
  }, folder: function(r22) {
36542
36579
  if (!r22) return this;
36543
- if (h2(r22)) return this.filter(function(e3, t3) {
36580
+ if (h(r22)) return this.filter(function(e3, t3) {
36544
36581
  return t3.dir && r22.test(e3);
36545
36582
  });
36546
36583
  var e2 = this.root + r22, t2 = b2.call(this, e2), n2 = this.clone();
@@ -36657,10 +36694,10 @@ function requireJszip_min() {
36657
36694
  return this.index += e2, t2;
36658
36695
  }, t.exports = i;
36659
36696
  }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(e, t, r2) {
36660
- var n = e("../utils"), i = e("../support"), s2 = e("./ArrayReader"), a = e("./StringReader"), o = e("./NodeBufferReader"), h2 = e("./Uint8ArrayReader");
36697
+ var n = e("../utils"), i = e("../support"), s2 = e("./ArrayReader"), a = e("./StringReader"), o = e("./NodeBufferReader"), h = e("./Uint8ArrayReader");
36661
36698
  t.exports = function(e2) {
36662
36699
  var t2 = n.getTypeOf(e2);
36663
- return n.checkSupport(t2), "string" !== t2 || i.uint8array ? "nodebuffer" === t2 ? new o(e2) : i.uint8array ? new h2(n.transformTo("uint8array", e2)) : new s2(n.transformTo("array", e2)) : new a(e2);
36700
+ return n.checkSupport(t2), "string" !== t2 || i.uint8array ? "nodebuffer" === t2 ? new o(e2) : i.uint8array ? new h(n.transformTo("uint8array", e2)) : new s2(n.transformTo("array", e2)) : new a(e2);
36664
36701
  };
36665
36702
  }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(e, t, r2) {
36666
36703
  r2.LOCAL_FILE_HEADER = "PK", r2.CENTRAL_FILE_HEADER = "PK", r2.CENTRAL_DIRECTORY_END = "PK", r2.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", r2.ZIP64_CENTRAL_DIRECTORY_END = "PK", r2.DATA_DESCRIPTOR = "PK\x07\b";
@@ -36783,7 +36820,7 @@ function requireJszip_min() {
36783
36820
  return this.previous ? this.previous + " -> " + e2 : e2;
36784
36821
  } }, t.exports = n;
36785
36822
  }, {}], 29: [function(e, t, r2) {
36786
- var h2 = e("../utils"), i = e("./ConvertWorker"), s2 = e("./GenericWorker"), u = e("../base64"), n = e("../support"), a = e("../external"), o = null;
36823
+ var h = e("../utils"), i = e("./ConvertWorker"), s2 = e("./GenericWorker"), u = e("../base64"), n = e("../support"), a = e("../external"), o = null;
36787
36824
  if (n.nodestream) try {
36788
36825
  o = e("../nodejs/NodejsStreamOutputAdapter");
36789
36826
  } catch (e2) {
@@ -36800,11 +36837,11 @@ function requireJszip_min() {
36800
36837
  var e3 = (function(e4, t3, r3) {
36801
36838
  switch (e4) {
36802
36839
  case "blob":
36803
- return h2.newBlob(h2.transformTo("arraybuffer", t3), r3);
36840
+ return h.newBlob(h.transformTo("arraybuffer", t3), r3);
36804
36841
  case "base64":
36805
36842
  return u.encode(t3);
36806
36843
  default:
36807
- return h2.transformTo(e4, t3);
36844
+ return h.transformTo(e4, t3);
36808
36845
  }
36809
36846
  })(s22, (function(e4, t3) {
36810
36847
  var r3, n3 = 0, i3 = null, s3 = 0;
@@ -36842,7 +36879,7 @@ function requireJszip_min() {
36842
36879
  n2 = "string";
36843
36880
  }
36844
36881
  try {
36845
- this._internalType = n2, this._outputType = t2, this._mimeType = r22, h2.checkSupport(n2), this._worker = e2.pipe(new i(n2)), e2.lock();
36882
+ this._internalType = n2, this._outputType = t2, this._mimeType = r22, h.checkSupport(n2), this._worker = e2.pipe(new i(n2)), e2.lock();
36846
36883
  } catch (e3) {
36847
36884
  this._worker = new s2("error"), this._worker.error(e3);
36848
36885
  }
@@ -36854,14 +36891,14 @@ function requireJszip_min() {
36854
36891
  return "data" === e2 ? this._worker.on(e2, function(e3) {
36855
36892
  t2.call(r22, e3.data, e3.meta);
36856
36893
  }) : this._worker.on(e2, function() {
36857
- h2.delay(t2, arguments, r22);
36894
+ h.delay(t2, arguments, r22);
36858
36895
  }), this;
36859
36896
  }, resume: function() {
36860
- return h2.delay(this._worker.resume, [], this._worker), this;
36897
+ return h.delay(this._worker.resume, [], this._worker), this;
36861
36898
  }, pause: function() {
36862
36899
  return this._worker.pause(), this;
36863
36900
  }, toNodejsStream: function(e2) {
36864
- if (h2.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method");
36901
+ if (h.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method");
36865
36902
  return new o(this, { objectMode: "nodebuffer" !== this._outputType }, e2);
36866
36903
  } }, t.exports = f2;
36867
36904
  }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(e, t, r2) {
@@ -36885,7 +36922,7 @@ function requireJszip_min() {
36885
36922
  r2.nodestream = false;
36886
36923
  }
36887
36924
  }, { "readable-stream": 16 }], 31: [function(e, t, s2) {
36888
- for (var o = e("./utils"), h2 = e("./support"), r2 = e("./nodejsUtils"), n = e("./stream/GenericWorker"), u = new Array(256), i = 0; i < 256; i++) u[i] = 252 <= i ? 6 : 248 <= i ? 5 : 240 <= i ? 4 : 224 <= i ? 3 : 192 <= i ? 2 : 1;
36925
+ for (var o = e("./utils"), h = e("./support"), r2 = e("./nodejsUtils"), n = e("./stream/GenericWorker"), u = new Array(256), i = 0; i < 256; i++) u[i] = 252 <= i ? 6 : 248 <= i ? 5 : 240 <= i ? 4 : 224 <= i ? 3 : 192 <= i ? 2 : 1;
36889
36926
  u[254] = u[254] = 1;
36890
36927
  function a() {
36891
36928
  n.call(this, "utf-8 decode"), this.leftOver = null;
@@ -36894,14 +36931,14 @@ function requireJszip_min() {
36894
36931
  n.call(this, "utf-8 encode");
36895
36932
  }
36896
36933
  s2.utf8encode = function(e2) {
36897
- return h2.nodebuffer ? r2.newBufferFrom(e2, "utf-8") : (function(e3) {
36934
+ return h.nodebuffer ? r2.newBufferFrom(e2, "utf-8") : (function(e3) {
36898
36935
  var t2, r22, n2, i2, s22, a2 = e3.length, o2 = 0;
36899
36936
  for (i2 = 0; i2 < a2; i2++) 55296 == (64512 & (r22 = e3.charCodeAt(i2))) && i2 + 1 < a2 && 56320 == (64512 & (n2 = e3.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), o2 += r22 < 128 ? 1 : r22 < 2048 ? 2 : r22 < 65536 ? 3 : 4;
36900
- for (t2 = h2.uint8array ? new Uint8Array(o2) : new Array(o2), i2 = s22 = 0; s22 < o2; i2++) 55296 == (64512 & (r22 = e3.charCodeAt(i2))) && i2 + 1 < a2 && 56320 == (64512 & (n2 = e3.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
36937
+ for (t2 = h.uint8array ? new Uint8Array(o2) : new Array(o2), i2 = s22 = 0; s22 < o2; i2++) 55296 == (64512 & (r22 = e3.charCodeAt(i2))) && i2 + 1 < a2 && 56320 == (64512 & (n2 = e3.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
36901
36938
  return t2;
36902
36939
  })(e2);
36903
36940
  }, s2.utf8decode = function(e2) {
36904
- return h2.nodebuffer ? o.transformTo("nodebuffer", e2).toString("utf-8") : (function(e3) {
36941
+ return h.nodebuffer ? o.transformTo("nodebuffer", e2).toString("utf-8") : (function(e3) {
36905
36942
  var t2, r22, n2, i2, s22 = e3.length, a2 = new Array(2 * s22);
36906
36943
  for (t2 = r22 = 0; t2 < s22; ) if ((n2 = e3[t2++]) < 128) a2[r22++] = n2;
36907
36944
  else if (4 < (i2 = u[n2])) a2[r22++] = 65533, t2 += i2 - 1;
@@ -36910,11 +36947,11 @@ function requireJszip_min() {
36910
36947
  1 < i2 ? a2[r22++] = 65533 : n2 < 65536 ? a2[r22++] = n2 : (n2 -= 65536, a2[r22++] = 55296 | n2 >> 10 & 1023, a2[r22++] = 56320 | 1023 & n2);
36911
36948
  }
36912
36949
  return a2.length !== r22 && (a2.subarray ? a2 = a2.subarray(0, r22) : a2.length = r22), o.applyFromCharCode(a2);
36913
- })(e2 = o.transformTo(h2.uint8array ? "uint8array" : "array", e2));
36950
+ })(e2 = o.transformTo(h.uint8array ? "uint8array" : "array", e2));
36914
36951
  }, o.inherits(a, n), a.prototype.processChunk = function(e2) {
36915
- var t2 = o.transformTo(h2.uint8array ? "uint8array" : "array", e2.data);
36952
+ var t2 = o.transformTo(h.uint8array ? "uint8array" : "array", e2.data);
36916
36953
  if (this.leftOver && this.leftOver.length) {
36917
- if (h2.uint8array) {
36954
+ if (h.uint8array) {
36918
36955
  var r22 = t2;
36919
36956
  (t2 = new Uint8Array(r22.length + this.leftOver.length)).set(this.leftOver, 0), t2.set(r22, this.leftOver.length);
36920
36957
  } else t2 = this.leftOver.concat(t2);
@@ -36925,14 +36962,14 @@ function requireJszip_min() {
36925
36962
  for ((t3 = t3 || e3.length) > e3.length && (t3 = e3.length), r3 = t3 - 1; 0 <= r3 && 128 == (192 & e3[r3]); ) r3--;
36926
36963
  return r3 < 0 ? t3 : 0 === r3 ? t3 : r3 + u[e3[r3]] > t3 ? r3 : t3;
36927
36964
  })(t2), i2 = t2;
36928
- n2 !== t2.length && (h2.uint8array ? (i2 = t2.subarray(0, n2), this.leftOver = t2.subarray(n2, t2.length)) : (i2 = t2.slice(0, n2), this.leftOver = t2.slice(n2, t2.length))), this.push({ data: s2.utf8decode(i2), meta: e2.meta });
36965
+ n2 !== t2.length && (h.uint8array ? (i2 = t2.subarray(0, n2), this.leftOver = t2.subarray(n2, t2.length)) : (i2 = t2.slice(0, n2), this.leftOver = t2.slice(n2, t2.length))), this.push({ data: s2.utf8decode(i2), meta: e2.meta });
36929
36966
  }, a.prototype.flush = function() {
36930
36967
  this.leftOver && this.leftOver.length && (this.push({ data: s2.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
36931
36968
  }, s2.Utf8DecodeWorker = a, o.inherits(l3, n), l3.prototype.processChunk = function(e2) {
36932
36969
  this.push({ data: s2.utf8encode(e2.data), meta: e2.meta });
36933
36970
  }, s2.Utf8EncodeWorker = l3;
36934
36971
  }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(e, t, a) {
36935
- var o = e("./support"), h2 = e("./base64"), r2 = e("./nodejsUtils"), u = e("./external");
36972
+ var o = e("./support"), h = e("./base64"), r2 = e("./nodejsUtils"), u = e("./external");
36936
36973
  function n(e2) {
36937
36974
  return e2;
36938
36975
  }
@@ -37066,17 +37103,17 @@ function requireJszip_min() {
37066
37103
  }) : n3;
37067
37104
  }).then(function(e3) {
37068
37105
  var t2 = a.getTypeOf(e3);
37069
- return t2 ? ("arraybuffer" === t2 ? e3 = a.transformTo("uint8array", e3) : "string" === t2 && (s22 ? e3 = h2.decode(e3) : n2 && true !== i2 && (e3 = (function(e4) {
37106
+ return t2 ? ("arraybuffer" === t2 ? e3 = a.transformTo("uint8array", e3) : "string" === t2 && (s22 ? e3 = h.decode(e3) : n2 && true !== i2 && (e3 = (function(e4) {
37070
37107
  return l3(e4, o.uint8array ? new Uint8Array(e4.length) : new Array(e4.length));
37071
37108
  })(e3))), e3) : u.Promise.reject(new Error("Can't read the data of '" + r22 + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
37072
37109
  });
37073
37110
  };
37074
37111
  }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(e, t, r2) {
37075
37112
  var n = e("./reader/readerFor"), i = e("./utils"), s2 = e("./signature"), a = e("./zipEntry"), o = e("./support");
37076
- function h2(e2) {
37113
+ function h(e2) {
37077
37114
  this.files = [], this.loadOptions = e2;
37078
37115
  }
37079
- h2.prototype = { checkSignature: function(e2) {
37116
+ h.prototype = { checkSignature: function(e2) {
37080
37117
  if (!this.reader.readAndCheckSignature(e2)) {
37081
37118
  this.reader.index -= 4;
37082
37119
  var t2 = this.reader.readString(4);
@@ -37122,9 +37159,9 @@ function requireJszip_min() {
37122
37159
  this.reader = n(e2);
37123
37160
  }, load: function(e2) {
37124
37161
  this.prepareReader(e2), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
37125
- } }, t.exports = h2;
37162
+ } }, t.exports = h;
37126
37163
  }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(e, t, r2) {
37127
- var n = e("./reader/readerFor"), s2 = e("./utils"), i = e("./compressedObject"), a = e("./crc32"), o = e("./utf8"), h2 = e("./compressions"), u = e("./support");
37164
+ var n = e("./reader/readerFor"), s2 = e("./utils"), i = e("./compressedObject"), a = e("./crc32"), o = e("./utf8"), h = e("./compressions"), u = e("./support");
37128
37165
  function l3(e2, t2) {
37129
37166
  this.options = e2, this.loadOptions = t2;
37130
37167
  }
@@ -37136,7 +37173,7 @@ function requireJszip_min() {
37136
37173
  var t2, r22;
37137
37174
  if (e2.skip(22), this.fileNameLength = e2.readInt(2), r22 = e2.readInt(2), this.fileName = e2.readData(this.fileNameLength), e2.skip(r22), -1 === this.compressedSize || -1 === this.uncompressedSize) throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
37138
37175
  if (null === (t2 = (function(e3) {
37139
- for (var t3 in h2) if (Object.prototype.hasOwnProperty.call(h2, t3) && h2[t3].magic === e3) return h2[t3];
37176
+ for (var t3 in h) if (Object.prototype.hasOwnProperty.call(h, t3) && h[t3].magic === e3) return h[t3];
37140
37177
  return null;
37141
37178
  })(this.compressionMethod))) throw new Error("Corrupted zip : compression " + s2.pretty(this.compressionMethod) + " unknown (inner file : " + s2.transformTo("string", this.fileName) + ")");
37142
37179
  this.decompressed = new i(this.compressedSize, this.uncompressedSize, this.crc32, t2, e2.readData(this.compressedSize));
@@ -37194,7 +37231,7 @@ function requireJszip_min() {
37194
37231
  function n(e2, t2, r22) {
37195
37232
  this.name = e2, this.dir = r22.dir, this.date = r22.date, this.comment = r22.comment, this.unixPermissions = r22.unixPermissions, this.dosPermissions = r22.dosPermissions, this._data = t2, this._dataBinary = r22.binary, this.options = { compression: r22.compression, compressionOptions: r22.compressionOptions };
37196
37233
  }
37197
- var s2 = e("./stream/StreamHelper"), i = e("./stream/DataWorker"), a = e("./utf8"), o = e("./compressedObject"), h2 = e("./stream/GenericWorker");
37234
+ var s2 = e("./stream/StreamHelper"), i = e("./stream/DataWorker"), a = e("./utf8"), o = e("./compressedObject"), h = e("./stream/GenericWorker");
37198
37235
  n.prototype = { internalStream: function(e2) {
37199
37236
  var t2 = null, r22 = "string";
37200
37237
  try {
@@ -37204,7 +37241,7 @@ function requireJszip_min() {
37204
37241
  var i2 = !this._dataBinary;
37205
37242
  i2 && !n2 && (t2 = t2.pipe(new a.Utf8EncodeWorker())), !i2 && n2 && (t2 = t2.pipe(new a.Utf8DecodeWorker()));
37206
37243
  } catch (e3) {
37207
- (t2 = new h2("error")).error(e3);
37244
+ (t2 = new h("error")).error(e3);
37208
37245
  }
37209
37246
  return new s2(t2, r22, "");
37210
37247
  }, async: function(e2, t2) {
@@ -37216,7 +37253,7 @@ function requireJszip_min() {
37216
37253
  var r22 = this._decompressWorker();
37217
37254
  return this._dataBinary || (r22 = r22.pipe(new a.Utf8EncodeWorker())), o.createWorkerFrom(r22, e2, t2);
37218
37255
  }, _decompressWorker: function() {
37219
- return this._data instanceof o ? this._data.getContentWorker() : this._data instanceof h2 ? this._data : new i(this._data);
37256
+ return this._data instanceof o ? this._data.getContentWorker() : this._data instanceof h ? this._data : new i(this._data);
37220
37257
  } };
37221
37258
  for (var u = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], l3 = function() {
37222
37259
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
@@ -37244,18 +37281,18 @@ function requireJszip_min() {
37244
37281
  o.port2.postMessage(0);
37245
37282
  };
37246
37283
  }
37247
- var h2 = [];
37284
+ var h = [];
37248
37285
  function u() {
37249
37286
  var e3, t3;
37250
37287
  n = true;
37251
- for (var r22 = h2.length; r22; ) {
37252
- for (t3 = h2, h2 = [], e3 = -1; ++e3 < r22; ) t3[e3]();
37253
- r22 = h2.length;
37288
+ for (var r22 = h.length; r22; ) {
37289
+ for (t3 = h, h = [], e3 = -1; ++e3 < r22; ) t3[e3]();
37290
+ r22 = h.length;
37254
37291
  }
37255
37292
  n = false;
37256
37293
  }
37257
37294
  l3.exports = function(e3) {
37258
- 1 !== h2.push(e3) || n || r2();
37295
+ 1 !== h.push(e3) || n || r2();
37259
37296
  };
37260
37297
  }).call(this, "undefined" != typeof commonjsGlobal ? commonjsGlobal : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {});
37261
37298
  }, {}], 37: [function(e, t, r2) {
@@ -37267,7 +37304,7 @@ function requireJszip_min() {
37267
37304
  if ("function" != typeof e2) throw new TypeError("resolver must be a function");
37268
37305
  this.state = n, this.queue = [], this.outcome = void 0, e2 !== u && d2(this, e2);
37269
37306
  }
37270
- function h2(e2, t2, r22) {
37307
+ function h(e2, t2, r22) {
37271
37308
  this.promise = e2, "function" == typeof t2 && (this.onFulfilled = t2, this.callFulfilled = this.otherCallFulfilled), "function" == typeof r22 && (this.onRejected = r22, this.callRejected = this.otherCallRejected);
37272
37309
  }
37273
37310
  function f2(t2, r22, n2) {
@@ -37326,15 +37363,15 @@ function requireJszip_min() {
37326
37363
  }, o.prototype.then = function(e2, t2) {
37327
37364
  if ("function" != typeof e2 && this.state === a || "function" != typeof t2 && this.state === s2) return this;
37328
37365
  var r22 = new this.constructor(u);
37329
- this.state !== n ? f2(r22, this.state === a ? e2 : t2, this.outcome) : this.queue.push(new h2(r22, e2, t2));
37366
+ this.state !== n ? f2(r22, this.state === a ? e2 : t2, this.outcome) : this.queue.push(new h(r22, e2, t2));
37330
37367
  return r22;
37331
- }, h2.prototype.callFulfilled = function(e2) {
37368
+ }, h.prototype.callFulfilled = function(e2) {
37332
37369
  l3.resolve(this.promise, e2);
37333
- }, h2.prototype.otherCallFulfilled = function(e2) {
37370
+ }, h.prototype.otherCallFulfilled = function(e2) {
37334
37371
  f2(this.promise, this.onFulfilled, e2);
37335
- }, h2.prototype.callRejected = function(e2) {
37372
+ }, h.prototype.callRejected = function(e2) {
37336
37373
  l3.reject(this.promise, e2);
37337
- }, h2.prototype.otherCallRejected = function(e2) {
37374
+ }, h.prototype.otherCallRejected = function(e2) {
37338
37375
  f2(this.promise, this.onRejected, e2);
37339
37376
  }, l3.resolve = function(e2, t2) {
37340
37377
  var r22 = p(c2, t2);
@@ -37362,9 +37399,9 @@ function requireJszip_min() {
37362
37399
  var n2 = e2.length, i2 = false;
37363
37400
  if (!n2) return this.resolve([]);
37364
37401
  var s22 = new Array(n2), a2 = 0, t2 = -1, o2 = new this(u);
37365
- for (; ++t2 < n2; ) h22(e2[t2], t2);
37402
+ for (; ++t2 < n2; ) h2(e2[t2], t2);
37366
37403
  return o2;
37367
- function h22(e3, t3) {
37404
+ function h2(e3, t3) {
37368
37405
  r22.resolve(e3).then(function(e4) {
37369
37406
  s22[t3] = e4, ++a2 !== n2 || i2 || (i2 = true, l3.resolve(o2, s22));
37370
37407
  }, function(e4) {
@@ -37389,7 +37426,7 @@ function requireJszip_min() {
37389
37426
  var n = {};
37390
37427
  (0, e("./lib/utils/common").assign)(n, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), t.exports = n;
37391
37428
  }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(e, t, r2) {
37392
- var a = e("./zlib/deflate"), o = e("./utils/common"), h2 = e("./utils/strings"), i = e("./zlib/messages"), s2 = e("./zlib/zstream"), u = Object.prototype.toString, l3 = 0, f2 = -1, c2 = 0, d2 = 8;
37429
+ var a = e("./zlib/deflate"), o = e("./utils/common"), h = e("./utils/strings"), i = e("./zlib/messages"), s2 = e("./zlib/zstream"), u = Object.prototype.toString, l3 = 0, f2 = -1, c2 = 0, d2 = 8;
37393
37430
  function p(e2) {
37394
37431
  if (!(this instanceof p)) return new p(e2);
37395
37432
  this.options = o.assign({ level: f2, method: d2, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: c2, to: "" }, e2 || {});
@@ -37399,7 +37436,7 @@ function requireJszip_min() {
37399
37436
  if (r22 !== l3) throw new Error(i[r22]);
37400
37437
  if (t2.header && a.deflateSetHeader(this.strm, t2.header), t2.dictionary) {
37401
37438
  var n2;
37402
- if (n2 = "string" == typeof t2.dictionary ? h2.string2buf(t2.dictionary) : "[object ArrayBuffer]" === u.call(t2.dictionary) ? new Uint8Array(t2.dictionary) : t2.dictionary, (r22 = a.deflateSetDictionary(this.strm, n2)) !== l3) throw new Error(i[r22]);
37439
+ if (n2 = "string" == typeof t2.dictionary ? h.string2buf(t2.dictionary) : "[object ArrayBuffer]" === u.call(t2.dictionary) ? new Uint8Array(t2.dictionary) : t2.dictionary, (r22 = a.deflateSetDictionary(this.strm, n2)) !== l3) throw new Error(i[r22]);
37403
37440
  this._dict_set = true;
37404
37441
  }
37405
37442
  }
@@ -37411,10 +37448,10 @@ function requireJszip_min() {
37411
37448
  p.prototype.push = function(e2, t2) {
37412
37449
  var r22, n2, i2 = this.strm, s22 = this.options.chunkSize;
37413
37450
  if (this.ended) return false;
37414
- n2 = t2 === ~~t2 ? t2 : true === t2 ? 4 : 0, "string" == typeof e2 ? i2.input = h2.string2buf(e2) : "[object ArrayBuffer]" === u.call(e2) ? i2.input = new Uint8Array(e2) : i2.input = e2, i2.next_in = 0, i2.avail_in = i2.input.length;
37451
+ n2 = t2 === ~~t2 ? t2 : true === t2 ? 4 : 0, "string" == typeof e2 ? i2.input = h.string2buf(e2) : "[object ArrayBuffer]" === u.call(e2) ? i2.input = new Uint8Array(e2) : i2.input = e2, i2.next_in = 0, i2.avail_in = i2.input.length;
37415
37452
  do {
37416
37453
  if (0 === i2.avail_out && (i2.output = new o.Buf8(s22), i2.next_out = 0, i2.avail_out = s22), 1 !== (r22 = a.deflate(i2, n2)) && r22 !== l3) return this.onEnd(r22), !(this.ended = true);
37417
- 0 !== i2.avail_out && (0 !== i2.avail_in || 4 !== n2 && 2 !== n2) || ("string" === this.options.to ? this.onData(h2.buf2binstring(o.shrinkBuf(i2.output, i2.next_out))) : this.onData(o.shrinkBuf(i2.output, i2.next_out)));
37454
+ 0 !== i2.avail_out && (0 !== i2.avail_in || 4 !== n2 && 2 !== n2) || ("string" === this.options.to ? this.onData(h.buf2binstring(o.shrinkBuf(i2.output, i2.next_out))) : this.onData(o.shrinkBuf(i2.output, i2.next_out)));
37418
37455
  } while ((0 < i2.avail_in || 0 === i2.avail_out) && 1 !== r22);
37419
37456
  return 4 === n2 ? (r22 = a.deflateEnd(this.strm), this.onEnd(r22), this.ended = true, r22 === l3) : 2 !== n2 || (this.onEnd(l3), !(i2.avail_out = 0));
37420
37457
  }, p.prototype.onData = function(e2) {
@@ -37443,14 +37480,14 @@ function requireJszip_min() {
37443
37480
  return r22.result;
37444
37481
  }
37445
37482
  a.prototype.push = function(e2, t2) {
37446
- var r22, n2, i2, s22, a2, o2, h2 = this.strm, u = this.options.chunkSize, l3 = this.options.dictionary, f2 = false;
37483
+ var r22, n2, i2, s22, a2, o2, h = this.strm, u = this.options.chunkSize, l3 = this.options.dictionary, f2 = false;
37447
37484
  if (this.ended) return false;
37448
- n2 = t2 === ~~t2 ? t2 : true === t2 ? m2.Z_FINISH : m2.Z_NO_FLUSH, "string" == typeof e2 ? h2.input = p.binstring2buf(e2) : "[object ArrayBuffer]" === _2.call(e2) ? h2.input = new Uint8Array(e2) : h2.input = e2, h2.next_in = 0, h2.avail_in = h2.input.length;
37485
+ n2 = t2 === ~~t2 ? t2 : true === t2 ? m2.Z_FINISH : m2.Z_NO_FLUSH, "string" == typeof e2 ? h.input = p.binstring2buf(e2) : "[object ArrayBuffer]" === _2.call(e2) ? h.input = new Uint8Array(e2) : h.input = e2, h.next_in = 0, h.avail_in = h.input.length;
37449
37486
  do {
37450
- if (0 === h2.avail_out && (h2.output = new d2.Buf8(u), h2.next_out = 0, h2.avail_out = u), (r22 = c2.inflate(h2, m2.Z_NO_FLUSH)) === m2.Z_NEED_DICT && l3 && (o2 = "string" == typeof l3 ? p.string2buf(l3) : "[object ArrayBuffer]" === _2.call(l3) ? new Uint8Array(l3) : l3, r22 = c2.inflateSetDictionary(this.strm, o2)), r22 === m2.Z_BUF_ERROR && true === f2 && (r22 = m2.Z_OK, f2 = false), r22 !== m2.Z_STREAM_END && r22 !== m2.Z_OK) return this.onEnd(r22), !(this.ended = true);
37451
- h2.next_out && (0 !== h2.avail_out && r22 !== m2.Z_STREAM_END && (0 !== h2.avail_in || n2 !== m2.Z_FINISH && n2 !== m2.Z_SYNC_FLUSH) || ("string" === this.options.to ? (i2 = p.utf8border(h2.output, h2.next_out), s22 = h2.next_out - i2, a2 = p.buf2string(h2.output, i2), h2.next_out = s22, h2.avail_out = u - s22, s22 && d2.arraySet(h2.output, h2.output, i2, s22, 0), this.onData(a2)) : this.onData(d2.shrinkBuf(h2.output, h2.next_out)))), 0 === h2.avail_in && 0 === h2.avail_out && (f2 = true);
37452
- } while ((0 < h2.avail_in || 0 === h2.avail_out) && r22 !== m2.Z_STREAM_END);
37453
- return r22 === m2.Z_STREAM_END && (n2 = m2.Z_FINISH), n2 === m2.Z_FINISH ? (r22 = c2.inflateEnd(this.strm), this.onEnd(r22), this.ended = true, r22 === m2.Z_OK) : n2 !== m2.Z_SYNC_FLUSH || (this.onEnd(m2.Z_OK), !(h2.avail_out = 0));
37487
+ if (0 === h.avail_out && (h.output = new d2.Buf8(u), h.next_out = 0, h.avail_out = u), (r22 = c2.inflate(h, m2.Z_NO_FLUSH)) === m2.Z_NEED_DICT && l3 && (o2 = "string" == typeof l3 ? p.string2buf(l3) : "[object ArrayBuffer]" === _2.call(l3) ? new Uint8Array(l3) : l3, r22 = c2.inflateSetDictionary(this.strm, o2)), r22 === m2.Z_BUF_ERROR && true === f2 && (r22 = m2.Z_OK, f2 = false), r22 !== m2.Z_STREAM_END && r22 !== m2.Z_OK) return this.onEnd(r22), !(this.ended = true);
37488
+ h.next_out && (0 !== h.avail_out && r22 !== m2.Z_STREAM_END && (0 !== h.avail_in || n2 !== m2.Z_FINISH && n2 !== m2.Z_SYNC_FLUSH) || ("string" === this.options.to ? (i2 = p.utf8border(h.output, h.next_out), s22 = h.next_out - i2, a2 = p.buf2string(h.output, i2), h.next_out = s22, h.avail_out = u - s22, s22 && d2.arraySet(h.output, h.output, i2, s22, 0), this.onData(a2)) : this.onData(d2.shrinkBuf(h.output, h.next_out)))), 0 === h.avail_in && 0 === h.avail_out && (f2 = true);
37489
+ } while ((0 < h.avail_in || 0 === h.avail_out) && r22 !== m2.Z_STREAM_END);
37490
+ return r22 === m2.Z_STREAM_END && (n2 = m2.Z_FINISH), n2 === m2.Z_FINISH ? (r22 = c2.inflateEnd(this.strm), this.onEnd(r22), this.ended = true, r22 === m2.Z_OK) : n2 !== m2.Z_SYNC_FLUSH || (this.onEnd(m2.Z_OK), !(h.avail_out = 0));
37454
37491
  }, a.prototype.onData = function(e2) {
37455
37492
  this.chunks.push(e2);
37456
37493
  }, a.prototype.onEnd = function(e2) {
@@ -37489,7 +37526,7 @@ function requireJszip_min() {
37489
37526
  e2 ? (r2.Buf8 = Uint8Array, r2.Buf16 = Uint16Array, r2.Buf32 = Int32Array, r2.assign(r2, i)) : (r2.Buf8 = Array, r2.Buf16 = Array, r2.Buf32 = Array, r2.assign(r2, s2));
37490
37527
  }, r2.setTyped(n);
37491
37528
  }, {}], 42: [function(e, t, r2) {
37492
- var h2 = e("./common"), i = true, s2 = true;
37529
+ var h = e("./common"), i = true, s2 = true;
37493
37530
  try {
37494
37531
  String.fromCharCode.apply(null, [0]);
37495
37532
  } catch (e2) {
@@ -37500,21 +37537,21 @@ function requireJszip_min() {
37500
37537
  } catch (e2) {
37501
37538
  s2 = false;
37502
37539
  }
37503
- for (var u = new h2.Buf8(256), n = 0; n < 256; n++) u[n] = 252 <= n ? 6 : 248 <= n ? 5 : 240 <= n ? 4 : 224 <= n ? 3 : 192 <= n ? 2 : 1;
37540
+ for (var u = new h.Buf8(256), n = 0; n < 256; n++) u[n] = 252 <= n ? 6 : 248 <= n ? 5 : 240 <= n ? 4 : 224 <= n ? 3 : 192 <= n ? 2 : 1;
37504
37541
  function l3(e2, t2) {
37505
- if (t2 < 65537 && (e2.subarray && s2 || !e2.subarray && i)) return String.fromCharCode.apply(null, h2.shrinkBuf(e2, t2));
37542
+ if (t2 < 65537 && (e2.subarray && s2 || !e2.subarray && i)) return String.fromCharCode.apply(null, h.shrinkBuf(e2, t2));
37506
37543
  for (var r22 = "", n2 = 0; n2 < t2; n2++) r22 += String.fromCharCode(e2[n2]);
37507
37544
  return r22;
37508
37545
  }
37509
37546
  u[254] = u[254] = 1, r2.string2buf = function(e2) {
37510
37547
  var t2, r22, n2, i2, s22, a = e2.length, o = 0;
37511
37548
  for (i2 = 0; i2 < a; i2++) 55296 == (64512 & (r22 = e2.charCodeAt(i2))) && i2 + 1 < a && 56320 == (64512 & (n2 = e2.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), o += r22 < 128 ? 1 : r22 < 2048 ? 2 : r22 < 65536 ? 3 : 4;
37512
- for (t2 = new h2.Buf8(o), i2 = s22 = 0; s22 < o; i2++) 55296 == (64512 & (r22 = e2.charCodeAt(i2))) && i2 + 1 < a && 56320 == (64512 & (n2 = e2.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
37549
+ for (t2 = new h.Buf8(o), i2 = s22 = 0; s22 < o; i2++) 55296 == (64512 & (r22 = e2.charCodeAt(i2))) && i2 + 1 < a && 56320 == (64512 & (n2 = e2.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
37513
37550
  return t2;
37514
37551
  }, r2.buf2binstring = function(e2) {
37515
37552
  return l3(e2, e2.length);
37516
37553
  }, r2.binstring2buf = function(e2) {
37517
- for (var t2 = new h2.Buf8(e2.length), r22 = 0, n2 = t2.length; r22 < n2; r22++) t2[r22] = e2.charCodeAt(r22);
37554
+ for (var t2 = new h.Buf8(e2.length), r22 = 0, n2 = t2.length; r22 < n2; r22++) t2[r22] = e2.charCodeAt(r22);
37518
37555
  return t2;
37519
37556
  }, r2.buf2string = function(e2, t2) {
37520
37557
  var r22, n2, i2, s22, a = t2 || e2.length, o = new Array(2 * a);
@@ -37556,11 +37593,11 @@ function requireJszip_min() {
37556
37593
  return -1 ^ e2;
37557
37594
  };
37558
37595
  }, {}], 46: [function(e, t, r2) {
37559
- var h2, c2 = e("../utils/common"), u = e("./trees"), d2 = e("./adler32"), p = e("./crc32"), n = e("./messages"), l3 = 0, f2 = 4, m2 = 0, _2 = -2, g = -1, b2 = 4, i = 2, v2 = 8, y2 = 9, s2 = 286, a = 30, o = 19, w2 = 2 * s2 + 1, k2 = 15, x = 3, S2 = 258, z2 = S2 + x + 1, C2 = 42, E2 = 113, A2 = 1, I2 = 2, O2 = 3, B2 = 4;
37560
- function R2(e2, t2) {
37596
+ var h, c2 = e("../utils/common"), u = e("./trees"), d2 = e("./adler32"), p = e("./crc32"), n = e("./messages"), l3 = 0, f2 = 4, m2 = 0, _2 = -2, g = -1, b2 = 4, i = 2, v2 = 8, y2 = 9, s2 = 286, a = 30, o = 19, w2 = 2 * s2 + 1, k2 = 15, x2 = 3, S2 = 258, z2 = S2 + x2 + 1, C2 = 42, E2 = 113, A2 = 1, I2 = 2, O = 3, B2 = 4;
37597
+ function R(e2, t2) {
37561
37598
  return e2.msg = n[t2], t2;
37562
37599
  }
37563
- function T(e2) {
37600
+ function T2(e2) {
37564
37601
  return (e2 << 1) - (4 < e2 ? 9 : 0);
37565
37602
  }
37566
37603
  function D2(e2) {
@@ -37580,7 +37617,7 @@ function requireJszip_min() {
37580
37617
  e2.pending_buf[e2.pending++] = t2 >>> 8 & 255, e2.pending_buf[e2.pending++] = 255 & t2;
37581
37618
  }
37582
37619
  function L2(e2, t2) {
37583
- var r22, n2, i2 = e2.max_chain_length, s22 = e2.strstart, a2 = e2.prev_length, o2 = e2.nice_match, h22 = e2.strstart > e2.w_size - z2 ? e2.strstart - (e2.w_size - z2) : 0, u2 = e2.window, l22 = e2.w_mask, f22 = e2.prev, c22 = e2.strstart + S2, d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37620
+ var r22, n2, i2 = e2.max_chain_length, s22 = e2.strstart, a2 = e2.prev_length, o2 = e2.nice_match, h2 = e2.strstart > e2.w_size - z2 ? e2.strstart - (e2.w_size - z2) : 0, u2 = e2.window, l22 = e2.w_mask, f22 = e2.prev, c22 = e2.strstart + S2, d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37584
37621
  e2.prev_length >= e2.good_match && (i2 >>= 2), o2 > e2.lookahead && (o2 = e2.lookahead);
37585
37622
  do {
37586
37623
  if (u2[(r22 = t2) + a2] === p2 && u2[r22 + a2 - 1] === d22 && u2[r22] === u2[s22] && u2[++r22] === u2[s22 + 1]) {
@@ -37592,11 +37629,11 @@ function requireJszip_min() {
37592
37629
  d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37593
37630
  }
37594
37631
  }
37595
- } while ((t2 = f22[t2 & l22]) > h22 && 0 != --i2);
37632
+ } while ((t2 = f22[t2 & l22]) > h2 && 0 != --i2);
37596
37633
  return a2 <= e2.lookahead ? a2 : e2.lookahead;
37597
37634
  }
37598
37635
  function j2(e2) {
37599
- var t2, r22, n2, i2, s22, a2, o2, h22, u2, l22, f22 = e2.w_size;
37636
+ var t2, r22, n2, i2, s22, a2, o2, h2, u2, l22, f22 = e2.w_size;
37600
37637
  do {
37601
37638
  if (i2 = e2.window_size - e2.lookahead - e2.strstart, e2.strstart >= f22 + (f22 - z2)) {
37602
37639
  for (c2.arraySet(e2.window, e2.window, f22, f22, 0), e2.match_start -= f22, e2.strstart -= f22, e2.block_start -= f22, t2 = r22 = e2.hash_size; n2 = e2.head[--t2], e2.head[t2] = f22 <= n2 ? n2 - f22 : 0, --r22; ) ;
@@ -37604,7 +37641,7 @@ function requireJszip_min() {
37604
37641
  i2 += f22;
37605
37642
  }
37606
37643
  if (0 === e2.strm.avail_in) break;
37607
- if (a2 = e2.strm, o2 = e2.window, h22 = e2.strstart + e2.lookahead, u2 = i2, l22 = void 0, l22 = a2.avail_in, u2 < l22 && (l22 = u2), r22 = 0 === l22 ? 0 : (a2.avail_in -= l22, c2.arraySet(o2, a2.input, a2.next_in, l22, h22), 1 === a2.state.wrap ? a2.adler = d2(a2.adler, o2, l22, h22) : 2 === a2.state.wrap && (a2.adler = p(a2.adler, o2, l22, h22)), a2.next_in += l22, a2.total_in += l22, l22), e2.lookahead += r22, e2.lookahead + e2.insert >= x) for (s22 = e2.strstart - e2.insert, e2.ins_h = e2.window[s22], e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + 1]) & e2.hash_mask; e2.insert && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + x - 1]) & e2.hash_mask, e2.prev[s22 & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = s22, s22++, e2.insert--, !(e2.lookahead + e2.insert < x)); ) ;
37644
+ if (a2 = e2.strm, o2 = e2.window, h2 = e2.strstart + e2.lookahead, u2 = i2, l22 = void 0, l22 = a2.avail_in, u2 < l22 && (l22 = u2), r22 = 0 === l22 ? 0 : (a2.avail_in -= l22, c2.arraySet(o2, a2.input, a2.next_in, l22, h2), 1 === a2.state.wrap ? a2.adler = d2(a2.adler, o2, l22, h2) : 2 === a2.state.wrap && (a2.adler = p(a2.adler, o2, l22, h2)), a2.next_in += l22, a2.total_in += l22, l22), e2.lookahead += r22, e2.lookahead + e2.insert >= x2) for (s22 = e2.strstart - e2.insert, e2.ins_h = e2.window[s22], e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + 1]) & e2.hash_mask; e2.insert && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + x2 - 1]) & e2.hash_mask, e2.prev[s22 & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = s22, s22++, e2.insert--, !(e2.lookahead + e2.insert < x2)); ) ;
37608
37645
  } while (e2.lookahead < z2 && 0 !== e2.strm.avail_in);
37609
37646
  }
37610
37647
  function Z(e2, t2) {
@@ -37613,14 +37650,14 @@ function requireJszip_min() {
37613
37650
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37614
37651
  if (0 === e2.lookahead) break;
37615
37652
  }
37616
- if (r22 = 0, e2.lookahead >= x && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 !== r22 && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22)), e2.match_length >= x) if (n2 = u._tr_tally(e2, e2.strstart - e2.match_start, e2.match_length - x), e2.lookahead -= e2.match_length, e2.match_length <= e2.max_lazy_match && e2.lookahead >= x) {
37617
- for (e2.match_length--; e2.strstart++, e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart, 0 != --e2.match_length; ) ;
37653
+ if (r22 = 0, e2.lookahead >= x2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 !== r22 && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22)), e2.match_length >= x2) if (n2 = u._tr_tally(e2, e2.strstart - e2.match_start, e2.match_length - x2), e2.lookahead -= e2.match_length, e2.match_length <= e2.max_lazy_match && e2.lookahead >= x2) {
37654
+ for (e2.match_length--; e2.strstart++, e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart, 0 != --e2.match_length; ) ;
37618
37655
  e2.strstart++;
37619
37656
  } else e2.strstart += e2.match_length, e2.match_length = 0, e2.ins_h = e2.window[e2.strstart], e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + 1]) & e2.hash_mask;
37620
37657
  else n2 = u._tr_tally(e2, 0, e2.window[e2.strstart]), e2.lookahead--, e2.strstart++;
37621
37658
  if (n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37622
37659
  }
37623
- return e2.insert = e2.strstart < x - 1 ? e2.strstart : x - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O2 : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37660
+ return e2.insert = e2.strstart < x2 - 1 ? e2.strstart : x2 - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37624
37661
  }
37625
37662
  function W2(e2, t2) {
37626
37663
  for (var r22, n2, i2; ; ) {
@@ -37628,14 +37665,14 @@ function requireJszip_min() {
37628
37665
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37629
37666
  if (0 === e2.lookahead) break;
37630
37667
  }
37631
- if (r22 = 0, e2.lookahead >= x && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), e2.prev_length = e2.match_length, e2.prev_match = e2.match_start, e2.match_length = x - 1, 0 !== r22 && e2.prev_length < e2.max_lazy_match && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22), e2.match_length <= 5 && (1 === e2.strategy || e2.match_length === x && 4096 < e2.strstart - e2.match_start) && (e2.match_length = x - 1)), e2.prev_length >= x && e2.match_length <= e2.prev_length) {
37632
- for (i2 = e2.strstart + e2.lookahead - x, n2 = u._tr_tally(e2, e2.strstart - 1 - e2.prev_match, e2.prev_length - x), e2.lookahead -= e2.prev_length - 1, e2.prev_length -= 2; ++e2.strstart <= i2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 != --e2.prev_length; ) ;
37633
- if (e2.match_available = 0, e2.match_length = x - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37668
+ if (r22 = 0, e2.lookahead >= x2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), e2.prev_length = e2.match_length, e2.prev_match = e2.match_start, e2.match_length = x2 - 1, 0 !== r22 && e2.prev_length < e2.max_lazy_match && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22), e2.match_length <= 5 && (1 === e2.strategy || e2.match_length === x2 && 4096 < e2.strstart - e2.match_start) && (e2.match_length = x2 - 1)), e2.prev_length >= x2 && e2.match_length <= e2.prev_length) {
37669
+ for (i2 = e2.strstart + e2.lookahead - x2, n2 = u._tr_tally(e2, e2.strstart - 1 - e2.prev_match, e2.prev_length - x2), e2.lookahead -= e2.prev_length - 1, e2.prev_length -= 2; ++e2.strstart <= i2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 != --e2.prev_length; ) ;
37670
+ if (e2.match_available = 0, e2.match_length = x2 - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37634
37671
  } else if (e2.match_available) {
37635
37672
  if ((n2 = u._tr_tally(e2, 0, e2.window[e2.strstart - 1])) && N2(e2, false), e2.strstart++, e2.lookahead--, 0 === e2.strm.avail_out) return A2;
37636
37673
  } else e2.match_available = 1, e2.strstart++, e2.lookahead--;
37637
37674
  }
37638
- return e2.match_available && (n2 = u._tr_tally(e2, 0, e2.window[e2.strstart - 1]), e2.match_available = 0), e2.insert = e2.strstart < x - 1 ? e2.strstart : x - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O2 : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37675
+ return e2.match_available && (n2 = u._tr_tally(e2, 0, e2.window[e2.strstart - 1]), e2.match_available = 0), e2.insert = e2.strstart < x2 - 1 ? e2.strstart : x2 - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37639
37676
  }
37640
37677
  function M2(e2, t2, r22, n2, i2) {
37641
37678
  this.good_length = e2, this.max_lazy = t2, this.nice_length = r22, this.max_chain = n2, this.func = i2;
@@ -37645,23 +37682,23 @@ function requireJszip_min() {
37645
37682
  }
37646
37683
  function G2(e2) {
37647
37684
  var t2;
37648
- return e2 && e2.state ? (e2.total_in = e2.total_out = 0, e2.data_type = i, (t2 = e2.state).pending = 0, t2.pending_out = 0, t2.wrap < 0 && (t2.wrap = -t2.wrap), t2.status = t2.wrap ? C2 : E2, e2.adler = 2 === t2.wrap ? 0 : 1, t2.last_flush = l3, u._tr_init(t2), m2) : R2(e2, _2);
37685
+ return e2 && e2.state ? (e2.total_in = e2.total_out = 0, e2.data_type = i, (t2 = e2.state).pending = 0, t2.pending_out = 0, t2.wrap < 0 && (t2.wrap = -t2.wrap), t2.status = t2.wrap ? C2 : E2, e2.adler = 2 === t2.wrap ? 0 : 1, t2.last_flush = l3, u._tr_init(t2), m2) : R(e2, _2);
37649
37686
  }
37650
37687
  function K2(e2) {
37651
37688
  var t2 = G2(e2);
37652
37689
  return t2 === m2 && (function(e3) {
37653
- e3.window_size = 2 * e3.w_size, D2(e3.head), e3.max_lazy_match = h2[e3.level].max_lazy, e3.good_match = h2[e3.level].good_length, e3.nice_match = h2[e3.level].nice_length, e3.max_chain_length = h2[e3.level].max_chain, e3.strstart = 0, e3.block_start = 0, e3.lookahead = 0, e3.insert = 0, e3.match_length = e3.prev_length = x - 1, e3.match_available = 0, e3.ins_h = 0;
37690
+ e3.window_size = 2 * e3.w_size, D2(e3.head), e3.max_lazy_match = h[e3.level].max_lazy, e3.good_match = h[e3.level].good_length, e3.nice_match = h[e3.level].nice_length, e3.max_chain_length = h[e3.level].max_chain, e3.strstart = 0, e3.block_start = 0, e3.lookahead = 0, e3.insert = 0, e3.match_length = e3.prev_length = x2 - 1, e3.match_available = 0, e3.ins_h = 0;
37654
37691
  })(e2.state), t2;
37655
37692
  }
37656
37693
  function Y2(e2, t2, r22, n2, i2, s22) {
37657
37694
  if (!e2) return _2;
37658
37695
  var a2 = 1;
37659
- if (t2 === g && (t2 = 6), n2 < 0 ? (a2 = 0, n2 = -n2) : 15 < n2 && (a2 = 2, n2 -= 16), i2 < 1 || y2 < i2 || r22 !== v2 || n2 < 8 || 15 < n2 || t2 < 0 || 9 < t2 || s22 < 0 || b2 < s22) return R2(e2, _2);
37696
+ if (t2 === g && (t2 = 6), n2 < 0 ? (a2 = 0, n2 = -n2) : 15 < n2 && (a2 = 2, n2 -= 16), i2 < 1 || y2 < i2 || r22 !== v2 || n2 < 8 || 15 < n2 || t2 < 0 || 9 < t2 || s22 < 0 || b2 < s22) return R(e2, _2);
37660
37697
  8 === n2 && (n2 = 9);
37661
37698
  var o2 = new H();
37662
- return (e2.state = o2).strm = e2, o2.wrap = a2, o2.gzhead = null, o2.w_bits = n2, o2.w_size = 1 << o2.w_bits, o2.w_mask = o2.w_size - 1, o2.hash_bits = i2 + 7, o2.hash_size = 1 << o2.hash_bits, o2.hash_mask = o2.hash_size - 1, o2.hash_shift = ~~((o2.hash_bits + x - 1) / x), o2.window = new c2.Buf8(2 * o2.w_size), o2.head = new c2.Buf16(o2.hash_size), o2.prev = new c2.Buf16(o2.w_size), o2.lit_bufsize = 1 << i2 + 6, o2.pending_buf_size = 4 * o2.lit_bufsize, o2.pending_buf = new c2.Buf8(o2.pending_buf_size), o2.d_buf = 1 * o2.lit_bufsize, o2.l_buf = 3 * o2.lit_bufsize, o2.level = t2, o2.strategy = s22, o2.method = r22, K2(e2);
37699
+ return (e2.state = o2).strm = e2, o2.wrap = a2, o2.gzhead = null, o2.w_bits = n2, o2.w_size = 1 << o2.w_bits, o2.w_mask = o2.w_size - 1, o2.hash_bits = i2 + 7, o2.hash_size = 1 << o2.hash_bits, o2.hash_mask = o2.hash_size - 1, o2.hash_shift = ~~((o2.hash_bits + x2 - 1) / x2), o2.window = new c2.Buf8(2 * o2.w_size), o2.head = new c2.Buf16(o2.hash_size), o2.prev = new c2.Buf16(o2.w_size), o2.lit_bufsize = 1 << i2 + 6, o2.pending_buf_size = 4 * o2.lit_bufsize, o2.pending_buf = new c2.Buf8(o2.pending_buf_size), o2.d_buf = 1 * o2.lit_bufsize, o2.l_buf = 3 * o2.lit_bufsize, o2.level = t2, o2.strategy = s22, o2.method = r22, K2(e2);
37663
37700
  }
37664
- h2 = [new M2(0, 0, 0, 0, function(e2, t2) {
37701
+ h = [new M2(0, 0, 0, 0, function(e2, t2) {
37665
37702
  var r22 = 65535;
37666
37703
  for (r22 > e2.pending_buf_size - 5 && (r22 = e2.pending_buf_size - 5); ; ) {
37667
37704
  if (e2.lookahead <= 1) {
@@ -37673,15 +37710,15 @@ function requireJszip_min() {
37673
37710
  if ((0 === e2.strstart || e2.strstart >= n2) && (e2.lookahead = e2.strstart - n2, e2.strstart = n2, N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37674
37711
  if (e2.strstart - e2.block_start >= e2.w_size - z2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37675
37712
  }
37676
- return e2.insert = 0, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O2 : B2) : (e2.strstart > e2.block_start && (N2(e2, false), e2.strm.avail_out), A2);
37713
+ return e2.insert = 0, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O : B2) : (e2.strstart > e2.block_start && (N2(e2, false), e2.strm.avail_out), A2);
37677
37714
  }), new M2(4, 4, 8, 4, Z), new M2(4, 5, 16, 8, Z), new M2(4, 6, 32, 32, Z), new M2(4, 4, 16, 16, W2), new M2(8, 16, 32, 32, W2), new M2(8, 16, 128, 128, W2), new M2(8, 32, 128, 256, W2), new M2(32, 128, 258, 1024, W2), new M2(32, 258, 258, 4096, W2)], r2.deflateInit = function(e2, t2) {
37678
37715
  return Y2(e2, t2, v2, 15, 8, 0);
37679
37716
  }, r2.deflateInit2 = Y2, r2.deflateReset = K2, r2.deflateResetKeep = G2, r2.deflateSetHeader = function(e2, t2) {
37680
37717
  return e2 && e2.state ? 2 !== e2.state.wrap ? _2 : (e2.state.gzhead = t2, m2) : _2;
37681
37718
  }, r2.deflate = function(e2, t2) {
37682
37719
  var r22, n2, i2, s22;
37683
- if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R2(e2, _2) : _2;
37684
- if (n2 = e2.state, !e2.output || !e2.input && 0 !== e2.avail_in || 666 === n2.status && t2 !== f2) return R2(e2, 0 === e2.avail_out ? -5 : _2);
37720
+ if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R(e2, _2) : _2;
37721
+ if (n2 = e2.state, !e2.output || !e2.input && 0 !== e2.avail_in || 666 === n2.status && t2 !== f2) return R(e2, 0 === e2.avail_out ? -5 : _2);
37685
37722
  if (n2.strm = e2, r22 = n2.last_flush, n2.last_flush = t2, n2.status === C2) if (2 === n2.wrap) e2.adler = 0, U2(n2, 31), U2(n2, 139), U2(n2, 8), n2.gzhead ? (U2(n2, (n2.gzhead.text ? 1 : 0) + (n2.gzhead.hcrc ? 2 : 0) + (n2.gzhead.extra ? 4 : 0) + (n2.gzhead.name ? 8 : 0) + (n2.gzhead.comment ? 16 : 0)), U2(n2, 255 & n2.gzhead.time), U2(n2, n2.gzhead.time >> 8 & 255), U2(n2, n2.gzhead.time >> 16 & 255), U2(n2, n2.gzhead.time >> 24 & 255), U2(n2, 9 === n2.level ? 2 : 2 <= n2.strategy || n2.level < 2 ? 4 : 0), U2(n2, 255 & n2.gzhead.os), n2.gzhead.extra && n2.gzhead.extra.length && (U2(n2, 255 & n2.gzhead.extra.length), U2(n2, n2.gzhead.extra.length >> 8 & 255)), n2.gzhead.hcrc && (e2.adler = p(e2.adler, n2.pending_buf, n2.pending, 0)), n2.gzindex = 0, n2.status = 69) : (U2(n2, 0), U2(n2, 0), U2(n2, 0), U2(n2, 0), U2(n2, 0), U2(n2, 9 === n2.level ? 2 : 2 <= n2.strategy || n2.level < 2 ? 4 : 0), U2(n2, 3), n2.status = E2);
37686
37723
  else {
37687
37724
  var a2 = v2 + (n2.w_bits - 8 << 4) << 8;
@@ -37715,8 +37752,8 @@ function requireJszip_min() {
37715
37752
  } else n2.status = 103;
37716
37753
  if (103 === n2.status && (n2.gzhead.hcrc ? (n2.pending + 2 > n2.pending_buf_size && F2(e2), n2.pending + 2 <= n2.pending_buf_size && (U2(n2, 255 & e2.adler), U2(n2, e2.adler >> 8 & 255), e2.adler = 0, n2.status = E2)) : n2.status = E2), 0 !== n2.pending) {
37717
37754
  if (F2(e2), 0 === e2.avail_out) return n2.last_flush = -1, m2;
37718
- } else if (0 === e2.avail_in && T(t2) <= T(r22) && t2 !== f2) return R2(e2, -5);
37719
- if (666 === n2.status && 0 !== e2.avail_in) return R2(e2, -5);
37755
+ } else if (0 === e2.avail_in && T2(t2) <= T2(r22) && t2 !== f2) return R(e2, -5);
37756
+ if (666 === n2.status && 0 !== e2.avail_in) return R(e2, -5);
37720
37757
  if (0 !== e2.avail_in || 0 !== n2.lookahead || t2 !== l3 && 666 !== n2.status) {
37721
37758
  var o2 = 2 === n2.strategy ? (function(e3, t3) {
37722
37759
  for (var r3; ; ) {
@@ -37726,39 +37763,39 @@ function requireJszip_min() {
37726
37763
  }
37727
37764
  if (e3.match_length = 0, r3 = u._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++, r3 && (N2(e3, false), 0 === e3.strm.avail_out)) return A2;
37728
37765
  }
37729
- return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O2 : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
37766
+ return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
37730
37767
  })(n2, t2) : 3 === n2.strategy ? (function(e3, t3) {
37731
37768
  for (var r3, n3, i3, s3, a3 = e3.window; ; ) {
37732
37769
  if (e3.lookahead <= S2) {
37733
37770
  if (j2(e3), e3.lookahead <= S2 && t3 === l3) return A2;
37734
37771
  if (0 === e3.lookahead) break;
37735
37772
  }
37736
- if (e3.match_length = 0, e3.lookahead >= x && 0 < e3.strstart && (n3 = a3[i3 = e3.strstart - 1]) === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3]) {
37773
+ if (e3.match_length = 0, e3.lookahead >= x2 && 0 < e3.strstart && (n3 = a3[i3 = e3.strstart - 1]) === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3]) {
37737
37774
  s3 = e3.strstart + S2;
37738
37775
  do {
37739
37776
  } while (n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && i3 < s3);
37740
37777
  e3.match_length = S2 - (s3 - i3), e3.match_length > e3.lookahead && (e3.match_length = e3.lookahead);
37741
37778
  }
37742
- if (e3.match_length >= x ? (r3 = u._tr_tally(e3, 1, e3.match_length - x), e3.lookahead -= e3.match_length, e3.strstart += e3.match_length, e3.match_length = 0) : (r3 = u._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++), r3 && (N2(e3, false), 0 === e3.strm.avail_out)) return A2;
37779
+ if (e3.match_length >= x2 ? (r3 = u._tr_tally(e3, 1, e3.match_length - x2), e3.lookahead -= e3.match_length, e3.strstart += e3.match_length, e3.match_length = 0) : (r3 = u._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++), r3 && (N2(e3, false), 0 === e3.strm.avail_out)) return A2;
37743
37780
  }
37744
- return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O2 : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
37745
- })(n2, t2) : h2[n2.level].func(n2, t2);
37746
- if (o2 !== O2 && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O2) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37781
+ return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
37782
+ })(n2, t2) : h[n2.level].func(n2, t2);
37783
+ if (o2 !== O && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37747
37784
  if (o2 === I2 && (1 === t2 ? u._tr_align(n2) : 5 !== t2 && (u._tr_stored_block(n2, 0, 0, false), 3 === t2 && (D2(n2.head), 0 === n2.lookahead && (n2.strstart = 0, n2.block_start = 0, n2.insert = 0))), F2(e2), 0 === e2.avail_out)) return n2.last_flush = -1, m2;
37748
37785
  }
37749
37786
  return t2 !== f2 ? m2 : n2.wrap <= 0 ? 1 : (2 === n2.wrap ? (U2(n2, 255 & e2.adler), U2(n2, e2.adler >> 8 & 255), U2(n2, e2.adler >> 16 & 255), U2(n2, e2.adler >> 24 & 255), U2(n2, 255 & e2.total_in), U2(n2, e2.total_in >> 8 & 255), U2(n2, e2.total_in >> 16 & 255), U2(n2, e2.total_in >> 24 & 255)) : (P2(n2, e2.adler >>> 16), P2(n2, 65535 & e2.adler)), F2(e2), 0 < n2.wrap && (n2.wrap = -n2.wrap), 0 !== n2.pending ? m2 : 1);
37750
37787
  }, r2.deflateEnd = function(e2) {
37751
37788
  var t2;
37752
- return e2 && e2.state ? (t2 = e2.state.status) !== C2 && 69 !== t2 && 73 !== t2 && 91 !== t2 && 103 !== t2 && t2 !== E2 && 666 !== t2 ? R2(e2, _2) : (e2.state = null, t2 === E2 ? R2(e2, -3) : m2) : _2;
37789
+ return e2 && e2.state ? (t2 = e2.state.status) !== C2 && 69 !== t2 && 73 !== t2 && 91 !== t2 && 103 !== t2 && t2 !== E2 && 666 !== t2 ? R(e2, _2) : (e2.state = null, t2 === E2 ? R(e2, -3) : m2) : _2;
37753
37790
  }, r2.deflateSetDictionary = function(e2, t2) {
37754
- var r22, n2, i2, s22, a2, o2, h22, u2, l22 = t2.length;
37791
+ var r22, n2, i2, s22, a2, o2, h2, u2, l22 = t2.length;
37755
37792
  if (!e2 || !e2.state) return _2;
37756
37793
  if (2 === (s22 = (r22 = e2.state).wrap) || 1 === s22 && r22.status !== C2 || r22.lookahead) return _2;
37757
- for (1 === s22 && (e2.adler = d2(e2.adler, t2, l22, 0)), r22.wrap = 0, l22 >= r22.w_size && (0 === s22 && (D2(r22.head), r22.strstart = 0, r22.block_start = 0, r22.insert = 0), u2 = new c2.Buf8(r22.w_size), c2.arraySet(u2, t2, l22 - r22.w_size, r22.w_size, 0), t2 = u2, l22 = r22.w_size), a2 = e2.avail_in, o2 = e2.next_in, h22 = e2.input, e2.avail_in = l22, e2.next_in = 0, e2.input = t2, j2(r22); r22.lookahead >= x; ) {
37758
- for (n2 = r22.strstart, i2 = r22.lookahead - (x - 1); r22.ins_h = (r22.ins_h << r22.hash_shift ^ r22.window[n2 + x - 1]) & r22.hash_mask, r22.prev[n2 & r22.w_mask] = r22.head[r22.ins_h], r22.head[r22.ins_h] = n2, n2++, --i2; ) ;
37759
- r22.strstart = n2, r22.lookahead = x - 1, j2(r22);
37794
+ for (1 === s22 && (e2.adler = d2(e2.adler, t2, l22, 0)), r22.wrap = 0, l22 >= r22.w_size && (0 === s22 && (D2(r22.head), r22.strstart = 0, r22.block_start = 0, r22.insert = 0), u2 = new c2.Buf8(r22.w_size), c2.arraySet(u2, t2, l22 - r22.w_size, r22.w_size, 0), t2 = u2, l22 = r22.w_size), a2 = e2.avail_in, o2 = e2.next_in, h2 = e2.input, e2.avail_in = l22, e2.next_in = 0, e2.input = t2, j2(r22); r22.lookahead >= x2; ) {
37795
+ for (n2 = r22.strstart, i2 = r22.lookahead - (x2 - 1); r22.ins_h = (r22.ins_h << r22.hash_shift ^ r22.window[n2 + x2 - 1]) & r22.hash_mask, r22.prev[n2 & r22.w_mask] = r22.head[r22.ins_h], r22.head[r22.ins_h] = n2, n2++, --i2; ) ;
37796
+ r22.strstart = n2, r22.lookahead = x2 - 1, j2(r22);
37760
37797
  }
37761
- return r22.strstart += r22.lookahead, r22.block_start = r22.strstart, r22.insert = r22.lookahead, r22.lookahead = 0, r22.match_length = r22.prev_length = x - 1, r22.match_available = 0, e2.next_in = o2, e2.input = h22, e2.avail_in = a2, r22.wrap = s22, m2;
37798
+ return r22.strstart += r22.lookahead, r22.block_start = r22.strstart, r22.insert = r22.lookahead, r22.lookahead = 0, r22.match_length = r22.prev_length = x2 - 1, r22.match_available = 0, e2.next_in = o2, e2.input = h2, e2.avail_in = a2, r22.wrap = s22, m2;
37762
37799
  }, r2.deflateInfo = "pako deflate (from Nodeca project)";
37763
37800
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(e, t, r2) {
37764
37801
  t.exports = function() {
@@ -37766,8 +37803,8 @@ function requireJszip_min() {
37766
37803
  };
37767
37804
  }, {}], 48: [function(e, t, r2) {
37768
37805
  t.exports = function(e2, t2) {
37769
- var r22, n, i, s2, a, o, h2, u, l3, f2, c2, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x, S2, z2, C2;
37770
- r22 = e2.state, n = e2.next_in, z2 = e2.input, i = n + (e2.avail_in - 5), s2 = e2.next_out, C2 = e2.output, a = s2 - (t2 - e2.avail_out), o = s2 + (e2.avail_out - 257), h2 = r22.dmax, u = r22.wsize, l3 = r22.whave, f2 = r22.wnext, c2 = r22.window, d2 = r22.hold, p = r22.bits, m2 = r22.lencode, _2 = r22.distcode, g = (1 << r22.lenbits) - 1, b2 = (1 << r22.distbits) - 1;
37806
+ var r22, n, i, s2, a, o, h, u, l3, f2, c2, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x2, S2, z2, C2;
37807
+ r22 = e2.state, n = e2.next_in, z2 = e2.input, i = n + (e2.avail_in - 5), s2 = e2.next_out, C2 = e2.output, a = s2 - (t2 - e2.avail_out), o = s2 + (e2.avail_out - 257), h = r22.dmax, u = r22.wsize, l3 = r22.whave, f2 = r22.wnext, c2 = r22.window, d2 = r22.hold, p = r22.bits, m2 = r22.lencode, _2 = r22.distcode, g = (1 << r22.lenbits) - 1, b2 = (1 << r22.distbits) - 1;
37771
37808
  e: do {
37772
37809
  p < 15 && (d2 += z2[n++] << p, p += 8, d2 += z2[n++] << p, p += 8), v2 = m2[d2 & g];
37773
37810
  t: for (; ; ) {
@@ -37795,7 +37832,7 @@ function requireJszip_min() {
37795
37832
  e2.msg = "invalid distance code", r22.mode = 30;
37796
37833
  break e;
37797
37834
  }
37798
- if (k2 = 65535 & v2, p < (y2 &= 15) && (d2 += z2[n++] << p, (p += 8) < y2 && (d2 += z2[n++] << p, p += 8)), h2 < (k2 += d2 & (1 << y2) - 1)) {
37835
+ if (k2 = 65535 & v2, p < (y2 &= 15) && (d2 += z2[n++] << p, (p += 8) < y2 && (d2 += z2[n++] << p, p += 8)), h < (k2 += d2 & (1 << y2) - 1)) {
37799
37836
  e2.msg = "invalid distance too far back", r22.mode = 30;
37800
37837
  break e;
37801
37838
  }
@@ -37804,28 +37841,28 @@ function requireJszip_min() {
37804
37841
  e2.msg = "invalid distance too far back", r22.mode = 30;
37805
37842
  break e;
37806
37843
  }
37807
- if (S2 = c2, (x = 0) === f2) {
37808
- if (x += u - y2, y2 < w2) {
37809
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37810
- x = s2 - k2, S2 = C2;
37844
+ if (S2 = c2, (x2 = 0) === f2) {
37845
+ if (x2 += u - y2, y2 < w2) {
37846
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37847
+ x2 = s2 - k2, S2 = C2;
37811
37848
  }
37812
37849
  } else if (f2 < y2) {
37813
- if (x += u + f2 - y2, (y2 -= f2) < w2) {
37814
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37815
- if (x = 0, f2 < w2) {
37816
- for (w2 -= y2 = f2; C2[s2++] = c2[x++], --y2; ) ;
37817
- x = s2 - k2, S2 = C2;
37850
+ if (x2 += u + f2 - y2, (y2 -= f2) < w2) {
37851
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37852
+ if (x2 = 0, f2 < w2) {
37853
+ for (w2 -= y2 = f2; C2[s2++] = c2[x2++], --y2; ) ;
37854
+ x2 = s2 - k2, S2 = C2;
37818
37855
  }
37819
37856
  }
37820
- } else if (x += f2 - y2, y2 < w2) {
37821
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37822
- x = s2 - k2, S2 = C2;
37857
+ } else if (x2 += f2 - y2, y2 < w2) {
37858
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37859
+ x2 = s2 - k2, S2 = C2;
37823
37860
  }
37824
- for (; 2 < w2; ) C2[s2++] = S2[x++], C2[s2++] = S2[x++], C2[s2++] = S2[x++], w2 -= 3;
37825
- w2 && (C2[s2++] = S2[x++], 1 < w2 && (C2[s2++] = S2[x++]));
37861
+ for (; 2 < w2; ) C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], w2 -= 3;
37862
+ w2 && (C2[s2++] = S2[x2++], 1 < w2 && (C2[s2++] = S2[x2++]));
37826
37863
  } else {
37827
- for (x = s2 - k2; C2[s2++] = C2[x++], C2[s2++] = C2[x++], C2[s2++] = C2[x++], 2 < (w2 -= 3); ) ;
37828
- w2 && (C2[s2++] = C2[x++], 1 < w2 && (C2[s2++] = C2[x++]));
37864
+ for (x2 = s2 - k2; C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], 2 < (w2 -= 3); ) ;
37865
+ w2 && (C2[s2++] = C2[x2++], 1 < w2 && (C2[s2++] = C2[x2++]));
37829
37866
  }
37830
37867
  break;
37831
37868
  }
@@ -37836,7 +37873,7 @@ function requireJszip_min() {
37836
37873
  n -= w2 = p >> 3, d2 &= (1 << (p -= w2 << 3)) - 1, e2.next_in = n, e2.next_out = s2, e2.avail_in = n < i ? i - n + 5 : 5 - (n - i), e2.avail_out = s2 < o ? o - s2 + 257 : 257 - (s2 - o), r22.hold = d2, r22.bits = p;
37837
37874
  };
37838
37875
  }, {}], 49: [function(e, t, r2) {
37839
- var I2 = e("../utils/common"), O2 = e("./adler32"), B2 = e("./crc32"), R2 = e("./inffast"), T = e("./inftrees"), D2 = 1, F2 = 2, N2 = 0, U2 = -2, P2 = 1, n = 852, i = 592;
37876
+ var I2 = e("../utils/common"), O = e("./adler32"), B2 = e("./crc32"), R = e("./inffast"), T2 = e("./inftrees"), D2 = 1, F2 = 2, N2 = 0, U2 = -2, P2 = 1, n = 852, i = 592;
37840
37877
  function L2(e2) {
37841
37878
  return (e2 >>> 24 & 255) + (e2 >>> 8 & 65280) + ((65280 & e2) << 8) + ((255 & e2) << 24);
37842
37879
  }
@@ -37851,13 +37888,13 @@ function requireJszip_min() {
37851
37888
  var t2;
37852
37889
  return e2 && e2.state ? ((t2 = e2.state).wsize = 0, t2.whave = 0, t2.wnext = 0, a(e2)) : U2;
37853
37890
  }
37854
- function h2(e2, t2) {
37891
+ function h(e2, t2) {
37855
37892
  var r22, n2;
37856
37893
  return e2 && e2.state ? (n2 = e2.state, t2 < 0 ? (r22 = 0, t2 = -t2) : (r22 = 1 + (t2 >> 4), t2 < 48 && (t2 &= 15)), t2 && (t2 < 8 || 15 < t2) ? U2 : (null !== n2.window && n2.wbits !== t2 && (n2.window = null), n2.wrap = r22, n2.wbits = t2, o(e2))) : U2;
37857
37894
  }
37858
37895
  function u(e2, t2) {
37859
37896
  var r22, n2;
37860
- return e2 ? (n2 = new s2(), (e2.state = n2).window = null, (r22 = h2(e2, t2)) !== N2 && (e2.state = null), r22) : U2;
37897
+ return e2 ? (n2 = new s2(), (e2.state = n2).window = null, (r22 = h(e2, t2)) !== N2 && (e2.state = null), r22) : U2;
37861
37898
  }
37862
37899
  var l3, f2, c2 = true;
37863
37900
  function j2(e2) {
@@ -37867,8 +37904,8 @@ function requireJszip_min() {
37867
37904
  for (; t2 < 256; ) e2.lens[t2++] = 9;
37868
37905
  for (; t2 < 280; ) e2.lens[t2++] = 7;
37869
37906
  for (; t2 < 288; ) e2.lens[t2++] = 8;
37870
- for (T(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
37871
- T(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
37907
+ for (T2(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
37908
+ T2(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
37872
37909
  }
37873
37910
  e2.lencode = l3, e2.lenbits = 9, e2.distcode = f2, e2.distbits = 5;
37874
37911
  }
@@ -37876,12 +37913,12 @@ function requireJszip_min() {
37876
37913
  var i2, s22 = e2.state;
37877
37914
  return null === s22.window && (s22.wsize = 1 << s22.wbits, s22.wnext = 0, s22.whave = 0, s22.window = new I2.Buf8(s22.wsize)), n2 >= s22.wsize ? (I2.arraySet(s22.window, t2, r22 - s22.wsize, s22.wsize, 0), s22.wnext = 0, s22.whave = s22.wsize) : (n2 < (i2 = s22.wsize - s22.wnext) && (i2 = n2), I2.arraySet(s22.window, t2, r22 - n2, i2, s22.wnext), (n2 -= i2) ? (I2.arraySet(s22.window, t2, r22 - n2, n2, 0), s22.wnext = n2, s22.whave = s22.wsize) : (s22.wnext += i2, s22.wnext === s22.wsize && (s22.wnext = 0), s22.whave < s22.wsize && (s22.whave += i2))), 0;
37878
37915
  }
37879
- r2.inflateReset = o, r2.inflateReset2 = h2, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
37916
+ r2.inflateReset = o, r2.inflateReset2 = h, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
37880
37917
  return u(e2, 15);
37881
37918
  }, r2.inflateInit2 = u, r2.inflate = function(e2, t2) {
37882
- var r22, n2, i2, s22, a2, o2, h22, u2, l22, f22, c22, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x, S2, z2, C2 = 0, E2 = new I2.Buf8(4), A2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
37919
+ var r22, n2, i2, s22, a2, o2, h2, u2, l22, f22, c22, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x2, S2, z2, C2 = 0, E2 = new I2.Buf8(4), A2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
37883
37920
  if (!e2 || !e2.state || !e2.output || !e2.input && 0 !== e2.avail_in) return U2;
37884
- 12 === (r22 = e2.state).mode && (r22.mode = 13), a2 = e2.next_out, i2 = e2.output, h22 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, f22 = o2, c22 = h22, x = N2;
37921
+ 12 === (r22 = e2.state).mode && (r22.mode = 13), a2 = e2.next_out, i2 = e2.output, h2 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, f22 = o2, c22 = h2, x2 = N2;
37885
37922
  e: for (; ; ) switch (r22.mode) {
37886
37923
  case P2:
37887
37924
  if (0 === r22.wrap) {
@@ -37984,7 +38021,7 @@ function requireJszip_min() {
37984
38021
  }
37985
38022
  e2.adler = r22.check = L2(u2), l22 = u2 = 0, r22.mode = 11;
37986
38023
  case 11:
37987
- if (0 === r22.havedict) return e2.next_out = a2, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, 2;
38024
+ if (0 === r22.havedict) return e2.next_out = a2, e2.avail_out = h2, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, 2;
37988
38025
  e2.adler = r22.check = 1, r22.mode = 12;
37989
38026
  case 12:
37990
38027
  if (5 === t2 || 6 === t2) break e;
@@ -38027,8 +38064,8 @@ function requireJszip_min() {
38027
38064
  r22.mode = 16;
38028
38065
  case 16:
38029
38066
  if (d2 = r22.length) {
38030
- if (o2 < d2 && (d2 = o2), h22 < d2 && (d2 = h22), 0 === d2) break e;
38031
- I2.arraySet(i2, n2, s22, d2, a2), o2 -= d2, s22 += d2, h22 -= d2, a2 += d2, r22.length -= d2;
38067
+ if (o2 < d2 && (d2 = o2), h2 < d2 && (d2 = h2), 0 === d2) break e;
38068
+ I2.arraySet(i2, n2, s22, d2, a2), o2 -= d2, s22 += d2, h2 -= d2, a2 += d2, r22.length -= d2;
38032
38069
  break;
38033
38070
  }
38034
38071
  r22.mode = 12;
@@ -38052,7 +38089,7 @@ function requireJszip_min() {
38052
38089
  r22.lens[A2[r22.have++]] = 7 & u2, u2 >>>= 3, l22 -= 3;
38053
38090
  }
38054
38091
  for (; r22.have < 19; ) r22.lens[A2[r22.have++]] = 0;
38055
- if (r22.lencode = r22.lendyn, r22.lenbits = 7, S2 = { bits: r22.lenbits }, x = T(0, r22.lens, 0, 19, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x) {
38092
+ if (r22.lencode = r22.lendyn, r22.lenbits = 7, S2 = { bits: r22.lenbits }, x2 = T2(0, r22.lens, 0, 19, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x2) {
38056
38093
  e2.msg = "invalid code lengths set", r22.mode = 30;
38057
38094
  break;
38058
38095
  }
@@ -38100,11 +38137,11 @@ function requireJszip_min() {
38100
38137
  e2.msg = "invalid code -- missing end-of-block", r22.mode = 30;
38101
38138
  break;
38102
38139
  }
38103
- if (r22.lenbits = 9, S2 = { bits: r22.lenbits }, x = T(D2, r22.lens, 0, r22.nlen, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x) {
38140
+ if (r22.lenbits = 9, S2 = { bits: r22.lenbits }, x2 = T2(D2, r22.lens, 0, r22.nlen, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x2) {
38104
38141
  e2.msg = "invalid literal/lengths set", r22.mode = 30;
38105
38142
  break;
38106
38143
  }
38107
- if (r22.distbits = 6, r22.distcode = r22.distdyn, S2 = { bits: r22.distbits }, x = T(F2, r22.lens, r22.nlen, r22.ndist, r22.distcode, 0, r22.work, S2), r22.distbits = S2.bits, x) {
38144
+ if (r22.distbits = 6, r22.distcode = r22.distdyn, S2 = { bits: r22.distbits }, x2 = T2(F2, r22.lens, r22.nlen, r22.ndist, r22.distcode, 0, r22.work, S2), r22.distbits = S2.bits, x2) {
38108
38145
  e2.msg = "invalid distances set", r22.mode = 30;
38109
38146
  break;
38110
38147
  }
@@ -38112,8 +38149,8 @@ function requireJszip_min() {
38112
38149
  case 20:
38113
38150
  r22.mode = 21;
38114
38151
  case 21:
38115
- if (6 <= o2 && 258 <= h22) {
38116
- e2.next_out = a2, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, R2(e2, c22), a2 = e2.next_out, i2 = e2.output, h22 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, 12 === r22.mode && (r22.back = -1);
38152
+ if (6 <= o2 && 258 <= h2) {
38153
+ e2.next_out = a2, e2.avail_out = h2, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, R(e2, c22), a2 = e2.next_out, i2 = e2.output, h2 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, 12 === r22.mode && (r22.back = -1);
38117
38154
  break;
38118
38155
  }
38119
38156
  for (r22.back = 0; g = (C2 = r22.lencode[u2 & (1 << r22.lenbits) - 1]) >>> 16 & 255, b2 = 65535 & C2, !((_2 = C2 >>> 24) <= l22); ) {
@@ -38180,20 +38217,20 @@ function requireJszip_min() {
38180
38217
  }
38181
38218
  r22.mode = 25;
38182
38219
  case 25:
38183
- if (0 === h22) break e;
38184
- if (d2 = c22 - h22, r22.offset > d2) {
38220
+ if (0 === h2) break e;
38221
+ if (d2 = c22 - h2, r22.offset > d2) {
38185
38222
  if ((d2 = r22.offset - d2) > r22.whave && r22.sane) {
38186
38223
  e2.msg = "invalid distance too far back", r22.mode = 30;
38187
38224
  break;
38188
38225
  }
38189
38226
  p = d2 > r22.wnext ? (d2 -= r22.wnext, r22.wsize - d2) : r22.wnext - d2, d2 > r22.length && (d2 = r22.length), m2 = r22.window;
38190
38227
  } else m2 = i2, p = a2 - r22.offset, d2 = r22.length;
38191
- for (h22 < d2 && (d2 = h22), h22 -= d2, r22.length -= d2; i2[a2++] = m2[p++], --d2; ) ;
38228
+ for (h2 < d2 && (d2 = h2), h2 -= d2, r22.length -= d2; i2[a2++] = m2[p++], --d2; ) ;
38192
38229
  0 === r22.length && (r22.mode = 21);
38193
38230
  break;
38194
38231
  case 26:
38195
- if (0 === h22) break e;
38196
- i2[a2++] = r22.length, h22--, r22.mode = 21;
38232
+ if (0 === h2) break e;
38233
+ i2[a2++] = r22.length, h2--, r22.mode = 21;
38197
38234
  break;
38198
38235
  case 27:
38199
38236
  if (r22.wrap) {
@@ -38201,7 +38238,7 @@ function requireJszip_min() {
38201
38238
  if (0 === o2) break e;
38202
38239
  o2--, u2 |= n2[s22++] << l22, l22 += 8;
38203
38240
  }
38204
- if (c22 -= h22, e2.total_out += c22, r22.total += c22, c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, a2 - c22) : O2(r22.check, i2, c22, a2 - c22)), c22 = h22, (r22.flags ? u2 : L2(u2)) !== r22.check) {
38241
+ if (c22 -= h2, e2.total_out += c22, r22.total += c22, c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, a2 - c22) : O(r22.check, i2, c22, a2 - c22)), c22 = h2, (r22.flags ? u2 : L2(u2)) !== r22.check) {
38205
38242
  e2.msg = "incorrect data check", r22.mode = 30;
38206
38243
  break;
38207
38244
  }
@@ -38222,10 +38259,10 @@ function requireJszip_min() {
38222
38259
  }
38223
38260
  r22.mode = 29;
38224
38261
  case 29:
38225
- x = 1;
38262
+ x2 = 1;
38226
38263
  break e;
38227
38264
  case 30:
38228
- x = -3;
38265
+ x2 = -3;
38229
38266
  break e;
38230
38267
  case 31:
38231
38268
  return -4;
@@ -38233,7 +38270,7 @@ function requireJszip_min() {
38233
38270
  default:
38234
38271
  return U2;
38235
38272
  }
38236
- return e2.next_out = a2, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, (r22.wsize || c22 !== e2.avail_out && r22.mode < 30 && (r22.mode < 27 || 4 !== t2)) && Z(e2, e2.output, e2.next_out, c22 - e2.avail_out) ? (r22.mode = 31, -4) : (f22 -= e2.avail_in, c22 -= e2.avail_out, e2.total_in += f22, e2.total_out += c22, r22.total += c22, r22.wrap && c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, e2.next_out - c22) : O2(r22.check, i2, c22, e2.next_out - c22)), e2.data_type = r22.bits + (r22.last ? 64 : 0) + (12 === r22.mode ? 128 : 0) + (20 === r22.mode || 15 === r22.mode ? 256 : 0), (0 == f22 && 0 === c22 || 4 === t2) && x === N2 && (x = -5), x);
38273
+ return e2.next_out = a2, e2.avail_out = h2, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, (r22.wsize || c22 !== e2.avail_out && r22.mode < 30 && (r22.mode < 27 || 4 !== t2)) && Z(e2, e2.output, e2.next_out, c22 - e2.avail_out) ? (r22.mode = 31, -4) : (f22 -= e2.avail_in, c22 -= e2.avail_out, e2.total_in += f22, e2.total_out += c22, r22.total += c22, r22.wrap && c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, e2.next_out - c22) : O(r22.check, i2, c22, e2.next_out - c22)), e2.data_type = r22.bits + (r22.last ? 64 : 0) + (12 === r22.mode ? 128 : 0) + (20 === r22.mode || 15 === r22.mode ? 256 : 0), (0 == f22 && 0 === c22 || 4 === t2) && x2 === N2 && (x2 = -5), x2);
38237
38274
  }, r2.inflateEnd = function(e2) {
38238
38275
  if (!e2 || !e2.state) return U2;
38239
38276
  var t2 = e2.state;
@@ -38243,33 +38280,33 @@ function requireJszip_min() {
38243
38280
  return e2 && e2.state ? 0 == (2 & (r22 = e2.state).wrap) ? U2 : ((r22.head = t2).done = false, N2) : U2;
38244
38281
  }, r2.inflateSetDictionary = function(e2, t2) {
38245
38282
  var r22, n2 = t2.length;
38246
- return e2 && e2.state ? 0 !== (r22 = e2.state).wrap && 11 !== r22.mode ? U2 : 11 === r22.mode && O2(1, t2, n2, 0) !== r22.check ? -3 : Z(e2, t2, n2, n2) ? (r22.mode = 31, -4) : (r22.havedict = 1, N2) : U2;
38283
+ return e2 && e2.state ? 0 !== (r22 = e2.state).wrap && 11 !== r22.mode ? U2 : 11 === r22.mode && O(1, t2, n2, 0) !== r22.check ? -3 : Z(e2, t2, n2, n2) ? (r22.mode = 31, -4) : (r22.havedict = 1, N2) : U2;
38247
38284
  }, r2.inflateInfo = "pako inflate (from Nodeca project)";
38248
38285
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, r2) {
38249
38286
  var D2 = e("../utils/common"), F2 = [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], N2 = [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], U2 = [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], P2 = [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];
38250
38287
  t.exports = function(e2, t2, r22, n, i, s2, a, o) {
38251
- var h2, u, l3, f2, c2, d2, p, m2, _2, g = o.bits, b2 = 0, v2 = 0, y2 = 0, w2 = 0, k2 = 0, x = 0, S2 = 0, z2 = 0, C2 = 0, E2 = 0, A2 = null, I2 = 0, O2 = new D2.Buf16(16), B2 = new D2.Buf16(16), R2 = null, T = 0;
38252
- for (b2 = 0; b2 <= 15; b2++) O2[b2] = 0;
38253
- for (v2 = 0; v2 < n; v2++) O2[t2[r22 + v2]]++;
38254
- for (k2 = g, w2 = 15; 1 <= w2 && 0 === O2[w2]; w2--) ;
38288
+ var h, u, l3, f2, c2, d2, p, m2, _2, g = o.bits, b2 = 0, v2 = 0, y2 = 0, w2 = 0, k2 = 0, x2 = 0, S2 = 0, z2 = 0, C2 = 0, E2 = 0, A2 = null, I2 = 0, O = new D2.Buf16(16), B2 = new D2.Buf16(16), R = null, T2 = 0;
38289
+ for (b2 = 0; b2 <= 15; b2++) O[b2] = 0;
38290
+ for (v2 = 0; v2 < n; v2++) O[t2[r22 + v2]]++;
38291
+ for (k2 = g, w2 = 15; 1 <= w2 && 0 === O[w2]; w2--) ;
38255
38292
  if (w2 < k2 && (k2 = w2), 0 === w2) return i[s2++] = 20971520, i[s2++] = 20971520, o.bits = 1, 0;
38256
- for (y2 = 1; y2 < w2 && 0 === O2[y2]; y2++) ;
38257
- for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O2[b2]) < 0) return -1;
38293
+ for (y2 = 1; y2 < w2 && 0 === O[y2]; y2++) ;
38294
+ for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O[b2]) < 0) return -1;
38258
38295
  if (0 < z2 && (0 === e2 || 1 !== w2)) return -1;
38259
- for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O2[b2];
38296
+ for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O[b2];
38260
38297
  for (v2 = 0; v2 < n; v2++) 0 !== t2[r22 + v2] && (a[B2[t2[r22 + v2]]++] = v2);
38261
- if (d2 = 0 === e2 ? (A2 = R2 = a, 19) : 1 === e2 ? (A2 = F2, I2 -= 257, R2 = N2, T -= 257, 256) : (A2 = U2, R2 = P2, -1), b2 = y2, c2 = s2, S2 = v2 = E2 = 0, l3 = -1, f2 = (C2 = 1 << (x = k2)) - 1, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38298
+ if (d2 = 0 === e2 ? (A2 = R = a, 19) : 1 === e2 ? (A2 = F2, I2 -= 257, R = N2, T2 -= 257, 256) : (A2 = U2, R = P2, -1), b2 = y2, c2 = s2, S2 = v2 = E2 = 0, l3 = -1, f2 = (C2 = 1 << (x2 = k2)) - 1, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38262
38299
  for (; ; ) {
38263
- for (p = b2 - S2, _2 = a[v2] < d2 ? (m2 = 0, a[v2]) : a[v2] > d2 ? (m2 = R2[T + a[v2]], A2[I2 + a[v2]]) : (m2 = 96, 0), h2 = 1 << b2 - S2, y2 = u = 1 << x; i[c2 + (E2 >> S2) + (u -= h2)] = p << 24 | m2 << 16 | _2 | 0, 0 !== u; ) ;
38264
- for (h2 = 1 << b2 - 1; E2 & h2; ) h2 >>= 1;
38265
- if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O2[b2]) {
38300
+ for (p = b2 - S2, _2 = a[v2] < d2 ? (m2 = 0, a[v2]) : a[v2] > d2 ? (m2 = R[T2 + a[v2]], A2[I2 + a[v2]]) : (m2 = 96, 0), h = 1 << b2 - S2, y2 = u = 1 << x2; i[c2 + (E2 >> S2) + (u -= h)] = p << 24 | m2 << 16 | _2 | 0, 0 !== u; ) ;
38301
+ for (h = 1 << b2 - 1; E2 & h; ) h >>= 1;
38302
+ if (0 !== h ? (E2 &= h - 1, E2 += h) : E2 = 0, v2++, 0 == --O[b2]) {
38266
38303
  if (b2 === w2) break;
38267
38304
  b2 = t2[r22 + a[v2]];
38268
38305
  }
38269
38306
  if (k2 < b2 && (E2 & f2) !== l3) {
38270
- for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x = b2 - S2); x + S2 < w2 && !((z2 -= O2[x + S2]) <= 0); ) x++, z2 <<= 1;
38271
- if (C2 += 1 << x, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38272
- i[l3 = E2 & f2] = k2 << 24 | x << 16 | c2 - s2 | 0;
38307
+ for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x2 = b2 - S2); x2 + S2 < w2 && !((z2 -= O[x2 + S2]) <= 0); ) x2++, z2 <<= 1;
38308
+ if (C2 += 1 << x2, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38309
+ i[l3 = E2 & f2] = k2 << 24 | x2 << 16 | c2 - s2 | 0;
38273
38310
  }
38274
38311
  }
38275
38312
  return 0 !== E2 && (i[c2 + E2] = b2 - S2 << 24 | 64 << 16 | 0), o.bits = k2, 0;
@@ -38277,11 +38314,11 @@ function requireJszip_min() {
38277
38314
  }, { "../utils/common": 41 }], 51: [function(e, t, r2) {
38278
38315
  t.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
38279
38316
  }, {}], 52: [function(e, t, r2) {
38280
- var i = e("../utils/common"), o = 0, h2 = 1;
38317
+ var i = e("../utils/common"), o = 0, h = 1;
38281
38318
  function n(e2) {
38282
38319
  for (var t2 = e2.length; 0 <= --t2; ) e2[t2] = 0;
38283
38320
  }
38284
- var s2 = 0, a = 29, u = 256, l3 = u + 1 + a, f2 = 30, c2 = 19, _2 = 2 * l3 + 1, g = 15, d2 = 16, p = 7, m2 = 256, b2 = 16, v2 = 17, y2 = 18, w2 = [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], k2 = [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], x = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], S2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], z2 = new Array(2 * (l3 + 2));
38321
+ var s2 = 0, a = 29, u = 256, l3 = u + 1 + a, f2 = 30, c2 = 19, _2 = 2 * l3 + 1, g = 15, d2 = 16, p = 7, m2 = 256, b2 = 16, v2 = 17, y2 = 18, w2 = [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], k2 = [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], x2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], S2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], z2 = new Array(2 * (l3 + 2));
38285
38322
  n(z2);
38286
38323
  var C2 = new Array(2 * f2);
38287
38324
  n(C2);
@@ -38291,7 +38328,7 @@ function requireJszip_min() {
38291
38328
  n(A2);
38292
38329
  var I2 = new Array(a);
38293
38330
  n(I2);
38294
- var O2, B2, R2, T = new Array(f2);
38331
+ var O, B2, R, T2 = new Array(f2);
38295
38332
  function D2(e2, t2, r22, n2, i2) {
38296
38333
  this.static_tree = e2, this.extra_bits = t2, this.extra_base = r22, this.elems = n2, this.max_length = i2, this.has_stree = e2 && e2.length;
38297
38334
  }
@@ -38342,15 +38379,15 @@ function requireJszip_min() {
38342
38379
  }
38343
38380
  function K2(e2, t2, r22) {
38344
38381
  var n2, i2, s22, a2, o2 = 0;
38345
- if (0 !== e2.last_lit) for (; n2 = e2.pending_buf[e2.d_buf + 2 * o2] << 8 | e2.pending_buf[e2.d_buf + 2 * o2 + 1], i2 = e2.pending_buf[e2.l_buf + o2], o2++, 0 === n2 ? L2(e2, i2, t2) : (L2(e2, (s22 = A2[i2]) + u + 1, t2), 0 !== (a2 = w2[s22]) && P2(e2, i2 -= I2[s22], a2), L2(e2, s22 = N2(--n2), r22), 0 !== (a2 = k2[s22]) && P2(e2, n2 -= T[s22], a2)), o2 < e2.last_lit; ) ;
38382
+ if (0 !== e2.last_lit) for (; n2 = e2.pending_buf[e2.d_buf + 2 * o2] << 8 | e2.pending_buf[e2.d_buf + 2 * o2 + 1], i2 = e2.pending_buf[e2.l_buf + o2], o2++, 0 === n2 ? L2(e2, i2, t2) : (L2(e2, (s22 = A2[i2]) + u + 1, t2), 0 !== (a2 = w2[s22]) && P2(e2, i2 -= I2[s22], a2), L2(e2, s22 = N2(--n2), r22), 0 !== (a2 = k2[s22]) && P2(e2, n2 -= T2[s22], a2)), o2 < e2.last_lit; ) ;
38346
38383
  L2(e2, m2, t2);
38347
38384
  }
38348
38385
  function Y2(e2, t2) {
38349
- var r22, n2, i2, s22 = t2.dyn_tree, a2 = t2.stat_desc.static_tree, o2 = t2.stat_desc.has_stree, h22 = t2.stat_desc.elems, u2 = -1;
38350
- for (e2.heap_len = 0, e2.heap_max = _2, r22 = 0; r22 < h22; r22++) 0 !== s22[2 * r22] ? (e2.heap[++e2.heap_len] = u2 = r22, e2.depth[r22] = 0) : s22[2 * r22 + 1] = 0;
38386
+ var r22, n2, i2, s22 = t2.dyn_tree, a2 = t2.stat_desc.static_tree, o2 = t2.stat_desc.has_stree, h2 = t2.stat_desc.elems, u2 = -1;
38387
+ for (e2.heap_len = 0, e2.heap_max = _2, r22 = 0; r22 < h2; r22++) 0 !== s22[2 * r22] ? (e2.heap[++e2.heap_len] = u2 = r22, e2.depth[r22] = 0) : s22[2 * r22 + 1] = 0;
38351
38388
  for (; e2.heap_len < 2; ) s22[2 * (i2 = e2.heap[++e2.heap_len] = u2 < 2 ? ++u2 : 0)] = 1, e2.depth[i2] = 0, e2.opt_len--, o2 && (e2.static_len -= a2[2 * i2 + 1]);
38352
38389
  for (t2.max_code = u2, r22 = e2.heap_len >> 1; 1 <= r22; r22--) G2(e2, s22, r22);
38353
- for (i2 = h22; r22 = e2.heap[1], e2.heap[1] = e2.heap[e2.heap_len--], G2(e2, s22, 1), n2 = e2.heap[1], e2.heap[--e2.heap_max] = r22, e2.heap[--e2.heap_max] = n2, s22[2 * i2] = s22[2 * r22] + s22[2 * n2], e2.depth[i2] = (e2.depth[r22] >= e2.depth[n2] ? e2.depth[r22] : e2.depth[n2]) + 1, s22[2 * r22 + 1] = s22[2 * n2 + 1] = i2, e2.heap[1] = i2++, G2(e2, s22, 1), 2 <= e2.heap_len; ) ;
38390
+ for (i2 = h2; r22 = e2.heap[1], e2.heap[1] = e2.heap[e2.heap_len--], G2(e2, s22, 1), n2 = e2.heap[1], e2.heap[--e2.heap_max] = r22, e2.heap[--e2.heap_max] = n2, s22[2 * i2] = s22[2 * r22] + s22[2 * n2], e2.depth[i2] = (e2.depth[r22] >= e2.depth[n2] ? e2.depth[r22] : e2.depth[n2]) + 1, s22[2 * r22 + 1] = s22[2 * n2 + 1] = i2, e2.heap[1] = i2++, G2(e2, s22, 1), 2 <= e2.heap_len; ) ;
38354
38391
  e2.heap[--e2.heap_max] = e2.heap[1], (function(e3, t3) {
38355
38392
  var r3, n3, i3, s3, a3, o3, h3 = t3.dyn_tree, u3 = t3.max_code, l22 = t3.stat_desc.static_tree, f22 = t3.stat_desc.has_stree, c22 = t3.stat_desc.extra_bits, d22 = t3.stat_desc.extra_base, p2 = t3.stat_desc.max_length, m22 = 0;
38356
38393
  for (s3 = 0; s3 <= g; s3++) e3.bl_count[s3] = 0;
@@ -38365,18 +38402,18 @@ function requireJszip_min() {
38365
38402
  })(e2, t2), Z(s22, u2, e2.bl_count);
38366
38403
  }
38367
38404
  function X2(e2, t2, r22) {
38368
- var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h22 = 7, u2 = 4;
38369
- for (0 === a2 && (h22 = 138, u2 = 3), t2[2 * (r22 + 1) + 1] = 65535, n2 = 0; n2 <= r22; n2++) i2 = a2, a2 = t2[2 * (n2 + 1) + 1], ++o2 < h22 && i2 === a2 || (o2 < u2 ? e2.bl_tree[2 * i2] += o2 : 0 !== i2 ? (i2 !== s22 && e2.bl_tree[2 * i2]++, e2.bl_tree[2 * b2]++) : o2 <= 10 ? e2.bl_tree[2 * v2]++ : e2.bl_tree[2 * y2]++, s22 = i2, u2 = (o2 = 0) === a2 ? (h22 = 138, 3) : i2 === a2 ? (h22 = 6, 3) : (h22 = 7, 4));
38405
+ var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h2 = 7, u2 = 4;
38406
+ for (0 === a2 && (h2 = 138, u2 = 3), t2[2 * (r22 + 1) + 1] = 65535, n2 = 0; n2 <= r22; n2++) i2 = a2, a2 = t2[2 * (n2 + 1) + 1], ++o2 < h2 && i2 === a2 || (o2 < u2 ? e2.bl_tree[2 * i2] += o2 : 0 !== i2 ? (i2 !== s22 && e2.bl_tree[2 * i2]++, e2.bl_tree[2 * b2]++) : o2 <= 10 ? e2.bl_tree[2 * v2]++ : e2.bl_tree[2 * y2]++, s22 = i2, u2 = (o2 = 0) === a2 ? (h2 = 138, 3) : i2 === a2 ? (h2 = 6, 3) : (h2 = 7, 4));
38370
38407
  }
38371
38408
  function V2(e2, t2, r22) {
38372
- var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h22 = 7, u2 = 4;
38373
- for (0 === a2 && (h22 = 138, u2 = 3), n2 = 0; n2 <= r22; n2++) if (i2 = a2, a2 = t2[2 * (n2 + 1) + 1], !(++o2 < h22 && i2 === a2)) {
38409
+ var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h2 = 7, u2 = 4;
38410
+ for (0 === a2 && (h2 = 138, u2 = 3), n2 = 0; n2 <= r22; n2++) if (i2 = a2, a2 = t2[2 * (n2 + 1) + 1], !(++o2 < h2 && i2 === a2)) {
38374
38411
  if (o2 < u2) for (; L2(e2, i2, e2.bl_tree), 0 != --o2; ) ;
38375
38412
  else 0 !== i2 ? (i2 !== s22 && (L2(e2, i2, e2.bl_tree), o2--), L2(e2, b2, e2.bl_tree), P2(e2, o2 - 3, 2)) : o2 <= 10 ? (L2(e2, v2, e2.bl_tree), P2(e2, o2 - 3, 3)) : (L2(e2, y2, e2.bl_tree), P2(e2, o2 - 11, 7));
38376
- s22 = i2, u2 = (o2 = 0) === a2 ? (h22 = 138, 3) : i2 === a2 ? (h22 = 6, 3) : (h22 = 7, 4);
38413
+ s22 = i2, u2 = (o2 = 0) === a2 ? (h2 = 138, 3) : i2 === a2 ? (h2 = 6, 3) : (h2 = 7, 4);
38377
38414
  }
38378
38415
  }
38379
- n(T);
38416
+ n(T2);
38380
38417
  var q2 = false;
38381
38418
  function J2(e2, t2, r22, n2) {
38382
38419
  P2(e2, (s2 << 1) + (n2 ? 1 : 0), 3), (function(e3, t3, r3, n3) {
@@ -38387,23 +38424,23 @@ function requireJszip_min() {
38387
38424
  q2 || ((function() {
38388
38425
  var e3, t2, r22, n2, i2, s22 = new Array(g + 1);
38389
38426
  for (n2 = r22 = 0; n2 < a - 1; n2++) for (I2[n2] = r22, e3 = 0; e3 < 1 << w2[n2]; e3++) A2[r22++] = n2;
38390
- for (A2[r22 - 1] = n2, n2 = i2 = 0; n2 < 16; n2++) for (T[n2] = i2, e3 = 0; e3 < 1 << k2[n2]; e3++) E2[i2++] = n2;
38391
- for (i2 >>= 7; n2 < f2; n2++) for (T[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38427
+ for (A2[r22 - 1] = n2, n2 = i2 = 0; n2 < 16; n2++) for (T2[n2] = i2, e3 = 0; e3 < 1 << k2[n2]; e3++) E2[i2++] = n2;
38428
+ for (i2 >>= 7; n2 < f2; n2++) for (T2[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38392
38429
  for (t2 = 0; t2 <= g; t2++) s22[t2] = 0;
38393
38430
  for (e3 = 0; e3 <= 143; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38394
38431
  for (; e3 <= 255; ) z2[2 * e3 + 1] = 9, e3++, s22[9]++;
38395
38432
  for (; e3 <= 279; ) z2[2 * e3 + 1] = 7, e3++, s22[7]++;
38396
38433
  for (; e3 <= 287; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38397
38434
  for (Z(z2, l3 + 1, s22), e3 = 0; e3 < f2; e3++) C2[2 * e3 + 1] = 5, C2[2 * e3] = j2(e3, 5);
38398
- O2 = new D2(z2, w2, u + 1, l3, g), B2 = new D2(C2, k2, 0, f2, g), R2 = new D2(new Array(0), x, 0, c2, p);
38399
- })(), q2 = true), e2.l_desc = new F2(e2.dyn_ltree, O2), e2.d_desc = new F2(e2.dyn_dtree, B2), e2.bl_desc = new F2(e2.bl_tree, R2), e2.bi_buf = 0, e2.bi_valid = 0, W2(e2);
38435
+ O = new D2(z2, w2, u + 1, l3, g), B2 = new D2(C2, k2, 0, f2, g), R = new D2(new Array(0), x2, 0, c2, p);
38436
+ })(), q2 = true), e2.l_desc = new F2(e2.dyn_ltree, O), e2.d_desc = new F2(e2.dyn_dtree, B2), e2.bl_desc = new F2(e2.bl_tree, R), e2.bi_buf = 0, e2.bi_valid = 0, W2(e2);
38400
38437
  }, r2._tr_stored_block = J2, r2._tr_flush_block = function(e2, t2, r22, n2) {
38401
38438
  var i2, s22, a2 = 0;
38402
38439
  0 < e2.level ? (2 === e2.strm.data_type && (e2.strm.data_type = (function(e3) {
38403
38440
  var t3, r3 = 4093624447;
38404
38441
  for (t3 = 0; t3 <= 31; t3++, r3 >>>= 1) if (1 & r3 && 0 !== e3.dyn_ltree[2 * t3]) return o;
38405
- if (0 !== e3.dyn_ltree[18] || 0 !== e3.dyn_ltree[20] || 0 !== e3.dyn_ltree[26]) return h2;
38406
- for (t3 = 32; t3 < u; t3++) if (0 !== e3.dyn_ltree[2 * t3]) return h2;
38442
+ if (0 !== e3.dyn_ltree[18] || 0 !== e3.dyn_ltree[20] || 0 !== e3.dyn_ltree[26]) return h;
38443
+ for (t3 = 32; t3 < u; t3++) if (0 !== e3.dyn_ltree[2 * t3]) return h;
38407
38444
  return o;
38408
38445
  })(e2)), Y2(e2, e2.l_desc), Y2(e2, e2.d_desc), a2 = (function(e3) {
38409
38446
  var t3;
@@ -38429,7 +38466,7 @@ function requireJszip_min() {
38429
38466
  (function(e2) {
38430
38467
  !(function(r22, n) {
38431
38468
  if (!r22.setImmediate) {
38432
- var i, s2, t2, a, o = 1, h2 = {}, u = false, l3 = r22.document, e3 = Object.getPrototypeOf && Object.getPrototypeOf(r22);
38469
+ var i, s2, t2, a, o = 1, h = {}, u = false, l3 = r22.document, e3 = Object.getPrototypeOf && Object.getPrototypeOf(r22);
38433
38470
  e3 = e3 && e3.setTimeout ? e3 : r22, i = "[object process]" === {}.toString.call(r22.process) ? function(e4) {
38434
38471
  process$1$1.nextTick(function() {
38435
38472
  c2(e4);
@@ -38458,16 +38495,16 @@ function requireJszip_min() {
38458
38495
  "function" != typeof e4 && (e4 = new Function("" + e4));
38459
38496
  for (var t3 = new Array(arguments.length - 1), r3 = 0; r3 < t3.length; r3++) t3[r3] = arguments[r3 + 1];
38460
38497
  var n2 = { callback: e4, args: t3 };
38461
- return h2[o] = n2, i(o), o++;
38498
+ return h[o] = n2, i(o), o++;
38462
38499
  }, e3.clearImmediate = f2;
38463
38500
  }
38464
38501
  function f2(e4) {
38465
- delete h2[e4];
38502
+ delete h[e4];
38466
38503
  }
38467
38504
  function c2(e4) {
38468
38505
  if (u) setTimeout(c2, 0, e4);
38469
38506
  else {
38470
- var t3 = h2[e4];
38507
+ var t3 = h[e4];
38471
38508
  if (t3) {
38472
38509
  u = true;
38473
38510
  try {
@@ -39316,7 +39353,7 @@ function history(config2 = {}) {
39316
39353
  beforeinput(view, e) {
39317
39354
  let inputType = e.inputType;
39318
39355
  let command2 = inputType == "historyUndo" ? undo$1 : inputType == "historyRedo" ? redo$1 : null;
39319
- if (!command2)
39356
+ if (!command2 || !view.editable)
39320
39357
  return false;
39321
39358
  e.preventDefault();
39322
39359
  return command2(view.state, view.dispatch);
@@ -39472,17 +39509,17 @@ function deepActiveElement(doc2) {
39472
39509
  elt = elt.shadowRoot.activeElement;
39473
39510
  return elt;
39474
39511
  }
39475
- function caretFromPoint(doc2, x, y2) {
39512
+ function caretFromPoint(doc2, x2, y2) {
39476
39513
  if (doc2.caretPositionFromPoint) {
39477
39514
  try {
39478
- let pos = doc2.caretPositionFromPoint(x, y2);
39515
+ let pos = doc2.caretPositionFromPoint(x2, y2);
39479
39516
  if (pos)
39480
39517
  return { node: pos.offsetNode, offset: Math.min(nodeSize(pos.offsetNode), pos.offset) };
39481
39518
  } catch (_2) {
39482
39519
  }
39483
39520
  }
39484
39521
  if (doc2.caretRangeFromPoint) {
39485
- let range2 = doc2.caretRangeFromPoint(x, y2);
39522
+ let range2 = doc2.caretRangeFromPoint(x2, y2);
39486
39523
  if (range2)
39487
39524
  return { node: range2.startContainer, offset: Math.min(nodeSize(range2.startContainer), range2.startOffset) };
39488
39525
  }
@@ -39581,8 +39618,8 @@ function scrollRectIntoView(view, rect, startDOM) {
39581
39618
  function storeScrollPos(view) {
39582
39619
  let rect = view.dom.getBoundingClientRect(), startY = Math.max(0, rect.top);
39583
39620
  let refDOM, refTop;
39584
- for (let x = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39585
- let dom = view.root.elementFromPoint(x, y2);
39621
+ for (let x2 = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39622
+ let dom = view.root.elementFromPoint(x2, y2);
39586
39623
  if (!dom || dom == view.dom || !view.dom.contains(dom))
39587
39624
  continue;
39588
39625
  let localRect = dom.getBoundingClientRect();
@@ -39878,8 +39915,8 @@ function coordsAtPos(view, pos, side) {
39878
39915
  function flattenV(rect, left2) {
39879
39916
  if (rect.width == 0)
39880
39917
  return rect;
39881
- let x = left2 ? rect.left : rect.right;
39882
- return { top: rect.top, bottom: rect.bottom, left: x, right: x };
39918
+ let x2 = left2 ? rect.left : rect.right;
39919
+ return { top: rect.top, bottom: rect.bottom, left: x2, right: x2 };
39883
39920
  }
39884
39921
  function flattenH(rect, top2) {
39885
39922
  if (rect.height == 0)
@@ -44886,10 +44923,10 @@ const createTimeoutClass = (clearFunction) => class TT {
44886
44923
  const Timeout = createTimeoutClass(clearTimeout);
44887
44924
  const timeout = (timeout2, callback) => new Timeout(setTimeout(callback, timeout2));
44888
44925
  const rotr = (w2, shift2) => w2 >>> shift2 | w2 << 32 - shift2;
44889
- const sum0to256 = (x) => rotr(x, 2) ^ rotr(x, 13) ^ rotr(x, 22);
44890
- const sum1to256 = (x) => rotr(x, 6) ^ rotr(x, 11) ^ rotr(x, 25);
44891
- const sigma0to256 = (x) => rotr(x, 7) ^ rotr(x, 18) ^ x >>> 3;
44892
- const sigma1to256 = (x) => rotr(x, 17) ^ rotr(x, 19) ^ x >>> 10;
44926
+ const sum0to256 = (x2) => rotr(x2, 2) ^ rotr(x2, 13) ^ rotr(x2, 22);
44927
+ const sum1to256 = (x2) => rotr(x2, 6) ^ rotr(x2, 11) ^ rotr(x2, 25);
44928
+ const sigma0to256 = (x2) => rotr(x2, 7) ^ rotr(x2, 18) ^ x2 >>> 3;
44929
+ const sigma1to256 = (x2) => rotr(x2, 17) ^ rotr(x2, 19) ^ x2 >>> 10;
44893
44930
  const K = new Uint32Array([
44894
44931
  1116352408,
44895
44932
  1899447441,
@@ -44986,11 +45023,11 @@ class Hasher {
44986
45023
  let e = H[4];
44987
45024
  let f2 = H[5];
44988
45025
  let g = H[6];
44989
- let h2 = H[7];
45026
+ let h = H[7];
44990
45027
  for (let tt = 0, T1, T2; tt < 64; tt++) {
44991
- T1 = h2 + sum1to256(e) + (e & f2 ^ ~e & g) + K[tt] + W2[tt] >>> 0;
45028
+ T1 = h + sum1to256(e) + (e & f2 ^ ~e & g) + K[tt] + W2[tt] >>> 0;
44992
45029
  T2 = sum0to256(a) + (a & b2 ^ a & c2 ^ b2 & c2) >>> 0;
44993
- h2 = g;
45030
+ h = g;
44994
45031
  g = f2;
44995
45032
  f2 = e;
44996
45033
  e = d2 + T1 >>> 0;
@@ -45006,7 +45043,7 @@ class Hasher {
45006
45043
  H[4] += e;
45007
45044
  H[5] += f2;
45008
45045
  H[6] += g;
45009
- H[7] += h2;
45046
+ H[7] += h;
45010
45047
  }
45011
45048
  /**
45012
45049
  * Returns a 32-byte hash.
@@ -53804,7 +53841,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
53804
53841
  { default: remarkStringify },
53805
53842
  { default: remarkGfm }
53806
53843
  ] = await Promise.all([
53807
- Promise.resolve().then(() => require("./index-sJFE-5Sw-Chv1r9bA.cjs")),
53844
+ Promise.resolve().then(() => require("./index-DldNo6-E-B0LsewRn.cjs")),
53808
53845
  Promise.resolve().then(() => require("./index-DRCvimau-H4Ck3S9a.cjs")),
53809
53846
  Promise.resolve().then(() => require("./index-C_x_N6Uh-Db3CUJMX.cjs")),
53810
53847
  Promise.resolve().then(() => require("./index-D_sWOSiG-BtDZzJ6I.cjs")),
@@ -54022,7 +54059,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
54022
54059
  * @returns {Object | void} Migration results
54023
54060
  */
54024
54061
  processCollaborationMigrations() {
54025
- console.debug("[checkVersionMigrations] Current editor version", "0.29.0-next.9");
54062
+ console.debug("[checkVersionMigrations] Current editor version", "0.29.1");
54026
54063
  if (!this.options.ydoc) return;
54027
54064
  const metaMap = this.options.ydoc.getMap("meta");
54028
54065
  let docVersion = metaMap.get("version");
@@ -55896,16 +55933,16 @@ function getCursorPositionRelativeToContainer(view, eventLocation) {
55896
55933
  const { state: state2, dom } = view;
55897
55934
  const { selection } = state2;
55898
55935
  const containerRect = dom.getBoundingClientRect();
55899
- let x, y2;
55936
+ let x2, y2;
55900
55937
  if (typeof eventLocation.clientX === "number" && typeof eventLocation.clientY === "number") {
55901
- x = eventLocation.clientX - containerRect.left;
55938
+ x2 = eventLocation.clientX - containerRect.left;
55902
55939
  y2 = eventLocation.clientY - containerRect.top;
55903
55940
  } else {
55904
55941
  const cursorCoords = view.coordsAtPos(selection.from);
55905
- x = cursorCoords.left - containerRect.left;
55942
+ x2 = cursorCoords.left - containerRect.left;
55906
55943
  y2 = cursorCoords.top - containerRect.top;
55907
55944
  }
55908
- return { left: x, top: y2 };
55945
+ return { left: x2, top: y2 };
55909
55946
  }
55910
55947
  const SlashMenuPluginKey = new PluginKey("slashMenu");
55911
55948
  const SlashMenu = Extension.create({
@@ -56184,17 +56221,17 @@ class StructuredContentViewBase {
56184
56221
  if (!this.dom || this.contentDOM?.contains(target) || !dragHandle) {
56185
56222
  return;
56186
56223
  }
56187
- let x = 0;
56224
+ let x2 = 0;
56188
56225
  let y2 = 0;
56189
56226
  if (this.dom !== dragHandle) {
56190
56227
  const domBox = this.dom.getBoundingClientRect();
56191
56228
  const handleBox = dragHandle.getBoundingClientRect();
56192
56229
  const offsetX = event.offsetX ?? event.nativeEvent?.offsetX;
56193
56230
  const offsetY = event.offsetY ?? event.nativeEvent?.offsetY;
56194
- x = handleBox.x - domBox.x + offsetX;
56231
+ x2 = handleBox.x - domBox.x + offsetX;
56195
56232
  y2 = handleBox.y - domBox.y + offsetY;
56196
56233
  }
56197
- event.dataTransfer?.setDragImage(this.dom, x, y2);
56234
+ event.dataTransfer?.setDragImage(this.dom, x2, y2);
56198
56235
  const pos = this.getPos();
56199
56236
  if (typeof pos !== "number") {
56200
56237
  return;
@@ -60709,16 +60746,16 @@ function computeMap(table) {
60709
60746
  if (i == rowNode.childCount) break;
60710
60747
  const cellNode = rowNode.child(i);
60711
60748
  const { colspan, rowspan, colwidth } = cellNode.attrs;
60712
- for (let h2 = 0; h2 < rowspan; h2++) {
60713
- if (h2 + row >= height) {
60749
+ for (let h = 0; h < rowspan; h++) {
60750
+ if (h + row >= height) {
60714
60751
  (problems || (problems = [])).push({
60715
60752
  type: "overlong_rowspan",
60716
60753
  pos,
60717
- n: rowspan - h2
60754
+ n: rowspan - h
60718
60755
  });
60719
60756
  break;
60720
60757
  }
60721
- const start2 = mapPos + h2 * width;
60758
+ const start2 = mapPos + h * width;
60722
60759
  for (let w2 = 0; w2 < colspan; w2++) {
60723
60760
  if (map22[start2 + w2] == 0) map22[start2 + w2] = pos;
60724
60761
  else
@@ -64285,24 +64322,24 @@ function parseToRgba(color) {
64285
64322
  const reducedHexMatch = reducedHexRegex.exec(normalizedColor);
64286
64323
  if (reducedHexMatch) {
64287
64324
  const arr = Array.from(reducedHexMatch).slice(1);
64288
- return [...arr.slice(0, 3).map((x) => parseInt(r$1(x, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64325
+ return [...arr.slice(0, 3).map((x2) => parseInt(r$1(x2, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64289
64326
  }
64290
64327
  const hexMatch = hexRegex$1.exec(normalizedColor);
64291
64328
  if (hexMatch) {
64292
64329
  const arr = Array.from(hexMatch).slice(1);
64293
- return [...arr.slice(0, 3).map((x) => parseInt(x, 16)), parseInt(arr[3] || "ff", 16) / 255];
64330
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 16)), parseInt(arr[3] || "ff", 16) / 255];
64294
64331
  }
64295
64332
  const rgbaMatch = rgbaRegex$1.exec(normalizedColor);
64296
64333
  if (rgbaMatch) {
64297
64334
  const arr = Array.from(rgbaMatch).slice(1);
64298
- return [...arr.slice(0, 3).map((x) => parseInt(x, 10)), parseFloat(arr[3] || "1")];
64335
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 10)), parseFloat(arr[3] || "1")];
64299
64336
  }
64300
64337
  const hslaMatch = hslaRegex$1.exec(normalizedColor);
64301
64338
  if (hslaMatch) {
64302
- const [h2, s2, l3, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
64339
+ const [h, s2, l3, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
64303
64340
  if (guard(0, 100, s2) !== s2) throw new ColorError$1(color);
64304
64341
  if (guard(0, 100, l3) !== l3) throw new ColorError$1(color);
64305
- return [...hslToRgb(h2, s2, l3), Number.isNaN(a) ? 1 : a];
64342
+ return [...hslToRgb(h, s2, l3), Number.isNaN(a) ? 1 : a];
64306
64343
  }
64307
64344
  throw new ColorError$1(color);
64308
64345
  }
@@ -64314,7 +64351,7 @@ function hash$2(str) {
64314
64351
  }
64315
64352
  return (hash2 >>> 0) % 2341;
64316
64353
  }
64317
- const colorToInt = (x) => parseInt(x.replace(/_/g, ""), 36);
64354
+ const colorToInt = (x2) => parseInt(x2.replace(/_/g, ""), 36);
64318
64355
  const compressedColorMap = "1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((acc, next) => {
64319
64356
  const key2 = colorToInt(next.substring(0, 3));
64320
64357
  const hex2 = colorToInt(next.substring(3)).toString(16);
@@ -64378,9 +64415,9 @@ const hslToRgb = (hue, saturation, lightness) => {
64378
64415
  };
64379
64416
  function toHex(color) {
64380
64417
  const [r2, g, b2, a] = parseToRgba(color);
64381
- let hex2 = (x) => {
64382
- const h2 = guard(0, 255, x).toString(16);
64383
- return h2.length === 1 ? `0${h2}` : h2;
64418
+ let hex2 = (x2) => {
64419
+ const h = guard(0, 255, x2).toString(16);
64420
+ return h.length === 1 ? `0${h}` : h;
64384
64421
  };
64385
64422
  return `#${hex2(r2)}${hex2(g)}${hex2(b2)}${a < 1 ? hex2(Math.round(a * 255)) : ""}`;
64386
64423
  }
@@ -66238,14 +66275,14 @@ const getNormalizedImageAttrs = (attrs = {}) => {
66238
66275
  marginOffset: normalizeMarginOffset(attrs.marginOffset ?? {})
66239
66276
  };
66240
66277
  };
66241
- const getRotationMargins = (w2, h2, angleDegrees) => {
66278
+ const getRotationMargins = (w2, h, angleDegrees) => {
66242
66279
  const rad = angleDegrees * (Math.PI / 180);
66243
66280
  const cos = Math.abs(Math.cos(rad));
66244
66281
  const sin = Math.abs(Math.sin(rad));
66245
- const boundingWidth = w2 * cos + h2 * sin;
66246
- const boundingHeight = w2 * sin + h2 * cos;
66282
+ const boundingWidth = w2 * cos + h * sin;
66283
+ const boundingHeight = w2 * sin + h * cos;
66247
66284
  const marginLeftRight = Math.round(Math.max(0, (boundingWidth - w2) / 2));
66248
- const marginTopBottom = Math.round(Math.max(0, (boundingHeight - h2) / 2));
66285
+ const marginTopBottom = Math.round(Math.max(0, (boundingHeight - h) / 2));
66249
66286
  return {
66250
66287
  horizontal: marginLeftRight,
66251
66288
  vertical: marginTopBottom
@@ -66483,10 +66520,10 @@ const Image = Node$1.create({
66483
66520
  let minX = 0;
66484
66521
  let minY = 0;
66485
66522
  let maxY = 0;
66486
- attrs.polygon.forEach(([x, y2]) => {
66487
- if (floatRight && x < horizontalOffset) horizontalOffset = x;
66488
- if (x > maxX) maxX = x;
66489
- if (x < minX) minX = x;
66523
+ attrs.polygon.forEach(([x2, y2]) => {
66524
+ if (floatRight && x2 < horizontalOffset) horizontalOffset = x2;
66525
+ if (x2 > maxX) maxX = x2;
66526
+ if (x2 < minX) minX = x2;
66490
66527
  if (y2 > maxY) maxY = y2;
66491
66528
  if (y2 < minY) minY = y2;
66492
66529
  });
@@ -66495,7 +66532,7 @@ const Image = Node$1.create({
66495
66532
  const scaleWidth = Math.min(1, size2.width / originalWidth);
66496
66533
  const scaleHeight = Math.min(1, size2.height / originalHeight);
66497
66534
  const verticalOffset = Math.max(0, marginOffset.top);
66498
- const points = attrs.polygon.map(([x, y2]) => `${horizontalOffset + x * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66535
+ const points = attrs.polygon.map(([x2, y2]) => `${horizontalOffset + x2 * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66499
66536
  style2 += `shape-outside: polygon(${points});`;
66500
66537
  }
66501
66538
  break;
@@ -71630,7 +71667,7 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
71630
71667
  }
71631
71668
  var _ref = isElement$2(element) ? getWindow$1(element) : window, visualViewport = _ref.visualViewport;
71632
71669
  var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
71633
- var x = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
71670
+ var x2 = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
71634
71671
  var y2 = (clientRect2.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
71635
71672
  var width = clientRect2.width / scaleX;
71636
71673
  var height = clientRect2.height / scaleY;
@@ -71638,10 +71675,10 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
71638
71675
  width,
71639
71676
  height,
71640
71677
  top: y2,
71641
- right: x + width,
71678
+ right: x2 + width,
71642
71679
  bottom: y2 + height,
71643
- left: x,
71644
- x,
71680
+ left: x2,
71681
+ x: x2,
71645
71682
  y: y2
71646
71683
  };
71647
71684
  }
@@ -71842,25 +71879,25 @@ var unsetSides = {
71842
71879
  left: "auto"
71843
71880
  };
71844
71881
  function roundOffsetsByDPR(_ref, win) {
71845
- var x = _ref.x, y2 = _ref.y;
71882
+ var x2 = _ref.x, y2 = _ref.y;
71846
71883
  var dpr = win.devicePixelRatio || 1;
71847
71884
  return {
71848
- x: round$1(x * dpr) / dpr || 0,
71885
+ x: round$1(x2 * dpr) / dpr || 0,
71849
71886
  y: round$1(y2 * dpr) / dpr || 0
71850
71887
  };
71851
71888
  }
71852
71889
  function mapToStyles(_ref2) {
71853
71890
  var _Object$assign2;
71854
71891
  var popper2 = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
71855
- var _offsets$x = offsets.x, x = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y2 = _offsets$y === void 0 ? 0 : _offsets$y;
71892
+ var _offsets$x = offsets.x, x2 = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y2 = _offsets$y === void 0 ? 0 : _offsets$y;
71856
71893
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
71857
- x,
71894
+ x: x2,
71858
71895
  y: y2
71859
71896
  }) : {
71860
- x,
71897
+ x: x2,
71861
71898
  y: y2
71862
71899
  };
71863
- x = _ref3.x;
71900
+ x2 = _ref3.x;
71864
71901
  y2 = _ref3.y;
71865
71902
  var hasX = offsets.hasOwnProperty("x");
71866
71903
  var hasY = offsets.hasOwnProperty("y");
@@ -71894,27 +71931,27 @@ function mapToStyles(_ref2) {
71894
71931
  // $FlowFixMe[prop-missing]
71895
71932
  offsetParent[widthProp]
71896
71933
  );
71897
- x -= offsetX - popperRect.width;
71898
- x *= gpuAcceleration ? 1 : -1;
71934
+ x2 -= offsetX - popperRect.width;
71935
+ x2 *= gpuAcceleration ? 1 : -1;
71899
71936
  }
71900
71937
  }
71901
71938
  var commonStyles = Object.assign({
71902
71939
  position
71903
71940
  }, adaptive && unsetSides);
71904
71941
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
71905
- x,
71942
+ x: x2,
71906
71943
  y: y2
71907
71944
  }, getWindow$1(popper2)) : {
71908
- x,
71945
+ x: x2,
71909
71946
  y: y2
71910
71947
  };
71911
- x = _ref4.x;
71948
+ x2 = _ref4.x;
71912
71949
  y2 = _ref4.y;
71913
71950
  if (gpuAcceleration) {
71914
71951
  var _Object$assign;
71915
- return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y2 + "px)" : "translate3d(" + x + "px, " + y2 + "px, 0)", _Object$assign));
71952
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x2 + "px, " + y2 + "px)" : "translate3d(" + x2 + "px, " + y2 + "px, 0)", _Object$assign));
71916
71953
  }
71917
- return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
71954
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x2 + "px" : "", _Object$assign2.transform = "", _Object$assign2));
71918
71955
  }
71919
71956
  function computeStyles(_ref5) {
71920
71957
  var state2 = _ref5.state, options = _ref5.options;
@@ -72028,21 +72065,21 @@ function getViewportRect$1(element, strategy) {
72028
72065
  var visualViewport = win.visualViewport;
72029
72066
  var width = html.clientWidth;
72030
72067
  var height = html.clientHeight;
72031
- var x = 0;
72068
+ var x2 = 0;
72032
72069
  var y2 = 0;
72033
72070
  if (visualViewport) {
72034
72071
  width = visualViewport.width;
72035
72072
  height = visualViewport.height;
72036
72073
  var layoutViewport = isLayoutViewport();
72037
72074
  if (layoutViewport || !layoutViewport && strategy === "fixed") {
72038
- x = visualViewport.offsetLeft;
72075
+ x2 = visualViewport.offsetLeft;
72039
72076
  y2 = visualViewport.offsetTop;
72040
72077
  }
72041
72078
  }
72042
72079
  return {
72043
72080
  width,
72044
72081
  height,
72045
- x: x + getWindowScrollBarX$1(element),
72082
+ x: x2 + getWindowScrollBarX$1(element),
72046
72083
  y: y2
72047
72084
  };
72048
72085
  }
@@ -72053,15 +72090,15 @@ function getDocumentRect$1(element) {
72053
72090
  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
72054
72091
  var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
72055
72092
  var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
72056
- var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72093
+ var x2 = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72057
72094
  var y2 = -winScroll.scrollTop;
72058
72095
  if (getComputedStyle$2(body || html).direction === "rtl") {
72059
- x += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72096
+ x2 += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72060
72097
  }
72061
72098
  return {
72062
72099
  width,
72063
72100
  height,
72064
- x,
72101
+ x: x2,
72065
72102
  y: y2
72066
72103
  };
72067
72104
  }
@@ -72438,9 +72475,9 @@ function offset(_ref2) {
72438
72475
  acc[placement] = distanceAndSkiddingToXY(placement, state2.rects, offset2);
72439
72476
  return acc;
72440
72477
  }, {});
72441
- var _data$state$placement = data[state2.placement], x = _data$state$placement.x, y2 = _data$state$placement.y;
72478
+ var _data$state$placement = data[state2.placement], x2 = _data$state$placement.x, y2 = _data$state$placement.y;
72442
72479
  if (state2.modifiersData.popperOffsets != null) {
72443
- state2.modifiersData.popperOffsets.x += x;
72480
+ state2.modifiersData.popperOffsets.x += x2;
72444
72481
  state2.modifiersData.popperOffsets.y += y2;
72445
72482
  }
72446
72483
  state2.modifiersData[name] = data;
@@ -74391,7 +74428,7 @@ function getPaddingObject(padding) {
74391
74428
  }
74392
74429
  function rectToClientRect(rect) {
74393
74430
  const {
74394
- x,
74431
+ x: x2,
74395
74432
  y: y2,
74396
74433
  width,
74397
74434
  height
@@ -74400,10 +74437,10 @@ function rectToClientRect(rect) {
74400
74437
  width,
74401
74438
  height,
74402
74439
  top: y2,
74403
- left: x,
74404
- right: x + width,
74440
+ left: x2,
74441
+ right: x2 + width,
74405
74442
  bottom: y2 + height,
74406
- x,
74443
+ x: x2,
74407
74444
  y: y2
74408
74445
  };
74409
74446
  }
@@ -74477,7 +74514,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74477
74514
  strategy
74478
74515
  });
74479
74516
  let {
74480
- x,
74517
+ x: x2,
74481
74518
  y: y2
74482
74519
  } = computeCoordsFromPlacement(rects, placement, rtl);
74483
74520
  let statefulPlacement = placement;
@@ -74494,7 +74531,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74494
74531
  data,
74495
74532
  reset
74496
74533
  } = await fn2({
74497
- x,
74534
+ x: x2,
74498
74535
  y: y2,
74499
74536
  initialPlacement: placement,
74500
74537
  placement: statefulPlacement,
@@ -74507,7 +74544,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74507
74544
  floating
74508
74545
  }
74509
74546
  });
74510
- x = nextX != null ? nextX : x;
74547
+ x2 = nextX != null ? nextX : x2;
74511
74548
  y2 = nextY != null ? nextY : y2;
74512
74549
  middlewareData = {
74513
74550
  ...middlewareData,
@@ -74530,7 +74567,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74530
74567
  }) : reset.rects;
74531
74568
  }
74532
74569
  ({
74533
- x,
74570
+ x: x2,
74534
74571
  y: y2
74535
74572
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
74536
74573
  }
@@ -74538,7 +74575,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74538
74575
  }
74539
74576
  }
74540
74577
  return {
74541
- x,
74578
+ x: x2,
74542
74579
  y: y2,
74543
74580
  placement: statefulPlacement,
74544
74581
  strategy,
@@ -74551,7 +74588,7 @@ async function detectOverflow(state2, options) {
74551
74588
  options = {};
74552
74589
  }
74553
74590
  const {
74554
- x,
74591
+ x: x2,
74555
74592
  y: y2,
74556
74593
  platform: platform2,
74557
74594
  rects,
@@ -74575,7 +74612,7 @@ async function detectOverflow(state2, options) {
74575
74612
  strategy
74576
74613
  }));
74577
74614
  const rect = elementContext === "floating" ? {
74578
- x,
74615
+ x: x2,
74579
74616
  y: y2,
74580
74617
  width: rects.floating.width,
74581
74618
  height: rects.floating.height
@@ -74844,16 +74881,16 @@ function getScale(element) {
74844
74881
  height,
74845
74882
  $: $2
74846
74883
  } = getCssDimensions(domElement);
74847
- let x = ($2 ? round(rect.width) : rect.width) / width;
74884
+ let x2 = ($2 ? round(rect.width) : rect.width) / width;
74848
74885
  let y2 = ($2 ? round(rect.height) : rect.height) / height;
74849
- if (!x || !Number.isFinite(x)) {
74850
- x = 1;
74886
+ if (!x2 || !Number.isFinite(x2)) {
74887
+ x2 = 1;
74851
74888
  }
74852
74889
  if (!y2 || !Number.isFinite(y2)) {
74853
74890
  y2 = 1;
74854
74891
  }
74855
74892
  return {
74856
- x,
74893
+ x: x2,
74857
74894
  y: y2
74858
74895
  };
74859
74896
  }
@@ -74897,7 +74934,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
74897
74934
  }
74898
74935
  }
74899
74936
  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
74900
- let x = (clientRect2.left + visualOffsets.x) / scale.x;
74937
+ let x2 = (clientRect2.left + visualOffsets.x) / scale.x;
74901
74938
  let y2 = (clientRect2.top + visualOffsets.y) / scale.y;
74902
74939
  let width = clientRect2.width / scale.x;
74903
74940
  let height = clientRect2.height / scale.y;
@@ -74912,11 +74949,11 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
74912
74949
  const css = getComputedStyle$1(currentIFrame);
74913
74950
  const left2 = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
74914
74951
  const top2 = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
74915
- x *= iframeScale.x;
74952
+ x2 *= iframeScale.x;
74916
74953
  y2 *= iframeScale.y;
74917
74954
  width *= iframeScale.x;
74918
74955
  height *= iframeScale.y;
74919
- x += left2;
74956
+ x2 += left2;
74920
74957
  y2 += top2;
74921
74958
  currentWin = getWindow(currentIFrame);
74922
74959
  currentIFrame = getFrameElement(currentWin);
@@ -74925,7 +74962,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
74925
74962
  return rectToClientRect({
74926
74963
  width,
74927
74964
  height,
74928
- x,
74965
+ x: x2,
74929
74966
  y: y2
74930
74967
  });
74931
74968
  }
@@ -74938,10 +74975,10 @@ function getWindowScrollBarX(element, rect) {
74938
74975
  }
74939
74976
  function getHTMLOffset(documentElement, scroll) {
74940
74977
  const htmlRect = documentElement.getBoundingClientRect();
74941
- const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
74978
+ const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
74942
74979
  const y2 = htmlRect.top + scroll.scrollTop;
74943
74980
  return {
74944
- x,
74981
+ x: x2,
74945
74982
  y: y2
74946
74983
  };
74947
74984
  }
@@ -74993,15 +75030,15 @@ function getDocumentRect(element) {
74993
75030
  const body = element.ownerDocument.body;
74994
75031
  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
74995
75032
  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
74996
- let x = -scroll.scrollLeft + getWindowScrollBarX(element);
75033
+ let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
74997
75034
  const y2 = -scroll.scrollTop;
74998
75035
  if (getComputedStyle$1(body).direction === "rtl") {
74999
- x += max(html.clientWidth, body.clientWidth) - width;
75036
+ x2 += max(html.clientWidth, body.clientWidth) - width;
75000
75037
  }
75001
75038
  return {
75002
75039
  width,
75003
75040
  height,
75004
- x,
75041
+ x: x2,
75005
75042
  y: y2
75006
75043
  };
75007
75044
  }
@@ -75012,14 +75049,14 @@ function getViewportRect(element, strategy) {
75012
75049
  const visualViewport = win.visualViewport;
75013
75050
  let width = html.clientWidth;
75014
75051
  let height = html.clientHeight;
75015
- let x = 0;
75052
+ let x2 = 0;
75016
75053
  let y2 = 0;
75017
75054
  if (visualViewport) {
75018
75055
  width = visualViewport.width;
75019
75056
  height = visualViewport.height;
75020
75057
  const visualViewportBased = isWebKit();
75021
75058
  if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
75022
- x = visualViewport.offsetLeft;
75059
+ x2 = visualViewport.offsetLeft;
75023
75060
  y2 = visualViewport.offsetTop;
75024
75061
  }
75025
75062
  }
@@ -75039,7 +75076,7 @@ function getViewportRect(element, strategy) {
75039
75076
  return {
75040
75077
  width,
75041
75078
  height,
75042
- x,
75079
+ x: x2,
75043
75080
  y: y2
75044
75081
  };
75045
75082
  }
@@ -75051,12 +75088,12 @@ function getInnerBoundingClientRect(element, strategy) {
75051
75088
  const scale = isHTMLElement$2(element) ? getScale(element) : createCoords(1);
75052
75089
  const width = element.clientWidth * scale.x;
75053
75090
  const height = element.clientHeight * scale.y;
75054
- const x = left2 * scale.x;
75091
+ const x2 = left2 * scale.x;
75055
75092
  const y2 = top2 * scale.y;
75056
75093
  return {
75057
75094
  width,
75058
75095
  height,
75059
- x,
75096
+ x: x2,
75060
75097
  y: y2
75061
75098
  };
75062
75099
  }
@@ -75176,10 +75213,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
75176
75213
  setLeftRTLScrollbarOffset();
75177
75214
  }
75178
75215
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
75179
- const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75216
+ const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75180
75217
  const y2 = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
75181
75218
  return {
75182
- x,
75219
+ x: x2,
75183
75220
  y: y2,
75184
75221
  width: rect.width,
75185
75222
  height: rect.height
@@ -76042,22 +76079,22 @@ function createFloatingSeparator(separator, editor) {
76042
76079
  const rect = elements.reference.getBoundingClientRect();
76043
76080
  const containerRect = editorElement.getBoundingClientRect();
76044
76081
  const scaleFactor = getScaleFactor(editorElement);
76045
- const x = Math.round((rect.left - containerRect.left) / scaleFactor);
76082
+ const x2 = Math.round((rect.left - containerRect.left) / scaleFactor);
76046
76083
  const y2 = Math.round((rect.top - containerRect.top) / scaleFactor);
76047
76084
  const width = Math.round(rect.width / scaleFactor);
76048
76085
  const height = Math.round(rect.height / scaleFactor);
76049
76086
  return {
76050
- x,
76087
+ x: x2,
76051
76088
  y: y2,
76052
76089
  data: { width, height }
76053
76090
  };
76054
76091
  }
76055
76092
  }
76056
76093
  ]
76057
- }).then(({ x, y: y2, middlewareData }) => {
76094
+ }).then(({ x: x2, y: y2, middlewareData }) => {
76058
76095
  Object.assign(floatingSeparator.style, {
76059
76096
  top: `${y2}px`,
76060
- left: `${x}px`,
76097
+ left: `${x2}px`,
76061
76098
  width: `${middlewareData.copy.width}px`,
76062
76099
  height: `${middlewareData.copy.height}px`,
76063
76100
  visibility: middlewareData.hide?.referenceHidden ? "hidden" : "visible"
@@ -79051,14 +79088,14 @@ function ensureViewBoundingRect() {
79051
79088
  }
79052
79089
  return viewMeasurer.getBoundingClientRect();
79053
79090
  }
79054
- function getPointRect(x, y2) {
79091
+ function getPointRect(x2, y2) {
79055
79092
  const viewRect = ensureViewBoundingRect();
79056
79093
  return {
79057
79094
  top: y2,
79058
- left: x,
79095
+ left: x2,
79059
79096
  height: 0,
79060
79097
  width: 0,
79061
- right: viewRect.width - x,
79098
+ right: viewRect.width - x2,
79062
79099
  bottom: viewRect.height - y2
79063
79100
  };
79064
79101
  }
@@ -79896,8 +79933,8 @@ const VFollower = vue.defineComponent({
79896
79933
  if (follower === null)
79897
79934
  return;
79898
79935
  const target = VBinder.targetRef;
79899
- const { x, y: y2, overlap } = props;
79900
- const targetRect = x !== void 0 && y2 !== void 0 ? getPointRect(x, y2) : getRect(target);
79936
+ const { x: x2, y: y2, overlap } = props;
79937
+ const targetRect = x2 !== void 0 && y2 !== void 0 ? getPointRect(x2, y2) : getRect(target);
79901
79938
  follower.style.setProperty("--v-target-width", `${Math.round(targetRect.width)}px`);
79902
79939
  follower.style.setProperty("--v-target-height", `${Math.round(targetRect.height)}px`);
79903
79940
  const { width, minWidth, placement, internalShift, flip: flip2 } = props;
@@ -80067,8 +80104,8 @@ var ResizeObserverSize = /* @__PURE__ */ (function() {
80067
80104
  return ResizeObserverSize2;
80068
80105
  })();
80069
80106
  var DOMRectReadOnly = (function() {
80070
- function DOMRectReadOnly2(x, y2, width, height) {
80071
- this.x = x;
80107
+ function DOMRectReadOnly2(x2, y2, width, height) {
80108
+ this.x = x2;
80072
80109
  this.y = y2;
80073
80110
  this.width = width;
80074
80111
  this.height = height;
@@ -80079,8 +80116,8 @@ var DOMRectReadOnly = (function() {
80079
80116
  return freeze(this);
80080
80117
  }
80081
80118
  DOMRectReadOnly2.prototype.toJSON = function() {
80082
- var _a2 = this, x = _a2.x, y2 = _a2.y, top2 = _a2.top, right2 = _a2.right, bottom2 = _a2.bottom, left2 = _a2.left, width = _a2.width, height = _a2.height;
80083
- return { x, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80119
+ var _a2 = this, x2 = _a2.x, y2 = _a2.y, top2 = _a2.top, right2 = _a2.right, bottom2 = _a2.bottom, left2 = _a2.left, width = _a2.width, height = _a2.height;
80120
+ return { x: x2, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80084
80121
  };
80085
80122
  DOMRectReadOnly2.fromRect = function(rectangle) {
80086
80123
  return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);