@idmui/spot 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -324,7 +324,7 @@ class or {
|
|
|
324
324
|
}), n;
|
|
325
325
|
}
|
|
326
326
|
static pickHourly(A, e) {
|
|
327
|
-
var r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
327
|
+
var r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA, iA, DA, NA, _A, dA, R;
|
|
328
328
|
const jA = typeof e == "string" ? ee(e) : e, gA = A == null ? void 0 : A.weather, BA = A == null ? void 0 : A.marine, kA = ee((n = (r = gA == null ? void 0 : gA[0]) == null ? void 0 : r.hourly) == null ? void 0 : n.date).utc(), FA = kA.clone().add((o = (a = (i = gA == null ? void 0 : gA[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.time) == null ? void 0 : o.at(0), "h"), HA = kA.clone().add((d = (u = (c = gA == null ? void 0 : gA[0]) == null ? void 0 : c.hourly) == null ? void 0 : u.time) == null ? void 0 : d.at(-1), "h"), YA = [];
|
|
329
329
|
if (jA.isBetween(FA, HA, "millisecond", "[]")) {
|
|
330
330
|
const MA = jA.utc().diff(FA, "h", !1);
|
|
@@ -350,7 +350,7 @@ class or {
|
|
|
350
350
|
},
|
|
351
351
|
pmsl: (_ = RA == null ? void 0 : RA.pressure_msl) == null ? void 0 : _.at(MA),
|
|
352
352
|
psurf: (V = RA == null ? void 0 : RA.surface_pressure) == null ? void 0 : V.at(MA),
|
|
353
|
-
code: (
|
|
353
|
+
code: (J = RA == null ? void 0 : RA.weather_code) == null ? void 0 : J.at(MA),
|
|
354
354
|
visibility: this.m2nm((Z = RA == null ? void 0 : RA.visibility) == null ? void 0 : Z.at(MA)),
|
|
355
355
|
wind: {
|
|
356
356
|
speed: (X = RA == null ? void 0 : RA.wind_speed_10m) == null ? void 0 : X.at(MA),
|
|
@@ -379,7 +379,7 @@ class or {
|
|
|
379
379
|
height: (T = vA == null ? void 0 : vA.wave_height) == null ? void 0 : T.at(MA),
|
|
380
380
|
degree: (nA = vA == null ? void 0 : vA.wave_direction) == null ? void 0 : nA.at(MA),
|
|
381
381
|
bearing: ((AA = vA == null ? void 0 : vA.wave_direction) == null ? void 0 : AA.at(MA)) !== null ? (((q = vA == null ? void 0 : vA.wave_direction) == null ? void 0 : q.at(MA)) + 180) % 360 : null,
|
|
382
|
-
period: (
|
|
382
|
+
period: (W = vA == null ? void 0 : vA.wave_period) == null ? void 0 : W.at(MA)
|
|
383
383
|
},
|
|
384
384
|
swell: {
|
|
385
385
|
height: (eA = vA == null ? void 0 : vA.swell_wave_height) == null ? void 0 : eA.at(MA),
|
|
@@ -433,7 +433,7 @@ class or {
|
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
435
|
static pickDaily(A, e) {
|
|
436
|
-
var r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
436
|
+
var r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA;
|
|
437
437
|
const iA = typeof e == "string" ? ee(e) : e, DA = A == null ? void 0 : A.weather, NA = A == null ? void 0 : A.marine, _A = ee((i = (n = (r = DA == null ? void 0 : DA[0]) == null ? void 0 : r.daily) == null ? void 0 : n.time) == null ? void 0 : i.at(0)), dA = ee((c = (o = (a = DA == null ? void 0 : DA[0]) == null ? void 0 : a.daily) == null ? void 0 : o.time) == null ? void 0 : c.at(-1)), R = [];
|
|
438
438
|
if (iA.isBetween(_A, dA, "millisecond", "[]")) {
|
|
439
439
|
let jA, gA;
|
|
@@ -461,7 +461,7 @@ class or {
|
|
|
461
461
|
probability: (V = FA.precipitation_probability_max) == null ? void 0 : V.at(BA)
|
|
462
462
|
},
|
|
463
463
|
rh: {
|
|
464
|
-
max: (
|
|
464
|
+
max: (J = FA.relative_humidity_2m_max) == null ? void 0 : J.at(BA),
|
|
465
465
|
min: (Z = FA.relative_humidity_2m_min) == null ? void 0 : Z.at(BA),
|
|
466
466
|
mean: (X = FA.relative_humidity_2m_mean) == null ? void 0 : X.at(BA)
|
|
467
467
|
},
|
|
@@ -490,7 +490,7 @@ class or {
|
|
|
490
490
|
height: (T = HA.wave_height_max) == null ? void 0 : T.at(BA),
|
|
491
491
|
degree: (nA = HA.wave_direction_dominant) == null ? void 0 : nA.at(BA),
|
|
492
492
|
period: (AA = HA.wave_period_max) == null ? void 0 : AA.at(BA),
|
|
493
|
-
bearing: ((q = HA.wave_direction_dominant) == null ? void 0 : q.at(BA)) !== null ? (((
|
|
493
|
+
bearing: ((q = HA.wave_direction_dominant) == null ? void 0 : q.at(BA)) !== null ? (((W = HA.wave_direction_dominant) == null ? void 0 : W.at(BA)) + 180) % 360 : null
|
|
494
494
|
},
|
|
495
495
|
swell: {
|
|
496
496
|
height: (eA = HA.swell_wave_height_max) == null ? void 0 : eA.at(BA),
|
|
@@ -4655,7 +4655,7 @@ var IB = 1, nc = 2, ic = 3, pu = 4, mu = 5, xB = 7, vu = 8, sc = 9, ac = 10, Cu
|
|
|
4655
4655
|
} else if (w.name === "counters") {
|
|
4656
4656
|
var _ = w.values.filter(es), Q = _[0], V = _[1], S = _[2];
|
|
4657
4657
|
if (Q && Oe(Q)) {
|
|
4658
|
-
var
|
|
4658
|
+
var J = i.counters.getCounterValues(Q.value), Z = S && Oe(S) ? kc.parse(i.context, S.value) : 3, X = V && V.type === 0 ? V.value : "", k = J.map(function(E) {
|
|
4659
4659
|
return ra(E, Z, !1);
|
|
4660
4660
|
}).join(X);
|
|
4661
4661
|
u.appendChild(o.createTextNode(k));
|
|
@@ -4884,8 +4884,8 @@ var fp = function(t, A) {
|
|
|
4884
4884
|
S.push((i + c) / r.width), S.push((v + w) / r.width), S.push((a + Q) / r.height), S.push((u + B) / r.height);
|
|
4885
4885
|
var m = Math.max.apply(Math, S);
|
|
4886
4886
|
m > 1 && (i /= m, a /= m, c /= m, u /= m, w /= m, B /= m, v /= m, Q /= m);
|
|
4887
|
-
var U = r.width - c, _ = r.height - B, V = r.width - w,
|
|
4888
|
-
this.topLeftBorderDoubleOuterBox = i > 0 || a > 0 ? Xe(r.left + Y / 3, r.top + Z / 3, i - Y / 3, a - Z / 3, De.TOP_LEFT) : new WA(r.left + Y / 3, r.top + Z / 3), this.topRightBorderDoubleOuterBox = i > 0 || a > 0 ? Xe(r.left + U, r.top + Z / 3, c - X / 3, u - Z / 3, De.TOP_RIGHT) : new WA(r.left + r.width - X / 3, r.top + Z / 3), this.bottomRightBorderDoubleOuterBox = w > 0 || B > 0 ? Xe(r.left + V, r.top + _, w - X / 3, B - k / 3, De.BOTTOM_RIGHT) : new WA(r.left + r.width - X / 3, r.top + r.height - k / 3), this.bottomLeftBorderDoubleOuterBox = v > 0 || Q > 0 ? Xe(r.left + Y / 3, r.top +
|
|
4887
|
+
var U = r.width - c, _ = r.height - B, V = r.width - w, J = r.height - Q, Z = e.borderTopWidth, X = e.borderRightWidth, k = e.borderBottomWidth, Y = e.borderLeftWidth, cA = ze(e.paddingTop, A.bounds.width), E = ze(e.paddingRight, A.bounds.width), F = ze(e.paddingBottom, A.bounds.width), K = ze(e.paddingLeft, A.bounds.width);
|
|
4888
|
+
this.topLeftBorderDoubleOuterBox = i > 0 || a > 0 ? Xe(r.left + Y / 3, r.top + Z / 3, i - Y / 3, a - Z / 3, De.TOP_LEFT) : new WA(r.left + Y / 3, r.top + Z / 3), this.topRightBorderDoubleOuterBox = i > 0 || a > 0 ? Xe(r.left + U, r.top + Z / 3, c - X / 3, u - Z / 3, De.TOP_RIGHT) : new WA(r.left + r.width - X / 3, r.top + Z / 3), this.bottomRightBorderDoubleOuterBox = w > 0 || B > 0 ? Xe(r.left + V, r.top + _, w - X / 3, B - k / 3, De.BOTTOM_RIGHT) : new WA(r.left + r.width - X / 3, r.top + r.height - k / 3), this.bottomLeftBorderDoubleOuterBox = v > 0 || Q > 0 ? Xe(r.left + Y / 3, r.top + J, v - Y / 3, Q - k / 3, De.BOTTOM_LEFT) : new WA(r.left + Y / 3, r.top + r.height - k / 3), this.topLeftBorderDoubleInnerBox = i > 0 || a > 0 ? Xe(r.left + Y * 2 / 3, r.top + Z * 2 / 3, i - Y * 2 / 3, a - Z * 2 / 3, De.TOP_LEFT) : new WA(r.left + Y * 2 / 3, r.top + Z * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || a > 0 ? Xe(r.left + U, r.top + Z * 2 / 3, c - X * 2 / 3, u - Z * 2 / 3, De.TOP_RIGHT) : new WA(r.left + r.width - X * 2 / 3, r.top + Z * 2 / 3), this.bottomRightBorderDoubleInnerBox = w > 0 || B > 0 ? Xe(r.left + V, r.top + _, w - X * 2 / 3, B - k * 2 / 3, De.BOTTOM_RIGHT) : new WA(r.left + r.width - X * 2 / 3, r.top + r.height - k * 2 / 3), this.bottomLeftBorderDoubleInnerBox = v > 0 || Q > 0 ? Xe(r.left + Y * 2 / 3, r.top + J, v - Y * 2 / 3, Q - k * 2 / 3, De.BOTTOM_LEFT) : new WA(r.left + Y * 2 / 3, r.top + r.height - k * 2 / 3), this.topLeftBorderStroke = i > 0 || a > 0 ? Xe(r.left + Y / 2, r.top + Z / 2, i - Y / 2, a - Z / 2, De.TOP_LEFT) : new WA(r.left + Y / 2, r.top + Z / 2), this.topRightBorderStroke = i > 0 || a > 0 ? Xe(r.left + U, r.top + Z / 2, c - X / 2, u - Z / 2, De.TOP_RIGHT) : new WA(r.left + r.width - X / 2, r.top + Z / 2), this.bottomRightBorderStroke = w > 0 || B > 0 ? Xe(r.left + V, r.top + _, w - X / 2, B - k / 2, De.BOTTOM_RIGHT) : new WA(r.left + r.width - X / 2, r.top + r.height - k / 2), this.bottomLeftBorderStroke = v > 0 || Q > 0 ? Xe(r.left + Y / 2, r.top + J, v - Y / 2, Q - k / 2, De.BOTTOM_LEFT) : new WA(r.left + Y / 2, r.top + r.height - k / 2), this.topLeftBorderBox = i > 0 || a > 0 ? Xe(r.left, r.top, i, a, De.TOP_LEFT) : new WA(r.left, r.top), this.topRightBorderBox = c > 0 || u > 0 ? Xe(r.left + U, r.top, c, u, De.TOP_RIGHT) : new WA(r.left + r.width, r.top), this.bottomRightBorderBox = w > 0 || B > 0 ? Xe(r.left + V, r.top + _, w, B, De.BOTTOM_RIGHT) : new WA(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = v > 0 || Q > 0 ? Xe(r.left, r.top + J, v, Q, De.BOTTOM_LEFT) : new WA(r.left, r.top + r.height), this.topLeftPaddingBox = i > 0 || a > 0 ? Xe(r.left + Y, r.top + Z, Math.max(0, i - Y), Math.max(0, a - Z), De.TOP_LEFT) : new WA(r.left + Y, r.top + Z), this.topRightPaddingBox = c > 0 || u > 0 ? Xe(r.left + Math.min(U, r.width - X), r.top + Z, U > r.width + X ? 0 : Math.max(0, c - X), Math.max(0, u - Z), De.TOP_RIGHT) : new WA(r.left + r.width - X, r.top + Z), this.bottomRightPaddingBox = w > 0 || B > 0 ? Xe(r.left + Math.min(V, r.width - Y), r.top + Math.min(_, r.height - k), Math.max(0, w - X), Math.max(0, B - k), De.BOTTOM_RIGHT) : new WA(r.left + r.width - X, r.top + r.height - k), this.bottomLeftPaddingBox = v > 0 || Q > 0 ? Xe(r.left + Y, r.top + Math.min(J, r.height - k), Math.max(0, v - Y), Math.max(0, Q - k), De.BOTTOM_LEFT) : new WA(r.left + Y, r.top + r.height - k), this.topLeftContentBox = i > 0 || a > 0 ? Xe(r.left + Y + K, r.top + Z + cA, Math.max(0, i - (Y + K)), Math.max(0, a - (Z + cA)), De.TOP_LEFT) : new WA(r.left + Y + K, r.top + Z + cA), this.topRightContentBox = c > 0 || u > 0 ? Xe(r.left + Math.min(U, r.width + Y + K), r.top + Z + cA, U > r.width + Y + K ? 0 : c - Y + K, u - (Z + cA), De.TOP_RIGHT) : new WA(r.left + r.width - (X + E), r.top + Z + cA), this.bottomRightContentBox = w > 0 || B > 0 ? Xe(r.left + Math.min(V, r.width - (Y + K)), r.top + Math.min(_, r.height + Z + cA), Math.max(0, w - (X + E)), B - (k + F), De.BOTTOM_RIGHT) : new WA(r.left + r.width - (X + E), r.top + r.height - (k + F)), this.bottomLeftContentBox = v > 0 || Q > 0 ? Xe(r.left + Y + K, r.top + J, Math.max(0, v - (Y + K)), Q - (k + F), De.BOTTOM_LEFT) : new WA(r.left + Y + K, r.top + r.height - (k + F));
|
|
4889
4889
|
}
|
|
4890
4890
|
return t;
|
|
4891
4891
|
}()
|
|
@@ -5379,7 +5379,7 @@ var Xe = function(t, A, e, r, n) {
|
|
|
5379
5379
|
}
|
|
5380
5380
|
}, A.prototype.renderNodeContent = function(e) {
|
|
5381
5381
|
return Yt(this, void 0, void 0, function() {
|
|
5382
|
-
var r, n, i, a, o, c, U, U, u, d, w, B, V, g, v,
|
|
5382
|
+
var r, n, i, a, o, c, U, U, u, d, w, B, V, g, v, J, Q, S, m, U, _, V, J;
|
|
5383
5383
|
return kt(this, function(Z) {
|
|
5384
5384
|
switch (Z.label) {
|
|
5385
5385
|
case 0:
|
|
@@ -5434,19 +5434,19 @@ var Xe = function(t, A, e, r, n) {
|
|
|
5434
5434
|
new WA(r.bounds.left + w * 0.84, r.bounds.top + w * 0.34085),
|
|
5435
5435
|
new WA(r.bounds.left + w * 0.39363, r.bounds.top + w * 0.79)
|
|
5436
5436
|
]), this.ctx.fillStyle = yt(Eu), this.ctx.fill(), this.ctx.restore()) : r.type === To && r.checked && (this.ctx.save(), this.ctx.beginPath(), this.ctx.arc(r.bounds.left + w / 2, r.bounds.top + w / 2, w / 4, 0, Math.PI * 2, !0), this.ctx.fillStyle = yt(Eu), this.ctx.fill(), this.ctx.restore())), Jp(r) && r.value.length) {
|
|
5437
|
-
switch (B = this.createFontStyle(i), V = B[0], g = B[1], v = this.fontMetrics.getMetrics(V, g).baseline, this.ctx.font = V, this.ctx.fillStyle = yt(i.color), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = $p(r.styles.textAlign),
|
|
5437
|
+
switch (B = this.createFontStyle(i), V = B[0], g = B[1], v = this.fontMetrics.getMetrics(V, g).baseline, this.ctx.font = V, this.ctx.fillStyle = yt(i.color), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = $p(r.styles.textAlign), J = Go(r), Q = 0, r.styles.textAlign) {
|
|
5438
5438
|
case 1:
|
|
5439
|
-
Q +=
|
|
5439
|
+
Q += J.width / 2;
|
|
5440
5440
|
break;
|
|
5441
5441
|
case 2:
|
|
5442
|
-
Q +=
|
|
5442
|
+
Q += J.width;
|
|
5443
5443
|
break;
|
|
5444
5444
|
}
|
|
5445
|
-
S =
|
|
5446
|
-
new WA(
|
|
5447
|
-
new WA(
|
|
5448
|
-
new WA(
|
|
5449
|
-
new WA(
|
|
5445
|
+
S = J.add(Q, 0, 0, -J.height / 2 + 1), this.ctx.save(), this.path([
|
|
5446
|
+
new WA(J.left, J.top),
|
|
5447
|
+
new WA(J.left + J.width, J.top),
|
|
5448
|
+
new WA(J.left + J.width, J.top + J.height),
|
|
5449
|
+
new WA(J.left, J.top + J.height)
|
|
5450
5450
|
]), this.ctx.clip(), this.renderTextWithLetterSpacing(new Zs(r.value, S), i.letterSpacing, v), this.ctx.restore(), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = "left";
|
|
5451
5451
|
}
|
|
5452
5452
|
if (!pt(
|
|
@@ -5469,7 +5469,7 @@ var Xe = function(t, A, e, r, n) {
|
|
|
5469
5469
|
case 18:
|
|
5470
5470
|
return [3, 20];
|
|
5471
5471
|
case 19:
|
|
5472
|
-
e.listValue && r.styles.listStyleType !== -1 && (V = this.createFontStyle(i)[0], this.ctx.font = V, this.ctx.fillStyle = yt(i.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right",
|
|
5472
|
+
e.listValue && r.styles.listStyleType !== -1 && (V = this.createFontStyle(i)[0], this.ctx.font = V, this.ctx.fillStyle = yt(i.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", J = new cn(r.bounds.left, r.bounds.top + ze(r.styles.paddingTop, r.bounds.width), r.bounds.width, hu(i.lineHeight, i.fontSize.number) / 2 + 1), this.renderTextWithLetterSpacing(new Zs(e.listValue, J), i.letterSpacing, hu(i.lineHeight, i.fontSize.number) / 2 + 2), this.ctx.textBaseline = "bottom", this.ctx.textAlign = "left"), Z.label = 20;
|
|
5473
5473
|
case 20:
|
|
5474
5474
|
return [
|
|
5475
5475
|
2
|
|
@@ -5584,7 +5584,7 @@ var Xe = function(t, A, e, r, n) {
|
|
|
5584
5584
|
switch (u.label) {
|
|
5585
5585
|
case 0:
|
|
5586
5586
|
r = e.styles.backgroundImage.length - 1, n = function(d) {
|
|
5587
|
-
var w, B, g, cA, AA, q, K, T, k, v, cA, AA, q, K, T, Q, S, m, U, _, V,
|
|
5587
|
+
var w, B, g, cA, AA, q, K, T, k, v, cA, AA, q, K, T, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N;
|
|
5588
5588
|
return kt(this, function(z) {
|
|
5589
5589
|
switch (z.label) {
|
|
5590
5590
|
case 0:
|
|
@@ -5604,13 +5604,13 @@ var Xe = function(t, A, e, r, n) {
|
|
|
5604
5604
|
w.width / w.height
|
|
5605
5605
|
]), cA = g[0], AA = g[1], q = g[2], K = g[3], T = g[4], k = i.ctx.createPattern(i.resizeImage(w, K, T), "repeat"), i.renderRepeat(cA, k, AA, q)), [3, 6];
|
|
5606
5606
|
case 5:
|
|
5607
|
-
P1(d) ? (v = gc(e, r, [null, null, null]), cA = v[0], AA = v[1], q = v[2], K = v[3], T = v[4], Q = L1(d.angle, K, T), S = Q[0], m = Q[1], U = Q[2], _ = Q[3], V = Q[4],
|
|
5607
|
+
P1(d) ? (v = gc(e, r, [null, null, null]), cA = v[0], AA = v[1], q = v[2], K = v[3], T = v[4], Q = L1(d.angle, K, T), S = Q[0], m = Q[1], U = Q[2], _ = Q[3], V = Q[4], J = document.createElement("canvas"), J.width = K, J.height = T, Z = J.getContext("2d"), X = Z.createLinearGradient(m, _, U, V), lu(d.stops, S).forEach(function(sA) {
|
|
5608
5608
|
return X.addColorStop(sA.stop, yt(sA.color));
|
|
5609
|
-
}), Z.fillStyle = X, Z.fillRect(0, 0, K, T), K > 0 && T > 0 && (k = i.ctx.createPattern(
|
|
5609
|
+
}), Z.fillStyle = X, Z.fillRect(0, 0, K, T), K > 0 && T > 0 && (k = i.ctx.createPattern(J, "repeat"), i.renderRepeat(cA, k, AA, q))) : T1(d) && (Y = gc(e, r, [
|
|
5610
5610
|
null,
|
|
5611
5611
|
null,
|
|
5612
5612
|
null
|
|
5613
|
-
]), cA = Y[0], E = Y[1], F = Y[2], K = Y[3], T = Y[4], nA = d.position.length === 0 ? [sh] : d.position, AA = ze(nA[0], K), q = ze(nA[nA.length - 1], T),
|
|
5613
|
+
]), cA = Y[0], E = Y[1], F = Y[2], K = Y[3], T = Y[4], nA = d.position.length === 0 ? [sh] : d.position, AA = ze(nA[0], K), q = ze(nA[nA.length - 1], T), W = H1(d, AA, q, K, T), eA = W[0], lA = W[1], eA > 0 && lA > 0 && (CA = i.ctx.createRadialGradient(E + AA, F + q, 0, E + AA, F + q, eA), lu(d.stops, eA * 2).forEach(function(sA) {
|
|
5614
5614
|
return CA.addColorStop(sA.stop, yt(sA.color));
|
|
5615
5615
|
}), i.path(cA), i.ctx.fillStyle = CA, eA !== lA ? (b = e.bounds.left + 0.5 * e.bounds.width, M = e.bounds.top + 0.5 * e.bounds.height, P = lA / eA, N = 1 / P, i.ctx.save(), i.ctx.translate(b, M), i.ctx.transform(1, 0, 0, P, 0, 0), i.ctx.translate(-b, -M), i.ctx.fillRect(E, N * (F - M) + M, K, T * N), i.ctx.restore()) : i.ctx.fill())), z.label = 6;
|
|
5616
5616
|
case 6:
|
|
@@ -5731,9 +5731,9 @@ var Xe = function(t, A, e, r, n) {
|
|
|
5731
5731
|
});
|
|
5732
5732
|
}, A.prototype.renderDashedDottedBorder = function(e, r, n, i, a) {
|
|
5733
5733
|
return Yt(this, void 0, void 0, function() {
|
|
5734
|
-
var o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
5734
|
+
var o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, J, Z;
|
|
5735
5735
|
return kt(this, function(X) {
|
|
5736
|
-
return this.ctx.save(), o = Gp(i, n), c = Ku(i, n), a === 2 && (this.path(c), this.ctx.clip()), vr(c[0]) ? (u = c[0].start.x, d = c[0].start.y) : (u = c[0].x, d = c[0].y), vr(c[1]) ? (w = c[1].end.x, B = c[1].end.y) : (w = c[1].x, B = c[1].y), n === 0 || n === 2 ? g = Math.abs(u - w) : g = Math.abs(d - B), this.ctx.beginPath(), a === 3 ? this.formatPath(o) : this.formatPath(c.slice(0, 2)), v = r < 3 ? r * 3 : r * 2, Q = r < 3 ? r * 2 : r, a === 3 && (v = r, Q = r), S = !0, g <= v * 2 ? S = !1 : g <= v * 2 + Q ? (m = g / (2 * v + Q), v *= m, Q *= m) : (U = Math.floor((g + Q) / (v + Q)), _ = (g - U * v) / (U - 1), V = (g - (U + 1) * v) / U, Q = V <= 0 || Math.abs(Q - _) < Math.abs(Q - V) ? _ : V), S && (a === 3 ? this.ctx.setLineDash([0, v + Q]) : this.ctx.setLineDash([v, Q])), a === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = r) : this.ctx.lineWidth = r * 2 + 1.1, this.ctx.strokeStyle = yt(e), this.ctx.stroke(), this.ctx.setLineDash([]), a === 2 && (vr(c[0]) && (
|
|
5736
|
+
return this.ctx.save(), o = Gp(i, n), c = Ku(i, n), a === 2 && (this.path(c), this.ctx.clip()), vr(c[0]) ? (u = c[0].start.x, d = c[0].start.y) : (u = c[0].x, d = c[0].y), vr(c[1]) ? (w = c[1].end.x, B = c[1].end.y) : (w = c[1].x, B = c[1].y), n === 0 || n === 2 ? g = Math.abs(u - w) : g = Math.abs(d - B), this.ctx.beginPath(), a === 3 ? this.formatPath(o) : this.formatPath(c.slice(0, 2)), v = r < 3 ? r * 3 : r * 2, Q = r < 3 ? r * 2 : r, a === 3 && (v = r, Q = r), S = !0, g <= v * 2 ? S = !1 : g <= v * 2 + Q ? (m = g / (2 * v + Q), v *= m, Q *= m) : (U = Math.floor((g + Q) / (v + Q)), _ = (g - U * v) / (U - 1), V = (g - (U + 1) * v) / U, Q = V <= 0 || Math.abs(Q - _) < Math.abs(Q - V) ? _ : V), S && (a === 3 ? this.ctx.setLineDash([0, v + Q]) : this.ctx.setLineDash([v, Q])), a === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = r) : this.ctx.lineWidth = r * 2 + 1.1, this.ctx.strokeStyle = yt(e), this.ctx.stroke(), this.ctx.setLineDash([]), a === 2 && (vr(c[0]) && (J = c[3], Z = c[0], this.ctx.beginPath(), this.formatPath([new WA(J.end.x, J.end.y), new WA(Z.start.x, Z.start.y)]), this.ctx.stroke()), vr(c[1]) && (J = c[1], Z = c[2], this.ctx.beginPath(), this.formatPath([new WA(J.end.x, J.end.y), new WA(Z.start.x, Z.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
|
|
5737
5737
|
2
|
|
5738
5738
|
/*return*/
|
|
5739
5739
|
];
|
|
@@ -5850,7 +5850,7 @@ var Xe = function(t, A, e, r, n) {
|
|
|
5850
5850
|
typeof window < "u" && ag.setContext(window);
|
|
5851
5851
|
var s2 = function(t, A) {
|
|
5852
5852
|
return Yt(void 0, void 0, void 0, function() {
|
|
5853
|
-
var e, r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
5853
|
+
var e, r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, X, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P;
|
|
5854
5854
|
return kt(this, function(N) {
|
|
5855
5855
|
switch (N.label) {
|
|
5856
5856
|
case 0:
|
|
@@ -5881,20 +5881,20 @@ var s2 = function(t, A) {
|
|
|
5881
5881
|
return g = N.sent(), v = hh(B) || op(B) ? kd(B.ownerDocument) : zo(c, B), Q = v.width, S = v.height, m = v.left, U = v.top, _ = a2(c, B, A.backgroundColor), V = {
|
|
5882
5882
|
canvas: A.canvas,
|
|
5883
5883
|
backgroundColor: _,
|
|
5884
|
-
scale: (eA = (
|
|
5884
|
+
scale: (eA = (W = A.scale) !== null && W !== void 0 ? W : r.devicePixelRatio) !== null && eA !== void 0 ? eA : 1,
|
|
5885
5885
|
x: ((lA = A.x) !== null && lA !== void 0 ? lA : 0) + m,
|
|
5886
5886
|
y: ((CA = A.y) !== null && CA !== void 0 ? CA : 0) + U,
|
|
5887
5887
|
width: (b = A.width) !== null && b !== void 0 ? b : Math.ceil(Q),
|
|
5888
5888
|
height: (M = A.height) !== null && M !== void 0 ? M : Math.ceil(S)
|
|
5889
5889
|
}, u ? (c.logger.debug("Document cloned, using foreign object rendering"), X = new t2(c, V), [4, X.render(B)]) : [3, 3];
|
|
5890
5890
|
case 2:
|
|
5891
|
-
return
|
|
5891
|
+
return J = N.sent(), [3, 5];
|
|
5892
5892
|
case 3:
|
|
5893
5893
|
return c.logger.debug("Document cloned, element located at " + m + "," + U + " with size " + Q + "x" + S + " using computed rendering"), c.logger.debug("Starting DOM parsing"), Z = $f(c, B), _ === Z.styles.backgroundColor && (Z.styles.backgroundColor = ln.TRANSPARENT), c.logger.debug("Starting renderer for element at " + V.x + "," + V.y + " with size " + V.width + "x" + V.height), X = new Wp(c, V), [4, X.render(Z)];
|
|
5894
5894
|
case 4:
|
|
5895
|
-
|
|
5895
|
+
J = N.sent(), N.label = 5;
|
|
5896
5896
|
case 5:
|
|
5897
|
-
return (!((P = A.removeContainer) !== null && P !== void 0) || P) && (Tu.destroy(g) || c.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")), c.logger.debug("Finished rendering"), [2,
|
|
5897
|
+
return (!((P = A.removeContainer) !== null && P !== void 0) || P) && (Tu.destroy(g) || c.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")), c.logger.debug("Finished rendering"), [2, J];
|
|
5898
5898
|
}
|
|
5899
5899
|
});
|
|
5900
5900
|
});
|
|
@@ -6100,17 +6100,17 @@ var c2 = /* @__PURE__ */ Yr(kn, 9, 0), h2 = /* @__PURE__ */ Yr(kn, 9, 1), u2 = /
|
|
|
6100
6100
|
Y[E++] = AA;
|
|
6101
6101
|
}
|
|
6102
6102
|
}
|
|
6103
|
-
var
|
|
6104
|
-
Q = dc(
|
|
6103
|
+
var W = Y.subarray(0, Z), eA = Y.subarray(Z);
|
|
6104
|
+
Q = dc(W), S = dc(eA), g = Yr(W, Q, 1), v = Yr(eA, S, 1);
|
|
6105
6105
|
} else
|
|
6106
6106
|
Nr(1);
|
|
6107
6107
|
else {
|
|
6108
|
-
var _ = fh(w) + 4, V = t[_ - 4] | t[_ - 3] << 8,
|
|
6109
|
-
if (
|
|
6108
|
+
var _ = fh(w) + 4, V = t[_ - 4] | t[_ - 3] << 8, J = _ + V;
|
|
6109
|
+
if (J > n) {
|
|
6110
6110
|
c && Nr(0);
|
|
6111
6111
|
break;
|
|
6112
6112
|
}
|
|
6113
|
-
o && u(B + V), e.set(t.subarray(_,
|
|
6113
|
+
o && u(B + V), e.set(t.subarray(_, J), B), A.b = B += V, A.p = w = J * 8, A.f = d;
|
|
6114
6114
|
continue;
|
|
6115
6115
|
}
|
|
6116
6116
|
if (w > m) {
|
|
@@ -6179,8 +6179,8 @@ var c2 = /* @__PURE__ */ Yr(kn, 9, 0), h2 = /* @__PURE__ */ Yr(kn, 9, 1), u2 = /
|
|
|
6179
6179
|
var a = new Kt(e[0].s + 1);
|
|
6180
6180
|
return a[e[0].s] = 1, { t: a, l: 1 };
|
|
6181
6181
|
}
|
|
6182
|
-
e.sort(function(
|
|
6183
|
-
return
|
|
6182
|
+
e.sort(function(J, Z) {
|
|
6183
|
+
return J.f - Z.f;
|
|
6184
6184
|
}), e.push({ s: -1, f: 25001 });
|
|
6185
6185
|
var o = e[0], c = e[1], u = 0, d = 1, w = 2;
|
|
6186
6186
|
for (e[0] = { s: -1, f: o.f + c.f, l: o, r: c }; d != n - 1; )
|
|
@@ -6247,37 +6247,37 @@ var c2 = /* @__PURE__ */ Yr(kn, 9, 0), h2 = /* @__PURE__ */ Yr(kn, 9, 1), u2 = /
|
|
|
6247
6247
|
return (n + 4 + r) * 8;
|
|
6248
6248
|
}, ju = function(t, A, e, r, n, i, a, o, c, u, d) {
|
|
6249
6249
|
on(A, d++, e), ++n[256];
|
|
6250
|
-
for (var w = Bc(n, 15), B = w.t, g = w.l, v = Bc(i, 15), Q = v.t, S = v.l, m = _u(B), U = m.c, _ = m.n, V = _u(Q),
|
|
6250
|
+
for (var w = Bc(n, 15), B = w.t, g = w.l, v = Bc(i, 15), Q = v.t, S = v.l, m = _u(B), U = m.c, _ = m.n, V = _u(Q), J = V.c, Z = V.n, X = new lr(19), k = 0; k < U.length; ++k)
|
|
6251
6251
|
++X[U[k] & 31];
|
|
6252
|
-
for (var k = 0; k <
|
|
6253
|
-
++X[
|
|
6252
|
+
for (var k = 0; k < J.length; ++k)
|
|
6253
|
+
++X[J[k] & 31];
|
|
6254
6254
|
for (var Y = Bc(X, 7), cA = Y.t, E = Y.l, F = 19; F > 4 && !cA[qc[F - 1]]; --F)
|
|
6255
6255
|
;
|
|
6256
6256
|
var K = u + 5 << 3, T = Rs(n, kn) + Rs(i, na) + a, nA = Rs(n, B) + Rs(i, Q) + a + 14 + 3 * F + Rs(X, cA) + 2 * X[16] + 3 * X[17] + 7 * X[18];
|
|
6257
6257
|
if (c >= 0 && K <= T && K <= nA)
|
|
6258
6258
|
return vg(A, d, t.subarray(c, c + u));
|
|
6259
|
-
var AA, q,
|
|
6259
|
+
var AA, q, W, eA;
|
|
6260
6260
|
if (on(A, d, 1 + (nA < T)), d += 2, nA < T) {
|
|
6261
|
-
AA = Yr(B, g, 0), q = B,
|
|
6261
|
+
AA = Yr(B, g, 0), q = B, W = Yr(Q, S, 0), eA = Q;
|
|
6262
6262
|
var lA = Yr(cA, E, 0);
|
|
6263
6263
|
on(A, d, _ - 257), on(A, d + 5, Z - 1), on(A, d + 10, F - 4), d += 14;
|
|
6264
6264
|
for (var k = 0; k < F; ++k)
|
|
6265
6265
|
on(A, d + 3 * k, cA[qc[k]]);
|
|
6266
6266
|
d += 3 * F;
|
|
6267
|
-
for (var CA = [U,
|
|
6267
|
+
for (var CA = [U, J], b = 0; b < 2; ++b)
|
|
6268
6268
|
for (var M = CA[b], k = 0; k < M.length; ++k) {
|
|
6269
6269
|
var P = M[k] & 31;
|
|
6270
6270
|
on(A, d, lA[P]), d += cA[P], P > 15 && (on(A, d, M[k] >> 5 & 127), d += M[k] >> 12);
|
|
6271
6271
|
}
|
|
6272
6272
|
} else
|
|
6273
|
-
AA = c2, q = kn,
|
|
6273
|
+
AA = c2, q = kn, W = u2, eA = na;
|
|
6274
6274
|
for (var k = 0; k < o; ++k) {
|
|
6275
6275
|
var N = r[k];
|
|
6276
6276
|
if (N > 255) {
|
|
6277
6277
|
var P = N >> 18 & 31;
|
|
6278
6278
|
Ks(A, d, AA[P + 257]), d += q[P + 257], P > 7 && (on(A, d, N >> 23 & 31), d += el[P]);
|
|
6279
6279
|
var z = N & 31;
|
|
6280
|
-
Ks(A, d,
|
|
6280
|
+
Ks(A, d, W[z]), d += eA[z], z > 3 && (Ks(A, d, N >> 5 & 8191), d += tl[z]);
|
|
6281
6281
|
} else
|
|
6282
6282
|
Ks(A, d, AA[N]), d += q[N];
|
|
6283
6283
|
}
|
|
@@ -6288,25 +6288,25 @@ var c2 = /* @__PURE__ */ Yr(kn, 9, 0), h2 = /* @__PURE__ */ Yr(kn, 9, 1), u2 = /
|
|
|
6288
6288
|
d && (c[0] = i.r >> 3);
|
|
6289
6289
|
for (var w = w2[A - 1], B = w >> 13, g = w & 8191, v = (1 << e) - 1, Q = i.p || new lr(32768), S = i.h || new lr(v + 1), m = Math.ceil(e / 3), U = 2 * m, _ = function(_A) {
|
|
6290
6290
|
return (t[_A] ^ t[_A + 1] << m ^ t[_A + 2] << U) & v;
|
|
6291
|
-
}, V = new uh(25e3),
|
|
6291
|
+
}, V = new uh(25e3), J = new lr(288), Z = new lr(32), X = 0, k = 0, Y = i.i || 0, cA = 0, E = i.w || 0, F = 0; Y + 2 < a; ++Y) {
|
|
6292
6292
|
var K = _(Y), T = Y & 32767, nA = S[K];
|
|
6293
6293
|
if (Q[T] = nA, S[K] = T, E <= Y) {
|
|
6294
6294
|
var AA = a - Y;
|
|
6295
6295
|
if ((X > 7e3 || cA > 24576) && (AA > 423 || !u)) {
|
|
6296
|
-
d = ju(t, c, 0, V,
|
|
6296
|
+
d = ju(t, c, 0, V, J, Z, k, cA, F, Y - F, d), cA = X = k = 0, F = Y;
|
|
6297
6297
|
for (var q = 0; q < 286; ++q)
|
|
6298
|
-
|
|
6298
|
+
J[q] = 0;
|
|
6299
6299
|
for (var q = 0; q < 30; ++q)
|
|
6300
6300
|
Z[q] = 0;
|
|
6301
6301
|
}
|
|
6302
|
-
var
|
|
6302
|
+
var W = 2, eA = 0, lA = g, CA = T - nA & 32767;
|
|
6303
6303
|
if (AA > 2 && K == _(Y - CA))
|
|
6304
6304
|
for (var b = Math.min(B, AA) - 1, M = Math.min(32767, Y), P = Math.min(258, AA); CA <= M && --lA && T != nA; ) {
|
|
6305
|
-
if (t[Y +
|
|
6305
|
+
if (t[Y + W] == t[Y + W - CA]) {
|
|
6306
6306
|
for (var N = 0; N < P && t[Y + N] == t[Y + N - CA]; ++N)
|
|
6307
6307
|
;
|
|
6308
|
-
if (N >
|
|
6309
|
-
if (
|
|
6308
|
+
if (N > W) {
|
|
6309
|
+
if (W = N, eA = CA, N > b)
|
|
6310
6310
|
break;
|
|
6311
6311
|
for (var z = Math.min(CA, N - 2), sA = 0, q = 0; q < z; ++q) {
|
|
6312
6312
|
var aA = Y - CA + q & 32767, hA = Q[aA], yA = aA - hA & 32767;
|
|
@@ -6317,16 +6317,16 @@ var c2 = /* @__PURE__ */ Yr(kn, 9, 0), h2 = /* @__PURE__ */ Yr(kn, 9, 1), u2 = /
|
|
|
6317
6317
|
T = nA, nA = Q[T], CA += T - nA & 32767;
|
|
6318
6318
|
}
|
|
6319
6319
|
if (eA) {
|
|
6320
|
-
V[cA++] = 268435456 | Xc[
|
|
6321
|
-
var iA = Xc[
|
|
6322
|
-
k += el[iA] + tl[DA], ++
|
|
6320
|
+
V[cA++] = 268435456 | Xc[W] << 18 | Gu[eA];
|
|
6321
|
+
var iA = Xc[W] & 31, DA = Gu[eA] & 31;
|
|
6322
|
+
k += el[iA] + tl[DA], ++J[257 + iA], ++Z[DA], E = Y + W, ++X;
|
|
6323
6323
|
} else
|
|
6324
|
-
V[cA++] = t[Y], ++
|
|
6324
|
+
V[cA++] = t[Y], ++J[t[Y]];
|
|
6325
6325
|
}
|
|
6326
6326
|
}
|
|
6327
6327
|
for (Y = Math.max(Y, E); Y < a; ++Y)
|
|
6328
|
-
V[cA++] = t[Y], ++
|
|
6329
|
-
d = ju(t, c, u, V,
|
|
6328
|
+
V[cA++] = t[Y], ++J[t[Y]];
|
|
6329
|
+
d = ju(t, c, u, V, J, Z, k, cA, F, Y - F, d), u || (i.r = d & 7 | c[d / 8 | 0] << 3, d -= 7, i.h = S, i.p = Q, i.i = Y, i.w = E);
|
|
6330
6330
|
} else {
|
|
6331
6331
|
for (var Y = i.w || 0; Y < a + u; Y += 65535) {
|
|
6332
6332
|
var NA = Y + 65535;
|
|
@@ -6740,7 +6740,7 @@ function ce(t) {
|
|
|
6740
6740
|
function V() {
|
|
6741
6741
|
this.saveGraphicsState(), R(new ne(QA, 0, 0, -QA, 0, fn() * QA).toString() + " cm"), this.setFontSize(this.getFontSize() / QA), u = "n", _ = U.ADVANCED;
|
|
6742
6742
|
}
|
|
6743
|
-
function
|
|
6743
|
+
function J() {
|
|
6744
6744
|
this.restoreGraphicsState(), u = "S", _ = U.COMPAT;
|
|
6745
6745
|
}
|
|
6746
6746
|
var Z = g.__private__.combineFontStyleAndFontWeight = function(h, y) {
|
|
@@ -6750,10 +6750,10 @@ function ce(t) {
|
|
|
6750
6750
|
};
|
|
6751
6751
|
g.advancedAPI = function(h) {
|
|
6752
6752
|
var y = _ === U.COMPAT;
|
|
6753
|
-
return y && V.call(this), typeof h != "function" || (h(this), y &&
|
|
6753
|
+
return y && V.call(this), typeof h != "function" || (h(this), y && J.call(this)), this;
|
|
6754
6754
|
}, g.compatAPI = function(h) {
|
|
6755
6755
|
var y = _ === U.ADVANCED;
|
|
6756
|
-
return y &&
|
|
6756
|
+
return y && J.call(this), typeof h != "function" || (h(this), y && V.call(this)), this;
|
|
6757
6757
|
}, g.isAdvancedAPI = function() {
|
|
6758
6758
|
return _ === U.ADVANCED;
|
|
6759
6759
|
};
|
|
@@ -6801,13 +6801,13 @@ function ce(t) {
|
|
|
6801
6801
|
};
|
|
6802
6802
|
var nA, AA = "00000000000000000000000000000000", q = g.__private__.getFileId = function() {
|
|
6803
6803
|
return AA;
|
|
6804
|
-
},
|
|
6804
|
+
}, W = g.__private__.setFileId = function(h) {
|
|
6805
6805
|
return AA = h !== void 0 && /^[a-fA-F0-9]{32}$/.test(h) ? h.toUpperCase() : AA.split("").map(function() {
|
|
6806
6806
|
return "ABCDEF0123456789".charAt(Math.floor(16 * Math.random()));
|
|
6807
6807
|
}).join(""), d !== null && (Ht = new zi(d.userPermissions, d.userPassword, d.ownerPassword, AA)), AA;
|
|
6808
6808
|
};
|
|
6809
6809
|
g.setFileId = function(h) {
|
|
6810
|
-
return
|
|
6810
|
+
return W(h), this;
|
|
6811
6811
|
}, g.getFileId = function() {
|
|
6812
6812
|
return q();
|
|
6813
6813
|
};
|
|
@@ -7470,7 +7470,7 @@ Q`), wt(wA, !0), hr({ data: xA, filters: Tr(), objectId: wA }), R("endobj"), $;
|
|
|
7470
7470
|
QA = r;
|
|
7471
7471
|
}
|
|
7472
7472
|
var Ht = null;
|
|
7473
|
-
CA(),
|
|
7473
|
+
CA(), W();
|
|
7474
7474
|
var Bl = function(h) {
|
|
7475
7475
|
return d !== null ? Ht.encryptor(h, 0) : function(y) {
|
|
7476
7476
|
return y;
|
|
@@ -8189,20 +8189,20 @@ var Ar = function(t, A) {
|
|
|
8189
8189
|
m += n[_][S], V = !0, Q = _, _--;
|
|
8190
8190
|
} else {
|
|
8191
8191
|
m = (m += n[_][S] + " ").substr(m.length - 1) == " " ? m.substr(0, m.length - 1) : m;
|
|
8192
|
-
var
|
|
8192
|
+
var J = parseInt(_), Z = c(J, m, i), X = _ >= n.length - 1;
|
|
8193
8193
|
if (Z && !X) {
|
|
8194
8194
|
m += " ", S = 0;
|
|
8195
8195
|
continue;
|
|
8196
8196
|
}
|
|
8197
8197
|
if (Z || X) {
|
|
8198
8198
|
if (X)
|
|
8199
|
-
Q =
|
|
8199
|
+
Q = J;
|
|
8200
8200
|
else if (t.multiline && (w + 2) * (U + 2) + 2 > a)
|
|
8201
8201
|
continue A;
|
|
8202
8202
|
} else {
|
|
8203
8203
|
if (!t.multiline || (w + 2) * (U + 2) + 2 > a)
|
|
8204
8204
|
continue A;
|
|
8205
|
-
Q =
|
|
8205
|
+
Q = J;
|
|
8206
8206
|
}
|
|
8207
8207
|
}
|
|
8208
8208
|
for (var k = "", Y = v; Y <= Q; Y++) {
|
|
@@ -8940,7 +8940,7 @@ function Dg(t) {
|
|
|
8940
8940
|
(function(t) {
|
|
8941
8941
|
t.__addimage__ = {};
|
|
8942
8942
|
var A = "UNKNOWN", e = { PNG: [[137, 80, 78, 71]], TIFF: [[77, 77, 0, 42], [73, 73, 42, 0]], JPEG: [[255, 216, 255, 224, void 0, void 0, 74, 70, 73, 70, 0], [255, 216, 255, 225, void 0, void 0, 69, 120, 105, 102, 0, 0], [255, 216, 255, 219], [255, 216, 255, 238]], JPEG2000: [[0, 0, 0, 12, 106, 80, 32, 32]], GIF87a: [[71, 73, 70, 56, 55, 97]], GIF89a: [[71, 73, 70, 56, 57, 97]], WEBP: [[82, 73, 70, 70, void 0, void 0, void 0, void 0, 87, 69, 66, 80]], BMP: [[66, 77], [66, 65], [67, 73], [67, 80], [73, 67], [80, 84]] }, r = t.__addimage__.getImageFileTypeByImageData = function(E, F) {
|
|
8943
|
-
var K, T, nA, AA, q,
|
|
8943
|
+
var K, T, nA, AA, q, W = A;
|
|
8944
8944
|
if ((F = F || A) === "RGBA" || E.data !== void 0 && E.data instanceof Uint8ClampedArray && "height" in E && "width" in E)
|
|
8945
8945
|
return "RGBA";
|
|
8946
8946
|
if (Z(E))
|
|
@@ -8952,7 +8952,7 @@ function Dg(t) {
|
|
|
8952
8952
|
break;
|
|
8953
8953
|
}
|
|
8954
8954
|
if (AA === !0) {
|
|
8955
|
-
|
|
8955
|
+
W = q;
|
|
8956
8956
|
break;
|
|
8957
8957
|
}
|
|
8958
8958
|
}
|
|
@@ -8965,19 +8965,19 @@ function Dg(t) {
|
|
|
8965
8965
|
break;
|
|
8966
8966
|
}
|
|
8967
8967
|
if (AA === !0) {
|
|
8968
|
-
|
|
8968
|
+
W = q;
|
|
8969
8969
|
break;
|
|
8970
8970
|
}
|
|
8971
8971
|
}
|
|
8972
|
-
return
|
|
8972
|
+
return W === A && F !== A && (W = F), W;
|
|
8973
8973
|
}, n = function E(F) {
|
|
8974
8974
|
for (var K = this.internal.write, T = this.internal.putStream, nA = (0, this.internal.getFilters)(); nA.indexOf("FlateEncode") !== -1; )
|
|
8975
8975
|
nA.splice(nA.indexOf("FlateEncode"), 1);
|
|
8976
8976
|
F.objectId = this.internal.newObject();
|
|
8977
8977
|
var AA = [];
|
|
8978
8978
|
if (AA.push({ key: "Type", value: "/XObject" }), AA.push({ key: "Subtype", value: "/Image" }), AA.push({ key: "Width", value: F.width }), AA.push({ key: "Height", value: F.height }), F.colorSpace === S.INDEXED ? AA.push({ key: "ColorSpace", value: "[/Indexed /DeviceRGB " + (F.palette.length / 3 - 1) + " " + ("sMask" in F && F.sMask !== void 0 ? F.objectId + 2 : F.objectId + 1) + " 0 R]" }) : (AA.push({ key: "ColorSpace", value: "/" + F.colorSpace }), F.colorSpace === S.DEVICE_CMYK && AA.push({ key: "Decode", value: "[1 0 1 0 1 0 1 0]" })), AA.push({ key: "BitsPerComponent", value: F.bitsPerComponent }), "decodeParameters" in F && F.decodeParameters !== void 0 && AA.push({ key: "DecodeParms", value: "<<" + F.decodeParameters + ">>" }), "transparency" in F && Array.isArray(F.transparency)) {
|
|
8979
|
-
for (var q = "",
|
|
8980
|
-
q += F.transparency[
|
|
8979
|
+
for (var q = "", W = 0, eA = F.transparency.length; W < eA; W++)
|
|
8980
|
+
q += F.transparency[W] + " " + F.transparency[W] + " ";
|
|
8981
8981
|
AA.push({ key: "Mask", value: "[" + q + "]" });
|
|
8982
8982
|
}
|
|
8983
8983
|
F.sMask !== void 0 && AA.push({ key: "SMask", value: F.objectId + 1 + " 0 R" });
|
|
@@ -9046,14 +9046,14 @@ function Dg(t) {
|
|
|
9046
9046
|
}, v = function(E, F, K) {
|
|
9047
9047
|
return E || F || (E = -96, F = -96), E < 0 && (E = -1 * K.width * 72 / E / this.internal.scaleFactor), F < 0 && (F = -1 * K.height * 72 / F / this.internal.scaleFactor), E === 0 && (E = F * K.width / K.height), F === 0 && (F = E * K.height / K.width), [E, F];
|
|
9048
9048
|
}, Q = function(E, F, K, T, nA, AA) {
|
|
9049
|
-
var q = v.call(this, K, T, nA),
|
|
9049
|
+
var q = v.call(this, K, T, nA), W = this.internal.getCoordinateString, eA = this.internal.getVerticalCoordinateString, lA = c.call(this);
|
|
9050
9050
|
if (K = q[0], T = q[1], lA[nA.index] = nA, AA) {
|
|
9051
9051
|
AA *= Math.PI / 180;
|
|
9052
9052
|
var CA = Math.cos(AA), b = Math.sin(AA), M = function(N) {
|
|
9053
9053
|
return N.toFixed(4);
|
|
9054
9054
|
}, P = [M(CA), M(b), M(-1 * b), M(CA), 0, 0, "cm"];
|
|
9055
9055
|
}
|
|
9056
|
-
this.internal.write("q"), AA ? (this.internal.write([1, "0", "0", 1,
|
|
9056
|
+
this.internal.write("q"), AA ? (this.internal.write([1, "0", "0", 1, W(E), eA(F + T), "cm"].join(" ")), this.internal.write(P.join(" ")), this.internal.write([W(K), "0", "0", W(T), "0", "0", "cm"].join(" "))) : this.internal.write([W(K), "0", "0", W(T), W(E), eA(F + T), "cm"].join(" ")), this.isAdvancedAPI() && this.internal.write([1, 0, 0, -1, 0, 0, "cm"].join(" ")), this.internal.write("/I" + nA.index + " Do"), this.internal.write("Q");
|
|
9057
9057
|
}, S = t.color_spaces = { DEVICE_RGB: "DeviceRGB", DEVICE_GRAY: "DeviceGray", DEVICE_CMYK: "DeviceCMYK", CAL_GREY: "CalGray", CAL_RGB: "CalRGB", LAB: "Lab", ICC_BASED: "ICCBased", INDEXED: "Indexed", PATTERN: "Pattern", SEPARATION: "Separation", DEVICE_N: "DeviceN" };
|
|
9058
9058
|
t.decode = { DCT_DECODE: "DCTDecode", FLATE_DECODE: "FlateDecode", LZW_DECODE: "LZWDecode", JPX_DECODE: "JPXDecode", JBIG2_DECODE: "JBIG2Decode", ASCII85_DECODE: "ASCII85Decode", ASCII_HEX_DECODE: "ASCIIHexDecode", RUN_LENGTH_DECODE: "RunLengthDecode", CCITT_FAX_DECODE: "CCITTFaxDecode" };
|
|
9059
9059
|
var m = t.image_compression = { NONE: "NONE", FAST: "FAST", MEDIUM: "MEDIUM", SLOW: "SLOW" }, U = t.__addimage__.sHashCode = function(E) {
|
|
@@ -9074,14 +9074,14 @@ function Dg(t) {
|
|
|
9074
9074
|
return null;
|
|
9075
9075
|
var F = E.indexOf(",");
|
|
9076
9076
|
return F < 0 ? null : E.substring(0, F).trim().endsWith("base64") ? E.substring(F + 1) : null;
|
|
9077
|
-
},
|
|
9077
|
+
}, J = t.__addimage__.supportsArrayBuffer = function() {
|
|
9078
9078
|
return typeof ArrayBuffer < "u" && typeof Uint8Array < "u";
|
|
9079
9079
|
};
|
|
9080
9080
|
t.__addimage__.isArrayBuffer = function(E) {
|
|
9081
|
-
return
|
|
9081
|
+
return J() && E instanceof ArrayBuffer;
|
|
9082
9082
|
};
|
|
9083
9083
|
var Z = t.__addimage__.isArrayBufferView = function(E) {
|
|
9084
|
-
return
|
|
9084
|
+
return J() && typeof Uint32Array < "u" && (E instanceof Int8Array || E instanceof Uint8Array || typeof Uint8ClampedArray < "u" && E instanceof Uint8ClampedArray || E instanceof Int16Array || E instanceof Uint16Array || E instanceof Int32Array || E instanceof Uint32Array || E instanceof Float32Array || E instanceof Float64Array);
|
|
9085
9085
|
}, X = t.__addimage__.binaryStringToUint8Array = function(E) {
|
|
9086
9086
|
for (var F = E.length, K = new Uint8Array(F), T = 0; T < F; T++)
|
|
9087
9087
|
K[T] = E.charCodeAt(T);
|
|
@@ -9092,30 +9092,30 @@ function Dg(t) {
|
|
|
9092
9092
|
return F;
|
|
9093
9093
|
};
|
|
9094
9094
|
t.addImage = function() {
|
|
9095
|
-
var E, F, K, T, nA, AA, q,
|
|
9096
|
-
if (typeof arguments[1] == "number" ? (F = A, K = arguments[1], T = arguments[2], nA = arguments[3], AA = arguments[4], q = arguments[5],
|
|
9095
|
+
var E, F, K, T, nA, AA, q, W, eA;
|
|
9096
|
+
if (typeof arguments[1] == "number" ? (F = A, K = arguments[1], T = arguments[2], nA = arguments[3], AA = arguments[4], q = arguments[5], W = arguments[6], eA = arguments[7]) : (F = arguments[1], K = arguments[2], T = arguments[3], nA = arguments[4], AA = arguments[5], q = arguments[6], W = arguments[7], eA = arguments[8]), Se(E = arguments[0]) === "object" && !w(E) && "imageData" in E) {
|
|
9097
9097
|
var lA = E;
|
|
9098
|
-
E = lA.imageData, F = lA.format || F || A, K = lA.x || K || 0, T = lA.y || T || 0, nA = lA.w || lA.width || nA, AA = lA.h || lA.height || AA, q = lA.alias || q,
|
|
9098
|
+
E = lA.imageData, F = lA.format || F || A, K = lA.x || K || 0, T = lA.y || T || 0, nA = lA.w || lA.width || nA, AA = lA.h || lA.height || AA, q = lA.alias || q, W = lA.compression || W, eA = lA.rotation || lA.angle || eA;
|
|
9099
9099
|
}
|
|
9100
9100
|
var CA = this.internal.getFilters();
|
|
9101
|
-
if (
|
|
9101
|
+
if (W === void 0 && CA.indexOf("FlateEncode") !== -1 && (W = "SLOW"), isNaN(K) || isNaN(T))
|
|
9102
9102
|
throw new Error("Invalid coordinates passed to jsPDF.addImage");
|
|
9103
9103
|
o.call(this);
|
|
9104
|
-
var b = Y.call(this, E, F, q,
|
|
9104
|
+
var b = Y.call(this, E, F, q, W);
|
|
9105
9105
|
return Q.call(this, K, T, nA, AA, b, eA), this;
|
|
9106
9106
|
};
|
|
9107
9107
|
var Y = function(E, F, K, T) {
|
|
9108
9108
|
var nA, AA, q;
|
|
9109
9109
|
if (typeof E == "string" && r(E) === A) {
|
|
9110
9110
|
E = unescape(E);
|
|
9111
|
-
var
|
|
9112
|
-
(
|
|
9111
|
+
var W = cA(E, !1);
|
|
9112
|
+
(W !== "" || (W = t.loadFile(E, !0)) !== void 0) && (E = W);
|
|
9113
9113
|
}
|
|
9114
9114
|
if (w(E) && (E = B(E, F)), F = r(E, F), !d(F))
|
|
9115
9115
|
throw new Error("addImage does not support files of type '" + F + "', please ensure that a plugin for '" + F + "' support is added.");
|
|
9116
9116
|
if (((q = K) == null || q.length === 0) && (K = function(eA) {
|
|
9117
9117
|
return typeof eA == "string" || Z(eA) ? U(eA) : Z(eA.data) ? U(eA.data) : null;
|
|
9118
|
-
}(E)), (nA = g.call(this, K)) || (
|
|
9118
|
+
}(E)), (nA = g.call(this, K)) || (J() && (E instanceof Uint8Array || F === "RGBA" || (AA = E, E = X(E))), nA = this["process" + F.toUpperCase()](E, u.call(this), K, function(eA) {
|
|
9119
9119
|
return eA && typeof eA == "string" && (eA = eA.toUpperCase()), eA in t.image_compression ? eA : m.NONE;
|
|
9120
9120
|
}(T), AA)), !nA)
|
|
9121
9121
|
throw new Error("An unknown error occurred whilst processing the image.");
|
|
@@ -9139,7 +9139,7 @@ function Dg(t) {
|
|
|
9139
9139
|
var F, K, T = "";
|
|
9140
9140
|
if (w(E) && (E = B(E)), typeof E == "string" && r(E) === A && ((T = cA(E, !1)) === "" && (T = t.loadFile(E) || ""), E = T), K = r(E), !d(K))
|
|
9141
9141
|
throw new Error("addImage does not support files of type '" + K + "', please ensure that a plugin for '" + K + "' support is added.");
|
|
9142
|
-
if (!
|
|
9142
|
+
if (!J() || E instanceof Uint8Array || (E = X(E)), !(F = this["process" + K.toUpperCase()](E)))
|
|
9143
9143
|
throw new Error("An unknown error occurred whilst processing the image");
|
|
9144
9144
|
return F.fileType = K, F;
|
|
9145
9145
|
};
|
|
@@ -9190,8 +9190,8 @@ function(t) {
|
|
|
9190
9190
|
break;
|
|
9191
9191
|
case "link":
|
|
9192
9192
|
if (r.options.name) {
|
|
9193
|
-
var
|
|
9194
|
-
r.options.pageNumber =
|
|
9193
|
+
var J = this.annotations._nameMap[r.options.name];
|
|
9194
|
+
r.options.pageNumber = J.page, r.options.top = J.y;
|
|
9195
9195
|
} else
|
|
9196
9196
|
r.options.top || (r.options.top = 0);
|
|
9197
9197
|
if (n = "/Rect [" + r.finalBounds.x + " " + r.finalBounds.y + " " + r.finalBounds.w + " " + r.finalBounds.h + "] ", i = "", r.options.url)
|
|
@@ -9285,10 +9285,10 @@ function(t) {
|
|
|
9285
9285
|
var B = t.__arabicParser__.getCorrectForm = function(Q, S, m) {
|
|
9286
9286
|
return a(Q) ? i(Q) === !1 ? -1 : !u(Q) || !a(S) && !a(m) || !a(m) && o(S) || o(Q) && !a(S) || o(Q) && c(S) || o(Q) && o(S) ? 0 : d(Q) && a(S) && !o(S) && a(m) && u(m) ? 3 : o(Q) || !a(m) ? 1 : 2 : -1;
|
|
9287
9287
|
}, g = function(Q) {
|
|
9288
|
-
var S = 0, m = 0, U = 0, _ = "", V = "",
|
|
9288
|
+
var S = 0, m = 0, U = 0, _ = "", V = "", J = "", Z = (Q = Q || "").split("\\s+"), X = [];
|
|
9289
9289
|
for (S = 0; S < Z.length; S += 1) {
|
|
9290
9290
|
for (X.push(""), m = 0; m < Z[S].length; m += 1)
|
|
9291
|
-
_ = Z[S][m], V = Z[S][m - 1],
|
|
9291
|
+
_ = Z[S][m], V = Z[S][m - 1], J = Z[S][m + 1], a(_) ? (U = B(_, V, J), X[S] += U !== -1 ? String.fromCharCode(A[_.charCodeAt(0)][U]) : _) : X[S] += _;
|
|
9292
9292
|
X[S] = w(X[S]);
|
|
9293
9293
|
}
|
|
9294
9294
|
return X.join(" ");
|
|
@@ -9455,7 +9455,7 @@ function(t) {
|
|
|
9455
9455
|
t.table = function(c, u, d, w, B) {
|
|
9456
9456
|
if (r.call(this), !d)
|
|
9457
9457
|
throw new Error("No data for PDF table.");
|
|
9458
|
-
var g, v, Q, S, m = [], U = [], _ = [], V = {},
|
|
9458
|
+
var g, v, Q, S, m = [], U = [], _ = [], V = {}, J = {}, Z = [], X = [], k = (B = B || {}).autoSize || !1, Y = B.printHeaders !== !1, cA = B.css && B.css["font-size"] !== void 0 ? 16 * B.css["font-size"] : B.fontSize || 12, E = B.margins || Object.assign({ width: this.getPageWidth() }, A), F = typeof B.padding == "number" ? B.padding : 3, K = B.headerBackgroundColor || "#c8c8c8", T = B.headerTextColor || "#000";
|
|
9459
9459
|
if (n.call(this), this.internal.__cell__.printHeaders = Y, this.internal.__cell__.margins = E, this.internal.__cell__.table_font_size = cA, this.internal.__cell__.padding = F, this.internal.__cell__.headerBackgroundColor = K, this.internal.__cell__.headerTextColor = T, this.setFontSize(cA), w == null)
|
|
9460
9460
|
U = m = Object.keys(d[0]), _ = m.map(function() {
|
|
9461
9461
|
return "left";
|
|
@@ -9468,7 +9468,7 @@ function(t) {
|
|
|
9468
9468
|
}), _ = w.map(function(lA) {
|
|
9469
9469
|
return lA.align || "left";
|
|
9470
9470
|
}), g = 0; g < w.length; g += 1)
|
|
9471
|
-
|
|
9471
|
+
J[w[g].name] = w[g].width * (19.049976 / 25.4);
|
|
9472
9472
|
else
|
|
9473
9473
|
Array.isArray(w) && typeof w[0] == "string" && (U = m = w, _ = m.map(function() {
|
|
9474
9474
|
return "left";
|
|
@@ -9479,15 +9479,15 @@ function(t) {
|
|
|
9479
9479
|
return lA[S];
|
|
9480
9480
|
}), this.setFont(void 0, "bold"), Z.push(this.getTextDimensions(U[g], { fontSize: this.internal.__cell__.table_font_size, scaleFactor: this.internal.scaleFactor }).w), v = V[S], this.setFont(void 0, "normal"), Q = 0; Q < v.length; Q += 1)
|
|
9481
9481
|
Z.push(this.getTextDimensions(v[Q], { fontSize: this.internal.__cell__.table_font_size, scaleFactor: this.internal.scaleFactor }).w);
|
|
9482
|
-
|
|
9482
|
+
J[S] = Math.max.apply(null, Z) + F + F, Z = [];
|
|
9483
9483
|
}
|
|
9484
9484
|
if (Y) {
|
|
9485
9485
|
var nA = {};
|
|
9486
9486
|
for (g = 0; g < m.length; g += 1)
|
|
9487
9487
|
nA[m[g]] = {}, nA[m[g]].text = U[g], nA[m[g]].align = _[g];
|
|
9488
|
-
var AA = o.call(this, nA,
|
|
9488
|
+
var AA = o.call(this, nA, J);
|
|
9489
9489
|
X = m.map(function(lA) {
|
|
9490
|
-
return new i(c, u,
|
|
9490
|
+
return new i(c, u, J[lA], AA, nA[lA].text, void 0, nA[lA].align);
|
|
9491
9491
|
}), this.setTableHeaderRow(X), this.printHeaderRow(1, !1);
|
|
9492
9492
|
}
|
|
9493
9493
|
var q = w.reduce(function(lA, CA) {
|
|
@@ -9495,10 +9495,10 @@ function(t) {
|
|
|
9495
9495
|
}, {});
|
|
9496
9496
|
for (g = 0; g < d.length; g += 1) {
|
|
9497
9497
|
"rowStart" in B && B.rowStart instanceof Function && B.rowStart({ row: g, data: d[g] }, this);
|
|
9498
|
-
var
|
|
9498
|
+
var W = o.call(this, d[g], J);
|
|
9499
9499
|
for (Q = 0; Q < m.length; Q += 1) {
|
|
9500
9500
|
var eA = d[g][m[Q]];
|
|
9501
|
-
"cellStart" in B && B.cellStart instanceof Function && B.cellStart({ row: g, col: Q, data: eA }, this), a.call(this, new i(c, u,
|
|
9501
|
+
"cellStart" in B && B.cellStart instanceof Function && B.cellStart({ row: g, col: Q, data: eA }, this), a.call(this, new i(c, u, J[m[Q]], W, eA, g + 2, q[m[Q]]));
|
|
9502
9502
|
}
|
|
9503
9503
|
}
|
|
9504
9504
|
return this.internal.__cell__.table_x = c, this.internal.__cell__.table_y = u, this;
|
|
@@ -9975,7 +9975,7 @@ var Qo, Af, ef, yc = ["times"];
|
|
|
9975
9975
|
if (isNaN(M) || isNaN(P) || typeof b != "string")
|
|
9976
9976
|
throw Re.error("jsPDF.context2d.fillText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillText");
|
|
9977
9977
|
if (N = isNaN(N) ? void 0 : N, !g.call(this)) {
|
|
9978
|
-
var z =
|
|
9978
|
+
var z = W(this.ctx.transform.rotation), sA = this.ctx.transform.scaleX;
|
|
9979
9979
|
F.call(this, { text: b, x: M, y: P, scale: sA, angle: z, align: this.textAlign, maxWidth: N });
|
|
9980
9980
|
}
|
|
9981
9981
|
}, w.prototype.strokeText = function(b, M, P, N) {
|
|
@@ -9983,7 +9983,7 @@ var Qo, Af, ef, yc = ["times"];
|
|
|
9983
9983
|
throw Re.error("jsPDF.context2d.strokeText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeText");
|
|
9984
9984
|
if (!v.call(this)) {
|
|
9985
9985
|
N = isNaN(N) ? void 0 : N;
|
|
9986
|
-
var z =
|
|
9986
|
+
var z = W(this.ctx.transform.rotation), sA = this.ctx.transform.scaleX;
|
|
9987
9987
|
F.call(this, { text: b, x: M, y: P, scale: sA, renderingMode: "stroke", angle: z, align: this.textAlign, maxWidth: N });
|
|
9988
9988
|
}
|
|
9989
9989
|
}, w.prototype.measureText = function(b) {
|
|
@@ -10025,7 +10025,7 @@ var Qo, Af, ef, yc = ["times"];
|
|
|
10025
10025
|
w.prototype.drawImage = function(b, M, P, N, z, sA, aA, hA, yA) {
|
|
10026
10026
|
var iA = this.pdf.getImageProperties(b), DA = 1, NA = 1, _A = 1, dA = 1;
|
|
10027
10027
|
N !== void 0 && hA !== void 0 && (_A = hA / N, dA = yA / z, DA = iA.width / N * hA / N, NA = iA.height / z * yA / z), sA === void 0 && (sA = M, aA = P, M = 0, P = 0), N !== void 0 && hA === void 0 && (hA = N, yA = z), N === void 0 && hA === void 0 && (hA = iA.width, yA = iA.height);
|
|
10028
|
-
for (var R, jA = this.ctx.transform.decompose(), gA =
|
|
10028
|
+
for (var R, jA = this.ctx.transform.decompose(), gA = W(jA.rotate.shx), BA = new c(), kA = (BA = (BA = (BA = BA.multiply(jA.translate)).multiply(jA.skew)).multiply(jA.scale)).applyToRectangle(new o(sA - M * _A, aA - P * dA, N * DA, z * NA)), FA = S.call(this, kA), HA = [], YA = 0; YA < FA.length; YA += 1)
|
|
10029
10029
|
HA.indexOf(FA[YA]) === -1 && HA.push(FA[YA]);
|
|
10030
10030
|
if (_(HA), this.autoPaging)
|
|
10031
10031
|
for (var MA = HA[0], XA = HA[HA.length - 1], Ae = MA; Ae < XA + 1; Ae++) {
|
|
@@ -10033,7 +10033,7 @@ var Qo, Af, ef, yc = ["times"];
|
|
|
10033
10033
|
var j = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], UA = Ae === 1 ? this.posY + this.margin[0] : this.margin[0], vA = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], RA = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], QA = Ae === 1 ? 0 : vA + (Ae - 2) * RA;
|
|
10034
10034
|
if (this.ctx.clip_path.length !== 0) {
|
|
10035
10035
|
var uA = this.path;
|
|
10036
|
-
R = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = U(R, this.posX + this.margin[3], -QA + UA + this.ctx.prevPageLastElemOffset),
|
|
10036
|
+
R = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = U(R, this.posX + this.margin[3], -QA + UA + this.ctx.prevPageLastElemOffset), J.call(this, "fill", !0), this.path = uA;
|
|
10037
10037
|
}
|
|
10038
10038
|
var LA = JSON.parse(JSON.stringify(kA));
|
|
10039
10039
|
LA = U([LA], this.posX + this.margin[3], -QA + UA + this.ctx.prevPageLastElemOffset)[0];
|
|
@@ -10106,18 +10106,18 @@ var Qo, Af, ef, yc = ["times"];
|
|
|
10106
10106
|
var HA = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], YA = FA === 1 ? this.posY + this.margin[0] : this.margin[0], MA = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], XA = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Ae = FA === 1 ? 0 : MA + (FA - 2) * XA;
|
|
10107
10107
|
if (this.ctx.clip_path.length !== 0) {
|
|
10108
10108
|
var j = this.path;
|
|
10109
|
-
P = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = U(P, this.posX + this.margin[3], -Ae + YA + this.ctx.prevPageLastElemOffset),
|
|
10109
|
+
P = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = U(P, this.posX + this.margin[3], -Ae + YA + this.ctx.prevPageLastElemOffset), J.call(this, b, !0), this.path = j;
|
|
10110
10110
|
}
|
|
10111
10111
|
if (N = JSON.parse(JSON.stringify(DA)), this.path = U(N, this.posX + this.margin[3], -Ae + YA + this.ctx.prevPageLastElemOffset), M === !1 || FA === 0) {
|
|
10112
10112
|
var UA = (FA > BA || FA < kA) && Q.call(this);
|
|
10113
|
-
UA && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], HA, XA, null).clip().discardPath()),
|
|
10113
|
+
UA && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], HA, XA, null).clip().discardPath()), J.call(this, b, M), UA && this.pdf.restoreGraphicsState();
|
|
10114
10114
|
}
|
|
10115
10115
|
this.lineWidth = hA;
|
|
10116
10116
|
}
|
|
10117
10117
|
else
|
|
10118
|
-
this.lineWidth = yA,
|
|
10118
|
+
this.lineWidth = yA, J.call(this, b, M), this.lineWidth = hA;
|
|
10119
10119
|
this.path = DA;
|
|
10120
|
-
},
|
|
10120
|
+
}, J = function(b, M) {
|
|
10121
10121
|
if ((b !== "stroke" || M || !v.call(this)) && (b === "stroke" || M || !g.call(this))) {
|
|
10122
10122
|
for (var P, N, z = [], sA = this.path, aA = 0; aA < sA.length; aA++) {
|
|
10123
10123
|
var hA = sA[aA];
|
|
@@ -10243,7 +10243,7 @@ var Qo, Af, ef, yc = ["times"];
|
|
|
10243
10243
|
var FA = kA === 1 ? this.posY + this.margin[0] : this.margin[0], HA = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], YA = this.pdf.internal.pageSize.height - this.margin[2], MA = YA - this.margin[0], XA = this.pdf.internal.pageSize.width - this.margin[1], Ae = XA - this.margin[3], j = kA === 1 ? 0 : HA + (kA - 2) * MA;
|
|
10244
10244
|
if (this.ctx.clip_path.length !== 0) {
|
|
10245
10245
|
var UA = this.path;
|
|
10246
|
-
yA = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = U(yA, this.posX + this.margin[3], -1 * j + FA),
|
|
10246
|
+
yA = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = U(yA, this.posX + this.margin[3], -1 * j + FA), J.call(this, "fill", !0), this.path = UA;
|
|
10247
10247
|
}
|
|
10248
10248
|
var vA = U([JSON.parse(JSON.stringify(_A))], this.posX + this.margin[3], -j + FA + this.ctx.prevPageLastElemOffset)[0];
|
|
10249
10249
|
b.scale >= 0.01 && (iA = this.pdf.internal.getFontSize(), this.pdf.setFontSize(iA * b.scale), DA = this.lineWidth, this.lineWidth = DA * b.scale);
|
|
@@ -10278,7 +10278,7 @@ var Qo, Af, ef, yc = ["times"];
|
|
|
10278
10278
|
}, q = function(b, M, P) {
|
|
10279
10279
|
var N = (P - M) / 2, z = b * Math.cos(N), sA = b * Math.sin(N), aA = z, hA = -sA, yA = aA * aA + hA * hA, iA = yA + aA * z + hA * sA, DA = 4 / 3 * (Math.sqrt(2 * yA * iA) - iA) / (aA * sA - hA * z), NA = aA - DA * hA, _A = hA + DA * aA, dA = NA, R = -_A, jA = N + M, gA = Math.cos(jA), BA = Math.sin(jA);
|
|
10280
10280
|
return { x1: b * Math.cos(M), y1: b * Math.sin(M), x2: NA * gA - _A * BA, y2: NA * BA + _A * gA, x3: dA * gA - R * BA, y3: dA * BA + R * gA, x4: b * Math.cos(P), y4: b * Math.sin(P) };
|
|
10281
|
-
},
|
|
10281
|
+
}, W = function(b) {
|
|
10282
10282
|
return 180 * b / Math.PI;
|
|
10283
10283
|
}, eA = function(b, M, P, N, z, sA) {
|
|
10284
10284
|
var aA = b + 0.5 * (P - b), hA = M + 0.5 * (N - M), yA = z + 0.5 * (P - z), iA = sA + 0.5 * (N - sA), DA = Math.min(b, z, aA, yA), NA = Math.max(b, z, aA, yA), _A = Math.min(M, sA, hA, iA), dA = Math.max(M, sA, hA, iA);
|
|
@@ -10831,10 +10831,10 @@ var Ri, bo, tf, rf, nf, _2 = function() {
|
|
|
10831
10831
|
var a, o, c, u, d, w, B, g, v, Q, S, m, U, _;
|
|
10832
10832
|
for (this.data = i, this.pos = 8, this.palette = [], this.imgData = [], this.transparency = {}, this.animation = null, this.text = {}, w = null; ; ) {
|
|
10833
10833
|
switch (a = this.readUInt32(), v = (function() {
|
|
10834
|
-
var V,
|
|
10835
|
-
for (
|
|
10836
|
-
|
|
10837
|
-
return
|
|
10834
|
+
var V, J;
|
|
10835
|
+
for (J = [], V = 0; V < 4; ++V)
|
|
10836
|
+
J.push(String.fromCharCode(this.data[this.pos++]));
|
|
10837
|
+
return J;
|
|
10838
10838
|
}).call(this).join("")) {
|
|
10839
10839
|
case "IHDR":
|
|
10840
10840
|
this.width = this.readUInt32(), this.height = this.readUInt32(), this.bits = this.data[this.pos++], this.colorType = this.data[this.pos++], this.compressionMethod = this.data[this.pos++], this.filterMethod = this.data[this.pos++], this.interlaceMethod = this.data[this.pos++];
|
|
@@ -10912,7 +10912,7 @@ var Ri, bo, tf, rf, nf, _2 = function() {
|
|
|
10912
10912
|
if (i == null && (i = this.imgData), i.length === 0)
|
|
10913
10913
|
return new Uint8Array(0);
|
|
10914
10914
|
function d(w, B, g, v) {
|
|
10915
|
-
var Q, S, m, U, _, V,
|
|
10915
|
+
var Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA = Math.ceil((u.width - w) / g), CA = Math.ceil((u.height - B) / v), b = u.width == lA && u.height == CA;
|
|
10916
10916
|
for (F = a * lA, cA = b ? o : new Uint8Array(F * CA), V = i.length, E = 0, S = 0; E < CA && c < V; ) {
|
|
10917
10917
|
switch (i[c++]) {
|
|
10918
10918
|
case 0:
|
|
@@ -10928,12 +10928,12 @@ var Ri, bo, tf, rf, nf, _2 = function() {
|
|
|
10928
10928
|
Q = i[c++], m = (U - U % a) / a, K = E && cA[(E - 1) * F + m * a + U % a], cA[S++] = (K + Q) % 256;
|
|
10929
10929
|
break;
|
|
10930
10930
|
case 3:
|
|
10931
|
-
for (U =
|
|
10931
|
+
for (U = W = 0; W < F; U = W += 1)
|
|
10932
10932
|
Q = i[c++], m = (U - U % a) / a, _ = U < a ? 0 : cA[S - a], K = E && cA[(E - 1) * F + m * a + U % a], cA[S++] = (Q + Math.floor((_ + K) / 2)) % 256;
|
|
10933
10933
|
break;
|
|
10934
10934
|
case 4:
|
|
10935
10935
|
for (U = eA = 0; eA < F; U = eA += 1)
|
|
10936
|
-
Q = i[c++], m = (U - U % a) / a, _ = U < a ? 0 : cA[S - a], E === 0 ? K = T = 0 : (K = cA[(E - 1) * F + m * a + U % a], T = m && cA[(E - 1) * F + (m - 1) * a + U % a]),
|
|
10936
|
+
Q = i[c++], m = (U - U % a) / a, _ = U < a ? 0 : cA[S - a], E === 0 ? K = T = 0 : (K = cA[(E - 1) * F + m * a + U % a], T = m && cA[(E - 1) * F + (m - 1) * a + U % a]), J = _ + K - T, Z = Math.abs(J - _), k = Math.abs(J - K), Y = Math.abs(J - T), X = Z <= k && Z <= Y ? _ : k <= Y ? K : T, cA[S++] = (Q + X) % 256;
|
|
10937
10937
|
break;
|
|
10938
10938
|
default:
|
|
10939
10939
|
throw new Error("Invalid filter algorithm: " + i[c - 1]);
|
|
@@ -11106,7 +11106,7 @@ function j2(t) {
|
|
|
11106
11106
|
}
|
|
11107
11107
|
break;
|
|
11108
11108
|
case 44:
|
|
11109
|
-
var S = t[A++] | t[A++] << 8, m = t[A++] | t[A++] << 8, U = t[A++] | t[A++] << 8, _ = t[A++] | t[A++] << 8, V = t[A++],
|
|
11109
|
+
var S = t[A++] | t[A++] << 8, m = t[A++] | t[A++] << 8, U = t[A++] | t[A++] << 8, _ = t[A++] | t[A++] << 8, V = t[A++], J = V >> 6 & 1, Z = 1 << (7 & V) + 1, X = o, k = c, Y = !1;
|
|
11110
11110
|
V >> 7 && (Y = !0, X = A, k = Z, A += 3 * Z);
|
|
11111
11111
|
var cA = A;
|
|
11112
11112
|
for (A++; ; ) {
|
|
@@ -11117,7 +11117,7 @@ function j2(t) {
|
|
|
11117
11117
|
break;
|
|
11118
11118
|
A += E;
|
|
11119
11119
|
}
|
|
11120
|
-
d.push({ x: S, y: m, width: U, height: _, has_local_palette: Y, palette_offset: X, palette_size: k, data_offset: cA, data_length: A - cA, transparent_index: B, interlaced: !!
|
|
11120
|
+
d.push({ x: S, y: m, width: U, height: _, has_local_palette: Y, palette_offset: X, palette_size: k, data_offset: cA, data_length: A - cA, transparent_index: B, interlaced: !!J, delay: w, disposal: g });
|
|
11121
11121
|
break;
|
|
11122
11122
|
case 59:
|
|
11123
11123
|
u = !1;
|
|
@@ -11136,13 +11136,13 @@ function j2(t) {
|
|
|
11136
11136
|
}, this.decodeAndBlitFrameBGRA = function(F, K) {
|
|
11137
11137
|
var T = this.frameInfo(F), nA = T.width * T.height, AA = new Uint8Array(nA);
|
|
11138
11138
|
sf(t, T.data_offset, AA, nA);
|
|
11139
|
-
var q = T.palette_offset,
|
|
11140
|
-
|
|
11139
|
+
var q = T.palette_offset, W = T.transparent_index;
|
|
11140
|
+
W === null && (W = 256);
|
|
11141
11141
|
var eA = T.width, lA = e - eA, CA = eA, b = 4 * (T.y * e + T.x), M = 4 * ((T.y + T.height) * e + T.x), P = b, N = 4 * lA;
|
|
11142
11142
|
T.interlaced === !0 && (N += 4 * e * 7);
|
|
11143
11143
|
for (var z = 8, sA = 0, aA = AA.length; sA < aA; ++sA) {
|
|
11144
11144
|
var hA = AA[sA];
|
|
11145
|
-
if (CA === 0 && (CA = eA, (P += N) >= M && (N = 4 * lA + 4 * e * (z - 1), P = b + (eA + lA) * (z << 1), z >>= 1)), hA ===
|
|
11145
|
+
if (CA === 0 && (CA = eA, (P += N) >= M && (N = 4 * lA + 4 * e * (z - 1), P = b + (eA + lA) * (z << 1), z >>= 1)), hA === W)
|
|
11146
11146
|
P += 4;
|
|
11147
11147
|
else {
|
|
11148
11148
|
var yA = t[q + 3 * hA], iA = t[q + 3 * hA + 1], DA = t[q + 3 * hA + 2];
|
|
@@ -11153,13 +11153,13 @@ function j2(t) {
|
|
|
11153
11153
|
}, this.decodeAndBlitFrameRGBA = function(F, K) {
|
|
11154
11154
|
var T = this.frameInfo(F), nA = T.width * T.height, AA = new Uint8Array(nA);
|
|
11155
11155
|
sf(t, T.data_offset, AA, nA);
|
|
11156
|
-
var q = T.palette_offset,
|
|
11157
|
-
|
|
11156
|
+
var q = T.palette_offset, W = T.transparent_index;
|
|
11157
|
+
W === null && (W = 256);
|
|
11158
11158
|
var eA = T.width, lA = e - eA, CA = eA, b = 4 * (T.y * e + T.x), M = 4 * ((T.y + T.height) * e + T.x), P = b, N = 4 * lA;
|
|
11159
11159
|
T.interlaced === !0 && (N += 4 * e * 7);
|
|
11160
11160
|
for (var z = 8, sA = 0, aA = AA.length; sA < aA; ++sA) {
|
|
11161
11161
|
var hA = AA[sA];
|
|
11162
|
-
if (CA === 0 && (CA = eA, (P += N) >= M && (N = 4 * lA + 4 * e * (z - 1), P = b + (eA + lA) * (z << 1), z >>= 1)), hA ===
|
|
11162
|
+
if (CA === 0 && (CA = eA, (P += N) >= M && (N = 4 * lA + 4 * e * (z - 1), P = b + (eA + lA) * (z << 1), z >>= 1)), hA === W)
|
|
11163
11163
|
P += 4;
|
|
11164
11164
|
else {
|
|
11165
11165
|
var yA = t[q + 3 * hA], iA = t[q + 3 * hA + 1], DA = t[q + 3 * hA + 2];
|
|
@@ -11185,9 +11185,9 @@ function sf(t, A, e, r) {
|
|
|
11185
11185
|
if (B + U + (m !== S ? 1 : 0) > r)
|
|
11186
11186
|
return void Re.log("Warning, gif stream longer than expected.");
|
|
11187
11187
|
e[B++] = V;
|
|
11188
|
-
var
|
|
11188
|
+
var J = B += U;
|
|
11189
11189
|
for (m !== S && (e[B++] = V), _ = m; U--; )
|
|
11190
|
-
_ = v[_], e[--
|
|
11190
|
+
_ = v[_], e[--J] = 255 & _, _ >>= 8;
|
|
11191
11191
|
Q !== null && o < 4096 && (v[o++] = Q << 8 | V, o >= u + 1 && c < 12 && (++c, u = u << 1 | 1)), Q = S;
|
|
11192
11192
|
} else
|
|
11193
11193
|
o = a + 1, u = (1 << (c = n + 1)) - 1, Q = null;
|
|
@@ -11227,7 +11227,7 @@ function sf(t, A, e, r) {
|
|
|
11227
11227
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
11228
11228
|
*/
|
|
11229
11229
|
function Qc(t) {
|
|
11230
|
-
var A, e, r, n, i, a = Math.floor, o = new Array(64), c = new Array(64), u = new Array(64), d = new Array(64), w = new Array(65535), B = new Array(65535), g = new Array(64), v = new Array(64), Q = [], S = 0, m = 7, U = new Array(64), _ = new Array(64), V = new Array(64),
|
|
11230
|
+
var A, e, r, n, i, a = Math.floor, o = new Array(64), c = new Array(64), u = new Array(64), d = new Array(64), w = new Array(65535), B = new Array(65535), g = new Array(64), v = new Array(64), Q = [], S = 0, m = 7, U = new Array(64), _ = new Array(64), V = new Array(64), J = new Array(256), Z = new Array(2048), X = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63], k = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], Y = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], cA = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125], E = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], F = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], K = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], T = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119], nA = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
|
|
11231
11231
|
function AA(b, M) {
|
|
11232
11232
|
for (var P = 0, N = 0, z = new Array(), sA = 1; sA <= 16; sA++) {
|
|
11233
11233
|
for (var aA = 1; aA <= b[sA]; aA++)
|
|
@@ -11238,13 +11238,13 @@ function Qc(t) {
|
|
|
11238
11238
|
}
|
|
11239
11239
|
function q(b) {
|
|
11240
11240
|
for (var M = b[0], P = b[1] - 1; P >= 0; )
|
|
11241
|
-
M & 1 << P && (S |= 1 << m), P--, --m < 0 && (S == 255 ? (
|
|
11241
|
+
M & 1 << P && (S |= 1 << m), P--, --m < 0 && (S == 255 ? (W(255), W(0)) : W(S), m = 7, S = 0);
|
|
11242
11242
|
}
|
|
11243
|
-
function
|
|
11243
|
+
function W(b) {
|
|
11244
11244
|
Q.push(b);
|
|
11245
11245
|
}
|
|
11246
11246
|
function eA(b) {
|
|
11247
|
-
|
|
11247
|
+
W(b >> 8 & 255), W(255 & b);
|
|
11248
11248
|
}
|
|
11249
11249
|
function lA(b, M, P, N, z) {
|
|
11250
11250
|
for (var sA, aA = z[0], hA = z[240], yA = function(BA, kA) {
|
|
@@ -11308,37 +11308,37 @@ function Qc(t) {
|
|
|
11308
11308
|
}(b < 50 ? Math.floor(5e3 / b) : Math.floor(200 - 2 * b)), i = b);
|
|
11309
11309
|
}
|
|
11310
11310
|
this.encode = function(b, M) {
|
|
11311
|
-
M && CA(M), Q = new Array(), S = 0, m = 7, eA(65496), eA(65504), eA(16),
|
|
11312
|
-
eA(65499), eA(132),
|
|
11311
|
+
M && CA(M), Q = new Array(), S = 0, m = 7, eA(65496), eA(65504), eA(16), W(74), W(70), W(73), W(70), W(0), W(1), W(1), W(0), eA(1), eA(1), W(0), W(0), function() {
|
|
11312
|
+
eA(65499), eA(132), W(0);
|
|
11313
11313
|
for (var HA = 0; HA < 64; HA++)
|
|
11314
|
-
|
|
11315
|
-
|
|
11314
|
+
W(o[HA]);
|
|
11315
|
+
W(1);
|
|
11316
11316
|
for (var YA = 0; YA < 64; YA++)
|
|
11317
|
-
|
|
11317
|
+
W(c[YA]);
|
|
11318
11318
|
}(), function(HA, YA) {
|
|
11319
|
-
eA(65472), eA(17),
|
|
11319
|
+
eA(65472), eA(17), W(8), eA(YA), eA(HA), W(3), W(1), W(17), W(0), W(2), W(17), W(1), W(3), W(17), W(1);
|
|
11320
11320
|
}(b.width, b.height), function() {
|
|
11321
|
-
eA(65476), eA(418),
|
|
11321
|
+
eA(65476), eA(418), W(0);
|
|
11322
11322
|
for (var HA = 0; HA < 16; HA++)
|
|
11323
|
-
|
|
11323
|
+
W(k[HA + 1]);
|
|
11324
11324
|
for (var YA = 0; YA <= 11; YA++)
|
|
11325
|
-
|
|
11326
|
-
|
|
11325
|
+
W(Y[YA]);
|
|
11326
|
+
W(16);
|
|
11327
11327
|
for (var MA = 0; MA < 16; MA++)
|
|
11328
|
-
|
|
11328
|
+
W(cA[MA + 1]);
|
|
11329
11329
|
for (var XA = 0; XA <= 161; XA++)
|
|
11330
|
-
|
|
11331
|
-
|
|
11330
|
+
W(E[XA]);
|
|
11331
|
+
W(1);
|
|
11332
11332
|
for (var Ae = 0; Ae < 16; Ae++)
|
|
11333
|
-
|
|
11333
|
+
W(F[Ae + 1]);
|
|
11334
11334
|
for (var j = 0; j <= 11; j++)
|
|
11335
|
-
|
|
11336
|
-
|
|
11335
|
+
W(K[j]);
|
|
11336
|
+
W(17);
|
|
11337
11337
|
for (var UA = 0; UA < 16; UA++)
|
|
11338
|
-
|
|
11338
|
+
W(T[UA + 1]);
|
|
11339
11339
|
for (var vA = 0; vA <= 161; vA++)
|
|
11340
|
-
|
|
11341
|
-
}(), eA(65498), eA(12),
|
|
11340
|
+
W(nA[vA]);
|
|
11341
|
+
}(), eA(65498), eA(12), W(3), W(1), W(0), W(2), W(17), W(3), W(17), W(0), W(63), W(0);
|
|
11342
11342
|
var P = 0, N = 0, z = 0;
|
|
11343
11343
|
S = 0, m = 7, this.encode.displayName = "_encode_";
|
|
11344
11344
|
for (var sA, aA, hA, yA, iA, DA, NA, _A, dA, R = b.data, jA = b.width, gA = b.height, BA = 4 * jA, kA = 0; kA < gA; ) {
|
|
@@ -11356,7 +11356,7 @@ function Qc(t) {
|
|
|
11356
11356
|
return eA(65497), new Uint8Array(Q);
|
|
11357
11357
|
}, t = t || 50, function() {
|
|
11358
11358
|
for (var b = String.fromCharCode, M = 0; M < 256; M++)
|
|
11359
|
-
|
|
11359
|
+
J[M] = b(M);
|
|
11360
11360
|
}(), A = AA(k, Y), e = AA(F, K), r = AA(cA, E), n = AA(T, nA), function() {
|
|
11361
11361
|
for (var b = 1, M = 2, P = 1; P <= 15; P++) {
|
|
11362
11362
|
for (var N = b; N < M; N++)
|
|
@@ -11495,7 +11495,7 @@ function af(t) {
|
|
|
11495
11495
|
var f = AA(s, l);
|
|
11496
11496
|
return aA(s) ? -f : f;
|
|
11497
11497
|
}
|
|
11498
|
-
function
|
|
11498
|
+
function W(s, l, f, p) {
|
|
11499
11499
|
var C, I = 0;
|
|
11500
11500
|
for (A(s != null), A(l != null), A(4294967288 > p), s.Sb = p, s.Ra = 0, s.u = 0, s.h = 0, 4 < p && (p = 4), C = 0; C < p; ++C)
|
|
11501
11501
|
I += l[f + C] << 8 * C;
|
|
@@ -12836,7 +12836,7 @@ function af(t) {
|
|
|
12836
12836
|
l = 0;
|
|
12837
12837
|
break A;
|
|
12838
12838
|
}
|
|
12839
|
-
if (A(x != null), x.mc = l, l.c = x.c, l.i = x.i, l.l = x.l, l.l.ma = x, l.l.width = x.c, l.l.height = x.i, l.a = 0,
|
|
12839
|
+
if (A(x != null), x.mc = l, l.c = x.c, l.i = x.i, l.l = x.l, l.l.ma = x, l.l.width = x.c, l.l.height = x.i, l.a = 0, W(l.m, D, mA, fA), !kr(x.c, x.i, 1, l, null) || (l.ab == 1 && l.gc[0].hc == 3 && Rt(l.s) ? (x.ic = 1, D = l.c * l.i, l.Ta = null, l.Ua = 0, l.V = i(D), l.Ba = 0, l.V == null ? (l.a = 1, l = 0) : l = 1) : (x.ic = 0, l = Kn(l, x.c)), !l))
|
|
12840
12840
|
break e;
|
|
12841
12841
|
l = 1;
|
|
12842
12842
|
break A;
|
|
@@ -13186,7 +13186,7 @@ function af(t) {
|
|
|
13186
13186
|
rA = 7;
|
|
13187
13187
|
break;
|
|
13188
13188
|
}
|
|
13189
|
-
D = x, mA = TA, bA = I, s == null || 5 > f ? s = 0 : 5 <= f && s[l + 0] == 47 && !(s[l + 4] >> 5) ? (oA = [0], VA = [0], KA = [0],
|
|
13189
|
+
D = x, mA = TA, bA = I, s == null || 5 > f ? s = 0 : 5 <= f && s[l + 0] == 47 && !(s[l + 4] >> 5) ? (oA = [0], VA = [0], KA = [0], W(PA = new b(), s, l, f), ne(PA, oA, VA, KA) ? (D != null && (D[0] = oA[0]), mA != null && (mA[0] = VA[0]), bA != null && (bA[0] = KA[0]), s = 1) : s = 0) : s = 0;
|
|
13190
13190
|
} else {
|
|
13191
13191
|
if (10 > f) {
|
|
13192
13192
|
rA = 7;
|
|
@@ -13345,7 +13345,7 @@ function af(t) {
|
|
|
13345
13345
|
return 0;
|
|
13346
13346
|
if (fA == null)
|
|
13347
13347
|
return mA.a = 2, 0;
|
|
13348
|
-
if (mA.l = fA, mA.a = 0,
|
|
13348
|
+
if (mA.l = fA, mA.a = 0, W(mA.m, fA.data, fA.w, fA.ha), !ne(mA.m, TA, bA, rA)) {
|
|
13349
13349
|
mA.a = 3;
|
|
13350
13350
|
break e;
|
|
13351
13351
|
}
|
|
@@ -13459,14 +13459,14 @@ function af(t) {
|
|
|
13459
13459
|
break;
|
|
13460
13460
|
case "VP8X":
|
|
13461
13461
|
(lA = cA.header = {}).feature_flags = k[Y];
|
|
13462
|
-
var
|
|
13463
|
-
lA.canvas_width = 1 + d(k,
|
|
13462
|
+
var W = Y + 4;
|
|
13463
|
+
lA.canvas_width = 1 + d(k, W), W += 3, lA.canvas_height = 1 + d(k, W), W += 3;
|
|
13464
13464
|
break;
|
|
13465
13465
|
case "ALPH":
|
|
13466
13466
|
F = !0, K = q + 8, T = Y - 8;
|
|
13467
13467
|
break;
|
|
13468
13468
|
case "ANIM":
|
|
13469
|
-
(lA = cA.header).bgcolor = w(k, Y),
|
|
13469
|
+
(lA = cA.header).bgcolor = w(k, Y), W = Y + 4, lA.loop_count = (CA = k)[(b = W) + 0] << 0 | CA[b + 1] << 8, W += 2;
|
|
13470
13470
|
break;
|
|
13471
13471
|
case "ANMF":
|
|
13472
13472
|
var eA, lA;
|
|
@@ -13485,8 +13485,8 @@ function af(t) {
|
|
|
13485
13485
|
for (var V = 0; V < _.length && _[V].blend != 0; V++)
|
|
13486
13486
|
;
|
|
13487
13487
|
}
|
|
13488
|
-
var
|
|
13489
|
-
|
|
13488
|
+
var J = _[0], Z = Q.WebPDecodeRGBA(S, J.src_off, J.src_size, g, B);
|
|
13489
|
+
J.rgba = Z, J.imgwidth = g[0], J.imgheight = B[0];
|
|
13490
13490
|
for (var X = 0; X < g[0] * B[0] * 4; X++)
|
|
13491
13491
|
v[X] = Z[X];
|
|
13492
13492
|
return this.width = g, this.height = B, this.data = v, this;
|
|
@@ -13510,12 +13510,12 @@ function af(t) {
|
|
|
13510
13510
|
var U = Jc(B, { level: S });
|
|
13511
13511
|
return t.__addimage__.arrayBufferToBinaryString(U);
|
|
13512
13512
|
}, r = function(B, g, v, Q) {
|
|
13513
|
-
for (var S, m, U, _ = B.length / g, V = new Uint8Array(B.length + _),
|
|
13513
|
+
for (var S, m, U, _ = B.length / g, V = new Uint8Array(B.length + _), J = d(), Z = 0; Z < _; Z += 1) {
|
|
13514
13514
|
if (U = Z * g, S = B.subarray(U, U + g), Q)
|
|
13515
13515
|
V.set(Q(S, v, m), U + Z);
|
|
13516
13516
|
else {
|
|
13517
|
-
for (var X, k =
|
|
13518
|
-
Y[X] =
|
|
13517
|
+
for (var X, k = J.length, Y = []; X < k; X += 1)
|
|
13518
|
+
Y[X] = J[X](S, v, m);
|
|
13519
13519
|
var cA = w(Y.concat());
|
|
13520
13520
|
V.set(Y[cA], U + Z);
|
|
13521
13521
|
}
|
|
@@ -13546,8 +13546,8 @@ function af(t) {
|
|
|
13546
13546
|
}, c = function(B, g, v) {
|
|
13547
13547
|
var Q, S, m, U, _ = [], V = B.length;
|
|
13548
13548
|
_[0] = 4;
|
|
13549
|
-
for (var
|
|
13550
|
-
Q = B[
|
|
13549
|
+
for (var J = 0; J < V; J += 1)
|
|
13550
|
+
Q = B[J - g] || 0, S = v && v[J] || 0, m = v && v[J - g] || 0, U = u(Q, S, m), _[J + 1] = B[J] - U + 256 & 255;
|
|
13551
13551
|
return _;
|
|
13552
13552
|
}, u = function(B, g, v) {
|
|
13553
13553
|
if (B === g && g === v)
|
|
@@ -13565,14 +13565,14 @@ function af(t) {
|
|
|
13565
13565
|
return g.indexOf(Math.min.apply(null, g));
|
|
13566
13566
|
};
|
|
13567
13567
|
t.processPNG = function(B, g, v, Q) {
|
|
13568
|
-
var S, m, U, _, V,
|
|
13568
|
+
var S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA = this.decode.FLATE_DECODE, AA = "";
|
|
13569
13569
|
if (this.__addimage__.isArrayBuffer(B) && (B = new Uint8Array(B)), this.__addimage__.isArrayBufferView(B)) {
|
|
13570
13570
|
if (B = (U = new _2(B)).imgData, m = U.bits, S = U.colorSpace, V = U.colors, [4, 6].indexOf(U.colorType) !== -1) {
|
|
13571
13571
|
if (U.bits === 8) {
|
|
13572
13572
|
k = (X = U.pixelBitlength == 32 ? new Uint32Array(U.decodePixels().buffer) : U.pixelBitlength == 16 ? new Uint16Array(U.decodePixels().buffer) : new Uint8Array(U.decodePixels().buffer)).length, cA = new Uint8Array(k * U.colors), Y = new Uint8Array(k);
|
|
13573
|
-
var q,
|
|
13573
|
+
var q, W = U.pixelBitlength - U.bits;
|
|
13574
13574
|
for (K = 0, T = 0; K < k; K++) {
|
|
13575
|
-
for (F = X[K], q = 0; q <
|
|
13575
|
+
for (F = X[K], q = 0; q < W; )
|
|
13576
13576
|
cA[T++] = F >>> q & 255, q += U.bits;
|
|
13577
13577
|
Y[K] = F >>> q & 255;
|
|
13578
13578
|
}
|
|
@@ -13585,7 +13585,7 @@ function af(t) {
|
|
|
13585
13585
|
}
|
|
13586
13586
|
Q !== t.image_compression.NONE && A() ? (B = e(cA, U.width * U.colors, U.colors, Q), Z = e(Y, U.width, 1, Q)) : (B = cA, Z = Y, nA = void 0);
|
|
13587
13587
|
}
|
|
13588
|
-
if (U.colorType === 3 && (S = this.color_spaces.INDEXED,
|
|
13588
|
+
if (U.colorType === 3 && (S = this.color_spaces.INDEXED, J = U.palette, U.transparency.indexed)) {
|
|
13589
13589
|
var lA = U.transparency.indexed, CA = 0;
|
|
13590
13590
|
for (K = 0, k = lA.length; K < k; ++K)
|
|
13591
13591
|
CA += lA[K];
|
|
@@ -13614,7 +13614,7 @@ function af(t) {
|
|
|
13614
13614
|
}
|
|
13615
13615
|
return P;
|
|
13616
13616
|
}(Q);
|
|
13617
|
-
return nA === this.decode.FLATE_DECODE && (AA = "/Predictor " + b + " "), AA += "/Colors " + V + " /BitsPerComponent " + m + " /Columns " + U.width, (this.__addimage__.isArrayBuffer(B) || this.__addimage__.isArrayBufferView(B)) && (B = this.__addimage__.arrayBufferToBinaryString(B)), (Z && this.__addimage__.isArrayBuffer(Z) || this.__addimage__.isArrayBufferView(Z)) && (Z = this.__addimage__.arrayBufferToBinaryString(Z)), { alias: v, data: B, index: g, filter: nA, decodeParameters: AA, transparency: _, palette:
|
|
13617
|
+
return nA === this.decode.FLATE_DECODE && (AA = "/Predictor " + b + " "), AA += "/Colors " + V + " /BitsPerComponent " + m + " /Columns " + U.width, (this.__addimage__.isArrayBuffer(B) || this.__addimage__.isArrayBufferView(B)) && (B = this.__addimage__.arrayBufferToBinaryString(B)), (Z && this.__addimage__.isArrayBuffer(Z) || this.__addimage__.isArrayBufferView(Z)) && (Z = this.__addimage__.arrayBufferToBinaryString(Z)), { alias: v, data: B, index: g, filter: nA, decodeParameters: AA, transparency: _, palette: J, sMask: Z, predictor: b, width: U.width, height: U.height, bitsPerComponent: m, colorSpace: S };
|
|
13618
13618
|
}
|
|
13619
13619
|
};
|
|
13620
13620
|
})(ce.API), function(t) {
|
|
@@ -13771,23 +13771,23 @@ function(t) {
|
|
|
13771
13771
|
if (c = e.lineIndent === -1 ? Q[0].length + 2 : e.lineIndent || 0) {
|
|
13772
13772
|
var m = Array(c).join(" "), U = [];
|
|
13773
13773
|
Q.map(function(V) {
|
|
13774
|
-
(V = V.split(/\s*\n/)).length > 1 ? U = U.concat(V.map(function(
|
|
13775
|
-
return (Z &&
|
|
13776
|
-
` : "") +
|
|
13774
|
+
(V = V.split(/\s*\n/)).length > 1 ? U = U.concat(V.map(function(J, Z) {
|
|
13775
|
+
return (Z && J.length ? `
|
|
13776
|
+
` : "") + J;
|
|
13777
13777
|
})) : U.push(V[0]);
|
|
13778
13778
|
}), Q = U, c = tf.apply(this, [m, e]);
|
|
13779
13779
|
}
|
|
13780
13780
|
for (i = 0, a = Q.length; i < a; i++) {
|
|
13781
13781
|
var _ = 0;
|
|
13782
13782
|
if (r = Q[i], c && r[0] == `
|
|
13783
|
-
` && (r = r.substr(1), _ = 1), B + g + (v = (n = bo.apply(this, [r, e])).reduce(function(V,
|
|
13784
|
-
return V +
|
|
13783
|
+
` && (r = r.substr(1), _ = 1), B + g + (v = (n = bo.apply(this, [r, e])).reduce(function(V, J) {
|
|
13784
|
+
return V + J;
|
|
13785
13785
|
}, 0)) > A || _) {
|
|
13786
13786
|
if (v > A) {
|
|
13787
13787
|
for (o = rf.apply(this, [r, n, A - (B + g), A]), d.push(o.shift()), d = [o.pop()]; o.length; )
|
|
13788
13788
|
w.push([o.shift()]);
|
|
13789
|
-
v = n.slice(r.length - (d[0] ? d[0].length : 0)).reduce(function(V,
|
|
13790
|
-
return V +
|
|
13789
|
+
v = n.slice(r.length - (d[0] ? d[0].length : 0)).reduce(function(V, J) {
|
|
13790
|
+
return V + J;
|
|
13791
13791
|
}, 0);
|
|
13792
13792
|
} else
|
|
13793
13793
|
d = [r];
|
|
@@ -13795,8 +13795,8 @@ function(t) {
|
|
|
13795
13795
|
} else
|
|
13796
13796
|
d.push(r), B += g + v, g = S;
|
|
13797
13797
|
}
|
|
13798
|
-
return u = c ? function(V,
|
|
13799
|
-
return (
|
|
13798
|
+
return u = c ? function(V, J) {
|
|
13799
|
+
return (J ? m : "") + V.join(" ");
|
|
13800
13800
|
} : function(V) {
|
|
13801
13801
|
return V.join(" ");
|
|
13802
13802
|
}, w.map(u);
|
|
@@ -13836,8 +13836,8 @@ function(t) {
|
|
|
13836
13836
|
}, o = t.__fontmetrics__.uncompress = function(w) {
|
|
13837
13837
|
if (typeof w != "string")
|
|
13838
13838
|
throw new Error("Invalid argument passed to uncompress.");
|
|
13839
|
-
for (var B, g, v, Q, S = {}, m = 1, U = S, _ = [], V = "",
|
|
13840
|
-
(Q = w[X]) == "'" ? B ? (v = B.join(""), B = void 0) : B = [] : B ? B.push(Q) : Q == "{" ? (_.push([U, v]), U = {}, v = void 0) : Q == "}" ? ((g = _.pop())[0][g[1]] = U, v = void 0, U = g[0]) : Q == "-" ? m = -1 : v === void 0 ? e.hasOwnProperty(Q) ? (V += e[Q], v = parseInt(V, 16) * m, m = 1, V = "") : V += Q : e.hasOwnProperty(Q) ? (
|
|
13839
|
+
for (var B, g, v, Q, S = {}, m = 1, U = S, _ = [], V = "", J = "", Z = w.length - 1, X = 1; X < Z; X += 1)
|
|
13840
|
+
(Q = w[X]) == "'" ? B ? (v = B.join(""), B = void 0) : B = [] : B ? B.push(Q) : Q == "{" ? (_.push([U, v]), U = {}, v = void 0) : Q == "}" ? ((g = _.pop())[0][g[1]] = U, v = void 0, U = g[0]) : Q == "-" ? m = -1 : v === void 0 ? e.hasOwnProperty(Q) ? (V += e[Q], v = parseInt(V, 16) * m, m = 1, V = "") : V += Q : e.hasOwnProperty(Q) ? (J += e[Q], U[v] = parseInt(J, 16) * m, m = 1, v = void 0, J = "") : J += Q;
|
|
13841
13841
|
return S;
|
|
13842
13842
|
}, c = { codePages: ["WinAnsiEncoding"], WinAnsiEncoding: o("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}") }, u = { Unicode: { Courier: c, "Courier-Bold": c, "Courier-BoldOblique": c, "Courier-Oblique": c, Helvetica: c, "Helvetica-Bold": c, "Helvetica-BoldOblique": c, "Helvetica-Oblique": c, "Times-Roman": c, "Times-Bold": c, "Times-BoldItalic": c, "Times-Italic": c } }, d = { Unicode: { "Courier-Oblique": o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-BoldItalic": o("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"), "Helvetica-Bold": o("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"), Courier: o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Courier-BoldOblique": o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-Bold": o("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"), Symbol: o("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"), Helvetica: o("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"), "Helvetica-BoldOblique": o("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"), ZapfDingbats: o("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"), "Courier-Bold": o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"), "Times-Italic": o("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"), "Times-Roman": o("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"), "Helvetica-Oblique": o("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}") } };
|
|
13843
13843
|
t.events.push(["addFont", function(w) {
|
|
@@ -13894,7 +13894,7 @@ function(t) {
|
|
|
13894
13894
|
*/
|
|
13895
13895
|
function(t) {
|
|
13896
13896
|
function A() {
|
|
13897
|
-
return (he.canvg ? Promise.resolve(he.canvg) : import("./index.es-
|
|
13897
|
+
return (he.canvg ? Promise.resolve(he.canvg) : import("./index.es-e33b735c.js")).catch(function(e) {
|
|
13898
13898
|
return Promise.reject(new Error("Could not load canvg: " + e));
|
|
13899
13899
|
}).then(function(e) {
|
|
13900
13900
|
return e.default ? e.default : e;
|
|
@@ -14092,8 +14092,8 @@ end`;
|
|
|
14092
14092
|
for (U = o, Q = g, Array.isArray(o) && (U = o[0]), m = 0; m < U.length; m += 1)
|
|
14093
14093
|
v[Q].metadata.hasOwnProperty("cmap") && (a = v[Q].metadata.cmap.unicode.codeMap[U[m].charCodeAt(0)]), a || U[m].charCodeAt(0) < 256 && v[Q].metadata.hasOwnProperty("Unicode") ? S += U[m] : S += "";
|
|
14094
14094
|
var V = "";
|
|
14095
|
-
return parseInt(Q.slice(1)) < 14 || _ === "WinAnsiEncoding" ? V = B(S, Q).split("").map(function(
|
|
14096
|
-
return
|
|
14095
|
+
return parseInt(Q.slice(1)) < 14 || _ === "WinAnsiEncoding" ? V = B(S, Q).split("").map(function(J) {
|
|
14096
|
+
return J.charCodeAt(0).toString(16);
|
|
14097
14097
|
}).join("") : _ === "Identity-H" && (V = e(S, v[Q])), w.isHex = !0, { text: V, x: c, y: u, options: d, mutex: w };
|
|
14098
14098
|
};
|
|
14099
14099
|
A.events.push(["postProcessText", function(i) {
|
|
@@ -14136,7 +14136,7 @@ function(t) {
|
|
|
14136
14136
|
var V = function(E) {
|
|
14137
14137
|
var F = E.charCodeAt(), K = F >> 8, T = Q[K];
|
|
14138
14138
|
return T !== void 0 ? w[256 * T + (255 & F)] : K === 252 || K === 253 ? "AL" : m.test(K) ? "L" : K === 8 ? "R" : "N";
|
|
14139
|
-
},
|
|
14139
|
+
}, J = function(E) {
|
|
14140
14140
|
for (var F, K = 0; K < E.length; K++) {
|
|
14141
14141
|
if ((F = V(E.charAt(K))) === "L")
|
|
14142
14142
|
return !1;
|
|
@@ -14145,7 +14145,7 @@ function(t) {
|
|
|
14145
14145
|
}
|
|
14146
14146
|
return !1;
|
|
14147
14147
|
}, Z = function(E, F, K, T) {
|
|
14148
|
-
var nA, AA, q,
|
|
14148
|
+
var nA, AA, q, W, eA = F[T];
|
|
14149
14149
|
switch (eA) {
|
|
14150
14150
|
case "L":
|
|
14151
14151
|
case "R":
|
|
@@ -14178,15 +14178,15 @@ function(t) {
|
|
|
14178
14178
|
eA = "N";
|
|
14179
14179
|
break;
|
|
14180
14180
|
}
|
|
14181
|
-
for (q = T + 1,
|
|
14181
|
+
for (q = T + 1, W = F.length; q < W && F[q] === "ET"; )
|
|
14182
14182
|
q++;
|
|
14183
|
-
eA = q <
|
|
14183
|
+
eA = q < W && F[q] === "EN" ? "EN" : "N";
|
|
14184
14184
|
break;
|
|
14185
14185
|
case "NSM":
|
|
14186
14186
|
if (a && !o) {
|
|
14187
|
-
for (
|
|
14187
|
+
for (W = F.length, q = T + 1; q < W && F[q] === "NSM"; )
|
|
14188
14188
|
q++;
|
|
14189
|
-
if (q <
|
|
14189
|
+
if (q < W) {
|
|
14190
14190
|
var lA = E[T], CA = lA >= 1425 && lA <= 2303 || lA === 64286;
|
|
14191
14191
|
if (nA = F[q], CA && (nA === "R" || nA === "AL")) {
|
|
14192
14192
|
eA = "R";
|
|
@@ -14217,11 +14217,11 @@ function(t) {
|
|
|
14217
14217
|
var T = E.split("");
|
|
14218
14218
|
return K && k(T, K, { hiLevel: _ }), T.reverse(), F && F.reverse(), T.join("");
|
|
14219
14219
|
}, k = function(E, F, K) {
|
|
14220
|
-
var T, nA, AA, q,
|
|
14220
|
+
var T, nA, AA, q, W, eA = -1, lA = E.length, CA = 0, b = [], M = _ ? g : B, P = [];
|
|
14221
14221
|
for (U = !1, n = !1, i = !1, nA = 0; nA < lA; nA++)
|
|
14222
14222
|
P[nA] = V(E[nA]);
|
|
14223
14223
|
for (AA = 0; AA < lA; AA++) {
|
|
14224
|
-
if (
|
|
14224
|
+
if (W = CA, b[AA] = Z(E, P, b, AA), T = 240 & (CA = M[W][v[b[AA]]]), CA &= 15, F[AA] = q = M[CA][5], T > 0)
|
|
14225
14225
|
if (T === 16) {
|
|
14226
14226
|
for (nA = eA; nA < AA; nA++)
|
|
14227
14227
|
F[nA] = 1;
|
|
@@ -14249,21 +14249,21 @@ function(t) {
|
|
|
14249
14249
|
if (!(nA.hiLevel < E)) {
|
|
14250
14250
|
if (E === 1 && _ === 1 && !n)
|
|
14251
14251
|
return F.reverse(), void (K && K.reverse());
|
|
14252
|
-
for (var AA, q,
|
|
14252
|
+
for (var AA, q, W, eA, lA = F.length, CA = 0; CA < lA; ) {
|
|
14253
14253
|
if (T[CA] >= E) {
|
|
14254
|
-
for (
|
|
14255
|
-
|
|
14256
|
-
for (eA = CA, q =
|
|
14254
|
+
for (W = CA + 1; W < lA && T[W] >= E; )
|
|
14255
|
+
W++;
|
|
14256
|
+
for (eA = CA, q = W - 1; eA < q; eA++, q--)
|
|
14257
14257
|
AA = F[eA], F[eA] = F[q], F[q] = AA, K && (AA = K[eA], K[eA] = K[q], K[q] = AA);
|
|
14258
|
-
CA =
|
|
14258
|
+
CA = W;
|
|
14259
14259
|
}
|
|
14260
14260
|
CA++;
|
|
14261
14261
|
}
|
|
14262
14262
|
}
|
|
14263
14263
|
}, cA = function(E, F, K) {
|
|
14264
14264
|
var T = E.split(""), nA = { hiLevel: _ };
|
|
14265
|
-
return K || (K = []), k(T, K, nA), function(AA, q,
|
|
14266
|
-
if (
|
|
14265
|
+
return K || (K = []), k(T, K, nA), function(AA, q, W) {
|
|
14266
|
+
if (W.hiLevel !== 0 && d)
|
|
14267
14267
|
for (var eA, lA = 0; lA < AA.length; lA++)
|
|
14268
14268
|
q[lA] === 1 && (eA = S.indexOf(AA[lA])) >= 0 && (AA[lA] = S[eA + 1]);
|
|
14269
14269
|
}(T, K, nA), Y(2, T, F, K, nA), Y(1, T, F, K, nA), T.join("");
|
|
@@ -14273,7 +14273,7 @@ function(t) {
|
|
|
14273
14273
|
if (AA)
|
|
14274
14274
|
for (var q = 0; q < nA.length; q++)
|
|
14275
14275
|
AA[q] = q;
|
|
14276
|
-
o === void 0 && (o =
|
|
14276
|
+
o === void 0 && (o = J(nA)), u === void 0 && (u = J(nA));
|
|
14277
14277
|
}(E, F), a || !c || u)
|
|
14278
14278
|
if (a && c && o ^ u)
|
|
14279
14279
|
_ = o ? 1 : 0, E = X(E, F, K);
|
|
@@ -14470,30 +14470,30 @@ var q2 = function(t) {
|
|
|
14470
14470
|
break;
|
|
14471
14471
|
case 4:
|
|
14472
14472
|
for (g = A.readUInt16(), B = g / 2, A.pos += 6, i = function() {
|
|
14473
|
-
var V,
|
|
14474
|
-
for (
|
|
14475
|
-
|
|
14476
|
-
return
|
|
14473
|
+
var V, J;
|
|
14474
|
+
for (J = [], c = V = 0; 0 <= B ? V < B : V > B; c = 0 <= B ? ++V : --V)
|
|
14475
|
+
J.push(A.readUInt16());
|
|
14476
|
+
return J;
|
|
14477
14477
|
}(), A.pos += 2, Q = function() {
|
|
14478
|
-
var V,
|
|
14479
|
-
for (
|
|
14480
|
-
|
|
14481
|
-
return
|
|
14478
|
+
var V, J;
|
|
14479
|
+
for (J = [], c = V = 0; 0 <= B ? V < B : V > B; c = 0 <= B ? ++V : --V)
|
|
14480
|
+
J.push(A.readUInt16());
|
|
14481
|
+
return J;
|
|
14482
14482
|
}(), u = function() {
|
|
14483
|
-
var V,
|
|
14484
|
-
for (
|
|
14485
|
-
|
|
14486
|
-
return
|
|
14483
|
+
var V, J;
|
|
14484
|
+
for (J = [], c = V = 0; 0 <= B ? V < B : V > B; c = 0 <= B ? ++V : --V)
|
|
14485
|
+
J.push(A.readUInt16());
|
|
14486
|
+
return J;
|
|
14487
14487
|
}(), d = function() {
|
|
14488
|
-
var V,
|
|
14489
|
-
for (
|
|
14490
|
-
|
|
14491
|
-
return
|
|
14488
|
+
var V, J;
|
|
14489
|
+
for (J = [], c = V = 0; 0 <= B ? V < B : V > B; c = 0 <= B ? ++V : --V)
|
|
14490
|
+
J.push(A.readUInt16());
|
|
14491
|
+
return J;
|
|
14492
14492
|
}(), n = (this.length - A.pos + this.offset) / 2, o = function() {
|
|
14493
|
-
var V,
|
|
14494
|
-
for (
|
|
14495
|
-
|
|
14496
|
-
return
|
|
14493
|
+
var V, J;
|
|
14494
|
+
for (J = [], c = V = 0; 0 <= n ? V < n : V > n; c = 0 <= n ? ++V : --V)
|
|
14495
|
+
J.push(A.readUInt16());
|
|
14496
|
+
return J;
|
|
14497
14497
|
}(), c = m = 0, _ = i.length; m < _; c = ++m)
|
|
14498
14498
|
for (S = i[c], r = U = v = Q[c]; v <= S ? U <= S : U >= S; r = v <= S ? ++U : --U)
|
|
14499
14499
|
d[c] === 0 ? a = r + u[c] : (a = o[d[c] / 2 + (r - v) - (B - c)] || 0) !== 0 && (a += u[c]), this.codeMap[r] = 65535 & a;
|
|
@@ -14501,7 +14501,7 @@ var q2 = function(t) {
|
|
|
14501
14501
|
A.pos = w;
|
|
14502
14502
|
}
|
|
14503
14503
|
return t.encode = function(A, e) {
|
|
14504
|
-
var r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
14504
|
+
var r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA, iA, DA;
|
|
14505
14505
|
switch (T = new On(), a = Object.keys(A).sort(function(NA, _A) {
|
|
14506
14506
|
return NA - _A;
|
|
14507
14507
|
}), e) {
|
|
@@ -14516,14 +14516,14 @@ var q2 = function(t) {
|
|
|
14516
14516
|
return T.writeUInt16(1), T.writeUInt16(0), T.writeUInt32(12), T.writeUInt16(0), T.writeUInt16(262), T.writeUInt16(0), T.write(S), { charMap: i, subtable: T.data, maxGlyphID: Q + 1 };
|
|
14517
14517
|
case "unicode":
|
|
14518
14518
|
for (F = [], w = [], _ = 0, U = {}, r = {}, m = u = null, AA = 0, lA = a.length; AA < lA; AA++)
|
|
14519
|
-
U[
|
|
14519
|
+
U[J = A[n = a[AA]]] == null && (U[J] = ++_), r[n] = { old: J, new: U[J] }, o = U[J] - n, m != null && o === u || (m && w.push(m), F.push(n), u = o), m = n;
|
|
14520
14520
|
for (m && w.push(m), w.push(65535), F.push(65535), cA = 2 * (Y = F.length), k = 2 * Math.pow(Math.log(Y) / Math.LN2, 2), B = Math.log(k / 2) / Math.LN2, X = 2 * Y - k, c = [], Z = [], g = [], v = q = 0, CA = F.length; q < CA; v = ++q) {
|
|
14521
14521
|
if (E = F[v], d = w[v], E === 65535) {
|
|
14522
14522
|
c.push(0), Z.push(0);
|
|
14523
14523
|
break;
|
|
14524
14524
|
}
|
|
14525
14525
|
if (E - (K = r[E].new) >= 32768)
|
|
14526
|
-
for (c.push(0), Z.push(2 * (g.length + Y - v)), n =
|
|
14526
|
+
for (c.push(0), Z.push(2 * (g.length + Y - v)), n = W = E; E <= d ? W <= d : W >= d; n = E <= d ? ++W : --W)
|
|
14527
14527
|
g.push(r[n].new);
|
|
14528
14528
|
else
|
|
14529
14529
|
c.push(K - E), Z.push(0);
|
|
@@ -15172,13 +15172,13 @@ const sm = {
|
|
|
15172
15172
|
)
|
|
15173
15173
|
), g = new Image(64, 64);
|
|
15174
15174
|
g.src = B, g.onload = async () => {
|
|
15175
|
-
var _, V,
|
|
15175
|
+
var _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA;
|
|
15176
15176
|
this.loading.weatherEchart = !1;
|
|
15177
15177
|
for (let q = 0; q < 7; q++) {
|
|
15178
|
-
const
|
|
15179
|
-
t.push(oe(
|
|
15180
|
-
const eA = ((_ = or.pickDaily(this.meteoData,
|
|
15181
|
-
if (r.push(this.roundPrecision(((
|
|
15178
|
+
const W = ee(this.pickedDate).clone().add(q, "d").format();
|
|
15179
|
+
t.push(oe(W).tz(this.positionGmt).format("yyyy-MM-DD")), A.push(this.computeMMMDDLT(W)), e.push(q === 0 ? "Today" : this.computeWeekLT(W));
|
|
15180
|
+
const eA = ((_ = or.pickDaily(this.meteoData, W)) == null ? void 0 : _[0]) || {};
|
|
15181
|
+
if (r.push(this.roundPrecision(((J = (V = eA.weather) == null ? void 0 : V.temp) == null ? void 0 : J.min) - 5, 0)), n.push(this.roundPrecision((X = (Z = eA.weather) == null ? void 0 : Z.temp) == null ? void 0 : X.max, 0)), o.push(this.roundPrecision((Y = (k = eA.weather) == null ? void 0 : k.wind) == null ? void 0 : Y.kts, 1) ?? "- kts"), u.push(this.roundPrecision((E = (cA = eA.weather) == null ? void 0 : cA.precip) == null ? void 0 : E.sum, 1) ?? "- mm"), (F = eA.weather) != null && F.url) {
|
|
15182
15182
|
const N = await this.convertSvgUrlToBase64((K = eA.weather) == null ? void 0 : K.url);
|
|
15183
15183
|
i.push({ symbol: "image://" + N });
|
|
15184
15184
|
} else
|
|
@@ -15505,8 +15505,8 @@ const sm = {
|
|
|
15505
15505
|
let q;
|
|
15506
15506
|
if (document.getElementById("weather-chart") && (q = Ne.init(document.getElementById("weather-chart"))), !q)
|
|
15507
15507
|
return !1;
|
|
15508
|
-
q.setOption(U), q.on("click", (
|
|
15509
|
-
const eA =
|
|
15508
|
+
q.setOption(U), q.on("click", (W) => {
|
|
15509
|
+
const eA = W.dataIndex, lA = t[eA].split("-");
|
|
15510
15510
|
this.pickedDate = oe().tz(this.positionGmt).set({ year: lA[0], month: Number(lA[1] - 1), date: Number(lA[2]), hour: 0, minute: 0, second: 0, millisecond: 0 }).format(), this.pickedWeek = eA === 0 ? "Today" : this.computeWeekLT(this.pickedDate), this.activeIndex = eA === 0 ? oe(this.etime).tz(this.positionGmt).hour() : void 0, this.initHoursTableData(), U.series[3].markArea = {
|
|
15511
15511
|
itemStyle: {
|
|
15512
15512
|
color: "rgba(64,159,255,0.25)"
|
|
@@ -15557,14 +15557,14 @@ const sm = {
|
|
|
15557
15557
|
)
|
|
15558
15558
|
), n = new Image(64, 64);
|
|
15559
15559
|
n.src = r, n.onload = async () => {
|
|
15560
|
-
var a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
15560
|
+
var a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA, iA, DA, NA, _A, dA, R, jA, gA, BA, kA, FA, HA, YA, MA, XA, Ae, j, UA;
|
|
15561
15561
|
this.loading.meteogramEchart = !1;
|
|
15562
15562
|
const i = oe(this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
15563
15563
|
for (let vA = 0; vA < 7 * 24; vA++) {
|
|
15564
15564
|
const RA = ee(i).clone().add(vA, "h").format();
|
|
15565
15565
|
(a = this.meteogramData) == null || a.dates.push(RA);
|
|
15566
15566
|
const QA = ((o = or.pickHourly(t, RA)) == null ? void 0 : o[0]) || {};
|
|
15567
|
-
if (vA % 12 === 0 && vA % 24 !== 0 ? (c = this.meteogramData) == null || c.xDates.push(oe(RA).tz(this.positionGmt).format("MMM-DD")) : (u = this.meteogramData) == null || u.xDates.push(""), vA % 3 === 0 ? (d = this.meteogramData) == null || d.hours.push(this.computeHourLT(RA)) : (w = this.meteogramData) == null || w.hours.push(""), (g = this.meteogramData) == null || g.temperaturesX.push([RA, this.roundPrecision((B = QA == null ? void 0 : QA.weather) == null ? void 0 : B.temp, 0)]), (Q = this.meteogramData) == null || Q.temperaturesY.push(this.roundPrecision((v = QA == null ? void 0 : QA.weather) == null ? void 0 : v.temp, 0)), (U = this.meteogramData) == null || U.precip.push(this.roundPrecision((m = (S = QA == null ? void 0 : QA.weather) == null ? void 0 : S.precip) == null ? void 0 : m.sum, 1)), (V = this.meteogramData) == null || V.visibilityX.push([RA, this.roundPrecision((_ = QA == null ? void 0 : QA.weather) == null ? void 0 : _.visibility, 1)]), (Z = this.meteogramData) == null || Z.visibilityY.push(this.roundPrecision((
|
|
15567
|
+
if (vA % 12 === 0 && vA % 24 !== 0 ? (c = this.meteogramData) == null || c.xDates.push(oe(RA).tz(this.positionGmt).format("MMM-DD")) : (u = this.meteogramData) == null || u.xDates.push(""), vA % 3 === 0 ? (d = this.meteogramData) == null || d.hours.push(this.computeHourLT(RA)) : (w = this.meteogramData) == null || w.hours.push(""), (g = this.meteogramData) == null || g.temperaturesX.push([RA, this.roundPrecision((B = QA == null ? void 0 : QA.weather) == null ? void 0 : B.temp, 0)]), (Q = this.meteogramData) == null || Q.temperaturesY.push(this.roundPrecision((v = QA == null ? void 0 : QA.weather) == null ? void 0 : v.temp, 0)), (U = this.meteogramData) == null || U.precip.push(this.roundPrecision((m = (S = QA == null ? void 0 : QA.weather) == null ? void 0 : S.precip) == null ? void 0 : m.sum, 1)), (V = this.meteogramData) == null || V.visibilityX.push([RA, this.roundPrecision((_ = QA == null ? void 0 : QA.weather) == null ? void 0 : _.visibility, 1)]), (Z = this.meteogramData) == null || Z.visibilityY.push(this.roundPrecision((J = QA == null ? void 0 : QA.weather) == null ? void 0 : J.visibility, 1)), (Y = this.meteogramData) == null || Y.windspeed.push(this.roundPrecision((k = (X = QA.weather) == null ? void 0 : X.wind) == null ? void 0 : k.kts, 1)), (F = this.meteogramData) == null || F.windGusts.push(this.roundPrecision((E = (cA = QA == null ? void 0 : QA.weather) == null ? void 0 : cA.wind) == null ? void 0 : E.gusts, 1)), (nA = this.meteogramData) == null || nA.sigWaveHeight.push(this.roundPrecision((T = (K = QA == null ? void 0 : QA.wave) == null ? void 0 : K.sig) == null ? void 0 : T.height)), (W = this.meteogramData) == null || W.swellHeight.push(this.roundPrecision((q = (AA = QA == null ? void 0 : QA.wave) == null ? void 0 : AA.swell) == null ? void 0 : q.height)), vA % 6 === 0) {
|
|
15568
15568
|
if ((eA = QA.weather) != null && eA.url) {
|
|
15569
15569
|
const uA = await this.convertSvgUrlToBase64((lA = QA.weather) == null ? void 0 : lA.url);
|
|
15570
15570
|
(CA = this.meteogramData) == null || CA.weatherIcons.push({ symbol: "image://" + uA, symbolSize: 30 });
|
|
@@ -15628,14 +15628,14 @@ const sm = {
|
|
|
15628
15628
|
)
|
|
15629
15629
|
), o = new Image(64, 64);
|
|
15630
15630
|
o.src = a, o.onload = async () => {
|
|
15631
|
-
var u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
15631
|
+
var u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA, iA, DA, NA, _A, dA, R, jA, gA, BA, kA, FA, HA, YA, MA, XA, Ae, j, UA, vA, RA, QA, uA;
|
|
15632
15632
|
this.loading.meteogramEchart = !1;
|
|
15633
15633
|
const c = oe(n).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
15634
15634
|
for (let LA = 0; LA < r * 24; LA++) {
|
|
15635
15635
|
const re = ee(c).clone().add(LA, "h").format();
|
|
15636
15636
|
(u = this.meteogramData) == null || u.dates.push(re);
|
|
15637
15637
|
const zA = ((d = or.pickHourly(t, re)) == null ? void 0 : d[0]) || {};
|
|
15638
|
-
if ((B = this.meteogramData) == null || B.temperaturesY.push(this.roundPrecision((w = zA == null ? void 0 : zA.weather) == null ? void 0 : w.temp, 0)), (v = this.meteogramData) == null || v.visibilityY.push(this.roundPrecision((g = zA == null ? void 0 : zA.weather) == null ? void 0 : g.visibility, 1)), (m = this.meteogramData) == null || m.windspeed.push(this.roundPrecision((S = (Q = zA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.kts, 1)), (V = this.meteogramData) == null || V.windGusts.push(this.roundPrecision((_ = (U = zA == null ? void 0 : zA.weather) == null ? void 0 : U.wind) == null ? void 0 : _.gusts, 1)), (X = this.meteogramData) == null || X.sigWaveHeight.push(this.roundPrecision((Z = (
|
|
15638
|
+
if ((B = this.meteogramData) == null || B.temperaturesY.push(this.roundPrecision((w = zA == null ? void 0 : zA.weather) == null ? void 0 : w.temp, 0)), (v = this.meteogramData) == null || v.visibilityY.push(this.roundPrecision((g = zA == null ? void 0 : zA.weather) == null ? void 0 : g.visibility, 1)), (m = this.meteogramData) == null || m.windspeed.push(this.roundPrecision((S = (Q = zA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.kts, 1)), (V = this.meteogramData) == null || V.windGusts.push(this.roundPrecision((_ = (U = zA == null ? void 0 : zA.weather) == null ? void 0 : U.wind) == null ? void 0 : _.gusts, 1)), (X = this.meteogramData) == null || X.sigWaveHeight.push(this.roundPrecision((Z = (J = zA == null ? void 0 : zA.wave) == null ? void 0 : J.sig) == null ? void 0 : Z.height)), (cA = this.meteogramData) == null || cA.swellHeight.push(this.roundPrecision((Y = (k = zA == null ? void 0 : zA.wave) == null ? void 0 : k.swell) == null ? void 0 : Y.height)), LA % 3 === 0 ? ((K = this.meteogramData) == null || K.precip.push(this.roundPrecision((F = (E = zA == null ? void 0 : zA.weather) == null ? void 0 : E.precip) == null ? void 0 : F.sum3Hours, 1)), (nA = this.meteogramData) == null || nA.temperaturesX.push([re, this.roundPrecision((T = zA == null ? void 0 : zA.weather) == null ? void 0 : T.temp, 0)]), (q = this.meteogramData) == null || q.visibilityX.push([re, this.roundPrecision((AA = zA == null ? void 0 : zA.weather) == null ? void 0 : AA.visibility, 1)])) : (W = this.meteogramData) == null || W.precip.push(null), LA % 12 === 0 && LA % 24 !== 0 ? (eA = this.meteogramData) == null || eA.xDates.push(oe(re).tz(this.positionGmt).format("MMM-DD")) : (lA = this.meteogramData) == null || lA.xDates.push(""), LA % 6 === 0 ? (CA = this.meteogramData) == null || CA.hours.push(this.computeHourLT(re)) : (b = this.meteogramData) == null || b.hours.push(""), LA % 12 === 0) {
|
|
15639
15639
|
if ((M = zA.weather) != null && M.url) {
|
|
15640
15640
|
const se = await this.convertSvgUrlToBase64((P = zA.weather) == null ? void 0 : P.url);
|
|
15641
15641
|
(N = this.meteogramData) == null || N.weatherIcons.push({ symbol: "image://" + se, symbolSize: 30 });
|
|
@@ -15668,7 +15668,7 @@ const sm = {
|
|
|
15668
15668
|
};
|
|
15669
15669
|
},
|
|
15670
15670
|
initMeteogramEchart(t) {
|
|
15671
|
-
var v, Q, S, m, U, _, V,
|
|
15671
|
+
var v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA, iA, DA, NA, _A, dA, R, jA, gA, BA, kA, FA, HA, YA, MA, XA, Ae, j, UA, vA, RA, QA;
|
|
15672
15672
|
const A = {
|
|
15673
15673
|
grid: {
|
|
15674
15674
|
show: !0,
|
|
@@ -15896,7 +15896,7 @@ const sm = {
|
|
|
15896
15896
|
top: "50%",
|
|
15897
15897
|
height: "50%",
|
|
15898
15898
|
type: "category",
|
|
15899
|
-
data: (
|
|
15899
|
+
data: (J = this.meteogramData) == null ? void 0 : J.dates,
|
|
15900
15900
|
axisLabel: {
|
|
15901
15901
|
show: !1
|
|
15902
15902
|
},
|
|
@@ -15969,7 +15969,7 @@ const sm = {
|
|
|
15969
15969
|
},
|
|
15970
15970
|
{
|
|
15971
15971
|
left: (q = (AA = this.meteogramData) == null ? void 0 : AA.singleAxisOffset) == null ? void 0 : q.l,
|
|
15972
|
-
right: (eA = (
|
|
15972
|
+
right: (eA = (W = this.meteogramData) == null ? void 0 : W.singleAxisOffset) == null ? void 0 : eA.r,
|
|
15973
15973
|
type: "category",
|
|
15974
15974
|
show: !1,
|
|
15975
15975
|
axisLine: {
|
|
@@ -16513,7 +16513,7 @@ const sm = {
|
|
|
16513
16513
|
});
|
|
16514
16514
|
},
|
|
16515
16515
|
async fetchSeasonalData() {
|
|
16516
|
-
var n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
16516
|
+
var n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA;
|
|
16517
16517
|
if (!this.token)
|
|
16518
16518
|
return !1;
|
|
16519
16519
|
this.loading.seasonalEchart = !0, this.seasonalData = {
|
|
@@ -16531,17 +16531,21 @@ const sm = {
|
|
|
16531
16531
|
};
|
|
16532
16532
|
const t = oe(this.etime).tz(this.positionGmt).date() >= 14 ? oe(this.etime).tz(this.positionGmt).month() + 1 : oe(this.etime).tz(this.positionGmt).month(), A = oe(this.etime).tz(this.positionGmt).set({ month: t });
|
|
16533
16533
|
this.monthsOptions = [];
|
|
16534
|
-
for (let q = 0; q < 6; q++)
|
|
16534
|
+
for (let q = 0; q < 6; q++) {
|
|
16535
|
+
const W = oe(this.etime).tz(this.positionGmt).set({ year: A.year(), month: A.month() + q, date: 1, hour: 0, minute: 0, second: 0 });
|
|
16535
16536
|
this.monthsOptions.push({
|
|
16536
|
-
date:
|
|
16537
|
-
month:
|
|
16537
|
+
date: W.format(),
|
|
16538
|
+
month: W.format("MMMM yyyy"),
|
|
16539
|
+
m: A.month() + q,
|
|
16540
|
+
y: A.year()
|
|
16538
16541
|
});
|
|
16542
|
+
}
|
|
16539
16543
|
this.currentMonth = this.currentMonth ? this.currentMonth : this.monthsOptions[0];
|
|
16540
16544
|
let e = {
|
|
16541
16545
|
lat: this.position.lat,
|
|
16542
16546
|
lng: this.position.lng,
|
|
16543
|
-
startDate: oe().tz(this.positionGmt).set({ year:
|
|
16544
|
-
endDate: oe().tz(this.positionGmt).set({ year:
|
|
16547
|
+
startDate: oe().tz(this.positionGmt).set({ year: this.currentMonth.y, month: this.currentMonth.m, date: 1, hour: 0, minute: 0, second: 0 }).format(),
|
|
16548
|
+
endDate: oe().tz(this.positionGmt).set({ year: this.currentMonth.y, month: this.currentMonth.m + 1, date: 1, hour: 0, minute: 0, second: 0 }).format(),
|
|
16545
16549
|
pastYear: 1
|
|
16546
16550
|
}, r = await Fn.post(`${this.gateway}/api/arc/meteo2/spot/seasonal`, e, {
|
|
16547
16551
|
headers: {
|
|
@@ -16551,17 +16555,17 @@ const sm = {
|
|
|
16551
16555
|
if ((r == null ? void 0 : r.data.code) === 0) {
|
|
16552
16556
|
let q = (n = r == null ? void 0 : r.data.data) == null ? void 0 : n.seasonal;
|
|
16553
16557
|
this.etime = (i = r == null ? void 0 : r.data) == null ? void 0 : i.etime, this.positionGmt = (o = (a = q == null ? void 0 : q.weather) == null ? void 0 : a[0]) == null ? void 0 : o.timezone, this.positionOffset = (u = (c = q == null ? void 0 : q.weather) == null ? void 0 : c[0]) == null ? void 0 : u.offset, this.issuedDate = ee(this.etime).utc().format("MMM-DD/HHmm[Z], YYYY");
|
|
16554
|
-
let
|
|
16558
|
+
let W = oe(this.etime).tz(this.positionGmt).set({ year: this.currentMonth.y, month: this.currentMonth.m, date: 1, hour: 0, minute: 0, second: 0 }).format();
|
|
16555
16559
|
const eA = ee(e.endDate).diff(ee(e.startDate), "day", !0);
|
|
16556
16560
|
for (let P = 0; P < eA; P++) {
|
|
16557
|
-
const N = ee(
|
|
16558
|
-
(w = this.seasonalData) == null || w.dates.push(oe(N).tz(this.positionGmt).format("MMM-DD")), (B = this.seasonalData) == null || B.xDates.push(oe(N).tz(this.positionGmt).format("DD")), (Q = this.seasonalData) == null || Q.highTemp.push(this.roundPrecision((v = (g = z == null ? void 0 : z.weather) == null ? void 0 : g.temp) == null ? void 0 : v.max, 0)), (U = this.seasonalData) == null || U.lowTemp.push(this.roundPrecision((m = (S = z == null ? void 0 : z.weather) == null ? void 0 : S.temp) == null ? void 0 : m.min, 0)), (
|
|
16561
|
+
const N = ee(W).clone().add(P, "d").format(), z = ((d = or.pickDaily(q, N)) == null ? void 0 : d[0]) || {};
|
|
16562
|
+
(w = this.seasonalData) == null || w.dates.push(oe(N).tz(this.positionGmt).format("MMM-DD")), (B = this.seasonalData) == null || B.xDates.push(oe(N).tz(this.positionGmt).format("DD")), (Q = this.seasonalData) == null || Q.highTemp.push(this.roundPrecision((v = (g = z == null ? void 0 : z.weather) == null ? void 0 : g.temp) == null ? void 0 : v.max, 0)), (U = this.seasonalData) == null || U.lowTemp.push(this.roundPrecision((m = (S = z == null ? void 0 : z.weather) == null ? void 0 : S.temp) == null ? void 0 : m.min, 0)), (J = this.seasonalData) == null || J.windSpeed.push(this.roundPrecision((V = (_ = z.weather) == null ? void 0 : _.wind) == null ? void 0 : V.kts, 1)), (k = this.seasonalData) == null || k.windDirection.push((X = (Z = z.weather) == null ? void 0 : Z.wind) == null ? void 0 : X.direction), (E = this.seasonalData) == null || E.precip.push(this.roundPrecision((cA = (Y = z == null ? void 0 : z.weather) == null ? void 0 : Y.precip) == null ? void 0 : cA.sum, 1));
|
|
16559
16563
|
}
|
|
16560
16564
|
(((K = (F = r == null ? void 0 : r.data.data) == null ? void 0 : F.past) == null ? void 0 : K.reverse()) || []).forEach((P, N) => {
|
|
16561
16565
|
var z, sA, aA, hA, yA, iA, DA, NA, _A, dA, R, jA, gA;
|
|
16562
|
-
|
|
16566
|
+
W = oe(this.etime).tz(this.positionGmt).set({ year: this.currentMonth.y - (N + 1), month: this.currentMonth.m, date: 1, hour: 0, minute: 0, second: 0 }).format();
|
|
16563
16567
|
for (let BA = 0; BA < eA; BA++) {
|
|
16564
|
-
const kA = ee(
|
|
16568
|
+
const kA = ee(W).clone().add(BA, "d").format(), FA = ((z = or.pickDaily(P, kA)) == null ? void 0 : z[0]) || {};
|
|
16565
16569
|
(hA = this.seasonalData) == null || hA.lastYearHighTemp.push(this.roundPrecision((aA = (sA = FA == null ? void 0 : FA.weather) == null ? void 0 : sA.temp) == null ? void 0 : aA.max, 0)), (DA = this.seasonalData) == null || DA.lastYearLowTemp.push(this.roundPrecision((iA = (yA = FA == null ? void 0 : FA.weather) == null ? void 0 : yA.temp) == null ? void 0 : iA.min, 0)), (dA = this.seasonalData) == null || dA.lastYearWindSpeed.push(this.roundPrecision((_A = (NA = FA.weather) == null ? void 0 : NA.wind) == null ? void 0 : _A.kts, 1)), (gA = this.seasonalData) == null || gA.lastYearPrecip.push(this.roundPrecision((jA = (R = FA == null ? void 0 : FA.weather) == null ? void 0 : R.precip) == null ? void 0 : jA.sum, 1));
|
|
16566
16570
|
}
|
|
16567
16571
|
}), this.seasonalData.offset = 8 + 0.5 / ((nA = (T = this.seasonalData) == null ? void 0 : T.dates) == null ? void 0 : nA.length) * 92 + "%", this.seasonalData.minHighTemp = Math.min(...this.seasonalData.highTemp.filter((P) => typeof P == "number" && !isNaN(P))), this.seasonalData.maxHighTemp = Math.max(...this.seasonalData.highTemp.filter((P) => typeof P == "number" && !isNaN(P))), this.seasonalData.minLowTemp = Math.min(...this.seasonalData.lowTemp.filter((P) => typeof P == "number" && !isNaN(P))), this.seasonalData.maxLowTemp = Math.max(...this.seasonalData.lowTemp.filter((P) => typeof P == "number" && !isNaN(P)));
|
|
@@ -16589,7 +16593,7 @@ const sm = {
|
|
|
16589
16593
|
return r;
|
|
16590
16594
|
},
|
|
16591
16595
|
initSeasonalEchart() {
|
|
16592
|
-
var U, _, V,
|
|
16596
|
+
var U, _, V, J, Z, X, k, Y, cA, E;
|
|
16593
16597
|
let t = Math.max(
|
|
16594
16598
|
...[...this.seasonalData.highTemp, ...this.seasonalData.lastYearHighTemp].filter((F) => typeof F == "number" && !isNaN(F))
|
|
16595
16599
|
), A = Math.min(...[...this.seasonalData.lowTemp, ...this.seasonalData.lastYearLowTemp].filter((F) => typeof F == "number" && !isNaN(F))), e = Math.ceil((t + 1) / 5) * 5, r = Math.floor((A - 1) / 5) * 5, n = Math.ceil((e - r) / 5);
|
|
@@ -16619,7 +16623,7 @@ const sm = {
|
|
|
16619
16623
|
show: !0,
|
|
16620
16624
|
position: "right",
|
|
16621
16625
|
formatter: (F) => {
|
|
16622
|
-
var T, nA, AA, q,
|
|
16626
|
+
var T, nA, AA, q, W, eA;
|
|
16623
16627
|
const K = (T = F == null ? void 0 : F[0]) == null ? void 0 : T.dataIndex;
|
|
16624
16628
|
return F.find((lA) => lA.seriesType === "scatter") ? !1 : `<div style="font-size: 13px;"><strong>${(nA = this.seasonalData) == null ? void 0 : nA.dates[K]}</strong></div>
|
|
16625
16629
|
<div style="font-size: 13px;">
|
|
@@ -16632,7 +16636,7 @@ const sm = {
|
|
|
16632
16636
|
</div>
|
|
16633
16637
|
<div style="font-size: 13px;">
|
|
16634
16638
|
<span style="display:inline-block; height: 10px;width: 10px;border-radius: 50%;background-color: #2164bf;}"></span>
|
|
16635
|
-
<span>Low : </span><strong>${(
|
|
16639
|
+
<span>Low : </span><strong>${(W = F[2]) == null ? void 0 : W.value}</strong><span style="padding-left: 3px;">mm</span>
|
|
16636
16640
|
</div>
|
|
16637
16641
|
<div style="font-size: 13px;">
|
|
16638
16642
|
<span style="display:inline-block; height: 10px;width: 10px;border-radius: 50%;background-color: #7baef7;}"></span>
|
|
@@ -16726,7 +16730,7 @@ const sm = {
|
|
|
16726
16730
|
{
|
|
16727
16731
|
name: "Low",
|
|
16728
16732
|
type: "line",
|
|
16729
|
-
data: (
|
|
16733
|
+
data: (J = this.seasonalData) == null ? void 0 : J.lowTemp,
|
|
16730
16734
|
symbol: "none",
|
|
16731
16735
|
smooth: !1,
|
|
16732
16736
|
itemStyle: {
|
|
@@ -16804,13 +16808,13 @@ const sm = {
|
|
|
16804
16808
|
show: !0,
|
|
16805
16809
|
position: "right",
|
|
16806
16810
|
formatter: (F) => {
|
|
16807
|
-
var T, nA, AA, q,
|
|
16811
|
+
var T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA;
|
|
16808
16812
|
const K = (T = F == null ? void 0 : F[0]) == null ? void 0 : T.dataIndex;
|
|
16809
16813
|
if (F.find((yA) => yA.seriesType === "scatter"))
|
|
16810
16814
|
return !1;
|
|
16811
16815
|
{
|
|
16812
16816
|
let yA = { color: "", colorLastYear: "", url: "" };
|
|
16813
|
-
return ((nA = F[2]) == null ? void 0 : nA.value) < 9.9 ? yA.color = "rgba(172, 210, 255, 1)" : ((AA = F[2]) == null ? void 0 : AA.value) < 24.9 ? yA.color = "rgba(3, 248, 103, 1)" : ((q = F[2]) == null ? void 0 : q.value) < 49.9 ? yA.color = "rgba(190, 226, 2, 18)" : ((
|
|
16817
|
+
return ((nA = F[2]) == null ? void 0 : nA.value) < 9.9 ? yA.color = "rgba(172, 210, 255, 1)" : ((AA = F[2]) == null ? void 0 : AA.value) < 24.9 ? yA.color = "rgba(3, 248, 103, 1)" : ((q = F[2]) == null ? void 0 : q.value) < 49.9 ? yA.color = "rgba(190, 226, 2, 18)" : ((W = F[2]) == null ? void 0 : W.value) < 99.9 ? yA.color = "rgba(248, 1, 1, 1)" : ((eA = F[2]) == null ? void 0 : eA.value) > 100 ? yA.color = "rgba(197, 5, 58, 1)" : yA.color = "rgba(172, 210, 255, 1)", ((lA = F[3]) == null ? void 0 : lA.value) < 9.9 ? yA.colorLastYear = "rgba(172, 210, 255, 1)" : ((CA = F[3]) == null ? void 0 : CA.value) < 24.9 ? yA.colorLastYear = "rgba(3, 248, 103, 1)" : ((b = F[3]) == null ? void 0 : b.value) < 49.9 ? yA.colorLastYear = "rgba(190, 226, 2, 18)" : ((M = F[3]) == null ? void 0 : M.value) < 99.9 ? yA.colorLastYear = "rgba(248, 1, 1, 1)" : ((P = F[3]) == null ? void 0 : P.value) > 100 ? yA.colorLastYear = "rgba(197, 5, 58, 1)" : yA.colorLastYear = "rgba(172, 210, 255, 1)", yA.url = (() => {
|
|
16814
16818
|
const iA = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
16815
16819
|
iA.setAttribute("width", "10"), iA.setAttribute("height", "10"), iA.setAttribute("viewBox", "0 0 10 10");
|
|
16816
16820
|
const DA = document.createElementNS("http://www.w3.org/2000/svg", "rect");
|
|
@@ -17077,7 +17081,7 @@ const sm = {
|
|
|
17077
17081
|
document.getElementById("weather-chart") && Ne.dispose(document.getElementById("weather-chart")), document.getElementById("weather-icons") && Ne.dispose(document.getElementById("weather-icons")), document.getElementById("weather-condition") && Ne.dispose(document.getElementById("weather-condition")), document.getElementById("wave-swell") && Ne.dispose(document.getElementById("wave-swell")), document.getElementById("temperature-echart") && Ne.dispose(document.getElementById("temperature-echart")), document.getElementById("wind-precip-echart") && Ne.dispose(document.getElementById("wind-precip-echart"));
|
|
17078
17082
|
},
|
|
17079
17083
|
async initHoursTableData() {
|
|
17080
|
-
var t, A, e, r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
17084
|
+
var t, A, e, r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W;
|
|
17081
17085
|
this.hoursTableData = {
|
|
17082
17086
|
hours: [],
|
|
17083
17087
|
utcHours: [],
|
|
@@ -17113,7 +17117,7 @@ const sm = {
|
|
|
17113
17117
|
this.hoursTableData.weatherUrls.push(b);
|
|
17114
17118
|
} else
|
|
17115
17119
|
this.hoursTableData.weatherUrls.push(null);
|
|
17116
|
-
this.hoursTableData.utcHours.push(ee(CA.utc).format("HH:mm")), this.hoursTableData.weatherNames.push(((r = CA.weather) == null ? void 0 : r.name) ?? "-"), this.hoursTableData.temp.push(this.roundPrecision((n = CA.weather) == null ? void 0 : n.temp, 0) ?? "-"), this.hoursTableData.precipProbability.push(this.roundPrecision((a = (i = CA.weather) == null ? void 0 : i.precip) == null ? void 0 : a.probability, 1) ?? "-"), this.hoursTableData.precip1h.push(this.roundPrecision((c = (o = CA.weather) == null ? void 0 : o.precip) == null ? void 0 : c.sum, 1) ?? "-"), this.hoursTableData.visibility.push(this.roundPrecision((u = CA.weather) == null ? void 0 : u.visibility, 0) ?? "-"), this.hoursTableData.humidity.push(this.roundPrecision((d = CA.weather) == null ? void 0 : d.rh, 0) ?? "-"), this.hoursTableData.windSpeed.push(this.roundPrecision((B = (w = CA.weather) == null ? void 0 : w.wind) == null ? void 0 : B.kts, 1)), this.hoursTableData.windDir.push((v = (g = CA.weather) == null ? void 0 : g.wind) == null ? void 0 : v.bearing), this.hoursTableData.windGust.push(this.roundPrecision((S = (Q = CA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.gusts, 1) ?? "-"), this.hoursTableData.sigwaveHeight.push(this.roundPrecision((U = (m = CA.wave) == null ? void 0 : m.sig) == null ? void 0 : U.height, 1) ?? "-"), this.hoursTableData.sigwaveDir.push((V = (_ = CA.wave) == null ? void 0 : _.sig) == null ? void 0 : V.bearing), this.hoursTableData.windwaveHeight.push(this.roundPrecision((Z = (
|
|
17120
|
+
this.hoursTableData.utcHours.push(ee(CA.utc).format("HH:mm")), this.hoursTableData.weatherNames.push(((r = CA.weather) == null ? void 0 : r.name) ?? "-"), this.hoursTableData.temp.push(this.roundPrecision((n = CA.weather) == null ? void 0 : n.temp, 0) ?? "-"), this.hoursTableData.precipProbability.push(this.roundPrecision((a = (i = CA.weather) == null ? void 0 : i.precip) == null ? void 0 : a.probability, 1) ?? "-"), this.hoursTableData.precip1h.push(this.roundPrecision((c = (o = CA.weather) == null ? void 0 : o.precip) == null ? void 0 : c.sum, 1) ?? "-"), this.hoursTableData.visibility.push(this.roundPrecision((u = CA.weather) == null ? void 0 : u.visibility, 0) ?? "-"), this.hoursTableData.humidity.push(this.roundPrecision((d = CA.weather) == null ? void 0 : d.rh, 0) ?? "-"), this.hoursTableData.windSpeed.push(this.roundPrecision((B = (w = CA.weather) == null ? void 0 : w.wind) == null ? void 0 : B.kts, 1)), this.hoursTableData.windDir.push((v = (g = CA.weather) == null ? void 0 : g.wind) == null ? void 0 : v.bearing), this.hoursTableData.windGust.push(this.roundPrecision((S = (Q = CA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.gusts, 1) ?? "-"), this.hoursTableData.sigwaveHeight.push(this.roundPrecision((U = (m = CA.wave) == null ? void 0 : m.sig) == null ? void 0 : U.height, 1) ?? "-"), this.hoursTableData.sigwaveDir.push((V = (_ = CA.wave) == null ? void 0 : _.sig) == null ? void 0 : V.bearing), this.hoursTableData.windwaveHeight.push(this.roundPrecision((Z = (J = CA.wave) == null ? void 0 : J.wd) == null ? void 0 : Z.height, 1) ?? "-"), this.hoursTableData.windwaveDir.push((k = (X = CA.wave) == null ? void 0 : X.wd) == null ? void 0 : k.bearing), this.hoursTableData.windwavePeriod.push(this.roundPrecision((cA = (Y = CA.wave) == null ? void 0 : Y.wd) == null ? void 0 : cA.period, 1) ?? "-"), this.hoursTableData.swellHeight.push(this.roundPrecision((F = (E = CA.wave) == null ? void 0 : E.swell) == null ? void 0 : F.height, 1) ?? "-"), this.hoursTableData.swellDir.push((T = (K = CA.wave) == null ? void 0 : K.swell) == null ? void 0 : T.bearing), this.hoursTableData.swellPeriod.push(this.roundPrecision((AA = (nA = CA.wave) == null ? void 0 : nA.swell) == null ? void 0 : AA.period, 1) ?? "-"), this.hoursTableData.currentSpeed.push(this.roundPrecision((q = CA.current) == null ? void 0 : q.speed, 1) ?? "-"), this.hoursTableData.currentDir.push((W = CA.current) == null ? void 0 : W.bearing), this.hoursTableData.seaLevel.push(this.roundPrecision(CA.height, 1) ?? "-"), this.hoursTableData.seaTemp.push(this.roundPrecision(CA.sst, 0) ?? "-");
|
|
17117
17121
|
}
|
|
17118
17122
|
this.loading.hoursTable = !1;
|
|
17119
17123
|
},
|
|
@@ -17121,7 +17125,7 @@ const sm = {
|
|
|
17121
17125
|
this.position = {}, this.meteoData = {}, this.followItem = void 0, Ne && document.getElementById("weather-chart") && Ne.dispose(document.getElementById("weather-chart"));
|
|
17122
17126
|
},
|
|
17123
17127
|
async initDaysTableData() {
|
|
17124
|
-
var A, e, r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
17128
|
+
var A, e, r, n, i, a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b;
|
|
17125
17129
|
this.daysTableData = [];
|
|
17126
17130
|
const t = oe(this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
17127
17131
|
for (let M = 0; M < 14; M++) {
|
|
@@ -17140,13 +17144,13 @@ const sm = {
|
|
|
17140
17144
|
windSpeedMax: this.roundPrecision((S = (Q = N == null ? void 0 : N.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.kts, 1) ?? "-",
|
|
17141
17145
|
windSpeedDir: (U = (m = N == null ? void 0 : N.weather) == null ? void 0 : m.wind) == null ? void 0 : U.bearing,
|
|
17142
17146
|
gustSpeedMax: this.roundPrecision((V = (_ = N == null ? void 0 : N.weather) == null ? void 0 : _.wind) == null ? void 0 : V.gusts, 1) ?? "-",
|
|
17143
|
-
windWaveHeight: this.roundPrecision((Z = (
|
|
17147
|
+
windWaveHeight: this.roundPrecision((Z = (J = N == null ? void 0 : N.wave) == null ? void 0 : J.wd) == null ? void 0 : Z.height, 1) ?? "-",
|
|
17144
17148
|
windWavePeriod: this.roundPrecision((k = (X = N == null ? void 0 : N.wave) == null ? void 0 : X.wd) == null ? void 0 : k.period, 1) ?? "-",
|
|
17145
17149
|
windWaveDir: (cA = (Y = N == null ? void 0 : N.wave) == null ? void 0 : Y.wd) == null ? void 0 : cA.bearing,
|
|
17146
17150
|
swellWaveHeight: this.roundPrecision((F = (E = N == null ? void 0 : N.wave) == null ? void 0 : E.swell) == null ? void 0 : F.height, 1) ?? "-",
|
|
17147
17151
|
swellWavePeriod: this.roundPrecision((T = (K = N == null ? void 0 : N.wave) == null ? void 0 : K.swell) == null ? void 0 : T.period, 1) ?? "-",
|
|
17148
17152
|
swellWaveDir: (AA = (nA = N == null ? void 0 : N.wave) == null ? void 0 : nA.swell) == null ? void 0 : AA.bearing,
|
|
17149
|
-
sigWaveHeight: this.roundPrecision((
|
|
17153
|
+
sigWaveHeight: this.roundPrecision((W = (q = N == null ? void 0 : N.wave) == null ? void 0 : q.sig) == null ? void 0 : W.height, 1) ?? "-",
|
|
17150
17154
|
sigWavePeriod: this.roundPrecision((lA = (eA = N == null ? void 0 : N.wave) == null ? void 0 : eA.sig) == null ? void 0 : lA.period, 1) ?? "-",
|
|
17151
17155
|
sigWaveDir: (b = (CA = N == null ? void 0 : N.wave) == null ? void 0 : CA.sig) == null ? void 0 : b.bearing
|
|
17152
17156
|
});
|
|
@@ -17154,7 +17158,7 @@ const sm = {
|
|
|
17154
17158
|
this.loading.daysTable = !1;
|
|
17155
17159
|
},
|
|
17156
17160
|
initHourlyTableData(t, A, e, r) {
|
|
17157
|
-
var o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
17161
|
+
var o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA, iA, DA, NA, _A;
|
|
17158
17162
|
this.hourlyTableData = [];
|
|
17159
17163
|
const n = A || 14, i = e || this.etime, a = oe(i).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
17160
17164
|
for (let dA = 0; dA < n * 24; dA++) {
|
|
@@ -17169,14 +17173,14 @@ const sm = {
|
|
|
17169
17173
|
windSpeed: this.roundPrecision((Q = (v = gA == null ? void 0 : gA.weather) == null ? void 0 : v.wind) == null ? void 0 : Q.kts, 1) ?? "-",
|
|
17170
17174
|
windDir: (m = (S = gA == null ? void 0 : gA.weather) == null ? void 0 : S.wind) == null ? void 0 : m.direction,
|
|
17171
17175
|
windBearing: (_ = (U = gA == null ? void 0 : gA.weather) == null ? void 0 : U.wind) == null ? void 0 : _.bearing,
|
|
17172
|
-
windBF: ((
|
|
17176
|
+
windBF: ((J = (V = gA == null ? void 0 : gA.weather) == null ? void 0 : V.wind) == null ? void 0 : J.scale) ?? "-",
|
|
17173
17177
|
windGusts: this.roundPrecision((X = (Z = gA == null ? void 0 : gA.weather) == null ? void 0 : Z.wind) == null ? void 0 : X.gusts, 1) ?? "-",
|
|
17174
17178
|
windWaveHeight: this.roundPrecision((Y = (k = gA == null ? void 0 : gA.wave) == null ? void 0 : k.wd) == null ? void 0 : Y.height, 1) ?? "-",
|
|
17175
17179
|
windWavePeriod: this.roundPrecision((E = (cA = gA == null ? void 0 : gA.wave) == null ? void 0 : cA.wd) == null ? void 0 : E.period, 1) ?? "-",
|
|
17176
17180
|
windWaveDir: (K = (F = gA == null ? void 0 : gA.wave) == null ? void 0 : F.wd) == null ? void 0 : K.direction,
|
|
17177
17181
|
windWaveBearing: (nA = (T = gA == null ? void 0 : gA.wave) == null ? void 0 : T.wd) == null ? void 0 : nA.bearing,
|
|
17178
17182
|
swellHeight: this.roundPrecision((q = (AA = gA == null ? void 0 : gA.wave) == null ? void 0 : AA.swell) == null ? void 0 : q.height, 1) ?? "-",
|
|
17179
|
-
swellPeriod: this.roundPrecision((eA = (
|
|
17183
|
+
swellPeriod: this.roundPrecision((eA = (W = gA == null ? void 0 : gA.wave) == null ? void 0 : W.swell) == null ? void 0 : eA.period, 1) ?? "-",
|
|
17180
17184
|
swellDir: (CA = (lA = gA == null ? void 0 : gA.wave) == null ? void 0 : lA.swell) == null ? void 0 : CA.direction,
|
|
17181
17185
|
swellBearing: (M = (b = gA == null ? void 0 : gA.wave) == null ? void 0 : b.swell) == null ? void 0 : M.bearing,
|
|
17182
17186
|
sigWaveHeight: this.roundPrecision((N = (P = gA == null ? void 0 : gA.wave) == null ? void 0 : P.sig) == null ? void 0 : N.height, 1) ?? "-",
|
|
@@ -17611,7 +17615,7 @@ const sm = {
|
|
|
17611
17615
|
class: "text"
|
|
17612
17616
|
}, Zv = { class: "info-box-item flex-center" };
|
|
17613
17617
|
function $v(t, A, e, r, n, i) {
|
|
17614
|
-
var _, V,
|
|
17618
|
+
var _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA, iA, DA, NA, _A, dA, R, jA, gA, BA, kA, FA, HA, YA, MA, XA, Ae;
|
|
17615
17619
|
const a = sr("ElOption"), o = sr("ElSelect"), c = sr("IdmBrand"), u = sr("ElTooltip"), d = sr("Download"), w = sr("ElIcon"), B = sr("Calendar"), g = sr("el-icon"), v = sr("ArrowRightBold"), Q = sr("el-date-picker"), S = sr("ElInput"), m = sr("ElButton"), U = sr("ElDialog");
|
|
17616
17620
|
return IA(), EA("div", am, [
|
|
17617
17621
|
L("div", om, [
|
|
@@ -17693,7 +17697,7 @@ function $v(t, A, e, r, n, i) {
|
|
|
17693
17697
|
L("div", dm, OA(n.menuIndex === 4 ? "Seasonal" : "") + " Weather forecast for " + OA(((_ = n.position) == null ? void 0 : _.name) || "-") + " ( UTC" + OA(n.positionOffset) + " )", 1),
|
|
17694
17698
|
L("div", wm, [
|
|
17695
17699
|
pe(" At " + OA((V = n.position) != null && V.portId ? "port" : "coordinates"), 1),
|
|
17696
|
-
(
|
|
17700
|
+
(J = n.position) != null && J.portId ? (IA(), EA("span", Bm, ", " + OA(i.computeLat(n.position.lat)) + ", " + OA(i.computeLng(n.position.lng)), 1)) : Ur("", !0),
|
|
17697
17701
|
pe(", issued " + OA(n.issuedDate), 1)
|
|
17698
17702
|
])
|
|
17699
17703
|
]),
|
|
@@ -18387,7 +18391,7 @@ function $v(t, A, e, r, n, i) {
|
|
|
18387
18391
|
])
|
|
18388
18392
|
]))), 128))
|
|
18389
18393
|
])
|
|
18390
|
-
])) : (
|
|
18394
|
+
])) : (W = n.loading) != null && W.daysTable ? (IA(), EA("div", k5, A[58] || (A[58] = [
|
|
18391
18395
|
L("img", {
|
|
18392
18396
|
style: { height: "200px" },
|
|
18393
18397
|
src: Gi
|
|
@@ -18760,7 +18764,7 @@ function $v(t, A, e, r, n, i) {
|
|
|
18760
18764
|
}, 8, ["modelValue", "title"])
|
|
18761
18765
|
]);
|
|
18762
18766
|
}
|
|
18763
|
-
const AC = /* @__PURE__ */ nh(sm, [["render", $v], ["__scopeId", "data-v-
|
|
18767
|
+
const AC = /* @__PURE__ */ nh(sm, [["render", $v], ["__scopeId", "data-v-eb9bec7e"]]), t4 = {
|
|
18764
18768
|
install(t) {
|
|
18765
18769
|
t.component("SpotWeather", AC);
|
|
18766
18770
|
}
|
|
@@ -18937,16 +18941,16 @@ const eC = {
|
|
|
18937
18941
|
)
|
|
18938
18942
|
), n = new Image(64, 64);
|
|
18939
18943
|
n.src = r, n.onload = async () => {
|
|
18940
|
-
var a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
18944
|
+
var a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA, iA, DA, NA, _A, dA, R, jA, gA, BA, kA, FA, HA, YA, MA, XA, Ae;
|
|
18941
18945
|
this.loading.meteogramEchart = !1;
|
|
18942
18946
|
const i = oe(this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
18943
18947
|
for (let j = 0; j < 7 * 24; j++) {
|
|
18944
18948
|
const UA = ee(i).clone().add(j, "h").format();
|
|
18945
18949
|
(a = this.meteogramData) == null || a.dates.push(UA);
|
|
18946
18950
|
const vA = ((o = or.pickHourly(t, UA)) == null ? void 0 : o[0]) || {};
|
|
18947
|
-
if (j % 12 === 0 && j % 24 !== 0 ? (c = this.meteogramData) == null || c.xDates.push(oe(UA).tz(this.positionGmt).format("MMM-DD")) : (u = this.meteogramData) == null || u.xDates.push(""), j % 3 === 0 ? (d = this.meteogramData) == null || d.hours.push(this.computeHourLT(UA)) : (w = this.meteogramData) == null || w.hours.push(""), (g = this.meteogramData) == null || g.temperaturesX.push([UA, this.roundPrecision((B = vA == null ? void 0 : vA.weather) == null ? void 0 : B.temp, 0)]), (Q = this.meteogramData) == null || Q.temperaturesY.push(this.roundPrecision((v = vA == null ? void 0 : vA.weather) == null ? void 0 : v.temp, 0)), (U = this.meteogramData) == null || U.precip.push(this.roundPrecision((m = (S = vA == null ? void 0 : vA.weather) == null ? void 0 : S.precip) == null ? void 0 : m.sum, 1)), (V = this.meteogramData) == null || V.visibility.push(this.roundPrecision((_ = vA == null ? void 0 : vA.weather) == null ? void 0 : _.visibility, 1)), (X = this.meteogramData) == null || X.windspeed.push(this.roundPrecision((Z = (
|
|
18951
|
+
if (j % 12 === 0 && j % 24 !== 0 ? (c = this.meteogramData) == null || c.xDates.push(oe(UA).tz(this.positionGmt).format("MMM-DD")) : (u = this.meteogramData) == null || u.xDates.push(""), j % 3 === 0 ? (d = this.meteogramData) == null || d.hours.push(this.computeHourLT(UA)) : (w = this.meteogramData) == null || w.hours.push(""), (g = this.meteogramData) == null || g.temperaturesX.push([UA, this.roundPrecision((B = vA == null ? void 0 : vA.weather) == null ? void 0 : B.temp, 0)]), (Q = this.meteogramData) == null || Q.temperaturesY.push(this.roundPrecision((v = vA == null ? void 0 : vA.weather) == null ? void 0 : v.temp, 0)), (U = this.meteogramData) == null || U.precip.push(this.roundPrecision((m = (S = vA == null ? void 0 : vA.weather) == null ? void 0 : S.precip) == null ? void 0 : m.sum, 1)), (V = this.meteogramData) == null || V.visibility.push(this.roundPrecision((_ = vA == null ? void 0 : vA.weather) == null ? void 0 : _.visibility, 1)), (X = this.meteogramData) == null || X.windspeed.push(this.roundPrecision((Z = (J = vA.weather) == null ? void 0 : J.wind) == null ? void 0 : Z.kts, 1)), (cA = this.meteogramData) == null || cA.windGusts.push(this.roundPrecision((Y = (k = vA == null ? void 0 : vA.weather) == null ? void 0 : k.wind) == null ? void 0 : Y.gusts, 1)), (K = this.meteogramData) == null || K.sigWaveHeight.push(this.roundPrecision((F = (E = vA == null ? void 0 : vA.wave) == null ? void 0 : E.sig) == null ? void 0 : F.height)), (AA = this.meteogramData) == null || AA.swellHeight.push(this.roundPrecision((nA = (T = vA == null ? void 0 : vA.wave) == null ? void 0 : T.swell) == null ? void 0 : nA.height)), j % 6 === 0) {
|
|
18948
18952
|
if ((q = vA.weather) != null && q.url) {
|
|
18949
|
-
const RA = await this.convertSvgUrlToBase64((
|
|
18953
|
+
const RA = await this.convertSvgUrlToBase64((W = vA.weather) == null ? void 0 : W.url);
|
|
18950
18954
|
(eA = this.meteogramData) == null || eA.weatherIcons.push({ symbol: "image://" + RA, symbolSize: 30 });
|
|
18951
18955
|
} else
|
|
18952
18956
|
this.meteogramData.weatherIcons.push({ symbol: "image://", symbolSize: 0 });
|
|
@@ -19007,14 +19011,14 @@ const eC = {
|
|
|
19007
19011
|
)
|
|
19008
19012
|
), o = new Image(64, 64);
|
|
19009
19013
|
o.src = a, o.onload = async () => {
|
|
19010
|
-
var u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
19014
|
+
var u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA, iA, DA, NA, _A, dA, R, jA, gA, BA, kA, FA, HA, YA, MA, XA, Ae, j, UA, vA, RA;
|
|
19011
19015
|
this.loading.meteogramEchart = !1;
|
|
19012
19016
|
const c = oe(n).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
19013
19017
|
for (let QA = 0; QA < r * 24; QA++) {
|
|
19014
19018
|
const uA = ee(c).clone().add(QA, "h").format();
|
|
19015
19019
|
(u = this.meteogramData) == null || u.dates.push(uA);
|
|
19016
19020
|
const LA = ((d = or.pickHourly(t, uA)) == null ? void 0 : d[0]) || {};
|
|
19017
|
-
if ((B = this.meteogramData) == null || B.temperaturesY.push(this.roundPrecision((w = LA == null ? void 0 : LA.weather) == null ? void 0 : w.temp, 0)), (v = this.meteogramData) == null || v.visibility.push(this.roundPrecision((g = LA == null ? void 0 : LA.weather) == null ? void 0 : g.visibility, 1)), (m = this.meteogramData) == null || m.windspeed.push(this.roundPrecision((S = (Q = LA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.kts, 1)), (V = this.meteogramData) == null || V.windGusts.push(this.roundPrecision((_ = (U = LA == null ? void 0 : LA.weather) == null ? void 0 : U.wind) == null ? void 0 : _.gusts, 1)), (X = this.meteogramData) == null || X.sigWaveHeight.push(this.roundPrecision((Z = (
|
|
19021
|
+
if ((B = this.meteogramData) == null || B.temperaturesY.push(this.roundPrecision((w = LA == null ? void 0 : LA.weather) == null ? void 0 : w.temp, 0)), (v = this.meteogramData) == null || v.visibility.push(this.roundPrecision((g = LA == null ? void 0 : LA.weather) == null ? void 0 : g.visibility, 1)), (m = this.meteogramData) == null || m.windspeed.push(this.roundPrecision((S = (Q = LA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.kts, 1)), (V = this.meteogramData) == null || V.windGusts.push(this.roundPrecision((_ = (U = LA == null ? void 0 : LA.weather) == null ? void 0 : U.wind) == null ? void 0 : _.gusts, 1)), (X = this.meteogramData) == null || X.sigWaveHeight.push(this.roundPrecision((Z = (J = LA == null ? void 0 : LA.wave) == null ? void 0 : J.sig) == null ? void 0 : Z.height)), (cA = this.meteogramData) == null || cA.swellHeight.push(this.roundPrecision((Y = (k = LA == null ? void 0 : LA.wave) == null ? void 0 : k.swell) == null ? void 0 : Y.height)), QA % 3 === 0 ? ((K = this.meteogramData) == null || K.precip.push(this.roundPrecision((F = (E = LA == null ? void 0 : LA.weather) == null ? void 0 : E.precip) == null ? void 0 : F.sum3Hours, 1)), (nA = this.meteogramData) == null || nA.temperaturesX.push([uA, this.roundPrecision((T = LA == null ? void 0 : LA.weather) == null ? void 0 : T.temp, 0)])) : (AA = this.meteogramData) == null || AA.precip.push(null), QA % 12 === 0 && QA % 24 !== 0 ? (q = this.meteogramData) == null || q.xDates.push(oe(uA).tz(this.positionGmt).format("MMM-DD")) : (W = this.meteogramData) == null || W.xDates.push(""), QA % 6 === 0 ? (eA = this.meteogramData) == null || eA.hours.push(this.computeHourLT(uA)) : (lA = this.meteogramData) == null || lA.hours.push(""), QA % 12 === 0) {
|
|
19018
19022
|
if ((CA = LA.weather) != null && CA.url) {
|
|
19019
19023
|
const re = await this.convertSvgUrlToBase64((b = LA.weather) == null ? void 0 : b.url);
|
|
19020
19024
|
(M = this.meteogramData) == null || M.weatherIcons.push({ symbol: "image://" + re, symbolSize: 30 });
|
|
@@ -19047,7 +19051,7 @@ const eC = {
|
|
|
19047
19051
|
};
|
|
19048
19052
|
},
|
|
19049
19053
|
initMeteogramEchart(t) {
|
|
19050
|
-
var v, Q, S, m, U, _, V,
|
|
19054
|
+
var v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA, aA, hA, yA, iA, DA, NA, _A, dA, R, jA, gA, BA, kA, FA, HA, YA, MA, XA, Ae, j, UA, vA, RA, QA;
|
|
19051
19055
|
let A;
|
|
19052
19056
|
document.getElementById("weather-icons") && (A = Ne.init(document.getElementById("weather-icons")));
|
|
19053
19057
|
const e = {
|
|
@@ -19276,7 +19280,7 @@ const eC = {
|
|
|
19276
19280
|
top: "50%",
|
|
19277
19281
|
height: "50%",
|
|
19278
19282
|
type: "category",
|
|
19279
|
-
data: (
|
|
19283
|
+
data: (J = this.meteogramData) == null ? void 0 : J.dates,
|
|
19280
19284
|
axisLabel: {
|
|
19281
19285
|
show: !1
|
|
19282
19286
|
},
|
|
@@ -19349,7 +19353,7 @@ const eC = {
|
|
|
19349
19353
|
},
|
|
19350
19354
|
{
|
|
19351
19355
|
left: (q = (AA = this.meteogramData) == null ? void 0 : AA.singleAxisOffset) == null ? void 0 : q.l,
|
|
19352
|
-
right: (eA = (
|
|
19356
|
+
right: (eA = (W = this.meteogramData) == null ? void 0 : W.singleAxisOffset) == null ? void 0 : eA.r,
|
|
19353
19357
|
type: "category",
|
|
19354
19358
|
show: !1,
|
|
19355
19359
|
axisLine: {
|
|
@@ -19894,7 +19898,7 @@ const eC = {
|
|
|
19894
19898
|
document.getElementById("weather-chart") && Ne.dispose(document.getElementById("weather-chart")), document.getElementById("weather-icons") && Ne.dispose(document.getElementById("weather-icons")), document.getElementById("weather-condition") && Ne.dispose(document.getElementById("weather-condition")), document.getElementById("wave-swell") && Ne.dispose(document.getElementById("wave-swell")), document.getElementById("temperature-echart") && Ne.dispose(document.getElementById("temperature-echart")), document.getElementById("wind-precip-echart") && Ne.dispose(document.getElementById("wind-precip-echart"));
|
|
19895
19899
|
},
|
|
19896
19900
|
initHourlyTableData(t, A, e) {
|
|
19897
|
-
var a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V,
|
|
19901
|
+
var a, o, c, u, d, w, B, g, v, Q, S, m, U, _, V, J, Z, X, k, Y, cA, E, F, K, T, nA, AA, q, W, eA, lA, CA, b, M, P, N, z, sA;
|
|
19898
19902
|
this.hourlyTableData = [];
|
|
19899
19903
|
const r = A || 14, n = e || this.etime, i = oe(n).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
19900
19904
|
for (let aA = 0; aA < r * 24; aA++) {
|
|
@@ -19909,13 +19913,13 @@ const eC = {
|
|
|
19909
19913
|
windSpeed: this.roundPrecision((S = (Q = iA == null ? void 0 : iA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.kts, 1) ?? "-",
|
|
19910
19914
|
windDir: (U = (m = iA == null ? void 0 : iA.weather) == null ? void 0 : m.wind) == null ? void 0 : U.direction,
|
|
19911
19915
|
windBearing: (V = (_ = iA == null ? void 0 : iA.weather) == null ? void 0 : _.wind) == null ? void 0 : V.bearing,
|
|
19912
|
-
windBF: ((Z = (
|
|
19916
|
+
windBF: ((Z = (J = iA == null ? void 0 : iA.weather) == null ? void 0 : J.wind) == null ? void 0 : Z.scale) ?? "-",
|
|
19913
19917
|
windGusts: this.roundPrecision((k = (X = iA == null ? void 0 : iA.weather) == null ? void 0 : X.wind) == null ? void 0 : k.gusts, 1) ?? "-",
|
|
19914
19918
|
windWaveHeight: this.roundPrecision((cA = (Y = iA == null ? void 0 : iA.wave) == null ? void 0 : Y.wd) == null ? void 0 : cA.height, 1) ?? "-",
|
|
19915
19919
|
windWavePeriod: this.roundPrecision((F = (E = iA == null ? void 0 : iA.wave) == null ? void 0 : E.wd) == null ? void 0 : F.period, 1) ?? "-",
|
|
19916
19920
|
windWaveDir: (T = (K = iA == null ? void 0 : iA.wave) == null ? void 0 : K.wd) == null ? void 0 : T.direction,
|
|
19917
19921
|
windWaveBearing: (AA = (nA = iA == null ? void 0 : iA.wave) == null ? void 0 : nA.wd) == null ? void 0 : AA.bearing,
|
|
19918
|
-
sigWaveHeight: this.roundPrecision((
|
|
19922
|
+
sigWaveHeight: this.roundPrecision((W = (q = iA == null ? void 0 : iA.wave) == null ? void 0 : q.sig) == null ? void 0 : W.height, 1) ?? "-",
|
|
19919
19923
|
sigWavePeriod: this.roundPrecision((lA = (eA = iA == null ? void 0 : iA.wave) == null ? void 0 : eA.sig) == null ? void 0 : lA.period, 1) ?? "-",
|
|
19920
19924
|
sigWaveDir: (b = (CA = iA == null ? void 0 : iA.wave) == null ? void 0 : CA.sig) == null ? void 0 : b.direction,
|
|
19921
19925
|
sigWaveBearing: (P = (M = iA == null ? void 0 : iA.wave) == null ? void 0 : M.sig) == null ? void 0 : P.bearing,
|