vue-data-ui 0.0.14 → 0.0.16
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 ie, createElementVNode as yA, toDisplayString as IA, createCommentVNode as fe, 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>
|
|
@@ -2420,9 +2420,9 @@ var G5 = {
|
|
|
2420
2420
|
function() {
|
|
2421
2421
|
function A(e, t) {
|
|
2422
2422
|
var r, n;
|
|
2423
|
-
this.animationDuration =
|
|
2424
|
-
var i =
|
|
2425
|
-
this.overflowX = i[0], this.overflowY = i[i.length > 1 ? 1 : 0], this.overflowWrap =
|
|
2423
|
+
this.animationDuration = ue(e, rm, t.animationDuration), this.backgroundClip = ue(e, Iv, t.backgroundClip), this.backgroundColor = ue(e, Nv, t.backgroundColor), this.backgroundImage = ue(e, Gv, t.backgroundImage), this.backgroundOrigin = ue(e, jv, t.backgroundOrigin), this.backgroundPosition = ue(e, Wv, t.backgroundPosition), this.backgroundRepeat = ue(e, Xv, t.backgroundRepeat), this.backgroundSize = ue(e, qv, t.backgroundSize), this.borderTopColor = ue(e, Jv, t.borderTopColor), this.borderRightColor = ue(e, Zv, t.borderRightColor), this.borderBottomColor = ue(e, $v, t.borderBottomColor), this.borderLeftColor = ue(e, A5, t.borderLeftColor), this.borderTopLeftRadius = ue(e, e5, t.borderTopLeftRadius), this.borderTopRightRadius = ue(e, t5, t.borderTopRightRadius), this.borderBottomRightRadius = ue(e, r5, t.borderBottomRightRadius), this.borderBottomLeftRadius = ue(e, n5, t.borderBottomLeftRadius), this.borderTopStyle = ue(e, i5, t.borderTopStyle), this.borderRightStyle = ue(e, a5, t.borderRightStyle), this.borderBottomStyle = ue(e, s5, t.borderBottomStyle), this.borderLeftStyle = ue(e, o5, t.borderLeftStyle), this.borderTopWidth = ue(e, l5, t.borderTopWidth), this.borderRightWidth = ue(e, c5, t.borderRightWidth), this.borderBottomWidth = ue(e, f5, t.borderBottomWidth), this.borderLeftWidth = ue(e, u5, t.borderLeftWidth), this.boxShadow = ue(e, im, t.boxShadow), this.color = ue(e, h5, t.color), this.direction = ue(e, d5, t.direction), this.display = ue(e, g5, t.display), this.float = ue(e, w5, t.cssFloat), this.fontFamily = ue(e, q5, t.fontFamily), this.fontSize = ue(e, Y5, t.fontSize), this.fontStyle = ue(e, $5, t.fontStyle), this.fontVariant = ue(e, Z5, t.fontVariant), this.fontWeight = ue(e, J5, t.fontWeight), this.letterSpacing = ue(e, B5, t.letterSpacing), this.lineBreak = ue(e, v5, t.lineBreak), this.lineHeight = ue(e, m5, t.lineHeight), this.listStyleImage = ue(e, x5, t.listStyleImage), this.listStylePosition = ue(e, C5, t.listStylePosition), this.listStyleType = ue(e, gu, t.listStyleType), this.marginTop = ue(e, y5, t.marginTop), this.marginRight = ue(e, F5, t.marginRight), this.marginBottom = ue(e, b5, t.marginBottom), this.marginLeft = ue(e, E5, t.marginLeft), this.opacity = ue(e, W5, t.opacity);
|
|
2424
|
+
var i = ue(e, _5, t.overflow);
|
|
2425
|
+
this.overflowX = i[0], this.overflowY = i[i.length > 1 ? 1 : 0], this.overflowWrap = ue(e, S5, t.overflowWrap), this.paddingTop = ue(e, U5, t.paddingTop), this.paddingRight = ue(e, Q5, t.paddingRight), this.paddingBottom = ue(e, T5, t.paddingBottom), this.paddingLeft = ue(e, L5, t.paddingLeft), this.paintOrder = ue(e, am, t.paintOrder), this.position = ue(e, N5, t.position), this.textAlign = ue(e, I5, t.textAlign), this.textDecorationColor = ue(e, X5, (r = t.textDecorationColor) !== null && r !== void 0 ? r : t.color), this.textDecorationLine = ue(e, z5, (n = t.textDecorationLine) !== null && n !== void 0 ? n : t.textDecoration), this.textShadow = ue(e, D5, t.textShadow), this.textTransform = ue(e, k5, t.textTransform), this.transform = ue(e, O5, t.transform), this.transformOrigin = ue(e, K5, t.transformOrigin), this.visibility = ue(e, V5, t.visibility), this.webkitTextStrokeColor = ue(e, sm, t.webkitTextStrokeColor), this.webkitTextStrokeWidth = ue(e, om, t.webkitTextStrokeWidth), this.wordBreak = ue(e, G5, t.wordBreak), this.zIndex = ue(e, j5, t.zIndex);
|
|
2426
2426
|
}
|
|
2427
2427
|
return A.prototype.isVisible = function() {
|
|
2428
2428
|
return this.display > 0 && this.opacity > 0 && this.visibility === 0;
|
|
@@ -2468,7 +2468,7 @@ var G5 = {
|
|
|
2468
2468
|
/** @class */
|
|
2469
2469
|
function() {
|
|
2470
2470
|
function A(e, t) {
|
|
2471
|
-
this.content =
|
|
2471
|
+
this.content = ue(e, Am, t.content), this.quotes = ue(e, nm, t.quotes);
|
|
2472
2472
|
}
|
|
2473
2473
|
return A;
|
|
2474
2474
|
}()
|
|
@@ -2476,11 +2476,11 @@ var G5 = {
|
|
|
2476
2476
|
/** @class */
|
|
2477
2477
|
function() {
|
|
2478
2478
|
function A(e, t) {
|
|
2479
|
-
this.counterIncrement =
|
|
2479
|
+
this.counterIncrement = ue(e, em, t.counterIncrement), this.counterReset = ue(e, tm, t.counterReset);
|
|
2480
2480
|
}
|
|
2481
2481
|
return A;
|
|
2482
2482
|
}()
|
|
2483
|
-
),
|
|
2483
|
+
), ue = function(A, e, t) {
|
|
2484
2484
|
var r = new wg(), n = t !== null && typeof t < "u" ? t.toString() : e.initialValue;
|
|
2485
2485
|
r.write(n);
|
|
2486
2486
|
var i = new Bg(r.read());
|
|
@@ -3827,7 +3827,7 @@ var Bx = function(A, e) {
|
|
|
3827
3827
|
return A.substr(0, 4) === "blob";
|
|
3828
3828
|
}, kx = function(A) {
|
|
3829
3829
|
return A.substr(-3).toLowerCase() === "svg" || Tx.test(A);
|
|
3830
|
-
},
|
|
3830
|
+
}, oe = (
|
|
3831
3831
|
/** @class */
|
|
3832
3832
|
function() {
|
|
3833
3833
|
function A(e, t) {
|
|
@@ -3838,7 +3838,7 @@ var Bx = function(A, e) {
|
|
|
3838
3838
|
}, A;
|
|
3839
3839
|
}()
|
|
3840
3840
|
), os = function(A, e, t) {
|
|
3841
|
-
return new
|
|
3841
|
+
return new oe(A.x + (e.x - A.x) * t, A.y + (e.y - A.y) * t);
|
|
3842
3842
|
}, d0 = (
|
|
3843
3843
|
/** @class */
|
|
3844
3844
|
function() {
|
|
@@ -3865,7 +3865,7 @@ var Bx = function(A, e) {
|
|
|
3865
3865
|
var y = Math.max.apply(Math, x);
|
|
3866
3866
|
y > 1 && (i /= y, a /= y, o /= y, l /= y, d /= y, g /= y, v /= y, w /= y);
|
|
3867
3867
|
var F = r.width - o, N = r.height - g, M = r.width - d, AA = r.height - w, eA = t.borderTopWidth, H = t.borderRightWidth, k = t.borderBottomWidth, V = t.borderLeftWidth, tA = dt(t.paddingTop, e.bounds.width), U = dt(t.paddingRight, e.bounds.width), Q = dt(t.paddingBottom, e.bounds.width), K = dt(t.paddingLeft, e.bounds.width);
|
|
3868
|
-
this.topLeftBorderDoubleOuterBox = i > 0 || a > 0 ? Bt(r.left + V / 3, r.top + eA / 3, i - V / 3, a - eA / 3, qe.TOP_LEFT) : new
|
|
3868
|
+
this.topLeftBorderDoubleOuterBox = i > 0 || a > 0 ? Bt(r.left + V / 3, r.top + eA / 3, i - V / 3, a - eA / 3, qe.TOP_LEFT) : new oe(r.left + V / 3, r.top + eA / 3), this.topRightBorderDoubleOuterBox = i > 0 || a > 0 ? Bt(r.left + F, r.top + eA / 3, o - H / 3, l - eA / 3, qe.TOP_RIGHT) : new oe(r.left + r.width - H / 3, r.top + eA / 3), this.bottomRightBorderDoubleOuterBox = d > 0 || g > 0 ? Bt(r.left + M, r.top + N, d - H / 3, g - k / 3, qe.BOTTOM_RIGHT) : new oe(r.left + r.width - H / 3, r.top + r.height - k / 3), this.bottomLeftBorderDoubleOuterBox = v > 0 || w > 0 ? Bt(r.left + V / 3, r.top + AA, v - V / 3, w - k / 3, qe.BOTTOM_LEFT) : new oe(r.left + V / 3, r.top + r.height - k / 3), this.topLeftBorderDoubleInnerBox = i > 0 || a > 0 ? Bt(r.left + V * 2 / 3, r.top + eA * 2 / 3, i - V * 2 / 3, a - eA * 2 / 3, qe.TOP_LEFT) : new oe(r.left + V * 2 / 3, r.top + eA * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || a > 0 ? Bt(r.left + F, r.top + eA * 2 / 3, o - H * 2 / 3, l - eA * 2 / 3, qe.TOP_RIGHT) : new oe(r.left + r.width - H * 2 / 3, r.top + eA * 2 / 3), this.bottomRightBorderDoubleInnerBox = d > 0 || g > 0 ? Bt(r.left + M, r.top + N, d - H * 2 / 3, g - k * 2 / 3, qe.BOTTOM_RIGHT) : new oe(r.left + r.width - H * 2 / 3, r.top + r.height - k * 2 / 3), this.bottomLeftBorderDoubleInnerBox = v > 0 || w > 0 ? Bt(r.left + V * 2 / 3, r.top + AA, v - V * 2 / 3, w - k * 2 / 3, qe.BOTTOM_LEFT) : new oe(r.left + V * 2 / 3, r.top + r.height - k * 2 / 3), this.topLeftBorderStroke = i > 0 || a > 0 ? Bt(r.left + V / 2, r.top + eA / 2, i - V / 2, a - eA / 2, qe.TOP_LEFT) : new oe(r.left + V / 2, r.top + eA / 2), this.topRightBorderStroke = i > 0 || a > 0 ? Bt(r.left + F, r.top + eA / 2, o - H / 2, l - eA / 2, qe.TOP_RIGHT) : new oe(r.left + r.width - H / 2, r.top + eA / 2), this.bottomRightBorderStroke = d > 0 || g > 0 ? Bt(r.left + M, r.top + N, d - H / 2, g - k / 2, qe.BOTTOM_RIGHT) : new oe(r.left + r.width - H / 2, r.top + r.height - k / 2), this.bottomLeftBorderStroke = v > 0 || w > 0 ? Bt(r.left + V / 2, r.top + AA, v - V / 2, w - k / 2, qe.BOTTOM_LEFT) : new oe(r.left + V / 2, r.top + r.height - k / 2), this.topLeftBorderBox = i > 0 || a > 0 ? Bt(r.left, r.top, i, a, qe.TOP_LEFT) : new oe(r.left, r.top), this.topRightBorderBox = o > 0 || l > 0 ? Bt(r.left + F, r.top, o, l, qe.TOP_RIGHT) : new oe(r.left + r.width, r.top), this.bottomRightBorderBox = d > 0 || g > 0 ? Bt(r.left + M, r.top + N, d, g, qe.BOTTOM_RIGHT) : new oe(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = v > 0 || w > 0 ? Bt(r.left, r.top + AA, v, w, qe.BOTTOM_LEFT) : new oe(r.left, r.top + r.height), this.topLeftPaddingBox = i > 0 || a > 0 ? Bt(r.left + V, r.top + eA, Math.max(0, i - V), Math.max(0, a - eA), qe.TOP_LEFT) : new oe(r.left + V, r.top + eA), this.topRightPaddingBox = o > 0 || l > 0 ? Bt(r.left + Math.min(F, r.width - H), r.top + eA, F > r.width + H ? 0 : Math.max(0, o - H), Math.max(0, l - eA), qe.TOP_RIGHT) : new oe(r.left + r.width - H, r.top + eA), this.bottomRightPaddingBox = d > 0 || g > 0 ? Bt(r.left + Math.min(M, r.width - V), r.top + Math.min(N, r.height - k), Math.max(0, d - H), Math.max(0, g - k), qe.BOTTOM_RIGHT) : new oe(r.left + r.width - H, r.top + r.height - k), this.bottomLeftPaddingBox = v > 0 || w > 0 ? Bt(r.left + V, r.top + Math.min(AA, r.height - k), Math.max(0, v - V), Math.max(0, w - k), qe.BOTTOM_LEFT) : new oe(r.left + V, r.top + r.height - k), this.topLeftContentBox = i > 0 || a > 0 ? Bt(r.left + V + K, r.top + eA + tA, Math.max(0, i - (V + K)), Math.max(0, a - (eA + tA)), qe.TOP_LEFT) : new oe(r.left + V + K, r.top + eA + tA), this.topRightContentBox = o > 0 || l > 0 ? Bt(r.left + Math.min(F, r.width + V + K), r.top + eA + tA, F > r.width + V + K ? 0 : o - V + K, l - (eA + tA), qe.TOP_RIGHT) : new oe(r.left + r.width - (H + U), r.top + eA + tA), this.bottomRightContentBox = d > 0 || g > 0 ? Bt(r.left + Math.min(M, r.width - (V + K)), r.top + Math.min(N, r.height + eA + tA), Math.max(0, d - (H + U)), g - (k + Q), qe.BOTTOM_RIGHT) : new oe(r.left + r.width - (H + U), r.top + r.height - (k + Q)), this.bottomLeftContentBox = v > 0 || w > 0 ? Bt(r.left + V + K, r.top + AA, Math.max(0, v - (V + K)), w - (k + Q), qe.BOTTOM_LEFT) : new oe(r.left + V + K, r.top + r.height - (k + Q));
|
|
3869
3869
|
}
|
|
3870
3870
|
return A;
|
|
3871
3871
|
}()
|
|
@@ -3877,14 +3877,14 @@ var Bt = function(A, e, t, r, n) {
|
|
|
3877
3877
|
var i = 4 * ((Math.sqrt(2) - 1) / 3), a = t * i, s = r * i, o = A + t, l = e + r;
|
|
3878
3878
|
switch (n) {
|
|
3879
3879
|
case qe.TOP_LEFT:
|
|
3880
|
-
return new d0(new
|
|
3880
|
+
return new d0(new oe(A, l), new oe(A, l - s), new oe(o - a, e), new oe(o, e));
|
|
3881
3881
|
case qe.TOP_RIGHT:
|
|
3882
|
-
return new d0(new
|
|
3882
|
+
return new d0(new oe(A, e), new oe(A + a, e), new oe(o, l - s), new oe(o, l));
|
|
3883
3883
|
case qe.BOTTOM_RIGHT:
|
|
3884
|
-
return new d0(new
|
|
3884
|
+
return new d0(new oe(o, e), new oe(o, e + s), new oe(A + a, l), new oe(A, l));
|
|
3885
3885
|
case qe.BOTTOM_LEFT:
|
|
3886
3886
|
default:
|
|
3887
|
-
return new d0(new
|
|
3887
|
+
return new d0(new oe(o, l), new oe(o - a, l), new oe(A, e + s), new oe(A, e));
|
|
3888
3888
|
}
|
|
3889
3889
|
}, W0 = function(A) {
|
|
3890
3890
|
return [A.topLeftBorderBox, A.topRightBorderBox, A.bottomRightBorderBox, A.bottomLeftBorderBox];
|
|
@@ -4184,31 +4184,31 @@ var Bt = function(A, e, t, r, n) {
|
|
|
4184
4184
|
switch (A) {
|
|
4185
4185
|
case 2:
|
|
4186
4186
|
return [
|
|
4187
|
-
new
|
|
4188
|
-
new
|
|
4189
|
-
new
|
|
4190
|
-
new
|
|
4187
|
+
new oe(Math.round(r.left), Math.round(r.top + a)),
|
|
4188
|
+
new oe(Math.round(r.left + r.width), Math.round(r.top + a)),
|
|
4189
|
+
new oe(Math.round(r.left + r.width), Math.round(o + r.top + a)),
|
|
4190
|
+
new oe(Math.round(r.left), Math.round(o + r.top + a))
|
|
4191
4191
|
];
|
|
4192
4192
|
case 3:
|
|
4193
4193
|
return [
|
|
4194
|
-
new
|
|
4195
|
-
new
|
|
4196
|
-
new
|
|
4197
|
-
new
|
|
4194
|
+
new oe(Math.round(r.left + i), Math.round(r.top)),
|
|
4195
|
+
new oe(Math.round(r.left + i + s), Math.round(r.top)),
|
|
4196
|
+
new oe(Math.round(r.left + i + s), Math.round(r.height + r.top)),
|
|
4197
|
+
new oe(Math.round(r.left + i), Math.round(r.height + r.top))
|
|
4198
4198
|
];
|
|
4199
4199
|
case 1:
|
|
4200
4200
|
return [
|
|
4201
|
-
new
|
|
4202
|
-
new
|
|
4203
|
-
new
|
|
4204
|
-
new
|
|
4201
|
+
new oe(Math.round(r.left + i), Math.round(r.top + a)),
|
|
4202
|
+
new oe(Math.round(r.left + i + s), Math.round(r.top + a)),
|
|
4203
|
+
new oe(Math.round(r.left + i + s), Math.round(r.top + a + o)),
|
|
4204
|
+
new oe(Math.round(r.left + i), Math.round(r.top + a + o))
|
|
4205
4205
|
];
|
|
4206
4206
|
default:
|
|
4207
4207
|
return [
|
|
4208
|
-
new
|
|
4209
|
-
new
|
|
4210
|
-
new
|
|
4211
|
-
new
|
|
4208
|
+
new oe(Math.round(n.left), Math.round(n.top)),
|
|
4209
|
+
new oe(Math.round(n.left + n.width), Math.round(n.top)),
|
|
4210
|
+
new oe(Math.round(n.left + n.width), Math.round(n.height + n.top)),
|
|
4211
|
+
new oe(Math.round(n.left), Math.round(n.height + n.top))
|
|
4212
4212
|
];
|
|
4213
4213
|
}
|
|
4214
4214
|
}, Zx = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", z1 = "Hidden Text", $x = (
|
|
@@ -4406,13 +4406,13 @@ var Bt = function(A, e, t, r, n) {
|
|
|
4406
4406
|
f = eA.sent(), r.width && r.height && this.ctx.drawImage(f, 0, 0, r.width, r.height, r.bounds.left, r.bounds.top, r.bounds.width, r.bounds.height), eA.label = 14;
|
|
4407
4407
|
case 14:
|
|
4408
4408
|
if (r instanceof Gu && (d = Math.min(r.bounds.width, r.bounds.height), r.type === K0 ? r.checked && (this.ctx.save(), this.path([
|
|
4409
|
-
new
|
|
4410
|
-
new
|
|
4411
|
-
new
|
|
4412
|
-
new
|
|
4413
|
-
new
|
|
4414
|
-
new
|
|
4415
|
-
new
|
|
4409
|
+
new oe(r.bounds.left + d * 0.39363, r.bounds.top + d * 0.79),
|
|
4410
|
+
new oe(r.bounds.left + d * 0.16, r.bounds.top + d * 0.5549),
|
|
4411
|
+
new oe(r.bounds.left + d * 0.27347, r.bounds.top + d * 0.44071),
|
|
4412
|
+
new oe(r.bounds.left + d * 0.39694, r.bounds.top + d * 0.5649),
|
|
4413
|
+
new oe(r.bounds.left + d * 0.72983, r.bounds.top + d * 0.23),
|
|
4414
|
+
new oe(r.bounds.left + d * 0.84, r.bounds.top + d * 0.34085),
|
|
4415
|
+
new oe(r.bounds.left + d * 0.39363, r.bounds.top + d * 0.79)
|
|
4416
4416
|
]), this.ctx.fillStyle = Yt(D1), this.ctx.fill(), this.ctx.restore()) : r.type === V0 && r.checked && (this.ctx.save(), this.ctx.beginPath(), this.ctx.arc(r.bounds.left + d / 2, r.bounds.top + d / 2, d / 4, 0, Math.PI * 2, !0), this.ctx.fillStyle = Yt(D1), this.ctx.fill(), this.ctx.restore())), t4(r) && r.value.length) {
|
|
4417
4417
|
switch (g = this.createFontStyle(i), M = g[0], h = g[1], v = this.fontMetrics.getMetrics(M, h).baseline, this.ctx.font = M, this.ctx.fillStyle = Yt(i.color), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = n4(r.styles.textAlign), AA = z0(r), w = 0, r.styles.textAlign) {
|
|
4418
4418
|
case 1:
|
|
@@ -4423,10 +4423,10 @@ var Bt = function(A, e, t, r, n) {
|
|
|
4423
4423
|
break;
|
|
4424
4424
|
}
|
|
4425
4425
|
x = AA.add(w, 0, 0, -AA.height / 2 + 1), this.ctx.save(), this.path([
|
|
4426
|
-
new
|
|
4427
|
-
new
|
|
4428
|
-
new
|
|
4429
|
-
new
|
|
4426
|
+
new oe(AA.left, AA.top),
|
|
4427
|
+
new oe(AA.left + AA.width, AA.top),
|
|
4428
|
+
new oe(AA.left + AA.width, AA.top + AA.height),
|
|
4429
|
+
new oe(AA.left, AA.top + AA.height)
|
|
4430
4430
|
]), this.ctx.clip(), this.renderTextWithLetterSpacing(new ko(r.value, x), i.letterSpacing, v), this.ctx.restore(), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = "left";
|
|
4431
4431
|
}
|
|
4432
4432
|
if (!Wt(
|
|
@@ -4713,7 +4713,7 @@ var Bt = function(A, e, t, r, n) {
|
|
|
4713
4713
|
return yr(this, void 0, void 0, function() {
|
|
4714
4714
|
var s, o, l, f, d, g, h, v, w, x, y, F, N, M, AA, eA, AA, eA;
|
|
4715
4715
|
return Br(this, function(H) {
|
|
4716
|
-
return this.ctx.save(), s = Xx(i, n), o = X1(i, n), a === 2 && (this.path(o), this.ctx.clip()), un(o[0]) ? (l = o[0].start.x, f = o[0].start.y) : (l = o[0].x, f = o[0].y), un(o[1]) ? (d = o[1].end.x, g = o[1].end.y) : (d = o[1].x, g = o[1].y), n === 0 || n === 2 ? h = Math.abs(l - d) : h = Math.abs(f - g), this.ctx.beginPath(), a === 3 ? this.formatPath(s) : this.formatPath(o.slice(0, 2)), v = r < 3 ? r * 3 : r * 2, w = r < 3 ? r * 2 : r, a === 3 && (v = r, w = r), x = !0, h <= v * 2 ? x = !1 : h <= v * 2 + w ? (y = h / (2 * v + w), v *= y, w *= y) : (F = Math.floor((h + w) / (v + w)), N = (h - F * v) / (F - 1), M = (h - (F + 1) * v) / F, w = M <= 0 || Math.abs(w - N) < Math.abs(w - M) ? N : M), x && (a === 3 ? this.ctx.setLineDash([0, v + w]) : this.ctx.setLineDash([v, w])), a === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = r) : this.ctx.lineWidth = r * 2 + 1.1, this.ctx.strokeStyle = Yt(t), this.ctx.stroke(), this.ctx.setLineDash([]), a === 2 && (un(o[0]) && (AA = o[3], eA = o[0], this.ctx.beginPath(), this.formatPath([new
|
|
4716
|
+
return this.ctx.save(), s = Xx(i, n), o = X1(i, n), a === 2 && (this.path(o), this.ctx.clip()), un(o[0]) ? (l = o[0].start.x, f = o[0].start.y) : (l = o[0].x, f = o[0].y), un(o[1]) ? (d = o[1].end.x, g = o[1].end.y) : (d = o[1].x, g = o[1].y), n === 0 || n === 2 ? h = Math.abs(l - d) : h = Math.abs(f - g), this.ctx.beginPath(), a === 3 ? this.formatPath(s) : this.formatPath(o.slice(0, 2)), v = r < 3 ? r * 3 : r * 2, w = r < 3 ? r * 2 : r, a === 3 && (v = r, w = r), x = !0, h <= v * 2 ? x = !1 : h <= v * 2 + w ? (y = h / (2 * v + w), v *= y, w *= y) : (F = Math.floor((h + w) / (v + w)), N = (h - F * v) / (F - 1), M = (h - (F + 1) * v) / F, w = M <= 0 || Math.abs(w - N) < Math.abs(w - M) ? N : M), x && (a === 3 ? this.ctx.setLineDash([0, v + w]) : this.ctx.setLineDash([v, w])), a === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = r) : this.ctx.lineWidth = r * 2 + 1.1, this.ctx.strokeStyle = Yt(t), this.ctx.stroke(), this.ctx.setLineDash([]), a === 2 && (un(o[0]) && (AA = o[3], eA = o[0], this.ctx.beginPath(), this.formatPath([new oe(AA.end.x, AA.end.y), new oe(eA.start.x, eA.start.y)]), this.ctx.stroke()), un(o[1]) && (AA = o[1], eA = o[2], this.ctx.beginPath(), this.formatPath([new oe(AA.end.x, AA.end.y), new oe(eA.start.x, eA.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
|
|
4717
4717
|
2
|
|
4718
4718
|
/*return*/
|
|
4719
4719
|
];
|
|
@@ -5796,7 +5796,7 @@ function xe(A) {
|
|
|
5796
5796
|
return p = p.toString(), iA += p.length + 1, zA.push(p), zA;
|
|
5797
5797
|
}, HA = h.__private__.write = function(p) {
|
|
5798
5798
|
return Z(arguments.length === 1 ? p.toString() : Array.prototype.join.call(arguments, " "));
|
|
5799
|
-
},
|
|
5799
|
+
}, se = h.__private__.getArrayBuffer = function(p) {
|
|
5800
5800
|
for (var _ = p.length, J = new ArrayBuffer(_), nA = new Uint8Array(J); _--; )
|
|
5801
5801
|
nA[_] = p.charCodeAt(_);
|
|
5802
5802
|
return J;
|
|
@@ -5931,15 +5931,15 @@ function xe(A) {
|
|
|
5931
5931
|
var _ = p.sx * this.sx + p.shy * this.shx, J = p.sx * this.shy + p.shy * this.sy, nA = p.shx * this.sx + p.sy * this.shx, pA = p.shx * this.shy + p.sy * this.sy, TA = p.tx * this.sx + p.ty * this.shx + this.tx, GA = p.tx * this.shy + p.ty * this.sy + this.ty;
|
|
5932
5932
|
return new we(_, J, nA, pA, TA, GA);
|
|
5933
5933
|
}, we.prototype.decompose = function() {
|
|
5934
|
-
var p = this.sx, _ = this.shy, J = this.shx, nA = this.sy, pA = this.tx, TA = this.ty, GA = Math.sqrt(p * p + _ * _),
|
|
5935
|
-
J -= p *
|
|
5934
|
+
var p = this.sx, _ = this.shy, J = this.shx, nA = this.sy, pA = this.tx, TA = this.ty, GA = Math.sqrt(p * p + _ * _), le = (p /= GA) * J + (_ /= GA) * nA;
|
|
5935
|
+
J -= p * le, nA -= _ * le;
|
|
5936
5936
|
var pe = Math.sqrt(J * J + nA * nA);
|
|
5937
|
-
return
|
|
5937
|
+
return le /= pe, p * (nA /= pe) < _ * (J /= pe) && (p = -p, _ = -_, le = -le, GA = -GA), { scale: new we(GA, 0, 0, pe, 0, 0), translate: new we(1, 0, 0, 1, pA, TA), rotate: new we(p, _, -_, p, 0, 0), skew: new we(1, 0, le, 1, 0, 0) };
|
|
5938
5938
|
}, we.prototype.toString = function(p) {
|
|
5939
5939
|
return this.join(" ");
|
|
5940
5940
|
}, we.prototype.inversed = function() {
|
|
5941
|
-
var p = this.sx, _ = this.shy, J = this.shx, nA = this.sy, pA = this.tx, TA = this.ty, GA = 1 / (p * nA - _ * J),
|
|
5942
|
-
return new we(
|
|
5941
|
+
var p = this.sx, _ = this.shy, J = this.shx, nA = this.sy, pA = this.tx, TA = this.ty, GA = 1 / (p * nA - _ * J), le = nA * GA, pe = -_ * GA, Se = -J * GA, Ie = p * GA;
|
|
5942
|
+
return new we(le, pe, Se, Ie, -le * pA - Se * TA, -pe * pA - Ie * TA);
|
|
5943
5943
|
}, we.prototype.applyToPoint = function(p) {
|
|
5944
5944
|
var _ = p.x * this.sx + p.y * this.shx + this.tx, J = p.x * this.shy + p.y * this.sy + this.ty;
|
|
5945
5945
|
return new Va(_, J);
|
|
@@ -5996,9 +5996,9 @@ function xe(A) {
|
|
|
5996
5996
|
typeof p == "string" && (p = { ch1: p });
|
|
5997
5997
|
var J = p.ch1, nA = p.ch2, pA = p.ch3, TA = p.ch4, GA = p.pdfColorType === "draw" ? ["G", "RG", "K"] : ["g", "rg", "k"];
|
|
5998
5998
|
if (typeof J == "string" && J.charAt(0) !== "#") {
|
|
5999
|
-
var
|
|
6000
|
-
if (
|
|
6001
|
-
J =
|
|
5999
|
+
var le = new h2(J);
|
|
6000
|
+
if (le.ok)
|
|
6001
|
+
J = le.toHex();
|
|
6002
6002
|
else if (!/^\d*\.?\d*$/.test(J))
|
|
6003
6003
|
throw new Error('Invalid color "' + J + '" passed to jsPDF.encodeColorString.');
|
|
6004
6004
|
}
|
|
@@ -6047,12 +6047,12 @@ function xe(A) {
|
|
|
6047
6047
|
}, BA = h.__private__.getFilters = function() {
|
|
6048
6048
|
return a;
|
|
6049
6049
|
}, UA = h.__private__.putStream = function(p) {
|
|
6050
|
-
var _ = (p = p || {}).data || "", J = p.filters || BA(), nA = p.alreadyAppliedFilters || [], pA = p.addLength1 || !1, TA = _.length, GA = p.objectId,
|
|
6050
|
+
var _ = (p = p || {}).data || "", J = p.filters || BA(), nA = p.alreadyAppliedFilters || [], pA = p.addLength1 || !1, TA = _.length, GA = p.objectId, le = function(ur) {
|
|
6051
6051
|
return ur;
|
|
6052
6052
|
};
|
|
6053
6053
|
if (f !== null && GA === void 0)
|
|
6054
6054
|
throw new Error("ObjectId must be passed to putStream for file encryption");
|
|
6055
|
-
f !== null && (
|
|
6055
|
+
f !== null && (le = fr.encryptor(GA, 0));
|
|
6056
6056
|
var pe = {};
|
|
6057
6057
|
J === !0 && (J = ["FlateEncode"]);
|
|
6058
6058
|
var Se = p.additionalKeyValues || [], Ie = (pe = xe.API.processDataByFilters !== void 0 ? xe.API.processDataByFilters(_, J) : { data: _, reverseChain: [] }).reverseChain + (Array.isArray(nA) ? nA.join(" ") : nA.toString());
|
|
@@ -6071,7 +6071,7 @@ function xe(A) {
|
|
|
6071
6071
|
Z("<<");
|
|
6072
6072
|
for (var Dt = 0; Dt < Se.length; Dt++)
|
|
6073
6073
|
Z("/" + Se[Dt].key + " " + Se[Dt].value);
|
|
6074
|
-
Z(">>"), pe.data.length !== 0 && (Z("stream"), Z(
|
|
6074
|
+
Z(">>"), pe.data.length !== 0 && (Z("stream"), Z(le(pe.data)), Z("endstream"));
|
|
6075
6075
|
}, wA = h.__private__.putPage = function(p) {
|
|
6076
6076
|
var _ = p.number, J = p.data, nA = p.objId, pA = p.contentsObjId;
|
|
6077
6077
|
I(nA, !0), Z("<</Type /Page"), Z("/Parent " + p.rootDictionaryObjId + " 0 R"), Z("/Resources " + p.resourceDictionaryObjId + " 0 R"), Z("/MediaBox [" + parseFloat(H(p.mediaBox.bottomLeftX)) + " " + parseFloat(H(p.mediaBox.bottomLeftY)) + " " + H(p.mediaBox.topRightX) + " " + H(p.mediaBox.topRightY) + "]"), p.cropBox !== null && Z("/CropBox [" + H(p.cropBox.bottomLeftX) + " " + H(p.cropBox.bottomLeftY) + " " + H(p.cropBox.topRightX) + " " + H(p.cropBox.topRightY) + "]"), p.bleedBox !== null && Z("/BleedBox [" + H(p.bleedBox.bottomLeftX) + " " + H(p.bleedBox.bottomLeftY) + " " + H(p.bleedBox.topRightX) + " " + H(p.bleedBox.topRightY) + "]"), p.trimBox !== null && Z("/TrimBox [" + H(p.trimBox.bottomLeftX) + " " + H(p.trimBox.bottomLeftY) + " " + H(p.trimBox.topRightX) + " " + H(p.trimBox.topRightY) + "]"), p.artBox !== null && Z("/ArtBox [" + H(p.artBox.bottomLeftX) + " " + H(p.artBox.bottomLeftY) + " " + H(p.artBox.topRightX) + " " + H(p.artBox.topRightY) + "]"), typeof p.userUnit == "number" && p.userUnit !== 1 && Z("/UserUnit " + p.userUnit), Ve.publish("putPage", { objId: nA, pageContext: be[_], pageNumber: _, page: J }), Z("/Contents " + pA + " 0 R"), Z(">>"), Z("endobj");
|
|
@@ -6102,7 +6102,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6102
6102
|
var J = p.pages[1].join(`
|
|
6103
6103
|
`);
|
|
6104
6104
|
UA({ data: J, additionalKeyValues: _, objectId: p.objectNumber }), Z("endobj");
|
|
6105
|
-
},
|
|
6105
|
+
}, ae = function() {
|
|
6106
6106
|
for (var p in Vt)
|
|
6107
6107
|
Vt.hasOwnProperty(p) && qA(Vt[p]);
|
|
6108
6108
|
}, WA = function(p, _) {
|
|
@@ -6117,13 +6117,13 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6117
6117
|
var GA = { offset: 1, color: p[p.length - 1].color };
|
|
6118
6118
|
p.push(GA);
|
|
6119
6119
|
}
|
|
6120
|
-
for (var
|
|
6120
|
+
for (var le = "", pe = 0, Se = 0; Se < nA.length; Se++) {
|
|
6121
6121
|
for (J = nA[Se]; J > p[pe + 1].offset; )
|
|
6122
6122
|
pe++;
|
|
6123
6123
|
var Ie = p[pe].offset, Me = (J - Ie) / (p[pe + 1].offset - Ie), vt = p[pe].color, xt = p[pe + 1].color;
|
|
6124
|
-
|
|
6124
|
+
le += T(Math.round((1 - Me) * vt[0] + Me * xt[0]).toString(16)) + T(Math.round((1 - Me) * vt[1] + Me * xt[1]).toString(16)) + T(Math.round((1 - Me) * vt[2] + Me * xt[2]).toString(16));
|
|
6125
6125
|
}
|
|
6126
|
-
return
|
|
6126
|
+
return le.trim();
|
|
6127
6127
|
}, ne = function(p, _) {
|
|
6128
6128
|
_ || (_ = 21);
|
|
6129
6129
|
var J = Et(), nA = WA(p.colors, _), pA = [];
|
|
@@ -6186,7 +6186,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6186
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
|
-
VA(), Nt(),
|
|
6189
|
+
VA(), Nt(), ae(), ze(p), Ve.publish("putResources"), p.forEach(_t), _t({ resourcesOid: G, objectOid: Number.MAX_SAFE_INTEGER }), Ve.publish("postPutResources");
|
|
6190
6190
|
}, fl = function() {
|
|
6191
6191
|
Ve.publish("putAdditionalObjects");
|
|
6192
6192
|
for (var p = 0; p < CA.length; p++) {
|
|
@@ -6222,22 +6222,22 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6222
6222
|
}
|
|
6223
6223
|
}, p.foo.bar = p, p.foo;
|
|
6224
6224
|
}, Oa = function(p, _) {
|
|
6225
|
-
var J, nA, pA, TA, GA,
|
|
6225
|
+
var J, nA, pA, TA, GA, le, pe, Se, Ie;
|
|
6226
6226
|
if (pA = (_ = _ || {}).sourceEncoding || "Unicode", GA = _.outputEncoding, (_.autoencode || GA) && Xe[Le].metadata && Xe[Le].metadata[pA] && Xe[Le].metadata[pA].encoding && (TA = Xe[Le].metadata[pA].encoding, !GA && Xe[Le].encoding && (GA = Xe[Le].encoding), !GA && TA.codePages && (GA = TA.codePages[0]), typeof GA == "string" && (GA = TA[GA]), GA)) {
|
|
6227
|
-
for (pe = !1,
|
|
6228
|
-
(Se = GA[p.charCodeAt(J)]) ?
|
|
6229
|
-
p =
|
|
6227
|
+
for (pe = !1, le = [], J = 0, nA = p.length; J < nA; J++)
|
|
6228
|
+
(Se = GA[p.charCodeAt(J)]) ? le.push(String.fromCharCode(Se)) : le.push(p[J]), le[J].charCodeAt(0) >> 8 && (pe = !0);
|
|
6229
|
+
p = le.join("");
|
|
6230
6230
|
}
|
|
6231
6231
|
for (J = p.length; pe === void 0 && J !== 0; )
|
|
6232
6232
|
p.charCodeAt(J - 1) >> 8 && (pe = !0), J--;
|
|
6233
6233
|
if (!pe)
|
|
6234
6234
|
return p;
|
|
6235
|
-
for (
|
|
6235
|
+
for (le = _.noBOM ? [] : [254, 255], J = 0, nA = p.length; J < nA; J++) {
|
|
6236
6236
|
if ((Ie = (Se = p.charCodeAt(J)) >> 8) >> 8)
|
|
6237
6237
|
throw new Error("Character at position " + J + " of string '" + p + "' exceeds 16bits. Cannot be encoded into UCS-2 BE");
|
|
6238
|
-
|
|
6238
|
+
le.push(Ie), le.push(Se - (Ie << 8));
|
|
6239
6239
|
}
|
|
6240
|
-
return String.fromCharCode.apply(void 0,
|
|
6240
|
+
return String.fromCharCode.apply(void 0, le);
|
|
6241
6241
|
}, Tr = h.__private__.pdfEscape = h.pdfEscape = function(p, _) {
|
|
6242
6242
|
return Oa(p, _).replace(/\\/g, "\\\\").replace(/\(/g, "\\(").replace(/\)/g, "\\)");
|
|
6243
6243
|
}, Rs = h.__private__.beginPage = function(p) {
|
|
@@ -6317,7 +6317,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6317
6317
|
return Hc(), kc(), Z("startxref"), Z("" + p), Z("%%EOF"), SA(NA[S]), sA.join(`
|
|
6318
6318
|
`);
|
|
6319
6319
|
}, Ha = h.__private__.getBlob = function(p) {
|
|
6320
|
-
return new Blob([
|
|
6320
|
+
return new Blob([se(p)], { type: "application/pdf" });
|
|
6321
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:
|
|
@@ -6326,7 +6326,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6326
6326
|
h.save(_.filename);
|
|
6327
6327
|
break;
|
|
6328
6328
|
case "arraybuffer":
|
|
6329
|
-
return
|
|
6329
|
+
return se(ii());
|
|
6330
6330
|
case "blob":
|
|
6331
6331
|
return Ha(ii());
|
|
6332
6332
|
case "bloburi":
|
|
@@ -6348,8 +6348,8 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6348
6348
|
if (Object.prototype.toString.call(Ce) === "[object Window]") {
|
|
6349
6349
|
var pA = "https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js", TA = ' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';
|
|
6350
6350
|
_.pdfObjectUrl && (pA = _.pdfObjectUrl, TA = "");
|
|
6351
|
-
var GA = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="' + pA + '"' + TA + '><\/script><script >PDFObject.embed("' + this.output("dataurlstring") + '", ' + JSON.stringify(_) + ");<\/script></body></html>",
|
|
6352
|
-
return
|
|
6351
|
+
var GA = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="' + pA + '"' + TA + '><\/script><script >PDFObject.embed("' + this.output("dataurlstring") + '", ' + JSON.stringify(_) + ");<\/script></body></html>", le = Ce.open();
|
|
6352
|
+
return le !== null && le.document.write(GA), le;
|
|
6353
6353
|
}
|
|
6354
6354
|
throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");
|
|
6355
6355
|
case "pdfjsnewwindow":
|
|
@@ -6452,12 +6452,12 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6452
6452
|
}, h.deletePage = function() {
|
|
6453
6453
|
return Ic.apply(this, arguments), this;
|
|
6454
6454
|
}, h.__private__.text = h.text = function(p, _, J, nA, pA) {
|
|
6455
|
-
var TA, GA,
|
|
6455
|
+
var TA, GA, le, pe, Se, Ie, Me, vt, xt, Dt = (nA = nA || {}).scope || this;
|
|
6456
6456
|
if (typeof p == "number" && typeof _ == "number" && (typeof J == "string" || Array.isArray(J))) {
|
|
6457
6457
|
var ur = J;
|
|
6458
6458
|
J = _, _ = p, p = ur;
|
|
6459
6459
|
}
|
|
6460
|
-
if (arguments[3] instanceof we ? (k("The transform parameter of text() with a Matrix value"), xt = pA) : (
|
|
6460
|
+
if (arguments[3] instanceof we ? (k("The transform parameter of text() with a Matrix value"), xt = pA) : (le = arguments[4], pe = arguments[5], At(Me = arguments[3]) === "object" && Me !== null || (typeof le == "string" && (pe = le, le = null), typeof Me == "string" && (pe = Me, Me = null), typeof Me == "number" && (le = Me, Me = null), nA = { flags: Me, angle: le, align: pe })), isNaN(_) || isNaN(J) || p == null)
|
|
6461
6461
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
6462
6462
|
if (p.length === 0)
|
|
6463
6463
|
return Dt;
|
|
@@ -6510,12 +6510,12 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
|
|
|
6510
6510
|
}
|
|
6511
6511
|
if ((Ie = nA.maxWidth || 0) > 0 && (typeof p == "string" ? p = Dt.splitTextToSize(p, Ie) : Object.prototype.toString.call(p) === "[object Array]" && (p = p.reduce(function(ut, ht) {
|
|
6512
6512
|
return ut.concat(Dt.splitTextToSize(ht, Ie));
|
|
6513
|
-
}, []))), TA = { text: p, x: _, y: J, options: nA, mutex: { pdfEscape: Tr, activeFontKey: Le, fonts: Xe, activeFontSize: XA } }, Ve.publish("preProcessText", TA), p = TA.text,
|
|
6514
|
-
|
|
6515
|
-
var qa = Math.cos(
|
|
6513
|
+
}, []))), TA = { text: p, x: _, y: J, options: nA, mutex: { pdfEscape: Tr, activeFontKey: Le, fonts: Xe, activeFontSize: XA } }, Ve.publish("preProcessText", TA), p = TA.text, le = (nA = TA.options).angle, !(xt instanceof we) && le && typeof le == "number") {
|
|
6514
|
+
le *= Math.PI / 180, nA.rotationDirection === 0 && (le = -le), N === F.ADVANCED && (le = -le);
|
|
6515
|
+
var qa = Math.cos(le), ro = Math.sin(le);
|
|
6516
6516
|
xt = new we(qa, ro, -ro, qa, 0, 0);
|
|
6517
6517
|
} else
|
|
6518
|
-
|
|
6518
|
+
le && le instanceof we && (xt = le);
|
|
6519
6519
|
N !== F.ADVANCED || xt || (xt = Qr), (Se = nA.charSpace || Ka) !== void 0 && (Xt += H(Q(Se)) + ` Tc
|
|
6520
6520
|
`, this.setCharSpace(this.getCharSpace() || 0)), (vt = nA.horizontalScale) !== void 0 && (Xt += H(100 * vt) + ` Tz
|
|
6521
6521
|
`), nA.lang;
|
|
@@ -6720,11 +6720,11 @@ 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,
|
|
6723
|
+
var GA, le, pe, Se, Ie, Me, vt, xt, Dt, ur, Xt, xn;
|
|
6724
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
|
-
for (Gs(_, J), GA = nA[0],
|
|
6727
|
-
(Ie = p[pe]).length === 2 ? (ur = Ie[0] * GA + ur, Xt = Ie[1] *
|
|
6726
|
+
for (Gs(_, J), GA = nA[0], le = nA[1], Se = p.length, ur = _, Xt = J, pe = 0; pe < Se; pe++)
|
|
6727
|
+
(Ie = p[pe]).length === 2 ? (ur = Ie[0] * GA + ur, Xt = Ie[1] * le + Xt, ca(ur, Xt)) : (Me = Ie[0] * GA + ur, vt = Ie[1] * le + Xt, xt = Ie[2] * GA + ur, Dt = Ie[3] * le + Xt, ur = Ie[4] * GA + ur, Xt = Ie[5] * le + Xt, _i(Me, vt, xt, Dt, ur, Xt));
|
|
6728
6728
|
return TA && vl(), Vs(pA), this;
|
|
6729
6729
|
}, h.path = function(p) {
|
|
6730
6730
|
for (var _ = 0; _ < p.length; _++) {
|
|
@@ -6755,8 +6755,8 @@ T* `) : p.join(` Tj
|
|
|
6755
6755
|
}, h.__private__.roundedRect = h.roundedRect = function(p, _, J, nA, pA, TA, GA) {
|
|
6756
6756
|
if (isNaN(p) || isNaN(_) || isNaN(J) || isNaN(nA) || isNaN(pA) || isNaN(TA) || !Vn(GA))
|
|
6757
6757
|
throw new Error("Invalid arguments passed to jsPDF.roundedRect");
|
|
6758
|
-
var
|
|
6759
|
-
return pA = Math.min(pA, 0.5 * J), TA = Math.min(TA, 0.5 * nA), this.lines([[J - 2 * pA, 0], [pA *
|
|
6758
|
+
var le = 4 / 3 * (Math.SQRT2 - 1);
|
|
6759
|
+
return pA = Math.min(pA, 0.5 * J), TA = Math.min(TA, 0.5 * nA), this.lines([[J - 2 * pA, 0], [pA * le, 0, pA, TA - TA * le, pA, TA], [0, nA - 2 * TA], [0, TA * le, -pA * le, TA, -pA, TA], [2 * pA - J, 0], [-pA * le, 0, -pA, -TA * le, -pA, -TA], [0, 2 * TA - nA], [0, -TA * le, pA * le, -TA, pA, -TA]], p + pA, _, [1, 1], GA, !0), this;
|
|
6760
6760
|
}, h.__private__.ellipse = h.ellipse = function(p, _, J, nA, pA) {
|
|
6761
6761
|
if (isNaN(p) || isNaN(_) || isNaN(J) || isNaN(nA) || !Vn(pA))
|
|
6762
6762
|
throw new Error("Invalid arguments passed to jsPDF.ellipse");
|
|
@@ -8665,10 +8665,10 @@ var m0, sd, od, jf = ["times"];
|
|
|
8665
8665
|
var RA = null;
|
|
8666
8666
|
function zA(SA, Z) {
|
|
8667
8667
|
if (RA === null) {
|
|
8668
|
-
var HA = function(
|
|
8668
|
+
var HA = function(se) {
|
|
8669
8669
|
var KA = [];
|
|
8670
|
-
return Object.keys(
|
|
8671
|
-
|
|
8670
|
+
return Object.keys(se).forEach(function(XA) {
|
|
8671
|
+
se[XA].forEach(function($A) {
|
|
8672
8672
|
var ee = null;
|
|
8673
8673
|
switch ($A) {
|
|
8674
8674
|
case "bold":
|
|
@@ -8688,9 +8688,9 @@ var m0, sd, od, jf = ["times"];
|
|
|
8688
8688
|
});
|
|
8689
8689
|
}), KA;
|
|
8690
8690
|
}(SA.getFontList());
|
|
8691
|
-
RA = function(
|
|
8692
|
-
for (var KA = {}, XA = 0; XA <
|
|
8693
|
-
var $A = Nu(
|
|
8691
|
+
RA = function(se) {
|
|
8692
|
+
for (var KA = {}, XA = 0; XA < se.length; ++XA) {
|
|
8693
|
+
var $A = Nu(se[XA]), ee = $A.family, de = $A.stretch, ge = $A.style, Fe = $A.weight;
|
|
8694
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;
|
|
@@ -8708,7 +8708,7 @@ var m0, sd, od, jf = ["times"];
|
|
|
8708
8708
|
}, set: function(SA) {
|
|
8709
8709
|
var Z;
|
|
8710
8710
|
if (this.ctx.font = SA, (Z = /^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(SA)) !== null) {
|
|
8711
|
-
var HA = Z[1],
|
|
8711
|
+
var HA = Z[1], se = (Z[2], Z[3]), KA = Z[4], XA = (Z[5], Z[6]), $A = /^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(KA)[2];
|
|
8712
8712
|
KA = Math.floor($A === "px" ? parseFloat(KA) * this.pdf.internal.scaleFactor : $A === "em" ? parseFloat(KA) * this.pdf.getFontSize() : parseFloat(KA) * this.pdf.internal.scaleFactor), this.pdf.setFontSize(KA);
|
|
8713
8713
|
var ee = function(me) {
|
|
8714
8714
|
var Le, re, Kt = [], Pe = me.trim();
|
|
@@ -8733,12 +8733,12 @@ var m0, sd, od, jf = ["times"];
|
|
|
8733
8733
|
}(XA);
|
|
8734
8734
|
if (this.fontFaces) {
|
|
8735
8735
|
var de = j4(zA(this.pdf, this.fontFaces), ee.map(function(me) {
|
|
8736
|
-
return { family: me, stretch: "normal", weight:
|
|
8736
|
+
return { family: me, stretch: "normal", weight: se, style: HA };
|
|
8737
8737
|
}));
|
|
8738
8738
|
this.pdf.setFont(de.ref.name, de.ref.style);
|
|
8739
8739
|
} else {
|
|
8740
8740
|
var ge = "";
|
|
8741
|
-
(
|
|
8741
|
+
(se === "bold" || parseInt(se, 10) >= 700 || HA === "bold") && (ge = "bold"), HA === "italic" && (ge += "italic"), ge.length === 0 && (ge = "normal");
|
|
8742
8742
|
for (var Fe = "", Ue = { arial: "Helvetica", Arial: "Helvetica", verdana: "Helvetica", Verdana: "Helvetica", helvetica: "Helvetica", Helvetica: "Helvetica", "sans-serif": "Helvetica", fixed: "Courier", monospace: "Courier", terminal: "Courier", cursive: "Times", fantasy: "Times", serif: "Times" }, De = 0; De < ee.length; De++) {
|
|
8743
8743
|
if (this.pdf.internal.getFont(ee[De], ge, { noFallback: !0, disableWarning: !0 }) !== void 0) {
|
|
8744
8744
|
Fe = ee[De];
|
|
@@ -8951,7 +8951,7 @@ 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(),
|
|
8954
|
+
for (var Z, HA = this.ctx.transform.decompose(), se = 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
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++) {
|
|
@@ -8964,10 +8964,10 @@ var m0, sd, od, jf = ["times"];
|
|
|
8964
8964
|
var Pe = JSON.parse(JSON.stringify(XA));
|
|
8965
8965
|
Pe = F([Pe], this.posX + this.margin[3], -re + ke + this.ctx.prevPageLastElemOffset)[0];
|
|
8966
8966
|
var Ur = (Ue > ge || Ue < Fe) && w.call(this);
|
|
8967
|
-
Ur && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], De, Le, null).clip().discardPath()), this.pdf.addImage(m, "JPEG", Pe.x, Pe.y, Pe.w, Pe.h, null, null,
|
|
8967
|
+
Ur && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], De, Le, null).clip().discardPath()), this.pdf.addImage(m, "JPEG", Pe.x, Pe.y, Pe.w, Pe.h, null, null, se), Ur && this.pdf.restoreGraphicsState();
|
|
8968
8968
|
}
|
|
8969
8969
|
else
|
|
8970
|
-
this.pdf.addImage(m, "JPEG", XA.x, XA.y, XA.w, XA.h, null, null,
|
|
8970
|
+
this.pdf.addImage(m, "JPEG", XA.x, XA.y, XA.w, XA.h, null, null, se);
|
|
8971
8971
|
};
|
|
8972
8972
|
var x = function(m, S, b) {
|
|
8973
8973
|
var T = [];
|
|
@@ -9023,8 +9023,8 @@ var m0, sd, od, jf = ["times"];
|
|
|
9023
9023
|
if (zA[SA].x !== void 0)
|
|
9024
9024
|
for (var Z = x.call(this, zA[SA]), HA = 0; HA < Z.length; HA += 1)
|
|
9025
9025
|
ZA.indexOf(Z[HA]) === -1 && ZA.push(Z[HA]);
|
|
9026
|
-
for (var
|
|
9027
|
-
for (; this.pdf.internal.getNumberOfPages() < ZA[
|
|
9026
|
+
for (var se = 0; se < ZA.length; se++)
|
|
9027
|
+
for (; this.pdf.internal.getNumberOfPages() < ZA[se]; )
|
|
9028
9028
|
y.call(this);
|
|
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++) {
|
|
@@ -9079,17 +9079,17 @@ var m0, sd, od, jf = ["times"];
|
|
|
9079
9079
|
}
|
|
9080
9080
|
}
|
|
9081
9081
|
T = S ? null : m === "stroke" ? "stroke" : "fill";
|
|
9082
|
-
for (var HA = !1,
|
|
9083
|
-
if (j[
|
|
9084
|
-
for (var KA = j[
|
|
9082
|
+
for (var HA = !1, se = 0; se < j.length; se++)
|
|
9083
|
+
if (j[se].arc)
|
|
9084
|
+
for (var KA = j[se].abs, XA = 0; XA < KA.length; XA++) {
|
|
9085
9085
|
var $A = KA[XA];
|
|
9086
9086
|
$A.type === "arc" ? k.call(this, $A.x, $A.y, $A.radius, $A.startAngle, $A.endAngle, $A.counterclockwise, void 0, S, !HA) : K.call(this, $A.x, $A.y), HA = !0;
|
|
9087
9087
|
}
|
|
9088
|
-
else if (j[
|
|
9088
|
+
else if (j[se].close === !0)
|
|
9089
9089
|
this.pdf.internal.out("h"), HA = !1;
|
|
9090
|
-
else if (j[
|
|
9091
|
-
var ee = j[
|
|
9092
|
-
q.call(this, j[
|
|
9090
|
+
else if (j[se].begin !== !0) {
|
|
9091
|
+
var ee = j[se].start.x, de = j[se].start.y;
|
|
9092
|
+
q.call(this, j[se].deltas, ee, de), HA = !0;
|
|
9093
9093
|
}
|
|
9094
9094
|
T && V.call(this, T), S && tA.call(this);
|
|
9095
9095
|
}
|
|
@@ -9164,7 +9164,7 @@ var m0, sd, od, jf = ["times"];
|
|
|
9164
9164
|
for (var CA, NA, RA, zA = this.ctx.transform.applyToRectangle(new s(m.x, T, b.w, b.h)), ZA = iA.applyToRectangle(new s(m.x, j, b.w, b.h)), SA = x.call(this, ZA), Z = [], HA = 0; HA < SA.length; HA += 1)
|
|
9165
9165
|
Z.indexOf(SA[HA]) === -1 && Z.push(SA[HA]);
|
|
9166
9166
|
if (N(Z), this.autoPaging)
|
|
9167
|
-
for (var
|
|
9167
|
+
for (var se = Z[0], KA = Z[Z.length - 1], XA = se; XA < KA + 1; XA++) {
|
|
9168
9168
|
this.pdf.setPage(XA);
|
|
9169
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) {
|
|
@@ -9176,7 +9176,7 @@ var m0, sd, od, jf = ["times"];
|
|
|
9176
9176
|
var Le = this.autoPaging !== "text";
|
|
9177
9177
|
if (Le || me.y + me.h <= de) {
|
|
9178
9178
|
if (Le || me.y >= $A && me.x <= Fe) {
|
|
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 >
|
|
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 > se || 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
|
|
@@ -9202,17 +9202,17 @@ var m0, sd, od, jf = ["times"];
|
|
|
9202
9202
|
}
|
|
9203
9203
|
return iA;
|
|
9204
9204
|
}, vA = function(m, S, b) {
|
|
9205
|
-
var T = (b - S) / 2, j = m * Math.cos(T), rA = m * Math.sin(T), sA = j, iA = -rA, CA = sA * sA + iA * iA, NA = CA + sA * j + iA * rA, RA = 4 / 3 * (Math.sqrt(2 * CA * NA) - NA) / (sA * rA - iA * j), zA = sA - RA * iA, ZA = iA + RA * sA, SA = zA, Z = -ZA, HA = T + S,
|
|
9206
|
-
return { x1: m * Math.cos(S), y1: m * Math.sin(S), x2: zA *
|
|
9205
|
+
var T = (b - S) / 2, j = m * Math.cos(T), rA = m * Math.sin(T), sA = j, iA = -rA, CA = sA * sA + iA * iA, NA = CA + sA * j + iA * rA, RA = 4 / 3 * (Math.sqrt(2 * CA * NA) - NA) / (sA * rA - iA * j), zA = sA - RA * iA, ZA = iA + RA * sA, SA = zA, Z = -ZA, HA = T + S, se = Math.cos(HA), KA = Math.sin(HA);
|
|
9206
|
+
return { x1: m * Math.cos(S), y1: m * Math.sin(S), x2: zA * se - ZA * KA, y2: zA * KA + ZA * se, x3: SA * se - Z * KA, y3: SA * KA + Z * se, x4: m * Math.cos(b), y4: m * Math.sin(b) };
|
|
9207
9207
|
}, gA = function(m) {
|
|
9208
9208
|
return 180 * m / Math.PI;
|
|
9209
9209
|
}, EA = function(m, S, b, T, j, rA) {
|
|
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,
|
|
9213
|
+
var CA, NA, RA, zA, ZA, SA, Z, HA, se, 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
|
-
|
|
9215
|
+
se = (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 = se, $A = KA, ee = se, de = KA) : (XA = Math.min(XA, se), $A = Math.min($A, KA), ee = Math.max(ee, se), de = Math.max(de, KA));
|
|
9216
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) {
|
|
@@ -10190,8 +10190,8 @@ function Wf(A) {
|
|
|
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;
|
|
10193
|
-
var wA = 0.382683433 * ((G = R + I) - (BA = Et + Qr)), FA = 0.5411961 * G + wA, bA = 1.306562965 * BA + wA, VA = 0.707106781 * (Y = I + Et), qA = Qr + VA,
|
|
10194
|
-
KA[re + 40] =
|
|
10193
|
+
var wA = 0.382683433 * ((G = R + I) - (BA = Et + Qr)), FA = 0.5411961 * G + wA, bA = 1.306562965 * BA + wA, VA = 0.707106781 * (Y = I + Et), qA = Qr + VA, ae = Qr - VA;
|
|
10194
|
+
KA[re + 40] = ae + FA, KA[re + 24] = ae - FA, KA[re + 8] = qA + bA, KA[re + 56] = qA - bA, re++;
|
|
10195
10195
|
}
|
|
10196
10196
|
for (me = 0; me < 64; ++me)
|
|
10197
10197
|
Le = KA[me] * XA[me], h[me] = Le > 0 ? Le + 0.5 | 0 : Le - 0.5 | 0;
|
|
@@ -10210,7 +10210,7 @@ function Wf(A) {
|
|
|
10210
10210
|
var HA = SA - Z;
|
|
10211
10211
|
if (HA >= 16) {
|
|
10212
10212
|
ZA = HA >> 4;
|
|
10213
|
-
for (var
|
|
10213
|
+
for (var se = 1; se <= ZA; ++se)
|
|
10214
10214
|
vA(iA);
|
|
10215
10215
|
HA &= 15;
|
|
10216
10216
|
}
|
|
@@ -10267,10 +10267,10 @@ function Wf(A) {
|
|
|
10267
10267
|
}(), EA(65498), EA(12), gA(3), gA(1), gA(0), gA(2), gA(17), gA(3), gA(17), gA(0), gA(63), gA(0);
|
|
10268
10268
|
var b = 0, T = 0, j = 0;
|
|
10269
10269
|
x = 0, y = 7, this.encode.displayName = "_encode_";
|
|
10270
|
-
for (var rA, sA, iA, CA, NA, RA, zA, ZA, SA, Z = m.data, HA = m.width,
|
|
10270
|
+
for (var rA, sA, iA, CA, NA, RA, zA, ZA, SA, Z = m.data, HA = m.width, se = m.height, KA = 4 * HA, XA = 0; XA < se; ) {
|
|
10271
10271
|
for (rA = 0; rA < KA; ) {
|
|
10272
10272
|
for (NA = KA * XA + rA, zA = -1, ZA = 0, SA = 0; SA < 64; SA++)
|
|
10273
|
-
RA = NA + (ZA = SA >> 3) * KA + (zA = 4 * (7 & SA)), XA + ZA >=
|
|
10273
|
+
RA = NA + (ZA = SA >> 3) * KA + (zA = 4 * (7 & SA)), XA + ZA >= se && (RA -= KA * (XA + 1 + ZA - se)), rA + zA >= KA && (RA -= rA + zA - KA + 4), sA = Z[RA++], iA = Z[RA++], CA = Z[RA++], F[SA] = (eA[sA] + eA[iA + 256 >> 0] + eA[CA + 512 >> 0] >> 16) - 128, N[SA] = (eA[sA + 768 >> 0] + eA[iA + 1024 >> 0] + eA[CA + 1280 >> 0] >> 16) - 128, M[SA] = (eA[sA + 1280 >> 0] + eA[iA + 1536 >> 0] + eA[CA + 1792 >> 0] >> 16) - 128;
|
|
10274
10274
|
b = _A(F, l, b, e, r), T = _A(N, f, T, t, n), j = _A(M, f, j, t, n), rA += 32;
|
|
10275
10275
|
}
|
|
10276
10276
|
XA += 8;
|
|
@@ -10378,23 +10378,23 @@ function hd(A) {
|
|
|
10378
10378
|
xA = W[hA], 0 < W[hA] && (mA[lA[xA]++] = hA);
|
|
10379
10379
|
if (lA[15] == 1)
|
|
10380
10380
|
return (W = new Q()).g = 0, W.value = mA[0], tA(D, OA, 1, QA, W), QA;
|
|
10381
|
-
var DA, MA = -1, kA = QA - 1,
|
|
10381
|
+
var DA, MA = -1, kA = QA - 1, ce = 0, Ae = 1, Be = 1, te = 1 << P;
|
|
10382
10382
|
for (hA = 0, xA = 1, aA = 2; xA <= P; ++xA, aA <<= 1) {
|
|
10383
10383
|
if (Ae += Be <<= 1, 0 > (Be -= oA[xA]))
|
|
10384
10384
|
return 0;
|
|
10385
10385
|
for (; 0 < oA[xA]; --oA[xA])
|
|
10386
|
-
(W = new Q()).g = xA, W.value = mA[hA++], tA(D, OA +
|
|
10386
|
+
(W = new Q()).g = xA, W.value = mA[hA++], tA(D, OA + ce, aA, te, W), ce = V(ce, xA);
|
|
10387
10387
|
}
|
|
10388
10388
|
for (xA = P + 1, aA = 2; 15 >= xA; ++xA, aA <<= 1) {
|
|
10389
10389
|
if (Ae += Be <<= 1, 0 > (Be -= oA[xA]))
|
|
10390
10390
|
return 0;
|
|
10391
10391
|
for (; 0 < oA[xA]; --oA[xA]) {
|
|
10392
|
-
if (W = new Q(), (
|
|
10392
|
+
if (W = new Q(), (ce & kA) != MA) {
|
|
10393
10393
|
for (OA += te, DA = 1 << (MA = xA) - P; 15 > MA && !(0 >= (DA -= oA[MA])); )
|
|
10394
10394
|
++MA, DA <<= 1;
|
|
10395
|
-
QA += te = 1 << (DA = MA - P), D[O + (MA =
|
|
10395
|
+
QA += te = 1 << (DA = MA - P), D[O + (MA = ce & kA)].g = DA + P, D[O + MA].value = OA - O - MA;
|
|
10396
10396
|
}
|
|
10397
|
-
W.g = xA - P, W.value = mA[hA++], tA(D, OA + (
|
|
10397
|
+
W.g = xA - P, W.value = mA[hA++], tA(D, OA + (ce >> P), aA, te, W), ce = V(ce, xA);
|
|
10398
10398
|
}
|
|
10399
10399
|
}
|
|
10400
10400
|
return Ae != 2 * lA[15] - 1 ? 0 : QA;
|
|
@@ -10498,7 +10498,7 @@ function hd(A) {
|
|
|
10498
10498
|
var E = B[0], L = C[0];
|
|
10499
10499
|
return E == 0 && (E = (c * L + u / 2) / u), L == 0 && (L = (u * E + c / 2) / c), 0 >= E || 0 >= L ? 0 : (B[0] = E, C[0] = L, 1);
|
|
10500
10500
|
}
|
|
10501
|
-
function
|
|
10501
|
+
function se(c, u) {
|
|
10502
10502
|
return c + (1 << u) - 1 >>> u;
|
|
10503
10503
|
}
|
|
10504
10504
|
function KA(c, u) {
|
|
@@ -10715,26 +10715,26 @@ function hd(A) {
|
|
|
10715
10715
|
case 0:
|
|
10716
10716
|
var QA = aA, oA = mA, lA = P, DA = O, MA = (te = W).Ea;
|
|
10717
10717
|
QA == 0 && (Yc(xA, hA, null, null, 1, lA, DA), Ue(xA, hA + 1, 0, 0, MA - 1, lA, DA + 1), hA += MA, DA += MA, ++QA);
|
|
10718
|
-
for (var kA = 1 << te.b,
|
|
10718
|
+
for (var kA = 1 << te.b, ce = kA - 1, Ae = se(MA, te.b), Be = te.K, te = te.w + (QA >> te.b) * Ae; QA < oA; ) {
|
|
10719
10719
|
var je = Be, Ye = te, Ke = 1;
|
|
10720
10720
|
for (no(xA, hA, lA, DA - MA, 1, lA, DA); Ke < MA; ) {
|
|
10721
|
-
var Oe = (Ke & ~
|
|
10721
|
+
var Oe = (Ke & ~ce) + kA;
|
|
10722
10722
|
Oe > MA && (Oe = MA), (0, Ti[je[Ye++] >> 8 & 15])(xA, hA + +Ke, lA, DA + Ke - MA, Oe - Ke, lA, DA + Ke), Ke = Oe;
|
|
10723
10723
|
}
|
|
10724
|
-
hA += MA, DA += MA, ++QA &
|
|
10724
|
+
hA += MA, DA += MA, ++QA & ce || (te += Ae);
|
|
10725
10725
|
}
|
|
10726
10726
|
mA != W.nc && r(P, O - OA, P, O + (mA - aA - 1) * OA, OA);
|
|
10727
10727
|
break;
|
|
10728
10728
|
case 1:
|
|
10729
|
-
for (OA = xA, oA = hA, MA = (xA = W.Ea) - (DA = xA & ~(lA = (hA = 1 << W.b) - 1)), QA =
|
|
10730
|
-
for (
|
|
10731
|
-
ke(
|
|
10732
|
-
oA < je && (ke(
|
|
10729
|
+
for (OA = xA, oA = hA, MA = (xA = W.Ea) - (DA = xA & ~(lA = (hA = 1 << W.b) - 1)), QA = se(xA, W.b), kA = W.K, W = W.w + (aA >> W.b) * QA; aA < mA; ) {
|
|
10730
|
+
for (ce = kA, Ae = W, Be = new $A(), te = oA + DA, je = oA + xA; oA < te; )
|
|
10731
|
+
ke(ce[Ae++], Be), rn(Be, OA, oA, hA, P, O), oA += hA, O += hA;
|
|
10732
|
+
oA < je && (ke(ce[Ae++], Be), rn(Be, OA, oA, MA, P, O), oA += MA, O += MA), ++aA & lA || (W += QA);
|
|
10733
10733
|
}
|
|
10734
10734
|
break;
|
|
10735
10735
|
case 3:
|
|
10736
10736
|
if (xA == P && hA == O && 0 < W.b) {
|
|
10737
|
-
for (oA = P, xA = OA = O + (mA - aA) * OA - (DA = (mA - aA) *
|
|
10737
|
+
for (oA = P, xA = OA = O + (mA - aA) * OA - (DA = (mA - aA) * se(W.Ea, W.b)), hA = P, lA = O, QA = [], DA = (MA = DA) - 1; 0 <= DA; --DA)
|
|
10738
10738
|
QA[DA] = hA[lA + DA];
|
|
10739
10739
|
for (DA = MA - 1; 0 <= DA; --DA)
|
|
10740
10740
|
oA[xA + DA] = QA[DA];
|
|
@@ -10844,14 +10844,14 @@ function hd(A) {
|
|
|
10844
10844
|
for (; MA || mA < hA; ) {
|
|
10845
10845
|
var kA = 0;
|
|
10846
10846
|
if (O >= QA) {
|
|
10847
|
-
var
|
|
10848
|
-
e((QA = c).Pb), QA.wd = QA.m, QA.xd =
|
|
10847
|
+
var ce = mA - B;
|
|
10848
|
+
e((QA = c).Pb), QA.wd = QA.m, QA.xd = ce, 0 < QA.s.ua && SA(QA.s.Wa, QA.s.vb), QA = O + fw;
|
|
10849
10849
|
}
|
|
10850
10850
|
if (P & lA || (DA = mt(aA, P, O)), e(DA != null), DA.Qb && (u[mA] = DA.qb, MA = !0), !MA)
|
|
10851
10851
|
if (j(W), DA.jc) {
|
|
10852
|
-
kA = W,
|
|
10852
|
+
kA = W, ce = u;
|
|
10853
10853
|
var Ae = mA, Be = DA.pd[S(kA) & Lr - 1];
|
|
10854
|
-
e(DA.jc), 256 > Be.g ? (T(kA, kA.u + Be.g),
|
|
10854
|
+
e(DA.jc), 256 > Be.g ? (T(kA, kA.u + Be.g), ce[Ae] = Be.value, kA = 0) : (T(kA, kA.u + Be.g - 256), e(256 <= Be.value), kA = Be.value), kA == 0 && (MA = !0);
|
|
10855
10855
|
} else
|
|
10856
10856
|
kA = cr(DA.G[0], DA.H[0], W);
|
|
10857
10857
|
if (W.h)
|
|
@@ -10861,20 +10861,20 @@ function hd(A) {
|
|
|
10861
10861
|
if (DA.nd)
|
|
10862
10862
|
u[mA] = (DA.qb | kA << 8) >>> 0;
|
|
10863
10863
|
else {
|
|
10864
|
-
if (j(W), MA = cr(DA.G[1], DA.H[1], W), j(W),
|
|
10864
|
+
if (j(W), MA = cr(DA.G[1], DA.H[1], W), j(W), ce = cr(DA.G[2], DA.H[2], W), Ae = cr(DA.G[3], DA.H[3], W), W.h)
|
|
10865
10865
|
break;
|
|
10866
|
-
u[mA] = (Ae << 24 | MA << 16 | kA << 8 |
|
|
10866
|
+
u[mA] = (Ae << 24 | MA << 16 | kA << 8 | ce) >>> 0;
|
|
10867
10867
|
}
|
|
10868
10868
|
if (MA = !1, ++mA, ++P >= C && (P = 0, ++O, D != null && O <= L && !(O % 16) && D(c, O), oA != null))
|
|
10869
10869
|
for (; xA < mA; )
|
|
10870
10870
|
kA = u[xA++], oA.X[(506832829 * kA & 4294967295) >>> oA.Mb] = kA;
|
|
10871
10871
|
} else if (280 > kA) {
|
|
10872
|
-
if (kA = Kr(kA - 256, W),
|
|
10872
|
+
if (kA = Kr(kA - 256, W), ce = cr(DA.G[4], DA.H[4], W), j(W), ce = Qr(C, ce = Kr(ce, W)), W.h)
|
|
10873
10873
|
break;
|
|
10874
|
-
if (mA - B <
|
|
10874
|
+
if (mA - B < ce || E - mA < kA)
|
|
10875
10875
|
break A;
|
|
10876
10876
|
for (Ae = 0; Ae < kA; ++Ae)
|
|
10877
|
-
u[mA + Ae] = u[mA + Ae -
|
|
10877
|
+
u[mA + Ae] = u[mA + Ae - ce];
|
|
10878
10878
|
for (mA += kA, P += kA; P >= C; )
|
|
10879
10879
|
P -= C, ++O, D != null && O <= L && !(O % 16) && D(c, O);
|
|
10880
10880
|
if (e(mA <= E), P & lA && (DA = mt(aA, P, O)), oA != null)
|
|
@@ -10885,7 +10885,7 @@ function hd(A) {
|
|
|
10885
10885
|
break A;
|
|
10886
10886
|
for (MA = kA - 280, e(oA != null); xA < mA; )
|
|
10887
10887
|
kA = u[xA++], oA.X[(506832829 * kA & 4294967295) >>> oA.Mb] = kA;
|
|
10888
|
-
kA = mA, e(!(MA >>> (
|
|
10888
|
+
kA = mA, e(!(MA >>> (ce = oA).Xa)), u[kA] = ce.X[MA], MA = !0;
|
|
10889
10889
|
}
|
|
10890
10890
|
MA || e(W.h == b(W));
|
|
10891
10891
|
}
|
|
@@ -10922,11 +10922,11 @@ function hd(A) {
|
|
|
10922
10922
|
switch (OA.Oc |= 1 << DA, lA.hc = DA, lA.Ea = xA[0], lA.nc = hA[0], lA.K = [null], ++OA.ab, e(4 >= OA.ab), DA) {
|
|
10923
10923
|
case 0:
|
|
10924
10924
|
case 1:
|
|
10925
|
-
lA.b = _A(oA, 3) + 2, QA = wA(
|
|
10925
|
+
lA.b = _A(oA, 3) + 2, QA = wA(se(lA.Ea, lA.b), se(lA.nc, lA.b), 0, OA, lA.K), lA.K = lA.K[0];
|
|
10926
10926
|
break;
|
|
10927
10927
|
case 3:
|
|
10928
|
-
var MA, kA = _A(oA, 8) + 1,
|
|
10929
|
-
if (xA[0] =
|
|
10928
|
+
var MA, kA = _A(oA, 8) + 1, ce = 16 < kA ? 0 : 4 < kA ? 1 : 2 < kA ? 2 : 3;
|
|
10929
|
+
if (xA[0] = se(lA.Ea, ce), lA.b = ce, MA = QA = wA(kA, 1, 0, OA, lA.K)) {
|
|
10930
10930
|
var Ae, Be = kA, te = lA, je = 1 << (8 >> te.b), Ye = i(je);
|
|
10931
10931
|
if (Ye == null)
|
|
10932
10932
|
MA = 0;
|
|
@@ -10960,7 +10960,7 @@ function hd(A) {
|
|
|
10960
10960
|
t:
|
|
10961
10961
|
for (; ; ) {
|
|
10962
10962
|
if (Wr && _A(Xr, 1)) {
|
|
10963
|
-
var qt = _A(Xr, 3) + 2, hi =
|
|
10963
|
+
var qt = _A(Xr, 3) + 2, hi = se(Ot, qt), pa = se(Dr, qt), As = hi * pa;
|
|
10964
10964
|
if (!wA(hi, pa, 0, Nr, er))
|
|
10965
10965
|
break t;
|
|
10966
10966
|
for (er = er[0], zt.xc = qt, nt = 0; nt < As; ++nt) {
|
|
@@ -11069,7 +11069,7 @@ function hd(A) {
|
|
|
11069
11069
|
} else
|
|
11070
11070
|
W.ua = 0;
|
|
11071
11071
|
var df = C, qh = D, Rw = O, gf = df.s, pf = gf.xc;
|
|
11072
|
-
if (df.c = qh, df.i = Rw, gf.md =
|
|
11072
|
+
if (df.c = qh, df.i = Rw, gf.md = se(qh, pf), gf.wc = pf == 0 ? -1 : (1 << pf) - 1, B) {
|
|
11073
11073
|
C.xb = Bw;
|
|
11074
11074
|
break A;
|
|
11075
11075
|
}
|
|
@@ -11100,7 +11100,7 @@ function hd(A) {
|
|
|
11100
11100
|
function qA() {
|
|
11101
11101
|
this.Kd = this.Ld = this.Ud = this.Td = this.i = this.c = 0;
|
|
11102
11102
|
}
|
|
11103
|
-
function
|
|
11103
|
+
function ae() {
|
|
11104
11104
|
this.Fb = this.Bb = this.Cb = 0, this.Zb = i(4), this.Lb = i(4);
|
|
11105
11105
|
}
|
|
11106
11106
|
function WA() {
|
|
@@ -11137,7 +11137,7 @@ function hd(A) {
|
|
|
11137
11137
|
this.y = i(16), this.f = i(8), this.ea = i(8);
|
|
11138
11138
|
}
|
|
11139
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
|
|
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 ae(), 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;
|
|
@@ -11343,36 +11343,36 @@ function hd(A) {
|
|
|
11343
11343
|
for (hA.M = 0; hA.M < hA.Va; ++hA.M) {
|
|
11344
11344
|
var QA, oA = hA.Jc[hA.M & hA.Xb], lA = hA.m, DA = hA;
|
|
11345
11345
|
for (QA = 0; QA < DA.za; ++QA) {
|
|
11346
|
-
var MA = lA, kA = DA,
|
|
11346
|
+
var MA = lA, kA = DA, ce = kA.Ac, Ae = kA.Bc + 4 * QA, Be = kA.zc, te = kA.ya[kA.aa + QA];
|
|
11347
11347
|
if (kA.Qa.Bb ? te.$b = iA(MA, kA.Pa.jb[0]) ? 2 + iA(MA, kA.Pa.jb[2]) : iA(MA, kA.Pa.jb[1]) : te.$b = 0, kA.kc && (te.Ad = iA(MA, kA.Bd)), te.Za = !iA(MA, 145) + 0, te.Za) {
|
|
11348
11348
|
var je = te.Ob, Ye = 0;
|
|
11349
11349
|
for (kA = 0; 4 > kA; ++kA) {
|
|
11350
11350
|
var Ke, Oe = Be[0 + kA];
|
|
11351
11351
|
for (Ke = 0; 4 > Ke; ++Ke) {
|
|
11352
|
-
Oe = gw[
|
|
11352
|
+
Oe = gw[ce[Ae + Ke]][Oe];
|
|
11353
11353
|
for (var lt = bh[iA(MA, Oe[0])]; 0 < lt; )
|
|
11354
11354
|
lt = bh[2 * lt + iA(MA, Oe[lt])];
|
|
11355
|
-
Oe = -lt,
|
|
11355
|
+
Oe = -lt, ce[Ae + Ke] = Oe;
|
|
11356
11356
|
}
|
|
11357
|
-
r(je, Ye,
|
|
11357
|
+
r(je, Ye, ce, Ae, 4), Ye += 4, Be[0 + kA] = Oe;
|
|
11358
11358
|
}
|
|
11359
11359
|
} else
|
|
11360
|
-
Oe = iA(MA, 156) ? iA(MA, 128) ? 1 : 3 : iA(MA, 163) ? 2 : 0, te.Ob[0] = Oe, n(
|
|
11360
|
+
Oe = iA(MA, 156) ? iA(MA, 128) ? 1 : 3 : iA(MA, 163) ? 2 : 0, te.Ob[0] = Oe, n(ce, Ae, Oe, 4), n(Be, 0, Oe, 4);
|
|
11361
11361
|
te.Dd = iA(MA, 142) ? iA(MA, 114) ? iA(MA, 183) ? 1 : 3 : 2 : 0;
|
|
11362
11362
|
}
|
|
11363
11363
|
if (DA.m.Ka)
|
|
11364
11364
|
return _t(hA, 7, "Premature end-of-partition0 encountered.");
|
|
11365
11365
|
for (; hA.ja < hA.za; ++hA.ja) {
|
|
11366
|
-
if (DA = oA, MA = (lA = hA).rb[lA.sb - 1],
|
|
11367
|
-
MA.la =
|
|
11366
|
+
if (DA = oA, MA = (lA = hA).rb[lA.sb - 1], ce = lA.rb[lA.sb + lA.ja], QA = lA.ya[lA.aa + lA.ja], Ae = lA.kc ? QA.Ad : 0)
|
|
11367
|
+
MA.la = ce.la = 0, QA.Za || (MA.Na = ce.Na = 0), QA.Hc = 0, QA.Gc = 0, QA.ia = 0;
|
|
11368
11368
|
else {
|
|
11369
11369
|
var nt, Qe;
|
|
11370
|
-
if (MA =
|
|
11370
|
+
if (MA = ce, ce = DA, Ae = lA.Pa.Xc, Be = lA.ya[lA.aa + lA.ja], te = lA.pb[Be.$b], kA = Be.ad, je = 0, Ye = lA.rb[lA.sb - 1], Oe = Ke = 0, n(kA, je, 0, 384), Be.Za)
|
|
11371
11371
|
var kt = 0, Nr = Ae[3];
|
|
11372
11372
|
else {
|
|
11373
11373
|
lt = i(16);
|
|
11374
11374
|
var Ot = MA.Na + Ye.Na;
|
|
11375
|
-
if (Ot = oo(
|
|
11375
|
+
if (Ot = oo(ce, 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;
|
|
@@ -11385,13 +11385,13 @@ function hd(A) {
|
|
|
11385
11385
|
for (lt = 0; 4 > lt; ++lt) {
|
|
11386
11386
|
var Xr = 1 & Wr;
|
|
11387
11387
|
for (Dr = Qe = 0; 4 > Dr; ++Dr)
|
|
11388
|
-
Je = Je >> 1 | (Xr = (Ot = oo(
|
|
11388
|
+
Je = Je >> 1 | (Xr = (Ot = oo(ce, Nr, Ot = Xr + (1 & Je), te.Sc, kt, kA, je)) > kt) << 7, Qe = Qe << 2 | (3 < Ot ? 3 : 1 < Ot ? 2 : kA[je + 0] != 0), je += 16;
|
|
11389
11389
|
Je >>= 4, Wr = Wr >> 1 | Xr << 7, Ke = (Ke << 8 | Qe) >>> 0;
|
|
11390
11390
|
}
|
|
11391
11391
|
for (Nr = Je, kt = Wr >> 4, nt = 0; 4 > nt; nt += 2) {
|
|
11392
11392
|
for (Qe = 0, Je = MA.la >> 4 + nt, Wr = Ye.la >> 4 + nt, lt = 0; 2 > lt; ++lt) {
|
|
11393
11393
|
for (Xr = 1 & Wr, Dr = 0; 2 > Dr; ++Dr)
|
|
11394
|
-
Ot = Xr + (1 & Je), Je = Je >> 1 | (Xr = 0 < (Ot = oo(
|
|
11394
|
+
Ot = Xr + (1 & Je), Je = Je >> 1 | (Xr = 0 < (Ot = oo(ce, Ae[2], Ot, te.Qc, 0, kA, je))) << 3, Qe = Qe << 2 | (3 < Ot ? 3 : 1 < Ot ? 2 : kA[je + 0] != 0), je += 16;
|
|
11395
11395
|
Je >>= 2, Wr = Wr >> 1 | Xr << 5;
|
|
11396
11396
|
}
|
|
11397
11397
|
Oe |= Qe << 4 * nt, Nr |= Je << 4 << nt, kt |= (240 & Wr) << nt;
|
|
@@ -11403,7 +11403,7 @@ function hd(A) {
|
|
|
11403
11403
|
}
|
|
11404
11404
|
if (Ms(hA), lA = OA, DA = 1, QA = (oA = hA).D, MA = 0 < oA.L && oA.M >= oA.zb && oA.M <= oA.Va, oA.Aa == 0)
|
|
11405
11405
|
A: {
|
|
11406
|
-
if (QA.M = oA.M, QA.uc = MA, Ao(oA, QA), DA = 1, QA = (Qe = oA.D).Nb, MA = (Oe = Ol[oA.L]) * oA.R,
|
|
11406
|
+
if (QA.M = oA.M, QA.uc = MA, Ao(oA, QA), DA = 1, QA = (Qe = oA.D).Nb, MA = (Oe = Ol[oA.L]) * oA.R, ce = Oe / 2 * oA.B, lt = 16 * QA * oA.R, Dr = 8 * QA * oA.B, Ae = oA.sa, Be = oA.ta - MA + lt, te = oA.qa, kA = oA.ra - ce + Dr, je = oA.Ha, Ye = oA.Ia - ce + Dr, Wr = (Je = Qe.M) == 0, Ke = Je >= oA.Va - 1, oA.Aa == 2 && Ao(oA, Qe), Qe.uc)
|
|
11407
11407
|
for (Xr = (Ot = oA).D.M, e(Ot.D.uc), Qe = Ot.yb; Qe < Ot.Hb; ++Qe) {
|
|
11408
11408
|
kt = Qe, Nr = Xr;
|
|
11409
11409
|
var zt = (er = (Ct = Ot).D).Nb;
|
|
@@ -11424,7 +11424,7 @@ function hd(A) {
|
|
|
11424
11424
|
}
|
|
11425
11425
|
Qe < lA.j && (Oe = lA.j - Qe, Qe = lA.j, e(!(1 & Oe)), lA.O += oA.R * Oe, lA.N += oA.B * (Oe >> 1), lA.W += oA.B * (Oe >> 1), lA.F != null && (lA.J += lA.width * Oe)), Qe < Je && (lA.O += lA.v, lA.N += lA.v >> 1, lA.W += lA.v >> 1, lA.F != null && (lA.J += lA.v), lA.ka = Qe - lA.j, lA.U = lA.va - lA.v, lA.T = Je - Qe, DA = lA.put(lA));
|
|
11426
11426
|
}
|
|
11427
|
-
QA + 1 != oA.Ic || Ke || (r(oA.sa, oA.ta - MA, Ae, Be + 16 * oA.R, MA), r(oA.qa, oA.ra -
|
|
11427
|
+
QA + 1 != oA.Ic || Ke || (r(oA.sa, oA.ta - MA, Ae, Be + 16 * oA.R, MA), r(oA.qa, oA.ra - ce, te, kA + 8 * oA.B, ce), r(oA.Ha, oA.Ia - ce, je, Ye + 8 * oA.B, ce));
|
|
11428
11428
|
}
|
|
11429
11429
|
if (!DA)
|
|
11430
11430
|
return _t(hA, 6, "Output aborted.");
|
|
@@ -11805,13 +11805,13 @@ function hd(A) {
|
|
|
11805
11805
|
break e;
|
|
11806
11806
|
}
|
|
11807
11807
|
QA = Kr(QA - 256, aA);
|
|
11808
|
-
var
|
|
11808
|
+
var ce, Ae = cr(kA.G[4], kA.H[4], aA);
|
|
11809
11809
|
if (j(aA), !(oA >= (Ae = Qr(hA, Ae = Kr(Ae, aA))) && lA - oA >= QA)) {
|
|
11810
11810
|
OA = 0;
|
|
11811
11811
|
break e;
|
|
11812
11812
|
}
|
|
11813
|
-
for (
|
|
11814
|
-
O[xA + oA +
|
|
11813
|
+
for (ce = 0; ce < QA; ++ce)
|
|
11814
|
+
O[xA + oA + ce] = O[xA + oA + ce - Ae];
|
|
11815
11815
|
for (oA += QA, W += QA; W >= hA; )
|
|
11816
11816
|
W -= hA, ++P <= u && !(P % 16) && X(D, P);
|
|
11817
11817
|
oA < DA && W & MA && (kA = mt(mA, W, P));
|
|
@@ -11879,10 +11879,10 @@ function hd(A) {
|
|
|
11879
11879
|
}
|
|
11880
11880
|
function TA(c, u, B) {
|
|
11881
11881
|
k[c] = function(C, E, L, D, O, P, W, aA, mA, xA, hA, OA, QA, oA, lA, DA, MA) {
|
|
11882
|
-
var kA,
|
|
11882
|
+
var kA, ce = MA - 1 >> 1, Ae = O[P + 0] | W[aA + 0] << 16, Be = mA[xA + 0] | hA[OA + 0] << 16;
|
|
11883
11883
|
e(C != null);
|
|
11884
11884
|
var te = 3 * Ae + Be + 131074 >> 2;
|
|
11885
|
-
for (u(C[E + 0], 255 & te, te >> 16, QA, oA), L != null && (te = 3 * Be + Ae + 131074 >> 2, u(L[D + 0], 255 & te, te >> 16, lA, DA)), kA = 1; kA <=
|
|
11885
|
+
for (u(C[E + 0], 255 & te, te >> 16, QA, oA), L != null && (te = 3 * Be + Ae + 131074 >> 2, u(L[D + 0], 255 & te, te >> 16, lA, DA)), kA = 1; kA <= ce; ++kA) {
|
|
11886
11886
|
var je = O[P + kA] | W[aA + kA] << 16, Ye = mA[xA + kA] | hA[OA + kA] << 16, Ke = Ae + je + Be + Ye + 524296, Oe = Ke + 2 * (je + Be) >> 3;
|
|
11887
11887
|
te = Oe + Ae >> 1, Ae = (Ke = Ke + 2 * (Ae + Ye) >> 3) + je >> 1, u(C[E + 2 * kA - 1], 255 & te, te >> 16, QA, oA + (2 * kA - 1) * B), u(C[E + 2 * kA - 0], 255 & Ae, Ae >> 16, QA, oA + (2 * kA - 0) * B), L != null && (te = Ke + Be >> 1, Ae = Oe + Ye >> 1, u(L[D + 2 * kA - 1], 255 & te, te >> 16, lA, DA + (2 * kA - 1) * B), u(L[D + 2 * kA + 0], 255 & Ae, Ae >> 16, lA, DA + (2 * kA + 0) * B)), Ae = je, Be = Ye;
|
|
11888
11888
|
}
|
|
@@ -11892,17 +11892,17 @@ function hd(A) {
|
|
|
11892
11892
|
function GA() {
|
|
11893
11893
|
sn[Ql] = vw, sn[Tl] = _h, sn[Ch] = mw, sn[Ll] = Sh, sn[Il] = Uh, sn[Af] = Qh, sn[yh] = xw, sn[ef] = _h, sn[tf] = Sh, sn[Nl] = Uh, sn[rf] = Qh;
|
|
11894
11894
|
}
|
|
11895
|
-
function
|
|
11895
|
+
function le(c) {
|
|
11896
11896
|
return c & ~Cw ? 0 > c ? 0 : 255 : c >> Th;
|
|
11897
11897
|
}
|
|
11898
11898
|
function pe(c, u) {
|
|
11899
|
-
return
|
|
11899
|
+
return le((19077 * c >> 8) + (26149 * u >> 8) - 14234);
|
|
11900
11900
|
}
|
|
11901
11901
|
function Se(c, u, B) {
|
|
11902
|
-
return
|
|
11902
|
+
return le((19077 * c >> 8) - (6419 * u >> 8) - (13320 * B >> 8) + 8708);
|
|
11903
11903
|
}
|
|
11904
11904
|
function Ie(c, u) {
|
|
11905
|
-
return
|
|
11905
|
+
return le((19077 * c >> 8) + (33050 * u >> 8) - 17685);
|
|
11906
11906
|
}
|
|
11907
11907
|
function Me(c, u, B, C, E) {
|
|
11908
11908
|
C[E + 0] = pe(c, B), C[E + 1] = Se(c, u, B), C[E + 2] = Ie(c, u);
|
|
@@ -12013,7 +12013,7 @@ function hd(A) {
|
|
|
12013
12013
|
A: {
|
|
12014
12014
|
var DA = c;
|
|
12015
12015
|
QA = u, oA = B;
|
|
12016
|
-
var MA = W, kA = aA,
|
|
12016
|
+
var MA = W, kA = aA, ce = OA = [0];
|
|
12017
12017
|
if ((te = mA = [mA])[0] = 0, 8 > oA[0])
|
|
12018
12018
|
oA = 7;
|
|
12019
12019
|
else {
|
|
@@ -12031,7 +12031,7 @@ function hd(A) {
|
|
|
12031
12031
|
oA = 3;
|
|
12032
12032
|
break A;
|
|
12033
12033
|
}
|
|
12034
|
-
|
|
12034
|
+
ce != null && (ce[0] = Ae), MA != null && (MA[0] = Be), kA != null && (kA[0] = DA), QA[0] += 18, oA[0] -= 18, te[0] = 1;
|
|
12035
12035
|
}
|
|
12036
12036
|
oA = 0;
|
|
12037
12037
|
}
|
|
@@ -12053,9 +12053,9 @@ function hd(A) {
|
|
|
12053
12053
|
A: {
|
|
12054
12054
|
Ae = c, oA = u, lA = B;
|
|
12055
12055
|
var te = hA.gb;
|
|
12056
|
-
MA = hA.na, kA = hA.P,
|
|
12056
|
+
MA = hA.na, kA = hA.P, ce = hA.Sa, Be = 22, e(Ae != null), e(lA != null), DA = oA[0];
|
|
12057
12057
|
var je = lA[0];
|
|
12058
|
-
for (e(MA != null), e(
|
|
12058
|
+
for (e(MA != null), e(ce != null), MA[0] = null, kA[0] = null, ce[0] = 0; ; ) {
|
|
12059
12059
|
if (oA[0] = DA, lA[0] = je, 8 > je) {
|
|
12060
12060
|
oA = 7;
|
|
12061
12061
|
break A;
|
|
@@ -12078,7 +12078,7 @@ function hd(A) {
|
|
|
12078
12078
|
oA = 7;
|
|
12079
12079
|
break A;
|
|
12080
12080
|
}
|
|
12081
|
-
t(Ae, DA, "ALPH") || (MA[0] = Ae, kA[0] = DA + 8,
|
|
12081
|
+
t(Ae, DA, "ALPH") || (MA[0] = Ae, kA[0] = DA + 8, ce[0] = Ye), DA += Ke, je -= Ke;
|
|
12082
12082
|
}
|
|
12083
12083
|
}
|
|
12084
12084
|
if (B = B[0], hA.na = hA.na[0], hA.P = hA.P[0], hA.Sa = hA.Sa[0], oA != 0)
|
|
@@ -12086,7 +12086,7 @@ function hd(A) {
|
|
|
12086
12086
|
}
|
|
12087
12087
|
B = [B], hA.Ja = [hA.Ja], hA.xa = [hA.xa];
|
|
12088
12088
|
A:
|
|
12089
|
-
if (te = c, oA = u, lA = B, MA = hA.gb[0], kA = hA.Ja,
|
|
12089
|
+
if (te = c, oA = u, lA = B, MA = hA.gb[0], kA = hA.Ja, ce = hA.xa, Ae = oA[0], DA = !t(te, Ae, "VP8 "), Be = !t(te, Ae, "VP8L"), e(te != null), e(lA != null), e(kA != null), e(ce != null), 8 > lA[0])
|
|
12090
12090
|
oA = 7;
|
|
12091
12091
|
else {
|
|
12092
12092
|
if (DA || Be) {
|
|
@@ -12098,9 +12098,9 @@ function hd(A) {
|
|
|
12098
12098
|
oA = 7;
|
|
12099
12099
|
break A;
|
|
12100
12100
|
}
|
|
12101
|
-
kA[0] = te, oA[0] += 8, lA[0] -= 8,
|
|
12101
|
+
kA[0] = te, oA[0] += 8, lA[0] -= 8, ce[0] = Be;
|
|
12102
12102
|
} else
|
|
12103
|
-
|
|
12103
|
+
ce[0] = 5 <= lA[0] && te[Ae + 0] == 47 && !(te[Ae + 4] >> 5), kA[0] = lA[0];
|
|
12104
12104
|
oA = 0;
|
|
12105
12105
|
}
|
|
12106
12106
|
if (B = B[0], hA.Ja = hA.Ja[0], hA.xa = hA.xa[0], u = u[0], oA != 0)
|
|
@@ -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-1f7c13c2.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;
|
|
@@ -15078,9 +15078,9 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15078
15078
|
));
|
|
15079
15079
|
var qA = I.slice(0, G);
|
|
15080
15080
|
g(bA, R);
|
|
15081
|
-
var
|
|
15082
|
-
if (R === 3 &&
|
|
15083
|
-
throw new Error("# Directory Sectors: Expected 0 saw " +
|
|
15081
|
+
var ae = bA.read_shift(4, "i");
|
|
15082
|
+
if (R === 3 && ae !== 0)
|
|
15083
|
+
throw new Error("# Directory Sectors: Expected 0 saw " + ae);
|
|
15084
15084
|
bA.l += 4, BA = bA.read_shift(4, "i"), bA.l += 4, bA.chk("00100000", "Mini Stream Cutoff Size: "), UA = bA.read_shift(4, "i"), X = bA.read_shift(4, "i"), wA = bA.read_shift(4, "i"), Y = bA.read_shift(4, "i");
|
|
15085
15085
|
for (var WA = -1, ne = 0; ne < 109 && (WA = bA.read_shift(4, "i"), !(WA < 0)); ++ne)
|
|
15086
15086
|
FA[ne] = WA;
|
|
@@ -15177,7 +15177,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15177
15177
|
return { nodes: Y, data: Td([BA]) };
|
|
15178
15178
|
}
|
|
15179
15179
|
function F(I, z, R, G) {
|
|
15180
|
-
var X = I.length, Y = [], BA = [], UA = [], wA = [], FA = G - 1, bA = 0, VA = 0, qA = 0,
|
|
15180
|
+
var X = I.length, Y = [], BA = [], UA = [], wA = [], FA = G - 1, bA = 0, VA = 0, qA = 0, ae = 0;
|
|
15181
15181
|
for (bA = 0; bA < X; ++bA)
|
|
15182
15182
|
if (UA = [], qA = bA + z, qA >= X && (qA -= X), !BA[qA]) {
|
|
15183
15183
|
wA = [];
|
|
@@ -15185,9 +15185,9 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15185
15185
|
for (VA = qA; VA >= 0; ) {
|
|
15186
15186
|
WA[VA] = !0, BA[VA] = !0, UA[UA.length] = VA, wA.push(I[VA]);
|
|
15187
15187
|
var ne = R[Math.floor(VA * 4 / G)];
|
|
15188
|
-
if (
|
|
15188
|
+
if (ae = VA * 4 & FA, G < 4 + ae)
|
|
15189
15189
|
throw new Error("FAT boundary crossed: " + VA + " 4 " + G);
|
|
15190
|
-
if (!I[ne] || (VA = Ca(I[ne],
|
|
15190
|
+
if (!I[ne] || (VA = Ca(I[ne], ae), WA[VA]))
|
|
15191
15191
|
break;
|
|
15192
15192
|
}
|
|
15193
15193
|
Y[qA] = { nodes: UA, data: Td([wA]) };
|
|
@@ -15195,14 +15195,14 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15195
15195
|
return Y;
|
|
15196
15196
|
}
|
|
15197
15197
|
function N(I, z, R, G, X, Y, BA, UA) {
|
|
15198
|
-
for (var wA = 0, FA = G.length ? 2 : 0, bA = z[I].data, VA = 0, qA = 0,
|
|
15198
|
+
for (var wA = 0, FA = G.length ? 2 : 0, bA = z[I].data, VA = 0, qA = 0, ae; VA < bA.length; VA += 128) {
|
|
15199
15199
|
var WA = (
|
|
15200
15200
|
/*::(*/
|
|
15201
15201
|
bA.slice(VA, VA + 128)
|
|
15202
15202
|
);
|
|
15203
|
-
Yr(WA, 64), qA = WA.read_shift(2),
|
|
15203
|
+
Yr(WA, 64), qA = WA.read_shift(2), ae = Ah(WA, 0, qA - FA), G.push(ae);
|
|
15204
15204
|
var ne = {
|
|
15205
|
-
name:
|
|
15205
|
+
name: ae,
|
|
15206
15206
|
type: WA.read_shift(1),
|
|
15207
15207
|
color: WA.read_shift(1),
|
|
15208
15208
|
L: WA.read_shift(4, "i"),
|
|
@@ -15215,7 +15215,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15215
15215
|
}, ye = WA.read_shift(2) + WA.read_shift(2) + WA.read_shift(2) + WA.read_shift(2);
|
|
15216
15216
|
ye !== 0 && (ne.ct = M(WA, WA.l - 8));
|
|
15217
15217
|
var ze = WA.read_shift(2) + WA.read_shift(2) + WA.read_shift(2) + WA.read_shift(2);
|
|
15218
|
-
ze !== 0 && (ne.mt = M(WA, WA.l - 8)), ne.start = WA.read_shift(4, "i"), ne.size = WA.read_shift(4, "i"), ne.size < 0 && ne.start < 0 && (ne.size = ne.type = 0, ne.start = K, ne.name = ""), ne.type === 5 ? (wA = ne.start, X > 0 && wA !== K && (z[wA].name = "!StreamData")) : ne.size >= 4096 ? (ne.storage = "fat", z[ne.start] === void 0 && (z[ne.start] = y(R, ne.start, z.fat_addrs, z.ssz)), z[ne.start].name = ne.name, ne.content = z[ne.start].data.slice(0, ne.size)) : (ne.storage = "minifat", ne.size < 0 ? ne.size = 0 : wA !== K && ne.start !== K && z[wA] && (ne.content = w(ne, z[wA].data, (z[UA] || {}).data))), ne.content && Yr(ne.content, 0), Y[
|
|
15218
|
+
ze !== 0 && (ne.mt = M(WA, WA.l - 8)), ne.start = WA.read_shift(4, "i"), ne.size = WA.read_shift(4, "i"), ne.size < 0 && ne.start < 0 && (ne.size = ne.type = 0, ne.start = K, ne.name = ""), ne.type === 5 ? (wA = ne.start, X > 0 && wA !== K && (z[wA].name = "!StreamData")) : ne.size >= 4096 ? (ne.storage = "fat", z[ne.start] === void 0 && (z[ne.start] = y(R, ne.start, z.fat_addrs, z.ssz)), z[ne.start].name = ne.name, ne.content = z[ne.start].data.slice(0, ne.size)) : (ne.storage = "minifat", ne.size < 0 ? ne.size = 0 : wA !== K && ne.start !== K && z[wA] && (ne.content = w(ne, z[wA].data, (z[UA] || {}).data))), ne.content && Yr(ne.content, 0), Y[ae] = ne, BA.push(ne);
|
|
15219
15219
|
}
|
|
15220
15220
|
}
|
|
15221
15221
|
function M(I, z) {
|
|
@@ -15286,8 +15286,8 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15286
15286
|
content: null
|
|
15287
15287
|
}]), wA[bA] = !0);
|
|
15288
15288
|
}
|
|
15289
|
-
for (FA.sort(function(
|
|
15290
|
-
return t(
|
|
15289
|
+
for (FA.sort(function(ae, WA) {
|
|
15290
|
+
return t(ae[0], WA[0]);
|
|
15291
15291
|
}), I.FullPaths = [], I.FileIndex = [], X = 0; X < FA.length; ++X)
|
|
15292
15292
|
I.FullPaths[X] = FA[X][0], I.FileIndex[X] = FA[X][1];
|
|
15293
15293
|
for (X = 0; X < FA.length; ++X) {
|
|
@@ -15313,18 +15313,18 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15313
15313
|
case "zip":
|
|
15314
15314
|
return pn(I, R);
|
|
15315
15315
|
}
|
|
15316
|
-
var G = function(
|
|
15317
|
-
for (var WA = 0, ne = 0, ye = 0; ye <
|
|
15318
|
-
var ze =
|
|
15316
|
+
var G = function(ae) {
|
|
15317
|
+
for (var WA = 0, ne = 0, ye = 0; ye < ae.FileIndex.length; ++ye) {
|
|
15318
|
+
var ze = ae.FileIndex[ye];
|
|
15319
15319
|
if (ze.content) {
|
|
15320
15320
|
var rt = ze.content.length;
|
|
15321
15321
|
rt > 0 && (rt < 4096 ? WA += rt + 63 >> 6 : ne += rt + 511 >> 9);
|
|
15322
15322
|
}
|
|
15323
15323
|
}
|
|
15324
|
-
for (var Nt =
|
|
15324
|
+
for (var Nt = ae.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
15325
|
Kn = ++Bn <= 109 ? 0 : Math.ceil((Bn - 109) / 127);
|
|
15326
15326
|
var Vr = [1, Kn, Bn, ni, Nt, ne, WA, 0];
|
|
15327
|
-
return
|
|
15327
|
+
return ae.FileIndex[0].size = WA << 6, Vr[7] = (ae.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
|
{
|
|
15330
15330
|
for (Y = 0; Y < 8; ++Y)
|
|
@@ -15342,10 +15342,10 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15342
15342
|
X.write_shift(-4, Y < G[2] ? G[1] + Y : -1);
|
|
15343
15343
|
X.write_shift(-4, BA === G[1] - 1 ? K : BA + 1);
|
|
15344
15344
|
}
|
|
15345
|
-
var UA = function(
|
|
15346
|
-
for (BA +=
|
|
15345
|
+
var UA = function(ae) {
|
|
15346
|
+
for (BA += ae; Y < BA - 1; ++Y)
|
|
15347
15347
|
X.write_shift(-4, Y + 1);
|
|
15348
|
-
|
|
15348
|
+
ae && (++Y, X.write_shift(-4, K));
|
|
15349
15349
|
};
|
|
15350
15350
|
for (BA = Y = 0, BA += G[1]; Y < BA; ++Y)
|
|
15351
15351
|
X.write_shift(-4, vA.DIFSECT);
|
|
@@ -15519,7 +15519,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15519
15519
|
var R = z & 7, G = z >>> 3;
|
|
15520
15520
|
return (I[G] | (R <= 1 ? 0 : I[G + 1] << 8)) >>> R & 127;
|
|
15521
15521
|
}
|
|
15522
|
-
function
|
|
15522
|
+
function se(I, z, R) {
|
|
15523
15523
|
var G = z & 7, X = z >>> 3, Y = (1 << R) - 1, BA = I[X] >>> G;
|
|
15524
15524
|
return R < 8 - G || (BA |= I[X + 1] << 8 - G, R < 16 - G) || (BA |= I[X + 2] << 16 - G, R < 24 - G) || (BA |= I[X + 3] << 24 - G), BA & Y;
|
|
15525
15525
|
}
|
|
@@ -15641,11 +15641,11 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15641
15641
|
continue;
|
|
15642
15642
|
}
|
|
15643
15643
|
FA = KA(wA, FA, +(bA + qA == UA.length) + 2);
|
|
15644
|
-
for (var
|
|
15644
|
+
for (var ae = 0; qA-- > 0; ) {
|
|
15645
15645
|
var WA = UA[bA];
|
|
15646
|
-
|
|
15646
|
+
ae = (ae << 5 ^ WA) & 32767;
|
|
15647
15647
|
var ne = -1, ye = 0;
|
|
15648
|
-
if ((ne = VA[
|
|
15648
|
+
if ((ne = VA[ae]) && (ne |= bA & -32768, ne > bA && (ne -= 32768), ne < bA))
|
|
15649
15649
|
for (; UA[ne + ye] == UA[bA + ye] && ye < 250; )
|
|
15650
15650
|
++ye;
|
|
15651
15651
|
if (ye > 2) {
|
|
@@ -15655,10 +15655,10 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15655
15655
|
var rt = WA < 4 ? 0 : WA - 2 >> 1;
|
|
15656
15656
|
rt > 0 && (ee(wA, FA, bA - ne - rA[WA]), FA += rt);
|
|
15657
15657
|
for (var Nt = 0; Nt < ye; ++Nt)
|
|
15658
|
-
VA[
|
|
15658
|
+
VA[ae] = bA & 32767, ae = (ae << 5 ^ UA[bA]) & 32767, ++bA;
|
|
15659
15659
|
qA -= ye - 1;
|
|
15660
15660
|
} else
|
|
15661
|
-
WA <= 143 ? WA = WA + 48 : FA = XA(wA, FA, 1), FA = $A(wA, FA, CA[WA]), VA[
|
|
15661
|
+
WA <= 143 ? WA = WA + 48 : FA = XA(wA, FA, 1), FA = $A(wA, FA, CA[WA]), VA[ae] = bA & 32767, ++bA;
|
|
15662
15662
|
}
|
|
15663
15663
|
FA = $A(wA, FA, 0) - 1;
|
|
15664
15664
|
}
|
|
@@ -15682,24 +15682,24 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15682
15682
|
z += 4;
|
|
15683
15683
|
for (var Y = 0, BA = iA ? new Uint8Array(19) : ge(19), UA = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], wA = 1, FA = iA ? new Uint8Array(8) : ge(8), bA = iA ? new Uint8Array(8) : ge(8), VA = BA.length, qA = 0; qA < X; ++qA)
|
|
15684
15684
|
BA[T[qA]] = Y = ZA(I, z), wA < Y && (wA = Y), FA[Y]++, z += 3;
|
|
15685
|
-
var
|
|
15685
|
+
var ae = 0;
|
|
15686
15686
|
for (FA[0] = 0, qA = 1; qA <= wA; ++qA)
|
|
15687
|
-
bA[qA] =
|
|
15687
|
+
bA[qA] = ae = ae + FA[qA - 1] << 1;
|
|
15688
15688
|
for (qA = 0; qA < VA; ++qA)
|
|
15689
|
-
(
|
|
15689
|
+
(ae = BA[qA]) != 0 && (UA[qA] = bA[ae]++);
|
|
15690
15690
|
var WA = 0;
|
|
15691
15691
|
for (qA = 0; qA < VA; ++qA)
|
|
15692
15692
|
if (WA = BA[qA], WA != 0) {
|
|
15693
|
-
|
|
15693
|
+
ae = CA[UA[qA]] >> 8 - WA;
|
|
15694
15694
|
for (var ne = (1 << 7 - WA) - 1; ne >= 0; --ne)
|
|
15695
|
-
Pe[
|
|
15695
|
+
Pe[ae | ne << WA] = WA & 7 | qA << 3;
|
|
15696
15696
|
}
|
|
15697
15697
|
var ye = [];
|
|
15698
15698
|
for (wA = 1; ye.length < R + G; )
|
|
15699
|
-
switch (
|
|
15699
|
+
switch (ae = Pe[HA(I, z)], z += ae & 7, ae >>>= 3) {
|
|
15700
15700
|
case 16:
|
|
15701
|
-
for (Y = 3 + zA(I, z), z += 2,
|
|
15702
|
-
ye.push(
|
|
15701
|
+
for (Y = 3 + zA(I, z), z += 2, ae = ye[ye.length - 1]; Y-- > 0; )
|
|
15702
|
+
ye.push(ae);
|
|
15703
15703
|
break;
|
|
15704
15704
|
case 17:
|
|
15705
15705
|
for (Y = 3 + ZA(I, z), z += 3; Y-- > 0; )
|
|
@@ -15710,7 +15710,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15710
15710
|
ye.push(0);
|
|
15711
15711
|
break;
|
|
15712
15712
|
default:
|
|
15713
|
-
ye.push(
|
|
15713
|
+
ye.push(ae), wA < ae && (wA = ae);
|
|
15714
15714
|
break;
|
|
15715
15715
|
}
|
|
15716
15716
|
var ze = ye.slice(0, R), rt = ye.slice(R);
|
|
@@ -15736,7 +15736,7 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15736
15736
|
}
|
|
15737
15737
|
for (; ; ) {
|
|
15738
15738
|
!z && BA < Y + 32767 && (X = de(X, Y + 32767), BA = X.length);
|
|
15739
|
-
var bA =
|
|
15739
|
+
var bA = se(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;
|
|
15742
15742
|
else {
|
|
@@ -15745,10 +15745,10 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15745
15745
|
VA -= 257;
|
|
15746
15746
|
var qA = VA < 8 ? 0 : VA - 4 >> 2;
|
|
15747
15747
|
qA > 5 && (qA = 0);
|
|
15748
|
-
var
|
|
15749
|
-
qA > 0 && (
|
|
15748
|
+
var ae = Y + j[VA];
|
|
15749
|
+
qA > 0 && (ae += se(I, R, qA), R += qA), bA = se(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 +=
|
|
15751
|
+
for (WA > 0 && (ne += se(I, R, WA), R += WA), !z && BA < ae && (X = de(X, ae + 100), BA = X.length); Y < ae; )
|
|
15752
15752
|
X[Y] = X[Y - ne], ++Y;
|
|
15753
15753
|
}
|
|
15754
15754
|
}
|
|
@@ -15784,14 +15784,14 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15784
15784
|
var wA = R.read_shift(4);
|
|
15785
15785
|
for (R.l = wA, BA = 0; BA < UA; ++BA) {
|
|
15786
15786
|
R.l += 20;
|
|
15787
|
-
var FA = R.read_shift(4), bA = R.read_shift(4), VA = R.read_shift(2), qA = R.read_shift(2),
|
|
15787
|
+
var FA = R.read_shift(4), bA = R.read_shift(4), VA = R.read_shift(2), qA = R.read_shift(2), ae = R.read_shift(2);
|
|
15788
15788
|
R.l += 8;
|
|
15789
15789
|
var WA = R.read_shift(4), ne = s(
|
|
15790
15790
|
/*::(*/
|
|
15791
15791
|
R.slice(R.l + VA, R.l + VA + qA)
|
|
15792
15792
|
/*:: :any)*/
|
|
15793
15793
|
);
|
|
15794
|
-
R.l += VA + qA +
|
|
15794
|
+
R.l += VA + qA + ae;
|
|
15795
15795
|
var ye = R.l;
|
|
15796
15796
|
R.l = WA + 4, Rr(R, FA, bA, Y, ne), R.l = ye;
|
|
15797
15797
|
}
|
|
@@ -15802,8 +15802,8 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15802
15802
|
var Y = I.read_shift(2), BA = I.read_shift(2), UA = a(I);
|
|
15803
15803
|
if (Y & 8257)
|
|
15804
15804
|
throw new Error("Unsupported ZIP encryption");
|
|
15805
|
-
for (var wA = I.read_shift(4), FA = I.read_shift(4), bA = I.read_shift(4), VA = I.read_shift(2), qA = I.read_shift(2),
|
|
15806
|
-
|
|
15805
|
+
for (var wA = I.read_shift(4), FA = I.read_shift(4), bA = I.read_shift(4), VA = I.read_shift(2), qA = I.read_shift(2), ae = "", WA = 0; WA < VA; ++WA)
|
|
15806
|
+
ae += String.fromCharCode(I[I.l++]);
|
|
15807
15807
|
if (qA) {
|
|
15808
15808
|
var ne = s(
|
|
15809
15809
|
/*::(*/
|
|
@@ -15824,15 +15824,15 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15824
15824
|
throw new Error("Unsupported ZIP Compression method " + BA);
|
|
15825
15825
|
}
|
|
15826
15826
|
var ze = !1;
|
|
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,
|
|
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, ae, ye, { unsafe: !0, mt: UA });
|
|
15828
15828
|
}
|
|
15829
15829
|
function pn(I, z) {
|
|
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],
|
|
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], ae = qA, WA = I.FileIndex[0], ne = [], ye = 0;
|
|
15831
15831
|
for (wA = 1; wA < I.FullPaths.length; ++wA)
|
|
15832
|
-
if (
|
|
15833
|
-
var ze = bA, rt = LA(
|
|
15834
|
-
for (FA = 0; FA <
|
|
15835
|
-
rt.write_shift(1,
|
|
15832
|
+
if (ae = I.FullPaths[wA].slice(qA.length), WA = I.FileIndex[wA], !(!WA.size || !WA.content || ae == "Sh33tJ5")) {
|
|
15833
|
+
var ze = bA, rt = LA(ae.length);
|
|
15834
|
+
for (FA = 0; FA < ae.length; ++FA)
|
|
15835
|
+
rt.write_shift(1, ae.charCodeAt(FA) & 127);
|
|
15836
15836
|
rt = rt.slice(0, rt.l), ne[VA] = KC.buf(
|
|
15837
15837
|
/*::((*/
|
|
15838
15838
|
WA.content,
|
|
@@ -15961,8 +15961,8 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15961
15961
|
H(bA);
|
|
15962
15962
|
var VA, qA = 0;
|
|
15963
15963
|
for (X = 0; X < G.length; ++X) {
|
|
15964
|
-
var
|
|
15965
|
-
|
|
15964
|
+
var ae = G[X];
|
|
15965
|
+
ae !== UA && ae !== UA + "--" || (qA++ && en(bA, G.slice(VA, X), R), VA = X);
|
|
15966
15966
|
}
|
|
15967
15967
|
return bA;
|
|
15968
15968
|
}
|
|
@@ -15982,8 +15982,8 @@ var KC = /* @__PURE__ */ function() {
|
|
|
15982
15982
|
}).replace(/[\u0080-\uFFFF]/g, function(ye) {
|
|
15983
15983
|
return "_u" + ye.charCodeAt(0).toString(16) + "_";
|
|
15984
15984
|
});
|
|
15985
|
-
for (var FA = UA.content, bA = We && Buffer.isBuffer(FA) ? FA.toString("binary") : EA(FA), VA = 0, qA = Math.min(1024, bA.length),
|
|
15986
|
-
(
|
|
15985
|
+
for (var FA = UA.content, bA = We && Buffer.isBuffer(FA) ? FA.toString("binary") : EA(FA), VA = 0, qA = Math.min(1024, bA.length), ae = 0, WA = 0; WA <= qA; ++WA)
|
|
15986
|
+
(ae = bA.charCodeAt(WA)) >= 32 && ae < 128 && ++VA;
|
|
15987
15987
|
var ne = VA >= qA * 4 / 5;
|
|
15988
15988
|
X.push(G), X.push("Content-Location: " + (R.root || "file:///C:/SheetJS/") + BA), X.push("Content-Transfer-Encoding: " + (ne ? "quoted-printable" : "base64")), X.push("Content-Type: " + be(UA, BA)), X.push(""), X.push(ne ? ri(bA) : Ve(bA));
|
|
15989
15989
|
}
|
|
@@ -19340,7 +19340,7 @@ var xF = /* @__PURE__ */ function() {
|
|
|
19340
19340
|
if (m[2] == 0 && (m[3] == 8 || m[3] == 9) && m.length >= 16 && m[14] == 5 && m[15] === 108)
|
|
19341
19341
|
throw new Error("Unsupported Works 3 for Mac file");
|
|
19342
19342
|
if (m[2] == 2)
|
|
19343
|
-
b.Enum = _A, A(m, function(HA,
|
|
19343
|
+
b.Enum = _A, A(m, function(HA, se, KA) {
|
|
19344
19344
|
switch (KA) {
|
|
19345
19345
|
case 0:
|
|
19346
19346
|
b.vers = HA, HA >= 4096 && (b.qpro = !0);
|
|
@@ -19371,7 +19371,7 @@ var xF = /* @__PURE__ */ function() {
|
|
|
19371
19371
|
}
|
|
19372
19372
|
}, b);
|
|
19373
19373
|
else if (m[2] == 26 || m[2] == 14)
|
|
19374
|
-
b.Enum = jA, m[2] == 14 && (b.qpro = !0, m.l = 0), A(m, function(HA,
|
|
19374
|
+
b.Enum = jA, m[2] == 14 && (b.qpro = !0, m.l = 0), A(m, function(HA, se, KA) {
|
|
19375
19375
|
switch (KA) {
|
|
19376
19376
|
case 204:
|
|
19377
19377
|
j = HA;
|
|
@@ -19439,12 +19439,12 @@ var xF = /* @__PURE__ */ function() {
|
|
|
19439
19439
|
for (var CA = wt(iA["!ref"]), NA = Array.isArray(iA), RA = [], zA = Math.min(CA.e.r, 8191), ZA = CA.s.r; ZA <= zA; ++ZA)
|
|
19440
19440
|
for (var SA = or(ZA), Z = CA.s.c; Z <= CA.e.c; ++Z) {
|
|
19441
19441
|
ZA === CA.s.r && (RA[Z] = mr(Z));
|
|
19442
|
-
var HA = RA[Z] + SA,
|
|
19443
|
-
if (!(!
|
|
19444
|
-
if (
|
|
19445
|
-
JA(T, 23, tA(ZA, Z, sA,
|
|
19442
|
+
var HA = RA[Z] + SA, se = NA ? (iA[ZA] || [])[Z] : iA[HA];
|
|
19443
|
+
if (!(!se || se.t == "z"))
|
|
19444
|
+
if (se.t == "n")
|
|
19445
|
+
JA(T, 23, tA(ZA, Z, sA, se.v));
|
|
19446
19446
|
else {
|
|
19447
|
-
var KA = bi(
|
|
19447
|
+
var KA = bi(se);
|
|
19448
19448
|
JA(T, 22, H(ZA, Z, sA, KA.slice(0, 239)));
|
|
19449
19449
|
}
|
|
19450
19450
|
}
|
|
@@ -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: ie(`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: ie(`font-family:${i.chartConfig.chart.fontFamily}`)
|
|
30348
30348
|
}, [
|
|
30349
30349
|
yA("div", {
|
|
30350
30350
|
class: "vue-ui-xy-title-main",
|
|
30351
|
-
style:
|
|
30351
|
+
style: ie(`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:
|
|
30357
|
-
}, IA(i.chartConfig.chart.title.subtitle.text), 5)) :
|
|
30358
|
-
], 4)) :
|
|
30356
|
+
style: ie(`font-size:${i.chartConfig.chart.title.subtitle.fontSize}px; color:${i.chartConfig.chart.title.subtitle.color}`)
|
|
30357
|
+
}, IA(i.chartConfig.chart.title.subtitle.text), 5)) : fe("", !0)
|
|
30358
|
+
], 4)) : fe("", !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: ie(`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: ie(`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: ie(`background:${i.chartConfig.chart.backgroundColor};color:${i.chartConfig.chart.color}`)
|
|
30372
30372
|
}, [
|
|
30373
30373
|
yA("div", eU, [
|
|
30374
30374
|
Yn(yA("input", {
|
|
@@ -30427,12 +30427,12 @@ function u6(A, e, t, r, n, i) {
|
|
|
30427
30427
|
onClick: e[5] || (e[5] = (...a) => i.generateXls && i.generateXls(...a))
|
|
30428
30428
|
}, " XLSX ")
|
|
30429
30429
|
], 4)
|
|
30430
|
-
], 4)) :
|
|
30430
|
+
], 4)) : fe("", !0),
|
|
30431
30431
|
(fA(), uA("svg", {
|
|
30432
30432
|
width: "100%",
|
|
30433
30433
|
viewBox: i.viewBox,
|
|
30434
30434
|
class: "vue-ui-xy-svg",
|
|
30435
|
-
style:
|
|
30435
|
+
style: ie(`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, [
|
|
@@ -30464,7 +30464,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30464
30464
|
"stroke-width": "0.5",
|
|
30465
30465
|
stroke: i.chartConfig.chart.grid.stroke
|
|
30466
30466
|
}, null, 8, vU))), 128))
|
|
30467
|
-
])) :
|
|
30467
|
+
])) : fe("", !0)
|
|
30468
30468
|
]),
|
|
30469
30469
|
(fA(!0), uA(ve, null, Te(i.barSet, (a, s) => (fA(), uA("defs", {
|
|
30470
30470
|
key: `def_rect_${s}`
|
|
@@ -30562,7 +30562,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30562
30562
|
height: i.calcRectHeight(o),
|
|
30563
30563
|
width: i.calcRectWidth(),
|
|
30564
30564
|
fill: i.chartConfig.bar.useGradient ? o.value >= 0 ? `url(#rectGradient_pos_${s}_${n.uniqueId})` : `url(#rectGradient_neg_${s}_${n.uniqueId})` : a.color
|
|
30565
|
-
}, null, 8, NU)) :
|
|
30565
|
+
}, null, 8, NU)) : fe("", !0)
|
|
30566
30566
|
]))), 128))
|
|
30567
30567
|
], 2))), 128)),
|
|
30568
30568
|
(fA(!0), uA(ve, null, Te(i.plotSet, (a, s) => (fA(), uA("g", {
|
|
@@ -30580,7 +30580,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30580
30580
|
fill: i.chartConfig.plot.useGradient ? `url(#plotGradient_${s}_${n.uniqueId})` : a.color,
|
|
30581
30581
|
stroke: i.chartConfig.chart.backgroundColor,
|
|
30582
30582
|
"stroke-width": "0.5"
|
|
30583
|
-
}, null, 8, DU)) :
|
|
30583
|
+
}, null, 8, DU)) : fe("", !0)
|
|
30584
30584
|
]))), 128))
|
|
30585
30585
|
], 2))), 128)),
|
|
30586
30586
|
(fA(!0), uA(ve, null, Te(i.lineSet, (a, s) => (fA(), uA("g", {
|
|
@@ -30598,7 +30598,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30598
30598
|
y2: a.plots[l + 1].y,
|
|
30599
30599
|
stroke: a.color,
|
|
30600
30600
|
"stroke-width": i.chartConfig.line.strokeWidth
|
|
30601
|
-
}, null, 8, kU)) :
|
|
30601
|
+
}, null, 8, kU)) : fe("", !0)
|
|
30602
30602
|
]))), 128)),
|
|
30603
30603
|
(fA(!0), uA(ve, null, Te(a.plots, (o, l) => (fA(), uA("g", {
|
|
30604
30604
|
key: `circle_line_${s}_${l}`
|
|
@@ -30611,7 +30611,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30611
30611
|
fill: i.chartConfig.line.useGradient ? `url(#lineGradient_${s}_${n.uniqueId})` : a.color,
|
|
30612
30612
|
stroke: i.chartConfig.chart.backgroundColor,
|
|
30613
30613
|
"stroke-width": "0.5"
|
|
30614
|
-
}, null, 8, OU)) :
|
|
30614
|
+
}, null, 8, OU)) : fe("", !0)
|
|
30615
30615
|
]))), 128))
|
|
30616
30616
|
], 2))), 128)),
|
|
30617
30617
|
i.chartConfig.bar.labels.show && n.mutableConfig.dataLabels.show ? (fA(), uA("g", HU, [
|
|
@@ -30631,7 +30631,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30631
30631
|
}, IA(i.canShowValue(o.value) ? o.value.toFixed(i.chartConfig.bar.labels.rounding) : ""), 9, PU)
|
|
30632
30632
|
]))), 128))
|
|
30633
30633
|
], 2))), 128))
|
|
30634
|
-
])) :
|
|
30634
|
+
])) : fe("", !0),
|
|
30635
30635
|
i.chartConfig.plot.labels.show && n.mutableConfig.dataLabels.show ? (fA(), uA("g", MU, [
|
|
30636
30636
|
(fA(!0), uA(ve, null, Te(i.plotSet, (a, s) => (fA(), uA("g", {
|
|
30637
30637
|
key: `xLabel_plot_${s}`,
|
|
@@ -30649,7 +30649,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30649
30649
|
}, IA(i.canShowValue(o.value) ? o.value.toFixed(i.chartConfig.plot.labels.rounding) : ""), 9, RU)
|
|
30650
30650
|
]))), 128))
|
|
30651
30651
|
], 2))), 128))
|
|
30652
|
-
])) :
|
|
30652
|
+
])) : fe("", !0),
|
|
30653
30653
|
i.chartConfig.line.labels.show && n.mutableConfig.dataLabels.show ? (fA(), uA("g", KU, [
|
|
30654
30654
|
(fA(!0), uA(ve, null, Te(i.lineSet, (a, s) => (fA(), uA("g", {
|
|
30655
30655
|
key: `xLabel_line_${s}`,
|
|
@@ -30667,7 +30667,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30667
30667
|
}, IA(i.canShowValue(o.value) ? o.value.toFixed(i.chartConfig.line.labels.rounding) : ""), 9, VU)
|
|
30668
30668
|
]))), 128))
|
|
30669
30669
|
], 2))), 128))
|
|
30670
|
-
])) :
|
|
30670
|
+
])) : fe("", !0),
|
|
30671
30671
|
i.chartConfig.chart.grid.labels.show ? (fA(), uA("g", GU, [
|
|
30672
30672
|
(fA(!0), uA(ve, null, Te(i.yLabels, (a, s) => (fA(), uA("g", {
|
|
30673
30673
|
key: `yLabel_${s}`
|
|
@@ -30680,7 +30680,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30680
30680
|
y2: a.y,
|
|
30681
30681
|
stroke: i.chartConfig.chart.grid.stroke,
|
|
30682
30682
|
"stroke-width": "1"
|
|
30683
|
-
}, null, 8, jU)) :
|
|
30683
|
+
}, null, 8, jU)) : fe("", !0),
|
|
30684
30684
|
a.value >= i.min && a.value <= i.max ? (fA(), uA("text", {
|
|
30685
30685
|
key: 1,
|
|
30686
30686
|
x: i.drawingArea.left - 5,
|
|
@@ -30688,9 +30688,9 @@ function u6(A, e, t, r, n, i) {
|
|
|
30688
30688
|
"font-size": i.chartConfig.chart.grid.labels.fontSize,
|
|
30689
30689
|
"text-anchor": "end",
|
|
30690
30690
|
fill: i.chartConfig.chart.grid.labels.color
|
|
30691
|
-
}, IA(i.canShowValue(a.value) ? a.value.toFixed(0) : ""), 9, WU)) :
|
|
30691
|
+
}, IA(i.canShowValue(a.value) ? a.value.toFixed(0) : ""), 9, WU)) : fe("", !0)
|
|
30692
30692
|
]))), 128))
|
|
30693
|
-
])) :
|
|
30693
|
+
])) : fe("", !0),
|
|
30694
30694
|
yA("g", null, [
|
|
30695
30695
|
i.chartConfig.chart.grid.labels.axis.yLabel ? (fA(), uA("text", {
|
|
30696
30696
|
key: 0,
|
|
@@ -30699,7 +30699,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30699
30699
|
id: "yAxisLabel",
|
|
30700
30700
|
"text-anchor": "middle",
|
|
30701
30701
|
style: { transition: "none" }
|
|
30702
|
-
}, IA(i.chartConfig.chart.grid.labels.axis.yLabel), 9, XU)) :
|
|
30702
|
+
}, IA(i.chartConfig.chart.grid.labels.axis.yLabel), 9, XU)) : fe("", !0),
|
|
30703
30703
|
i.chartConfig.chart.grid.labels.axis.xLabel ? (fA(), uA("text", {
|
|
30704
30704
|
key: 1,
|
|
30705
30705
|
"text-anchor": "middle",
|
|
@@ -30707,33 +30707,33 @@ function u6(A, e, t, r, n, i) {
|
|
|
30707
30707
|
y: i.drawingArea.bottom + i.chartConfig.chart.grid.labels.axis.fontSize + i.chartConfig.chart.grid.labels.xAxisLabels.fontSize * 1.3,
|
|
30708
30708
|
"font-size": i.chartConfig.chart.grid.labels.axis.fontSize,
|
|
30709
30709
|
fill: i.chartConfig.chart.grid.labels.color
|
|
30710
|
-
}, IA(i.chartConfig.chart.grid.labels.axis.xLabel), 9, zU)) :
|
|
30710
|
+
}, IA(i.chartConfig.chart.grid.labels.axis.xLabel), 9, zU)) : fe("", !0)
|
|
30711
30711
|
]),
|
|
30712
30712
|
i.chartConfig.chart.title.show && n.mutableConfig.titleInside && !n.isPrinting ? (fA(), uA("g", qU, [
|
|
30713
30713
|
(fA(), uA("foreignObject", YU, [
|
|
30714
30714
|
yA("div", {
|
|
30715
30715
|
class: "vue-ui-xy-title",
|
|
30716
|
-
style:
|
|
30716
|
+
style: ie(`font-family:${i.chartConfig.chart.fontFamily}`)
|
|
30717
30717
|
}, [
|
|
30718
30718
|
yA("div", {
|
|
30719
30719
|
class: "vue-ui-xy-title-main",
|
|
30720
|
-
style:
|
|
30720
|
+
style: ie(`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:
|
|
30726
|
-
}, IA(i.chartConfig.chart.title.subtitle.text), 5)) :
|
|
30725
|
+
style: ie(`font-size:${i.chartConfig.chart.title.subtitle.fontSize * 0.6}px; color:${i.chartConfig.chart.title.subtitle.color}`)
|
|
30726
|
+
}, IA(i.chartConfig.chart.title.subtitle.text), 5)) : fe("", !0)
|
|
30727
30727
|
], 4)
|
|
30728
30728
|
]))
|
|
30729
|
-
])) :
|
|
30729
|
+
])) : fe("", !0),
|
|
30730
30730
|
i.chartConfig.chart.legend.show && n.mutableConfig.legendInside && !n.isPrinting ? (fA(), uA("g", JU, [
|
|
30731
30731
|
(fA(), uA("foreignObject", {
|
|
30732
30732
|
x: "0",
|
|
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: ie(`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,23 +30743,23 @@ 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:
|
|
30747
|
-
}, "●", 4)) :
|
|
30746
|
+
style: ie(`color:${a.color}`)
|
|
30747
|
+
}, "●", 4)) : fe("", !0),
|
|
30748
30748
|
["line"].includes(a.type) ? (fA(), uA("span", {
|
|
30749
30749
|
key: 1,
|
|
30750
|
-
style:
|
|
30751
|
-
}, "▬", 4)) :
|
|
30750
|
+
style: ie(`color:${a.color}`)
|
|
30751
|
+
}, "▬", 4)) : fe("", !0),
|
|
30752
30752
|
["bar"].includes(a.type) ? (fA(), uA("span", {
|
|
30753
30753
|
key: 2,
|
|
30754
|
-
style:
|
|
30755
|
-
}, "◼", 4)) :
|
|
30754
|
+
style: ie(`color:${a.color}`)
|
|
30755
|
+
}, "◼", 4)) : fe("", !0),
|
|
30756
30756
|
yA("span", {
|
|
30757
|
-
style:
|
|
30757
|
+
style: ie(`color:${i.chartConfig.chart.legend.color}`)
|
|
30758
30758
|
}, IA(a.name), 5)
|
|
30759
30759
|
], 10, A6))), 128))
|
|
30760
30760
|
])
|
|
30761
30761
|
], 12, ZU))
|
|
30762
|
-
])) :
|
|
30762
|
+
])) : fe("", !0),
|
|
30763
30763
|
i.chartConfig.chart.grid.labels.xAxisLabels.show ? (fA(), uA("g", e6, [
|
|
30764
30764
|
(fA(!0), uA(ve, null, Te(i.maxSeries, (a, s) => (fA(), uA("text", {
|
|
30765
30765
|
key: `time_label_${s}`,
|
|
@@ -30769,7 +30769,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30769
30769
|
"font-size": i.chartConfig.chart.grid.labels.xAxisLabels.fontSize,
|
|
30770
30770
|
fill: i.chartConfig.chart.grid.labels.xAxisLabels.color
|
|
30771
30771
|
}, IA(i.chartConfig.chart.grid.labels.xAxisLabels.values[s] || ""), 9, t6))), 128))
|
|
30772
|
-
])) :
|
|
30772
|
+
])) : fe("", !0),
|
|
30773
30773
|
i.chartConfig.chart.tooltip.show ? (fA(), uA("g", r6, [
|
|
30774
30774
|
(fA(!0), uA(ve, null, Te(i.maxSeries, (a, s) => (fA(), uA("g", {
|
|
30775
30775
|
key: `tooltip_trap_${s}`
|
|
@@ -30784,12 +30784,12 @@ function u6(A, e, t, r, n, i) {
|
|
|
30784
30784
|
onMouseleave: e[6] || (e[6] = (o) => i.toggleTooltip(!1))
|
|
30785
30785
|
}, null, 40, n6)
|
|
30786
30786
|
]))), 128))
|
|
30787
|
-
])) :
|
|
30787
|
+
])) : fe("", !0)
|
|
30788
30788
|
], 12, dU)),
|
|
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: ie(`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,21 +30797,21 @@ 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: ie(`color:${a.color}`),
|
|
30801
30801
|
innerHTML: n.icons[a.type]
|
|
30802
30802
|
}, null, 12, a6),
|
|
30803
30803
|
yA("span", {
|
|
30804
|
-
style:
|
|
30804
|
+
style: ie(`color:${i.chartConfig.chart.legend.color}`)
|
|
30805
30805
|
}, IA(a.name), 5)
|
|
30806
30806
|
], 10, i6))), 128))
|
|
30807
|
-
], 4)) :
|
|
30807
|
+
], 4)) : fe("", !0),
|
|
30808
30808
|
i.chartConfig.chart.tooltip.show && n.isTooltip ? (fA(), uA("div", {
|
|
30809
30809
|
key: 3,
|
|
30810
30810
|
class: "vue-ui-xy-tooltip",
|
|
30811
30811
|
ref: "tooltip",
|
|
30812
|
-
style:
|
|
30812
|
+
style: ie(`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
|
-
}, null, 12, s6)) :
|
|
30814
|
+
}, null, 12, s6)) : fe("", !0),
|
|
30815
30815
|
i.chartConfig.showTable && n.mutableConfig.showTable ? (fA(), uA("div", {
|
|
30816
30816
|
key: 4,
|
|
30817
30817
|
class: it({ "vue-ui-xy-table-wrapper": !0, "vue-ui-xy-table-wrapper-printing": n.isPrinting }),
|
|
@@ -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: ie(`color:${a.color}; margin-right:3px`)
|
|
30830
30830
|
}, IA(n.icons[a.type]), 5),
|
|
30831
30831
|
wr(IA(a.label), 1)
|
|
30832
30832
|
])
|
|
@@ -30846,7 +30846,7 @@ function u6(A, e, t, r, n, i) {
|
|
|
30846
30846
|
], 42, f6))), 128))
|
|
30847
30847
|
])
|
|
30848
30848
|
])
|
|
30849
|
-
], 2)) :
|
|
30849
|
+
], 2)) : fe("", !0)
|
|
30850
30850
|
], 4);
|
|
30851
30851
|
}
|
|
30852
30852
|
const H8 = /* @__PURE__ */ nw($S, [["render", u6], ["__scopeId", "data-v-aa9b330f"]]);
|
|
@@ -30989,6 +30989,9 @@ const h6 = {
|
|
|
30989
30989
|
backgroundColor: "#E1E5E8",
|
|
30990
30990
|
color: "#2D353C",
|
|
30991
30991
|
opacityDisabled: 0.5
|
|
30992
|
+
},
|
|
30993
|
+
navigationIndicator: {
|
|
30994
|
+
backgroundColor: "#6376DD"
|
|
30992
30995
|
}
|
|
30993
30996
|
},
|
|
30994
30997
|
exportMenu: {
|
|
@@ -31007,7 +31010,17 @@ const h6 = {
|
|
|
31007
31010
|
chart: {
|
|
31008
31011
|
modal: {
|
|
31009
31012
|
backgroundColor: "#E1E5E8",
|
|
31010
|
-
color: "#2D353C"
|
|
31013
|
+
color: "#2D353C",
|
|
31014
|
+
buttons: {
|
|
31015
|
+
selected: {
|
|
31016
|
+
backgroundColor: "#6376DD",
|
|
31017
|
+
color: "#FFFFFF"
|
|
31018
|
+
},
|
|
31019
|
+
unselected: {
|
|
31020
|
+
backgroundColor: "#FFFFFF",
|
|
31021
|
+
color: "#2D353C"
|
|
31022
|
+
}
|
|
31023
|
+
}
|
|
31011
31024
|
},
|
|
31012
31025
|
layout: {
|
|
31013
31026
|
backgroundColor: "#FFFFFF",
|
|
@@ -31050,14 +31063,14 @@ const h6 = {
|
|
|
31050
31063
|
}
|
|
31051
31064
|
},
|
|
31052
31065
|
translations: {
|
|
31053
|
-
average: "
|
|
31066
|
+
average: "Average",
|
|
31054
31067
|
by: "by",
|
|
31055
31068
|
chooseCategoryColumn: "Choose category column",
|
|
31056
31069
|
exportAllButton: "XLSX all",
|
|
31057
31070
|
exportAllLabel: "Export all rows of your current filtered dataset",
|
|
31058
31071
|
exportPageButton: "XLSX page",
|
|
31059
31072
|
exportPageLabel: "Export rows of the current page",
|
|
31060
|
-
from: "
|
|
31073
|
+
from: "From",
|
|
31061
31074
|
inputPlaceholder: "Search...",
|
|
31062
31075
|
makeDonut: "Generate",
|
|
31063
31076
|
nb: "Nb",
|
|
@@ -31065,7 +31078,7 @@ const h6 = {
|
|
|
31065
31078
|
paginatorLabel: "Rows per page",
|
|
31066
31079
|
sizeWarning: "Displaying too many rows at a time can lead to slower performance",
|
|
31067
31080
|
sum: "Somme",
|
|
31068
|
-
to: "
|
|
31081
|
+
to: "To",
|
|
31069
31082
|
total: "Total",
|
|
31070
31083
|
totalRows: "Total rows"
|
|
31071
31084
|
},
|
|
@@ -31234,16 +31247,16 @@ Provide an array of objects of type:
|
|
|
31234
31247
|
chartData() {
|
|
31235
31248
|
if (!this.canChart)
|
|
31236
31249
|
return [];
|
|
31237
|
-
const A = 316, e = 512, t = this.currentSelectionSpan.rows.length, r = e / t, n = Math.max(...this.currentSelectionSpan.rows.map((
|
|
31238
|
-
x: r *
|
|
31239
|
-
y: (1 - (
|
|
31240
|
-
value:
|
|
31241
|
-
suffix:
|
|
31250
|
+
const A = 316, e = 512, t = this.currentSelectionSpan.rows.length, r = e / t, n = Math.max(...this.currentSelectionSpan.rows.map((g) => g.value)), i = Math.min(...this.currentSelectionSpan.rows.map((g) => g.value)), a = i >= 0 ? 0 : Math.abs(i), s = n + a, o = n < 0 && i < 0, l = this.dataset.header[this.currentSelectionSpan.col].isPercentage, f = this.currentSelectionSpan.rows.map((g, h) => ({
|
|
31251
|
+
x: r * h + r / 2,
|
|
31252
|
+
y: (1 - (g.value + a) / s) * A,
|
|
31253
|
+
value: l ? g.value * 100 : g.value,
|
|
31254
|
+
suffix: l ? "%" : this.dataset.header[this.currentSelectionSpan.col].suffix ? this.dataset.header[this.currentSelectionSpan.col].suffix : "",
|
|
31242
31255
|
prefix: this.dataset.header[this.currentSelectionSpan.col].prefix ? this.dataset.header[this.currentSelectionSpan.col].prefix : "",
|
|
31243
|
-
index:
|
|
31244
|
-
absoluteValue:
|
|
31245
|
-
}));
|
|
31246
|
-
return {
|
|
31256
|
+
index: g.index,
|
|
31257
|
+
absoluteValue: l ? Math.abs(g.value) * 100 : Math.abs(g.value)
|
|
31258
|
+
})), d = A - A * (a / s);
|
|
31259
|
+
return { isAllNegative: o, zero: d, plots: f, slot: r, progression: f.length >= 2 ? this.calcChartProgression(f) : !1 };
|
|
31247
31260
|
},
|
|
31248
31261
|
donutHollowLabels() {
|
|
31249
31262
|
return {
|
|
@@ -31767,7 +31780,7 @@ Provide an array of objects of type:
|
|
|
31767
31780
|
return isNaN(A) ? e : A;
|
|
31768
31781
|
}
|
|
31769
31782
|
}
|
|
31770
|
-
}, Pn = (A) => (eg("data-v-
|
|
31783
|
+
}, Pn = (A) => (eg("data-v-ff53107e"), 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 = {
|
|
31771
31784
|
key: 0,
|
|
31772
31785
|
style: { display: "flex", "align-items": "center", "justify-content": "flex-end" }
|
|
31773
31786
|
}, I6 = ["innerHTML"], N6 = {
|
|
@@ -31809,28 +31822,28 @@ Provide an array of objects of type:
|
|
|
31809
31822
|
}, 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 = {
|
|
31810
31823
|
style: { width: "100%", height: "fit-content", cursor: "move" },
|
|
31811
31824
|
ref: "chartModal"
|
|
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-
|
|
31825
|
+
}, 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-ff53107e><stop offset="0.2" stop-color="#6376DD" data-v-ff53107e></stop><stop offset="1" stop-color="#6376DD80" data-v-ff53107e></stop></linearGradient><linearGradient id="barGradientSelectedNeg" x2="0%" y2="100%" data-v-ff53107e><stop offset="0.2" stop-color="#6376DD80" data-v-ff53107e></stop><stop offset="1" stop-color="#6376DD" data-v-ff53107e></stop></linearGradient><linearGradient id="barGradient" x2="0%" y2="100%" data-v-ff53107e><stop offset="0.2" stop-color="#6376DDB3" data-v-ff53107e></stop><stop offset="1" stop-color="#6376DD66" data-v-ff53107e></stop></linearGradient><linearGradient id="barGradientNeg" x2="0%" y2="100%" data-v-ff53107e><stop offset="0.2" stop-color="#6376DD66" data-v-ff53107e></stop><stop offset="1" stop-color="#6376DDB3" data-v-ff53107e></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
31826
|
function k8(A, e, t, r, n, i) {
|
|
31814
31827
|
return fA(), uA("div", {
|
|
31815
31828
|
class: "vue-ui-table-main",
|
|
31816
|
-
style:
|
|
31829
|
+
style: ie(`font-family: ${i.tableConfig.fontFamily}`)
|
|
31817
31830
|
}, [
|
|
31818
31831
|
yA("div", d6, [
|
|
31819
31832
|
yA("button", {
|
|
31820
31833
|
onClick: e[0] || (e[0] = (a) => n.isExportRequest = !n.isExportRequest),
|
|
31821
31834
|
innerHTML: i.icons.export,
|
|
31822
|
-
style:
|
|
31835
|
+
style: ie(`background:${i.tableConfig.style.exportMenu.backgroundColor};color:${i.tableConfig.style.exportMenu.color}`)
|
|
31823
31836
|
}, null, 12, g6),
|
|
31824
31837
|
yA("div", {
|
|
31825
31838
|
class: "vue-ui-table-export-hub-dropdown",
|
|
31826
31839
|
"data-is-open": n.isExportRequest || "false",
|
|
31827
|
-
style:
|
|
31840
|
+
style: ie(`background:${i.tableConfig.style.exportMenu.backgroundColor};color:${i.tableConfig.style.exportMenu.color}`)
|
|
31828
31841
|
}, [
|
|
31829
31842
|
w6,
|
|
31830
31843
|
yA("button", {
|
|
31831
31844
|
class: "close-dropdown",
|
|
31832
31845
|
onClick: e[1] || (e[1] = (a) => n.isExportRequest = !1),
|
|
31833
|
-
style:
|
|
31846
|
+
style: ie(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
|
|
31834
31847
|
}, " ✖ ", 4),
|
|
31835
31848
|
yA("div", B6, [
|
|
31836
31849
|
yA("div", v6, [
|
|
@@ -31838,7 +31851,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
31838
31851
|
yA("button", {
|
|
31839
31852
|
id: "exportAll",
|
|
31840
31853
|
onClick: e[2] || (e[2] = (a) => i.createXls("all")),
|
|
31841
|
-
style:
|
|
31854
|
+
style: ie(`background:${i.tableConfig.style.exportMenu.buttons.backgroundColor};color:${i.tableConfig.style.exportMenu.buttons.color}`)
|
|
31842
31855
|
}, [
|
|
31843
31856
|
yA("div", {
|
|
31844
31857
|
innerHTML: i.icons.fileDownload
|
|
@@ -31851,7 +31864,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
31851
31864
|
yA("button", {
|
|
31852
31865
|
id: "exportPage",
|
|
31853
31866
|
onClick: e[3] || (e[3] = (a) => i.createXls("page")),
|
|
31854
|
-
style:
|
|
31867
|
+
style: ie(`background:${i.tableConfig.style.exportMenu.buttons.backgroundColor};color:${i.tableConfig.style.exportMenu.buttons.color}`)
|
|
31855
31868
|
}, [
|
|
31856
31869
|
yA("div", {
|
|
31857
31870
|
innerHTML: i.icons.fileDownload
|
|
@@ -31864,7 +31877,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
31864
31877
|
]),
|
|
31865
31878
|
yA("div", {
|
|
31866
31879
|
class: "vue-ui-table__wrapper",
|
|
31867
|
-
style:
|
|
31880
|
+
style: ie(`max-height:${i.tableConfig.maxHeight}px`),
|
|
31868
31881
|
ref: "tableWrapper"
|
|
31869
31882
|
}, [
|
|
31870
31883
|
yA("table", b6, [
|
|
@@ -31873,12 +31886,12 @@ function k8(A, e, t, r, n, i) {
|
|
|
31873
31886
|
_6,
|
|
31874
31887
|
(fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
|
|
31875
31888
|
key: `thead_${s}`,
|
|
31876
|
-
style:
|
|
31889
|
+
style: ie(`overflow: visible;background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`),
|
|
31877
31890
|
class: it({ "th-has-nan": n.hasNaN[s] })
|
|
31878
31891
|
}, [
|
|
31879
31892
|
i.hasNumericTypes && ([n.constants.TEXT, n.constants.DATE].includes(a.type) || a.isPercentage) ? (fA(), uA("span", S6, [
|
|
31880
31893
|
wr(IA(a.name) + " ", 1),
|
|
31881
|
-
a.isPercentage ? (fA(), uA("span", U6, " / " + IA(a.percentageTo), 1)) :
|
|
31894
|
+
a.isPercentage ? (fA(), uA("span", U6, " / " + IA(a.percentageTo), 1)) : fe("", !0)
|
|
31882
31895
|
])) : (fA(), uA("span", Q6, IA(a.name), 1))
|
|
31883
31896
|
], 6))), 128))
|
|
31884
31897
|
]),
|
|
@@ -31888,7 +31901,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
31888
31901
|
(fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
|
|
31889
31902
|
key: `thead_${s}`,
|
|
31890
31903
|
class: it({ "th-numeric": !0, "th-has-nan": n.hasNaN[s] }),
|
|
31891
|
-
style:
|
|
31904
|
+
style: ie(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
|
|
31892
31905
|
}, [
|
|
31893
31906
|
a.sum && !n.hasNaN[s] ? (fA(), uA("span", L6, [
|
|
31894
31907
|
yA("span", {
|
|
@@ -31896,8 +31909,8 @@ function k8(A, e, t, r, n, i) {
|
|
|
31896
31909
|
style: { "margin-bottom": "-4px", "margin-right": "3px" }
|
|
31897
31910
|
}, null, 8, I6),
|
|
31898
31911
|
wr(" " + IA(a.prefix) + " " + IA(Number(i.getSum(s).toFixed(a.decimals)).toLocaleString()) + " " + IA(a.suffix) + " ", 1),
|
|
31899
|
-
n.percentages[s] && a.percentageTo && !a.isPercentage ? (fA(), uA("span", N6, " (" + IA(isNaN(i.getSum(s) / i.getSum(n.percentages[s].referenceIndex)) ? "-" : (i.getSum(s) / i.getSum(n.percentages[s].referenceIndex) * 100).toFixed(a.decimals)) + "%) ", 1)) :
|
|
31900
|
-
])) :
|
|
31912
|
+
n.percentages[s] && a.percentageTo && !a.isPercentage ? (fA(), uA("span", N6, " (" + IA(isNaN(i.getSum(s) / i.getSum(n.percentages[s].referenceIndex)) ? "-" : (i.getSum(s) / i.getSum(n.percentages[s].referenceIndex) * 100).toFixed(a.decimals)) + "%) ", 1)) : fe("", !0)
|
|
31913
|
+
])) : fe("", !0)
|
|
31901
31914
|
], 6))), 128))
|
|
31902
31915
|
]),
|
|
31903
31916
|
yA("tr", null, [
|
|
@@ -31905,9 +31918,9 @@ function k8(A, e, t, r, n, i) {
|
|
|
31905
31918
|
(fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
|
|
31906
31919
|
key: `thead_${s}`,
|
|
31907
31920
|
class: it({ "th-numeric": !0, "th-has-nan": n.hasNaN[s] }),
|
|
31908
|
-
style:
|
|
31921
|
+
style: ie(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
|
|
31909
31922
|
}, [
|
|
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)) :
|
|
31923
|
+
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)) : fe("", !0)
|
|
31911
31924
|
], 6))), 128))
|
|
31912
31925
|
]),
|
|
31913
31926
|
yA("tr", null, [
|
|
@@ -31915,7 +31928,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
31915
31928
|
(fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
|
|
31916
31929
|
key: `thead_${s}`,
|
|
31917
31930
|
class: it({ "th-has-nan": n.hasNaN[s] }),
|
|
31918
|
-
style:
|
|
31931
|
+
style: ie(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
|
|
31919
31932
|
}, [
|
|
31920
31933
|
yA("div", H6, [
|
|
31921
31934
|
a.type === n.constants.DATE && n.dates[s] ? (fA(), uA("div", P6, [
|
|
@@ -31931,7 +31944,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
31931
31944
|
onInput: (o) => {
|
|
31932
31945
|
i.filterBody(), i.setFilterDatesIndexes(s);
|
|
31933
31946
|
},
|
|
31934
|
-
style:
|
|
31947
|
+
style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
31935
31948
|
}, null, 44, V6), [
|
|
31936
31949
|
[go, n.dates[s].from]
|
|
31937
31950
|
])
|
|
@@ -31947,7 +31960,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
31947
31960
|
onInput: (o) => {
|
|
31948
31961
|
i.filterBody(), i.setFilterDatesIndexes(s);
|
|
31949
31962
|
},
|
|
31950
|
-
style:
|
|
31963
|
+
style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
31951
31964
|
}, null, 44, W6), [
|
|
31952
31965
|
[go, n.dates[s].to]
|
|
31953
31966
|
])
|
|
@@ -31957,7 +31970,8 @@ function k8(A, e, t, r, n, i) {
|
|
|
31957
31970
|
a.isSort ? (fA(), uA("button", {
|
|
31958
31971
|
key: 0,
|
|
31959
31972
|
onClick: (o) => i.sortTh(s, o),
|
|
31960
|
-
class: it({ "th-button-active": [n.constants.DESC, n.constants.ASC].includes(n.sorts[s]) })
|
|
31973
|
+
class: it({ "th-button-active": [n.constants.DESC, n.constants.ASC].includes(n.sorts[s]) }),
|
|
31974
|
+
style: ie(`background:${[n.constants.DESC, n.constants.ASC].includes(n.sorts[s]) ? "" : i.tableConfig.style.pagination.buttons.backgroundColor};color:${[n.constants.DESC, n.constants.ASC].includes(n.sorts[s]) ? "" : i.tableConfig.style.pagination.buttons.color}`)
|
|
31961
31975
|
}, [
|
|
31962
31976
|
n.sorts[s] === n.constants.ASC ? (fA(), uA("span", {
|
|
31963
31977
|
key: 0,
|
|
@@ -31969,7 +31983,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
31969
31983
|
key: 2,
|
|
31970
31984
|
innerHTML: i.icons.arrowSort
|
|
31971
31985
|
}, null, 8, J6))
|
|
31972
|
-
],
|
|
31986
|
+
], 14, z6)) : fe("", !0),
|
|
31973
31987
|
yA("button", {
|
|
31974
31988
|
onClick: (o) => {
|
|
31975
31989
|
i.resetDates(s), i.resetFilter(s, a, o);
|
|
@@ -31978,21 +31992,22 @@ function k8(A, e, t, r, n, i) {
|
|
|
31978
31992
|
class: "th-reset"
|
|
31979
31993
|
}, " ✖ ", 8, Z6)
|
|
31980
31994
|
])
|
|
31981
|
-
])) :
|
|
31995
|
+
])) : fe("", !0),
|
|
31982
31996
|
a.isSearch ? Yn((fA(), uA("input", {
|
|
31983
31997
|
key: 1,
|
|
31984
31998
|
placeholder: i.tableConfig.translations.inputPlaceholder,
|
|
31985
31999
|
"onUpdate:modelValue": (o) => n.searches[s] = o,
|
|
31986
32000
|
onInput: e[4] || (e[4] = (o) => i.debounce(i.filterBody, 400)),
|
|
31987
32001
|
name: `search_${s}`,
|
|
31988
|
-
style:
|
|
32002
|
+
style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
31989
32003
|
}, null, 44, $6)), [
|
|
31990
32004
|
[go, n.searches[s]]
|
|
31991
|
-
]) :
|
|
32005
|
+
]) : fe("", !0),
|
|
31992
32006
|
!n.hasNaN[s] && a.isSort && a.type !== n.constants.DATE ? (fA(), uA("button", {
|
|
31993
32007
|
key: 2,
|
|
31994
32008
|
onClick: (o) => i.sortTh(s, o),
|
|
31995
|
-
class: it({ "th-button-active": [n.constants.DESC, n.constants.ASC].includes(n.sorts[s]) })
|
|
32009
|
+
class: it({ "th-button-active": [n.constants.DESC, n.constants.ASC].includes(n.sorts[s]) }),
|
|
32010
|
+
style: ie(`background:${[n.constants.DESC, n.constants.ASC].includes(n.sorts[s]) ? "" : i.tableConfig.style.pagination.buttons.backgroundColor};color:${[n.constants.DESC, n.constants.ASC].includes(n.sorts[s]) ? "" : i.tableConfig.style.pagination.buttons.color}`)
|
|
31996
32011
|
}, [
|
|
31997
32012
|
n.sorts[s] === n.constants.ASC ? (fA(), uA("span", {
|
|
31998
32013
|
key: 0,
|
|
@@ -32004,19 +32019,21 @@ function k8(A, e, t, r, n, i) {
|
|
|
32004
32019
|
key: 2,
|
|
32005
32020
|
innerHTML: i.icons.arrowSort
|
|
32006
32021
|
}, null, 8, rQ))
|
|
32007
|
-
],
|
|
32022
|
+
], 14, AQ)) : fe("", !0),
|
|
32008
32023
|
a.isMultiselect ? (fA(), uA("button", {
|
|
32009
32024
|
key: 3,
|
|
32010
32025
|
onClick: (o) => i.toggleMultiselect(s, a, o),
|
|
32011
32026
|
innerHTML: i.icons.filter,
|
|
32012
|
-
class: it({ "th-button-active": n.multiselects[s] && n.multiselects[s].length !== i.getDropdownOptions(s).length })
|
|
32013
|
-
|
|
32027
|
+
class: it({ "th-button-active": n.multiselects[s] && n.multiselects[s].length !== i.getDropdownOptions(s).length }),
|
|
32028
|
+
style: ie(`background:${n.multiselects[s] && n.multiselects[s].length !== i.getDropdownOptions(s).length ? "" : i.tableConfig.style.pagination.buttons.backgroundColor};color:${n.multiselects[s] && n.multiselects[s].length !== i.getDropdownOptions(s).length ? "" : i.tableConfig.style.pagination.buttons.color}`)
|
|
32029
|
+
}, null, 14, nQ)) : fe("", !0),
|
|
32014
32030
|
n.currentSelectionSpan.col === s && i.canChart ? (fA(), uA("button", {
|
|
32015
32031
|
key: 4,
|
|
32016
32032
|
onClick: e[5] || (e[5] = (o) => n.showChart = !n.showChart),
|
|
32017
32033
|
innerHTML: i.icons.chart,
|
|
32018
|
-
class: it({ "th-button-active": n.showChart })
|
|
32019
|
-
|
|
32034
|
+
class: it({ "th-button-active": n.showChart }),
|
|
32035
|
+
style: ie(`background:${n.showChart ? "" : i.tableConfig.style.pagination.buttons.backgroundColor};color:${n.showChart ? "" : i.tableConfig.style.pagination.buttons.color}`)
|
|
32036
|
+
}, null, 14, iQ)) : fe("", !0),
|
|
32020
32037
|
a.rangeFilter && n.rangeFilters[s] && !n.hasNaN[s] ? (fA(), uA("div", aQ, [
|
|
32021
32038
|
yA("label", {
|
|
32022
32039
|
for: `rangeMin${s}`
|
|
@@ -32032,7 +32049,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
32032
32049
|
min: n.immutableRangeFilters[s].min,
|
|
32033
32050
|
"onUpdate:modelValue": (o) => n.rangeFilters[s].min = o,
|
|
32034
32051
|
onInput: e[6] || (e[6] = (o) => i.debounce(i.filterBody, 400)),
|
|
32035
|
-
style:
|
|
32052
|
+
style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
32036
32053
|
}, null, 44, cQ), [
|
|
32037
32054
|
[
|
|
32038
32055
|
go,
|
|
@@ -32048,7 +32065,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
32048
32065
|
min: n.immutableRangeFilters[s].min,
|
|
32049
32066
|
"onUpdate:modelValue": (o) => n.rangeFilters[s].max = o,
|
|
32050
32067
|
onInput: e[7] || (e[7] = (o) => i.debounce(i.filterBody, 400)),
|
|
32051
|
-
style:
|
|
32068
|
+
style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
32052
32069
|
}, null, 44, fQ), [
|
|
32053
32070
|
[
|
|
32054
32071
|
go,
|
|
@@ -32064,24 +32081,25 @@ function k8(A, e, t, r, n, i) {
|
|
|
32064
32081
|
wr(" max "),
|
|
32065
32082
|
dQ
|
|
32066
32083
|
], 8, uQ)
|
|
32067
|
-
])) :
|
|
32084
|
+
])) : fe("", !0),
|
|
32068
32085
|
i.canResetColumn(s, a) ? (fA(), uA("button", {
|
|
32069
32086
|
key: 6,
|
|
32070
32087
|
onClick: (o) => i.resetFilter(s, a, o),
|
|
32071
32088
|
disabled: i.isResetDisabled(s, a),
|
|
32072
32089
|
class: "th-reset"
|
|
32073
|
-
}, " ✖ ", 8, gQ)) :
|
|
32090
|
+
}, " ✖ ", 8, gQ)) : fe("", !0),
|
|
32074
32091
|
a.isMultiselect ? (fA(), uA("div", {
|
|
32075
32092
|
key: 7,
|
|
32076
32093
|
class: "th-dropdown",
|
|
32077
32094
|
"data-is-open": "false",
|
|
32078
32095
|
id: `th_dropdown_${s}`,
|
|
32079
|
-
style:
|
|
32096
|
+
style: ie(`background:${i.tableConfig.style.dropdowns.backgroundColor};color:${i.tableConfig.style.dropdowns.color}`)
|
|
32080
32097
|
}, [
|
|
32081
32098
|
yA("button", {
|
|
32082
32099
|
class: "close-dropdown",
|
|
32083
|
-
onClick: (o) => i.toggleMultiselect(s, a, o)
|
|
32084
|
-
|
|
32100
|
+
onClick: (o) => i.toggleMultiselect(s, a, o),
|
|
32101
|
+
style: ie(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color}`)
|
|
32102
|
+
}, " ✖ ", 12, wQ),
|
|
32085
32103
|
(fA(!0), uA(ve, null, Te(i.getDropdownOptions(s), (o, l) => (fA(), uA("span", {
|
|
32086
32104
|
class: "th-option",
|
|
32087
32105
|
key: `th_option_${s}_${l}`,
|
|
@@ -32090,33 +32108,33 @@ function k8(A, e, t, r, n, i) {
|
|
|
32090
32108
|
po((f) => i.selectDropdownOption(o, s), ["enter"]),
|
|
32091
32109
|
po((f) => i.selectDropdownOption(o, s), ["space"])
|
|
32092
32110
|
],
|
|
32093
|
-
style:
|
|
32111
|
+
style: ie(`opacity:${i.isDropdownOptionSelected(o, s) ? 1 : 0.5}`),
|
|
32094
32112
|
tabindex: "0"
|
|
32095
32113
|
}, [
|
|
32096
32114
|
i.isDropdownOptionSelected(o, s) ? (fA(), uA("span", {
|
|
32097
32115
|
key: 0,
|
|
32098
|
-
style:
|
|
32116
|
+
style: ie(`color:${i.tableConfig.style.dropdowns.icons.selected.color};margin-right:5px`),
|
|
32099
32117
|
class: "th-icon-green"
|
|
32100
32118
|
}, IA(i.tableConfig.style.dropdowns.icons.selected.unicode), 5)) : (fA(), uA("span", {
|
|
32101
32119
|
key: 1,
|
|
32102
|
-
style:
|
|
32120
|
+
style: ie(`color:${i.tableConfig.style.dropdowns.icons.unselected.color};margin-right:5px`),
|
|
32103
32121
|
class: "th-icon-red"
|
|
32104
32122
|
}, IA(i.tableConfig.style.dropdowns.icons.unselected.unicode), 5)),
|
|
32105
32123
|
yA("span", null, IA(o), 1)
|
|
32106
32124
|
], 44, BQ))), 128))
|
|
32107
|
-
], 12, pQ)) :
|
|
32125
|
+
], 12, pQ)) : fe("", !0)
|
|
32108
32126
|
])
|
|
32109
32127
|
], 6))), 128))
|
|
32110
32128
|
])
|
|
32111
|
-
], 64)) :
|
|
32129
|
+
], 64)) : fe("", !0),
|
|
32112
32130
|
yA("tr", null, [
|
|
32113
32131
|
vQ,
|
|
32114
32132
|
(fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
|
|
32115
32133
|
key: `col_selector_${s}`,
|
|
32116
32134
|
class: it({ "vue-ui-table-col-selector": !n.hasNaN[s], "th-has-nan": n.hasNaN[s] }),
|
|
32117
|
-
style:
|
|
32135
|
+
style: ie(`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}`)
|
|
32118
32136
|
}, [
|
|
32119
|
-
n.hasNaN[s] ?
|
|
32137
|
+
n.hasNaN[s] ? fe("", !0) : (fA(), uA("div", {
|
|
32120
32138
|
key: 0,
|
|
32121
32139
|
innerHTML: n.tableHead[s].type === n.constants.NUMERIC ? i.icons.chevronDown : "",
|
|
32122
32140
|
class: it({ "col-selector": n.tableHead[s].type === n.constants.NUMERIC }),
|
|
@@ -32135,7 +32153,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
32135
32153
|
key: `tbody_${s}`,
|
|
32136
32154
|
"data-row": s % 2 === 0 ? "odd" : "even",
|
|
32137
32155
|
class: it(`tr_${n.uid}`),
|
|
32138
|
-
style:
|
|
32156
|
+
style: ie(`${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}`}`)
|
|
32139
32157
|
}, [
|
|
32140
32158
|
yA("td", {
|
|
32141
32159
|
class: "vue-ui-table-td-iteration",
|
|
@@ -32144,7 +32162,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
32144
32162
|
(fA(!0), uA(ve, null, Te(a.td, (o, l) => (fA(), uA("td", {
|
|
32145
32163
|
"data-row": s % 2 === 0 ? "odd" : "even",
|
|
32146
32164
|
key: `td_${s}_${l}`,
|
|
32147
|
-
style:
|
|
32165
|
+
style: ie(i.isNumeric(o) || t.dataset.header[l].type === n.constants.DATE ? "text-align:right;font-variant-numeric: tabular-nums;" : ""),
|
|
32148
32166
|
onClick: (f) => i.selectTd({
|
|
32149
32167
|
td: o,
|
|
32150
32168
|
rowIndex: s,
|
|
@@ -32174,9 +32192,9 @@ function k8(A, e, t, r, n, i) {
|
|
|
32174
32192
|
}, [
|
|
32175
32193
|
a.meta && a.meta.markerIndices.includes(l) && a.meta.unicodeIcon ? (fA(), uA("span", {
|
|
32176
32194
|
key: 0,
|
|
32177
|
-
style:
|
|
32195
|
+
style: ie(`color:${a.meta.color};margin-right:3px`),
|
|
32178
32196
|
innerHTML: a.meta.unicodeIcon
|
|
32179
|
-
}, null, 12, FQ)) :
|
|
32197
|
+
}, null, 12, FQ)) : fe("", !0),
|
|
32180
32198
|
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", {
|
|
32181
32199
|
key: 3,
|
|
32182
32200
|
class: it({ "td-nan": isNaN(Number(o)) })
|
|
@@ -32191,7 +32209,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
32191
32209
|
], 4),
|
|
32192
32210
|
yA("div", {
|
|
32193
32211
|
class: it({ "td-selector-info": !0, "td-selector-info--active": n.currentSelectionSpan.col !== void 0 && n.currentSelectionSpan.rows.length }),
|
|
32194
|
-
style:
|
|
32212
|
+
style: ie(`background:${i.tableConfig.style.infoBar.backgroundColor};color:${i.tableConfig.style.infoBar.color}`)
|
|
32195
32213
|
}, [
|
|
32196
32214
|
n.currentSelectionSpan.col !== void 0 && n.currentSelectionSpan.rows.length ? (fA(), uA(ve, { key: 0 }, [
|
|
32197
32215
|
yA("div", {
|
|
@@ -32201,7 +32219,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
32201
32219
|
yA("span", null, [
|
|
32202
32220
|
yA("b", null, [
|
|
32203
32221
|
wr(IA(t.dataset.header[n.currentSelectionSpan.col].name) + " ", 1),
|
|
32204
|
-
t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("span", UQ, " / " + IA(t.dataset.header[n.percentages[n.currentSelectionSpan.col].referenceIndex].name), 1)) :
|
|
32222
|
+
t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("span", UQ, " / " + IA(t.dataset.header[n.percentages[n.currentSelectionSpan.col].referenceIndex].name), 1)) : fe("", !0)
|
|
32205
32223
|
]),
|
|
32206
32224
|
yA("span", QQ, [
|
|
32207
32225
|
wr(IA(i.tableConfig.translations.nb) + " : ", 1),
|
|
@@ -32210,20 +32228,20 @@ function k8(A, e, t, r, n, i) {
|
|
|
32210
32228
|
yA("span", LQ, [
|
|
32211
32229
|
wr(IA(i.tableConfig.translations.sum) + " : ", 1),
|
|
32212
32230
|
t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("b", IQ, IA(i.selectedCellsCalculations.sumPercentage), 1)) : (fA(), uA("b", NQ, IA(t.dataset.header[n.currentSelectionSpan.col].prefix) + " " + IA(i.selectedCellsCalculations.sumRegular) + " " + IA(t.dataset.header[n.currentSelectionSpan.col].suffix), 1)),
|
|
32213
|
-
t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("b", DQ, "%")) :
|
|
32231
|
+
t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("b", DQ, "%")) : fe("", !0)
|
|
32214
32232
|
]),
|
|
32215
32233
|
yA("span", kQ, [
|
|
32216
32234
|
wr(IA(i.tableConfig.translations.average) + " : ", 1),
|
|
32217
32235
|
t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("b", OQ, IA(i.selectedCellsCalculations.averagePercentage), 1)) : (fA(), uA("b", HQ, IA(t.dataset.header[n.currentSelectionSpan.col].prefix) + " " + IA(i.selectedCellsCalculations.averageRegular) + " " + IA(t.dataset.header[n.currentSelectionSpan.col].suffix), 1)),
|
|
32218
|
-
t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("b", PQ, "%")) :
|
|
32236
|
+
t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("b", PQ, "%")) : fe("", !0)
|
|
32219
32237
|
])
|
|
32220
32238
|
]),
|
|
32221
32239
|
yA("button", {
|
|
32222
32240
|
onClick: e[10] || (e[10] = (...a) => i.resetSelection && i.resetSelection(...a)),
|
|
32223
32241
|
class: "td-selector-info-reset",
|
|
32224
|
-
style:
|
|
32242
|
+
style: ie(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
|
|
32225
32243
|
}, " ✖ ", 4)
|
|
32226
|
-
], 64)) :
|
|
32244
|
+
], 64)) : fe("", !0)
|
|
32227
32245
|
], 6),
|
|
32228
32246
|
n.bodyCopy.length > 10 ? (fA(), uA("div", MQ, [
|
|
32229
32247
|
wr(IA(i.tableConfig.translations.totalRows) + " : " + IA(t.dataset.body.length) + " | " + IA(i.tableConfig.translations.paginatorLabel) + " : ", 1),
|
|
@@ -32232,12 +32250,12 @@ function k8(A, e, t, r, n, i) {
|
|
|
32232
32250
|
id: "paginatorSelector",
|
|
32233
32251
|
"onUpdate:modelValue": e[11] || (e[11] = (a) => n.itemsPerPage = a),
|
|
32234
32252
|
onChange: e[12] || (e[12] = (...a) => i.resetSelection && i.resetSelection(...a)),
|
|
32235
|
-
style:
|
|
32253
|
+
style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
|
|
32236
32254
|
}, [
|
|
32237
32255
|
(fA(!0), uA(ve, null, Te(n.paginatorOptions, (a, s) => (fA(), uA(ve, null, [
|
|
32238
32256
|
n.bodyCopy.length > a || t.dataset.body.length === a ? (fA(), uA("option", {
|
|
32239
32257
|
key: `paginator_option_${s}`
|
|
32240
|
-
}, IA(a), 1)) :
|
|
32258
|
+
}, IA(a), 1)) : fe("", !0)
|
|
32241
32259
|
], 64))), 256))
|
|
32242
32260
|
], 36)), [
|
|
32243
32261
|
[
|
|
@@ -32246,33 +32264,33 @@ function k8(A, e, t, r, n, i) {
|
|
|
32246
32264
|
void 0,
|
|
32247
32265
|
{ number: !0 }
|
|
32248
32266
|
]
|
|
32249
|
-
]) :
|
|
32250
|
-
])) :
|
|
32267
|
+
]) : fe("", !0)
|
|
32268
|
+
])) : fe("", !0),
|
|
32251
32269
|
n.itemsPerPage >= 250 ? (fA(), uA("div", RQ, [
|
|
32252
32270
|
yA("span", {
|
|
32253
32271
|
innerHTML: i.icons.warning
|
|
32254
32272
|
}, null, 8, KQ),
|
|
32255
32273
|
wr(IA(i.tableConfig.translations.sizeWarning), 1)
|
|
32256
|
-
])) :
|
|
32274
|
+
])) : fe("", !0),
|
|
32257
32275
|
i.pages.length > 1 && i.pages.length <= 10 ? (fA(), uA("div", {
|
|
32258
32276
|
key: 2,
|
|
32259
32277
|
class: "vue-ui-table-navigation-indicator",
|
|
32260
|
-
style:
|
|
32261
|
-
}, null, 4)) :
|
|
32278
|
+
style: ie(`background:${i.tableConfig.style.pagination.navigationIndicator.backgroundColor};width:calc(${n.currentPage / (i.pages.length - 1) * 100}%)`)
|
|
32279
|
+
}, null, 4)) : fe("", !0),
|
|
32262
32280
|
i.pages.length > 1 ? (fA(), uA("div", VQ, [
|
|
32263
32281
|
yA("button", {
|
|
32264
32282
|
class: "vue-ui-table-navigation",
|
|
32265
32283
|
onClick: e[13] || (e[13] = wo((a) => i.navigate("previous"), ["stop"])),
|
|
32266
32284
|
innerHTML: i.icons.chevronLeft,
|
|
32267
32285
|
disabled: n.currentPage === 0,
|
|
32268
|
-
style:
|
|
32286
|
+
style: ie(`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}`)
|
|
32269
32287
|
}, null, 12, GQ),
|
|
32270
32288
|
i.pages.length > 3 ? (fA(), uA(ve, { key: 0 }, [
|
|
32271
32289
|
yA("button", {
|
|
32272
32290
|
class: "vue-ui-table-navigation",
|
|
32273
32291
|
onClick: e[14] || (e[14] = wo((a) => i.navigate(1), ["stop"])),
|
|
32274
32292
|
disabled: n.currentPage === 0,
|
|
32275
|
-
style:
|
|
32293
|
+
style: ie(`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}`)
|
|
32276
32294
|
}, " 1 ", 12, jQ),
|
|
32277
32295
|
i.pages.length > 10 ? (fA(), uA("div", WQ, [
|
|
32278
32296
|
yA("label", XQ, IA(i.tableConfig.translations.page) + " " + IA(n.currentPage + 1) + " / " + IA(i.pages.length), 1),
|
|
@@ -32285,14 +32303,14 @@ function k8(A, e, t, r, n, i) {
|
|
|
32285
32303
|
max: i.pages.length - 1,
|
|
32286
32304
|
onInput: e[15] || (e[15] = (a) => i.updateCurrentPage(a)),
|
|
32287
32305
|
value: n.currentPage,
|
|
32288
|
-
style:
|
|
32306
|
+
style: ie(`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}`)
|
|
32289
32307
|
}, null, 44, zQ)
|
|
32290
32308
|
])) : (fA(), uA("span", qQ, IA(i.tableConfig.translations.page) + " " + IA(n.currentPage + 1) + " / " + IA(i.pages.length), 1)),
|
|
32291
32309
|
yA("button", {
|
|
32292
32310
|
class: "vue-ui-table-navigation",
|
|
32293
32311
|
onClick: e[16] || (e[16] = wo((a) => i.navigate(i.pages.length), ["stop"])),
|
|
32294
32312
|
disabled: n.currentPage === i.pages.length - 1,
|
|
32295
|
-
style:
|
|
32313
|
+
style: ie(`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}`)
|
|
32296
32314
|
}, IA(i.pages.length), 13, YQ)
|
|
32297
32315
|
], 64)) : (fA(), uA(ve, { key: 1 }, [
|
|
32298
32316
|
wr(IA(i.tableConfig.translations.page) + " " + IA(n.currentPage + 1) + " / " + IA(i.pages.length), 1)
|
|
@@ -32302,52 +32320,55 @@ function k8(A, e, t, r, n, i) {
|
|
|
32302
32320
|
onClick: e[17] || (e[17] = wo((a) => i.navigate("next"), ["stop"])),
|
|
32303
32321
|
innerHTML: i.icons.chevronRight,
|
|
32304
32322
|
disabled: n.currentPage === i.pages.length - 1,
|
|
32305
|
-
style:
|
|
32323
|
+
style: ie(`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}`)
|
|
32306
32324
|
}, null, 12, JQ)
|
|
32307
|
-
])) :
|
|
32325
|
+
])) : fe("", !0),
|
|
32308
32326
|
n.showChart && i.canChart ? (fA(), uA("div", {
|
|
32309
32327
|
key: 4,
|
|
32310
32328
|
class: "vue-ui-table-chart-modal",
|
|
32311
|
-
style:
|
|
32329
|
+
style: ie(`top:${n.clientY}px; left:${n.clientX}px;background:${i.tableConfig.style.chart.modal.backgroundColor};color:${i.tableConfig.style.chart.modal.color}`)
|
|
32312
32330
|
}, [
|
|
32313
32331
|
yA("button", {
|
|
32314
32332
|
class: "close-chart-modal",
|
|
32315
32333
|
onClick: e[18] || (e[18] = (a) => n.showChart = !1),
|
|
32316
|
-
style:
|
|
32334
|
+
style: ie(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
|
|
32317
32335
|
}, " ✖ ", 4),
|
|
32318
32336
|
yA("div", ZQ, [
|
|
32319
32337
|
i.availableDonutCategories.length ? (fA(), uA("button", {
|
|
32320
32338
|
key: 0,
|
|
32321
32339
|
onClick: e[19] || (e[19] = (a) => n.showDonutOptions = !0),
|
|
32322
32340
|
innerHTML: i.icons.donut,
|
|
32323
|
-
class: it({ "is-active-chart": n.chart.type === n.constants.DONUT || n.showDonutOptions })
|
|
32324
|
-
|
|
32341
|
+
class: it({ "is-active-chart": n.chart.type === n.constants.DONUT || n.showDonutOptions }),
|
|
32342
|
+
style: ie(`background:${n.chart.type === n.constants.DONUT || n.showDonutOptions ? i.tableConfig.style.chart.modal.buttons.selected.backgroundColor : i.tableConfig.style.chart.modal.buttons.unselected.backgroundColor};color:${n.chart.type === n.constants.DONUT || n.showDonutOptions ? i.tableConfig.style.chart.modal.buttons.selected.color : i.tableConfig.style.chart.modal.buttons.unselected.color}`)
|
|
32343
|
+
}, null, 14, $Q)) : fe("", !0),
|
|
32325
32344
|
yA("button", {
|
|
32326
32345
|
onClick: e[20] || (e[20] = (a) => {
|
|
32327
32346
|
n.chart.type = n.constants.LINE, n.showDonutOptions = !1;
|
|
32328
32347
|
}),
|
|
32329
32348
|
innerHTML: i.icons.chart,
|
|
32330
|
-
class: it({ "is-active-chart": n.chart.type === n.constants.LINE && !n.showDonutOptions })
|
|
32331
|
-
|
|
32349
|
+
class: it({ "is-active-chart": n.chart.type === n.constants.LINE && !n.showDonutOptions }),
|
|
32350
|
+
style: ie(`background:${n.chart.type === n.constants.LINE && !n.showDonutOptions ? i.tableConfig.style.chart.modal.buttons.selected.backgroundColor : i.tableConfig.style.chart.modal.buttons.unselected.backgroundColor};color:${n.chart.type === n.constants.LINE && !n.showDonutOptions ? i.tableConfig.style.chart.modal.buttons.selected.color : i.tableConfig.style.chart.modal.buttons.unselected.color}`)
|
|
32351
|
+
}, null, 14, A8),
|
|
32332
32352
|
yA("button", {
|
|
32333
32353
|
onClick: e[21] || (e[21] = (a) => {
|
|
32334
32354
|
n.chart.type = n.constants.BAR, n.showDonutOptions = !1;
|
|
32335
32355
|
}),
|
|
32336
32356
|
innerHTML: i.icons.bar,
|
|
32337
|
-
class: it({ "is-active-chart": n.chart.type === n.constants.BAR && !n.showDonutOptions })
|
|
32338
|
-
|
|
32357
|
+
class: it({ "is-active-chart": n.chart.type === n.constants.BAR && !n.showDonutOptions }),
|
|
32358
|
+
style: ie(`background:${n.chart.type === n.constants.BAR && !n.showDonutOptions ? i.tableConfig.style.chart.modal.buttons.selected.backgroundColor : i.tableConfig.style.chart.modal.buttons.unselected.backgroundColor};color:${n.chart.type === n.constants.BAR && !n.showDonutOptions ? i.tableConfig.style.chart.modal.buttons.selected.color : i.tableConfig.style.chart.modal.buttons.unselected.color}`)
|
|
32359
|
+
}, null, 14, e8)
|
|
32339
32360
|
]),
|
|
32340
32361
|
yA("div", t8, [
|
|
32341
32362
|
yA("b", null, [
|
|
32342
32363
|
wr(IA(t.dataset.header[n.currentSelectionSpan.col].name) + " ", 1),
|
|
32343
|
-
t.dataset.header[n.currentSelectionSpan.col].isPercentage && t.dataset.header[n.currentSelectionSpan.col].percentageTo ? (fA(), uA("span", r8, " / " + IA(t.dataset.header[n.percentages[n.currentSelectionSpan.col].referenceIndex].name), 1)) :
|
|
32344
|
-
n.chart.type === n.constants.DONUT && n.selectedDonutCategory && n.selectedDonutCategory.name ? (fA(), uA("span", n8, IA(i.tableConfig.translations.by) + " " + IA(n.selectedDonutCategory.name), 1)) :
|
|
32364
|
+
t.dataset.header[n.currentSelectionSpan.col].isPercentage && t.dataset.header[n.currentSelectionSpan.col].percentageTo ? (fA(), uA("span", r8, " / " + IA(t.dataset.header[n.percentages[n.currentSelectionSpan.col].referenceIndex].name), 1)) : fe("", !0),
|
|
32365
|
+
n.chart.type === n.constants.DONUT && n.selectedDonutCategory && n.selectedDonutCategory.name ? (fA(), uA("span", n8, IA(i.tableConfig.translations.by) + " " + IA(n.selectedDonutCategory.name), 1)) : fe("", !0)
|
|
32345
32366
|
])
|
|
32346
32367
|
]),
|
|
32347
32368
|
yA("div", i8, [
|
|
32348
32369
|
n.showDonutOptions && i.availableDonutCategories.length ? (fA(), uA("div", {
|
|
32349
32370
|
key: 0,
|
|
32350
|
-
style:
|
|
32371
|
+
style: ie(`background:${i.tableConfig.style.chart.modal.backgroundColor};color:${i.tableConfig.style.chart.modal.color}`)
|
|
32351
32372
|
}, [
|
|
32352
32373
|
yA("fieldset", a8, [
|
|
32353
32374
|
yA("legend", null, IA(i.tableConfig.translations.chooseCategoryColumn), 1),
|
|
@@ -32362,7 +32383,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
32362
32383
|
id: a.name,
|
|
32363
32384
|
checked: n.selectedDonutCategory && a.name === n.selectedDonutCategory.name,
|
|
32364
32385
|
onInput: (o) => n.selectedDonutCategory = i.availableDonutCategories[s],
|
|
32365
|
-
style:
|
|
32386
|
+
style: ie(`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}`)
|
|
32366
32387
|
}, null, 44, o8),
|
|
32367
32388
|
yA("label", {
|
|
32368
32389
|
for: a.name
|
|
@@ -32372,21 +32393,22 @@ function k8(A, e, t, r, n, i) {
|
|
|
32372
32393
|
yA("button", {
|
|
32373
32394
|
class: "vue-ui-table-generate-donut",
|
|
32374
32395
|
disabled: !n.selectedDonutCategory,
|
|
32375
|
-
onClick: e[22] || (e[22] = (...a) => i.applyDonutOption && i.applyDonutOption(...a))
|
|
32396
|
+
onClick: e[22] || (e[22] = (...a) => i.applyDonutOption && i.applyDonutOption(...a)),
|
|
32397
|
+
style: ie(`background:${i.tableConfig.style.chart.modal.buttons.selected.backgroundColor};color:${i.tableConfig.style.chart.modal.buttons.selected.color}`)
|
|
32376
32398
|
}, [
|
|
32377
32399
|
yA("div", {
|
|
32378
32400
|
style: { "margin-bottom": "-3px" },
|
|
32379
32401
|
innerHTML: i.icons.donut
|
|
32380
32402
|
}, null, 8, f8),
|
|
32381
32403
|
wr(" " + IA(i.tableConfig.translations.makeDonut), 1)
|
|
32382
|
-
],
|
|
32404
|
+
], 12, c8)
|
|
32383
32405
|
])
|
|
32384
|
-
], 4)) :
|
|
32406
|
+
], 4)) : fe("", !0),
|
|
32385
32407
|
[n.constants.BAR, n.constants.LINE].includes(n.chart.type) && !n.showDonutOptions ? (fA(), uA(ve, { key: 1 }, [
|
|
32386
32408
|
(fA(), uA("svg", {
|
|
32387
32409
|
viewBox: `0 0 ${n.chart.width} ${n.chart.height}`,
|
|
32388
32410
|
class: "vue-ui-table-chart-svg",
|
|
32389
|
-
style:
|
|
32411
|
+
style: ie(`background:${i.tableConfig.style.chart.layout.backgroundColor}`)
|
|
32390
32412
|
}, [
|
|
32391
32413
|
yA("defs", null, [
|
|
32392
32414
|
yA("marker", {
|
|
@@ -32433,7 +32455,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
32433
32455
|
height: n.chart.height,
|
|
32434
32456
|
fill: n.selectedPlot === s ? "rgba(0,0,0,0.03)" : "transparent"
|
|
32435
32457
|
}, null, 8, w8)
|
|
32436
|
-
]))), 128)) :
|
|
32458
|
+
]))), 128)) : fe("", !0),
|
|
32437
32459
|
(fA(!0), uA(ve, null, Te(i.chartData.plots, (a, s) => (fA(), uA("g", {
|
|
32438
32460
|
key: `plot_${s}`
|
|
32439
32461
|
}, [
|
|
@@ -32441,8 +32463,8 @@ function k8(A, e, t, r, n, i) {
|
|
|
32441
32463
|
B8,
|
|
32442
32464
|
yA("rect", {
|
|
32443
32465
|
x: a.x - i.chartData.slot / 2,
|
|
32444
|
-
y: i.calcRectY(a.value, a.y),
|
|
32445
|
-
height: a.value >= 0 ? i.chartData.zero - a.y : a.y - i.chartData.zero,
|
|
32466
|
+
y: i.chartData.isAllNegative ? 0 : i.calcRectY(a.value, a.y),
|
|
32467
|
+
height: a.value >= 0 ? i.chartData.zero - a.y : i.chartData.isAllNegative ? a.y : a.y - i.chartData.zero,
|
|
32446
32468
|
width: i.chartData.slot,
|
|
32447
32469
|
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
32470
|
stroke: i.tableConfig.style.chart.layout.bar.stroke,
|
|
@@ -32457,10 +32479,10 @@ function k8(A, e, t, r, n, i) {
|
|
|
32457
32479
|
style: { overflow: "visible" }
|
|
32458
32480
|
}, [
|
|
32459
32481
|
yA("div", {
|
|
32460
|
-
style:
|
|
32482
|
+
style: ie(`width:100%;text-align:center;font-size:20px;color:${i.tableConfig.style.chart.layout.labels.color}`)
|
|
32461
32483
|
}, IA(a.prefix) + " " + IA(Number(a.value.toFixed(t.dataset.header[n.currentSelectionSpan.col].decimals)).toLocaleString()) + " " + IA(a.suffix), 5)
|
|
32462
|
-
], 8, m8)) :
|
|
32463
|
-
], 64)) :
|
|
32484
|
+
], 8, m8)) : fe("", !0)
|
|
32485
|
+
], 64)) : fe("", !0),
|
|
32464
32486
|
n.chart.type === n.constants.LINE ? (fA(), uA(ve, { key: 1 }, [
|
|
32465
32487
|
s + 1 < i.chartData.plots.length ? (fA(), uA("line", {
|
|
32466
32488
|
key: 0,
|
|
@@ -32470,7 +32492,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
32470
32492
|
y2: i.chartData.plots[s + 1].y,
|
|
32471
32493
|
"stroke-width": i.tableConfig.style.chart.layout.line.strokeWidth,
|
|
32472
32494
|
stroke: i.tableConfig.style.chart.layout.line.stroke
|
|
32473
|
-
}, null, 8, x8)) :
|
|
32495
|
+
}, null, 8, x8)) : fe("", !0),
|
|
32474
32496
|
n.selectedPlot === s ? (fA(), uA("line", {
|
|
32475
32497
|
key: 1,
|
|
32476
32498
|
x1: a.x,
|
|
@@ -32480,7 +32502,7 @@ function k8(A, e, t, r, n, i) {
|
|
|
32480
32502
|
stroke: i.tableConfig.style.chart.layout.line.selector.stroke,
|
|
32481
32503
|
"stroke-width": i.tableConfig.style.chart.layout.line.selector.strokeWidth,
|
|
32482
32504
|
"stroke-dasharray": i.tableConfig.style.chart.layout.line.selector.strokeDasharray
|
|
32483
|
-
}, null, 8, C8)) :
|
|
32505
|
+
}, null, 8, C8)) : fe("", !0),
|
|
32484
32506
|
yA("circle", {
|
|
32485
32507
|
cx: a.x,
|
|
32486
32508
|
cy: a.y,
|
|
@@ -32502,10 +32524,10 @@ function k8(A, e, t, r, n, i) {
|
|
|
32502
32524
|
style: { overflow: "visible" }
|
|
32503
32525
|
}, [
|
|
32504
32526
|
yA("div", {
|
|
32505
|
-
style:
|
|
32527
|
+
style: ie(`width:100%;text-align:center;font-size:20px;color:${i.tableConfig.style.chart.layout.labels.color}`)
|
|
32506
32528
|
}, IA(a.prefix) + " " + IA(Number(a.value.toFixed(t.dataset.header[n.currentSelectionSpan.col].decimals)).toLocaleString()) + " " + IA(a.suffix), 5)
|
|
32507
|
-
], 8, F8)) :
|
|
32508
|
-
], 64)) :
|
|
32529
|
+
], 8, F8)) : fe("", !0)
|
|
32530
|
+
], 64)) : fe("", !0)
|
|
32509
32531
|
]))), 128)),
|
|
32510
32532
|
(fA(!0), uA(ve, null, Te(i.chartData.plots, (a, s) => (fA(), uA("g", {
|
|
32511
32533
|
key: `trap_${s}`
|
|
@@ -32530,23 +32552,23 @@ function k8(A, e, t, r, n, i) {
|
|
|
32530
32552
|
"stroke-width": i.tableConfig.style.chart.layout.progression.strokeWidth,
|
|
32531
32553
|
"stroke-dasharray": i.tableConfig.style.chart.layout.progression.strokeDasharray,
|
|
32532
32554
|
"marker-end": "url(#arrowhead)"
|
|
32533
|
-
}, null, 8, E8)) :
|
|
32555
|
+
}, null, 8, E8)) : fe("", !0)
|
|
32534
32556
|
], 12, u8)),
|
|
32535
32557
|
i.chartData.plots.length >= 2 ? (fA(), uA("div", {
|
|
32536
32558
|
key: 0,
|
|
32537
32559
|
class: "chart-trend",
|
|
32538
|
-
style:
|
|
32560
|
+
style: ie(`color:${i.tableConfig.style.chart.modal.color}`)
|
|
32539
32561
|
}, [
|
|
32540
32562
|
_8,
|
|
32541
32563
|
wr(" Trend: "),
|
|
32542
32564
|
yA("span", null, IA(i.chartData.progression.slope < 0 ? "+" : "-"), 1),
|
|
32543
32565
|
wr(" " + IA((Math.abs(i.chartData.progression.slope) * 100).toFixed(1)) + " % ", 1)
|
|
32544
|
-
], 4)) :
|
|
32545
|
-
], 64)) :
|
|
32566
|
+
], 4)) : fe("", !0)
|
|
32567
|
+
], 64)) : fe("", !0),
|
|
32546
32568
|
[n.constants.DONUT].includes(n.chart.type) && !n.showDonutOptions ? (fA(), uA(ve, { key: 2 }, [
|
|
32547
32569
|
(fA(), uA("svg", {
|
|
32548
32570
|
viewBox: "0 0 100 100",
|
|
32549
|
-
style:
|
|
32571
|
+
style: ie(`overflow: visible; padding: 0 24px;background:${i.tableConfig.style.chart.layout.backgroundColor}`),
|
|
32550
32572
|
class: "vue-ui-table-donut-chart"
|
|
32551
32573
|
}, [
|
|
32552
32574
|
(fA(!0), uA(ve, null, Te(n.currentDonut, (a, s) => (fA(), uA("path", {
|
|
@@ -32567,11 +32589,11 @@ function k8(A, e, t, r, n, i) {
|
|
|
32567
32589
|
i.isArcBigEnough(a) ? (fA(), uA("div", {
|
|
32568
32590
|
key: 0,
|
|
32569
32591
|
class: "vue-ui-table-donut-label",
|
|
32570
|
-
style:
|
|
32592
|
+
style: ie(`color:${i.tableConfig.style.chart.layout.labels.color}`)
|
|
32571
32593
|
}, [
|
|
32572
32594
|
yA("b", null, IA(i.displayArcPercentage(a, n.currentDonut)), 1),
|
|
32573
32595
|
yA("span", Q8, IA(a.name), 1)
|
|
32574
|
-
], 4)) :
|
|
32596
|
+
], 4)) : fe("", !0)
|
|
32575
32597
|
], 8, U8))), 128)),
|
|
32576
32598
|
yA("text", {
|
|
32577
32599
|
x: 50,
|
|
@@ -32606,22 +32628,22 @@ function k8(A, e, t, r, n, i) {
|
|
|
32606
32628
|
(fA(!0), uA(ve, null, Te(n.currentDonut.filter((a) => a.value > 0), (a, s) => (fA(), uA("div", {
|
|
32607
32629
|
class: "vue-ui-table-donut-legend-item",
|
|
32608
32630
|
key: `donut_legend_${s}`,
|
|
32609
|
-
style:
|
|
32631
|
+
style: ie(`color:${i.tableConfig.style.chart.layout.labels.color}`)
|
|
32610
32632
|
}, [
|
|
32611
32633
|
yA("span", {
|
|
32612
|
-
style:
|
|
32634
|
+
style: ie(`color:${a.color}`)
|
|
32613
32635
|
}, "●", 4),
|
|
32614
32636
|
yA("span", null, IA(a.name) + " : ", 1),
|
|
32615
32637
|
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),
|
|
32616
32638
|
yA("span", null, "(" + IA((a.proportion * 100).toFixed(1)) + "%)", 1)
|
|
32617
32639
|
], 4))), 128))
|
|
32618
32640
|
])
|
|
32619
|
-
], 64)) :
|
|
32641
|
+
], 64)) : fe("", !0)
|
|
32620
32642
|
], 512)
|
|
32621
|
-
], 4)) :
|
|
32643
|
+
], 4)) : fe("", !0)
|
|
32622
32644
|
], 4);
|
|
32623
32645
|
}
|
|
32624
|
-
const P8 = /* @__PURE__ */ nw(h6, [["render", k8], ["__scopeId", "data-v-
|
|
32646
|
+
const P8 = /* @__PURE__ */ nw(h6, [["render", k8], ["__scopeId", "data-v-ff53107e"]]);
|
|
32625
32647
|
export {
|
|
32626
32648
|
At as _,
|
|
32627
32649
|
P8 as a,
|