vue-data-ui 0.2.3 → 0.2.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.
|
@@ -5752,11 +5752,11 @@ function Ct(e) {
|
|
|
5752
5752
|
return Be();
|
|
5753
5753
|
};
|
|
5754
5754
|
var be = f.__private__.convertDateToPDFDate = function(v) {
|
|
5755
|
-
var D = v.getTimezoneOffset(), ue = D < 0 ? "+" : "-", ge = Math.floor(Math.abs(D / 60)), Fe = Math.abs(D % 60),
|
|
5756
|
-
return ["D:", v.getFullYear(), x(v.getMonth() + 1), x(v.getDate()), x(v.getHours()), x(v.getMinutes()), x(v.getSeconds()),
|
|
5755
|
+
var D = v.getTimezoneOffset(), ue = D < 0 ? "+" : "-", ge = Math.floor(Math.abs(D / 60)), Fe = Math.abs(D % 60), De = [ue, x(ge), "'", x(Fe), "'"].join("");
|
|
5756
|
+
return ["D:", v.getFullYear(), x(v.getMonth() + 1), x(v.getDate()), x(v.getHours()), x(v.getMinutes()), x(v.getSeconds()), De].join("");
|
|
5757
5757
|
}, Ce = f.__private__.convertPDFDateToDate = function(v) {
|
|
5758
|
-
var D = parseInt(v.substr(2, 4), 10), ue = parseInt(v.substr(6, 2), 10) - 1, ge = parseInt(v.substr(8, 2), 10), Fe = parseInt(v.substr(10, 2), 10),
|
|
5759
|
-
return new Date(D, ue, ge, Fe,
|
|
5758
|
+
var D = parseInt(v.substr(2, 4), 10), ue = parseInt(v.substr(6, 2), 10) - 1, ge = parseInt(v.substr(8, 2), 10), Fe = parseInt(v.substr(10, 2), 10), De = parseInt(v.substr(12, 2), 10), Je = parseInt(v.substr(14, 2), 10);
|
|
5759
|
+
return new Date(D, ue, ge, Fe, De, Je, 0);
|
|
5760
5760
|
}, Re = f.__private__.setCreationDate = function(v) {
|
|
5761
5761
|
var D;
|
|
5762
5762
|
if (v === void 0 && (v = /* @__PURE__ */ new Date()), v instanceof Date)
|
|
@@ -5780,20 +5780,20 @@ function Ct(e) {
|
|
|
5780
5780
|
return ("0" + parseInt(v)).slice(-2);
|
|
5781
5781
|
}, B = f.__private__.padd2Hex = function(v) {
|
|
5782
5782
|
return ("00" + (v = v.toString())).substr(v.length);
|
|
5783
|
-
}, _ = 0, H = [], k = [], Y = 0, R = [], fe = [], ke = !1,
|
|
5783
|
+
}, _ = 0, H = [], k = [], Y = 0, R = [], fe = [], ke = !1, Oe = k, We = function() {
|
|
5784
5784
|
_ = 0, Y = 0, k = [], H = [], R = [], J = CA(), ee = CA();
|
|
5785
5785
|
};
|
|
5786
5786
|
f.__private__.setCustomOutputDestination = function(v) {
|
|
5787
|
-
ke = !0,
|
|
5787
|
+
ke = !0, Oe = v;
|
|
5788
5788
|
};
|
|
5789
5789
|
var Te = function(v) {
|
|
5790
|
-
ke || (
|
|
5790
|
+
ke || (Oe = v);
|
|
5791
5791
|
};
|
|
5792
5792
|
f.__private__.resetCustomOutputDestination = function() {
|
|
5793
|
-
ke = !1,
|
|
5793
|
+
ke = !1, Oe = k;
|
|
5794
5794
|
};
|
|
5795
5795
|
var ae = f.__private__.out = function(v) {
|
|
5796
|
-
return v = v.toString(), Y += v.length + 1,
|
|
5796
|
+
return v = v.toString(), Y += v.length + 1, Oe.push(v), Oe;
|
|
5797
5797
|
}, Ke = f.__private__.write = function(v) {
|
|
5798
5798
|
return ae(arguments.length === 1 ? v.toString() : Array.prototype.join.call(arguments, " "));
|
|
5799
5799
|
}, Ye = f.__private__.getArrayBuffer = function(v) {
|
|
@@ -5864,10 +5864,10 @@ function Ct(e) {
|
|
|
5864
5864
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
5865
5865
|
return bt[v] = D;
|
|
5866
5866
|
};
|
|
5867
|
-
var Nt, ot, qA, Kt, Or, Jt = {}, gA = {}, ln = [], zt = {}, Xn = {}, BA = {}, qr = {}, Cn = null, hA = 0, St = [], Xt = new y1(f), ua = e.hotfixes || [], $A = {}, un = {}, cn = [], yt = function v(D, ue, ge, Fe,
|
|
5867
|
+
var Nt, ot, qA, Kt, Or, Jt = {}, gA = {}, ln = [], zt = {}, Xn = {}, BA = {}, qr = {}, Cn = null, hA = 0, St = [], Xt = new y1(f), ua = e.hotfixes || [], $A = {}, un = {}, cn = [], yt = function v(D, ue, ge, Fe, De, Je) {
|
|
5868
5868
|
if (!(this instanceof v))
|
|
5869
|
-
return new v(D, ue, ge, Fe,
|
|
5870
|
-
isNaN(D) && (D = 1), isNaN(ue) && (ue = 0), isNaN(ge) && (ge = 0), isNaN(Fe) && (Fe = 1), isNaN(
|
|
5869
|
+
return new v(D, ue, ge, Fe, De, Je);
|
|
5870
|
+
isNaN(D) && (D = 1), isNaN(ue) && (ue = 0), isNaN(ge) && (ge = 0), isNaN(Fe) && (Fe = 1), isNaN(De) && (De = 0), isNaN(Je) && (Je = 0), this._matrix = [D, ue, ge, Fe, De, Je];
|
|
5871
5871
|
};
|
|
5872
5872
|
Object.defineProperty(yt.prototype, "sx", { get: function() {
|
|
5873
5873
|
return this._matrix[0];
|
|
@@ -5928,18 +5928,18 @@ function Ct(e) {
|
|
|
5928
5928
|
} }), yt.prototype.join = function(v) {
|
|
5929
5929
|
return [this.sx, this.shy, this.shx, this.sy, this.tx, this.ty].map(P).join(v);
|
|
5930
5930
|
}, yt.prototype.multiply = function(v) {
|
|
5931
|
-
var D = v.sx * this.sx + v.shy * this.shx, ue = v.sx * this.shy + v.shy * this.sy, ge = v.shx * this.sx + v.sy * this.shx, Fe = v.shx * this.shy + v.sy * this.sy,
|
|
5932
|
-
return new yt(D, ue, ge, Fe,
|
|
5931
|
+
var D = v.sx * this.sx + v.shy * this.shx, ue = v.sx * this.shy + v.shy * this.sy, ge = v.shx * this.sx + v.sy * this.shx, Fe = v.shx * this.shy + v.sy * this.sy, De = v.tx * this.sx + v.ty * this.shx + this.tx, Je = v.tx * this.shy + v.ty * this.sy + this.ty;
|
|
5932
|
+
return new yt(D, ue, ge, Fe, De, Je);
|
|
5933
5933
|
}, yt.prototype.decompose = function() {
|
|
5934
|
-
var v = this.sx, D = this.shy, ue = this.shx, ge = this.sy, Fe = this.tx,
|
|
5934
|
+
var v = this.sx, D = this.shy, ue = this.shx, ge = this.sy, Fe = this.tx, De = this.ty, Je = Math.sqrt(v * v + D * D), ft = (v /= Je) * ue + (D /= Je) * ge;
|
|
5935
5935
|
ue -= v * ft, ge -= D * ft;
|
|
5936
5936
|
var mt = Math.sqrt(ue * ue + ge * ge);
|
|
5937
|
-
return ft /= mt, v * (ge /= mt) < D * (ue /= mt) && (v = -v, D = -D, ft = -ft, Je = -Je), { scale: new yt(Je, 0, 0, mt, 0, 0), translate: new yt(1, 0, 0, 1, Fe,
|
|
5937
|
+
return ft /= mt, v * (ge /= mt) < D * (ue /= mt) && (v = -v, D = -D, ft = -ft, Je = -Je), { scale: new yt(Je, 0, 0, mt, 0, 0), translate: new yt(1, 0, 0, 1, Fe, De), rotate: new yt(v, D, -D, v, 0, 0), skew: new yt(1, 0, ft, 1, 0, 0) };
|
|
5938
5938
|
}, yt.prototype.toString = function(v) {
|
|
5939
5939
|
return this.join(" ");
|
|
5940
5940
|
}, yt.prototype.inversed = function() {
|
|
5941
|
-
var v = this.sx, D = this.shy, ue = this.shx, ge = this.sy, Fe = this.tx,
|
|
5942
|
-
return new yt(ft, mt, Lt, Dt, -ft * Fe - Lt *
|
|
5941
|
+
var v = this.sx, D = this.shy, ue = this.shx, ge = this.sy, Fe = this.tx, De = this.ty, Je = 1 / (v * ge - D * ue), ft = ge * Je, mt = -D * Je, Lt = -ue * Je, Dt = v * Je;
|
|
5942
|
+
return new yt(ft, mt, Lt, Dt, -ft * Fe - Lt * De, -mt * Fe - Dt * De);
|
|
5943
5943
|
}, yt.prototype.applyToPoint = function(v) {
|
|
5944
5944
|
var D = v.x * this.sx + v.y * this.shx + this.tx, ue = v.x * this.shy + v.y * this.sy + this.ty;
|
|
5945
5945
|
return new ns(D, ue);
|
|
@@ -5947,8 +5947,8 @@ function Ct(e) {
|
|
|
5947
5947
|
var D = this.applyToPoint(v), ue = this.applyToPoint(new ns(v.x + v.w, v.y + v.h));
|
|
5948
5948
|
return new co(D.x, D.y, ue.x - D.x, ue.y - D.y);
|
|
5949
5949
|
}, yt.prototype.clone = function() {
|
|
5950
|
-
var v = this.sx, D = this.shy, ue = this.shx, ge = this.sy, Fe = this.tx,
|
|
5951
|
-
return new yt(v, D, ue, ge, Fe,
|
|
5950
|
+
var v = this.sx, D = this.shy, ue = this.shx, ge = this.sy, Fe = this.tx, De = this.ty;
|
|
5951
|
+
return new yt(v, D, ue, ge, Fe, De);
|
|
5952
5952
|
}, f.Matrix = yt;
|
|
5953
5953
|
var $r = f.matrixMult = function(v, D) {
|
|
5954
5954
|
return D.multiply(v);
|
|
@@ -5994,7 +5994,7 @@ function Ct(e) {
|
|
|
5994
5994
|
}, le = f.__private__.encodeColorString = function(v) {
|
|
5995
5995
|
var D;
|
|
5996
5996
|
typeof v == "string" && (v = { ch1: v });
|
|
5997
|
-
var ue = v.ch1, ge = v.ch2, Fe = v.ch3,
|
|
5997
|
+
var ue = v.ch1, ge = v.ch2, Fe = v.ch3, De = v.ch4, Je = v.pdfColorType === "draw" ? ["G", "RG", "K"] : ["g", "rg", "k"];
|
|
5998
5998
|
if (typeof ue == "string" && ue.charAt(0) !== "#") {
|
|
5999
5999
|
var ft = new k2(ue);
|
|
6000
6000
|
if (ft.ok)
|
|
@@ -6006,7 +6006,7 @@ function Ct(e) {
|
|
|
6006
6006
|
var mt = parseInt(ue.substr(1), 16);
|
|
6007
6007
|
ue = mt >> 16 & 255, ge = mt >> 8 & 255, Fe = 255 & mt;
|
|
6008
6008
|
}
|
|
6009
|
-
if (ge === void 0 ||
|
|
6009
|
+
if (ge === void 0 || De === void 0 && ue === ge && ge === Fe)
|
|
6010
6010
|
if (typeof ue == "string")
|
|
6011
6011
|
D = ue + " " + Je[0];
|
|
6012
6012
|
else
|
|
@@ -6018,8 +6018,8 @@ function Ct(e) {
|
|
|
6018
6018
|
default:
|
|
6019
6019
|
D = L(ue / 255) + " " + Je[0];
|
|
6020
6020
|
}
|
|
6021
|
-
else if (
|
|
6022
|
-
if (
|
|
6021
|
+
else if (De === void 0 || aA(De) === "object") {
|
|
6022
|
+
if (De && !isNaN(De.a) && De.a === 0)
|
|
6023
6023
|
return D = ["1.", "1.", "1.", Je[1]].join(" ");
|
|
6024
6024
|
if (typeof ue == "string")
|
|
6025
6025
|
D = [ue, ge, Fe, Je[1]].join(" ");
|
|
@@ -6033,21 +6033,21 @@ function Ct(e) {
|
|
|
6033
6033
|
D = [L(ue / 255), L(ge / 255), L(Fe / 255), Je[1]].join(" ");
|
|
6034
6034
|
}
|
|
6035
6035
|
} else if (typeof ue == "string")
|
|
6036
|
-
D = [ue, ge, Fe,
|
|
6036
|
+
D = [ue, ge, Fe, De, Je[2]].join(" ");
|
|
6037
6037
|
else
|
|
6038
6038
|
switch (v.precision) {
|
|
6039
6039
|
case 2:
|
|
6040
|
-
D = [oe(ue), oe(ge), oe(Fe), oe(
|
|
6040
|
+
D = [oe(ue), oe(ge), oe(Fe), oe(De), Je[2]].join(" ");
|
|
6041
6041
|
break;
|
|
6042
6042
|
case 3:
|
|
6043
6043
|
default:
|
|
6044
|
-
D = [L(ue), L(ge), L(Fe), L(
|
|
6044
|
+
D = [L(ue), L(ge), L(Fe), L(De), Je[2]].join(" ");
|
|
6045
6045
|
}
|
|
6046
6046
|
return D;
|
|
6047
6047
|
}, Ee = f.__private__.getFilters = function() {
|
|
6048
6048
|
return i;
|
|
6049
6049
|
}, Ie = f.__private__.putStream = function(v) {
|
|
6050
|
-
var D = (v = v || {}).data || "", ue = v.filters || Ee(), ge = v.alreadyAppliedFilters || [], Fe = v.addLength1 || !1,
|
|
6050
|
+
var D = (v = v || {}).data || "", ue = v.filters || Ee(), ge = v.alreadyAppliedFilters || [], Fe = v.addLength1 || !1, De = D.length, Je = v.objectId, ft = function(Br) {
|
|
6051
6051
|
return Br;
|
|
6052
6052
|
};
|
|
6053
6053
|
if (l !== null && Je === void 0)
|
|
@@ -6056,7 +6056,7 @@ function Ct(e) {
|
|
|
6056
6056
|
var mt = {};
|
|
6057
6057
|
ue === !0 && (ue = ["FlateEncode"]);
|
|
6058
6058
|
var Lt = v.additionalKeyValues || [], Dt = (mt = Ct.API.processDataByFilters !== void 0 ? Ct.API.processDataByFilters(D, ue) : { data: D, reverseChain: [] }).reverseChain + (Array.isArray(ge) ? ge.join(" ") : ge.toString());
|
|
6059
|
-
if (mt.data.length !== 0 && (Lt.push({ key: "Length", value: mt.data.length }), Fe === !0 && Lt.push({ key: "Length1", value:
|
|
6059
|
+
if (mt.data.length !== 0 && (Lt.push({ key: "Length", value: mt.data.length }), Fe === !0 && Lt.push({ key: "Length1", value: De })), Dt.length != 0)
|
|
6060
6060
|
if (Dt.split("/").length - 1 == 1)
|
|
6061
6061
|
Lt.push({ key: "Filter", value: Dt });
|
|
6062
6062
|
else {
|
|
@@ -6075,10 +6075,10 @@ function Ct(e) {
|
|
|
6075
6075
|
}, _e = f.__private__.putPage = function(v) {
|
|
6076
6076
|
var D = v.number, ue = v.data, ge = v.objId, Fe = v.contentsObjId;
|
|
6077
6077
|
G(ge, !0), ae("<</Type /Page"), ae("/Parent " + v.rootDictionaryObjId + " 0 R"), ae("/Resources " + v.resourceDictionaryObjId + " 0 R"), ae("/MediaBox [" + parseFloat(P(v.mediaBox.bottomLeftX)) + " " + parseFloat(P(v.mediaBox.bottomLeftY)) + " " + P(v.mediaBox.topRightX) + " " + P(v.mediaBox.topRightY) + "]"), v.cropBox !== null && ae("/CropBox [" + P(v.cropBox.bottomLeftX) + " " + P(v.cropBox.bottomLeftY) + " " + P(v.cropBox.topRightX) + " " + P(v.cropBox.topRightY) + "]"), v.bleedBox !== null && ae("/BleedBox [" + P(v.bleedBox.bottomLeftX) + " " + P(v.bleedBox.bottomLeftY) + " " + P(v.bleedBox.topRightX) + " " + P(v.bleedBox.topRightY) + "]"), v.trimBox !== null && ae("/TrimBox [" + P(v.trimBox.bottomLeftX) + " " + P(v.trimBox.bottomLeftY) + " " + P(v.trimBox.topRightX) + " " + P(v.trimBox.topRightY) + "]"), v.artBox !== null && ae("/ArtBox [" + P(v.artBox.bottomLeftX) + " " + P(v.artBox.bottomLeftY) + " " + P(v.artBox.topRightX) + " " + P(v.artBox.topRightY) + "]"), typeof v.userUnit == "number" && v.userUnit !== 1 && ae("/UserUnit " + v.userUnit), Xt.publish("putPage", { objId: ge, pageContext: St[D], pageNumber: D, page: ue }), ae("/Contents " + Fe + " 0 R"), ae(">>"), ae("endobj");
|
|
6078
|
-
var
|
|
6078
|
+
var De = ue.join(`
|
|
6079
6079
|
`);
|
|
6080
|
-
return M === b.ADVANCED && (
|
|
6081
|
-
Q`), G(Fe, !0), Ie({ data:
|
|
6080
|
+
return M === b.ADVANCED && (De += `
|
|
6081
|
+
Q`), G(Fe, !0), Ie({ data: De, filters: Ee(), objectId: Fe }), ae("endobj"), ge;
|
|
6082
6082
|
}, Qe = f.__private__.putPages = function() {
|
|
6083
6083
|
var v, D, ue = [];
|
|
6084
6084
|
for (v = 1; v <= hA; v++)
|
|
@@ -6110,8 +6110,8 @@ Q`), G(Fe, !0), Ie({ data: Oe, filters: Ee(), objectId: Fe }), ae("endobj"), ge;
|
|
|
6110
6110
|
for (ue = 0; ue < 1; ue += Fe)
|
|
6111
6111
|
ge.push(ue);
|
|
6112
6112
|
if (ge.push(1), v[0].offset != 0) {
|
|
6113
|
-
var
|
|
6114
|
-
v.unshift(
|
|
6113
|
+
var De = { offset: 0, color: v[0].color };
|
|
6114
|
+
v.unshift(De);
|
|
6115
6115
|
}
|
|
6116
6116
|
if (v[v.length - 1].offset != 1) {
|
|
6117
6117
|
var Je = { offset: 1, color: v[v.length - 1].color };
|
|
@@ -6128,8 +6128,8 @@ Q`), G(Fe, !0), Ie({ data: Oe, filters: Ee(), objectId: Fe }), ae("endobj"), ge;
|
|
|
6128
6128
|
D || (D = 21);
|
|
6129
6129
|
var ue = LA(), ge = Ze(v.colors, D), Fe = [];
|
|
6130
6130
|
Fe.push({ key: "FunctionType", value: "0" }), Fe.push({ key: "Domain", value: "[0.0 1.0]" }), Fe.push({ key: "Size", value: "[" + D + "]" }), Fe.push({ key: "BitsPerSample", value: "8" }), Fe.push({ key: "Range", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), Fe.push({ key: "Decode", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), Ie({ data: ge, additionalKeyValues: Fe, alreadyAppliedFilters: ["/ASCIIHexDecode"], objectId: ue }), ae("endobj"), v.objectNumber = LA(), ae("<< /ShadingType " + v.type), ae("/ColorSpace /DeviceRGB");
|
|
6131
|
-
var
|
|
6132
|
-
v.type === 2 ?
|
|
6131
|
+
var De = "/Coords [" + P(parseFloat(v.coords[0])) + " " + P(parseFloat(v.coords[1])) + " ";
|
|
6132
|
+
v.type === 2 ? De += P(parseFloat(v.coords[2])) + " " + P(parseFloat(v.coords[3])) : De += P(parseFloat(v.coords[2])) + " " + P(parseFloat(v.coords[3])) + " " + P(parseFloat(v.coords[4])) + " " + P(parseFloat(v.coords[5])), ae(De += "]"), v.matrix && ae("/Matrix [" + v.matrix.toString() + "]"), ae("/Function " + ue + " 0 R"), ae("/Extend [true true]"), ae(">>"), ae("endobj");
|
|
6133
6133
|
}, _t = function(v, D) {
|
|
6134
6134
|
var ue = CA(), ge = LA();
|
|
6135
6135
|
D.push({ resourcesOid: ue, objectOid: ge }), v.objectNumber = ge;
|
|
@@ -6197,8 +6197,8 @@ Q`), G(Fe, !0), Ie({ data: Oe, filters: Ee(), objectId: Fe }), ae("endobj"), ge;
|
|
|
6197
6197
|
}, Ul = function(v) {
|
|
6198
6198
|
gA[v.fontName] = gA[v.fontName] || {}, gA[v.fontName][v.fontStyle] = v.id;
|
|
6199
6199
|
}, Ao = function(v, D, ue, ge, Fe) {
|
|
6200
|
-
var
|
|
6201
|
-
return Xt.publish("addFont", { font:
|
|
6200
|
+
var De = { id: "F" + (Object.keys(Jt).length + 1).toString(10), postScriptName: v, fontName: D, fontStyle: ue, encoding: ge, isStandardFont: Fe || !1, metadata: {} };
|
|
6201
|
+
return Xt.publish("addFont", { font: De, instance: this }), Jt[De.id] = De, Ul(De), De.id;
|
|
6202
6202
|
}, Zc = function(v) {
|
|
6203
6203
|
for (var D = 0, ue = He.length; D < ue; D++) {
|
|
6204
6204
|
var ge = Ao.call(this, v[D][0], v[D][1], v[D][2], He[D][3], !0);
|
|
@@ -6222,8 +6222,8 @@ Q`), G(Fe, !0), Ie({ data: Oe, filters: Ee(), objectId: Fe }), ae("endobj"), ge;
|
|
|
6222
6222
|
}
|
|
6223
6223
|
}, v.foo.bar = v, v.foo;
|
|
6224
6224
|
}, Ji = function(v, D) {
|
|
6225
|
-
var ue, ge, Fe,
|
|
6226
|
-
if (Fe = (D = D || {}).sourceEncoding || "Unicode", Je = D.outputEncoding, (D.autoencode || Je) && Jt[Nt].metadata && Jt[Nt].metadata[Fe] && Jt[Nt].metadata[Fe].encoding && (
|
|
6225
|
+
var ue, ge, Fe, De, Je, ft, mt, Lt, Dt;
|
|
6226
|
+
if (Fe = (D = D || {}).sourceEncoding || "Unicode", Je = D.outputEncoding, (D.autoencode || Je) && Jt[Nt].metadata && Jt[Nt].metadata[Fe] && Jt[Nt].metadata[Fe].encoding && (De = Jt[Nt].metadata[Fe].encoding, !Je && Jt[Nt].encoding && (Je = Jt[Nt].encoding), !Je && De.codePages && (Je = De.codePages[0]), typeof Je == "string" && (Je = De[Je]), Je)) {
|
|
6227
6227
|
for (mt = !1, ft = [], ue = 0, ge = v.length; ue < ge; ue++)
|
|
6228
6228
|
(Lt = Je[v.charCodeAt(ue)]) ? ft.push(String.fromCharCode(Lt)) : ft.push(v[ue]), ft[ue].charCodeAt(0) >> 8 && (mt = !0);
|
|
6229
6229
|
v = ft.join("");
|
|
@@ -6346,9 +6346,9 @@ Q`), G(Fe, !0), Ie({ data: Oe, filters: Ee(), objectId: Fe }), ae("endobj"), ge;
|
|
|
6346
6346
|
return "data:application/pdf;filename=" + D.filename + ";base64," + ue;
|
|
6347
6347
|
case "pdfobjectnewwindow":
|
|
6348
6348
|
if (Object.prototype.toString.call(Ft) === "[object Window]") {
|
|
6349
|
-
var Fe = "https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",
|
|
6350
|
-
D.pdfObjectUrl && (Fe = D.pdfObjectUrl,
|
|
6351
|
-
var Je = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="' + Fe + '"' +
|
|
6349
|
+
var Fe = "https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js", De = ' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';
|
|
6350
|
+
D.pdfObjectUrl && (Fe = D.pdfObjectUrl, De = "");
|
|
6351
|
+
var Je = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="' + Fe + '"' + De + '><\/script><script >PDFObject.embed("' + this.output("dataurlstring") + '", ' + JSON.stringify(D) + ");<\/script></body></html>", ft = Ft.open();
|
|
6352
6352
|
return ft !== null && ft.document.write(Je), ft;
|
|
6353
6353
|
}
|
|
6354
6354
|
throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");
|
|
@@ -6444,15 +6444,15 @@ Q`), G(Fe, !0), Ie({ data: Oe, filters: Ee(), objectId: Fe }), ae("endobj"), ge;
|
|
|
6444
6444
|
fe[D] = ue, St[D] = ge, this.setPage(D);
|
|
6445
6445
|
} else if (v < D) {
|
|
6446
6446
|
ue = fe[v], ge = St[v];
|
|
6447
|
-
for (var
|
|
6448
|
-
fe[
|
|
6447
|
+
for (var De = v; De < D; De++)
|
|
6448
|
+
fe[De] = fe[De + 1], St[De] = St[De + 1];
|
|
6449
6449
|
fe[D] = ue, St[D] = ge, this.setPage(D);
|
|
6450
6450
|
}
|
|
6451
6451
|
return this;
|
|
6452
6452
|
}, f.deletePage = function() {
|
|
6453
6453
|
return e0.apply(this, arguments), this;
|
|
6454
6454
|
}, f.__private__.text = f.text = function(v, D, ue, ge, Fe) {
|
|
6455
|
-
var
|
|
6455
|
+
var De, Je, ft, mt, Lt, Dt, Gt, bA, FA, RA = (ge = ge || {}).scope || this;
|
|
6456
6456
|
if (typeof v == "number" && typeof D == "number" && (typeof ue == "string" || Array.isArray(ue))) {
|
|
6457
6457
|
var Br = ue;
|
|
6458
6458
|
ue = D, D = v, v = Br;
|
|
@@ -6510,7 +6510,7 @@ Q`), G(Fe, !0), Ie({ data: Oe, filters: Ee(), objectId: Fe }), ae("endobj"), ge;
|
|
|
6510
6510
|
}
|
|
6511
6511
|
if ((Dt = ge.maxWidth || 0) > 0 && (typeof v == "string" ? v = RA.splitTextToSize(v, Dt) : Object.prototype.toString.call(v) === "[object Array]" && (v = v.reduce(function(pA, vA) {
|
|
6512
6512
|
return pA.concat(RA.splitTextToSize(vA, Dt));
|
|
6513
|
-
}, []))),
|
|
6513
|
+
}, []))), De = { text: v, x: D, y: ue, options: ge, mutex: { pdfEscape: Hr, activeFontKey: Nt, fonts: Jt, activeFontSize: et } }, Xt.publish("preProcessText", De), v = De.text, ft = (ge = De.options).angle, !(FA instanceof yt) && ft && typeof ft == "number") {
|
|
6514
6514
|
ft *= Math.PI / 180, ge.rotationDirection === 0 && (ft = -ft), M === b.ADVANCED && (ft = -ft);
|
|
6515
6515
|
var us = Math.cos(ft), mo = Math.sin(ft);
|
|
6516
6516
|
FA = new yt(us, mo, -mo, us, 0, 0);
|
|
@@ -6591,7 +6591,7 @@ Q`), G(Fe, !0), Ie({ data: Oe, filters: Ee(), objectId: Fe }), ae("endobj"), ge;
|
|
|
6591
6591
|
var hs = typeof ge.R2L == "boolean" ? ge.R2L : wt;
|
|
6592
6592
|
hs === !0 && (v = vo(v, function(pA, vA, kA) {
|
|
6593
6593
|
return [pA.split("").reverse().join(""), vA, kA];
|
|
6594
|
-
})),
|
|
6594
|
+
})), De = { text: v, x: D, y: ue, options: ge, mutex: { pdfEscape: Hr, activeFontKey: Nt, fonts: Jt, activeFontSize: et } }, Xt.publish("postProcessText", De), v = De.text, Un = De.mutex.isHex || !1;
|
|
6595
6595
|
var bo = Jt[Nt].encoding;
|
|
6596
6596
|
bo !== "WinAnsiEncoding" && bo !== "StandardEncoding" || (v = vo(v, function(pA, vA, kA) {
|
|
6597
6597
|
return [Vl(pA), vA, kA];
|
|
@@ -6679,10 +6679,10 @@ T* `) : v.join(` Tj
|
|
|
6679
6679
|
v === null || M === b.ADVANCED && v === void 0 || (v = Nl(v), ae(v));
|
|
6680
6680
|
};
|
|
6681
6681
|
function l0(v, D, ue, ge, Fe) {
|
|
6682
|
-
var
|
|
6683
|
-
|
|
6682
|
+
var De = new Os(D || this.boundingBox, ue || this.xStep, ge || this.yStep, this.gState, Fe || this.matrix);
|
|
6683
|
+
De.stream = this.stream;
|
|
6684
6684
|
var Je = v + "$$" + this.cloneIndex++ + "$$";
|
|
6685
|
-
return vr(Je,
|
|
6685
|
+
return vr(Je, De), De;
|
|
6686
6686
|
}
|
|
6687
6687
|
var u0 = function(v, D) {
|
|
6688
6688
|
var ue = Xn[v.key], ge = zt[ue];
|
|
@@ -6712,20 +6712,20 @@ T* `) : v.join(` Tj
|
|
|
6712
6712
|
return ae(P(T(v)) + " " + P(te(D)) + " m"), this;
|
|
6713
6713
|
}, yi = f.lineTo = function(v, D) {
|
|
6714
6714
|
return ae(P(T(v)) + " " + P(te(D)) + " l"), this;
|
|
6715
|
-
}, Na = f.curveTo = function(v, D, ue, ge, Fe,
|
|
6716
|
-
return ae([P(T(v)), P(te(D)), P(T(ue)), P(te(ge)), P(T(Fe)), P(te(
|
|
6715
|
+
}, Na = f.curveTo = function(v, D, ue, ge, Fe, De) {
|
|
6716
|
+
return ae([P(T(v)), P(te(D)), P(T(ue)), P(te(ge)), P(T(Fe)), P(te(De)), "c"].join(" ")), this;
|
|
6717
6717
|
};
|
|
6718
6718
|
f.__private__.line = f.line = function(v, D, ue, ge, Fe) {
|
|
6719
6719
|
if (isNaN(v) || isNaN(D) || isNaN(ue) || isNaN(ge) || !Yn(Fe))
|
|
6720
6720
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
6721
6721
|
return M === b.COMPAT ? this.lines([[ue - v, ge - D]], v, D, [1, 1], Fe || "S") : this.lines([[ue - v, ge - D]], v, D, [1, 1]).stroke();
|
|
6722
|
-
}, f.__private__.lines = f.lines = function(v, D, ue, ge, Fe,
|
|
6722
|
+
}, f.__private__.lines = f.lines = function(v, D, ue, ge, Fe, De) {
|
|
6723
6723
|
var Je, ft, mt, Lt, Dt, Gt, bA, FA, RA, Br, er, Un;
|
|
6724
|
-
if (typeof v == "number" && (Un = ue, ue = D, D = v, v = Un), ge = ge || [1, 1],
|
|
6724
|
+
if (typeof v == "number" && (Un = ue, ue = D, D = v, v = Un), ge = ge || [1, 1], De = De || !1, isNaN(D) || isNaN(ue) || !Array.isArray(v) || !Array.isArray(ge) || !Yn(Fe) || typeof De != "boolean")
|
|
6725
6725
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
6726
6726
|
for (io(D, ue), Je = ge[0], ft = ge[1], Lt = v.length, Br = D, er = ue, mt = 0; mt < Lt; mt++)
|
|
6727
6727
|
(Dt = v[mt]).length === 2 ? (Br = Dt[0] * Je + Br, er = Dt[1] * ft + er, yi(Br, er)) : (Gt = Dt[0] * Je + Br, bA = Dt[1] * ft + er, FA = Dt[2] * Je + Br, RA = Dt[3] * ft + er, Br = Dt[4] * Je + Br, er = Dt[5] * ft + er, Na(Gt, bA, FA, RA, Br, er));
|
|
6728
|
-
return
|
|
6728
|
+
return De && Dl(), ao(Fe), this;
|
|
6729
6729
|
}, f.path = function(v) {
|
|
6730
6730
|
for (var D = 0; D < v.length; D++) {
|
|
6731
6731
|
var ue = v[D], ge = ue.c;
|
|
@@ -6748,20 +6748,20 @@ T* `) : v.join(` Tj
|
|
|
6748
6748
|
if (isNaN(v) || isNaN(D) || isNaN(ue) || isNaN(ge) || !Yn(Fe))
|
|
6749
6749
|
throw new Error("Invalid arguments passed to jsPDF.rect");
|
|
6750
6750
|
return M === b.COMPAT && (ge = -ge), ae([P(T(v)), P(te(D)), P(T(ue)), P(T(ge)), "re"].join(" ")), ao(Fe), this;
|
|
6751
|
-
}, f.__private__.triangle = f.triangle = function(v, D, ue, ge, Fe,
|
|
6752
|
-
if (isNaN(v) || isNaN(D) || isNaN(ue) || isNaN(ge) || isNaN(Fe) || isNaN(
|
|
6751
|
+
}, f.__private__.triangle = f.triangle = function(v, D, ue, ge, Fe, De, Je) {
|
|
6752
|
+
if (isNaN(v) || isNaN(D) || isNaN(ue) || isNaN(ge) || isNaN(Fe) || isNaN(De) || !Yn(Je))
|
|
6753
6753
|
throw new Error("Invalid arguments passed to jsPDF.triangle");
|
|
6754
|
-
return this.lines([[ue - v, ge - D], [Fe - ue,
|
|
6755
|
-
}, f.__private__.roundedRect = f.roundedRect = function(v, D, ue, ge, Fe,
|
|
6756
|
-
if (isNaN(v) || isNaN(D) || isNaN(ue) || isNaN(ge) || isNaN(Fe) || isNaN(
|
|
6754
|
+
return this.lines([[ue - v, ge - D], [Fe - ue, De - ge], [v - Fe, D - De]], v, D, [1, 1], Je, !0), this;
|
|
6755
|
+
}, f.__private__.roundedRect = f.roundedRect = function(v, D, ue, ge, Fe, De, Je) {
|
|
6756
|
+
if (isNaN(v) || isNaN(D) || isNaN(ue) || isNaN(ge) || isNaN(Fe) || isNaN(De) || !Yn(Je))
|
|
6757
6757
|
throw new Error("Invalid arguments passed to jsPDF.roundedRect");
|
|
6758
6758
|
var ft = 4 / 3 * (Math.SQRT2 - 1);
|
|
6759
|
-
return Fe = Math.min(Fe, 0.5 * ue),
|
|
6759
|
+
return Fe = Math.min(Fe, 0.5 * ue), De = Math.min(De, 0.5 * ge), this.lines([[ue - 2 * Fe, 0], [Fe * ft, 0, Fe, De - De * ft, Fe, De], [0, ge - 2 * De], [0, De * ft, -Fe * ft, De, -Fe, De], [2 * Fe - ue, 0], [-Fe * ft, 0, -Fe, -De * ft, -Fe, -De], [0, 2 * De - ge], [0, -De * ft, Fe * ft, -De, Fe, -De]], v + Fe, D, [1, 1], Je, !0), this;
|
|
6760
6760
|
}, f.__private__.ellipse = f.ellipse = function(v, D, ue, ge, Fe) {
|
|
6761
6761
|
if (isNaN(v) || isNaN(D) || isNaN(ue) || isNaN(ge) || !Yn(Fe))
|
|
6762
6762
|
throw new Error("Invalid arguments passed to jsPDF.ellipse");
|
|
6763
|
-
var
|
|
6764
|
-
return io(v + ue, D), Na(v + ue, D - Je, v +
|
|
6763
|
+
var De = 4 / 3 * (Math.SQRT2 - 1) * ue, Je = 4 / 3 * (Math.SQRT2 - 1) * ge;
|
|
6764
|
+
return io(v + ue, D), Na(v + ue, D - Je, v + De, D - ge, v, D - ge), Na(v - De, D - ge, v - ue, D - Je, v - ue, D), Na(v - ue, D + Je, v - De, D + ge, v, D + ge), Na(v + De, D + ge, v + ue, D + Je, v + ue, D), ao(Fe), this;
|
|
6765
6765
|
}, f.__private__.circle = f.circle = function(v, D, ue, ge) {
|
|
6766
6766
|
if (isNaN(v) || isNaN(D) || isNaN(ue) || !Yn(ge))
|
|
6767
6767
|
throw new Error("Invalid arguments passed to jsPDF.circle");
|
|
@@ -6780,8 +6780,8 @@ T* `) : v.join(` Tj
|
|
|
6780
6780
|
gA[v].hasOwnProperty(D) && ue[v].push(D);
|
|
6781
6781
|
return ue;
|
|
6782
6782
|
}, f.addFont = function(v, D, ue, ge, Fe) {
|
|
6783
|
-
var
|
|
6784
|
-
return arguments[3] &&
|
|
6783
|
+
var De = ["StandardEncoding", "MacRomanEncoding", "Identity-H", "WinAnsiEncoding"];
|
|
6784
|
+
return arguments[3] && De.indexOf(arguments[3]) !== -1 ? Fe = arguments[3] : arguments[3] && De.indexOf(arguments[3]) == -1 && (ue = Z(ue, ge)), Fe = Fe || "Identity-H", Ao.call(this, v, D, ue, Fe);
|
|
6785
6785
|
};
|
|
6786
6786
|
var xi, so = e.lineWidth || 0.200025, As = f.__private__.getLineWidth = f.getLineWidth = function() {
|
|
6787
6787
|
return so;
|
|
@@ -6895,20 +6895,20 @@ T* `) : v.join(` Tj
|
|
|
6895
6895
|
var ue = v || 0;
|
|
6896
6896
|
Object.defineProperty(this, "x", { enumerable: !0, get: function() {
|
|
6897
6897
|
return ue;
|
|
6898
|
-
}, set: function(
|
|
6899
|
-
isNaN(
|
|
6898
|
+
}, set: function(De) {
|
|
6899
|
+
isNaN(De) || (ue = parseFloat(De));
|
|
6900
6900
|
} });
|
|
6901
6901
|
var ge = D || 0;
|
|
6902
6902
|
Object.defineProperty(this, "y", { enumerable: !0, get: function() {
|
|
6903
6903
|
return ge;
|
|
6904
|
-
}, set: function(
|
|
6905
|
-
isNaN(
|
|
6904
|
+
}, set: function(De) {
|
|
6905
|
+
isNaN(De) || (ge = parseFloat(De));
|
|
6906
6906
|
} });
|
|
6907
6907
|
var Fe = "pt";
|
|
6908
6908
|
return Object.defineProperty(this, "type", { enumerable: !0, get: function() {
|
|
6909
6909
|
return Fe;
|
|
6910
|
-
}, set: function(
|
|
6911
|
-
Fe =
|
|
6910
|
+
}, set: function(De) {
|
|
6911
|
+
Fe = De.toString();
|
|
6912
6912
|
} }), this;
|
|
6913
6913
|
}, co = function(v, D, ue, ge) {
|
|
6914
6914
|
ns.call(this, v, D), this.type = "rect";
|
|
@@ -6918,17 +6918,17 @@ T* `) : v.join(` Tj
|
|
|
6918
6918
|
}, set: function(Je) {
|
|
6919
6919
|
isNaN(Je) || (Fe = parseFloat(Je));
|
|
6920
6920
|
} });
|
|
6921
|
-
var
|
|
6921
|
+
var De = ge || 0;
|
|
6922
6922
|
return Object.defineProperty(this, "h", { enumerable: !0, get: function() {
|
|
6923
|
-
return
|
|
6923
|
+
return De;
|
|
6924
6924
|
}, set: function(Je) {
|
|
6925
|
-
isNaN(Je) || (
|
|
6925
|
+
isNaN(Je) || (De = parseFloat(Je));
|
|
6926
6926
|
} }), this;
|
|
6927
6927
|
}, ho = function() {
|
|
6928
|
-
this.page = hA, this.currentPage = E, this.pages = fe.slice(0), this.pagesContext = St.slice(0), this.x = qA, this.y = Kt, this.matrix = Or, this.width = Ci(E), this.height = Ma(E), this.outputDestination =
|
|
6928
|
+
this.page = hA, this.currentPage = E, this.pages = fe.slice(0), this.pagesContext = St.slice(0), this.x = qA, this.y = Kt, this.matrix = Or, this.width = Ci(E), this.height = Ma(E), this.outputDestination = Oe, this.id = "", this.objectNumber = -1;
|
|
6929
6929
|
};
|
|
6930
6930
|
ho.prototype.restore = function() {
|
|
6931
|
-
hA = this.page, E = this.currentPage, St = this.pagesContext, fe = this.pages, qA = this.x, Kt = this.y, Or = this.matrix, fo(E, this.width), go(E, this.height),
|
|
6931
|
+
hA = this.page, E = this.currentPage, St = this.pagesContext, fe = this.pages, qA = this.x, Kt = this.y, Or = this.matrix, fo(E, this.width), go(E, this.height), Oe = this.outputDestination;
|
|
6932
6932
|
};
|
|
6933
6933
|
var Kl = function(v, D, ue, ge, Fe) {
|
|
6934
6934
|
cn.push(new ho()), hA = E = 0, fe = [], qA = v, Kt = D, Or = Fe, ro([ue, ge]);
|
|
@@ -6955,8 +6955,8 @@ T* `) : v.join(` Tj
|
|
|
6955
6955
|
try {
|
|
6956
6956
|
var Fe = Ui(Zi(ha()), v);
|
|
6957
6957
|
typeof Ui.unload == "function" && Ft.setTimeout && setTimeout(Ui.unload, 911), ue(Fe);
|
|
6958
|
-
} catch (
|
|
6959
|
-
ge(
|
|
6958
|
+
} catch (De) {
|
|
6959
|
+
ge(De.message);
|
|
6960
6960
|
}
|
|
6961
6961
|
});
|
|
6962
6962
|
}, Ct.API)
|
|
@@ -8663,7 +8663,7 @@ var Du, E1, S1, ch = ["times"];
|
|
|
8663
8663
|
["right", "end", "center", "left", "start"].indexOf(Te) !== -1 && (this.ctx.textAlign = Te);
|
|
8664
8664
|
} });
|
|
8665
8665
|
var ke = null;
|
|
8666
|
-
function
|
|
8666
|
+
function Oe(Te, ae) {
|
|
8667
8667
|
if (ke === null) {
|
|
8668
8668
|
var Ke = function(Ye) {
|
|
8669
8669
|
var He = [];
|
|
@@ -8732,7 +8732,7 @@ var Du, E1, S1, ch = ["times"];
|
|
|
8732
8732
|
return qA;
|
|
8733
8733
|
}(et);
|
|
8734
8734
|
if (this.fontFaces) {
|
|
8735
|
-
var wt = c4(
|
|
8735
|
+
var wt = c4(Oe(this.pdf, this.fontFaces), it.map(function(bt) {
|
|
8736
8736
|
return { family: bt, stretch: "normal", weight: Ye, style: Ke };
|
|
8737
8737
|
}));
|
|
8738
8738
|
this.pdf.setFont(wt.ref.name, wt.ref.style);
|
|
@@ -8949,9 +8949,9 @@ var Du, E1, S1, ch = ["times"];
|
|
|
8949
8949
|
return this.margin[0] > 0 || this.margin[1] > 0 || this.margin[2] > 0 || this.margin[3] > 0;
|
|
8950
8950
|
};
|
|
8951
8951
|
g.prototype.drawImage = function(F, E, x, B, _, H, k, Y, R) {
|
|
8952
|
-
var fe = this.pdf.getImageProperties(F), ke = 1,
|
|
8953
|
-
B !== void 0 && Y !== void 0 && (We = Y / B, Te = R / _, ke = fe.width / B * Y / B,
|
|
8954
|
-
for (var ae, Ke = this.ctx.transform.decompose(), Ye = we(Ke.rotate.shx), He = new o(), et = (He = (He = (He = He.multiply(Ke.translate)).multiply(Ke.skew)).multiply(Ke.scale)).applyToRectangle(new s(H - E * We, k - x * Te, B * ke, _ *
|
|
8952
|
+
var fe = this.pdf.getImageProperties(F), ke = 1, Oe = 1, We = 1, Te = 1;
|
|
8953
|
+
B !== void 0 && Y !== void 0 && (We = Y / B, Te = R / _, ke = fe.width / B * Y / B, Oe = fe.height / _ * R / _), H === void 0 && (H = E, k = x, E = 0, x = 0), B !== void 0 && Y === void 0 && (Y = B, R = _), B === void 0 && Y === void 0 && (Y = fe.width, R = fe.height);
|
|
8954
|
+
for (var ae, Ke = this.ctx.transform.decompose(), Ye = we(Ke.rotate.shx), He = new o(), et = (He = (He = (He = He.multiply(Ke.translate)).multiply(Ke.skew)).multiply(Ke.scale)).applyToRectangle(new s(H - E * We, k - x * Te, B * ke, _ * Oe)), rt = h.call(this, et), it = [], wt = 0; wt < rt.length; wt += 1)
|
|
8955
8955
|
it.indexOf(rt[wt]) === -1 && it.push(rt[wt]);
|
|
8956
8956
|
if (M(it), this.autoPaging)
|
|
8957
8957
|
for (var Bt = it[0], Et = it[it.length - 1], Tt = Bt; Tt < Et + 1; Tt++) {
|
|
@@ -9019,9 +9019,9 @@ var Du, E1, S1, ch = ["times"];
|
|
|
9019
9019
|
return E - x;
|
|
9020
9020
|
});
|
|
9021
9021
|
}, W = function(F, E) {
|
|
9022
|
-
for (var x, B, _ = this.fillStyle, H = this.strokeStyle, k = this.lineCap, Y = this.lineWidth, R = Math.abs(Y * this.ctx.transform.scaleX), fe = this.lineJoin, ke = JSON.parse(JSON.stringify(this.path)),
|
|
9023
|
-
if (
|
|
9024
|
-
for (var ae = h.call(this,
|
|
9022
|
+
for (var x, B, _ = this.fillStyle, H = this.strokeStyle, k = this.lineCap, Y = this.lineWidth, R = Math.abs(Y * this.ctx.transform.scaleX), fe = this.lineJoin, ke = JSON.parse(JSON.stringify(this.path)), Oe = JSON.parse(JSON.stringify(this.path)), We = [], Te = 0; Te < Oe.length; Te++)
|
|
9023
|
+
if (Oe[Te].x !== void 0)
|
|
9024
|
+
for (var ae = h.call(this, Oe[Te]), Ke = 0; Ke < ae.length; Ke += 1)
|
|
9025
9025
|
We.indexOf(ae[Ke]) === -1 && We.push(ae[Ke]);
|
|
9026
9026
|
for (var Ye = 0; Ye < We.length; Ye++)
|
|
9027
9027
|
for (; this.pdf.internal.getNumberOfPages() < We[Ye]; )
|
|
@@ -9071,8 +9071,8 @@ var Du, E1, S1, ch = ["times"];
|
|
|
9071
9071
|
x = [Y.x1 - H[k - 1].x, Y.y1 - H[k - 1].y, Y.x2 - H[k - 1].x, Y.y2 - H[k - 1].y, Y.x - H[k - 1].x, Y.y - H[k - 1].y], _[_.length - 1].deltas.push(x);
|
|
9072
9072
|
break;
|
|
9073
9073
|
case "qct":
|
|
9074
|
-
var fe = H[k - 1].x + 2 / 3 * (Y.x1 - H[k - 1].x), ke = H[k - 1].y + 2 / 3 * (Y.y1 - H[k - 1].y),
|
|
9075
|
-
x = [fe - H[k - 1].x, ke - H[k - 1].y,
|
|
9074
|
+
var fe = H[k - 1].x + 2 / 3 * (Y.x1 - H[k - 1].x), ke = H[k - 1].y + 2 / 3 * (Y.y1 - H[k - 1].y), Oe = Y.x + 2 / 3 * (Y.x1 - Y.x), We = Y.y + 2 / 3 * (Y.y1 - Y.y), Te = Y.x, ae = Y.y;
|
|
9075
|
+
x = [fe - H[k - 1].x, ke - H[k - 1].y, Oe - H[k - 1].x, We - H[k - 1].y, Te - H[k - 1].x, ae - H[k - 1].y], _[_.length - 1].deltas.push(x);
|
|
9076
9076
|
break;
|
|
9077
9077
|
case "arc":
|
|
9078
9078
|
_.push({ deltas: [], abs: [], arc: !0 }), Array.isArray(_[_.length - 1].abs) && _[_.length - 1].abs.push(Y);
|
|
@@ -9128,8 +9128,8 @@ var Du, E1, S1, ch = ["times"];
|
|
|
9128
9128
|
};
|
|
9129
9129
|
var I = function(F, E, x, B, _, H, k, Y, R) {
|
|
9130
9130
|
for (var fe = he.call(this, x, B, _, H), ke = 0; ke < fe.length; ke++) {
|
|
9131
|
-
var
|
|
9132
|
-
ke === 0 && (R ? L.call(this,
|
|
9131
|
+
var Oe = fe[ke];
|
|
9132
|
+
ke === 0 && (R ? L.call(this, Oe.x1 + F, Oe.y1 + E) : X.call(this, Oe.x1 + F, Oe.y1 + E)), de.call(this, F, E, Oe.x2, Oe.y2, Oe.x3, Oe.y3, Oe.x4, Oe.y4);
|
|
9133
9133
|
}
|
|
9134
9134
|
Y ? oe.call(this) : K.call(this, k);
|
|
9135
9135
|
}, K = function(F) {
|
|
@@ -9161,7 +9161,7 @@ var Du, E1, S1, ch = ["times"];
|
|
|
9161
9161
|
}
|
|
9162
9162
|
var x = this.pdf.getTextDimensions(F.text), B = Z.call(this, F.y), _ = P.call(this, B) - x.h, H = this.ctx.transform.applyToPoint(new i(F.x, B)), k = this.ctx.transform.decompose(), Y = new o();
|
|
9163
9163
|
Y = (Y = (Y = Y.multiply(k.translate)).multiply(k.skew)).multiply(k.scale);
|
|
9164
|
-
for (var R, fe, ke,
|
|
9164
|
+
for (var R, fe, ke, Oe = this.ctx.transform.applyToRectangle(new s(F.x, B, x.w, x.h)), We = Y.applyToRectangle(new s(F.x, _, x.w, x.h)), Te = h.call(this, We), ae = [], Ke = 0; Ke < Te.length; Ke += 1)
|
|
9165
9165
|
ae.indexOf(Te[Ke]) === -1 && ae.push(Te[Ke]);
|
|
9166
9166
|
if (M(ae), this.autoPaging)
|
|
9167
9167
|
for (var Ye = ae[0], He = ae[ae.length - 1], et = Ye; et < He + 1; et++) {
|
|
@@ -9176,7 +9176,7 @@ var Du, E1, S1, ch = ["times"];
|
|
|
9176
9176
|
var Nt = this.autoPaging !== "text";
|
|
9177
9177
|
if (Nt || bt.y + bt.h <= wt) {
|
|
9178
9178
|
if (Nt || bt.y >= rt && bt.x <= Et) {
|
|
9179
|
-
var ot = Nt ? F.text : this.pdf.splitTextToSize(F.text, F.maxWidth || Et - bt.x)[0], qA = b([JSON.parse(JSON.stringify(
|
|
9179
|
+
var ot = Nt ? F.text : this.pdf.splitTextToSize(F.text, F.maxWidth || Et - bt.x)[0], qA = b([JSON.parse(JSON.stringify(Oe))], this.posX + this.margin[3], -Mt + rt + this.ctx.prevPageLastElemOffset)[0], Kt = Nt && (et > Ye || et < He) && w.call(this);
|
|
9180
9180
|
Kt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], Tt, Bt, null).clip().discardPath()), this.pdf.text(ot, qA.x, qA.y, { angle: F.angle, align: E, renderingMode: F.renderingMode }), Kt && this.pdf.restoreGraphicsState();
|
|
9181
9181
|
}
|
|
9182
9182
|
} else
|
|
@@ -9202,17 +9202,17 @@ var Du, E1, S1, ch = ["times"];
|
|
|
9202
9202
|
}
|
|
9203
9203
|
return Y;
|
|
9204
9204
|
}, Be = function(F, E, x) {
|
|
9205
|
-
var B = (x - E) / 2, _ = F * Math.cos(B), H = F * Math.sin(B), k = _, Y = -H, R = k * k + Y * Y, fe = R + k * _ + Y * H, ke = 4 / 3 * (Math.sqrt(2 * R * fe) - fe) / (k * H - Y * _),
|
|
9206
|
-
return { x1: F * Math.cos(E), y1: F * Math.sin(E), x2:
|
|
9205
|
+
var B = (x - E) / 2, _ = F * Math.cos(B), H = F * Math.sin(B), k = _, Y = -H, R = k * k + Y * Y, fe = R + k * _ + Y * H, ke = 4 / 3 * (Math.sqrt(2 * R * fe) - fe) / (k * H - Y * _), Oe = k - ke * Y, We = Y + ke * k, Te = Oe, ae = -We, Ke = B + E, Ye = Math.cos(Ke), He = Math.sin(Ke);
|
|
9206
|
+
return { x1: F * Math.cos(E), y1: F * Math.sin(E), x2: Oe * Ye - We * He, y2: Oe * He + We * Ye, x3: Te * Ye - ae * He, y3: Te * He + ae * Ye, x4: F * Math.cos(x), y4: F * Math.sin(x) };
|
|
9207
9207
|
}, we = function(F) {
|
|
9208
9208
|
return 180 * F / Math.PI;
|
|
9209
9209
|
}, be = function(F, E, x, B, _, H) {
|
|
9210
|
-
var k = F + 0.5 * (x - F), Y = E + 0.5 * (B - E), R = _ + 0.5 * (x - _), fe = H + 0.5 * (B - H), ke = Math.min(F, _, k, R),
|
|
9211
|
-
return new s(ke, We,
|
|
9210
|
+
var k = F + 0.5 * (x - F), Y = E + 0.5 * (B - E), R = _ + 0.5 * (x - _), fe = H + 0.5 * (B - H), ke = Math.min(F, _, k, R), Oe = Math.max(F, _, k, R), We = Math.min(E, H, Y, fe), Te = Math.max(E, H, Y, fe);
|
|
9211
|
+
return new s(ke, We, Oe - ke, Te - We);
|
|
9212
9212
|
}, Ce = function(F, E, x, B, _, H, k, Y) {
|
|
9213
|
-
var R, fe, ke,
|
|
9213
|
+
var R, fe, ke, Oe, We, Te, ae, Ke, Ye, He, et, rt, it, wt, Bt = x - F, Et = B - E, Tt = _ - x, Mt = H - B, Ht = k - _, bt = Y - H;
|
|
9214
9214
|
for (fe = 0; fe < 41; fe++)
|
|
9215
|
-
Ye = (ae = (ke = F + (R = fe / 40) * Bt) + R * ((We = x + R * Tt) - ke)) + R * (We + R * (_ + R * Ht - We) - ae), He = (Ke = (
|
|
9215
|
+
Ye = (ae = (ke = F + (R = fe / 40) * Bt) + R * ((We = x + R * Tt) - ke)) + R * (We + R * (_ + R * Ht - We) - ae), He = (Ke = (Oe = E + R * Et) + R * ((Te = B + R * Mt) - Oe)) + R * (Te + R * (H + R * bt - Te) - Ke), fe == 0 ? (et = Ye, rt = He, it = Ye, wt = He) : (et = Math.min(et, Ye), rt = Math.min(rt, He), it = Math.max(it, Ye), wt = Math.max(wt, He));
|
|
9216
9216
|
return new s(Math.round(et), Math.round(rt), Math.round(it - et), Math.round(wt - rt));
|
|
9217
9217
|
}, Re = function() {
|
|
9218
9218
|
if (this.prevLineDash || this.ctx.lineDash.length || this.ctx.lineDashOffset) {
|
|
@@ -10200,12 +10200,12 @@ function hh(e) {
|
|
|
10200
10200
|
y[P[fe]] = R[fe];
|
|
10201
10201
|
var ke = y[0] - x;
|
|
10202
10202
|
x = y[0], ke == 0 ? Be(B[0]) : (Be(B[p[H = 32767 + ke]]), Be(g[H]));
|
|
10203
|
-
for (var
|
|
10204
|
-
|
|
10205
|
-
if (
|
|
10203
|
+
for (var Oe = 63; Oe > 0 && y[Oe] == 0; )
|
|
10204
|
+
Oe--;
|
|
10205
|
+
if (Oe == 0)
|
|
10206
10206
|
return Be(k), x;
|
|
10207
|
-
for (var We, Te = 1; Te <=
|
|
10208
|
-
for (var ae = Te; y[Te] == 0 && Te <=
|
|
10207
|
+
for (var We, Te = 1; Te <= Oe; ) {
|
|
10208
|
+
for (var ae = Te; y[Te] == 0 && Te <= Oe; )
|
|
10209
10209
|
++Te;
|
|
10210
10210
|
var Ke = Te - ae;
|
|
10211
10211
|
if (Ke >= 16) {
|
|
@@ -10216,7 +10216,7 @@ function hh(e) {
|
|
|
10216
10216
|
}
|
|
10217
10217
|
H = 32767 + y[Te], Be(_[(Ke << 4) + p[H]]), Be(g[H]), Te++;
|
|
10218
10218
|
}
|
|
10219
|
-
return
|
|
10219
|
+
return Oe != 63 && Be(k), x;
|
|
10220
10220
|
}
|
|
10221
10221
|
function Re(F) {
|
|
10222
10222
|
F = Math.min(Math.max(F, 1), 100), a != F && (function(E) {
|
|
@@ -10229,8 +10229,8 @@ function hh(e) {
|
|
|
10229
10229
|
Y = Math.min(Math.max(Y, 1), 255), o[P[k]] = Y;
|
|
10230
10230
|
}
|
|
10231
10231
|
for (var R = [1, 1.387039845, 1.306562965, 1.175875602, 1, 0.785694958, 0.5411961, 0.275899379], fe = 0, ke = 0; ke < 8; ke++)
|
|
10232
|
-
for (var
|
|
10233
|
-
u[fe] = 1 / (s[P[fe]] * R[ke] * R[
|
|
10232
|
+
for (var Oe = 0; Oe < 8; Oe++)
|
|
10233
|
+
u[fe] = 1 / (s[P[fe]] * R[ke] * R[Oe] * 8), l[fe] = 1 / (o[P[fe]] * R[ke] * R[Oe] * 8), fe++;
|
|
10234
10234
|
}(F < 50 ? Math.floor(5e3 / F) : Math.floor(200 - 2 * F)), a = F);
|
|
10235
10235
|
}
|
|
10236
10236
|
this.encode = function(F, E) {
|
|
@@ -10267,10 +10267,10 @@ function hh(e) {
|
|
|
10267
10267
|
}(), be(65498), be(12), we(3), we(1), we(0), we(2), we(17), we(3), we(17), we(0), we(63), we(0);
|
|
10268
10268
|
var x = 0, B = 0, _ = 0;
|
|
10269
10269
|
h = 0, C = 7, this.encode.displayName = "_encode_";
|
|
10270
|
-
for (var H, k, Y, R, fe, ke,
|
|
10270
|
+
for (var H, k, Y, R, fe, ke, Oe, We, Te, ae = F.data, Ke = F.width, Ye = F.height, He = 4 * Ke, et = 0; et < Ye; ) {
|
|
10271
10271
|
for (H = 0; H < He; ) {
|
|
10272
|
-
for (fe = He * et + H,
|
|
10273
|
-
ke = fe + (We = Te >> 3) * He + (
|
|
10272
|
+
for (fe = He * et + H, Oe = -1, We = 0, Te = 0; Te < 64; Te++)
|
|
10273
|
+
ke = fe + (We = Te >> 3) * He + (Oe = 4 * (7 & Te)), et + We >= Ye && (ke -= He * (et + 1 + We - Ye)), H + Oe >= He && (ke -= H + Oe - He + 4), k = ae[ke++], Y = ae[ke++], R = ae[ke++], b[Te] = (Z[k] + Z[Y + 256 >> 0] + Z[R + 512 >> 0] >> 16) - 128, M[Te] = (Z[k + 768 >> 0] + Z[Y + 1024 >> 0] + Z[R + 1280 >> 0] >> 16) - 128, W[Te] = (Z[k + 1280 >> 0] + Z[Y + 1536 >> 0] + Z[R + 1792 >> 0] >> 16) - 128;
|
|
10274
10274
|
x = Ce(b, u, x, t, r), B = Ce(M, l, B, A, n), _ = Ce(W, l, _, A, n), H += 32;
|
|
10275
10275
|
}
|
|
10276
10276
|
et += 8;
|
|
@@ -10480,7 +10480,7 @@ function k1(e) {
|
|
|
10480
10480
|
function ke(c, d) {
|
|
10481
10481
|
return fe(c, d) | c[d + 2] << 16;
|
|
10482
10482
|
}
|
|
10483
|
-
function
|
|
10483
|
+
function Oe(c, d) {
|
|
10484
10484
|
return fe(c, d) | fe(c, d + 2) << 16;
|
|
10485
10485
|
}
|
|
10486
10486
|
function We(c, d) {
|
|
@@ -11877,7 +11877,7 @@ function k1(e) {
|
|
|
11877
11877
|
function Fe() {
|
|
11878
11878
|
Va = v, ds = D, zl = ue, Df = ge;
|
|
11879
11879
|
}
|
|
11880
|
-
function
|
|
11880
|
+
function De(c, d, m) {
|
|
11881
11881
|
I[c] = function(S, N, V, z, j, q, re, pe, Se, Ue, xe, ze, Ne, ve, me, Ve, qe) {
|
|
11882
11882
|
var Ge, dt = qe - 1 >> 1, at = j[q + 0] | re[pe + 0] << 16, xt = Se[Ue + 0] | xe[ze + 0] << 16;
|
|
11883
11883
|
t(S != null);
|
|
@@ -11994,7 +11994,7 @@ function k1(e) {
|
|
|
11994
11994
|
ve = 3;
|
|
11995
11995
|
break e;
|
|
11996
11996
|
}
|
|
11997
|
-
var me =
|
|
11997
|
+
var me = Oe(c, ze[0] + 4);
|
|
11998
11998
|
if (12 > me || 4294967286 < me) {
|
|
11999
11999
|
ve = 3;
|
|
12000
12000
|
break e;
|
|
@@ -12018,7 +12018,7 @@ function k1(e) {
|
|
|
12018
12018
|
ve = 7;
|
|
12019
12019
|
else {
|
|
12020
12020
|
if (!A(Ve, Ne[0], "VP8X")) {
|
|
12021
|
-
if (
|
|
12021
|
+
if (Oe(Ve, Ne[0] + 4) != 10) {
|
|
12022
12022
|
ve = 3;
|
|
12023
12023
|
break e;
|
|
12024
12024
|
}
|
|
@@ -12026,7 +12026,7 @@ function k1(e) {
|
|
|
12026
12026
|
ve = 7;
|
|
12027
12027
|
break e;
|
|
12028
12028
|
}
|
|
12029
|
-
var at =
|
|
12029
|
+
var at = Oe(Ve, Ne[0] + 8), xt = 1 + ke(Ve, Ne[0] + 12);
|
|
12030
12030
|
if (2147483648 <= xt * (Ve = 1 + ke(Ve, Ne[0] + 15))) {
|
|
12031
12031
|
ve = 3;
|
|
12032
12032
|
break e;
|
|
@@ -12060,7 +12060,7 @@ function k1(e) {
|
|
|
12060
12060
|
ve = 7;
|
|
12061
12061
|
break e;
|
|
12062
12062
|
}
|
|
12063
|
-
var tA =
|
|
12063
|
+
var tA = Oe(at, Ve + 4);
|
|
12064
12064
|
if (4294967286 < tA) {
|
|
12065
12065
|
ve = 3;
|
|
12066
12066
|
break e;
|
|
@@ -12090,7 +12090,7 @@ function k1(e) {
|
|
|
12090
12090
|
ve = 7;
|
|
12091
12091
|
else {
|
|
12092
12092
|
if (Ve || xt) {
|
|
12093
|
-
if (st =
|
|
12093
|
+
if (st = Oe(st, at + 4), 12 <= qe && st > qe - 12) {
|
|
12094
12094
|
ve = 3;
|
|
12095
12095
|
break e;
|
|
12096
12096
|
}
|
|
@@ -12242,7 +12242,7 @@ function k1(e) {
|
|
|
12242
12242
|
var Gl, Qn = I.ColorIndexInverseTransform, xo = I.MapARGB, w0 = I.VP8LColorIndexInverseTransformAlpha, B0 = I.MapAlpha, Ha = I.VP8LPredictorsAdd = [];
|
|
12243
12243
|
Ha.length = 16, (I.VP8LPredictors = []).length = 16, (I.VP8LPredictorsAdd_C = []).length = 16, (I.VP8LPredictors_C = []).length = 16;
|
|
12244
12244
|
var hn, Ln, Pa, Jn, ga, cs, Tn, hs, bo, Ra, kn, pa, Fi, fs, _i, Ka, Co, fn, va, pA, vA, kA, YA, wa, Va, ds, zl, Df, Of = a(511), Mf = a(2041), Hf = a(225), Pf = a(767), Rf = 0, m0 = Mf, jl = Hf, Zr = Pf, dn = Of, Wl = 0, Xl = 1, Kf = 2, ql = 3, $l = 4, y0 = 5, Vf = 6, x0 = 7, b0 = 8, Yl = 9, C0 = 10, Fv = [2, 3, 7], _v = [3, 3, 11], Gf = [280, 256, 256, 256, 40], Ev = [0, 1, 1, 1, 0], Sv = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Uv = [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], Qv = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Lv = 8, F0 = [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], _0 = [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], Fo = null, Tv = [[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]], kv = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], zf = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], Iv = [[[[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]]]], Nv = [[[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]]], Dv = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 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]]]], Ov = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Ga = [], In = [], Ba = [], Mv = 1, jf = 2, za = [], gn = [];
|
|
12245
|
-
|
|
12245
|
+
De("UpsampleRgbLinePair", Gt, 3), De("UpsampleBgrLinePair", bA, 3), De("UpsampleRgbaLinePair", Un, 4), De("UpsampleBgraLinePair", er, 4), De("UpsampleArgbLinePair", Br, 4), De("UpsampleRgba4444LinePair", RA, 2), De("UpsampleRgb565LinePair", FA, 2);
|
|
12246
12246
|
var Hv = I.UpsampleRgbLinePair, Pv = I.UpsampleBgrLinePair, Wf = I.UpsampleRgbaLinePair, Xf = I.UpsampleBgraLinePair, qf = I.UpsampleArgbLinePair, $f = I.UpsampleRgba4444LinePair, Rv = I.UpsampleRgb565LinePair, Jl = 16, Zl = 1 << Jl - 1, _o = -227, E0 = 482, Yf = 6, Kv = (256 << Yf) - 1, Jf = 0, Vv = a(256), Gv = a(256), zv = a(256), jv = a(256), Wv = a(E0 - _o), Xv = a(E0 - _o);
|
|
12247
12247
|
da("YuvToRgbRow", Gt, 3), da("YuvToBgrRow", bA, 3), da("YuvToRgbaRow", Un, 4), da("YuvToBgraRow", er, 4), da("YuvToArgbRow", Br, 4), da("YuvToRgba4444Row", RA, 2), da("YuvToRgb565Row", FA, 2);
|
|
12248
12248
|
var Zf = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], eu = [0, 2, 8], qv = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], $v = 1;
|
|
@@ -12820,7 +12820,7 @@ function(e) {
|
|
|
12820
12820
|
*/
|
|
12821
12821
|
function(e) {
|
|
12822
12822
|
function t() {
|
|
12823
|
-
return (Ft.canvg ? Promise.resolve(Ft.canvg) : import("./index.es-
|
|
12823
|
+
return (Ft.canvg ? Promise.resolve(Ft.canvg) : import("./index.es-8bd8ee9c.js")).catch(function(A) {
|
|
12824
12824
|
return Promise.reject(new Error("Could not load canvg: " + A));
|
|
12825
12825
|
}).then(function(A) {
|
|
12826
12826
|
return A.default ? A.default : A;
|
|
@@ -13424,15 +13424,15 @@ var w4 = function(e) {
|
|
|
13424
13424
|
}
|
|
13425
13425
|
return e.encode = function(t, A) {
|
|
13426
13426
|
var r, n, a, i, s, o, u, l, g, p, f, y, w, h, C, b, M, W, ne, Z, P, I, K, oe, L, T, X, te, de, he, Be, we, be, Ce, Re, F, E, x, B, _, H, k, Y, R, fe, ke;
|
|
13427
|
-
switch (te = new fi(), i = Object.keys(t).sort(function(
|
|
13428
|
-
return
|
|
13427
|
+
switch (te = new fi(), i = Object.keys(t).sort(function(Oe, We) {
|
|
13428
|
+
return Oe - We;
|
|
13429
13429
|
}), A) {
|
|
13430
13430
|
case "macroman":
|
|
13431
13431
|
for (w = 0, h = function() {
|
|
13432
|
-
var
|
|
13432
|
+
var Oe = [];
|
|
13433
13433
|
for (y = 0; y < 256; ++y)
|
|
13434
|
-
|
|
13435
|
-
return
|
|
13434
|
+
Oe.push(0);
|
|
13435
|
+
return Oe;
|
|
13436
13436
|
}(), b = { 0: 0 }, a = {}, de = 0, be = i.length; de < be; de++)
|
|
13437
13437
|
b[Y = t[n = i[de]]] == null && (b[Y] = ++w), a[n] = { old: t[n], new: b[t[n]] }, h[n] = b[t[n]];
|
|
13438
13438
|
return te.writeUInt16(1), te.writeUInt16(0), te.writeUInt32(12), te.writeUInt16(0), te.writeUInt16(262), te.writeUInt16(0), te.write(h), { charMap: a, subtable: te.data, maxGlyphID: w + 1 };
|
|
@@ -15538,7 +15538,7 @@ var ob = /* @__PURE__ */ function() {
|
|
|
15538
15538
|
var J = R[G & 255];
|
|
15539
15539
|
return se <= 8 ? J >>> 8 - se : (J = J << 8 | R[G >> 8 & 255], se <= 16 ? J >>> 16 - se : (J = J << 8 | R[G >> 16 & 255], J >>> 24 - se));
|
|
15540
15540
|
}
|
|
15541
|
-
function
|
|
15541
|
+
function Oe(G, se) {
|
|
15542
15542
|
var J = se & 7, ee = se >>> 3;
|
|
15543
15543
|
return (G[ee] | (J <= 6 ? 0 : G[ee + 1] << 8)) >>> J & 3;
|
|
15544
15544
|
}
|
|
@@ -15737,7 +15737,7 @@ var ob = /* @__PURE__ */ function() {
|
|
|
15737
15737
|
for (_e = 1; _t.length < J + ee; )
|
|
15738
15738
|
switch (ct = Kt[Ke(G, se)], se += ct & 7, ct >>>= 3) {
|
|
15739
15739
|
case 16:
|
|
15740
|
-
for (le = 3 +
|
|
15740
|
+
for (le = 3 + Oe(G, se), se += 2, ct = _t[_t.length - 1]; le-- > 0; )
|
|
15741
15741
|
_t.push(ct);
|
|
15742
15742
|
break;
|
|
15743
15743
|
case 17:
|
|
@@ -19375,7 +19375,7 @@ var RC = /* @__PURE__ */ function() {
|
|
|
19375
19375
|
function A(F, E) {
|
|
19376
19376
|
if (!F)
|
|
19377
19377
|
return F;
|
|
19378
|
-
var x = E || {}, B = x.dense ? [] : {}, _ = "Sheet1", H = "", k = 0, Y = {}, R = [], fe = [], ke = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } },
|
|
19378
|
+
var x = E || {}, B = x.dense ? [] : {}, _ = "Sheet1", H = "", k = 0, Y = {}, R = [], fe = [], ke = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, Oe = x.sheetRows || 0;
|
|
19379
19379
|
if (F[2] == 0 && (F[3] == 8 || F[3] == 9) && F.length >= 16 && F[14] == 5 && F[15] === 108)
|
|
19380
19380
|
throw new Error("Unsupported Works 3 for Mac file");
|
|
19381
19381
|
if (F[2] == 2)
|
|
@@ -19423,7 +19423,7 @@ var RC = /* @__PURE__ */ function() {
|
|
|
19423
19423
|
case 37:
|
|
19424
19424
|
case 39:
|
|
19425
19425
|
case 40:
|
|
19426
|
-
if (Ke[3] > k && (B["!ref"] = WA(ke), Y[_] = B, R.push(_), B = x.dense ? [] : {}, ke = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, k = Ke[3], _ = "Sheet" + (k + 1)),
|
|
19426
|
+
if (Ke[3] > k && (B["!ref"] = WA(ke), Y[_] = B, R.push(_), B = x.dense ? [] : {}, ke = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, k = Ke[3], _ = "Sheet" + (k + 1)), Oe > 0 && Ke[0].r >= Oe)
|
|
19427
19427
|
break;
|
|
19428
19428
|
x.dense ? (B[Ke[0].r] || (B[Ke[0].r] = []), B[Ke[0].r][Ke[0].c] = Ke[1]) : B[sA(Ke[0])] = Ke[1], ke.e.c < Ke[0].c && (ke.e.c = Ke[0].c), ke.e.r < Ke[0].r && (ke.e.r = Ke[0].r);
|
|
19429
19429
|
break;
|
|
@@ -19452,7 +19452,7 @@ var RC = /* @__PURE__ */ function() {
|
|
|
19452
19452
|
for (var Y = Math.min(_.e.r, 8191), R = _.s.r; R <= Y; ++R)
|
|
19453
19453
|
for (var fe = gr(R), ke = _.s.c; ke <= _.e.c; ++ke) {
|
|
19454
19454
|
R === _.s.r && (k[ke] = Er(ke));
|
|
19455
|
-
var
|
|
19455
|
+
var Oe = k[ke] + fe, We = H ? (F[R] || [])[ke] : F[Oe];
|
|
19456
19456
|
if (!(!We || We.t == "z"))
|
|
19457
19457
|
if (We.t == "n")
|
|
19458
19458
|
(We.v | 0) == We.v && We.v >= -32768 && We.v <= 32767 ? nt(B, 13, f(R, ke, We.v)) : nt(B, 14, w(R, ke, We.v));
|
|
@@ -19475,7 +19475,7 @@ var RC = /* @__PURE__ */ function() {
|
|
|
19475
19475
|
for (_ = 0; _ < F.SheetNames.length; ++_) {
|
|
19476
19476
|
var Y = F.Sheets[F.SheetNames[_]];
|
|
19477
19477
|
if (!(!Y || !Y["!ref"])) {
|
|
19478
|
-
for (var R = yA(Y["!ref"]), fe = Array.isArray(Y), ke = [],
|
|
19478
|
+
for (var R = yA(Y["!ref"]), fe = Array.isArray(Y), ke = [], Oe = Math.min(R.e.r, 8191), We = R.s.r; We <= Oe; ++We)
|
|
19479
19479
|
for (var Te = gr(We), ae = R.s.c; ae <= R.e.c; ++ae) {
|
|
19480
19480
|
We === R.s.r && (ke[ae] = Er(ae));
|
|
19481
19481
|
var Ke = ke[ae] + Te, Ye = fe ? (Y[We] || [])[ae] : Y[Ke];
|
|
@@ -19648,9 +19648,9 @@ var RC = /* @__PURE__ */ function() {
|
|
|
19648
19648
|
break;
|
|
19649
19649
|
case 6:
|
|
19650
19650
|
{
|
|
19651
|
-
for (var
|
|
19652
|
-
|
|
19653
|
-
x.push('"' +
|
|
19651
|
+
for (var Oe = ""; R = F[F.l++]; )
|
|
19652
|
+
Oe += String.fromCharCode(R);
|
|
19653
|
+
x.push('"' + Oe.replace(/"/g, '""') + '"');
|
|
19654
19654
|
}
|
|
19655
19655
|
break;
|
|
19656
19656
|
case 8:
|
|
@@ -29112,8 +29112,8 @@ function YS(e, t) {
|
|
|
29112
29112
|
{
|
|
29113
29113
|
k[3] = [];
|
|
29114
29114
|
var Y = [];
|
|
29115
|
-
i.forEach(function(ke,
|
|
29116
|
-
Y[1] = [{ type: 0, data: rA(
|
|
29115
|
+
i.forEach(function(ke, Oe) {
|
|
29116
|
+
Y[1] = [{ type: 0, data: rA(Oe) }], Y[2] = [{ type: 0, data: rA(1) }], Y[3] = [{ type: 2, data: jS(ke) }], k[3].push({ type: 2, data: lr(Y) });
|
|
29117
29117
|
});
|
|
29118
29118
|
}
|
|
29119
29119
|
B.messages[0].data = lr(k);
|
|
@@ -29144,7 +29144,7 @@ function YS(e, t) {
|
|
|
29144
29144
|
k[1] = [{ type: 0, data: rA(r.e.c + 1) }], k[2] = [{ type: 0, data: rA(r.e.r + 1) }], k[3] = [{ type: 0, data: rA(R) }], k[4] = [{ type: 0, data: rA(r.e.r + 1) }];
|
|
29145
29145
|
}
|
|
29146
29146
|
B.messages[0].data = lr(k);
|
|
29147
|
-
var
|
|
29147
|
+
var Oe = Ss(x), We = Us(Oe);
|
|
29148
29148
|
E.content = We, E.size = E.content.length;
|
|
29149
29149
|
})();
|
|
29150
29150
|
}
|
|
@@ -33208,9 +33208,9 @@ const BL = (e) => (Qc("data-v-2bfc0993"), e = e(), Lc(), e), mL = ["id"], yL = {
|
|
|
33208
33208
|
fe.name
|
|
33209
33209
|
], [Re.value.body[ke]], [isNaN(Re.value.body[ke] / he.value) ? "-" : Re.value.body[ke] / he.value * 100]]), x = [[h.value.style.chart.title.text], [h.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(E);
|
|
33210
33210
|
function B(fe) {
|
|
33211
|
-
let ke = new ArrayBuffer(fe.length),
|
|
33211
|
+
let ke = new ArrayBuffer(fe.length), Oe = new Uint8Array(ke);
|
|
33212
33212
|
for (let We = 0; We < fe.length; We++)
|
|
33213
|
-
|
|
33213
|
+
Oe[We] = fe.charCodeAt(We) & 255;
|
|
33214
33214
|
return ke;
|
|
33215
33215
|
}
|
|
33216
33216
|
const _ = HA.book_new(), H = HA.aoa_to_sheet(x);
|
|
@@ -33931,13 +33931,13 @@ const uT = (e) => (Qc("data-v-b5e5745f"), e = e(), Lc(), e), cT = ["id"], hT = {
|
|
|
33931
33931
|
}
|
|
33932
33932
|
function x() {
|
|
33933
33933
|
Ri(() => {
|
|
33934
|
-
const B = F.value.head.map((
|
|
33935
|
-
|
|
33934
|
+
const B = F.value.head.map((Oe, We) => [[
|
|
33935
|
+
Oe.name
|
|
33936
33936
|
], [F.value.body[We]], [isNaN(F.value.body[We] / Be.value) ? "-" : F.value.body[We] / Be.value * 100]]), _ = [[h.value.style.chart.title.text], [h.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(B);
|
|
33937
|
-
function H(
|
|
33938
|
-
let We = new ArrayBuffer(
|
|
33939
|
-
for (let ae = 0; ae <
|
|
33940
|
-
Te[ae] =
|
|
33937
|
+
function H(Oe) {
|
|
33938
|
+
let We = new ArrayBuffer(Oe.length), Te = new Uint8Array(We);
|
|
33939
|
+
for (let ae = 0; ae < Oe.length; ae++)
|
|
33940
|
+
Te[ae] = Oe.charCodeAt(ae) & 255;
|
|
33941
33941
|
return We;
|
|
33942
33942
|
}
|
|
33943
33943
|
const k = HA.book_new(), Y = HA.aoa_to_sheet(_);
|
|
@@ -34557,14 +34557,14 @@ const GT = ["id"], zT = { class: "vue-ui-radar-user-option-item" }, jT = ["id",
|
|
|
34557
34557
|
}
|
|
34558
34558
|
function Re() {
|
|
34559
34559
|
Ri(() => {
|
|
34560
|
-
const E = [[h.value.style.chart.title.text], [h.value.style.chart.title.subtitle.text], [""]], x = [[""], [h.value.translations.target], ...he.value.flatMap((
|
|
34560
|
+
const E = [[h.value.style.chart.title.text], [h.value.style.chart.title.subtitle.text], [""]], x = [[""], [h.value.translations.target], ...he.value.flatMap((Oe) => [[Oe.name], ["%"]])], B = r.dataset.series.map((Oe, We) => [Oe.name, Oe.target, ...Oe.values.flatMap((Te) => [
|
|
34561
34561
|
Te,
|
|
34562
|
-
isNaN(Te /
|
|
34562
|
+
isNaN(Te / Oe.target) ? "" : Te / Oe.target * 100
|
|
34563
34563
|
])]), _ = E.concat([x]).concat(B);
|
|
34564
|
-
function H(
|
|
34565
|
-
let We = new ArrayBuffer(
|
|
34566
|
-
for (let ae = 0; ae <
|
|
34567
|
-
Te[ae] =
|
|
34564
|
+
function H(Oe) {
|
|
34565
|
+
let We = new ArrayBuffer(Oe.length), Te = new Uint8Array(We);
|
|
34566
|
+
for (let ae = 0; ae < Oe.length; ae++)
|
|
34567
|
+
Te[ae] = Oe.charCodeAt(ae) & 255;
|
|
34568
34568
|
return We;
|
|
34569
34569
|
}
|
|
34570
34570
|
const k = HA.book_new(), Y = HA.aoa_to_sheet(_);
|
|
@@ -35389,8 +35389,8 @@ const Qk = ["id"], Lk = { class: "vue-ui-quadrant-user-option-item" }, Tk = ["id
|
|
|
35389
35389
|
}
|
|
35390
35390
|
const Y = HA.book_new(), R = HA.aoa_to_sheet(H);
|
|
35391
35391
|
HA.book_append_sheet(Y, R, "Sheet1");
|
|
35392
|
-
const fe = Bi(Y, { bookType: "xlsx", type: "binary" }), ke = new Blob([k(fe)], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }),
|
|
35393
|
-
|
|
35392
|
+
const fe = Bi(Y, { bookType: "xlsx", type: "binary" }), ke = new Blob([k(fe)], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), Oe = document.createElement("a");
|
|
35393
|
+
Oe.href = window.URL.createObjectURL(ke), Oe.download = `${h.value.style.chart.title.text.replaceAll(" ", "_") || "vue-ui-radar"}.xlsx`, Oe.click(), window.URL.revokeObjectURL(Oe.href);
|
|
35394
35394
|
});
|
|
35395
35395
|
}
|
|
35396
35396
|
return (x, B) => (U(), Q("div", {
|
|
@@ -36362,9 +36362,9 @@ const WI = ["id"], XI = { class: "vue-ui-gauge-user-option-item" }, qI = ["id",
|
|
|
36362
36362
|
], 12, WI));
|
|
36363
36363
|
}
|
|
36364
36364
|
}, BD = /* @__PURE__ */ mi(CN, [["__scopeId", "data-v-86d647d0"]]);
|
|
36365
|
-
const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id", "name"], SN = ["for"], UN = ["disabled"], QN = ["stroke"], LN = /* @__PURE__ */ vi('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-
|
|
36365
|
+
const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id", "name"], SN = ["for"], UN = ["disabled"], QN = ["stroke"], LN = /* @__PURE__ */ vi('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-aa6462dc></path><path d="M18 16v.01" data-v-aa6462dc></path><path d="M6 16v.01" data-v-aa6462dc></path><path d="M12 5v.01" data-v-aa6462dc></path><path d="M12 12v.01" data-v-aa6462dc></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-aa6462dc></path>', 6), TN = [
|
|
36366
36366
|
LN
|
|
36367
|
-
], kN = { key: 1 }, IN = ["viewBox"], NN = { key: 0 }, DN = ["fill", "font-weight", "font-size", "x", "y"], ON = ["fill", "font-weight", "font-size", "x", "y"], MN = ["id"], HN = ["stop-color"], PN = ["stop-color"], RN = ["id"], KN = ["stop-color"], VN = ["stop-color"], GN = ["id"], zN = ["stop-color"], jN = ["stop-color"], WN = ["stop-color"], XN = ["id"], qN = ["stop-color"], $N = ["stop-color"], YN = ["stop-color"], JN = ["id"], ZN = ["stop-color"], e7 = ["stop-color"], t7 = ["stop-color"], A7 = { key: 1 }, r7 = ["x", "y", "font-size", "font-weight", "fill"], n7 = ["x", "y", "font-size", "font-weight", "fill"], a7 = ["d", "stroke"], i7 = ["cx", "cy", "r", "fill"], s7 = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], o7 = { key: 2 }, l7 = ["x", "y", "font-size", "fill", "onClick"], u7 = { key: 0 }, c7 = ["x", "y", "fill", "font-size", "font-weight"], h7 = ["x", "y", "height", "width", "fill", "rx", "onClick"], f7 = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], d7 = { key: 3 }, g7 = ["x", "y", "fill", "font-size", "onClick"], p7 = ["d", "stroke"], v7 = ["cx", "cy", "fill", "onClick"], w7 = ["fill", "cx", "cy", "r", "onClick"], B7 = { key: 4 }, m7 = ["x", "y", "font-size", "font-weight"], y7 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], x7 = ["y", "height", "width"], b7 = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, C7 = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, F7 = {
|
|
36367
|
+
], kN = { key: 1 }, IN = ["viewBox"], NN = { key: 0 }, DN = ["fill", "font-weight", "font-size", "x", "y"], ON = ["fill", "font-weight", "font-size", "x", "y"], MN = ["id"], HN = ["stop-color"], PN = ["stop-color"], RN = ["id"], KN = ["stop-color"], VN = ["stop-color"], GN = ["id"], zN = ["stop-color"], jN = ["stop-color"], WN = ["stop-color"], XN = ["id"], qN = ["stop-color"], $N = ["stop-color"], YN = ["stop-color"], JN = ["id"], ZN = ["stop-color"], e7 = ["stop-color"], t7 = ["stop-color"], A7 = { key: 1 }, r7 = ["x", "y", "font-size", "font-weight", "fill"], n7 = ["x", "y", "font-size", "font-weight", "fill"], a7 = ["d", "stroke"], i7 = ["cx", "cy", "r", "fill"], s7 = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], o7 = { key: 2 }, l7 = ["x", "y", "font-size", "fill", "onClick"], u7 = { key: 0 }, c7 = ["x", "y", "fill", "font-size", "font-weight"], h7 = ["x", "y", "height", "width", "fill", "rx", "onClick"], f7 = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], d7 = { key: 3 }, g7 = ["x", "y", "fill", "font-size", "onClick"], p7 = ["d", "stroke"], v7 = ["cx", "cy", "fill", "onClick"], w7 = ["fill", "cx", "cy", "r", "onClick"], B7 = { key: 4 }, m7 = ["x", "y", "font-size", "font-weight", "fill"], y7 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], x7 = ["y", "height", "width"], b7 = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, C7 = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, F7 = {
|
|
36368
36368
|
viewBox: "0 0 20 20",
|
|
36369
36369
|
height: "16",
|
|
36370
36370
|
width: "16"
|
|
@@ -36628,7 +36628,7 @@ const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id
|
|
|
36628
36628
|
id: fe.id || `branch_${Y}_${ke}_${A.value}`,
|
|
36629
36629
|
proportionToRoot: fe.value / R,
|
|
36630
36630
|
type: "branch",
|
|
36631
|
-
breakdown: fe.breakdown.map((
|
|
36631
|
+
breakdown: fe.breakdown.map((Oe, We) => ({
|
|
36632
36632
|
table: {
|
|
36633
36633
|
rootName: k.name,
|
|
36634
36634
|
rootValue: R,
|
|
@@ -36637,24 +36637,24 @@ const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id
|
|
|
36637
36637
|
branchValue: fe.value,
|
|
36638
36638
|
branchToTotal: fe.value / y.value,
|
|
36639
36639
|
branchToRoot: fe.value / R,
|
|
36640
|
-
nutName:
|
|
36641
|
-
nutValue:
|
|
36642
|
-
nutToTotal:
|
|
36643
|
-
nutToRoot:
|
|
36644
|
-
nutToBranch:
|
|
36640
|
+
nutName: Oe.name,
|
|
36641
|
+
nutValue: Oe.value,
|
|
36642
|
+
nutToTotal: Oe.value / y.value,
|
|
36643
|
+
nutToRoot: Oe.value / R,
|
|
36644
|
+
nutToBranch: Oe.value / fe.value
|
|
36645
36645
|
},
|
|
36646
|
-
...
|
|
36646
|
+
...Oe,
|
|
36647
36647
|
type: "nut",
|
|
36648
36648
|
branchName: fe.name,
|
|
36649
36649
|
rootName: k.name,
|
|
36650
36650
|
branchTotal: fe.value >= 0 ? fe.value : 0,
|
|
36651
|
-
proportionToBranch:
|
|
36652
|
-
proportionToRoot:
|
|
36653
|
-
proportionToTree:
|
|
36651
|
+
proportionToBranch: Oe.value / fe.value,
|
|
36652
|
+
proportionToRoot: Oe.value / R,
|
|
36653
|
+
proportionToTree: Oe.value / y.value,
|
|
36654
36654
|
rootIndex: Y,
|
|
36655
|
-
id:
|
|
36656
|
-
color:
|
|
36657
|
-
value:
|
|
36655
|
+
id: Oe.id || `nut_${Y}_${ke}_${We}_${A.value}`,
|
|
36656
|
+
color: Oe.color || Vt[We] || Vt[We % Vt.length],
|
|
36657
|
+
value: Oe.value >= 0 ? Oe.value : 0
|
|
36658
36658
|
}))
|
|
36659
36659
|
}))
|
|
36660
36660
|
};
|
|
@@ -36749,7 +36749,7 @@ const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id
|
|
|
36749
36749
|
l.value.table.th.translations.nutToBranch,
|
|
36750
36750
|
l.value.table.th.translations.nutToRoot,
|
|
36751
36751
|
l.value.table.th.translations.nutToTotal
|
|
36752
|
-
], Y = w.value.flatMap((R, fe) => R.branches.flatMap((ke,
|
|
36752
|
+
], Y = w.value.flatMap((R, fe) => R.branches.flatMap((ke, Oe) => ke.breakdown.flatMap((We, Te) => We.table)));
|
|
36753
36753
|
return { head: k, body: Y };
|
|
36754
36754
|
});
|
|
36755
36755
|
function _() {
|
|
@@ -36774,9 +36774,9 @@ const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id
|
|
|
36774
36774
|
et[rt] = Ye.charCodeAt(rt) & 255;
|
|
36775
36775
|
return He;
|
|
36776
36776
|
}
|
|
36777
|
-
const
|
|
36778
|
-
HA.book_append_sheet(
|
|
36779
|
-
const Te = Bi(
|
|
36777
|
+
const Oe = HA.book_new(), We = HA.aoa_to_sheet(fe);
|
|
36778
|
+
HA.book_append_sheet(Oe, We, "Sheet1");
|
|
36779
|
+
const Te = Bi(Oe, { bookType: "xlsx", type: "binary" }), ae = new Blob([ke(Te)], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), Ke = document.createElement("a");
|
|
36780
36780
|
Ke.href = window.URL.createObjectURL(ae), Ke.download = `${l.value.style.chart.layout.title.text.replaceAll(" ", "_") || "vue-ui-chestnut"}.xlsx`, Ke.click(), window.URL.revokeObjectURL(Ke.href);
|
|
36781
36781
|
});
|
|
36782
36782
|
}
|
|
@@ -37004,7 +37004,7 @@ const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id
|
|
|
37004
37004
|
"stroke-width": "2",
|
|
37005
37005
|
"shape-rendering": "cirspEdges",
|
|
37006
37006
|
style: ce(`opacity:${te(R) ? 1 : 0}`),
|
|
37007
|
-
onClick:
|
|
37007
|
+
onClick: X
|
|
37008
37008
|
}, null, 12, a7))), 256))
|
|
37009
37009
|
]))), 256)),
|
|
37010
37010
|
(U(!0), Q(Pe, null, je(W.value, (R) => (U(), Q("circle", {
|
|
@@ -37033,8 +37033,6 @@ const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id
|
|
|
37033
37033
|
"font-size": l.value.style.chart.layout.roots.labels.fontSize,
|
|
37034
37034
|
fill: l.value.style.chart.layout.roots.labels.adaptColorToBackground ? Wt(bg)(R.color) : l.value.style.chart.layout.roots.labels.color,
|
|
37035
37035
|
"font-weight": "bold",
|
|
37036
|
-
stroke: "black",
|
|
37037
|
-
"stroke-width": "0.3",
|
|
37038
37036
|
style: ce(`cursor:pointer; opacity:${te(R) ? 1 : 0.05}`),
|
|
37039
37037
|
onClick: (fe) => we(R)
|
|
37040
37038
|
}, Ae(l.value.style.chart.layout.roots.labels.prefix) + " " + Ae(R.total.toFixed(l.value.style.chart.layout.roots.labels.roundingValue)) + " " + Ae(l.value.style.chart.layout.roots.labels.suffix), 13, l7))), 256)),
|
|
@@ -37085,8 +37083,6 @@ const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id
|
|
|
37085
37083
|
fill: Wt(bg)(R.color),
|
|
37086
37084
|
"font-size": l.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
37087
37085
|
"font-weight": "bold",
|
|
37088
|
-
stroke: "black",
|
|
37089
|
-
"stroke-width": "0.3",
|
|
37090
37086
|
style: ce(`cursor:pointer; opacity:${te(R) ? 1 : 0.05}`),
|
|
37091
37087
|
onClick: (fe) => Be(R)
|
|
37092
37088
|
}, Ae(l.value.style.chart.layout.branches.labels.dataLabels.prefix) + " " + Ae(R.value.toFixed(l.value.style.chart.layout.branches.labels.dataLabels.roundingValue)) + " " + Ae(l.value.style.chart.layout.branches.labels.dataLabels.suffix), 13, g7)) : ye("", !0)
|
|
@@ -37129,6 +37125,7 @@ const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id
|
|
|
37129
37125
|
y: R.y1 + p.value.branchSize / 2 + 5,
|
|
37130
37126
|
"font-size": l.value.style.chart.layout.branches.labels.fontSize,
|
|
37131
37127
|
"font-weight": l.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
|
|
37128
|
+
fill: l.value.style.chart.layout.branches.labels.color,
|
|
37132
37129
|
"text-anchor": "start",
|
|
37133
37130
|
style: ce(`opacity:${te(R) ? 1 : 0.1}`)
|
|
37134
37131
|
}, Ae(R.name), 13, m7))), 256))
|
|
@@ -37444,7 +37441,7 @@ const FN = ["id"], _N = { class: "vue-ui-chestnut-user-option-item" }, EN = ["id
|
|
|
37444
37441
|
])) : ye("", !0)
|
|
37445
37442
|
], 12, FN));
|
|
37446
37443
|
}
|
|
37447
|
-
}, mD = /* @__PURE__ */ mi(cD, [["__scopeId", "data-v-
|
|
37444
|
+
}, mD = /* @__PURE__ */ mi(cD, [["__scopeId", "data-v-aa6462dc"]]);
|
|
37448
37445
|
export {
|
|
37449
37446
|
aA as _,
|
|
37450
37447
|
dD as a,
|