@idmwx/idmui-gl4 2.4.8 → 2.5.0
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/{chunk-3VYIPD3A-33e8d505.js → chunk-3VYIPD3A-7bba9867.js} +1 -1
- package/dist/{chunk-ANSXOGKI-a3f2d987.js → chunk-ANSXOGKI-0641d9ef.js} +1 -1
- package/dist/{chunk-T4JIPPZO-b938315a.js → chunk-T4JIPPZO-35a51ff3.js} +1 -1
- package/dist/{download-3f242467.js → download-3d60b5fc.js} +3 -3
- package/dist/{index-caef7c34.js → index-7d123658.js} +539 -524
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +10 -10
- package/dist/{rasterize-JS5G2XHH-9a3949a4.js → rasterize-JS5G2XHH-3680a964.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{toBlob-bcc09b83.js → toBlob-943afae5.js} +3 -3
- package/dist/{toCanvas-3827678e.js → toCanvas-6cce7667.js} +2 -2
- package/dist/{toImg-cee6058d.js → toImg-fda395a3.js} +3 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ var zr = (e, t, o) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var we = (e, t, o) => (zr(e, typeof t != "symbol" ? t + "" : t, o), o);
|
|
4
4
|
import Ze from "axios";
|
|
5
5
|
import { useTheme as Fe } from "vuetify";
|
|
6
|
-
import { openBlock as
|
|
6
|
+
import { openBlock as P, createElementBlock as I, resolveComponent as T, createBlock as B, normalizeClass as _e, withCtx as C, createVNode as k, withModifiers as ze, createElementVNode as n, createCommentVNode as N, toDisplayString as b, createTextVNode as de, Fragment as Ie, renderList as De, withDirectives as Qe, vShow as et, mergeProps as Y, normalizeStyle as ue } from "vue";
|
|
7
7
|
import Ae from "mapbox-gl";
|
|
8
8
|
import G from "moment";
|
|
9
9
|
import { LngLatHelper as ce, TropicalHelper as Ii, LaneHelper as Je } from "@idm-plugin/geo";
|
|
@@ -113,7 +113,7 @@ const ne = (e, t) => {
|
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
function Sr(e, t, o, i, a, r) {
|
|
116
|
-
return
|
|
116
|
+
return P(), I("div");
|
|
117
117
|
}
|
|
118
118
|
const Tr = /* @__PURE__ */ ne(Mr, [["render", Sr]]), Rr = {
|
|
119
119
|
name: "IdmGmdssArea",
|
|
@@ -240,7 +240,7 @@ const Tr = /* @__PURE__ */ ne(Mr, [["render", Sr]]), Rr = {
|
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
function Ir(e, t, o, i, a, r) {
|
|
243
|
-
return
|
|
243
|
+
return P(), I("div");
|
|
244
244
|
}
|
|
245
245
|
const Dr = /* @__PURE__ */ ne(Rr, [["render", Ir]]), Ar = {
|
|
246
246
|
name: "IdmEcaZone",
|
|
@@ -336,7 +336,7 @@ const Dr = /* @__PURE__ */ ne(Rr, [["render", Ir]]), Ar = {
|
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
function Gr(e, t, o, i, a, r) {
|
|
339
|
-
return
|
|
339
|
+
return P(), I("div");
|
|
340
340
|
}
|
|
341
341
|
const Wr = /* @__PURE__ */ ne(Ar, [["render", Gr]]);
|
|
342
342
|
const Fr = {
|
|
@@ -498,14 +498,14 @@ const Fr = {
|
|
|
498
498
|
}, Nr = ["innerHTML"];
|
|
499
499
|
function Br(e, t, o, i, a, r) {
|
|
500
500
|
const l = T("VBtn"), c = T("v-card-text"), s = T("v-card");
|
|
501
|
-
return a.showMakerInfo ? (
|
|
501
|
+
return a.showMakerInfo ? (P(), B(s, {
|
|
502
502
|
key: 0,
|
|
503
503
|
class: _e(["idm-gl4-zone-info overflow-auto scroll", o.simple ? "page" : "dialog"]),
|
|
504
504
|
id: "idm-gl4-zone-info"
|
|
505
505
|
}, {
|
|
506
|
-
default:
|
|
506
|
+
default: C(() => [
|
|
507
507
|
k(c, null, {
|
|
508
|
-
default:
|
|
508
|
+
default: C(() => {
|
|
509
509
|
var h;
|
|
510
510
|
return [
|
|
511
511
|
k(l, {
|
|
@@ -515,7 +515,7 @@ function Br(e, t, o, i, a, r) {
|
|
|
515
515
|
class: "close",
|
|
516
516
|
onClick: ze(r.handleRemoveMarker, ["stop"])
|
|
517
517
|
}, {
|
|
518
|
-
default:
|
|
518
|
+
default: C(() => t[0] || (t[0] = [
|
|
519
519
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
520
520
|
])),
|
|
521
521
|
_: 1,
|
|
@@ -1512,10 +1512,10 @@ const Er = {
|
|
|
1512
1512
|
{ label: "Swell", key: "weather.swell", unit: "m" },
|
|
1513
1513
|
{ label: "Current", key: "weather.current", unit: "kts" }
|
|
1514
1514
|
], (o = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
|
|
1515
|
-
var c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he,
|
|
1515
|
+
var c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he, D, H, U, te, j, O, $, A, ie, ge, xe, ke;
|
|
1516
1516
|
let r = {};
|
|
1517
1517
|
const l = ((c = jo.pickHourly(e, G(i))) == null ? void 0 : c[0]) || {};
|
|
1518
|
-
r.utc = l.utc, r.lat = e.lat, r.lng = e.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((h = l == null ? void 0 : l.weather) == null ? void 0 : h.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((g = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : g.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((y = (p = l == null ? void 0 : l.weather) == null ? void 0 : p.precip) == null ? void 0 : y.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((u = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.wind) == null ? void 0 : u.kts, 1) ?? "-", r.windDir = (v = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.wind) == null ? void 0 : v.direction, r.windLevel = this.computeRoundPrecision((_ = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((z = (S = l == null ? void 0 : l.weather) == null ? void 0 : S.wind) == null ? void 0 : z.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (M = l == null ? void 0 : l.wave) == null ? void 0 : M.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (F = (W = l == null ? void 0 : l.wave) == null ? void 0 : W.sig) == null ? void 0 : F.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (E = l == null ? void 0 : l.wave) == null ? void 0 : E.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (he = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.direction, r.windwavePeriod = this.computeRoundPrecision((H = (
|
|
1518
|
+
r.utc = l.utc, r.lat = e.lat, r.lng = e.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((h = l == null ? void 0 : l.weather) == null ? void 0 : h.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((g = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : g.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((y = (p = l == null ? void 0 : l.weather) == null ? void 0 : p.precip) == null ? void 0 : y.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((u = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.wind) == null ? void 0 : u.kts, 1) ?? "-", r.windDir = (v = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.wind) == null ? void 0 : v.direction, r.windLevel = this.computeRoundPrecision((_ = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((z = (S = l == null ? void 0 : l.weather) == null ? void 0 : S.wind) == null ? void 0 : z.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (M = l == null ? void 0 : l.wave) == null ? void 0 : M.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (F = (W = l == null ? void 0 : l.wave) == null ? void 0 : W.sig) == null ? void 0 : F.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (E = l == null ? void 0 : l.wave) == null ? void 0 : E.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (he = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.direction, r.windwavePeriod = this.computeRoundPrecision((H = (D = l == null ? void 0 : l.wave) == null ? void 0 : D.wd) == null ? void 0 : H.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((te = (U = l == null ? void 0 : l.wave) == null ? void 0 : U.swell) == null ? void 0 : te.height, 1) ?? "-", r.swellDir = (O = (j = l == null ? void 0 : l.wave) == null ? void 0 : j.swell) == null ? void 0 : O.direction, r.swellPeriod = this.computeRoundPrecision((A = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.swell) == null ? void 0 : A.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ie = l == null ? void 0 : l.current) == null ? void 0 : ie.speed, 1) ?? "-", r.currentDir = (ge = l == null ? void 0 : l.current) == null ? void 0 : ge.direction, r.currentSpeed = this.computeRoundPrecision((xe = l == null ? void 0 : l.current) == null ? void 0 : xe.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 = (ke = l == null ? void 0 : l.weather) == null ? void 0 : ke.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;
|
|
1519
1519
|
});
|
|
1520
1520
|
},
|
|
1521
1521
|
handleTide() {
|
|
@@ -1720,14 +1720,14 @@ const Er = {
|
|
|
1720
1720
|
}, Zl = { class: "px-1 text-center" }, El = { class: "px-1 text-center" }, Ol = { class: "px-1 text-center" };
|
|
1721
1721
|
function jl(e, t, o, i, a, r) {
|
|
1722
1722
|
const l = T("VBtn"), c = T("VCardTitle"), s = T("VDivider"), h = T("VBtnToggle"), m = T("VCard");
|
|
1723
|
-
return
|
|
1723
|
+
return P(), B(m, {
|
|
1724
1724
|
class: _e(["port-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
|
|
1725
1725
|
}, {
|
|
1726
|
-
default:
|
|
1726
|
+
default: C(() => {
|
|
1727
1727
|
var g, p, y;
|
|
1728
1728
|
return [
|
|
1729
1729
|
k(c, { class: "w-100" }, {
|
|
1730
|
-
default:
|
|
1730
|
+
default: C(() => {
|
|
1731
1731
|
var f, d, u, x, v, w;
|
|
1732
1732
|
return [
|
|
1733
1733
|
n("div", Or, [
|
|
@@ -1738,11 +1738,11 @@ function jl(e, t, o, i, a, r) {
|
|
|
1738
1738
|
}, null, 2),
|
|
1739
1739
|
n("div", null, b((x = o.port) == null ? void 0 : x.name), 1)
|
|
1740
1740
|
]),
|
|
1741
|
-
o.simple ? (
|
|
1741
|
+
o.simple ? (P(), I("div", Xr, [
|
|
1742
1742
|
(v = o.followList) != null && v.some((_) => {
|
|
1743
1743
|
var S;
|
|
1744
1744
|
return ((S = _.port) == null ? void 0 : S.id) === o.portId;
|
|
1745
|
-
}) ? (
|
|
1745
|
+
}) ? (P(), B(l, {
|
|
1746
1746
|
key: 0,
|
|
1747
1747
|
class: "text-none rounded-circle",
|
|
1748
1748
|
variant: "text",
|
|
@@ -1752,12 +1752,12 @@ function jl(e, t, o, i, a, r) {
|
|
|
1752
1752
|
"min-width": "28",
|
|
1753
1753
|
onClick: r.handleCancelFollow
|
|
1754
1754
|
}, {
|
|
1755
|
-
default:
|
|
1755
|
+
default: C(() => t[2] || (t[2] = [
|
|
1756
1756
|
n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
|
|
1757
1757
|
])),
|
|
1758
1758
|
_: 1,
|
|
1759
1759
|
__: [2]
|
|
1760
|
-
}, 8, ["onClick"])) : (
|
|
1760
|
+
}, 8, ["onClick"])) : (P(), B(l, {
|
|
1761
1761
|
key: 1,
|
|
1762
1762
|
class: "text-none rounded-circle",
|
|
1763
1763
|
variant: "plain",
|
|
@@ -1767,7 +1767,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1767
1767
|
"min-width": "28",
|
|
1768
1768
|
onClick: r.handleFollow
|
|
1769
1769
|
}, {
|
|
1770
|
-
default:
|
|
1770
|
+
default: C(() => t[3] || (t[3] = [
|
|
1771
1771
|
n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
|
|
1772
1772
|
])),
|
|
1773
1773
|
_: 1,
|
|
@@ -1780,13 +1780,13 @@ function jl(e, t, o, i, a, r) {
|
|
|
1780
1780
|
class: "",
|
|
1781
1781
|
onClick: r.handleClose
|
|
1782
1782
|
}, {
|
|
1783
|
-
default:
|
|
1783
|
+
default: C(() => t[4] || (t[4] = [
|
|
1784
1784
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
1785
1785
|
])),
|
|
1786
1786
|
_: 1,
|
|
1787
1787
|
__: [4]
|
|
1788
1788
|
}, 8, ["onClick"])
|
|
1789
|
-
])) : (
|
|
1789
|
+
])) : (P(), I("div", Vr, [
|
|
1790
1790
|
k(l, {
|
|
1791
1791
|
icon: "",
|
|
1792
1792
|
density: "compact",
|
|
@@ -1794,7 +1794,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1794
1794
|
class: "",
|
|
1795
1795
|
onClick: r.handleClose
|
|
1796
1796
|
}, {
|
|
1797
|
-
default:
|
|
1797
|
+
default: C(() => t[5] || (t[5] = [
|
|
1798
1798
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
1799
1799
|
])),
|
|
1800
1800
|
_: 1,
|
|
@@ -1814,11 +1814,11 @@ function jl(e, t, o, i, a, r) {
|
|
|
1814
1814
|
_: 1
|
|
1815
1815
|
}),
|
|
1816
1816
|
k(s, { class: "w-100" }),
|
|
1817
|
-
o.simple ? N("", !0) : (
|
|
1817
|
+
o.simple ? N("", !0) : (P(), I("div", Yr, [
|
|
1818
1818
|
(g = o.followList) != null && g.some((f) => {
|
|
1819
1819
|
var d;
|
|
1820
1820
|
return ((d = f.port) == null ? void 0 : d.id) === o.portId;
|
|
1821
|
-
}) ? (
|
|
1821
|
+
}) ? (P(), B(l, {
|
|
1822
1822
|
key: 0,
|
|
1823
1823
|
class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
|
|
1824
1824
|
variant: "tonal",
|
|
@@ -1826,14 +1826,14 @@ function jl(e, t, o, i, a, r) {
|
|
|
1826
1826
|
height: "32",
|
|
1827
1827
|
onClick: r.handleCancelFollow
|
|
1828
1828
|
}, {
|
|
1829
|
-
prepend:
|
|
1829
|
+
prepend: C(() => t[7] || (t[7] = [
|
|
1830
1830
|
n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
|
|
1831
1831
|
])),
|
|
1832
|
-
default:
|
|
1832
|
+
default: C(() => [
|
|
1833
1833
|
de(" " + b(e.$t("actions.unfollow")), 1)
|
|
1834
1834
|
]),
|
|
1835
1835
|
_: 1
|
|
1836
|
-
}, 8, ["onClick"])) : (
|
|
1836
|
+
}, 8, ["onClick"])) : (P(), B(l, {
|
|
1837
1837
|
key: 1,
|
|
1838
1838
|
class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
|
|
1839
1839
|
variant: "tonal",
|
|
@@ -1841,10 +1841,10 @@ function jl(e, t, o, i, a, r) {
|
|
|
1841
1841
|
height: "32",
|
|
1842
1842
|
onClick: r.handleFollow
|
|
1843
1843
|
}, {
|
|
1844
|
-
prepend:
|
|
1844
|
+
prepend: C(() => t[8] || (t[8] = [
|
|
1845
1845
|
n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
|
|
1846
1846
|
])),
|
|
1847
|
-
default:
|
|
1847
|
+
default: C(() => [
|
|
1848
1848
|
de(b(e.$t("actions.follow")) + " ", 1)
|
|
1849
1849
|
]),
|
|
1850
1850
|
_: 1
|
|
@@ -1856,7 +1856,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1856
1856
|
height: "32",
|
|
1857
1857
|
onClick: r.handleMeteoMore
|
|
1858
1858
|
}, {
|
|
1859
|
-
default:
|
|
1859
|
+
default: C(() => [
|
|
1860
1860
|
de(b(e.$t("actions.7dayForcast")), 1)
|
|
1861
1861
|
]),
|
|
1862
1862
|
_: 1
|
|
@@ -1869,7 +1869,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1869
1869
|
n("div", Ur, [
|
|
1870
1870
|
n("div", Jr, [
|
|
1871
1871
|
n("div", Kr, [
|
|
1872
|
-
(
|
|
1872
|
+
(P(), I("svg", $r, [
|
|
1873
1873
|
n("use", {
|
|
1874
1874
|
"xlink:href": `#icon-title-${o.theme}`
|
|
1875
1875
|
}, null, 8, qr)
|
|
@@ -1896,7 +1896,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1896
1896
|
n("div", cl, [
|
|
1897
1897
|
n("div", ml, [
|
|
1898
1898
|
n("div", dl, [
|
|
1899
|
-
(
|
|
1899
|
+
(P(), I("svg", hl, [
|
|
1900
1900
|
n("use", {
|
|
1901
1901
|
"xlink:href": `#icon-title-${o.theme}`
|
|
1902
1902
|
}, null, 8, ul)
|
|
@@ -1918,15 +1918,15 @@ function jl(e, t, o, i, a, r) {
|
|
|
1918
1918
|
"min-height": "26",
|
|
1919
1919
|
rounded: "1"
|
|
1920
1920
|
}, {
|
|
1921
|
-
default:
|
|
1922
|
-
(
|
|
1921
|
+
default: C(() => [
|
|
1922
|
+
(P(!0), I(Ie, null, De(r.dateList, (f) => (P(), B(l, {
|
|
1923
1923
|
class: "text-none text-body-1 rounded bg-none flex-1-1-0",
|
|
1924
1924
|
density: "compact",
|
|
1925
1925
|
color: "primary",
|
|
1926
1926
|
height: "26",
|
|
1927
1927
|
value: f.index
|
|
1928
1928
|
}, {
|
|
1929
|
-
default:
|
|
1929
|
+
default: C(() => [
|
|
1930
1930
|
de(b(f.label), 1)
|
|
1931
1931
|
]),
|
|
1932
1932
|
_: 2
|
|
@@ -1936,40 +1936,40 @@ function jl(e, t, o, i, a, r) {
|
|
|
1936
1936
|
}, 8, ["modelValue"]),
|
|
1937
1937
|
n("table", pl, [
|
|
1938
1938
|
n("tbody", null, [
|
|
1939
|
-
(
|
|
1939
|
+
(P(!0), I(Ie, null, De(a.tableData, (f) => (P(), I("tr", {
|
|
1940
1940
|
key: f.id
|
|
1941
1941
|
}, [
|
|
1942
1942
|
n("th", gl, [
|
|
1943
1943
|
de(b(e.$t(`${f.key}`)) + " ", 1),
|
|
1944
|
-
f.unit ? (
|
|
1944
|
+
f.unit ? (P(), I("span", fl, " ( " + b(f.unit) + " )", 1)) : N("", !0)
|
|
1945
1945
|
]),
|
|
1946
1946
|
n("td", yl, [
|
|
1947
|
-
f.img ? (
|
|
1947
|
+
f.img ? (P(), I("img", {
|
|
1948
1948
|
key: 0,
|
|
1949
1949
|
src: f == null ? void 0 : f.value0,
|
|
1950
1950
|
style: { height: "30px" }
|
|
1951
|
-
}, null, 8, bl)) : (
|
|
1951
|
+
}, null, 8, bl)) : (P(), I("span", wl, b((f == null ? void 0 : f.value0) ?? "-"), 1))
|
|
1952
1952
|
]),
|
|
1953
1953
|
n("td", xl, [
|
|
1954
|
-
f.img ? (
|
|
1954
|
+
f.img ? (P(), I("img", {
|
|
1955
1955
|
key: 0,
|
|
1956
1956
|
src: f == null ? void 0 : f.value1,
|
|
1957
1957
|
style: { height: "30px" }
|
|
1958
|
-
}, null, 8, vl)) : (
|
|
1958
|
+
}, null, 8, vl)) : (P(), I("span", kl, b((f == null ? void 0 : f.value1) ?? "-"), 1))
|
|
1959
1959
|
]),
|
|
1960
1960
|
n("td", _l, [
|
|
1961
|
-
f.img ? (
|
|
1961
|
+
f.img ? (P(), I("img", {
|
|
1962
1962
|
key: 0,
|
|
1963
1963
|
src: f == null ? void 0 : f.value2,
|
|
1964
1964
|
style: { height: "30px" }
|
|
1965
|
-
}, null, 8, zl)) : (
|
|
1965
|
+
}, null, 8, zl)) : (P(), I("span", Ll, b((f == null ? void 0 : f.value2) ?? "-"), 1))
|
|
1966
1966
|
]),
|
|
1967
1967
|
n("td", Pl, [
|
|
1968
|
-
f.img ? (
|
|
1968
|
+
f.img ? (P(), I("img", {
|
|
1969
1969
|
key: 0,
|
|
1970
1970
|
src: f == null ? void 0 : f.value3,
|
|
1971
1971
|
style: { height: "30px" }
|
|
1972
|
-
}, null, 8, Cl)) : (
|
|
1972
|
+
}, null, 8, Cl)) : (P(), I("span", Ml, b((f == null ? void 0 : f.value3) ?? "-"), 1))
|
|
1973
1973
|
])
|
|
1974
1974
|
]))), 128))
|
|
1975
1975
|
])
|
|
@@ -1979,7 +1979,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1979
1979
|
n("div", Sl, [
|
|
1980
1980
|
n("div", Tl, [
|
|
1981
1981
|
n("div", Rl, [
|
|
1982
|
-
(
|
|
1982
|
+
(P(), I("svg", Il, [
|
|
1983
1983
|
n("use", {
|
|
1984
1984
|
"xlink:href": `#icon-title-${o.theme}`
|
|
1985
1985
|
}, null, 8, Dl)
|
|
@@ -1987,14 +1987,14 @@ function jl(e, t, o, i, a, r) {
|
|
|
1987
1987
|
n("div", null, b(e.$t("tide.tideTimes")), 1)
|
|
1988
1988
|
]),
|
|
1989
1989
|
n("div", Al, [
|
|
1990
|
-
a.showTideDetail ? (
|
|
1990
|
+
a.showTideDetail ? (P(), B(l, {
|
|
1991
1991
|
key: 0,
|
|
1992
1992
|
icon: "mdi-eye-off-outline",
|
|
1993
1993
|
density: "compact",
|
|
1994
1994
|
variant: "plain",
|
|
1995
1995
|
size: "small",
|
|
1996
1996
|
onClick: t[1] || (t[1] = (f) => a.showTideDetail = !1)
|
|
1997
|
-
})) : (
|
|
1997
|
+
})) : (P(), B(l, {
|
|
1998
1998
|
key: 1,
|
|
1999
1999
|
icon: "mdi-eye-outline",
|
|
2000
2000
|
density: "compact",
|
|
@@ -2004,7 +2004,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
2004
2004
|
}, null, 8, ["onClick"]))
|
|
2005
2005
|
])
|
|
2006
2006
|
]),
|
|
2007
|
-
a.showTideDetail ? (
|
|
2007
|
+
a.showTideDetail ? (P(), I("div", {
|
|
2008
2008
|
key: 0,
|
|
2009
2009
|
class: _e(["w-100 gray-bg-2 rounded", o.simple ? "pa-2" : "pa-4"])
|
|
2010
2010
|
}, [
|
|
@@ -2016,9 +2016,9 @@ function jl(e, t, o, i, a, r) {
|
|
|
2016
2016
|
n("th", Nl, b(e.$t("time.time")) + " ( LT ) ", 1),
|
|
2017
2017
|
n("th", Bl, b(e.$t("tide.height")) + " ( m )", 1)
|
|
2018
2018
|
]),
|
|
2019
|
-
(
|
|
2019
|
+
(P(!0), I(Ie, null, De(a.tideTableData, (f, d) => {
|
|
2020
2020
|
var u;
|
|
2021
|
-
return
|
|
2021
|
+
return P(), I("tr", { key: d }, [
|
|
2022
2022
|
n("td", Zl, b(e.$t(`tide.${(u = f == null ? void 0 : f.type) == null ? void 0 : u.toLowerCase()}`)) + " " + b(e.$t("tide.tide")), 1),
|
|
2023
2023
|
n("td", El, b(r.computeLocalTime(f == null ? void 0 : f.date, o.port, "MM-DD HH:mm")), 1),
|
|
2024
2024
|
n("td", Ol, b((f == null ? void 0 : f.height) ?? "-") + " m", 1)
|
|
@@ -2144,14 +2144,14 @@ const Xl = {
|
|
|
2144
2144
|
}, Vl = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Hl = { class: "d-flex justify-start align-center text-label" }, Yl = { class: "d-flex justify-start align-center text-label" };
|
|
2145
2145
|
function Ul(e, t, o, i, a, r) {
|
|
2146
2146
|
const l = T("VCardText"), c = T("VCard"), s = T("PortDetail");
|
|
2147
|
-
return
|
|
2147
|
+
return P(), I("div", null, [
|
|
2148
2148
|
Qe(k(c, {
|
|
2149
2149
|
id: "idmPortInfo",
|
|
2150
2150
|
ref: "idmPortInfo"
|
|
2151
2151
|
}, {
|
|
2152
|
-
default:
|
|
2152
|
+
default: C(() => [
|
|
2153
2153
|
k(l, { class: "text-body-1 pr-8" }, {
|
|
2154
|
-
default:
|
|
2154
|
+
default: C(() => [
|
|
2155
2155
|
n("div", Vl, [
|
|
2156
2156
|
n("div", null, b(e.$t("port.port")), 1),
|
|
2157
2157
|
n("div", Hl, [
|
|
@@ -2170,7 +2170,7 @@ function Ul(e, t, o, i, a, r) {
|
|
|
2170
2170
|
}, 512), [
|
|
2171
2171
|
[et, a.showInfo]
|
|
2172
2172
|
]),
|
|
2173
|
-
a.showDetail ? (
|
|
2173
|
+
a.showDetail ? (P(), B(s, Y({
|
|
2174
2174
|
key: 0,
|
|
2175
2175
|
portId: a.portId,
|
|
2176
2176
|
port: a.port,
|
|
@@ -2222,7 +2222,7 @@ const Jl = /* @__PURE__ */ ne(Xl, [["render", Ul], ["__scopeId", "data-v-0c0f27d
|
|
|
2222
2222
|
}
|
|
2223
2223
|
};
|
|
2224
2224
|
function $l(e, t, o, i, a, r) {
|
|
2225
|
-
return
|
|
2225
|
+
return P(), I("div");
|
|
2226
2226
|
}
|
|
2227
2227
|
const ql = /* @__PURE__ */ ne(Kl, [["render", $l]]), Ql = {
|
|
2228
2228
|
name: "IdmTimezone",
|
|
@@ -2428,7 +2428,7 @@ const ql = /* @__PURE__ */ ne(Kl, [["render", $l]]), Ql = {
|
|
|
2428
2428
|
}
|
|
2429
2429
|
};
|
|
2430
2430
|
function en(e, t, o, i, a, r) {
|
|
2431
|
-
return
|
|
2431
|
+
return P(), I("div");
|
|
2432
2432
|
}
|
|
2433
2433
|
const tn = /* @__PURE__ */ ne(Ql, [["render", en]]), on = {
|
|
2434
2434
|
name: "IdmVoluntaryReportingArea",
|
|
@@ -2523,7 +2523,7 @@ const tn = /* @__PURE__ */ ne(Ql, [["render", en]]), on = {
|
|
|
2523
2523
|
}
|
|
2524
2524
|
};
|
|
2525
2525
|
function an(e, t, o, i, a, r) {
|
|
2526
|
-
return
|
|
2526
|
+
return P(), I("div");
|
|
2527
2527
|
}
|
|
2528
2528
|
const rn = /* @__PURE__ */ ne(on, [["render", an]]), ln = {
|
|
2529
2529
|
name: "IdmSpecialArea",
|
|
@@ -2618,7 +2618,7 @@ const rn = /* @__PURE__ */ ne(on, [["render", an]]), ln = {
|
|
|
2618
2618
|
}
|
|
2619
2619
|
};
|
|
2620
2620
|
function nn(e, t, o, i, a, r) {
|
|
2621
|
-
return
|
|
2621
|
+
return P(), I("div");
|
|
2622
2622
|
}
|
|
2623
2623
|
const sn = /* @__PURE__ */ ne(ln, [["render", nn]]), cn = {
|
|
2624
2624
|
name: "IdmTerminator",
|
|
@@ -2672,7 +2672,7 @@ const sn = /* @__PURE__ */ ne(ln, [["render", nn]]), cn = {
|
|
|
2672
2672
|
}
|
|
2673
2673
|
};
|
|
2674
2674
|
function mn(e, t, o, i, a, r) {
|
|
2675
|
-
return
|
|
2675
|
+
return P(), I("div");
|
|
2676
2676
|
}
|
|
2677
2677
|
const dn = /* @__PURE__ */ ne(cn, [["render", mn]]), hn = {
|
|
2678
2678
|
name: "IdmWorld12nm",
|
|
@@ -3100,14 +3100,14 @@ const vn = {
|
|
|
3100
3100
|
}, Kn = { class: "px-1 text-center" }, $n = { class: "px-1 text-center" }, qn = { class: "px-1 text-center" };
|
|
3101
3101
|
function Qn(e, t, o, i, a, r) {
|
|
3102
3102
|
const l = T("VBtn"), c = T("v-card-title"), s = T("v-divider"), h = T("VBtnToggle"), m = T("v-card");
|
|
3103
|
-
return
|
|
3103
|
+
return P(), B(m, {
|
|
3104
3104
|
class: _e(["tide-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
|
|
3105
3105
|
}, {
|
|
3106
|
-
default:
|
|
3106
|
+
default: C(() => {
|
|
3107
3107
|
var g, p;
|
|
3108
3108
|
return [
|
|
3109
3109
|
k(c, { class: "w-100" }, {
|
|
3110
|
-
default:
|
|
3110
|
+
default: C(() => {
|
|
3111
3111
|
var y;
|
|
3112
3112
|
return [
|
|
3113
3113
|
n("div", kn, [
|
|
@@ -3121,7 +3121,7 @@ function Qn(e, t, o, i, a, r) {
|
|
|
3121
3121
|
class: "",
|
|
3122
3122
|
onClick: r.handleClose
|
|
3123
3123
|
}, {
|
|
3124
|
-
default:
|
|
3124
|
+
default: C(() => t[1] || (t[1] = [
|
|
3125
3125
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
3126
3126
|
])),
|
|
3127
3127
|
_: 1,
|
|
@@ -3142,7 +3142,7 @@ function Qn(e, t, o, i, a, r) {
|
|
|
3142
3142
|
n("div", Ln, [
|
|
3143
3143
|
n("div", Pn, [
|
|
3144
3144
|
n("div", Cn, [
|
|
3145
|
-
(
|
|
3145
|
+
(P(), I("svg", Mn, [
|
|
3146
3146
|
n("use", {
|
|
3147
3147
|
"xlink:href": `#icon-title-${o.theme}`
|
|
3148
3148
|
}, null, 8, Sn)
|
|
@@ -3168,7 +3168,7 @@ function Qn(e, t, o, i, a, r) {
|
|
|
3168
3168
|
n("div", Zn, [
|
|
3169
3169
|
n("div", En, [
|
|
3170
3170
|
n("div", On, [
|
|
3171
|
-
(
|
|
3171
|
+
(P(), I("svg", jn, [
|
|
3172
3172
|
n("use", {
|
|
3173
3173
|
"xlink:href": `#icon-title-${o.theme}`
|
|
3174
3174
|
}, null, 8, Xn)
|
|
@@ -3190,15 +3190,15 @@ function Qn(e, t, o, i, a, r) {
|
|
|
3190
3190
|
"min-height": "26",
|
|
3191
3191
|
rounded: "1"
|
|
3192
3192
|
}, {
|
|
3193
|
-
default:
|
|
3194
|
-
(
|
|
3193
|
+
default: C(() => [
|
|
3194
|
+
(P(!0), I(Ie, null, De(r.dateList, (y) => (P(), B(l, {
|
|
3195
3195
|
class: "text-none text-body-1 rounded bg-none flex-1-1-0",
|
|
3196
3196
|
density: "compact",
|
|
3197
3197
|
color: "primary",
|
|
3198
3198
|
height: "26",
|
|
3199
3199
|
value: y.index
|
|
3200
3200
|
}, {
|
|
3201
|
-
default:
|
|
3201
|
+
default: C(() => [
|
|
3202
3202
|
de(b(y.label), 1)
|
|
3203
3203
|
]),
|
|
3204
3204
|
_: 2
|
|
@@ -3214,9 +3214,9 @@ function Qn(e, t, o, i, a, r) {
|
|
|
3214
3214
|
n("th", Un, b(e.$t("time.time")) + " ( LT ) ", 1),
|
|
3215
3215
|
n("th", Jn, b(e.$t("tide.height")) + " ( m )", 1)
|
|
3216
3216
|
]),
|
|
3217
|
-
(
|
|
3217
|
+
(P(!0), I(Ie, null, De(a.tideTableData, (y, f) => {
|
|
3218
3218
|
var d;
|
|
3219
|
-
return
|
|
3219
|
+
return P(), I("tr", { key: f }, [
|
|
3220
3220
|
n("td", Kn, b(e.$t(`tide.${(d = y == null ? void 0 : y.type) == null ? void 0 : d.toLowerCase()}`)) + " " + b(e.$t("tide.tide")), 1),
|
|
3221
3221
|
n("td", $n, b(r.computeLocalTime(y == null ? void 0 : y.date, o.station, "MM-DD HH:mm")), 1),
|
|
3222
3222
|
n("td", qn, b((y == null ? void 0 : y.height) ?? "-") + " m", 1)
|
|
@@ -3311,11 +3311,11 @@ const ts = {
|
|
|
3311
3311
|
}, os = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, as = { class: "d-flex justify-start align-center" }, is = { class: "d-flex justify-start align-center" }, rs = { class: "text-label" };
|
|
3312
3312
|
function ls(e, t, o, i, a, r) {
|
|
3313
3313
|
const l = T("v-card-text"), c = T("v-card"), s = T("TideDetail");
|
|
3314
|
-
return
|
|
3314
|
+
return P(), I("div", null, [
|
|
3315
3315
|
Qe(k(c, { id: "idmTidalInfo" }, {
|
|
3316
|
-
default:
|
|
3316
|
+
default: C(() => [
|
|
3317
3317
|
k(l, { class: "pr-8 text-body-1" }, {
|
|
3318
|
-
default:
|
|
3318
|
+
default: C(() => {
|
|
3319
3319
|
var h, m;
|
|
3320
3320
|
return [
|
|
3321
3321
|
n("div", os, [
|
|
@@ -3333,7 +3333,7 @@ function ls(e, t, o, i, a, r) {
|
|
|
3333
3333
|
}, 512), [
|
|
3334
3334
|
[et, a.showInfo]
|
|
3335
3335
|
]),
|
|
3336
|
-
a.showDetail ? (
|
|
3336
|
+
a.showDetail ? (P(), B(s, Y({
|
|
3337
3337
|
key: 0,
|
|
3338
3338
|
station: a.station,
|
|
3339
3339
|
onClose: r.handleCloseDetail
|
|
@@ -3558,7 +3558,7 @@ const ds = {
|
|
|
3558
3558
|
};
|
|
3559
3559
|
function hs(e, t, o, i, a, r) {
|
|
3560
3560
|
var l, c, s;
|
|
3561
|
-
return o.simple ? N("", !0) : (
|
|
3561
|
+
return o.simple ? N("", !0) : (P(), I("div", {
|
|
3562
3562
|
key: 0,
|
|
3563
3563
|
class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
|
|
3564
3564
|
style: ue({ right: a.right + "px" })
|
|
@@ -4481,14 +4481,14 @@ const us = {
|
|
|
4481
4481
|
}, ps = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, gs = { class: "d-flex justify-start align-center text-label" }, fs = { class: "d-flex justify-start align-center text-label" };
|
|
4482
4482
|
function ys(e, t, o, i, a, r) {
|
|
4483
4483
|
const l = T("v-card-text"), c = T("v-card"), s = T("PortDetail");
|
|
4484
|
-
return
|
|
4484
|
+
return P(), I("div", null, [
|
|
4485
4485
|
Qe(k(c, {
|
|
4486
4486
|
id: "idmFollowPortInfo",
|
|
4487
4487
|
ref: "idmFollowPortInfo"
|
|
4488
4488
|
}, {
|
|
4489
|
-
default:
|
|
4489
|
+
default: C(() => [
|
|
4490
4490
|
k(l, { class: "text-body-1 pr-8" }, {
|
|
4491
|
-
default:
|
|
4491
|
+
default: C(() => [
|
|
4492
4492
|
n("div", ps, [
|
|
4493
4493
|
n("div", null, b(e.$t("port.port")), 1),
|
|
4494
4494
|
n("div", gs, [
|
|
@@ -4507,7 +4507,7 @@ function ys(e, t, o, i, a, r) {
|
|
|
4507
4507
|
}, 512), [
|
|
4508
4508
|
[et, a.showInfo]
|
|
4509
4509
|
]),
|
|
4510
|
-
a.showDetail ? (
|
|
4510
|
+
a.showDetail ? (P(), B(s, Y({
|
|
4511
4511
|
key: 0,
|
|
4512
4512
|
portId: a.portId,
|
|
4513
4513
|
port: a.port,
|
|
@@ -5440,19 +5440,19 @@ const ws = {
|
|
|
5440
5440
|
};
|
|
5441
5441
|
function _s(e, t, o, i, a, r) {
|
|
5442
5442
|
const l = T("v-card-text"), c = T("v-card");
|
|
5443
|
-
return Qe((
|
|
5443
|
+
return Qe((P(), B(c, {
|
|
5444
5444
|
id: "idmFollowPositionInfo",
|
|
5445
5445
|
ref: "idmFollowPositionInfo"
|
|
5446
5446
|
}, {
|
|
5447
|
-
default:
|
|
5447
|
+
default: C(() => [
|
|
5448
5448
|
k(l, { class: "text-body-1 pr-8" }, {
|
|
5449
|
-
default:
|
|
5449
|
+
default: C(() => [
|
|
5450
5450
|
n("div", xs, [
|
|
5451
5451
|
t[0] || (t[0] = n("div", null, "Location", -1)),
|
|
5452
5452
|
n("div", vs, [
|
|
5453
5453
|
n("span", null, b(r.computePosition(a.position)), 1)
|
|
5454
5454
|
]),
|
|
5455
|
-
a.position.remark ? (
|
|
5455
|
+
a.position.remark ? (P(), I("div", ks, [
|
|
5456
5456
|
n("span", null, b(a.position.remark ?? "-"), 1)
|
|
5457
5457
|
])) : N("", !0)
|
|
5458
5458
|
])
|
|
@@ -5692,9 +5692,9 @@ const Ls = {
|
|
|
5692
5692
|
class: "border rounded-sm"
|
|
5693
5693
|
}, Gs = { class: "text-body-2 text-center pt-2" };
|
|
5694
5694
|
function Ws(e, t, o, i, a, r) {
|
|
5695
|
-
var ee, he,
|
|
5695
|
+
var ee, he, D, H, U, te, j, O, $;
|
|
5696
5696
|
const l = T("VBtn"), c = T("VTooltip"), s = T("VCardTitle"), h = T("VCardItem"), m = T("VCheckbox"), g = T("VCardText"), p = T("VCard"), y = T("IdmLatLng"), f = T("IdmTerminator"), d = T("IdmTimezone"), u = T("IdmPort"), x = T("IdmAlertZone"), v = T("IdmTideStations"), w = T("IdmEcaZone"), _ = T("IdmWarZone"), S = T("IdmGmdssArea"), z = T("IdmLoadLine"), M = T("IdmWorldMarine"), R = T("IdmVRA"), W = T("IdmSpecialArea"), F = T("IdmWorld12nm"), E = T("IdmChinaRoute"), V = T("IdmIceAreas"), J = T("IdmFollowPort"), Q = T("IdmFollowPosition");
|
|
5697
|
-
return
|
|
5697
|
+
return P(), I("div", Ps, [
|
|
5698
5698
|
n("div", {
|
|
5699
5699
|
class: _e(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
|
|
5700
5700
|
style: ue({ top: o.top + 10 + "px", right: a.right + "px", paddingTop: o.paddingTop + "px", height: o.menuHeight + "px" })
|
|
@@ -5707,7 +5707,7 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5707
5707
|
"open-on-focus": !o.simple,
|
|
5708
5708
|
"open-on-hover": !o.simple
|
|
5709
5709
|
}, {
|
|
5710
|
-
activator:
|
|
5710
|
+
activator: C(({ props: A }) => [
|
|
5711
5711
|
k(l, Y(A, {
|
|
5712
5712
|
"min-width": "32",
|
|
5713
5713
|
width: "32",
|
|
@@ -5715,7 +5715,7 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5715
5715
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
5716
5716
|
onClick: r.handleMenuToggle
|
|
5717
5717
|
}), {
|
|
5718
|
-
default:
|
|
5718
|
+
default: C(() => t[5] || (t[5] = [
|
|
5719
5719
|
n("i", { class: "iconfont icon-Layer text-h4" }, null, -1)
|
|
5720
5720
|
])),
|
|
5721
5721
|
_: 2,
|
|
@@ -5738,7 +5738,7 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5738
5738
|
class: "mr-n2",
|
|
5739
5739
|
onClick: r.handleMenuToggle
|
|
5740
5740
|
}, {
|
|
5741
|
-
default:
|
|
5741
|
+
default: C(() => t[6] || (t[6] = [
|
|
5742
5742
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
5743
5743
|
])),
|
|
5744
5744
|
_: 1,
|
|
@@ -5752,11 +5752,11 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5752
5752
|
class: "block-bg mx-auto mb-2",
|
|
5753
5753
|
elevation: "0"
|
|
5754
5754
|
}, {
|
|
5755
|
-
default:
|
|
5755
|
+
default: C(() => [
|
|
5756
5756
|
k(h, { class: "border-b-thin" }, {
|
|
5757
|
-
default:
|
|
5757
|
+
default: C(() => [
|
|
5758
5758
|
k(s, { class: "text-h6" }, {
|
|
5759
|
-
default:
|
|
5759
|
+
default: C(() => [
|
|
5760
5760
|
de(b(e.$t("layer.mapFeathers")), 1)
|
|
5761
5761
|
]),
|
|
5762
5762
|
_: 1
|
|
@@ -5765,9 +5765,9 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5765
5765
|
_: 1
|
|
5766
5766
|
}),
|
|
5767
5767
|
k(g, { class: "pb-2" }, {
|
|
5768
|
-
default:
|
|
5768
|
+
default: C(() => [
|
|
5769
5769
|
n("div", Ss, [
|
|
5770
|
-
(
|
|
5770
|
+
(P(!0), I(Ie, null, De(a.mapFeathers, (A) => (P(), I("div", {
|
|
5771
5771
|
key: A.value,
|
|
5772
5772
|
class: "mb-4 feather-item",
|
|
5773
5773
|
onClick: (ie) => r.handleToggleMapFeather(A)
|
|
@@ -5775,12 +5775,12 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5775
5775
|
n("div", {
|
|
5776
5776
|
class: _e([a.mapFeather === A.value ? "active" : "", "img-box"])
|
|
5777
5777
|
}, [
|
|
5778
|
-
A.value === "dark" ? (
|
|
5778
|
+
A.value === "dark" ? (P(), I("img", Rs)) : A.value === "nautical" ? (P(), I("img", Is)) : A.value === "satellite" ? (P(), I("img", Ds)) : (P(), I("img", As))
|
|
5779
5779
|
], 2),
|
|
5780
5780
|
n("div", Gs, b(e.$t(`layer.${A.locale}`)), 1)
|
|
5781
5781
|
], 8, Ts))), 128))
|
|
5782
5782
|
]),
|
|
5783
|
-
(
|
|
5783
|
+
(P(!0), I(Ie, null, De(a.tagLayers.filter((A) => ["graticule", "day-night", "time-zones"].includes(A.key)), (A) => (P(), B(m, {
|
|
5784
5784
|
key: A.key,
|
|
5785
5785
|
modelValue: a.checkList,
|
|
5786
5786
|
"onUpdate:modelValue": t[0] || (t[0] = (ie) => a.checkList = ie),
|
|
@@ -5802,11 +5802,11 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5802
5802
|
class: "block-bg mx-auto mb-2",
|
|
5803
5803
|
elevation: "0"
|
|
5804
5804
|
}, {
|
|
5805
|
-
default:
|
|
5805
|
+
default: C(() => [
|
|
5806
5806
|
k(h, { class: "border-b-thin" }, {
|
|
5807
|
-
default:
|
|
5807
|
+
default: C(() => [
|
|
5808
5808
|
k(s, { class: "text-h6" }, {
|
|
5809
|
-
default:
|
|
5809
|
+
default: C(() => [
|
|
5810
5810
|
de(b(e.$t("layer.pointsOfInteresting")), 1)
|
|
5811
5811
|
]),
|
|
5812
5812
|
_: 1
|
|
@@ -5815,8 +5815,8 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5815
5815
|
_: 1
|
|
5816
5816
|
}),
|
|
5817
5817
|
k(g, { class: "py-2 mx-n1" }, {
|
|
5818
|
-
default:
|
|
5819
|
-
(
|
|
5818
|
+
default: C(() => [
|
|
5819
|
+
(P(!0), I(Ie, null, De(a.tagLayers.filter((A) => ["ports", "alert-zones", "tidal-stations"].includes(A.key)), (A) => (P(), B(m, {
|
|
5820
5820
|
key: A.key,
|
|
5821
5821
|
modelValue: a.checkList,
|
|
5822
5822
|
"onUpdate:modelValue": t[1] || (t[1] = (ie) => a.checkList = ie),
|
|
@@ -5838,11 +5838,11 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5838
5838
|
class: "block-bg mx-auto mb-2",
|
|
5839
5839
|
elevation: "0"
|
|
5840
5840
|
}, {
|
|
5841
|
-
default:
|
|
5841
|
+
default: C(() => [
|
|
5842
5842
|
k(h, { class: "border-b-thin" }, {
|
|
5843
|
-
default:
|
|
5843
|
+
default: C(() => [
|
|
5844
5844
|
k(s, { class: "text-h6" }, {
|
|
5845
|
-
default:
|
|
5845
|
+
default: C(() => [
|
|
5846
5846
|
de(b(e.$t("layer.otherLayers")), 1)
|
|
5847
5847
|
]),
|
|
5848
5848
|
_: 1
|
|
@@ -5851,8 +5851,8 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5851
5851
|
_: 1
|
|
5852
5852
|
}),
|
|
5853
5853
|
k(g, { class: "py-2 mx-n1" }, {
|
|
5854
|
-
default:
|
|
5855
|
-
(
|
|
5854
|
+
default: C(() => [
|
|
5855
|
+
(P(!0), I(Ie, null, De(a.tagLayers.filter((A) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(A.key)), (A) => (P(), B(m, {
|
|
5856
5856
|
key: A.key,
|
|
5857
5857
|
modelValue: a.checkList,
|
|
5858
5858
|
"onUpdate:modelValue": t[2] || (t[2] = (ie) => a.checkList = ie),
|
|
@@ -5874,11 +5874,11 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5874
5874
|
class: "block-bg mx-auto mb-3",
|
|
5875
5875
|
elevation: "0"
|
|
5876
5876
|
}, {
|
|
5877
|
-
default:
|
|
5877
|
+
default: C(() => [
|
|
5878
5878
|
k(h, { class: "border-b-thin" }, {
|
|
5879
|
-
default:
|
|
5879
|
+
default: C(() => [
|
|
5880
5880
|
k(s, { class: "text-h6" }, {
|
|
5881
|
-
default:
|
|
5881
|
+
default: C(() => [
|
|
5882
5882
|
de(b(e.$t("layer.myFollows")), 1)
|
|
5883
5883
|
]),
|
|
5884
5884
|
_: 1
|
|
@@ -5887,7 +5887,7 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5887
5887
|
_: 1
|
|
5888
5888
|
}),
|
|
5889
5889
|
k(g, { class: "py-2 mx-n1" }, {
|
|
5890
|
-
default:
|
|
5890
|
+
default: C(() => [
|
|
5891
5891
|
k(m, {
|
|
5892
5892
|
modelValue: a.checkList,
|
|
5893
5893
|
"onUpdate:modelValue": t[3] || (t[3] = (A) => a.checkList = A),
|
|
@@ -5918,37 +5918,37 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5918
5918
|
})
|
|
5919
5919
|
], 2)
|
|
5920
5920
|
], 6),
|
|
5921
|
-
o.map ? (
|
|
5921
|
+
o.map ? (P(), B(y, Y({
|
|
5922
5922
|
key: 0,
|
|
5923
5923
|
simple: o.simple,
|
|
5924
5924
|
map: o.map,
|
|
5925
5925
|
"menu-toggle": o.menuToggle,
|
|
5926
5926
|
show: a.checkList.includes("graticule")
|
|
5927
5927
|
}, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "menu-toggle", "show"])) : N("", !0),
|
|
5928
|
-
o.map ? (
|
|
5928
|
+
o.map ? (P(), B(f, Y({
|
|
5929
5929
|
key: 1,
|
|
5930
5930
|
map: o.map,
|
|
5931
5931
|
area: (ee = a.otherLayers) == null ? void 0 : ee["day-night"]
|
|
5932
5932
|
}, e.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : N("", !0),
|
|
5933
|
-
o.map ? (
|
|
5933
|
+
o.map ? (P(), B(d, Y({
|
|
5934
5934
|
key: 2,
|
|
5935
5935
|
map: o.map,
|
|
5936
5936
|
zone: (he = a.otherLayers) == null ? void 0 : he["time-zones"],
|
|
5937
5937
|
"real-time": o.realTime
|
|
5938
5938
|
}, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "zone", "real-time"])) : N("", !0),
|
|
5939
|
-
o.map ? (
|
|
5939
|
+
o.map ? (P(), B(u, Y({
|
|
5940
5940
|
key: 3,
|
|
5941
5941
|
ref: "idmPorts",
|
|
5942
5942
|
simple: o.simple,
|
|
5943
5943
|
map: o.map,
|
|
5944
|
-
ports: (
|
|
5944
|
+
ports: (D = a.otherLayers) == null ? void 0 : D.ports,
|
|
5945
5945
|
gateway: o.gateway,
|
|
5946
5946
|
token: o.token,
|
|
5947
5947
|
"forecast-model": o.forecastModel,
|
|
5948
5948
|
"real-time": o.realTime,
|
|
5949
5949
|
theme: o.theme
|
|
5950
5950
|
}, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "ports", "gateway", "token", "forecast-model", "real-time", "theme"])) : N("", !0),
|
|
5951
|
-
o.map ? (
|
|
5951
|
+
o.map ? (P(), B(x, Y({
|
|
5952
5952
|
key: 4,
|
|
5953
5953
|
map: o.map,
|
|
5954
5954
|
simple: o.simple,
|
|
@@ -5957,7 +5957,7 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5957
5957
|
"before-layer": "empty-layer-3",
|
|
5958
5958
|
theme: o.theme
|
|
5959
5959
|
}), null, 16, ["map", "simple", "zone", "theme"])) : N("", !0),
|
|
5960
|
-
o.map ? (
|
|
5960
|
+
o.map ? (P(), B(v, Y({
|
|
5961
5961
|
key: 5,
|
|
5962
5962
|
ref: "idmIideStation",
|
|
5963
5963
|
simple: o.simple,
|
|
@@ -5971,60 +5971,60 @@ function Ws(e, t, o, i, a, r) {
|
|
|
5971
5971
|
"forecast-model": o.forecastModel,
|
|
5972
5972
|
"before-layer": "empty-layer-3"
|
|
5973
5973
|
}, e.$attrs), null, 16, ["simple", "map", "gateway", "token", "default-meteo-token", "show", "theme", "real-time", "forecast-model"])) : N("", !0),
|
|
5974
|
-
o.map ? (
|
|
5974
|
+
o.map ? (P(), B(w, Y({
|
|
5975
5975
|
key: 6,
|
|
5976
5976
|
map: o.map,
|
|
5977
5977
|
zone: (U = a.otherLayers) == null ? void 0 : U["eca-zones"]
|
|
5978
5978
|
}, e.$attrs), null, 16, ["map", "zone"])) : N("", !0),
|
|
5979
|
-
o.map ? (
|
|
5979
|
+
o.map ? (P(), B(_, Y({
|
|
5980
5980
|
key: 7,
|
|
5981
5981
|
map: o.map,
|
|
5982
5982
|
zone: (te = a.otherLayers) == null ? void 0 : te["war-zones"]
|
|
5983
5983
|
}, e.$attrs), null, 16, ["map", "zone"])) : N("", !0),
|
|
5984
|
-
o.map ? (
|
|
5984
|
+
o.map ? (P(), B(S, Y({
|
|
5985
5985
|
key: 8,
|
|
5986
5986
|
map: o.map,
|
|
5987
5987
|
area: (j = a.otherLayers) == null ? void 0 : j["gmdss-areas"]
|
|
5988
5988
|
}, e.$attrs), null, 16, ["map", "area"])) : N("", !0),
|
|
5989
|
-
o.map ? (
|
|
5989
|
+
o.map ? (P(), B(z, Y({
|
|
5990
5990
|
key: 9,
|
|
5991
5991
|
map: o.map,
|
|
5992
5992
|
show: a.checkList.includes("load-lines")
|
|
5993
5993
|
}, e.$attrs), null, 16, ["map", "show"])) : N("", !0),
|
|
5994
|
-
o.map ? (
|
|
5994
|
+
o.map ? (P(), B(M, Y({
|
|
5995
5995
|
key: 10,
|
|
5996
5996
|
map: o.map,
|
|
5997
5997
|
token: o.token,
|
|
5998
5998
|
show: a.checkList.includes("worldMarine")
|
|
5999
5999
|
}, e.$attrs), null, 16, ["map", "token", "show"])) : N("", !0),
|
|
6000
|
-
o.map ? (
|
|
6000
|
+
o.map ? (P(), B(R, Y({
|
|
6001
6001
|
key: 11,
|
|
6002
6002
|
map: o.map,
|
|
6003
6003
|
area: (O = a.otherLayers) == null ? void 0 : O["voluntary-reporting-area"]
|
|
6004
6004
|
}, e.$attrs), null, 16, ["map", "area"])) : N("", !0),
|
|
6005
|
-
o.map ? (
|
|
6005
|
+
o.map ? (P(), B(W, Y({
|
|
6006
6006
|
key: 12,
|
|
6007
6007
|
map: o.map,
|
|
6008
6008
|
area: ($ = a.otherLayers) == null ? void 0 : $["special-area"]
|
|
6009
6009
|
}, e.$attrs), null, 16, ["map", "area"])) : N("", !0),
|
|
6010
|
-
o.map ? (
|
|
6010
|
+
o.map ? (P(), B(F, Y({
|
|
6011
6011
|
key: 13,
|
|
6012
6012
|
map: o.map,
|
|
6013
6013
|
token: o.token,
|
|
6014
6014
|
show: a.checkList.includes("world12nm")
|
|
6015
6015
|
}, e.$attrs), null, 16, ["map", "token", "show"])) : N("", !0),
|
|
6016
|
-
o.map ? (
|
|
6016
|
+
o.map ? (P(), B(E, Y({
|
|
6017
6017
|
key: 14,
|
|
6018
6018
|
map: o.map,
|
|
6019
6019
|
token: o.token,
|
|
6020
6020
|
show: a.checkList.includes("chinaRoute")
|
|
6021
6021
|
}, e.$attrs), null, 16, ["map", "token", "show"])) : N("", !0),
|
|
6022
|
-
o.map ? (
|
|
6022
|
+
o.map ? (P(), B(V, Y({
|
|
6023
6023
|
key: 15,
|
|
6024
6024
|
map: o.map,
|
|
6025
6025
|
show: a.checkList.includes("ice-areas")
|
|
6026
6026
|
}, e.$attrs), null, 16, ["map", "show"])) : N("", !0),
|
|
6027
|
-
o.map ? (
|
|
6027
|
+
o.map ? (P(), B(J, Y({
|
|
6028
6028
|
key: 16,
|
|
6029
6029
|
ref: "idmFollowPort",
|
|
6030
6030
|
simple: o.simple,
|
|
@@ -6035,7 +6035,7 @@ function Ws(e, t, o, i, a, r) {
|
|
|
6035
6035
|
"forecast-model": o.forecastModel,
|
|
6036
6036
|
"real-time": o.realTime
|
|
6037
6037
|
}, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "real-time"])) : N("", !0),
|
|
6038
|
-
o.map ? (
|
|
6038
|
+
o.map ? (P(), B(Q, Y({
|
|
6039
6039
|
key: 17,
|
|
6040
6040
|
ref: "idmFollowPosition",
|
|
6041
6041
|
simple: o.simple,
|
|
@@ -6862,7 +6862,7 @@ const Os = {
|
|
|
6862
6862
|
}, js = { key: 0 };
|
|
6863
6863
|
function Xs(e, t, o, i, a, r) {
|
|
6864
6864
|
var l;
|
|
6865
|
-
return (l = o.factor) != null && l.active ? (
|
|
6865
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", js, [
|
|
6866
6866
|
n("div", {
|
|
6867
6867
|
class: "legend-bars-gl4 wind",
|
|
6868
6868
|
style: ue({ right: a.right + "px" })
|
|
@@ -7204,7 +7204,7 @@ const Js = {
|
|
|
7204
7204
|
}, Ks = { key: 0 };
|
|
7205
7205
|
function $s(e, t, o, i, a, r) {
|
|
7206
7206
|
var l;
|
|
7207
|
-
return (l = o.factor) != null && l.active ? (
|
|
7207
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", Ks, [
|
|
7208
7208
|
n("div", {
|
|
7209
7209
|
class: "legend-bars-gl4 current",
|
|
7210
7210
|
style: ue({ right: a.right + "px" })
|
|
@@ -7332,7 +7332,7 @@ const Qs = {
|
|
|
7332
7332
|
}, ec = { key: 0 };
|
|
7333
7333
|
function tc(e, t, o, i, a, r) {
|
|
7334
7334
|
var l;
|
|
7335
|
-
return (l = o.factor) != null && l.active ? (
|
|
7335
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", ec, [
|
|
7336
7336
|
n("div", {
|
|
7337
7337
|
class: "legend-bars-gl4 sig-wave",
|
|
7338
7338
|
style: ue({ right: a.right + "px" })
|
|
@@ -7599,7 +7599,7 @@ const lc = {
|
|
|
7599
7599
|
}, nc = { key: 0 };
|
|
7600
7600
|
function sc(e, t, o, i, a, r) {
|
|
7601
7601
|
var l;
|
|
7602
|
-
return (l = o.factor) != null && l.active ? (
|
|
7602
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", nc, [
|
|
7603
7603
|
n("div", {
|
|
7604
7604
|
class: "legend-bars-gl4 swell",
|
|
7605
7605
|
style: ue({ right: a.right + "px" })
|
|
@@ -7859,7 +7859,7 @@ const uc = {
|
|
|
7859
7859
|
}, pc = { key: 0 };
|
|
7860
7860
|
function gc(e, t, o, i, a, r) {
|
|
7861
7861
|
var l;
|
|
7862
|
-
return (l = o.factor) != null && l.active ? (
|
|
7862
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", pc, [
|
|
7863
7863
|
n("div", {
|
|
7864
7864
|
class: "legend-bars-gl4 ice-edge",
|
|
7865
7865
|
style: ue({ right: a.right + "px" })
|
|
@@ -7976,7 +7976,7 @@ const yc = {
|
|
|
7976
7976
|
}, bc = { key: 0 };
|
|
7977
7977
|
function wc(e, t, o, i, a, r) {
|
|
7978
7978
|
var l;
|
|
7979
|
-
return (l = o.factor) != null && l.active ? (
|
|
7979
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", bc, [
|
|
7980
7980
|
n("div", {
|
|
7981
7981
|
class: "legend-bars-gl4 ice-cover",
|
|
7982
7982
|
style: ue({ right: a.right + "px" })
|
|
@@ -8094,7 +8094,7 @@ const vc = {
|
|
|
8094
8094
|
}, kc = { key: 0 };
|
|
8095
8095
|
function _c(e, t, o, i, a, r) {
|
|
8096
8096
|
var l;
|
|
8097
|
-
return (l = o.factor) != null && l.active ? (
|
|
8097
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", kc, [
|
|
8098
8098
|
n("div", {
|
|
8099
8099
|
class: "legend-bars-gl4 ice-thickness",
|
|
8100
8100
|
style: ue({ right: a.right + "px" })
|
|
@@ -8214,7 +8214,7 @@ const Lc = {
|
|
|
8214
8214
|
}, Pc = { key: 0 };
|
|
8215
8215
|
function Cc(e, t, o, i, a, r) {
|
|
8216
8216
|
var l;
|
|
8217
|
-
return (l = o.factor) != null && l.active ? (
|
|
8217
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", Pc, [
|
|
8218
8218
|
n("div", {
|
|
8219
8219
|
class: "legend-bars-gl4 precip3h",
|
|
8220
8220
|
style: ue({ right: a.right + "px" })
|
|
@@ -8325,7 +8325,7 @@ const Sc = {
|
|
|
8325
8325
|
}, Tc = { key: 0 };
|
|
8326
8326
|
function Rc(e, t, o, i, a, r) {
|
|
8327
8327
|
var l;
|
|
8328
|
-
return (l = o.factor) != null && l.active ? (
|
|
8328
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", Tc, [
|
|
8329
8329
|
n("div", {
|
|
8330
8330
|
class: "legend-bars-gl4 visibility",
|
|
8331
8331
|
style: ue({ right: a.right + "px" })
|
|
@@ -8437,7 +8437,7 @@ const Dc = {
|
|
|
8437
8437
|
}, Ac = { key: 0 };
|
|
8438
8438
|
function Gc(e, t, o, i, a, r) {
|
|
8439
8439
|
var l;
|
|
8440
|
-
return (l = o.factor) != null && l.active ? (
|
|
8440
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", Ac, [
|
|
8441
8441
|
n("div", {
|
|
8442
8442
|
class: "legend-bars-gl4 water-temp",
|
|
8443
8443
|
style: ue({ right: a.right + "px" })
|
|
@@ -8560,7 +8560,7 @@ const Fc = {
|
|
|
8560
8560
|
}, Nc = { key: 0 };
|
|
8561
8561
|
function Bc(e, t, o, i, a, r) {
|
|
8562
8562
|
var l;
|
|
8563
|
-
return (l = o.factor) != null && l.active ? (
|
|
8563
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", Nc, [
|
|
8564
8564
|
n("div", {
|
|
8565
8565
|
class: "legend-bars-gl4 temp",
|
|
8566
8566
|
style: ue({ right: a.right + "px" })
|
|
@@ -9285,8 +9285,8 @@ const Ec = {
|
|
|
9285
9285
|
}, am = { class: "text-body-1 py-2" }, im = { class: "text-body-1 font-weight-medium" }, rm = { class: "text-body-2 text-label" }, lm = { class: "text-body-2 text-label" }, nm = { class: "text-body-2 text-label mb-3" }, sm = { class: "text-body-1 font-weight-medium" }, cm = { class: "text-body-2 text-label" }, mm = { class: "text-body-2 text-label" }, dm = { class: "text-body-2 text-label mb-3" }, hm = { class: "text-body-1 py-2" }, um = { class: "text-body-1 font-weight-medium" }, pm = { class: "text-body-2 text-label" }, gm = { class: "text-body-2 text-label" }, fm = { class: "text-body-2 text-label mb-3" }, ym = { class: "text-body-1 font-weight-medium" }, bm = { class: "text-body-2 text-label" }, wm = { class: "text-body-2 text-label" }, xm = { class: "text-body-2 text-label mb-3" }, vm = { class: "text-body-1 py-2" }, km = { class: "text-body-1 font-weight-medium" }, _m = { class: "text-body-2 text-label" }, zm = { class: "text-body-2 text-label" }, Lm = { class: "text-body-2 text-label mb-3" };
|
|
9286
9286
|
function Pm(e, t, o, i, a, r) {
|
|
9287
9287
|
var H, U, te, j, O, $, A, ie, ge, xe, ke, se, fe, ve, Se;
|
|
9288
|
-
const l = T("VBtn"), c = T("VTooltip"), s = T("VCol"), h = T("VRow"), m = T("VCardText"), g = T("VDivider"), p = T("VCard"), y = T("VSwitch"), f = T("VBtnToggle"), d = T("VCardTitle"), u = T("VCardItem"), x = T("VCheckbox"), v = T("VRadio"), w = T("IdmWindBarb"), _ = T("IdmSigWaveHeight"), S = T("IdmCurrentDirection"), z = T("IdmPrmsl"), M = T("IdmWindParticle"), R = T("IdmCurrentParticle"), W = T("IdmWave"), F = T("IdmSwell"), E = T("IdmIceEdge"), V = T("IdmIceCover"), J = T("IdmIceThickness"), Q = T("IdmPrecip3h"), ee = T("IdmVisibility"), he = T("IdmWaterTemp"),
|
|
9289
|
-
return
|
|
9288
|
+
const l = T("VBtn"), c = T("VTooltip"), s = T("VCol"), h = T("VRow"), m = T("VCardText"), g = T("VDivider"), p = T("VCard"), y = T("VSwitch"), f = T("VBtnToggle"), d = T("VCardTitle"), u = T("VCardItem"), x = T("VCheckbox"), v = T("VRadio"), w = T("IdmWindBarb"), _ = T("IdmSigWaveHeight"), S = T("IdmCurrentDirection"), z = T("IdmPrmsl"), M = T("IdmWindParticle"), R = T("IdmCurrentParticle"), W = T("IdmWave"), F = T("IdmSwell"), E = T("IdmIceEdge"), V = T("IdmIceCover"), J = T("IdmIceThickness"), Q = T("IdmPrecip3h"), ee = T("IdmVisibility"), he = T("IdmWaterTemp"), D = T("IdmTemp");
|
|
9289
|
+
return P(), I("div", Oc, [
|
|
9290
9290
|
n("div", {
|
|
9291
9291
|
class: "menu-bar-box transition pa-1",
|
|
9292
9292
|
style: ue({ top: o.top + o.paddingTop + 46 + "px", right: a.right + "px" })
|
|
@@ -9299,7 +9299,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9299
9299
|
"open-on-focus": !o.simple,
|
|
9300
9300
|
"open-on-hover": !o.simple
|
|
9301
9301
|
}, {
|
|
9302
|
-
activator:
|
|
9302
|
+
activator: C(({ props: K }) => [
|
|
9303
9303
|
k(l, Y(K, {
|
|
9304
9304
|
"min-width": "32",
|
|
9305
9305
|
width: "32",
|
|
@@ -9307,7 +9307,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9307
9307
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
9308
9308
|
onClick: r.handleMenuToggle
|
|
9309
9309
|
}), {
|
|
9310
|
-
default:
|
|
9310
|
+
default: C(() => t[9] || (t[9] = [
|
|
9311
9311
|
n("i", { class: "iconfont icon-Weather text-h4" }, null, -1)
|
|
9312
9312
|
])),
|
|
9313
9313
|
_: 2,
|
|
@@ -9317,7 +9317,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9317
9317
|
_: 1
|
|
9318
9318
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
9319
9319
|
], 4),
|
|
9320
|
-
r.showTipMenu ? (
|
|
9320
|
+
r.showTipMenu ? (P(), I("div", jc, [
|
|
9321
9321
|
n("div", {
|
|
9322
9322
|
class: _e(["menu-bar-box pa-1 rounded", o.simple ? "simple" : ""]),
|
|
9323
9323
|
style: ue({ right: a.right + "px", top: o.simple ? "354px" : "450px" })
|
|
@@ -9330,7 +9330,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9330
9330
|
"open-on-focus": !o.simple,
|
|
9331
9331
|
"open-on-hover": !o.simple
|
|
9332
9332
|
}, {
|
|
9333
|
-
activator:
|
|
9333
|
+
activator: C(({ props: K }) => [
|
|
9334
9334
|
k(l, Y(K, {
|
|
9335
9335
|
"min-width": "32",
|
|
9336
9336
|
width: "32",
|
|
@@ -9338,7 +9338,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9338
9338
|
class: ["text-none pa-0", a.legendToggle ? "bg-primary active-border" : ""],
|
|
9339
9339
|
onClick: t[0] || (t[0] = (me) => a.legendToggle = !a.legendToggle)
|
|
9340
9340
|
}), {
|
|
9341
|
-
default:
|
|
9341
|
+
default: C(() => t[10] || (t[10] = [
|
|
9342
9342
|
n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
|
|
9343
9343
|
])),
|
|
9344
9344
|
_: 2,
|
|
@@ -9348,27 +9348,27 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9348
9348
|
_: 1
|
|
9349
9349
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
9350
9350
|
], 6),
|
|
9351
|
-
a.legendToggle ? (
|
|
9351
|
+
a.legendToggle ? (P(), B(p, {
|
|
9352
9352
|
key: 0,
|
|
9353
9353
|
elevation: "16",
|
|
9354
9354
|
class: "card-info d-flex justify-center align-start",
|
|
9355
9355
|
style: ue({ position: "absolute", top: o.simple ? "200px" : "340px", right: a.right + 50 + "px" })
|
|
9356
9356
|
}, {
|
|
9357
|
-
default:
|
|
9357
|
+
default: C(() => [
|
|
9358
9358
|
k(m, {
|
|
9359
9359
|
class: "d-flex flex-column justify-center align-start text-label px-2",
|
|
9360
9360
|
style: { width: "110px" }
|
|
9361
9361
|
}, {
|
|
9362
|
-
default:
|
|
9362
|
+
default: C(() => [
|
|
9363
9363
|
t[11] || (t[11] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wind Level", -1)),
|
|
9364
9364
|
k(h, { class: "ma-0 ml-n1 text-body-2" }, {
|
|
9365
|
-
default:
|
|
9366
|
-
(
|
|
9365
|
+
default: C(() => [
|
|
9366
|
+
(P(!0), I(Ie, null, De(a.legend.barbs, (K, me) => (P(), B(s, {
|
|
9367
9367
|
key: K,
|
|
9368
9368
|
cols: "6",
|
|
9369
9369
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
9370
9370
|
}, {
|
|
9371
|
-
default:
|
|
9371
|
+
default: C(() => [
|
|
9372
9372
|
n("div", Xc, [
|
|
9373
9373
|
n("i", {
|
|
9374
9374
|
class: _e(["iconfont", r.barbsIconName[me]]),
|
|
@@ -9391,18 +9391,18 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9391
9391
|
class: "d-flex flex-column justify-center align-start text-label px-2",
|
|
9392
9392
|
style: { width: "100px" }
|
|
9393
9393
|
}, {
|
|
9394
|
-
default:
|
|
9394
|
+
default: C(() => [
|
|
9395
9395
|
t[12] || (t[12] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wave Height", -1)),
|
|
9396
9396
|
k(h, { class: "ma-0" }, {
|
|
9397
|
-
default:
|
|
9398
|
-
(
|
|
9397
|
+
default: C(() => [
|
|
9398
|
+
(P(!0), I(Ie, null, De(a.legend.sigWaveHeight, (K, me) => (P(), B(s, {
|
|
9399
9399
|
key: me,
|
|
9400
9400
|
cols: "12",
|
|
9401
9401
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
9402
9402
|
}, {
|
|
9403
|
-
default:
|
|
9403
|
+
default: C(() => [
|
|
9404
9404
|
n("div", Hc, [
|
|
9405
|
-
me === 0 ? (
|
|
9405
|
+
me === 0 ? (P(), I("div", Yc)) : (P(), I("div", {
|
|
9406
9406
|
key: 1,
|
|
9407
9407
|
style: ue({ width: "24px", height: "12px", background: K.color })
|
|
9408
9408
|
}, null, 4)),
|
|
@@ -9423,16 +9423,16 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9423
9423
|
class: "d-flex flex-column justify-center align-start text-label px-2",
|
|
9424
9424
|
style: { width: "90px" }
|
|
9425
9425
|
}, {
|
|
9426
|
-
default:
|
|
9426
|
+
default: C(() => [
|
|
9427
9427
|
t[13] || (t[13] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Current", -1)),
|
|
9428
9428
|
k(h, { class: "ma-0 ml-n4" }, {
|
|
9429
|
-
default:
|
|
9430
|
-
(
|
|
9429
|
+
default: C(() => [
|
|
9430
|
+
(P(!0), I(Ie, null, De(a.legend.current, (K, me) => (P(), B(s, {
|
|
9431
9431
|
key: me,
|
|
9432
9432
|
cols: "12",
|
|
9433
9433
|
class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
|
|
9434
9434
|
}, {
|
|
9435
|
-
default:
|
|
9435
|
+
default: C(() => [
|
|
9436
9436
|
n("div", Jc, [
|
|
9437
9437
|
n("div", Kc, [
|
|
9438
9438
|
n("i", {
|
|
@@ -9482,14 +9482,14 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9482
9482
|
class: "mr-n2",
|
|
9483
9483
|
onClick: r.handleMenuToggle
|
|
9484
9484
|
}, {
|
|
9485
|
-
default:
|
|
9485
|
+
default: C(() => t[14] || (t[14] = [
|
|
9486
9486
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
9487
9487
|
])),
|
|
9488
9488
|
_: 1,
|
|
9489
9489
|
__: [14]
|
|
9490
9490
|
}, 8, ["onClick"])
|
|
9491
9491
|
], 2),
|
|
9492
|
-
o.simple ? (
|
|
9492
|
+
o.simple ? (P(), I("div", em, [
|
|
9493
9493
|
n("div", null, b(e.$t("weather.forecastModel")), 1),
|
|
9494
9494
|
k(f, {
|
|
9495
9495
|
modelValue: a.currentModel,
|
|
@@ -9499,7 +9499,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9499
9499
|
density: "compact",
|
|
9500
9500
|
group: ""
|
|
9501
9501
|
}, {
|
|
9502
|
-
default:
|
|
9502
|
+
default: C(() => [
|
|
9503
9503
|
k(l, {
|
|
9504
9504
|
density: "compact",
|
|
9505
9505
|
height: "28",
|
|
@@ -9508,7 +9508,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9508
9508
|
color: a.currentModel === "GFS" ? "primary" : "",
|
|
9509
9509
|
"base-color": ""
|
|
9510
9510
|
}, {
|
|
9511
|
-
default:
|
|
9511
|
+
default: C(() => t[15] || (t[15] = [
|
|
9512
9512
|
de("NOAA", -1)
|
|
9513
9513
|
])),
|
|
9514
9514
|
_: 1,
|
|
@@ -9522,7 +9522,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9522
9522
|
"base-color": "",
|
|
9523
9523
|
value: "ECMWF"
|
|
9524
9524
|
}, {
|
|
9525
|
-
default:
|
|
9525
|
+
default: C(() => t[16] || (t[16] = [
|
|
9526
9526
|
de("ECMWF", -1)
|
|
9527
9527
|
])),
|
|
9528
9528
|
_: 1,
|
|
@@ -9539,11 +9539,11 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9539
9539
|
class: "block-bg mx-auto mb-2",
|
|
9540
9540
|
elevation: "0"
|
|
9541
9541
|
}, {
|
|
9542
|
-
default:
|
|
9542
|
+
default: C(() => [
|
|
9543
9543
|
k(u, { class: "border-b-thin" }, {
|
|
9544
|
-
default:
|
|
9544
|
+
default: C(() => [
|
|
9545
9545
|
k(d, { class: "text-h6" }, {
|
|
9546
|
-
default:
|
|
9546
|
+
default: C(() => [
|
|
9547
9547
|
de(b(e.$t("weather.overlays")), 1)
|
|
9548
9548
|
]),
|
|
9549
9549
|
_: 1
|
|
@@ -9552,8 +9552,8 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9552
9552
|
_: 1
|
|
9553
9553
|
}),
|
|
9554
9554
|
k(m, { class: "py-2 mx-n1" }, {
|
|
9555
|
-
default:
|
|
9556
|
-
(
|
|
9555
|
+
default: C(() => [
|
|
9556
|
+
(P(!0), I(Ie, null, De(a.tagLayers.filter((K) => K.overlays), (K) => (P(), B(x, {
|
|
9557
9557
|
key: K.key,
|
|
9558
9558
|
modelValue: a.checkList,
|
|
9559
9559
|
"onUpdate:modelValue": t[3] || (t[3] = (me) => a.checkList = me),
|
|
@@ -9576,11 +9576,11 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9576
9576
|
class: "block-bg mx-auto mb-2",
|
|
9577
9577
|
elevation: "0"
|
|
9578
9578
|
}, {
|
|
9579
|
-
default:
|
|
9579
|
+
default: C(() => [
|
|
9580
9580
|
k(u, { class: "border-b-thin" }, {
|
|
9581
|
-
default:
|
|
9581
|
+
default: C(() => [
|
|
9582
9582
|
k(d, { class: "text-h6" }, {
|
|
9583
|
-
default:
|
|
9583
|
+
default: C(() => [
|
|
9584
9584
|
de(b(e.$t("weather.renders")), 1)
|
|
9585
9585
|
]),
|
|
9586
9586
|
_: 1
|
|
@@ -9589,8 +9589,8 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9589
9589
|
_: 1
|
|
9590
9590
|
}),
|
|
9591
9591
|
k(m, { class: "py-2 mx-n1" }, {
|
|
9592
|
-
default:
|
|
9593
|
-
(
|
|
9592
|
+
default: C(() => [
|
|
9593
|
+
(P(!0), I(Ie, null, De(a.tagLayers.filter((K) => !K.overlays), (K) => (P(), I(Ie, {
|
|
9594
9594
|
key: K.key
|
|
9595
9595
|
}, [
|
|
9596
9596
|
k(v, {
|
|
@@ -9606,7 +9606,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9606
9606
|
"hide-details": "",
|
|
9607
9607
|
onClick: (me) => a.renderKey = a.renderKey === K.key ? "" : K.key
|
|
9608
9608
|
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
|
|
9609
|
-
a.renderKey === "wind-particle" && K.key === "wind-particle" ? (
|
|
9609
|
+
a.renderKey === "wind-particle" && K.key === "wind-particle" ? (P(), I("div", tm, [
|
|
9610
9610
|
n("span", null, b(e.$t("weather.particleAnimatiom")), 1),
|
|
9611
9611
|
k(y, {
|
|
9612
9612
|
modelValue: a.showWindParticle,
|
|
@@ -9621,7 +9621,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9621
9621
|
"hide-details": ""
|
|
9622
9622
|
}, null, 8, ["modelValue"])
|
|
9623
9623
|
])) : N("", !0),
|
|
9624
|
-
a.renderKey === "current-particle" && K.key === "current-particle" ? (
|
|
9624
|
+
a.renderKey === "current-particle" && K.key === "current-particle" ? (P(), I("div", om, [
|
|
9625
9625
|
n("span", null, b(e.$t("weather.particleAnimatiom")), 1),
|
|
9626
9626
|
k(y, {
|
|
9627
9627
|
modelValue: a.showCurrentParticle,
|
|
@@ -9636,7 +9636,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9636
9636
|
"hide-details": ""
|
|
9637
9637
|
}, null, 8, ["modelValue"])
|
|
9638
9638
|
])) : N("", !0),
|
|
9639
|
-
a.renderKey === "wave-group" && K.key === "wave-group" ? (
|
|
9639
|
+
a.renderKey === "wave-group" && K.key === "wave-group" ? (P(), B(f, {
|
|
9640
9640
|
key: 2,
|
|
9641
9641
|
modelValue: a.waveToggleValue,
|
|
9642
9642
|
"onUpdate:modelValue": t[7] || (t[7] = (me) => a.waveToggleValue = me),
|
|
@@ -9647,7 +9647,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9647
9647
|
group: "",
|
|
9648
9648
|
disabled: !a.autoActive
|
|
9649
9649
|
}, {
|
|
9650
|
-
default:
|
|
9650
|
+
default: C(() => [
|
|
9651
9651
|
k(l, {
|
|
9652
9652
|
density: "compact",
|
|
9653
9653
|
height: "30",
|
|
@@ -9657,7 +9657,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9657
9657
|
"base-color": "grey-lighten-1",
|
|
9658
9658
|
disabled: !a.autoActive
|
|
9659
9659
|
}, {
|
|
9660
|
-
default:
|
|
9660
|
+
default: C(() => [
|
|
9661
9661
|
de(b(e.$t("weather.significant")), 1)
|
|
9662
9662
|
]),
|
|
9663
9663
|
_: 1
|
|
@@ -9671,7 +9671,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9671
9671
|
disabled: !a.autoActive,
|
|
9672
9672
|
value: "swell"
|
|
9673
9673
|
}, {
|
|
9674
|
-
default:
|
|
9674
|
+
default: C(() => [
|
|
9675
9675
|
de(b(e.$t("weather.swell")), 1)
|
|
9676
9676
|
]),
|
|
9677
9677
|
_: 1
|
|
@@ -9679,7 +9679,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9679
9679
|
]),
|
|
9680
9680
|
_: 1
|
|
9681
9681
|
}, 8, ["modelValue", "disabled"])) : N("", !0),
|
|
9682
|
-
a.renderKey === "ice-forecast" && K.key === "ice-forecast" ? (
|
|
9682
|
+
a.renderKey === "ice-forecast" && K.key === "ice-forecast" ? (P(), B(f, {
|
|
9683
9683
|
key: 3,
|
|
9684
9684
|
modelValue: a.iceToggleValue,
|
|
9685
9685
|
"onUpdate:modelValue": t[8] || (t[8] = (me) => a.iceToggleValue = me),
|
|
@@ -9690,7 +9690,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9690
9690
|
group: "",
|
|
9691
9691
|
disabled: !a.autoActive
|
|
9692
9692
|
}, {
|
|
9693
|
-
default:
|
|
9693
|
+
default: C(() => [
|
|
9694
9694
|
k(l, {
|
|
9695
9695
|
density: "compact",
|
|
9696
9696
|
height: "30",
|
|
@@ -9700,7 +9700,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9700
9700
|
"base-color": "grey-lighten-1",
|
|
9701
9701
|
disabled: !a.autoActive
|
|
9702
9702
|
}, {
|
|
9703
|
-
default:
|
|
9703
|
+
default: C(() => [
|
|
9704
9704
|
de(b(e.$t("weather.coverage")), 1)
|
|
9705
9705
|
]),
|
|
9706
9706
|
_: 1
|
|
@@ -9714,7 +9714,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9714
9714
|
disabled: !a.autoActive,
|
|
9715
9715
|
value: "ice-thickness"
|
|
9716
9716
|
}, {
|
|
9717
|
-
default:
|
|
9717
|
+
default: C(() => [
|
|
9718
9718
|
de(b(e.$t("weather.thickness")), 1)
|
|
9719
9719
|
]),
|
|
9720
9720
|
_: 1
|
|
@@ -9733,11 +9733,11 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9733
9733
|
class: "block-bg mx-auto mb-2",
|
|
9734
9734
|
elevation: "0"
|
|
9735
9735
|
}, {
|
|
9736
|
-
default:
|
|
9736
|
+
default: C(() => [
|
|
9737
9737
|
k(u, { class: "border-b-thin" }, {
|
|
9738
|
-
default:
|
|
9738
|
+
default: C(() => [
|
|
9739
9739
|
k(d, { class: "text-h6" }, {
|
|
9740
|
-
default:
|
|
9740
|
+
default: C(() => [
|
|
9741
9741
|
de(b(e.$t("weather.forecastModel")), 1)
|
|
9742
9742
|
]),
|
|
9743
9743
|
_: 1
|
|
@@ -9746,7 +9746,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9746
9746
|
_: 1
|
|
9747
9747
|
}),
|
|
9748
9748
|
k(m, { class: "" }, {
|
|
9749
|
-
default:
|
|
9749
|
+
default: C(() => {
|
|
9750
9750
|
var K, me, Xe, Ne, Pe, Te, oe, Ce, pe, ye, Ee, He, Ve, X, be, Re, Oe, je, q, Be, re, tt, ot, at, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Bt, Zt, Et, Ot, jt, Xt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo;
|
|
9751
9751
|
return [
|
|
9752
9752
|
n("div", am, b(e.$t("weather.atmospheric")), 1),
|
|
@@ -9783,7 +9783,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9783
9783
|
})
|
|
9784
9784
|
], 2)
|
|
9785
9785
|
], 6),
|
|
9786
|
-
o.map ? (
|
|
9786
|
+
o.map ? (P(), B(w, Y({
|
|
9787
9787
|
key: 1,
|
|
9788
9788
|
ref: "windBarb",
|
|
9789
9789
|
map: o.map,
|
|
@@ -9792,7 +9792,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9792
9792
|
wind: (H = a.weatherLayers) == null ? void 0 : H.wind,
|
|
9793
9793
|
"menu-toggle": o.menuToggle
|
|
9794
9794
|
}, e.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : N("", !0),
|
|
9795
|
-
o.map ? (
|
|
9795
|
+
o.map ? (P(), B(_, Y({
|
|
9796
9796
|
key: 2,
|
|
9797
9797
|
map: o.map,
|
|
9798
9798
|
"before-layer": "empty-layer-2",
|
|
@@ -9800,7 +9800,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9800
9800
|
"menu-toggle": o.menuToggle,
|
|
9801
9801
|
"active-weather-layers": a.activeWeatherLayers
|
|
9802
9802
|
}, e.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : N("", !0),
|
|
9803
|
-
o.map ? (
|
|
9803
|
+
o.map ? (P(), B(S, Y({
|
|
9804
9804
|
key: 3,
|
|
9805
9805
|
map: o.map,
|
|
9806
9806
|
"map-feather": o.mapFeather,
|
|
@@ -9808,7 +9808,7 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9808
9808
|
current: (te = a.weatherLayers) == null ? void 0 : te.current,
|
|
9809
9809
|
"menu-toggle": o.menuToggle
|
|
9810
9810
|
}, e.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : N("", !0),
|
|
9811
|
-
o.map ? (
|
|
9811
|
+
o.map ? (P(), B(z, Y({
|
|
9812
9812
|
key: 4,
|
|
9813
9813
|
map: o.map,
|
|
9814
9814
|
"before-layer": "empty-layer-3",
|
|
@@ -9816,28 +9816,28 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9816
9816
|
"menu-toggle": o.menuToggle,
|
|
9817
9817
|
"active-weather-layers": a.activeWeatherLayers
|
|
9818
9818
|
}, e.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : N("", !0),
|
|
9819
|
-
o.map ? (
|
|
9819
|
+
o.map ? (P(), B(M, Y({
|
|
9820
9820
|
key: 5,
|
|
9821
9821
|
viewport: a.viewport,
|
|
9822
9822
|
factor: (O = a.weatherLayers) == null ? void 0 : O["wind-particle"],
|
|
9823
9823
|
"menu-toggle": o.menuToggle,
|
|
9824
9824
|
simple: o.simple
|
|
9825
9825
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9826
|
-
o.map ? (
|
|
9826
|
+
o.map ? (P(), B(R, Y({
|
|
9827
9827
|
key: 6,
|
|
9828
9828
|
viewport: a.viewport,
|
|
9829
9829
|
factor: ($ = a.weatherLayers) == null ? void 0 : $["current-particle"],
|
|
9830
9830
|
"menu-toggle": o.menuToggle,
|
|
9831
9831
|
simple: o.simple
|
|
9832
9832
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9833
|
-
o.map ? (
|
|
9833
|
+
o.map ? (P(), B(W, Y({
|
|
9834
9834
|
key: 7,
|
|
9835
9835
|
viewport: a.viewport,
|
|
9836
9836
|
factor: (A = a.weatherLayers) == null ? void 0 : A["sig-wave"],
|
|
9837
9837
|
"menu-toggle": o.menuToggle,
|
|
9838
9838
|
simple: o.simple
|
|
9839
9839
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9840
|
-
o.map ? (
|
|
9840
|
+
o.map ? (P(), B(F, Y({
|
|
9841
9841
|
key: 8,
|
|
9842
9842
|
map: o.map,
|
|
9843
9843
|
viewport: a.viewport,
|
|
@@ -9846,49 +9846,49 @@ function Pm(e, t, o, i, a, r) {
|
|
|
9846
9846
|
"active-weather-layers": a.activeWeatherLayers,
|
|
9847
9847
|
simple: o.simple
|
|
9848
9848
|
}, e.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers", "simple"])) : N("", !0),
|
|
9849
|
-
o.map ? (
|
|
9849
|
+
o.map ? (P(), B(E, Y({
|
|
9850
9850
|
key: 9,
|
|
9851
9851
|
viewport: a.viewport,
|
|
9852
9852
|
factor: (ge = a.weatherLayers) == null ? void 0 : ge["ice-edge"],
|
|
9853
9853
|
"menu-toggle": o.menuToggle,
|
|
9854
9854
|
simple: o.simple
|
|
9855
9855
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9856
|
-
o.map ? (
|
|
9856
|
+
o.map ? (P(), B(V, Y({
|
|
9857
9857
|
key: 10,
|
|
9858
9858
|
viewport: a.viewport,
|
|
9859
9859
|
factor: (xe = a.weatherLayers) == null ? void 0 : xe["ice-cover"],
|
|
9860
9860
|
"menu-toggle": o.menuToggle,
|
|
9861
9861
|
simple: o.simple
|
|
9862
9862
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9863
|
-
o.map ? (
|
|
9863
|
+
o.map ? (P(), B(J, Y({
|
|
9864
9864
|
key: 11,
|
|
9865
9865
|
viewport: a.viewport,
|
|
9866
9866
|
factor: (ke = a.weatherLayers) == null ? void 0 : ke["ice-thickness"],
|
|
9867
9867
|
"menu-toggle": o.menuToggle,
|
|
9868
9868
|
simple: o.simple
|
|
9869
9869
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9870
|
-
o.map ? (
|
|
9870
|
+
o.map ? (P(), B(Q, Y({
|
|
9871
9871
|
key: 12,
|
|
9872
9872
|
viewport: a.viewport,
|
|
9873
9873
|
factor: (se = a.weatherLayers) == null ? void 0 : se.precip3h,
|
|
9874
9874
|
"menu-toggle": o.menuToggle,
|
|
9875
9875
|
simple: o.simple
|
|
9876
9876
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9877
|
-
o.map ? (
|
|
9877
|
+
o.map ? (P(), B(ee, Y({
|
|
9878
9878
|
key: 13,
|
|
9879
9879
|
viewport: a.viewport,
|
|
9880
9880
|
factor: (fe = a.weatherLayers) == null ? void 0 : fe.visibility,
|
|
9881
9881
|
"menu-toggle": o.menuToggle,
|
|
9882
9882
|
simple: o.simple
|
|
9883
9883
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9884
|
-
o.map ? (
|
|
9884
|
+
o.map ? (P(), B(he, Y({
|
|
9885
9885
|
key: 14,
|
|
9886
9886
|
viewport: a.viewport,
|
|
9887
9887
|
factor: (ve = a.weatherLayers) == null ? void 0 : ve["water-temp"],
|
|
9888
9888
|
"menu-toggle": o.menuToggle,
|
|
9889
9889
|
simple: o.simple
|
|
9890
9890
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9891
|
-
o.map ? (
|
|
9891
|
+
o.map ? (P(), B(D, Y({
|
|
9892
9892
|
key: 15,
|
|
9893
9893
|
viewport: a.viewport,
|
|
9894
9894
|
factor: (Se = a.weatherLayers) == null ? void 0 : Se.temp,
|
|
@@ -10244,7 +10244,7 @@ let Di = class {
|
|
|
10244
10244
|
}), a;
|
|
10245
10245
|
}
|
|
10246
10246
|
static pickHourly(t, o) {
|
|
10247
|
-
var i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he,
|
|
10247
|
+
var i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he, D, H, U, te, j, O, $, A, ie, ge, xe, ke, se, fe, ve, Se, K, me, Xe, Ne, Pe, Te;
|
|
10248
10248
|
const oe = typeof o == "string" ? G(o) : o, Ce = t == null ? void 0 : t.weather, pe = t == null ? void 0 : t.marine, ye = G((a = (i = Ce == null ? void 0 : Ce[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), Ee = ye.clone().add((c = (l = (r = Ce == null ? void 0 : Ce[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), He = ye.clone().add((m = (h = (s = Ce == null ? void 0 : Ce[0]) == null ? void 0 : s.hourly) == null ? void 0 : h.time) == null ? void 0 : m.at(-1), "h"), Ve = [];
|
|
10249
10249
|
if (oe.isBetween(Ee, He, "millisecond", "[]")) {
|
|
10250
10250
|
const X = oe.utc().diff(Ee, "h", !1);
|
|
@@ -10301,7 +10301,7 @@ let Di = class {
|
|
|
10301
10301
|
wave: {
|
|
10302
10302
|
sig: {
|
|
10303
10303
|
height: (he = q == null ? void 0 : q.wave_height) == null ? void 0 : he.at(X),
|
|
10304
|
-
degree: (
|
|
10304
|
+
degree: (D = q == null ? void 0 : q.wave_direction) == null ? void 0 : D.at(X),
|
|
10305
10305
|
bearing: ((H = q == null ? void 0 : q.wave_direction) == null ? void 0 : H.at(X)) !== null ? (((U = q == null ? void 0 : q.wave_direction) == null ? void 0 : U.at(X)) + 180) % 360 : null,
|
|
10306
10306
|
period: (te = q == null ? void 0 : q.wave_period) == null ? void 0 : te.at(X)
|
|
10307
10307
|
},
|
|
@@ -10357,7 +10357,7 @@ let Di = class {
|
|
|
10357
10357
|
};
|
|
10358
10358
|
}
|
|
10359
10359
|
static pickDaily(t, o) {
|
|
10360
|
-
var i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he,
|
|
10360
|
+
var i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he, D, H, U, te, j, O, $, A, ie, ge, xe, ke, se, fe;
|
|
10361
10361
|
const ve = typeof o == "string" ? G(o) : o, Se = t == null ? void 0 : t.weather, K = t == null ? void 0 : t.marine, me = G((r = (a = (i = Se == null ? void 0 : Se[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), Xe = G((s = (c = (l = Se == null ? void 0 : Se[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), Ne = [];
|
|
10362
10362
|
if (ve.isBetween(me, Xe, "millisecond", "[]")) {
|
|
10363
10363
|
let Pe, Te;
|
|
@@ -10414,7 +10414,7 @@ let Di = class {
|
|
|
10414
10414
|
height: (Q = ye.wave_height_max) == null ? void 0 : Q.at(oe),
|
|
10415
10415
|
degree: (ee = ye.wave_direction_dominant) == null ? void 0 : ee.at(oe),
|
|
10416
10416
|
period: (he = ye.wave_period_max) == null ? void 0 : he.at(oe),
|
|
10417
|
-
bearing: ((
|
|
10417
|
+
bearing: ((D = ye.wave_direction_dominant) == null ? void 0 : D.at(oe)) !== null ? (((H = ye.wave_direction_dominant) == null ? void 0 : H.at(oe)) + 180) % 360 : null
|
|
10418
10418
|
},
|
|
10419
10419
|
swell: {
|
|
10420
10420
|
height: (U = ye.swell_wave_height_max) == null ? void 0 : U.at(oe),
|
|
@@ -11319,7 +11319,7 @@ const Mm = {
|
|
|
11319
11319
|
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), (e = this.interpolateMarkers) == null || e.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)), (t = this.map) == null || t.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();
|
|
11320
11320
|
},
|
|
11321
11321
|
handleDateChange() {
|
|
11322
|
-
var e, t, o, i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he,
|
|
11322
|
+
var e, t, o, i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he, D, H;
|
|
11323
11323
|
if ((e = this.interpolateMarkers) == null || e.forEach((U) => U == null ? void 0 : U.remove()), (t = this.interpolateData) != null && t.length && this.tropicals.active) {
|
|
11324
11324
|
const U = G(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), te = this.interpolateData.filter((A) => A.properties.date === (U == null ? void 0 : U.format()) && !A.properties.disabled), j = this.handleComputePolygons(te), O = ae.featureCollection([...te]);
|
|
11325
11325
|
j.forEach((A) => {
|
|
@@ -11382,7 +11382,7 @@ const Mm = {
|
|
|
11382
11382
|
}
|
|
11383
11383
|
this.$emit("tropicalCenterPoints", $);
|
|
11384
11384
|
} else
|
|
11385
|
-
(
|
|
11385
|
+
(D = this.map) != null && D.getSource(this.interpolateSource) && ((H = this.map) == null || H.getSource(this.interpolateSource).setData(this.empty));
|
|
11386
11386
|
},
|
|
11387
11387
|
handleClick(e) {
|
|
11388
11388
|
var a, r, l, c, s, h, m, g, p, y, f;
|
|
@@ -11557,7 +11557,7 @@ const Mm = {
|
|
|
11557
11557
|
}, lh = { class: "text-label pr-1" }, nh = { class: "d-flex justify-start align-center" }, sh = { class: "text-label pr-1" };
|
|
11558
11558
|
function ch(e, t, o, i, a, r) {
|
|
11559
11559
|
const l = T("VBtn"), c = T("VTooltip"), s = T("VCardText"), h = T("VDivider"), m = T("VCardActions"), g = T("VCard"), p = T("v-card-title"), y = T("v-divider");
|
|
11560
|
-
return
|
|
11560
|
+
return P(), I("div", Sm, [
|
|
11561
11561
|
n("div", {
|
|
11562
11562
|
class: "menu-bar-box transition pa-1",
|
|
11563
11563
|
style: ue({ top: o.top + o.paddingTop + 86 + "px", right: a.right + "px" })
|
|
@@ -11570,7 +11570,7 @@ function ch(e, t, o, i, a, r) {
|
|
|
11570
11570
|
"open-on-focus": !o.simple,
|
|
11571
11571
|
"open-on-hover": !o.simple
|
|
11572
11572
|
}, {
|
|
11573
|
-
activator:
|
|
11573
|
+
activator: C(({ props: f }) => [
|
|
11574
11574
|
k(l, Y(f, {
|
|
11575
11575
|
"min-width": "32",
|
|
11576
11576
|
width: "32",
|
|
@@ -11578,7 +11578,7 @@ function ch(e, t, o, i, a, r) {
|
|
|
11578
11578
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
11579
11579
|
onClick: r.handleMenuToggle
|
|
11580
11580
|
}), {
|
|
11581
|
-
default:
|
|
11581
|
+
default: C(() => t[3] || (t[3] = [
|
|
11582
11582
|
n("i", { class: "iconfont icon-Tropical text-h4" }, null, -1)
|
|
11583
11583
|
])),
|
|
11584
11584
|
_: 2,
|
|
@@ -11588,7 +11588,7 @@ function ch(e, t, o, i, a, r) {
|
|
|
11588
11588
|
_: 1
|
|
11589
11589
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
11590
11590
|
], 4),
|
|
11591
|
-
a.showTropicalsInfo && !e.$attrs.hideTropicalsLegend ? (
|
|
11591
|
+
a.showTropicalsInfo && !e.$attrs.hideTropicalsLegend ? (P(), I("div", {
|
|
11592
11592
|
key: 0,
|
|
11593
11593
|
ref: "tropicalsInfo",
|
|
11594
11594
|
id: "idm-tropical-gl4-info",
|
|
@@ -11598,14 +11598,14 @@ function ch(e, t, o, i, a, r) {
|
|
|
11598
11598
|
class: _e(["w-100", o.simple ? "rounded-t-4 bg-none" : ""]),
|
|
11599
11599
|
elevation: o.simple ? 0 : 16
|
|
11600
11600
|
}, {
|
|
11601
|
-
default:
|
|
11601
|
+
default: C(() => [
|
|
11602
11602
|
k(s, null, {
|
|
11603
|
-
default:
|
|
11603
|
+
default: C(() => {
|
|
11604
11604
|
var f, d, u, x, v, w, _, S, z, M, R, W;
|
|
11605
11605
|
return [
|
|
11606
11606
|
n("div", Tm, [
|
|
11607
11607
|
n("span", Rm, b(o.locale === "en" ? (f = a.activeTropicals) == null ? void 0 : f.Name : ((d = a.activeTropicals) == null ? void 0 : d.nameCn) || ((u = a.activeTropicals) == null ? void 0 : u.Name) || "-"), 1),
|
|
11608
|
-
(v = (x = a.activeTropicals) == null ? void 0 : x.history) != null && v.levelI18n ? (
|
|
11608
|
+
(v = (x = a.activeTropicals) == null ? void 0 : x.history) != null && v.levelI18n ? (P(), I("span", Im, " , " + b(e.$t("tropical." + ((_ = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : _.levelI18n))), 1)) : N("", !0)
|
|
11609
11609
|
]),
|
|
11610
11610
|
k(l, {
|
|
11611
11611
|
icon: "",
|
|
@@ -11614,7 +11614,7 @@ function ch(e, t, o, i, a, r) {
|
|
|
11614
11614
|
class: "close",
|
|
11615
11615
|
onClick: ze(r.handleCloseInfoMarker, ["stop"])
|
|
11616
11616
|
}, {
|
|
11617
|
-
default:
|
|
11617
|
+
default: C(() => t[4] || (t[4] = [
|
|
11618
11618
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
11619
11619
|
])),
|
|
11620
11620
|
_: 1,
|
|
@@ -11630,7 +11630,7 @@ function ch(e, t, o, i, a, r) {
|
|
|
11630
11630
|
}),
|
|
11631
11631
|
k(h),
|
|
11632
11632
|
k(s, { class: "text-body-1 py-3" }, {
|
|
11633
|
-
default:
|
|
11633
|
+
default: C(() => {
|
|
11634
11634
|
var f, d, u, x, v, w, _, S, z;
|
|
11635
11635
|
return [
|
|
11636
11636
|
n("div", Gm, [
|
|
@@ -11657,7 +11657,7 @@ function ch(e, t, o, i, a, r) {
|
|
|
11657
11657
|
n("div", Vm, [
|
|
11658
11658
|
n("label", Hm, b(e.$t("tropical.models")) + " : ", 1),
|
|
11659
11659
|
n("div", Ym, [
|
|
11660
|
-
(
|
|
11660
|
+
(P(!0), I(Ie, null, De((z = a.activeTropicals) == null ? void 0 : z.forecasts, (M, R) => (P(), B(l, {
|
|
11661
11661
|
key: R,
|
|
11662
11662
|
density: "compact",
|
|
11663
11663
|
variant: M.disabled ? "text" : "flat",
|
|
@@ -11666,7 +11666,7 @@ function ch(e, t, o, i, a, r) {
|
|
|
11666
11666
|
class: _e(["model text-none text-body-1 px-1", M.disabled ? "btn-border-1 btn-bg-1" : ""]),
|
|
11667
11667
|
onClick: ze((W) => r.handleForecastToggle(M), ["stop"])
|
|
11668
11668
|
}, {
|
|
11669
|
-
default:
|
|
11669
|
+
default: C(() => [
|
|
11670
11670
|
de(b(M.model), 1)
|
|
11671
11671
|
]),
|
|
11672
11672
|
_: 2
|
|
@@ -11678,11 +11678,11 @@ function ch(e, t, o, i, a, r) {
|
|
|
11678
11678
|
_: 1
|
|
11679
11679
|
}),
|
|
11680
11680
|
k(h),
|
|
11681
|
-
o.simple ? N("", !0) : (
|
|
11681
|
+
o.simple ? N("", !0) : (P(), B(m, {
|
|
11682
11682
|
key: 0,
|
|
11683
11683
|
class: "d-flex justify-space-between"
|
|
11684
11684
|
}, {
|
|
11685
|
-
default:
|
|
11685
|
+
default: C(() => [
|
|
11686
11686
|
k(l, {
|
|
11687
11687
|
density: "compact",
|
|
11688
11688
|
"prepend-icon": "",
|
|
@@ -11691,23 +11691,23 @@ function ch(e, t, o, i, a, r) {
|
|
|
11691
11691
|
class: "text-none text-body-1",
|
|
11692
11692
|
onClick: t[0] || (t[0] = ze((f) => a.showLegend = !a.showLegend, ["stop"]))
|
|
11693
11693
|
}, {
|
|
11694
|
-
prepend:
|
|
11694
|
+
prepend: C(() => t[5] || (t[5] = [
|
|
11695
11695
|
n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
|
|
11696
11696
|
])),
|
|
11697
|
-
default:
|
|
11697
|
+
default: C(() => [
|
|
11698
11698
|
de(" " + b(e.$t("weather.legend")), 1)
|
|
11699
11699
|
]),
|
|
11700
11700
|
_: 1
|
|
11701
11701
|
}, 8, ["color"]),
|
|
11702
11702
|
n("div", Um, [
|
|
11703
|
-
o.permission & a.helper.LEVEL.Supper ? (
|
|
11703
|
+
o.permission & a.helper.LEVEL.Supper ? (P(), B(l, {
|
|
11704
11704
|
key: 0,
|
|
11705
11705
|
variant: "text",
|
|
11706
11706
|
density: "compact",
|
|
11707
11707
|
class: "text-none text-body-1",
|
|
11708
11708
|
onClick: t[1] || (t[1] = ze((f) => r.handleNotification(a.activeTropicals), ["stop"]))
|
|
11709
11709
|
}, {
|
|
11710
|
-
default:
|
|
11710
|
+
default: C(() => [
|
|
11711
11711
|
de(b(e.$t("actions.notify")), 1)
|
|
11712
11712
|
]),
|
|
11713
11713
|
_: 1
|
|
@@ -11719,7 +11719,7 @@ function ch(e, t, o, i, a, r) {
|
|
|
11719
11719
|
class: "text-none text-body-1",
|
|
11720
11720
|
onClick: t[2] || (t[2] = ze((f) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
|
|
11721
11721
|
}, {
|
|
11722
|
-
default:
|
|
11722
|
+
default: C(() => [
|
|
11723
11723
|
de(b(e.$t("actions.viewReport")), 1)
|
|
11724
11724
|
]),
|
|
11725
11725
|
_: 1
|
|
@@ -11731,7 +11731,7 @@ function ch(e, t, o, i, a, r) {
|
|
|
11731
11731
|
]),
|
|
11732
11732
|
_: 1
|
|
11733
11733
|
}, 8, ["class", "elevation"]),
|
|
11734
|
-
o.simple ? (
|
|
11734
|
+
o.simple ? (P(), I("div", Jm, [
|
|
11735
11735
|
n("div", Km, [
|
|
11736
11736
|
n("div", $m, [
|
|
11737
11737
|
t[6] || (t[6] = n("div", { class: "icon td" }, null, -1)),
|
|
@@ -11776,11 +11776,11 @@ function ch(e, t, o, i, a, r) {
|
|
|
11776
11776
|
n("div", yd, "50kts " + b(e.$t("tropical.radii")), 1)
|
|
11777
11777
|
])
|
|
11778
11778
|
])
|
|
11779
|
-
])) : (
|
|
11779
|
+
])) : (P(), I("div", bd, [
|
|
11780
11780
|
Qe(k(g, { elevation: "16" }, {
|
|
11781
|
-
default:
|
|
11781
|
+
default: C(() => [
|
|
11782
11782
|
k(s, null, {
|
|
11783
|
-
default:
|
|
11783
|
+
default: C(() => [
|
|
11784
11784
|
Qe(n("div", {
|
|
11785
11785
|
class: _e(["pa-1 d-flex justify-space-between align-center flex-wrap", o.locale === "zhHans" ? " ga-2" : " ga-3"])
|
|
11786
11786
|
}, [
|
|
@@ -11842,9 +11842,9 @@ function ch(e, t, o, i, a, r) {
|
|
|
11842
11842
|
elevation: "16",
|
|
11843
11843
|
"max-width": "280"
|
|
11844
11844
|
}, {
|
|
11845
|
-
default:
|
|
11845
|
+
default: C(() => [
|
|
11846
11846
|
k(p, null, {
|
|
11847
|
-
default:
|
|
11847
|
+
default: C(() => {
|
|
11848
11848
|
var f, d, u, x;
|
|
11849
11849
|
return [
|
|
11850
11850
|
n("div", Bd, [
|
|
@@ -11857,31 +11857,31 @@ function ch(e, t, o, i, a, r) {
|
|
|
11857
11857
|
}),
|
|
11858
11858
|
k(y),
|
|
11859
11859
|
k(s, { class: "text-body-1" }, {
|
|
11860
|
-
default:
|
|
11861
|
-
var f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he,
|
|
11860
|
+
default: C(() => {
|
|
11861
|
+
var f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he, D;
|
|
11862
11862
|
return [
|
|
11863
11863
|
n("div", Od, [
|
|
11864
|
-
((f = a.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (
|
|
11864
|
+
((f = a.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (P(), I("div", jd, [
|
|
11865
11865
|
n("label", Xd, b(e.$t("tropical.updated")) + " : ", 1),
|
|
11866
11866
|
n("span", null, b(r.computeTzTime((d = a.hoverPoint) == null ? void 0 : d.update, o.timeZone)), 1)
|
|
11867
11867
|
])) : N("", !0),
|
|
11868
|
-
((u = a.hoverPoint) == null ? void 0 : u.type) === "forecast" ? (
|
|
11868
|
+
((u = a.hoverPoint) == null ? void 0 : u.type) === "forecast" ? (P(), I("div", Vd, [
|
|
11869
11869
|
n("label", Hd, b(e.$t("tropical.forecast")) + " : ", 1),
|
|
11870
11870
|
n("span", null, b(r.computeTzTime((x = a.hoverPoint) == null ? void 0 : x.date, o.timeZone)), 1)
|
|
11871
11871
|
])) : N("", !0),
|
|
11872
|
-
((v = a.hoverPoint) == null ? void 0 : v.type) === "history" ? (
|
|
11872
|
+
((v = a.hoverPoint) == null ? void 0 : v.type) === "history" ? (P(), I("div", Yd, [
|
|
11873
11873
|
n("label", Ud, b(e.$t("tropical.forecast")) + " : ", 1),
|
|
11874
11874
|
n("span", null, b(r.computeTzTime((w = a.hoverPoint) == null ? void 0 : w.date, o.timeZone)), 1)
|
|
11875
11875
|
])) : N("", !0),
|
|
11876
|
-
((_ = a.hoverPoint) == null ? void 0 : _.type) === "forecast" ? (
|
|
11876
|
+
((_ = a.hoverPoint) == null ? void 0 : _.type) === "forecast" ? (P(), I("div", Jd, [
|
|
11877
11877
|
n("label", Kd, b(e.$t("tropical.model")) + " : ", 1),
|
|
11878
11878
|
n("span", null, b(((S = a.hoverPoint) == null ? void 0 : S.model) ?? "-"), 1)
|
|
11879
11879
|
])) : N("", !0),
|
|
11880
|
-
((z = a.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (
|
|
11880
|
+
((z = a.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (P(), I("div", $d, [
|
|
11881
11881
|
n("label", qd, b(e.$t("weather.wind")) + " : ", 1),
|
|
11882
11882
|
n("span", null, b(((R = JSON.parse((M = a.hoverPoint) == null ? void 0 : M.wind)) == null ? void 0 : R.kts) ?? "-") + " kts", 1)
|
|
11883
11883
|
])) : N("", !0),
|
|
11884
|
-
((W = a.hoverPoint) == null ? void 0 : W.type) === "history" ? (
|
|
11884
|
+
((W = a.hoverPoint) == null ? void 0 : W.type) === "history" ? (P(), I("div", Qd, [
|
|
11885
11885
|
n("label", eh, b(e.$t("weather.wind")) + " : ", 1),
|
|
11886
11886
|
n("span", null, b(((F = a.hoverPoint) == null ? void 0 : F.kts) ?? "-") + " kts", 1)
|
|
11887
11887
|
])) : N("", !0),
|
|
@@ -11889,13 +11889,13 @@ function ch(e, t, o, i, a, r) {
|
|
|
11889
11889
|
n("label", oh, b(e.$t("weather.pressure")) + " : ", 1),
|
|
11890
11890
|
n("span", null, b(((E = a.hoverPoint) == null ? void 0 : E.pressure) ?? "-") + " hPa", 1)
|
|
11891
11891
|
]),
|
|
11892
|
-
((V = a.hoverPoint) == null ? void 0 : V.type) === "history" ? (
|
|
11892
|
+
((V = a.hoverPoint) == null ? void 0 : V.type) === "history" ? (P(), I("div", ah, [
|
|
11893
11893
|
n("label", ih, b(e.$t("tropical.moveSpeed")) + " : ", 1),
|
|
11894
11894
|
n("span", null, b(((Q = JSON.parse((J = a.hoverPoint) == null ? void 0 : J.movement)) == null ? void 0 : Q.kts) ?? "-") + " kts", 1)
|
|
11895
11895
|
])) : N("", !0),
|
|
11896
|
-
((ee = a.hoverPoint) == null ? void 0 : ee.type) === "history" ? (
|
|
11896
|
+
((ee = a.hoverPoint) == null ? void 0 : ee.type) === "history" ? (P(), I("div", rh, [
|
|
11897
11897
|
n("label", lh, b(e.$t("tropical.moveDir")) + " : ", 1),
|
|
11898
|
-
n("span", null, b(((
|
|
11898
|
+
n("span", null, b(((D = JSON.parse((he = a.hoverPoint) == null ? void 0 : he.movement)) == null ? void 0 : D.deg) ?? "-") + " °", 1)
|
|
11899
11899
|
])) : N("", !0),
|
|
11900
11900
|
n("div", nh, [
|
|
11901
11901
|
n("label", sh, b(e.$t("tropical.position")) + " : ", 1),
|
|
@@ -12114,20 +12114,20 @@ const mh = {
|
|
|
12114
12114
|
};
|
|
12115
12115
|
function gh(e, t, o, i, a, r) {
|
|
12116
12116
|
const l = T("VDatePicker"), c = T("VDivider"), s = T("VListItemTitle"), h = T("VListItem"), m = T("VList"), g = T("VCardText"), p = T("VBtn"), y = T("VCardActions"), f = T("VCard");
|
|
12117
|
-
return
|
|
12117
|
+
return P(), I("div", dh, [
|
|
12118
12118
|
n("div", {
|
|
12119
12119
|
style: ue({ height: o.height + "px", width: o.width ? o.width + "px" : "auto" }),
|
|
12120
12120
|
class: _e([o.bgClass, "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-center px-2 cursor-pointer"]),
|
|
12121
12121
|
onClick: t[0] || (t[0] = (...d) => r.handleOpenDatePicker && r.handleOpenDatePicker(...d))
|
|
12122
12122
|
}, b(a.currentDateTime) + " | UTC " + b(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 7),
|
|
12123
|
-
a.showDatePicker ? (
|
|
12123
|
+
a.showDatePicker ? (P(), B(f, {
|
|
12124
12124
|
key: 0,
|
|
12125
12125
|
class: "card-box d-flex flex-column border",
|
|
12126
12126
|
style: ue(r.getStyle)
|
|
12127
12127
|
}, {
|
|
12128
|
-
default:
|
|
12128
|
+
default: C(() => [
|
|
12129
12129
|
k(g, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
12130
|
-
default:
|
|
12130
|
+
default: C(() => [
|
|
12131
12131
|
n("div", hh, [
|
|
12132
12132
|
k(l, {
|
|
12133
12133
|
modelValue: a.currentDate,
|
|
@@ -12150,8 +12150,8 @@ function gh(e, t, o, i, a, r) {
|
|
|
12150
12150
|
n("div", uh, [
|
|
12151
12151
|
n("div", ph, b(a.currentTime), 1),
|
|
12152
12152
|
k(m, { class: "pa-0 flex-1-1-0 scroll" }, {
|
|
12153
|
-
default:
|
|
12154
|
-
(
|
|
12153
|
+
default: C(() => [
|
|
12154
|
+
(P(!0), I(Ie, null, De(r.hourOptions, (d, u) => (P(), B(h, {
|
|
12155
12155
|
key: u,
|
|
12156
12156
|
value: d,
|
|
12157
12157
|
color: "primary",
|
|
@@ -12160,12 +12160,12 @@ function gh(e, t, o, i, a, r) {
|
|
|
12160
12160
|
height: "26",
|
|
12161
12161
|
"min-height": "26"
|
|
12162
12162
|
}, {
|
|
12163
|
-
default:
|
|
12163
|
+
default: C(() => [
|
|
12164
12164
|
k(s, {
|
|
12165
12165
|
class: "text-body-2 font-weight-600 text-center",
|
|
12166
12166
|
onClick: (x) => a.currentTime = d
|
|
12167
12167
|
}, {
|
|
12168
|
-
default:
|
|
12168
|
+
default: C(() => [
|
|
12169
12169
|
de(b(d), 1)
|
|
12170
12170
|
]),
|
|
12171
12171
|
_: 2
|
|
@@ -12185,14 +12185,14 @@ function gh(e, t, o, i, a, r) {
|
|
|
12185
12185
|
class: "justify-end pa-0 pr-4",
|
|
12186
12186
|
style: { height: "50px" }
|
|
12187
12187
|
}, {
|
|
12188
|
-
default:
|
|
12188
|
+
default: C(() => [
|
|
12189
12189
|
k(p, {
|
|
12190
12190
|
size: "small",
|
|
12191
12191
|
variant: "tonal",
|
|
12192
12192
|
class: "text-none text-body-2",
|
|
12193
12193
|
onClick: r.handleCancelDate
|
|
12194
12194
|
}, {
|
|
12195
|
-
default:
|
|
12195
|
+
default: C(() => [
|
|
12196
12196
|
de(b(e.$t("actions.cancel")), 1)
|
|
12197
12197
|
]),
|
|
12198
12198
|
_: 1
|
|
@@ -12204,7 +12204,7 @@ function gh(e, t, o, i, a, r) {
|
|
|
12204
12204
|
class: "text-none text-body-2",
|
|
12205
12205
|
onClick: r.handleConfirmDate
|
|
12206
12206
|
}, {
|
|
12207
|
-
default:
|
|
12207
|
+
default: C(() => [
|
|
12208
12208
|
de(b(e.$t("actions.confirm")), 1)
|
|
12209
12209
|
]),
|
|
12210
12210
|
_: 1
|
|
@@ -12409,28 +12409,28 @@ const fh = {
|
|
|
12409
12409
|
}, bh = { class: "flex-1-1-0" }, wh = { class: "pa-0" };
|
|
12410
12410
|
function xh(e, t, o, i, a, r) {
|
|
12411
12411
|
const l = T("VIcon"), c = T("VDatePicker"), s = T("VCardText"), h = T("VDivider"), m = T("VBtn"), g = T("VCardActions"), p = T("VCard");
|
|
12412
|
-
return
|
|
12412
|
+
return P(), I("div", yh, [
|
|
12413
12413
|
n("div", {
|
|
12414
12414
|
style: ue({ height: o.height + "px", width: o.width ? o.width + "px" : "auto" }),
|
|
12415
12415
|
class: "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-space-between px-2 cursor-pointer",
|
|
12416
12416
|
onClick: t[0] || (t[0] = (...y) => r.handleOpenDatePicker && r.handleOpenDatePicker(...y))
|
|
12417
12417
|
}, [
|
|
12418
12418
|
n("span", bh, b(a.dateRangeStr), 1),
|
|
12419
|
-
a.dateRangeStr ? (
|
|
12419
|
+
a.dateRangeStr ? (P(), B(l, {
|
|
12420
12420
|
key: 0,
|
|
12421
12421
|
class: "text-h5",
|
|
12422
12422
|
icon: "mdi-close-circle text-label",
|
|
12423
12423
|
onClick: ze(r.handleClearDate, ["stop"])
|
|
12424
12424
|
}, null, 8, ["onClick"])) : N("", !0)
|
|
12425
12425
|
], 4),
|
|
12426
|
-
a.showDatePicker ? (
|
|
12426
|
+
a.showDatePicker ? (P(), B(p, {
|
|
12427
12427
|
key: 0,
|
|
12428
12428
|
class: "card-box d-flex flex-column border",
|
|
12429
12429
|
style: ue(r.getStyle)
|
|
12430
12430
|
}, {
|
|
12431
|
-
default:
|
|
12431
|
+
default: C(() => [
|
|
12432
12432
|
k(s, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
12433
|
-
default:
|
|
12433
|
+
default: C(() => [
|
|
12434
12434
|
n("div", wh, [
|
|
12435
12435
|
k(c, {
|
|
12436
12436
|
modelValue: a.dateRange,
|
|
@@ -12455,14 +12455,14 @@ function xh(e, t, o, i, a, r) {
|
|
|
12455
12455
|
class: "justify-end pa-0 pr-4",
|
|
12456
12456
|
style: { height: "50px" }
|
|
12457
12457
|
}, {
|
|
12458
|
-
default:
|
|
12458
|
+
default: C(() => [
|
|
12459
12459
|
k(m, {
|
|
12460
12460
|
size: "small",
|
|
12461
12461
|
variant: "tonal",
|
|
12462
12462
|
class: "text-none text-body-2",
|
|
12463
12463
|
onClick: r.handleCancelDate
|
|
12464
12464
|
}, {
|
|
12465
|
-
default:
|
|
12465
|
+
default: C(() => [
|
|
12466
12466
|
de(b(e.$t("actions.cancel")), 1)
|
|
12467
12467
|
]),
|
|
12468
12468
|
_: 1
|
|
@@ -12474,7 +12474,7 @@ function xh(e, t, o, i, a, r) {
|
|
|
12474
12474
|
class: "text-none text-body-2",
|
|
12475
12475
|
onClick: r.handleConfirmDate
|
|
12476
12476
|
}, {
|
|
12477
|
-
default:
|
|
12477
|
+
default: C(() => [
|
|
12478
12478
|
de(b(e.$t("actions.confirm")), 1)
|
|
12479
12479
|
]),
|
|
12480
12480
|
_: 1
|
|
@@ -13536,10 +13536,10 @@ const vh = {
|
|
|
13536
13536
|
}), this.loading = !1;
|
|
13537
13537
|
},
|
|
13538
13538
|
initTableData(e) {
|
|
13539
|
-
var o, i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he,
|
|
13539
|
+
var o, i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he, D, H, U, te, j, O, $, A, ie, ge;
|
|
13540
13540
|
this.currentHourData = {}, this.positionGmt = (i = (o = e == null ? void 0 : e.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = e == null ? void 0 : e.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
|
|
13541
13541
|
const t = ((l = jo.pickHourly(e, G(this.form.dateTime))) == null ? void 0 : l[0]) || {};
|
|
13542
|
-
this.currentHourData.utc = t.utc, this.currentHourData.lat = e.lat, this.currentHourData.lng = e.lng, this.currentHourData.temp = this.computeRoundPrecision((c = t == null ? void 0 : t.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((h = (s = t == null ? void 0 : t.weather) == null ? void 0 : s.precip) == null ? void 0 : h.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((g = (m = t == null ? void 0 : t.weather) == null ? void 0 : m.precip) == null ? void 0 : g.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((p = t == null ? void 0 : t.weather) == null ? void 0 : p.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((f = (y = t == null ? void 0 : t.weather) == null ? void 0 : y.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((u = (d = t == null ? void 0 : t.weather) == null ? void 0 : d.wind) == null ? void 0 : u.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((v = (x = t == null ? void 0 : t.weather) == null ? void 0 : x.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (w = t == null ? void 0 : t.weather) == null ? void 0 : w.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((z = (S = t == null ? void 0 : t.wave) == null ? void 0 : S.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (M = t == null ? void 0 : t.wave) == null ? void 0 : M.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((F = (W = t == null ? void 0 : t.wave) == null ? void 0 : W.sig) == null ? void 0 : F.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (E = t == null ? void 0 : t.wave) == null ? void 0 : E.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = t == null ? void 0 : t.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((he = (ee = t == null ? void 0 : t.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((H = (
|
|
13542
|
+
this.currentHourData.utc = t.utc, this.currentHourData.lat = e.lat, this.currentHourData.lng = e.lng, this.currentHourData.temp = this.computeRoundPrecision((c = t == null ? void 0 : t.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((h = (s = t == null ? void 0 : t.weather) == null ? void 0 : s.precip) == null ? void 0 : h.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((g = (m = t == null ? void 0 : t.weather) == null ? void 0 : m.precip) == null ? void 0 : g.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((p = t == null ? void 0 : t.weather) == null ? void 0 : p.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((f = (y = t == null ? void 0 : t.weather) == null ? void 0 : y.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((u = (d = t == null ? void 0 : t.weather) == null ? void 0 : d.wind) == null ? void 0 : u.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((v = (x = t == null ? void 0 : t.weather) == null ? void 0 : x.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (w = t == null ? void 0 : t.weather) == null ? void 0 : w.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((z = (S = t == null ? void 0 : t.wave) == null ? void 0 : S.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (M = t == null ? void 0 : t.wave) == null ? void 0 : M.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((F = (W = t == null ? void 0 : t.wave) == null ? void 0 : W.sig) == null ? void 0 : F.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (E = t == null ? void 0 : t.wave) == null ? void 0 : E.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = t == null ? void 0 : t.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((he = (ee = t == null ? void 0 : t.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((H = (D = t == null ? void 0 : t.wave) == null ? void 0 : D.swell) == null ? void 0 : H.height, 1) ?? "-", this.currentHourData.swellDir = (te = (U = t == null ? void 0 : t.wave) == null ? void 0 : U.swell) == null ? void 0 : te.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((O = (j = t == null ? void 0 : t.wave) == null ? void 0 : j.swell) == null ? void 0 : O.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision(($ = t == null ? void 0 : t.current) == null ? void 0 : $.speed, 1) ?? "-", this.currentHourData.currentDir = (A = t == null ? void 0 : t.current) == null ? void 0 : A.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((ie = t == null ? void 0 : t.current) == null ? void 0 : ie.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(t == null ? void 0 : t.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(t == null ? void 0 : t.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ge = t == null ? void 0 : t.weather) == null ? void 0 : ge.url;
|
|
13543
13543
|
},
|
|
13544
13544
|
handleBind() {
|
|
13545
13545
|
var e, t;
|
|
@@ -13661,7 +13661,7 @@ const vh = {
|
|
|
13661
13661
|
}, Lu = ["xlink:href"];
|
|
13662
13662
|
function Pu(e, t, o, i, a, r) {
|
|
13663
13663
|
const l = T("VBtn"), c = T("VTooltip"), s = T("VCardTitle"), h = T("VDivider"), m = T("VTextField"), g = T("VCol"), p = T("VRow"), y = T("DateTimePicker"), f = T("VBtnToggle"), d = T("VCardText"), u = T("VCardActions"), x = T("VForm"), v = T("VCard");
|
|
13664
|
-
return
|
|
13664
|
+
return P(), I("div", kh, [
|
|
13665
13665
|
n("div", {
|
|
13666
13666
|
class: "menu-bar-box transition pa-1",
|
|
13667
13667
|
style: ue({ top: o.top + o.paddingTop + 126 + "px", right: a.right + "px" })
|
|
@@ -13674,7 +13674,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13674
13674
|
"open-on-focus": !o.simple,
|
|
13675
13675
|
"open-on-hover": !o.simple
|
|
13676
13676
|
}, {
|
|
13677
|
-
activator:
|
|
13677
|
+
activator: C(({ props: w }) => [
|
|
13678
13678
|
k(l, Y(w, {
|
|
13679
13679
|
"min-width": "32",
|
|
13680
13680
|
width: "32",
|
|
@@ -13682,7 +13682,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13682
13682
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
13683
13683
|
onClick: r.handleMenuToggle
|
|
13684
13684
|
}), {
|
|
13685
|
-
default:
|
|
13685
|
+
default: C(() => t[8] || (t[8] = [
|
|
13686
13686
|
n("i", { class: "iconfont icon-a-Spotweather text-h4" }, null, -1)
|
|
13687
13687
|
])),
|
|
13688
13688
|
_: 2,
|
|
@@ -13692,14 +13692,14 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13692
13692
|
_: 1
|
|
13693
13693
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
13694
13694
|
], 4),
|
|
13695
|
-
a.showForm && !o.simple ? (
|
|
13695
|
+
a.showForm && !o.simple ? (P(), B(v, {
|
|
13696
13696
|
key: 0,
|
|
13697
13697
|
class: "spot-form-card",
|
|
13698
13698
|
style: ue({ top: o.top + o.paddingTop + 126 + "px", right: a.right + 50 + "px" })
|
|
13699
13699
|
}, {
|
|
13700
|
-
default:
|
|
13700
|
+
default: C(() => [
|
|
13701
13701
|
k(s, { class: "d-flex justify-space-between align-center" }, {
|
|
13702
|
-
default:
|
|
13702
|
+
default: C(() => [
|
|
13703
13703
|
n("div", _h, [
|
|
13704
13704
|
n("div", zh, b(e.$t("spot.spotWeather")), 1)
|
|
13705
13705
|
]),
|
|
@@ -13710,7 +13710,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13710
13710
|
class: "mr-n2",
|
|
13711
13711
|
onClick: r.handleCloseForm
|
|
13712
13712
|
}, {
|
|
13713
|
-
default:
|
|
13713
|
+
default: C(() => t[9] || (t[9] = [
|
|
13714
13714
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
13715
13715
|
])),
|
|
13716
13716
|
_: 1,
|
|
@@ -13726,11 +13726,11 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13726
13726
|
class: "form-box",
|
|
13727
13727
|
onSubmit: ze(r.submitForm, ["prevent"])
|
|
13728
13728
|
}, {
|
|
13729
|
-
default:
|
|
13729
|
+
default: C(() => [
|
|
13730
13730
|
k(d, { class: "text-body-1 py-1" }, {
|
|
13731
|
-
default:
|
|
13731
|
+
default: C(() => [
|
|
13732
13732
|
n("div", Lh, [
|
|
13733
|
-
(
|
|
13733
|
+
(P(), I("svg", Ph, [
|
|
13734
13734
|
n("use", {
|
|
13735
13735
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
13736
13736
|
}, null, 8, Ch)
|
|
@@ -13738,12 +13738,12 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13738
13738
|
n("div", null, b(e.$t("spot.lng")), 1)
|
|
13739
13739
|
]),
|
|
13740
13740
|
k(p, { class: "ma-0" }, {
|
|
13741
|
-
default:
|
|
13741
|
+
default: C(() => [
|
|
13742
13742
|
k(g, {
|
|
13743
13743
|
cols: "4",
|
|
13744
13744
|
class: "pa-0 d-flex"
|
|
13745
13745
|
}, {
|
|
13746
|
-
default:
|
|
13746
|
+
default: C(() => [
|
|
13747
13747
|
k(m, {
|
|
13748
13748
|
modelValue: a.form.lngDegree,
|
|
13749
13749
|
"onUpdate:modelValue": t[0] || (t[0] = (w) => a.form.lngDegree = w),
|
|
@@ -13763,7 +13763,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13763
13763
|
cols: "6",
|
|
13764
13764
|
class: "pa-0 d-flex"
|
|
13765
13765
|
}, {
|
|
13766
|
-
default:
|
|
13766
|
+
default: C(() => [
|
|
13767
13767
|
k(m, {
|
|
13768
13768
|
modelValue: a.form.lngMinute,
|
|
13769
13769
|
"onUpdate:modelValue": t[1] || (t[1] = (w) => a.form.lngMinute = w),
|
|
@@ -13784,7 +13784,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13784
13784
|
cols: "2",
|
|
13785
13785
|
class: "pa-0"
|
|
13786
13786
|
}, {
|
|
13787
|
-
default:
|
|
13787
|
+
default: C(() => [
|
|
13788
13788
|
k(l, {
|
|
13789
13789
|
variant: "outlined",
|
|
13790
13790
|
density: "compact",
|
|
@@ -13795,7 +13795,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13795
13795
|
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
13796
13796
|
onClick: t[2] || (t[2] = (w) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
|
|
13797
13797
|
}, {
|
|
13798
|
-
default:
|
|
13798
|
+
default: C(() => [
|
|
13799
13799
|
de(b(a.form.lngDirection), 1)
|
|
13800
13800
|
]),
|
|
13801
13801
|
_: 1
|
|
@@ -13807,7 +13807,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13807
13807
|
_: 1
|
|
13808
13808
|
}),
|
|
13809
13809
|
n("div", Mh, [
|
|
13810
|
-
(
|
|
13810
|
+
(P(), I("svg", Sh, [
|
|
13811
13811
|
n("use", {
|
|
13812
13812
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
13813
13813
|
}, null, 8, Th)
|
|
@@ -13815,12 +13815,12 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13815
13815
|
n("div", null, b(e.$t("spot.lat")), 1)
|
|
13816
13816
|
]),
|
|
13817
13817
|
k(p, { class: "ma-0" }, {
|
|
13818
|
-
default:
|
|
13818
|
+
default: C(() => [
|
|
13819
13819
|
k(g, {
|
|
13820
13820
|
cols: "4",
|
|
13821
13821
|
class: "pa-0 d-flex"
|
|
13822
13822
|
}, {
|
|
13823
|
-
default:
|
|
13823
|
+
default: C(() => [
|
|
13824
13824
|
k(m, {
|
|
13825
13825
|
modelValue: a.form.latDegree,
|
|
13826
13826
|
"onUpdate:modelValue": t[3] || (t[3] = (w) => a.form.latDegree = w),
|
|
@@ -13843,7 +13843,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13843
13843
|
cols: "6",
|
|
13844
13844
|
class: "pa-0 d-flex"
|
|
13845
13845
|
}, {
|
|
13846
|
-
default:
|
|
13846
|
+
default: C(() => [
|
|
13847
13847
|
k(m, {
|
|
13848
13848
|
modelValue: a.form.latMinute,
|
|
13849
13849
|
"onUpdate:modelValue": t[4] || (t[4] = (w) => a.form.latMinute = w),
|
|
@@ -13864,7 +13864,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13864
13864
|
cols: "2",
|
|
13865
13865
|
class: "pa-0"
|
|
13866
13866
|
}, {
|
|
13867
|
-
default:
|
|
13867
|
+
default: C(() => [
|
|
13868
13868
|
k(l, {
|
|
13869
13869
|
variant: "outlined",
|
|
13870
13870
|
density: "compact",
|
|
@@ -13875,7 +13875,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13875
13875
|
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
13876
13876
|
onClick: t[5] || (t[5] = (w) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
|
|
13877
13877
|
}, {
|
|
13878
|
-
default:
|
|
13878
|
+
default: C(() => [
|
|
13879
13879
|
de(b(a.form.latDirection), 1)
|
|
13880
13880
|
]),
|
|
13881
13881
|
_: 1
|
|
@@ -13887,7 +13887,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13887
13887
|
_: 1
|
|
13888
13888
|
}),
|
|
13889
13889
|
n("div", Rh, [
|
|
13890
|
-
(
|
|
13890
|
+
(P(), I("svg", Ih, [
|
|
13891
13891
|
n("use", {
|
|
13892
13892
|
"xlink:href": `#icon-date-time-${o.theme}`
|
|
13893
13893
|
}, null, 8, Dh)
|
|
@@ -13895,12 +13895,12 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13895
13895
|
n("div", null, b(e.$t("spot.dateTime")), 1)
|
|
13896
13896
|
]),
|
|
13897
13897
|
k(p, { class: "ma-0 mb-4" }, {
|
|
13898
|
-
default:
|
|
13898
|
+
default: C(() => [
|
|
13899
13899
|
k(g, {
|
|
13900
13900
|
cols: "12",
|
|
13901
13901
|
class: "pa-0"
|
|
13902
13902
|
}, {
|
|
13903
|
-
default:
|
|
13903
|
+
default: C(() => [
|
|
13904
13904
|
k(y, Y({
|
|
13905
13905
|
"date-time": a.form.dateTime,
|
|
13906
13906
|
"time-zone": o.timeZone
|
|
@@ -13914,7 +13914,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13914
13914
|
_: 1
|
|
13915
13915
|
}),
|
|
13916
13916
|
n("div", Ah, [
|
|
13917
|
-
(
|
|
13917
|
+
(P(), I("svg", Gh, [
|
|
13918
13918
|
n("use", {
|
|
13919
13919
|
"xlink:href": `#icon-forecast-model-${o.theme}`
|
|
13920
13920
|
}, null, 8, Wh)
|
|
@@ -13922,12 +13922,12 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13922
13922
|
n("div", null, b(e.$t("weather.forecastModel")), 1)
|
|
13923
13923
|
]),
|
|
13924
13924
|
k(p, { class: "ma-0 mb-2" }, {
|
|
13925
|
-
default:
|
|
13925
|
+
default: C(() => [
|
|
13926
13926
|
k(g, {
|
|
13927
13927
|
cols: "12",
|
|
13928
13928
|
class: "pa-0"
|
|
13929
13929
|
}, {
|
|
13930
|
-
default:
|
|
13930
|
+
default: C(() => [
|
|
13931
13931
|
k(f, {
|
|
13932
13932
|
modelValue: a.form.forecastModel,
|
|
13933
13933
|
"onUpdate:modelValue": t[7] || (t[7] = (w) => a.form.forecastModel = w),
|
|
@@ -13937,7 +13937,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13937
13937
|
density: "compact",
|
|
13938
13938
|
group: ""
|
|
13939
13939
|
}, {
|
|
13940
|
-
default:
|
|
13940
|
+
default: C(() => [
|
|
13941
13941
|
k(l, {
|
|
13942
13942
|
density: "compact",
|
|
13943
13943
|
height: "30",
|
|
@@ -13946,7 +13946,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13946
13946
|
color: a.form.forecastModel === "GFS" ? "primary" : "",
|
|
13947
13947
|
"base-color": ""
|
|
13948
13948
|
}, {
|
|
13949
|
-
default:
|
|
13949
|
+
default: C(() => t[14] || (t[14] = [
|
|
13950
13950
|
de("NOAA", -1)
|
|
13951
13951
|
])),
|
|
13952
13952
|
_: 1,
|
|
@@ -13960,7 +13960,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13960
13960
|
"base-color": "",
|
|
13961
13961
|
value: "ECMWF"
|
|
13962
13962
|
}, {
|
|
13963
|
-
default:
|
|
13963
|
+
default: C(() => t[15] || (t[15] = [
|
|
13964
13964
|
de("ECMWF", -1)
|
|
13965
13965
|
])),
|
|
13966
13966
|
_: 1,
|
|
@@ -13980,14 +13980,14 @@ function Pu(e, t, o, i, a, r) {
|
|
|
13980
13980
|
}),
|
|
13981
13981
|
k(h),
|
|
13982
13982
|
k(u, { class: "d-flex justify-end align-center ga-4" }, {
|
|
13983
|
-
default:
|
|
13983
|
+
default: C(() => [
|
|
13984
13984
|
k(l, {
|
|
13985
13985
|
size: "small",
|
|
13986
13986
|
variant: "outlined",
|
|
13987
13987
|
class: "text-none text-body-1 btn-border-1 btn-bg-1",
|
|
13988
13988
|
onClick: r.cancelForm
|
|
13989
13989
|
}, {
|
|
13990
|
-
default:
|
|
13990
|
+
default: C(() => [
|
|
13991
13991
|
de(b(e.$t("actions.clear")), 1)
|
|
13992
13992
|
]),
|
|
13993
13993
|
_: 1
|
|
@@ -14001,7 +14001,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14001
14001
|
type: "submit",
|
|
14002
14002
|
class: "text-none text-body-1"
|
|
14003
14003
|
}, {
|
|
14004
|
-
default:
|
|
14004
|
+
default: C(() => [
|
|
14005
14005
|
de(b(e.$t("actions.confirm")), 1)
|
|
14006
14006
|
]),
|
|
14007
14007
|
_: 1
|
|
@@ -14015,15 +14015,15 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14015
14015
|
]),
|
|
14016
14016
|
_: 1
|
|
14017
14017
|
}, 8, ["style"])) : N("", !0),
|
|
14018
|
-
a.showMeteo && !o.simple ? (
|
|
14018
|
+
a.showMeteo && !o.simple ? (P(), B(v, {
|
|
14019
14019
|
key: 1,
|
|
14020
14020
|
id: "idm-gl4-spot-meteo",
|
|
14021
14021
|
class: "spot-meteo",
|
|
14022
14022
|
style: { width: "490px", "z-index": "9" }
|
|
14023
14023
|
}, {
|
|
14024
|
-
default:
|
|
14024
|
+
default: C(() => [
|
|
14025
14025
|
k(s, { class: "d-flex justify-space-between align-center" }, {
|
|
14026
|
-
default:
|
|
14026
|
+
default: C(() => [
|
|
14027
14027
|
n("div", Fh, [
|
|
14028
14028
|
t[16] || (t[16] = n("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
|
|
14029
14029
|
n("div", Nh, b(r.computePosition(a.form || a.currentHourData)), 1)
|
|
@@ -14035,7 +14035,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14035
14035
|
variant: "plain",
|
|
14036
14036
|
onClick: ze(r.handleCloseMeteo, ["stop"])
|
|
14037
14037
|
}, {
|
|
14038
|
-
default:
|
|
14038
|
+
default: C(() => t[17] || (t[17] = [
|
|
14039
14039
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
14040
14040
|
])),
|
|
14041
14041
|
_: 1,
|
|
@@ -14046,7 +14046,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14046
14046
|
}),
|
|
14047
14047
|
k(h),
|
|
14048
14048
|
k(d, { class: "text-body-1 px-0 py-1" }, {
|
|
14049
|
-
default:
|
|
14049
|
+
default: C(() => {
|
|
14050
14050
|
var w, _;
|
|
14051
14051
|
return [
|
|
14052
14052
|
n("div", Bh, [
|
|
@@ -14084,13 +14084,13 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14084
14084
|
}),
|
|
14085
14085
|
k(h),
|
|
14086
14086
|
k(u, { class: "d-flex justify-space-between align-center" }, {
|
|
14087
|
-
default:
|
|
14087
|
+
default: C(() => {
|
|
14088
14088
|
var w;
|
|
14089
14089
|
return [
|
|
14090
14090
|
(w = o.followList) != null && w.some((_) => {
|
|
14091
14091
|
var S, z;
|
|
14092
14092
|
return (_ == null ? void 0 : _.id) === a.form.followId || ((S = _ == null ? void 0 : _.coordinate) == null ? void 0 : S.lng) === a.form.lng && ((z = _ == null ? void 0 : _.coordinate) == null ? void 0 : z.lat) === a.form.lat;
|
|
14093
|
-
}) ? (
|
|
14093
|
+
}) ? (P(), B(l, {
|
|
14094
14094
|
key: 0,
|
|
14095
14095
|
class: "text-none text-body-1",
|
|
14096
14096
|
id: "idm-gl4-spot-meteo-follow",
|
|
@@ -14099,14 +14099,14 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14099
14099
|
height: "32",
|
|
14100
14100
|
onClick: ze(r.handleCancelFollow, ["stop"])
|
|
14101
14101
|
}, {
|
|
14102
|
-
prepend:
|
|
14102
|
+
prepend: C(() => t[19] || (t[19] = [
|
|
14103
14103
|
n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
|
|
14104
14104
|
])),
|
|
14105
|
-
default:
|
|
14105
|
+
default: C(() => [
|
|
14106
14106
|
de(" " + b(e.$t("actions.unfollow")), 1)
|
|
14107
14107
|
]),
|
|
14108
14108
|
_: 1
|
|
14109
|
-
}, 8, ["onClick"])) : (
|
|
14109
|
+
}, 8, ["onClick"])) : (P(), B(l, {
|
|
14110
14110
|
key: 1,
|
|
14111
14111
|
id: "idm-gl4-spot-meteo-unfollow",
|
|
14112
14112
|
class: "text-none text-body-1",
|
|
@@ -14115,10 +14115,10 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14115
14115
|
height: "32",
|
|
14116
14116
|
onClick: ze(r.handleFollow, ["stop"])
|
|
14117
14117
|
}, {
|
|
14118
|
-
prepend:
|
|
14118
|
+
prepend: C(() => t[20] || (t[20] = [
|
|
14119
14119
|
n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
|
|
14120
14120
|
])),
|
|
14121
|
-
default:
|
|
14121
|
+
default: C(() => [
|
|
14122
14122
|
de(b(e.$t("actions.follow")) + " ", 1)
|
|
14123
14123
|
]),
|
|
14124
14124
|
_: 1
|
|
@@ -14131,7 +14131,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14131
14131
|
class: "text-none text-body-1",
|
|
14132
14132
|
onClick: ze(r.handleMeteoMore, ["stop"])
|
|
14133
14133
|
}, {
|
|
14134
|
-
default:
|
|
14134
|
+
default: C(() => [
|
|
14135
14135
|
de(b(e.$t("spot.forecast")), 1)
|
|
14136
14136
|
]),
|
|
14137
14137
|
_: 1
|
|
@@ -14143,15 +14143,15 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14143
14143
|
]),
|
|
14144
14144
|
_: 1
|
|
14145
14145
|
})) : N("", !0),
|
|
14146
|
-
a.showMeteo && o.simple ? (
|
|
14146
|
+
a.showMeteo && o.simple ? (P(), B(v, {
|
|
14147
14147
|
key: 2,
|
|
14148
14148
|
ref: "spotMeteo",
|
|
14149
14149
|
class: "position-absolute bottom-0 rounded-t-4",
|
|
14150
14150
|
style: { width: "100vw", "z-index": "1001" }
|
|
14151
14151
|
}, {
|
|
14152
|
-
default:
|
|
14152
|
+
default: C(() => [
|
|
14153
14153
|
k(s, null, {
|
|
14154
|
-
default:
|
|
14154
|
+
default: C(() => {
|
|
14155
14155
|
var w;
|
|
14156
14156
|
return [
|
|
14157
14157
|
n("div", ru, [
|
|
@@ -14163,7 +14163,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14163
14163
|
(w = o.followList) != null && w.some((_) => {
|
|
14164
14164
|
var S, z;
|
|
14165
14165
|
return (_ == null ? void 0 : _.id) === a.form.followId || ((S = _ == null ? void 0 : _.coordinate) == null ? void 0 : S.lng) === a.form.lng && ((z = _ == null ? void 0 : _.coordinate) == null ? void 0 : z.lat) === a.form.lat;
|
|
14166
|
-
}) ? (
|
|
14166
|
+
}) ? (P(), B(l, {
|
|
14167
14167
|
key: 0,
|
|
14168
14168
|
class: "text-none text-body-1 rounded-circle",
|
|
14169
14169
|
variant: "text",
|
|
@@ -14173,12 +14173,12 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14173
14173
|
"min-width": "28",
|
|
14174
14174
|
onClick: ze(r.handleCancelFollow, ["stop"])
|
|
14175
14175
|
}, {
|
|
14176
|
-
default:
|
|
14176
|
+
default: C(() => t[22] || (t[22] = [
|
|
14177
14177
|
n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
|
|
14178
14178
|
])),
|
|
14179
14179
|
_: 1,
|
|
14180
14180
|
__: [22]
|
|
14181
|
-
}, 8, ["onClick"])) : (
|
|
14181
|
+
}, 8, ["onClick"])) : (P(), B(l, {
|
|
14182
14182
|
key: 1,
|
|
14183
14183
|
class: "text-none text-body-1 rounded-circle",
|
|
14184
14184
|
variant: "plain",
|
|
@@ -14188,7 +14188,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14188
14188
|
"min-width": "28",
|
|
14189
14189
|
onClick: ze(r.handleFollow, ["stop"])
|
|
14190
14190
|
}, {
|
|
14191
|
-
default:
|
|
14191
|
+
default: C(() => t[23] || (t[23] = [
|
|
14192
14192
|
n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
|
|
14193
14193
|
])),
|
|
14194
14194
|
_: 1,
|
|
@@ -14201,7 +14201,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14201
14201
|
variant: "plain",
|
|
14202
14202
|
onClick: ze(r.handleCloseMeteo, ["stop"])
|
|
14203
14203
|
}, {
|
|
14204
|
-
default:
|
|
14204
|
+
default: C(() => t[24] || (t[24] = [
|
|
14205
14205
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
14206
14206
|
])),
|
|
14207
14207
|
_: 1,
|
|
@@ -14217,7 +14217,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14217
14217
|
}),
|
|
14218
14218
|
k(h),
|
|
14219
14219
|
k(d, { class: "text-body-1 px-0 py-2" }, {
|
|
14220
|
-
default:
|
|
14220
|
+
default: C(() => {
|
|
14221
14221
|
var w, _;
|
|
14222
14222
|
return [
|
|
14223
14223
|
n("div", cu, [
|
|
@@ -14269,7 +14269,7 @@ function Pu(e, t, o, i, a, r) {
|
|
|
14269
14269
|
_: 1
|
|
14270
14270
|
}, 512)) : N("", !0),
|
|
14271
14271
|
Qe(n("div", _u, [
|
|
14272
|
-
(
|
|
14272
|
+
(P(), I("svg", zu, [
|
|
14273
14273
|
n("use", {
|
|
14274
14274
|
"xlink:href": `#icon-spot-${o.theme}`
|
|
14275
14275
|
}, null, 8, Lu)
|
|
@@ -14641,7 +14641,7 @@ const Mu = {
|
|
|
14641
14641
|
}, Su = { class: "idm-gl4-measure" };
|
|
14642
14642
|
function Tu(e, t, o, i, a, r) {
|
|
14643
14643
|
const l = T("VBtn"), c = T("VTooltip");
|
|
14644
|
-
return
|
|
14644
|
+
return P(), I("div", Su, [
|
|
14645
14645
|
n("div", {
|
|
14646
14646
|
class: "menu-bar-box transition pa-1",
|
|
14647
14647
|
style: ue({ top: o.top + o.paddingTop + 166 + "px", right: a.right + "px" })
|
|
@@ -14654,7 +14654,7 @@ function Tu(e, t, o, i, a, r) {
|
|
|
14654
14654
|
"open-on-focus": !o.simple,
|
|
14655
14655
|
"open-on-hover": !o.simple
|
|
14656
14656
|
}, {
|
|
14657
|
-
activator:
|
|
14657
|
+
activator: C(({ props: s }) => [
|
|
14658
14658
|
k(l, Y(s, {
|
|
14659
14659
|
"min-width": "32",
|
|
14660
14660
|
width: "32",
|
|
@@ -14662,7 +14662,7 @@ function Tu(e, t, o, i, a, r) {
|
|
|
14662
14662
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
14663
14663
|
onClick: r.handleMenuToggle
|
|
14664
14664
|
}), {
|
|
14665
|
-
default:
|
|
14665
|
+
default: C(() => t[0] || (t[0] = [
|
|
14666
14666
|
n("i", { class: "iconfont icon-a-Measuredistance text-h4" }, null, -1)
|
|
14667
14667
|
])),
|
|
14668
14668
|
_: 2,
|
|
@@ -15398,17 +15398,17 @@ async function fp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
|
|
|
15398
15398
|
var d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he;
|
|
15399
15399
|
e instanceof Set || (e = /* @__PURE__ */ new Set()), t instanceof Set || (t = /* @__PURE__ */ new Set());
|
|
15400
15400
|
let r = /* @__PURE__ */ new Map();
|
|
15401
|
-
for (let
|
|
15402
|
-
let [H, U, te, j] = String(
|
|
15401
|
+
for (let D of e) {
|
|
15402
|
+
let [H, U, te, j] = String(D).split("__");
|
|
15403
15403
|
if (!H)
|
|
15404
15404
|
continue;
|
|
15405
15405
|
let O = r.get(H) || [];
|
|
15406
15406
|
O.push({ w: parseInt(U, 10), s: te, st: parseInt(j, 10) }), r.set(H, O);
|
|
15407
15407
|
}
|
|
15408
|
-
function l(
|
|
15409
|
-
if (!r.has(
|
|
15408
|
+
function l(D, H, U, te) {
|
|
15409
|
+
if (!r.has(D))
|
|
15410
15410
|
return !1;
|
|
15411
|
-
let j = r.get(
|
|
15411
|
+
let j = r.get(D), O = lp(U), $ = np(H), A = sp(te), ie = O.min !== O.max, ge = O.min, xe = (se) => $.kind === "normal" && se === "normal" || $.kind !== "normal" && (se === "italic" || se === "oblique"), ke = !1;
|
|
15412
15412
|
for (let se of j) {
|
|
15413
15413
|
let fe = ie ? se.w >= O.min && se.w <= O.max : se.w === ge, ve = xe(Ko(se.s)), Se = se.st >= A.min && se.st <= A.max;
|
|
15414
15414
|
if (fe && ve && Se) {
|
|
@@ -15436,33 +15436,33 @@ async function fp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
|
|
|
15436
15436
|
if ((d = Z.resource) != null && d.has(s))
|
|
15437
15437
|
return Z.resource.get(s);
|
|
15438
15438
|
let h = mp(e), m = [], g = sa;
|
|
15439
|
-
for (let
|
|
15440
|
-
let H =
|
|
15439
|
+
for (let D of document.querySelectorAll("style")) {
|
|
15440
|
+
let H = D.textContent || "";
|
|
15441
15441
|
for (let U of H.matchAll(g)) {
|
|
15442
15442
|
let te = (U[2] || U[4] || "").trim();
|
|
15443
15443
|
!te || Ke(te) || document.querySelector(`link[rel="stylesheet"][href="${te}"]`) || m.push(te);
|
|
15444
15444
|
}
|
|
15445
15445
|
}
|
|
15446
|
-
m.length && await Promise.all(m.map((
|
|
15447
|
-
if (document.querySelector(`link[rel="stylesheet"][href="${
|
|
15446
|
+
m.length && await Promise.all(m.map((D) => new Promise((H) => {
|
|
15447
|
+
if (document.querySelector(`link[rel="stylesheet"][href="${D}"]`))
|
|
15448
15448
|
return H(null);
|
|
15449
15449
|
let U = document.createElement("link");
|
|
15450
|
-
U.rel = "stylesheet", U.href =
|
|
15450
|
+
U.rel = "stylesheet", U.href = D, U.setAttribute("data-snapdom", "injected-import"), U.onload = () => H(U), U.onerror = () => H(null), document.head.appendChild(U);
|
|
15451
15451
|
})));
|
|
15452
|
-
let p = "", y = Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter((
|
|
15453
|
-
for (let
|
|
15452
|
+
let p = "", y = Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter((D) => !!D.href);
|
|
15453
|
+
for (let D of y)
|
|
15454
15454
|
try {
|
|
15455
|
-
if (Ke(
|
|
15455
|
+
if (Ke(D.href))
|
|
15456
15456
|
continue;
|
|
15457
15457
|
let H = "", U = !1;
|
|
15458
15458
|
try {
|
|
15459
|
-
U = new URL(
|
|
15459
|
+
U = new URL(D.href, location.href).origin === location.origin;
|
|
15460
15460
|
} catch {
|
|
15461
15461
|
}
|
|
15462
|
-
if (!U && !cp(
|
|
15462
|
+
if (!U && !cp(D.href, h))
|
|
15463
15463
|
continue;
|
|
15464
15464
|
if (U) {
|
|
15465
|
-
let j = Array.from(document.styleSheets).find((O) => O.href ===
|
|
15465
|
+
let j = Array.from(document.styleSheets).find((O) => O.href === D.href);
|
|
15466
15466
|
if (j)
|
|
15467
15467
|
try {
|
|
15468
15468
|
let O = j.cssRules || [];
|
|
@@ -15470,74 +15470,74 @@ async function fp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
|
|
|
15470
15470
|
} catch {
|
|
15471
15471
|
}
|
|
15472
15472
|
}
|
|
15473
|
-
if (!H && (H = (await Ue(
|
|
15473
|
+
if (!H && (H = (await Ue(D.href, { as: "text", useProxy: a })).data, Ke(D.href)))
|
|
15474
15474
|
continue;
|
|
15475
|
-
H = await dp(H,
|
|
15475
|
+
H = await dp(H, D.href, a);
|
|
15476
15476
|
let te = "";
|
|
15477
15477
|
for (let j of H.match(hp) || []) {
|
|
15478
15478
|
let O = (((u = j.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : u[1]) || "").trim(), $ = oa(O);
|
|
15479
15479
|
if (!$ || Ke($))
|
|
15480
15480
|
continue;
|
|
15481
|
-
let A = (((x = j.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : x[1]) || "400").trim(), ie = (((v = j.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "normal").trim(), ge = (((w = j.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : w[1]) || "100%").trim(), xe = (((_ = j.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : _[1]) || "").trim(), ke = (((S = j.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : S[1]) || "").trim(), se = wa(ke,
|
|
15481
|
+
let A = (((x = j.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : x[1]) || "400").trim(), ie = (((v = j.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "normal").trim(), ge = (((w = j.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : w[1]) || "100%").trim(), xe = (((_ = j.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : _[1]) || "").trim(), ke = (((S = j.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : S[1]) || "").trim(), se = wa(ke, D.href);
|
|
15482
15482
|
if (!l($, ie, A, ge))
|
|
15483
15483
|
continue;
|
|
15484
15484
|
let fe = cr(xe);
|
|
15485
15485
|
if (!mr(t, fe))
|
|
15486
15486
|
continue;
|
|
15487
|
-
let ve = { family: $, weightSpec: A, styleSpec: ie, stretchSpec: ge, unicodeRange: xe, srcRaw: ke, srcUrls: se, href:
|
|
15487
|
+
let ve = { family: $, weightSpec: A, styleSpec: ie, stretchSpec: ge, unicodeRange: xe, srcRaw: ke, srcUrls: se, href: D.href };
|
|
15488
15488
|
if (o && c(ve, fe))
|
|
15489
15489
|
continue;
|
|
15490
|
-
let Se = /url\(/i.test(ke) ? await dr(j,
|
|
15490
|
+
let Se = /url\(/i.test(ke) ? await dr(j, D.href, a) : j;
|
|
15491
15491
|
te += Se;
|
|
15492
15492
|
}
|
|
15493
15493
|
te.trim() && (p += te);
|
|
15494
15494
|
} catch {
|
|
15495
|
-
console.warn("[snapDOM] Failed to process stylesheet:",
|
|
15495
|
+
console.warn("[snapDOM] Failed to process stylesheet:", D.href);
|
|
15496
15496
|
}
|
|
15497
15497
|
let f = { requiredIndex: r, usedCodepoints: t, faceMatchesRequired: l, simpleExcluder: o ? Bi(o) : null, useProxy: a, visitedSheets: /* @__PURE__ */ new Set(), depth: 0 };
|
|
15498
|
-
for (let
|
|
15499
|
-
if (!(
|
|
15498
|
+
for (let D of document.styleSheets)
|
|
15499
|
+
if (!(D.href && y.some((H) => H.href === D.href)))
|
|
15500
15500
|
try {
|
|
15501
|
-
let H =
|
|
15502
|
-
H && f.visitedSheets.add(H), await hr(
|
|
15501
|
+
let H = D.href || location.href;
|
|
15502
|
+
H && f.visitedSheets.add(H), await hr(D, H, async (U) => {
|
|
15503
15503
|
p += U;
|
|
15504
15504
|
}, f);
|
|
15505
15505
|
} catch {
|
|
15506
15506
|
}
|
|
15507
15507
|
try {
|
|
15508
|
-
for (let
|
|
15509
|
-
if (!
|
|
15508
|
+
for (let D of document.fonts || []) {
|
|
15509
|
+
if (!D || !D.family || D.status !== "loaded" || !D._snapdomSrc)
|
|
15510
15510
|
continue;
|
|
15511
|
-
let H = String(
|
|
15511
|
+
let H = String(D.family).replace(/^['"]+|['"]+$/g, "");
|
|
15512
15512
|
if (Ke(H) || !r.has(H) || o != null && o.families && o.families.some((te) => String(te).toLowerCase() === H.toLowerCase()))
|
|
15513
15513
|
continue;
|
|
15514
|
-
let U =
|
|
15514
|
+
let U = D._snapdomSrc;
|
|
15515
15515
|
if (!String(U).startsWith("data:")) {
|
|
15516
|
-
if ((z = Z.resource) != null && z.has(
|
|
15517
|
-
U = Z.resource.get(
|
|
15518
|
-
else if (!((R = Z.font) != null && R.has(
|
|
15516
|
+
if ((z = Z.resource) != null && z.has(D._snapdomSrc))
|
|
15517
|
+
U = Z.resource.get(D._snapdomSrc), (M = Z.font) == null || M.add(D._snapdomSrc);
|
|
15518
|
+
else if (!((R = Z.font) != null && R.has(D._snapdomSrc)))
|
|
15519
15519
|
try {
|
|
15520
|
-
let te = await Ue(
|
|
15520
|
+
let te = await Ue(D._snapdomSrc, { as: "dataURL", useProxy: a, silent: !0 });
|
|
15521
15521
|
if (te.ok && typeof te.data == "string")
|
|
15522
|
-
U = te.data, (W = Z.resource) == null || W.set(
|
|
15522
|
+
U = te.data, (W = Z.resource) == null || W.set(D._snapdomSrc, U), (F = Z.font) == null || F.add(D._snapdomSrc);
|
|
15523
15523
|
else
|
|
15524
15524
|
continue;
|
|
15525
15525
|
} catch {
|
|
15526
|
-
console.warn("[snapDOM] Failed to fetch dynamic font src:",
|
|
15526
|
+
console.warn("[snapDOM] Failed to fetch dynamic font src:", D._snapdomSrc);
|
|
15527
15527
|
continue;
|
|
15528
15528
|
}
|
|
15529
15529
|
}
|
|
15530
|
-
p += `@font-face{font-family:'${H}';src:url(${U});font-style:${
|
|
15530
|
+
p += `@font-face{font-family:'${H}';src:url(${U});font-style:${D.style || "normal"};font-weight:${D.weight || "normal"};}`;
|
|
15531
15531
|
}
|
|
15532
15532
|
} catch {
|
|
15533
15533
|
}
|
|
15534
|
-
for (let
|
|
15535
|
-
if (!
|
|
15534
|
+
for (let D of i) {
|
|
15535
|
+
if (!D || typeof D != "object")
|
|
15536
15536
|
continue;
|
|
15537
|
-
let H = String(
|
|
15537
|
+
let H = String(D.family || "").replace(/^['"]+|['"]+$/g, "");
|
|
15538
15538
|
if (!H || Ke(H) || !r.has(H) || o != null && o.families && o.families.some((A) => String(A).toLowerCase() === H.toLowerCase()))
|
|
15539
15539
|
continue;
|
|
15540
|
-
let U =
|
|
15540
|
+
let U = D.weight != null ? String(D.weight) : "normal", te = D.style != null ? String(D.style) : "normal", j = D.stretchPct != null ? `${D.stretchPct}%` : "100%", O = String(D.src || ""), $ = O;
|
|
15541
15541
|
if (!$.startsWith("data:")) {
|
|
15542
15542
|
if ((E = Z.resource) != null && E.has(O))
|
|
15543
15543
|
$ = Z.resource.get(O), (V = Z.font) == null || V.add(O);
|
|
@@ -16780,37 +16780,37 @@ async function yr(e, t, o, i) {
|
|
|
16780
16780
|
}
|
|
16781
16781
|
continue;
|
|
16782
16782
|
}
|
|
16783
|
-
let
|
|
16784
|
-
|
|
16783
|
+
let D = document.createElement("span");
|
|
16784
|
+
D.dataset.snapdomPseudo = p, D.style.pointerEvents = "none";
|
|
16785
16785
|
let H = Wi(y), U = la(H, "span");
|
|
16786
|
-
if (o.styleMap.set(
|
|
16786
|
+
if (o.styleMap.set(D, U), E && u && u.length === 1) {
|
|
16787
16787
|
let { dataUrl: j, width: O, height: $ } = await ap(u, _, z, S, M), A = document.createElement("img");
|
|
16788
|
-
A.src = j, A.style = `height:${S}px;width:${O / $ * S}px;object-fit:contain;`,
|
|
16788
|
+
A.src = j, A.style = `height:${S}px;width:${O / $ * S}px;object-fit:contain;`, D.appendChild(A), t.dataset.snapdomHasIcon = "true";
|
|
16789
16789
|
} else if (u && u.startsWith("url(")) {
|
|
16790
16790
|
let j = ya(u);
|
|
16791
16791
|
if (j != null && j.trim())
|
|
16792
16792
|
try {
|
|
16793
16793
|
let O = document.createElement("img"), $ = await Ue(Qo(j), { as: "dataURL", useProxy: i.useProxy });
|
|
16794
|
-
O.src = $.data, O.style = `width:${S}px;height:auto;object-fit:contain;`,
|
|
16794
|
+
O.src = $.data, O.style = `width:${S}px;height:auto;object-fit:contain;`, D.appendChild(O);
|
|
16795
16795
|
} catch (O) {
|
|
16796
16796
|
console.error(`[snapdom] Error in pseudo ${p} for`, e, O);
|
|
16797
16797
|
}
|
|
16798
16798
|
} else
|
|
16799
|
-
!E && V && (
|
|
16800
|
-
|
|
16799
|
+
!E && V && (D.textContent = u);
|
|
16800
|
+
D.style.backgroundImage = "none", "maskImage" in D.style && (D.style.maskImage = "none"), "webkitMaskImage" in D.style && (D.style.webkitMaskImage = "none");
|
|
16801
16801
|
try {
|
|
16802
|
-
|
|
16802
|
+
D.style.backgroundRepeat = y.backgroundRepeat, D.style.backgroundSize = y.backgroundSize, y.backgroundPositionX && y.backgroundPositionY ? (D.style.backgroundPositionX = y.backgroundPositionX, D.style.backgroundPositionY = y.backgroundPositionY) : D.style.backgroundPosition = y.backgroundPosition, D.style.backgroundOrigin = y.backgroundOrigin, D.style.backgroundClip = y.backgroundClip, D.style.backgroundAttachment = y.backgroundAttachment, D.style.backgroundBlendMode = y.backgroundBlendMode;
|
|
16803
16803
|
} catch {
|
|
16804
16804
|
}
|
|
16805
16805
|
if (J)
|
|
16806
16806
|
try {
|
|
16807
16807
|
let j = nr(v), O = await Promise.all(j.map(ir));
|
|
16808
|
-
|
|
16808
|
+
D.style.backgroundImage = O.join(", ");
|
|
16809
16809
|
} catch (j) {
|
|
16810
16810
|
console.warn(`[snapdom] Failed to inline background-image for ${p}`, j);
|
|
16811
16811
|
}
|
|
16812
|
-
Q && (
|
|
16813
|
-
let te =
|
|
16812
|
+
Q && (D.style.backgroundColor = w);
|
|
16813
|
+
let te = D.childNodes.length > 0 || ((g = D.textContent) == null ? void 0 : g.trim()) !== "" || J || Q || ee || he;
|
|
16814
16814
|
if (x && x.length && e.parentElement) {
|
|
16815
16815
|
let j = st.get(e.parentElement) || /* @__PURE__ */ new Map(), O = ha(e, l), $ = ua(e, getComputedStyle(e, p), O);
|
|
16816
16816
|
for (let { name: A } of x) {
|
|
@@ -16823,7 +16823,7 @@ async function yr(e, t, o, i) {
|
|
|
16823
16823
|
}
|
|
16824
16824
|
if (!te)
|
|
16825
16825
|
continue;
|
|
16826
|
-
p === "::before" ? t.insertBefore(
|
|
16826
|
+
p === "::before" ? t.insertBefore(D, t.firstChild) : t.appendChild(D);
|
|
16827
16827
|
} catch (y) {
|
|
16828
16828
|
console.warn(`[snapdom] Failed to capture ${p} for`, e, y);
|
|
16829
16829
|
}
|
|
@@ -17491,17 +17491,17 @@ async function wr(e, t) {
|
|
|
17491
17491
|
return Number.isFinite(Re) ? Re : be;
|
|
17492
17492
|
}, W = R(r.options.width), F = R(r.options.height), E = z, V = M, J = Number.isFinite(W), Q = Number.isFinite(F), ee = M > 0 ? z / M : 1;
|
|
17493
17493
|
J && Q ? (E = Math.max(1, le(W)), V = Math.max(1, le(F))) : J ? (E = Math.max(1, le(W)), V = Math.max(1, le(E / (ee || 1)))) : Q ? (V = Math.max(1, le(F)), E = Math.max(1, le(V * (ee || 1)))) : (E = z, V = M);
|
|
17494
|
-
let he = 0,
|
|
17494
|
+
let he = 0, D = 0, H = z, U = M;
|
|
17495
17495
|
if (!i && y && Number.isFinite(y.a)) {
|
|
17496
17496
|
let X = { a: y.a, b: y.b || 0, c: y.c || 0, d: y.d || 1, e: 0, f: 0 }, be = Qi(z, M, X, 0, 0);
|
|
17497
|
-
he = le(be.minX),
|
|
17497
|
+
he = le(be.minX), D = le(be.minY), H = le(be.maxX), U = le(be.maxY);
|
|
17498
17498
|
} else if (i && Vg(r.element)) {
|
|
17499
17499
|
let X = _.transform && _.transform !== "none" ? _.transform : "", be = Eg(r.element), Re = jg({ baseTransform: X, rotate: be.rotate || "0deg", scale: be.scale, translate: be.translate }), { ox: Oe, oy: je } = Zg(_, z, M), q = Re.is2D ? Re : new DOMMatrix(Re.toString()), Be = Qi(z, M, q, Oe, je);
|
|
17500
|
-
he = le(Be.minX),
|
|
17500
|
+
he = le(Be.minX), D = le(Be.minY), H = le(Be.maxX), U = le(Be.maxY);
|
|
17501
17501
|
}
|
|
17502
17502
|
let te = Gg(_), j = Wg(_), O = Fg(_), $ = Ng(_), A = a ? { top: le(te.top + j.top + O.top + $.bleed.top), right: le(te.right + j.right + O.right + $.bleed.right), bottom: le(te.bottom + j.bottom + O.bottom + $.bleed.bottom), left: le(te.left + j.left + O.left + $.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
|
|
17503
|
-
he = le(he - A.left),
|
|
17504
|
-
let ie = Math.max(1, le(H - he)), ge = Math.max(1, le(U -
|
|
17503
|
+
he = le(he - A.left), D = le(D - A.top), H = le(H + A.right), U = le(U + A.bottom);
|
|
17504
|
+
let ie = Math.max(1, le(H - he)), ge = Math.max(1, le(U - D)), xe = J || Q ? le(E / z) : 1, ke = Q || J ? le(V / M) : 1, se = Math.max(1, le(ie * xe)), fe = Math.max(1, le(ge * ke)), ve = "http://www.w3.org/2000/svg", Se = Zo() ? 1 : 0, K = le(Se + (i ? 0 : 1)), me = document.createElementNS(ve, "foreignObject"), Xe = le(he), Ne = le(D);
|
|
17505
17505
|
me.setAttribute("x", String(le(-(Xe - K)))), me.setAttribute("y", String(le(-(Ne - K)))), me.setAttribute("width", String(le(z + K * 2))), me.setAttribute("height", String(le(M + K * 2))), me.style.overflow = "visible";
|
|
17506
17506
|
let Pe = document.createElement("style");
|
|
17507
17507
|
Pe.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, me.appendChild(Pe);
|
|
@@ -17553,52 +17553,52 @@ Me.capture = async (e, t, o) => {
|
|
|
17553
17553
|
if (o !== xr)
|
|
17554
17554
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17555
17555
|
let i = await wr(e, t), a = { img: async (f, d) => {
|
|
17556
|
-
let { toImg: u } = await import("./toImg-
|
|
17556
|
+
let { toImg: u } = await import("./toImg-fda395a3.js");
|
|
17557
17557
|
return u(i, { ...f, ...d || {} });
|
|
17558
17558
|
}, svg: async (f, d) => {
|
|
17559
|
-
let { toSvg: u } = await import("./toImg-
|
|
17559
|
+
let { toSvg: u } = await import("./toImg-fda395a3.js");
|
|
17560
17560
|
return u(i, { ...f, ...d || {} });
|
|
17561
17561
|
}, canvas: async (f, d) => {
|
|
17562
|
-
let { toCanvas: u } = await import("./toCanvas-
|
|
17562
|
+
let { toCanvas: u } = await import("./toCanvas-6cce7667.js");
|
|
17563
17563
|
return u(i, { ...f, ...d || {} });
|
|
17564
17564
|
}, blob: async (f, d) => {
|
|
17565
|
-
let { toBlob: u } = await import("./toBlob-
|
|
17565
|
+
let { toBlob: u } = await import("./toBlob-943afae5.js");
|
|
17566
17566
|
return u(i, { ...f, ...d || {} });
|
|
17567
17567
|
}, png: async (f, d) => {
|
|
17568
|
-
let { rasterize: u } = await import("./rasterize-JS5G2XHH-
|
|
17568
|
+
let { rasterize: u } = await import("./rasterize-JS5G2XHH-3680a964.js");
|
|
17569
17569
|
return u(i, { ...f, ...d || {}, format: "png" });
|
|
17570
17570
|
}, jpeg: async (f, d) => {
|
|
17571
|
-
let { rasterize: u } = await import("./rasterize-JS5G2XHH-
|
|
17571
|
+
let { rasterize: u } = await import("./rasterize-JS5G2XHH-3680a964.js");
|
|
17572
17572
|
return u(i, { ...f, ...d || {}, format: "jpeg" });
|
|
17573
17573
|
}, webp: async (f, d) => {
|
|
17574
|
-
let { rasterize: u } = await import("./rasterize-JS5G2XHH-
|
|
17574
|
+
let { rasterize: u } = await import("./rasterize-JS5G2XHH-3680a964.js");
|
|
17575
17575
|
return u(i, { ...f, ...d || {}, format: "webp" });
|
|
17576
17576
|
}, download: async (f, d) => {
|
|
17577
|
-
let { download: u } = await import("./download-
|
|
17577
|
+
let { download: u } = await import("./download-3d60b5fc.js");
|
|
17578
17578
|
return u(i, { ...f, ...d || {} });
|
|
17579
17579
|
} }, r = { ...t, export: { url: i }, exports: { svg: async (f) => {
|
|
17580
|
-
let { toSvg: d } = await import("./toImg-
|
|
17580
|
+
let { toSvg: d } = await import("./toImg-fda395a3.js");
|
|
17581
17581
|
return d(i, { ...t, ...f || {}, [$e]: !0 });
|
|
17582
17582
|
}, canvas: async (f) => {
|
|
17583
|
-
let { toCanvas: d } = await import("./toCanvas-
|
|
17583
|
+
let { toCanvas: d } = await import("./toCanvas-6cce7667.js");
|
|
17584
17584
|
return d(i, { ...t, ...f || {}, [$e]: !0 });
|
|
17585
17585
|
}, png: async (f) => {
|
|
17586
|
-
let { rasterize: d } = await import("./rasterize-JS5G2XHH-
|
|
17586
|
+
let { rasterize: d } = await import("./rasterize-JS5G2XHH-3680a964.js");
|
|
17587
17587
|
return d(i, { ...t, ...f || {}, format: "png", [$e]: !0 });
|
|
17588
17588
|
}, jpeg: async (f) => {
|
|
17589
|
-
let { rasterize: d } = await import("./rasterize-JS5G2XHH-
|
|
17589
|
+
let { rasterize: d } = await import("./rasterize-JS5G2XHH-3680a964.js");
|
|
17590
17590
|
return d(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
|
|
17591
17591
|
}, jpg: async (f) => {
|
|
17592
|
-
let { rasterize: d } = await import("./rasterize-JS5G2XHH-
|
|
17592
|
+
let { rasterize: d } = await import("./rasterize-JS5G2XHH-3680a964.js");
|
|
17593
17593
|
return d(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
|
|
17594
17594
|
}, webp: async (f) => {
|
|
17595
|
-
let { rasterize: d } = await import("./rasterize-JS5G2XHH-
|
|
17595
|
+
let { rasterize: d } = await import("./rasterize-JS5G2XHH-3680a964.js");
|
|
17596
17596
|
return d(i, { ...t, ...f || {}, format: "webp", [$e]: !0 });
|
|
17597
17597
|
}, blob: async (f) => {
|
|
17598
|
-
let { toBlob: d } = await import("./toBlob-
|
|
17598
|
+
let { toBlob: d } = await import("./toBlob-943afae5.js");
|
|
17599
17599
|
return d(i, { ...t, ...f || {}, [$e]: !0 });
|
|
17600
17600
|
}, img: async (f) => {
|
|
17601
|
-
let { toImg: d } = await import("./toImg-
|
|
17601
|
+
let { toImg: d } = await import("./toImg-fda395a3.js");
|
|
17602
17602
|
return d(i, { ...t, ...f || {}, [$e]: !0 });
|
|
17603
17603
|
} } }, l = await kp("defineExports", r), c = Object.assign({}, ...l.filter((f) => f && typeof f == "object")), s = { ...a, ...c };
|
|
17604
17604
|
s.jpeg && !s.jpg && (s.jpg = (f, d) => s.jpeg(f, d));
|
|
@@ -18275,7 +18275,8 @@ const o0 = {
|
|
|
18275
18275
|
this.recorder.download(this.blob, t);
|
|
18276
18276
|
},
|
|
18277
18277
|
handleShare() {
|
|
18278
|
-
|
|
18278
|
+
var e;
|
|
18279
|
+
this.$emit("share", ((e = this.gifData) == null ? void 0 : e.id) || "");
|
|
18279
18280
|
}
|
|
18280
18281
|
}
|
|
18281
18282
|
}, a0 = { class: "capture-container" }, i0 = {
|
|
@@ -18287,25 +18288,28 @@ const o0 = {
|
|
|
18287
18288
|
}, c0 = { class: "text-body-2" }, m0 = {
|
|
18288
18289
|
key: 1,
|
|
18289
18290
|
class: "py-1 px-2 d-flex align-center justify-center ga-2"
|
|
18290
|
-
}, d0 = { class: "text-body-2" }, h0 = { class: "w-100
|
|
18291
|
-
|
|
18291
|
+
}, d0 = { class: "text-body-2" }, h0 = { class: "w-100 flex-1-1-0 d-flex flex-column align-center justify-center" }, u0 = {
|
|
18292
|
+
key: 1,
|
|
18293
|
+
class: "w-100 h-100 d-flex align-center justify-center border rounded"
|
|
18294
|
+
}, p0 = { class: "w-100 my-4 d-flex align-center justify-space-between ga-4" }, g0 = { class: "text-decoration-underline" }, f0 = { class: "d-flex align-center justify-end" };
|
|
18295
|
+
function y0(e, t, o, i, a, r) {
|
|
18292
18296
|
const l = T("VBtn"), c = T("v-btn"), s = T("v-card-title"), h = T("v-divider"), m = T("VImg"), g = T("v-card-text"), p = T("VCard");
|
|
18293
|
-
return
|
|
18294
|
-
a.actionStatus > 0 && a.actionStatus < 4 ? (
|
|
18297
|
+
return P(), I("div", a0, [
|
|
18298
|
+
a.actionStatus > 0 && a.actionStatus < 4 ? (P(), I("div", {
|
|
18295
18299
|
key: 0,
|
|
18296
18300
|
class: "capture-selector",
|
|
18297
18301
|
onMousedown: t[2] || (t[2] = (...y) => r.handleMouseDown && r.handleMouseDown(...y)),
|
|
18298
18302
|
onMousemove: t[3] || (t[3] = (...y) => r.handleMouseMove && r.handleMouseMove(...y)),
|
|
18299
18303
|
onMouseup: t[4] || (t[4] = (...y) => r.handleMouseUp && r.handleMouseUp(...y))
|
|
18300
18304
|
}, [
|
|
18301
|
-
a.actionStatus === 1 ? (
|
|
18302
|
-
a.actionStatus >= 2 ? (
|
|
18305
|
+
a.actionStatus === 1 ? (P(), I("div", i0, b(e.$t("tips.crossHairText")), 1)) : N("", !0),
|
|
18306
|
+
a.actionStatus >= 2 ? (P(), I("div", {
|
|
18303
18307
|
key: 1,
|
|
18304
18308
|
class: "selection-box",
|
|
18305
18309
|
style: ue(r.selectionStyle)
|
|
18306
18310
|
}, [
|
|
18307
18311
|
n("div", r0, b(Math.round(a.selection.width)) + " × " + b(Math.round(a.selection.height)), 1),
|
|
18308
|
-
a.actionStatus === 3 ? (
|
|
18312
|
+
a.actionStatus === 3 ? (P(), I("div", {
|
|
18309
18313
|
key: 0,
|
|
18310
18314
|
class: "action-buttons px-2 rounded font-weight-bold bg-background d-flex justify-end ga-4",
|
|
18311
18315
|
onMousedown: t[0] || (t[0] = ze(() => {
|
|
@@ -18330,7 +18334,7 @@ function g0(e, t, o, i, a, r) {
|
|
|
18330
18334
|
], 32)) : N("", !0)
|
|
18331
18335
|
], 4)) : N("", !0)
|
|
18332
18336
|
], 32)) : N("", !0),
|
|
18333
|
-
a.actionStatus >= 4 && a.actionStatus < 7 ? (
|
|
18337
|
+
a.actionStatus >= 4 && a.actionStatus < 7 ? (P(), I("div", {
|
|
18334
18338
|
key: 1,
|
|
18335
18339
|
class: _e(["capture-frame", { recording: a.actionStatus === 5 }]),
|
|
18336
18340
|
style: ue(r.selectionStyle)
|
|
@@ -18339,30 +18343,31 @@ function g0(e, t, o, i, a, r) {
|
|
|
18339
18343
|
n("div", n0, b(a.selection.width) + " × " + b(a.selection.height), 1)
|
|
18340
18344
|
]),
|
|
18341
18345
|
n("div", {
|
|
18342
|
-
class: "action-
|
|
18346
|
+
class: "action-status mt-2 px-2 rounded font-weight-bold bg-background d-flex align-center justify-end ga-4",
|
|
18343
18347
|
onMousedown: t[5] || (t[5] = ze(() => {
|
|
18344
18348
|
}, ["stop"])),
|
|
18345
18349
|
onMouseup: t[6] || (t[6] = ze(() => {
|
|
18346
18350
|
}, ["stop"]))
|
|
18347
18351
|
}, [
|
|
18348
|
-
a.actionStatus === 5 ? (
|
|
18352
|
+
a.actionStatus === 5 ? (P(), I("div", s0, [
|
|
18349
18353
|
t[10] || (t[10] = n("div", { class: "dot bg-danger" }, null, -1)),
|
|
18350
18354
|
n("div", c0, b(e.$t("tips.recordingText")), 1)
|
|
18351
18355
|
])) : N("", !0),
|
|
18352
|
-
a.actionStatus === 6 ? (
|
|
18356
|
+
a.actionStatus === 6 ? (P(), I("div", m0, [
|
|
18353
18357
|
t[11] || (t[11] = n("div", { class: "dot bg-success" }, null, -1)),
|
|
18354
18358
|
n("div", d0, b(e.$t("tips.savingText")), 1)
|
|
18355
18359
|
])) : N("", !0)
|
|
18356
18360
|
], 32)
|
|
18357
18361
|
], 6)) : N("", !0),
|
|
18358
|
-
a.actionStatus >= 7 ? (
|
|
18362
|
+
a.actionStatus >= 7 ? (P(), B(p, {
|
|
18359
18363
|
key: 2,
|
|
18360
18364
|
width: "700",
|
|
18361
|
-
|
|
18365
|
+
"min-height": "600",
|
|
18366
|
+
class: "capture-result d-flex flex-column align-center justify-center"
|
|
18362
18367
|
}, {
|
|
18363
|
-
default:
|
|
18364
|
-
k(s, { class: "text-h4 d-flex align-center justify-space-between px-4 ga-2" }, {
|
|
18365
|
-
default:
|
|
18368
|
+
default: C(() => [
|
|
18369
|
+
k(s, { class: "w-100 text-h4 d-flex align-center justify-space-between px-4 ga-2" }, {
|
|
18370
|
+
default: C(() => [
|
|
18366
18371
|
n("div", null, b(e.$t("actions.preview")), 1),
|
|
18367
18372
|
k(c, {
|
|
18368
18373
|
icon: "mdi-close",
|
|
@@ -18374,34 +18379,44 @@ function g0(e, t, o, i, a, r) {
|
|
|
18374
18379
|
]),
|
|
18375
18380
|
_: 1
|
|
18376
18381
|
}),
|
|
18377
|
-
k(h),
|
|
18378
|
-
k(g, { class: "d-flex flex-column align-center justify-center pa-8 ga-4 text-body-1" }, {
|
|
18379
|
-
default:
|
|
18380
|
-
var y, f;
|
|
18382
|
+
k(h, { class: "w-100" }),
|
|
18383
|
+
k(g, { class: "flex-1-1-0 d-flex flex-column align-center justify-center pa-8 ga-4 text-body-1" }, {
|
|
18384
|
+
default: C(() => {
|
|
18385
|
+
var y, f, d;
|
|
18381
18386
|
return [
|
|
18382
18387
|
n("div", null, b(a.gifData.description), 1),
|
|
18383
|
-
k(m, {
|
|
18384
|
-
src: (y = a.gifData) == null ? void 0 : y.img,
|
|
18385
|
-
class: "w-100 rounded",
|
|
18386
|
-
height: "auto",
|
|
18387
|
-
"object-fit": "contain"
|
|
18388
|
-
}, null, 8, ["src"]),
|
|
18389
18388
|
n("div", h0, [
|
|
18390
|
-
|
|
18391
|
-
|
|
18389
|
+
(y = a.gifData) != null && y.img ? (P(), B(m, {
|
|
18390
|
+
key: 0,
|
|
18391
|
+
src: (f = a.gifData) == null ? void 0 : f.img,
|
|
18392
|
+
class: "w-100 rounded",
|
|
18393
|
+
height: "auto",
|
|
18394
|
+
"object-fit": "contain"
|
|
18395
|
+
}, null, 8, ["src"])) : (P(), I("div", u0, [
|
|
18396
|
+
k(m, {
|
|
18397
|
+
src: "https://osshz.idmwx.com/asset/loading.gif",
|
|
18398
|
+
width: "100",
|
|
18399
|
+
height: "100",
|
|
18400
|
+
"object-fit": "contain"
|
|
18401
|
+
})
|
|
18402
|
+
]))
|
|
18403
|
+
]),
|
|
18404
|
+
n("div", p0, [
|
|
18405
|
+
n("div", g0, b((d = a.gifData) == null ? void 0 : d.img), 1),
|
|
18406
|
+
n("div", f0, [
|
|
18392
18407
|
k(l, {
|
|
18393
18408
|
icon: "mdi-content-copy",
|
|
18394
18409
|
density: "compact",
|
|
18395
18410
|
variant: "text",
|
|
18396
18411
|
class: "text-none text-body-2",
|
|
18397
|
-
onClick: t[8] || (t[8] = ze((
|
|
18412
|
+
onClick: t[8] || (t[8] = ze((u) => r.handleCopy(), ["stop"]))
|
|
18398
18413
|
}),
|
|
18399
18414
|
k(l, {
|
|
18400
18415
|
icon: "mdi-download",
|
|
18401
18416
|
density: "compact",
|
|
18402
18417
|
variant: "text",
|
|
18403
18418
|
class: "text-none text-body-1",
|
|
18404
|
-
onClick: t[9] || (t[9] = ze((
|
|
18419
|
+
onClick: t[9] || (t[9] = ze((u) => r.handleDownload(), ["stop"]))
|
|
18405
18420
|
}),
|
|
18406
18421
|
k(l, {
|
|
18407
18422
|
icon: "mdi-share",
|
|
@@ -18421,10 +18436,10 @@ function g0(e, t, o, i, a, r) {
|
|
|
18421
18436
|
})) : N("", !0)
|
|
18422
18437
|
]);
|
|
18423
18438
|
}
|
|
18424
|
-
const
|
|
18425
|
-
const
|
|
18439
|
+
const b0 = /* @__PURE__ */ ne(o0, [["render", y0], ["__scopeId", "data-v-9bb76d33"]]);
|
|
18440
|
+
const w0 = {
|
|
18426
18441
|
name: "IdmBottomBar",
|
|
18427
|
-
components: { DateTimePicker: ta, IdmCapture:
|
|
18442
|
+
components: { DateTimePicker: ta, IdmCapture: b0 },
|
|
18428
18443
|
props: {
|
|
18429
18444
|
menuToggle: {
|
|
18430
18445
|
type: Object,
|
|
@@ -18549,14 +18564,14 @@ const y0 = {
|
|
|
18549
18564
|
this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
|
|
18550
18565
|
}
|
|
18551
18566
|
}
|
|
18552
|
-
},
|
|
18567
|
+
}, x0 = { class: "idm-bottom-bar-gl4" }, v0 = { class: "date-box d-flex ga-2 mr-2" }, k0 = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, _0 = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, z0 = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, L0 = {
|
|
18553
18568
|
key: 0,
|
|
18554
18569
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
18555
|
-
},
|
|
18556
|
-
function
|
|
18570
|
+
}, P0 = ["onClick"], C0 = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, M0 = { class: "text-body-1" };
|
|
18571
|
+
function S0(e, t, o, i, a, r) {
|
|
18557
18572
|
const l = T("IdmCapture"), c = T("DateTimePicker"), s = T("VListItemTitle"), h = T("VListItem"), m = T("VList"), g = T("VMenu"), p = T("VBtn"), y = T("VDivider"), f = T("VTooltip");
|
|
18558
|
-
return
|
|
18559
|
-
a.gifEnabled ? (
|
|
18573
|
+
return P(), I("div", x0, [
|
|
18574
|
+
a.gifEnabled ? (P(), B(l, Y({
|
|
18560
18575
|
key: 0,
|
|
18561
18576
|
ref: "capture",
|
|
18562
18577
|
isPlaying: !a.paused,
|
|
@@ -18570,7 +18585,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18570
18585
|
class: "timeline-box px-2 d-flex justify-start align-center rounded",
|
|
18571
18586
|
style: ue({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
|
|
18572
18587
|
}, [
|
|
18573
|
-
n("div",
|
|
18588
|
+
n("div", v0, [
|
|
18574
18589
|
k(c, Y({
|
|
18575
18590
|
ref: "dateTimePicker",
|
|
18576
18591
|
"date-time": a.currentDateTimeZ,
|
|
@@ -18590,13 +18605,13 @@ function C0(e, t, o, i, a, r) {
|
|
|
18590
18605
|
class: "text-none elevation-0 btn-border-1 btn-bg-1 text-body-1",
|
|
18591
18606
|
"min-width": "30"
|
|
18592
18607
|
}, {
|
|
18593
|
-
default:
|
|
18608
|
+
default: C(() => [
|
|
18594
18609
|
de(b(a.intervalHour) + " h ", 1),
|
|
18595
18610
|
k(g, { activator: "parent" }, {
|
|
18596
|
-
default:
|
|
18611
|
+
default: C(() => [
|
|
18597
18612
|
k(m, { class: "pa-1" }, {
|
|
18598
|
-
default:
|
|
18599
|
-
(
|
|
18613
|
+
default: C(() => [
|
|
18614
|
+
(P(!0), I(Ie, null, De(a.intervalOptions, (d, u) => (P(), B(h, {
|
|
18600
18615
|
key: u,
|
|
18601
18616
|
value: d,
|
|
18602
18617
|
variant: a.intervalHour === d ? "tonal" : "text",
|
|
@@ -18608,11 +18623,11 @@ function C0(e, t, o, i, a, r) {
|
|
|
18608
18623
|
"min-width": "30",
|
|
18609
18624
|
class: "pa-0 text-center text-body-1"
|
|
18610
18625
|
}, {
|
|
18611
|
-
default:
|
|
18626
|
+
default: C(() => [
|
|
18612
18627
|
k(s, {
|
|
18613
18628
|
onClick: (x) => a.intervalHour = d
|
|
18614
18629
|
}, {
|
|
18615
|
-
default:
|
|
18630
|
+
default: C(() => [
|
|
18616
18631
|
de(b(d) + "h", 1)
|
|
18617
18632
|
]),
|
|
18618
18633
|
_: 2
|
|
@@ -18635,12 +18650,12 @@ function C0(e, t, o, i, a, r) {
|
|
|
18635
18650
|
class: "mx-2 my-3",
|
|
18636
18651
|
style: { height: "16px" }
|
|
18637
18652
|
}),
|
|
18638
|
-
n("div",
|
|
18653
|
+
n("div", k0, [
|
|
18639
18654
|
k(f, {
|
|
18640
18655
|
text: e.$t("actions.record"),
|
|
18641
18656
|
location: "top"
|
|
18642
18657
|
}, {
|
|
18643
|
-
activator:
|
|
18658
|
+
activator: C(({ props: d }) => [
|
|
18644
18659
|
k(p, Y(d, {
|
|
18645
18660
|
icon: "",
|
|
18646
18661
|
size: "small",
|
|
@@ -18648,10 +18663,10 @@ function C0(e, t, o, i, a, r) {
|
|
|
18648
18663
|
variant: "text",
|
|
18649
18664
|
color: a.gifEnabled ? "primary" : "",
|
|
18650
18665
|
class: "mr-1",
|
|
18651
|
-
style: { "margin-top": "
|
|
18666
|
+
style: { "margin-top": "-2px" },
|
|
18652
18667
|
onClick: t[5] || (t[5] = (u) => a.gifEnabled = !a.gifEnabled)
|
|
18653
18668
|
}), {
|
|
18654
|
-
default:
|
|
18669
|
+
default: C(() => t[12] || (t[12] = [
|
|
18655
18670
|
n("i", {
|
|
18656
18671
|
class: "mdi mdi-radiobox-marked",
|
|
18657
18672
|
style: { "font-size": "22px" }
|
|
@@ -18667,7 +18682,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18667
18682
|
text: e.$t("actions.reset"),
|
|
18668
18683
|
location: "top"
|
|
18669
18684
|
}, {
|
|
18670
|
-
activator:
|
|
18685
|
+
activator: C(({ props: d }) => [
|
|
18671
18686
|
k(p, Y(d, {
|
|
18672
18687
|
icon: "",
|
|
18673
18688
|
size: "small",
|
|
@@ -18675,7 +18690,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18675
18690
|
variant: "text",
|
|
18676
18691
|
onClick: r.handleReset
|
|
18677
18692
|
}), {
|
|
18678
|
-
default:
|
|
18693
|
+
default: C(() => t[13] || (t[13] = [
|
|
18679
18694
|
n("i", { class: "iconfont icon-Reset" }, null, -1)
|
|
18680
18695
|
])),
|
|
18681
18696
|
_: 2,
|
|
@@ -18688,7 +18703,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18688
18703
|
text: e.$t("actions.backward"),
|
|
18689
18704
|
location: "top"
|
|
18690
18705
|
}, {
|
|
18691
|
-
activator:
|
|
18706
|
+
activator: C(({ props: d }) => [
|
|
18692
18707
|
k(p, Y(d, {
|
|
18693
18708
|
icon: "",
|
|
18694
18709
|
size: "small",
|
|
@@ -18696,7 +18711,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18696
18711
|
variant: "text",
|
|
18697
18712
|
onClick: r.handleBackward
|
|
18698
18713
|
}), {
|
|
18699
|
-
default:
|
|
18714
|
+
default: C(() => t[14] || (t[14] = [
|
|
18700
18715
|
n("i", { class: "iconfont icon-Backward" }, null, -1)
|
|
18701
18716
|
])),
|
|
18702
18717
|
_: 2,
|
|
@@ -18709,15 +18724,15 @@ function C0(e, t, o, i, a, r) {
|
|
|
18709
18724
|
text: e.$t("actions.play"),
|
|
18710
18725
|
location: "top"
|
|
18711
18726
|
}, {
|
|
18712
|
-
activator:
|
|
18713
|
-
a.paused ? (
|
|
18727
|
+
activator: C(({ props: d }) => [
|
|
18728
|
+
a.paused ? (P(), B(p, Y({ key: 0 }, d, {
|
|
18714
18729
|
icon: "",
|
|
18715
18730
|
size: "small",
|
|
18716
18731
|
density: "comfortable",
|
|
18717
18732
|
variant: "text",
|
|
18718
18733
|
onClick: r.handlePlay
|
|
18719
18734
|
}), {
|
|
18720
|
-
default:
|
|
18735
|
+
default: C(() => t[15] || (t[15] = [
|
|
18721
18736
|
n("i", { class: "iconfont icon-Play" }, null, -1)
|
|
18722
18737
|
])),
|
|
18723
18738
|
_: 2,
|
|
@@ -18730,15 +18745,15 @@ function C0(e, t, o, i, a, r) {
|
|
|
18730
18745
|
text: e.$t("actions.pause"),
|
|
18731
18746
|
location: "top"
|
|
18732
18747
|
}, {
|
|
18733
|
-
activator:
|
|
18734
|
-
a.paused ? N("", !0) : (
|
|
18748
|
+
activator: C(({ props: d }) => [
|
|
18749
|
+
a.paused ? N("", !0) : (P(), B(p, Y({ key: 0 }, d, {
|
|
18735
18750
|
icon: "",
|
|
18736
18751
|
size: "small",
|
|
18737
18752
|
density: "comfortable",
|
|
18738
18753
|
variant: "text",
|
|
18739
18754
|
onClick: r.handlePause
|
|
18740
18755
|
}), {
|
|
18741
|
-
default:
|
|
18756
|
+
default: C(() => t[16] || (t[16] = [
|
|
18742
18757
|
n("i", { class: "iconfont icon-Pause" }, null, -1)
|
|
18743
18758
|
])),
|
|
18744
18759
|
_: 2,
|
|
@@ -18751,7 +18766,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18751
18766
|
text: e.$t("actions.forward"),
|
|
18752
18767
|
location: "top"
|
|
18753
18768
|
}, {
|
|
18754
|
-
activator:
|
|
18769
|
+
activator: C(({ props: d }) => [
|
|
18755
18770
|
k(p, Y(d, {
|
|
18756
18771
|
icon: "",
|
|
18757
18772
|
size: "small",
|
|
@@ -18759,7 +18774,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18759
18774
|
variant: "text",
|
|
18760
18775
|
onClick: r.handleForward
|
|
18761
18776
|
}), {
|
|
18762
|
-
default:
|
|
18777
|
+
default: C(() => t[17] || (t[17] = [
|
|
18763
18778
|
n("i", { class: "iconfont icon-Forward" }, null, -1)
|
|
18764
18779
|
])),
|
|
18765
18780
|
_: 2,
|
|
@@ -18774,12 +18789,12 @@ function C0(e, t, o, i, a, r) {
|
|
|
18774
18789
|
class: "mx-2 my-3",
|
|
18775
18790
|
style: { height: "16px" }
|
|
18776
18791
|
}),
|
|
18777
|
-
n("div",
|
|
18792
|
+
n("div", _0, [
|
|
18778
18793
|
k(f, {
|
|
18779
18794
|
text: e.$t("weather.windBarbs"),
|
|
18780
18795
|
location: "top"
|
|
18781
18796
|
}, {
|
|
18782
|
-
activator:
|
|
18797
|
+
activator: C(({ props: d }) => {
|
|
18783
18798
|
var u, x;
|
|
18784
18799
|
return [
|
|
18785
18800
|
k(p, Y(d, {
|
|
@@ -18791,7 +18806,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18791
18806
|
"min-width": "24",
|
|
18792
18807
|
onClick: t[6] || (t[6] = (v) => r.handleClickFastWeather("wind"))
|
|
18793
18808
|
}), {
|
|
18794
|
-
default:
|
|
18809
|
+
default: C(() => t[18] || (t[18] = [
|
|
18795
18810
|
n("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
|
|
18796
18811
|
])),
|
|
18797
18812
|
_: 2,
|
|
@@ -18805,7 +18820,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18805
18820
|
text: e.$t("weather.sigWaveHeight"),
|
|
18806
18821
|
location: "top"
|
|
18807
18822
|
}, {
|
|
18808
|
-
activator:
|
|
18823
|
+
activator: C(({ props: d }) => {
|
|
18809
18824
|
var u, x;
|
|
18810
18825
|
return [
|
|
18811
18826
|
k(p, Y(d, {
|
|
@@ -18817,7 +18832,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18817
18832
|
"min-width": "24",
|
|
18818
18833
|
onClick: t[7] || (t[7] = (v) => r.handleClickFastWeather("sig-wave-height"))
|
|
18819
18834
|
}), {
|
|
18820
|
-
default:
|
|
18835
|
+
default: C(() => [
|
|
18821
18836
|
n("i", Y(d, { class: "iconfont icon-a-WaveHeight" }), null, 16)
|
|
18822
18837
|
]),
|
|
18823
18838
|
_: 2
|
|
@@ -18830,7 +18845,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18830
18845
|
text: e.$t("weather.currentDirection"),
|
|
18831
18846
|
location: "top"
|
|
18832
18847
|
}, {
|
|
18833
|
-
activator:
|
|
18848
|
+
activator: C(({ props: d }) => {
|
|
18834
18849
|
var u, x;
|
|
18835
18850
|
return [
|
|
18836
18851
|
k(p, Y(d, {
|
|
@@ -18842,7 +18857,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18842
18857
|
"min-width": "24",
|
|
18843
18858
|
onClick: t[8] || (t[8] = (v) => r.handleClickFastWeather("current-direction"))
|
|
18844
18859
|
}), {
|
|
18845
|
-
default:
|
|
18860
|
+
default: C(() => [
|
|
18846
18861
|
n("i", Y(d, { class: "iconfont icon-Current" }), null, 16)
|
|
18847
18862
|
]),
|
|
18848
18863
|
_: 2
|
|
@@ -18855,7 +18870,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18855
18870
|
text: e.$t("weather.weatherLayers"),
|
|
18856
18871
|
location: "top"
|
|
18857
18872
|
}, {
|
|
18858
|
-
activator:
|
|
18873
|
+
activator: C(({ props: d }) => [
|
|
18859
18874
|
k(p, Y(d, {
|
|
18860
18875
|
class: "pa-1 d-flex",
|
|
18861
18876
|
variant: "text",
|
|
@@ -18864,7 +18879,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18864
18879
|
"min-width": "24",
|
|
18865
18880
|
onClick: r.handleClickFastMore
|
|
18866
18881
|
}), {
|
|
18867
|
-
default:
|
|
18882
|
+
default: C(() => [
|
|
18868
18883
|
n("i", Y(d, { class: "iconfont icon-dots-align" }), null, 16)
|
|
18869
18884
|
]),
|
|
18870
18885
|
_: 2
|
|
@@ -18878,7 +18893,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18878
18893
|
class: "mx-2 mr-3 my-3",
|
|
18879
18894
|
style: { height: "16px" }
|
|
18880
18895
|
}),
|
|
18881
|
-
n("div",
|
|
18896
|
+
n("div", z0, [
|
|
18882
18897
|
k(p, {
|
|
18883
18898
|
text: "",
|
|
18884
18899
|
height: "30",
|
|
@@ -18886,7 +18901,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18886
18901
|
color: a.source === "GFS" ? "primary" : "",
|
|
18887
18902
|
onClick: t[9] || (t[9] = (d) => a.source = "GFS")
|
|
18888
18903
|
}, {
|
|
18889
|
-
default:
|
|
18904
|
+
default: C(() => t[19] || (t[19] = [
|
|
18890
18905
|
de("NOAA", -1)
|
|
18891
18906
|
])),
|
|
18892
18907
|
_: 1,
|
|
@@ -18899,7 +18914,7 @@ function C0(e, t, o, i, a, r) {
|
|
|
18899
18914
|
color: a.source === "ECMWF" ? "primary" : "",
|
|
18900
18915
|
onClick: t[10] || (t[10] = (d) => a.source = "ECMWF")
|
|
18901
18916
|
}, {
|
|
18902
|
-
default:
|
|
18917
|
+
default: C(() => t[20] || (t[20] = [
|
|
18903
18918
|
de("ECMWF", -1)
|
|
18904
18919
|
])),
|
|
18905
18920
|
_: 1,
|
|
@@ -18911,14 +18926,14 @@ function C0(e, t, o, i, a, r) {
|
|
|
18911
18926
|
class: "timezone-box d-flex flex-column justify-space-between align-end",
|
|
18912
18927
|
style: ue({ right: a.right + "px" })
|
|
18913
18928
|
}, [
|
|
18914
|
-
a.showTimezone ? (
|
|
18915
|
-
(
|
|
18929
|
+
a.showTimezone ? (P(), I("div", L0, [
|
|
18930
|
+
(P(!0), I(Ie, null, De(a.offsets, (d) => (P(), I("div", {
|
|
18916
18931
|
key: d,
|
|
18917
18932
|
class: "item rounded text-body-2 hover-active",
|
|
18918
18933
|
onClick: (u) => a.timeZone = d
|
|
18919
|
-
}, b(d < 0 ? d : "+" + d), 9,
|
|
18934
|
+
}, b(d < 0 ? d : "+" + d), 9, P0))), 128))
|
|
18920
18935
|
])) : N("", !0),
|
|
18921
|
-
n("div",
|
|
18936
|
+
n("div", C0, [
|
|
18922
18937
|
k(p, {
|
|
18923
18938
|
text: "",
|
|
18924
18939
|
variant: "flat",
|
|
@@ -18927,18 +18942,18 @@ function C0(e, t, o, i, a, r) {
|
|
|
18927
18942
|
color: "primary",
|
|
18928
18943
|
onClick: t[11] || (t[11] = (d) => a.showTimezone = !a.showTimezone)
|
|
18929
18944
|
}, {
|
|
18930
|
-
default:
|
|
18945
|
+
default: C(() => [
|
|
18931
18946
|
de(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
18932
18947
|
]),
|
|
18933
18948
|
_: 1
|
|
18934
18949
|
}),
|
|
18935
|
-
n("span",
|
|
18950
|
+
n("span", M0, b(a.currentRealTime), 1)
|
|
18936
18951
|
])
|
|
18937
18952
|
], 4)
|
|
18938
18953
|
]);
|
|
18939
18954
|
}
|
|
18940
|
-
const
|
|
18941
|
-
const
|
|
18955
|
+
const T0 = /* @__PURE__ */ ne(w0, [["render", S0]]);
|
|
18956
|
+
const R0 = {
|
|
18942
18957
|
name: "IdmTimePlayer",
|
|
18943
18958
|
components: { DateTimePicker: ta },
|
|
18944
18959
|
props: {
|
|
@@ -19046,14 +19061,14 @@ const S0 = {
|
|
|
19046
19061
|
this.step = Math.floor(t / this.frequency), this.animation = requestAnimationFrame(this.animateSpeeds);
|
|
19047
19062
|
}
|
|
19048
19063
|
}
|
|
19049
|
-
},
|
|
19050
|
-
function
|
|
19064
|
+
}, I0 = { class: "w-100 timeline-box d-flex justify-space-around align-center rounded px-2" };
|
|
19065
|
+
function D0(e, t, o, i, a, r) {
|
|
19051
19066
|
const l = T("VBtn"), c = T("DateTimePicker");
|
|
19052
|
-
return
|
|
19067
|
+
return P(), I("div", {
|
|
19053
19068
|
class: "idm-time-player-gl4 d-flex justify-center align-center",
|
|
19054
19069
|
style: ue({ bottom: Object.values(a.show).includes(!0) ? o.playerBottom + "px" : "-100px" })
|
|
19055
19070
|
}, [
|
|
19056
|
-
n("div",
|
|
19071
|
+
n("div", I0, [
|
|
19057
19072
|
k(l, {
|
|
19058
19073
|
size: "small",
|
|
19059
19074
|
density: "compact",
|
|
@@ -19063,7 +19078,7 @@ function R0(e, t, o, i, a, r) {
|
|
|
19063
19078
|
height: "30",
|
|
19064
19079
|
onClick: r.handleReset
|
|
19065
19080
|
}, {
|
|
19066
|
-
default:
|
|
19081
|
+
default: C(() => t[4] || (t[4] = [
|
|
19067
19082
|
n("i", { class: "iconfont icon-Reset" }, null, -1)
|
|
19068
19083
|
])),
|
|
19069
19084
|
_: 1,
|
|
@@ -19078,7 +19093,7 @@ function R0(e, t, o, i, a, r) {
|
|
|
19078
19093
|
height: "30",
|
|
19079
19094
|
onClick: r.handleBackward
|
|
19080
19095
|
}, {
|
|
19081
|
-
default:
|
|
19096
|
+
default: C(() => t[5] || (t[5] = [
|
|
19082
19097
|
n("i", { class: "iconfont icon-Backward" }, null, -1)
|
|
19083
19098
|
])),
|
|
19084
19099
|
_: 1,
|
|
@@ -19106,13 +19121,13 @@ function R0(e, t, o, i, a, r) {
|
|
|
19106
19121
|
height: "30",
|
|
19107
19122
|
onClick: r.handleForward
|
|
19108
19123
|
}, {
|
|
19109
|
-
default:
|
|
19124
|
+
default: C(() => t[6] || (t[6] = [
|
|
19110
19125
|
n("i", { class: "iconfont icon-Forward" }, null, -1)
|
|
19111
19126
|
])),
|
|
19112
19127
|
_: 1,
|
|
19113
19128
|
__: [6]
|
|
19114
19129
|
}, 8, ["onClick"]),
|
|
19115
|
-
a.paused ? (
|
|
19130
|
+
a.paused ? (P(), B(l, {
|
|
19116
19131
|
key: 0,
|
|
19117
19132
|
size: "small",
|
|
19118
19133
|
density: "compact",
|
|
@@ -19122,12 +19137,12 @@ function R0(e, t, o, i, a, r) {
|
|
|
19122
19137
|
height: "30",
|
|
19123
19138
|
onClick: r.handlePlay
|
|
19124
19139
|
}, {
|
|
19125
|
-
default:
|
|
19140
|
+
default: C(() => t[7] || (t[7] = [
|
|
19126
19141
|
n("i", { class: "iconfont icon-Play" }, null, -1)
|
|
19127
19142
|
])),
|
|
19128
19143
|
_: 1,
|
|
19129
19144
|
__: [7]
|
|
19130
|
-
}, 8, ["onClick"])) : (
|
|
19145
|
+
}, 8, ["onClick"])) : (P(), B(l, {
|
|
19131
19146
|
key: 1,
|
|
19132
19147
|
size: "small",
|
|
19133
19148
|
density: "compact",
|
|
@@ -19137,7 +19152,7 @@ function R0(e, t, o, i, a, r) {
|
|
|
19137
19152
|
height: "30",
|
|
19138
19153
|
onClick: r.handlePause
|
|
19139
19154
|
}, {
|
|
19140
|
-
default:
|
|
19155
|
+
default: C(() => t[8] || (t[8] = [
|
|
19141
19156
|
n("i", { class: "iconfont icon-Pause" }, null, -1)
|
|
19142
19157
|
])),
|
|
19143
19158
|
_: 1,
|
|
@@ -19146,7 +19161,7 @@ function R0(e, t, o, i, a, r) {
|
|
|
19146
19161
|
])
|
|
19147
19162
|
], 4);
|
|
19148
19163
|
}
|
|
19149
|
-
const kr = /* @__PURE__ */ ne(
|
|
19164
|
+
const kr = /* @__PURE__ */ ne(R0, [["render", D0]]), A0 = {
|
|
19150
19165
|
name: "IdmGL4",
|
|
19151
19166
|
components: {
|
|
19152
19167
|
IdmOtherLayer: Fs,
|
|
@@ -19154,7 +19169,7 @@ const kr = /* @__PURE__ */ ne(S0, [["render", R0]]), I0 = {
|
|
|
19154
19169
|
IdmTropicals: or,
|
|
19155
19170
|
IdmMeasure: Ru,
|
|
19156
19171
|
IdmSpot: Cu,
|
|
19157
|
-
IdmBottomBar:
|
|
19172
|
+
IdmBottomBar: T0,
|
|
19158
19173
|
IdmTimePlayer: kr
|
|
19159
19174
|
},
|
|
19160
19175
|
props: {
|
|
@@ -19211,13 +19226,13 @@ const kr = /* @__PURE__ */ ne(S0, [["render", R0]]), I0 = {
|
|
|
19211
19226
|
}
|
|
19212
19227
|
},
|
|
19213
19228
|
methods: {}
|
|
19214
|
-
},
|
|
19229
|
+
}, G0 = {
|
|
19215
19230
|
ref: "mapHomeGl4",
|
|
19216
19231
|
class: "map-gl4-home"
|
|
19217
19232
|
};
|
|
19218
|
-
function
|
|
19233
|
+
function W0(e, t, o, i, a, r) {
|
|
19219
19234
|
const l = T("IdmOtherLayer"), c = T("IdmWeatherLayer"), s = T("IdmTropicals"), h = T("IdmMeasure"), m = T("IdmSpot"), g = T("IdmBottomBar"), p = T("IdmTimePlayer");
|
|
19220
|
-
return
|
|
19235
|
+
return P(), I("div", G0, [
|
|
19221
19236
|
k(l, Y({
|
|
19222
19237
|
ref: "idmOtherLayers",
|
|
19223
19238
|
simple: o.simple,
|
|
@@ -19281,7 +19296,7 @@ function A0(e, t, o, i, a, r) {
|
|
|
19281
19296
|
"forecast-model": o.forecastModel,
|
|
19282
19297
|
"map-feather": o.mapFeather
|
|
19283
19298
|
}, e.$attrs), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "forecast-model", "map-feather"]),
|
|
19284
|
-
o.simple ? N("", !0) : (
|
|
19299
|
+
o.simple ? N("", !0) : (P(), B(g, Y({
|
|
19285
19300
|
key: 0,
|
|
19286
19301
|
ref: "idmBottomBar",
|
|
19287
19302
|
"forecast-model": o.forecastModel,
|
|
@@ -19291,7 +19306,7 @@ function A0(e, t, o, i, a, r) {
|
|
|
19291
19306
|
"default-meteo-token": a.defaultMeteoToken,
|
|
19292
19307
|
token: o.token
|
|
19293
19308
|
}, e.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather", "gateway", "default-meteo-token", "token"])),
|
|
19294
|
-
o.simple ? (
|
|
19309
|
+
o.simple ? (P(), B(p, Y({
|
|
19295
19310
|
key: 1,
|
|
19296
19311
|
ref: "idmBottomBar",
|
|
19297
19312
|
playerBottom: a.playerBottom,
|
|
@@ -19301,8 +19316,8 @@ function A0(e, t, o, i, a, r) {
|
|
|
19301
19316
|
}, e.$attrs), null, 16, ["playerBottom", "bgClass", "weather-check-list", "map-feather"])) : N("", !0)
|
|
19302
19317
|
], 512);
|
|
19303
19318
|
}
|
|
19304
|
-
const
|
|
19305
|
-
class
|
|
19319
|
+
const F0 = /* @__PURE__ */ ne(A0, [["render", W0]]);
|
|
19320
|
+
class N0 {
|
|
19306
19321
|
constructor(t = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
19307
19322
|
we(this, "originStyle");
|
|
19308
19323
|
we(this, "mapboxStyle");
|
|
@@ -19310,7 +19325,7 @@ class W0 {
|
|
|
19310
19325
|
we(this, "hi");
|
|
19311
19326
|
we(this, "td");
|
|
19312
19327
|
we(this, "windy");
|
|
19313
|
-
var o, i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he,
|
|
19328
|
+
var o, i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, _, S, z, M, R, W, F, E, V, J, Q, ee, he, D, H, U, te, j, O, $, A, ie, ge, xe, ke, se, fe, ve, Se, K, me, Xe, Ne, Pe, Te, oe, Ce, pe, ye, Ee, He, Ve, X, be, Re, Oe, je, q, Be, re, tt, ot, at, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Bt, Zt, Et, Ot, jt, Xt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo, xa, va, ka, _a, za, La, Pa, Ca, Ma, Sa, Ta, Ra, Ia, Da, Aa, Ga, Wa, Fa, Na, Ba, Za, Ea, Oa, ja, Xa, Va, Ha, Ya, Ua, Ja, Ka, $a, qa, Qa, ei, ti, oi, ai, ii, ri, li, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, xi, vi, ki, _i, zi, Li, Pi, Ci, Mi, Si, Ti, Ri;
|
|
19314
19329
|
this.i4 = {
|
|
19315
19330
|
source: {
|
|
19316
19331
|
type: "raster",
|
|
@@ -37966,7 +37981,7 @@ class W0 {
|
|
|
37966
37981
|
(E = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : E.find((L) => L.id === "water-line-label"),
|
|
37967
37982
|
(J = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : J.find((L) => L.id === "water-point-label"),
|
|
37968
37983
|
(ee = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : ee.find((L) => L.id === "world-12nm-v4-20231025"),
|
|
37969
|
-
(
|
|
37984
|
+
(D = (he = this.originStyle) == null ? void 0 : he.light.layers) == null ? void 0 : D.find((L) => L.id === "ne-10m-outline"),
|
|
37970
37985
|
(U = (H = this.originStyle) == null ? void 0 : H.light.layers) == null ? void 0 : U.find((L) => L.id === "ne-10m-label"),
|
|
37971
37986
|
(j = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : j.find((L) => L.id === "china-route-line"),
|
|
37972
37987
|
($ = (O = this.originStyle) == null ? void 0 : O.light.layers) == null ? void 0 : $.find((L) => L.id === "china-route-fill"),
|
|
@@ -38167,7 +38182,7 @@ class W0 {
|
|
|
38167
38182
|
};
|
|
38168
38183
|
}
|
|
38169
38184
|
}
|
|
38170
|
-
const
|
|
38185
|
+
const B0 = {
|
|
38171
38186
|
name: "MapInitial",
|
|
38172
38187
|
props: {
|
|
38173
38188
|
token: {
|
|
@@ -38240,7 +38255,7 @@ const F0 = {
|
|
|
38240
38255
|
},
|
|
38241
38256
|
methods: {
|
|
38242
38257
|
async initOnlineMap() {
|
|
38243
|
-
this.helper = new
|
|
38258
|
+
this.helper = new N0(this.token), Ae.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
|
|
38244
38259
|
const e = new Ae.Map({
|
|
38245
38260
|
container: "map",
|
|
38246
38261
|
// style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
|
|
@@ -38283,23 +38298,23 @@ const F0 = {
|
|
|
38283
38298
|
this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (e = this.map) == null || e.flyTo({ zoom: this.zoom, duration: 500 }));
|
|
38284
38299
|
}
|
|
38285
38300
|
}
|
|
38286
|
-
},
|
|
38301
|
+
}, Z0 = { class: "v-btn--variant-elevated rounded" }, E0 = { class: "v-btn--variant-elevated rounded" }, O0 = { class: "zoom" }, j0 = {
|
|
38287
38302
|
key: 2,
|
|
38288
38303
|
class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70"
|
|
38289
38304
|
};
|
|
38290
|
-
function
|
|
38305
|
+
function X0(e, t, o, i, a, r) {
|
|
38291
38306
|
const l = T("VBtn");
|
|
38292
|
-
return
|
|
38307
|
+
return P(), I("div", {
|
|
38293
38308
|
class: "mapbox-initial-gl4",
|
|
38294
38309
|
style: ue({ height: o.height, width: o.width })
|
|
38295
38310
|
}, [
|
|
38296
38311
|
t[6] || (t[6] = n("div", { id: "map" }, null, -1)),
|
|
38297
|
-
o.simple ? (
|
|
38312
|
+
o.simple ? (P(), I("div", {
|
|
38298
38313
|
key: 0,
|
|
38299
38314
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column pa-1 simple",
|
|
38300
38315
|
style: ue({ top: o.top + 254 + "px", right: a.right + "px", height: "40px" })
|
|
38301
38316
|
}, [
|
|
38302
|
-
n("div",
|
|
38317
|
+
n("div", Z0, [
|
|
38303
38318
|
k(l, {
|
|
38304
38319
|
"min-width": "32",
|
|
38305
38320
|
width: "32",
|
|
@@ -38307,7 +38322,7 @@ function O0(e, t, o, i, a, r) {
|
|
|
38307
38322
|
class: "pa-0 elevation-0",
|
|
38308
38323
|
onClick: r.initOnlineMap
|
|
38309
38324
|
}, {
|
|
38310
|
-
default:
|
|
38325
|
+
default: C(() => t[0] || (t[0] = [
|
|
38311
38326
|
n("i", { class: "iconfont icon-shuaxin text-h4" }, null, -1)
|
|
38312
38327
|
])),
|
|
38313
38328
|
_: 1,
|
|
@@ -38315,12 +38330,12 @@ function O0(e, t, o, i, a, r) {
|
|
|
38315
38330
|
}, 8, ["onClick"])
|
|
38316
38331
|
])
|
|
38317
38332
|
], 4)) : N("", !0),
|
|
38318
|
-
o.simple ? N("", !0) : (
|
|
38333
|
+
o.simple ? N("", !0) : (P(), I("div", {
|
|
38319
38334
|
key: 1,
|
|
38320
38335
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
38321
38336
|
style: ue({ top: o.top + 268 + "px", right: a.right + "px", height: "112px" })
|
|
38322
38337
|
}, [
|
|
38323
|
-
n("div",
|
|
38338
|
+
n("div", E0, [
|
|
38324
38339
|
k(l, {
|
|
38325
38340
|
"min-width": "32",
|
|
38326
38341
|
width: "32",
|
|
@@ -38328,13 +38343,13 @@ function O0(e, t, o, i, a, r) {
|
|
|
38328
38343
|
class: "pa-0 elevation-0",
|
|
38329
38344
|
onClick: r.handleZoomIn
|
|
38330
38345
|
}, {
|
|
38331
|
-
default:
|
|
38346
|
+
default: C(() => t[1] || (t[1] = [
|
|
38332
38347
|
n("i", { class: "iconfont icon-a-Zoomin text-h4" }, null, -1)
|
|
38333
38348
|
])),
|
|
38334
38349
|
_: 1,
|
|
38335
38350
|
__: [1]
|
|
38336
38351
|
}, 8, ["onClick"]),
|
|
38337
|
-
n("div",
|
|
38352
|
+
n("div", O0, b(a.zoom ? Math.floor(a.zoom) : 0), 1),
|
|
38338
38353
|
k(l, {
|
|
38339
38354
|
"min-width": "32",
|
|
38340
38355
|
width: "32",
|
|
@@ -38342,7 +38357,7 @@ function O0(e, t, o, i, a, r) {
|
|
|
38342
38357
|
class: "elevation-0 pa-0",
|
|
38343
38358
|
onClick: r.handleZoomOut
|
|
38344
38359
|
}, {
|
|
38345
|
-
default:
|
|
38360
|
+
default: C(() => t[2] || (t[2] = [
|
|
38346
38361
|
n("i", { class: "iconfont icon-a-Zoomout text-h4" }, null, -1)
|
|
38347
38362
|
])),
|
|
38348
38363
|
_: 1,
|
|
@@ -38350,7 +38365,7 @@ function O0(e, t, o, i, a, r) {
|
|
|
38350
38365
|
}, 8, ["onClick"])
|
|
38351
38366
|
])
|
|
38352
38367
|
], 4)),
|
|
38353
|
-
o.simple ? N("", !0) : (
|
|
38368
|
+
o.simple ? N("", !0) : (P(), I("div", j0, [
|
|
38354
38369
|
t[3] || (t[3] = n("span", null, "© 2023", -1)),
|
|
38355
38370
|
n("span", null, "-" + b(r.computeYear), 1),
|
|
38356
38371
|
t[4] || (t[4] = n("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
|
|
@@ -38362,25 +38377,25 @@ function O0(e, t, o, i, a, r) {
|
|
|
38362
38377
|
]))
|
|
38363
38378
|
], 4);
|
|
38364
38379
|
}
|
|
38365
|
-
const
|
|
38380
|
+
const V0 = /* @__PURE__ */ ne(B0, [["render", X0]]), rf = {
|
|
38366
38381
|
install(e) {
|
|
38367
|
-
e.component("MapInitial",
|
|
38382
|
+
e.component("MapInitial", V0), e.component("MapboxGL", F0), e.component("TropicalGL", or), e.component("LatLngGL", tr), e.component("DateTimePicker", ta), e.component("DateRangePicker", ar), e.component("PortDetail", ga), e.component("TimePlayer", kr);
|
|
38368
38383
|
}
|
|
38369
38384
|
};
|
|
38370
38385
|
export {
|
|
38371
38386
|
ta as D,
|
|
38372
38387
|
tr as L,
|
|
38373
|
-
|
|
38388
|
+
rf as M,
|
|
38374
38389
|
ga as P,
|
|
38375
38390
|
or as T,
|
|
38376
38391
|
fa as V,
|
|
38377
38392
|
Ye as W,
|
|
38378
|
-
|
|
38379
|
-
|
|
38393
|
+
V0 as a,
|
|
38394
|
+
F0 as b,
|
|
38380
38395
|
ar as c,
|
|
38381
38396
|
kr as d,
|
|
38382
38397
|
Le as e,
|
|
38383
38398
|
We as f,
|
|
38384
|
-
|
|
38399
|
+
N0 as g,
|
|
38385
38400
|
Zo as l
|
|
38386
38401
|
};
|