@harbour-enterprises/superdoc 0.9.39 → 0.9.41

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 (34) hide show
  1. package/dist/chunks/{index-B1HJFsYK.cjs → index-DHS2ANjv.cjs} +1 -1
  2. package/dist/chunks/{index-9h_Kn-Dm.es.js → index-Dd_ce0Er.es.js} +1 -1
  3. package/dist/chunks/{index-g2tCwKji.es.js → index-XHRxRUhd.es.js} +2 -2
  4. package/dist/chunks/{index-vGJ1t7OQ.cjs → index-YqE5-6V1.cjs} +1 -1
  5. package/dist/chunks/{super-editor.es-TG5bwOai.cjs → super-editor.es-CvEL3yTX.cjs} +43 -43
  6. package/dist/chunks/{super-editor.es-DCbnxyYl.es.js → super-editor.es-DaEia7dE.es.js} +2512 -2510
  7. package/dist/chunks/{url-DOH7Dv51.es.js → url-BWFemt_V.es.js} +1 -1
  8. package/dist/chunks/{url-B-X4NWGe.cjs → url-Cqg7fbSS.cjs} +1 -1
  9. package/dist/chunks/xml-js-Bzw8Bo_u.es.js +1739 -0
  10. package/dist/chunks/xml-js-Zwb1wsIy.cjs +10 -0
  11. package/dist/super-editor/chunks/{converter-DXuU2GGe.js → converter-BGnpy7ml.js} +344 -342
  12. package/dist/super-editor/chunks/{docx-zipper-BuYva3j1.js → docx-zipper-CbKyfcc7.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-Dqrro-7d.js → editor-Dhm1VNRS.js} +3 -3
  14. package/dist/super-editor/chunks/{toolbar-DHjcVYGZ.js → toolbar-BvozKXMi.js} +2 -2
  15. package/dist/super-editor/converter.es.js +1 -1
  16. package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
  17. package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
  18. package/dist/super-editor/docx-zipper.es.js +2 -2
  19. package/dist/super-editor/editor.es.js +3 -3
  20. package/dist/super-editor/file-zipper.es.js +1 -1
  21. package/dist/super-editor/super-editor.es.js +6 -6
  22. package/dist/super-editor/tests/e2e/test-app/dist/assets/{index-DX0vnkoa.d.ts → index-BTMvkUyI.d.ts} +1 -1
  23. package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts.map +1 -0
  24. package/dist/super-editor/toolbar.es.js +2 -2
  25. package/dist/super-editor.cjs +1 -1
  26. package/dist/super-editor.es.js +1 -1
  27. package/dist/superdoc.cjs +3 -3
  28. package/dist/superdoc.es.js +6 -6
  29. package/dist/superdoc.umd.js +346 -344
  30. package/dist/superdoc.umd.js.map +1 -1
  31. package/package.json +1 -1
  32. package/dist/chunks/xml-js-BZ27jOyf.cjs +0 -10
  33. package/dist/chunks/xml-js-BgrWeyJ9.es.js +0 -1786
  34. package/dist/super-editor/tests/e2e/test-app/dist/assets/index-DX0vnkoa.d.ts.map +0 -1
@@ -7778,7 +7778,7 @@
7778
7778
  }
7779
7779
  return G < me2 ? -1 : me2 < G ? 1 : 0;
7780
7780
  };
