@idmui/spot 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import te from "moment";
|
|
2
|
-
import
|
|
2
|
+
import ce from "moment-timezone";
|
|
3
3
|
import { ArrowRightBold as Qd, Calendar as bd, Download as Fd, Search as Id } from "@element-plus/icons-vue";
|
|
4
4
|
import { LngLatHelper as Wi } from "@idm-plugin/geo";
|
|
5
5
|
import { openBlock as IA, createElementBlock as EA, createElementVNode as I, toDisplayString as OA, markRaw as xd, resolveComponent as sr, createVNode as zt, withCtx as Er, Fragment as ke, renderList as Te, createBlock as Ss, normalizeClass as Le, createTextVNode as _A, createCommentVNode as Ur, withDirectives as ql, vShow as Xl, createStaticVNode as Ed } from "vue";
|
|
@@ -12021,15 +12021,15 @@ function cg(t) {
|
|
|
12021
12021
|
mA = O[fA], 0 < O[fA] && (pA[aA[mA]++] = fA);
|
|
12022
12022
|
if (aA[15] == 1)
|
|
12023
12023
|
return (O = new F()).g = 0, O.value = pA[0], cA(E, TA, 1, FA, O), FA;
|
|
12024
|
-
var SA, KA = -1, kA = FA - 1, $A = 0, XA = 1,
|
|
12024
|
+
var SA, KA = -1, kA = FA - 1, $A = 0, XA = 1, le = 1, VA = 1 << H;
|
|
12025
12025
|
for (fA = 0, mA = 1, rA = 2; mA <= H; ++mA, rA <<= 1) {
|
|
12026
|
-
if (XA +=
|
|
12026
|
+
if (XA += le <<= 1, 0 > (le -= nA[mA]))
|
|
12027
12027
|
return 0;
|
|
12028
12028
|
for (; 0 < nA[mA]; --nA[mA])
|
|
12029
12029
|
(O = new F()).g = mA, O.value = pA[fA++], cA(E, TA + $A, rA, VA, O), $A = Y($A, mA);
|
|
12030
12030
|
}
|
|
12031
12031
|
for (mA = H + 1, rA = 2; 15 >= mA; ++mA, rA <<= 1) {
|
|
12032
|
-
if (XA +=
|
|
12032
|
+
if (XA += le <<= 1, 0 > (le -= nA[mA]))
|
|
12033
12033
|
return 0;
|
|
12034
12034
|
for (; 0 < nA[mA]; --nA[mA]) {
|
|
12035
12035
|
if (O = new F(), ($A & kA) != KA) {
|
|
@@ -12358,8 +12358,8 @@ function cg(t) {
|
|
|
12358
12358
|
case 0:
|
|
12359
12359
|
var FA = rA, nA = pA, aA = H, SA = D, KA = (VA = O).Ea;
|
|
12360
12360
|
FA == 0 && (Ul(mA, fA, null, null, 1, aA, SA), ee(mA, fA + 1, 0, 0, KA - 1, aA, SA + 1), fA += KA, SA += KA, ++FA);
|
|
12361
|
-
for (var kA = 1 << VA.b, $A = kA - 1, XA = lA(KA, VA.b),
|
|
12362
|
-
var Ee =
|
|
12361
|
+
for (var kA = 1 << VA.b, $A = kA - 1, XA = lA(KA, VA.b), le = VA.K, VA = VA.w + (FA >> VA.b) * XA; FA < nA; ) {
|
|
12362
|
+
var Ee = le, He = VA, xe = 1;
|
|
12363
12363
|
for (Qs(mA, fA, aA, SA - KA, 1, aA, SA); xe < KA; ) {
|
|
12364
12364
|
var Ce = (xe & ~$A) + kA;
|
|
12365
12365
|
Ce > KA && (Ce = KA), (0, fn[Ee[He++] >> 8 & 15])(mA, fA + +xe, aA, SA + xe - KA, Ce - xe, aA, SA + xe), xe = Ce;
|
|
@@ -12370,9 +12370,9 @@ function cg(t) {
|
|
|
12370
12370
|
break;
|
|
12371
12371
|
case 1:
|
|
12372
12372
|
for (TA = mA, nA = fA, KA = (mA = O.Ea) - (SA = mA & ~(aA = (fA = 1 << O.b) - 1)), FA = lA(mA, O.b), kA = O.K, O = O.w + (rA >> O.b) * FA; rA < pA; ) {
|
|
12373
|
-
for ($A = kA, XA = O,
|
|
12374
|
-
UA($A[XA++],
|
|
12375
|
-
nA < Ee && (UA($A[XA++],
|
|
12373
|
+
for ($A = kA, XA = O, le = new eA(), VA = nA + SA, Ee = nA + mA; nA < VA; )
|
|
12374
|
+
UA($A[XA++], le), zn(le, TA, nA, fA, H, D), nA += fA, D += fA;
|
|
12375
|
+
nA < Ee && (UA($A[XA++], le), zn(le, TA, nA, KA, H, D), nA += KA, D += KA), ++rA & aA || (O += FA);
|
|
12376
12376
|
}
|
|
12377
12377
|
break;
|
|
12378
12378
|
case 3:
|
|
@@ -12493,8 +12493,8 @@ function cg(t) {
|
|
|
12493
12493
|
if (H & aA || (SA = Ge(rA, H, D)), A(SA != null), SA.Qb && (l[pA] = SA.qb, KA = !0), !KA)
|
|
12494
12494
|
if (z(O), SA.jc) {
|
|
12495
12495
|
kA = O, $A = l;
|
|
12496
|
-
var XA = pA,
|
|
12497
|
-
A(SA.jc), 256 >
|
|
12496
|
+
var XA = pA, le = SA.pd[M(kA) & Ft - 1];
|
|
12497
|
+
A(SA.jc), 256 > le.g ? (N(kA, kA.u + le.g), $A[XA] = le.value, kA = 0) : (N(kA, kA.u + le.g - 256), A(256 <= le.value), kA = le.value), kA == 0 && (KA = !0);
|
|
12498
12498
|
} else
|
|
12499
12499
|
kA = ht(SA.G[0], SA.H[0], O);
|
|
12500
12500
|
if (O.h)
|
|
@@ -12570,12 +12570,12 @@ function cg(t) {
|
|
|
12570
12570
|
case 3:
|
|
12571
12571
|
var KA, kA = oA(nA, 8) + 1, $A = 16 < kA ? 0 : 4 < kA ? 1 : 2 < kA ? 2 : 3;
|
|
12572
12572
|
if (mA[0] = lA(aA.Ea, $A), aA.b = $A, KA = FA = Tr(kA, 1, 0, TA, aA.K)) {
|
|
12573
|
-
var XA,
|
|
12573
|
+
var XA, le = kA, VA = aA, Ee = 1 << (8 >> VA.b), He = i(Ee);
|
|
12574
12574
|
if (He == null)
|
|
12575
12575
|
KA = 0;
|
|
12576
12576
|
else {
|
|
12577
12577
|
var xe = VA.K[0], Ce = VA.w;
|
|
12578
|
-
for (He[0] = VA.K[0][0], XA = 1; XA < 1 *
|
|
12578
|
+
for (He[0] = VA.K[0][0], XA = 1; XA < 1 * le; ++XA)
|
|
12579
12579
|
He[XA] = wA(xe[Ce + XA], He[XA - 1]);
|
|
12580
12580
|
for (; XA < 4 * Ee; ++XA)
|
|
12581
12581
|
He[XA] = 0;
|
|
@@ -12986,21 +12986,21 @@ function cg(t) {
|
|
|
12986
12986
|
for (fA.M = 0; fA.M < fA.Va; ++fA.M) {
|
|
12987
12987
|
var FA, nA = fA.Jc[fA.M & fA.Xb], aA = fA.m, SA = fA;
|
|
12988
12988
|
for (FA = 0; FA < SA.za; ++FA) {
|
|
12989
|
-
var KA = aA, kA = SA, $A = kA.Ac, XA = kA.Bc + 4 * FA,
|
|
12989
|
+
var KA = aA, kA = SA, $A = kA.Ac, XA = kA.Bc + 4 * FA, le = kA.zc, VA = kA.ya[kA.aa + FA];
|
|
12990
12990
|
if (kA.Qa.Bb ? VA.$b = gA(KA, kA.Pa.jb[0]) ? 2 + gA(KA, kA.Pa.jb[2]) : gA(KA, kA.Pa.jb[1]) : VA.$b = 0, kA.kc && (VA.Ad = gA(KA, kA.Bd)), VA.Za = !gA(KA, 145) + 0, VA.Za) {
|
|
12991
12991
|
var Ee = VA.Ob, He = 0;
|
|
12992
12992
|
for (kA = 0; 4 > kA; ++kA) {
|
|
12993
|
-
var xe, Ce =
|
|
12993
|
+
var xe, Ce = le[0 + kA];
|
|
12994
12994
|
for (xe = 0; 4 > xe; ++xe) {
|
|
12995
12995
|
Ce = Vf[$A[XA + xe]][Ce];
|
|
12996
12996
|
for (var Ke = yh[gA(KA, Ce[0])]; 0 < Ke; )
|
|
12997
12997
|
Ke = yh[2 * Ke + gA(KA, Ce[Ke])];
|
|
12998
12998
|
Ce = -Ke, $A[XA + xe] = Ce;
|
|
12999
12999
|
}
|
|
13000
|
-
r(Ee, He, $A, XA, 4), He += 4,
|
|
13000
|
+
r(Ee, He, $A, XA, 4), He += 4, le[0 + kA] = Ce;
|
|
13001
13001
|
}
|
|
13002
13002
|
} else
|
|
13003
|
-
Ce = gA(KA, 156) ? gA(KA, 128) ? 1 : 3 : gA(KA, 163) ? 2 : 0, VA.Ob[0] = Ce, n($A, XA, Ce, 4), n(
|
|
13003
|
+
Ce = gA(KA, 156) ? gA(KA, 128) ? 1 : 3 : gA(KA, 163) ? 2 : 0, VA.Ob[0] = Ce, n($A, XA, Ce, 4), n(le, 0, Ce, 4);
|
|
13004
13004
|
VA.Dd = gA(KA, 142) ? gA(KA, 114) ? gA(KA, 183) ? 1 : 3 : 2 : 0;
|
|
13005
13005
|
}
|
|
13006
13006
|
if (SA.m.Ka)
|
|
@@ -13010,7 +13010,7 @@ function cg(t) {
|
|
|
13010
13010
|
KA.la = $A.la = 0, FA.Za || (KA.Na = $A.Na = 0), FA.Hc = 0, FA.Gc = 0, FA.ia = 0;
|
|
13011
13011
|
else {
|
|
13012
13012
|
var Pe, pe;
|
|
13013
|
-
if (KA = $A, $A = SA, XA = aA.Pa.Xc,
|
|
13013
|
+
if (KA = $A, $A = SA, XA = aA.Pa.Xc, le = aA.ya[aA.aa + aA.ja], VA = aA.pb[le.$b], kA = le.ad, Ee = 0, He = aA.rb[aA.sb - 1], Ce = xe = 0, n(kA, Ee, 0, 384), le.Za)
|
|
13014
13014
|
var gt = 0, Jt = XA[3];
|
|
13015
13015
|
else {
|
|
13016
13016
|
Ke = i(16);
|
|
@@ -13039,14 +13039,14 @@ function cg(t) {
|
|
|
13039
13039
|
}
|
|
13040
13040
|
Ce |= pe << 4 * Pe, Jt |= Ne << 4 << Pe, gt |= (240 & nr) << Pe;
|
|
13041
13041
|
}
|
|
13042
|
-
KA.la = Jt, He.la = gt,
|
|
13042
|
+
KA.la = Jt, He.la = gt, le.Hc = xe, le.Gc = Ce, le.ia = 43690 & Ce ? 0 : VA.ia, XA = !(xe | Ce);
|
|
13043
13043
|
}
|
|
13044
13044
|
if (0 < aA.L && (aA.wa[aA.Y + aA.ja] = aA.gd[FA.$b][FA.Za], aA.wa[aA.Y + aA.ja].La |= !XA), SA.Ka)
|
|
13045
13045
|
return rt(fA, 7, "Premature end-of-file encountered.");
|
|
13046
13046
|
}
|
|
13047
13047
|
if (is(fA), aA = TA, SA = 1, FA = (nA = fA).D, KA = 0 < nA.L && nA.M >= nA.zb && nA.M <= nA.Va, nA.Aa == 0)
|
|
13048
13048
|
A: {
|
|
13049
|
-
if (FA.M = nA.M, FA.uc = KA, ms(nA, FA), SA = 1, FA = (pe = nA.D).Nb, KA = (Ce = Ra[nA.L]) * nA.R, $A = Ce / 2 * nA.B, Ke = 16 * FA * nA.R, Zt = 8 * FA * nA.B, XA = nA.sa,
|
|
13049
|
+
if (FA.M = nA.M, FA.uc = KA, ms(nA, FA), SA = 1, FA = (pe = nA.D).Nb, KA = (Ce = Ra[nA.L]) * nA.R, $A = Ce / 2 * nA.B, Ke = 16 * FA * nA.R, Zt = 8 * FA * nA.B, XA = nA.sa, le = nA.ta - KA + Ke, VA = nA.qa, kA = nA.ra - $A + Zt, Ee = nA.Ha, He = nA.Ia - $A + Zt, nr = (Ne = pe.M) == 0, xe = Ne >= nA.Va - 1, nA.Aa == 2 && ms(nA, pe), pe.uc)
|
|
13050
13050
|
for (ir = (ft = nA).D.M, A(ft.D.uc), pe = ft.yb; pe < ft.Hb; ++pe) {
|
|
13051
13051
|
gt = pe, Jt = ir;
|
|
13052
13052
|
var vt = (It = ($e = ft).D).Nb;
|
|
@@ -13061,13 +13061,13 @@ function cg(t) {
|
|
|
13061
13061
|
}
|
|
13062
13062
|
}
|
|
13063
13063
|
if (nA.ia && alert("todo:DitherRow"), aA.put != null) {
|
|
13064
|
-
if (pe = 16 * Ne, Ne = 16 * (Ne + 1), nr ? (aA.y = nA.sa, aA.O = nA.ta + Ke, aA.f = nA.qa, aA.N = nA.ra + Zt, aA.ea = nA.Ha, aA.W = nA.Ia + Zt) : (pe -= Ce, aA.y = XA, aA.O =
|
|
13064
|
+
if (pe = 16 * Ne, Ne = 16 * (Ne + 1), nr ? (aA.y = nA.sa, aA.O = nA.ta + Ke, aA.f = nA.qa, aA.N = nA.ra + Zt, aA.ea = nA.Ha, aA.W = nA.Ia + Zt) : (pe -= Ce, aA.y = XA, aA.O = le, aA.f = VA, aA.N = kA, aA.ea = Ee, aA.W = He), xe || (Ne -= Ce), Ne > aA.o && (Ne = aA.o), aA.F = null, aA.J = null, nA.Fa != null && 0 < nA.Fa.length && pe < Ne && (aA.J = Bs(nA, aA, pe, Ne - pe), aA.F = nA.mb, aA.F == null && aA.F.length == 0)) {
|
|
13065
13065
|
SA = rt(nA, 3, "Could not decode alpha data.");
|
|
13066
13066
|
break A;
|
|
13067
13067
|
}
|
|
13068
13068
|
pe < aA.j && (Ce = aA.j - pe, pe = aA.j, A(!(1 & Ce)), aA.O += nA.R * Ce, aA.N += nA.B * (Ce >> 1), aA.W += nA.B * (Ce >> 1), aA.F != null && (aA.J += aA.width * Ce)), pe < Ne && (aA.O += aA.v, aA.N += aA.v >> 1, aA.W += aA.v >> 1, aA.F != null && (aA.J += aA.v), aA.ka = pe - aA.j, aA.U = aA.va - aA.v, aA.T = Ne - pe, SA = aA.put(aA));
|
|
13069
13069
|
}
|
|
13070
|
-
FA + 1 != nA.Ic || xe || (r(nA.sa, nA.ta - KA, XA,
|
|
13070
|
+
FA + 1 != nA.Ic || xe || (r(nA.sa, nA.ta - KA, XA, le + 16 * nA.R, KA), r(nA.qa, nA.ra - $A, VA, kA + 8 * nA.B, $A), r(nA.Ha, nA.Ia - $A, Ee, He + 8 * nA.B, $A));
|
|
13071
13071
|
}
|
|
13072
13072
|
if (!SA)
|
|
13073
13073
|
return rt(fA, 6, "Output aborted.");
|
|
@@ -13522,14 +13522,14 @@ function cg(t) {
|
|
|
13522
13522
|
}
|
|
13523
13523
|
function xA(s, l, g) {
|
|
13524
13524
|
T[s] = function(p, C, x, E, D, H, O, rA, pA, mA, fA, TA, FA, nA, aA, SA, KA) {
|
|
13525
|
-
var kA, $A = KA - 1 >> 1, XA = D[H + 0] | O[rA + 0] << 16,
|
|
13525
|
+
var kA, $A = KA - 1 >> 1, XA = D[H + 0] | O[rA + 0] << 16, le = pA[mA + 0] | fA[TA + 0] << 16;
|
|
13526
13526
|
A(p != null);
|
|
13527
|
-
var VA = 3 * XA +
|
|
13528
|
-
for (l(p[C + 0], 255 & VA, VA >> 16, FA, nA), x != null && (VA = 3 *
|
|
13529
|
-
var Ee = D[H + kA] | O[rA + kA] << 16, He = pA[mA + kA] | fA[TA + kA] << 16, xe = XA + Ee +
|
|
13530
|
-
VA = Ce + XA >> 1, XA = (xe = xe + 2 * (XA + He) >> 3) + Ee >> 1, l(p[C + 2 * kA - 1], 255 & VA, VA >> 16, FA, nA + (2 * kA - 1) * g), l(p[C + 2 * kA - 0], 255 & XA, XA >> 16, FA, nA + (2 * kA - 0) * g), x != null && (VA = xe +
|
|
13527
|
+
var VA = 3 * XA + le + 131074 >> 2;
|
|
13528
|
+
for (l(p[C + 0], 255 & VA, VA >> 16, FA, nA), x != null && (VA = 3 * le + XA + 131074 >> 2, l(x[E + 0], 255 & VA, VA >> 16, aA, SA)), kA = 1; kA <= $A; ++kA) {
|
|
13529
|
+
var Ee = D[H + kA] | O[rA + kA] << 16, He = pA[mA + kA] | fA[TA + kA] << 16, xe = XA + Ee + le + He + 524296, Ce = xe + 2 * (Ee + le) >> 3;
|
|
13530
|
+
VA = Ce + XA >> 1, XA = (xe = xe + 2 * (XA + He) >> 3) + Ee >> 1, l(p[C + 2 * kA - 1], 255 & VA, VA >> 16, FA, nA + (2 * kA - 1) * g), l(p[C + 2 * kA - 0], 255 & XA, XA >> 16, FA, nA + (2 * kA - 0) * g), x != null && (VA = xe + le >> 1, XA = Ce + He >> 1, l(x[E + 2 * kA - 1], 255 & VA, VA >> 16, aA, SA + (2 * kA - 1) * g), l(x[E + 2 * kA + 0], 255 & XA, XA >> 16, aA, SA + (2 * kA + 0) * g)), XA = Ee, le = He;
|
|
13531
13531
|
}
|
|
13532
|
-
1 & KA || (VA = 3 * XA +
|
|
13532
|
+
1 & KA || (VA = 3 * XA + le + 131074 >> 2, l(p[C + KA - 1], 255 & VA, VA >> 16, FA, nA + (KA - 1) * g), x != null && (VA = 3 * le + XA + 131074 >> 2, l(x[E + KA - 1], 255 & VA, VA >> 16, aA, SA + (KA - 1) * g)));
|
|
13533
13533
|
};
|
|
13534
13534
|
}
|
|
13535
13535
|
function GA() {
|
|
@@ -13669,12 +13669,12 @@ function cg(t) {
|
|
|
13669
13669
|
nA = 7;
|
|
13670
13670
|
break A;
|
|
13671
13671
|
}
|
|
13672
|
-
var XA = DA(SA, FA[0] + 8),
|
|
13673
|
-
if (2147483648 <=
|
|
13672
|
+
var XA = DA(SA, FA[0] + 8), le = 1 + LA(SA, FA[0] + 12);
|
|
13673
|
+
if (2147483648 <= le * (SA = 1 + LA(SA, FA[0] + 15))) {
|
|
13674
13674
|
nA = 3;
|
|
13675
13675
|
break A;
|
|
13676
13676
|
}
|
|
13677
|
-
$A != null && ($A[0] = XA), KA != null && (KA[0] =
|
|
13677
|
+
$A != null && ($A[0] = XA), KA != null && (KA[0] = le), kA != null && (kA[0] = SA), FA[0] += 18, nA[0] -= 18, VA[0] = 1;
|
|
13678
13678
|
}
|
|
13679
13679
|
nA = 0;
|
|
13680
13680
|
}
|
|
@@ -13696,7 +13696,7 @@ function cg(t) {
|
|
|
13696
13696
|
A: {
|
|
13697
13697
|
XA = s, nA = l, aA = g;
|
|
13698
13698
|
var VA = fA.gb;
|
|
13699
|
-
KA = fA.na, kA = fA.P, $A = fA.Sa,
|
|
13699
|
+
KA = fA.na, kA = fA.P, $A = fA.Sa, le = 22, A(XA != null), A(aA != null), SA = nA[0];
|
|
13700
13700
|
var Ee = aA[0];
|
|
13701
13701
|
for (A(KA != null), A($A != null), KA[0] = null, kA[0] = null, $A[0] = 0; ; ) {
|
|
13702
13702
|
if (nA[0] = SA, aA[0] = Ee, 8 > Ee) {
|
|
@@ -13709,7 +13709,7 @@ function cg(t) {
|
|
|
13709
13709
|
break A;
|
|
13710
13710
|
}
|
|
13711
13711
|
var xe = 8 + He + 1 & -2;
|
|
13712
|
-
if (
|
|
13712
|
+
if (le += xe, 0 < VA && le > VA) {
|
|
13713
13713
|
nA = 3;
|
|
13714
13714
|
break A;
|
|
13715
13715
|
}
|
|
@@ -13729,10 +13729,10 @@ function cg(t) {
|
|
|
13729
13729
|
}
|
|
13730
13730
|
g = [g], fA.Ja = [fA.Ja], fA.xa = [fA.xa];
|
|
13731
13731
|
A:
|
|
13732
|
-
if (VA = s, nA = l, aA = g, KA = fA.gb[0], kA = fA.Ja, $A = fA.xa, XA = nA[0], SA = !e(VA, XA, "VP8 "),
|
|
13732
|
+
if (VA = s, nA = l, aA = g, KA = fA.gb[0], kA = fA.Ja, $A = fA.xa, XA = nA[0], SA = !e(VA, XA, "VP8 "), le = !e(VA, XA, "VP8L"), A(VA != null), A(aA != null), A(kA != null), A($A != null), 8 > aA[0])
|
|
13733
13733
|
nA = 7;
|
|
13734
13734
|
else {
|
|
13735
|
-
if (SA ||
|
|
13735
|
+
if (SA || le) {
|
|
13736
13736
|
if (VA = DA(VA, XA + 4), 12 <= KA && VA > KA - 12) {
|
|
13737
13737
|
nA = 3;
|
|
13738
13738
|
break A;
|
|
@@ -13741,7 +13741,7 @@ function cg(t) {
|
|
|
13741
13741
|
nA = 7;
|
|
13742
13742
|
break A;
|
|
13743
13743
|
}
|
|
13744
|
-
kA[0] = VA, nA[0] += 8, aA[0] -= 8, $A[0] =
|
|
13744
|
+
kA[0] = VA, nA[0] += 8, aA[0] -= 8, $A[0] = le;
|
|
13745
13745
|
} else
|
|
13746
13746
|
$A[0] = 5 <= aA[0] && VA[XA + 0] == 47 && !(VA[XA + 4] >> 5), kA[0] = aA[0];
|
|
13747
13747
|
nA = 0;
|
|
@@ -14463,7 +14463,7 @@ function(t) {
|
|
|
14463
14463
|
*/
|
|
14464
14464
|
function(t) {
|
|
14465
14465
|
function A() {
|
|
14466
|
-
return (ue.canvg ? Promise.resolve(ue.canvg) : import("./index.es-
|
|
14466
|
+
return (ue.canvg ? Promise.resolve(ue.canvg) : import("./index.es-1963f9ba.js")).catch(function(e) {
|
|
14467
14467
|
return Promise.reject(new Error("Could not load canvg: " + e));
|
|
14468
14468
|
}).then(function(e) {
|
|
14469
14469
|
return e.default ? e.default : e;
|
|
@@ -15435,7 +15435,7 @@ const gm = {
|
|
|
15435
15435
|
computeHourLT() {
|
|
15436
15436
|
return function(t) {
|
|
15437
15437
|
if (t) {
|
|
15438
|
-
const A =
|
|
15438
|
+
const A = ce(t).tz(this.positionGmt);
|
|
15439
15439
|
return `${A == null ? void 0 : A.format("HH")}`;
|
|
15440
15440
|
}
|
|
15441
15441
|
return "-";
|
|
@@ -15453,7 +15453,7 @@ const gm = {
|
|
|
15453
15453
|
computeWeekLT() {
|
|
15454
15454
|
return function(t) {
|
|
15455
15455
|
if (t) {
|
|
15456
|
-
const A =
|
|
15456
|
+
const A = ce(t).tz(this.positionGmt);
|
|
15457
15457
|
return `${A == null ? void 0 : A.format("dddd")}`;
|
|
15458
15458
|
}
|
|
15459
15459
|
return "-";
|
|
@@ -15462,7 +15462,7 @@ const gm = {
|
|
|
15462
15462
|
computeMMMDDLT() {
|
|
15463
15463
|
return function(t) {
|
|
15464
15464
|
if (t) {
|
|
15465
|
-
const A =
|
|
15465
|
+
const A = ce(t).tz(this.positionGmt);
|
|
15466
15466
|
return `${A == null ? void 0 : A.format("MMM-DD")}`;
|
|
15467
15467
|
}
|
|
15468
15468
|
return "-";
|
|
@@ -15471,7 +15471,7 @@ const gm = {
|
|
|
15471
15471
|
computeMMMDDHHmmLT() {
|
|
15472
15472
|
return function(t) {
|
|
15473
15473
|
if (t) {
|
|
15474
|
-
const A =
|
|
15474
|
+
const A = ce(t).tz(this.positionGmt);
|
|
15475
15475
|
return `${A == null ? void 0 : A.format("MMM-DD/HHmm")}`;
|
|
15476
15476
|
}
|
|
15477
15477
|
return "-";
|
|
@@ -15480,7 +15480,7 @@ const gm = {
|
|
|
15480
15480
|
computeMMMDDyyyyLT() {
|
|
15481
15481
|
return function(t) {
|
|
15482
15482
|
if (t) {
|
|
15483
|
-
const A =
|
|
15483
|
+
const A = ce(t).tz(this.positionGmt);
|
|
15484
15484
|
return `${A == null ? void 0 : A.format("MMM-DD, yyyy")}`;
|
|
15485
15485
|
}
|
|
15486
15486
|
return "-";
|
|
@@ -15663,7 +15663,7 @@ const gm = {
|
|
|
15663
15663
|
if (this.meteoData = void 0, !this.token)
|
|
15664
15664
|
return !1;
|
|
15665
15665
|
this.loading.meteogramEchart = !0, this.loading.hourlyTable = !0;
|
|
15666
|
-
const { weatherModels: A, marineModels: e } = or.autoPickMeteoModel(this.forecastModel), r =
|
|
15666
|
+
const { weatherModels: A, marineModels: e } = or.autoPickMeteoModel(this.forecastModel), r = ce(this.dateRangeZ[0] || this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0 }).format(), n = {
|
|
15667
15667
|
lat: this.position.lat,
|
|
15668
15668
|
lng: this.position.lng,
|
|
15669
15669
|
datetime: r,
|
|
@@ -15686,20 +15686,20 @@ const gm = {
|
|
|
15686
15686
|
this.menuIndex === 2 ? (await this.fetchForecastMeteo(7), this.initInfo(), this.initWeatherEchart(), this.handleMeteogramData7(this.meteoData), this.initHoursTableData()) : this.menuIndex === 3 ? (await this.fetchForecastMeteo(14), this.handleMeteogramData14(this.meteoData), this.initDaysTableData(), this.initHourlyTableData(this.meteoData)) : this.menuIndex === 4 && (await this.fetchSeasonalData(), this.initSeasonalEchart());
|
|
15687
15687
|
},
|
|
15688
15688
|
initInfo() {
|
|
15689
|
-
this.activeIndex =
|
|
15689
|
+
this.activeIndex = ce(this.etime).tz(this.positionGmt).hour(), this.pickedDate = ce(this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
15690
15690
|
},
|
|
15691
15691
|
initDatePickerInfo() {
|
|
15692
15692
|
if (!this.dateRangeZ[0] || !this.dateRange[1]) {
|
|
15693
15693
|
this.dateRangeZ = [te(this.etime).add(-7, "day").utc().format(), te(this.etime).add(-1, "day").utc().format()];
|
|
15694
15694
|
const t = [
|
|
15695
|
-
|
|
15696
|
-
|
|
15695
|
+
ce(this.dateRangeZ[0]).tz(this.positionGmt).format("yyyy-MM-DD"),
|
|
15696
|
+
ce(this.dateRangeZ[1]).tz(this.positionGmt).format("yyyy-MM-DD")
|
|
15697
15697
|
];
|
|
15698
15698
|
this.dateRange = [te(t[0]).format(), te(t[1]).format()];
|
|
15699
15699
|
} else {
|
|
15700
15700
|
const t = [
|
|
15701
|
-
|
|
15702
|
-
|
|
15701
|
+
ce(this.dateRangeZ[0]).tz(this.positionGmt).format("yyyy-MM-DD"),
|
|
15702
|
+
ce(this.dateRangeZ[1]).tz(this.positionGmt).format("yyyy-MM-DD")
|
|
15703
15703
|
];
|
|
15704
15704
|
this.dateRange = [te(t[0]).format(), te(t[1]).format()];
|
|
15705
15705
|
}
|
|
@@ -15745,7 +15745,7 @@ const gm = {
|
|
|
15745
15745
|
this.loading.weatherEchart = !1;
|
|
15746
15746
|
for (let q = 0; q < 7; q++) {
|
|
15747
15747
|
const V = te(this.pickedDate).clone().add(q, "d").format();
|
|
15748
|
-
t.push(
|
|
15748
|
+
t.push(ce(V).tz(this.positionGmt).format("yyyy-MM-DD")), A.push(this.computeMMMDDLT(V)), e.push(q === 0 ? "Today" : this.computeWeekLT(V));
|
|
15749
15749
|
const tA = ((_ = or.pickDaily(this.meteoData, V)) == null ? void 0 : _[0]) || {};
|
|
15750
15750
|
if (r.push(this.roundPrecision(((J = (W = tA.weather) == null ? void 0 : W.temp) == null ? void 0 : J.min) - 5, 0)), n.push(this.roundPrecision((X = (Z = tA.weather) == null ? void 0 : Z.temp) == null ? void 0 : X.max, 0)), o.push(this.roundPrecision((Y = (T = tA.weather) == null ? void 0 : T.wind) == null ? void 0 : Y.kts, 1) ?? "- kts"), u.push(this.roundPrecision((U = (cA = tA.weather) == null ? void 0 : cA.precip) == null ? void 0 : U.sum, 1) ?? "- mm"), (F = tA.weather) != null && F.url) {
|
|
15751
15751
|
const N = await this.convertSvgUrlToBase64((K = tA.weather) == null ? void 0 : K.url);
|
|
@@ -16076,7 +16076,7 @@ const gm = {
|
|
|
16076
16076
|
return !1;
|
|
16077
16077
|
q.setOption(L), q.on("click", (V) => {
|
|
16078
16078
|
const tA = V.dataIndex, oA = t[tA].split("-");
|
|
16079
|
-
this.pickedDate =
|
|
16079
|
+
this.pickedDate = ce().tz(this.positionGmt).set({ year: oA[0], month: Number(oA[1] - 1), date: Number(oA[2]), hour: 0, minute: 0, second: 0, millisecond: 0 }).format(), this.pickedWeek = tA === 0 ? "Today" : this.computeWeekLT(this.pickedDate), this.activeIndex = tA === 0 ? ce(this.etime).tz(this.positionGmt).hour() : void 0, this.initHoursTableData(), L.series[3].markArea = {
|
|
16080
16080
|
itemStyle: {
|
|
16081
16081
|
color: "rgba(64,159,255,0.25)"
|
|
16082
16082
|
},
|
|
@@ -16128,12 +16128,12 @@ const gm = {
|
|
|
16128
16128
|
n.src = r, n.onload = async () => {
|
|
16129
16129
|
var a, o, c, u, d, w, B, f, m, Q, S, v, L, _, W, J, Z, X, T, Y, cA, U, F, K, k, iA, AA, q, V, tA, oA, CA, b, M, P, N, z, sA, uA, gA, yA, bA, LA, DA, jA, dA, R, zA, lA, wA, MA, eA, HA, qA, PA, WA, ee, j, UA;
|
|
16130
16130
|
this.loading.meteogramEchart = !1;
|
|
16131
|
-
const i =
|
|
16131
|
+
const i = ce(this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
16132
16132
|
for (let vA = 0; vA < 7 * 24; vA++) {
|
|
16133
16133
|
const RA = te(i).clone().add(vA, "h").format();
|
|
16134
16134
|
(a = this.meteogramData) == null || a.dates.push(RA);
|
|
16135
16135
|
const QA = ((o = or.pickHourly(t, RA)) == null ? void 0 : o[0]) || {};
|
|
16136
|
-
if (vA % 12 === 0 && vA % 24 !== 0 ? (c = this.meteogramData) == null || c.xDates.push(
|
|
16136
|
+
if (vA % 12 === 0 && vA % 24 !== 0 ? (c = this.meteogramData) == null || c.xDates.push(ce(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(""), (f = this.meteogramData) == null || f.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((m = QA == null ? void 0 : QA.weather) == null ? void 0 : m.temp, 0)), (L = this.meteogramData) == null || L.precip.push(this.roundPrecision((v = (S = QA == null ? void 0 : QA.weather) == null ? void 0 : S.precip) == null ? void 0 : v.sum, 1)), (W = this.meteogramData) == null || W.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((T = (X = QA.weather) == null ? void 0 : X.wind) == null ? void 0 : T.kts, 1)), (F = this.meteogramData) == null || F.windGusts.push(this.roundPrecision((U = (cA = QA == null ? void 0 : QA.weather) == null ? void 0 : cA.wind) == null ? void 0 : U.gusts, 1)), (iA = this.meteogramData) == null || iA.sigWaveHeight.push(this.roundPrecision((k = (K = QA == null ? void 0 : QA.wave) == null ? void 0 : K.sig) == null ? void 0 : k.height)), (V = this.meteogramData) == null || V.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) {
|
|
16137
16137
|
if ((tA = QA.weather) != null && tA.url) {
|
|
16138
16138
|
const hA = await this.convertSvgUrlToBase64((oA = QA.weather) == null ? void 0 : oA.url);
|
|
16139
16139
|
(CA = this.meteogramData) == null || CA.weatherIcons.push({ symbol: "image://" + hA, symbolSize: 30 });
|
|
@@ -16199,12 +16199,12 @@ const gm = {
|
|
|
16199
16199
|
o.src = a, o.onload = async () => {
|
|
16200
16200
|
var u, d, w, B, f, m, Q, S, v, L, _, W, J, Z, X, T, Y, cA, U, F, K, k, iA, AA, q, V, tA, oA, CA, b, M, P, N, z, sA, uA, gA, yA, bA, LA, DA, jA, dA, R, zA, lA, wA, MA, eA, HA, qA, PA, WA, ee, j, UA, vA, RA, QA, hA;
|
|
16201
16201
|
this.loading.meteogramEchart = !1;
|
|
16202
|
-
const c =
|
|
16202
|
+
const c = ce(n).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
16203
16203
|
for (let NA = 0; NA < r * 24; NA++) {
|
|
16204
16204
|
const ne = te(c).clone().add(NA, "h").format();
|
|
16205
16205
|
(u = this.meteogramData) == null || u.dates.push(ne);
|
|
16206
16206
|
const YA = ((d = or.pickHourly(t, ne)) == null ? void 0 : d[0]) || {};
|
|
16207
|
-
if ((B = this.meteogramData) == null || B.temperaturesY.push(this.roundPrecision((w = YA == null ? void 0 : YA.weather) == null ? void 0 : w.temp, 0)), (m = this.meteogramData) == null || m.visibilityY.push(this.roundPrecision((f = YA == null ? void 0 : YA.weather) == null ? void 0 : f.visibility, 1)), (v = this.meteogramData) == null || v.windspeed.push(this.roundPrecision((S = (Q = YA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.kts, 1)), (W = this.meteogramData) == null || W.windGusts.push(this.roundPrecision((_ = (L = YA == null ? void 0 : YA.weather) == null ? void 0 : L.wind) == null ? void 0 : _.gusts, 1)), (X = this.meteogramData) == null || X.sigWaveHeight.push(this.roundPrecision((Z = (J = YA == null ? void 0 : YA.wave) == null ? void 0 : J.sig) == null ? void 0 : Z.height)), (cA = this.meteogramData) == null || cA.swellHeight.push(this.roundPrecision((Y = (T = YA == null ? void 0 : YA.wave) == null ? void 0 : T.swell) == null ? void 0 : Y.height)), NA % 3 === 0 ? ((K = this.meteogramData) == null || K.precip.push(this.roundPrecision((F = (U = YA == null ? void 0 : YA.weather) == null ? void 0 : U.precip) == null ? void 0 : F.sum3Hours, 1)), (iA = this.meteogramData) == null || iA.temperaturesX.push([ne, this.roundPrecision((k = YA == null ? void 0 : YA.weather) == null ? void 0 : k.temp, 0)]), (q = this.meteogramData) == null || q.visibilityX.push([ne, this.roundPrecision((AA = YA == null ? void 0 : YA.weather) == null ? void 0 : AA.visibility, 1)])) : (V = this.meteogramData) == null || V.precip.push(null), NA % 12 === 0 && NA % 24 !== 0 ? (tA = this.meteogramData) == null || tA.xDates.push(
|
|
16207
|
+
if ((B = this.meteogramData) == null || B.temperaturesY.push(this.roundPrecision((w = YA == null ? void 0 : YA.weather) == null ? void 0 : w.temp, 0)), (m = this.meteogramData) == null || m.visibilityY.push(this.roundPrecision((f = YA == null ? void 0 : YA.weather) == null ? void 0 : f.visibility, 1)), (v = this.meteogramData) == null || v.windspeed.push(this.roundPrecision((S = (Q = YA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.kts, 1)), (W = this.meteogramData) == null || W.windGusts.push(this.roundPrecision((_ = (L = YA == null ? void 0 : YA.weather) == null ? void 0 : L.wind) == null ? void 0 : _.gusts, 1)), (X = this.meteogramData) == null || X.sigWaveHeight.push(this.roundPrecision((Z = (J = YA == null ? void 0 : YA.wave) == null ? void 0 : J.sig) == null ? void 0 : Z.height)), (cA = this.meteogramData) == null || cA.swellHeight.push(this.roundPrecision((Y = (T = YA == null ? void 0 : YA.wave) == null ? void 0 : T.swell) == null ? void 0 : Y.height)), NA % 3 === 0 ? ((K = this.meteogramData) == null || K.precip.push(this.roundPrecision((F = (U = YA == null ? void 0 : YA.weather) == null ? void 0 : U.precip) == null ? void 0 : F.sum3Hours, 1)), (iA = this.meteogramData) == null || iA.temperaturesX.push([ne, this.roundPrecision((k = YA == null ? void 0 : YA.weather) == null ? void 0 : k.temp, 0)]), (q = this.meteogramData) == null || q.visibilityX.push([ne, this.roundPrecision((AA = YA == null ? void 0 : YA.weather) == null ? void 0 : AA.visibility, 1)])) : (V = this.meteogramData) == null || V.precip.push(null), NA % 12 === 0 && NA % 24 !== 0 ? (tA = this.meteogramData) == null || tA.xDates.push(ce(ne).tz(this.positionGmt).format("MMM-DD")) : (oA = this.meteogramData) == null || oA.xDates.push(""), NA % 6 === 0 ? (CA = this.meteogramData) == null || CA.hours.push(this.computeHourLT(ne)) : (b = this.meteogramData) == null || b.hours.push(""), NA % 12 === 0) {
|
|
16208
16208
|
if ((M = YA.weather) != null && M.url) {
|
|
16209
16209
|
const ae = await this.convertSvgUrlToBase64((P = YA.weather) == null ? void 0 : P.url);
|
|
16210
16210
|
(N = this.meteogramData) == null || N.weatherIcons.push({ symbol: "image://" + ae, symbolSize: 30 });
|
|
@@ -16407,7 +16407,7 @@ const gm = {
|
|
|
16407
16407
|
return !1;
|
|
16408
16408
|
{
|
|
16409
16409
|
let Ue = "";
|
|
16410
|
-
return this.menuIndex === 2 ? (((YA = hA[1]) == null ? void 0 : YA.value) < 2 ? Ue = "rgba(172, 210, 255, 1)" : ((ae = hA[1]) == null ? void 0 : ae.value) <= 3.9 ? Ue = "rgba(3, 248, 103, 1)" : ((Qe = hA[1]) == null ? void 0 : Qe.value) <= 7.9 ? Ue = "rgba(190, 226, 2, 18)" : ((ge = hA[1]) == null ? void 0 : ge.value) <= 19.9 ? Ue = "rgba(248, 1, 1, 1)" : ((et = hA[1]) == null ? void 0 : et.value) >= 20 ? Ue = "rgba(197, 5, 58, 1)" : Ue = "rgba(172, 210, 255, 1)", `<div style="font-size: 13px;"><strong>${
|
|
16410
|
+
return this.menuIndex === 2 ? (((YA = hA[1]) == null ? void 0 : YA.value) < 2 ? Ue = "rgba(172, 210, 255, 1)" : ((ae = hA[1]) == null ? void 0 : ae.value) <= 3.9 ? Ue = "rgba(3, 248, 103, 1)" : ((Qe = hA[1]) == null ? void 0 : Qe.value) <= 7.9 ? Ue = "rgba(190, 226, 2, 18)" : ((ge = hA[1]) == null ? void 0 : ge.value) <= 19.9 ? Ue = "rgba(248, 1, 1, 1)" : ((et = hA[1]) == null ? void 0 : et.value) >= 20 ? Ue = "rgba(197, 5, 58, 1)" : Ue = "rgba(172, 210, 255, 1)", `<div style="font-size: 13px;"><strong>${ce((me = this.meteogramData) == null ? void 0 : me.dates[NA]).tz(this.positionGmt).format("MMM-DD/HHmm[LT]")}</strong></div>
|
|
16411
16411
|
<div style="display: ${(We = this.meteogramData) != null && We.weatherNames[NA] ? "block" : "none"}; font-size: 13px;">
|
|
16412
16412
|
<span>Weather : </span><strong>${(tt = this.meteogramData) == null ? void 0 : tt.weatherNames[NA]}</strong>
|
|
16413
16413
|
</div>
|
|
@@ -16423,7 +16423,7 @@ const gm = {
|
|
|
16423
16423
|
<span style="display:inline-block; height: 10px;width: 10px;border-radius: 50%;background-color: #c346a9;}"></span>
|
|
16424
16424
|
<span>Visibility : </span><strong>${(Ve = (er = hA[2]) == null ? void 0 : er.value) == null ? void 0 : Ve[1]}</strong><span style="padding-left: 3px;">nm</span>
|
|
16425
16425
|
</div>`) : (((Ut = hA[1]) == null ? void 0 : Ut.value) < 5 ? Ue = "rgba(172, 210, 255, 1)" : ((Lt = hA[1]) == null ? void 0 : Lt.value) <= 9.9 ? Ue = "rgba(3, 248, 103, 1)" : ((ie = hA[1]) == null ? void 0 : ie.value) <= 24.9 ? Ue = "rgba(190, 226, 2, 18)" : ((bt = hA[1]) == null ? void 0 : bt.value) <= 49.9 ? Ue = "rgba(248, 1, 1, 1)" : ((Dt = hA[1]) == null ? void 0 : Dt.value) > 50 ? Ue = "rgba(197, 5, 58, 1)" : Ue = "rgba(172, 210, 255, 1)", NA % 3 === 0 ? `<div style="font-size: 13px;"
|
|
16426
|
-
<strong>${
|
|
16426
|
+
<strong>${ce((ht = this.meteogramData) == null ? void 0 : ht.dates[NA]).tz(this.positionGmt).format("MMM-DD/HHmm[LT]")}</strong>
|
|
16427
16427
|
</div>
|
|
16428
16428
|
<div style="display: ${(Ye = this.meteogramData) != null && Ye.weatherNames[NA] ? "block" : "none"}; font-size: 13px;">
|
|
16429
16429
|
<span>Weather : </span><strong>${(Ge = this.meteogramData) == null ? void 0 : Ge.weatherNames[NA]}</strong>
|
|
@@ -16782,7 +16782,7 @@ const gm = {
|
|
|
16782
16782
|
formatter: (hA) => {
|
|
16783
16783
|
var ne, YA, ae, Qe, ge, et, me, We, tt, be;
|
|
16784
16784
|
const NA = (ne = hA == null ? void 0 : hA[0]) == null ? void 0 : ne.dataIndex;
|
|
16785
|
-
return hA.find((oe) => oe.seriesType === "scatter") ? !1 : `<div style="font-size: 13px;"><strong>${
|
|
16785
|
+
return hA.find((oe) => oe.seriesType === "scatter") ? !1 : `<div style="font-size: 13px;"><strong>${ce((YA = this.meteogramData) == null ? void 0 : YA.dates[NA]).tz(this.positionGmt).format("MMM-DD/HHmm[LT]")}</strong></div>
|
|
16786
16786
|
<div style="font-size: 13px;display: ${isNaN((ae = hA[0]) == null ? void 0 : ae.value) ? "none" : "block"}">
|
|
16787
16787
|
<span style="display:inline-block; height: 10px;width: 10px;border-radius: 50%;background-color: #60c43e;}"></span>
|
|
16788
16788
|
<span>Wind Speed : </span><strong>${(Qe = hA[0]) == null ? void 0 : Qe.value}</strong><span style="padding-left: 3px;">kts</span>
|
|
@@ -17098,10 +17098,10 @@ const gm = {
|
|
|
17098
17098
|
precip: [],
|
|
17099
17099
|
lastYearPrecip: []
|
|
17100
17100
|
};
|
|
17101
|
-
const t =
|
|
17101
|
+
const t = ce(this.etime).tz(this.positionGmt).date() >= 14 ? ce(this.etime).tz(this.positionGmt).month() + 1 : ce(this.etime).tz(this.positionGmt).month(), A = ce(this.etime).tz(this.positionGmt).set({ month: t });
|
|
17102
17102
|
this.monthsOptions = [];
|
|
17103
17103
|
for (let q = 0; q < 6; q++) {
|
|
17104
|
-
const V =
|
|
17104
|
+
const V = ce(this.etime).tz(this.positionGmt).set({ year: A.year(), month: A.month() + q, date: 1, hour: 0, minute: 0, second: 0 });
|
|
17105
17105
|
this.monthsOptions.push({
|
|
17106
17106
|
date: V.format(),
|
|
17107
17107
|
month: V.format("MMMM yyyy"),
|
|
@@ -17113,8 +17113,8 @@ const gm = {
|
|
|
17113
17113
|
let e = {
|
|
17114
17114
|
lat: this.position.lat,
|
|
17115
17115
|
lng: this.position.lng,
|
|
17116
|
-
startDate:
|
|
17117
|
-
endDate:
|
|
17116
|
+
startDate: ce().tz(this.positionGmt).set({ year: this.currentMonth.y, month: this.currentMonth.m, date: 1, hour: 0, minute: 0, second: 0 }).format(),
|
|
17117
|
+
endDate: ce().tz(this.positionGmt).set({ year: this.currentMonth.y, month: this.currentMonth.m + 1, date: 1, hour: 0, minute: 0, second: 0 }).format(),
|
|
17118
17118
|
pastYear: 1
|
|
17119
17119
|
}, r = await Fn.post(`${this.gateway}/api/arc/meteo2/spot/seasonal`, e, {
|
|
17120
17120
|
headers: {
|
|
@@ -17124,15 +17124,15 @@ const gm = {
|
|
|
17124
17124
|
if ((r == null ? void 0 : r.data.code) === 0) {
|
|
17125
17125
|
let q = (n = r == null ? void 0 : r.data.data) == null ? void 0 : n.seasonal;
|
|
17126
17126
|
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 = te(this.etime).utc().format("MMM-DD/HHmm[Z], YYYY");
|
|
17127
|
-
let V =
|
|
17127
|
+
let V = ce(this.etime).tz(this.positionGmt).set({ year: this.currentMonth.y, month: this.currentMonth.m, date: 1, hour: 0, minute: 0, second: 0 }).format();
|
|
17128
17128
|
const tA = te(e.endDate).diff(te(e.startDate), "day", !0);
|
|
17129
17129
|
for (let P = 0; P < tA; P++) {
|
|
17130
17130
|
const N = te(V).clone().add(P, "d").format(), z = ((d = or.pickDaily(q, N)) == null ? void 0 : d[0]) || {};
|
|
17131
|
-
(w = this.seasonalData) == null || w.dates.push(
|
|
17131
|
+
(w = this.seasonalData) == null || w.dates.push(ce(N).tz(this.positionGmt).format("MMM-DD")), (B = this.seasonalData) == null || B.xDates.push(ce(N).tz(this.positionGmt).format("DD")), (Q = this.seasonalData) == null || Q.highTemp.push(this.roundPrecision((m = (f = z == null ? void 0 : z.weather) == null ? void 0 : f.temp) == null ? void 0 : m.max, 0)), (L = this.seasonalData) == null || L.lowTemp.push(this.roundPrecision((v = (S = z == null ? void 0 : z.weather) == null ? void 0 : S.temp) == null ? void 0 : v.min, 0)), (J = this.seasonalData) == null || J.windSpeed.push(this.roundPrecision((W = (_ = z.weather) == null ? void 0 : _.wind) == null ? void 0 : W.kts, 1)), (T = this.seasonalData) == null || T.windDirection.push((X = (Z = z.weather) == null ? void 0 : Z.wind) == null ? void 0 : X.direction), (U = this.seasonalData) == null || U.precip.push(this.roundPrecision((cA = (Y = z == null ? void 0 : z.weather) == null ? void 0 : Y.precip) == null ? void 0 : cA.sum, 1));
|
|
17132
17132
|
}
|
|
17133
17133
|
(((K = (F = r == null ? void 0 : r.data.data) == null ? void 0 : F.past) == null ? void 0 : K.reverse()) || []).forEach((P, N) => {
|
|
17134
17134
|
var z, sA, uA, gA, yA, bA, LA, DA, jA, dA, R, zA, lA;
|
|
17135
|
-
V =
|
|
17135
|
+
V = ce(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();
|
|
17136
17136
|
for (let wA = 0; wA < tA; wA++) {
|
|
17137
17137
|
const MA = te(V).clone().add(wA, "d").format(), eA = ((z = or.pickDaily(P, MA)) == null ? void 0 : z[0]) || {};
|
|
17138
17138
|
(gA = this.seasonalData) == null || gA.lastYearHighTemp.push(this.roundPrecision((uA = (sA = eA == null ? void 0 : eA.weather) == null ? void 0 : sA.temp) == null ? void 0 : uA.max, 0)), (LA = this.seasonalData) == null || LA.lastYearLowTemp.push(this.roundPrecision((bA = (yA = eA == null ? void 0 : eA.weather) == null ? void 0 : yA.temp) == null ? void 0 : bA.min, 0)), (dA = this.seasonalData) == null || dA.lastYearWindSpeed.push(this.roundPrecision((jA = (DA = eA.weather) == null ? void 0 : DA.wind) == null ? void 0 : jA.kts, 1)), (lA = this.seasonalData) == null || lA.lastYearPrecip.push(this.roundPrecision((zA = (R = eA == null ? void 0 : eA.weather) == null ? void 0 : R.precip) == null ? void 0 : zA.sum, 1));
|
|
@@ -17696,7 +17696,7 @@ const gm = {
|
|
|
17696
17696
|
async initDaysTableData() {
|
|
17697
17697
|
var A, e, r, n, i, a, o, c, u, d, w, B, f, m, Q, S, v, L, _, W, J, Z, X, T, Y, cA, U, F, K, k, iA, AA, q, V, tA, oA, CA, b;
|
|
17698
17698
|
this.daysTableData = [];
|
|
17699
|
-
const t =
|
|
17699
|
+
const t = ce(this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
17700
17700
|
for (let M = 0; M < 14; M++) {
|
|
17701
17701
|
const P = te(t).clone().add(M, "d").format(), N = ((A = or.pickDaily(this.meteoData, P)) == null ? void 0 : A[0]) || {};
|
|
17702
17702
|
let z = "";
|
|
@@ -17729,7 +17729,7 @@ const gm = {
|
|
|
17729
17729
|
initHourlyTableData(t, A, e, r) {
|
|
17730
17730
|
var o, c, u, d, w, B, f, m, Q, S, v, L, _, W, J, Z, X, T, Y, cA, U, F, K, k, iA, AA, q, V, tA, oA, CA, b, M, P, N, z, sA, uA, gA, yA, bA, LA, DA, jA;
|
|
17731
17731
|
this.hourlyTableData = [];
|
|
17732
|
-
const n = A || 14, i = e || this.etime, a =
|
|
17732
|
+
const n = A || 14, i = e || this.etime, a = ce(i).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
17733
17733
|
for (let dA = 0; dA < n * 24; dA++) {
|
|
17734
17734
|
let R, zA;
|
|
17735
17735
|
if (dA % 3 === 0 && (zA = 3), r ? dA % 3 === 0 && (R = te(a).clone().add(dA, "h").format()) : dA < 3 * 24 ? R = te(a).clone().add(dA, "h").format() : dA < 7 * 24 ? dA % 3 === 0 && (R = te(a).clone().add(dA, "h").format()) : dA % 6 === 0 && (R = te(a).clone().add(dA, "h").format()), R) {
|
|
@@ -17824,7 +17824,7 @@ const gm = {
|
|
|
17824
17824
|
return !1;
|
|
17825
17825
|
this.loading.downloading = !0;
|
|
17826
17826
|
let t = 7, A, e = 1;
|
|
17827
|
-
this.menuIndex === 1 ? (t = te(this.dateRangeZ[1]).diff(te(this.dateRangeZ[0]), "d", !0) + 1, A =
|
|
17827
|
+
this.menuIndex === 1 ? (t = te(this.dateRangeZ[1]).diff(te(this.dateRangeZ[0]), "d", !0) + 1, A = ce(this.dateRangeZ[0] || this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0 }).format(), e = 3) : this.menuIndex === 2 ? (t = 7, e = 1) : this.menuIndex === 3 && (t = 14, e = 3);
|
|
17828
17828
|
const r = {
|
|
17829
17829
|
lat: this.position.lat,
|
|
17830
17830
|
lng: this.position.lng,
|
|
@@ -19408,7 +19408,7 @@ function sC(t, A, e, r, n, i) {
|
|
|
19408
19408
|
}, 8, ["modelValue", "title"])
|
|
19409
19409
|
]);
|
|
19410
19410
|
}
|
|
19411
|
-
const aC = /* @__PURE__ */ oh(gm, [["render", sC], ["__scopeId", "data-v-
|
|
19411
|
+
const aC = /* @__PURE__ */ oh(gm, [["render", sC], ["__scopeId", "data-v-0f698010"]]), B4 = {
|
|
19412
19412
|
install(t) {
|
|
19413
19413
|
t.component("SpotWeather", aC);
|
|
19414
19414
|
}
|
|
@@ -19459,7 +19459,7 @@ const oC = {
|
|
|
19459
19459
|
computeHourLT() {
|
|
19460
19460
|
return function(t) {
|
|
19461
19461
|
if (t) {
|
|
19462
|
-
const A =
|
|
19462
|
+
const A = ce(t).tz(this.positionGmt);
|
|
19463
19463
|
return `${A == null ? void 0 : A.format("HH")}`;
|
|
19464
19464
|
}
|
|
19465
19465
|
return "-";
|
|
@@ -19477,7 +19477,7 @@ const oC = {
|
|
|
19477
19477
|
computeWeekLT() {
|
|
19478
19478
|
return function(t) {
|
|
19479
19479
|
if (t) {
|
|
19480
|
-
const A =
|
|
19480
|
+
const A = ce(t).tz(this.positionGmt);
|
|
19481
19481
|
return `${A == null ? void 0 : A.format("dddd")}`;
|
|
19482
19482
|
}
|
|
19483
19483
|
return "-";
|
|
@@ -19486,7 +19486,7 @@ const oC = {
|
|
|
19486
19486
|
computeMMMDDLT() {
|
|
19487
19487
|
return function(t) {
|
|
19488
19488
|
if (t) {
|
|
19489
|
-
const A =
|
|
19489
|
+
const A = ce(t).tz(this.positionGmt);
|
|
19490
19490
|
return `${A == null ? void 0 : A.format("MMM-DD")}`;
|
|
19491
19491
|
}
|
|
19492
19492
|
return "-";
|
|
@@ -19495,7 +19495,7 @@ const oC = {
|
|
|
19495
19495
|
computeMMMDDHHmmLT() {
|
|
19496
19496
|
return function(t) {
|
|
19497
19497
|
if (t) {
|
|
19498
|
-
const A =
|
|
19498
|
+
const A = ce(t).tz(this.positionGmt);
|
|
19499
19499
|
return `${A == null ? void 0 : A.format("MMM-DD/HHmm")}`;
|
|
19500
19500
|
}
|
|
19501
19501
|
return "-";
|
|
@@ -19504,7 +19504,7 @@ const oC = {
|
|
|
19504
19504
|
computeMMMDDyyyyLT() {
|
|
19505
19505
|
return function(t) {
|
|
19506
19506
|
if (t) {
|
|
19507
|
-
const A =
|
|
19507
|
+
const A = ce(t).tz(this.positionGmt);
|
|
19508
19508
|
return `${A == null ? void 0 : A.format("MMM-DD, yyyy")}`;
|
|
19509
19509
|
}
|
|
19510
19510
|
return "-";
|
|
@@ -19553,7 +19553,7 @@ const oC = {
|
|
|
19553
19553
|
this.disposeEcharts(), this.initInfo(), this.handleMeteogramData14(this.meteoData, this.forecastDays, this.meteoData.datetime), this.initHourlyTableData(this.meteoData, this.forecastDays);
|
|
19554
19554
|
},
|
|
19555
19555
|
initInfo() {
|
|
19556
|
-
this.activeIndex =
|
|
19556
|
+
this.activeIndex = ce(this.etime).tz(this.positionGmt).hour(), this.pickedDate = ce(this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
19557
19557
|
},
|
|
19558
19558
|
handleMeteogramData7(t) {
|
|
19559
19559
|
this.meteogramData = {
|
|
@@ -19587,12 +19587,12 @@ const oC = {
|
|
|
19587
19587
|
n.src = r, n.onload = async () => {
|
|
19588
19588
|
var a, o, c, u, d, w, B, f, m, Q, S, v, L, _, W, J, Z, X, T, Y, cA, U, F, K, k, iA, AA, q, V, tA, oA, CA, b, M, P, N, z, sA, uA, gA, yA, bA, LA, DA, jA, dA, R, zA, lA, wA, MA, eA, HA, qA, PA, WA, ee;
|
|
19589
19589
|
this.loading.meteogramEchart = !1;
|
|
19590
|
-
const i =
|
|
19590
|
+
const i = ce(this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
19591
19591
|
for (let j = 0; j < 7 * 24; j++) {
|
|
19592
19592
|
const UA = te(i).clone().add(j, "h").format();
|
|
19593
19593
|
(a = this.meteogramData) == null || a.dates.push(UA);
|
|
19594
19594
|
const vA = ((o = or.pickHourly(t, UA)) == null ? void 0 : o[0]) || {};
|
|
19595
|
-
if (j % 12 === 0 && j % 24 !== 0 ? (c = this.meteogramData) == null || c.xDates.push(
|
|
19595
|
+
if (j % 12 === 0 && j % 24 !== 0 ? (c = this.meteogramData) == null || c.xDates.push(ce(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(""), (f = this.meteogramData) == null || f.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((m = vA == null ? void 0 : vA.weather) == null ? void 0 : m.temp, 0)), (L = this.meteogramData) == null || L.precip.push(this.roundPrecision((v = (S = vA == null ? void 0 : vA.weather) == null ? void 0 : S.precip) == null ? void 0 : v.sum, 1)), (W = this.meteogramData) == null || W.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 = (T = vA == null ? void 0 : vA.weather) == null ? void 0 : T.wind) == null ? void 0 : Y.gusts, 1)), (K = this.meteogramData) == null || K.sigWaveHeight.push(this.roundPrecision((F = (U = vA == null ? void 0 : vA.wave) == null ? void 0 : U.sig) == null ? void 0 : F.height)), (AA = this.meteogramData) == null || AA.swellHeight.push(this.roundPrecision((iA = (k = vA == null ? void 0 : vA.wave) == null ? void 0 : k.swell) == null ? void 0 : iA.height)), j % 6 === 0) {
|
|
19596
19596
|
if ((q = vA.weather) != null && q.url) {
|
|
19597
19597
|
const RA = await this.convertSvgUrlToBase64((V = vA.weather) == null ? void 0 : V.url);
|
|
19598
19598
|
(tA = this.meteogramData) == null || tA.weatherIcons.push({ symbol: "image://" + RA, symbolSize: 30 });
|
|
@@ -19657,12 +19657,12 @@ const oC = {
|
|
|
19657
19657
|
o.src = a, o.onload = async () => {
|
|
19658
19658
|
var u, d, w, B, f, m, Q, S, v, L, _, W, J, Z, X, T, Y, cA, U, F, K, k, iA, AA, q, V, tA, oA, CA, b, M, P, N, z, sA, uA, gA, yA, bA, LA, DA, jA, dA, R, zA, lA, wA, MA, eA, HA, qA, PA, WA, ee, j, UA, vA, RA;
|
|
19659
19659
|
this.loading.meteogramEchart = !1;
|
|
19660
|
-
const c =
|
|
19660
|
+
const c = ce(n).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format();
|
|
19661
19661
|
for (let QA = 0; QA < r * 24; QA++) {
|
|
19662
19662
|
const hA = te(c).clone().add(QA, "h").format();
|
|
19663
19663
|
(u = this.meteogramData) == null || u.dates.push(hA);
|
|
19664
19664
|
const NA = ((d = or.pickHourly(t, hA)) == null ? void 0 : d[0]) || {};
|
|
19665
|
-
if ((B = this.meteogramData) == null || B.temperaturesY.push(this.roundPrecision((w = NA == null ? void 0 : NA.weather) == null ? void 0 : w.temp, 0)), (m = this.meteogramData) == null || m.visibility.push(this.roundPrecision((f = NA == null ? void 0 : NA.weather) == null ? void 0 : f.visibility, 1)), (v = this.meteogramData) == null || v.windspeed.push(this.roundPrecision((S = (Q = NA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.kts, 1)), (W = this.meteogramData) == null || W.windGusts.push(this.roundPrecision((_ = (L = NA == null ? void 0 : NA.weather) == null ? void 0 : L.wind) == null ? void 0 : _.gusts, 1)), (X = this.meteogramData) == null || X.sigWaveHeight.push(this.roundPrecision((Z = (J = NA == null ? void 0 : NA.wave) == null ? void 0 : J.sig) == null ? void 0 : Z.height)), (cA = this.meteogramData) == null || cA.swellHeight.push(this.roundPrecision((Y = (T = NA == null ? void 0 : NA.wave) == null ? void 0 : T.swell) == null ? void 0 : Y.height)), QA % 3 === 0 ? ((K = this.meteogramData) == null || K.precip.push(this.roundPrecision((F = (U = NA == null ? void 0 : NA.weather) == null ? void 0 : U.precip) == null ? void 0 : F.sum3Hours, 1)), (iA = this.meteogramData) == null || iA.temperaturesX.push([hA, this.roundPrecision((k = NA == null ? void 0 : NA.weather) == null ? void 0 : k.temp, 0)])) : (AA = this.meteogramData) == null || AA.precip.push(null), QA % 12 === 0 && QA % 24 !== 0 ? (q = this.meteogramData) == null || q.xDates.push(
|
|
19665
|
+
if ((B = this.meteogramData) == null || B.temperaturesY.push(this.roundPrecision((w = NA == null ? void 0 : NA.weather) == null ? void 0 : w.temp, 0)), (m = this.meteogramData) == null || m.visibility.push(this.roundPrecision((f = NA == null ? void 0 : NA.weather) == null ? void 0 : f.visibility, 1)), (v = this.meteogramData) == null || v.windspeed.push(this.roundPrecision((S = (Q = NA.weather) == null ? void 0 : Q.wind) == null ? void 0 : S.kts, 1)), (W = this.meteogramData) == null || W.windGusts.push(this.roundPrecision((_ = (L = NA == null ? void 0 : NA.weather) == null ? void 0 : L.wind) == null ? void 0 : _.gusts, 1)), (X = this.meteogramData) == null || X.sigWaveHeight.push(this.roundPrecision((Z = (J = NA == null ? void 0 : NA.wave) == null ? void 0 : J.sig) == null ? void 0 : Z.height)), (cA = this.meteogramData) == null || cA.swellHeight.push(this.roundPrecision((Y = (T = NA == null ? void 0 : NA.wave) == null ? void 0 : T.swell) == null ? void 0 : Y.height)), QA % 3 === 0 ? ((K = this.meteogramData) == null || K.precip.push(this.roundPrecision((F = (U = NA == null ? void 0 : NA.weather) == null ? void 0 : U.precip) == null ? void 0 : F.sum3Hours, 1)), (iA = this.meteogramData) == null || iA.temperaturesX.push([hA, this.roundPrecision((k = NA == null ? void 0 : NA.weather) == null ? void 0 : k.temp, 0)])) : (AA = this.meteogramData) == null || AA.precip.push(null), QA % 12 === 0 && QA % 24 !== 0 ? (q = this.meteogramData) == null || q.xDates.push(ce(hA).tz(this.positionGmt).format("MMM-DD")) : (V = this.meteogramData) == null || V.xDates.push(""), QA % 6 === 0 ? (tA = this.meteogramData) == null || tA.hours.push(this.computeHourLT(hA)) : (oA = this.meteogramData) == null || oA.hours.push(""), QA % 12 === 0) {
|
|
19666
19666
|
if ((CA = NA.weather) != null && CA.url) {
|
|
19667
19667
|
const ne = await this.convertSvgUrlToBase64((b = NA.weather) == null ? void 0 : b.url);
|
|
19668
19668
|
(M = this.meteogramData) == null || M.weatherIcons.push({ symbol: "image://" + ne, symbolSize: 30 });
|
|
@@ -19866,7 +19866,7 @@ const oC = {
|
|
|
19866
19866
|
return !1;
|
|
19867
19867
|
{
|
|
19868
19868
|
let Ie = "";
|
|
19869
|
-
return t === 7 ? (((YA = hA[1]) == null ? void 0 : YA.value) < 2 ? Ie = "rgba(172, 210, 255, 1)" : ((ae = hA[1]) == null ? void 0 : ae.value) <= 3.9 ? Ie = "rgba(3, 248, 103, 1)" : ((Qe = hA[1]) == null ? void 0 : Qe.value) <= 7.9 ? Ie = "rgba(190, 226, 2, 18)" : ((ge = hA[1]) == null ? void 0 : ge.value) <= 19.9 ? Ie = "rgba(248, 1, 1, 1)" : ((et = hA[1]) == null ? void 0 : et.value) >= 20 ? Ie = "rgba(197, 5, 58, 1)" : Ie = "rgba(172, 210, 255, 1)", `<div style="font-size: 13px;"><strong>${
|
|
19869
|
+
return t === 7 ? (((YA = hA[1]) == null ? void 0 : YA.value) < 2 ? Ie = "rgba(172, 210, 255, 1)" : ((ae = hA[1]) == null ? void 0 : ae.value) <= 3.9 ? Ie = "rgba(3, 248, 103, 1)" : ((Qe = hA[1]) == null ? void 0 : Qe.value) <= 7.9 ? Ie = "rgba(190, 226, 2, 18)" : ((ge = hA[1]) == null ? void 0 : ge.value) <= 19.9 ? Ie = "rgba(248, 1, 1, 1)" : ((et = hA[1]) == null ? void 0 : et.value) >= 20 ? Ie = "rgba(197, 5, 58, 1)" : Ie = "rgba(172, 210, 255, 1)", `<div style="font-size: 13px;"><strong>${ce((me = this.meteogramData) == null ? void 0 : me.dates[NA]).tz(this.positionGmt).format("MMM-DD/HHmm[LT]")}</strong></div>
|
|
19870
19870
|
<div style="display: ${(We = this.meteogramData) != null && We.weatherNames[NA] ? "block" : "none"}; font-size: 13px;">
|
|
19871
19871
|
<span>Weather : </span><strong>${(tt = this.meteogramData) == null ? void 0 : tt.weatherNames[NA]}</strong>
|
|
19872
19872
|
</div>
|
|
@@ -19882,7 +19882,7 @@ const oC = {
|
|
|
19882
19882
|
<span style="display:inline-block; height: 10px;width: 10px;border-radius: 50%;background-color: #c346a9;}"></span>
|
|
19883
19883
|
<span>Visibility : </span><strong>${(er = hA[2]) == null ? void 0 : er.value}</strong><span style="padding-left: 3px;">nm</span>
|
|
19884
19884
|
</div>`) : t === 14 ? (((Ve = hA[1]) == null ? void 0 : Ve.value) < 5 ? Ie = "rgba(172, 210, 255, 1)" : ((Ut = hA[1]) == null ? void 0 : Ut.value) <= 9.9 ? Ie = "rgba(3, 248, 103, 1)" : ((Lt = hA[1]) == null ? void 0 : Lt.value) <= 24.9 ? Ie = "rgba(190, 226, 2, 18)" : ((ie = hA[1]) == null ? void 0 : ie.value) <= 49.9 ? Ie = "rgba(248, 1, 1, 1)" : ((bt = hA[1]) == null ? void 0 : bt.value) > 50 ? Ie = "rgba(197, 5, 58, 1)" : Ie = "rgba(172, 210, 255, 1)", NA % 3 === 0 ? `<div style="font-size: 13px;"
|
|
19885
|
-
<strong>${
|
|
19885
|
+
<strong>${ce((Dt = this.meteogramData) == null ? void 0 : Dt.dates[NA]).tz(this.positionGmt).format("MMM-DD/HHmm[LT]")}</strong>
|
|
19886
19886
|
</div>
|
|
19887
19887
|
<div style="display: ${(ht = this.meteogramData) != null && ht.weatherNames[NA] ? "block" : "none"}; font-size: 13px;">
|
|
19888
19888
|
<span>Weather : </span><strong>${(Ye = this.meteogramData) == null ? void 0 : Ye.weatherNames[NA]}</strong>
|
|
@@ -20241,7 +20241,7 @@ const oC = {
|
|
|
20241
20241
|
formatter: (hA) => {
|
|
20242
20242
|
var ne, YA, ae, Qe, ge, et, me, We, tt, be;
|
|
20243
20243
|
const NA = (ne = hA == null ? void 0 : hA[0]) == null ? void 0 : ne.dataIndex;
|
|
20244
|
-
return hA.find((oe) => oe.seriesType === "scatter") ? !1 : `<div style="font-size: 13px;"><strong>${
|
|
20244
|
+
return hA.find((oe) => oe.seriesType === "scatter") ? !1 : `<div style="font-size: 13px;"><strong>${ce((YA = this.meteogramData) == null ? void 0 : YA.dates[NA]).tz(this.positionGmt).format("MMM-DD/HHmm[LT]")}</strong></div>
|
|
20245
20245
|
<div style="font-size: 13px;display: ${isNaN((ae = hA[0]) == null ? void 0 : ae.value) ? "none" : "block"}">
|
|
20246
20246
|
<span style="display:inline-block; height: 10px;width: 10px;border-radius: 50%;background-color: #60c43e;}"></span>
|
|
20247
20247
|
<span>Wind Speed : </span><strong>${(Qe = hA[0]) == null ? void 0 : Qe.value}</strong><span style="padding-left: 3px;">kts</span>
|
|
@@ -20544,7 +20544,7 @@ const oC = {
|
|
|
20544
20544
|
initHourlyTableData(t, A) {
|
|
20545
20545
|
var i, a, o, c, u, d, w, B, f, m, Q, S, v, L, _, W, J, Z, X, T, Y, cA, U, F, K, k, iA, AA, q, V, tA, oA, CA, b, M, P, N, z, sA, uA, gA, yA, bA, LA, DA, jA, dA, R, zA;
|
|
20546
20546
|
this.hourlyTableData = [];
|
|
20547
|
-
const e = A || 14, r = ((o = (a = (i = t == null ? void 0 : t.weather) == null ? void 0 : i[0]) == null ? void 0 : a.hourly) == null ? void 0 : o.date) || this.etime, n =
|
|
20547
|
+
const e = A || 14, r = ((o = (a = (i = t == null ? void 0 : t.weather) == null ? void 0 : i[0]) == null ? void 0 : a.hourly) == null ? void 0 : o.date) || this.etime, n = ce(r).tz(this.positionGmt).format();
|
|
20548
20548
|
debugger;
|
|
20549
20549
|
for (let lA = 0; lA < e * 24; lA++) {
|
|
20550
20550
|
let wA, MA;
|