vue-data-ui 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as fA, createElementBlock as uA, normalizeStyle as
|
|
1
|
+
import { openBlock as fA, createElementBlock as uA, normalizeStyle as ue, createElementVNode as yA, toDisplayString as IA, createCommentVNode as ce, withDirectives as Yn, vModelCheckbox as zl, Fragment as ve, renderList as Te, normalizeClass as it, createTextVNode as wr, pushScopeId as eg, popScopeId as tg, createStaticVNode as rg, vModelText as go, withKeys as po, withModifiers as wo, vModelSelect as Kw } from "vue";
|
|
2
2
|
/*!
|
|
3
3
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
4
4
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
@@ -26,7 +26,7 @@ var eu = function(A, e) {
|
|
|
26
26
|
Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n]);
|
|
27
27
|
}, eu(A, e);
|
|
28
28
|
};
|
|
29
|
-
function
|
|
29
|
+
function kn(A, e) {
|
|
30
30
|
if (typeof e != "function" && e !== null)
|
|
31
31
|
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
32
32
|
eu(A, e);
|
|
@@ -1221,7 +1221,7 @@ var g1 = function(A, e) {
|
|
|
1221
1221
|
}, kv = function(A, e, t) {
|
|
1222
1222
|
var r = typeof A == "number" ? A : Dv(A, e, t), n = Math.abs(e * Math.sin(r)) + Math.abs(t * Math.cos(r)), i = e / 2, a = t / 2, s = n / 2, o = Math.sin(r - Math.PI / 2) * s, l = Math.cos(r - Math.PI / 2) * s;
|
|
1223
1223
|
return [n, i - l, i + l, a - o, a + o];
|
|
1224
|
-
},
|
|
1224
|
+
}, Ln = function(A, e) {
|
|
1225
1225
|
return Math.sqrt(A * A + e * e);
|
|
1226
1226
|
}, w1 = function(A, e, t, r, n) {
|
|
1227
1227
|
var i = [
|
|
@@ -1231,7 +1231,7 @@ var g1 = function(A, e) {
|
|
|
1231
1231
|
[A, e]
|
|
1232
1232
|
];
|
|
1233
1233
|
return i.reduce(function(a, s) {
|
|
1234
|
-
var o = s[0], l = s[1], f =
|
|
1234
|
+
var o = s[0], l = s[1], f = Ln(t - o, r - l);
|
|
1235
1235
|
return (n ? f < a.optimumDistance : f > a.optimumDistance) ? {
|
|
1236
1236
|
optimumCorner: s,
|
|
1237
1237
|
optimumDistance: f
|
|
@@ -1248,10 +1248,10 @@ var g1 = function(A, e) {
|
|
|
1248
1248
|
break;
|
|
1249
1249
|
case 2:
|
|
1250
1250
|
if (A.shape === 0)
|
|
1251
|
-
i = a = Math.min(
|
|
1251
|
+
i = a = Math.min(Ln(e, t), Ln(e, t - n), Ln(e - r, t), Ln(e - r, t - n));
|
|
1252
1252
|
else if (A.shape === 1) {
|
|
1253
1253
|
var s = Math.min(Math.abs(t), Math.abs(t - n)) / Math.min(Math.abs(e), Math.abs(e - r)), o = w1(r, n, e, t, !0), l = o[0], f = o[1];
|
|
1254
|
-
i =
|
|
1254
|
+
i = Ln(l - e, (f - t) / s), a = s * i;
|
|
1255
1255
|
}
|
|
1256
1256
|
break;
|
|
1257
1257
|
case 1:
|
|
@@ -1259,10 +1259,10 @@ var g1 = function(A, e) {
|
|
|
1259
1259
|
break;
|
|
1260
1260
|
case 3:
|
|
1261
1261
|
if (A.shape === 0)
|
|
1262
|
-
i = a = Math.max(
|
|
1262
|
+
i = a = Math.max(Ln(e, t), Ln(e, t - n), Ln(e - r, t), Ln(e - r, t - n));
|
|
1263
1263
|
else if (A.shape === 1) {
|
|
1264
1264
|
var s = Math.max(Math.abs(t), Math.abs(t - n)) / Math.max(Math.abs(e), Math.abs(e - r)), d = w1(r, n, e, t, !1), l = d[0], f = d[1];
|
|
1265
|
-
i =
|
|
1265
|
+
i = Ln(l - e, (f - t) / s), a = s * i;
|
|
1266
1266
|
}
|
|
1267
1267
|
break;
|
|
1268
1268
|
}
|
|
@@ -2879,7 +2879,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
|
|
|
2879
2879
|
}, Hg = (
|
|
2880
2880
|
/** @class */
|
|
2881
2881
|
function(A) {
|
|
2882
|
-
|
|
2882
|
+
kn(e, A);
|
|
2883
2883
|
function e(t, r) {
|
|
2884
2884
|
var n = A.call(this, t, r) || this;
|
|
2885
2885
|
return n.src = r.currentSrc || r.src, n.intrinsicWidth = r.naturalWidth, n.intrinsicHeight = r.naturalHeight, n.context.cache.addImage(n.src), n;
|
|
@@ -2889,7 +2889,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
|
|
|
2889
2889
|
), Pg = (
|
|
2890
2890
|
/** @class */
|
|
2891
2891
|
function(A) {
|
|
2892
|
-
|
|
2892
|
+
kn(e, A);
|
|
2893
2893
|
function e(t, r) {
|
|
2894
2894
|
var n = A.call(this, t, r) || this;
|
|
2895
2895
|
return n.canvas = r, n.intrinsicWidth = r.width, n.intrinsicHeight = r.height, n;
|
|
@@ -2899,7 +2899,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
|
|
|
2899
2899
|
), Mg = (
|
|
2900
2900
|
/** @class */
|
|
2901
2901
|
function(A) {
|
|
2902
|
-
|
|
2902
|
+
kn(e, A);
|
|
2903
2903
|
function e(t, r) {
|
|
2904
2904
|
var n = A.call(this, t, r) || this, i = new XMLSerializer(), a = fc(t, r);
|
|
2905
2905
|
return r.setAttribute("width", a.width + "px"), r.setAttribute("height", a.height + "px"), n.svg = "data:image/svg+xml," + encodeURIComponent(i.serializeToString(r)), n.intrinsicWidth = r.width.baseVal.value, n.intrinsicHeight = r.height.baseVal.value, n.context.cache.addImage(n.svg), n;
|
|
@@ -2909,7 +2909,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
|
|
|
2909
2909
|
), Rg = (
|
|
2910
2910
|
/** @class */
|
|
2911
2911
|
function(A) {
|
|
2912
|
-
|
|
2912
|
+
kn(e, A);
|
|
2913
2913
|
function e(t, r) {
|
|
2914
2914
|
var n = A.call(this, t, r) || this;
|
|
2915
2915
|
return n.value = r.value, n;
|
|
@@ -2919,7 +2919,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
|
|
|
2919
2919
|
), Bu = (
|
|
2920
2920
|
/** @class */
|
|
2921
2921
|
function(A) {
|
|
2922
|
-
|
|
2922
|
+
kn(e, A);
|
|
2923
2923
|
function e(t, r) {
|
|
2924
2924
|
var n = A.call(this, t, r) || this;
|
|
2925
2925
|
return n.start = r.start, n.reversed = typeof r.reversed == "boolean" && r.reversed === !0, n;
|
|
@@ -2947,7 +2947,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
|
|
|
2947
2947
|
}, K0 = "checkbox", V0 = "radio", ax = "password", D1 = 707406591, Gu = (
|
|
2948
2948
|
/** @class */
|
|
2949
2949
|
function(A) {
|
|
2950
|
-
|
|
2950
|
+
kn(e, A);
|
|
2951
2951
|
function e(t, r) {
|
|
2952
2952
|
var n = A.call(this, t, r) || this;
|
|
2953
2953
|
switch (n.type = r.type.toLowerCase(), n.checked = r.checked, n.value = ix(r), (n.type === K0 || n.type === V0) && (n.styles.backgroundColor = 3739148031, n.styles.borderTopColor = n.styles.borderRightColor = n.styles.borderBottomColor = n.styles.borderLeftColor = 2779096575, n.styles.borderTopWidth = n.styles.borderRightWidth = n.styles.borderBottomWidth = n.styles.borderLeftWidth = 1, n.styles.borderTopStyle = n.styles.borderRightStyle = n.styles.borderBottomStyle = n.styles.borderLeftStyle = 1, n.styles.backgroundClip = [
|
|
@@ -2971,7 +2971,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
|
|
|
2971
2971
|
), Kg = (
|
|
2972
2972
|
/** @class */
|
|
2973
2973
|
function(A) {
|
|
2974
|
-
|
|
2974
|
+
kn(e, A);
|
|
2975
2975
|
function e(t, r) {
|
|
2976
2976
|
var n = A.call(this, t, r) || this, i = r.options[r.selectedIndex || 0];
|
|
2977
2977
|
return n.value = i && i.text || "", n;
|
|
@@ -2981,7 +2981,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
|
|
|
2981
2981
|
), Vg = (
|
|
2982
2982
|
/** @class */
|
|
2983
2983
|
function(A) {
|
|
2984
|
-
|
|
2984
|
+
kn(e, A);
|
|
2985
2985
|
function e(t, r) {
|
|
2986
2986
|
var n = A.call(this, t, r) || this;
|
|
2987
2987
|
return n.value = r.value, n;
|
|
@@ -2991,7 +2991,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
|
|
|
2991
2991
|
), Gg = (
|
|
2992
2992
|
/** @class */
|
|
2993
2993
|
function(A) {
|
|
2994
|
-
|
|
2994
|
+
kn(e, A);
|
|
2995
2995
|
function e(t, r) {
|
|
2996
2996
|
var n = A.call(this, t, r) || this;
|
|
2997
2997
|
n.src = r.src, n.width = parseInt(r.width, 10) || 0, n.height = parseInt(r.height, 10) || 0, n.backgroundColor = n.styles.backgroundColor;
|
|
@@ -4240,7 +4240,7 @@ var Bt = function(A, e, t, r, n) {
|
|
|
4240
4240
|
), A4 = 1e4, e4 = (
|
|
4241
4241
|
/** @class */
|
|
4242
4242
|
function(A) {
|
|
4243
|
-
|
|
4243
|
+
kn(e, A);
|
|
4244
4244
|
function e(t, r) {
|
|
4245
4245
|
var n = A.call(this, t, r) || this;
|
|
4246
4246
|
return n._activeEffects = [], n.canvas = r.canvas ? r.canvas : document.createElement("canvas"), n.ctx = n.canvas.getContext("2d"), r.canvas || (n.canvas.width = Math.floor(r.width * r.scale), n.canvas.height = Math.floor(r.height * r.scale), n.canvas.style.width = r.width + "px", n.canvas.style.height = r.height + "px"), n.fontMetrics = new $x(document), n.ctx.scale(n.options.scale, n.options.scale), n.ctx.translate(-r.x, -r.y), n.ctx.textBaseline = "bottom", n._activeEffects = [], n.context.logger.debug("Canvas renderer initialized (" + r.width + "x" + r.height + ") with scale " + r.scale), n;
|
|
@@ -4762,7 +4762,7 @@ var Bt = function(A, e, t, r, n) {
|
|
|
4762
4762
|
}, s4 = (
|
|
4763
4763
|
/** @class */
|
|
4764
4764
|
function(A) {
|
|
4765
|
-
|
|
4765
|
+
kn(e, A);
|
|
4766
4766
|
function e(t, r) {
|
|
4767
4767
|
var n = A.call(this, t, r) || this;
|
|
4768
4768
|
return n.canvas = r.canvas ? r.canvas : document.createElement("canvas"), n.ctx = n.canvas.getContext("2d"), n.options = r, n.canvas.width = Math.floor(r.width * r.scale), n.canvas.height = Math.floor(r.height * r.scale), n.canvas.style.width = r.width + "px", n.canvas.style.height = r.height + "px", n.ctx.scale(n.options.scale, n.options.scale), n.ctx.translate(-r.x, -r.y), n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized (" + r.width + "x" + r.height + " at " + r.x + "," + r.y + ") with scale " + r.scale), n;
|
|
@@ -5011,7 +5011,7 @@ var g4 = /* @__PURE__ */ Zn(na, 9, 0), p4 = /* @__PURE__ */ Zn(na, 9, 1), w4 = /
|
|
|
5011
5011
|
for (var e = A[0], t = 1; t < A.length; ++t)
|
|
5012
5012
|
A[t] > e && (e = A[t]);
|
|
5013
5013
|
return e;
|
|
5014
|
-
},
|
|
5014
|
+
}, Sn = function(A, e, t) {
|
|
5015
5015
|
var r = e / 8 >> 0;
|
|
5016
5016
|
return (A[r] | A[r + 1] << 8) >>> (e & 7) & t;
|
|
5017
5017
|
}, Pf = function(A, e) {
|
|
@@ -5035,29 +5035,29 @@ var g4 = /* @__PURE__ */ Zn(na, 9, 0), p4 = /* @__PURE__ */ Zn(na, 9, 1), w4 = /
|
|
|
5035
5035
|
}, s = t.f || 0, o = t.p || 0, l = t.b || 0, f = t.l, d = t.d, g = t.m, h = t.n, v = r * 8;
|
|
5036
5036
|
do {
|
|
5037
5037
|
if (!f) {
|
|
5038
|
-
t.f = s =
|
|
5039
|
-
var w =
|
|
5038
|
+
t.f = s = Sn(A, o, 1);
|
|
5039
|
+
var w = Sn(A, o + 1, 3);
|
|
5040
5040
|
if (o += 3, w)
|
|
5041
5041
|
if (w == 1)
|
|
5042
5042
|
f = p4, d = B4, g = 9, h = 5;
|
|
5043
5043
|
else if (w == 2) {
|
|
5044
|
-
var N =
|
|
5044
|
+
var N = Sn(A, o, 31) + 257, M = Sn(A, o + 10, 15) + 4, AA = N + Sn(A, o + 5, 31) + 1;
|
|
5045
5045
|
o += 14;
|
|
5046
5046
|
for (var eA = new Er(AA), H = new Er(19), k = 0; k < M; ++k)
|
|
5047
|
-
H[Fu[k]] =
|
|
5047
|
+
H[Fu[k]] = Sn(A, o + k * 3, 7);
|
|
5048
5048
|
o += M * 3;
|
|
5049
5049
|
var V = Hf(H), tA = (1 << V) - 1;
|
|
5050
5050
|
if (!i && o + AA * (V + 7) > v)
|
|
5051
5051
|
break;
|
|
5052
5052
|
for (var U = Zn(H, V, 1), k = 0; k < AA; ) {
|
|
5053
|
-
var Q = U[
|
|
5053
|
+
var Q = U[Sn(A, o, tA)];
|
|
5054
5054
|
o += Q & 15;
|
|
5055
5055
|
var x = Q >>> 4;
|
|
5056
5056
|
if (x < 16)
|
|
5057
5057
|
eA[k++] = x;
|
|
5058
5058
|
else {
|
|
5059
5059
|
var K = 0, q = 0;
|
|
5060
|
-
for (x == 16 ? (q = 3 +
|
|
5060
|
+
for (x == 16 ? (q = 3 + Sn(A, o, 3), o += 2, K = eA[k - 1]) : x == 17 ? (q = 3 + Sn(A, o, 7), o += 3) : x == 18 && (q = 11 + Sn(A, o, 127), o += 7); q--; )
|
|
5061
5061
|
eA[k++] = K;
|
|
5062
5062
|
}
|
|
5063
5063
|
}
|
|
@@ -5094,7 +5094,7 @@ var g4 = /* @__PURE__ */ Zn(na, 9, 0), p4 = /* @__PURE__ */ Zn(na, 9, 1), w4 = /
|
|
|
5094
5094
|
var jA = _A - 254;
|
|
5095
5095
|
if (_A > 264) {
|
|
5096
5096
|
var k = _A - 257, m = xc[k];
|
|
5097
|
-
jA =
|
|
5097
|
+
jA = Sn(A, o, (1 << m) - 1) + c2[k], o += m;
|
|
5098
5098
|
}
|
|
5099
5099
|
var S = d[Pf(A, o) & gA], b = S >>> 4;
|
|
5100
5100
|
if (!S)
|
|
@@ -5810,11 +5810,11 @@ function xe(A) {
|
|
|
5810
5810
|
};
|
|
5811
5811
|
var $A, ee = h.__private__.getFontSize = h.getFontSize = function() {
|
|
5812
5812
|
return N === F.COMPAT ? XA : XA * re;
|
|
5813
|
-
},
|
|
5813
|
+
}, de = A.R2L || !1;
|
|
5814
5814
|
h.__private__.setR2L = h.setR2L = function(p) {
|
|
5815
|
-
return
|
|
5815
|
+
return de = p, this;
|
|
5816
5816
|
}, h.__private__.getR2L = h.getR2L = function() {
|
|
5817
|
-
return
|
|
5817
|
+
return de;
|
|
5818
5818
|
};
|
|
5819
5819
|
var ge, Fe = h.__private__.setZoomMode = function(p) {
|
|
5820
5820
|
var _ = [void 0, null, "fullwidth", "fullheight", "fullpage", "original"];
|
|
@@ -5864,7 +5864,7 @@ function xe(A) {
|
|
|
5864
5864
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
5865
5865
|
return me[p] = _;
|
|
5866
5866
|
};
|
|
5867
|
-
var Le, re, Kt, Pe, Ur, Xe = {}, ft = {}, An = [], Re = {}, Mn = {}, gt = {}, Rr = {},
|
|
5867
|
+
var Le, re, Kt, Pe, Ur, Xe = {}, ft = {}, An = [], Re = {}, Mn = {}, gt = {}, Rr = {}, pn = null, ot = 0, be = [], Ve = new ed(h), ri = A.hotfixes || [], Vt = {}, en = {}, tn = [], we = function p(_, J, nA, pA, TA, GA) {
|
|
5868
5868
|
if (!(this instanceof p))
|
|
5869
5869
|
return new p(_, J, nA, pA, TA, GA);
|
|
5870
5870
|
isNaN(_) && (_ = 1), isNaN(J) && (J = 0), isNaN(nA) && (nA = 0), isNaN(pA) && (pA = 1), isNaN(TA) && (TA = 0), isNaN(GA) && (GA = 0), this._matrix = [_, J, nA, pA, TA, GA];
|
|
@@ -6153,7 +6153,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6153
6153
|
var p;
|
|
6154
6154
|
for (p in gt)
|
|
6155
6155
|
gt.hasOwnProperty(p) && rt(gt[p]);
|
|
6156
|
-
},
|
|
6156
|
+
}, wn = function() {
|
|
6157
6157
|
for (var p in Z("/XObject <<"), Vt)
|
|
6158
6158
|
Vt.hasOwnProperty(p) && Vt[p].objectNumber >= 0 && Z("/" + p + " " + Vt[p].objectNumber + " 0 R");
|
|
6159
6159
|
Ve.publish("putXobjectDict"), Z(">>");
|
|
@@ -6163,7 +6163,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6163
6163
|
for (var p in Z("/Font <<"), Xe)
|
|
6164
6164
|
Xe.hasOwnProperty(p) && (d === !1 || d === !0 && g.hasOwnProperty(p)) && Z("/" + p + " " + Xe[p].objectNumber + " 0 R");
|
|
6165
6165
|
Z(">>");
|
|
6166
|
-
},
|
|
6166
|
+
}, Bn = function() {
|
|
6167
6167
|
if (Object.keys(Re).length > 0) {
|
|
6168
6168
|
for (var p in Z("/Shading <<"), Re)
|
|
6169
6169
|
Re.hasOwnProperty(p) && Re[p] instanceof ma && Re[p].objectNumber >= 0 && Z("/" + p + " " + Re[p].objectNumber + " 0 R");
|
|
@@ -6183,7 +6183,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6183
6183
|
Ve.publish("putGStateDict"), Z(">>");
|
|
6184
6184
|
}
|
|
6185
6185
|
}, _t = function(p) {
|
|
6186
|
-
I(p.resourcesOid, !0), Z("<<"), Z("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), Rn(),
|
|
6186
|
+
I(p.resourcesOid, !0), Z("<<"), Z("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), Rn(), Bn(), Kn(p.objectOid), Vr(), wn(), Z(">>"), Z("endobj");
|
|
6187
6187
|
}, cl = function() {
|
|
6188
6188
|
var p = [];
|
|
6189
6189
|
VA(), Nt(), ie(), ze(p), Ve.publish("putResources"), p.forEach(_t), _t({ resourcesOid: G, objectOid: Number.MAX_SAFE_INTEGER }), Ve.publish("postPutResources");
|
|
@@ -6207,7 +6207,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6207
6207
|
ul({ id: nA, fontName: pA[0], fontStyle: pA[1] || "" });
|
|
6208
6208
|
}
|
|
6209
6209
|
Ve.publish("addFonts", { fonts: Xe, dictionary: ft });
|
|
6210
|
-
},
|
|
6210
|
+
}, vn = function(p) {
|
|
6211
6211
|
return p.foo = function() {
|
|
6212
6212
|
try {
|
|
6213
6213
|
return p.apply(this, arguments);
|
|
@@ -6251,7 +6251,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6251
6251
|
case "p":
|
|
6252
6252
|
nA > pA && (n = [pA, nA]);
|
|
6253
6253
|
}
|
|
6254
|
-
Rs(n), ml(js), Z(
|
|
6254
|
+
Rs(n), ml(js), Z(mn), Xs !== 0 && Z(Xs + " J"), zs !== 0 && Z(zs + " j"), Ve.publish("addPage", { pageNumber: ot });
|
|
6255
6255
|
}, Ic = function(p) {
|
|
6256
6256
|
p > 0 && p <= ot && (NA.splice(p, 1), be.splice(p, 1), ot--, S > ot && (S = ot), this.setPage(S));
|
|
6257
6257
|
}, dl = function(p) {
|
|
@@ -6318,7 +6318,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6318
6318
|
`);
|
|
6319
6319
|
}, Ha = h.__private__.getBlob = function(p) {
|
|
6320
6320
|
return new Blob([ae(p)], { type: "application/pdf" });
|
|
6321
|
-
}, Pa = h.output = h.__private__.output =
|
|
6321
|
+
}, Pa = h.output = h.__private__.output = vn(function(p, _) {
|
|
6322
6322
|
switch (typeof (_ = _ || {}) == "string" ? _ = { filename: _ } : _.filename = _.filename || "generated.pdf", p) {
|
|
6323
6323
|
case void 0:
|
|
6324
6324
|
return ii();
|
|
@@ -6461,7 +6461,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6461
6461
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
6462
6462
|
if (p.length === 0)
|
|
6463
6463
|
return Dt;
|
|
6464
|
-
var Xt = "",
|
|
6464
|
+
var Xt = "", xn = !1, Gr = typeof nA.lineHeightFactor == "number" ? nA.lineHeightFactor : fa, si = Dt.internal.scaleFactor;
|
|
6465
6465
|
function El(ut) {
|
|
6466
6466
|
return ut = ut.split(" ").join(Array(nA.TabLen || 9).join(" ")), Tr(ut, Me);
|
|
6467
6467
|
}
|
|
@@ -6559,23 +6559,23 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6559
6559
|
Ir !== -1 ? Xt += Ir + ` Tr
|
|
6560
6560
|
` : _l !== -1 && (Xt += `0 Tr
|
|
6561
6561
|
`), Ir !== -1 && (no.usedRenderingMode = Ir), pe = nA.align || "left";
|
|
6562
|
-
var
|
|
6562
|
+
var Cn, io = XA * Gr, Jc = Dt.internal.pageSize.getWidth(), Zc = Xe[Le];
|
|
6563
6563
|
Se = nA.charSpace || Ka, Ie = nA.maxWidth || 0, Me = Object.assign({ autoencode: !0, noBOM: !0 }, nA.flags);
|
|
6564
6564
|
var Ti = [];
|
|
6565
6565
|
if (Object.prototype.toString.call(p) === "[object Array]") {
|
|
6566
6566
|
var rn;
|
|
6567
|
-
GA = $s(p), pe !== "left" && (
|
|
6567
|
+
GA = $s(p), pe !== "left" && (Cn = GA.map(function(ut) {
|
|
6568
6568
|
return Dt.getStringUnitWidth(ut, { font: Zc, charSpace: Se, fontSize: XA, doKerning: !1 }) * XA / si;
|
|
6569
6569
|
}));
|
|
6570
|
-
var
|
|
6570
|
+
var yn, Li = 0;
|
|
6571
6571
|
if (pe === "right") {
|
|
6572
|
-
_ -=
|
|
6572
|
+
_ -= Cn[0], p = [], Lr = GA.length;
|
|
6573
6573
|
for (var Gn = 0; Gn < Lr; Gn++)
|
|
6574
|
-
Gn === 0 ? (
|
|
6574
|
+
Gn === 0 ? (yn = ai(_), rn = Si(J)) : (yn = Q(Li - Cn[Gn]), rn = -io), p.push([GA[Gn], yn, rn]), Li = Cn[Gn];
|
|
6575
6575
|
} else if (pe === "center") {
|
|
6576
|
-
_ -=
|
|
6576
|
+
_ -= Cn[0] / 2, p = [], Lr = GA.length;
|
|
6577
6577
|
for (var oi = 0; oi < Lr; oi++)
|
|
6578
|
-
oi === 0 ? (
|
|
6578
|
+
oi === 0 ? (yn = ai(_), rn = Si(J)) : (yn = Q((Li - Cn[oi]) / 2), rn = -io), p.push([GA[oi], yn, rn]), Li = Cn[oi];
|
|
6579
6579
|
} else if (pe === "left") {
|
|
6580
6580
|
p = [], Lr = GA.length;
|
|
6581
6581
|
for (var Ya = 0; Ya < Lr; Ya++)
|
|
@@ -6584,19 +6584,19 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6584
6584
|
if (pe !== "justify")
|
|
6585
6585
|
throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
|
|
6586
6586
|
p = [], Lr = GA.length, Ie = Ie !== 0 ? Ie : Jc;
|
|
6587
|
-
for (var
|
|
6588
|
-
rn =
|
|
6587
|
+
for (var Fn = 0; Fn < Lr; Fn++)
|
|
6588
|
+
rn = Fn === 0 ? Si(J) : -io, yn = Fn === 0 ? ai(_) : 0, Fn < Lr - 1 ? Ti.push(H(Q((Ie - Cn[Fn]) / (GA[Fn].split(" ").length - 1)))) : Ti.push(0), p.push([GA[Fn], yn, rn]);
|
|
6589
6589
|
}
|
|
6590
6590
|
}
|
|
6591
|
-
var Ja = typeof nA.R2L == "boolean" ? nA.R2L :
|
|
6591
|
+
var Ja = typeof nA.R2L == "boolean" ? nA.R2L : de;
|
|
6592
6592
|
Ja === !0 && (p = Ao(p, function(ut, ht, St) {
|
|
6593
6593
|
return [ut.split("").reverse().join(""), ht, St];
|
|
6594
|
-
})), TA = { text: p, x: _, y: J, options: nA, mutex: { pdfEscape: Tr, activeFontKey: Le, fonts: Xe, activeFontSize: XA } }, Ve.publish("postProcessText", TA), p = TA.text,
|
|
6594
|
+
})), TA = { text: p, x: _, y: J, options: nA, mutex: { pdfEscape: Tr, activeFontKey: Le, fonts: Xe, activeFontSize: XA } }, Ve.publish("postProcessText", TA), p = TA.text, xn = TA.mutex.isHex || !1;
|
|
6595
6595
|
var ao = Xe[Le].encoding;
|
|
6596
6596
|
ao !== "WinAnsiEncoding" && ao !== "StandardEncoding" || (p = Ao(p, function(ut, ht, St) {
|
|
6597
6597
|
return [El(ut), ht, St];
|
|
6598
6598
|
})), GA = $s(p), p = [];
|
|
6599
|
-
for (var Ii,
|
|
6599
|
+
for (var Ii, bn, li, da = 0, Za = 1, ga = Array.isArray(GA[0]) ? Za : da, Ni = "", so = function(ut, ht, St) {
|
|
6600
6600
|
var Gt = "";
|
|
6601
6601
|
return St instanceof we ? (St = typeof nA.angle == "number" ? Kr(St, new we(1, 0, 0, 1, ut, ht)) : Kr(new we(1, 0, 0, 1, ut, ht), St), N === F.ADVANCED && (St = Kr(new we(1, 0, 0, -1, 0, 0), St)), Gt = St.join(" ") + ` Tm
|
|
6602
6602
|
`) : Gt = H(ut) + " " + H(ht) + ` Td
|
|
@@ -6604,13 +6604,13 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6604
6604
|
}, nn = 0; nn < GA.length; nn++) {
|
|
6605
6605
|
switch (Ni = "", ga) {
|
|
6606
6606
|
case Za:
|
|
6607
|
-
li = (
|
|
6607
|
+
li = (xn ? "<" : "(") + GA[nn][0] + (xn ? ">" : ")"), Ii = parseFloat(GA[nn][1]), bn = parseFloat(GA[nn][2]);
|
|
6608
6608
|
break;
|
|
6609
6609
|
case da:
|
|
6610
|
-
li = (
|
|
6610
|
+
li = (xn ? "<" : "(") + GA[nn] + (xn ? ">" : ")"), Ii = ai(_), bn = Si(J);
|
|
6611
6611
|
}
|
|
6612
6612
|
Ti !== void 0 && Ti[nn] !== void 0 && (Ni = Ti[nn] + ` Tw
|
|
6613
|
-
`), nn === 0 ? p.push(Ni + so(Ii,
|
|
6613
|
+
`), nn === 0 ? p.push(Ni + so(Ii, bn, xt) + li) : ga === da ? p.push(Ni + li) : ga === Za && p.push(Ni + so(Ii, bn, xt) + li);
|
|
6614
6614
|
}
|
|
6615
6615
|
p = ga === da ? p.join(` Tj
|
|
6616
6616
|
T* `) : p.join(` Tj
|
|
@@ -6720,8 +6720,8 @@ T* `) : p.join(` Tj
|
|
|
6720
6720
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
6721
6721
|
return N === F.COMPAT ? this.lines([[J - p, nA - _]], p, _, [1, 1], pA || "S") : this.lines([[J - p, nA - _]], p, _, [1, 1]).stroke();
|
|
6722
6722
|
}, h.__private__.lines = h.lines = function(p, _, J, nA, pA, TA) {
|
|
6723
|
-
var GA, oe, pe, Se, Ie, Me, vt, xt, Dt, ur, Xt,
|
|
6724
|
-
if (typeof p == "number" && (
|
|
6723
|
+
var GA, oe, pe, Se, Ie, Me, vt, xt, Dt, ur, Xt, xn;
|
|
6724
|
+
if (typeof p == "number" && (xn = J, J = _, _ = p, p = xn), nA = nA || [1, 1], TA = TA || !1, isNaN(_) || isNaN(J) || !Array.isArray(p) || !Array.isArray(nA) || !Vn(pA) || typeof TA != "boolean")
|
|
6725
6725
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
6726
6726
|
for (Gs(_, J), GA = nA[0], oe = nA[1], Se = p.length, ur = _, Xt = J, pe = 0; pe < Se; pe++)
|
|
6727
6727
|
(Ie = p[pe]).length === 2 ? (ur = Ie[0] * GA + ur, Xt = Ie[1] * oe + Xt, ca(ur, Xt)) : (Me = Ie[0] * GA + ur, vt = Ie[1] * oe + Xt, xt = Ie[2] * GA + ur, Dt = Ie[3] * oe + Xt, ur = Ie[4] * GA + ur, Xt = Ie[5] * oe + Xt, _i(Me, vt, xt, Dt, ur, Xt));
|
|
@@ -6815,11 +6815,11 @@ T* `) : p.join(` Tj
|
|
|
6815
6815
|
return H(ai(p));
|
|
6816
6816
|
}, Ui = h.__private__.getVerticalCoordinateString = h.getVerticalCoordinateString = function(p) {
|
|
6817
6817
|
return H(Si(p));
|
|
6818
|
-
},
|
|
6818
|
+
}, mn = A.strokeColor || "0 G";
|
|
6819
6819
|
h.__private__.getStrokeColor = h.getDrawColor = function() {
|
|
6820
|
-
return X(
|
|
6820
|
+
return X(mn);
|
|
6821
6821
|
}, h.__private__.setStrokeColor = h.setDrawColor = function(p, _, J, nA) {
|
|
6822
|
-
return
|
|
6822
|
+
return mn = Y({ ch1: p, ch2: _, ch3: J, ch4: nA, pdfColorType: "draw", precision: 2 }), Z(mn), this;
|
|
6823
6823
|
};
|
|
6824
6824
|
var Ws = A.fillColor || "0 g";
|
|
6825
6825
|
h.__private__.getFillColor = h.getFillColor = function() {
|
|
@@ -6859,7 +6859,7 @@ T* `) : p.join(` Tj
|
|
|
6859
6859
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
6860
6860
|
return Z(H(Q(p)) + " M"), this;
|
|
6861
6861
|
}, h.GState = q0, h.setGState = function(p) {
|
|
6862
|
-
(p = typeof p == "string" ? gt[Rr[p]] : Fl(null, p)).equals(
|
|
6862
|
+
(p = typeof p == "string" ? gt[Rr[p]] : Fl(null, p)).equals(pn) || (Z("/" + p.id + " gs"), pn = p);
|
|
6863
6863
|
};
|
|
6864
6864
|
var Fl = function(p, _) {
|
|
6865
6865
|
if (!p || !Rr[p]) {
|
|
@@ -6885,7 +6885,7 @@ T* `) : p.join(` Tj
|
|
|
6885
6885
|
}, h.restoreGraphicsState = function() {
|
|
6886
6886
|
Z("Q");
|
|
6887
6887
|
var p = An.pop();
|
|
6888
|
-
return Le = p.key, XA = p.size, ua = p.color,
|
|
6888
|
+
return Le = p.key, XA = p.size, ua = p.color, pn = null, this;
|
|
6889
6889
|
}, h.setCurrentTransformationMatrix = function(p) {
|
|
6890
6890
|
return Z(p.toString() + " cm"), this;
|
|
6891
6891
|
}, h.comment = function(p) {
|
|
@@ -7039,7 +7039,7 @@ var Mr = function(A, e) {
|
|
|
7039
7039
|
}, td = function(A) {
|
|
7040
7040
|
return A * Xu;
|
|
7041
7041
|
}, Xn = function(A) {
|
|
7042
|
-
var e = new w2(), t =
|
|
7042
|
+
var e = new w2(), t = he.internal.getHeight(A) || 0, r = he.internal.getWidth(A) || 0;
|
|
7043
7043
|
return e.BBox = [0, 0, Number(_e(r)), Number(_e(t))], e;
|
|
7044
7044
|
}, I4 = yt.__acroform__.setBit = function(A, e) {
|
|
7045
7045
|
if (A = A || 0, e = e || 0, isNaN(A) || isNaN(e))
|
|
@@ -7086,9 +7086,9 @@ var Mr = function(A, e) {
|
|
|
7086
7086
|
}) : n.map(function(U) {
|
|
7087
7087
|
return [U];
|
|
7088
7088
|
});
|
|
7089
|
-
var i = t, a =
|
|
7089
|
+
var i = t, a = he.internal.getHeight(A) || 0;
|
|
7090
7090
|
a = a < 0 ? -a : a;
|
|
7091
|
-
var s =
|
|
7091
|
+
var s = he.internal.getWidth(A) || 0;
|
|
7092
7092
|
s = s < 0 ? -s : s;
|
|
7093
7093
|
var o = function(U, Q, K) {
|
|
7094
7094
|
if (U + 1 < n.length) {
|
|
@@ -7182,7 +7182,7 @@ var Mr = function(A, e) {
|
|
|
7182
7182
|
}
|
|
7183
7183
|
}, R4 = function(A, e) {
|
|
7184
7184
|
if (e.scope = A, A.internal !== void 0 && (A.internal.acroformPlugin === void 0 || A.internal.acroformPlugin.isInitialized === !1)) {
|
|
7185
|
-
if (
|
|
7185
|
+
if (On.FieldNum = 0, A.internal.acroformPlugin = JSON.parse(JSON.stringify(H4)), A.internal.acroformPlugin.acroFormDictionaryRoot)
|
|
7186
7186
|
throw new Error("Exception while creating AcroformDictionary");
|
|
7187
7187
|
Xu = A.internal.scaleFactor, A.internal.acroformPlugin.acroFormDictionaryRoot = new B2(), A.internal.acroformPlugin.acroFormDictionaryRoot.scope = A, A.internal.acroformPlugin.acroFormDictionaryRoot._eventID = A.internal.events.subscribe("postPutResources", function() {
|
|
7188
7188
|
(function(t) {
|
|
@@ -7210,7 +7210,7 @@ var Mr = function(A, e) {
|
|
|
7210
7210
|
for (var a in r || (n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId, !0), n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()), r = r || n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)
|
|
7211
7211
|
if (r.hasOwnProperty(a)) {
|
|
7212
7212
|
var s = r[a], o = [], l = s.Rect;
|
|
7213
|
-
if (s.Rect && (s.Rect = k4(s.Rect, n)), n.internal.newObjectDeferredBegin(s.objId, !0), s.DA =
|
|
7213
|
+
if (s.Rect && (s.Rect = k4(s.Rect, n)), n.internal.newObjectDeferredBegin(s.objId, !0), s.DA = he.createDefaultAppearanceStream(s), At(s) === "object" && typeof s.getKeyValueListForStream == "function" && (o = s.getKeyValueListForStream()), s.Rect = l, s.hasAppearanceStream && !s.appearanceStreamContent) {
|
|
7214
7214
|
var f = O4(s);
|
|
7215
7215
|
o.push({ key: "AP", value: "<</N " + f + ">>" }), n.internal.acroformPlugin.xForms.push(f);
|
|
7216
7216
|
}
|
|
@@ -7322,7 +7322,7 @@ var B2 = function() {
|
|
|
7322
7322
|
} });
|
|
7323
7323
|
};
|
|
7324
7324
|
Mr(B2, Jn);
|
|
7325
|
-
var
|
|
7325
|
+
var On = function A() {
|
|
7326
7326
|
Jn.call(this);
|
|
7327
7327
|
var e = 4;
|
|
7328
7328
|
Object.defineProperty(this, "F", { enumerable: !1, configurable: !1, get: function() {
|
|
@@ -7532,9 +7532,9 @@ var Hn = function A() {
|
|
|
7532
7532
|
}
|
|
7533
7533
|
} });
|
|
7534
7534
|
};
|
|
7535
|
-
Mr(
|
|
7535
|
+
Mr(On, Jn);
|
|
7536
7536
|
var Fs = function() {
|
|
7537
|
-
|
|
7537
|
+
On.call(this), this.FT = "/Ch", this.V = "()", this.fontName = "zapfdingbats";
|
|
7538
7538
|
var A = 0;
|
|
7539
7539
|
Object.defineProperty(this, "TI", { enumerable: !0, configurable: !1, get: function() {
|
|
7540
7540
|
return A;
|
|
@@ -7591,7 +7591,7 @@ var Fs = function() {
|
|
|
7591
7591
|
t ? this.Ff = Lt(this.Ff, 27) : this.Ff = It(this.Ff, 27);
|
|
7592
7592
|
} }), this.hasAppearanceStream = !1;
|
|
7593
7593
|
};
|
|
7594
|
-
Mr(Fs,
|
|
7594
|
+
Mr(Fs, On);
|
|
7595
7595
|
var bs = function() {
|
|
7596
7596
|
Fs.call(this), this.fontName = "helvetica", this.combo = !1;
|
|
7597
7597
|
};
|
|
@@ -7605,7 +7605,7 @@ var D0 = function() {
|
|
|
7605
7605
|
};
|
|
7606
7606
|
Mr(D0, Es);
|
|
7607
7607
|
var Jt = function() {
|
|
7608
|
-
|
|
7608
|
+
On.call(this), this.FT = "/Btn", Object.defineProperty(this, "noToggleToOff", { enumerable: !0, configurable: !0, get: function() {
|
|
7609
7609
|
return !!Tt(this.Ff, 15);
|
|
7610
7610
|
}, set: function(t) {
|
|
7611
7611
|
t ? this.Ff = Lt(this.Ff, 15) : this.Ff = It(this.Ff, 15);
|
|
@@ -7650,7 +7650,7 @@ var Jt = function() {
|
|
|
7650
7650
|
A = "/" + t;
|
|
7651
7651
|
} });
|
|
7652
7652
|
};
|
|
7653
|
-
Mr(Jt,
|
|
7653
|
+
Mr(Jt, On);
|
|
7654
7654
|
var k0 = function() {
|
|
7655
7655
|
Jt.call(this), this.pushButton = !0;
|
|
7656
7656
|
};
|
|
@@ -7667,7 +7667,7 @@ var _s = function() {
|
|
|
7667
7667
|
Mr(_s, Jt);
|
|
7668
7668
|
var Y0 = function() {
|
|
7669
7669
|
var A, e;
|
|
7670
|
-
|
|
7670
|
+
On.call(this), Object.defineProperty(this, "Parent", { enumerable: !1, configurable: !1, get: function() {
|
|
7671
7671
|
return A;
|
|
7672
7672
|
}, set: function(n) {
|
|
7673
7673
|
A = n;
|
|
@@ -7701,9 +7701,9 @@ var Y0 = function() {
|
|
|
7701
7701
|
return t.substr(1, t.length - 1);
|
|
7702
7702
|
}, set: function(n) {
|
|
7703
7703
|
t = "/" + n;
|
|
7704
|
-
} }), this.caption = "l", this.appearanceState = "Off", this._AppearanceType =
|
|
7704
|
+
} }), this.caption = "l", this.appearanceState = "Off", this._AppearanceType = he.RadioButton.Circle, this.appearanceStreamContent = this._AppearanceType.createAppearanceStream(this.optionName);
|
|
7705
7705
|
};
|
|
7706
|
-
Mr(Y0,
|
|
7706
|
+
Mr(Y0, On), _s.prototype.setAppearance = function(A) {
|
|
7707
7707
|
if (!("createAppearanceStream" in A) || !("getCA" in A))
|
|
7708
7708
|
throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");
|
|
7709
7709
|
for (var e in this.Kids)
|
|
@@ -7716,11 +7716,11 @@ Mr(Y0, Hn), _s.prototype.setAppearance = function(A) {
|
|
|
7716
7716
|
return e.Parent = this, e.optionName = A, this.Kids.push(e), K4.call(this.scope, e), e;
|
|
7717
7717
|
};
|
|
7718
7718
|
var O0 = function() {
|
|
7719
|
-
Jt.call(this), this.fontName = "zapfdingbats", this.caption = "3", this.appearanceState = "On", this.value = "On", this.textAlign = "center", this.appearanceStreamContent =
|
|
7719
|
+
Jt.call(this), this.fontName = "zapfdingbats", this.caption = "3", this.appearanceState = "On", this.value = "On", this.textAlign = "center", this.appearanceStreamContent = he.CheckBox.createAppearanceStream();
|
|
7720
7720
|
};
|
|
7721
7721
|
Mr(O0, Jt);
|
|
7722
7722
|
var Ea = function() {
|
|
7723
|
-
|
|
7723
|
+
On.call(this), this.FT = "/Tx", Object.defineProperty(this, "multiline", { enumerable: !0, configurable: !0, get: function() {
|
|
7724
7724
|
return !!Tt(this.Ff, 13);
|
|
7725
7725
|
}, set: function(e) {
|
|
7726
7726
|
e ? this.Ff = Lt(this.Ff, 13) : this.Ff = It(this.Ff, 13);
|
|
@@ -7758,7 +7758,7 @@ var Ea = function() {
|
|
|
7758
7758
|
return this.V || this.DV;
|
|
7759
7759
|
} });
|
|
7760
7760
|
};
|
|
7761
|
-
Mr(Ea,
|
|
7761
|
+
Mr(Ea, On);
|
|
7762
7762
|
var H0 = function() {
|
|
7763
7763
|
Ea.call(this), Object.defineProperty(this, "password", { enumerable: !0, configurable: !0, get: function() {
|
|
7764
7764
|
return !!Tt(this.Ff, 14);
|
|
@@ -7767,99 +7767,99 @@ var H0 = function() {
|
|
|
7767
7767
|
} }), this.password = !0;
|
|
7768
7768
|
};
|
|
7769
7769
|
Mr(H0, Ea);
|
|
7770
|
-
var
|
|
7771
|
-
return { N: { On:
|
|
7770
|
+
var he = { CheckBox: { createAppearanceStream: function() {
|
|
7771
|
+
return { N: { On: he.CheckBox.YesNormal }, D: { On: he.CheckBox.YesPushDown, Off: he.CheckBox.OffPushDown } };
|
|
7772
7772
|
}, YesPushDown: function(A) {
|
|
7773
7773
|
var e = Xn(A);
|
|
7774
7774
|
e.scope = A.scope;
|
|
7775
7775
|
var t = [], r = A.scope.internal.getFont(A.fontName, A.fontStyle).id, n = A.scope.__private__.encodeColorString(A.color), i = Lu(A, A.caption);
|
|
7776
|
-
return t.push("0.749023 g"), t.push("0 0 " + _e(
|
|
7776
|
+
return t.push("0.749023 g"), t.push("0 0 " + _e(he.internal.getWidth(A)) + " " + _e(he.internal.getHeight(A)) + " re"), t.push("f"), t.push("BMC"), t.push("q"), t.push("0 0 1 rg"), t.push("/" + r + " " + _e(i.fontSize) + " Tf " + n), t.push("BT"), t.push(i.text), t.push("ET"), t.push("Q"), t.push("EMC"), e.stream = t.join(`
|
|
7777
7777
|
`), e;
|
|
7778
7778
|
}, YesNormal: function(A) {
|
|
7779
7779
|
var e = Xn(A);
|
|
7780
7780
|
e.scope = A.scope;
|
|
7781
|
-
var t = A.scope.internal.getFont(A.fontName, A.fontStyle).id, r = A.scope.__private__.encodeColorString(A.color), n = [], i =
|
|
7781
|
+
var t = A.scope.internal.getFont(A.fontName, A.fontStyle).id, r = A.scope.__private__.encodeColorString(A.color), n = [], i = he.internal.getHeight(A), a = he.internal.getWidth(A), s = Lu(A, A.caption);
|
|
7782
7782
|
return n.push("1 g"), n.push("0 0 " + _e(a) + " " + _e(i) + " re"), n.push("f"), n.push("q"), n.push("0 0 1 rg"), n.push("0 0 " + _e(a - 1) + " " + _e(i - 1) + " re"), n.push("W"), n.push("n"), n.push("0 g"), n.push("BT"), n.push("/" + t + " " + _e(s.fontSize) + " Tf " + r), n.push(s.text), n.push("ET"), n.push("Q"), e.stream = n.join(`
|
|
7783
7783
|
`), e;
|
|
7784
7784
|
}, OffPushDown: function(A) {
|
|
7785
7785
|
var e = Xn(A);
|
|
7786
7786
|
e.scope = A.scope;
|
|
7787
7787
|
var t = [];
|
|
7788
|
-
return t.push("0.749023 g"), t.push("0 0 " + _e(
|
|
7788
|
+
return t.push("0.749023 g"), t.push("0 0 " + _e(he.internal.getWidth(A)) + " " + _e(he.internal.getHeight(A)) + " re"), t.push("f"), e.stream = t.join(`
|
|
7789
7789
|
`), e;
|
|
7790
7790
|
} }, RadioButton: { Circle: { createAppearanceStream: function(A) {
|
|
7791
|
-
var e = { D: { Off:
|
|
7792
|
-
return e.N[A] =
|
|
7791
|
+
var e = { D: { Off: he.RadioButton.Circle.OffPushDown }, N: {} };
|
|
7792
|
+
return e.N[A] = he.RadioButton.Circle.YesNormal, e.D[A] = he.RadioButton.Circle.YesPushDown, e;
|
|
7793
7793
|
}, getCA: function() {
|
|
7794
7794
|
return "l";
|
|
7795
7795
|
}, YesNormal: function(A) {
|
|
7796
7796
|
var e = Xn(A);
|
|
7797
7797
|
e.scope = A.scope;
|
|
7798
|
-
var t = [], r =
|
|
7798
|
+
var t = [], r = he.internal.getWidth(A) <= he.internal.getHeight(A) ? he.internal.getWidth(A) / 4 : he.internal.getHeight(A) / 4;
|
|
7799
7799
|
r = Number((0.9 * r).toFixed(5));
|
|
7800
|
-
var n =
|
|
7801
|
-
return t.push("q"), t.push("1 0 0 1 " + Gi(
|
|
7800
|
+
var n = he.internal.Bezier_C, i = Number((r * n).toFixed(5));
|
|
7801
|
+
return t.push("q"), t.push("1 0 0 1 " + Gi(he.internal.getWidth(A) / 2) + " " + Gi(he.internal.getHeight(A) / 2) + " cm"), t.push(r + " 0 m"), t.push(r + " " + i + " " + i + " " + r + " 0 " + r + " c"), t.push("-" + i + " " + r + " -" + r + " " + i + " -" + r + " 0 c"), t.push("-" + r + " -" + i + " -" + i + " -" + r + " 0 -" + r + " c"), t.push(i + " -" + r + " " + r + " -" + i + " " + r + " 0 c"), t.push("f"), t.push("Q"), e.stream = t.join(`
|
|
7802
7802
|
`), e;
|
|
7803
7803
|
}, YesPushDown: function(A) {
|
|
7804
7804
|
var e = Xn(A);
|
|
7805
7805
|
e.scope = A.scope;
|
|
7806
|
-
var t = [], r =
|
|
7806
|
+
var t = [], r = he.internal.getWidth(A) <= he.internal.getHeight(A) ? he.internal.getWidth(A) / 4 : he.internal.getHeight(A) / 4;
|
|
7807
7807
|
r = Number((0.9 * r).toFixed(5));
|
|
7808
|
-
var n = Number((2 * r).toFixed(5)), i = Number((n *
|
|
7809
|
-
return t.push("0.749023 g"), t.push("q"), t.push("1 0 0 1 " + Gi(
|
|
7808
|
+
var n = Number((2 * r).toFixed(5)), i = Number((n * he.internal.Bezier_C).toFixed(5)), a = Number((r * he.internal.Bezier_C).toFixed(5));
|
|
7809
|
+
return t.push("0.749023 g"), t.push("q"), t.push("1 0 0 1 " + Gi(he.internal.getWidth(A) / 2) + " " + Gi(he.internal.getHeight(A) / 2) + " cm"), t.push(n + " 0 m"), t.push(n + " " + i + " " + i + " " + n + " 0 " + n + " c"), t.push("-" + i + " " + n + " -" + n + " " + i + " -" + n + " 0 c"), t.push("-" + n + " -" + i + " -" + i + " -" + n + " 0 -" + n + " c"), t.push(i + " -" + n + " " + n + " -" + i + " " + n + " 0 c"), t.push("f"), t.push("Q"), t.push("0 g"), t.push("q"), t.push("1 0 0 1 " + Gi(he.internal.getWidth(A) / 2) + " " + Gi(he.internal.getHeight(A) / 2) + " cm"), t.push(r + " 0 m"), t.push(r + " " + a + " " + a + " " + r + " 0 " + r + " c"), t.push("-" + a + " " + r + " -" + r + " " + a + " -" + r + " 0 c"), t.push("-" + r + " -" + a + " -" + a + " -" + r + " 0 -" + r + " c"), t.push(a + " -" + r + " " + r + " -" + a + " " + r + " 0 c"), t.push("f"), t.push("Q"), e.stream = t.join(`
|
|
7810
7810
|
`), e;
|
|
7811
7811
|
}, OffPushDown: function(A) {
|
|
7812
7812
|
var e = Xn(A);
|
|
7813
7813
|
e.scope = A.scope;
|
|
7814
|
-
var t = [], r =
|
|
7814
|
+
var t = [], r = he.internal.getWidth(A) <= he.internal.getHeight(A) ? he.internal.getWidth(A) / 4 : he.internal.getHeight(A) / 4;
|
|
7815
7815
|
r = Number((0.9 * r).toFixed(5));
|
|
7816
|
-
var n = Number((2 * r).toFixed(5)), i = Number((n *
|
|
7817
|
-
return t.push("0.749023 g"), t.push("q"), t.push("1 0 0 1 " + Gi(
|
|
7816
|
+
var n = Number((2 * r).toFixed(5)), i = Number((n * he.internal.Bezier_C).toFixed(5));
|
|
7817
|
+
return t.push("0.749023 g"), t.push("q"), t.push("1 0 0 1 " + Gi(he.internal.getWidth(A) / 2) + " " + Gi(he.internal.getHeight(A) / 2) + " cm"), t.push(n + " 0 m"), t.push(n + " " + i + " " + i + " " + n + " 0 " + n + " c"), t.push("-" + i + " " + n + " -" + n + " " + i + " -" + n + " 0 c"), t.push("-" + n + " -" + i + " -" + i + " -" + n + " 0 -" + n + " c"), t.push(i + " -" + n + " " + n + " -" + i + " " + n + " 0 c"), t.push("f"), t.push("Q"), e.stream = t.join(`
|
|
7818
7818
|
`), e;
|
|
7819
7819
|
} }, Cross: { createAppearanceStream: function(A) {
|
|
7820
|
-
var e = { D: { Off:
|
|
7821
|
-
return e.N[A] =
|
|
7820
|
+
var e = { D: { Off: he.RadioButton.Cross.OffPushDown }, N: {} };
|
|
7821
|
+
return e.N[A] = he.RadioButton.Cross.YesNormal, e.D[A] = he.RadioButton.Cross.YesPushDown, e;
|
|
7822
7822
|
}, getCA: function() {
|
|
7823
7823
|
return "8";
|
|
7824
7824
|
}, YesNormal: function(A) {
|
|
7825
7825
|
var e = Xn(A);
|
|
7826
7826
|
e.scope = A.scope;
|
|
7827
|
-
var t = [], r =
|
|
7828
|
-
return t.push("q"), t.push("1 1 " + _e(
|
|
7827
|
+
var t = [], r = he.internal.calculateCross(A);
|
|
7828
|
+
return t.push("q"), t.push("1 1 " + _e(he.internal.getWidth(A) - 2) + " " + _e(he.internal.getHeight(A) - 2) + " re"), t.push("W"), t.push("n"), t.push(_e(r.x1.x) + " " + _e(r.x1.y) + " m"), t.push(_e(r.x2.x) + " " + _e(r.x2.y) + " l"), t.push(_e(r.x4.x) + " " + _e(r.x4.y) + " m"), t.push(_e(r.x3.x) + " " + _e(r.x3.y) + " l"), t.push("s"), t.push("Q"), e.stream = t.join(`
|
|
7829
7829
|
`), e;
|
|
7830
7830
|
}, YesPushDown: function(A) {
|
|
7831
7831
|
var e = Xn(A);
|
|
7832
7832
|
e.scope = A.scope;
|
|
7833
|
-
var t =
|
|
7834
|
-
return r.push("0.749023 g"), r.push("0 0 " + _e(
|
|
7833
|
+
var t = he.internal.calculateCross(A), r = [];
|
|
7834
|
+
return r.push("0.749023 g"), r.push("0 0 " + _e(he.internal.getWidth(A)) + " " + _e(he.internal.getHeight(A)) + " re"), r.push("f"), r.push("q"), r.push("1 1 " + _e(he.internal.getWidth(A) - 2) + " " + _e(he.internal.getHeight(A) - 2) + " re"), r.push("W"), r.push("n"), r.push(_e(t.x1.x) + " " + _e(t.x1.y) + " m"), r.push(_e(t.x2.x) + " " + _e(t.x2.y) + " l"), r.push(_e(t.x4.x) + " " + _e(t.x4.y) + " m"), r.push(_e(t.x3.x) + " " + _e(t.x3.y) + " l"), r.push("s"), r.push("Q"), e.stream = r.join(`
|
|
7835
7835
|
`), e;
|
|
7836
7836
|
}, OffPushDown: function(A) {
|
|
7837
7837
|
var e = Xn(A);
|
|
7838
7838
|
e.scope = A.scope;
|
|
7839
7839
|
var t = [];
|
|
7840
|
-
return t.push("0.749023 g"), t.push("0 0 " + _e(
|
|
7840
|
+
return t.push("0.749023 g"), t.push("0 0 " + _e(he.internal.getWidth(A)) + " " + _e(he.internal.getHeight(A)) + " re"), t.push("f"), e.stream = t.join(`
|
|
7841
7841
|
`), e;
|
|
7842
7842
|
} } }, createDefaultAppearanceStream: function(A) {
|
|
7843
7843
|
var e = A.scope.internal.getFont(A.fontName, A.fontStyle).id, t = A.scope.__private__.encodeColorString(A.color);
|
|
7844
7844
|
return "/" + e + " " + A.fontSize + " Tf " + t;
|
|
7845
7845
|
} };
|
|
7846
|
-
|
|
7847
|
-
var e =
|
|
7846
|
+
he.internal = { Bezier_C: 0.551915024494, calculateCross: function(A) {
|
|
7847
|
+
var e = he.internal.getWidth(A), t = he.internal.getHeight(A), r = Math.min(e, t);
|
|
7848
7848
|
return { x1: { x: (e - r) / 2, y: (t - r) / 2 + r }, x2: { x: (e - r) / 2 + r, y: (t - r) / 2 }, x3: { x: (e - r) / 2, y: (t - r) / 2 }, x4: { x: (e - r) / 2 + r, y: (t - r) / 2 + r } };
|
|
7849
|
-
} },
|
|
7849
|
+
} }, he.internal.getWidth = function(A) {
|
|
7850
7850
|
var e = 0;
|
|
7851
7851
|
return At(A) === "object" && (e = td(A.Rect[2])), e;
|
|
7852
|
-
},
|
|
7852
|
+
}, he.internal.getHeight = function(A) {
|
|
7853
7853
|
var e = 0;
|
|
7854
7854
|
return At(A) === "object" && (e = td(A.Rect[3])), e;
|
|
7855
7855
|
};
|
|
7856
7856
|
var K4 = yt.addField = function(A) {
|
|
7857
|
-
if (R4(this, A), !(A instanceof
|
|
7857
|
+
if (R4(this, A), !(A instanceof On))
|
|
7858
7858
|
throw new Error("Invalid argument passed to jsPDF.addField.");
|
|
7859
7859
|
var e;
|
|
7860
7860
|
return (e = A).scope.internal.acroformPlugin.printedOut && (e.scope.internal.acroformPlugin.printedOut = !1, e.scope.internal.acroformPlugin.acroFormDictionaryRoot = null), e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e), A.page = A.scope.internal.getCurrentPageInfo().pageNumber, this;
|
|
7861
7861
|
};
|
|
7862
|
-
yt.AcroFormChoiceField = Fs, yt.AcroFormListBox = bs, yt.AcroFormComboBox = Es, yt.AcroFormEditBox = D0, yt.AcroFormButton = Jt, yt.AcroFormPushButton = k0, yt.AcroFormRadioButton = _s, yt.AcroFormCheckBox = O0, yt.AcroFormTextField = Ea, yt.AcroFormPasswordField = H0, yt.AcroFormAppearance =
|
|
7862
|
+
yt.AcroFormChoiceField = Fs, yt.AcroFormListBox = bs, yt.AcroFormComboBox = Es, yt.AcroFormEditBox = D0, yt.AcroFormButton = Jt, yt.AcroFormPushButton = k0, yt.AcroFormRadioButton = _s, yt.AcroFormCheckBox = O0, yt.AcroFormTextField = Ea, yt.AcroFormPasswordField = H0, yt.AcroFormAppearance = he, yt.AcroForm = { ChoiceField: Fs, ListBox: bs, ComboBox: Es, EditBox: D0, Button: Jt, PushButton: k0, RadioButton: _s, CheckBox: O0, TextField: Ea, PasswordField: H0, Appearance: he }, xe.AcroForm = { ChoiceField: Fs, ListBox: bs, ComboBox: Es, EditBox: D0, Button: Jt, PushButton: k0, RadioButton: _s, CheckBox: O0, TextField: Ea, PasswordField: H0, Appearance: he };
|
|
7863
7863
|
function v2(A) {
|
|
7864
7864
|
return A.reduce(function(e, t, r) {
|
|
7865
7865
|
return e[t] = r, e;
|
|
@@ -8690,8 +8690,8 @@ var m0, sd, od, jf = ["times"];
|
|
|
8690
8690
|
}(SA.getFontList());
|
|
8691
8691
|
RA = function(ae) {
|
|
8692
8692
|
for (var KA = {}, XA = 0; XA < ae.length; ++XA) {
|
|
8693
|
-
var $A = Nu(ae[XA]), ee = $A.family,
|
|
8694
|
-
KA[ee] = KA[ee] || {}, KA[ee][
|
|
8693
|
+
var $A = Nu(ae[XA]), ee = $A.family, de = $A.stretch, ge = $A.style, Fe = $A.weight;
|
|
8694
|
+
KA[ee] = KA[ee] || {}, KA[ee][de] = KA[ee][de] || {}, KA[ee][de][ge] = KA[ee][de][ge] || {}, KA[ee][de][ge][Fe] = $A;
|
|
8695
8695
|
}
|
|
8696
8696
|
return KA;
|
|
8697
8697
|
}(HA.concat(Z));
|
|
@@ -8732,10 +8732,10 @@ var m0, sd, od, jf = ["times"];
|
|
|
8732
8732
|
return Kt;
|
|
8733
8733
|
}(XA);
|
|
8734
8734
|
if (this.fontFaces) {
|
|
8735
|
-
var
|
|
8735
|
+
var de = j4(zA(this.pdf, this.fontFaces), ee.map(function(me) {
|
|
8736
8736
|
return { family: me, stretch: "normal", weight: ae, style: HA };
|
|
8737
8737
|
}));
|
|
8738
|
-
this.pdf.setFont(
|
|
8738
|
+
this.pdf.setFont(de.ref.name, de.ref.style);
|
|
8739
8739
|
} else {
|
|
8740
8740
|
var ge = "";
|
|
8741
8741
|
(ae === "bold" || parseInt(ae, 10) >= 700 || HA === "bold") && (ge = "bold"), HA === "italic" && (ge += "italic"), ge.length === 0 && (ge = "normal");
|
|
@@ -8951,8 +8951,8 @@ var m0, sd, od, jf = ["times"];
|
|
|
8951
8951
|
d.prototype.drawImage = function(m, S, b, T, j, rA, sA, iA, CA) {
|
|
8952
8952
|
var NA = this.pdf.getImageProperties(m), RA = 1, zA = 1, ZA = 1, SA = 1;
|
|
8953
8953
|
T !== void 0 && iA !== void 0 && (ZA = iA / T, SA = CA / j, RA = NA.width / T * iA / T, zA = NA.height / j * CA / j), rA === void 0 && (rA = S, sA = b, S = 0, b = 0), T !== void 0 && iA === void 0 && (iA = T, CA = j), T === void 0 && iA === void 0 && (iA = NA.width, CA = NA.height);
|
|
8954
|
-
for (var Z, HA = this.ctx.transform.decompose(), ae = gA(HA.rotate.shx), KA = new o(), XA = (KA = (KA = (KA = KA.multiply(HA.translate)).multiply(HA.skew)).multiply(HA.scale)).applyToRectangle(new s(rA - S * ZA, sA - b * SA, T * RA, j * zA)), $A = x.call(this, XA), ee = [],
|
|
8955
|
-
ee.indexOf($A[
|
|
8954
|
+
for (var Z, HA = this.ctx.transform.decompose(), ae = gA(HA.rotate.shx), KA = new o(), XA = (KA = (KA = (KA = KA.multiply(HA.translate)).multiply(HA.skew)).multiply(HA.scale)).applyToRectangle(new s(rA - S * ZA, sA - b * SA, T * RA, j * zA)), $A = x.call(this, XA), ee = [], de = 0; de < $A.length; de += 1)
|
|
8955
|
+
ee.indexOf($A[de]) === -1 && ee.push($A[de]);
|
|
8956
8956
|
if (N(ee), this.autoPaging)
|
|
8957
8957
|
for (var ge = ee[0], Fe = ee[ee.length - 1], Ue = ge; Ue < Fe + 1; Ue++) {
|
|
8958
8958
|
this.pdf.setPage(Ue);
|
|
@@ -9029,12 +9029,12 @@ var m0, sd, od, jf = ["times"];
|
|
|
9029
9029
|
if (N(ZA), this.autoPaging)
|
|
9030
9030
|
for (var KA = ZA[0], XA = ZA[ZA.length - 1], $A = KA; $A < XA + 1; $A++) {
|
|
9031
9031
|
this.pdf.setPage($A), this.fillStyle = j, this.strokeStyle = rA, this.lineCap = sA, this.lineWidth = CA, this.lineJoin = NA;
|
|
9032
|
-
var ee = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1],
|
|
9032
|
+
var ee = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], de = $A === 1 ? this.posY + this.margin[0] : this.margin[0], ge = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Fe = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Ue = $A === 1 ? 0 : ge + ($A - 2) * Fe;
|
|
9033
9033
|
if (this.ctx.clip_path.length !== 0) {
|
|
9034
9034
|
var De = this.path;
|
|
9035
|
-
b = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = F(b, this.posX + this.margin[3], -Ue +
|
|
9035
|
+
b = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = F(b, this.posX + this.margin[3], -Ue + de + this.ctx.prevPageLastElemOffset), AA.call(this, m, !0), this.path = De;
|
|
9036
9036
|
}
|
|
9037
|
-
if (T = JSON.parse(JSON.stringify(RA)), this.path = F(T, this.posX + this.margin[3], -Ue +
|
|
9037
|
+
if (T = JSON.parse(JSON.stringify(RA)), this.path = F(T, this.posX + this.margin[3], -Ue + de + this.ctx.prevPageLastElemOffset), S === !1 || $A === 0) {
|
|
9038
9038
|
var ke = ($A > KA || $A < XA) && w.call(this);
|
|
9039
9039
|
ke && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], ee, Fe, null).clip().discardPath()), AA.call(this, m, S), ke && this.pdf.restoreGraphicsState();
|
|
9040
9040
|
}
|
|
@@ -9088,8 +9088,8 @@ var m0, sd, od, jf = ["times"];
|
|
|
9088
9088
|
else if (j[ae].close === !0)
|
|
9089
9089
|
this.pdf.internal.out("h"), HA = !1;
|
|
9090
9090
|
else if (j[ae].begin !== !0) {
|
|
9091
|
-
var ee = j[ae].start.x,
|
|
9092
|
-
q.call(this, j[ae].deltas, ee,
|
|
9091
|
+
var ee = j[ae].start.x, de = j[ae].start.y;
|
|
9092
|
+
q.call(this, j[ae].deltas, ee, de), HA = !0;
|
|
9093
9093
|
}
|
|
9094
9094
|
T && V.call(this, T), S && tA.call(this);
|
|
9095
9095
|
}
|
|
@@ -9166,7 +9166,7 @@ var m0, sd, od, jf = ["times"];
|
|
|
9166
9166
|
if (N(Z), this.autoPaging)
|
|
9167
9167
|
for (var ae = Z[0], KA = Z[Z.length - 1], XA = ae; XA < KA + 1; XA++) {
|
|
9168
9168
|
this.pdf.setPage(XA);
|
|
9169
|
-
var $A = XA === 1 ? this.posY + this.margin[0] : this.margin[0], ee = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2],
|
|
9169
|
+
var $A = XA === 1 ? this.posY + this.margin[0] : this.margin[0], ee = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], de = this.pdf.internal.pageSize.height - this.margin[2], ge = de - this.margin[0], Fe = this.pdf.internal.pageSize.width - this.margin[1], Ue = Fe - this.margin[3], De = XA === 1 ? 0 : ee + (XA - 2) * ge;
|
|
9170
9170
|
if (this.ctx.clip_path.length !== 0) {
|
|
9171
9171
|
var ke = this.path;
|
|
9172
9172
|
CA = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = F(CA, this.posX + this.margin[3], -1 * De + $A), AA.call(this, "fill", !0), this.path = ke;
|
|
@@ -9174,13 +9174,13 @@ var m0, sd, od, jf = ["times"];
|
|
|
9174
9174
|
var me = F([JSON.parse(JSON.stringify(ZA))], this.posX + this.margin[3], -De + $A + this.ctx.prevPageLastElemOffset)[0];
|
|
9175
9175
|
m.scale >= 0.01 && (NA = this.pdf.internal.getFontSize(), this.pdf.setFontSize(NA * m.scale), RA = this.lineWidth, this.lineWidth = RA * m.scale);
|
|
9176
9176
|
var Le = this.autoPaging !== "text";
|
|
9177
|
-
if (Le || me.y + me.h <=
|
|
9177
|
+
if (Le || me.y + me.h <= de) {
|
|
9178
9178
|
if (Le || me.y >= $A && me.x <= Fe) {
|
|
9179
9179
|
var re = Le ? m.text : this.pdf.splitTextToSize(m.text, m.maxWidth || Fe - me.x)[0], Kt = F([JSON.parse(JSON.stringify(zA))], this.posX + this.margin[3], -De + $A + this.ctx.prevPageLastElemOffset)[0], Pe = Le && (XA > ae || XA < KA) && w.call(this);
|
|
9180
9180
|
Pe && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], Ue, ge, null).clip().discardPath()), this.pdf.text(re, Kt.x, Kt.y, { angle: m.angle, align: S, renderingMode: m.renderingMode }), Pe && this.pdf.restoreGraphicsState();
|
|
9181
9181
|
}
|
|
9182
9182
|
} else
|
|
9183
|
-
me.y <
|
|
9183
|
+
me.y < de && (this.ctx.prevPageLastElemOffset += de - me.y);
|
|
9184
9184
|
m.scale >= 0.01 && (this.pdf.setFontSize(NA), this.lineWidth = RA);
|
|
9185
9185
|
}
|
|
9186
9186
|
else
|
|
@@ -9210,10 +9210,10 @@ var m0, sd, od, jf = ["times"];
|
|
|
9210
9210
|
var sA = m + 0.5 * (b - m), iA = S + 0.5 * (T - S), CA = j + 0.5 * (b - j), NA = rA + 0.5 * (T - rA), RA = Math.min(m, j, sA, CA), zA = Math.max(m, j, sA, CA), ZA = Math.min(S, rA, iA, NA), SA = Math.max(S, rA, iA, NA);
|
|
9211
9211
|
return new s(RA, ZA, zA - RA, SA - ZA);
|
|
9212
9212
|
}, _A = function(m, S, b, T, j, rA, sA, iA) {
|
|
9213
|
-
var CA, NA, RA, zA, ZA, SA, Z, HA, ae, KA, XA, $A, ee,
|
|
9213
|
+
var CA, NA, RA, zA, ZA, SA, Z, HA, ae, KA, XA, $A, ee, de, ge = b - m, Fe = T - S, Ue = j - b, De = rA - T, ke = sA - j, me = iA - rA;
|
|
9214
9214
|
for (NA = 0; NA < 41; NA++)
|
|
9215
|
-
ae = (Z = (RA = m + (CA = NA / 40) * ge) + CA * ((ZA = b + CA * Ue) - RA)) + CA * (ZA + CA * (j + CA * ke - ZA) - Z), KA = (HA = (zA = S + CA * Fe) + CA * ((SA = T + CA * De) - zA)) + CA * (SA + CA * (rA + CA * me - SA) - HA), NA == 0 ? (XA = ae, $A = KA, ee = ae,
|
|
9216
|
-
return new s(Math.round(XA), Math.round($A), Math.round(ee - XA), Math.round(
|
|
9215
|
+
ae = (Z = (RA = m + (CA = NA / 40) * ge) + CA * ((ZA = b + CA * Ue) - RA)) + CA * (ZA + CA * (j + CA * ke - ZA) - Z), KA = (HA = (zA = S + CA * Fe) + CA * ((SA = T + CA * De) - zA)) + CA * (SA + CA * (rA + CA * me - SA) - HA), NA == 0 ? (XA = ae, $A = KA, ee = ae, de = KA) : (XA = Math.min(XA, ae), $A = Math.min($A, KA), ee = Math.max(ee, ae), de = Math.max(de, KA));
|
|
9216
|
+
return new s(Math.round(XA), Math.round($A), Math.round(ee - XA), Math.round(de - $A));
|
|
9217
9217
|
}, jA = function() {
|
|
9218
9218
|
if (this.prevLineDash || this.ctx.lineDash.length || this.ctx.lineDashOffset) {
|
|
9219
9219
|
var m, S, b = (m = this.ctx.lineDash, S = this.ctx.lineDashOffset, JSON.stringify({ lineDash: m, lineDashOffset: S }));
|
|
@@ -10174,19 +10174,19 @@ function Wf(A) {
|
|
|
10174
10174
|
}
|
|
10175
10175
|
function _A(m, S, b, T, j) {
|
|
10176
10176
|
for (var rA, sA = j[0], iA = j[240], CA = function(KA, XA) {
|
|
10177
|
-
var $A, ee,
|
|
10177
|
+
var $A, ee, de, ge, Fe, Ue, De, ke, me, Le, re = 0;
|
|
10178
10178
|
for (me = 0; me < 8; ++me) {
|
|
10179
|
-
$A = KA[re], ee = KA[re + 1],
|
|
10180
|
-
var Kt = $A + (ke = KA[re + 7]), Pe = $A - ke, Ur = ee + De, Xe = ee - De, ft =
|
|
10181
|
-
KA[re] = gt +
|
|
10179
|
+
$A = KA[re], ee = KA[re + 1], de = KA[re + 2], ge = KA[re + 3], Fe = KA[re + 4], Ue = KA[re + 5], De = KA[re + 6];
|
|
10180
|
+
var Kt = $A + (ke = KA[re + 7]), Pe = $A - ke, Ur = ee + De, Xe = ee - De, ft = de + Ue, An = de - Ue, Re = ge + Fe, Mn = ge - Fe, gt = Kt + Re, Rr = Kt - Re, pn = Ur + ft, ot = Ur - ft;
|
|
10181
|
+
KA[re] = gt + pn, KA[re + 4] = gt - pn;
|
|
10182
10182
|
var be = 0.707106781 * (ot + Rr);
|
|
10183
10183
|
KA[re + 2] = Rr + be, KA[re + 6] = Rr - be;
|
|
10184
|
-
var Ve = 0.382683433 * ((gt = Mn + An) - (ot = Xe + Pe)), ri = 0.5411961 * gt + Ve, Vt = 1.306562965 * ot + Ve, en = 0.707106781 * (
|
|
10184
|
+
var Ve = 0.382683433 * ((gt = Mn + An) - (ot = Xe + Pe)), ri = 0.5411961 * gt + Ve, Vt = 1.306562965 * ot + Ve, en = 0.707106781 * (pn = An + Xe), tn = Pe + en, we = Pe - en;
|
|
10185
10185
|
KA[re + 5] = we + ri, KA[re + 3] = we - ri, KA[re + 1] = tn + Vt, KA[re + 7] = tn - Vt, re += 8;
|
|
10186
10186
|
}
|
|
10187
10187
|
for (re = 0, me = 0; me < 8; ++me) {
|
|
10188
|
-
$A = KA[re], ee = KA[re + 8],
|
|
10189
|
-
var Kr = $A + (ke = KA[re + 56]), Qr = $A - ke, cr = ee + De, Et = ee - De, mt =
|
|
10188
|
+
$A = KA[re], ee = KA[re + 8], de = KA[re + 16], ge = KA[re + 24], Fe = KA[re + 32], Ue = KA[re + 40], De = KA[re + 48];
|
|
10189
|
+
var Kr = $A + (ke = KA[re + 56]), Qr = $A - ke, cr = ee + De, Et = ee - De, mt = de + Ue, I = de - Ue, z = ge + Fe, R = ge - Fe, G = Kr + z, X = Kr - z, Y = cr + mt, BA = cr - mt;
|
|
10190
10190
|
KA[re] = G + Y, KA[re + 32] = G - Y;
|
|
10191
10191
|
var UA = 0.707106781 * (BA + X);
|
|
10192
10192
|
KA[re + 16] = X + UA, KA[re + 48] = X - UA;
|
|
@@ -10239,16 +10239,16 @@ function Wf(A) {
|
|
|
10239
10239
|
for (var ee = 0; ee < 64; ee++)
|
|
10240
10240
|
gA(s[ee]);
|
|
10241
10241
|
gA(1);
|
|
10242
|
-
for (var
|
|
10243
|
-
gA(o[
|
|
10244
|
-
}(), function(ee,
|
|
10245
|
-
EA(65472), EA(17), gA(8), EA(
|
|
10242
|
+
for (var de = 0; de < 64; de++)
|
|
10243
|
+
gA(o[de]);
|
|
10244
|
+
}(), function(ee, de) {
|
|
10245
|
+
EA(65472), EA(17), gA(8), EA(de), EA(ee), gA(3), gA(1), gA(17), gA(0), gA(2), gA(17), gA(1), gA(3), gA(17), gA(1);
|
|
10246
10246
|
}(m.width, m.height), function() {
|
|
10247
10247
|
EA(65476), EA(418), gA(0);
|
|
10248
10248
|
for (var ee = 0; ee < 16; ee++)
|
|
10249
10249
|
gA(k[ee + 1]);
|
|
10250
|
-
for (var
|
|
10251
|
-
gA(V[
|
|
10250
|
+
for (var de = 0; de <= 11; de++)
|
|
10251
|
+
gA(V[de]);
|
|
10252
10252
|
gA(16);
|
|
10253
10253
|
for (var ge = 0; ge < 16; ge++)
|
|
10254
10254
|
gA(tA[ge + 1]);
|
|
@@ -10303,7 +10303,7 @@ function Wf(A) {
|
|
|
10303
10303
|
* Licensed under the MIT License.
|
|
10304
10304
|
* http://opensource.org/licenses/mit-license
|
|
10305
10305
|
*/
|
|
10306
|
-
function
|
|
10306
|
+
function Un(A, e) {
|
|
10307
10307
|
if (this.pos = 0, this.buffer = A, this.datav = new DataView(A.buffer), this.is_with_alpha = !!e, this.bottom_up = !0, this.flag = String.fromCharCode(this.buffer[0]) + String.fromCharCode(this.buffer[1]), this.pos += 2, ["BM", "BA", "CI", "CP", "IC", "PT"].indexOf(this.flag) === -1)
|
|
10308
10308
|
throw new Error("Invalid BMP File");
|
|
10309
10309
|
this.parseHeader(), this.parseBGR();
|
|
@@ -10519,11 +10519,11 @@ function hd(A) {
|
|
|
10519
10519
|
function ee(c, u) {
|
|
10520
10520
|
return ((4278124286 & (c ^ u)) >>> 1) + (c & u) >>> 0;
|
|
10521
10521
|
}
|
|
10522
|
-
function
|
|
10522
|
+
function de(c) {
|
|
10523
10523
|
return 0 <= c && 256 > c ? c : 0 > c ? 0 : 255 < c ? 255 : void 0;
|
|
10524
10524
|
}
|
|
10525
10525
|
function ge(c, u) {
|
|
10526
|
-
return
|
|
10526
|
+
return de(c + (c - u + 0.5 >> 1));
|
|
10527
10527
|
}
|
|
10528
10528
|
function Fe(c, u, B) {
|
|
10529
10529
|
return Math.abs(u - B) - Math.abs(c - B);
|
|
@@ -10618,7 +10618,7 @@ function hd(A) {
|
|
|
10618
10618
|
function Rr() {
|
|
10619
10619
|
this.Rd = this.height = this.width = this.S = 0, this.f = {}, this.f.RGBA = new Mn(), this.f.kb = new gt(), this.sd = null;
|
|
10620
10620
|
}
|
|
10621
|
-
function
|
|
10621
|
+
function pn() {
|
|
10622
10622
|
this.width = [0], this.height = [0], this.Pd = [0], this.Qd = [0], this.format = [0];
|
|
10623
10623
|
}
|
|
10624
10624
|
function ot() {
|
|
@@ -10738,9 +10738,9 @@ function hd(A) {
|
|
|
10738
10738
|
QA[DA] = hA[lA + DA];
|
|
10739
10739
|
for (DA = MA - 1; 0 <= DA; --DA)
|
|
10740
10740
|
oA[xA + DA] = QA[DA];
|
|
10741
|
-
|
|
10741
|
+
Cn(W, aA, mA, P, OA, P, O);
|
|
10742
10742
|
} else
|
|
10743
|
-
|
|
10743
|
+
Cn(W, aA, mA, xA, hA, P, O);
|
|
10744
10744
|
}
|
|
10745
10745
|
O = C, P = B;
|
|
10746
10746
|
}
|
|
@@ -10761,7 +10761,7 @@ function hd(A) {
|
|
|
10761
10761
|
var hA = D, OA = O, QA = E, oA = W, lA = aA;
|
|
10762
10762
|
switch (C) {
|
|
10763
10763
|
case Ql:
|
|
10764
|
-
|
|
10764
|
+
yn(hA, OA, QA, oA, lA);
|
|
10765
10765
|
break;
|
|
10766
10766
|
case Tl:
|
|
10767
10767
|
Li(hA, OA, QA, oA, lA);
|
|
@@ -10907,7 +10907,7 @@ function hd(A) {
|
|
|
10907
10907
|
}
|
|
10908
10908
|
function UA() {
|
|
10909
10909
|
var c = new qc();
|
|
10910
|
-
return c == null ? null : (c.a = 0, c.xb = Eh, An("Predictor", "VP8LPredictors"), An("Predictor", "VP8LPredictors_C"), An("PredictorAdd", "VP8LPredictorsAdd"), An("PredictorAdd", "VP8LPredictorsAdd_C"), _l = De, rn = me,
|
|
10910
|
+
return c == null ? null : (c.a = 0, c.xb = Eh, An("Predictor", "VP8LPredictors"), An("Predictor", "VP8LPredictors_C"), An("PredictorAdd", "VP8LPredictorsAdd"), An("PredictorAdd", "VP8LPredictorsAdd_C"), _l = De, rn = me, yn = re, Li = Kt, Gn = Pe, oi = Ur, Ya = Xe, k.VP8LMapColor32b = io, k.VP8LMapColor8b = Zc, c);
|
|
10911
10911
|
}
|
|
10912
10912
|
function wA(c, u, B, C, E) {
|
|
10913
10913
|
var L = 1, D = [c], O = [u], P = C.m, W = C.s, aA = null, mA = 0;
|
|
@@ -10986,7 +10986,7 @@ function hd(A) {
|
|
|
10986
10986
|
}
|
|
10987
10987
|
var Pl = of;
|
|
10988
10988
|
for (nt = kt = 0; nt < Cr; ++nt) {
|
|
10989
|
-
var
|
|
10989
|
+
var _n = Hl[nt], es = _n.G, ts = _n.H, Oh = 0, Ml = 1, Hh = 0;
|
|
10990
10990
|
for (Qe = 0; 5 > Qe; ++Qe) {
|
|
10991
10991
|
Ct = Fh[Qe], es[Qe] = Pl, ts[Qe] = kt, !Qe && 0 < Je && (Ct += 1 << Je);
|
|
10992
10992
|
n: {
|
|
@@ -11044,8 +11044,8 @@ function hd(A) {
|
|
|
11044
11044
|
Hh += hf;
|
|
11045
11045
|
}
|
|
11046
11046
|
}
|
|
11047
|
-
if (
|
|
11048
|
-
var Wl, di =
|
|
11047
|
+
if (_n.nd = Ml, _n.Qb = 0, Ml && (_n.qb = (es[3][ts[3] + 0].value << 24 | es[1][ts[1] + 0].value << 16 | es[2][ts[2] + 0].value) >>> 0, Oh == 0 && 256 > es[0][ts[0] + 0].value && (_n.Qb = 1, _n.qb += es[0][ts[0] + 0].value << 8)), _n.jc = !_n.Qb && 6 > Hh, _n.jc) {
|
|
11048
|
+
var Wl, di = _n;
|
|
11049
11049
|
for (Wl = 0; Wl < Lr; ++Wl) {
|
|
11050
11050
|
var Ri = Wl, Ki = di.pd[Ri], Xl = di.G[0][di.H[0] + Ri];
|
|
11051
11051
|
256 <= Xl.value ? (Ki.g = Xl.g + 256, Ki.value = Xl.value) : (Ki.g = 0, Ki.value = 0, Ri >>= Et(Xl, 8, Ki), Ri >>= Et(di.G[1][di.H[1] + Ri], 16, Ki), Ri >>= Et(di.G[2][di.H[2] + Ri], 0, Ki), Et(di.G[3][di.H[3] + Ri], 24, Ki));
|
|
@@ -11127,23 +11127,23 @@ function hd(A) {
|
|
|
11127
11127
|
function Nt() {
|
|
11128
11128
|
this.Sc = [0, 0], this.Eb = [0, 0], this.Qc = [0, 0], this.ia = this.lc = 0;
|
|
11129
11129
|
}
|
|
11130
|
-
function
|
|
11130
|
+
function wn() {
|
|
11131
11131
|
this.ad = i(384), this.Za = 0, this.Ob = i(16), this.$b = this.Ad = this.ia = this.Gc = this.Hc = this.Dd = 0;
|
|
11132
11132
|
}
|
|
11133
11133
|
function ni() {
|
|
11134
|
-
this.uc = this.M = this.Nb = 0, this.wa = Array(new ze()), this.Y = 0, this.ya = Array(new
|
|
11134
|
+
this.uc = this.M = this.Nb = 0, this.wa = Array(new ze()), this.Y = 0, this.ya = Array(new wn()), this.aa = 0, this.l = new Kn();
|
|
11135
11135
|
}
|
|
11136
11136
|
function Rn() {
|
|
11137
11137
|
this.y = i(16), this.f = i(8), this.ea = i(8);
|
|
11138
11138
|
}
|
|
11139
|
-
function
|
|
11140
|
-
this.cb = this.a = 0, this.sc = "", this.m = new jA(), this.Od = new VA(), this.Kc = new qA(), this.ed = new ye(), this.Qa = new ie(), this.Ic = this.$c = this.Aa = 0, this.D = new ni(), this.Xb = this.Va = this.Hb = this.zb = this.yb = this.Ub = this.za = 0, this.Jc = a(8, jA), this.ia = 0, this.pb = a(4, Nt), this.Pa = new ne(), this.Bd = this.kc = 0, this.Ac = [], this.Bc = 0, this.zc = [0, 0, 0, 0], this.Gd = Array(new Rn()), this.Hd = 0, this.rb = Array(new rt()), this.sb = 0, this.wa = Array(new ze()), this.Y = 0, this.oc = [], this.pc = 0, this.sa = [], this.ta = 0, this.qa = [], this.ra = 0, this.Ha = [], this.B = this.R = this.Ia = 0, this.Ec = [], this.M = this.ja = this.Vb = this.Fc = 0, this.ya = Array(new
|
|
11139
|
+
function Bn() {
|
|
11140
|
+
this.cb = this.a = 0, this.sc = "", this.m = new jA(), this.Od = new VA(), this.Kc = new qA(), this.ed = new ye(), this.Qa = new ie(), this.Ic = this.$c = this.Aa = 0, this.D = new ni(), this.Xb = this.Va = this.Hb = this.zb = this.yb = this.Ub = this.za = 0, this.Jc = a(8, jA), this.ia = 0, this.pb = a(4, Nt), this.Pa = new ne(), this.Bd = this.kc = 0, this.Ac = [], this.Bc = 0, this.zc = [0, 0, 0, 0], this.Gd = Array(new Rn()), this.Hd = 0, this.rb = Array(new rt()), this.sb = 0, this.wa = Array(new ze()), this.Y = 0, this.oc = [], this.pc = 0, this.sa = [], this.ta = 0, this.qa = [], this.ra = 0, this.Ha = [], this.B = this.R = this.Ia = 0, this.Ec = [], this.M = this.ja = this.Vb = this.Fc = 0, this.ya = Array(new wn()), this.L = this.aa = 0, this.gd = s([4, 2], ze), this.ga = null, this.Fa = [], this.Cc = this.qc = this.P = 0, this.Gb = [], this.Uc = 0, this.mb = [], this.nb = 0, this.rc = [], this.Ga = this.Vc = 0;
|
|
11141
11141
|
}
|
|
11142
11142
|
function Kn() {
|
|
11143
11143
|
this.T = this.U = this.ka = this.height = this.width = 0, this.y = [], this.f = [], this.ea = [], this.Rc = this.fa = this.W = this.N = this.O = 0, this.ma = "void", this.put = "VP8IoPutHook", this.ac = "VP8IoSetupHook", this.bc = "VP8IoTeardownHook", this.ha = this.Kb = 0, this.data = [], this.hb = this.ib = this.da = this.o = this.j = this.va = this.v = this.Da = this.ob = this.w = 0, this.F = [], this.J = 0;
|
|
11144
11144
|
}
|
|
11145
11145
|
function Vr() {
|
|
11146
|
-
var c = new
|
|
11146
|
+
var c = new Bn();
|
|
11147
11147
|
return c != null && (c.a = 0, c.sc = "OK", c.cb = 0, c.Xb = 0, oo || (oo = ul)), c;
|
|
11148
11148
|
}
|
|
11149
11149
|
function _t(c, u, B) {
|
|
@@ -11320,7 +11320,7 @@ function hd(A) {
|
|
|
11320
11320
|
}
|
|
11321
11321
|
c.Vb = D;
|
|
11322
11322
|
}
|
|
11323
|
-
D = c.Ec, O = c.Fc, c.Ac = D, c.Bc = O, O += C, c.Gd = a(W, Rn), c.Hd = 0, c.rb = a(aA + 1, rt), c.sb = 1, c.wa = mA ? a(mA, ze) : null, c.Y = 0, c.D.Nb = 0, c.D.wa = c.wa, c.D.Y = c.Y, 0 < c.Aa && (c.D.Y += P), e(!0), c.oc = D, c.pc = O, O += 832, c.ya = a(xA,
|
|
11323
|
+
D = c.Ec, O = c.Fc, c.Ac = D, c.Bc = O, O += C, c.Gd = a(W, Rn), c.Hd = 0, c.rb = a(aA + 1, rt), c.sb = 1, c.wa = mA ? a(mA, ze) : null, c.Y = 0, c.D.Nb = 0, c.D.wa = c.wa, c.D.Y = c.Y, 0 < c.Aa && (c.D.Y += P), e(!0), c.oc = D, c.pc = O, O += 832, c.ya = a(xA, wn), c.aa = 0, c.D.ya = c.ya, c.D.aa = c.aa, c.Aa == 2 && (c.D.aa += P), c.R = 16 * P, c.B = 8 * P, P = (W = Ol[c.L]) * c.R, W = W / 2 * c.B, c.sa = D, c.ta = O + P, c.qa = c.sa, c.ra = c.ta + 16 * B * c.R + W, c.Ha = c.qa, c.Ia = c.ra + 8 * B * c.B + W, c.$c = 0, O += E, c.mb = L ? D : null, c.nb = L ? O : null, e(O + L <= c.Fc + c.Vb), Ms(c), n(c.Ac, c.Bc, 0, C), B = 1;
|
|
11324
11324
|
}
|
|
11325
11325
|
}
|
|
11326
11326
|
if (B) {
|
|
@@ -11335,7 +11335,7 @@ function hd(A) {
|
|
|
11335
11335
|
mh[255 + B] = 0 > B ? 0 : 255 < B ? 255 : B;
|
|
11336
11336
|
xh = 1;
|
|
11337
11337
|
}
|
|
11338
|
-
|
|
11338
|
+
Fn = Dc, Ja = Ic, Ii = dl, bn = Nc, li = gl, ao = hl, da = Ws, Za = ua, ga = zc, Ni = Xs, so = Xc, nn = Ka, ci = zs, ut = Fl, ht = yl, St = ai, Gt = Si, fi = Wc, En[0] = Vn, En[1] = kc, En[2] = Mc, En[3] = Rc, En[4] = Bl, En[5] = Ma, En[6] = vl, En[7] = Vs, En[8] = Vc, En[9] = Kc, ki[0] = pl, ki[1] = Hc, ki[2] = ii, ki[3] = Ha, ki[4] = fr, ki[5] = Pc, ki[6] = wl, ui[0] = _i, ui[1] = Oc, ui[2] = Gc, ui[3] = Gs, ui[4] = fa, ui[5] = jc, ui[6] = js, B = 1;
|
|
11339
11339
|
} else
|
|
11340
11340
|
B = 0;
|
|
11341
11341
|
}
|
|
@@ -11373,7 +11373,7 @@ function hd(A) {
|
|
|
11373
11373
|
lt = i(16);
|
|
11374
11374
|
var Ot = MA.Na + Ye.Na;
|
|
11375
11375
|
if (Ot = oo(le, Ae[1], Ot, te.Eb, 0, lt, 0), MA.Na = Ye.Na = (0 < Ot) + 0, 1 < Ot)
|
|
11376
|
-
|
|
11376
|
+
Fn(lt, 0, kA, je);
|
|
11377
11377
|
else {
|
|
11378
11378
|
var Dr = lt[0] + 3 >> 3;
|
|
11379
11379
|
for (lt = 0; 256 > lt; lt += 16)
|
|
@@ -11434,11 +11434,11 @@ function hd(A) {
|
|
|
11434
11434
|
}
|
|
11435
11435
|
return B ? (c.cb = 0, B) : 0;
|
|
11436
11436
|
}
|
|
11437
|
-
function
|
|
11437
|
+
function vn(c, u, B, C, E) {
|
|
11438
11438
|
E = c[u + B + 32 * C] + (E >> 3), c[u + B + 32 * C] = -256 & E ? 0 > E ? 0 : 255 : E;
|
|
11439
11439
|
}
|
|
11440
11440
|
function Oa(c, u, B, C, E, L) {
|
|
11441
|
-
|
|
11441
|
+
vn(c, u, 0, B, C + E), vn(c, u, 1, B, C + L), vn(c, u, 2, B, C - L), vn(c, u, 3, B, C - E);
|
|
11442
11442
|
}
|
|
11443
11443
|
function Tr(c) {
|
|
11444
11444
|
return (20091 * c >> 16) + c;
|
|
@@ -11450,7 +11450,7 @@ function hd(A) {
|
|
|
11450
11450
|
D[L + 0] = O + aA, D[L + 1] = P + W, D[L + 2] = P - W, D[L + 3] = O - aA, L += 4, u++;
|
|
11451
11451
|
}
|
|
11452
11452
|
for (E = L = 0; 4 > E; ++E)
|
|
11453
|
-
O = (c = D[L + 0] + 4) + D[L + 8], P = c - D[L + 8], W = (35468 * D[L + 4] >> 16) - Tr(D[L + 12]),
|
|
11453
|
+
O = (c = D[L + 0] + 4) + D[L + 8], P = c - D[L + 8], W = (35468 * D[L + 4] >> 16) - Tr(D[L + 12]), vn(B, C, 0, 0, O + (aA = Tr(D[L + 4]) + (35468 * D[L + 12] >> 16))), vn(B, C, 1, 0, P + W), vn(B, C, 2, 0, P - W), vn(B, C, 3, 0, O - aA), L++, C += 32;
|
|
11454
11454
|
}
|
|
11455
11455
|
function hl(c, u, B, C) {
|
|
11456
11456
|
var E = c[u + 0] + 4, L = 35468 * c[u + 4] >> 16, D = Tr(c[u + 4]), O = 35468 * c[u + 1] >> 16;
|
|
@@ -11466,10 +11466,10 @@ function hd(A) {
|
|
|
11466
11466
|
var E;
|
|
11467
11467
|
for (c = c[u + 0] + 4, E = 0; 4 > E; ++E)
|
|
11468
11468
|
for (u = 0; 4 > u; ++u)
|
|
11469
|
-
|
|
11469
|
+
vn(B, C, u, E, c);
|
|
11470
11470
|
}
|
|
11471
11471
|
function gl(c, u, B, C) {
|
|
11472
|
-
c[u + 0] &&
|
|
11472
|
+
c[u + 0] && bn(c, u + 0, B, C), c[u + 16] && bn(c, u + 16, B, C + 4), c[u + 32] && bn(c, u + 32, B, C + 128), c[u + 48] && bn(c, u + 48, B, C + 128 + 4);
|
|
11473
11473
|
}
|
|
11474
11474
|
function Dc(c, u, B, C) {
|
|
11475
11475
|
var E, L = i(16);
|
|
@@ -11660,7 +11660,7 @@ function hd(A) {
|
|
|
11660
11660
|
u += C;
|
|
11661
11661
|
}
|
|
11662
11662
|
}
|
|
11663
|
-
function
|
|
11663
|
+
function mn(c, u, B, C, E, L, D, O) {
|
|
11664
11664
|
for (L = 2 * L + 1; 0 < E--; ) {
|
|
11665
11665
|
if (Cl(c, u, B, L, D))
|
|
11666
11666
|
if (ml(c, u, B, O))
|
|
@@ -11681,12 +11681,12 @@ function hd(A) {
|
|
|
11681
11681
|
function Xc(c, u, B, C, E, L) {
|
|
11682
11682
|
var D;
|
|
11683
11683
|
for (D = 3; 0 < D; --D)
|
|
11684
|
-
|
|
11684
|
+
mn(c, u += 4 * B, B, 1, 16, C, E, L);
|
|
11685
11685
|
}
|
|
11686
11686
|
function Ka(c, u, B, C, E, L) {
|
|
11687
11687
|
var D;
|
|
11688
11688
|
for (D = 3; 0 < D; --D)
|
|
11689
|
-
|
|
11689
|
+
mn(c, u += 4, 1, B, 16, C, E, L);
|
|
11690
11690
|
}
|
|
11691
11691
|
function zc(c, u, B, C, E, L, D, O) {
|
|
11692
11692
|
Ui(c, u, E, 1, 8, L, D, O), Ui(B, C, E, 1, 8, L, D, O);
|
|
@@ -11695,10 +11695,10 @@ function hd(A) {
|
|
|
11695
11695
|
Ui(c, u, 1, E, 8, L, D, O), Ui(B, C, 1, E, 8, L, D, O);
|
|
11696
11696
|
}
|
|
11697
11697
|
function zs(c, u, B, C, E, L, D, O) {
|
|
11698
|
-
|
|
11698
|
+
mn(c, u + 4 * E, E, 1, 8, L, D, O), mn(B, C + 4 * E, E, 1, 8, L, D, O);
|
|
11699
11699
|
}
|
|
11700
11700
|
function Fl(c, u, B, C, E, L, D, O) {
|
|
11701
|
-
|
|
11701
|
+
mn(c, u + 4, 1, E, 8, L, D, O), mn(B, C + 4, 1, E, 8, L, D, O);
|
|
11702
11702
|
}
|
|
11703
11703
|
function Va() {
|
|
11704
11704
|
this.ba = new Rr(), this.ec = [], this.cc = [], this.Mc = [], this.Dc = this.Nc = this.dc = this.fc = 0, this.Oa = new ot(), this.memory = 0, this.Ib = "OutputFunc", this.Jb = "OutputAlphaFunc", this.Nd = "OutputRowFunc";
|
|
@@ -11924,7 +11924,7 @@ function hd(A) {
|
|
|
11924
11924
|
function Xt(c, u, B, C, E) {
|
|
11925
11925
|
vt(c, u, B, C, E), C[E + 3] = 255;
|
|
11926
11926
|
}
|
|
11927
|
-
function
|
|
11927
|
+
function xn(c, u, B, C, E) {
|
|
11928
11928
|
Me(c, u, B, C, E), C[E + 3] = 255;
|
|
11929
11929
|
}
|
|
11930
11930
|
function Gr(c, u) {
|
|
@@ -11949,7 +11949,7 @@ function hd(A) {
|
|
|
11949
11949
|
ao(u, B, C, E);
|
|
11950
11950
|
break;
|
|
11951
11951
|
case 1:
|
|
11952
|
-
|
|
11952
|
+
bn(u, B, C, E);
|
|
11953
11953
|
}
|
|
11954
11954
|
}
|
|
11955
11955
|
function Ao(c, u) {
|
|
@@ -11972,7 +11972,7 @@ function hd(A) {
|
|
|
11972
11972
|
for (0 < E && (C >= c.za - 1 ? n(lA, DA, hA[OA].y[15], 4) : r(lA, DA, hA[OA + 1].y, 0, 4)), B = 0; 4 > B; B++)
|
|
11973
11973
|
lA[DA + 128 + B] = lA[DA + 256 + B] = lA[DA + 384 + B] = lA[DA + 0 + B];
|
|
11974
11974
|
for (B = 0; 16 > B; ++B, oA <<= 2)
|
|
11975
|
-
lA = D, DA = O + Ih[B],
|
|
11975
|
+
lA = D, DA = O + Ih[B], En[xA.Ob[B]](lA, DA), $s(oA, QA, 16 * +B, lA, DA);
|
|
11976
11976
|
} else if (lA = El(C, E, xA.Ob[0]), ki[lA](D, O), oA != 0)
|
|
11977
11977
|
for (B = 0; 16 > B; ++B, oA <<= 2)
|
|
11978
11978
|
$s(oA, QA, 16 * +B, D, O + Ih[B]);
|
|
@@ -12222,7 +12222,7 @@ function hd(A) {
|
|
|
12222
12222
|
return 0 >= Fe(C >> 24 & 255, c >> 24 & 255, (u = u[B - 1]) >> 24 & 255) + Fe(C >> 16 & 255, c >> 16 & 255, u >> 16 & 255) + Fe(C >> 8 & 255, c >> 8 & 255, u >> 8 & 255) + Fe(255 & C, 255 & c, 255 & u) ? C : c;
|
|
12223
12223
|
}, k.Predictor12 = function(c, u, B) {
|
|
12224
12224
|
var C = u[B + 0];
|
|
12225
|
-
return (
|
|
12225
|
+
return (de((c >> 24 & 255) + (C >> 24 & 255) - ((u = u[B - 1]) >> 24 & 255)) << 24 | de((c >> 16 & 255) + (C >> 16 & 255) - (u >> 16 & 255)) << 16 | de((c >> 8 & 255) + (C >> 8 & 255) - (u >> 8 & 255)) << 8 | de((255 & c) + (255 & C) - (255 & u))) >>> 0;
|
|
12226
12226
|
}, k.Predictor13 = function(c, u, B) {
|
|
12227
12227
|
var C = u[B - 1];
|
|
12228
12228
|
return (ge((c = ee(c, u[B + 0])) >> 24 & 255, C >> 24 & 255) << 24 | ge(c >> 16 & 255, C >> 16 & 255) << 16 | ge(c >> 8 & 255, C >> 8 & 255) << 8 | ge(c >> 0 & 255, C >> 0 & 255)) >>> 0;
|
|
@@ -12239,17 +12239,17 @@ function hd(A) {
|
|
|
12239
12239
|
}, function(c) {
|
|
12240
12240
|
return c >> 8 & 255;
|
|
12241
12241
|
});
|
|
12242
|
-
var _l,
|
|
12242
|
+
var _l, Cn = k.ColorIndexInverseTransform, io = k.MapARGB, Jc = k.VP8LColorIndexInverseTransformAlpha, Zc = k.MapAlpha, Ti = k.VP8LPredictorsAdd = [];
|
|
12243
12243
|
Ti.length = 16, (k.VP8LPredictors = []).length = 16, (k.VP8LPredictorsAdd_C = []).length = 16, (k.VP8LPredictors_C = []).length = 16;
|
|
12244
|
-
var rn, Fn, Li, Gn, oi, Ya, bn, Ja, ao, Ii, En, li, da, Za, ga, Ni, so, nn, ci, ut, ht, St, Gt, fi, Di, $a, Sl, ph, wh = i(511), Bh = i(2041), vh = i(225), mh = i(767), xh = 0, $c = Bh, Ul = vh, jr = mh, an = wh, Ql = 0, Tl = 1, Ch = 2, Ll = 3, Il = 4, Af = 5, yh = 6, ef = 7, tf = 8, Nl = 9, rf = 10, iw = [2, 3, 7], aw = [3, 3, 11], Fh = [280, 256, 256, 256, 40], sw = [0, 1, 1, 1, 0], ow = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], lw = [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], cw = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], fw = 8, nf = [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], af = [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], oo = null, uw = [[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]], hw = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], bh = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], dw = [[[[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]]]], gw = [[[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]]], pw = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 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]]]], ww = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], ki = [], _n = [], ui = [], Bw = 1, Eh = 2, Oi = [], sn = [];
|
|
12245
|
-
TA("UpsampleRgbLinePair", Me, 3), TA("UpsampleBgrLinePair", vt, 3), TA("UpsampleRgbaLinePair",
|
|
12244
|
+
var rn, yn, Li, Gn, oi, Ya, Fn, Ja, ao, Ii, bn, li, da, Za, ga, Ni, so, nn, ci, ut, ht, St, Gt, fi, Di, $a, Sl, ph, wh = i(511), Bh = i(2041), vh = i(225), mh = i(767), xh = 0, $c = Bh, Ul = vh, jr = mh, an = wh, Ql = 0, Tl = 1, Ch = 2, Ll = 3, Il = 4, Af = 5, yh = 6, ef = 7, tf = 8, Nl = 9, rf = 10, iw = [2, 3, 7], aw = [3, 3, 11], Fh = [280, 256, 256, 256, 40], sw = [0, 1, 1, 1, 0], ow = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], lw = [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], cw = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], fw = 8, nf = [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], af = [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], oo = null, uw = [[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]], hw = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], bh = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], dw = [[[[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]]]], gw = [[[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]]], pw = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 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]]]], ww = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], ki = [], En = [], ui = [], Bw = 1, Eh = 2, Oi = [], sn = [];
|
|
12245
|
+
TA("UpsampleRgbLinePair", Me, 3), TA("UpsampleBgrLinePair", vt, 3), TA("UpsampleRgbaLinePair", xn, 4), TA("UpsampleBgraLinePair", Xt, 4), TA("UpsampleArgbLinePair", ur, 4), TA("UpsampleRgba4444LinePair", Dt, 2), TA("UpsampleRgb565LinePair", xt, 2);
|
|
12246
12246
|
var vw = k.UpsampleRgbLinePair, mw = k.UpsampleBgrLinePair, _h = k.UpsampleRgbaLinePair, Sh = k.UpsampleBgraLinePair, Uh = k.UpsampleArgbLinePair, Qh = k.UpsampleRgba4444LinePair, xw = k.UpsampleRgb565LinePair, Dl = 16, kl = 1 << Dl - 1, lo = -227, sf = 482, Th = 6, Cw = (256 << Th) - 1, Lh = 0, yw = i(256), Fw = i(256), bw = i(256), Ew = i(256), _w = i(sf - lo), Sw = i(sf - lo);
|
|
12247
|
-
si("YuvToRgbRow", Me, 3), si("YuvToBgrRow", vt, 3), si("YuvToRgbaRow",
|
|
12247
|
+
si("YuvToRgbRow", Me, 3), si("YuvToBgrRow", vt, 3), si("YuvToRgbaRow", xn, 4), si("YuvToBgraRow", Xt, 4), si("YuvToArgbRow", ur, 4), si("YuvToRgba4444Row", Dt, 2), si("YuvToRgb565Row", xt, 2);
|
|
12248
12248
|
var Ih = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], Ol = [0, 2, 8], Uw = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], Qw = 1;
|
|
12249
12249
|
this.WebPDecodeRGBA = function(c, u, B, C, E) {
|
|
12250
12250
|
var L = Tl, D = new Va(), O = new Rr();
|
|
12251
12251
|
D.ba = O, O.S = L, O.width = [O.width], O.height = [O.height];
|
|
12252
|
-
var P = O.width, W = O.height, aA = new
|
|
12252
|
+
var P = O.width, W = O.height, aA = new pn();
|
|
12253
12253
|
if (aA == null || c == null)
|
|
12254
12254
|
var mA = 2;
|
|
12255
12255
|
else
|
|
@@ -12550,7 +12550,7 @@ function hd(A) {
|
|
|
12550
12550
|
var l = { data: o, width: a, height: s }, f = new Wf(100).encode(l, 100);
|
|
12551
12551
|
return A.processJPEG.call(this, f, t, r, n);
|
|
12552
12552
|
}, A.processGIF87A = A.processGIF89A;
|
|
12553
|
-
}(xe.API),
|
|
12553
|
+
}(xe.API), Un.prototype.parseHeader = function() {
|
|
12554
12554
|
if (this.fileSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.reserved = this.datav.getUint32(this.pos, !0), this.pos += 4, this.offset = this.datav.getUint32(this.pos, !0), this.pos += 4, this.headerSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.width = this.datav.getUint32(this.pos, !0), this.pos += 4, this.height = this.datav.getInt32(this.pos, !0), this.pos += 4, this.planes = this.datav.getUint16(this.pos, !0), this.pos += 2, this.bitPP = this.datav.getUint16(this.pos, !0), this.pos += 2, this.compress = this.datav.getUint32(this.pos, !0), this.pos += 4, this.rawSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.hr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.vr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.colors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.importantColors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.bitPP === 16 && this.is_with_alpha && (this.bitPP = 15), this.bitPP < 15) {
|
|
12555
12555
|
var A = this.colors === 0 ? 1 << this.bitPP : this.colors;
|
|
12556
12556
|
this.palette = new Array(A);
|
|
@@ -12560,7 +12560,7 @@ function hd(A) {
|
|
|
12560
12560
|
}
|
|
12561
12561
|
}
|
|
12562
12562
|
this.height < 0 && (this.height *= -1, this.bottom_up = !1);
|
|
12563
|
-
},
|
|
12563
|
+
}, Un.prototype.parseBGR = function() {
|
|
12564
12564
|
this.pos = this.offset;
|
|
12565
12565
|
try {
|
|
12566
12566
|
var A = "bit" + this.bitPP, e = this.width * this.height * 4;
|
|
@@ -12568,7 +12568,7 @@ function hd(A) {
|
|
|
12568
12568
|
} catch (t) {
|
|
12569
12569
|
ct.log("bit decode error:" + t);
|
|
12570
12570
|
}
|
|
12571
|
-
},
|
|
12571
|
+
}, Un.prototype.bit1 = function() {
|
|
12572
12572
|
var A, e = Math.ceil(this.width / 8), t = e % 4;
|
|
12573
12573
|
for (A = this.height - 1; A >= 0; A--) {
|
|
12574
12574
|
for (var r = this.bottom_up ? A : this.height - 1 - A, n = 0; n < e; n++)
|
|
@@ -12578,7 +12578,7 @@ function hd(A) {
|
|
|
12578
12578
|
}
|
|
12579
12579
|
t !== 0 && (this.pos += 4 - t);
|
|
12580
12580
|
}
|
|
12581
|
-
},
|
|
12581
|
+
}, Un.prototype.bit4 = function() {
|
|
12582
12582
|
for (var A = Math.ceil(this.width / 2), e = A % 4, t = this.height - 1; t >= 0; t--) {
|
|
12583
12583
|
for (var r = this.bottom_up ? t : this.height - 1 - t, n = 0; n < A; n++) {
|
|
12584
12584
|
var i = this.datav.getUint8(this.pos++, !0), a = r * this.width * 4 + 2 * n * 4, s = i >> 4, o = 15 & i, l = this.palette[s];
|
|
@@ -12588,7 +12588,7 @@ function hd(A) {
|
|
|
12588
12588
|
}
|
|
12589
12589
|
e !== 0 && (this.pos += 4 - e);
|
|
12590
12590
|
}
|
|
12591
|
-
},
|
|
12591
|
+
}, Un.prototype.bit8 = function() {
|
|
12592
12592
|
for (var A = this.width % 4, e = this.height - 1; e >= 0; e--) {
|
|
12593
12593
|
for (var t = this.bottom_up ? e : this.height - 1 - e, r = 0; r < this.width; r++) {
|
|
12594
12594
|
var n = this.datav.getUint8(this.pos++, !0), i = t * this.width * 4 + 4 * r;
|
|
@@ -12600,7 +12600,7 @@ function hd(A) {
|
|
|
12600
12600
|
}
|
|
12601
12601
|
A !== 0 && (this.pos += 4 - A);
|
|
12602
12602
|
}
|
|
12603
|
-
},
|
|
12603
|
+
}, Un.prototype.bit15 = function() {
|
|
12604
12604
|
for (var A = this.width % 3, e = parseInt("11111", 2), t = this.height - 1; t >= 0; t--) {
|
|
12605
12605
|
for (var r = this.bottom_up ? t : this.height - 1 - t, n = 0; n < this.width; n++) {
|
|
12606
12606
|
var i = this.datav.getUint16(this.pos, !0);
|
|
@@ -12610,7 +12610,7 @@ function hd(A) {
|
|
|
12610
12610
|
}
|
|
12611
12611
|
this.pos += A;
|
|
12612
12612
|
}
|
|
12613
|
-
},
|
|
12613
|
+
}, Un.prototype.bit16 = function() {
|
|
12614
12614
|
for (var A = this.width % 3, e = parseInt("11111", 2), t = parseInt("111111", 2), r = this.height - 1; r >= 0; r--) {
|
|
12615
12615
|
for (var n = this.bottom_up ? r : this.height - 1 - r, i = 0; i < this.width; i++) {
|
|
12616
12616
|
var a = this.datav.getUint16(this.pos, !0);
|
|
@@ -12620,7 +12620,7 @@ function hd(A) {
|
|
|
12620
12620
|
}
|
|
12621
12621
|
this.pos += A;
|
|
12622
12622
|
}
|
|
12623
|
-
},
|
|
12623
|
+
}, Un.prototype.bit24 = function() {
|
|
12624
12624
|
for (var A = this.height - 1; A >= 0; A--) {
|
|
12625
12625
|
for (var e = this.bottom_up ? A : this.height - 1 - A, t = 0; t < this.width; t++) {
|
|
12626
12626
|
var r = this.datav.getUint8(this.pos++, !0), n = this.datav.getUint8(this.pos++, !0), i = this.datav.getUint8(this.pos++, !0), a = e * this.width * 4 + 4 * t;
|
|
@@ -12628,13 +12628,13 @@ function hd(A) {
|
|
|
12628
12628
|
}
|
|
12629
12629
|
this.pos += this.width % 4;
|
|
12630
12630
|
}
|
|
12631
|
-
},
|
|
12631
|
+
}, Un.prototype.bit32 = function() {
|
|
12632
12632
|
for (var A = this.height - 1; A >= 0; A--)
|
|
12633
12633
|
for (var e = this.bottom_up ? A : this.height - 1 - A, t = 0; t < this.width; t++) {
|
|
12634
12634
|
var r = this.datav.getUint8(this.pos++, !0), n = this.datav.getUint8(this.pos++, !0), i = this.datav.getUint8(this.pos++, !0), a = this.datav.getUint8(this.pos++, !0), s = e * this.width * 4 + 4 * t;
|
|
12635
12635
|
this.data[s] = i, this.data[s + 1] = n, this.data[s + 2] = r, this.data[s + 3] = a;
|
|
12636
12636
|
}
|
|
12637
|
-
},
|
|
12637
|
+
}, Un.prototype.getData = function() {
|
|
12638
12638
|
return this.data;
|
|
12639
12639
|
}, /**
|
|
12640
12640
|
* @license
|
|
@@ -12645,7 +12645,7 @@ function hd(A) {
|
|
|
12645
12645
|
*/
|
|
12646
12646
|
function(A) {
|
|
12647
12647
|
A.processBMP = function(e, t, r, n) {
|
|
12648
|
-
var i = new
|
|
12648
|
+
var i = new Un(e, !1), a = i.width, s = i.height, o = { data: i.getData(), width: a, height: s }, l = new Wf(100).encode(o, 100);
|
|
12649
12649
|
return A.processJPEG.call(this, l, t, r, n);
|
|
12650
12650
|
};
|
|
12651
12651
|
}(xe.API), hd.prototype.getData = function() {
|
|
@@ -12820,7 +12820,7 @@ function(A) {
|
|
|
12820
12820
|
*/
|
|
12821
12821
|
function(A) {
|
|
12822
12822
|
function e() {
|
|
12823
|
-
return (Ce.canvg ? Promise.resolve(Ce.canvg) : import("./index.es-
|
|
12823
|
+
return (Ce.canvg ? Promise.resolve(Ce.canvg) : import("./index.es-96bb0cea.js")).catch(function(t) {
|
|
12824
12824
|
return Promise.reject(new Error("Could not load canvg: " + t));
|
|
12825
12825
|
}).then(function(t) {
|
|
12826
12826
|
return t.default ? t.default : t;
|
|
@@ -13271,7 +13271,7 @@ function(A) {
|
|
|
13271
13271
|
return t == null && (t = !1), r = t ? this.lineGap : 0, (this.ascender + r - this.decender) / 1e3 * e;
|
|
13272
13272
|
}, A;
|
|
13273
13273
|
}();
|
|
13274
|
-
var
|
|
13274
|
+
var Hn, ia = function() {
|
|
13275
13275
|
function A(e) {
|
|
13276
13276
|
this.data = e ?? [], this.pos = 0, this.length = this.data.length;
|
|
13277
13277
|
}
|
|
@@ -13361,7 +13361,7 @@ var Pn, ia = function() {
|
|
|
13361
13361
|
}
|
|
13362
13362
|
return r.prototype = e.prototype, A.prototype = new r(), A.__super__ = e.prototype, A;
|
|
13363
13363
|
};
|
|
13364
|
-
|
|
13364
|
+
Hn = function() {
|
|
13365
13365
|
function A(e) {
|
|
13366
13366
|
var t;
|
|
13367
13367
|
this.file = e, t = this.file.directory.tables[this.tag], this.exists = !!t, t && (this.offset = t.offset, this.length = t.length, this.parse(this.file.contents));
|
|
@@ -13376,7 +13376,7 @@ var Z4 = function(A) {
|
|
|
13376
13376
|
function e() {
|
|
13377
13377
|
return e.__super__.constructor.apply(this, arguments);
|
|
13378
13378
|
}
|
|
13379
|
-
return ti(e,
|
|
13379
|
+
return ti(e, Hn), e.prototype.tag = "head", e.prototype.parse = function(t) {
|
|
13380
13380
|
return t.pos = this.offset, this.version = t.readInt(), this.revision = t.readInt(), this.checkSumAdjustment = t.readInt(), this.magicNumber = t.readInt(), this.flags = t.readShort(), this.unitsPerEm = t.readShort(), this.created = t.readLongLong(), this.modified = t.readLongLong(), this.xMin = t.readShort(), this.yMin = t.readShort(), this.xMax = t.readShort(), this.yMax = t.readShort(), this.macStyle = t.readShort(), this.lowestRecPPEM = t.readShort(), this.fontDirectionHint = t.readShort(), this.indexToLocFormat = t.readShort(), this.glyphDataFormat = t.readShort();
|
|
13381
13381
|
}, e.prototype.encode = function(t) {
|
|
13382
13382
|
var r;
|
|
@@ -13467,7 +13467,7 @@ var Z4 = function(A) {
|
|
|
13467
13467
|
function e() {
|
|
13468
13468
|
return e.__super__.constructor.apply(this, arguments);
|
|
13469
13469
|
}
|
|
13470
|
-
return ti(e,
|
|
13470
|
+
return ti(e, Hn), e.prototype.tag = "cmap", e.prototype.parse = function(t) {
|
|
13471
13471
|
var r, n, i;
|
|
13472
13472
|
for (t.pos = this.offset, this.version = t.readUInt16(), i = t.readUInt16(), this.tables = [], this.unicode = null, n = 0; 0 <= i ? n < i : n > i; n = 0 <= i ? ++n : --n)
|
|
13473
13473
|
r = new dd(t, this.offset), this.tables.push(r), r.isUnicode && this.unicode == null && (this.unicode = r);
|
|
@@ -13480,14 +13480,14 @@ var Z4 = function(A) {
|
|
|
13480
13480
|
function e() {
|
|
13481
13481
|
return e.__super__.constructor.apply(this, arguments);
|
|
13482
13482
|
}
|
|
13483
|
-
return ti(e,
|
|
13483
|
+
return ti(e, Hn), e.prototype.tag = "hhea", e.prototype.parse = function(t) {
|
|
13484
13484
|
return t.pos = this.offset, this.version = t.readInt(), this.ascender = t.readShort(), this.decender = t.readShort(), this.lineGap = t.readShort(), this.advanceWidthMax = t.readShort(), this.minLeftSideBearing = t.readShort(), this.minRightSideBearing = t.readShort(), this.xMaxExtent = t.readShort(), this.caretSlopeRise = t.readShort(), this.caretSlopeRun = t.readShort(), this.caretOffset = t.readShort(), t.pos += 8, this.metricDataFormat = t.readShort(), this.numberOfMetrics = t.readUInt16();
|
|
13485
13485
|
}, e;
|
|
13486
13486
|
}(), AC = function(A) {
|
|
13487
13487
|
function e() {
|
|
13488
13488
|
return e.__super__.constructor.apply(this, arguments);
|
|
13489
13489
|
}
|
|
13490
|
-
return ti(e,
|
|
13490
|
+
return ti(e, Hn), e.prototype.tag = "OS/2", e.prototype.parse = function(t) {
|
|
13491
13491
|
if (t.pos = this.offset, this.version = t.readUInt16(), this.averageCharWidth = t.readShort(), this.weightClass = t.readUInt16(), this.widthClass = t.readUInt16(), this.type = t.readShort(), this.ySubscriptXSize = t.readShort(), this.ySubscriptYSize = t.readShort(), this.ySubscriptXOffset = t.readShort(), this.ySubscriptYOffset = t.readShort(), this.ySuperscriptXSize = t.readShort(), this.ySuperscriptYSize = t.readShort(), this.ySuperscriptXOffset = t.readShort(), this.ySuperscriptYOffset = t.readShort(), this.yStrikeoutSize = t.readShort(), this.yStrikeoutPosition = t.readShort(), this.familyClass = t.readShort(), this.panose = function() {
|
|
13492
13492
|
var r, n;
|
|
13493
13493
|
for (n = [], r = 0; r < 10; ++r)
|
|
@@ -13510,7 +13510,7 @@ var Z4 = function(A) {
|
|
|
13510
13510
|
function e() {
|
|
13511
13511
|
return e.__super__.constructor.apply(this, arguments);
|
|
13512
13512
|
}
|
|
13513
|
-
return ti(e,
|
|
13513
|
+
return ti(e, Hn), e.prototype.tag = "post", e.prototype.parse = function(t) {
|
|
13514
13514
|
var r, n, i;
|
|
13515
13515
|
switch (t.pos = this.offset, this.format = t.readInt(), this.italicAngle = t.readInt(), this.underlinePosition = t.readShort(), this.underlineThickness = t.readShort(), this.isFixedPitch = t.readInt(), this.minMemType42 = t.readInt(), this.maxMemType42 = t.readInt(), this.minMemType1 = t.readInt(), this.maxMemType1 = t.readInt(), this.format) {
|
|
13516
13516
|
case 65536:
|
|
@@ -13541,7 +13541,7 @@ var Z4 = function(A) {
|
|
|
13541
13541
|
function e() {
|
|
13542
13542
|
return e.__super__.constructor.apply(this, arguments);
|
|
13543
13543
|
}
|
|
13544
|
-
return ti(e,
|
|
13544
|
+
return ti(e, Hn), e.prototype.tag = "name", e.prototype.parse = function(t) {
|
|
13545
13545
|
var r, n, i, a, s, o, l, f, d, g, h;
|
|
13546
13546
|
for (t.pos = this.offset, t.readShort(), r = t.readShort(), o = t.readShort(), n = [], a = 0; 0 <= r ? a < r : a > r; a = 0 <= r ? ++a : --a)
|
|
13547
13547
|
n.push({ platformID: t.readShort(), encodingID: t.readShort(), languageID: t.readShort(), nameID: t.readShort(), length: t.readShort(), offset: this.offset + o + t.readShort() });
|
|
@@ -13559,14 +13559,14 @@ var Z4 = function(A) {
|
|
|
13559
13559
|
function e() {
|
|
13560
13560
|
return e.__super__.constructor.apply(this, arguments);
|
|
13561
13561
|
}
|
|
13562
|
-
return ti(e,
|
|
13562
|
+
return ti(e, Hn), e.prototype.tag = "maxp", e.prototype.parse = function(t) {
|
|
13563
13563
|
return t.pos = this.offset, this.version = t.readInt(), this.numGlyphs = t.readUInt16(), this.maxPoints = t.readUInt16(), this.maxContours = t.readUInt16(), this.maxCompositePoints = t.readUInt16(), this.maxComponentContours = t.readUInt16(), this.maxZones = t.readUInt16(), this.maxTwilightPoints = t.readUInt16(), this.maxStorage = t.readUInt16(), this.maxFunctionDefs = t.readUInt16(), this.maxInstructionDefs = t.readUInt16(), this.maxStackElements = t.readUInt16(), this.maxSizeOfInstructions = t.readUInt16(), this.maxComponentElements = t.readUInt16(), this.maxComponentDepth = t.readUInt16();
|
|
13564
13564
|
}, e;
|
|
13565
13565
|
}(), iC = function(A) {
|
|
13566
13566
|
function e() {
|
|
13567
13567
|
return e.__super__.constructor.apply(this, arguments);
|
|
13568
13568
|
}
|
|
13569
|
-
return ti(e,
|
|
13569
|
+
return ti(e, Hn), e.prototype.tag = "hmtx", e.prototype.parse = function(t) {
|
|
13570
13570
|
var r, n, i, a, s, o, l;
|
|
13571
13571
|
for (t.pos = this.offset, this.metrics = [], r = 0, o = this.file.hhea.numberOfMetrics; 0 <= o ? r < o : r > o; r = 0 <= o ? ++r : --r)
|
|
13572
13572
|
this.metrics.push({ advance: t.readUInt16(), lsb: t.readInt16() });
|
|
@@ -13590,7 +13590,7 @@ var Z4 = function(A) {
|
|
|
13590
13590
|
function e() {
|
|
13591
13591
|
return e.__super__.constructor.apply(this, arguments);
|
|
13592
13592
|
}
|
|
13593
|
-
return ti(e,
|
|
13593
|
+
return ti(e, Hn), e.prototype.tag = "glyf", e.prototype.parse = function() {
|
|
13594
13594
|
return this.cache = {};
|
|
13595
13595
|
}, e.prototype.glyphFor = function(t) {
|
|
13596
13596
|
var r, n, i, a, s, o, l, f, d, g;
|
|
@@ -13624,7 +13624,7 @@ var Z4 = function(A) {
|
|
|
13624
13624
|
function e() {
|
|
13625
13625
|
return e.__super__.constructor.apply(this, arguments);
|
|
13626
13626
|
}
|
|
13627
|
-
return ti(e,
|
|
13627
|
+
return ti(e, Hn), e.prototype.tag = "loca", e.prototype.parse = function(t) {
|
|
13628
13628
|
var r, n;
|
|
13629
13629
|
return t.pos = this.offset, r = this.file.head.indexToLocFormat, this.offsets = r === 0 ? (function() {
|
|
13630
13630
|
var i, a;
|
|
@@ -13783,14 +13783,14 @@ function Sa(A) {
|
|
|
13783
13783
|
function pd(A) {
|
|
13784
13784
|
return We ? Buffer.allocUnsafe ? Buffer.allocUnsafe(A) : new Buffer(A) : typeof Uint8Array < "u" ? new Uint8Array(A) : new Array(A);
|
|
13785
13785
|
}
|
|
13786
|
-
var
|
|
13786
|
+
var In = function(e) {
|
|
13787
13787
|
return We ? Ei(e, "binary") : e.split("").map(function(t) {
|
|
13788
13788
|
return t.charCodeAt(0) & 255;
|
|
13789
13789
|
});
|
|
13790
13790
|
};
|
|
13791
13791
|
function Fc(A) {
|
|
13792
13792
|
if (typeof ArrayBuffer > "u")
|
|
13793
|
-
return
|
|
13793
|
+
return In(A);
|
|
13794
13794
|
for (var e = new ArrayBuffer(A.length), t = new Uint8Array(e), r = 0; r != A.length; ++r)
|
|
13795
13795
|
t[r] = A.charCodeAt(r) & 255;
|
|
13796
13796
|
return e;
|
|
@@ -13856,7 +13856,7 @@ function Ss(A) {
|
|
|
13856
13856
|
e += A.charAt(t--);
|
|
13857
13857
|
return e;
|
|
13858
13858
|
}
|
|
13859
|
-
function
|
|
13859
|
+
function Nn(A, e) {
|
|
13860
13860
|
var t = "" + A;
|
|
13861
13861
|
return t.length >= e ? t : Ft("0", e - t.length) + t;
|
|
13862
13862
|
}
|
|
@@ -14161,7 +14161,7 @@ function SC(A, e, t, r) {
|
|
|
14161
14161
|
case 115:
|
|
14162
14162
|
if (e != "s" && e != "ss" && e != ".0" && e != ".00" && e != ".000")
|
|
14163
14163
|
throw "bad second format: " + e;
|
|
14164
|
-
return t.u === 0 && (e == "s" || e == "ss") ?
|
|
14164
|
+
return t.u === 0 && (e == "s" || e == "ss") ? Nn(t.S, e.length) : (r >= 2 ? a = r === 3 ? 1e3 : 100 : a = r === 1 ? 10 : 1, i = Math.round(a * (t.S + t.u)), i >= 60 * a && (i = 0), e === "s" ? i === 0 ? "0" : "" + i / a : (n = Nn(i, 2 + r), e === "ss" ? n.substr(0, 2) : "." + n.substr(2, e.length - 1)));
|
|
14165
14165
|
case 90:
|
|
14166
14166
|
switch (e) {
|
|
14167
14167
|
case "[h]":
|
|
@@ -14185,7 +14185,7 @@ function SC(A, e, t, r) {
|
|
|
14185
14185
|
o = s, l = 1;
|
|
14186
14186
|
break;
|
|
14187
14187
|
}
|
|
14188
|
-
var f = l > 0 ?
|
|
14188
|
+
var f = l > 0 ? Nn(o, l) : "";
|
|
14189
14189
|
return f;
|
|
14190
14190
|
}
|
|
14191
14191
|
function Aa(A) {
|
|
@@ -14232,7 +14232,7 @@ function Q2(A, e) {
|
|
|
14232
14232
|
var T2 = /# (\?+)( ?)\/( ?)(\d+)/;
|
|
14233
14233
|
function TC(A, e, t) {
|
|
14234
14234
|
var r = parseInt(A[4], 10), n = Math.round(e * r), i = Math.floor(n / r), a = n - i * r, s = r;
|
|
14235
|
-
return t + (i === 0 ? "" : "" + i) + " " + (a === 0 ? Ft(" ", A[1].length + 1 + A[4].length) : zu(a, A[1].length) + A[2] + "/" + A[3] +
|
|
14235
|
+
return t + (i === 0 ? "" : "" + i) + " " + (a === 0 ? Ft(" ", A[1].length + 1 + A[4].length) : zu(a, A[1].length) + A[2] + "/" + A[3] + Nn(s, A[4].length));
|
|
14236
14236
|
}
|
|
14237
14237
|
function LC(A, e, t) {
|
|
14238
14238
|
return t + (e === 0 ? "" : "" + e) + Ft(" ", A[1].length + 2 + A[4].length);
|
|
@@ -14302,7 +14302,7 @@ function ln(A, e, t) {
|
|
|
14302
14302
|
if (i = e.match(/^#{1,3},##0(\.?)$/))
|
|
14303
14303
|
return l + Aa(us(o, 0));
|
|
14304
14304
|
if (i = e.match(/^#,##0\.([#0]*0)$/))
|
|
14305
|
-
return t < 0 ? "-" + ln(A, e, -t) : Aa("" + (Math.floor(t) + IC(t, i[1].length))) + "." +
|
|
14305
|
+
return t < 0 ? "-" + ln(A, e, -t) : Aa("" + (Math.floor(t) + IC(t, i[1].length))) + "." + Nn(xd(t, i[1].length), i[1].length);
|
|
14306
14306
|
if (i = e.match(/^#,#*,#0/))
|
|
14307
14307
|
return ln(A, e.replace(/^#,#*,/, ""), t);
|
|
14308
14308
|
if (i = e.match(/^([0#]+)(\\?-([0#]+))+$/))
|
|
@@ -14336,8 +14336,8 @@ function ln(A, e, t) {
|
|
|
14336
14336
|
}
|
|
14337
14337
|
if (i = e.match(/^00,000\.([#0]*0)$/))
|
|
14338
14338
|
return a = xd(t, i[1].length), t < 0 ? "-" + ln(A, e, -t) : Aa(NC(t)).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(v) {
|
|
14339
|
-
return "00," + (v.length < 3 ?
|
|
14340
|
-
}) + "." +
|
|
14339
|
+
return "00," + (v.length < 3 ? Nn(0, 3 - v.length) : "") + v;
|
|
14340
|
+
}) + "." + Nn(a, i[1].length);
|
|
14341
14341
|
switch (e) {
|
|
14342
14342
|
case "###,##0.00":
|
|
14343
14343
|
return ln(A, "#,##0.00", t);
|
|
@@ -14398,13 +14398,13 @@ function zn(A, e, t) {
|
|
|
14398
14398
|
return "$" + zn(A, e.substr(e.charAt(1) == " " ? 2 : 1), t);
|
|
14399
14399
|
var n, i, a, s, o = Math.abs(t), l = t < 0 ? "-" : "";
|
|
14400
14400
|
if (e.match(/^00+$/))
|
|
14401
|
-
return l +
|
|
14401
|
+
return l + Nn(o, e.length);
|
|
14402
14402
|
if (e.match(/^[#?]+$/))
|
|
14403
14403
|
return n = "" + t, t === 0 && (n = ""), n.length > e.length ? n : Fr(e.substr(0, e.length - n.length)) + n;
|
|
14404
14404
|
if (i = e.match(T2))
|
|
14405
14405
|
return LC(i, o, l);
|
|
14406
14406
|
if (e.match(/^#+0+$/))
|
|
14407
|
-
return l +
|
|
14407
|
+
return l + Nn(o, e.length - e.indexOf("0"));
|
|
14408
14408
|
if (i = e.match(L2))
|
|
14409
14409
|
return n = ("" + t).replace(/^([^\.]+)$/, "$1." + Fr(i[1])).replace(/\.$/, "." + Fr(i[1])), n = n.replace(/\.(\d*)$/, function(v, w) {
|
|
14410
14410
|
return "." + w + Ft("0", Fr(i[1]).length - w.length);
|
|
@@ -14448,8 +14448,8 @@ function zn(A, e, t) {
|
|
|
14448
14448
|
}
|
|
14449
14449
|
if (i = e.match(/^00,000\.([#0]*0)$/))
|
|
14450
14450
|
return t < 0 ? "-" + zn(A, e, -t) : Aa("" + t).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(v) {
|
|
14451
|
-
return "00," + (v.length < 3 ?
|
|
14452
|
-
}) + "." +
|
|
14451
|
+
return "00," + (v.length < 3 ? Nn(0, 3 - v.length) : "") + v;
|
|
14452
|
+
}) + "." + Nn(0, i[1].length);
|
|
14453
14453
|
switch (e) {
|
|
14454
14454
|
case "###,###":
|
|
14455
14455
|
case "##,###":
|
|
@@ -15088,10 +15088,10 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15088
15088
|
x(wA, Y, ye, G, FA);
|
|
15089
15089
|
var ze = F(ye, BA, FA, G);
|
|
15090
15090
|
ze[BA].name = "!Directory", X > 0 && UA !== K && (ze[UA].name = "!MiniFAT"), ze[FA[0]].name = "!FAT", ze.fat_addrs = FA, ze.ssz = G;
|
|
15091
|
-
var rt = {}, Nt = [],
|
|
15092
|
-
N(BA, ze, ye, Nt, X, rt,
|
|
15091
|
+
var rt = {}, Nt = [], wn = [], ni = [];
|
|
15092
|
+
N(BA, ze, ye, Nt, X, rt, wn, UA), v(wn, ni, Nt), Nt.shift();
|
|
15093
15093
|
var Rn = {
|
|
15094
|
-
FileIndex:
|
|
15094
|
+
FileIndex: wn,
|
|
15095
15095
|
FullPaths: ni
|
|
15096
15096
|
};
|
|
15097
15097
|
return z && z.raw && (Rn.raw = { header: qA, sectors: ye }), Rn;
|
|
@@ -15230,9 +15230,9 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15230
15230
|
case "file":
|
|
15231
15231
|
return AA(I, z);
|
|
15232
15232
|
case "base64":
|
|
15233
|
-
return f(
|
|
15233
|
+
return f(In(Fi(I)), z);
|
|
15234
15234
|
case "binary":
|
|
15235
|
-
return f(
|
|
15235
|
+
return f(In(I), z);
|
|
15236
15236
|
}
|
|
15237
15237
|
return f(
|
|
15238
15238
|
/*::typeof blob == 'string' ? new Buffer(blob, 'utf-8') : */
|
|
@@ -15311,7 +15311,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15311
15311
|
return we(I, R);
|
|
15312
15312
|
switch (V(I), R.fileType) {
|
|
15313
15313
|
case "zip":
|
|
15314
|
-
return
|
|
15314
|
+
return pn(I, R);
|
|
15315
15315
|
}
|
|
15316
15316
|
var G = function(ie) {
|
|
15317
15317
|
for (var WA = 0, ne = 0, ye = 0; ye < ie.FileIndex.length; ++ye) {
|
|
@@ -15321,9 +15321,9 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15321
15321
|
rt > 0 && (rt < 4096 ? WA += rt + 63 >> 6 : ne += rt + 511 >> 9);
|
|
15322
15322
|
}
|
|
15323
15323
|
}
|
|
15324
|
-
for (var Nt = ie.FullPaths.length + 3 >> 2,
|
|
15325
|
-
Kn = ++
|
|
15326
|
-
var Vr = [1, Kn,
|
|
15324
|
+
for (var Nt = ie.FullPaths.length + 3 >> 2, wn = WA + 7 >> 3, ni = WA + 127 >> 7, Rn = wn + ne + Nt + ni, Bn = Rn + 127 >> 7, Kn = Bn <= 109 ? 0 : Math.ceil((Bn - 109) / 127); Rn + Bn + Kn + 127 >> 7 > Bn; )
|
|
15325
|
+
Kn = ++Bn <= 109 ? 0 : Math.ceil((Bn - 109) / 127);
|
|
15326
|
+
var Vr = [1, Kn, Bn, ni, Nt, ne, WA, 0];
|
|
15327
15327
|
return ie.FileIndex[0].size = WA << 6, Vr[7] = (ie.FileIndex[0].start = Vr[0] + Vr[1] + Vr[2] + Vr[3] + Vr[4] + Vr[5]) + (Vr[6] + 7 >> 3), Vr;
|
|
15328
15328
|
}(I), X = LA(G[7] << 9), Y = 0, BA = 0;
|
|
15329
15329
|
{
|
|
@@ -15463,7 +15463,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15463
15463
|
if (We)
|
|
15464
15464
|
return Buffer.isBuffer(R) ? R : Ei(R);
|
|
15465
15465
|
case "array":
|
|
15466
|
-
return typeof R == "string" ?
|
|
15466
|
+
return typeof R == "string" ? In(R) : R;
|
|
15467
15467
|
}
|
|
15468
15468
|
return R;
|
|
15469
15469
|
}
|
|
@@ -15539,7 +15539,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15539
15539
|
var G = z & 7, X = z >>> 3;
|
|
15540
15540
|
return R <<= G, I[X] |= R & 255, R >>>= 8, I[X + 1] = R & 255, I[X + 2] = R >>> 8, z + 16;
|
|
15541
15541
|
}
|
|
15542
|
-
function
|
|
15542
|
+
function de(I, z) {
|
|
15543
15543
|
var R = I.length, G = 2 * R > z ? 2 * R : z + 5, X = 0;
|
|
15544
15544
|
if (R >= z)
|
|
15545
15545
|
return I;
|
|
@@ -15730,12 +15730,12 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15730
15730
|
R & 7 && (R += 8 - (R & 7));
|
|
15731
15731
|
var FA = I[R >>> 3] | I[(R >>> 3) + 1] << 8;
|
|
15732
15732
|
if (R += 32, FA > 0)
|
|
15733
|
-
for (!z && BA < Y + FA && (X =
|
|
15733
|
+
for (!z && BA < Y + FA && (X = de(X, Y + FA), BA = X.length); FA-- > 0; )
|
|
15734
15734
|
X[Y++] = I[R >>> 3], R += 8;
|
|
15735
15735
|
continue;
|
|
15736
15736
|
}
|
|
15737
15737
|
for (; ; ) {
|
|
15738
|
-
!z && BA < Y + 32767 && (X =
|
|
15738
|
+
!z && BA < Y + 32767 && (X = de(X, Y + 32767), BA = X.length);
|
|
15739
15739
|
var bA = ae(I, R, UA), VA = G >>> 1 == 1 ? Ue[bA] : re[bA];
|
|
15740
15740
|
if (R += VA & 15, VA >>>= 4, !(VA >>> 8 & 255))
|
|
15741
15741
|
X[Y++] = VA;
|
|
@@ -15748,7 +15748,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15748
15748
|
var ie = Y + j[VA];
|
|
15749
15749
|
qA > 0 && (ie += ae(I, R, qA), R += qA), bA = ae(I, R, wA), VA = G >>> 1 == 1 ? De[bA] : Kt[bA], R += VA & 15, VA >>>= 4;
|
|
15750
15750
|
var WA = VA < 4 ? 0 : VA - 2 >> 1, ne = rA[VA];
|
|
15751
|
-
for (WA > 0 && (ne += ae(I, R, WA), R += WA), !z && BA < ie && (X =
|
|
15751
|
+
for (WA > 0 && (ne += ae(I, R, WA), R += WA), !z && BA < ie && (X = de(X, ie + 100), BA = X.length); Y < ie; )
|
|
15752
15752
|
X[Y] = X[Y - ne], ++Y;
|
|
15753
15753
|
}
|
|
15754
15754
|
}
|
|
@@ -15826,7 +15826,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15826
15826
|
var ze = !1;
|
|
15827
15827
|
Y & 8 && (wA = I.read_shift(4), wA == 134695760 && (wA = I.read_shift(4), ze = !0), FA = I.read_shift(4), bA = I.read_shift(4)), FA != z && Mn(ze, "Bad compressed size: " + z + " != " + FA), bA != R && Mn(ze, "Bad uncompressed size: " + R + " != " + bA), Qr(G, ie, ye, { unsafe: !0, mt: UA });
|
|
15828
15828
|
}
|
|
15829
|
-
function
|
|
15829
|
+
function pn(I, z) {
|
|
15830
15830
|
var R = z || {}, G = [], X = [], Y = LA(1), BA = R.compression ? 8 : 0, UA = 0, wA = 0, FA = 0, bA = 0, VA = 0, qA = I.FullPaths[0], ie = qA, WA = I.FileIndex[0], ne = [], ye = 0;
|
|
15831
15831
|
for (wA = 1; wA < I.FullPaths.length; ++wA)
|
|
15832
15832
|
if (ie = I.FullPaths[wA].slice(qA.length), WA = I.FileIndex[wA], !(!WA.size || !WA.content || ie == "Sh33tJ5")) {
|
|
@@ -15907,7 +15907,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15907
15907
|
z[X] = z[X].replace(/[=][0-9A-Fa-f]{2}/g, function(Y) {
|
|
15908
15908
|
return String.fromCharCode(parseInt(Y.slice(1), 16));
|
|
15909
15909
|
});
|
|
15910
|
-
return
|
|
15910
|
+
return In(z.join(`\r
|
|
15911
15911
|
`));
|
|
15912
15912
|
}
|
|
15913
15913
|
function en(I, z, R) {
|
|
@@ -15931,7 +15931,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15931
15931
|
}
|
|
15932
15932
|
switch (++UA, X.toLowerCase()) {
|
|
15933
15933
|
case "base64":
|
|
15934
|
-
BA =
|
|
15934
|
+
BA = In(Fi(z.slice(UA).join("")));
|
|
15935
15935
|
break;
|
|
15936
15936
|
case "quoted-printable":
|
|
15937
15937
|
BA = Vt(z.slice(UA));
|
|
@@ -16894,7 +16894,7 @@ function Os(A, e) {
|
|
|
16894
16894
|
function gy(A) {
|
|
16895
16895
|
return A.read_shift(4, "i");
|
|
16896
16896
|
}
|
|
16897
|
-
function
|
|
16897
|
+
function Dn(A, e) {
|
|
16898
16898
|
return e || (e = LA(4)), e.write_shift(4, A), e;
|
|
16899
16899
|
}
|
|
16900
16900
|
function xr(A) {
|
|
@@ -18389,10 +18389,10 @@ var xF = /* @__PURE__ */ function() {
|
|
|
18389
18389
|
var l = [], f = Sa(1);
|
|
18390
18390
|
switch (o.type) {
|
|
18391
18391
|
case "base64":
|
|
18392
|
-
f =
|
|
18392
|
+
f = In(Fi(s));
|
|
18393
18393
|
break;
|
|
18394
18394
|
case "binary":
|
|
18395
|
-
f =
|
|
18395
|
+
f = In(s);
|
|
18396
18396
|
break;
|
|
18397
18397
|
case "buffer":
|
|
18398
18398
|
case "array":
|
|
@@ -19324,9 +19324,9 @@ var xF = /* @__PURE__ */ function() {
|
|
|
19324
19324
|
function e(m, S) {
|
|
19325
19325
|
switch (S.type) {
|
|
19326
19326
|
case "base64":
|
|
19327
|
-
return t(
|
|
19327
|
+
return t(In(Fi(m)), S);
|
|
19328
19328
|
case "binary":
|
|
19329
|
-
return t(
|
|
19329
|
+
return t(In(m), S);
|
|
19330
19330
|
case "buffer":
|
|
19331
19331
|
case "array":
|
|
19332
19332
|
return t(m, S);
|
|
@@ -20415,7 +20415,7 @@ function XF(A, e) {
|
|
|
20415
20415
|
]].forEach(function(r) {
|
|
20416
20416
|
for (var n = r[0]; n <= r[1]; ++n)
|
|
20417
20417
|
e[n] != null && ++t;
|
|
20418
|
-
}), t != 0 && (PA(A, 615,
|
|
20418
|
+
}), t != 0 && (PA(A, 615, Dn(t)), [[5, 8], [23, 26], [41, 44], [
|
|
20419
20419
|
/*63*/
|
|
20420
20420
|
50,
|
|
20421
20421
|
/*66],[164,*/
|
|
@@ -20432,7 +20432,7 @@ function XF(A, e) {
|
|
|
20432
20432
|
}
|
|
20433
20433
|
function zF(A) {
|
|
20434
20434
|
var e = 1;
|
|
20435
|
-
PA(A, 611,
|
|
20435
|
+
PA(A, 611, Dn(e)), PA(A, 43, PF({
|
|
20436
20436
|
sz: 12,
|
|
20437
20437
|
color: { theme: 1 },
|
|
20438
20438
|
name: "Calibri",
|
|
@@ -20446,7 +20446,7 @@ function zF(A) {
|
|
|
20446
20446
|
}
|
|
20447
20447
|
function qF(A) {
|
|
20448
20448
|
var e = 2;
|
|
20449
|
-
PA(A, 603,
|
|
20449
|
+
PA(A, 603, Dn(e)), PA(A, 45, zd({ patternType: "none" })), PA(A, 45, zd({ patternType: "gray125" })), PA(
|
|
20450
20450
|
A,
|
|
20451
20451
|
604
|
|
20452
20452
|
/* BrtEndFills */
|
|
@@ -20454,7 +20454,7 @@ function qF(A) {
|
|
|
20454
20454
|
}
|
|
20455
20455
|
function YF(A) {
|
|
20456
20456
|
var e = 1;
|
|
20457
|
-
PA(A, 613,
|
|
20457
|
+
PA(A, 613, Dn(e)), PA(A, 46, GF()), PA(
|
|
20458
20458
|
A,
|
|
20459
20459
|
614
|
|
20460
20460
|
/* BrtEndBorders */
|
|
@@ -20462,7 +20462,7 @@ function YF(A) {
|
|
|
20462
20462
|
}
|
|
20463
20463
|
function JF(A) {
|
|
20464
20464
|
var e = 1;
|
|
20465
|
-
PA(A, 626,
|
|
20465
|
+
PA(A, 626, Dn(e)), PA(A, 47, Qp({
|
|
20466
20466
|
numFmtId: 0,
|
|
20467
20467
|
fontId: 0,
|
|
20468
20468
|
fillId: 0,
|
|
@@ -20474,7 +20474,7 @@ function JF(A) {
|
|
|
20474
20474
|
);
|
|
20475
20475
|
}
|
|
20476
20476
|
function ZF(A, e) {
|
|
20477
|
-
PA(A, 617,
|
|
20477
|
+
PA(A, 617, Dn(e.length)), e.forEach(function(t) {
|
|
20478
20478
|
PA(A, 47, Qp(t, 0));
|
|
20479
20479
|
}), PA(
|
|
20480
20480
|
A,
|
|
@@ -20484,7 +20484,7 @@ function ZF(A, e) {
|
|
|
20484
20484
|
}
|
|
20485
20485
|
function $F(A) {
|
|
20486
20486
|
var e = 1;
|
|
20487
|
-
PA(A, 619,
|
|
20487
|
+
PA(A, 619, Dn(e)), PA(A, 48, jF({
|
|
20488
20488
|
xfId: 0,
|
|
20489
20489
|
builtinId: 0,
|
|
20490
20490
|
name: "Normal"
|
|
@@ -20496,7 +20496,7 @@ function $F(A) {
|
|
|
20496
20496
|
}
|
|
20497
20497
|
function A3(A) {
|
|
20498
20498
|
var e = 0;
|
|
20499
|
-
PA(A, 505,
|
|
20499
|
+
PA(A, 505, Dn(e)), PA(
|
|
20500
20500
|
A,
|
|
20501
20501
|
506
|
|
20502
20502
|
/* BrtEndDXFs */
|
|
@@ -20566,11 +20566,11 @@ function l3(A, e) {
|
|
|
20566
20566
|
}
|
|
20567
20567
|
function c3() {
|
|
20568
20568
|
var A = Or();
|
|
20569
|
-
return PA(A, 332), PA(A, 334,
|
|
20569
|
+
return PA(A, 332), PA(A, 334, Dn(1)), PA(A, 335, n3({
|
|
20570
20570
|
name: "XLDAPR",
|
|
20571
20571
|
version: 12e4,
|
|
20572
20572
|
flags: 3496657072
|
|
20573
|
-
})), PA(A, 336), PA(A, 339, s3(1, "XLDAPR")), PA(A, 52), PA(A, 35,
|
|
20573
|
+
})), PA(A, 336), PA(A, 339, s3(1, "XLDAPR")), PA(A, 52), PA(A, 35, Dn(514)), PA(A, 4096, Dn(0)), PA(A, 4097, fn(1)), PA(A, 36), PA(A, 53), PA(A, 340), PA(A, 337, l3(1, !0)), PA(A, 51, a3([[1, 0]])), PA(A, 338), PA(A, 333), A.end();
|
|
20574
20574
|
}
|
|
20575
20575
|
function Lp() {
|
|
20576
20576
|
var A = [Rt];
|
|
@@ -28698,7 +28698,7 @@ function lc(A) {
|
|
|
28698
28698
|
return new DataView(A.buffer, A.byteOffset, A.byteLength);
|
|
28699
28699
|
}
|
|
28700
28700
|
function ES(A) {
|
|
28701
|
-
return typeof TextEncoder < "u" ? new TextEncoder().encode(A) :
|
|
28701
|
+
return typeof TextEncoder < "u" ? new TextEncoder().encode(A) : In(Bi(A));
|
|
28702
28702
|
}
|
|
28703
28703
|
function _S(A, e) {
|
|
28704
28704
|
A:
|
|
@@ -28796,7 +28796,7 @@ function tr(A) {
|
|
|
28796
28796
|
});
|
|
28797
28797
|
}), oa(e);
|
|
28798
28798
|
}
|
|
28799
|
-
function
|
|
28799
|
+
function Qn(A) {
|
|
28800
28800
|
for (var e, t = [], r = [0]; r[0] < A.length; ) {
|
|
28801
28801
|
var n = Al(A, r), i = jt(A.slice(r[0], r[0] + n));
|
|
28802
28802
|
r[0] += n;
|
|
@@ -28861,7 +28861,7 @@ function US(A, e) {
|
|
|
28861
28861
|
throw new Error("Unexpected length: ".concat(f.length, " != ").concat(r));
|
|
28862
28862
|
return f;
|
|
28863
28863
|
}
|
|
28864
|
-
function
|
|
28864
|
+
function Tn(A) {
|
|
28865
28865
|
for (var e = [], t = 0; t < A.length; ) {
|
|
28866
28866
|
var r = A[t++], n = A[t] | A[t + 1] << 8 | A[t + 2] << 16;
|
|
28867
28867
|
t += 3, e.push(US(r, A.slice(t, t + n))), t += n;
|
|
@@ -28975,7 +28975,7 @@ function TS(A, e) {
|
|
|
28975
28975
|
}).forEach(function(S) {
|
|
28976
28976
|
var b = S[0], T = S[1];
|
|
28977
28977
|
if (b.type == 2 && b.name.match(/\.iwa/)) {
|
|
28978
|
-
var j = b.content, rA =
|
|
28978
|
+
var j = b.content, rA = Tn(j), sA = Qn(rA);
|
|
28979
28979
|
sA.forEach(function(iA) {
|
|
28980
28980
|
o.push(iA.id), s[iA.id] = { deps: [], location: T, type: Ts(iA.messages[0].meta[1][0].data) };
|
|
28981
28981
|
});
|
|
@@ -28993,7 +28993,7 @@ function TS(A, e) {
|
|
|
28993
28993
|
}).forEach(function(S) {
|
|
28994
28994
|
var b = S[0];
|
|
28995
28995
|
if (S[1], !!b.name.match(/\.iwa/)) {
|
|
28996
|
-
var T = Tn(
|
|
28996
|
+
var T = Qn(Tn(b.content));
|
|
28997
28997
|
T.forEach(function(j) {
|
|
28998
28998
|
j.messages.forEach(function(rA) {
|
|
28999
28999
|
f.forEach(function(sA) {
|
|
@@ -29005,21 +29005,21 @@ function TS(A, e) {
|
|
|
29005
29005
|
});
|
|
29006
29006
|
}
|
|
29007
29007
|
});
|
|
29008
|
-
for (var d = at.find(l, s[1].location), g = Tn(
|
|
29008
|
+
for (var d = at.find(l, s[1].location), g = Qn(Tn(d.content)), h, v = 0; v < g.length; ++v) {
|
|
29009
29009
|
var w = g[v];
|
|
29010
29010
|
w.id == 1 && (h = w);
|
|
29011
29011
|
}
|
|
29012
29012
|
var x = ji(jt(h.messages[0].data)[1][0].data);
|
|
29013
|
-
for (d = at.find(l, s[x].location), g = Tn(
|
|
29013
|
+
for (d = at.find(l, s[x].location), g = Qn(Tn(d.content)), v = 0; v < g.length; ++v)
|
|
29014
29014
|
w = g[v], w.id == x && (h = w);
|
|
29015
|
-
for (x = ji(jt(h.messages[0].data)[2][0].data), d = at.find(l, s[x].location), g = Tn(
|
|
29015
|
+
for (x = ji(jt(h.messages[0].data)[2][0].data), d = at.find(l, s[x].location), g = Qn(Tn(d.content)), v = 0; v < g.length; ++v)
|
|
29016
29016
|
w = g[v], w.id == x && (h = w);
|
|
29017
|
-
for (x = ji(jt(h.messages[0].data)[2][0].data), d = at.find(l, s[x].location), g = Tn(
|
|
29017
|
+
for (x = ji(jt(h.messages[0].data)[2][0].data), d = at.find(l, s[x].location), g = Qn(Tn(d.content)), v = 0; v < g.length; ++v)
|
|
29018
29018
|
w = g[v], w.id == x && (h = w);
|
|
29019
29019
|
var y = jt(h.messages[0].data);
|
|
29020
29020
|
{
|
|
29021
29021
|
y[6][0].data = Ze(r.e.r + 1), y[7][0].data = Ze(r.e.c + 1);
|
|
29022
|
-
var F = ji(y[46][0].data), N = at.find(l, s[F].location), M = Tn(
|
|
29022
|
+
var F = ji(y[46][0].data), N = at.find(l, s[F].location), M = Qn(Tn(N.content));
|
|
29023
29023
|
{
|
|
29024
29024
|
for (var AA = 0; AA < M.length && M[AA].id != F; ++AA)
|
|
29025
29025
|
;
|
|
@@ -29041,7 +29041,7 @@ function TS(A, e) {
|
|
|
29041
29041
|
{
|
|
29042
29042
|
tA[7][0].data = Ze(r.e.r + 1);
|
|
29043
29043
|
var U = jt(tA[1][0].data), Q = ji(U[2][0].data);
|
|
29044
|
-
N = at.find(l, s[Q].location), M = Tn(
|
|
29044
|
+
N = at.find(l, s[Q].location), M = Qn(Tn(N.content));
|
|
29045
29045
|
{
|
|
29046
29046
|
if (M[0].id != Q)
|
|
29047
29047
|
throw "Bad HeaderStorageBucket";
|
|
@@ -29054,7 +29054,7 @@ function TS(A, e) {
|
|
|
29054
29054
|
}
|
|
29055
29055
|
N.content = ds(hs(M)), N.size = N.content.length;
|
|
29056
29056
|
var cA = ji(tA[2][0].data);
|
|
29057
|
-
N = at.find(l, s[cA].location), M = Tn(
|
|
29057
|
+
N = at.find(l, s[cA].location), M = Qn(Tn(N.content));
|
|
29058
29058
|
{
|
|
29059
29059
|
if (M[0].id != cA)
|
|
29060
29060
|
throw "Bad HeaderStorageBucket";
|
|
@@ -29065,7 +29065,7 @@ function TS(A, e) {
|
|
|
29065
29065
|
N.content = ds(hs(M)), N.size = N.content.length;
|
|
29066
29066
|
var dA = ji(tA[4][0].data);
|
|
29067
29067
|
(function() {
|
|
29068
|
-
for (var S = at.find(l, s[dA].location), b = Tn(
|
|
29068
|
+
for (var S = at.find(l, s[dA].location), b = Qn(Tn(S.content)), T, j = 0; j < b.length; ++j) {
|
|
29069
29069
|
var rA = b[j];
|
|
29070
29070
|
rA.id == dA && (T = rA);
|
|
29071
29071
|
}
|
|
@@ -29089,7 +29089,7 @@ function TS(A, e) {
|
|
|
29089
29089
|
{
|
|
29090
29090
|
var _A = ji(EA[2][0].data);
|
|
29091
29091
|
(function() {
|
|
29092
|
-
for (var S = at.find(l, s[_A].location), b = Tn(
|
|
29092
|
+
for (var S = at.find(l, s[_A].location), b = Qn(Tn(S.content)), T, j = 0; j < b.length; ++j) {
|
|
29093
29093
|
var rA = b[j];
|
|
29094
29094
|
rA.id == _A && (T = rA);
|
|
29095
29095
|
}
|
|
@@ -30339,36 +30339,36 @@ function u6(A, e, t, r, n, i) {
|
|
|
30339
30339
|
return fA(), uA("div", {
|
|
30340
30340
|
class: "vue-ui-xy",
|
|
30341
30341
|
ref: "chart",
|
|
30342
|
-
style:
|
|
30342
|
+
style: ue(`background:${i.chartConfig.chart.backgroundColor}; color:${i.chartConfig.chart.color}`)
|
|
30343
30343
|
}, [
|
|
30344
30344
|
i.chartConfig.chart.title.show && (!n.mutableConfig.titleInside || n.isPrinting) ? (fA(), uA("div", {
|
|
30345
30345
|
key: 0,
|
|
30346
30346
|
class: "vue-ui-xy-title",
|
|
30347
|
-
style:
|
|
30347
|
+
style: ue(`font-family:${i.chartConfig.chart.fontFamily}`)
|
|
30348
30348
|
}, [
|
|
30349
30349
|
yA("div", {
|
|
30350
30350
|
class: "vue-ui-xy-title-main",
|
|
30351
|
-
style:
|
|
30351
|
+
style: ue(`font-size:${i.chartConfig.chart.title.fontSize}px; color:${i.chartConfig.chart.title.color}; font-weight:${i.chartConfig.chart.title.bold ? "bold" : "400"}`)
|
|
30352
30352
|
}, IA(i.chartConfig.chart.title.text), 5),
|
|
30353
30353
|
i.chartConfig.chart.title.subtitle.text ? (fA(), uA("div", {
|
|
30354
30354
|
key: 0,
|
|
30355
30355
|
class: "vue-ui-xy-title-subtitle",
|
|
30356
|
-
style:
|
|
30356
|
+
style: ue(`font-size:${i.chartConfig.chart.title.subtitle.fontSize}px; color:${i.chartConfig.chart.title.subtitle.color}`)
|
|
30357
30357
|
}, IA(i.chartConfig.chart.title.subtitle.text), 5)) : ce("", !0)
|
|
30358
30358
|
], 4)) : ce("", !0),
|
|
30359
30359
|
i.chartConfig.chart.userOptions.show ? (fA(), uA("details", {
|
|
30360
30360
|
key: 1,
|
|
30361
30361
|
class: "vue-ui-xy-user-options",
|
|
30362
|
-
style:
|
|
30362
|
+
style: ue(`background:${i.chartConfig.chart.backgroundColor};color:${i.chartConfig.chart.color}`),
|
|
30363
30363
|
"data-html2canvas-ignore": "",
|
|
30364
30364
|
ref: "details"
|
|
30365
30365
|
}, [
|
|
30366
30366
|
yA("summary", {
|
|
30367
|
-
style:
|
|
30367
|
+
style: ue(`background:${i.chartConfig.chart.backgroundColor};color:${i.chartConfig.chart.color}`)
|
|
30368
30368
|
}, IA(i.chartConfig.chart.userOptions.title), 5),
|
|
30369
30369
|
yA("div", {
|
|
30370
30370
|
class: "vue-ui-xy-user-options-items",
|
|
30371
|
-
style:
|
|
30371
|
+
style: ue(`background:${i.chartConfig.chart.backgroundColor};color:${i.chartConfig.chart.color}`)
|
|
30372
30372
|
}, [
|
|
30373
30373
|
yA("div", eU, [
|
|
30374
30374
|
Yn(yA("input", {
|
|
@@ -30432,7 +30432,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30432
30432
|
width: "100%",
|
|
30433
30433
|
viewBox: i.viewBox,
|
|
30434
30434
|
class: "vue-ui-xy-svg",
|
|
30435
|
-
style:
|
|
30435
|
+
style: ue(`background:${i.chartConfig.chart.backgroundColor}; color:${i.chartConfig.chart.color}; font-family:${i.chartConfig.chart.fontFamily}`),
|
|
30436
30436
|
onClick: e[7] || (e[7] = (...a) => i.closeDetails && i.closeDetails(...a))
|
|
30437
30437
|
}, [
|
|
30438
30438
|
yA("g", gU, [
|
|
@@ -30713,16 +30713,16 @@ function u6(A, e, t, r, n, i) {
|
|
|
30713
30713
|
(fA(), uA("foreignObject", YU, [
|
|
30714
30714
|
yA("div", {
|
|
30715
30715
|
class: "vue-ui-xy-title",
|
|
30716
|
-
style:
|
|
30716
|
+
style: ue(`font-family:${i.chartConfig.chart.fontFamily}`)
|
|
30717
30717
|
}, [
|
|
30718
30718
|
yA("div", {
|
|
30719
30719
|
class: "vue-ui-xy-title-main",
|
|
30720
|
-
style:
|
|
30720
|
+
style: ue(`font-size:${i.chartConfig.chart.title.fontSize * 0.6}px; color:${i.chartConfig.chart.title.color}; font-weight:${i.chartConfig.chart.title.bold ? "bold" : "400"}`)
|
|
30721
30721
|
}, IA(i.chartConfig.chart.title.text), 5),
|
|
30722
30722
|
i.chartConfig.chart.title.subtitle.text ? (fA(), uA("div", {
|
|
30723
30723
|
key: 0,
|
|
30724
30724
|
class: "vue-ui-xy-title-subtitle",
|
|
30725
|
-
style:
|
|
30725
|
+
style: ue(`font-size:${i.chartConfig.chart.title.subtitle.fontSize * 0.6}px; color:${i.chartConfig.chart.title.subtitle.color}`)
|
|
30726
30726
|
}, IA(i.chartConfig.chart.title.subtitle.text), 5)) : ce("", !0)
|
|
30727
30727
|
], 4)
|
|
30728
30728
|
]))
|
|
@@ -30733,7 +30733,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30733
30733
|
y: i.drawingArea.bottom + i.chartConfig.chart.padding.bottom / 3 + 12,
|
|
30734
30734
|
width: "100%",
|
|
30735
30735
|
height: "20px",
|
|
30736
|
-
style:
|
|
30736
|
+
style: ue(`overflow:visible; font-size:${i.chartConfig.chart.legend.fontSize * 0.6}px`)
|
|
30737
30737
|
}, [
|
|
30738
30738
|
yA("div", $U, [
|
|
30739
30739
|
(fA(!0), uA(ve, null, Te(i.absoluteDataset, (a, s) => (fA(), uA("div", {
|
|
@@ -30743,18 +30743,18 @@ function u6(A, e, t, r, n, i) {
|
|
|
30743
30743
|
}, [
|
|
30744
30744
|
["plot"].includes(a.type) ? (fA(), uA("span", {
|
|
30745
30745
|
key: 0,
|
|
30746
|
-
style:
|
|
30746
|
+
style: ue(`color:${a.color}`)
|
|
30747
30747
|
}, "●", 4)) : ce("", !0),
|
|
30748
30748
|
["line"].includes(a.type) ? (fA(), uA("span", {
|
|
30749
30749
|
key: 1,
|
|
30750
|
-
style:
|
|
30750
|
+
style: ue(`color:${a.color}`)
|
|
30751
30751
|
}, "▬", 4)) : ce("", !0),
|
|
30752
30752
|
["bar"].includes(a.type) ? (fA(), uA("span", {
|
|
30753
30753
|
key: 2,
|
|
30754
|
-
style:
|
|
30754
|
+
style: ue(`color:${a.color}`)
|
|
30755
30755
|
}, "◼", 4)) : ce("", !0),
|
|
30756
30756
|
yA("span", {
|
|
30757
|
-
style:
|
|
30757
|
+
style: ue(`color:${i.chartConfig.chart.legend.color}`)
|
|
30758
30758
|
}, IA(a.name), 5)
|
|
30759
30759
|
], 10, A6))), 128))
|
|
30760
30760
|
])
|
|
@@ -30789,7 +30789,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30789
30789
|
i.chartConfig.chart.legend.show && (!n.mutableConfig.legendInside || n.isPrinting) ? (fA(), uA("div", {
|
|
30790
30790
|
key: 2,
|
|
30791
30791
|
class: "vue-ui-xy-legend",
|
|
30792
|
-
style:
|
|
30792
|
+
style: ue(`font-size:${i.chartConfig.chart.legend.fontSize}px`)
|
|
30793
30793
|
}, [
|
|
30794
30794
|
(fA(!0), uA(ve, null, Te(i.absoluteDataset, (a, s) => (fA(), uA("div", {
|
|
30795
30795
|
key: `div_legend_item_${s}`,
|
|
@@ -30797,11 +30797,11 @@ function u6(A, e, t, r, n, i) {
|
|
|
30797
30797
|
class: it({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": n.segregatedSeries.includes(a.id) })
|
|
30798
30798
|
}, [
|
|
30799
30799
|
yA("span", {
|
|
30800
|
-
style:
|
|
30800
|
+
style: ue(`color:${a.color}`),
|
|
30801
30801
|
innerHTML: n.icons[a.type]
|
|
30802
30802
|
}, null, 12, a6),
|
|
30803
30803
|
yA("span", {
|
|
30804
|
-
style:
|
|
30804
|
+
style: ue(`color:${i.chartConfig.chart.legend.color}`)
|
|
30805
30805
|
}, IA(a.name), 5)
|
|
30806
30806
|
], 10, i6))), 128))
|
|
30807
30807
|
], 4)) : ce("", !0),
|
|
@@ -30809,7 +30809,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30809
30809
|
key: 3,
|
|
30810
30810
|
class: "vue-ui-xy-tooltip",
|
|
30811
30811
|
ref: "tooltip",
|
|
30812
|
-
style:
|
|
30812
|
+
style: ue(`top:${i.tooltipPosition.top}px; left:${i.tooltipPosition.left}px; background-color:${i.chartConfig.chart.tooltip.backgroundColor}, color:${i.chartConfig.chart.tooltip.color}`),
|
|
30813
30813
|
innerHTML: i.tooltipContent
|
|
30814
30814
|
}, null, 12, s6)) : ce("", !0),
|
|
30815
30815
|
i.chartConfig.showTable && n.mutableConfig.showTable ? (fA(), uA("div", {
|
|
@@ -30826,7 +30826,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30826
30826
|
}, [
|
|
30827
30827
|
yA("div", c6, [
|
|
30828
30828
|
yA("span", {
|
|
30829
|
-
style:
|
|
30829
|
+
style: ue(`color:${a.color}; margin-right:3px`)
|
|
30830
30830
|
}, IA(n.icons[a.type]), 5),
|
|
30831
30831
|
wr(IA(a.label), 1)
|
|
30832
30832
|
])
|
|
@@ -30849,7 +30849,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30849
30849
|
], 2)) : ce("", !0)
|
|
30850
30850
|
], 4);
|
|
30851
30851
|
}
|
|
30852
|
-
const
|
|
30852
|
+
const H8 = /* @__PURE__ */ nw($S, [["render", u6], ["__scopeId", "data-v-aa9b330f"]]);
|
|
30853
30853
|
const h6 = {
|
|
30854
30854
|
name: "vue-ui-table",
|
|
30855
30855
|
props: {
|
|
@@ -30918,7 +30918,7 @@ const h6 = {
|
|
|
30918
30918
|
},
|
|
30919
30919
|
data() {
|
|
30920
30920
|
return {
|
|
30921
|
-
uid: `vue-ui-table-${Math.random()}
|
|
30921
|
+
uid: `vue-ui-table-${Math.random()}`,
|
|
30922
30922
|
defaultConfig: {
|
|
30923
30923
|
//locale:"fr-fr",
|
|
30924
30924
|
fontFamily: "inherit",
|
|
@@ -31008,6 +31008,44 @@ const h6 = {
|
|
|
31008
31008
|
modal: {
|
|
31009
31009
|
backgroundColor: "#E1E5E8",
|
|
31010
31010
|
color: "#2D353C"
|
|
31011
|
+
},
|
|
31012
|
+
layout: {
|
|
31013
|
+
backgroundColor: "#FFFFFF",
|
|
31014
|
+
axis: {
|
|
31015
|
+
stroke: "#ccd1d4",
|
|
31016
|
+
strokeWidth: 2
|
|
31017
|
+
},
|
|
31018
|
+
bar: {
|
|
31019
|
+
fill: "",
|
|
31020
|
+
stroke: "#FFFFFF"
|
|
31021
|
+
},
|
|
31022
|
+
line: {
|
|
31023
|
+
stroke: "#6376DD75",
|
|
31024
|
+
strokeWidth: 4,
|
|
31025
|
+
plot: {
|
|
31026
|
+
fill: "#22348f",
|
|
31027
|
+
stroke: "#FFFFFF",
|
|
31028
|
+
strokeWidth: 1,
|
|
31029
|
+
radius: {
|
|
31030
|
+
selected: 6,
|
|
31031
|
+
unselected: 4
|
|
31032
|
+
}
|
|
31033
|
+
},
|
|
31034
|
+
selector: {
|
|
31035
|
+
stroke: "#ccc",
|
|
31036
|
+
strokeWidth: 1,
|
|
31037
|
+
strokeDasharray: 5
|
|
31038
|
+
}
|
|
31039
|
+
},
|
|
31040
|
+
labels: {
|
|
31041
|
+
color: "#2D353C"
|
|
31042
|
+
},
|
|
31043
|
+
progression: {
|
|
31044
|
+
stroke: "#2D353C",
|
|
31045
|
+
strokeWidth: 2,
|
|
31046
|
+
strokeDasharray: 4,
|
|
31047
|
+
arrowSize: 7
|
|
31048
|
+
}
|
|
31011
31049
|
}
|
|
31012
31050
|
}
|
|
31013
31051
|
},
|
|
@@ -31150,7 +31188,7 @@ const h6 = {
|
|
|
31150
31188
|
},
|
|
31151
31189
|
mounted() {
|
|
31152
31190
|
if (this.dataset.header.length === 0)
|
|
31153
|
-
throw new Error(`
|
|
31191
|
+
throw new Error(`vue-ui-table error: missing header data.
|
|
31154
31192
|
Provide an array of objects of type:
|
|
31155
31193
|
{
|
|
31156
31194
|
name: string;
|
|
@@ -31165,7 +31203,7 @@ Provide an array of objects of type:
|
|
|
31165
31203
|
percentageTo: string; (or '')
|
|
31166
31204
|
}`);
|
|
31167
31205
|
if (this.dataset.body.length === 0)
|
|
31168
|
-
throw new Error("
|
|
31206
|
+
throw new Error("vue-ui-table error: missing body data");
|
|
31169
31207
|
this.isLoading = !0, this.promiseWithAsyncFunction(this.prepareBodyCopy, () => {
|
|
31170
31208
|
this.$forceUpdate(), this.isLoading = !1;
|
|
31171
31209
|
}), document.addEventListener("keydown", (A) => {
|
|
@@ -31406,7 +31444,7 @@ Provide an array of objects of type:
|
|
|
31406
31444
|
const e = A.keyCode, t = 38, r = 40, n = 37, i = 39;
|
|
31407
31445
|
if (![t, r, n, i].includes(e))
|
|
31408
31446
|
return;
|
|
31409
|
-
const a = A.target.id, s = /cell_(\d+)_(\d+)/, o = a.match(s), l = parseInt(o[1]), f = parseInt(o[2]), d = document.getElementById(`cell_${l}_${f + 1}`), g = document.getElementById(`cell_${l}_${f - 1}`), h = document.getElementById(`cell_${l + 1}_${f}`), v = document.getElementById(`cell_${l - 1}_${f}`);
|
|
31447
|
+
const a = A.target.id, s = /cell_(\d+)_(\d+)_vue-ui-table-(\d+)/, o = a.match(s), l = parseInt(o[1]), f = parseInt(o[2]), d = document.getElementById(`cell_${l}_${f + 1}_${this.uid}`), g = document.getElementById(`cell_${l}_${f - 1}_${this.uid}`), h = document.getElementById(`cell_${l + 1}_${f}_${this.uid}`), v = document.getElementById(`cell_${l - 1}_${f}_${this.uid}`);
|
|
31410
31448
|
let w;
|
|
31411
31449
|
switch (!0) {
|
|
31412
31450
|
case e === i:
|
|
@@ -31506,7 +31544,7 @@ Provide an array of objects of type:
|
|
|
31506
31544
|
colIndex: A,
|
|
31507
31545
|
headerType: this.constants.NUMERIC,
|
|
31508
31546
|
event: {
|
|
31509
|
-
currentTarget: document.getElementById(`cell_${t}_${A}`)
|
|
31547
|
+
currentTarget: document.getElementById(`cell_${t}_${A}_${this.uid}`)
|
|
31510
31548
|
}
|
|
31511
31549
|
});
|
|
31512
31550
|
}), this.selectedColumn = A) : (this.selectedColumn = void 0, this.resetSelection());
|
|
@@ -31729,19 +31767,19 @@ Provide an array of objects of type:
|
|
|
31729
31767
|
return isNaN(A) ? e : A;
|
|
31730
31768
|
}
|
|
31731
31769
|
}
|
|
31732
|
-
},
|
|
31770
|
+
}, Pn = (A) => (eg("data-v-f96dc6c4"), A = A(), tg(), A), d6 = { class: "vue-ui-table-export-hub" }, g6 = ["innerHTML"], p6 = ["data-is-open"], w6 = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1)), B6 = { class: "vue-ui-table-export-hub-options" }, v6 = { class: "vue-ui-table-export-hub-option-wrapper" }, m6 = { class: "label" }, x6 = ["innerHTML"], C6 = { class: "vue-ui-table-export-hub-option-wrapper" }, y6 = { class: "label" }, F6 = ["innerHTML"], b6 = { class: "vue-ui-table" }, E6 = { id: "tableHead" }, _6 = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), S6 = { key: 0 }, U6 = { key: 0 }, Q6 = { key: 1 }, T6 = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), L6 = {
|
|
31733
31771
|
key: 0,
|
|
31734
31772
|
style: { display: "flex", "align-items": "center", "justify-content": "flex-end" }
|
|
31735
31773
|
}, I6 = ["innerHTML"], N6 = {
|
|
31736
31774
|
key: 0,
|
|
31737
31775
|
style: { "margin-left": "3px" }
|
|
31738
|
-
}, D6 = /* @__PURE__ */
|
|
31776
|
+
}, D6 = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), k6 = { key: 0 }, O6 = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), H6 = { class: "th-filter" }, P6 = {
|
|
31739
31777
|
key: 0,
|
|
31740
31778
|
class: "th-date"
|
|
31741
31779
|
}, M6 = { class: "date-wrapper--inputs" }, R6 = { class: "date-fieldset" }, K6 = ["for"], V6 = ["id", "onUpdate:modelValue", "onInput"], G6 = { class: "date-fieldset" }, j6 = ["for"], W6 = ["id", "onUpdate:modelValue", "onInput"], X6 = { class: "date-wrapper--button" }, z6 = ["onClick"], q6 = ["innerHTML"], Y6 = ["innerHTML"], J6 = ["innerHTML"], Z6 = ["onClick", "disabled"], $6 = ["placeholder", "onUpdate:modelValue", "name"], AQ = ["onClick"], eQ = ["innerHTML"], tQ = ["innerHTML"], rQ = ["innerHTML"], nQ = ["onClick", "innerHTML"], iQ = ["innerHTML"], aQ = {
|
|
31742
31780
|
key: 5,
|
|
31743
31781
|
class: "th-range-filter"
|
|
31744
|
-
}, sQ = ["for"], oQ = /* @__PURE__ */
|
|
31782
|
+
}, sQ = ["for"], oQ = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒥ", -1)), lQ = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒣ", -1)), cQ = ["id", "max", "min", "onUpdate:modelValue"], fQ = ["id", "max", "min", "onUpdate:modelValue"], uQ = ["for"], hQ = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒪ", -1)), dQ = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒧ", -1)), gQ = ["onClick", "disabled"], pQ = ["id"], wQ = ["onClick"], BQ = ["onClick", "onKeyup"], vQ = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), mQ = ["innerHTML", "onClick", "onKeyup"], xQ = ["data-row"], CQ = ["data-row"], yQ = ["data-row", "onClick", "onKeyup", "id"], FQ = ["innerHTML"], bQ = { key: 1 }, EQ = { key: 2 }, _Q = { key: 5 }, SQ = ["innerHTML"], UQ = { key: 0 }, QQ = { style: { "margin-left": "12px" } }, TQ = { class: "format-num" }, LQ = { style: { "margin-left": "12px" } }, IQ = {
|
|
31745
31783
|
key: 0,
|
|
31746
31784
|
class: "format-num"
|
|
31747
31785
|
}, NQ = {
|
|
@@ -31771,68 +31809,28 @@ Provide an array of objects of type:
|
|
|
31771
31809
|
}, zQ = ["max", "value"], qQ = { key: 1 }, YQ = ["disabled"], JQ = ["innerHTML", "disabled"], ZQ = { class: "chart-modal-options" }, $Q = ["innerHTML"], A8 = ["innerHTML"], e8 = ["innerHTML"], t8 = { style: { "margin-bottom": "12px" } }, r8 = { key: 0 }, n8 = { key: 1 }, i8 = {
|
|
31772
31810
|
style: { width: "100%", height: "fit-content", cursor: "move" },
|
|
31773
31811
|
ref: "chartModal"
|
|
31774
|
-
}, a8 = {
|
|
31775
|
-
|
|
31776
|
-
id: "arrowhead",
|
|
31777
|
-
markerWidth: "7",
|
|
31778
|
-
markerHeight: "7",
|
|
31779
|
-
refX: "0",
|
|
31780
|
-
refY: "3.5",
|
|
31781
|
-
orient: "auto"
|
|
31782
|
-
}, [
|
|
31783
|
-
/* @__PURE__ */ yA("polygon", {
|
|
31784
|
-
points: "0 0, 7 3.5, 0 7",
|
|
31785
|
-
fill: "grey"
|
|
31786
|
-
})
|
|
31787
|
-
])
|
|
31788
|
-
], -1)), g8 = ["x2", "y1", "y2"], p8 = ["y2"], w8 = ["x", "width", "height", "fill"], B8 = /* @__PURE__ */ rg('<linearGradient id="barGradientSelected" x2="0%" y2="100%" data-v-bbc60499><stop offset="0.2" stop-color="#6376DD" data-v-bbc60499></stop><stop offset="1" stop-color="#6376DD80" data-v-bbc60499></stop></linearGradient><linearGradient id="barGradientSelectedNeg" x2="0%" y2="100%" data-v-bbc60499><stop offset="0.2" stop-color="#6376DD80" data-v-bbc60499></stop><stop offset="1" stop-color="#6376DD" data-v-bbc60499></stop></linearGradient><linearGradient id="barGradient" x2="0%" y2="100%" data-v-bbc60499><stop offset="0.2" stop-color="#6376DDB3" data-v-bbc60499></stop><stop offset="1" stop-color="#6376DD66" data-v-bbc60499></stop></linearGradient><linearGradient id="barGradientNeg" x2="0%" y2="100%" data-v-bbc60499><stop offset="0.2" stop-color="#6376DD66" data-v-bbc60499></stop><stop offset="1" stop-color="#6376DDB3" data-v-bbc60499></stop></linearGradient>', 4), v8 = ["x", "y", "height", "width", "fill"], m8 = ["x", "y", "width"], x8 = { style: { width: "100%", "text-align": "center", "font-size": "20px" } }, C8 = ["x1", "y1", "x2", "y2"], y8 = ["x1", "y1", "x2", "y2"], F8 = ["cx", "cy", "r"], b8 = ["x", "y", "width"], E8 = { style: { width: "100%", "text-align": "center", "font-size": "20px" } }, _8 = ["x", "width", "height", "onMouseenter"], S8 = ["x1", "y1", "x2", "y2"], U8 = /* @__PURE__ */ pn(() => /* @__PURE__ */ yA("span", null, "---", -1)), Q8 = {
|
|
31789
|
-
viewBox: "0 0 100 100",
|
|
31790
|
-
style: { overflow: "visible", padding: "0 24px" },
|
|
31791
|
-
class: "vue-ui-table-donut-chart"
|
|
31792
|
-
}, T8 = ["d", "stroke"], L8 = ["x", "y"], I8 = {
|
|
31793
|
-
key: 0,
|
|
31794
|
-
class: "vue-ui-table-donut-label"
|
|
31795
|
-
}, N8 = { class: "vue-ui-table-donut-label-name" }, D8 = {
|
|
31796
|
-
x: 50,
|
|
31797
|
-
y: 42,
|
|
31798
|
-
"text-anchor": "middle",
|
|
31799
|
-
"font-size": "6"
|
|
31800
|
-
}, k8 = {
|
|
31801
|
-
x: 50,
|
|
31802
|
-
y: 48,
|
|
31803
|
-
"text-anchor": "middle",
|
|
31804
|
-
"font-size": "4"
|
|
31805
|
-
}, O8 = {
|
|
31806
|
-
x: 50,
|
|
31807
|
-
y: 56,
|
|
31808
|
-
"text-anchor": "middle",
|
|
31809
|
-
"font-size": "6"
|
|
31810
|
-
}, H8 = {
|
|
31811
|
-
x: 50,
|
|
31812
|
-
y: 62,
|
|
31813
|
-
"text-anchor": "middle",
|
|
31814
|
-
"font-size": "4"
|
|
31815
|
-
}, P8 = { class: "vue-ui-table-donut-legend" };
|
|
31816
|
-
function M8(A, e, t, r, n, i) {
|
|
31812
|
+
}, a8 = { class: "vue-ui-table-fieldset" }, s8 = { class: "vue-ui-table-fieldset-wrapper" }, o8 = ["name", "id", "checked", "onInput"], l8 = ["for"], c8 = ["disabled"], f8 = ["innerHTML"], u8 = ["viewBox"], h8 = ["markerWidth", "markerHeight", "refY"], d8 = ["points", "fill"], g8 = ["x2", "y1", "y2", "stroke", "stroke-width"], p8 = ["y2", "stroke", "stroke-width"], w8 = ["x", "width", "height", "fill"], B8 = /* @__PURE__ */ rg('<linearGradient id="barGradientSelected" x2="0%" y2="100%" data-v-f96dc6c4><stop offset="0.2" stop-color="#6376DD" data-v-f96dc6c4></stop><stop offset="1" stop-color="#6376DD80" data-v-f96dc6c4></stop></linearGradient><linearGradient id="barGradientSelectedNeg" x2="0%" y2="100%" data-v-f96dc6c4><stop offset="0.2" stop-color="#6376DD80" data-v-f96dc6c4></stop><stop offset="1" stop-color="#6376DD" data-v-f96dc6c4></stop></linearGradient><linearGradient id="barGradient" x2="0%" y2="100%" data-v-f96dc6c4><stop offset="0.2" stop-color="#6376DDB3" data-v-f96dc6c4></stop><stop offset="1" stop-color="#6376DD66" data-v-f96dc6c4></stop></linearGradient><linearGradient id="barGradientNeg" x2="0%" y2="100%" data-v-f96dc6c4><stop offset="0.2" stop-color="#6376DD66" data-v-f96dc6c4></stop><stop offset="1" stop-color="#6376DDB3" data-v-f96dc6c4></stop></linearGradient>', 4), v8 = ["x", "y", "height", "width", "fill", "stroke"], m8 = ["x", "y", "width"], x8 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], C8 = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], y8 = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], F8 = ["x", "y", "width"], b8 = ["x", "width", "height", "onMouseenter"], E8 = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], _8 = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("span", null, "---", -1)), S8 = ["d", "stroke"], U8 = ["x", "y"], Q8 = { class: "vue-ui-table-donut-label-name" }, T8 = ["fill"], L8 = ["fill"], I8 = ["fill"], N8 = ["fill"], D8 = { class: "vue-ui-table-donut-legend" };
|
|
31813
|
+
function k8(A, e, t, r, n, i) {
|
|
31817
31814
|
return fA(), uA("div", {
|
|
31818
31815
|
class: "vue-ui-table-main",
|
|
31819
|
-
style:
|
|
31816
|
+
style: ue(`font-family: ${i.tableConfig.fontFamily}`)
|
|
31820
31817
|
}, [
|
|
31821
31818
|
yA("div", d6, [
|
|
31822
31819
|
yA("button", {
|
|
31823
31820
|
onClick: e[0] || (e[0] = (a) => n.isExportRequest = !n.isExportRequest),
|
|
31824
|
-
innerHTML: i.icons.export
|
|
31825
|
-
|
|
31821
|
+
innerHTML: i.icons.export,
|
|
31822
|
+
style: ue(`background:${i.tableConfig.style.exportMenu.backgroundColor};color:${i.tableConfig.style.exportMenu.color}`)
|
|
31823
|
+
}, null, 12, g6),
|
|
31826
31824
|
yA("div", {
|
|
31827
31825
|
class: "vue-ui-table-export-hub-dropdown",
|
|
31828
31826
|
"data-is-open": n.isExportRequest || "false",
|
|
31829
|
-
style:
|
|
31827
|
+
style: ue(`background:${i.tableConfig.style.exportMenu.backgroundColor};color:${i.tableConfig.style.exportMenu.color}`)
|
|
31830
31828
|
}, [
|
|
31831
31829
|
w6,
|
|
31832
31830
|
yA("button", {
|
|
31833
31831
|
class: "close-dropdown",
|
|
31834
31832
|
onClick: e[1] || (e[1] = (a) => n.isExportRequest = !1),
|
|
31835
|
-
style:
|
|
31833
|
+
style: ue(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
|
|
31836
31834
|
}, " ✖ ", 4),
|
|
31837
31835
|
yA("div", B6, [
|
|
31838
31836
|
yA("div", v6, [
|
|
@@ -31840,7 +31838,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
31840
31838
|
yA("button", {
|
|
31841
31839
|
id: "exportAll",
|
|
31842
31840
|
onClick: e[2] || (e[2] = (a) => i.createXls("all")),
|
|
31843
|
-
style:
|
|
31841
|
+
style: ue(`background:${i.tableConfig.style.exportMenu.buttons.backgroundColor};color:${i.tableConfig.style.exportMenu.buttons.color}`)
|
|
31844
31842
|
}, [
|
|
31845
31843
|
yA("div", {
|
|
31846
31844
|
innerHTML: i.icons.fileDownload
|
|
@@ -31853,7 +31851,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
31853
31851
|
yA("button", {
|
|
31854
31852
|
id: "exportPage",
|
|
31855
31853
|
onClick: e[3] || (e[3] = (a) => i.createXls("page")),
|
|
31856
|
-
style:
|
|
31854
|
+
style: ue(`background:${i.tableConfig.style.exportMenu.buttons.backgroundColor};color:${i.tableConfig.style.exportMenu.buttons.color}`)
|
|
31857
31855
|
}, [
|
|
31858
31856
|
yA("div", {
|
|
31859
31857
|
innerHTML: i.icons.fileDownload
|
|
@@ -31866,7 +31864,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
31866
31864
|
]),
|
|
31867
31865
|
yA("div", {
|
|
31868
31866
|
class: "vue-ui-table__wrapper",
|
|
31869
|
-
style:
|
|
31867
|
+
style: ue(`max-height:${i.tableConfig.maxHeight}px`),
|
|
31870
31868
|
ref: "tableWrapper"
|
|
31871
31869
|
}, [
|
|
31872
31870
|
yA("table", b6, [
|
|
@@ -31875,7 +31873,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
31875
31873
|
_6,
|
|
31876
31874
|
(fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
|
|
31877
31875
|
key: `thead_${s}`,
|
|
31878
|
-
style:
|
|
31876
|
+
style: ue(`overflow: visible;background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`),
|
|
31879
31877
|
class: it({ "th-has-nan": n.hasNaN[s] })
|
|
31880
31878
|
}, [
|
|
31881
31879
|
i.hasNumericTypes && ([n.constants.TEXT, n.constants.DATE].includes(a.type) || a.isPercentage) ? (fA(), uA("span", S6, [
|
|
@@ -31890,7 +31888,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
31890
31888
|
(fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
|
|
31891
31889
|
key: `thead_${s}`,
|
|
31892
31890
|
class: it({ "th-numeric": !0, "th-has-nan": n.hasNaN[s] }),
|
|
31893
|
-
style:
|
|
31891
|
+
style: ue(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
|
|
31894
31892
|
}, [
|
|
31895
31893
|
a.sum && !n.hasNaN[s] ? (fA(), uA("span", L6, [
|
|
31896
31894
|
yA("span", {
|
|
@@ -31907,7 +31905,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
31907
31905
|
(fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
|
|
31908
31906
|
key: `thead_${s}`,
|
|
31909
31907
|
class: it({ "th-numeric": !0, "th-has-nan": n.hasNaN[s] }),
|
|
31910
|
-
style:
|
|
31908
|
+
style: ue(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
|
|
31911
31909
|
}, [
|
|
31912
31910
|
a.average && !n.hasNaN[s] ? (fA(), uA("span", k6, " ~ " + IA(a.prefix) + " " + IA(isNaN(i.getAverage(s)) ? "" : Number(i.getAverage(s).toFixed(a.decimals)).toLocaleString()) + " " + IA(a.suffix), 1)) : ce("", !0)
|
|
31913
31911
|
], 6))), 128))
|
|
@@ -31917,7 +31915,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
31917
31915
|
(fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
|
|
31918
31916
|
key: `thead_${s}`,
|
|
31919
31917
|
class: it({ "th-has-nan": n.hasNaN[s] }),
|
|
31920
|
-
style:
|
|
31918
|
+
style: ue(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
|
|
31921
31919
|
}, [
|
|
31922
31920
|
yA("div", H6, [
|
|
31923
31921
|
a.type === n.constants.DATE && n.dates[s] ? (fA(), uA("div", P6, [
|
|
@@ -31933,7 +31931,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
31933
31931
|
onInput: (o) => {
|
|
31934
31932
|
i.filterBody(), i.setFilterDatesIndexes(s);
|
|
31935
31933
|
},
|
|
31936
|
-
style:
|
|
31934
|
+
style: ue(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
31937
31935
|
}, null, 44, V6), [
|
|
31938
31936
|
[go, n.dates[s].from]
|
|
31939
31937
|
])
|
|
@@ -31949,7 +31947,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
31949
31947
|
onInput: (o) => {
|
|
31950
31948
|
i.filterBody(), i.setFilterDatesIndexes(s);
|
|
31951
31949
|
},
|
|
31952
|
-
style:
|
|
31950
|
+
style: ue(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
31953
31951
|
}, null, 44, W6), [
|
|
31954
31952
|
[go, n.dates[s].to]
|
|
31955
31953
|
])
|
|
@@ -31987,7 +31985,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
31987
31985
|
"onUpdate:modelValue": (o) => n.searches[s] = o,
|
|
31988
31986
|
onInput: e[4] || (e[4] = (o) => i.debounce(i.filterBody, 400)),
|
|
31989
31987
|
name: `search_${s}`,
|
|
31990
|
-
style:
|
|
31988
|
+
style: ue(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
31991
31989
|
}, null, 44, $6)), [
|
|
31992
31990
|
[go, n.searches[s]]
|
|
31993
31991
|
]) : ce("", !0),
|
|
@@ -32034,7 +32032,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32034
32032
|
min: n.immutableRangeFilters[s].min,
|
|
32035
32033
|
"onUpdate:modelValue": (o) => n.rangeFilters[s].min = o,
|
|
32036
32034
|
onInput: e[6] || (e[6] = (o) => i.debounce(i.filterBody, 400)),
|
|
32037
|
-
style:
|
|
32035
|
+
style: ue(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
32038
32036
|
}, null, 44, cQ), [
|
|
32039
32037
|
[
|
|
32040
32038
|
go,
|
|
@@ -32050,7 +32048,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32050
32048
|
min: n.immutableRangeFilters[s].min,
|
|
32051
32049
|
"onUpdate:modelValue": (o) => n.rangeFilters[s].max = o,
|
|
32052
32050
|
onInput: e[7] || (e[7] = (o) => i.debounce(i.filterBody, 400)),
|
|
32053
|
-
style:
|
|
32051
|
+
style: ue(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
32054
32052
|
}, null, 44, fQ), [
|
|
32055
32053
|
[
|
|
32056
32054
|
go,
|
|
@@ -32078,7 +32076,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32078
32076
|
class: "th-dropdown",
|
|
32079
32077
|
"data-is-open": "false",
|
|
32080
32078
|
id: `th_dropdown_${s}`,
|
|
32081
|
-
style:
|
|
32079
|
+
style: ue(`background:${i.tableConfig.style.dropdowns.backgroundColor};color:${i.tableConfig.style.dropdowns.color}`)
|
|
32082
32080
|
}, [
|
|
32083
32081
|
yA("button", {
|
|
32084
32082
|
class: "close-dropdown",
|
|
@@ -32092,16 +32090,16 @@ function M8(A, e, t, r, n, i) {
|
|
|
32092
32090
|
po((f) => i.selectDropdownOption(o, s), ["enter"]),
|
|
32093
32091
|
po((f) => i.selectDropdownOption(o, s), ["space"])
|
|
32094
32092
|
],
|
|
32095
|
-
style:
|
|
32093
|
+
style: ue(`opacity:${i.isDropdownOptionSelected(o, s) ? 1 : 0.5}`),
|
|
32096
32094
|
tabindex: "0"
|
|
32097
32095
|
}, [
|
|
32098
32096
|
i.isDropdownOptionSelected(o, s) ? (fA(), uA("span", {
|
|
32099
32097
|
key: 0,
|
|
32100
|
-
style:
|
|
32098
|
+
style: ue(`color:${i.tableConfig.style.dropdowns.icons.selected.color};margin-right:5px`),
|
|
32101
32099
|
class: "th-icon-green"
|
|
32102
32100
|
}, IA(i.tableConfig.style.dropdowns.icons.selected.unicode), 5)) : (fA(), uA("span", {
|
|
32103
32101
|
key: 1,
|
|
32104
|
-
style:
|
|
32102
|
+
style: ue(`color:${i.tableConfig.style.dropdowns.icons.unselected.color};margin-right:5px`),
|
|
32105
32103
|
class: "th-icon-red"
|
|
32106
32104
|
}, IA(i.tableConfig.style.dropdowns.icons.unselected.unicode), 5)),
|
|
32107
32105
|
yA("span", null, IA(o), 1)
|
|
@@ -32116,7 +32114,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32116
32114
|
(fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
|
|
32117
32115
|
key: `col_selector_${s}`,
|
|
32118
32116
|
class: it({ "vue-ui-table-col-selector": !n.hasNaN[s], "th-has-nan": n.hasNaN[s] }),
|
|
32119
|
-
style:
|
|
32117
|
+
style: ue(`background:${s === n.selectedColumn && !n.hasNaN[s] ? i.tableConfig.style.th.selected.backgroundColor : i.tableConfig.style.th.backgroundColor};color:${s === n.selectedColumn && !n.hasNaN[s] ? i.tableConfig.style.th.selected.color : i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
|
|
32120
32118
|
}, [
|
|
32121
32119
|
n.hasNaN[s] ? ce("", !0) : (fA(), uA("div", {
|
|
32122
32120
|
key: 0,
|
|
@@ -32137,7 +32135,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32137
32135
|
key: `tbody_${s}`,
|
|
32138
32136
|
"data-row": s % 2 === 0 ? "odd" : "even",
|
|
32139
32137
|
class: it(`tr_${n.uid}`),
|
|
32140
|
-
style:
|
|
32138
|
+
style: ue(`${s % 2 === 0 ? `background:${i.tableConfig.style.rows.odd.backgroundColor};color:${i.tableConfig.style.rows.odd.color}` : `background:${i.tableConfig.style.rows.even.backgroundColor};color:${i.tableConfig.style.rows.even.color}`}`)
|
|
32141
32139
|
}, [
|
|
32142
32140
|
yA("td", {
|
|
32143
32141
|
class: "vue-ui-table-td-iteration",
|
|
@@ -32146,7 +32144,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32146
32144
|
(fA(!0), uA(ve, null, Te(a.td, (o, l) => (fA(), uA("td", {
|
|
32147
32145
|
"data-row": s % 2 === 0 ? "odd" : "even",
|
|
32148
32146
|
key: `td_${s}_${l}`,
|
|
32149
|
-
style:
|
|
32147
|
+
style: ue(i.isNumeric(o) || t.dataset.header[l].type === n.constants.DATE ? "text-align:right;font-variant-numeric: tabular-nums;" : ""),
|
|
32150
32148
|
onClick: (f) => i.selectTd({
|
|
32151
32149
|
td: o,
|
|
32152
32150
|
rowIndex: s,
|
|
@@ -32171,12 +32169,12 @@ function M8(A, e, t, r, n, i) {
|
|
|
32171
32169
|
}), ["space"])
|
|
32172
32170
|
],
|
|
32173
32171
|
class: it({ "td-numeric": t.dataset.header[l].type === n.constants.NUMERIC, "td-focusable": !0, "td-has-nan": n.hasNaN[l] }),
|
|
32174
|
-
id: `cell_${s}_${l}`,
|
|
32172
|
+
id: `cell_${s}_${l}_${n.uid}`,
|
|
32175
32173
|
tabindex: "0"
|
|
32176
32174
|
}, [
|
|
32177
32175
|
a.meta && a.meta.markerIndices.includes(l) && a.meta.unicodeIcon ? (fA(), uA("span", {
|
|
32178
32176
|
key: 0,
|
|
32179
|
-
style:
|
|
32177
|
+
style: ue(`color:${a.meta.color};margin-right:3px`),
|
|
32180
32178
|
innerHTML: a.meta.unicodeIcon
|
|
32181
32179
|
}, null, 12, FQ)) : ce("", !0),
|
|
32182
32180
|
t.dataset.header[l].type === n.constants.DATE ? (fA(), uA("span", bQ, IA(t.dataset.header[l].prefix) + " " + IA(new Date(o).toLocaleString().slice(0, 10)) + " " + IA(t.dataset.header[l].suffix), 1)) : t.dataset.header[l].isPercentage ? (fA(), uA("span", EQ, IA(Number((o * 100).toFixed(t.dataset.header[l].decimals)).toLocaleString()) + "% ", 1)) : n.percentages[l] && t.dataset.header[l].percentageTo && !t.dataset.header[l].isPercentage ? (fA(), uA("span", {
|
|
@@ -32193,7 +32191,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32193
32191
|
], 4),
|
|
32194
32192
|
yA("div", {
|
|
32195
32193
|
class: it({ "td-selector-info": !0, "td-selector-info--active": n.currentSelectionSpan.col !== void 0 && n.currentSelectionSpan.rows.length }),
|
|
32196
|
-
style:
|
|
32194
|
+
style: ue(`background:${i.tableConfig.style.infoBar.backgroundColor};color:${i.tableConfig.style.infoBar.color}`)
|
|
32197
32195
|
}, [
|
|
32198
32196
|
n.currentSelectionSpan.col !== void 0 && n.currentSelectionSpan.rows.length ? (fA(), uA(ve, { key: 0 }, [
|
|
32199
32197
|
yA("div", {
|
|
@@ -32223,7 +32221,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32223
32221
|
yA("button", {
|
|
32224
32222
|
onClick: e[10] || (e[10] = (...a) => i.resetSelection && i.resetSelection(...a)),
|
|
32225
32223
|
class: "td-selector-info-reset",
|
|
32226
|
-
style:
|
|
32224
|
+
style: ue(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
|
|
32227
32225
|
}, " ✖ ", 4)
|
|
32228
32226
|
], 64)) : ce("", !0)
|
|
32229
32227
|
], 6),
|
|
@@ -32234,7 +32232,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32234
32232
|
id: "paginatorSelector",
|
|
32235
32233
|
"onUpdate:modelValue": e[11] || (e[11] = (a) => n.itemsPerPage = a),
|
|
32236
32234
|
onChange: e[12] || (e[12] = (...a) => i.resetSelection && i.resetSelection(...a)),
|
|
32237
|
-
style:
|
|
32235
|
+
style: ue(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
32238
32236
|
}, [
|
|
32239
32237
|
(fA(!0), uA(ve, null, Te(n.paginatorOptions, (a, s) => (fA(), uA(ve, null, [
|
|
32240
32238
|
n.bodyCopy.length > a || t.dataset.body.length === a ? (fA(), uA("option", {
|
|
@@ -32259,7 +32257,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32259
32257
|
i.pages.length > 1 && i.pages.length <= 10 ? (fA(), uA("div", {
|
|
32260
32258
|
key: 2,
|
|
32261
32259
|
class: "vue-ui-table-navigation-indicator",
|
|
32262
|
-
style:
|
|
32260
|
+
style: ue(`width:calc(${n.currentPage / (i.pages.length - 1) * 100}%)`)
|
|
32263
32261
|
}, null, 4)) : ce("", !0),
|
|
32264
32262
|
i.pages.length > 1 ? (fA(), uA("div", VQ, [
|
|
32265
32263
|
yA("button", {
|
|
@@ -32267,14 +32265,14 @@ function M8(A, e, t, r, n, i) {
|
|
|
32267
32265
|
onClick: e[13] || (e[13] = wo((a) => i.navigate("previous"), ["stop"])),
|
|
32268
32266
|
innerHTML: i.icons.chevronLeft,
|
|
32269
32267
|
disabled: n.currentPage === 0,
|
|
32270
|
-
style:
|
|
32268
|
+
style: ue(`background:${i.tableConfig.style.pagination.buttons.backgroundColor};color:${i.tableConfig.style.pagination.buttons.color};opacity:${n.currentPage === 0 ? i.tableConfig.style.pagination.buttons.opacityDisabled : 1}`)
|
|
32271
32269
|
}, null, 12, GQ),
|
|
32272
32270
|
i.pages.length > 3 ? (fA(), uA(ve, { key: 0 }, [
|
|
32273
32271
|
yA("button", {
|
|
32274
32272
|
class: "vue-ui-table-navigation",
|
|
32275
32273
|
onClick: e[14] || (e[14] = wo((a) => i.navigate(1), ["stop"])),
|
|
32276
32274
|
disabled: n.currentPage === 0,
|
|
32277
|
-
style:
|
|
32275
|
+
style: ue(`background:${i.tableConfig.style.pagination.buttons.backgroundColor};color:${i.tableConfig.style.pagination.buttons.color};opacity:${n.currentPage === 0 ? i.tableConfig.style.pagination.buttons.opacityDisabled : 1}`)
|
|
32278
32276
|
}, " 1 ", 12, jQ),
|
|
32279
32277
|
i.pages.length > 10 ? (fA(), uA("div", WQ, [
|
|
32280
32278
|
yA("label", XQ, IA(i.tableConfig.translations.page) + " " + IA(n.currentPage + 1) + " / " + IA(i.pages.length), 1),
|
|
@@ -32287,14 +32285,14 @@ function M8(A, e, t, r, n, i) {
|
|
|
32287
32285
|
max: i.pages.length - 1,
|
|
32288
32286
|
onInput: e[15] || (e[15] = (a) => i.updateCurrentPage(a)),
|
|
32289
32287
|
value: n.currentPage,
|
|
32290
|
-
style:
|
|
32288
|
+
style: ue(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border};accent-color:${i.tableConfig.style.inputs.accentColor}`)
|
|
32291
32289
|
}, null, 44, zQ)
|
|
32292
32290
|
])) : (fA(), uA("span", qQ, IA(i.tableConfig.translations.page) + " " + IA(n.currentPage + 1) + " / " + IA(i.pages.length), 1)),
|
|
32293
32291
|
yA("button", {
|
|
32294
32292
|
class: "vue-ui-table-navigation",
|
|
32295
32293
|
onClick: e[16] || (e[16] = wo((a) => i.navigate(i.pages.length), ["stop"])),
|
|
32296
32294
|
disabled: n.currentPage === i.pages.length - 1,
|
|
32297
|
-
style:
|
|
32295
|
+
style: ue(`background:${i.tableConfig.style.pagination.buttons.backgroundColor};color:${i.tableConfig.style.pagination.buttons.color};opacity:${n.currentPage === i.pages.length - 1 ? i.tableConfig.style.pagination.buttons.opacityDisabled : 1}`)
|
|
32298
32296
|
}, IA(i.pages.length), 13, YQ)
|
|
32299
32297
|
], 64)) : (fA(), uA(ve, { key: 1 }, [
|
|
32300
32298
|
wr(IA(i.tableConfig.translations.page) + " " + IA(n.currentPage + 1) + " / " + IA(i.pages.length), 1)
|
|
@@ -32304,18 +32302,18 @@ function M8(A, e, t, r, n, i) {
|
|
|
32304
32302
|
onClick: e[17] || (e[17] = wo((a) => i.navigate("next"), ["stop"])),
|
|
32305
32303
|
innerHTML: i.icons.chevronRight,
|
|
32306
32304
|
disabled: n.currentPage === i.pages.length - 1,
|
|
32307
|
-
style:
|
|
32305
|
+
style: ue(`background:${i.tableConfig.style.pagination.buttons.backgroundColor};color:${i.tableConfig.style.pagination.buttons.color};opacity:${n.currentPage === i.pages.length - 1 ? i.tableConfig.style.pagination.buttons.opacityDisabled : 1}`)
|
|
32308
32306
|
}, null, 12, JQ)
|
|
32309
32307
|
])) : ce("", !0),
|
|
32310
32308
|
n.showChart && i.canChart ? (fA(), uA("div", {
|
|
32311
32309
|
key: 4,
|
|
32312
32310
|
class: "vue-ui-table-chart-modal",
|
|
32313
|
-
style:
|
|
32311
|
+
style: ue(`top:${n.clientY}px; left:${n.clientX}px;background:${i.tableConfig.style.chart.modal.backgroundColor};color:${i.tableConfig.style.chart.modal.color}`)
|
|
32314
32312
|
}, [
|
|
32315
32313
|
yA("button", {
|
|
32316
32314
|
class: "close-chart-modal",
|
|
32317
32315
|
onClick: e[18] || (e[18] = (a) => n.showChart = !1),
|
|
32318
|
-
style:
|
|
32316
|
+
style: ue(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
|
|
32319
32317
|
}, " ✖ ", 4),
|
|
32320
32318
|
yA("div", ZQ, [
|
|
32321
32319
|
i.availableDonutCategories.length ? (fA(), uA("button", {
|
|
@@ -32347,10 +32345,13 @@ function M8(A, e, t, r, n, i) {
|
|
|
32347
32345
|
])
|
|
32348
32346
|
]),
|
|
32349
32347
|
yA("div", i8, [
|
|
32350
|
-
n.showDonutOptions && i.availableDonutCategories.length ? (fA(), uA("div",
|
|
32351
|
-
|
|
32348
|
+
n.showDonutOptions && i.availableDonutCategories.length ? (fA(), uA("div", {
|
|
32349
|
+
key: 0,
|
|
32350
|
+
style: ue(`background:${i.tableConfig.style.chart.modal.backgroundColor};color:${i.tableConfig.style.chart.modal.color}`)
|
|
32351
|
+
}, [
|
|
32352
|
+
yA("fieldset", a8, [
|
|
32352
32353
|
yA("legend", null, IA(i.tableConfig.translations.chooseCategoryColumn), 1),
|
|
32353
|
-
yA("div",
|
|
32354
|
+
yA("div", s8, [
|
|
32354
32355
|
(fA(!0), uA(ve, null, Te(i.availableDonutCategories, (a, s) => (fA(), uA("div", {
|
|
32355
32356
|
key: `donut_radio_${s}`,
|
|
32356
32357
|
class: "vue-ui-table-fieldset-option"
|
|
@@ -32361,11 +32362,11 @@ function M8(A, e, t, r, n, i) {
|
|
|
32361
32362
|
id: a.name,
|
|
32362
32363
|
checked: n.selectedDonutCategory && a.name === n.selectedDonutCategory.name,
|
|
32363
32364
|
onInput: (o) => n.selectedDonutCategory = i.availableDonutCategories[s],
|
|
32364
|
-
style:
|
|
32365
|
-
}, null, 44,
|
|
32365
|
+
style: ue(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
32366
|
+
}, null, 44, o8),
|
|
32366
32367
|
yA("label", {
|
|
32367
32368
|
for: a.name
|
|
32368
|
-
}, IA(a.name), 9,
|
|
32369
|
+
}, IA(a.name), 9, l8)
|
|
32369
32370
|
]))), 128))
|
|
32370
32371
|
]),
|
|
32371
32372
|
yA("button", {
|
|
@@ -32376,25 +32377,40 @@ function M8(A, e, t, r, n, i) {
|
|
|
32376
32377
|
yA("div", {
|
|
32377
32378
|
style: { "margin-bottom": "-3px" },
|
|
32378
32379
|
innerHTML: i.icons.donut
|
|
32379
|
-
}, null, 8,
|
|
32380
|
+
}, null, 8, f8),
|
|
32380
32381
|
wr(" " + IA(i.tableConfig.translations.makeDonut), 1)
|
|
32381
|
-
], 8,
|
|
32382
|
+
], 8, c8)
|
|
32382
32383
|
])
|
|
32383
|
-
])) : ce("", !0),
|
|
32384
|
+
], 4)) : ce("", !0),
|
|
32384
32385
|
[n.constants.BAR, n.constants.LINE].includes(n.chart.type) && !n.showDonutOptions ? (fA(), uA(ve, { key: 1 }, [
|
|
32385
32386
|
(fA(), uA("svg", {
|
|
32386
32387
|
viewBox: `0 0 ${n.chart.width} ${n.chart.height}`,
|
|
32387
|
-
class: "vue-ui-table-chart-svg"
|
|
32388
|
+
class: "vue-ui-table-chart-svg",
|
|
32389
|
+
style: ue(`background:${i.tableConfig.style.chart.layout.backgroundColor}`)
|
|
32388
32390
|
}, [
|
|
32389
|
-
|
|
32391
|
+
yA("defs", null, [
|
|
32392
|
+
yA("marker", {
|
|
32393
|
+
id: "arrowhead",
|
|
32394
|
+
markerWidth: i.tableConfig.style.chart.layout.progression.arrowSize,
|
|
32395
|
+
markerHeight: i.tableConfig.style.chart.layout.progression.arrowSize,
|
|
32396
|
+
refX: "0",
|
|
32397
|
+
refY: i.tableConfig.style.chart.layout.progression.arrowSize / 2,
|
|
32398
|
+
orient: "auto"
|
|
32399
|
+
}, [
|
|
32400
|
+
yA("polygon", {
|
|
32401
|
+
points: `0 0, ${i.tableConfig.style.chart.layout.progression.arrowSize} ${i.tableConfig.style.chart.layout.progression.arrowSize / 2}, 0 ${i.tableConfig.style.chart.layout.progression.arrowSize}`,
|
|
32402
|
+
fill: i.tableConfig.style.chart.layout.progression.stroke
|
|
32403
|
+
}, null, 8, d8)
|
|
32404
|
+
], 8, h8)
|
|
32405
|
+
]),
|
|
32390
32406
|
yA("g", null, [
|
|
32391
32407
|
yA("line", {
|
|
32392
32408
|
x1: 0,
|
|
32393
32409
|
x2: n.chart.width,
|
|
32394
32410
|
y1: i.chartData.zero,
|
|
32395
32411
|
y2: i.chartData.zero,
|
|
32396
|
-
stroke:
|
|
32397
|
-
"stroke-width":
|
|
32412
|
+
stroke: i.tableConfig.style.chart.layout.axis.stroke,
|
|
32413
|
+
"stroke-width": i.tableConfig.style.chart.layout.axis.strokeWidth,
|
|
32398
32414
|
"stroke-linecap": "round"
|
|
32399
32415
|
}, null, 8, g8),
|
|
32400
32416
|
yA("line", {
|
|
@@ -32402,8 +32418,8 @@ function M8(A, e, t, r, n, i) {
|
|
|
32402
32418
|
x2: 0,
|
|
32403
32419
|
y1: 0,
|
|
32404
32420
|
y2: n.chart.height,
|
|
32405
|
-
stroke:
|
|
32406
|
-
"stroke-width":
|
|
32421
|
+
stroke: i.tableConfig.style.chart.layout.axis.stroke,
|
|
32422
|
+
"stroke-width": i.tableConfig.style.chart.layout.axis.strokeWidth,
|
|
32407
32423
|
"stroke-linecap": "round"
|
|
32408
32424
|
}, null, 8, p8)
|
|
32409
32425
|
]),
|
|
@@ -32428,8 +32444,8 @@ function M8(A, e, t, r, n, i) {
|
|
|
32428
32444
|
y: i.calcRectY(a.value, a.y),
|
|
32429
32445
|
height: a.value >= 0 ? i.chartData.zero - a.y : a.y - i.chartData.zero,
|
|
32430
32446
|
width: i.chartData.slot,
|
|
32431
|
-
fill: n.selectedPlot === s ? a.value >= 0 ? "url(#barGradientSelected)" : "url(#barGradientSelectedNeg)" : (a.value >= 0, "url(#barGradient)"),
|
|
32432
|
-
stroke:
|
|
32447
|
+
fill: i.tableConfig.style.chart.layout.bar.fill ? i.tableConfig.style.chart.layout.bar.fill : n.selectedPlot === s ? a.value >= 0 ? "url(#barGradientSelected)" : "url(#barGradientSelectedNeg)" : (a.value >= 0, "url(#barGradient)"),
|
|
32448
|
+
stroke: i.tableConfig.style.chart.layout.bar.stroke,
|
|
32433
32449
|
"stroke-width": "1"
|
|
32434
32450
|
}, null, 8, v8),
|
|
32435
32451
|
n.selectedPlot === s ? (fA(), uA("foreignObject", {
|
|
@@ -32440,7 +32456,9 @@ function M8(A, e, t, r, n, i) {
|
|
|
32440
32456
|
width: i.chartData.slot < 100 ? 100 : i.chartData.slot,
|
|
32441
32457
|
style: { overflow: "visible" }
|
|
32442
32458
|
}, [
|
|
32443
|
-
yA("div",
|
|
32459
|
+
yA("div", {
|
|
32460
|
+
style: ue(`width:100%;text-align:center;font-size:20px;color:${i.tableConfig.style.chart.layout.labels.color}`)
|
|
32461
|
+
}, IA(a.prefix) + " " + IA(Number(a.value.toFixed(t.dataset.header[n.currentSelectionSpan.col].decimals)).toLocaleString()) + " " + IA(a.suffix), 5)
|
|
32444
32462
|
], 8, m8)) : ce("", !0)
|
|
32445
32463
|
], 64)) : ce("", !0),
|
|
32446
32464
|
n.chart.type === n.constants.LINE ? (fA(), uA(ve, { key: 1 }, [
|
|
@@ -32450,27 +32468,27 @@ function M8(A, e, t, r, n, i) {
|
|
|
32450
32468
|
y1: a.y,
|
|
32451
32469
|
x2: i.chartData.plots[s + 1].x,
|
|
32452
32470
|
y2: i.chartData.plots[s + 1].y,
|
|
32453
|
-
"stroke-width":
|
|
32454
|
-
stroke:
|
|
32455
|
-
}, null, 8,
|
|
32471
|
+
"stroke-width": i.tableConfig.style.chart.layout.line.strokeWidth,
|
|
32472
|
+
stroke: i.tableConfig.style.chart.layout.line.stroke
|
|
32473
|
+
}, null, 8, x8)) : ce("", !0),
|
|
32456
32474
|
n.selectedPlot === s ? (fA(), uA("line", {
|
|
32457
32475
|
key: 1,
|
|
32458
32476
|
x1: a.x,
|
|
32459
32477
|
y1: a.y,
|
|
32460
32478
|
x2: a.x,
|
|
32461
32479
|
y2: n.chart.height,
|
|
32462
|
-
stroke:
|
|
32463
|
-
"stroke-width":
|
|
32464
|
-
"stroke-dasharray":
|
|
32465
|
-
}, null, 8,
|
|
32480
|
+
stroke: i.tableConfig.style.chart.layout.line.selector.stroke,
|
|
32481
|
+
"stroke-width": i.tableConfig.style.chart.layout.line.selector.strokeWidth,
|
|
32482
|
+
"stroke-dasharray": i.tableConfig.style.chart.layout.line.selector.strokeDasharray
|
|
32483
|
+
}, null, 8, C8)) : ce("", !0),
|
|
32466
32484
|
yA("circle", {
|
|
32467
32485
|
cx: a.x,
|
|
32468
32486
|
cy: a.y,
|
|
32469
|
-
r: n.selectedPlot === s ?
|
|
32470
|
-
fill:
|
|
32471
|
-
stroke:
|
|
32472
|
-
"stroke-width":
|
|
32473
|
-
}, null, 8,
|
|
32487
|
+
r: n.selectedPlot === s ? i.tableConfig.style.chart.layout.line.plot.radius.selected : i.tableConfig.style.chart.layout.line.plot.radius.unselected,
|
|
32488
|
+
fill: i.tableConfig.style.chart.layout.line.plot.fill,
|
|
32489
|
+
stroke: i.tableConfig.style.chart.layout.line.plot.stroke,
|
|
32490
|
+
"stroke-width": i.tableConfig.style.chart.layout.line.plot.strokeWidth
|
|
32491
|
+
}, null, 8, y8),
|
|
32474
32492
|
n.selectedPlot === s ? (fA(), uA("foreignObject", {
|
|
32475
32493
|
key: 2,
|
|
32476
32494
|
x: a.x - (i.chartData.slot < 100 ? 50 : i.chartData.slot / 2),
|
|
@@ -32483,8 +32501,10 @@ function M8(A, e, t, r, n, i) {
|
|
|
32483
32501
|
width: i.chartData.slot < 100 ? 100 : i.chartData.slot,
|
|
32484
32502
|
style: { overflow: "visible" }
|
|
32485
32503
|
}, [
|
|
32486
|
-
yA("div",
|
|
32487
|
-
|
|
32504
|
+
yA("div", {
|
|
32505
|
+
style: ue(`width:100%;text-align:center;font-size:20px;color:${i.tableConfig.style.chart.layout.labels.color}`)
|
|
32506
|
+
}, IA(a.prefix) + " " + IA(Number(a.value.toFixed(t.dataset.header[n.currentSelectionSpan.col].decimals)).toLocaleString()) + " " + IA(a.suffix), 5)
|
|
32507
|
+
], 8, F8)) : ce("", !0)
|
|
32488
32508
|
], 64)) : ce("", !0)
|
|
32489
32509
|
]))), 128)),
|
|
32490
32510
|
(fA(!0), uA(ve, null, Te(i.chartData.plots, (a, s) => (fA(), uA("g", {
|
|
@@ -32498,7 +32518,7 @@ function M8(A, e, t, r, n, i) {
|
|
|
32498
32518
|
fill: "transparent",
|
|
32499
32519
|
onMouseenter: (o) => n.selectedPlot = s,
|
|
32500
32520
|
onMouseleave: e[23] || (e[23] = (o) => n.selectedPlot = void 0)
|
|
32501
|
-
}, null, 40,
|
|
32521
|
+
}, null, 40, b8)
|
|
32502
32522
|
]))), 128)),
|
|
32503
32523
|
i.chartData.progression && i.chartData.plots.length > 2 ? (fA(), uA("line", {
|
|
32504
32524
|
key: 1,
|
|
@@ -32506,32 +32526,36 @@ function M8(A, e, t, r, n, i) {
|
|
|
32506
32526
|
y1: i.chartData.progression.y1,
|
|
32507
32527
|
x2: i.chartData.progression.x2,
|
|
32508
32528
|
y2: i.chartData.progression.y2,
|
|
32509
|
-
stroke:
|
|
32510
|
-
"stroke-width":
|
|
32511
|
-
"stroke-dasharray":
|
|
32529
|
+
stroke: i.tableConfig.style.chart.layout.progression.stroke,
|
|
32530
|
+
"stroke-width": i.tableConfig.style.chart.layout.progression.strokeWidth,
|
|
32531
|
+
"stroke-dasharray": i.tableConfig.style.chart.layout.progression.strokeDasharray,
|
|
32512
32532
|
"marker-end": "url(#arrowhead)"
|
|
32513
|
-
}, null, 8,
|
|
32514
|
-
],
|
|
32533
|
+
}, null, 8, E8)) : ce("", !0)
|
|
32534
|
+
], 12, u8)),
|
|
32515
32535
|
i.chartData.plots.length >= 2 ? (fA(), uA("div", {
|
|
32516
32536
|
key: 0,
|
|
32517
32537
|
class: "chart-trend",
|
|
32518
|
-
style:
|
|
32538
|
+
style: ue(`color:${i.tableConfig.style.chart.modal.color}`)
|
|
32519
32539
|
}, [
|
|
32520
|
-
|
|
32540
|
+
_8,
|
|
32521
32541
|
wr(" Trend: "),
|
|
32522
32542
|
yA("span", null, IA(i.chartData.progression.slope < 0 ? "+" : "-"), 1),
|
|
32523
32543
|
wr(" " + IA((Math.abs(i.chartData.progression.slope) * 100).toFixed(1)) + " % ", 1)
|
|
32524
32544
|
], 4)) : ce("", !0)
|
|
32525
32545
|
], 64)) : ce("", !0),
|
|
32526
32546
|
[n.constants.DONUT].includes(n.chart.type) && !n.showDonutOptions ? (fA(), uA(ve, { key: 2 }, [
|
|
32527
|
-
(fA(), uA("svg",
|
|
32547
|
+
(fA(), uA("svg", {
|
|
32548
|
+
viewBox: "0 0 100 100",
|
|
32549
|
+
style: ue(`overflow: visible; padding: 0 24px;background:${i.tableConfig.style.chart.layout.backgroundColor}`),
|
|
32550
|
+
class: "vue-ui-table-donut-chart"
|
|
32551
|
+
}, [
|
|
32528
32552
|
(fA(!0), uA(ve, null, Te(n.currentDonut, (a, s) => (fA(), uA("path", {
|
|
32529
32553
|
key: `arc_${s}`,
|
|
32530
32554
|
d: a.path,
|
|
32531
32555
|
stroke: `${a.color}CC`,
|
|
32532
32556
|
"stroke-width": 20,
|
|
32533
32557
|
fill: "none"
|
|
32534
|
-
}, null, 8,
|
|
32558
|
+
}, null, 8, S8))), 128)),
|
|
32535
32559
|
(fA(!0), uA(ve, null, Te(n.currentDonut, (a, s) => (fA(), uA("foreignObject", {
|
|
32536
32560
|
key: `text_marker_${s}`,
|
|
32537
32561
|
x: i.calcDonutMarkerLabelPositionX(a) - 15,
|
|
@@ -32540,37 +32564,66 @@ function M8(A, e, t, r, n, i) {
|
|
|
32540
32564
|
width: "30",
|
|
32541
32565
|
style: { overflow: "visible", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
32542
32566
|
}, [
|
|
32543
|
-
i.isArcBigEnough(a) ? (fA(), uA("div",
|
|
32567
|
+
i.isArcBigEnough(a) ? (fA(), uA("div", {
|
|
32568
|
+
key: 0,
|
|
32569
|
+
class: "vue-ui-table-donut-label",
|
|
32570
|
+
style: ue(`color:${i.tableConfig.style.chart.layout.labels.color}`)
|
|
32571
|
+
}, [
|
|
32544
32572
|
yA("b", null, IA(i.displayArcPercentage(a, n.currentDonut)), 1),
|
|
32545
|
-
yA("span",
|
|
32546
|
-
])) : ce("", !0)
|
|
32547
|
-
], 8,
|
|
32548
|
-
yA("text",
|
|
32549
|
-
|
|
32550
|
-
|
|
32551
|
-
|
|
32552
|
-
|
|
32553
|
-
|
|
32573
|
+
yA("span", Q8, IA(a.name), 1)
|
|
32574
|
+
], 4)) : ce("", !0)
|
|
32575
|
+
], 8, U8))), 128)),
|
|
32576
|
+
yA("text", {
|
|
32577
|
+
x: 50,
|
|
32578
|
+
y: 42,
|
|
32579
|
+
"text-anchor": "middle",
|
|
32580
|
+
"font-size": "6",
|
|
32581
|
+
fill: i.tableConfig.style.chart.layout.labels.color
|
|
32582
|
+
}, IA(i.tableConfig.translations.total), 9, T8),
|
|
32583
|
+
yA("text", {
|
|
32584
|
+
x: 50,
|
|
32585
|
+
y: 48,
|
|
32586
|
+
"text-anchor": "middle",
|
|
32587
|
+
"font-size": "4",
|
|
32588
|
+
fill: i.tableConfig.style.chart.layout.labels.color
|
|
32589
|
+
}, IA(t.dataset.header[n.currentSelectionSpan.col].prefix) + " " + IA(i.donutHollowLabels.total) + " " + IA(t.dataset.header[n.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + IA(t.dataset.header[n.currentSelectionSpan.col].suffix), 9, L8),
|
|
32590
|
+
yA("text", {
|
|
32591
|
+
x: 50,
|
|
32592
|
+
y: 56,
|
|
32593
|
+
"text-anchor": "middle",
|
|
32594
|
+
"font-size": "6",
|
|
32595
|
+
fill: i.tableConfig.style.chart.layout.labels.color
|
|
32596
|
+
}, IA(i.tableConfig.translations.average), 9, I8),
|
|
32597
|
+
yA("text", {
|
|
32598
|
+
x: 50,
|
|
32599
|
+
y: 62,
|
|
32600
|
+
"text-anchor": "middle",
|
|
32601
|
+
"font-size": "4",
|
|
32602
|
+
fill: i.tableConfig.style.chart.layout.labels.color
|
|
32603
|
+
}, IA(t.dataset.header[n.currentSelectionSpan.col].prefix) + " " + IA(i.donutHollowLabels.average) + " " + IA(t.dataset.header[n.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + IA(t.dataset.header[n.currentSelectionSpan.col].suffix), 9, N8)
|
|
32604
|
+
], 4)),
|
|
32605
|
+
yA("div", D8, [
|
|
32554
32606
|
(fA(!0), uA(ve, null, Te(n.currentDonut.filter((a) => a.value > 0), (a, s) => (fA(), uA("div", {
|
|
32555
32607
|
class: "vue-ui-table-donut-legend-item",
|
|
32556
|
-
key: `donut_legend_${s}
|
|
32608
|
+
key: `donut_legend_${s}`,
|
|
32609
|
+
style: ue(`color:${i.tableConfig.style.chart.layout.labels.color}`)
|
|
32557
32610
|
}, [
|
|
32558
32611
|
yA("span", {
|
|
32559
|
-
style:
|
|
32612
|
+
style: ue(`color:${a.color}`)
|
|
32560
32613
|
}, "●", 4),
|
|
32561
32614
|
yA("span", null, IA(a.name) + " : ", 1),
|
|
32562
32615
|
yA("b", null, IA(t.dataset.header[n.currentSelectionSpan.col].prefix) + " " + IA(i.getDonutLegendValue(a.absoluteValue)) + " " + IA(t.dataset.header[n.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + IA(t.dataset.header[n.currentSelectionSpan.col].suffix), 1),
|
|
32563
32616
|
yA("span", null, "(" + IA((a.proportion * 100).toFixed(1)) + "%)", 1)
|
|
32564
|
-
]))), 128))
|
|
32617
|
+
], 4))), 128))
|
|
32565
32618
|
])
|
|
32566
32619
|
], 64)) : ce("", !0)
|
|
32567
32620
|
], 512)
|
|
32568
32621
|
], 4)) : ce("", !0)
|
|
32569
32622
|
], 4);
|
|
32570
32623
|
}
|
|
32571
|
-
const
|
|
32624
|
+
const P8 = /* @__PURE__ */ nw(h6, [["render", k8], ["__scopeId", "data-v-f96dc6c4"]]);
|
|
32572
32625
|
export {
|
|
32573
32626
|
At as _,
|
|
32574
|
-
|
|
32575
|
-
|
|
32627
|
+
P8 as a,
|
|
32628
|
+
H8 as v
|
|
32576
32629
|
};
|