7781
- function D3(y, l, d, v, O3) {
7781
+ function E3(y, l, d, v, O3) {
7782
7782
  if (y.length === 0) return -1;
7783
7783
  if (typeof d == "string" ? (v = d, d = 0) : d > 2147483647 ? d = 2147483647 : d < -2147483648 && (d = -2147483648), d = +d, st2(d) && (d = O3 ? 0 : y.length - 1), d < 0 && (d = y.length + d), d >= y.length) {
7784
7784
  if (O3) return -1;
@@ -7825,9 +7825,9 @@
7825
7825
  c3.prototype.includes = function(l, d, v) {
7826
7826
  return this.indexOf(l, d, v) !== -1;
7827
7827
  }, c3.prototype.indexOf = function(l, d, v) {
7828
- return D3(this, l, d, v, true);
7828
+ return E3(this, l, d, v, true);
7829
7829
  }, c3.prototype.lastIndexOf = function(l, d, v) {
7830
- return D3(this, l, d, v, false);
7830
+ return E3(this, l, d, v, false);
7831
7831
  };
7832
7832
  function oe2(y, l, d, v) {
7833
7833
  d = Number(d) || 0;
@@ -8160,13 +8160,13 @@
8160
8160
  }, c3.prototype.writeFloatBE = function(l, d, v) {
8161
8161
  return R(this, l, d, false, v);
8162
8162
  };
8163
- function E3(y, l, d, v, O3) {
8163
+ function D3(y, l, d, v, O3) {
8164
8164
  return l = +l, d = d >>> 0, O3 || m(y, l, d, 8), t.write(y, l, d, v, 52, 8), d + 8;
8165
8165
  }
8166
8166
  c3.prototype.writeDoubleLE = function(l, d, v) {
8167
- return E3(this, l, d, true, v);
8167
+ return D3(this, l, d, true, v);
8168
8168
  }, c3.prototype.writeDoubleBE = function(l, d, v) {
8169
- return E3(this, l, d, false, v);
8169
+ return D3(this, l, d, false, v);
8170
8170
  }, c3.prototype.copy = function(l, d, v, O3) {
8171
8171
  if (!c3.isBuffer(l)) throw new TypeError("argument should be a Buffer");
8172
8172
  if (v || (v = 0), !O3 && O3 !== 0 && (O3 = this.length), d >= l.length && (d = l.length), d || (d = 0), O3 > 0 && O3 < v && (O3 = v), O3 === v || l.length === 0 || this.length === 0) return 0;
@@ -8462,9 +8462,9 @@
8462
8462
  return u(this);
8463
8463
  }, s.prototype.emit = function(F3) {
8464
8464
  for (var N3 = [], q = 1; q < arguments.length; q++) N3.push(arguments[q]);
8465
- var H3 = F3 === "error", D3 = this._events;
8466
- if (D3 !== void 0)
8467
- H3 = H3 && D3.error === void 0;
8465
+ var H3 = F3 === "error", E3 = this._events;
8466
+ if (E3 !== void 0)
8467
+ H3 = H3 && E3.error === void 0;
8468
8468
  else if (!H3)
8469
8469
  return false;
8470
8470
  if (H3) {
@@ -8474,7 +8474,7 @@
8474
8474
  var oe2 = new Error("Unhandled error." + (K3 ? " (" + K3.message + ")" : ""));
8475
8475
  throw oe2.context = K3, oe2;
8476
8476
  }
8477
- var ee = D3[F3];
8477
+ var ee = E3[F3];
8478
8478
  if (ee === void 0)
8479
8479
  return false;
8480
8480
  if (typeof ee == "function")
@@ -8485,14 +8485,14 @@
8485
8485
  return true;
8486
8486
  };
8487
8487
  function f3(C, F3, N3, q) {
8488
- var H3, D3, K3;
8489
- if (a(N3), D3 = C._events, D3 === void 0 ? (D3 = C._events = /* @__PURE__ */ Object.create(null), C._eventsCount = 0) : (D3.newListener !== void 0 && (C.emit(
8488
+ var H3, E3, K3;
8489
+ if (a(N3), E3 = C._events, E3 === void 0 ? (E3 = C._events = /* @__PURE__ */ Object.create(null), C._eventsCount = 0) : (E3.newListener !== void 0 && (C.emit(
8490
8490
  "newListener",
8491
8491
  F3,
8492
8492
  N3.listener ? N3.listener : N3
8493
- ), D3 = C._events), K3 = D3[F3]), K3 === void 0)
8494
- K3 = D3[F3] = N3, ++C._eventsCount;
8495
- else if (typeof K3 == "function" ? K3 = D3[F3] = q ? [N3, K3] : [K3, N3] : q ? K3.unshift(N3) : K3.push(N3), H3 = u(C), H3 > 0 && K3.length > H3 && !K3.warned) {
8493
+ ), E3 = C._events), K3 = E3[F3]), K3 === void 0)
8494
+ K3 = E3[F3] = N3, ++C._eventsCount;
8495
+ else if (typeof K3 == "function" ? K3 = E3[F3] = q ? [N3, K3] : [K3, N3] : q ? K3.unshift(N3) : K3.push(N3), H3 = u(C), H3 > 0 && K3.length > H3 && !K3.warned) {
8496
8496
  K3.warned = true;
8497
8497
  var oe2 = new Error("Possible EventEmitter memory leak detected. " + K3.length + " " + String(F3) + " listeners added. Use emitter.setMaxListeners() to increase limit");
8498
8498
  oe2.name = "MaxListenersExceededWarning", oe2.emitter = C, oe2.type = F3, oe2.count = K3.length, n(oe2);
@@ -8517,7 +8517,7 @@
8517
8517
  }, s.prototype.prependOnceListener = function(F3, N3) {
8518
8518
  return a(N3), this.prependListener(F3, h3(this, F3, N3)), this;
8519
8519
  }, s.prototype.removeListener = function(F3, N3) {
8520
- var q, H3, D3, K3, oe2;
8520
+ var q, H3, E3, K3, oe2;
8521
8521
  if (a(N3), H3 = this._events, H3 === void 0)
8522
8522
  return this;
8523
8523
  if (q = H3[F3], q === void 0)
@@ -8525,14 +8525,14 @@
8525
8525
  if (q === N3 || q.listener === N3)
8526
8526
  --this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete H3[F3], H3.removeListener && this.emit("removeListener", F3, q.listener || N3));
8527
8527
  else if (typeof q != "function") {
8528
- for (D3 = -1, K3 = q.length - 1; K3 >= 0; K3--)
8528
+ for (E3 = -1, K3 = q.length - 1; K3 >= 0; K3--)
8529
8529
  if (q[K3] === N3 || q[K3].listener === N3) {
8530
- oe2 = q[K3].listener, D3 = K3;
8530
+ oe2 = q[K3].listener, E3 = K3;
8531
8531
  break;
8532
8532
  }
8533
- if (D3 < 0)
8533
+ if (E3 < 0)
8534
8534
  return this;
8535
- D3 === 0 ? q.shift() : A(q, D3), q.length === 1 && (H3[F3] = q[0]), H3.removeListener !== void 0 && this.emit("removeListener", F3, oe2 || N3);
8535
+ E3 === 0 ? q.shift() : A(q, E3), q.length === 1 && (H3[F3] = q[0]), H3.removeListener !== void 0 && this.emit("removeListener", F3, oe2 || N3);
8536
8536
  }
8537
8537
  return this;
8538
8538
  }, s.prototype.off = s.prototype.removeListener, s.prototype.removeAllListeners = function(F3) {
@@ -8542,9 +8542,9 @@
8542
8542
  if (q.removeListener === void 0)
8543
8543
  return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : q[F3] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete q[F3]), this;
8544
8544
  if (arguments.length === 0) {
8545
- var D3 = Object.keys(q), K3;
8546
- for (H3 = 0; H3 < D3.length; ++H3)
8547
- K3 = D3[H3], K3 !== "removeListener" && this.removeAllListeners(K3);
8545
+ var E3 = Object.keys(q), K3;
8546
+ for (H3 = 0; H3 < E3.length; ++H3)
8547
+ K3 = E3[H3], K3 !== "removeListener" && this.removeAllListeners(K3);
8548
8548
  return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
8549
8549
  }
8550
8550
  if (N3 = q[F3], typeof N3 == "function")
@@ -8600,12 +8600,12 @@
8600
8600
  function w(C, F3) {
8601
8601
  return new Promise(function(N3, q) {
8602
8602
  function H3(K3) {
8603
- C.removeListener(F3, D3), q(K3);
8603
+ C.removeListener(F3, E3), q(K3);
8604
8604
  }
8605
- function D3() {
8605
+ function E3() {
8606
8606
  typeof C.removeListener == "function" && C.removeListener("error", H3), N3([].slice.call(arguments));
8607
8607
  }
8608
- I3(C, F3, D3, { once: true }), F3 !== "error" && k(C, H3, { once: true });
8608
+ I3(C, F3, E3, { once: true }), F3 !== "error" && k(C, H3, { once: true });
8609
8609
  });
8610
8610
  }
8611
8611
  function k(C, F3, N3) {
@@ -8615,8 +8615,8 @@
8615
8615
  if (typeof C.on == "function")
8616
8616
  q.once ? C.once(F3, N3) : C.on(F3, N3);
8617
8617
  else if (typeof C.addEventListener == "function")
8618
- C.addEventListener(F3, function H3(D3) {
8619
- q.once && C.removeEventListener(F3, H3), N3(D3);
8618
+ C.addEventListener(F3, function H3(E3) {
8619
+ q.once && C.removeEventListener(F3, H3), N3(E3);
8620
8620
  });
8621
8621
  else
8622
8622
  throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof C);
@@ -9072,7 +9072,7 @@
9072
9072
  return C;
9073
9073
  }
9074
9074
  }
9075
- }() : C, N3 = vl$2()(), q = Di$2(), H3 = $o$1(), D3 = Ko$1(), K3 = xi$2(), oe2 = bi$1(), ee = {}, Q3 = typeof Uint8Array > "u" || !q ? r22 : q(Uint8Array), ce2 = {
9075
+ }() : C, N3 = vl$2()(), q = Di$2(), H3 = $o$1(), E3 = Ko$1(), K3 = xi$2(), oe2 = bi$1(), ee = {}, Q3 = typeof Uint8Array > "u" || !q ? r22 : q(Uint8Array), ce2 = {
9076
9076
  __proto__: null,
9077
9077
  "%AggregateError%": typeof AggregateError > "u" ? r22 : AggregateError,
9078
9078
  "%Array%": Array,
@@ -9154,7 +9154,7 @@
9154
9154
  "%Math.pow%": S,
9155
9155
  "%Math.round%": T3,
9156
9156
  "%Math.sign%": A,
9157
- "%Reflect.getPrototypeOf%": D3
9157
+ "%Reflect.getPrototypeOf%": E3
9158
9158
  };
9159
9159
  if (q)
9160
9160
  try {
@@ -9163,22 +9163,22 @@
9163
9163
  var ae2 = q(q(R));
9164
9164
  ce2["%Error.prototype%"] = ae2;
9165
9165
  }
9166
- var se = function R(E3) {
9166
+ var se = function R(D3) {
9167
9167
  var b;
9168
- if (E3 === "%AsyncFunction%")
9168
+ if (D3 === "%AsyncFunction%")
9169
9169
  b = w("async function () {}");
9170
- else if (E3 === "%GeneratorFunction%")
9170
+ else if (D3 === "%GeneratorFunction%")
9171
9171
  b = w("function* () {}");
9172
- else if (E3 === "%AsyncGeneratorFunction%")
9172
+ else if (D3 === "%AsyncGeneratorFunction%")
9173
9173
  b = w("async function* () {}");
9174
- else if (E3 === "%AsyncGenerator%") {
9174
+ else if (D3 === "%AsyncGenerator%") {
9175
9175
  var x = R("%AsyncGeneratorFunction%");
9176
9176
  x && (b = x.prototype);
9177
- } else if (E3 === "%AsyncIteratorPrototype%") {
9177
+ } else if (D3 === "%AsyncIteratorPrototype%") {
9178
9178
  var _ = R("%AsyncGenerator%");
9179
9179
  _ && q && (b = q(_.prototype));
9180
9180
  }
9181
- return ce2[E3] = b, b;
9181
+ return ce2[D3] = b, b;
9182
9182
  }, Y = {
9183
9183
  __proto__: null,
9184
9184
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
@@ -9232,38 +9232,38 @@
9232
9232
  "%URIErrorPrototype%": ["URIError", "prototype"],
9233
9233
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
9234
9234
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
9235
- }, de2 = Kt$2(), J3 = Yo$2(), te2 = de2.call(oe2, Array.prototype.concat), ie = de2.call(K3, Array.prototype.splice), L3 = de2.call(oe2, String.prototype.replace), j = de2.call(oe2, String.prototype.slice), V = de2.call(oe2, RegExp.prototype.exec), $3 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, P3 = /\\(\\)?/g, p3 = function(E3) {
9236
- var b = j(E3, 0, 1), x = j(E3, -1);
9235
+ }, de2 = Kt$2(), J3 = Yo$2(), te2 = de2.call(oe2, Array.prototype.concat), ie = de2.call(K3, Array.prototype.splice), L3 = de2.call(oe2, String.prototype.replace), j = de2.call(oe2, String.prototype.slice), V = de2.call(oe2, RegExp.prototype.exec), $3 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, P3 = /\\(\\)?/g, p3 = function(D3) {
9236
+ var b = j(D3, 0, 1), x = j(D3, -1);
9237
9237
  if (b === "%" && x !== "%")
9238
9238
  throw new o("invalid intrinsic syntax, expected closing `%`");
9239
9239
  if (x === "%" && b !== "%")
9240
9240
  throw new o("invalid intrinsic syntax, expected opening `%`");
9241
9241
  var _ = [];
9242
- return L3(E3, $3, function(W, re2, X3, ne) {
9242
+ return L3(D3, $3, function(W, re2, X3, ne) {
9243
9243
  _[_.length] = X3 ? L3(ne, P3, "$1") : re2 || W;
9244
9244
  }), _;
9245
- }, m = function(E3, b) {
9246
- var x = E3, _;
9245
+ }, m = function(D3, b) {
9246
+ var x = D3, _;
9247
9247
  if (J3(Y, x) && (_ = Y[x], x = "%" + _[0] + "%"), J3(ce2, x)) {
9248
9248
  var W = ce2[x];
9249
9249
  if (W === ee && (W = se(x)), typeof W > "u" && !b)
9250
- throw new a("intrinsic " + E3 + " exists, but is not available. Please file an issue!");
9250
+ throw new a("intrinsic " + D3 + " exists, but is not available. Please file an issue!");
9251
9251
  return {
9252
9252
  alias: _,
9253
9253
  name: x,
9254
9254
  value: W
9255
9255
  };
9256
9256
  }
9257
- throw new o("intrinsic " + E3 + " does not exist!");
9257
+ throw new o("intrinsic " + D3 + " does not exist!");
9258
9258
  };
9259
- return wn$3 = function(E3, b) {
9260
- if (typeof E3 != "string" || E3.length === 0)
9259
+ return wn$3 = function(D3, b) {
9260
+ if (typeof D3 != "string" || D3.length === 0)
9261
9261
  throw new a("intrinsic name must be a non-empty string");
9262
9262
  if (arguments.length > 1 && typeof b != "boolean")
9263
9263
  throw new a('"allowMissing" argument must be a boolean');
9264
- if (V(/^%?[^%]*%?$/, E3) === null)
9264
+ if (V(/^%?[^%]*%?$/, D3) === null)
9265
9265
  throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
9266
- var x = p3(E3), _ = x.length > 0 ? x[0] : "", W = m("%" + _ + "%", b), re2 = W.name, X3 = W.value, ne = false, ye2 = W.alias;
9266
+ var x = p3(D3), _ = x.length > 0 ? x[0] : "", W = m("%" + _ + "%", b), re2 = W.name, X3 = W.value, ne = false, ye2 = W.alias;
9267
9267
  ye2 && (_ = ye2[0], ie(x, te2([0, 1], ye2)));
9268
9268
  for (var z = 1, Be2 = true; z < x.length; z += 1) {
9269
9269
  var Fe2 = x[z], He2 = j(Fe2, 0, 1), ze2 = j(Fe2, -1);
@@ -9274,7 +9274,7 @@
9274
9274
  else if (X3 != null) {
9275
9275
  if (!(Fe2 in X3)) {
9276
9276
  if (!b)
9277
- throw new a("base intrinsic for " + E3 + " exists, but the property is not available.");
9277
+ throw new a("base intrinsic for " + D3 + " exists, but the property is not available.");
9278
9278
  return;
9279
9279
  }
9280
9280
  if (k && z + 1 >= x.length) {
@@ -9774,10 +9774,10 @@
9774
9774
  return n(z) === "Float32Array";
9775
9775
  }
9776
9776
  r22.isFloat32Array = H3;
9777
- function D3(z) {
9777
+ function E3(z) {
9778
9778
  return n(z) === "Float64Array";
9779
9779
  }
9780
- r22.isFloat64Array = D3;
9780
+ r22.isFloat64Array = E3;
9781
9781
  function K3(z) {
9782
9782
  return n(z) === "BigInt64Array";
9783
9783
  }
@@ -9854,10 +9854,10 @@
9854
9854
  return u(z) === "[object Set Iterator]";
9855
9855
  }
9856
9856
  r22.isSetIterator = R;
9857
- function E3(z) {
9857
+ function D3(z) {
9858
9858
  return u(z) === "[object Generator]";
9859
9859
  }
9860
- r22.isGeneratorObject = E3;
9860
+ r22.isGeneratorObject = D3;
9861
9861
  function b(z) {
9862
9862
  return u(z) === "[object WebAssembly.Module]";
9863
9863
  }
@@ -9937,7 +9937,7 @@
9937
9937
  return R;
9938
9938
  }
9939
9939
  }), m = $3[V]; V < P3; m = $3[++V])
9940
- k(m) || !D3(m) ? p3 += " " + m : p3 += " " + o(m);
9940
+ k(m) || !E3(m) ? p3 += " " + m : p3 += " " + o(m);
9941
9941
  return p3;
9942
9942
  }, r22.deprecate = function(L3, j) {
9943
9943
  if (typeof he$2 < "u" && he$2.noDeprecation === true)
@@ -10045,20 +10045,20 @@
10045
10045
  if (oe2(j))
10046
10046
  return g(j);
10047
10047
  }
10048
- var E3 = "", b = false, x = ["{", "}"];
10048
+ var D3 = "", b = false, x = ["{", "}"];
10049
10049
  if (B(j) && (b = true, x = ["[", "]"]), ee(j)) {
10050
10050
  var _ = j.name ? ": " + j.name : "";
10051
- E3 = " [Function" + _ + "]";
10051
+ D3 = " [Function" + _ + "]";
10052
10052
  }
10053
- if (H3(j) && (E3 = " " + RegExp.prototype.toString.call(j)), K3(j) && (E3 = " " + Date.prototype.toUTCString.call(j)), oe2(j) && (E3 = " " + g(j)), p3.length === 0 && (!b || j.length == 0))
10054
- return x[0] + E3 + x[1];
10053
+ if (H3(j) && (D3 = " " + RegExp.prototype.toString.call(j)), K3(j) && (D3 = " " + Date.prototype.toUTCString.call(j)), oe2(j) && (D3 = " " + g(j)), p3.length === 0 && (!b || j.length == 0))
10054
+ return x[0] + D3 + x[1];
10055
10055
  if (V < 0)
10056
10056
  return H3(j) ? L3.stylize(RegExp.prototype.toString.call(j), "regexp") : L3.stylize("[Object]", "special");
10057
10057
  L3.seen.push(j);
10058
10058
  var W;
10059
10059
  return b ? W = S(L3, j, V, m, p3) : W = p3.map(function(re2) {
10060
10060
  return T3(L3, j, V, m, re2, b);
10061
- }), L3.seen.pop(), A(W, E3, x);
10061
+ }), L3.seen.pop(), A(W, D3, x);
10062
10062
  }
10063
10063
  function h3(L3, j) {
10064
10064
  if (q(j))
@@ -10087,20 +10087,20 @@
10087
10087
  String(m),
10088
10088
  true
10089
10089
  )) : p3.push("");
10090
- return P3.forEach(function(E3) {
10091
- E3.match(/^\d+$/) || p3.push(T3(
10090
+ return P3.forEach(function(D3) {
10091
+ D3.match(/^\d+$/) || p3.push(T3(
10092
10092
  L3,
10093
10093
  j,
10094
10094
  V,
10095
10095
  $3,
10096
- E3,
10096
+ D3,
10097
10097
  true
10098
10098
  ));
10099
10099
  }), p3;
10100
10100
  }
10101
10101
  function T3(L3, j, V, $3, P3, p3) {
10102
- var m, R, E3;
10103
- if (E3 = Object.getOwnPropertyDescriptor(j, P3) || { value: j[P3] }, E3.get ? E3.set ? R = L3.stylize("[Getter/Setter]", "special") : R = L3.stylize("[Getter]", "special") : E3.set && (R = L3.stylize("[Setter]", "special")), de2($3, P3) || (m = "[" + P3 + "]"), R || (L3.seen.indexOf(E3.value) < 0 ? (k(V) ? R = c3(L3, E3.value, null) : R = c3(L3, E3.value, V - 1), R.indexOf(`
10102
+ var m, R, D3;
10103
+ if (D3 = Object.getOwnPropertyDescriptor(j, P3) || { value: j[P3] }, D3.get ? D3.set ? R = L3.stylize("[Getter/Setter]", "special") : R = L3.stylize("[Getter]", "special") : D3.set && (R = L3.stylize("[Setter]", "special")), de2($3, P3) || (m = "[" + P3 + "]"), R || (L3.seen.indexOf(D3.value) < 0 ? (k(V) ? R = c3(L3, D3.value, null) : R = c3(L3, D3.value, V - 1), R.indexOf(`
10104
10104
  `) > -1 && (p3 ? R = R.split(`
10105
10105
  `).map(function(b) {
10106
10106
  return " " + b;
@@ -10160,19 +10160,19 @@
10160
10160
  }
10161
10161
  r22.isUndefined = q;
10162
10162
  function H3(L3) {
10163
- return D3(L3) && ce2(L3) === "[object RegExp]";
10163
+ return E3(L3) && ce2(L3) === "[object RegExp]";
10164
10164
  }
10165
10165
  r22.isRegExp = H3, r22.types.isRegExp = H3;
10166
- function D3(L3) {
10166
+ function E3(L3) {
10167
10167
  return typeof L3 == "object" && L3 !== null;
10168
10168
  }
10169
- r22.isObject = D3;
10169
+ r22.isObject = E3;
10170
10170
  function K3(L3) {
10171
- return D3(L3) && ce2(L3) === "[object Date]";
10171
+ return E3(L3) && ce2(L3) === "[object Date]";
10172
10172
  }
10173
10173
  r22.isDate = K3, r22.types.isDate = K3;
10174
10174
  function oe2(L3) {
10175
- return D3(L3) && (ce2(L3) === "[object Error]" || L3 instanceof Error);
10175
+ return E3(L3) && (ce2(L3) === "[object Error]" || L3 instanceof Error);
10176
10176
  }
10177
10177
  r22.isError = oe2, r22.types.isNativeError = oe2;
10178
10178
  function ee(L3) {
@@ -10215,7 +10215,7 @@
10215
10215
  r22.log = function() {
10216
10216
  console.log("%s - %s", Y(), r22.format.apply(r22, arguments));
10217
10217
  }, r22.inherits = wt$1(), r22._extend = function(L3, j) {
10218
- if (!j || !D3(j)) return L3;
10218
+ if (!j || !E3(j)) return L3;
10219
10219
  for (var V = Object.keys(j), $3 = V.length; $3--; )
10220
10220
  L3[V[$3]] = j[V[$3]];
10221
10221
  return L3;
@@ -10239,17 +10239,17 @@
10239
10239
  }), V;
10240
10240
  }
10241
10241
  function V() {
10242
- for (var $3, P3, p3 = new Promise(function(E3, b) {
10243
- $3 = E3, P3 = b;
10242
+ for (var $3, P3, p3 = new Promise(function(D3, b) {
10243
+ $3 = D3, P3 = b;
10244
10244
  }), m = [], R = 0; R < arguments.length; R++)
10245
10245
  m.push(arguments[R]);
10246
- m.push(function(E3, b) {
10247
- E3 ? P3(E3) : $3(b);
10246
+ m.push(function(D3, b) {
10247
+ D3 ? P3(D3) : $3(b);
10248
10248
  });
10249
10249
  try {
10250
10250
  j.apply(this, m);
10251
- } catch (E3) {
10252
- P3(E3);
10251
+ } catch (D3) {
10252
+ P3(D3);
10253
10253
  }
10254
10254
  return p3;
10255
10255
  }
@@ -10638,8 +10638,8 @@
10638
10638
  function N3(P3, p3, m) {
10639
10639
  e = e || Ct$3(), P3 = P3 || {}, typeof m != "boolean" && (m = p3 instanceof e), this.objectMode = !!P3.objectMode, m && (this.objectMode = this.objectMode || !!P3.writableObjectMode), this.highWaterMark = c3(this, P3, "writableHighWaterMark", m), this.finalCalled = false, this.needDrain = false, this.ending = false, this.ended = false, this.finished = false, this.destroyed = false;
10640
10640
  var R = P3.decodeStrings === false;
10641
- this.decodeStrings = !R, this.defaultEncoding = P3.defaultEncoding || "utf8", this.length = 0, this.writing = false, this.corked = 0, this.sync = true, this.bufferProcessing = false, this.onwrite = function(E3) {
10642
- se(p3, E3);
10641
+ this.decodeStrings = !R, this.defaultEncoding = P3.defaultEncoding || "utf8", this.length = 0, this.writing = false, this.corked = 0, this.sync = true, this.bufferProcessing = false, this.onwrite = function(D3) {
10642
+ se(p3, D3);
10643
10643
  }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = false, this.errorEmitted = false, this.emitClose = P3.emitClose !== false, this.autoDestroy = !!P3.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new r22(this);
10644
10644
  }
10645
10645
  N3.prototype.getBuffer = function() {
@@ -10673,17 +10673,17 @@
10673
10673
  H3.prototype.pipe = function() {
10674
10674
  C(this, new A());
10675
10675
  };
10676
- function D3(P3, p3) {
10676
+ function E3(P3, p3) {
10677
10677
  var m = new k();
10678
10678
  C(P3, m), he$2.nextTick(p3, m);
10679
10679
  }
10680
10680
  function K3(P3, p3, m, R) {
10681
- var E3;
10682
- return m === null ? E3 = new w() : typeof m != "string" && !p3.objectMode && (E3 = new g("chunk", ["string", "Buffer"], m)), E3 ? (C(P3, E3), he$2.nextTick(R, E3), false) : true;
10681
+ var D3;
10682
+ return m === null ? D3 = new w() : typeof m != "string" && !p3.objectMode && (D3 = new g("chunk", ["string", "Buffer"], m)), D3 ? (C(P3, D3), he$2.nextTick(R, D3), false) : true;
10683
10683
  }
10684
10684
  H3.prototype.write = function(P3, p3, m) {
10685
- var R = this._writableState, E3 = false, b = !R.objectMode && a(P3);
10686
- return b && !i3.isBuffer(P3) && (P3 = o(P3)), typeof p3 == "function" && (m = p3, p3 = null), b ? p3 = "buffer" : p3 || (p3 = R.defaultEncoding), typeof m != "function" && (m = F3), R.ending ? D3(this, m) : (b || K3(this, R, P3, m)) && (R.pendingcb++, E3 = ee(this, R, b, P3, p3, m)), E3;
10685
+ var R = this._writableState, D3 = false, b = !R.objectMode && a(P3);
10686
+ return b && !i3.isBuffer(P3) && (P3 = o(P3)), typeof p3 == "function" && (m = p3, p3 = null), b ? p3 = "buffer" : p3 || (p3 = R.defaultEncoding), typeof m != "function" && (m = F3), R.ending ? E3(this, m) : (b || K3(this, R, P3, m)) && (R.pendingcb++, D3 = ee(this, R, b, P3, p3, m)), D3;
10687
10687
  }, H3.prototype.cork = function() {
10688
10688
  this._writableState.corked++;
10689
10689
  }, H3.prototype.uncork = function() {
@@ -10713,10 +10713,10 @@
10713
10713
  return this._writableState.highWaterMark;
10714
10714
  }
10715
10715
  });
10716
- function ee(P3, p3, m, R, E3, b) {
10716
+ function ee(P3, p3, m, R, D3, b) {
10717
10717
  if (!m) {
10718
- var x = oe2(p3, R, E3);
10719
- R !== x && (m = true, E3 = "buffer", R = x);
10718
+ var x = oe2(p3, R, D3);
10719
+ R !== x && (m = true, D3 = "buffer", R = x);
10720
10720
  }
10721
10721
  var _ = p3.objectMode ? 1 : R.length;
10722
10722
  p3.length += _;
@@ -10725,31 +10725,31 @@
10725
10725
  var re2 = p3.lastBufferedRequest;
10726
10726
  p3.lastBufferedRequest = {
10727
10727
  chunk: R,
10728
- encoding: E3,
10728
+ encoding: D3,
10729
10729
  isBuf: m,
10730
10730
  callback: b,
10731
10731
  next: null
10732
10732
  }, re2 ? re2.next = p3.lastBufferedRequest : p3.bufferedRequest = p3.lastBufferedRequest, p3.bufferedRequestCount += 1;
10733
10733
  } else
10734
- Q3(P3, p3, false, _, R, E3, b);
10734
+ Q3(P3, p3, false, _, R, D3, b);
10735
10735
  return W;
10736
10736
  }
10737
- function Q3(P3, p3, m, R, E3, b, x) {
10738
- p3.writelen = R, p3.writecb = x, p3.writing = true, p3.sync = true, p3.destroyed ? p3.onwrite(new B("write")) : m ? P3._writev(E3, p3.onwrite) : P3._write(E3, b, p3.onwrite), p3.sync = false;
10737
+ function Q3(P3, p3, m, R, D3, b, x) {
10738
+ p3.writelen = R, p3.writecb = x, p3.writing = true, p3.sync = true, p3.destroyed ? p3.onwrite(new B("write")) : m ? P3._writev(D3, p3.onwrite) : P3._write(D3, b, p3.onwrite), p3.sync = false;
10739
10739
  }
10740
- function ce2(P3, p3, m, R, E3) {
10741
- --p3.pendingcb, m ? (he$2.nextTick(E3, R), he$2.nextTick(j, P3, p3), P3._writableState.errorEmitted = true, C(P3, R)) : (E3(R), P3._writableState.errorEmitted = true, C(P3, R), j(P3, p3));
10740
+ function ce2(P3, p3, m, R, D3) {
10741
+ --p3.pendingcb, m ? (he$2.nextTick(D3, R), he$2.nextTick(j, P3, p3), P3._writableState.errorEmitted = true, C(P3, R)) : (D3(R), P3._writableState.errorEmitted = true, C(P3, R), j(P3, p3));
10742
10742
  }
10743
10743
  function ae2(P3) {
10744
10744
  P3.writing = false, P3.writecb = null, P3.length -= P3.writelen, P3.writelen = 0;
10745
10745
  }
10746
10746
  function se(P3, p3) {
10747
- var m = P3._writableState, R = m.sync, E3 = m.writecb;
10748
- if (typeof E3 != "function") throw new T3();
10749
- if (ae2(m), p3) ce2(P3, m, R, p3, E3);
10747
+ var m = P3._writableState, R = m.sync, D3 = m.writecb;
10748
+ if (typeof D3 != "function") throw new T3();
10749
+ if (ae2(m), p3) ce2(P3, m, R, p3, D3);
10750
10750
  else {
10751
10751
  var b = te2(m) || P3.destroyed;
10752
- !b && !m.corked && !m.bufferProcessing && m.bufferedRequest && J3(P3, m), R ? he$2.nextTick(Y, P3, m, b, E3) : Y(P3, m, b, E3);
10752
+ !b && !m.corked && !m.bufferProcessing && m.bufferedRequest && J3(P3, m), R ? he$2.nextTick(Y, P3, m, b, D3) : Y(P3, m, b, D3);
10753
10753
  }
10754
10754
  }
10755
10755
  function Y(P3, p3, m, R) {
@@ -10762,11 +10762,11 @@
10762
10762
  p3.bufferProcessing = true;
10763
10763
  var m = p3.bufferedRequest;
10764
10764
  if (P3._writev && m && m.next) {
10765
- var R = p3.bufferedRequestCount, E3 = new Array(R), b = p3.corkedRequestsFree;
10765
+ var R = p3.bufferedRequestCount, D3 = new Array(R), b = p3.corkedRequestsFree;
10766
10766
  b.entry = m;
10767
10767
  for (var x = 0, _ = true; m; )
10768
- E3[x] = m, m.isBuf || (_ = false), m = m.next, x += 1;
10769
- E3.allBuffers = _, Q3(P3, p3, true, p3.length, E3, "", b.finish), p3.pendingcb++, p3.lastBufferedRequest = null, b.next ? (p3.corkedRequestsFree = b.next, b.next = null) : p3.corkedRequestsFree = new r22(p3), p3.bufferedRequestCount = 0;
10768
+ D3[x] = m, m.isBuf || (_ = false), m = m.next, x += 1;
10769
+ D3.allBuffers = _, Q3(P3, p3, true, p3.length, D3, "", b.finish), p3.pendingcb++, p3.lastBufferedRequest = null, b.next ? (p3.corkedRequestsFree = b.next, b.next = null) : p3.corkedRequestsFree = new r22(p3), p3.bufferedRequestCount = 0;
10770
10770
  } else {
10771
10771
  for (; m; ) {
10772
10772
  var W = m.chunk, re2 = m.encoding, X3 = m.callback, ne = p3.objectMode ? 1 : W.length;
@@ -10816,8 +10816,8 @@
10816
10816
  function $3(P3, p3, m) {
10817
10817
  var R = P3.entry;
10818
10818
  for (P3.entry = null; R; ) {
10819
- var E3 = R.callback;
10820
- p3.pendingcb--, E3(m), R = R.next;
10819
+ var D3 = R.callback;
10820
+ p3.pendingcb--, D3(m), R = R.next;
10821
10821
  }
10822
10822
  p3.corkedRequestsFree.next = P3;
10823
10823
  }
@@ -11199,9 +11199,9 @@
11199
11199
  if (this[u])
11200
11200
  return Promise.resolve(g(void 0, true));
11201
11201
  if (this[h3].destroyed)
11202
- return new Promise(function(D3, K3) {
11202
+ return new Promise(function(E3, K3) {
11203
11203
  he$2.nextTick(function() {
11204
- C[a] ? K3(C[a]) : D3(g(void 0, true));
11204
+ C[a] ? K3(C[a]) : E3(g(void 0, true));
11205
11205
  });
11206
11206
  });
11207
11207
  var N3 = this[f3], q;
@@ -11245,9 +11245,9 @@
11245
11245
  value: C._readableState.endEmitted,
11246
11246
  writable: true
11247
11247
  }), e(F3, c3, {
11248
- value: function(H3, D3) {
11248
+ value: function(H3, E3) {
11249
11249
  var K3 = N3[h3].read();
11250
- K3 ? (N3[f3] = null, N3[s] = null, N3[o] = null, H3(g(K3, false))) : (N3[s] = H3, N3[o] = D3);
11250
+ K3 ? (N3[f3] = null, N3[s] = null, N3[o] = null, H3(g(K3, false))) : (N3[s] = H3, N3[o] = E3);
11251
11251
  },
11252
11252
  writable: true
11253
11253
  }), F3));
@@ -11257,8 +11257,8 @@
11257
11257
  H3 !== null && (N3[f3] = null, N3[s] = null, N3[o] = null, H3(q)), N3[a] = q;
11258
11258
  return;
11259
11259
  }
11260
- var D3 = N3[s];
11261
- D3 !== null && (N3[f3] = null, N3[s] = null, N3[o] = null, D3(g(void 0, true))), N3[u] = true;
11260
+ var E3 = N3[s];
11261
+ E3 !== null && (N3[f3] = null, N3[s] = null, N3[o] = null, E3(g(void 0, true))), N3[u] = true;
11262
11262
  }), C.on("readable", T3.bind(null, N3)), N3;
11263
11263
  };
11264
11264
  return zn$3 = k, zn$3;
@@ -11272,9 +11272,9 @@
11272
11272
  var Wn$2, Ys$1;
11273
11273
  function ia$2() {
11274
11274
  if (Ys$1) return Wn$2;
11275
- Ys$1 = 1, Wn$2 = D3;
11275
+ Ys$1 = 1, Wn$2 = E3;
11276
11276
  var r22;
11277
- D3.ReadableState = H3, yi$2().EventEmitter;
11277
+ E3.ReadableState = H3, yi$2().EventEmitter;
11278
11278
  var e = function(x, _) {
11279
11279
  return x.listeners(_).length;
11280
11280
  }, t = zo$2(), n = Dr$1.Buffer, i3 = (typeof We$2 < "u" ? We$2 : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
@@ -11289,7 +11289,7 @@
11289
11289
  a && a.debuglog ? u = a.debuglog("stream") : u = function() {
11290
11290
  };
11291
11291
  var f3 = zl$2(), c3 = ta$1(), h3 = ra$2(), g = h3.getHighWaterMark, S = Rt$3().codes, T3 = S.ERR_INVALID_ARG_TYPE, A = S.ERR_STREAM_PUSH_AFTER_EOF, B = S.ERR_METHOD_NOT_IMPLEMENTED, w = S.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, k, I3, C;
11292
- wt$1()(D3, t);
11292
+ wt$1()(E3, t);
11293
11293
  var F3 = c3.errorOrDestroy, N3 = ["error", "close", "destroy", "pause", "resume"];
11294
11294
  function q(b, x, _) {
11295
11295
  if (typeof b.prependListener == "function") return b.prependListener(x, _);
@@ -11298,12 +11298,12 @@
11298
11298
  function H3(b, x, _) {
11299
11299
  r22 = r22 || Ct$3(), b = b || {}, typeof _ != "boolean" && (_ = x instanceof r22), this.objectMode = !!b.objectMode, _ && (this.objectMode = this.objectMode || !!b.readableObjectMode), this.highWaterMark = g(this, b, "readableHighWaterMark", _), this.buffer = new f3(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = false, this.endEmitted = false, this.reading = false, this.sync = true, this.needReadable = false, this.emittedReadable = false, this.readableListening = false, this.resumeScheduled = false, this.paused = true, this.emitClose = b.emitClose !== false, this.autoDestroy = !!b.autoDestroy, this.destroyed = false, this.defaultEncoding = b.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = false, this.decoder = null, this.encoding = null, b.encoding && (k || (k = ui$2().StringDecoder), this.decoder = new k(b.encoding), this.encoding = b.encoding);
11300
11300
  }
11301
- function D3(b) {
11302
- if (r22 = r22 || Ct$3(), !(this instanceof D3)) return new D3(b);
11301
+ function E3(b) {
11302
+ if (r22 = r22 || Ct$3(), !(this instanceof E3)) return new E3(b);
11303
11303
  var x = this instanceof r22;
11304
11304
  this._readableState = new H3(b, this, x), this.readable = true, b && (typeof b.read == "function" && (this._read = b.read), typeof b.destroy == "function" && (this._destroy = b.destroy)), t.call(this);
11305
11305
  }
11306
- Object.defineProperty(D3.prototype, "destroyed", {
11306
+ Object.defineProperty(E3.prototype, "destroyed", {
11307
11307
  // making it explicit this property is not enumerable
11308
11308
  // because otherwise some prototype manipulation in
11309
11309
  // userland will fail
@@ -11314,12 +11314,12 @@
11314
11314
  set: function(x) {
11315
11315
  this._readableState && (this._readableState.destroyed = x);
11316
11316
  }
11317
- }), D3.prototype.destroy = c3.destroy, D3.prototype._undestroy = c3.undestroy, D3.prototype._destroy = function(b, x) {
11317
+ }), E3.prototype.destroy = c3.destroy, E3.prototype._undestroy = c3.undestroy, E3.prototype._destroy = function(b, x) {
11318
11318
  x(b);
11319
- }, D3.prototype.push = function(b, x) {
11319
+ }, E3.prototype.push = function(b, x) {
11320
11320
  var _ = this._readableState, W;
11321
11321
  return _.objectMode ? W = true : typeof b == "string" && (x = x || _.defaultEncoding, x !== _.encoding && (b = n.from(b, x), x = ""), W = true), K3(this, b, x, false, W);
11322
- }, D3.prototype.unshift = function(b) {
11322
+ }, E3.prototype.unshift = function(b) {
11323
11323
  return K3(this, b, null, true, false);
11324
11324
  };
11325
11325
  function K3(b, x, _, W, re2) {
@@ -11352,9 +11352,9 @@
11352
11352
  var _;
11353
11353
  return !o(x) && typeof x != "string" && x !== void 0 && !b.objectMode && (_ = new T3("chunk", ["string", "Buffer", "Uint8Array"], x)), _;
11354
11354
  }
11355
- D3.prototype.isPaused = function() {
11355
+ E3.prototype.isPaused = function() {
11356
11356
  return this._readableState.flowing === false;
11357
- }, D3.prototype.setEncoding = function(b) {
11357
+ }, E3.prototype.setEncoding = function(b) {
11358
11358
  k || (k = ui$2().StringDecoder);
11359
11359
  var x = new k(b);
11360
11360
  this._readableState.decoder = x, this._readableState.encoding = this._readableState.decoder.encoding;
@@ -11369,7 +11369,7 @@
11369
11369
  function ae2(b, x) {
11370
11370
  return b <= 0 || x.length === 0 && x.ended ? 0 : x.objectMode ? 1 : b !== b ? x.flowing && x.length ? x.buffer.head.data.length : x.length : (b > x.highWaterMark && (x.highWaterMark = ce2(b)), b <= x.length ? b : x.ended ? x.length : (x.needReadable = true, 0));
11371
11371
  }
11372
- D3.prototype.read = function(b) {
11372
+ E3.prototype.read = function(b) {
11373
11373
  u("read", b), b = parseInt(b, 10);
11374
11374
  var x = this._readableState, _ = b;
11375
11375
  if (b !== 0 && (x.emittedReadable = false), b === 0 && x.needReadable && ((x.highWaterMark !== 0 ? x.length >= x.highWaterMark : x.length > 0) || x.ended))
@@ -11409,9 +11409,9 @@
11409
11409
  }
11410
11410
  x.readingMore = false;
11411
11411
  }
11412
- D3.prototype._read = function(b) {
11412
+ E3.prototype._read = function(b) {
11413
11413
  F3(this, new B("_read()"));
11414
- }, D3.prototype.pipe = function(b, x) {
11414
+ }, E3.prototype.pipe = function(b, x) {
11415
11415
  var _ = this, W = this._readableState;
11416
11416
  switch (W.pipesCount) {
11417
11417
  case 0:
@@ -11443,7 +11443,7 @@
11443
11443
  function He2(lt2) {
11444
11444
  u("ondata");
11445
11445
  var Le2 = b.write(lt2);
11446
- u("dest.write", Le2), Le2 === false && ((W.pipesCount === 1 && W.pipes === b || W.pipesCount > 1 && E3(W.pipes, b) !== -1) && !Be2 && (u("false write response, pause", W.awaitDrain), W.awaitDrain++), _.pause());
11446
+ u("dest.write", Le2), Le2 === false && ((W.pipesCount === 1 && W.pipes === b || W.pipesCount > 1 && D3(W.pipes, b) !== -1) && !Be2 && (u("false write response, pause", W.awaitDrain), W.awaitDrain++), _.pause());
11447
11447
  }
11448
11448
  function ze2(lt2) {
11449
11449
  u("onerror", lt2), st2(), b.removeListener("error", ze2), e(b, "error") === 0 && F3(b, lt2);
@@ -11468,7 +11468,7 @@
11468
11468
  u("pipeOnDrain", _.awaitDrain), _.awaitDrain && _.awaitDrain--, _.awaitDrain === 0 && e(b, "data") && (_.flowing = true, P3(b));
11469
11469
  };
11470
11470
  }
11471
- D3.prototype.unpipe = function(b) {
11471
+ E3.prototype.unpipe = function(b) {
11472
11472
  var x = this._readableState, _ = {
11473
11473
  hasUnpiped: false
11474
11474
  };
@@ -11483,15 +11483,15 @@
11483
11483
  });
11484
11484
  return this;
11485
11485
  }
11486
- var ne = E3(x.pipes, b);
11486
+ var ne = D3(x.pipes, b);
11487
11487
  return ne === -1 ? this : (x.pipes.splice(ne, 1), x.pipesCount -= 1, x.pipesCount === 1 && (x.pipes = x.pipes[0]), b.emit("unpipe", this, _), this);
11488
- }, D3.prototype.on = function(b, x) {
11488
+ }, E3.prototype.on = function(b, x) {
11489
11489
  var _ = t.prototype.on.call(this, b, x), W = this._readableState;
11490
11490
  return b === "data" ? (W.readableListening = this.listenerCount("readable") > 0, W.flowing !== false && this.resume()) : b === "readable" && !W.endEmitted && !W.readableListening && (W.readableListening = W.needReadable = true, W.flowing = false, W.emittedReadable = false, u("on readable", W.length, W.reading), W.length ? Y(this) : W.reading || he$2.nextTick(j, this)), _;
11491
- }, D3.prototype.addListener = D3.prototype.on, D3.prototype.removeListener = function(b, x) {
11491
+ }, E3.prototype.addListener = E3.prototype.on, E3.prototype.removeListener = function(b, x) {
11492
11492
  var _ = t.prototype.removeListener.call(this, b, x);
11493
11493
  return b === "readable" && he$2.nextTick(L3, this), _;
11494
- }, D3.prototype.removeAllListeners = function(b) {
11494
+ }, E3.prototype.removeAllListeners = function(b) {
11495
11495
  var x = t.prototype.removeAllListeners.apply(this, arguments);
11496
11496
  return (b === "readable" || b === void 0) && he$2.nextTick(L3, this), x;
11497
11497
  };
@@ -11502,7 +11502,7 @@
11502
11502
  function j(b) {
11503
11503
  u("readable nexttick read 0"), b.read(0);
11504
11504
  }
11505
- D3.prototype.resume = function() {
11505
+ E3.prototype.resume = function() {
11506
11506
  var b = this._readableState;
11507
11507
  return b.flowing || (u("resume"), b.flowing = !b.readableListening, V(this, b)), b.paused = false, this;
11508
11508
  };
@@ -11512,14 +11512,14 @@
11512
11512
  function $3(b, x) {
11513
11513
  u("resume", x.reading), x.reading || b.read(0), x.resumeScheduled = false, b.emit("resume"), P3(b), x.flowing && !x.reading && b.read(0);
11514
11514
  }
11515
- D3.prototype.pause = function() {
11515
+ E3.prototype.pause = function() {
11516
11516
  return u("call pause flowing=%j", this._readableState.flowing), this._readableState.flowing !== false && (u("pause"), this._readableState.flowing = false, this.emit("pause")), this._readableState.paused = true, this;
11517
11517
  };
11518
11518
  function P3(b) {
11519
11519
  var x = b._readableState;
11520
11520
  for (u("flow", x.flowing); x.flowing && b.read() !== null; ) ;
11521
11521
  }
11522
- D3.prototype.wrap = function(b) {
11522
+ E3.prototype.wrap = function(b) {
11523
11523
  var x = this, _ = this._readableState, W = false;
11524
11524
  b.on("end", function() {
11525
11525
  if (u("wrapped end"), _.decoder && !_.ended) {
@@ -11544,9 +11544,9 @@
11544
11544
  return this._read = function(ne) {
11545
11545
  u("wrapped _read", ne), W && (W = false, b.resume());
11546
11546
  }, this;
11547
- }, typeof Symbol == "function" && (D3.prototype[Symbol.asyncIterator] = function() {
11547
+ }, typeof Symbol == "function" && (E3.prototype[Symbol.asyncIterator] = function() {
11548
11548
  return I3 === void 0 && (I3 = Jl$1()), I3(this);
11549
- }), Object.defineProperty(D3.prototype, "readableHighWaterMark", {
11549
+ }), Object.defineProperty(E3.prototype, "readableHighWaterMark", {
11550
11550
  // making it explicit this property is not enumerable
11551
11551
  // because otherwise some prototype manipulation in
11552
11552
  // userland will fail
@@ -11554,7 +11554,7 @@
11554
11554
  get: function() {
11555
11555
  return this._readableState.highWaterMark;
11556
11556
  }
11557
- }), Object.defineProperty(D3.prototype, "readableBuffer", {
11557
+ }), Object.defineProperty(E3.prototype, "readableBuffer", {
11558
11558
  // making it explicit this property is not enumerable
11559
11559
  // because otherwise some prototype manipulation in
11560
11560
  // userland will fail
@@ -11562,7 +11562,7 @@
11562
11562
  get: function() {
11563
11563
  return this._readableState && this._readableState.buffer;
11564
11564
  }
11565
- }), Object.defineProperty(D3.prototype, "readableFlowing", {
11565
+ }), Object.defineProperty(E3.prototype, "readableFlowing", {
11566
11566
  // making it explicit this property is not enumerable
11567
11567
  // because otherwise some prototype manipulation in
11568
11568
  // userland will fail
@@ -11573,7 +11573,7 @@
11573
11573
  set: function(x) {
11574
11574
  this._readableState && (this._readableState.flowing = x);
11575
11575
  }
11576
- }), D3._fromList = p3, Object.defineProperty(D3.prototype, "readableLength", {
11576
+ }), E3._fromList = p3, Object.defineProperty(E3.prototype, "readableLength", {
11577
11577
  // making it explicit this property is not enumerable
11578
11578
  // because otherwise some prototype manipulation in
11579
11579
  // userland will fail
@@ -11597,10 +11597,10 @@
11597
11597
  (!_ || _.autoDestroy && _.finished) && x.destroy();
11598
11598
  }
11599
11599
  }
11600
- typeof Symbol == "function" && (D3.from = function(b, x) {
11601
- return C === void 0 && (C = Kl$2()), C(D3, b, x);
11600
+ typeof Symbol == "function" && (E3.from = function(b, x) {
11601
+ return C === void 0 && (C = Kl$2()), C(E3, b, x);
11602
11602
  });
11603
- function E3(b, x) {
11603
+ function D3(b, x) {
11604
11604
  for (var _ = 0, W = b.length; _ < W; _++)
11605
11605
  if (b[_] === x) return _;
11606
11606
  return -1;
@@ -11824,7 +11824,7 @@
11824
11824
  if (!(this instanceof n))
11825
11825
  return new n(p3, m);
11826
11826
  var R = this;
11827
- s(R), R.q = R.c = "", R.bufferCheckPosition = e.MAX_BUFFER_LENGTH, R.opt = m || {}, R.opt.lowercase = R.opt.lowercase || R.opt.lowercasetags, R.looseCase = R.opt.lowercase ? "toLowerCase" : "toUpperCase", R.tags = [], R.closed = R.closedRoot = R.sawRoot = false, R.tag = R.error = null, R.strict = !!p3, R.noscript = !!(p3 || R.opt.noscript), R.state = D3.BEGIN, R.strictEntities = R.opt.strictEntities, R.ENTITIES = R.strictEntities ? Object.create(e.XML_ENTITIES) : Object.create(e.ENTITIES), R.attribList = [], R.opt.xmlns && (R.ns = Object.create(A)), R.opt.unquotedAttributeValues === void 0 && (R.opt.unquotedAttributeValues = !p3), R.trackPosition = R.opt.position !== false, R.trackPosition && (R.position = R.line = R.column = 0), oe2(R, "onready");
11827
+ s(R), R.q = R.c = "", R.bufferCheckPosition = e.MAX_BUFFER_LENGTH, R.opt = m || {}, R.opt.lowercase = R.opt.lowercase || R.opt.lowercasetags, R.looseCase = R.opt.lowercase ? "toLowerCase" : "toUpperCase", R.tags = [], R.closed = R.closedRoot = R.sawRoot = false, R.tag = R.error = null, R.strict = !!p3, R.noscript = !!(p3 || R.opt.noscript), R.state = E3.BEGIN, R.strictEntities = R.opt.strictEntities, R.ENTITIES = R.strictEntities ? Object.create(e.XML_ENTITIES) : Object.create(e.ENTITIES), R.attribList = [], R.opt.xmlns && (R.ns = Object.create(A)), R.opt.unquotedAttributeValues === void 0 && (R.opt.unquotedAttributeValues = !p3), R.trackPosition = R.opt.position !== false, R.trackPosition && (R.position = R.line = R.column = 0), oe2(R, "onready");
11828
11828
  }
11829
11829
  Object.create || (Object.create = function(p3) {
11830
11830
  function m() {
@@ -11838,10 +11838,10 @@
11838
11838
  return m;
11839
11839
  });
11840
11840
  function i3(p3) {
11841
- for (var m = Math.max(e.MAX_BUFFER_LENGTH, 10), R = 0, E3 = 0, b = t.length; E3 < b; E3++) {
11842
- var x = p3[t[E3]].length;
11841
+ for (var m = Math.max(e.MAX_BUFFER_LENGTH, 10), R = 0, D3 = 0, b = t.length; D3 < b; D3++) {
11842
+ var x = p3[t[D3]].length;
11843
11843
  if (x > m)
11844
- switch (t[E3]) {
11844
+ switch (t[D3]) {
11845
11845
  case "textNode":
11846
11846
  Q3(p3);
11847
11847
  break;
@@ -11852,7 +11852,7 @@
11852
11852
  ee(p3, "onscript", p3.script), p3.script = "";
11853
11853
  break;
11854
11854
  default:
11855
- ae2(p3, "Max buffer length exceeded: " + t[E3]);
11855
+ ae2(p3, "Max buffer length exceeded: " + t[D3]);
11856
11856
  }
11857
11857
  R = Math.max(R, x);
11858
11858
  }
@@ -11903,17 +11903,17 @@
11903
11903
  var R = this;
11904
11904
  this._parser.onend = function() {
11905
11905
  R.emit("end");
11906
- }, this._parser.onerror = function(E3) {
11907
- R.emit("error", E3), R._parser.error = null;
11908
- }, this._decoder = null, u.forEach(function(E3) {
11909
- Object.defineProperty(R, "on" + E3, {
11906
+ }, this._parser.onerror = function(D3) {
11907
+ R.emit("error", D3), R._parser.error = null;
11908
+ }, this._decoder = null, u.forEach(function(D3) {
11909
+ Object.defineProperty(R, "on" + D3, {
11910
11910
  get: function() {
11911
- return R._parser["on" + E3];
11911
+ return R._parser["on" + D3];
11912
11912
  },
11913
11913
  set: function(b) {
11914
11914
  if (!b)
11915
- return R.removeAllListeners(E3), R._parser["on" + E3] = b, b;
11916
- R.on(E3, b);
11915
+ return R.removeAllListeners(D3), R._parser["on" + D3] = b, b;
11916
+ R.on(D3, b);
11917
11917
  },
11918
11918
  enumerable: true,
11919
11919
  configurable: false
@@ -11938,8 +11938,8 @@
11938
11938
  }, c3.prototype.on = function(p3, m) {
11939
11939
  var R = this;
11940
11940
  return !R._parser["on" + p3] && u.indexOf(p3) !== -1 && (R._parser["on" + p3] = function() {
11941
- var E3 = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
11942
- E3.splice(0, 0, p3), R.emit.apply(R, E3);
11941
+ var D3 = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
11942
+ D3.splice(0, 0, p3), R.emit.apply(R, D3);
11943
11943
  }), a.prototype.on.call(R, p3, m);
11944
11944
  };
11945
11945
  var h3 = "[CDATA[", g = "DOCTYPE", S = "http://www.w3.org/XML/1998/namespace", T3 = "http://www.w3.org/2000/xmlns/", A = { xml: S, xmlns: T3 }, B = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, w = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, k = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, I3 = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;
@@ -11959,79 +11959,79 @@
11959
11959
  function H3(p3, m) {
11960
11960
  return !q(p3, m);
11961
11961
  }
11962
- var D3 = 0;
11962
+ var E3 = 0;
11963
11963
  e.STATE = {
11964
- BEGIN: D3++,
11964
+ BEGIN: E3++,
11965
11965
  // leading byte order mark or whitespace
11966
- BEGIN_WHITESPACE: D3++,
11966
+ BEGIN_WHITESPACE: E3++,
11967
11967
  // leading whitespace
11968
- TEXT: D3++,
11968
+ TEXT: E3++,
11969
11969
  // general stuff
11970
- TEXT_ENTITY: D3++,
11970
+ TEXT_ENTITY: E3++,
11971
11971
  // &amp and such.
11972
- OPEN_WAKA: D3++,
11972
+ OPEN_WAKA: E3++,
11973
11973
  // <
11974
- SGML_DECL: D3++,
11974
+ SGML_DECL: E3++,
11975
11975
  // <!BLARG
11976
- SGML_DECL_QUOTED: D3++,
11976
+ SGML_DECL_QUOTED: E3++,
11977
11977
  // <!BLARG foo "bar
11978
- DOCTYPE: D3++,
11978
+ DOCTYPE: E3++,
11979
11979
  // <!DOCTYPE
11980
- DOCTYPE_QUOTED: D3++,
11980
+ DOCTYPE_QUOTED: E3++,
11981
11981
  // <!DOCTYPE "//blah
11982
- DOCTYPE_DTD: D3++,
11982
+ DOCTYPE_DTD: E3++,
11983
11983
  // <!DOCTYPE "//blah" [ ...
11984
- DOCTYPE_DTD_QUOTED: D3++,
11984
+ DOCTYPE_DTD_QUOTED: E3++,
11985
11985
  // <!DOCTYPE "//blah" [ "foo
11986
- COMMENT_STARTING: D3++,
11986
+ COMMENT_STARTING: E3++,
11987
11987
  // <!-
11988
- COMMENT: D3++,
11988
+ COMMENT: E3++,
11989
11989
  // <!--
11990
- COMMENT_ENDING: D3++,
11990
+ COMMENT_ENDING: E3++,
11991
11991
  // <!-- blah -
11992
- COMMENT_ENDED: D3++,
11992
+ COMMENT_ENDED: E3++,
11993
11993
  // <!-- blah --
11994
- CDATA: D3++,
11994
+ CDATA: E3++,
11995
11995
  // <![CDATA[ something
11996
- CDATA_ENDING: D3++,
11996
+ CDATA_ENDING: E3++,
11997
11997
  // ]
11998
- CDATA_ENDING_2: D3++,
11998
+ CDATA_ENDING_2: E3++,
11999
11999
  // ]]
12000
- PROC_INST: D3++,
12000
+ PROC_INST: E3++,
12001
12001
  // <?hi
12002
- PROC_INST_BODY: D3++,
12002
+ PROC_INST_BODY: E3++,
12003
12003
  // <?hi there
12004
- PROC_INST_ENDING: D3++,
12004
+ PROC_INST_ENDING: E3++,
12005
12005
  // <?hi "there" ?
12006
- OPEN_TAG: D3++,
12006
+ OPEN_TAG: E3++,
12007
12007
  // <strong
12008
- OPEN_TAG_SLASH: D3++,
12008
+ OPEN_TAG_SLASH: E3++,
12009
12009
  // <strong /
12010
- ATTRIB: D3++,
12010
+ ATTRIB: E3++,
12011
12011
  // <a
12012
- ATTRIB_NAME: D3++,
12012
+ ATTRIB_NAME: E3++,
12013
12013
  // <a foo
12014
- ATTRIB_NAME_SAW_WHITE: D3++,
12014
+ ATTRIB_NAME_SAW_WHITE: E3++,
12015
12015
  // <a foo _
12016
- ATTRIB_VALUE: D3++,
12016
+ ATTRIB_VALUE: E3++,
12017
12017
  // <a foo=
12018
- ATTRIB_VALUE_QUOTED: D3++,
12018
+ ATTRIB_VALUE_QUOTED: E3++,
12019
12019
  // <a foo="bar
12020
- ATTRIB_VALUE_CLOSED: D3++,
12020
+ ATTRIB_VALUE_CLOSED: E3++,
12021
12021
  // <a foo="bar"
12022
- ATTRIB_VALUE_UNQUOTED: D3++,
12022
+ ATTRIB_VALUE_UNQUOTED: E3++,
12023
12023
  // <a foo=bar
12024
- ATTRIB_VALUE_ENTITY_Q: D3++,
12024
+ ATTRIB_VALUE_ENTITY_Q: E3++,
12025
12025
  // <foo bar="&quot;"
12026
- ATTRIB_VALUE_ENTITY_U: D3++,
12026
+ ATTRIB_VALUE_ENTITY_U: E3++,
12027
12027
  // <foo bar=&quot
12028
- CLOSE_TAG: D3++,
12028
+ CLOSE_TAG: E3++,
12029
12029
  // </a
12030
- CLOSE_TAG_SAW_WHITE: D3++,
12030
+ CLOSE_TAG_SAW_WHITE: E3++,
12031
12031
  // </a >
12032
- SCRIPT: D3++,
12032
+ SCRIPT: E3++,
12033
12033
  // <script> ...
12034
- SCRIPT_ENDING: D3++
12034
+ SCRIPT_ENDING: E3++
12035
12035
  // <script> ... <
12036
12036
  }, e.XML_ENTITIES = {
12037
12037
  amp: "&",
@@ -12299,7 +12299,7 @@
12299
12299
  });
12300
12300
  for (var K3 in e.STATE)
12301
12301
  e.STATE[e.STATE[K3]] = K3;
12302
- D3 = e.STATE;
12302
+ E3 = e.STATE;
12303
12303
  function oe2(p3, m, R) {
12304
12304
  p3[m] && p3[m](R);
12305
12305
  }
@@ -12319,7 +12319,7 @@ Column: ` + p3.column + `
12319
12319
  Char: ` + p3.c), m = new Error(m), p3.error = m, oe2(p3, "onerror", m), p3;
12320
12320
  }
12321
12321
  function se(p3) {
12322
- return p3.sawRoot && !p3.closedRoot && Y(p3, "Unclosed root tag"), p3.state !== D3.BEGIN && p3.state !== D3.BEGIN_WHITESPACE && p3.state !== D3.TEXT && ae2(p3, "Unexpected end"), Q3(p3), p3.c = "", p3.closed = true, oe2(p3, "onend"), n.call(p3, p3.strict, p3.opt), p3;
12322
+ return p3.sawRoot && !p3.closedRoot && Y(p3, "Unclosed root tag"), p3.state !== E3.BEGIN && p3.state !== E3.BEGIN_WHITESPACE && p3.state !== E3.TEXT && ae2(p3, "Unexpected end"), Q3(p3), p3.c = "", p3.closed = true, oe2(p3, "onend"), n.call(p3, p3.strict, p3.opt), p3;
12323
12323
  }
12324
12324
  function Y(p3, m) {
12325
12325
  if (typeof p3 != "object" || !(p3 instanceof n))
@@ -12332,7 +12332,7 @@ Char: ` + p3.c), m = new Error(m), p3.error = m, oe2(p3, "onerror", m), p3;
12332
12332
  p3.opt.xmlns && (R.ns = m.ns), p3.attribList.length = 0, ee(p3, "onopentagstart", R);
12333
12333
  }
12334
12334
  function J3(p3, m) {
12335
- var R = p3.indexOf(":"), E3 = R < 0 ? ["", p3] : p3.split(":"), b = E3[0], x = E3[1];
12335
+ var R = p3.indexOf(":"), D3 = R < 0 ? ["", p3] : p3.split(":"), b = D3[0], x = D3[1];
12336
12336
  return m && p3 === "xmlns" && (b = "xmlns", x = ""), { prefix: b, local: x };
12337
12337
  }
12338
12338
  function te2(p3) {
@@ -12341,15 +12341,15 @@ Char: ` + p3.c), m = new Error(m), p3.error = m, oe2(p3, "onerror", m), p3;
12341
12341
  return;
12342
12342
  }
12343
12343
  if (p3.opt.xmlns) {
12344
- var m = J3(p3.attribName, true), R = m.prefix, E3 = m.local;
12344
+ var m = J3(p3.attribName, true), R = m.prefix, D3 = m.local;
12345
12345
  if (R === "xmlns")
12346
- if (E3 === "xml" && p3.attribValue !== S)
12346
+ if (D3 === "xml" && p3.attribValue !== S)
12347
12347
  Y(
12348
12348
  p3,
12349
12349
  "xml: prefix must be bound to " + S + `
12350
12350
  Actual: ` + p3.attribValue
12351
12351
  );
12352
- else if (E3 === "xmlns" && p3.attribValue !== T3)
12352
+ else if (D3 === "xmlns" && p3.attribValue !== T3)
12353
12353
  Y(
12354
12354
  p3,
12355
12355
  "xmlns: prefix must be bound to " + T3 + `
@@ -12357,7 +12357,7 @@ Actual: ` + p3.attribValue
12357
12357
  );
12358
12358
  else {
12359
12359
  var b = p3.tag, x = p3.tags[p3.tags.length - 1] || p3;
12360
- b.ns === x.ns && (b.ns = Object.create(x.ns)), b.ns[E3] = p3.attribValue;
12360
+ b.ns === x.ns && (b.ns = Object.create(x.ns)), b.ns[D3] = p3.attribValue;
12361
12361
  }
12362
12362
  p3.attribList.push([p3.attribName, p3.attribValue]);
12363
12363
  } else
@@ -12369,8 +12369,8 @@ Actual: ` + p3.attribValue
12369
12369
  }
12370
12370
  function ie(p3, m) {
12371
12371
  if (p3.opt.xmlns) {
12372
- var R = p3.tag, E3 = J3(p3.tagName);
12373
- R.prefix = E3.prefix, R.local = E3.local, R.uri = R.ns[E3.prefix] || "", R.prefix && !R.uri && (Y(p3, "Unbound namespace prefix: " + JSON.stringify(p3.tagName)), R.uri = E3.prefix);
12372
+ var R = p3.tag, D3 = J3(p3.tagName);
12373
+ R.prefix = D3.prefix, R.local = D3.local, R.uri = R.ns[D3.prefix] || "", R.prefix && !R.uri && (Y(p3, "Unbound namespace prefix: " + JSON.stringify(p3.tagName)), R.uri = D3.prefix);
12374
12374
  var b = p3.tags[p3.tags.length - 1] || p3;
12375
12375
  R.ns && b.ns !== R.ns && Object.keys(R.ns).forEach(function(He2) {
12376
12376
  ee(p3, "onopennamespace", {
@@ -12390,31 +12390,31 @@ Actual: ` + p3.attribValue
12390
12390
  }
12391
12391
  p3.attribList.length = 0;
12392
12392
  }
12393
- p3.tag.isSelfClosing = !!m, p3.sawRoot = true, p3.tags.push(p3.tag), ee(p3, "onopentag", p3.tag), m || (!p3.noscript && p3.tagName.toLowerCase() === "script" ? p3.state = D3.SCRIPT : p3.state = D3.TEXT, p3.tag = null, p3.tagName = ""), p3.attribName = p3.attribValue = "", p3.attribList.length = 0;
12393
+ p3.tag.isSelfClosing = !!m, p3.sawRoot = true, p3.tags.push(p3.tag), ee(p3, "onopentag", p3.tag), m || (!p3.noscript && p3.tagName.toLowerCase() === "script" ? p3.state = E3.SCRIPT : p3.state = E3.TEXT, p3.tag = null, p3.tagName = ""), p3.attribName = p3.attribValue = "", p3.attribList.length = 0;
12394
12394
  }
12395
12395
  function L3(p3) {
12396
12396
  if (!p3.tagName) {
12397
- Y(p3, "Weird empty close tag."), p3.textNode += "</>", p3.state = D3.TEXT;
12397
+ Y(p3, "Weird empty close tag."), p3.textNode += "</>", p3.state = E3.TEXT;
12398
12398
  return;
12399
12399
  }
12400
12400
  if (p3.script) {
12401
12401
  if (p3.tagName !== "script") {
12402
- p3.script += "</" + p3.tagName + ">", p3.tagName = "", p3.state = D3.SCRIPT;
12402
+ p3.script += "</" + p3.tagName + ">", p3.tagName = "", p3.state = E3.SCRIPT;
12403
12403
  return;
12404
12404
  }
12405
12405
  ee(p3, "onscript", p3.script), p3.script = "";
12406
12406
  }
12407
12407
  var m = p3.tags.length, R = p3.tagName;
12408
12408
  p3.strict || (R = R[p3.looseCase]());
12409
- for (var E3 = R; m--; ) {
12409
+ for (var D3 = R; m--; ) {
12410
12410
  var b = p3.tags[m];
12411
- if (b.name !== E3)
12411
+ if (b.name !== D3)
12412
12412
  Y(p3, "Unexpected close tag");
12413
12413
  else
12414
12414
  break;
12415
12415
  }
12416
12416
  if (m < 0) {
12417
- Y(p3, "Unmatched closing tag: " + p3.tagName), p3.textNode += "</" + p3.tagName + ">", p3.state = D3.TEXT;
12417
+ Y(p3, "Unmatched closing tag: " + p3.tagName), p3.textNode += "</" + p3.tagName + ">", p3.state = E3.TEXT;
12418
12418
  return;
12419
12419
  }
12420
12420
  p3.tagName = R;
@@ -12430,14 +12430,14 @@ Actual: ` + p3.attribValue
12430
12430
  ee(p3, "onclosenamespace", { prefix: ne, uri: ye2 });
12431
12431
  });
12432
12432
  }
12433
- m === 0 && (p3.closedRoot = true), p3.tagName = p3.attribValue = p3.attribName = "", p3.attribList.length = 0, p3.state = D3.TEXT;
12433
+ m === 0 && (p3.closedRoot = true), p3.tagName = p3.attribValue = p3.attribName = "", p3.attribList.length = 0, p3.state = E3.TEXT;
12434
12434
  }
12435
12435
  function j(p3) {
12436
- var m = p3.entity, R = m.toLowerCase(), E3, b = "";
12437
- return p3.ENTITIES[m] ? p3.ENTITIES[m] : p3.ENTITIES[R] ? p3.ENTITIES[R] : (m = R, m.charAt(0) === "#" && (m.charAt(1) === "x" ? (m = m.slice(2), E3 = parseInt(m, 16), b = E3.toString(16)) : (m = m.slice(1), E3 = parseInt(m, 10), b = E3.toString(10))), m = m.replace(/^0+/, ""), isNaN(E3) || b.toLowerCase() !== m ? (Y(p3, "Invalid character entity"), "&" + p3.entity + ";") : String.fromCodePoint(E3));
12436
+ var m = p3.entity, R = m.toLowerCase(), D3, b = "";
12437
+ return p3.ENTITIES[m] ? p3.ENTITIES[m] : p3.ENTITIES[R] ? p3.ENTITIES[R] : (m = R, m.charAt(0) === "#" && (m.charAt(1) === "x" ? (m = m.slice(2), D3 = parseInt(m, 16), b = D3.toString(16)) : (m = m.slice(1), D3 = parseInt(m, 10), b = D3.toString(10))), m = m.replace(/^0+/, ""), isNaN(D3) || b.toLowerCase() !== m ? (Y(p3, "Invalid character entity"), "&" + p3.entity + ";") : String.fromCodePoint(D3));
12438
12438
  }
12439
12439
  function V(p3, m) {
12440
- m === "<" ? (p3.state = D3.OPEN_WAKA, p3.startTagPosition = p3.position) : C(m) || (Y(p3, "Non-whitespace before first tag."), p3.textNode = m, p3.state = D3.TEXT);
12440
+ m === "<" ? (p3.state = E3.OPEN_WAKA, p3.startTagPosition = p3.position) : C(m) || (Y(p3, "Non-whitespace before first tag."), p3.textNode = m, p3.state = E3.TEXT);
12441
12441
  }
12442
12442
  function $3(p3, m) {
12443
12443
  var R = "";
@@ -12455,187 +12455,187 @@ Actual: ` + p3.attribValue
12455
12455
  if (p3 === null)
12456
12456
  return se(m);
12457
12457
  typeof p3 == "object" && (p3 = p3.toString());
12458
- for (var R = 0, E3 = ""; E3 = $3(p3, R++), m.c = E3, !!E3; )
12459
- switch (m.trackPosition && (m.position++, E3 === `
12458
+ for (var R = 0, D3 = ""; D3 = $3(p3, R++), m.c = D3, !!D3; )
12459
+ switch (m.trackPosition && (m.position++, D3 === `
12460
12460
  ` ? (m.line++, m.column = 0) : m.column++), m.state) {
12461
- case D3.BEGIN:
12462
- if (m.state = D3.BEGIN_WHITESPACE, E3 === "\uFEFF")
12461
+ case E3.BEGIN:
12462
+ if (m.state = E3.BEGIN_WHITESPACE, D3 === "\uFEFF")
12463
12463
  continue;
12464
- V(m, E3);
12464
+ V(m, D3);
12465
12465
  continue;
12466
- case D3.BEGIN_WHITESPACE:
12467
- V(m, E3);
12466
+ case E3.BEGIN_WHITESPACE:
12467
+ V(m, D3);
12468
12468
  continue;
12469
- case D3.TEXT:
12469
+ case E3.TEXT:
12470
12470
  if (m.sawRoot && !m.closedRoot) {
12471
- for (var b = R - 1; E3 && E3 !== "<" && E3 !== "&"; )
12472
- E3 = $3(p3, R++), E3 && m.trackPosition && (m.position++, E3 === `
12471
+ for (var b = R - 1; D3 && D3 !== "<" && D3 !== "&"; )
12472
+ D3 = $3(p3, R++), D3 && m.trackPosition && (m.position++, D3 === `
12473
12473
  ` ? (m.line++, m.column = 0) : m.column++);
12474
12474
  m.textNode += p3.substring(b, R - 1);
12475
12475
  }
12476
- E3 === "<" && !(m.sawRoot && m.closedRoot && !m.strict) ? (m.state = D3.OPEN_WAKA, m.startTagPosition = m.position) : (!C(E3) && (!m.sawRoot || m.closedRoot) && Y(m, "Text data outside of root node."), E3 === "&" ? m.state = D3.TEXT_ENTITY : m.textNode += E3);
12476
+ D3 === "<" && !(m.sawRoot && m.closedRoot && !m.strict) ? (m.state = E3.OPEN_WAKA, m.startTagPosition = m.position) : (!C(D3) && (!m.sawRoot || m.closedRoot) && Y(m, "Text data outside of root node."), D3 === "&" ? m.state = E3.TEXT_ENTITY : m.textNode += D3);
12477
12477
  continue;
12478
- case D3.SCRIPT:
12479
- E3 === "<" ? m.state = D3.SCRIPT_ENDING : m.script += E3;
12478
+ case E3.SCRIPT:
12479
+ D3 === "<" ? m.state = E3.SCRIPT_ENDING : m.script += D3;
12480
12480
  continue;
12481
- case D3.SCRIPT_ENDING:
12482
- E3 === "/" ? m.state = D3.CLOSE_TAG : (m.script += "<" + E3, m.state = D3.SCRIPT);
12481
+ case E3.SCRIPT_ENDING:
12482
+ D3 === "/" ? m.state = E3.CLOSE_TAG : (m.script += "<" + D3, m.state = E3.SCRIPT);
12483
12483
  continue;
12484
- case D3.OPEN_WAKA:
12485
- if (E3 === "!")
12486
- m.state = D3.SGML_DECL, m.sgmlDecl = "";
12487
- else if (!C(E3)) if (q(B, E3))
12488
- m.state = D3.OPEN_TAG, m.tagName = E3;
12489
- else if (E3 === "/")
12490
- m.state = D3.CLOSE_TAG, m.tagName = "";
12491
- else if (E3 === "?")
12492
- m.state = D3.PROC_INST, m.procInstName = m.procInstBody = "";
12484
+ case E3.OPEN_WAKA:
12485
+ if (D3 === "!")
12486
+ m.state = E3.SGML_DECL, m.sgmlDecl = "";
12487
+ else if (!C(D3)) if (q(B, D3))
12488
+ m.state = E3.OPEN_TAG, m.tagName = D3;
12489
+ else if (D3 === "/")
12490
+ m.state = E3.CLOSE_TAG, m.tagName = "";
12491
+ else if (D3 === "?")
12492
+ m.state = E3.PROC_INST, m.procInstName = m.procInstBody = "";
12493
12493
  else {
12494
12494
  if (Y(m, "Unencoded <"), m.startTagPosition + 1 < m.position) {
12495
12495
  var x = m.position - m.startTagPosition;
12496
- E3 = new Array(x).join(" ") + E3;
12496
+ D3 = new Array(x).join(" ") + D3;
12497
12497
  }
12498
- m.textNode += "<" + E3, m.state = D3.TEXT;
12498
+ m.textNode += "<" + D3, m.state = E3.TEXT;
12499
12499
  }
12500
12500
  continue;
12501
- case D3.SGML_DECL:
12502
- if (m.sgmlDecl + E3 === "--") {
12503
- m.state = D3.COMMENT, m.comment = "", m.sgmlDecl = "";
12501
+ case E3.SGML_DECL:
12502
+ if (m.sgmlDecl + D3 === "--") {
12503
+ m.state = E3.COMMENT, m.comment = "", m.sgmlDecl = "";
12504
12504
  continue;
12505
12505
  }
12506
- m.doctype && m.doctype !== true && m.sgmlDecl ? (m.state = D3.DOCTYPE_DTD, m.doctype += "<!" + m.sgmlDecl + E3, m.sgmlDecl = "") : (m.sgmlDecl + E3).toUpperCase() === h3 ? (ee(m, "onopencdata"), m.state = D3.CDATA, m.sgmlDecl = "", m.cdata = "") : (m.sgmlDecl + E3).toUpperCase() === g ? (m.state = D3.DOCTYPE, (m.doctype || m.sawRoot) && Y(
12506
+ m.doctype && m.doctype !== true && m.sgmlDecl ? (m.state = E3.DOCTYPE_DTD, m.doctype += "<!" + m.sgmlDecl + D3, m.sgmlDecl = "") : (m.sgmlDecl + D3).toUpperCase() === h3 ? (ee(m, "onopencdata"), m.state = E3.CDATA, m.sgmlDecl = "", m.cdata = "") : (m.sgmlDecl + D3).toUpperCase() === g ? (m.state = E3.DOCTYPE, (m.doctype || m.sawRoot) && Y(
12507
12507
  m,
12508
12508
  "Inappropriately located doctype declaration"
12509
- ), m.doctype = "", m.sgmlDecl = "") : E3 === ">" ? (ee(m, "onsgmldeclaration", m.sgmlDecl), m.sgmlDecl = "", m.state = D3.TEXT) : (F3(E3) && (m.state = D3.SGML_DECL_QUOTED), m.sgmlDecl += E3);
12509
+ ), m.doctype = "", m.sgmlDecl = "") : D3 === ">" ? (ee(m, "onsgmldeclaration", m.sgmlDecl), m.sgmlDecl = "", m.state = E3.TEXT) : (F3(D3) && (m.state = E3.SGML_DECL_QUOTED), m.sgmlDecl += D3);
12510
12510
  continue;
12511
- case D3.SGML_DECL_QUOTED:
12512
- E3 === m.q && (m.state = D3.SGML_DECL, m.q = ""), m.sgmlDecl += E3;
12511
+ case E3.SGML_DECL_QUOTED:
12512
+ D3 === m.q && (m.state = E3.SGML_DECL, m.q = ""), m.sgmlDecl += D3;
12513
12513
  continue;
12514
- case D3.DOCTYPE:
12515
- E3 === ">" ? (m.state = D3.TEXT, ee(m, "ondoctype", m.doctype), m.doctype = true) : (m.doctype += E3, E3 === "[" ? m.state = D3.DOCTYPE_DTD : F3(E3) && (m.state = D3.DOCTYPE_QUOTED, m.q = E3));
12514
+ case E3.DOCTYPE:
12515
+ D3 === ">" ? (m.state = E3.TEXT, ee(m, "ondoctype", m.doctype), m.doctype = true) : (m.doctype += D3, D3 === "[" ? m.state = E3.DOCTYPE_DTD : F3(D3) && (m.state = E3.DOCTYPE_QUOTED, m.q = D3));
12516
12516
  continue;
12517
- case D3.DOCTYPE_QUOTED:
12518
- m.doctype += E3, E3 === m.q && (m.q = "", m.state = D3.DOCTYPE);
12517
+ case E3.DOCTYPE_QUOTED:
12518
+ m.doctype += D3, D3 === m.q && (m.q = "", m.state = E3.DOCTYPE);
12519
12519
  continue;
12520
- case D3.DOCTYPE_DTD:
12521
- E3 === "]" ? (m.doctype += E3, m.state = D3.DOCTYPE) : E3 === "<" ? (m.state = D3.OPEN_WAKA, m.startTagPosition = m.position) : F3(E3) ? (m.doctype += E3, m.state = D3.DOCTYPE_DTD_QUOTED, m.q = E3) : m.doctype += E3;
12520
+ case E3.DOCTYPE_DTD:
12521
+ D3 === "]" ? (m.doctype += D3, m.state = E3.DOCTYPE) : D3 === "<" ? (m.state = E3.OPEN_WAKA, m.startTagPosition = m.position) : F3(D3) ? (m.doctype += D3, m.state = E3.DOCTYPE_DTD_QUOTED, m.q = D3) : m.doctype += D3;
12522
12522
  continue;
12523
- case D3.DOCTYPE_DTD_QUOTED:
12524
- m.doctype += E3, E3 === m.q && (m.state = D3.DOCTYPE_DTD, m.q = "");
12523
+ case E3.DOCTYPE_DTD_QUOTED:
12524
+ m.doctype += D3, D3 === m.q && (m.state = E3.DOCTYPE_DTD, m.q = "");
12525
12525
  continue;
12526
- case D3.COMMENT:
12527
- E3 === "-" ? m.state = D3.COMMENT_ENDING : m.comment += E3;
12526
+ case E3.COMMENT:
12527
+ D3 === "-" ? m.state = E3.COMMENT_ENDING : m.comment += D3;
12528
12528
  continue;
12529
- case D3.COMMENT_ENDING:
12530
- E3 === "-" ? (m.state = D3.COMMENT_ENDED, m.comment = ce2(m.opt, m.comment), m.comment && ee(m, "oncomment", m.comment), m.comment = "") : (m.comment += "-" + E3, m.state = D3.COMMENT);
12529
+ case E3.COMMENT_ENDING:
12530
+ D3 === "-" ? (m.state = E3.COMMENT_ENDED, m.comment = ce2(m.opt, m.comment), m.comment && ee(m, "oncomment", m.comment), m.comment = "") : (m.comment += "-" + D3, m.state = E3.COMMENT);
12531
12531
  continue;
12532
- case D3.COMMENT_ENDED:
12533
- E3 !== ">" ? (Y(m, "Malformed comment"), m.comment += "--" + E3, m.state = D3.COMMENT) : m.doctype && m.doctype !== true ? m.state = D3.DOCTYPE_DTD : m.state = D3.TEXT;
12532
+ case E3.COMMENT_ENDED:
12533
+ D3 !== ">" ? (Y(m, "Malformed comment"), m.comment += "--" + D3, m.state = E3.COMMENT) : m.doctype && m.doctype !== true ? m.state = E3.DOCTYPE_DTD : m.state = E3.TEXT;
12534
12534
  continue;
12535
- case D3.CDATA:
12536
- E3 === "]" ? m.state = D3.CDATA_ENDING : m.cdata += E3;
12535
+ case E3.CDATA:
12536
+ D3 === "]" ? m.state = E3.CDATA_ENDING : m.cdata += D3;
12537
12537
  continue;
12538
- case D3.CDATA_ENDING:
12539
- E3 === "]" ? m.state = D3.CDATA_ENDING_2 : (m.cdata += "]" + E3, m.state = D3.CDATA);
12538
+ case E3.CDATA_ENDING:
12539
+ D3 === "]" ? m.state = E3.CDATA_ENDING_2 : (m.cdata += "]" + D3, m.state = E3.CDATA);
12540
12540
  continue;
12541
- case D3.CDATA_ENDING_2:
12542
- E3 === ">" ? (m.cdata && ee(m, "oncdata", m.cdata), ee(m, "onclosecdata"), m.cdata = "", m.state = D3.TEXT) : E3 === "]" ? m.cdata += "]" : (m.cdata += "]]" + E3, m.state = D3.CDATA);
12541
+ case E3.CDATA_ENDING_2:
12542
+ D3 === ">" ? (m.cdata && ee(m, "oncdata", m.cdata), ee(m, "onclosecdata"), m.cdata = "", m.state = E3.TEXT) : D3 === "]" ? m.cdata += "]" : (m.cdata += "]]" + D3, m.state = E3.CDATA);
12543
12543
  continue;
12544
- case D3.PROC_INST:
12545
- E3 === "?" ? m.state = D3.PROC_INST_ENDING : C(E3) ? m.state = D3.PROC_INST_BODY : m.procInstName += E3;
12544
+ case E3.PROC_INST:
12545
+ D3 === "?" ? m.state = E3.PROC_INST_ENDING : C(D3) ? m.state = E3.PROC_INST_BODY : m.procInstName += D3;
12546
12546
  continue;
12547
- case D3.PROC_INST_BODY:
12548
- if (!m.procInstBody && C(E3))
12547
+ case E3.PROC_INST_BODY:
12548
+ if (!m.procInstBody && C(D3))
12549
12549
  continue;
12550
- E3 === "?" ? m.state = D3.PROC_INST_ENDING : m.procInstBody += E3;
12550
+ D3 === "?" ? m.state = E3.PROC_INST_ENDING : m.procInstBody += D3;
12551
12551
  continue;
12552
- case D3.PROC_INST_ENDING:
12553
- E3 === ">" ? (ee(m, "onprocessinginstruction", {
12552
+ case E3.PROC_INST_ENDING:
12553
+ D3 === ">" ? (ee(m, "onprocessinginstruction", {
12554
12554
  name: m.procInstName,
12555
12555
  body: m.procInstBody
12556
- }), m.procInstName = m.procInstBody = "", m.state = D3.TEXT) : (m.procInstBody += "?" + E3, m.state = D3.PROC_INST_BODY);
12556
+ }), m.procInstName = m.procInstBody = "", m.state = E3.TEXT) : (m.procInstBody += "?" + D3, m.state = E3.PROC_INST_BODY);
12557
12557
  continue;
12558
- case D3.OPEN_TAG:
12559
- q(w, E3) ? m.tagName += E3 : (de2(m), E3 === ">" ? ie(m) : E3 === "/" ? m.state = D3.OPEN_TAG_SLASH : (C(E3) || Y(m, "Invalid character in tag name"), m.state = D3.ATTRIB));
12558
+ case E3.OPEN_TAG:
12559
+ q(w, D3) ? m.tagName += D3 : (de2(m), D3 === ">" ? ie(m) : D3 === "/" ? m.state = E3.OPEN_TAG_SLASH : (C(D3) || Y(m, "Invalid character in tag name"), m.state = E3.ATTRIB));
12560
12560
  continue;
12561
- case D3.OPEN_TAG_SLASH:
12562
- E3 === ">" ? (ie(m, true), L3(m)) : (Y(m, "Forward-slash in opening tag not followed by >"), m.state = D3.ATTRIB);
12561
+ case E3.OPEN_TAG_SLASH:
12562
+ D3 === ">" ? (ie(m, true), L3(m)) : (Y(m, "Forward-slash in opening tag not followed by >"), m.state = E3.ATTRIB);
12563
12563
  continue;
12564
- case D3.ATTRIB:
12565
- if (C(E3))
12564
+ case E3.ATTRIB:
12565
+ if (C(D3))
12566
12566
  continue;
12567
- E3 === ">" ? ie(m) : E3 === "/" ? m.state = D3.OPEN_TAG_SLASH : q(B, E3) ? (m.attribName = E3, m.attribValue = "", m.state = D3.ATTRIB_NAME) : Y(m, "Invalid attribute name");
12567
+ D3 === ">" ? ie(m) : D3 === "/" ? m.state = E3.OPEN_TAG_SLASH : q(B, D3) ? (m.attribName = D3, m.attribValue = "", m.state = E3.ATTRIB_NAME) : Y(m, "Invalid attribute name");
12568
12568
  continue;
12569
- case D3.ATTRIB_NAME:
12570
- E3 === "=" ? m.state = D3.ATTRIB_VALUE : E3 === ">" ? (Y(m, "Attribute without value"), m.attribValue = m.attribName, te2(m), ie(m)) : C(E3) ? m.state = D3.ATTRIB_NAME_SAW_WHITE : q(w, E3) ? m.attribName += E3 : Y(m, "Invalid attribute name");
12569
+ case E3.ATTRIB_NAME:
12570
+ D3 === "=" ? m.state = E3.ATTRIB_VALUE : D3 === ">" ? (Y(m, "Attribute without value"), m.attribValue = m.attribName, te2(m), ie(m)) : C(D3) ? m.state = E3.ATTRIB_NAME_SAW_WHITE : q(w, D3) ? m.attribName += D3 : Y(m, "Invalid attribute name");
12571
12571
  continue;
12572
- case D3.ATTRIB_NAME_SAW_WHITE:
12573
- if (E3 === "=")
12574
- m.state = D3.ATTRIB_VALUE;
12572
+ case E3.ATTRIB_NAME_SAW_WHITE:
12573
+ if (D3 === "=")
12574
+ m.state = E3.ATTRIB_VALUE;
12575
12575
  else {
12576
- if (C(E3))
12576
+ if (C(D3))
12577
12577
  continue;
12578
12578
  Y(m, "Attribute without value"), m.tag.attributes[m.attribName] = "", m.attribValue = "", ee(m, "onattribute", {
12579
12579
  name: m.attribName,
12580
12580
  value: ""
12581
- }), m.attribName = "", E3 === ">" ? ie(m) : q(B, E3) ? (m.attribName = E3, m.state = D3.ATTRIB_NAME) : (Y(m, "Invalid attribute name"), m.state = D3.ATTRIB);
12581
+ }), m.attribName = "", D3 === ">" ? ie(m) : q(B, D3) ? (m.attribName = D3, m.state = E3.ATTRIB_NAME) : (Y(m, "Invalid attribute name"), m.state = E3.ATTRIB);
12582
12582
  }
12583
12583
  continue;
12584
- case D3.ATTRIB_VALUE:
12585
- if (C(E3))
12584
+ case E3.ATTRIB_VALUE:
12585
+ if (C(D3))
12586
12586
  continue;
12587
- F3(E3) ? (m.q = E3, m.state = D3.ATTRIB_VALUE_QUOTED) : (m.opt.unquotedAttributeValues || ae2(m, "Unquoted attribute value"), m.state = D3.ATTRIB_VALUE_UNQUOTED, m.attribValue = E3);
12587
+ F3(D3) ? (m.q = D3, m.state = E3.ATTRIB_VALUE_QUOTED) : (m.opt.unquotedAttributeValues || ae2(m, "Unquoted attribute value"), m.state = E3.ATTRIB_VALUE_UNQUOTED, m.attribValue = D3);
12588
12588
  continue;
12589
- case D3.ATTRIB_VALUE_QUOTED:
12590
- if (E3 !== m.q) {
12591
- E3 === "&" ? m.state = D3.ATTRIB_VALUE_ENTITY_Q : m.attribValue += E3;
12589
+ case E3.ATTRIB_VALUE_QUOTED:
12590
+ if (D3 !== m.q) {
12591
+ D3 === "&" ? m.state = E3.ATTRIB_VALUE_ENTITY_Q : m.attribValue += D3;
12592
12592
  continue;
12593
12593
  }
12594
- te2(m), m.q = "", m.state = D3.ATTRIB_VALUE_CLOSED;
12594
+ te2(m), m.q = "", m.state = E3.ATTRIB_VALUE_CLOSED;
12595
12595
  continue;
12596
- case D3.ATTRIB_VALUE_CLOSED:
12597
- C(E3) ? m.state = D3.ATTRIB : E3 === ">" ? ie(m) : E3 === "/" ? m.state = D3.OPEN_TAG_SLASH : q(B, E3) ? (Y(m, "No whitespace between attributes"), m.attribName = E3, m.attribValue = "", m.state = D3.ATTRIB_NAME) : Y(m, "Invalid attribute name");
12596
+ case E3.ATTRIB_VALUE_CLOSED:
12597
+ C(D3) ? m.state = E3.ATTRIB : D3 === ">" ? ie(m) : D3 === "/" ? m.state = E3.OPEN_TAG_SLASH : q(B, D3) ? (Y(m, "No whitespace between attributes"), m.attribName = D3, m.attribValue = "", m.state = E3.ATTRIB_NAME) : Y(m, "Invalid attribute name");
12598
12598
  continue;
12599
- case D3.ATTRIB_VALUE_UNQUOTED:
12600
- if (!N3(E3)) {
12601
- E3 === "&" ? m.state = D3.ATTRIB_VALUE_ENTITY_U : m.attribValue += E3;
12599
+ case E3.ATTRIB_VALUE_UNQUOTED:
12600
+ if (!N3(D3)) {
12601
+ D3 === "&" ? m.state = E3.ATTRIB_VALUE_ENTITY_U : m.attribValue += D3;
12602
12602
  continue;
12603
12603
  }
12604
- te2(m), E3 === ">" ? ie(m) : m.state = D3.ATTRIB;
12604
+ te2(m), D3 === ">" ? ie(m) : m.state = E3.ATTRIB;
12605
12605
  continue;
12606
- case D3.CLOSE_TAG:
12606
+ case E3.CLOSE_TAG:
12607
12607
  if (m.tagName)
12608
- E3 === ">" ? L3(m) : q(w, E3) ? m.tagName += E3 : m.script ? (m.script += "</" + m.tagName, m.tagName = "", m.state = D3.SCRIPT) : (C(E3) || Y(m, "Invalid tagname in closing tag"), m.state = D3.CLOSE_TAG_SAW_WHITE);
12608
+ D3 === ">" ? L3(m) : q(w, D3) ? m.tagName += D3 : m.script ? (m.script += "</" + m.tagName, m.tagName = "", m.state = E3.SCRIPT) : (C(D3) || Y(m, "Invalid tagname in closing tag"), m.state = E3.CLOSE_TAG_SAW_WHITE);
12609
12609
  else {
12610
- if (C(E3))
12610
+ if (C(D3))
12611
12611
  continue;
12612
- H3(B, E3) ? m.script ? (m.script += "</" + E3, m.state = D3.SCRIPT) : Y(m, "Invalid tagname in closing tag.") : m.tagName = E3;
12612
+ H3(B, D3) ? m.script ? (m.script += "</" + D3, m.state = E3.SCRIPT) : Y(m, "Invalid tagname in closing tag.") : m.tagName = D3;
12613
12613
  }
12614
12614
  continue;
12615
- case D3.CLOSE_TAG_SAW_WHITE:
12616
- if (C(E3))
12615
+ case E3.CLOSE_TAG_SAW_WHITE:
12616
+ if (C(D3))
12617
12617
  continue;
12618
- E3 === ">" ? L3(m) : Y(m, "Invalid characters in closing tag");
12618
+ D3 === ">" ? L3(m) : Y(m, "Invalid characters in closing tag");
12619
12619
  continue;
12620
- case D3.TEXT_ENTITY:
12621
- case D3.ATTRIB_VALUE_ENTITY_Q:
12622
- case D3.ATTRIB_VALUE_ENTITY_U:
12620
+ case E3.TEXT_ENTITY:
12621
+ case E3.ATTRIB_VALUE_ENTITY_Q:
12622
+ case E3.ATTRIB_VALUE_ENTITY_U:
12623
12623
  var _, W;
12624
12624
  switch (m.state) {
12625
- case D3.TEXT_ENTITY:
12626
- _ = D3.TEXT, W = "textNode";
12625
+ case E3.TEXT_ENTITY:
12626
+ _ = E3.TEXT, W = "textNode";
12627
12627
  break;
12628
- case D3.ATTRIB_VALUE_ENTITY_Q:
12629
- _ = D3.ATTRIB_VALUE_QUOTED, W = "attribValue";
12628
+ case E3.ATTRIB_VALUE_ENTITY_Q:
12629
+ _ = E3.ATTRIB_VALUE_QUOTED, W = "attribValue";
12630
12630
  break;
12631
- case D3.ATTRIB_VALUE_ENTITY_U:
12632
- _ = D3.ATTRIB_VALUE_UNQUOTED, W = "attribValue";
12631
+ case E3.ATTRIB_VALUE_ENTITY_U:
12632
+ _ = E3.ATTRIB_VALUE_UNQUOTED, W = "attribValue";
12633
12633
  break;
12634
12634
  }
12635
- if (E3 === ";") {
12635
+ if (D3 === ";") {
12636
12636
  var re2 = j(m);
12637
12637
  m.opt.unparsedEntities && !Object.values(e.XML_ENTITIES).includes(re2) ? (m.entity = "", m.state = _, m.write(re2)) : (m[W] += re2, m.entity = "", m.state = _);
12638
- } else q(m.entity.length ? I3 : k, E3) ? m.entity += E3 : (Y(m, "Invalid character in entity name"), m[W] += "&" + m.entity + E3, m.entity = "", m.state = _);
12638
+ } else q(m.entity.length ? I3 : k, D3) ? m.entity += D3 : (Y(m, "Invalid character in entity name"), m[W] += "&" + m.entity + D3, m.entity = "", m.state = _);
12639
12639
  continue;
12640
12640
  default:
12641
12641
  throw new Error(m, "Unknown state: " + m.state);
@@ -12645,7 +12645,7 @@ Actual: ` + p3.attribValue
12645
12645
  /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
12646
12646
  String.fromCodePoint || function() {
12647
12647
  var p3 = String.fromCharCode, m = Math.floor, R = function() {
12648
- var E3 = 16384, b = [], x, _, W = -1, re2 = arguments.length;
12648
+ var D3 = 16384, b = [], x, _, W = -1, re2 = arguments.length;
12649
12649
  if (!re2)
12650
12650
  return "";
12651
12651
  for (var X3 = ""; ++W < re2; ) {
@@ -12655,7 +12655,7 @@ Actual: ` + p3.attribValue
12655
12655
  ne > 1114111 || // not a valid Unicode code point
12656
12656
  m(ne) !== ne)
12657
12657
  throw RangeError("Invalid code point: " + ne);
12658
- ne <= 65535 ? b.push(ne) : (ne -= 65536, x = (ne >> 10) + 55296, _ = ne % 1024 + 56320, b.push(x, _)), (W + 1 === re2 || b.length > E3) && (X3 += p3.apply(null, b), b.length = 0);
12658
+ ne <= 65535 ? b.push(ne) : (ne -= 65536, x = (ne >> 10) + 55296, _ = ne % 1024 + 56320, b.push(x, _)), (W + 1 === re2 || b.length > D3) && (X3 += p3.apply(null, b), b.length = 0);
12659
12659
  }
12660
12660
  return X3;
12661
12661
  };
@@ -13068,7 +13068,7 @@ Actual: ` + p3.attribValue
13068
13068
  if (J3[ie] == te2)
13069
13069
  return true;
13070
13070
  return false;
13071
- }, D3 = function(J3, te2) {
13071
+ }, E3 = function(J3, te2) {
13072
13072
  if (!J3)
13073
13073
  return te2;
13074
13074
  var ie = {}, L3;
@@ -13085,7 +13085,7 @@ Actual: ` + p3.attribValue
13085
13085
  }, Q3 = function(J3) {
13086
13086
  throw Error("Parse error: " + J3);
13087
13087
  }, ce2 = function(J3, te2) {
13088
- te2 = D3(te2, ce2.options);
13088
+ te2 = E3(te2, ce2.options);
13089
13089
  var ie = te2.strict;
13090
13090
  ie && T3.test(J3) && Q3("forbidden code point");
13091
13091
  var L3 = te2.encodeEverything, j = te2.useNamedReferences, V = te2.allowUnsafeSymbols, $3 = te2.decimal ? ee : oe2, P3 = function(p3) {
@@ -13100,8 +13100,8 @@ Actual: ` + p3.attribValue
13100
13100
  })), J3 = J3.replace(/&gt;\u20D2/g, "&nvgt;").replace(/&lt;\u20D2/g, "&nvlt;"), J3 = J3.replace(f3, function(p3) {
13101
13101
  return "&" + c3[p3] + ";";
13102
13102
  })) : V || (J3 = J3.replace(h3, P3)), J3.replace(o, function(p3) {
13103
- var m = p3.charCodeAt(0), R = p3.charCodeAt(1), E3 = (m - 55296) * 1024 + R - 56320 + 65536;
13104
- return $3(E3);
13103
+ var m = p3.charCodeAt(0), R = p3.charCodeAt(1), D3 = (m - 55296) * 1024 + R - 56320 + 65536;
13104
+ return $3(D3);
13105
13105
  }).replace(u, P3);
13106
13106
  };
13107
13107
  ce2.options = {
@@ -13112,9 +13112,9 @@ Actual: ` + p3.attribValue
13112
13112
  decimal: false
13113
13113
  };
13114
13114
  var ae2 = function(J3, te2) {
13115
- te2 = D3(te2, ae2.options);
13115
+ te2 = E3(te2, ae2.options);
13116
13116
  var ie = te2.strict;
13117
- return ie && S.test(J3) && Q3("malformed character reference"), J3.replace(A, function(L3, j, V, $3, P3, p3, m, R, E3) {
13117
+ return ie && S.test(J3) && Q3("malformed character reference"), J3.replace(A, function(L3, j, V, $3, P3, p3, m, R, D3) {
13118
13118
  var b, x, _, W, re2, X3;
13119
13119
  return j ? (re2 = j, B[re2]) : V ? (re2 = V, X3 = $3, X3 && te2.isAttributeValue ? (ie && X3 == "=" && Q3("`&` did not start a character reference"), L3) : (ie && Q3(
13120
13120
  "named character reference was not terminated by a semicolon"
@@ -21091,11 +21091,13 @@ Actual: ` + p3.attribValue
21091
21091
  t.push(h3);
21092
21092
  }
21093
21093
  if (o) {
21094
- const h3 = {
21094
+ let h3 = o;
21095
+ h3 === "justify" && (h3 = "both");
21096
+ const g = {
21095
21097
  name: "w:jc",
21096
- attributes: { "w:val": o }
21098
+ attributes: { "w:val": h3 }
21097
21099
  };
21098
- t.push(h3);
21100
+ t.push(g);
21099
21101
  }
21100
21102
  if (u) {
21101
21103
  const h3 = Br$1(u), g = su$2(h3);
@@ -21254,7 +21256,7 @@ Actual: ` + p3.attribValue
21254
21256
  w.elements || (w.elements = []);
21255
21257
  const k = w.elements.findIndex((N3) => N3.name === "w:pPr");
21256
21258
  if (!w.elements.filter((N3) => N3.name !== "w:pPr").length) {
21257
- const N3 = w.elements[k]?.elements.find((D3) => D3.name === "w:spacing"), H3 = {
21259
+ const N3 = w.elements[k]?.elements.find((E3) => E3.name === "w:spacing"), H3 = {
21258
21260
  name: "w:p",
21259
21261
  type: "element",
21260
21262
  elements: N3 ? [{
@@ -22090,7 +22092,7 @@ Actual: ` + p3.attribValue
22090
22092
  !A && i3 && (A = i3);
22091
22093
  const w = ko$2(r22), { attributes: k } = w || {}, C = {
22092
22094
  color: c3?.elements?.find((ae2) => ae2.name === "w:shd")?.attributes["w:fill"]
22093
- }, N3 = c3?.elements?.find((ae2) => ae2.name === "w:gridSpan")?.attributes["w:val"], q = c3?.elements?.find((ae2) => ae2.name === "w:tcMar"), D3 = c3?.elements?.find((ae2) => ae2.name === "w:vAlign")?.attributes["w:val"] || "top", K3 = {}, oe2 = cu$2(s, u) || {};
22095
+ }, N3 = c3?.elements?.find((ae2) => ae2.name === "w:gridSpan")?.attributes["w:val"], q = c3?.elements?.find((ae2) => ae2.name === "w:tcMar"), E3 = c3?.elements?.find((ae2) => ae2.name === "w:vAlign")?.attributes["w:val"] || "top", K3 = {}, oe2 = cu$2(s, u) || {};
22094
22096
  K3.cellMargins = $d$2(q, oe2);
22095
22097
  const { fontSize: ee, fonts: Q3 = {} } = oe2, ce2 = Q3.ascii;
22096
22098
  if (A) {
@@ -22105,7 +22107,7 @@ Actual: ` + p3.attribValue
22105
22107
  de2.length && (K3.colwidth = [...de2]);
22106
22108
  }
22107
22109
  }
22108
- if (B && (K3.widthType = B), N3 && (K3.colspan = parseInt(N3, 10)), C && (K3.background = C), K3.verticalAlign = D3, ee && (K3.fontSize = ee), ce2 && (K3.fontFamily = ce2.ascii), n && (K3.borders = { ...n }), g && (K3.borders = Object.assign(K3.borders || {}, g)), k && k["w:val"] === "restart") {
22110
+ if (B && (K3.widthType = B), N3 && (K3.colspan = parseInt(N3, 10)), C && (K3.background = C), K3.verticalAlign = E3, ee && (K3.fontSize = ee), ce2 && (K3.fontFamily = ce2.ascii), n && (K3.borders = { ...n }), g && (K3.borders = Object.assign(K3.borders || {}, g)), k && k["w:val"] === "restart") {
22109
22111
  const ae2 = t.elements.filter((ie) => ie.name === "w:tr"), se = ae2.findIndex((ie) => ie === e), Y = ae2.slice(se + 1);
22110
22112
  let J3 = e.elements.filter((ie) => ie.name === "w:tc").findIndex((ie) => ie === r22), te2 = 1;
22111
22113
  for (let ie of Y) {
@@ -22261,7 +22263,7 @@ Actual: ` + p3.attribValue
22261
22263
  }, { attributes: C } = g, F3 = C["r:embed"];
22262
22264
  let q = n[`word/_rels/${e || "document.xml"}.rels`];
22263
22265
  q || (q = n["word/_rels/document.xml.rels"]);
22264
- const H3 = q.elements.find((Q3) => Q3.name === "Relationships"), { elements: D3 } = H3, K3 = D3.find((Q3) => Q3.attributes.Id === F3), { attributes: oe2 } = K3;
22266
+ const H3 = q.elements.find((Q3) => Q3.name === "Relationships"), { elements: E3 } = H3, K3 = E3.find((Q3) => Q3.attributes.Id === F3), { attributes: oe2 } = K3;
22265
22267
  return {
22266
22268
  type: "image",
22267
22269
  attrs: {
@@ -22431,7 +22433,7 @@ Actual: ` + p3.attribValue
22431
22433
  w.marks || (w.marks = []), w.marks.push(A);
22432
22434
  const k = w.elements.find((I3) => I3.name === "w:rPr");
22433
22435
  if (k && k.elements.find((C) => C.name === "w:rStyle")) {
22434
- const C = t["word/styles.xml"], { elements: F3 } = C.elements[0], H3 = F3.filter((D3) => D3.name === "w:style").find((D3) => D3.attributes["w:styleId"] === "Hyperlink")?.elements?.find((D3) => D3.name === "w:rPr");
22436
+ const C = t["word/styles.xml"], { elements: F3 } = C.elements[0], H3 = F3.filter((E3) => E3.name === "w:style").find((E3) => E3.attributes["w:styleId"] === "Hyperlink")?.elements?.find((E3) => E3.name === "w:rPr");
22435
22437
  H3 && w.elements.unshift(H3);
22436
22438
  }
22437
22439
  }
@@ -22565,7 +22567,7 @@ Actual: ` + p3.attribValue
22565
22567
  P3 && h3[h3.length - 1]?.content.push(P3), N3.seen = true;
22566
22568
  continue;
22567
22569
  }
22568
- const { attributes: q, elements: H3, marks: D3 = [] } = Lt$2(N3), K3 = D3.find((P3) => P3.type === "textStyle"), {
22570
+ const { attributes: q, elements: H3, marks: E3 = [] } = Lt$2(N3), K3 = E3.find((P3) => P3.type === "textStyle"), {
22569
22571
  listType: oe2,
22570
22572
  listOrderingType: ee,
22571
22573
  ilvl: Q3,
@@ -22611,10 +22613,10 @@ Actual: ` + p3.attribValue
22611
22613
  }), m = W;
22612
22614
  }
22613
22615
  }
22614
- const E3 = N3.elements.find((_) => _.name === "w:pPr")?.elements.find((_) => _.name === "w:ind");
22615
- if (E3) {
22616
+ const D3 = N3.elements.find((_) => _.name === "w:pPr")?.elements.find((_) => _.name === "w:ind");
22617
+ if (D3) {
22616
22618
  const _ = {};
22617
- E3.attributes["w:left"] !== void 0 && (_.left = xe$2(E3.attributes["w:left"])), E3.attributes["w:right"] !== void 0 && (_.right = xe$2(E3.attributes["w:right"])), E3.attributes["w:firstLine"] !== void 0 && (_.firstLine = xe$2(E3.attributes["w:firstLine"])), E3.attributes["w:hanging"] !== void 0 && (_.hanging = xe$2(E3.attributes["w:hanging"])), $3.indent = _;
22619
+ D3.attributes || (D3.attributes = {}), D3.attributes["w:left"] !== void 0 && (_.left = xe$2(D3.attributes["w:left"])), D3.attributes["w:right"] !== void 0 && (_.right = xe$2(D3.attributes["w:right"])), D3.attributes["w:firstLine"] !== void 0 && (_.firstLine = xe$2(D3.attributes["w:firstLine"])), D3.attributes["w:hanging"] !== void 0 && (_.hanging = xe$2(D3.attributes["w:hanging"])), $3.indent = _;
22618
22620
  }
22619
22621
  ae2 && ($3.listParagraphProperties = ae2), ce2 && ($3.listRunProperties = ce2), $3.textStyle = K3, $3.order = se, $3.lvlText = Y, $3.lvlJc = K3?.attrs.textAlign, $3.listLevel = m, $3.listNumberingType = ee, $3.attributes = {
22620
22622
  parentAttributes: N3?.attributes || null
@@ -22772,9 +22774,9 @@ Actual: ` + p3.attribValue
22772
22774
  };
22773
22775
  function vm$1(r22, e, t) {
22774
22776
  if (!r22) return;
22775
- const { attributes: n = {} } = r22, { paragraphProperties: i3 = {} } = n, { elements: s = [] } = i3, u = r22.elements.find((D3) => D3.name === "w:pPr")?.elements?.find((D3) => D3.name === "w:pStyle")?.attributes["w:val"], f3 = kr$1({ node: r22, styleId: u, docx: t });
22777
+ const { attributes: n = {} } = r22, { paragraphProperties: i3 = {} } = n, { elements: s = [] } = i3, u = r22.elements.find((E3) => E3.name === "w:pPr")?.elements?.find((E3) => E3.name === "w:pStyle")?.attributes["w:val"], f3 = kr$1({ node: r22, styleId: u, docx: t });
22776
22778
  if (!f3) return {};
22777
- const h3 = f3?.elements.find((D3) => D3.name === "w:numId")?.attributes["w:val"], S = f3?.elements.find((D3) => D3.name === "w:ilvl")?.attributes["w:val"] || wu$2(u, t), A = s.find((D3) => D3.name === "w:pStyle")?.attributes["w:val"], {
22779
+ const h3 = f3?.elements.find((E3) => E3.name === "w:numId")?.attributes["w:val"], S = f3?.elements.find((E3) => E3.name === "w:ilvl")?.attributes["w:val"] || wu$2(u, t), A = s.find((E3) => E3.name === "w:pStyle")?.attributes["w:val"], {
22778
22780
  start: B,
22779
22781
  numFmt: w,
22780
22782
  lvlText: k,
@@ -22941,8 +22943,8 @@ Actual: ` + p3.attribValue
22941
22943
  let B, w, k, I3;
22942
22944
  g && (B = h3?.attributes["w:val"], w = xe$2(g?.attributes["w:left"]), k = xe$2(g?.attributes["w:right"]), I3 = xe$2(g?.attributes["w:firstLine"]));
22943
22945
  const C = f3?.elements?.find((se) => se.name === "w:keepNext"), F3 = f3?.elements?.find((se) => se.name === "w:keepLines"), N3 = f3?.elements?.find((se) => se.name === "w:outlineLvl"), q = N3?.attributes["w:val"], H3 = f3?.elements?.find((se) => se.name === "w:pageBreakBefore");
22944
- let D3 = 0;
22945
- H3 && (H3.attributes?.["w:val"] ? D3 = Number(H3?.attributes?.["w:val"]) : D3 = 1);
22946
+ let E3 = 0;
22947
+ H3 && (H3.attributes?.["w:val"] ? E3 = Number(H3?.attributes?.["w:val"]) : E3 = 1);
22946
22948
  const K3 = f3?.elements?.find((se) => se.name === "w:pageBreakAfter");
22947
22949
  let oe2;
22948
22950
  K3 && (K3.attributes?.["w:val"] ? oe2 = Number(K3?.attributes?.["w:val"]) : oe2 = 1);
@@ -22952,7 +22954,7 @@ Actual: ` + p3.attribValue
22952
22954
  keepNext: !!C,
22953
22955
  keepLines: !!F3,
22954
22956
  outlineLevel: N3 ? parseInt(q) : null,
22955
- pageBreakBefore: !!D3,
22957
+ pageBreakBefore: !!E3,
22956
22958
  pageBreakAfter: !!oe2
22957
22959
  }, Q3 = o.elements.find((se) => se.name === "w:rPr"), ce2 = Bt$2(Q3, [], e) || {}, ae2 = {
22958
22960
  spacing: { lineSpaceAfter: T3, lineSpaceBefore: S, line: A },
@@ -23215,7 +23217,7 @@ Actual: ` + p3.attribValue
23215
23217
  nodes: a.elements,
23216
23218
  nodeListHandler: e,
23217
23219
  docx: r22
23218
- }), { attrs: D3 } = H3[0], K3 = D3["w14:paraId"];
23220
+ }), { attrs: E3 } = H3[0], K3 = E3["w14:paraId"];
23219
23221
  return {
23220
23222
  commentId: T3 || ba$2(),
23221
23223
  importedId: f3,
@@ -23569,7 +23571,7 @@ Actual: ` + p3.attribValue
23569
23571
  return;
23570
23572
  }
23571
23573
  }
23572
- static updateDocumentVersion(e = this.convertedXml, t = "0.9.39") {
23574
+ static updateDocumentVersion(e = this.convertedXml, t = "0.9.41") {
23573
23575
  const n = "docProps/custom.xml";
23574
23576
  e[n] || (e[n] = Tu$2());
23575
23577
  const i3 = e["docProps/custom.xml"];
@@ -23794,7 +23796,7 @@ Actual: ` + p3.attribValue
23794
23796
  function Tu$2() {
23795
23797
  return _f$2;
23796
23798
  }
23797
- function Fu$2(r22 = 2, e = "0.9.39") {
23799
+ function Fu$2(r22 = 2, e = "0.9.41") {
23798
23800
  return {
23799
23801
  type: "element",
23800
23802
  name: "property",
@@ -36304,7 +36306,7 @@ Actual: ` + p3.attribValue
36304
36306
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
36305
36307
  */
36306
36308
  processCollaborationMigrations() {
36307
- if (console.debug("[checkVersionMigrations] Current editor version", "0.9.39"), !this.options.ydoc) return;
36309
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.9.41"), !this.options.ydoc) return;
36308
36310
  let r = this.options.ydoc.getMap("meta").get("version");
36309
36311
  r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
36310
36312
  const o = Qa$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
@@ -68594,7 +68596,7 @@ ${style2}
68594
68596
  this.config.colors = shuffleArray(this.config.colors);
68595
68597
  this.userColorMap = /* @__PURE__ */ new Map();
68596
68598
  this.colorIndex = 0;
68597
- this.version = "0.9.39";
68599
+ this.version = "0.9.41";
68598
68600
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
68599
68601
  this.superdocId = config.superdocId || v4();
68600
68602
  this.colors = this.config.colors;