@idmwx/idmui-gl4 1.6.4 → 1.6.6
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.
- package/dist/index.js +387 -387
- package/dist/index.umd.cjs +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1487,10 +1487,10 @@ const ui = {
|
|
|
1487
1487
|
{ label: "Swell", key: "weather.swell", unit: "m" },
|
|
1488
1488
|
{ label: "Current", key: "weather.current", unit: "kts" }
|
|
1489
1489
|
], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
|
|
1490
|
-
var c, n, u, h, b, x,
|
|
1490
|
+
var c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe;
|
|
1491
1491
|
let r = {};
|
|
1492
1492
|
const l = ((c = ao.pickHourly(t, M(i))) == null ? void 0 : c[0]) || {};
|
|
1493
|
-
r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((
|
|
1493
|
+
r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((z = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : z.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((k = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (V = (N = l == null ? void 0 : l.wave) == null ? void 0 : N.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((U = (Z = l == null ? void 0 : l.wave) == null ? void 0 : Z.sig) == null ? void 0 : U.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (ne = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.wd) == null ? void 0 : ne.direction, r.windwavePeriod = this.computeRoundPrecision((J = (se = l == null ? void 0 : l.wave) == null ? void 0 : se.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((he = (ae = l == null ? void 0 : l.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.height, 1) ?? "-", r.swellDir = (pe = (ce = l == null ? void 0 : l.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.direction, r.swellPeriod = this.computeRoundPrecision((F = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = l == null ? void 0 : l.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = l == null ? void 0 : l.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = l == null ? void 0 : l.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
|
|
1494
1494
|
});
|
|
1495
1495
|
},
|
|
1496
1496
|
handleTide() {
|
|
@@ -1637,10 +1637,10 @@ const ui = {
|
|
|
1637
1637
|
}, xi = { class: "summary-box" }, vi = { class: "d-flex justify-space-between align-center py-2" }, _i = { class: "d-flex justify-center align-center text-h6 ga-2" }, ki = {
|
|
1638
1638
|
class: "multi-color-icon",
|
|
1639
1639
|
"aria-hidden": "true"
|
|
1640
|
-
}, zi = ["xlink:href"], Li = { class: "gray-
|
|
1640
|
+
}, zi = ["xlink:href"], Li = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, Pi = { class: "w-100 d-flex justify-start align-center" }, Ci = { class: "w-30 text-label font-weight-400" }, Ti = { class: "flex-1-1-0" }, Si = { class: "w-100 d-flex justify-start align-center" }, Mi = { class: "w-30 text-label font-weight-400" }, Ii = { class: "flex-1-1-0" }, Di = { class: "w-100 d-flex justify-start align-center" }, Ai = { class: "w-30 text-label font-weight-400" }, Ri = { class: "flex-1-1-0" }, Oi = { class: "table-box w-100 mt-2" }, Bi = { class: "w-100 d-flex justify-space-between align-center py-2" }, Ei = { class: "d-flex justify-center align-center text-h6 ga-2" }, ji = {
|
|
1641
1641
|
class: "multi-color-icon",
|
|
1642
1642
|
"aria-hidden": "true"
|
|
1643
|
-
}, Ni = ["xlink:href"], Fi = { class: "w-100 gray-
|
|
1643
|
+
}, Ni = ["xlink:href"], Fi = { class: "w-100 gray-bg-2 rounded pa-4" }, Hi = {
|
|
1644
1644
|
"fixed-header": "",
|
|
1645
1645
|
density: "compact",
|
|
1646
1646
|
class: "w-100 forecast-table bg-none mb-2"
|
|
@@ -1655,7 +1655,7 @@ const ui = {
|
|
|
1655
1655
|
"aria-hidden": "true"
|
|
1656
1656
|
}, sr = ["xlink:href"], lr = { class: "text-body-2 ga-2" }, nr = {
|
|
1657
1657
|
key: 0,
|
|
1658
|
-
class: "w-100 gray-
|
|
1658
|
+
class: "w-100 gray-bg-2 rounded pa-4 overflow-y-auto"
|
|
1659
1659
|
}, cr = {
|
|
1660
1660
|
ref: "tideEchart",
|
|
1661
1661
|
class: "w-100",
|
|
@@ -1678,16 +1678,16 @@ function yr(t, e, o, i, a, r) {
|
|
|
1678
1678
|
const l = w("VBtn"), c = w("VCardTitle"), n = w("VDivider"), u = w("VIcon"), h = w("VBtnToggle"), b = w("VCard");
|
|
1679
1679
|
return y(), R(b, { class: "port-detail-container d-flex flex-column justify-start align-center" }, {
|
|
1680
1680
|
default: f(() => {
|
|
1681
|
-
var x,
|
|
1681
|
+
var x, z;
|
|
1682
1682
|
return [
|
|
1683
1683
|
p(c, { class: "w-100" }, {
|
|
1684
1684
|
default: f(() => {
|
|
1685
|
-
var g,
|
|
1685
|
+
var g, P, T, O, I;
|
|
1686
1686
|
return [
|
|
1687
1687
|
s("div", gi, [
|
|
1688
1688
|
s("div", fi, [
|
|
1689
1689
|
s("div", {
|
|
1690
|
-
class: Ne(["fi mr-2 rounded elevation-4", `fi-${(g = o.port) != null && g.cntLoCode ? (T = (
|
|
1690
|
+
class: Ne(["fi mr-2 rounded elevation-4", `fi-${(g = o.port) != null && g.cntLoCode ? (T = (P = o.port) == null ? void 0 : P.cntLoCode) == null ? void 0 : T.toLowerCase() : "xx"}`]),
|
|
1691
1691
|
style: { width: "36px", height: "24px" }
|
|
1692
1692
|
}, null, 2),
|
|
1693
1693
|
s("div", null, m((O = o.port) == null ? void 0 : O.name), 1)
|
|
@@ -1720,11 +1720,11 @@ function yr(t, e, o, i, a, r) {
|
|
|
1720
1720
|
p(n, { class: "w-100" }),
|
|
1721
1721
|
s("div", bi, [
|
|
1722
1722
|
o.followList.some((g) => {
|
|
1723
|
-
var
|
|
1724
|
-
return ((
|
|
1723
|
+
var P;
|
|
1724
|
+
return ((P = g.port) == null ? void 0 : P.id) === o.portId;
|
|
1725
1725
|
}) ? (y(), R(l, {
|
|
1726
1726
|
key: 0,
|
|
1727
|
-
class: "text-none text-body-1 rounded flex-1-1-0",
|
|
1727
|
+
class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
|
|
1728
1728
|
variant: "tonal",
|
|
1729
1729
|
density: "compact",
|
|
1730
1730
|
height: "32",
|
|
@@ -1740,7 +1740,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
1740
1740
|
_: 1
|
|
1741
1741
|
}, 8, ["onClick"])) : (y(), R(l, {
|
|
1742
1742
|
key: 1,
|
|
1743
|
-
class: "text-none text-body-1 rounded flex-1-1-0",
|
|
1743
|
+
class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
|
|
1744
1744
|
variant: "tonal",
|
|
1745
1745
|
density: "compact",
|
|
1746
1746
|
height: "32",
|
|
@@ -1753,7 +1753,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
1753
1753
|
_: 1
|
|
1754
1754
|
}, 8, ["onClick"])),
|
|
1755
1755
|
p(l, {
|
|
1756
|
-
class: "text-none text-body-1 rounded flex-1-1-0",
|
|
1756
|
+
class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
|
|
1757
1757
|
variant: "tonal",
|
|
1758
1758
|
density: "compact",
|
|
1759
1759
|
height: "32",
|
|
@@ -1781,7 +1781,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
1781
1781
|
s("div", Li, [
|
|
1782
1782
|
s("div", Pi, [
|
|
1783
1783
|
s("div", Ci, m(t.$t("port.region")), 1),
|
|
1784
|
-
s("div", Ti, m(((x = o.port) == null ? void 0 : x.region) ?? ((
|
|
1784
|
+
s("div", Ti, m(((x = o.port) == null ? void 0 : x.region) ?? ((z = o.port) == null ? void 0 : z.city) ?? "-"), 1)
|
|
1785
1785
|
]),
|
|
1786
1786
|
s("div", Si, [
|
|
1787
1787
|
s("div", Mi, m(t.$t("port.position")), 1),
|
|
@@ -1809,7 +1809,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
1809
1809
|
p(h, {
|
|
1810
1810
|
modelValue: a.currentIndex,
|
|
1811
1811
|
"onUpdate:modelValue": e[0] || (e[0] = (g) => a.currentIndex = g),
|
|
1812
|
-
class: "w-100 gray-
|
|
1812
|
+
class: "w-100 gray-bg-1 rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
|
|
1813
1813
|
density: "compact",
|
|
1814
1814
|
group: "",
|
|
1815
1815
|
height: "26",
|
|
@@ -1911,9 +1911,9 @@ function yr(t, e, o, i, a, r) {
|
|
|
1911
1911
|
s("th", hr, m(t.$t("time.time")) + " ( LT ) ", 1),
|
|
1912
1912
|
s("th", pr, m(t.$t("tide.height")) + " ( m )", 1)
|
|
1913
1913
|
]),
|
|
1914
|
-
(y(!0), S(be, null, we(a.tideTableData, (g,
|
|
1914
|
+
(y(!0), S(be, null, we(a.tideTableData, (g, P) => {
|
|
1915
1915
|
var T;
|
|
1916
|
-
return y(), S("tr", { key:
|
|
1916
|
+
return y(), S("tr", { key: P }, [
|
|
1917
1917
|
s("td", ur, m(t.$t(`tide.${(T = g == null ? void 0 : g.type) == null ? void 0 : T.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
|
|
1918
1918
|
s("td", gr, m(r.computeLocalTime(g == null ? void 0 : g.date, o.port, "MM-DD HH:mm")), 1),
|
|
1919
1919
|
s("td", fr, m((g == null ? void 0 : g.height) ?? "-") + " m", 1)
|
|
@@ -1929,7 +1929,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
1929
1929
|
_: 1
|
|
1930
1930
|
});
|
|
1931
1931
|
}
|
|
1932
|
-
const so = /* @__PURE__ */ Y(ui, [["render", yr], ["__scopeId", "data-v-
|
|
1932
|
+
const so = /* @__PURE__ */ Y(ui, [["render", yr], ["__scopeId", "data-v-104cfb37"]]);
|
|
1933
1933
|
const br = {
|
|
1934
1934
|
name: "IdmPort",
|
|
1935
1935
|
components: {
|
|
@@ -2918,10 +2918,10 @@ const qr = {
|
|
|
2918
2918
|
}, Xr = { class: "d-flex justify-space-between align-center" }, $r = { class: "d-flex justify-start text-h5 my-2" }, Kr = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Qr = { class: "w-100 px-5 pt-0 pb-0 overflow-y-auto scroll" }, Jr = { class: "summary-box w-100" }, es = { class: "d-flex justify-space-between align-center py-2" }, ts = { class: "d-flex justify-center align-center text-h6 ga-2" }, os = {
|
|
2919
2919
|
class: "multi-color-icon",
|
|
2920
2920
|
"aria-hidden": "true"
|
|
2921
|
-
}, as = ["xlink:href"], is = { class: "gray-
|
|
2921
|
+
}, as = ["xlink:href"], is = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, rs = { class: "w-100 d-flex justify-start align-center" }, ss = { class: "w-30 text-label font-weight-400" }, ls = { class: "flex-1-1-0" }, ns = { class: "w-100 d-flex justify-start align-center" }, cs = { class: "w-30 text-label font-weight-400" }, ms = { class: "flex-1-1-0" }, ds = { class: "w-100 d-flex justify-start align-center" }, hs = { class: "w-30 text-label font-weight-400" }, ps = { class: "flex-1-1-0" }, us = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, gs = { class: "w-100 d-flex justify-space-between align-center py-2" }, fs = { class: "d-flex justify-center align-center text-h6 ga-2" }, ys = {
|
|
2922
2922
|
class: "multi-color-icon",
|
|
2923
2923
|
"aria-hidden": "true"
|
|
2924
|
-
}, bs = ["xlink:href"], ws = { class: "w-100 gray-
|
|
2924
|
+
}, bs = ["xlink:href"], ws = { class: "w-100 gray-bg-2 rounded pa-4 overflow-y-auto" }, xs = {
|
|
2925
2925
|
class: "w-100 py-4",
|
|
2926
2926
|
style: { height: "244px" },
|
|
2927
2927
|
ref: "tideEchart"
|
|
@@ -2947,11 +2947,11 @@ function Ts(t, e, o, i, a, r) {
|
|
|
2947
2947
|
return [
|
|
2948
2948
|
p(c, { class: "w-100" }, {
|
|
2949
2949
|
default: f(() => {
|
|
2950
|
-
var
|
|
2950
|
+
var z;
|
|
2951
2951
|
return [
|
|
2952
2952
|
s("div", Xr, [
|
|
2953
2953
|
s("div", $r, [
|
|
2954
|
-
s("div", null, m((
|
|
2954
|
+
s("div", null, m((z = o.station) == null ? void 0 : z.name), 1)
|
|
2955
2955
|
]),
|
|
2956
2956
|
p(l, {
|
|
2957
2957
|
icon: "",
|
|
@@ -3018,8 +3018,8 @@ function Ts(t, e, o, i, a, r) {
|
|
|
3018
3018
|
s("div", ws, [
|
|
3019
3019
|
p(u, {
|
|
3020
3020
|
modelValue: a.currentIndex,
|
|
3021
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
3022
|
-
class: "w-100 gray-
|
|
3021
|
+
"onUpdate:modelValue": e[0] || (e[0] = (z) => a.currentIndex = z),
|
|
3022
|
+
class: "w-100 gray-bg-1 rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
|
|
3023
3023
|
density: "compact",
|
|
3024
3024
|
group: "",
|
|
3025
3025
|
height: "26",
|
|
@@ -3027,15 +3027,15 @@ function Ts(t, e, o, i, a, r) {
|
|
|
3027
3027
|
rounded: "1"
|
|
3028
3028
|
}, {
|
|
3029
3029
|
default: f(() => [
|
|
3030
|
-
(y(!0), S(be, null, we(r.dateList, (
|
|
3030
|
+
(y(!0), S(be, null, we(r.dateList, (z) => (y(), R(l, {
|
|
3031
3031
|
class: "text-none text-body-1 rounded bg-none flex-1-1-0",
|
|
3032
3032
|
density: "compact",
|
|
3033
3033
|
color: "primary",
|
|
3034
3034
|
height: "26",
|
|
3035
|
-
value:
|
|
3035
|
+
value: z.index
|
|
3036
3036
|
}, {
|
|
3037
3037
|
default: f(() => [
|
|
3038
|
-
$(m(
|
|
3038
|
+
$(m(z.label), 1)
|
|
3039
3039
|
]),
|
|
3040
3040
|
_: 2
|
|
3041
3041
|
}, 1032, ["value"]))), 256))
|
|
@@ -3050,12 +3050,12 @@ function Ts(t, e, o, i, a, r) {
|
|
|
3050
3050
|
s("th", ks, m(t.$t("time.time")) + " ( LT )", 1),
|
|
3051
3051
|
s("th", zs, m(t.$t("tide.height")) + " ( m )", 1)
|
|
3052
3052
|
]),
|
|
3053
|
-
(y(!0), S(be, null, we(a.tideTableData, (
|
|
3054
|
-
var
|
|
3053
|
+
(y(!0), S(be, null, we(a.tideTableData, (z, g) => {
|
|
3054
|
+
var P;
|
|
3055
3055
|
return y(), S("tr", { key: g }, [
|
|
3056
|
-
s("td", Ls, m(t.$t(`tide.${(
|
|
3057
|
-
s("td", Ps, m(r.computeLocalTime(
|
|
3058
|
-
s("td", Cs, m((
|
|
3056
|
+
s("td", Ls, m(t.$t(`tide.${(P = z == null ? void 0 : z.type) == null ? void 0 : P.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
|
|
3057
|
+
s("td", Ps, m(r.computeLocalTime(z == null ? void 0 : z.date, o.station, "MM-DD HH:mm")), 1),
|
|
3058
|
+
s("td", Cs, m((z == null ? void 0 : z.height) ?? "-") + " m", 1)
|
|
3059
3059
|
]);
|
|
3060
3060
|
}), 128))
|
|
3061
3061
|
])
|
|
@@ -3068,7 +3068,7 @@ function Ts(t, e, o, i, a, r) {
|
|
|
3068
3068
|
_: 1
|
|
3069
3069
|
});
|
|
3070
3070
|
}
|
|
3071
|
-
const Ss = /* @__PURE__ */ Y(qr, [["render", Ts], ["__scopeId", "data-v-
|
|
3071
|
+
const Ss = /* @__PURE__ */ Y(qr, [["render", Ts], ["__scopeId", "data-v-e6ab70d5"]]);
|
|
3072
3072
|
const Ms = {
|
|
3073
3073
|
name: "IdmTideStations",
|
|
3074
3074
|
components: {
|
|
@@ -4455,13 +4455,13 @@ const qs = {
|
|
|
4455
4455
|
if (e.properties) {
|
|
4456
4456
|
const b = e.properties;
|
|
4457
4457
|
b.lng = e.geometry.coordinates[0], b.lat = e.geometry.coordinates[1];
|
|
4458
|
-
const x = M(),
|
|
4458
|
+
const x = M(), z = (o = M(this.realTime)) == null ? void 0 : o.diff(x, "d", !0), g = {
|
|
4459
4459
|
lat: b.lat,
|
|
4460
4460
|
lng: b.lng,
|
|
4461
4461
|
datetime: this.realTime,
|
|
4462
4462
|
forecastModel: this.forecastModel
|
|
4463
4463
|
};
|
|
4464
|
-
|
|
4464
|
+
z >= 0 ? (l = (r = (a = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmSpot) == null || l.fetchMeteoData(g) : (h = (u = (n = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : n.$refs) == null ? void 0 : u.idmSpot) == null || h.fetchHistoryData(g);
|
|
4465
4465
|
}
|
|
4466
4466
|
},
|
|
4467
4467
|
handleHover(t) {
|
|
@@ -4681,8 +4681,8 @@ const el = {
|
|
|
4681
4681
|
})
|
|
4682
4682
|
);
|
|
4683
4683
|
(await Promise.all(l)).map((n) => {
|
|
4684
|
-
var b, x,
|
|
4685
|
-
const u = ((b = n == null ? void 0 : n.data) == null ? void 0 : b.data) || (n == null ? void 0 : n.data), h = (
|
|
4684
|
+
var b, x, z;
|
|
4685
|
+
const u = ((b = n == null ? void 0 : n.data) == null ? void 0 : b.data) || (n == null ? void 0 : n.data), h = (z = (x = n == null ? void 0 : n.config) == null ? void 0 : x.headers) == null ? void 0 : z.key;
|
|
4686
4686
|
this.otherLayers[h] = u;
|
|
4687
4687
|
});
|
|
4688
4688
|
}
|
|
@@ -4721,7 +4721,7 @@ const el = {
|
|
|
4721
4721
|
}, dl = { class: "text-body-2 text-center pt-1" };
|
|
4722
4722
|
function hl(t, e, o, i, a, r) {
|
|
4723
4723
|
var X, ne, se, J, ae, he, ce, pe, ge;
|
|
4724
|
-
const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"),
|
|
4724
|
+
const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), z = w("IdmLatLng"), g = w("IdmTerminator"), P = w("IdmTimezone"), T = w("IdmPort"), O = w("IdmAlertZone"), I = w("IdmTideStations"), L = w("IdmEcaZone"), k = w("IdmWarZone"), v = w("IdmGmdssArea"), C = w("IdmLoadLine"), _ = w("IdmWorldMarine"), A = w("IdmVRA"), N = w("IdmSpecialArea"), V = w("IdmWorld12nm"), Z = w("IdmChinaRoute"), U = w("IdmIceAreas"), ee = w("IdmFollowPort"), Q = w("IdmFollowPosition");
|
|
4725
4725
|
return y(), S("div", tl, [
|
|
4726
4726
|
s("div", {
|
|
4727
4727
|
class: "menu-bar-box transition px-1 rounded",
|
|
@@ -4952,7 +4952,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
4952
4952
|
})
|
|
4953
4953
|
])
|
|
4954
4954
|
], 6),
|
|
4955
|
-
o.map ? (y(), R(
|
|
4955
|
+
o.map ? (y(), R(z, B({
|
|
4956
4956
|
key: 0,
|
|
4957
4957
|
map: o.map,
|
|
4958
4958
|
"menu-toggle": o.menuToggle,
|
|
@@ -4963,7 +4963,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
4963
4963
|
map: o.map,
|
|
4964
4964
|
area: (X = a.otherLayers) == null ? void 0 : X["day-night"]
|
|
4965
4965
|
}, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
|
|
4966
|
-
o.map ? (y(), R(
|
|
4966
|
+
o.map ? (y(), R(P, B({
|
|
4967
4967
|
key: 2,
|
|
4968
4968
|
map: o.map,
|
|
4969
4969
|
zone: (ne = a.otherLayers) == null ? void 0 : ne["time-zones"]
|
|
@@ -4998,17 +4998,17 @@ function hl(t, e, o, i, a, r) {
|
|
|
4998
4998
|
forecastModel: o.forecastModel,
|
|
4999
4999
|
"before-layer": "empty-layer-3"
|
|
5000
5000
|
}, t.$attrs), null, 16, ["map", "gateway", "token", "show", "theme", "realTime", "forecastModel"])) : D("", !0),
|
|
5001
|
-
o.map ? (y(), R(
|
|
5001
|
+
o.map ? (y(), R(L, B({
|
|
5002
5002
|
key: 6,
|
|
5003
5003
|
map: o.map,
|
|
5004
5004
|
zone: (ae = a.otherLayers) == null ? void 0 : ae["eca-zones"]
|
|
5005
5005
|
}, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
|
|
5006
|
-
o.map ? (y(), R(
|
|
5006
|
+
o.map ? (y(), R(k, B({
|
|
5007
5007
|
key: 7,
|
|
5008
5008
|
map: o.map,
|
|
5009
5009
|
zone: (he = a.otherLayers) == null ? void 0 : he["war-zones"]
|
|
5010
5010
|
}, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
|
|
5011
|
-
o.map ? (y(), R(
|
|
5011
|
+
o.map ? (y(), R(v, B({
|
|
5012
5012
|
key: 8,
|
|
5013
5013
|
map: o.map,
|
|
5014
5014
|
area: (ce = a.otherLayers) == null ? void 0 : ce["gmdss-areas"]
|
|
@@ -5018,7 +5018,7 @@ function hl(t, e, o, i, a, r) {
|
|
|
5018
5018
|
map: o.map,
|
|
5019
5019
|
show: a.checkList.includes("load-lines")
|
|
5020
5020
|
}, t.$attrs), null, 16, ["map", "show"])) : D("", !0),
|
|
5021
|
-
o.map ? (y(), R(
|
|
5021
|
+
o.map ? (y(), R(_, B({
|
|
5022
5022
|
key: 10,
|
|
5023
5023
|
map: o.map,
|
|
5024
5024
|
token: o.token,
|
|
@@ -5118,12 +5118,12 @@ class lo {
|
|
|
5118
5118
|
* @param [lb.x, lb.y, rt.x, rt.y]
|
|
5119
5119
|
*/
|
|
5120
5120
|
getBoundPixel() {
|
|
5121
|
-
var g,
|
|
5121
|
+
var g, P;
|
|
5122
5122
|
const e = (g = this.map) == null ? void 0 : g.getBounds();
|
|
5123
5123
|
if (!e)
|
|
5124
5124
|
return [];
|
|
5125
|
-
const o = ((
|
|
5126
|
-
return [b, x, u +
|
|
5125
|
+
const o = ((P = this.map) == null ? void 0 : P.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, l] = this.convertNLng(i[0]), [c, n] = this.convertNLng(a[0]), [u, h] = this.mercator.px([r, i[1]], o), [b, x] = this.mercator.px([c, a[1]], o), z = Math.round(this.mercator.size * Math.pow(2, o) * (l + n));
|
|
5126
|
+
return [b, x, u + z, h];
|
|
5127
5127
|
}
|
|
5128
5128
|
/**
|
|
5129
5129
|
* [视窗边界像素宽度]
|
|
@@ -5306,9 +5306,9 @@ class Fe {
|
|
|
5306
5306
|
sRange: o.getUniformLocation(i, "u_range_s")
|
|
5307
5307
|
};
|
|
5308
5308
|
h.resolution && o.uniform2f(h.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), h.image && o.uniform1i(h.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), h.color && o.uniform1i(h.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (h.uvRange && o.uniform2f(h.uvRange, c.uvRange[0], c.uvRange[1]), h.sRange && o.uniform2f(h.sRange, c.sRange[0], c.sRange[1])), h.scale && o.uniform1f(h.scale, (c == null ? void 0 : c.scale) || 1);
|
|
5309
|
-
const b = e.getBoundPixel(), x = e.map.getZoom() + 1,
|
|
5310
|
-
for (const g of
|
|
5311
|
-
const
|
|
5309
|
+
const b = e.getBoundPixel(), x = e.map.getZoom() + 1, z = e.getWorldCopy(b, x);
|
|
5310
|
+
for (const g of z) {
|
|
5311
|
+
const P = (g[0] - b[0]) * e.ratio, T = (g[1] - b[3]) * e.ratio, O = g[2] * e.ratio, [I, L, k, v] = [P, O + P, T, O + T], C = new Float32Array([I, k, L, k, I, v, I, v, L, k, L, v]);
|
|
5312
5312
|
o.bindBuffer(o.ARRAY_BUFFER, l), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
|
|
5313
5313
|
}
|
|
5314
5314
|
} catch (h) {
|
|
@@ -7877,7 +7877,7 @@ const wn = {
|
|
|
7877
7877
|
const e = (/* @__PURE__ */ new Date()).valueOf();
|
|
7878
7878
|
let o = 0, i = 0;
|
|
7879
7879
|
if (this.map) {
|
|
7880
|
-
const
|
|
7880
|
+
const z = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, g = (r = this.map) == null ? void 0 : r.getBounds(), P = `${g._sw.lng},${g._sw.lat},${g._ne.lng},${g._ne.lat}`;
|
|
7881
7881
|
if (this.particleFactor && ((l = this.$refs.layer) != null && l.autoActive)) {
|
|
7882
7882
|
const T = io.WEATHER_LAYERS.find((O) => {
|
|
7883
7883
|
var I;
|
|
@@ -7889,7 +7889,7 @@ const wn = {
|
|
|
7889
7889
|
let T = this.weatherWeight;
|
|
7890
7890
|
if (T > 0) {
|
|
7891
7891
|
const O = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], I = await Se.get(
|
|
7892
|
-
`${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${
|
|
7892
|
+
`${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${z}&bbox=${P}&t=${this.realTime}`,
|
|
7893
7893
|
{
|
|
7894
7894
|
headers: {
|
|
7895
7895
|
Authorization: this.defaultMeteoToken
|
|
@@ -7897,46 +7897,46 @@ const wn = {
|
|
|
7897
7897
|
}
|
|
7898
7898
|
);
|
|
7899
7899
|
if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((c = I == null ? void 0 : I.data) == null ? void 0 : c.code) === 0) {
|
|
7900
|
-
const
|
|
7901
|
-
for (const C in
|
|
7902
|
-
|
|
7903
|
-
Se.get(
|
|
7900
|
+
const L = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, k = [];
|
|
7901
|
+
for (const C in L)
|
|
7902
|
+
k.push(
|
|
7903
|
+
Se.get(L[C], {
|
|
7904
7904
|
headers: {
|
|
7905
7905
|
Authorization: this.defaultMeteoToken,
|
|
7906
7906
|
key: C
|
|
7907
7907
|
},
|
|
7908
|
-
responseType: /\.(jpg|png)$/.test(
|
|
7909
|
-
}).catch((
|
|
7910
|
-
console.log(`[${C}] fetch layer error: ${
|
|
7908
|
+
responseType: /\.(jpg|png)$/.test(L[C]) ? "blob" : "json"
|
|
7909
|
+
}).catch((_) => {
|
|
7910
|
+
console.log(`[${C}] fetch layer error: ${_}`);
|
|
7911
7911
|
})
|
|
7912
7912
|
);
|
|
7913
|
-
const
|
|
7914
|
-
this.weatherLayers = {},
|
|
7913
|
+
const v = await Promise.all(k);
|
|
7914
|
+
this.weatherLayers = {}, v.map((C) => {
|
|
7915
7915
|
var N, V, Z, U;
|
|
7916
|
-
const
|
|
7916
|
+
const _ = ((N = C == null ? void 0 : C.data) == null ? void 0 : N.data) || (C == null ? void 0 : C.data);
|
|
7917
7917
|
let A = (Z = (V = C == null ? void 0 : C.config) == null ? void 0 : V.headers) == null ? void 0 : Z.key;
|
|
7918
|
-
A &&
|
|
7919
|
-
raw:
|
|
7918
|
+
A && _ && (this.weatherLayers[A] = {
|
|
7919
|
+
raw: _,
|
|
7920
7920
|
type: ((U = C == null ? void 0 : C.config) == null ? void 0 : U.responseType) === "blob" ? "image" : "json",
|
|
7921
7921
|
etime: I.data.etime
|
|
7922
7922
|
});
|
|
7923
7923
|
});
|
|
7924
7924
|
}
|
|
7925
7925
|
if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather layers elapsed: ", i, ", total: ", o += i), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
|
|
7926
|
-
const
|
|
7926
|
+
const L = (u = this.weatherLayers["swell-direction"]) == null ? void 0 : u.raw, k = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
|
|
7927
7927
|
delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
|
|
7928
7928
|
type: "json",
|
|
7929
|
-
direction:
|
|
7930
|
-
height: { raw:
|
|
7929
|
+
direction: L,
|
|
7930
|
+
height: { raw: k },
|
|
7931
7931
|
etime: I.data.etime
|
|
7932
7932
|
};
|
|
7933
7933
|
}
|
|
7934
7934
|
if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
|
|
7935
|
-
const
|
|
7935
|
+
const L = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, k = (x = this.weatherLayers["current-speed"]) == null ? void 0 : x.raw;
|
|
7936
7936
|
delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
|
|
7937
7937
|
type: "json",
|
|
7938
|
-
direction:
|
|
7939
|
-
speed: { raw:
|
|
7938
|
+
direction: L,
|
|
7939
|
+
speed: { raw: k },
|
|
7940
7940
|
etime: I.data.etime
|
|
7941
7941
|
};
|
|
7942
7942
|
}
|
|
@@ -7993,7 +7993,7 @@ const wn = {
|
|
|
7993
7993
|
);
|
|
7994
7994
|
},
|
|
7995
7995
|
handleDrawWeather4Json() {
|
|
7996
|
-
var u, h, b, x,
|
|
7996
|
+
var u, h, b, x, z, g, P;
|
|
7997
7997
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
7998
7998
|
let e = 0, o = 0;
|
|
7999
7999
|
const i = (u = this.map) == null ? void 0 : u.getBounds(), a = (h = this.map) == null ? void 0 : h.getZoom(), r = K.convertToStdLng(i._sw.lng), l = K.convertToStdLng(i._ne.lng), c = Math.floor(i._sw.lat), n = Math.ceil(i._ne.lat);
|
|
@@ -8003,166 +8003,166 @@ const wn = {
|
|
|
8003
8003
|
let I = [];
|
|
8004
8004
|
if (T === "swell") {
|
|
8005
8005
|
O = !0;
|
|
8006
|
-
const
|
|
8007
|
-
for (const
|
|
8008
|
-
if (
|
|
8009
|
-
const C =
|
|
8010
|
-
r > l ? C.forEach((
|
|
8006
|
+
const L = ((b = this.weatherLayers[T]) == null ? void 0 : b.direction) || {};
|
|
8007
|
+
for (const v in L)
|
|
8008
|
+
if (v > c && v < n && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8009
|
+
const C = L[v].lng;
|
|
8010
|
+
r > l ? C.forEach((_, A) => {
|
|
8011
8011
|
var N, V, Z, U, ee, Q;
|
|
8012
8012
|
if (a < 2) {
|
|
8013
|
-
if ((
|
|
8014
|
-
const X = H.point([
|
|
8015
|
-
val: ((N =
|
|
8016
|
-
spd: (Z =
|
|
8013
|
+
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
8014
|
+
const X = H.point([_, v], {
|
|
8015
|
+
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
|
|
8016
|
+
spd: (Z = L[v].spd) == null ? void 0 : Z[A]
|
|
8017
8017
|
});
|
|
8018
8018
|
I.push(X);
|
|
8019
8019
|
}
|
|
8020
|
-
} else if ((
|
|
8021
|
-
const X = H.point([
|
|
8022
|
-
val: ((U =
|
|
8023
|
-
spd: (Q =
|
|
8020
|
+
} else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= l) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8021
|
+
const X = H.point([_, v], {
|
|
8022
|
+
val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8023
|
+
spd: (Q = L[v].spd) == null ? void 0 : Q[A]
|
|
8024
8024
|
});
|
|
8025
8025
|
I.push(X);
|
|
8026
8026
|
}
|
|
8027
|
-
}) : C.forEach((
|
|
8027
|
+
}) : C.forEach((_, A) => {
|
|
8028
8028
|
var N, V, Z, U, ee, Q;
|
|
8029
8029
|
if (r < 2) {
|
|
8030
|
-
if ((
|
|
8031
|
-
const X = H.point([
|
|
8032
|
-
val: ((N =
|
|
8033
|
-
spd: (Z =
|
|
8030
|
+
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
8031
|
+
const X = H.point([_, v], {
|
|
8032
|
+
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
|
|
8033
|
+
spd: (Z = L[v].spd) == null ? void 0 : Z[A]
|
|
8034
8034
|
});
|
|
8035
8035
|
I.push(X);
|
|
8036
8036
|
}
|
|
8037
|
-
} else if (
|
|
8038
|
-
const X = H.point([
|
|
8039
|
-
val: ((U =
|
|
8040
|
-
spd: (Q =
|
|
8037
|
+
} else if (_ >= r && _ <= l && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8038
|
+
const X = H.point([_, v], {
|
|
8039
|
+
val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8040
|
+
spd: (Q = L[v].spd) == null ? void 0 : Q[A]
|
|
8041
8041
|
});
|
|
8042
8042
|
I.push(X);
|
|
8043
8043
|
}
|
|
8044
8044
|
});
|
|
8045
8045
|
}
|
|
8046
8046
|
o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell direction elapsed: ", o, ", total: ", e += o);
|
|
8047
|
-
const
|
|
8048
|
-
if (
|
|
8049
|
-
if (!
|
|
8050
|
-
const
|
|
8051
|
-
for (const C in (x =
|
|
8052
|
-
const
|
|
8053
|
-
for (const A of
|
|
8054
|
-
|
|
8047
|
+
const k = this.weatherLayers[T].height;
|
|
8048
|
+
if (k) {
|
|
8049
|
+
if (!k.data) {
|
|
8050
|
+
const v = [];
|
|
8051
|
+
for (const C in (x = k.raw) == null ? void 0 : x.LineString) {
|
|
8052
|
+
const _ = k.raw.LineString[C];
|
|
8053
|
+
for (const A of _)
|
|
8054
|
+
v.push(
|
|
8055
8055
|
H.lineString(A, {
|
|
8056
8056
|
val: Number(C)
|
|
8057
8057
|
})
|
|
8058
8058
|
);
|
|
8059
|
-
|
|
8059
|
+
k.data = H.featureCollection(v);
|
|
8060
8060
|
}
|
|
8061
8061
|
}
|
|
8062
|
-
if (
|
|
8063
|
-
const
|
|
8064
|
-
I = I.concat(
|
|
8062
|
+
if (k.data) {
|
|
8063
|
+
const v = this.handleBboxClip(k.data, i);
|
|
8064
|
+
I = I.concat(v);
|
|
8065
8065
|
}
|
|
8066
8066
|
o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
|
|
8067
8067
|
}
|
|
8068
8068
|
} else if (T === "current") {
|
|
8069
8069
|
O = !0;
|
|
8070
|
-
const
|
|
8071
|
-
for (const
|
|
8072
|
-
if (
|
|
8073
|
-
const C =
|
|
8074
|
-
r > l ? C.forEach((
|
|
8070
|
+
const L = ((z = this.weatherLayers[T]) == null ? void 0 : z.direction) || {};
|
|
8071
|
+
for (const v in L)
|
|
8072
|
+
if (v > c && v < n && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8073
|
+
const C = L[v].lng;
|
|
8074
|
+
r > l ? C.forEach((_, A) => {
|
|
8075
8075
|
var N, V, Z, U, ee, Q;
|
|
8076
8076
|
if (a < 2) {
|
|
8077
|
-
if ((
|
|
8078
|
-
const X = H.point([
|
|
8079
|
-
val: ((N =
|
|
8080
|
-
spd: (Z =
|
|
8077
|
+
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
8078
|
+
const X = H.point([_, v], {
|
|
8079
|
+
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
|
|
8080
|
+
spd: (Z = L[v].spd) == null ? void 0 : Z[A]
|
|
8081
8081
|
});
|
|
8082
8082
|
I.push(X);
|
|
8083
8083
|
}
|
|
8084
|
-
} else if ((
|
|
8085
|
-
const X = H.point([
|
|
8086
|
-
val: ((U =
|
|
8087
|
-
spd: (Q =
|
|
8084
|
+
} else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= l) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8085
|
+
const X = H.point([_, v], {
|
|
8086
|
+
val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8087
|
+
spd: (Q = L[v].spd) == null ? void 0 : Q[A]
|
|
8088
8088
|
});
|
|
8089
8089
|
I.push(X);
|
|
8090
8090
|
}
|
|
8091
|
-
}) : C.forEach((
|
|
8091
|
+
}) : C.forEach((_, A) => {
|
|
8092
8092
|
var N, V, Z, U, ee, Q;
|
|
8093
8093
|
if (r < 2) {
|
|
8094
|
-
if ((
|
|
8095
|
-
const X = H.point([
|
|
8096
|
-
val: ((N =
|
|
8097
|
-
spd: (Z =
|
|
8094
|
+
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
8095
|
+
const X = H.point([_, v], {
|
|
8096
|
+
val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
|
|
8097
|
+
spd: (Z = L[v].spd) == null ? void 0 : Z[A]
|
|
8098
8098
|
});
|
|
8099
8099
|
I.push(X);
|
|
8100
8100
|
}
|
|
8101
|
-
} else if (
|
|
8102
|
-
const X = H.point([
|
|
8103
|
-
val: ((U =
|
|
8104
|
-
spd: (Q =
|
|
8101
|
+
} else if (_ >= r && _ <= l && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
8102
|
+
const X = H.point([_, v], {
|
|
8103
|
+
val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
|
|
8104
|
+
spd: (Q = L[v].spd) == null ? void 0 : Q[A]
|
|
8105
8105
|
});
|
|
8106
8106
|
I.push(X);
|
|
8107
8107
|
}
|
|
8108
8108
|
});
|
|
8109
8109
|
}
|
|
8110
8110
|
o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current direction elapsed: ", o, ", total: ", e += o);
|
|
8111
|
-
const
|
|
8112
|
-
if (
|
|
8113
|
-
if (!
|
|
8111
|
+
const k = this.weatherLayers[T].speed;
|
|
8112
|
+
if (k) {
|
|
8113
|
+
if (!k.data) {
|
|
8114
8114
|
const C = [];
|
|
8115
|
-
for (const
|
|
8116
|
-
const A =
|
|
8115
|
+
for (const _ in (g = k.raw) == null ? void 0 : g.Polygon) {
|
|
8116
|
+
const A = k.raw.Polygon[_];
|
|
8117
8117
|
for (const N of A)
|
|
8118
8118
|
C.push(
|
|
8119
8119
|
H.polygon(N, {
|
|
8120
|
-
val: Number(
|
|
8120
|
+
val: Number(_)
|
|
8121
8121
|
})
|
|
8122
8122
|
);
|
|
8123
8123
|
}
|
|
8124
|
-
|
|
8124
|
+
k.data = H.featureCollection(C);
|
|
8125
8125
|
}
|
|
8126
|
-
const
|
|
8127
|
-
I = I.concat(
|
|
8126
|
+
const v = a < this.zoom ? k.data.features.filter((C) => C.properties.val > 0.5) : k.data.features;
|
|
8127
|
+
I = I.concat(v), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
|
|
8128
8128
|
}
|
|
8129
8129
|
} else if (T === "wind") {
|
|
8130
8130
|
O = !0;
|
|
8131
|
-
const
|
|
8132
|
-
for (const
|
|
8133
|
-
if (
|
|
8134
|
-
const
|
|
8135
|
-
r > l ?
|
|
8131
|
+
const L = this.weatherLayers.wind.raw;
|
|
8132
|
+
for (const k in L)
|
|
8133
|
+
if (k > c && k < n && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8134
|
+
const v = L[k].lng;
|
|
8135
|
+
r > l ? v.forEach((C, _) => {
|
|
8136
8136
|
var A, N, V, Z;
|
|
8137
8137
|
if (a < 2) {
|
|
8138
8138
|
if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
|
|
8139
|
-
const U = H.point([C,
|
|
8140
|
-
dir: ((A =
|
|
8141
|
-
spd:
|
|
8139
|
+
const U = H.point([C, k], {
|
|
8140
|
+
dir: ((A = L[k].val) == null ? void 0 : A[_]) || ((N = L[k].dir) == null ? void 0 : N[_]),
|
|
8141
|
+
spd: L[k].spd[_]
|
|
8142
8142
|
});
|
|
8143
8143
|
I.push(U);
|
|
8144
8144
|
}
|
|
8145
8145
|
} else if ((C >= r && C <= 180 || C >= -180 && C <= l) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8146
|
-
const U = H.point([C,
|
|
8147
|
-
dir: ((V =
|
|
8148
|
-
spd:
|
|
8146
|
+
const U = H.point([C, k], {
|
|
8147
|
+
dir: ((V = L[k].val) == null ? void 0 : V[_]) || ((Z = L[k].dir) == null ? void 0 : Z[_]),
|
|
8148
|
+
spd: L[k].spd[_]
|
|
8149
8149
|
});
|
|
8150
8150
|
I.push(U);
|
|
8151
8151
|
}
|
|
8152
|
-
}) :
|
|
8152
|
+
}) : v.forEach((C, _) => {
|
|
8153
8153
|
var A, N, V, Z;
|
|
8154
8154
|
if (a < 2) {
|
|
8155
8155
|
if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
|
|
8156
|
-
const U = H.point([C,
|
|
8157
|
-
dir: ((A =
|
|
8158
|
-
spd:
|
|
8156
|
+
const U = H.point([C, k], {
|
|
8157
|
+
dir: ((A = L[k].val) == null ? void 0 : A[_]) || ((N = L[k].dir) == null ? void 0 : N[_]),
|
|
8158
|
+
spd: L[k].spd[_]
|
|
8159
8159
|
});
|
|
8160
8160
|
I.push(U);
|
|
8161
8161
|
}
|
|
8162
8162
|
} else if (C >= r && C <= l && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8163
|
-
const U = H.point([C,
|
|
8164
|
-
dir: ((V =
|
|
8165
|
-
spd:
|
|
8163
|
+
const U = H.point([C, k], {
|
|
8164
|
+
dir: ((V = L[k].val) == null ? void 0 : V[_]) || ((Z = L[k].dir) == null ? void 0 : Z[_]),
|
|
8165
|
+
spd: L[k].spd[_]
|
|
8166
8166
|
});
|
|
8167
8167
|
I.push(U);
|
|
8168
8168
|
}
|
|
@@ -8174,37 +8174,37 @@ const wn = {
|
|
|
8174
8174
|
I = this.weatherLayers[T].data;
|
|
8175
8175
|
else {
|
|
8176
8176
|
O = !0;
|
|
8177
|
-
const
|
|
8178
|
-
if (
|
|
8179
|
-
const
|
|
8180
|
-
for (const
|
|
8181
|
-
const C =
|
|
8182
|
-
for (const
|
|
8183
|
-
|
|
8184
|
-
H.polygon(
|
|
8185
|
-
val: Number(
|
|
8177
|
+
const L = this.weatherLayers[T].raw;
|
|
8178
|
+
if (L) {
|
|
8179
|
+
const k = [];
|
|
8180
|
+
for (const v in L.Polygon) {
|
|
8181
|
+
const C = L.Polygon[v];
|
|
8182
|
+
for (const _ of C)
|
|
8183
|
+
k.push(
|
|
8184
|
+
H.polygon(_, {
|
|
8185
|
+
val: Number(v)
|
|
8186
8186
|
})
|
|
8187
8187
|
);
|
|
8188
8188
|
}
|
|
8189
|
-
for (const
|
|
8190
|
-
const C =
|
|
8191
|
-
for (const
|
|
8192
|
-
|
|
8193
|
-
H.multiPolygon(
|
|
8194
|
-
val: Number(
|
|
8189
|
+
for (const v in L.MultiPolygon) {
|
|
8190
|
+
const C = L.MultiPolygon[v];
|
|
8191
|
+
for (const _ of C)
|
|
8192
|
+
k.push(
|
|
8193
|
+
H.multiPolygon(_, {
|
|
8194
|
+
val: Number(v)
|
|
8195
8195
|
})
|
|
8196
8196
|
);
|
|
8197
8197
|
}
|
|
8198
|
-
for (const
|
|
8199
|
-
const C =
|
|
8200
|
-
for (let
|
|
8201
|
-
|
|
8202
|
-
H.point([C.lng[
|
|
8203
|
-
val: Number(C.val[
|
|
8198
|
+
for (const v in L.Point) {
|
|
8199
|
+
const C = L.Point[v];
|
|
8200
|
+
for (let _ = 0; _ < ((P = C.lng) == null ? void 0 : P.length); _++)
|
|
8201
|
+
k.push(
|
|
8202
|
+
H.point([C.lng[_], v], {
|
|
8203
|
+
val: Number(C.val[_])
|
|
8204
8204
|
})
|
|
8205
8205
|
);
|
|
8206
8206
|
}
|
|
8207
|
-
I = I.concat(
|
|
8207
|
+
I = I.concat(k);
|
|
8208
8208
|
}
|
|
8209
8209
|
}
|
|
8210
8210
|
o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", o, ", total: ", e += o);
|
|
@@ -8213,28 +8213,28 @@ const wn = {
|
|
|
8213
8213
|
I = this.weatherLayers[T].data;
|
|
8214
8214
|
else {
|
|
8215
8215
|
O = !0;
|
|
8216
|
-
const
|
|
8217
|
-
if (
|
|
8218
|
-
const
|
|
8219
|
-
for (const
|
|
8220
|
-
const C =
|
|
8221
|
-
for (const
|
|
8222
|
-
|
|
8223
|
-
H.lineString(
|
|
8224
|
-
val: Number(
|
|
8216
|
+
const L = this.weatherLayers[T].raw;
|
|
8217
|
+
if (L) {
|
|
8218
|
+
const k = [];
|
|
8219
|
+
for (const v in L.LineString) {
|
|
8220
|
+
const C = L.LineString[v];
|
|
8221
|
+
for (const _ of C)
|
|
8222
|
+
k.push(
|
|
8223
|
+
H.lineString(_, {
|
|
8224
|
+
val: Number(v)
|
|
8225
8225
|
})
|
|
8226
8226
|
);
|
|
8227
8227
|
}
|
|
8228
|
-
for (const
|
|
8229
|
-
|
|
8230
|
-
C = K.convertToStdLng(C),
|
|
8231
|
-
H.point([C,
|
|
8232
|
-
val:
|
|
8233
|
-
type:
|
|
8228
|
+
for (const v in L.Point)
|
|
8229
|
+
L.Point[v].lng.forEach((C, _) => {
|
|
8230
|
+
C = K.convertToStdLng(C), k.push(
|
|
8231
|
+
H.point([C, v], {
|
|
8232
|
+
val: L.Point[v].val[_],
|
|
8233
|
+
type: L.Point[v].type[_]
|
|
8234
8234
|
})
|
|
8235
8235
|
);
|
|
8236
8236
|
});
|
|
8237
|
-
I = I.concat(
|
|
8237
|
+
I = I.concat(k);
|
|
8238
8238
|
}
|
|
8239
8239
|
}
|
|
8240
8240
|
o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
|
|
@@ -8282,7 +8282,7 @@ const wn = {
|
|
|
8282
8282
|
}, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, jn = { class: "text-body-2 text-label mb-3" }, Nn = { class: "text-body-1 font-weight-medium" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Gn = { class: "text-body-1 py-2" }, Wn = { class: "text-body-1 font-weight-medium" }, Un = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label mb-3" }, Zn = { class: "text-body-1 font-weight-medium" }, Yn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Xn = { class: "text-body-1 py-2" }, $n = { class: "text-body-1 font-weight-medium" }, Kn = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label mb-3" };
|
|
8283
8283
|
function Jn(t, e, o, i, a, r) {
|
|
8284
8284
|
var J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e;
|
|
8285
|
-
const l = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"),
|
|
8285
|
+
const l = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"), z = w("VSwitch"), g = w("VCardTitle"), P = w("VCardItem"), T = w("VCheckbox"), O = w("VRadio"), I = w("VBtnToggle"), L = w("IdmWindBarb"), k = w("IdmSigWaveHeight"), v = w("IdmCurrentDirection"), C = w("IdmPrmsl"), _ = w("IdmWindParticle"), A = w("IdmCurrentParticle"), N = w("IdmWave"), V = w("IdmSwell"), Z = w("IdmIceEdge"), U = w("IdmIceCover"), ee = w("IdmIceThickness"), Q = w("IdmPrecip3h"), X = w("IdmVisibility"), ne = w("IdmWaterTemp"), se = w("IdmTemp");
|
|
8286
8286
|
return y(), S("div", xn, [
|
|
8287
8287
|
s("div", {
|
|
8288
8288
|
class: "menu-bar-box transition pa-1",
|
|
@@ -8450,7 +8450,7 @@ function Jn(t, e, o, i, a, r) {
|
|
|
8450
8450
|
s("div", Mn, [
|
|
8451
8451
|
s("div", In, [
|
|
8452
8452
|
s("div", Dn, m(t.$t("weather.weather")), 1),
|
|
8453
|
-
p(
|
|
8453
|
+
p(z, {
|
|
8454
8454
|
modelValue: a.autoActive,
|
|
8455
8455
|
"onUpdate:modelValue": e[1] || (e[1] = (G) => a.autoActive = G),
|
|
8456
8456
|
class: "small-switch",
|
|
@@ -8482,7 +8482,7 @@ function Jn(t, e, o, i, a, r) {
|
|
|
8482
8482
|
elevation: "0"
|
|
8483
8483
|
}, {
|
|
8484
8484
|
default: f(() => [
|
|
8485
|
-
p(
|
|
8485
|
+
p(P, { class: "border-b-thin" }, {
|
|
8486
8486
|
default: f(() => [
|
|
8487
8487
|
p(g, {
|
|
8488
8488
|
class: "text-subtitle-1 font-weight-medium",
|
|
@@ -8522,7 +8522,7 @@ function Jn(t, e, o, i, a, r) {
|
|
|
8522
8522
|
elevation: "0"
|
|
8523
8523
|
}, {
|
|
8524
8524
|
default: f(() => [
|
|
8525
|
-
p(
|
|
8525
|
+
p(P, { class: "border-b-thin" }, {
|
|
8526
8526
|
default: f(() => [
|
|
8527
8527
|
p(g, {
|
|
8528
8528
|
class: "text-subtitle-1 font-weight-medium",
|
|
@@ -8556,7 +8556,7 @@ function Jn(t, e, o, i, a, r) {
|
|
|
8556
8556
|
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
|
|
8557
8557
|
a.renderKey === "wind-particle" && G.key === "wind-particle" ? (y(), S("div", An, [
|
|
8558
8558
|
s("span", null, m(t.$t("weather.particleAnimatiom")), 1),
|
|
8559
|
-
p(
|
|
8559
|
+
p(z, {
|
|
8560
8560
|
modelValue: a.showWindParticle,
|
|
8561
8561
|
"onUpdate:modelValue": e[4] || (e[4] = (te) => a.showWindParticle = te),
|
|
8562
8562
|
label: "",
|
|
@@ -8571,7 +8571,7 @@ function Jn(t, e, o, i, a, r) {
|
|
|
8571
8571
|
])) : D("", !0),
|
|
8572
8572
|
a.renderKey === "current-particle" && G.key === "current-particle" ? (y(), S("div", Rn, [
|
|
8573
8573
|
s("span", null, m(t.$t("weather.particleAnimatiom")), 1),
|
|
8574
|
-
p(
|
|
8574
|
+
p(z, {
|
|
8575
8575
|
modelValue: a.showCurrentParticle,
|
|
8576
8576
|
"onUpdate:modelValue": e[5] || (e[5] = (te) => a.showCurrentParticle = te),
|
|
8577
8577
|
label: "",
|
|
@@ -8682,7 +8682,7 @@ function Jn(t, e, o, i, a, r) {
|
|
|
8682
8682
|
elevation: "0"
|
|
8683
8683
|
}, {
|
|
8684
8684
|
default: f(() => [
|
|
8685
|
-
p(
|
|
8685
|
+
p(P, { class: "border-b-thin" }, {
|
|
8686
8686
|
default: f(() => [
|
|
8687
8687
|
p(g, {
|
|
8688
8688
|
class: "text-subtitle-1 font-weight-medium",
|
|
@@ -8729,7 +8729,7 @@ function Jn(t, e, o, i, a, r) {
|
|
|
8729
8729
|
})
|
|
8730
8730
|
], 2)
|
|
8731
8731
|
], 6),
|
|
8732
|
-
o.map ? (y(), R(
|
|
8732
|
+
o.map ? (y(), R(L, B({
|
|
8733
8733
|
key: 1,
|
|
8734
8734
|
ref: "windBarb",
|
|
8735
8735
|
map: o.map,
|
|
@@ -8738,7 +8738,7 @@ function Jn(t, e, o, i, a, r) {
|
|
|
8738
8738
|
wind: (J = a.weatherLayers) == null ? void 0 : J.wind,
|
|
8739
8739
|
"menu-toggle": o.menuToggle
|
|
8740
8740
|
}, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : D("", !0),
|
|
8741
|
-
o.map ? (y(), R(
|
|
8741
|
+
o.map ? (y(), R(k, B({
|
|
8742
8742
|
key: 2,
|
|
8743
8743
|
map: o.map,
|
|
8744
8744
|
"before-layer": "empty-layer-2",
|
|
@@ -8746,7 +8746,7 @@ function Jn(t, e, o, i, a, r) {
|
|
|
8746
8746
|
"menu-toggle": o.menuToggle,
|
|
8747
8747
|
"active-weather-layers": a.activeWeatherLayers
|
|
8748
8748
|
}, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : D("", !0),
|
|
8749
|
-
o.map ? (y(), R(
|
|
8749
|
+
o.map ? (y(), R(v, B({
|
|
8750
8750
|
key: 3,
|
|
8751
8751
|
map: o.map,
|
|
8752
8752
|
"map-feather": o.mapFeather,
|
|
@@ -8762,7 +8762,7 @@ function Jn(t, e, o, i, a, r) {
|
|
|
8762
8762
|
"menu-toggle": o.menuToggle,
|
|
8763
8763
|
"active-weather-layers": a.activeWeatherLayers
|
|
8764
8764
|
}, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : D("", !0),
|
|
8765
|
-
o.map ? (y(), R(
|
|
8765
|
+
o.map ? (y(), R(_, B({
|
|
8766
8766
|
key: 5,
|
|
8767
8767
|
viewport: a.viewport,
|
|
8768
8768
|
factor: (pe = a.weatherLayers) == null ? void 0 : pe["wind-particle"],
|
|
@@ -9150,11 +9150,11 @@ class Za {
|
|
|
9150
9150
|
const a = e.toLowerCase().split(","), r = [], l = [];
|
|
9151
9151
|
for (const c of a) {
|
|
9152
9152
|
let n = to.find((h) => {
|
|
9153
|
-
var b, x,
|
|
9154
|
-
return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((
|
|
9153
|
+
var b, x, z;
|
|
9154
|
+
return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((z = h.name) == null ? void 0 : z.toLowerCase()) === c;
|
|
9155
9155
|
}), u = oo.find((h) => {
|
|
9156
|
-
var b, x,
|
|
9157
|
-
return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((
|
|
9156
|
+
var b, x, z;
|
|
9157
|
+
return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((z = h.name) == null ? void 0 : z.toLowerCase()) === c;
|
|
9158
9158
|
});
|
|
9159
9159
|
n = n || to.find((h) => {
|
|
9160
9160
|
var b, x;
|
|
@@ -9179,7 +9179,7 @@ class Za {
|
|
|
9179
9179
|
}), a;
|
|
9180
9180
|
}
|
|
9181
9181
|
static pickHourly(e, o) {
|
|
9182
|
-
var i, a, r, l, c, n, u, h, b, x,
|
|
9182
|
+
var i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me;
|
|
9183
9183
|
const ue = typeof o == "string" ? M(o) : o, fe = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, Ce = M((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.clone().add((c = (l = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), re = Ce.clone().add((h = (u = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1), "h"), Oe = [];
|
|
9184
9184
|
if (ue.isBetween(oe, re, "millisecond", "[]")) {
|
|
9185
9185
|
const j = ue.utc().diff(oe, "h", !1);
|
|
@@ -9193,9 +9193,9 @@ class Za {
|
|
|
9193
9193
|
for (let Te = j - (j - 1) % 6; Te <= j; Te++)
|
|
9194
9194
|
Ee += (x = q == null ? void 0 : q.precipitation) == null ? void 0 : x.at(Te);
|
|
9195
9195
|
ye = {
|
|
9196
|
-
temp: (
|
|
9196
|
+
temp: (z = q == null ? void 0 : q.temperature_2m) == null ? void 0 : z.at(j),
|
|
9197
9197
|
apparentTemp: (g = q == null ? void 0 : q.apparent_temperature) == null ? void 0 : g.at(j),
|
|
9198
|
-
rh: (
|
|
9198
|
+
rh: (P = q == null ? void 0 : q.relative_humidity_2m) == null ? void 0 : P.at(j),
|
|
9199
9199
|
dp: (T = q == null ? void 0 : q.dew_point_2m) == null ? void 0 : T.at(j),
|
|
9200
9200
|
precip: {
|
|
9201
9201
|
probability: (O = q == null ? void 0 : q.precipitation_probability) == null ? void 0 : O.at(j),
|
|
@@ -9203,12 +9203,12 @@ class Za {
|
|
|
9203
9203
|
sum3Hours: Math.round(Be * 100) / 100,
|
|
9204
9204
|
sum6Hours: Math.round(Ee * 100) / 100
|
|
9205
9205
|
},
|
|
9206
|
-
pmsl: (
|
|
9207
|
-
psurf: (
|
|
9208
|
-
code: (
|
|
9206
|
+
pmsl: (L = q == null ? void 0 : q.pressure_msl) == null ? void 0 : L.at(j),
|
|
9207
|
+
psurf: (k = q == null ? void 0 : q.surface_pressure) == null ? void 0 : k.at(j),
|
|
9208
|
+
code: (v = q == null ? void 0 : q.weather_code) == null ? void 0 : v.at(j),
|
|
9209
9209
|
visibility: this.m2nm((C = q == null ? void 0 : q.visibility) == null ? void 0 : C.at(j)),
|
|
9210
9210
|
wind: {
|
|
9211
|
-
speed: (
|
|
9211
|
+
speed: (_ = q == null ? void 0 : q.wind_speed_10m) == null ? void 0 : _.at(j),
|
|
9212
9212
|
kts: (A = q == null ? void 0 : q.wind_speed_10m) == null ? void 0 : A.at(j),
|
|
9213
9213
|
degree: (N = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : N.at(j),
|
|
9214
9214
|
bearing: ((V = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : V.at(j)) !== null ? (((Z = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : Z.at(j)) + 180) % 360 : null,
|
|
@@ -9288,7 +9288,7 @@ class Za {
|
|
|
9288
9288
|
};
|
|
9289
9289
|
}
|
|
9290
9290
|
static pickDaily(e, o) {
|
|
9291
|
-
var i, a, r, l, c, n, u, h, b, x,
|
|
9291
|
+
var i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae;
|
|
9292
9292
|
const Re = typeof o == "string" ? M(o) : o, _e = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, te = M((r = (a = (i = _e == null ? void 0 : _e[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), He = M((n = (c = (l = _e == null ? void 0 : _e[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Me = [];
|
|
9293
9293
|
if (Re.isBetween(te, He, "millisecond", "[]")) {
|
|
9294
9294
|
let ue, fe;
|
|
@@ -9304,21 +9304,21 @@ class Za {
|
|
|
9304
9304
|
mean: (x = oe.temperature_2m_mean) == null ? void 0 : x.at(W)
|
|
9305
9305
|
},
|
|
9306
9306
|
apparentTemp: {
|
|
9307
|
-
max: (
|
|
9307
|
+
max: (z = oe.apparent_temperature_max) == null ? void 0 : z.at(W),
|
|
9308
9308
|
min: (g = oe.apparent_temperature_min) == null ? void 0 : g.at(W)
|
|
9309
9309
|
},
|
|
9310
9310
|
precip: {
|
|
9311
|
-
sum: (
|
|
9311
|
+
sum: (P = oe.precipitation_sum) == null ? void 0 : P.at(W),
|
|
9312
9312
|
rainSum: (T = oe.rain_sum) == null ? void 0 : T.at(W),
|
|
9313
9313
|
snowfallSum: (O = oe.snowfall_sum) == null ? void 0 : O.at(W),
|
|
9314
9314
|
showersSum: (I = oe.showers_sum) == null ? void 0 : I.at(W),
|
|
9315
|
-
hours: (
|
|
9316
|
-
probability: (
|
|
9315
|
+
hours: (L = oe.precipitation_hours) == null ? void 0 : L.at(W),
|
|
9316
|
+
probability: (k = oe.precipitation_probability_max) == null ? void 0 : k.at(W)
|
|
9317
9317
|
},
|
|
9318
9318
|
rh: {
|
|
9319
|
-
max: (
|
|
9319
|
+
max: (v = oe.relative_humidity_2m_max) == null ? void 0 : v.at(W),
|
|
9320
9320
|
min: (C = oe.relative_humidity_2m_min) == null ? void 0 : C.at(W),
|
|
9321
|
-
mean: (
|
|
9321
|
+
mean: (_ = oe.relative_humidity_2m_mean) == null ? void 0 : _.at(W)
|
|
9322
9322
|
},
|
|
9323
9323
|
wind: {
|
|
9324
9324
|
speed: (A = oe.wind_speed_10m_max) == null ? void 0 : A.at(W),
|
|
@@ -9975,9 +9975,9 @@ const tc = {
|
|
|
9975
9975
|
},
|
|
9976
9976
|
responseType: /\.(jpg|png)$/.test(u.tropicals) ? "blob" : "json"
|
|
9977
9977
|
}).then((h) => {
|
|
9978
|
-
var
|
|
9979
|
-
const b = Va.convert2Geojson(((
|
|
9980
|
-
((
|
|
9978
|
+
var z, g, P;
|
|
9979
|
+
const b = Va.convert2Geojson(((z = h == null ? void 0 : h.data) == null ? void 0 : z.data) || (h == null ? void 0 : h.data));
|
|
9980
|
+
((P = (g = h == null ? void 0 : h.config) == null ? void 0 : g.headers) == null ? void 0 : P.key) && b && (this.tropicals = {
|
|
9981
9981
|
data: b,
|
|
9982
9982
|
active: !0,
|
|
9983
9983
|
cached: !0,
|
|
@@ -9995,35 +9995,35 @@ const tc = {
|
|
|
9995
9995
|
handleRefresh() {
|
|
9996
9996
|
var e, o;
|
|
9997
9997
|
(((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
|
|
9998
|
-
var a, r, l, c, n, u, h, b, x,
|
|
9998
|
+
var a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k;
|
|
9999
9999
|
if (((a = i.geometry) == null ? void 0 : a.type) === "Point") {
|
|
10000
|
-
let
|
|
10000
|
+
let v = "";
|
|
10001
10001
|
switch (!0) {
|
|
10002
|
-
case ((r = i.properties.wind) == null ? void 0 : r.kts) < 32:
|
|
10003
|
-
|
|
10002
|
+
case (((r = i.properties.wind) == null ? void 0 : r.kts) < 32 || ((l = i.properties) == null ? void 0 : l.kts) < 32):
|
|
10003
|
+
v = "TD";
|
|
10004
10004
|
break;
|
|
10005
|
-
case ((
|
|
10006
|
-
|
|
10005
|
+
case (((c = i.properties.wind) == null ? void 0 : c.kts) < 47 || ((n = i.properties) == null ? void 0 : n.kts) < 47):
|
|
10006
|
+
v = "TS";
|
|
10007
10007
|
break;
|
|
10008
|
-
case ((
|
|
10009
|
-
|
|
10008
|
+
case (((u = i.properties.wind) == null ? void 0 : u.kts) < 63 || ((h = i.properties) == null ? void 0 : h.kts) < 63):
|
|
10009
|
+
v = "STS";
|
|
10010
10010
|
break;
|
|
10011
|
-
case ((
|
|
10012
|
-
|
|
10011
|
+
case (((b = i.properties.wind) == null ? void 0 : b.kts) < 79 || ((x = i.properties) == null ? void 0 : x.kts) < 79):
|
|
10012
|
+
v = "TY";
|
|
10013
10013
|
break;
|
|
10014
|
-
case ((
|
|
10015
|
-
|
|
10014
|
+
case (((z = i.properties.wind) == null ? void 0 : z.kts) < 94 || ((g = i.properties) == null ? void 0 : g.kts) < 94):
|
|
10015
|
+
v = "STY";
|
|
10016
10016
|
break;
|
|
10017
|
-
case ((
|
|
10018
|
-
|
|
10017
|
+
case (((P = i.properties.wind) == null ? void 0 : P.kts) >= 94 || ((T = i.properties) == null ? void 0 : T.kts) >= 94):
|
|
10018
|
+
v = "Super TY";
|
|
10019
10019
|
break;
|
|
10020
10020
|
default:
|
|
10021
|
-
|
|
10021
|
+
v = "Super TY";
|
|
10022
10022
|
break;
|
|
10023
10023
|
}
|
|
10024
|
-
i.properties.level =
|
|
10024
|
+
i.properties.level = v;
|
|
10025
10025
|
}
|
|
10026
|
-
((
|
|
10026
|
+
((O = i.geometry) == null ? void 0 : O.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (k = (L = M(i.properties.date)) == null ? void 0 : L.utcOffset(this.timeZone)) == null ? void 0 : k.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
|
|
10027
10027
|
}), this.handleInit();
|
|
10028
10028
|
},
|
|
10029
10029
|
handleInit() {
|
|
@@ -10249,8 +10249,8 @@ const tc = {
|
|
|
10249
10249
|
"text-halo-width": 1
|
|
10250
10250
|
}
|
|
10251
10251
|
}, this.beforeLayer), x = (/* @__PURE__ */ new Date()).valueOf() - (h + b), console.log("[tropical] add elapsed: ", x, ", total: ", b += x));
|
|
10252
|
-
const
|
|
10253
|
-
this.interpolateData = JSON.parse(JSON.stringify(
|
|
10252
|
+
const z = Va.interpolate(this.tropicals, 1);
|
|
10253
|
+
this.interpolateData = JSON.parse(JSON.stringify(z)), this.handleDateChange();
|
|
10254
10254
|
}
|
|
10255
10255
|
},
|
|
10256
10256
|
handleClear() {
|
|
@@ -10258,7 +10258,7 @@ const tc = {
|
|
|
10258
10258
|
this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
|
|
10259
10259
|
},
|
|
10260
10260
|
handleDateChange() {
|
|
10261
|
-
var t, e, o, i, a, r, l, c, n, u, h, b, x,
|
|
10261
|
+
var t, e, o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee;
|
|
10262
10262
|
if ((t = this.interpolateMarkers) == null || t.forEach((Q) => Q == null ? void 0 : Q.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
10263
10263
|
const Q = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), X = this.interpolateData.filter((J) => J.properties.date === (Q == null ? void 0 : Q.format()) && !J.properties.disabled), ne = this.handleComputePolygons(X), se = H.featureCollection([...X]);
|
|
10264
10264
|
ne.forEach((J) => {
|
|
@@ -10280,7 +10280,7 @@ const tc = {
|
|
|
10280
10280
|
for (const J of X)
|
|
10281
10281
|
if (!J.properties.disabled) {
|
|
10282
10282
|
let ae = "#f44336";
|
|
10283
|
-
((c = (l = J.properties) == null ? void 0 : l.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = J.properties) == null ? void 0 : n.wind) != null && u.kts) ? ae = "#03f869" : ((b = (h = J.properties) == null ? void 0 : h.wind) == null ? void 0 : b.kts) >= 32 && ((
|
|
10283
|
+
((c = (l = J.properties) == null ? void 0 : l.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = J.properties) == null ? void 0 : n.wind) != null && u.kts) ? ae = "#03f869" : ((b = (h = J.properties) == null ? void 0 : h.wind) == null ? void 0 : b.kts) >= 32 && ((z = (x = J.properties) == null ? void 0 : x.wind) == null ? void 0 : z.kts) < 47 ? ae = "#f2f202" : ((P = (g = J.properties) == null ? void 0 : g.wind) == null ? void 0 : P.kts) >= 47 && ((O = (T = J.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((L = (I = J.properties) == null ? void 0 : I.wind) == null ? void 0 : L.kts) >= 63 && ((v = (k = J.properties) == null ? void 0 : k.wind) == null ? void 0 : v.kts) < 79 ? ae = "#f44336" : ((_ = (C = J.properties) == null ? void 0 : C.wind) == null ? void 0 : _.kts) >= 79 && ((N = (A = J.properties) == null ? void 0 : A.wind) == null ? void 0 : N.kts) < 94 ? ae = "#f903d0" : ((Z = (V = J.properties) == null ? void 0 : V.wind) == null ? void 0 : Z.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
|
|
10284
10284
|
const he = `<svg t="1719918955501"
|
|
10285
10285
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
10286
10286
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -10306,25 +10306,25 @@ const tc = {
|
|
|
10306
10306
|
handleClick(t) {
|
|
10307
10307
|
var a, r, l, c, n, u, h, b, x;
|
|
10308
10308
|
const e = t.features[0], o = (r = (a = this.tropicals) == null ? void 0 : a.data) == null ? void 0 : r.features.filter(
|
|
10309
|
-
(
|
|
10309
|
+
(z) => {
|
|
10310
10310
|
var g;
|
|
10311
|
-
return
|
|
10311
|
+
return z.geometry.type === "LineString" && z.properties.type === "forecast" && z.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
|
|
10312
10312
|
}
|
|
10313
10313
|
), i = (c = (l = this.tropicals) == null ? void 0 : l.data) == null ? void 0 : c.features.filter(
|
|
10314
|
-
(
|
|
10314
|
+
(z) => {
|
|
10315
10315
|
var g;
|
|
10316
|
-
return
|
|
10316
|
+
return z.geometry.type === "LineString" && z.properties.type === "history" && z.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
|
|
10317
10317
|
}
|
|
10318
10318
|
);
|
|
10319
10319
|
this.activeTropicals = {
|
|
10320
10320
|
name: (n = e == null ? void 0 : e.properties) == null ? void 0 : n.name,
|
|
10321
10321
|
nameCn: (u = e == null ? void 0 : e.properties) == null ? void 0 : u.nameCn,
|
|
10322
|
-
forecasts: o.map((
|
|
10322
|
+
forecasts: o.map((z) => z.properties),
|
|
10323
10323
|
history: (h = i[0]) == null ? void 0 : h.properties,
|
|
10324
10324
|
showCircle: (x = (b = o[0]) == null ? void 0 : b.properties) == null ? void 0 : x.showCircle
|
|
10325
10325
|
}, this.showTropicalsInfo = !0, this.$nextTick(() => {
|
|
10326
|
-
const
|
|
10327
|
-
this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new ve.Marker(
|
|
10326
|
+
const z = document.getElementById("idm-tropical-gl4-info");
|
|
10327
|
+
this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new ve.Marker(z).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
|
|
10328
10328
|
});
|
|
10329
10329
|
},
|
|
10330
10330
|
handleCloseInfoMarker() {
|
|
@@ -10471,7 +10471,7 @@ const tc = {
|
|
|
10471
10471
|
class: "d-flex justify-start align-center"
|
|
10472
10472
|
}, Yc = { class: "text-label pr-1" }, qc = { class: "d-flex justify-start align-center" }, Xc = { class: "text-label pr-1" };
|
|
10473
10473
|
function $c(t, e, o, i, a, r) {
|
|
10474
|
-
const l = w("VBtn"), c = w("VTooltip"), n = w("VCardText"), u = w("VDivider"), h = w("VCardActions"), b = w("VCard"), x = w("v-card-title"),
|
|
10474
|
+
const l = w("VBtn"), c = w("VTooltip"), n = w("VCardText"), u = w("VDivider"), h = w("VCardActions"), b = w("VCard"), x = w("v-card-title"), z = w("v-divider");
|
|
10475
10475
|
return y(), S("div", oc, [
|
|
10476
10476
|
s("div", {
|
|
10477
10477
|
class: "menu-bar-box transition pa-1",
|
|
@@ -10508,11 +10508,11 @@ function $c(t, e, o, i, a, r) {
|
|
|
10508
10508
|
default: f(() => [
|
|
10509
10509
|
p(n, null, {
|
|
10510
10510
|
default: f(() => {
|
|
10511
|
-
var g,
|
|
10511
|
+
var g, P, T, O, I, L, k, v, C, _, A;
|
|
10512
10512
|
return [
|
|
10513
10513
|
s("div", ic, [
|
|
10514
|
-
s("span", rc, m(o.locale === "en" ? (g = a.activeTropicals) == null ? void 0 : g.name : (
|
|
10515
|
-
(O = (T = a.activeTropicals) == null ? void 0 : T.history) != null && O.level ? (y(), S("span", sc, ", " + m((
|
|
10514
|
+
s("span", rc, m(o.locale === "en" ? (g = a.activeTropicals) == null ? void 0 : g.name : (P = a.activeTropicals) == null ? void 0 : P.nameCn), 1),
|
|
10515
|
+
(O = (T = a.activeTropicals) == null ? void 0 : T.history) != null && O.level ? (y(), S("span", sc, ", " + m((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.level), 1)) : D("", !0)
|
|
10516
10516
|
]),
|
|
10517
10517
|
p(l, {
|
|
10518
10518
|
icon: "",
|
|
@@ -10529,7 +10529,7 @@ function $c(t, e, o, i, a, r) {
|
|
|
10529
10529
|
}, 8, ["onClick"]),
|
|
10530
10530
|
s("div", lc, [
|
|
10531
10531
|
s("span", nc, m(t.$t("actions.lastUpdate")) + ": ", 1),
|
|
10532
|
-
s("span", null, m(r.computeTime(((
|
|
10532
|
+
s("span", null, m(r.computeTime(((v = (k = a.activeTropicals) == null ? void 0 : k.history) == null ? void 0 : v.updated) || ((A = (_ = (C = a.activeTropicals) == null ? void 0 : C.forecasts) == null ? void 0 : _.filter((N) => !N.disabled)[0]) == null ? void 0 : A.date), o.timeZone)), 1)
|
|
10533
10533
|
])
|
|
10534
10534
|
];
|
|
10535
10535
|
}),
|
|
@@ -10538,43 +10538,43 @@ function $c(t, e, o, i, a, r) {
|
|
|
10538
10538
|
p(u),
|
|
10539
10539
|
p(n, { class: "text-body-1" }, {
|
|
10540
10540
|
default: f(() => {
|
|
10541
|
-
var g,
|
|
10541
|
+
var g, P, T, O, I, L, k, v, C;
|
|
10542
10542
|
return [
|
|
10543
10543
|
s("div", cc, [
|
|
10544
10544
|
s("div", mc, [
|
|
10545
10545
|
s("label", dc, m(t.$t("weather.windSpeed")) + " : ", 1),
|
|
10546
|
-
s("span", null, m(((
|
|
10546
|
+
s("span", null, m(((P = (g = a.activeTropicals) == null ? void 0 : g.history) == null ? void 0 : P.kts) || "-") + " kts", 1),
|
|
10547
10547
|
s("span", null, ", BF " + m(r.computeBF(((O = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : O.kts) || "-")), 1)
|
|
10548
10548
|
]),
|
|
10549
10549
|
s("div", hc, [
|
|
10550
10550
|
s("label", pc, m(t.$t("weather.pressure")) + " : ", 1),
|
|
10551
|
-
s("span", null, m(((
|
|
10551
|
+
s("span", null, m(((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.pressure) || "-") + " hPa", 1)
|
|
10552
10552
|
])
|
|
10553
10553
|
]),
|
|
10554
10554
|
s("div", uc, [
|
|
10555
10555
|
s("div", gc, [
|
|
10556
10556
|
s("label", fc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
|
|
10557
|
-
s("span", null, m(((
|
|
10557
|
+
s("span", null, m(((k = r.computeMovement(a.activeTropicals)) == null ? void 0 : k.kts) || "-") + " kts", 1)
|
|
10558
10558
|
]),
|
|
10559
10559
|
s("div", yc, [
|
|
10560
10560
|
s("label", bc, m(t.$t("tropical.moveDir")) + " : ", 1),
|
|
10561
|
-
s("span", null, m(((
|
|
10561
|
+
s("span", null, m(((v = r.computeMovement(a.activeTropicals)) == null ? void 0 : v.deg) || "-") + "°", 1)
|
|
10562
10562
|
])
|
|
10563
10563
|
]),
|
|
10564
10564
|
s("div", wc, [
|
|
10565
10565
|
s("label", xc, m(t.$t("weather.forecastModels")) + " : ", 1),
|
|
10566
10566
|
s("div", vc, [
|
|
10567
|
-
(y(!0), S(be, null, we((C = a.activeTropicals) == null ? void 0 : C.forecasts, (
|
|
10567
|
+
(y(!0), S(be, null, we((C = a.activeTropicals) == null ? void 0 : C.forecasts, (_, A) => (y(), R(l, {
|
|
10568
10568
|
key: A,
|
|
10569
10569
|
density: "compact",
|
|
10570
|
-
variant:
|
|
10571
|
-
color:
|
|
10570
|
+
variant: _.disabled ? "text" : "flat",
|
|
10571
|
+
color: _.disabled ? "" : "primary",
|
|
10572
10572
|
"min-width": 30,
|
|
10573
|
-
class: Ne(["model text-none text-body-1 px-1",
|
|
10574
|
-
onClick: je((N) => r.handleForecastToggle(
|
|
10573
|
+
class: Ne(["model text-none text-body-1 px-1", _.disabled ? "btn-border-1 btn-bg-1" : ""]),
|
|
10574
|
+
onClick: je((N) => r.handleForecastToggle(_), ["stop"])
|
|
10575
10575
|
}, {
|
|
10576
10576
|
default: f(() => [
|
|
10577
|
-
$(m(
|
|
10577
|
+
$(m(_.model), 1)
|
|
10578
10578
|
]),
|
|
10579
10579
|
_: 2
|
|
10580
10580
|
}, 1032, ["variant", "color", "class", "onClick"]))), 128))
|
|
@@ -10706,25 +10706,25 @@ function $c(t, e, o, i, a, r) {
|
|
|
10706
10706
|
default: f(() => [
|
|
10707
10707
|
p(x, null, {
|
|
10708
10708
|
default: f(() => {
|
|
10709
|
-
var g,
|
|
10709
|
+
var g, P, T;
|
|
10710
10710
|
return [
|
|
10711
10711
|
s("div", Pc, [
|
|
10712
|
-
s("span", Cc, m(o.locale === "en" ? (g = a.hoverPoint) == null ? void 0 : g.name : (
|
|
10712
|
+
s("span", Cc, m(o.locale === "en" ? (g = a.hoverPoint) == null ? void 0 : g.name : (P = a.hoverPoint) == null ? void 0 : P.nameCn), 1),
|
|
10713
10713
|
s("span", Tc, "[ " + m((T = a.hoverPoint) == null ? void 0 : T.level) + " ]", 1)
|
|
10714
10714
|
])
|
|
10715
10715
|
];
|
|
10716
10716
|
}),
|
|
10717
10717
|
_: 1
|
|
10718
10718
|
}),
|
|
10719
|
-
p(
|
|
10719
|
+
p(z),
|
|
10720
10720
|
p(n, { class: "text-body-1" }, {
|
|
10721
10721
|
default: f(() => {
|
|
10722
|
-
var g,
|
|
10722
|
+
var g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se;
|
|
10723
10723
|
return [
|
|
10724
10724
|
s("div", Sc, [
|
|
10725
10725
|
((g = a.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (y(), S("div", Mc, [
|
|
10726
10726
|
s("label", Ic, m(t.$t("tropical.updated")) + " : ", 1),
|
|
10727
|
-
s("span", null, m(r.computeTzTime((
|
|
10727
|
+
s("span", null, m(r.computeTzTime((P = a.hoverPoint) == null ? void 0 : P.update, o.timeZone)), 1)
|
|
10728
10728
|
])) : D("", !0),
|
|
10729
10729
|
((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (y(), S("div", Dc, [
|
|
10730
10730
|
s("label", Ac, m(t.$t("tropical.forecast")) + " : ", 1),
|
|
@@ -10732,15 +10732,15 @@ function $c(t, e, o, i, a, r) {
|
|
|
10732
10732
|
])) : D("", !0),
|
|
10733
10733
|
((I = a.hoverPoint) == null ? void 0 : I.type) === "history" ? (y(), S("div", Rc, [
|
|
10734
10734
|
s("label", Oc, m(t.$t("tropical.forecast")) + " : ", 1),
|
|
10735
|
-
s("span", null, m(r.computeTzTime((
|
|
10735
|
+
s("span", null, m(r.computeTzTime((L = a.hoverPoint) == null ? void 0 : L.date, o.timeZone)), 1)
|
|
10736
10736
|
])) : D("", !0),
|
|
10737
|
-
((
|
|
10737
|
+
((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (y(), S("div", Bc, [
|
|
10738
10738
|
s("label", Ec, m(t.$t("tropical.model")) + " : ", 1),
|
|
10739
|
-
s("span", null, m(((
|
|
10739
|
+
s("span", null, m(((v = a.hoverPoint) == null ? void 0 : v.model) ?? "-"), 1)
|
|
10740
10740
|
])) : D("", !0),
|
|
10741
10741
|
((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), S("div", jc, [
|
|
10742
10742
|
s("label", Nc, m(t.$t("weather.wind")) + " : ", 1),
|
|
10743
|
-
s("span", null, m(((A = JSON.parse((
|
|
10743
|
+
s("span", null, m(((A = JSON.parse((_ = a.hoverPoint) == null ? void 0 : _.wind)) == null ? void 0 : A.kts) ?? "-") + " kts", 1)
|
|
10744
10744
|
])) : D("", !0),
|
|
10745
10745
|
((N = a.hoverPoint) == null ? void 0 : N.type) === "history" ? (y(), S("div", Fc, [
|
|
10746
10746
|
s("label", Hc, m(t.$t("weather.wind")) + " : ", 1),
|
|
@@ -10943,7 +10943,7 @@ const Kc = {
|
|
|
10943
10943
|
style: { height: "56px" }
|
|
10944
10944
|
};
|
|
10945
10945
|
function om(t, e, o, i, a, r) {
|
|
10946
|
-
const l = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), h = w("VListItem"), b = w("VList"), x = w("VCardText"),
|
|
10946
|
+
const l = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), h = w("VListItem"), b = w("VList"), x = w("VCardText"), z = w("VCardActions"), g = w("VCard");
|
|
10947
10947
|
return y(), S("div", Qc, [
|
|
10948
10948
|
p(l, {
|
|
10949
10949
|
text: "",
|
|
@@ -10967,7 +10967,7 @@ function om(t, e, o, i, a, r) {
|
|
|
10967
10967
|
s("div", Jc, [
|
|
10968
10968
|
p(c, {
|
|
10969
10969
|
modelValue: a.currentDate,
|
|
10970
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
10970
|
+
"onUpdate:modelValue": e[0] || (e[0] = (P) => a.currentDate = P),
|
|
10971
10971
|
min: a.minDate,
|
|
10972
10972
|
max: a.maxDate,
|
|
10973
10973
|
"mode-icon": () => r.currentYear,
|
|
@@ -10987,22 +10987,22 @@ function om(t, e, o, i, a, r) {
|
|
|
10987
10987
|
s("div", tm, m(a.currentTime), 1),
|
|
10988
10988
|
p(b, { class: "pa-0 flex-1-1-0" }, {
|
|
10989
10989
|
default: f(() => [
|
|
10990
|
-
(y(!0), S(be, null, we(r.hourOptions, (
|
|
10990
|
+
(y(!0), S(be, null, we(r.hourOptions, (P, T) => (y(), R(h, {
|
|
10991
10991
|
key: T,
|
|
10992
|
-
value:
|
|
10992
|
+
value: P,
|
|
10993
10993
|
color: "primary",
|
|
10994
|
-
active: a.currentTime ===
|
|
10994
|
+
active: a.currentTime === P,
|
|
10995
10995
|
rounded: "",
|
|
10996
10996
|
height: "26",
|
|
10997
10997
|
"min-height": "26"
|
|
10998
10998
|
}, {
|
|
10999
10999
|
default: f(() => [
|
|
11000
11000
|
p(u, {
|
|
11001
|
-
class: "text-body-2 text-center",
|
|
11002
|
-
onClick: (O) => a.currentTime =
|
|
11001
|
+
class: "text-body-2 font-weight-600 text-center",
|
|
11002
|
+
onClick: (O) => a.currentTime = P
|
|
11003
11003
|
}, {
|
|
11004
11004
|
default: f(() => [
|
|
11005
|
-
$(m(
|
|
11005
|
+
$(m(P), 1)
|
|
11006
11006
|
]),
|
|
11007
11007
|
_: 2
|
|
11008
11008
|
}, 1032, ["onClick"])
|
|
@@ -11017,7 +11017,7 @@ function om(t, e, o, i, a, r) {
|
|
|
11017
11017
|
_: 1
|
|
11018
11018
|
}),
|
|
11019
11019
|
p(n),
|
|
11020
|
-
p(
|
|
11020
|
+
p(z, {
|
|
11021
11021
|
class: "justify-end pa-0 pr-4",
|
|
11022
11022
|
style: { height: "50px" }
|
|
11023
11023
|
}, {
|
|
@@ -11295,10 +11295,10 @@ const am = {
|
|
|
11295
11295
|
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData), this.handleDrawInfoMarker([t.lng, t.lat])), this.loading = !1;
|
|
11296
11296
|
},
|
|
11297
11297
|
initTableData(t) {
|
|
11298
|
-
var o, i, a, r, l, c, n, u, h, b, x,
|
|
11298
|
+
var o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe;
|
|
11299
11299
|
this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
|
|
11300
11300
|
const e = ((l = ao.pickHourly(t, M(this.form.dateTime))) == null ? void 0 : l[0]) || {};
|
|
11301
|
-
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (
|
|
11301
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (N = e == null ? void 0 : e.wave) == null ? void 0 : N.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((U = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.wd) == null ? void 0 : U.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ne = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (he = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((pe = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
|
|
11302
11302
|
},
|
|
11303
11303
|
handleBind() {
|
|
11304
11304
|
var t, e;
|
|
@@ -11407,7 +11407,7 @@ const am = {
|
|
|
11407
11407
|
"aria-hidden": "true"
|
|
11408
11408
|
}, Wm = ["xlink:href"];
|
|
11409
11409
|
function Um(t, e, o, i, a, r) {
|
|
11410
|
-
const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), b = w("VCol"), x = w("VRow"),
|
|
11410
|
+
const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), b = w("VCol"), x = w("VRow"), z = w("DateTimePicker"), g = w("VBtnToggle"), P = w("VCardText"), T = w("VCardActions"), O = w("VForm"), I = w("VCard"), L = w("VIcon");
|
|
11411
11411
|
return y(), S("div", im, [
|
|
11412
11412
|
s("div", {
|
|
11413
11413
|
class: "menu-bar-box transition pa-1",
|
|
@@ -11417,8 +11417,8 @@ function Um(t, e, o, i, a, r) {
|
|
|
11417
11417
|
text: t.$t("spot.spotsMeteo"),
|
|
11418
11418
|
location: "left"
|
|
11419
11419
|
}, {
|
|
11420
|
-
activator: f(({ props:
|
|
11421
|
-
p(l, B(
|
|
11420
|
+
activator: f(({ props: k }) => [
|
|
11421
|
+
p(l, B(k, {
|
|
11422
11422
|
"min-width": "32",
|
|
11423
11423
|
width: "32",
|
|
11424
11424
|
height: "32",
|
|
@@ -11463,14 +11463,14 @@ function Um(t, e, o, i, a, r) {
|
|
|
11463
11463
|
_: 1
|
|
11464
11464
|
}),
|
|
11465
11465
|
p(u),
|
|
11466
|
-
p(O, {
|
|
11466
|
+
p(O, {
|
|
11467
|
+
ref: "spotForm",
|
|
11468
|
+
autocomplete: "off",
|
|
11469
|
+
class: "form-box",
|
|
11470
|
+
onSubmit: je(r.submitForm, ["prevent"])
|
|
11471
|
+
}, {
|
|
11467
11472
|
default: f(() => [
|
|
11468
|
-
p(
|
|
11469
|
-
ref: "spotForm",
|
|
11470
|
-
autocomplete: "off",
|
|
11471
|
-
class: "form-box",
|
|
11472
|
-
onSubmit: je(r.submitForm, ["prevent"])
|
|
11473
|
-
}, {
|
|
11473
|
+
p(P, { class: "text-body-1 py-1" }, {
|
|
11474
11474
|
default: f(() => [
|
|
11475
11475
|
s("div", lm, [
|
|
11476
11476
|
(y(), S("svg", nm, [
|
|
@@ -11489,11 +11489,11 @@ function Um(t, e, o, i, a, r) {
|
|
|
11489
11489
|
default: f(() => [
|
|
11490
11490
|
p(h, {
|
|
11491
11491
|
modelValue: a.form.lngDegree,
|
|
11492
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
11492
|
+
"onUpdate:modelValue": e[0] || (e[0] = (k) => a.form.lngDegree = k),
|
|
11493
11493
|
rules: a.formRules.lngDegree,
|
|
11494
11494
|
density: "compact",
|
|
11495
11495
|
variant: "outlined",
|
|
11496
|
-
class: "text-body-1",
|
|
11496
|
+
class: "text-body-1 input-btn-bg-1",
|
|
11497
11497
|
required: "",
|
|
11498
11498
|
dense: ""
|
|
11499
11499
|
}, null, 8, ["modelValue", "rules"]),
|
|
@@ -11509,12 +11509,12 @@ function Um(t, e, o, i, a, r) {
|
|
|
11509
11509
|
default: f(() => [
|
|
11510
11510
|
p(h, {
|
|
11511
11511
|
modelValue: a.form.lngMinute,
|
|
11512
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
11512
|
+
"onUpdate:modelValue": e[1] || (e[1] = (k) => a.form.lngMinute = k),
|
|
11513
11513
|
rules: a.formRules.lngMinute,
|
|
11514
11514
|
label: "",
|
|
11515
11515
|
density: "compact",
|
|
11516
11516
|
variant: "outlined",
|
|
11517
|
-
class: "text-body-1",
|
|
11517
|
+
class: "text-body-1 input-btn-bg-1",
|
|
11518
11518
|
required: "",
|
|
11519
11519
|
dense: ""
|
|
11520
11520
|
}, null, 8, ["modelValue", "rules"]),
|
|
@@ -11536,7 +11536,7 @@ function Um(t, e, o, i, a, r) {
|
|
|
11536
11536
|
height: "32",
|
|
11537
11537
|
class: "text-body-1 btn-bg-1",
|
|
11538
11538
|
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
11539
|
-
onClick: e[2] || (e[2] = (
|
|
11539
|
+
onClick: e[2] || (e[2] = (k) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
|
|
11540
11540
|
}, {
|
|
11541
11541
|
default: f(() => [
|
|
11542
11542
|
$(m(a.form.lngDirection), 1)
|
|
@@ -11566,7 +11566,7 @@ function Um(t, e, o, i, a, r) {
|
|
|
11566
11566
|
default: f(() => [
|
|
11567
11567
|
p(h, {
|
|
11568
11568
|
modelValue: a.form.latDegree,
|
|
11569
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
11569
|
+
"onUpdate:modelValue": e[3] || (e[3] = (k) => a.form.latDegree = k),
|
|
11570
11570
|
rules: a.formRules.latDegree,
|
|
11571
11571
|
label: "",
|
|
11572
11572
|
density: "compact",
|
|
@@ -11575,7 +11575,7 @@ function Um(t, e, o, i, a, r) {
|
|
|
11575
11575
|
"min-height": "32px",
|
|
11576
11576
|
required: "",
|
|
11577
11577
|
dense: "",
|
|
11578
|
-
class: "text-body-1"
|
|
11578
|
+
class: "text-body-1 input-btn-bg-1"
|
|
11579
11579
|
}, null, 8, ["modelValue", "rules"]),
|
|
11580
11580
|
e[12] || (e[12] = s("span", { class: "px-1" }, "°", -1))
|
|
11581
11581
|
]),
|
|
@@ -11589,12 +11589,12 @@ function Um(t, e, o, i, a, r) {
|
|
|
11589
11589
|
default: f(() => [
|
|
11590
11590
|
p(h, {
|
|
11591
11591
|
modelValue: a.form.latMinute,
|
|
11592
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
11592
|
+
"onUpdate:modelValue": e[4] || (e[4] = (k) => a.form.latMinute = k),
|
|
11593
11593
|
rules: a.formRules.latMinute,
|
|
11594
11594
|
label: "",
|
|
11595
11595
|
density: "compact",
|
|
11596
11596
|
variant: "outlined",
|
|
11597
|
-
class: "text-body-1",
|
|
11597
|
+
class: "text-body-1 input-btn-bg-1",
|
|
11598
11598
|
required: "",
|
|
11599
11599
|
dense: ""
|
|
11600
11600
|
}, null, 8, ["modelValue", "rules"]),
|
|
@@ -11616,7 +11616,7 @@ function Um(t, e, o, i, a, r) {
|
|
|
11616
11616
|
height: "32",
|
|
11617
11617
|
class: "text-body-1 btn-bg-1",
|
|
11618
11618
|
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
11619
|
-
onClick: e[5] || (e[5] = (
|
|
11619
|
+
onClick: e[5] || (e[5] = (k) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
|
|
11620
11620
|
}, {
|
|
11621
11621
|
default: f(() => [
|
|
11622
11622
|
$(m(a.form.latDirection), 1)
|
|
@@ -11644,11 +11644,11 @@ function Um(t, e, o, i, a, r) {
|
|
|
11644
11644
|
class: "pa-0"
|
|
11645
11645
|
}, {
|
|
11646
11646
|
default: f(() => [
|
|
11647
|
-
p(
|
|
11647
|
+
p(z, B({
|
|
11648
11648
|
"date-time": a.form.dateTime,
|
|
11649
11649
|
"time-zone": o.timeZone
|
|
11650
11650
|
}, t.$attrs, {
|
|
11651
|
-
onDateTime: e[6] || (e[6] = (
|
|
11651
|
+
onDateTime: e[6] || (e[6] = (k) => a.form.dateTime = k)
|
|
11652
11652
|
}), null, 16, ["date-time", "time-zone"])
|
|
11653
11653
|
]),
|
|
11654
11654
|
_: 1
|
|
@@ -11673,7 +11673,7 @@ function Um(t, e, o, i, a, r) {
|
|
|
11673
11673
|
default: f(() => [
|
|
11674
11674
|
p(g, {
|
|
11675
11675
|
modelValue: a.form.forecastModel,
|
|
11676
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
11676
|
+
"onUpdate:modelValue": e[7] || (e[7] = (k) => a.form.forecastModel = k),
|
|
11677
11677
|
class: "w-100",
|
|
11678
11678
|
rounded: "",
|
|
11679
11679
|
height: "30",
|
|
@@ -11717,44 +11717,44 @@ function Um(t, e, o, i, a, r) {
|
|
|
11717
11717
|
})
|
|
11718
11718
|
]),
|
|
11719
11719
|
_: 1
|
|
11720
|
-
})
|
|
11721
|
-
|
|
11722
|
-
|
|
11720
|
+
})
|
|
11721
|
+
]),
|
|
11722
|
+
_: 1
|
|
11723
|
+
}),
|
|
11724
|
+
p(u),
|
|
11725
|
+
p(T, { class: "d-flex justify-end align-center ga-4" }, {
|
|
11726
|
+
default: f(() => [
|
|
11727
|
+
p(l, {
|
|
11728
|
+
size: "small",
|
|
11729
|
+
variant: "outlined",
|
|
11730
|
+
class: "text-none text-body-1 btn-border-1 btn-bg-1",
|
|
11731
|
+
onClick: r.cancelForm
|
|
11732
|
+
}, {
|
|
11723
11733
|
default: f(() => [
|
|
11724
|
-
|
|
11725
|
-
size: "small",
|
|
11726
|
-
variant: "outlined",
|
|
11727
|
-
class: "text-none text-body-1 btn-border-1 btn-bg-1",
|
|
11728
|
-
onClick: r.cancelForm
|
|
11729
|
-
}, {
|
|
11730
|
-
default: f(() => [
|
|
11731
|
-
$(m(t.$t("actions.clear")), 1)
|
|
11732
|
-
]),
|
|
11733
|
-
_: 1
|
|
11734
|
-
}, 8, ["onClick"]),
|
|
11735
|
-
p(l, {
|
|
11736
|
-
ref: "submitSpot",
|
|
11737
|
-
loading: a.loading,
|
|
11738
|
-
size: "small",
|
|
11739
|
-
variant: "flat",
|
|
11740
|
-
color: "primary",
|
|
11741
|
-
type: "submit",
|
|
11742
|
-
class: "text-none text-body-1"
|
|
11743
|
-
}, {
|
|
11744
|
-
default: f(() => [
|
|
11745
|
-
$(m(t.$t("actions.confirm")), 1)
|
|
11746
|
-
]),
|
|
11747
|
-
_: 1
|
|
11748
|
-
}, 8, ["loading"])
|
|
11734
|
+
$(m(t.$t("actions.clear")), 1)
|
|
11749
11735
|
]),
|
|
11750
11736
|
_: 1
|
|
11751
|
-
})
|
|
11737
|
+
}, 8, ["onClick"]),
|
|
11738
|
+
p(l, {
|
|
11739
|
+
ref: "submitSpot",
|
|
11740
|
+
loading: a.loading,
|
|
11741
|
+
size: "small",
|
|
11742
|
+
variant: "flat",
|
|
11743
|
+
color: "primary",
|
|
11744
|
+
type: "submit",
|
|
11745
|
+
class: "text-none text-body-1"
|
|
11746
|
+
}, {
|
|
11747
|
+
default: f(() => [
|
|
11748
|
+
$(m(t.$t("actions.confirm")), 1)
|
|
11749
|
+
]),
|
|
11750
|
+
_: 1
|
|
11751
|
+
}, 8, ["loading"])
|
|
11752
11752
|
]),
|
|
11753
11753
|
_: 1
|
|
11754
|
-
}
|
|
11754
|
+
})
|
|
11755
11755
|
]),
|
|
11756
11756
|
_: 1
|
|
11757
|
-
})
|
|
11757
|
+
}, 8, ["onSubmit"])
|
|
11758
11758
|
]),
|
|
11759
11759
|
_: 1
|
|
11760
11760
|
}, 8, ["style"])) : D("", !0),
|
|
@@ -11791,20 +11791,20 @@ function Um(t, e, o, i, a, r) {
|
|
|
11791
11791
|
_: 1
|
|
11792
11792
|
}),
|
|
11793
11793
|
p(u),
|
|
11794
|
-
p(
|
|
11794
|
+
p(P, { class: "text-body-1 px-0 py-1" }, {
|
|
11795
11795
|
default: f(() => {
|
|
11796
|
-
var
|
|
11796
|
+
var k, v;
|
|
11797
11797
|
return [
|
|
11798
11798
|
s("div", vm, [
|
|
11799
11799
|
s("div", _m, m(t.$t("time.time")), 1),
|
|
11800
|
-
s("div", km, m(r.computedTzTime((
|
|
11800
|
+
s("div", km, m(r.computedTzTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
|
|
11801
11801
|
]),
|
|
11802
11802
|
s("div", zm, [
|
|
11803
11803
|
e[18] || (e[18] = s("div", {
|
|
11804
11804
|
style: { width: "100px" },
|
|
11805
11805
|
class: "pa-0 pr-2 text-right opacity-50"
|
|
11806
11806
|
}, "LT", -1)),
|
|
11807
|
-
s("div", Lm, m(r.computedLocalTime((
|
|
11807
|
+
s("div", Lm, m(r.computedLocalTime((v = a.currentHourData) == null ? void 0 : v.utc)), 1)
|
|
11808
11808
|
]),
|
|
11809
11809
|
s("div", Pm, [
|
|
11810
11810
|
s("div", Cm, m(t.$t("weather.wind")), 1),
|
|
@@ -11829,11 +11829,11 @@ function Um(t, e, o, i, a, r) {
|
|
|
11829
11829
|
_: 1
|
|
11830
11830
|
}),
|
|
11831
11831
|
p(u),
|
|
11832
|
-
p(
|
|
11832
|
+
p(T, { class: "d-flex justify-space-between align-center" }, {
|
|
11833
11833
|
default: f(() => [
|
|
11834
|
-
o.followList.some((
|
|
11835
|
-
var
|
|
11836
|
-
return ((
|
|
11834
|
+
o.followList.some((k) => {
|
|
11835
|
+
var v, C;
|
|
11836
|
+
return ((v = k == null ? void 0 : k.coordinate) == null ? void 0 : v.lng) === a.form.lng && ((C = k == null ? void 0 : k.coordinate) == null ? void 0 : C.lat) === a.form.lat;
|
|
11837
11837
|
}) ? (y(), R(l, {
|
|
11838
11838
|
key: 0,
|
|
11839
11839
|
class: "text-none text-body-1",
|
|
@@ -11845,7 +11845,7 @@ function Um(t, e, o, i, a, r) {
|
|
|
11845
11845
|
onClick: je(r.handleCancelFollow, ["stop"])
|
|
11846
11846
|
}, {
|
|
11847
11847
|
prepend: f(() => [
|
|
11848
|
-
p(
|
|
11848
|
+
p(L, {
|
|
11849
11849
|
color: "warning",
|
|
11850
11850
|
style: { "font-size": "20px", "margin-top": "-2px" }
|
|
11851
11851
|
})
|
|
@@ -11865,7 +11865,7 @@ function Um(t, e, o, i, a, r) {
|
|
|
11865
11865
|
onClick: je(r.handleFollow, ["stop"])
|
|
11866
11866
|
}, {
|
|
11867
11867
|
prepend: f(() => [
|
|
11868
|
-
p(
|
|
11868
|
+
p(L, { style: { "font-size": "20px", "margin-top": "-2px" } })
|
|
11869
11869
|
]),
|
|
11870
11870
|
default: f(() => [
|
|
11871
11871
|
$(m(t.$t("actions.follow")) + " ", 1)
|
|
@@ -12008,12 +12008,12 @@ const Zm = {
|
|
|
12008
12008
|
return;
|
|
12009
12009
|
}
|
|
12010
12010
|
});
|
|
12011
|
-
const
|
|
12011
|
+
const P = x.features.filter((T) => T.geometry.type === "Point");
|
|
12012
12012
|
this.handleTmpPointUpdate(
|
|
12013
12013
|
x,
|
|
12014
|
-
|
|
12015
|
-
{ lng: (u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, lat: (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat, properties:
|
|
12016
|
-
g ===
|
|
12014
|
+
P[g - 1],
|
|
12015
|
+
{ lng: (u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, lat: (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat, properties: P[g].properties },
|
|
12016
|
+
g === P.length - 1 ? void 0 : P[g + 1]
|
|
12017
12017
|
);
|
|
12018
12018
|
}
|
|
12019
12019
|
},
|
|
@@ -12021,13 +12021,13 @@ const Zm = {
|
|
|
12021
12021
|
var o, i, a, r, l, c, n, u, h, b;
|
|
12022
12022
|
const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
|
|
12023
12023
|
if ((e == null ? void 0 : e.split("-").length) === 2) {
|
|
12024
|
-
const x = this.geojson.filter((
|
|
12025
|
-
this.pointMarkers[x.id].filter((
|
|
12024
|
+
const x = this.geojson.filter((P) => P.id === e.split("-")[0])[0];
|
|
12025
|
+
this.pointMarkers[x.id].filter((P) => {
|
|
12026
12026
|
var T;
|
|
12027
|
-
return ((T =
|
|
12027
|
+
return ((T = P._element) == null ? void 0 : T.id) === e;
|
|
12028
12028
|
})[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (c = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : c.lat]);
|
|
12029
|
-
const g = x.features.filter((
|
|
12030
|
-
g.geometry.coordinates = [(u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat], x.features = x.features.filter((
|
|
12029
|
+
const g = x.features.filter((P) => P.geometry.type === "Point" && P.properties.id === e.split("-")[1])[0];
|
|
12030
|
+
g.geometry.coordinates = [(u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat], x.features = x.features.filter((P) => P.geometry.type === "Point"), this.handlePointUpdate(x);
|
|
12031
12031
|
}
|
|
12032
12032
|
},
|
|
12033
12033
|
handleContextmenu(t) {
|
|
@@ -12079,8 +12079,8 @@ const Zm = {
|
|
|
12079
12079
|
o = K.roundPrecision(o + h, 4);
|
|
12080
12080
|
let x;
|
|
12081
12081
|
c.mode === "RL" ? x = K.convertToMonotonicLng([n, u]) : x = K.convertToMonotonicLng(Ge.interpolateCoordinates(n, u, 200));
|
|
12082
|
-
const
|
|
12083
|
-
|
|
12082
|
+
const z = H.lineString(x.map((P) => [P.lng, P.lat]));
|
|
12083
|
+
z.properties.dist = h, z.properties.bearing = b, z.properties.total = o, z.properties.name = "Line " + this.currentLineIndex, i.push(z);
|
|
12084
12084
|
const g = e[a];
|
|
12085
12085
|
g.properties.totalDist = K.roundPrecision((c.totalDist ? c.totalDist : 0) + h, 4), g.properties.sumLabel = g.properties.totalDist + " nm";
|
|
12086
12086
|
}
|
|
@@ -12096,7 +12096,7 @@ const Zm = {
|
|
|
12096
12096
|
r = Ge.calculateDistance(u, h, n.mode === "RL", 4), l = Ge.calculateBearing(u, h, n.mode === "RL", 2);
|
|
12097
12097
|
let b;
|
|
12098
12098
|
n.mode === "RL" ? b = K.convertToMonotonicLng([u, h]) : b = K.convertToMonotonicLng(Ge.interpolateCoordinates(u, h, 200));
|
|
12099
|
-
const x = H.lineString(b.map((
|
|
12099
|
+
const x = H.lineString(b.map((z) => [z.lng, z.lat]));
|
|
12100
12100
|
x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
|
|
12101
12101
|
}
|
|
12102
12102
|
if (i) {
|
|
@@ -12104,7 +12104,7 @@ const Zm = {
|
|
|
12104
12104
|
r = Ge.calculateDistance(u, h, n.mode === "RL", 4), l = Ge.calculateBearing(u, h, n.mode === "RL", 2);
|
|
12105
12105
|
let b;
|
|
12106
12106
|
n.mode === "RL" ? b = K.convertToMonotonicLng([u, h]) : b = K.convertToMonotonicLng(Ge.interpolateCoordinates(u, h, 200));
|
|
12107
|
-
const x = H.lineString(b.map((
|
|
12107
|
+
const x = H.lineString(b.map((z) => [z.lng, z.lat]));
|
|
12108
12108
|
x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
|
|
12109
12109
|
}
|
|
12110
12110
|
this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(a) : this.map.addSource(this.tmpSource, {
|
|
@@ -12246,11 +12246,11 @@ const Zm = {
|
|
|
12246
12246
|
}
|
|
12247
12247
|
},
|
|
12248
12248
|
handleClear(t, e = !0) {
|
|
12249
|
-
var l, c, n, u, h, b, x,
|
|
12249
|
+
var l, c, n, u, h, b, x, z, g, P;
|
|
12250
12250
|
const o = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, a = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
|
|
12251
12251
|
(l = this.map) != null && l.getLayer(i) && this.map.removeLayer(i), (c = this.map) != null && c.getLayer(a) && this.map.removeLayer(a), (n = this.map) != null && n.getLayer(r) && this.map.removeLayer(r), (u = this.map) != null && u.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (h = this.map) != null && h.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (b = this.closeMarkers[t.id]) == null || b.remove(), this.closeMarkers[t.id] = void 0, (x = this.pointMarkers[t.id]) == null || x.forEach((T) => {
|
|
12252
12252
|
T == null || T.remove();
|
|
12253
|
-
}), this.pointMarkers[t.id] = [], (
|
|
12253
|
+
}), this.pointMarkers[t.id] = [], (z = this.tipMarker) == null || z.remove(), this.tipMarker = void 0, e && ((g = this.map) != null && g.getSource(o)) && this.map.removeSource(o), e && ((P = this.map) != null && P.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
|
|
12254
12254
|
}
|
|
12255
12255
|
}
|
|
12256
12256
|
}, Ym = { class: "idm-gl4-measure" };
|
|
@@ -12416,7 +12416,7 @@ const $m = {
|
|
|
12416
12416
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
12417
12417
|
}, ad = ["onClick"], id = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, rd = { class: "text-body-1" };
|
|
12418
12418
|
function sd(t, e, o, i, a, r) {
|
|
12419
|
-
const l = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), h = w("VMenu"), b = w("VBtn"), x = w("VDivider"),
|
|
12419
|
+
const l = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), h = w("VMenu"), b = w("VBtn"), x = w("VDivider"), z = w("VTooltip");
|
|
12420
12420
|
return y(), S("div", Km, [
|
|
12421
12421
|
s("div", {
|
|
12422
12422
|
class: "timeline-box px-2 d-flex justify-start align-center rounded",
|
|
@@ -12447,8 +12447,8 @@ function sd(t, e, o, i, a, r) {
|
|
|
12447
12447
|
default: f(() => [
|
|
12448
12448
|
p(u, { class: "pa-1" }, {
|
|
12449
12449
|
default: f(() => [
|
|
12450
|
-
(y(!0), S(be, null, we(a.intervalOptions, (g,
|
|
12451
|
-
key:
|
|
12450
|
+
(y(!0), S(be, null, we(a.intervalOptions, (g, P) => (y(), R(n, {
|
|
12451
|
+
key: P,
|
|
12452
12452
|
value: g,
|
|
12453
12453
|
variant: a.intervalHour === g ? "tonal" : "text",
|
|
12454
12454
|
color: "primary",
|
|
@@ -12560,16 +12560,16 @@ function sd(t, e, o, i, a, r) {
|
|
|
12560
12560
|
style: { height: "16px" }
|
|
12561
12561
|
}),
|
|
12562
12562
|
s("div", ed, [
|
|
12563
|
-
p(
|
|
12563
|
+
p(z, {
|
|
12564
12564
|
text: t.$t("weather.windBarbs"),
|
|
12565
12565
|
location: "top"
|
|
12566
12566
|
}, {
|
|
12567
12567
|
activator: f(({ props: g }) => {
|
|
12568
|
-
var
|
|
12568
|
+
var P, T;
|
|
12569
12569
|
return [
|
|
12570
12570
|
p(b, B(g, {
|
|
12571
12571
|
class: "pa-1 d-flex",
|
|
12572
|
-
color: (
|
|
12572
|
+
color: (P = o.weatherCheckList) != null && P.includes("wind") ? "primary" : "",
|
|
12573
12573
|
variant: (T = o.weatherCheckList) != null && T.includes("wind") ? "elevated" : "text",
|
|
12574
12574
|
height: "24",
|
|
12575
12575
|
width: "24",
|
|
@@ -12586,16 +12586,16 @@ function sd(t, e, o, i, a, r) {
|
|
|
12586
12586
|
}),
|
|
12587
12587
|
_: 1
|
|
12588
12588
|
}, 8, ["text"]),
|
|
12589
|
-
p(
|
|
12589
|
+
p(z, {
|
|
12590
12590
|
text: t.$t("weather.sigWaveHeight"),
|
|
12591
12591
|
location: "top"
|
|
12592
12592
|
}, {
|
|
12593
12593
|
activator: f(({ props: g }) => {
|
|
12594
|
-
var
|
|
12594
|
+
var P, T;
|
|
12595
12595
|
return [
|
|
12596
12596
|
p(b, B(g, {
|
|
12597
12597
|
class: "pa-1 d-flex",
|
|
12598
|
-
color: (
|
|
12598
|
+
color: (P = o.weatherCheckList) != null && P.includes("sig-wave-height") ? "primary" : "",
|
|
12599
12599
|
variant: (T = o.weatherCheckList) != null && T.includes("sig-wave-height") ? "elevated" : "text",
|
|
12600
12600
|
height: "24",
|
|
12601
12601
|
width: "24",
|
|
@@ -12611,16 +12611,16 @@ function sd(t, e, o, i, a, r) {
|
|
|
12611
12611
|
}),
|
|
12612
12612
|
_: 1
|
|
12613
12613
|
}, 8, ["text"]),
|
|
12614
|
-
p(
|
|
12614
|
+
p(z, {
|
|
12615
12615
|
text: t.$t("weather.currentDirection"),
|
|
12616
12616
|
location: "top"
|
|
12617
12617
|
}, {
|
|
12618
12618
|
activator: f(({ props: g }) => {
|
|
12619
|
-
var
|
|
12619
|
+
var P, T;
|
|
12620
12620
|
return [
|
|
12621
12621
|
p(b, B(g, {
|
|
12622
12622
|
class: "pa-1 d-flex",
|
|
12623
|
-
color: (
|
|
12623
|
+
color: (P = o.weatherCheckList) != null && P.includes("current-direction") ? "primary" : "",
|
|
12624
12624
|
variant: (T = o.weatherCheckList) != null && T.includes("current-direction") ? "elevated" : "text",
|
|
12625
12625
|
height: "24",
|
|
12626
12626
|
width: "24",
|
|
@@ -12636,7 +12636,7 @@ function sd(t, e, o, i, a, r) {
|
|
|
12636
12636
|
}),
|
|
12637
12637
|
_: 1
|
|
12638
12638
|
}, 8, ["text"]),
|
|
12639
|
-
p(
|
|
12639
|
+
p(z, {
|
|
12640
12640
|
text: t.$t("weather.weatherLayers"),
|
|
12641
12641
|
location: "top"
|
|
12642
12642
|
}, {
|
|
@@ -12700,7 +12700,7 @@ function sd(t, e, o, i, a, r) {
|
|
|
12700
12700
|
(y(!0), S(be, null, we(a.offsets, (g) => (y(), S("div", {
|
|
12701
12701
|
key: g,
|
|
12702
12702
|
class: "item rounded text-body-2 hover-active",
|
|
12703
|
-
onClick: (
|
|
12703
|
+
onClick: (P) => a.timeZone = g
|
|
12704
12704
|
}, m(g < 0 ? g : "+" + g), 9, ad))), 128))
|
|
12705
12705
|
])) : D("", !0),
|
|
12706
12706
|
s("div", id, [
|
|
@@ -12861,7 +12861,7 @@ class hd {
|
|
|
12861
12861
|
de(this, "hi");
|
|
12862
12862
|
de(this, "td");
|
|
12863
12863
|
de(this, "windy");
|
|
12864
|
-
var o, i, a, r, l, c, n, u, h, b, x,
|
|
12864
|
+
var o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, X, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me, ue, fe, W, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Qe, Je, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, eo, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Mo, Io, Do, Ao, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Wo, Uo, Vo, Zo, Yo, qo, Xo, $o, Ko, Qo, Jo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga, Wa, Ua;
|
|
12865
12865
|
this.i4 = {
|
|
12866
12866
|
source: {
|
|
12867
12867
|
type: "raster",
|
|
@@ -31507,12 +31507,12 @@ class hd {
|
|
|
31507
31507
|
(c = (l = this.originStyle) == null ? void 0 : l.light.layers) == null ? void 0 : c.find((d) => d.id === "ice-area-fill"),
|
|
31508
31508
|
(u = (n = this.originStyle) == null ? void 0 : n.light.layers) == null ? void 0 : u.find((d) => d.id === "ice-area-line"),
|
|
31509
31509
|
(b = (h = this.originStyle) == null ? void 0 : h.light.layers) == null ? void 0 : b.find((d) => d.id === "loadlines-label"),
|
|
31510
|
-
(
|
|
31511
|
-
(
|
|
31510
|
+
(z = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : z.find((d) => d.id === "loadlines-fill"),
|
|
31511
|
+
(P = (g = this.originStyle) == null ? void 0 : g.light.layers) == null ? void 0 : P.find((d) => d.id === "empty-layer-0"),
|
|
31512
31512
|
(O = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : O.find((d) => d.id === "empty-layer-1"),
|
|
31513
|
-
(
|
|
31514
|
-
(
|
|
31515
|
-
(
|
|
31513
|
+
(L = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : L.find((d) => d.id === "country-boundaries"),
|
|
31514
|
+
(v = (k = this.originStyle) == null ? void 0 : k.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline"),
|
|
31515
|
+
(_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((d) => d.id === "water-outline2"),
|
|
31516
31516
|
(N = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : N.find((d) => d.id === "empty-layer-2"),
|
|
31517
31517
|
(Z = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : Z.find((d) => d.id === "water-line-label"),
|
|
31518
31518
|
(ee = (U = this.originStyle) == null ? void 0 : U.light.layers) == null ? void 0 : ee.find((d) => d.id === "water-point-label"),
|