vue-data-ui 0.0.13 → 0.0.15

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 de, createElementVNode as yA, toDisplayString as IA, createCommentVNode as ce, withDirectives as Yn, vModelCheckbox as zl, Fragment as ve, renderList as Te, normalizeClass as it, createTextVNode as wr, pushScopeId as eg, popScopeId as tg, createStaticVNode as rg, vModelText as go, withKeys as po, withModifiers as wo, vModelSelect as Kw } from "vue";
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>
@@ -26,7 +26,7 @@ var eu = function(A, e) {
26
26
  Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n]);
27
27
  }, eu(A, e);
28
28
  };
29
- function On(A, e) {
29
+ function kn(A, e) {
30
30
  if (typeof e != "function" && e !== null)
31
31
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
32
32
  eu(A, e);
@@ -1221,7 +1221,7 @@ var g1 = function(A, e) {
1221
1221
  }, kv = function(A, e, t) {
1222
1222
  var r = typeof A == "number" ? A : Dv(A, e, t), n = Math.abs(e * Math.sin(r)) + Math.abs(t * Math.cos(r)), i = e / 2, a = t / 2, s = n / 2, o = Math.sin(r - Math.PI / 2) * s, l = Math.cos(r - Math.PI / 2) * s;
1223
1223
  return [n, i - l, i + l, a - o, a + o];
1224
- }, In = function(A, e) {
1224
+ }, Ln = function(A, e) {
1225
1225
  return Math.sqrt(A * A + e * e);
1226
1226
  }, w1 = function(A, e, t, r, n) {
1227
1227
  var i = [
@@ -1231,7 +1231,7 @@ var g1 = function(A, e) {
1231
1231
  [A, e]
1232
1232
  ];
1233
1233
  return i.reduce(function(a, s) {
1234
- var o = s[0], l = s[1], f = In(t - o, r - l);
1234
+ var o = s[0], l = s[1], f = Ln(t - o, r - l);
1235
1235
  return (n ? f < a.optimumDistance : f > a.optimumDistance) ? {
1236
1236
  optimumCorner: s,
1237
1237
  optimumDistance: f
@@ -1248,10 +1248,10 @@ var g1 = function(A, e) {
1248
1248
  break;
1249
1249
  case 2:
1250
1250
  if (A.shape === 0)
1251
- i = a = Math.min(In(e, t), In(e, t - n), In(e - r, t), In(e - r, t - n));
1251
+ i = a = Math.min(Ln(e, t), Ln(e, t - n), Ln(e - r, t), Ln(e - r, t - n));
1252
1252
  else if (A.shape === 1) {
1253
1253
  var s = Math.min(Math.abs(t), Math.abs(t - n)) / Math.min(Math.abs(e), Math.abs(e - r)), o = w1(r, n, e, t, !0), l = o[0], f = o[1];
1254
- i = In(l - e, (f - t) / s), a = s * i;
1254
+ i = Ln(l - e, (f - t) / s), a = s * i;
1255
1255
  }
1256
1256
  break;
1257
1257
  case 1:
@@ -1259,10 +1259,10 @@ var g1 = function(A, e) {
1259
1259
  break;
1260
1260
  case 3:
1261
1261
  if (A.shape === 0)
1262
- i = a = Math.max(In(e, t), In(e, t - n), In(e - r, t), In(e - r, t - n));
1262
+ i = a = Math.max(Ln(e, t), Ln(e, t - n), Ln(e - r, t), Ln(e - r, t - n));
1263
1263
  else if (A.shape === 1) {
1264
1264
  var s = Math.max(Math.abs(t), Math.abs(t - n)) / Math.max(Math.abs(e), Math.abs(e - r)), d = w1(r, n, e, t, !1), l = d[0], f = d[1];
1265
- i = In(l - e, (f - t) / s), a = s * i;
1265
+ i = Ln(l - e, (f - t) / s), a = s * i;
1266
1266
  }
1267
1267
  break;
1268
1268
  }
@@ -2420,9 +2420,9 @@ var G5 = {
2420
2420
  function() {
2421
2421
  function A(e, t) {
2422
2422
  var r, n;
2423
- this.animationDuration = fe(e, rm, t.animationDuration), this.backgroundClip = fe(e, Iv, t.backgroundClip), this.backgroundColor = fe(e, Nv, t.backgroundColor), this.backgroundImage = fe(e, Gv, t.backgroundImage), this.backgroundOrigin = fe(e, jv, t.backgroundOrigin), this.backgroundPosition = fe(e, Wv, t.backgroundPosition), this.backgroundRepeat = fe(e, Xv, t.backgroundRepeat), this.backgroundSize = fe(e, qv, t.backgroundSize), this.borderTopColor = fe(e, Jv, t.borderTopColor), this.borderRightColor = fe(e, Zv, t.borderRightColor), this.borderBottomColor = fe(e, $v, t.borderBottomColor), this.borderLeftColor = fe(e, A5, t.borderLeftColor), this.borderTopLeftRadius = fe(e, e5, t.borderTopLeftRadius), this.borderTopRightRadius = fe(e, t5, t.borderTopRightRadius), this.borderBottomRightRadius = fe(e, r5, t.borderBottomRightRadius), this.borderBottomLeftRadius = fe(e, n5, t.borderBottomLeftRadius), this.borderTopStyle = fe(e, i5, t.borderTopStyle), this.borderRightStyle = fe(e, a5, t.borderRightStyle), this.borderBottomStyle = fe(e, s5, t.borderBottomStyle), this.borderLeftStyle = fe(e, o5, t.borderLeftStyle), this.borderTopWidth = fe(e, l5, t.borderTopWidth), this.borderRightWidth = fe(e, c5, t.borderRightWidth), this.borderBottomWidth = fe(e, f5, t.borderBottomWidth), this.borderLeftWidth = fe(e, u5, t.borderLeftWidth), this.boxShadow = fe(e, im, t.boxShadow), this.color = fe(e, h5, t.color), this.direction = fe(e, d5, t.direction), this.display = fe(e, g5, t.display), this.float = fe(e, w5, t.cssFloat), this.fontFamily = fe(e, q5, t.fontFamily), this.fontSize = fe(e, Y5, t.fontSize), this.fontStyle = fe(e, $5, t.fontStyle), this.fontVariant = fe(e, Z5, t.fontVariant), this.fontWeight = fe(e, J5, t.fontWeight), this.letterSpacing = fe(e, B5, t.letterSpacing), this.lineBreak = fe(e, v5, t.lineBreak), this.lineHeight = fe(e, m5, t.lineHeight), this.listStyleImage = fe(e, x5, t.listStyleImage), this.listStylePosition = fe(e, C5, t.listStylePosition), this.listStyleType = fe(e, gu, t.listStyleType), this.marginTop = fe(e, y5, t.marginTop), this.marginRight = fe(e, F5, t.marginRight), this.marginBottom = fe(e, b5, t.marginBottom), this.marginLeft = fe(e, E5, t.marginLeft), this.opacity = fe(e, W5, t.opacity);
2424
- var i = fe(e, _5, t.overflow);
2425
- this.overflowX = i[0], this.overflowY = i[i.length > 1 ? 1 : 0], this.overflowWrap = fe(e, S5, t.overflowWrap), this.paddingTop = fe(e, U5, t.paddingTop), this.paddingRight = fe(e, Q5, t.paddingRight), this.paddingBottom = fe(e, T5, t.paddingBottom), this.paddingLeft = fe(e, L5, t.paddingLeft), this.paintOrder = fe(e, am, t.paintOrder), this.position = fe(e, N5, t.position), this.textAlign = fe(e, I5, t.textAlign), this.textDecorationColor = fe(e, X5, (r = t.textDecorationColor) !== null && r !== void 0 ? r : t.color), this.textDecorationLine = fe(e, z5, (n = t.textDecorationLine) !== null && n !== void 0 ? n : t.textDecoration), this.textShadow = fe(e, D5, t.textShadow), this.textTransform = fe(e, k5, t.textTransform), this.transform = fe(e, O5, t.transform), this.transformOrigin = fe(e, K5, t.transformOrigin), this.visibility = fe(e, V5, t.visibility), this.webkitTextStrokeColor = fe(e, sm, t.webkitTextStrokeColor), this.webkitTextStrokeWidth = fe(e, om, t.webkitTextStrokeWidth), this.wordBreak = fe(e, G5, t.wordBreak), this.zIndex = fe(e, j5, t.zIndex);
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 = fe(e, Am, t.content), this.quotes = fe(e, nm, t.quotes);
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 = fe(e, em, t.counterIncrement), this.counterReset = fe(e, tm, t.counterReset);
2479
+ this.counterIncrement = ue(e, em, t.counterIncrement), this.counterReset = ue(e, tm, t.counterReset);
2480
2480
  }
2481
2481
  return A;
2482
2482
  }()
2483
- ), fe = function(A, e, t) {
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());
@@ -2879,7 +2879,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
2879
2879
  }, Hg = (
2880
2880
  /** @class */
2881
2881
  function(A) {
2882
- On(e, A);
2882
+ kn(e, A);
2883
2883
  function e(t, r) {
2884
2884
  var n = A.call(this, t, r) || this;
2885
2885
  return n.src = r.currentSrc || r.src, n.intrinsicWidth = r.naturalWidth, n.intrinsicHeight = r.naturalHeight, n.context.cache.addImage(n.src), n;
@@ -2889,7 +2889,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
2889
2889
  ), Pg = (
2890
2890
  /** @class */
2891
2891
  function(A) {
2892
- On(e, A);
2892
+ kn(e, A);
2893
2893
  function e(t, r) {
2894
2894
  var n = A.call(this, t, r) || this;
2895
2895
  return n.canvas = r, n.intrinsicWidth = r.width, n.intrinsicHeight = r.height, n;
@@ -2899,7 +2899,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
2899
2899
  ), Mg = (
2900
2900
  /** @class */
2901
2901
  function(A) {
2902
- On(e, A);
2902
+ kn(e, A);
2903
2903
  function e(t, r) {
2904
2904
  var n = A.call(this, t, r) || this, i = new XMLSerializer(), a = fc(t, r);
2905
2905
  return r.setAttribute("width", a.width + "px"), r.setAttribute("height", a.height + "px"), n.svg = "data:image/svg+xml," + encodeURIComponent(i.serializeToString(r)), n.intrinsicWidth = r.width.baseVal.value, n.intrinsicHeight = r.height.baseVal.value, n.context.cache.addImage(n.svg), n;
@@ -2909,7 +2909,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
2909
2909
  ), Rg = (
2910
2910
  /** @class */
2911
2911
  function(A) {
2912
- On(e, A);
2912
+ kn(e, A);
2913
2913
  function e(t, r) {
2914
2914
  var n = A.call(this, t, r) || this;
2915
2915
  return n.value = r.value, n;
@@ -2919,7 +2919,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
2919
2919
  ), Bu = (
2920
2920
  /** @class */
2921
2921
  function(A) {
2922
- On(e, A);
2922
+ kn(e, A);
2923
2923
  function e(t, r) {
2924
2924
  var n = A.call(this, t, r) || this;
2925
2925
  return n.start = r.start, n.reversed = typeof r.reversed == "boolean" && r.reversed === !0, n;
@@ -2947,7 +2947,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
2947
2947
  }, K0 = "checkbox", V0 = "radio", ax = "password", D1 = 707406591, Gu = (
2948
2948
  /** @class */
2949
2949
  function(A) {
2950
- On(e, A);
2950
+ kn(e, A);
2951
2951
  function e(t, r) {
2952
2952
  var n = A.call(this, t, r) || this;
2953
2953
  switch (n.type = r.type.toLowerCase(), n.checked = r.checked, n.value = ix(r), (n.type === K0 || n.type === V0) && (n.styles.backgroundColor = 3739148031, n.styles.borderTopColor = n.styles.borderRightColor = n.styles.borderBottomColor = n.styles.borderLeftColor = 2779096575, n.styles.borderTopWidth = n.styles.borderRightWidth = n.styles.borderBottomWidth = n.styles.borderLeftWidth = 1, n.styles.borderTopStyle = n.styles.borderRightStyle = n.styles.borderBottomStyle = n.styles.borderLeftStyle = 1, n.styles.backgroundClip = [
@@ -2971,7 +2971,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
2971
2971
  ), Kg = (
2972
2972
  /** @class */
2973
2973
  function(A) {
2974
- On(e, A);
2974
+ kn(e, A);
2975
2975
  function e(t, r) {
2976
2976
  var n = A.call(this, t, r) || this, i = r.options[r.selectedIndex || 0];
2977
2977
  return n.value = i && i.text || "", n;
@@ -2981,7 +2981,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
2981
2981
  ), Vg = (
2982
2982
  /** @class */
2983
2983
  function(A) {
2984
- On(e, A);
2984
+ kn(e, A);
2985
2985
  function e(t, r) {
2986
2986
  var n = A.call(this, t, r) || this;
2987
2987
  return n.value = r.value, n;
@@ -2991,7 +2991,7 @@ var Tm = 1, _f = 2, Sf = 3, b1 = 4, E1 = 5, Lm = 7, _1 = 8, Uf = 9, Qf = 10, S1
2991
2991
  ), Gg = (
2992
2992
  /** @class */
2993
2993
  function(A) {
2994
- On(e, A);
2994
+ kn(e, A);
2995
2995
  function e(t, r) {
2996
2996
  var n = A.call(this, t, r) || this;
2997
2997
  n.src = r.src, n.width = parseInt(r.width, 10) || 0, n.height = parseInt(r.height, 10) || 0, n.backgroundColor = n.styles.backgroundColor;
@@ -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
- }, se = (
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 se(A.x + (e.x - A.x) * t, A.y + (e.y - A.y) * t);
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 se(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 se(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 se(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 se(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 se(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 se(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 se(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 se(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 se(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 se(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 se(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 se(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 se(r.left, r.top), this.topRightBorderBox = o > 0 || l > 0 ? Bt(r.left + F, r.top, o, l, qe.TOP_RIGHT) : new se(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 se(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 se(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 se(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 se(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 se(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 se(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 se(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 se(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 se(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 se(r.left + V + K, r.top + r.height - (k + Q));
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 se(A, l), new se(A, l - s), new se(o - a, e), new se(o, e));
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 se(A, e), new se(A + a, e), new se(o, l - s), new se(o, l));
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 se(o, e), new se(o, e + s), new se(A + a, l), new se(A, l));
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 se(o, l), new se(o - a, l), new se(A, e + s), new se(A, e));
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 se(Math.round(r.left), Math.round(r.top + a)),
4188
- new se(Math.round(r.left + r.width), Math.round(r.top + a)),
4189
- new se(Math.round(r.left + r.width), Math.round(o + r.top + a)),
4190
- new se(Math.round(r.left), Math.round(o + r.top + a))
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 se(Math.round(r.left + i), Math.round(r.top)),
4195
- new se(Math.round(r.left + i + s), Math.round(r.top)),
4196
- new se(Math.round(r.left + i + s), Math.round(r.height + r.top)),
4197
- new se(Math.round(r.left + i), Math.round(r.height + r.top))
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 se(Math.round(r.left + i), Math.round(r.top + a)),
4202
- new se(Math.round(r.left + i + s), Math.round(r.top + a)),
4203
- new se(Math.round(r.left + i + s), Math.round(r.top + a + o)),
4204
- new se(Math.round(r.left + i), Math.round(r.top + a + o))
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 se(Math.round(n.left), Math.round(n.top)),
4209
- new se(Math.round(n.left + n.width), Math.round(n.top)),
4210
- new se(Math.round(n.left + n.width), Math.round(n.height + n.top)),
4211
- new se(Math.round(n.left), Math.round(n.height + n.top))
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 = (
@@ -4240,7 +4240,7 @@ var Bt = function(A, e, t, r, n) {
4240
4240
  ), A4 = 1e4, e4 = (
4241
4241
  /** @class */
4242
4242
  function(A) {
4243
- On(e, A);
4243
+ kn(e, A);
4244
4244
  function e(t, r) {
4245
4245
  var n = A.call(this, t, r) || this;
4246
4246
  return n._activeEffects = [], n.canvas = r.canvas ? r.canvas : document.createElement("canvas"), n.ctx = n.canvas.getContext("2d"), r.canvas || (n.canvas.width = Math.floor(r.width * r.scale), n.canvas.height = Math.floor(r.height * r.scale), n.canvas.style.width = r.width + "px", n.canvas.style.height = r.height + "px"), n.fontMetrics = new $x(document), n.ctx.scale(n.options.scale, n.options.scale), n.ctx.translate(-r.x, -r.y), n.ctx.textBaseline = "bottom", n._activeEffects = [], n.context.logger.debug("Canvas renderer initialized (" + r.width + "x" + r.height + ") with scale " + r.scale), n;
@@ -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 se(r.bounds.left + d * 0.39363, r.bounds.top + d * 0.79),
4410
- new se(r.bounds.left + d * 0.16, r.bounds.top + d * 0.5549),
4411
- new se(r.bounds.left + d * 0.27347, r.bounds.top + d * 0.44071),
4412
- new se(r.bounds.left + d * 0.39694, r.bounds.top + d * 0.5649),
4413
- new se(r.bounds.left + d * 0.72983, r.bounds.top + d * 0.23),
4414
- new se(r.bounds.left + d * 0.84, r.bounds.top + d * 0.34085),
4415
- new se(r.bounds.left + d * 0.39363, r.bounds.top + d * 0.79)
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 se(AA.left, AA.top),
4427
- new se(AA.left + AA.width, AA.top),
4428
- new se(AA.left + AA.width, AA.top + AA.height),
4429
- new se(AA.left, AA.top + AA.height)
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 se(AA.end.x, AA.end.y), new se(eA.start.x, eA.start.y)]), this.ctx.stroke()), un(o[1]) && (AA = o[1], eA = o[2], this.ctx.beginPath(), this.formatPath([new se(AA.end.x, AA.end.y), new se(eA.start.x, eA.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
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
  ];
@@ -4762,7 +4762,7 @@ var Bt = function(A, e, t, r, n) {
4762
4762
  }, s4 = (
4763
4763
  /** @class */
4764
4764
  function(A) {
4765
- On(e, A);
4765
+ kn(e, A);
4766
4766
  function e(t, r) {
4767
4767
  var n = A.call(this, t, r) || this;
4768
4768
  return n.canvas = r.canvas ? r.canvas : document.createElement("canvas"), n.ctx = n.canvas.getContext("2d"), n.options = r, n.canvas.width = Math.floor(r.width * r.scale), n.canvas.height = Math.floor(r.height * r.scale), n.canvas.style.width = r.width + "px", n.canvas.style.height = r.height + "px", n.ctx.scale(n.options.scale, n.options.scale), n.ctx.translate(-r.x, -r.y), n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized (" + r.width + "x" + r.height + " at " + r.x + "," + r.y + ") with scale " + r.scale), n;
@@ -5011,7 +5011,7 @@ var g4 = /* @__PURE__ */ Zn(na, 9, 0), p4 = /* @__PURE__ */ Zn(na, 9, 1), w4 = /
5011
5011
  for (var e = A[0], t = 1; t < A.length; ++t)
5012
5012
  A[t] > e && (e = A[t]);
5013
5013
  return e;
5014
- }, Un = function(A, e, t) {
5014
+ }, Sn = function(A, e, t) {
5015
5015
  var r = e / 8 >> 0;
5016
5016
  return (A[r] | A[r + 1] << 8) >>> (e & 7) & t;
5017
5017
  }, Pf = function(A, e) {
@@ -5035,29 +5035,29 @@ var g4 = /* @__PURE__ */ Zn(na, 9, 0), p4 = /* @__PURE__ */ Zn(na, 9, 1), w4 = /
5035
5035
  }, s = t.f || 0, o = t.p || 0, l = t.b || 0, f = t.l, d = t.d, g = t.m, h = t.n, v = r * 8;
5036
5036
  do {
5037
5037
  if (!f) {
5038
- t.f = s = Un(A, o, 1);
5039
- var w = Un(A, o + 1, 3);
5038
+ t.f = s = Sn(A, o, 1);
5039
+ var w = Sn(A, o + 1, 3);
5040
5040
  if (o += 3, w)
5041
5041
  if (w == 1)
5042
5042
  f = p4, d = B4, g = 9, h = 5;
5043
5043
  else if (w == 2) {
5044
- var N = Un(A, o, 31) + 257, M = Un(A, o + 10, 15) + 4, AA = N + Un(A, o + 5, 31) + 1;
5044
+ var N = Sn(A, o, 31) + 257, M = Sn(A, o + 10, 15) + 4, AA = N + Sn(A, o + 5, 31) + 1;
5045
5045
  o += 14;
5046
5046
  for (var eA = new Er(AA), H = new Er(19), k = 0; k < M; ++k)
5047
- H[Fu[k]] = Un(A, o + k * 3, 7);
5047
+ H[Fu[k]] = Sn(A, o + k * 3, 7);
5048
5048
  o += M * 3;
5049
5049
  var V = Hf(H), tA = (1 << V) - 1;
5050
5050
  if (!i && o + AA * (V + 7) > v)
5051
5051
  break;
5052
5052
  for (var U = Zn(H, V, 1), k = 0; k < AA; ) {
5053
- var Q = U[Un(A, o, tA)];
5053
+ var Q = U[Sn(A, o, tA)];
5054
5054
  o += Q & 15;
5055
5055
  var x = Q >>> 4;
5056
5056
  if (x < 16)
5057
5057
  eA[k++] = x;
5058
5058
  else {
5059
5059
  var K = 0, q = 0;
5060
- for (x == 16 ? (q = 3 + Un(A, o, 3), o += 2, K = eA[k - 1]) : x == 17 ? (q = 3 + Un(A, o, 7), o += 3) : x == 18 && (q = 11 + Un(A, o, 127), o += 7); q--; )
5060
+ for (x == 16 ? (q = 3 + Sn(A, o, 3), o += 2, K = eA[k - 1]) : x == 17 ? (q = 3 + Sn(A, o, 7), o += 3) : x == 18 && (q = 11 + Sn(A, o, 127), o += 7); q--; )
5061
5061
  eA[k++] = K;
5062
5062
  }
5063
5063
  }
@@ -5094,7 +5094,7 @@ var g4 = /* @__PURE__ */ Zn(na, 9, 0), p4 = /* @__PURE__ */ Zn(na, 9, 1), w4 = /
5094
5094
  var jA = _A - 254;
5095
5095
  if (_A > 264) {
5096
5096
  var k = _A - 257, m = xc[k];
5097
- jA = Un(A, o, (1 << m) - 1) + c2[k], o += m;
5097
+ jA = Sn(A, o, (1 << m) - 1) + c2[k], o += m;
5098
5098
  }
5099
5099
  var S = d[Pf(A, o) & gA], b = S >>> 4;
5100
5100
  if (!S)
@@ -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
- }, ae = h.__private__.getArrayBuffer = function(p) {
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;
@@ -5810,11 +5810,11 @@ function xe(A) {
5810
5810
  };
5811
5811
  var $A, ee = h.__private__.getFontSize = h.getFontSize = function() {
5812
5812
  return N === F.COMPAT ? XA : XA * re;
5813
- }, he = A.R2L || !1;
5813
+ }, de = A.R2L || !1;
5814
5814
  h.__private__.setR2L = h.setR2L = function(p) {
5815
- return he = p, this;
5815
+ return de = p, this;
5816
5816
  }, h.__private__.getR2L = h.getR2L = function() {
5817
- return he;
5817
+ return de;
5818
5818
  };
5819
5819
  var ge, Fe = h.__private__.setZoomMode = function(p) {
5820
5820
  var _ = [void 0, null, "fullwidth", "fullheight", "fullpage", "original"];
@@ -5864,7 +5864,7 @@ function xe(A) {
5864
5864
  throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
5865
5865
  return me[p] = _;
5866
5866
  };
5867
- var Le, re, Kt, Pe, Ur, Xe = {}, ft = {}, An = [], Re = {}, Mn = {}, gt = {}, Rr = {}, wn = null, ot = 0, be = [], Ve = new ed(h), ri = A.hotfixes || [], Vt = {}, en = {}, tn = [], we = function p(_, J, nA, pA, TA, GA) {
5867
+ var Le, re, Kt, Pe, Ur, Xe = {}, ft = {}, An = [], Re = {}, Mn = {}, gt = {}, Rr = {}, pn = null, ot = 0, be = [], Ve = new ed(h), ri = A.hotfixes || [], Vt = {}, en = {}, tn = [], we = function p(_, J, nA, pA, TA, GA) {
5868
5868
  if (!(this instanceof p))
5869
5869
  return new p(_, J, nA, pA, TA, GA);
5870
5870
  isNaN(_) && (_ = 1), isNaN(J) && (J = 0), isNaN(nA) && (nA = 0), isNaN(pA) && (pA = 1), isNaN(TA) && (TA = 0), isNaN(GA) && (GA = 0), this._matrix = [_, J, nA, pA, TA, GA];
@@ -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 + _ * _), oe = (p /= GA) * J + (_ /= GA) * nA;
5935
- J -= p * oe, nA -= _ * oe;
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 oe /= pe, p * (nA /= pe) < _ * (J /= pe) && (p = -p, _ = -_, oe = -oe, 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, oe, 1, 0, 0) };
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), oe = nA * GA, pe = -_ * GA, Se = -J * GA, Ie = p * GA;
5942
- return new we(oe, pe, Se, Ie, -oe * pA - Se * TA, -pe * pA - Ie * TA);
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 oe = new h2(J);
6000
- if (oe.ok)
6001
- J = oe.toHex();
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, oe = function(ur) {
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 && (oe = fr.encryptor(GA, 0));
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(oe(pe.data)), Z("endstream"));
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
- }, ie = function() {
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 oe = "", pe = 0, Se = 0; Se < nA.length; Se++) {
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
- oe += 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));
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 oe.trim();
6126
+ return le.trim();
6127
6127
  }, ne = function(p, _) {
6128
6128
  _ || (_ = 21);
6129
6129
  var J = Et(), nA = WA(p.colors, _), pA = [];
@@ -6153,7 +6153,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
6153
6153
  var p;
6154
6154
  for (p in gt)
6155
6155
  gt.hasOwnProperty(p) && rt(gt[p]);
6156
- }, Bn = function() {
6156
+ }, wn = function() {
6157
6157
  for (var p in Z("/XObject <<"), Vt)
6158
6158
  Vt.hasOwnProperty(p) && Vt[p].objectNumber >= 0 && Z("/" + p + " " + Vt[p].objectNumber + " 0 R");
6159
6159
  Ve.publish("putXobjectDict"), Z(">>");
@@ -6163,7 +6163,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
6163
6163
  for (var p in Z("/Font <<"), Xe)
6164
6164
  Xe.hasOwnProperty(p) && (d === !1 || d === !0 && g.hasOwnProperty(p)) && Z("/" + p + " " + Xe[p].objectNumber + " 0 R");
6165
6165
  Z(">>");
6166
- }, vn = function() {
6166
+ }, Bn = function() {
6167
6167
  if (Object.keys(Re).length > 0) {
6168
6168
  for (var p in Z("/Shading <<"), Re)
6169
6169
  Re.hasOwnProperty(p) && Re[p] instanceof ma && Re[p].objectNumber >= 0 && Z("/" + p + " " + Re[p].objectNumber + " 0 R");
@@ -6183,10 +6183,10 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
6183
6183
  Ve.publish("putGStateDict"), Z(">>");
6184
6184
  }
6185
6185
  }, _t = function(p) {
6186
- I(p.resourcesOid, !0), Z("<<"), Z("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), Rn(), vn(), Kn(p.objectOid), Vr(), Bn(), Z(">>"), Z("endobj");
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(), ie(), ze(p), Ve.publish("putResources"), p.forEach(_t), _t({ resourcesOid: G, objectOid: Number.MAX_SAFE_INTEGER }), Ve.publish("postPutResources");
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++) {
@@ -6207,7 +6207,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
6207
6207
  ul({ id: nA, fontName: pA[0], fontStyle: pA[1] || "" });
6208
6208
  }
6209
6209
  Ve.publish("addFonts", { fonts: Xe, dictionary: ft });
6210
- }, mn = function(p) {
6210
+ }, vn = function(p) {
6211
6211
  return p.foo = function() {
6212
6212
  try {
6213
6213
  return p.apply(this, arguments);
@@ -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, oe, pe, Se, Ie;
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, oe = [], J = 0, nA = p.length; J < nA; J++)
6228
- (Se = GA[p.charCodeAt(J)]) ? oe.push(String.fromCharCode(Se)) : oe.push(p[J]), oe[J].charCodeAt(0) >> 8 && (pe = !0);
6229
- p = oe.join("");
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 (oe = _.noBOM ? [] : [254, 255], J = 0, nA = p.length; J < nA; J++) {
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
- oe.push(Ie), oe.push(Se - (Ie << 8));
6238
+ le.push(Ie), le.push(Se - (Ie << 8));
6239
6239
  }
6240
- return String.fromCharCode.apply(void 0, oe);
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) {
@@ -6251,7 +6251,7 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
6251
6251
  case "p":
6252
6252
  nA > pA && (n = [pA, nA]);
6253
6253
  }
6254
- Rs(n), ml(js), Z(xn), Xs !== 0 && Z(Xs + " J"), zs !== 0 && Z(zs + " j"), Ve.publish("addPage", { pageNumber: ot });
6254
+ Rs(n), ml(js), Z(mn), Xs !== 0 && Z(Xs + " J"), zs !== 0 && Z(zs + " j"), Ve.publish("addPage", { pageNumber: ot });
6255
6255
  }, Ic = function(p) {
6256
6256
  p > 0 && p <= ot && (NA.splice(p, 1), be.splice(p, 1), ot--, S > ot && (S = ot), this.setPage(S));
6257
6257
  }, dl = function(p) {
@@ -6317,8 +6317,8 @@ 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([ae(p)], { type: "application/pdf" });
6321
- }, Pa = h.output = h.__private__.output = mn(function(p, _) {
6320
+ return new Blob([se(p)], { type: "application/pdf" });
6321
+ }, Pa = h.output = h.__private__.output = vn(function(p, _) {
6322
6322
  switch (typeof (_ = _ || {}) == "string" ? _ = { filename: _ } : _.filename = _.filename || "generated.pdf", p) {
6323
6323
  case void 0:
6324
6324
  return ii();
@@ -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 ae(ii());
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>", oe = Ce.open();
6352
- return oe !== null && oe.document.write(GA), oe;
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,16 +6452,16 @@ 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, oe, pe, Se, Ie, Me, vt, xt, Dt = (nA = nA || {}).scope || this;
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) : (oe = arguments[4], pe = arguments[5], At(Me = arguments[3]) === "object" && Me !== null || (typeof oe == "string" && (pe = oe, oe = null), typeof Me == "string" && (pe = Me, Me = null), typeof Me == "number" && (oe = Me, Me = null), nA = { flags: Me, angle: oe, align: pe })), isNaN(_) || isNaN(J) || p == null)
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;
6464
- var Xt = "", Cn = !1, Gr = typeof nA.lineHeightFactor == "number" ? nA.lineHeightFactor : fa, si = Dt.internal.scaleFactor;
6464
+ var Xt = "", xn = !1, Gr = typeof nA.lineHeightFactor == "number" ? nA.lineHeightFactor : fa, si = Dt.internal.scaleFactor;
6465
6465
  function El(ut) {
6466
6466
  return ut = ut.split(" ").join(Array(nA.TabLen || 9).join(" ")), Tr(ut, Me);
6467
6467
  }
@@ -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, oe = (nA = TA.options).angle, !(xt instanceof we) && oe && typeof oe == "number") {
6514
- oe *= Math.PI / 180, nA.rotationDirection === 0 && (oe = -oe), N === F.ADVANCED && (oe = -oe);
6515
- var qa = Math.cos(oe), ro = Math.sin(oe);
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
- oe && oe instanceof we && (xt = oe);
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;
@@ -6559,23 +6559,23 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
6559
6559
  Ir !== -1 ? Xt += Ir + ` Tr
6560
6560
  ` : _l !== -1 && (Xt += `0 Tr
6561
6561
  `), Ir !== -1 && (no.usedRenderingMode = Ir), pe = nA.align || "left";
6562
- var yn, io = XA * Gr, Jc = Dt.internal.pageSize.getWidth(), Zc = Xe[Le];
6562
+ var Cn, io = XA * Gr, Jc = Dt.internal.pageSize.getWidth(), Zc = Xe[Le];
6563
6563
  Se = nA.charSpace || Ka, Ie = nA.maxWidth || 0, Me = Object.assign({ autoencode: !0, noBOM: !0 }, nA.flags);
6564
6564
  var Ti = [];
6565
6565
  if (Object.prototype.toString.call(p) === "[object Array]") {
6566
6566
  var rn;
6567
- GA = $s(p), pe !== "left" && (yn = GA.map(function(ut) {
6567
+ GA = $s(p), pe !== "left" && (Cn = GA.map(function(ut) {
6568
6568
  return Dt.getStringUnitWidth(ut, { font: Zc, charSpace: Se, fontSize: XA, doKerning: !1 }) * XA / si;
6569
6569
  }));
6570
- var Fn, Li = 0;
6570
+ var yn, Li = 0;
6571
6571
  if (pe === "right") {
6572
- _ -= yn[0], p = [], Lr = GA.length;
6572
+ _ -= Cn[0], p = [], Lr = GA.length;
6573
6573
  for (var Gn = 0; Gn < Lr; Gn++)
6574
- Gn === 0 ? (Fn = ai(_), rn = Si(J)) : (Fn = Q(Li - yn[Gn]), rn = -io), p.push([GA[Gn], Fn, rn]), Li = yn[Gn];
6574
+ Gn === 0 ? (yn = ai(_), rn = Si(J)) : (yn = Q(Li - Cn[Gn]), rn = -io), p.push([GA[Gn], yn, rn]), Li = Cn[Gn];
6575
6575
  } else if (pe === "center") {
6576
- _ -= yn[0] / 2, p = [], Lr = GA.length;
6576
+ _ -= Cn[0] / 2, p = [], Lr = GA.length;
6577
6577
  for (var oi = 0; oi < Lr; oi++)
6578
- oi === 0 ? (Fn = ai(_), rn = Si(J)) : (Fn = Q((Li - yn[oi]) / 2), rn = -io), p.push([GA[oi], Fn, rn]), Li = yn[oi];
6578
+ oi === 0 ? (yn = ai(_), rn = Si(J)) : (yn = Q((Li - Cn[oi]) / 2), rn = -io), p.push([GA[oi], yn, rn]), Li = Cn[oi];
6579
6579
  } else if (pe === "left") {
6580
6580
  p = [], Lr = GA.length;
6581
6581
  for (var Ya = 0; Ya < Lr; Ya++)
@@ -6584,19 +6584,19 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
6584
6584
  if (pe !== "justify")
6585
6585
  throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
6586
6586
  p = [], Lr = GA.length, Ie = Ie !== 0 ? Ie : Jc;
6587
- for (var bn = 0; bn < Lr; bn++)
6588
- rn = bn === 0 ? Si(J) : -io, Fn = bn === 0 ? ai(_) : 0, bn < Lr - 1 ? Ti.push(H(Q((Ie - yn[bn]) / (GA[bn].split(" ").length - 1)))) : Ti.push(0), p.push([GA[bn], Fn, rn]);
6587
+ for (var Fn = 0; Fn < Lr; Fn++)
6588
+ rn = Fn === 0 ? Si(J) : -io, yn = Fn === 0 ? ai(_) : 0, Fn < Lr - 1 ? Ti.push(H(Q((Ie - Cn[Fn]) / (GA[Fn].split(" ").length - 1)))) : Ti.push(0), p.push([GA[Fn], yn, rn]);
6589
6589
  }
6590
6590
  }
6591
- var Ja = typeof nA.R2L == "boolean" ? nA.R2L : he;
6591
+ var Ja = typeof nA.R2L == "boolean" ? nA.R2L : de;
6592
6592
  Ja === !0 && (p = Ao(p, function(ut, ht, St) {
6593
6593
  return [ut.split("").reverse().join(""), ht, St];
6594
- })), TA = { text: p, x: _, y: J, options: nA, mutex: { pdfEscape: Tr, activeFontKey: Le, fonts: Xe, activeFontSize: XA } }, Ve.publish("postProcessText", TA), p = TA.text, Cn = TA.mutex.isHex || !1;
6594
+ })), TA = { text: p, x: _, y: J, options: nA, mutex: { pdfEscape: Tr, activeFontKey: Le, fonts: Xe, activeFontSize: XA } }, Ve.publish("postProcessText", TA), p = TA.text, xn = TA.mutex.isHex || !1;
6595
6595
  var ao = Xe[Le].encoding;
6596
6596
  ao !== "WinAnsiEncoding" && ao !== "StandardEncoding" || (p = Ao(p, function(ut, ht, St) {
6597
6597
  return [El(ut), ht, St];
6598
6598
  })), GA = $s(p), p = [];
6599
- for (var Ii, En, li, da = 0, Za = 1, ga = Array.isArray(GA[0]) ? Za : da, Ni = "", so = function(ut, ht, St) {
6599
+ for (var Ii, bn, li, da = 0, Za = 1, ga = Array.isArray(GA[0]) ? Za : da, Ni = "", so = function(ut, ht, St) {
6600
6600
  var Gt = "";
6601
6601
  return St instanceof we ? (St = typeof nA.angle == "number" ? Kr(St, new we(1, 0, 0, 1, ut, ht)) : Kr(new we(1, 0, 0, 1, ut, ht), St), N === F.ADVANCED && (St = Kr(new we(1, 0, 0, -1, 0, 0), St)), Gt = St.join(" ") + ` Tm
6602
6602
  `) : Gt = H(ut) + " " + H(ht) + ` Td
@@ -6604,13 +6604,13 @@ Q`), I(pA, !0), UA({ data: TA, filters: BA(), objectId: pA }), Z("endobj"), nA;
6604
6604
  }, nn = 0; nn < GA.length; nn++) {
6605
6605
  switch (Ni = "", ga) {
6606
6606
  case Za:
6607
- li = (Cn ? "<" : "(") + GA[nn][0] + (Cn ? ">" : ")"), Ii = parseFloat(GA[nn][1]), En = parseFloat(GA[nn][2]);
6607
+ li = (xn ? "<" : "(") + GA[nn][0] + (xn ? ">" : ")"), Ii = parseFloat(GA[nn][1]), bn = parseFloat(GA[nn][2]);
6608
6608
  break;
6609
6609
  case da:
6610
- li = (Cn ? "<" : "(") + GA[nn] + (Cn ? ">" : ")"), Ii = ai(_), En = Si(J);
6610
+ li = (xn ? "<" : "(") + GA[nn] + (xn ? ">" : ")"), Ii = ai(_), bn = Si(J);
6611
6611
  }
6612
6612
  Ti !== void 0 && Ti[nn] !== void 0 && (Ni = Ti[nn] + ` Tw
6613
- `), nn === 0 ? p.push(Ni + so(Ii, En, xt) + li) : ga === da ? p.push(Ni + li) : ga === Za && p.push(Ni + so(Ii, En, xt) + li);
6613
+ `), nn === 0 ? p.push(Ni + so(Ii, bn, xt) + li) : ga === da ? p.push(Ni + li) : ga === Za && p.push(Ni + so(Ii, bn, xt) + li);
6614
6614
  }
6615
6615
  p = ga === da ? p.join(` Tj
6616
6616
  T* `) : p.join(` Tj
@@ -6720,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, oe, pe, Se, Ie, Me, vt, xt, Dt, ur, Xt, Cn;
6724
- if (typeof p == "number" && (Cn = J, J = _, _ = p, p = Cn), nA = nA || [1, 1], TA = TA || !1, isNaN(_) || isNaN(J) || !Array.isArray(p) || !Array.isArray(nA) || !Vn(pA) || typeof TA != "boolean")
6723
+ var GA, le, pe, Se, Ie, Me, vt, xt, Dt, ur, Xt, xn;
6724
+ if (typeof p == "number" && (xn = J, J = _, _ = p, p = xn), nA = nA || [1, 1], TA = TA || !1, isNaN(_) || isNaN(J) || !Array.isArray(p) || !Array.isArray(nA) || !Vn(pA) || typeof TA != "boolean")
6725
6725
  throw new Error("Invalid arguments passed to jsPDF.lines");
6726
- for (Gs(_, J), GA = nA[0], oe = 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] * oe + Xt, ca(ur, Xt)) : (Me = Ie[0] * GA + ur, vt = Ie[1] * oe + Xt, xt = Ie[2] * GA + ur, Dt = Ie[3] * oe + Xt, ur = Ie[4] * GA + ur, Xt = Ie[5] * oe + Xt, _i(Me, vt, xt, Dt, ur, Xt));
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 oe = 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 * oe, 0, pA, TA - TA * oe, pA, TA], [0, nA - 2 * TA], [0, TA * oe, -pA * oe, TA, -pA, TA], [2 * pA - J, 0], [-pA * oe, 0, -pA, -TA * oe, -pA, -TA], [0, 2 * TA - nA], [0, -TA * oe, pA * oe, -TA, pA, -TA]], p + pA, _, [1, 1], GA, !0), this;
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");
@@ -6815,11 +6815,11 @@ T* `) : p.join(` Tj
6815
6815
  return H(ai(p));
6816
6816
  }, Ui = h.__private__.getVerticalCoordinateString = h.getVerticalCoordinateString = function(p) {
6817
6817
  return H(Si(p));
6818
- }, xn = A.strokeColor || "0 G";
6818
+ }, mn = A.strokeColor || "0 G";
6819
6819
  h.__private__.getStrokeColor = h.getDrawColor = function() {
6820
- return X(xn);
6820
+ return X(mn);
6821
6821
  }, h.__private__.setStrokeColor = h.setDrawColor = function(p, _, J, nA) {
6822
- return xn = Y({ ch1: p, ch2: _, ch3: J, ch4: nA, pdfColorType: "draw", precision: 2 }), Z(xn), this;
6822
+ return mn = Y({ ch1: p, ch2: _, ch3: J, ch4: nA, pdfColorType: "draw", precision: 2 }), Z(mn), this;
6823
6823
  };
6824
6824
  var Ws = A.fillColor || "0 g";
6825
6825
  h.__private__.getFillColor = h.getFillColor = function() {
@@ -6859,7 +6859,7 @@ T* `) : p.join(` Tj
6859
6859
  throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
6860
6860
  return Z(H(Q(p)) + " M"), this;
6861
6861
  }, h.GState = q0, h.setGState = function(p) {
6862
- (p = typeof p == "string" ? gt[Rr[p]] : Fl(null, p)).equals(wn) || (Z("/" + p.id + " gs"), wn = p);
6862
+ (p = typeof p == "string" ? gt[Rr[p]] : Fl(null, p)).equals(pn) || (Z("/" + p.id + " gs"), pn = p);
6863
6863
  };
6864
6864
  var Fl = function(p, _) {
6865
6865
  if (!p || !Rr[p]) {
@@ -6885,7 +6885,7 @@ T* `) : p.join(` Tj
6885
6885
  }, h.restoreGraphicsState = function() {
6886
6886
  Z("Q");
6887
6887
  var p = An.pop();
6888
- return Le = p.key, XA = p.size, ua = p.color, wn = null, this;
6888
+ return Le = p.key, XA = p.size, ua = p.color, pn = null, this;
6889
6889
  }, h.setCurrentTransformationMatrix = function(p) {
6890
6890
  return Z(p.toString() + " cm"), this;
6891
6891
  }, h.comment = function(p) {
@@ -7039,7 +7039,7 @@ var Mr = function(A, e) {
7039
7039
  }, td = function(A) {
7040
7040
  return A * Xu;
7041
7041
  }, Xn = function(A) {
7042
- var e = new w2(), t = ue.internal.getHeight(A) || 0, r = ue.internal.getWidth(A) || 0;
7042
+ var e = new w2(), t = he.internal.getHeight(A) || 0, r = he.internal.getWidth(A) || 0;
7043
7043
  return e.BBox = [0, 0, Number(_e(r)), Number(_e(t))], e;
7044
7044
  }, I4 = yt.__acroform__.setBit = function(A, e) {
7045
7045
  if (A = A || 0, e = e || 0, isNaN(A) || isNaN(e))
@@ -7086,9 +7086,9 @@ var Mr = function(A, e) {
7086
7086
  }) : n.map(function(U) {
7087
7087
  return [U];
7088
7088
  });
7089
- var i = t, a = ue.internal.getHeight(A) || 0;
7089
+ var i = t, a = he.internal.getHeight(A) || 0;
7090
7090
  a = a < 0 ? -a : a;
7091
- var s = ue.internal.getWidth(A) || 0;
7091
+ var s = he.internal.getWidth(A) || 0;
7092
7092
  s = s < 0 ? -s : s;
7093
7093
  var o = function(U, Q, K) {
7094
7094
  if (U + 1 < n.length) {
@@ -7182,7 +7182,7 @@ var Mr = function(A, e) {
7182
7182
  }
7183
7183
  }, R4 = function(A, e) {
7184
7184
  if (e.scope = A, A.internal !== void 0 && (A.internal.acroformPlugin === void 0 || A.internal.acroformPlugin.isInitialized === !1)) {
7185
- if (Hn.FieldNum = 0, A.internal.acroformPlugin = JSON.parse(JSON.stringify(H4)), A.internal.acroformPlugin.acroFormDictionaryRoot)
7185
+ if (On.FieldNum = 0, A.internal.acroformPlugin = JSON.parse(JSON.stringify(H4)), A.internal.acroformPlugin.acroFormDictionaryRoot)
7186
7186
  throw new Error("Exception while creating AcroformDictionary");
7187
7187
  Xu = A.internal.scaleFactor, A.internal.acroformPlugin.acroFormDictionaryRoot = new B2(), A.internal.acroformPlugin.acroFormDictionaryRoot.scope = A, A.internal.acroformPlugin.acroFormDictionaryRoot._eventID = A.internal.events.subscribe("postPutResources", function() {
7188
7188
  (function(t) {
@@ -7210,7 +7210,7 @@ var Mr = function(A, e) {
7210
7210
  for (var a in r || (n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId, !0), n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()), r = r || n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)
7211
7211
  if (r.hasOwnProperty(a)) {
7212
7212
  var s = r[a], o = [], l = s.Rect;
7213
- if (s.Rect && (s.Rect = k4(s.Rect, n)), n.internal.newObjectDeferredBegin(s.objId, !0), s.DA = ue.createDefaultAppearanceStream(s), At(s) === "object" && typeof s.getKeyValueListForStream == "function" && (o = s.getKeyValueListForStream()), s.Rect = l, s.hasAppearanceStream && !s.appearanceStreamContent) {
7213
+ if (s.Rect && (s.Rect = k4(s.Rect, n)), n.internal.newObjectDeferredBegin(s.objId, !0), s.DA = he.createDefaultAppearanceStream(s), At(s) === "object" && typeof s.getKeyValueListForStream == "function" && (o = s.getKeyValueListForStream()), s.Rect = l, s.hasAppearanceStream && !s.appearanceStreamContent) {
7214
7214
  var f = O4(s);
7215
7215
  o.push({ key: "AP", value: "<</N " + f + ">>" }), n.internal.acroformPlugin.xForms.push(f);
7216
7216
  }
@@ -7322,7 +7322,7 @@ var B2 = function() {
7322
7322
  } });
7323
7323
  };
7324
7324
  Mr(B2, Jn);
7325
- var Hn = function A() {
7325
+ var On = function A() {
7326
7326
  Jn.call(this);
7327
7327
  var e = 4;
7328
7328
  Object.defineProperty(this, "F", { enumerable: !1, configurable: !1, get: function() {
@@ -7532,9 +7532,9 @@ var Hn = function A() {
7532
7532
  }
7533
7533
  } });
7534
7534
  };
7535
- Mr(Hn, Jn);
7535
+ Mr(On, Jn);
7536
7536
  var Fs = function() {
7537
- Hn.call(this), this.FT = "/Ch", this.V = "()", this.fontName = "zapfdingbats";
7537
+ On.call(this), this.FT = "/Ch", this.V = "()", this.fontName = "zapfdingbats";
7538
7538
  var A = 0;
7539
7539
  Object.defineProperty(this, "TI", { enumerable: !0, configurable: !1, get: function() {
7540
7540
  return A;
@@ -7591,7 +7591,7 @@ var Fs = function() {
7591
7591
  t ? this.Ff = Lt(this.Ff, 27) : this.Ff = It(this.Ff, 27);
7592
7592
  } }), this.hasAppearanceStream = !1;
7593
7593
  };
7594
- Mr(Fs, Hn);
7594
+ Mr(Fs, On);
7595
7595
  var bs = function() {
7596
7596
  Fs.call(this), this.fontName = "helvetica", this.combo = !1;
7597
7597
  };
@@ -7605,7 +7605,7 @@ var D0 = function() {
7605
7605
  };
7606
7606
  Mr(D0, Es);
7607
7607
  var Jt = function() {
7608
- Hn.call(this), this.FT = "/Btn", Object.defineProperty(this, "noToggleToOff", { enumerable: !0, configurable: !0, get: function() {
7608
+ On.call(this), this.FT = "/Btn", Object.defineProperty(this, "noToggleToOff", { enumerable: !0, configurable: !0, get: function() {
7609
7609
  return !!Tt(this.Ff, 15);
7610
7610
  }, set: function(t) {
7611
7611
  t ? this.Ff = Lt(this.Ff, 15) : this.Ff = It(this.Ff, 15);
@@ -7650,7 +7650,7 @@ var Jt = function() {
7650
7650
  A = "/" + t;
7651
7651
  } });
7652
7652
  };
7653
- Mr(Jt, Hn);
7653
+ Mr(Jt, On);
7654
7654
  var k0 = function() {
7655
7655
  Jt.call(this), this.pushButton = !0;
7656
7656
  };
@@ -7667,7 +7667,7 @@ var _s = function() {
7667
7667
  Mr(_s, Jt);
7668
7668
  var Y0 = function() {
7669
7669
  var A, e;
7670
- Hn.call(this), Object.defineProperty(this, "Parent", { enumerable: !1, configurable: !1, get: function() {
7670
+ On.call(this), Object.defineProperty(this, "Parent", { enumerable: !1, configurable: !1, get: function() {
7671
7671
  return A;
7672
7672
  }, set: function(n) {
7673
7673
  A = n;
@@ -7701,9 +7701,9 @@ var Y0 = function() {
7701
7701
  return t.substr(1, t.length - 1);
7702
7702
  }, set: function(n) {
7703
7703
  t = "/" + n;
7704
- } }), this.caption = "l", this.appearanceState = "Off", this._AppearanceType = ue.RadioButton.Circle, this.appearanceStreamContent = this._AppearanceType.createAppearanceStream(this.optionName);
7704
+ } }), this.caption = "l", this.appearanceState = "Off", this._AppearanceType = he.RadioButton.Circle, this.appearanceStreamContent = this._AppearanceType.createAppearanceStream(this.optionName);
7705
7705
  };
7706
- Mr(Y0, Hn), _s.prototype.setAppearance = function(A) {
7706
+ Mr(Y0, On), _s.prototype.setAppearance = function(A) {
7707
7707
  if (!("createAppearanceStream" in A) || !("getCA" in A))
7708
7708
  throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");
7709
7709
  for (var e in this.Kids)
@@ -7716,11 +7716,11 @@ Mr(Y0, Hn), _s.prototype.setAppearance = function(A) {
7716
7716
  return e.Parent = this, e.optionName = A, this.Kids.push(e), K4.call(this.scope, e), e;
7717
7717
  };
7718
7718
  var O0 = function() {
7719
- Jt.call(this), this.fontName = "zapfdingbats", this.caption = "3", this.appearanceState = "On", this.value = "On", this.textAlign = "center", this.appearanceStreamContent = ue.CheckBox.createAppearanceStream();
7719
+ Jt.call(this), this.fontName = "zapfdingbats", this.caption = "3", this.appearanceState = "On", this.value = "On", this.textAlign = "center", this.appearanceStreamContent = he.CheckBox.createAppearanceStream();
7720
7720
  };
7721
7721
  Mr(O0, Jt);
7722
7722
  var Ea = function() {
7723
- Hn.call(this), this.FT = "/Tx", Object.defineProperty(this, "multiline", { enumerable: !0, configurable: !0, get: function() {
7723
+ On.call(this), this.FT = "/Tx", Object.defineProperty(this, "multiline", { enumerable: !0, configurable: !0, get: function() {
7724
7724
  return !!Tt(this.Ff, 13);
7725
7725
  }, set: function(e) {
7726
7726
  e ? this.Ff = Lt(this.Ff, 13) : this.Ff = It(this.Ff, 13);
@@ -7758,7 +7758,7 @@ var Ea = function() {
7758
7758
  return this.V || this.DV;
7759
7759
  } });
7760
7760
  };
7761
- Mr(Ea, Hn);
7761
+ Mr(Ea, On);
7762
7762
  var H0 = function() {
7763
7763
  Ea.call(this), Object.defineProperty(this, "password", { enumerable: !0, configurable: !0, get: function() {
7764
7764
  return !!Tt(this.Ff, 14);
@@ -7767,99 +7767,99 @@ var H0 = function() {
7767
7767
  } }), this.password = !0;
7768
7768
  };
7769
7769
  Mr(H0, Ea);
7770
- var ue = { CheckBox: { createAppearanceStream: function() {
7771
- return { N: { On: ue.CheckBox.YesNormal }, D: { On: ue.CheckBox.YesPushDown, Off: ue.CheckBox.OffPushDown } };
7770
+ var he = { CheckBox: { createAppearanceStream: function() {
7771
+ return { N: { On: he.CheckBox.YesNormal }, D: { On: he.CheckBox.YesPushDown, Off: he.CheckBox.OffPushDown } };
7772
7772
  }, YesPushDown: function(A) {
7773
7773
  var e = Xn(A);
7774
7774
  e.scope = A.scope;
7775
7775
  var t = [], r = A.scope.internal.getFont(A.fontName, A.fontStyle).id, n = A.scope.__private__.encodeColorString(A.color), i = Lu(A, A.caption);
7776
- return t.push("0.749023 g"), t.push("0 0 " + _e(ue.internal.getWidth(A)) + " " + _e(ue.internal.getHeight(A)) + " re"), t.push("f"), t.push("BMC"), t.push("q"), t.push("0 0 1 rg"), t.push("/" + r + " " + _e(i.fontSize) + " Tf " + n), t.push("BT"), t.push(i.text), t.push("ET"), t.push("Q"), t.push("EMC"), e.stream = t.join(`
7776
+ return t.push("0.749023 g"), t.push("0 0 " + _e(he.internal.getWidth(A)) + " " + _e(he.internal.getHeight(A)) + " re"), t.push("f"), t.push("BMC"), t.push("q"), t.push("0 0 1 rg"), t.push("/" + r + " " + _e(i.fontSize) + " Tf " + n), t.push("BT"), t.push(i.text), t.push("ET"), t.push("Q"), t.push("EMC"), e.stream = t.join(`
7777
7777
  `), e;
7778
7778
  }, YesNormal: function(A) {
7779
7779
  var e = Xn(A);
7780
7780
  e.scope = A.scope;
7781
- var t = A.scope.internal.getFont(A.fontName, A.fontStyle).id, r = A.scope.__private__.encodeColorString(A.color), n = [], i = ue.internal.getHeight(A), a = ue.internal.getWidth(A), s = Lu(A, A.caption);
7781
+ var t = A.scope.internal.getFont(A.fontName, A.fontStyle).id, r = A.scope.__private__.encodeColorString(A.color), n = [], i = he.internal.getHeight(A), a = he.internal.getWidth(A), s = Lu(A, A.caption);
7782
7782
  return n.push("1 g"), n.push("0 0 " + _e(a) + " " + _e(i) + " re"), n.push("f"), n.push("q"), n.push("0 0 1 rg"), n.push("0 0 " + _e(a - 1) + " " + _e(i - 1) + " re"), n.push("W"), n.push("n"), n.push("0 g"), n.push("BT"), n.push("/" + t + " " + _e(s.fontSize) + " Tf " + r), n.push(s.text), n.push("ET"), n.push("Q"), e.stream = n.join(`
7783
7783
  `), e;
7784
7784
  }, OffPushDown: function(A) {
7785
7785
  var e = Xn(A);
7786
7786
  e.scope = A.scope;
7787
7787
  var t = [];
7788
- return t.push("0.749023 g"), t.push("0 0 " + _e(ue.internal.getWidth(A)) + " " + _e(ue.internal.getHeight(A)) + " re"), t.push("f"), e.stream = t.join(`
7788
+ return t.push("0.749023 g"), t.push("0 0 " + _e(he.internal.getWidth(A)) + " " + _e(he.internal.getHeight(A)) + " re"), t.push("f"), e.stream = t.join(`
7789
7789
  `), e;
7790
7790
  } }, RadioButton: { Circle: { createAppearanceStream: function(A) {
7791
- var e = { D: { Off: ue.RadioButton.Circle.OffPushDown }, N: {} };
7792
- return e.N[A] = ue.RadioButton.Circle.YesNormal, e.D[A] = ue.RadioButton.Circle.YesPushDown, e;
7791
+ var e = { D: { Off: he.RadioButton.Circle.OffPushDown }, N: {} };
7792
+ return e.N[A] = he.RadioButton.Circle.YesNormal, e.D[A] = he.RadioButton.Circle.YesPushDown, e;
7793
7793
  }, getCA: function() {
7794
7794
  return "l";
7795
7795
  }, YesNormal: function(A) {
7796
7796
  var e = Xn(A);
7797
7797
  e.scope = A.scope;
7798
- var t = [], r = ue.internal.getWidth(A) <= ue.internal.getHeight(A) ? ue.internal.getWidth(A) / 4 : ue.internal.getHeight(A) / 4;
7798
+ var t = [], r = he.internal.getWidth(A) <= he.internal.getHeight(A) ? he.internal.getWidth(A) / 4 : he.internal.getHeight(A) / 4;
7799
7799
  r = Number((0.9 * r).toFixed(5));
7800
- var n = ue.internal.Bezier_C, i = Number((r * n).toFixed(5));
7801
- return t.push("q"), t.push("1 0 0 1 " + Gi(ue.internal.getWidth(A) / 2) + " " + Gi(ue.internal.getHeight(A) / 2) + " cm"), t.push(r + " 0 m"), t.push(r + " " + i + " " + i + " " + r + " 0 " + r + " c"), t.push("-" + i + " " + r + " -" + r + " " + i + " -" + r + " 0 c"), t.push("-" + r + " -" + i + " -" + i + " -" + r + " 0 -" + r + " c"), t.push(i + " -" + r + " " + r + " -" + i + " " + r + " 0 c"), t.push("f"), t.push("Q"), e.stream = t.join(`
7800
+ var n = he.internal.Bezier_C, i = Number((r * n).toFixed(5));
7801
+ return t.push("q"), t.push("1 0 0 1 " + Gi(he.internal.getWidth(A) / 2) + " " + Gi(he.internal.getHeight(A) / 2) + " cm"), t.push(r + " 0 m"), t.push(r + " " + i + " " + i + " " + r + " 0 " + r + " c"), t.push("-" + i + " " + r + " -" + r + " " + i + " -" + r + " 0 c"), t.push("-" + r + " -" + i + " -" + i + " -" + r + " 0 -" + r + " c"), t.push(i + " -" + r + " " + r + " -" + i + " " + r + " 0 c"), t.push("f"), t.push("Q"), e.stream = t.join(`
7802
7802
  `), e;
7803
7803
  }, YesPushDown: function(A) {
7804
7804
  var e = Xn(A);
7805
7805
  e.scope = A.scope;
7806
- var t = [], r = ue.internal.getWidth(A) <= ue.internal.getHeight(A) ? ue.internal.getWidth(A) / 4 : ue.internal.getHeight(A) / 4;
7806
+ var t = [], r = he.internal.getWidth(A) <= he.internal.getHeight(A) ? he.internal.getWidth(A) / 4 : he.internal.getHeight(A) / 4;
7807
7807
  r = Number((0.9 * r).toFixed(5));
7808
- var n = Number((2 * r).toFixed(5)), i = Number((n * ue.internal.Bezier_C).toFixed(5)), a = Number((r * ue.internal.Bezier_C).toFixed(5));
7809
- return t.push("0.749023 g"), t.push("q"), t.push("1 0 0 1 " + Gi(ue.internal.getWidth(A) / 2) + " " + Gi(ue.internal.getHeight(A) / 2) + " cm"), t.push(n + " 0 m"), t.push(n + " " + i + " " + i + " " + n + " 0 " + n + " c"), t.push("-" + i + " " + n + " -" + n + " " + i + " -" + n + " 0 c"), t.push("-" + n + " -" + i + " -" + i + " -" + n + " 0 -" + n + " c"), t.push(i + " -" + n + " " + n + " -" + i + " " + n + " 0 c"), t.push("f"), t.push("Q"), t.push("0 g"), t.push("q"), t.push("1 0 0 1 " + Gi(ue.internal.getWidth(A) / 2) + " " + Gi(ue.internal.getHeight(A) / 2) + " cm"), t.push(r + " 0 m"), t.push(r + " " + a + " " + a + " " + r + " 0 " + r + " c"), t.push("-" + a + " " + r + " -" + r + " " + a + " -" + r + " 0 c"), t.push("-" + r + " -" + a + " -" + a + " -" + r + " 0 -" + r + " c"), t.push(a + " -" + r + " " + r + " -" + a + " " + r + " 0 c"), t.push("f"), t.push("Q"), e.stream = t.join(`
7808
+ var n = Number((2 * r).toFixed(5)), i = Number((n * he.internal.Bezier_C).toFixed(5)), a = Number((r * he.internal.Bezier_C).toFixed(5));
7809
+ return t.push("0.749023 g"), t.push("q"), t.push("1 0 0 1 " + Gi(he.internal.getWidth(A) / 2) + " " + Gi(he.internal.getHeight(A) / 2) + " cm"), t.push(n + " 0 m"), t.push(n + " " + i + " " + i + " " + n + " 0 " + n + " c"), t.push("-" + i + " " + n + " -" + n + " " + i + " -" + n + " 0 c"), t.push("-" + n + " -" + i + " -" + i + " -" + n + " 0 -" + n + " c"), t.push(i + " -" + n + " " + n + " -" + i + " " + n + " 0 c"), t.push("f"), t.push("Q"), t.push("0 g"), t.push("q"), t.push("1 0 0 1 " + Gi(he.internal.getWidth(A) / 2) + " " + Gi(he.internal.getHeight(A) / 2) + " cm"), t.push(r + " 0 m"), t.push(r + " " + a + " " + a + " " + r + " 0 " + r + " c"), t.push("-" + a + " " + r + " -" + r + " " + a + " -" + r + " 0 c"), t.push("-" + r + " -" + a + " -" + a + " -" + r + " 0 -" + r + " c"), t.push(a + " -" + r + " " + r + " -" + a + " " + r + " 0 c"), t.push("f"), t.push("Q"), e.stream = t.join(`
7810
7810
  `), e;
7811
7811
  }, OffPushDown: function(A) {
7812
7812
  var e = Xn(A);
7813
7813
  e.scope = A.scope;
7814
- var t = [], r = ue.internal.getWidth(A) <= ue.internal.getHeight(A) ? ue.internal.getWidth(A) / 4 : ue.internal.getHeight(A) / 4;
7814
+ var t = [], r = he.internal.getWidth(A) <= he.internal.getHeight(A) ? he.internal.getWidth(A) / 4 : he.internal.getHeight(A) / 4;
7815
7815
  r = Number((0.9 * r).toFixed(5));
7816
- var n = Number((2 * r).toFixed(5)), i = Number((n * ue.internal.Bezier_C).toFixed(5));
7817
- return t.push("0.749023 g"), t.push("q"), t.push("1 0 0 1 " + Gi(ue.internal.getWidth(A) / 2) + " " + Gi(ue.internal.getHeight(A) / 2) + " cm"), t.push(n + " 0 m"), t.push(n + " " + i + " " + i + " " + n + " 0 " + n + " c"), t.push("-" + i + " " + n + " -" + n + " " + i + " -" + n + " 0 c"), t.push("-" + n + " -" + i + " -" + i + " -" + n + " 0 -" + n + " c"), t.push(i + " -" + n + " " + n + " -" + i + " " + n + " 0 c"), t.push("f"), t.push("Q"), e.stream = t.join(`
7816
+ var n = Number((2 * r).toFixed(5)), i = Number((n * he.internal.Bezier_C).toFixed(5));
7817
+ return t.push("0.749023 g"), t.push("q"), t.push("1 0 0 1 " + Gi(he.internal.getWidth(A) / 2) + " " + Gi(he.internal.getHeight(A) / 2) + " cm"), t.push(n + " 0 m"), t.push(n + " " + i + " " + i + " " + n + " 0 " + n + " c"), t.push("-" + i + " " + n + " -" + n + " " + i + " -" + n + " 0 c"), t.push("-" + n + " -" + i + " -" + i + " -" + n + " 0 -" + n + " c"), t.push(i + " -" + n + " " + n + " -" + i + " " + n + " 0 c"), t.push("f"), t.push("Q"), e.stream = t.join(`
7818
7818
  `), e;
7819
7819
  } }, Cross: { createAppearanceStream: function(A) {
7820
- var e = { D: { Off: ue.RadioButton.Cross.OffPushDown }, N: {} };
7821
- return e.N[A] = ue.RadioButton.Cross.YesNormal, e.D[A] = ue.RadioButton.Cross.YesPushDown, e;
7820
+ var e = { D: { Off: he.RadioButton.Cross.OffPushDown }, N: {} };
7821
+ return e.N[A] = he.RadioButton.Cross.YesNormal, e.D[A] = he.RadioButton.Cross.YesPushDown, e;
7822
7822
  }, getCA: function() {
7823
7823
  return "8";
7824
7824
  }, YesNormal: function(A) {
7825
7825
  var e = Xn(A);
7826
7826
  e.scope = A.scope;
7827
- var t = [], r = ue.internal.calculateCross(A);
7828
- return t.push("q"), t.push("1 1 " + _e(ue.internal.getWidth(A) - 2) + " " + _e(ue.internal.getHeight(A) - 2) + " re"), t.push("W"), t.push("n"), t.push(_e(r.x1.x) + " " + _e(r.x1.y) + " m"), t.push(_e(r.x2.x) + " " + _e(r.x2.y) + " l"), t.push(_e(r.x4.x) + " " + _e(r.x4.y) + " m"), t.push(_e(r.x3.x) + " " + _e(r.x3.y) + " l"), t.push("s"), t.push("Q"), e.stream = t.join(`
7827
+ var t = [], r = he.internal.calculateCross(A);
7828
+ return t.push("q"), t.push("1 1 " + _e(he.internal.getWidth(A) - 2) + " " + _e(he.internal.getHeight(A) - 2) + " re"), t.push("W"), t.push("n"), t.push(_e(r.x1.x) + " " + _e(r.x1.y) + " m"), t.push(_e(r.x2.x) + " " + _e(r.x2.y) + " l"), t.push(_e(r.x4.x) + " " + _e(r.x4.y) + " m"), t.push(_e(r.x3.x) + " " + _e(r.x3.y) + " l"), t.push("s"), t.push("Q"), e.stream = t.join(`
7829
7829
  `), e;
7830
7830
  }, YesPushDown: function(A) {
7831
7831
  var e = Xn(A);
7832
7832
  e.scope = A.scope;
7833
- var t = ue.internal.calculateCross(A), r = [];
7834
- return r.push("0.749023 g"), r.push("0 0 " + _e(ue.internal.getWidth(A)) + " " + _e(ue.internal.getHeight(A)) + " re"), r.push("f"), r.push("q"), r.push("1 1 " + _e(ue.internal.getWidth(A) - 2) + " " + _e(ue.internal.getHeight(A) - 2) + " re"), r.push("W"), r.push("n"), r.push(_e(t.x1.x) + " " + _e(t.x1.y) + " m"), r.push(_e(t.x2.x) + " " + _e(t.x2.y) + " l"), r.push(_e(t.x4.x) + " " + _e(t.x4.y) + " m"), r.push(_e(t.x3.x) + " " + _e(t.x3.y) + " l"), r.push("s"), r.push("Q"), e.stream = r.join(`
7833
+ var t = he.internal.calculateCross(A), r = [];
7834
+ return r.push("0.749023 g"), r.push("0 0 " + _e(he.internal.getWidth(A)) + " " + _e(he.internal.getHeight(A)) + " re"), r.push("f"), r.push("q"), r.push("1 1 " + _e(he.internal.getWidth(A) - 2) + " " + _e(he.internal.getHeight(A) - 2) + " re"), r.push("W"), r.push("n"), r.push(_e(t.x1.x) + " " + _e(t.x1.y) + " m"), r.push(_e(t.x2.x) + " " + _e(t.x2.y) + " l"), r.push(_e(t.x4.x) + " " + _e(t.x4.y) + " m"), r.push(_e(t.x3.x) + " " + _e(t.x3.y) + " l"), r.push("s"), r.push("Q"), e.stream = r.join(`
7835
7835
  `), e;
7836
7836
  }, OffPushDown: function(A) {
7837
7837
  var e = Xn(A);
7838
7838
  e.scope = A.scope;
7839
7839
  var t = [];
7840
- return t.push("0.749023 g"), t.push("0 0 " + _e(ue.internal.getWidth(A)) + " " + _e(ue.internal.getHeight(A)) + " re"), t.push("f"), e.stream = t.join(`
7840
+ return t.push("0.749023 g"), t.push("0 0 " + _e(he.internal.getWidth(A)) + " " + _e(he.internal.getHeight(A)) + " re"), t.push("f"), e.stream = t.join(`
7841
7841
  `), e;
7842
7842
  } } }, createDefaultAppearanceStream: function(A) {
7843
7843
  var e = A.scope.internal.getFont(A.fontName, A.fontStyle).id, t = A.scope.__private__.encodeColorString(A.color);
7844
7844
  return "/" + e + " " + A.fontSize + " Tf " + t;
7845
7845
  } };
7846
- ue.internal = { Bezier_C: 0.551915024494, calculateCross: function(A) {
7847
- var e = ue.internal.getWidth(A), t = ue.internal.getHeight(A), r = Math.min(e, t);
7846
+ he.internal = { Bezier_C: 0.551915024494, calculateCross: function(A) {
7847
+ var e = he.internal.getWidth(A), t = he.internal.getHeight(A), r = Math.min(e, t);
7848
7848
  return { x1: { x: (e - r) / 2, y: (t - r) / 2 + r }, x2: { x: (e - r) / 2 + r, y: (t - r) / 2 }, x3: { x: (e - r) / 2, y: (t - r) / 2 }, x4: { x: (e - r) / 2 + r, y: (t - r) / 2 + r } };
7849
- } }, ue.internal.getWidth = function(A) {
7849
+ } }, he.internal.getWidth = function(A) {
7850
7850
  var e = 0;
7851
7851
  return At(A) === "object" && (e = td(A.Rect[2])), e;
7852
- }, ue.internal.getHeight = function(A) {
7852
+ }, he.internal.getHeight = function(A) {
7853
7853
  var e = 0;
7854
7854
  return At(A) === "object" && (e = td(A.Rect[3])), e;
7855
7855
  };
7856
7856
  var K4 = yt.addField = function(A) {
7857
- if (R4(this, A), !(A instanceof Hn))
7857
+ if (R4(this, A), !(A instanceof On))
7858
7858
  throw new Error("Invalid argument passed to jsPDF.addField.");
7859
7859
  var e;
7860
7860
  return (e = A).scope.internal.acroformPlugin.printedOut && (e.scope.internal.acroformPlugin.printedOut = !1, e.scope.internal.acroformPlugin.acroFormDictionaryRoot = null), e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e), A.page = A.scope.internal.getCurrentPageInfo().pageNumber, this;
7861
7861
  };
7862
- yt.AcroFormChoiceField = Fs, yt.AcroFormListBox = bs, yt.AcroFormComboBox = Es, yt.AcroFormEditBox = D0, yt.AcroFormButton = Jt, yt.AcroFormPushButton = k0, yt.AcroFormRadioButton = _s, yt.AcroFormCheckBox = O0, yt.AcroFormTextField = Ea, yt.AcroFormPasswordField = H0, yt.AcroFormAppearance = ue, yt.AcroForm = { ChoiceField: Fs, ListBox: bs, ComboBox: Es, EditBox: D0, Button: Jt, PushButton: k0, RadioButton: _s, CheckBox: O0, TextField: Ea, PasswordField: H0, Appearance: ue }, xe.AcroForm = { ChoiceField: Fs, ListBox: bs, ComboBox: Es, EditBox: D0, Button: Jt, PushButton: k0, RadioButton: _s, CheckBox: O0, TextField: Ea, PasswordField: H0, Appearance: ue };
7862
+ yt.AcroFormChoiceField = Fs, yt.AcroFormListBox = bs, yt.AcroFormComboBox = Es, yt.AcroFormEditBox = D0, yt.AcroFormButton = Jt, yt.AcroFormPushButton = k0, yt.AcroFormRadioButton = _s, yt.AcroFormCheckBox = O0, yt.AcroFormTextField = Ea, yt.AcroFormPasswordField = H0, yt.AcroFormAppearance = he, yt.AcroForm = { ChoiceField: Fs, ListBox: bs, ComboBox: Es, EditBox: D0, Button: Jt, PushButton: k0, RadioButton: _s, CheckBox: O0, TextField: Ea, PasswordField: H0, Appearance: he }, xe.AcroForm = { ChoiceField: Fs, ListBox: bs, ComboBox: Es, EditBox: D0, Button: Jt, PushButton: k0, RadioButton: _s, CheckBox: O0, TextField: Ea, PasswordField: H0, Appearance: he };
7863
7863
  function v2(A) {
7864
7864
  return A.reduce(function(e, t, r) {
7865
7865
  return e[t] = r, e;
@@ -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(ae) {
8668
+ var HA = function(se) {
8669
8669
  var KA = [];
8670
- return Object.keys(ae).forEach(function(XA) {
8671
- ae[XA].forEach(function($A) {
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,10 +8688,10 @@ var m0, sd, od, jf = ["times"];
8688
8688
  });
8689
8689
  }), KA;
8690
8690
  }(SA.getFontList());
8691
- RA = function(ae) {
8692
- for (var KA = {}, XA = 0; XA < ae.length; ++XA) {
8693
- var $A = Nu(ae[XA]), ee = $A.family, he = $A.stretch, ge = $A.style, Fe = $A.weight;
8694
- KA[ee] = KA[ee] || {}, KA[ee][he] = KA[ee][he] || {}, KA[ee][he][ge] = KA[ee][he][ge] || {}, KA[ee][he][ge][Fe] = $A;
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
+ KA[ee] = KA[ee] || {}, KA[ee][de] = KA[ee][de] || {}, KA[ee][de][ge] = KA[ee][de][ge] || {}, KA[ee][de][ge][Fe] = $A;
8695
8695
  }
8696
8696
  return KA;
8697
8697
  }(HA.concat(Z));
@@ -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], ae = (Z[2], Z[3]), KA = Z[4], XA = (Z[5], Z[6]), $A = /^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(KA)[2];
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();
@@ -8732,13 +8732,13 @@ var m0, sd, od, jf = ["times"];
8732
8732
  return Kt;
8733
8733
  }(XA);
8734
8734
  if (this.fontFaces) {
8735
- var he = j4(zA(this.pdf, this.fontFaces), ee.map(function(me) {
8736
- return { family: me, stretch: "normal", weight: ae, style: HA };
8735
+ var de = j4(zA(this.pdf, this.fontFaces), ee.map(function(me) {
8736
+ return { family: me, stretch: "normal", weight: se, style: HA };
8737
8737
  }));
8738
- this.pdf.setFont(he.ref.name, he.ref.style);
8738
+ this.pdf.setFont(de.ref.name, de.ref.style);
8739
8739
  } else {
8740
8740
  var ge = "";
8741
- (ae === "bold" || parseInt(ae, 10) >= 700 || HA === "bold") && (ge = "bold"), HA === "italic" && (ge += "italic"), ge.length === 0 && (ge = "normal");
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,8 +8951,8 @@ var m0, sd, od, jf = ["times"];
8951
8951
  d.prototype.drawImage = function(m, S, b, T, j, rA, sA, iA, CA) {
8952
8952
  var NA = this.pdf.getImageProperties(m), RA = 1, zA = 1, ZA = 1, SA = 1;
8953
8953
  T !== void 0 && iA !== void 0 && (ZA = iA / T, SA = CA / j, RA = NA.width / T * iA / T, zA = NA.height / j * CA / j), rA === void 0 && (rA = S, sA = b, S = 0, b = 0), T !== void 0 && iA === void 0 && (iA = T, CA = j), T === void 0 && iA === void 0 && (iA = NA.width, CA = NA.height);
8954
- for (var Z, HA = this.ctx.transform.decompose(), ae = gA(HA.rotate.shx), KA = new o(), XA = (KA = (KA = (KA = KA.multiply(HA.translate)).multiply(HA.skew)).multiply(HA.scale)).applyToRectangle(new s(rA - S * ZA, sA - b * SA, T * RA, j * zA)), $A = x.call(this, XA), ee = [], he = 0; he < $A.length; he += 1)
8955
- ee.indexOf($A[he]) === -1 && ee.push($A[he]);
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
+ ee.indexOf($A[de]) === -1 && ee.push($A[de]);
8956
8956
  if (N(ee), this.autoPaging)
8957
8957
  for (var ge = ee[0], Fe = ee[ee.length - 1], Ue = ge; Ue < Fe + 1; Ue++) {
8958
8958
  this.pdf.setPage(Ue);
@@ -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, ae), Ur && this.pdf.restoreGraphicsState();
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, ae);
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,18 +9023,18 @@ 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 ae = 0; ae < ZA.length; ae++)
9027
- for (; this.pdf.internal.getNumberOfPages() < ZA[ae]; )
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++) {
9031
9031
  this.pdf.setPage($A), this.fillStyle = j, this.strokeStyle = rA, this.lineCap = sA, this.lineWidth = CA, this.lineJoin = NA;
9032
- var ee = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], he = $A === 1 ? this.posY + this.margin[0] : this.margin[0], ge = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Fe = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Ue = $A === 1 ? 0 : ge + ($A - 2) * Fe;
9032
+ var ee = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], de = $A === 1 ? this.posY + this.margin[0] : this.margin[0], ge = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Fe = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Ue = $A === 1 ? 0 : ge + ($A - 2) * Fe;
9033
9033
  if (this.ctx.clip_path.length !== 0) {
9034
9034
  var De = this.path;
9035
- b = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = F(b, this.posX + this.margin[3], -Ue + he + this.ctx.prevPageLastElemOffset), AA.call(this, m, !0), this.path = De;
9035
+ b = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = F(b, this.posX + this.margin[3], -Ue + de + this.ctx.prevPageLastElemOffset), AA.call(this, m, !0), this.path = De;
9036
9036
  }
9037
- if (T = JSON.parse(JSON.stringify(RA)), this.path = F(T, this.posX + this.margin[3], -Ue + he + this.ctx.prevPageLastElemOffset), S === !1 || $A === 0) {
9037
+ if (T = JSON.parse(JSON.stringify(RA)), this.path = F(T, this.posX + this.margin[3], -Ue + de + this.ctx.prevPageLastElemOffset), S === !1 || $A === 0) {
9038
9038
  var ke = ($A > KA || $A < XA) && w.call(this);
9039
9039
  ke && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], ee, Fe, null).clip().discardPath()), AA.call(this, m, S), ke && this.pdf.restoreGraphicsState();
9040
9040
  }
@@ -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, ae = 0; ae < j.length; ae++)
9083
- if (j[ae].arc)
9084
- for (var KA = j[ae].abs, XA = 0; XA < KA.length; XA++) {
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[ae].close === !0)
9088
+ else if (j[se].close === !0)
9089
9089
  this.pdf.internal.out("h"), HA = !1;
9090
- else if (j[ae].begin !== !0) {
9091
- var ee = j[ae].start.x, he = j[ae].start.y;
9092
- q.call(this, j[ae].deltas, ee, he), HA = !0;
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,9 +9164,9 @@ 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 ae = Z[0], KA = Z[Z.length - 1], XA = ae; XA < KA + 1; XA++) {
9167
+ for (var se = Z[0], KA = Z[Z.length - 1], XA = se; XA < KA + 1; XA++) {
9168
9168
  this.pdf.setPage(XA);
9169
- var $A = XA === 1 ? this.posY + this.margin[0] : this.margin[0], ee = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], he = this.pdf.internal.pageSize.height - this.margin[2], ge = he - 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;
9169
+ var $A = XA === 1 ? this.posY + this.margin[0] : this.margin[0], ee = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], de = this.pdf.internal.pageSize.height - this.margin[2], ge = de - this.margin[0], Fe = this.pdf.internal.pageSize.width - this.margin[1], Ue = Fe - this.margin[3], De = XA === 1 ? 0 : ee + (XA - 2) * ge;
9170
9170
  if (this.ctx.clip_path.length !== 0) {
9171
9171
  var ke = this.path;
9172
9172
  CA = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = F(CA, this.posX + this.margin[3], -1 * De + $A), AA.call(this, "fill", !0), this.path = ke;
@@ -9174,13 +9174,13 @@ var m0, sd, od, jf = ["times"];
9174
9174
  var me = F([JSON.parse(JSON.stringify(ZA))], this.posX + this.margin[3], -De + $A + this.ctx.prevPageLastElemOffset)[0];
9175
9175
  m.scale >= 0.01 && (NA = this.pdf.internal.getFontSize(), this.pdf.setFontSize(NA * m.scale), RA = this.lineWidth, this.lineWidth = RA * m.scale);
9176
9176
  var Le = this.autoPaging !== "text";
9177
- if (Le || me.y + me.h <= he) {
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 > ae || XA < KA) && w.call(this);
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
9183
- me.y < he && (this.ctx.prevPageLastElemOffset += he - me.y);
9183
+ me.y < de && (this.ctx.prevPageLastElemOffset += de - me.y);
9184
9184
  m.scale >= 0.01 && (this.pdf.setFontSize(NA), this.lineWidth = RA);
9185
9185
  }
9186
9186
  else
@@ -9202,18 +9202,18 @@ 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, ae = Math.cos(HA), KA = Math.sin(HA);
9206
- return { x1: m * Math.cos(S), y1: m * Math.sin(S), x2: zA * ae - ZA * KA, y2: zA * KA + ZA * ae, x3: SA * ae - Z * KA, y3: SA * KA + Z * ae, x4: m * Math.cos(b), y4: m * Math.sin(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, 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, ae, KA, XA, $A, ee, he, ge = b - m, Fe = T - S, Ue = j - b, De = rA - T, ke = sA - j, me = iA - rA;
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
- ae = (Z = (RA = m + (CA = NA / 40) * ge) + CA * ((ZA = b + CA * Ue) - RA)) + CA * (ZA + CA * (j + CA * ke - ZA) - Z), KA = (HA = (zA = S + CA * Fe) + CA * ((SA = T + CA * De) - zA)) + CA * (SA + CA * (rA + CA * me - SA) - HA), NA == 0 ? (XA = ae, $A = KA, ee = ae, he = KA) : (XA = Math.min(XA, ae), $A = Math.min($A, KA), ee = Math.max(ee, ae), he = Math.max(he, KA));
9216
- return new s(Math.round(XA), Math.round($A), Math.round(ee - XA), Math.round(he - $A));
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
+ return new s(Math.round(XA), Math.round($A), Math.round(ee - XA), Math.round(de - $A));
9217
9217
  }, jA = function() {
9218
9218
  if (this.prevLineDash || this.ctx.lineDash.length || this.ctx.lineDashOffset) {
9219
9219
  var m, S, b = (m = this.ctx.lineDash, S = this.ctx.lineDashOffset, JSON.stringify({ lineDash: m, lineDashOffset: S }));
@@ -10174,24 +10174,24 @@ function Wf(A) {
10174
10174
  }
10175
10175
  function _A(m, S, b, T, j) {
10176
10176
  for (var rA, sA = j[0], iA = j[240], CA = function(KA, XA) {
10177
- var $A, ee, he, ge, Fe, Ue, De, ke, me, Le, re = 0;
10177
+ var $A, ee, de, ge, Fe, Ue, De, ke, me, Le, re = 0;
10178
10178
  for (me = 0; me < 8; ++me) {
10179
- $A = KA[re], ee = KA[re + 1], he = KA[re + 2], ge = KA[re + 3], Fe = KA[re + 4], Ue = KA[re + 5], De = KA[re + 6];
10180
- var Kt = $A + (ke = KA[re + 7]), Pe = $A - ke, Ur = ee + De, Xe = ee - De, ft = he + Ue, An = he - Ue, Re = ge + Fe, Mn = ge - Fe, gt = Kt + Re, Rr = Kt - Re, wn = Ur + ft, ot = Ur - ft;
10181
- KA[re] = gt + wn, KA[re + 4] = gt - wn;
10179
+ $A = KA[re], ee = KA[re + 1], de = KA[re + 2], ge = KA[re + 3], Fe = KA[re + 4], Ue = KA[re + 5], De = KA[re + 6];
10180
+ var Kt = $A + (ke = KA[re + 7]), Pe = $A - ke, Ur = ee + De, Xe = ee - De, ft = de + Ue, An = de - Ue, Re = ge + Fe, Mn = ge - Fe, gt = Kt + Re, Rr = Kt - Re, pn = Ur + ft, ot = Ur - ft;
10181
+ KA[re] = gt + pn, KA[re + 4] = gt - pn;
10182
10182
  var be = 0.707106781 * (ot + Rr);
10183
10183
  KA[re + 2] = Rr + be, KA[re + 6] = Rr - be;
10184
- var Ve = 0.382683433 * ((gt = Mn + An) - (ot = Xe + Pe)), ri = 0.5411961 * gt + Ve, Vt = 1.306562965 * ot + Ve, en = 0.707106781 * (wn = An + Xe), tn = Pe + en, we = Pe - en;
10184
+ var Ve = 0.382683433 * ((gt = Mn + An) - (ot = Xe + Pe)), ri = 0.5411961 * gt + Ve, Vt = 1.306562965 * ot + Ve, en = 0.707106781 * (pn = An + Xe), tn = Pe + en, we = Pe - en;
10185
10185
  KA[re + 5] = we + ri, KA[re + 3] = we - ri, KA[re + 1] = tn + Vt, KA[re + 7] = tn - Vt, re += 8;
10186
10186
  }
10187
10187
  for (re = 0, me = 0; me < 8; ++me) {
10188
- $A = KA[re], ee = KA[re + 8], he = KA[re + 16], ge = KA[re + 24], Fe = KA[re + 32], Ue = KA[re + 40], De = KA[re + 48];
10189
- var Kr = $A + (ke = KA[re + 56]), Qr = $A - ke, cr = ee + De, Et = ee - De, mt = he + Ue, I = he - Ue, z = ge + Fe, R = ge - Fe, G = Kr + z, X = Kr - z, Y = cr + mt, BA = cr - mt;
10188
+ $A = KA[re], ee = KA[re + 8], de = KA[re + 16], ge = KA[re + 24], Fe = KA[re + 32], Ue = KA[re + 40], De = KA[re + 48];
10189
+ var Kr = $A + (ke = KA[re + 56]), Qr = $A - ke, cr = ee + De, Et = ee - De, mt = de + Ue, I = de - Ue, z = ge + Fe, R = ge - Fe, G = Kr + z, X = Kr - z, Y = cr + mt, BA = cr - mt;
10190
10190
  KA[re] = G + Y, KA[re + 32] = G - Y;
10191
10191
  var UA = 0.707106781 * (BA + X);
10192
10192
  KA[re + 16] = X + UA, KA[re + 48] = X - UA;
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, ie = Qr - VA;
10194
- KA[re + 40] = ie + FA, KA[re + 24] = ie - FA, KA[re + 8] = qA + bA, KA[re + 56] = qA - bA, re++;
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 ae = 1; ae <= ZA; ++ae)
10213
+ for (var se = 1; se <= ZA; ++se)
10214
10214
  vA(iA);
10215
10215
  HA &= 15;
10216
10216
  }
@@ -10239,16 +10239,16 @@ function Wf(A) {
10239
10239
  for (var ee = 0; ee < 64; ee++)
10240
10240
  gA(s[ee]);
10241
10241
  gA(1);
10242
- for (var he = 0; he < 64; he++)
10243
- gA(o[he]);
10244
- }(), function(ee, he) {
10245
- EA(65472), EA(17), gA(8), EA(he), EA(ee), gA(3), gA(1), gA(17), gA(0), gA(2), gA(17), gA(1), gA(3), gA(17), gA(1);
10242
+ for (var de = 0; de < 64; de++)
10243
+ gA(o[de]);
10244
+ }(), function(ee, de) {
10245
+ EA(65472), EA(17), gA(8), EA(de), EA(ee), gA(3), gA(1), gA(17), gA(0), gA(2), gA(17), gA(1), gA(3), gA(17), gA(1);
10246
10246
  }(m.width, m.height), function() {
10247
10247
  EA(65476), EA(418), gA(0);
10248
10248
  for (var ee = 0; ee < 16; ee++)
10249
10249
  gA(k[ee + 1]);
10250
- for (var he = 0; he <= 11; he++)
10251
- gA(V[he]);
10250
+ for (var de = 0; de <= 11; de++)
10251
+ gA(V[de]);
10252
10252
  gA(16);
10253
10253
  for (var ge = 0; ge < 16; ge++)
10254
10254
  gA(tA[ge + 1]);
@@ -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, ae = m.height, KA = 4 * HA, XA = 0; XA < ae; ) {
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 >= ae && (RA -= KA * (XA + 1 + ZA - ae)), 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;
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;
@@ -10303,7 +10303,7 @@ function Wf(A) {
10303
10303
  * Licensed under the MIT License.
10304
10304
  * http://opensource.org/licenses/mit-license
10305
10305
  */
10306
- function Qn(A, e) {
10306
+ function Un(A, e) {
10307
10307
  if (this.pos = 0, this.buffer = A, this.datav = new DataView(A.buffer), this.is_with_alpha = !!e, this.bottom_up = !0, this.flag = String.fromCharCode(this.buffer[0]) + String.fromCharCode(this.buffer[1]), this.pos += 2, ["BM", "BA", "CI", "CP", "IC", "PT"].indexOf(this.flag) === -1)
10308
10308
  throw new Error("Invalid BMP File");
10309
10309
  this.parseHeader(), this.parseBGR();
@@ -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, le = 0, Ae = 1, Be = 1, te = 1 << P;
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 + le, aA, te, W), le = V(le, xA);
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(), (le & kA) != MA) {
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 = le & kA)].g = DA + P, D[O + MA].value = OA - 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 + (le >> P), aA, te, W), le = V(le, xA);
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 ae(c, u) {
10501
+ function se(c, u) {
10502
10502
  return c + (1 << u) - 1 >>> u;
10503
10503
  }
10504
10504
  function KA(c, u) {
@@ -10519,11 +10519,11 @@ function hd(A) {
10519
10519
  function ee(c, u) {
10520
10520
  return ((4278124286 & (c ^ u)) >>> 1) + (c & u) >>> 0;
10521
10521
  }
10522
- function he(c) {
10522
+ function de(c) {
10523
10523
  return 0 <= c && 256 > c ? c : 0 > c ? 0 : 255 < c ? 255 : void 0;
10524
10524
  }
10525
10525
  function ge(c, u) {
10526
- return he(c + (c - u + 0.5 >> 1));
10526
+ return de(c + (c - u + 0.5 >> 1));
10527
10527
  }
10528
10528
  function Fe(c, u, B) {
10529
10529
  return Math.abs(u - B) - Math.abs(c - B);
@@ -10618,7 +10618,7 @@ function hd(A) {
10618
10618
  function Rr() {
10619
10619
  this.Rd = this.height = this.width = this.S = 0, this.f = {}, this.f.RGBA = new Mn(), this.f.kb = new gt(), this.sd = null;
10620
10620
  }
10621
- function wn() {
10621
+ function pn() {
10622
10622
  this.width = [0], this.height = [0], this.Pd = [0], this.Qd = [0], this.format = [0];
10623
10623
  }
10624
10624
  function ot() {
@@ -10715,32 +10715,32 @@ 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, le = kA - 1, Ae = ae(MA, te.b), Be = te.K, te = te.w + (QA >> te.b) * Ae; QA < oA; ) {
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 & ~le) + kA;
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 & le || (te += Ae);
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 = ae(xA, W.b), kA = W.K, W = W.w + (aA >> W.b) * QA; aA < mA; ) {
10730
- for (le = kA, Ae = W, Be = new $A(), te = oA + DA, je = oA + xA; oA < te; )
10731
- ke(le[Ae++], Be), rn(Be, OA, oA, hA, P, O), oA += hA, O += hA;
10732
- oA < je && (ke(le[Ae++], Be), rn(Be, OA, oA, MA, P, O), oA += MA, O += MA), ++aA & lA || (W += QA);
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) * ae(W.Ea, W.b)), hA = P, lA = O, QA = [], DA = (MA = DA) - 1; 0 <= DA; --DA)
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];
10741
- yn(W, aA, mA, P, OA, P, O);
10741
+ Cn(W, aA, mA, P, OA, P, O);
10742
10742
  } else
10743
- yn(W, aA, mA, xA, hA, P, O);
10743
+ Cn(W, aA, mA, xA, hA, P, O);
10744
10744
  }
10745
10745
  O = C, P = B;
10746
10746
  }
@@ -10761,7 +10761,7 @@ function hd(A) {
10761
10761
  var hA = D, OA = O, QA = E, oA = W, lA = aA;
10762
10762
  switch (C) {
10763
10763
  case Ql:
10764
- Fn(hA, OA, QA, oA, lA);
10764
+ yn(hA, OA, QA, oA, lA);
10765
10765
  break;
10766
10766
  case Tl:
10767
10767
  Li(hA, OA, QA, oA, lA);
@@ -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 le = mA - B;
10848
- e((QA = c).Pb), QA.wd = QA.m, QA.xd = le, 0 < QA.s.ua && SA(QA.s.Wa, QA.s.vb), QA = O + fw;
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, le = u;
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), le[Ae] = Be.value, kA = 0) : (T(kA, kA.u + Be.g - 256), e(256 <= Be.value), kA = Be.value), kA == 0 && (MA = !0);
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), le = cr(DA.G[2], DA.H[2], W), Ae = cr(DA.G[3], DA.H[3], W), W.h)
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 | le) >>> 0;
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), le = cr(DA.G[4], DA.H[4], W), j(W), le = Qr(C, le = Kr(le, W)), W.h)
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 < le || E - mA < kA)
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 - le];
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 >>> (le = oA).Xa)), u[kA] = le.X[MA], MA = !0;
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
  }
@@ -10907,7 +10907,7 @@ function hd(A) {
10907
10907
  }
10908
10908
  function UA() {
10909
10909
  var c = new qc();
10910
- return c == null ? null : (c.a = 0, c.xb = Eh, An("Predictor", "VP8LPredictors"), An("Predictor", "VP8LPredictors_C"), An("PredictorAdd", "VP8LPredictorsAdd"), An("PredictorAdd", "VP8LPredictorsAdd_C"), _l = De, rn = me, Fn = re, Li = Kt, Gn = Pe, oi = Ur, Ya = Xe, k.VP8LMapColor32b = io, k.VP8LMapColor8b = Zc, c);
10910
+ return c == null ? null : (c.a = 0, c.xb = Eh, An("Predictor", "VP8LPredictors"), An("Predictor", "VP8LPredictors_C"), An("PredictorAdd", "VP8LPredictorsAdd"), An("PredictorAdd", "VP8LPredictorsAdd_C"), _l = De, rn = me, yn = re, Li = Kt, Gn = Pe, oi = Ur, Ya = Xe, k.VP8LMapColor32b = io, k.VP8LMapColor8b = Zc, c);
10911
10911
  }
10912
10912
  function wA(c, u, B, C, E) {
10913
10913
  var L = 1, D = [c], O = [u], P = C.m, W = C.s, aA = null, mA = 0;
@@ -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(ae(lA.Ea, lA.b), ae(lA.nc, lA.b), 0, OA, lA.K), lA.K = lA.K[0];
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, le = 16 < kA ? 0 : 4 < kA ? 1 : 2 < kA ? 2 : 3;
10929
- if (xA[0] = ae(lA.Ea, le), lA.b = le, MA = QA = wA(kA, 1, 0, OA, lA.K)) {
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 = ae(Ot, qt), pa = ae(Dr, qt), As = hi * pa;
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) {
@@ -10986,7 +10986,7 @@ function hd(A) {
10986
10986
  }
10987
10987
  var Pl = of;
10988
10988
  for (nt = kt = 0; nt < Cr; ++nt) {
10989
- var Sn = Hl[nt], es = Sn.G, ts = Sn.H, Oh = 0, Ml = 1, Hh = 0;
10989
+ var _n = Hl[nt], es = _n.G, ts = _n.H, Oh = 0, Ml = 1, Hh = 0;
10990
10990
  for (Qe = 0; 5 > Qe; ++Qe) {
10991
10991
  Ct = Fh[Qe], es[Qe] = Pl, ts[Qe] = kt, !Qe && 0 < Je && (Ct += 1 << Je);
10992
10992
  n: {
@@ -11044,8 +11044,8 @@ function hd(A) {
11044
11044
  Hh += hf;
11045
11045
  }
11046
11046
  }
11047
- if (Sn.nd = Ml, Sn.Qb = 0, Ml && (Sn.qb = (es[3][ts[3] + 0].value << 24 | es[1][ts[1] + 0].value << 16 | es[2][ts[2] + 0].value) >>> 0, Oh == 0 && 256 > es[0][ts[0] + 0].value && (Sn.Qb = 1, Sn.qb += es[0][ts[0] + 0].value << 8)), Sn.jc = !Sn.Qb && 6 > Hh, Sn.jc) {
11048
- var Wl, di = Sn;
11047
+ if (_n.nd = Ml, _n.Qb = 0, Ml && (_n.qb = (es[3][ts[3] + 0].value << 24 | es[1][ts[1] + 0].value << 16 | es[2][ts[2] + 0].value) >>> 0, Oh == 0 && 256 > es[0][ts[0] + 0].value && (_n.Qb = 1, _n.qb += es[0][ts[0] + 0].value << 8)), _n.jc = !_n.Qb && 6 > Hh, _n.jc) {
11048
+ var Wl, di = _n;
11049
11049
  for (Wl = 0; Wl < Lr; ++Wl) {
11050
11050
  var Ri = Wl, Ki = di.pd[Ri], Xl = di.G[0][di.H[0] + Ri];
11051
11051
  256 <= Xl.value ? (Ki.g = Xl.g + 256, Ki.value = Xl.value) : (Ki.g = 0, Ki.value = 0, Ri >>= Et(Xl, 8, Ki), Ri >>= Et(di.G[1][di.H[1] + Ri], 16, Ki), Ri >>= Et(di.G[2][di.H[2] + Ri], 0, Ki), Et(di.G[3][di.H[3] + Ri], 24, Ki));
@@ -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 = ae(qh, pf), gf.wc = pf == 0 ? -1 : (1 << pf) - 1, B) {
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 ie() {
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() {
@@ -11127,23 +11127,23 @@ function hd(A) {
11127
11127
  function Nt() {
11128
11128
  this.Sc = [0, 0], this.Eb = [0, 0], this.Qc = [0, 0], this.ia = this.lc = 0;
11129
11129
  }
11130
- function Bn() {
11130
+ function wn() {
11131
11131
  this.ad = i(384), this.Za = 0, this.Ob = i(16), this.$b = this.Ad = this.ia = this.Gc = this.Hc = this.Dd = 0;
11132
11132
  }
11133
11133
  function ni() {
11134
- this.uc = this.M = this.Nb = 0, this.wa = Array(new ze()), this.Y = 0, this.ya = Array(new Bn()), this.aa = 0, this.l = new Kn();
11134
+ this.uc = this.M = this.Nb = 0, this.wa = Array(new ze()), this.Y = 0, this.ya = Array(new wn()), this.aa = 0, this.l = new Kn();
11135
11135
  }
11136
11136
  function Rn() {
11137
11137
  this.y = i(16), this.f = i(8), this.ea = i(8);
11138
11138
  }
11139
- function vn() {
11140
- this.cb = this.a = 0, this.sc = "", this.m = new jA(), this.Od = new VA(), this.Kc = new qA(), this.ed = new ye(), this.Qa = new ie(), this.Ic = this.$c = this.Aa = 0, this.D = new ni(), this.Xb = this.Va = this.Hb = this.zb = this.yb = this.Ub = this.za = 0, this.Jc = a(8, jA), this.ia = 0, this.pb = a(4, Nt), this.Pa = new ne(), this.Bd = this.kc = 0, this.Ac = [], this.Bc = 0, this.zc = [0, 0, 0, 0], this.Gd = Array(new Rn()), this.Hd = 0, this.rb = Array(new rt()), this.sb = 0, this.wa = Array(new ze()), this.Y = 0, this.oc = [], this.pc = 0, this.sa = [], this.ta = 0, this.qa = [], this.ra = 0, this.Ha = [], this.B = this.R = this.Ia = 0, this.Ec = [], this.M = this.ja = this.Vb = this.Fc = 0, this.ya = Array(new Bn()), 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;
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 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;
11144
11144
  }
11145
11145
  function Vr() {
11146
- var c = new vn();
11146
+ var c = new Bn();
11147
11147
  return c != null && (c.a = 0, c.sc = "OK", c.cb = 0, c.Xb = 0, oo || (oo = ul)), c;
11148
11148
  }
11149
11149
  function _t(c, u, B) {
@@ -11320,7 +11320,7 @@ function hd(A) {
11320
11320
  }
11321
11321
  c.Vb = D;
11322
11322
  }
11323
- D = c.Ec, O = c.Fc, c.Ac = D, c.Bc = O, O += C, c.Gd = a(W, Rn), c.Hd = 0, c.rb = a(aA + 1, rt), c.sb = 1, c.wa = mA ? a(mA, ze) : null, c.Y = 0, c.D.Nb = 0, c.D.wa = c.wa, c.D.Y = c.Y, 0 < c.Aa && (c.D.Y += P), e(!0), c.oc = D, c.pc = O, O += 832, c.ya = a(xA, Bn), c.aa = 0, c.D.ya = c.ya, c.D.aa = c.aa, c.Aa == 2 && (c.D.aa += P), c.R = 16 * P, c.B = 8 * P, P = (W = Ol[c.L]) * c.R, W = W / 2 * c.B, c.sa = D, c.ta = O + P, c.qa = c.sa, c.ra = c.ta + 16 * B * c.R + W, c.Ha = c.qa, c.Ia = c.ra + 8 * B * c.B + W, c.$c = 0, O += E, c.mb = L ? D : null, c.nb = L ? O : null, e(O + L <= c.Fc + c.Vb), Ms(c), n(c.Ac, c.Bc, 0, C), B = 1;
11323
+ D = c.Ec, O = c.Fc, c.Ac = D, c.Bc = O, O += C, c.Gd = a(W, Rn), c.Hd = 0, c.rb = a(aA + 1, rt), c.sb = 1, c.wa = mA ? a(mA, ze) : null, c.Y = 0, c.D.Nb = 0, c.D.wa = c.wa, c.D.Y = c.Y, 0 < c.Aa && (c.D.Y += P), e(!0), c.oc = D, c.pc = O, O += 832, c.ya = a(xA, wn), c.aa = 0, c.D.ya = c.ya, c.D.aa = c.aa, c.Aa == 2 && (c.D.aa += P), c.R = 16 * P, c.B = 8 * P, P = (W = Ol[c.L]) * c.R, W = W / 2 * c.B, c.sa = D, c.ta = O + P, c.qa = c.sa, c.ra = c.ta + 16 * B * c.R + W, c.Ha = c.qa, c.Ia = c.ra + 8 * B * c.B + W, c.$c = 0, O += E, c.mb = L ? D : null, c.nb = L ? O : null, e(O + L <= c.Fc + c.Vb), Ms(c), n(c.Ac, c.Bc, 0, C), B = 1;
11324
11324
  }
11325
11325
  }
11326
11326
  if (B) {
@@ -11335,7 +11335,7 @@ function hd(A) {
11335
11335
  mh[255 + B] = 0 > B ? 0 : 255 < B ? 255 : B;
11336
11336
  xh = 1;
11337
11337
  }
11338
- bn = Dc, Ja = Ic, Ii = dl, En = Nc, li = gl, ao = hl, da = Ws, Za = ua, ga = zc, Ni = Xs, so = Xc, nn = Ka, ci = zs, ut = Fl, ht = yl, St = ai, Gt = Si, fi = Wc, _n[0] = Vn, _n[1] = kc, _n[2] = Mc, _n[3] = Rc, _n[4] = Bl, _n[5] = Ma, _n[6] = vl, _n[7] = Vs, _n[8] = Vc, _n[9] = Kc, ki[0] = pl, ki[1] = Hc, ki[2] = ii, ki[3] = Ha, ki[4] = fr, ki[5] = Pc, ki[6] = wl, ui[0] = _i, ui[1] = Oc, ui[2] = Gc, ui[3] = Gs, ui[4] = fa, ui[5] = jc, ui[6] = js, B = 1;
11338
+ Fn = Dc, Ja = Ic, Ii = dl, bn = Nc, li = gl, ao = hl, da = Ws, Za = ua, ga = zc, Ni = Xs, so = Xc, nn = Ka, ci = zs, ut = Fl, ht = yl, St = ai, Gt = Si, fi = Wc, En[0] = Vn, En[1] = kc, En[2] = Mc, En[3] = Rc, En[4] = Bl, En[5] = Ma, En[6] = vl, En[7] = Vs, En[8] = Vc, En[9] = Kc, ki[0] = pl, ki[1] = Hc, ki[2] = ii, ki[3] = Ha, ki[4] = fr, ki[5] = Pc, ki[6] = wl, ui[0] = _i, ui[1] = Oc, ui[2] = Gc, ui[3] = Gs, ui[4] = fa, ui[5] = jc, ui[6] = js, B = 1;
11339
11339
  } else
11340
11340
  B = 0;
11341
11341
  }
@@ -11343,37 +11343,37 @@ 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, le = kA.Ac, Ae = kA.Bc + 4 * QA, Be = kA.zc, te = kA.ya[kA.aa + QA];
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[le[Ae + Ke]][Oe];
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, le[Ae + Ke] = Oe;
11355
+ Oe = -lt, ce[Ae + Ke] = Oe;
11356
11356
  }
11357
- r(je, Ye, le, Ae, 4), Ye += 4, Be[0 + kA] = Oe;
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(le, Ae, Oe, 4), n(Be, 0, Oe, 4);
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], le = lA.rb[lA.sb + lA.ja], QA = lA.ya[lA.aa + lA.ja], Ae = lA.kc ? QA.Ad : 0)
11367
- MA.la = le.la = 0, QA.Za || (MA.Na = le.Na = 0), QA.Hc = 0, QA.Gc = 0, QA.ia = 0;
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 = le, le = 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)
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(le, Ae[1], Ot, te.Eb, 0, lt, 0), MA.Na = Ye.Na = (0 < Ot) + 0, 1 < Ot)
11376
- bn(lt, 0, kA, je);
11375
+ if (Ot = oo(ce, Ae[1], Ot, te.Eb, 0, lt, 0), MA.Na = Ye.Na = (0 < Ot) + 0, 1 < Ot)
11376
+ Fn(lt, 0, kA, je);
11377
11377
  else {
11378
11378
  var Dr = lt[0] + 3 >> 3;
11379
11379
  for (lt = 0; 256 > lt; lt += 16)
@@ -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(le, 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;
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(le, Ae[2], Ot, te.Qc, 0, kA, je))) << 3, Qe = Qe << 2 | (3 < Ot ? 3 : 1 < Ot ? 2 : kA[je + 0] != 0), je += 16;
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, le = 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 - le + Dr, je = oA.Ha, Ye = oA.Ia - le + Dr, Wr = (Je = Qe.M) == 0, Ke = Je >= oA.Va - 1, oA.Aa == 2 && Ao(oA, Qe), Qe.uc)
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 - le, te, kA + 8 * oA.B, le), r(oA.Ha, oA.Ia - le, je, Ye + 8 * oA.B, le));
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.");
@@ -11434,11 +11434,11 @@ function hd(A) {
11434
11434
  }
11435
11435
  return B ? (c.cb = 0, B) : 0;
11436
11436
  }
11437
- function mn(c, u, B, C, E) {
11437
+ function vn(c, u, B, C, E) {
11438
11438
  E = c[u + B + 32 * C] + (E >> 3), c[u + B + 32 * C] = -256 & E ? 0 > E ? 0 : 255 : E;
11439
11439
  }
11440
11440
  function Oa(c, u, B, C, E, L) {
11441
- mn(c, u, 0, B, C + E), mn(c, u, 1, B, C + L), mn(c, u, 2, B, C - L), mn(c, u, 3, B, C - E);
11441
+ vn(c, u, 0, B, C + E), vn(c, u, 1, B, C + L), vn(c, u, 2, B, C - L), vn(c, u, 3, B, C - E);
11442
11442
  }
11443
11443
  function Tr(c) {
11444
11444
  return (20091 * c >> 16) + c;
@@ -11450,7 +11450,7 @@ function hd(A) {
11450
11450
  D[L + 0] = O + aA, D[L + 1] = P + W, D[L + 2] = P - W, D[L + 3] = O - aA, L += 4, u++;
11451
11451
  }
11452
11452
  for (E = L = 0; 4 > E; ++E)
11453
- O = (c = D[L + 0] + 4) + D[L + 8], P = c - D[L + 8], W = (35468 * D[L + 4] >> 16) - Tr(D[L + 12]), mn(B, C, 0, 0, O + (aA = Tr(D[L + 4]) + (35468 * D[L + 12] >> 16))), mn(B, C, 1, 0, P + W), mn(B, C, 2, 0, P - W), mn(B, C, 3, 0, O - aA), L++, C += 32;
11453
+ O = (c = D[L + 0] + 4) + D[L + 8], P = c - D[L + 8], W = (35468 * D[L + 4] >> 16) - Tr(D[L + 12]), vn(B, C, 0, 0, O + (aA = Tr(D[L + 4]) + (35468 * D[L + 12] >> 16))), vn(B, C, 1, 0, P + W), vn(B, C, 2, 0, P - W), vn(B, C, 3, 0, O - aA), L++, C += 32;
11454
11454
  }
11455
11455
  function hl(c, u, B, C) {
11456
11456
  var E = c[u + 0] + 4, L = 35468 * c[u + 4] >> 16, D = Tr(c[u + 4]), O = 35468 * c[u + 1] >> 16;
@@ -11466,10 +11466,10 @@ function hd(A) {
11466
11466
  var E;
11467
11467
  for (c = c[u + 0] + 4, E = 0; 4 > E; ++E)
11468
11468
  for (u = 0; 4 > u; ++u)
11469
- mn(B, C, u, E, c);
11469
+ vn(B, C, u, E, c);
11470
11470
  }
11471
11471
  function gl(c, u, B, C) {
11472
- c[u + 0] && En(c, u + 0, B, C), c[u + 16] && En(c, u + 16, B, C + 4), c[u + 32] && En(c, u + 32, B, C + 128), c[u + 48] && En(c, u + 48, B, C + 128 + 4);
11472
+ c[u + 0] && bn(c, u + 0, B, C), c[u + 16] && bn(c, u + 16, B, C + 4), c[u + 32] && bn(c, u + 32, B, C + 128), c[u + 48] && bn(c, u + 48, B, C + 128 + 4);
11473
11473
  }
11474
11474
  function Dc(c, u, B, C) {
11475
11475
  var E, L = i(16);
@@ -11660,7 +11660,7 @@ function hd(A) {
11660
11660
  u += C;
11661
11661
  }
11662
11662
  }
11663
- function xn(c, u, B, C, E, L, D, O) {
11663
+ function mn(c, u, B, C, E, L, D, O) {
11664
11664
  for (L = 2 * L + 1; 0 < E--; ) {
11665
11665
  if (Cl(c, u, B, L, D))
11666
11666
  if (ml(c, u, B, O))
@@ -11681,12 +11681,12 @@ function hd(A) {
11681
11681
  function Xc(c, u, B, C, E, L) {
11682
11682
  var D;
11683
11683
  for (D = 3; 0 < D; --D)
11684
- xn(c, u += 4 * B, B, 1, 16, C, E, L);
11684
+ mn(c, u += 4 * B, B, 1, 16, C, E, L);
11685
11685
  }
11686
11686
  function Ka(c, u, B, C, E, L) {
11687
11687
  var D;
11688
11688
  for (D = 3; 0 < D; --D)
11689
- xn(c, u += 4, 1, B, 16, C, E, L);
11689
+ mn(c, u += 4, 1, B, 16, C, E, L);
11690
11690
  }
11691
11691
  function zc(c, u, B, C, E, L, D, O) {
11692
11692
  Ui(c, u, E, 1, 8, L, D, O), Ui(B, C, E, 1, 8, L, D, O);
@@ -11695,10 +11695,10 @@ function hd(A) {
11695
11695
  Ui(c, u, 1, E, 8, L, D, O), Ui(B, C, 1, E, 8, L, D, O);
11696
11696
  }
11697
11697
  function zs(c, u, B, C, E, L, D, O) {
11698
- xn(c, u + 4 * E, E, 1, 8, L, D, O), xn(B, C + 4 * E, E, 1, 8, L, D, O);
11698
+ mn(c, u + 4 * E, E, 1, 8, L, D, O), mn(B, C + 4 * E, E, 1, 8, L, D, O);
11699
11699
  }
11700
11700
  function Fl(c, u, B, C, E, L, D, O) {
11701
- xn(c, u + 4, 1, E, 8, L, D, O), xn(B, C + 4, 1, E, 8, L, D, O);
11701
+ mn(c, u + 4, 1, E, 8, L, D, O), mn(B, C + 4, 1, E, 8, L, D, O);
11702
11702
  }
11703
11703
  function Va() {
11704
11704
  this.ba = new Rr(), this.ec = [], this.cc = [], this.Mc = [], this.Dc = this.Nc = this.dc = this.fc = 0, this.Oa = new ot(), this.memory = 0, this.Ib = "OutputFunc", this.Jb = "OutputAlphaFunc", this.Nd = "OutputRowFunc";
@@ -11805,13 +11805,13 @@ function hd(A) {
11805
11805
  break e;
11806
11806
  }
11807
11807
  QA = Kr(QA - 256, aA);
11808
- var le, Ae = cr(kA.G[4], kA.H[4], aA);
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 (le = 0; le < QA; ++le)
11814
- O[xA + oA + le] = O[xA + oA + le - Ae];
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, le = MA - 1 >> 1, Ae = O[P + 0] | W[aA + 0] << 16, Be = mA[xA + 0] | hA[OA + 0] << 16;
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 <= le; ++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 oe(c) {
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 oe((19077 * c >> 8) + (26149 * u >> 8) - 14234);
11899
+ return le((19077 * c >> 8) + (26149 * u >> 8) - 14234);
11900
11900
  }
11901
11901
  function Se(c, u, B) {
11902
- return oe((19077 * c >> 8) - (6419 * u >> 8) - (13320 * B >> 8) + 8708);
11902
+ return le((19077 * c >> 8) - (6419 * u >> 8) - (13320 * B >> 8) + 8708);
11903
11903
  }
11904
11904
  function Ie(c, u) {
11905
- return oe((19077 * c >> 8) + (33050 * u >> 8) - 17685);
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);
@@ -11924,7 +11924,7 @@ function hd(A) {
11924
11924
  function Xt(c, u, B, C, E) {
11925
11925
  vt(c, u, B, C, E), C[E + 3] = 255;
11926
11926
  }
11927
- function Cn(c, u, B, C, E) {
11927
+ function xn(c, u, B, C, E) {
11928
11928
  Me(c, u, B, C, E), C[E + 3] = 255;
11929
11929
  }
11930
11930
  function Gr(c, u) {
@@ -11949,7 +11949,7 @@ function hd(A) {
11949
11949
  ao(u, B, C, E);
11950
11950
  break;
11951
11951
  case 1:
11952
- En(u, B, C, E);
11952
+ bn(u, B, C, E);
11953
11953
  }
11954
11954
  }
11955
11955
  function Ao(c, u) {
@@ -11972,7 +11972,7 @@ function hd(A) {
11972
11972
  for (0 < E && (C >= c.za - 1 ? n(lA, DA, hA[OA].y[15], 4) : r(lA, DA, hA[OA + 1].y, 0, 4)), B = 0; 4 > B; B++)
11973
11973
  lA[DA + 128 + B] = lA[DA + 256 + B] = lA[DA + 384 + B] = lA[DA + 0 + B];
11974
11974
  for (B = 0; 16 > B; ++B, oA <<= 2)
11975
- lA = D, DA = O + Ih[B], _n[xA.Ob[B]](lA, DA), $s(oA, QA, 16 * +B, lA, DA);
11975
+ lA = D, DA = O + Ih[B], En[xA.Ob[B]](lA, DA), $s(oA, QA, 16 * +B, lA, DA);
11976
11976
  } else if (lA = El(C, E, xA.Ob[0]), ki[lA](D, O), oA != 0)
11977
11977
  for (B = 0; 16 > B; ++B, oA <<= 2)
11978
11978
  $s(oA, QA, 16 * +B, D, O + Ih[B]);
@@ -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, le = OA = [0];
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
- le != null && (le[0] = Ae), MA != null && (MA[0] = Be), kA != null && (kA[0] = DA), QA[0] += 18, oA[0] -= 18, te[0] = 1;
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, le = hA.Sa, Be = 22, e(Ae != null), e(lA != null), DA = oA[0];
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(le != null), MA[0] = null, kA[0] = null, le[0] = 0; ; ) {
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, le[0] = Ye), DA += Ke, je -= Ke;
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, le = 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(le != null), 8 > lA[0])
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, le[0] = Be;
12101
+ kA[0] = te, oA[0] += 8, lA[0] -= 8, ce[0] = Be;
12102
12102
  } else
12103
- le[0] = 5 <= lA[0] && te[Ae + 0] == 47 && !(te[Ae + 4] >> 5), kA[0] = lA[0];
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)
@@ -12222,7 +12222,7 @@ function hd(A) {
12222
12222
  return 0 >= Fe(C >> 24 & 255, c >> 24 & 255, (u = u[B - 1]) >> 24 & 255) + Fe(C >> 16 & 255, c >> 16 & 255, u >> 16 & 255) + Fe(C >> 8 & 255, c >> 8 & 255, u >> 8 & 255) + Fe(255 & C, 255 & c, 255 & u) ? C : c;
12223
12223
  }, k.Predictor12 = function(c, u, B) {
12224
12224
  var C = u[B + 0];
12225
- return (he((c >> 24 & 255) + (C >> 24 & 255) - ((u = u[B - 1]) >> 24 & 255)) << 24 | he((c >> 16 & 255) + (C >> 16 & 255) - (u >> 16 & 255)) << 16 | he((c >> 8 & 255) + (C >> 8 & 255) - (u >> 8 & 255)) << 8 | he((255 & c) + (255 & C) - (255 & u))) >>> 0;
12225
+ return (de((c >> 24 & 255) + (C >> 24 & 255) - ((u = u[B - 1]) >> 24 & 255)) << 24 | de((c >> 16 & 255) + (C >> 16 & 255) - (u >> 16 & 255)) << 16 | de((c >> 8 & 255) + (C >> 8 & 255) - (u >> 8 & 255)) << 8 | de((255 & c) + (255 & C) - (255 & u))) >>> 0;
12226
12226
  }, k.Predictor13 = function(c, u, B) {
12227
12227
  var C = u[B - 1];
12228
12228
  return (ge((c = ee(c, u[B + 0])) >> 24 & 255, C >> 24 & 255) << 24 | ge(c >> 16 & 255, C >> 16 & 255) << 16 | ge(c >> 8 & 255, C >> 8 & 255) << 8 | ge(c >> 0 & 255, C >> 0 & 255)) >>> 0;
@@ -12239,17 +12239,17 @@ function hd(A) {
12239
12239
  }, function(c) {
12240
12240
  return c >> 8 & 255;
12241
12241
  });
12242
- var _l, yn = k.ColorIndexInverseTransform, io = k.MapARGB, Jc = k.VP8LColorIndexInverseTransformAlpha, Zc = k.MapAlpha, Ti = k.VP8LPredictorsAdd = [];
12242
+ var _l, Cn = k.ColorIndexInverseTransform, io = k.MapARGB, Jc = k.VP8LColorIndexInverseTransformAlpha, Zc = k.MapAlpha, Ti = k.VP8LPredictorsAdd = [];
12243
12243
  Ti.length = 16, (k.VP8LPredictors = []).length = 16, (k.VP8LPredictorsAdd_C = []).length = 16, (k.VP8LPredictors_C = []).length = 16;
12244
- var rn, Fn, Li, Gn, oi, Ya, bn, Ja, ao, Ii, En, li, da, Za, ga, Ni, so, nn, ci, ut, ht, St, Gt, fi, Di, $a, Sl, ph, wh = i(511), Bh = i(2041), vh = i(225), mh = i(767), xh = 0, $c = Bh, Ul = vh, jr = mh, an = wh, Ql = 0, Tl = 1, Ch = 2, Ll = 3, Il = 4, Af = 5, yh = 6, ef = 7, tf = 8, Nl = 9, rf = 10, iw = [2, 3, 7], aw = [3, 3, 11], Fh = [280, 256, 256, 256, 40], sw = [0, 1, 1, 1, 0], ow = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], lw = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], cw = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], fw = 8, nf = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], af = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], oo = null, uw = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], hw = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], bh = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], dw = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], gw = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], pw = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ww = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], ki = [], _n = [], ui = [], Bw = 1, Eh = 2, Oi = [], sn = [];
12245
- TA("UpsampleRgbLinePair", Me, 3), TA("UpsampleBgrLinePair", vt, 3), TA("UpsampleRgbaLinePair", Cn, 4), TA("UpsampleBgraLinePair", Xt, 4), TA("UpsampleArgbLinePair", ur, 4), TA("UpsampleRgba4444LinePair", Dt, 2), TA("UpsampleRgb565LinePair", xt, 2);
12244
+ var rn, yn, Li, Gn, oi, Ya, Fn, Ja, ao, Ii, bn, li, da, Za, ga, Ni, so, nn, ci, ut, ht, St, Gt, fi, Di, $a, Sl, ph, wh = i(511), Bh = i(2041), vh = i(225), mh = i(767), xh = 0, $c = Bh, Ul = vh, jr = mh, an = wh, Ql = 0, Tl = 1, Ch = 2, Ll = 3, Il = 4, Af = 5, yh = 6, ef = 7, tf = 8, Nl = 9, rf = 10, iw = [2, 3, 7], aw = [3, 3, 11], Fh = [280, 256, 256, 256, 40], sw = [0, 1, 1, 1, 0], ow = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], lw = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], cw = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], fw = 8, nf = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], af = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], oo = null, uw = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], hw = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], bh = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], dw = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], gw = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], pw = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ww = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], ki = [], En = [], ui = [], Bw = 1, Eh = 2, Oi = [], sn = [];
12245
+ TA("UpsampleRgbLinePair", Me, 3), TA("UpsampleBgrLinePair", vt, 3), TA("UpsampleRgbaLinePair", xn, 4), TA("UpsampleBgraLinePair", Xt, 4), TA("UpsampleArgbLinePair", ur, 4), TA("UpsampleRgba4444LinePair", Dt, 2), TA("UpsampleRgb565LinePair", xt, 2);
12246
12246
  var vw = k.UpsampleRgbLinePair, mw = k.UpsampleBgrLinePair, _h = k.UpsampleRgbaLinePair, Sh = k.UpsampleBgraLinePair, Uh = k.UpsampleArgbLinePair, Qh = k.UpsampleRgba4444LinePair, xw = k.UpsampleRgb565LinePair, Dl = 16, kl = 1 << Dl - 1, lo = -227, sf = 482, Th = 6, Cw = (256 << Th) - 1, Lh = 0, yw = i(256), Fw = i(256), bw = i(256), Ew = i(256), _w = i(sf - lo), Sw = i(sf - lo);
12247
- si("YuvToRgbRow", Me, 3), si("YuvToBgrRow", vt, 3), si("YuvToRgbaRow", Cn, 4), si("YuvToBgraRow", Xt, 4), si("YuvToArgbRow", ur, 4), si("YuvToRgba4444Row", Dt, 2), si("YuvToRgb565Row", xt, 2);
12247
+ si("YuvToRgbRow", Me, 3), si("YuvToBgrRow", vt, 3), si("YuvToRgbaRow", xn, 4), si("YuvToBgraRow", Xt, 4), si("YuvToArgbRow", ur, 4), si("YuvToRgba4444Row", Dt, 2), si("YuvToRgb565Row", xt, 2);
12248
12248
  var Ih = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], Ol = [0, 2, 8], Uw = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], Qw = 1;
12249
12249
  this.WebPDecodeRGBA = function(c, u, B, C, E) {
12250
12250
  var L = Tl, D = new Va(), O = new Rr();
12251
12251
  D.ba = O, O.S = L, O.width = [O.width], O.height = [O.height];
12252
- var P = O.width, W = O.height, aA = new wn();
12252
+ var P = O.width, W = O.height, aA = new pn();
12253
12253
  if (aA == null || c == null)
12254
12254
  var mA = 2;
12255
12255
  else
@@ -12550,7 +12550,7 @@ function hd(A) {
12550
12550
  var l = { data: o, width: a, height: s }, f = new Wf(100).encode(l, 100);
12551
12551
  return A.processJPEG.call(this, f, t, r, n);
12552
12552
  }, A.processGIF87A = A.processGIF89A;
12553
- }(xe.API), Qn.prototype.parseHeader = function() {
12553
+ }(xe.API), Un.prototype.parseHeader = function() {
12554
12554
  if (this.fileSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.reserved = this.datav.getUint32(this.pos, !0), this.pos += 4, this.offset = this.datav.getUint32(this.pos, !0), this.pos += 4, this.headerSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.width = this.datav.getUint32(this.pos, !0), this.pos += 4, this.height = this.datav.getInt32(this.pos, !0), this.pos += 4, this.planes = this.datav.getUint16(this.pos, !0), this.pos += 2, this.bitPP = this.datav.getUint16(this.pos, !0), this.pos += 2, this.compress = this.datav.getUint32(this.pos, !0), this.pos += 4, this.rawSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.hr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.vr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.colors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.importantColors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.bitPP === 16 && this.is_with_alpha && (this.bitPP = 15), this.bitPP < 15) {
12555
12555
  var A = this.colors === 0 ? 1 << this.bitPP : this.colors;
12556
12556
  this.palette = new Array(A);
@@ -12560,7 +12560,7 @@ function hd(A) {
12560
12560
  }
12561
12561
  }
12562
12562
  this.height < 0 && (this.height *= -1, this.bottom_up = !1);
12563
- }, Qn.prototype.parseBGR = function() {
12563
+ }, Un.prototype.parseBGR = function() {
12564
12564
  this.pos = this.offset;
12565
12565
  try {
12566
12566
  var A = "bit" + this.bitPP, e = this.width * this.height * 4;
@@ -12568,7 +12568,7 @@ function hd(A) {
12568
12568
  } catch (t) {
12569
12569
  ct.log("bit decode error:" + t);
12570
12570
  }
12571
- }, Qn.prototype.bit1 = function() {
12571
+ }, Un.prototype.bit1 = function() {
12572
12572
  var A, e = Math.ceil(this.width / 8), t = e % 4;
12573
12573
  for (A = this.height - 1; A >= 0; A--) {
12574
12574
  for (var r = this.bottom_up ? A : this.height - 1 - A, n = 0; n < e; n++)
@@ -12578,7 +12578,7 @@ function hd(A) {
12578
12578
  }
12579
12579
  t !== 0 && (this.pos += 4 - t);
12580
12580
  }
12581
- }, Qn.prototype.bit4 = function() {
12581
+ }, Un.prototype.bit4 = function() {
12582
12582
  for (var A = Math.ceil(this.width / 2), e = A % 4, t = this.height - 1; t >= 0; t--) {
12583
12583
  for (var r = this.bottom_up ? t : this.height - 1 - t, n = 0; n < A; n++) {
12584
12584
  var i = this.datav.getUint8(this.pos++, !0), a = r * this.width * 4 + 2 * n * 4, s = i >> 4, o = 15 & i, l = this.palette[s];
@@ -12588,7 +12588,7 @@ function hd(A) {
12588
12588
  }
12589
12589
  e !== 0 && (this.pos += 4 - e);
12590
12590
  }
12591
- }, Qn.prototype.bit8 = function() {
12591
+ }, Un.prototype.bit8 = function() {
12592
12592
  for (var A = this.width % 4, e = this.height - 1; e >= 0; e--) {
12593
12593
  for (var t = this.bottom_up ? e : this.height - 1 - e, r = 0; r < this.width; r++) {
12594
12594
  var n = this.datav.getUint8(this.pos++, !0), i = t * this.width * 4 + 4 * r;
@@ -12600,7 +12600,7 @@ function hd(A) {
12600
12600
  }
12601
12601
  A !== 0 && (this.pos += 4 - A);
12602
12602
  }
12603
- }, Qn.prototype.bit15 = function() {
12603
+ }, Un.prototype.bit15 = function() {
12604
12604
  for (var A = this.width % 3, e = parseInt("11111", 2), t = this.height - 1; t >= 0; t--) {
12605
12605
  for (var r = this.bottom_up ? t : this.height - 1 - t, n = 0; n < this.width; n++) {
12606
12606
  var i = this.datav.getUint16(this.pos, !0);
@@ -12610,7 +12610,7 @@ function hd(A) {
12610
12610
  }
12611
12611
  this.pos += A;
12612
12612
  }
12613
- }, Qn.prototype.bit16 = function() {
12613
+ }, Un.prototype.bit16 = function() {
12614
12614
  for (var A = this.width % 3, e = parseInt("11111", 2), t = parseInt("111111", 2), r = this.height - 1; r >= 0; r--) {
12615
12615
  for (var n = this.bottom_up ? r : this.height - 1 - r, i = 0; i < this.width; i++) {
12616
12616
  var a = this.datav.getUint16(this.pos, !0);
@@ -12620,7 +12620,7 @@ function hd(A) {
12620
12620
  }
12621
12621
  this.pos += A;
12622
12622
  }
12623
- }, Qn.prototype.bit24 = function() {
12623
+ }, Un.prototype.bit24 = function() {
12624
12624
  for (var A = this.height - 1; A >= 0; A--) {
12625
12625
  for (var e = this.bottom_up ? A : this.height - 1 - A, t = 0; t < this.width; t++) {
12626
12626
  var r = this.datav.getUint8(this.pos++, !0), n = this.datav.getUint8(this.pos++, !0), i = this.datav.getUint8(this.pos++, !0), a = e * this.width * 4 + 4 * t;
@@ -12628,13 +12628,13 @@ function hd(A) {
12628
12628
  }
12629
12629
  this.pos += this.width % 4;
12630
12630
  }
12631
- }, Qn.prototype.bit32 = function() {
12631
+ }, Un.prototype.bit32 = function() {
12632
12632
  for (var A = this.height - 1; A >= 0; A--)
12633
12633
  for (var e = this.bottom_up ? A : this.height - 1 - A, t = 0; t < this.width; t++) {
12634
12634
  var r = this.datav.getUint8(this.pos++, !0), n = this.datav.getUint8(this.pos++, !0), i = this.datav.getUint8(this.pos++, !0), a = this.datav.getUint8(this.pos++, !0), s = e * this.width * 4 + 4 * t;
12635
12635
  this.data[s] = i, this.data[s + 1] = n, this.data[s + 2] = r, this.data[s + 3] = a;
12636
12636
  }
12637
- }, Qn.prototype.getData = function() {
12637
+ }, Un.prototype.getData = function() {
12638
12638
  return this.data;
12639
12639
  }, /**
12640
12640
  * @license
@@ -12645,7 +12645,7 @@ function hd(A) {
12645
12645
  */
12646
12646
  function(A) {
12647
12647
  A.processBMP = function(e, t, r, n) {
12648
- var i = new Qn(e, !1), a = i.width, s = i.height, o = { data: i.getData(), width: a, height: s }, l = new Wf(100).encode(o, 100);
12648
+ var i = new Un(e, !1), a = i.width, s = i.height, o = { data: i.getData(), width: a, height: s }, l = new Wf(100).encode(o, 100);
12649
12649
  return A.processJPEG.call(this, l, t, r, n);
12650
12650
  };
12651
12651
  }(xe.API), hd.prototype.getData = function() {
@@ -12820,7 +12820,7 @@ function(A) {
12820
12820
  */
12821
12821
  function(A) {
12822
12822
  function e() {
12823
- return (Ce.canvg ? Promise.resolve(Ce.canvg) : import("./index.es-33de4316.js")).catch(function(t) {
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;
@@ -13271,7 +13271,7 @@ function(A) {
13271
13271
  return t == null && (t = !1), r = t ? this.lineGap : 0, (this.ascender + r - this.decender) / 1e3 * e;
13272
13272
  }, A;
13273
13273
  }();
13274
- var Pn, ia = function() {
13274
+ var Hn, ia = function() {
13275
13275
  function A(e) {
13276
13276
  this.data = e ?? [], this.pos = 0, this.length = this.data.length;
13277
13277
  }
@@ -13361,7 +13361,7 @@ var Pn, ia = function() {
13361
13361
  }
13362
13362
  return r.prototype = e.prototype, A.prototype = new r(), A.__super__ = e.prototype, A;
13363
13363
  };
13364
- Pn = function() {
13364
+ Hn = function() {
13365
13365
  function A(e) {
13366
13366
  var t;
13367
13367
  this.file = e, t = this.file.directory.tables[this.tag], this.exists = !!t, t && (this.offset = t.offset, this.length = t.length, this.parse(this.file.contents));
@@ -13376,7 +13376,7 @@ var Z4 = function(A) {
13376
13376
  function e() {
13377
13377
  return e.__super__.constructor.apply(this, arguments);
13378
13378
  }
13379
- return ti(e, Pn), e.prototype.tag = "head", e.prototype.parse = function(t) {
13379
+ return ti(e, Hn), e.prototype.tag = "head", e.prototype.parse = function(t) {
13380
13380
  return t.pos = this.offset, this.version = t.readInt(), this.revision = t.readInt(), this.checkSumAdjustment = t.readInt(), this.magicNumber = t.readInt(), this.flags = t.readShort(), this.unitsPerEm = t.readShort(), this.created = t.readLongLong(), this.modified = t.readLongLong(), this.xMin = t.readShort(), this.yMin = t.readShort(), this.xMax = t.readShort(), this.yMax = t.readShort(), this.macStyle = t.readShort(), this.lowestRecPPEM = t.readShort(), this.fontDirectionHint = t.readShort(), this.indexToLocFormat = t.readShort(), this.glyphDataFormat = t.readShort();
13381
13381
  }, e.prototype.encode = function(t) {
13382
13382
  var r;
@@ -13467,7 +13467,7 @@ var Z4 = function(A) {
13467
13467
  function e() {
13468
13468
  return e.__super__.constructor.apply(this, arguments);
13469
13469
  }
13470
- return ti(e, Pn), e.prototype.tag = "cmap", e.prototype.parse = function(t) {
13470
+ return ti(e, Hn), e.prototype.tag = "cmap", e.prototype.parse = function(t) {
13471
13471
  var r, n, i;
13472
13472
  for (t.pos = this.offset, this.version = t.readUInt16(), i = t.readUInt16(), this.tables = [], this.unicode = null, n = 0; 0 <= i ? n < i : n > i; n = 0 <= i ? ++n : --n)
13473
13473
  r = new dd(t, this.offset), this.tables.push(r), r.isUnicode && this.unicode == null && (this.unicode = r);
@@ -13480,14 +13480,14 @@ var Z4 = function(A) {
13480
13480
  function e() {
13481
13481
  return e.__super__.constructor.apply(this, arguments);
13482
13482
  }
13483
- return ti(e, Pn), e.prototype.tag = "hhea", e.prototype.parse = function(t) {
13483
+ return ti(e, Hn), e.prototype.tag = "hhea", e.prototype.parse = function(t) {
13484
13484
  return t.pos = this.offset, this.version = t.readInt(), this.ascender = t.readShort(), this.decender = t.readShort(), this.lineGap = t.readShort(), this.advanceWidthMax = t.readShort(), this.minLeftSideBearing = t.readShort(), this.minRightSideBearing = t.readShort(), this.xMaxExtent = t.readShort(), this.caretSlopeRise = t.readShort(), this.caretSlopeRun = t.readShort(), this.caretOffset = t.readShort(), t.pos += 8, this.metricDataFormat = t.readShort(), this.numberOfMetrics = t.readUInt16();
13485
13485
  }, e;
13486
13486
  }(), AC = function(A) {
13487
13487
  function e() {
13488
13488
  return e.__super__.constructor.apply(this, arguments);
13489
13489
  }
13490
- return ti(e, Pn), e.prototype.tag = "OS/2", e.prototype.parse = function(t) {
13490
+ return ti(e, Hn), e.prototype.tag = "OS/2", e.prototype.parse = function(t) {
13491
13491
  if (t.pos = this.offset, this.version = t.readUInt16(), this.averageCharWidth = t.readShort(), this.weightClass = t.readUInt16(), this.widthClass = t.readUInt16(), this.type = t.readShort(), this.ySubscriptXSize = t.readShort(), this.ySubscriptYSize = t.readShort(), this.ySubscriptXOffset = t.readShort(), this.ySubscriptYOffset = t.readShort(), this.ySuperscriptXSize = t.readShort(), this.ySuperscriptYSize = t.readShort(), this.ySuperscriptXOffset = t.readShort(), this.ySuperscriptYOffset = t.readShort(), this.yStrikeoutSize = t.readShort(), this.yStrikeoutPosition = t.readShort(), this.familyClass = t.readShort(), this.panose = function() {
13492
13492
  var r, n;
13493
13493
  for (n = [], r = 0; r < 10; ++r)
@@ -13510,7 +13510,7 @@ var Z4 = function(A) {
13510
13510
  function e() {
13511
13511
  return e.__super__.constructor.apply(this, arguments);
13512
13512
  }
13513
- return ti(e, Pn), e.prototype.tag = "post", e.prototype.parse = function(t) {
13513
+ return ti(e, Hn), e.prototype.tag = "post", e.prototype.parse = function(t) {
13514
13514
  var r, n, i;
13515
13515
  switch (t.pos = this.offset, this.format = t.readInt(), this.italicAngle = t.readInt(), this.underlinePosition = t.readShort(), this.underlineThickness = t.readShort(), this.isFixedPitch = t.readInt(), this.minMemType42 = t.readInt(), this.maxMemType42 = t.readInt(), this.minMemType1 = t.readInt(), this.maxMemType1 = t.readInt(), this.format) {
13516
13516
  case 65536:
@@ -13541,7 +13541,7 @@ var Z4 = function(A) {
13541
13541
  function e() {
13542
13542
  return e.__super__.constructor.apply(this, arguments);
13543
13543
  }
13544
- return ti(e, Pn), e.prototype.tag = "name", e.prototype.parse = function(t) {
13544
+ return ti(e, Hn), e.prototype.tag = "name", e.prototype.parse = function(t) {
13545
13545
  var r, n, i, a, s, o, l, f, d, g, h;
13546
13546
  for (t.pos = this.offset, t.readShort(), r = t.readShort(), o = t.readShort(), n = [], a = 0; 0 <= r ? a < r : a > r; a = 0 <= r ? ++a : --a)
13547
13547
  n.push({ platformID: t.readShort(), encodingID: t.readShort(), languageID: t.readShort(), nameID: t.readShort(), length: t.readShort(), offset: this.offset + o + t.readShort() });
@@ -13559,14 +13559,14 @@ var Z4 = function(A) {
13559
13559
  function e() {
13560
13560
  return e.__super__.constructor.apply(this, arguments);
13561
13561
  }
13562
- return ti(e, Pn), e.prototype.tag = "maxp", e.prototype.parse = function(t) {
13562
+ return ti(e, Hn), e.prototype.tag = "maxp", e.prototype.parse = function(t) {
13563
13563
  return t.pos = this.offset, this.version = t.readInt(), this.numGlyphs = t.readUInt16(), this.maxPoints = t.readUInt16(), this.maxContours = t.readUInt16(), this.maxCompositePoints = t.readUInt16(), this.maxComponentContours = t.readUInt16(), this.maxZones = t.readUInt16(), this.maxTwilightPoints = t.readUInt16(), this.maxStorage = t.readUInt16(), this.maxFunctionDefs = t.readUInt16(), this.maxInstructionDefs = t.readUInt16(), this.maxStackElements = t.readUInt16(), this.maxSizeOfInstructions = t.readUInt16(), this.maxComponentElements = t.readUInt16(), this.maxComponentDepth = t.readUInt16();
13564
13564
  }, e;
13565
13565
  }(), iC = function(A) {
13566
13566
  function e() {
13567
13567
  return e.__super__.constructor.apply(this, arguments);
13568
13568
  }
13569
- return ti(e, Pn), e.prototype.tag = "hmtx", e.prototype.parse = function(t) {
13569
+ return ti(e, Hn), e.prototype.tag = "hmtx", e.prototype.parse = function(t) {
13570
13570
  var r, n, i, a, s, o, l;
13571
13571
  for (t.pos = this.offset, this.metrics = [], r = 0, o = this.file.hhea.numberOfMetrics; 0 <= o ? r < o : r > o; r = 0 <= o ? ++r : --r)
13572
13572
  this.metrics.push({ advance: t.readUInt16(), lsb: t.readInt16() });
@@ -13590,7 +13590,7 @@ var Z4 = function(A) {
13590
13590
  function e() {
13591
13591
  return e.__super__.constructor.apply(this, arguments);
13592
13592
  }
13593
- return ti(e, Pn), e.prototype.tag = "glyf", e.prototype.parse = function() {
13593
+ return ti(e, Hn), e.prototype.tag = "glyf", e.prototype.parse = function() {
13594
13594
  return this.cache = {};
13595
13595
  }, e.prototype.glyphFor = function(t) {
13596
13596
  var r, n, i, a, s, o, l, f, d, g;
@@ -13624,7 +13624,7 @@ var Z4 = function(A) {
13624
13624
  function e() {
13625
13625
  return e.__super__.constructor.apply(this, arguments);
13626
13626
  }
13627
- return ti(e, Pn), e.prototype.tag = "loca", e.prototype.parse = function(t) {
13627
+ return ti(e, Hn), e.prototype.tag = "loca", e.prototype.parse = function(t) {
13628
13628
  var r, n;
13629
13629
  return t.pos = this.offset, r = this.file.head.indexToLocFormat, this.offsets = r === 0 ? (function() {
13630
13630
  var i, a;
@@ -13783,14 +13783,14 @@ function Sa(A) {
13783
13783
  function pd(A) {
13784
13784
  return We ? Buffer.allocUnsafe ? Buffer.allocUnsafe(A) : new Buffer(A) : typeof Uint8Array < "u" ? new Uint8Array(A) : new Array(A);
13785
13785
  }
13786
- var Nn = function(e) {
13786
+ var In = function(e) {
13787
13787
  return We ? Ei(e, "binary") : e.split("").map(function(t) {
13788
13788
  return t.charCodeAt(0) & 255;
13789
13789
  });
13790
13790
  };
13791
13791
  function Fc(A) {
13792
13792
  if (typeof ArrayBuffer > "u")
13793
- return Nn(A);
13793
+ return In(A);
13794
13794
  for (var e = new ArrayBuffer(A.length), t = new Uint8Array(e), r = 0; r != A.length; ++r)
13795
13795
  t[r] = A.charCodeAt(r) & 255;
13796
13796
  return e;
@@ -13856,7 +13856,7 @@ function Ss(A) {
13856
13856
  e += A.charAt(t--);
13857
13857
  return e;
13858
13858
  }
13859
- function Dn(A, e) {
13859
+ function Nn(A, e) {
13860
13860
  var t = "" + A;
13861
13861
  return t.length >= e ? t : Ft("0", e - t.length) + t;
13862
13862
  }
@@ -14161,7 +14161,7 @@ function SC(A, e, t, r) {
14161
14161
  case 115:
14162
14162
  if (e != "s" && e != "ss" && e != ".0" && e != ".00" && e != ".000")
14163
14163
  throw "bad second format: " + e;
14164
- return t.u === 0 && (e == "s" || e == "ss") ? Dn(t.S, e.length) : (r >= 2 ? a = r === 3 ? 1e3 : 100 : a = r === 1 ? 10 : 1, i = Math.round(a * (t.S + t.u)), i >= 60 * a && (i = 0), e === "s" ? i === 0 ? "0" : "" + i / a : (n = Dn(i, 2 + r), e === "ss" ? n.substr(0, 2) : "." + n.substr(2, e.length - 1)));
14164
+ return t.u === 0 && (e == "s" || e == "ss") ? Nn(t.S, e.length) : (r >= 2 ? a = r === 3 ? 1e3 : 100 : a = r === 1 ? 10 : 1, i = Math.round(a * (t.S + t.u)), i >= 60 * a && (i = 0), e === "s" ? i === 0 ? "0" : "" + i / a : (n = Nn(i, 2 + r), e === "ss" ? n.substr(0, 2) : "." + n.substr(2, e.length - 1)));
14165
14165
  case 90:
14166
14166
  switch (e) {
14167
14167
  case "[h]":
@@ -14185,7 +14185,7 @@ function SC(A, e, t, r) {
14185
14185
  o = s, l = 1;
14186
14186
  break;
14187
14187
  }
14188
- var f = l > 0 ? Dn(o, l) : "";
14188
+ var f = l > 0 ? Nn(o, l) : "";
14189
14189
  return f;
14190
14190
  }
14191
14191
  function Aa(A) {
@@ -14232,7 +14232,7 @@ function Q2(A, e) {
14232
14232
  var T2 = /# (\?+)( ?)\/( ?)(\d+)/;
14233
14233
  function TC(A, e, t) {
14234
14234
  var r = parseInt(A[4], 10), n = Math.round(e * r), i = Math.floor(n / r), a = n - i * r, s = r;
14235
- return t + (i === 0 ? "" : "" + i) + " " + (a === 0 ? Ft(" ", A[1].length + 1 + A[4].length) : zu(a, A[1].length) + A[2] + "/" + A[3] + Dn(s, A[4].length));
14235
+ return t + (i === 0 ? "" : "" + i) + " " + (a === 0 ? Ft(" ", A[1].length + 1 + A[4].length) : zu(a, A[1].length) + A[2] + "/" + A[3] + Nn(s, A[4].length));
14236
14236
  }
14237
14237
  function LC(A, e, t) {
14238
14238
  return t + (e === 0 ? "" : "" + e) + Ft(" ", A[1].length + 2 + A[4].length);
@@ -14302,7 +14302,7 @@ function ln(A, e, t) {
14302
14302
  if (i = e.match(/^#{1,3},##0(\.?)$/))
14303
14303
  return l + Aa(us(o, 0));
14304
14304
  if (i = e.match(/^#,##0\.([#0]*0)$/))
14305
- return t < 0 ? "-" + ln(A, e, -t) : Aa("" + (Math.floor(t) + IC(t, i[1].length))) + "." + Dn(xd(t, i[1].length), i[1].length);
14305
+ return t < 0 ? "-" + ln(A, e, -t) : Aa("" + (Math.floor(t) + IC(t, i[1].length))) + "." + Nn(xd(t, i[1].length), i[1].length);
14306
14306
  if (i = e.match(/^#,#*,#0/))
14307
14307
  return ln(A, e.replace(/^#,#*,/, ""), t);
14308
14308
  if (i = e.match(/^([0#]+)(\\?-([0#]+))+$/))
@@ -14336,8 +14336,8 @@ function ln(A, e, t) {
14336
14336
  }
14337
14337
  if (i = e.match(/^00,000\.([#0]*0)$/))
14338
14338
  return a = xd(t, i[1].length), t < 0 ? "-" + ln(A, e, -t) : Aa(NC(t)).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(v) {
14339
- return "00," + (v.length < 3 ? Dn(0, 3 - v.length) : "") + v;
14340
- }) + "." + Dn(a, i[1].length);
14339
+ return "00," + (v.length < 3 ? Nn(0, 3 - v.length) : "") + v;
14340
+ }) + "." + Nn(a, i[1].length);
14341
14341
  switch (e) {
14342
14342
  case "###,##0.00":
14343
14343
  return ln(A, "#,##0.00", t);
@@ -14398,13 +14398,13 @@ function zn(A, e, t) {
14398
14398
  return "$" + zn(A, e.substr(e.charAt(1) == " " ? 2 : 1), t);
14399
14399
  var n, i, a, s, o = Math.abs(t), l = t < 0 ? "-" : "";
14400
14400
  if (e.match(/^00+$/))
14401
- return l + Dn(o, e.length);
14401
+ return l + Nn(o, e.length);
14402
14402
  if (e.match(/^[#?]+$/))
14403
14403
  return n = "" + t, t === 0 && (n = ""), n.length > e.length ? n : Fr(e.substr(0, e.length - n.length)) + n;
14404
14404
  if (i = e.match(T2))
14405
14405
  return LC(i, o, l);
14406
14406
  if (e.match(/^#+0+$/))
14407
- return l + Dn(o, e.length - e.indexOf("0"));
14407
+ return l + Nn(o, e.length - e.indexOf("0"));
14408
14408
  if (i = e.match(L2))
14409
14409
  return n = ("" + t).replace(/^([^\.]+)$/, "$1." + Fr(i[1])).replace(/\.$/, "." + Fr(i[1])), n = n.replace(/\.(\d*)$/, function(v, w) {
14410
14410
  return "." + w + Ft("0", Fr(i[1]).length - w.length);
@@ -14448,8 +14448,8 @@ function zn(A, e, t) {
14448
14448
  }
14449
14449
  if (i = e.match(/^00,000\.([#0]*0)$/))
14450
14450
  return t < 0 ? "-" + zn(A, e, -t) : Aa("" + t).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(v) {
14451
- return "00," + (v.length < 3 ? Dn(0, 3 - v.length) : "") + v;
14452
- }) + "." + Dn(0, i[1].length);
14451
+ return "00," + (v.length < 3 ? Nn(0, 3 - v.length) : "") + v;
14452
+ }) + "." + Nn(0, i[1].length);
14453
14453
  switch (e) {
14454
14454
  case "###,###":
14455
14455
  case "##,###":
@@ -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 ie = bA.read_shift(4, "i");
15082
- if (R === 3 && ie !== 0)
15083
- throw new Error("# Directory Sectors: Expected 0 saw " + ie);
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;
@@ -15088,10 +15088,10 @@ var KC = /* @__PURE__ */ function() {
15088
15088
  x(wA, Y, ye, G, FA);
15089
15089
  var ze = F(ye, BA, FA, G);
15090
15090
  ze[BA].name = "!Directory", X > 0 && UA !== K && (ze[UA].name = "!MiniFAT"), ze[FA[0]].name = "!FAT", ze.fat_addrs = FA, ze.ssz = G;
15091
- var rt = {}, Nt = [], Bn = [], ni = [];
15092
- N(BA, ze, ye, Nt, X, rt, Bn, UA), v(Bn, ni, Nt), Nt.shift();
15091
+ var rt = {}, Nt = [], wn = [], ni = [];
15092
+ N(BA, ze, ye, Nt, X, rt, wn, UA), v(wn, ni, Nt), Nt.shift();
15093
15093
  var Rn = {
15094
- FileIndex: Bn,
15094
+ FileIndex: wn,
15095
15095
  FullPaths: ni
15096
15096
  };
15097
15097
  return z && z.raw && (Rn.raw = { header: qA, sectors: ye }), Rn;
@@ -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, ie = 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 (ie = VA * 4 & FA, G < 4 + ie)
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], ie), WA[VA]))
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, ie; VA < bA.length; VA += 128) {
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), ie = Ah(WA, 0, qA - FA), G.push(ie);
15203
+ Yr(WA, 64), qA = WA.read_shift(2), ae = Ah(WA, 0, qA - FA), G.push(ae);
15204
15204
  var ne = {
15205
- name: ie,
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[ie] = ne, BA.push(ne);
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) {
@@ -15230,9 +15230,9 @@ var KC = /* @__PURE__ */ function() {
15230
15230
  case "file":
15231
15231
  return AA(I, z);
15232
15232
  case "base64":
15233
- return f(Nn(Fi(I)), z);
15233
+ return f(In(Fi(I)), z);
15234
15234
  case "binary":
15235
- return f(Nn(I), z);
15235
+ return f(In(I), z);
15236
15236
  }
15237
15237
  return f(
15238
15238
  /*::typeof blob == 'string' ? new Buffer(blob, 'utf-8') : */
@@ -15286,8 +15286,8 @@ var KC = /* @__PURE__ */ function() {
15286
15286
  content: null
15287
15287
  }]), wA[bA] = !0);
15288
15288
  }
15289
- for (FA.sort(function(ie, WA) {
15290
- return t(ie[0], WA[0]);
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) {
@@ -15311,20 +15311,20 @@ var KC = /* @__PURE__ */ function() {
15311
15311
  return we(I, R);
15312
15312
  switch (V(I), R.fileType) {
15313
15313
  case "zip":
15314
- return wn(I, R);
15314
+ return pn(I, R);
15315
15315
  }
15316
- var G = function(ie) {
15317
- for (var WA = 0, ne = 0, ye = 0; ye < ie.FileIndex.length; ++ye) {
15318
- var ze = ie.FileIndex[ye];
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 = ie.FullPaths.length + 3 >> 2, Bn = WA + 7 >> 3, ni = WA + 127 >> 7, Rn = Bn + ne + Nt + ni, vn = Rn + 127 >> 7, Kn = vn <= 109 ? 0 : Math.ceil((vn - 109) / 127); Rn + vn + Kn + 127 >> 7 > vn; )
15325
- Kn = ++vn <= 109 ? 0 : Math.ceil((vn - 109) / 127);
15326
- var Vr = [1, Kn, vn, ni, Nt, ne, WA, 0];
15327
- return ie.FileIndex[0].size = WA << 6, Vr[7] = (ie.FileIndex[0].start = Vr[0] + Vr[1] + Vr[2] + Vr[3] + Vr[4] + Vr[5]) + (Vr[6] + 7 >> 3), Vr;
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
+ Kn = ++Bn <= 109 ? 0 : Math.ceil((Bn - 109) / 127);
15326
+ var Vr = [1, Kn, Bn, ni, Nt, ne, WA, 0];
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(ie) {
15346
- for (BA += ie; Y < BA - 1; ++Y)
15345
+ var UA = function(ae) {
15346
+ for (BA += ae; Y < BA - 1; ++Y)
15347
15347
  X.write_shift(-4, Y + 1);
15348
- ie && (++Y, X.write_shift(-4, K));
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);
@@ -15463,7 +15463,7 @@ var KC = /* @__PURE__ */ function() {
15463
15463
  if (We)
15464
15464
  return Buffer.isBuffer(R) ? R : Ei(R);
15465
15465
  case "array":
15466
- return typeof R == "string" ? Nn(R) : R;
15466
+ return typeof R == "string" ? In(R) : R;
15467
15467
  }
15468
15468
  return R;
15469
15469
  }
@@ -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 ae(I, z, R) {
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
  }
@@ -15539,7 +15539,7 @@ var KC = /* @__PURE__ */ function() {
15539
15539
  var G = z & 7, X = z >>> 3;
15540
15540
  return R <<= G, I[X] |= R & 255, R >>>= 8, I[X + 1] = R & 255, I[X + 2] = R >>> 8, z + 16;
15541
15541
  }
15542
- function he(I, z) {
15542
+ function de(I, z) {
15543
15543
  var R = I.length, G = 2 * R > z ? 2 * R : z + 5, X = 0;
15544
15544
  if (R >= z)
15545
15545
  return I;
@@ -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 ie = 0; qA-- > 0; ) {
15644
+ for (var ae = 0; qA-- > 0; ) {
15645
15645
  var WA = UA[bA];
15646
- ie = (ie << 5 ^ WA) & 32767;
15646
+ ae = (ae << 5 ^ WA) & 32767;
15647
15647
  var ne = -1, ye = 0;
15648
- if ((ne = VA[ie]) && (ne |= bA & -32768, ne > bA && (ne -= 32768), ne < bA))
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[ie] = bA & 32767, ie = (ie << 5 ^ UA[bA]) & 32767, ++bA;
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[ie] = bA & 32767, ++bA;
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 ie = 0;
15685
+ var ae = 0;
15686
15686
  for (FA[0] = 0, qA = 1; qA <= wA; ++qA)
15687
- bA[qA] = ie = ie + FA[qA - 1] << 1;
15687
+ bA[qA] = ae = ae + FA[qA - 1] << 1;
15688
15688
  for (qA = 0; qA < VA; ++qA)
15689
- (ie = BA[qA]) != 0 && (UA[qA] = bA[ie]++);
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
- ie = CA[UA[qA]] >> 8 - WA;
15693
+ ae = CA[UA[qA]] >> 8 - WA;
15694
15694
  for (var ne = (1 << 7 - WA) - 1; ne >= 0; --ne)
15695
- Pe[ie | ne << WA] = WA & 7 | qA << 3;
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 (ie = Pe[HA(I, z)], z += ie & 7, ie >>>= 3) {
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, ie = ye[ye.length - 1]; Y-- > 0; )
15702
- ye.push(ie);
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(ie), wA < ie && (wA = ie);
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);
@@ -15730,13 +15730,13 @@ var KC = /* @__PURE__ */ function() {
15730
15730
  R & 7 && (R += 8 - (R & 7));
15731
15731
  var FA = I[R >>> 3] | I[(R >>> 3) + 1] << 8;
15732
15732
  if (R += 32, FA > 0)
15733
- for (!z && BA < Y + FA && (X = he(X, Y + FA), BA = X.length); FA-- > 0; )
15733
+ for (!z && BA < Y + FA && (X = de(X, Y + FA), BA = X.length); FA-- > 0; )
15734
15734
  X[Y++] = I[R >>> 3], R += 8;
15735
15735
  continue;
15736
15736
  }
15737
15737
  for (; ; ) {
15738
- !z && BA < Y + 32767 && (X = he(X, Y + 32767), BA = X.length);
15739
- var bA = ae(I, R, UA), VA = G >>> 1 == 1 ? Ue[bA] : re[bA];
15738
+ !z && BA < Y + 32767 && (X = de(X, Y + 32767), BA = X.length);
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 ie = Y + j[VA];
15749
- qA > 0 && (ie += ae(I, R, qA), R += qA), bA = ae(I, R, wA), VA = G >>> 1 == 1 ? De[bA] : Kt[bA], R += VA & 15, VA >>>= 4;
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 += ae(I, R, WA), R += WA), !z && BA < ie && (X = he(X, ie + 100), BA = X.length); Y < ie; )
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), ie = 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 + ie;
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), ie = "", WA = 0; WA < VA; ++WA)
15806
- ie += String.fromCharCode(I[I.l++]);
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, ie, ye, { unsafe: !0, mt: UA });
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
- function wn(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], ie = qA, WA = I.FileIndex[0], ne = [], ye = 0;
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], ae = qA, WA = I.FileIndex[0], ne = [], ye = 0;
15831
15831
  for (wA = 1; wA < I.FullPaths.length; ++wA)
15832
- if (ie = I.FullPaths[wA].slice(qA.length), WA = I.FileIndex[wA], !(!WA.size || !WA.content || ie == "Sh33tJ5")) {
15833
- var ze = bA, rt = LA(ie.length);
15834
- for (FA = 0; FA < ie.length; ++FA)
15835
- rt.write_shift(1, ie.charCodeAt(FA) & 127);
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,
@@ -15907,7 +15907,7 @@ var KC = /* @__PURE__ */ function() {
15907
15907
  z[X] = z[X].replace(/[=][0-9A-Fa-f]{2}/g, function(Y) {
15908
15908
  return String.fromCharCode(parseInt(Y.slice(1), 16));
15909
15909
  });
15910
- return Nn(z.join(`\r
15910
+ return In(z.join(`\r
15911
15911
  `));
15912
15912
  }
15913
15913
  function en(I, z, R) {
@@ -15931,7 +15931,7 @@ var KC = /* @__PURE__ */ function() {
15931
15931
  }
15932
15932
  switch (++UA, X.toLowerCase()) {
15933
15933
  case "base64":
15934
- BA = Nn(Fi(z.slice(UA).join("")));
15934
+ BA = In(Fi(z.slice(UA).join("")));
15935
15935
  break;
15936
15936
  case "quoted-printable":
15937
15937
  BA = Vt(z.slice(UA));
@@ -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 ie = G[X];
15965
- ie !== UA && ie !== UA + "--" || (qA++ && en(bA, G.slice(VA, X), R), VA = X);
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), ie = 0, WA = 0; WA <= qA; ++WA)
15986
- (ie = bA.charCodeAt(WA)) >= 32 && ie < 128 && ++VA;
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
  }
@@ -16894,7 +16894,7 @@ function Os(A, e) {
16894
16894
  function gy(A) {
16895
16895
  return A.read_shift(4, "i");
16896
16896
  }
16897
- function kn(A, e) {
16897
+ function Dn(A, e) {
16898
16898
  return e || (e = LA(4)), e.write_shift(4, A), e;
16899
16899
  }
16900
16900
  function xr(A) {
@@ -18389,10 +18389,10 @@ var xF = /* @__PURE__ */ function() {
18389
18389
  var l = [], f = Sa(1);
18390
18390
  switch (o.type) {
18391
18391
  case "base64":
18392
- f = Nn(Fi(s));
18392
+ f = In(Fi(s));
18393
18393
  break;
18394
18394
  case "binary":
18395
- f = Nn(s);
18395
+ f = In(s);
18396
18396
  break;
18397
18397
  case "buffer":
18398
18398
  case "array":
@@ -19324,9 +19324,9 @@ var xF = /* @__PURE__ */ function() {
19324
19324
  function e(m, S) {
19325
19325
  switch (S.type) {
19326
19326
  case "base64":
19327
- return t(Nn(Fi(m)), S);
19327
+ return t(In(Fi(m)), S);
19328
19328
  case "binary":
19329
- return t(Nn(m), S);
19329
+ return t(In(m), S);
19330
19330
  case "buffer":
19331
19331
  case "array":
19332
19332
  return t(m, S);
@@ -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, ae, KA) {
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, ae, KA) {
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, ae = NA ? (iA[ZA] || [])[Z] : iA[HA];
19443
- if (!(!ae || ae.t == "z"))
19444
- if (ae.t == "n")
19445
- JA(T, 23, tA(ZA, Z, sA, ae.v));
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(ae);
19447
+ var KA = bi(se);
19448
19448
  JA(T, 22, H(ZA, Z, sA, KA.slice(0, 239)));
19449
19449
  }
19450
19450
  }
@@ -20415,7 +20415,7 @@ function XF(A, e) {
20415
20415
  ]].forEach(function(r) {
20416
20416
  for (var n = r[0]; n <= r[1]; ++n)
20417
20417
  e[n] != null && ++t;
20418
- }), t != 0 && (PA(A, 615, kn(t)), [[5, 8], [23, 26], [41, 44], [
20418
+ }), t != 0 && (PA(A, 615, Dn(t)), [[5, 8], [23, 26], [41, 44], [
20419
20419
  /*63*/
20420
20420
  50,
20421
20421
  /*66],[164,*/
@@ -20432,7 +20432,7 @@ function XF(A, e) {
20432
20432
  }
20433
20433
  function zF(A) {
20434
20434
  var e = 1;
20435
- PA(A, 611, kn(e)), PA(A, 43, PF({
20435
+ PA(A, 611, Dn(e)), PA(A, 43, PF({
20436
20436
  sz: 12,
20437
20437
  color: { theme: 1 },
20438
20438
  name: "Calibri",
@@ -20446,7 +20446,7 @@ function zF(A) {
20446
20446
  }
20447
20447
  function qF(A) {
20448
20448
  var e = 2;
20449
- PA(A, 603, kn(e)), PA(A, 45, zd({ patternType: "none" })), PA(A, 45, zd({ patternType: "gray125" })), PA(
20449
+ PA(A, 603, Dn(e)), PA(A, 45, zd({ patternType: "none" })), PA(A, 45, zd({ patternType: "gray125" })), PA(
20450
20450
  A,
20451
20451
  604
20452
20452
  /* BrtEndFills */
@@ -20454,7 +20454,7 @@ function qF(A) {
20454
20454
  }
20455
20455
  function YF(A) {
20456
20456
  var e = 1;
20457
- PA(A, 613, kn(e)), PA(A, 46, GF()), PA(
20457
+ PA(A, 613, Dn(e)), PA(A, 46, GF()), PA(
20458
20458
  A,
20459
20459
  614
20460
20460
  /* BrtEndBorders */
@@ -20462,7 +20462,7 @@ function YF(A) {
20462
20462
  }
20463
20463
  function JF(A) {
20464
20464
  var e = 1;
20465
- PA(A, 626, kn(e)), PA(A, 47, Qp({
20465
+ PA(A, 626, Dn(e)), PA(A, 47, Qp({
20466
20466
  numFmtId: 0,
20467
20467
  fontId: 0,
20468
20468
  fillId: 0,
@@ -20474,7 +20474,7 @@ function JF(A) {
20474
20474
  );
20475
20475
  }
20476
20476
  function ZF(A, e) {
20477
- PA(A, 617, kn(e.length)), e.forEach(function(t) {
20477
+ PA(A, 617, Dn(e.length)), e.forEach(function(t) {
20478
20478
  PA(A, 47, Qp(t, 0));
20479
20479
  }), PA(
20480
20480
  A,
@@ -20484,7 +20484,7 @@ function ZF(A, e) {
20484
20484
  }
20485
20485
  function $F(A) {
20486
20486
  var e = 1;
20487
- PA(A, 619, kn(e)), PA(A, 48, jF({
20487
+ PA(A, 619, Dn(e)), PA(A, 48, jF({
20488
20488
  xfId: 0,
20489
20489
  builtinId: 0,
20490
20490
  name: "Normal"
@@ -20496,7 +20496,7 @@ function $F(A) {
20496
20496
  }
20497
20497
  function A3(A) {
20498
20498
  var e = 0;
20499
- PA(A, 505, kn(e)), PA(
20499
+ PA(A, 505, Dn(e)), PA(
20500
20500
  A,
20501
20501
  506
20502
20502
  /* BrtEndDXFs */
@@ -20566,11 +20566,11 @@ function l3(A, e) {
20566
20566
  }
20567
20567
  function c3() {
20568
20568
  var A = Or();
20569
- return PA(A, 332), PA(A, 334, kn(1)), PA(A, 335, n3({
20569
+ return PA(A, 332), PA(A, 334, Dn(1)), PA(A, 335, n3({
20570
20570
  name: "XLDAPR",
20571
20571
  version: 12e4,
20572
20572
  flags: 3496657072
20573
- })), PA(A, 336), PA(A, 339, s3(1, "XLDAPR")), PA(A, 52), PA(A, 35, kn(514)), PA(A, 4096, kn(0)), PA(A, 4097, fn(1)), PA(A, 36), PA(A, 53), PA(A, 340), PA(A, 337, l3(1, !0)), PA(A, 51, a3([[1, 0]])), PA(A, 338), PA(A, 333), A.end();
20573
+ })), PA(A, 336), PA(A, 339, s3(1, "XLDAPR")), PA(A, 52), PA(A, 35, Dn(514)), PA(A, 4096, Dn(0)), PA(A, 4097, fn(1)), PA(A, 36), PA(A, 53), PA(A, 340), PA(A, 337, l3(1, !0)), PA(A, 51, a3([[1, 0]])), PA(A, 338), PA(A, 333), A.end();
20574
20574
  }
20575
20575
  function Lp() {
20576
20576
  var A = [Rt];
@@ -28698,7 +28698,7 @@ function lc(A) {
28698
28698
  return new DataView(A.buffer, A.byteOffset, A.byteLength);
28699
28699
  }
28700
28700
  function ES(A) {
28701
- return typeof TextEncoder < "u" ? new TextEncoder().encode(A) : Nn(Bi(A));
28701
+ return typeof TextEncoder < "u" ? new TextEncoder().encode(A) : In(Bi(A));
28702
28702
  }
28703
28703
  function _S(A, e) {
28704
28704
  A:
@@ -28796,7 +28796,7 @@ function tr(A) {
28796
28796
  });
28797
28797
  }), oa(e);
28798
28798
  }
28799
- function Tn(A) {
28799
+ function Qn(A) {
28800
28800
  for (var e, t = [], r = [0]; r[0] < A.length; ) {
28801
28801
  var n = Al(A, r), i = jt(A.slice(r[0], r[0] + n));
28802
28802
  r[0] += n;
@@ -28861,7 +28861,7 @@ function US(A, e) {
28861
28861
  throw new Error("Unexpected length: ".concat(f.length, " != ").concat(r));
28862
28862
  return f;
28863
28863
  }
28864
- function Ln(A) {
28864
+ function Tn(A) {
28865
28865
  for (var e = [], t = 0; t < A.length; ) {
28866
28866
  var r = A[t++], n = A[t] | A[t + 1] << 8 | A[t + 2] << 16;
28867
28867
  t += 3, e.push(US(r, A.slice(t, t + n))), t += n;
@@ -28975,7 +28975,7 @@ function TS(A, e) {
28975
28975
  }).forEach(function(S) {
28976
28976
  var b = S[0], T = S[1];
28977
28977
  if (b.type == 2 && b.name.match(/\.iwa/)) {
28978
- var j = b.content, rA = Ln(j), sA = Tn(rA);
28978
+ var j = b.content, rA = Tn(j), sA = Qn(rA);
28979
28979
  sA.forEach(function(iA) {
28980
28980
  o.push(iA.id), s[iA.id] = { deps: [], location: T, type: Ts(iA.messages[0].meta[1][0].data) };
28981
28981
  });
@@ -28993,7 +28993,7 @@ function TS(A, e) {
28993
28993
  }).forEach(function(S) {
28994
28994
  var b = S[0];
28995
28995
  if (S[1], !!b.name.match(/\.iwa/)) {
28996
- var T = Tn(Ln(b.content));
28996
+ var T = Qn(Tn(b.content));
28997
28997
  T.forEach(function(j) {
28998
28998
  j.messages.forEach(function(rA) {
28999
28999
  f.forEach(function(sA) {
@@ -29005,21 +29005,21 @@ function TS(A, e) {
29005
29005
  });
29006
29006
  }
29007
29007
  });
29008
- for (var d = at.find(l, s[1].location), g = Tn(Ln(d.content)), h, v = 0; v < g.length; ++v) {
29008
+ for (var d = at.find(l, s[1].location), g = Qn(Tn(d.content)), h, v = 0; v < g.length; ++v) {
29009
29009
  var w = g[v];
29010
29010
  w.id == 1 && (h = w);
29011
29011
  }
29012
29012
  var x = ji(jt(h.messages[0].data)[1][0].data);
29013
- for (d = at.find(l, s[x].location), g = Tn(Ln(d.content)), v = 0; v < g.length; ++v)
29013
+ for (d = at.find(l, s[x].location), g = Qn(Tn(d.content)), v = 0; v < g.length; ++v)
29014
29014
  w = g[v], w.id == x && (h = w);
29015
- for (x = ji(jt(h.messages[0].data)[2][0].data), d = at.find(l, s[x].location), g = Tn(Ln(d.content)), v = 0; v < g.length; ++v)
29015
+ for (x = ji(jt(h.messages[0].data)[2][0].data), d = at.find(l, s[x].location), g = Qn(Tn(d.content)), v = 0; v < g.length; ++v)
29016
29016
  w = g[v], w.id == x && (h = w);
29017
- for (x = ji(jt(h.messages[0].data)[2][0].data), d = at.find(l, s[x].location), g = Tn(Ln(d.content)), v = 0; v < g.length; ++v)
29017
+ for (x = ji(jt(h.messages[0].data)[2][0].data), d = at.find(l, s[x].location), g = Qn(Tn(d.content)), v = 0; v < g.length; ++v)
29018
29018
  w = g[v], w.id == x && (h = w);
29019
29019
  var y = jt(h.messages[0].data);
29020
29020
  {
29021
29021
  y[6][0].data = Ze(r.e.r + 1), y[7][0].data = Ze(r.e.c + 1);
29022
- var F = ji(y[46][0].data), N = at.find(l, s[F].location), M = Tn(Ln(N.content));
29022
+ var F = ji(y[46][0].data), N = at.find(l, s[F].location), M = Qn(Tn(N.content));
29023
29023
  {
29024
29024
  for (var AA = 0; AA < M.length && M[AA].id != F; ++AA)
29025
29025
  ;
@@ -29041,7 +29041,7 @@ function TS(A, e) {
29041
29041
  {
29042
29042
  tA[7][0].data = Ze(r.e.r + 1);
29043
29043
  var U = jt(tA[1][0].data), Q = ji(U[2][0].data);
29044
- N = at.find(l, s[Q].location), M = Tn(Ln(N.content));
29044
+ N = at.find(l, s[Q].location), M = Qn(Tn(N.content));
29045
29045
  {
29046
29046
  if (M[0].id != Q)
29047
29047
  throw "Bad HeaderStorageBucket";
@@ -29054,7 +29054,7 @@ function TS(A, e) {
29054
29054
  }
29055
29055
  N.content = ds(hs(M)), N.size = N.content.length;
29056
29056
  var cA = ji(tA[2][0].data);
29057
- N = at.find(l, s[cA].location), M = Tn(Ln(N.content));
29057
+ N = at.find(l, s[cA].location), M = Qn(Tn(N.content));
29058
29058
  {
29059
29059
  if (M[0].id != cA)
29060
29060
  throw "Bad HeaderStorageBucket";
@@ -29065,7 +29065,7 @@ function TS(A, e) {
29065
29065
  N.content = ds(hs(M)), N.size = N.content.length;
29066
29066
  var dA = ji(tA[4][0].data);
29067
29067
  (function() {
29068
- for (var S = at.find(l, s[dA].location), b = Tn(Ln(S.content)), T, j = 0; j < b.length; ++j) {
29068
+ for (var S = at.find(l, s[dA].location), b = Qn(Tn(S.content)), T, j = 0; j < b.length; ++j) {
29069
29069
  var rA = b[j];
29070
29070
  rA.id == dA && (T = rA);
29071
29071
  }
@@ -29089,7 +29089,7 @@ function TS(A, e) {
29089
29089
  {
29090
29090
  var _A = ji(EA[2][0].data);
29091
29091
  (function() {
29092
- for (var S = at.find(l, s[_A].location), b = Tn(Ln(S.content)), T, j = 0; j < b.length; ++j) {
29092
+ for (var S = at.find(l, s[_A].location), b = Qn(Tn(S.content)), T, j = 0; j < b.length; ++j) {
29093
29093
  var rA = b[j];
29094
29094
  rA.id == _A && (T = rA);
29095
29095
  }
@@ -30339,36 +30339,36 @@ function u6(A, e, t, r, n, i) {
30339
30339
  return fA(), uA("div", {
30340
30340
  class: "vue-ui-xy",
30341
30341
  ref: "chart",
30342
- style: de(`background:${i.chartConfig.chart.backgroundColor}; color:${i.chartConfig.chart.color}`)
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: de(`font-family:${i.chartConfig.chart.fontFamily}`)
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: de(`font-size:${i.chartConfig.chart.title.fontSize}px; color:${i.chartConfig.chart.title.color}; font-weight:${i.chartConfig.chart.title.bold ? "bold" : "400"}`)
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: de(`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)) : ce("", !0)
30358
- ], 4)) : ce("", !0),
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: de(`background:${i.chartConfig.chart.backgroundColor};color:${i.chartConfig.chart.color}`),
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: de(`background:${i.chartConfig.chart.backgroundColor};color:${i.chartConfig.chart.color}`)
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: de(`background:${i.chartConfig.chart.backgroundColor};color:${i.chartConfig.chart.color}`)
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)) : ce("", !0),
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: de(`background:${i.chartConfig.chart.backgroundColor}; color:${i.chartConfig.chart.color}; font-family:${i.chartConfig.chart.fontFamily}`),
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
- ])) : ce("", !0)
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)) : ce("", !0)
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)) : ce("", !0)
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)) : ce("", !0)
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)) : ce("", !0)
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
- ])) : ce("", !0),
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
- ])) : ce("", !0),
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
- ])) : ce("", !0),
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)) : ce("", !0),
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)) : ce("", !0)
30691
+ }, IA(i.canShowValue(a.value) ? a.value.toFixed(0) : ""), 9, WU)) : fe("", !0)
30692
30692
  ]))), 128))
30693
- ])) : ce("", !0),
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)) : ce("", !0),
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)) : ce("", !0)
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: de(`font-family:${i.chartConfig.chart.fontFamily}`)
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: de(`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"}`)
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: de(`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)) : ce("", !0)
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
- ])) : ce("", !0),
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: de(`overflow:visible; font-size:${i.chartConfig.chart.legend.fontSize * 0.6}px`)
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: de(`color:${a.color}`)
30747
- }, "●", 4)) : ce("", !0),
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: de(`color:${a.color}`)
30751
- }, "▬", 4)) : ce("", !0),
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: de(`color:${a.color}`)
30755
- }, "◼", 4)) : ce("", !0),
30754
+ style: ie(`color:${a.color}`)
30755
+ }, "◼", 4)) : fe("", !0),
30756
30756
  yA("span", {
30757
- style: de(`color:${i.chartConfig.chart.legend.color}`)
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
- ])) : ce("", !0),
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
- ])) : ce("", !0),
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
- ])) : ce("", !0)
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: de(`font-size:${i.chartConfig.chart.legend.fontSize}px`)
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: de(`color:${a.color}`),
30800
+ style: ie(`color:${a.color}`),
30801
30801
  innerHTML: n.icons[a.type]
30802
30802
  }, null, 12, a6),
30803
30803
  yA("span", {
30804
- style: de(`color:${i.chartConfig.chart.legend.color}`)
30804
+ style: ie(`color:${i.chartConfig.chart.legend.color}`)
30805
30805
  }, IA(a.name), 5)
30806
30806
  ], 10, i6))), 128))
30807
- ], 4)) : ce("", !0),
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: de(`top:${i.tooltipPosition.top}px; left:${i.tooltipPosition.left}px; background-color:${i.chartConfig.chart.tooltip.backgroundColor}, color:${i.chartConfig.chart.tooltip.color}`),
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)) : ce("", !0),
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: de(`color:${a.color}; margin-right:3px`)
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,10 +30846,10 @@ function u6(A, e, t, r, n, i) {
30846
30846
  ], 42, f6))), 128))
30847
30847
  ])
30848
30848
  ])
30849
- ], 2)) : ce("", !0)
30849
+ ], 2)) : fe("", !0)
30850
30850
  ], 4);
30851
30851
  }
30852
- const K8 = /* @__PURE__ */ nw($S, [["render", u6], ["__scopeId", "data-v-aa9b330f"]]);
30852
+ const H8 = /* @__PURE__ */ nw($S, [["render", u6], ["__scopeId", "data-v-aa9b330f"]]);
30853
30853
  const h6 = {
30854
30854
  name: "vue-ui-table",
30855
30855
  props: {
@@ -30918,7 +30918,7 @@ const h6 = {
30918
30918
  },
30919
30919
  data() {
30920
30920
  return {
30921
- uid: `vue-ui-table-${Math.random()}-${Math.random()}`,
30921
+ uid: `vue-ui-table-${Math.random()}`,
30922
30922
  defaultConfig: {
30923
30923
  //locale:"fr-fr",
30924
30924
  fontFamily: "inherit",
@@ -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,19 +31010,67 @@ 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
+ }
31024
+ },
31025
+ layout: {
31026
+ backgroundColor: "#FFFFFF",
31027
+ axis: {
31028
+ stroke: "#ccd1d4",
31029
+ strokeWidth: 2
31030
+ },
31031
+ bar: {
31032
+ fill: "",
31033
+ stroke: "#FFFFFF"
31034
+ },
31035
+ line: {
31036
+ stroke: "#6376DD75",
31037
+ strokeWidth: 4,
31038
+ plot: {
31039
+ fill: "#22348f",
31040
+ stroke: "#FFFFFF",
31041
+ strokeWidth: 1,
31042
+ radius: {
31043
+ selected: 6,
31044
+ unselected: 4
31045
+ }
31046
+ },
31047
+ selector: {
31048
+ stroke: "#ccc",
31049
+ strokeWidth: 1,
31050
+ strokeDasharray: 5
31051
+ }
31052
+ },
31053
+ labels: {
31054
+ color: "#2D353C"
31055
+ },
31056
+ progression: {
31057
+ stroke: "#2D353C",
31058
+ strokeWidth: 2,
31059
+ strokeDasharray: 4,
31060
+ arrowSize: 7
31061
+ }
31011
31062
  }
31012
31063
  }
31013
31064
  },
31014
31065
  translations: {
31015
- average: "Moyenne",
31066
+ average: "Average",
31016
31067
  by: "by",
31017
31068
  chooseCategoryColumn: "Choose category column",
31018
31069
  exportAllButton: "XLSX all",
31019
31070
  exportAllLabel: "Export all rows of your current filtered dataset",
31020
31071
  exportPageButton: "XLSX page",
31021
31072
  exportPageLabel: "Export rows of the current page",
31022
- from: "Du",
31073
+ from: "From",
31023
31074
  inputPlaceholder: "Search...",
31024
31075
  makeDonut: "Generate",
31025
31076
  nb: "Nb",
@@ -31027,7 +31078,7 @@ const h6 = {
31027
31078
  paginatorLabel: "Rows per page",
31028
31079
  sizeWarning: "Displaying too many rows at a time can lead to slower performance",
31029
31080
  sum: "Somme",
31030
- to: "Au",
31081
+ to: "To",
31031
31082
  total: "Total",
31032
31083
  totalRows: "Total rows"
31033
31084
  },
@@ -31150,7 +31201,7 @@ const h6 = {
31150
31201
  },
31151
31202
  mounted() {
31152
31203
  if (this.dataset.header.length === 0)
31153
- throw new Error(`SmartTable error: missing header data.
31204
+ throw new Error(`vue-ui-table error: missing header data.
31154
31205
  Provide an array of objects of type:
31155
31206
  {
31156
31207
  name: string;
@@ -31165,7 +31216,7 @@ Provide an array of objects of type:
31165
31216
  percentageTo: string; (or '')
31166
31217
  }`);
31167
31218
  if (this.dataset.body.length === 0)
31168
- throw new Error("SmartTable error: missing body data");
31219
+ throw new Error("vue-ui-table error: missing body data");
31169
31220
  this.isLoading = !0, this.promiseWithAsyncFunction(this.prepareBodyCopy, () => {
31170
31221
  this.$forceUpdate(), this.isLoading = !1;
31171
31222
  }), document.addEventListener("keydown", (A) => {
@@ -31196,16 +31247,16 @@ Provide an array of objects of type:
31196
31247
  chartData() {
31197
31248
  if (!this.canChart)
31198
31249
  return [];
31199
- const A = 316, e = 512, t = this.currentSelectionSpan.rows.length, r = e / t, n = Math.max(...this.currentSelectionSpan.rows.map((d) => d.value)), i = Math.min(...this.currentSelectionSpan.rows.map((d) => d.value)), a = i >= 0 ? 0 : Math.abs(i), s = n + a, o = this.dataset.header[this.currentSelectionSpan.col].isPercentage, l = this.currentSelectionSpan.rows.map((d, g) => ({
31200
- x: r * g + r / 2,
31201
- y: (1 - (d.value + a) / s) * A,
31202
- value: o ? d.value * 100 : d.value,
31203
- suffix: o ? "%" : this.dataset.header[this.currentSelectionSpan.col].suffix ? this.dataset.header[this.currentSelectionSpan.col].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 : "",
31204
31255
  prefix: this.dataset.header[this.currentSelectionSpan.col].prefix ? this.dataset.header[this.currentSelectionSpan.col].prefix : "",
31205
- index: d.index,
31206
- absoluteValue: o ? Math.abs(d.value) * 100 : Math.abs(d.value)
31207
- }));
31208
- return { zero: A - A * (a / s), plots: l, slot: r, progression: l.length >= 2 ? this.calcChartProgression(l) : !1 };
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 };
31209
31260
  },
31210
31261
  donutHollowLabels() {
31211
31262
  return {
@@ -31406,7 +31457,7 @@ Provide an array of objects of type:
31406
31457
  const e = A.keyCode, t = 38, r = 40, n = 37, i = 39;
31407
31458
  if (![t, r, n, i].includes(e))
31408
31459
  return;
31409
- const a = A.target.id, s = /cell_(\d+)_(\d+)/, o = a.match(s), l = parseInt(o[1]), f = parseInt(o[2]), d = document.getElementById(`cell_${l}_${f + 1}`), g = document.getElementById(`cell_${l}_${f - 1}`), h = document.getElementById(`cell_${l + 1}_${f}`), v = document.getElementById(`cell_${l - 1}_${f}`);
31460
+ const a = A.target.id, s = /cell_(\d+)_(\d+)_vue-ui-table-(\d+)/, o = a.match(s), l = parseInt(o[1]), f = parseInt(o[2]), d = document.getElementById(`cell_${l}_${f + 1}_${this.uid}`), g = document.getElementById(`cell_${l}_${f - 1}_${this.uid}`), h = document.getElementById(`cell_${l + 1}_${f}_${this.uid}`), v = document.getElementById(`cell_${l - 1}_${f}_${this.uid}`);
31410
31461
  let w;
31411
31462
  switch (!0) {
31412
31463
  case e === i:
@@ -31506,7 +31557,7 @@ Provide an array of objects of type:
31506
31557
  colIndex: A,
31507
31558
  headerType: this.constants.NUMERIC,
31508
31559
  event: {
31509
- currentTarget: document.getElementById(`cell_${t}_${A}`)
31560
+ currentTarget: document.getElementById(`cell_${t}_${A}_${this.uid}`)
31510
31561
  }
31511
31562
  });
31512
31563
  }), this.selectedColumn = A) : (this.selectedColumn = void 0, this.resetSelection());
@@ -31729,19 +31780,19 @@ Provide an array of objects of type:
31729
31780
  return isNaN(A) ? e : A;
31730
31781
  }
31731
31782
  }
31732
- }, pn = (A) => (eg("data-v-bbc60499"), 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 = {
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 = {
31733
31784
  key: 0,
31734
31785
  style: { display: "flex", "align-items": "center", "justify-content": "flex-end" }
31735
31786
  }, I6 = ["innerHTML"], N6 = {
31736
31787
  key: 0,
31737
31788
  style: { "margin-left": "3px" }
31738
- }, D6 = /* @__PURE__ */ pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), k6 = { key: 0 }, O6 = /* @__PURE__ */ pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), H6 = { class: "th-filter" }, P6 = {
31789
+ }, D6 = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), k6 = { key: 0 }, O6 = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), H6 = { class: "th-filter" }, P6 = {
31739
31790
  key: 0,
31740
31791
  class: "th-date"
31741
31792
  }, M6 = { class: "date-wrapper--inputs" }, R6 = { class: "date-fieldset" }, K6 = ["for"], V6 = ["id", "onUpdate:modelValue", "onInput"], G6 = { class: "date-fieldset" }, j6 = ["for"], W6 = ["id", "onUpdate:modelValue", "onInput"], X6 = { class: "date-wrapper--button" }, z6 = ["onClick"], q6 = ["innerHTML"], Y6 = ["innerHTML"], J6 = ["innerHTML"], Z6 = ["onClick", "disabled"], $6 = ["placeholder", "onUpdate:modelValue", "name"], AQ = ["onClick"], eQ = ["innerHTML"], tQ = ["innerHTML"], rQ = ["innerHTML"], nQ = ["onClick", "innerHTML"], iQ = ["innerHTML"], aQ = {
31742
31793
  key: 5,
31743
31794
  class: "th-range-filter"
31744
- }, sQ = ["for"], oQ = /* @__PURE__ */ pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒥ", -1)), lQ = /* @__PURE__ */ pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒣ", -1)), cQ = ["id", "max", "min", "onUpdate:modelValue"], fQ = ["id", "max", "min", "onUpdate:modelValue"], uQ = ["for"], hQ = /* @__PURE__ */ pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒪ", -1)), dQ = /* @__PURE__ */ pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒧ", -1)), gQ = ["onClick", "disabled"], pQ = ["id"], wQ = ["onClick"], BQ = ["onClick", "onKeyup"], vQ = /* @__PURE__ */ pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), mQ = ["innerHTML", "onClick", "onKeyup"], xQ = ["data-row"], CQ = ["data-row"], yQ = ["data-row", "onClick", "onKeyup", "id"], FQ = ["innerHTML"], bQ = { key: 1 }, EQ = { key: 2 }, _Q = { key: 5 }, SQ = ["innerHTML"], UQ = { key: 0 }, QQ = { style: { "margin-left": "12px" } }, TQ = { class: "format-num" }, LQ = { style: { "margin-left": "12px" } }, IQ = {
31795
+ }, sQ = ["for"], oQ = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒥ", -1)), lQ = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒣ", -1)), cQ = ["id", "max", "min", "onUpdate:modelValue"], fQ = ["id", "max", "min", "onUpdate:modelValue"], uQ = ["for"], hQ = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒪ", -1)), dQ = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("span", { style: { color: "grey" } }, "ᒧ", -1)), gQ = ["onClick", "disabled"], pQ = ["id"], wQ = ["onClick"], BQ = ["onClick", "onKeyup"], vQ = /* @__PURE__ */ Pn(() => /* @__PURE__ */ yA("th", { class: "invisible-cell" }, null, -1)), mQ = ["innerHTML", "onClick", "onKeyup"], xQ = ["data-row"], CQ = ["data-row"], yQ = ["data-row", "onClick", "onKeyup", "id"], FQ = ["innerHTML"], bQ = { key: 1 }, EQ = { key: 2 }, _Q = { key: 5 }, SQ = ["innerHTML"], UQ = { key: 0 }, QQ = { style: { "margin-left": "12px" } }, TQ = { class: "format-num" }, LQ = { style: { "margin-left": "12px" } }, IQ = {
31745
31796
  key: 0,
31746
31797
  class: "format-num"
31747
31798
  }, NQ = {
@@ -31771,68 +31822,28 @@ Provide an array of objects of type:
31771
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 = {
31772
31823
  style: { width: "100%", height: "fit-content", cursor: "move" },
31773
31824
  ref: "chartModal"
31774
- }, a8 = { key: 0 }, s8 = { class: "vue-ui-table-fieldset" }, o8 = { class: "vue-ui-table-fieldset-wrapper" }, l8 = ["name", "id", "checked", "onInput"], c8 = ["for"], f8 = ["disabled"], u8 = ["innerHTML"], h8 = ["viewBox"], d8 = /* @__PURE__ */ pn(() => /* @__PURE__ */ yA("defs", null, [
31775
- /* @__PURE__ */ yA("marker", {
31776
- id: "arrowhead",
31777
- markerWidth: "7",
31778
- markerHeight: "7",
31779
- refX: "0",
31780
- refY: "3.5",
31781
- orient: "auto"
31782
- }, [
31783
- /* @__PURE__ */ yA("polygon", {
31784
- points: "0 0, 7 3.5, 0 7",
31785
- fill: "grey"
31786
- })
31787
- ])
31788
- ], -1)), g8 = ["x2", "y1", "y2"], p8 = ["y2"], w8 = ["x", "width", "height", "fill"], B8 = /* @__PURE__ */ rg('<linearGradient id="barGradientSelected" x2="0%" y2="100%" data-v-bbc60499><stop offset="0.2" stop-color="#6376DD" data-v-bbc60499></stop><stop offset="1" stop-color="#6376DD80" data-v-bbc60499></stop></linearGradient><linearGradient id="barGradientSelectedNeg" x2="0%" y2="100%" data-v-bbc60499><stop offset="0.2" stop-color="#6376DD80" data-v-bbc60499></stop><stop offset="1" stop-color="#6376DD" data-v-bbc60499></stop></linearGradient><linearGradient id="barGradient" x2="0%" y2="100%" data-v-bbc60499><stop offset="0.2" stop-color="#6376DDB3" data-v-bbc60499></stop><stop offset="1" stop-color="#6376DD66" data-v-bbc60499></stop></linearGradient><linearGradient id="barGradientNeg" x2="0%" y2="100%" data-v-bbc60499><stop offset="0.2" stop-color="#6376DD66" data-v-bbc60499></stop><stop offset="1" stop-color="#6376DDB3" data-v-bbc60499></stop></linearGradient>', 4), v8 = ["x", "y", "height", "width", "fill"], m8 = ["x", "y", "width"], x8 = { style: { width: "100%", "text-align": "center", "font-size": "20px" } }, C8 = ["x1", "y1", "x2", "y2"], y8 = ["x1", "y1", "x2", "y2"], F8 = ["cx", "cy", "r"], b8 = ["x", "y", "width"], E8 = { style: { width: "100%", "text-align": "center", "font-size": "20px" } }, _8 = ["x", "width", "height", "onMouseenter"], S8 = ["x1", "y1", "x2", "y2"], U8 = /* @__PURE__ */ pn(() => /* @__PURE__ */ yA("span", null, "---", -1)), Q8 = {
31789
- viewBox: "0 0 100 100",
31790
- style: { overflow: "visible", padding: "0 24px" },
31791
- class: "vue-ui-table-donut-chart"
31792
- }, T8 = ["d", "stroke"], L8 = ["x", "y"], I8 = {
31793
- key: 0,
31794
- class: "vue-ui-table-donut-label"
31795
- }, N8 = { class: "vue-ui-table-donut-label-name" }, D8 = {
31796
- x: 50,
31797
- y: 42,
31798
- "text-anchor": "middle",
31799
- "font-size": "6"
31800
- }, k8 = {
31801
- x: 50,
31802
- y: 48,
31803
- "text-anchor": "middle",
31804
- "font-size": "4"
31805
- }, O8 = {
31806
- x: 50,
31807
- y: 56,
31808
- "text-anchor": "middle",
31809
- "font-size": "6"
31810
- }, H8 = {
31811
- x: 50,
31812
- y: 62,
31813
- "text-anchor": "middle",
31814
- "font-size": "4"
31815
- }, P8 = { class: "vue-ui-table-donut-legend" };
31816
- function M8(A, e, t, r, n, i) {
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" };
31826
+ function k8(A, e, t, r, n, i) {
31817
31827
  return fA(), uA("div", {
31818
31828
  class: "vue-ui-table-main",
31819
- style: de(`font-family: ${i.tableConfig.fontFamily}`)
31829
+ style: ie(`font-family: ${i.tableConfig.fontFamily}`)
31820
31830
  }, [
31821
31831
  yA("div", d6, [
31822
31832
  yA("button", {
31823
31833
  onClick: e[0] || (e[0] = (a) => n.isExportRequest = !n.isExportRequest),
31824
- innerHTML: i.icons.export
31825
- }, null, 8, g6),
31834
+ innerHTML: i.icons.export,
31835
+ style: ie(`background:${i.tableConfig.style.exportMenu.backgroundColor};color:${i.tableConfig.style.exportMenu.color}`)
31836
+ }, null, 12, g6),
31826
31837
  yA("div", {
31827
31838
  class: "vue-ui-table-export-hub-dropdown",
31828
31839
  "data-is-open": n.isExportRequest || "false",
31829
- style: de(`background:${i.tableConfig.style.exportMenu.backgroundColor};color:${i.tableConfig.style.exportMenu.color}`)
31840
+ style: ie(`background:${i.tableConfig.style.exportMenu.backgroundColor};color:${i.tableConfig.style.exportMenu.color}`)
31830
31841
  }, [
31831
31842
  w6,
31832
31843
  yA("button", {
31833
31844
  class: "close-dropdown",
31834
31845
  onClick: e[1] || (e[1] = (a) => n.isExportRequest = !1),
31835
- style: de(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
31846
+ style: ie(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
31836
31847
  }, " ✖ ", 4),
31837
31848
  yA("div", B6, [
31838
31849
  yA("div", v6, [
@@ -31840,7 +31851,7 @@ function M8(A, e, t, r, n, i) {
31840
31851
  yA("button", {
31841
31852
  id: "exportAll",
31842
31853
  onClick: e[2] || (e[2] = (a) => i.createXls("all")),
31843
- style: de(`background:${i.tableConfig.style.exportMenu.buttons.backgroundColor};color:${i.tableConfig.style.exportMenu.buttons.color}`)
31854
+ style: ie(`background:${i.tableConfig.style.exportMenu.buttons.backgroundColor};color:${i.tableConfig.style.exportMenu.buttons.color}`)
31844
31855
  }, [
31845
31856
  yA("div", {
31846
31857
  innerHTML: i.icons.fileDownload
@@ -31853,7 +31864,7 @@ function M8(A, e, t, r, n, i) {
31853
31864
  yA("button", {
31854
31865
  id: "exportPage",
31855
31866
  onClick: e[3] || (e[3] = (a) => i.createXls("page")),
31856
- style: de(`background:${i.tableConfig.style.exportMenu.buttons.backgroundColor};color:${i.tableConfig.style.exportMenu.buttons.color}`)
31867
+ style: ie(`background:${i.tableConfig.style.exportMenu.buttons.backgroundColor};color:${i.tableConfig.style.exportMenu.buttons.color}`)
31857
31868
  }, [
31858
31869
  yA("div", {
31859
31870
  innerHTML: i.icons.fileDownload
@@ -31866,7 +31877,7 @@ function M8(A, e, t, r, n, i) {
31866
31877
  ]),
31867
31878
  yA("div", {
31868
31879
  class: "vue-ui-table__wrapper",
31869
- style: de(`max-height:${i.tableConfig.maxHeight}px`),
31880
+ style: ie(`max-height:${i.tableConfig.maxHeight}px`),
31870
31881
  ref: "tableWrapper"
31871
31882
  }, [
31872
31883
  yA("table", b6, [
@@ -31875,12 +31886,12 @@ function M8(A, e, t, r, n, i) {
31875
31886
  _6,
31876
31887
  (fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
31877
31888
  key: `thead_${s}`,
31878
- style: de(`overflow: visible;background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`),
31889
+ style: ie(`overflow: visible;background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`),
31879
31890
  class: it({ "th-has-nan": n.hasNaN[s] })
31880
31891
  }, [
31881
31892
  i.hasNumericTypes && ([n.constants.TEXT, n.constants.DATE].includes(a.type) || a.isPercentage) ? (fA(), uA("span", S6, [
31882
31893
  wr(IA(a.name) + " ", 1),
31883
- a.isPercentage ? (fA(), uA("span", U6, " / " + IA(a.percentageTo), 1)) : ce("", !0)
31894
+ a.isPercentage ? (fA(), uA("span", U6, " / " + IA(a.percentageTo), 1)) : fe("", !0)
31884
31895
  ])) : (fA(), uA("span", Q6, IA(a.name), 1))
31885
31896
  ], 6))), 128))
31886
31897
  ]),
@@ -31890,7 +31901,7 @@ function M8(A, e, t, r, n, i) {
31890
31901
  (fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
31891
31902
  key: `thead_${s}`,
31892
31903
  class: it({ "th-numeric": !0, "th-has-nan": n.hasNaN[s] }),
31893
- style: de(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
31904
+ style: ie(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
31894
31905
  }, [
31895
31906
  a.sum && !n.hasNaN[s] ? (fA(), uA("span", L6, [
31896
31907
  yA("span", {
@@ -31898,8 +31909,8 @@ function M8(A, e, t, r, n, i) {
31898
31909
  style: { "margin-bottom": "-4px", "margin-right": "3px" }
31899
31910
  }, null, 8, I6),
31900
31911
  wr(" " + IA(a.prefix) + " " + IA(Number(i.getSum(s).toFixed(a.decimals)).toLocaleString()) + " " + IA(a.suffix) + " ", 1),
31901
- 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)) : ce("", !0)
31902
- ])) : ce("", !0)
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)
31903
31914
  ], 6))), 128))
31904
31915
  ]),
31905
31916
  yA("tr", null, [
@@ -31907,9 +31918,9 @@ function M8(A, e, t, r, n, i) {
31907
31918
  (fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
31908
31919
  key: `thead_${s}`,
31909
31920
  class: it({ "th-numeric": !0, "th-has-nan": n.hasNaN[s] }),
31910
- style: de(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
31921
+ style: ie(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
31911
31922
  }, [
31912
- a.average && !n.hasNaN[s] ? (fA(), uA("span", k6, " ~ " + IA(a.prefix) + " " + IA(isNaN(i.getAverage(s)) ? "" : Number(i.getAverage(s).toFixed(a.decimals)).toLocaleString()) + " " + IA(a.suffix), 1)) : ce("", !0)
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)
31913
31924
  ], 6))), 128))
31914
31925
  ]),
31915
31926
  yA("tr", null, [
@@ -31917,7 +31928,7 @@ function M8(A, e, t, r, n, i) {
31917
31928
  (fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
31918
31929
  key: `thead_${s}`,
31919
31930
  class: it({ "th-has-nan": n.hasNaN[s] }),
31920
- style: de(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
31931
+ style: ie(`background:${i.tableConfig.style.th.backgroundColor};color:${i.tableConfig.style.th.color};outline:${i.tableConfig.style.th.outline}`)
31921
31932
  }, [
31922
31933
  yA("div", H6, [
31923
31934
  a.type === n.constants.DATE && n.dates[s] ? (fA(), uA("div", P6, [
@@ -31933,7 +31944,7 @@ function M8(A, e, t, r, n, i) {
31933
31944
  onInput: (o) => {
31934
31945
  i.filterBody(), i.setFilterDatesIndexes(s);
31935
31946
  },
31936
- style: de(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
31947
+ style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
31937
31948
  }, null, 44, V6), [
31938
31949
  [go, n.dates[s].from]
31939
31950
  ])
@@ -31949,7 +31960,7 @@ function M8(A, e, t, r, n, i) {
31949
31960
  onInput: (o) => {
31950
31961
  i.filterBody(), i.setFilterDatesIndexes(s);
31951
31962
  },
31952
- style: de(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
31963
+ style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
31953
31964
  }, null, 44, W6), [
31954
31965
  [go, n.dates[s].to]
31955
31966
  ])
@@ -31959,7 +31970,8 @@ function M8(A, e, t, r, n, i) {
31959
31970
  a.isSort ? (fA(), uA("button", {
31960
31971
  key: 0,
31961
31972
  onClick: (o) => i.sortTh(s, o),
31962
- 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}`)
31963
31975
  }, [
31964
31976
  n.sorts[s] === n.constants.ASC ? (fA(), uA("span", {
31965
31977
  key: 0,
@@ -31971,7 +31983,7 @@ function M8(A, e, t, r, n, i) {
31971
31983
  key: 2,
31972
31984
  innerHTML: i.icons.arrowSort
31973
31985
  }, null, 8, J6))
31974
- ], 10, z6)) : ce("", !0),
31986
+ ], 14, z6)) : fe("", !0),
31975
31987
  yA("button", {
31976
31988
  onClick: (o) => {
31977
31989
  i.resetDates(s), i.resetFilter(s, a, o);
@@ -31980,21 +31992,22 @@ function M8(A, e, t, r, n, i) {
31980
31992
  class: "th-reset"
31981
31993
  }, " ✖ ", 8, Z6)
31982
31994
  ])
31983
- ])) : ce("", !0),
31995
+ ])) : fe("", !0),
31984
31996
  a.isSearch ? Yn((fA(), uA("input", {
31985
31997
  key: 1,
31986
31998
  placeholder: i.tableConfig.translations.inputPlaceholder,
31987
31999
  "onUpdate:modelValue": (o) => n.searches[s] = o,
31988
32000
  onInput: e[4] || (e[4] = (o) => i.debounce(i.filterBody, 400)),
31989
32001
  name: `search_${s}`,
31990
- style: de(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
32002
+ style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
31991
32003
  }, null, 44, $6)), [
31992
32004
  [go, n.searches[s]]
31993
- ]) : ce("", !0),
32005
+ ]) : fe("", !0),
31994
32006
  !n.hasNaN[s] && a.isSort && a.type !== n.constants.DATE ? (fA(), uA("button", {
31995
32007
  key: 2,
31996
32008
  onClick: (o) => i.sortTh(s, o),
31997
- 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}`)
31998
32011
  }, [
31999
32012
  n.sorts[s] === n.constants.ASC ? (fA(), uA("span", {
32000
32013
  key: 0,
@@ -32006,19 +32019,21 @@ function M8(A, e, t, r, n, i) {
32006
32019
  key: 2,
32007
32020
  innerHTML: i.icons.arrowSort
32008
32021
  }, null, 8, rQ))
32009
- ], 10, AQ)) : ce("", !0),
32022
+ ], 14, AQ)) : fe("", !0),
32010
32023
  a.isMultiselect ? (fA(), uA("button", {
32011
32024
  key: 3,
32012
32025
  onClick: (o) => i.toggleMultiselect(s, a, o),
32013
32026
  innerHTML: i.icons.filter,
32014
- class: it({ "th-button-active": n.multiselects[s] && n.multiselects[s].length !== i.getDropdownOptions(s).length })
32015
- }, null, 10, nQ)) : ce("", !0),
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),
32016
32030
  n.currentSelectionSpan.col === s && i.canChart ? (fA(), uA("button", {
32017
32031
  key: 4,
32018
32032
  onClick: e[5] || (e[5] = (o) => n.showChart = !n.showChart),
32019
32033
  innerHTML: i.icons.chart,
32020
- class: it({ "th-button-active": n.showChart })
32021
- }, null, 10, iQ)) : ce("", !0),
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),
32022
32037
  a.rangeFilter && n.rangeFilters[s] && !n.hasNaN[s] ? (fA(), uA("div", aQ, [
32023
32038
  yA("label", {
32024
32039
  for: `rangeMin${s}`
@@ -32034,7 +32049,7 @@ function M8(A, e, t, r, n, i) {
32034
32049
  min: n.immutableRangeFilters[s].min,
32035
32050
  "onUpdate:modelValue": (o) => n.rangeFilters[s].min = o,
32036
32051
  onInput: e[6] || (e[6] = (o) => i.debounce(i.filterBody, 400)),
32037
- style: de(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
32052
+ style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
32038
32053
  }, null, 44, cQ), [
32039
32054
  [
32040
32055
  go,
@@ -32050,7 +32065,7 @@ function M8(A, e, t, r, n, i) {
32050
32065
  min: n.immutableRangeFilters[s].min,
32051
32066
  "onUpdate:modelValue": (o) => n.rangeFilters[s].max = o,
32052
32067
  onInput: e[7] || (e[7] = (o) => i.debounce(i.filterBody, 400)),
32053
- style: de(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
32068
+ style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
32054
32069
  }, null, 44, fQ), [
32055
32070
  [
32056
32071
  go,
@@ -32066,24 +32081,25 @@ function M8(A, e, t, r, n, i) {
32066
32081
  wr(" max "),
32067
32082
  dQ
32068
32083
  ], 8, uQ)
32069
- ])) : ce("", !0),
32084
+ ])) : fe("", !0),
32070
32085
  i.canResetColumn(s, a) ? (fA(), uA("button", {
32071
32086
  key: 6,
32072
32087
  onClick: (o) => i.resetFilter(s, a, o),
32073
32088
  disabled: i.isResetDisabled(s, a),
32074
32089
  class: "th-reset"
32075
- }, " ✖ ", 8, gQ)) : ce("", !0),
32090
+ }, " ✖ ", 8, gQ)) : fe("", !0),
32076
32091
  a.isMultiselect ? (fA(), uA("div", {
32077
32092
  key: 7,
32078
32093
  class: "th-dropdown",
32079
32094
  "data-is-open": "false",
32080
32095
  id: `th_dropdown_${s}`,
32081
- style: de(`background:${i.tableConfig.style.dropdowns.backgroundColor};color:${i.tableConfig.style.dropdowns.color}`)
32096
+ style: ie(`background:${i.tableConfig.style.dropdowns.backgroundColor};color:${i.tableConfig.style.dropdowns.color}`)
32082
32097
  }, [
32083
32098
  yA("button", {
32084
32099
  class: "close-dropdown",
32085
- onClick: (o) => i.toggleMultiselect(s, a, o)
32086
- }, " ✖ ", 8, wQ),
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),
32087
32103
  (fA(!0), uA(ve, null, Te(i.getDropdownOptions(s), (o, l) => (fA(), uA("span", {
32088
32104
  class: "th-option",
32089
32105
  key: `th_option_${s}_${l}`,
@@ -32092,33 +32108,33 @@ function M8(A, e, t, r, n, i) {
32092
32108
  po((f) => i.selectDropdownOption(o, s), ["enter"]),
32093
32109
  po((f) => i.selectDropdownOption(o, s), ["space"])
32094
32110
  ],
32095
- style: de(`opacity:${i.isDropdownOptionSelected(o, s) ? 1 : 0.5}`),
32111
+ style: ie(`opacity:${i.isDropdownOptionSelected(o, s) ? 1 : 0.5}`),
32096
32112
  tabindex: "0"
32097
32113
  }, [
32098
32114
  i.isDropdownOptionSelected(o, s) ? (fA(), uA("span", {
32099
32115
  key: 0,
32100
- style: de(`color:${i.tableConfig.style.dropdowns.icons.selected.color};margin-right:5px`),
32116
+ style: ie(`color:${i.tableConfig.style.dropdowns.icons.selected.color};margin-right:5px`),
32101
32117
  class: "th-icon-green"
32102
32118
  }, IA(i.tableConfig.style.dropdowns.icons.selected.unicode), 5)) : (fA(), uA("span", {
32103
32119
  key: 1,
32104
- style: de(`color:${i.tableConfig.style.dropdowns.icons.unselected.color};margin-right:5px`),
32120
+ style: ie(`color:${i.tableConfig.style.dropdowns.icons.unselected.color};margin-right:5px`),
32105
32121
  class: "th-icon-red"
32106
32122
  }, IA(i.tableConfig.style.dropdowns.icons.unselected.unicode), 5)),
32107
32123
  yA("span", null, IA(o), 1)
32108
32124
  ], 44, BQ))), 128))
32109
- ], 12, pQ)) : ce("", !0)
32125
+ ], 12, pQ)) : fe("", !0)
32110
32126
  ])
32111
32127
  ], 6))), 128))
32112
32128
  ])
32113
- ], 64)) : ce("", !0),
32129
+ ], 64)) : fe("", !0),
32114
32130
  yA("tr", null, [
32115
32131
  vQ,
32116
32132
  (fA(!0), uA(ve, null, Te(n.tableHead, (a, s) => (fA(), uA("th", {
32117
32133
  key: `col_selector_${s}`,
32118
32134
  class: it({ "vue-ui-table-col-selector": !n.hasNaN[s], "th-has-nan": n.hasNaN[s] }),
32119
- style: de(`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}`)
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}`)
32120
32136
  }, [
32121
- n.hasNaN[s] ? ce("", !0) : (fA(), uA("div", {
32137
+ n.hasNaN[s] ? fe("", !0) : (fA(), uA("div", {
32122
32138
  key: 0,
32123
32139
  innerHTML: n.tableHead[s].type === n.constants.NUMERIC ? i.icons.chevronDown : "",
32124
32140
  class: it({ "col-selector": n.tableHead[s].type === n.constants.NUMERIC }),
@@ -32137,7 +32153,7 @@ function M8(A, e, t, r, n, i) {
32137
32153
  key: `tbody_${s}`,
32138
32154
  "data-row": s % 2 === 0 ? "odd" : "even",
32139
32155
  class: it(`tr_${n.uid}`),
32140
- style: de(`${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}`}`)
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}`}`)
32141
32157
  }, [
32142
32158
  yA("td", {
32143
32159
  class: "vue-ui-table-td-iteration",
@@ -32146,7 +32162,7 @@ function M8(A, e, t, r, n, i) {
32146
32162
  (fA(!0), uA(ve, null, Te(a.td, (o, l) => (fA(), uA("td", {
32147
32163
  "data-row": s % 2 === 0 ? "odd" : "even",
32148
32164
  key: `td_${s}_${l}`,
32149
- style: de(i.isNumeric(o) || t.dataset.header[l].type === n.constants.DATE ? "text-align:right;font-variant-numeric: tabular-nums;" : ""),
32165
+ style: ie(i.isNumeric(o) || t.dataset.header[l].type === n.constants.DATE ? "text-align:right;font-variant-numeric: tabular-nums;" : ""),
32150
32166
  onClick: (f) => i.selectTd({
32151
32167
  td: o,
32152
32168
  rowIndex: s,
@@ -32171,14 +32187,14 @@ function M8(A, e, t, r, n, i) {
32171
32187
  }), ["space"])
32172
32188
  ],
32173
32189
  class: it({ "td-numeric": t.dataset.header[l].type === n.constants.NUMERIC, "td-focusable": !0, "td-has-nan": n.hasNaN[l] }),
32174
- id: `cell_${s}_${l}`,
32190
+ id: `cell_${s}_${l}_${n.uid}`,
32175
32191
  tabindex: "0"
32176
32192
  }, [
32177
32193
  a.meta && a.meta.markerIndices.includes(l) && a.meta.unicodeIcon ? (fA(), uA("span", {
32178
32194
  key: 0,
32179
- style: de(`color:${a.meta.color};margin-right:3px`),
32195
+ style: ie(`color:${a.meta.color};margin-right:3px`),
32180
32196
  innerHTML: a.meta.unicodeIcon
32181
- }, null, 12, FQ)) : ce("", !0),
32197
+ }, null, 12, FQ)) : fe("", !0),
32182
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", {
32183
32199
  key: 3,
32184
32200
  class: it({ "td-nan": isNaN(Number(o)) })
@@ -32193,7 +32209,7 @@ function M8(A, e, t, r, n, i) {
32193
32209
  ], 4),
32194
32210
  yA("div", {
32195
32211
  class: it({ "td-selector-info": !0, "td-selector-info--active": n.currentSelectionSpan.col !== void 0 && n.currentSelectionSpan.rows.length }),
32196
- style: de(`background:${i.tableConfig.style.infoBar.backgroundColor};color:${i.tableConfig.style.infoBar.color}`)
32212
+ style: ie(`background:${i.tableConfig.style.infoBar.backgroundColor};color:${i.tableConfig.style.infoBar.color}`)
32197
32213
  }, [
32198
32214
  n.currentSelectionSpan.col !== void 0 && n.currentSelectionSpan.rows.length ? (fA(), uA(ve, { key: 0 }, [
32199
32215
  yA("div", {
@@ -32203,7 +32219,7 @@ function M8(A, e, t, r, n, i) {
32203
32219
  yA("span", null, [
32204
32220
  yA("b", null, [
32205
32221
  wr(IA(t.dataset.header[n.currentSelectionSpan.col].name) + " ", 1),
32206
- t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("span", UQ, " / " + IA(t.dataset.header[n.percentages[n.currentSelectionSpan.col].referenceIndex].name), 1)) : ce("", !0)
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)
32207
32223
  ]),
32208
32224
  yA("span", QQ, [
32209
32225
  wr(IA(i.tableConfig.translations.nb) + " : ", 1),
@@ -32212,20 +32228,20 @@ function M8(A, e, t, r, n, i) {
32212
32228
  yA("span", LQ, [
32213
32229
  wr(IA(i.tableConfig.translations.sum) + " : ", 1),
32214
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)),
32215
- t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("b", DQ, "%")) : ce("", !0)
32231
+ t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("b", DQ, "%")) : fe("", !0)
32216
32232
  ]),
32217
32233
  yA("span", kQ, [
32218
32234
  wr(IA(i.tableConfig.translations.average) + " : ", 1),
32219
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)),
32220
- t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("b", PQ, "%")) : ce("", !0)
32236
+ t.dataset.header[n.currentSelectionSpan.col].isPercentage ? (fA(), uA("b", PQ, "%")) : fe("", !0)
32221
32237
  ])
32222
32238
  ]),
32223
32239
  yA("button", {
32224
32240
  onClick: e[10] || (e[10] = (...a) => i.resetSelection && i.resetSelection(...a)),
32225
32241
  class: "td-selector-info-reset",
32226
- style: de(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
32242
+ style: ie(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
32227
32243
  }, " ✖ ", 4)
32228
- ], 64)) : ce("", !0)
32244
+ ], 64)) : fe("", !0)
32229
32245
  ], 6),
32230
32246
  n.bodyCopy.length > 10 ? (fA(), uA("div", MQ, [
32231
32247
  wr(IA(i.tableConfig.translations.totalRows) + " : " + IA(t.dataset.body.length) + " | " + IA(i.tableConfig.translations.paginatorLabel) + " : ", 1),
@@ -32234,12 +32250,12 @@ function M8(A, e, t, r, n, i) {
32234
32250
  id: "paginatorSelector",
32235
32251
  "onUpdate:modelValue": e[11] || (e[11] = (a) => n.itemsPerPage = a),
32236
32252
  onChange: e[12] || (e[12] = (...a) => i.resetSelection && i.resetSelection(...a)),
32237
- style: de(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
32253
+ style: ie(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
32238
32254
  }, [
32239
32255
  (fA(!0), uA(ve, null, Te(n.paginatorOptions, (a, s) => (fA(), uA(ve, null, [
32240
32256
  n.bodyCopy.length > a || t.dataset.body.length === a ? (fA(), uA("option", {
32241
32257
  key: `paginator_option_${s}`
32242
- }, IA(a), 1)) : ce("", !0)
32258
+ }, IA(a), 1)) : fe("", !0)
32243
32259
  ], 64))), 256))
32244
32260
  ], 36)), [
32245
32261
  [
@@ -32248,33 +32264,33 @@ function M8(A, e, t, r, n, i) {
32248
32264
  void 0,
32249
32265
  { number: !0 }
32250
32266
  ]
32251
- ]) : ce("", !0)
32252
- ])) : ce("", !0),
32267
+ ]) : fe("", !0)
32268
+ ])) : fe("", !0),
32253
32269
  n.itemsPerPage >= 250 ? (fA(), uA("div", RQ, [
32254
32270
  yA("span", {
32255
32271
  innerHTML: i.icons.warning
32256
32272
  }, null, 8, KQ),
32257
32273
  wr(IA(i.tableConfig.translations.sizeWarning), 1)
32258
- ])) : ce("", !0),
32274
+ ])) : fe("", !0),
32259
32275
  i.pages.length > 1 && i.pages.length <= 10 ? (fA(), uA("div", {
32260
32276
  key: 2,
32261
32277
  class: "vue-ui-table-navigation-indicator",
32262
- style: de(`width:calc(${n.currentPage / (i.pages.length - 1) * 100}%)`)
32263
- }, null, 4)) : ce("", !0),
32278
+ style: ie(`background:${i.tableConfig.style.pagination.navigationIndicator.backgroundColor};width:calc(${n.currentPage / (i.pages.length - 1) * 100}%)`)
32279
+ }, null, 4)) : fe("", !0),
32264
32280
  i.pages.length > 1 ? (fA(), uA("div", VQ, [
32265
32281
  yA("button", {
32266
32282
  class: "vue-ui-table-navigation",
32267
32283
  onClick: e[13] || (e[13] = wo((a) => i.navigate("previous"), ["stop"])),
32268
32284
  innerHTML: i.icons.chevronLeft,
32269
32285
  disabled: n.currentPage === 0,
32270
- style: de(`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}`)
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}`)
32271
32287
  }, null, 12, GQ),
32272
32288
  i.pages.length > 3 ? (fA(), uA(ve, { key: 0 }, [
32273
32289
  yA("button", {
32274
32290
  class: "vue-ui-table-navigation",
32275
32291
  onClick: e[14] || (e[14] = wo((a) => i.navigate(1), ["stop"])),
32276
32292
  disabled: n.currentPage === 0,
32277
- style: de(`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}`)
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}`)
32278
32294
  }, " 1 ", 12, jQ),
32279
32295
  i.pages.length > 10 ? (fA(), uA("div", WQ, [
32280
32296
  yA("label", XQ, IA(i.tableConfig.translations.page) + " " + IA(n.currentPage + 1) + " / " + IA(i.pages.length), 1),
@@ -32287,14 +32303,14 @@ function M8(A, e, t, r, n, i) {
32287
32303
  max: i.pages.length - 1,
32288
32304
  onInput: e[15] || (e[15] = (a) => i.updateCurrentPage(a)),
32289
32305
  value: n.currentPage,
32290
- style: de(`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}`)
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}`)
32291
32307
  }, null, 44, zQ)
32292
32308
  ])) : (fA(), uA("span", qQ, IA(i.tableConfig.translations.page) + " " + IA(n.currentPage + 1) + " / " + IA(i.pages.length), 1)),
32293
32309
  yA("button", {
32294
32310
  class: "vue-ui-table-navigation",
32295
32311
  onClick: e[16] || (e[16] = wo((a) => i.navigate(i.pages.length), ["stop"])),
32296
32312
  disabled: n.currentPage === i.pages.length - 1,
32297
- style: de(`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}`)
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}`)
32298
32314
  }, IA(i.pages.length), 13, YQ)
32299
32315
  ], 64)) : (fA(), uA(ve, { key: 1 }, [
32300
32316
  wr(IA(i.tableConfig.translations.page) + " " + IA(n.currentPage + 1) + " / " + IA(i.pages.length), 1)
@@ -32304,53 +32320,59 @@ function M8(A, e, t, r, n, i) {
32304
32320
  onClick: e[17] || (e[17] = wo((a) => i.navigate("next"), ["stop"])),
32305
32321
  innerHTML: i.icons.chevronRight,
32306
32322
  disabled: n.currentPage === i.pages.length - 1,
32307
- style: de(`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}`)
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}`)
32308
32324
  }, null, 12, JQ)
32309
- ])) : ce("", !0),
32325
+ ])) : fe("", !0),
32310
32326
  n.showChart && i.canChart ? (fA(), uA("div", {
32311
32327
  key: 4,
32312
32328
  class: "vue-ui-table-chart-modal",
32313
- style: de(`top:${n.clientY}px; left:${n.clientX}px;background:${i.tableConfig.style.chart.modal.backgroundColor};color:${i.tableConfig.style.chart.modal.color}`)
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}`)
32314
32330
  }, [
32315
32331
  yA("button", {
32316
32332
  class: "close-chart-modal",
32317
32333
  onClick: e[18] || (e[18] = (a) => n.showChart = !1),
32318
- style: de(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
32334
+ style: ie(`background:${i.tableConfig.style.closeButtons.backgroundColor};color:${i.tableConfig.style.closeButtons.color};border-radius:${i.tableConfig.style.closeButtons.borderRadius}`)
32319
32335
  }, " ✖ ", 4),
32320
32336
  yA("div", ZQ, [
32321
32337
  i.availableDonutCategories.length ? (fA(), uA("button", {
32322
32338
  key: 0,
32323
32339
  onClick: e[19] || (e[19] = (a) => n.showDonutOptions = !0),
32324
32340
  innerHTML: i.icons.donut,
32325
- class: it({ "is-active-chart": n.chart.type === n.constants.DONUT || n.showDonutOptions })
32326
- }, null, 10, $Q)) : ce("", !0),
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),
32327
32344
  yA("button", {
32328
32345
  onClick: e[20] || (e[20] = (a) => {
32329
32346
  n.chart.type = n.constants.LINE, n.showDonutOptions = !1;
32330
32347
  }),
32331
32348
  innerHTML: i.icons.chart,
32332
- class: it({ "is-active-chart": n.chart.type === n.constants.LINE && !n.showDonutOptions })
32333
- }, null, 10, A8),
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),
32334
32352
  yA("button", {
32335
32353
  onClick: e[21] || (e[21] = (a) => {
32336
32354
  n.chart.type = n.constants.BAR, n.showDonutOptions = !1;
32337
32355
  }),
32338
32356
  innerHTML: i.icons.bar,
32339
- class: it({ "is-active-chart": n.chart.type === n.constants.BAR && !n.showDonutOptions })
32340
- }, null, 10, e8)
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)
32341
32360
  ]),
32342
32361
  yA("div", t8, [
32343
32362
  yA("b", null, [
32344
32363
  wr(IA(t.dataset.header[n.currentSelectionSpan.col].name) + " ", 1),
32345
- 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)) : ce("", !0),
32346
- 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)) : ce("", !0)
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)
32347
32366
  ])
32348
32367
  ]),
32349
32368
  yA("div", i8, [
32350
- n.showDonutOptions && i.availableDonutCategories.length ? (fA(), uA("div", a8, [
32351
- yA("fieldset", s8, [
32369
+ n.showDonutOptions && i.availableDonutCategories.length ? (fA(), uA("div", {
32370
+ key: 0,
32371
+ style: ie(`background:${i.tableConfig.style.chart.modal.backgroundColor};color:${i.tableConfig.style.chart.modal.color}`)
32372
+ }, [
32373
+ yA("fieldset", a8, [
32352
32374
  yA("legend", null, IA(i.tableConfig.translations.chooseCategoryColumn), 1),
32353
- yA("div", o8, [
32375
+ yA("div", s8, [
32354
32376
  (fA(!0), uA(ve, null, Te(i.availableDonutCategories, (a, s) => (fA(), uA("div", {
32355
32377
  key: `donut_radio_${s}`,
32356
32378
  class: "vue-ui-table-fieldset-option"
@@ -32361,40 +32383,56 @@ function M8(A, e, t, r, n, i) {
32361
32383
  id: a.name,
32362
32384
  checked: n.selectedDonutCategory && a.name === n.selectedDonutCategory.name,
32363
32385
  onInput: (o) => n.selectedDonutCategory = i.availableDonutCategories[s],
32364
- style: de(`background:${i.tableConfig.style.inputs.backgroundColor};color:${i.tableConfig.style.inputs.color};border:${i.tableConfig.style.inputs.border}`)
32365
- }, null, 44, l8),
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}`)
32387
+ }, null, 44, o8),
32366
32388
  yA("label", {
32367
32389
  for: a.name
32368
- }, IA(a.name), 9, c8)
32390
+ }, IA(a.name), 9, l8)
32369
32391
  ]))), 128))
32370
32392
  ]),
32371
32393
  yA("button", {
32372
32394
  class: "vue-ui-table-generate-donut",
32373
32395
  disabled: !n.selectedDonutCategory,
32374
- 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}`)
32375
32398
  }, [
32376
32399
  yA("div", {
32377
32400
  style: { "margin-bottom": "-3px" },
32378
32401
  innerHTML: i.icons.donut
32379
- }, null, 8, u8),
32402
+ }, null, 8, f8),
32380
32403
  wr(" " + IA(i.tableConfig.translations.makeDonut), 1)
32381
- ], 8, f8)
32404
+ ], 12, c8)
32382
32405
  ])
32383
- ])) : ce("", !0),
32406
+ ], 4)) : fe("", !0),
32384
32407
  [n.constants.BAR, n.constants.LINE].includes(n.chart.type) && !n.showDonutOptions ? (fA(), uA(ve, { key: 1 }, [
32385
32408
  (fA(), uA("svg", {
32386
32409
  viewBox: `0 0 ${n.chart.width} ${n.chart.height}`,
32387
- class: "vue-ui-table-chart-svg"
32410
+ class: "vue-ui-table-chart-svg",
32411
+ style: ie(`background:${i.tableConfig.style.chart.layout.backgroundColor}`)
32388
32412
  }, [
32389
- d8,
32413
+ yA("defs", null, [
32414
+ yA("marker", {
32415
+ id: "arrowhead",
32416
+ markerWidth: i.tableConfig.style.chart.layout.progression.arrowSize,
32417
+ markerHeight: i.tableConfig.style.chart.layout.progression.arrowSize,
32418
+ refX: "0",
32419
+ refY: i.tableConfig.style.chart.layout.progression.arrowSize / 2,
32420
+ orient: "auto"
32421
+ }, [
32422
+ yA("polygon", {
32423
+ points: `0 0, ${i.tableConfig.style.chart.layout.progression.arrowSize} ${i.tableConfig.style.chart.layout.progression.arrowSize / 2}, 0 ${i.tableConfig.style.chart.layout.progression.arrowSize}`,
32424
+ fill: i.tableConfig.style.chart.layout.progression.stroke
32425
+ }, null, 8, d8)
32426
+ ], 8, h8)
32427
+ ]),
32390
32428
  yA("g", null, [
32391
32429
  yA("line", {
32392
32430
  x1: 0,
32393
32431
  x2: n.chart.width,
32394
32432
  y1: i.chartData.zero,
32395
32433
  y2: i.chartData.zero,
32396
- stroke: "#ccd1d4",
32397
- "stroke-width": "2",
32434
+ stroke: i.tableConfig.style.chart.layout.axis.stroke,
32435
+ "stroke-width": i.tableConfig.style.chart.layout.axis.strokeWidth,
32398
32436
  "stroke-linecap": "round"
32399
32437
  }, null, 8, g8),
32400
32438
  yA("line", {
@@ -32402,8 +32440,8 @@ function M8(A, e, t, r, n, i) {
32402
32440
  x2: 0,
32403
32441
  y1: 0,
32404
32442
  y2: n.chart.height,
32405
- stroke: "#ccd1d4",
32406
- "stroke-width": "2",
32443
+ stroke: i.tableConfig.style.chart.layout.axis.stroke,
32444
+ "stroke-width": i.tableConfig.style.chart.layout.axis.strokeWidth,
32407
32445
  "stroke-linecap": "round"
32408
32446
  }, null, 8, p8)
32409
32447
  ]),
@@ -32417,7 +32455,7 @@ function M8(A, e, t, r, n, i) {
32417
32455
  height: n.chart.height,
32418
32456
  fill: n.selectedPlot === s ? "rgba(0,0,0,0.03)" : "transparent"
32419
32457
  }, null, 8, w8)
32420
- ]))), 128)) : ce("", !0),
32458
+ ]))), 128)) : fe("", !0),
32421
32459
  (fA(!0), uA(ve, null, Te(i.chartData.plots, (a, s) => (fA(), uA("g", {
32422
32460
  key: `plot_${s}`
32423
32461
  }, [
@@ -32425,11 +32463,11 @@ function M8(A, e, t, r, n, i) {
32425
32463
  B8,
32426
32464
  yA("rect", {
32427
32465
  x: a.x - i.chartData.slot / 2,
32428
- y: i.calcRectY(a.value, a.y),
32429
- 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,
32430
32468
  width: i.chartData.slot,
32431
- fill: n.selectedPlot === s ? a.value >= 0 ? "url(#barGradientSelected)" : "url(#barGradientSelectedNeg)" : (a.value >= 0, "url(#barGradient)"),
32432
- stroke: "white",
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)"),
32470
+ stroke: i.tableConfig.style.chart.layout.bar.stroke,
32433
32471
  "stroke-width": "1"
32434
32472
  }, null, 8, v8),
32435
32473
  n.selectedPlot === s ? (fA(), uA("foreignObject", {
@@ -32440,9 +32478,11 @@ function M8(A, e, t, r, n, i) {
32440
32478
  width: i.chartData.slot < 100 ? 100 : i.chartData.slot,
32441
32479
  style: { overflow: "visible" }
32442
32480
  }, [
32443
- yA("div", x8, IA(a.prefix) + " " + IA(Number(a.value.toFixed(t.dataset.header[n.currentSelectionSpan.col].decimals)).toLocaleString()) + " " + IA(a.suffix), 1)
32444
- ], 8, m8)) : ce("", !0)
32445
- ], 64)) : ce("", !0),
32481
+ yA("div", {
32482
+ style: ie(`width:100%;text-align:center;font-size:20px;color:${i.tableConfig.style.chart.layout.labels.color}`)
32483
+ }, IA(a.prefix) + " " + IA(Number(a.value.toFixed(t.dataset.header[n.currentSelectionSpan.col].decimals)).toLocaleString()) + " " + IA(a.suffix), 5)
32484
+ ], 8, m8)) : fe("", !0)
32485
+ ], 64)) : fe("", !0),
32446
32486
  n.chart.type === n.constants.LINE ? (fA(), uA(ve, { key: 1 }, [
32447
32487
  s + 1 < i.chartData.plots.length ? (fA(), uA("line", {
32448
32488
  key: 0,
@@ -32450,27 +32490,27 @@ function M8(A, e, t, r, n, i) {
32450
32490
  y1: a.y,
32451
32491
  x2: i.chartData.plots[s + 1].x,
32452
32492
  y2: i.chartData.plots[s + 1].y,
32453
- "stroke-width": "3",
32454
- stroke: "#6376DD75"
32455
- }, null, 8, C8)) : ce("", !0),
32493
+ "stroke-width": i.tableConfig.style.chart.layout.line.strokeWidth,
32494
+ stroke: i.tableConfig.style.chart.layout.line.stroke
32495
+ }, null, 8, x8)) : fe("", !0),
32456
32496
  n.selectedPlot === s ? (fA(), uA("line", {
32457
32497
  key: 1,
32458
32498
  x1: a.x,
32459
32499
  y1: a.y,
32460
32500
  x2: a.x,
32461
32501
  y2: n.chart.height,
32462
- stroke: "grey",
32463
- "stroke-width": "1",
32464
- "stroke-dasharray": "3"
32465
- }, null, 8, y8)) : ce("", !0),
32502
+ stroke: i.tableConfig.style.chart.layout.line.selector.stroke,
32503
+ "stroke-width": i.tableConfig.style.chart.layout.line.selector.strokeWidth,
32504
+ "stroke-dasharray": i.tableConfig.style.chart.layout.line.selector.strokeDasharray
32505
+ }, null, 8, C8)) : fe("", !0),
32466
32506
  yA("circle", {
32467
32507
  cx: a.x,
32468
32508
  cy: a.y,
32469
- r: n.selectedPlot === s ? 6 : 4,
32470
- fill: "#22348f",
32471
- stroke: "white",
32472
- "stroke-width": "1"
32473
- }, null, 8, F8),
32509
+ r: n.selectedPlot === s ? i.tableConfig.style.chart.layout.line.plot.radius.selected : i.tableConfig.style.chart.layout.line.plot.radius.unselected,
32510
+ fill: i.tableConfig.style.chart.layout.line.plot.fill,
32511
+ stroke: i.tableConfig.style.chart.layout.line.plot.stroke,
32512
+ "stroke-width": i.tableConfig.style.chart.layout.line.plot.strokeWidth
32513
+ }, null, 8, y8),
32474
32514
  n.selectedPlot === s ? (fA(), uA("foreignObject", {
32475
32515
  key: 2,
32476
32516
  x: a.x - (i.chartData.slot < 100 ? 50 : i.chartData.slot / 2),
@@ -32483,9 +32523,11 @@ function M8(A, e, t, r, n, i) {
32483
32523
  width: i.chartData.slot < 100 ? 100 : i.chartData.slot,
32484
32524
  style: { overflow: "visible" }
32485
32525
  }, [
32486
- yA("div", E8, IA(a.prefix) + " " + IA(Number(a.value.toFixed(t.dataset.header[n.currentSelectionSpan.col].decimals)).toLocaleString()) + " " + IA(a.suffix), 1)
32487
- ], 8, b8)) : ce("", !0)
32488
- ], 64)) : ce("", !0)
32526
+ yA("div", {
32527
+ style: ie(`width:100%;text-align:center;font-size:20px;color:${i.tableConfig.style.chart.layout.labels.color}`)
32528
+ }, IA(a.prefix) + " " + IA(Number(a.value.toFixed(t.dataset.header[n.currentSelectionSpan.col].decimals)).toLocaleString()) + " " + IA(a.suffix), 5)
32529
+ ], 8, F8)) : fe("", !0)
32530
+ ], 64)) : fe("", !0)
32489
32531
  ]))), 128)),
32490
32532
  (fA(!0), uA(ve, null, Te(i.chartData.plots, (a, s) => (fA(), uA("g", {
32491
32533
  key: `trap_${s}`
@@ -32498,7 +32540,7 @@ function M8(A, e, t, r, n, i) {
32498
32540
  fill: "transparent",
32499
32541
  onMouseenter: (o) => n.selectedPlot = s,
32500
32542
  onMouseleave: e[23] || (e[23] = (o) => n.selectedPlot = void 0)
32501
- }, null, 40, _8)
32543
+ }, null, 40, b8)
32502
32544
  ]))), 128)),
32503
32545
  i.chartData.progression && i.chartData.plots.length > 2 ? (fA(), uA("line", {
32504
32546
  key: 1,
@@ -32506,32 +32548,36 @@ function M8(A, e, t, r, n, i) {
32506
32548
  y1: i.chartData.progression.y1,
32507
32549
  x2: i.chartData.progression.x2,
32508
32550
  y2: i.chartData.progression.y2,
32509
- stroke: "grey",
32510
- "stroke-width": "2",
32511
- "stroke-dasharray": "4",
32551
+ stroke: i.tableConfig.style.chart.layout.progression.stroke,
32552
+ "stroke-width": i.tableConfig.style.chart.layout.progression.strokeWidth,
32553
+ "stroke-dasharray": i.tableConfig.style.chart.layout.progression.strokeDasharray,
32512
32554
  "marker-end": "url(#arrowhead)"
32513
- }, null, 8, S8)) : ce("", !0)
32514
- ], 8, h8)),
32555
+ }, null, 8, E8)) : fe("", !0)
32556
+ ], 12, u8)),
32515
32557
  i.chartData.plots.length >= 2 ? (fA(), uA("div", {
32516
32558
  key: 0,
32517
32559
  class: "chart-trend",
32518
- style: de(`color:${i.tableConfig.style.chart.modal.color}`)
32560
+ style: ie(`color:${i.tableConfig.style.chart.modal.color}`)
32519
32561
  }, [
32520
- U8,
32562
+ _8,
32521
32563
  wr(" Trend: "),
32522
32564
  yA("span", null, IA(i.chartData.progression.slope < 0 ? "+" : "-"), 1),
32523
32565
  wr(" " + IA((Math.abs(i.chartData.progression.slope) * 100).toFixed(1)) + " % ", 1)
32524
- ], 4)) : ce("", !0)
32525
- ], 64)) : ce("", !0),
32566
+ ], 4)) : fe("", !0)
32567
+ ], 64)) : fe("", !0),
32526
32568
  [n.constants.DONUT].includes(n.chart.type) && !n.showDonutOptions ? (fA(), uA(ve, { key: 2 }, [
32527
- (fA(), uA("svg", Q8, [
32569
+ (fA(), uA("svg", {
32570
+ viewBox: "0 0 100 100",
32571
+ style: ie(`overflow: visible; padding: 0 24px;background:${i.tableConfig.style.chart.layout.backgroundColor}`),
32572
+ class: "vue-ui-table-donut-chart"
32573
+ }, [
32528
32574
  (fA(!0), uA(ve, null, Te(n.currentDonut, (a, s) => (fA(), uA("path", {
32529
32575
  key: `arc_${s}`,
32530
32576
  d: a.path,
32531
32577
  stroke: `${a.color}CC`,
32532
32578
  "stroke-width": 20,
32533
32579
  fill: "none"
32534
- }, null, 8, T8))), 128)),
32580
+ }, null, 8, S8))), 128)),
32535
32581
  (fA(!0), uA(ve, null, Te(n.currentDonut, (a, s) => (fA(), uA("foreignObject", {
32536
32582
  key: `text_marker_${s}`,
32537
32583
  x: i.calcDonutMarkerLabelPositionX(a) - 15,
@@ -32540,37 +32586,66 @@ function M8(A, e, t, r, n, i) {
32540
32586
  width: "30",
32541
32587
  style: { overflow: "visible", display: "flex", "align-items": "center", "justify-content": "center" }
32542
32588
  }, [
32543
- i.isArcBigEnough(a) ? (fA(), uA("div", I8, [
32589
+ i.isArcBigEnough(a) ? (fA(), uA("div", {
32590
+ key: 0,
32591
+ class: "vue-ui-table-donut-label",
32592
+ style: ie(`color:${i.tableConfig.style.chart.layout.labels.color}`)
32593
+ }, [
32544
32594
  yA("b", null, IA(i.displayArcPercentage(a, n.currentDonut)), 1),
32545
- yA("span", N8, IA(a.name), 1)
32546
- ])) : ce("", !0)
32547
- ], 8, L8))), 128)),
32548
- yA("text", D8, IA(i.tableConfig.translations.total), 1),
32549
- yA("text", k8, IA(t.dataset.header[n.currentSelectionSpan.col].prefix) + " " + IA(i.donutHollowLabels.total) + " " + IA(t.dataset.header[n.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + IA(t.dataset.header[n.currentSelectionSpan.col].suffix), 1),
32550
- yA("text", O8, IA(i.tableConfig.translations.average), 1),
32551
- yA("text", H8, IA(t.dataset.header[n.currentSelectionSpan.col].prefix) + " " + IA(i.donutHollowLabels.average) + " " + IA(t.dataset.header[n.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + IA(t.dataset.header[n.currentSelectionSpan.col].suffix), 1)
32552
- ])),
32553
- yA("div", P8, [
32595
+ yA("span", Q8, IA(a.name), 1)
32596
+ ], 4)) : fe("", !0)
32597
+ ], 8, U8))), 128)),
32598
+ yA("text", {
32599
+ x: 50,
32600
+ y: 42,
32601
+ "text-anchor": "middle",
32602
+ "font-size": "6",
32603
+ fill: i.tableConfig.style.chart.layout.labels.color
32604
+ }, IA(i.tableConfig.translations.total), 9, T8),
32605
+ yA("text", {
32606
+ x: 50,
32607
+ y: 48,
32608
+ "text-anchor": "middle",
32609
+ "font-size": "4",
32610
+ fill: i.tableConfig.style.chart.layout.labels.color
32611
+ }, IA(t.dataset.header[n.currentSelectionSpan.col].prefix) + " " + IA(i.donutHollowLabels.total) + " " + IA(t.dataset.header[n.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + IA(t.dataset.header[n.currentSelectionSpan.col].suffix), 9, L8),
32612
+ yA("text", {
32613
+ x: 50,
32614
+ y: 56,
32615
+ "text-anchor": "middle",
32616
+ "font-size": "6",
32617
+ fill: i.tableConfig.style.chart.layout.labels.color
32618
+ }, IA(i.tableConfig.translations.average), 9, I8),
32619
+ yA("text", {
32620
+ x: 50,
32621
+ y: 62,
32622
+ "text-anchor": "middle",
32623
+ "font-size": "4",
32624
+ fill: i.tableConfig.style.chart.layout.labels.color
32625
+ }, IA(t.dataset.header[n.currentSelectionSpan.col].prefix) + " " + IA(i.donutHollowLabels.average) + " " + IA(t.dataset.header[n.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + IA(t.dataset.header[n.currentSelectionSpan.col].suffix), 9, N8)
32626
+ ], 4)),
32627
+ yA("div", D8, [
32554
32628
  (fA(!0), uA(ve, null, Te(n.currentDonut.filter((a) => a.value > 0), (a, s) => (fA(), uA("div", {
32555
32629
  class: "vue-ui-table-donut-legend-item",
32556
- key: `donut_legend_${s}`
32630
+ key: `donut_legend_${s}`,
32631
+ style: ie(`color:${i.tableConfig.style.chart.layout.labels.color}`)
32557
32632
  }, [
32558
32633
  yA("span", {
32559
- style: de(`color:${a.color}`)
32634
+ style: ie(`color:${a.color}`)
32560
32635
  }, "●", 4),
32561
32636
  yA("span", null, IA(a.name) + " : ", 1),
32562
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),
32563
32638
  yA("span", null, "(" + IA((a.proportion * 100).toFixed(1)) + "%)", 1)
32564
- ]))), 128))
32639
+ ], 4))), 128))
32565
32640
  ])
32566
- ], 64)) : ce("", !0)
32641
+ ], 64)) : fe("", !0)
32567
32642
  ], 512)
32568
- ], 4)) : ce("", !0)
32643
+ ], 4)) : fe("", !0)
32569
32644
  ], 4);
32570
32645
  }
32571
- const V8 = /* @__PURE__ */ nw(h6, [["render", M8], ["__scopeId", "data-v-bbc60499"]]);
32646
+ const P8 = /* @__PURE__ */ nw(h6, [["render", k8], ["__scopeId", "data-v-ff53107e"]]);
32572
32647
  export {
32573
32648
  At as _,
32574
- V8 as a,
32575
- K8 as v
32649
+ P8 as a,
32650
+ H8 as v
32576
32651
  };