@idmwx/idmui-gl4 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +498 -499
- package/dist/index.umd.cjs +7 -7
- package/dist/mapbox/src/components/other/tideStations.vue.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,9 +3,9 @@ var Xa = (t, e, o) => e in t ? qa(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var se = (t, e, o) => (Xa(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Se from "axios";
|
|
5
5
|
import { useTheme as Le } from "vuetify";
|
|
6
|
-
import { openBlock as y, createElementBlock as M, resolveComponent as x, withDirectives as He, createBlock as B, withCtx as u, createVNode as d, withModifiers as io, createElementVNode as l, vShow as
|
|
6
|
+
import { openBlock as y, createElementBlock as M, resolveComponent as x, withDirectives as He, createBlock as B, withCtx as u, createVNode as d, withModifiers as io, createElementVNode as l, vShow as We, toDisplayString as b, Fragment as be, renderList as we, createTextVNode as U, createCommentVNode as E, normalizeStyle as ae, mergeProps as j, normalizeClass as Ue } from "vue";
|
|
7
7
|
import xe from "mapbox-gl";
|
|
8
|
-
import { LngLatHelper as K, TropicalHelper as
|
|
8
|
+
import { LngLatHelper as K, TropicalHelper as Ua, LaneHelper as Fe } from "@idm-plugin/geo";
|
|
9
9
|
import I from "moment";
|
|
10
10
|
import { TidesAssist as Ka, Meteo2Assist as ao } from "@idm-plugin/meteo";
|
|
11
11
|
import * as Ga from "echarts";
|
|
@@ -527,7 +527,7 @@ function di(t, e, o, i, a, r) {
|
|
|
527
527
|
]),
|
|
528
528
|
_: 1
|
|
529
529
|
}, 512)), [
|
|
530
|
-
[
|
|
530
|
+
[We, a.showZone]
|
|
531
531
|
]);
|
|
532
532
|
}
|
|
533
533
|
const hi = /* @__PURE__ */ V(ci, [["render", di]]);
|
|
@@ -665,7 +665,7 @@ function yi(t, e, o, i, a, r) {
|
|
|
665
665
|
]),
|
|
666
666
|
_: 1
|
|
667
667
|
}, 512)), [
|
|
668
|
-
[
|
|
668
|
+
[We, a.showInfo]
|
|
669
669
|
]);
|
|
670
670
|
}
|
|
671
671
|
const bi = /* @__PURE__ */ V(pi, [["render", yi], ["__scopeId", "data-v-61def159"]]), wi = {
|
|
@@ -1282,8 +1282,8 @@ const Ni = /* @__PURE__ */ V(Ei, [["render", ji]]), Fi = {
|
|
|
1282
1282
|
function Hi(t, e, o, i, a, r) {
|
|
1283
1283
|
return null;
|
|
1284
1284
|
}
|
|
1285
|
-
const
|
|
1286
|
-
const
|
|
1285
|
+
const Wi = /* @__PURE__ */ V(Fi, [["render", Hi]]);
|
|
1286
|
+
const Ui = {
|
|
1287
1287
|
name: "IdmTideStations",
|
|
1288
1288
|
props: {
|
|
1289
1289
|
map: {
|
|
@@ -1319,6 +1319,7 @@ const Wi = {
|
|
|
1319
1319
|
Theme: Le()
|
|
1320
1320
|
};
|
|
1321
1321
|
},
|
|
1322
|
+
emits: ["closeDetail"],
|
|
1322
1323
|
data() {
|
|
1323
1324
|
return {
|
|
1324
1325
|
layer: "tide-stations",
|
|
@@ -1435,6 +1436,7 @@ const Wi = {
|
|
|
1435
1436
|
this.showInfo = !1, (t = this.map) != null && t.getLayer(this.layer) && this.map.setLayoutProperty(this.layer, "visibility", "none");
|
|
1436
1437
|
},
|
|
1437
1438
|
handleClick(t) {
|
|
1439
|
+
this.$emit("closeDetail");
|
|
1438
1440
|
const e = t.features[0];
|
|
1439
1441
|
e.properties && (this.station = e.properties, this.station.name = this.locale === "en" ? e.properties.Location_EN : e.properties.Location_CN, this.station.lng = e.geometry.coordinates[0], this.station.lat = e.geometry.coordinates[1], this.showDetail = !0, this.fetchTidesData());
|
|
1440
1442
|
},
|
|
@@ -1578,30 +1580,30 @@ const Wi = {
|
|
|
1578
1580
|
this.showDetail = !1;
|
|
1579
1581
|
}
|
|
1580
1582
|
}
|
|
1581
|
-
}, Gi = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, Vi = { class: "d-flex justify-start align-center" }, Zi = { class: "text-label" }, Yi = { class: "d-flex justify-space-between align-center" }, qi = { class: "d-flex justify-start text-h5 my-2" }, Xi = { class: "
|
|
1583
|
+
}, Gi = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, Vi = { class: "d-flex justify-start align-center" }, Zi = { class: "text-label" }, Yi = { class: "d-flex justify-space-between align-center" }, qi = { class: "d-flex justify-start text-h5 my-2" }, Xi = { class: "w-100 flex-1-1-0 px-5 pt-0 pb-0 overflow-y-auto scroll d-flex flex-column justify-start align-center" }, Ki = { class: "summary-box w-100" }, Qi = { class: "d-flex justify-space-between align-center py-2" }, Ji = { class: "d-flex justify-center align-center text-h6 ga-2" }, $i = {
|
|
1582
1584
|
class: "multi-color-icon",
|
|
1583
1585
|
"aria-hidden": "true"
|
|
1584
|
-
},
|
|
1586
|
+
}, er = ["xlink:href"], tr = { class: "gray-card rounded d-flex flex-column ga-4 pa-4" }, or = { class: "w-100 d-flex justify-start align-center" }, ar = { class: "w-30 text-label font-weight-400" }, ir = { class: "flex-1-1-0" }, rr = { class: "w-100 d-flex justify-start align-center" }, lr = { class: "w-30 text-label font-weight-400" }, sr = { class: "flex-1-1-0" }, nr = { class: "w-100 d-flex justify-start align-center" }, cr = { class: "w-30 text-label font-weight-400" }, mr = { class: "flex-1-1-0" }, dr = { class: "table-box w-100 mt-2 mb-4 flex-1-1-0 d-flex flex-column justify-start align-center" }, hr = { class: "w-100 d-flex justify-space-between align-center py-2" }, pr = { class: "d-flex justify-center align-center text-h6 ga-2" }, ur = {
|
|
1585
1587
|
class: "multi-color-icon",
|
|
1586
1588
|
"aria-hidden": "true"
|
|
1587
|
-
},
|
|
1589
|
+
}, gr = ["xlink:href"], fr = { class: "w-100 gray-card rounded pa-4 flex-1-1-0 d-flex flex-column justify-center align-center" }, yr = {
|
|
1588
1590
|
class: "w-100 flex-1-1-0 py-4",
|
|
1589
1591
|
ref: "tideEchart"
|
|
1590
|
-
},
|
|
1592
|
+
}, br = {
|
|
1591
1593
|
"fixed-header": "",
|
|
1592
1594
|
density: "compact",
|
|
1593
1595
|
class: "w-100 tide-table bg-none"
|
|
1594
|
-
},
|
|
1596
|
+
}, wr = {
|
|
1595
1597
|
class: "px-1 text-left text-label font-weight-400",
|
|
1596
1598
|
width: "120"
|
|
1597
|
-
},
|
|
1599
|
+
}, xr = {
|
|
1598
1600
|
class: "px-1 text-left text-label font-weight-400",
|
|
1599
1601
|
width: "120"
|
|
1600
|
-
},
|
|
1602
|
+
}, vr = {
|
|
1601
1603
|
class: "px-1 text-left text-label font-weight-400",
|
|
1602
1604
|
width: "120"
|
|
1603
1605
|
};
|
|
1604
|
-
function
|
|
1606
|
+
function _r(t, e, o, i, a, r) {
|
|
1605
1607
|
const s = x("v-card-text"), n = x("v-card"), c = x("VBtn"), g = x("v-card-title"), p = x("v-divider"), h = x("VBtnToggle");
|
|
1606
1608
|
return y(), M("div", null, [
|
|
1607
1609
|
He(d(n, { id: "idmTidalInfo" }, {
|
|
@@ -1623,7 +1625,7 @@ function kr(t, e, o, i, a, r) {
|
|
|
1623
1625
|
]),
|
|
1624
1626
|
_: 1
|
|
1625
1627
|
}, 512), [
|
|
1626
|
-
[
|
|
1628
|
+
[We, a.showInfo]
|
|
1627
1629
|
]),
|
|
1628
1630
|
a.showDetail ? (y(), B(n, {
|
|
1629
1631
|
key: 0,
|
|
@@ -1634,7 +1636,7 @@ function kr(t, e, o, i, a, r) {
|
|
|
1634
1636
|
return [
|
|
1635
1637
|
d(g, { class: "w-100" }, {
|
|
1636
1638
|
default: u(() => {
|
|
1637
|
-
var w
|
|
1639
|
+
var w;
|
|
1638
1640
|
return [
|
|
1639
1641
|
l("div", Yi, [
|
|
1640
1642
|
l("div", qi, [
|
|
@@ -1645,7 +1647,7 @@ function kr(t, e, o, i, a, r) {
|
|
|
1645
1647
|
density: "compact",
|
|
1646
1648
|
variant: "plain",
|
|
1647
1649
|
class: "mr-n2",
|
|
1648
|
-
onClick: e[0] || (e[0] = (
|
|
1650
|
+
onClick: e[0] || (e[0] = (D) => a.showDetail = !1)
|
|
1649
1651
|
}, {
|
|
1650
1652
|
default: u(() => e[3] || (e[3] = [
|
|
1651
1653
|
l("i", { class: "iconfont icon-close opacity-70 text-h4" }, null, -1)
|
|
@@ -1654,59 +1656,56 @@ function kr(t, e, o, i, a, r) {
|
|
|
1654
1656
|
__: [3]
|
|
1655
1657
|
})
|
|
1656
1658
|
]),
|
|
1657
|
-
l("div",
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
e[4] || (e[4] = l("label", null, "UN/LOCODE: ", -1)),
|
|
1661
|
-
l("span", null, b((A = a.station) == null ? void 0 : A.Code), 1)
|
|
1662
|
-
])
|
|
1663
|
-
])
|
|
1659
|
+
e[4] || (e[4] = l("div", { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, [
|
|
1660
|
+
l("div", null, "tide station")
|
|
1661
|
+
], -1))
|
|
1664
1662
|
];
|
|
1665
1663
|
}),
|
|
1666
|
-
_: 1
|
|
1664
|
+
_: 1,
|
|
1665
|
+
__: [4]
|
|
1667
1666
|
}),
|
|
1668
1667
|
d(p, { class: "w-100" }),
|
|
1669
|
-
l("div",
|
|
1670
|
-
l("div",
|
|
1671
|
-
l("div",
|
|
1672
|
-
l("div",
|
|
1673
|
-
(y(), M("svg",
|
|
1668
|
+
l("div", Xi, [
|
|
1669
|
+
l("div", Ki, [
|
|
1670
|
+
l("div", Qi, [
|
|
1671
|
+
l("div", Ji, [
|
|
1672
|
+
(y(), M("svg", $i, [
|
|
1674
1673
|
l("use", {
|
|
1675
1674
|
"xlink:href": `#icon-title-${o.theme}`
|
|
1676
|
-
}, null, 8,
|
|
1675
|
+
}, null, 8, er)
|
|
1677
1676
|
])),
|
|
1678
|
-
e[
|
|
1677
|
+
e[5] || (e[5] = l("div", null, "Summary", -1))
|
|
1679
1678
|
]),
|
|
1680
|
-
e[
|
|
1679
|
+
e[6] || (e[6] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
|
|
1681
1680
|
]),
|
|
1682
|
-
l("div",
|
|
1683
|
-
l("div",
|
|
1684
|
-
l("div",
|
|
1685
|
-
l("div",
|
|
1681
|
+
l("div", tr, [
|
|
1682
|
+
l("div", or, [
|
|
1683
|
+
l("div", ar, b(t.$t("tide.region")), 1),
|
|
1684
|
+
l("div", ir, b(((f = a.station) == null ? void 0 : f.Country) ?? ((k = a.station) == null ? void 0 : k.city) ?? "-"), 1)
|
|
1686
1685
|
]),
|
|
1687
|
-
l("div",
|
|
1688
|
-
l("div",
|
|
1689
|
-
l("div",
|
|
1686
|
+
l("div", rr, [
|
|
1687
|
+
l("div", lr, b(t.$t("tide.position")), 1),
|
|
1688
|
+
l("div", sr, b(r.computeLng((v = a.station) == null ? void 0 : v.lng) ?? "-") + " , " + b(r.computeLat((T = a.station) == null ? void 0 : T.lat) ?? "-"), 1)
|
|
1690
1689
|
]),
|
|
1691
|
-
l("div",
|
|
1692
|
-
l("div",
|
|
1693
|
-
l("div",
|
|
1690
|
+
l("div", nr, [
|
|
1691
|
+
l("div", cr, b(t.$t("time.localTime")), 1),
|
|
1692
|
+
l("div", mr, b(r.computeLocalTime(o.realTime, a.station) ?? "-"), 1)
|
|
1694
1693
|
])
|
|
1695
1694
|
])
|
|
1696
1695
|
]),
|
|
1697
|
-
l("div",
|
|
1698
|
-
l("div",
|
|
1699
|
-
l("div",
|
|
1700
|
-
(y(), M("svg",
|
|
1696
|
+
l("div", dr, [
|
|
1697
|
+
l("div", hr, [
|
|
1698
|
+
l("div", pr, [
|
|
1699
|
+
(y(), M("svg", ur, [
|
|
1701
1700
|
l("use", {
|
|
1702
1701
|
"xlink:href": `#icon-title-${o.theme}`
|
|
1703
|
-
}, null, 8,
|
|
1702
|
+
}, null, 8, gr)
|
|
1704
1703
|
])),
|
|
1705
|
-
e[
|
|
1704
|
+
e[7] || (e[7] = l("div", null, "Tide Times", -1))
|
|
1706
1705
|
]),
|
|
1707
|
-
e[
|
|
1706
|
+
e[8] || (e[8] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
|
|
1708
1707
|
]),
|
|
1709
|
-
l("div",
|
|
1708
|
+
l("div", fr, [
|
|
1710
1709
|
d(h, {
|
|
1711
1710
|
modelValue: a.currentIndex,
|
|
1712
1711
|
"onUpdate:modelValue": e[1] || (e[1] = (w) => a.currentIndex = w),
|
|
@@ -1726,37 +1725,37 @@ function kr(t, e, o, i, a, r) {
|
|
|
1726
1725
|
value: w.index
|
|
1727
1726
|
}, {
|
|
1728
1727
|
default: u(() => [
|
|
1729
|
-
|
|
1728
|
+
U(b(w.label), 1)
|
|
1730
1729
|
]),
|
|
1731
1730
|
_: 2
|
|
1732
1731
|
}, 1032, ["value"]))), 256))
|
|
1733
1732
|
]),
|
|
1734
1733
|
_: 1
|
|
1735
1734
|
}, 8, ["modelValue"]),
|
|
1736
|
-
l("div",
|
|
1737
|
-
l("table",
|
|
1735
|
+
l("div", yr, null, 512),
|
|
1736
|
+
l("table", br, [
|
|
1738
1737
|
l("tbody", null, [
|
|
1739
1738
|
l("tr", null, [
|
|
1740
|
-
l("th",
|
|
1741
|
-
(y(!0), M(be, null, we(a.tideTableData, (w,
|
|
1739
|
+
l("th", wr, b(t.$t("tide.tide")) + " ( m )", 1),
|
|
1740
|
+
(y(!0), M(be, null, we(a.tideTableData, (w, D) => {
|
|
1742
1741
|
var S;
|
|
1743
1742
|
return y(), M("td", {
|
|
1744
|
-
key: w.type + "-" +
|
|
1743
|
+
key: w.type + "-" + D,
|
|
1745
1744
|
class: "px-1 text-center"
|
|
1746
1745
|
}, b(t.$t(`tide.${(S = w == null ? void 0 : w.type) == null ? void 0 : S.toLowerCase()}`)), 1);
|
|
1747
1746
|
}), 128))
|
|
1748
1747
|
]),
|
|
1749
1748
|
l("tr", null, [
|
|
1750
|
-
l("th",
|
|
1751
|
-
(y(!0), M(be, null, we(a.tideTableData, (w,
|
|
1752
|
-
key: w.date + "-" +
|
|
1749
|
+
l("th", xr, b(t.$t("tide.datum")), 1),
|
|
1750
|
+
(y(!0), M(be, null, we(a.tideTableData, (w, D) => (y(), M("td", {
|
|
1751
|
+
key: w.date + "-" + D,
|
|
1753
1752
|
class: "px-1 text-center"
|
|
1754
1753
|
}, b(r.computeHourLT(w == null ? void 0 : w.date, a.station)) + " LT", 1))), 128))
|
|
1755
1754
|
]),
|
|
1756
1755
|
l("tr", null, [
|
|
1757
|
-
l("th",
|
|
1758
|
-
(y(!0), M(be, null, we(a.tideTableData, (w,
|
|
1759
|
-
key: w.height + "-" +
|
|
1756
|
+
l("th", vr, b(t.$t("tide.chartDatum")), 1),
|
|
1757
|
+
(y(!0), M(be, null, we(a.tideTableData, (w, D) => (y(), M("td", {
|
|
1758
|
+
key: w.height + "-" + D,
|
|
1760
1759
|
class: "px-1 text-center"
|
|
1761
1760
|
}, b((w == null ? void 0 : w.height) ?? "-") + " m", 1))), 128))
|
|
1762
1761
|
])
|
|
@@ -1771,7 +1770,7 @@ function kr(t, e, o, i, a, r) {
|
|
|
1771
1770
|
})) : E("", !0)
|
|
1772
1771
|
]);
|
|
1773
1772
|
}
|
|
1774
|
-
const
|
|
1773
|
+
const kr = /* @__PURE__ */ V(Ui, [["render", _r], ["__scopeId", "data-v-c8a30719"]]), zr = {
|
|
1775
1774
|
name: "IdmIceAreas",
|
|
1776
1775
|
props: {
|
|
1777
1776
|
map: {
|
|
@@ -1808,11 +1807,11 @@ const zr = /* @__PURE__ */ V(Wi, [["render", kr], ["__scopeId", "data-v-8a385a7e
|
|
|
1808
1807
|
}
|
|
1809
1808
|
}
|
|
1810
1809
|
};
|
|
1811
|
-
function
|
|
1810
|
+
function Lr(t, e, o, i, a, r) {
|
|
1812
1811
|
return null;
|
|
1813
1812
|
}
|
|
1814
|
-
const
|
|
1815
|
-
const
|
|
1813
|
+
const Pr = /* @__PURE__ */ V(zr, [["render", Lr]]);
|
|
1814
|
+
const Cr = {
|
|
1816
1815
|
name: "IdmLatLng",
|
|
1817
1816
|
props: {
|
|
1818
1817
|
map: {
|
|
@@ -1982,7 +1981,7 @@ const Tr = {
|
|
|
1982
1981
|
}
|
|
1983
1982
|
}
|
|
1984
1983
|
};
|
|
1985
|
-
function
|
|
1984
|
+
function Tr(t, e, o, i, a, r) {
|
|
1986
1985
|
var s, n, c;
|
|
1987
1986
|
return y(), M("div", {
|
|
1988
1987
|
class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
|
|
@@ -1993,8 +1992,8 @@ function Sr(t, e, o, i, a, r) {
|
|
|
1993
1992
|
l("div", null, b((c = a.lngLat) == null ? void 0 : c.str), 1)
|
|
1994
1993
|
], 4);
|
|
1995
1994
|
}
|
|
1996
|
-
const Za = /* @__PURE__ */ V(
|
|
1997
|
-
const
|
|
1995
|
+
const Za = /* @__PURE__ */ V(Cr, [["render", Tr]]);
|
|
1996
|
+
const Sr = {
|
|
1998
1997
|
name: "IdmFollowPort",
|
|
1999
1998
|
props: {
|
|
2000
1999
|
map: {
|
|
@@ -2905,8 +2904,8 @@ const Mr = {
|
|
|
2905
2904
|
this.showInfo = !1, this.map.getCanvas().style.cursor = "grab";
|
|
2906
2905
|
}
|
|
2907
2906
|
}
|
|
2908
|
-
},
|
|
2909
|
-
function
|
|
2907
|
+
}, Mr = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Ir = { class: "d-flex justify-start align-center text-label" }, Ar = { class: "d-flex justify-start align-center text-label" };
|
|
2908
|
+
function Dr(t, e, o, i, a, r) {
|
|
2910
2909
|
const s = x("v-card-text"), n = x("v-card");
|
|
2911
2910
|
return He((y(), B(n, {
|
|
2912
2911
|
id: "idmFollowPortInfo",
|
|
@@ -2915,12 +2914,12 @@ function Rr(t, e, o, i, a, r) {
|
|
|
2915
2914
|
default: u(() => [
|
|
2916
2915
|
d(s, { class: "text-body-1 pr-8" }, {
|
|
2917
2916
|
default: u(() => [
|
|
2918
|
-
l("div",
|
|
2917
|
+
l("div", Mr, [
|
|
2919
2918
|
e[1] || (e[1] = l("div", null, "port", -1)),
|
|
2920
|
-
l("div",
|
|
2919
|
+
l("div", Ir, [
|
|
2921
2920
|
l("span", null, b(a.port.name ?? "-"), 1)
|
|
2922
2921
|
]),
|
|
2923
|
-
l("div",
|
|
2922
|
+
l("div", Ar, [
|
|
2924
2923
|
e[0] || (e[0] = l("label", { class: "pr-1" }, "LoCode : ", -1)),
|
|
2925
2924
|
l("span", null, b(a.port.loCode ?? "-"), 1)
|
|
2926
2925
|
])
|
|
@@ -2931,10 +2930,10 @@ function Rr(t, e, o, i, a, r) {
|
|
|
2931
2930
|
]),
|
|
2932
2931
|
_: 1
|
|
2933
2932
|
}, 512)), [
|
|
2934
|
-
[
|
|
2933
|
+
[We, a.showInfo]
|
|
2935
2934
|
]);
|
|
2936
2935
|
}
|
|
2937
|
-
const
|
|
2936
|
+
const Rr = /* @__PURE__ */ V(Sr, [["render", Dr], ["__scopeId", "data-v-de5a1fa3"]]), Or = {
|
|
2938
2937
|
name: "IdmFollowPosition",
|
|
2939
2938
|
props: {
|
|
2940
2939
|
map: {
|
|
@@ -3841,11 +3840,11 @@ const Or = /* @__PURE__ */ V(Mr, [["render", Rr], ["__scopeId", "data-v-de5a1fa3
|
|
|
3841
3840
|
}
|
|
3842
3841
|
}
|
|
3843
3842
|
};
|
|
3844
|
-
function
|
|
3843
|
+
function Br(t, e, o, i, a, r) {
|
|
3845
3844
|
return null;
|
|
3846
3845
|
}
|
|
3847
|
-
const
|
|
3848
|
-
const
|
|
3846
|
+
const Er = /* @__PURE__ */ V(Or, [["render", Br]]);
|
|
3847
|
+
const jr = {
|
|
3849
3848
|
name: "IdmOtherLayerr",
|
|
3850
3849
|
components: {
|
|
3851
3850
|
IdmWarZone: oi,
|
|
@@ -3860,12 +3859,12 @@ const Nr = {
|
|
|
3860
3859
|
IdmTerminator: Di,
|
|
3861
3860
|
IdmWorld12nm: Bi,
|
|
3862
3861
|
IdmWorldMarine: Ni,
|
|
3863
|
-
IdmChinaRoute:
|
|
3864
|
-
IdmTideStations:
|
|
3865
|
-
IdmIceAreas:
|
|
3862
|
+
IdmChinaRoute: Wi,
|
|
3863
|
+
IdmTideStations: kr,
|
|
3864
|
+
IdmIceAreas: Pr,
|
|
3866
3865
|
IdmLatLng: Za,
|
|
3867
|
-
IdmFollowPort:
|
|
3868
|
-
IdmFollowPosition:
|
|
3866
|
+
IdmFollowPort: Rr,
|
|
3867
|
+
IdmFollowPosition: Er
|
|
3869
3868
|
},
|
|
3870
3869
|
props: {
|
|
3871
3870
|
map: {
|
|
@@ -4068,27 +4067,27 @@ const Nr = {
|
|
|
4068
4067
|
this.layerWeight = e, this.fetchOtherLayers({ all: !0 });
|
|
4069
4068
|
}
|
|
4070
4069
|
}
|
|
4071
|
-
},
|
|
4070
|
+
}, Nr = { class: "idm-gl4-other-layer" }, Fr = { class: "header-box d-flex justify-space-between align-center px-4" }, Hr = { class: "text-h5 font-weight-medium" }, Wr = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, Ur = { class: "layers-body mt-4 d-flex justify-start align-center flex-wrap" }, Gr = ["onClick"], Vr = {
|
|
4072
4071
|
key: 0,
|
|
4073
4072
|
src: "https://osshz.idmwx.com/asset/dark-map.png",
|
|
4074
4073
|
class: "border rounded-sm"
|
|
4075
|
-
},
|
|
4074
|
+
}, Zr = {
|
|
4076
4075
|
key: 1,
|
|
4077
4076
|
src: "https://osshz.idmwx.com/asset/nautical-map.png",
|
|
4078
4077
|
class: "border rounded-sm"
|
|
4079
|
-
},
|
|
4078
|
+
}, Yr = {
|
|
4080
4079
|
key: 2,
|
|
4081
4080
|
src: "https://osshz.idmwx.com/asset/satellite-map.png",
|
|
4082
4081
|
class: "border rounded-sm"
|
|
4083
|
-
},
|
|
4082
|
+
}, qr = {
|
|
4084
4083
|
key: 3,
|
|
4085
4084
|
src: "https://osshz.idmwx.com/asset/light-map.png",
|
|
4086
4085
|
class: "border rounded-sm"
|
|
4087
|
-
},
|
|
4088
|
-
function
|
|
4086
|
+
}, Xr = { class: "text-body-2 text-center pt-1" };
|
|
4087
|
+
function Kr(t, e, o, i, a, r) {
|
|
4089
4088
|
var J, le, pe, ue, ce, Q, ie, ge, me;
|
|
4090
|
-
const s = x("VBtn"), n = x("VTooltip"), c = x("VCardTitle"), g = x("VCardItem"), p = x("VCheckbox"), h = x("VCardText"), f = x("VCard"), k = x("IdmLatLng"), v = x("IdmTerminator"), T = x("IdmTimezone"), w = x("IdmPort"),
|
|
4091
|
-
return y(), M("div",
|
|
4089
|
+
const s = x("VBtn"), n = x("VTooltip"), c = x("VCardTitle"), g = x("VCardItem"), p = x("VCheckbox"), h = x("VCardText"), f = x("VCard"), k = x("IdmLatLng"), v = x("IdmTerminator"), T = x("IdmTimezone"), w = x("IdmPort"), D = x("IdmAlertZone"), S = x("IdmTideStations"), P = x("IdmEcaZone"), z = x("IdmWarZone"), L = x("IdmGmdssArea"), C = x("IdmLoadLine"), _ = x("IdmWorldMarine"), A = x("IdmVRA"), Z = x("IdmSpecialArea"), q = x("IdmWorld12nm"), X = x("IdmChinaRoute"), Y = x("IdmIceAreas"), te = x("IdmFollowPort"), oe = x("IdmFollowPosition");
|
|
4090
|
+
return y(), M("div", Nr, [
|
|
4092
4091
|
l("div", {
|
|
4093
4092
|
class: "menu-bar-box transition px-1 rounded",
|
|
4094
4093
|
style: ae({ top: o.top + 10 + "px", right: a.right + "px" })
|
|
@@ -4116,11 +4115,11 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4116
4115
|
}, 8, ["text"])
|
|
4117
4116
|
], 4),
|
|
4118
4117
|
l("div", {
|
|
4119
|
-
class:
|
|
4118
|
+
class: Ue(["available-layers transition", a.toggle ? "right-bar" : ""]),
|
|
4120
4119
|
style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
|
|
4121
4120
|
}, [
|
|
4122
|
-
l("div",
|
|
4123
|
-
l("div",
|
|
4121
|
+
l("div", Fr, [
|
|
4122
|
+
l("div", Hr, b(t.$t("layer.layers")), 1),
|
|
4124
4123
|
d(s, {
|
|
4125
4124
|
icon: "",
|
|
4126
4125
|
density: "compact",
|
|
@@ -4148,7 +4147,7 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4148
4147
|
style: { "font-size": "16px !important" }
|
|
4149
4148
|
}, {
|
|
4150
4149
|
default: u(() => [
|
|
4151
|
-
|
|
4150
|
+
U(b(t.$t("layer.mapFeathers")), 1)
|
|
4152
4151
|
]),
|
|
4153
4152
|
_: 1
|
|
4154
4153
|
})
|
|
@@ -4157,19 +4156,19 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4157
4156
|
}),
|
|
4158
4157
|
d(h, { class: "pb-2" }, {
|
|
4159
4158
|
default: u(() => [
|
|
4160
|
-
l("div",
|
|
4159
|
+
l("div", Ur, [
|
|
4161
4160
|
(y(!0), M(be, null, we(a.mapFeathers, (F) => (y(), M("div", {
|
|
4162
4161
|
key: F.value,
|
|
4163
4162
|
class: "mb-2 feather-item",
|
|
4164
4163
|
onClick: (de) => r.handleToggleMapFeather(F)
|
|
4165
4164
|
}, [
|
|
4166
4165
|
l("div", {
|
|
4167
|
-
class:
|
|
4166
|
+
class: Ue([a.mapFeather === F.value ? "active" : "", "img-box"])
|
|
4168
4167
|
}, [
|
|
4169
|
-
F.value === "dark" ? (y(), M("img",
|
|
4168
|
+
F.value === "dark" ? (y(), M("img", Vr)) : F.value === "nautical" ? (y(), M("img", Zr)) : F.value === "satellite" ? (y(), M("img", Yr)) : (y(), M("img", qr))
|
|
4170
4169
|
], 2),
|
|
4171
|
-
l("div",
|
|
4172
|
-
], 8,
|
|
4170
|
+
l("div", Xr, b(t.$t(`layer.${F.locale}`)), 1)
|
|
4171
|
+
], 8, Gr))), 128))
|
|
4173
4172
|
]),
|
|
4174
4173
|
(y(!0), M(be, null, we(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (y(), B(p, {
|
|
4175
4174
|
key: F.key,
|
|
@@ -4201,7 +4200,7 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4201
4200
|
style: { "font-size": "16px !important" }
|
|
4202
4201
|
}, {
|
|
4203
4202
|
default: u(() => [
|
|
4204
|
-
|
|
4203
|
+
U(b(t.$t("layer.pointsOfInteresting")), 1)
|
|
4205
4204
|
]),
|
|
4206
4205
|
_: 1
|
|
4207
4206
|
})
|
|
@@ -4240,7 +4239,7 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4240
4239
|
style: { "font-size": "16px !important" }
|
|
4241
4240
|
}, {
|
|
4242
4241
|
default: u(() => [
|
|
4243
|
-
|
|
4242
|
+
U(b(t.$t("layer.otherLayers")), 1)
|
|
4244
4243
|
]),
|
|
4245
4244
|
_: 1
|
|
4246
4245
|
})
|
|
@@ -4279,7 +4278,7 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4279
4278
|
style: { "font-size": "16px !important" }
|
|
4280
4279
|
}, {
|
|
4281
4280
|
default: u(() => [
|
|
4282
|
-
|
|
4281
|
+
U(b(t.$t("layer.myFollows")), 1)
|
|
4283
4282
|
]),
|
|
4284
4283
|
_: 1
|
|
4285
4284
|
})
|
|
@@ -4340,7 +4339,7 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4340
4339
|
ports: (pe = a.otherLayers) == null ? void 0 : pe.ports,
|
|
4341
4340
|
"forecast-model": o.forecastModel
|
|
4342
4341
|
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "ports", "forecast-model"])) : E("", !0),
|
|
4343
|
-
o.map ? (y(), B(
|
|
4342
|
+
o.map ? (y(), B(D, j({
|
|
4344
4343
|
key: 4,
|
|
4345
4344
|
map: o.map,
|
|
4346
4345
|
zone: (ue = a.otherLayers) == null ? void 0 : ue["alert-zones"]
|
|
@@ -4385,7 +4384,7 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4385
4384
|
token: o.token,
|
|
4386
4385
|
show: a.checkList.includes("worldMarine")
|
|
4387
4386
|
}, t.$attrs), null, 16, ["map", "token", "show"])) : E("", !0),
|
|
4388
|
-
o.map ? (y(), B(
|
|
4387
|
+
o.map ? (y(), B(A, j({
|
|
4389
4388
|
key: 11,
|
|
4390
4389
|
map: o.map,
|
|
4391
4390
|
area: (ge = a.otherLayers) == null ? void 0 : ge["voluntary-reporting-area"]
|
|
@@ -4427,7 +4426,7 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4427
4426
|
}, t.$attrs), null, 16, ["map", "show", "forecast-model", "realTime"])) : E("", !0)
|
|
4428
4427
|
]);
|
|
4429
4428
|
}
|
|
4430
|
-
const
|
|
4429
|
+
const Qr = /* @__PURE__ */ V(jr, [["render", Kr]]);
|
|
4431
4430
|
class ro {
|
|
4432
4431
|
constructor(e) {
|
|
4433
4432
|
se(this, "map");
|
|
@@ -4664,7 +4663,7 @@ class Ne {
|
|
|
4664
4663
|
p.resolution && o.uniform2f(p.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), p.image && o.uniform1i(p.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), p.color && o.uniform1i(p.color, 1), n != null && n.uvRange && (n != null && n.sRange) && (p.uvRange && o.uniform2f(p.uvRange, n.uvRange[0], n.uvRange[1]), p.sRange && o.uniform2f(p.sRange, n.sRange[0], n.sRange[1])), p.scale && o.uniform1f(p.scale, (n == null ? void 0 : n.scale) || 1);
|
|
4665
4664
|
const h = e.getBoundPixel(), f = e.map.getZoom() + 1, k = e.getWorldCopy(h, f);
|
|
4666
4665
|
for (const v of k) {
|
|
4667
|
-
const T = (v[0] - h[0]) * e.ratio, w = (v[1] - h[3]) * e.ratio,
|
|
4666
|
+
const T = (v[0] - h[0]) * e.ratio, w = (v[1] - h[3]) * e.ratio, D = v[2] * e.ratio, [S, P, z, L] = [T, D + T, w, D + w], C = new Float32Array([S, z, P, z, S, L, S, L, P, z, P, L]);
|
|
4668
4667
|
o.bindBuffer(o.ARRAY_BUFFER, s), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
|
|
4669
4668
|
}
|
|
4670
4669
|
} catch (p) {
|
|
@@ -4911,7 +4910,7 @@ se(_e, "vertexSchema", `
|
|
|
4911
4910
|
fract(pos * 255.0),
|
|
4912
4911
|
floor(pos * 255.0) / 255.0);
|
|
4913
4912
|
}`);
|
|
4914
|
-
const
|
|
4913
|
+
const Jr = {
|
|
4915
4914
|
"000kts": '<svg t="1756203850656" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4213" width="200" height="200"><path d="M729.6 512a217.6 217.6 0 1 0-217.6 217.6v59.733333a277.333333 277.333333 0 1 1 0-554.666666 277.333333 277.333333 0 0 1 0 554.666666v-59.733333a217.6 217.6 0 0 0 217.6-217.6z" fill="#ffffff" p-id="4214"></path><path d="M558.933333 512a46.933333 46.933333 0 1 0-46.933333 46.933333v59.733334a106.666667 106.666667 0 1 1 0-213.333334 106.666667 106.666667 0 0 1 0 213.333334v-59.733334a46.933333 46.933333 0 0 0 46.933333-46.933333z" fill="#ffffff" p-id="4215"></path></svg>',
|
|
4916
4915
|
"002kts": '<svg t="1756203870666" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4371" width="200" height="200"><path d="M511.975255 4.26646a29.865223 29.865223 0 0 1 29.865223 29.865224v897.791273l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684a29.865223 29.865223 0 0 1 29.865224-29.865224z" fill="#ffffff" p-id="4372"></path></svg>',
|
|
4917
4916
|
"005kts": '<svg t="1756203883896" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4528" width="200" height="200"><path d="M511.825979 4.265216a29.856515 29.856515 0 0 1 29.856516 29.856516v102.706413l145.443882-97.673458a29.856515 29.856515 0 0 1 33.268689 49.604468l-174.873877 117.378758c-1.194261 0.853043-2.55913 1.364869-3.838694 2.004652v723.508674l58.1349-46.49086a29.899168 29.899168 0 0 1 37.277993 46.70412l-106.630413 85.30433a29.856515 29.856515 0 0 1-37.277992 0l-106.630412-85.30433a29.856515 29.856515 0 0 1 37.277992-46.661468l58.134901 46.448208V34.121732a29.856515 29.856515 0 0 1 29.856515-29.856516z" fill="#ffffff" p-id="4529"></path></svg>',
|
|
@@ -4935,7 +4934,7 @@ const $r = {
|
|
|
4935
4934
|
"095kts": '<svg t="1756204086889" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7354" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v45.222974l146.334716-91.043232a29.864228 29.864228 0 0 1 31.570755 50.683861L541.822418 281.150373V330.213033l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 400.564621v49.105323l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.710959v49.062659l146.334716-91.000568a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.668295v42.577857l73.764642-46.076238a29.864228 29.864228 0 0 1 31.656082 50.683861l-105.378061 65.871954v179.398682l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#ffffff" p-id="7355"></path></svg>',
|
|
4936
4935
|
"100kts": '<svg t="1756204093086" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7511" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.573089 106.746841c-0.981286 0.597304-2.047901 0.981286-3.071851 1.450597v617.058175l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7512"></path></svg>',
|
|
4937
4936
|
"105kts": '<svg t="1756204103259" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7668" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.658418 106.746841c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v79.356164l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v467.348078l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7669"></path></svg>'
|
|
4938
|
-
},
|
|
4937
|
+
}, $r = {
|
|
4939
4938
|
name: "IdmWindBarb",
|
|
4940
4939
|
props: {
|
|
4941
4940
|
map: {
|
|
@@ -4971,7 +4970,7 @@ const $r = {
|
|
|
4971
4970
|
right: 10,
|
|
4972
4971
|
bottom: 125,
|
|
4973
4972
|
windBarbLoaded: !1,
|
|
4974
|
-
svgs:
|
|
4973
|
+
svgs: Jr
|
|
4975
4974
|
};
|
|
4976
4975
|
},
|
|
4977
4976
|
computed: {
|
|
@@ -5078,11 +5077,11 @@ const $r = {
|
|
|
5078
5077
|
}
|
|
5079
5078
|
}
|
|
5080
5079
|
};
|
|
5081
|
-
function
|
|
5080
|
+
function el(t, e, o, i, a, r) {
|
|
5082
5081
|
return null;
|
|
5083
5082
|
}
|
|
5084
|
-
const
|
|
5085
|
-
const
|
|
5083
|
+
const tl = /* @__PURE__ */ V($r, [["render", el]]);
|
|
5084
|
+
const ol = {
|
|
5086
5085
|
name: "IdmWindParticle",
|
|
5087
5086
|
props: {
|
|
5088
5087
|
factor: {
|
|
@@ -5248,10 +5247,10 @@ const al = {
|
|
|
5248
5247
|
(t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
|
|
5249
5248
|
}
|
|
5250
5249
|
}
|
|
5251
|
-
},
|
|
5252
|
-
function
|
|
5250
|
+
}, al = { key: 0 };
|
|
5251
|
+
function il(t, e, o, i, a, r) {
|
|
5253
5252
|
var s;
|
|
5254
|
-
return (s = o.factor) != null && s.active ? (y(), M("div",
|
|
5253
|
+
return (s = o.factor) != null && s.active ? (y(), M("div", al, [
|
|
5255
5254
|
l("div", {
|
|
5256
5255
|
class: "legend-bars-gl4 wind",
|
|
5257
5256
|
style: ae({ right: a.right + "px" })
|
|
@@ -5267,7 +5266,7 @@ function rl(t, e, o, i, a, r) {
|
|
|
5267
5266
|
]), 4)
|
|
5268
5267
|
])) : E("", !0);
|
|
5269
5268
|
}
|
|
5270
|
-
const
|
|
5269
|
+
const rl = /* @__PURE__ */ V(ol, [["render", il]]), ll = {
|
|
5271
5270
|
name: "IdmCurrent",
|
|
5272
5271
|
props: {
|
|
5273
5272
|
map: {
|
|
@@ -5425,11 +5424,11 @@ const ll = /* @__PURE__ */ V(al, [["render", rl]]), sl = {
|
|
|
5425
5424
|
}
|
|
5426
5425
|
}
|
|
5427
5426
|
};
|
|
5428
|
-
function
|
|
5427
|
+
function sl(t, e, o, i, a, r) {
|
|
5429
5428
|
return null;
|
|
5430
5429
|
}
|
|
5431
|
-
const
|
|
5432
|
-
const
|
|
5430
|
+
const nl = /* @__PURE__ */ V(ll, [["render", sl]]);
|
|
5431
|
+
const cl = {
|
|
5433
5432
|
name: "IdmCurrentParticle",
|
|
5434
5433
|
props: {
|
|
5435
5434
|
factor: {
|
|
@@ -5592,10 +5591,10 @@ const ml = {
|
|
|
5592
5591
|
(t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
|
|
5593
5592
|
}
|
|
5594
5593
|
}
|
|
5595
|
-
},
|
|
5596
|
-
function
|
|
5594
|
+
}, ml = { key: 0 };
|
|
5595
|
+
function dl(t, e, o, i, a, r) {
|
|
5597
5596
|
var s;
|
|
5598
|
-
return (s = o.factor) != null && s.active ? (y(), M("div",
|
|
5597
|
+
return (s = o.factor) != null && s.active ? (y(), M("div", ml, [
|
|
5599
5598
|
l("div", {
|
|
5600
5599
|
class: "legend-bars-gl4 current",
|
|
5601
5600
|
style: ae({ right: a.right + "px" })
|
|
@@ -5610,8 +5609,8 @@ function hl(t, e, o, i, a, r) {
|
|
|
5610
5609
|
]), 4)
|
|
5611
5610
|
])) : E("", !0);
|
|
5612
5611
|
}
|
|
5613
|
-
const
|
|
5614
|
-
const
|
|
5612
|
+
const hl = /* @__PURE__ */ V(cl, [["render", dl]]);
|
|
5613
|
+
const pl = {
|
|
5615
5614
|
name: "IdmTemp",
|
|
5616
5615
|
props: {
|
|
5617
5616
|
factor: {
|
|
@@ -5720,10 +5719,10 @@ const ul = {
|
|
|
5720
5719
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
5721
5720
|
}
|
|
5722
5721
|
}
|
|
5723
|
-
},
|
|
5724
|
-
function
|
|
5722
|
+
}, ul = { key: 0 };
|
|
5723
|
+
function gl(t, e, o, i, a, r) {
|
|
5725
5724
|
var s;
|
|
5726
|
-
return (s = o.factor) != null && s.active ? (y(), M("div",
|
|
5725
|
+
return (s = o.factor) != null && s.active ? (y(), M("div", ul, [
|
|
5727
5726
|
l("div", {
|
|
5728
5727
|
class: "legend-bars-gl4 sig-wave",
|
|
5729
5728
|
style: ae({ right: a.right + "px" })
|
|
@@ -5738,7 +5737,7 @@ function fl(t, e, o, i, a, r) {
|
|
|
5738
5737
|
]), 4)
|
|
5739
5738
|
])) : E("", !0);
|
|
5740
5739
|
}
|
|
5741
|
-
const
|
|
5740
|
+
const fl = /* @__PURE__ */ V(pl, [["render", gl], ["__scopeId", "data-v-79ce70e2"]]), yl = {
|
|
5742
5741
|
name: "IdmSigWave",
|
|
5743
5742
|
props: {
|
|
5744
5743
|
map: {
|
|
@@ -5887,10 +5886,10 @@ const yl = /* @__PURE__ */ V(ul, [["render", fl], ["__scopeId", "data-v-79ce70e2
|
|
|
5887
5886
|
}
|
|
5888
5887
|
}
|
|
5889
5888
|
};
|
|
5890
|
-
function
|
|
5889
|
+
function bl(t, e, o, i, a, r) {
|
|
5891
5890
|
return null;
|
|
5892
5891
|
}
|
|
5893
|
-
const
|
|
5892
|
+
const wl = /* @__PURE__ */ V(yl, [["render", bl]]), xl = {
|
|
5894
5893
|
name: "IdmSwell",
|
|
5895
5894
|
props: {
|
|
5896
5895
|
map: {
|
|
@@ -6041,10 +6040,10 @@ const xl = /* @__PURE__ */ V(bl, [["render", wl]]), vl = {
|
|
|
6041
6040
|
}
|
|
6042
6041
|
}
|
|
6043
6042
|
};
|
|
6044
|
-
function
|
|
6043
|
+
function vl(t, e, o, i, a, r) {
|
|
6045
6044
|
return y(), M("div");
|
|
6046
6045
|
}
|
|
6047
|
-
const
|
|
6046
|
+
const _l = /* @__PURE__ */ V(xl, [["render", vl]]), kl = {
|
|
6048
6047
|
name: "IdmPrmsl",
|
|
6049
6048
|
props: {
|
|
6050
6049
|
map: {
|
|
@@ -6195,14 +6194,14 @@ const kl = /* @__PURE__ */ V(vl, [["render", _l]]), zl = {
|
|
|
6195
6194
|
this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.labelLayer) && this.map.removeLayer(this.labelLayer), this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
6196
6195
|
}
|
|
6197
6196
|
}
|
|
6198
|
-
},
|
|
6197
|
+
}, zl = {
|
|
6199
6198
|
key: 0,
|
|
6200
6199
|
class: "legend-tip-btn-gl4"
|
|
6201
6200
|
};
|
|
6202
|
-
function
|
|
6201
|
+
function Ll(t, e, o, i, a, r) {
|
|
6203
6202
|
var c;
|
|
6204
6203
|
const s = x("VBtn"), n = x("VTooltip");
|
|
6205
|
-
return (c = o.prmsl) != null && c.active ? (y(), M("div",
|
|
6204
|
+
return (c = o.prmsl) != null && c.active ? (y(), M("div", zl, [
|
|
6206
6205
|
l("div", {
|
|
6207
6206
|
class: "menu-bar-box pa-1 rounded",
|
|
6208
6207
|
style: ae({ right: a.right + "px" })
|
|
@@ -6232,8 +6231,8 @@ function Pl(t, e, o, i, a, r) {
|
|
|
6232
6231
|
], 4)
|
|
6233
6232
|
])) : E("", !0);
|
|
6234
6233
|
}
|
|
6235
|
-
const
|
|
6236
|
-
const
|
|
6234
|
+
const Pl = /* @__PURE__ */ V(kl, [["render", Ll]]);
|
|
6235
|
+
const Cl = {
|
|
6237
6236
|
name: "IdmIceEdge",
|
|
6238
6237
|
props: {
|
|
6239
6238
|
factor: {
|
|
@@ -6334,10 +6333,10 @@ const Tl = {
|
|
|
6334
6333
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6335
6334
|
}
|
|
6336
6335
|
}
|
|
6337
|
-
},
|
|
6338
|
-
function
|
|
6336
|
+
}, Tl = { key: 0 };
|
|
6337
|
+
function Sl(t, e, o, i, a, r) {
|
|
6339
6338
|
var s;
|
|
6340
|
-
return (s = o.factor) != null && s.active ? (y(), M("div",
|
|
6339
|
+
return (s = o.factor) != null && s.active ? (y(), M("div", Tl, [
|
|
6341
6340
|
l("div", {
|
|
6342
6341
|
class: "legend-bars-gl4 ice-edge",
|
|
6343
6342
|
style: ae({ right: a.right + "px" })
|
|
@@ -6357,8 +6356,8 @@ function Ml(t, e, o, i, a, r) {
|
|
|
6357
6356
|
]), 4)
|
|
6358
6357
|
])) : E("", !0);
|
|
6359
6358
|
}
|
|
6360
|
-
const
|
|
6361
|
-
const
|
|
6359
|
+
const Ml = /* @__PURE__ */ V(Cl, [["render", Sl]]);
|
|
6360
|
+
const Il = {
|
|
6362
6361
|
name: "IdmCover",
|
|
6363
6362
|
props: {
|
|
6364
6363
|
factor: {
|
|
@@ -6450,10 +6449,10 @@ const Al = {
|
|
|
6450
6449
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6451
6450
|
}
|
|
6452
6451
|
}
|
|
6453
|
-
},
|
|
6454
|
-
function
|
|
6452
|
+
}, Al = { key: 0 };
|
|
6453
|
+
function Dl(t, e, o, i, a, r) {
|
|
6455
6454
|
var s;
|
|
6456
|
-
return (s = o.factor) != null && s.active ? (y(), M("div",
|
|
6455
|
+
return (s = o.factor) != null && s.active ? (y(), M("div", Al, [
|
|
6457
6456
|
l("div", {
|
|
6458
6457
|
class: "legend-bars-gl4 ice-cover",
|
|
6459
6458
|
style: ae({ right: a.right + "px" })
|
|
@@ -6467,8 +6466,8 @@ function Rl(t, e, o, i, a, r) {
|
|
|
6467
6466
|
]), 4)
|
|
6468
6467
|
])) : E("", !0);
|
|
6469
6468
|
}
|
|
6470
|
-
const
|
|
6471
|
-
const
|
|
6469
|
+
const Rl = /* @__PURE__ */ V(Il, [["render", Dl], ["__scopeId", "data-v-9696d73b"]]);
|
|
6470
|
+
const Ol = {
|
|
6472
6471
|
name: "IdmThickness",
|
|
6473
6472
|
props: {
|
|
6474
6473
|
factor: {
|
|
@@ -6568,10 +6567,10 @@ const Bl = {
|
|
|
6568
6567
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6569
6568
|
}
|
|
6570
6569
|
}
|
|
6571
|
-
},
|
|
6572
|
-
function
|
|
6570
|
+
}, Bl = { key: 0 };
|
|
6571
|
+
function El(t, e, o, i, a, r) {
|
|
6573
6572
|
var s;
|
|
6574
|
-
return (s = o.factor) != null && s.active ? (y(), M("div",
|
|
6573
|
+
return (s = o.factor) != null && s.active ? (y(), M("div", Bl, [
|
|
6575
6574
|
l("div", {
|
|
6576
6575
|
class: "legend-bars-gl4 ice-thickness",
|
|
6577
6576
|
style: ae({ right: a.right + "px" })
|
|
@@ -6586,8 +6585,8 @@ function jl(t, e, o, i, a, r) {
|
|
|
6586
6585
|
]), 4)
|
|
6587
6586
|
])) : E("", !0);
|
|
6588
6587
|
}
|
|
6589
|
-
const
|
|
6590
|
-
const
|
|
6588
|
+
const jl = /* @__PURE__ */ V(Ol, [["render", El]]);
|
|
6589
|
+
const Nl = {
|
|
6591
6590
|
name: "IdmPrecip3h",
|
|
6592
6591
|
props: {
|
|
6593
6592
|
factor: {
|
|
@@ -6688,10 +6687,10 @@ const Fl = {
|
|
|
6688
6687
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6689
6688
|
}
|
|
6690
6689
|
}
|
|
6691
|
-
},
|
|
6692
|
-
function
|
|
6690
|
+
}, Fl = { key: 0 };
|
|
6691
|
+
function Hl(t, e, o, i, a, r) {
|
|
6693
6692
|
var s;
|
|
6694
|
-
return (s = o.factor) != null && s.active ? (y(), M("div",
|
|
6693
|
+
return (s = o.factor) != null && s.active ? (y(), M("div", Fl, [
|
|
6695
6694
|
l("div", {
|
|
6696
6695
|
class: "legend-bars-gl4 precip3h",
|
|
6697
6696
|
style: ae({ right: a.right + "px" })
|
|
@@ -6707,8 +6706,8 @@ function Ul(t, e, o, i, a, r) {
|
|
|
6707
6706
|
]), 4)
|
|
6708
6707
|
])) : E("", !0);
|
|
6709
6708
|
}
|
|
6710
|
-
const Wl = /* @__PURE__ */ V(
|
|
6711
|
-
const
|
|
6709
|
+
const Wl = /* @__PURE__ */ V(Nl, [["render", Hl]]);
|
|
6710
|
+
const Ul = {
|
|
6712
6711
|
name: "IdmVisibility",
|
|
6713
6712
|
props: {
|
|
6714
6713
|
factor: {
|
|
@@ -6799,10 +6798,10 @@ const Gl = {
|
|
|
6799
6798
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6800
6799
|
}
|
|
6801
6800
|
}
|
|
6802
|
-
},
|
|
6803
|
-
function
|
|
6801
|
+
}, Gl = { key: 0 };
|
|
6802
|
+
function Vl(t, e, o, i, a, r) {
|
|
6804
6803
|
var s;
|
|
6805
|
-
return (s = o.factor) != null && s.active ? (y(), M("div",
|
|
6804
|
+
return (s = o.factor) != null && s.active ? (y(), M("div", Gl, [
|
|
6806
6805
|
l("div", {
|
|
6807
6806
|
class: "legend-bars-gl4 visibility",
|
|
6808
6807
|
style: ae({ right: a.right + "px" })
|
|
@@ -6816,8 +6815,8 @@ function Zl(t, e, o, i, a, r) {
|
|
|
6816
6815
|
]), 4)
|
|
6817
6816
|
])) : E("", !0);
|
|
6818
6817
|
}
|
|
6819
|
-
const
|
|
6820
|
-
const
|
|
6818
|
+
const Zl = /* @__PURE__ */ V(Ul, [["render", Vl]]);
|
|
6819
|
+
const Yl = {
|
|
6821
6820
|
name: "IdmWaterTemp",
|
|
6822
6821
|
props: {
|
|
6823
6822
|
factor: {
|
|
@@ -6911,10 +6910,10 @@ const ql = {
|
|
|
6911
6910
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6912
6911
|
}
|
|
6913
6912
|
}
|
|
6914
|
-
},
|
|
6915
|
-
function
|
|
6913
|
+
}, ql = { key: 0 };
|
|
6914
|
+
function Xl(t, e, o, i, a, r) {
|
|
6916
6915
|
var s;
|
|
6917
|
-
return (s = o.factor) != null && s.active ? (y(), M("div",
|
|
6916
|
+
return (s = o.factor) != null && s.active ? (y(), M("div", ql, [
|
|
6918
6917
|
l("div", {
|
|
6919
6918
|
class: "legend-bars-gl4 water-temp",
|
|
6920
6919
|
style: ae({ right: a.right + "px" })
|
|
@@ -6928,8 +6927,8 @@ function Kl(t, e, o, i, a, r) {
|
|
|
6928
6927
|
]), 4)
|
|
6929
6928
|
])) : E("", !0);
|
|
6930
6929
|
}
|
|
6931
|
-
const
|
|
6932
|
-
const
|
|
6930
|
+
const Kl = /* @__PURE__ */ V(Yl, [["render", Xl]]);
|
|
6931
|
+
const Ql = {
|
|
6933
6932
|
name: "IdmTemp",
|
|
6934
6933
|
props: {
|
|
6935
6934
|
factor: {
|
|
@@ -7034,10 +7033,10 @@ const Jl = {
|
|
|
7034
7033
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
7035
7034
|
}
|
|
7036
7035
|
}
|
|
7037
|
-
},
|
|
7038
|
-
function
|
|
7036
|
+
}, Jl = { key: 0 };
|
|
7037
|
+
function $l(t, e, o, i, a, r) {
|
|
7039
7038
|
var s;
|
|
7040
|
-
return (s = o.factor) != null && s.active ? (y(), M("div",
|
|
7039
|
+
return (s = o.factor) != null && s.active ? (y(), M("div", Jl, [
|
|
7041
7040
|
l("div", {
|
|
7042
7041
|
class: "legend-bars-gl4 temp",
|
|
7043
7042
|
style: ae({ right: a.right + "px" })
|
|
@@ -7053,25 +7052,25 @@ function es(t, e, o, i, a, r) {
|
|
|
7053
7052
|
]), 4)
|
|
7054
7053
|
])) : E("", !0);
|
|
7055
7054
|
}
|
|
7056
|
-
const
|
|
7057
|
-
const
|
|
7055
|
+
const es = /* @__PURE__ */ V(Ql, [["render", $l]]);
|
|
7056
|
+
const ts = {
|
|
7058
7057
|
name: "IdmGlLayer",
|
|
7059
7058
|
components: {
|
|
7060
|
-
IdmWindBarb:
|
|
7061
|
-
IdmWindParticle:
|
|
7062
|
-
IdmCurrentDirection:
|
|
7063
|
-
IdmCurrentParticle:
|
|
7064
|
-
IdmWave:
|
|
7065
|
-
IdmSigWaveHeight:
|
|
7066
|
-
IdmSwell:
|
|
7067
|
-
IdmPrmsl:
|
|
7068
|
-
IdmIceEdge:
|
|
7069
|
-
IdmIceCover:
|
|
7070
|
-
IdmIceThickness:
|
|
7059
|
+
IdmWindBarb: tl,
|
|
7060
|
+
IdmWindParticle: rl,
|
|
7061
|
+
IdmCurrentDirection: nl,
|
|
7062
|
+
IdmCurrentParticle: hl,
|
|
7063
|
+
IdmWave: fl,
|
|
7064
|
+
IdmSigWaveHeight: wl,
|
|
7065
|
+
IdmSwell: _l,
|
|
7066
|
+
IdmPrmsl: Pl,
|
|
7067
|
+
IdmIceEdge: Ml,
|
|
7068
|
+
IdmIceCover: Rl,
|
|
7069
|
+
IdmIceThickness: jl,
|
|
7071
7070
|
IdmPrecip3h: Wl,
|
|
7072
|
-
IdmVisibility:
|
|
7073
|
-
IdmWaterTemp:
|
|
7074
|
-
IdmTemp:
|
|
7071
|
+
IdmVisibility: Zl,
|
|
7072
|
+
IdmWaterTemp: Kl,
|
|
7073
|
+
IdmTemp: es
|
|
7075
7074
|
},
|
|
7076
7075
|
props: {
|
|
7077
7076
|
isLogin: {
|
|
@@ -7316,17 +7315,17 @@ const os = {
|
|
|
7316
7315
|
if (this.map) {
|
|
7317
7316
|
const k = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, v = (r = this.map) == null ? void 0 : r.getBounds(), T = `${v._sw.lng},${v._sw.lat},${v._ne.lng},${v._ne.lat}`;
|
|
7318
7317
|
if (this.particleFactor && ((s = this.$refs.layer) != null && s.autoActive)) {
|
|
7319
|
-
const w = oo.WEATHER_LAYERS.find((
|
|
7318
|
+
const w = oo.WEATHER_LAYERS.find((D) => {
|
|
7320
7319
|
var S;
|
|
7321
|
-
return ((S =
|
|
7320
|
+
return ((S = D.peer) == null ? void 0 : S.weight) === this.particleFactor.weight;
|
|
7322
7321
|
});
|
|
7323
7322
|
this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & w.weight ? this.weatherWeight : this.weatherWeight + w.weight : this.weatherWeight = this.weatherWeight & w.weight ? this.weatherWeight - w.weight : this.weatherWeight;
|
|
7324
7323
|
}
|
|
7325
7324
|
if (this.weatherWeight > 0) {
|
|
7326
7325
|
let w = this.weatherWeight;
|
|
7327
7326
|
if (w > 0) {
|
|
7328
|
-
const
|
|
7329
|
-
`${
|
|
7327
|
+
const D = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], S = await Se.get(
|
|
7328
|
+
`${D}/api/arc/weather/layers2/links?l=${w}&v=${this.forecastModel}&z=${k}&bbox=${T}&t=${this.realTime}`,
|
|
7330
7329
|
{
|
|
7331
7330
|
headers: {
|
|
7332
7331
|
Authorization: this.token || this.defaultMeteoToken
|
|
@@ -7351,8 +7350,8 @@ const os = {
|
|
|
7351
7350
|
this.weatherLayers = {}, L.map((C) => {
|
|
7352
7351
|
var Z, q, X, Y;
|
|
7353
7352
|
const _ = ((Z = C == null ? void 0 : C.data) == null ? void 0 : Z.data) || (C == null ? void 0 : C.data);
|
|
7354
|
-
let
|
|
7355
|
-
|
|
7353
|
+
let A = (X = (q = C == null ? void 0 : C.config) == null ? void 0 : q.headers) == null ? void 0 : X.key;
|
|
7354
|
+
A && _ && (this.weatherLayers[A] = {
|
|
7356
7355
|
raw: _,
|
|
7357
7356
|
type: ((Y = C == null ? void 0 : C.config) == null ? void 0 : Y.responseType) === "blob" ? "image" : "json",
|
|
7358
7357
|
etime: S.data.etime
|
|
@@ -7439,46 +7438,46 @@ const os = {
|
|
|
7439
7438
|
let e = 0, o = 0;
|
|
7440
7439
|
const i = (g = this.map) == null ? void 0 : g.getBounds(), a = (p = this.map) == null ? void 0 : p.getZoom(), r = K.convertToStdLng(i._sw.lng), s = K.convertToStdLng(i._ne.lng), n = Math.floor(i._sw.lat), c = Math.ceil(i._ne.lat);
|
|
7441
7440
|
for (const w in this.weatherLayers) {
|
|
7442
|
-
let
|
|
7441
|
+
let D = !1;
|
|
7443
7442
|
if (this.weatherLayers[w].active && this.weatherLayers[w].type === "json") {
|
|
7444
7443
|
let S = [];
|
|
7445
7444
|
if (w === "swell") {
|
|
7446
|
-
|
|
7445
|
+
D = !0;
|
|
7447
7446
|
const P = ((h = this.weatherLayers[w]) == null ? void 0 : h.direction) || {};
|
|
7448
7447
|
for (const L in P)
|
|
7449
7448
|
if (L > n && L < c && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
7450
7449
|
const C = P[L].lng;
|
|
7451
|
-
r > s ? C.forEach((_,
|
|
7450
|
+
r > s ? C.forEach((_, A) => {
|
|
7452
7451
|
var Z, q, X, Y, te, oe;
|
|
7453
7452
|
if (a < 2) {
|
|
7454
7453
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
7455
7454
|
const J = N.point([_, L], {
|
|
7456
|
-
val: ((Z = P[L].val) == null ? void 0 : Z[
|
|
7457
|
-
spd: (X = P[L].spd) == null ? void 0 : X[
|
|
7455
|
+
val: ((Z = P[L].val) == null ? void 0 : Z[A]) || ((q = P[L].dir) == null ? void 0 : q[A]),
|
|
7456
|
+
spd: (X = P[L].spd) == null ? void 0 : X[A]
|
|
7458
7457
|
});
|
|
7459
7458
|
S.push(J);
|
|
7460
7459
|
}
|
|
7461
7460
|
} else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= s) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
7462
7461
|
const J = N.point([_, L], {
|
|
7463
|
-
val: ((Y = P[L].val) == null ? void 0 : Y[
|
|
7464
|
-
spd: (oe = P[L].spd) == null ? void 0 : oe[
|
|
7462
|
+
val: ((Y = P[L].val) == null ? void 0 : Y[A]) || ((te = P[L].dir) == null ? void 0 : te[A]),
|
|
7463
|
+
spd: (oe = P[L].spd) == null ? void 0 : oe[A]
|
|
7465
7464
|
});
|
|
7466
7465
|
S.push(J);
|
|
7467
7466
|
}
|
|
7468
|
-
}) : C.forEach((_,
|
|
7467
|
+
}) : C.forEach((_, A) => {
|
|
7469
7468
|
var Z, q, X, Y, te, oe;
|
|
7470
7469
|
if (r < 2) {
|
|
7471
7470
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
7472
7471
|
const J = N.point([_, L], {
|
|
7473
|
-
val: ((Z = P[L].val) == null ? void 0 : Z[
|
|
7474
|
-
spd: (X = P[L].spd) == null ? void 0 : X[
|
|
7472
|
+
val: ((Z = P[L].val) == null ? void 0 : Z[A]) || ((q = P[L].dir) == null ? void 0 : q[A]),
|
|
7473
|
+
spd: (X = P[L].spd) == null ? void 0 : X[A]
|
|
7475
7474
|
});
|
|
7476
7475
|
S.push(J);
|
|
7477
7476
|
}
|
|
7478
7477
|
} else if (_ >= r && _ <= s && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
7479
7478
|
const J = N.point([_, L], {
|
|
7480
|
-
val: ((Y = P[L].val) == null ? void 0 : Y[
|
|
7481
|
-
spd: (oe = P[L].spd) == null ? void 0 : oe[
|
|
7479
|
+
val: ((Y = P[L].val) == null ? void 0 : Y[A]) || ((te = P[L].dir) == null ? void 0 : te[A]),
|
|
7480
|
+
spd: (oe = P[L].spd) == null ? void 0 : oe[A]
|
|
7482
7481
|
});
|
|
7483
7482
|
S.push(J);
|
|
7484
7483
|
}
|
|
@@ -7491,9 +7490,9 @@ const os = {
|
|
|
7491
7490
|
const L = [];
|
|
7492
7491
|
for (const C in (f = z.raw) == null ? void 0 : f.LineString) {
|
|
7493
7492
|
const _ = z.raw.LineString[C];
|
|
7494
|
-
for (const
|
|
7493
|
+
for (const A of _)
|
|
7495
7494
|
L.push(
|
|
7496
|
-
N.lineString(
|
|
7495
|
+
N.lineString(A, {
|
|
7497
7496
|
val: Number(C)
|
|
7498
7497
|
})
|
|
7499
7498
|
);
|
|
@@ -7507,42 +7506,42 @@ const os = {
|
|
|
7507
7506
|
o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
|
|
7508
7507
|
}
|
|
7509
7508
|
} else if (w === "current") {
|
|
7510
|
-
|
|
7509
|
+
D = !0;
|
|
7511
7510
|
const P = ((k = this.weatherLayers[w]) == null ? void 0 : k.direction) || {};
|
|
7512
7511
|
for (const L in P)
|
|
7513
7512
|
if (L > n && L < c && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
7514
7513
|
const C = P[L].lng;
|
|
7515
|
-
r > s ? C.forEach((_,
|
|
7514
|
+
r > s ? C.forEach((_, A) => {
|
|
7516
7515
|
var Z, q, X, Y, te, oe;
|
|
7517
7516
|
if (a < 2) {
|
|
7518
7517
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
7519
7518
|
const J = N.point([_, L], {
|
|
7520
|
-
val: ((Z = P[L].val) == null ? void 0 : Z[
|
|
7521
|
-
spd: (X = P[L].spd) == null ? void 0 : X[
|
|
7519
|
+
val: ((Z = P[L].val) == null ? void 0 : Z[A]) || ((q = P[L].dir) == null ? void 0 : q[A]),
|
|
7520
|
+
spd: (X = P[L].spd) == null ? void 0 : X[A]
|
|
7522
7521
|
});
|
|
7523
7522
|
S.push(J);
|
|
7524
7523
|
}
|
|
7525
7524
|
} else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= s) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
7526
7525
|
const J = N.point([_, L], {
|
|
7527
|
-
val: ((Y = P[L].val) == null ? void 0 : Y[
|
|
7528
|
-
spd: (oe = P[L].spd) == null ? void 0 : oe[
|
|
7526
|
+
val: ((Y = P[L].val) == null ? void 0 : Y[A]) || ((te = P[L].dir) == null ? void 0 : te[A]),
|
|
7527
|
+
spd: (oe = P[L].spd) == null ? void 0 : oe[A]
|
|
7529
7528
|
});
|
|
7530
7529
|
S.push(J);
|
|
7531
7530
|
}
|
|
7532
|
-
}) : C.forEach((_,
|
|
7531
|
+
}) : C.forEach((_, A) => {
|
|
7533
7532
|
var Z, q, X, Y, te, oe;
|
|
7534
7533
|
if (r < 2) {
|
|
7535
7534
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
7536
7535
|
const J = N.point([_, L], {
|
|
7537
|
-
val: ((Z = P[L].val) == null ? void 0 : Z[
|
|
7538
|
-
spd: (X = P[L].spd) == null ? void 0 : X[
|
|
7536
|
+
val: ((Z = P[L].val) == null ? void 0 : Z[A]) || ((q = P[L].dir) == null ? void 0 : q[A]),
|
|
7537
|
+
spd: (X = P[L].spd) == null ? void 0 : X[A]
|
|
7539
7538
|
});
|
|
7540
7539
|
S.push(J);
|
|
7541
7540
|
}
|
|
7542
7541
|
} else if (_ >= r && _ <= s && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
7543
7542
|
const J = N.point([_, L], {
|
|
7544
|
-
val: ((Y = P[L].val) == null ? void 0 : Y[
|
|
7545
|
-
spd: (oe = P[L].spd) == null ? void 0 : oe[
|
|
7543
|
+
val: ((Y = P[L].val) == null ? void 0 : Y[A]) || ((te = P[L].dir) == null ? void 0 : te[A]),
|
|
7544
|
+
spd: (oe = P[L].spd) == null ? void 0 : oe[A]
|
|
7546
7545
|
});
|
|
7547
7546
|
S.push(J);
|
|
7548
7547
|
}
|
|
@@ -7554,8 +7553,8 @@ const os = {
|
|
|
7554
7553
|
if (!z.data) {
|
|
7555
7554
|
const C = [];
|
|
7556
7555
|
for (const _ in (v = z.raw) == null ? void 0 : v.Polygon) {
|
|
7557
|
-
const
|
|
7558
|
-
for (const Z of
|
|
7556
|
+
const A = z.raw.Polygon[_];
|
|
7557
|
+
for (const Z of A)
|
|
7559
7558
|
C.push(
|
|
7560
7559
|
N.polygon(Z, {
|
|
7561
7560
|
val: Number(_)
|
|
@@ -7568,17 +7567,17 @@ const os = {
|
|
|
7568
7567
|
S = S.concat(L), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
|
|
7569
7568
|
}
|
|
7570
7569
|
} else if (w === "wind") {
|
|
7571
|
-
|
|
7570
|
+
D = !0;
|
|
7572
7571
|
const P = this.weatherLayers.wind.raw;
|
|
7573
7572
|
for (const z in P)
|
|
7574
7573
|
if (z > n && z < c && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
7575
7574
|
const L = P[z].lng;
|
|
7576
7575
|
r > s ? L.forEach((C, _) => {
|
|
7577
|
-
var
|
|
7576
|
+
var A, Z, q, X;
|
|
7578
7577
|
if (a < 2) {
|
|
7579
7578
|
if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
|
|
7580
7579
|
const Y = N.point([C, z], {
|
|
7581
|
-
dir: ((
|
|
7580
|
+
dir: ((A = P[z].val) == null ? void 0 : A[_]) || ((Z = P[z].dir) == null ? void 0 : Z[_]),
|
|
7582
7581
|
spd: P[z].spd[_]
|
|
7583
7582
|
});
|
|
7584
7583
|
S.push(Y);
|
|
@@ -7591,11 +7590,11 @@ const os = {
|
|
|
7591
7590
|
S.push(Y);
|
|
7592
7591
|
}
|
|
7593
7592
|
}) : L.forEach((C, _) => {
|
|
7594
|
-
var
|
|
7593
|
+
var A, Z, q, X;
|
|
7595
7594
|
if (a < 2) {
|
|
7596
7595
|
if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
|
|
7597
7596
|
const Y = N.point([C, z], {
|
|
7598
|
-
dir: ((
|
|
7597
|
+
dir: ((A = P[z].val) == null ? void 0 : A[_]) || ((Z = P[z].dir) == null ? void 0 : Z[_]),
|
|
7599
7598
|
spd: P[z].spd[_]
|
|
7600
7599
|
});
|
|
7601
7600
|
S.push(Y);
|
|
@@ -7614,7 +7613,7 @@ const os = {
|
|
|
7614
7613
|
if (this.weatherLayers[w].data)
|
|
7615
7614
|
S = this.weatherLayers[w].data;
|
|
7616
7615
|
else {
|
|
7617
|
-
|
|
7616
|
+
D = !0;
|
|
7618
7617
|
const P = this.weatherLayers[w].raw;
|
|
7619
7618
|
if (P) {
|
|
7620
7619
|
const z = [];
|
|
@@ -7653,7 +7652,7 @@ const os = {
|
|
|
7653
7652
|
if (this.weatherLayers[w].data)
|
|
7654
7653
|
S = this.weatherLayers[w].data;
|
|
7655
7654
|
else {
|
|
7656
|
-
|
|
7655
|
+
D = !0;
|
|
7657
7656
|
const P = this.weatherLayers[w].raw;
|
|
7658
7657
|
if (P) {
|
|
7659
7658
|
const z = [];
|
|
@@ -7680,7 +7679,7 @@ const os = {
|
|
|
7680
7679
|
}
|
|
7681
7680
|
o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
|
|
7682
7681
|
}
|
|
7683
|
-
S.length && (this.weatherLayers[w].data = N.featureCollection(S)),
|
|
7682
|
+
S.length && (this.weatherLayers[w].data = N.featureCollection(S)), D && (this.weatherLayers[w].version = Math.random() + 1);
|
|
7684
7683
|
}
|
|
7685
7684
|
}
|
|
7686
7685
|
},
|
|
@@ -7705,26 +7704,26 @@ const os = {
|
|
|
7705
7704
|
}), o;
|
|
7706
7705
|
}
|
|
7707
7706
|
}
|
|
7708
|
-
},
|
|
7707
|
+
}, os = { class: "idm-gl4-meteo-layers" }, as = {
|
|
7709
7708
|
key: 0,
|
|
7710
7709
|
class: "legend-tip-btn-gl4"
|
|
7711
|
-
},
|
|
7710
|
+
}, is = { class: "d-flex flex-row justify-center align-center" }, rs = { class: "text-caption" }, ls = { class: "d-flex flex-row justify-center align-center" }, ss = {
|
|
7712
7711
|
key: 0,
|
|
7713
7712
|
style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
|
|
7714
|
-
},
|
|
7713
|
+
}, ns = { class: "text-caption px-2" }, cs = { class: "d-flex flex-row justify-start align-center" }, ms = {
|
|
7715
7714
|
class: "d-flex flex-row justify-center align-center",
|
|
7716
7715
|
style: { width: "40px" }
|
|
7717
|
-
},
|
|
7716
|
+
}, ds = { class: "text-caption px-2" }, hs = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, ps = { class: "d-flex justify-start align-center ga-3" }, us = { class: "text-h5 font-weight-medium" }, gs = {
|
|
7718
7717
|
key: 0,
|
|
7719
7718
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
7720
|
-
},
|
|
7719
|
+
}, fs = {
|
|
7721
7720
|
key: 1,
|
|
7722
7721
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
7723
|
-
},
|
|
7724
|
-
function
|
|
7722
|
+
}, ys = { class: "text-body-1 py-2" }, bs = { class: "text-body-1 font-weight-medium" }, ws = { class: "text-body-2 opacity-70" }, xs = { class: "text-body-2 opacity-70 mb-3" }, vs = { class: "text-body-1 font-weight-medium" }, _s = { class: "text-body-2 opacity-70" }, ks = { class: "text-body-2 opacity-70 mb-3" }, zs = { class: "text-body-1 py-2" }, Ls = { class: "text-body-1 font-weight-medium" }, Ps = { class: "text-body-2 opacity-70" }, Cs = { class: "text-body-2 opacity-70 mb-3" }, Ts = { class: "text-body-1 font-weight-medium" }, Ss = { class: "text-body-2 opacity-70" }, Ms = { class: "text-body-2 opacity-70 mb-3" }, Is = { class: "text-body-1 py-2" }, As = { class: "text-body-1 font-weight-medium" }, Ds = { class: "text-body-2 opacity-70" }, Rs = { class: "text-body-2 opacity-70 mb-3" };
|
|
7723
|
+
function Os(t, e, o, i, a, r) {
|
|
7725
7724
|
var ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De, Re, ve;
|
|
7726
|
-
const s = x("VBtn"), n = x("VTooltip"), c = x("VCol"), g = x("VRow"), p = x("VCardText"), h = x("VDivider"), f = x("VCard"), k = x("VSwitch"), v = x("VCardTitle"), T = x("VCardItem"), w = x("VCheckbox"),
|
|
7727
|
-
return y(), M("div",
|
|
7725
|
+
const s = x("VBtn"), n = x("VTooltip"), c = x("VCol"), g = x("VRow"), p = x("VCardText"), h = x("VDivider"), f = x("VCard"), k = x("VSwitch"), v = x("VCardTitle"), T = x("VCardItem"), w = x("VCheckbox"), D = x("VRadio"), S = x("VBtnToggle"), P = x("IdmWindBarb"), z = x("IdmSigWaveHeight"), L = x("IdmCurrentDirection"), C = x("IdmPrmsl"), _ = x("IdmWindParticle"), A = x("IdmCurrentParticle"), Z = x("IdmWave"), q = x("IdmSwell"), X = x("IdmIceEdge"), Y = x("IdmIceCover"), te = x("IdmIceThickness"), oe = x("IdmPrecip3h"), J = x("IdmVisibility"), le = x("IdmWaterTemp"), pe = x("IdmTemp");
|
|
7726
|
+
return y(), M("div", os, [
|
|
7728
7727
|
l("div", {
|
|
7729
7728
|
class: "menu-bar-box transition pa-1",
|
|
7730
7729
|
style: ae({ top: o.top + 94 + "px", right: a.right + "px" })
|
|
@@ -7751,7 +7750,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
7751
7750
|
_: 1
|
|
7752
7751
|
}, 8, ["text"])
|
|
7753
7752
|
], 4),
|
|
7754
|
-
r.showTipMenu ? (y(), M("div",
|
|
7753
|
+
r.showTipMenu ? (y(), M("div", as, [
|
|
7755
7754
|
l("div", {
|
|
7756
7755
|
class: "menu-bar-box pa-1 rounded",
|
|
7757
7756
|
style: ae({ right: a.right + "px" })
|
|
@@ -7797,12 +7796,12 @@ function Bs(t, e, o, i, a, r) {
|
|
|
7797
7796
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
7798
7797
|
}, {
|
|
7799
7798
|
default: u(() => [
|
|
7800
|
-
l("div",
|
|
7799
|
+
l("div", is, [
|
|
7801
7800
|
l("i", {
|
|
7802
|
-
class:
|
|
7801
|
+
class: Ue(["iconfont", r.barbsIconName[ee]]),
|
|
7803
7802
|
style: ae({ color: o.theme === "dark" ? "#fff" : "#000" })
|
|
7804
7803
|
}, null, 6),
|
|
7805
|
-
l("span",
|
|
7804
|
+
l("span", rs, b(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
|
|
7806
7805
|
])
|
|
7807
7806
|
]),
|
|
7808
7807
|
_: 2
|
|
@@ -7829,12 +7828,12 @@ function Bs(t, e, o, i, a, r) {
|
|
|
7829
7828
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
7830
7829
|
}, {
|
|
7831
7830
|
default: u(() => [
|
|
7832
|
-
l("div",
|
|
7833
|
-
ee === 0 ? (y(), M("div",
|
|
7831
|
+
l("div", ls, [
|
|
7832
|
+
ee === 0 ? (y(), M("div", ss)) : (y(), M("div", {
|
|
7834
7833
|
key: 1,
|
|
7835
7834
|
style: ae({ width: "24px", height: "12px", background: H.color })
|
|
7836
7835
|
}, null, 4)),
|
|
7837
|
-
l("div",
|
|
7836
|
+
l("div", ns, b(H.label), 1)
|
|
7838
7837
|
])
|
|
7839
7838
|
]),
|
|
7840
7839
|
_: 2
|
|
@@ -7861,14 +7860,14 @@ function Bs(t, e, o, i, a, r) {
|
|
|
7861
7860
|
class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
|
|
7862
7861
|
}, {
|
|
7863
7862
|
default: u(() => [
|
|
7864
|
-
l("div",
|
|
7865
|
-
l("div",
|
|
7863
|
+
l("div", cs, [
|
|
7864
|
+
l("div", ms, [
|
|
7866
7865
|
l("i", {
|
|
7867
7866
|
class: "iconfont icon-a-direction-arrow opacity-80",
|
|
7868
7867
|
style: ae({ fontSize: 40 * H.size + "px" })
|
|
7869
7868
|
}, null, 4)
|
|
7870
7869
|
]),
|
|
7871
|
-
l("div",
|
|
7870
|
+
l("div", ds, b(H.label), 1)
|
|
7872
7871
|
])
|
|
7873
7872
|
]),
|
|
7874
7873
|
_: 2
|
|
@@ -7885,12 +7884,12 @@ function Bs(t, e, o, i, a, r) {
|
|
|
7885
7884
|
}, 8, ["style"])) : E("", !0)
|
|
7886
7885
|
])) : E("", !0),
|
|
7887
7886
|
l("div", {
|
|
7888
|
-
class:
|
|
7887
|
+
class: Ue(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
|
|
7889
7888
|
style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
|
|
7890
7889
|
}, [
|
|
7891
|
-
l("div",
|
|
7892
|
-
l("div",
|
|
7893
|
-
l("div",
|
|
7890
|
+
l("div", hs, [
|
|
7891
|
+
l("div", ps, [
|
|
7892
|
+
l("div", us, b(t.$t("weather.weather")), 1),
|
|
7894
7893
|
d(k, {
|
|
7895
7894
|
modelValue: a.autoActive,
|
|
7896
7895
|
"onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
|
|
@@ -7915,7 +7914,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
7915
7914
|
}, 8, ["onClick"])
|
|
7916
7915
|
]),
|
|
7917
7916
|
l("div", {
|
|
7918
|
-
class:
|
|
7917
|
+
class: Ue(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
|
|
7919
7918
|
}, [
|
|
7920
7919
|
d(f, {
|
|
7921
7920
|
class: "menu-card mx-auto mb-3",
|
|
@@ -7929,7 +7928,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
7929
7928
|
style: { "font-size": "16px !important" }
|
|
7930
7929
|
}, {
|
|
7931
7930
|
default: u(() => [
|
|
7932
|
-
|
|
7931
|
+
U(b(t.$t("weather.overlays")), 1)
|
|
7933
7932
|
]),
|
|
7934
7933
|
_: 1
|
|
7935
7934
|
})
|
|
@@ -7969,7 +7968,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
7969
7968
|
style: { "font-size": "16px !important" }
|
|
7970
7969
|
}, {
|
|
7971
7970
|
default: u(() => [
|
|
7972
|
-
|
|
7971
|
+
U(b(t.$t("weather.renders")), 1)
|
|
7973
7972
|
]),
|
|
7974
7973
|
_: 1
|
|
7975
7974
|
})
|
|
@@ -7981,7 +7980,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
7981
7980
|
(y(!0), M(be, null, we(a.tagLayers.filter((H) => !H.overlays && H.key !== "ice-thickness"), (H) => (y(), M(be, {
|
|
7982
7981
|
key: H.key
|
|
7983
7982
|
}, [
|
|
7984
|
-
d(
|
|
7983
|
+
d(D, {
|
|
7985
7984
|
modelValue: a.renderKey,
|
|
7986
7985
|
"onUpdate:modelValue": e[3] || (e[3] = (ee) => a.renderKey = ee),
|
|
7987
7986
|
label: t.$t(`weather.${H.locale}`),
|
|
@@ -7994,7 +7993,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
7994
7993
|
"hide-details": "",
|
|
7995
7994
|
onClick: (ee) => a.renderKey = a.renderKey === H.key ? "" : H.key
|
|
7996
7995
|
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
|
|
7997
|
-
a.renderKey === "wind-particle" && H.key === "wind-particle" ? (y(), M("div",
|
|
7996
|
+
a.renderKey === "wind-particle" && H.key === "wind-particle" ? (y(), M("div", gs, [
|
|
7998
7997
|
l("span", null, b(t.$t("weather.particleAnimatiom")), 1),
|
|
7999
7998
|
d(k, {
|
|
8000
7999
|
modelValue: a.showWindParticle,
|
|
@@ -8008,7 +8007,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
8008
8007
|
"hide-details": ""
|
|
8009
8008
|
}, null, 8, ["modelValue"])
|
|
8010
8009
|
])) : E("", !0),
|
|
8011
|
-
a.renderKey === "current-particle" && H.key === "current-particle" ? (y(), M("div",
|
|
8010
|
+
a.renderKey === "current-particle" && H.key === "current-particle" ? (y(), M("div", fs, [
|
|
8012
8011
|
l("span", null, b(t.$t("weather.particleAnimatiom")), 1),
|
|
8013
8012
|
d(k, {
|
|
8014
8013
|
modelValue: a.showCurrentParticle,
|
|
@@ -8044,7 +8043,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
8044
8043
|
disabled: !a.autoActive
|
|
8045
8044
|
}, {
|
|
8046
8045
|
default: u(() => [
|
|
8047
|
-
|
|
8046
|
+
U(b(t.$t("weather.coverage")), 1)
|
|
8048
8047
|
]),
|
|
8049
8048
|
_: 1
|
|
8050
8049
|
}, 8, ["color", "disabled"]),
|
|
@@ -8058,7 +8057,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
8058
8057
|
value: "ice-thickness"
|
|
8059
8058
|
}, {
|
|
8060
8059
|
default: u(() => [
|
|
8061
|
-
|
|
8060
|
+
U(b(t.$t("weather.thickness")), 1)
|
|
8062
8061
|
]),
|
|
8063
8062
|
_: 1
|
|
8064
8063
|
}, 8, ["color", "disabled"])
|
|
@@ -8084,7 +8083,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
8084
8083
|
style: { "font-size": "16px !important" }
|
|
8085
8084
|
}, {
|
|
8086
8085
|
default: u(() => [
|
|
8087
|
-
|
|
8086
|
+
U(b(t.$t("weather.forecastModel")), 1)
|
|
8088
8087
|
]),
|
|
8089
8088
|
_: 1
|
|
8090
8089
|
})
|
|
@@ -8093,28 +8092,28 @@ function Bs(t, e, o, i, a, r) {
|
|
|
8093
8092
|
}),
|
|
8094
8093
|
d(p, { class: "" }, {
|
|
8095
8094
|
default: u(() => {
|
|
8096
|
-
var H, ee, je, Ce, he, fe,
|
|
8095
|
+
var H, ee, je, Ce, he, fe, W, ze, $, re, Oe, O, ye, Te, Be, Ee, R, G, Ge, Ve, Ze, Pe, Ye, qe, Xe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, At, Dt, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Wt, Ut, Gt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt;
|
|
8097
8096
|
return [
|
|
8098
|
-
l("div",
|
|
8099
|
-
l("div",
|
|
8100
|
-
l("div",
|
|
8101
|
-
l("div",
|
|
8102
|
-
l("div",
|
|
8103
|
-
l("div",
|
|
8104
|
-
l("div",
|
|
8097
|
+
l("div", ys, b(t.$t("weather.atmospheric")), 1),
|
|
8098
|
+
l("div", bs, b((je = (ee = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : ee.NOAA) == null ? void 0 : je.source) + " " + b((fe = (he = (Ce = a.models) == null ? void 0 : Ce.weather) == null ? void 0 : he.NOAA) == null ? void 0 : fe.spatialResolution) + b(t.$t("units.km")) + " " + b((re = ($ = (ze = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : ze.NOAA) == null ? void 0 : $.meta) == null ? void 0 : re.days) + b(t.$t("units.days")), 1),
|
|
8099
|
+
l("div", ws, b(t.$t("weather.source")) + ": NOAA", 1),
|
|
8100
|
+
l("div", xs, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Te = (ye = (O = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : O.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Te.initialisationTime)), 1),
|
|
8101
|
+
l("div", vs, b((R = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.ECMWF) == null ? void 0 : R.source) + " " + b((Ve = (Ge = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : Ge.ECMWF) == null ? void 0 : Ve.spatialResolution) + b(t.$t("units.km")) + " " + b((qe = (Ye = (Pe = (Ze = a.models) == null ? void 0 : Ze.weather) == null ? void 0 : Pe.ECMWF) == null ? void 0 : Ye.meta) == null ? void 0 : qe.days) + b(t.$t("units.days")), 1),
|
|
8102
|
+
l("div", _s, b(t.$t("weather.source")) + ": ECMWF", 1),
|
|
8103
|
+
l("div", ks, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Je = (Qe = (Ke = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
|
|
8105
8104
|
d(h),
|
|
8106
|
-
l("div",
|
|
8107
|
-
l("div",
|
|
8108
|
-
l("div",
|
|
8109
|
-
l("div",
|
|
8110
|
-
l("div",
|
|
8111
|
-
l("div",
|
|
8112
|
-
l("div",
|
|
8105
|
+
l("div", zs, b(t.$t("weather.wave")), 1),
|
|
8106
|
+
l("div", Ls, b((ot = (tt = (et = ($e = a.models) == null ? void 0 : $e.marine) == null ? void 0 : et.wave) == null ? void 0 : tt.NOAA) == null ? void 0 : ot.source) + " " + b((lt = (rt = (it = (at = a.models) == null ? void 0 : at.marine) == null ? void 0 : it.wave) == null ? void 0 : rt.NOAA) == null ? void 0 : lt.spatialResolution) + b(t.$t("units.km")) + " " + b((dt = (mt = (ct = (nt = (st = a.models) == null ? void 0 : st.marine) == null ? void 0 : nt.wave) == null ? void 0 : ct.NOAA) == null ? void 0 : mt.meta) == null ? void 0 : dt.days) + b(t.$t("units.days")), 1),
|
|
8107
|
+
l("div", Ps, b(t.$t("weather.source")) + ": NOAA", 1),
|
|
8108
|
+
l("div", Cs, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((ft = (gt = (ut = (pt = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.meta) == null ? void 0 : ft.initialisationTime)), 1),
|
|
8109
|
+
l("div", Ts, b((xt = (wt = (bt = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : bt.wave) == null ? void 0 : wt.ECMWF) == null ? void 0 : xt.source) + " " + b((zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.ECMWF) == null ? void 0 : zt.spatialResolution) + b(t.$t("units.km")) + " " + b((St = (Tt = (Ct = (Pt = (Lt = a.models) == null ? void 0 : Lt.marine) == null ? void 0 : Pt.wave) == null ? void 0 : Ct.ECMWF) == null ? void 0 : Tt.meta) == null ? void 0 : St.days) + b(t.$t("units.days")), 1),
|
|
8110
|
+
l("div", Ss, b(t.$t("weather.source")) + ": ECMWF", 1),
|
|
8111
|
+
l("div", Ms, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Rt = (Dt = (At = (It = (Mt = a.models) == null ? void 0 : Mt.marine) == null ? void 0 : It.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Dt.meta) == null ? void 0 : Rt.initialisationTime)), 1),
|
|
8113
8112
|
d(h),
|
|
8114
|
-
l("div",
|
|
8115
|
-
l("div",
|
|
8116
|
-
l("div",
|
|
8117
|
-
l("div",
|
|
8113
|
+
l("div", Is, b(t.$t("weather.currents")), 1),
|
|
8114
|
+
l("div", As, b((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.source) + " " + b((Wt = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.current) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Wt.spatialResolution) + b(t.$t("units.km")) + " " + b((Yt = (Zt = (Vt = (Gt = (Ut = a.models) == null ? void 0 : Ut.marine) == null ? void 0 : Gt.current) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Zt.meta) == null ? void 0 : Yt.days) + b(t.$t("units.days")), 1),
|
|
8115
|
+
l("div", Ds, b(t.$t("weather.source")) + ": ECMWF", 1),
|
|
8116
|
+
l("div", Rs, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Jt = (Qt = (Kt = (Xt = (qt = a.models) == null ? void 0 : qt.marine) == null ? void 0 : Xt.current) == null ? void 0 : Kt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : Jt.initialisationTime)), 1)
|
|
8118
8117
|
];
|
|
8119
8118
|
}),
|
|
8120
8119
|
_: 1
|
|
@@ -8163,7 +8162,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
8163
8162
|
factor: (ge = a.weatherLayers) == null ? void 0 : ge["wind-particle"],
|
|
8164
8163
|
"menu-toggle": o.menuToggle
|
|
8165
8164
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : E("", !0),
|
|
8166
|
-
o.map ? (y(), B(
|
|
8165
|
+
o.map ? (y(), B(A, j({
|
|
8167
8166
|
key: 6,
|
|
8168
8167
|
viewport: a.viewport,
|
|
8169
8168
|
factor: (me = a.weatherLayers) == null ? void 0 : me["current-particle"],
|
|
@@ -8226,7 +8225,7 @@ function Bs(t, e, o, i, a, r) {
|
|
|
8226
8225
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : E("", !0)
|
|
8227
8226
|
]);
|
|
8228
8227
|
}
|
|
8229
|
-
const
|
|
8228
|
+
const Bs = /* @__PURE__ */ V(ts, [["render", Os]]), eo = [
|
|
8230
8229
|
{
|
|
8231
8230
|
rank: 0,
|
|
8232
8231
|
name: "Best Match",
|
|
@@ -8573,8 +8572,8 @@ class Va {
|
|
|
8573
8572
|
}), a;
|
|
8574
8573
|
}
|
|
8575
8574
|
static pickHourly(e, o) {
|
|
8576
|
-
var i, a, r, s, n, c, g, p, h, f, k, v, T, w,
|
|
8577
|
-
const he = typeof o == "string" ? I(o) : o, fe = e == null ? void 0 : e.weather,
|
|
8575
|
+
var i, a, r, s, n, c, g, p, h, f, k, v, T, w, D, S, P, z, L, C, _, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De, Re, ve, H, ee, je, Ce;
|
|
8576
|
+
const he = typeof o == "string" ? I(o) : o, fe = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, ze = I((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), $ = ze.clone().add((n = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : n.at(0), "h"), re = ze.clone().add((p = (g = (c = fe == null ? void 0 : fe[0]) == null ? void 0 : c.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
|
|
8578
8577
|
if (he.isBetween($, re, "millisecond", "[]")) {
|
|
8579
8578
|
const O = he.utc().diff($, "h", !1);
|
|
8580
8579
|
let ye, Te;
|
|
@@ -8592,7 +8591,7 @@ class Va {
|
|
|
8592
8591
|
rh: (T = G == null ? void 0 : G.relative_humidity_2m) == null ? void 0 : T.at(O),
|
|
8593
8592
|
dp: (w = G == null ? void 0 : G.dew_point_2m) == null ? void 0 : w.at(O),
|
|
8594
8593
|
precip: {
|
|
8595
|
-
probability: (
|
|
8594
|
+
probability: (D = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : D.at(O),
|
|
8596
8595
|
sum: (S = G == null ? void 0 : G.precipitation) == null ? void 0 : S.at(O),
|
|
8597
8596
|
sum3Hours: Math.round(Be * 100) / 100,
|
|
8598
8597
|
sum6Hours: Math.round(Ee * 100) / 100
|
|
@@ -8603,7 +8602,7 @@ class Va {
|
|
|
8603
8602
|
visibility: this.m2nm((C = G == null ? void 0 : G.visibility) == null ? void 0 : C.at(O)),
|
|
8604
8603
|
wind: {
|
|
8605
8604
|
speed: (_ = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : _.at(O),
|
|
8606
|
-
kts: (
|
|
8605
|
+
kts: (A = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : A.at(O),
|
|
8607
8606
|
degree: (Z = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : Z.at(O),
|
|
8608
8607
|
bearing: ((q = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : q.at(O)) !== null ? (((X = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : X.at(O)) + 180) % 360 : null,
|
|
8609
8608
|
gusts: (Y = G == null ? void 0 : G.wind_gusts_10m) == null ? void 0 : Y.at(O)
|
|
@@ -8618,9 +8617,9 @@ class Va {
|
|
|
8618
8617
|
});
|
|
8619
8618
|
}
|
|
8620
8619
|
}
|
|
8621
|
-
if (
|
|
8620
|
+
if (W) {
|
|
8622
8621
|
let Be = 0;
|
|
8623
|
-
for (const Ee of
|
|
8622
|
+
for (const Ee of W) {
|
|
8624
8623
|
const R = Ee == null ? void 0 : Ee.hourly;
|
|
8625
8624
|
Te = {
|
|
8626
8625
|
wave: {
|
|
@@ -8682,49 +8681,49 @@ class Va {
|
|
|
8682
8681
|
};
|
|
8683
8682
|
}
|
|
8684
8683
|
static pickDaily(e, o) {
|
|
8685
|
-
var i, a, r, s, n, c, g, p, h, f, k, v, T, w,
|
|
8684
|
+
var i, a, r, s, n, c, g, p, h, f, k, v, T, w, D, S, P, z, L, C, _, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De;
|
|
8686
8685
|
const Re = typeof o == "string" ? I(o) : o, ve = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, ee = I((r = (a = (i = ve == null ? void 0 : ve[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = I((c = (n = (s = ve == null ? void 0 : ve[0]) == null ? void 0 : s.daily) == null ? void 0 : n.time) == null ? void 0 : c.at(-1)), Ce = [];
|
|
8687
8686
|
if (Re.isBetween(ee, je, "millisecond", "[]")) {
|
|
8688
8687
|
let he, fe;
|
|
8689
|
-
const
|
|
8688
|
+
const W = Re.diff(ee, "d", !1);
|
|
8690
8689
|
if (ve)
|
|
8691
8690
|
for (const ze of ve) {
|
|
8692
8691
|
const $ = ze.daily;
|
|
8693
8692
|
he = {
|
|
8694
|
-
code: (g = $.weather_code) == null ? void 0 : g.at(
|
|
8693
|
+
code: (g = $.weather_code) == null ? void 0 : g.at(W),
|
|
8695
8694
|
temp: {
|
|
8696
|
-
max: (p = $.temperature_2m_max) == null ? void 0 : p.at(
|
|
8697
|
-
min: (h = $.temperature_2m_min) == null ? void 0 : h.at(
|
|
8698
|
-
mean: (f = $.temperature_2m_mean) == null ? void 0 : f.at(
|
|
8695
|
+
max: (p = $.temperature_2m_max) == null ? void 0 : p.at(W),
|
|
8696
|
+
min: (h = $.temperature_2m_min) == null ? void 0 : h.at(W),
|
|
8697
|
+
mean: (f = $.temperature_2m_mean) == null ? void 0 : f.at(W)
|
|
8699
8698
|
},
|
|
8700
8699
|
apparentTemp: {
|
|
8701
|
-
max: (k = $.apparent_temperature_max) == null ? void 0 : k.at(
|
|
8702
|
-
min: (v = $.apparent_temperature_min) == null ? void 0 : v.at(
|
|
8700
|
+
max: (k = $.apparent_temperature_max) == null ? void 0 : k.at(W),
|
|
8701
|
+
min: (v = $.apparent_temperature_min) == null ? void 0 : v.at(W)
|
|
8703
8702
|
},
|
|
8704
8703
|
precip: {
|
|
8705
|
-
sum: (T = $.precipitation_sum) == null ? void 0 : T.at(
|
|
8706
|
-
rainSum: (w = $.rain_sum) == null ? void 0 : w.at(
|
|
8707
|
-
snowfallSum: (
|
|
8708
|
-
showersSum: (S = $.showers_sum) == null ? void 0 : S.at(
|
|
8709
|
-
hours: (P = $.precipitation_hours) == null ? void 0 : P.at(
|
|
8710
|
-
probability: (z = $.precipitation_probability_max) == null ? void 0 : z.at(
|
|
8704
|
+
sum: (T = $.precipitation_sum) == null ? void 0 : T.at(W),
|
|
8705
|
+
rainSum: (w = $.rain_sum) == null ? void 0 : w.at(W),
|
|
8706
|
+
snowfallSum: (D = $.snowfall_sum) == null ? void 0 : D.at(W),
|
|
8707
|
+
showersSum: (S = $.showers_sum) == null ? void 0 : S.at(W),
|
|
8708
|
+
hours: (P = $.precipitation_hours) == null ? void 0 : P.at(W),
|
|
8709
|
+
probability: (z = $.precipitation_probability_max) == null ? void 0 : z.at(W)
|
|
8711
8710
|
},
|
|
8712
8711
|
rh: {
|
|
8713
|
-
max: (L = $.relative_humidity_2m_max) == null ? void 0 : L.at(
|
|
8714
|
-
min: (C = $.relative_humidity_2m_min) == null ? void 0 : C.at(
|
|
8715
|
-
mean: (_ = $.relative_humidity_2m_mean) == null ? void 0 : _.at(
|
|
8712
|
+
max: (L = $.relative_humidity_2m_max) == null ? void 0 : L.at(W),
|
|
8713
|
+
min: (C = $.relative_humidity_2m_min) == null ? void 0 : C.at(W),
|
|
8714
|
+
mean: (_ = $.relative_humidity_2m_mean) == null ? void 0 : _.at(W)
|
|
8716
8715
|
},
|
|
8717
8716
|
wind: {
|
|
8718
|
-
speed: (
|
|
8719
|
-
kts: (Z = $.wind_speed_10m_max) == null ? void 0 : Z.at(
|
|
8720
|
-
degree: (q = $.wind_direction_10m_dominant) == null ? void 0 : q.at(
|
|
8721
|
-
gusts: (X = $.wind_gusts_10m_max) == null ? void 0 : X.at(
|
|
8722
|
-
bearing: ((Y = $.wind_direction_10m_dominant) == null ? void 0 : Y.at(
|
|
8717
|
+
speed: (A = $.wind_speed_10m_max) == null ? void 0 : A.at(W),
|
|
8718
|
+
kts: (Z = $.wind_speed_10m_max) == null ? void 0 : Z.at(W),
|
|
8719
|
+
degree: (q = $.wind_direction_10m_dominant) == null ? void 0 : q.at(W),
|
|
8720
|
+
gusts: (X = $.wind_gusts_10m_max) == null ? void 0 : X.at(W),
|
|
8721
|
+
bearing: ((Y = $.wind_direction_10m_dominant) == null ? void 0 : Y.at(W)) !== null ? (((te = $.wind_direction_10m_dominant) == null ? void 0 : te.at(W)) + 180) % 360 : null
|
|
8723
8722
|
}
|
|
8724
8723
|
};
|
|
8725
8724
|
const { name: re, url: Oe, bg: O } = this.parseWeatherCode(he.code, !0);
|
|
8726
8725
|
he.name = re, he.url = Oe, he.bg = O, he.wind.scale = this.beaufort(this.kts2ms(he.wind.kts)), he.wind.direction = this.degree2Direction(he.wind.degree), Ce.push({
|
|
8727
|
-
utc: ee.add(
|
|
8726
|
+
utc: ee.add(W, "d").utc().format(),
|
|
8728
8727
|
model: ze.model,
|
|
8729
8728
|
weather: { ...he }
|
|
8730
8729
|
});
|
|
@@ -8736,25 +8735,25 @@ class Va {
|
|
|
8736
8735
|
fe = {
|
|
8737
8736
|
wave: {
|
|
8738
8737
|
sig: {
|
|
8739
|
-
height: (oe = re.wave_height_max) == null ? void 0 : oe.at(
|
|
8740
|
-
degree: (J = re.wave_direction_dominant) == null ? void 0 : J.at(
|
|
8741
|
-
period: (le = re.wave_period_max) == null ? void 0 : le.at(
|
|
8742
|
-
bearing: ((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(
|
|
8738
|
+
height: (oe = re.wave_height_max) == null ? void 0 : oe.at(W),
|
|
8739
|
+
degree: (J = re.wave_direction_dominant) == null ? void 0 : J.at(W),
|
|
8740
|
+
period: (le = re.wave_period_max) == null ? void 0 : le.at(W),
|
|
8741
|
+
bearing: ((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(W)) !== null ? (((ue = re.wave_direction_dominant) == null ? void 0 : ue.at(W)) + 180) % 360 : null
|
|
8743
8742
|
},
|
|
8744
8743
|
swell: {
|
|
8745
|
-
height: (ce = re.swell_wave_height_max) == null ? void 0 : ce.at(
|
|
8746
|
-
degree: (Q = re.swell_wave_direction_dominant) == null ? void 0 : Q.at(
|
|
8747
|
-
period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(
|
|
8748
|
-
peakPeriod: (ge = re.swell_wave_peak_period_max) == null ? void 0 : ge.at(
|
|
8744
|
+
height: (ce = re.swell_wave_height_max) == null ? void 0 : ce.at(W),
|
|
8745
|
+
degree: (Q = re.swell_wave_direction_dominant) == null ? void 0 : Q.at(W),
|
|
8746
|
+
period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(W),
|
|
8747
|
+
peakPeriod: (ge = re.swell_wave_peak_period_max) == null ? void 0 : ge.at(W),
|
|
8749
8748
|
// bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
|
|
8750
|
-
bearing: ((me = re.swell_wave_direction_dominant) == null ? void 0 : me.at(
|
|
8749
|
+
bearing: ((me = re.swell_wave_direction_dominant) == null ? void 0 : me.at(W)) !== null ? ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(W)) % 360 : null
|
|
8751
8750
|
},
|
|
8752
8751
|
wd: {
|
|
8753
|
-
height: (de = re.wind_wave_height_max) == null ? void 0 : de.at(
|
|
8754
|
-
degree: (ke = re.wind_wave_direction_dominant) == null ? void 0 : ke.at(
|
|
8755
|
-
period: (Me = re.wind_wave_period_max) == null ? void 0 : Me.at(
|
|
8756
|
-
peakPeriod: (Ie = re.wind_wave_peak_period_max) == null ? void 0 : Ie.at(
|
|
8757
|
-
bearing: ((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(
|
|
8752
|
+
height: (de = re.wind_wave_height_max) == null ? void 0 : de.at(W),
|
|
8753
|
+
degree: (ke = re.wind_wave_direction_dominant) == null ? void 0 : ke.at(W),
|
|
8754
|
+
period: (Me = re.wind_wave_period_max) == null ? void 0 : Me.at(W),
|
|
8755
|
+
peakPeriod: (Ie = re.wind_wave_peak_period_max) == null ? void 0 : Ie.at(W),
|
|
8756
|
+
bearing: ((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(W)) !== null ? (((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(W)) + 180) % 360 : null
|
|
8758
8757
|
}
|
|
8759
8758
|
}
|
|
8760
8759
|
}, fe.wave = this.parseWave(fe.wave, he == null ? void 0 : he.wind), Object.assign(Ce[ze], fe), ze++;
|
|
@@ -9162,7 +9161,7 @@ class Va {
|
|
|
9162
9161
|
return isNaN(e) || e <= 0.1 ? o = "Calm" : e <= 0.5 ? o = "Smooth" : e <= 1.25 ? o = "Slight" : e <= 2.5 ? o = "Moderate" : e <= 4 ? o = "Rough" : e <= 6 ? o = "VeryRough" : e <= 9 ? o = "High" : e <= 14 ? o = "VeryHigh" : o = "Precipitous", o;
|
|
9163
9162
|
}
|
|
9164
9163
|
}
|
|
9165
|
-
const
|
|
9164
|
+
const Es = {
|
|
9166
9165
|
name: "IdmTropicals",
|
|
9167
9166
|
props: {
|
|
9168
9167
|
permission: {
|
|
@@ -9323,7 +9322,7 @@ const js = {
|
|
|
9323
9322
|
responseType: /\.(jpg|png)$/.test(g.tropicals) ? "blob" : "json"
|
|
9324
9323
|
}).then((p) => {
|
|
9325
9324
|
var k, v, T;
|
|
9326
|
-
const h =
|
|
9325
|
+
const h = Ua.convert2Geojson(((k = p == null ? void 0 : p.data) == null ? void 0 : k.data) || (p == null ? void 0 : p.data));
|
|
9327
9326
|
((T = (v = p == null ? void 0 : p.config) == null ? void 0 : v.headers) == null ? void 0 : T.key) && h && (this.tropicals = {
|
|
9328
9327
|
data: h,
|
|
9329
9328
|
active: !0,
|
|
@@ -9589,7 +9588,7 @@ const js = {
|
|
|
9589
9588
|
}), k = (/* @__PURE__ */ new Date()).valueOf() - (h + f), console.log("[tropical] add elapsed: ", k, ", total: ", f += k));
|
|
9590
9589
|
}
|
|
9591
9590
|
this.handleDrawCircle();
|
|
9592
|
-
const p =
|
|
9591
|
+
const p = Ua.interpolate(this.tropicals, 1);
|
|
9593
9592
|
this.interpolateData = JSON.parse(JSON.stringify(p)), this.handleDateChange();
|
|
9594
9593
|
}
|
|
9595
9594
|
},
|
|
@@ -9611,7 +9610,7 @@ const js = {
|
|
|
9611
9610
|
), this.showTropicalsInfo = !1;
|
|
9612
9611
|
},
|
|
9613
9612
|
handleDateChange() {
|
|
9614
|
-
var t, e, o, i, a, r, s, n, c, g, p, h, f, k, v, T, w,
|
|
9613
|
+
var t, e, o, i, a, r, s, n, c, g, p, h, f, k, v, T, w, D, S, P, z, L, C, _, A, Z, q, X, Y, te, oe, J;
|
|
9615
9614
|
if ((t = this.interpolateMarkers) == null || t.forEach((le) => le == null ? void 0 : le.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
9616
9615
|
const le = I(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), pe = this.interpolateData.filter((Q) => Q.properties.date === (le == null ? void 0 : le.format()) && !Q.properties.disabled), ue = this.handleComputePolygons(pe), ce = N.featureCollection([...pe]);
|
|
9617
9616
|
ue.forEach((Q) => {
|
|
@@ -9633,7 +9632,7 @@ const js = {
|
|
|
9633
9632
|
for (const Q of pe)
|
|
9634
9633
|
if (!Q.properties.disabled) {
|
|
9635
9634
|
let ie = "#f44336";
|
|
9636
|
-
((n = (s = Q.properties) == null ? void 0 : s.wind) == null ? void 0 : n.kts) < 32 || !((g = (c = Q.properties) == null ? void 0 : c.wind) != null && g.kts) ? ie = "#03f869" : ((h = (p = Q.properties) == null ? void 0 : p.wind) == null ? void 0 : h.kts) >= 32 && ((k = (f = Q.properties) == null ? void 0 : f.wind) == null ? void 0 : k.kts) < 47 ? ie = "#f2f202" : ((T = (v = Q.properties) == null ? void 0 : v.wind) == null ? void 0 : T.kts) >= 47 && ((
|
|
9635
|
+
((n = (s = Q.properties) == null ? void 0 : s.wind) == null ? void 0 : n.kts) < 32 || !((g = (c = Q.properties) == null ? void 0 : c.wind) != null && g.kts) ? ie = "#03f869" : ((h = (p = Q.properties) == null ? void 0 : p.wind) == null ? void 0 : h.kts) >= 32 && ((k = (f = Q.properties) == null ? void 0 : f.wind) == null ? void 0 : k.kts) < 47 ? ie = "#f2f202" : ((T = (v = Q.properties) == null ? void 0 : v.wind) == null ? void 0 : T.kts) >= 47 && ((D = (w = Q.properties) == null ? void 0 : w.wind) == null ? void 0 : D.kts) < 63 ? ie = "#ff9100" : ((P = (S = Q.properties) == null ? void 0 : S.wind) == null ? void 0 : P.kts) >= 63 && ((L = (z = Q.properties) == null ? void 0 : z.wind) == null ? void 0 : L.kts) < 79 ? ie = "#f44336" : ((_ = (C = Q.properties) == null ? void 0 : C.wind) == null ? void 0 : _.kts) >= 79 && ((Z = (A = Q.properties) == null ? void 0 : A.wind) == null ? void 0 : Z.kts) < 94 ? ie = "#f903d0" : ((X = (q = Q.properties) == null ? void 0 : q.wind) == null ? void 0 : X.kts) >= 94 ? ie = "#8702f9" : ie = "#f44336";
|
|
9637
9636
|
const ge = `<svg t="1719918955501"
|
|
9638
9637
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
9639
9638
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -9764,19 +9763,19 @@ const js = {
|
|
|
9764
9763
|
this.$emit("tropicalNotification", t);
|
|
9765
9764
|
}
|
|
9766
9765
|
}
|
|
9767
|
-
},
|
|
9766
|
+
}, js = { class: "idm-tropical-gl4" }, Ns = {
|
|
9768
9767
|
id: "idm-tropical-gl4-info",
|
|
9769
9768
|
class: "idm-tropical-gl4-info"
|
|
9770
|
-
},
|
|
9769
|
+
}, Fs = { class: "pb-1" }, Hs = { class: "text-h6 font-weight-600" }, Ws = {
|
|
9771
9770
|
key: 0,
|
|
9772
9771
|
class: "text-body-1 opacity-70"
|
|
9773
|
-
},
|
|
9772
|
+
}, Us = { class: "text-body-2" }, Gs = { class: "d-flex justify-space-between align-center" }, Vs = { class: "flex-1-1-0" }, Zs = { class: "flex-1-1-0" }, Ys = { class: "py-2 d-flex justify-space-between align-center" }, qs = { class: "flex-1-1-0" }, Xs = { class: "flex-1-1-0" }, Ks = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Qs = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Js = { class: "more" }, $s = {
|
|
9774
9773
|
class: "my-4",
|
|
9775
9774
|
style: { height: "80px" }
|
|
9776
|
-
},
|
|
9777
|
-
function
|
|
9775
|
+
}, en = { class: "pa-1 d-flex justify-space-between align-center" }, tn = { class: "pa-1 d-flex justify-space-between align-center" };
|
|
9776
|
+
function on(t, e, o, i, a, r) {
|
|
9778
9777
|
const s = x("VBtn"), n = x("VTooltip"), c = x("VCardText"), g = x("VDivider"), p = x("VCardActions"), h = x("VCard");
|
|
9779
|
-
return y(), M("div",
|
|
9778
|
+
return y(), M("div", js, [
|
|
9780
9779
|
l("div", {
|
|
9781
9780
|
class: "menu-bar-box transition pa-1",
|
|
9782
9781
|
style: ae({ top: o.top + 134 + "px", right: a.right + "px" })
|
|
@@ -9803,7 +9802,7 @@ function an(t, e, o, i, a, r) {
|
|
|
9803
9802
|
_: 1
|
|
9804
9803
|
}, 8, ["text"])
|
|
9805
9804
|
], 4),
|
|
9806
|
-
He(l("div",
|
|
9805
|
+
He(l("div", Ns, [
|
|
9807
9806
|
d(h, {
|
|
9808
9807
|
width: "400",
|
|
9809
9808
|
elevation: "16"
|
|
@@ -9811,10 +9810,10 @@ function an(t, e, o, i, a, r) {
|
|
|
9811
9810
|
default: u(() => [
|
|
9812
9811
|
d(c, null, {
|
|
9813
9812
|
default: u(() => {
|
|
9814
|
-
var f, k, v, T, w,
|
|
9813
|
+
var f, k, v, T, w, D, S, P, z, L;
|
|
9815
9814
|
return [
|
|
9816
|
-
l("div",
|
|
9817
|
-
l("span",
|
|
9815
|
+
l("div", Fs, [
|
|
9816
|
+
l("span", Hs, b((f = a.activeTropicals) == null ? void 0 : f.name), 1),
|
|
9818
9817
|
(v = (k = a.activeTropicals) == null ? void 0 : k.history) != null && v.level ? (y(), M("span", Ws, ", " + b((w = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : w.level), 1)) : E("", !0)
|
|
9819
9818
|
]),
|
|
9820
9819
|
d(s, {
|
|
@@ -9830,9 +9829,9 @@ function an(t, e, o, i, a, r) {
|
|
|
9830
9829
|
_: 1,
|
|
9831
9830
|
__: [5]
|
|
9832
9831
|
}),
|
|
9833
|
-
l("div",
|
|
9832
|
+
l("div", Us, [
|
|
9834
9833
|
e[6] || (e[6] = l("span", { class: "opacity-70" }, "Last update: ", -1)),
|
|
9835
|
-
l("span", null, b(r.computeTime(((S = (
|
|
9834
|
+
l("span", null, b(r.computeTime(((S = (D = a.activeTropicals) == null ? void 0 : D.history) == null ? void 0 : S.updated) || ((L = (z = (P = a.activeTropicals) == null ? void 0 : P.forecasts) == null ? void 0 : z.filter((C) => !C.disabled)[0]) == null ? void 0 : L.date))), 1)
|
|
9836
9835
|
])
|
|
9837
9836
|
];
|
|
9838
9837
|
}),
|
|
@@ -9841,45 +9840,45 @@ function an(t, e, o, i, a, r) {
|
|
|
9841
9840
|
d(g),
|
|
9842
9841
|
d(c, { class: "text-body-1" }, {
|
|
9843
9842
|
default: u(() => {
|
|
9844
|
-
var f, k, v, T, w,
|
|
9843
|
+
var f, k, v, T, w, D, S, P, z;
|
|
9845
9844
|
return [
|
|
9846
|
-
l("div",
|
|
9847
|
-
l("div",
|
|
9845
|
+
l("div", Gs, [
|
|
9846
|
+
l("div", Vs, [
|
|
9848
9847
|
e[7] || (e[7] = l("label", { class: "opacity-70 pr-1" }, "Wind speed : ", -1)),
|
|
9849
9848
|
l("span", null, b(((k = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : k.kts) || "-") + " kts", 1),
|
|
9850
9849
|
l("span", null, ", BF " + b(r.computeBF(((T = (v = a.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : T.kts) || "-")), 1)
|
|
9851
9850
|
]),
|
|
9852
|
-
l("div",
|
|
9851
|
+
l("div", Zs, [
|
|
9853
9852
|
e[8] || (e[8] = l("label", { class: "opacity-70 pr-1" }, "Pressure : ", -1)),
|
|
9854
|
-
l("span", null, b(((
|
|
9853
|
+
l("span", null, b(((D = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : D.pressure) || "-") + " hPa", 1)
|
|
9855
9854
|
])
|
|
9856
9855
|
]),
|
|
9857
|
-
l("div",
|
|
9858
|
-
l("div",
|
|
9856
|
+
l("div", Ys, [
|
|
9857
|
+
l("div", qs, [
|
|
9859
9858
|
e[9] || (e[9] = l("label", { class: "opacity-70 pr-1" }, "Move Speed : ", -1)),
|
|
9860
9859
|
l("span", null, b(((S = r.computeMovement(a.activeTropicals)) == null ? void 0 : S.kts) || "-") + " kts", 1)
|
|
9861
9860
|
]),
|
|
9862
|
-
l("div",
|
|
9861
|
+
l("div", Xs, [
|
|
9863
9862
|
e[10] || (e[10] = l("label", { class: "opacity-70 pr-1" }, "Move Dir : ", -1)),
|
|
9864
9863
|
l("span", null, b(((P = r.computeMovement(a.activeTropicals)) == null ? void 0 : P.deg) || "-") + "°", 1)
|
|
9865
9864
|
])
|
|
9866
9865
|
]),
|
|
9867
|
-
l("div",
|
|
9866
|
+
l("div", Ks, [
|
|
9868
9867
|
e[11] || (e[11] = l("label", {
|
|
9869
9868
|
class: "opacity-70 pr-1",
|
|
9870
9869
|
style: { width: "max-content" }
|
|
9871
9870
|
}, "Forecast Models : ", -1)),
|
|
9872
|
-
l("div",
|
|
9871
|
+
l("div", Qs, [
|
|
9873
9872
|
(y(!0), M(be, null, we((z = a.activeTropicals) == null ? void 0 : z.forecasts, (L, C) => (y(), B(s, {
|
|
9874
9873
|
key: C,
|
|
9875
9874
|
density: "compact",
|
|
9876
9875
|
variant: L.disabled ? "outlined" : "flat",
|
|
9877
9876
|
color: L.disabled ? "" : "primary",
|
|
9878
|
-
class:
|
|
9877
|
+
class: Ue(["model text-none text-body-1", L.disabled ? "" : "btn-border-2"]),
|
|
9879
9878
|
onClick: (_) => r.handleForecastToggle(L)
|
|
9880
9879
|
}, {
|
|
9881
9880
|
default: u(() => [
|
|
9882
|
-
|
|
9881
|
+
U(b(L.model), 1)
|
|
9883
9882
|
]),
|
|
9884
9883
|
_: 2
|
|
9885
9884
|
}, 1032, ["variant", "color", "class", "onClick"]))), 128))
|
|
@@ -9904,12 +9903,12 @@ function an(t, e, o, i, a, r) {
|
|
|
9904
9903
|
l("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
|
|
9905
9904
|
])),
|
|
9906
9905
|
default: u(() => [
|
|
9907
|
-
e[13] || (e[13] =
|
|
9906
|
+
e[13] || (e[13] = U(" Legend ", -1))
|
|
9908
9907
|
]),
|
|
9909
9908
|
_: 1,
|
|
9910
9909
|
__: [13]
|
|
9911
9910
|
}, 8, ["color"]),
|
|
9912
|
-
l("div",
|
|
9911
|
+
l("div", Js, [
|
|
9913
9912
|
o.permission & a.helper.LEVEL.Supper ? (y(), B(s, {
|
|
9914
9913
|
key: 0,
|
|
9915
9914
|
variant: "text",
|
|
@@ -9918,7 +9917,7 @@ function an(t, e, o, i, a, r) {
|
|
|
9918
9917
|
onClick: e[2] || (e[2] = (f) => r.handleNotification(a.activeTropicals))
|
|
9919
9918
|
}, {
|
|
9920
9919
|
default: u(() => e[14] || (e[14] = [
|
|
9921
|
-
|
|
9920
|
+
U("Notify", -1)
|
|
9922
9921
|
])),
|
|
9923
9922
|
_: 1,
|
|
9924
9923
|
__: [14]
|
|
@@ -9931,7 +9930,7 @@ function an(t, e, o, i, a, r) {
|
|
|
9931
9930
|
onClick: e[3] || (e[3] = (f) => r.handleStrikeProbability(a.activeTropicals))
|
|
9932
9931
|
}, {
|
|
9933
9932
|
default: u(() => e[15] || (e[15] = [
|
|
9934
|
-
|
|
9933
|
+
U("View Report", -1)
|
|
9935
9934
|
])),
|
|
9936
9935
|
_: 1,
|
|
9937
9936
|
__: [15]
|
|
@@ -9943,7 +9942,7 @@ function an(t, e, o, i, a, r) {
|
|
|
9943
9942
|
]),
|
|
9944
9943
|
_: 1
|
|
9945
9944
|
}),
|
|
9946
|
-
l("div",
|
|
9945
|
+
l("div", $s, [
|
|
9947
9946
|
He(d(h, {
|
|
9948
9947
|
width: "400",
|
|
9949
9948
|
elevation: "16"
|
|
@@ -9951,7 +9950,7 @@ function an(t, e, o, i, a, r) {
|
|
|
9951
9950
|
default: u(() => [
|
|
9952
9951
|
d(c, null, {
|
|
9953
9952
|
default: u(() => [
|
|
9954
|
-
He(l("div",
|
|
9953
|
+
He(l("div", en, e[16] || (e[16] = [
|
|
9955
9954
|
l("div", { class: "legend d-flex justify-start align-center" }, [
|
|
9956
9955
|
l("div", { class: "icon td" }),
|
|
9957
9956
|
l("div", { class: "label" }, "TD")
|
|
@@ -9977,9 +9976,9 @@ function an(t, e, o, i, a, r) {
|
|
|
9977
9976
|
l("div", { class: "label" }, "Super TY")
|
|
9978
9977
|
], -1)
|
|
9979
9978
|
]), 512), [
|
|
9980
|
-
[
|
|
9979
|
+
[We, a.showLegend]
|
|
9981
9980
|
]),
|
|
9982
|
-
He(l("div",
|
|
9981
|
+
He(l("div", tn, e[17] || (e[17] = [
|
|
9983
9982
|
l("div", { class: "legend d-flex justify-start align-center" }, [
|
|
9984
9983
|
l("div", { class: "icon history" }),
|
|
9985
9984
|
l("div", { class: "label" }, "History")
|
|
@@ -9997,7 +9996,7 @@ function an(t, e, o, i, a, r) {
|
|
|
9997
9996
|
l("div", { class: "label" }, "50kts Radii")
|
|
9998
9997
|
], -1)
|
|
9999
9998
|
]), 512), [
|
|
10000
|
-
[
|
|
9999
|
+
[We, a.showLegend]
|
|
10001
10000
|
])
|
|
10002
10001
|
]),
|
|
10003
10002
|
_: 1
|
|
@@ -10005,16 +10004,16 @@ function an(t, e, o, i, a, r) {
|
|
|
10005
10004
|
]),
|
|
10006
10005
|
_: 1
|
|
10007
10006
|
}, 512), [
|
|
10008
|
-
[
|
|
10007
|
+
[We, a.showLegend]
|
|
10009
10008
|
])
|
|
10010
10009
|
])
|
|
10011
10010
|
], 512), [
|
|
10012
|
-
[
|
|
10011
|
+
[We, a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend]
|
|
10013
10012
|
])
|
|
10014
10013
|
]);
|
|
10015
10014
|
}
|
|
10016
|
-
const Ya = /* @__PURE__ */ V(
|
|
10017
|
-
const
|
|
10015
|
+
const Ya = /* @__PURE__ */ V(Es, [["render", on]]);
|
|
10016
|
+
const an = {
|
|
10018
10017
|
name: "DateTimePicker",
|
|
10019
10018
|
props: {
|
|
10020
10019
|
locale: {
|
|
@@ -10155,19 +10154,19 @@ const rn = {
|
|
|
10155
10154
|
this.currentDate = t.clone().format("YYYY-MM-DD"), this.currentTime = t.clone().format("HH:00");
|
|
10156
10155
|
}
|
|
10157
10156
|
}
|
|
10158
|
-
},
|
|
10157
|
+
}, rn = { class: "idm-gl4-timepicker" }, ln = {
|
|
10159
10158
|
class: "pa-0",
|
|
10160
10159
|
style: { width: "250px" }
|
|
10161
|
-
},
|
|
10160
|
+
}, sn = {
|
|
10162
10161
|
class: "h-100 pa-0 d-flex flex-column justify-start align-center",
|
|
10163
10162
|
style: { width: "100px" }
|
|
10164
|
-
},
|
|
10163
|
+
}, nn = {
|
|
10165
10164
|
class: "d-flex justify-center align-center text-body-2",
|
|
10166
10165
|
style: { height: "56px" }
|
|
10167
10166
|
};
|
|
10168
|
-
function
|
|
10167
|
+
function cn(t, e, o, i, a, r) {
|
|
10169
10168
|
const s = x("VBtn"), n = x("VDatePicker"), c = x("VDivider"), g = x("VListItemTitle"), p = x("VListItem"), h = x("VList"), f = x("VCardText"), k = x("VCardActions"), v = x("VCard");
|
|
10170
|
-
return y(), M("div",
|
|
10169
|
+
return y(), M("div", rn, [
|
|
10171
10170
|
d(s, {
|
|
10172
10171
|
text: "",
|
|
10173
10172
|
height: "30",
|
|
@@ -10175,7 +10174,7 @@ function mn(t, e, o, i, a, r) {
|
|
|
10175
10174
|
onClick: r.handleOpenDatePicker
|
|
10176
10175
|
}, {
|
|
10177
10176
|
default: u(() => [
|
|
10178
|
-
|
|
10177
|
+
U(b(a.currentDateTime) + " | UTC " + b(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
|
|
10179
10178
|
]),
|
|
10180
10179
|
_: 1
|
|
10181
10180
|
}, 8, ["onClick"]),
|
|
@@ -10186,7 +10185,7 @@ function mn(t, e, o, i, a, r) {
|
|
|
10186
10185
|
default: u(() => [
|
|
10187
10186
|
d(f, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
10188
10187
|
default: u(() => [
|
|
10189
|
-
l("div",
|
|
10188
|
+
l("div", ln, [
|
|
10190
10189
|
d(n, {
|
|
10191
10190
|
modelValue: a.currentDate,
|
|
10192
10191
|
"onUpdate:modelValue": e[0] || (e[0] = (T) => a.currentDate = T),
|
|
@@ -10205,8 +10204,8 @@ function mn(t, e, o, i, a, r) {
|
|
|
10205
10204
|
class: "h-100",
|
|
10206
10205
|
vertical: ""
|
|
10207
10206
|
}),
|
|
10208
|
-
l("div",
|
|
10209
|
-
l("div",
|
|
10207
|
+
l("div", sn, [
|
|
10208
|
+
l("div", nn, b(a.currentTime), 1),
|
|
10210
10209
|
d(h, { class: "pa-0 flex-1-1-0" }, {
|
|
10211
10210
|
default: u(() => [
|
|
10212
10211
|
(y(!0), M(be, null, we(r.hourOptions, (T, w) => (y(), B(p, {
|
|
@@ -10221,10 +10220,10 @@ function mn(t, e, o, i, a, r) {
|
|
|
10221
10220
|
default: u(() => [
|
|
10222
10221
|
d(g, {
|
|
10223
10222
|
class: "text-body-2 text-center",
|
|
10224
|
-
onClick: (
|
|
10223
|
+
onClick: (D) => a.currentTime = T
|
|
10225
10224
|
}, {
|
|
10226
10225
|
default: u(() => [
|
|
10227
|
-
|
|
10226
|
+
U(b(T), 1)
|
|
10228
10227
|
]),
|
|
10229
10228
|
_: 2
|
|
10230
10229
|
}, 1032, ["onClick"])
|
|
@@ -10251,7 +10250,7 @@ function mn(t, e, o, i, a, r) {
|
|
|
10251
10250
|
onClick: r.handleCancelDate
|
|
10252
10251
|
}, {
|
|
10253
10252
|
default: u(() => e[1] || (e[1] = [
|
|
10254
|
-
|
|
10253
|
+
U("Cancel", -1)
|
|
10255
10254
|
])),
|
|
10256
10255
|
_: 1,
|
|
10257
10256
|
__: [1]
|
|
@@ -10264,7 +10263,7 @@ function mn(t, e, o, i, a, r) {
|
|
|
10264
10263
|
onClick: r.handleConfirmDate
|
|
10265
10264
|
}, {
|
|
10266
10265
|
default: u(() => e[2] || (e[2] = [
|
|
10267
|
-
|
|
10266
|
+
U("Confirm", -1)
|
|
10268
10267
|
])),
|
|
10269
10268
|
_: 1,
|
|
10270
10269
|
__: [2]
|
|
@@ -10277,8 +10276,8 @@ function mn(t, e, o, i, a, r) {
|
|
|
10277
10276
|
})) : E("", !0)
|
|
10278
10277
|
]);
|
|
10279
10278
|
}
|
|
10280
|
-
const lo = /* @__PURE__ */ V(
|
|
10281
|
-
const
|
|
10279
|
+
const lo = /* @__PURE__ */ V(an, [["render", cn]]);
|
|
10280
|
+
const mn = {
|
|
10282
10281
|
name: "IdmPoint",
|
|
10283
10282
|
components: {
|
|
10284
10283
|
DateTimePicker: lo
|
|
@@ -10522,10 +10521,10 @@ const dn = {
|
|
|
10522
10521
|
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData)), this.loading = !1;
|
|
10523
10522
|
},
|
|
10524
10523
|
initTableData(t) {
|
|
10525
|
-
var o, i, a, r, s, n, c, g, p, h, f, k, v, T, w,
|
|
10524
|
+
var o, i, a, r, s, n, c, g, p, h, f, k, v, T, w, D, S, P, z, L, C, _, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke;
|
|
10526
10525
|
this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
|
|
10527
10526
|
const e = ((s = ao.pickHourly(t, I(this.form.dateTime))) == null ? void 0 : s[0]) || {};
|
|
10528
|
-
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.roundPrecision((n = e == null ? void 0 : e.weather) == null ? void 0 : n.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((g = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((h = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : h.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.kts, 1) ?? "-", this.currentHourData.windDir = (w = (T = e == null ? void 0 : e.weather) == null ? void 0 : T.wind) == null ? void 0 : w.direction, this.currentHourData.windLevel = this.roundPrecision((S = (
|
|
10527
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.roundPrecision((n = e == null ? void 0 : e.weather) == null ? void 0 : n.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((g = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((h = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : h.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.kts, 1) ?? "-", this.currentHourData.windDir = (w = (T = e == null ? void 0 : e.weather) == null ? void 0 : T.wind) == null ? void 0 : w.direction, this.currentHourData.windLevel = this.roundPrecision((S = (D = e == null ? void 0 : e.weather) == null ? void 0 : D.wind) == null ? void 0 : S.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((z = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((q = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.sig) == null ? void 0 : q.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((Y = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = (oe = (te = e == null ? void 0 : e.wave) == null ? void 0 : te.wd) == null ? void 0 : oe.direction, this.currentHourData.windwavePeriod = this.roundPrecision((le = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : le.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((ue = (pe = e == null ? void 0 : e.wave) == null ? void 0 : pe.swell) == null ? void 0 : ue.height, 1) ?? "-", this.currentHourData.swellDir = (Q = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : Q.direction, this.currentHourData.swellPeriod = this.roundPrecision((ge = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ge.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.roundPrecision((de = e == null ? void 0 : e.current) == null ? void 0 : de.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ke = e == null ? void 0 : e.weather) == null ? void 0 : ke.url;
|
|
10529
10528
|
},
|
|
10530
10529
|
handleBind() {
|
|
10531
10530
|
var t, e;
|
|
@@ -10583,22 +10582,22 @@ const dn = {
|
|
|
10583
10582
|
this.$emit("follow", this.point);
|
|
10584
10583
|
}
|
|
10585
10584
|
}
|
|
10586
|
-
},
|
|
10585
|
+
}, dn = { class: "idm-gl4-spot" }, hn = { class: "d-flex justify-start align-center ga-1 mb-1" }, pn = {
|
|
10587
10586
|
class: "multi-color-icon",
|
|
10588
10587
|
"aria-hidden": "true"
|
|
10589
|
-
},
|
|
10588
|
+
}, un = ["xlink:href"], gn = { class: "d-flex justify-start align-center ga-1 mb-1" }, fn = {
|
|
10590
10589
|
class: "multi-color-icon",
|
|
10591
10590
|
"aria-hidden": "true"
|
|
10592
|
-
},
|
|
10591
|
+
}, yn = ["xlink:href"], bn = { class: "d-flex justify-start align-center ga-1 mb-1" }, wn = {
|
|
10593
10592
|
class: "multi-color-icon",
|
|
10594
10593
|
"aria-hidden": "true"
|
|
10595
|
-
},
|
|
10594
|
+
}, xn = ["xlink:href"], vn = { class: "d-flex justify-start align-center ga-1 mb-1" }, _n = {
|
|
10596
10595
|
class: "multi-color-icon",
|
|
10597
10596
|
"aria-hidden": "true"
|
|
10598
|
-
},
|
|
10599
|
-
function
|
|
10600
|
-
const s = x("VBtn"), n = x("VTooltip"), c = x("VCardTitle"), g = x("VDivider"), p = x("VTextField"), h = x("VCol"), f = x("VRow"), k = x("DateTimePicker"), v = x("VBtnToggle"), T = x("VCardActions"), w = x("VForm"),
|
|
10601
|
-
return y(), M("div",
|
|
10597
|
+
}, kn = ["xlink:href"], zn = { class: "d-flex justify-start align-center" }, Ln = { class: "mx-2" };
|
|
10598
|
+
function Pn(t, e, o, i, a, r) {
|
|
10599
|
+
const s = x("VBtn"), n = x("VTooltip"), c = x("VCardTitle"), g = x("VDivider"), p = x("VTextField"), h = x("VCol"), f = x("VRow"), k = x("DateTimePicker"), v = x("VBtnToggle"), T = x("VCardActions"), w = x("VForm"), D = x("VCardText"), S = x("VCard"), P = x("VIcon");
|
|
10600
|
+
return y(), M("div", dn, [
|
|
10602
10601
|
l("div", {
|
|
10603
10602
|
class: "menu-bar-box transition pa-1",
|
|
10604
10603
|
style: ae({ top: o.top + 174 + "px", right: a.right + "px" })
|
|
@@ -10654,7 +10653,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10654
10653
|
__: [10]
|
|
10655
10654
|
}),
|
|
10656
10655
|
d(g),
|
|
10657
|
-
d(
|
|
10656
|
+
d(D, { class: "text-body-1 py-1" }, {
|
|
10658
10657
|
default: u(() => [
|
|
10659
10658
|
d(w, {
|
|
10660
10659
|
ref: "spotForm",
|
|
@@ -10663,11 +10662,11 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10663
10662
|
onSubmit: io(r.submitForm, ["prevent"])
|
|
10664
10663
|
}, {
|
|
10665
10664
|
default: u(() => [
|
|
10666
|
-
l("div",
|
|
10667
|
-
(y(), M("svg",
|
|
10665
|
+
l("div", hn, [
|
|
10666
|
+
(y(), M("svg", pn, [
|
|
10668
10667
|
l("use", {
|
|
10669
10668
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
10670
|
-
}, null, 8,
|
|
10669
|
+
}, null, 8, un)
|
|
10671
10670
|
])),
|
|
10672
10671
|
e[11] || (e[11] = l("div", null, "Lng", -1))
|
|
10673
10672
|
]),
|
|
@@ -10728,7 +10727,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10728
10727
|
onClick: e[2] || (e[2] = (z) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
|
|
10729
10728
|
}, {
|
|
10730
10729
|
default: u(() => [
|
|
10731
|
-
|
|
10730
|
+
U(b(a.form.lngDirection), 1)
|
|
10732
10731
|
]),
|
|
10733
10732
|
_: 1
|
|
10734
10733
|
})
|
|
@@ -10738,11 +10737,11 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10738
10737
|
]),
|
|
10739
10738
|
_: 1
|
|
10740
10739
|
}),
|
|
10741
|
-
l("div",
|
|
10742
|
-
(y(), M("svg",
|
|
10740
|
+
l("div", gn, [
|
|
10741
|
+
(y(), M("svg", fn, [
|
|
10743
10742
|
l("use", {
|
|
10744
10743
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
10745
|
-
}, null, 8,
|
|
10744
|
+
}, null, 8, yn)
|
|
10746
10745
|
])),
|
|
10747
10746
|
e[14] || (e[14] = l("div", null, "Lat", -1))
|
|
10748
10747
|
]),
|
|
@@ -10806,7 +10805,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10806
10805
|
onClick: e[5] || (e[5] = (z) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
|
|
10807
10806
|
}, {
|
|
10808
10807
|
default: u(() => [
|
|
10809
|
-
|
|
10808
|
+
U(b(a.form.latDirection), 1)
|
|
10810
10809
|
]),
|
|
10811
10810
|
_: 1
|
|
10812
10811
|
})
|
|
@@ -10816,11 +10815,11 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10816
10815
|
]),
|
|
10817
10816
|
_: 1
|
|
10818
10817
|
}),
|
|
10819
|
-
l("div",
|
|
10820
|
-
(y(), M("svg",
|
|
10818
|
+
l("div", bn, [
|
|
10819
|
+
(y(), M("svg", wn, [
|
|
10821
10820
|
l("use", {
|
|
10822
10821
|
"xlink:href": `#icon-date-time-${o.theme}`
|
|
10823
|
-
}, null, 8,
|
|
10822
|
+
}, null, 8, xn)
|
|
10824
10823
|
])),
|
|
10825
10824
|
e[17] || (e[17] = l("div", null, "Date Time", -1))
|
|
10826
10825
|
]),
|
|
@@ -10843,11 +10842,11 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10843
10842
|
]),
|
|
10844
10843
|
_: 1
|
|
10845
10844
|
}),
|
|
10846
|
-
l("div",
|
|
10847
|
-
(y(), M("svg",
|
|
10845
|
+
l("div", vn, [
|
|
10846
|
+
(y(), M("svg", _n, [
|
|
10848
10847
|
l("use", {
|
|
10849
10848
|
"xlink:href": `#icon-forecast-model-${o.theme}`
|
|
10850
|
-
}, null, 8,
|
|
10849
|
+
}, null, 8, kn)
|
|
10851
10850
|
])),
|
|
10852
10851
|
e[18] || (e[18] = l("div", null, "Forecast Model", -1))
|
|
10853
10852
|
]),
|
|
@@ -10872,12 +10871,12 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10872
10871
|
density: "compact",
|
|
10873
10872
|
height: "30",
|
|
10874
10873
|
value: "GFS",
|
|
10875
|
-
class:
|
|
10874
|
+
class: Ue(["text-none flex-1-1-0", a.form.forecastModel === "GFS" ? "" : "btn-border-1"]),
|
|
10876
10875
|
color: a.form.forecastModel === "GFS" ? "primary" : "",
|
|
10877
10876
|
"base-color": ""
|
|
10878
10877
|
}, {
|
|
10879
10878
|
default: u(() => e[19] || (e[19] = [
|
|
10880
|
-
|
|
10879
|
+
U("NOAA", -1)
|
|
10881
10880
|
])),
|
|
10882
10881
|
_: 1,
|
|
10883
10882
|
__: [19]
|
|
@@ -10885,13 +10884,13 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10885
10884
|
d(s, {
|
|
10886
10885
|
density: "compact",
|
|
10887
10886
|
height: "30",
|
|
10888
|
-
class:
|
|
10887
|
+
class: Ue(["text-none flex-1-1-0", a.form.forecastModel === "ECMWF" ? "" : "btn-border-1"]),
|
|
10889
10888
|
color: a.form.forecastModel === "ECMWF" ? "primary" : "",
|
|
10890
10889
|
"base-color": "",
|
|
10891
10890
|
value: "ECMWF"
|
|
10892
10891
|
}, {
|
|
10893
10892
|
default: u(() => e[20] || (e[20] = [
|
|
10894
|
-
|
|
10893
|
+
U("ECMWF", -1)
|
|
10895
10894
|
])),
|
|
10896
10895
|
_: 1,
|
|
10897
10896
|
__: [20]
|
|
@@ -10915,7 +10914,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10915
10914
|
onClick: r.cancelForm
|
|
10916
10915
|
}, {
|
|
10917
10916
|
default: u(() => e[21] || (e[21] = [
|
|
10918
|
-
|
|
10917
|
+
U("Clear", -1)
|
|
10919
10918
|
])),
|
|
10920
10919
|
_: 1,
|
|
10921
10920
|
__: [21]
|
|
@@ -10930,7 +10929,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10930
10929
|
class: "text-none text-body-1"
|
|
10931
10930
|
}, {
|
|
10932
10931
|
default: u(() => e[22] || (e[22] = [
|
|
10933
|
-
|
|
10932
|
+
U("Confirm", -1)
|
|
10934
10933
|
])),
|
|
10935
10934
|
_: 1,
|
|
10936
10935
|
__: [22]
|
|
@@ -10957,9 +10956,9 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10957
10956
|
default: u(() => {
|
|
10958
10957
|
var z, L, C, _;
|
|
10959
10958
|
return [
|
|
10960
|
-
l("div",
|
|
10959
|
+
l("div", zn, [
|
|
10961
10960
|
e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
|
|
10962
|
-
l("div",
|
|
10961
|
+
l("div", Ln, b(r.computeLat(((z = a.form) == null ? void 0 : z.lat) || ((L = a.currentHourData) == null ? void 0 : L.lat))) + "," + b(r.computeLng(((C = a.form) == null ? void 0 : C.lng) || ((_ = a.currentHourData) == null ? void 0 : _.lng))), 1)
|
|
10963
10962
|
]),
|
|
10964
10963
|
d(s, {
|
|
10965
10964
|
class: "mr-n2",
|
|
@@ -10982,7 +10981,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10982
10981
|
_: 1
|
|
10983
10982
|
}),
|
|
10984
10983
|
d(g),
|
|
10985
|
-
d(
|
|
10984
|
+
d(D, { class: "text-body-1 ml-n8" }, {
|
|
10986
10985
|
default: u(() => [
|
|
10987
10986
|
d(f, null, {
|
|
10988
10987
|
default: u(() => [
|
|
@@ -10991,7 +10990,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
10991
10990
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
10992
10991
|
}, {
|
|
10993
10992
|
default: u(() => e[25] || (e[25] = [
|
|
10994
|
-
|
|
10993
|
+
U("Time", -1)
|
|
10995
10994
|
])),
|
|
10996
10995
|
_: 1,
|
|
10997
10996
|
__: [25]
|
|
@@ -11003,7 +11002,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11003
11002
|
default: u(() => {
|
|
11004
11003
|
var z;
|
|
11005
11004
|
return [
|
|
11006
|
-
|
|
11005
|
+
U(b(r.computedTzTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
|
|
11007
11006
|
];
|
|
11008
11007
|
}),
|
|
11009
11008
|
_: 1
|
|
@@ -11018,7 +11017,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11018
11017
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
11019
11018
|
}, {
|
|
11020
11019
|
default: u(() => e[26] || (e[26] = [
|
|
11021
|
-
|
|
11020
|
+
U("LT", -1)
|
|
11022
11021
|
])),
|
|
11023
11022
|
_: 1,
|
|
11024
11023
|
__: [26]
|
|
@@ -11030,7 +11029,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11030
11029
|
default: u(() => {
|
|
11031
11030
|
var z;
|
|
11032
11031
|
return [
|
|
11033
|
-
|
|
11032
|
+
U(b(r.computedLocalTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
|
|
11034
11033
|
];
|
|
11035
11034
|
}),
|
|
11036
11035
|
_: 1
|
|
@@ -11045,7 +11044,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11045
11044
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
11046
11045
|
}, {
|
|
11047
11046
|
default: u(() => e[27] || (e[27] = [
|
|
11048
|
-
|
|
11047
|
+
U("Wind", -1)
|
|
11049
11048
|
])),
|
|
11050
11049
|
_: 1,
|
|
11051
11050
|
__: [27]
|
|
@@ -11055,7 +11054,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11055
11054
|
class: "pa-2 px-0 text-left"
|
|
11056
11055
|
}, {
|
|
11057
11056
|
default: u(() => [
|
|
11058
|
-
|
|
11057
|
+
U(b(a.currentHourData.windDir) + " / " + b(a.currentHourData.windSpeed) + "kts / BF" + b(a.currentHourData.windLevel), 1)
|
|
11059
11058
|
]),
|
|
11060
11059
|
_: 1
|
|
11061
11060
|
}),
|
|
@@ -11064,7 +11063,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11064
11063
|
class: "pa-2 pl-0 ml-n4 text-right opacity-50"
|
|
11065
11064
|
}, {
|
|
11066
11065
|
default: u(() => e[28] || (e[28] = [
|
|
11067
|
-
|
|
11066
|
+
U("Sig Wave", -1)
|
|
11068
11067
|
])),
|
|
11069
11068
|
_: 1,
|
|
11070
11069
|
__: [28]
|
|
@@ -11074,7 +11073,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11074
11073
|
class: "pa-2 px-0 text-left"
|
|
11075
11074
|
}, {
|
|
11076
11075
|
default: u(() => [
|
|
11077
|
-
|
|
11076
|
+
U(b(a.currentHourData.sigwaveDir) + " / " + b(a.currentHourData.sigwaveHeight) + "m / " + b(a.currentHourData.sigwavePeriod) + "s", 1)
|
|
11078
11077
|
]),
|
|
11079
11078
|
_: 1
|
|
11080
11079
|
})
|
|
@@ -11088,7 +11087,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11088
11087
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
11089
11088
|
}, {
|
|
11090
11089
|
default: u(() => e[29] || (e[29] = [
|
|
11091
|
-
|
|
11090
|
+
U("Wind Wave", -1)
|
|
11092
11091
|
])),
|
|
11093
11092
|
_: 1,
|
|
11094
11093
|
__: [29]
|
|
@@ -11098,7 +11097,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11098
11097
|
class: "pa-2 px-0 text-left"
|
|
11099
11098
|
}, {
|
|
11100
11099
|
default: u(() => [
|
|
11101
|
-
|
|
11100
|
+
U(b(a.currentHourData.windwaveDir) + " / " + b(a.currentHourData.windwaveHeight) + "m / " + b(a.currentHourData.windwavePeriod) + "s", 1)
|
|
11102
11101
|
]),
|
|
11103
11102
|
_: 1
|
|
11104
11103
|
}),
|
|
@@ -11107,7 +11106,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11107
11106
|
class: "pa-2 pl-0 ml-n4 text-right opacity-50"
|
|
11108
11107
|
}, {
|
|
11109
11108
|
default: u(() => e[30] || (e[30] = [
|
|
11110
|
-
|
|
11109
|
+
U("Swell", -1)
|
|
11111
11110
|
])),
|
|
11112
11111
|
_: 1,
|
|
11113
11112
|
__: [30]
|
|
@@ -11117,7 +11116,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11117
11116
|
class: "pa-2 px-0 text-left"
|
|
11118
11117
|
}, {
|
|
11119
11118
|
default: u(() => [
|
|
11120
|
-
|
|
11119
|
+
U(b(a.currentHourData.swellDir) + " / " + b(a.currentHourData.swellHeight) + "m / " + b(a.currentHourData.swellPeriod) + "s", 1)
|
|
11121
11120
|
]),
|
|
11122
11121
|
_: 1
|
|
11123
11122
|
})
|
|
@@ -11131,7 +11130,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11131
11130
|
class: "pa-2 pl-0 text-right opacity-50"
|
|
11132
11131
|
}, {
|
|
11133
11132
|
default: u(() => e[31] || (e[31] = [
|
|
11134
|
-
|
|
11133
|
+
U("Current", -1)
|
|
11135
11134
|
])),
|
|
11136
11135
|
_: 1,
|
|
11137
11136
|
__: [31]
|
|
@@ -11141,7 +11140,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11141
11140
|
class: "pa-2 px-0 text-left"
|
|
11142
11141
|
}, {
|
|
11143
11142
|
default: u(() => [
|
|
11144
|
-
|
|
11143
|
+
U(b(a.currentHourData.currentDir) + " / " + b(a.currentHourData.currentSpeed) + "kts", 1)
|
|
11145
11144
|
]),
|
|
11146
11145
|
_: 1
|
|
11147
11146
|
}),
|
|
@@ -11150,7 +11149,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11150
11149
|
class: "pa-2 pl-0 ml-n4 text-right opacity-50"
|
|
11151
11150
|
}, {
|
|
11152
11151
|
default: u(() => e[32] || (e[32] = [
|
|
11153
|
-
|
|
11152
|
+
U("Visibility", -1)
|
|
11154
11153
|
])),
|
|
11155
11154
|
_: 1,
|
|
11156
11155
|
__: [32]
|
|
@@ -11160,7 +11159,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11160
11159
|
class: "pa-2 px-0 text-left"
|
|
11161
11160
|
}, {
|
|
11162
11161
|
default: u(() => [
|
|
11163
|
-
|
|
11162
|
+
U(b(a.currentHourData.visibility) + " nm", 1)
|
|
11164
11163
|
]),
|
|
11165
11164
|
_: 1
|
|
11166
11165
|
})
|
|
@@ -11184,7 +11183,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11184
11183
|
d(P, { color: "warning" })
|
|
11185
11184
|
]),
|
|
11186
11185
|
default: u(() => [
|
|
11187
|
-
e[33] || (e[33] =
|
|
11186
|
+
e[33] || (e[33] = U(" Follow", -1))
|
|
11188
11187
|
]),
|
|
11189
11188
|
_: 1,
|
|
11190
11189
|
__: [33]
|
|
@@ -11197,7 +11196,7 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11197
11196
|
onClick: r.handleMeteoMore
|
|
11198
11197
|
}, {
|
|
11199
11198
|
default: u(() => e[34] || (e[34] = [
|
|
11200
|
-
|
|
11199
|
+
U("Forecast", -1)
|
|
11201
11200
|
])),
|
|
11202
11201
|
_: 1,
|
|
11203
11202
|
__: [34]
|
|
@@ -11208,12 +11207,12 @@ function Cn(t, e, o, i, a, r) {
|
|
|
11208
11207
|
]),
|
|
11209
11208
|
_: 1
|
|
11210
11209
|
}, 512), [
|
|
11211
|
-
[
|
|
11210
|
+
[We, a.showMeteo]
|
|
11212
11211
|
])
|
|
11213
11212
|
]);
|
|
11214
11213
|
}
|
|
11215
|
-
const
|
|
11216
|
-
const
|
|
11214
|
+
const Cn = /* @__PURE__ */ V(mn, [["render", Pn]]);
|
|
11215
|
+
const Tn = {
|
|
11217
11216
|
name: "IdmMeasure",
|
|
11218
11217
|
props: {
|
|
11219
11218
|
map: {
|
|
@@ -11308,13 +11307,13 @@ const Sn = {
|
|
|
11308
11307
|
if ((e == null ? void 0 : e.split("-").length) === 2) {
|
|
11309
11308
|
const f = this.geojson.filter((w) => w.id === e.split("-")[0])[0];
|
|
11310
11309
|
this.pointMarkers[f.id].filter((w) => {
|
|
11311
|
-
var
|
|
11312
|
-
return ((
|
|
11310
|
+
var D;
|
|
11311
|
+
return ((D = w._element) == null ? void 0 : D.id) === e;
|
|
11313
11312
|
})[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (n = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : n.lat]);
|
|
11314
11313
|
let v;
|
|
11315
|
-
f.features.forEach((w,
|
|
11314
|
+
f.features.forEach((w, D) => {
|
|
11316
11315
|
if (w.geometry.type === "Point" && w.properties.id === e.split("-")[1]) {
|
|
11317
|
-
v =
|
|
11316
|
+
v = D;
|
|
11318
11317
|
return;
|
|
11319
11318
|
}
|
|
11320
11319
|
});
|
|
@@ -11563,10 +11562,10 @@ const Sn = {
|
|
|
11563
11562
|
}), this.pointMarkers[t.id] = [], (k = this.tipMarker) == null || k.remove(), this.tipMarker = void 0, e && ((v = this.map) != null && v.getSource(o)) && this.map.removeSource(o), e && ((T = this.map) != null && T.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
|
|
11564
11563
|
}
|
|
11565
11564
|
}
|
|
11566
|
-
},
|
|
11567
|
-
function
|
|
11565
|
+
}, Sn = { class: "idm-gl4-measure" };
|
|
11566
|
+
function Mn(t, e, o, i, a, r) {
|
|
11568
11567
|
const s = x("VBtn"), n = x("VTooltip");
|
|
11569
|
-
return y(), M("div",
|
|
11568
|
+
return y(), M("div", Sn, [
|
|
11570
11569
|
l("div", {
|
|
11571
11570
|
class: "menu-bar-box transition pa-1",
|
|
11572
11571
|
style: ae({ top: o.top + 214 + "px", right: a.right + "px" })
|
|
@@ -11595,8 +11594,8 @@ function In(t, e, o, i, a, r) {
|
|
|
11595
11594
|
], 4)
|
|
11596
11595
|
]);
|
|
11597
11596
|
}
|
|
11598
|
-
const
|
|
11599
|
-
const
|
|
11597
|
+
const In = /* @__PURE__ */ V(Tn, [["render", Mn]]);
|
|
11598
|
+
const An = {
|
|
11600
11599
|
name: "IdmBottomBar",
|
|
11601
11600
|
components: { DateTimePicker: lo },
|
|
11602
11601
|
props: {
|
|
@@ -11714,18 +11713,18 @@ const Dn = {
|
|
|
11714
11713
|
this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
|
|
11715
11714
|
}
|
|
11716
11715
|
}
|
|
11717
|
-
},
|
|
11716
|
+
}, Dn = { class: "idm-bottom-bar-gl4" }, Rn = { class: "date-box d-flex ga-2 mr-2" }, On = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, Bn = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, En = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, jn = {
|
|
11718
11717
|
key: 0,
|
|
11719
11718
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
11720
|
-
},
|
|
11719
|
+
}, Nn = ["onClick"], Fn = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Hn = { class: "text-body-1" };
|
|
11721
11720
|
function Wn(t, e, o, i, a, r) {
|
|
11722
11721
|
const s = x("DateTimePicker"), n = x("VListItemTitle"), c = x("VListItem"), g = x("VList"), p = x("VMenu"), h = x("VBtn"), f = x("VDivider"), k = x("VTooltip");
|
|
11723
|
-
return y(), M("div",
|
|
11722
|
+
return y(), M("div", Dn, [
|
|
11724
11723
|
l("div", {
|
|
11725
11724
|
class: "timeline-box px-2 d-flex justify-start align-center rounded",
|
|
11726
11725
|
style: ae({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
|
|
11727
11726
|
}, [
|
|
11728
|
-
l("div",
|
|
11727
|
+
l("div", Rn, [
|
|
11729
11728
|
d(s, j({
|
|
11730
11729
|
ref: "dateTimePicker",
|
|
11731
11730
|
"date-time": a.currentDateTimeZ,
|
|
@@ -11744,7 +11743,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11744
11743
|
"min-width": "30"
|
|
11745
11744
|
}, {
|
|
11746
11745
|
default: u(() => [
|
|
11747
|
-
|
|
11746
|
+
U(b(a.intervalHour) + " h ", 1),
|
|
11748
11747
|
d(p, { activator: "parent" }, {
|
|
11749
11748
|
default: u(() => [
|
|
11750
11749
|
d(g, { class: "pa-1" }, {
|
|
@@ -11766,7 +11765,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11766
11765
|
onClick: (w) => a.intervalHour = v
|
|
11767
11766
|
}, {
|
|
11768
11767
|
default: u(() => [
|
|
11769
|
-
|
|
11768
|
+
U(b(v) + "h", 1)
|
|
11770
11769
|
]),
|
|
11771
11770
|
_: 2
|
|
11772
11771
|
}, 1032, ["onClick"])
|
|
@@ -11788,7 +11787,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11788
11787
|
class: "mx-2 my-3",
|
|
11789
11788
|
style: { height: "16px" }
|
|
11790
11789
|
}),
|
|
11791
|
-
l("div",
|
|
11790
|
+
l("div", On, [
|
|
11792
11791
|
d(h, {
|
|
11793
11792
|
icon: "",
|
|
11794
11793
|
size: "small",
|
|
@@ -11861,7 +11860,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11861
11860
|
class: "mx-2 my-3",
|
|
11862
11861
|
style: { height: "16px" }
|
|
11863
11862
|
}),
|
|
11864
|
-
l("div",
|
|
11863
|
+
l("div", Bn, [
|
|
11865
11864
|
d(k, {
|
|
11866
11865
|
text: t.$t("weather.windBarbs"),
|
|
11867
11866
|
location: "top"
|
|
@@ -11876,7 +11875,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11876
11875
|
height: "24",
|
|
11877
11876
|
width: "24",
|
|
11878
11877
|
"min-width": "24",
|
|
11879
|
-
onClick: e[3] || (e[3] = (
|
|
11878
|
+
onClick: e[3] || (e[3] = (D) => r.handleClickFastWeather("wind"))
|
|
11880
11879
|
}), {
|
|
11881
11880
|
default: u(() => e[14] || (e[14] = [
|
|
11882
11881
|
l("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
|
|
@@ -11902,7 +11901,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11902
11901
|
height: "24",
|
|
11903
11902
|
width: "24",
|
|
11904
11903
|
"min-width": "24",
|
|
11905
|
-
onClick: e[4] || (e[4] = (
|
|
11904
|
+
onClick: e[4] || (e[4] = (D) => r.handleClickFastWeather("sig-wave-height"))
|
|
11906
11905
|
}), {
|
|
11907
11906
|
default: u(() => [
|
|
11908
11907
|
l("i", j(v, { class: "iconfont icon-a-WaveHeight" }), null, 16)
|
|
@@ -11927,7 +11926,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11927
11926
|
height: "24",
|
|
11928
11927
|
width: "24",
|
|
11929
11928
|
"min-width": "24",
|
|
11930
|
-
onClick: e[5] || (e[5] = (
|
|
11929
|
+
onClick: e[5] || (e[5] = (D) => r.handleClickFastWeather("current-direction"))
|
|
11931
11930
|
}), {
|
|
11932
11931
|
default: u(() => [
|
|
11933
11932
|
l("i", j(v, { class: "iconfont icon-Current" }), null, 16)
|
|
@@ -11965,7 +11964,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11965
11964
|
class: "mx-2 mr-3 my-3",
|
|
11966
11965
|
style: { height: "16px" }
|
|
11967
11966
|
}),
|
|
11968
|
-
l("div",
|
|
11967
|
+
l("div", En, [
|
|
11969
11968
|
d(h, {
|
|
11970
11969
|
text: "",
|
|
11971
11970
|
height: "30",
|
|
@@ -11974,7 +11973,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11974
11973
|
onClick: e[6] || (e[6] = (v) => a.source = "GFS")
|
|
11975
11974
|
}, {
|
|
11976
11975
|
default: u(() => e[15] || (e[15] = [
|
|
11977
|
-
|
|
11976
|
+
U("NOAA", -1)
|
|
11978
11977
|
])),
|
|
11979
11978
|
_: 1,
|
|
11980
11979
|
__: [15]
|
|
@@ -11987,7 +11986,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11987
11986
|
onClick: e[7] || (e[7] = (v) => a.source = "ECMWF")
|
|
11988
11987
|
}, {
|
|
11989
11988
|
default: u(() => e[16] || (e[16] = [
|
|
11990
|
-
|
|
11989
|
+
U("ECMWF", -1)
|
|
11991
11990
|
])),
|
|
11992
11991
|
_: 1,
|
|
11993
11992
|
__: [16]
|
|
@@ -11998,14 +11997,14 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11998
11997
|
class: "timezone-box d-flex flex-column justify-space-between align-end",
|
|
11999
11998
|
style: ae({ right: a.right + "px" })
|
|
12000
11999
|
}, [
|
|
12001
|
-
a.showTimezone ? (y(), M("div",
|
|
12000
|
+
a.showTimezone ? (y(), M("div", jn, [
|
|
12002
12001
|
(y(!0), M(be, null, we(a.offsets, (v) => (y(), M("div", {
|
|
12003
12002
|
key: v,
|
|
12004
12003
|
class: "item rounded text-body-2 hover-active",
|
|
12005
12004
|
onClick: (T) => a.timeZone = v
|
|
12006
|
-
}, b(v < 0 ? v : "+" + v), 9,
|
|
12005
|
+
}, b(v < 0 ? v : "+" + v), 9, Nn))), 128))
|
|
12007
12006
|
])) : E("", !0),
|
|
12008
|
-
l("div",
|
|
12007
|
+
l("div", Fn, [
|
|
12009
12008
|
d(h, {
|
|
12010
12009
|
text: "",
|
|
12011
12010
|
variant: "flat",
|
|
@@ -12015,24 +12014,24 @@ function Wn(t, e, o, i, a, r) {
|
|
|
12015
12014
|
onClick: e[8] || (e[8] = (v) => a.showTimezone = !a.showTimezone)
|
|
12016
12015
|
}, {
|
|
12017
12016
|
default: u(() => [
|
|
12018
|
-
|
|
12017
|
+
U(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
12019
12018
|
]),
|
|
12020
12019
|
_: 1
|
|
12021
12020
|
}),
|
|
12022
|
-
l("span",
|
|
12021
|
+
l("span", Hn, b(a.currentRealTime), 1)
|
|
12023
12022
|
])
|
|
12024
12023
|
], 4)
|
|
12025
12024
|
]);
|
|
12026
12025
|
}
|
|
12027
|
-
const
|
|
12026
|
+
const Un = /* @__PURE__ */ V(An, [["render", Wn]]), Gn = {
|
|
12028
12027
|
name: "IdmGL4",
|
|
12029
12028
|
components: {
|
|
12030
|
-
IdmOtherLayer:
|
|
12031
|
-
IdmWeatherLayer:
|
|
12029
|
+
IdmOtherLayer: Qr,
|
|
12030
|
+
IdmWeatherLayer: Bs,
|
|
12032
12031
|
IdmTropicals: Ya,
|
|
12033
|
-
IdmMeasure:
|
|
12034
|
-
IdmSpot:
|
|
12035
|
-
IdmBottomBar:
|
|
12032
|
+
IdmMeasure: In,
|
|
12033
|
+
IdmSpot: Cn,
|
|
12034
|
+
IdmBottomBar: Un
|
|
12036
12035
|
},
|
|
12037
12036
|
props: {
|
|
12038
12037
|
map: {
|
|
@@ -12084,13 +12083,13 @@ const Gn = /* @__PURE__ */ V(Dn, [["render", Wn]]), Vn = {
|
|
|
12084
12083
|
}
|
|
12085
12084
|
},
|
|
12086
12085
|
methods: {}
|
|
12087
|
-
},
|
|
12086
|
+
}, Vn = {
|
|
12088
12087
|
ref: "mapHomeGl4",
|
|
12089
12088
|
class: "map-gl4-home"
|
|
12090
12089
|
};
|
|
12091
|
-
function
|
|
12090
|
+
function Zn(t, e, o, i, a, r) {
|
|
12092
12091
|
const s = x("IdmOtherLayer"), n = x("IdmWeatherLayer"), c = x("IdmTropicals"), g = x("IdmMeasure"), p = x("IdmSpot"), h = x("IdmBottomBar");
|
|
12093
|
-
return y(), M("div",
|
|
12092
|
+
return y(), M("div", Vn, [
|
|
12094
12093
|
d(s, j({
|
|
12095
12094
|
ref: "idmOtherLayers",
|
|
12096
12095
|
token: o.token,
|
|
@@ -12155,8 +12154,8 @@ function Yn(t, e, o, i, a, r) {
|
|
|
12155
12154
|
}, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
|
|
12156
12155
|
], 512);
|
|
12157
12156
|
}
|
|
12158
|
-
const
|
|
12159
|
-
class
|
|
12157
|
+
const Yn = /* @__PURE__ */ V(Gn, [["render", Zn]]);
|
|
12158
|
+
class qn {
|
|
12160
12159
|
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
12161
12160
|
se(this, "originStyle");
|
|
12162
12161
|
se(this, "mapboxStyle");
|
|
@@ -12164,7 +12163,7 @@ class Xn {
|
|
|
12164
12163
|
se(this, "hi");
|
|
12165
12164
|
se(this, "td");
|
|
12166
12165
|
se(this, "windy");
|
|
12167
|
-
var o, i, a, r, s, n, c, g, p, h, f, k, v, T, w,
|
|
12166
|
+
var o, i, a, r, s, n, c, g, p, h, f, k, v, T, w, D, S, P, z, L, C, _, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De, Re, ve, H, ee, je, Ce, he, fe, W, ze, $, re, Oe, O, ye, Te, Be, Ee, R, G, Ge, Ve, Ze, Pe, Ye, qe, Xe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, At, Dt, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Wt, Ut, Gt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Mo, Io, Ao, Do, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Wo, Uo, Go, Vo, Zo, Yo, qo, Xo, Ko, Qo, Jo, $o, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Aa, Da, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Wa;
|
|
12168
12167
|
this.i4 = {
|
|
12169
12168
|
source: {
|
|
12170
12169
|
type: "raster",
|
|
@@ -30747,11 +30746,11 @@ class Xn {
|
|
|
30747
30746
|
(h = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : h.find((m) => m.id === "loadlines-label"),
|
|
30748
30747
|
(k = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : k.find((m) => m.id === "loadlines-fill"),
|
|
30749
30748
|
(T = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : T.find((m) => m.id === "empty-layer-0"),
|
|
30750
|
-
(
|
|
30749
|
+
(D = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : D.find((m) => m.id === "empty-layer-1"),
|
|
30751
30750
|
(P = (S = this.originStyle) == null ? void 0 : S.light.layers) == null ? void 0 : P.find((m) => m.id === "country-boundaries"),
|
|
30752
30751
|
(L = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : L.find((m) => m.id === "water-outline"),
|
|
30753
30752
|
(_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((m) => m.id === "water-outline2"),
|
|
30754
|
-
(Z = (
|
|
30753
|
+
(Z = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : Z.find((m) => m.id === "empty-layer-2"),
|
|
30755
30754
|
(X = (q = this.originStyle) == null ? void 0 : q.light.layers) == null ? void 0 : X.find((m) => m.id === "water-line-label"),
|
|
30756
30755
|
(te = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : te.find((m) => m.id === "water-point-label"),
|
|
30757
30756
|
(J = (oe = this.originStyle) == null ? void 0 : oe.light.layers) == null ? void 0 : J.find((m) => m.id === "world-12nm-v4-20231025"),
|
|
@@ -30766,7 +30765,7 @@ class Xn {
|
|
|
30766
30765
|
(H = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : H.find((m) => m.id === "country-label"),
|
|
30767
30766
|
(je = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : je.find((m) => m.id === "continent-label"),
|
|
30768
30767
|
(he = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : he.find((m) => m.id === "tide-stations"),
|
|
30769
|
-
(
|
|
30768
|
+
(W = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : W.find((m) => m.id === "empty-layer-3"),
|
|
30770
30769
|
($ = (ze = this.originStyle) == null ? void 0 : ze.light.layers) == null ? void 0 : $.find((m) => m.id === "empty-layer-4")
|
|
30771
30770
|
]
|
|
30772
30771
|
},
|
|
@@ -30829,8 +30828,8 @@ class Xn {
|
|
|
30829
30828
|
zoom: 12,
|
|
30830
30829
|
fog: (Ft = this.originStyle) == null ? void 0 : Ft.satellite.fog,
|
|
30831
30830
|
imports: (Ht = this.originStyle) == null ? void 0 : Ht.satellite.imports,
|
|
30832
|
-
sources: (
|
|
30833
|
-
sprite: (
|
|
30831
|
+
sources: (Wt = this.originStyle) == null ? void 0 : Wt.satellite.sources,
|
|
30832
|
+
sprite: (Ut = this.originStyle) == null ? void 0 : Ut.satellite.sprite,
|
|
30834
30833
|
glyphs: (Gt = this.originStyle) == null ? void 0 : Gt.satellite.glyphs,
|
|
30835
30834
|
projection: (Vt = this.originStyle) == null ? void 0 : Vt.satellite.projection,
|
|
30836
30835
|
created: "2025-07-25T03:53:24.667Z",
|
|
@@ -30861,8 +30860,8 @@ class Xn {
|
|
|
30861
30860
|
(Bo = (Oo = this.originStyle) == null ? void 0 : Oo.satellite.layers) == null ? void 0 : Bo.find((m) => m.id === "tide-stations"),
|
|
30862
30861
|
(jo = (Eo = this.originStyle) == null ? void 0 : Eo.satellite.layers) == null ? void 0 : jo.find((m) => m.id === "ice-area-fill"),
|
|
30863
30862
|
(Fo = (No = this.originStyle) == null ? void 0 : No.satellite.layers) == null ? void 0 : Fo.find((m) => m.id === "ice-area-line"),
|
|
30864
|
-
(
|
|
30865
|
-
(Go = (
|
|
30863
|
+
(Wo = (Ho = this.originStyle) == null ? void 0 : Ho.satellite.layers) == null ? void 0 : Wo.find((m) => m.id === "empty-layer-3"),
|
|
30864
|
+
(Go = (Uo = this.originStyle) == null ? void 0 : Uo.satellite.layers) == null ? void 0 : Go.find((m) => m.id === "empty-layer-4")
|
|
30866
30865
|
]
|
|
30867
30866
|
},
|
|
30868
30867
|
nautical: {
|
|
@@ -30902,7 +30901,7 @@ class Xn {
|
|
|
30902
30901
|
(Ba = (Oa = this.originStyle) == null ? void 0 : Oa.light.layers) == null ? void 0 : Ba.find((m) => m.id === "continent-label"),
|
|
30903
30902
|
(ja = (Ea = this.originStyle) == null ? void 0 : Ea.nautical.layers) == null ? void 0 : ja.find((m) => m.id === "tide-stations"),
|
|
30904
30903
|
(Fa = (Na = this.originStyle) == null ? void 0 : Na.nautical.layers) == null ? void 0 : Fa.find((m) => m.id === "empty-layer-3"),
|
|
30905
|
-
(
|
|
30904
|
+
(Wa = (Ha = this.originStyle) == null ? void 0 : Ha.nautical.layers) == null ? void 0 : Wa.find((m) => m.id === "empty-layer-4")
|
|
30906
30905
|
],
|
|
30907
30906
|
created: "2025-07-22T02:15:53.587Z",
|
|
30908
30907
|
modified: "2025-08-07T10:15:43.870Z",
|
|
@@ -30915,7 +30914,7 @@ class Xn {
|
|
|
30915
30914
|
};
|
|
30916
30915
|
}
|
|
30917
30916
|
}
|
|
30918
|
-
const
|
|
30917
|
+
const Xn = {
|
|
30919
30918
|
name: "MapInitial",
|
|
30920
30919
|
props: {
|
|
30921
30920
|
token: {
|
|
@@ -30968,7 +30967,7 @@ const Kn = {
|
|
|
30968
30967
|
methods: {
|
|
30969
30968
|
async initOnlineMap() {
|
|
30970
30969
|
var e;
|
|
30971
|
-
(e = this.map) == null || e.remove(), this.map = void 0, this.helper = new
|
|
30970
|
+
(e = this.map) == null || e.remove(), this.map = void 0, this.helper = new qn(this.token), xe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
|
|
30972
30971
|
const t = new xe.Map({
|
|
30973
30972
|
container: "map",
|
|
30974
30973
|
// style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
|
|
@@ -31008,16 +31007,16 @@ const Kn = {
|
|
|
31008
31007
|
this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
|
|
31009
31008
|
}
|
|
31010
31009
|
}
|
|
31011
|
-
},
|
|
31012
|
-
function
|
|
31010
|
+
}, Kn = { class: "mapbox-initial-gl4" }, Qn = { class: "v-btn--variant-elevated rounded" }, Jn = { class: "zoom" };
|
|
31011
|
+
function $n(t, e, o, i, a, r) {
|
|
31013
31012
|
const s = x("VBtn");
|
|
31014
|
-
return y(), M("div",
|
|
31013
|
+
return y(), M("div", Kn, [
|
|
31015
31014
|
e[2] || (e[2] = l("div", { id: "map" }, null, -1)),
|
|
31016
31015
|
l("div", {
|
|
31017
31016
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
31018
31017
|
style: ae({ top: o.top + 268 + "px", right: a.right + "px" })
|
|
31019
31018
|
}, [
|
|
31020
|
-
l("div",
|
|
31019
|
+
l("div", Qn, [
|
|
31021
31020
|
d(s, {
|
|
31022
31021
|
"min-width": "32",
|
|
31023
31022
|
width: "32",
|
|
@@ -31031,7 +31030,7 @@ function ec(t, e, o, i, a, r) {
|
|
|
31031
31030
|
_: 1,
|
|
31032
31031
|
__: [0]
|
|
31033
31032
|
}, 8, ["onClick"]),
|
|
31034
|
-
l("div",
|
|
31033
|
+
l("div", Jn, b(Math.floor(a.zoom)), 1),
|
|
31035
31034
|
d(s, {
|
|
31036
31035
|
"min-width": "32",
|
|
31037
31036
|
width: "32",
|
|
@@ -31048,22 +31047,22 @@ function ec(t, e, o, i, a, r) {
|
|
|
31048
31047
|
])
|
|
31049
31048
|
], 4),
|
|
31050
31049
|
e[3] || (e[3] = l("div", { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-body-2 text-label" }, [
|
|
31051
|
-
|
|
31050
|
+
U(" Copyright: © 2023-2025 ormwx.com "),
|
|
31052
31051
|
l("span", { class: "text-decoration-underline" }, "沪ICP备18039043号-6")
|
|
31053
31052
|
], -1))
|
|
31054
31053
|
]);
|
|
31055
31054
|
}
|
|
31056
|
-
const
|
|
31055
|
+
const ec = /* @__PURE__ */ V(Xn, [["render", $n]]), hc = {
|
|
31057
31056
|
install(t) {
|
|
31058
|
-
t.component("MapInitial",
|
|
31057
|
+
t.component("MapInitial", ec), t.component("MapboxGL", Yn), t.component("TropicalGL", Ya), t.component("LatLngGL", Za), t.component("DateTimePicker", lo);
|
|
31059
31058
|
}
|
|
31060
31059
|
};
|
|
31061
31060
|
export {
|
|
31062
31061
|
lo as DateTimePicker,
|
|
31063
31062
|
Za as LatLngGL,
|
|
31064
|
-
|
|
31065
|
-
|
|
31066
|
-
|
|
31063
|
+
ec as MapInitial,
|
|
31064
|
+
Yn as MapboxGL,
|
|
31065
|
+
hc as MapboxGLPlugin,
|
|
31067
31066
|
_e as ParticleSchema,
|
|
31068
31067
|
Ya as TropicalGL,
|
|
31069
31068
|
ro as Viewport,
|