@idmwx/idmui-gl4 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 Ue, toDisplayString as b, Fragment as be, renderList as we, createTextVNode as W, createCommentVNode as E, normalizeStyle as ae, mergeProps as j, normalizeClass as We } from "vue";
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 Wa, LaneHelper as Fe } from "@idm-plugin/geo";
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
- [Ue, a.showZone]
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
- [Ue, a.showInfo]
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 Ui = /* @__PURE__ */ V(Fi, [["render", Hi]]);
1286
- const Wi = {
1285
+ const Wi = /* @__PURE__ */ V(Fi, [["render", Hi]]);
1286
+ const Ui = {
1287
1287
  name: "IdmTideStations",
1288
1288
  props: {
1289
1289
  map: {
@@ -1580,30 +1580,30 @@ const Wi = {
1580
1580
  this.showDetail = !1;
1581
1581
  }
1582
1582
  }
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: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Ki = { 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" }, Qi = { class: "summary-box w-100" }, Ji = { class: "d-flex justify-space-between align-center py-2" }, $i = { class: "d-flex justify-center align-center text-h6 ga-2" }, er = {
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 = {
1584
1584
  class: "multi-color-icon",
1585
1585
  "aria-hidden": "true"
1586
- }, tr = ["xlink:href"], or = { class: "gray-card rounded d-flex flex-column ga-4 pa-4" }, ar = { class: "w-100 d-flex justify-start align-center" }, ir = { class: "w-30 text-label font-weight-400" }, rr = { class: "flex-1-1-0" }, lr = { class: "w-100 d-flex justify-start align-center" }, sr = { class: "w-30 text-label font-weight-400" }, nr = { class: "flex-1-1-0" }, cr = { class: "w-100 d-flex justify-start align-center" }, mr = { class: "w-30 text-label font-weight-400" }, dr = { class: "flex-1-1-0" }, hr = { class: "table-box w-100 mt-2 mb-4 flex-1-1-0 d-flex flex-column justify-start align-center" }, pr = { class: "w-100 d-flex justify-space-between align-center py-2" }, ur = { class: "d-flex justify-center align-center text-h6 ga-2" }, gr = {
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 = {
1587
1587
  class: "multi-color-icon",
1588
1588
  "aria-hidden": "true"
1589
- }, fr = ["xlink:href"], yr = { class: "w-100 gray-card rounded pa-4 flex-1-1-0 d-flex flex-column justify-center align-center" }, br = {
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 = {
1590
1590
  class: "w-100 flex-1-1-0 py-4",
1591
1591
  ref: "tideEchart"
1592
- }, wr = {
1592
+ }, br = {
1593
1593
  "fixed-header": "",
1594
1594
  density: "compact",
1595
1595
  class: "w-100 tide-table bg-none"
1596
- }, xr = {
1596
+ }, wr = {
1597
1597
  class: "px-1 text-left text-label font-weight-400",
1598
1598
  width: "120"
1599
- }, vr = {
1599
+ }, xr = {
1600
1600
  class: "px-1 text-left text-label font-weight-400",
1601
1601
  width: "120"
1602
- }, _r = {
1602
+ }, vr = {
1603
1603
  class: "px-1 text-left text-label font-weight-400",
1604
1604
  width: "120"
1605
1605
  };
1606
- function kr(t, e, o, i, a, r) {
1606
+ function _r(t, e, o, i, a, r) {
1607
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");
1608
1608
  return y(), M("div", null, [
1609
1609
  He(d(n, { id: "idmTidalInfo" }, {
@@ -1625,7 +1625,7 @@ function kr(t, e, o, i, a, r) {
1625
1625
  ]),
1626
1626
  _: 1
1627
1627
  }, 512), [
1628
- [Ue, a.showInfo]
1628
+ [We, a.showInfo]
1629
1629
  ]),
1630
1630
  a.showDetail ? (y(), B(n, {
1631
1631
  key: 0,
@@ -1636,7 +1636,7 @@ function kr(t, e, o, i, a, r) {
1636
1636
  return [
1637
1637
  d(g, { class: "w-100" }, {
1638
1638
  default: u(() => {
1639
- var w, A;
1639
+ var w;
1640
1640
  return [
1641
1641
  l("div", Yi, [
1642
1642
  l("div", qi, [
@@ -1647,7 +1647,7 @@ function kr(t, e, o, i, a, r) {
1647
1647
  density: "compact",
1648
1648
  variant: "plain",
1649
1649
  class: "mr-n2",
1650
- onClick: e[0] || (e[0] = (S) => a.showDetail = !1)
1650
+ onClick: e[0] || (e[0] = (D) => a.showDetail = !1)
1651
1651
  }, {
1652
1652
  default: u(() => e[3] || (e[3] = [
1653
1653
  l("i", { class: "iconfont icon-close opacity-70 text-h4" }, null, -1)
@@ -1656,59 +1656,56 @@ function kr(t, e, o, i, a, r) {
1656
1656
  __: [3]
1657
1657
  })
1658
1658
  ]),
1659
- l("div", Xi, [
1660
- e[5] || (e[5] = l("div", null, "tide station", -1)),
1661
- l("div", null, [
1662
- e[4] || (e[4] = l("label", null, "UN/LOCODE: ", -1)),
1663
- l("span", null, b((A = a.station) == null ? void 0 : A.Code), 1)
1664
- ])
1665
- ])
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))
1666
1662
  ];
1667
1663
  }),
1668
- _: 1
1664
+ _: 1,
1665
+ __: [4]
1669
1666
  }),
1670
1667
  d(p, { class: "w-100" }),
1671
- l("div", Ki, [
1672
- l("div", Qi, [
1673
- l("div", Ji, [
1674
- l("div", $i, [
1675
- (y(), M("svg", er, [
1668
+ l("div", Xi, [
1669
+ l("div", Ki, [
1670
+ l("div", Qi, [
1671
+ l("div", Ji, [
1672
+ (y(), M("svg", $i, [
1676
1673
  l("use", {
1677
1674
  "xlink:href": `#icon-title-${o.theme}`
1678
- }, null, 8, tr)
1675
+ }, null, 8, er)
1679
1676
  ])),
1680
- e[6] || (e[6] = l("div", null, "Summary", -1))
1677
+ e[5] || (e[5] = l("div", null, "Summary", -1))
1681
1678
  ]),
1682
- e[7] || (e[7] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
1679
+ e[6] || (e[6] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
1683
1680
  ]),
1684
- l("div", or, [
1685
- l("div", ar, [
1686
- l("div", ir, b(t.$t("tide.region")), 1),
1687
- l("div", rr, b(((f = a.station) == null ? void 0 : f.Country) ?? ((k = a.station) == null ? void 0 : k.city) ?? "-"), 1)
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)
1688
1685
  ]),
1689
- l("div", lr, [
1690
- l("div", sr, b(t.$t("tide.position")), 1),
1691
- l("div", nr, b(r.computeLng((v = a.station) == null ? void 0 : v.lng) ?? "-") + " , " + b(r.computeLat((T = a.station) == null ? void 0 : T.lat) ?? "-"), 1)
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)
1692
1689
  ]),
1693
- l("div", cr, [
1694
- l("div", mr, b(t.$t("time.localTime")), 1),
1695
- l("div", dr, b(r.computeLocalTime(o.realTime, a.station) ?? "-"), 1)
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)
1696
1693
  ])
1697
1694
  ])
1698
1695
  ]),
1699
- l("div", hr, [
1700
- l("div", pr, [
1701
- l("div", ur, [
1702
- (y(), M("svg", gr, [
1696
+ l("div", dr, [
1697
+ l("div", hr, [
1698
+ l("div", pr, [
1699
+ (y(), M("svg", ur, [
1703
1700
  l("use", {
1704
1701
  "xlink:href": `#icon-title-${o.theme}`
1705
- }, null, 8, fr)
1702
+ }, null, 8, gr)
1706
1703
  ])),
1707
- e[8] || (e[8] = l("div", null, "Tide Times", -1))
1704
+ e[7] || (e[7] = l("div", null, "Tide Times", -1))
1708
1705
  ]),
1709
- e[9] || (e[9] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
1706
+ e[8] || (e[8] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
1710
1707
  ]),
1711
- l("div", yr, [
1708
+ l("div", fr, [
1712
1709
  d(h, {
1713
1710
  modelValue: a.currentIndex,
1714
1711
  "onUpdate:modelValue": e[1] || (e[1] = (w) => a.currentIndex = w),
@@ -1728,37 +1725,37 @@ function kr(t, e, o, i, a, r) {
1728
1725
  value: w.index
1729
1726
  }, {
1730
1727
  default: u(() => [
1731
- W(b(w.label), 1)
1728
+ U(b(w.label), 1)
1732
1729
  ]),
1733
1730
  _: 2
1734
1731
  }, 1032, ["value"]))), 256))
1735
1732
  ]),
1736
1733
  _: 1
1737
1734
  }, 8, ["modelValue"]),
1738
- l("div", br, null, 512),
1739
- l("table", wr, [
1735
+ l("div", yr, null, 512),
1736
+ l("table", br, [
1740
1737
  l("tbody", null, [
1741
1738
  l("tr", null, [
1742
- l("th", xr, b(t.$t("tide.tide")) + " ( m )", 1),
1743
- (y(!0), M(be, null, we(a.tideTableData, (w, A) => {
1739
+ l("th", wr, b(t.$t("tide.tide")) + " ( m )", 1),
1740
+ (y(!0), M(be, null, we(a.tideTableData, (w, D) => {
1744
1741
  var S;
1745
1742
  return y(), M("td", {
1746
- key: w.type + "-" + A,
1743
+ key: w.type + "-" + D,
1747
1744
  class: "px-1 text-center"
1748
1745
  }, b(t.$t(`tide.${(S = w == null ? void 0 : w.type) == null ? void 0 : S.toLowerCase()}`)), 1);
1749
1746
  }), 128))
1750
1747
  ]),
1751
1748
  l("tr", null, [
1752
- l("th", vr, b(t.$t("tide.datum")), 1),
1753
- (y(!0), M(be, null, we(a.tideTableData, (w, A) => (y(), M("td", {
1754
- key: w.date + "-" + A,
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,
1755
1752
  class: "px-1 text-center"
1756
1753
  }, b(r.computeHourLT(w == null ? void 0 : w.date, a.station)) + " LT", 1))), 128))
1757
1754
  ]),
1758
1755
  l("tr", null, [
1759
- l("th", _r, b(t.$t("tide.chartDatum")), 1),
1760
- (y(!0), M(be, null, we(a.tideTableData, (w, A) => (y(), M("td", {
1761
- key: w.height + "-" + A,
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,
1762
1759
  class: "px-1 text-center"
1763
1760
  }, b((w == null ? void 0 : w.height) ?? "-") + " m", 1))), 128))
1764
1761
  ])
@@ -1773,7 +1770,7 @@ function kr(t, e, o, i, a, r) {
1773
1770
  })) : E("", !0)
1774
1771
  ]);
1775
1772
  }
1776
- const zr = /* @__PURE__ */ V(Wi, [["render", kr], ["__scopeId", "data-v-5b47ddcf"]]), Lr = {
1773
+ const kr = /* @__PURE__ */ V(Ui, [["render", _r], ["__scopeId", "data-v-c8a30719"]]), zr = {
1777
1774
  name: "IdmIceAreas",
1778
1775
  props: {
1779
1776
  map: {
@@ -1810,11 +1807,11 @@ const zr = /* @__PURE__ */ V(Wi, [["render", kr], ["__scopeId", "data-v-5b47ddcf
1810
1807
  }
1811
1808
  }
1812
1809
  };
1813
- function Pr(t, e, o, i, a, r) {
1810
+ function Lr(t, e, o, i, a, r) {
1814
1811
  return null;
1815
1812
  }
1816
- const Cr = /* @__PURE__ */ V(Lr, [["render", Pr]]);
1817
- const Tr = {
1813
+ const Pr = /* @__PURE__ */ V(zr, [["render", Lr]]);
1814
+ const Cr = {
1818
1815
  name: "IdmLatLng",
1819
1816
  props: {
1820
1817
  map: {
@@ -1984,7 +1981,7 @@ const Tr = {
1984
1981
  }
1985
1982
  }
1986
1983
  };
1987
- function Sr(t, e, o, i, a, r) {
1984
+ function Tr(t, e, o, i, a, r) {
1988
1985
  var s, n, c;
1989
1986
  return y(), M("div", {
1990
1987
  class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
@@ -1995,8 +1992,8 @@ function Sr(t, e, o, i, a, r) {
1995
1992
  l("div", null, b((c = a.lngLat) == null ? void 0 : c.str), 1)
1996
1993
  ], 4);
1997
1994
  }
1998
- const Za = /* @__PURE__ */ V(Tr, [["render", Sr]]);
1999
- const Mr = {
1995
+ const Za = /* @__PURE__ */ V(Cr, [["render", Tr]]);
1996
+ const Sr = {
2000
1997
  name: "IdmFollowPort",
2001
1998
  props: {
2002
1999
  map: {
@@ -2907,8 +2904,8 @@ const Mr = {
2907
2904
  this.showInfo = !1, this.map.getCanvas().style.cursor = "grab";
2908
2905
  }
2909
2906
  }
2910
- }, Ir = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Ar = { class: "d-flex justify-start align-center text-label" }, Dr = { class: "d-flex justify-start align-center text-label" };
2911
- function Rr(t, e, o, i, a, r) {
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) {
2912
2909
  const s = x("v-card-text"), n = x("v-card");
2913
2910
  return He((y(), B(n, {
2914
2911
  id: "idmFollowPortInfo",
@@ -2917,12 +2914,12 @@ function Rr(t, e, o, i, a, r) {
2917
2914
  default: u(() => [
2918
2915
  d(s, { class: "text-body-1 pr-8" }, {
2919
2916
  default: u(() => [
2920
- l("div", Ir, [
2917
+ l("div", Mr, [
2921
2918
  e[1] || (e[1] = l("div", null, "port", -1)),
2922
- l("div", Ar, [
2919
+ l("div", Ir, [
2923
2920
  l("span", null, b(a.port.name ?? "-"), 1)
2924
2921
  ]),
2925
- l("div", Dr, [
2922
+ l("div", Ar, [
2926
2923
  e[0] || (e[0] = l("label", { class: "pr-1" }, "LoCode : ", -1)),
2927
2924
  l("span", null, b(a.port.loCode ?? "-"), 1)
2928
2925
  ])
@@ -2933,10 +2930,10 @@ function Rr(t, e, o, i, a, r) {
2933
2930
  ]),
2934
2931
  _: 1
2935
2932
  }, 512)), [
2936
- [Ue, a.showInfo]
2933
+ [We, a.showInfo]
2937
2934
  ]);
2938
2935
  }
2939
- const Or = /* @__PURE__ */ V(Mr, [["render", Rr], ["__scopeId", "data-v-de5a1fa3"]]), Br = {
2936
+ const Rr = /* @__PURE__ */ V(Sr, [["render", Dr], ["__scopeId", "data-v-de5a1fa3"]]), Or = {
2940
2937
  name: "IdmFollowPosition",
2941
2938
  props: {
2942
2939
  map: {
@@ -3843,11 +3840,11 @@ const Or = /* @__PURE__ */ V(Mr, [["render", Rr], ["__scopeId", "data-v-de5a1fa3
3843
3840
  }
3844
3841
  }
3845
3842
  };
3846
- function Er(t, e, o, i, a, r) {
3843
+ function Br(t, e, o, i, a, r) {
3847
3844
  return null;
3848
3845
  }
3849
- const jr = /* @__PURE__ */ V(Br, [["render", Er]]);
3850
- const Nr = {
3846
+ const Er = /* @__PURE__ */ V(Or, [["render", Br]]);
3847
+ const jr = {
3851
3848
  name: "IdmOtherLayerr",
3852
3849
  components: {
3853
3850
  IdmWarZone: oi,
@@ -3862,12 +3859,12 @@ const Nr = {
3862
3859
  IdmTerminator: Di,
3863
3860
  IdmWorld12nm: Bi,
3864
3861
  IdmWorldMarine: Ni,
3865
- IdmChinaRoute: Ui,
3866
- IdmTideStations: zr,
3867
- IdmIceAreas: Cr,
3862
+ IdmChinaRoute: Wi,
3863
+ IdmTideStations: kr,
3864
+ IdmIceAreas: Pr,
3868
3865
  IdmLatLng: Za,
3869
- IdmFollowPort: Or,
3870
- IdmFollowPosition: jr
3866
+ IdmFollowPort: Rr,
3867
+ IdmFollowPosition: Er
3871
3868
  },
3872
3869
  props: {
3873
3870
  map: {
@@ -4070,27 +4067,27 @@ const Nr = {
4070
4067
  this.layerWeight = e, this.fetchOtherLayers({ all: !0 });
4071
4068
  }
4072
4069
  }
4073
- }, Fr = { class: "idm-gl4-other-layer" }, Hr = { class: "header-box d-flex justify-space-between align-center px-4" }, Ur = { class: "text-h5 font-weight-medium" }, Wr = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, Gr = { class: "layers-body mt-4 d-flex justify-start align-center flex-wrap" }, Vr = ["onClick"], Zr = {
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 = {
4074
4071
  key: 0,
4075
4072
  src: "https://osshz.idmwx.com/asset/dark-map.png",
4076
4073
  class: "border rounded-sm"
4077
- }, Yr = {
4074
+ }, Zr = {
4078
4075
  key: 1,
4079
4076
  src: "https://osshz.idmwx.com/asset/nautical-map.png",
4080
4077
  class: "border rounded-sm"
4081
- }, qr = {
4078
+ }, Yr = {
4082
4079
  key: 2,
4083
4080
  src: "https://osshz.idmwx.com/asset/satellite-map.png",
4084
4081
  class: "border rounded-sm"
4085
- }, Xr = {
4082
+ }, qr = {
4086
4083
  key: 3,
4087
4084
  src: "https://osshz.idmwx.com/asset/light-map.png",
4088
4085
  class: "border rounded-sm"
4089
- }, Kr = { class: "text-body-2 text-center pt-1" };
4090
- function Qr(t, e, o, i, a, r) {
4086
+ }, Xr = { class: "text-body-2 text-center pt-1" };
4087
+ function Kr(t, e, o, i, a, r) {
4091
4088
  var J, le, pe, ue, ce, Q, ie, ge, me;
4092
- 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"), A = x("IdmAlertZone"), S = x("IdmTideStations"), P = x("IdmEcaZone"), z = x("IdmWarZone"), L = x("IdmGmdssArea"), C = x("IdmLoadLine"), _ = x("IdmWorldMarine"), D = x("IdmVRA"), Z = x("IdmSpecialArea"), q = x("IdmWorld12nm"), X = x("IdmChinaRoute"), Y = x("IdmIceAreas"), te = x("IdmFollowPort"), oe = x("IdmFollowPosition");
4093
- return y(), M("div", Fr, [
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, [
4094
4091
  l("div", {
4095
4092
  class: "menu-bar-box transition px-1 rounded",
4096
4093
  style: ae({ top: o.top + 10 + "px", right: a.right + "px" })
@@ -4118,11 +4115,11 @@ function Qr(t, e, o, i, a, r) {
4118
4115
  }, 8, ["text"])
4119
4116
  ], 4),
4120
4117
  l("div", {
4121
- class: We(["available-layers transition", a.toggle ? "right-bar" : ""]),
4118
+ class: Ue(["available-layers transition", a.toggle ? "right-bar" : ""]),
4122
4119
  style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
4123
4120
  }, [
4124
- l("div", Hr, [
4125
- l("div", Ur, b(t.$t("layer.layers")), 1),
4121
+ l("div", Fr, [
4122
+ l("div", Hr, b(t.$t("layer.layers")), 1),
4126
4123
  d(s, {
4127
4124
  icon: "",
4128
4125
  density: "compact",
@@ -4150,7 +4147,7 @@ function Qr(t, e, o, i, a, r) {
4150
4147
  style: { "font-size": "16px !important" }
4151
4148
  }, {
4152
4149
  default: u(() => [
4153
- W(b(t.$t("layer.mapFeathers")), 1)
4150
+ U(b(t.$t("layer.mapFeathers")), 1)
4154
4151
  ]),
4155
4152
  _: 1
4156
4153
  })
@@ -4159,19 +4156,19 @@ function Qr(t, e, o, i, a, r) {
4159
4156
  }),
4160
4157
  d(h, { class: "pb-2" }, {
4161
4158
  default: u(() => [
4162
- l("div", Gr, [
4159
+ l("div", Ur, [
4163
4160
  (y(!0), M(be, null, we(a.mapFeathers, (F) => (y(), M("div", {
4164
4161
  key: F.value,
4165
4162
  class: "mb-2 feather-item",
4166
4163
  onClick: (de) => r.handleToggleMapFeather(F)
4167
4164
  }, [
4168
4165
  l("div", {
4169
- class: We([a.mapFeather === F.value ? "active" : "", "img-box"])
4166
+ class: Ue([a.mapFeather === F.value ? "active" : "", "img-box"])
4170
4167
  }, [
4171
- F.value === "dark" ? (y(), M("img", Zr)) : F.value === "nautical" ? (y(), M("img", Yr)) : F.value === "satellite" ? (y(), M("img", qr)) : (y(), M("img", Xr))
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))
4172
4169
  ], 2),
4173
- l("div", Kr, b(t.$t(`layer.${F.locale}`)), 1)
4174
- ], 8, Vr))), 128))
4170
+ l("div", Xr, b(t.$t(`layer.${F.locale}`)), 1)
4171
+ ], 8, Gr))), 128))
4175
4172
  ]),
4176
4173
  (y(!0), M(be, null, we(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (y(), B(p, {
4177
4174
  key: F.key,
@@ -4203,7 +4200,7 @@ function Qr(t, e, o, i, a, r) {
4203
4200
  style: { "font-size": "16px !important" }
4204
4201
  }, {
4205
4202
  default: u(() => [
4206
- W(b(t.$t("layer.pointsOfInteresting")), 1)
4203
+ U(b(t.$t("layer.pointsOfInteresting")), 1)
4207
4204
  ]),
4208
4205
  _: 1
4209
4206
  })
@@ -4242,7 +4239,7 @@ function Qr(t, e, o, i, a, r) {
4242
4239
  style: { "font-size": "16px !important" }
4243
4240
  }, {
4244
4241
  default: u(() => [
4245
- W(b(t.$t("layer.otherLayers")), 1)
4242
+ U(b(t.$t("layer.otherLayers")), 1)
4246
4243
  ]),
4247
4244
  _: 1
4248
4245
  })
@@ -4281,7 +4278,7 @@ function Qr(t, e, o, i, a, r) {
4281
4278
  style: { "font-size": "16px !important" }
4282
4279
  }, {
4283
4280
  default: u(() => [
4284
- W(b(t.$t("layer.myFollows")), 1)
4281
+ U(b(t.$t("layer.myFollows")), 1)
4285
4282
  ]),
4286
4283
  _: 1
4287
4284
  })
@@ -4342,7 +4339,7 @@ function Qr(t, e, o, i, a, r) {
4342
4339
  ports: (pe = a.otherLayers) == null ? void 0 : pe.ports,
4343
4340
  "forecast-model": o.forecastModel
4344
4341
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "ports", "forecast-model"])) : E("", !0),
4345
- o.map ? (y(), B(A, j({
4342
+ o.map ? (y(), B(D, j({
4346
4343
  key: 4,
4347
4344
  map: o.map,
4348
4345
  zone: (ue = a.otherLayers) == null ? void 0 : ue["alert-zones"]
@@ -4387,7 +4384,7 @@ function Qr(t, e, o, i, a, r) {
4387
4384
  token: o.token,
4388
4385
  show: a.checkList.includes("worldMarine")
4389
4386
  }, t.$attrs), null, 16, ["map", "token", "show"])) : E("", !0),
4390
- o.map ? (y(), B(D, j({
4387
+ o.map ? (y(), B(A, j({
4391
4388
  key: 11,
4392
4389
  map: o.map,
4393
4390
  area: (ge = a.otherLayers) == null ? void 0 : ge["voluntary-reporting-area"]
@@ -4429,7 +4426,7 @@ function Qr(t, e, o, i, a, r) {
4429
4426
  }, t.$attrs), null, 16, ["map", "show", "forecast-model", "realTime"])) : E("", !0)
4430
4427
  ]);
4431
4428
  }
4432
- const Jr = /* @__PURE__ */ V(Nr, [["render", Qr]]);
4429
+ const Qr = /* @__PURE__ */ V(jr, [["render", Kr]]);
4433
4430
  class ro {
4434
4431
  constructor(e) {
4435
4432
  se(this, "map");
@@ -4666,7 +4663,7 @@ class Ne {
4666
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);
4667
4664
  const h = e.getBoundPixel(), f = e.map.getZoom() + 1, k = e.getWorldCopy(h, f);
4668
4665
  for (const v of k) {
4669
- const T = (v[0] - h[0]) * e.ratio, w = (v[1] - h[3]) * e.ratio, A = v[2] * e.ratio, [S, P, z, L] = [T, A + T, w, A + w], C = new Float32Array([S, z, P, z, S, L, S, L, P, z, P, L]);
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]);
4670
4667
  o.bindBuffer(o.ARRAY_BUFFER, s), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
4671
4668
  }
4672
4669
  } catch (p) {
@@ -4913,7 +4910,7 @@ se(_e, "vertexSchema", `
4913
4910
  fract(pos * 255.0),
4914
4911
  floor(pos * 255.0) / 255.0);
4915
4912
  }`);
4916
- const $r = {
4913
+ const Jr = {
4917
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>',
4918
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>',
4919
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>',
@@ -4937,7 +4934,7 @@ const $r = {
4937
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>',
4938
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>',
4939
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>'
4940
- }, el = {
4937
+ }, $r = {
4941
4938
  name: "IdmWindBarb",
4942
4939
  props: {
4943
4940
  map: {
@@ -4973,7 +4970,7 @@ const $r = {
4973
4970
  right: 10,
4974
4971
  bottom: 125,
4975
4972
  windBarbLoaded: !1,
4976
- svgs: $r
4973
+ svgs: Jr
4977
4974
  };
4978
4975
  },
4979
4976
  computed: {
@@ -5080,11 +5077,11 @@ const $r = {
5080
5077
  }
5081
5078
  }
5082
5079
  };
5083
- function tl(t, e, o, i, a, r) {
5080
+ function el(t, e, o, i, a, r) {
5084
5081
  return null;
5085
5082
  }
5086
- const ol = /* @__PURE__ */ V(el, [["render", tl]]);
5087
- const al = {
5083
+ const tl = /* @__PURE__ */ V($r, [["render", el]]);
5084
+ const ol = {
5088
5085
  name: "IdmWindParticle",
5089
5086
  props: {
5090
5087
  factor: {
@@ -5250,10 +5247,10 @@ const al = {
5250
5247
  (t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
5251
5248
  }
5252
5249
  }
5253
- }, il = { key: 0 };
5254
- function rl(t, e, o, i, a, r) {
5250
+ }, al = { key: 0 };
5251
+ function il(t, e, o, i, a, r) {
5255
5252
  var s;
5256
- return (s = o.factor) != null && s.active ? (y(), M("div", il, [
5253
+ return (s = o.factor) != null && s.active ? (y(), M("div", al, [
5257
5254
  l("div", {
5258
5255
  class: "legend-bars-gl4 wind",
5259
5256
  style: ae({ right: a.right + "px" })
@@ -5269,7 +5266,7 @@ function rl(t, e, o, i, a, r) {
5269
5266
  ]), 4)
5270
5267
  ])) : E("", !0);
5271
5268
  }
5272
- const ll = /* @__PURE__ */ V(al, [["render", rl]]), sl = {
5269
+ const rl = /* @__PURE__ */ V(ol, [["render", il]]), ll = {
5273
5270
  name: "IdmCurrent",
5274
5271
  props: {
5275
5272
  map: {
@@ -5427,11 +5424,11 @@ const ll = /* @__PURE__ */ V(al, [["render", rl]]), sl = {
5427
5424
  }
5428
5425
  }
5429
5426
  };
5430
- function nl(t, e, o, i, a, r) {
5427
+ function sl(t, e, o, i, a, r) {
5431
5428
  return null;
5432
5429
  }
5433
- const cl = /* @__PURE__ */ V(sl, [["render", nl]]);
5434
- const ml = {
5430
+ const nl = /* @__PURE__ */ V(ll, [["render", sl]]);
5431
+ const cl = {
5435
5432
  name: "IdmCurrentParticle",
5436
5433
  props: {
5437
5434
  factor: {
@@ -5594,10 +5591,10 @@ const ml = {
5594
5591
  (t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
5595
5592
  }
5596
5593
  }
5597
- }, dl = { key: 0 };
5598
- function hl(t, e, o, i, a, r) {
5594
+ }, ml = { key: 0 };
5595
+ function dl(t, e, o, i, a, r) {
5599
5596
  var s;
5600
- return (s = o.factor) != null && s.active ? (y(), M("div", dl, [
5597
+ return (s = o.factor) != null && s.active ? (y(), M("div", ml, [
5601
5598
  l("div", {
5602
5599
  class: "legend-bars-gl4 current",
5603
5600
  style: ae({ right: a.right + "px" })
@@ -5612,8 +5609,8 @@ function hl(t, e, o, i, a, r) {
5612
5609
  ]), 4)
5613
5610
  ])) : E("", !0);
5614
5611
  }
5615
- const pl = /* @__PURE__ */ V(ml, [["render", hl]]);
5616
- const ul = {
5612
+ const hl = /* @__PURE__ */ V(cl, [["render", dl]]);
5613
+ const pl = {
5617
5614
  name: "IdmTemp",
5618
5615
  props: {
5619
5616
  factor: {
@@ -5722,10 +5719,10 @@ const ul = {
5722
5719
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
5723
5720
  }
5724
5721
  }
5725
- }, gl = { key: 0 };
5726
- function fl(t, e, o, i, a, r) {
5722
+ }, ul = { key: 0 };
5723
+ function gl(t, e, o, i, a, r) {
5727
5724
  var s;
5728
- return (s = o.factor) != null && s.active ? (y(), M("div", gl, [
5725
+ return (s = o.factor) != null && s.active ? (y(), M("div", ul, [
5729
5726
  l("div", {
5730
5727
  class: "legend-bars-gl4 sig-wave",
5731
5728
  style: ae({ right: a.right + "px" })
@@ -5740,7 +5737,7 @@ function fl(t, e, o, i, a, r) {
5740
5737
  ]), 4)
5741
5738
  ])) : E("", !0);
5742
5739
  }
5743
- const yl = /* @__PURE__ */ V(ul, [["render", fl], ["__scopeId", "data-v-79ce70e2"]]), bl = {
5740
+ const fl = /* @__PURE__ */ V(pl, [["render", gl], ["__scopeId", "data-v-79ce70e2"]]), yl = {
5744
5741
  name: "IdmSigWave",
5745
5742
  props: {
5746
5743
  map: {
@@ -5889,10 +5886,10 @@ const yl = /* @__PURE__ */ V(ul, [["render", fl], ["__scopeId", "data-v-79ce70e2
5889
5886
  }
5890
5887
  }
5891
5888
  };
5892
- function wl(t, e, o, i, a, r) {
5889
+ function bl(t, e, o, i, a, r) {
5893
5890
  return null;
5894
5891
  }
5895
- const xl = /* @__PURE__ */ V(bl, [["render", wl]]), vl = {
5892
+ const wl = /* @__PURE__ */ V(yl, [["render", bl]]), xl = {
5896
5893
  name: "IdmSwell",
5897
5894
  props: {
5898
5895
  map: {
@@ -6043,10 +6040,10 @@ const xl = /* @__PURE__ */ V(bl, [["render", wl]]), vl = {
6043
6040
  }
6044
6041
  }
6045
6042
  };
6046
- function _l(t, e, o, i, a, r) {
6043
+ function vl(t, e, o, i, a, r) {
6047
6044
  return y(), M("div");
6048
6045
  }
6049
- const kl = /* @__PURE__ */ V(vl, [["render", _l]]), zl = {
6046
+ const _l = /* @__PURE__ */ V(xl, [["render", vl]]), kl = {
6050
6047
  name: "IdmPrmsl",
6051
6048
  props: {
6052
6049
  map: {
@@ -6197,14 +6194,14 @@ const kl = /* @__PURE__ */ V(vl, [["render", _l]]), zl = {
6197
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);
6198
6195
  }
6199
6196
  }
6200
- }, Ll = {
6197
+ }, zl = {
6201
6198
  key: 0,
6202
6199
  class: "legend-tip-btn-gl4"
6203
6200
  };
6204
- function Pl(t, e, o, i, a, r) {
6201
+ function Ll(t, e, o, i, a, r) {
6205
6202
  var c;
6206
6203
  const s = x("VBtn"), n = x("VTooltip");
6207
- return (c = o.prmsl) != null && c.active ? (y(), M("div", Ll, [
6204
+ return (c = o.prmsl) != null && c.active ? (y(), M("div", zl, [
6208
6205
  l("div", {
6209
6206
  class: "menu-bar-box pa-1 rounded",
6210
6207
  style: ae({ right: a.right + "px" })
@@ -6234,8 +6231,8 @@ function Pl(t, e, o, i, a, r) {
6234
6231
  ], 4)
6235
6232
  ])) : E("", !0);
6236
6233
  }
6237
- const Cl = /* @__PURE__ */ V(zl, [["render", Pl]]);
6238
- const Tl = {
6234
+ const Pl = /* @__PURE__ */ V(kl, [["render", Ll]]);
6235
+ const Cl = {
6239
6236
  name: "IdmIceEdge",
6240
6237
  props: {
6241
6238
  factor: {
@@ -6336,10 +6333,10 @@ const Tl = {
6336
6333
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6337
6334
  }
6338
6335
  }
6339
- }, Sl = { key: 0 };
6340
- function Ml(t, e, o, i, a, r) {
6336
+ }, Tl = { key: 0 };
6337
+ function Sl(t, e, o, i, a, r) {
6341
6338
  var s;
6342
- return (s = o.factor) != null && s.active ? (y(), M("div", Sl, [
6339
+ return (s = o.factor) != null && s.active ? (y(), M("div", Tl, [
6343
6340
  l("div", {
6344
6341
  class: "legend-bars-gl4 ice-edge",
6345
6342
  style: ae({ right: a.right + "px" })
@@ -6359,8 +6356,8 @@ function Ml(t, e, o, i, a, r) {
6359
6356
  ]), 4)
6360
6357
  ])) : E("", !0);
6361
6358
  }
6362
- const Il = /* @__PURE__ */ V(Tl, [["render", Ml]]);
6363
- const Al = {
6359
+ const Ml = /* @__PURE__ */ V(Cl, [["render", Sl]]);
6360
+ const Il = {
6364
6361
  name: "IdmCover",
6365
6362
  props: {
6366
6363
  factor: {
@@ -6452,10 +6449,10 @@ const Al = {
6452
6449
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6453
6450
  }
6454
6451
  }
6455
- }, Dl = { key: 0 };
6456
- function Rl(t, e, o, i, a, r) {
6452
+ }, Al = { key: 0 };
6453
+ function Dl(t, e, o, i, a, r) {
6457
6454
  var s;
6458
- return (s = o.factor) != null && s.active ? (y(), M("div", Dl, [
6455
+ return (s = o.factor) != null && s.active ? (y(), M("div", Al, [
6459
6456
  l("div", {
6460
6457
  class: "legend-bars-gl4 ice-cover",
6461
6458
  style: ae({ right: a.right + "px" })
@@ -6469,8 +6466,8 @@ function Rl(t, e, o, i, a, r) {
6469
6466
  ]), 4)
6470
6467
  ])) : E("", !0);
6471
6468
  }
6472
- const Ol = /* @__PURE__ */ V(Al, [["render", Rl], ["__scopeId", "data-v-9696d73b"]]);
6473
- const Bl = {
6469
+ const Rl = /* @__PURE__ */ V(Il, [["render", Dl], ["__scopeId", "data-v-9696d73b"]]);
6470
+ const Ol = {
6474
6471
  name: "IdmThickness",
6475
6472
  props: {
6476
6473
  factor: {
@@ -6570,10 +6567,10 @@ const Bl = {
6570
6567
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6571
6568
  }
6572
6569
  }
6573
- }, El = { key: 0 };
6574
- function jl(t, e, o, i, a, r) {
6570
+ }, Bl = { key: 0 };
6571
+ function El(t, e, o, i, a, r) {
6575
6572
  var s;
6576
- return (s = o.factor) != null && s.active ? (y(), M("div", El, [
6573
+ return (s = o.factor) != null && s.active ? (y(), M("div", Bl, [
6577
6574
  l("div", {
6578
6575
  class: "legend-bars-gl4 ice-thickness",
6579
6576
  style: ae({ right: a.right + "px" })
@@ -6588,8 +6585,8 @@ function jl(t, e, o, i, a, r) {
6588
6585
  ]), 4)
6589
6586
  ])) : E("", !0);
6590
6587
  }
6591
- const Nl = /* @__PURE__ */ V(Bl, [["render", jl]]);
6592
- const Fl = {
6588
+ const jl = /* @__PURE__ */ V(Ol, [["render", El]]);
6589
+ const Nl = {
6593
6590
  name: "IdmPrecip3h",
6594
6591
  props: {
6595
6592
  factor: {
@@ -6690,10 +6687,10 @@ const Fl = {
6690
6687
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6691
6688
  }
6692
6689
  }
6693
- }, Hl = { key: 0 };
6694
- function Ul(t, e, o, i, a, r) {
6690
+ }, Fl = { key: 0 };
6691
+ function Hl(t, e, o, i, a, r) {
6695
6692
  var s;
6696
- return (s = o.factor) != null && s.active ? (y(), M("div", Hl, [
6693
+ return (s = o.factor) != null && s.active ? (y(), M("div", Fl, [
6697
6694
  l("div", {
6698
6695
  class: "legend-bars-gl4 precip3h",
6699
6696
  style: ae({ right: a.right + "px" })
@@ -6709,8 +6706,8 @@ function Ul(t, e, o, i, a, r) {
6709
6706
  ]), 4)
6710
6707
  ])) : E("", !0);
6711
6708
  }
6712
- const Wl = /* @__PURE__ */ V(Fl, [["render", Ul]]);
6713
- const Gl = {
6709
+ const Wl = /* @__PURE__ */ V(Nl, [["render", Hl]]);
6710
+ const Ul = {
6714
6711
  name: "IdmVisibility",
6715
6712
  props: {
6716
6713
  factor: {
@@ -6801,10 +6798,10 @@ const Gl = {
6801
6798
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6802
6799
  }
6803
6800
  }
6804
- }, Vl = { key: 0 };
6805
- function Zl(t, e, o, i, a, r) {
6801
+ }, Gl = { key: 0 };
6802
+ function Vl(t, e, o, i, a, r) {
6806
6803
  var s;
6807
- return (s = o.factor) != null && s.active ? (y(), M("div", Vl, [
6804
+ return (s = o.factor) != null && s.active ? (y(), M("div", Gl, [
6808
6805
  l("div", {
6809
6806
  class: "legend-bars-gl4 visibility",
6810
6807
  style: ae({ right: a.right + "px" })
@@ -6818,8 +6815,8 @@ function Zl(t, e, o, i, a, r) {
6818
6815
  ]), 4)
6819
6816
  ])) : E("", !0);
6820
6817
  }
6821
- const Yl = /* @__PURE__ */ V(Gl, [["render", Zl]]);
6822
- const ql = {
6818
+ const Zl = /* @__PURE__ */ V(Ul, [["render", Vl]]);
6819
+ const Yl = {
6823
6820
  name: "IdmWaterTemp",
6824
6821
  props: {
6825
6822
  factor: {
@@ -6913,10 +6910,10 @@ const ql = {
6913
6910
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
6914
6911
  }
6915
6912
  }
6916
- }, Xl = { key: 0 };
6917
- function Kl(t, e, o, i, a, r) {
6913
+ }, ql = { key: 0 };
6914
+ function Xl(t, e, o, i, a, r) {
6918
6915
  var s;
6919
- return (s = o.factor) != null && s.active ? (y(), M("div", Xl, [
6916
+ return (s = o.factor) != null && s.active ? (y(), M("div", ql, [
6920
6917
  l("div", {
6921
6918
  class: "legend-bars-gl4 water-temp",
6922
6919
  style: ae({ right: a.right + "px" })
@@ -6930,8 +6927,8 @@ function Kl(t, e, o, i, a, r) {
6930
6927
  ]), 4)
6931
6928
  ])) : E("", !0);
6932
6929
  }
6933
- const Ql = /* @__PURE__ */ V(ql, [["render", Kl]]);
6934
- const Jl = {
6930
+ const Kl = /* @__PURE__ */ V(Yl, [["render", Xl]]);
6931
+ const Ql = {
6935
6932
  name: "IdmTemp",
6936
6933
  props: {
6937
6934
  factor: {
@@ -7036,10 +7033,10 @@ const Jl = {
7036
7033
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
7037
7034
  }
7038
7035
  }
7039
- }, $l = { key: 0 };
7040
- function es(t, e, o, i, a, r) {
7036
+ }, Jl = { key: 0 };
7037
+ function $l(t, e, o, i, a, r) {
7041
7038
  var s;
7042
- return (s = o.factor) != null && s.active ? (y(), M("div", $l, [
7039
+ return (s = o.factor) != null && s.active ? (y(), M("div", Jl, [
7043
7040
  l("div", {
7044
7041
  class: "legend-bars-gl4 temp",
7045
7042
  style: ae({ right: a.right + "px" })
@@ -7055,25 +7052,25 @@ function es(t, e, o, i, a, r) {
7055
7052
  ]), 4)
7056
7053
  ])) : E("", !0);
7057
7054
  }
7058
- const ts = /* @__PURE__ */ V(Jl, [["render", es]]);
7059
- const os = {
7055
+ const es = /* @__PURE__ */ V(Ql, [["render", $l]]);
7056
+ const ts = {
7060
7057
  name: "IdmGlLayer",
7061
7058
  components: {
7062
- IdmWindBarb: ol,
7063
- IdmWindParticle: ll,
7064
- IdmCurrentDirection: cl,
7065
- IdmCurrentParticle: pl,
7066
- IdmWave: yl,
7067
- IdmSigWaveHeight: xl,
7068
- IdmSwell: kl,
7069
- IdmPrmsl: Cl,
7070
- IdmIceEdge: Il,
7071
- IdmIceCover: Ol,
7072
- IdmIceThickness: Nl,
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,
7073
7070
  IdmPrecip3h: Wl,
7074
- IdmVisibility: Yl,
7075
- IdmWaterTemp: Ql,
7076
- IdmTemp: ts
7071
+ IdmVisibility: Zl,
7072
+ IdmWaterTemp: Kl,
7073
+ IdmTemp: es
7077
7074
  },
7078
7075
  props: {
7079
7076
  isLogin: {
@@ -7318,17 +7315,17 @@ const os = {
7318
7315
  if (this.map) {
7319
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}`;
7320
7317
  if (this.particleFactor && ((s = this.$refs.layer) != null && s.autoActive)) {
7321
- const w = oo.WEATHER_LAYERS.find((A) => {
7318
+ const w = oo.WEATHER_LAYERS.find((D) => {
7322
7319
  var S;
7323
- return ((S = A.peer) == null ? void 0 : S.weight) === this.particleFactor.weight;
7320
+ return ((S = D.peer) == null ? void 0 : S.weight) === this.particleFactor.weight;
7324
7321
  });
7325
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;
7326
7323
  }
7327
7324
  if (this.weatherWeight > 0) {
7328
7325
  let w = this.weatherWeight;
7329
7326
  if (w > 0) {
7330
- const A = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], S = await Se.get(
7331
- `${A}/api/arc/weather/layers2/links?l=${w}&v=${this.forecastModel}&z=${k}&bbox=${T}&t=${this.realTime}`,
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}`,
7332
7329
  {
7333
7330
  headers: {
7334
7331
  Authorization: this.token || this.defaultMeteoToken
@@ -7353,8 +7350,8 @@ const os = {
7353
7350
  this.weatherLayers = {}, L.map((C) => {
7354
7351
  var Z, q, X, Y;
7355
7352
  const _ = ((Z = C == null ? void 0 : C.data) == null ? void 0 : Z.data) || (C == null ? void 0 : C.data);
7356
- let D = (X = (q = C == null ? void 0 : C.config) == null ? void 0 : q.headers) == null ? void 0 : X.key;
7357
- D && _ && (this.weatherLayers[D] = {
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] = {
7358
7355
  raw: _,
7359
7356
  type: ((Y = C == null ? void 0 : C.config) == null ? void 0 : Y.responseType) === "blob" ? "image" : "json",
7360
7357
  etime: S.data.etime
@@ -7441,46 +7438,46 @@ const os = {
7441
7438
  let e = 0, o = 0;
7442
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);
7443
7440
  for (const w in this.weatherLayers) {
7444
- let A = !1;
7441
+ let D = !1;
7445
7442
  if (this.weatherLayers[w].active && this.weatherLayers[w].type === "json") {
7446
7443
  let S = [];
7447
7444
  if (w === "swell") {
7448
- A = !0;
7445
+ D = !0;
7449
7446
  const P = ((h = this.weatherLayers[w]) == null ? void 0 : h.direction) || {};
7450
7447
  for (const L in P)
7451
7448
  if (L > n && L < c && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7452
7449
  const C = P[L].lng;
7453
- r > s ? C.forEach((_, D) => {
7450
+ r > s ? C.forEach((_, A) => {
7454
7451
  var Z, q, X, Y, te, oe;
7455
7452
  if (a < 2) {
7456
7453
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
7457
7454
  const J = N.point([_, L], {
7458
- val: ((Z = P[L].val) == null ? void 0 : Z[D]) || ((q = P[L].dir) == null ? void 0 : q[D]),
7459
- spd: (X = P[L].spd) == null ? void 0 : X[D]
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]
7460
7457
  });
7461
7458
  S.push(J);
7462
7459
  }
7463
7460
  } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= s) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7464
7461
  const J = N.point([_, L], {
7465
- val: ((Y = P[L].val) == null ? void 0 : Y[D]) || ((te = P[L].dir) == null ? void 0 : te[D]),
7466
- spd: (oe = P[L].spd) == null ? void 0 : oe[D]
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]
7467
7464
  });
7468
7465
  S.push(J);
7469
7466
  }
7470
- }) : C.forEach((_, D) => {
7467
+ }) : C.forEach((_, A) => {
7471
7468
  var Z, q, X, Y, te, oe;
7472
7469
  if (r < 2) {
7473
7470
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
7474
7471
  const J = N.point([_, L], {
7475
- val: ((Z = P[L].val) == null ? void 0 : Z[D]) || ((q = P[L].dir) == null ? void 0 : q[D]),
7476
- spd: (X = P[L].spd) == null ? void 0 : X[D]
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]
7477
7474
  });
7478
7475
  S.push(J);
7479
7476
  }
7480
7477
  } else if (_ >= r && _ <= s && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7481
7478
  const J = N.point([_, L], {
7482
- val: ((Y = P[L].val) == null ? void 0 : Y[D]) || ((te = P[L].dir) == null ? void 0 : te[D]),
7483
- spd: (oe = P[L].spd) == null ? void 0 : oe[D]
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]
7484
7481
  });
7485
7482
  S.push(J);
7486
7483
  }
@@ -7493,9 +7490,9 @@ const os = {
7493
7490
  const L = [];
7494
7491
  for (const C in (f = z.raw) == null ? void 0 : f.LineString) {
7495
7492
  const _ = z.raw.LineString[C];
7496
- for (const D of _)
7493
+ for (const A of _)
7497
7494
  L.push(
7498
- N.lineString(D, {
7495
+ N.lineString(A, {
7499
7496
  val: Number(C)
7500
7497
  })
7501
7498
  );
@@ -7509,42 +7506,42 @@ const os = {
7509
7506
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
7510
7507
  }
7511
7508
  } else if (w === "current") {
7512
- A = !0;
7509
+ D = !0;
7513
7510
  const P = ((k = this.weatherLayers[w]) == null ? void 0 : k.direction) || {};
7514
7511
  for (const L in P)
7515
7512
  if (L > n && L < c && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7516
7513
  const C = P[L].lng;
7517
- r > s ? C.forEach((_, D) => {
7514
+ r > s ? C.forEach((_, A) => {
7518
7515
  var Z, q, X, Y, te, oe;
7519
7516
  if (a < 2) {
7520
7517
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
7521
7518
  const J = N.point([_, L], {
7522
- val: ((Z = P[L].val) == null ? void 0 : Z[D]) || ((q = P[L].dir) == null ? void 0 : q[D]),
7523
- spd: (X = P[L].spd) == null ? void 0 : X[D]
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]
7524
7521
  });
7525
7522
  S.push(J);
7526
7523
  }
7527
7524
  } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= s) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7528
7525
  const J = N.point([_, L], {
7529
- val: ((Y = P[L].val) == null ? void 0 : Y[D]) || ((te = P[L].dir) == null ? void 0 : te[D]),
7530
- spd: (oe = P[L].spd) == null ? void 0 : oe[D]
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]
7531
7528
  });
7532
7529
  S.push(J);
7533
7530
  }
7534
- }) : C.forEach((_, D) => {
7531
+ }) : C.forEach((_, A) => {
7535
7532
  var Z, q, X, Y, te, oe;
7536
7533
  if (r < 2) {
7537
7534
  if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
7538
7535
  const J = N.point([_, L], {
7539
- val: ((Z = P[L].val) == null ? void 0 : Z[D]) || ((q = P[L].dir) == null ? void 0 : q[D]),
7540
- spd: (X = P[L].spd) == null ? void 0 : X[D]
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]
7541
7538
  });
7542
7539
  S.push(J);
7543
7540
  }
7544
7541
  } else if (_ >= r && _ <= s && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
7545
7542
  const J = N.point([_, L], {
7546
- val: ((Y = P[L].val) == null ? void 0 : Y[D]) || ((te = P[L].dir) == null ? void 0 : te[D]),
7547
- spd: (oe = P[L].spd) == null ? void 0 : oe[D]
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]
7548
7545
  });
7549
7546
  S.push(J);
7550
7547
  }
@@ -7556,8 +7553,8 @@ const os = {
7556
7553
  if (!z.data) {
7557
7554
  const C = [];
7558
7555
  for (const _ in (v = z.raw) == null ? void 0 : v.Polygon) {
7559
- const D = z.raw.Polygon[_];
7560
- for (const Z of D)
7556
+ const A = z.raw.Polygon[_];
7557
+ for (const Z of A)
7561
7558
  C.push(
7562
7559
  N.polygon(Z, {
7563
7560
  val: Number(_)
@@ -7570,17 +7567,17 @@ const os = {
7570
7567
  S = S.concat(L), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
7571
7568
  }
7572
7569
  } else if (w === "wind") {
7573
- A = !0;
7570
+ D = !0;
7574
7571
  const P = this.weatherLayers.wind.raw;
7575
7572
  for (const z in P)
7576
7573
  if (z > n && z < c && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
7577
7574
  const L = P[z].lng;
7578
7575
  r > s ? L.forEach((C, _) => {
7579
- var D, Z, q, X;
7576
+ var A, Z, q, X;
7580
7577
  if (a < 2) {
7581
7578
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
7582
7579
  const Y = N.point([C, z], {
7583
- dir: ((D = P[z].val) == null ? void 0 : D[_]) || ((Z = P[z].dir) == null ? void 0 : Z[_]),
7580
+ dir: ((A = P[z].val) == null ? void 0 : A[_]) || ((Z = P[z].dir) == null ? void 0 : Z[_]),
7584
7581
  spd: P[z].spd[_]
7585
7582
  });
7586
7583
  S.push(Y);
@@ -7593,11 +7590,11 @@ const os = {
7593
7590
  S.push(Y);
7594
7591
  }
7595
7592
  }) : L.forEach((C, _) => {
7596
- var D, Z, q, X;
7593
+ var A, Z, q, X;
7597
7594
  if (a < 2) {
7598
7595
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
7599
7596
  const Y = N.point([C, z], {
7600
- dir: ((D = P[z].val) == null ? void 0 : D[_]) || ((Z = P[z].dir) == null ? void 0 : Z[_]),
7597
+ dir: ((A = P[z].val) == null ? void 0 : A[_]) || ((Z = P[z].dir) == null ? void 0 : Z[_]),
7601
7598
  spd: P[z].spd[_]
7602
7599
  });
7603
7600
  S.push(Y);
@@ -7616,7 +7613,7 @@ const os = {
7616
7613
  if (this.weatherLayers[w].data)
7617
7614
  S = this.weatherLayers[w].data;
7618
7615
  else {
7619
- A = !0;
7616
+ D = !0;
7620
7617
  const P = this.weatherLayers[w].raw;
7621
7618
  if (P) {
7622
7619
  const z = [];
@@ -7655,7 +7652,7 @@ const os = {
7655
7652
  if (this.weatherLayers[w].data)
7656
7653
  S = this.weatherLayers[w].data;
7657
7654
  else {
7658
- A = !0;
7655
+ D = !0;
7659
7656
  const P = this.weatherLayers[w].raw;
7660
7657
  if (P) {
7661
7658
  const z = [];
@@ -7682,7 +7679,7 @@ const os = {
7682
7679
  }
7683
7680
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
7684
7681
  }
7685
- S.length && (this.weatherLayers[w].data = N.featureCollection(S)), A && (this.weatherLayers[w].version = Math.random() + 1);
7682
+ S.length && (this.weatherLayers[w].data = N.featureCollection(S)), D && (this.weatherLayers[w].version = Math.random() + 1);
7686
7683
  }
7687
7684
  }
7688
7685
  },
@@ -7707,26 +7704,26 @@ const os = {
7707
7704
  }), o;
7708
7705
  }
7709
7706
  }
7710
- }, as = { class: "idm-gl4-meteo-layers" }, is = {
7707
+ }, os = { class: "idm-gl4-meteo-layers" }, as = {
7711
7708
  key: 0,
7712
7709
  class: "legend-tip-btn-gl4"
7713
- }, rs = { class: "d-flex flex-row justify-center align-center" }, ls = { class: "text-caption" }, ss = { class: "d-flex flex-row justify-center align-center" }, ns = {
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 = {
7714
7711
  key: 0,
7715
7712
  style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
7716
- }, cs = { class: "text-caption px-2" }, ms = { class: "d-flex flex-row justify-start align-center" }, ds = {
7713
+ }, ns = { class: "text-caption px-2" }, cs = { class: "d-flex flex-row justify-start align-center" }, ms = {
7717
7714
  class: "d-flex flex-row justify-center align-center",
7718
7715
  style: { width: "40px" }
7719
- }, hs = { class: "text-caption px-2" }, ps = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, us = { class: "d-flex justify-start align-center ga-3" }, gs = { class: "text-h5 font-weight-medium" }, fs = {
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 = {
7720
7717
  key: 0,
7721
7718
  class: "d-flex justify-start align-center ga-4 pl-6"
7722
- }, ys = {
7719
+ }, fs = {
7723
7720
  key: 1,
7724
7721
  class: "d-flex justify-start align-center ga-4 pl-6"
7725
- }, bs = { class: "text-body-1 py-2" }, ws = { class: "text-body-1 font-weight-medium" }, xs = { class: "text-body-2 opacity-70" }, vs = { class: "text-body-2 opacity-70 mb-3" }, _s = { class: "text-body-1 font-weight-medium" }, ks = { class: "text-body-2 opacity-70" }, zs = { class: "text-body-2 opacity-70 mb-3" }, Ls = { class: "text-body-1 py-2" }, Ps = { class: "text-body-1 font-weight-medium" }, Cs = { class: "text-body-2 opacity-70" }, Ts = { class: "text-body-2 opacity-70 mb-3" }, Ss = { class: "text-body-1 font-weight-medium" }, Ms = { class: "text-body-2 opacity-70" }, Is = { class: "text-body-2 opacity-70 mb-3" }, As = { class: "text-body-1 py-2" }, Ds = { class: "text-body-1 font-weight-medium" }, Rs = { class: "text-body-2 opacity-70" }, Os = { class: "text-body-2 opacity-70 mb-3" };
7726
- function Bs(t, e, o, i, a, r) {
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) {
7727
7724
  var ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De, Re, ve;
7728
- 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"), A = x("VRadio"), S = x("VBtnToggle"), P = x("IdmWindBarb"), z = x("IdmSigWaveHeight"), L = x("IdmCurrentDirection"), C = x("IdmPrmsl"), _ = x("IdmWindParticle"), D = 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");
7729
- return y(), M("div", as, [
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, [
7730
7727
  l("div", {
7731
7728
  class: "menu-bar-box transition pa-1",
7732
7729
  style: ae({ top: o.top + 94 + "px", right: a.right + "px" })
@@ -7753,7 +7750,7 @@ function Bs(t, e, o, i, a, r) {
7753
7750
  _: 1
7754
7751
  }, 8, ["text"])
7755
7752
  ], 4),
7756
- r.showTipMenu ? (y(), M("div", is, [
7753
+ r.showTipMenu ? (y(), M("div", as, [
7757
7754
  l("div", {
7758
7755
  class: "menu-bar-box pa-1 rounded",
7759
7756
  style: ae({ right: a.right + "px" })
@@ -7799,12 +7796,12 @@ function Bs(t, e, o, i, a, r) {
7799
7796
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
7800
7797
  }, {
7801
7798
  default: u(() => [
7802
- l("div", rs, [
7799
+ l("div", is, [
7803
7800
  l("i", {
7804
- class: We(["iconfont", r.barbsIconName[ee]]),
7801
+ class: Ue(["iconfont", r.barbsIconName[ee]]),
7805
7802
  style: ae({ color: o.theme === "dark" ? "#fff" : "#000" })
7806
7803
  }, null, 6),
7807
- l("span", ls, b(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
7804
+ l("span", rs, b(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
7808
7805
  ])
7809
7806
  ]),
7810
7807
  _: 2
@@ -7831,12 +7828,12 @@ function Bs(t, e, o, i, a, r) {
7831
7828
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
7832
7829
  }, {
7833
7830
  default: u(() => [
7834
- l("div", ss, [
7835
- ee === 0 ? (y(), M("div", ns)) : (y(), M("div", {
7831
+ l("div", ls, [
7832
+ ee === 0 ? (y(), M("div", ss)) : (y(), M("div", {
7836
7833
  key: 1,
7837
7834
  style: ae({ width: "24px", height: "12px", background: H.color })
7838
7835
  }, null, 4)),
7839
- l("div", cs, b(H.label), 1)
7836
+ l("div", ns, b(H.label), 1)
7840
7837
  ])
7841
7838
  ]),
7842
7839
  _: 2
@@ -7863,14 +7860,14 @@ function Bs(t, e, o, i, a, r) {
7863
7860
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
7864
7861
  }, {
7865
7862
  default: u(() => [
7866
- l("div", ms, [
7867
- l("div", ds, [
7863
+ l("div", cs, [
7864
+ l("div", ms, [
7868
7865
  l("i", {
7869
7866
  class: "iconfont icon-a-direction-arrow opacity-80",
7870
7867
  style: ae({ fontSize: 40 * H.size + "px" })
7871
7868
  }, null, 4)
7872
7869
  ]),
7873
- l("div", hs, b(H.label), 1)
7870
+ l("div", ds, b(H.label), 1)
7874
7871
  ])
7875
7872
  ]),
7876
7873
  _: 2
@@ -7887,12 +7884,12 @@ function Bs(t, e, o, i, a, r) {
7887
7884
  }, 8, ["style"])) : E("", !0)
7888
7885
  ])) : E("", !0),
7889
7886
  l("div", {
7890
- class: We(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
7887
+ class: Ue(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
7891
7888
  style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
7892
7889
  }, [
7893
- l("div", ps, [
7894
- l("div", us, [
7895
- l("div", gs, b(t.$t("weather.weather")), 1),
7890
+ l("div", hs, [
7891
+ l("div", ps, [
7892
+ l("div", us, b(t.$t("weather.weather")), 1),
7896
7893
  d(k, {
7897
7894
  modelValue: a.autoActive,
7898
7895
  "onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
@@ -7917,7 +7914,7 @@ function Bs(t, e, o, i, a, r) {
7917
7914
  }, 8, ["onClick"])
7918
7915
  ]),
7919
7916
  l("div", {
7920
- class: We(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
7917
+ class: Ue(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
7921
7918
  }, [
7922
7919
  d(f, {
7923
7920
  class: "menu-card mx-auto mb-3",
@@ -7931,7 +7928,7 @@ function Bs(t, e, o, i, a, r) {
7931
7928
  style: { "font-size": "16px !important" }
7932
7929
  }, {
7933
7930
  default: u(() => [
7934
- W(b(t.$t("weather.overlays")), 1)
7931
+ U(b(t.$t("weather.overlays")), 1)
7935
7932
  ]),
7936
7933
  _: 1
7937
7934
  })
@@ -7971,7 +7968,7 @@ function Bs(t, e, o, i, a, r) {
7971
7968
  style: { "font-size": "16px !important" }
7972
7969
  }, {
7973
7970
  default: u(() => [
7974
- W(b(t.$t("weather.renders")), 1)
7971
+ U(b(t.$t("weather.renders")), 1)
7975
7972
  ]),
7976
7973
  _: 1
7977
7974
  })
@@ -7983,7 +7980,7 @@ function Bs(t, e, o, i, a, r) {
7983
7980
  (y(!0), M(be, null, we(a.tagLayers.filter((H) => !H.overlays && H.key !== "ice-thickness"), (H) => (y(), M(be, {
7984
7981
  key: H.key
7985
7982
  }, [
7986
- d(A, {
7983
+ d(D, {
7987
7984
  modelValue: a.renderKey,
7988
7985
  "onUpdate:modelValue": e[3] || (e[3] = (ee) => a.renderKey = ee),
7989
7986
  label: t.$t(`weather.${H.locale}`),
@@ -7996,7 +7993,7 @@ function Bs(t, e, o, i, a, r) {
7996
7993
  "hide-details": "",
7997
7994
  onClick: (ee) => a.renderKey = a.renderKey === H.key ? "" : H.key
7998
7995
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
7999
- a.renderKey === "wind-particle" && H.key === "wind-particle" ? (y(), M("div", fs, [
7996
+ a.renderKey === "wind-particle" && H.key === "wind-particle" ? (y(), M("div", gs, [
8000
7997
  l("span", null, b(t.$t("weather.particleAnimatiom")), 1),
8001
7998
  d(k, {
8002
7999
  modelValue: a.showWindParticle,
@@ -8010,7 +8007,7 @@ function Bs(t, e, o, i, a, r) {
8010
8007
  "hide-details": ""
8011
8008
  }, null, 8, ["modelValue"])
8012
8009
  ])) : E("", !0),
8013
- a.renderKey === "current-particle" && H.key === "current-particle" ? (y(), M("div", ys, [
8010
+ a.renderKey === "current-particle" && H.key === "current-particle" ? (y(), M("div", fs, [
8014
8011
  l("span", null, b(t.$t("weather.particleAnimatiom")), 1),
8015
8012
  d(k, {
8016
8013
  modelValue: a.showCurrentParticle,
@@ -8046,7 +8043,7 @@ function Bs(t, e, o, i, a, r) {
8046
8043
  disabled: !a.autoActive
8047
8044
  }, {
8048
8045
  default: u(() => [
8049
- W(b(t.$t("weather.coverage")), 1)
8046
+ U(b(t.$t("weather.coverage")), 1)
8050
8047
  ]),
8051
8048
  _: 1
8052
8049
  }, 8, ["color", "disabled"]),
@@ -8060,7 +8057,7 @@ function Bs(t, e, o, i, a, r) {
8060
8057
  value: "ice-thickness"
8061
8058
  }, {
8062
8059
  default: u(() => [
8063
- W(b(t.$t("weather.thickness")), 1)
8060
+ U(b(t.$t("weather.thickness")), 1)
8064
8061
  ]),
8065
8062
  _: 1
8066
8063
  }, 8, ["color", "disabled"])
@@ -8086,7 +8083,7 @@ function Bs(t, e, o, i, a, r) {
8086
8083
  style: { "font-size": "16px !important" }
8087
8084
  }, {
8088
8085
  default: u(() => [
8089
- W(b(t.$t("weather.forecastModel")), 1)
8086
+ U(b(t.$t("weather.forecastModel")), 1)
8090
8087
  ]),
8091
8088
  _: 1
8092
8089
  })
@@ -8095,28 +8092,28 @@ function Bs(t, e, o, i, a, r) {
8095
8092
  }),
8096
8093
  d(p, { class: "" }, {
8097
8094
  default: u(() => {
8098
- var H, ee, je, Ce, he, fe, U, 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, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt;
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;
8099
8096
  return [
8100
- l("div", bs, b(t.$t("weather.atmospheric")), 1),
8101
- l("div", ws, 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 = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : ze.NOAA) == null ? void 0 : $.meta) == null ? void 0 : re.days) + b(t.$t("units.days")), 1),
8102
- l("div", xs, b(t.$t("weather.source")) + ": NOAA", 1),
8103
- l("div", vs, 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),
8104
- l("div", _s, 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),
8105
- l("div", ks, b(t.$t("weather.source")) + ": ECMWF", 1),
8106
- l("div", zs, 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),
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),
8107
8104
  d(h),
8108
- l("div", Ls, b(t.$t("weather.wave")), 1),
8109
- l("div", Ps, 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),
8110
- l("div", Cs, b(t.$t("weather.source")) + ": NOAA", 1),
8111
- l("div", Ts, 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),
8112
- l("div", Ss, 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),
8113
- l("div", Ms, b(t.$t("weather.source")) + ": ECMWF", 1),
8114
- l("div", Is, 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),
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),
8115
8112
  d(h),
8116
- l("div", As, b(t.$t("weather.currents")), 1),
8117
- l("div", Ds, 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((Ut = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.current) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Ut.spatialResolution) + b(t.$t("units.km")) + " " + b((Yt = (Zt = (Vt = (Gt = (Wt = a.models) == null ? void 0 : Wt.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),
8118
- l("div", Rs, b(t.$t("weather.source")) + ": ECMWF", 1),
8119
- l("div", Os, 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)
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)
8120
8117
  ];
8121
8118
  }),
8122
8119
  _: 1
@@ -8165,7 +8162,7 @@ function Bs(t, e, o, i, a, r) {
8165
8162
  factor: (ge = a.weatherLayers) == null ? void 0 : ge["wind-particle"],
8166
8163
  "menu-toggle": o.menuToggle
8167
8164
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : E("", !0),
8168
- o.map ? (y(), B(D, j({
8165
+ o.map ? (y(), B(A, j({
8169
8166
  key: 6,
8170
8167
  viewport: a.viewport,
8171
8168
  factor: (me = a.weatherLayers) == null ? void 0 : me["current-particle"],
@@ -8228,7 +8225,7 @@ function Bs(t, e, o, i, a, r) {
8228
8225
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : E("", !0)
8229
8226
  ]);
8230
8227
  }
8231
- const Es = /* @__PURE__ */ V(os, [["render", Bs]]), eo = [
8228
+ const Bs = /* @__PURE__ */ V(ts, [["render", Os]]), eo = [
8232
8229
  {
8233
8230
  rank: 0,
8234
8231
  name: "Best Match",
@@ -8575,8 +8572,8 @@ class Va {
8575
8572
  }), a;
8576
8573
  }
8577
8574
  static pickHourly(e, o) {
8578
- var i, a, r, s, n, c, g, p, h, f, k, v, T, w, A, S, P, z, L, C, _, D, 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;
8579
- const he = typeof o == "string" ? I(o) : o, fe = e == null ? void 0 : e.weather, U = 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 = [];
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 = [];
8580
8577
  if (he.isBetween($, re, "millisecond", "[]")) {
8581
8578
  const O = he.utc().diff($, "h", !1);
8582
8579
  let ye, Te;
@@ -8594,7 +8591,7 @@ class Va {
8594
8591
  rh: (T = G == null ? void 0 : G.relative_humidity_2m) == null ? void 0 : T.at(O),
8595
8592
  dp: (w = G == null ? void 0 : G.dew_point_2m) == null ? void 0 : w.at(O),
8596
8593
  precip: {
8597
- probability: (A = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : A.at(O),
8594
+ probability: (D = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : D.at(O),
8598
8595
  sum: (S = G == null ? void 0 : G.precipitation) == null ? void 0 : S.at(O),
8599
8596
  sum3Hours: Math.round(Be * 100) / 100,
8600
8597
  sum6Hours: Math.round(Ee * 100) / 100
@@ -8605,7 +8602,7 @@ class Va {
8605
8602
  visibility: this.m2nm((C = G == null ? void 0 : G.visibility) == null ? void 0 : C.at(O)),
8606
8603
  wind: {
8607
8604
  speed: (_ = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : _.at(O),
8608
- kts: (D = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : D.at(O),
8605
+ kts: (A = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : A.at(O),
8609
8606
  degree: (Z = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : Z.at(O),
8610
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,
8611
8608
  gusts: (Y = G == null ? void 0 : G.wind_gusts_10m) == null ? void 0 : Y.at(O)
@@ -8620,9 +8617,9 @@ class Va {
8620
8617
  });
8621
8618
  }
8622
8619
  }
8623
- if (U) {
8620
+ if (W) {
8624
8621
  let Be = 0;
8625
- for (const Ee of U) {
8622
+ for (const Ee of W) {
8626
8623
  const R = Ee == null ? void 0 : Ee.hourly;
8627
8624
  Te = {
8628
8625
  wave: {
@@ -8684,49 +8681,49 @@ class Va {
8684
8681
  };
8685
8682
  }
8686
8683
  static pickDaily(e, o) {
8687
- var i, a, r, s, n, c, g, p, h, f, k, v, T, w, A, S, P, z, L, C, _, D, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Me, Ie, Ae, De;
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;
8688
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 = [];
8689
8686
  if (Re.isBetween(ee, je, "millisecond", "[]")) {
8690
8687
  let he, fe;
8691
- const U = Re.diff(ee, "d", !1);
8688
+ const W = Re.diff(ee, "d", !1);
8692
8689
  if (ve)
8693
8690
  for (const ze of ve) {
8694
8691
  const $ = ze.daily;
8695
8692
  he = {
8696
- code: (g = $.weather_code) == null ? void 0 : g.at(U),
8693
+ code: (g = $.weather_code) == null ? void 0 : g.at(W),
8697
8694
  temp: {
8698
- max: (p = $.temperature_2m_max) == null ? void 0 : p.at(U),
8699
- min: (h = $.temperature_2m_min) == null ? void 0 : h.at(U),
8700
- mean: (f = $.temperature_2m_mean) == null ? void 0 : f.at(U)
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)
8701
8698
  },
8702
8699
  apparentTemp: {
8703
- max: (k = $.apparent_temperature_max) == null ? void 0 : k.at(U),
8704
- min: (v = $.apparent_temperature_min) == null ? void 0 : v.at(U)
8700
+ max: (k = $.apparent_temperature_max) == null ? void 0 : k.at(W),
8701
+ min: (v = $.apparent_temperature_min) == null ? void 0 : v.at(W)
8705
8702
  },
8706
8703
  precip: {
8707
- sum: (T = $.precipitation_sum) == null ? void 0 : T.at(U),
8708
- rainSum: (w = $.rain_sum) == null ? void 0 : w.at(U),
8709
- snowfallSum: (A = $.snowfall_sum) == null ? void 0 : A.at(U),
8710
- showersSum: (S = $.showers_sum) == null ? void 0 : S.at(U),
8711
- hours: (P = $.precipitation_hours) == null ? void 0 : P.at(U),
8712
- probability: (z = $.precipitation_probability_max) == null ? void 0 : z.at(U)
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)
8713
8710
  },
8714
8711
  rh: {
8715
- max: (L = $.relative_humidity_2m_max) == null ? void 0 : L.at(U),
8716
- min: (C = $.relative_humidity_2m_min) == null ? void 0 : C.at(U),
8717
- mean: (_ = $.relative_humidity_2m_mean) == null ? void 0 : _.at(U)
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)
8718
8715
  },
8719
8716
  wind: {
8720
- speed: (D = $.wind_speed_10m_max) == null ? void 0 : D.at(U),
8721
- kts: (Z = $.wind_speed_10m_max) == null ? void 0 : Z.at(U),
8722
- degree: (q = $.wind_direction_10m_dominant) == null ? void 0 : q.at(U),
8723
- gusts: (X = $.wind_gusts_10m_max) == null ? void 0 : X.at(U),
8724
- bearing: ((Y = $.wind_direction_10m_dominant) == null ? void 0 : Y.at(U)) !== null ? (((te = $.wind_direction_10m_dominant) == null ? void 0 : te.at(U)) + 180) % 360 : null
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
8725
8722
  }
8726
8723
  };
8727
8724
  const { name: re, url: Oe, bg: O } = this.parseWeatherCode(he.code, !0);
8728
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({
8729
- utc: ee.add(U, "d").utc().format(),
8726
+ utc: ee.add(W, "d").utc().format(),
8730
8727
  model: ze.model,
8731
8728
  weather: { ...he }
8732
8729
  });
@@ -8738,25 +8735,25 @@ class Va {
8738
8735
  fe = {
8739
8736
  wave: {
8740
8737
  sig: {
8741
- height: (oe = re.wave_height_max) == null ? void 0 : oe.at(U),
8742
- degree: (J = re.wave_direction_dominant) == null ? void 0 : J.at(U),
8743
- period: (le = re.wave_period_max) == null ? void 0 : le.at(U),
8744
- bearing: ((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(U)) !== null ? (((ue = re.wave_direction_dominant) == null ? void 0 : ue.at(U)) + 180) % 360 : null
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
8745
8742
  },
8746
8743
  swell: {
8747
- height: (ce = re.swell_wave_height_max) == null ? void 0 : ce.at(U),
8748
- degree: (Q = re.swell_wave_direction_dominant) == null ? void 0 : Q.at(U),
8749
- period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(U),
8750
- peakPeriod: (ge = re.swell_wave_peak_period_max) == null ? void 0 : ge.at(U),
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),
8751
8748
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
8752
- bearing: ((me = re.swell_wave_direction_dominant) == null ? void 0 : me.at(U)) !== null ? ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(U)) % 360 : null
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
8753
8750
  },
8754
8751
  wd: {
8755
- height: (de = re.wind_wave_height_max) == null ? void 0 : de.at(U),
8756
- degree: (ke = re.wind_wave_direction_dominant) == null ? void 0 : ke.at(U),
8757
- period: (Me = re.wind_wave_period_max) == null ? void 0 : Me.at(U),
8758
- peakPeriod: (Ie = re.wind_wave_peak_period_max) == null ? void 0 : Ie.at(U),
8759
- bearing: ((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(U)) !== null ? (((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(U)) + 180) % 360 : null
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
8760
8757
  }
8761
8758
  }
8762
8759
  }, fe.wave = this.parseWave(fe.wave, he == null ? void 0 : he.wind), Object.assign(Ce[ze], fe), ze++;
@@ -9164,7 +9161,7 @@ class Va {
9164
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;
9165
9162
  }
9166
9163
  }
9167
- const js = {
9164
+ const Es = {
9168
9165
  name: "IdmTropicals",
9169
9166
  props: {
9170
9167
  permission: {
@@ -9325,7 +9322,7 @@ const js = {
9325
9322
  responseType: /\.(jpg|png)$/.test(g.tropicals) ? "blob" : "json"
9326
9323
  }).then((p) => {
9327
9324
  var k, v, T;
9328
- const h = Wa.convert2Geojson(((k = p == null ? void 0 : p.data) == null ? void 0 : k.data) || (p == null ? void 0 : p.data));
9325
+ const h = Ua.convert2Geojson(((k = p == null ? void 0 : p.data) == null ? void 0 : k.data) || (p == null ? void 0 : p.data));
9329
9326
  ((T = (v = p == null ? void 0 : p.config) == null ? void 0 : v.headers) == null ? void 0 : T.key) && h && (this.tropicals = {
9330
9327
  data: h,
9331
9328
  active: !0,
@@ -9591,7 +9588,7 @@ const js = {
9591
9588
  }), k = (/* @__PURE__ */ new Date()).valueOf() - (h + f), console.log("[tropical] add elapsed: ", k, ", total: ", f += k));
9592
9589
  }
9593
9590
  this.handleDrawCircle();
9594
- const p = Wa.interpolate(this.tropicals, 1);
9591
+ const p = Ua.interpolate(this.tropicals, 1);
9595
9592
  this.interpolateData = JSON.parse(JSON.stringify(p)), this.handleDateChange();
9596
9593
  }
9597
9594
  },
@@ -9613,7 +9610,7 @@ const js = {
9613
9610
  ), this.showTropicalsInfo = !1;
9614
9611
  },
9615
9612
  handleDateChange() {
9616
- var t, e, o, i, a, r, s, n, c, g, p, h, f, k, v, T, w, A, S, P, z, L, C, _, D, Z, q, X, Y, te, oe, J;
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;
9617
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) {
9618
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]);
9619
9616
  ue.forEach((Q) => {
@@ -9635,7 +9632,7 @@ const js = {
9635
9632
  for (const Q of pe)
9636
9633
  if (!Q.properties.disabled) {
9637
9634
  let ie = "#f44336";
9638
- ((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 && ((A = (w = Q.properties) == null ? void 0 : w.wind) == null ? void 0 : A.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 = (D = Q.properties) == null ? void 0 : D.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";
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";
9639
9636
  const ge = `<svg t="1719918955501"
9640
9637
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
9641
9638
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -9766,19 +9763,19 @@ const js = {
9766
9763
  this.$emit("tropicalNotification", t);
9767
9764
  }
9768
9765
  }
9769
- }, Ns = { class: "idm-tropical-gl4" }, Fs = {
9766
+ }, js = { class: "idm-tropical-gl4" }, Ns = {
9770
9767
  id: "idm-tropical-gl4-info",
9771
9768
  class: "idm-tropical-gl4-info"
9772
- }, Hs = { class: "pb-1" }, Us = { class: "text-h6 font-weight-600" }, Ws = {
9769
+ }, Fs = { class: "pb-1" }, Hs = { class: "text-h6 font-weight-600" }, Ws = {
9773
9770
  key: 0,
9774
9771
  class: "text-body-1 opacity-70"
9775
- }, Gs = { class: "text-body-2" }, Vs = { class: "d-flex justify-space-between align-center" }, Zs = { class: "flex-1-1-0" }, Ys = { class: "flex-1-1-0" }, qs = { class: "py-2 d-flex justify-space-between align-center" }, Xs = { class: "flex-1-1-0" }, Ks = { class: "flex-1-1-0" }, Qs = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Js = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, $s = { class: "more" }, en = {
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 = {
9776
9773
  class: "my-4",
9777
9774
  style: { height: "80px" }
9778
- }, tn = { class: "pa-1 d-flex justify-space-between align-center" }, on = { class: "pa-1 d-flex justify-space-between align-center" };
9779
- function an(t, e, o, i, a, r) {
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) {
9780
9777
  const s = x("VBtn"), n = x("VTooltip"), c = x("VCardText"), g = x("VDivider"), p = x("VCardActions"), h = x("VCard");
9781
- return y(), M("div", Ns, [
9778
+ return y(), M("div", js, [
9782
9779
  l("div", {
9783
9780
  class: "menu-bar-box transition pa-1",
9784
9781
  style: ae({ top: o.top + 134 + "px", right: a.right + "px" })
@@ -9805,7 +9802,7 @@ function an(t, e, o, i, a, r) {
9805
9802
  _: 1
9806
9803
  }, 8, ["text"])
9807
9804
  ], 4),
9808
- He(l("div", Fs, [
9805
+ He(l("div", Ns, [
9809
9806
  d(h, {
9810
9807
  width: "400",
9811
9808
  elevation: "16"
@@ -9813,10 +9810,10 @@ function an(t, e, o, i, a, r) {
9813
9810
  default: u(() => [
9814
9811
  d(c, null, {
9815
9812
  default: u(() => {
9816
- var f, k, v, T, w, A, S, P, z, L;
9813
+ var f, k, v, T, w, D, S, P, z, L;
9817
9814
  return [
9818
- l("div", Hs, [
9819
- l("span", Us, b((f = a.activeTropicals) == null ? void 0 : f.name), 1),
9815
+ l("div", Fs, [
9816
+ l("span", Hs, b((f = a.activeTropicals) == null ? void 0 : f.name), 1),
9820
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)
9821
9818
  ]),
9822
9819
  d(s, {
@@ -9832,9 +9829,9 @@ function an(t, e, o, i, a, r) {
9832
9829
  _: 1,
9833
9830
  __: [5]
9834
9831
  }),
9835
- l("div", Gs, [
9832
+ l("div", Us, [
9836
9833
  e[6] || (e[6] = l("span", { class: "opacity-70" }, "Last update: ", -1)),
9837
- l("span", null, b(r.computeTime(((S = (A = a.activeTropicals) == null ? void 0 : A.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)
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)
9838
9835
  ])
9839
9836
  ];
9840
9837
  }),
@@ -9843,45 +9840,45 @@ function an(t, e, o, i, a, r) {
9843
9840
  d(g),
9844
9841
  d(c, { class: "text-body-1" }, {
9845
9842
  default: u(() => {
9846
- var f, k, v, T, w, A, S, P, z;
9843
+ var f, k, v, T, w, D, S, P, z;
9847
9844
  return [
9848
- l("div", Vs, [
9849
- l("div", Zs, [
9845
+ l("div", Gs, [
9846
+ l("div", Vs, [
9850
9847
  e[7] || (e[7] = l("label", { class: "opacity-70 pr-1" }, "Wind speed : ", -1)),
9851
9848
  l("span", null, b(((k = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : k.kts) || "-") + " kts", 1),
9852
9849
  l("span", null, ", BF " + b(r.computeBF(((T = (v = a.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : T.kts) || "-")), 1)
9853
9850
  ]),
9854
- l("div", Ys, [
9851
+ l("div", Zs, [
9855
9852
  e[8] || (e[8] = l("label", { class: "opacity-70 pr-1" }, "Pressure : ", -1)),
9856
- l("span", null, b(((A = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : A.pressure) || "-") + " hPa", 1)
9853
+ l("span", null, b(((D = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : D.pressure) || "-") + " hPa", 1)
9857
9854
  ])
9858
9855
  ]),
9859
- l("div", qs, [
9860
- l("div", Xs, [
9856
+ l("div", Ys, [
9857
+ l("div", qs, [
9861
9858
  e[9] || (e[9] = l("label", { class: "opacity-70 pr-1" }, "Move Speed : ", -1)),
9862
9859
  l("span", null, b(((S = r.computeMovement(a.activeTropicals)) == null ? void 0 : S.kts) || "-") + " kts", 1)
9863
9860
  ]),
9864
- l("div", Ks, [
9861
+ l("div", Xs, [
9865
9862
  e[10] || (e[10] = l("label", { class: "opacity-70 pr-1" }, "Move Dir : ", -1)),
9866
9863
  l("span", null, b(((P = r.computeMovement(a.activeTropicals)) == null ? void 0 : P.deg) || "-") + "°", 1)
9867
9864
  ])
9868
9865
  ]),
9869
- l("div", Qs, [
9866
+ l("div", Ks, [
9870
9867
  e[11] || (e[11] = l("label", {
9871
9868
  class: "opacity-70 pr-1",
9872
9869
  style: { width: "max-content" }
9873
9870
  }, "Forecast Models : ", -1)),
9874
- l("div", Js, [
9871
+ l("div", Qs, [
9875
9872
  (y(!0), M(be, null, we((z = a.activeTropicals) == null ? void 0 : z.forecasts, (L, C) => (y(), B(s, {
9876
9873
  key: C,
9877
9874
  density: "compact",
9878
9875
  variant: L.disabled ? "outlined" : "flat",
9879
9876
  color: L.disabled ? "" : "primary",
9880
- class: We(["model text-none text-body-1", L.disabled ? "" : "btn-border-2"]),
9877
+ class: Ue(["model text-none text-body-1", L.disabled ? "" : "btn-border-2"]),
9881
9878
  onClick: (_) => r.handleForecastToggle(L)
9882
9879
  }, {
9883
9880
  default: u(() => [
9884
- W(b(L.model), 1)
9881
+ U(b(L.model), 1)
9885
9882
  ]),
9886
9883
  _: 2
9887
9884
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -9906,12 +9903,12 @@ function an(t, e, o, i, a, r) {
9906
9903
  l("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
9907
9904
  ])),
9908
9905
  default: u(() => [
9909
- e[13] || (e[13] = W(" Legend ", -1))
9906
+ e[13] || (e[13] = U(" Legend ", -1))
9910
9907
  ]),
9911
9908
  _: 1,
9912
9909
  __: [13]
9913
9910
  }, 8, ["color"]),
9914
- l("div", $s, [
9911
+ l("div", Js, [
9915
9912
  o.permission & a.helper.LEVEL.Supper ? (y(), B(s, {
9916
9913
  key: 0,
9917
9914
  variant: "text",
@@ -9920,7 +9917,7 @@ function an(t, e, o, i, a, r) {
9920
9917
  onClick: e[2] || (e[2] = (f) => r.handleNotification(a.activeTropicals))
9921
9918
  }, {
9922
9919
  default: u(() => e[14] || (e[14] = [
9923
- W("Notify", -1)
9920
+ U("Notify", -1)
9924
9921
  ])),
9925
9922
  _: 1,
9926
9923
  __: [14]
@@ -9933,7 +9930,7 @@ function an(t, e, o, i, a, r) {
9933
9930
  onClick: e[3] || (e[3] = (f) => r.handleStrikeProbability(a.activeTropicals))
9934
9931
  }, {
9935
9932
  default: u(() => e[15] || (e[15] = [
9936
- W("View Report", -1)
9933
+ U("View Report", -1)
9937
9934
  ])),
9938
9935
  _: 1,
9939
9936
  __: [15]
@@ -9945,7 +9942,7 @@ function an(t, e, o, i, a, r) {
9945
9942
  ]),
9946
9943
  _: 1
9947
9944
  }),
9948
- l("div", en, [
9945
+ l("div", $s, [
9949
9946
  He(d(h, {
9950
9947
  width: "400",
9951
9948
  elevation: "16"
@@ -9953,7 +9950,7 @@ function an(t, e, o, i, a, r) {
9953
9950
  default: u(() => [
9954
9951
  d(c, null, {
9955
9952
  default: u(() => [
9956
- He(l("div", tn, e[16] || (e[16] = [
9953
+ He(l("div", en, e[16] || (e[16] = [
9957
9954
  l("div", { class: "legend d-flex justify-start align-center" }, [
9958
9955
  l("div", { class: "icon td" }),
9959
9956
  l("div", { class: "label" }, "TD")
@@ -9979,9 +9976,9 @@ function an(t, e, o, i, a, r) {
9979
9976
  l("div", { class: "label" }, "Super TY")
9980
9977
  ], -1)
9981
9978
  ]), 512), [
9982
- [Ue, a.showLegend]
9979
+ [We, a.showLegend]
9983
9980
  ]),
9984
- He(l("div", on, e[17] || (e[17] = [
9981
+ He(l("div", tn, e[17] || (e[17] = [
9985
9982
  l("div", { class: "legend d-flex justify-start align-center" }, [
9986
9983
  l("div", { class: "icon history" }),
9987
9984
  l("div", { class: "label" }, "History")
@@ -9999,7 +9996,7 @@ function an(t, e, o, i, a, r) {
9999
9996
  l("div", { class: "label" }, "50kts Radii")
10000
9997
  ], -1)
10001
9998
  ]), 512), [
10002
- [Ue, a.showLegend]
9999
+ [We, a.showLegend]
10003
10000
  ])
10004
10001
  ]),
10005
10002
  _: 1
@@ -10007,16 +10004,16 @@ function an(t, e, o, i, a, r) {
10007
10004
  ]),
10008
10005
  _: 1
10009
10006
  }, 512), [
10010
- [Ue, a.showLegend]
10007
+ [We, a.showLegend]
10011
10008
  ])
10012
10009
  ])
10013
10010
  ], 512), [
10014
- [Ue, a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend]
10011
+ [We, a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend]
10015
10012
  ])
10016
10013
  ]);
10017
10014
  }
10018
- const Ya = /* @__PURE__ */ V(js, [["render", an]]);
10019
- const rn = {
10015
+ const Ya = /* @__PURE__ */ V(Es, [["render", on]]);
10016
+ const an = {
10020
10017
  name: "DateTimePicker",
10021
10018
  props: {
10022
10019
  locale: {
@@ -10157,19 +10154,19 @@ const rn = {
10157
10154
  this.currentDate = t.clone().format("YYYY-MM-DD"), this.currentTime = t.clone().format("HH:00");
10158
10155
  }
10159
10156
  }
10160
- }, ln = { class: "idm-gl4-timepicker" }, sn = {
10157
+ }, rn = { class: "idm-gl4-timepicker" }, ln = {
10161
10158
  class: "pa-0",
10162
10159
  style: { width: "250px" }
10163
- }, nn = {
10160
+ }, sn = {
10164
10161
  class: "h-100 pa-0 d-flex flex-column justify-start align-center",
10165
10162
  style: { width: "100px" }
10166
- }, cn = {
10163
+ }, nn = {
10167
10164
  class: "d-flex justify-center align-center text-body-2",
10168
10165
  style: { height: "56px" }
10169
10166
  };
10170
- function mn(t, e, o, i, a, r) {
10167
+ function cn(t, e, o, i, a, r) {
10171
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");
10172
- return y(), M("div", ln, [
10169
+ return y(), M("div", rn, [
10173
10170
  d(s, {
10174
10171
  text: "",
10175
10172
  height: "30",
@@ -10177,7 +10174,7 @@ function mn(t, e, o, i, a, r) {
10177
10174
  onClick: r.handleOpenDatePicker
10178
10175
  }, {
10179
10176
  default: u(() => [
10180
- W(b(a.currentDateTime) + " | UTC " + b(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
10177
+ U(b(a.currentDateTime) + " | UTC " + b(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
10181
10178
  ]),
10182
10179
  _: 1
10183
10180
  }, 8, ["onClick"]),
@@ -10188,7 +10185,7 @@ function mn(t, e, o, i, a, r) {
10188
10185
  default: u(() => [
10189
10186
  d(f, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
10190
10187
  default: u(() => [
10191
- l("div", sn, [
10188
+ l("div", ln, [
10192
10189
  d(n, {
10193
10190
  modelValue: a.currentDate,
10194
10191
  "onUpdate:modelValue": e[0] || (e[0] = (T) => a.currentDate = T),
@@ -10207,8 +10204,8 @@ function mn(t, e, o, i, a, r) {
10207
10204
  class: "h-100",
10208
10205
  vertical: ""
10209
10206
  }),
10210
- l("div", nn, [
10211
- l("div", cn, b(a.currentTime), 1),
10207
+ l("div", sn, [
10208
+ l("div", nn, b(a.currentTime), 1),
10212
10209
  d(h, { class: "pa-0 flex-1-1-0" }, {
10213
10210
  default: u(() => [
10214
10211
  (y(!0), M(be, null, we(r.hourOptions, (T, w) => (y(), B(p, {
@@ -10223,10 +10220,10 @@ function mn(t, e, o, i, a, r) {
10223
10220
  default: u(() => [
10224
10221
  d(g, {
10225
10222
  class: "text-body-2 text-center",
10226
- onClick: (A) => a.currentTime = T
10223
+ onClick: (D) => a.currentTime = T
10227
10224
  }, {
10228
10225
  default: u(() => [
10229
- W(b(T), 1)
10226
+ U(b(T), 1)
10230
10227
  ]),
10231
10228
  _: 2
10232
10229
  }, 1032, ["onClick"])
@@ -10253,7 +10250,7 @@ function mn(t, e, o, i, a, r) {
10253
10250
  onClick: r.handleCancelDate
10254
10251
  }, {
10255
10252
  default: u(() => e[1] || (e[1] = [
10256
- W("Cancel", -1)
10253
+ U("Cancel", -1)
10257
10254
  ])),
10258
10255
  _: 1,
10259
10256
  __: [1]
@@ -10266,7 +10263,7 @@ function mn(t, e, o, i, a, r) {
10266
10263
  onClick: r.handleConfirmDate
10267
10264
  }, {
10268
10265
  default: u(() => e[2] || (e[2] = [
10269
- W("Confirm", -1)
10266
+ U("Confirm", -1)
10270
10267
  ])),
10271
10268
  _: 1,
10272
10269
  __: [2]
@@ -10279,8 +10276,8 @@ function mn(t, e, o, i, a, r) {
10279
10276
  })) : E("", !0)
10280
10277
  ]);
10281
10278
  }
10282
- const lo = /* @__PURE__ */ V(rn, [["render", mn]]);
10283
- const dn = {
10279
+ const lo = /* @__PURE__ */ V(an, [["render", cn]]);
10280
+ const mn = {
10284
10281
  name: "IdmPoint",
10285
10282
  components: {
10286
10283
  DateTimePicker: lo
@@ -10524,10 +10521,10 @@ const dn = {
10524
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;
10525
10522
  },
10526
10523
  initTableData(t) {
10527
- var o, i, a, r, s, n, c, g, p, h, f, k, v, T, w, A, S, P, z, L, C, _, D, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke;
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;
10528
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;
10529
10526
  const e = ((s = ao.pickHourly(t, I(this.form.dateTime))) == null ? void 0 : s[0]) || {};
10530
- 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 = (A = e == null ? void 0 : e.weather) == null ? void 0 : A.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 = (D = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : D.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;
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;
10531
10528
  },
10532
10529
  handleBind() {
10533
10530
  var t, e;
@@ -10585,22 +10582,22 @@ const dn = {
10585
10582
  this.$emit("follow", this.point);
10586
10583
  }
10587
10584
  }
10588
- }, hn = { class: "idm-gl4-spot" }, pn = { class: "d-flex justify-start align-center ga-1 mb-1" }, un = {
10585
+ }, dn = { class: "idm-gl4-spot" }, hn = { class: "d-flex justify-start align-center ga-1 mb-1" }, pn = {
10589
10586
  class: "multi-color-icon",
10590
10587
  "aria-hidden": "true"
10591
- }, gn = ["xlink:href"], fn = { class: "d-flex justify-start align-center ga-1 mb-1" }, yn = {
10588
+ }, un = ["xlink:href"], gn = { class: "d-flex justify-start align-center ga-1 mb-1" }, fn = {
10592
10589
  class: "multi-color-icon",
10593
10590
  "aria-hidden": "true"
10594
- }, bn = ["xlink:href"], wn = { class: "d-flex justify-start align-center ga-1 mb-1" }, xn = {
10591
+ }, yn = ["xlink:href"], bn = { class: "d-flex justify-start align-center ga-1 mb-1" }, wn = {
10595
10592
  class: "multi-color-icon",
10596
10593
  "aria-hidden": "true"
10597
- }, vn = ["xlink:href"], _n = { class: "d-flex justify-start align-center ga-1 mb-1" }, kn = {
10594
+ }, xn = ["xlink:href"], vn = { class: "d-flex justify-start align-center ga-1 mb-1" }, _n = {
10598
10595
  class: "multi-color-icon",
10599
10596
  "aria-hidden": "true"
10600
- }, zn = ["xlink:href"], Ln = { class: "d-flex justify-start align-center" }, Pn = { class: "mx-2" };
10601
- function Cn(t, e, o, i, a, r) {
10602
- 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"), A = x("VCardText"), S = x("VCard"), P = x("VIcon");
10603
- return y(), M("div", hn, [
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, [
10604
10601
  l("div", {
10605
10602
  class: "menu-bar-box transition pa-1",
10606
10603
  style: ae({ top: o.top + 174 + "px", right: a.right + "px" })
@@ -10656,7 +10653,7 @@ function Cn(t, e, o, i, a, r) {
10656
10653
  __: [10]
10657
10654
  }),
10658
10655
  d(g),
10659
- d(A, { class: "text-body-1 py-1" }, {
10656
+ d(D, { class: "text-body-1 py-1" }, {
10660
10657
  default: u(() => [
10661
10658
  d(w, {
10662
10659
  ref: "spotForm",
@@ -10665,11 +10662,11 @@ function Cn(t, e, o, i, a, r) {
10665
10662
  onSubmit: io(r.submitForm, ["prevent"])
10666
10663
  }, {
10667
10664
  default: u(() => [
10668
- l("div", pn, [
10669
- (y(), M("svg", un, [
10665
+ l("div", hn, [
10666
+ (y(), M("svg", pn, [
10670
10667
  l("use", {
10671
10668
  "xlink:href": `#icon-lng-${o.theme}`
10672
- }, null, 8, gn)
10669
+ }, null, 8, un)
10673
10670
  ])),
10674
10671
  e[11] || (e[11] = l("div", null, "Lng", -1))
10675
10672
  ]),
@@ -10730,7 +10727,7 @@ function Cn(t, e, o, i, a, r) {
10730
10727
  onClick: e[2] || (e[2] = (z) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
10731
10728
  }, {
10732
10729
  default: u(() => [
10733
- W(b(a.form.lngDirection), 1)
10730
+ U(b(a.form.lngDirection), 1)
10734
10731
  ]),
10735
10732
  _: 1
10736
10733
  })
@@ -10740,11 +10737,11 @@ function Cn(t, e, o, i, a, r) {
10740
10737
  ]),
10741
10738
  _: 1
10742
10739
  }),
10743
- l("div", fn, [
10744
- (y(), M("svg", yn, [
10740
+ l("div", gn, [
10741
+ (y(), M("svg", fn, [
10745
10742
  l("use", {
10746
10743
  "xlink:href": `#icon-lng-${o.theme}`
10747
- }, null, 8, bn)
10744
+ }, null, 8, yn)
10748
10745
  ])),
10749
10746
  e[14] || (e[14] = l("div", null, "Lat", -1))
10750
10747
  ]),
@@ -10808,7 +10805,7 @@ function Cn(t, e, o, i, a, r) {
10808
10805
  onClick: e[5] || (e[5] = (z) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
10809
10806
  }, {
10810
10807
  default: u(() => [
10811
- W(b(a.form.latDirection), 1)
10808
+ U(b(a.form.latDirection), 1)
10812
10809
  ]),
10813
10810
  _: 1
10814
10811
  })
@@ -10818,11 +10815,11 @@ function Cn(t, e, o, i, a, r) {
10818
10815
  ]),
10819
10816
  _: 1
10820
10817
  }),
10821
- l("div", wn, [
10822
- (y(), M("svg", xn, [
10818
+ l("div", bn, [
10819
+ (y(), M("svg", wn, [
10823
10820
  l("use", {
10824
10821
  "xlink:href": `#icon-date-time-${o.theme}`
10825
- }, null, 8, vn)
10822
+ }, null, 8, xn)
10826
10823
  ])),
10827
10824
  e[17] || (e[17] = l("div", null, "Date Time", -1))
10828
10825
  ]),
@@ -10845,11 +10842,11 @@ function Cn(t, e, o, i, a, r) {
10845
10842
  ]),
10846
10843
  _: 1
10847
10844
  }),
10848
- l("div", _n, [
10849
- (y(), M("svg", kn, [
10845
+ l("div", vn, [
10846
+ (y(), M("svg", _n, [
10850
10847
  l("use", {
10851
10848
  "xlink:href": `#icon-forecast-model-${o.theme}`
10852
- }, null, 8, zn)
10849
+ }, null, 8, kn)
10853
10850
  ])),
10854
10851
  e[18] || (e[18] = l("div", null, "Forecast Model", -1))
10855
10852
  ]),
@@ -10874,12 +10871,12 @@ function Cn(t, e, o, i, a, r) {
10874
10871
  density: "compact",
10875
10872
  height: "30",
10876
10873
  value: "GFS",
10877
- class: We(["text-none flex-1-1-0", a.form.forecastModel === "GFS" ? "" : "btn-border-1"]),
10874
+ class: Ue(["text-none flex-1-1-0", a.form.forecastModel === "GFS" ? "" : "btn-border-1"]),
10878
10875
  color: a.form.forecastModel === "GFS" ? "primary" : "",
10879
10876
  "base-color": ""
10880
10877
  }, {
10881
10878
  default: u(() => e[19] || (e[19] = [
10882
- W("NOAA", -1)
10879
+ U("NOAA", -1)
10883
10880
  ])),
10884
10881
  _: 1,
10885
10882
  __: [19]
@@ -10887,13 +10884,13 @@ function Cn(t, e, o, i, a, r) {
10887
10884
  d(s, {
10888
10885
  density: "compact",
10889
10886
  height: "30",
10890
- class: We(["text-none flex-1-1-0", a.form.forecastModel === "ECMWF" ? "" : "btn-border-1"]),
10887
+ class: Ue(["text-none flex-1-1-0", a.form.forecastModel === "ECMWF" ? "" : "btn-border-1"]),
10891
10888
  color: a.form.forecastModel === "ECMWF" ? "primary" : "",
10892
10889
  "base-color": "",
10893
10890
  value: "ECMWF"
10894
10891
  }, {
10895
10892
  default: u(() => e[20] || (e[20] = [
10896
- W("ECMWF", -1)
10893
+ U("ECMWF", -1)
10897
10894
  ])),
10898
10895
  _: 1,
10899
10896
  __: [20]
@@ -10917,7 +10914,7 @@ function Cn(t, e, o, i, a, r) {
10917
10914
  onClick: r.cancelForm
10918
10915
  }, {
10919
10916
  default: u(() => e[21] || (e[21] = [
10920
- W("Clear", -1)
10917
+ U("Clear", -1)
10921
10918
  ])),
10922
10919
  _: 1,
10923
10920
  __: [21]
@@ -10932,7 +10929,7 @@ function Cn(t, e, o, i, a, r) {
10932
10929
  class: "text-none text-body-1"
10933
10930
  }, {
10934
10931
  default: u(() => e[22] || (e[22] = [
10935
- W("Confirm", -1)
10932
+ U("Confirm", -1)
10936
10933
  ])),
10937
10934
  _: 1,
10938
10935
  __: [22]
@@ -10959,9 +10956,9 @@ function Cn(t, e, o, i, a, r) {
10959
10956
  default: u(() => {
10960
10957
  var z, L, C, _;
10961
10958
  return [
10962
- l("div", Ln, [
10959
+ l("div", zn, [
10963
10960
  e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
10964
- l("div", Pn, 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)
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)
10965
10962
  ]),
10966
10963
  d(s, {
10967
10964
  class: "mr-n2",
@@ -10984,7 +10981,7 @@ function Cn(t, e, o, i, a, r) {
10984
10981
  _: 1
10985
10982
  }),
10986
10983
  d(g),
10987
- d(A, { class: "text-body-1 ml-n8" }, {
10984
+ d(D, { class: "text-body-1 ml-n8" }, {
10988
10985
  default: u(() => [
10989
10986
  d(f, null, {
10990
10987
  default: u(() => [
@@ -10993,7 +10990,7 @@ function Cn(t, e, o, i, a, r) {
10993
10990
  class: "pa-2 pl-0 text-right opacity-50"
10994
10991
  }, {
10995
10992
  default: u(() => e[25] || (e[25] = [
10996
- W("Time", -1)
10993
+ U("Time", -1)
10997
10994
  ])),
10998
10995
  _: 1,
10999
10996
  __: [25]
@@ -11005,7 +11002,7 @@ function Cn(t, e, o, i, a, r) {
11005
11002
  default: u(() => {
11006
11003
  var z;
11007
11004
  return [
11008
- W(b(r.computedTzTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
11005
+ U(b(r.computedTzTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
11009
11006
  ];
11010
11007
  }),
11011
11008
  _: 1
@@ -11020,7 +11017,7 @@ function Cn(t, e, o, i, a, r) {
11020
11017
  class: "pa-2 pl-0 text-right opacity-50"
11021
11018
  }, {
11022
11019
  default: u(() => e[26] || (e[26] = [
11023
- W("LT", -1)
11020
+ U("LT", -1)
11024
11021
  ])),
11025
11022
  _: 1,
11026
11023
  __: [26]
@@ -11032,7 +11029,7 @@ function Cn(t, e, o, i, a, r) {
11032
11029
  default: u(() => {
11033
11030
  var z;
11034
11031
  return [
11035
- W(b(r.computedLocalTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
11032
+ U(b(r.computedLocalTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
11036
11033
  ];
11037
11034
  }),
11038
11035
  _: 1
@@ -11047,7 +11044,7 @@ function Cn(t, e, o, i, a, r) {
11047
11044
  class: "pa-2 pl-0 text-right opacity-50"
11048
11045
  }, {
11049
11046
  default: u(() => e[27] || (e[27] = [
11050
- W("Wind", -1)
11047
+ U("Wind", -1)
11051
11048
  ])),
11052
11049
  _: 1,
11053
11050
  __: [27]
@@ -11057,7 +11054,7 @@ function Cn(t, e, o, i, a, r) {
11057
11054
  class: "pa-2 px-0 text-left"
11058
11055
  }, {
11059
11056
  default: u(() => [
11060
- W(b(a.currentHourData.windDir) + " / " + b(a.currentHourData.windSpeed) + "kts / BF" + b(a.currentHourData.windLevel), 1)
11057
+ U(b(a.currentHourData.windDir) + " / " + b(a.currentHourData.windSpeed) + "kts / BF" + b(a.currentHourData.windLevel), 1)
11061
11058
  ]),
11062
11059
  _: 1
11063
11060
  }),
@@ -11066,7 +11063,7 @@ function Cn(t, e, o, i, a, r) {
11066
11063
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
11067
11064
  }, {
11068
11065
  default: u(() => e[28] || (e[28] = [
11069
- W("Sig Wave", -1)
11066
+ U("Sig Wave", -1)
11070
11067
  ])),
11071
11068
  _: 1,
11072
11069
  __: [28]
@@ -11076,7 +11073,7 @@ function Cn(t, e, o, i, a, r) {
11076
11073
  class: "pa-2 px-0 text-left"
11077
11074
  }, {
11078
11075
  default: u(() => [
11079
- W(b(a.currentHourData.sigwaveDir) + " / " + b(a.currentHourData.sigwaveHeight) + "m / " + b(a.currentHourData.sigwavePeriod) + "s", 1)
11076
+ U(b(a.currentHourData.sigwaveDir) + " / " + b(a.currentHourData.sigwaveHeight) + "m / " + b(a.currentHourData.sigwavePeriod) + "s", 1)
11080
11077
  ]),
11081
11078
  _: 1
11082
11079
  })
@@ -11090,7 +11087,7 @@ function Cn(t, e, o, i, a, r) {
11090
11087
  class: "pa-2 pl-0 text-right opacity-50"
11091
11088
  }, {
11092
11089
  default: u(() => e[29] || (e[29] = [
11093
- W("Wind Wave", -1)
11090
+ U("Wind Wave", -1)
11094
11091
  ])),
11095
11092
  _: 1,
11096
11093
  __: [29]
@@ -11100,7 +11097,7 @@ function Cn(t, e, o, i, a, r) {
11100
11097
  class: "pa-2 px-0 text-left"
11101
11098
  }, {
11102
11099
  default: u(() => [
11103
- W(b(a.currentHourData.windwaveDir) + " / " + b(a.currentHourData.windwaveHeight) + "m / " + b(a.currentHourData.windwavePeriod) + "s", 1)
11100
+ U(b(a.currentHourData.windwaveDir) + " / " + b(a.currentHourData.windwaveHeight) + "m / " + b(a.currentHourData.windwavePeriod) + "s", 1)
11104
11101
  ]),
11105
11102
  _: 1
11106
11103
  }),
@@ -11109,7 +11106,7 @@ function Cn(t, e, o, i, a, r) {
11109
11106
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
11110
11107
  }, {
11111
11108
  default: u(() => e[30] || (e[30] = [
11112
- W("Swell", -1)
11109
+ U("Swell", -1)
11113
11110
  ])),
11114
11111
  _: 1,
11115
11112
  __: [30]
@@ -11119,7 +11116,7 @@ function Cn(t, e, o, i, a, r) {
11119
11116
  class: "pa-2 px-0 text-left"
11120
11117
  }, {
11121
11118
  default: u(() => [
11122
- W(b(a.currentHourData.swellDir) + " / " + b(a.currentHourData.swellHeight) + "m / " + b(a.currentHourData.swellPeriod) + "s", 1)
11119
+ U(b(a.currentHourData.swellDir) + " / " + b(a.currentHourData.swellHeight) + "m / " + b(a.currentHourData.swellPeriod) + "s", 1)
11123
11120
  ]),
11124
11121
  _: 1
11125
11122
  })
@@ -11133,7 +11130,7 @@ function Cn(t, e, o, i, a, r) {
11133
11130
  class: "pa-2 pl-0 text-right opacity-50"
11134
11131
  }, {
11135
11132
  default: u(() => e[31] || (e[31] = [
11136
- W("Current", -1)
11133
+ U("Current", -1)
11137
11134
  ])),
11138
11135
  _: 1,
11139
11136
  __: [31]
@@ -11143,7 +11140,7 @@ function Cn(t, e, o, i, a, r) {
11143
11140
  class: "pa-2 px-0 text-left"
11144
11141
  }, {
11145
11142
  default: u(() => [
11146
- W(b(a.currentHourData.currentDir) + " / " + b(a.currentHourData.currentSpeed) + "kts", 1)
11143
+ U(b(a.currentHourData.currentDir) + " / " + b(a.currentHourData.currentSpeed) + "kts", 1)
11147
11144
  ]),
11148
11145
  _: 1
11149
11146
  }),
@@ -11152,7 +11149,7 @@ function Cn(t, e, o, i, a, r) {
11152
11149
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
11153
11150
  }, {
11154
11151
  default: u(() => e[32] || (e[32] = [
11155
- W("Visibility", -1)
11152
+ U("Visibility", -1)
11156
11153
  ])),
11157
11154
  _: 1,
11158
11155
  __: [32]
@@ -11162,7 +11159,7 @@ function Cn(t, e, o, i, a, r) {
11162
11159
  class: "pa-2 px-0 text-left"
11163
11160
  }, {
11164
11161
  default: u(() => [
11165
- W(b(a.currentHourData.visibility) + " nm", 1)
11162
+ U(b(a.currentHourData.visibility) + " nm", 1)
11166
11163
  ]),
11167
11164
  _: 1
11168
11165
  })
@@ -11186,7 +11183,7 @@ function Cn(t, e, o, i, a, r) {
11186
11183
  d(P, { color: "warning" })
11187
11184
  ]),
11188
11185
  default: u(() => [
11189
- e[33] || (e[33] = W(" Follow", -1))
11186
+ e[33] || (e[33] = U(" Follow", -1))
11190
11187
  ]),
11191
11188
  _: 1,
11192
11189
  __: [33]
@@ -11199,7 +11196,7 @@ function Cn(t, e, o, i, a, r) {
11199
11196
  onClick: r.handleMeteoMore
11200
11197
  }, {
11201
11198
  default: u(() => e[34] || (e[34] = [
11202
- W("Forecast", -1)
11199
+ U("Forecast", -1)
11203
11200
  ])),
11204
11201
  _: 1,
11205
11202
  __: [34]
@@ -11210,12 +11207,12 @@ function Cn(t, e, o, i, a, r) {
11210
11207
  ]),
11211
11208
  _: 1
11212
11209
  }, 512), [
11213
- [Ue, a.showMeteo]
11210
+ [We, a.showMeteo]
11214
11211
  ])
11215
11212
  ]);
11216
11213
  }
11217
- const Tn = /* @__PURE__ */ V(dn, [["render", Cn]]);
11218
- const Sn = {
11214
+ const Cn = /* @__PURE__ */ V(mn, [["render", Pn]]);
11215
+ const Tn = {
11219
11216
  name: "IdmMeasure",
11220
11217
  props: {
11221
11218
  map: {
@@ -11310,13 +11307,13 @@ const Sn = {
11310
11307
  if ((e == null ? void 0 : e.split("-").length) === 2) {
11311
11308
  const f = this.geojson.filter((w) => w.id === e.split("-")[0])[0];
11312
11309
  this.pointMarkers[f.id].filter((w) => {
11313
- var A;
11314
- return ((A = w._element) == null ? void 0 : A.id) === e;
11310
+ var D;
11311
+ return ((D = w._element) == null ? void 0 : D.id) === e;
11315
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]);
11316
11313
  let v;
11317
- f.features.forEach((w, A) => {
11314
+ f.features.forEach((w, D) => {
11318
11315
  if (w.geometry.type === "Point" && w.properties.id === e.split("-")[1]) {
11319
- v = A;
11316
+ v = D;
11320
11317
  return;
11321
11318
  }
11322
11319
  });
@@ -11565,10 +11562,10 @@ const Sn = {
11565
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);
11566
11563
  }
11567
11564
  }
11568
- }, Mn = { class: "idm-gl4-measure" };
11569
- function In(t, e, o, i, a, r) {
11565
+ }, Sn = { class: "idm-gl4-measure" };
11566
+ function Mn(t, e, o, i, a, r) {
11570
11567
  const s = x("VBtn"), n = x("VTooltip");
11571
- return y(), M("div", Mn, [
11568
+ return y(), M("div", Sn, [
11572
11569
  l("div", {
11573
11570
  class: "menu-bar-box transition pa-1",
11574
11571
  style: ae({ top: o.top + 214 + "px", right: a.right + "px" })
@@ -11597,8 +11594,8 @@ function In(t, e, o, i, a, r) {
11597
11594
  ], 4)
11598
11595
  ]);
11599
11596
  }
11600
- const An = /* @__PURE__ */ V(Sn, [["render", In]]);
11601
- const Dn = {
11597
+ const In = /* @__PURE__ */ V(Tn, [["render", Mn]]);
11598
+ const An = {
11602
11599
  name: "IdmBottomBar",
11603
11600
  components: { DateTimePicker: lo },
11604
11601
  props: {
@@ -11716,18 +11713,18 @@ const Dn = {
11716
11713
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
11717
11714
  }
11718
11715
  }
11719
- }, Rn = { class: "idm-bottom-bar-gl4" }, On = { class: "date-box d-flex ga-2 mr-2" }, Bn = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, En = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, jn = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Nn = {
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 = {
11720
11717
  key: 0,
11721
11718
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
11722
- }, Fn = ["onClick"], Hn = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Un = { class: "text-body-1" };
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" };
11723
11720
  function Wn(t, e, o, i, a, r) {
11724
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");
11725
- return y(), M("div", Rn, [
11722
+ return y(), M("div", Dn, [
11726
11723
  l("div", {
11727
11724
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
11728
11725
  style: ae({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
11729
11726
  }, [
11730
- l("div", On, [
11727
+ l("div", Rn, [
11731
11728
  d(s, j({
11732
11729
  ref: "dateTimePicker",
11733
11730
  "date-time": a.currentDateTimeZ,
@@ -11746,7 +11743,7 @@ function Wn(t, e, o, i, a, r) {
11746
11743
  "min-width": "30"
11747
11744
  }, {
11748
11745
  default: u(() => [
11749
- W(b(a.intervalHour) + " h ", 1),
11746
+ U(b(a.intervalHour) + " h ", 1),
11750
11747
  d(p, { activator: "parent" }, {
11751
11748
  default: u(() => [
11752
11749
  d(g, { class: "pa-1" }, {
@@ -11768,7 +11765,7 @@ function Wn(t, e, o, i, a, r) {
11768
11765
  onClick: (w) => a.intervalHour = v
11769
11766
  }, {
11770
11767
  default: u(() => [
11771
- W(b(v) + "h", 1)
11768
+ U(b(v) + "h", 1)
11772
11769
  ]),
11773
11770
  _: 2
11774
11771
  }, 1032, ["onClick"])
@@ -11790,7 +11787,7 @@ function Wn(t, e, o, i, a, r) {
11790
11787
  class: "mx-2 my-3",
11791
11788
  style: { height: "16px" }
11792
11789
  }),
11793
- l("div", Bn, [
11790
+ l("div", On, [
11794
11791
  d(h, {
11795
11792
  icon: "",
11796
11793
  size: "small",
@@ -11863,7 +11860,7 @@ function Wn(t, e, o, i, a, r) {
11863
11860
  class: "mx-2 my-3",
11864
11861
  style: { height: "16px" }
11865
11862
  }),
11866
- l("div", En, [
11863
+ l("div", Bn, [
11867
11864
  d(k, {
11868
11865
  text: t.$t("weather.windBarbs"),
11869
11866
  location: "top"
@@ -11878,7 +11875,7 @@ function Wn(t, e, o, i, a, r) {
11878
11875
  height: "24",
11879
11876
  width: "24",
11880
11877
  "min-width": "24",
11881
- onClick: e[3] || (e[3] = (A) => r.handleClickFastWeather("wind"))
11878
+ onClick: e[3] || (e[3] = (D) => r.handleClickFastWeather("wind"))
11882
11879
  }), {
11883
11880
  default: u(() => e[14] || (e[14] = [
11884
11881
  l("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
@@ -11904,7 +11901,7 @@ function Wn(t, e, o, i, a, r) {
11904
11901
  height: "24",
11905
11902
  width: "24",
11906
11903
  "min-width": "24",
11907
- onClick: e[4] || (e[4] = (A) => r.handleClickFastWeather("sig-wave-height"))
11904
+ onClick: e[4] || (e[4] = (D) => r.handleClickFastWeather("sig-wave-height"))
11908
11905
  }), {
11909
11906
  default: u(() => [
11910
11907
  l("i", j(v, { class: "iconfont icon-a-WaveHeight" }), null, 16)
@@ -11929,7 +11926,7 @@ function Wn(t, e, o, i, a, r) {
11929
11926
  height: "24",
11930
11927
  width: "24",
11931
11928
  "min-width": "24",
11932
- onClick: e[5] || (e[5] = (A) => r.handleClickFastWeather("current-direction"))
11929
+ onClick: e[5] || (e[5] = (D) => r.handleClickFastWeather("current-direction"))
11933
11930
  }), {
11934
11931
  default: u(() => [
11935
11932
  l("i", j(v, { class: "iconfont icon-Current" }), null, 16)
@@ -11967,7 +11964,7 @@ function Wn(t, e, o, i, a, r) {
11967
11964
  class: "mx-2 mr-3 my-3",
11968
11965
  style: { height: "16px" }
11969
11966
  }),
11970
- l("div", jn, [
11967
+ l("div", En, [
11971
11968
  d(h, {
11972
11969
  text: "",
11973
11970
  height: "30",
@@ -11976,7 +11973,7 @@ function Wn(t, e, o, i, a, r) {
11976
11973
  onClick: e[6] || (e[6] = (v) => a.source = "GFS")
11977
11974
  }, {
11978
11975
  default: u(() => e[15] || (e[15] = [
11979
- W("NOAA", -1)
11976
+ U("NOAA", -1)
11980
11977
  ])),
11981
11978
  _: 1,
11982
11979
  __: [15]
@@ -11989,7 +11986,7 @@ function Wn(t, e, o, i, a, r) {
11989
11986
  onClick: e[7] || (e[7] = (v) => a.source = "ECMWF")
11990
11987
  }, {
11991
11988
  default: u(() => e[16] || (e[16] = [
11992
- W("ECMWF", -1)
11989
+ U("ECMWF", -1)
11993
11990
  ])),
11994
11991
  _: 1,
11995
11992
  __: [16]
@@ -12000,14 +11997,14 @@ function Wn(t, e, o, i, a, r) {
12000
11997
  class: "timezone-box d-flex flex-column justify-space-between align-end",
12001
11998
  style: ae({ right: a.right + "px" })
12002
11999
  }, [
12003
- a.showTimezone ? (y(), M("div", Nn, [
12000
+ a.showTimezone ? (y(), M("div", jn, [
12004
12001
  (y(!0), M(be, null, we(a.offsets, (v) => (y(), M("div", {
12005
12002
  key: v,
12006
12003
  class: "item rounded text-body-2 hover-active",
12007
12004
  onClick: (T) => a.timeZone = v
12008
- }, b(v < 0 ? v : "+" + v), 9, Fn))), 128))
12005
+ }, b(v < 0 ? v : "+" + v), 9, Nn))), 128))
12009
12006
  ])) : E("", !0),
12010
- l("div", Hn, [
12007
+ l("div", Fn, [
12011
12008
  d(h, {
12012
12009
  text: "",
12013
12010
  variant: "flat",
@@ -12017,24 +12014,24 @@ function Wn(t, e, o, i, a, r) {
12017
12014
  onClick: e[8] || (e[8] = (v) => a.showTimezone = !a.showTimezone)
12018
12015
  }, {
12019
12016
  default: u(() => [
12020
- W(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
12017
+ U(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
12021
12018
  ]),
12022
12019
  _: 1
12023
12020
  }),
12024
- l("span", Un, b(a.currentRealTime), 1)
12021
+ l("span", Hn, b(a.currentRealTime), 1)
12025
12022
  ])
12026
12023
  ], 4)
12027
12024
  ]);
12028
12025
  }
12029
- const Gn = /* @__PURE__ */ V(Dn, [["render", Wn]]), Vn = {
12026
+ const Un = /* @__PURE__ */ V(An, [["render", Wn]]), Gn = {
12030
12027
  name: "IdmGL4",
12031
12028
  components: {
12032
- IdmOtherLayer: Jr,
12033
- IdmWeatherLayer: Es,
12029
+ IdmOtherLayer: Qr,
12030
+ IdmWeatherLayer: Bs,
12034
12031
  IdmTropicals: Ya,
12035
- IdmMeasure: An,
12036
- IdmSpot: Tn,
12037
- IdmBottomBar: Gn
12032
+ IdmMeasure: In,
12033
+ IdmSpot: Cn,
12034
+ IdmBottomBar: Un
12038
12035
  },
12039
12036
  props: {
12040
12037
  map: {
@@ -12086,13 +12083,13 @@ const Gn = /* @__PURE__ */ V(Dn, [["render", Wn]]), Vn = {
12086
12083
  }
12087
12084
  },
12088
12085
  methods: {}
12089
- }, Zn = {
12086
+ }, Vn = {
12090
12087
  ref: "mapHomeGl4",
12091
12088
  class: "map-gl4-home"
12092
12089
  };
12093
- function Yn(t, e, o, i, a, r) {
12090
+ function Zn(t, e, o, i, a, r) {
12094
12091
  const s = x("IdmOtherLayer"), n = x("IdmWeatherLayer"), c = x("IdmTropicals"), g = x("IdmMeasure"), p = x("IdmSpot"), h = x("IdmBottomBar");
12095
- return y(), M("div", Zn, [
12092
+ return y(), M("div", Vn, [
12096
12093
  d(s, j({
12097
12094
  ref: "idmOtherLayers",
12098
12095
  token: o.token,
@@ -12157,8 +12154,8 @@ function Yn(t, e, o, i, a, r) {
12157
12154
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
12158
12155
  ], 512);
12159
12156
  }
12160
- const qn = /* @__PURE__ */ V(Vn, [["render", Yn]]);
12161
- class Xn {
12157
+ const Yn = /* @__PURE__ */ V(Gn, [["render", Zn]]);
12158
+ class qn {
12162
12159
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
12163
12160
  se(this, "originStyle");
12164
12161
  se(this, "mapboxStyle");
@@ -12166,7 +12163,7 @@ class Xn {
12166
12163
  se(this, "hi");
12167
12164
  se(this, "td");
12168
12165
  se(this, "windy");
12169
- var o, i, a, r, s, n, c, g, p, h, f, k, v, T, w, A, S, P, z, L, C, _, D, 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, U, 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, Ut, Wt, 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, Uo, Wo, 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, Ua;
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;
12170
12167
  this.i4 = {
12171
12168
  source: {
12172
12169
  type: "raster",
@@ -30749,11 +30746,11 @@ class Xn {
30749
30746
  (h = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : h.find((m) => m.id === "loadlines-label"),
30750
30747
  (k = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : k.find((m) => m.id === "loadlines-fill"),
30751
30748
  (T = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : T.find((m) => m.id === "empty-layer-0"),
30752
- (A = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : A.find((m) => m.id === "empty-layer-1"),
30749
+ (D = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : D.find((m) => m.id === "empty-layer-1"),
30753
30750
  (P = (S = this.originStyle) == null ? void 0 : S.light.layers) == null ? void 0 : P.find((m) => m.id === "country-boundaries"),
30754
30751
  (L = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : L.find((m) => m.id === "water-outline"),
30755
30752
  (_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((m) => m.id === "water-outline2"),
30756
- (Z = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : Z.find((m) => m.id === "empty-layer-2"),
30753
+ (Z = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : Z.find((m) => m.id === "empty-layer-2"),
30757
30754
  (X = (q = this.originStyle) == null ? void 0 : q.light.layers) == null ? void 0 : X.find((m) => m.id === "water-line-label"),
30758
30755
  (te = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : te.find((m) => m.id === "water-point-label"),
30759
30756
  (J = (oe = this.originStyle) == null ? void 0 : oe.light.layers) == null ? void 0 : J.find((m) => m.id === "world-12nm-v4-20231025"),
@@ -30768,7 +30765,7 @@ class Xn {
30768
30765
  (H = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : H.find((m) => m.id === "country-label"),
30769
30766
  (je = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : je.find((m) => m.id === "continent-label"),
30770
30767
  (he = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : he.find((m) => m.id === "tide-stations"),
30771
- (U = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : U.find((m) => m.id === "empty-layer-3"),
30768
+ (W = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : W.find((m) => m.id === "empty-layer-3"),
30772
30769
  ($ = (ze = this.originStyle) == null ? void 0 : ze.light.layers) == null ? void 0 : $.find((m) => m.id === "empty-layer-4")
30773
30770
  ]
30774
30771
  },
@@ -30831,8 +30828,8 @@ class Xn {
30831
30828
  zoom: 12,
30832
30829
  fog: (Ft = this.originStyle) == null ? void 0 : Ft.satellite.fog,
30833
30830
  imports: (Ht = this.originStyle) == null ? void 0 : Ht.satellite.imports,
30834
- sources: (Ut = this.originStyle) == null ? void 0 : Ut.satellite.sources,
30835
- sprite: (Wt = this.originStyle) == null ? void 0 : Wt.satellite.sprite,
30831
+ sources: (Wt = this.originStyle) == null ? void 0 : Wt.satellite.sources,
30832
+ sprite: (Ut = this.originStyle) == null ? void 0 : Ut.satellite.sprite,
30836
30833
  glyphs: (Gt = this.originStyle) == null ? void 0 : Gt.satellite.glyphs,
30837
30834
  projection: (Vt = this.originStyle) == null ? void 0 : Vt.satellite.projection,
30838
30835
  created: "2025-07-25T03:53:24.667Z",
@@ -30863,8 +30860,8 @@ class Xn {
30863
30860
  (Bo = (Oo = this.originStyle) == null ? void 0 : Oo.satellite.layers) == null ? void 0 : Bo.find((m) => m.id === "tide-stations"),
30864
30861
  (jo = (Eo = this.originStyle) == null ? void 0 : Eo.satellite.layers) == null ? void 0 : jo.find((m) => m.id === "ice-area-fill"),
30865
30862
  (Fo = (No = this.originStyle) == null ? void 0 : No.satellite.layers) == null ? void 0 : Fo.find((m) => m.id === "ice-area-line"),
30866
- (Uo = (Ho = this.originStyle) == null ? void 0 : Ho.satellite.layers) == null ? void 0 : Uo.find((m) => m.id === "empty-layer-3"),
30867
- (Go = (Wo = this.originStyle) == null ? void 0 : Wo.satellite.layers) == null ? void 0 : Go.find((m) => m.id === "empty-layer-4")
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")
30868
30865
  ]
30869
30866
  },
30870
30867
  nautical: {
@@ -30904,7 +30901,7 @@ class Xn {
30904
30901
  (Ba = (Oa = this.originStyle) == null ? void 0 : Oa.light.layers) == null ? void 0 : Ba.find((m) => m.id === "continent-label"),
30905
30902
  (ja = (Ea = this.originStyle) == null ? void 0 : Ea.nautical.layers) == null ? void 0 : ja.find((m) => m.id === "tide-stations"),
30906
30903
  (Fa = (Na = this.originStyle) == null ? void 0 : Na.nautical.layers) == null ? void 0 : Fa.find((m) => m.id === "empty-layer-3"),
30907
- (Ua = (Ha = this.originStyle) == null ? void 0 : Ha.nautical.layers) == null ? void 0 : Ua.find((m) => m.id === "empty-layer-4")
30904
+ (Wa = (Ha = this.originStyle) == null ? void 0 : Ha.nautical.layers) == null ? void 0 : Wa.find((m) => m.id === "empty-layer-4")
30908
30905
  ],
30909
30906
  created: "2025-07-22T02:15:53.587Z",
30910
30907
  modified: "2025-08-07T10:15:43.870Z",
@@ -30917,7 +30914,7 @@ class Xn {
30917
30914
  };
30918
30915
  }
30919
30916
  }
30920
- const Kn = {
30917
+ const Xn = {
30921
30918
  name: "MapInitial",
30922
30919
  props: {
30923
30920
  token: {
@@ -30970,7 +30967,7 @@ const Kn = {
30970
30967
  methods: {
30971
30968
  async initOnlineMap() {
30972
30969
  var e;
30973
- (e = this.map) == null || e.remove(), this.map = void 0, this.helper = new Xn(this.token), xe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
30970
+ (e = this.map) == null || e.remove(), this.map = void 0, this.helper = new qn(this.token), xe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
30974
30971
  const t = new xe.Map({
30975
30972
  container: "map",
30976
30973
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
@@ -31010,16 +31007,16 @@ const Kn = {
31010
31007
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
31011
31008
  }
31012
31009
  }
31013
- }, Qn = { class: "mapbox-initial-gl4" }, Jn = { class: "v-btn--variant-elevated rounded" }, $n = { class: "zoom" };
31014
- function ec(t, e, o, i, a, r) {
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) {
31015
31012
  const s = x("VBtn");
31016
- return y(), M("div", Qn, [
31013
+ return y(), M("div", Kn, [
31017
31014
  e[2] || (e[2] = l("div", { id: "map" }, null, -1)),
31018
31015
  l("div", {
31019
31016
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
31020
31017
  style: ae({ top: o.top + 268 + "px", right: a.right + "px" })
31021
31018
  }, [
31022
- l("div", Jn, [
31019
+ l("div", Qn, [
31023
31020
  d(s, {
31024
31021
  "min-width": "32",
31025
31022
  width: "32",
@@ -31033,7 +31030,7 @@ function ec(t, e, o, i, a, r) {
31033
31030
  _: 1,
31034
31031
  __: [0]
31035
31032
  }, 8, ["onClick"]),
31036
- l("div", $n, b(Math.floor(a.zoom)), 1),
31033
+ l("div", Jn, b(Math.floor(a.zoom)), 1),
31037
31034
  d(s, {
31038
31035
  "min-width": "32",
31039
31036
  width: "32",
@@ -31050,22 +31047,22 @@ function ec(t, e, o, i, a, r) {
31050
31047
  ])
31051
31048
  ], 4),
31052
31049
  e[3] || (e[3] = l("div", { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-body-2 text-label" }, [
31053
- W(" Copyright: © 2023-2025 ormwx.com "),
31050
+ U(" Copyright: © 2023-2025 ormwx.com "),
31054
31051
  l("span", { class: "text-decoration-underline" }, "沪ICP备18039043号-6")
31055
31052
  ], -1))
31056
31053
  ]);
31057
31054
  }
31058
- const tc = /* @__PURE__ */ V(Kn, [["render", ec]]), pc = {
31055
+ const ec = /* @__PURE__ */ V(Xn, [["render", $n]]), hc = {
31059
31056
  install(t) {
31060
- t.component("MapInitial", tc), t.component("MapboxGL", qn), t.component("TropicalGL", Ya), t.component("LatLngGL", Za), t.component("DateTimePicker", lo);
31057
+ t.component("MapInitial", ec), t.component("MapboxGL", Yn), t.component("TropicalGL", Ya), t.component("LatLngGL", Za), t.component("DateTimePicker", lo);
31061
31058
  }
31062
31059
  };
31063
31060
  export {
31064
31061
  lo as DateTimePicker,
31065
31062
  Za as LatLngGL,
31066
- tc as MapInitial,
31067
- qn as MapboxGL,
31068
- pc as MapboxGLPlugin,
31063
+ ec as MapInitial,
31064
+ Yn as MapboxGL,
31065
+ hc as MapboxGLPlugin,
31069
31066
  _e as ParticleSchema,
31070
31067
  Ya as TropicalGL,
31071
31068
  ro as Viewport,