hoeditor-web 3.3.2-beta.4 → 3.3.2-beta.5
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) {
|
|
@@ -15244,7 +15244,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15244
15244
|
}
|
|
15245
15245
|
}
|
|
15246
15246
|
}
|
|
15247
|
-
const version = "3.3.2-beta.
|
|
15247
|
+
const version = "3.3.2-beta.5";
|
|
15248
15248
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15249
15249
|
class SignNode extends BaseNode {
|
|
15250
15250
|
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) {
|
|
@@ -15634,7 +15634,7 @@ function requireQrcode() {
|
|
|
15634
15634
|
Pe[De][Ve] = null;
|
|
15635
15635
|
}
|
|
15636
15636
|
return Pe;
|
|
15637
|
-
}(Y), G(0, 0), G(Y - 7, 0), G(0, Y - 7),
|
|
15637
|
+
}(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);
|
|
15638
15638
|
}, G = function(ve, _e) {
|
|
15639
15639
|
for (var pe = -1; pe <= 7; pe += 1)
|
|
15640
15640
|
if (!(ve + pe <= -1 || Y <= ve + pe))
|
|
@@ -15652,7 +15652,7 @@ function requireQrcode() {
|
|
|
15652
15652
|
B[ve][6] == null && (B[ve][6] = ve % 2 == 0);
|
|
15653
15653
|
for (var _e = 8; _e < Y - 8; _e += 1)
|
|
15654
15654
|
B[6][_e] == null && (B[6][_e] = _e % 2 == 0);
|
|
15655
|
-
},
|
|
15655
|
+
}, Ce = function() {
|
|
15656
15656
|
for (var ve = c.getPatternPosition(L), _e = 0; _e < ve.length; _e += 1)
|
|
15657
15657
|
for (var pe = 0; pe < ve.length; pe += 1) {
|
|
15658
15658
|
var Pe = ve[_e], De = ve[pe];
|
|
@@ -15789,7 +15789,7 @@ function requireQrcode() {
|
|
|
15789
15789
|
var De = {};
|
|
15790
15790
|
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;
|
|
15791
15791
|
var Ve = X.getModuleCount() * ve + _e * 2, Te, He, we, le, he = "", $;
|
|
15792
|
-
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="' +
|
|
15792
|
+
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)
|
|
15793
15793
|
for (le = we * ve + _e, Te = 0; Te < X.getModuleCount(); Te += 1)
|
|
15794
15794
|
X.isDark(we, Te) && (He = Te * ve + _e, he += "M" + He + "," + le + $);
|
|
15795
15795
|
return he += '" stroke="transparent" fill="black"/>', he += "</svg>", he;
|
|
@@ -15806,9 +15806,9 @@ function requireQrcode() {
|
|
|
15806
15806
|
}, X.createImgTag = function(ve, _e, pe) {
|
|
15807
15807
|
ve = ve || 2, _e = typeof _e > "u" ? ve * 4 : _e;
|
|
15808
15808
|
var Pe = X.getModuleCount() * ve + _e * 2, De = "";
|
|
15809
|
-
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 +=
|
|
15809
|
+
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;
|
|
15810
15810
|
};
|
|
15811
|
-
var
|
|
15811
|
+
var xe = function(ve) {
|
|
15812
15812
|
for (var _e = "", pe = 0; pe < ve.length; pe += 1) {
|
|
15813
15813
|
var Pe = ve.charAt(pe);
|
|
15814
15814
|
switch (Pe) {
|
|
@@ -16079,8 +16079,8 @@ function requireQrcode() {
|
|
|
16079
16079
|
}
|
|
16080
16080
|
for (var U = 0; U < Y - 1; U += 1)
|
|
16081
16081
|
for (var X = 0; X < Y - 1; X += 1) {
|
|
16082
|
-
var
|
|
16083
|
-
B.isDark(U, X) && (
|
|
16082
|
+
var Ce = 0;
|
|
16083
|
+
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);
|
|
16084
16084
|
}
|
|
16085
16085
|
for (var U = 0; U < Y; U += 1)
|
|
16086
16086
|
for (var X = 0; X < Y - 6; X += 1)
|
|
@@ -16590,12 +16590,12 @@ function requireQrcode() {
|
|
|
16590
16590
|
};
|
|
16591
16591
|
var B = function(U) {
|
|
16592
16592
|
var X = U, W = 0, G = 0, J = {};
|
|
16593
|
-
return J.write = function(ae,
|
|
16594
|
-
if (ae >>>
|
|
16593
|
+
return J.write = function(ae, Ce) {
|
|
16594
|
+
if (ae >>> Ce)
|
|
16595
16595
|
throw "length over";
|
|
16596
|
-
for (; W +
|
|
16597
|
-
X.writeByte(255 & (ae << W | G)),
|
|
16598
|
-
G = ae << W | G, W = W +
|
|
16596
|
+
for (; W + Ce >= 8; )
|
|
16597
|
+
X.writeByte(255 & (ae << W | G)), Ce -= 8 - W, ae >>>= 8 - W, G = 0, W = 0;
|
|
16598
|
+
G = ae << W | G, W = W + Ce;
|
|
16599
16599
|
}, J.flush = function() {
|
|
16600
16600
|
W > 0 && X.writeByte(G);
|
|
16601
16601
|
}, J;
|
|
@@ -16603,14 +16603,14 @@ function requireQrcode() {
|
|
|
16603
16603
|
for (var X = 1 << U, W = (1 << U) + 1, G = U + 1, J = j(), ae = 0; ae < X; ae += 1)
|
|
16604
16604
|
J.add(String.fromCharCode(ae));
|
|
16605
16605
|
J.add(String.fromCharCode(X)), J.add(String.fromCharCode(W));
|
|
16606
|
-
var
|
|
16606
|
+
var Ce = v(), oe = B(Ce);
|
|
16607
16607
|
oe.write(X, G);
|
|
16608
16608
|
var me = 0, ue = String.fromCharCode(L[me]);
|
|
16609
16609
|
for (me += 1; me < L.length; ) {
|
|
16610
16610
|
var Q = String.fromCharCode(L[me]);
|
|
16611
16611
|
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);
|
|
16612
16612
|
}
|
|
16613
|
-
return oe.write(J.indexOf(ue), G), oe.write(W, G), oe.flush(),
|
|
16613
|
+
return oe.write(J.indexOf(ue), G), oe.write(W, G), oe.flush(), Ce.toByteArray();
|
|
16614
16614
|
}, j = function() {
|
|
16615
16615
|
var U = {}, X = 0, W = {};
|
|
16616
16616
|
return W.add = function(G) {
|
|
@@ -16736,7 +16736,7 @@ function drawText(a, t) {
|
|
|
16736
16736
|
};
|
|
16737
16737
|
return v === 1 ? (_.fillStyle = y, _.fillRect(0, 0, k, T), L()) : (L(), D && function() {
|
|
16738
16738
|
for (var H = _.getImageData(0, 0, k, T), B = H.data, Y = k * T, j = [], U = 0, X = function(J) {
|
|
16739
|
-
var ae = [],
|
|
16739
|
+
var ae = [], Ce = {};
|
|
16740
16740
|
j[U] = ae, U = 1 - U;
|
|
16741
16741
|
var oe = j[U];
|
|
16742
16742
|
if (!oe) {
|
|
@@ -16747,7 +16747,7 @@ function drawText(a, t) {
|
|
|
16747
16747
|
oe.forEach(function(ue) {
|
|
16748
16748
|
B[4 * ue + 3] && [ue % k ? ue - 1 : -1, (ue + 1) % k ? ue + 1 : -1, ue - k, ue + k].forEach(function(Q) {
|
|
16749
16749
|
var ne = 4 * Q;
|
|
16750
|
-
ne >= 0 && ne <= B.length && !
|
|
16750
|
+
ne >= 0 && ne <= B.length && !Ce[Q] && (Ce[Q] = 1, ae.push(Q));
|
|
16751
16751
|
});
|
|
16752
16752
|
}), ae.forEach(function(ue) {
|
|
16753
16753
|
var Q = 4 * ue;
|
|
@@ -18532,9 +18532,9 @@ class TableNode extends RectNode {
|
|
|
18532
18532
|
newLineWithCellContent: W.rowProperty.newLineWithCellContent,
|
|
18533
18533
|
withFormula: W.rowProperty.withFormula,
|
|
18534
18534
|
isSignLock: W.rowProperty.isSignLock
|
|
18535
|
-
}, ae = JSON.parse(JSON.stringify(J)),
|
|
18536
|
-
for (let me = 0; me <
|
|
18537
|
-
|
|
18535
|
+
}, ae = JSON.parse(JSON.stringify(J)), Ce = Object.keys(p);
|
|
18536
|
+
for (let me = 0; me < Ce.length; me++)
|
|
18537
|
+
Ce[me] === "customProperties" ? W.rowProperty.customProperties.length === 0 && delete ae.customProperties : ae[Ce[me]] === m[Ce[me]] && delete ae[Ce[me]];
|
|
18538
18538
|
const oe = {
|
|
18539
18539
|
rowHeight: W.rowHeight
|
|
18540
18540
|
//heightFixed: rowInfo.heightFixed,
|
|
@@ -18572,10 +18572,10 @@ class TableNode extends RectNode {
|
|
|
18572
18572
|
isLock: W.colProperty.isLock,
|
|
18573
18573
|
addWithDefaultValue: W.colProperty.addWithDefaultValue,
|
|
18574
18574
|
customProperties: G
|
|
18575
|
-
}, ae = JSON.parse(JSON.stringify(J)),
|
|
18575
|
+
}, ae = JSON.parse(JSON.stringify(J)), Ce = Object.keys(v);
|
|
18576
18576
|
(W.colProperty.customProperties.length === 0 || W.colProperty.customProperties[0].length === 0) && delete ae.customProperties;
|
|
18577
|
-
for (let me = 0; me <
|
|
18578
|
-
ae[
|
|
18577
|
+
for (let me = 0; me < Ce.length; me++)
|
|
18578
|
+
ae[Ce[me]] === C[Ce[me]] && delete ae[Ce[me]];
|
|
18579
18579
|
const oe = {
|
|
18580
18580
|
colWidth: W.colWidth
|
|
18581
18581
|
//widthFixed: colInfo.widthFixed,
|
|
@@ -18619,11 +18619,11 @@ class TableNode extends RectNode {
|
|
|
18619
18619
|
childNodes: { [`${G}`]: Array() }
|
|
18620
18620
|
}, ae = { base: {}, childNodes: Array() };
|
|
18621
18621
|
T.push(J), I.push(ae);
|
|
18622
|
-
for (let
|
|
18623
|
-
const oe = W[
|
|
18622
|
+
for (let Ce = u.col; Ce <= w; Ce++) {
|
|
18623
|
+
const oe = W[Ce];
|
|
18624
18624
|
if (oe) {
|
|
18625
18625
|
const me = oe.node2Json(s, r, o, n, E);
|
|
18626
|
-
ae.base = JSON.parse(JSON.stringify(me)), me.rowNo = X - u.row, me.colNo =
|
|
18626
|
+
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;
|
|
18627
18627
|
} else
|
|
18628
18628
|
r ? J.childNodes.item.push({}) : J.childNodes.CellNode.push({});
|
|
18629
18629
|
}
|
|
@@ -27681,8 +27681,8 @@ class Print {
|
|
|
27681
27681
|
}
|
|
27682
27682
|
if (l || u.startPageNum !== 0 && l !== void 0) {
|
|
27683
27683
|
const G = u.drawTree.drawPages[u.startPageNum], J = u.pageProperty.heightPixes, ae = G.drawFooter.dHeight;
|
|
27684
|
-
let
|
|
27685
|
-
J - ae - l < u.defaultLineHeight ?
|
|
27684
|
+
let Ce = 0;
|
|
27685
|
+
J - ae - l < u.defaultLineHeight ? Ce = u.startPageNum + 1 : Ce = u.startPageNum, u.printStatus.startIndex = Ce + 1;
|
|
27686
27686
|
} else
|
|
27687
27687
|
u.printStatus.startIndex = 1;
|
|
27688
27688
|
u.printStatus.generatePageIndexs(u.printStatus.printAppoint), u.printStatus.printRange != 2 && u.printStatus.DrawPrintRange().preparePrint();
|
|
@@ -27718,11 +27718,11 @@ class Print {
|
|
|
27718
27718
|
}
|
|
27719
27719
|
}
|
|
27720
27720
|
J.drawDomLevel && J.needUpdateStage && J.drawDomLevel.stage && (J.drawDomLevel.stage.update(), J.needUpdateStage = !1);
|
|
27721
|
-
const
|
|
27722
|
-
if (u.isFixedPrintToA4 == "1" && c && (p == "l" ? (
|
|
27721
|
+
const Ce = { x: 0, y: 0 };
|
|
27722
|
+
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")) {
|
|
27723
27723
|
r == null || r.addPage(), v++;
|
|
27724
27724
|
let oe = r == null ? void 0 : r.context2d;
|
|
27725
|
-
oe.posX =
|
|
27725
|
+
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);
|
|
27726
27726
|
} else {
|
|
27727
27727
|
let oe = new C2S({
|
|
27728
27728
|
width: m,
|
|
@@ -27753,8 +27753,8 @@ class Print {
|
|
|
27753
27753
|
</head>
|
|
27754
27754
|
<body>${f == null ? void 0 : f.innerHTML}</body>
|
|
27755
27755
|
</html>
|
|
27756
|
-
`, ae = window.URL.createObjectURL(new Blob([J], { type: "text/html" })),
|
|
27757
|
-
|
|
27756
|
+
`, ae = window.URL.createObjectURL(new Blob([J], { type: "text/html" })), Ce = document.createElement("a");
|
|
27757
|
+
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");
|
|
27758
27758
|
return;
|
|
27759
27759
|
} else if (o === "pdf")
|
|
27760
27760
|
r == null || r.deletePage(1), this.processGeneratedPDF(t, r), r == null || r.save(n + ".pdf"), u.printStatus.drawPrintRecord.clear();
|
|
@@ -34376,8 +34376,8 @@ function requireMoment() {
|
|
|
34376
34376
|
var Z = !0;
|
|
34377
34377
|
return g(function() {
|
|
34378
34378
|
if (o.deprecationHandler != null && o.deprecationHandler(null, S), Z) {
|
|
34379
|
-
var q = [], ce, Le, $e,
|
|
34380
|
-
for (Le = 0; Le <
|
|
34379
|
+
var q = [], ce, Le, $e, Ct = arguments.length;
|
|
34380
|
+
for (Le = 0; Le < Ct; Le++) {
|
|
34381
34381
|
if (ce = "", typeof arguments[Le] == "object") {
|
|
34382
34382
|
ce += `
|
|
34383
34383
|
[` + Le + "] ";
|
|
@@ -34443,7 +34443,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34443
34443
|
var q = this._calendar[S] || this._calendar.sameElse;
|
|
34444
34444
|
return j(q) ? q.call(A, Z) : q;
|
|
34445
34445
|
}
|
|
34446
|
-
function
|
|
34446
|
+
function Ce(S, A, Z) {
|
|
34447
34447
|
var q = "" + Math.abs(S), ce = A - q.length, Le = S >= 0;
|
|
34448
34448
|
return (Le ? Z ? "+" : "" : "-") + Math.pow(10, Math.max(0, ce)).toString().substr(1) + q;
|
|
34449
34449
|
}
|
|
@@ -34453,7 +34453,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34453
34453
|
typeof q == "string" && (ce = function() {
|
|
34454
34454
|
return this[q]();
|
|
34455
34455
|
}), S && (Q[S] = ce), A && (Q[A[0]] = function() {
|
|
34456
|
-
return
|
|
34456
|
+
return Ce(ce.apply(this, arguments), A[1], A[2]);
|
|
34457
34457
|
}), Z && (Q[Z] = function() {
|
|
34458
34458
|
return this.localeData().ordinal(
|
|
34459
34459
|
ce.apply(this, arguments),
|
|
@@ -34461,13 +34461,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34461
34461
|
);
|
|
34462
34462
|
});
|
|
34463
34463
|
}
|
|
34464
|
-
function
|
|
34464
|
+
function xe(S) {
|
|
34465
34465
|
return S.match(/\[[\s\S]/) ? S.replace(/^\[|\]$/g, "") : S.replace(/\\/g, "");
|
|
34466
34466
|
}
|
|
34467
34467
|
function Ie(S) {
|
|
34468
34468
|
var A = S.match(oe), Z, q;
|
|
34469
34469
|
for (Z = 0, q = A.length; Z < q; Z++)
|
|
34470
|
-
Q[A[Z]] ? A[Z] = Q[A[Z]] : A[Z] =
|
|
34470
|
+
Q[A[Z]] ? A[Z] = Q[A[Z]] : A[Z] = xe(A[Z]);
|
|
34471
34471
|
return function(ce) {
|
|
34472
34472
|
var Le = "", $e;
|
|
34473
34473
|
for ($e = 0; $e < q; $e++)
|
|
@@ -34623,7 +34623,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34623
34623
|
return q.priority - ce.priority;
|
|
34624
34624
|
}), A;
|
|
34625
34625
|
}
|
|
34626
|
-
var ot = /\d/, ht = /\d\d/, bt = /\d{3}/, gt = /\d{4}/, _t = /[+-]?\d{6}/, pt = /\d\d?/, Tt = /\d\d\d\d?/,
|
|
34626
|
+
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;
|
|
34627
34627
|
Ue = {};
|
|
34628
34628
|
function Ge(S, A, Z) {
|
|
34629
34629
|
Ue[S] = j(A) ? A : function(q, ce) {
|
|
@@ -34661,7 +34661,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34661
34661
|
}), ce = S.length, Z = 0; Z < ce; Z++)
|
|
34662
34662
|
Pt[S[Z]] = q;
|
|
34663
34663
|
}
|
|
34664
|
-
function
|
|
34664
|
+
function Cr(S, A) {
|
|
34665
34665
|
Ot(S, function(Z, q, ce, Le) {
|
|
34666
34666
|
ce._w = ce._w || {}, A(Z, ce._w, ce, Le);
|
|
34667
34667
|
});
|
|
@@ -34675,7 +34675,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34675
34675
|
var jt = 0, tr = 1, Vt = 2, Zt = 3, lr = 4, gr = 5, Rr = 6, hi = 7, Or = 8;
|
|
34676
34676
|
ne("Y", 0, 0, function() {
|
|
34677
34677
|
var S = this.year();
|
|
34678
|
-
return S <= 9999 ?
|
|
34678
|
+
return S <= 9999 ? Ce(S, 4) : "+" + S;
|
|
34679
34679
|
}), ne(0, ["YY", 2], 0, function() {
|
|
34680
34680
|
return this.year() % 100;
|
|
34681
34681
|
}), 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) {
|
|
@@ -34726,7 +34726,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34726
34726
|
}
|
|
34727
34727
|
}
|
|
34728
34728
|
function ni(S, A, Z) {
|
|
34729
|
-
var q, ce, Le, $e,
|
|
34729
|
+
var q, ce, Le, $e, Ct;
|
|
34730
34730
|
if (!(!S.isValid() || isNaN(Z))) {
|
|
34731
34731
|
switch (q = S._d, ce = S._isUTC, A) {
|
|
34732
34732
|
case "Milliseconds":
|
|
@@ -34749,7 +34749,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34749
34749
|
default:
|
|
34750
34750
|
return;
|
|
34751
34751
|
}
|
|
34752
|
-
Le = Z, $e = S.month(),
|
|
34752
|
+
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);
|
|
34753
34753
|
}
|
|
34754
34754
|
}
|
|
34755
34755
|
function fi(S) {
|
|
@@ -34864,9 +34864,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34864
34864
|
function S(Mt, qt) {
|
|
34865
34865
|
return qt.length - Mt.length;
|
|
34866
34866
|
}
|
|
34867
|
-
var A = [], Z = [], q = [], ce, Le, $e,
|
|
34867
|
+
var A = [], Z = [], q = [], ce, Le, $e, Ct;
|
|
34868
34868
|
for (ce = 0; ce < 12; ce++)
|
|
34869
|
-
Le = y([2e3, ce]), $e = Jt(this.monthsShort(Le, "")),
|
|
34869
|
+
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);
|
|
34870
34870
|
A.sort(S), Z.sort(S), q.sort(S), this._monthsRegex = new RegExp("^(" + q.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
34871
34871
|
"^(" + Z.join("|") + ")",
|
|
34872
34872
|
"i"
|
|
@@ -34876,8 +34876,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34876
34876
|
);
|
|
34877
34877
|
}
|
|
34878
34878
|
function at(S, A, Z, q, ce, Le, $e) {
|
|
34879
|
-
var
|
|
34880
|
-
return S < 100 && S >= 0 ? (
|
|
34879
|
+
var Ct;
|
|
34880
|
+
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;
|
|
34881
34881
|
}
|
|
34882
34882
|
function ut(S) {
|
|
34883
34883
|
var A, Z;
|
|
@@ -34888,8 +34888,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34888
34888
|
return -ce + q - 1;
|
|
34889
34889
|
}
|
|
34890
34890
|
function zt(S, A, Z, q, ce) {
|
|
34891
|
-
var Le = (7 + Z - q) % 7, $e = vt(S, q, ce),
|
|
34892
|
-
return
|
|
34891
|
+
var Le = (7 + Z - q) % 7, $e = vt(S, q, ce), Ct = 1 + 7 * (A - 1) + Le + $e, Mt, qt;
|
|
34892
|
+
return Ct <= 0 ? (Mt = S - 1, qt = Ur(Mt) + Ct) : Ct > Ur(S) ? (Mt = S + 1, qt = Ct - Ur(S)) : (Mt = S, qt = Ct), {
|
|
34893
34893
|
year: Mt,
|
|
34894
34894
|
dayOfYear: qt
|
|
34895
34895
|
};
|
|
@@ -34905,7 +34905,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34905
34905
|
var q = vt(S, A, Z), ce = vt(S + 1, A, Z);
|
|
34906
34906
|
return (Ur(S) - q + ce) / 7;
|
|
34907
34907
|
}
|
|
34908
|
-
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),
|
|
34908
|
+
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(
|
|
34909
34909
|
["w", "ww", "W", "WW"],
|
|
34910
34910
|
function(S, A, Z, q) {
|
|
34911
34911
|
A[q.substr(0, 1)] = Et(S);
|
|
@@ -34946,10 +34946,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34946
34946
|
return A.weekdaysShortRegex(S);
|
|
34947
34947
|
}), Ge("dddd", function(S, A) {
|
|
34948
34948
|
return A.weekdaysRegex(S);
|
|
34949
|
-
}),
|
|
34949
|
+
}), Cr(["dd", "ddd", "dddd"], function(S, A, Z, q) {
|
|
34950
34950
|
var ce = Z._locale.weekdaysParse(S, q, Z._strict);
|
|
34951
34951
|
ce != null ? A.d = ce : v(Z).invalidWeekday = S;
|
|
34952
|
-
}),
|
|
34952
|
+
}), Cr(["d", "e", "E"], function(S, A, Z, q) {
|
|
34953
34953
|
A[q] = Et(S);
|
|
34954
34954
|
});
|
|
34955
34955
|
function Zr(S, A) {
|
|
@@ -35043,9 +35043,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35043
35043
|
function S(Lr, ci) {
|
|
35044
35044
|
return ci.length - Lr.length;
|
|
35045
35045
|
}
|
|
35046
|
-
var A = [], Z = [], q = [], ce = [], Le, $e,
|
|
35046
|
+
var A = [], Z = [], q = [], ce = [], Le, $e, Ct, Mt, qt;
|
|
35047
35047
|
for (Le = 0; Le < 7; Le++)
|
|
35048
|
-
$e = y([2e3, 1]).day(Le),
|
|
35048
|
+
$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);
|
|
35049
35049
|
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(
|
|
35050
35050
|
"^(" + q.join("|") + ")",
|
|
35051
35051
|
"i"
|
|
@@ -35064,13 +35064,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35064
35064
|
return this.hours() || 24;
|
|
35065
35065
|
}
|
|
35066
35066
|
ne("H", ["HH", 2], 0, "hour"), ne("h", ["hh", 2], 0, Uo), ne("k", ["kk", 2], 0, Yo), ne("hmm", 0, 0, function() {
|
|
35067
|
-
return "" + Uo.apply(this) +
|
|
35067
|
+
return "" + Uo.apply(this) + Ce(this.minutes(), 2);
|
|
35068
35068
|
}), ne("hmmss", 0, 0, function() {
|
|
35069
|
-
return "" + Uo.apply(this) +
|
|
35069
|
+
return "" + Uo.apply(this) + Ce(this.minutes(), 2) + Ce(this.seconds(), 2);
|
|
35070
35070
|
}), ne("Hmm", 0, 0, function() {
|
|
35071
|
-
return "" + this.hours() +
|
|
35071
|
+
return "" + this.hours() + Ce(this.minutes(), 2);
|
|
35072
35072
|
}), ne("Hmmss", 0, 0, function() {
|
|
35073
|
-
return "" + this.hours() +
|
|
35073
|
+
return "" + this.hours() + Ce(this.minutes(), 2) + Ce(this.seconds(), 2);
|
|
35074
35074
|
});
|
|
35075
35075
|
function mn(S, A) {
|
|
35076
35076
|
ne(S, 0, 0, function() {
|
|
@@ -35085,7 +35085,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35085
35085
|
function yn(S, A) {
|
|
35086
35086
|
return A._meridiemParse;
|
|
35087
35087
|
}
|
|
35088
|
-
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",
|
|
35088
|
+
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) {
|
|
35089
35089
|
var q = Et(S);
|
|
35090
35090
|
A[Zt] = q === 24 ? 0 : q;
|
|
35091
35091
|
}), Ot(["a", "A"], function(S, A, Z) {
|
|
@@ -35108,7 +35108,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35108
35108
|
function $i(S) {
|
|
35109
35109
|
return (S + "").toLowerCase().charAt(0) === "p";
|
|
35110
35110
|
}
|
|
35111
|
-
var
|
|
35111
|
+
var Co = /[ap]\.?m?\.?/i, kn = oi("Hours", !0);
|
|
35112
35112
|
function Hn(S, A, Z) {
|
|
35113
35113
|
return S > 11 ? Z ? "pm" : "PM" : Z ? "am" : "AM";
|
|
35114
35114
|
}
|
|
@@ -35125,7 +35125,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35125
35125
|
weekdays: Ri,
|
|
35126
35126
|
weekdaysMin: Fn,
|
|
35127
35127
|
weekdaysShort: Pr,
|
|
35128
|
-
meridiemParse:
|
|
35128
|
+
meridiemParse: Co
|
|
35129
35129
|
}, sr = {}, vi = {}, ki;
|
|
35130
35130
|
function eo(S, A) {
|
|
35131
35131
|
var Z, q = Math.min(S.length, A.length);
|
|
@@ -35191,7 +35191,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35191
35191
|
} else
|
|
35192
35192
|
return delete sr[S], null;
|
|
35193
35193
|
}
|
|
35194
|
-
function
|
|
35194
|
+
function Ci(S, A) {
|
|
35195
35195
|
if (A != null) {
|
|
35196
35196
|
var Z, q, ce = Ni;
|
|
35197
35197
|
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);
|
|
@@ -35210,7 +35210,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35210
35210
|
}
|
|
35211
35211
|
return Hi(S);
|
|
35212
35212
|
}
|
|
35213
|
-
function
|
|
35213
|
+
function xo() {
|
|
35214
35214
|
return G(sr);
|
|
35215
35215
|
}
|
|
35216
35216
|
function bo(S) {
|
|
@@ -35254,7 +35254,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35254
35254
|
PST: -8 * 60
|
|
35255
35255
|
};
|
|
35256
35256
|
function z(S) {
|
|
35257
|
-
var A, Z, q = S._i, ce = Zo.exec(q) || wn.exec(q), Le, $e,
|
|
35257
|
+
var A, Z, q = S._i, ce = Zo.exec(q) || wn.exec(q), Le, $e, Ct, Mt, qt = Si.length, Lr = ro.length;
|
|
35258
35258
|
if (ce) {
|
|
35259
35259
|
for (v(S).iso = !0, A = 0, Z = qt; A < Z; A++)
|
|
35260
35260
|
if (Si[A][1].exec(ce[1])) {
|
|
@@ -35268,15 +35268,15 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35268
35268
|
if (ce[3]) {
|
|
35269
35269
|
for (A = 0, Z = Lr; A < Z; A++)
|
|
35270
35270
|
if (ro[A][1].exec(ce[3])) {
|
|
35271
|
-
|
|
35271
|
+
Ct = (ce[2] || " ") + ro[A][0];
|
|
35272
35272
|
break;
|
|
35273
35273
|
}
|
|
35274
|
-
if (
|
|
35274
|
+
if (Ct == null) {
|
|
35275
35275
|
S._isValid = !1;
|
|
35276
35276
|
return;
|
|
35277
35277
|
}
|
|
35278
35278
|
}
|
|
35279
|
-
if (!Le &&
|
|
35279
|
+
if (!Le && Ct != null) {
|
|
35280
35280
|
S._isValid = !1;
|
|
35281
35281
|
return;
|
|
35282
35282
|
}
|
|
@@ -35287,7 +35287,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35287
35287
|
S._isValid = !1;
|
|
35288
35288
|
return;
|
|
35289
35289
|
}
|
|
35290
|
-
S._f = $e + (
|
|
35290
|
+
S._f = $e + (Ct || "") + (Mt || ""), $t(S);
|
|
35291
35291
|
} else
|
|
35292
35292
|
S._isValid = !1;
|
|
35293
35293
|
}
|
|
@@ -35391,12 +35391,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35391
35391
|
}
|
|
35392
35392
|
}
|
|
35393
35393
|
function Kt(S) {
|
|
35394
|
-
var A, Z, q, ce, Le, $e,
|
|
35394
|
+
var A, Z, q, ce, Le, $e, Ct, Mt, qt;
|
|
35395
35395
|
A = S._w, A.GG != null || A.W != null || A.E != null ? (Le = 1, $e = 4, Z = mt(
|
|
35396
35396
|
A.GG,
|
|
35397
35397
|
S._a[jt],
|
|
35398
35398
|
Yt(fr(), 1, 4).year
|
|
35399
|
-
), 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 : (
|
|
35399
|
+
), 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);
|
|
35400
35400
|
}
|
|
35401
35401
|
o.ISO_8601 = function() {
|
|
35402
35402
|
}, o.RFC_2822 = function() {
|
|
@@ -35411,12 +35411,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35411
35411
|
return;
|
|
35412
35412
|
}
|
|
35413
35413
|
S._a = [], v(S).empty = !0;
|
|
35414
|
-
var A = "" + S._i, Z, q, ce, Le, $e,
|
|
35414
|
+
var A = "" + S._i, Z, q, ce, Le, $e, Ct = A.length, Mt = 0, qt, Lr;
|
|
35415
35415
|
for (ce = _e(S._f, S._locale).match(oe) || [], Lr = ce.length, Z = 0; Z < Lr; Z++)
|
|
35416
35416
|
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(
|
|
35417
35417
|
A.indexOf(q) + q.length
|
|
35418
35418
|
), 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);
|
|
35419
|
-
v(S).charsLeftOver =
|
|
35419
|
+
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(
|
|
35420
35420
|
S._locale,
|
|
35421
35421
|
S._a[Zt],
|
|
35422
35422
|
S._meridiem
|
|
@@ -35427,13 +35427,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35427
35427
|
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);
|
|
35428
35428
|
}
|
|
35429
35429
|
function Sr(S) {
|
|
35430
|
-
var A, Z, q, ce, Le, $e,
|
|
35430
|
+
var A, Z, q, ce, Le, $e, Ct = !1, Mt = S._f.length;
|
|
35431
35431
|
if (Mt === 0) {
|
|
35432
35432
|
v(S).invalidFormat = !0, S._d = /* @__PURE__ */ new Date(NaN);
|
|
35433
35433
|
return;
|
|
35434
35434
|
}
|
|
35435
35435
|
for (ce = 0; ce < Mt; ce++)
|
|
35436
|
-
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,
|
|
35436
|
+
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));
|
|
35437
35437
|
g(S, Z || A);
|
|
35438
35438
|
}
|
|
35439
35439
|
function ur(S) {
|
|
@@ -35530,10 +35530,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35530
35530
|
return Hr(NaN);
|
|
35531
35531
|
}
|
|
35532
35532
|
function Bi(S) {
|
|
35533
|
-
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,
|
|
35533
|
+
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;
|
|
35534
35534
|
this._isValid = oo(A), this._milliseconds = +Lr + qt * 1e3 + // 1000
|
|
35535
35535
|
Mt * 6e4 + // 1000 * 60
|
|
35536
|
-
|
|
35536
|
+
Ct * 1e3 * 60 * 60, this._days = +$e + Le * 7, this._months = +ce + q * 3 + Z * 12, this._data = {}, this._locale = Qr(), this._bubble();
|
|
35537
35537
|
}
|
|
35538
35538
|
function Er(S) {
|
|
35539
35539
|
return S instanceof Bi;
|
|
@@ -35547,13 +35547,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35547
35547
|
Et(S[$e]) !== Et(A[$e]) && Le++;
|
|
35548
35548
|
return Le + ce;
|
|
35549
35549
|
}
|
|
35550
|
-
function
|
|
35550
|
+
function Cn(S, A) {
|
|
35551
35551
|
ne(S, 0, 0, function() {
|
|
35552
35552
|
var Z = this.utcOffset(), q = "+";
|
|
35553
|
-
return Z < 0 && (Z = -Z, q = "-"), q +
|
|
35553
|
+
return Z < 0 && (Z = -Z, q = "-"), q + Ce(~~(Z / 60), 2) + A + Ce(~~Z % 60, 2);
|
|
35554
35554
|
});
|
|
35555
35555
|
}
|
|
35556
|
-
|
|
35556
|
+
Cn("Z", ":"), Cn("ZZ", ""), Ge("Z", kt), Ge("ZZ", kt), Ot(["Z", "ZZ"], function(S, A, Z) {
|
|
35557
35557
|
Z._useUTC = !0, Z._tzm = ao(kt, S);
|
|
35558
35558
|
});
|
|
35559
35559
|
var Ko = /([\+\-]|\d\d)/gi;
|
|
@@ -35588,7 +35588,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35588
35588
|
} else
|
|
35589
35589
|
return this._isUTC ? q : Kr(this);
|
|
35590
35590
|
}
|
|
35591
|
-
function
|
|
35591
|
+
function xi(S, A) {
|
|
35592
35592
|
return S != null ? (typeof S != "string" && (S = -S), this.utcOffset(S, A), this) : -this.utcOffset();
|
|
35593
35593
|
}
|
|
35594
35594
|
function co(S) {
|
|
@@ -35686,7 +35686,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35686
35686
|
return typeof S == "string" || S instanceof String;
|
|
35687
35687
|
}
|
|
35688
35688
|
function dr(S) {
|
|
35689
|
-
return k(S) || p(S) || ar(S) || f(S) ||
|
|
35689
|
+
return k(S) || p(S) || ar(S) || f(S) || xr(S) || Fr(S) || S === null || S === void 0;
|
|
35690
35690
|
}
|
|
35691
35691
|
function Fr(S) {
|
|
35692
35692
|
var A = l(S) && !d(S), Z = !1, q = [
|
|
@@ -35719,13 +35719,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35719
35719
|
Le = q[ce], Z = Z || c(S, Le);
|
|
35720
35720
|
return A && Z;
|
|
35721
35721
|
}
|
|
35722
|
-
function
|
|
35722
|
+
function xr(S) {
|
|
35723
35723
|
var A = s(S), Z = !1;
|
|
35724
35724
|
return A && (Z = S.filter(function(q) {
|
|
35725
35725
|
return !f(q) && ar(S);
|
|
35726
35726
|
}).length === 0), A && Z;
|
|
35727
35727
|
}
|
|
35728
|
-
function
|
|
35728
|
+
function xn(S) {
|
|
35729
35729
|
var A = l(S) && !d(S), Z = !1, q = [
|
|
35730
35730
|
"sameDay",
|
|
35731
35731
|
"nextDay",
|
|
@@ -35743,7 +35743,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35743
35743
|
return Z < -6 ? "sameElse" : Z < -1 ? "lastWeek" : Z < 0 ? "lastDay" : Z < 1 ? "sameDay" : Z < 2 ? "nextDay" : Z < 7 ? "nextWeek" : "sameElse";
|
|
35744
35744
|
}
|
|
35745
35745
|
function Ii(S, A) {
|
|
35746
|
-
arguments.length === 1 && (arguments[0] ? dr(arguments[0]) ? (S = arguments[0], A = void 0) :
|
|
35746
|
+
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));
|
|
35747
35747
|
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]);
|
|
35748
35748
|
return this.format(
|
|
35749
35749
|
Le || this.localeData().calendar(ce, this, fr(Z))
|
|
@@ -36039,7 +36039,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36039
36039
|
strict: this._strict
|
|
36040
36040
|
};
|
|
36041
36041
|
}
|
|
36042
|
-
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",
|
|
36042
|
+
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(
|
|
36043
36043
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
36044
36044
|
function(S, A, Z, q) {
|
|
36045
36045
|
var ce = Z._locale.erasParse(S, q, Z._strict);
|
|
@@ -36069,14 +36069,14 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36069
36069
|
return Le;
|
|
36070
36070
|
}
|
|
36071
36071
|
function ps(S, A, Z) {
|
|
36072
|
-
var q, ce, Le = this.eras(), $e,
|
|
36072
|
+
var q, ce, Le = this.eras(), $e, Ct, Mt;
|
|
36073
36073
|
for (S = S.toUpperCase(), q = 0, ce = Le.length; q < ce; ++q)
|
|
36074
|
-
if ($e = Le[q].name.toUpperCase(),
|
|
36074
|
+
if ($e = Le[q].name.toUpperCase(), Ct = Le[q].abbr.toUpperCase(), Mt = Le[q].narrow.toUpperCase(), Z)
|
|
36075
36075
|
switch (A) {
|
|
36076
36076
|
case "N":
|
|
36077
36077
|
case "NN":
|
|
36078
36078
|
case "NNN":
|
|
36079
|
-
if (
|
|
36079
|
+
if (Ct === S)
|
|
36080
36080
|
return Le[q];
|
|
36081
36081
|
break;
|
|
36082
36082
|
case "NNNN":
|
|
@@ -36088,7 +36088,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36088
36088
|
return Le[q];
|
|
36089
36089
|
break;
|
|
36090
36090
|
}
|
|
36091
|
-
else if ([$e,
|
|
36091
|
+
else if ([$e, Ct, Mt].indexOf(S) >= 0)
|
|
36092
36092
|
return Le[q];
|
|
36093
36093
|
}
|
|
36094
36094
|
function gs(S, A) {
|
|
@@ -36135,19 +36135,19 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36135
36135
|
function Tn(S, A) {
|
|
36136
36136
|
return A.erasAbbrRegex(S);
|
|
36137
36137
|
}
|
|
36138
|
-
function
|
|
36138
|
+
function Cs(S, A) {
|
|
36139
36139
|
return A.erasNameRegex(S);
|
|
36140
36140
|
}
|
|
36141
|
-
function
|
|
36141
|
+
function xs(S, A) {
|
|
36142
36142
|
return A.erasNarrowRegex(S);
|
|
36143
36143
|
}
|
|
36144
36144
|
function ei(S, A) {
|
|
36145
36145
|
return A._eraYearOrdinalRegex || At;
|
|
36146
36146
|
}
|
|
36147
36147
|
function Xn() {
|
|
36148
|
-
var S = [], A = [], Z = [], q = [], ce, Le, $e,
|
|
36148
|
+
var S = [], A = [], Z = [], q = [], ce, Le, $e, Ct, Mt, qt = this.eras();
|
|
36149
36149
|
for (ce = 0, Le = qt.length; ce < Le; ++ce)
|
|
36150
|
-
$e = Jt(qt[ce].name),
|
|
36150
|
+
$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);
|
|
36151
36151
|
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(
|
|
36152
36152
|
"^(" + Z.join("|") + ")",
|
|
36153
36153
|
"i"
|
|
@@ -36161,12 +36161,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36161
36161
|
function Sn(S, A) {
|
|
36162
36162
|
ne(0, [S, S.length], 0, A);
|
|
36163
36163
|
}
|
|
36164
|
-
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),
|
|
36164
|
+
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(
|
|
36165
36165
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
36166
36166
|
function(S, A, Z, q) {
|
|
36167
36167
|
A[q.substr(0, 2)] = Et(S);
|
|
36168
36168
|
}
|
|
36169
|
-
),
|
|
36169
|
+
), Cr(["gg", "GG"], function(S, A, Z, q) {
|
|
36170
36170
|
A[q] = o.parseTwoDigitYear(S);
|
|
36171
36171
|
});
|
|
36172
36172
|
function bs(S) {
|
|
@@ -36282,7 +36282,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36282
36282
|
Yr
|
|
36283
36283
|
), dt.zone = H(
|
|
36284
36284
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
36285
|
-
|
|
36285
|
+
xi
|
|
36286
36286
|
), dt.isDSTShifted = H(
|
|
36287
36287
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
36288
36288
|
ai
|
|
@@ -36312,12 +36312,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36312
36312
|
}
|
|
36313
36313
|
function O(S, A, Z, q) {
|
|
36314
36314
|
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 || "");
|
|
36315
|
-
var ce = Qr(), Le = S ? ce._week.dow : 0, $e,
|
|
36315
|
+
var ce = Qr(), Le = S ? ce._week.dow : 0, $e, Ct = [];
|
|
36316
36316
|
if (Z != null)
|
|
36317
36317
|
return F(A, (Z + Le) % 7, q, "day");
|
|
36318
36318
|
for ($e = 0; $e < 7; $e++)
|
|
36319
|
-
|
|
36320
|
-
return
|
|
36319
|
+
Ct[$e] = F(A, ($e + Le) % 7, q, "day");
|
|
36320
|
+
return Ct;
|
|
36321
36321
|
}
|
|
36322
36322
|
function K(S, A) {
|
|
36323
36323
|
return R(S, A, "months");
|
|
@@ -36384,8 +36384,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36384
36384
|
return S < 0 ? Math.floor(S) : Math.ceil(S);
|
|
36385
36385
|
}
|
|
36386
36386
|
function et() {
|
|
36387
|
-
var S = this._milliseconds, A = this._days, Z = this._months, q = this._data, ce, Le, $e,
|
|
36388
|
-
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)),
|
|
36387
|
+
var S = this._milliseconds, A = this._days, Z = this._months, q = this._data, ce, Le, $e, Ct, Mt;
|
|
36388
|
+
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;
|
|
36389
36389
|
}
|
|
36390
36390
|
function Ye(S) {
|
|
36391
36391
|
return S * 4800 / 146097;
|
|
@@ -36466,7 +36466,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36466
36466
|
return ce.relativeTime(A || 1, !!Z, S, q);
|
|
36467
36467
|
}
|
|
36468
36468
|
function Kn(S, A, Z, q) {
|
|
36469
|
-
var ce = Hr(S).abs(), Le = jr(ce.as("s")), $e = jr(ce.as("m")),
|
|
36469
|
+
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];
|
|
36470
36470
|
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);
|
|
36471
36471
|
}
|
|
36472
36472
|
function Fs(S) {
|
|
@@ -36488,8 +36488,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36488
36488
|
function Lo() {
|
|
36489
36489
|
if (!this.isValid())
|
|
36490
36490
|
return this.localeData().invalidDate();
|
|
36491
|
-
var S = cn(this._milliseconds) / 1e3, A = cn(this._days), Z = cn(this._months), q, ce, Le, $e,
|
|
36492
|
-
return
|
|
36491
|
+
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;
|
|
36492
|
+
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";
|
|
36493
36493
|
}
|
|
36494
36494
|
var er = Bi.prototype;
|
|
36495
36495
|
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(
|
|
@@ -36501,7 +36501,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36501
36501
|
Z._d = new Date(Et(S));
|
|
36502
36502
|
});
|
|
36503
36503
|
//! moment.js
|
|
36504
|
-
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 =
|
|
36504
|
+
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 = {
|
|
36505
36505
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
36506
36506
|
// <input type="datetime-local" />
|
|
36507
36507
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -38261,7 +38261,7 @@ class DrawImageNode extends DrawCombineNode {
|
|
|
38261
38261
|
}
|
|
38262
38262
|
}
|
|
38263
38263
|
class ImageNode extends BaseNode {
|
|
38264
|
-
//
|
|
38264
|
+
// 业务标识字段
|
|
38265
38265
|
constructor(r, o, n, s, l, c, d, u, f, p, m, g) {
|
|
38266
38266
|
super(r, o, n, s);
|
|
38267
38267
|
b(this, "_id");
|
|
@@ -38291,7 +38291,9 @@ class ImageNode extends BaseNode {
|
|
|
38291
38291
|
b(this, "_isBackFill");
|
|
38292
38292
|
//是否是回填的
|
|
38293
38293
|
b(this, "_innerIdentifier");
|
|
38294
|
-
|
|
38294
|
+
// 内部标识符
|
|
38295
|
+
b(this, "_bizCode", "");
|
|
38296
|
+
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);
|
|
38295
38297
|
}
|
|
38296
38298
|
get hoEditorFactoryID() {
|
|
38297
38299
|
return this._hoEditorFactoryID;
|
|
@@ -38374,6 +38376,12 @@ class ImageNode extends BaseNode {
|
|
|
38374
38376
|
set mId(r) {
|
|
38375
38377
|
this._mId !== r && (this._mId = r);
|
|
38376
38378
|
}
|
|
38379
|
+
get bizCode() {
|
|
38380
|
+
return this._bizCode;
|
|
38381
|
+
}
|
|
38382
|
+
set bizCode(r) {
|
|
38383
|
+
this._bizCode !== r && (this._bizCode = r);
|
|
38384
|
+
}
|
|
38377
38385
|
/**
|
|
38378
38386
|
* imageNode 节点删除时 如果 imageDataBase64String是url地址形式 需要保存url列表
|
|
38379
38387
|
*/
|
|
@@ -38431,11 +38439,12 @@ class ImageNode extends BaseNode {
|
|
|
38431
38439
|
height: l,
|
|
38432
38440
|
//scaleX: scaleX,
|
|
38433
38441
|
//scaleY: scaleY,
|
|
38434
|
-
imageDataBase64String: this.imageDataBase64String
|
|
38442
|
+
imageDataBase64String: this.imageDataBase64String,
|
|
38435
38443
|
//isFormula: this.isFormula,
|
|
38436
38444
|
//remark: this.remark,
|
|
38437
38445
|
//markImage: this.markImage,
|
|
38438
|
-
//imageJson: this.imageJson
|
|
38446
|
+
//imageJson: this.imageJson,
|
|
38447
|
+
bizCode: this.bizCode
|
|
38439
38448
|
};
|
|
38440
38449
|
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 : {
|
|
38441
38450
|
ImageNode: c
|
|
@@ -38454,7 +38463,7 @@ class ImageNode extends BaseNode {
|
|
|
38454
38463
|
c,
|
|
38455
38464
|
//scaleX,
|
|
38456
38465
|
//scaleY,
|
|
38457
|
-
{ isFormula: d, isBackFill: u, innerIdentifier: f },
|
|
38466
|
+
{ isFormula: d, isBackFill: u, innerIdentifier: f, bizCode: o.bizCode || "" },
|
|
38458
38467
|
o.markImage,
|
|
38459
38468
|
o.imageJson,
|
|
38460
38469
|
o.mId
|
|
@@ -38833,7 +38842,7 @@ const scaleXY = DrawConfig.instance().scale, defaultWidth = Math.floor(793 * sca
|
|
|
38833
38842
|
}
|
|
38834
38843
|
this.poperType = "datePoper";
|
|
38835
38844
|
} else Number(c.inputFieldType) === 1 && this.createInputProper(a, c, n, r);
|
|
38836
|
-
} else a.nodeType == NodeType.ntFigure ? (this.poperType = "", this.$emit("dblNodeClick", { setActiveDoc: this.setActiveDocIndex, node: this.getCurrentSelectNode, type: "edit-ho-figure", paintStatus: n })) : a.parentNode instanceof CellNode && a.nodeType !== NodeType.ntMedicalExpression && a.nodeType !== NodeType.ntImage ? this.handleCellNode(a, a.parentNode, r, n) : a instanceof CellNode ? this.handleForm("update") : a instanceof ImageNode ? (this.poperType = "", a.isBackFill || this.$emit("dblNodeClick", { setActiveDoc: this.setActiveDocIndex, node: this.getCurrentSelectNode, type: "edit-image", paintStatus: n })) : this.hoEditorProvider.setDblclickNodeValue(a, "dblclick");
|
|
38845
|
+
} else a.nodeType == NodeType.ntFigure ? (this.poperType = "", this.$emit("dblNodeClick", { setActiveDoc: this.setActiveDocIndex, node: this.getCurrentSelectNode, type: "edit-ho-figure", paintStatus: n })) : a.parentNode instanceof CellNode && a.nodeType !== NodeType.ntMedicalExpression && a.nodeType !== NodeType.ntImage ? this.handleCellNode(a, a.parentNode, r, n) : a instanceof CellNode ? this.handleForm("update") : a instanceof ImageNode ? (this.poperType = "", a.isBackFill || this.$emit("dblNodeClick", { setActiveDoc: this.setActiveDocIndex, node: this.getCurrentSelectNode, type: "edit-image", paintStatus: n, bizCode: a.bizCode || "" })) : this.hoEditorProvider.setDblclickNodeValue(a, "dblclick");
|
|
38837
38846
|
}
|
|
38838
38847
|
},
|
|
38839
38848
|
updateSelectMark() {
|
|
@@ -40687,7 +40696,7 @@ function requireDom() {
|
|
|
40687
40696
|
if (Ue ? se[G(se, Ue)] = Se : se[se.length++] = Se, ee) {
|
|
40688
40697
|
Se.ownerElement = ee;
|
|
40689
40698
|
var Ge = ee.ownerDocument;
|
|
40690
|
-
Ge && (Ue &&
|
|
40699
|
+
Ge && (Ue && xe(Ge, ee, Ue), ne(Ge, ee, Se));
|
|
40691
40700
|
}
|
|
40692
40701
|
}
|
|
40693
40702
|
function ae(ee, se, Se) {
|
|
@@ -40697,7 +40706,7 @@ function requireDom() {
|
|
|
40697
40706
|
se[Ue] = se[++Ue];
|
|
40698
40707
|
if (se.length = Ge, ee) {
|
|
40699
40708
|
var Dt = ee.ownerDocument;
|
|
40700
|
-
Dt && (
|
|
40709
|
+
Dt && (xe(Dt, ee, Se), Se.ownerElement = null);
|
|
40701
40710
|
}
|
|
40702
40711
|
} else
|
|
40703
40712
|
throw new Y(H, new Error(ee.tagName + "@" + Se));
|
|
@@ -40746,9 +40755,9 @@ function requireDom() {
|
|
|
40746
40755
|
return null;
|
|
40747
40756
|
}
|
|
40748
40757
|
};
|
|
40749
|
-
function
|
|
40758
|
+
function Ce() {
|
|
40750
40759
|
}
|
|
40751
|
-
|
|
40760
|
+
Ce.prototype = {
|
|
40752
40761
|
/**
|
|
40753
40762
|
* The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.
|
|
40754
40763
|
* The different implementations fairly diverged in what kind of features were reported.
|
|
@@ -40935,7 +40944,7 @@ function requireDom() {
|
|
|
40935
40944
|
var Ue = Se.namespaceURI;
|
|
40936
40945
|
Ue === r.XMLNS && (se._nsMap[Se.prefix ? Se.localName : ""] = Se.value);
|
|
40937
40946
|
}
|
|
40938
|
-
function
|
|
40947
|
+
function xe(ee, se, Se, Ue) {
|
|
40939
40948
|
ee && ee._inc++;
|
|
40940
40949
|
var Ge = Se.namespaceURI;
|
|
40941
40950
|
Ge === r.XMLNS && delete se._nsMap[Se.prefix ? Se.localName : ""];
|
|
@@ -41170,7 +41179,7 @@ function requireDom() {
|
|
|
41170
41179
|
return se.ownerDocument = this, se.appendData(ee), se;
|
|
41171
41180
|
},
|
|
41172
41181
|
createProcessingInstruction: function(ee, se) {
|
|
41173
|
-
var Se = new
|
|
41182
|
+
var Se = new xt();
|
|
41174
41183
|
return Se.ownerDocument = this, Se.tagName = Se.nodeName = Se.target = ee, Se.nodeValue = Se.data = se, Se;
|
|
41175
41184
|
},
|
|
41176
41185
|
createAttribute: function(ee) {
|
|
@@ -41330,9 +41339,9 @@ function requireDom() {
|
|
|
41330
41339
|
function Tt() {
|
|
41331
41340
|
}
|
|
41332
41341
|
Tt.prototype.nodeName = "#document-fragment", Tt.prototype.nodeType = T, u(Tt, oe);
|
|
41333
|
-
function
|
|
41342
|
+
function xt() {
|
|
41334
41343
|
}
|
|
41335
|
-
|
|
41344
|
+
xt.prototype.nodeType = C, u(xt, oe);
|
|
41336
41345
|
function It() {
|
|
41337
41346
|
}
|
|
41338
41347
|
It.prototype.serializeToString = function(ee, se, Se) {
|
|
@@ -41386,17 +41395,17 @@ function requireDom() {
|
|
|
41386
41395
|
}
|
|
41387
41396
|
if (!Et)
|
|
41388
41397
|
for (var Ot = Ge.length - 1; Ot >= 0; Ot--) {
|
|
41389
|
-
var
|
|
41390
|
-
if (
|
|
41391
|
-
Et =
|
|
41398
|
+
var Cr = Ge[Ot];
|
|
41399
|
+
if (Cr.prefix === "" && Cr.namespace === ee.namespaceURI) {
|
|
41400
|
+
Et = Cr.namespace;
|
|
41392
41401
|
break;
|
|
41393
41402
|
}
|
|
41394
41403
|
}
|
|
41395
41404
|
if (Et !== ee.namespaceURI)
|
|
41396
41405
|
for (var Ot = Ge.length - 1; Ot >= 0; Ot--) {
|
|
41397
|
-
var
|
|
41398
|
-
if (
|
|
41399
|
-
|
|
41406
|
+
var Cr = Ge[Ot];
|
|
41407
|
+
if (Cr.namespace === ee.namespaceURI) {
|
|
41408
|
+
Cr.prefix && (nr = Cr.prefix + ":" + Jt);
|
|
41400
41409
|
break;
|
|
41401
41410
|
}
|
|
41402
41411
|
}
|
|
@@ -41551,7 +41560,7 @@ function requireDom() {
|
|
|
41551
41560
|
}
|
|
41552
41561
|
} catch {
|
|
41553
41562
|
}
|
|
41554
|
-
return dom.DocumentType = bt, dom.DOMException = Y, dom.DOMImplementation =
|
|
41563
|
+
return dom.DocumentType = bt, dom.DOMException = Y, dom.DOMImplementation = Ce, dom.Element = Be, dom.Node = oe, dom.NodeList = j, dom.XMLSerializer = It, dom;
|
|
41555
41564
|
}
|
|
41556
41565
|
var domParser = {}, entities = {}, hasRequiredEntities;
|
|
41557
41566
|
function requireEntities() {
|
|
@@ -43736,17 +43745,17 @@ function requireSax() {
|
|
|
43736
43745
|
}
|
|
43737
43746
|
}
|
|
43738
43747
|
function G(Be, Qe) {
|
|
43739
|
-
for (; Be >= ae && (Qe =
|
|
43748
|
+
for (; Be >= ae && (Qe = Ce.exec(L)); )
|
|
43740
43749
|
J = Qe.index, ae = J + Qe[0].length, oe.lineNumber++;
|
|
43741
43750
|
oe.columnNumber = Be - J + 1;
|
|
43742
43751
|
}
|
|
43743
|
-
for (var J = 0, ae = 0,
|
|
43752
|
+
for (var J = 0, ae = 0, Ce = /.*(?:\r\n?|\n)|.*$/g, oe = Y.locator, me = [{ currentNSMap: H }], ue = {}, Q = 0; ; ) {
|
|
43744
43753
|
try {
|
|
43745
43754
|
var ne = L.indexOf("<", Q);
|
|
43746
43755
|
if (ne < 0) {
|
|
43747
43756
|
if (!L.substr(Q).match(/^\s*$/)) {
|
|
43748
|
-
var
|
|
43749
|
-
|
|
43757
|
+
var xe = Y.doc, Ie = xe.createTextNode(L.substr(Q));
|
|
43758
|
+
xe.appendChild(Ie), Y.currentElement = Ie;
|
|
43750
43759
|
}
|
|
43751
43760
|
return;
|
|
43752
43761
|
}
|
|
@@ -43808,8 +43817,8 @@ function requireSax() {
|
|
|
43808
43817
|
);
|
|
43809
43818
|
}
|
|
43810
43819
|
for (var W, G, J = ++H, ae = n; ; ) {
|
|
43811
|
-
var
|
|
43812
|
-
switch (
|
|
43820
|
+
var Ce = L.charAt(J);
|
|
43821
|
+
switch (Ce) {
|
|
43813
43822
|
case "=":
|
|
43814
43823
|
if (ae === s)
|
|
43815
43824
|
W = L.slice(H, J), ae = c;
|
|
@@ -43821,12 +43830,12 @@ function requireSax() {
|
|
|
43821
43830
|
case "'":
|
|
43822
43831
|
case '"':
|
|
43823
43832
|
if (ae === c || ae === s)
|
|
43824
|
-
if (ae === s && (U.warning('attribute value must after "="'), W = L.slice(H, J)), H = J + 1, J = L.indexOf(
|
|
43833
|
+
if (ae === s && (U.warning('attribute value must after "="'), W = L.slice(H, J)), H = J + 1, J = L.indexOf(Ce, H), J > 0)
|
|
43825
43834
|
G = L.slice(H, J), X(W, G, H - 1), ae = u;
|
|
43826
43835
|
else
|
|
43827
|
-
throw new Error("attribute value no end '" +
|
|
43836
|
+
throw new Error("attribute value no end '" + Ce + "' match");
|
|
43828
43837
|
else if (ae == d)
|
|
43829
|
-
G = L.slice(H, J), X(W, G, H), U.warning('attribute "' + W + '" missed start quot(' +
|
|
43838
|
+
G = L.slice(H, J), X(W, G, H), U.warning('attribute "' + W + '" missed start quot(' + Ce + ")!!"), H = J + 1, ae = u;
|
|
43830
43839
|
else
|
|
43831
43840
|
throw new Error('attribute value must after "="');
|
|
43832
43841
|
break;
|
|
@@ -43873,9 +43882,9 @@ function requireSax() {
|
|
|
43873
43882
|
return J;
|
|
43874
43883
|
/*xml space '\x20' | #x9 | #xD | #xA; */
|
|
43875
43884
|
case "":
|
|
43876
|
-
|
|
43885
|
+
Ce = " ";
|
|
43877
43886
|
default:
|
|
43878
|
-
if (
|
|
43887
|
+
if (Ce <= " ")
|
|
43879
43888
|
switch (ae) {
|
|
43880
43889
|
case n:
|
|
43881
43890
|
B.setTagName(L.slice(H, J)), ae = f;
|
|
@@ -43914,16 +43923,16 @@ function requireSax() {
|
|
|
43914
43923
|
}
|
|
43915
43924
|
}
|
|
43916
43925
|
function C(L, H, B) {
|
|
43917
|
-
for (var Y = L.tagName, j = null,
|
|
43918
|
-
var U = L[
|
|
43926
|
+
for (var Y = L.tagName, j = null, Ce = L.length; Ce--; ) {
|
|
43927
|
+
var U = L[Ce], X = U.qName, W = U.value, oe = X.indexOf(":");
|
|
43919
43928
|
if (oe > 0)
|
|
43920
43929
|
var G = U.prefix = X.slice(0, oe), J = X.slice(oe + 1), ae = G === "xmlns" && J;
|
|
43921
43930
|
else
|
|
43922
43931
|
J = X, G = null, ae = X === "xmlns" && "";
|
|
43923
43932
|
U.localName = J, ae !== !1 && (j == null && (j = {}, E(B, B = {})), B[ae] = j[ae] = W, U.uri = a.XMLNS, H.startPrefixMapping(ae, W));
|
|
43924
43933
|
}
|
|
43925
|
-
for (var
|
|
43926
|
-
U = L[
|
|
43934
|
+
for (var Ce = L.length; Ce--; ) {
|
|
43935
|
+
U = L[Ce];
|
|
43927
43936
|
var G = U.prefix;
|
|
43928
43937
|
G && (G === "xml" && (U.uri = a.XML), G !== "xmlns" && (U.uri = B[G || ""]));
|
|
43929
43938
|
}
|
|
@@ -43971,8 +43980,8 @@ function requireSax() {
|
|
|
43971
43980
|
if (W > 1 && /!doctype/i.test(X[0][0])) {
|
|
43972
43981
|
var G = X[1][0], J = !1, ae = !1;
|
|
43973
43982
|
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]));
|
|
43974
|
-
var
|
|
43975
|
-
return B.startDTD(G, J, ae), B.endDTD(),
|
|
43983
|
+
var Ce = X[W - 1];
|
|
43984
|
+
return B.startDTD(G, J, ae), B.endDTD(), Ce.index + Ce[0].length;
|
|
43976
43985
|
}
|
|
43977
43986
|
}
|
|
43978
43987
|
return -1;
|
|
@@ -44255,8 +44264,8 @@ function requireX2js() {
|
|
|
44255
44264
|
function g(U) {
|
|
44256
44265
|
var X = 60, W = U.split(/[-T:+Z]/g), G = new Date(W[0], W[1] - 1, W[2]), J = W[5].split(".");
|
|
44257
44266
|
if (G.setHours(W[3], W[4], J[0]), J.length > 1 && G.setMilliseconds(J[1]), W[6] && W[7]) {
|
|
44258
|
-
var ae = W[6] * X + Number(W[7]),
|
|
44259
|
-
ae = 0 + (
|
|
44267
|
+
var ae = W[6] * X + Number(W[7]), Ce = /\d\d-\d\d:\d\d$/.test(U) ? "-" : "+";
|
|
44268
|
+
ae = 0 + (Ce === "-" ? -1 * ae : ae), G.setMinutes(G.getMinutes() - ae - G.getTimezoneOffset());
|
|
44260
44269
|
} 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())));
|
|
44261
44270
|
return G;
|
|
44262
44271
|
}
|
|
@@ -44289,8 +44298,8 @@ function requireX2js() {
|
|
|
44289
44298
|
var W = {};
|
|
44290
44299
|
W.__cnt = 0;
|
|
44291
44300
|
for (var G = U.childNodes, J = 0; J < G.length; J++) {
|
|
44292
|
-
var ae = G.item(J),
|
|
44293
|
-
ae.nodeType !== c.COMMENT_NODE && (W.__cnt++, W[
|
|
44301
|
+
var ae = G.item(J), Ce = d(ae);
|
|
44302
|
+
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)));
|
|
44294
44303
|
}
|
|
44295
44304
|
for (var oe = 0; oe < U.attributes.length; oe++) {
|
|
44296
44305
|
var me = U.attributes.item(oe);
|
|
@@ -44301,8 +44310,8 @@ function requireX2js() {
|
|
|
44301
44310
|
}
|
|
44302
44311
|
W[o.attributePrefix + me.name] = ue;
|
|
44303
44312
|
}
|
|
44304
|
-
var
|
|
44305
|
-
return
|
|
44313
|
+
var xe = u(U);
|
|
44314
|
+
return xe && (W.__cnt++, W.__prefix = xe), W["#text"] && (W.__text = W["#text"], W.__text instanceof Array && (W.__text = W.__text.join(`
|
|
44306
44315
|
`)), 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() {
|
|
44307
44316
|
return (this.__text ? this.__text : "") + (this.__cdata ? this.__cdata : "");
|
|
44308
44317
|
}), W);
|
|
@@ -44314,8 +44323,8 @@ function requireX2js() {
|
|
|
44314
44323
|
var J = "<" + (U && U.__prefix ? U.__prefix + ":" : "") + X;
|
|
44315
44324
|
if (W)
|
|
44316
44325
|
for (var ae = 0; ae < W.length; ae++) {
|
|
44317
|
-
var
|
|
44318
|
-
o.escapeMode && (oe = f(oe)), J += " " +
|
|
44326
|
+
var Ce = W[ae], oe = U[Ce];
|
|
44327
|
+
o.escapeMode && (oe = f(oe)), J += " " + Ce.substr(o.attributePrefix.length) + "=", o.useDoubleQuotes ? J += '"' + oe + '"' : J += "'" + oe + "'";
|
|
44319
44328
|
}
|
|
44320
44329
|
return G ? J += " />" : J += ">", J;
|
|
44321
44330
|
}
|
|
@@ -52182,8 +52191,8 @@ class VueController {
|
|
|
52182
52191
|
withFormula: !1
|
|
52183
52192
|
}, T = JSON.parse(JSON.stringify(E)), I = new Array();
|
|
52184
52193
|
let M = v.rowInfos.length - 1, k = v.colInfos.length - 1;
|
|
52185
|
-
for (let
|
|
52186
|
-
const oe = v.rowInfos[
|
|
52194
|
+
for (let Ce = 0; Ce <= M; Ce++) {
|
|
52195
|
+
const oe = v.rowInfos[Ce], ue = {
|
|
52187
52196
|
customProperties: { customProperty: Array(oe.rowProperty.customProperties) },
|
|
52188
52197
|
//dataSource: rowInfo.rowProperty.dataSource,
|
|
52189
52198
|
forcedPageBreak: oe.rowProperty.forcedPageBreak,
|
|
@@ -52198,8 +52207,8 @@ class VueController {
|
|
|
52198
52207
|
newLineWithCellContent: oe.rowProperty.newLineWithCellContent,
|
|
52199
52208
|
withFormula: oe.rowProperty.withFormula
|
|
52200
52209
|
}, Q = JSON.parse(JSON.stringify(ue)), ne = Object.keys(E);
|
|
52201
|
-
for (let
|
|
52202
|
-
ne[
|
|
52210
|
+
for (let xe = 0; xe < ne.length; xe++)
|
|
52211
|
+
ne[xe] === "customProperties" ? oe.rowProperty.customProperties.length === 0 && delete Q.customProperties : Q[ne[xe]] === T[ne[xe]] && delete Q[ne[xe]];
|
|
52203
52212
|
I.push({
|
|
52204
52213
|
rowHeight: oe.rowHeight,
|
|
52205
52214
|
//heightFixed: rowInfo.heightFixed,
|
|
@@ -52219,8 +52228,8 @@ class VueController {
|
|
|
52219
52228
|
isSignLock: !1,
|
|
52220
52229
|
isLock: !1
|
|
52221
52230
|
}, H = JSON.parse(JSON.stringify(L)), B = new Array();
|
|
52222
|
-
for (let
|
|
52223
|
-
const oe = v.colInfos[
|
|
52231
|
+
for (let Ce = 0; Ce <= k; Ce++) {
|
|
52232
|
+
const oe = v.colInfos[Ce], me = { customProperty: Array(oe.colProperty.customProperties) }, ue = {
|
|
52224
52233
|
editorProperty: EditorProperty[oe.colProperty.editorProperty],
|
|
52225
52234
|
align: VAlign[oe.colProperty.align],
|
|
52226
52235
|
width: oe.colProperty.width ? oe.colProperty.width : 0,
|
|
@@ -52233,8 +52242,8 @@ class VueController {
|
|
|
52233
52242
|
isLock: oe.colProperty.isLock,
|
|
52234
52243
|
customProperties: me
|
|
52235
52244
|
}, Q = JSON.parse(JSON.stringify(ue)), ne = Object.keys(L);
|
|
52236
|
-
for (let
|
|
52237
|
-
Q[ne[
|
|
52245
|
+
for (let xe = 0; xe < ne.length; xe++)
|
|
52246
|
+
Q[ne[xe]] === H[ne[xe]] && delete Q[ne[xe]];
|
|
52238
52247
|
B.push({
|
|
52239
52248
|
colWidth: oe.colWidth,
|
|
52240
52249
|
widthFixed: oe.widthFixed,
|
|
@@ -52263,10 +52272,10 @@ class VueController {
|
|
|
52263
52272
|
dateTimeProperty: "",
|
|
52264
52273
|
formula: ""
|
|
52265
52274
|
}, j = JSON.parse(JSON.stringify(Y)), U = new Array(), X = new Array();
|
|
52266
|
-
for (let
|
|
52267
|
-
const oe = v.rows[
|
|
52275
|
+
for (let Ce = 0; Ce <= M; Ce++) {
|
|
52276
|
+
const oe = v.rows[Ce], me = {
|
|
52268
52277
|
nodeType: "ntRow",
|
|
52269
|
-
rowNo:
|
|
52278
|
+
rowNo: Ce,
|
|
52270
52279
|
childNodes: { CellNode: Array() }
|
|
52271
52280
|
}, ue = {
|
|
52272
52281
|
base: {},
|
|
@@ -52276,14 +52285,14 @@ class VueController {
|
|
|
52276
52285
|
for (let Q = 0; Q <= k; Q++) {
|
|
52277
52286
|
const ne = oe[Q];
|
|
52278
52287
|
if (ne) {
|
|
52279
|
-
const
|
|
52280
|
-
ue.base = JSON.parse(JSON.stringify(
|
|
52288
|
+
const xe = c(ne, j);
|
|
52289
|
+
ue.base = JSON.parse(JSON.stringify(xe)), xe.rowNo = Ce, xe.colNo = Q, me.childNodes.CellNode.push(xe), me.rowNo = Ce;
|
|
52281
52290
|
} else
|
|
52282
52291
|
me.childNodes.CellNode.push({});
|
|
52283
52292
|
}
|
|
52284
52293
|
}
|
|
52285
|
-
for (let
|
|
52286
|
-
const oe = U[
|
|
52294
|
+
for (let Ce = 0; Ce < U.length; Ce++) {
|
|
52295
|
+
const oe = U[Ce].childNodes.CellNode;
|
|
52287
52296
|
for (let me = 0; me < oe.length; me++)
|
|
52288
52297
|
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));
|
|
52289
52298
|
}
|
|
@@ -52538,7 +52547,7 @@ class VueController {
|
|
|
52538
52547
|
let w = m.getNewCellHeight() - 10;
|
|
52539
52548
|
u > w && (u = w);
|
|
52540
52549
|
const v = m.table.colInfos[m.row.indexOf(m)];
|
|
52541
|
-
v.colProperty.isSpecifyWidth && (d = v.colWidth - 10), r && (u = d * r /
|
|
52550
|
+
v.colProperty.isSpecifyWidth && (d = v.colWidth - 10), r && t && (u = d * r / t);
|
|
52542
52551
|
}
|
|
52543
52552
|
if (s = {
|
|
52544
52553
|
width: Math.min(d, c.docWidth),
|
|
@@ -54821,10 +54830,10 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54821
54830
|
}, inflt = function(a, t, r) {
|
|
54822
54831
|
var o = a.length, n = !t || r, s = !r || r.i;
|
|
54823
54832
|
r || (r = {}), t || (t = new u8(o * 3));
|
|
54824
|
-
var l = function(
|
|
54833
|
+
var l = function(xe) {
|
|
54825
54834
|
var Ie = t.length;
|
|
54826
|
-
if (
|
|
54827
|
-
var ve = new u8(Math.max(Ie * 2,
|
|
54835
|
+
if (xe > Ie) {
|
|
54836
|
+
var ve = new u8(Math.max(Ie * 2, xe));
|
|
54828
54837
|
ve.set(t), t = ve;
|
|
54829
54838
|
}
|
|
54830
54839
|
}, 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;
|
|
@@ -54875,20 +54884,20 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54875
54884
|
}
|
|
54876
54885
|
n && l(u + 131072);
|
|
54877
54886
|
for (var G = (1 << m) - 1, J = (1 << g) - 1, ae = m + g + 18; s || d + ae < y; ) {
|
|
54878
|
-
var j = f[bits16(a, d) & G],
|
|
54887
|
+
var j = f[bits16(a, d) & G], Ce = j >>> 4;
|
|
54879
54888
|
if (d += j & 15, d > y)
|
|
54880
54889
|
throw "unexpected EOF";
|
|
54881
54890
|
if (!j)
|
|
54882
54891
|
throw "invalid length/literal";
|
|
54883
|
-
if (
|
|
54884
|
-
t[u++] =
|
|
54885
|
-
else if (
|
|
54892
|
+
if (Ce < 256)
|
|
54893
|
+
t[u++] = Ce;
|
|
54894
|
+
else if (Ce == 256) {
|
|
54886
54895
|
f = null;
|
|
54887
54896
|
break;
|
|
54888
54897
|
} else {
|
|
54889
|
-
var oe =
|
|
54890
|
-
if (
|
|
54891
|
-
var k =
|
|
54898
|
+
var oe = Ce - 254;
|
|
54899
|
+
if (Ce > 264) {
|
|
54900
|
+
var k = Ce - 257, me = fleb[k];
|
|
54892
54901
|
oe = bits(a, d, (1 << me) - 1) + fl[k], d += me;
|
|
54893
54902
|
}
|
|
54894
54903
|
var ue = p[bits16(a, d) & J], Q = ue >>> 4;
|
|
@@ -55009,7 +55018,7 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
55009
55018
|
var W, G, J, ae;
|
|
55010
55019
|
if (wbits(t, f, 1 + (X < U)), f += 2, X < U) {
|
|
55011
55020
|
W = hMap(m, g, 0), G = m, J = hMap(w, v, 0), ae = w;
|
|
55012
|
-
var
|
|
55021
|
+
var Ce = hMap(H, B, 0);
|
|
55013
55022
|
wbits(t, f, D - 257), wbits(t, f + 5, I - 1), wbits(t, f + 10, Y - 4), f += 14;
|
|
55014
55023
|
for (var k = 0; k < Y; ++k)
|
|
55015
55024
|
wbits(t, f + 3 * k, H[clim[k]]);
|
|
@@ -55017,7 +55026,7 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
55017
55026
|
for (var oe = [_, T], me = 0; me < 2; ++me)
|
|
55018
55027
|
for (var ue = oe[me], k = 0; k < ue.length; ++k) {
|
|
55019
55028
|
var Q = ue[k] & 31;
|
|
55020
|
-
wbits(t, f,
|
|
55029
|
+
wbits(t, f, Ce[Q]), f += H[Q], Q > 15 && (wbits(t, f, ue[k] >>> 5 & 127), f += ue[k] >>> 12);
|
|
55021
55030
|
}
|
|
55022
55031
|
} else
|
|
55023
55032
|
W = flm, G = flt, J = fdm, ae = fdt;
|
|
@@ -55051,16 +55060,16 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
55051
55060
|
for (var G = 0; G < 30; ++G)
|
|
55052
55061
|
M[G] = 0;
|
|
55053
55062
|
}
|
|
55054
|
-
var J = 2, ae = 0,
|
|
55063
|
+
var J = 2, ae = 0, Ce = y, oe = U - X & 32767;
|
|
55055
55064
|
if (W > 2 && j == E(f - oe))
|
|
55056
|
-
for (var me = Math.min(g, W) - 1, ue = Math.min(32767, f), Q = Math.min(258, W); oe <= ue && --
|
|
55065
|
+
for (var me = Math.min(g, W) - 1, ue = Math.min(32767, f), Q = Math.min(258, W); oe <= ue && --Ce && U != X; ) {
|
|
55057
55066
|
if (a[f + J] == a[f + J - oe]) {
|
|
55058
55067
|
for (var ne = 0; ne < Q && a[f + ne] == a[f + ne - oe]; ++ne)
|
|
55059
55068
|
;
|
|
55060
55069
|
if (ne > J) {
|
|
55061
55070
|
if (J = ne, ae = oe, ne > me)
|
|
55062
55071
|
break;
|
|
55063
|
-
for (var
|
|
55072
|
+
for (var xe = Math.min(oe, ne - 2), Ie = 0, G = 0; G < xe; ++G) {
|
|
55064
55073
|
var ve = f - oe + G + 32768 & 32767, _e = v[ve], pe = ve - _e + 32768 & 32767;
|
|
55065
55074
|
pe > Ie && (Ie = pe, X = ve);
|
|
55066
55075
|
}
|
|
@@ -55838,7 +55847,7 @@ function jsPDF(a) {
|
|
|
55838
55847
|
var J, ae = g.__private__.convertDateToPDFDate = function(z) {
|
|
55839
55848
|
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("");
|
|
55840
55849
|
return V = ["D:", z.getFullYear(), ue(z.getMonth() + 1), ue(z.getDate()), ue(z.getHours()), ue(z.getMinutes()), ue(z.getSeconds()), lt].join(""), V;
|
|
55841
|
-
},
|
|
55850
|
+
}, Ce = g.__private__.convertPDFDateToDate = function(z) {
|
|
55842
55851
|
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);
|
|
55843
55852
|
return ft;
|
|
55844
55853
|
}, oe = g.__private__.setCreationDate = function(z) {
|
|
@@ -55852,7 +55861,7 @@ function jsPDF(a) {
|
|
|
55852
55861
|
return J = V, J;
|
|
55853
55862
|
}, me = g.__private__.getCreationDate = function(z) {
|
|
55854
55863
|
var V = J;
|
|
55855
|
-
return z === "jsDate" && (V =
|
|
55864
|
+
return z === "jsDate" && (V = Ce(J)), V;
|
|
55856
55865
|
};
|
|
55857
55866
|
g.setCreationDate = function(z) {
|
|
55858
55867
|
return oe(z), this;
|
|
@@ -55863,8 +55872,8 @@ function jsPDF(a) {
|
|
|
55863
55872
|
return ("0" + parseInt(z)).slice(-2);
|
|
55864
55873
|
}, Q = g.__private__.padd2Hex = function(z) {
|
|
55865
55874
|
return z = z.toString(), ("00" + z).substr(z.length);
|
|
55866
|
-
}, ne = 0,
|
|
55867
|
-
ne = 0, ve = 0, Ie = [],
|
|
55875
|
+
}, ne = 0, xe = [], Ie = [], ve = 0, _e = [], pe = [], Pe, De = !1, Ve = Ie, Te = function() {
|
|
55876
|
+
ne = 0, ve = 0, Ie = [], xe = [], _e = [], Zt = jt(), lr = jt();
|
|
55868
55877
|
};
|
|
55869
55878
|
g.__private__.setCustomOutputDestination = function(z) {
|
|
55870
55879
|
De = !0, Ve = z;
|
|
@@ -55955,7 +55964,7 @@ function jsPDF(a) {
|
|
|
55955
55964
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
55956
55965
|
return _t[z] = V;
|
|
55957
55966
|
};
|
|
55958
|
-
var pt = {}, Tt = {},
|
|
55967
|
+
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() {
|
|
55959
55968
|
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) => {
|
|
55960
55969
|
delete this.vFS[z];
|
|
55961
55970
|
}), this.vFS = {}), Ie = [], Ve = [], pe = [], Object.keys(this).forEach((z) => {
|
|
@@ -56090,9 +56099,9 @@ function jsPDF(a) {
|
|
|
56090
56099
|
return new Pt(ft, mt, Bt, Ht, Kt, $t);
|
|
56091
56100
|
}, Pt.prototype.applyToPoint = function(z) {
|
|
56092
56101
|
var V = z.x * this.sx + z.y * this.shx + this.tx, ye = z.x * this.shy + z.y * this.sy + this.ty;
|
|
56093
|
-
return new
|
|
56102
|
+
return new xo(V, ye);
|
|
56094
56103
|
}, Pt.prototype.applyToRectangle = function(z) {
|
|
56095
|
-
var V = this.applyToPoint(z), ye = this.applyToPoint(new
|
|
56104
|
+
var V = this.applyToPoint(z), ye = this.applyToPoint(new xo(z.x + z.w, z.y + z.h));
|
|
56096
56105
|
return new bo(V.x, V.y, ye.x - V.x, ye.y - V.y);
|
|
56097
56106
|
}, Pt.prototype.clone = function() {
|
|
56098
56107
|
var z = this.sx, V = this.shy, ye = this.shx, Fe = this.sy, We = this.tx, Ze = this.ty;
|
|
@@ -56100,8 +56109,8 @@ function jsPDF(a) {
|
|
|
56100
56109
|
}, g.Matrix = Pt;
|
|
56101
56110
|
var Ot = g.matrixMult = function(z, V) {
|
|
56102
56111
|
return V.multiply(z);
|
|
56103
|
-
},
|
|
56104
|
-
g.unitMatrix = g.identityMatrix =
|
|
56112
|
+
}, Cr = new Pt(1, 0, 0, 1, 0, 0);
|
|
56113
|
+
g.unitMatrix = g.identityMatrix = Cr;
|
|
56105
56114
|
var Nr = function(V, ye) {
|
|
56106
56115
|
if (!Qt[V]) {
|
|
56107
56116
|
var Fe = ye instanceof ShadingPattern ? "Sh" : "P", We = Fe + (Object.keys(St).length + 1).toString(10);
|
|
@@ -56120,11 +56129,11 @@ function jsPDF(a) {
|
|
|
56120
56129
|
var z = jt();
|
|
56121
56130
|
return tr(z, !0), z;
|
|
56122
56131
|
}, jt = g.__private__.newObjectDeferred = function() {
|
|
56123
|
-
return ne++,
|
|
56132
|
+
return ne++, xe[ne] = function() {
|
|
56124
56133
|
return ve;
|
|
56125
56134
|
}, ne;
|
|
56126
56135
|
}, tr = function(V, ye) {
|
|
56127
|
-
return ye = typeof ye == "boolean" ? ye : !1,
|
|
56136
|
+
return ye = typeof ye == "boolean" ? ye : !1, xe[V] = ve, ye && we(V + " 0 obj"), V;
|
|
56128
56137
|
}, Vt = g.__private__.newAdditionalObject = function() {
|
|
56129
56138
|
var z = jt(), V = {
|
|
56130
56139
|
objId: z,
|
|
@@ -56536,7 +56545,7 @@ Q`), tr(We, !0), Or({
|
|
|
56536
56545
|
}, V.foo.bar = V, V.foo;
|
|
56537
56546
|
}, ct = function(V, ye) {
|
|
56538
56547
|
var Fe, We, Ze, lt, ft, mt, Bt, Ht, Kt;
|
|
56539
|
-
if (ye = ye || {}, Ze = ye.sourceEncoding || "Unicode", ft = ye.outputEncoding, (ye.autoencode || ft) && pt[
|
|
56548
|
+
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)) {
|
|
56540
56549
|
for (Bt = !1, mt = [], Fe = 0, We = V.length; Fe < We; Fe++)
|
|
56541
56550
|
Ht = ft[V.charCodeAt(Fe)], Ht ? mt.push(String.fromCharCode(Ht)) : mt.push(V[Fe]), mt[Fe].charCodeAt(0) >> 8 && (Bt = !0);
|
|
56542
56551
|
V = mt.join("");
|
|
@@ -56579,7 +56588,7 @@ Q`), tr(We, !0), Or({
|
|
|
56579
56588
|
We > Ze && (o = [Ze, We]);
|
|
56580
56589
|
break;
|
|
56581
56590
|
}
|
|
56582
|
-
ut(o), yn(Yo), we(eo), qr !== 0 && we(qr + " J"),
|
|
56591
|
+
ut(o), yn(Yo), we(eo), qr !== 0 && we(qr + " J"), Ci !== 0 && we(Ci + " j"), se.publish("addPage", {
|
|
56583
56592
|
pageNumber: Gt
|
|
56584
56593
|
});
|
|
56585
56594
|
}, zt = function(V) {
|
|
@@ -56590,7 +56599,7 @@ Q`), tr(We, !0), Or({
|
|
|
56590
56599
|
return pe.length - 1;
|
|
56591
56600
|
}, hr = function(V, ye, Fe) {
|
|
56592
56601
|
var We = void 0, Ze;
|
|
56593
|
-
return Fe = Fe || {}, V = V !== void 0 ? V : pt[
|
|
56602
|
+
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;
|
|
56594
56603
|
}, cr = g.__private__.putInfo = function() {
|
|
56595
56604
|
var z = Xt(), V = function(We) {
|
|
56596
56605
|
return We;
|
|
@@ -56643,8 +56652,8 @@ Q`), tr(We, !0), Or({
|
|
|
56643
56652
|
var z = "0000000000";
|
|
56644
56653
|
we("xref"), we("0 " + (ne + 1)), we("0000000000 65535 f ");
|
|
56645
56654
|
for (var V = 1; V <= ne; V++) {
|
|
56646
|
-
var ye =
|
|
56647
|
-
typeof ye == "function" ? we((z +
|
|
56655
|
+
var ye = xe[V];
|
|
56656
|
+
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 ");
|
|
56648
56657
|
}
|
|
56649
56658
|
}, Zr = g.__private__.buildDocument = function() {
|
|
56650
56659
|
Te(), He(Ie), se.publish("buildDocument"), Qi(), Yr(), ke(), be(), f !== null && mo(), cr(), kr();
|
|
@@ -56821,8 +56830,8 @@ Q`), tr(We, !0), Or({
|
|
|
56821
56830
|
return vr = vr.split(" ").join(Array(Fe.TabLen || 9).join(" ")), at(vr, $t);
|
|
56822
56831
|
}
|
|
56823
56832
|
function Xo(vr) {
|
|
56824
|
-
for (var ar = vr.concat(), dr = [], Fr = ar.length,
|
|
56825
|
-
|
|
56833
|
+
for (var ar = vr.concat(), dr = [], Fr = ar.length, xr; Fr--; )
|
|
56834
|
+
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]]);
|
|
56826
56835
|
return dr;
|
|
56827
56836
|
}
|
|
56828
56837
|
function qo(vr, ar) {
|
|
@@ -56830,9 +56839,9 @@ Q`), tr(We, !0), Or({
|
|
|
56830
56839
|
if (typeof vr == "string")
|
|
56831
56840
|
dr = ar(vr)[0];
|
|
56832
56841
|
else if (Array.isArray(vr)) {
|
|
56833
|
-
for (var Fr = vr.concat(),
|
|
56834
|
-
Xr = Fr.shift(), typeof Xr == "string" ?
|
|
56835
|
-
dr =
|
|
56842
|
+
for (var Fr = vr.concat(), xr = [], xn = Fr.length, Xr, Ii; xn--; )
|
|
56843
|
+
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]]));
|
|
56844
|
+
dr = xr;
|
|
56836
56845
|
}
|
|
56837
56846
|
return dr;
|
|
56838
56847
|
}
|
|
@@ -56873,7 +56882,7 @@ Q`), tr(We, !0), Or({
|
|
|
56873
56882
|
options: Fe,
|
|
56874
56883
|
mutex: {
|
|
56875
56884
|
pdfEscape: at,
|
|
56876
|
-
activeFontKey:
|
|
56885
|
+
activeFontKey: xt,
|
|
56877
56886
|
fonts: pt,
|
|
56878
56887
|
activeFontSize: Ne
|
|
56879
56888
|
}
|
|
@@ -56882,7 +56891,7 @@ Q`), tr(We, !0), Or({
|
|
|
56882
56891
|
var Jo = Math.cos(mt), Bi = Math.sin(mt);
|
|
56883
56892
|
ur = new Pt(Jo, Bi, -Bi, Jo, 0, 0);
|
|
56884
56893
|
} else mt && mt instanceof Pt && (ur = mt);
|
|
56885
|
-
D === _.ADVANCED && !ur && (ur =
|
|
56894
|
+
D === _.ADVANCED && !ur && (ur = Cr), Ht = Fe.charSpace || Ti, typeof Ht < "u" && (br += L(Y(Ht)) + ` Tc
|
|
56886
56895
|
`, this.setCharSpace(this.getCharSpace() || 0)), yr = Fe.horizontalScale, typeof yr < "u" && (br += L(yr * 100) + ` Tz
|
|
56887
56896
|
`), Fe.lang;
|
|
56888
56897
|
var Er = -1, Po = typeof Fe.renderingMode < "u" ? Fe.renderingMode : Fe.stroke, so = Ze.internal.getCurrentPageInfo().pageContext;
|
|
@@ -56922,11 +56931,11 @@ Q`), tr(We, !0), Or({
|
|
|
56922
56931
|
Er = 7;
|
|
56923
56932
|
break;
|
|
56924
56933
|
}
|
|
56925
|
-
var
|
|
56934
|
+
var Cn = typeof so.usedRenderingMode < "u" ? so.usedRenderingMode : -1;
|
|
56926
56935
|
Er !== -1 ? br += Er + ` Tr
|
|
56927
|
-
` :
|
|
56936
|
+
` : Cn !== -1 && (br += `0 Tr
|
|
56928
56937
|
`), Er !== -1 && (so.usedRenderingMode = Er), Bt = Fe.align || "left";
|
|
56929
|
-
var Ko = Ne * Oi, ao = Ze.internal.pageSize.getWidth(), No = pt[
|
|
56938
|
+
var Ko = Ne * Oi, ao = Ze.internal.pageSize.getWidth(), No = pt[xt];
|
|
56930
56939
|
Ht = Fe.charSpace || Ti, Kt = Fe.maxWidth || 0;
|
|
56931
56940
|
var Kr;
|
|
56932
56941
|
$t = Object.assign({
|
|
@@ -56936,7 +56945,7 @@ Q`), tr(We, !0), Or({
|
|
|
56936
56945
|
var lo = [];
|
|
56937
56946
|
if (Object.prototype.toString.call(z) === "[object Array]") {
|
|
56938
56947
|
ft = Xo(z);
|
|
56939
|
-
var
|
|
56948
|
+
var xi;
|
|
56940
56949
|
Bt !== "left" && (Kr = ft.map(function(vr) {
|
|
56941
56950
|
return Ze.getStringUnitWidth(vr, {
|
|
56942
56951
|
font: No,
|
|
@@ -56949,11 +56958,11 @@ Q`), tr(We, !0), Or({
|
|
|
56949
56958
|
if (Bt === "right") {
|
|
56950
56959
|
V -= Kr[0], z = [], Dr = ft.length;
|
|
56951
56960
|
for (var zi = 0; zi < Dr; zi++)
|
|
56952
|
-
zi === 0 ? (bi = Ni(V),
|
|
56961
|
+
zi === 0 ? (bi = Ni(V), xi = sr(ye)) : (bi = Y(co - Kr[zi]), xi = -Ko), z.push([ft[zi], bi, xi]), co = Kr[zi];
|
|
56953
56962
|
} else if (Bt === "center") {
|
|
56954
56963
|
V -= Kr[0] / 2, z = [], Dr = ft.length;
|
|
56955
56964
|
for (var Wi = 0; Wi < Dr; Wi++)
|
|
56956
|
-
Wi === 0 ? (bi = Ni(V),
|
|
56965
|
+
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];
|
|
56957
56966
|
} else if (Bt === "left") {
|
|
56958
56967
|
z = [], Dr = ft.length;
|
|
56959
56968
|
for (var To = 0; To < Dr; To++)
|
|
@@ -56961,7 +56970,7 @@ Q`), tr(We, !0), Or({
|
|
|
56961
56970
|
} else if (Bt === "justify") {
|
|
56962
56971
|
z = [], Dr = ft.length, Kt = Kt !== 0 ? Kt : ao;
|
|
56963
56972
|
for (var ai = 0; ai < Dr; ai++)
|
|
56964
|
-
|
|
56973
|
+
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]);
|
|
56965
56974
|
} else
|
|
56966
56975
|
throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
|
|
56967
56976
|
}
|
|
@@ -56975,20 +56984,20 @@ Q`), tr(We, !0), Or({
|
|
|
56975
56984
|
options: Fe,
|
|
56976
56985
|
mutex: {
|
|
56977
56986
|
pdfEscape: at,
|
|
56978
|
-
activeFontKey:
|
|
56987
|
+
activeFontKey: xt,
|
|
56979
56988
|
fonts: pt,
|
|
56980
56989
|
activeFontSize: Ne
|
|
56981
56990
|
}
|
|
56982
56991
|
}, se.publish("postProcessText", lt), z = lt.text, Br = lt.mutex.isHex || !1;
|
|
56983
|
-
var en = pt[
|
|
56992
|
+
var en = pt[xt].encoding;
|
|
56984
56993
|
(en === "WinAnsiEncoding" || en === "StandardEncoding") && (z = qo(z, function(vr, ar, dr) {
|
|
56985
56994
|
return [fr(vr), ar, dr];
|
|
56986
56995
|
})), ft = Xo(z), z = [];
|
|
56987
56996
|
for (var Ei = 0, ho = 1, uo = Array.isArray(ft[0]) ? ho : Ei, Hr, Gr, Fi, ji = "", So = function(ar, dr, Fr) {
|
|
56988
|
-
var
|
|
56989
|
-
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)),
|
|
56990
|
-
`) :
|
|
56991
|
-
`,
|
|
56997
|
+
var xr = "";
|
|
56998
|
+
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
|
|
56999
|
+
`) : xr = L(ar) + " " + L(dr) + ` Td
|
|
57000
|
+
`, xr;
|
|
56992
57001
|
}, Vr = 0; Vr < ft.length; Vr++) {
|
|
56993
57002
|
switch (ji = "", uo) {
|
|
56994
57003
|
case ho:
|
|
@@ -57007,10 +57016,10 @@ T* `) : z.join(` Tj
|
|
|
57007
57016
|
`;
|
|
57008
57017
|
var li = `BT
|
|
57009
57018
|
/`;
|
|
57010
|
-
return li +=
|
|
57019
|
+
return li += xt + " " + Ne + ` Tf
|
|
57011
57020
|
`, li += L(Ne * Oi) + ` TL
|
|
57012
57021
|
`, li += Hi + `
|
|
57013
|
-
`, li += br, li += z, li += "ET", we(li), m[
|
|
57022
|
+
`, li += br, li += z, li += "ET", we(li), m[xt] = !0, Ze;
|
|
57014
57023
|
};
|
|
57015
57024
|
var vo = g.__private__.clip = g.clip = function(z) {
|
|
57016
57025
|
return we(z === "evenodd" ? "W*" : "W"), this;
|
|
@@ -57080,7 +57089,7 @@ T* `) : z.join(` Tj
|
|
|
57080
57089
|
we("q"), we(Rn(ye)), We.gState && g.setGState(We.gState), we(V.matrix.toString() + " cm"), we("/" + Fe + " sh"), we("Q");
|
|
57081
57090
|
else if (We instanceof TilingPattern) {
|
|
57082
57091
|
var Ze = new Pt(1, 0, 0, -1, 0, Di());
|
|
57083
|
-
V.matrix && (Ze = Ze.multiply(V.matrix ||
|
|
57092
|
+
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");
|
|
57084
57093
|
}
|
|
57085
57094
|
}, Rn = function(V) {
|
|
57086
57095
|
switch (V) {
|
|
@@ -57183,7 +57192,7 @@ T* `) : z.join(` Tj
|
|
|
57183
57192
|
throw new Error("Invalid arguments passed to jsPDF.circle");
|
|
57184
57193
|
return this.ellipse(z, V, ye, ye, Fe);
|
|
57185
57194
|
}, g.setFont = function(z, V, ye) {
|
|
57186
|
-
return ye && (V = I(V, ye)),
|
|
57195
|
+
return ye && (V = I(V, ye)), xt = hr(z, V, {
|
|
57187
57196
|
disableWarning: !1
|
|
57188
57197
|
}), this;
|
|
57189
57198
|
};
|
|
@@ -57215,7 +57224,7 @@ T* `) : z.join(` Tj
|
|
|
57215
57224
|
return L(Y(ye));
|
|
57216
57225
|
}).join(" "), V = L(Y(V)), we("[" + z + "] " + V + " d"), this;
|
|
57217
57226
|
};
|
|
57218
|
-
var $i,
|
|
57227
|
+
var $i, Co = g.__private__.getLineHeight = g.getLineHeight = function() {
|
|
57219
57228
|
return Ne * $i;
|
|
57220
57229
|
};
|
|
57221
57230
|
g.__private__.getLineHeight = g.getLineHeight = function() {
|
|
@@ -57309,12 +57318,12 @@ T* `) : z.join(` Tj
|
|
|
57309
57318
|
throw new Error("Line cap style of '" + z + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
57310
57319
|
return qr = V, we(V + " J"), this;
|
|
57311
57320
|
};
|
|
57312
|
-
var
|
|
57321
|
+
var Ci = 0;
|
|
57313
57322
|
g.__private__.setLineJoin = g.setLineJoin = function(z) {
|
|
57314
57323
|
var V = g.CapJoinStyles[z];
|
|
57315
57324
|
if (V === void 0)
|
|
57316
57325
|
throw new Error("Line join style of '" + z + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
57317
|
-
return
|
|
57326
|
+
return Ci = V, we(V + " j"), this;
|
|
57318
57327
|
}, g.__private__.setLineMiterLimit = g.__private__.setMiterLimit = g.setLineMiterLimit = g.setMiterLimit = function(z) {
|
|
57319
57328
|
if (z = z || 0, isNaN(z))
|
|
57320
57329
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
@@ -57343,20 +57352,20 @@ T* `) : z.join(` Tj
|
|
|
57343
57352
|
return Qr(z, V), this;
|
|
57344
57353
|
}, g.saveGraphicsState = function() {
|
|
57345
57354
|
return we("q"), It.push({
|
|
57346
|
-
key:
|
|
57355
|
+
key: xt,
|
|
57347
57356
|
size: Ne,
|
|
57348
57357
|
color: Hi
|
|
57349
57358
|
}), this;
|
|
57350
57359
|
}, g.restoreGraphicsState = function() {
|
|
57351
57360
|
we("Q");
|
|
57352
57361
|
var z = It.pop();
|
|
57353
|
-
return
|
|
57362
|
+
return xt = z.key, Ne = z.size, Hi = z.color, wr = null, this;
|
|
57354
57363
|
}, g.setCurrentTransformationMatrix = function(z) {
|
|
57355
57364
|
return we(z.toString() + " cm"), this;
|
|
57356
57365
|
}, g.comment = function(z) {
|
|
57357
57366
|
return we("#" + z), this;
|
|
57358
57367
|
};
|
|
57359
|
-
var
|
|
57368
|
+
var xo = function(V, ye) {
|
|
57360
57369
|
var Fe = V || 0;
|
|
57361
57370
|
Object.defineProperty(this, "x", {
|
|
57362
57371
|
enumerable: !0,
|
|
@@ -57388,7 +57397,7 @@ T* `) : z.join(` Tj
|
|
|
57388
57397
|
}
|
|
57389
57398
|
}), this;
|
|
57390
57399
|
}, bo = function(V, ye, Fe, We) {
|
|
57391
|
-
|
|
57400
|
+
xo.call(this, V, ye), this.type = "rect";
|
|
57392
57401
|
var Ze = Fe || 0;
|
|
57393
57402
|
Object.defineProperty(this, "w", {
|
|
57394
57403
|
enumerable: !0,
|
|
@@ -57473,7 +57482,7 @@ T* `) : z.join(` Tj
|
|
|
57473
57482
|
getFontSize: Be,
|
|
57474
57483
|
getCharSpace: wi,
|
|
57475
57484
|
getTextColor: vn,
|
|
57476
|
-
getLineHeight:
|
|
57485
|
+
getLineHeight: Co,
|
|
57477
57486
|
getLineHeightFactor: Hn,
|
|
57478
57487
|
getLineWidth: mn,
|
|
57479
57488
|
write: le,
|
|
@@ -57517,7 +57526,7 @@ T* `) : z.join(` Tj
|
|
|
57517
57526
|
getPageInfoByObjId: In,
|
|
57518
57527
|
getCurrentPageInfo: An,
|
|
57519
57528
|
getPDFVersion: w,
|
|
57520
|
-
Point:
|
|
57529
|
+
Point: xo,
|
|
57521
57530
|
Rectangle: bo,
|
|
57522
57531
|
Matrix: Pt,
|
|
57523
57532
|
hasHotfix: Ri,
|
|
@@ -57541,7 +57550,7 @@ T* `) : z.join(` Tj
|
|
|
57541
57550
|
},
|
|
57542
57551
|
enumerable: !0,
|
|
57543
57552
|
configurable: !0
|
|
57544
|
-
}), it.call(g, $),
|
|
57553
|
+
}), it.call(g, $), xt = "F1", vt(o, t), se.publish("initialized"), g;
|
|
57545
57554
|
}
|
|
57546
57555
|
jsPDF.API = {
|
|
57547
57556
|
events: []
|
|
@@ -59004,7 +59013,7 @@ jsPDF.AcroForm;
|
|
|
59004
59013
|
]
|
|
59005
59014
|
}, s = a.__addimage__.getImageFileTypeByImageData = function(W, G) {
|
|
59006
59015
|
G = G || r;
|
|
59007
|
-
var J, ae,
|
|
59016
|
+
var J, ae, Ce = r, oe, me, ue;
|
|
59008
59017
|
if (G === "RGBA" || W.data !== void 0 && W.data instanceof Uint8ClampedArray && "height" in W && "width" in W)
|
|
59009
59018
|
return "RGBA";
|
|
59010
59019
|
if (B(W))
|
|
@@ -59016,7 +59025,7 @@ jsPDF.AcroForm;
|
|
|
59016
59025
|
break;
|
|
59017
59026
|
}
|
|
59018
59027
|
if (me === !0) {
|
|
59019
|
-
|
|
59028
|
+
Ce = ue;
|
|
59020
59029
|
break;
|
|
59021
59030
|
}
|
|
59022
59031
|
}
|
|
@@ -59029,13 +59038,13 @@ jsPDF.AcroForm;
|
|
|
59029
59038
|
break;
|
|
59030
59039
|
}
|
|
59031
59040
|
if (me === !0) {
|
|
59032
|
-
|
|
59041
|
+
Ce = ue;
|
|
59033
59042
|
break;
|
|
59034
59043
|
}
|
|
59035
59044
|
}
|
|
59036
|
-
return
|
|
59045
|
+
return Ce === r && G !== r && (Ce = G), Ce;
|
|
59037
59046
|
}, l = function W(G) {
|
|
59038
|
-
for (var J = this.internal.write, ae = this.internal.putStream,
|
|
59047
|
+
for (var J = this.internal.write, ae = this.internal.putStream, Ce = this.internal.getFilters, oe = Ce(); oe.indexOf("FlateEncode") !== -1; )
|
|
59039
59048
|
oe.splice(oe.indexOf("FlateEncode"), 1);
|
|
59040
59049
|
G.objectId = this.internal.newObject();
|
|
59041
59050
|
var me = [];
|
|
@@ -59079,11 +59088,11 @@ jsPDF.AcroForm;
|
|
|
59079
59088
|
key: "SMask",
|
|
59080
59089
|
value: G.objectId + 1 + " 0 R"
|
|
59081
59090
|
});
|
|
59082
|
-
var
|
|
59091
|
+
var xe = typeof G.filter < "u" ? ["/" + G.filter] : void 0;
|
|
59083
59092
|
if (ae({
|
|
59084
59093
|
data: G.data,
|
|
59085
59094
|
additionalKeyValues: me,
|
|
59086
|
-
alreadyAppliedFilters:
|
|
59095
|
+
alreadyAppliedFilters: xe,
|
|
59087
59096
|
objectId: G.objectId
|
|
59088
59097
|
}), J("endobj"), "sMask" in G && typeof G.sMask < "u") {
|
|
59089
59098
|
var Ie = "/Predictor " + G.predictor + " /Colors 1 /BitsPerComponent " + G.bitsPerComponent + " /Columns " + G.width, ve = {
|
|
@@ -59109,8 +59118,8 @@ jsPDF.AcroForm;
|
|
|
59109
59118
|
l.call(this, G[J]);
|
|
59110
59119
|
}, d = function() {
|
|
59111
59120
|
var G = this.internal.collections[t + "images"], J = this.internal.write, ae;
|
|
59112
|
-
for (var
|
|
59113
|
-
ae = G[
|
|
59121
|
+
for (var Ce in G)
|
|
59122
|
+
ae = G[Ce], J("/I" + ae.index, ae.objectId, "0", "R");
|
|
59114
59123
|
}, u = function(G) {
|
|
59115
59124
|
return G && typeof G == "string" && (G = G.toUpperCase()), G in a.image_compression ? G : I.NONE;
|
|
59116
59125
|
}, f = function() {
|
|
@@ -59133,9 +59142,9 @@ jsPDF.AcroForm;
|
|
|
59133
59142
|
var ae = "" + G.getAttribute("src");
|
|
59134
59143
|
if (ae.indexOf("data:image/") === 0)
|
|
59135
59144
|
return atob$1(unescape(ae).split("base64,").pop());
|
|
59136
|
-
var
|
|
59137
|
-
if (
|
|
59138
|
-
return
|
|
59145
|
+
var Ce = a.loadFile(ae, !0);
|
|
59146
|
+
if (Ce !== void 0)
|
|
59147
|
+
return Ce;
|
|
59139
59148
|
}
|
|
59140
59149
|
if (G.nodeName === "CANVAS") {
|
|
59141
59150
|
if (G.width === 0 || G.height === 0)
|
|
@@ -59165,9 +59174,9 @@ jsPDF.AcroForm;
|
|
|
59165
59174
|
}
|
|
59166
59175
|
}, D = function(G, J, ae) {
|
|
59167
59176
|
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];
|
|
59168
|
-
}, E = function(G, J, ae,
|
|
59169
|
-
var ue = D.call(this, ae,
|
|
59170
|
-
if (ae = ue[0],
|
|
59177
|
+
}, E = function(G, J, ae, Ce, oe, me) {
|
|
59178
|
+
var ue = D.call(this, ae, Ce, oe), Q = this.internal.getCoordinateString, ne = this.internal.getVerticalCoordinateString, xe = p.call(this);
|
|
59179
|
+
if (ae = ue[0], Ce = ue[1], xe[oe.index] = oe, oe.exifdata && oe.exifdata.Orientation && (me = {
|
|
59171
59180
|
6: 270,
|
|
59172
59181
|
8: 90,
|
|
59173
59182
|
// 5: 180,
|
|
@@ -59182,7 +59191,7 @@ jsPDF.AcroForm;
|
|
|
59182
59191
|
return De.toFixed(4);
|
|
59183
59192
|
}, pe = [_e(Ie), _e(ve), _e(ve * -1), _e(Ie), 0, 0, "cm"];
|
|
59184
59193
|
}
|
|
59185
|
-
this.internal.write("q"), me ? (oe.exifdata && oe.exifdata.Orientation ? oe.exifdata.Orientation == 8 || oe.exifdata.Orientation == 4 ? (G +=
|
|
59194
|
+
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");
|
|
59186
59195
|
}, T = a.color_spaces = {
|
|
59187
59196
|
DEVICE_RGB: "DeviceRGB",
|
|
59188
59197
|
DEVICE_GRAY: "DeviceGray",
|
|
@@ -59255,19 +59264,19 @@ jsPDF.AcroForm;
|
|
|
59255
59264
|
return releaseArrayBuffer(W), G;
|
|
59256
59265
|
};
|
|
59257
59266
|
a.addImage = function() {
|
|
59258
|
-
var W, G, J, ae,
|
|
59259
|
-
if (W = arguments[0], typeof arguments[1] == "number" ? (G = r, J = arguments[1], ae = arguments[2],
|
|
59267
|
+
var W, G, J, ae, Ce, oe, me, ue, Q;
|
|
59268
|
+
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) {
|
|
59260
59269
|
var ne = W;
|
|
59261
|
-
W = ne.imageData, G = ne.format || G || r, J = ne.x || J || 0, ae = ne.y || ae || 0,
|
|
59270
|
+
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;
|
|
59262
59271
|
}
|
|
59263
|
-
var
|
|
59264
|
-
if (ue === void 0 &&
|
|
59272
|
+
var xe = this.internal.getFilters();
|
|
59273
|
+
if (ue === void 0 && xe.indexOf("FlateEncode") !== -1 && (ue = "SLOW"), ue = "SLOW", isNaN(J) || isNaN(ae))
|
|
59265
59274
|
throw new Error("Invalid coordinates passed to jsPDF.addImage");
|
|
59266
59275
|
f.call(this);
|
|
59267
59276
|
var Ie = U.call(this, W, G, me, ue);
|
|
59268
|
-
return E.call(this, J, ae,
|
|
59277
|
+
return E.call(this, J, ae, Ce, oe, Ie, Q), this;
|
|
59269
59278
|
};
|
|
59270
|
-
var U = function(G, J, ae,
|
|
59279
|
+
var U = function(G, J, ae, Ce) {
|
|
59271
59280
|
var oe, me;
|
|
59272
59281
|
let ue = G.exifdata;
|
|
59273
59282
|
if (typeof G == "string" && s(G) === r) {
|
|
@@ -59277,19 +59286,19 @@ jsPDF.AcroForm;
|
|
|
59277
59286
|
}
|
|
59278
59287
|
if (v(G) && (G = C(G, J)), J = s(G, J), !w(J))
|
|
59279
59288
|
throw new Error("addImage does not support files of type '" + J + "', please ensure that a plugin for '" + J + "' support is added.");
|
|
59280
|
-
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(
|
|
59289
|
+
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)
|
|
59281
59290
|
throw new Error("An unknown error occurred whilst processing the image.");
|
|
59282
59291
|
return oe.exifdata = ue, oe;
|
|
59283
59292
|
}, X = a.__addimage__.convertBase64ToBinaryString = function(W, G) {
|
|
59284
59293
|
G = typeof G == "boolean" ? G : !0;
|
|
59285
|
-
var J, ae = "",
|
|
59294
|
+
var J, ae = "", Ce;
|
|
59286
59295
|
if (typeof W == "string") {
|
|
59287
|
-
J = L(W),
|
|
59296
|
+
J = L(W), Ce = J !== null ? J.data : W;
|
|
59288
59297
|
try {
|
|
59289
|
-
ae = atob$1(
|
|
59298
|
+
ae = atob$1(Ce);
|
|
59290
59299
|
} catch (oe) {
|
|
59291
59300
|
if (G)
|
|
59292
|
-
throw k(
|
|
59301
|
+
throw k(Ce) ? new Error("atob-Error in jsPDF.convertBase64ToBinaryString " + oe.message) : new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ");
|
|
59293
59302
|
}
|
|
59294
59303
|
}
|
|
59295
59304
|
return ae;
|
|
@@ -59967,12 +59976,12 @@ function releaseArrayBuffer(a) {
|
|
|
59967
59976
|
}, this);
|
|
59968
59977
|
var ae = d.call(this, p[C], D);
|
|
59969
59978
|
for (I = 0; I < y.length; I += 1) {
|
|
59970
|
-
var
|
|
59979
|
+
var Ce = p[C][y[I]];
|
|
59971
59980
|
"cellStart" in g && g.cellStart instanceof Function && g.cellStart({
|
|
59972
59981
|
row: C,
|
|
59973
59982
|
col: I,
|
|
59974
|
-
data:
|
|
59975
|
-
}, this), c.call(this, new l(u, f, D[y[I]], ae,
|
|
59983
|
+
data: Ce
|
|
59984
|
+
}, this), c.call(this, new l(u, f, D[y[I]], ae, Ce, C + 2, J[y[I]]));
|
|
59976
59985
|
}
|
|
59977
59986
|
}
|
|
59978
59987
|
return this.internal.__cell__.table_x = u, this.internal.__cell__.table_y = f, this;
|
|
@@ -60174,8 +60183,8 @@ function parseFontFamily(a) {
|
|
|
60174
60183
|
Q = Q || {}, this.isStrokeTransparent = Q.isStrokeTransparent || !1;
|
|
60175
60184
|
var ne = Q.strokeOpacity || 1;
|
|
60176
60185
|
ne < 1 ? this.strokeOpacity = 0 : this.strokeOpacity = 1, this.strokeStyle = Q.strokeStyle || "#000000", this.fillStyle = Q.fillStyle || "#000000", this.isFillTransparent = Q.isFillTransparent || !1;
|
|
60177
|
-
var
|
|
60178
|
-
|
|
60186
|
+
var xe = Q.fillOpacity || 1;
|
|
60187
|
+
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";
|
|
60179
60188
|
var Ie = Q.globalAlpha || 1;
|
|
60180
60189
|
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;
|
|
60181
60190
|
}, r, o, n, s, l, c, d, u, f;
|
|
@@ -60199,13 +60208,13 @@ function parseFontFamily(a) {
|
|
|
60199
60208
|
return ne;
|
|
60200
60209
|
}
|
|
60201
60210
|
});
|
|
60202
|
-
var
|
|
60211
|
+
var xe = !1;
|
|
60203
60212
|
Object.defineProperty(this, "pageWrapXEnabled", {
|
|
60204
60213
|
get: function() {
|
|
60205
|
-
return
|
|
60214
|
+
return xe;
|
|
60206
60215
|
},
|
|
60207
60216
|
set: function($) {
|
|
60208
|
-
|
|
60217
|
+
xe = !!$;
|
|
60209
60218
|
}
|
|
60210
60219
|
});
|
|
60211
60220
|
var Ie = !1;
|
|
@@ -60448,8 +60457,8 @@ function parseFontFamily(a) {
|
|
|
60448
60457
|
this.pdf.setFont(Tt.ref.name, Tt.ref.style);
|
|
60449
60458
|
return;
|
|
60450
60459
|
}
|
|
60451
|
-
var
|
|
60452
|
-
(Me === "bold" || parseInt(Me, 10) >= 700 || Qe === "bold") && (
|
|
60460
|
+
var xt = "";
|
|
60461
|
+
(Me === "bold" || parseInt(Me, 10) >= 700 || Qe === "bold") && (xt = "bold"), Qe === "italic" && (xt += "italic"), xt.length === 0 && (xt = "normal");
|
|
60453
60462
|
for (var It = "", St = {
|
|
60454
60463
|
arial: "Helvetica",
|
|
60455
60464
|
Arial: "Helvetica",
|
|
@@ -60465,22 +60474,22 @@ function parseFontFamily(a) {
|
|
|
60465
60474
|
fantasy: "Times",
|
|
60466
60475
|
serif: "Times"
|
|
60467
60476
|
}, Qt = 0; Qt < gt.length; Qt++)
|
|
60468
|
-
if (this.pdf.internal.getFont(gt[Qt],
|
|
60477
|
+
if (this.pdf.internal.getFont(gt[Qt], xt, {
|
|
60469
60478
|
noFallback: !0,
|
|
60470
60479
|
disableWarning: !0
|
|
60471
60480
|
}) !== void 0) {
|
|
60472
60481
|
It = gt[Qt];
|
|
60473
60482
|
break;
|
|
60474
|
-
} else if (
|
|
60483
|
+
} else if (xt === "bolditalic" && this.pdf.internal.getFont(gt[Qt], "bold", {
|
|
60475
60484
|
noFallback: !0,
|
|
60476
60485
|
disableWarning: !0
|
|
60477
60486
|
}) !== void 0)
|
|
60478
|
-
It = gt[Qt],
|
|
60487
|
+
It = gt[Qt], xt = "bold";
|
|
60479
60488
|
else if (this.pdf.internal.getFont(gt[Qt], "normal", {
|
|
60480
60489
|
noFallback: !0,
|
|
60481
60490
|
disableWarning: !0
|
|
60482
60491
|
}) !== void 0) {
|
|
60483
|
-
It = gt[Qt],
|
|
60492
|
+
It = gt[Qt], xt = "normal";
|
|
60484
60493
|
break;
|
|
60485
60494
|
}
|
|
60486
60495
|
if (It === "") {
|
|
@@ -60490,7 +60499,7 @@ function parseFontFamily(a) {
|
|
|
60490
60499
|
break;
|
|
60491
60500
|
}
|
|
60492
60501
|
}
|
|
60493
|
-
It = It === "" ? "Times" : It, this.pdf.setFont(It,
|
|
60502
|
+
It = It === "" ? "Times" : It, this.pdf.setFont(It, xt);
|
|
60494
60503
|
}
|
|
60495
60504
|
}), Object.defineProperty(this, "globalCompositeOperation", {
|
|
60496
60505
|
get: function() {
|
|
@@ -60577,10 +60586,10 @@ function parseFontFamily(a) {
|
|
|
60577
60586
|
}), this.ctx.lastPoint = new c(ne.x, ne.y);
|
|
60578
60587
|
}, p.prototype.clip = function() {
|
|
60579
60588
|
this.ctx.clip_path = JSON.parse(JSON.stringify(this.path)), E.call(this, null, !0);
|
|
60580
|
-
}, p.prototype.quadraticCurveTo = function(ue, Q, ne,
|
|
60581
|
-
if (isNaN(ne) || isNaN(
|
|
60589
|
+
}, p.prototype.quadraticCurveTo = function(ue, Q, ne, xe) {
|
|
60590
|
+
if (isNaN(ne) || isNaN(xe) || isNaN(ue) || isNaN(Q))
|
|
60582
60591
|
throw console$1.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");
|
|
60583
|
-
var Ie = this.ctx.transform.applyToPoint(new c(ne,
|
|
60592
|
+
var Ie = this.ctx.transform.applyToPoint(new c(ne, xe)), ve = this.ctx.transform.applyToPoint(new c(ue, Q));
|
|
60584
60593
|
this.path.push({
|
|
60585
60594
|
type: "qct",
|
|
60586
60595
|
x1: ve.x,
|
|
@@ -60588,10 +60597,10 @@ function parseFontFamily(a) {
|
|
|
60588
60597
|
x: Ie.x,
|
|
60589
60598
|
y: Ie.y
|
|
60590
60599
|
}), this.ctx.lastPoint = new c(Ie.x, Ie.y);
|
|
60591
|
-
}, p.prototype.bezierCurveTo = function(ue, Q, ne,
|
|
60592
|
-
if (isNaN(Ie) || isNaN(ve) || isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60600
|
+
}, p.prototype.bezierCurveTo = function(ue, Q, ne, xe, Ie, ve) {
|
|
60601
|
+
if (isNaN(Ie) || isNaN(ve) || isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60593
60602
|
throw console$1.error("jsPDF.context2d.bezierCurveTo: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");
|
|
60594
|
-
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,
|
|
60603
|
+
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));
|
|
60595
60604
|
this.path.push({
|
|
60596
60605
|
type: "bct",
|
|
60597
60606
|
x1: pe.x,
|
|
@@ -60601,8 +60610,8 @@ function parseFontFamily(a) {
|
|
|
60601
60610
|
x: _e.x,
|
|
60602
60611
|
y: _e.y
|
|
60603
60612
|
}), this.ctx.lastPoint = new c(_e.x, _e.y);
|
|
60604
|
-
}, p.prototype.arc = function(ue, Q, ne,
|
|
60605
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60613
|
+
}, p.prototype.arc = function(ue, Q, ne, xe, Ie, ve) {
|
|
60614
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe) || isNaN(Ie))
|
|
60606
60615
|
throw console$1.error("jsPDF.context2d.arc: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.arc");
|
|
60607
60616
|
if (ve = !!ve, !this.ctx.transform.isIdentity) {
|
|
60608
60617
|
var _e = this.ctx.transform.applyToPoint(new c(ue, Q));
|
|
@@ -60610,44 +60619,44 @@ function parseFontFamily(a) {
|
|
|
60610
60619
|
var pe = this.ctx.transform.applyToPoint(new c(0, ne)), Pe = this.ctx.transform.applyToPoint(new c(0, 0));
|
|
60611
60620
|
ne = Math.sqrt(Math.pow(pe.x - Pe.x, 2) + Math.pow(pe.y - Pe.y, 2));
|
|
60612
60621
|
}
|
|
60613
|
-
Math.abs(Ie -
|
|
60622
|
+
Math.abs(Ie - xe) >= 2 * Math.PI && (xe = 0, Ie = 2 * Math.PI), this.path.push({
|
|
60614
60623
|
type: "arc",
|
|
60615
60624
|
x: ue,
|
|
60616
60625
|
y: Q,
|
|
60617
60626
|
radius: ne,
|
|
60618
|
-
startAngle:
|
|
60627
|
+
startAngle: xe,
|
|
60619
60628
|
endAngle: Ie,
|
|
60620
60629
|
counterclockwise: ve
|
|
60621
60630
|
});
|
|
60622
|
-
}, p.prototype.arcTo = function(ue, Q, ne,
|
|
60631
|
+
}, p.prototype.arcTo = function(ue, Q, ne, xe, Ie) {
|
|
60623
60632
|
throw new Error("arcTo not implemented.");
|
|
60624
|
-
}, p.prototype.rect = function(ue, Q, ne,
|
|
60625
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60633
|
+
}, p.prototype.rect = function(ue, Q, ne, xe) {
|
|
60634
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60626
60635
|
throw console$1.error("jsPDF.context2d.rect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.rect");
|
|
60627
|
-
this.moveTo(ue, Q), this.lineTo(ue + ne, Q), this.lineTo(ue + ne, Q +
|
|
60628
|
-
}, p.prototype.fillRect = function(ue, Q, ne,
|
|
60629
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60636
|
+
this.moveTo(ue, Q), this.lineTo(ue + ne, Q), this.lineTo(ue + ne, Q + xe), this.lineTo(ue, Q + xe), this.lineTo(ue, Q);
|
|
60637
|
+
}, p.prototype.fillRect = function(ue, Q, ne, xe) {
|
|
60638
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60630
60639
|
throw console$1.error("jsPDF.context2d.fillRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillRect");
|
|
60631
60640
|
if (!g.call(this)) {
|
|
60632
60641
|
var Ie = {};
|
|
60633
|
-
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,
|
|
60642
|
+
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);
|
|
60634
60643
|
}
|
|
60635
|
-
}, p.prototype.strokeRect = function(Q, ne,
|
|
60636
|
-
if (isNaN(Q) || isNaN(ne) || isNaN(
|
|
60644
|
+
}, p.prototype.strokeRect = function(Q, ne, xe, Ie) {
|
|
60645
|
+
if (isNaN(Q) || isNaN(ne) || isNaN(xe) || isNaN(Ie))
|
|
60637
60646
|
throw console$1.error("jsPDF.context2d.strokeRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");
|
|
60638
|
-
y.call(this) || (this.beginPath(), this.rect(Q, ne,
|
|
60639
|
-
}, p.prototype.clearRect = function(ue, Q, ne,
|
|
60640
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60647
|
+
y.call(this) || (this.beginPath(), this.rect(Q, ne, xe, Ie), this.stroke());
|
|
60648
|
+
}, p.prototype.clearRect = function(ue, Q, ne, xe) {
|
|
60649
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60641
60650
|
throw console$1.error("jsPDF.context2d.clearRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.clearRect");
|
|
60642
|
-
this.ignoreClearRect || (this.fillStyle = "#ffffff", this.fillRect(ue, Q, ne,
|
|
60651
|
+
this.ignoreClearRect || (this.fillStyle = "#ffffff", this.fillRect(ue, Q, ne, xe));
|
|
60643
60652
|
}, p.prototype.save = function(ue) {
|
|
60644
60653
|
ue = typeof ue == "boolean" ? ue : !0;
|
|
60645
60654
|
for (var Q = this.pdf.internal.getCurrentPageInfo().pageNumber, ne = 0; ne < this.pdf.internal.getNumberOfPages(); ne++)
|
|
60646
60655
|
this.pdf.setPage(ne + 1), this.pdf.internal.out("q");
|
|
60647
60656
|
if (this.pdf.setPage(Q), ue) {
|
|
60648
60657
|
this.ctx.fontSize = this.pdf.internal.getFontSize();
|
|
60649
|
-
var
|
|
60650
|
-
this.ctxStack.push(this.ctx), this.ctx =
|
|
60658
|
+
var xe = new t(this.ctx);
|
|
60659
|
+
this.ctxStack.push(this.ctx), this.ctx = xe;
|
|
60651
60660
|
}
|
|
60652
60661
|
}, p.prototype.restore = function(ue) {
|
|
60653
60662
|
ue = typeof ue == "boolean" ? ue : !0;
|
|
@@ -60658,7 +60667,7 @@ function parseFontFamily(a) {
|
|
|
60658
60667
|
throw new Error("toDataUrl not implemented.");
|
|
60659
60668
|
};
|
|
60660
60669
|
var m = function(Q) {
|
|
60661
|
-
var ne = /rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,
|
|
60670
|
+
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;
|
|
60662
60671
|
if (Q.isCanvasGradient === !0 && (Q = Q.getColor()), !Q)
|
|
60663
60672
|
return {
|
|
60664
60673
|
r: 0,
|
|
@@ -60673,7 +60682,7 @@ function parseFontFamily(a) {
|
|
|
60673
60682
|
var De = ne.exec(Q);
|
|
60674
60683
|
if (De !== null)
|
|
60675
60684
|
ve = parseInt(De[1]), _e = parseInt(De[2]), pe = parseInt(De[3]), Pe = 1;
|
|
60676
|
-
else if (De =
|
|
60685
|
+
else if (De = xe.exec(Q), De !== null)
|
|
60677
60686
|
ve = parseInt(De[1]), _e = parseInt(De[2]), pe = parseInt(De[3]), Pe = parseFloat(De[4]);
|
|
60678
60687
|
else {
|
|
60679
60688
|
if (Pe = 1, typeof Q == "string" && Q.charAt(0) !== "#") {
|
|
@@ -60695,10 +60704,10 @@ function parseFontFamily(a) {
|
|
|
60695
60704
|
}, y = function() {
|
|
60696
60705
|
return !!(this.ctx.isStrokeTransparent || this.globalAlpha == 0);
|
|
60697
60706
|
};
|
|
60698
|
-
p.prototype.fillText = function(ue, Q, ne,
|
|
60707
|
+
p.prototype.fillText = function(ue, Q, ne, xe) {
|
|
60699
60708
|
if (isNaN(Q) || isNaN(ne) || typeof ue != "string")
|
|
60700
60709
|
throw console$1.error("jsPDF.context2d.fillText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillText");
|
|
60701
|
-
if (
|
|
60710
|
+
if (xe = isNaN(xe) ? void 0 : xe, !g.call(this)) {
|
|
60702
60711
|
var Ie = J(this.ctx.transform.rotation), ve = this.ctx.transform.scaleX, _e = this.letterSpacing ? parseFloat(this.letterSpacing) : 0;
|
|
60703
60712
|
this.font.indexOf("SimSun") >= 0 && this.font.indexOf("bold") >= 0 ? Y.call(this, {
|
|
60704
60713
|
text: ue,
|
|
@@ -60707,7 +60716,7 @@ function parseFontFamily(a) {
|
|
|
60707
60716
|
scale: ve,
|
|
60708
60717
|
angle: Ie,
|
|
60709
60718
|
align: this.textAlign,
|
|
60710
|
-
maxWidth:
|
|
60719
|
+
maxWidth: xe,
|
|
60711
60720
|
// renderingMode: "fillThenStroke",
|
|
60712
60721
|
charSpace: _e,
|
|
60713
60722
|
bold: !0
|
|
@@ -60718,15 +60727,15 @@ function parseFontFamily(a) {
|
|
|
60718
60727
|
scale: ve,
|
|
60719
60728
|
angle: Ie,
|
|
60720
60729
|
align: this.textAlign,
|
|
60721
|
-
maxWidth:
|
|
60730
|
+
maxWidth: xe,
|
|
60722
60731
|
charSpace: _e
|
|
60723
60732
|
});
|
|
60724
60733
|
}
|
|
60725
|
-
}, p.prototype.strokeText = function(ue, Q, ne,
|
|
60734
|
+
}, p.prototype.strokeText = function(ue, Q, ne, xe) {
|
|
60726
60735
|
if (isNaN(Q) || isNaN(ne) || typeof ue != "string")
|
|
60727
60736
|
throw console$1.error("jsPDF.context2d.strokeText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeText");
|
|
60728
60737
|
if (!y.call(this)) {
|
|
60729
|
-
|
|
60738
|
+
xe = isNaN(xe) ? void 0 : xe;
|
|
60730
60739
|
var Ie = J(this.ctx.transform.rotation), ve = this.ctx.transform.scaleX, _e = this.letterSpacing ? this.letterSpacing : 0;
|
|
60731
60740
|
Y.call(this, {
|
|
60732
60741
|
text: ue,
|
|
@@ -60736,7 +60745,7 @@ function parseFontFamily(a) {
|
|
|
60736
60745
|
renderingMode: "stroke",
|
|
60737
60746
|
angle: Ie,
|
|
60738
60747
|
align: this.textAlign,
|
|
60739
|
-
maxWidth:
|
|
60748
|
+
maxWidth: xe,
|
|
60740
60749
|
charSpace: _e,
|
|
60741
60750
|
// 自定义修改
|
|
60742
60751
|
bold: !0
|
|
@@ -60746,7 +60755,7 @@ function parseFontFamily(a) {
|
|
|
60746
60755
|
}, p.prototype.measureText = function(ue) {
|
|
60747
60756
|
if (typeof ue != "string")
|
|
60748
60757
|
throw console$1.error("jsPDF.context2d.measureText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.measureText");
|
|
60749
|
-
var Q = this.pdf, ne = this.pdf.internal.scaleFactor,
|
|
60758
|
+
var Q = this.pdf, ne = this.pdf.internal.scaleFactor, xe = Q.internal.getFontSize(), Ie = Q.getStringUnitWidth(ue) * xe / Q.internal.scaleFactor;
|
|
60750
60759
|
Ie *= Math.round(ne * 96 / 72 * 1e4) / 1e4;
|
|
60751
60760
|
var ve = function(pe) {
|
|
60752
60761
|
pe = pe || {};
|
|
@@ -60775,27 +60784,27 @@ function parseFontFamily(a) {
|
|
|
60775
60784
|
throw console$1.error("jsPDF.context2d.translate: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.translate");
|
|
60776
60785
|
var ne = new u(1, 0, 0, 1, ue, Q);
|
|
60777
60786
|
this.ctx.transform = this.ctx.transform.multiply(ne);
|
|
60778
|
-
}, p.prototype.transform = function(ue, Q, ne,
|
|
60779
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60787
|
+
}, p.prototype.transform = function(ue, Q, ne, xe, Ie, ve) {
|
|
60788
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe) || isNaN(Ie) || isNaN(ve))
|
|
60780
60789
|
throw console$1.error("jsPDF.context2d.transform: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.transform");
|
|
60781
|
-
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne,
|
|
60782
|
-
var _e = new u(ue, Q, ne,
|
|
60790
|
+
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;
|
|
60791
|
+
var _e = new u(ue, Q, ne, xe, Ie, ve);
|
|
60783
60792
|
this.ctx.transform = this.ctx.transform.multiply(_e);
|
|
60784
|
-
}, p.prototype.setTransform = function(ue, Q, ne,
|
|
60785
|
-
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne,
|
|
60793
|
+
}, p.prototype.setTransform = function(ue, Q, ne, xe, Ie, ve) {
|
|
60794
|
+
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);
|
|
60786
60795
|
};
|
|
60787
60796
|
var w = function() {
|
|
60788
60797
|
return this.margin[0] > 0 || this.margin[1] > 0 || this.margin[2] > 0 || this.margin[3] > 0;
|
|
60789
60798
|
};
|
|
60790
|
-
p.prototype.drawImage = function(ue, Q, ne,
|
|
60799
|
+
p.prototype.drawImage = function(ue, Q, ne, xe, Ie, ve, _e, pe, Pe) {
|
|
60791
60800
|
var De = this.pdf.getImageProperties(ue);
|
|
60792
60801
|
ue.exifdata && (De.exifdata = ue.exifdata);
|
|
60793
60802
|
var Ve = 1, Te = 1, He = 1, we = 1;
|
|
60794
|
-
typeof
|
|
60803
|
+
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);
|
|
60795
60804
|
var le = this.ctx.transform.decompose(), he = J(le.rotate.rotation), $ = new u();
|
|
60796
|
-
$ = $.multiply(le.translate), $ = $.multiply(le.skew), $ = $.multiply(le.scale),
|
|
60805
|
+
$ = $.multiply(le.translate), $ = $.multiply(le.skew), $ = $.multiply(le.scale), xe || (xe = pe), Ie || (Ie = Pe);
|
|
60797
60806
|
var Ne;
|
|
60798
|
-
ue.nodeName && ue.nodeName == "CANVAS" ? Ne = $.applyToRectangle(new d(ve + this.posX - Q * He, _e + this.posY - ne * we,
|
|
60807
|
+
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));
|
|
60799
60808
|
for (var Be = v.call(this, Ne), Qe = [], Me = 0; Me < Be.length; Me += 1)
|
|
60800
60809
|
Qe.indexOf(Be[Me]) === -1 && Qe.push(Be[Me]);
|
|
60801
60810
|
D(Qe);
|
|
@@ -60803,70 +60812,70 @@ function parseFontFamily(a) {
|
|
|
60803
60812
|
if (this.autoPaging)
|
|
60804
60813
|
for (var ot = Qe[0], ht = Qe[Qe.length - 1], bt = ot; bt < ht + 1; bt++) {
|
|
60805
60814
|
this.pdf.setPage(bt);
|
|
60806
|
-
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],
|
|
60815
|
+
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;
|
|
60807
60816
|
if (this.ctx.clip_path.length !== 0) {
|
|
60808
60817
|
var It = this.path;
|
|
60809
|
-
ze = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(ze, this.posX + this.margin[3], -
|
|
60818
|
+
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;
|
|
60810
60819
|
}
|
|
60811
60820
|
var St = JSON.parse(JSON.stringify(Ne));
|
|
60812
|
-
St = _([St], this.posX + this.margin[3], -
|
|
60821
|
+
St = _([St], this.posX + this.margin[3], -xt + _t + this.ctx.prevPageLastElemOffset)[0];
|
|
60813
60822
|
var Qt = (bt > ot || bt < ht) && w.call(this);
|
|
60814
60823
|
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();
|
|
60815
60824
|
}
|
|
60816
60825
|
else
|
|
60817
60826
|
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);
|
|
60818
60827
|
};
|
|
60819
|
-
var v = function(Q, ne,
|
|
60828
|
+
var v = function(Q, ne, xe) {
|
|
60820
60829
|
var Ie = [];
|
|
60821
|
-
ne = ne || this.pdf.internal.pageSize.width,
|
|
60830
|
+
ne = ne || this.pdf.internal.pageSize.width, xe = xe || this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2];
|
|
60822
60831
|
var ve = this.posY + this.ctx.prevPageLastElemOffset;
|
|
60823
60832
|
switch (Q.type) {
|
|
60824
60833
|
default:
|
|
60825
60834
|
case "mt":
|
|
60826
60835
|
case "lt":
|
|
60827
|
-
Ie.push(Math.floor((Q.y + ve) /
|
|
60836
|
+
Ie.push(Math.floor((Q.y + ve) / xe) + 1);
|
|
60828
60837
|
break;
|
|
60829
60838
|
case "arc":
|
|
60830
|
-
Ie.push(Math.floor((Q.y + ve - Q.radius) /
|
|
60839
|
+
Ie.push(Math.floor((Q.y + ve - Q.radius) / xe) + 1), Ie.push(Math.floor((Q.y + ve + Q.radius) / xe) + 1);
|
|
60831
60840
|
break;
|
|
60832
60841
|
case "qct":
|
|
60833
60842
|
var _e = ae(this.ctx.lastPoint.x, this.ctx.lastPoint.y, Q.x1, Q.y1, Q.x, Q.y);
|
|
60834
|
-
Ie.push(Math.floor((_e.y + ve) /
|
|
60843
|
+
Ie.push(Math.floor((_e.y + ve) / xe) + 1), Ie.push(Math.floor((_e.y + _e.h + ve) / xe) + 1);
|
|
60835
60844
|
break;
|
|
60836
60845
|
case "bct":
|
|
60837
|
-
var pe =
|
|
60838
|
-
Ie.push(Math.floor((pe.y + ve) /
|
|
60846
|
+
var pe = Ce(this.ctx.lastPoint.x, this.ctx.lastPoint.y, Q.x1, Q.y1, Q.x2, Q.y2, Q.x, Q.y);
|
|
60847
|
+
Ie.push(Math.floor((pe.y + ve) / xe) + 1), Ie.push(Math.floor((pe.y + pe.h + ve) / xe) + 1);
|
|
60839
60848
|
break;
|
|
60840
60849
|
case "rect":
|
|
60841
|
-
Ie.push(Math.floor((Q.y + ve) /
|
|
60850
|
+
Ie.push(Math.floor((Q.y + ve) / xe) + 1), Ie.push(Math.floor((Q.y + Q.h + ve) / xe) + 1);
|
|
60842
60851
|
}
|
|
60843
60852
|
for (var Pe = 0; Pe < Ie.length; Pe += 1)
|
|
60844
60853
|
for (; this.pdf.internal.getNumberOfPages() < Ie[Pe]; )
|
|
60845
60854
|
C.call(this);
|
|
60846
60855
|
return Ie;
|
|
60847
60856
|
}, C = function() {
|
|
60848
|
-
var Q = this.fillStyle, ne = this.strokeStyle,
|
|
60849
|
-
this.pdf.addPage(), this.fillStyle = Q, this.strokeStyle = ne, this.font =
|
|
60850
|
-
}, _ = function(Q, ne,
|
|
60857
|
+
var Q = this.fillStyle, ne = this.strokeStyle, xe = this.font, Ie = this.lineCap, ve = this.lineWidth, _e = this.lineJoin;
|
|
60858
|
+
this.pdf.addPage(), this.fillStyle = Q, this.strokeStyle = ne, this.font = xe, this.lineCap = Ie, this.lineWidth = ve, this.lineJoin = _e;
|
|
60859
|
+
}, _ = function(Q, ne, xe) {
|
|
60851
60860
|
for (var Ie = 0; Ie < Q.length; Ie++)
|
|
60852
60861
|
switch (Q[Ie].type) {
|
|
60853
60862
|
case "bct":
|
|
60854
|
-
Q[Ie].x2 += ne, Q[Ie].y2 +=
|
|
60863
|
+
Q[Ie].x2 += ne, Q[Ie].y2 += xe;
|
|
60855
60864
|
case "qct":
|
|
60856
|
-
Q[Ie].x1 += ne, Q[Ie].y1 +=
|
|
60865
|
+
Q[Ie].x1 += ne, Q[Ie].y1 += xe;
|
|
60857
60866
|
case "mt":
|
|
60858
60867
|
case "lt":
|
|
60859
60868
|
case "arc":
|
|
60860
60869
|
default:
|
|
60861
|
-
Q[Ie].x += ne, Q[Ie].y +=
|
|
60870
|
+
Q[Ie].x += ne, Q[Ie].y += xe;
|
|
60862
60871
|
}
|
|
60863
60872
|
return Q;
|
|
60864
60873
|
}, D = function(Q) {
|
|
60865
|
-
return Q.sort(function(ne,
|
|
60866
|
-
return ne -
|
|
60874
|
+
return Q.sort(function(ne, xe) {
|
|
60875
|
+
return ne - xe;
|
|
60867
60876
|
});
|
|
60868
60877
|
}, E = function(Q, ne) {
|
|
60869
|
-
for (var
|
|
60878
|
+
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++)
|
|
60870
60879
|
if (typeof Ve[le].x < "u")
|
|
60871
60880
|
for (var he = v.call(this, Ve[le]), $ = 0; $ < he.length; $ += 1)
|
|
60872
60881
|
we.indexOf(he[$]) === -1 && we.push(he[$]);
|
|
@@ -60875,7 +60884,7 @@ function parseFontFamily(a) {
|
|
|
60875
60884
|
C.call(this);
|
|
60876
60885
|
if (D(we), this.autoPaging)
|
|
60877
60886
|
for (var Be = we[0], Qe = we[we.length - 1], Me = Be; Me < Qe + 1; Me++) {
|
|
60878
|
-
this.pdf.setPage(Me), this.fillStyle =
|
|
60887
|
+
this.pdf.setPage(Me), this.fillStyle = xe, this.strokeStyle = Ie, this.lineCap = ve, this.lineWidth = pe, this.lineJoin = Pe;
|
|
60879
60888
|
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;
|
|
60880
60889
|
if (this.ctx.clip_path.length !== 0) {
|
|
60881
60890
|
var _t = this.path;
|
|
@@ -60892,80 +60901,80 @@ function parseFontFamily(a) {
|
|
|
60892
60901
|
this.path = De;
|
|
60893
60902
|
}, T = function(Q, ne) {
|
|
60894
60903
|
if (!(Q === "stroke" && !ne && y.call(this)) && !(Q !== "stroke" && !ne && g.call(this))) {
|
|
60895
|
-
for (var
|
|
60904
|
+
for (var xe = [], Ie, ve = this.path, _e = 0; _e < ve.length; _e++) {
|
|
60896
60905
|
var pe = ve[_e];
|
|
60897
60906
|
switch (pe.type) {
|
|
60898
60907
|
case "begin":
|
|
60899
|
-
|
|
60908
|
+
xe.push({
|
|
60900
60909
|
begin: !0
|
|
60901
60910
|
});
|
|
60902
60911
|
break;
|
|
60903
60912
|
case "close":
|
|
60904
|
-
|
|
60913
|
+
xe.push({
|
|
60905
60914
|
close: !0
|
|
60906
60915
|
});
|
|
60907
60916
|
break;
|
|
60908
60917
|
case "mt":
|
|
60909
|
-
|
|
60918
|
+
xe.push({
|
|
60910
60919
|
start: pe,
|
|
60911
60920
|
deltas: [],
|
|
60912
60921
|
abs: []
|
|
60913
60922
|
});
|
|
60914
60923
|
break;
|
|
60915
60924
|
case "lt":
|
|
60916
|
-
var Pe =
|
|
60925
|
+
var Pe = xe.length;
|
|
60917
60926
|
if (ve[_e - 1] && !isNaN(ve[_e - 1].x) && (Ie = [pe.x - ve[_e - 1].x, pe.y - ve[_e - 1].y], Pe > 0)) {
|
|
60918
60927
|
for (Pe; Pe >= 0; Pe--)
|
|
60919
|
-
if (
|
|
60920
|
-
|
|
60928
|
+
if (xe[Pe - 1].close !== !0 && xe[Pe - 1].begin !== !0) {
|
|
60929
|
+
xe[Pe - 1].deltas.push(Ie), xe[Pe - 1].abs.push(pe);
|
|
60921
60930
|
break;
|
|
60922
60931
|
}
|
|
60923
60932
|
}
|
|
60924
60933
|
break;
|
|
60925
60934
|
case "bct":
|
|
60926
|
-
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],
|
|
60935
|
+
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);
|
|
60927
60936
|
break;
|
|
60928
60937
|
case "qct":
|
|
60929
60938
|
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;
|
|
60930
|
-
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],
|
|
60939
|
+
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);
|
|
60931
60940
|
break;
|
|
60932
60941
|
case "arc":
|
|
60933
|
-
|
|
60942
|
+
xe.push({
|
|
60934
60943
|
deltas: [],
|
|
60935
60944
|
abs: [],
|
|
60936
60945
|
arc: !0
|
|
60937
|
-
}), Array.isArray(
|
|
60946
|
+
}), Array.isArray(xe[xe.length - 1].abs) && xe[xe.length - 1].abs.push(pe);
|
|
60938
60947
|
break;
|
|
60939
60948
|
}
|
|
60940
60949
|
}
|
|
60941
60950
|
var he;
|
|
60942
60951
|
ne ? he = null : Q === "stroke" ? he = "stroke" : he = "fill";
|
|
60943
|
-
for (var $ = !1, Ne = 0; Ne <
|
|
60944
|
-
if (
|
|
60945
|
-
for (var Be =
|
|
60952
|
+
for (var $ = !1, Ne = 0; Ne < xe.length; Ne++)
|
|
60953
|
+
if (xe[Ne].arc) {
|
|
60954
|
+
for (var Be = xe[Ne].abs, Qe = 0; Qe < Be.length; Qe++) {
|
|
60946
60955
|
var Me = Be[Qe];
|
|
60947
60956
|
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);
|
|
60948
60957
|
}
|
|
60949
60958
|
$ = !0;
|
|
60950
|
-
} else if (
|
|
60959
|
+
} else if (xe[Ne].close === !0)
|
|
60951
60960
|
this.pdf.internal.out("h"), $ = !1;
|
|
60952
|
-
else if (
|
|
60953
|
-
var ze =
|
|
60954
|
-
U.call(this,
|
|
60961
|
+
else if (xe[Ne].begin !== !0) {
|
|
60962
|
+
var ze = xe[Ne].start.x, ot = xe[Ne].start.y;
|
|
60963
|
+
U.call(this, xe[Ne].deltas, ze, ot), $ = !0;
|
|
60955
60964
|
}
|
|
60956
60965
|
he && L.call(this, he), ne && H.call(this);
|
|
60957
60966
|
}
|
|
60958
60967
|
}, I = function(Q) {
|
|
60959
|
-
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor,
|
|
60968
|
+
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, xe = ne * (this.pdf.internal.getLineHeightFactor() - 1);
|
|
60960
60969
|
switch (this.ctx.textBaseline) {
|
|
60961
60970
|
case "bottom":
|
|
60962
|
-
return Q -
|
|
60971
|
+
return Q - xe;
|
|
60963
60972
|
case "top":
|
|
60964
|
-
return Q + ne -
|
|
60973
|
+
return Q + ne - xe;
|
|
60965
60974
|
case "hanging":
|
|
60966
|
-
return Q + ne - 2 *
|
|
60975
|
+
return Q + ne - 2 * xe;
|
|
60967
60976
|
case "middle":
|
|
60968
|
-
return Q + ne / 2 -
|
|
60977
|
+
return Q + ne / 2 - xe;
|
|
60969
60978
|
case "ideographic":
|
|
60970
60979
|
return Q;
|
|
60971
60980
|
case "alphabetic":
|
|
@@ -60973,14 +60982,14 @@ function parseFontFamily(a) {
|
|
|
60973
60982
|
return Q;
|
|
60974
60983
|
}
|
|
60975
60984
|
}, M = function(Q) {
|
|
60976
|
-
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor,
|
|
60977
|
-
return Q +
|
|
60985
|
+
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, xe = ne * (this.pdf.internal.getLineHeightFactor() - 1);
|
|
60986
|
+
return Q + xe;
|
|
60978
60987
|
};
|
|
60979
60988
|
p.prototype.createLinearGradient = function() {
|
|
60980
60989
|
var Q = function() {
|
|
60981
60990
|
};
|
|
60982
|
-
return Q.colorStops = [], Q.addColorStop = function(ne,
|
|
60983
|
-
this.colorStops.push([ne,
|
|
60991
|
+
return Q.colorStops = [], Q.addColorStop = function(ne, xe) {
|
|
60992
|
+
this.colorStops.push([ne, xe]);
|
|
60984
60993
|
}, Q.getColor = function() {
|
|
60985
60994
|
return this.colorStops.length === 0 ? "#000000" : this.colorStops[0][1];
|
|
60986
60995
|
}, Q.isCanvasGradient = !0, Q;
|
|
@@ -60989,8 +60998,8 @@ function parseFontFamily(a) {
|
|
|
60989
60998
|
}, p.prototype.createRadialGradient = function() {
|
|
60990
60999
|
return this.createLinearGradient();
|
|
60991
61000
|
};
|
|
60992
|
-
var k = function(Q, ne,
|
|
60993
|
-
for (var Ve = W.call(this,
|
|
61001
|
+
var k = function(Q, ne, xe, Ie, ve, _e, pe, Pe, De) {
|
|
61002
|
+
for (var Ve = W.call(this, xe, Ie, ve, _e), Te = 0; Te < Ve.length; Te++) {
|
|
60994
61003
|
var He = Ve[Te];
|
|
60995
61004
|
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);
|
|
60996
61005
|
}
|
|
@@ -61024,9 +61033,9 @@ function parseFontFamily(a) {
|
|
|
61024
61033
|
ne = "left";
|
|
61025
61034
|
break;
|
|
61026
61035
|
}
|
|
61027
|
-
var
|
|
61036
|
+
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();
|
|
61028
61037
|
De = De.multiply(Pe.translate), De = De.multiply(Pe.skew), De = De.multiply(Pe.scale);
|
|
61029
|
-
for (var Ve = this.ctx.transform.applyToRectangle(new d(Q.x, Ie,
|
|
61038
|
+
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)
|
|
61030
61039
|
we.indexOf(He[le]) === -1 && we.push(He[le]);
|
|
61031
61040
|
D(we);
|
|
61032
61041
|
var he, $, Ne;
|
|
@@ -61035,8 +61044,8 @@ function parseFontFamily(a) {
|
|
|
61035
61044
|
this.pdf.setPage(Me);
|
|
61036
61045
|
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;
|
|
61037
61046
|
if (console$1.log(Tt, "--------------"), this.ctx.clip_path.length !== 0) {
|
|
61038
|
-
var
|
|
61039
|
-
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 =
|
|
61047
|
+
var xt = this.path;
|
|
61048
|
+
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;
|
|
61040
61049
|
}
|
|
61041
61050
|
var It = _([JSON.parse(JSON.stringify(Te))], this.posX + this.margin[3], -pt + ze + this.ctx.prevPageLastElemOffset)[0];
|
|
61042
61051
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Ne = this.lineWidth, this.lineWidth = Ne * Q.scale);
|
|
@@ -61058,7 +61067,7 @@ function parseFontFamily(a) {
|
|
|
61058
61067
|
}
|
|
61059
61068
|
else {
|
|
61060
61069
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Ne = this.lineWidth, this.lineWidth = Ne * Q.scale);
|
|
61061
|
-
let wr = Q.maxWidth -
|
|
61070
|
+
let wr = Q.maxWidth - xe.w, kt = 0;
|
|
61062
61071
|
wr > 2 && Q.bold && Q.maxWidth != 65535 && (kt = wr / Q.text.length);
|
|
61063
61072
|
var Tt = Q.charSpace ? parseFloat(Q.charSpace) : 0;
|
|
61064
61073
|
this.pdf.text(Q.text, pe.x + this.posX, pe.y + this.posY, {
|
|
@@ -61069,24 +61078,24 @@ function parseFontFamily(a) {
|
|
|
61069
61078
|
charSpace: Tt + kt
|
|
61070
61079
|
}), Q.scale >= 0.01 && (this.pdf.setFontSize($), this.lineWidth = Ne);
|
|
61071
61080
|
}
|
|
61072
|
-
}, j = function(Q, ne,
|
|
61073
|
-
|
|
61074
|
-
}, U = function(Q, ne,
|
|
61075
|
-
return this.pdf.lines(Q, ne,
|
|
61076
|
-
}, X = function(Q, ne,
|
|
61077
|
-
this.pdf.internal.out([r(s(
|
|
61078
|
-
}, W = function(Q, ne,
|
|
61079
|
-
for (var ve = 1e-5, _e = Math.PI * 2, pe = Math.PI / 2; ne >
|
|
61081
|
+
}, j = function(Q, ne, xe, Ie) {
|
|
61082
|
+
xe = xe || 0, Ie = Ie || 0, this.pdf.internal.out(o(Q + xe) + " " + n(ne + Ie) + " l");
|
|
61083
|
+
}, U = function(Q, ne, xe) {
|
|
61084
|
+
return this.pdf.lines(Q, ne, xe, null, null);
|
|
61085
|
+
}, X = function(Q, ne, xe, Ie, ve, _e, pe, Pe) {
|
|
61086
|
+
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(" "));
|
|
61087
|
+
}, W = function(Q, ne, xe, Ie) {
|
|
61088
|
+
for (var ve = 1e-5, _e = Math.PI * 2, pe = Math.PI / 2; ne > xe; )
|
|
61080
61089
|
ne = ne - _e;
|
|
61081
|
-
var Pe = Math.abs(
|
|
61090
|
+
var Pe = Math.abs(xe - ne);
|
|
61082
61091
|
Pe < _e && Ie && (Pe = _e - Pe);
|
|
61083
61092
|
for (var De = [], Ve = Ie ? -1 : 1, Te = ne; Pe > ve; ) {
|
|
61084
61093
|
var He = Ve * Math.min(Pe, pe), we = Te + He;
|
|
61085
61094
|
De.push(G.call(this, Q, Te, we)), Pe -= Math.abs(we - Te), Te = we;
|
|
61086
61095
|
}
|
|
61087
61096
|
return De;
|
|
61088
|
-
}, G = function(Q, ne,
|
|
61089
|
-
var Ie = (
|
|
61097
|
+
}, G = function(Q, ne, xe) {
|
|
61098
|
+
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($);
|
|
61090
61099
|
return {
|
|
61091
61100
|
x1: Q * Math.cos(ne),
|
|
61092
61101
|
y1: Q * Math.sin(ne),
|
|
@@ -61094,18 +61103,18 @@ function parseFontFamily(a) {
|
|
|
61094
61103
|
y2: He * Be + we * Ne,
|
|
61095
61104
|
x3: le * Ne - he * Be,
|
|
61096
61105
|
y3: le * Be + he * Ne,
|
|
61097
|
-
x4: Q * Math.cos(
|
|
61098
|
-
y4: Q * Math.sin(
|
|
61106
|
+
x4: Q * Math.cos(xe),
|
|
61107
|
+
y4: Q * Math.sin(xe)
|
|
61099
61108
|
};
|
|
61100
61109
|
}, J = function(Q) {
|
|
61101
61110
|
return Q * 180 / Math.PI;
|
|
61102
|
-
}, ae = function(Q, ne,
|
|
61103
|
-
var pe = Q + (
|
|
61111
|
+
}, ae = function(Q, ne, xe, Ie, ve, _e) {
|
|
61112
|
+
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);
|
|
61104
61113
|
return new d(Te, we, He - Te, le - we);
|
|
61105
|
-
},
|
|
61106
|
-
var De =
|
|
61114
|
+
}, Ce = function(Q, ne, xe, Ie, ve, _e, pe, Pe) {
|
|
61115
|
+
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;
|
|
61107
61116
|
for (Ne = 0; Ne < he + 1; Ne++)
|
|
61108
|
-
$ = Ne / he, Be = Q + $ * De, Qe = ne + $ * Ve, Me =
|
|
61117
|
+
$ = 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));
|
|
61109
61118
|
return new d(Math.round(It), Math.round(St), Math.round(Qt - It), Math.round(At - St));
|
|
61110
61119
|
}, oe = function(Q, ne) {
|
|
61111
61120
|
return JSON.stringify({
|
|
@@ -61926,7 +61935,7 @@ var PNG = function() {
|
|
|
61926
61935
|
return new Uint8Array(0);
|
|
61927
61936
|
d = unzlibSync(d);
|
|
61928
61937
|
function g(y, w, v, C) {
|
|
61929
|
-
var _, D, E, T, I, M, k, L, H, B, Y, j, U, X, W, G, J, ae,
|
|
61938
|
+
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;
|
|
61930
61939
|
for (X = u * ue, j = ne ? f : new Uint8Array(X * Q), M = d.length, U = 0, D = 0; U < Q && p < M; ) {
|
|
61931
61940
|
switch (d[p++]) {
|
|
61932
61941
|
case 0:
|
|
@@ -61938,7 +61947,7 @@ var PNG = function() {
|
|
|
61938
61947
|
_ = d[p++], I = T < u ? 0 : j[D - u], j[D++] = (_ + I) % 256;
|
|
61939
61948
|
break;
|
|
61940
61949
|
case 2:
|
|
61941
|
-
for (T =
|
|
61950
|
+
for (T = Ce = 0; Ce < X; T = Ce += 1)
|
|
61942
61951
|
_ = d[p++], E = (T - T % u) / u, W = U && j[(U - 1) * X + E * u + T % u], j[D++] = (W + _) % 256;
|
|
61943
61952
|
break;
|
|
61944
61953
|
case 3:
|
|
@@ -61953,11 +61962,11 @@ var PNG = function() {
|
|
|
61953
61962
|
console$1.warn(`Invalid filter algorithm: ${d[p - 1], d[p]}--png格式图片只包含[01234]`);
|
|
61954
61963
|
}
|
|
61955
61964
|
if (!ne) {
|
|
61956
|
-
var
|
|
61965
|
+
var xe = ((w + U * C) * m.width + y) * u, Ie = U * X;
|
|
61957
61966
|
for (T = 0; T < ue; T += 1) {
|
|
61958
61967
|
for (var ve = 0; ve < u; ve += 1)
|
|
61959
|
-
f[
|
|
61960
|
-
|
|
61968
|
+
f[xe++] = j[Ie++];
|
|
61969
|
+
xe += (v - 1) * u;
|
|
61961
61970
|
}
|
|
61962
61971
|
}
|
|
61963
61972
|
U++;
|
|
@@ -62151,10 +62160,10 @@ var PNG = function() {
|
|
|
62151
62160
|
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);
|
|
62152
62161
|
var ae = T.pixelBitlength - T.bits;
|
|
62153
62162
|
G = 0, J = 0;
|
|
62154
|
-
for (var
|
|
62155
|
-
for (W = B[G],
|
|
62156
|
-
U[J++] = W >>>
|
|
62157
|
-
j[G] = W >>>
|
|
62163
|
+
for (var Ce; G < Y; G++) {
|
|
62164
|
+
for (W = B[G], Ce = 0; Ce < ae; )
|
|
62165
|
+
U[J++] = W >>> Ce & 255, Ce = Ce + T.bits;
|
|
62166
|
+
j[G] = W >>> Ce & 255;
|
|
62158
62167
|
}
|
|
62159
62168
|
}
|
|
62160
62169
|
if (T.bits === 16) {
|
|
@@ -62313,16 +62322,16 @@ function GifReader(a) {
|
|
|
62313
62322
|
}, this.decodeAndBlitFrameBGRA = function(X, W) {
|
|
62314
62323
|
var G = this.frameInfo(X), J = G.width * G.height, ae = new Uint8Array(J);
|
|
62315
62324
|
GifReaderLZWOutputIndexStream(a, G.data_offset, ae, J);
|
|
62316
|
-
var
|
|
62325
|
+
var Ce = G.palette_offset, oe = G.transparent_index;
|
|
62317
62326
|
oe === null && (oe = 256);
|
|
62318
|
-
var me = G.width, ue = r - me, Q = me, ne = (G.y * r + G.x) * 4,
|
|
62327
|
+
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;
|
|
62319
62328
|
G.interlaced === !0 && (ve += r * 4 * 7);
|
|
62320
62329
|
for (var _e = 8, pe = 0, Pe = ae.length; pe < Pe; ++pe) {
|
|
62321
62330
|
var De = ae[pe];
|
|
62322
|
-
if (Q === 0 && (Ie += ve, Q = me, Ie >=
|
|
62331
|
+
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)
|
|
62323
62332
|
Ie += 4;
|
|
62324
62333
|
else {
|
|
62325
|
-
var Ve = a[
|
|
62334
|
+
var Ve = a[Ce + De * 3], Te = a[Ce + De * 3 + 1], He = a[Ce + De * 3 + 2];
|
|
62326
62335
|
W[Ie++] = He, W[Ie++] = Te, W[Ie++] = Ve, W[Ie++] = 255;
|
|
62327
62336
|
}
|
|
62328
62337
|
--Q;
|
|
@@ -62330,16 +62339,16 @@ function GifReader(a) {
|
|
|
62330
62339
|
}, this.decodeAndBlitFrameRGBA = function(X, W) {
|
|
62331
62340
|
var G = this.frameInfo(X), J = G.width * G.height, ae = new Uint8Array(J);
|
|
62332
62341
|
GifReaderLZWOutputIndexStream(a, G.data_offset, ae, J);
|
|
62333
|
-
var
|
|
62342
|
+
var Ce = G.palette_offset, oe = G.transparent_index;
|
|
62334
62343
|
oe === null && (oe = 256);
|
|
62335
|
-
var me = G.width, ue = r - me, Q = me, ne = (G.y * r + G.x) * 4,
|
|
62344
|
+
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;
|
|
62336
62345
|
G.interlaced === !0 && (ve += r * 4 * 7);
|
|
62337
62346
|
for (var _e = 8, pe = 0, Pe = ae.length; pe < Pe; ++pe) {
|
|
62338
62347
|
var De = ae[pe];
|
|
62339
|
-
if (Q === 0 && (Ie += ve, Q = me, Ie >=
|
|
62348
|
+
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)
|
|
62340
62349
|
W[Ie++] = 255, W[Ie++] = 255, W[Ie++] = 255, W[Ie++] = 255;
|
|
62341
62350
|
else {
|
|
62342
|
-
var Ve = a[
|
|
62351
|
+
var Ve = a[Ce + De * 3], Te = a[Ce + De * 3 + 1], He = a[Ce + De * 3 + 2];
|
|
62343
62352
|
W[Ie++] = Ve, W[Ie++] = Te, W[Ie++] = He, W[Ie++] = 255;
|
|
62344
62353
|
}
|
|
62345
62354
|
--Q;
|
|
@@ -62439,7 +62448,7 @@ function JPEGEncoder(a) {
|
|
|
62439
62448
|
Te <<= 1, He <<= 1;
|
|
62440
62449
|
}
|
|
62441
62450
|
}
|
|
62442
|
-
function
|
|
62451
|
+
function Ce() {
|
|
62443
62452
|
for (var Te = 0; Te < 256; Te++)
|
|
62444
62453
|
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;
|
|
62445
62454
|
}
|
|
@@ -62457,7 +62466,7 @@ function JPEGEncoder(a) {
|
|
|
62457
62466
|
var we, le, he, $, Ne, Be, Qe, Me, ze = 0, ot, ht = 8, bt = 64;
|
|
62458
62467
|
for (ot = 0; ot < ht; ++ot) {
|
|
62459
62468
|
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];
|
|
62460
|
-
var gt = we + Me, _t = we - Me, pt = le + Qe, Tt = le - Qe,
|
|
62469
|
+
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;
|
|
62461
62470
|
Te[ze] = At + wr, Te[ze + 4] = At - wr;
|
|
62462
62471
|
var Gt = (kt + or) * 0.707106781;
|
|
62463
62472
|
Te[ze + 2] = or + Gt, Te[ze + 6] = or - Gt, At = Qt + It, wr = It + Tt, kt = Tt + _t;
|
|
@@ -62466,7 +62475,7 @@ function JPEGEncoder(a) {
|
|
|
62466
62475
|
}
|
|
62467
62476
|
for (ze = 0, ot = 0; ot < ht; ++ot) {
|
|
62468
62477
|
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];
|
|
62469
|
-
var Ut = we + Me, Jt = we - Me, nr = le + Qe, Et = le - Qe, Pt = he + Be, Ot = he - Be,
|
|
62478
|
+
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;
|
|
62470
62479
|
Te[ze] = Xt + tr, Te[ze + 32] = Xt - tr;
|
|
62471
62480
|
var Zt = (Vt + jt) * 0.707106781;
|
|
62472
62481
|
Te[ze + 16] = jt + Zt, Te[ze + 48] = jt - Zt, Xt = Nr + Ot, tr = Ot + Et, Vt = Et + Jt;
|
|
@@ -62481,7 +62490,7 @@ function JPEGEncoder(a) {
|
|
|
62481
62490
|
function ne() {
|
|
62482
62491
|
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);
|
|
62483
62492
|
}
|
|
62484
|
-
function
|
|
62493
|
+
function xe(Te, He) {
|
|
62485
62494
|
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);
|
|
62486
62495
|
}
|
|
62487
62496
|
function Ie() {
|
|
@@ -62529,14 +62538,14 @@ function JPEGEncoder(a) {
|
|
|
62529
62538
|
for (var _t = 1, pt; _t <= gt; ) {
|
|
62530
62539
|
for (var Tt = _t; g[_t] == 0 && _t <= gt; )
|
|
62531
62540
|
++_t;
|
|
62532
|
-
var
|
|
62533
|
-
if (
|
|
62534
|
-
pt =
|
|
62541
|
+
var xt = _t - Tt;
|
|
62542
|
+
if (xt >= Qe) {
|
|
62543
|
+
pt = xt >> 4;
|
|
62535
62544
|
for (var It = 1; It <= pt; ++It)
|
|
62536
62545
|
oe(Ne);
|
|
62537
|
-
|
|
62546
|
+
xt = xt & 15;
|
|
62538
62547
|
}
|
|
62539
|
-
Be = 32767 + g[_t], oe(he[(
|
|
62548
|
+
Be = 32767 + g[_t], oe(he[(xt << 4) + p[Be]]), oe(f[Be]), _t++;
|
|
62540
62549
|
}
|
|
62541
62550
|
return gt != Me && oe($), we;
|
|
62542
62551
|
}
|
|
@@ -62545,13 +62554,13 @@ function JPEGEncoder(a) {
|
|
|
62545
62554
|
E[He] = Te(He);
|
|
62546
62555
|
}
|
|
62547
62556
|
this.encode = function(Te, He) {
|
|
62548
|
-
He && De(He), y = new Array(), w = 0, v = 7, ue(65496), ne(), Ie(),
|
|
62557
|
+
He && De(He), y = new Array(), w = 0, v = 7, ue(65496), ne(), Ie(), xe(Te.width, Te.height), ve(), _e();
|
|
62549
62558
|
var we = 0, le = 0, he = 0;
|
|
62550
62559
|
w = 0, v = 7, this.encode.displayName = "_encode_";
|
|
62551
|
-
for (var $ = Te.data, Ne = Te.width, Be = Te.height, Qe = Ne * 4, Me, ze = 0, ot, ht, bt, gt, _t, pt, Tt,
|
|
62560
|
+
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; ) {
|
|
62552
62561
|
for (Me = 0; Me < Qe; ) {
|
|
62553
|
-
for (gt = Qe * ze + Me, pt = -1, Tt = 0,
|
|
62554
|
-
Tt =
|
|
62562
|
+
for (gt = Qe * ze + Me, pt = -1, Tt = 0, xt = 0; xt < 64; xt++)
|
|
62563
|
+
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;
|
|
62555
62564
|
we = pe(C, n, we, l, d), le = pe(_, s, le, c, u), he = pe(D, s, he, c, u), Me += 32;
|
|
62556
62565
|
}
|
|
62557
62566
|
ze += 8;
|
|
@@ -62569,7 +62578,7 @@ function JPEGEncoder(a) {
|
|
|
62569
62578
|
}
|
|
62570
62579
|
}
|
|
62571
62580
|
function Ve() {
|
|
62572
|
-
a = a || 50, Pe(), J(), ae(),
|
|
62581
|
+
a = a || 50, Pe(), J(), ae(), Ce(), De(a);
|
|
62573
62582
|
}
|
|
62574
62583
|
Ve();
|
|
62575
62584
|
}
|
|
@@ -62748,8 +62757,8 @@ function WebPDecoder(a) {
|
|
|
62748
62757
|
}
|
|
62749
62758
|
function d(Y, j) {
|
|
62750
62759
|
function U(W, G, J) {
|
|
62751
|
-
for (var ae = J[G],
|
|
62752
|
-
U(W[
|
|
62760
|
+
for (var ae = J[G], Ce = 0; Ce < ae && (W.push(J.length > G + 1 ? [] : new j()), !(J.length < G + 1)); Ce++)
|
|
62761
|
+
U(W[Ce], G + 1, J);
|
|
62753
62762
|
}
|
|
62754
62763
|
var X = [];
|
|
62755
62764
|
return U(X, 0, Y), X;
|
|
@@ -62811,7 +62820,7 @@ function WebPDecoder(a) {
|
|
|
62811
62820
|
function ae() {
|
|
62812
62821
|
this.value = this.g = 0;
|
|
62813
62822
|
}
|
|
62814
|
-
function
|
|
62823
|
+
function Ce() {
|
|
62815
62824
|
this.G = l(5, J), this.H = s(5), this.jc = this.Qb = this.qb = this.nd = 0, this.pd = l(so, ae);
|
|
62816
62825
|
}
|
|
62817
62826
|
function oe(N, F, R, O) {
|
|
@@ -62837,9 +62846,9 @@ function WebPDecoder(a) {
|
|
|
62837
62846
|
N.Ra >>>= 8, N.Ra += N.oa[N.pa + N.bb] << ao - 8 >>> 0, ++N.bb, N.u -= 8;
|
|
62838
62847
|
pe(N) && (N.h = 1, N.u = 0);
|
|
62839
62848
|
}
|
|
62840
|
-
function
|
|
62849
|
+
function xe(N, F) {
|
|
62841
62850
|
if (t(0 <= F), !N.h && F <= Ko) {
|
|
62842
|
-
var R = _e(N) &
|
|
62851
|
+
var R = _e(N) & Cn[F];
|
|
62843
62852
|
return N.u += F, ne(N), R;
|
|
62844
62853
|
}
|
|
62845
62854
|
return N.h = 1, N.u = 0;
|
|
@@ -62935,7 +62944,7 @@ function WebPDecoder(a) {
|
|
|
62935
62944
|
function Tt(N, F, R) {
|
|
62936
62945
|
return Math.abs(F - R) - Math.abs(N - R);
|
|
62937
62946
|
}
|
|
62938
|
-
function
|
|
62947
|
+
function xt(N, F, R, O, K, te, re) {
|
|
62939
62948
|
for (O = te[re - 1], R = 0; R < K; ++R)
|
|
62940
62949
|
te[re + R] = O = ot(N[F + R], O);
|
|
62941
62950
|
}
|
|
@@ -63044,12 +63053,12 @@ function WebPDecoder(a) {
|
|
|
63044
63053
|
var de = [0], Ee = N.ka;
|
|
63045
63054
|
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));
|
|
63046
63055
|
var fe = F.eb, Ee = F.fb + Ee * F.A;
|
|
63047
|
-
N =
|
|
63056
|
+
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);
|
|
63048
63057
|
}
|
|
63049
63058
|
return 0;
|
|
63050
63059
|
}
|
|
63051
|
-
function
|
|
63052
|
-
var F = N.ma, R = F.ba.S, O = 11 > R, K = R ==
|
|
63060
|
+
function Cr(N) {
|
|
63061
|
+
var F = N.ma, R = F.ba.S, O = 11 > R, K = R == xr || R == Xr || R == Ii || R == Bn || R == 12 || Ue(R);
|
|
63053
63062
|
if (F.memory = null, F.Ib = null, F.Jb = null, F.Nd = null, !Bi(F.Oa, N, K ? 11 : 12)) return 0;
|
|
63054
63063
|
if (K && Ue(R) && yr(), N.da) alert("todo:use_scaling");
|
|
63055
63064
|
else {
|
|
@@ -63078,12 +63087,12 @@ function WebPDecoder(a) {
|
|
|
63078
63087
|
N.ma.memory = null;
|
|
63079
63088
|
}
|
|
63080
63089
|
function jt(N, F, R, O) {
|
|
63081
|
-
return
|
|
63090
|
+
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);
|
|
63082
63091
|
}
|
|
63083
63092
|
function tr(N, F) {
|
|
63084
63093
|
if (4 > N) return N + 1;
|
|
63085
63094
|
var R = N - 2 >> 1;
|
|
63086
|
-
return (2 + (N & 1) << R) +
|
|
63095
|
+
return (2 + (N & 1) << R) + xe(F, R) + 1;
|
|
63087
63096
|
}
|
|
63088
63097
|
function Vt(N, F) {
|
|
63089
63098
|
if (120 < F) return F - 120;
|
|
@@ -63115,10 +63124,10 @@ function WebPDecoder(a) {
|
|
|
63115
63124
|
break;
|
|
63116
63125
|
case 0:
|
|
63117
63126
|
var et = fe, Ye = Ee, Ke = Oe, tt = de, st = ie, nt = et.Ea;
|
|
63118
|
-
Ye == 0 && (lo(Xe, qe, null, null, 1, tt, st),
|
|
63127
|
+
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);
|
|
63119
63128
|
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; ) {
|
|
63120
63129
|
var pr = Ft, rr = et, ir = 1;
|
|
63121
|
-
for (
|
|
63130
|
+
for (xi(Xe, qe, tt, st - nt, 1, tt, st); ir < nt; ) {
|
|
63122
63131
|
var Ir = ai[pr[rr++] >> 8 & 15], Ar = (ir & ~wt) + yt;
|
|
63123
63132
|
Ar > nt && (Ar = nt), Ir(Xe, qe + +ir, tt, st + ir - nt, Ar - ir, tt, st + ir), ir = Ar;
|
|
63124
63133
|
}
|
|
@@ -63162,13 +63171,13 @@ function WebPDecoder(a) {
|
|
|
63162
63171
|
case Fr:
|
|
63163
63172
|
en(qe, Je, et, Ye, Ke);
|
|
63164
63173
|
break;
|
|
63165
|
-
case
|
|
63174
|
+
case xr:
|
|
63166
63175
|
Ei(qe, Je, et, Ye, Ke);
|
|
63167
63176
|
break;
|
|
63168
63177
|
case zn:
|
|
63169
63178
|
Ei(qe, Je, et, Ye, Ke), on(Ye, Ke, 0, et, 1, 0);
|
|
63170
63179
|
break;
|
|
63171
|
-
case
|
|
63180
|
+
case xn:
|
|
63172
63181
|
Hr(qe, Je, et, Ye, Ke);
|
|
63173
63182
|
break;
|
|
63174
63183
|
case Xr:
|
|
@@ -63292,17 +63301,17 @@ function WebPDecoder(a) {
|
|
|
63292
63301
|
function ni(N, F, R, O, K) {
|
|
63293
63302
|
var te = 1, re = [N], ie = [F], de = O.m, fe = O.s, Ee = null, Oe = 0;
|
|
63294
63303
|
e: for (; ; ) {
|
|
63295
|
-
if (R) for (; te &&
|
|
63296
|
-
var Xe = re, qe = ie, Je = O, et = 1, Ye = Je.m, Ke = Je.gc[Je.ab], tt =
|
|
63304
|
+
if (R) for (; te && xe(de, 1); ) {
|
|
63305
|
+
var Xe = re, qe = ie, Je = O, et = 1, Ye = Je.m, Ke = Je.gc[Je.ab], tt = xe(Ye, 2);
|
|
63297
63306
|
if (Je.Oc & 1 << tt) te = 0;
|
|
63298
63307
|
else {
|
|
63299
63308
|
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) {
|
|
63300
63309
|
case 0:
|
|
63301
63310
|
case 1:
|
|
63302
|
-
Ke.b =
|
|
63311
|
+
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];
|
|
63303
63312
|
break;
|
|
63304
63313
|
case 3:
|
|
63305
|
-
var st =
|
|
63314
|
+
var st = xe(Ye, 8) + 1, nt = 16 < st ? 0 : 4 < st ? 1 : 2 < st ? 2 : 3;
|
|
63306
63315
|
Xe[0] = ze(Ke.Ea, nt), Ke.b = nt;
|
|
63307
63316
|
var et = ni(st, 1, 0, Je, Ke.K), yt;
|
|
63308
63317
|
if (yt = et) {
|
|
@@ -63327,7 +63336,7 @@ function WebPDecoder(a) {
|
|
|
63327
63336
|
te = et;
|
|
63328
63337
|
}
|
|
63329
63338
|
}
|
|
63330
|
-
if (re = re[0], ie = ie[0], te &&
|
|
63339
|
+
if (re = re[0], ie = ie[0], te && xe(de, 1) && (Oe = xe(de, 4), te = 1 <= Oe && 11 >= Oe, !te)) {
|
|
63331
63340
|
O.a = 3;
|
|
63332
63341
|
break e;
|
|
63333
63342
|
}
|
|
@@ -63335,8 +63344,8 @@ function WebPDecoder(a) {
|
|
|
63335
63344
|
if (Ar = te) t: {
|
|
63336
63345
|
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];
|
|
63337
63346
|
r: for (; ; ) {
|
|
63338
|
-
if (Fo &&
|
|
63339
|
-
var Kn =
|
|
63347
|
+
if (Fo && xe(Jn, 1)) {
|
|
63348
|
+
var Kn = xe(Jn, 3) + 2, Fs = ze(_i, Kn), Is = ze(_r, Kn), ia = Fs * Is;
|
|
63340
63349
|
if (!ni(Fs, Is, 0, zr, Io)) break r;
|
|
63341
63350
|
for (Io = Io[0], an.xc = Kn, Wr = 0; Wr < ia; ++Wr) {
|
|
63342
63351
|
var cn = Io[Wr] >> 8 & 65535;
|
|
@@ -63348,7 +63357,7 @@ function WebPDecoder(a) {
|
|
|
63348
63357
|
var ri = tn[Tr];
|
|
63349
63358
|
!Tr && 0 < ti && (ri += 1 << ti), Zi < ri && (Zi = ri);
|
|
63350
63359
|
}
|
|
63351
|
-
var Lo = l(jr * ra, J), er = jr, S = l(er,
|
|
63360
|
+
var Lo = l(jr * ra, J), er = jr, S = l(er, Ce);
|
|
63352
63361
|
if (S == null) var A = null;
|
|
63353
63362
|
else t(65536 >= er), A = S;
|
|
63354
63363
|
var Z = s(Zi);
|
|
@@ -63358,29 +63367,29 @@ function WebPDecoder(a) {
|
|
|
63358
63367
|
}
|
|
63359
63368
|
var q = Lo;
|
|
63360
63369
|
for (Wr = Ao = 0; Wr < jr; ++Wr) {
|
|
63361
|
-
var ce = A[Wr], Le = ce.G, $e = ce.H,
|
|
63370
|
+
var ce = A[Wr], Le = ce.G, $e = ce.H, Ct = 0, Mt = 1, qt = 0;
|
|
63362
63371
|
for (Tr = 0; 5 > Tr; ++Tr) {
|
|
63363
63372
|
ri = tn[Tr], Le[Tr] = q, $e[Tr] = Ao, !Tr && 0 < ti && (ri += 1 << ti);
|
|
63364
63373
|
o: {
|
|
63365
|
-
var Lr, ci = ri, di = zr, $n = Z,
|
|
63374
|
+
var Lr, ci = ri, di = zr, $n = Z, xa = q, ba = Ao, oa = 0, Mo = di.m, Pa = xe(Mo, 1);
|
|
63366
63375
|
if (n($n, 0, 0, ci), Pa) {
|
|
63367
|
-
var Na =
|
|
63368
|
-
$n[na] = 1, Na == 2 && (na =
|
|
63376
|
+
var Na = xe(Mo, 1) + 1, Ta = xe(Mo, 1), na = xe(Mo, Ta == 0 ? 1 : 8);
|
|
63377
|
+
$n[na] = 1, Na == 2 && (na = xe(Mo, 8), $n[na] = 1);
|
|
63369
63378
|
var As = 1;
|
|
63370
63379
|
} else {
|
|
63371
|
-
var ha = s(19), ua =
|
|
63380
|
+
var ha = s(19), ua = xe(Mo, 4) + 4;
|
|
63372
63381
|
if (19 < ua) {
|
|
63373
63382
|
di.a = 3;
|
|
63374
63383
|
var Ls = 0;
|
|
63375
63384
|
break o;
|
|
63376
63385
|
}
|
|
63377
63386
|
for (Lr = 0; Lr < ua; ++Lr)
|
|
63378
|
-
ha[Ys[Lr]] =
|
|
63387
|
+
ha[Ys[Lr]] = xe(Mo, 3);
|
|
63379
63388
|
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);
|
|
63380
63389
|
i: for (; ; ) {
|
|
63381
63390
|
if (!G(ma, 0, 7, Sa, 19)) break i;
|
|
63382
|
-
if (
|
|
63383
|
-
var Da = 2 + 2 *
|
|
63391
|
+
if (xe(Ro, 1)) {
|
|
63392
|
+
var Da = 2 + 2 * xe(Ro, 3), Ms = 2 + xe(Ro, Da);
|
|
63384
63393
|
if (Ms > Rs) break i;
|
|
63385
63394
|
} else Ms = Rs;
|
|
63386
63395
|
for (es = 0; es < Rs && Ms--; ) {
|
|
@@ -63390,7 +63399,7 @@ function WebPDecoder(a) {
|
|
|
63390
63399
|
var En = ya.value;
|
|
63391
63400
|
if (16 > En) pa[es++] = En, En != 0 && (ga = En);
|
|
63392
63401
|
else {
|
|
63393
|
-
var Ea = En == 16, va = En - 16, Fa = js[va], wa =
|
|
63402
|
+
var Ea = En == 16, va = En - 16, Fa = js[va], wa = xe(Ro, Ws[va]) + Fa;
|
|
63394
63403
|
if (es + wa > Rs) break i;
|
|
63395
63404
|
for (var Ia = Ea ? ga : 0; 0 < wa--; )
|
|
63396
63405
|
pa[es++] = Ia;
|
|
@@ -63401,17 +63410,17 @@ function WebPDecoder(a) {
|
|
|
63401
63410
|
}
|
|
63402
63411
|
sa || (fa.a = 3), As = sa;
|
|
63403
63412
|
}
|
|
63404
|
-
(As = As && !Mo.h) && (oa = G(
|
|
63413
|
+
(As = As && !Mo.h) && (oa = G(xa, ba, 8, $n, ci)), As && oa != 0 ? Ls = oa : (di.a = 3, Ls = 0);
|
|
63405
63414
|
}
|
|
63406
63415
|
if (Ls == 0) break r;
|
|
63407
|
-
if (Mt && Us[Tr] == 1 && (Mt = q[Ao].g == 0),
|
|
63416
|
+
if (Mt && Us[Tr] == 1 && (Mt = q[Ao].g == 0), Ct += q[Ao].g, Ao += Ls, 3 >= Tr) {
|
|
63408
63417
|
var aa = Z[0], ts;
|
|
63409
63418
|
for (ts = 1; ts < ri; ++ts)
|
|
63410
63419
|
Z[ts] > aa && (aa = Z[ts]);
|
|
63411
63420
|
qt += aa;
|
|
63412
63421
|
}
|
|
63413
63422
|
}
|
|
63414
|
-
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,
|
|
63423
|
+
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) {
|
|
63415
63424
|
var ks, po = ce;
|
|
63416
63425
|
for (ks = 0; ks < so; ++ks) {
|
|
63417
63426
|
var ko = ks, Ho = po.pd[ko], Hs = po.G[0][po.H[0] + ko];
|
|
@@ -63434,8 +63443,8 @@ function WebPDecoder(a) {
|
|
|
63434
63443
|
break e;
|
|
63435
63444
|
}
|
|
63436
63445
|
} else fe.ua = 0;
|
|
63437
|
-
var la = O,
|
|
63438
|
-
if (la.c =
|
|
63446
|
+
var la = O, Ca = re, Aa = ie, ca = la.s, da = ca.xc;
|
|
63447
|
+
if (la.c = Ca, la.i = Aa, ca.md = ze(Ca, da), ca.wc = da == 0 ? -1 : (1 << da) - 1, R) {
|
|
63439
63448
|
O.xb = Xs;
|
|
63440
63449
|
break e;
|
|
63441
63450
|
}
|
|
@@ -63456,7 +63465,7 @@ function WebPDecoder(a) {
|
|
|
63456
63465
|
var R = N.C, O = F - R, K = N.V, te = N.Ba + N.c * R;
|
|
63457
63466
|
for (t(F <= N.l.o); 0 < O; ) {
|
|
63458
63467
|
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;
|
|
63459
|
-
Rr(N, re, K, te),
|
|
63468
|
+
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;
|
|
63460
63469
|
}
|
|
63461
63470
|
t(R == F), N.C = N.Ma = F;
|
|
63462
63471
|
}
|
|
@@ -63763,7 +63772,7 @@ function WebPDecoder(a) {
|
|
|
63763
63772
|
So[255 + R] = 0 > R ? 0 : 255 < R ? 255 : R;
|
|
63764
63773
|
Vr = 1;
|
|
63765
63774
|
}
|
|
63766
|
-
fo = Ki, Nn = Qi, Gn = Wo, Eo = Zr, Vn = Ji, ss = Pi, as = Qr, ls =
|
|
63775
|
+
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;
|
|
63767
63776
|
} else R = 0;
|
|
63768
63777
|
}
|
|
63769
63778
|
R && (R = zt(N, F)), F.bc != null && F.bc(F), R &= 1;
|
|
@@ -63924,7 +63933,7 @@ function WebPDecoder(a) {
|
|
|
63924
63933
|
for (R = 0; 8 > R; ++R)
|
|
63925
63934
|
n(N, F, N[F - 1], 8), F += 32;
|
|
63926
63935
|
}
|
|
63927
|
-
function
|
|
63936
|
+
function Co(N, F, R) {
|
|
63928
63937
|
var O;
|
|
63929
63938
|
for (O = 0; 8 > O; ++O)
|
|
63930
63939
|
n(F, R + 32 * O, N, 8);
|
|
@@ -63933,22 +63942,22 @@ function WebPDecoder(a) {
|
|
|
63933
63942
|
var R = 8, O;
|
|
63934
63943
|
for (O = 0; 8 > O; ++O)
|
|
63935
63944
|
R += N[F + O - 32] + N[F - 1 + 32 * O];
|
|
63936
|
-
|
|
63945
|
+
Co(R >> 4, N, F);
|
|
63937
63946
|
}
|
|
63938
63947
|
function Hn(N, F) {
|
|
63939
63948
|
var R = 4, O;
|
|
63940
63949
|
for (O = 0; 8 > O; ++O)
|
|
63941
63950
|
R += N[F + O - 32];
|
|
63942
|
-
|
|
63951
|
+
Co(R >> 3, N, F);
|
|
63943
63952
|
}
|
|
63944
63953
|
function Ni(N, F) {
|
|
63945
63954
|
var R = 4, O;
|
|
63946
63955
|
for (O = 0; 8 > O; ++O)
|
|
63947
63956
|
R += N[F - 1 + 32 * O];
|
|
63948
|
-
|
|
63957
|
+
Co(R >> 3, N, F);
|
|
63949
63958
|
}
|
|
63950
63959
|
function sr(N, F) {
|
|
63951
|
-
|
|
63960
|
+
Co(128, N, F);
|
|
63952
63961
|
}
|
|
63953
63962
|
function vi(N, F, R) {
|
|
63954
63963
|
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)];
|
|
@@ -63995,7 +64004,7 @@ function WebPDecoder(a) {
|
|
|
63995
64004
|
F += O;
|
|
63996
64005
|
}
|
|
63997
64006
|
}
|
|
63998
|
-
function
|
|
64007
|
+
function Ci(N, F, R, O, K, te, re, ie) {
|
|
63999
64008
|
for (te = 2 * te + 1; 0 < K--; ) {
|
|
64000
64009
|
if (to(N, F, R, te, re)) if (ki(N, F, R, ie)) vi(N, F, R);
|
|
64001
64010
|
else {
|
|
@@ -64008,18 +64017,18 @@ function WebPDecoder(a) {
|
|
|
64008
64017
|
function Qr(N, F, R, O, K, te) {
|
|
64009
64018
|
qr(N, F, R, 1, 16, O, K, te);
|
|
64010
64019
|
}
|
|
64011
|
-
function
|
|
64020
|
+
function xo(N, F, R, O, K, te) {
|
|
64012
64021
|
qr(N, F, 1, R, 16, O, K, te);
|
|
64013
64022
|
}
|
|
64014
64023
|
function bo(N, F, R, O, K, te) {
|
|
64015
64024
|
var re;
|
|
64016
64025
|
for (re = 3; 0 < re; --re)
|
|
64017
|
-
F += 4 * R,
|
|
64026
|
+
F += 4 * R, Ci(N, F, R, 1, 16, O, K, te);
|
|
64018
64027
|
}
|
|
64019
64028
|
function Zo(N, F, R, O, K, te) {
|
|
64020
64029
|
var re;
|
|
64021
64030
|
for (re = 3; 0 < re; --re)
|
|
64022
|
-
F += 4,
|
|
64031
|
+
F += 4, Ci(N, F, 1, R, 16, O, K, te);
|
|
64023
64032
|
}
|
|
64024
64033
|
function wn(N, F, R, O, K, te, re, ie) {
|
|
64025
64034
|
qr(N, F, K, 1, 8, te, re, ie), qr(R, O, K, 1, 8, te, re, ie);
|
|
@@ -64028,10 +64037,10 @@ function WebPDecoder(a) {
|
|
|
64028
64037
|
qr(N, F, 1, K, 8, te, re, ie), qr(R, O, 1, K, 8, te, re, ie);
|
|
64029
64038
|
}
|
|
64030
64039
|
function Si(N, F, R, O, K, te, re, ie) {
|
|
64031
|
-
|
|
64040
|
+
Ci(N, F + 4 * K, K, 1, 8, te, re, ie), Ci(R, O + 4 * K, K, 1, 8, te, re, ie);
|
|
64032
64041
|
}
|
|
64033
64042
|
function ro(N, F, R, O, K, te, re, ie) {
|
|
64034
|
-
|
|
64043
|
+
Ci(N, F + 4, 1, K, 8, te, re, ie), Ci(R, O + 4, 1, K, 8, te, re, ie);
|
|
64035
64044
|
}
|
|
64036
64045
|
function Go() {
|
|
64037
64046
|
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";
|
|
@@ -64043,7 +64052,7 @@ function WebPDecoder(a) {
|
|
|
64043
64052
|
this.nc = this.Ea = this.b = this.hc = 0, this.K = [], this.w = 0;
|
|
64044
64053
|
}
|
|
64045
64054
|
function z() {
|
|
64046
|
-
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
|
|
64055
|
+
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();
|
|
64047
64056
|
}
|
|
64048
64057
|
function V() {
|
|
64049
64058
|
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;
|
|
@@ -64083,7 +64092,7 @@ function WebPDecoder(a) {
|
|
|
64083
64092
|
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;
|
|
64084
64093
|
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;
|
|
64085
64094
|
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;
|
|
64086
|
-
else if (Je.put = Nr, Je.ac =
|
|
64095
|
+
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: {
|
|
64087
64096
|
t(re.$a == 1), F = ui();
|
|
64088
64097
|
t: for (; ; ) {
|
|
64089
64098
|
if (F == null) {
|
|
@@ -64191,7 +64200,7 @@ function WebPDecoder(a) {
|
|
|
64191
64200
|
R[O + te] = N[F + te] >> 8;
|
|
64192
64201
|
}
|
|
64193
64202
|
function Kt() {
|
|
64194
|
-
on = ft, Tn = mt,
|
|
64203
|
+
on = ft, Tn = mt, Cs = Bt, xs = Ht;
|
|
64195
64204
|
}
|
|
64196
64205
|
function $t(N, F, R) {
|
|
64197
64206
|
j[N] = function(O, K, te, re, ie, de, fe, Ee, Oe, Xe, qe, Je, et, Ye, Ke, tt, st) {
|
|
@@ -64206,7 +64215,7 @@ function WebPDecoder(a) {
|
|
|
64206
64215
|
};
|
|
64207
64216
|
}
|
|
64208
64217
|
function yr() {
|
|
64209
|
-
ei[Fr] = Xn, ei[
|
|
64218
|
+
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;
|
|
64210
64219
|
}
|
|
64211
64220
|
function Sr(N) {
|
|
64212
64221
|
return N & -16384 ? 0 > N ? 0 : 255 : N >> Ts;
|
|
@@ -64487,7 +64496,7 @@ function WebPDecoder(a) {
|
|
|
64487
64496
|
}
|
|
64488
64497
|
return N != 0 || R != null && R.fd && (N = Er(O)), N;
|
|
64489
64498
|
}
|
|
64490
|
-
var so = 64,
|
|
64499
|
+
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];
|
|
64491
64500
|
ht("Predictor0", "PredictorAdd0"), j.Predictor0 = function() {
|
|
64492
64501
|
return 4278190080;
|
|
64493
64502
|
}, j.Predictor1 = function(N) {
|
|
@@ -64521,8 +64530,8 @@ function WebPDecoder(a) {
|
|
|
64521
64530
|
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;
|
|
64522
64531
|
};
|
|
64523
64532
|
var lo = j.PredictorAdd0;
|
|
64524
|
-
j.PredictorAdd1 =
|
|
64525
|
-
var
|
|
64533
|
+
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");
|
|
64534
|
+
var xi = j.PredictorAdd2;
|
|
64526
64535
|
At("ColorIndexInverseTransform", "MapARGB", "32b", function(N) {
|
|
64527
64536
|
return N >> 8 & 255;
|
|
64528
64537
|
}, function(N) {
|
|
@@ -64534,13 +64543,13 @@ function WebPDecoder(a) {
|
|
|
64534
64543
|
});
|
|
64535
64544
|
var co = j.ColorIndexInverseTransform, bi = j.MapARGB, zi = j.VP8LColorIndexInverseTransformAlpha, Wi = j.MapAlpha, To, ai = j.VP8LPredictorsAdd = [];
|
|
64536
64545
|
ai.length = 16, (j.VP8LPredictors = []).length = 16, (j.VP8LPredictorsAdd_C = []).length = 16, (j.VP8LPredictors_C = []).length = 16;
|
|
64537
|
-
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 = [];
|
|
64546
|
+
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 = [];
|
|
64538
64547
|
$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);
|
|
64539
64548
|
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);
|
|
64540
64549
|
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);
|
|
64541
64550
|
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;
|
|
64542
64551
|
this.WebPDecodeRGBA = function(N, F, R, O, K) {
|
|
64543
|
-
var te =
|
|
64552
|
+
var te = xr, re = new Go(), ie = new Ut();
|
|
64544
64553
|
re.ba = ie, ie.S = te, ie.width = [ie.width], ie.height = [ie.height];
|
|
64545
64554
|
var de = ie.width, fe = ie.height, Ee = new Jt();
|
|
64546
64555
|
if (Ee == null || N == null) var Oe = 2;
|
|
@@ -64549,7 +64558,7 @@ function WebPDecoder(a) {
|
|
|
64549
64558
|
ie.width = ie.width[0], ie.height = ie.height[0], O != null && (O[0] = ie.width), K != null && (K[0] = ie.height);
|
|
64550
64559
|
e: {
|
|
64551
64560
|
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) {
|
|
64552
|
-
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 =
|
|
64561
|
+
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) {
|
|
64553
64562
|
if (N = ui(), N == null) {
|
|
64554
64563
|
re = 1;
|
|
64555
64564
|
break e;
|
|
@@ -64648,15 +64657,15 @@ function WebPDecoder(a) {
|
|
|
64648
64657
|
for (j += 4, y(Y, j) + 8, j += 8; j < Y.length; ) {
|
|
64649
64658
|
var ae = p(Y, j);
|
|
64650
64659
|
j += 4;
|
|
64651
|
-
var
|
|
64660
|
+
var Ce = y(Y, j);
|
|
64652
64661
|
j += 4;
|
|
64653
|
-
var oe =
|
|
64662
|
+
var oe = Ce + (Ce & 1);
|
|
64654
64663
|
switch (ae) {
|
|
64655
64664
|
case "VP8 ":
|
|
64656
64665
|
case "VP8L":
|
|
64657
64666
|
typeof U.frames[X] > "u" && (U.frames[X] = {});
|
|
64658
64667
|
var Q = U.frames[X];
|
|
64659
|
-
Q.src_off = W ? J : j - 8, Q.src_size = G +
|
|
64668
|
+
Q.src_off = W ? J : j - 8, Q.src_size = G + Ce + 8, X++, W && (W = !1, G = 0, J = 0);
|
|
64660
64669
|
break;
|
|
64661
64670
|
case "VP8X":
|
|
64662
64671
|
var Q = U.header = {};
|
|
@@ -65195,7 +65204,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65195
65204
|
(function(a) {
|
|
65196
65205
|
function t() {
|
|
65197
65206
|
return function() {
|
|
65198
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65207
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CxRuCk2P.mjs");
|
|
65199
65208
|
}().catch(function(r) {
|
|
65200
65209
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
65201
65210
|
}).then(function(r) {
|
|
@@ -65677,24 +65686,24 @@ end`, y;
|
|
|
65677
65686
|
255: 7
|
|
65678
65687
|
}, 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;
|
|
65679
65688
|
this.__bidiEngine__ = {};
|
|
65680
|
-
var k = function(ae,
|
|
65681
|
-
if (
|
|
65689
|
+
var k = function(ae, Ce) {
|
|
65690
|
+
if (Ce)
|
|
65682
65691
|
for (var oe = 0; oe < ae.length; oe++)
|
|
65683
|
-
|
|
65692
|
+
Ce[oe] = oe;
|
|
65684
65693
|
D === void 0 && (D = H(ae)), T === void 0 && (T = H(ae));
|
|
65685
65694
|
}, L = function(ae) {
|
|
65686
|
-
var
|
|
65687
|
-
return me !== void 0 ? l[me * 256 + (
|
|
65695
|
+
var Ce = ae.charCodeAt(), oe = Ce >> 8, me = f[oe];
|
|
65696
|
+
return me !== void 0 ? l[me * 256 + (Ce & 255)] : oe === 252 || oe === 253 ? "AL" : m.test(oe) ? "L" : oe === 8 ? "R" : "N";
|
|
65688
65697
|
}, H = function(ae) {
|
|
65689
|
-
for (var
|
|
65690
|
-
if (oe = L(ae.charAt(
|
|
65698
|
+
for (var Ce = 0, oe; Ce < ae.length; Ce++) {
|
|
65699
|
+
if (oe = L(ae.charAt(Ce)), oe === "L")
|
|
65691
65700
|
return !1;
|
|
65692
65701
|
if (oe === "R")
|
|
65693
65702
|
return !0;
|
|
65694
65703
|
}
|
|
65695
65704
|
return !1;
|
|
65696
|
-
}, B = function(ae,
|
|
65697
|
-
var ue =
|
|
65705
|
+
}, B = function(ae, Ce, oe, me) {
|
|
65706
|
+
var ue = Ce[me], Q, ne, xe, Ie;
|
|
65698
65707
|
switch (ue) {
|
|
65699
65708
|
case "L":
|
|
65700
65709
|
case "R":
|
|
@@ -65713,10 +65722,10 @@ end`, y;
|
|
|
65713
65722
|
ue = "N";
|
|
65714
65723
|
break;
|
|
65715
65724
|
case "CS":
|
|
65716
|
-
me < 1 || me + 1 >=
|
|
65725
|
+
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";
|
|
65717
65726
|
break;
|
|
65718
65727
|
case "ES":
|
|
65719
|
-
Q = me > 0 ? oe[me - 1] : "B", ue = Q === "EN" && me + 1 <
|
|
65728
|
+
Q = me > 0 ? oe[me - 1] : "B", ue = Q === "EN" && me + 1 < Ce.length && Ce[me + 1] === "EN" ? "EN" : "N";
|
|
65720
65729
|
break;
|
|
65721
65730
|
case "ET":
|
|
65722
65731
|
if (me > 0 && oe[me - 1] === "EN") {
|
|
@@ -65726,23 +65735,23 @@ end`, y;
|
|
|
65726
65735
|
ue = "N";
|
|
65727
65736
|
break;
|
|
65728
65737
|
}
|
|
65729
|
-
for (
|
|
65730
|
-
|
|
65731
|
-
|
|
65738
|
+
for (xe = me + 1, Ie = Ce.length; xe < Ie && Ce[xe] === "ET"; )
|
|
65739
|
+
xe++;
|
|
65740
|
+
xe < Ie && Ce[xe] === "EN" ? ue = "EN" : ue = "N";
|
|
65732
65741
|
break;
|
|
65733
65742
|
case "NSM":
|
|
65734
65743
|
if (_ && !D) {
|
|
65735
|
-
for (Ie =
|
|
65736
|
-
|
|
65737
|
-
if (
|
|
65744
|
+
for (Ie = Ce.length, xe = me + 1; xe < Ie && Ce[xe] === "NSM"; )
|
|
65745
|
+
xe++;
|
|
65746
|
+
if (xe < Ie) {
|
|
65738
65747
|
var ve = ae[me], _e = ve >= 1425 && ve <= 2303 || ve === 64286;
|
|
65739
|
-
if (Q = xe
|
|
65748
|
+
if (Q = Ce[xe], _e && (Q === "R" || Q === "AL")) {
|
|
65740
65749
|
ue = "R";
|
|
65741
65750
|
break;
|
|
65742
65751
|
}
|
|
65743
65752
|
}
|
|
65744
65753
|
}
|
|
65745
|
-
me < 1 || (Q =
|
|
65754
|
+
me < 1 || (Q = Ce[me - 1]) === "B" ? ue = "N" : ue = oe[me - 1];
|
|
65746
65755
|
break;
|
|
65747
65756
|
case "B":
|
|
65748
65757
|
g = !1, y = !0, ue = M;
|
|
@@ -65762,27 +65771,27 @@ end`, y;
|
|
|
65762
65771
|
break;
|
|
65763
65772
|
}
|
|
65764
65773
|
return ue;
|
|
65765
|
-
}, Y = function(ae,
|
|
65774
|
+
}, Y = function(ae, Ce, oe) {
|
|
65766
65775
|
for (var me = 0; me < oe; me++)
|
|
65767
65776
|
if (ae[me] === "S") {
|
|
65768
|
-
|
|
65777
|
+
Ce[me] = M;
|
|
65769
65778
|
for (var ue = me - 1; ue >= 0 && ae[ue] === "WS"; ue--)
|
|
65770
|
-
|
|
65779
|
+
Ce[ue] = M;
|
|
65771
65780
|
}
|
|
65772
|
-
}, j = function(ae,
|
|
65781
|
+
}, j = function(ae, Ce, oe) {
|
|
65773
65782
|
var me = ae.split("");
|
|
65774
65783
|
return oe && U(me, oe, {
|
|
65775
65784
|
hiLevel: M
|
|
65776
|
-
}), me.reverse(),
|
|
65777
|
-
}, U = function(ae,
|
|
65778
|
-
var me, ue, Q, ne,
|
|
65785
|
+
}), me.reverse(), Ce && Ce.reverse(), me.join("");
|
|
65786
|
+
}, U = function(ae, Ce, oe) {
|
|
65787
|
+
var me, ue, Q, ne, xe, Ie, ve = -1, _e = ae.length, pe = 0, Pe = [], De = M ? d : c, Ve = [];
|
|
65779
65788
|
for (g = !1, y = !1, w = !1, Q = 0; Q < _e; Q++)
|
|
65780
65789
|
Ve[Q] = L(ae[Q]);
|
|
65781
65790
|
for (ne = 0; ne < _e; ne++) {
|
|
65782
|
-
if (Ie = pe, Pe[ne] = B(ae, Ve, Pe, ne), pe = De[Ie][u[Pe[ne]]], me = pe & 240, pe &= 15,
|
|
65791
|
+
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)
|
|
65783
65792
|
if (me === 16) {
|
|
65784
65793
|
for (Q = ve; Q < ne; Q++)
|
|
65785
|
-
|
|
65794
|
+
Ce[Q] = 1;
|
|
65786
65795
|
ve = -1;
|
|
65787
65796
|
} else
|
|
65788
65797
|
ve = -1;
|
|
@@ -65790,55 +65799,55 @@ end`, y;
|
|
|
65790
65799
|
ve === -1 && (ve = ne);
|
|
65791
65800
|
else if (ve > -1) {
|
|
65792
65801
|
for (Q = ve; Q < ne; Q++)
|
|
65793
|
-
|
|
65802
|
+
Ce[Q] = xe;
|
|
65794
65803
|
ve = -1;
|
|
65795
65804
|
}
|
|
65796
|
-
Ve[ne] === "B" && (
|
|
65805
|
+
Ve[ne] === "B" && (Ce[ne] = 0), oe.hiLevel |= xe;
|
|
65797
65806
|
}
|
|
65798
|
-
w && Y(Ve,
|
|
65799
|
-
}, X = function(ae,
|
|
65807
|
+
w && Y(Ve, Ce, _e);
|
|
65808
|
+
}, X = function(ae, Ce, oe, me, ue) {
|
|
65800
65809
|
if (!(ue.hiLevel < ae)) {
|
|
65801
65810
|
if (ae === 1 && M === C && !y) {
|
|
65802
|
-
|
|
65811
|
+
Ce.reverse(), oe && oe.reverse();
|
|
65803
65812
|
return;
|
|
65804
65813
|
}
|
|
65805
|
-
for (var Q, ne,
|
|
65814
|
+
for (var Q, ne, xe, Ie, ve = Ce.length, _e = 0; _e < ve; ) {
|
|
65806
65815
|
if (me[_e] >= ae) {
|
|
65807
|
-
for (
|
|
65808
|
-
|
|
65809
|
-
for (Ie = _e, ne =
|
|
65810
|
-
Q =
|
|
65811
|
-
_e =
|
|
65816
|
+
for (xe = _e + 1; xe < ve && me[xe] >= ae; )
|
|
65817
|
+
xe++;
|
|
65818
|
+
for (Ie = _e, ne = xe - 1; Ie < ne; Ie++, ne--)
|
|
65819
|
+
Q = Ce[Ie], Ce[Ie] = Ce[ne], Ce[ne] = Q, oe && (Q = oe[Ie], oe[Ie] = oe[ne], oe[ne] = Q);
|
|
65820
|
+
_e = xe;
|
|
65812
65821
|
}
|
|
65813
65822
|
_e++;
|
|
65814
65823
|
}
|
|
65815
65824
|
}
|
|
65816
|
-
}, W = function(ae,
|
|
65825
|
+
}, W = function(ae, Ce, oe) {
|
|
65817
65826
|
if (oe.hiLevel !== 0 && I)
|
|
65818
65827
|
for (var me = 0, ue; me < ae.length; me++)
|
|
65819
|
-
|
|
65820
|
-
}, G = function(ae,
|
|
65828
|
+
Ce[me] === 1 && (ue = p.indexOf(ae[me]), ue >= 0 && (ae[me] = p[ue + 1]));
|
|
65829
|
+
}, G = function(ae, Ce, oe) {
|
|
65821
65830
|
var me = ae.split(""), ue = {
|
|
65822
65831
|
hiLevel: M
|
|
65823
65832
|
};
|
|
65824
|
-
return oe || (oe = []), U(me, oe, ue), W(me, oe, ue), X(C + 1, me,
|
|
65833
|
+
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("");
|
|
65825
65834
|
};
|
|
65826
|
-
return this.__bidiEngine__.doBidiReorder = function(J, ae,
|
|
65835
|
+
return this.__bidiEngine__.doBidiReorder = function(J, ae, Ce) {
|
|
65827
65836
|
if (k(J, ae), !_ && E && !T)
|
|
65828
|
-
M = D ? C : v, J = G(J, ae,
|
|
65837
|
+
M = D ? C : v, J = G(J, ae, Ce);
|
|
65829
65838
|
else if (_ && E && D ^ T)
|
|
65830
|
-
M = D ? C : v, J = j(J, ae,
|
|
65839
|
+
M = D ? C : v, J = j(J, ae, Ce);
|
|
65831
65840
|
else if (!_ && E && T)
|
|
65832
|
-
M = D ? C : v, J = G(J, ae,
|
|
65841
|
+
M = D ? C : v, J = G(J, ae, Ce), J = j(J, ae);
|
|
65833
65842
|
else if (_ && !D && !E && !T)
|
|
65834
|
-
M = v, J = G(J, ae,
|
|
65843
|
+
M = v, J = G(J, ae, Ce);
|
|
65835
65844
|
else if (_ && !E && D ^ T)
|
|
65836
|
-
J = j(J, ae), D ? (M = v, J = G(J, ae,
|
|
65845
|
+
J = j(J, ae), D ? (M = v, J = G(J, ae, Ce)) : (M = C, J = G(J, ae, Ce), J = j(J, ae));
|
|
65837
65846
|
else if (_ && D && !E && T)
|
|
65838
|
-
M = C, J = G(J, ae,
|
|
65847
|
+
M = C, J = G(J, ae, Ce), J = j(J, ae);
|
|
65839
65848
|
else if (!_ && !E && D ^ T) {
|
|
65840
65849
|
var oe = I;
|
|
65841
|
-
D ? (M = C, J = G(J, ae,
|
|
65850
|
+
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));
|
|
65842
65851
|
}
|
|
65843
65852
|
return J;
|
|
65844
65853
|
}, this.__bidiEngine__.setOptions = function(J) {
|
|
@@ -66064,7 +66073,7 @@ var HeadTable = function(a) {
|
|
|
66064
66073
|
t.pos = m;
|
|
66065
66074
|
}
|
|
66066
66075
|
return a.encode = function(t, r) {
|
|
66067
|
-
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,
|
|
66076
|
+
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;
|
|
66068
66077
|
switch (U = new Data(), l = Object.keys(t).sort(function(Ve, Te) {
|
|
66069
66078
|
return Ve - Te;
|
|
66070
66079
|
}), r) {
|
|
@@ -66087,7 +66096,7 @@ var HeadTable = function(a) {
|
|
|
66087
66096
|
maxGlyphID: w + 1
|
|
66088
66097
|
};
|
|
66089
66098
|
case "unicode":
|
|
66090
|
-
for (Y = [], p = [], D = 0, _ = {}, o = {}, C = u = null, W = 0,
|
|
66099
|
+
for (Y = [], p = [], D = 0, _ = {}, o = {}, C = u = null, W = 0, Ce = l.length; W < Ce; W++)
|
|
66091
66100
|
n = l[W], T = t[n], _[T] == null && (_[T] = ++D), o[n] = {
|
|
66092
66101
|
old: T,
|
|
66093
66102
|
new: _[T]
|
|
@@ -66111,7 +66120,7 @@ var HeadTable = function(a) {
|
|
|
66111
66120
|
c = d[pe], U.writeUInt16(c);
|
|
66112
66121
|
for (Pe = 0, ne = I.length; Pe < ne; Pe++)
|
|
66113
66122
|
E = I[Pe], U.writeUInt16(E);
|
|
66114
|
-
for (De = 0,
|
|
66123
|
+
for (De = 0, xe = g.length; De < xe; De++)
|
|
66115
66124
|
w = g[De], U.writeUInt16(w);
|
|
66116
66125
|
return {
|
|
66117
66126
|
charMap: o,
|
|
@@ -67966,7 +67975,7 @@ function requireLocalforage() {
|
|
|
67966
67975
|
});
|
|
67967
67976
|
return g(be, ge, ge), be;
|
|
67968
67977
|
}
|
|
67969
|
-
function
|
|
67978
|
+
function Ce(ge) {
|
|
67970
67979
|
L(ge);
|
|
67971
67980
|
for (var Ae = _[ge.name], be = Ae.forages, ke = 0; ke < be.length; ke++) {
|
|
67972
67981
|
var je = be[ke];
|
|
@@ -67993,7 +68002,7 @@ function requireLocalforage() {
|
|
|
67993
68002
|
if (!ge.db || Re.name === "NotFoundError" && !ge.db.objectStoreNames.contains(ge.storeName) && ge.version <= ge.db.version)
|
|
67994
68003
|
return ge.db && (ge.version = ge.db.version + 1), U(ge);
|
|
67995
68004
|
}).then(function() {
|
|
67996
|
-
return
|
|
68005
|
+
return Ce(ge).then(function() {
|
|
67997
68006
|
oe(ge, Ae, be, ke - 1);
|
|
67998
68007
|
});
|
|
67999
68008
|
}).catch(be);
|
|
@@ -68094,7 +68103,7 @@ function requireLocalforage() {
|
|
|
68094
68103
|
});
|
|
68095
68104
|
return m(ke, Ae), ke;
|
|
68096
68105
|
}
|
|
68097
|
-
function
|
|
68106
|
+
function xe(ge, Ae, be) {
|
|
68098
68107
|
var ke = this;
|
|
68099
68108
|
ge = y(ge);
|
|
68100
68109
|
var je = new p(function(Re, it) {
|
|
@@ -68338,7 +68347,7 @@ function requireLocalforage() {
|
|
|
68338
68347
|
_support: u(),
|
|
68339
68348
|
iterate: ne,
|
|
68340
68349
|
getItem: Q,
|
|
68341
|
-
setItem:
|
|
68350
|
+
setItem: xe,
|
|
68342
68351
|
removeItem: Ie,
|
|
68343
68352
|
clear: ve,
|
|
68344
68353
|
length: _e,
|
|
@@ -68349,7 +68358,7 @@ function requireLocalforage() {
|
|
|
68349
68358
|
function Te() {
|
|
68350
68359
|
return typeof openDatabase == "function";
|
|
68351
68360
|
}
|
|
68352
|
-
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,
|
|
68361
|
+
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;
|
|
68353
68362
|
function It(ge) {
|
|
68354
68363
|
var Ae = ge.length * 0.75, be = ge.length, ke, je = 0, Re, it, rt, ct;
|
|
68355
68364
|
ge[ge.length - 1] === "=" && (Ae--, ge[ge.length - 2] === "=" && Ae--);
|
|
@@ -68366,7 +68375,7 @@ function requireLocalforage() {
|
|
|
68366
68375
|
}
|
|
68367
68376
|
function Qt(ge, Ae) {
|
|
68368
68377
|
var be = "";
|
|
68369
|
-
if (ge && (be =
|
|
68378
|
+
if (ge && (be = xt.call(ge)), ge && (be === "[object ArrayBuffer]" || ge.buffer && xt.call(ge.buffer) === "[object ArrayBuffer]")) {
|
|
68370
68379
|
var ke, je = he;
|
|
68371
68380
|
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));
|
|
68372
68381
|
} else if (be === "[object Blob]") {
|
|
@@ -68679,7 +68688,7 @@ function requireLocalforage() {
|
|
|
68679
68688
|
keys: nr,
|
|
68680
68689
|
dropInstance: Pt
|
|
68681
68690
|
};
|
|
68682
|
-
function
|
|
68691
|
+
function Cr() {
|
|
68683
68692
|
try {
|
|
68684
68693
|
return typeof localStorage < "u" && "setItem" in localStorage && // in IE8 typeof localStorage.setItem === 'object'
|
|
68685
68694
|
!!localStorage.setItem;
|
|
@@ -68817,7 +68826,7 @@ function requireLocalforage() {
|
|
|
68817
68826
|
var Gi = {
|
|
68818
68827
|
_driver: "localStorageWrapper",
|
|
68819
68828
|
_initStorage: tr,
|
|
68820
|
-
_support:
|
|
68829
|
+
_support: Cr(),
|
|
68821
68830
|
iterate: lr,
|
|
68822
68831
|
getItem: Zt,
|
|
68823
68832
|
setItem: Ur,
|
|
@@ -70340,17 +70349,17 @@ class DocController {
|
|
|
70340
70349
|
G.copyProperty(W, G), G.creatorIndex = void 0, G.deleterIndex = void 0, G.modifierIndex = void 0;
|
|
70341
70350
|
const J = j.get(U[X]);
|
|
70342
70351
|
if (J == "add") {
|
|
70343
|
-
const ae = k.indexOf("(/add)", U[X]),
|
|
70352
|
+
const ae = k.indexOf("(/add)", U[X]), Ce = k.substring(U[X] + 5, ae), me = new UserHistory(this._hoEditorFactoryID, HistoryEditType.hetCreate).userCompare();
|
|
70344
70353
|
G.creatorIndex = me, G.strikeout = !1, L = a.docTree.styleCompare(G);
|
|
70345
|
-
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText,
|
|
70354
|
+
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText, Ce, L);
|
|
70346
70355
|
w = this.insertNodeByPath(w, ue, p, !!(v && E >= 1), m);
|
|
70347
70356
|
} else if (J == "del") {
|
|
70348
|
-
const ae = k.indexOf("(/del)", U[X]),
|
|
70357
|
+
const ae = k.indexOf("(/del)", U[X]), Ce = k.substring(U[X] + 5, ae), me = new UserHistory(this._hoEditorFactoryID, HistoryEditType.hetDelete).userCompare();
|
|
70349
70358
|
G.deleterIndex = me, G.strikeout = !0, L = a.docTree.styleCompare(G);
|
|
70350
|
-
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText,
|
|
70359
|
+
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText, Ce, L);
|
|
70351
70360
|
w = this.insertNodeByPath(w, ue, p, !!(v && E >= 1), m);
|
|
70352
70361
|
} else {
|
|
70353
|
-
const ae = k.indexOf("(/old)", U[X]),
|
|
70362
|
+
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);
|
|
70354
70363
|
w = this.insertNodeByPath(w, oe, p, !!(v && E >= 1), m);
|
|
70355
70364
|
}
|
|
70356
70365
|
}
|
|
@@ -79014,17 +79023,17 @@ function requireVueColor_min() {
|
|
|
79014
79023
|
};
|
|
79015
79024
|
r.exports = function(C, _, D, E, T, I, M) {
|
|
79016
79025
|
p(D, _, E);
|
|
79017
|
-
var k, L, H, B = function(
|
|
79018
|
-
if (!w &&
|
|
79019
|
-
switch (
|
|
79026
|
+
var k, L, H, B = function(Ce) {
|
|
79027
|
+
if (!w && Ce in X) return X[Ce];
|
|
79028
|
+
switch (Ce) {
|
|
79020
79029
|
case "keys":
|
|
79021
79030
|
case "values":
|
|
79022
79031
|
return function() {
|
|
79023
|
-
return new D(this,
|
|
79032
|
+
return new D(this, Ce);
|
|
79024
79033
|
};
|
|
79025
79034
|
}
|
|
79026
79035
|
return function() {
|
|
79027
|
-
return new D(this,
|
|
79036
|
+
return new D(this, Ce);
|
|
79028
79037
|
};
|
|
79029
79038
|
}, 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;
|
|
79030
79039
|
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() {
|
|
@@ -79339,8 +79348,8 @@ function requireVueColor_min() {
|
|
|
79339
79348
|
function s(oe) {
|
|
79340
79349
|
return oe && oe.__esModule ? oe : { default: oe };
|
|
79341
79350
|
}
|
|
79342
|
-
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),
|
|
79343
|
-
r.exports =
|
|
79351
|
+
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 };
|
|
79352
|
+
r.exports = Ce;
|
|
79344
79353
|
}, function(r, o, n) {
|
|
79345
79354
|
function s(g) {
|
|
79346
79355
|
n(61);
|
|
@@ -79481,15 +79490,15 @@ function requireVueColor_min() {
|
|
|
79481
79490
|
return { r: 255 * [$, Me, Qe, Qe, ze, $][ot], g: 255 * [ze, $, $, Me, Qe, Qe][ot], b: 255 * [Qe, Qe, ze, $, $, Me][ot] };
|
|
79482
79491
|
}
|
|
79483
79492
|
function y(le, he, $, Ne) {
|
|
79484
|
-
var Be = [
|
|
79493
|
+
var Be = [Ce(pe(le).toString(16)), Ce(pe(he).toString(16)), Ce(pe($).toString(16))];
|
|
79485
79494
|
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("");
|
|
79486
79495
|
}
|
|
79487
79496
|
function w(le, he, $, Ne, Be) {
|
|
79488
|
-
var Qe = [
|
|
79497
|
+
var Qe = [Ce(pe(le).toString(16)), Ce(pe(he).toString(16)), Ce(pe($).toString(16)), Ce(me(Ne))];
|
|
79489
79498
|
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("");
|
|
79490
79499
|
}
|
|
79491
79500
|
function v(le, he, $, Ne) {
|
|
79492
|
-
return [
|
|
79501
|
+
return [Ce(me(Ne)), Ce(pe(le).toString(16)), Ce(pe(he).toString(16)), Ce(pe($).toString(16))].join("");
|
|
79493
79502
|
}
|
|
79494
79503
|
function C(le, he) {
|
|
79495
79504
|
he = he === 0 ? 0 : he || 10;
|
|
@@ -79570,7 +79579,7 @@ function requireVueColor_min() {
|
|
|
79570
79579
|
function ae(le) {
|
|
79571
79580
|
return typeof le == "string" && le.indexOf("%") != -1;
|
|
79572
79581
|
}
|
|
79573
|
-
function
|
|
79582
|
+
function Ce(le) {
|
|
79574
79583
|
return le.length == 1 ? "0" + le : "" + le;
|
|
79575
79584
|
}
|
|
79576
79585
|
function oe(le) {
|
|
@@ -79593,7 +79602,7 @@ function requireVueColor_min() {
|
|
|
79593
79602
|
var $;
|
|
79594
79603
|
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" };
|
|
79595
79604
|
}
|
|
79596
|
-
function
|
|
79605
|
+
function xe(le) {
|
|
79597
79606
|
var he, $;
|
|
79598
79607
|
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: $ };
|
|
79599
79608
|
}
|
|
@@ -79713,7 +79722,7 @@ function requireVueColor_min() {
|
|
|
79713
79722
|
return (l.max($.getLuminance(), Ne.getLuminance()) + 0.05) / (l.min($.getLuminance(), Ne.getLuminance()) + 0.05);
|
|
79714
79723
|
}, c.isReadable = function(le, he, $) {
|
|
79715
79724
|
var Ne, Be, Qe = c.readability(le, he);
|
|
79716
|
-
switch (Be = !1, Ne =
|
|
79725
|
+
switch (Be = !1, Ne = xe($), Ne.level + Ne.size) {
|
|
79717
79726
|
case "AAsmall":
|
|
79718
79727
|
case "AAAlarge":
|
|
79719
79728
|
Be = Qe >= 4.5;
|
|
@@ -80131,7 +80140,7 @@ function requireVueColor_min() {
|
|
|
80131
80140
|
}, function(r, o, n) {
|
|
80132
80141
|
n(102), n(108), n(109), n(110), r.exports = n(24).Symbol;
|
|
80133
80142
|
}, function(r, o, n) {
|
|
80134
|
-
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"),
|
|
80143
|
+
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() {
|
|
80135
80144
|
return k(U({}, "a", { get: function() {
|
|
80136
80145
|
return U(this, "a", { value: 7 }).a;
|
|
80137
80146
|
} })).a != 7;
|
|
@@ -80141,7 +80150,7 @@ function requireVueColor_min() {
|
|
|
80141
80150
|
} : U, pe = function(Me) {
|
|
80142
80151
|
var ze = ue[Me] = k(W.prototype);
|
|
80143
80152
|
return ze._k = Me, ze;
|
|
80144
|
-
}, Pe =
|
|
80153
|
+
}, Pe = xe && typeof W.iterator == "symbol" ? function(Me) {
|
|
80145
80154
|
return typeof Me == "symbol";
|
|
80146
80155
|
} : function(Me) {
|
|
80147
80156
|
return Me instanceof W;
|
|
@@ -80168,7 +80177,7 @@ function requireVueColor_min() {
|
|
|
80168
80177
|
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]);
|
|
80169
80178
|
return bt;
|
|
80170
80179
|
};
|
|
80171
|
-
|
|
80180
|
+
xe || (W = function() {
|
|
80172
80181
|
if (this instanceof W) throw TypeError("Symbol is not a constructor!");
|
|
80173
80182
|
var Me = y(arguments.length > 0 ? arguments[0] : void 0), ze = function(ot) {
|
|
80174
80183
|
this === ne && ze.call(Q, ot), l(this, ae) && l(this[ae], Me) && (this[ae][Me] = !1), _e(this, Me, M(1, ot));
|
|
@@ -80178,10 +80187,10 @@ function requireVueColor_min() {
|
|
|
80178
80187
|
return this._k;
|
|
80179
80188
|
}), 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) {
|
|
80180
80189
|
return pe(w(Me));
|
|
80181
|
-
}), d(d.G + d.W + d.F * !
|
|
80190
|
+
}), d(d.G + d.W + d.F * !xe, { Symbol: W });
|
|
80182
80191
|
for (var $ = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), Ne = 0; $.length > Ne; ) w($[Ne++]);
|
|
80183
80192
|
for (var Be = Y(w.store), Qe = 0; Be.length > Qe; ) C(Be[Qe++]);
|
|
80184
|
-
d(d.S + d.F * !
|
|
80193
|
+
d(d.S + d.F * !xe, "Symbol", { for: function(Me) {
|
|
80185
80194
|
return l(me, Me += "") ? me[Me] : me[Me] = W(Me);
|
|
80186
80195
|
}, keyFor: function(Me) {
|
|
80187
80196
|
if (!Pe(Me)) throw TypeError(Me + " is not a symbol!");
|
|
@@ -80190,7 +80199,7 @@ function requireVueColor_min() {
|
|
|
80190
80199
|
ve = !0;
|
|
80191
80200
|
}, useSimple: function() {
|
|
80192
80201
|
ve = !1;
|
|
80193
|
-
} }), d(d.S + d.F * !
|
|
80202
|
+
} }), 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() {
|
|
80194
80203
|
var Me = W();
|
|
80195
80204
|
return J([Me]) != "[null]" || J({ a: Me }) != "{}" || J(Object(Me)) != "{}";
|
|
80196
80205
|
})), "JSON", { stringify: function(Me) {
|
|
@@ -80200,7 +80209,7 @@ function requireVueColor_min() {
|
|
|
80200
80209
|
if (ot && (_t = ot.call(this, gt, _t)), !Pe(_t)) return _t;
|
|
80201
80210
|
}), ht[1] = ze, J.apply(G, ht);
|
|
80202
80211
|
}
|
|
80203
|
-
} }), W.prototype[
|
|
80212
|
+
} }), W.prototype[Ce] || n(7)(W.prototype, Ce, W.prototype.valueOf), g(W, "Symbol"), g(Math, "Math", !0), g(s.JSON, "JSON", !0);
|
|
80204
80213
|
}, function(r, o, n) {
|
|
80205
80214
|
var s = n(17)("meta"), l = n(14), c = n(6), d = n(8).f, u = 0, f = Object.isExtensible || function() {
|
|
80206
80215
|
return !0;
|
|
@@ -80695,7 +80704,7 @@ function requireVueColor_min() {
|
|
|
80695
80704
|
return me = ue = void 0, ve = De, ne = H.apply(Te, Ve);
|
|
80696
80705
|
}
|
|
80697
80706
|
function U(De) {
|
|
80698
|
-
return ve = De,
|
|
80707
|
+
return ve = De, xe = setTimeout(G, B), _e ? j(De) : ne;
|
|
80699
80708
|
}
|
|
80700
80709
|
function X(De) {
|
|
80701
80710
|
var Ve = De - Ie, Te = De - ve, He = B - Ve;
|
|
@@ -80708,28 +80717,28 @@ function requireVueColor_min() {
|
|
|
80708
80717
|
function G() {
|
|
80709
80718
|
var De = L();
|
|
80710
80719
|
if (W(De)) return J(De);
|
|
80711
|
-
|
|
80720
|
+
xe = setTimeout(G, X(De));
|
|
80712
80721
|
}
|
|
80713
80722
|
function J(De) {
|
|
80714
|
-
return
|
|
80723
|
+
return xe = void 0, Pe && me ? j(De) : (me = ue = void 0, ne);
|
|
80715
80724
|
}
|
|
80716
80725
|
function ae() {
|
|
80717
|
-
|
|
80726
|
+
xe !== void 0 && clearTimeout(xe), ve = 0, me = Ie = ue = xe = void 0;
|
|
80718
80727
|
}
|
|
80719
|
-
function
|
|
80720
|
-
return
|
|
80728
|
+
function Ce() {
|
|
80729
|
+
return xe === void 0 ? ne : J(L());
|
|
80721
80730
|
}
|
|
80722
80731
|
function oe() {
|
|
80723
80732
|
var De = L(), Ve = W(De);
|
|
80724
80733
|
if (me = arguments, ue = this, Ie = De, Ve) {
|
|
80725
|
-
if (
|
|
80726
|
-
if (pe) return
|
|
80734
|
+
if (xe === void 0) return U(Ie);
|
|
80735
|
+
if (pe) return xe = setTimeout(G, B), j(Ie);
|
|
80727
80736
|
}
|
|
80728
|
-
return
|
|
80737
|
+
return xe === void 0 && (xe = setTimeout(G, B)), ne;
|
|
80729
80738
|
}
|
|
80730
|
-
var me, ue, Q, ne,
|
|
80739
|
+
var me, ue, Q, ne, xe, Ie, ve = 0, _e = !1, pe = !1, Pe = !0;
|
|
80731
80740
|
if (typeof H != "function") throw new TypeError(f);
|
|
80732
|
-
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 =
|
|
80741
|
+
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;
|
|
80733
80742
|
}
|
|
80734
80743
|
function s(H, B, Y) {
|
|
80735
80744
|
var j = !0, U = !0;
|