hoeditor-web 3.3.5-beta.2 → 3.3.5-beta.3

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.
@@ -1,6 +1,6 @@
1
- var La = Object.defineProperty;
2
- var Ma = (a, t, r) => t in a ? La(a, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[t] = r;
3
- var b = (a, t, r) => Ma(a, typeof t != "symbol" ? t + "" : t, r);
1
+ var Ma = Object.defineProperty;
2
+ var Ra = (a, t, r) => t in a ? Ma(a, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[t] = r;
3
+ var b = (a, t, r) => Ra(a, typeof t != "symbol" ? t + "" : t, r);
4
4
  import Vue, { defineComponent, computed, h, ref, reactive, inject, onMounted, watch, toRefs, provide, onBeforeMount } from "vue";
5
5
  import VueI18n from "vue-i18n";
6
6
  import { message, Modal } from "ant-design-vue";
@@ -4452,7 +4452,7 @@ class DrawContainer extends createjs$1.Container {
4452
4452
  return this._drawItems.length == 0;
4453
4453
  }
4454
4454
  }
4455
- const Os = class Os {
4455
+ const Bs = class Bs {
4456
4456
  constructor() {
4457
4457
  b(this, "_scaleXY");
4458
4458
  b(this, "_transformScale", 1);
@@ -4474,11 +4474,11 @@ const Os = class Os {
4474
4474
  return this._scaleXY !== 1 ? this._scaleXY : this._transformScale !== 1 ? this._transformScale : 1;
4475
4475
  }
4476
4476
  static instance() {
4477
- return this._instance || (this._instance = new Os()), this._instance;
4477
+ return this._instance || (this._instance = new Bs()), this._instance;
4478
4478
  }
4479
4479
  };
4480
- b(Os, "_instance");
4481
- let DrawConfig = Os;
4480
+ b(Bs, "_instance");
4481
+ let DrawConfig = Bs;
4482
4482
  class Caret {
4483
4483
  // get dLine(): DrawLine | DrawTable {
4484
4484
  // return this._dLine;
@@ -5706,6 +5706,33 @@ class TextStyle {
5706
5706
  r.size !== t.size && (this.size = t.size), r.font !== t.font && (this.font = t.font), r.backColor !== t.backColor && (this.backColor = t.backColor), r.color !== t.color && (this.color = t.color), r.bold !== t.bold && (this.bold = t.bold), r.commentID !== t.commentID && (this.commentID = t.commentID), r.creatorIndex !== t.creatorIndex && (this.creatorIndex = t.creatorIndex), r.deleterIndex !== t.deleterIndex && (this.deleterIndex = t.deleterIndex), r.modifierIndex !== t.modifierIndex && (this.modifierIndex = t.modifierIndex), r.italic !== t.italic && (this.italic = t.italic), r.script !== t.script && (this.script = t.script), r.strikeout !== t.strikeout && (this.strikeout = t.strikeout), r.underline !== t.underline && (this.underline = t.underline);
5707
5707
  }
5708
5708
  }
5709
+ const MISSING_CIRCLED_NUMBERS$1 = {
5710
+ 9322: "11",
5711
+ 9323: "12",
5712
+ 9324: "13",
5713
+ 9325: "14",
5714
+ 9326: "15",
5715
+ 9327: "16",
5716
+ 9328: "17",
5717
+ 9329: "18",
5718
+ 9330: "19",
5719
+ 9331: "20"
5720
+ };
5721
+ function isMissingGlyph$1(a) {
5722
+ return a.length === 1 && MISSING_CIRCLED_NUMBERS$1.hasOwnProperty(a.charCodeAt(0));
5723
+ }
5724
+ function getMissingGlyphNumber$1(a) {
5725
+ return MISSING_CIRCLED_NUMBERS$1[a.charCodeAt(0)] || "";
5726
+ }
5727
+ function hasMissingGlyph$1(a) {
5728
+ for (let t = 0; t < a.length; t++)
5729
+ if (isMissingGlyph$1(a[t])) return !0;
5730
+ return !1;
5731
+ }
5732
+ function drawCircledNumber$1(a, t, r, o, n, s, l, c) {
5733
+ const u = o * 0.86 / 2, f = t + o / 2, p = r - o * 0.38;
5734
+ a.beginPath(), a.arc(f, p, u, 0, Math.PI * 2), c ? (a.strokeStyle = l, a.lineWidth = c) : (a.strokeStyle = l, a.lineWidth = Math.max(0.3, o * 0.04)), a.stroke(), a.save(), a.translate(f, p), a.scale(0.72, 0.72), a.fillStyle = l, a.textAlign = "center", a.textBaseline = "middle", a.fillText(n, 0, 0), a.restore();
5735
+ }
5709
5736
  const Bo = class Bo extends createjs$1.Text {
5710
5737
  constructor(r, o, n, s) {
5711
5738
  super(r, o, n);
@@ -5717,7 +5744,7 @@ const Bo = class Bo extends createjs$1.Text {
5717
5744
  let c = 0;
5718
5745
  if (r)
5719
5746
  for (let d = 0, u = r.length; d < u; d++)
5720
- r.charCodeAt(d) >= 1e4 ? c = this._chinesWordWidth : c = this._getMeasuredWidth(r[d]), this._docWidth += c, l = l + c + this._letterSpacing;
5747
+ isMissingGlyph$1(r[d]) ? c = this._chinesWordWidth : r.charCodeAt(d) >= 1e4 ? c = this._chinesWordWidth : c = this._getMeasuredWidth(r[d]), this._docWidth += c, l = l + c + this._letterSpacing;
5721
5748
  }
5722
5749
  get docWidth() {
5723
5750
  return this._docWidth;
@@ -5741,9 +5768,27 @@ const Bo = class Bo extends createjs$1.Text {
5741
5768
  if (r instanceof CanvasRenderingContext2D)
5742
5769
  for (let f = 0, p = c.length; f < p; f++) {
5743
5770
  let m = 0;
5744
- c.charCodeAt(f) >= 1e4 ? m = this._chinesWordWidth : m = this._getMeasuredWidth(c[f]), this.outline ? r.strokeText(c[f], d, 0, this.maxWidth || 65535) : r.fillText(c[f], d, 0, this.maxWidth || 65535), d += m + this._letterSpacing, u += m;
5771
+ isMissingGlyph$1(c[f]) ? m = this._chinesWordWidth : c.charCodeAt(f) >= 1e4 ? m = this._chinesWordWidth : m = this._getMeasuredWidth(c[f]), this.outline ? r.strokeText(c[f], d, 0, this.maxWidth || 65535) : r.fillText(c[f], d, 0, this.maxWidth || 65535), d += m + this._letterSpacing, u += m;
5745
5772
  }
5746
- else r && (this.outline ? r.strokeText(c, 0, 0, this.maxWidth || 65535) : (this.font.indexOf("bold") != -1 && (r.strokeStyle = r.fillStyle, r.strokeText(c, 0, 0, this.maxWidth || 65535)), r.fillText(c, 0, 0, this.maxWidth || 65535)));
5773
+ else if (r)
5774
+ if (hasMissingGlyph$1(c)) {
5775
+ let f = 0;
5776
+ for (let p = 0, m = c.length; p < m; p++) {
5777
+ const g = c[p];
5778
+ let y = 0;
5779
+ isMissingGlyph$1(g) ? y = this._chinesWordWidth : c.charCodeAt(p) >= 1e4 ? y = this._chinesWordWidth : y = this._getMeasuredWidth(g), isMissingGlyph$1(g) ? drawCircledNumber$1(
5780
+ r,
5781
+ f,
5782
+ 0,
5783
+ y,
5784
+ getMissingGlyphNumber$1(g),
5785
+ this.font || "12pt SimSun",
5786
+ l,
5787
+ this.outline
5788
+ ) : this.outline ? r.strokeText(g, f, 0, y || this.maxWidth) : r.fillText(g, f, 0, y || this.maxWidth), f += y + this._letterSpacing, u += y;
5789
+ }
5790
+ } else
5791
+ this.outline ? r.strokeText(c, 0, 0, this.maxWidth || 65535) : (this.font.indexOf("bold") != -1 && (r.strokeStyle = r.fillStyle, r.strokeText(c, 0, 0, this.maxWidth || 65535)), r.fillText(c, 0, 0, this.maxWidth || 65535));
5747
5792
  return this._docWidth = u, s || r.restore(), o;
5748
5793
  }
5749
5794
  static getWorkingContext() {
@@ -6570,6 +6615,33 @@ class SpecialCharsNode extends ControlNode {
6570
6615
  return i18nHelper("04-001-009-EMR.3.3.324", null, "特殊字符");
6571
6616
  }
6572
6617
  }
6618
+ const MISSING_CIRCLED_NUMBERS = {
6619
+ 9322: "11",
6620
+ 9323: "12",
6621
+ 9324: "13",
6622
+ 9325: "14",
6623
+ 9326: "15",
6624
+ 9327: "16",
6625
+ 9328: "17",
6626
+ 9329: "18",
6627
+ 9330: "19",
6628
+ 9331: "20"
6629
+ };
6630
+ function isMissingGlyph(a) {
6631
+ return a.length === 1 && MISSING_CIRCLED_NUMBERS.hasOwnProperty(a.charCodeAt(0));
6632
+ }
6633
+ function getMissingGlyphNumber(a) {
6634
+ return MISSING_CIRCLED_NUMBERS[a.charCodeAt(0)] || "";
6635
+ }
6636
+ function hasMissingGlyph(a) {
6637
+ for (let t = 0; t < a.length; t++)
6638
+ if (isMissingGlyph(a[t])) return !0;
6639
+ return !1;
6640
+ }
6641
+ function drawCircledNumber(a, t, r, o, n, s, l, c) {
6642
+ const u = o * 0.86 / 2, f = t + o / 2, p = r - o * 0.38;
6643
+ a.beginPath(), a.arc(f, p, u, 0, Math.PI * 2), c ? (a.strokeStyle = l, a.lineWidth = c) : (a.strokeStyle = l, a.lineWidth = Math.max(0.3, o * 0.04)), a.stroke(), a.save(), a.translate(f, p), a.scale(0.72, 0.72), a.fillStyle = l, a.textAlign = "center", a.textBaseline = "middle", a.fillText(n, 0, 0), a.restore();
6644
+ }
6573
6645
  const zo = class zo extends createjs$1.Text {
6574
6646
  constructor(r, o, n, s, l, c, d, u, f) {
6575
6647
  super("", c, d);
@@ -6636,7 +6708,7 @@ const zo = class zo extends createjs$1.Text {
6636
6708
  }
6637
6709
  getCharWidth(r, o) {
6638
6710
  let n = 0;
6639
- return o && o.charCodeAt(0) >= 1e4 ? n = this._chinesWordWidth : (n = this._node.dCombineStyle.getEnglishWidth(o), n == 0 && (r ? n = r.measureText(o).width : n = this._getMeasuredWidth(o), this._node.dCombineStyle.setEnglishWidth(o, n))), n;
6711
+ return o && isMissingGlyph(o) ? this._chinesWordWidth : (o && o.charCodeAt(0) >= 1e4 ? n = this._chinesWordWidth : (n = this._node.dCombineStyle.getEnglishWidth(o), n == 0 && (r ? n = r.measureText(o).width : n = this._getMeasuredWidth(o), this._node.dCombineStyle.setEnglishWidth(o, n))), n);
6640
6712
  }
6641
6713
  _drawText(r, o, n) {
6642
6714
  const s = !!r;
@@ -6664,7 +6736,23 @@ const zo = class zo extends createjs$1.Text {
6664
6736
  for (let p = 0, m = this._node.combination.length; p < m; p++)
6665
6737
  f += this._node.combination[p];
6666
6738
  }
6667
- this.outline ? r.strokeText(f, 0, 0, u || this._maxWidth) : (this.font.indexOf("bold") != -1 && (r.strokeStyle = r.fillStyle, r.strokeText(f, 0, 0, u || this._maxWidth)), r.fillText(f, 0, 0, u || this._maxWidth));
6739
+ if (hasMissingGlyph(f)) {
6740
+ let p = 0;
6741
+ for (let m = 0, g = f.length; m < g; m++) {
6742
+ const y = f[m], w = this.getCharWidth(r, y);
6743
+ isMissingGlyph(y) ? drawCircledNumber(
6744
+ r,
6745
+ p,
6746
+ 0,
6747
+ w,
6748
+ getMissingGlyphNumber(y),
6749
+ this.font || "12pt SimSun",
6750
+ l,
6751
+ this.outline
6752
+ ) : this.outline ? r.strokeText(y, p, 0, w || this._maxWidth) : r.fillText(y, p, 0, w || this._maxWidth), p += w + this._letterSpacing;
6753
+ }
6754
+ } else
6755
+ this.outline ? r.strokeText(f, 0, 0, u || this._maxWidth) : (this.font.indexOf("bold") != -1 && (r.strokeStyle = r.fillStyle, r.strokeText(f, 0, 0, u || this._maxWidth)), r.fillText(f, 0, 0, u || this._maxWidth));
6668
6756
  }
6669
6757
  return this._docWidth = u, this._dWidth = d > 0 ? d - this._letterSpacing : 0, o && (o.width = this._dWidth, o.height = this._node.dHeight), s || r.restore(), o;
6670
6758
  }
@@ -11579,12 +11667,12 @@ class DrawPageTable extends DrawRect {
11579
11667
  // return this._endRowinfos.changed;
11580
11668
  // }
11581
11669
  }
11582
- const Bs = class Bs {
11670
+ const zs = class zs {
11583
11671
  constructor() {
11584
11672
  b(this, "_modalStatusObject");
11585
11673
  }
11586
11674
  static instance() {
11587
- return this._instance || (this._instance = new Bs()), this._instance;
11675
+ return this._instance || (this._instance = new zs()), this._instance;
11588
11676
  }
11589
11677
  get modalStatusObject() {
11590
11678
  return this._modalStatusObject;
@@ -11593,8 +11681,8 @@ const Bs = class Bs {
11593
11681
  t !== this._modalStatusObject && (this._modalStatusObject = t);
11594
11682
  }
11595
11683
  };
11596
- b(Bs, "_instance");
11597
- let CommonData = Bs;
11684
+ b(zs, "_instance");
11685
+ let CommonData = zs;
11598
11686
  function normalizeComponent$1(a, t, r, o, n, s, l, c) {
11599
11687
  var d = typeof a == "function" ? a.options : a;
11600
11688
  return t && (d.render = t, d.staticRenderFns = r, d._compiled = !0), {
@@ -15216,7 +15304,7 @@ class DrawSignNode extends DrawCombineNode {
15216
15304
  }
15217
15305
  }
15218
15306
  }
15219
- const version = "3.3.5-beta.2";
15307
+ const version = "3.3.5-beta.3";
15220
15308
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
15221
15309
  class SignNode extends BaseNode {
15222
15310
  constructor(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties, dataId, associatedElement, isTemp, innerIdentifier) {
@@ -34941,7 +35029,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
34941
35029
  function Ki(S, A) {
34942
35030
  return S.slice(A, 7).concat(S.slice(0, A));
34943
35031
  }
34944
- var Ri = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Pr = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Fn = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), un = ee, In = ee, An = ee;
35032
+ var Ri = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Pr = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), In = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), un = ee, An = ee, Ln = ee;
34945
35033
  function vo(S, A) {
34946
35034
  var G = s(this._weekdays) ? this._weekdays : this._weekdays[S && S !== !0 && this._weekdays.isFormat.test(A) ? "format" : "standalone"];
34947
35035
  return S === !0 ? Ki(G, this._week.dow) : S ? G[S.day()] : G;
@@ -34995,13 +35083,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
34995
35083
  var A = ui(this, "Day");
34996
35084
  return S != null ? (S = Zr(S, this.localeData()), this.add(S - A, "d")) : A;
34997
35085
  }
34998
- function Ln(S) {
35086
+ function Mn(S) {
34999
35087
  if (!this.isValid())
35000
35088
  return S != null ? this : NaN;
35001
35089
  var A = (this.day() + 7 - this.localeData()._week.dow) % 7;
35002
35090
  return S == null ? A : this.add(S - A, "d");
35003
35091
  }
35004
- function Mn(S) {
35092
+ function Rn(S) {
35005
35093
  if (!this.isValid())
35006
35094
  return S != null ? this : NaN;
35007
35095
  if (S != null) {
@@ -35010,14 +35098,14 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35010
35098
  } else
35011
35099
  return this.day() || 7;
35012
35100
  }
35013
- function Rn(S) {
35101
+ function kn(S) {
35014
35102
  return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysStrictRegex : this._weekdaysRegex) : (c(this, "_weekdaysRegex") || (this._weekdaysRegex = un), this._weekdaysStrictRegex && S ? this._weekdaysStrictRegex : this._weekdaysRegex);
35015
35103
  }
35016
35104
  function jo(S) {
35017
- return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (c(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = In), this._weekdaysShortStrictRegex && S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
35105
+ return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (c(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = An), this._weekdaysShortStrictRegex && S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
35018
35106
  }
35019
35107
  function gn(S) {
35020
- return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (c(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = An), this._weekdaysMinStrictRegex && S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
35108
+ return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (c(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ln), this._weekdaysMinStrictRegex && S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
35021
35109
  }
35022
35110
  function yi() {
35023
35111
  function S(Lr, ci) {
@@ -35088,8 +35176,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35088
35176
  function $i(S) {
35089
35177
  return (S + "").toLowerCase().charAt(0) === "p";
35090
35178
  }
35091
- var Co = /[ap]\.?m?\.?/i, kn = oi("Hours", !0);
35092
- function Hn(S, A, G) {
35179
+ var Co = /[ap]\.?m?\.?/i, Hn = oi("Hours", !0);
35180
+ function On(S, A, G) {
35093
35181
  return S > 11 ? G ? "pm" : "PM" : G ? "am" : "AM";
35094
35182
  }
35095
35183
  var Ni = {
@@ -35103,7 +35191,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35103
35191
  monthsShort: Xi,
35104
35192
  week: cr,
35105
35193
  weekdays: Ri,
35106
- weekdaysMin: Fn,
35194
+ weekdaysMin: In,
35107
35195
  weekdaysShort: Pr,
35108
35196
  meridiemParse: Co
35109
35197
  }, sr = {}, vi = {}, ki;
@@ -35197,7 +35285,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35197
35285
  var A, G = S._a;
35198
35286
  return G && v(S).overflow === -2 && (A = G[tr] < 0 || G[tr] > 11 ? tr : G[Vt] < 1 || G[Vt] > gi(G[jt], G[tr]) ? Vt : G[Zt] < 0 || G[Zt] > 24 || G[Zt] === 24 && (G[lr] !== 0 || G[gr] !== 0 || G[Rr] !== 0) ? Zt : G[lr] < 0 || G[lr] > 59 ? lr : G[gr] < 0 || G[gr] > 59 ? gr : G[Rr] < 0 || G[Rr] > 999 ? Rr : -1, v(S)._overflowDayOfYear && (A < jt || A > Vt) && (A = Vt), v(S)._overflowWeeks && A === -1 && (A = hi), v(S)._overflowWeekday && A === -1 && (A = Or), v(S).overflow = A), S;
35199
35287
  }
35200
- var Zo = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, wn = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, On = /Z|[+-]\d\d(?::?\d\d)?/, Si = [
35288
+ var Zo = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, wn = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Bn = /Z|[+-]\d\d(?::?\d\d)?/, Si = [
35201
35289
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
35202
35290
  ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
35203
35291
  ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
@@ -35261,7 +35349,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35261
35349
  return;
35262
35350
  }
35263
35351
  if (ae[4])
35264
- if (On.exec(ae[4]))
35352
+ if (Bn.exec(ae[4]))
35265
35353
  Mt = "Z";
35266
35354
  else {
35267
35355
  S._isValid = !1;
@@ -35729,18 +35817,18 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35729
35817
  Le || this.localeData().calendar(ae, this, fr(G))
35730
35818
  );
35731
35819
  }
35732
- function Bn() {
35820
+ function zn() {
35733
35821
  return new M(this);
35734
35822
  }
35735
- function rs(S, A) {
35823
+ function is(S, A) {
35736
35824
  var G = k(S) ? S : fr(S);
35737
35825
  return this.isValid() && G.isValid() ? (A = Be(A) || "millisecond", A === "millisecond" ? this.valueOf() > G.valueOf() : G.valueOf() < this.clone().startOf(A).valueOf()) : !1;
35738
35826
  }
35739
- function zn(S, A) {
35827
+ function Wn(S, A) {
35740
35828
  var G = k(S) ? S : fr(S);
35741
35829
  return this.isValid() && G.isValid() ? (A = Be(A) || "millisecond", A === "millisecond" ? this.valueOf() < G.valueOf() : this.clone().endOf(A).valueOf() < G.valueOf()) : !1;
35742
35830
  }
35743
- function Wn(S, A, G, q) {
35831
+ function jn(S, A, G, q) {
35744
35832
  var ae = k(S) ? S : fr(S), Le = k(A) ? A : fr(A);
35745
35833
  return this.isValid() && ae.isValid() && Le.isValid() ? (q = q || "()", (q[0] === "(" ? this.isAfter(ae, G) : !this.isBefore(ae, G)) && (q[1] === ")" ? this.isBefore(Le, G) : !this.isAfter(Le, G))) : !1;
35746
35834
  }
@@ -35748,13 +35836,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35748
35836
  var G = k(S) ? S : fr(S), q;
35749
35837
  return this.isValid() && G.isValid() ? (A = Be(A) || "millisecond", A === "millisecond" ? this.valueOf() === G.valueOf() : (q = G.valueOf(), this.clone().startOf(A).valueOf() <= q && q <= this.clone().endOf(A).valueOf())) : !1;
35750
35838
  }
35751
- function jn(S, A) {
35839
+ function Un(S, A) {
35752
35840
  return this.isSame(S, A) || this.isAfter(S, A);
35753
35841
  }
35754
- function Ws(S, A) {
35842
+ function js(S, A) {
35755
35843
  return this.isSame(S, A) || this.isBefore(S, A);
35756
35844
  }
35757
- function js(S, A, G) {
35845
+ function Us(S, A, G) {
35758
35846
  var q, ae, Le;
35759
35847
  if (!this.isValid())
35760
35848
  return NaN;
@@ -35802,10 +35890,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35802
35890
  return A - q < 0 ? (ae = S.clone().add(G - 1, "months"), Le = (A - q) / (q - ae)) : (ae = S.clone().add(G + 1, "months"), Le = (A - q) / (ae - q)), -(G + Le) || 0;
35803
35891
  }
35804
35892
  o.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", o.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
35805
- function Us() {
35893
+ function Ys() {
35806
35894
  return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
35807
35895
  }
35808
- function Ys(S) {
35896
+ function Zs(S) {
35809
35897
  if (!this.isValid())
35810
35898
  return null;
35811
35899
  var A = S !== !0, G = A ? this.clone().utc() : this;
@@ -35817,51 +35905,51 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35817
35905
  A ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
35818
35906
  );
35819
35907
  }
35820
- function Zs() {
35908
+ function Gs() {
35821
35909
  if (!this.isValid())
35822
35910
  return "moment.invalid(/* " + this._i + " */)";
35823
35911
  var S = "moment", A = "", G, q, ae, Le;
35824
35912
  return this.isLocal() || (S = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", A = "Z"), G = "[" + S + '("]', q = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", ae = "-MM-DD[T]HH:mm:ss.SSS", Le = A + '[")]', this.format(G + q + ae + Le);
35825
35913
  }
35826
- function Gs(S) {
35914
+ function Vs(S) {
35827
35915
  S || (S = this.isUtc() ? o.defaultFormatUtc : o.defaultFormat);
35828
35916
  var A = we(this, S);
35829
35917
  return this.localeData().postformat(A);
35830
35918
  }
35831
- function Vs(S, A) {
35919
+ function Xs(S, A) {
35832
35920
  return this.isValid() && (k(S) && S.isValid() || fr(S).isValid()) ? Hr({ to: this, from: S }).locale(this.locale()).humanize(!A) : this.localeData().invalidDate();
35833
35921
  }
35834
- function Un(S) {
35922
+ function Yn(S) {
35835
35923
  return this.from(fr(), S);
35836
35924
  }
35837
- function Yn(S, A) {
35925
+ function Zn(S, A) {
35838
35926
  return this.isValid() && (k(S) && S.isValid() || fr(S).isValid()) ? Hr({ from: this, to: S }).locale(this.locale()).humanize(!A) : this.localeData().invalidDate();
35839
35927
  }
35840
35928
  function rn(S) {
35841
35929
  return this.to(fr(), S);
35842
35930
  }
35843
- function is(S) {
35931
+ function os(S) {
35844
35932
  var A;
35845
35933
  return S === void 0 ? this._locale._abbr : (A = Qr(S), A != null && (this._locale = A), this);
35846
35934
  }
35847
- var os = H(
35935
+ var ns = H(
35848
35936
  "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
35849
35937
  function(S) {
35850
35938
  return S === void 0 ? this.localeData() : this.locale(S);
35851
35939
  }
35852
35940
  );
35853
- function Zn() {
35941
+ function Gn() {
35854
35942
  return this._locale;
35855
35943
  }
35856
- var _n = 1e3, Do = 60 * _n, Pn = 60 * Do, ns = (365 * 400 + 97) * 24 * Pn;
35944
+ var _n = 1e3, Do = 60 * _n, Pn = 60 * Do, ss = (365 * 400 + 97) * 24 * Pn;
35857
35945
  function fo(S, A) {
35858
35946
  return (S % A + A) % A;
35859
35947
  }
35860
35948
  function Ai(S, A, G) {
35861
- return S < 100 && S >= 0 ? new Date(S + 400, A, G) - ns : new Date(S, A, G).valueOf();
35949
+ return S < 100 && S >= 0 ? new Date(S + 400, A, G) - ss : new Date(S, A, G).valueOf();
35862
35950
  }
35863
35951
  function $r(S, A, G) {
35864
- return S < 100 && S >= 0 ? Date.UTC(S + 400, A, G) - ns : Date.UTC(S, A, G);
35952
+ return S < 100 && S >= 0 ? Date.UTC(S + 400, A, G) - ss : Date.UTC(S, A, G);
35865
35953
  }
35866
35954
  function Li(S) {
35867
35955
  var A, G;
@@ -35965,16 +36053,16 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35965
36053
  }
35966
36054
  return this._d.setTime(A), o.updateOffset(this, !0), this;
35967
36055
  }
35968
- function ss() {
36056
+ function as() {
35969
36057
  return this._d.valueOf() - (this._offset || 0) * 6e4;
35970
36058
  }
35971
- function Gn() {
36059
+ function Vn() {
35972
36060
  return Math.floor(this.valueOf() / 1e3);
35973
36061
  }
35974
36062
  function Eo() {
35975
36063
  return new Date(this.valueOf());
35976
36064
  }
35977
- function Vn() {
36065
+ function Xn() {
35978
36066
  var S = this;
35979
36067
  return [
35980
36068
  S.year(),
@@ -35986,7 +36074,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35986
36074
  S.millisecond()
35987
36075
  ];
35988
36076
  }
35989
- function as() {
36077
+ function ls() {
35990
36078
  var S = this;
35991
36079
  return {
35992
36080
  years: S.year(),
@@ -35998,19 +36086,19 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
35998
36086
  milliseconds: S.milliseconds()
35999
36087
  };
36000
36088
  }
36001
- function ls() {
36089
+ function cs() {
36002
36090
  return this.isValid() ? this.toISOString() : null;
36003
36091
  }
36004
- function cs() {
36092
+ function ds() {
36005
36093
  return _(this);
36006
36094
  }
36007
- function ds() {
36095
+ function hs() {
36008
36096
  return g({}, v(this));
36009
36097
  }
36010
- function hs() {
36098
+ function us() {
36011
36099
  return v(this).overflow;
36012
36100
  }
36013
- function us() {
36101
+ function fs() {
36014
36102
  return {
36015
36103
  input: this._i,
36016
36104
  format: this._f,
@@ -36019,7 +36107,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36019
36107
  strict: this._strict
36020
36108
  };
36021
36109
  }
36022
- oe("N", 0, 0, "eraAbbr"), oe("NN", 0, 0, "eraAbbr"), oe("NNN", 0, 0, "eraAbbr"), oe("NNNN", 0, 0, "eraName"), oe("NNNNN", 0, 0, "eraNarrow"), oe("y", ["y", 1], "yo", "eraYear"), oe("y", ["yy", 2], 0, "eraYear"), oe("y", ["yyy", 3], 0, "eraYear"), oe("y", ["yyyy", 4], 0, "eraYear"), Ge("N", Tn), Ge("NN", Tn), Ge("NNN", Tn), Ge("NNNN", Cs), Ge("NNNNN", xs), Ot(
36110
+ oe("N", 0, 0, "eraAbbr"), oe("NN", 0, 0, "eraAbbr"), oe("NNN", 0, 0, "eraAbbr"), oe("NNNN", 0, 0, "eraName"), oe("NNNNN", 0, 0, "eraNarrow"), oe("y", ["y", 1], "yo", "eraYear"), oe("y", ["yy", 2], 0, "eraYear"), oe("y", ["yyy", 3], 0, "eraYear"), oe("y", ["yyyy", 4], 0, "eraYear"), Ge("N", Tn), Ge("NN", Tn), Ge("NNN", Tn), Ge("NNNN", xs), Ge("NNNNN", bs), Ot(
36023
36111
  ["N", "NN", "NNN", "NNNN", "NNNNN"],
36024
36112
  function(S, A, G, q) {
36025
36113
  var ae = G._locale.erasParse(S, q, G._strict);
@@ -36029,7 +36117,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36029
36117
  var ae;
36030
36118
  G._locale._eraYearOrdinalRegex && (ae = S.match(G._locale._eraYearOrdinalRegex)), G._locale.eraYearOrdinalParse ? A[jt] = G._locale.eraYearOrdinalParse(S, ae) : A[jt] = parseInt(S, 10);
36031
36119
  });
36032
- function fs(S, A) {
36120
+ function ps(S, A) {
36033
36121
  var G, q, ae, Le = this._eras || Qr("en")._eras;
36034
36122
  for (G = 0, q = Le.length; G < q; ++G) {
36035
36123
  switch (typeof Le[G].since) {
@@ -36048,7 +36136,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36048
36136
  }
36049
36137
  return Le;
36050
36138
  }
36051
- function ps(S, A, G) {
36139
+ function gs(S, A, G) {
36052
36140
  var q, ae, Le = this.eras(), $e, Ct, Mt;
36053
36141
  for (S = S.toUpperCase(), q = 0, ae = Le.length; q < ae; ++q)
36054
36142
  if ($e = Le[q].name.toUpperCase(), Ct = Le[q].abbr.toUpperCase(), Mt = Le[q].narrow.toUpperCase(), G)
@@ -36071,60 +36159,60 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36071
36159
  else if ([$e, Ct, Mt].indexOf(S) >= 0)
36072
36160
  return Le[q];
36073
36161
  }
36074
- function gs(S, A) {
36162
+ function ms(S, A) {
36075
36163
  var G = S.since <= S.until ? 1 : -1;
36076
36164
  return A === void 0 ? o(S.since).year() : o(S.since).year() + (A - S.offset) * G;
36077
36165
  }
36078
- function ms() {
36166
+ function ys() {
36079
36167
  var S, A, G, q = this.localeData().eras();
36080
36168
  for (S = 0, A = q.length; S < A; ++S)
36081
36169
  if (G = this.clone().startOf("day").valueOf(), q[S].since <= G && G <= q[S].until || q[S].until <= G && G <= q[S].since)
36082
36170
  return q[S].name;
36083
36171
  return "";
36084
36172
  }
36085
- function ys() {
36173
+ function vs() {
36086
36174
  var S, A, G, q = this.localeData().eras();
36087
36175
  for (S = 0, A = q.length; S < A; ++S)
36088
36176
  if (G = this.clone().startOf("day").valueOf(), q[S].since <= G && G <= q[S].until || q[S].until <= G && G <= q[S].since)
36089
36177
  return q[S].narrow;
36090
36178
  return "";
36091
36179
  }
36092
- function vs() {
36180
+ function ws() {
36093
36181
  var S, A, G, q = this.localeData().eras();
36094
36182
  for (S = 0, A = q.length; S < A; ++S)
36095
36183
  if (G = this.clone().startOf("day").valueOf(), q[S].since <= G && G <= q[S].until || q[S].until <= G && G <= q[S].since)
36096
36184
  return q[S].abbr;
36097
36185
  return "";
36098
36186
  }
36099
- function Xs() {
36187
+ function qs() {
36100
36188
  var S, A, G, q, ae = this.localeData().eras();
36101
36189
  for (S = 0, A = ae.length; S < A; ++S)
36102
36190
  if (G = ae[S].since <= ae[S].until ? 1 : -1, q = this.clone().startOf("day").valueOf(), ae[S].since <= q && q <= ae[S].until || ae[S].until <= q && q <= ae[S].since)
36103
36191
  return (this.year() - o(ae[S].since).year()) * G + ae[S].offset;
36104
36192
  return this.year();
36105
36193
  }
36106
- function ws(S) {
36107
- return c(this, "_erasNameRegex") || Xn.call(this), S ? this._erasNameRegex : this._erasRegex;
36194
+ function Cs(S) {
36195
+ return c(this, "_erasNameRegex") || qn.call(this), S ? this._erasNameRegex : this._erasRegex;
36108
36196
  }
36109
36197
  function Ui(S) {
36110
- return c(this, "_erasAbbrRegex") || Xn.call(this), S ? this._erasAbbrRegex : this._erasRegex;
36198
+ return c(this, "_erasAbbrRegex") || qn.call(this), S ? this._erasAbbrRegex : this._erasRegex;
36111
36199
  }
36112
36200
  function on(S) {
36113
- return c(this, "_erasNarrowRegex") || Xn.call(this), S ? this._erasNarrowRegex : this._erasRegex;
36201
+ return c(this, "_erasNarrowRegex") || qn.call(this), S ? this._erasNarrowRegex : this._erasRegex;
36114
36202
  }
36115
36203
  function Tn(S, A) {
36116
36204
  return A.erasAbbrRegex(S);
36117
36205
  }
36118
- function Cs(S, A) {
36206
+ function xs(S, A) {
36119
36207
  return A.erasNameRegex(S);
36120
36208
  }
36121
- function xs(S, A) {
36209
+ function bs(S, A) {
36122
36210
  return A.erasNarrowRegex(S);
36123
36211
  }
36124
36212
  function ei(S, A) {
36125
36213
  return A._eraYearOrdinalRegex || At;
36126
36214
  }
36127
- function Xn() {
36215
+ function qn() {
36128
36216
  var S = [], A = [], G = [], q = [], ae, Le, $e, Ct, Mt, qt = this.eras();
36129
36217
  for (ae = 0, Le = qt.length; ae < Le; ++ae)
36130
36218
  $e = Jt(qt[ae].name), Ct = Jt(qt[ae].abbr), Mt = Jt(qt[ae].narrow), A.push($e), S.push(Ct), G.push(Mt), q.push($e), q.push(Ct), q.push(Mt);
@@ -36149,7 +36237,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36149
36237
  ), Cr(["gg", "GG"], function(S, A, G, q) {
36150
36238
  A[q] = o.parseTwoDigitYear(S);
36151
36239
  });
36152
- function bs(S) {
36240
+ function _s(S) {
36153
36241
  return nn.call(
36154
36242
  this,
36155
36243
  S,
@@ -36159,7 +36247,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36159
36247
  this.localeData()._week.doy
36160
36248
  );
36161
36249
  }
36162
- function _s(S) {
36250
+ function Ps(S) {
36163
36251
  return nn.call(
36164
36252
  this,
36165
36253
  S,
@@ -36169,13 +36257,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36169
36257
  4
36170
36258
  );
36171
36259
  }
36172
- function Ps() {
36260
+ function Ns() {
36173
36261
  return Lt(this.year(), 1, 4);
36174
36262
  }
36175
- function Ns() {
36263
+ function Ts() {
36176
36264
  return Lt(this.isoWeekYear(), 1, 4);
36177
36265
  }
36178
- function qs() {
36266
+ function Qs() {
36179
36267
  var S = this.localeData()._week;
36180
36268
  return Lt(this.year(), S.dow, S.doy);
36181
36269
  }
@@ -36194,7 +36282,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36194
36282
  oe("Q", 0, "Qo", "quarter"), Ge("Q", ot), Ot("Q", function(S, A) {
36195
36283
  A[tr] = (Et(S) - 1) * 3;
36196
36284
  });
36197
- function qn(S) {
36285
+ function Qn(S) {
36198
36286
  return S == null ? Math.ceil((this.month() + 1) / 3) : this.month((S - 1) * 3 + this.month() % 3);
36199
36287
  }
36200
36288
  oe("D", ["DD", 2], "Do", "date"), Ge("D", pt, ne), Ge("DD", pt, ht), Ge("Do", function(S, A) {
@@ -36202,20 +36290,20 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36202
36290
  }), Ot(["D", "DD"], Vt), Ot("Do", function(S, A) {
36203
36291
  A[Vt] = Et(S.match(pt)[0]);
36204
36292
  });
36205
- var Ts = oi("Date", !0);
36293
+ var Ss = oi("Date", !0);
36206
36294
  oe("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), Ge("DDD", It), Ge("DDDD", bt), Ot(["DDD", "DDDD"], function(S, A, G) {
36207
36295
  G._dayOfYear = Et(S);
36208
36296
  });
36209
- function Ss(S) {
36297
+ function Ds(S) {
36210
36298
  var A = Math.round(
36211
36299
  (this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
36212
36300
  ) + 1;
36213
36301
  return S == null ? A : this.add(S - A, "d");
36214
36302
  }
36215
36303
  oe("m", ["mm", 2], 0, "minute"), Ge("m", pt, Se), Ge("mm", pt, ht), Ot(["m", "mm"], lr);
36216
- var Qs = oi("Minutes", !1);
36304
+ var Js = oi("Minutes", !1);
36217
36305
  oe("s", ["ss", 2], 0, "second"), Ge("s", pt, Se), Ge("ss", pt, ht), Ot(["s", "ss"], gr);
36218
- var Js = oi("Seconds", !1);
36306
+ var Ks = oi("Seconds", !1);
36219
36307
  oe("S", 0, 0, function() {
36220
36308
  return ~~(this.millisecond() / 100);
36221
36309
  }), oe(0, ["SS", 2], 0, function() {
@@ -36233,27 +36321,27 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36233
36321
  }), oe(0, ["SSSSSSSSS", 9], 0, function() {
36234
36322
  return this.millisecond() * 1e6;
36235
36323
  }), Ge("S", It, ot), Ge("SS", It, ht), Ge("SSS", It, bt);
36236
- var Yi, Ds;
36324
+ var Yi, Es;
36237
36325
  for (Yi = "SSSS"; Yi.length <= 9; Yi += "S")
36238
36326
  Ge(Yi, At);
36239
- function Ks(S, A) {
36327
+ function $s(S, A) {
36240
36328
  A[Rr] = Et(("0." + S) * 1e3);
36241
36329
  }
36242
36330
  for (Yi = "S"; Yi.length <= 9; Yi += "S")
36243
- Ot(Yi, Ks);
36244
- Ds = oi("Milliseconds", !1), oe("z", 0, 0, "zoneAbbr"), oe("zz", 0, 0, "zoneName");
36245
- function $s() {
36331
+ Ot(Yi, $s);
36332
+ Es = oi("Milliseconds", !1), oe("z", 0, 0, "zoneAbbr"), oe("zz", 0, 0, "zoneName");
36333
+ function ea() {
36246
36334
  return this._isUTC ? "UTC" : "";
36247
36335
  }
36248
- function Es() {
36336
+ function Fs() {
36249
36337
  return this._isUTC ? "Coordinated Universal Time" : "";
36250
36338
  }
36251
36339
  var dt = M.prototype;
36252
- dt.add = li, dt.calendar = Ii, dt.clone = Bn, dt.diff = js, dt.endOf = Nn, dt.format = Gs, dt.from = Vs, dt.fromNow = Un, dt.to = Yn, dt.toNow = rn, dt.get = fi, dt.invalidAt = hs, dt.isAfter = rs, dt.isBefore = zn, dt.isBetween = Wn, dt.isSame = bn, dt.isSameOrAfter = jn, dt.isSameOrBefore = Ws, dt.isValid = cs, dt.lang = os, dt.locale = is, dt.localeData = Zn, dt.max = qo, dt.min = Xo, dt.parsingFlags = ds, dt.set = go, dt.startOf = Li, dt.subtract = vr, dt.toArray = Vn, dt.toObject = as, dt.toDate = Eo, dt.toISOString = Ys, dt.inspect = Zs, typeof Symbol < "u" && Symbol.for != null && (dt[Symbol.for("nodejs.util.inspect.custom")] = function() {
36340
+ dt.add = li, dt.calendar = Ii, dt.clone = zn, dt.diff = Us, dt.endOf = Nn, dt.format = Vs, dt.from = Xs, dt.fromNow = Yn, dt.to = Zn, dt.toNow = rn, dt.get = fi, dt.invalidAt = us, dt.isAfter = is, dt.isBefore = Wn, dt.isBetween = jn, dt.isSame = bn, dt.isSameOrAfter = Un, dt.isSameOrBefore = js, dt.isValid = ds, dt.lang = ns, dt.locale = os, dt.localeData = Gn, dt.max = qo, dt.min = Xo, dt.parsingFlags = hs, dt.set = go, dt.startOf = Li, dt.subtract = vr, dt.toArray = Xn, dt.toObject = ls, dt.toDate = Eo, dt.toISOString = Zs, dt.inspect = Gs, typeof Symbol < "u" && Symbol.for != null && (dt[Symbol.for("nodejs.util.inspect.custom")] = function() {
36253
36341
  return "Moment<" + this.format() + ">";
36254
- }), dt.toJSON = ls, dt.toString = Us, dt.unix = Gn, dt.valueOf = ss, dt.creationData = us, dt.eraName = ms, dt.eraNarrow = ys, dt.eraAbbr = vs, dt.eraYear = Xs, dt.year = Yr, dt.isLeapYear = Gi, dt.weekYear = bs, dt.isoWeekYear = _s, dt.quarter = dt.quarters = qn, dt.month = je, dt.daysInMonth = Re, dt.week = dt.weeks = Qi, dt.isoWeek = dt.isoWeeks = Wo, dt.weeksInYear = qs, dt.weeksInWeekYear = Dn, dt.isoWeeksInYear = Ps, dt.isoWeeksInISOWeekYear = Ns, dt.date = Ts, dt.day = dt.days = Rt, dt.weekday = Ln, dt.isoWeekday = Mn, dt.dayOfYear = Ss, dt.hour = dt.hours = kn, dt.minute = dt.minutes = Qs, dt.second = dt.seconds = Js, dt.millisecond = dt.milliseconds = Ds, dt.utcOffset = lo, dt.utc = co, dt.local = bi, dt.parseZone = zi, dt.hasAlignedHourOffset = Wi, dt.isDST = To, dt.isLocal = $o, dt.isUtcOffset = en, dt.isUtc = Ei, dt.isUTC = Ei, dt.zoneAbbr = $s, dt.zoneName = Es, dt.dates = H(
36342
+ }), dt.toJSON = cs, dt.toString = Ys, dt.unix = Vn, dt.valueOf = as, dt.creationData = fs, dt.eraName = ys, dt.eraNarrow = vs, dt.eraAbbr = ws, dt.eraYear = qs, dt.year = Yr, dt.isLeapYear = Gi, dt.weekYear = _s, dt.isoWeekYear = Ps, dt.quarter = dt.quarters = Qn, dt.month = je, dt.daysInMonth = Re, dt.week = dt.weeks = Qi, dt.isoWeek = dt.isoWeeks = Wo, dt.weeksInYear = Qs, dt.weeksInWeekYear = Dn, dt.isoWeeksInYear = Ns, dt.isoWeeksInISOWeekYear = Ts, dt.date = Ss, dt.day = dt.days = Rt, dt.weekday = Mn, dt.isoWeekday = Rn, dt.dayOfYear = Ds, dt.hour = dt.hours = Hn, dt.minute = dt.minutes = Js, dt.second = dt.seconds = Ks, dt.millisecond = dt.milliseconds = Es, dt.utcOffset = lo, dt.utc = co, dt.local = bi, dt.parseZone = zi, dt.hasAlignedHourOffset = Wi, dt.isDST = To, dt.isLocal = $o, dt.isUtcOffset = en, dt.isUtc = Ei, dt.isUTC = Ei, dt.zoneAbbr = ea, dt.zoneName = Fs, dt.dates = H(
36255
36343
  "dates accessor is deprecated. Use date instead.",
36256
- Ts
36344
+ Ss
36257
36345
  ), dt.months = H(
36258
36346
  "months accessor is deprecated. Use month instead",
36259
36347
  je
@@ -36267,17 +36355,17 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36267
36355
  "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
36268
36356
  ai
36269
36357
  );
36270
- function ea(S) {
36358
+ function ta(S) {
36271
36359
  return fr(S * 1e3);
36272
36360
  }
36273
- function ta() {
36361
+ function ra() {
36274
36362
  return fr.apply(null, arguments).parseZone();
36275
36363
  }
36276
- function Qn(S) {
36364
+ function Jn(S) {
36277
36365
  return S;
36278
36366
  }
36279
36367
  var N = O.prototype;
36280
- N.calendar = le, N.longDateFormat = Pe, N.invalidDate = Ve, N.ordinal = Ce, N.preparse = Qn, N.postformat = Qn, N.relativeTime = de, N.pastFuture = $, N.set = Y, N.eras = fs, N.erasParse = ps, N.erasConvertYear = gs, N.erasAbbrRegex = Ui, N.erasNameRegex = ws, N.erasNarrowRegex = on, N.months = yo, N.monthsShort = me, N.monthsParse = be, N.monthsRegex = rt, N.monthsShortRegex = it, N.week = hr, N.firstDayOfYear = Pi, N.firstDayOfWeek = kr, N.weekdays = vo, N.weekdaysMin = fn, N.weekdaysShort = mi, N.weekdaysParse = wo, N.weekdaysRegex = Rn, N.weekdaysShortRegex = jo, N.weekdaysMinRegex = gn, N.isPM = $i, N.meridiem = Hn;
36368
+ N.calendar = le, N.longDateFormat = Pe, N.invalidDate = Ve, N.ordinal = Ce, N.preparse = Jn, N.postformat = Jn, N.relativeTime = de, N.pastFuture = $, N.set = Y, N.eras = ps, N.erasParse = gs, N.erasConvertYear = ms, N.erasAbbrRegex = Ui, N.erasNameRegex = Cs, N.erasNarrowRegex = on, N.months = yo, N.monthsShort = me, N.monthsParse = be, N.monthsRegex = rt, N.monthsShortRegex = it, N.week = hr, N.firstDayOfYear = Pi, N.firstDayOfWeek = kr, N.weekdays = vo, N.weekdaysMin = fn, N.weekdaysShort = mi, N.weekdaysParse = wo, N.weekdaysRegex = kn, N.weekdaysShortRegex = jo, N.weekdaysMinRegex = gn, N.isPM = $i, N.meridiem = On;
36281
36369
  function F(S, A, G, q) {
36282
36370
  var ae = Qr(), Le = y().set(q, A);
36283
36371
  return ae[G](Le, S);
@@ -36422,7 +36510,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36422
36510
  return this.isValid() ? this._data[S] : NaN;
36423
36511
  };
36424
36512
  }
36425
- var ti = _r("milliseconds"), Fo = _r("seconds"), Wr = _r("minutes"), Tr = _r("hours"), Jn = _r("days"), an = _r("months"), Io = _r("years");
36513
+ var ti = _r("milliseconds"), Fo = _r("seconds"), Wr = _r("minutes"), Tr = _r("hours"), Kn = _r("days"), an = _r("months"), Io = _r("years");
36426
36514
  function Ao() {
36427
36515
  return nr(this.days() / 7);
36428
36516
  }
@@ -36442,24 +36530,24 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36442
36530
  M: 11
36443
36531
  // months to year
36444
36532
  };
36445
- function ra(S, A, G, q, ae) {
36533
+ function ia(S, A, G, q, ae) {
36446
36534
  return ae.relativeTime(A || 1, !!G, S, q);
36447
36535
  }
36448
- function Kn(S, A, G, q) {
36536
+ function $n(S, A, G, q) {
36449
36537
  var ae = Hr(S).abs(), Le = jr(ae.as("s")), $e = jr(ae.as("m")), Ct = jr(ae.as("h")), Mt = jr(ae.as("d")), qt = jr(ae.as("M")), Lr = jr(ae.as("w")), ci = jr(ae.as("y")), di = Le <= G.ss && ["s", Le] || Le < G.s && ["ss", Le] || $e <= 1 && ["m"] || $e < G.m && ["mm", $e] || Ct <= 1 && ["h"] || Ct < G.h && ["hh", Ct] || Mt <= 1 && ["d"] || Mt < G.d && ["dd", Mt];
36450
- return G.w != null && (di = di || Lr <= 1 && ["w"] || Lr < G.w && ["ww", Lr]), di = di || qt <= 1 && ["M"] || qt < G.M && ["MM", qt] || ci <= 1 && ["y"] || ["yy", ci], di[2] = A, di[3] = +S > 0, di[4] = q, ra.apply(null, di);
36538
+ return G.w != null && (di = di || Lr <= 1 && ["w"] || Lr < G.w && ["ww", Lr]), di = di || qt <= 1 && ["M"] || qt < G.M && ["MM", qt] || ci <= 1 && ["y"] || ["yy", ci], di[2] = A, di[3] = +S > 0, di[4] = q, ia.apply(null, di);
36451
36539
  }
36452
- function Fs(S) {
36540
+ function Is(S) {
36453
36541
  return S === void 0 ? jr : typeof S == "function" ? (jr = S, !0) : !1;
36454
36542
  }
36455
- function Is(S, A) {
36543
+ function As(S, A) {
36456
36544
  return Zi[S] === void 0 ? !1 : A === void 0 ? Zi[S] : (Zi[S] = A, S === "s" && (Zi.ss = A - 1), !0);
36457
36545
  }
36458
- function ia(S, A) {
36546
+ function oa(S, A) {
36459
36547
  if (!this.isValid())
36460
36548
  return this.localeData().invalidDate();
36461
36549
  var G = !1, q = Zi, ae, Le;
36462
- return typeof S == "object" && (A = S, S = !1), typeof S == "boolean" && (G = S), typeof A == "object" && (q = Object.assign({}, Zi, A), A.s != null && A.ss == null && (q.ss = A.s - 1)), ae = this.localeData(), Le = Kn(this, !G, q, ae), G && (Le = ae.pastFuture(+this, Le)), ae.postformat(Le);
36550
+ return typeof S == "object" && (A = S, S = !1), typeof S == "boolean" && (G = S), typeof A == "object" && (q = Object.assign({}, Zi, A), A.s != null && A.ss == null && (q.ss = A.s - 1)), ae = this.localeData(), Le = $n(this, !G, q, ae), G && (Le = ae.pastFuture(+this, Le)), ae.postformat(Le);
36463
36551
  }
36464
36552
  var cn = Math.abs;
36465
36553
  function ri(S) {
@@ -36472,16 +36560,16 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
36472
36560
  return Ct ? (q = nr(S / 60), ae = nr(q / 60), S %= 60, q %= 60, Le = nr(G / 12), G %= 12, $e = S ? S.toFixed(3).replace(/\.?0+$/, "") : "", Mt = Ct < 0 ? "-" : "", qt = ri(this._months) !== ri(Ct) ? "-" : "", Lr = ri(this._days) !== ri(Ct) ? "-" : "", ci = ri(this._milliseconds) !== ri(Ct) ? "-" : "", Mt + "P" + (Le ? qt + Le + "Y" : "") + (G ? qt + G + "M" : "") + (A ? Lr + A + "D" : "") + (ae || q || S ? "T" : "") + (ae ? ci + ae + "H" : "") + (q ? ci + q + "M" : "") + (S ? ci + $e + "S" : "")) : "P0D";
36473
36561
  }
36474
36562
  var er = Bi.prototype;
36475
- er.isValid = no, er.abs = Ee, er.add = Xe, er.subtract = qe, er.as = tt, er.asMilliseconds = nt, er.asSeconds = yt, er.asMinutes = wt, er.asHours = Nt, er.asDays = Ft, er.asWeeks = pr, er.asMonths = rr, er.asQuarters = ir, er.asYears = Ir, er.valueOf = Ar, er._bubble = et, er.clone = zr, er.get = _i, er.milliseconds = ti, er.seconds = Fo, er.minutes = Wr, er.hours = Tr, er.days = Jn, er.weeks = Ao, er.months = an, er.years = Io, er.humanize = ia, er.toISOString = Lo, er.toString = Lo, er.toJSON = Lo, er.locale = is, er.localeData = Zn, er.toIsoString = H(
36563
+ er.isValid = no, er.abs = Ee, er.add = Xe, er.subtract = qe, er.as = tt, er.asMilliseconds = nt, er.asSeconds = yt, er.asMinutes = wt, er.asHours = Nt, er.asDays = Ft, er.asWeeks = pr, er.asMonths = rr, er.asQuarters = ir, er.asYears = Ir, er.valueOf = Ar, er._bubble = et, er.clone = zr, er.get = _i, er.milliseconds = ti, er.seconds = Fo, er.minutes = Wr, er.hours = Tr, er.days = Kn, er.weeks = Ao, er.months = an, er.years = Io, er.humanize = oa, er.toISOString = Lo, er.toString = Lo, er.toJSON = Lo, er.locale = os, er.localeData = Gn, er.toIsoString = H(
36476
36564
  "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
36477
36565
  Lo
36478
- ), er.lang = os, oe("X", 0, 0, "unix"), oe("x", 0, 0, "valueOf"), Ge("x", or), Ge("X", Gt), Ot("X", function(S, A, G) {
36566
+ ), er.lang = ns, oe("X", 0, 0, "unix"), oe("x", 0, 0, "valueOf"), Ge("x", or), Ge("X", Gt), Ot("X", function(S, A, G) {
36479
36567
  G._d = new Date(parseFloat(S) * 1e3);
36480
36568
  }), Ot("x", function(S, A, G) {
36481
36569
  G._d = new Date(Et(S));
36482
36570
  });
36483
36571
  //! moment.js
36484
- return o.version = "2.30.1", n(fr), o.fn = dt, o.min = Qo, o.max = Jr, o.now = Dr, o.utc = y, o.unix = ea, o.months = K, o.isDate = p, o.locale = wi, o.invalid = D, o.duration = Hr, o.isMoment = k, o.weekdays = re, o.parseZone = ta, o.localeData = Qr, o.isDuration = Er, o.monthsShort = te, o.weekdaysMin = ce, o.defineLocale = qr, o.updateLocale = Ci, o.locales = xo, o.weekdaysShort = ie, o.normalizeUnits = Be, o.relativeTimeRounding = Fs, o.relativeTimeThreshold = Is, o.calendarFormat = Xr, o.prototype = dt, o.HTML5_FMT = {
36572
+ return o.version = "2.30.1", n(fr), o.fn = dt, o.min = Qo, o.max = Jr, o.now = Dr, o.utc = y, o.unix = ta, o.months = K, o.isDate = p, o.locale = wi, o.invalid = D, o.duration = Hr, o.isMoment = k, o.weekdays = re, o.parseZone = ra, o.localeData = Qr, o.isDuration = Er, o.monthsShort = te, o.weekdaysMin = ce, o.defineLocale = qr, o.updateLocale = Ci, o.locales = xo, o.weekdaysShort = ie, o.normalizeUnits = Be, o.relativeTimeRounding = Is, o.relativeTimeThreshold = As, o.calendarFormat = Xr, o.prototype = dt, o.HTML5_FMT = {
36485
36573
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
36486
36574
  // <input type="datetime-local" />
36487
36575
  DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
@@ -47075,20 +47163,20 @@ const createHistoryInstance = (a, t) => {
47075
47163
  t.innerHTML = "";
47076
47164
  });
47077
47165
  }
47078
- }, zs = class zs {
47166
+ }, Ws = class Ws {
47079
47167
  constructor() {
47080
47168
  b(this, "fontSize", "35");
47081
47169
  b(this, "borderColor", "#F00");
47082
47170
  }
47083
47171
  static instance() {
47084
- return this._instance || (this._instance = new zs()), this._instance;
47172
+ return this._instance || (this._instance = new Ws()), this._instance;
47085
47173
  }
47086
47174
  setConfig(t) {
47087
47175
  this.fontSize = t.fontSize ? t.fontSize : "35", this.borderColor = t.borderColor ? t.borderColor : "35";
47088
47176
  }
47089
47177
  };
47090
- b(zs, "_instance");
47091
- let HoFabricConfig = zs;
47178
+ b(Ws, "_instance");
47179
+ let HoFabricConfig = Ws;
47092
47180
  const initLanguage = async (a, t) => {
47093
47181
  i18n.locale = a, i18n.setLocaleMessage(a, t);
47094
47182
  };
@@ -53552,7 +53640,7 @@ class DomController {
53552
53640
  return HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).vueController.isModifyDoc();
53553
53641
  }
53554
53642
  }
53555
- class EditController {
53643
+ const Fn = class Fn {
53556
53644
  constructor(t) {
53557
53645
  b(this, "_hoEditorFactoryID");
53558
53646
  this._hoEditorFactoryID = t;
@@ -53754,11 +53842,10 @@ class EditController {
53754
53842
  const s = n.docTree.curDomRange.startPath, l = n.docTree.getParentNode(s);
53755
53843
  if (l instanceof TextInputFieldNode && !l.canModifyContent)
53756
53844
  return;
53757
- let c;
53845
+ let c = [];
53758
53846
  if (!t && n.notAllowCrossPatiPaste && n.drawTree.paintStatus !== PaintState.psDesign)
53759
53847
  if (r) {
53760
- const u = new RegExp("<!--:(.*?)-->");
53761
- if (!r.match(u)) {
53848
+ if (!r.match(Fn.PATIENT_ID_REGEX)) {
53762
53849
  message.warn(i18nHelper("04-001-009-EMR.3.3.433", null, "不能将他人病历内容复制粘贴到该患者病历中"));
53763
53850
  return;
53764
53851
  }
@@ -53769,20 +53856,19 @@ class EditController {
53769
53856
  let d = "";
53770
53857
  if (t) {
53771
53858
  d = t.split(":")[0];
53772
- const u = t.indexOf(":");
53773
- if (t = t.substring(u + 1, t.length), n.drawTree.paintStatus === PaintState.psDesign)
53774
- c = n.structureNode.Parse(ClipboardType.ctJSON, t);
53859
+ const u = t.indexOf(":"), f = t.substring(u + 1);
53860
+ if (n.drawTree.paintStatus === PaintState.psDesign)
53861
+ c = n.structureNode.Parse(ClipboardType.ctJSON, f);
53775
53862
  else {
53776
53863
  if (n.notAllowCrossPatiPaste && d !== n.docTree.docProperty.patientID) {
53777
53864
  message.warn(i18nHelper("04-001-009-EMR.3.3.433", null, "不能将他人病历内容复制粘贴到该患者病历中"));
53778
53865
  return;
53779
53866
  }
53780
- const f = JSON.parse(t);
53781
- f.length == 1 && f[0].nodeType === "ntTable" && l instanceof CellNode || f.length == 1 && f[0].nodeType === "ntRareChar" ? c = n.structureNode.Parse(ClipboardType.ctJSON, t) : r ? c = n.structureNode.Parse(ClipboardType.ctHTML, r) : c = n.structureNode.Parse(ClipboardType.ctText, o);
53867
+ const p = JSON.parse(f);
53868
+ p.length == 1 && p[0].nodeType === "ntTable" && l instanceof CellNode || p.length == 1 && p[0].nodeType === "ntRareChar" ? c = n.structureNode.Parse(ClipboardType.ctJSON, f) : r ? c = n.structureNode.Parse(ClipboardType.ctHTML, r) : c = n.structureNode.Parse(ClipboardType.ctText, o);
53782
53869
  }
53783
53870
  } else if (r) {
53784
- const u = new RegExp("<!--:(.*?)-->");
53785
- if (r.match(u) && (d = r.match(u)[1], n.notAllowCrossPatiPaste && d !== n.docTree.docProperty.patientID)) {
53871
+ if (r.match(Fn.PATIENT_ID_REGEX) && (d = r.match(Fn.PATIENT_ID_REGEX)[1], n.notAllowCrossPatiPaste && d !== n.docTree.docProperty.patientID)) {
53786
53872
  message.warn(i18nHelper("04-001-009-EMR.3.3.433", null, "不能将他人病历内容复制粘贴到该患者病历中"));
53787
53873
  return;
53788
53874
  }
@@ -53790,28 +53876,11 @@ class EditController {
53790
53876
  } else
53791
53877
  c = n.structureNode.Parse(ClipboardType.ctText, o);
53792
53878
  if (n.limitCharNumber > 0 && n.drawTree.paintStatus != PaintState.psDesign) {
53793
- let u = "";
53794
- const f = () => u.length > n.limitCharNumber ? (message.warn(i18nHelper("04-001-009-EMR.3.3.432", [u.length, n.limitCharNumber], "根据书写规范要求,复制文本字符数({0})已超过限定字符数({1}),不允许粘贴至其它病历。")), !0) : !1;
53795
- for (let p = 0; p < c.length; p++) {
53796
- const m = c[p];
53797
- if (m instanceof TextNode || m instanceof TextInputFieldNode) {
53798
- const g = m.text.replace(" ", "");
53799
- if (u += g, f())
53800
- return;
53801
- }
53802
- if (m instanceof ControlNode)
53803
- if (m instanceof DateTimeNode) {
53804
- const g = m.getDateTimeText().replace(" ", "");
53805
- if (u += g, f())
53806
- return;
53807
- } else {
53808
- const g = m.text.replace(" ", "");
53809
- if (u += g, f())
53810
- return;
53811
- }
53812
- }
53813
- if (f())
53879
+ const u = this.extractNodesText(c).replace(/ /g, "");
53880
+ if (u.length > n.limitCharNumber) {
53881
+ message.warn(i18nHelper("04-001-009-EMR.3.3.432", [u.length, n.limitCharNumber], "根据书写规范要求,复制文本字符数({0})已超过限定字符数({1}),不允许粘贴至其它病历。"));
53814
53882
  return;
53883
+ }
53815
53884
  }
53816
53885
  if (c.length === 1 && c[0] instanceof TableNode && l instanceof CellNode) {
53817
53886
  const u = c[0], [f, p] = l.table.getCellInfos(l);
@@ -53863,12 +53932,39 @@ class EditController {
53863
53932
  g.script = p.combineStyle.script;
53864
53933
  const y = n.docTree.styleCompare(g);
53865
53934
  f.styleIndex = y;
53866
- } else m.combineStyle.font !== p.combineStyle.font ? f.styleIndex = f.styleIndex : f.styleIndex = n.docTree.curStyleIndex;
53935
+ } else m.combineStyle.font !== p.combineStyle.font || (f.styleIndex = n.docTree.curStyleIndex);
53867
53936
  }
53868
53937
  f instanceof ParagraphNode && (f.paraNo = n.docTree.curParaNo);
53869
53938
  }
53939
+ if (n.onEditorCommand) {
53940
+ const u = n.docTree.curDomRange.normalize().npStart.node.parentNode;
53941
+ let f = null;
53942
+ u && (f = JSON.parse(
53943
+ JSON.stringify({
53944
+ innerIdentifier: u.innerIdentifier,
53945
+ dataId: u.dataId,
53946
+ id: u.id,
53947
+ name: u.name,
53948
+ oldText: u.text
53949
+ })
53950
+ )), setTimeout(() => {
53951
+ f && (f.newText = u.text), n.onEditorCommand("paste", {
53952
+ parseText: this.extractNodesText(c),
53953
+ node: f
53954
+ });
53955
+ }, 0);
53956
+ }
53870
53957
  n.docController.parseNodeData(c);
53871
53958
  }
53959
+ /**
53960
+ * 从粘贴节点数组中提取完整文本内容
53961
+ */
53962
+ extractNodesText(t) {
53963
+ let r = "";
53964
+ for (const o of t)
53965
+ o instanceof TextNode || o instanceof TextInputFieldNode ? r += o.text : o instanceof DateTimeNode ? r += o.getDateTimeText() : o instanceof ControlNode && (r += o.text);
53966
+ return r;
53967
+ }
53872
53968
  isEdit(t, r, o) {
53873
53969
  var s, l;
53874
53970
  let n = !0;
@@ -53929,7 +54025,9 @@ class EditController {
53929
54025
  }
53930
54026
  return o || (message.destroy(), message.error(i18nHelper("04-001-009-EMR.3.3.430", null, "表单状态元素外不可编辑"))), o;
53931
54027
  }
53932
- }
54028
+ };
54029
+ b(Fn, "PATIENT_ID_REGEX", /<!--:(.*?)-->/);
54030
+ let EditController = Fn;
53933
54031
  class ElementController {
53934
54032
  constructor(t) {
53935
54033
  b(this, "_hoEditorFactoryID");
@@ -56726,7 +56824,7 @@ Q`), tr(We, !0), Or({
56726
56824
  }
56727
56825
  var Pr = null;
56728
56826
  ue(), U();
56729
- var Fn = function(V) {
56827
+ var In = function(V) {
56730
56828
  return f !== null ? Pr.encryptor(V, 0) : function(ye) {
56731
56829
  return ye;
56732
56830
  };
@@ -56739,14 +56837,14 @@ Q`), tr(We, !0), Or({
56739
56837
  pageNumber: W,
56740
56838
  pageContext: ee[W]
56741
56839
  };
56742
- }, In = g.__private__.getPageInfoByObjId = function(W) {
56840
+ }, An = g.__private__.getPageInfoByObjId = function(W) {
56743
56841
  if (isNaN(W) || W % 1 !== 0)
56744
56842
  throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");
56745
56843
  for (var V in ee)
56746
56844
  if (ee[V].objId === W)
56747
56845
  break;
56748
56846
  return un(V);
56749
- }, An = g.__private__.getCurrentPageInfo = g.getCurrentPageInfo = function() {
56847
+ }, Ln = g.__private__.getCurrentPageInfo = g.getCurrentPageInfo = function() {
56750
56848
  return {
56751
56849
  objId: ee[Pe].objId,
56752
56850
  pageNumber: Pe,
@@ -57039,25 +57137,25 @@ T* `) : W.join(` Tj
57039
57137
  return wo("B*", W), this;
57040
57138
  };
57041
57139
  var wo = function(V, ye) {
57042
- _typeof(ye) === "object" ? Mn(ye, V) : Ce(V);
57140
+ _typeof(ye) === "object" ? Rn(ye, V) : Ce(V);
57043
57141
  }, Rt = function(V) {
57044
57142
  V === null || D === _.ADVANCED && V === void 0 || (V = fn(V), Ce(V));
57045
57143
  };
57046
- function Ln(W, V, ye, Fe, We) {
57144
+ function Mn(W, V, ye, Fe, We) {
57047
57145
  var Ze = new TilingPattern(V || this.boundingBox, ye || this.xStep, Fe || this.yStep, this.gState, We || this.matrix);
57048
57146
  Ze.stream = this.stream;
57049
57147
  var lt = W + "$$" + this.cloneIndex++ + "$$";
57050
57148
  return Nr(lt, Ze), Ze;
57051
57149
  }
57052
- var Mn = function(V, ye) {
57150
+ var Rn = function(V, ye) {
57053
57151
  var Fe = Qt[V.key], We = St[Fe];
57054
57152
  if (We instanceof ShadingPattern)
57055
- Ce("q"), Ce(Rn(ye)), We.gState && g.setGState(We.gState), Ce(V.matrix.toString() + " cm"), Ce("/" + Fe + " sh"), Ce("Q");
57153
+ Ce("q"), Ce(kn(ye)), We.gState && g.setGState(We.gState), Ce(V.matrix.toString() + " cm"), Ce("/" + Fe + " sh"), Ce("Q");
57056
57154
  else if (We instanceof TilingPattern) {
57057
57155
  var Ze = new Pt(1, 0, 0, -1, 0, Di());
57058
- V.matrix && (Ze = Ze.multiply(V.matrix || Cr), Fe = Ln.call(We, V.key, V.boundingBox, V.xStep, V.yStep, Ze).id), Ce("q"), Ce("/Pattern cs"), Ce("/" + Fe + " scn"), We.gState && g.setGState(We.gState), Ce(ye), Ce("Q");
57156
+ V.matrix && (Ze = Ze.multiply(V.matrix || Cr), Fe = Mn.call(We, V.key, V.boundingBox, V.xStep, V.yStep, Ze).id), Ce("q"), Ce("/Pattern cs"), Ce("/" + Fe + " scn"), We.gState && g.setGState(We.gState), Ce(ye), Ce("Q");
57059
57157
  }
57060
- }, Rn = function(V) {
57158
+ }, kn = function(V) {
57061
57159
  switch (V) {
57062
57160
  case "f":
57063
57161
  case "F":
@@ -57196,12 +57294,12 @@ T* `) : W.join(` Tj
57196
57294
  g.__private__.getLineHeight = g.getLineHeight = function() {
57197
57295
  return Ne * $i;
57198
57296
  };
57199
- var kn = g.__private__.setLineHeightFactor = g.setLineHeightFactor = function(W) {
57297
+ var Hn = g.__private__.setLineHeightFactor = g.setLineHeightFactor = function(W) {
57200
57298
  return W = W || 1.15, typeof W == "number" && ($i = W), this;
57201
- }, Hn = g.__private__.getLineHeightFactor = g.getLineHeightFactor = function() {
57299
+ }, On = g.__private__.getLineHeightFactor = g.getLineHeightFactor = function() {
57202
57300
  return $i;
57203
57301
  };
57204
- kn(a.lineHeight);
57302
+ Hn(a.lineHeight);
57205
57303
  var Ni = g.__private__.getHorizontalCoordinate = function(W) {
57206
57304
  return Z(W);
57207
57305
  }, sr = g.__private__.getVerticalCoordinate = function(W) {
@@ -57392,7 +57490,7 @@ T* `) : W.join(` Tj
57392
57490
  };
57393
57491
  var wn = function(V, ye, Fe, We, Ze) {
57394
57492
  Dt.push(new Zo()), Gt = Pe = 0, ge = [], Ut = V, Jt = ye, nr = Ze, ut([Fe, We]);
57395
- }, On = function(V) {
57493
+ }, Bn = function(V) {
57396
57494
  if (Ge[V]) {
57397
57495
  Dt.pop().restore();
57398
57496
  return;
@@ -57403,7 +57501,7 @@ T* `) : W.join(` Tj
57403
57501
  g.beginFormObject = function(W, V, ye, Fe, We) {
57404
57502
  return wn(W, V, ye, Fe, We), this;
57405
57503
  }, g.endFormObject = function(W) {
57406
- return On(W), this;
57504
+ return Bn(W), this;
57407
57505
  }, g.doFormObject = function(W, V) {
57408
57506
  var ye = Ue[Ge[W]];
57409
57507
  return Ce("q"), Ce(V.toString() + " cm"), Ce("/" + ye.id + " Do"), Ce("Q"), this;
@@ -57449,7 +57547,7 @@ T* `) : W.join(` Tj
57449
57547
  getCharSpace: wi,
57450
57548
  getTextColor: vn,
57451
57549
  getLineHeight: Co,
57452
- getLineHeightFactor: Hn,
57550
+ getLineHeightFactor: On,
57453
57551
  getLineWidth: mn,
57454
57552
  write: se,
57455
57553
  getHorizontalCoordinate: Ni,
@@ -57481,7 +57579,7 @@ T* `) : W.join(` Tj
57481
57579
  },
57482
57580
  encryptionOptions: f,
57483
57581
  encryption: Pr,
57484
- getEncryptor: Fn,
57582
+ getEncryptor: In,
57485
57583
  output: Ki,
57486
57584
  getNumberOfPages: Lt,
57487
57585
  pages: ge,
@@ -57489,8 +57587,8 @@ T* `) : W.join(` Tj
57489
57587
  f2: H,
57490
57588
  f3: z,
57491
57589
  getPageInfo: un,
57492
- getPageInfoByObjId: In,
57493
- getCurrentPageInfo: An,
57590
+ getPageInfoByObjId: An,
57591
+ getCurrentPageInfo: Ln,
57494
57592
  getPDFVersion: w,
57495
57593
  Point: xo,
57496
57594
  Rectangle: bo,
@@ -62985,7 +63083,7 @@ function WebPDecoder(a) {
62985
63083
  j[F][0] = j[N + "0"], j[F][1] = j[N + "1"], j[F][2] = j[N + "2"], j[F][3] = j[N + "3"], j[F][4] = j[N + "4"], j[F][5] = j[N + "5"], j[F][6] = j[N + "6"], j[F][7] = j[N + "7"], j[F][8] = j[N + "8"], j[F][9] = j[N + "9"], j[F][10] = j[N + "10"], j[F][11] = j[N + "11"], j[F][12] = j[N + "12"], j[F][13] = j[N + "13"], j[F][14] = j[N + "0"], j[F][15] = j[N + "0"];
62986
63084
  }
62987
63085
  function Ue(N) {
62988
- return N == zn || N == Wn || N == bn || N == jn;
63086
+ return N == Wn || N == jn || N == bn || N == Un;
62989
63087
  }
62990
63088
  function Ge() {
62991
63089
  this.eb = [], this.size = this.A = this.fb = 0;
@@ -63019,12 +63117,12 @@ function WebPDecoder(a) {
63019
63117
  var ce = [0], Ee = N.ka;
63020
63118
  ce[0] = N.T, N.Kb && (Ee == 0 ? --ce[0] : (--Ee, K[0] -= N.width), N.j + N.ka + N.T == N.o && (ce[0] = N.o - N.j - Ee));
63021
63119
  var pe = F.eb, Ee = F.fb + Ee * F.A;
63022
- N = Cs(B, K[0], N.width, te, ce, pe, Ee + (ie ? 0 : 3), F.A), t(R == ce), N && Ue(re) && on(pe, Ee, ie, te, ce, F.A);
63120
+ N = xs(B, K[0], N.width, te, ce, pe, Ee + (ie ? 0 : 3), F.A), t(R == ce), N && Ue(re) && on(pe, Ee, ie, te, ce, F.A);
63023
63121
  }
63024
63122
  return 0;
63025
63123
  }
63026
63124
  function Cr(N) {
63027
- var F = N.ma, R = F.ba.S, B = 11 > R, K = R == xr || R == Xr || R == Ii || R == Bn || R == 12 || Ue(R);
63125
+ var F = N.ma, R = F.ba.S, B = 11 > R, K = R == xr || R == Xr || R == Ii || R == zn || R == 12 || Ue(R);
63028
63126
  if (F.memory = null, F.Ib = null, F.Jb = null, F.Nd = null, !Bi(F.Oa, N, K ? 11 : 12)) return 0;
63029
63127
  if (K && Ue(R) && yr(), N.da) alert("todo:use_scaling");
63030
63128
  else {
@@ -63036,12 +63134,12 @@ function WebPDecoder(a) {
63036
63134
  } else alert("todo:EmitYUV");
63037
63135
  K && (F.Jb = Ot, B && Kt());
63038
63136
  }
63039
- if (B && !Ss) {
63137
+ if (B && !Ds) {
63040
63138
  for (N = 0; 256 > N; ++N)
63041
- Qs[N] = 89858 * (N - 128) + nn >> Dn, Ds[N] = -22014 * (N - 128) + nn, Yi[N] = -45773 * (N - 128), Js[N] = 113618 * (N - 128) + nn >> Dn;
63042
- for (N = sn; N < qn; ++N)
63043
- F = 76283 * (N - 16) + nn >> Dn, Ks[N - sn] = Jr(F, 255), $s[N - sn] = Jr(F + 8 >> 4, 15);
63044
- Ss = 1;
63139
+ Js[N] = 89858 * (N - 128) + nn >> Dn, Es[N] = -22014 * (N - 128) + nn, Yi[N] = -45773 * (N - 128), Ks[N] = 113618 * (N - 128) + nn >> Dn;
63140
+ for (N = sn; N < Qn; ++N)
63141
+ F = 76283 * (N - 16) + nn >> Dn, $s[N - sn] = Jr(F, 255), ea[N - sn] = Jr(F + 8 >> 4, 15);
63142
+ Ds = 1;
63045
63143
  }
63046
63144
  return 1;
63047
63145
  }
@@ -63062,7 +63160,7 @@ function WebPDecoder(a) {
63062
63160
  }
63063
63161
  function Vt(N, F) {
63064
63162
  if (120 < F) return F - 120;
63065
- var R = Zs[F - 1], R = (R >> 4) * N + (8 - (R & 15));
63163
+ var R = Gs[F - 1], R = (R >> 4) * N + (8 - (R & 15));
63066
63164
  return 1 <= R ? R : 1;
63067
63165
  }
63068
63166
  function Zt(N, F, R) {
@@ -63140,7 +63238,7 @@ function WebPDecoder(a) {
63140
63238
  case xr:
63141
63239
  Ei(qe, Je, et, Ye, Ke);
63142
63240
  break;
63143
- case zn:
63241
+ case Wn:
63144
63242
  Ei(qe, Je, et, Ye, Ke), on(Ye, Ke, 0, et, 1, 0);
63145
63243
  break;
63146
63244
  case xn:
@@ -63149,7 +63247,7 @@ function WebPDecoder(a) {
63149
63247
  case Xr:
63150
63248
  ne(qe, Je, et, Ye, Ke, 1);
63151
63249
  break;
63152
- case Wn:
63250
+ case jn:
63153
63251
  ne(qe, Je, et, Ye, Ke, 1), on(Ye, Ke, 0, et, 1, 0);
63154
63252
  break;
63155
63253
  case Ii:
@@ -63158,13 +63256,13 @@ function WebPDecoder(a) {
63158
63256
  case bn:
63159
63257
  ne(qe, Je, et, Ye, Ke, 0), on(Ye, Ke, 1, et, 1, 0);
63160
63258
  break;
63161
- case Bn:
63259
+ case zn:
63162
63260
  ho(qe, Je, et, Ye, Ke);
63163
63261
  break;
63164
- case jn:
63262
+ case Un:
63165
63263
  ho(qe, Je, et, Ye, Ke), Tn(Ye, Ke, et, 1, 0);
63166
63264
  break;
63167
- case rs:
63265
+ case is:
63168
63266
  uo(qe, Je, et, Ye, Ke);
63169
63267
  break;
63170
63268
  default:
@@ -63215,7 +63313,7 @@ function WebPDecoder(a) {
63215
63313
  var nt = 0;
63216
63314
  if (ie >= et) {
63217
63315
  var et = N, yt = Oe - R;
63218
- t(et.Pb), et.wd = et.m, et.xd = yt, 0 < et.s.ua && Be(et.s.Wa, et.s.vb), et = ie + Vs;
63316
+ t(et.Pb), et.wd = et.m, et.xd = yt, 0 < et.s.ua && Be(et.s.Wa, et.s.vb), et = ie + Xs;
63219
63317
  }
63220
63318
  if (ce & Ke || (tt = gr(Ee, ce, ie)), t(tt != null), tt.Qb && (F[Oe] = tt.qb, st = !0), !st) if (De(pe), tt.jc) {
63221
63319
  var nt = pe, yt = F, wt = Oe, Nt = tt.pd[_e(nt) & so - 1];
@@ -63262,7 +63360,7 @@ function WebPDecoder(a) {
63262
63360
  }
63263
63361
  function ui() {
63264
63362
  var N = new V();
63265
- return N == null ? null : (N.a = 0, N.xb = ws, Se("Predictor", "VP8LPredictors"), Se("Predictor", "VP8LPredictors_C"), Se("PredictorAdd", "VP8LPredictorsAdd"), Se("PredictorAdd", "VP8LPredictorsAdd_C"), To = It, $o = Qt, en = or, Ei = wr, ho = kt, uo = Gt, Hr = ee, j.VP8LMapColor32b = bi, j.VP8LMapColor8b = Wi, N);
63363
+ return N == null ? null : (N.a = 0, N.xb = Cs, Se("Predictor", "VP8LPredictors"), Se("Predictor", "VP8LPredictors_C"), Se("PredictorAdd", "VP8LPredictorsAdd"), Se("PredictorAdd", "VP8LPredictorsAdd_C"), To = It, $o = Qt, en = or, Ei = wr, ho = kt, uo = Gt, Hr = ee, j.VP8LMapColor32b = bi, j.VP8LMapColor8b = Wi, N);
63266
63364
  }
63267
63365
  function ni(N, F, R, B, K) {
63268
63366
  var te = 1, re = [N], ie = [F], ce = B.m, pe = B.s, Ee = null, Oe = 0;
@@ -63308,22 +63406,22 @@ function WebPDecoder(a) {
63308
63406
  }
63309
63407
  var Ar;
63310
63408
  if (Ar = te) t: {
63311
- var zr = B, _i = re, _r = ie, ti = Oe, Fo = R, Wr, Tr, Jn = zr.m, an = zr.s, Io = [null], Ao, jr = 1, Zi = 0, ra = Gs[ti];
63409
+ var zr = B, _i = re, _r = ie, ti = Oe, Fo = R, Wr, Tr, Kn = zr.m, an = zr.s, Io = [null], Ao, jr = 1, Zi = 0, ia = Vs[ti];
63312
63410
  r: for (; ; ) {
63313
- if (Fo && xe(Jn, 1)) {
63314
- var Kn = xe(Jn, 3) + 2, Fs = ze(_i, Kn), Is = ze(_r, Kn), ia = Fs * Is;
63315
- if (!ni(Fs, Is, 0, zr, Io)) break r;
63316
- for (Io = Io[0], an.xc = Kn, Wr = 0; Wr < ia; ++Wr) {
63411
+ if (Fo && xe(Kn, 1)) {
63412
+ var $n = xe(Kn, 3) + 2, Is = ze(_i, $n), As = ze(_r, $n), oa = Is * As;
63413
+ if (!ni(Is, As, 0, zr, Io)) break r;
63414
+ for (Io = Io[0], an.xc = $n, Wr = 0; Wr < oa; ++Wr) {
63317
63415
  var cn = Io[Wr] >> 8 & 65535;
63318
63416
  Io[Wr] = cn, cn >= jr && (jr = cn + 1);
63319
63417
  }
63320
63418
  }
63321
- if (Jn.h) break r;
63419
+ if (Kn.h) break r;
63322
63420
  for (Tr = 0; 5 > Tr; ++Tr) {
63323
63421
  var ri = tn[Tr];
63324
63422
  !Tr && 0 < ti && (ri += 1 << ti), Zi < ri && (Zi = ri);
63325
63423
  }
63326
- var Lo = l(jr * ra, J), er = jr, S = l(er, fe);
63424
+ var Lo = l(jr * ia, J), er = jr, S = l(er, fe);
63327
63425
  if (S == null) var A = null;
63328
63426
  else t(65536 >= er), A = S;
63329
63427
  var G = s(Zi);
@@ -63337,60 +63435,60 @@ function WebPDecoder(a) {
63337
63435
  for (Tr = 0; 5 > Tr; ++Tr) {
63338
63436
  ri = tn[Tr], Le[Tr] = q, $e[Tr] = Ao, !Tr && 0 < ti && (ri += 1 << ti);
63339
63437
  o: {
63340
- var Lr, ci = ri, di = zr, $n = G, xa = q, ba = Ao, oa = 0, Mo = di.m, Pa = xe(Mo, 1);
63341
- if (n($n, 0, 0, ci), Pa) {
63342
- var Na = xe(Mo, 1) + 1, Ta = xe(Mo, 1), na = xe(Mo, Ta == 0 ? 1 : 8);
63343
- $n[na] = 1, Na == 2 && (na = xe(Mo, 8), $n[na] = 1);
63344
- var As = 1;
63438
+ var Lr, ci = ri, di = zr, es = G, ba = q, Pa = Ao, na = 0, Mo = di.m, Na = xe(Mo, 1);
63439
+ if (n(es, 0, 0, ci), Na) {
63440
+ var Ta = xe(Mo, 1) + 1, Sa = xe(Mo, 1), sa = xe(Mo, Sa == 0 ? 1 : 8);
63441
+ es[sa] = 1, Ta == 2 && (sa = xe(Mo, 8), es[sa] = 1);
63442
+ var Ls = 1;
63345
63443
  } else {
63346
- var ha = s(19), ua = xe(Mo, 4) + 4;
63347
- if (19 < ua) {
63444
+ var ua = s(19), fa = xe(Mo, 4) + 4;
63445
+ if (19 < fa) {
63348
63446
  di.a = 3;
63349
- var Ls = 0;
63447
+ var Ms = 0;
63350
63448
  break o;
63351
63449
  }
63352
- for (Lr = 0; Lr < ua; ++Lr)
63353
- ha[Ys[Lr]] = xe(Mo, 3);
63354
- var Ms = void 0, es = void 0, fa = di, Sa = ha, Rs = ci, pa = $n, sa = 0, Ro = fa.m, ga = 8, ma = l(128, J);
63450
+ for (Lr = 0; Lr < fa; ++Lr)
63451
+ ua[Zs[Lr]] = xe(Mo, 3);
63452
+ var Rs = void 0, ts = void 0, pa = di, Da = ua, ks = ci, ga = es, aa = 0, Ro = pa.m, ma = 8, ya = l(128, J);
63355
63453
  i: for (; ; ) {
63356
- if (!U(ma, 0, 7, Sa, 19)) break i;
63454
+ if (!U(ya, 0, 7, Da, 19)) break i;
63357
63455
  if (xe(Ro, 1)) {
63358
- var Da = 2 + 2 * xe(Ro, 3), Ms = 2 + xe(Ro, Da);
63359
- if (Ms > Rs) break i;
63360
- } else Ms = Rs;
63361
- for (es = 0; es < Rs && Ms--; ) {
63456
+ var Ea = 2 + 2 * xe(Ro, 3), Rs = 2 + xe(Ro, Ea);
63457
+ if (Rs > ks) break i;
63458
+ } else Rs = ks;
63459
+ for (ts = 0; ts < ks && Rs--; ) {
63362
63460
  De(Ro);
63363
- var ya = ma[0 + (_e(Ro) & 127)];
63364
- Pe(Ro, Ro.u + ya.g);
63365
- var En = ya.value;
63366
- if (16 > En) pa[es++] = En, En != 0 && (ga = En);
63461
+ var va = ya[0 + (_e(Ro) & 127)];
63462
+ Pe(Ro, Ro.u + va.g);
63463
+ var En = va.value;
63464
+ if (16 > En) ga[ts++] = En, En != 0 && (ma = En);
63367
63465
  else {
63368
- var Ea = En == 16, va = En - 16, Fa = js[va], wa = xe(Ro, Ws[va]) + Fa;
63369
- if (es + wa > Rs) break i;
63370
- for (var Ia = Ea ? ga : 0; 0 < wa--; )
63371
- pa[es++] = Ia;
63466
+ var Fa = En == 16, wa = En - 16, Ia = Us[wa], Ca = xe(Ro, js[wa]) + Ia;
63467
+ if (ts + Ca > ks) break i;
63468
+ for (var Aa = Fa ? ma : 0; 0 < Ca--; )
63469
+ ga[ts++] = Aa;
63372
63470
  }
63373
63471
  }
63374
- sa = 1;
63472
+ aa = 1;
63375
63473
  break i;
63376
63474
  }
63377
- sa || (fa.a = 3), As = sa;
63475
+ aa || (pa.a = 3), Ls = aa;
63378
63476
  }
63379
- (As = As && !Mo.h) && (oa = U(xa, ba, 8, $n, ci)), As && oa != 0 ? Ls = oa : (di.a = 3, Ls = 0);
63477
+ (Ls = Ls && !Mo.h) && (na = U(ba, Pa, 8, es, ci)), Ls && na != 0 ? Ms = na : (di.a = 3, Ms = 0);
63380
63478
  }
63381
- if (Ls == 0) break r;
63382
- if (Mt && Us[Tr] == 1 && (Mt = q[Ao].g == 0), Ct += q[Ao].g, Ao += Ls, 3 >= Tr) {
63383
- var aa = G[0], ts;
63384
- for (ts = 1; ts < ri; ++ts)
63385
- G[ts] > aa && (aa = G[ts]);
63386
- qt += aa;
63479
+ if (Ms == 0) break r;
63480
+ if (Mt && Ys[Tr] == 1 && (Mt = q[Ao].g == 0), Ct += q[Ao].g, Ao += Ms, 3 >= Tr) {
63481
+ var la = G[0], rs;
63482
+ for (rs = 1; rs < ri; ++rs)
63483
+ G[rs] > la && (la = G[rs]);
63484
+ qt += la;
63387
63485
  }
63388
63486
  }
63389
63487
  if (ae.nd = Mt, ae.Qb = 0, Mt && (ae.qb = (Le[3][$e[3] + 0].value << 24 | Le[1][$e[1] + 0].value << 16 | Le[2][$e[2] + 0].value) >>> 0, Ct == 0 && 256 > Le[0][$e[0] + 0].value && (ae.Qb = 1, ae.qb += Le[0][$e[0] + 0].value << 8)), ae.jc = !ae.Qb && 6 > qt, ae.jc) {
63390
- var ks, po = ae;
63391
- for (ks = 0; ks < so; ++ks) {
63392
- var ko = ks, Ho = po.pd[ko], Hs = po.G[0][po.H[0] + ko];
63393
- 256 <= Hs.value ? (Ho.g = Hs.g + 256, Ho.value = Hs.value) : (Ho.g = 0, Ho.value = 0, ko >>= lr(Hs, 8, Ho), ko >>= lr(po.G[1][po.H[1] + ko], 16, Ho), ko >>= lr(po.G[2][po.H[2] + ko], 0, Ho), lr(po.G[3][po.H[3] + ko], 24, Ho));
63488
+ var Hs, po = ae;
63489
+ for (Hs = 0; Hs < so; ++Hs) {
63490
+ var ko = Hs, Ho = po.pd[ko], Os = po.G[0][po.H[0] + ko];
63491
+ 256 <= Os.value ? (Ho.g = Os.g + 256, Ho.value = Os.value) : (Ho.g = 0, Ho.value = 0, ko >>= lr(Os, 8, Ho), ko >>= lr(po.G[1][po.H[1] + ko], 16, Ho), ko >>= lr(po.G[2][po.H[2] + ko], 0, Ho), lr(po.G[3][po.H[3] + ko], 24, Ho));
63394
63492
  }
63395
63493
  }
63396
63494
  }
@@ -63409,9 +63507,9 @@ function WebPDecoder(a) {
63409
63507
  break e;
63410
63508
  }
63411
63509
  } else pe.ua = 0;
63412
- var la = B, Ca = re, Aa = ie, ca = la.s, da = ca.xc;
63413
- if (la.c = Ca, la.i = Aa, ca.md = ze(Ca, da), ca.wc = da == 0 ? -1 : (1 << da) - 1, R) {
63414
- B.xb = Xs;
63510
+ var ca = B, xa = re, La = ie, da = ca.s, ha = da.xc;
63511
+ if (ca.c = xa, ca.i = La, da.md = ze(xa, ha), da.wc = ha == 0 ? -1 : (1 << ha) - 1, R) {
63512
+ B.xb = qs;
63415
63513
  break e;
63416
63514
  }
63417
63515
  if (Ee = s(re * ie), Ee == null) {
@@ -63431,7 +63529,7 @@ function WebPDecoder(a) {
63431
63529
  var R = N.C, B = F - R, K = N.V, te = N.Ba + N.c * R;
63432
63530
  for (t(F <= N.l.o); 0 < B; ) {
63433
63531
  var re = 16 < B ? 16 : B, ie = N.l.ma, ce = N.l.width, pe = ce * re, Ee = ie.ca, Oe = ie.tb + ce * R, Xe = N.Ta, qe = N.Ua;
63434
- Rr(N, re, K, te), xs(Xe, qe, Ee, Oe, pe), Ur(ie, R, R + re, Ee, Oe, ce), B -= re, K += re * N.c, R += re;
63532
+ Rr(N, re, K, te), bs(Xe, qe, Ee, Oe, pe), Ur(ie, R, R + re, Ee, Oe, ce), B -= re, K += re * N.c, R += re;
63435
63533
  }
63436
63534
  t(R == F), N.C = N.Ma = F;
63437
63535
  }
@@ -63444,7 +63542,7 @@ function WebPDecoder(a) {
63444
63542
  N.a = 3;
63445
63543
  break e;
63446
63544
  }
63447
- if (N.xb = ws, F.width = R[0], F.height = B[0], !ni(R[0], B[0], 1, N, null)) break e;
63545
+ if (N.xb = Cs, F.width = R[0], F.height = B[0], !ni(R[0], B[0], 1, N, null)) break e;
63448
63546
  return 1;
63449
63547
  }
63450
63548
  return t(N.a != 0), 0;
@@ -63557,7 +63655,7 @@ function WebPDecoder(a) {
63557
63655
  continue;
63558
63656
  } else Xe = R;
63559
63657
  var qe = N.pb[Oe];
63560
- qe.Sc[0] = Un[Jr(Xe + K, 127)], qe.Sc[1] = Yn[Jr(Xe + 0, 127)], qe.Eb[0] = 2 * Un[Jr(Xe + B, 127)], qe.Eb[1] = 101581 * Yn[Jr(Xe + ie, 127)] >> 16, 8 > qe.Eb[1] && (qe.Eb[1] = 8), qe.Qc[0] = Un[Jr(Xe + ce, 117)], qe.Qc[1] = Yn[Jr(Xe + pe, 127)], qe.lc = Xe + pe;
63658
+ qe.Sc[0] = Yn[Jr(Xe + K, 127)], qe.Sc[1] = Zn[Jr(Xe + 0, 127)], qe.Eb[0] = 2 * Yn[Jr(Xe + B, 127)], qe.Eb[1] = 101581 * Zn[Jr(Xe + ie, 127)] >> 16, 8 > qe.Eb[1] && (qe.Eb[1] = 8), qe.Qc[0] = Yn[Jr(Xe + ce, 117)], qe.Qc[1] = Zn[Jr(Xe + pe, 127)], qe.lc = Xe + pe;
63561
63659
  }
63562
63660
  if (!re.Rb) return rt(N, 4, "Not a key frame.");
63563
63661
  for (Te(te), re = N.Pa, R = 0; 4 > R; ++R) {
@@ -63566,7 +63664,7 @@ function WebPDecoder(a) {
63566
63664
  for (ie = 0; 11 > ie; ++ie)
63567
63665
  ce = He(te, Pn[R][K][B][ie]) ? ve(te, 8) : _n[R][K][B][ie], re.Wc[R][K].Yb[B][ie] = ce;
63568
63666
  for (K = 0; 17 > K; ++K)
63569
- re.Xc[R][K] = re.Wc[R][ns[K]];
63667
+ re.Xc[R][K] = re.Wc[R][ss[K]];
63570
63668
  }
63571
63669
  return N.kc = Te(te), N.kc && (N.Bd = ve(te, 8)), N.cb = 1;
63572
63670
  }
@@ -63581,14 +63679,14 @@ function WebPDecoder(a) {
63581
63679
  var pe = N, Oe = ie, Xe = R, Ee = 0;
63582
63680
  if (He(pe, Oe[Xe + 3]))
63583
63681
  if (He(pe, Oe[Xe + 6])) {
63584
- for (ie = 0, Ee = He(pe, Oe[Xe + 8]), Oe = He(pe, Oe[Xe + 9 + Ee]), Xe = 2 * Ee + Oe, Ee = 0, Oe = is[Xe]; Oe[ie]; ++ie)
63682
+ for (ie = 0, Ee = He(pe, Oe[Xe + 8]), Oe = He(pe, Oe[Xe + 9 + Ee]), Xe = 2 * Ee + Oe, Ee = 0, Oe = os[Xe]; Oe[ie]; ++ie)
63585
63683
  Ee += Ee + He(pe, Oe[ie]);
63586
63684
  Ee += 3 + (8 << Xe);
63587
63685
  } else He(pe, Oe[Xe + 7]) ? (Ee = 7 + 2 * He(pe, 165), Ee += He(pe, 145)) : Ee = 5 + He(pe, 159);
63588
63686
  else He(pe, Oe[Xe + 4]) ? Ee = 3 + He(pe, Oe[Xe + 5]) : Ee = 2;
63589
63687
  ie = ce[2];
63590
63688
  } else Ee = 1, ie = ce[1];
63591
- ce = re + os[K], pe = N, 0 > pe.b && Ve(pe);
63689
+ ce = re + ns[K], pe = N, 0 > pe.b && Ve(pe);
63592
63690
  var Oe = pe.b, Xe = pe.Ca >> 1, qe = Xe - (pe.I >> Oe) >> 31;
63593
63691
  --pe.b, pe.Ca += qe, pe.Ca |= 1, pe.I -= (Xe + 1 & qe) << Oe, te[ce] = ((Ee ^ qe) - qe) * B[(0 < K) + 0];
63594
63692
  }
@@ -63609,8 +63707,8 @@ function WebPDecoder(a) {
63609
63707
  var Je = Ee[0 + ie], et;
63610
63708
  for (et = 0; 4 > et; ++et) {
63611
63709
  Je = Do[ce[pe + et]][Je];
63612
- for (var Ye = Zn[He(re, Je[0])]; 0 < Ye; )
63613
- Ye = Zn[2 * Ye + He(re, Je[Ye])];
63710
+ for (var Ye = Gn[He(re, Je[0])]; 0 < Ye; )
63711
+ Ye = Gn[2 * Ye + He(re, Je[Ye])];
63614
63712
  Je = -Ye, ce[pe + et] = Je;
63615
63713
  }
63616
63714
  o(Xe, qe, ce, pe, 4), qe += 4, Ee[0 + ie] = Je;
@@ -63662,10 +63760,10 @@ function WebPDecoder(a) {
63662
63760
  var Ir = rr.D, ir = Ir.Nb;
63663
63761
  Ke = rr.R;
63664
63762
  var Ir = Ir.wa[Ir.Y + st], Ar = rr.sa, zr = rr.ta + 16 * ir * Ke + 16 * st, _i = Ir.dd, _r = Ir.tc;
63665
- if (_r != 0) if (t(3 <= _r), rr.L == 1) 0 < st && ms(Ar, zr, Ke, _r + 4), Ir.La && vs(Ar, zr, Ke, _r), 0 < nt && gs(Ar, zr, Ke, _r + 4), Ir.La && ys(Ar, zr, Ke, _r);
63763
+ if (_r != 0) if (t(3 <= _r), rr.L == 1) 0 < st && ys(Ar, zr, Ke, _r + 4), Ir.La && ws(Ar, zr, Ke, _r), 0 < nt && ms(Ar, zr, Ke, _r + 4), Ir.La && vs(Ar, zr, Ke, _r);
63666
63764
  else {
63667
63765
  var ti = rr.B, Fo = rr.qa, Wr = rr.ra + 8 * ir * ti + 8 * st, Tr = rr.Ha, rr = rr.Ia + 8 * ir * ti + 8 * st, ir = Ir.ld;
63668
- 0 < st && (ls(Ar, zr, Ke, _r + 4, _i, ir), ds(Fo, Wr, Tr, rr, ti, _r + 4, _i, ir)), Ir.La && (us(Ar, zr, Ke, _r, _i, ir), ps(Fo, Wr, Tr, rr, ti, _r, _i, ir)), 0 < nt && (as(Ar, zr, Ke, _r + 4, _i, ir), cs(Fo, Wr, Tr, rr, ti, _r + 4, _i, ir)), Ir.La && (hs(Ar, zr, Ke, _r, _i, ir), fs(Fo, Wr, Tr, rr, ti, _r, _i, ir));
63766
+ 0 < st && (cs(Ar, zr, Ke, _r + 4, _i, ir), hs(Fo, Wr, Tr, rr, ti, _r + 4, _i, ir)), Ir.La && (fs(Ar, zr, Ke, _r, _i, ir), gs(Fo, Wr, Tr, rr, ti, _r, _i, ir)), 0 < nt && (ls(Ar, zr, Ke, _r + 4, _i, ir), ds(Fo, Wr, Tr, rr, ti, _r + 4, _i, ir)), Ir.La && (us(Ar, zr, Ke, _r, _i, ir), ps(Fo, Wr, Tr, rr, ti, _r, _i, ir));
63669
63767
  }
63670
63768
  }
63671
63769
  if (R.ia && alert("todo:DitherRow"), B.put != null) {
@@ -63710,7 +63808,7 @@ function WebPDecoder(a) {
63710
63808
  } else rt(N, 6, "Frame setup failed"), R = N.a;
63711
63809
  if (R = R == 0) {
63712
63810
  if (R) {
63713
- N.$c = 0, 0 < N.Aa || (N.Ic = ta);
63811
+ N.$c = 0, 0 < N.Aa || (N.Ic = ra);
63714
63812
  e: {
63715
63813
  R = N.Ic;
63716
63814
  var ce = N.za, B = 4 * ce, pe = 32 * ce, Ee = ce + 1, Oe = 0 < N.L ? ce * (0 < N.Aa ? 2 : 1) : 0, Xe = (N.Aa == 2 ? 2 : 1) * ce;
@@ -63738,7 +63836,7 @@ function WebPDecoder(a) {
63738
63836
  So[255 + R] = 0 > R ? 0 : 255 < R ? 255 : R;
63739
63837
  Vr = 1;
63740
63838
  }
63741
- fo = Ki, Nn = Qi, Gn = Wo, Eo = Zr, Vn = Ji, ss = Pi, as = Qr, ls = xo, cs = wn, ds = On, hs = bo, us = Zo, fs = Si, ps = ro, gs = Hi, ms = vn, ys = Ti, vs = wi, $r[0] = Rn, $r[1] = Pr, $r[2] = Ln, $r[3] = Mn, $r[4] = jo, $r[5] = yi, $r[6] = gn, $r[7] = Uo, $r[8] = mn, $r[9] = Yo, Ai[0] = mi, Ai[1] = un, Ai[2] = In, Ai[3] = An, Ai[4] = fn, Ai[5] = pn, Ai[6] = wo, Li[0] = kn, Li[1] = Fn, Li[2] = yn, Li[3] = $i, Li[4] = Ni, Li[5] = Hn, Li[6] = sr, R = 1;
63839
+ fo = Ki, Nn = Qi, Vn = Wo, Eo = Zr, Xn = Ji, as = Pi, ls = Qr, cs = xo, ds = wn, hs = Bn, us = bo, fs = Zo, ps = Si, gs = ro, ms = Hi, ys = vn, vs = Ti, ws = wi, $r[0] = kn, $r[1] = Pr, $r[2] = Mn, $r[3] = Rn, $r[4] = jo, $r[5] = yi, $r[6] = gn, $r[7] = Uo, $r[8] = mn, $r[9] = Yo, Ai[0] = mi, Ai[1] = un, Ai[2] = An, Ai[3] = Ln, Ai[4] = fn, Ai[5] = pn, Ai[6] = wo, Li[0] = Hn, Li[1] = In, Li[2] = yn, Li[3] = $i, Li[4] = Ni, Li[5] = On, Li[6] = sr, R = 1;
63742
63840
  } else R = 0;
63743
63841
  }
63744
63842
  R && (R = zt(N, F)), F.bc != null && F.bc(F), R &= 1;
@@ -63804,18 +63902,18 @@ function WebPDecoder(a) {
63804
63902
  function Pr(N, F) {
63805
63903
  Ri(N, F, 4);
63806
63904
  }
63807
- function Fn(N, F) {
63905
+ function In(N, F) {
63808
63906
  Ri(N, F, 8);
63809
63907
  }
63810
63908
  function un(N, F) {
63811
63909
  Ri(N, F, 16);
63812
63910
  }
63813
- function In(N, F) {
63911
+ function An(N, F) {
63814
63912
  var R;
63815
63913
  for (R = 0; 16 > R; ++R)
63816
63914
  o(N, F + 32 * R, N, F - 32, 16);
63817
63915
  }
63818
- function An(N, F) {
63916
+ function Ln(N, F) {
63819
63917
  var R;
63820
63918
  for (R = 16; 0 < R; --R)
63821
63919
  n(N, F, N[F - 1], 16), F += 32;
@@ -63849,16 +63947,16 @@ function WebPDecoder(a) {
63849
63947
  function Rt(N, F, R) {
63850
63948
  return N + 2 * F + R + 2 >> 2;
63851
63949
  }
63852
- function Ln(N, F) {
63950
+ function Mn(N, F) {
63853
63951
  var R = F - 32, R = new Uint8Array([Rt(N[R - 1], N[R + 0], N[R + 1]), Rt(N[R + 0], N[R + 1], N[R + 2]), Rt(N[R + 1], N[R + 2], N[R + 3]), Rt(N[R + 2], N[R + 3], N[R + 4])]), B;
63854
63952
  for (B = 0; 4 > B; ++B)
63855
63953
  o(N, F + 32 * B, R, 0, R.length);
63856
63954
  }
63857
- function Mn(N, F) {
63955
+ function Rn(N, F) {
63858
63956
  var R = N[F - 1], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 + 96];
63859
63957
  Ce(N, F + 0, 16843009 * Rt(N[F - 1 - 32], R, B)), Ce(N, F + 32, 16843009 * Rt(R, B, K)), Ce(N, F + 64, 16843009 * Rt(B, K, te)), Ce(N, F + 96, 16843009 * Rt(K, te, te));
63860
63958
  }
63861
- function Rn(N, F) {
63959
+ function kn(N, F) {
63862
63960
  var R = 4, B;
63863
63961
  for (B = 0; 4 > B; ++B)
63864
63962
  R += N[F + B - 32] + N[F - 1 + 32 * B];
@@ -63904,13 +64002,13 @@ function WebPDecoder(a) {
63904
64002
  for (B = 0; 8 > B; ++B)
63905
64003
  n(F, R + 32 * B, N, 8);
63906
64004
  }
63907
- function kn(N, F) {
64005
+ function Hn(N, F) {
63908
64006
  var R = 8, B;
63909
64007
  for (B = 0; 8 > B; ++B)
63910
64008
  R += N[F + B - 32] + N[F - 1 + 32 * B];
63911
64009
  Co(R >> 4, N, F);
63912
64010
  }
63913
- function Hn(N, F) {
64011
+ function On(N, F) {
63914
64012
  var R = 4, B;
63915
64013
  for (B = 0; 8 > B; ++B)
63916
64014
  R += N[F + B - 32];
@@ -63999,7 +64097,7 @@ function WebPDecoder(a) {
63999
64097
  function wn(N, F, R, B, K, te, re, ie) {
64000
64098
  qr(N, F, K, 1, 8, te, re, ie), qr(R, B, K, 1, 8, te, re, ie);
64001
64099
  }
64002
- function On(N, F, R, B, K, te, re, ie) {
64100
+ function Bn(N, F, R, B, K, te, re, ie) {
64003
64101
  qr(N, F, 1, K, 8, te, re, ie), qr(R, B, 1, K, 8, te, re, ie);
64004
64102
  }
64005
64103
  function Si(N, F, R, B, K, te, re, ie) {
@@ -64166,7 +64264,7 @@ function WebPDecoder(a) {
64166
64264
  R[B + te] = N[F + te] >> 8;
64167
64265
  }
64168
64266
  function Kt() {
64169
- on = ft, Tn = mt, Cs = Bt, xs = Ht;
64267
+ on = ft, Tn = mt, xs = Bt, bs = Ht;
64170
64268
  }
64171
64269
  function $t(N, F, R) {
64172
64270
  j[N] = function(B, K, te, re, ie, ce, pe, Ee, Oe, Xe, qe, Je, et, Ye, Ke, tt, st) {
@@ -64181,10 +64279,10 @@ function WebPDecoder(a) {
64181
64279
  };
64182
64280
  }
64183
64281
  function yr() {
64184
- ei[Fr] = Xn, ei[xr] = bs, ei[xn] = Sn, ei[Xr] = _s, ei[Ii] = Ps, ei[Bn] = Ns, ei[rs] = qs, ei[zn] = bs, ei[Wn] = _s, ei[bn] = Ps, ei[jn] = Ns;
64282
+ ei[Fr] = qn, ei[xr] = _s, ei[xn] = Sn, ei[Xr] = Ps, ei[Ii] = Ns, ei[zn] = Ts, ei[is] = Qs, ei[Wn] = _s, ei[jn] = Ps, ei[bn] = Ns, ei[Un] = Ts;
64185
64283
  }
64186
64284
  function Sr(N) {
64187
- return N & -16384 ? 0 > N ? 0 : 255 : N >> Ts;
64285
+ return N & -16384 ? 0 > N ? 0 : 255 : N >> Ss;
64188
64286
  }
64189
64287
  function ur(N, F) {
64190
64288
  return Sr((19077 * N >> 8) + (26149 * F >> 8) - 14234);
@@ -64237,7 +64335,7 @@ function WebPDecoder(a) {
64237
64335
  Nn(F, R, B, K, 0);
64238
64336
  break;
64239
64337
  case 2:
64240
- ss(F, R, B, K);
64338
+ as(F, R, B, K);
64241
64339
  break;
64242
64340
  case 1:
64243
64341
  Eo(F, R, B, K);
@@ -64263,10 +64361,10 @@ function WebPDecoder(a) {
64263
64361
  for (0 < K && (B >= N.za - 1 ? n(Ke, tt, qe[Je].y[15], 4) : o(Ke, tt, qe[Je + 1].y, 0, 4)), R = 0; 4 > R; R++)
64264
64362
  Ke[tt + 128 + R] = Ke[tt + 256 + R] = Ke[tt + 384 + R] = Ke[tt + 0 + R];
64265
64363
  for (R = 0; 16 > R; ++R, Ye <<= 2)
64266
- Ke = re, tt = ie + Es[R], $r[Xe.Ob[R]](Ke, tt), oo(Ye, et, 16 * +R, Ke, tt);
64364
+ Ke = re, tt = ie + Fs[R], $r[Xe.Ob[R]](Ke, tt), oo(Ye, et, 16 * +R, Ke, tt);
64267
64365
  } else if (Ke = si(B, K, Xe.Ob[0]), Ai[Ke](re, ie), Ye != 0) for (R = 0; 16 > R; ++R, Ye <<= 2)
64268
- oo(Ye, et, 16 * +R, re, ie + Es[R]);
64269
- for (R = Xe.Gc, Ke = si(B, K, Xe.Dd), Li[Ke](ce, pe), Li[Ke](Ee, Oe), Xe = R >> 0, Ye = et, Ke = ce, tt = pe, Xe & 255 && (Xe & 170 ? Gn(Ye, 256, Ke, tt) : Vn(Ye, 256, Ke, tt)), R >>= 8, Xe = Ee, Ye = Oe, R & 255 && (R & 170 ? Gn(et, 320, Xe, Ye) : Vn(et, 320, Xe, Ye)), K < N.Ub - 1 && (o(qe[Je].y, 0, re, ie + 480, 16), o(qe[Je].f, 0, ce, pe + 224, 8), o(qe[Je].ea, 0, Ee, Oe + 224, 8)), R = 8 * te * N.B, qe = N.sa, Je = N.ta + 16 * B + 16 * te * N.R, et = N.qa, Xe = N.ra + 8 * B + R, Ye = N.Ha, Ke = N.Ia + 8 * B + R, R = 0; 16 > R; ++R)
64366
+ oo(Ye, et, 16 * +R, re, ie + Fs[R]);
64367
+ for (R = Xe.Gc, Ke = si(B, K, Xe.Dd), Li[Ke](ce, pe), Li[Ke](Ee, Oe), Xe = R >> 0, Ye = et, Ke = ce, tt = pe, Xe & 255 && (Xe & 170 ? Vn(Ye, 256, Ke, tt) : Xn(Ye, 256, Ke, tt)), R >>= 8, Xe = Ee, Ye = Oe, R & 255 && (R & 170 ? Vn(et, 320, Xe, Ye) : Xn(et, 320, Xe, Ye)), K < N.Ub - 1 && (o(qe[Je].y, 0, re, ie + 480, 16), o(qe[Je].f, 0, ce, pe + 224, 8), o(qe[Je].ea, 0, Ee, Oe + 224, 8)), R = 8 * te * N.B, qe = N.sa, Je = N.ta + 16 * B + 16 * te * N.R, et = N.qa, Xe = N.ra + 8 * B + R, Ye = N.Ha, Ke = N.Ia + 8 * B + R, R = 0; 16 > R; ++R)
64270
64368
  o(qe, Je + R * N.R, re, ie + 32 * R, 16);
64271
64369
  for (R = 0; 8 > R; ++R)
64272
64370
  o(et, Xe + R * N.B, ce, pe + 32 * R, 8), o(Ye, Ke + R * N.B, Ee, Oe + 32 * R, 8);
@@ -64442,7 +64540,7 @@ function WebPDecoder(a) {
64442
64540
  if (N = B.S, 0 >= ce || 0 >= pe || !(N >= Fr && 13 > N)) N = 2;
64443
64541
  else {
64444
64542
  if (0 >= B.Rd && B.sd == null) {
64445
- var re = te = K = F = 0, ie = ce * Qn[N], Ee = ie * pe;
64543
+ var re = te = K = F = 0, ie = ce * Jn[N], Ee = ie * pe;
64446
64544
  if (11 > N || (F = (ce + 1) / 2, te = (pe + 1) / 2 * F, N == 12 && (K = ce, re = K * pe)), pe = s(Ee + 2 * te + re), pe == null) {
64447
64545
  N = 1;
64448
64546
  break e;
@@ -64450,7 +64548,7 @@ function WebPDecoder(a) {
64450
64548
  B.sd = pe, 11 > N ? (ce = B.f.RGBA, ce.eb = pe, ce.fb = 0, ce.A = ie, ce.size = Ee) : (ce = B.f.kb, ce.y = pe, ce.O = 0, ce.fa = ie, ce.Fd = Ee, ce.f = pe, ce.N = 0 + Ee, ce.Ab = F, ce.Cd = te, ce.ea = pe, ce.W = 0 + Ee + te, ce.Db = F, ce.Ed = te, N == 12 && (ce.F = pe, ce.J = 0 + Ee + 2 * te), ce.Tc = re, ce.lb = K);
64451
64549
  }
64452
64550
  if (F = 1, K = B.S, te = B.width, re = B.height, K >= Fr && 13 > K)
64453
- if (11 > K) N = B.f.RGBA, ie = Math.abs(N.A), F &= ie * (re - 1) + te <= N.size, F &= ie >= te * Qn[K], F &= N.eb != null;
64551
+ if (11 > K) N = B.f.RGBA, ie = Math.abs(N.A), F &= ie * (re - 1) + te <= N.size, F &= ie >= te * Jn[K], F &= N.eb != null;
64454
64552
  else {
64455
64553
  N = B.f.kb, ie = (te + 1) / 2, Ee = (re + 1) / 2, ce = Math.abs(N.fa);
64456
64554
  var pe = Math.abs(N.Ab), Oe = Math.abs(N.Db), Xe = Math.abs(N.lb), qe = Xe * (re - 1) + te;
@@ -64509,11 +64607,11 @@ function WebPDecoder(a) {
64509
64607
  });
64510
64608
  var co = j.ColorIndexInverseTransform, bi = j.MapARGB, zi = j.VP8LColorIndexInverseTransformAlpha, Wi = j.MapAlpha, To, ai = j.VP8LPredictorsAdd = [];
64511
64609
  ai.length = 16, (j.VP8LPredictors = []).length = 16, (j.VP8LPredictorsAdd_C = []).length = 16, (j.VP8LPredictors_C = []).length = 16;
64512
- var $o, en, Ei, ho, uo, Hr, Gr = s(511), Fi = s(2041), ji = s(225), So = s(767), Vr = 0, li = Fi, vr = ji, ar = So, dr = Gr, Fr = 0, xr = 1, xn = 2, Xr = 3, Ii = 4, Bn = 5, rs = 6, zn = 7, Wn = 8, bn = 9, jn = 10, Ws = [2, 3, 7], js = [3, 3, 11], tn = [280, 256, 256, 256, 40], Us = [0, 1, 1, 1, 0], Ys = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Zs = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], Gs = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Vs = 8, Un = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], Yn = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], rn = null, is = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], os = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Zn = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], _n = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], Do = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], Pn = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ns = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], fo, Ai = [], $r = [], Li = [], Nn, ss, Gn, Eo, Vn, as, ls, cs, ds, hs, us, fs, ps, gs, ms, ys, vs, Xs = 1, ws = 2, Ui = [], on, Tn, Cs, xs, ei = [];
64610
+ var $o, en, Ei, ho, uo, Hr, Gr = s(511), Fi = s(2041), ji = s(225), So = s(767), Vr = 0, li = Fi, vr = ji, ar = So, dr = Gr, Fr = 0, xr = 1, xn = 2, Xr = 3, Ii = 4, zn = 5, is = 6, Wn = 7, jn = 8, bn = 9, Un = 10, js = [2, 3, 7], Us = [3, 3, 11], tn = [280, 256, 256, 256, 40], Ys = [0, 1, 1, 1, 0], Zs = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Gs = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], Vs = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Xs = 8, Yn = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], Zn = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], rn = null, os = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], ns = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Gn = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], _n = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], Do = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], Pn = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ss = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], fo, Ai = [], $r = [], Li = [], Nn, as, Vn, Eo, Xn, ls, cs, ds, hs, us, fs, ps, gs, ms, ys, vs, ws, qs = 1, Cs = 2, Ui = [], on, Tn, xs, bs, ei = [];
64513
64611
  $t("UpsampleRgbLinePair", Oi, 3), $t("UpsampleBgrLinePair", _o, 3), $t("UpsampleRgbaLinePair", Qo, 4), $t("UpsampleBgraLinePair", io, 4), $t("UpsampleArgbLinePair", qo, 4), $t("UpsampleRgba4444LinePair", Xo, 2), $t("UpsampleRgb565LinePair", fr, 2);
64514
- var Xn = j.UpsampleRgbLinePair, Sn = j.UpsampleBgrLinePair, bs = j.UpsampleRgbaLinePair, _s = j.UpsampleBgraLinePair, Ps = j.UpsampleArgbLinePair, Ns = j.UpsampleRgba4444LinePair, qs = j.UpsampleRgb565LinePair, Dn = 16, nn = 1 << Dn - 1, sn = -227, qn = 482, Ts = 6, Ss = 0, Qs = s(256), Js = s(256), Yi = s(256), Ds = s(256), Ks = s(qn - sn), $s = s(qn - sn);
64612
+ var qn = j.UpsampleRgbLinePair, Sn = j.UpsampleBgrLinePair, _s = j.UpsampleRgbaLinePair, Ps = j.UpsampleBgraLinePair, Ns = j.UpsampleArgbLinePair, Ts = j.UpsampleRgba4444LinePair, Qs = j.UpsampleRgb565LinePair, Dn = 16, nn = 1 << Dn - 1, sn = -227, Qn = 482, Ss = 6, Ds = 0, Js = s(256), Ks = s(256), Yi = s(256), Es = s(256), $s = s(Qn - sn), ea = s(Qn - sn);
64515
64613
  Dr("YuvToRgbRow", Oi, 3), Dr("YuvToBgrRow", _o, 3), Dr("YuvToRgbaRow", Qo, 4), Dr("YuvToBgraRow", io, 4), Dr("YuvToArgbRow", qo, 4), Dr("YuvToRgba4444Row", Xo, 2), Dr("YuvToRgb565Row", fr, 2);
64516
- var Es = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], dt = [0, 2, 8], ea = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], ta = 1;
64614
+ var Fs = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], dt = [0, 2, 8], ta = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], ra = 1;
64517
64615
  this.WebPDecodeRGBA = function(N, F, R, B, K) {
64518
64616
  var te = xr, re = new Go(), ie = new Ut();
64519
64617
  re.ba = ie, ie.S = te, ie.width = [ie.width], ie.height = [ie.height];
@@ -64570,7 +64668,7 @@ function WebPDecoder(a) {
64570
64668
  if (N.Aa = 0, R = re.Oa, K = N, t(K != null), R != null) {
64571
64669
  if (ce = R.Md, ce = 0 > ce ? 0 : 100 < ce ? 255 : 255 * ce / 100, 0 < ce) {
64572
64670
  for (pe = Ee = 0; 4 > pe; ++pe)
64573
- Oe = K.pb[pe], 12 > Oe.lc && (Oe.ia = ce * ea[0 > Oe.lc ? 0 : Oe.lc] >> 3), Ee |= Oe.ia;
64671
+ Oe = K.pb[pe], 12 > Oe.lc && (Oe.ia = ce * ta[0 > Oe.lc ? 0 : Oe.lc] >> 3), Ee |= Oe.ia;
64574
64672
  Ee && (alert("todo:VP8InitRandom"), K.ia = 1);
64575
64673
  }
64576
64674
  K.Ga = R.Id, 100 < K.Ga ? K.Ga = 100 : 0 > K.Ga && (K.Ga = 0);
@@ -64587,7 +64685,7 @@ function WebPDecoder(a) {
64587
64685
  } else te = null;
64588
64686
  return te;
64589
64687
  };
64590
- var Qn = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
64688
+ var Jn = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
64591
64689
  };
64592
64690
  new u();
64593
64691
  /** @license
@@ -65170,7 +65268,7 @@ WebPDecoder.prototype.getData = function() {
65170
65268
  (function(a) {
65171
65269
  function t() {
65172
65270
  return function() {
65173
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-Z_zuMJTf.mjs");
65271
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-DIvCgnG5.mjs");
65174
65272
  }().catch(function(r) {
65175
65273
  return Promise.reject(new Error("Could not load canvg: " + r));
65176
65274
  }).then(function(r) {
@@ -72845,9 +72943,11 @@ class HOEditorFactory {
72845
72943
  b(this, "saveDocLog", !1);
72846
72944
  // 记录文档信息
72847
72945
  b(this, "drawRadioAndCheckBoxMode", 1);
72946
+ // 绘制模式 1: Unicode 转义 2: 字形
72947
+ /** 编辑器指令回调:宿主可通过 setHoEditorFactoryParams 绑定,接收编辑器发出的指令及参数 */
72948
+ b(this, "onEditorCommand", null);
72848
72949
  this._hoEditorFactoryId = t;
72849
72950
  }
72850
- // 绘制模式 1: Unicode 转义 2: 字形
72851
72951
  /**
72852
72952
  * Getter hoLocalStorage
72853
72953
  * @return {HoLocalStorage}
@@ -75370,7 +75470,7 @@ var _sfc_render$12 = function a() {
75370
75470
  t.$set(t.textParam.downListProperty, "mutexSelect", o);
75371
75471
  }, expression: "textParam.downListProperty.mutexSelect" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.181", null, "选项互斥"))]), r("div", { staticClass: "control-item" }, [r("span", { staticClass: "label", staticStyle: { width: "60px" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.158", null, "连接符"))]), r("a-select", { staticStyle: { "text-align": "left", "font-size": "20px" }, attrs: { size: "small", getPopupContainer: (o) => o.parentNode, placeholder: i18nHelper("04-001-009-EMR.3.3.158", null, "连接符") }, model: { value: t.textParam.downListProperty.splitCharacter, callback: function(o) {
75372
75472
  t.$set(t.textParam.downListProperty, "splitCharacter", o);
75373
- }, expression: "textParam.downListProperty.splitCharacter" } }, [r("a-select-option", { attrs: { value: "," } }, [t._v(",")]), r("a-select-option", { attrs: { value: ";" } }, [t._v(";")]), r("a-select-option", { attrs: { value: "、" } }, [t._v("、")]), r("a-select-option", { attrs: { value: "/" } }, [t._v("/")]), r("a-select-option", { attrs: { value: "-" } }, [t._v("-")]), r("a-select-option", { attrs: { value: "\\" } }, [t._v("\\")]), r("a-select-option", { attrs: { value: "" } }, [t._v("无连接符")])], 1)], 1)], 1) : t._e(), t.textParam.inputFieldType === 1 ? [r("li", { staticClass: "control-item" }, [r("span", { staticClass: "label" }, [t._v(i18nHelper("04-001-009-EMR.3.3.180", null, "设置前缀字符文本"))]), r("a-checkbox", { attrs: { disabled: !t.textParam.downListProperty.allowMultiSelected, size: "small" }, model: { value: t.textParam.downListProperty.usePrefix, callback: function(o) {
75473
+ }, expression: "textParam.downListProperty.splitCharacter" } }, [r("a-select-option", { attrs: { value: "," } }, [t._v(",")]), r("a-select-option", { attrs: { value: ";" } }, [t._v(";")]), r("a-select-option", { attrs: { value: "、" } }, [t._v("、")]), r("a-select-option", { attrs: { value: "/" } }, [t._v("/")]), r("a-select-option", { attrs: { value: "-" } }, [t._v("-")]), r("a-select-option", { attrs: { value: "\\" } }, [t._v("\\")]), r("a-select-option", { attrs: { value: "+" } }, [t._v("+")]), r("a-select-option", { attrs: { value: "" } }, [t._v("无连接符")])], 1)], 1)], 1) : t._e(), t.textParam.inputFieldType === 1 ? [r("li", { staticClass: "control-item" }, [r("span", { staticClass: "label" }, [t._v(i18nHelper("04-001-009-EMR.3.3.180", null, "设置前缀字符文本"))]), r("a-checkbox", { attrs: { disabled: !t.textParam.downListProperty.allowMultiSelected, size: "small" }, model: { value: t.textParam.downListProperty.usePrefix, callback: function(o) {
75374
75474
  t.$set(t.textParam.downListProperty, "usePrefix", o);
75375
75475
  }, expression: "textParam.downListProperty.usePrefix" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.179", null, "启用"))])], 1), r("li", { staticClass: "control-item" }, [r("span", { staticClass: "label" }, [t._v(i18nHelper("04-001-009-EMR.3.3.178", null, "选中项前缀字符文本"))]), r("a-input", { attrs: { size: "small", disabled: !t.textParam.downListProperty.allowMultiSelected || !t.textParam.downListProperty.usePrefix, placeholder: i18nHelper("04-001-009-EMR.3.3.178", null, "选中项前缀字符文本") }, model: { value: t.textParam.downListProperty.selectPrefix, callback: function(o) {
75376
75476
  t.$set(t.textParam.downListProperty, "selectPrefix", o);