hoeditor-web 3.3.2-beta.0 → 3.3.2-beta.10
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.
|
@@ -3156,9 +3156,9 @@ createjs = createjs || {};
|
|
|
3156
3156
|
for (u = 1; u < M; u++)
|
|
3157
3157
|
G = G.n = { r: 0, b: 0, g: 0, a: 0 };
|
|
3158
3158
|
G.n = W;
|
|
3159
|
-
for (var J = null, ae = a.MUL_TABLE[o] | 0,
|
|
3159
|
+
for (var J = null, ae = a.MUL_TABLE[o] | 0, Ce = a.SHG_TABLE[o] | 0, oe = a.MUL_TABLE[n] | 0, me = a.SHG_TABLE[n] | 0; s-- > 0; ) {
|
|
3160
3160
|
g = m = 0;
|
|
3161
|
-
var ue = ae, Q =
|
|
3161
|
+
var ue = ae, Q = Ce;
|
|
3162
3162
|
for (d = L; --d > -1; ) {
|
|
3163
3163
|
for (y = Y * (_ = l[m | 0]), w = Y * (D = l[m + 1 | 0]), v = Y * (E = l[m + 2 | 0]), C = Y * (T = l[m + 3 | 0]), X = U, u = Y; --u > -1; )
|
|
3164
3164
|
X.r = _, X.g = D, X.b = E, X.a = T, X = X.n;
|
|
@@ -7276,17 +7276,17 @@ function flip(a) {
|
|
|
7276
7276
|
M.set(B, ae);
|
|
7277
7277
|
}
|
|
7278
7278
|
if (k)
|
|
7279
|
-
for (var
|
|
7280
|
-
var
|
|
7279
|
+
for (var Ce = y ? 3 : 1, oe = function(ne) {
|
|
7280
|
+
var xe = E.find(function(Ie) {
|
|
7281
7281
|
var ve = M.get(Ie);
|
|
7282
7282
|
if (ve)
|
|
7283
7283
|
return ve.slice(0, ne).every(function(_e) {
|
|
7284
7284
|
return _e;
|
|
7285
7285
|
});
|
|
7286
7286
|
});
|
|
7287
|
-
if (
|
|
7288
|
-
return L =
|
|
7289
|
-
}, me =
|
|
7287
|
+
if (xe)
|
|
7288
|
+
return L = xe, "break";
|
|
7289
|
+
}, me = Ce; me > 0; me--) {
|
|
7290
7290
|
var ue = oe(me);
|
|
7291
7291
|
if (ue === "break") break;
|
|
7292
7292
|
}
|
|
@@ -7405,10 +7405,10 @@ function preventOverflow(a) {
|
|
|
7405
7405
|
};
|
|
7406
7406
|
if (I) {
|
|
7407
7407
|
if (s) {
|
|
7408
|
-
var j, U = E === "y" ? top : left, X = E === "y" ? bottom : right, W = E === "y" ? "height" : "width", G = I[E], J = G + v[U], ae = G - v[X],
|
|
7408
|
+
var j, U = E === "y" ? top : left, X = E === "y" ? bottom : right, W = E === "y" ? "height" : "width", G = I[E], J = G + v[U], ae = G - v[X], Ce = g ? -k[W] / 2 : 0, oe = _ === start ? M[W] : k[W], me = _ === start ? -k[W] : -M[W], ue = t.elements.arrow, Q = g && ue ? getLayoutRect(ue) : {
|
|
7409
7409
|
width: 0,
|
|
7410
7410
|
height: 0
|
|
7411
|
-
}, ne = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(),
|
|
7411
|
+
}, ne = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(), xe = ne[U], Ie = ne[X], ve = within(0, M[W], Q[W]), _e = D ? M[W] / 2 - Ce - ve - xe - H.mainAxis : oe - ve - xe - H.mainAxis, pe = D ? -M[W] / 2 + Ce + ve + Ie + H.mainAxis : me + ve + Ie + H.mainAxis, Pe = t.elements.arrow && getOffsetParent(t.elements.arrow), De = Pe ? E === "y" ? Pe.clientTop || 0 : Pe.clientLeft || 0 : 0, Ve = (j = B == null ? void 0 : B[E]) != null ? j : 0, Te = G + _e - Ve - De, He = G + pe - Ve, we = within(g ? min$1(J, Te) : J, G, g ? max$2(ae, He) : ae);
|
|
7412
7412
|
I[E] = we, Y[E] = we - G;
|
|
7413
7413
|
}
|
|
7414
7414
|
if (c) {
|
|
@@ -9598,6 +9598,7 @@ class RadioAndCheckBoxInstance {
|
|
|
9598
9598
|
// 选项互斥加类型区分组 参考下拉列表和下拉框的选项互斥
|
|
9599
9599
|
constructor() {
|
|
9600
9600
|
b(this, "id");
|
|
9601
|
+
b(this, "mId");
|
|
9601
9602
|
b(this, "dataId");
|
|
9602
9603
|
b(this, "type");
|
|
9603
9604
|
//private name!: string;
|
|
@@ -9648,6 +9649,12 @@ class RadioAndCheckBoxInstance {
|
|
|
9648
9649
|
set Id(t) {
|
|
9649
9650
|
this.id !== t && (this.id = t);
|
|
9650
9651
|
}
|
|
9652
|
+
get MId() {
|
|
9653
|
+
return this.mId;
|
|
9654
|
+
}
|
|
9655
|
+
set MId(t) {
|
|
9656
|
+
this.mId !== t && (this.mId = t);
|
|
9657
|
+
}
|
|
9651
9658
|
get DataId() {
|
|
9652
9659
|
return this.dataId;
|
|
9653
9660
|
}
|
|
@@ -9809,7 +9816,7 @@ class RadioAndCheckBoxInstance {
|
|
|
9809
9816
|
this.isTransToText !== t && (this.isTransToText = t);
|
|
9810
9817
|
}
|
|
9811
9818
|
static makeDefaultValue(t) {
|
|
9812
|
-
return t.id = "", t.dataId = "", t.type = ControlType.ctRadioAndCheckBox, t.text = "", t.controlStyle = "CheckBox", t.groupName = "", t.groupType = "0", t.isSelected = !1, t.isAllowDelete = !0, t.boxAlign = !0, t.numericValue = "", t.AdditionalData = "", t.tipText = "", t.readType = -1, t.isEditText = !1, t.appendText = "", t.isTransToText = !1, t.groupHasOptions = !1, t.associatedElement = "", t.associatedShowElement = "", t.associatedId = "", t.isMutualExclusion = !1, t.innerIdentifier = "", t.customProperty = new Object(), t;
|
|
9819
|
+
return t.id = "", t.dataId = "", t.type = ControlType.ctRadioAndCheckBox, t.text = "", t.controlStyle = "CheckBox", t.groupName = "", t.groupType = "0", t.isSelected = !1, t.isAllowDelete = !0, t.boxAlign = !0, t.numericValue = "", t.AdditionalData = "", t.tipText = "", t.readType = -1, t.isEditText = !1, t.appendText = "", t.isTransToText = !1, t.groupHasOptions = !1, t.associatedElement = "", t.associatedShowElement = "", t.associatedId = "", t.isMutualExclusion = !1, t.innerIdentifier = "", t.mId = "", t.customProperty = new Object(), t;
|
|
9813
9820
|
}
|
|
9814
9821
|
}
|
|
9815
9822
|
class RadioAndCheckBoxNode extends ControlNode {
|
|
@@ -9997,7 +10004,7 @@ class RadioAndCheckBoxNode extends ControlNode {
|
|
|
9997
10004
|
}
|
|
9998
10005
|
get radioAndCheckBoxInstance() {
|
|
9999
10006
|
const t = new RadioAndCheckBoxInstance();
|
|
10000
|
-
return RadioAndCheckBoxInstance.makeDefaultValue(t), t.DataId = this.dataId !== void 0 ? this.dataId : t.DataId, t.ControlStyle = this.controlStyle !== void 0 ? this.controlStyle : t.ControlStyle, t.GroupName = this.groupName !== void 0 ? this.groupName : t.GroupName, t.groupType = this.groupType !== void 0 ? this.groupType : t.groupType, t.AdditionalData = this.additionalData !== void 0 ? this.additionalData : t.AdditionalData, t.TipText = this.tipText !== void 0 ? this.tipText : t.TipText, t.BoxAlign = this.boxAlign !== void 0 ? this.boxAlign : t.BoxAlign, t.IsAllowDelete = this.isAllowDelete !== void 0 ? this.isAllowDelete : t.IsAllowDelete, t.IsSelected = this.isSelected !== void 0 ? this.isSelected : t.IsSelected, t.NumericValue = this.numericValue !== void 0 ? this.numericValue : t.NumericValue, t.Id = this.id !== void 0 ? this.id : t.Id, t.Type = this.type !== void 0 ? this.type : t.Type, t.Text = this.text !== void 0 ? this.text : t.Text, t.innerIdentifier = this.innerIdentifier, t.customProperty = this.customProperty, t.ReadType = this.readType !== void 0 ? this.readType : t.ReadType, t.IsEditText = this.isEditText !== void 0 ? this.isEditText : t.IsEditText, t.AppendText = this.appendText !== void 0 ? this.appendText : t.AppendText, t.IsTransToText = this.isTransToText != null ? this.isTransToText : t.IsTransToText, t.GroupHasOptions = this.groupHasOptions != null ? this.groupHasOptions : t.GroupHasOptions, t.AssociatedElement = this.associatedElement != null ? this.associatedElement : t.AssociatedElement, t.AssociatedId = this.associatedId != null ? this.associatedId : t.AssociatedId, t.IsMutualExclusion = this.isMutualExclusion != null ? this.isMutualExclusion : t.IsMutualExclusion, t.AssociatedShowElement = this.associatedShowElement != null ? this.associatedShowElement : t.AssociatedShowElement, t;
|
|
10007
|
+
return RadioAndCheckBoxInstance.makeDefaultValue(t), t.DataId = this.dataId !== void 0 ? this.dataId : t.DataId, t.ControlStyle = this.controlStyle !== void 0 ? this.controlStyle : t.ControlStyle, t.GroupName = this.groupName !== void 0 ? this.groupName : t.GroupName, t.groupType = this.groupType !== void 0 ? this.groupType : t.groupType, t.AdditionalData = this.additionalData !== void 0 ? this.additionalData : t.AdditionalData, t.TipText = this.tipText !== void 0 ? this.tipText : t.TipText, t.BoxAlign = this.boxAlign !== void 0 ? this.boxAlign : t.BoxAlign, t.IsAllowDelete = this.isAllowDelete !== void 0 ? this.isAllowDelete : t.IsAllowDelete, t.IsSelected = this.isSelected !== void 0 ? this.isSelected : t.IsSelected, t.NumericValue = this.numericValue !== void 0 ? this.numericValue : t.NumericValue, t.Id = this.id !== void 0 ? this.id : t.Id, t.MId = this.mId !== void 0 ? this.mId : t.MId, t.Type = this.type !== void 0 ? this.type : t.Type, t.Text = this.text !== void 0 ? this.text : t.Text, t.innerIdentifier = this.innerIdentifier, t.customProperty = this.customProperty, t.ReadType = this.readType !== void 0 ? this.readType : t.ReadType, t.IsEditText = this.isEditText !== void 0 ? this.isEditText : t.IsEditText, t.AppendText = this.appendText !== void 0 ? this.appendText : t.AppendText, t.IsTransToText = this.isTransToText != null ? this.isTransToText : t.IsTransToText, t.GroupHasOptions = this.groupHasOptions != null ? this.groupHasOptions : t.GroupHasOptions, t.AssociatedElement = this.associatedElement != null ? this.associatedElement : t.AssociatedElement, t.AssociatedId = this.associatedId != null ? this.associatedId : t.AssociatedId, t.IsMutualExclusion = this.isMutualExclusion != null ? this.isMutualExclusion : t.IsMutualExclusion, t.AssociatedShowElement = this.associatedShowElement != null ? this.associatedShowElement : t.AssociatedShowElement, t;
|
|
10001
10008
|
}
|
|
10002
10009
|
/**
|
|
10003
10010
|
*
|
|
@@ -10766,7 +10773,11 @@ let TableFormula$1 = class _TableFormula extends ControlNode {
|
|
|
10766
10773
|
d && u && (l = Number(u));
|
|
10767
10774
|
}
|
|
10768
10775
|
}
|
|
10769
|
-
if (o[2] == "
|
|
10776
|
+
if (o[2] == "3") {
|
|
10777
|
+
const c = this.getHeightNum(o[1]);
|
|
10778
|
+
if (typeof c == "number" && l)
|
|
10779
|
+
return Math.sqrt(c * l / 3600).toFixed(4);
|
|
10780
|
+
} else if (o[2] == "2") {
|
|
10770
10781
|
const c = this.getHeightNum(o[1]);
|
|
10771
10782
|
if (typeof c == "number" && l)
|
|
10772
10783
|
return (7184e-6 * Math.pow(l, 0.425) * Math.pow(c, 0.725)).toFixed(4);
|
|
@@ -15240,7 +15251,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15240
15251
|
}
|
|
15241
15252
|
}
|
|
15242
15253
|
}
|
|
15243
|
-
const version = "3.3.2-beta.
|
|
15254
|
+
const version = "3.3.2-beta.10";
|
|
15244
15255
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15245
15256
|
class SignNode extends BaseNode {
|
|
15246
15257
|
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) {
|
|
@@ -15630,7 +15641,7 @@ function requireQrcode() {
|
|
|
15630
15641
|
Pe[De][Ve] = null;
|
|
15631
15642
|
}
|
|
15632
15643
|
return Pe;
|
|
15633
|
-
}(Y), G(0, 0), G(Y - 7, 0), G(0, Y - 7),
|
|
15644
|
+
}(Y), G(0, 0), G(Y - 7, 0), G(0, Y - 7), Ce(), ae(), me(ve, _e), L >= 7 && oe(ve), j == null && (j = ne(L, H, U)), ue(j, _e);
|
|
15634
15645
|
}, G = function(ve, _e) {
|
|
15635
15646
|
for (var pe = -1; pe <= 7; pe += 1)
|
|
15636
15647
|
if (!(ve + pe <= -1 || Y <= ve + pe))
|
|
@@ -15648,7 +15659,7 @@ function requireQrcode() {
|
|
|
15648
15659
|
B[ve][6] == null && (B[ve][6] = ve % 2 == 0);
|
|
15649
15660
|
for (var _e = 8; _e < Y - 8; _e += 1)
|
|
15650
15661
|
B[6][_e] == null && (B[6][_e] = _e % 2 == 0);
|
|
15651
|
-
},
|
|
15662
|
+
}, Ce = function() {
|
|
15652
15663
|
for (var ve = c.getPatternPosition(L), _e = 0; _e < ve.length; _e += 1)
|
|
15653
15664
|
for (var pe = 0; pe < ve.length; pe += 1) {
|
|
15654
15665
|
var Pe = ve[_e], De = ve[pe];
|
|
@@ -15785,7 +15796,7 @@ function requireQrcode() {
|
|
|
15785
15796
|
var De = {};
|
|
15786
15797
|
typeof arguments[0] == "object" && (De = arguments[0], ve = De.cellSize, _e = De.margin, pe = De.alt, Pe = De.title), ve = ve || 2, _e = typeof _e > "u" ? ve * 4 : _e, pe = typeof pe == "string" ? { text: pe } : pe || {}, pe.text = pe.text || null, pe.id = pe.text ? pe.id || "qrcode-description" : null, Pe = typeof Pe == "string" ? { text: Pe } : Pe || {}, Pe.text = Pe.text || null, Pe.id = Pe.text ? Pe.id || "qrcode-title" : null;
|
|
15787
15798
|
var Ve = X.getModuleCount() * ve + _e * 2, Te, He, we, le, he = "", $;
|
|
15788
|
-
for ($ = "l" + ve + ",0 0," + ve + " -" + ve + ",0 0,-" + ve + "z ", he += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', he += De.scalable ? "" : ' width="' + Ve + 'px" height="' + Ve + 'px"', he += ' viewBox="0 0 ' + Ve + " " + Ve + '" ', he += ' preserveAspectRatio="xMinYMin meet"', he += Pe.text || pe.text ? ' role="img" aria-labelledby="' +
|
|
15799
|
+
for ($ = "l" + ve + ",0 0," + ve + " -" + ve + ",0 0,-" + ve + "z ", he += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', he += De.scalable ? "" : ' width="' + Ve + 'px" height="' + Ve + 'px"', he += ' viewBox="0 0 ' + Ve + " " + Ve + '" ', he += ' preserveAspectRatio="xMinYMin meet"', he += Pe.text || pe.text ? ' role="img" aria-labelledby="' + xe([Pe.id, pe.id].join(" ").trim()) + '"' : "", he += ">", he += Pe.text ? '<title id="' + xe(Pe.id) + '">' + xe(Pe.text) + "</title>" : "", he += pe.text ? '<description id="' + xe(pe.id) + '">' + xe(pe.text) + "</description>" : "", he += '<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>', he += '<path d="', we = 0; we < X.getModuleCount(); we += 1)
|
|
15789
15800
|
for (le = we * ve + _e, Te = 0; Te < X.getModuleCount(); Te += 1)
|
|
15790
15801
|
X.isDark(we, Te) && (He = Te * ve + _e, he += "M" + He + "," + le + $);
|
|
15791
15802
|
return he += '" stroke="transparent" fill="black"/>', he += "</svg>", he;
|
|
@@ -15802,9 +15813,9 @@ function requireQrcode() {
|
|
|
15802
15813
|
}, X.createImgTag = function(ve, _e, pe) {
|
|
15803
15814
|
ve = ve || 2, _e = typeof _e > "u" ? ve * 4 : _e;
|
|
15804
15815
|
var Pe = X.getModuleCount() * ve + _e * 2, De = "";
|
|
15805
|
-
return De += "<img", De += ' src="', De += X.createDataURL(ve, _e), De += '"', De += ' width="', De += Pe, De += '"', De += ' height="', De += Pe, De += '"', pe && (De += ' alt="', De +=
|
|
15816
|
+
return De += "<img", De += ' src="', De += X.createDataURL(ve, _e), De += '"', De += ' width="', De += Pe, De += '"', De += ' height="', De += Pe, De += '"', pe && (De += ' alt="', De += xe(pe), De += '"'), De += "/>", De;
|
|
15806
15817
|
};
|
|
15807
|
-
var
|
|
15818
|
+
var xe = function(ve) {
|
|
15808
15819
|
for (var _e = "", pe = 0; pe < ve.length; pe += 1) {
|
|
15809
15820
|
var Pe = ve.charAt(pe);
|
|
15810
15821
|
switch (Pe) {
|
|
@@ -16075,8 +16086,8 @@ function requireQrcode() {
|
|
|
16075
16086
|
}
|
|
16076
16087
|
for (var U = 0; U < Y - 1; U += 1)
|
|
16077
16088
|
for (var X = 0; X < Y - 1; X += 1) {
|
|
16078
|
-
var
|
|
16079
|
-
B.isDark(U, X) && (
|
|
16089
|
+
var Ce = 0;
|
|
16090
|
+
B.isDark(U, X) && (Ce += 1), B.isDark(U + 1, X) && (Ce += 1), B.isDark(U, X + 1) && (Ce += 1), B.isDark(U + 1, X + 1) && (Ce += 1), (Ce == 0 || Ce == 4) && (j += 3);
|
|
16080
16091
|
}
|
|
16081
16092
|
for (var U = 0; U < Y; U += 1)
|
|
16082
16093
|
for (var X = 0; X < Y - 6; X += 1)
|
|
@@ -16586,12 +16597,12 @@ function requireQrcode() {
|
|
|
16586
16597
|
};
|
|
16587
16598
|
var B = function(U) {
|
|
16588
16599
|
var X = U, W = 0, G = 0, J = {};
|
|
16589
|
-
return J.write = function(ae,
|
|
16590
|
-
if (ae >>>
|
|
16600
|
+
return J.write = function(ae, Ce) {
|
|
16601
|
+
if (ae >>> Ce)
|
|
16591
16602
|
throw "length over";
|
|
16592
|
-
for (; W +
|
|
16593
|
-
X.writeByte(255 & (ae << W | G)),
|
|
16594
|
-
G = ae << W | G, W = W +
|
|
16603
|
+
for (; W + Ce >= 8; )
|
|
16604
|
+
X.writeByte(255 & (ae << W | G)), Ce -= 8 - W, ae >>>= 8 - W, G = 0, W = 0;
|
|
16605
|
+
G = ae << W | G, W = W + Ce;
|
|
16595
16606
|
}, J.flush = function() {
|
|
16596
16607
|
W > 0 && X.writeByte(G);
|
|
16597
16608
|
}, J;
|
|
@@ -16599,14 +16610,14 @@ function requireQrcode() {
|
|
|
16599
16610
|
for (var X = 1 << U, W = (1 << U) + 1, G = U + 1, J = j(), ae = 0; ae < X; ae += 1)
|
|
16600
16611
|
J.add(String.fromCharCode(ae));
|
|
16601
16612
|
J.add(String.fromCharCode(X)), J.add(String.fromCharCode(W));
|
|
16602
|
-
var
|
|
16613
|
+
var Ce = v(), oe = B(Ce);
|
|
16603
16614
|
oe.write(X, G);
|
|
16604
16615
|
var me = 0, ue = String.fromCharCode(L[me]);
|
|
16605
16616
|
for (me += 1; me < L.length; ) {
|
|
16606
16617
|
var Q = String.fromCharCode(L[me]);
|
|
16607
16618
|
me += 1, J.contains(ue + Q) ? ue = ue + Q : (oe.write(J.indexOf(ue), G), J.size() < 4095 && (J.size() == 1 << G && (G += 1), J.add(ue + Q)), ue = Q);
|
|
16608
16619
|
}
|
|
16609
|
-
return oe.write(J.indexOf(ue), G), oe.write(W, G), oe.flush(),
|
|
16620
|
+
return oe.write(J.indexOf(ue), G), oe.write(W, G), oe.flush(), Ce.toByteArray();
|
|
16610
16621
|
}, j = function() {
|
|
16611
16622
|
var U = {}, X = 0, W = {};
|
|
16612
16623
|
return W.add = function(G) {
|
|
@@ -16732,7 +16743,7 @@ function drawText(a, t) {
|
|
|
16732
16743
|
};
|
|
16733
16744
|
return v === 1 ? (_.fillStyle = y, _.fillRect(0, 0, k, T), L()) : (L(), D && function() {
|
|
16734
16745
|
for (var H = _.getImageData(0, 0, k, T), B = H.data, Y = k * T, j = [], U = 0, X = function(J) {
|
|
16735
|
-
var ae = [],
|
|
16746
|
+
var ae = [], Ce = {};
|
|
16736
16747
|
j[U] = ae, U = 1 - U;
|
|
16737
16748
|
var oe = j[U];
|
|
16738
16749
|
if (!oe) {
|
|
@@ -16743,7 +16754,7 @@ function drawText(a, t) {
|
|
|
16743
16754
|
oe.forEach(function(ue) {
|
|
16744
16755
|
B[4 * ue + 3] && [ue % k ? ue - 1 : -1, (ue + 1) % k ? ue + 1 : -1, ue - k, ue + k].forEach(function(Q) {
|
|
16745
16756
|
var ne = 4 * Q;
|
|
16746
|
-
ne >= 0 && ne <= B.length && !
|
|
16757
|
+
ne >= 0 && ne <= B.length && !Ce[Q] && (Ce[Q] = 1, ae.push(Q));
|
|
16747
16758
|
});
|
|
16748
16759
|
}), ae.forEach(function(ue) {
|
|
16749
16760
|
var Q = 4 * ue;
|
|
@@ -18528,9 +18539,9 @@ class TableNode extends RectNode {
|
|
|
18528
18539
|
newLineWithCellContent: W.rowProperty.newLineWithCellContent,
|
|
18529
18540
|
withFormula: W.rowProperty.withFormula,
|
|
18530
18541
|
isSignLock: W.rowProperty.isSignLock
|
|
18531
|
-
}, ae = JSON.parse(JSON.stringify(J)),
|
|
18532
|
-
for (let me = 0; me <
|
|
18533
|
-
|
|
18542
|
+
}, ae = JSON.parse(JSON.stringify(J)), Ce = Object.keys(p);
|
|
18543
|
+
for (let me = 0; me < Ce.length; me++)
|
|
18544
|
+
Ce[me] === "customProperties" ? W.rowProperty.customProperties.length === 0 && delete ae.customProperties : ae[Ce[me]] === m[Ce[me]] && delete ae[Ce[me]];
|
|
18534
18545
|
const oe = {
|
|
18535
18546
|
rowHeight: W.rowHeight
|
|
18536
18547
|
//heightFixed: rowInfo.heightFixed,
|
|
@@ -18568,10 +18579,10 @@ class TableNode extends RectNode {
|
|
|
18568
18579
|
isLock: W.colProperty.isLock,
|
|
18569
18580
|
addWithDefaultValue: W.colProperty.addWithDefaultValue,
|
|
18570
18581
|
customProperties: G
|
|
18571
|
-
}, ae = JSON.parse(JSON.stringify(J)),
|
|
18582
|
+
}, ae = JSON.parse(JSON.stringify(J)), Ce = Object.keys(v);
|
|
18572
18583
|
(W.colProperty.customProperties.length === 0 || W.colProperty.customProperties[0].length === 0) && delete ae.customProperties;
|
|
18573
|
-
for (let me = 0; me <
|
|
18574
|
-
ae[
|
|
18584
|
+
for (let me = 0; me < Ce.length; me++)
|
|
18585
|
+
ae[Ce[me]] === C[Ce[me]] && delete ae[Ce[me]];
|
|
18575
18586
|
const oe = {
|
|
18576
18587
|
colWidth: W.colWidth
|
|
18577
18588
|
//widthFixed: colInfo.widthFixed,
|
|
@@ -18615,11 +18626,11 @@ class TableNode extends RectNode {
|
|
|
18615
18626
|
childNodes: { [`${G}`]: Array() }
|
|
18616
18627
|
}, ae = { base: {}, childNodes: Array() };
|
|
18617
18628
|
T.push(J), I.push(ae);
|
|
18618
|
-
for (let
|
|
18619
|
-
const oe = W[
|
|
18629
|
+
for (let Ce = u.col; Ce <= w; Ce++) {
|
|
18630
|
+
const oe = W[Ce];
|
|
18620
18631
|
if (oe) {
|
|
18621
18632
|
const me = oe.node2Json(s, r, o, n, E);
|
|
18622
|
-
ae.base = JSON.parse(JSON.stringify(me)), me.rowNo = X - u.row, me.colNo =
|
|
18633
|
+
ae.base = JSON.parse(JSON.stringify(me)), me.rowNo = X - u.row, me.colNo = Ce - u.col, r ? J.childNodes.item.push(me) : J.childNodes.CellNode.push(me), J.rowNo = X;
|
|
18623
18634
|
} else
|
|
18624
18635
|
r ? J.childNodes.item.push({}) : J.childNodes.CellNode.push({});
|
|
18625
18636
|
}
|
|
@@ -27566,7 +27577,17 @@ class Print {
|
|
|
27566
27577
|
static openDataUriInWindow(t, r, o, n, s, l) {
|
|
27567
27578
|
var d, u;
|
|
27568
27579
|
if (window.emrPrintHandler) {
|
|
27569
|
-
|
|
27580
|
+
n ? (t.autoPrint(), window.emrPrintHandler({
|
|
27581
|
+
code: 200,
|
|
27582
|
+
data: {
|
|
27583
|
+
printSilently: n,
|
|
27584
|
+
// showsetup: true, // 是否显示打印设置
|
|
27585
|
+
orientation: s == "l" ? "2" : "1",
|
|
27586
|
+
// 当前判断是字母l
|
|
27587
|
+
paperSize: l == null ? void 0 : l.toUpperCase(),
|
|
27588
|
+
base64: t.output("datauristring").replace(/^data:application\/pdf;filename=generated.pdf;base64,/, "")
|
|
27589
|
+
}
|
|
27590
|
+
})) : window.emrPrintHandler({ code: 200, data: t.output("bloburl") });
|
|
27570
27591
|
return;
|
|
27571
27592
|
}
|
|
27572
27593
|
if (navigator && navigator.userAgent.toLowerCase().indexOf("electron") !== -1) {
|
|
@@ -27677,8 +27698,8 @@ class Print {
|
|
|
27677
27698
|
}
|
|
27678
27699
|
if (l || u.startPageNum !== 0 && l !== void 0) {
|
|
27679
27700
|
const G = u.drawTree.drawPages[u.startPageNum], J = u.pageProperty.heightPixes, ae = G.drawFooter.dHeight;
|
|
27680
|
-
let
|
|
27681
|
-
J - ae - l < u.defaultLineHeight ?
|
|
27701
|
+
let Ce = 0;
|
|
27702
|
+
J - ae - l < u.defaultLineHeight ? Ce = u.startPageNum + 1 : Ce = u.startPageNum, u.printStatus.startIndex = Ce + 1;
|
|
27682
27703
|
} else
|
|
27683
27704
|
u.printStatus.startIndex = 1;
|
|
27684
27705
|
u.printStatus.generatePageIndexs(u.printStatus.printAppoint), u.printStatus.printRange != 2 && u.printStatus.DrawPrintRange().preparePrint();
|
|
@@ -27714,11 +27735,11 @@ class Print {
|
|
|
27714
27735
|
}
|
|
27715
27736
|
}
|
|
27716
27737
|
J.drawDomLevel && J.needUpdateStage && J.drawDomLevel.stage && (J.drawDomLevel.stage.update(), J.needUpdateStage = !1);
|
|
27717
|
-
const
|
|
27718
|
-
if (u.isFixedPrintToA4 == "1" && c && (p == "l" ? (
|
|
27738
|
+
const Ce = { x: 0, y: 0 };
|
|
27739
|
+
if (u.isFixedPrintToA4 == "1" && c && (p == "l" ? (Ce.x = c[0] - m, Ce.y = (c[1] - g) / 2) : Ce.x = (c[0] - m) / 2), u.isUseImagePrint && (!o || o !== "html")) {
|
|
27719
27740
|
r == null || r.addPage(), v++;
|
|
27720
27741
|
let oe = r == null ? void 0 : r.context2d;
|
|
27721
|
-
oe.posX =
|
|
27742
|
+
oe.posX = Ce.x, oe.posY = Ce.y, window.printBlack = u.printBlack, d && ["[148,210]", "[210,148]"].includes(y) ? c && p === "p" ? (oe.translate(0, 1122), oe.rotate(270 * Math.PI / 180), oe && ((T = (E = J.drawDomLevel) == null ? void 0 : E.stage) == null || T.draw(oe)), oe.rotate(90 * Math.PI / 180), oe.translate(0, -1122), oe.translate(0, 1122 / 2), oe.rotate(270 * Math.PI / 180), oe && ((M = (I = J.drawDomLevel) == null ? void 0 : I.stage) == null || M.draw(oe)), oe.rotate(90 * Math.PI / 180), oe.translate(0, -1122 / 2), oe = null) : (oe && ((L = (k = J.drawDomLevel) == null ? void 0 : k.stage) == null || L.draw(oe)), oe.translate(0, 1122 / 2), oe && ((B = (H = J.drawDomLevel) == null ? void 0 : H.stage) == null || B.draw(oe)), oe.translate(0, -1122 / 2), oe = null) : (u.isFixedPrintToA4 == "2" && c && p === "p" && ["[148,210]", "[210,148]"].includes(y) && G == 0 && (oe.translate(0, 1122 / 2), oe.rotate(270 * Math.PI / 180)), oe && ((j = (Y = J.drawDomLevel) == null ? void 0 : Y.stage) == null || j.draw(oe)), oe = null);
|
|
27722
27743
|
} else {
|
|
27723
27744
|
let oe = new C2S({
|
|
27724
27745
|
width: m,
|
|
@@ -27749,8 +27770,8 @@ class Print {
|
|
|
27749
27770
|
</head>
|
|
27750
27771
|
<body>${f == null ? void 0 : f.innerHTML}</body>
|
|
27751
27772
|
</html>
|
|
27752
|
-
`, ae = window.URL.createObjectURL(new Blob([J], { type: "text/html" })),
|
|
27753
|
-
|
|
27773
|
+
`, ae = window.URL.createObjectURL(new Blob([J], { type: "text/html" })), Ce = document.createElement("a");
|
|
27774
|
+
Ce.style.display = "none", Ce.href = ae, Ce.setAttribute("download", n ? n + ".html" : "电子病历文档.html"), document.body.appendChild(Ce), Ce.click(), setTimeout(() => Ce.remove(), 100), s && s("printend");
|
|
27754
27775
|
return;
|
|
27755
27776
|
} else if (o === "pdf")
|
|
27756
27777
|
r == null || r.deletePage(1), this.processGeneratedPDF(t, r), r == null || r.save(n + ".pdf"), u.printStatus.drawPrintRecord.clear();
|
|
@@ -32638,11 +32659,22 @@ const HoPage = __component__$1i.exports, _sfc_main$1h = defineComponent({
|
|
|
32638
32659
|
type: Number,
|
|
32639
32660
|
default: 40
|
|
32640
32661
|
},
|
|
32641
|
-
|
|
32662
|
+
top: {
|
|
32663
|
+
type: Number,
|
|
32664
|
+
default: 100
|
|
32665
|
+
},
|
|
32666
|
+
hoEditorId: [String],
|
|
32667
|
+
toTop: {
|
|
32668
|
+
type: Boolean,
|
|
32669
|
+
default: !1
|
|
32670
|
+
},
|
|
32671
|
+
drawPageCount: {
|
|
32672
|
+
type: Object
|
|
32673
|
+
}
|
|
32642
32674
|
},
|
|
32643
32675
|
data() {
|
|
32644
32676
|
return {
|
|
32645
|
-
visible: !
|
|
32677
|
+
visible: !0,
|
|
32646
32678
|
container: null,
|
|
32647
32679
|
throttledScrollHandler: null
|
|
32648
32680
|
};
|
|
@@ -32651,13 +32683,16 @@ const HoPage = __component__$1i.exports, _sfc_main$1h = defineComponent({
|
|
|
32651
32683
|
styleBottom() {
|
|
32652
32684
|
return `${this.bottom}px`;
|
|
32653
32685
|
},
|
|
32686
|
+
styleTop() {
|
|
32687
|
+
return `${this.top}px`;
|
|
32688
|
+
},
|
|
32654
32689
|
styleRight() {
|
|
32655
32690
|
return `${this.right}px`;
|
|
32656
32691
|
}
|
|
32657
32692
|
},
|
|
32658
32693
|
watch: {
|
|
32659
32694
|
inViewPages() {
|
|
32660
|
-
this.inViewPages.filter((a) => a === 0).length === 1 ? this.visible = !1 : this.visible = !0;
|
|
32695
|
+
this.toTop ? this.inViewPages.filter((a) => a === this.drawPageCount.count - 1).length === 1 ? this.visible = !1 : this.visible = !0 : this.inViewPages.filter((a) => a === 0).length === 1 ? this.visible = !1 : this.visible = !0;
|
|
32661
32696
|
}
|
|
32662
32697
|
},
|
|
32663
32698
|
created() {
|
|
@@ -32668,13 +32703,13 @@ const HoPage = __component__$1i.exports, _sfc_main$1h = defineComponent({
|
|
|
32668
32703
|
},
|
|
32669
32704
|
methods: {
|
|
32670
32705
|
handleClick() {
|
|
32671
|
-
this.toScroll();
|
|
32706
|
+
this.toTop && this.drawPageCount ? this.toScroll(this.drawPageCount.count) : this.toScroll(1);
|
|
32672
32707
|
},
|
|
32673
|
-
toScroll() {
|
|
32708
|
+
toScroll(a) {
|
|
32674
32709
|
var n;
|
|
32675
|
-
|
|
32676
|
-
(n = this.container) == null || n.scrollTo({
|
|
32677
|
-
top:
|
|
32710
|
+
let o = HOEditorFactorys.instance().getFactory(this.hoEditorId).domController.getPageProperty().heightPixes + 10;
|
|
32711
|
+
this.toTop && (o += 10), (n = this.container) == null || n.scrollTo({
|
|
32712
|
+
top: o * (a - 1),
|
|
32678
32713
|
left: 0,
|
|
32679
32714
|
behavior: "smooth"
|
|
32680
32715
|
});
|
|
@@ -32697,7 +32732,10 @@ const HoPage = __component__$1i.exports, _sfc_main$1h = defineComponent({
|
|
|
32697
32732
|
});
|
|
32698
32733
|
var _sfc_render$1h = function a() {
|
|
32699
32734
|
var t = this, r = t._self._c;
|
|
32700
|
-
return t._self._setupProxy, t.visible ? r("div", { staticClass: "ho-to-page", style: {
|
|
32735
|
+
return t._self._setupProxy, t.visible ? r("div", { staticClass: "ho-to-page", class: { "ho-to-page-top": t.toTop }, style: t.toTop ? {
|
|
32736
|
+
right: t.styleRight,
|
|
32737
|
+
top: t.styleTop
|
|
32738
|
+
} : {
|
|
32701
32739
|
right: t.styleRight,
|
|
32702
32740
|
bottom: t.styleBottom
|
|
32703
32741
|
}, on: { click: function(o) {
|
|
@@ -34355,8 +34393,8 @@ function requireMoment() {
|
|
|
34355
34393
|
var Z = !0;
|
|
34356
34394
|
return g(function() {
|
|
34357
34395
|
if (o.deprecationHandler != null && o.deprecationHandler(null, S), Z) {
|
|
34358
|
-
var q = [], ce, Le, $e,
|
|
34359
|
-
for (Le = 0; Le <
|
|
34396
|
+
var q = [], ce, Le, $e, Ct = arguments.length;
|
|
34397
|
+
for (Le = 0; Le < Ct; Le++) {
|
|
34360
34398
|
if (ce = "", typeof arguments[Le] == "object") {
|
|
34361
34399
|
ce += `
|
|
34362
34400
|
[` + Le + "] ";
|
|
@@ -34422,7 +34460,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34422
34460
|
var q = this._calendar[S] || this._calendar.sameElse;
|
|
34423
34461
|
return j(q) ? q.call(A, Z) : q;
|
|
34424
34462
|
}
|
|
34425
|
-
function
|
|
34463
|
+
function Ce(S, A, Z) {
|
|
34426
34464
|
var q = "" + Math.abs(S), ce = A - q.length, Le = S >= 0;
|
|
34427
34465
|
return (Le ? Z ? "+" : "" : "-") + Math.pow(10, Math.max(0, ce)).toString().substr(1) + q;
|
|
34428
34466
|
}
|
|
@@ -34432,7 +34470,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34432
34470
|
typeof q == "string" && (ce = function() {
|
|
34433
34471
|
return this[q]();
|
|
34434
34472
|
}), S && (Q[S] = ce), A && (Q[A[0]] = function() {
|
|
34435
|
-
return
|
|
34473
|
+
return Ce(ce.apply(this, arguments), A[1], A[2]);
|
|
34436
34474
|
}), Z && (Q[Z] = function() {
|
|
34437
34475
|
return this.localeData().ordinal(
|
|
34438
34476
|
ce.apply(this, arguments),
|
|
@@ -34440,13 +34478,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34440
34478
|
);
|
|
34441
34479
|
});
|
|
34442
34480
|
}
|
|
34443
|
-
function
|
|
34481
|
+
function xe(S) {
|
|
34444
34482
|
return S.match(/\[[\s\S]/) ? S.replace(/^\[|\]$/g, "") : S.replace(/\\/g, "");
|
|
34445
34483
|
}
|
|
34446
34484
|
function Ie(S) {
|
|
34447
34485
|
var A = S.match(oe), Z, q;
|
|
34448
34486
|
for (Z = 0, q = A.length; Z < q; Z++)
|
|
34449
|
-
Q[A[Z]] ? A[Z] = Q[A[Z]] : A[Z] =
|
|
34487
|
+
Q[A[Z]] ? A[Z] = Q[A[Z]] : A[Z] = xe(A[Z]);
|
|
34450
34488
|
return function(ce) {
|
|
34451
34489
|
var Le = "", $e;
|
|
34452
34490
|
for ($e = 0; $e < q; $e++)
|
|
@@ -34602,7 +34640,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34602
34640
|
return q.priority - ce.priority;
|
|
34603
34641
|
}), A;
|
|
34604
34642
|
}
|
|
34605
|
-
var ot = /\d/, ht = /\d\d/, bt = /\d{3}/, gt = /\d{4}/, _t = /[+-]?\d{6}/, pt = /\d\d?/, Tt = /\d\d\d\d?/,
|
|
34643
|
+
var ot = /\d/, ht = /\d\d/, bt = /\d{3}/, gt = /\d{4}/, _t = /[+-]?\d{6}/, pt = /\d\d?/, Tt = /\d\d\d\d?/, xt = /\d\d\d\d\d\d?/, It = /\d{1,3}/, St = /\d{1,4}/, Qt = /[+-]?\d{1,6}/, At = /\d+/, or = /[+-]?\d+/, wr = /Z|[+-]\d\d:?\d\d/gi, kt = /Z|[+-]\d\d(?::?\d\d)?/gi, Gt = /[+-]?\d+(\.\d{1,3})?/, ee = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, se = /^[1-9]\d?/, Se = /^([1-9]\d|\d)/, Ue;
|
|
34606
34644
|
Ue = {};
|
|
34607
34645
|
function Ge(S, A, Z) {
|
|
34608
34646
|
Ue[S] = j(A) ? A : function(q, ce) {
|
|
@@ -34640,7 +34678,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34640
34678
|
}), ce = S.length, Z = 0; Z < ce; Z++)
|
|
34641
34679
|
Pt[S[Z]] = q;
|
|
34642
34680
|
}
|
|
34643
|
-
function
|
|
34681
|
+
function Cr(S, A) {
|
|
34644
34682
|
Ot(S, function(Z, q, ce, Le) {
|
|
34645
34683
|
ce._w = ce._w || {}, A(Z, ce._w, ce, Le);
|
|
34646
34684
|
});
|
|
@@ -34654,7 +34692,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34654
34692
|
var jt = 0, tr = 1, Vt = 2, Zt = 3, lr = 4, gr = 5, Rr = 6, hi = 7, Or = 8;
|
|
34655
34693
|
ne("Y", 0, 0, function() {
|
|
34656
34694
|
var S = this.year();
|
|
34657
|
-
return S <= 9999 ?
|
|
34695
|
+
return S <= 9999 ? Ce(S, 4) : "+" + S;
|
|
34658
34696
|
}), ne(0, ["YY", 2], 0, function() {
|
|
34659
34697
|
return this.year() % 100;
|
|
34660
34698
|
}), ne(0, ["YYYY", 4], 0, "year"), ne(0, ["YYYYY", 5], 0, "year"), ne(0, ["YYYYYY", 6, !0], 0, "year"), Ge("Y", or), Ge("YY", pt, ht), Ge("YYYY", St, gt), Ge("YYYYY", Qt, _t), Ge("YYYYYY", Qt, _t), Ot(["YYYYY", "YYYYYY"], jt), Ot("YYYY", function(S, A) {
|
|
@@ -34705,7 +34743,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34705
34743
|
}
|
|
34706
34744
|
}
|
|
34707
34745
|
function ni(S, A, Z) {
|
|
34708
|
-
var q, ce, Le, $e,
|
|
34746
|
+
var q, ce, Le, $e, Ct;
|
|
34709
34747
|
if (!(!S.isValid() || isNaN(Z))) {
|
|
34710
34748
|
switch (q = S._d, ce = S._isUTC, A) {
|
|
34711
34749
|
case "Milliseconds":
|
|
@@ -34728,7 +34766,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34728
34766
|
default:
|
|
34729
34767
|
return;
|
|
34730
34768
|
}
|
|
34731
|
-
Le = Z, $e = S.month(),
|
|
34769
|
+
Le = Z, $e = S.month(), Ct = S.date(), Ct = Ct === 29 && $e === 1 && !Xt(Le) ? 28 : Ct, ce ? q.setUTCFullYear(Le, $e, Ct) : q.setFullYear(Le, $e, Ct);
|
|
34732
34770
|
}
|
|
34733
34771
|
}
|
|
34734
34772
|
function fi(S) {
|
|
@@ -34843,9 +34881,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34843
34881
|
function S(Mt, qt) {
|
|
34844
34882
|
return qt.length - Mt.length;
|
|
34845
34883
|
}
|
|
34846
|
-
var A = [], Z = [], q = [], ce, Le, $e,
|
|
34884
|
+
var A = [], Z = [], q = [], ce, Le, $e, Ct;
|
|
34847
34885
|
for (ce = 0; ce < 12; ce++)
|
|
34848
|
-
Le = y([2e3, ce]), $e = Jt(this.monthsShort(Le, "")),
|
|
34886
|
+
Le = y([2e3, ce]), $e = Jt(this.monthsShort(Le, "")), Ct = Jt(this.months(Le, "")), A.push($e), Z.push(Ct), q.push(Ct), q.push($e);
|
|
34849
34887
|
A.sort(S), Z.sort(S), q.sort(S), this._monthsRegex = new RegExp("^(" + q.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
34850
34888
|
"^(" + Z.join("|") + ")",
|
|
34851
34889
|
"i"
|
|
@@ -34855,8 +34893,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34855
34893
|
);
|
|
34856
34894
|
}
|
|
34857
34895
|
function at(S, A, Z, q, ce, Le, $e) {
|
|
34858
|
-
var
|
|
34859
|
-
return S < 100 && S >= 0 ? (
|
|
34896
|
+
var Ct;
|
|
34897
|
+
return S < 100 && S >= 0 ? (Ct = new Date(S + 400, A, Z, q, ce, Le, $e), isFinite(Ct.getFullYear()) && Ct.setFullYear(S)) : Ct = new Date(S, A, Z, q, ce, Le, $e), Ct;
|
|
34860
34898
|
}
|
|
34861
34899
|
function ut(S) {
|
|
34862
34900
|
var A, Z;
|
|
@@ -34867,8 +34905,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34867
34905
|
return -ce + q - 1;
|
|
34868
34906
|
}
|
|
34869
34907
|
function zt(S, A, Z, q, ce) {
|
|
34870
|
-
var Le = (7 + Z - q) % 7, $e = vt(S, q, ce),
|
|
34871
|
-
return
|
|
34908
|
+
var Le = (7 + Z - q) % 7, $e = vt(S, q, ce), Ct = 1 + 7 * (A - 1) + Le + $e, Mt, qt;
|
|
34909
|
+
return Ct <= 0 ? (Mt = S - 1, qt = Ur(Mt) + Ct) : Ct > Ur(S) ? (Mt = S + 1, qt = Ct - Ur(S)) : (Mt = S, qt = Ct), {
|
|
34872
34910
|
year: Mt,
|
|
34873
34911
|
dayOfYear: qt
|
|
34874
34912
|
};
|
|
@@ -34884,7 +34922,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34884
34922
|
var q = vt(S, A, Z), ce = vt(S + 1, A, Z);
|
|
34885
34923
|
return (Ur(S) - q + ce) / 7;
|
|
34886
34924
|
}
|
|
34887
|
-
ne("w", ["ww", 2], "wo", "week"), ne("W", ["WW", 2], "Wo", "isoWeek"), Ge("w", pt, se), Ge("ww", pt, ht), Ge("W", pt, se), Ge("WW", pt, ht),
|
|
34925
|
+
ne("w", ["ww", 2], "wo", "week"), ne("W", ["WW", 2], "Wo", "isoWeek"), Ge("w", pt, se), Ge("ww", pt, ht), Ge("W", pt, se), Ge("WW", pt, ht), Cr(
|
|
34888
34926
|
["w", "ww", "W", "WW"],
|
|
34889
34927
|
function(S, A, Z, q) {
|
|
34890
34928
|
A[q.substr(0, 1)] = Et(S);
|
|
@@ -34925,10 +34963,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34925
34963
|
return A.weekdaysShortRegex(S);
|
|
34926
34964
|
}), Ge("dddd", function(S, A) {
|
|
34927
34965
|
return A.weekdaysRegex(S);
|
|
34928
|
-
}),
|
|
34966
|
+
}), Cr(["dd", "ddd", "dddd"], function(S, A, Z, q) {
|
|
34929
34967
|
var ce = Z._locale.weekdaysParse(S, q, Z._strict);
|
|
34930
34968
|
ce != null ? A.d = ce : v(Z).invalidWeekday = S;
|
|
34931
|
-
}),
|
|
34969
|
+
}), Cr(["d", "e", "E"], function(S, A, Z, q) {
|
|
34932
34970
|
A[q] = Et(S);
|
|
34933
34971
|
});
|
|
34934
34972
|
function Zr(S, A) {
|
|
@@ -35022,9 +35060,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35022
35060
|
function S(Lr, ci) {
|
|
35023
35061
|
return ci.length - Lr.length;
|
|
35024
35062
|
}
|
|
35025
|
-
var A = [], Z = [], q = [], ce = [], Le, $e,
|
|
35063
|
+
var A = [], Z = [], q = [], ce = [], Le, $e, Ct, Mt, qt;
|
|
35026
35064
|
for (Le = 0; Le < 7; Le++)
|
|
35027
|
-
$e = y([2e3, 1]).day(Le),
|
|
35065
|
+
$e = y([2e3, 1]).day(Le), Ct = Jt(this.weekdaysMin($e, "")), Mt = Jt(this.weekdaysShort($e, "")), qt = Jt(this.weekdays($e, "")), A.push(Ct), Z.push(Mt), q.push(qt), ce.push(Ct), ce.push(Mt), ce.push(qt);
|
|
35028
35066
|
A.sort(S), Z.sort(S), q.sort(S), ce.sort(S), this._weekdaysRegex = new RegExp("^(" + ce.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
35029
35067
|
"^(" + q.join("|") + ")",
|
|
35030
35068
|
"i"
|
|
@@ -35043,13 +35081,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35043
35081
|
return this.hours() || 24;
|
|
35044
35082
|
}
|
|
35045
35083
|
ne("H", ["HH", 2], 0, "hour"), ne("h", ["hh", 2], 0, Uo), ne("k", ["kk", 2], 0, Yo), ne("hmm", 0, 0, function() {
|
|
35046
|
-
return "" + Uo.apply(this) +
|
|
35084
|
+
return "" + Uo.apply(this) + Ce(this.minutes(), 2);
|
|
35047
35085
|
}), ne("hmmss", 0, 0, function() {
|
|
35048
|
-
return "" + Uo.apply(this) +
|
|
35086
|
+
return "" + Uo.apply(this) + Ce(this.minutes(), 2) + Ce(this.seconds(), 2);
|
|
35049
35087
|
}), ne("Hmm", 0, 0, function() {
|
|
35050
|
-
return "" + this.hours() +
|
|
35088
|
+
return "" + this.hours() + Ce(this.minutes(), 2);
|
|
35051
35089
|
}), ne("Hmmss", 0, 0, function() {
|
|
35052
|
-
return "" + this.hours() +
|
|
35090
|
+
return "" + this.hours() + Ce(this.minutes(), 2) + Ce(this.seconds(), 2);
|
|
35053
35091
|
});
|
|
35054
35092
|
function mn(S, A) {
|
|
35055
35093
|
ne(S, 0, 0, function() {
|
|
@@ -35064,7 +35102,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35064
35102
|
function yn(S, A) {
|
|
35065
35103
|
return A._meridiemParse;
|
|
35066
35104
|
}
|
|
35067
|
-
Ge("a", yn), Ge("A", yn), Ge("H", pt, Se), Ge("h", pt, se), Ge("k", pt, se), Ge("HH", pt, ht), Ge("hh", pt, ht), Ge("kk", pt, ht), Ge("hmm", Tt), Ge("hmmss",
|
|
35105
|
+
Ge("a", yn), Ge("A", yn), Ge("H", pt, Se), Ge("h", pt, se), Ge("k", pt, se), Ge("HH", pt, ht), Ge("hh", pt, ht), Ge("kk", pt, ht), Ge("hmm", Tt), Ge("hmmss", xt), Ge("Hmm", Tt), Ge("Hmmss", xt), Ot(["H", "HH"], Zt), Ot(["k", "kk"], function(S, A, Z) {
|
|
35068
35106
|
var q = Et(S);
|
|
35069
35107
|
A[Zt] = q === 24 ? 0 : q;
|
|
35070
35108
|
}), Ot(["a", "A"], function(S, A, Z) {
|
|
@@ -35087,7 +35125,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35087
35125
|
function $i(S) {
|
|
35088
35126
|
return (S + "").toLowerCase().charAt(0) === "p";
|
|
35089
35127
|
}
|
|
35090
|
-
var
|
|
35128
|
+
var Co = /[ap]\.?m?\.?/i, kn = oi("Hours", !0);
|
|
35091
35129
|
function Hn(S, A, Z) {
|
|
35092
35130
|
return S > 11 ? Z ? "pm" : "PM" : Z ? "am" : "AM";
|
|
35093
35131
|
}
|
|
@@ -35104,7 +35142,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35104
35142
|
weekdays: Ri,
|
|
35105
35143
|
weekdaysMin: Fn,
|
|
35106
35144
|
weekdaysShort: Pr,
|
|
35107
|
-
meridiemParse:
|
|
35145
|
+
meridiemParse: Co
|
|
35108
35146
|
}, sr = {}, vi = {}, ki;
|
|
35109
35147
|
function eo(S, A) {
|
|
35110
35148
|
var Z, q = Math.min(S.length, A.length);
|
|
@@ -35170,7 +35208,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35170
35208
|
} else
|
|
35171
35209
|
return delete sr[S], null;
|
|
35172
35210
|
}
|
|
35173
|
-
function
|
|
35211
|
+
function Ci(S, A) {
|
|
35174
35212
|
if (A != null) {
|
|
35175
35213
|
var Z, q, ce = Ni;
|
|
35176
35214
|
sr[S] != null && sr[S].parentLocale != null ? sr[S].set(X(sr[S]._config, A)) : (q = Ti(S), q != null && (ce = q._config), A = X(ce, A), q == null && (A.abbr = S), Z = new W(A), Z.parentLocale = sr[S], sr[S] = Z), wi(S);
|
|
@@ -35189,7 +35227,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35189
35227
|
}
|
|
35190
35228
|
return Hi(S);
|
|
35191
35229
|
}
|
|
35192
|
-
function
|
|
35230
|
+
function xo() {
|
|
35193
35231
|
return G(sr);
|
|
35194
35232
|
}
|
|
35195
35233
|
function bo(S) {
|
|
@@ -35233,7 +35271,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35233
35271
|
PST: -8 * 60
|
|
35234
35272
|
};
|
|
35235
35273
|
function z(S) {
|
|
35236
|
-
var A, Z, q = S._i, ce = Zo.exec(q) || wn.exec(q), Le, $e,
|
|
35274
|
+
var A, Z, q = S._i, ce = Zo.exec(q) || wn.exec(q), Le, $e, Ct, Mt, qt = Si.length, Lr = ro.length;
|
|
35237
35275
|
if (ce) {
|
|
35238
35276
|
for (v(S).iso = !0, A = 0, Z = qt; A < Z; A++)
|
|
35239
35277
|
if (Si[A][1].exec(ce[1])) {
|
|
@@ -35247,15 +35285,15 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35247
35285
|
if (ce[3]) {
|
|
35248
35286
|
for (A = 0, Z = Lr; A < Z; A++)
|
|
35249
35287
|
if (ro[A][1].exec(ce[3])) {
|
|
35250
|
-
|
|
35288
|
+
Ct = (ce[2] || " ") + ro[A][0];
|
|
35251
35289
|
break;
|
|
35252
35290
|
}
|
|
35253
|
-
if (
|
|
35291
|
+
if (Ct == null) {
|
|
35254
35292
|
S._isValid = !1;
|
|
35255
35293
|
return;
|
|
35256
35294
|
}
|
|
35257
35295
|
}
|
|
35258
|
-
if (!Le &&
|
|
35296
|
+
if (!Le && Ct != null) {
|
|
35259
35297
|
S._isValid = !1;
|
|
35260
35298
|
return;
|
|
35261
35299
|
}
|
|
@@ -35266,7 +35304,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35266
35304
|
S._isValid = !1;
|
|
35267
35305
|
return;
|
|
35268
35306
|
}
|
|
35269
|
-
S._f = $e + (
|
|
35307
|
+
S._f = $e + (Ct || "") + (Mt || ""), $t(S);
|
|
35270
35308
|
} else
|
|
35271
35309
|
S._isValid = !1;
|
|
35272
35310
|
}
|
|
@@ -35370,12 +35408,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35370
35408
|
}
|
|
35371
35409
|
}
|
|
35372
35410
|
function Kt(S) {
|
|
35373
|
-
var A, Z, q, ce, Le, $e,
|
|
35411
|
+
var A, Z, q, ce, Le, $e, Ct, Mt, qt;
|
|
35374
35412
|
A = S._w, A.GG != null || A.W != null || A.E != null ? (Le = 1, $e = 4, Z = mt(
|
|
35375
35413
|
A.GG,
|
|
35376
35414
|
S._a[jt],
|
|
35377
35415
|
Yt(fr(), 1, 4).year
|
|
35378
|
-
), q = mt(A.W, 1), ce = mt(A.E, 1), (ce < 1 || ce > 7) && (Mt = !0)) : (Le = S._locale._week.dow, $e = S._locale._week.doy, qt = Yt(fr(), Le, $e), Z = mt(A.gg, S._a[jt], qt.year), q = mt(A.w, qt.week), A.d != null ? (ce = A.d, (ce < 0 || ce > 6) && (Mt = !0)) : A.e != null ? (ce = A.e + Le, (A.e < 0 || A.e > 6) && (Mt = !0)) : ce = Le), q < 1 || q > Lt(Z, Le, $e) ? v(S)._overflowWeeks = !0 : Mt != null ? v(S)._overflowWeekday = !0 : (
|
|
35416
|
+
), q = mt(A.W, 1), ce = mt(A.E, 1), (ce < 1 || ce > 7) && (Mt = !0)) : (Le = S._locale._week.dow, $e = S._locale._week.doy, qt = Yt(fr(), Le, $e), Z = mt(A.gg, S._a[jt], qt.year), q = mt(A.w, qt.week), A.d != null ? (ce = A.d, (ce < 0 || ce > 6) && (Mt = !0)) : A.e != null ? (ce = A.e + Le, (A.e < 0 || A.e > 6) && (Mt = !0)) : ce = Le), q < 1 || q > Lt(Z, Le, $e) ? v(S)._overflowWeeks = !0 : Mt != null ? v(S)._overflowWeekday = !0 : (Ct = zt(Z, q, ce, Le, $e), S._a[jt] = Ct.year, S._dayOfYear = Ct.dayOfYear);
|
|
35379
35417
|
}
|
|
35380
35418
|
o.ISO_8601 = function() {
|
|
35381
35419
|
}, o.RFC_2822 = function() {
|
|
@@ -35390,12 +35428,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35390
35428
|
return;
|
|
35391
35429
|
}
|
|
35392
35430
|
S._a = [], v(S).empty = !0;
|
|
35393
|
-
var A = "" + S._i, Z, q, ce, Le, $e,
|
|
35431
|
+
var A = "" + S._i, Z, q, ce, Le, $e, Ct = A.length, Mt = 0, qt, Lr;
|
|
35394
35432
|
for (ce = _e(S._f, S._locale).match(oe) || [], Lr = ce.length, Z = 0; Z < Lr; Z++)
|
|
35395
35433
|
Le = ce[Z], q = (A.match(Dt(Le, S)) || [])[0], q && ($e = A.substr(0, A.indexOf(q)), $e.length > 0 && v(S).unusedInput.push($e), A = A.slice(
|
|
35396
35434
|
A.indexOf(q) + q.length
|
|
35397
35435
|
), Mt += q.length), Q[Le] ? (q ? v(S).empty = !1 : v(S).unusedTokens.push(Le), Nr(Le, q, S)) : S._strict && !q && v(S).unusedTokens.push(Le);
|
|
35398
|
-
v(S).charsLeftOver =
|
|
35436
|
+
v(S).charsLeftOver = Ct - Mt, A.length > 0 && v(S).unusedInput.push(A), S._a[Zt] <= 12 && v(S).bigHour === !0 && S._a[Zt] > 0 && (v(S).bigHour = void 0), v(S).parsedDateParts = S._a.slice(0), v(S).meridiem = S._meridiem, S._a[Zt] = yr(
|
|
35399
35437
|
S._locale,
|
|
35400
35438
|
S._a[Zt],
|
|
35401
35439
|
S._meridiem
|
|
@@ -35406,13 +35444,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35406
35444
|
return Z == null ? A : S.meridiemHour != null ? S.meridiemHour(A, Z) : (S.isPM != null && (q = S.isPM(Z), q && A < 12 && (A += 12), !q && A === 12 && (A = 0)), A);
|
|
35407
35445
|
}
|
|
35408
35446
|
function Sr(S) {
|
|
35409
|
-
var A, Z, q, ce, Le, $e,
|
|
35447
|
+
var A, Z, q, ce, Le, $e, Ct = !1, Mt = S._f.length;
|
|
35410
35448
|
if (Mt === 0) {
|
|
35411
35449
|
v(S).invalidFormat = !0, S._d = /* @__PURE__ */ new Date(NaN);
|
|
35412
35450
|
return;
|
|
35413
35451
|
}
|
|
35414
35452
|
for (ce = 0; ce < Mt; ce++)
|
|
35415
|
-
Le = 0, $e = !1, A = I({}, S), S._useUTC != null && (A._useUTC = S._useUTC), A._f = S._f[ce], $t(A), _(A) && ($e = !0), Le += v(A).charsLeftOver, Le += v(A).unusedTokens.length * 10, v(A).score = Le,
|
|
35453
|
+
Le = 0, $e = !1, A = I({}, S), S._useUTC != null && (A._useUTC = S._useUTC), A._f = S._f[ce], $t(A), _(A) && ($e = !0), Le += v(A).charsLeftOver, Le += v(A).unusedTokens.length * 10, v(A).score = Le, Ct ? Le < q && (q = Le, Z = A) : (q == null || Le < q || $e) && (q = Le, Z = A, $e && (Ct = !0));
|
|
35416
35454
|
g(S, Z || A);
|
|
35417
35455
|
}
|
|
35418
35456
|
function ur(S) {
|
|
@@ -35509,10 +35547,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35509
35547
|
return Hr(NaN);
|
|
35510
35548
|
}
|
|
35511
35549
|
function Bi(S) {
|
|
35512
|
-
var A = Qe(S), Z = A.year || 0, q = A.quarter || 0, ce = A.month || 0, Le = A.week || A.isoWeek || 0, $e = A.day || 0,
|
|
35550
|
+
var A = Qe(S), Z = A.year || 0, q = A.quarter || 0, ce = A.month || 0, Le = A.week || A.isoWeek || 0, $e = A.day || 0, Ct = A.hour || 0, Mt = A.minute || 0, qt = A.second || 0, Lr = A.millisecond || 0;
|
|
35513
35551
|
this._isValid = oo(A), this._milliseconds = +Lr + qt * 1e3 + // 1000
|
|
35514
35552
|
Mt * 6e4 + // 1000 * 60
|
|
35515
|
-
|
|
35553
|
+
Ct * 1e3 * 60 * 60, this._days = +$e + Le * 7, this._months = +ce + q * 3 + Z * 12, this._data = {}, this._locale = Qr(), this._bubble();
|
|
35516
35554
|
}
|
|
35517
35555
|
function Er(S) {
|
|
35518
35556
|
return S instanceof Bi;
|
|
@@ -35526,13 +35564,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35526
35564
|
Et(S[$e]) !== Et(A[$e]) && Le++;
|
|
35527
35565
|
return Le + ce;
|
|
35528
35566
|
}
|
|
35529
|
-
function
|
|
35567
|
+
function Cn(S, A) {
|
|
35530
35568
|
ne(S, 0, 0, function() {
|
|
35531
35569
|
var Z = this.utcOffset(), q = "+";
|
|
35532
|
-
return Z < 0 && (Z = -Z, q = "-"), q +
|
|
35570
|
+
return Z < 0 && (Z = -Z, q = "-"), q + Ce(~~(Z / 60), 2) + A + Ce(~~Z % 60, 2);
|
|
35533
35571
|
});
|
|
35534
35572
|
}
|
|
35535
|
-
|
|
35573
|
+
Cn("Z", ":"), Cn("ZZ", ""), Ge("Z", kt), Ge("ZZ", kt), Ot(["Z", "ZZ"], function(S, A, Z) {
|
|
35536
35574
|
Z._useUTC = !0, Z._tzm = ao(kt, S);
|
|
35537
35575
|
});
|
|
35538
35576
|
var Ko = /([\+\-]|\d\d)/gi;
|
|
@@ -35567,7 +35605,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35567
35605
|
} else
|
|
35568
35606
|
return this._isUTC ? q : Kr(this);
|
|
35569
35607
|
}
|
|
35570
|
-
function
|
|
35608
|
+
function xi(S, A) {
|
|
35571
35609
|
return S != null ? (typeof S != "string" && (S = -S), this.utcOffset(S, A), this) : -this.utcOffset();
|
|
35572
35610
|
}
|
|
35573
35611
|
function co(S) {
|
|
@@ -35665,7 +35703,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35665
35703
|
return typeof S == "string" || S instanceof String;
|
|
35666
35704
|
}
|
|
35667
35705
|
function dr(S) {
|
|
35668
|
-
return k(S) || p(S) || ar(S) || f(S) ||
|
|
35706
|
+
return k(S) || p(S) || ar(S) || f(S) || xr(S) || Fr(S) || S === null || S === void 0;
|
|
35669
35707
|
}
|
|
35670
35708
|
function Fr(S) {
|
|
35671
35709
|
var A = l(S) && !d(S), Z = !1, q = [
|
|
@@ -35698,13 +35736,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35698
35736
|
Le = q[ce], Z = Z || c(S, Le);
|
|
35699
35737
|
return A && Z;
|
|
35700
35738
|
}
|
|
35701
|
-
function
|
|
35739
|
+
function xr(S) {
|
|
35702
35740
|
var A = s(S), Z = !1;
|
|
35703
35741
|
return A && (Z = S.filter(function(q) {
|
|
35704
35742
|
return !f(q) && ar(S);
|
|
35705
35743
|
}).length === 0), A && Z;
|
|
35706
35744
|
}
|
|
35707
|
-
function
|
|
35745
|
+
function xn(S) {
|
|
35708
35746
|
var A = l(S) && !d(S), Z = !1, q = [
|
|
35709
35747
|
"sameDay",
|
|
35710
35748
|
"nextDay",
|
|
@@ -35722,7 +35760,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35722
35760
|
return Z < -6 ? "sameElse" : Z < -1 ? "lastWeek" : Z < 0 ? "lastDay" : Z < 1 ? "sameDay" : Z < 2 ? "nextDay" : Z < 7 ? "nextWeek" : "sameElse";
|
|
35723
35761
|
}
|
|
35724
35762
|
function Ii(S, A) {
|
|
35725
|
-
arguments.length === 1 && (arguments[0] ? dr(arguments[0]) ? (S = arguments[0], A = void 0) :
|
|
35763
|
+
arguments.length === 1 && (arguments[0] ? dr(arguments[0]) ? (S = arguments[0], A = void 0) : xn(arguments[0]) && (A = arguments[0], S = void 0) : (S = void 0, A = void 0));
|
|
35726
35764
|
var Z = S || fr(), q = No(Z, this).startOf("day"), ce = o.calendarFormat(this, q) || "sameElse", Le = A && (j(A[ce]) ? A[ce].call(this, Z) : A[ce]);
|
|
35727
35765
|
return this.format(
|
|
35728
35766
|
Le || this.localeData().calendar(ce, this, fr(Z))
|
|
@@ -36018,7 +36056,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36018
36056
|
strict: this._strict
|
|
36019
36057
|
};
|
|
36020
36058
|
}
|
|
36021
|
-
ne("N", 0, 0, "eraAbbr"), ne("NN", 0, 0, "eraAbbr"), ne("NNN", 0, 0, "eraAbbr"), ne("NNNN", 0, 0, "eraName"), ne("NNNNN", 0, 0, "eraNarrow"), ne("y", ["y", 1], "yo", "eraYear"), ne("y", ["yy", 2], 0, "eraYear"), ne("y", ["yyy", 3], 0, "eraYear"), ne("y", ["yyyy", 4], 0, "eraYear"), Ge("N", Tn), Ge("NN", Tn), Ge("NNN", Tn), Ge("NNNN",
|
|
36059
|
+
ne("N", 0, 0, "eraAbbr"), ne("NN", 0, 0, "eraAbbr"), ne("NNN", 0, 0, "eraAbbr"), ne("NNNN", 0, 0, "eraName"), ne("NNNNN", 0, 0, "eraNarrow"), ne("y", ["y", 1], "yo", "eraYear"), ne("y", ["yy", 2], 0, "eraYear"), ne("y", ["yyy", 3], 0, "eraYear"), ne("y", ["yyyy", 4], 0, "eraYear"), Ge("N", Tn), Ge("NN", Tn), Ge("NNN", Tn), Ge("NNNN", Cs), Ge("NNNNN", xs), Ot(
|
|
36022
36060
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
36023
36061
|
function(S, A, Z, q) {
|
|
36024
36062
|
var ce = Z._locale.erasParse(S, q, Z._strict);
|
|
@@ -36048,14 +36086,14 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36048
36086
|
return Le;
|
|
36049
36087
|
}
|
|
36050
36088
|
function ps(S, A, Z) {
|
|
36051
|
-
var q, ce, Le = this.eras(), $e,
|
|
36089
|
+
var q, ce, Le = this.eras(), $e, Ct, Mt;
|
|
36052
36090
|
for (S = S.toUpperCase(), q = 0, ce = Le.length; q < ce; ++q)
|
|
36053
|
-
if ($e = Le[q].name.toUpperCase(),
|
|
36091
|
+
if ($e = Le[q].name.toUpperCase(), Ct = Le[q].abbr.toUpperCase(), Mt = Le[q].narrow.toUpperCase(), Z)
|
|
36054
36092
|
switch (A) {
|
|
36055
36093
|
case "N":
|
|
36056
36094
|
case "NN":
|
|
36057
36095
|
case "NNN":
|
|
36058
|
-
if (
|
|
36096
|
+
if (Ct === S)
|
|
36059
36097
|
return Le[q];
|
|
36060
36098
|
break;
|
|
36061
36099
|
case "NNNN":
|
|
@@ -36067,7 +36105,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36067
36105
|
return Le[q];
|
|
36068
36106
|
break;
|
|
36069
36107
|
}
|
|
36070
|
-
else if ([$e,
|
|
36108
|
+
else if ([$e, Ct, Mt].indexOf(S) >= 0)
|
|
36071
36109
|
return Le[q];
|
|
36072
36110
|
}
|
|
36073
36111
|
function gs(S, A) {
|
|
@@ -36114,19 +36152,19 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36114
36152
|
function Tn(S, A) {
|
|
36115
36153
|
return A.erasAbbrRegex(S);
|
|
36116
36154
|
}
|
|
36117
|
-
function
|
|
36155
|
+
function Cs(S, A) {
|
|
36118
36156
|
return A.erasNameRegex(S);
|
|
36119
36157
|
}
|
|
36120
|
-
function
|
|
36158
|
+
function xs(S, A) {
|
|
36121
36159
|
return A.erasNarrowRegex(S);
|
|
36122
36160
|
}
|
|
36123
36161
|
function ei(S, A) {
|
|
36124
36162
|
return A._eraYearOrdinalRegex || At;
|
|
36125
36163
|
}
|
|
36126
36164
|
function Xn() {
|
|
36127
|
-
var S = [], A = [], Z = [], q = [], ce, Le, $e,
|
|
36165
|
+
var S = [], A = [], Z = [], q = [], ce, Le, $e, Ct, Mt, qt = this.eras();
|
|
36128
36166
|
for (ce = 0, Le = qt.length; ce < Le; ++ce)
|
|
36129
|
-
$e = Jt(qt[ce].name),
|
|
36167
|
+
$e = Jt(qt[ce].name), Ct = Jt(qt[ce].abbr), Mt = Jt(qt[ce].narrow), A.push($e), S.push(Ct), Z.push(Mt), q.push($e), q.push(Ct), q.push(Mt);
|
|
36130
36168
|
this._erasRegex = new RegExp("^(" + q.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + A.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + S.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
36131
36169
|
"^(" + Z.join("|") + ")",
|
|
36132
36170
|
"i"
|
|
@@ -36140,12 +36178,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36140
36178
|
function Sn(S, A) {
|
|
36141
36179
|
ne(0, [S, S.length], 0, A);
|
|
36142
36180
|
}
|
|
36143
|
-
Sn("gggg", "weekYear"), Sn("ggggg", "weekYear"), Sn("GGGG", "isoWeekYear"), Sn("GGGGG", "isoWeekYear"), Ge("G", or), Ge("g", or), Ge("GG", pt, ht), Ge("gg", pt, ht), Ge("GGGG", St, gt), Ge("gggg", St, gt), Ge("GGGGG", Qt, _t), Ge("ggggg", Qt, _t),
|
|
36181
|
+
Sn("gggg", "weekYear"), Sn("ggggg", "weekYear"), Sn("GGGG", "isoWeekYear"), Sn("GGGGG", "isoWeekYear"), Ge("G", or), Ge("g", or), Ge("GG", pt, ht), Ge("gg", pt, ht), Ge("GGGG", St, gt), Ge("gggg", St, gt), Ge("GGGGG", Qt, _t), Ge("ggggg", Qt, _t), Cr(
|
|
36144
36182
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
36145
36183
|
function(S, A, Z, q) {
|
|
36146
36184
|
A[q.substr(0, 2)] = Et(S);
|
|
36147
36185
|
}
|
|
36148
|
-
),
|
|
36186
|
+
), Cr(["gg", "GG"], function(S, A, Z, q) {
|
|
36149
36187
|
A[q] = o.parseTwoDigitYear(S);
|
|
36150
36188
|
});
|
|
36151
36189
|
function bs(S) {
|
|
@@ -36261,7 +36299,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36261
36299
|
Yr
|
|
36262
36300
|
), dt.zone = H(
|
|
36263
36301
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
36264
|
-
|
|
36302
|
+
xi
|
|
36265
36303
|
), dt.isDSTShifted = H(
|
|
36266
36304
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
36267
36305
|
ai
|
|
@@ -36291,12 +36329,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36291
36329
|
}
|
|
36292
36330
|
function O(S, A, Z, q) {
|
|
36293
36331
|
typeof S == "boolean" ? (f(A) && (Z = A, A = void 0), A = A || "") : (A = S, Z = A, S = !1, f(A) && (Z = A, A = void 0), A = A || "");
|
|
36294
|
-
var ce = Qr(), Le = S ? ce._week.dow : 0, $e,
|
|
36332
|
+
var ce = Qr(), Le = S ? ce._week.dow : 0, $e, Ct = [];
|
|
36295
36333
|
if (Z != null)
|
|
36296
36334
|
return F(A, (Z + Le) % 7, q, "day");
|
|
36297
36335
|
for ($e = 0; $e < 7; $e++)
|
|
36298
|
-
|
|
36299
|
-
return
|
|
36336
|
+
Ct[$e] = F(A, ($e + Le) % 7, q, "day");
|
|
36337
|
+
return Ct;
|
|
36300
36338
|
}
|
|
36301
36339
|
function K(S, A) {
|
|
36302
36340
|
return R(S, A, "months");
|
|
@@ -36363,8 +36401,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36363
36401
|
return S < 0 ? Math.floor(S) : Math.ceil(S);
|
|
36364
36402
|
}
|
|
36365
36403
|
function et() {
|
|
36366
|
-
var S = this._milliseconds, A = this._days, Z = this._months, q = this._data, ce, Le, $e,
|
|
36367
|
-
return S >= 0 && A >= 0 && Z >= 0 || S <= 0 && A <= 0 && Z <= 0 || (S += Je(Ke(Z) + A) * 864e5, A = 0, Z = 0), q.milliseconds = S % 1e3, ce = nr(S / 1e3), q.seconds = ce % 60, Le = nr(ce / 60), q.minutes = Le % 60, $e = nr(Le / 60), q.hours = $e % 24, A += nr($e / 24), Mt = nr(Ye(A)), Z += Mt, A -= Je(Ke(Mt)),
|
|
36404
|
+
var S = this._milliseconds, A = this._days, Z = this._months, q = this._data, ce, Le, $e, Ct, Mt;
|
|
36405
|
+
return S >= 0 && A >= 0 && Z >= 0 || S <= 0 && A <= 0 && Z <= 0 || (S += Je(Ke(Z) + A) * 864e5, A = 0, Z = 0), q.milliseconds = S % 1e3, ce = nr(S / 1e3), q.seconds = ce % 60, Le = nr(ce / 60), q.minutes = Le % 60, $e = nr(Le / 60), q.hours = $e % 24, A += nr($e / 24), Mt = nr(Ye(A)), Z += Mt, A -= Je(Ke(Mt)), Ct = nr(Z / 12), Z %= 12, q.days = A, q.months = Z, q.years = Ct, this;
|
|
36368
36406
|
}
|
|
36369
36407
|
function Ye(S) {
|
|
36370
36408
|
return S * 4800 / 146097;
|
|
@@ -36445,7 +36483,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36445
36483
|
return ce.relativeTime(A || 1, !!Z, S, q);
|
|
36446
36484
|
}
|
|
36447
36485
|
function Kn(S, A, Z, q) {
|
|
36448
|
-
var ce = Hr(S).abs(), Le = jr(ce.as("s")), $e = jr(ce.as("m")),
|
|
36486
|
+
var ce = Hr(S).abs(), Le = jr(ce.as("s")), $e = jr(ce.as("m")), Ct = jr(ce.as("h")), Mt = jr(ce.as("d")), qt = jr(ce.as("M")), Lr = jr(ce.as("w")), ci = jr(ce.as("y")), di = Le <= Z.ss && ["s", Le] || Le < Z.s && ["ss", Le] || $e <= 1 && ["m"] || $e < Z.m && ["mm", $e] || Ct <= 1 && ["h"] || Ct < Z.h && ["hh", Ct] || Mt <= 1 && ["d"] || Mt < Z.d && ["dd", Mt];
|
|
36449
36487
|
return Z.w != null && (di = di || Lr <= 1 && ["w"] || Lr < Z.w && ["ww", Lr]), di = di || qt <= 1 && ["M"] || qt < Z.M && ["MM", qt] || ci <= 1 && ["y"] || ["yy", ci], di[2] = A, di[3] = +S > 0, di[4] = q, ra.apply(null, di);
|
|
36450
36488
|
}
|
|
36451
36489
|
function Fs(S) {
|
|
@@ -36467,8 +36505,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36467
36505
|
function Lo() {
|
|
36468
36506
|
if (!this.isValid())
|
|
36469
36507
|
return this.localeData().invalidDate();
|
|
36470
|
-
var S = cn(this._milliseconds) / 1e3, A = cn(this._days), Z = cn(this._months), q, ce, Le, $e,
|
|
36471
|
-
return
|
|
36508
|
+
var S = cn(this._milliseconds) / 1e3, A = cn(this._days), Z = cn(this._months), q, ce, Le, $e, Ct = this.asSeconds(), Mt, qt, Lr, ci;
|
|
36509
|
+
return Ct ? (q = nr(S / 60), ce = nr(q / 60), S %= 60, q %= 60, Le = nr(Z / 12), Z %= 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" : "") + (Z ? qt + Z + "M" : "") + (A ? Lr + A + "D" : "") + (ce || q || S ? "T" : "") + (ce ? ci + ce + "H" : "") + (q ? ci + q + "M" : "") + (S ? ci + $e + "S" : "")) : "P0D";
|
|
36472
36510
|
}
|
|
36473
36511
|
var er = Bi.prototype;
|
|
36474
36512
|
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(
|
|
@@ -36480,7 +36518,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36480
36518
|
Z._d = new Date(Et(S));
|
|
36481
36519
|
});
|
|
36482
36520
|
//! moment.js
|
|
36483
|
-
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 = de, o.defineLocale = qr, o.updateLocale =
|
|
36521
|
+
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 = de, 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 = {
|
|
36484
36522
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
36485
36523
|
// <input type="datetime-local" />
|
|
36486
36524
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -36908,9 +36946,12 @@ const columns$1 = [
|
|
|
36908
36946
|
*/
|
|
36909
36947
|
deleteItems(a, t) {
|
|
36910
36948
|
let r = 0;
|
|
36911
|
-
this.poperSelectList
|
|
36912
|
-
|
|
36913
|
-
|
|
36949
|
+
const o = JSON.parse(JSON.stringify(this.poperSelectList));
|
|
36950
|
+
o.forEach((n, s) => {
|
|
36951
|
+
n.id == a.id && (r = s);
|
|
36952
|
+
}), a.selected = !1, o.splice(r, 1, a), this.$emit("update:poperSelectList", o), this.currentList = this.currentList.filter((n) => n.id !== a.id), this.selectedIds = this.selectedIds.filter((n) => n !== a.id), this.$nextTick(() => {
|
|
36953
|
+
this.selectedList = this.selectedList.filter((n) => n.id !== a.id), this.isCanSearch && this.searchList(this.input);
|
|
36954
|
+
});
|
|
36914
36955
|
},
|
|
36915
36956
|
/**
|
|
36916
36957
|
* 互斥列表选择
|
|
@@ -36971,7 +37012,7 @@ const columns$1 = [
|
|
|
36971
37012
|
let t = "", r = "", o = "", n = [], s = "";
|
|
36972
37013
|
const l = this.getCurrentPoperNode();
|
|
36973
37014
|
let c = this.isAllowMultiSelect && this.isCanSearch ? this.selectedList : this.poperSelectList.filter((f) => f.selected);
|
|
36974
|
-
if (c.length === 0)
|
|
37015
|
+
if (this.mutexSelect && this.currentList.find((f) => f.type != this.mutexType) && (c = this.poperSelectList.filter((f) => f.selected)), c.length === 0)
|
|
36975
37016
|
l instanceof DownListNode ? t = l.name ? l.name : " " : l instanceof TextInputFieldNode && (t = l.name ? l.name : " ", n.push(t));
|
|
36976
37017
|
else {
|
|
36977
37018
|
if (this.prefix.usePrefix) {
|
|
@@ -38178,7 +38219,7 @@ class DrawImageNode extends DrawCombineNode {
|
|
|
38178
38219
|
const r = this;
|
|
38179
38220
|
this._imageManager.addImageQueue(this, () => new Promise((o) => {
|
|
38180
38221
|
const n = new Image();
|
|
38181
|
-
process.env.NODE_ENV !== "production" && !this.imagePath.startsWith("http") ? n.src = "http://192.168.1.211:8088" + this.imagePath : n.src = this.imagePath, this._bitMap = new createjs$1.Bitmap(n);
|
|
38222
|
+
process.env.NODE_ENV !== "production" && !this.imagePath.startsWith("http") && !this.imagePath.startsWith("data:image") ? n.src = "http://192.168.1.211:8088" + this.imagePath : n.src = this.imagePath, this._bitMap = new createjs$1.Bitmap(n);
|
|
38182
38223
|
const s = HOEditorFactorys.instance().getFactory(r.node.hoEditorFactoryID);
|
|
38183
38224
|
this._bitMap.y = this._imageY, this._bitMap.x = 0, this._bitMap.name = this.node.id;
|
|
38184
38225
|
const l = new createjs$1.Shape();
|
|
@@ -38237,7 +38278,7 @@ class DrawImageNode extends DrawCombineNode {
|
|
|
38237
38278
|
}
|
|
38238
38279
|
}
|
|
38239
38280
|
class ImageNode extends BaseNode {
|
|
38240
|
-
//
|
|
38281
|
+
// 业务标识字段
|
|
38241
38282
|
constructor(r, o, n, s, l, c, d, u, f, p, m, g) {
|
|
38242
38283
|
super(r, o, n, s);
|
|
38243
38284
|
b(this, "_id");
|
|
@@ -38267,7 +38308,9 @@ class ImageNode extends BaseNode {
|
|
|
38267
38308
|
b(this, "_isBackFill");
|
|
38268
38309
|
//是否是回填的
|
|
38269
38310
|
b(this, "_innerIdentifier");
|
|
38270
|
-
|
|
38311
|
+
// 内部标识符
|
|
38312
|
+
b(this, "_bizCode", "");
|
|
38313
|
+
this._id = l, this._dataId = l, this._mId = g || "", this._imageDataBase64String = c, this._remark = "", this._isFormula = f != null && f.isFormula ? f.isFormula : !1, this._markImage = p || "", this._imageJson = m || "", this.isBackFill = f != null && f.isBackFill ? f.isBackFill : !1, this.innerIdentifier = (f == null ? void 0 : f.innerIdentifier) || "", this.bizCode = (f == null ? void 0 : f.bizCode) || "", this.parentNode && this.parentNode instanceof CellNode, this._width = d, this._height = u, this.node2DrawNodeRange(0, 0);
|
|
38271
38314
|
}
|
|
38272
38315
|
get hoEditorFactoryID() {
|
|
38273
38316
|
return this._hoEditorFactoryID;
|
|
@@ -38350,6 +38393,12 @@ class ImageNode extends BaseNode {
|
|
|
38350
38393
|
set mId(r) {
|
|
38351
38394
|
this._mId !== r && (this._mId = r);
|
|
38352
38395
|
}
|
|
38396
|
+
get bizCode() {
|
|
38397
|
+
return this._bizCode;
|
|
38398
|
+
}
|
|
38399
|
+
set bizCode(r) {
|
|
38400
|
+
this._bizCode !== r && (this._bizCode = r);
|
|
38401
|
+
}
|
|
38353
38402
|
/**
|
|
38354
38403
|
* imageNode 节点删除时 如果 imageDataBase64String是url地址形式 需要保存url列表
|
|
38355
38404
|
*/
|
|
@@ -38407,11 +38456,12 @@ class ImageNode extends BaseNode {
|
|
|
38407
38456
|
height: l,
|
|
38408
38457
|
//scaleX: scaleX,
|
|
38409
38458
|
//scaleY: scaleY,
|
|
38410
|
-
imageDataBase64String: this.imageDataBase64String
|
|
38459
|
+
imageDataBase64String: this.imageDataBase64String,
|
|
38411
38460
|
//isFormula: this.isFormula,
|
|
38412
38461
|
//remark: this.remark,
|
|
38413
38462
|
//markImage: this.markImage,
|
|
38414
|
-
//imageJson: this.imageJson
|
|
38463
|
+
//imageJson: this.imageJson,
|
|
38464
|
+
bizCode: this.bizCode
|
|
38415
38465
|
};
|
|
38416
38466
|
return this.isFormula && (c.isFormula = this.isFormula), this.remark && (c.remark = this.remark), this.markImage && (c.markImage = this.markImage), this.imageJson && (c.imageJson = this.imageJson), this.isBackFill && (c.isBackFill = this.isBackFill), this.innerIdentifier && (c.innerIdentifier = this.innerIdentifier), o ? c : {
|
|
38417
38467
|
ImageNode: c
|
|
@@ -38430,7 +38480,7 @@ class ImageNode extends BaseNode {
|
|
|
38430
38480
|
c,
|
|
38431
38481
|
//scaleX,
|
|
38432
38482
|
//scaleY,
|
|
38433
|
-
{ isFormula: d, isBackFill: u, innerIdentifier: f },
|
|
38483
|
+
{ isFormula: d, isBackFill: u, innerIdentifier: f, bizCode: o.bizCode || "" },
|
|
38434
38484
|
o.markImage,
|
|
38435
38485
|
o.imageJson,
|
|
38436
38486
|
o.mId
|
|
@@ -38809,7 +38859,25 @@ const scaleXY = DrawConfig.instance().scale, defaultWidth = Math.floor(793 * sca
|
|
|
38809
38859
|
}
|
|
38810
38860
|
this.poperType = "datePoper";
|
|
38811
38861
|
} else Number(c.inputFieldType) === 1 && this.createInputProper(a, c, n, r);
|
|
38812
|
-
} else a.nodeType == NodeType.ntFigure
|
|
38862
|
+
} else if (a.nodeType == NodeType.ntFigure)
|
|
38863
|
+
this.poperType = "", this.$emit("dblNodeClick", { setActiveDoc: this.setActiveDocIndex, node: this.getCurrentSelectNode, type: "edit-ho-figure", paintStatus: n });
|
|
38864
|
+
else if (a.parentNode instanceof CellNode && a.nodeType !== NodeType.ntMedicalExpression && a.nodeType !== NodeType.ntImage)
|
|
38865
|
+
this.handleCellNode(a, a.parentNode, r, n);
|
|
38866
|
+
else if (a instanceof CellNode)
|
|
38867
|
+
this.handleForm("update");
|
|
38868
|
+
else if (a instanceof ImageNode) {
|
|
38869
|
+
if (this.poperType = "", !a.isBackFill) {
|
|
38870
|
+
const c = {
|
|
38871
|
+
setActiveDoc: this.setActiveDocIndex,
|
|
38872
|
+
node: this.getCurrentSelectNode,
|
|
38873
|
+
type: "edit-image",
|
|
38874
|
+
paintStatus: n,
|
|
38875
|
+
bizCode: a.bizCode || ""
|
|
38876
|
+
};
|
|
38877
|
+
a.bizCode && (c.bizCode = a.bizCode, c.imageNode = a), this.$emit("dblNodeClick", c);
|
|
38878
|
+
}
|
|
38879
|
+
} else
|
|
38880
|
+
this.hoEditorProvider.setDblclickNodeValue(a, "dblclick");
|
|
38813
38881
|
}
|
|
38814
38882
|
},
|
|
38815
38883
|
updateSelectMark() {
|
|
@@ -39097,7 +39165,11 @@ var _sfc_render$1c = function a() {
|
|
|
39097
39165
|
}, proxy: !0 }, { key: "hoPageExtra", fn: function() {
|
|
39098
39166
|
return [t._t("hoDocExtra", null, { data: { pgIndex: o - 1 } })];
|
|
39099
39167
|
}, proxy: !0 }], null, !0) })];
|
|
39100
|
-
})], 2) : t._e(), t.poperType === "datePoper" || t.poperType === "selectPoper" ? r("PoperSelectModal", { attrs: { poperType: t.poperType, poperSelectList: t.poperSelectList, poperPos: t.poperPos, hoEditorId: t.hoEditorId, selectMarkStyle: t.selectMarkStyle }, on: {
|
|
39168
|
+
})], 2) : t._e(), t.poperType === "datePoper" || t.poperType === "selectPoper" ? r("PoperSelectModal", { attrs: { poperType: t.poperType, poperSelectList: t.poperSelectList, poperPos: t.poperPos, hoEditorId: t.hoEditorId, selectMarkStyle: t.selectMarkStyle }, on: { "update:poperSelectList": function(o) {
|
|
39169
|
+
t.poperSelectList = o;
|
|
39170
|
+
}, "update:poper-select-list": function(o) {
|
|
39171
|
+
t.poperSelectList = o;
|
|
39172
|
+
}, poperClose: t.poperClose } }) : t._e(), r("PoperMark", { directives: [{ name: "show", rawName: "v-show", value: t.poperType === "datePoper" || t.poperType === "selectPoper" || t.poperType === "table-cell-poper", expression: "poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'" }] }), t.poperType === "table-cell-poper" ? r("TableCellPoper", { attrs: { poperNode: t.nodeValue, poperPos: t.poperPos }, on: { poperClose: t.poperClose } }) : t._e(), r("HoToPage", { attrs: { hoEditorId: t.hoEditorId, inViewPages: t.inViewPages } }), r("HoToPage", { attrs: { hoEditorId: t.hoEditorId, inViewPages: t.inViewPages, toTop: !0, drawPageCount: t.drawPageCount } }), r("PoperTipText", { attrs: { isPoperText: t.isPoperText, poperText: t.poperText, poperPos: t.poperTextPos }, on: { poperTextClose: t.poperTextClose } }), r("ul", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: () => t.isCreateRightMenuModal = !1, expression: "() => (isCreateRightMenuModal = false)" }, { name: "show", rawName: "v-show", value: t.isCreateRightMenuModal, expression: "isCreateRightMenuModal" }], ref: "rightMenuModal", staticClass: "create-right-menu" }, [t.showEditBtn ? r("li", { staticClass: "mouse-menu-item", staticStyle: { "justify-content": "space-between" }, on: { click: t.toEdit } }, [r("span", [t._v("去编辑")])]) : t._e(), r("li", { staticClass: "mouse-menu-item", staticStyle: { "justify-content": "space-between" }, on: { click: t.hoCopy } }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.29", null, "复制"))]), r("span", [t._v("Ctrl + C")])]), t.showCommentsBtn ? r("li", { staticClass: "mouse-menu-item", on: { click: t.hideComments } }, [t._v(t._s(t.isHideComments ? i18nHelper("04-001-009-EMR.3.3.8", null, "显示批注") : i18nHelper("04-001-009-EMR.3.3.7", null, "隐藏批注")))]) : t._e(), t._t("hoBrowseRightMenu"), t.showDeleteSignMenu ? r("li", { staticClass: "mouse-menu-item", on: { click: t.deleteSignNode } }, [t._v("删除签名")]) : t._e(), r("li", { staticClass: "mouse-menu-item" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.6", null, "编辑器版本:"))]), t._v(" "), r("span", { staticStyle: { "font-size": "14px", color: "#0a77e3" } }, [t._v("v " + t._s(t.version))])])], 2)], 1);
|
|
39101
39173
|
}, _sfc_staticRenderFns$1c = [], __component__$1c = /* @__PURE__ */ normalizeComponent$1(
|
|
39102
39174
|
_sfc_main$1c,
|
|
39103
39175
|
_sfc_render$1c,
|
|
@@ -40659,7 +40731,7 @@ function requireDom() {
|
|
|
40659
40731
|
if (Ue ? se[G(se, Ue)] = Se : se[se.length++] = Se, ee) {
|
|
40660
40732
|
Se.ownerElement = ee;
|
|
40661
40733
|
var Ge = ee.ownerDocument;
|
|
40662
|
-
Ge && (Ue &&
|
|
40734
|
+
Ge && (Ue && xe(Ge, ee, Ue), ne(Ge, ee, Se));
|
|
40663
40735
|
}
|
|
40664
40736
|
}
|
|
40665
40737
|
function ae(ee, se, Se) {
|
|
@@ -40669,7 +40741,7 @@ function requireDom() {
|
|
|
40669
40741
|
se[Ue] = se[++Ue];
|
|
40670
40742
|
if (se.length = Ge, ee) {
|
|
40671
40743
|
var Dt = ee.ownerDocument;
|
|
40672
|
-
Dt && (
|
|
40744
|
+
Dt && (xe(Dt, ee, Se), Se.ownerElement = null);
|
|
40673
40745
|
}
|
|
40674
40746
|
} else
|
|
40675
40747
|
throw new Y(H, new Error(ee.tagName + "@" + Se));
|
|
@@ -40718,9 +40790,9 @@ function requireDom() {
|
|
|
40718
40790
|
return null;
|
|
40719
40791
|
}
|
|
40720
40792
|
};
|
|
40721
|
-
function
|
|
40793
|
+
function Ce() {
|
|
40722
40794
|
}
|
|
40723
|
-
|
|
40795
|
+
Ce.prototype = {
|
|
40724
40796
|
/**
|
|
40725
40797
|
* The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.
|
|
40726
40798
|
* The different implementations fairly diverged in what kind of features were reported.
|
|
@@ -40907,7 +40979,7 @@ function requireDom() {
|
|
|
40907
40979
|
var Ue = Se.namespaceURI;
|
|
40908
40980
|
Ue === r.XMLNS && (se._nsMap[Se.prefix ? Se.localName : ""] = Se.value);
|
|
40909
40981
|
}
|
|
40910
|
-
function
|
|
40982
|
+
function xe(ee, se, Se, Ue) {
|
|
40911
40983
|
ee && ee._inc++;
|
|
40912
40984
|
var Ge = Se.namespaceURI;
|
|
40913
40985
|
Ge === r.XMLNS && delete se._nsMap[Se.prefix ? Se.localName : ""];
|
|
@@ -41142,7 +41214,7 @@ function requireDom() {
|
|
|
41142
41214
|
return se.ownerDocument = this, se.appendData(ee), se;
|
|
41143
41215
|
},
|
|
41144
41216
|
createProcessingInstruction: function(ee, se) {
|
|
41145
|
-
var Se = new
|
|
41217
|
+
var Se = new xt();
|
|
41146
41218
|
return Se.ownerDocument = this, Se.tagName = Se.nodeName = Se.target = ee, Se.nodeValue = Se.data = se, Se;
|
|
41147
41219
|
},
|
|
41148
41220
|
createAttribute: function(ee) {
|
|
@@ -41302,9 +41374,9 @@ function requireDom() {
|
|
|
41302
41374
|
function Tt() {
|
|
41303
41375
|
}
|
|
41304
41376
|
Tt.prototype.nodeName = "#document-fragment", Tt.prototype.nodeType = T, u(Tt, oe);
|
|
41305
|
-
function
|
|
41377
|
+
function xt() {
|
|
41306
41378
|
}
|
|
41307
|
-
|
|
41379
|
+
xt.prototype.nodeType = C, u(xt, oe);
|
|
41308
41380
|
function It() {
|
|
41309
41381
|
}
|
|
41310
41382
|
It.prototype.serializeToString = function(ee, se, Se) {
|
|
@@ -41358,17 +41430,17 @@ function requireDom() {
|
|
|
41358
41430
|
}
|
|
41359
41431
|
if (!Et)
|
|
41360
41432
|
for (var Ot = Ge.length - 1; Ot >= 0; Ot--) {
|
|
41361
|
-
var
|
|
41362
|
-
if (
|
|
41363
|
-
Et =
|
|
41433
|
+
var Cr = Ge[Ot];
|
|
41434
|
+
if (Cr.prefix === "" && Cr.namespace === ee.namespaceURI) {
|
|
41435
|
+
Et = Cr.namespace;
|
|
41364
41436
|
break;
|
|
41365
41437
|
}
|
|
41366
41438
|
}
|
|
41367
41439
|
if (Et !== ee.namespaceURI)
|
|
41368
41440
|
for (var Ot = Ge.length - 1; Ot >= 0; Ot--) {
|
|
41369
|
-
var
|
|
41370
|
-
if (
|
|
41371
|
-
|
|
41441
|
+
var Cr = Ge[Ot];
|
|
41442
|
+
if (Cr.namespace === ee.namespaceURI) {
|
|
41443
|
+
Cr.prefix && (nr = Cr.prefix + ":" + Jt);
|
|
41372
41444
|
break;
|
|
41373
41445
|
}
|
|
41374
41446
|
}
|
|
@@ -41523,7 +41595,7 @@ function requireDom() {
|
|
|
41523
41595
|
}
|
|
41524
41596
|
} catch {
|
|
41525
41597
|
}
|
|
41526
|
-
return dom.DocumentType = bt, dom.DOMException = Y, dom.DOMImplementation =
|
|
41598
|
+
return dom.DocumentType = bt, dom.DOMException = Y, dom.DOMImplementation = Ce, dom.Element = Be, dom.Node = oe, dom.NodeList = j, dom.XMLSerializer = It, dom;
|
|
41527
41599
|
}
|
|
41528
41600
|
var domParser = {}, entities = {}, hasRequiredEntities;
|
|
41529
41601
|
function requireEntities() {
|
|
@@ -43708,17 +43780,17 @@ function requireSax() {
|
|
|
43708
43780
|
}
|
|
43709
43781
|
}
|
|
43710
43782
|
function G(Be, Qe) {
|
|
43711
|
-
for (; Be >= ae && (Qe =
|
|
43783
|
+
for (; Be >= ae && (Qe = Ce.exec(L)); )
|
|
43712
43784
|
J = Qe.index, ae = J + Qe[0].length, oe.lineNumber++;
|
|
43713
43785
|
oe.columnNumber = Be - J + 1;
|
|
43714
43786
|
}
|
|
43715
|
-
for (var J = 0, ae = 0,
|
|
43787
|
+
for (var J = 0, ae = 0, Ce = /.*(?:\r\n?|\n)|.*$/g, oe = Y.locator, me = [{ currentNSMap: H }], ue = {}, Q = 0; ; ) {
|
|
43716
43788
|
try {
|
|
43717
43789
|
var ne = L.indexOf("<", Q);
|
|
43718
43790
|
if (ne < 0) {
|
|
43719
43791
|
if (!L.substr(Q).match(/^\s*$/)) {
|
|
43720
|
-
var
|
|
43721
|
-
|
|
43792
|
+
var xe = Y.doc, Ie = xe.createTextNode(L.substr(Q));
|
|
43793
|
+
xe.appendChild(Ie), Y.currentElement = Ie;
|
|
43722
43794
|
}
|
|
43723
43795
|
return;
|
|
43724
43796
|
}
|
|
@@ -43780,8 +43852,8 @@ function requireSax() {
|
|
|
43780
43852
|
);
|
|
43781
43853
|
}
|
|
43782
43854
|
for (var W, G, J = ++H, ae = n; ; ) {
|
|
43783
|
-
var
|
|
43784
|
-
switch (
|
|
43855
|
+
var Ce = L.charAt(J);
|
|
43856
|
+
switch (Ce) {
|
|
43785
43857
|
case "=":
|
|
43786
43858
|
if (ae === s)
|
|
43787
43859
|
W = L.slice(H, J), ae = c;
|
|
@@ -43793,12 +43865,12 @@ function requireSax() {
|
|
|
43793
43865
|
case "'":
|
|
43794
43866
|
case '"':
|
|
43795
43867
|
if (ae === c || ae === s)
|
|
43796
|
-
if (ae === s && (U.warning('attribute value must after "="'), W = L.slice(H, J)), H = J + 1, J = L.indexOf(
|
|
43868
|
+
if (ae === s && (U.warning('attribute value must after "="'), W = L.slice(H, J)), H = J + 1, J = L.indexOf(Ce, H), J > 0)
|
|
43797
43869
|
G = L.slice(H, J), X(W, G, H - 1), ae = u;
|
|
43798
43870
|
else
|
|
43799
|
-
throw new Error("attribute value no end '" +
|
|
43871
|
+
throw new Error("attribute value no end '" + Ce + "' match");
|
|
43800
43872
|
else if (ae == d)
|
|
43801
|
-
G = L.slice(H, J), X(W, G, H), U.warning('attribute "' + W + '" missed start quot(' +
|
|
43873
|
+
G = L.slice(H, J), X(W, G, H), U.warning('attribute "' + W + '" missed start quot(' + Ce + ")!!"), H = J + 1, ae = u;
|
|
43802
43874
|
else
|
|
43803
43875
|
throw new Error('attribute value must after "="');
|
|
43804
43876
|
break;
|
|
@@ -43845,9 +43917,9 @@ function requireSax() {
|
|
|
43845
43917
|
return J;
|
|
43846
43918
|
/*xml space '\x20' | #x9 | #xD | #xA; */
|
|
43847
43919
|
case "":
|
|
43848
|
-
|
|
43920
|
+
Ce = " ";
|
|
43849
43921
|
default:
|
|
43850
|
-
if (
|
|
43922
|
+
if (Ce <= " ")
|
|
43851
43923
|
switch (ae) {
|
|
43852
43924
|
case n:
|
|
43853
43925
|
B.setTagName(L.slice(H, J)), ae = f;
|
|
@@ -43886,16 +43958,16 @@ function requireSax() {
|
|
|
43886
43958
|
}
|
|
43887
43959
|
}
|
|
43888
43960
|
function C(L, H, B) {
|
|
43889
|
-
for (var Y = L.tagName, j = null,
|
|
43890
|
-
var U = L[
|
|
43961
|
+
for (var Y = L.tagName, j = null, Ce = L.length; Ce--; ) {
|
|
43962
|
+
var U = L[Ce], X = U.qName, W = U.value, oe = X.indexOf(":");
|
|
43891
43963
|
if (oe > 0)
|
|
43892
43964
|
var G = U.prefix = X.slice(0, oe), J = X.slice(oe + 1), ae = G === "xmlns" && J;
|
|
43893
43965
|
else
|
|
43894
43966
|
J = X, G = null, ae = X === "xmlns" && "";
|
|
43895
43967
|
U.localName = J, ae !== !1 && (j == null && (j = {}, E(B, B = {})), B[ae] = j[ae] = W, U.uri = a.XMLNS, H.startPrefixMapping(ae, W));
|
|
43896
43968
|
}
|
|
43897
|
-
for (var
|
|
43898
|
-
U = L[
|
|
43969
|
+
for (var Ce = L.length; Ce--; ) {
|
|
43970
|
+
U = L[Ce];
|
|
43899
43971
|
var G = U.prefix;
|
|
43900
43972
|
G && (G === "xml" && (U.uri = a.XML), G !== "xmlns" && (U.uri = B[G || ""]));
|
|
43901
43973
|
}
|
|
@@ -43943,8 +44015,8 @@ function requireSax() {
|
|
|
43943
44015
|
if (W > 1 && /!doctype/i.test(X[0][0])) {
|
|
43944
44016
|
var G = X[1][0], J = !1, ae = !1;
|
|
43945
44017
|
W > 3 && (/^public$/i.test(X[2][0]) ? (J = X[3][0], ae = W > 4 && X[4][0]) : /^system$/i.test(X[2][0]) && (ae = X[3][0]));
|
|
43946
|
-
var
|
|
43947
|
-
return B.startDTD(G, J, ae), B.endDTD(),
|
|
44018
|
+
var Ce = X[W - 1];
|
|
44019
|
+
return B.startDTD(G, J, ae), B.endDTD(), Ce.index + Ce[0].length;
|
|
43948
44020
|
}
|
|
43949
44021
|
}
|
|
43950
44022
|
return -1;
|
|
@@ -44227,8 +44299,8 @@ function requireX2js() {
|
|
|
44227
44299
|
function g(U) {
|
|
44228
44300
|
var X = 60, W = U.split(/[-T:+Z]/g), G = new Date(W[0], W[1] - 1, W[2]), J = W[5].split(".");
|
|
44229
44301
|
if (G.setHours(W[3], W[4], J[0]), J.length > 1 && G.setMilliseconds(J[1]), W[6] && W[7]) {
|
|
44230
|
-
var ae = W[6] * X + Number(W[7]),
|
|
44231
|
-
ae = 0 + (
|
|
44302
|
+
var ae = W[6] * X + Number(W[7]), Ce = /\d\d-\d\d:\d\d$/.test(U) ? "-" : "+";
|
|
44303
|
+
ae = 0 + (Ce === "-" ? -1 * ae : ae), G.setMinutes(G.getMinutes() - ae - G.getTimezoneOffset());
|
|
44232
44304
|
} else U.indexOf("Z", U.length - 1) !== -1 && (G = new Date(Date.UTC(G.getFullYear(), G.getMonth(), G.getDate(), G.getHours(), G.getMinutes(), G.getSeconds(), G.getMilliseconds())));
|
|
44233
44305
|
return G;
|
|
44234
44306
|
}
|
|
@@ -44261,8 +44333,8 @@ function requireX2js() {
|
|
|
44261
44333
|
var W = {};
|
|
44262
44334
|
W.__cnt = 0;
|
|
44263
44335
|
for (var G = U.childNodes, J = 0; J < G.length; J++) {
|
|
44264
|
-
var ae = G.item(J),
|
|
44265
|
-
ae.nodeType !== c.COMMENT_NODE && (W.__cnt++, W[
|
|
44336
|
+
var ae = G.item(J), Ce = d(ae);
|
|
44337
|
+
ae.nodeType !== c.COMMENT_NODE && (W.__cnt++, W[Ce] == null ? (W[Ce] = C(ae, X + "." + Ce), m(W, Ce, X + "." + Ce)) : (W[Ce] instanceof Array || (W[Ce] = [W[Ce]], m(W, Ce, X + "." + Ce)), W[Ce][W[Ce].length] = C(ae, X + "." + Ce)));
|
|
44266
44338
|
}
|
|
44267
44339
|
for (var oe = 0; oe < U.attributes.length; oe++) {
|
|
44268
44340
|
var me = U.attributes.item(oe);
|
|
@@ -44273,8 +44345,8 @@ function requireX2js() {
|
|
|
44273
44345
|
}
|
|
44274
44346
|
W[o.attributePrefix + me.name] = ue;
|
|
44275
44347
|
}
|
|
44276
|
-
var
|
|
44277
|
-
return
|
|
44348
|
+
var xe = u(U);
|
|
44349
|
+
return xe && (W.__cnt++, W.__prefix = xe), W["#text"] && (W.__text = W["#text"], W.__text instanceof Array && (W.__text = W.__text.join(`
|
|
44278
44350
|
`)), o.escapeMode && (W.__text = p(W.__text)), o.stripWhitespaces && (W.__text = W.__text.trim()), delete W["#text"], o.arrayAccessForm === "property" && delete W["#text_asArray"], W.__text = y(W.__text, "#text", X + ".#text")), W.hasOwnProperty("#cdata-section") && (W.__cdata = W["#cdata-section"], delete W["#cdata-section"], o.arrayAccessForm === "property" && delete W["#cdata-section_asArray"]), W.__cnt === 1 && W.__text && !o.keepText ? W = W.__text : W.__cnt === 0 && o.emptyNodeForm === "text" ? W = "" : W.__cnt > 1 && W.__text !== void 0 && o.skipEmptyTextNodesForObj && (o.stripWhitespaces && W.__text === "" || W.__text.trim() === "") && delete W.__text, delete W.__cnt, !o.keepCData && !W.hasOwnProperty("__text") && W.hasOwnProperty("__cdata") && Object.keys(W).length === 1 ? W.__cdata ? W.__cdata : "" : (o.enableToStringFunc && (W.__text || W.__cdata) && (W.toString = function() {
|
|
44279
44351
|
return (this.__text ? this.__text : "") + (this.__cdata ? this.__cdata : "");
|
|
44280
44352
|
}), W);
|
|
@@ -44286,8 +44358,8 @@ function requireX2js() {
|
|
|
44286
44358
|
var J = "<" + (U && U.__prefix ? U.__prefix + ":" : "") + X;
|
|
44287
44359
|
if (W)
|
|
44288
44360
|
for (var ae = 0; ae < W.length; ae++) {
|
|
44289
|
-
var
|
|
44290
|
-
o.escapeMode && (oe = f(oe)), J += " " +
|
|
44361
|
+
var Ce = W[ae], oe = U[Ce];
|
|
44362
|
+
o.escapeMode && (oe = f(oe)), J += " " + Ce.substr(o.attributePrefix.length) + "=", o.useDoubleQuotes ? J += '"' + oe + '"' : J += "'" + oe + "'";
|
|
44291
44363
|
}
|
|
44292
44364
|
return G ? J += " />" : J += ">", J;
|
|
44293
44365
|
}
|
|
@@ -50179,7 +50251,9 @@ class VueController {
|
|
|
50179
50251
|
"",
|
|
50180
50252
|
0,
|
|
50181
50253
|
0,
|
|
50182
|
-
{
|
|
50254
|
+
{
|
|
50255
|
+
elementDataId: t.customProperty.elementDataId || ""
|
|
50256
|
+
},
|
|
50183
50257
|
!0,
|
|
50184
50258
|
t.styleIndex,
|
|
50185
50259
|
t.connectMode,
|
|
@@ -50503,19 +50577,32 @@ class VueController {
|
|
|
50503
50577
|
const t = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), r = t.subDocManger.headerDocTree[0].subDocNodes, o = t.docTree.mainNodes, n = t.subDocManger.footerDocTree[0].subDocNodes;
|
|
50504
50578
|
let s = "";
|
|
50505
50579
|
const l = (c) => {
|
|
50506
|
-
var d;
|
|
50507
|
-
for (let
|
|
50508
|
-
const
|
|
50509
|
-
if (!(
|
|
50510
|
-
if (
|
|
50511
|
-
|
|
50512
|
-
|
|
50513
|
-
p
|
|
50514
|
-
|
|
50515
|
-
|
|
50516
|
-
|
|
50517
|
-
|
|
50518
|
-
|
|
50580
|
+
var d, u;
|
|
50581
|
+
for (let f = 0; f < c.length; f++) {
|
|
50582
|
+
const p = c[f];
|
|
50583
|
+
if (!(p.hidden || (d = p == null ? void 0 : p.customProperty) != null && d.hidden)) {
|
|
50584
|
+
if (p instanceof TextNode)
|
|
50585
|
+
if (p.combination) {
|
|
50586
|
+
let m = p.text;
|
|
50587
|
+
p.combination.forEach((g) => {
|
|
50588
|
+
m = m + g;
|
|
50589
|
+
}), s += m;
|
|
50590
|
+
} else
|
|
50591
|
+
s += p.text;
|
|
50592
|
+
else if (p instanceof ControlNode && !(p instanceof PageNumNode) && !(p instanceof PageCountNode))
|
|
50593
|
+
p instanceof DateTimeNode && p.name == p.text || (s += p.text);
|
|
50594
|
+
else if (p instanceof BaseCombineNode)
|
|
50595
|
+
l(p.childNodes);
|
|
50596
|
+
else if (p instanceof ParagraphNode)
|
|
50597
|
+
s += `
|
|
50598
|
+
`;
|
|
50599
|
+
else if (p instanceof SignNode && p.customProperty && p.customProperty.bce03) {
|
|
50600
|
+
let m = [];
|
|
50601
|
+
p.customProperty.abi02 && m.push(p.customProperty.abi02), m.push(p.customProperty.bce03);
|
|
50602
|
+
const g = ((u = p.otherProperties) == null ? void 0 : u.time) || p.signTime;
|
|
50603
|
+
g && m.push(g), s += m.join("_");
|
|
50604
|
+
}
|
|
50605
|
+
}
|
|
50519
50606
|
}
|
|
50520
50607
|
};
|
|
50521
50608
|
return l(r), l(o), l(n), s = s.replace(/&/g, "&"), s = s.replace(/</g, "<"), s = s.replace(/>/g, ">"), s = s.replace(/\'/g, "'"), s = s.replace(/\"/g, """), s;
|
|
@@ -51029,19 +51116,23 @@ class VueController {
|
|
|
51029
51116
|
* @param type type bottom:页左下角坐标点(0,0)↑→ top:页左上角坐标点(0,0)↓→
|
|
51030
51117
|
* @param nodes
|
|
51031
51118
|
*/
|
|
51032
|
-
getBatchPosition(t, r) {
|
|
51033
|
-
const
|
|
51034
|
-
|
|
51035
|
-
|
|
51036
|
-
|
|
51037
|
-
|
|
51038
|
-
|
|
51039
|
-
|
|
51040
|
-
|
|
51041
|
-
|
|
51042
|
-
});
|
|
51119
|
+
async getBatchPosition(t, r, o = 200) {
|
|
51120
|
+
const n = [], s = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), l = (c) => new Promise((d) => {
|
|
51121
|
+
let u = s.docTree.getNodeLastPath(c);
|
|
51122
|
+
this.moveCaretToPath(u);
|
|
51123
|
+
const f = setTimeout(() => {
|
|
51124
|
+
const p = this.getPosition3(t);
|
|
51125
|
+
n.push({
|
|
51126
|
+
node: c,
|
|
51127
|
+
position: p
|
|
51128
|
+
}), clearTimeout(f), d(p);
|
|
51129
|
+
}, o);
|
|
51130
|
+
});
|
|
51131
|
+
for (let c = 0; c < r.length; c++) {
|
|
51132
|
+
const d = r[c];
|
|
51133
|
+
await l(d);
|
|
51043
51134
|
}
|
|
51044
|
-
return
|
|
51135
|
+
return n;
|
|
51045
51136
|
}
|
|
51046
51137
|
/**
|
|
51047
51138
|
* 获取光标位置
|
|
@@ -52137,8 +52228,8 @@ class VueController {
|
|
|
52137
52228
|
withFormula: !1
|
|
52138
52229
|
}, T = JSON.parse(JSON.stringify(E)), I = new Array();
|
|
52139
52230
|
let M = v.rowInfos.length - 1, k = v.colInfos.length - 1;
|
|
52140
|
-
for (let
|
|
52141
|
-
const oe = v.rowInfos[
|
|
52231
|
+
for (let Ce = 0; Ce <= M; Ce++) {
|
|
52232
|
+
const oe = v.rowInfos[Ce], ue = {
|
|
52142
52233
|
customProperties: { customProperty: Array(oe.rowProperty.customProperties) },
|
|
52143
52234
|
//dataSource: rowInfo.rowProperty.dataSource,
|
|
52144
52235
|
forcedPageBreak: oe.rowProperty.forcedPageBreak,
|
|
@@ -52153,8 +52244,8 @@ class VueController {
|
|
|
52153
52244
|
newLineWithCellContent: oe.rowProperty.newLineWithCellContent,
|
|
52154
52245
|
withFormula: oe.rowProperty.withFormula
|
|
52155
52246
|
}, Q = JSON.parse(JSON.stringify(ue)), ne = Object.keys(E);
|
|
52156
|
-
for (let
|
|
52157
|
-
ne[
|
|
52247
|
+
for (let xe = 0; xe < ne.length; xe++)
|
|
52248
|
+
ne[xe] === "customProperties" ? oe.rowProperty.customProperties.length === 0 && delete Q.customProperties : Q[ne[xe]] === T[ne[xe]] && delete Q[ne[xe]];
|
|
52158
52249
|
I.push({
|
|
52159
52250
|
rowHeight: oe.rowHeight,
|
|
52160
52251
|
//heightFixed: rowInfo.heightFixed,
|
|
@@ -52174,8 +52265,8 @@ class VueController {
|
|
|
52174
52265
|
isSignLock: !1,
|
|
52175
52266
|
isLock: !1
|
|
52176
52267
|
}, H = JSON.parse(JSON.stringify(L)), B = new Array();
|
|
52177
|
-
for (let
|
|
52178
|
-
const oe = v.colInfos[
|
|
52268
|
+
for (let Ce = 0; Ce <= k; Ce++) {
|
|
52269
|
+
const oe = v.colInfos[Ce], me = { customProperty: Array(oe.colProperty.customProperties) }, ue = {
|
|
52179
52270
|
editorProperty: EditorProperty[oe.colProperty.editorProperty],
|
|
52180
52271
|
align: VAlign[oe.colProperty.align],
|
|
52181
52272
|
width: oe.colProperty.width ? oe.colProperty.width : 0,
|
|
@@ -52188,8 +52279,8 @@ class VueController {
|
|
|
52188
52279
|
isLock: oe.colProperty.isLock,
|
|
52189
52280
|
customProperties: me
|
|
52190
52281
|
}, Q = JSON.parse(JSON.stringify(ue)), ne = Object.keys(L);
|
|
52191
|
-
for (let
|
|
52192
|
-
Q[ne[
|
|
52282
|
+
for (let xe = 0; xe < ne.length; xe++)
|
|
52283
|
+
Q[ne[xe]] === H[ne[xe]] && delete Q[ne[xe]];
|
|
52193
52284
|
B.push({
|
|
52194
52285
|
colWidth: oe.colWidth,
|
|
52195
52286
|
widthFixed: oe.widthFixed,
|
|
@@ -52218,10 +52309,10 @@ class VueController {
|
|
|
52218
52309
|
dateTimeProperty: "",
|
|
52219
52310
|
formula: ""
|
|
52220
52311
|
}, j = JSON.parse(JSON.stringify(Y)), U = new Array(), X = new Array();
|
|
52221
|
-
for (let
|
|
52222
|
-
const oe = v.rows[
|
|
52312
|
+
for (let Ce = 0; Ce <= M; Ce++) {
|
|
52313
|
+
const oe = v.rows[Ce], me = {
|
|
52223
52314
|
nodeType: "ntRow",
|
|
52224
|
-
rowNo:
|
|
52315
|
+
rowNo: Ce,
|
|
52225
52316
|
childNodes: { CellNode: Array() }
|
|
52226
52317
|
}, ue = {
|
|
52227
52318
|
base: {},
|
|
@@ -52231,14 +52322,14 @@ class VueController {
|
|
|
52231
52322
|
for (let Q = 0; Q <= k; Q++) {
|
|
52232
52323
|
const ne = oe[Q];
|
|
52233
52324
|
if (ne) {
|
|
52234
|
-
const
|
|
52235
|
-
ue.base = JSON.parse(JSON.stringify(
|
|
52325
|
+
const xe = c(ne, j);
|
|
52326
|
+
ue.base = JSON.parse(JSON.stringify(xe)), xe.rowNo = Ce, xe.colNo = Q, me.childNodes.CellNode.push(xe), me.rowNo = Ce;
|
|
52236
52327
|
} else
|
|
52237
52328
|
me.childNodes.CellNode.push({});
|
|
52238
52329
|
}
|
|
52239
52330
|
}
|
|
52240
|
-
for (let
|
|
52241
|
-
const oe = U[
|
|
52331
|
+
for (let Ce = 0; Ce < U.length; Ce++) {
|
|
52332
|
+
const oe = U[Ce].childNodes.CellNode;
|
|
52242
52333
|
for (let me = 0; me < oe.length; me++)
|
|
52243
52334
|
oe[me].rowSpan > 1 && (oe[me].rowSpan = Math.min(oe[me].rowSpan, oe.length - oe[me].rowNo)), oe[me].colSpan > 1 && (oe[me].colSpan = Math.min(oe[me].colSpan, oe.length - oe[me].colNo));
|
|
52244
52335
|
}
|
|
@@ -52493,7 +52584,7 @@ class VueController {
|
|
|
52493
52584
|
let w = m.getNewCellHeight() - 10;
|
|
52494
52585
|
u > w && (u = w);
|
|
52495
52586
|
const v = m.table.colInfos[m.row.indexOf(m)];
|
|
52496
|
-
v.colProperty.isSpecifyWidth && (d = v.colWidth - 10), r && (u = d * r /
|
|
52587
|
+
v.colProperty.isSpecifyWidth && (d = v.colWidth - 10), r && t && (u = d * r / t);
|
|
52497
52588
|
}
|
|
52498
52589
|
if (s = {
|
|
52499
52590
|
width: Math.min(d, c.docWidth),
|
|
@@ -54776,10 +54867,10 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54776
54867
|
}, inflt = function(a, t, r) {
|
|
54777
54868
|
var o = a.length, n = !t || r, s = !r || r.i;
|
|
54778
54869
|
r || (r = {}), t || (t = new u8(o * 3));
|
|
54779
|
-
var l = function(
|
|
54870
|
+
var l = function(xe) {
|
|
54780
54871
|
var Ie = t.length;
|
|
54781
|
-
if (
|
|
54782
|
-
var ve = new u8(Math.max(Ie * 2,
|
|
54872
|
+
if (xe > Ie) {
|
|
54873
|
+
var ve = new u8(Math.max(Ie * 2, xe));
|
|
54783
54874
|
ve.set(t), t = ve;
|
|
54784
54875
|
}
|
|
54785
54876
|
}, c = r.f || 0, d = r.p || 0, u = r.b || 0, f = r.l, p = r.d, m = r.m, g = r.n, y = o * 8;
|
|
@@ -54830,20 +54921,20 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54830
54921
|
}
|
|
54831
54922
|
n && l(u + 131072);
|
|
54832
54923
|
for (var G = (1 << m) - 1, J = (1 << g) - 1, ae = m + g + 18; s || d + ae < y; ) {
|
|
54833
|
-
var j = f[bits16(a, d) & G],
|
|
54924
|
+
var j = f[bits16(a, d) & G], Ce = j >>> 4;
|
|
54834
54925
|
if (d += j & 15, d > y)
|
|
54835
54926
|
throw "unexpected EOF";
|
|
54836
54927
|
if (!j)
|
|
54837
54928
|
throw "invalid length/literal";
|
|
54838
|
-
if (
|
|
54839
|
-
t[u++] =
|
|
54840
|
-
else if (
|
|
54929
|
+
if (Ce < 256)
|
|
54930
|
+
t[u++] = Ce;
|
|
54931
|
+
else if (Ce == 256) {
|
|
54841
54932
|
f = null;
|
|
54842
54933
|
break;
|
|
54843
54934
|
} else {
|
|
54844
|
-
var oe =
|
|
54845
|
-
if (
|
|
54846
|
-
var k =
|
|
54935
|
+
var oe = Ce - 254;
|
|
54936
|
+
if (Ce > 264) {
|
|
54937
|
+
var k = Ce - 257, me = fleb[k];
|
|
54847
54938
|
oe = bits(a, d, (1 << me) - 1) + fl[k], d += me;
|
|
54848
54939
|
}
|
|
54849
54940
|
var ue = p[bits16(a, d) & J], Q = ue >>> 4;
|
|
@@ -54964,7 +55055,7 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54964
55055
|
var W, G, J, ae;
|
|
54965
55056
|
if (wbits(t, f, 1 + (X < U)), f += 2, X < U) {
|
|
54966
55057
|
W = hMap(m, g, 0), G = m, J = hMap(w, v, 0), ae = w;
|
|
54967
|
-
var
|
|
55058
|
+
var Ce = hMap(H, B, 0);
|
|
54968
55059
|
wbits(t, f, D - 257), wbits(t, f + 5, I - 1), wbits(t, f + 10, Y - 4), f += 14;
|
|
54969
55060
|
for (var k = 0; k < Y; ++k)
|
|
54970
55061
|
wbits(t, f + 3 * k, H[clim[k]]);
|
|
@@ -54972,7 +55063,7 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54972
55063
|
for (var oe = [_, T], me = 0; me < 2; ++me)
|
|
54973
55064
|
for (var ue = oe[me], k = 0; k < ue.length; ++k) {
|
|
54974
55065
|
var Q = ue[k] & 31;
|
|
54975
|
-
wbits(t, f,
|
|
55066
|
+
wbits(t, f, Ce[Q]), f += H[Q], Q > 15 && (wbits(t, f, ue[k] >>> 5 & 127), f += ue[k] >>> 12);
|
|
54976
55067
|
}
|
|
54977
55068
|
} else
|
|
54978
55069
|
W = flm, G = flt, J = fdm, ae = fdt;
|
|
@@ -55006,16 +55097,16 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
55006
55097
|
for (var G = 0; G < 30; ++G)
|
|
55007
55098
|
M[G] = 0;
|
|
55008
55099
|
}
|
|
55009
|
-
var J = 2, ae = 0,
|
|
55100
|
+
var J = 2, ae = 0, Ce = y, oe = U - X & 32767;
|
|
55010
55101
|
if (W > 2 && j == E(f - oe))
|
|
55011
|
-
for (var me = Math.min(g, W) - 1, ue = Math.min(32767, f), Q = Math.min(258, W); oe <= ue && --
|
|
55102
|
+
for (var me = Math.min(g, W) - 1, ue = Math.min(32767, f), Q = Math.min(258, W); oe <= ue && --Ce && U != X; ) {
|
|
55012
55103
|
if (a[f + J] == a[f + J - oe]) {
|
|
55013
55104
|
for (var ne = 0; ne < Q && a[f + ne] == a[f + ne - oe]; ++ne)
|
|
55014
55105
|
;
|
|
55015
55106
|
if (ne > J) {
|
|
55016
55107
|
if (J = ne, ae = oe, ne > me)
|
|
55017
55108
|
break;
|
|
55018
|
-
for (var
|
|
55109
|
+
for (var xe = Math.min(oe, ne - 2), Ie = 0, G = 0; G < xe; ++G) {
|
|
55019
55110
|
var ve = f - oe + G + 32768 & 32767, _e = v[ve], pe = ve - _e + 32768 & 32767;
|
|
55020
55111
|
pe > Ie && (Ie = pe, X = ve);
|
|
55021
55112
|
}
|
|
@@ -55793,7 +55884,7 @@ function jsPDF(a) {
|
|
|
55793
55884
|
var J, ae = g.__private__.convertDateToPDFDate = function(z) {
|
|
55794
55885
|
var V = "", ye = z.getTimezoneOffset(), Fe = ye < 0 ? "+" : "-", We = Math.floor(Math.abs(ye / 60)), Ze = Math.abs(ye % 60), lt = [Fe, ue(We), "'", ue(Ze), "'"].join("");
|
|
55795
55886
|
return V = ["D:", z.getFullYear(), ue(z.getMonth() + 1), ue(z.getDate()), ue(z.getHours()), ue(z.getMinutes()), ue(z.getSeconds()), lt].join(""), V;
|
|
55796
|
-
},
|
|
55887
|
+
}, Ce = g.__private__.convertPDFDateToDate = function(z) {
|
|
55797
55888
|
var V = parseInt(z.substr(2, 4), 10), ye = parseInt(z.substr(6, 2), 10) - 1, Fe = parseInt(z.substr(8, 2), 10), We = parseInt(z.substr(10, 2), 10), Ze = parseInt(z.substr(12, 2), 10), lt = parseInt(z.substr(14, 2), 10), ft = new Date(V, ye, Fe, We, Ze, lt, 0);
|
|
55798
55889
|
return ft;
|
|
55799
55890
|
}, oe = g.__private__.setCreationDate = function(z) {
|
|
@@ -55807,7 +55898,7 @@ function jsPDF(a) {
|
|
|
55807
55898
|
return J = V, J;
|
|
55808
55899
|
}, me = g.__private__.getCreationDate = function(z) {
|
|
55809
55900
|
var V = J;
|
|
55810
|
-
return z === "jsDate" && (V =
|
|
55901
|
+
return z === "jsDate" && (V = Ce(J)), V;
|
|
55811
55902
|
};
|
|
55812
55903
|
g.setCreationDate = function(z) {
|
|
55813
55904
|
return oe(z), this;
|
|
@@ -55818,8 +55909,8 @@ function jsPDF(a) {
|
|
|
55818
55909
|
return ("0" + parseInt(z)).slice(-2);
|
|
55819
55910
|
}, Q = g.__private__.padd2Hex = function(z) {
|
|
55820
55911
|
return z = z.toString(), ("00" + z).substr(z.length);
|
|
55821
|
-
}, ne = 0,
|
|
55822
|
-
ne = 0, ve = 0, Ie = [],
|
|
55912
|
+
}, ne = 0, xe = [], Ie = [], ve = 0, _e = [], pe = [], Pe, De = !1, Ve = Ie, Te = function() {
|
|
55913
|
+
ne = 0, ve = 0, Ie = [], xe = [], _e = [], Zt = jt(), lr = jt();
|
|
55823
55914
|
};
|
|
55824
55915
|
g.__private__.setCustomOutputDestination = function(z) {
|
|
55825
55916
|
De = !0, Ve = z;
|
|
@@ -55910,7 +56001,7 @@ function jsPDF(a) {
|
|
|
55910
56001
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
55911
56002
|
return _t[z] = V;
|
|
55912
56003
|
};
|
|
55913
|
-
var pt = {}, Tt = {},
|
|
56004
|
+
var pt = {}, Tt = {}, xt, It = [], St = {}, Qt = {}, At = {}, or = {}, wr = null, kt, Gt = 0, ee = [], se = new PubSub(g), Se = a.hotfixes || [], Ue = {}, Ge = {}, Dt = [], Ut, Jt, nr, Et = function() {
|
|
55914
56005
|
pt = {}, Tt = {}, It = [], St = {}, Qt = {}, At = {}, or = {}, wr = null, Gt = 0, ee = [], se = null, Se = [], Ue = {}, Ge = {}, Dt = [], Ut = 0, Jt = 0, nr = {}, this.events.publish("destroy"), this.vFS && (Object.keys(this.vFS).forEach((z) => {
|
|
55915
56006
|
delete this.vFS[z];
|
|
55916
56007
|
}), this.vFS = {}), Ie = [], Ve = [], pe = [], Object.keys(this).forEach((z) => {
|
|
@@ -56045,9 +56136,9 @@ function jsPDF(a) {
|
|
|
56045
56136
|
return new Pt(ft, mt, Bt, Ht, Kt, $t);
|
|
56046
56137
|
}, Pt.prototype.applyToPoint = function(z) {
|
|
56047
56138
|
var V = z.x * this.sx + z.y * this.shx + this.tx, ye = z.x * this.shy + z.y * this.sy + this.ty;
|
|
56048
|
-
return new
|
|
56139
|
+
return new xo(V, ye);
|
|
56049
56140
|
}, Pt.prototype.applyToRectangle = function(z) {
|
|
56050
|
-
var V = this.applyToPoint(z), ye = this.applyToPoint(new
|
|
56141
|
+
var V = this.applyToPoint(z), ye = this.applyToPoint(new xo(z.x + z.w, z.y + z.h));
|
|
56051
56142
|
return new bo(V.x, V.y, ye.x - V.x, ye.y - V.y);
|
|
56052
56143
|
}, Pt.prototype.clone = function() {
|
|
56053
56144
|
var z = this.sx, V = this.shy, ye = this.shx, Fe = this.sy, We = this.tx, Ze = this.ty;
|
|
@@ -56055,8 +56146,8 @@ function jsPDF(a) {
|
|
|
56055
56146
|
}, g.Matrix = Pt;
|
|
56056
56147
|
var Ot = g.matrixMult = function(z, V) {
|
|
56057
56148
|
return V.multiply(z);
|
|
56058
|
-
},
|
|
56059
|
-
g.unitMatrix = g.identityMatrix =
|
|
56149
|
+
}, Cr = new Pt(1, 0, 0, 1, 0, 0);
|
|
56150
|
+
g.unitMatrix = g.identityMatrix = Cr;
|
|
56060
56151
|
var Nr = function(V, ye) {
|
|
56061
56152
|
if (!Qt[V]) {
|
|
56062
56153
|
var Fe = ye instanceof ShadingPattern ? "Sh" : "P", We = Fe + (Object.keys(St).length + 1).toString(10);
|
|
@@ -56075,11 +56166,11 @@ function jsPDF(a) {
|
|
|
56075
56166
|
var z = jt();
|
|
56076
56167
|
return tr(z, !0), z;
|
|
56077
56168
|
}, jt = g.__private__.newObjectDeferred = function() {
|
|
56078
|
-
return ne++,
|
|
56169
|
+
return ne++, xe[ne] = function() {
|
|
56079
56170
|
return ve;
|
|
56080
56171
|
}, ne;
|
|
56081
56172
|
}, tr = function(V, ye) {
|
|
56082
|
-
return ye = typeof ye == "boolean" ? ye : !1,
|
|
56173
|
+
return ye = typeof ye == "boolean" ? ye : !1, xe[V] = ve, ye && we(V + " 0 obj"), V;
|
|
56083
56174
|
}, Vt = g.__private__.newAdditionalObject = function() {
|
|
56084
56175
|
var z = jt(), V = {
|
|
56085
56176
|
objId: z,
|
|
@@ -56491,7 +56582,7 @@ Q`), tr(We, !0), Or({
|
|
|
56491
56582
|
}, V.foo.bar = V, V.foo;
|
|
56492
56583
|
}, ct = function(V, ye) {
|
|
56493
56584
|
var Fe, We, Ze, lt, ft, mt, Bt, Ht, Kt;
|
|
56494
|
-
if (ye = ye || {}, Ze = ye.sourceEncoding || "Unicode", ft = ye.outputEncoding, (ye.autoencode || ft) && pt[
|
|
56585
|
+
if (ye = ye || {}, Ze = ye.sourceEncoding || "Unicode", ft = ye.outputEncoding, (ye.autoencode || ft) && pt[xt].metadata && pt[xt].metadata[Ze] && pt[xt].metadata[Ze].encoding && (lt = pt[xt].metadata[Ze].encoding, !ft && pt[xt].encoding && (ft = pt[xt].encoding), !ft && lt.codePages && (ft = lt.codePages[0]), typeof ft == "string" && (ft = lt[ft]), ft)) {
|
|
56495
56586
|
for (Bt = !1, mt = [], Fe = 0, We = V.length; Fe < We; Fe++)
|
|
56496
56587
|
Ht = ft[V.charCodeAt(Fe)], Ht ? mt.push(String.fromCharCode(Ht)) : mt.push(V[Fe]), mt[Fe].charCodeAt(0) >> 8 && (Bt = !0);
|
|
56497
56588
|
V = mt.join("");
|
|
@@ -56534,7 +56625,7 @@ Q`), tr(We, !0), Or({
|
|
|
56534
56625
|
We > Ze && (o = [Ze, We]);
|
|
56535
56626
|
break;
|
|
56536
56627
|
}
|
|
56537
|
-
ut(o), yn(Yo), we(eo), qr !== 0 && we(qr + " J"),
|
|
56628
|
+
ut(o), yn(Yo), we(eo), qr !== 0 && we(qr + " J"), Ci !== 0 && we(Ci + " j"), se.publish("addPage", {
|
|
56538
56629
|
pageNumber: Gt
|
|
56539
56630
|
});
|
|
56540
56631
|
}, zt = function(V) {
|
|
@@ -56545,7 +56636,7 @@ Q`), tr(We, !0), Or({
|
|
|
56545
56636
|
return pe.length - 1;
|
|
56546
56637
|
}, hr = function(V, ye, Fe) {
|
|
56547
56638
|
var We = void 0, Ze;
|
|
56548
|
-
return Fe = Fe || {}, V = V !== void 0 ? V : pt[
|
|
56639
|
+
return Fe = Fe || {}, V = V !== void 0 ? V : pt[xt].fontName, ye = ye !== void 0 ? ye : pt[xt].fontStyle, Ze = V.toLowerCase(), Tt[Ze] !== void 0 && Tt[Ze][ye] !== void 0 ? We = Tt[Ze][ye] : Tt[V] !== void 0 && Tt[V][ye] !== void 0 ? We = Tt[V][ye] : Fe.disableWarning === !1 && console$1.warn("Unable to look up font label for font '" + V + "', '" + ye + "'. Refer to getFontList() for available fonts."), !We && !Fe.noFallback && (We = Tt.times[ye], We == null && (We = Tt.times.normal)), We;
|
|
56549
56640
|
}, cr = g.__private__.putInfo = function() {
|
|
56550
56641
|
var z = Xt(), V = function(We) {
|
|
56551
56642
|
return We;
|
|
@@ -56598,8 +56689,8 @@ Q`), tr(We, !0), Or({
|
|
|
56598
56689
|
var z = "0000000000";
|
|
56599
56690
|
we("xref"), we("0 " + (ne + 1)), we("0000000000 65535 f ");
|
|
56600
56691
|
for (var V = 1; V <= ne; V++) {
|
|
56601
|
-
var ye =
|
|
56602
|
-
typeof ye == "function" ? we((z +
|
|
56692
|
+
var ye = xe[V];
|
|
56693
|
+
typeof ye == "function" ? we((z + xe[V]()).slice(-10) + " 00000 n ") : typeof xe[V] < "u" ? we((z + xe[V]).slice(-10) + " 00000 n ") : we("0000000000 00000 n ");
|
|
56603
56694
|
}
|
|
56604
56695
|
}, Zr = g.__private__.buildDocument = function() {
|
|
56605
56696
|
Te(), He(Ie), se.publish("buildDocument"), Qi(), Yr(), ke(), be(), f !== null && mo(), cr(), kr();
|
|
@@ -56776,8 +56867,8 @@ Q`), tr(We, !0), Or({
|
|
|
56776
56867
|
return vr = vr.split(" ").join(Array(Fe.TabLen || 9).join(" ")), at(vr, $t);
|
|
56777
56868
|
}
|
|
56778
56869
|
function Xo(vr) {
|
|
56779
|
-
for (var ar = vr.concat(), dr = [], Fr = ar.length,
|
|
56780
|
-
|
|
56870
|
+
for (var ar = vr.concat(), dr = [], Fr = ar.length, xr; Fr--; )
|
|
56871
|
+
xr = ar.shift(), typeof xr == "string" ? dr.push(xr) : Array.isArray(vr) && (xr.length === 1 || xr[1] === void 0 && xr[2] === void 0) ? dr.push(xr[0]) : dr.push([xr[0], xr[1], xr[2]]);
|
|
56781
56872
|
return dr;
|
|
56782
56873
|
}
|
|
56783
56874
|
function qo(vr, ar) {
|
|
@@ -56785,9 +56876,9 @@ Q`), tr(We, !0), Or({
|
|
|
56785
56876
|
if (typeof vr == "string")
|
|
56786
56877
|
dr = ar(vr)[0];
|
|
56787
56878
|
else if (Array.isArray(vr)) {
|
|
56788
|
-
for (var Fr = vr.concat(),
|
|
56789
|
-
Xr = Fr.shift(), typeof Xr == "string" ?
|
|
56790
|
-
dr =
|
|
56879
|
+
for (var Fr = vr.concat(), xr = [], xn = Fr.length, Xr, Ii; xn--; )
|
|
56880
|
+
Xr = Fr.shift(), typeof Xr == "string" ? xr.push(ar(Xr)[0]) : Array.isArray(Xr) && typeof Xr[0] == "string" && (Ii = ar(Xr[0], Xr[1], Xr[2]), xr.push([Ii[0], Ii[1], Ii[2]]));
|
|
56881
|
+
dr = xr;
|
|
56791
56882
|
}
|
|
56792
56883
|
return dr;
|
|
56793
56884
|
}
|
|
@@ -56828,7 +56919,7 @@ Q`), tr(We, !0), Or({
|
|
|
56828
56919
|
options: Fe,
|
|
56829
56920
|
mutex: {
|
|
56830
56921
|
pdfEscape: at,
|
|
56831
|
-
activeFontKey:
|
|
56922
|
+
activeFontKey: xt,
|
|
56832
56923
|
fonts: pt,
|
|
56833
56924
|
activeFontSize: Ne
|
|
56834
56925
|
}
|
|
@@ -56837,7 +56928,7 @@ Q`), tr(We, !0), Or({
|
|
|
56837
56928
|
var Jo = Math.cos(mt), Bi = Math.sin(mt);
|
|
56838
56929
|
ur = new Pt(Jo, Bi, -Bi, Jo, 0, 0);
|
|
56839
56930
|
} else mt && mt instanceof Pt && (ur = mt);
|
|
56840
|
-
D === _.ADVANCED && !ur && (ur =
|
|
56931
|
+
D === _.ADVANCED && !ur && (ur = Cr), Ht = Fe.charSpace || Ti, typeof Ht < "u" && (br += L(Y(Ht)) + ` Tc
|
|
56841
56932
|
`, this.setCharSpace(this.getCharSpace() || 0)), yr = Fe.horizontalScale, typeof yr < "u" && (br += L(yr * 100) + ` Tz
|
|
56842
56933
|
`), Fe.lang;
|
|
56843
56934
|
var Er = -1, Po = typeof Fe.renderingMode < "u" ? Fe.renderingMode : Fe.stroke, so = Ze.internal.getCurrentPageInfo().pageContext;
|
|
@@ -56877,11 +56968,11 @@ Q`), tr(We, !0), Or({
|
|
|
56877
56968
|
Er = 7;
|
|
56878
56969
|
break;
|
|
56879
56970
|
}
|
|
56880
|
-
var
|
|
56971
|
+
var Cn = typeof so.usedRenderingMode < "u" ? so.usedRenderingMode : -1;
|
|
56881
56972
|
Er !== -1 ? br += Er + ` Tr
|
|
56882
|
-
` :
|
|
56973
|
+
` : Cn !== -1 && (br += `0 Tr
|
|
56883
56974
|
`), Er !== -1 && (so.usedRenderingMode = Er), Bt = Fe.align || "left";
|
|
56884
|
-
var Ko = Ne * Oi, ao = Ze.internal.pageSize.getWidth(), No = pt[
|
|
56975
|
+
var Ko = Ne * Oi, ao = Ze.internal.pageSize.getWidth(), No = pt[xt];
|
|
56885
56976
|
Ht = Fe.charSpace || Ti, Kt = Fe.maxWidth || 0;
|
|
56886
56977
|
var Kr;
|
|
56887
56978
|
$t = Object.assign({
|
|
@@ -56891,7 +56982,7 @@ Q`), tr(We, !0), Or({
|
|
|
56891
56982
|
var lo = [];
|
|
56892
56983
|
if (Object.prototype.toString.call(z) === "[object Array]") {
|
|
56893
56984
|
ft = Xo(z);
|
|
56894
|
-
var
|
|
56985
|
+
var xi;
|
|
56895
56986
|
Bt !== "left" && (Kr = ft.map(function(vr) {
|
|
56896
56987
|
return Ze.getStringUnitWidth(vr, {
|
|
56897
56988
|
font: No,
|
|
@@ -56904,11 +56995,11 @@ Q`), tr(We, !0), Or({
|
|
|
56904
56995
|
if (Bt === "right") {
|
|
56905
56996
|
V -= Kr[0], z = [], Dr = ft.length;
|
|
56906
56997
|
for (var zi = 0; zi < Dr; zi++)
|
|
56907
|
-
zi === 0 ? (bi = Ni(V),
|
|
56998
|
+
zi === 0 ? (bi = Ni(V), xi = sr(ye)) : (bi = Y(co - Kr[zi]), xi = -Ko), z.push([ft[zi], bi, xi]), co = Kr[zi];
|
|
56908
56999
|
} else if (Bt === "center") {
|
|
56909
57000
|
V -= Kr[0] / 2, z = [], Dr = ft.length;
|
|
56910
57001
|
for (var Wi = 0; Wi < Dr; Wi++)
|
|
56911
|
-
Wi === 0 ? (bi = Ni(V),
|
|
57002
|
+
Wi === 0 ? (bi = Ni(V), xi = sr(ye)) : (bi = Y((co - Kr[Wi]) / 2), xi = -Ko), z.push([ft[Wi], bi, xi]), co = Kr[Wi];
|
|
56912
57003
|
} else if (Bt === "left") {
|
|
56913
57004
|
z = [], Dr = ft.length;
|
|
56914
57005
|
for (var To = 0; To < Dr; To++)
|
|
@@ -56916,7 +57007,7 @@ Q`), tr(We, !0), Or({
|
|
|
56916
57007
|
} else if (Bt === "justify") {
|
|
56917
57008
|
z = [], Dr = ft.length, Kt = Kt !== 0 ? Kt : ao;
|
|
56918
57009
|
for (var ai = 0; ai < Dr; ai++)
|
|
56919
|
-
|
|
57010
|
+
xi = ai === 0 ? sr(ye) : -Ko, bi = ai === 0 ? Ni(V) : 0, ai < Dr - 1 ? lo.push(L(Y((Kt - Kr[ai]) / (ft[ai].split("").length - 1)))) : lo.push(0), z.push([ft[ai], bi, xi]);
|
|
56920
57011
|
} else
|
|
56921
57012
|
throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
|
|
56922
57013
|
}
|
|
@@ -56930,20 +57021,20 @@ Q`), tr(We, !0), Or({
|
|
|
56930
57021
|
options: Fe,
|
|
56931
57022
|
mutex: {
|
|
56932
57023
|
pdfEscape: at,
|
|
56933
|
-
activeFontKey:
|
|
57024
|
+
activeFontKey: xt,
|
|
56934
57025
|
fonts: pt,
|
|
56935
57026
|
activeFontSize: Ne
|
|
56936
57027
|
}
|
|
56937
57028
|
}, se.publish("postProcessText", lt), z = lt.text, Br = lt.mutex.isHex || !1;
|
|
56938
|
-
var en = pt[
|
|
57029
|
+
var en = pt[xt].encoding;
|
|
56939
57030
|
(en === "WinAnsiEncoding" || en === "StandardEncoding") && (z = qo(z, function(vr, ar, dr) {
|
|
56940
57031
|
return [fr(vr), ar, dr];
|
|
56941
57032
|
})), ft = Xo(z), z = [];
|
|
56942
57033
|
for (var Ei = 0, ho = 1, uo = Array.isArray(ft[0]) ? ho : Ei, Hr, Gr, Fi, ji = "", So = function(ar, dr, Fr) {
|
|
56943
|
-
var
|
|
56944
|
-
return Fr instanceof Pt ? (typeof Fe.angle == "number" ? Fr = Ot(Fr, new Pt(1, 0, 0, 1, ar, dr)) : Fr = Ot(new Pt(1, 0, 0, 1, ar, dr), Fr), D === _.ADVANCED && (Fr = Ot(new Pt(1, 0, 0, -1, 0, 0), Fr)),
|
|
56945
|
-
`) :
|
|
56946
|
-
`,
|
|
57034
|
+
var xr = "";
|
|
57035
|
+
return Fr instanceof Pt ? (typeof Fe.angle == "number" ? Fr = Ot(Fr, new Pt(1, 0, 0, 1, ar, dr)) : Fr = Ot(new Pt(1, 0, 0, 1, ar, dr), Fr), D === _.ADVANCED && (Fr = Ot(new Pt(1, 0, 0, -1, 0, 0), Fr)), xr = Fr.join(" ") + ` Tm
|
|
57036
|
+
`) : xr = L(ar) + " " + L(dr) + ` Td
|
|
57037
|
+
`, xr;
|
|
56947
57038
|
}, Vr = 0; Vr < ft.length; Vr++) {
|
|
56948
57039
|
switch (ji = "", uo) {
|
|
56949
57040
|
case ho:
|
|
@@ -56962,10 +57053,10 @@ T* `) : z.join(` Tj
|
|
|
56962
57053
|
`;
|
|
56963
57054
|
var li = `BT
|
|
56964
57055
|
/`;
|
|
56965
|
-
return li +=
|
|
57056
|
+
return li += xt + " " + Ne + ` Tf
|
|
56966
57057
|
`, li += L(Ne * Oi) + ` TL
|
|
56967
57058
|
`, li += Hi + `
|
|
56968
|
-
`, li += br, li += z, li += "ET", we(li), m[
|
|
57059
|
+
`, li += br, li += z, li += "ET", we(li), m[xt] = !0, Ze;
|
|
56969
57060
|
};
|
|
56970
57061
|
var vo = g.__private__.clip = g.clip = function(z) {
|
|
56971
57062
|
return we(z === "evenodd" ? "W*" : "W"), this;
|
|
@@ -57035,7 +57126,7 @@ T* `) : z.join(` Tj
|
|
|
57035
57126
|
we("q"), we(Rn(ye)), We.gState && g.setGState(We.gState), we(V.matrix.toString() + " cm"), we("/" + Fe + " sh"), we("Q");
|
|
57036
57127
|
else if (We instanceof TilingPattern) {
|
|
57037
57128
|
var Ze = new Pt(1, 0, 0, -1, 0, Di());
|
|
57038
|
-
V.matrix && (Ze = Ze.multiply(V.matrix ||
|
|
57129
|
+
V.matrix && (Ze = Ze.multiply(V.matrix || Cr), Fe = Ln.call(We, V.key, V.boundingBox, V.xStep, V.yStep, Ze).id), we("q"), we("/Pattern cs"), we("/" + Fe + " scn"), We.gState && g.setGState(We.gState), we(ye), we("Q");
|
|
57039
57130
|
}
|
|
57040
57131
|
}, Rn = function(V) {
|
|
57041
57132
|
switch (V) {
|
|
@@ -57138,7 +57229,7 @@ T* `) : z.join(` Tj
|
|
|
57138
57229
|
throw new Error("Invalid arguments passed to jsPDF.circle");
|
|
57139
57230
|
return this.ellipse(z, V, ye, ye, Fe);
|
|
57140
57231
|
}, g.setFont = function(z, V, ye) {
|
|
57141
|
-
return ye && (V = I(V, ye)),
|
|
57232
|
+
return ye && (V = I(V, ye)), xt = hr(z, V, {
|
|
57142
57233
|
disableWarning: !1
|
|
57143
57234
|
}), this;
|
|
57144
57235
|
};
|
|
@@ -57170,7 +57261,7 @@ T* `) : z.join(` Tj
|
|
|
57170
57261
|
return L(Y(ye));
|
|
57171
57262
|
}).join(" "), V = L(Y(V)), we("[" + z + "] " + V + " d"), this;
|
|
57172
57263
|
};
|
|
57173
|
-
var $i,
|
|
57264
|
+
var $i, Co = g.__private__.getLineHeight = g.getLineHeight = function() {
|
|
57174
57265
|
return Ne * $i;
|
|
57175
57266
|
};
|
|
57176
57267
|
g.__private__.getLineHeight = g.getLineHeight = function() {
|
|
@@ -57264,12 +57355,12 @@ T* `) : z.join(` Tj
|
|
|
57264
57355
|
throw new Error("Line cap style of '" + z + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
57265
57356
|
return qr = V, we(V + " J"), this;
|
|
57266
57357
|
};
|
|
57267
|
-
var
|
|
57358
|
+
var Ci = 0;
|
|
57268
57359
|
g.__private__.setLineJoin = g.setLineJoin = function(z) {
|
|
57269
57360
|
var V = g.CapJoinStyles[z];
|
|
57270
57361
|
if (V === void 0)
|
|
57271
57362
|
throw new Error("Line join style of '" + z + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
57272
|
-
return
|
|
57363
|
+
return Ci = V, we(V + " j"), this;
|
|
57273
57364
|
}, g.__private__.setLineMiterLimit = g.__private__.setMiterLimit = g.setLineMiterLimit = g.setMiterLimit = function(z) {
|
|
57274
57365
|
if (z = z || 0, isNaN(z))
|
|
57275
57366
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
@@ -57298,20 +57389,20 @@ T* `) : z.join(` Tj
|
|
|
57298
57389
|
return Qr(z, V), this;
|
|
57299
57390
|
}, g.saveGraphicsState = function() {
|
|
57300
57391
|
return we("q"), It.push({
|
|
57301
|
-
key:
|
|
57392
|
+
key: xt,
|
|
57302
57393
|
size: Ne,
|
|
57303
57394
|
color: Hi
|
|
57304
57395
|
}), this;
|
|
57305
57396
|
}, g.restoreGraphicsState = function() {
|
|
57306
57397
|
we("Q");
|
|
57307
57398
|
var z = It.pop();
|
|
57308
|
-
return
|
|
57399
|
+
return xt = z.key, Ne = z.size, Hi = z.color, wr = null, this;
|
|
57309
57400
|
}, g.setCurrentTransformationMatrix = function(z) {
|
|
57310
57401
|
return we(z.toString() + " cm"), this;
|
|
57311
57402
|
}, g.comment = function(z) {
|
|
57312
57403
|
return we("#" + z), this;
|
|
57313
57404
|
};
|
|
57314
|
-
var
|
|
57405
|
+
var xo = function(V, ye) {
|
|
57315
57406
|
var Fe = V || 0;
|
|
57316
57407
|
Object.defineProperty(this, "x", {
|
|
57317
57408
|
enumerable: !0,
|
|
@@ -57343,7 +57434,7 @@ T* `) : z.join(` Tj
|
|
|
57343
57434
|
}
|
|
57344
57435
|
}), this;
|
|
57345
57436
|
}, bo = function(V, ye, Fe, We) {
|
|
57346
|
-
|
|
57437
|
+
xo.call(this, V, ye), this.type = "rect";
|
|
57347
57438
|
var Ze = Fe || 0;
|
|
57348
57439
|
Object.defineProperty(this, "w", {
|
|
57349
57440
|
enumerable: !0,
|
|
@@ -57428,7 +57519,7 @@ T* `) : z.join(` Tj
|
|
|
57428
57519
|
getFontSize: Be,
|
|
57429
57520
|
getCharSpace: wi,
|
|
57430
57521
|
getTextColor: vn,
|
|
57431
|
-
getLineHeight:
|
|
57522
|
+
getLineHeight: Co,
|
|
57432
57523
|
getLineHeightFactor: Hn,
|
|
57433
57524
|
getLineWidth: mn,
|
|
57434
57525
|
write: le,
|
|
@@ -57472,7 +57563,7 @@ T* `) : z.join(` Tj
|
|
|
57472
57563
|
getPageInfoByObjId: In,
|
|
57473
57564
|
getCurrentPageInfo: An,
|
|
57474
57565
|
getPDFVersion: w,
|
|
57475
|
-
Point:
|
|
57566
|
+
Point: xo,
|
|
57476
57567
|
Rectangle: bo,
|
|
57477
57568
|
Matrix: Pt,
|
|
57478
57569
|
hasHotfix: Ri,
|
|
@@ -57496,7 +57587,7 @@ T* `) : z.join(` Tj
|
|
|
57496
57587
|
},
|
|
57497
57588
|
enumerable: !0,
|
|
57498
57589
|
configurable: !0
|
|
57499
|
-
}), it.call(g, $),
|
|
57590
|
+
}), it.call(g, $), xt = "F1", vt(o, t), se.publish("initialized"), g;
|
|
57500
57591
|
}
|
|
57501
57592
|
jsPDF.API = {
|
|
57502
57593
|
events: []
|
|
@@ -58959,7 +59050,7 @@ jsPDF.AcroForm;
|
|
|
58959
59050
|
]
|
|
58960
59051
|
}, s = a.__addimage__.getImageFileTypeByImageData = function(W, G) {
|
|
58961
59052
|
G = G || r;
|
|
58962
|
-
var J, ae,
|
|
59053
|
+
var J, ae, Ce = r, oe, me, ue;
|
|
58963
59054
|
if (G === "RGBA" || W.data !== void 0 && W.data instanceof Uint8ClampedArray && "height" in W && "width" in W)
|
|
58964
59055
|
return "RGBA";
|
|
58965
59056
|
if (B(W))
|
|
@@ -58971,7 +59062,7 @@ jsPDF.AcroForm;
|
|
|
58971
59062
|
break;
|
|
58972
59063
|
}
|
|
58973
59064
|
if (me === !0) {
|
|
58974
|
-
|
|
59065
|
+
Ce = ue;
|
|
58975
59066
|
break;
|
|
58976
59067
|
}
|
|
58977
59068
|
}
|
|
@@ -58984,13 +59075,13 @@ jsPDF.AcroForm;
|
|
|
58984
59075
|
break;
|
|
58985
59076
|
}
|
|
58986
59077
|
if (me === !0) {
|
|
58987
|
-
|
|
59078
|
+
Ce = ue;
|
|
58988
59079
|
break;
|
|
58989
59080
|
}
|
|
58990
59081
|
}
|
|
58991
|
-
return
|
|
59082
|
+
return Ce === r && G !== r && (Ce = G), Ce;
|
|
58992
59083
|
}, l = function W(G) {
|
|
58993
|
-
for (var J = this.internal.write, ae = this.internal.putStream,
|
|
59084
|
+
for (var J = this.internal.write, ae = this.internal.putStream, Ce = this.internal.getFilters, oe = Ce(); oe.indexOf("FlateEncode") !== -1; )
|
|
58994
59085
|
oe.splice(oe.indexOf("FlateEncode"), 1);
|
|
58995
59086
|
G.objectId = this.internal.newObject();
|
|
58996
59087
|
var me = [];
|
|
@@ -59034,11 +59125,11 @@ jsPDF.AcroForm;
|
|
|
59034
59125
|
key: "SMask",
|
|
59035
59126
|
value: G.objectId + 1 + " 0 R"
|
|
59036
59127
|
});
|
|
59037
|
-
var
|
|
59128
|
+
var xe = typeof G.filter < "u" ? ["/" + G.filter] : void 0;
|
|
59038
59129
|
if (ae({
|
|
59039
59130
|
data: G.data,
|
|
59040
59131
|
additionalKeyValues: me,
|
|
59041
|
-
alreadyAppliedFilters:
|
|
59132
|
+
alreadyAppliedFilters: xe,
|
|
59042
59133
|
objectId: G.objectId
|
|
59043
59134
|
}), J("endobj"), "sMask" in G && typeof G.sMask < "u") {
|
|
59044
59135
|
var Ie = "/Predictor " + G.predictor + " /Colors 1 /BitsPerComponent " + G.bitsPerComponent + " /Columns " + G.width, ve = {
|
|
@@ -59064,8 +59155,8 @@ jsPDF.AcroForm;
|
|
|
59064
59155
|
l.call(this, G[J]);
|
|
59065
59156
|
}, d = function() {
|
|
59066
59157
|
var G = this.internal.collections[t + "images"], J = this.internal.write, ae;
|
|
59067
|
-
for (var
|
|
59068
|
-
ae = G[
|
|
59158
|
+
for (var Ce in G)
|
|
59159
|
+
ae = G[Ce], J("/I" + ae.index, ae.objectId, "0", "R");
|
|
59069
59160
|
}, u = function(G) {
|
|
59070
59161
|
return G && typeof G == "string" && (G = G.toUpperCase()), G in a.image_compression ? G : I.NONE;
|
|
59071
59162
|
}, f = function() {
|
|
@@ -59088,9 +59179,9 @@ jsPDF.AcroForm;
|
|
|
59088
59179
|
var ae = "" + G.getAttribute("src");
|
|
59089
59180
|
if (ae.indexOf("data:image/") === 0)
|
|
59090
59181
|
return atob$1(unescape(ae).split("base64,").pop());
|
|
59091
|
-
var
|
|
59092
|
-
if (
|
|
59093
|
-
return
|
|
59182
|
+
var Ce = a.loadFile(ae, !0);
|
|
59183
|
+
if (Ce !== void 0)
|
|
59184
|
+
return Ce;
|
|
59094
59185
|
}
|
|
59095
59186
|
if (G.nodeName === "CANVAS") {
|
|
59096
59187
|
if (G.width === 0 || G.height === 0)
|
|
@@ -59120,9 +59211,9 @@ jsPDF.AcroForm;
|
|
|
59120
59211
|
}
|
|
59121
59212
|
}, D = function(G, J, ae) {
|
|
59122
59213
|
return !G && !J && (G = -96, J = -96), G < 0 && (G = -1 * ae.width * 72 / G / this.internal.scaleFactor), J < 0 && (J = -1 * ae.height * 72 / J / this.internal.scaleFactor), G === 0 && (G = J * ae.width / ae.height), J === 0 && (J = G * ae.height / ae.width), [G, J];
|
|
59123
|
-
}, E = function(G, J, ae,
|
|
59124
|
-
var ue = D.call(this, ae,
|
|
59125
|
-
if (ae = ue[0],
|
|
59214
|
+
}, E = function(G, J, ae, Ce, oe, me) {
|
|
59215
|
+
var ue = D.call(this, ae, Ce, oe), Q = this.internal.getCoordinateString, ne = this.internal.getVerticalCoordinateString, xe = p.call(this);
|
|
59216
|
+
if (ae = ue[0], Ce = ue[1], xe[oe.index] = oe, oe.exifdata && oe.exifdata.Orientation && (me = {
|
|
59126
59217
|
6: 270,
|
|
59127
59218
|
8: 90,
|
|
59128
59219
|
// 5: 180,
|
|
@@ -59137,7 +59228,7 @@ jsPDF.AcroForm;
|
|
|
59137
59228
|
return De.toFixed(4);
|
|
59138
59229
|
}, pe = [_e(Ie), _e(ve), _e(ve * -1), _e(Ie), 0, 0, "cm"];
|
|
59139
59230
|
}
|
|
59140
|
-
this.internal.write("q"), me ? (oe.exifdata && oe.exifdata.Orientation ? oe.exifdata.Orientation == 8 || oe.exifdata.Orientation == 4 ? (G +=
|
|
59231
|
+
this.internal.write("q"), me ? (oe.exifdata && oe.exifdata.Orientation ? oe.exifdata.Orientation == 8 || oe.exifdata.Orientation == 4 ? (G += Ce, J -= ae - 10) : (oe.exifdata.Orientation == 6 || oe.exifdata.Orientation == 2) && (J -= ae - 10) : (G += Number(Q(ae)) + 20, J -= Ce), this.internal.write([1, "0", "0", 1, Q(G), ne(J + Ce), "cm"].join(" ")), this.internal.write(pe.join(" ")), this.internal.write([Q(ae), "0", "0", Q(Ce), "0", "0", "cm"].join(" "))) : this.internal.write([Q(ae), "0", "0", Q(Ce), Q(G), ne(J + Ce), "cm"].join(" ")), this.isAdvancedAPI() && this.internal.write([1, 0, 0, -1, 0, 0, "cm"].join(" ")), this.internal.write("/I" + oe.index + " Do"), this.internal.write("Q");
|
|
59141
59232
|
}, T = a.color_spaces = {
|
|
59142
59233
|
DEVICE_RGB: "DeviceRGB",
|
|
59143
59234
|
DEVICE_GRAY: "DeviceGray",
|
|
@@ -59210,19 +59301,19 @@ jsPDF.AcroForm;
|
|
|
59210
59301
|
return releaseArrayBuffer(W), G;
|
|
59211
59302
|
};
|
|
59212
59303
|
a.addImage = function() {
|
|
59213
|
-
var W, G, J, ae,
|
|
59214
|
-
if (W = arguments[0], typeof arguments[1] == "number" ? (G = r, J = arguments[1], ae = arguments[2],
|
|
59304
|
+
var W, G, J, ae, Ce, oe, me, ue, Q;
|
|
59305
|
+
if (W = arguments[0], typeof arguments[1] == "number" ? (G = r, J = arguments[1], ae = arguments[2], Ce = arguments[3], oe = arguments[4], me = arguments[5], ue = arguments[6], Q = arguments[7]) : (G = arguments[1], J = arguments[2], ae = arguments[3], Ce = arguments[4], oe = arguments[5], me = arguments[6], ue = arguments[7], Q = arguments[8]), _typeof(W) === "object" && !v(W) && "imageData" in W) {
|
|
59215
59306
|
var ne = W;
|
|
59216
|
-
W = ne.imageData, G = ne.format || G || r, J = ne.x || J || 0, ae = ne.y || ae || 0,
|
|
59307
|
+
W = ne.imageData, G = ne.format || G || r, J = ne.x || J || 0, ae = ne.y || ae || 0, Ce = ne.w || ne.width || Ce, oe = ne.h || ne.height || oe, me = ne.alias || me, ue = ne.compression || ue, Q = ne.rotation || ne.angle || Q;
|
|
59217
59308
|
}
|
|
59218
|
-
var
|
|
59219
|
-
if (ue === void 0 &&
|
|
59309
|
+
var xe = this.internal.getFilters();
|
|
59310
|
+
if (ue === void 0 && xe.indexOf("FlateEncode") !== -1 && (ue = "SLOW"), ue = "SLOW", isNaN(J) || isNaN(ae))
|
|
59220
59311
|
throw new Error("Invalid coordinates passed to jsPDF.addImage");
|
|
59221
59312
|
f.call(this);
|
|
59222
59313
|
var Ie = U.call(this, W, G, me, ue);
|
|
59223
|
-
return E.call(this, J, ae,
|
|
59314
|
+
return E.call(this, J, ae, Ce, oe, Ie, Q), this;
|
|
59224
59315
|
};
|
|
59225
|
-
var U = function(G, J, ae,
|
|
59316
|
+
var U = function(G, J, ae, Ce) {
|
|
59226
59317
|
var oe, me;
|
|
59227
59318
|
let ue = G.exifdata;
|
|
59228
59319
|
if (typeof G == "string" && s(G) === r) {
|
|
@@ -59232,19 +59323,19 @@ jsPDF.AcroForm;
|
|
|
59232
59323
|
}
|
|
59233
59324
|
if (v(G) && (G = C(G, J)), J = s(G, J), !w(J))
|
|
59234
59325
|
throw new Error("addImage does not support files of type '" + J + "', please ensure that a plugin for '" + J + "' support is added.");
|
|
59235
|
-
if (g(ae) && (ae = y(G)), oe = _.call(this, ae), oe || (H() && !(G instanceof Uint8Array) && J !== "RGBA" && (me = G, G = Y(G)), oe = this["process" + J.toUpperCase()](G, m.call(this), ae, u(
|
|
59326
|
+
if (g(ae) && (ae = y(G)), oe = _.call(this, ae), oe || (H() && !(G instanceof Uint8Array) && J !== "RGBA" && (me = G, G = Y(G)), oe = this["process" + J.toUpperCase()](G, m.call(this), ae, u(Ce), me)), releaseArrayBuffer(G.data), !oe)
|
|
59236
59327
|
throw new Error("An unknown error occurred whilst processing the image.");
|
|
59237
59328
|
return oe.exifdata = ue, oe;
|
|
59238
59329
|
}, X = a.__addimage__.convertBase64ToBinaryString = function(W, G) {
|
|
59239
59330
|
G = typeof G == "boolean" ? G : !0;
|
|
59240
|
-
var J, ae = "",
|
|
59331
|
+
var J, ae = "", Ce;
|
|
59241
59332
|
if (typeof W == "string") {
|
|
59242
|
-
J = L(W),
|
|
59333
|
+
J = L(W), Ce = J !== null ? J.data : W;
|
|
59243
59334
|
try {
|
|
59244
|
-
ae = atob$1(
|
|
59335
|
+
ae = atob$1(Ce);
|
|
59245
59336
|
} catch (oe) {
|
|
59246
59337
|
if (G)
|
|
59247
|
-
throw k(
|
|
59338
|
+
throw k(Ce) ? new Error("atob-Error in jsPDF.convertBase64ToBinaryString " + oe.message) : new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ");
|
|
59248
59339
|
}
|
|
59249
59340
|
}
|
|
59250
59341
|
return ae;
|
|
@@ -59922,12 +60013,12 @@ function releaseArrayBuffer(a) {
|
|
|
59922
60013
|
}, this);
|
|
59923
60014
|
var ae = d.call(this, p[C], D);
|
|
59924
60015
|
for (I = 0; I < y.length; I += 1) {
|
|
59925
|
-
var
|
|
60016
|
+
var Ce = p[C][y[I]];
|
|
59926
60017
|
"cellStart" in g && g.cellStart instanceof Function && g.cellStart({
|
|
59927
60018
|
row: C,
|
|
59928
60019
|
col: I,
|
|
59929
|
-
data:
|
|
59930
|
-
}, this), c.call(this, new l(u, f, D[y[I]], ae,
|
|
60020
|
+
data: Ce
|
|
60021
|
+
}, this), c.call(this, new l(u, f, D[y[I]], ae, Ce, C + 2, J[y[I]]));
|
|
59931
60022
|
}
|
|
59932
60023
|
}
|
|
59933
60024
|
return this.internal.__cell__.table_x = u, this.internal.__cell__.table_y = f, this;
|
|
@@ -60129,8 +60220,8 @@ function parseFontFamily(a) {
|
|
|
60129
60220
|
Q = Q || {}, this.isStrokeTransparent = Q.isStrokeTransparent || !1;
|
|
60130
60221
|
var ne = Q.strokeOpacity || 1;
|
|
60131
60222
|
ne < 1 ? this.strokeOpacity = 0 : this.strokeOpacity = 1, this.strokeStyle = Q.strokeStyle || "#000000", this.fillStyle = Q.fillStyle || "#000000", this.isFillTransparent = Q.isFillTransparent || !1;
|
|
60132
|
-
var
|
|
60133
|
-
|
|
60223
|
+
var xe = Q.fillOpacity || 1;
|
|
60224
|
+
xe < 1 ? this.fillOpacity = 0 : this.fillOpacity = 1, this.font = Q.font || "10px sans-serif", this.textBaseline = Q.textBaseline || "alphabetic", this.textAlign = Q.textAlign || "left", this.lineWidth = Q.lineWidth || 1, this.lineJoin = Q.lineJoin || "miter", this.lineCap = Q.lineCap || "butt", this.path = Q.path || [], this.transform = typeof Q.transform < "u" ? Q.transform.clone() : new u(), this.globalCompositeOperation = Q.globalCompositeOperation || "normal";
|
|
60134
60225
|
var Ie = Q.globalAlpha || 1;
|
|
60135
60226
|
return Ie < 1 ? this.globalAlpha = 0 : this.globalAlpha = 1, this.clip_path = Q.clip_path || [], this.currentPoint = Q.currentPoint || new c(), this.miterLimit = Q.miterLimit || 10, this.lastPoint = Q.lastPoint || new c(), this.lineDashOffset = Q.lineDashOffset || 0, this.lineDash = Q.lineDash || [], this.margin = Q.margin || [0, 0, 0, 0], this.prevPageLastElemOffset = Q.prevPageLastElemOffset || 0, this.ignoreClearRect = typeof Q.ignoreClearRect == "boolean" ? Q.ignoreClearRect : !0, this;
|
|
60136
60227
|
}, r, o, n, s, l, c, d, u, f;
|
|
@@ -60154,13 +60245,13 @@ function parseFontFamily(a) {
|
|
|
60154
60245
|
return ne;
|
|
60155
60246
|
}
|
|
60156
60247
|
});
|
|
60157
|
-
var
|
|
60248
|
+
var xe = !1;
|
|
60158
60249
|
Object.defineProperty(this, "pageWrapXEnabled", {
|
|
60159
60250
|
get: function() {
|
|
60160
|
-
return
|
|
60251
|
+
return xe;
|
|
60161
60252
|
},
|
|
60162
60253
|
set: function($) {
|
|
60163
|
-
|
|
60254
|
+
xe = !!$;
|
|
60164
60255
|
}
|
|
60165
60256
|
});
|
|
60166
60257
|
var Ie = !1;
|
|
@@ -60403,8 +60494,8 @@ function parseFontFamily(a) {
|
|
|
60403
60494
|
this.pdf.setFont(Tt.ref.name, Tt.ref.style);
|
|
60404
60495
|
return;
|
|
60405
60496
|
}
|
|
60406
|
-
var
|
|
60407
|
-
(Me === "bold" || parseInt(Me, 10) >= 700 || Qe === "bold") && (
|
|
60497
|
+
var xt = "";
|
|
60498
|
+
(Me === "bold" || parseInt(Me, 10) >= 700 || Qe === "bold") && (xt = "bold"), Qe === "italic" && (xt += "italic"), xt.length === 0 && (xt = "normal");
|
|
60408
60499
|
for (var It = "", St = {
|
|
60409
60500
|
arial: "Helvetica",
|
|
60410
60501
|
Arial: "Helvetica",
|
|
@@ -60420,22 +60511,22 @@ function parseFontFamily(a) {
|
|
|
60420
60511
|
fantasy: "Times",
|
|
60421
60512
|
serif: "Times"
|
|
60422
60513
|
}, Qt = 0; Qt < gt.length; Qt++)
|
|
60423
|
-
if (this.pdf.internal.getFont(gt[Qt],
|
|
60514
|
+
if (this.pdf.internal.getFont(gt[Qt], xt, {
|
|
60424
60515
|
noFallback: !0,
|
|
60425
60516
|
disableWarning: !0
|
|
60426
60517
|
}) !== void 0) {
|
|
60427
60518
|
It = gt[Qt];
|
|
60428
60519
|
break;
|
|
60429
|
-
} else if (
|
|
60520
|
+
} else if (xt === "bolditalic" && this.pdf.internal.getFont(gt[Qt], "bold", {
|
|
60430
60521
|
noFallback: !0,
|
|
60431
60522
|
disableWarning: !0
|
|
60432
60523
|
}) !== void 0)
|
|
60433
|
-
It = gt[Qt],
|
|
60524
|
+
It = gt[Qt], xt = "bold";
|
|
60434
60525
|
else if (this.pdf.internal.getFont(gt[Qt], "normal", {
|
|
60435
60526
|
noFallback: !0,
|
|
60436
60527
|
disableWarning: !0
|
|
60437
60528
|
}) !== void 0) {
|
|
60438
|
-
It = gt[Qt],
|
|
60529
|
+
It = gt[Qt], xt = "normal";
|
|
60439
60530
|
break;
|
|
60440
60531
|
}
|
|
60441
60532
|
if (It === "") {
|
|
@@ -60445,7 +60536,7 @@ function parseFontFamily(a) {
|
|
|
60445
60536
|
break;
|
|
60446
60537
|
}
|
|
60447
60538
|
}
|
|
60448
|
-
It = It === "" ? "Times" : It, this.pdf.setFont(It,
|
|
60539
|
+
It = It === "" ? "Times" : It, this.pdf.setFont(It, xt);
|
|
60449
60540
|
}
|
|
60450
60541
|
}), Object.defineProperty(this, "globalCompositeOperation", {
|
|
60451
60542
|
get: function() {
|
|
@@ -60532,10 +60623,10 @@ function parseFontFamily(a) {
|
|
|
60532
60623
|
}), this.ctx.lastPoint = new c(ne.x, ne.y);
|
|
60533
60624
|
}, p.prototype.clip = function() {
|
|
60534
60625
|
this.ctx.clip_path = JSON.parse(JSON.stringify(this.path)), E.call(this, null, !0);
|
|
60535
|
-
}, p.prototype.quadraticCurveTo = function(ue, Q, ne,
|
|
60536
|
-
if (isNaN(ne) || isNaN(
|
|
60626
|
+
}, p.prototype.quadraticCurveTo = function(ue, Q, ne, xe) {
|
|
60627
|
+
if (isNaN(ne) || isNaN(xe) || isNaN(ue) || isNaN(Q))
|
|
60537
60628
|
throw console$1.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");
|
|
60538
|
-
var Ie = this.ctx.transform.applyToPoint(new c(ne,
|
|
60629
|
+
var Ie = this.ctx.transform.applyToPoint(new c(ne, xe)), ve = this.ctx.transform.applyToPoint(new c(ue, Q));
|
|
60539
60630
|
this.path.push({
|
|
60540
60631
|
type: "qct",
|
|
60541
60632
|
x1: ve.x,
|
|
@@ -60543,10 +60634,10 @@ function parseFontFamily(a) {
|
|
|
60543
60634
|
x: Ie.x,
|
|
60544
60635
|
y: Ie.y
|
|
60545
60636
|
}), this.ctx.lastPoint = new c(Ie.x, Ie.y);
|
|
60546
|
-
}, p.prototype.bezierCurveTo = function(ue, Q, ne,
|
|
60547
|
-
if (isNaN(Ie) || isNaN(ve) || isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60637
|
+
}, p.prototype.bezierCurveTo = function(ue, Q, ne, xe, Ie, ve) {
|
|
60638
|
+
if (isNaN(Ie) || isNaN(ve) || isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60548
60639
|
throw console$1.error("jsPDF.context2d.bezierCurveTo: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");
|
|
60549
|
-
var _e = this.ctx.transform.applyToPoint(new c(Ie, ve)), pe = this.ctx.transform.applyToPoint(new c(ue, Q)), Pe = this.ctx.transform.applyToPoint(new c(ne,
|
|
60640
|
+
var _e = this.ctx.transform.applyToPoint(new c(Ie, ve)), pe = this.ctx.transform.applyToPoint(new c(ue, Q)), Pe = this.ctx.transform.applyToPoint(new c(ne, xe));
|
|
60550
60641
|
this.path.push({
|
|
60551
60642
|
type: "bct",
|
|
60552
60643
|
x1: pe.x,
|
|
@@ -60556,8 +60647,8 @@ function parseFontFamily(a) {
|
|
|
60556
60647
|
x: _e.x,
|
|
60557
60648
|
y: _e.y
|
|
60558
60649
|
}), this.ctx.lastPoint = new c(_e.x, _e.y);
|
|
60559
|
-
}, p.prototype.arc = function(ue, Q, ne,
|
|
60560
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60650
|
+
}, p.prototype.arc = function(ue, Q, ne, xe, Ie, ve) {
|
|
60651
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe) || isNaN(Ie))
|
|
60561
60652
|
throw console$1.error("jsPDF.context2d.arc: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.arc");
|
|
60562
60653
|
if (ve = !!ve, !this.ctx.transform.isIdentity) {
|
|
60563
60654
|
var _e = this.ctx.transform.applyToPoint(new c(ue, Q));
|
|
@@ -60565,44 +60656,44 @@ function parseFontFamily(a) {
|
|
|
60565
60656
|
var pe = this.ctx.transform.applyToPoint(new c(0, ne)), Pe = this.ctx.transform.applyToPoint(new c(0, 0));
|
|
60566
60657
|
ne = Math.sqrt(Math.pow(pe.x - Pe.x, 2) + Math.pow(pe.y - Pe.y, 2));
|
|
60567
60658
|
}
|
|
60568
|
-
Math.abs(Ie -
|
|
60659
|
+
Math.abs(Ie - xe) >= 2 * Math.PI && (xe = 0, Ie = 2 * Math.PI), this.path.push({
|
|
60569
60660
|
type: "arc",
|
|
60570
60661
|
x: ue,
|
|
60571
60662
|
y: Q,
|
|
60572
60663
|
radius: ne,
|
|
60573
|
-
startAngle:
|
|
60664
|
+
startAngle: xe,
|
|
60574
60665
|
endAngle: Ie,
|
|
60575
60666
|
counterclockwise: ve
|
|
60576
60667
|
});
|
|
60577
|
-
}, p.prototype.arcTo = function(ue, Q, ne,
|
|
60668
|
+
}, p.prototype.arcTo = function(ue, Q, ne, xe, Ie) {
|
|
60578
60669
|
throw new Error("arcTo not implemented.");
|
|
60579
|
-
}, p.prototype.rect = function(ue, Q, ne,
|
|
60580
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60670
|
+
}, p.prototype.rect = function(ue, Q, ne, xe) {
|
|
60671
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60581
60672
|
throw console$1.error("jsPDF.context2d.rect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.rect");
|
|
60582
|
-
this.moveTo(ue, Q), this.lineTo(ue + ne, Q), this.lineTo(ue + ne, Q +
|
|
60583
|
-
}, p.prototype.fillRect = function(ue, Q, ne,
|
|
60584
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60673
|
+
this.moveTo(ue, Q), this.lineTo(ue + ne, Q), this.lineTo(ue + ne, Q + xe), this.lineTo(ue, Q + xe), this.lineTo(ue, Q);
|
|
60674
|
+
}, p.prototype.fillRect = function(ue, Q, ne, xe) {
|
|
60675
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60585
60676
|
throw console$1.error("jsPDF.context2d.fillRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillRect");
|
|
60586
60677
|
if (!g.call(this)) {
|
|
60587
60678
|
var Ie = {};
|
|
60588
|
-
this.lineCap !== "butt" && (Ie.lineCap = this.lineCap, this.lineCap = "butt"), this.lineJoin !== "miter" && (Ie.lineJoin = this.lineJoin, this.lineJoin = "miter"), this.beginPath(), this.rect(ue, Q, ne,
|
|
60679
|
+
this.lineCap !== "butt" && (Ie.lineCap = this.lineCap, this.lineCap = "butt"), this.lineJoin !== "miter" && (Ie.lineJoin = this.lineJoin, this.lineJoin = "miter"), this.beginPath(), this.rect(ue, Q, ne, xe), this.fill(), Ie.hasOwnProperty("lineCap") && (this.lineCap = Ie.lineCap), Ie.hasOwnProperty("lineJoin") && (this.lineJoin = Ie.lineJoin);
|
|
60589
60680
|
}
|
|
60590
|
-
}, p.prototype.strokeRect = function(Q, ne,
|
|
60591
|
-
if (isNaN(Q) || isNaN(ne) || isNaN(
|
|
60681
|
+
}, p.prototype.strokeRect = function(Q, ne, xe, Ie) {
|
|
60682
|
+
if (isNaN(Q) || isNaN(ne) || isNaN(xe) || isNaN(Ie))
|
|
60592
60683
|
throw console$1.error("jsPDF.context2d.strokeRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");
|
|
60593
|
-
y.call(this) || (this.beginPath(), this.rect(Q, ne,
|
|
60594
|
-
}, p.prototype.clearRect = function(ue, Q, ne,
|
|
60595
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60684
|
+
y.call(this) || (this.beginPath(), this.rect(Q, ne, xe, Ie), this.stroke());
|
|
60685
|
+
}, p.prototype.clearRect = function(ue, Q, ne, xe) {
|
|
60686
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60596
60687
|
throw console$1.error("jsPDF.context2d.clearRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.clearRect");
|
|
60597
|
-
this.ignoreClearRect || (this.fillStyle = "#ffffff", this.fillRect(ue, Q, ne,
|
|
60688
|
+
this.ignoreClearRect || (this.fillStyle = "#ffffff", this.fillRect(ue, Q, ne, xe));
|
|
60598
60689
|
}, p.prototype.save = function(ue) {
|
|
60599
60690
|
ue = typeof ue == "boolean" ? ue : !0;
|
|
60600
60691
|
for (var Q = this.pdf.internal.getCurrentPageInfo().pageNumber, ne = 0; ne < this.pdf.internal.getNumberOfPages(); ne++)
|
|
60601
60692
|
this.pdf.setPage(ne + 1), this.pdf.internal.out("q");
|
|
60602
60693
|
if (this.pdf.setPage(Q), ue) {
|
|
60603
60694
|
this.ctx.fontSize = this.pdf.internal.getFontSize();
|
|
60604
|
-
var
|
|
60605
|
-
this.ctxStack.push(this.ctx), this.ctx =
|
|
60695
|
+
var xe = new t(this.ctx);
|
|
60696
|
+
this.ctxStack.push(this.ctx), this.ctx = xe;
|
|
60606
60697
|
}
|
|
60607
60698
|
}, p.prototype.restore = function(ue) {
|
|
60608
60699
|
ue = typeof ue == "boolean" ? ue : !0;
|
|
@@ -60613,7 +60704,7 @@ function parseFontFamily(a) {
|
|
|
60613
60704
|
throw new Error("toDataUrl not implemented.");
|
|
60614
60705
|
};
|
|
60615
60706
|
var m = function(Q) {
|
|
60616
|
-
var ne = /rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,
|
|
60707
|
+
var ne = /rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/, xe = /rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/, Ie = /transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/, ve, _e, pe, Pe;
|
|
60617
60708
|
if (Q.isCanvasGradient === !0 && (Q = Q.getColor()), !Q)
|
|
60618
60709
|
return {
|
|
60619
60710
|
r: 0,
|
|
@@ -60628,7 +60719,7 @@ function parseFontFamily(a) {
|
|
|
60628
60719
|
var De = ne.exec(Q);
|
|
60629
60720
|
if (De !== null)
|
|
60630
60721
|
ve = parseInt(De[1]), _e = parseInt(De[2]), pe = parseInt(De[3]), Pe = 1;
|
|
60631
|
-
else if (De =
|
|
60722
|
+
else if (De = xe.exec(Q), De !== null)
|
|
60632
60723
|
ve = parseInt(De[1]), _e = parseInt(De[2]), pe = parseInt(De[3]), Pe = parseFloat(De[4]);
|
|
60633
60724
|
else {
|
|
60634
60725
|
if (Pe = 1, typeof Q == "string" && Q.charAt(0) !== "#") {
|
|
@@ -60650,10 +60741,10 @@ function parseFontFamily(a) {
|
|
|
60650
60741
|
}, y = function() {
|
|
60651
60742
|
return !!(this.ctx.isStrokeTransparent || this.globalAlpha == 0);
|
|
60652
60743
|
};
|
|
60653
|
-
p.prototype.fillText = function(ue, Q, ne,
|
|
60744
|
+
p.prototype.fillText = function(ue, Q, ne, xe) {
|
|
60654
60745
|
if (isNaN(Q) || isNaN(ne) || typeof ue != "string")
|
|
60655
60746
|
throw console$1.error("jsPDF.context2d.fillText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillText");
|
|
60656
|
-
if (
|
|
60747
|
+
if (xe = isNaN(xe) ? void 0 : xe, !g.call(this)) {
|
|
60657
60748
|
var Ie = J(this.ctx.transform.rotation), ve = this.ctx.transform.scaleX, _e = this.letterSpacing ? parseFloat(this.letterSpacing) : 0;
|
|
60658
60749
|
this.font.indexOf("SimSun") >= 0 && this.font.indexOf("bold") >= 0 ? Y.call(this, {
|
|
60659
60750
|
text: ue,
|
|
@@ -60662,7 +60753,7 @@ function parseFontFamily(a) {
|
|
|
60662
60753
|
scale: ve,
|
|
60663
60754
|
angle: Ie,
|
|
60664
60755
|
align: this.textAlign,
|
|
60665
|
-
maxWidth:
|
|
60756
|
+
maxWidth: xe,
|
|
60666
60757
|
// renderingMode: "fillThenStroke",
|
|
60667
60758
|
charSpace: _e,
|
|
60668
60759
|
bold: !0
|
|
@@ -60673,15 +60764,15 @@ function parseFontFamily(a) {
|
|
|
60673
60764
|
scale: ve,
|
|
60674
60765
|
angle: Ie,
|
|
60675
60766
|
align: this.textAlign,
|
|
60676
|
-
maxWidth:
|
|
60767
|
+
maxWidth: xe,
|
|
60677
60768
|
charSpace: _e
|
|
60678
60769
|
});
|
|
60679
60770
|
}
|
|
60680
|
-
}, p.prototype.strokeText = function(ue, Q, ne,
|
|
60771
|
+
}, p.prototype.strokeText = function(ue, Q, ne, xe) {
|
|
60681
60772
|
if (isNaN(Q) || isNaN(ne) || typeof ue != "string")
|
|
60682
60773
|
throw console$1.error("jsPDF.context2d.strokeText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeText");
|
|
60683
60774
|
if (!y.call(this)) {
|
|
60684
|
-
|
|
60775
|
+
xe = isNaN(xe) ? void 0 : xe;
|
|
60685
60776
|
var Ie = J(this.ctx.transform.rotation), ve = this.ctx.transform.scaleX, _e = this.letterSpacing ? this.letterSpacing : 0;
|
|
60686
60777
|
Y.call(this, {
|
|
60687
60778
|
text: ue,
|
|
@@ -60691,7 +60782,7 @@ function parseFontFamily(a) {
|
|
|
60691
60782
|
renderingMode: "stroke",
|
|
60692
60783
|
angle: Ie,
|
|
60693
60784
|
align: this.textAlign,
|
|
60694
|
-
maxWidth:
|
|
60785
|
+
maxWidth: xe,
|
|
60695
60786
|
charSpace: _e,
|
|
60696
60787
|
// 自定义修改
|
|
60697
60788
|
bold: !0
|
|
@@ -60701,7 +60792,7 @@ function parseFontFamily(a) {
|
|
|
60701
60792
|
}, p.prototype.measureText = function(ue) {
|
|
60702
60793
|
if (typeof ue != "string")
|
|
60703
60794
|
throw console$1.error("jsPDF.context2d.measureText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.measureText");
|
|
60704
|
-
var Q = this.pdf, ne = this.pdf.internal.scaleFactor,
|
|
60795
|
+
var Q = this.pdf, ne = this.pdf.internal.scaleFactor, xe = Q.internal.getFontSize(), Ie = Q.getStringUnitWidth(ue) * xe / Q.internal.scaleFactor;
|
|
60705
60796
|
Ie *= Math.round(ne * 96 / 72 * 1e4) / 1e4;
|
|
60706
60797
|
var ve = function(pe) {
|
|
60707
60798
|
pe = pe || {};
|
|
@@ -60730,27 +60821,27 @@ function parseFontFamily(a) {
|
|
|
60730
60821
|
throw console$1.error("jsPDF.context2d.translate: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.translate");
|
|
60731
60822
|
var ne = new u(1, 0, 0, 1, ue, Q);
|
|
60732
60823
|
this.ctx.transform = this.ctx.transform.multiply(ne);
|
|
60733
|
-
}, p.prototype.transform = function(ue, Q, ne,
|
|
60734
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60824
|
+
}, p.prototype.transform = function(ue, Q, ne, xe, Ie, ve) {
|
|
60825
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe) || isNaN(Ie) || isNaN(ve))
|
|
60735
60826
|
throw console$1.error("jsPDF.context2d.transform: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.transform");
|
|
60736
|
-
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne,
|
|
60737
|
-
var _e = new u(ue, Q, ne,
|
|
60827
|
+
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne, xe = isNaN(xe) ? 1 : xe, Ie = isNaN(Ie) ? 0 : Ie, ve = isNaN(ve) ? 0 : ve;
|
|
60828
|
+
var _e = new u(ue, Q, ne, xe, Ie, ve);
|
|
60738
60829
|
this.ctx.transform = this.ctx.transform.multiply(_e);
|
|
60739
|
-
}, p.prototype.setTransform = function(ue, Q, ne,
|
|
60740
|
-
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne,
|
|
60830
|
+
}, p.prototype.setTransform = function(ue, Q, ne, xe, Ie, ve) {
|
|
60831
|
+
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne, xe = isNaN(xe) ? 1 : xe, Ie = isNaN(Ie) ? 0 : Ie, ve = isNaN(ve) ? 0 : ve, this.ctx.transform = new u(ue, Q, ne, xe, Ie, ve);
|
|
60741
60832
|
};
|
|
60742
60833
|
var w = function() {
|
|
60743
60834
|
return this.margin[0] > 0 || this.margin[1] > 0 || this.margin[2] > 0 || this.margin[3] > 0;
|
|
60744
60835
|
};
|
|
60745
|
-
p.prototype.drawImage = function(ue, Q, ne,
|
|
60836
|
+
p.prototype.drawImage = function(ue, Q, ne, xe, Ie, ve, _e, pe, Pe) {
|
|
60746
60837
|
var De = this.pdf.getImageProperties(ue);
|
|
60747
60838
|
ue.exifdata && (De.exifdata = ue.exifdata);
|
|
60748
60839
|
var Ve = 1, Te = 1, He = 1, we = 1;
|
|
60749
|
-
typeof
|
|
60840
|
+
typeof xe < "u" && typeof pe < "u" && (He = pe / xe, we = Pe / Ie, Ve = De.width / xe * pe / xe, Te = De.height / Ie * Pe / Ie), typeof ve > "u" && (ve = Q, _e = ne, Q = 0, ne = 0), typeof xe < "u" && typeof pe > "u" && (pe = xe, Pe = Ie), typeof xe > "u" && typeof pe > "u" && (pe = De.width, Pe = De.height);
|
|
60750
60841
|
var le = this.ctx.transform.decompose(), he = J(le.rotate.rotation), $ = new u();
|
|
60751
|
-
$ = $.multiply(le.translate), $ = $.multiply(le.skew), $ = $.multiply(le.scale),
|
|
60842
|
+
$ = $.multiply(le.translate), $ = $.multiply(le.skew), $ = $.multiply(le.scale), xe || (xe = pe), Ie || (Ie = Pe);
|
|
60752
60843
|
var Ne;
|
|
60753
|
-
ue.nodeName && ue.nodeName == "CANVAS" ? Ne = $.applyToRectangle(new d(ve + this.posX - Q * He, _e + this.posY - ne * we,
|
|
60844
|
+
ue.nodeName && ue.nodeName == "CANVAS" ? Ne = $.applyToRectangle(new d(ve + this.posX - Q * He, _e + this.posY - ne * we, xe * Ve, Ie * Te)) : Ne = $.applyToRectangle(new d(ve - Q * He, _e - ne * we, xe * Ve, Ie * Te));
|
|
60754
60845
|
for (var Be = v.call(this, Ne), Qe = [], Me = 0; Me < Be.length; Me += 1)
|
|
60755
60846
|
Qe.indexOf(Be[Me]) === -1 && Qe.push(Be[Me]);
|
|
60756
60847
|
D(Qe);
|
|
@@ -60758,70 +60849,70 @@ function parseFontFamily(a) {
|
|
|
60758
60849
|
if (this.autoPaging)
|
|
60759
60850
|
for (var ot = Qe[0], ht = Qe[Qe.length - 1], bt = ot; bt < ht + 1; bt++) {
|
|
60760
60851
|
this.pdf.setPage(bt);
|
|
60761
|
-
var gt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], _t = bt === 1 ? this.posY + this.margin[0] : this.margin[0], pt = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Tt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2],
|
|
60852
|
+
var gt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], _t = bt === 1 ? this.posY + this.margin[0] : this.margin[0], pt = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Tt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], xt = bt === 1 ? 0 : pt + (bt - 2) * Tt;
|
|
60762
60853
|
if (this.ctx.clip_path.length !== 0) {
|
|
60763
60854
|
var It = this.path;
|
|
60764
|
-
ze = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(ze, this.posX + this.margin[3], -
|
|
60855
|
+
ze = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(ze, this.posX + this.margin[3], -xt + _t + this.ctx.prevPageLastElemOffset), T.call(this, "fill", !0), this.path = It;
|
|
60765
60856
|
}
|
|
60766
60857
|
var St = JSON.parse(JSON.stringify(Ne));
|
|
60767
|
-
St = _([St], this.posX + this.margin[3], -
|
|
60858
|
+
St = _([St], this.posX + this.margin[3], -xt + _t + this.ctx.prevPageLastElemOffset)[0];
|
|
60768
60859
|
var Qt = (bt > ot || bt < ht) && w.call(this);
|
|
60769
60860
|
Qt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], gt, Tt, null).clip().discardPath()), this.pdf.addImage(ue, "JPEG", St.x, St.y, St.w, St.h, null, null, he), Qt && this.pdf.restoreGraphicsState();
|
|
60770
60861
|
}
|
|
60771
60862
|
else
|
|
60772
60863
|
ue.nodeName && ue.nodeName == "CANVAS" ? this.pdf.addImage(ue.toDataURL("image/png"), "", Ne.x, Ne.y, Ne.w, Ne.h) : this.pdf.addImage(ue, "JPEG", Ne.x + this.posX, Ne.y + this.posY, Ne.w, Ne.h, null, null, he, this.posX, this.posY);
|
|
60773
60864
|
};
|
|
60774
|
-
var v = function(Q, ne,
|
|
60865
|
+
var v = function(Q, ne, xe) {
|
|
60775
60866
|
var Ie = [];
|
|
60776
|
-
ne = ne || this.pdf.internal.pageSize.width,
|
|
60867
|
+
ne = ne || this.pdf.internal.pageSize.width, xe = xe || this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2];
|
|
60777
60868
|
var ve = this.posY + this.ctx.prevPageLastElemOffset;
|
|
60778
60869
|
switch (Q.type) {
|
|
60779
60870
|
default:
|
|
60780
60871
|
case "mt":
|
|
60781
60872
|
case "lt":
|
|
60782
|
-
Ie.push(Math.floor((Q.y + ve) /
|
|
60873
|
+
Ie.push(Math.floor((Q.y + ve) / xe) + 1);
|
|
60783
60874
|
break;
|
|
60784
60875
|
case "arc":
|
|
60785
|
-
Ie.push(Math.floor((Q.y + ve - Q.radius) /
|
|
60876
|
+
Ie.push(Math.floor((Q.y + ve - Q.radius) / xe) + 1), Ie.push(Math.floor((Q.y + ve + Q.radius) / xe) + 1);
|
|
60786
60877
|
break;
|
|
60787
60878
|
case "qct":
|
|
60788
60879
|
var _e = ae(this.ctx.lastPoint.x, this.ctx.lastPoint.y, Q.x1, Q.y1, Q.x, Q.y);
|
|
60789
|
-
Ie.push(Math.floor((_e.y + ve) /
|
|
60880
|
+
Ie.push(Math.floor((_e.y + ve) / xe) + 1), Ie.push(Math.floor((_e.y + _e.h + ve) / xe) + 1);
|
|
60790
60881
|
break;
|
|
60791
60882
|
case "bct":
|
|
60792
|
-
var pe =
|
|
60793
|
-
Ie.push(Math.floor((pe.y + ve) /
|
|
60883
|
+
var pe = Ce(this.ctx.lastPoint.x, this.ctx.lastPoint.y, Q.x1, Q.y1, Q.x2, Q.y2, Q.x, Q.y);
|
|
60884
|
+
Ie.push(Math.floor((pe.y + ve) / xe) + 1), Ie.push(Math.floor((pe.y + pe.h + ve) / xe) + 1);
|
|
60794
60885
|
break;
|
|
60795
60886
|
case "rect":
|
|
60796
|
-
Ie.push(Math.floor((Q.y + ve) /
|
|
60887
|
+
Ie.push(Math.floor((Q.y + ve) / xe) + 1), Ie.push(Math.floor((Q.y + Q.h + ve) / xe) + 1);
|
|
60797
60888
|
}
|
|
60798
60889
|
for (var Pe = 0; Pe < Ie.length; Pe += 1)
|
|
60799
60890
|
for (; this.pdf.internal.getNumberOfPages() < Ie[Pe]; )
|
|
60800
60891
|
C.call(this);
|
|
60801
60892
|
return Ie;
|
|
60802
60893
|
}, C = function() {
|
|
60803
|
-
var Q = this.fillStyle, ne = this.strokeStyle,
|
|
60804
|
-
this.pdf.addPage(), this.fillStyle = Q, this.strokeStyle = ne, this.font =
|
|
60805
|
-
}, _ = function(Q, ne,
|
|
60894
|
+
var Q = this.fillStyle, ne = this.strokeStyle, xe = this.font, Ie = this.lineCap, ve = this.lineWidth, _e = this.lineJoin;
|
|
60895
|
+
this.pdf.addPage(), this.fillStyle = Q, this.strokeStyle = ne, this.font = xe, this.lineCap = Ie, this.lineWidth = ve, this.lineJoin = _e;
|
|
60896
|
+
}, _ = function(Q, ne, xe) {
|
|
60806
60897
|
for (var Ie = 0; Ie < Q.length; Ie++)
|
|
60807
60898
|
switch (Q[Ie].type) {
|
|
60808
60899
|
case "bct":
|
|
60809
|
-
Q[Ie].x2 += ne, Q[Ie].y2 +=
|
|
60900
|
+
Q[Ie].x2 += ne, Q[Ie].y2 += xe;
|
|
60810
60901
|
case "qct":
|
|
60811
|
-
Q[Ie].x1 += ne, Q[Ie].y1 +=
|
|
60902
|
+
Q[Ie].x1 += ne, Q[Ie].y1 += xe;
|
|
60812
60903
|
case "mt":
|
|
60813
60904
|
case "lt":
|
|
60814
60905
|
case "arc":
|
|
60815
60906
|
default:
|
|
60816
|
-
Q[Ie].x += ne, Q[Ie].y +=
|
|
60907
|
+
Q[Ie].x += ne, Q[Ie].y += xe;
|
|
60817
60908
|
}
|
|
60818
60909
|
return Q;
|
|
60819
60910
|
}, D = function(Q) {
|
|
60820
|
-
return Q.sort(function(ne,
|
|
60821
|
-
return ne -
|
|
60911
|
+
return Q.sort(function(ne, xe) {
|
|
60912
|
+
return ne - xe;
|
|
60822
60913
|
});
|
|
60823
60914
|
}, E = function(Q, ne) {
|
|
60824
|
-
for (var
|
|
60915
|
+
for (var xe = this.fillStyle, Ie = this.strokeStyle, ve = this.lineCap, _e = this.lineWidth, pe = Math.abs(_e * this.ctx.transform.scaleX), Pe = this.lineJoin, De = JSON.parse(JSON.stringify(this.path)), Ve = JSON.parse(JSON.stringify(this.path)), Te, He, we = [], le = 0; le < Ve.length; le++)
|
|
60825
60916
|
if (typeof Ve[le].x < "u")
|
|
60826
60917
|
for (var he = v.call(this, Ve[le]), $ = 0; $ < he.length; $ += 1)
|
|
60827
60918
|
we.indexOf(he[$]) === -1 && we.push(he[$]);
|
|
@@ -60830,7 +60921,7 @@ function parseFontFamily(a) {
|
|
|
60830
60921
|
C.call(this);
|
|
60831
60922
|
if (D(we), this.autoPaging)
|
|
60832
60923
|
for (var Be = we[0], Qe = we[we.length - 1], Me = Be; Me < Qe + 1; Me++) {
|
|
60833
|
-
this.pdf.setPage(Me), this.fillStyle =
|
|
60924
|
+
this.pdf.setPage(Me), this.fillStyle = xe, this.strokeStyle = Ie, this.lineCap = ve, this.lineWidth = pe, this.lineJoin = Pe;
|
|
60834
60925
|
var ze = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], ot = Me === 1 ? this.posY + this.margin[0] : this.margin[0], ht = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], bt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], gt = Me === 1 ? 0 : ht + (Me - 2) * bt;
|
|
60835
60926
|
if (this.ctx.clip_path.length !== 0) {
|
|
60836
60927
|
var _t = this.path;
|
|
@@ -60847,80 +60938,80 @@ function parseFontFamily(a) {
|
|
|
60847
60938
|
this.path = De;
|
|
60848
60939
|
}, T = function(Q, ne) {
|
|
60849
60940
|
if (!(Q === "stroke" && !ne && y.call(this)) && !(Q !== "stroke" && !ne && g.call(this))) {
|
|
60850
|
-
for (var
|
|
60941
|
+
for (var xe = [], Ie, ve = this.path, _e = 0; _e < ve.length; _e++) {
|
|
60851
60942
|
var pe = ve[_e];
|
|
60852
60943
|
switch (pe.type) {
|
|
60853
60944
|
case "begin":
|
|
60854
|
-
|
|
60945
|
+
xe.push({
|
|
60855
60946
|
begin: !0
|
|
60856
60947
|
});
|
|
60857
60948
|
break;
|
|
60858
60949
|
case "close":
|
|
60859
|
-
|
|
60950
|
+
xe.push({
|
|
60860
60951
|
close: !0
|
|
60861
60952
|
});
|
|
60862
60953
|
break;
|
|
60863
60954
|
case "mt":
|
|
60864
|
-
|
|
60955
|
+
xe.push({
|
|
60865
60956
|
start: pe,
|
|
60866
60957
|
deltas: [],
|
|
60867
60958
|
abs: []
|
|
60868
60959
|
});
|
|
60869
60960
|
break;
|
|
60870
60961
|
case "lt":
|
|
60871
|
-
var Pe =
|
|
60962
|
+
var Pe = xe.length;
|
|
60872
60963
|
if (ve[_e - 1] && !isNaN(ve[_e - 1].x) && (Ie = [pe.x - ve[_e - 1].x, pe.y - ve[_e - 1].y], Pe > 0)) {
|
|
60873
60964
|
for (Pe; Pe >= 0; Pe--)
|
|
60874
|
-
if (
|
|
60875
|
-
|
|
60965
|
+
if (xe[Pe - 1].close !== !0 && xe[Pe - 1].begin !== !0) {
|
|
60966
|
+
xe[Pe - 1].deltas.push(Ie), xe[Pe - 1].abs.push(pe);
|
|
60876
60967
|
break;
|
|
60877
60968
|
}
|
|
60878
60969
|
}
|
|
60879
60970
|
break;
|
|
60880
60971
|
case "bct":
|
|
60881
|
-
Ie = [pe.x1 - ve[_e - 1].x, pe.y1 - ve[_e - 1].y, pe.x2 - ve[_e - 1].x, pe.y2 - ve[_e - 1].y, pe.x - ve[_e - 1].x, pe.y - ve[_e - 1].y],
|
|
60972
|
+
Ie = [pe.x1 - ve[_e - 1].x, pe.y1 - ve[_e - 1].y, pe.x2 - ve[_e - 1].x, pe.y2 - ve[_e - 1].y, pe.x - ve[_e - 1].x, pe.y - ve[_e - 1].y], xe[xe.length - 1].deltas.push(Ie);
|
|
60882
60973
|
break;
|
|
60883
60974
|
case "qct":
|
|
60884
60975
|
var De = ve[_e - 1].x + 2 / 3 * (pe.x1 - ve[_e - 1].x), Ve = ve[_e - 1].y + 2 / 3 * (pe.y1 - ve[_e - 1].y), Te = pe.x + 2 / 3 * (pe.x1 - pe.x), He = pe.y + 2 / 3 * (pe.y1 - pe.y), we = pe.x, le = pe.y;
|
|
60885
|
-
Ie = [De - ve[_e - 1].x, Ve - ve[_e - 1].y, Te - ve[_e - 1].x, He - ve[_e - 1].y, we - ve[_e - 1].x, le - ve[_e - 1].y],
|
|
60976
|
+
Ie = [De - ve[_e - 1].x, Ve - ve[_e - 1].y, Te - ve[_e - 1].x, He - ve[_e - 1].y, we - ve[_e - 1].x, le - ve[_e - 1].y], xe[xe.length - 1].deltas.push(Ie);
|
|
60886
60977
|
break;
|
|
60887
60978
|
case "arc":
|
|
60888
|
-
|
|
60979
|
+
xe.push({
|
|
60889
60980
|
deltas: [],
|
|
60890
60981
|
abs: [],
|
|
60891
60982
|
arc: !0
|
|
60892
|
-
}), Array.isArray(
|
|
60983
|
+
}), Array.isArray(xe[xe.length - 1].abs) && xe[xe.length - 1].abs.push(pe);
|
|
60893
60984
|
break;
|
|
60894
60985
|
}
|
|
60895
60986
|
}
|
|
60896
60987
|
var he;
|
|
60897
60988
|
ne ? he = null : Q === "stroke" ? he = "stroke" : he = "fill";
|
|
60898
|
-
for (var $ = !1, Ne = 0; Ne <
|
|
60899
|
-
if (
|
|
60900
|
-
for (var Be =
|
|
60989
|
+
for (var $ = !1, Ne = 0; Ne < xe.length; Ne++)
|
|
60990
|
+
if (xe[Ne].arc) {
|
|
60991
|
+
for (var Be = xe[Ne].abs, Qe = 0; Qe < Be.length; Qe++) {
|
|
60901
60992
|
var Me = Be[Qe];
|
|
60902
60993
|
Me.type === "arc" ? k.call(this, Me.x, Me.y, Me.radius, Me.startAngle, Me.endAngle, Me.counterclockwise, void 0, ne, !$) : j.call(this, Me.x, Me.y);
|
|
60903
60994
|
}
|
|
60904
60995
|
$ = !0;
|
|
60905
|
-
} else if (
|
|
60996
|
+
} else if (xe[Ne].close === !0)
|
|
60906
60997
|
this.pdf.internal.out("h"), $ = !1;
|
|
60907
|
-
else if (
|
|
60908
|
-
var ze =
|
|
60909
|
-
U.call(this,
|
|
60998
|
+
else if (xe[Ne].begin !== !0) {
|
|
60999
|
+
var ze = xe[Ne].start.x, ot = xe[Ne].start.y;
|
|
61000
|
+
U.call(this, xe[Ne].deltas, ze, ot), $ = !0;
|
|
60910
61001
|
}
|
|
60911
61002
|
he && L.call(this, he), ne && H.call(this);
|
|
60912
61003
|
}
|
|
60913
61004
|
}, I = function(Q) {
|
|
60914
|
-
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor,
|
|
61005
|
+
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, xe = ne * (this.pdf.internal.getLineHeightFactor() - 1);
|
|
60915
61006
|
switch (this.ctx.textBaseline) {
|
|
60916
61007
|
case "bottom":
|
|
60917
|
-
return Q -
|
|
61008
|
+
return Q - xe;
|
|
60918
61009
|
case "top":
|
|
60919
|
-
return Q + ne -
|
|
61010
|
+
return Q + ne - xe;
|
|
60920
61011
|
case "hanging":
|
|
60921
|
-
return Q + ne - 2 *
|
|
61012
|
+
return Q + ne - 2 * xe;
|
|
60922
61013
|
case "middle":
|
|
60923
|
-
return Q + ne / 2 -
|
|
61014
|
+
return Q + ne / 2 - xe;
|
|
60924
61015
|
case "ideographic":
|
|
60925
61016
|
return Q;
|
|
60926
61017
|
case "alphabetic":
|
|
@@ -60928,14 +61019,14 @@ function parseFontFamily(a) {
|
|
|
60928
61019
|
return Q;
|
|
60929
61020
|
}
|
|
60930
61021
|
}, M = function(Q) {
|
|
60931
|
-
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor,
|
|
60932
|
-
return Q +
|
|
61022
|
+
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, xe = ne * (this.pdf.internal.getLineHeightFactor() - 1);
|
|
61023
|
+
return Q + xe;
|
|
60933
61024
|
};
|
|
60934
61025
|
p.prototype.createLinearGradient = function() {
|
|
60935
61026
|
var Q = function() {
|
|
60936
61027
|
};
|
|
60937
|
-
return Q.colorStops = [], Q.addColorStop = function(ne,
|
|
60938
|
-
this.colorStops.push([ne,
|
|
61028
|
+
return Q.colorStops = [], Q.addColorStop = function(ne, xe) {
|
|
61029
|
+
this.colorStops.push([ne, xe]);
|
|
60939
61030
|
}, Q.getColor = function() {
|
|
60940
61031
|
return this.colorStops.length === 0 ? "#000000" : this.colorStops[0][1];
|
|
60941
61032
|
}, Q.isCanvasGradient = !0, Q;
|
|
@@ -60944,8 +61035,8 @@ function parseFontFamily(a) {
|
|
|
60944
61035
|
}, p.prototype.createRadialGradient = function() {
|
|
60945
61036
|
return this.createLinearGradient();
|
|
60946
61037
|
};
|
|
60947
|
-
var k = function(Q, ne,
|
|
60948
|
-
for (var Ve = W.call(this,
|
|
61038
|
+
var k = function(Q, ne, xe, Ie, ve, _e, pe, Pe, De) {
|
|
61039
|
+
for (var Ve = W.call(this, xe, Ie, ve, _e), Te = 0; Te < Ve.length; Te++) {
|
|
60949
61040
|
var He = Ve[Te];
|
|
60950
61041
|
Te === 0 && (De ? B.call(this, He.x1 + Q, He.y1 + ne) : j.call(this, He.x1 + Q, He.y1 + ne)), X.call(this, Q, ne, He.x2, He.y2, He.x3, He.y3, He.x4, He.y4);
|
|
60951
61042
|
}
|
|
@@ -60979,9 +61070,9 @@ function parseFontFamily(a) {
|
|
|
60979
61070
|
ne = "left";
|
|
60980
61071
|
break;
|
|
60981
61072
|
}
|
|
60982
|
-
var
|
|
61073
|
+
var xe = this.pdf.getTextDimensions(Q.text), Ie = I.call(this, Q.y), ve = M.call(this, Ie), _e = ve - xe.h, pe = this.ctx.transform.applyToPoint(new c(Q.x, Ie)), Pe = this.ctx.transform.decompose(), De = new u();
|
|
60983
61074
|
De = De.multiply(Pe.translate), De = De.multiply(Pe.skew), De = De.multiply(Pe.scale);
|
|
60984
|
-
for (var Ve = this.ctx.transform.applyToRectangle(new d(Q.x, Ie,
|
|
61075
|
+
for (var Ve = this.ctx.transform.applyToRectangle(new d(Q.x, Ie, xe.w, xe.h)), Te = De.applyToRectangle(new d(Q.x, _e, xe.w, xe.h)), He = v.call(this, Te), we = [], le = 0; le < He.length; le += 1)
|
|
60985
61076
|
we.indexOf(He[le]) === -1 && we.push(He[le]);
|
|
60986
61077
|
D(we);
|
|
60987
61078
|
var he, $, Ne;
|
|
@@ -60990,8 +61081,8 @@ function parseFontFamily(a) {
|
|
|
60990
61081
|
this.pdf.setPage(Me);
|
|
60991
61082
|
var ze = Me === 1 ? this.posY + this.margin[0] : this.margin[0], ot = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], ht = this.pdf.internal.pageSize.height - this.margin[2], bt = ht - this.margin[0], gt = this.pdf.internal.pageSize.width - this.margin[1], _t = gt - this.margin[3], pt = Me === 1 ? 0 : ot + (Me - 2) * bt, Tt = Q.charSpace ? parseFloat(Q.charSpace) : 0;
|
|
60992
61083
|
if (console$1.log(Tt, "--------------"), this.ctx.clip_path.length !== 0) {
|
|
60993
|
-
var
|
|
60994
|
-
he = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(he, this.posX + this.margin[3], -1 * pt + ze), T.call(this, "fill", !0), this.path =
|
|
61084
|
+
var xt = this.path;
|
|
61085
|
+
he = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(he, this.posX + this.margin[3], -1 * pt + ze), T.call(this, "fill", !0), this.path = xt;
|
|
60995
61086
|
}
|
|
60996
61087
|
var It = _([JSON.parse(JSON.stringify(Te))], this.posX + this.margin[3], -pt + ze + this.ctx.prevPageLastElemOffset)[0];
|
|
60997
61088
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Ne = this.lineWidth, this.lineWidth = Ne * Q.scale);
|
|
@@ -61013,7 +61104,7 @@ function parseFontFamily(a) {
|
|
|
61013
61104
|
}
|
|
61014
61105
|
else {
|
|
61015
61106
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Ne = this.lineWidth, this.lineWidth = Ne * Q.scale);
|
|
61016
|
-
let wr = Q.maxWidth -
|
|
61107
|
+
let wr = Q.maxWidth - xe.w, kt = 0;
|
|
61017
61108
|
wr > 2 && Q.bold && Q.maxWidth != 65535 && (kt = wr / Q.text.length);
|
|
61018
61109
|
var Tt = Q.charSpace ? parseFloat(Q.charSpace) : 0;
|
|
61019
61110
|
this.pdf.text(Q.text, pe.x + this.posX, pe.y + this.posY, {
|
|
@@ -61024,24 +61115,24 @@ function parseFontFamily(a) {
|
|
|
61024
61115
|
charSpace: Tt + kt
|
|
61025
61116
|
}), Q.scale >= 0.01 && (this.pdf.setFontSize($), this.lineWidth = Ne);
|
|
61026
61117
|
}
|
|
61027
|
-
}, j = function(Q, ne,
|
|
61028
|
-
|
|
61029
|
-
}, U = function(Q, ne,
|
|
61030
|
-
return this.pdf.lines(Q, ne,
|
|
61031
|
-
}, X = function(Q, ne,
|
|
61032
|
-
this.pdf.internal.out([r(s(
|
|
61033
|
-
}, W = function(Q, ne,
|
|
61034
|
-
for (var ve = 1e-5, _e = Math.PI * 2, pe = Math.PI / 2; ne >
|
|
61118
|
+
}, j = function(Q, ne, xe, Ie) {
|
|
61119
|
+
xe = xe || 0, Ie = Ie || 0, this.pdf.internal.out(o(Q + xe) + " " + n(ne + Ie) + " l");
|
|
61120
|
+
}, U = function(Q, ne, xe) {
|
|
61121
|
+
return this.pdf.lines(Q, ne, xe, null, null);
|
|
61122
|
+
}, X = function(Q, ne, xe, Ie, ve, _e, pe, Pe) {
|
|
61123
|
+
this.pdf.internal.out([r(s(xe + Q)), r(l(Ie + ne)), r(s(ve + Q)), r(l(_e + ne)), r(s(pe + Q)), r(l(Pe + ne)), "c"].join(" "));
|
|
61124
|
+
}, W = function(Q, ne, xe, Ie) {
|
|
61125
|
+
for (var ve = 1e-5, _e = Math.PI * 2, pe = Math.PI / 2; ne > xe; )
|
|
61035
61126
|
ne = ne - _e;
|
|
61036
|
-
var Pe = Math.abs(
|
|
61127
|
+
var Pe = Math.abs(xe - ne);
|
|
61037
61128
|
Pe < _e && Ie && (Pe = _e - Pe);
|
|
61038
61129
|
for (var De = [], Ve = Ie ? -1 : 1, Te = ne; Pe > ve; ) {
|
|
61039
61130
|
var He = Ve * Math.min(Pe, pe), we = Te + He;
|
|
61040
61131
|
De.push(G.call(this, Q, Te, we)), Pe -= Math.abs(we - Te), Te = we;
|
|
61041
61132
|
}
|
|
61042
61133
|
return De;
|
|
61043
|
-
}, G = function(Q, ne,
|
|
61044
|
-
var Ie = (
|
|
61134
|
+
}, G = function(Q, ne, xe) {
|
|
61135
|
+
var Ie = (xe - ne) / 2, ve = Q * Math.cos(Ie), _e = Q * Math.sin(Ie), pe = ve, Pe = -_e, De = pe * pe + Pe * Pe, Ve = De + pe * ve + Pe * _e, Te = 4 / 3 * (Math.sqrt(2 * De * Ve) - Ve) / (pe * _e - Pe * ve), He = pe - Te * Pe, we = Pe + Te * pe, le = He, he = -we, $ = Ie + ne, Ne = Math.cos($), Be = Math.sin($);
|
|
61045
61136
|
return {
|
|
61046
61137
|
x1: Q * Math.cos(ne),
|
|
61047
61138
|
y1: Q * Math.sin(ne),
|
|
@@ -61049,18 +61140,18 @@ function parseFontFamily(a) {
|
|
|
61049
61140
|
y2: He * Be + we * Ne,
|
|
61050
61141
|
x3: le * Ne - he * Be,
|
|
61051
61142
|
y3: le * Be + he * Ne,
|
|
61052
|
-
x4: Q * Math.cos(
|
|
61053
|
-
y4: Q * Math.sin(
|
|
61143
|
+
x4: Q * Math.cos(xe),
|
|
61144
|
+
y4: Q * Math.sin(xe)
|
|
61054
61145
|
};
|
|
61055
61146
|
}, J = function(Q) {
|
|
61056
61147
|
return Q * 180 / Math.PI;
|
|
61057
|
-
}, ae = function(Q, ne,
|
|
61058
|
-
var pe = Q + (
|
|
61148
|
+
}, ae = function(Q, ne, xe, Ie, ve, _e) {
|
|
61149
|
+
var pe = Q + (xe - Q) * 0.5, Pe = ne + (Ie - ne) * 0.5, De = ve + (xe - ve) * 0.5, Ve = _e + (Ie - _e) * 0.5, Te = Math.min(Q, ve, pe, De), He = Math.max(Q, ve, pe, De), we = Math.min(ne, _e, Pe, Ve), le = Math.max(ne, _e, Pe, Ve);
|
|
61059
61150
|
return new d(Te, we, He - Te, le - we);
|
|
61060
|
-
},
|
|
61061
|
-
var De =
|
|
61151
|
+
}, Ce = function(Q, ne, xe, Ie, ve, _e, pe, Pe) {
|
|
61152
|
+
var De = xe - Q, Ve = Ie - ne, Te = ve - xe, He = _e - Ie, we = pe - ve, le = Pe - _e, he = 40, $, Ne, Be, Qe, Me, ze, ot, ht, bt, gt, _t, pt, Tt, xt, It, St, Qt, At, or, wr, kt, Gt, ee, se;
|
|
61062
61153
|
for (Ne = 0; Ne < he + 1; Ne++)
|
|
61063
|
-
$ = Ne / he, Be = Q + $ * De, Qe = ne + $ * Ve, Me =
|
|
61154
|
+
$ = Ne / he, Be = Q + $ * De, Qe = ne + $ * Ve, Me = xe + $ * Te, ze = Ie + $ * He, ot = ve + $ * we, ht = _e + $ * le, or = Me - Be, wr = ze - Qe, kt = ot - Me, Gt = ht - ze, _t = Be + $ * or, pt = Qe + $ * wr, bt = Me + $ * kt, gt = ze + $ * Gt, ee = bt - _t, se = gt - pt, Tt = _t + $ * ee, xt = pt + $ * se, Ne == 0 ? (It = Tt, St = xt, Qt = Tt, At = xt) : (It = Math.min(It, Tt), St = Math.min(St, xt), Qt = Math.max(Qt, Tt), At = Math.max(At, xt));
|
|
61064
61155
|
return new d(Math.round(It), Math.round(St), Math.round(Qt - It), Math.round(At - St));
|
|
61065
61156
|
}, oe = function(Q, ne) {
|
|
61066
61157
|
return JSON.stringify({
|
|
@@ -61881,7 +61972,7 @@ var PNG = function() {
|
|
|
61881
61972
|
return new Uint8Array(0);
|
|
61882
61973
|
d = unzlibSync(d);
|
|
61883
61974
|
function g(y, w, v, C) {
|
|
61884
|
-
var _, D, E, T, I, M, k, L, H, B, Y, j, U, X, W, G, J, ae,
|
|
61975
|
+
var _, D, E, T, I, M, k, L, H, B, Y, j, U, X, W, G, J, ae, Ce, oe, me, ue = Math.ceil((m.width - y) / v), Q = Math.ceil((m.height - w) / C), ne = m.width == ue && m.height == Q;
|
|
61885
61976
|
for (X = u * ue, j = ne ? f : new Uint8Array(X * Q), M = d.length, U = 0, D = 0; U < Q && p < M; ) {
|
|
61886
61977
|
switch (d[p++]) {
|
|
61887
61978
|
case 0:
|
|
@@ -61893,7 +61984,7 @@ var PNG = function() {
|
|
|
61893
61984
|
_ = d[p++], I = T < u ? 0 : j[D - u], j[D++] = (_ + I) % 256;
|
|
61894
61985
|
break;
|
|
61895
61986
|
case 2:
|
|
61896
|
-
for (T =
|
|
61987
|
+
for (T = Ce = 0; Ce < X; T = Ce += 1)
|
|
61897
61988
|
_ = d[p++], E = (T - T % u) / u, W = U && j[(U - 1) * X + E * u + T % u], j[D++] = (W + _) % 256;
|
|
61898
61989
|
break;
|
|
61899
61990
|
case 3:
|
|
@@ -61908,11 +61999,11 @@ var PNG = function() {
|
|
|
61908
61999
|
console$1.warn(`Invalid filter algorithm: ${d[p - 1], d[p]}--png格式图片只包含[01234]`);
|
|
61909
62000
|
}
|
|
61910
62001
|
if (!ne) {
|
|
61911
|
-
var
|
|
62002
|
+
var xe = ((w + U * C) * m.width + y) * u, Ie = U * X;
|
|
61912
62003
|
for (T = 0; T < ue; T += 1) {
|
|
61913
62004
|
for (var ve = 0; ve < u; ve += 1)
|
|
61914
|
-
f[
|
|
61915
|
-
|
|
62005
|
+
f[xe++] = j[Ie++];
|
|
62006
|
+
xe += (v - 1) * u;
|
|
61916
62007
|
}
|
|
61917
62008
|
}
|
|
61918
62009
|
U++;
|
|
@@ -62106,10 +62197,10 @@ var PNG = function() {
|
|
|
62106
62197
|
B = T.pixelBitlength == 32 ? new Uint32Array(T.decodePixels().buffer) : T.pixelBitlength == 16 ? new Uint16Array(T.decodePixels().buffer) : new Uint8Array(T.decodePixels().buffer), Y = B.length, U = new Uint8Array(Y * T.colors), j = new Uint8Array(Y);
|
|
62107
62198
|
var ae = T.pixelBitlength - T.bits;
|
|
62108
62199
|
G = 0, J = 0;
|
|
62109
|
-
for (var
|
|
62110
|
-
for (W = B[G],
|
|
62111
|
-
U[J++] = W >>>
|
|
62112
|
-
j[G] = W >>>
|
|
62200
|
+
for (var Ce; G < Y; G++) {
|
|
62201
|
+
for (W = B[G], Ce = 0; Ce < ae; )
|
|
62202
|
+
U[J++] = W >>> Ce & 255, Ce = Ce + T.bits;
|
|
62203
|
+
j[G] = W >>> Ce & 255;
|
|
62113
62204
|
}
|
|
62114
62205
|
}
|
|
62115
62206
|
if (T.bits === 16) {
|
|
@@ -62268,16 +62359,16 @@ function GifReader(a) {
|
|
|
62268
62359
|
}, this.decodeAndBlitFrameBGRA = function(X, W) {
|
|
62269
62360
|
var G = this.frameInfo(X), J = G.width * G.height, ae = new Uint8Array(J);
|
|
62270
62361
|
GifReaderLZWOutputIndexStream(a, G.data_offset, ae, J);
|
|
62271
|
-
var
|
|
62362
|
+
var Ce = G.palette_offset, oe = G.transparent_index;
|
|
62272
62363
|
oe === null && (oe = 256);
|
|
62273
|
-
var me = G.width, ue = r - me, Q = me, ne = (G.y * r + G.x) * 4,
|
|
62364
|
+
var me = G.width, ue = r - me, Q = me, ne = (G.y * r + G.x) * 4, xe = ((G.y + G.height) * r + G.x) * 4, Ie = ne, ve = ue * 4;
|
|
62274
62365
|
G.interlaced === !0 && (ve += r * 4 * 7);
|
|
62275
62366
|
for (var _e = 8, pe = 0, Pe = ae.length; pe < Pe; ++pe) {
|
|
62276
62367
|
var De = ae[pe];
|
|
62277
|
-
if (Q === 0 && (Ie += ve, Q = me, Ie >=
|
|
62368
|
+
if (Q === 0 && (Ie += ve, Q = me, Ie >= xe && (ve = ue * 4 + r * 4 * (_e - 1), Ie = ne + (me + ue) * (_e << 1), _e >>= 1)), De === oe)
|
|
62278
62369
|
Ie += 4;
|
|
62279
62370
|
else {
|
|
62280
|
-
var Ve = a[
|
|
62371
|
+
var Ve = a[Ce + De * 3], Te = a[Ce + De * 3 + 1], He = a[Ce + De * 3 + 2];
|
|
62281
62372
|
W[Ie++] = He, W[Ie++] = Te, W[Ie++] = Ve, W[Ie++] = 255;
|
|
62282
62373
|
}
|
|
62283
62374
|
--Q;
|
|
@@ -62285,16 +62376,16 @@ function GifReader(a) {
|
|
|
62285
62376
|
}, this.decodeAndBlitFrameRGBA = function(X, W) {
|
|
62286
62377
|
var G = this.frameInfo(X), J = G.width * G.height, ae = new Uint8Array(J);
|
|
62287
62378
|
GifReaderLZWOutputIndexStream(a, G.data_offset, ae, J);
|
|
62288
|
-
var
|
|
62379
|
+
var Ce = G.palette_offset, oe = G.transparent_index;
|
|
62289
62380
|
oe === null && (oe = 256);
|
|
62290
|
-
var me = G.width, ue = r - me, Q = me, ne = (G.y * r + G.x) * 4,
|
|
62381
|
+
var me = G.width, ue = r - me, Q = me, ne = (G.y * r + G.x) * 4, xe = ((G.y + G.height) * r + G.x) * 4, Ie = ne, ve = ue * 4;
|
|
62291
62382
|
G.interlaced === !0 && (ve += r * 4 * 7);
|
|
62292
62383
|
for (var _e = 8, pe = 0, Pe = ae.length; pe < Pe; ++pe) {
|
|
62293
62384
|
var De = ae[pe];
|
|
62294
|
-
if (Q === 0 && (Ie += ve, Q = me, Ie >=
|
|
62385
|
+
if (Q === 0 && (Ie += ve, Q = me, Ie >= xe && (ve = ue * 4 + r * 4 * (_e - 1), Ie = ne + (me + ue) * (_e << 1), _e >>= 1)), De === oe)
|
|
62295
62386
|
W[Ie++] = 255, W[Ie++] = 255, W[Ie++] = 255, W[Ie++] = 255;
|
|
62296
62387
|
else {
|
|
62297
|
-
var Ve = a[
|
|
62388
|
+
var Ve = a[Ce + De * 3], Te = a[Ce + De * 3 + 1], He = a[Ce + De * 3 + 2];
|
|
62298
62389
|
W[Ie++] = Ve, W[Ie++] = Te, W[Ie++] = He, W[Ie++] = 255;
|
|
62299
62390
|
}
|
|
62300
62391
|
--Q;
|
|
@@ -62394,7 +62485,7 @@ function JPEGEncoder(a) {
|
|
|
62394
62485
|
Te <<= 1, He <<= 1;
|
|
62395
62486
|
}
|
|
62396
62487
|
}
|
|
62397
|
-
function
|
|
62488
|
+
function Ce() {
|
|
62398
62489
|
for (var Te = 0; Te < 256; Te++)
|
|
62399
62490
|
T[Te] = 19595 * Te, T[Te + 256 >> 0] = 38470 * Te, T[Te + 512 >> 0] = 7471 * Te + 32768, T[Te + 768 >> 0] = -11059 * Te, T[Te + 1024 >> 0] = -21709 * Te, T[Te + 1280 >> 0] = 32768 * Te + 8421375, T[Te + 1536 >> 0] = -27439 * Te, T[Te + 1792 >> 0] = -5329 * Te;
|
|
62400
62491
|
}
|
|
@@ -62412,7 +62503,7 @@ function JPEGEncoder(a) {
|
|
|
62412
62503
|
var we, le, he, $, Ne, Be, Qe, Me, ze = 0, ot, ht = 8, bt = 64;
|
|
62413
62504
|
for (ot = 0; ot < ht; ++ot) {
|
|
62414
62505
|
we = Te[ze], le = Te[ze + 1], he = Te[ze + 2], $ = Te[ze + 3], Ne = Te[ze + 4], Be = Te[ze + 5], Qe = Te[ze + 6], Me = Te[ze + 7];
|
|
62415
|
-
var gt = we + Me, _t = we - Me, pt = le + Qe, Tt = le - Qe,
|
|
62506
|
+
var gt = we + Me, _t = we - Me, pt = le + Qe, Tt = le - Qe, xt = he + Be, It = he - Be, St = $ + Ne, Qt = $ - Ne, At = gt + St, or = gt - St, wr = pt + xt, kt = pt - xt;
|
|
62416
62507
|
Te[ze] = At + wr, Te[ze + 4] = At - wr;
|
|
62417
62508
|
var Gt = (kt + or) * 0.707106781;
|
|
62418
62509
|
Te[ze + 2] = or + Gt, Te[ze + 6] = or - Gt, At = Qt + It, wr = It + Tt, kt = Tt + _t;
|
|
@@ -62421,7 +62512,7 @@ function JPEGEncoder(a) {
|
|
|
62421
62512
|
}
|
|
62422
62513
|
for (ze = 0, ot = 0; ot < ht; ++ot) {
|
|
62423
62514
|
we = Te[ze], le = Te[ze + 8], he = Te[ze + 16], $ = Te[ze + 24], Ne = Te[ze + 32], Be = Te[ze + 40], Qe = Te[ze + 48], Me = Te[ze + 56];
|
|
62424
|
-
var Ut = we + Me, Jt = we - Me, nr = le + Qe, Et = le - Qe, Pt = he + Be, Ot = he - Be,
|
|
62515
|
+
var Ut = we + Me, Jt = we - Me, nr = le + Qe, Et = le - Qe, Pt = he + Be, Ot = he - Be, Cr = $ + Ne, Nr = $ - Ne, Xt = Ut + Cr, jt = Ut - Cr, tr = nr + Pt, Vt = nr - Pt;
|
|
62425
62516
|
Te[ze] = Xt + tr, Te[ze + 32] = Xt - tr;
|
|
62426
62517
|
var Zt = (Vt + jt) * 0.707106781;
|
|
62427
62518
|
Te[ze + 16] = jt + Zt, Te[ze + 48] = jt - Zt, Xt = Nr + Ot, tr = Ot + Et, Vt = Et + Jt;
|
|
@@ -62436,7 +62527,7 @@ function JPEGEncoder(a) {
|
|
|
62436
62527
|
function ne() {
|
|
62437
62528
|
ue(65504), ue(16), me(74), me(70), me(73), me(70), me(0), me(1), me(1), me(0), ue(1), ue(1), me(0), me(0);
|
|
62438
62529
|
}
|
|
62439
|
-
function
|
|
62530
|
+
function xe(Te, He) {
|
|
62440
62531
|
ue(65472), ue(17), me(8), ue(He), ue(Te), me(3), me(1), me(17), me(0), me(2), me(17), me(1), me(3), me(17), me(1);
|
|
62441
62532
|
}
|
|
62442
62533
|
function Ie() {
|
|
@@ -62484,14 +62575,14 @@ function JPEGEncoder(a) {
|
|
|
62484
62575
|
for (var _t = 1, pt; _t <= gt; ) {
|
|
62485
62576
|
for (var Tt = _t; g[_t] == 0 && _t <= gt; )
|
|
62486
62577
|
++_t;
|
|
62487
|
-
var
|
|
62488
|
-
if (
|
|
62489
|
-
pt =
|
|
62578
|
+
var xt = _t - Tt;
|
|
62579
|
+
if (xt >= Qe) {
|
|
62580
|
+
pt = xt >> 4;
|
|
62490
62581
|
for (var It = 1; It <= pt; ++It)
|
|
62491
62582
|
oe(Ne);
|
|
62492
|
-
|
|
62583
|
+
xt = xt & 15;
|
|
62493
62584
|
}
|
|
62494
|
-
Be = 32767 + g[_t], oe(he[(
|
|
62585
|
+
Be = 32767 + g[_t], oe(he[(xt << 4) + p[Be]]), oe(f[Be]), _t++;
|
|
62495
62586
|
}
|
|
62496
62587
|
return gt != Me && oe($), we;
|
|
62497
62588
|
}
|
|
@@ -62500,13 +62591,13 @@ function JPEGEncoder(a) {
|
|
|
62500
62591
|
E[He] = Te(He);
|
|
62501
62592
|
}
|
|
62502
62593
|
this.encode = function(Te, He) {
|
|
62503
|
-
He && De(He), y = new Array(), w = 0, v = 7, ue(65496), ne(), Ie(),
|
|
62594
|
+
He && De(He), y = new Array(), w = 0, v = 7, ue(65496), ne(), Ie(), xe(Te.width, Te.height), ve(), _e();
|
|
62504
62595
|
var we = 0, le = 0, he = 0;
|
|
62505
62596
|
w = 0, v = 7, this.encode.displayName = "_encode_";
|
|
62506
|
-
for (var $ = Te.data, Ne = Te.width, Be = Te.height, Qe = Ne * 4, Me, ze = 0, ot, ht, bt, gt, _t, pt, Tt,
|
|
62597
|
+
for (var $ = Te.data, Ne = Te.width, Be = Te.height, Qe = Ne * 4, Me, ze = 0, ot, ht, bt, gt, _t, pt, Tt, xt; ze < Be; ) {
|
|
62507
62598
|
for (Me = 0; Me < Qe; ) {
|
|
62508
|
-
for (gt = Qe * ze + Me, pt = -1, Tt = 0,
|
|
62509
|
-
Tt =
|
|
62599
|
+
for (gt = Qe * ze + Me, pt = -1, Tt = 0, xt = 0; xt < 64; xt++)
|
|
62600
|
+
Tt = xt >> 3, pt = (xt & 7) * 4, _t = gt + Tt * Qe + pt, ze + Tt >= Be && (_t -= Qe * (ze + 1 + Tt - Be)), Me + pt >= Qe && (_t -= Me + pt - Qe + 4), ot = $[_t++], ht = $[_t++], bt = $[_t++], C[xt] = (T[ot] + T[ht + 256 >> 0] + T[bt + 512 >> 0] >> 16) - 128, _[xt] = (T[ot + 768 >> 0] + T[ht + 1024 >> 0] + T[bt + 1280 >> 0] >> 16) - 128, D[xt] = (T[ot + 1280 >> 0] + T[ht + 1536 >> 0] + T[bt + 1792 >> 0] >> 16) - 128;
|
|
62510
62601
|
we = pe(C, n, we, l, d), le = pe(_, s, le, c, u), he = pe(D, s, he, c, u), Me += 32;
|
|
62511
62602
|
}
|
|
62512
62603
|
ze += 8;
|
|
@@ -62524,7 +62615,7 @@ function JPEGEncoder(a) {
|
|
|
62524
62615
|
}
|
|
62525
62616
|
}
|
|
62526
62617
|
function Ve() {
|
|
62527
|
-
a = a || 50, Pe(), J(), ae(),
|
|
62618
|
+
a = a || 50, Pe(), J(), ae(), Ce(), De(a);
|
|
62528
62619
|
}
|
|
62529
62620
|
Ve();
|
|
62530
62621
|
}
|
|
@@ -62703,8 +62794,8 @@ function WebPDecoder(a) {
|
|
|
62703
62794
|
}
|
|
62704
62795
|
function d(Y, j) {
|
|
62705
62796
|
function U(W, G, J) {
|
|
62706
|
-
for (var ae = J[G],
|
|
62707
|
-
U(W[
|
|
62797
|
+
for (var ae = J[G], Ce = 0; Ce < ae && (W.push(J.length > G + 1 ? [] : new j()), !(J.length < G + 1)); Ce++)
|
|
62798
|
+
U(W[Ce], G + 1, J);
|
|
62708
62799
|
}
|
|
62709
62800
|
var X = [];
|
|
62710
62801
|
return U(X, 0, Y), X;
|
|
@@ -62766,7 +62857,7 @@ function WebPDecoder(a) {
|
|
|
62766
62857
|
function ae() {
|
|
62767
62858
|
this.value = this.g = 0;
|
|
62768
62859
|
}
|
|
62769
|
-
function
|
|
62860
|
+
function Ce() {
|
|
62770
62861
|
this.G = l(5, J), this.H = s(5), this.jc = this.Qb = this.qb = this.nd = 0, this.pd = l(so, ae);
|
|
62771
62862
|
}
|
|
62772
62863
|
function oe(N, F, R, O) {
|
|
@@ -62792,9 +62883,9 @@ function WebPDecoder(a) {
|
|
|
62792
62883
|
N.Ra >>>= 8, N.Ra += N.oa[N.pa + N.bb] << ao - 8 >>> 0, ++N.bb, N.u -= 8;
|
|
62793
62884
|
pe(N) && (N.h = 1, N.u = 0);
|
|
62794
62885
|
}
|
|
62795
|
-
function
|
|
62886
|
+
function xe(N, F) {
|
|
62796
62887
|
if (t(0 <= F), !N.h && F <= Ko) {
|
|
62797
|
-
var R = _e(N) &
|
|
62888
|
+
var R = _e(N) & Cn[F];
|
|
62798
62889
|
return N.u += F, ne(N), R;
|
|
62799
62890
|
}
|
|
62800
62891
|
return N.h = 1, N.u = 0;
|
|
@@ -62890,7 +62981,7 @@ function WebPDecoder(a) {
|
|
|
62890
62981
|
function Tt(N, F, R) {
|
|
62891
62982
|
return Math.abs(F - R) - Math.abs(N - R);
|
|
62892
62983
|
}
|
|
62893
|
-
function
|
|
62984
|
+
function xt(N, F, R, O, K, te, re) {
|
|
62894
62985
|
for (O = te[re - 1], R = 0; R < K; ++R)
|
|
62895
62986
|
te[re + R] = O = ot(N[F + R], O);
|
|
62896
62987
|
}
|
|
@@ -62999,12 +63090,12 @@ function WebPDecoder(a) {
|
|
|
62999
63090
|
var de = [0], Ee = N.ka;
|
|
63000
63091
|
de[0] = N.T, N.Kb && (Ee == 0 ? --de[0] : (--Ee, K[0] -= N.width), N.j + N.ka + N.T == N.o && (de[0] = N.o - N.j - Ee));
|
|
63001
63092
|
var fe = F.eb, Ee = F.fb + Ee * F.A;
|
|
63002
|
-
N =
|
|
63093
|
+
N = Cs(O, K[0], N.width, te, de, fe, Ee + (ie ? 0 : 3), F.A), t(R == de), N && Ue(re) && on(fe, Ee, ie, te, de, F.A);
|
|
63003
63094
|
}
|
|
63004
63095
|
return 0;
|
|
63005
63096
|
}
|
|
63006
|
-
function
|
|
63007
|
-
var F = N.ma, R = F.ba.S, O = 11 > R, K = R ==
|
|
63097
|
+
function Cr(N) {
|
|
63098
|
+
var F = N.ma, R = F.ba.S, O = 11 > R, K = R == xr || R == Xr || R == Ii || R == Bn || R == 12 || Ue(R);
|
|
63008
63099
|
if (F.memory = null, F.Ib = null, F.Jb = null, F.Nd = null, !Bi(F.Oa, N, K ? 11 : 12)) return 0;
|
|
63009
63100
|
if (K && Ue(R) && yr(), N.da) alert("todo:use_scaling");
|
|
63010
63101
|
else {
|
|
@@ -63033,12 +63124,12 @@ function WebPDecoder(a) {
|
|
|
63033
63124
|
N.ma.memory = null;
|
|
63034
63125
|
}
|
|
63035
63126
|
function jt(N, F, R, O) {
|
|
63036
|
-
return
|
|
63127
|
+
return xe(N, 8) != 47 ? 0 : (F[0] = xe(N, 14) + 1, R[0] = xe(N, 14) + 1, O[0] = xe(N, 1), xe(N, 3) != 0 ? 0 : !N.h);
|
|
63037
63128
|
}
|
|
63038
63129
|
function tr(N, F) {
|
|
63039
63130
|
if (4 > N) return N + 1;
|
|
63040
63131
|
var R = N - 2 >> 1;
|
|
63041
|
-
return (2 + (N & 1) << R) +
|
|
63132
|
+
return (2 + (N & 1) << R) + xe(F, R) + 1;
|
|
63042
63133
|
}
|
|
63043
63134
|
function Vt(N, F) {
|
|
63044
63135
|
if (120 < F) return F - 120;
|
|
@@ -63070,10 +63161,10 @@ function WebPDecoder(a) {
|
|
|
63070
63161
|
break;
|
|
63071
63162
|
case 0:
|
|
63072
63163
|
var et = fe, Ye = Ee, Ke = Oe, tt = de, st = ie, nt = et.Ea;
|
|
63073
|
-
Ye == 0 && (lo(Xe, qe, null, null, 1, tt, st),
|
|
63164
|
+
Ye == 0 && (lo(Xe, qe, null, null, 1, tt, st), xt(Xe, qe + 1, 0, 0, nt - 1, tt, st + 1), qe += nt, st += nt, ++Ye);
|
|
63074
63165
|
for (var yt = 1 << et.b, wt = yt - 1, Nt = ze(nt, et.b), Ft = et.K, et = et.w + (Ye >> et.b) * Nt; Ye < Ke; ) {
|
|
63075
63166
|
var pr = Ft, rr = et, ir = 1;
|
|
63076
|
-
for (
|
|
63167
|
+
for (xi(Xe, qe, tt, st - nt, 1, tt, st); ir < nt; ) {
|
|
63077
63168
|
var Ir = ai[pr[rr++] >> 8 & 15], Ar = (ir & ~wt) + yt;
|
|
63078
63169
|
Ar > nt && (Ar = nt), Ir(Xe, qe + +ir, tt, st + ir - nt, Ar - ir, tt, st + ir), ir = Ar;
|
|
63079
63170
|
}
|
|
@@ -63117,13 +63208,13 @@ function WebPDecoder(a) {
|
|
|
63117
63208
|
case Fr:
|
|
63118
63209
|
en(qe, Je, et, Ye, Ke);
|
|
63119
63210
|
break;
|
|
63120
|
-
case
|
|
63211
|
+
case xr:
|
|
63121
63212
|
Ei(qe, Je, et, Ye, Ke);
|
|
63122
63213
|
break;
|
|
63123
63214
|
case zn:
|
|
63124
63215
|
Ei(qe, Je, et, Ye, Ke), on(Ye, Ke, 0, et, 1, 0);
|
|
63125
63216
|
break;
|
|
63126
|
-
case
|
|
63217
|
+
case xn:
|
|
63127
63218
|
Hr(qe, Je, et, Ye, Ke);
|
|
63128
63219
|
break;
|
|
63129
63220
|
case Xr:
|
|
@@ -63247,17 +63338,17 @@ function WebPDecoder(a) {
|
|
|
63247
63338
|
function ni(N, F, R, O, K) {
|
|
63248
63339
|
var te = 1, re = [N], ie = [F], de = O.m, fe = O.s, Ee = null, Oe = 0;
|
|
63249
63340
|
e: for (; ; ) {
|
|
63250
|
-
if (R) for (; te &&
|
|
63251
|
-
var Xe = re, qe = ie, Je = O, et = 1, Ye = Je.m, Ke = Je.gc[Je.ab], tt =
|
|
63341
|
+
if (R) for (; te && xe(de, 1); ) {
|
|
63342
|
+
var Xe = re, qe = ie, Je = O, et = 1, Ye = Je.m, Ke = Je.gc[Je.ab], tt = xe(Ye, 2);
|
|
63252
63343
|
if (Je.Oc & 1 << tt) te = 0;
|
|
63253
63344
|
else {
|
|
63254
63345
|
switch (Je.Oc |= 1 << tt, Ke.hc = tt, Ke.Ea = Xe[0], Ke.nc = qe[0], Ke.K = [null], ++Je.ab, t(4 >= Je.ab), tt) {
|
|
63255
63346
|
case 0:
|
|
63256
63347
|
case 1:
|
|
63257
|
-
Ke.b =
|
|
63348
|
+
Ke.b = xe(Ye, 3) + 2, et = ni(ze(Ke.Ea, Ke.b), ze(Ke.nc, Ke.b), 0, Je, Ke.K), Ke.K = Ke.K[0];
|
|
63258
63349
|
break;
|
|
63259
63350
|
case 3:
|
|
63260
|
-
var st =
|
|
63351
|
+
var st = xe(Ye, 8) + 1, nt = 16 < st ? 0 : 4 < st ? 1 : 2 < st ? 2 : 3;
|
|
63261
63352
|
Xe[0] = ze(Ke.Ea, nt), Ke.b = nt;
|
|
63262
63353
|
var et = ni(st, 1, 0, Je, Ke.K), yt;
|
|
63263
63354
|
if (yt = et) {
|
|
@@ -63282,7 +63373,7 @@ function WebPDecoder(a) {
|
|
|
63282
63373
|
te = et;
|
|
63283
63374
|
}
|
|
63284
63375
|
}
|
|
63285
|
-
if (re = re[0], ie = ie[0], te &&
|
|
63376
|
+
if (re = re[0], ie = ie[0], te && xe(de, 1) && (Oe = xe(de, 4), te = 1 <= Oe && 11 >= Oe, !te)) {
|
|
63286
63377
|
O.a = 3;
|
|
63287
63378
|
break e;
|
|
63288
63379
|
}
|
|
@@ -63290,8 +63381,8 @@ function WebPDecoder(a) {
|
|
|
63290
63381
|
if (Ar = te) t: {
|
|
63291
63382
|
var zr = O, _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];
|
|
63292
63383
|
r: for (; ; ) {
|
|
63293
|
-
if (Fo &&
|
|
63294
|
-
var Kn =
|
|
63384
|
+
if (Fo && xe(Jn, 1)) {
|
|
63385
|
+
var Kn = xe(Jn, 3) + 2, Fs = ze(_i, Kn), Is = ze(_r, Kn), ia = Fs * Is;
|
|
63295
63386
|
if (!ni(Fs, Is, 0, zr, Io)) break r;
|
|
63296
63387
|
for (Io = Io[0], an.xc = Kn, Wr = 0; Wr < ia; ++Wr) {
|
|
63297
63388
|
var cn = Io[Wr] >> 8 & 65535;
|
|
@@ -63303,7 +63394,7 @@ function WebPDecoder(a) {
|
|
|
63303
63394
|
var ri = tn[Tr];
|
|
63304
63395
|
!Tr && 0 < ti && (ri += 1 << ti), Zi < ri && (Zi = ri);
|
|
63305
63396
|
}
|
|
63306
|
-
var Lo = l(jr * ra, J), er = jr, S = l(er,
|
|
63397
|
+
var Lo = l(jr * ra, J), er = jr, S = l(er, Ce);
|
|
63307
63398
|
if (S == null) var A = null;
|
|
63308
63399
|
else t(65536 >= er), A = S;
|
|
63309
63400
|
var Z = s(Zi);
|
|
@@ -63313,29 +63404,29 @@ function WebPDecoder(a) {
|
|
|
63313
63404
|
}
|
|
63314
63405
|
var q = Lo;
|
|
63315
63406
|
for (Wr = Ao = 0; Wr < jr; ++Wr) {
|
|
63316
|
-
var ce = A[Wr], Le = ce.G, $e = ce.H,
|
|
63407
|
+
var ce = A[Wr], Le = ce.G, $e = ce.H, Ct = 0, Mt = 1, qt = 0;
|
|
63317
63408
|
for (Tr = 0; 5 > Tr; ++Tr) {
|
|
63318
63409
|
ri = tn[Tr], Le[Tr] = q, $e[Tr] = Ao, !Tr && 0 < ti && (ri += 1 << ti);
|
|
63319
63410
|
o: {
|
|
63320
|
-
var Lr, ci = ri, di = zr, $n = Z,
|
|
63411
|
+
var Lr, ci = ri, di = zr, $n = Z, xa = q, ba = Ao, oa = 0, Mo = di.m, Pa = xe(Mo, 1);
|
|
63321
63412
|
if (n($n, 0, 0, ci), Pa) {
|
|
63322
|
-
var Na =
|
|
63323
|
-
$n[na] = 1, Na == 2 && (na =
|
|
63413
|
+
var Na = xe(Mo, 1) + 1, Ta = xe(Mo, 1), na = xe(Mo, Ta == 0 ? 1 : 8);
|
|
63414
|
+
$n[na] = 1, Na == 2 && (na = xe(Mo, 8), $n[na] = 1);
|
|
63324
63415
|
var As = 1;
|
|
63325
63416
|
} else {
|
|
63326
|
-
var ha = s(19), ua =
|
|
63417
|
+
var ha = s(19), ua = xe(Mo, 4) + 4;
|
|
63327
63418
|
if (19 < ua) {
|
|
63328
63419
|
di.a = 3;
|
|
63329
63420
|
var Ls = 0;
|
|
63330
63421
|
break o;
|
|
63331
63422
|
}
|
|
63332
63423
|
for (Lr = 0; Lr < ua; ++Lr)
|
|
63333
|
-
ha[Ys[Lr]] =
|
|
63424
|
+
ha[Ys[Lr]] = xe(Mo, 3);
|
|
63334
63425
|
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);
|
|
63335
63426
|
i: for (; ; ) {
|
|
63336
63427
|
if (!G(ma, 0, 7, Sa, 19)) break i;
|
|
63337
|
-
if (
|
|
63338
|
-
var Da = 2 + 2 *
|
|
63428
|
+
if (xe(Ro, 1)) {
|
|
63429
|
+
var Da = 2 + 2 * xe(Ro, 3), Ms = 2 + xe(Ro, Da);
|
|
63339
63430
|
if (Ms > Rs) break i;
|
|
63340
63431
|
} else Ms = Rs;
|
|
63341
63432
|
for (es = 0; es < Rs && Ms--; ) {
|
|
@@ -63345,7 +63436,7 @@ function WebPDecoder(a) {
|
|
|
63345
63436
|
var En = ya.value;
|
|
63346
63437
|
if (16 > En) pa[es++] = En, En != 0 && (ga = En);
|
|
63347
63438
|
else {
|
|
63348
|
-
var Ea = En == 16, va = En - 16, Fa = js[va], wa =
|
|
63439
|
+
var Ea = En == 16, va = En - 16, Fa = js[va], wa = xe(Ro, Ws[va]) + Fa;
|
|
63349
63440
|
if (es + wa > Rs) break i;
|
|
63350
63441
|
for (var Ia = Ea ? ga : 0; 0 < wa--; )
|
|
63351
63442
|
pa[es++] = Ia;
|
|
@@ -63356,17 +63447,17 @@ function WebPDecoder(a) {
|
|
|
63356
63447
|
}
|
|
63357
63448
|
sa || (fa.a = 3), As = sa;
|
|
63358
63449
|
}
|
|
63359
|
-
(As = As && !Mo.h) && (oa = G(
|
|
63450
|
+
(As = As && !Mo.h) && (oa = G(xa, ba, 8, $n, ci)), As && oa != 0 ? Ls = oa : (di.a = 3, Ls = 0);
|
|
63360
63451
|
}
|
|
63361
63452
|
if (Ls == 0) break r;
|
|
63362
|
-
if (Mt && Us[Tr] == 1 && (Mt = q[Ao].g == 0),
|
|
63453
|
+
if (Mt && Us[Tr] == 1 && (Mt = q[Ao].g == 0), Ct += q[Ao].g, Ao += Ls, 3 >= Tr) {
|
|
63363
63454
|
var aa = Z[0], ts;
|
|
63364
63455
|
for (ts = 1; ts < ri; ++ts)
|
|
63365
63456
|
Z[ts] > aa && (aa = Z[ts]);
|
|
63366
63457
|
qt += aa;
|
|
63367
63458
|
}
|
|
63368
63459
|
}
|
|
63369
|
-
if (ce.nd = Mt, ce.Qb = 0, Mt && (ce.qb = (Le[3][$e[3] + 0].value << 24 | Le[1][$e[1] + 0].value << 16 | Le[2][$e[2] + 0].value) >>> 0,
|
|
63460
|
+
if (ce.nd = Mt, ce.Qb = 0, Mt && (ce.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 && (ce.Qb = 1, ce.qb += Le[0][$e[0] + 0].value << 8)), ce.jc = !ce.Qb && 6 > qt, ce.jc) {
|
|
63370
63461
|
var ks, po = ce;
|
|
63371
63462
|
for (ks = 0; ks < so; ++ks) {
|
|
63372
63463
|
var ko = ks, Ho = po.pd[ko], Hs = po.G[0][po.H[0] + ko];
|
|
@@ -63389,8 +63480,8 @@ function WebPDecoder(a) {
|
|
|
63389
63480
|
break e;
|
|
63390
63481
|
}
|
|
63391
63482
|
} else fe.ua = 0;
|
|
63392
|
-
var la = O,
|
|
63393
|
-
if (la.c =
|
|
63483
|
+
var la = O, Ca = re, Aa = ie, ca = la.s, da = ca.xc;
|
|
63484
|
+
if (la.c = Ca, la.i = Aa, ca.md = ze(Ca, da), ca.wc = da == 0 ? -1 : (1 << da) - 1, R) {
|
|
63394
63485
|
O.xb = Xs;
|
|
63395
63486
|
break e;
|
|
63396
63487
|
}
|
|
@@ -63411,7 +63502,7 @@ function WebPDecoder(a) {
|
|
|
63411
63502
|
var R = N.C, O = F - R, K = N.V, te = N.Ba + N.c * R;
|
|
63412
63503
|
for (t(F <= N.l.o); 0 < O; ) {
|
|
63413
63504
|
var re = 16 < O ? 16 : O, ie = N.l.ma, de = N.l.width, fe = de * re, Ee = ie.ca, Oe = ie.tb + de * R, Xe = N.Ta, qe = N.Ua;
|
|
63414
|
-
Rr(N, re, K, te),
|
|
63505
|
+
Rr(N, re, K, te), xs(Xe, qe, Ee, Oe, fe), Ur(ie, R, R + re, Ee, Oe, de), O -= re, K += re * N.c, R += re;
|
|
63415
63506
|
}
|
|
63416
63507
|
t(R == F), N.C = N.Ma = F;
|
|
63417
63508
|
}
|
|
@@ -63718,7 +63809,7 @@ function WebPDecoder(a) {
|
|
|
63718
63809
|
So[255 + R] = 0 > R ? 0 : 255 < R ? 255 : R;
|
|
63719
63810
|
Vr = 1;
|
|
63720
63811
|
}
|
|
63721
|
-
fo = Ki, Nn = Qi, Gn = Wo, Eo = Zr, Vn = Ji, ss = Pi, as = Qr, ls =
|
|
63812
|
+
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;
|
|
63722
63813
|
} else R = 0;
|
|
63723
63814
|
}
|
|
63724
63815
|
R && (R = zt(N, F)), F.bc != null && F.bc(F), R &= 1;
|
|
@@ -63879,7 +63970,7 @@ function WebPDecoder(a) {
|
|
|
63879
63970
|
for (R = 0; 8 > R; ++R)
|
|
63880
63971
|
n(N, F, N[F - 1], 8), F += 32;
|
|
63881
63972
|
}
|
|
63882
|
-
function
|
|
63973
|
+
function Co(N, F, R) {
|
|
63883
63974
|
var O;
|
|
63884
63975
|
for (O = 0; 8 > O; ++O)
|
|
63885
63976
|
n(F, R + 32 * O, N, 8);
|
|
@@ -63888,22 +63979,22 @@ function WebPDecoder(a) {
|
|
|
63888
63979
|
var R = 8, O;
|
|
63889
63980
|
for (O = 0; 8 > O; ++O)
|
|
63890
63981
|
R += N[F + O - 32] + N[F - 1 + 32 * O];
|
|
63891
|
-
|
|
63982
|
+
Co(R >> 4, N, F);
|
|
63892
63983
|
}
|
|
63893
63984
|
function Hn(N, F) {
|
|
63894
63985
|
var R = 4, O;
|
|
63895
63986
|
for (O = 0; 8 > O; ++O)
|
|
63896
63987
|
R += N[F + O - 32];
|
|
63897
|
-
|
|
63988
|
+
Co(R >> 3, N, F);
|
|
63898
63989
|
}
|
|
63899
63990
|
function Ni(N, F) {
|
|
63900
63991
|
var R = 4, O;
|
|
63901
63992
|
for (O = 0; 8 > O; ++O)
|
|
63902
63993
|
R += N[F - 1 + 32 * O];
|
|
63903
|
-
|
|
63994
|
+
Co(R >> 3, N, F);
|
|
63904
63995
|
}
|
|
63905
63996
|
function sr(N, F) {
|
|
63906
|
-
|
|
63997
|
+
Co(128, N, F);
|
|
63907
63998
|
}
|
|
63908
63999
|
function vi(N, F, R) {
|
|
63909
64000
|
var O = N[F - R], K = N[F + 0], te = 3 * (K - O) + li[1020 + N[F - 2 * R] - N[F + R]], re = vr[112 + (te + 4 >> 3)];
|
|
@@ -63950,7 +64041,7 @@ function WebPDecoder(a) {
|
|
|
63950
64041
|
F += O;
|
|
63951
64042
|
}
|
|
63952
64043
|
}
|
|
63953
|
-
function
|
|
64044
|
+
function Ci(N, F, R, O, K, te, re, ie) {
|
|
63954
64045
|
for (te = 2 * te + 1; 0 < K--; ) {
|
|
63955
64046
|
if (to(N, F, R, te, re)) if (ki(N, F, R, ie)) vi(N, F, R);
|
|
63956
64047
|
else {
|
|
@@ -63963,18 +64054,18 @@ function WebPDecoder(a) {
|
|
|
63963
64054
|
function Qr(N, F, R, O, K, te) {
|
|
63964
64055
|
qr(N, F, R, 1, 16, O, K, te);
|
|
63965
64056
|
}
|
|
63966
|
-
function
|
|
64057
|
+
function xo(N, F, R, O, K, te) {
|
|
63967
64058
|
qr(N, F, 1, R, 16, O, K, te);
|
|
63968
64059
|
}
|
|
63969
64060
|
function bo(N, F, R, O, K, te) {
|
|
63970
64061
|
var re;
|
|
63971
64062
|
for (re = 3; 0 < re; --re)
|
|
63972
|
-
F += 4 * R,
|
|
64063
|
+
F += 4 * R, Ci(N, F, R, 1, 16, O, K, te);
|
|
63973
64064
|
}
|
|
63974
64065
|
function Zo(N, F, R, O, K, te) {
|
|
63975
64066
|
var re;
|
|
63976
64067
|
for (re = 3; 0 < re; --re)
|
|
63977
|
-
F += 4,
|
|
64068
|
+
F += 4, Ci(N, F, 1, R, 16, O, K, te);
|
|
63978
64069
|
}
|
|
63979
64070
|
function wn(N, F, R, O, K, te, re, ie) {
|
|
63980
64071
|
qr(N, F, K, 1, 8, te, re, ie), qr(R, O, K, 1, 8, te, re, ie);
|
|
@@ -63983,10 +64074,10 @@ function WebPDecoder(a) {
|
|
|
63983
64074
|
qr(N, F, 1, K, 8, te, re, ie), qr(R, O, 1, K, 8, te, re, ie);
|
|
63984
64075
|
}
|
|
63985
64076
|
function Si(N, F, R, O, K, te, re, ie) {
|
|
63986
|
-
|
|
64077
|
+
Ci(N, F + 4 * K, K, 1, 8, te, re, ie), Ci(R, O + 4 * K, K, 1, 8, te, re, ie);
|
|
63987
64078
|
}
|
|
63988
64079
|
function ro(N, F, R, O, K, te, re, ie) {
|
|
63989
|
-
|
|
64080
|
+
Ci(N, F + 4, 1, K, 8, te, re, ie), Ci(R, O + 4, 1, K, 8, te, re, ie);
|
|
63990
64081
|
}
|
|
63991
64082
|
function Go() {
|
|
63992
64083
|
this.ba = new Ut(), this.ec = [], this.cc = [], this.Mc = [], this.Dc = this.Nc = this.dc = this.fc = 0, this.Oa = new nr(), this.memory = 0, this.Ib = "OutputFunc", this.Jb = "OutputAlphaFunc", this.Nd = "OutputRowFunc";
|
|
@@ -63998,7 +64089,7 @@ function WebPDecoder(a) {
|
|
|
63998
64089
|
this.nc = this.Ea = this.b = this.hc = 0, this.K = [], this.w = 0;
|
|
63999
64090
|
}
|
|
64000
64091
|
function z() {
|
|
64001
|
-
this.ua = 0, this.Wa = new Qe(), this.vb = new Qe(), this.md = this.xc = this.wc = 0, this.vc = [], this.Wb = 0, this.Ya = new
|
|
64092
|
+
this.ua = 0, this.Wa = new Qe(), this.vb = new Qe(), this.md = this.xc = this.wc = 0, this.vc = [], this.Wb = 0, this.Ya = new Ce(), this.yc = new J();
|
|
64002
64093
|
}
|
|
64003
64094
|
function V() {
|
|
64004
64095
|
this.xb = this.a = 0, this.l = new Re(), this.ca = new Ut(), this.V = [], this.Ba = 0, this.Ta = [], this.Ua = 0, this.m = new ve(), this.Pb = 0, this.wd = new ve(), this.Ma = this.$ = this.C = this.i = this.c = this.xd = 0, this.s = new z(), this.ab = 0, this.gc = l(4, Vo), this.Oc = 0;
|
|
@@ -64038,7 +64129,7 @@ function WebPDecoder(a) {
|
|
|
64038
64129
|
var ie = N.Fa, de = N.P, fe = N.qc, Ee = N.mb, Oe = N.nb, Xe = de + 1, qe = fe - 1, Je = re.l;
|
|
64039
64130
|
if (t(ie != null && Ee != null && F != null), Ui[0] = null, Ui[1] = Fe, Ui[2] = We, Ui[3] = Ze, re.ca = Ee, re.tb = Oe, re.c = F.width, re.i = F.height, t(0 < re.c && 0 < re.i), 1 >= fe) F = 0;
|
|
64040
64131
|
else if (re.$a = ie[de + 0] >> 0 & 3, re.Z = ie[de + 0] >> 2 & 3, re.Lc = ie[de + 0] >> 4 & 3, de = ie[de + 0] >> 6 & 3, 0 > re.$a || 1 < re.$a || 4 <= re.Z || 1 < re.Lc || de) F = 0;
|
|
64041
|
-
else if (Je.put = Nr, Je.ac =
|
|
64132
|
+
else if (Je.put = Nr, Je.ac = Cr, Je.bc = Xt, Je.ma = re, Je.width = F.width, Je.height = F.height, Je.Da = F.Da, Je.v = F.v, Je.va = F.va, Je.j = F.j, Je.o = F.o, re.$a) e: {
|
|
64042
64133
|
t(re.$a == 1), F = ui();
|
|
64043
64134
|
t: for (; ; ) {
|
|
64044
64135
|
if (F == null) {
|
|
@@ -64146,7 +64237,7 @@ function WebPDecoder(a) {
|
|
|
64146
64237
|
R[O + te] = N[F + te] >> 8;
|
|
64147
64238
|
}
|
|
64148
64239
|
function Kt() {
|
|
64149
|
-
on = ft, Tn = mt,
|
|
64240
|
+
on = ft, Tn = mt, Cs = Bt, xs = Ht;
|
|
64150
64241
|
}
|
|
64151
64242
|
function $t(N, F, R) {
|
|
64152
64243
|
j[N] = function(O, K, te, re, ie, de, fe, Ee, Oe, Xe, qe, Je, et, Ye, Ke, tt, st) {
|
|
@@ -64161,7 +64252,7 @@ function WebPDecoder(a) {
|
|
|
64161
64252
|
};
|
|
64162
64253
|
}
|
|
64163
64254
|
function yr() {
|
|
64164
|
-
ei[Fr] = Xn, ei[
|
|
64255
|
+
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;
|
|
64165
64256
|
}
|
|
64166
64257
|
function Sr(N) {
|
|
64167
64258
|
return N & -16384 ? 0 > N ? 0 : 255 : N >> Ts;
|
|
@@ -64442,7 +64533,7 @@ function WebPDecoder(a) {
|
|
|
64442
64533
|
}
|
|
64443
64534
|
return N != 0 || R != null && R.fd && (N = Er(O)), N;
|
|
64444
64535
|
}
|
|
64445
|
-
var so = 64,
|
|
64536
|
+
var so = 64, Cn = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215], Ko = 24, ao = 32, No = 8, Kr = [0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7];
|
|
64446
64537
|
ht("Predictor0", "PredictorAdd0"), j.Predictor0 = function() {
|
|
64447
64538
|
return 4278190080;
|
|
64448
64539
|
}, j.Predictor1 = function(N) {
|
|
@@ -64476,8 +64567,8 @@ function WebPDecoder(a) {
|
|
|
64476
64567
|
return N = gt(N, F[R + 0]), (pt(N >> 24 & 255, O >> 24 & 255) << 24 | pt(N >> 16 & 255, O >> 16 & 255) << 16 | pt(N >> 8 & 255, O >> 8 & 255) << 8 | pt(N >> 0 & 255, O >> 0 & 255)) >>> 0;
|
|
64477
64568
|
};
|
|
64478
64569
|
var lo = j.PredictorAdd0;
|
|
64479
|
-
j.PredictorAdd1 =
|
|
64480
|
-
var
|
|
64570
|
+
j.PredictorAdd1 = xt, ht("Predictor2", "PredictorAdd2"), ht("Predictor3", "PredictorAdd3"), ht("Predictor4", "PredictorAdd4"), ht("Predictor5", "PredictorAdd5"), ht("Predictor6", "PredictorAdd6"), ht("Predictor7", "PredictorAdd7"), ht("Predictor8", "PredictorAdd8"), ht("Predictor9", "PredictorAdd9"), ht("Predictor10", "PredictorAdd10"), ht("Predictor11", "PredictorAdd11"), ht("Predictor12", "PredictorAdd12"), ht("Predictor13", "PredictorAdd13");
|
|
64571
|
+
var xi = j.PredictorAdd2;
|
|
64481
64572
|
At("ColorIndexInverseTransform", "MapARGB", "32b", function(N) {
|
|
64482
64573
|
return N >> 8 & 255;
|
|
64483
64574
|
}, function(N) {
|
|
@@ -64489,13 +64580,13 @@ function WebPDecoder(a) {
|
|
|
64489
64580
|
});
|
|
64490
64581
|
var co = j.ColorIndexInverseTransform, bi = j.MapARGB, zi = j.VP8LColorIndexInverseTransformAlpha, Wi = j.MapAlpha, To, ai = j.VP8LPredictorsAdd = [];
|
|
64491
64582
|
ai.length = 16, (j.VP8LPredictors = []).length = 16, (j.VP8LPredictorsAdd_C = []).length = 16, (j.VP8LPredictors_C = []).length = 16;
|
|
64492
|
-
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, Cr = 1, Cn = 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, xs, Cs, ei = [];
|
|
64583
|
+
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 = [];
|
|
64493
64584
|
$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);
|
|
64494
64585
|
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);
|
|
64495
64586
|
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);
|
|
64496
64587
|
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;
|
|
64497
64588
|
this.WebPDecodeRGBA = function(N, F, R, O, K) {
|
|
64498
|
-
var te =
|
|
64589
|
+
var te = xr, re = new Go(), ie = new Ut();
|
|
64499
64590
|
re.ba = ie, ie.S = te, ie.width = [ie.width], ie.height = [ie.height];
|
|
64500
64591
|
var de = ie.width, fe = ie.height, Ee = new Jt();
|
|
64501
64592
|
if (Ee == null || N == null) var Oe = 2;
|
|
@@ -64504,7 +64595,7 @@ function WebPDecoder(a) {
|
|
|
64504
64595
|
ie.width = ie.width[0], ie.height = ie.height[0], O != null && (O[0] = ie.width), K != null && (K[0] = ie.height);
|
|
64505
64596
|
e: {
|
|
64506
64597
|
if (O = new Re(), K = new Di(), K.data = N, K.w = F, K.ha = R, K.kd = 1, F = [0], t(K != null), N = Jo(K.data, K.w, K.ha, null, null, null, F, null, K), (N == 0 || N == 7) && F[0] && (N = 4), F = N, F == 0) {
|
|
64507
|
-
if (t(re != null), O.data = K.data, O.w = K.w + K.offset, O.ha = K.ha - K.offset, O.put = Nr, O.ac =
|
|
64598
|
+
if (t(re != null), O.data = K.data, O.w = K.w + K.offset, O.ha = K.ha - K.offset, O.put = Nr, O.ac = Cr, O.bc = Xt, O.ma = re, K.xa) {
|
|
64508
64599
|
if (N = ui(), N == null) {
|
|
64509
64600
|
re = 1;
|
|
64510
64601
|
break e;
|
|
@@ -64603,15 +64694,15 @@ function WebPDecoder(a) {
|
|
|
64603
64694
|
for (j += 4, y(Y, j) + 8, j += 8; j < Y.length; ) {
|
|
64604
64695
|
var ae = p(Y, j);
|
|
64605
64696
|
j += 4;
|
|
64606
|
-
var
|
|
64697
|
+
var Ce = y(Y, j);
|
|
64607
64698
|
j += 4;
|
|
64608
|
-
var oe =
|
|
64699
|
+
var oe = Ce + (Ce & 1);
|
|
64609
64700
|
switch (ae) {
|
|
64610
64701
|
case "VP8 ":
|
|
64611
64702
|
case "VP8L":
|
|
64612
64703
|
typeof U.frames[X] > "u" && (U.frames[X] = {});
|
|
64613
64704
|
var Q = U.frames[X];
|
|
64614
|
-
Q.src_off = W ? J : j - 8, Q.src_size = G +
|
|
64705
|
+
Q.src_off = W ? J : j - 8, Q.src_size = G + Ce + 8, X++, W && (W = !1, G = 0, J = 0);
|
|
64615
64706
|
break;
|
|
64616
64707
|
case "VP8X":
|
|
64617
64708
|
var Q = U.header = {};
|
|
@@ -65150,7 +65241,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65150
65241
|
(function(a) {
|
|
65151
65242
|
function t() {
|
|
65152
65243
|
return function() {
|
|
65153
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65244
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-JI0cgjpJ.mjs");
|
|
65154
65245
|
}().catch(function(r) {
|
|
65155
65246
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
65156
65247
|
}).then(function(r) {
|
|
@@ -65632,24 +65723,24 @@ end`, y;
|
|
|
65632
65723
|
255: 7
|
|
65633
65724
|
}, p = ["(", ")", "(", "<", ">", "<", "[", "]", "[", "{", "}", "{", "«", "»", "«", "‹", "›", "‹", "⁅", "⁆", "⁅", "⁽", "⁾", "⁽", "₍", "₎", "₍", "≤", "≥", "≤", "〈", "〉", "〈", "﹙", "﹚", "﹙", "﹛", "﹜", "﹛", "﹝", "﹞", "﹝", "﹤", "﹥", "﹤"], m = new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/), g = !1, y, w, v = 0, C = 1, _, D, E, T, I, M = v;
|
|
65634
65725
|
this.__bidiEngine__ = {};
|
|
65635
|
-
var k = function(ae,
|
|
65636
|
-
if (
|
|
65726
|
+
var k = function(ae, Ce) {
|
|
65727
|
+
if (Ce)
|
|
65637
65728
|
for (var oe = 0; oe < ae.length; oe++)
|
|
65638
|
-
|
|
65729
|
+
Ce[oe] = oe;
|
|
65639
65730
|
D === void 0 && (D = H(ae)), T === void 0 && (T = H(ae));
|
|
65640
65731
|
}, L = function(ae) {
|
|
65641
|
-
var
|
|
65642
|
-
return me !== void 0 ? l[me * 256 + (
|
|
65732
|
+
var Ce = ae.charCodeAt(), oe = Ce >> 8, me = f[oe];
|
|
65733
|
+
return me !== void 0 ? l[me * 256 + (Ce & 255)] : oe === 252 || oe === 253 ? "AL" : m.test(oe) ? "L" : oe === 8 ? "R" : "N";
|
|
65643
65734
|
}, H = function(ae) {
|
|
65644
|
-
for (var
|
|
65645
|
-
if (oe = L(ae.charAt(
|
|
65735
|
+
for (var Ce = 0, oe; Ce < ae.length; Ce++) {
|
|
65736
|
+
if (oe = L(ae.charAt(Ce)), oe === "L")
|
|
65646
65737
|
return !1;
|
|
65647
65738
|
if (oe === "R")
|
|
65648
65739
|
return !0;
|
|
65649
65740
|
}
|
|
65650
65741
|
return !1;
|
|
65651
|
-
}, B = function(ae,
|
|
65652
|
-
var ue =
|
|
65742
|
+
}, B = function(ae, Ce, oe, me) {
|
|
65743
|
+
var ue = Ce[me], Q, ne, xe, Ie;
|
|
65653
65744
|
switch (ue) {
|
|
65654
65745
|
case "L":
|
|
65655
65746
|
case "R":
|
|
@@ -65668,10 +65759,10 @@ end`, y;
|
|
|
65668
65759
|
ue = "N";
|
|
65669
65760
|
break;
|
|
65670
65761
|
case "CS":
|
|
65671
|
-
me < 1 || me + 1 >=
|
|
65762
|
+
me < 1 || me + 1 >= Ce.length || (Q = oe[me - 1]) !== "EN" && Q !== "AN" || (ne = Ce[me + 1]) !== "EN" && ne !== "AN" ? ue = "N" : g && (ne = "AN"), ue = ne === Q ? ne : "N";
|
|
65672
65763
|
break;
|
|
65673
65764
|
case "ES":
|
|
65674
|
-
Q = me > 0 ? oe[me - 1] : "B", ue = Q === "EN" && me + 1 <
|
|
65765
|
+
Q = me > 0 ? oe[me - 1] : "B", ue = Q === "EN" && me + 1 < Ce.length && Ce[me + 1] === "EN" ? "EN" : "N";
|
|
65675
65766
|
break;
|
|
65676
65767
|
case "ET":
|
|
65677
65768
|
if (me > 0 && oe[me - 1] === "EN") {
|
|
@@ -65681,23 +65772,23 @@ end`, y;
|
|
|
65681
65772
|
ue = "N";
|
|
65682
65773
|
break;
|
|
65683
65774
|
}
|
|
65684
|
-
for (
|
|
65685
|
-
|
|
65686
|
-
|
|
65775
|
+
for (xe = me + 1, Ie = Ce.length; xe < Ie && Ce[xe] === "ET"; )
|
|
65776
|
+
xe++;
|
|
65777
|
+
xe < Ie && Ce[xe] === "EN" ? ue = "EN" : ue = "N";
|
|
65687
65778
|
break;
|
|
65688
65779
|
case "NSM":
|
|
65689
65780
|
if (_ && !D) {
|
|
65690
|
-
for (Ie =
|
|
65691
|
-
|
|
65692
|
-
if (
|
|
65781
|
+
for (Ie = Ce.length, xe = me + 1; xe < Ie && Ce[xe] === "NSM"; )
|
|
65782
|
+
xe++;
|
|
65783
|
+
if (xe < Ie) {
|
|
65693
65784
|
var ve = ae[me], _e = ve >= 1425 && ve <= 2303 || ve === 64286;
|
|
65694
|
-
if (Q = xe
|
|
65785
|
+
if (Q = Ce[xe], _e && (Q === "R" || Q === "AL")) {
|
|
65695
65786
|
ue = "R";
|
|
65696
65787
|
break;
|
|
65697
65788
|
}
|
|
65698
65789
|
}
|
|
65699
65790
|
}
|
|
65700
|
-
me < 1 || (Q =
|
|
65791
|
+
me < 1 || (Q = Ce[me - 1]) === "B" ? ue = "N" : ue = oe[me - 1];
|
|
65701
65792
|
break;
|
|
65702
65793
|
case "B":
|
|
65703
65794
|
g = !1, y = !0, ue = M;
|
|
@@ -65717,27 +65808,27 @@ end`, y;
|
|
|
65717
65808
|
break;
|
|
65718
65809
|
}
|
|
65719
65810
|
return ue;
|
|
65720
|
-
}, Y = function(ae,
|
|
65811
|
+
}, Y = function(ae, Ce, oe) {
|
|
65721
65812
|
for (var me = 0; me < oe; me++)
|
|
65722
65813
|
if (ae[me] === "S") {
|
|
65723
|
-
|
|
65814
|
+
Ce[me] = M;
|
|
65724
65815
|
for (var ue = me - 1; ue >= 0 && ae[ue] === "WS"; ue--)
|
|
65725
|
-
|
|
65816
|
+
Ce[ue] = M;
|
|
65726
65817
|
}
|
|
65727
|
-
}, j = function(ae,
|
|
65818
|
+
}, j = function(ae, Ce, oe) {
|
|
65728
65819
|
var me = ae.split("");
|
|
65729
65820
|
return oe && U(me, oe, {
|
|
65730
65821
|
hiLevel: M
|
|
65731
|
-
}), me.reverse(),
|
|
65732
|
-
}, U = function(ae,
|
|
65733
|
-
var me, ue, Q, ne,
|
|
65822
|
+
}), me.reverse(), Ce && Ce.reverse(), me.join("");
|
|
65823
|
+
}, U = function(ae, Ce, oe) {
|
|
65824
|
+
var me, ue, Q, ne, xe, Ie, ve = -1, _e = ae.length, pe = 0, Pe = [], De = M ? d : c, Ve = [];
|
|
65734
65825
|
for (g = !1, y = !1, w = !1, Q = 0; Q < _e; Q++)
|
|
65735
65826
|
Ve[Q] = L(ae[Q]);
|
|
65736
65827
|
for (ne = 0; ne < _e; ne++) {
|
|
65737
|
-
if (Ie = pe, Pe[ne] = B(ae, Ve, Pe, ne), pe = De[Ie][u[Pe[ne]]], me = pe & 240, pe &= 15,
|
|
65828
|
+
if (Ie = pe, Pe[ne] = B(ae, Ve, Pe, ne), pe = De[Ie][u[Pe[ne]]], me = pe & 240, pe &= 15, Ce[ne] = xe = De[pe][5], me > 0)
|
|
65738
65829
|
if (me === 16) {
|
|
65739
65830
|
for (Q = ve; Q < ne; Q++)
|
|
65740
|
-
|
|
65831
|
+
Ce[Q] = 1;
|
|
65741
65832
|
ve = -1;
|
|
65742
65833
|
} else
|
|
65743
65834
|
ve = -1;
|
|
@@ -65745,55 +65836,55 @@ end`, y;
|
|
|
65745
65836
|
ve === -1 && (ve = ne);
|
|
65746
65837
|
else if (ve > -1) {
|
|
65747
65838
|
for (Q = ve; Q < ne; Q++)
|
|
65748
|
-
|
|
65839
|
+
Ce[Q] = xe;
|
|
65749
65840
|
ve = -1;
|
|
65750
65841
|
}
|
|
65751
|
-
Ve[ne] === "B" && (
|
|
65842
|
+
Ve[ne] === "B" && (Ce[ne] = 0), oe.hiLevel |= xe;
|
|
65752
65843
|
}
|
|
65753
|
-
w && Y(Ve,
|
|
65754
|
-
}, X = function(ae,
|
|
65844
|
+
w && Y(Ve, Ce, _e);
|
|
65845
|
+
}, X = function(ae, Ce, oe, me, ue) {
|
|
65755
65846
|
if (!(ue.hiLevel < ae)) {
|
|
65756
65847
|
if (ae === 1 && M === C && !y) {
|
|
65757
|
-
|
|
65848
|
+
Ce.reverse(), oe && oe.reverse();
|
|
65758
65849
|
return;
|
|
65759
65850
|
}
|
|
65760
|
-
for (var Q, ne,
|
|
65851
|
+
for (var Q, ne, xe, Ie, ve = Ce.length, _e = 0; _e < ve; ) {
|
|
65761
65852
|
if (me[_e] >= ae) {
|
|
65762
|
-
for (
|
|
65763
|
-
|
|
65764
|
-
for (Ie = _e, ne =
|
|
65765
|
-
Q =
|
|
65766
|
-
_e =
|
|
65853
|
+
for (xe = _e + 1; xe < ve && me[xe] >= ae; )
|
|
65854
|
+
xe++;
|
|
65855
|
+
for (Ie = _e, ne = xe - 1; Ie < ne; Ie++, ne--)
|
|
65856
|
+
Q = Ce[Ie], Ce[Ie] = Ce[ne], Ce[ne] = Q, oe && (Q = oe[Ie], oe[Ie] = oe[ne], oe[ne] = Q);
|
|
65857
|
+
_e = xe;
|
|
65767
65858
|
}
|
|
65768
65859
|
_e++;
|
|
65769
65860
|
}
|
|
65770
65861
|
}
|
|
65771
|
-
}, W = function(ae,
|
|
65862
|
+
}, W = function(ae, Ce, oe) {
|
|
65772
65863
|
if (oe.hiLevel !== 0 && I)
|
|
65773
65864
|
for (var me = 0, ue; me < ae.length; me++)
|
|
65774
|
-
|
|
65775
|
-
}, G = function(ae,
|
|
65865
|
+
Ce[me] === 1 && (ue = p.indexOf(ae[me]), ue >= 0 && (ae[me] = p[ue + 1]));
|
|
65866
|
+
}, G = function(ae, Ce, oe) {
|
|
65776
65867
|
var me = ae.split(""), ue = {
|
|
65777
65868
|
hiLevel: M
|
|
65778
65869
|
};
|
|
65779
|
-
return oe || (oe = []), U(me, oe, ue), W(me, oe, ue), X(C + 1, me,
|
|
65870
|
+
return oe || (oe = []), U(me, oe, ue), W(me, oe, ue), X(C + 1, me, Ce, oe, ue), X(C, me, Ce, oe, ue), me.join("");
|
|
65780
65871
|
};
|
|
65781
|
-
return this.__bidiEngine__.doBidiReorder = function(J, ae,
|
|
65872
|
+
return this.__bidiEngine__.doBidiReorder = function(J, ae, Ce) {
|
|
65782
65873
|
if (k(J, ae), !_ && E && !T)
|
|
65783
|
-
M = D ? C : v, J = G(J, ae,
|
|
65874
|
+
M = D ? C : v, J = G(J, ae, Ce);
|
|
65784
65875
|
else if (_ && E && D ^ T)
|
|
65785
|
-
M = D ? C : v, J = j(J, ae,
|
|
65876
|
+
M = D ? C : v, J = j(J, ae, Ce);
|
|
65786
65877
|
else if (!_ && E && T)
|
|
65787
|
-
M = D ? C : v, J = G(J, ae,
|
|
65878
|
+
M = D ? C : v, J = G(J, ae, Ce), J = j(J, ae);
|
|
65788
65879
|
else if (_ && !D && !E && !T)
|
|
65789
|
-
M = v, J = G(J, ae,
|
|
65880
|
+
M = v, J = G(J, ae, Ce);
|
|
65790
65881
|
else if (_ && !E && D ^ T)
|
|
65791
|
-
J = j(J, ae), D ? (M = v, J = G(J, ae,
|
|
65882
|
+
J = j(J, ae), D ? (M = v, J = G(J, ae, Ce)) : (M = C, J = G(J, ae, Ce), J = j(J, ae));
|
|
65792
65883
|
else if (_ && D && !E && T)
|
|
65793
|
-
M = C, J = G(J, ae,
|
|
65884
|
+
M = C, J = G(J, ae, Ce), J = j(J, ae);
|
|
65794
65885
|
else if (!_ && !E && D ^ T) {
|
|
65795
65886
|
var oe = I;
|
|
65796
|
-
D ? (M = C, J = G(J, ae,
|
|
65887
|
+
D ? (M = C, J = G(J, ae, Ce), M = v, I = !1, J = G(J, ae, Ce), I = oe) : (M = v, J = G(J, ae, Ce), J = j(J, ae), M = C, I = !1, J = G(J, ae, Ce), I = oe, J = j(J, ae));
|
|
65797
65888
|
}
|
|
65798
65889
|
return J;
|
|
65799
65890
|
}, this.__bidiEngine__.setOptions = function(J) {
|
|
@@ -66019,7 +66110,7 @@ var HeadTable = function(a) {
|
|
|
66019
66110
|
t.pos = m;
|
|
66020
66111
|
}
|
|
66021
66112
|
return a.encode = function(t, r) {
|
|
66022
|
-
var o, n, s, l, c, d, u, f, p, m, g, y, w, v, C, _, D, E, T, I, M, k, L, H, B, Y, j, U, X, W, G, J, ae,
|
|
66113
|
+
var o, n, s, l, c, d, u, f, p, m, g, y, w, v, C, _, D, E, T, I, M, k, L, H, B, Y, j, U, X, W, G, J, ae, Ce, oe, me, ue, Q, ne, xe, Ie, ve, _e, pe, Pe, De;
|
|
66023
66114
|
switch (U = new Data(), l = Object.keys(t).sort(function(Ve, Te) {
|
|
66024
66115
|
return Ve - Te;
|
|
66025
66116
|
}), r) {
|
|
@@ -66042,7 +66133,7 @@ var HeadTable = function(a) {
|
|
|
66042
66133
|
maxGlyphID: w + 1
|
|
66043
66134
|
};
|
|
66044
66135
|
case "unicode":
|
|
66045
|
-
for (Y = [], p = [], D = 0, _ = {}, o = {}, C = u = null, W = 0,
|
|
66136
|
+
for (Y = [], p = [], D = 0, _ = {}, o = {}, C = u = null, W = 0, Ce = l.length; W < Ce; W++)
|
|
66046
66137
|
n = l[W], T = t[n], _[T] == null && (_[T] = ++D), o[n] = {
|
|
66047
66138
|
old: T,
|
|
66048
66139
|
new: _[T]
|
|
@@ -66066,7 +66157,7 @@ var HeadTable = function(a) {
|
|
|
66066
66157
|
c = d[pe], U.writeUInt16(c);
|
|
66067
66158
|
for (Pe = 0, ne = I.length; Pe < ne; Pe++)
|
|
66068
66159
|
E = I[Pe], U.writeUInt16(E);
|
|
66069
|
-
for (De = 0,
|
|
66160
|
+
for (De = 0, xe = g.length; De < xe; De++)
|
|
66070
66161
|
w = g[De], U.writeUInt16(w);
|
|
66071
66162
|
return {
|
|
66072
66163
|
charMap: o,
|
|
@@ -67921,7 +68012,7 @@ function requireLocalforage() {
|
|
|
67921
68012
|
});
|
|
67922
68013
|
return g(be, ge, ge), be;
|
|
67923
68014
|
}
|
|
67924
|
-
function
|
|
68015
|
+
function Ce(ge) {
|
|
67925
68016
|
L(ge);
|
|
67926
68017
|
for (var Ae = _[ge.name], be = Ae.forages, ke = 0; ke < be.length; ke++) {
|
|
67927
68018
|
var je = be[ke];
|
|
@@ -67948,7 +68039,7 @@ function requireLocalforage() {
|
|
|
67948
68039
|
if (!ge.db || Re.name === "NotFoundError" && !ge.db.objectStoreNames.contains(ge.storeName) && ge.version <= ge.db.version)
|
|
67949
68040
|
return ge.db && (ge.version = ge.db.version + 1), U(ge);
|
|
67950
68041
|
}).then(function() {
|
|
67951
|
-
return
|
|
68042
|
+
return Ce(ge).then(function() {
|
|
67952
68043
|
oe(ge, Ae, be, ke - 1);
|
|
67953
68044
|
});
|
|
67954
68045
|
}).catch(be);
|
|
@@ -68049,7 +68140,7 @@ function requireLocalforage() {
|
|
|
68049
68140
|
});
|
|
68050
68141
|
return m(ke, Ae), ke;
|
|
68051
68142
|
}
|
|
68052
|
-
function
|
|
68143
|
+
function xe(ge, Ae, be) {
|
|
68053
68144
|
var ke = this;
|
|
68054
68145
|
ge = y(ge);
|
|
68055
68146
|
var je = new p(function(Re, it) {
|
|
@@ -68293,7 +68384,7 @@ function requireLocalforage() {
|
|
|
68293
68384
|
_support: u(),
|
|
68294
68385
|
iterate: ne,
|
|
68295
68386
|
getItem: Q,
|
|
68296
|
-
setItem:
|
|
68387
|
+
setItem: xe,
|
|
68297
68388
|
removeItem: Ie,
|
|
68298
68389
|
clear: ve,
|
|
68299
68390
|
length: _e,
|
|
@@ -68304,7 +68395,7 @@ function requireLocalforage() {
|
|
|
68304
68395
|
function Te() {
|
|
68305
68396
|
return typeof openDatabase == "function";
|
|
68306
68397
|
}
|
|
68307
|
-
var He = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", we = "~~local_forage_type~", le = /^~~local_forage_type~([^~]+)~/, he = "__lfsc__:", $ = he.length, Ne = "arbf", Be = "blob", Qe = "si08", Me = "ui08", ze = "uic8", ot = "si16", ht = "si32", bt = "ur16", gt = "ui32", _t = "fl32", pt = "fl64", Tt = $ + Ne.length,
|
|
68398
|
+
var He = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", we = "~~local_forage_type~", le = /^~~local_forage_type~([^~]+)~/, he = "__lfsc__:", $ = he.length, Ne = "arbf", Be = "blob", Qe = "si08", Me = "ui08", ze = "uic8", ot = "si16", ht = "si32", bt = "ur16", gt = "ui32", _t = "fl32", pt = "fl64", Tt = $ + Ne.length, xt = Object.prototype.toString;
|
|
68308
68399
|
function It(ge) {
|
|
68309
68400
|
var Ae = ge.length * 0.75, be = ge.length, ke, je = 0, Re, it, rt, ct;
|
|
68310
68401
|
ge[ge.length - 1] === "=" && (Ae--, ge[ge.length - 2] === "=" && Ae--);
|
|
@@ -68321,7 +68412,7 @@ function requireLocalforage() {
|
|
|
68321
68412
|
}
|
|
68322
68413
|
function Qt(ge, Ae) {
|
|
68323
68414
|
var be = "";
|
|
68324
|
-
if (ge && (be =
|
|
68415
|
+
if (ge && (be = xt.call(ge)), ge && (be === "[object ArrayBuffer]" || ge.buffer && xt.call(ge.buffer) === "[object ArrayBuffer]")) {
|
|
68325
68416
|
var ke, je = he;
|
|
68326
68417
|
ge instanceof ArrayBuffer ? (ke = ge, je += Ne) : (ke = ge.buffer, be === "[object Int8Array]" ? je += Qe : be === "[object Uint8Array]" ? je += Me : be === "[object Uint8ClampedArray]" ? je += ze : be === "[object Int16Array]" ? je += ot : be === "[object Uint16Array]" ? je += bt : be === "[object Int32Array]" ? je += ht : be === "[object Uint32Array]" ? je += gt : be === "[object Float32Array]" ? je += _t : be === "[object Float64Array]" ? je += pt : Ae(new Error("Failed to get type for BinaryArray"))), Ae(je + St(ke));
|
|
68327
68418
|
} else if (be === "[object Blob]") {
|
|
@@ -68634,7 +68725,7 @@ function requireLocalforage() {
|
|
|
68634
68725
|
keys: nr,
|
|
68635
68726
|
dropInstance: Pt
|
|
68636
68727
|
};
|
|
68637
|
-
function
|
|
68728
|
+
function Cr() {
|
|
68638
68729
|
try {
|
|
68639
68730
|
return typeof localStorage < "u" && "setItem" in localStorage && // in IE8 typeof localStorage.setItem === 'object'
|
|
68640
68731
|
!!localStorage.setItem;
|
|
@@ -68772,7 +68863,7 @@ function requireLocalforage() {
|
|
|
68772
68863
|
var Gi = {
|
|
68773
68864
|
_driver: "localStorageWrapper",
|
|
68774
68865
|
_initStorage: tr,
|
|
68775
|
-
_support:
|
|
68866
|
+
_support: Cr(),
|
|
68776
68867
|
iterate: lr,
|
|
68777
68868
|
getItem: Zt,
|
|
68778
68869
|
setItem: Ur,
|
|
@@ -70295,17 +70386,17 @@ class DocController {
|
|
|
70295
70386
|
G.copyProperty(W, G), G.creatorIndex = void 0, G.deleterIndex = void 0, G.modifierIndex = void 0;
|
|
70296
70387
|
const J = j.get(U[X]);
|
|
70297
70388
|
if (J == "add") {
|
|
70298
|
-
const ae = k.indexOf("(/add)", U[X]),
|
|
70389
|
+
const ae = k.indexOf("(/add)", U[X]), Ce = k.substring(U[X] + 5, ae), me = new UserHistory(this._hoEditorFactoryID, HistoryEditType.hetCreate).userCompare();
|
|
70299
70390
|
G.creatorIndex = me, G.strikeout = !1, L = a.docTree.styleCompare(G);
|
|
70300
|
-
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText,
|
|
70391
|
+
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText, Ce, L);
|
|
70301
70392
|
w = this.insertNodeByPath(w, ue, p, !!(v && E >= 1), m);
|
|
70302
70393
|
} else if (J == "del") {
|
|
70303
|
-
const ae = k.indexOf("(/del)", U[X]),
|
|
70394
|
+
const ae = k.indexOf("(/del)", U[X]), Ce = k.substring(U[X] + 5, ae), me = new UserHistory(this._hoEditorFactoryID, HistoryEditType.hetDelete).userCompare();
|
|
70304
70395
|
G.deleterIndex = me, G.strikeout = !0, L = a.docTree.styleCompare(G);
|
|
70305
|
-
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText,
|
|
70396
|
+
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText, Ce, L);
|
|
70306
70397
|
w = this.insertNodeByPath(w, ue, p, !!(v && E >= 1), m);
|
|
70307
70398
|
} else {
|
|
70308
|
-
const ae = k.indexOf("(/old)", U[X]),
|
|
70399
|
+
const ae = k.indexOf("(/old)", U[X]), Ce = k.substring(U[X] + 5, ae), oe = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText, Ce, L);
|
|
70309
70400
|
w = this.insertNodeByPath(w, oe, p, !!(v && E >= 1), m);
|
|
70310
70401
|
}
|
|
70311
70402
|
}
|
|
@@ -77774,11 +77865,11 @@ var _sfc_render$S = function a() {
|
|
|
77774
77865
|
}, expression: "item.range[1]" } }), r("span", { staticStyle: { padding: "0 10px" } }, [t._v(" :")]), r("a-input", { staticClass: "ft-score-mapping-input ft-score-mapping-textarea", staticStyle: { width: "173px" }, attrs: { type: "textarea", autocomplete: "off" }, model: { value: o.text, callback: function(s) {
|
|
77775
77866
|
t.$set(o, "text", s);
|
|
77776
77867
|
}, expression: "item.text" } })], 1);
|
|
77777
|
-
}), r("li", [r("a-button", { on: { click: t.addFtScoreMappingItem } }, [r("a-icon", { staticStyle: { "font-size": "20px" }, attrs: { type: "folder-add" } })], 1)], 1)], 2)])]) : t.formula === "bodySurfaceArea" ? r("section", [r("div", { staticStyle: { "line-height": "20px", "font-size": "14px" } }, [r("div", { directives: [{ name: "show", rawName: "v-show", value: t.bodySurfaceAreaType == "0", expression: "bodySurfaceAreaType == '0'" }] }, [r("p", { staticStyle: { "font-weight": "bold" } }, [t._v("
|
|
77868
|
+
}), r("li", [r("a-button", { on: { click: t.addFtScoreMappingItem } }, [r("a-icon", { staticStyle: { "font-size": "20px" }, attrs: { type: "folder-add" } })], 1)], 1)], 2)])]) : t.formula === "bodySurfaceArea" ? r("section", [r("div", { staticStyle: { "line-height": "20px", "font-size": "14px" } }, [r("div", { directives: [{ name: "show", rawName: "v-show", value: t.bodySurfaceAreaType == "0", expression: "bodySurfaceAreaType == '0'" }] }, [r("p", { staticStyle: { "font-weight": "bold" } }, [t._v(" 体表面积公式: ")]), r("p", [t._v(" ")]), r("p", { staticStyle: { "margin-bottom": "6px" } }, [t._v("体重 > 30kg "), r("a-tag", { attrs: { color: "blue" } }, [t._v("BSA (m²) = 1.05 + (体重(kg) - 30) * 0.02")])], 1), r("p", [t._v("体重 <= 30kg "), r("a-tag", { attrs: { color: "blue" } }, [t._v("BSA (m²) = 0.035 * 体重(kg) + 0.1")])], 1), r("p", [t._v(" ")])]), r("div", { directives: [{ name: "show", rawName: "v-show", value: t.bodySurfaceAreaType == "1", expression: "bodySurfaceAreaType == '1'" }] }, [t._m(0), r("p", [t._v(" ")]), r("p", [r("a-tag", { attrs: { color: "blue" } }, [t._v("BSA (m²) = 0.0061*身高 (cm) +0.0128*体重(kg) -0.1529")])], 1), r("p", [t._v(" ")])]), r("div", { directives: [{ name: "show", rawName: "v-show", value: t.bodySurfaceAreaType == "2", expression: "bodySurfaceAreaType == '2'" }] }, [r("p", { staticStyle: { "font-weight": "bold" } }, [t._v(" 杜波依斯公式(DuBois): ")]), r("p", [t._v(" ")]), r("p", [r("a-tag", { attrs: { color: "blue" } }, [t._v("BSA (m²) = 0.007184 * ( 体重(kg)"), r("sup", [t._v("0.425")]), t._v(" * 身高(cm)"), r("sup", [t._v("0.725")]), t._v(" )")])], 1), r("p", [t._v(" ")])]), r("div", { directives: [{ name: "show", rawName: "v-show", value: t.bodySurfaceAreaType == "3", expression: "bodySurfaceAreaType == '3'" }] }, [r("p", { staticStyle: { "font-weight": "bold" } }, [t._v(" 肿瘤医生APP Mosteller公式: ")]), r("p", [t._v(" ")]), r("p", [r("a-tag", { attrs: { color: "blue" } }, [t._v("BSA (m²) = √[身高(cm) * 体重(kg) / 3600]")])], 1), r("p", [t._v(" ")])])]), r("a-radio-group", { staticStyle: { "font-size": "14px" }, attrs: { size: "large" }, model: { value: t.bodySurfaceAreaType, callback: function(o) {
|
|
77778
77869
|
t.bodySurfaceAreaType = o;
|
|
77779
|
-
}, expression: "bodySurfaceAreaType" } }, [r("a-radio", { attrs: { value: "0" } }, [t._v("
|
|
77870
|
+
}, expression: "bodySurfaceAreaType" } }, [r("a-radio", { attrs: { value: "0" } }, [t._v("公式1")]), r("a-radio", { attrs: { value: "1" } }, [t._v("公式2"), r("span", { staticStyle: { color: "red" } }, [t._v("(推荐)")])]), r("a-radio", { attrs: { value: "2" } }, [t._v("公式3")]), r("a-radio", { attrs: { value: "3" } }, [t._v("公式4")])], 1), r("p", [t._v(" ")]), r("div", { staticClass: "ho-table-features-list" }, [r("p", [t._v(i18nHelper("04-001-009-EMR.3.3.292", null, "体重"))]), r("a-input", { attrs: { autocomplete: "off", "addon-after": "kg" }, model: { value: t.bodySurfaceAreaWeight, callback: function(o) {
|
|
77780
77871
|
t.bodySurfaceAreaWeight = o;
|
|
77781
|
-
}, expression: "bodySurfaceAreaWeight" } })], 1), t.bodySurfaceAreaType == "1" || t.bodySurfaceAreaType == "2" ? r("div", { staticClass: "ho-table-features-list" }, [r("p", [t._v(i18nHelper("04-001-009-EMR.3.3.293", null, "身高"))]), r("a-input", { attrs: { autocomplete: "off", "addon-after": "cm" }, model: { value: t.bodySurfaceAreaHeight, callback: function(o) {
|
|
77872
|
+
}, expression: "bodySurfaceAreaWeight" } })], 1), t.bodySurfaceAreaType == "1" || t.bodySurfaceAreaType == "2" || t.bodySurfaceAreaType == "3" ? r("div", { staticClass: "ho-table-features-list" }, [r("p", [t._v(i18nHelper("04-001-009-EMR.3.3.293", null, "身高"))]), r("a-input", { attrs: { autocomplete: "off", "addon-after": "cm" }, model: { value: t.bodySurfaceAreaHeight, callback: function(o) {
|
|
77782
77873
|
t.bodySurfaceAreaHeight = o;
|
|
77783
77874
|
}, expression: "bodySurfaceAreaHeight" } })], 1) : t._e()], 1) : t.formula === "idealWeight" ? r("section", [r("div", { staticStyle: { height: "36px", "line-height": "36px" } }, [t._v("示例:理想体重 = (身高cm)-105")]), r("div", { staticStyle: { height: "36px", "line-height": "36px" } }, [t._v("范围 = (0.9 * (身高(cm) - 105)) ~ (1.1 * (身高(cm) - 105)), 计算结果小于0时, 显示“?” ")]), r("div", { staticClass: "ho-table-features-list" }, [r("span", { staticStyle: { "margin-right": "34px" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.293", null, "身高"))]), r("a-input", { attrs: { autocomplete: "off", "addon-after": "cm" }, model: { value: t.idealWeightHeight, callback: function(o) {
|
|
77784
77875
|
t.idealWeightHeight = o;
|
|
@@ -77815,7 +77906,7 @@ var _sfc_render$S = function a() {
|
|
|
77815
77906
|
}, expression: "curve.lineColor" } })], 1)]) : t._e()]), r("footer", { staticClass: "ho-modal-footer" }, [r("a-button", { attrs: { type: "primary" }, on: { click: t.sure } }, [t._v(i18nHelper("04-001-009-EMR.3.3.347", null, "确定"))]), r("a-button", { staticStyle: { "margin-left": "30px" }, on: { click: t.handleClose } }, [t._v(i18nHelper("04-001-009-EMR.3.3.346", null, "取消"))])], 1)]);
|
|
77816
77907
|
}, _sfc_staticRenderFns$S = [function() {
|
|
77817
77908
|
var a = this, t = a._self._c;
|
|
77818
|
-
return t("p", { staticStyle: { "font-weight": "bold" } }, [a._v("
|
|
77909
|
+
return t("p", { staticStyle: { "font-weight": "bold" } }, [a._v(" 许文生公式(Mosteller 简化版): "), t("span", { staticStyle: { color: "red" } }, [a._v("(推荐)")])]);
|
|
77819
77910
|
}, function() {
|
|
77820
77911
|
var a = this, t = a._self._c;
|
|
77821
77912
|
return t("p", { staticStyle: { "margin-top": "10px" } }, [t("span", [a._v(i18nHelper("04-001-009-EMR.3.3.254", null, "单元格编号"))]), a._v(":")]);
|
|
@@ -78969,17 +79060,17 @@ function requireVueColor_min() {
|
|
|
78969
79060
|
};
|
|
78970
79061
|
r.exports = function(C, _, D, E, T, I, M) {
|
|
78971
79062
|
p(D, _, E);
|
|
78972
|
-
var k, L, H, B = function(
|
|
78973
|
-
if (!w &&
|
|
78974
|
-
switch (
|
|
79063
|
+
var k, L, H, B = function(Ce) {
|
|
79064
|
+
if (!w && Ce in X) return X[Ce];
|
|
79065
|
+
switch (Ce) {
|
|
78975
79066
|
case "keys":
|
|
78976
79067
|
case "values":
|
|
78977
79068
|
return function() {
|
|
78978
|
-
return new D(this,
|
|
79069
|
+
return new D(this, Ce);
|
|
78979
79070
|
};
|
|
78980
79071
|
}
|
|
78981
79072
|
return function() {
|
|
78982
|
-
return new D(this,
|
|
79073
|
+
return new D(this, Ce);
|
|
78983
79074
|
};
|
|
78984
79075
|
}, Y = _ + " Iterator", j = T == "values", U = !1, X = C.prototype, W = X[y] || X["@@iterator"] || T && X[T], G = W || B(T), J = T ? j ? B("entries") : G : void 0, ae = _ == "Array" && X.entries || W;
|
|
78985
79076
|
if (ae && (H = g(ae.call(new C()))) !== Object.prototype && H.next && (m(H, Y, !0), s || u(H, y) || d(H, y, v)), j && W && W.name !== "values" && (U = !0, G = function() {
|
|
@@ -79294,8 +79385,8 @@ function requireVueColor_min() {
|
|
|
79294
79385
|
function s(oe) {
|
|
79295
79386
|
return oe && oe.__esModule ? oe : { default: oe };
|
|
79296
79387
|
}
|
|
79297
|
-
var l = n(60), c = s(l), d = n(69), u = s(d), f = n(73), p = s(f), m = n(77), g = s(m), y = n(115), w = s(y), v = n(120), C = s(v), _ = n(135), D = s(_), E = n(139), T = s(E), I = n(143), M = s(I), k = n(19), L = s(k), H = n(20), B = s(H), Y = n(5), j = s(Y), U = n(12), X = s(U), W = n(18), G = s(W), J = n(3), ae = s(J),
|
|
79298
|
-
r.exports =
|
|
79388
|
+
var l = n(60), c = s(l), d = n(69), u = s(d), f = n(73), p = s(f), m = n(77), g = s(m), y = n(115), w = s(y), v = n(120), C = s(v), _ = n(135), D = s(_), E = n(139), T = s(E), I = n(143), M = s(I), k = n(19), L = s(k), H = n(20), B = s(H), Y = n(5), j = s(Y), U = n(12), X = s(U), W = n(18), G = s(W), J = n(3), ae = s(J), Ce = { version: "2.8.2", Compact: c.default, Grayscale: u.default, Twitter: M.default, Material: p.default, Slider: g.default, Swatches: w.default, Photoshop: C.default, Sketch: D.default, Chrome: T.default, Alpha: L.default, Checkboard: B.default, EditableInput: j.default, Hue: X.default, Saturation: G.default, ColorMixin: ae.default };
|
|
79389
|
+
r.exports = Ce;
|
|
79299
79390
|
}, function(r, o, n) {
|
|
79300
79391
|
function s(g) {
|
|
79301
79392
|
n(61);
|
|
@@ -79436,15 +79527,15 @@ function requireVueColor_min() {
|
|
|
79436
79527
|
return { r: 255 * [$, Me, Qe, Qe, ze, $][ot], g: 255 * [ze, $, $, Me, Qe, Qe][ot], b: 255 * [Qe, Qe, ze, $, $, Me][ot] };
|
|
79437
79528
|
}
|
|
79438
79529
|
function y(le, he, $, Ne) {
|
|
79439
|
-
var Be = [
|
|
79530
|
+
var Be = [Ce(pe(le).toString(16)), Ce(pe(he).toString(16)), Ce(pe($).toString(16))];
|
|
79440
79531
|
return Ne && Be[0].charAt(0) == Be[0].charAt(1) && Be[1].charAt(0) == Be[1].charAt(1) && Be[2].charAt(0) == Be[2].charAt(1) ? Be[0].charAt(0) + Be[1].charAt(0) + Be[2].charAt(0) : Be.join("");
|
|
79441
79532
|
}
|
|
79442
79533
|
function w(le, he, $, Ne, Be) {
|
|
79443
|
-
var Qe = [
|
|
79534
|
+
var Qe = [Ce(pe(le).toString(16)), Ce(pe(he).toString(16)), Ce(pe($).toString(16)), Ce(me(Ne))];
|
|
79444
79535
|
return Be && Qe[0].charAt(0) == Qe[0].charAt(1) && Qe[1].charAt(0) == Qe[1].charAt(1) && Qe[2].charAt(0) == Qe[2].charAt(1) && Qe[3].charAt(0) == Qe[3].charAt(1) ? Qe[0].charAt(0) + Qe[1].charAt(0) + Qe[2].charAt(0) + Qe[3].charAt(0) : Qe.join("");
|
|
79445
79536
|
}
|
|
79446
79537
|
function v(le, he, $, Ne) {
|
|
79447
|
-
return [
|
|
79538
|
+
return [Ce(me(Ne)), Ce(pe(le).toString(16)), Ce(pe(he).toString(16)), Ce(pe($).toString(16))].join("");
|
|
79448
79539
|
}
|
|
79449
79540
|
function C(le, he) {
|
|
79450
79541
|
he = he === 0 ? 0 : he || 10;
|
|
@@ -79525,7 +79616,7 @@ function requireVueColor_min() {
|
|
|
79525
79616
|
function ae(le) {
|
|
79526
79617
|
return typeof le == "string" && le.indexOf("%") != -1;
|
|
79527
79618
|
}
|
|
79528
|
-
function
|
|
79619
|
+
function Ce(le) {
|
|
79529
79620
|
return le.length == 1 ? "0" + le : "" + le;
|
|
79530
79621
|
}
|
|
79531
79622
|
function oe(le) {
|
|
@@ -79548,7 +79639,7 @@ function requireVueColor_min() {
|
|
|
79548
79639
|
var $;
|
|
79549
79640
|
return ($ = we.rgb.exec(le)) ? { r: $[1], g: $[2], b: $[3] } : ($ = we.rgba.exec(le)) ? { r: $[1], g: $[2], b: $[3], a: $[4] } : ($ = we.hsl.exec(le)) ? { h: $[1], s: $[2], l: $[3] } : ($ = we.hsla.exec(le)) ? { h: $[1], s: $[2], l: $[3], a: $[4] } : ($ = we.hsv.exec(le)) ? { h: $[1], s: $[2], v: $[3] } : ($ = we.hsva.exec(le)) ? { h: $[1], s: $[2], v: $[3], a: $[4] } : ($ = we.hex8.exec(le)) ? { r: G($[1]), g: G($[2]), b: G($[3]), a: ue($[4]), format: he ? "name" : "hex8" } : ($ = we.hex6.exec(le)) ? { r: G($[1]), g: G($[2]), b: G($[3]), format: he ? "name" : "hex" } : ($ = we.hex4.exec(le)) ? { r: G($[1] + "" + $[1]), g: G($[2] + "" + $[2]), b: G($[3] + "" + $[3]), a: ue($[4] + "" + $[4]), format: he ? "name" : "hex8" } : !!($ = we.hex3.exec(le)) && { r: G($[1] + "" + $[1]), g: G($[2] + "" + $[2]), b: G($[3] + "" + $[3]), format: he ? "name" : "hex" };
|
|
79550
79641
|
}
|
|
79551
|
-
function
|
|
79642
|
+
function xe(le) {
|
|
79552
79643
|
var he, $;
|
|
79553
79644
|
return le = le || { level: "AA", size: "small" }, he = (le.level || "AA").toUpperCase(), $ = (le.size || "small").toLowerCase(), he !== "AA" && he !== "AAA" && (he = "AA"), $ !== "small" && $ !== "large" && ($ = "small"), { level: he, size: $ };
|
|
79554
79645
|
}
|
|
@@ -79668,7 +79759,7 @@ function requireVueColor_min() {
|
|
|
79668
79759
|
return (l.max($.getLuminance(), Ne.getLuminance()) + 0.05) / (l.min($.getLuminance(), Ne.getLuminance()) + 0.05);
|
|
79669
79760
|
}, c.isReadable = function(le, he, $) {
|
|
79670
79761
|
var Ne, Be, Qe = c.readability(le, he);
|
|
79671
|
-
switch (Be = !1, Ne =
|
|
79762
|
+
switch (Be = !1, Ne = xe($), Ne.level + Ne.size) {
|
|
79672
79763
|
case "AAsmall":
|
|
79673
79764
|
case "AAAlarge":
|
|
79674
79765
|
Be = Qe >= 4.5;
|
|
@@ -80086,7 +80177,7 @@ function requireVueColor_min() {
|
|
|
80086
80177
|
}, function(r, o, n) {
|
|
80087
80178
|
n(102), n(108), n(109), n(110), r.exports = n(24).Symbol;
|
|
80088
80179
|
}, function(r, o, n) {
|
|
80089
|
-
var s = n(4), l = n(6), c = n(9), d = n(41), u = n(44), f = n(103).KEY, p = n(15), m = n(29), g = n(31), y = n(17), w = n(11), v = n(32), C = n(33), _ = n(104), D = n(105), E = n(13), T = n(10), I = n(25), M = n(16), k = n(45), L = n(106), H = n(107), B = n(8), Y = n(27), j = H.f, U = B.f, X = L.f, W = s.Symbol, G = s.JSON, J = G && G.stringify, ae = w("_hidden"),
|
|
80180
|
+
var s = n(4), l = n(6), c = n(9), d = n(41), u = n(44), f = n(103).KEY, p = n(15), m = n(29), g = n(31), y = n(17), w = n(11), v = n(32), C = n(33), _ = n(104), D = n(105), E = n(13), T = n(10), I = n(25), M = n(16), k = n(45), L = n(106), H = n(107), B = n(8), Y = n(27), j = H.f, U = B.f, X = L.f, W = s.Symbol, G = s.JSON, J = G && G.stringify, ae = w("_hidden"), Ce = w("toPrimitive"), oe = {}.propertyIsEnumerable, me = m("symbol-registry"), ue = m("symbols"), Q = m("op-symbols"), ne = Object.prototype, xe = typeof W == "function", Ie = s.QObject, ve = !Ie || !Ie.prototype || !Ie.prototype.findChild, _e = c && p(function() {
|
|
80090
80181
|
return k(U({}, "a", { get: function() {
|
|
80091
80182
|
return U(this, "a", { value: 7 }).a;
|
|
80092
80183
|
} })).a != 7;
|
|
@@ -80096,7 +80187,7 @@ function requireVueColor_min() {
|
|
|
80096
80187
|
} : U, pe = function(Me) {
|
|
80097
80188
|
var ze = ue[Me] = k(W.prototype);
|
|
80098
80189
|
return ze._k = Me, ze;
|
|
80099
|
-
}, Pe =
|
|
80190
|
+
}, Pe = xe && typeof W.iterator == "symbol" ? function(Me) {
|
|
80100
80191
|
return typeof Me == "symbol";
|
|
80101
80192
|
} : function(Me) {
|
|
80102
80193
|
return Me instanceof W;
|
|
@@ -80123,7 +80214,7 @@ function requireVueColor_min() {
|
|
|
80123
80214
|
for (var ze, ot = Me === ne, ht = X(ot ? Q : T(Me)), bt = [], gt = 0; ht.length > gt; ) !l(ue, ze = ht[gt++]) || ot && !l(ne, ze) || bt.push(ue[ze]);
|
|
80124
80215
|
return bt;
|
|
80125
80216
|
};
|
|
80126
|
-
|
|
80217
|
+
xe || (W = function() {
|
|
80127
80218
|
if (this instanceof W) throw TypeError("Symbol is not a constructor!");
|
|
80128
80219
|
var Me = y(arguments.length > 0 ? arguments[0] : void 0), ze = function(ot) {
|
|
80129
80220
|
this === ne && ze.call(Q, ot), l(this, ae) && l(this[ae], Me) && (this[ae][Me] = !1), _e(this, Me, M(1, ot));
|
|
@@ -80133,10 +80224,10 @@ function requireVueColor_min() {
|
|
|
80133
80224
|
return this._k;
|
|
80134
80225
|
}), H.f = we, B.f = De, n(49).f = L.f = le, n(34).f = He, n(48).f = he, c && !n(23) && u(ne, "propertyIsEnumerable", He, !0), v.f = function(Me) {
|
|
80135
80226
|
return pe(w(Me));
|
|
80136
|
-
}), d(d.G + d.W + d.F * !
|
|
80227
|
+
}), d(d.G + d.W + d.F * !xe, { Symbol: W });
|
|
80137
80228
|
for (var $ = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), Ne = 0; $.length > Ne; ) w($[Ne++]);
|
|
80138
80229
|
for (var Be = Y(w.store), Qe = 0; Be.length > Qe; ) C(Be[Qe++]);
|
|
80139
|
-
d(d.S + d.F * !
|
|
80230
|
+
d(d.S + d.F * !xe, "Symbol", { for: function(Me) {
|
|
80140
80231
|
return l(me, Me += "") ? me[Me] : me[Me] = W(Me);
|
|
80141
80232
|
}, keyFor: function(Me) {
|
|
80142
80233
|
if (!Pe(Me)) throw TypeError(Me + " is not a symbol!");
|
|
@@ -80145,7 +80236,7 @@ function requireVueColor_min() {
|
|
|
80145
80236
|
ve = !0;
|
|
80146
80237
|
}, useSimple: function() {
|
|
80147
80238
|
ve = !1;
|
|
80148
|
-
} }), d(d.S + d.F * !
|
|
80239
|
+
} }), d(d.S + d.F * !xe, "Object", { create: Te, defineProperty: De, defineProperties: Ve, getOwnPropertyDescriptor: we, getOwnPropertyNames: le, getOwnPropertySymbols: he }), G && d(d.S + d.F * (!xe || p(function() {
|
|
80149
80240
|
var Me = W();
|
|
80150
80241
|
return J([Me]) != "[null]" || J({ a: Me }) != "{}" || J(Object(Me)) != "{}";
|
|
80151
80242
|
})), "JSON", { stringify: function(Me) {
|
|
@@ -80155,7 +80246,7 @@ function requireVueColor_min() {
|
|
|
80155
80246
|
if (ot && (_t = ot.call(this, gt, _t)), !Pe(_t)) return _t;
|
|
80156
80247
|
}), ht[1] = ze, J.apply(G, ht);
|
|
80157
80248
|
}
|
|
80158
|
-
} }), W.prototype[
|
|
80249
|
+
} }), W.prototype[Ce] || n(7)(W.prototype, Ce, W.prototype.valueOf), g(W, "Symbol"), g(Math, "Math", !0), g(s.JSON, "JSON", !0);
|
|
80159
80250
|
}, function(r, o, n) {
|
|
80160
80251
|
var s = n(17)("meta"), l = n(14), c = n(6), d = n(8).f, u = 0, f = Object.isExtensible || function() {
|
|
80161
80252
|
return !0;
|
|
@@ -80650,7 +80741,7 @@ function requireVueColor_min() {
|
|
|
80650
80741
|
return me = ue = void 0, ve = De, ne = H.apply(Te, Ve);
|
|
80651
80742
|
}
|
|
80652
80743
|
function U(De) {
|
|
80653
|
-
return ve = De,
|
|
80744
|
+
return ve = De, xe = setTimeout(G, B), _e ? j(De) : ne;
|
|
80654
80745
|
}
|
|
80655
80746
|
function X(De) {
|
|
80656
80747
|
var Ve = De - Ie, Te = De - ve, He = B - Ve;
|
|
@@ -80663,28 +80754,28 @@ function requireVueColor_min() {
|
|
|
80663
80754
|
function G() {
|
|
80664
80755
|
var De = L();
|
|
80665
80756
|
if (W(De)) return J(De);
|
|
80666
|
-
|
|
80757
|
+
xe = setTimeout(G, X(De));
|
|
80667
80758
|
}
|
|
80668
80759
|
function J(De) {
|
|
80669
|
-
return
|
|
80760
|
+
return xe = void 0, Pe && me ? j(De) : (me = ue = void 0, ne);
|
|
80670
80761
|
}
|
|
80671
80762
|
function ae() {
|
|
80672
|
-
|
|
80763
|
+
xe !== void 0 && clearTimeout(xe), ve = 0, me = Ie = ue = xe = void 0;
|
|
80673
80764
|
}
|
|
80674
|
-
function
|
|
80675
|
-
return
|
|
80765
|
+
function Ce() {
|
|
80766
|
+
return xe === void 0 ? ne : J(L());
|
|
80676
80767
|
}
|
|
80677
80768
|
function oe() {
|
|
80678
80769
|
var De = L(), Ve = W(De);
|
|
80679
80770
|
if (me = arguments, ue = this, Ie = De, Ve) {
|
|
80680
|
-
if (
|
|
80681
|
-
if (pe) return
|
|
80771
|
+
if (xe === void 0) return U(Ie);
|
|
80772
|
+
if (pe) return xe = setTimeout(G, B), j(Ie);
|
|
80682
80773
|
}
|
|
80683
|
-
return
|
|
80774
|
+
return xe === void 0 && (xe = setTimeout(G, B)), ne;
|
|
80684
80775
|
}
|
|
80685
|
-
var me, ue, Q, ne,
|
|
80776
|
+
var me, ue, Q, ne, xe, Ie, ve = 0, _e = !1, pe = !1, Pe = !0;
|
|
80686
80777
|
if (typeof H != "function") throw new TypeError(f);
|
|
80687
|
-
return B = u(B) || 0, l(Y) && (_e = !!Y.leading, pe = "maxWait" in Y, Q = pe ? M(u(Y.maxWait) || 0, B) : Q, Pe = "trailing" in Y ? !!Y.trailing : Pe), oe.cancel = ae, oe.flush =
|
|
80778
|
+
return B = u(B) || 0, l(Y) && (_e = !!Y.leading, pe = "maxWait" in Y, Q = pe ? M(u(Y.maxWait) || 0, B) : Q, Pe = "trailing" in Y ? !!Y.trailing : Pe), oe.cancel = ae, oe.flush = Ce, oe;
|
|
80688
80779
|
}
|
|
80689
80780
|
function s(H, B, Y) {
|
|
80690
80781
|
var j = !0, U = !0;
|
|
@@ -81910,17 +82001,17 @@ const hoFabricRight = __component__$J.exports, TextSvg = {
|
|
|
81910
82001
|
};
|
|
81911
82002
|
var _sfc_render$I = function a() {
|
|
81912
82003
|
var t = this, r = t._self._c;
|
|
81913
|
-
return r("div", { staticClass: "canvas-image", class: t.animationClassNames, style: { width: t.canvasWidth +
|
|
82004
|
+
return r("div", { staticClass: "canvas-image", class: t.animationClassNames, style: { width: t.canvasWidth + 60 + "px", height: (t.canvasHeight + 200 > 600 ? 600 : t.canvasHeight + 200) + "px" } }, [r("header", { staticClass: "modal-title" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.17", null, "编辑图片"))]), r("a-icon", { staticClass: "modal-title-close", attrs: { type: "close" }, on: { click: t.handleClose } })], 1), r("section", { staticClass: "modal-content", attrs: { id: "loon_canvas_editor" } }, [r("ul", { staticClass: "image-edit-toolbar" }, [r("li", { staticClass: "image-edit-toolbar-li" }, [r("HoColorPickers", { attrs: { presetColors: t.predefineColors, defaultColor: t.borderColor }, on: { change: t.antHoColorPicker } }, [r("svg", { staticStyle: { transform: "translate(0, 11px)" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "17", viewBox: "0 0 16 17" } }, [r("g", { attrs: { fill: "none", "fill-rule": "evenodd", transform: "translate(-4 -3)" } }, [r("rect", { attrs: { width: "24", height: "24", fill: "#F0F0F0", opacity: "0" } }), r("path", { attrs: { fill: "#555", d: "M12,3 C12.3925578,3 12.7488579,3.22956042 12.9113768,3.5869126 L16.5538794,11.5993713 L17.9189416,14.6040434 C18.1331826,15.1044933 17.9084769,15.6844371 17.412985,15.9098686 C16.9174931,16.1353002 16.3326765,15.9236609 16.096188,15.4333329 L14.9965268,13.0155734 L9.00347324,13.0155734 L7.90381202,15.4333329 C7.66732348,15.9236609 7.08250692,16.1353002 6.58701502,15.9098686 C6.09152313,15.6844371 5.86681743,15.1044933 6.08105844,14.6040434 L7.4461206,11.5993713 L11.0886232,3.5869126 C11.2511421,3.22956042 11.6074422,3 12,3 Z M9.91384852,11.0124587 L14.0861515,11.0124587 L12,6.42232144 L9.91384852,11.0124587 Z" } }), r("rect", { attrs: { width: "16", height: "3", x: "4", y: "17", fill: t.borderColor, rx: "1.5" } })])])])], 1), r("li", { staticClass: "image-edit-toolbar-li" }, [r("a-dropdown", { attrs: { trigger: ["click"] } }, [r("span", { staticClass: "ant-dropdown-link image-edit-toolbar-dropdown-title", staticStyle: { "font-size": "14px" }, on: { click: (o) => o.preventDefault() } }, [t._v(` ${i18nHelper("04-001-009-EMR.3.3.571", null, "线条宽度")} `)]), r("a-menu", { staticClass: "line-width-picker-menu", attrs: { slot: "overlay" }, on: { click: t.lineWidthPicker }, slot: "overlay" }, [r("a-menu-item", { key: 1, class: t.borderWidth == 1 ? "selected" : "" }, [t._v("1px")]), r("a-menu-item", { key: 2, class: t.borderWidth == 2 ? "selected" : "" }, [t._v("2px")]), r("a-menu-item", { key: 3, class: t.borderWidth == 3 ? "selected" : "" }, [t._v("3px")]), r("a-menu-item", { key: 4, class: t.borderWidth == 4 ? "selected" : "" }, [t._v("4px")]), r("a-menu-item", { key: 5, class: t.borderWidth == 5 ? "selected" : "" }, [t._v("5px")]), r("a-menu-item", { key: 6, class: t.borderWidth == 6 ? "selected" : "" }, [t._v("6px")]), r("a-menu-item", { key: 7, class: t.borderWidth == 7 ? "selected" : "" }, [t._v("7px")]), r("a-menu-item", { key: 8, class: t.borderWidth == 8 ? "selected" : "" }, [t._v("8px")]), r("a-menu-item", { key: 9, class: t.borderWidth == 9 ? "selected" : "" }, [t._v("9px")]), r("a-menu-item", { key: 10, class: t.borderWidth == 10 ? "selected" : "" }, [t._v("10px")])], 1)], 1)], 1), r("li", { staticClass: "image-edit-toolbar-li" }, [r("a-select", { attrs: { getPopupContainer: (o) => o.parentNode, placeholder: "请选择" }, on: { change: t.fabricFontSizeChange }, model: { value: t.fontSize, callback: function(o) {
|
|
81914
82005
|
t.fontSize = o;
|
|
81915
82006
|
}, expression: "fontSize" } }, [r("a-select-option", { attrs: { value: "35" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.535", null, "一号"))]), r("a-select-option", { attrs: { value: "32" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.536", null, "小一"))]), r("a-select-option", { attrs: { value: "29" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.537", null, "二号"))]), r("a-select-option", { attrs: { value: "24" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.538", null, "小二"))]), r("a-select-option", { attrs: { value: "22" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.539", null, "三号"))]), r("a-select-option", { attrs: { value: "21" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.540", null, "小三"))]), r("a-select-option", { attrs: { value: "19" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.541", null, "四号"))]), r("a-select-option", { attrs: { value: "16" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.567", null, "小四"))]), r("a-select-option", { attrs: { value: "14" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.542", null, "五号"))]), r("a-select-option", { attrs: { value: "12" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.543", null, "小五"))])], 1)], 1), r("li", { staticClass: "image-edit-toolbar-li" }, [r("p", { staticClass: "image-edit-toolbar-p", attrs: { draggable: "true" }, on: { dragstart: function(o) {
|
|
81916
82007
|
return t.dragstart("Ⅰ");
|
|
81917
|
-
}, dragend: t.dragend } }, [t._v("Ⅰ")]), r("p", { staticClass: "image-edit-toolbar-p", attrs: { draggable: "true" }, on: { dragstart: function(o) {
|
|
82008
|
+
}, dragend: t.dragend } }, [t._v("Ⅰ ")]), r("p", { staticClass: "image-edit-toolbar-p", attrs: { draggable: "true" }, on: { dragstart: function(o) {
|
|
81918
82009
|
return t.dragstart("Ⅱ");
|
|
81919
|
-
}, dragend: t.dragend } }, [t._v("Ⅱ")]), r("p", { staticClass: "image-edit-toolbar-p", attrs: { draggable: "true" }, on: { dragstart: function(o) {
|
|
82010
|
+
}, dragend: t.dragend } }, [t._v("Ⅱ ")]), r("p", { staticClass: "image-edit-toolbar-p", attrs: { draggable: "true" }, on: { dragstart: function(o) {
|
|
81920
82011
|
return t.dragstart("Ⅲ");
|
|
81921
|
-
}, dragend: t.dragend } }, [t._v("Ⅲ")]), r("p", { staticClass: "image-edit-toolbar-p", attrs: { draggable: "true" }, on: { dragstart: function(o) {
|
|
82012
|
+
}, dragend: t.dragend } }, [t._v("Ⅲ ")]), r("p", { staticClass: "image-edit-toolbar-p", attrs: { draggable: "true" }, on: { dragstart: function(o) {
|
|
81922
82013
|
return t.dragstart("Ⅳ");
|
|
81923
|
-
}, dragend: t.dragend } }, [t._v("Ⅳ")])])]), r("div", { ref: "canvasArea", staticClass: "image-edit-canvas", style: { width: t.canvasWidth + "px", height: t.canvasHeight + "px" }, on: { contextmenu: function(o) {
|
|
82014
|
+
}, dragend: t.dragend } }, [t._v("Ⅳ ")])])]), r("div", { ref: "canvasArea", staticClass: "image-edit-canvas", style: { width: t.canvasWidth + "px", height: t.canvasHeight + "px" }, on: { contextmenu: function(o) {
|
|
81924
82015
|
return t.fabricCanvasRight.apply(null, arguments);
|
|
81925
82016
|
} } }, [r("canvas", { attrs: { id: "canvas-box" } }), t.rightPosition ? r("hoFabricRight", { attrs: { canvasObj: t.canvasObj, rightPosition: t.rightPosition }, on: { closeRight: t.closeRight } }) : t._e()], 1)]), r("footer", { staticClass: "ho-modal-footer" }, [t._l(t.menubarFun, function(o) {
|
|
81926
82017
|
return r("a-button", { key: o.id, attrs: { type: t.clickMenubarName === o.name ? "primary" : "", title: o.title }, on: { click: function(n) {
|