@idmwx/idmui-gl4 2.2.5 → 2.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
1
  var Qa = Object.defineProperty;
2
2
  var $a = (t, e, o) => e in t ? Qa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
3
- var pe = (t, e, o) => ($a(t, typeof e != "symbol" ? e + "" : e, o), o);
3
+ var de = (t, e, o) => ($a(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Ae from "axios";
5
5
  import { useTheme as De } from "vuetify";
6
- import { openBlock as g, createElementBlock as S, resolveComponent as v, createBlock as A, normalizeClass as ge, withCtx as u, createVNode as p, withModifiers as Se, createElementVNode as s, createCommentVNode as R, toDisplayString as n, createTextVNode as K, Fragment as xe, renderList as ke, withDirectives as Ye, vShow as Ze, mergeProps as j, normalizeStyle as ee, createStaticVNode as ei } from "vue";
6
+ import { openBlock as g, createElementBlock as S, resolveComponent as v, createBlock as A, normalizeClass as ge, withCtx as u, createVNode as p, withModifiers as Se, createElementVNode as s, createCommentVNode as D, toDisplayString as n, createTextVNode as K, Fragment as xe, renderList as ke, withDirectives as Ye, vShow as Ze, mergeProps as j, normalizeStyle as ee, createStaticVNode as ei } from "vue";
7
7
  import ze from "mapbox-gl";
8
8
  import M from "moment";
9
9
  import { LngLatHelper as q, TropicalHelper as Va, LaneHelper as Ve } from "@idm-plugin/geo";
10
10
  import { Meteo2Assist as To, TidesAssist as Za } from "@idm-plugin/meteo";
11
11
  import * as So from "echarts";
12
- import * as W from "@turf/turf";
12
+ import * as G from "@turf/turf";
13
13
  import { LayerHelper as Co, CompanyHelper as ti } from "@idm-plugin/tag2";
14
14
  import oi from "@mapbox/sphericalmercator";
15
15
  import { LayerHelper as ai } from "@idm-plugin/tag";
16
- const X = (t, e) => {
16
+ const Z = (t, e) => {
17
17
  const o = t.__vccOpts || t;
18
18
  for (const [i, a] of e)
19
19
  o[i] = a;
@@ -115,7 +115,7 @@ const X = (t, e) => {
115
115
  function ri(t, e, o, i, a, r) {
116
116
  return g(), S("div");
117
117
  }
118
- const si = /* @__PURE__ */ X(ii, [["render", ri]]), li = {
118
+ const si = /* @__PURE__ */ Z(ii, [["render", ri]]), li = {
119
119
  name: "IdmGmdssArea",
120
120
  props: {
121
121
  map: {
@@ -242,7 +242,7 @@ const si = /* @__PURE__ */ X(ii, [["render", ri]]), li = {
242
242
  function ni(t, e, o, i, a, r) {
243
243
  return g(), S("div");
244
244
  }
245
- const ci = /* @__PURE__ */ X(li, [["render", ni]]), mi = {
245
+ const ci = /* @__PURE__ */ Z(li, [["render", ni]]), mi = {
246
246
  name: "IdmEcaZone",
247
247
  props: {
248
248
  map: {
@@ -338,7 +338,7 @@ const ci = /* @__PURE__ */ X(li, [["render", ni]]), mi = {
338
338
  function hi(t, e, o, i, a, r) {
339
339
  return g(), S("div");
340
340
  }
341
- const di = /* @__PURE__ */ X(mi, [["render", hi]]);
341
+ const di = /* @__PURE__ */ Z(mi, [["render", hi]]);
342
342
  const pi = {
343
343
  name: "IdmAlertZone",
344
344
  props: {
@@ -516,7 +516,7 @@ function gi(t, e, o, i, a, r) {
516
516
  onClick: Se(r.handleRemoveMarker, ["stop"])
517
517
  }, {
518
518
  default: u(() => e[0] || (e[0] = [
519
- s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
519
+ s("i", { class: "iconfont icon-close text-h4" }, null, -1)
520
520
  ])),
521
521
  _: 1,
522
522
  __: [0]
@@ -531,9 +531,9 @@ function gi(t, e, o, i, a, r) {
531
531
  })
532
532
  ]),
533
533
  _: 1
534
- }, 8, ["class"])) : R("", !0);
534
+ }, 8, ["class"])) : D("", !0);
535
535
  }
536
- const fi = /* @__PURE__ */ X(pi, [["render", gi]]);
536
+ const fi = /* @__PURE__ */ Z(pi, [["render", gi]]);
537
537
  const yi = {
538
538
  name: "PortDetail",
539
539
  props: {
@@ -1512,10 +1512,10 @@ const yi = {
1512
1512
  { label: "Swell", key: "weather.swell", unit: "m" },
1513
1513
  { label: "Current", key: "weather.current", unit: "kts" }
1514
1514
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1515
- var m, c, f, d, b, w, k, y, _, T, B, D, x, L, P, C, z, I, F, G, Y, Z, Q, $, J, le, ne, se, ie, me, ue, he, de, O, te, be, ve, Pe;
1515
+ var m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe;
1516
1516
  let r = {};
1517
1517
  const l = ((m = To.pickHourly(t, M(i))) == null ? void 0 : m[0]) || {};
1518
- r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (c = l.weather) == null ? void 0 : c.url, r.temp = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((k = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.precip) == null ? void 0 : k.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((y = l == null ? void 0 : l.weather) == null ? void 0 : y.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (_ = l == null ? void 0 : l.weather) == null ? void 0 : _.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (D = (B = l == null ? void 0 : l.weather) == null ? void 0 : B.wind) == null ? void 0 : D.direction, r.windLevel = this.computeRoundPrecision((L = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.wind) == null ? void 0 : L.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((I = (z = l == null ? void 0 : l.wave) == null ? void 0 : z.sig) == null ? void 0 : I.height, 1) ?? "-", r.sigwaveDir = (G = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : G.direction, r.sigwavePeriod = this.computeRoundPrecision((Z = (Y = l == null ? void 0 : l.wave) == null ? void 0 : Y.sig) == null ? void 0 : Z.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision(($ = (Q = l == null ? void 0 : l.wave) == null ? void 0 : Q.wd) == null ? void 0 : $.height, 1) ?? "-", r.windwaveDir = (le = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : le.direction, r.windwavePeriod = this.computeRoundPrecision((se = (ne = l == null ? void 0 : l.wave) == null ? void 0 : ne.wd) == null ? void 0 : se.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((me = (ie = l == null ? void 0 : l.wave) == null ? void 0 : ie.swell) == null ? void 0 : me.height, 1) ?? "-", r.swellDir = (he = (ue = l == null ? void 0 : l.wave) == null ? void 0 : ue.swell) == null ? void 0 : he.direction, r.swellPeriod = this.computeRoundPrecision((O = (de = l == null ? void 0 : l.wave) == null ? void 0 : de.swell) == null ? void 0 : O.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((te = l == null ? void 0 : l.current) == null ? void 0 : te.speed, 1) ?? "-", r.currentDir = (be = l == null ? void 0 : l.current) == null ? void 0 : be.direction, r.currentSpeed = this.computeRoundPrecision((ve = l == null ? void 0 : l.current) == null ? void 0 : ve.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1518
+ r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (c = l.weather) == null ? void 0 : c.url, r.temp = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((k = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : k.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((y = l == null ? void 0 : l.weather) == null ? void 0 : y.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (z = l == null ? void 0 : l.weather) == null ? void 0 : z.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (B = l == null ? void 0 : l.weather) == null ? void 0 : B.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((L = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : L.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Y = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.sig) == null ? void 0 : Y.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision(($ = (Q = l == null ? void 0 : l.wave) == null ? void 0 : Q.wd) == null ? void 0 : $.height, 1) ?? "-", r.windwaveDir = (se = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : se.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ce = (ie = l == null ? void 0 : l.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.height, 1) ?? "-", r.swellDir = (me = (ue = l == null ? void 0 : l.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.direction, r.swellPeriod = this.computeRoundPrecision((O = (he = l == null ? void 0 : l.wave) == null ? void 0 : he.swell) == null ? void 0 : O.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((te = l == null ? void 0 : l.current) == null ? void 0 : te.speed, 1) ?? "-", r.currentDir = (be = l == null ? void 0 : l.current) == null ? void 0 : be.direction, r.currentSpeed = this.computeRoundPrecision((ve = l == null ? void 0 : l.current) == null ? void 0 : ve.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1519
1519
  });
1520
1520
  },
1521
1521
  handleTide() {
@@ -1724,22 +1724,22 @@ function wr(t, e, o, i, a, r) {
1724
1724
  class: ge(["port-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
1725
1725
  }, {
1726
1726
  default: u(() => {
1727
- var b, w, k;
1727
+ var b, x, k;
1728
1728
  return [
1729
1729
  p(m, { class: "w-100" }, {
1730
1730
  default: u(() => {
1731
- var y, _, T, B, D, x;
1731
+ var y, z, T, B, I, w;
1732
1732
  return [
1733
1733
  s("div", bi, [
1734
1734
  s("div", wi, [
1735
1735
  s("div", {
1736
- class: ge(["fi mr-2 rounded elevation-4", `fi-${(y = o.port) != null && y.cntLoCode ? (T = (_ = o.port) == null ? void 0 : _.cntLoCode) == null ? void 0 : T.toLowerCase() : "xx"}`]),
1736
+ class: ge(["fi mr-2 rounded elevation-4", `fi-${(y = o.port) != null && y.cntLoCode ? (T = (z = o.port) == null ? void 0 : z.cntLoCode) == null ? void 0 : T.toLowerCase() : "xx"}`]),
1737
1737
  style: { width: "36px", height: "24px" }
1738
1738
  }, null, 2),
1739
1739
  s("div", null, n((B = o.port) == null ? void 0 : B.name), 1)
1740
1740
  ]),
1741
1741
  o.simple ? (g(), S("div", xi, [
1742
- (D = o.followList) != null && D.some((L) => {
1742
+ (I = o.followList) != null && I.some((L) => {
1743
1743
  var P;
1744
1744
  return ((P = L.port) == null ? void 0 : P.id) === o.portId;
1745
1745
  }) ? (g(), A(l, {
@@ -1781,7 +1781,7 @@ function wr(t, e, o, i, a, r) {
1781
1781
  onClick: r.handleClose
1782
1782
  }, {
1783
1783
  default: u(() => e[4] || (e[4] = [
1784
- s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
1784
+ s("i", { class: "iconfont icon-close text-h4" }, null, -1)
1785
1785
  ])),
1786
1786
  _: 1,
1787
1787
  __: [4]
@@ -1795,7 +1795,7 @@ function wr(t, e, o, i, a, r) {
1795
1795
  onClick: r.handleClose
1796
1796
  }, {
1797
1797
  default: u(() => e[5] || (e[5] = [
1798
- s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
1798
+ s("i", { class: "iconfont icon-close text-h4" }, null, -1)
1799
1799
  ])),
1800
1800
  _: 1,
1801
1801
  __: [5]
@@ -1806,7 +1806,7 @@ function wr(t, e, o, i, a, r) {
1806
1806
  s("div", null, n(t.$t("port.port")), 1),
1807
1807
  s("div", null, [
1808
1808
  e[6] || (e[6] = s("label", null, "UN/LOCODE: ", -1)),
1809
- s("span", null, n((x = o.port) == null ? void 0 : x.cntLoCode), 1)
1809
+ s("span", null, n((w = o.port) == null ? void 0 : w.cntLoCode), 1)
1810
1810
  ])
1811
1811
  ])
1812
1812
  ];
@@ -1814,10 +1814,10 @@ function wr(t, e, o, i, a, r) {
1814
1814
  _: 1
1815
1815
  }),
1816
1816
  p(c, { class: "w-100" }),
1817
- o.simple ? R("", !0) : (g(), S("div", ki, [
1817
+ o.simple ? D("", !0) : (g(), S("div", ki, [
1818
1818
  (b = o.followList) != null && b.some((y) => {
1819
- var _;
1820
- return ((_ = y.port) == null ? void 0 : _.id) === o.portId;
1819
+ var z;
1820
+ return ((z = y.port) == null ? void 0 : z.id) === o.portId;
1821
1821
  }) ? (g(), A(l, {
1822
1822
  key: 0,
1823
1823
  class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
@@ -1881,7 +1881,7 @@ function wr(t, e, o, i, a, r) {
1881
1881
  s("div", Si, [
1882
1882
  s("div", Mi, [
1883
1883
  s("div", Di, n(t.$t("port.region")), 1),
1884
- s("div", Ii, n(((w = o.port) == null ? void 0 : w.region) ?? ((k = o.port) == null ? void 0 : k.city) ?? "-"), 1)
1884
+ s("div", Ii, n(((x = o.port) == null ? void 0 : x.region) ?? ((k = o.port) == null ? void 0 : k.city) ?? "-"), 1)
1885
1885
  ]),
1886
1886
  s("div", Ri, [
1887
1887
  s("div", Ai, n(t.$t("port.position")), 1),
@@ -1941,7 +1941,7 @@ function wr(t, e, o, i, a, r) {
1941
1941
  }, [
1942
1942
  s("th", Vi, [
1943
1943
  K(n(t.$t(`${y.key}`)) + " ", 1),
1944
- y.unit ? (g(), S("span", Yi, " ( " + n(y.unit) + " )", 1)) : R("", !0)
1944
+ y.unit ? (g(), S("span", Yi, " ( " + n(y.unit) + " )", 1)) : D("", !0)
1945
1945
  ]),
1946
1946
  s("td", Zi, [
1947
1947
  y.img ? (g(), S("img", {
@@ -2016,9 +2016,9 @@ function wr(t, e, o, i, a, r) {
2016
2016
  s("th", ur, n(t.$t("time.time")) + " ( LT ) ", 1),
2017
2017
  s("th", gr, n(t.$t("tide.height")) + " ( m )", 1)
2018
2018
  ]),
2019
- (g(!0), S(xe, null, ke(a.tideTableData, (y, _) => {
2019
+ (g(!0), S(xe, null, ke(a.tideTableData, (y, z) => {
2020
2020
  var T;
2021
- return g(), S("tr", { key: _ }, [
2021
+ return g(), S("tr", { key: z }, [
2022
2022
  s("td", fr, n(t.$t(`tide.${(T = y == null ? void 0 : y.type) == null ? void 0 : T.toLowerCase()}`)) + " " + n(t.$t("tide.tide")), 1),
2023
2023
  s("td", yr, n(r.computeLocalTime(y == null ? void 0 : y.date, o.port, "MM-DD HH:mm")), 1),
2024
2024
  s("td", br, n((y == null ? void 0 : y.height) ?? "-") + " m", 1)
@@ -2026,7 +2026,7 @@ function wr(t, e, o, i, a, r) {
2026
2026
  }), 128))
2027
2027
  ])
2028
2028
  ])
2029
- ], 2)) : R("", !0)
2029
+ ], 2)) : D("", !0)
2030
2030
  ])
2031
2031
  ], 2)
2032
2032
  ];
@@ -2034,7 +2034,7 @@ function wr(t, e, o, i, a, r) {
2034
2034
  _: 1
2035
2035
  }, 8, ["class"]);
2036
2036
  }
2037
- const Do = /* @__PURE__ */ X(yi, [["render", wr], ["__scopeId", "data-v-1a7eeef1"]]);
2037
+ const Do = /* @__PURE__ */ Z(yi, [["render", wr], ["__scopeId", "data-v-21c8d432"]]);
2038
2038
  const xr = {
2039
2039
  name: "IdmPort",
2040
2040
  components: {
@@ -2177,10 +2177,10 @@ function zr(t, e, o, i, a, r) {
2177
2177
  forecastModel: o.forecastModel,
2178
2178
  onClose: r.handleCloseDetail,
2179
2179
  onCloseAllDetail: e[0] || (e[0] = (f) => t.$emit("closeAllDetail", { ports: !0 }))
2180
- }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : R("", !0)
2180
+ }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : D("", !0)
2181
2181
  ]);
2182
2182
  }
2183
- const Lr = /* @__PURE__ */ X(xr, [["render", zr], ["__scopeId", "data-v-0c0f27d3"]]), Pr = {
2183
+ const Lr = /* @__PURE__ */ Z(xr, [["render", zr], ["__scopeId", "data-v-0c0f27d3"]]), Pr = {
2184
2184
  name: "IdmLoadLine",
2185
2185
  props: {
2186
2186
  map: {
@@ -2224,7 +2224,7 @@ const Lr = /* @__PURE__ */ X(xr, [["render", zr], ["__scopeId", "data-v-0c0f27d3
2224
2224
  function Tr(t, e, o, i, a, r) {
2225
2225
  return g(), S("div");
2226
2226
  }
2227
- const Cr = /* @__PURE__ */ X(Pr, [["render", Tr]]), Sr = {
2227
+ const Cr = /* @__PURE__ */ Z(Pr, [["render", Tr]]), Sr = {
2228
2228
  name: "IdmTimezone",
2229
2229
  props: {
2230
2230
  map: {
@@ -2430,7 +2430,7 @@ const Cr = /* @__PURE__ */ X(Pr, [["render", Tr]]), Sr = {
2430
2430
  function Mr(t, e, o, i, a, r) {
2431
2431
  return g(), S("div");
2432
2432
  }
2433
- const Dr = /* @__PURE__ */ X(Sr, [["render", Mr]]), Ir = {
2433
+ const Dr = /* @__PURE__ */ Z(Sr, [["render", Mr]]), Ir = {
2434
2434
  name: "IdmVoluntaryReportingArea",
2435
2435
  props: {
2436
2436
  map: {
@@ -2525,7 +2525,7 @@ const Dr = /* @__PURE__ */ X(Sr, [["render", Mr]]), Ir = {
2525
2525
  function Rr(t, e, o, i, a, r) {
2526
2526
  return g(), S("div");
2527
2527
  }
2528
- const Ar = /* @__PURE__ */ X(Ir, [["render", Rr]]), Or = {
2528
+ const Ar = /* @__PURE__ */ Z(Ir, [["render", Rr]]), Or = {
2529
2529
  name: "IdmSpecialArea",
2530
2530
  props: {
2531
2531
  map: {
@@ -2620,7 +2620,7 @@ const Ar = /* @__PURE__ */ X(Ir, [["render", Rr]]), Or = {
2620
2620
  function Br(t, e, o, i, a, r) {
2621
2621
  return g(), S("div");
2622
2622
  }
2623
- const jr = /* @__PURE__ */ X(Or, [["render", Br]]), Er = {
2623
+ const jr = /* @__PURE__ */ Z(Or, [["render", Br]]), Er = {
2624
2624
  name: "IdmTerminator",
2625
2625
  props: {
2626
2626
  map: {
@@ -2674,7 +2674,7 @@ const jr = /* @__PURE__ */ X(Or, [["render", Br]]), Er = {
2674
2674
  function Nr(t, e, o, i, a, r) {
2675
2675
  return g(), S("div");
2676
2676
  }
2677
- const Fr = /* @__PURE__ */ X(Er, [["render", Nr]]), Hr = {
2677
+ const Fr = /* @__PURE__ */ Z(Er, [["render", Nr]]), Hr = {
2678
2678
  name: "IdmWorld12nm",
2679
2679
  props: {
2680
2680
  map: {
@@ -2731,7 +2731,7 @@ const Fr = /* @__PURE__ */ X(Er, [["render", Nr]]), Hr = {
2731
2731
  function Gr(t, e, o, i, a, r) {
2732
2732
  return null;
2733
2733
  }
2734
- const Wr = /* @__PURE__ */ X(Hr, [["render", Gr]]);
2734
+ const Wr = /* @__PURE__ */ Z(Hr, [["render", Gr]]);
2735
2735
  const Ur = {
2736
2736
  name: "IdmWorldMarine",
2737
2737
  props: {
@@ -2770,7 +2770,7 @@ const Ur = {
2770
2770
  function Vr(t, e, o, i, a, r) {
2771
2771
  return null;
2772
2772
  }
2773
- const Yr = /* @__PURE__ */ X(Ur, [["render", Vr]]), Zr = {
2773
+ const Yr = /* @__PURE__ */ Z(Ur, [["render", Vr]]), Zr = {
2774
2774
  name: "IdmChinaRoute",
2775
2775
  props: {
2776
2776
  map: {
@@ -2809,7 +2809,7 @@ const Yr = /* @__PURE__ */ X(Ur, [["render", Vr]]), Zr = {
2809
2809
  function Xr(t, e, o, i, a, r) {
2810
2810
  return null;
2811
2811
  }
2812
- const qr = /* @__PURE__ */ X(Zr, [["render", Xr]]);
2812
+ const qr = /* @__PURE__ */ Z(Zr, [["render", Xr]]);
2813
2813
  const Kr = {
2814
2814
  name: "IdmTideStations",
2815
2815
  props: {
@@ -3104,7 +3104,7 @@ function Cs(t, e, o, i, a, r) {
3104
3104
  class: ge(["tide-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
3105
3105
  }, {
3106
3106
  default: u(() => {
3107
- var b, w;
3107
+ var b, x;
3108
3108
  return [
3109
3109
  p(m, { class: "w-100" }, {
3110
3110
  default: u(() => {
@@ -3122,7 +3122,7 @@ function Cs(t, e, o, i, a, r) {
3122
3122
  onClick: r.handleClose
3123
3123
  }, {
3124
3124
  default: u(() => e[1] || (e[1] = [
3125
- s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
3125
+ s("i", { class: "iconfont icon-close text-h4" }, null, -1)
3126
3126
  ])),
3127
3127
  _: 1,
3128
3128
  __: [1]
@@ -3153,7 +3153,7 @@ function Cs(t, e, o, i, a, r) {
3153
3153
  s("div", rs, [
3154
3154
  s("div", ss, [
3155
3155
  s("div", ls, n(t.$t("tide.region")), 1),
3156
- s("div", ns, n(((b = o.station) == null ? void 0 : b.Country) ?? ((w = o.station) == null ? void 0 : w.city) ?? "-"), 1)
3156
+ s("div", ns, n(((b = o.station) == null ? void 0 : b.Country) ?? ((x = o.station) == null ? void 0 : x.city) ?? "-"), 1)
3157
3157
  ]),
3158
3158
  s("div", cs, [
3159
3159
  s("div", ms, n(t.$t("tide.position")), 1),
@@ -3215,9 +3215,9 @@ function Cs(t, e, o, i, a, r) {
3215
3215
  s("th", zs, n(t.$t("tide.height")) + " ( m )", 1)
3216
3216
  ]),
3217
3217
  (g(!0), S(xe, null, ke(a.tideTableData, (k, y) => {
3218
- var _;
3218
+ var z;
3219
3219
  return g(), S("tr", { key: y }, [
3220
- s("td", Ls, n(t.$t(`tide.${(_ = k == null ? void 0 : k.type) == null ? void 0 : _.toLowerCase()}`)) + " " + n(t.$t("tide.tide")), 1),
3220
+ s("td", Ls, n(t.$t(`tide.${(z = k == null ? void 0 : k.type) == null ? void 0 : z.toLowerCase()}`)) + " " + n(t.$t("tide.tide")), 1),
3221
3221
  s("td", Ps, n(r.computeLocalTime(k == null ? void 0 : k.date, o.station, "MM-DD HH:mm")), 1),
3222
3222
  s("td", Ts, n((k == null ? void 0 : k.height) ?? "-") + " m", 1)
3223
3223
  ]);
@@ -3232,7 +3232,7 @@ function Cs(t, e, o, i, a, r) {
3232
3232
  _: 1
3233
3233
  }, 8, ["class"]);
3234
3234
  }
3235
- const Ss = /* @__PURE__ */ X(Kr, [["render", Cs], ["__scopeId", "data-v-957c64c7"]]);
3235
+ const Ss = /* @__PURE__ */ Z(Kr, [["render", Cs], ["__scopeId", "data-v-584f4fc1"]]);
3236
3236
  const Ms = {
3237
3237
  name: "IdmTideStations",
3238
3238
  components: {
@@ -3337,10 +3337,10 @@ function Os(t, e, o, i, a, r) {
3337
3337
  key: 0,
3338
3338
  station: a.station,
3339
3339
  onClose: r.handleCloseDetail
3340
- }, t.$attrs), null, 16, ["station", "onClose"])) : R("", !0)
3340
+ }, t.$attrs), null, 16, ["station", "onClose"])) : D("", !0)
3341
3341
  ]);
3342
3342
  }
3343
- const Bs = /* @__PURE__ */ X(Ms, [["render", Os], ["__scopeId", "data-v-7f9e02c0"]]), js = {
3343
+ const Bs = /* @__PURE__ */ Z(Ms, [["render", Os], ["__scopeId", "data-v-7f9e02c0"]]), js = {
3344
3344
  name: "IdmIceAreas",
3345
3345
  props: {
3346
3346
  map: {
@@ -3378,7 +3378,7 @@ const Bs = /* @__PURE__ */ X(Ms, [["render", Os], ["__scopeId", "data-v-7f9e02c0
3378
3378
  function Es(t, e, o, i, a, r) {
3379
3379
  return null;
3380
3380
  }
3381
- const Ns = /* @__PURE__ */ X(js, [["render", Es]]);
3381
+ const Ns = /* @__PURE__ */ Z(js, [["render", Es]]);
3382
3382
  const Fs = {
3383
3383
  name: "IdmLatLng",
3384
3384
  props: {
@@ -3497,7 +3497,7 @@ const Fs = {
3497
3497
  handleZoomEnd() {
3498
3498
  var e;
3499
3499
  const t = this.handleComputeLatLngs();
3500
- (e = this.map) == null || e.getSource(this.source).setData(W.featureCollection(t));
3500
+ (e = this.map) == null || e.getSource(this.source).setData(G.featureCollection(t));
3501
3501
  },
3502
3502
  handleRender() {
3503
3503
  if (this.handleClear(), this.map) {
@@ -3555,7 +3555,7 @@ const Fs = {
3555
3555
  };
3556
3556
  function Hs(t, e, o, i, a, r) {
3557
3557
  var l, m, c;
3558
- return o.simple ? R("", !0) : (g(), S("div", {
3558
+ return o.simple ? D("", !0) : (g(), S("div", {
3559
3559
  key: 0,
3560
3560
  class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
3561
3561
  style: ee({ right: a.right + "px" })
@@ -3565,7 +3565,7 @@ function Hs(t, e, o, i, a, r) {
3565
3565
  s("div", null, n((c = a.lngLat) == null ? void 0 : c.str), 1)
3566
3566
  ], 4));
3567
3567
  }
3568
- const Xa = /* @__PURE__ */ X(Fs, [["render", Hs]]);
3568
+ const Xa = /* @__PURE__ */ Z(Fs, [["render", Hs]]);
3569
3569
  const Gs = {
3570
3570
  name: "IdmFollowPort",
3571
3571
  components: {
@@ -4512,10 +4512,10 @@ function Ys(t, e, o, i, a, r) {
4512
4512
  followList: o.followList,
4513
4513
  onClose: r.handleCloseDetail,
4514
4514
  onCloseAllDetail: e[0] || (e[0] = (f) => t.$emit("closeAllDetail", { followPort: !0 }))
4515
- }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "followList", "onClose"])) : R("", !0)
4515
+ }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "followList", "onClose"])) : D("", !0)
4516
4516
  ]);
4517
4517
  }
4518
- const Zs = /* @__PURE__ */ X(Gs, [["render", Ys], ["__scopeId", "data-v-95e70a1f"]]);
4518
+ const Zs = /* @__PURE__ */ Z(Gs, [["render", Ys], ["__scopeId", "data-v-95e70a1f"]]);
4519
4519
  const Xs = {
4520
4520
  name: "IdmFollowPosition",
4521
4521
  props: {
@@ -5406,7 +5406,7 @@ const Xs = {
5406
5406
  if (e.properties) {
5407
5407
  const b = e.properties;
5408
5408
  b.lng = e.geometry.coordinates[0], b.lat = e.geometry.coordinates[1];
5409
- const w = M(), k = (o = M(this.realTime)) == null ? void 0 : o.diff(w, "d", !0), y = {
5409
+ const x = M(), k = (o = M(this.realTime)) == null ? void 0 : o.diff(x, "d", !0), y = {
5410
5410
  followId: b.id,
5411
5411
  lat: b.lat,
5412
5412
  lng: b.lng,
@@ -5451,7 +5451,7 @@ function Qs(t, e, o, i, a, r) {
5451
5451
  ]),
5452
5452
  a.position.remark ? (g(), S("div", Js, [
5453
5453
  s("span", null, n(a.position.remark ?? "-"), 1)
5454
- ])) : R("", !0)
5454
+ ])) : D("", !0)
5455
5455
  ])
5456
5456
  ]),
5457
5457
  _: 1
@@ -5462,7 +5462,7 @@ function Qs(t, e, o, i, a, r) {
5462
5462
  [Ze, a.showInfo]
5463
5463
  ]);
5464
5464
  }
5465
- const $s = /* @__PURE__ */ X(Xs, [["render", Qs], ["__scopeId", "data-v-82405c68"]]);
5465
+ const $s = /* @__PURE__ */ Z(Xs, [["render", Qs], ["__scopeId", "data-v-82405c68"]]);
5466
5466
  const el = {
5467
5467
  name: "IdmOtherLayerr",
5468
5468
  components: {
@@ -5650,8 +5650,8 @@ const el = {
5650
5650
  })
5651
5651
  );
5652
5652
  (await Promise.all(l)).map((c) => {
5653
- var b, w, k;
5654
- const f = ((b = c == null ? void 0 : c.data) == null ? void 0 : b.data) || (c == null ? void 0 : c.data), d = (k = (w = c == null ? void 0 : c.config) == null ? void 0 : w.headers) == null ? void 0 : k.key;
5653
+ var b, x, k;
5654
+ const f = ((b = c == null ? void 0 : c.data) == null ? void 0 : b.data) || (c == null ? void 0 : c.data), d = (k = (x = c == null ? void 0 : c.config) == null ? void 0 : x.headers) == null ? void 0 : k.key;
5655
5655
  this.otherLayers[d] = f;
5656
5656
  });
5657
5657
  }
@@ -5689,8 +5689,8 @@ const el = {
5689
5689
  class: "border rounded-sm"
5690
5690
  }, hl = { class: "text-body-2 text-center pt-1" };
5691
5691
  function dl(t, e, o, i, a, r) {
5692
- var J, le, ne, se, ie, me, ue, he, de;
5693
- const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VCardItem"), d = v("VCheckbox"), b = v("VCardText"), w = v("VCard"), k = v("IdmLatLng"), y = v("IdmTerminator"), _ = v("IdmTimezone"), T = v("IdmPort"), B = v("IdmAlertZone"), D = v("IdmTideStations"), x = v("IdmEcaZone"), L = v("IdmWarZone"), P = v("IdmGmdssArea"), C = v("IdmLoadLine"), z = v("IdmWorldMarine"), I = v("IdmVRA"), F = v("IdmSpecialArea"), G = v("IdmWorld12nm"), Y = v("IdmChinaRoute"), Z = v("IdmIceAreas"), Q = v("IdmFollowPort"), $ = v("IdmFollowPosition");
5692
+ var J, se, le, pe, ie, ce, ue, me, he;
5693
+ const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VCardItem"), d = v("VCheckbox"), b = v("VCardText"), x = v("VCard"), k = v("IdmLatLng"), y = v("IdmTerminator"), z = v("IdmTimezone"), T = v("IdmPort"), B = v("IdmAlertZone"), I = v("IdmTideStations"), w = v("IdmEcaZone"), L = v("IdmWarZone"), P = v("IdmGmdssArea"), C = v("IdmLoadLine"), _ = v("IdmWorldMarine"), R = v("IdmVRA"), F = v("IdmSpecialArea"), V = v("IdmWorld12nm"), X = v("IdmChinaRoute"), Y = v("IdmIceAreas"), Q = v("IdmFollowPort"), $ = v("IdmFollowPosition");
5694
5694
  return g(), S("div", tl, [
5695
5695
  s("div", {
5696
5696
  class: ge(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
@@ -5732,14 +5732,14 @@ function dl(t, e, o, i, a, r) {
5732
5732
  onClick: r.handleMenuToggle
5733
5733
  }, {
5734
5734
  default: u(() => e[6] || (e[6] = [
5735
- s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
5735
+ s("i", { class: "iconfont icon-close text-h4" }, null, -1)
5736
5736
  ])),
5737
5737
  _: 1,
5738
5738
  __: [6]
5739
5739
  }, 8, ["onClick"])
5740
5740
  ]),
5741
5741
  s("div", il, [
5742
- p(w, {
5742
+ p(x, {
5743
5743
  class: "block-bg mx-auto mb-3",
5744
5744
  elevation: "0"
5745
5745
  }, {
@@ -5792,7 +5792,7 @@ function dl(t, e, o, i, a, r) {
5792
5792
  ]),
5793
5793
  _: 1
5794
5794
  }),
5795
- p(w, {
5795
+ p(x, {
5796
5796
  class: "block-bg mx-auto mb-3",
5797
5797
  elevation: "0"
5798
5798
  }, {
@@ -5831,7 +5831,7 @@ function dl(t, e, o, i, a, r) {
5831
5831
  ]),
5832
5832
  _: 1
5833
5833
  }),
5834
- p(w, {
5834
+ p(x, {
5835
5835
  class: "block-bg mx-auto mb-3",
5836
5836
  elevation: "0"
5837
5837
  }, {
@@ -5870,7 +5870,7 @@ function dl(t, e, o, i, a, r) {
5870
5870
  ]),
5871
5871
  _: 1
5872
5872
  }),
5873
- p(w, {
5873
+ p(x, {
5874
5874
  class: "block-bg mx-auto mb-3",
5875
5875
  elevation: "0"
5876
5876
  }, {
@@ -5927,40 +5927,40 @@ function dl(t, e, o, i, a, r) {
5927
5927
  map: o.map,
5928
5928
  "menu-toggle": o.menuToggle,
5929
5929
  show: a.checkList.includes("graticule")
5930
- }, t.$attrs), null, 16, ["simple", "map", "menu-toggle", "show"])) : R("", !0),
5930
+ }, t.$attrs), null, 16, ["simple", "map", "menu-toggle", "show"])) : D("", !0),
5931
5931
  o.map ? (g(), A(y, j({
5932
5932
  key: 1,
5933
5933
  map: o.map,
5934
5934
  area: (J = a.otherLayers) == null ? void 0 : J["day-night"]
5935
- }, t.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : R("", !0),
5936
- o.map ? (g(), A(_, j({
5935
+ }, t.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : D("", !0),
5936
+ o.map ? (g(), A(z, j({
5937
5937
  key: 2,
5938
5938
  map: o.map,
5939
- zone: (le = a.otherLayers) == null ? void 0 : le["time-zones"],
5939
+ zone: (se = a.otherLayers) == null ? void 0 : se["time-zones"],
5940
5940
  realTime: o.realTime
5941
- }, t.$attrs, { beforeLayer: "empty-layer-3" }), null, 16, ["map", "zone", "realTime"])) : R("", !0),
5941
+ }, t.$attrs, { beforeLayer: "empty-layer-3" }), null, 16, ["map", "zone", "realTime"])) : D("", !0),
5942
5942
  o.map ? (g(), A(T, j({
5943
5943
  key: 3,
5944
5944
  ref: "idmPorts",
5945
5945
  simple: o.simple,
5946
5946
  map: o.map,
5947
- ports: (ne = a.otherLayers) == null ? void 0 : ne.ports,
5947
+ ports: (le = a.otherLayers) == null ? void 0 : le.ports,
5948
5948
  gateway: o.gateway,
5949
5949
  token: o.token,
5950
5950
  "forecast-model": o.forecastModel,
5951
5951
  realTime: o.realTime,
5952
5952
  theme: o.theme
5953
- }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "ports", "gateway", "token", "forecast-model", "realTime", "theme"])) : R("", !0),
5953
+ }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "ports", "gateway", "token", "forecast-model", "realTime", "theme"])) : D("", !0),
5954
5954
  o.map ? (g(), A(B, j({
5955
5955
  key: 4,
5956
5956
  map: o.map,
5957
5957
  simple: o.simple,
5958
- zone: (se = a.otherLayers) == null ? void 0 : se["alert-zones"]
5958
+ zone: (pe = a.otherLayers) == null ? void 0 : pe["alert-zones"]
5959
5959
  }, t.$attrs, {
5960
5960
  "before-layer": "empty-layer-3",
5961
5961
  theme: o.theme
5962
- }), null, 16, ["map", "simple", "zone", "theme"])) : R("", !0),
5963
- o.map ? (g(), A(D, j({
5962
+ }), null, 16, ["map", "simple", "zone", "theme"])) : D("", !0),
5963
+ o.map ? (g(), A(I, j({
5964
5964
  key: 5,
5965
5965
  ref: "idmIideStation",
5966
5966
  simple: o.simple,
@@ -5973,60 +5973,60 @@ function dl(t, e, o, i, a, r) {
5973
5973
  realTime: o.realTime,
5974
5974
  forecastModel: o.forecastModel,
5975
5975
  "before-layer": "empty-layer-3"
5976
- }, t.$attrs), null, 16, ["simple", "map", "gateway", "token", "defaultMeteoToken", "show", "theme", "realTime", "forecastModel"])) : R("", !0),
5977
- o.map ? (g(), A(x, j({
5976
+ }, t.$attrs), null, 16, ["simple", "map", "gateway", "token", "defaultMeteoToken", "show", "theme", "realTime", "forecastModel"])) : D("", !0),
5977
+ o.map ? (g(), A(w, j({
5978
5978
  key: 6,
5979
5979
  map: o.map,
5980
5980
  zone: (ie = a.otherLayers) == null ? void 0 : ie["eca-zones"]
5981
- }, t.$attrs), null, 16, ["map", "zone"])) : R("", !0),
5981
+ }, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
5982
5982
  o.map ? (g(), A(L, j({
5983
5983
  key: 7,
5984
5984
  map: o.map,
5985
- zone: (me = a.otherLayers) == null ? void 0 : me["war-zones"]
5986
- }, t.$attrs), null, 16, ["map", "zone"])) : R("", !0),
5985
+ zone: (ce = a.otherLayers) == null ? void 0 : ce["war-zones"]
5986
+ }, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
5987
5987
  o.map ? (g(), A(P, j({
5988
5988
  key: 8,
5989
5989
  map: o.map,
5990
5990
  area: (ue = a.otherLayers) == null ? void 0 : ue["gmdss-areas"]
5991
- }, t.$attrs), null, 16, ["map", "area"])) : R("", !0),
5991
+ }, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
5992
5992
  o.map ? (g(), A(C, j({
5993
5993
  key: 9,
5994
5994
  map: o.map,
5995
5995
  show: a.checkList.includes("load-lines")
5996
- }, t.$attrs), null, 16, ["map", "show"])) : R("", !0),
5997
- o.map ? (g(), A(z, j({
5996
+ }, t.$attrs), null, 16, ["map", "show"])) : D("", !0),
5997
+ o.map ? (g(), A(_, j({
5998
5998
  key: 10,
5999
5999
  map: o.map,
6000
6000
  token: o.token,
6001
6001
  show: a.checkList.includes("worldMarine")
6002
- }, t.$attrs), null, 16, ["map", "token", "show"])) : R("", !0),
6003
- o.map ? (g(), A(I, j({
6002
+ }, t.$attrs), null, 16, ["map", "token", "show"])) : D("", !0),
6003
+ o.map ? (g(), A(R, j({
6004
6004
  key: 11,
6005
6005
  map: o.map,
6006
- area: (he = a.otherLayers) == null ? void 0 : he["voluntary-reporting-area"]
6007
- }, t.$attrs), null, 16, ["map", "area"])) : R("", !0),
6006
+ area: (me = a.otherLayers) == null ? void 0 : me["voluntary-reporting-area"]
6007
+ }, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
6008
6008
  o.map ? (g(), A(F, j({
6009
6009
  key: 12,
6010
6010
  map: o.map,
6011
- area: (de = a.otherLayers) == null ? void 0 : de["special-area"]
6012
- }, t.$attrs), null, 16, ["map", "area"])) : R("", !0),
6013
- o.map ? (g(), A(G, j({
6011
+ area: (he = a.otherLayers) == null ? void 0 : he["special-area"]
6012
+ }, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
6013
+ o.map ? (g(), A(V, j({
6014
6014
  key: 13,
6015
6015
  map: o.map,
6016
6016
  token: o.token,
6017
6017
  show: a.checkList.includes("world12nm")
6018
- }, t.$attrs), null, 16, ["map", "token", "show"])) : R("", !0),
6019
- o.map ? (g(), A(Y, j({
6018
+ }, t.$attrs), null, 16, ["map", "token", "show"])) : D("", !0),
6019
+ o.map ? (g(), A(X, j({
6020
6020
  key: 14,
6021
6021
  map: o.map,
6022
6022
  token: o.token,
6023
6023
  show: a.checkList.includes("chinaRoute")
6024
- }, t.$attrs), null, 16, ["map", "token", "show"])) : R("", !0),
6025
- o.map ? (g(), A(Z, j({
6024
+ }, t.$attrs), null, 16, ["map", "token", "show"])) : D("", !0),
6025
+ o.map ? (g(), A(Y, j({
6026
6026
  key: 15,
6027
6027
  map: o.map,
6028
6028
  show: a.checkList.includes("ice-areas")
6029
- }, t.$attrs), null, 16, ["map", "show"])) : R("", !0),
6029
+ }, t.$attrs), null, 16, ["map", "show"])) : D("", !0),
6030
6030
  o.map ? (g(), A(Q, j({
6031
6031
  key: 16,
6032
6032
  ref: "idmFollowPort",
@@ -6037,7 +6037,7 @@ function dl(t, e, o, i, a, r) {
6037
6037
  token: o.token,
6038
6038
  "forecast-model": o.forecastModel,
6039
6039
  realTime: o.realTime
6040
- }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "realTime"])) : R("", !0),
6040
+ }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "realTime"])) : D("", !0),
6041
6041
  o.map ? (g(), A($, j({
6042
6042
  key: 17,
6043
6043
  ref: "idmFollowPosition",
@@ -6046,21 +6046,21 @@ function dl(t, e, o, i, a, r) {
6046
6046
  show: a.checkList.includes("follow-positions"),
6047
6047
  "forecast-model": o.forecastModel,
6048
6048
  realTime: o.realTime
6049
- }, t.$attrs), null, 16, ["simple", "map", "show", "forecast-model", "realTime"])) : R("", !0)
6049
+ }, t.$attrs), null, 16, ["simple", "map", "show", "forecast-model", "realTime"])) : D("", !0)
6050
6050
  ]);
6051
6051
  }
6052
- const pl = /* @__PURE__ */ X(el, [["render", dl]]);
6052
+ const pl = /* @__PURE__ */ Z(el, [["render", dl]]);
6053
6053
  class Io {
6054
6054
  constructor(e) {
6055
- pe(this, "map");
6056
- pe(this, "mercator");
6057
- pe(this, "rampColorLayer");
6058
- pe(this, "rampColorSource");
6059
- pe(this, "particleLayer");
6060
- pe(this, "particleSource");
6061
- pe(this, "rampColorCanvas");
6062
- pe(this, "particleCanvas");
6063
- pe(this, "ratio");
6055
+ de(this, "map");
6056
+ de(this, "mercator");
6057
+ de(this, "rampColorLayer");
6058
+ de(this, "rampColorSource");
6059
+ de(this, "particleLayer");
6060
+ de(this, "particleSource");
6061
+ de(this, "rampColorCanvas");
6062
+ de(this, "particleCanvas");
6063
+ de(this, "ratio");
6064
6064
  this.map = e, this.mercator = new oi(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
6065
6065
  }
6066
6066
  /**
@@ -6096,12 +6096,12 @@ class Io {
6096
6096
  * @param [lb.x, lb.y, rt.x, rt.y]
6097
6097
  */
6098
6098
  getBoundPixel() {
6099
- var y, _;
6099
+ var y, z;
6100
6100
  const e = (y = this.map) == null ? void 0 : y.getBounds();
6101
6101
  if (!e)
6102
6102
  return [];
6103
- const o = ((_ = this.map) == null ? void 0 : _.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, l] = this.convertNLng(i[0]), [m, c] = this.convertNLng(a[0]), [f, d] = this.mercator.px([r, i[1]], o), [b, w] = this.mercator.px([m, a[1]], o), k = Math.round(this.mercator.size * Math.pow(2, o) * (l + c));
6104
- return [b, w, f + k, d];
6103
+ const o = ((z = this.map) == null ? void 0 : z.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, l] = this.convertNLng(i[0]), [m, c] = this.convertNLng(a[0]), [f, d] = this.mercator.px([r, i[1]], o), [b, x] = this.mercator.px([m, a[1]], o), k = Math.round(this.mercator.size * Math.pow(2, o) * (l + c));
6104
+ return [b, x, f + k, d];
6105
6105
  }
6106
6106
  /**
6107
6107
  * [视窗边界像素宽度]
@@ -6284,9 +6284,9 @@ class Fe {
6284
6284
  sRange: o.getUniformLocation(i, "u_range_s")
6285
6285
  };
6286
6286
  d.resolution && o.uniform2f(d.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), d.image && o.uniform1i(d.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), d.color && o.uniform1i(d.color, 1), m != null && m.uvRange && (m != null && m.sRange) && (d.uvRange && o.uniform2f(d.uvRange, m.uvRange[0], m.uvRange[1]), d.sRange && o.uniform2f(d.sRange, m.sRange[0], m.sRange[1])), d.scale && o.uniform1f(d.scale, (m == null ? void 0 : m.scale) || 1);
6287
- const b = e.getBoundPixel(), w = e.map.getZoom() + 1, k = e.getWorldCopy(b, w);
6287
+ const b = e.getBoundPixel(), x = e.map.getZoom() + 1, k = e.getWorldCopy(b, x);
6288
6288
  for (const y of k) {
6289
- const _ = (y[0] - b[0]) * e.ratio, T = (y[1] - b[3]) * e.ratio, B = y[2] * e.ratio, [D, x, L, P] = [_, B + _, T, B + T], C = new Float32Array([D, L, x, L, D, P, D, P, x, L, x, P]);
6289
+ const z = (y[0] - b[0]) * e.ratio, T = (y[1] - b[3]) * e.ratio, B = y[2] * e.ratio, [I, w, L, P] = [z, B + z, T, B + T], C = new Float32Array([I, L, w, L, I, P, I, P, w, L, w, P]);
6290
6290
  o.bindBuffer(o.ARRAY_BUFFER, l), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
6291
6291
  }
6292
6292
  } catch (d) {
@@ -6335,10 +6335,10 @@ class Fe {
6335
6335
  });
6336
6336
  }
6337
6337
  }
6338
- class ce {
6338
+ class ne {
6339
6339
  }
6340
6340
  // 顶点渲染
6341
- pe(ce, "vertexSchema", `
6341
+ de(ne, "vertexSchema", `
6342
6342
  //canvas 坐标系上的坐标 (x, y)
6343
6343
  attribute vec2 a_position; //像素坐标
6344
6344
  attribute vec2 a_texCoord; //纹理坐标
@@ -6353,7 +6353,7 @@ pe(ce, "vertexSchema", `
6353
6353
  gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
6354
6354
  v_texCoord = a_texCoord;
6355
6355
  }`), // 类如风、流等u v双变量片元渲染
6356
- pe(ce, "uvFragmentSchema", `
6356
+ de(ne, "uvFragmentSchema", `
6357
6357
  precision mediump float;
6358
6358
  uniform sampler2D u_image;
6359
6359
  uniform vec2 u_range_u_v;
@@ -6373,7 +6373,7 @@ pe(ce, "uvFragmentSchema", `
6373
6373
 
6374
6374
  gl_FragColor = color;
6375
6375
  }`), // 类如浪、气压等单变量片元渲染
6376
- pe(ce, "fragmentSchema", `
6376
+ de(ne, "fragmentSchema", `
6377
6377
  precision mediump float;
6378
6378
  uniform sampler2D u_image; // 灰度
6379
6379
  uniform sampler2D u_color; // 色值映射
@@ -6386,7 +6386,7 @@ pe(ce, "fragmentSchema", `
6386
6386
  }`);
6387
6387
  class Me {
6388
6388
  }
6389
- pe(Me, "vertexSchema", `
6389
+ de(Me, "vertexSchema", `
6390
6390
  precision mediump float;
6391
6391
 
6392
6392
  attribute float a_index; // 索引
@@ -6410,7 +6410,7 @@ pe(Me, "vertexSchema", `
6410
6410
  gl_PointSize = 1.0;
6411
6411
  // gl_PointSize = u_point;
6412
6412
  gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
6413
- }`), pe(Me, "fragmentSchema", `
6413
+ }`), de(Me, "fragmentSchema", `
6414
6414
  precision mediump float;
6415
6415
 
6416
6416
  uniform sampler2D u_factor;
@@ -6432,7 +6432,7 @@ pe(Me, "vertexSchema", `
6432
6432
 
6433
6433
  float f = 1.0 - uv.b;
6434
6434
  gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
6435
- }`), pe(Me, "quadVertSchema", `
6435
+ }`), de(Me, "quadVertSchema", `
6436
6436
  precision mediump float;
6437
6437
 
6438
6438
  attribute vec2 a_pos;
@@ -6442,7 +6442,7 @@ pe(Me, "vertexSchema", `
6442
6442
  void main() {
6443
6443
  v_tex_pos = a_pos;
6444
6444
  gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
6445
- }`), pe(Me, "screenFragmentSchema", `
6445
+ }`), de(Me, "screenFragmentSchema", `
6446
6446
  precision mediump float;
6447
6447
 
6448
6448
  uniform sampler2D u_screen;
@@ -6454,7 +6454,7 @@ pe(Me, "vertexSchema", `
6454
6454
  vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
6455
6455
  // a hack to guarantee opacity fade out even with a value close to 1.0
6456
6456
  gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
6457
- }`), pe(Me, "updateFragmentSchema", `
6457
+ }`), de(Me, "updateFragmentSchema", `
6458
6458
  precision mediump float;
6459
6459
 
6460
6460
  uniform sampler2D u_particles;
@@ -6589,7 +6589,7 @@ const ul = {
6589
6589
  showCaption: !1,
6590
6590
  source: "wind-barb-source",
6591
6591
  barbs: [0, 2, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105],
6592
- empty: W.featureCollection([]),
6592
+ empty: G.featureCollection([]),
6593
6593
  right: 10,
6594
6594
  bottom: 125,
6595
6595
  windBarbLoaded: !1,
@@ -6694,7 +6694,7 @@ const ul = {
6694
6694
  function fl(t, e, o, i, a, r) {
6695
6695
  return null;
6696
6696
  }
6697
- const yl = /* @__PURE__ */ X(gl, [["render", fl]]);
6697
+ const yl = /* @__PURE__ */ Z(gl, [["render", fl]]);
6698
6698
  const bl = {
6699
6699
  name: "IdmWindParticle",
6700
6700
  props: {
@@ -6806,7 +6806,7 @@ const bl = {
6806
6806
  [1, "rgb(91, 136, 161)"]
6807
6807
  ];
6808
6808
  this.rampColor = this.webgl.setup(this.context, t);
6809
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.uvFragmentSchema);
6809
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.uvFragmentSchema);
6810
6810
  this.program = e, this.aPositionBuffer = o;
6811
6811
  }
6812
6812
  this.handleParticleSetup();
@@ -6879,9 +6879,9 @@ function xl(t, e, o, i, a, r) {
6879
6879
  s("span", null, "40", -1),
6880
6880
  s("span", null, "60", -1)
6881
6881
  ]), 4)
6882
- ])) : R("", !0);
6882
+ ])) : D("", !0);
6883
6883
  }
6884
- const vl = /* @__PURE__ */ X(bl, [["render", xl]]), _l = {
6884
+ const vl = /* @__PURE__ */ Z(bl, [["render", xl]]), _l = {
6885
6885
  name: "IdmCurrent",
6886
6886
  props: {
6887
6887
  map: {
@@ -6913,7 +6913,7 @@ const vl = /* @__PURE__ */ X(bl, [["render", xl]]), _l = {
6913
6913
  directionLayer: "current-direction-layer",
6914
6914
  speedLayer: "current-speed-layer",
6915
6915
  speedLabelLayer: "current-speed-label-layer",
6916
- empty: W.featureCollection([])
6916
+ empty: G.featureCollection([])
6917
6917
  };
6918
6918
  },
6919
6919
  computed: {
@@ -6995,8 +6995,8 @@ const vl = /* @__PURE__ */ X(bl, [["render", xl]]), _l = {
6995
6995
  c.src = "data:image/svg+xml;base64," + window.btoa(f);
6996
6996
  const d = [c];
6997
6997
  let b = 0;
6998
- d.forEach((w) => {
6999
- w.onload = () => {
6998
+ d.forEach((x) => {
6999
+ x.onload = () => {
7000
7000
  b++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon", c), b === 1 && this.map.addLayer(
7001
7001
  {
7002
7002
  id: this.directionLayer,
@@ -7039,7 +7039,7 @@ const vl = /* @__PURE__ */ X(bl, [["render", xl]]), _l = {
7039
7039
  function kl(t, e, o, i, a, r) {
7040
7040
  return null;
7041
7041
  }
7042
- const zl = /* @__PURE__ */ X(_l, [["render", kl]]);
7042
+ const zl = /* @__PURE__ */ Z(_l, [["render", kl]]);
7043
7043
  const Ll = {
7044
7044
  name: "IdmCurrentParticle",
7045
7045
  props: {
@@ -7143,7 +7143,7 @@ const Ll = {
7143
7143
  [1, "rgb(195,194,194)"]
7144
7144
  ];
7145
7145
  this.rampColor = this.webgl.setup(this.context, t);
7146
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.uvFragmentSchema);
7146
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.uvFragmentSchema);
7147
7147
  this.program = e, this.aPositionBuffer = o;
7148
7148
  }
7149
7149
  this.handleParticleSetup();
@@ -7220,9 +7220,9 @@ function Tl(t, e, o, i, a, r) {
7220
7220
  s("span", null, "2", -1),
7221
7221
  s("span", null, "3.2", -1)
7222
7222
  ]), 4)
7223
- ])) : R("", !0);
7223
+ ])) : D("", !0);
7224
7224
  }
7225
- const Cl = /* @__PURE__ */ X(Ll, [["render", Tl]]);
7225
+ const Cl = /* @__PURE__ */ Z(Ll, [["render", Tl]]);
7226
7226
  const Sl = {
7227
7227
  name: "IdmSigWave",
7228
7228
  props: {
@@ -7319,7 +7319,7 @@ const Sl = {
7319
7319
  //13
7320
7320
  ];
7321
7321
  this.rampColor = this.webgl.setup(this.context, t);
7322
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
7322
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
7323
7323
  this.program = e, this.aPositionBuffer = o;
7324
7324
  }
7325
7325
  },
@@ -7348,9 +7348,9 @@ function Dl(t, e, o, i, a, r) {
7348
7348
  s("span", null, "6", -1),
7349
7349
  s("span", null, "9", -1)
7350
7350
  ]), 4)
7351
- ])) : R("", !0);
7351
+ ])) : D("", !0);
7352
7352
  }
7353
- const Il = /* @__PURE__ */ X(Sl, [["render", Dl], ["__scopeId", "data-v-c6137292"]]), Rl = {
7353
+ const Il = /* @__PURE__ */ Z(Sl, [["render", Dl], ["__scopeId", "data-v-c6137292"]]), Rl = {
7354
7354
  name: "IdmSigWaveHeight",
7355
7355
  props: {
7356
7356
  map: {
@@ -7374,7 +7374,7 @@ const Il = /* @__PURE__ */ X(Sl, [["render", Dl], ["__scopeId", "data-v-c6137292
7374
7374
  source: "sig-wave-height-source",
7375
7375
  heightLayer: "sig-wave-height-layer",
7376
7376
  heightLabelLayer: "sig-wave-height-label-layer",
7377
- empty: W.featureCollection([])
7377
+ empty: G.featureCollection([])
7378
7378
  };
7379
7379
  },
7380
7380
  watch: {
@@ -7489,7 +7489,7 @@ const Il = /* @__PURE__ */ X(Sl, [["render", Dl], ["__scopeId", "data-v-c6137292
7489
7489
  function Al(t, e, o, i, a, r) {
7490
7490
  return null;
7491
7491
  }
7492
- const Ol = /* @__PURE__ */ X(Rl, [["render", Al]]);
7492
+ const Ol = /* @__PURE__ */ Z(Rl, [["render", Al]]);
7493
7493
  const Bl = {
7494
7494
  name: "IdmSwell",
7495
7495
  props: {
@@ -7586,7 +7586,7 @@ const Bl = {
7586
7586
  //13
7587
7587
  ];
7588
7588
  this.rampColor = this.webgl.setup(this.context, t);
7589
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
7589
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
7590
7590
  this.program = e, this.aPositionBuffer = o;
7591
7591
  }
7592
7592
  },
@@ -7615,9 +7615,9 @@ function El(t, e, o, i, a, r) {
7615
7615
  s("span", null, "6", -1),
7616
7616
  s("span", null, "9", -1)
7617
7617
  ]), 4)
7618
- ])) : R("", !0);
7618
+ ])) : D("", !0);
7619
7619
  }
7620
- const Nl = /* @__PURE__ */ X(Bl, [["render", El], ["__scopeId", "data-v-3c94b068"]]), Fl = {
7620
+ const Nl = /* @__PURE__ */ Z(Bl, [["render", El], ["__scopeId", "data-v-3c94b068"]]), Fl = {
7621
7621
  name: "IdmPrmsl",
7622
7622
  props: {
7623
7623
  map: {
@@ -7647,7 +7647,7 @@ const Nl = /* @__PURE__ */ X(Bl, [["render", El], ["__scopeId", "data-v-3c94b068
7647
7647
  layer: "prmsl-layer",
7648
7648
  labelLayer: "prmsl-label-layer",
7649
7649
  pointLabelLayer: "prmsl-point-label-layer",
7650
- empty: W.featureCollection([])
7650
+ empty: G.featureCollection([])
7651
7651
  };
7652
7652
  },
7653
7653
  watch: {
@@ -7756,7 +7756,7 @@ const Nl = /* @__PURE__ */ X(Bl, [["render", El], ["__scopeId", "data-v-3c94b068
7756
7756
  function Hl(t, e, o, i, a, r) {
7757
7757
  return null;
7758
7758
  }
7759
- const Gl = /* @__PURE__ */ X(Fl, [["render", Hl]]);
7759
+ const Gl = /* @__PURE__ */ Z(Fl, [["render", Hl]]);
7760
7760
  const Wl = {
7761
7761
  name: "IdmIceEdge",
7762
7762
  props: {
@@ -7846,7 +7846,7 @@ const Wl = {
7846
7846
  // 100%
7847
7847
  ];
7848
7848
  this.rampColor = this.webgl.setup(this.context, t);
7849
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
7849
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
7850
7850
  this.program = e, this.aPositionBuffer = o;
7851
7851
  }
7852
7852
  },
@@ -7880,9 +7880,9 @@ function Vl(t, e, o, i, a, r) {
7880
7880
  s("span", null, "90", -1),
7881
7881
  s("span", null, null, -1)
7882
7882
  ]), 4)
7883
- ])) : R("", !0);
7883
+ ])) : D("", !0);
7884
7884
  }
7885
- const Yl = /* @__PURE__ */ X(Wl, [["render", Vl]]);
7885
+ const Yl = /* @__PURE__ */ Z(Wl, [["render", Vl]]);
7886
7886
  const Zl = {
7887
7887
  name: "IdmCover",
7888
7888
  props: {
@@ -7963,7 +7963,7 @@ const Zl = {
7963
7963
  // 100%
7964
7964
  ];
7965
7965
  this.rampColor = this.webgl.setup(this.context, t);
7966
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
7966
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
7967
7967
  this.program = e, this.aPositionBuffer = o;
7968
7968
  }
7969
7969
  },
@@ -7991,9 +7991,9 @@ function ql(t, e, o, i, a, r) {
7991
7991
  s("span", null, "80", -1),
7992
7992
  s("span", null, "100", -1)
7993
7993
  ]), 4)
7994
- ])) : R("", !0);
7994
+ ])) : D("", !0);
7995
7995
  }
7996
- const Kl = /* @__PURE__ */ X(Zl, [["render", ql], ["__scopeId", "data-v-916b01eb"]]);
7996
+ const Kl = /* @__PURE__ */ Z(Zl, [["render", ql], ["__scopeId", "data-v-916b01eb"]]);
7997
7997
  const Jl = {
7998
7998
  name: "IdmThickness",
7999
7999
  props: {
@@ -8081,7 +8081,7 @@ const Jl = {
8081
8081
  // 4m
8082
8082
  ];
8083
8083
  this.rampColor = this.webgl.setup(this.context, t);
8084
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
8084
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
8085
8085
  this.program = e, this.aPositionBuffer = o;
8086
8086
  }
8087
8087
  },
@@ -8110,9 +8110,9 @@ function $l(t, e, o, i, a, r) {
8110
8110
  s("span", null, "2", -1),
8111
8111
  s("span", null, "3", -1)
8112
8112
  ]), 4)
8113
- ])) : R("", !0);
8113
+ ])) : D("", !0);
8114
8114
  }
8115
- const en = /* @__PURE__ */ X(Jl, [["render", $l]]);
8115
+ const en = /* @__PURE__ */ Z(Jl, [["render", $l]]);
8116
8116
  const tn = {
8117
8117
  name: "IdmPrecip3h",
8118
8118
  props: {
@@ -8201,7 +8201,7 @@ const tn = {
8201
8201
  [1, "rgba(197,5,58,0.8)"]
8202
8202
  ];
8203
8203
  this.rampColor = this.webgl.setup(this.context, t);
8204
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
8204
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
8205
8205
  this.program = e, this.aPositionBuffer = o;
8206
8206
  }
8207
8207
  },
@@ -8231,9 +8231,9 @@ function an(t, e, o, i, a, r) {
8231
8231
  s("span", null, "20", -1),
8232
8232
  s("span", null, "30", -1)
8233
8233
  ]), 4)
8234
- ])) : R("", !0);
8234
+ ])) : D("", !0);
8235
8235
  }
8236
- const rn = /* @__PURE__ */ X(tn, [["render", an]]);
8236
+ const rn = /* @__PURE__ */ Z(tn, [["render", an]]);
8237
8237
  const sn = {
8238
8238
  name: "IdmVisibility",
8239
8239
  props: {
@@ -8312,7 +8312,7 @@ const sn = {
8312
8312
  [1, "rgba(144,144,144,0)"]
8313
8313
  ];
8314
8314
  this.rampColor = this.webgl.setup(this.context, t);
8315
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
8315
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
8316
8316
  this.program = e, this.aPositionBuffer = o;
8317
8317
  }
8318
8318
  },
@@ -8340,9 +8340,9 @@ function nn(t, e, o, i, a, r) {
8340
8340
  s("span", null, "3", -1),
8341
8341
  s("span", null, "9", -1)
8342
8342
  ]), 4)
8343
- ])) : R("", !0);
8343
+ ])) : D("", !0);
8344
8344
  }
8345
- const cn = /* @__PURE__ */ X(sn, [["render", nn]]);
8345
+ const cn = /* @__PURE__ */ Z(sn, [["render", nn]]);
8346
8346
  const mn = {
8347
8347
  name: "IdmWaterTemp",
8348
8348
  props: {
@@ -8424,7 +8424,7 @@ const mn = {
8424
8424
  //
8425
8425
  ];
8426
8426
  this.rampColor = this.webgl.setup(this.context, t);
8427
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
8427
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
8428
8428
  this.program = e, this.aPositionBuffer = o;
8429
8429
  }
8430
8430
  },
@@ -8452,9 +8452,9 @@ function dn(t, e, o, i, a, r) {
8452
8452
  s("span", null, "30", -1),
8453
8453
  s("span", null, "40", -1)
8454
8454
  ]), 4)
8455
- ])) : R("", !0);
8455
+ ])) : D("", !0);
8456
8456
  }
8457
- const pn = /* @__PURE__ */ X(mn, [["render", dn]]);
8457
+ const pn = /* @__PURE__ */ Z(mn, [["render", dn]]);
8458
8458
  const un = {
8459
8459
  name: "IdmTemp",
8460
8460
  props: {
@@ -8547,7 +8547,7 @@ const un = {
8547
8547
  [1, "rgb(138, 43, 10)"]
8548
8548
  ];
8549
8549
  this.rampColor = this.webgl.setup(this.context, t);
8550
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
8550
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ne.vertexSchema, ne.fragmentSchema);
8551
8551
  this.program = e, this.aPositionBuffer = o;
8552
8552
  }
8553
8553
  },
@@ -8577,9 +8577,9 @@ function fn(t, e, o, i, a, r) {
8577
8577
  s("span", null, "30", -1),
8578
8578
  s("span", null, "40", -1)
8579
8579
  ]), 4)
8580
- ])) : R("", !0);
8580
+ ])) : D("", !0);
8581
8581
  }
8582
- const yn = /* @__PURE__ */ X(un, [["render", fn]]);
8582
+ const yn = /* @__PURE__ */ Z(un, [["render", fn]]);
8583
8583
  const bn = {
8584
8584
  name: "IdmGlLayer",
8585
8585
  components: {
@@ -8870,71 +8870,71 @@ const bn = {
8870
8870
  (t == null ? void 0 : t.data.code) === 0 && (this.models = t == null ? void 0 : t.data.data);
8871
8871
  },
8872
8872
  async fetchWeatherLayers(t = {}) {
8873
- var a, r, l, m, c, f, d, b, w;
8873
+ var a, r, l, m, c, f, d, b, x;
8874
8874
  const e = (/* @__PURE__ */ new Date()).valueOf();
8875
8875
  let o = 0, i = 0;
8876
8876
  if (this.map) {
8877
- const k = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, y = (r = this.map) == null ? void 0 : r.getBounds(), _ = `${y._sw.lng},${y._sw.lat},${y._ne.lng},${y._ne.lat}`;
8877
+ const k = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, y = (r = this.map) == null ? void 0 : r.getBounds(), z = `${y._sw.lng},${y._sw.lat},${y._ne.lng},${y._ne.lat}`;
8878
8878
  if (this.particleFactor && ((l = this.$refs.layer) != null && l.autoActive)) {
8879
8879
  const T = Co.WEATHER_LAYERS.find((B) => {
8880
- var D;
8881
- return ((D = B.peer) == null ? void 0 : D.weight) === this.particleFactor.weight;
8880
+ var I;
8881
+ return ((I = B.peer) == null ? void 0 : I.weight) === this.particleFactor.weight;
8882
8882
  });
8883
8883
  this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & T.weight ? this.weatherWeight : this.weatherWeight + T.weight : this.weatherWeight = this.weatherWeight & T.weight ? this.weatherWeight - T.weight : this.weatherWeight;
8884
8884
  }
8885
8885
  if (this.weatherWeight > 0) {
8886
8886
  let T = this.weatherWeight;
8887
8887
  if (T > 0) {
8888
- const B = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], D = await Ae.get(
8889
- `${B}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${k}&bbox=${_}&t=${this.realTime}`,
8888
+ const B = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], I = await Ae.get(
8889
+ `${B}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${k}&bbox=${z}&t=${this.realTime}`,
8890
8890
  {
8891
8891
  headers: {
8892
8892
  Authorization: this.defaultMeteoToken
8893
8893
  }
8894
8894
  }
8895
8895
  );
8896
- if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((m = D == null ? void 0 : D.data) == null ? void 0 : m.code) === 0) {
8897
- const x = (c = D == null ? void 0 : D.data) == null ? void 0 : c.data, L = [];
8898
- for (const C in x)
8896
+ if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((m = I == null ? void 0 : I.data) == null ? void 0 : m.code) === 0) {
8897
+ const w = (c = I == null ? void 0 : I.data) == null ? void 0 : c.data, L = [];
8898
+ for (const C in w)
8899
8899
  L.push(
8900
- Ae.get(x[C], {
8900
+ Ae.get(w[C], {
8901
8901
  headers: {
8902
8902
  Authorization: this.defaultMeteoToken,
8903
8903
  key: C
8904
8904
  },
8905
- responseType: /\.(jpg|png)$/.test(x[C]) ? "blob" : "json"
8906
- }).catch((z) => {
8907
- console.log(`[${C}] fetch layer error: ${z}`);
8905
+ responseType: /\.(jpg|png)$/.test(w[C]) ? "blob" : "json"
8906
+ }).catch((_) => {
8907
+ console.log(`[${C}] fetch layer error: ${_}`);
8908
8908
  })
8909
8909
  );
8910
8910
  const P = await Promise.all(L);
8911
8911
  this.weatherLayers = {}, P.map((C) => {
8912
- var F, G, Y, Z;
8913
- const z = ((F = C == null ? void 0 : C.data) == null ? void 0 : F.data) || (C == null ? void 0 : C.data);
8914
- let I = (Y = (G = C == null ? void 0 : C.config) == null ? void 0 : G.headers) == null ? void 0 : Y.key;
8915
- I && z && (this.weatherLayers[I] = {
8916
- raw: z,
8917
- type: ((Z = C == null ? void 0 : C.config) == null ? void 0 : Z.responseType) === "blob" ? "image" : "json",
8918
- etime: D.data.etime
8912
+ var F, V, X, Y;
8913
+ const _ = ((F = C == null ? void 0 : C.data) == null ? void 0 : F.data) || (C == null ? void 0 : C.data);
8914
+ let R = (X = (V = C == null ? void 0 : C.config) == null ? void 0 : V.headers) == null ? void 0 : X.key;
8915
+ R && _ && (this.weatherLayers[R] = {
8916
+ raw: _,
8917
+ type: ((Y = C == null ? void 0 : C.config) == null ? void 0 : Y.responseType) === "blob" ? "image" : "json",
8918
+ etime: I.data.etime
8919
8919
  });
8920
8920
  });
8921
8921
  }
8922
8922
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather layers elapsed: ", i, ", total: ", o += i), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
8923
- const x = (f = this.weatherLayers["swell-direction"]) == null ? void 0 : f.raw, L = (d = this.weatherLayers["swell-height"]) == null ? void 0 : d.raw;
8923
+ const w = (f = this.weatherLayers["swell-direction"]) == null ? void 0 : f.raw, L = (d = this.weatherLayers["swell-height"]) == null ? void 0 : d.raw;
8924
8924
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
8925
8925
  type: "json",
8926
- direction: x,
8926
+ direction: w,
8927
8927
  height: { raw: L },
8928
- etime: D.data.etime
8928
+ etime: I.data.etime
8929
8929
  };
8930
8930
  }
8931
8931
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
8932
- const x = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, L = (w = this.weatherLayers["current-speed"]) == null ? void 0 : w.raw;
8932
+ const w = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, L = (x = this.weatherLayers["current-speed"]) == null ? void 0 : x.raw;
8933
8933
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
8934
8934
  type: "json",
8935
- direction: x,
8935
+ direction: w,
8936
8936
  speed: { raw: L },
8937
- etime: D.data.etime
8937
+ etime: I.data.etime
8938
8938
  };
8939
8939
  }
8940
8940
  }
@@ -8995,50 +8995,50 @@ const bn = {
8995
8995
  let e = 0, o = 0;
8996
8996
  const i = (r = this.map) == null ? void 0 : r.getBounds(), a = (l = this.map) == null ? void 0 : l.getZoom();
8997
8997
  if (i && a) {
8998
- const w = q.convertToStdLng(i._sw.lng), k = q.convertToStdLng(i._ne.lng), y = Math.floor(i._sw.lat), _ = Math.ceil(i._ne.lat);
8998
+ const x = q.convertToStdLng(i._sw.lng), k = q.convertToStdLng(i._ne.lng), y = Math.floor(i._sw.lat), z = Math.ceil(i._ne.lat);
8999
8999
  for (const T in this.weatherLayers) {
9000
9000
  let B = !1;
9001
9001
  if (this.weatherLayers[T].active && this.weatherLayers[T].type === "json") {
9002
- let D = [];
9002
+ let I = [];
9003
9003
  if (T === "swell") {
9004
9004
  B = !0;
9005
- const x = ((m = this.weatherLayers[T]) == null ? void 0 : m.direction) || {};
9006
- for (const P in x)
9007
- if (P > y && P < _ && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9008
- const C = x[P].lng;
9009
- w > k ? C.forEach((z, I) => {
9010
- var F, G, Y, Z, Q, $;
9005
+ const w = ((m = this.weatherLayers[T]) == null ? void 0 : m.direction) || {};
9006
+ for (const P in w)
9007
+ if (P > y && P < z && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9008
+ const C = w[P].lng;
9009
+ x > k ? C.forEach((_, R) => {
9010
+ var F, V, X, Y, Q, $;
9011
9011
  if (a < 2) {
9012
- if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
9013
- const J = W.point([z, P], {
9014
- val: ((F = x[P].val) == null ? void 0 : F[I]) || ((G = x[P].dir) == null ? void 0 : G[I]),
9015
- spd: (Y = x[P].spd) == null ? void 0 : Y[I]
9012
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9013
+ const J = G.point([_, P], {
9014
+ val: ((F = w[P].val) == null ? void 0 : F[R]) || ((V = w[P].dir) == null ? void 0 : V[R]),
9015
+ spd: (X = w[P].spd) == null ? void 0 : X[R]
9016
9016
  });
9017
- D.push(J);
9017
+ I.push(J);
9018
9018
  }
9019
- } else if ((z >= w && z <= 180 || z >= -180 && z <= k) && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9020
- const J = W.point([z, P], {
9021
- val: ((Z = x[P].val) == null ? void 0 : Z[I]) || ((Q = x[P].dir) == null ? void 0 : Q[I]),
9022
- spd: ($ = x[P].spd) == null ? void 0 : $[I]
9019
+ } else if ((_ >= x && _ <= 180 || _ >= -180 && _ <= k) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9020
+ const J = G.point([_, P], {
9021
+ val: ((Y = w[P].val) == null ? void 0 : Y[R]) || ((Q = w[P].dir) == null ? void 0 : Q[R]),
9022
+ spd: ($ = w[P].spd) == null ? void 0 : $[R]
9023
9023
  });
9024
- D.push(J);
9024
+ I.push(J);
9025
9025
  }
9026
- }) : C.forEach((z, I) => {
9027
- var F, G, Y, Z, Q, $;
9028
- if (w < 2) {
9029
- if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
9030
- const J = W.point([z, P], {
9031
- val: ((F = x[P].val) == null ? void 0 : F[I]) || ((G = x[P].dir) == null ? void 0 : G[I]),
9032
- spd: (Y = x[P].spd) == null ? void 0 : Y[I]
9026
+ }) : C.forEach((_, R) => {
9027
+ var F, V, X, Y, Q, $;
9028
+ if (x < 2) {
9029
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9030
+ const J = G.point([_, P], {
9031
+ val: ((F = w[P].val) == null ? void 0 : F[R]) || ((V = w[P].dir) == null ? void 0 : V[R]),
9032
+ spd: (X = w[P].spd) == null ? void 0 : X[R]
9033
9033
  });
9034
- D.push(J);
9034
+ I.push(J);
9035
9035
  }
9036
- } else if (z >= w && z <= k && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9037
- const J = W.point([z, P], {
9038
- val: ((Z = x[P].val) == null ? void 0 : Z[I]) || ((Q = x[P].dir) == null ? void 0 : Q[I]),
9039
- spd: ($ = x[P].spd) == null ? void 0 : $[I]
9036
+ } else if (_ >= x && _ <= k && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9037
+ const J = G.point([_, P], {
9038
+ val: ((Y = w[P].val) == null ? void 0 : Y[R]) || ((Q = w[P].dir) == null ? void 0 : Q[R]),
9039
+ spd: ($ = w[P].spd) == null ? void 0 : $[R]
9040
9040
  });
9041
- D.push(J);
9041
+ I.push(J);
9042
9042
  }
9043
9043
  });
9044
9044
  }
@@ -9048,61 +9048,61 @@ const bn = {
9048
9048
  if (!L.data) {
9049
9049
  const P = [];
9050
9050
  for (const C in (c = L.raw) == null ? void 0 : c.LineString) {
9051
- const z = L.raw.LineString[C];
9052
- for (const I of z)
9051
+ const _ = L.raw.LineString[C];
9052
+ for (const R of _)
9053
9053
  P.push(
9054
- W.lineString(I, {
9054
+ G.lineString(R, {
9055
9055
  val: Number(C)
9056
9056
  })
9057
9057
  );
9058
- L.data = W.featureCollection(P);
9058
+ L.data = G.featureCollection(P);
9059
9059
  }
9060
9060
  }
9061
9061
  if (L.data) {
9062
9062
  const P = this.handleBboxClip(L.data, i);
9063
- D = D.concat(P);
9063
+ I = I.concat(P);
9064
9064
  }
9065
9065
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
9066
9066
  }
9067
9067
  } else if (T === "current") {
9068
9068
  B = !0;
9069
- const x = ((f = this.weatherLayers[T]) == null ? void 0 : f.direction) || {};
9070
- for (const P in x)
9071
- if (P > y && P < _ && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9072
- const C = x[P].lng;
9073
- w > k ? C.forEach((z, I) => {
9074
- var F, G, Y, Z, Q, $;
9069
+ const w = ((f = this.weatherLayers[T]) == null ? void 0 : f.direction) || {};
9070
+ for (const P in w)
9071
+ if (P > y && P < z && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9072
+ const C = w[P].lng;
9073
+ x > k ? C.forEach((_, R) => {
9074
+ var F, V, X, Y, Q, $;
9075
9075
  if (a < 2) {
9076
- if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
9077
- const J = W.point([z, P], {
9078
- val: ((F = x[P].val) == null ? void 0 : F[I]) || ((G = x[P].dir) == null ? void 0 : G[I]),
9079
- spd: (Y = x[P].spd) == null ? void 0 : Y[I]
9076
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9077
+ const J = G.point([_, P], {
9078
+ val: ((F = w[P].val) == null ? void 0 : F[R]) || ((V = w[P].dir) == null ? void 0 : V[R]),
9079
+ spd: (X = w[P].spd) == null ? void 0 : X[R]
9080
9080
  });
9081
- D.push(J);
9081
+ I.push(J);
9082
9082
  }
9083
- } else if ((z >= w && z <= 180 || z >= -180 && z <= k) && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9084
- const J = W.point([z, P], {
9085
- val: ((Z = x[P].val) == null ? void 0 : Z[I]) || ((Q = x[P].dir) == null ? void 0 : Q[I]),
9086
- spd: ($ = x[P].spd) == null ? void 0 : $[I]
9083
+ } else if ((_ >= x && _ <= 180 || _ >= -180 && _ <= k) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9084
+ const J = G.point([_, P], {
9085
+ val: ((Y = w[P].val) == null ? void 0 : Y[R]) || ((Q = w[P].dir) == null ? void 0 : Q[R]),
9086
+ spd: ($ = w[P].spd) == null ? void 0 : $[R]
9087
9087
  });
9088
- D.push(J);
9088
+ I.push(J);
9089
9089
  }
9090
- }) : C.forEach((z, I) => {
9091
- var F, G, Y, Z, Q, $;
9092
- if (w < 2) {
9093
- if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
9094
- const J = W.point([z, P], {
9095
- val: ((F = x[P].val) == null ? void 0 : F[I]) || ((G = x[P].dir) == null ? void 0 : G[I]),
9096
- spd: (Y = x[P].spd) == null ? void 0 : Y[I]
9090
+ }) : C.forEach((_, R) => {
9091
+ var F, V, X, Y, Q, $;
9092
+ if (x < 2) {
9093
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9094
+ const J = G.point([_, P], {
9095
+ val: ((F = w[P].val) == null ? void 0 : F[R]) || ((V = w[P].dir) == null ? void 0 : V[R]),
9096
+ spd: (X = w[P].spd) == null ? void 0 : X[R]
9097
9097
  });
9098
- D.push(J);
9098
+ I.push(J);
9099
9099
  }
9100
- } else if (z >= w && z <= k && (!(a <= this.zoom) || z % (a < this.zoom / 2 ? 5 : 3) === 0)) {
9101
- const J = W.point([z, P], {
9102
- val: ((Z = x[P].val) == null ? void 0 : Z[I]) || ((Q = x[P].dir) == null ? void 0 : Q[I]),
9103
- spd: ($ = x[P].spd) == null ? void 0 : $[I]
9100
+ } else if (_ >= x && _ <= k && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
9101
+ const J = G.point([_, P], {
9102
+ val: ((Y = w[P].val) == null ? void 0 : Y[R]) || ((Q = w[P].dir) == null ? void 0 : Q[R]),
9103
+ spd: ($ = w[P].spd) == null ? void 0 : $[R]
9104
9104
  });
9105
- D.push(J);
9105
+ I.push(J);
9106
9106
  }
9107
9107
  });
9108
9108
  }
@@ -9111,134 +9111,134 @@ const bn = {
9111
9111
  if (L) {
9112
9112
  if (!L.data) {
9113
9113
  const C = [];
9114
- for (const z in (d = L.raw) == null ? void 0 : d.Polygon) {
9115
- const I = L.raw.Polygon[z];
9116
- for (const F of I)
9114
+ for (const _ in (d = L.raw) == null ? void 0 : d.Polygon) {
9115
+ const R = L.raw.Polygon[_];
9116
+ for (const F of R)
9117
9117
  C.push(
9118
- W.polygon(F, {
9119
- val: Number(z)
9118
+ G.polygon(F, {
9119
+ val: Number(_)
9120
9120
  })
9121
9121
  );
9122
9122
  }
9123
- L.data = W.featureCollection(C);
9123
+ L.data = G.featureCollection(C);
9124
9124
  }
9125
9125
  const P = a < this.zoom ? L.data.features.filter((C) => C.properties.val > 0.5) : L.data.features;
9126
- D = D.concat(P), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
9126
+ I = I.concat(P), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
9127
9127
  }
9128
9128
  } else if (T === "wind") {
9129
9129
  B = !0;
9130
- const x = this.weatherLayers.wind.raw;
9131
- for (const L in x)
9132
- if (L > y && L < _ && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9133
- const P = x[L].lng;
9134
- w > k ? P.forEach((C, z) => {
9135
- var I, F, G, Y;
9130
+ const w = this.weatherLayers.wind.raw;
9131
+ for (const L in w)
9132
+ if (L > y && L < z && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9133
+ const P = w[L].lng;
9134
+ x > k ? P.forEach((C, _) => {
9135
+ var R, F, V, X;
9136
9136
  if (a < 2) {
9137
9137
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9138
- const Z = W.point([C, L], {
9139
- dir: ((I = x[L].val) == null ? void 0 : I[z]) || ((F = x[L].dir) == null ? void 0 : F[z]),
9140
- spd: x[L].spd[z]
9138
+ const Y = G.point([C, L], {
9139
+ dir: ((R = w[L].val) == null ? void 0 : R[_]) || ((F = w[L].dir) == null ? void 0 : F[_]),
9140
+ spd: w[L].spd[_]
9141
9141
  });
9142
- D.push(Z);
9142
+ I.push(Y);
9143
9143
  }
9144
- } else if ((C >= w && C <= 180 || C >= -180 && C <= k) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9145
- const Z = W.point([C, L], {
9146
- dir: ((G = x[L].val) == null ? void 0 : G[z]) || ((Y = x[L].dir) == null ? void 0 : Y[z]),
9147
- spd: x[L].spd[z]
9144
+ } else if ((C >= x && C <= 180 || C >= -180 && C <= k) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9145
+ const Y = G.point([C, L], {
9146
+ dir: ((V = w[L].val) == null ? void 0 : V[_]) || ((X = w[L].dir) == null ? void 0 : X[_]),
9147
+ spd: w[L].spd[_]
9148
9148
  });
9149
- D.push(Z);
9149
+ I.push(Y);
9150
9150
  }
9151
- }) : P.forEach((C, z) => {
9152
- var I, F, G, Y;
9151
+ }) : P.forEach((C, _) => {
9152
+ var R, F, V, X;
9153
9153
  if (a < 2) {
9154
9154
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9155
- const Z = W.point([C, L], {
9156
- dir: ((I = x[L].val) == null ? void 0 : I[z]) || ((F = x[L].dir) == null ? void 0 : F[z]),
9157
- spd: x[L].spd[z]
9155
+ const Y = G.point([C, L], {
9156
+ dir: ((R = w[L].val) == null ? void 0 : R[_]) || ((F = w[L].dir) == null ? void 0 : F[_]),
9157
+ spd: w[L].spd[_]
9158
9158
  });
9159
- D.push(Z);
9159
+ I.push(Y);
9160
9160
  }
9161
- } else if (C >= w && C <= k && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9162
- const Z = W.point([C, L], {
9163
- dir: ((G = x[L].val) == null ? void 0 : G[z]) || ((Y = x[L].dir) == null ? void 0 : Y[z]),
9164
- spd: x[L].spd[z]
9161
+ } else if (C >= x && C <= k && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9162
+ const Y = G.point([C, L], {
9163
+ dir: ((V = w[L].val) == null ? void 0 : V[_]) || ((X = w[L].dir) == null ? void 0 : X[_]),
9164
+ spd: w[L].spd[_]
9165
9165
  });
9166
- D.push(Z);
9166
+ I.push(Y);
9167
9167
  }
9168
9168
  });
9169
9169
  }
9170
9170
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("wind barb elapsed: ", o, ", total: ", e += o);
9171
9171
  } else if (T === "sig-wave-height") {
9172
9172
  if (this.weatherLayers[T].data)
9173
- D = this.weatherLayers[T].data;
9173
+ I = this.weatherLayers[T].data;
9174
9174
  else {
9175
9175
  B = !0;
9176
- const x = this.weatherLayers[T].raw;
9177
- if (x) {
9176
+ const w = this.weatherLayers[T].raw;
9177
+ if (w) {
9178
9178
  const L = [];
9179
- for (const P in x.Polygon) {
9180
- const C = x.Polygon[P];
9181
- for (const z of C)
9179
+ for (const P in w.Polygon) {
9180
+ const C = w.Polygon[P];
9181
+ for (const _ of C)
9182
9182
  L.push(
9183
- W.polygon(z, {
9183
+ G.polygon(_, {
9184
9184
  val: Number(P)
9185
9185
  })
9186
9186
  );
9187
9187
  }
9188
- for (const P in x.MultiPolygon) {
9189
- const C = x.MultiPolygon[P];
9190
- for (const z of C)
9188
+ for (const P in w.MultiPolygon) {
9189
+ const C = w.MultiPolygon[P];
9190
+ for (const _ of C)
9191
9191
  L.push(
9192
- W.multiPolygon(z, {
9192
+ G.multiPolygon(_, {
9193
9193
  val: Number(P)
9194
9194
  })
9195
9195
  );
9196
9196
  }
9197
- for (const P in x.Point) {
9198
- const C = x.Point[P];
9199
- for (let z = 0; z < ((b = C.lng) == null ? void 0 : b.length); z++)
9197
+ for (const P in w.Point) {
9198
+ const C = w.Point[P];
9199
+ for (let _ = 0; _ < ((b = C.lng) == null ? void 0 : b.length); _++)
9200
9200
  L.push(
9201
- W.point([C.lng[z], P], {
9202
- val: Number(C.val[z])
9201
+ G.point([C.lng[_], P], {
9202
+ val: Number(C.val[_])
9203
9203
  })
9204
9204
  );
9205
9205
  }
9206
- D = D.concat(L);
9206
+ I = I.concat(L);
9207
9207
  }
9208
9208
  }
9209
9209
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", o, ", total: ", e += o);
9210
9210
  } else if (T === "prmsl") {
9211
9211
  if (this.weatherLayers[T].data)
9212
- D = this.weatherLayers[T].data;
9212
+ I = this.weatherLayers[T].data;
9213
9213
  else {
9214
9214
  B = !0;
9215
- const x = this.weatherLayers[T].raw;
9216
- if (x) {
9215
+ const w = this.weatherLayers[T].raw;
9216
+ if (w) {
9217
9217
  const L = [];
9218
- for (const P in x.LineString) {
9219
- const C = x.LineString[P];
9220
- for (const z of C)
9218
+ for (const P in w.LineString) {
9219
+ const C = w.LineString[P];
9220
+ for (const _ of C)
9221
9221
  L.push(
9222
- W.lineString(z, {
9222
+ G.lineString(_, {
9223
9223
  val: Number(P)
9224
9224
  })
9225
9225
  );
9226
9226
  }
9227
- for (const P in x.Point)
9228
- x.Point[P].lng.forEach((C, z) => {
9227
+ for (const P in w.Point)
9228
+ w.Point[P].lng.forEach((C, _) => {
9229
9229
  C = q.convertToStdLng(C), L.push(
9230
- W.point([C, P], {
9231
- val: x.Point[P].val[z],
9232
- type: x.Point[P].type[z]
9230
+ G.point([C, P], {
9231
+ val: w.Point[P].val[_],
9232
+ type: w.Point[P].type[_]
9233
9233
  })
9234
9234
  );
9235
9235
  });
9236
- D = D.concat(L);
9236
+ I = I.concat(L);
9237
9237
  }
9238
9238
  }
9239
9239
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
9240
9240
  }
9241
- D.length && (this.weatherLayers[T].data = W.featureCollection(D)), B && (this.weatherLayers[T].version = Math.random() + 1);
9241
+ I.length && (this.weatherLayers[T].data = G.featureCollection(I)), B && (this.weatherLayers[T].version = Math.random() + 1);
9242
9242
  }
9243
9243
  }
9244
9244
  }
@@ -9253,10 +9253,10 @@ const bn = {
9253
9253
  return t.features.forEach((r) => {
9254
9254
  if (r.geometry.type !== "Point")
9255
9255
  if (i > a) {
9256
- let l = [i, e._sw.lat, 180, e._ne.lat], m = W.bboxClip(r, l);
9257
- m.geometry.coordinates.length && o.push(m), l = [-180, e._sw.lat, a, e._ne.lat], m = W.bboxClip(r, l), m.geometry.coordinates.length && o.push(m);
9256
+ let l = [i, e._sw.lat, 180, e._ne.lat], m = G.bboxClip(r, l);
9257
+ m.geometry.coordinates.length && o.push(m), l = [-180, e._sw.lat, a, e._ne.lat], m = G.bboxClip(r, l), m.geometry.coordinates.length && o.push(m);
9258
9258
  } else {
9259
- const l = [i, e._sw.lat, a, e._ne.lat], m = W.bboxClip(r, l);
9259
+ const l = [i, e._sw.lat, a, e._ne.lat], m = G.bboxClip(r, l);
9260
9260
  m.geometry.coordinates.length && o.push(m);
9261
9261
  }
9262
9262
  else
@@ -9284,8 +9284,8 @@ const bn = {
9284
9284
  class: "d-flex justify-start align-center ga-4 pl-6"
9285
9285
  }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, jn = { class: "text-body-2 text-label" }, En = { class: "text-body-2 text-label" }, Nn = { class: "text-body-2 text-label mb-3" }, Fn = { class: "text-body-1 font-weight-medium" }, Hn = { class: "text-body-2 text-label" }, Gn = { class: "text-body-2 text-label" }, Wn = { class: "text-body-2 text-label mb-3" }, Un = { class: "text-body-1 py-2" }, Vn = { class: "text-body-1 font-weight-medium" }, Yn = { class: "text-body-2 text-label" }, Zn = { class: "text-body-2 text-label" }, Xn = { class: "text-body-2 text-label mb-3" }, qn = { class: "text-body-1 font-weight-medium" }, Kn = { class: "text-body-2 text-label" }, Jn = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label mb-3" }, $n = { class: "text-body-1 py-2" }, ec = { class: "text-body-1 font-weight-medium" }, tc = { class: "text-body-2 text-label" }, oc = { class: "text-body-2 text-label" }, ac = { class: "text-body-2 text-label mb-3" };
9286
9286
  function ic(t, e, o, i, a, r) {
9287
- var se, ie, me, ue, he, de, O, te, be, ve, Pe, Te, _e, Ie, Ce;
9288
- const l = v("VBtn"), m = v("VTooltip"), c = v("VCol"), f = v("VRow"), d = v("VCardText"), b = v("VDivider"), w = v("VCard"), k = v("VSwitch"), y = v("VBtnToggle"), _ = v("VCardTitle"), T = v("VCardItem"), B = v("VCheckbox"), D = v("VRadio"), x = v("IdmWindBarb"), L = v("IdmSigWaveHeight"), P = v("IdmCurrentDirection"), C = v("IdmPrmsl"), z = v("IdmWindParticle"), I = v("IdmCurrentParticle"), F = v("IdmWave"), G = v("IdmSwell"), Y = v("IdmIceEdge"), Z = v("IdmIceCover"), Q = v("IdmIceThickness"), $ = v("IdmPrecip3h"), J = v("IdmVisibility"), le = v("IdmWaterTemp"), ne = v("IdmTemp");
9287
+ var pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e, Ie, Ce;
9288
+ const l = v("VBtn"), m = v("VTooltip"), c = v("VCol"), f = v("VRow"), d = v("VCardText"), b = v("VDivider"), x = v("VCard"), k = v("VSwitch"), y = v("VBtnToggle"), z = v("VCardTitle"), T = v("VCardItem"), B = v("VCheckbox"), I = v("VRadio"), w = v("IdmWindBarb"), L = v("IdmSigWaveHeight"), P = v("IdmCurrentDirection"), C = v("IdmPrmsl"), _ = v("IdmWindParticle"), R = v("IdmCurrentParticle"), F = v("IdmWave"), V = v("IdmSwell"), X = v("IdmIceEdge"), Y = v("IdmIceCover"), Q = v("IdmIceThickness"), $ = v("IdmPrecip3h"), J = v("IdmVisibility"), se = v("IdmWaterTemp"), le = v("IdmTemp");
9289
9289
  return g(), S("div", wn, [
9290
9290
  s("div", {
9291
9291
  class: "menu-bar-box transition pa-1",
@@ -9342,7 +9342,7 @@ function ic(t, e, o, i, a, r) {
9342
9342
  _: 1
9343
9343
  })
9344
9344
  ], 6),
9345
- a.legendToggle ? (g(), A(w, {
9345
+ a.legendToggle ? (g(), A(x, {
9346
9346
  key: 0,
9347
9347
  elevation: "16",
9348
9348
  class: "card-info d-flex justify-center align-start",
@@ -9448,8 +9448,8 @@ function ic(t, e, o, i, a, r) {
9448
9448
  })
9449
9449
  ]),
9450
9450
  _: 1
9451
- }, 8, ["style"])) : R("", !0)
9452
- ])) : R("", !0),
9451
+ }, 8, ["style"])) : D("", !0)
9452
+ ])) : D("", !0),
9453
9453
  s("div", {
9454
9454
  class: ge(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
9455
9455
  style: ee(r.listStyle)
@@ -9475,7 +9475,7 @@ function ic(t, e, o, i, a, r) {
9475
9475
  onClick: r.handleMenuToggle
9476
9476
  }, {
9477
9477
  default: u(() => e[14] || (e[14] = [
9478
- s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
9478
+ s("i", { class: "iconfont icon-close text-h4" }, null, -1)
9479
9479
  ])),
9480
9480
  _: 1,
9481
9481
  __: [14]
@@ -9523,18 +9523,18 @@ function ic(t, e, o, i, a, r) {
9523
9523
  ]),
9524
9524
  _: 1
9525
9525
  }, 8, ["modelValue"])
9526
- ])) : R("", !0),
9526
+ ])) : D("", !0),
9527
9527
  s("div", {
9528
9528
  class: ge(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
9529
9529
  }, [
9530
- p(w, {
9530
+ p(x, {
9531
9531
  class: "block-bg mx-auto mb-3",
9532
9532
  elevation: "0"
9533
9533
  }, {
9534
9534
  default: u(() => [
9535
9535
  p(T, { class: "border-b-thin" }, {
9536
9536
  default: u(() => [
9537
- p(_, {
9537
+ p(z, {
9538
9538
  class: "text-subtitle-1 font-weight-medium",
9539
9539
  style: { "font-size": "16px !important" }
9540
9540
  }, {
@@ -9567,14 +9567,14 @@ function ic(t, e, o, i, a, r) {
9567
9567
  ]),
9568
9568
  _: 1
9569
9569
  }),
9570
- p(w, {
9570
+ p(x, {
9571
9571
  class: "block-bg mx-auto mb-3",
9572
9572
  elevation: "0"
9573
9573
  }, {
9574
9574
  default: u(() => [
9575
9575
  p(T, { class: "border-b-thin" }, {
9576
9576
  default: u(() => [
9577
- p(_, {
9577
+ p(z, {
9578
9578
  class: "text-subtitle-1 font-weight-medium",
9579
9579
  style: { "font-size": "16px !important" }
9580
9580
  }, {
@@ -9591,7 +9591,7 @@ function ic(t, e, o, i, a, r) {
9591
9591
  (g(!0), S(xe, null, ke(a.tagLayers.filter((H) => !H.overlays), (H) => (g(), S(xe, {
9592
9592
  key: H.key
9593
9593
  }, [
9594
- p(D, {
9594
+ p(I, {
9595
9595
  modelValue: a.renderKey,
9596
9596
  "onUpdate:modelValue": e[4] || (e[4] = (oe) => a.renderKey = oe),
9597
9597
  label: t.$t(`weather.${H.locale}`),
@@ -9618,7 +9618,7 @@ function ic(t, e, o, i, a, r) {
9618
9618
  style: { "font-size": "14px" },
9619
9619
  "hide-details": ""
9620
9620
  }, null, 8, ["modelValue"])
9621
- ])) : R("", !0),
9621
+ ])) : D("", !0),
9622
9622
  a.renderKey === "current-particle" && H.key === "current-particle" ? (g(), S("div", An, [
9623
9623
  s("span", null, n(t.$t("weather.particleAnimatiom")), 1),
9624
9624
  p(k, {
@@ -9633,7 +9633,7 @@ function ic(t, e, o, i, a, r) {
9633
9633
  height: "20",
9634
9634
  "hide-details": ""
9635
9635
  }, null, 8, ["modelValue"])
9636
- ])) : R("", !0),
9636
+ ])) : D("", !0),
9637
9637
  a.renderKey === "wave-group" && H.key === "wave-group" ? (g(), A(y, {
9638
9638
  key: 2,
9639
9639
  modelValue: a.waveToggleValue,
@@ -9676,7 +9676,7 @@ function ic(t, e, o, i, a, r) {
9676
9676
  }, 8, ["color", "disabled"])
9677
9677
  ]),
9678
9678
  _: 1
9679
- }, 8, ["modelValue", "disabled"])) : R("", !0),
9679
+ }, 8, ["modelValue", "disabled"])) : D("", !0),
9680
9680
  a.renderKey === "ice-forecast" && H.key === "ice-forecast" ? (g(), A(y, {
9681
9681
  key: 3,
9682
9682
  modelValue: a.iceToggleValue,
@@ -9719,7 +9719,7 @@ function ic(t, e, o, i, a, r) {
9719
9719
  }, 8, ["color", "disabled"])
9720
9720
  ]),
9721
9721
  _: 1
9722
- }, 8, ["modelValue", "disabled"])) : R("", !0)
9722
+ }, 8, ["modelValue", "disabled"])) : D("", !0)
9723
9723
  ], 64))), 128))
9724
9724
  ]),
9725
9725
  _: 1
@@ -9727,14 +9727,14 @@ function ic(t, e, o, i, a, r) {
9727
9727
  ]),
9728
9728
  _: 1
9729
9729
  }),
9730
- p(w, {
9730
+ p(x, {
9731
9731
  class: "block-bg mx-auto mb-3",
9732
9732
  elevation: "0"
9733
9733
  }, {
9734
9734
  default: u(() => [
9735
9735
  p(T, { class: "border-b-thin" }, {
9736
9736
  default: u(() => [
9737
- p(_, {
9737
+ p(z, {
9738
9738
  class: "text-subtitle-1 font-weight-medium",
9739
9739
  style: { "font-size": "16px !important" }
9740
9740
  }, {
@@ -9748,14 +9748,14 @@ function ic(t, e, o, i, a, r) {
9748
9748
  }),
9749
9749
  p(d, { class: "" }, {
9750
9750
  default: u(() => {
9751
- var H, oe, He, Oe, fe, Re, U, ye, ae, re, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, V, Xe, qe, Ke, Le, Je, Qe, $e, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, St, Mt, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
9751
+ var H, oe, He, Oe, fe, Re, W, ye, ae, re, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, Je, Qe, $e, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, St, Mt, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
9752
9752
  return [
9753
9753
  s("div", On, n(t.$t("weather.atmospheric")), 1),
9754
- s("div", Bn, n((He = (oe = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : oe.NOAA) == null ? void 0 : He.source) + " " + n((Re = (fe = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : fe.NOAA) == null ? void 0 : Re.spatialResolution) + n(t.$t("units.km")) + " " + n((re = (ae = (ye = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : ye.NOAA) == null ? void 0 : ae.meta) == null ? void 0 : re.days) + n(t.$t("units.days")), 1),
9754
+ s("div", Bn, n((He = (oe = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : oe.NOAA) == null ? void 0 : He.source) + " " + n((Re = (fe = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : fe.NOAA) == null ? void 0 : Re.spatialResolution) + n(t.$t("units.km")) + " " + n((re = (ae = (ye = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : ye.NOAA) == null ? void 0 : ae.meta) == null ? void 0 : re.days) + n(t.$t("units.days")), 1),
9755
9755
  s("div", jn, n(t.$t("weather.source")) + ": NOAA", 1),
9756
9756
  s("div", En, n(t.$t("weather.lastUpdate")) + ": " + n(r.computeDateUpdate((E = (We = (Ge = (je = a.models) == null ? void 0 : je.weather) == null ? void 0 : Ge.NOAA) == null ? void 0 : We.meta) == null ? void 0 : E.availabilityTime)), 1),
9757
9757
  s("div", Nn, n(t.$t("weather.referenceTime")) + ": " + n(r.computeDateZ((Ne = (Ee = (Be = (we = a.models) == null ? void 0 : we.weather) == null ? void 0 : Be.NOAA) == null ? void 0 : Ee.meta) == null ? void 0 : Ne.initialisationTime)), 1),
9758
- s("div", Fn, n((V = (Ue = (N = a.models) == null ? void 0 : N.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : V.source) + " " + n((Ke = (qe = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : qe.ECMWF) == null ? void 0 : Ke.spatialResolution) + n(t.$t("units.km")) + " " + n(($e = (Qe = (Je = (Le = a.models) == null ? void 0 : Le.weather) == null ? void 0 : Je.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : $e.days) + n(t.$t("units.days")), 1),
9758
+ s("div", Fn, n((U = (Ue = (N = a.models) == null ? void 0 : N.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : U.source) + " " + n((Ke = (qe = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : qe.ECMWF) == null ? void 0 : Ke.spatialResolution) + n(t.$t("units.km")) + " " + n(($e = (Qe = (Je = (Le = a.models) == null ? void 0 : Le.weather) == null ? void 0 : Je.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : $e.days) + n(t.$t("units.days")), 1),
9759
9759
  s("div", Hn, n(t.$t("weather.source")) + ": ECMWF", 1),
9760
9760
  s("div", Gn, n(t.$t("weather.lastUpdate")) + ": " + n(r.computeDateUpdate((at = (ot = (tt = (et = a.models) == null ? void 0 : et.weather) == null ? void 0 : tt.ECMWF) == null ? void 0 : ot.meta) == null ? void 0 : at.availabilityTime)), 1),
9761
9761
  s("div", Wn, n(t.$t("weather.referenceTime")) + ": " + n(r.computeDateZ((lt = (st = (rt = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : rt.ECMWF) == null ? void 0 : st.meta) == null ? void 0 : lt.initialisationTime)), 1),
@@ -9784,15 +9784,15 @@ function ic(t, e, o, i, a, r) {
9784
9784
  })
9785
9785
  ], 2)
9786
9786
  ], 6),
9787
- o.map ? (g(), A(x, j({
9787
+ o.map ? (g(), A(w, j({
9788
9788
  key: 1,
9789
9789
  ref: "windBarb",
9790
9790
  map: o.map,
9791
9791
  "map-feather": o.mapFeather,
9792
9792
  "before-layer": "empty-layer-3",
9793
- wind: (se = a.weatherLayers) == null ? void 0 : se.wind,
9793
+ wind: (pe = a.weatherLayers) == null ? void 0 : pe.wind,
9794
9794
  "menu-toggle": o.menuToggle
9795
- }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : R("", !0),
9795
+ }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : D("", !0),
9796
9796
  o.map ? (g(), A(L, j({
9797
9797
  key: 2,
9798
9798
  map: o.map,
@@ -9800,15 +9800,15 @@ function ic(t, e, o, i, a, r) {
9800
9800
  "sig-wave-height": (ie = a.weatherLayers) == null ? void 0 : ie["sig-wave-height"],
9801
9801
  "menu-toggle": o.menuToggle,
9802
9802
  "active-weather-layers": a.activeWeatherLayers
9803
- }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : R("", !0),
9803
+ }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : D("", !0),
9804
9804
  o.map ? (g(), A(P, j({
9805
9805
  key: 3,
9806
9806
  map: o.map,
9807
9807
  "map-feather": o.mapFeather,
9808
9808
  "before-layer": "empty-layer-2",
9809
- current: (me = a.weatherLayers) == null ? void 0 : me.current,
9809
+ current: (ce = a.weatherLayers) == null ? void 0 : ce.current,
9810
9810
  "menu-toggle": o.menuToggle
9811
- }, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : R("", !0),
9811
+ }, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : D("", !0),
9812
9812
  o.map ? (g(), A(C, j({
9813
9813
  key: 4,
9814
9814
  map: o.map,
@@ -9816,29 +9816,29 @@ function ic(t, e, o, i, a, r) {
9816
9816
  prmsl: (ue = a.weatherLayers) == null ? void 0 : ue.prmsl,
9817
9817
  "menu-toggle": o.menuToggle,
9818
9818
  "active-weather-layers": a.activeWeatherLayers
9819
- }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : R("", !0),
9820
- o.map ? (g(), A(z, j({
9819
+ }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : D("", !0),
9820
+ o.map ? (g(), A(_, j({
9821
9821
  key: 5,
9822
9822
  viewport: a.viewport,
9823
- factor: (he = a.weatherLayers) == null ? void 0 : he["wind-particle"],
9823
+ factor: (me = a.weatherLayers) == null ? void 0 : me["wind-particle"],
9824
9824
  "menu-toggle": o.menuToggle,
9825
9825
  simple: o.simple
9826
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : R("", !0),
9827
- o.map ? (g(), A(I, j({
9826
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9827
+ o.map ? (g(), A(R, j({
9828
9828
  key: 6,
9829
9829
  viewport: a.viewport,
9830
- factor: (de = a.weatherLayers) == null ? void 0 : de["current-particle"],
9830
+ factor: (he = a.weatherLayers) == null ? void 0 : he["current-particle"],
9831
9831
  "menu-toggle": o.menuToggle,
9832
9832
  simple: o.simple
9833
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : R("", !0),
9833
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9834
9834
  o.map ? (g(), A(F, j({
9835
9835
  key: 7,
9836
9836
  viewport: a.viewport,
9837
9837
  factor: (O = a.weatherLayers) == null ? void 0 : O["sig-wave"],
9838
9838
  "menu-toggle": o.menuToggle,
9839
9839
  simple: o.simple
9840
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : R("", !0),
9841
- o.map ? (g(), A(G, j({
9840
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9841
+ o.map ? (g(), A(V, j({
9842
9842
  key: 8,
9843
9843
  map: o.map,
9844
9844
  viewport: a.viewport,
@@ -9846,59 +9846,59 @@ function ic(t, e, o, i, a, r) {
9846
9846
  "menu-toggle": o.menuToggle,
9847
9847
  "active-weather-layers": a.activeWeatherLayers,
9848
9848
  simple: o.simple
9849
- }, t.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers", "simple"])) : R("", !0),
9850
- o.map ? (g(), A(Y, j({
9849
+ }, t.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers", "simple"])) : D("", !0),
9850
+ o.map ? (g(), A(X, j({
9851
9851
  key: 9,
9852
9852
  viewport: a.viewport,
9853
9853
  factor: (be = a.weatherLayers) == null ? void 0 : be["ice-edge"],
9854
9854
  "menu-toggle": o.menuToggle,
9855
9855
  simple: o.simple
9856
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : R("", !0),
9857
- o.map ? (g(), A(Z, j({
9856
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9857
+ o.map ? (g(), A(Y, j({
9858
9858
  key: 10,
9859
9859
  viewport: a.viewport,
9860
9860
  factor: (ve = a.weatherLayers) == null ? void 0 : ve["ice-cover"],
9861
9861
  "menu-toggle": o.menuToggle,
9862
9862
  simple: o.simple
9863
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : R("", !0),
9863
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9864
9864
  o.map ? (g(), A(Q, j({
9865
9865
  key: 11,
9866
9866
  viewport: a.viewport,
9867
9867
  factor: (Pe = a.weatherLayers) == null ? void 0 : Pe["ice-thickness"],
9868
9868
  "menu-toggle": o.menuToggle,
9869
9869
  simple: o.simple
9870
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : R("", !0),
9870
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9871
9871
  o.map ? (g(), A($, j({
9872
9872
  key: 12,
9873
9873
  viewport: a.viewport,
9874
9874
  factor: (Te = a.weatherLayers) == null ? void 0 : Te.precip3h,
9875
9875
  "menu-toggle": o.menuToggle,
9876
9876
  simple: o.simple
9877
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : R("", !0),
9877
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9878
9878
  o.map ? (g(), A(J, j({
9879
9879
  key: 13,
9880
9880
  viewport: a.viewport,
9881
9881
  factor: (_e = a.weatherLayers) == null ? void 0 : _e.visibility,
9882
9882
  "menu-toggle": o.menuToggle,
9883
9883
  simple: o.simple
9884
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : R("", !0),
9885
- o.map ? (g(), A(le, j({
9884
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9885
+ o.map ? (g(), A(se, j({
9886
9886
  key: 14,
9887
9887
  viewport: a.viewport,
9888
9888
  factor: (Ie = a.weatherLayers) == null ? void 0 : Ie["water-temp"],
9889
9889
  "menu-toggle": o.menuToggle,
9890
9890
  simple: o.simple
9891
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : R("", !0),
9892
- o.map ? (g(), A(ne, j({
9891
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
9892
+ o.map ? (g(), A(le, j({
9893
9893
  key: 15,
9894
9894
  viewport: a.viewport,
9895
9895
  factor: (Ce = a.weatherLayers) == null ? void 0 : Ce.temp,
9896
9896
  "menu-toggle": o.menuToggle,
9897
9897
  simple: o.simple
9898
- }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : R("", !0)
9898
+ }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0)
9899
9899
  ]);
9900
9900
  }
9901
- const rc = /* @__PURE__ */ X(bn, [["render", ic]]), Lo = [
9901
+ const rc = /* @__PURE__ */ Z(bn, [["render", ic]]), Lo = [
9902
9902
  {
9903
9903
  rank: 0,
9904
9904
  name: "Best Match",
@@ -10216,18 +10216,18 @@ class Ya {
10216
10216
  const a = e.toLowerCase().split(","), r = [], l = [];
10217
10217
  for (const m of a) {
10218
10218
  let c = Lo.find((d) => {
10219
- var b, w, k;
10220
- return ((b = d.models) == null ? void 0 : b.includes(m)) || ((w = d.alias) == null ? void 0 : w.toLowerCase()) === m || ((k = d.name) == null ? void 0 : k.toLowerCase()) === m;
10219
+ var b, x, k;
10220
+ return ((b = d.models) == null ? void 0 : b.includes(m)) || ((x = d.alias) == null ? void 0 : x.toLowerCase()) === m || ((k = d.name) == null ? void 0 : k.toLowerCase()) === m;
10221
10221
  }), f = Po.find((d) => {
10222
- var b, w, k;
10223
- return ((b = d.models) == null ? void 0 : b.includes(m)) || ((w = d.alias) == null ? void 0 : w.toLowerCase()) === m || ((k = d.name) == null ? void 0 : k.toLowerCase()) === m;
10222
+ var b, x, k;
10223
+ return ((b = d.models) == null ? void 0 : b.includes(m)) || ((x = d.alias) == null ? void 0 : x.toLowerCase()) === m || ((k = d.name) == null ? void 0 : k.toLowerCase()) === m;
10224
10224
  });
10225
10225
  c = c || Lo.find((d) => {
10226
- var b, w;
10227
- return ((b = d.alias) == null ? void 0 : b.toLowerCase()) === ((w = f == null ? void 0 : f.alias) == null ? void 0 : w.toLowerCase());
10226
+ var b, x;
10227
+ return ((b = d.alias) == null ? void 0 : b.toLowerCase()) === ((x = f == null ? void 0 : f.alias) == null ? void 0 : x.toLowerCase());
10228
10228
  }), f = f || Po.find((d) => {
10229
- var b, w;
10230
- return ((b = d.alias) == null ? void 0 : b.toLowerCase()) === ((w = c == null ? void 0 : c.alias) == null ? void 0 : w.toLowerCase());
10229
+ var b, x;
10230
+ return ((b = d.alias) == null ? void 0 : b.toLowerCase()) === ((x = c == null ? void 0 : c.alias) == null ? void 0 : x.toLowerCase());
10231
10231
  }), c = c || Lo[0], f = f || Po[0], r.push((o = c.models) != null && o.includes(m) ? m : c.model), l.push((i = f.models) != null && i.includes(m) ? m : f.model);
10232
10232
  }
10233
10233
  return {
@@ -10245,46 +10245,46 @@ class Ya {
10245
10245
  }), a;
10246
10246
  }
10247
10247
  static pickHourly(e, o) {
10248
- var i, a, r, l, m, c, f, d, b, w, k, y, _, T, B, D, x, L, P, C, z, I, F, G, Y, Z, Q, $, J, le, ne, se, ie, me, ue, he, de, O, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, fe, Re;
10249
- const U = typeof o == "string" ? M(o) : o, ye = e == null ? void 0 : e.weather, ae = e == null ? void 0 : e.marine, re = M((a = (i = ye == null ? void 0 : ye[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), je = re.clone().add((m = (l = (r = ye == null ? void 0 : ye[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : m.at(0), "h"), Ge = re.clone().add((d = (f = (c = ye == null ? void 0 : ye[0]) == null ? void 0 : c.hourly) == null ? void 0 : f.time) == null ? void 0 : d.at(-1), "h"), We = [];
10250
- if (U.isBetween(je, Ge, "millisecond", "[]")) {
10251
- const E = U.utc().diff(je, "h", !1);
10248
+ var i, a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, fe, Re;
10249
+ const W = typeof o == "string" ? M(o) : o, ye = e == null ? void 0 : e.weather, ae = e == null ? void 0 : e.marine, re = M((a = (i = ye == null ? void 0 : ye[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), je = re.clone().add((m = (l = (r = ye == null ? void 0 : ye[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : m.at(0), "h"), Ge = re.clone().add((d = (f = (c = ye == null ? void 0 : ye[0]) == null ? void 0 : c.hourly) == null ? void 0 : f.time) == null ? void 0 : d.at(-1), "h"), We = [];
10250
+ if (W.isBetween(je, Ge, "millisecond", "[]")) {
10251
+ const E = W.utc().diff(je, "h", !1);
10252
10252
  let we, Be;
10253
10253
  if (ye) {
10254
10254
  let Ee = 0, Ne = 0, N = 0;
10255
10255
  for (const Ue of ye) {
10256
- const V = Ue == null ? void 0 : Ue.hourly;
10256
+ const U = Ue == null ? void 0 : Ue.hourly;
10257
10257
  for (let Le = E - (E - 1) % 3; Le <= E; Le++)
10258
- Ee += (b = V == null ? void 0 : V.precipitation) == null ? void 0 : b.at(Le);
10258
+ Ee += (b = U == null ? void 0 : U.precipitation) == null ? void 0 : b.at(Le);
10259
10259
  for (let Le = E - (E - 1) % 6; Le <= E; Le++)
10260
- Ne += (w = V == null ? void 0 : V.precipitation) == null ? void 0 : w.at(Le);
10260
+ Ne += (x = U == null ? void 0 : U.precipitation) == null ? void 0 : x.at(Le);
10261
10261
  for (let Le = E - (E - 1) % 12; Le <= E; Le++)
10262
- N += (k = V == null ? void 0 : V.precipitation) == null ? void 0 : k.at(Le);
10262
+ N += (k = U == null ? void 0 : U.precipitation) == null ? void 0 : k.at(Le);
10263
10263
  we = {
10264
- temp: (y = V == null ? void 0 : V.temperature_2m) == null ? void 0 : y.at(E),
10265
- apparentTemp: (_ = V == null ? void 0 : V.apparent_temperature) == null ? void 0 : _.at(E),
10266
- rh: (T = V == null ? void 0 : V.relative_humidity_2m) == null ? void 0 : T.at(E),
10267
- dp: (B = V == null ? void 0 : V.dew_point_2m) == null ? void 0 : B.at(E),
10264
+ temp: (y = U == null ? void 0 : U.temperature_2m) == null ? void 0 : y.at(E),
10265
+ apparentTemp: (z = U == null ? void 0 : U.apparent_temperature) == null ? void 0 : z.at(E),
10266
+ rh: (T = U == null ? void 0 : U.relative_humidity_2m) == null ? void 0 : T.at(E),
10267
+ dp: (B = U == null ? void 0 : U.dew_point_2m) == null ? void 0 : B.at(E),
10268
10268
  precip: {
10269
- probability: (D = V == null ? void 0 : V.precipitation_probability) == null ? void 0 : D.at(E),
10270
- sum: (x = V == null ? void 0 : V.precipitation) == null ? void 0 : x.at(E),
10271
- sum1Hours: (L = V == null ? void 0 : V.precipitation) == null ? void 0 : L.at(E),
10269
+ probability: (I = U == null ? void 0 : U.precipitation_probability) == null ? void 0 : I.at(E),
10270
+ sum: (w = U == null ? void 0 : U.precipitation) == null ? void 0 : w.at(E),
10271
+ sum1Hours: (L = U == null ? void 0 : U.precipitation) == null ? void 0 : L.at(E),
10272
10272
  sum3Hours: Math.round(Ee * 100) / 100,
10273
10273
  sum6Hours: Math.round(Ne * 100) / 100,
10274
10274
  sum12Hours: Math.round(N * 100) / 100
10275
10275
  },
10276
- pmsl: (P = V == null ? void 0 : V.pressure_msl) == null ? void 0 : P.at(E),
10277
- psurf: (C = V == null ? void 0 : V.surface_pressure) == null ? void 0 : C.at(E),
10278
- code: (z = V == null ? void 0 : V.weather_code) == null ? void 0 : z.at(E),
10279
- visibility: this.m2nm((I = V == null ? void 0 : V.visibility) == null ? void 0 : I.at(E)),
10276
+ pmsl: (P = U == null ? void 0 : U.pressure_msl) == null ? void 0 : P.at(E),
10277
+ psurf: (C = U == null ? void 0 : U.surface_pressure) == null ? void 0 : C.at(E),
10278
+ code: (_ = U == null ? void 0 : U.weather_code) == null ? void 0 : _.at(E),
10279
+ visibility: this.m2nm((R = U == null ? void 0 : U.visibility) == null ? void 0 : R.at(E)),
10280
10280
  wind: {
10281
- speed: (F = V == null ? void 0 : V.wind_speed_10m) == null ? void 0 : F.at(E),
10282
- kts: (G = V == null ? void 0 : V.wind_speed_10m) == null ? void 0 : G.at(E),
10283
- degree: (Y = V == null ? void 0 : V.wind_direction_10m) == null ? void 0 : Y.at(E),
10284
- bearing: ((Z = V == null ? void 0 : V.wind_direction_10m) == null ? void 0 : Z.at(E)) !== null ? (((Q = V == null ? void 0 : V.wind_direction_10m) == null ? void 0 : Q.at(E)) + 180) % 360 : null,
10285
- gusts: ($ = V == null ? void 0 : V.wind_gusts_10m) == null ? void 0 : $.at(E)
10281
+ speed: (F = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : F.at(E),
10282
+ kts: (V = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : V.at(E),
10283
+ degree: (X = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : X.at(E),
10284
+ bearing: ((Y = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : Y.at(E)) !== null ? (((Q = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : Q.at(E)) + 180) % 360 : null,
10285
+ gusts: ($ = U == null ? void 0 : U.wind_gusts_10m) == null ? void 0 : $.at(E)
10286
10286
  },
10287
- isDay: (J = V == null ? void 0 : V.is_day) == null ? void 0 : J.at(E)
10287
+ isDay: (J = U == null ? void 0 : U.is_day) == null ? void 0 : J.at(E)
10288
10288
  };
10289
10289
  const { name: Xe, url: qe, bg: Ke } = this.parseWeatherCode(we.code, we.isDay);
10290
10290
  we.name = Xe, we.url = qe, we.bg = Ke, we.wind.scale = this.beaufort(this.kts2ms(we.wind.kts)), we.wind.direction = this.degree2Direction(we.wind.degree), We.push({
@@ -10301,15 +10301,15 @@ class Ya {
10301
10301
  Be = {
10302
10302
  wave: {
10303
10303
  sig: {
10304
- height: (le = N == null ? void 0 : N.wave_height) == null ? void 0 : le.at(E),
10305
- degree: (ne = N == null ? void 0 : N.wave_direction) == null ? void 0 : ne.at(E),
10306
- bearing: ((se = N == null ? void 0 : N.wave_direction) == null ? void 0 : se.at(E)) !== null ? (((ie = N == null ? void 0 : N.wave_direction) == null ? void 0 : ie.at(E)) + 180) % 360 : null,
10307
- period: (me = N == null ? void 0 : N.wave_period) == null ? void 0 : me.at(E)
10304
+ height: (se = N == null ? void 0 : N.wave_height) == null ? void 0 : se.at(E),
10305
+ degree: (le = N == null ? void 0 : N.wave_direction) == null ? void 0 : le.at(E),
10306
+ bearing: ((pe = N == null ? void 0 : N.wave_direction) == null ? void 0 : pe.at(E)) !== null ? (((ie = N == null ? void 0 : N.wave_direction) == null ? void 0 : ie.at(E)) + 180) % 360 : null,
10307
+ period: (ce = N == null ? void 0 : N.wave_period) == null ? void 0 : ce.at(E)
10308
10308
  },
10309
10309
  swell: {
10310
10310
  height: (ue = N == null ? void 0 : N.swell_wave_height) == null ? void 0 : ue.at(E),
10311
- degree: (he = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : he.at(E),
10312
- bearing: ((de = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : de.at(E)) !== null ? (((O = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : O.at(E)) + 180) % 360 : null,
10311
+ degree: (me = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : me.at(E),
10312
+ bearing: ((he = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : he.at(E)) !== null ? (((O = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : O.at(E)) + 180) % 360 : null,
10313
10313
  period: (te = N == null ? void 0 : N.swell_wave_period) == null ? void 0 : te.at(E),
10314
10314
  peakPeriod: (be = N == null ? void 0 : N.swell_wave_peak_period) == null ? void 0 : be.at(E)
10315
10315
  },
@@ -10358,49 +10358,49 @@ class Ya {
10358
10358
  };
10359
10359
  }
10360
10360
  static pickDaily(e, o) {
10361
- var i, a, r, l, m, c, f, d, b, w, k, y, _, T, B, D, x, L, P, C, z, I, F, G, Y, Z, Q, $, J, le, ne, se, ie, me, ue, he, de, O, te, be, ve, Pe, Te, _e;
10361
+ var i, a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e;
10362
10362
  const Ie = typeof o == "string" ? M(o) : o, Ce = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, oe = M((r = (a = (i = Ce == null ? void 0 : Ce[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), He = M((c = (m = (l = Ce == null ? void 0 : Ce[0]) == null ? void 0 : l.daily) == null ? void 0 : m.time) == null ? void 0 : c.at(-1)), Oe = [];
10363
10363
  if (Ie.isBetween(oe, He, "millisecond", "[]")) {
10364
10364
  let fe, Re;
10365
- const U = Ie.diff(oe, "d", !1);
10365
+ const W = Ie.diff(oe, "d", !1);
10366
10366
  if (Ce)
10367
10367
  for (const ye of Ce) {
10368
10368
  const ae = ye.daily;
10369
10369
  fe = {
10370
- code: (f = ae.weather_code) == null ? void 0 : f.at(U),
10370
+ code: (f = ae.weather_code) == null ? void 0 : f.at(W),
10371
10371
  temp: {
10372
- max: (d = ae.temperature_2m_max) == null ? void 0 : d.at(U),
10373
- min: (b = ae.temperature_2m_min) == null ? void 0 : b.at(U),
10374
- mean: (w = ae.temperature_2m_mean) == null ? void 0 : w.at(U)
10372
+ max: (d = ae.temperature_2m_max) == null ? void 0 : d.at(W),
10373
+ min: (b = ae.temperature_2m_min) == null ? void 0 : b.at(W),
10374
+ mean: (x = ae.temperature_2m_mean) == null ? void 0 : x.at(W)
10375
10375
  },
10376
10376
  apparentTemp: {
10377
- max: (k = ae.apparent_temperature_max) == null ? void 0 : k.at(U),
10378
- min: (y = ae.apparent_temperature_min) == null ? void 0 : y.at(U)
10377
+ max: (k = ae.apparent_temperature_max) == null ? void 0 : k.at(W),
10378
+ min: (y = ae.apparent_temperature_min) == null ? void 0 : y.at(W)
10379
10379
  },
10380
10380
  precip: {
10381
- sum: (_ = ae.precipitation_sum) == null ? void 0 : _.at(U),
10382
- rainSum: (T = ae.rain_sum) == null ? void 0 : T.at(U),
10383
- snowfallSum: (B = ae.snowfall_sum) == null ? void 0 : B.at(U),
10384
- showersSum: (D = ae.showers_sum) == null ? void 0 : D.at(U),
10385
- hours: (x = ae.precipitation_hours) == null ? void 0 : x.at(U),
10386
- probability: (L = ae.precipitation_probability_max) == null ? void 0 : L.at(U)
10381
+ sum: (z = ae.precipitation_sum) == null ? void 0 : z.at(W),
10382
+ rainSum: (T = ae.rain_sum) == null ? void 0 : T.at(W),
10383
+ snowfallSum: (B = ae.snowfall_sum) == null ? void 0 : B.at(W),
10384
+ showersSum: (I = ae.showers_sum) == null ? void 0 : I.at(W),
10385
+ hours: (w = ae.precipitation_hours) == null ? void 0 : w.at(W),
10386
+ probability: (L = ae.precipitation_probability_max) == null ? void 0 : L.at(W)
10387
10387
  },
10388
10388
  rh: {
10389
- max: (P = ae.relative_humidity_2m_max) == null ? void 0 : P.at(U),
10390
- min: (C = ae.relative_humidity_2m_min) == null ? void 0 : C.at(U),
10391
- mean: (z = ae.relative_humidity_2m_mean) == null ? void 0 : z.at(U)
10389
+ max: (P = ae.relative_humidity_2m_max) == null ? void 0 : P.at(W),
10390
+ min: (C = ae.relative_humidity_2m_min) == null ? void 0 : C.at(W),
10391
+ mean: (_ = ae.relative_humidity_2m_mean) == null ? void 0 : _.at(W)
10392
10392
  },
10393
10393
  wind: {
10394
- speed: (I = ae.wind_speed_10m_max) == null ? void 0 : I.at(U),
10395
- kts: (F = ae.wind_speed_10m_max) == null ? void 0 : F.at(U),
10396
- degree: (G = ae.wind_direction_10m_dominant) == null ? void 0 : G.at(U),
10397
- gusts: (Y = ae.wind_gusts_10m_max) == null ? void 0 : Y.at(U),
10398
- bearing: ((Z = ae.wind_direction_10m_dominant) == null ? void 0 : Z.at(U)) !== null ? (((Q = ae.wind_direction_10m_dominant) == null ? void 0 : Q.at(U)) + 180) % 360 : null
10394
+ speed: (R = ae.wind_speed_10m_max) == null ? void 0 : R.at(W),
10395
+ kts: (F = ae.wind_speed_10m_max) == null ? void 0 : F.at(W),
10396
+ degree: (V = ae.wind_direction_10m_dominant) == null ? void 0 : V.at(W),
10397
+ gusts: (X = ae.wind_gusts_10m_max) == null ? void 0 : X.at(W),
10398
+ bearing: ((Y = ae.wind_direction_10m_dominant) == null ? void 0 : Y.at(W)) !== null ? (((Q = ae.wind_direction_10m_dominant) == null ? void 0 : Q.at(W)) + 180) % 360 : null
10399
10399
  }
10400
10400
  };
10401
10401
  const { name: re, url: je, bg: Ge } = this.parseWeatherCode(fe.code, !0);
10402
10402
  fe.name = re, fe.url = je, fe.bg = Ge, fe.wind.scale = this.beaufort(this.kts2ms(fe.wind.kts)), fe.wind.direction = this.degree2Direction(fe.wind.degree), Oe.push({
10403
- utc: oe.add(U, "d").utc().format(),
10403
+ utc: oe.add(W, "d").utc().format(),
10404
10404
  model: ye.model,
10405
10405
  weather: { ...fe }
10406
10406
  });
@@ -10412,25 +10412,25 @@ class Ya {
10412
10412
  Re = {
10413
10413
  wave: {
10414
10414
  sig: {
10415
- height: ($ = re.wave_height_max) == null ? void 0 : $.at(U),
10416
- degree: (J = re.wave_direction_dominant) == null ? void 0 : J.at(U),
10417
- period: (le = re.wave_period_max) == null ? void 0 : le.at(U),
10418
- bearing: ((ne = re.wave_direction_dominant) == null ? void 0 : ne.at(U)) !== null ? (((se = re.wave_direction_dominant) == null ? void 0 : se.at(U)) + 180) % 360 : null
10415
+ height: ($ = re.wave_height_max) == null ? void 0 : $.at(W),
10416
+ degree: (J = re.wave_direction_dominant) == null ? void 0 : J.at(W),
10417
+ period: (se = re.wave_period_max) == null ? void 0 : se.at(W),
10418
+ bearing: ((le = re.wave_direction_dominant) == null ? void 0 : le.at(W)) !== null ? (((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(W)) + 180) % 360 : null
10419
10419
  },
10420
10420
  swell: {
10421
- height: (ie = re.swell_wave_height_max) == null ? void 0 : ie.at(U),
10422
- degree: (me = re.swell_wave_direction_dominant) == null ? void 0 : me.at(U),
10423
- period: (ue = re.swell_wave_period_max) == null ? void 0 : ue.at(U),
10424
- peakPeriod: (he = re.swell_wave_peak_period_max) == null ? void 0 : he.at(U),
10421
+ height: (ie = re.swell_wave_height_max) == null ? void 0 : ie.at(W),
10422
+ degree: (ce = re.swell_wave_direction_dominant) == null ? void 0 : ce.at(W),
10423
+ period: (ue = re.swell_wave_period_max) == null ? void 0 : ue.at(W),
10424
+ peakPeriod: (me = re.swell_wave_peak_period_max) == null ? void 0 : me.at(W),
10425
10425
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
10426
- bearing: ((de = re.swell_wave_direction_dominant) == null ? void 0 : de.at(U)) !== null ? ((O = re.swell_wave_direction_dominant) == null ? void 0 : O.at(U)) % 360 : null
10426
+ bearing: ((he = re.swell_wave_direction_dominant) == null ? void 0 : he.at(W)) !== null ? ((O = re.swell_wave_direction_dominant) == null ? void 0 : O.at(W)) % 360 : null
10427
10427
  },
10428
10428
  wd: {
10429
- height: (te = re.wind_wave_height_max) == null ? void 0 : te.at(U),
10430
- degree: (be = re.wind_wave_direction_dominant) == null ? void 0 : be.at(U),
10431
- period: (ve = re.wind_wave_period_max) == null ? void 0 : ve.at(U),
10432
- peakPeriod: (Pe = re.wind_wave_peak_period_max) == null ? void 0 : Pe.at(U),
10433
- bearing: ((Te = re.wind_wave_direction_dominant) == null ? void 0 : Te.at(U)) !== null ? (((_e = re.wind_wave_direction_dominant) == null ? void 0 : _e.at(U)) + 180) % 360 : null
10429
+ height: (te = re.wind_wave_height_max) == null ? void 0 : te.at(W),
10430
+ degree: (be = re.wind_wave_direction_dominant) == null ? void 0 : be.at(W),
10431
+ period: (ve = re.wind_wave_period_max) == null ? void 0 : ve.at(W),
10432
+ peakPeriod: (Pe = re.wind_wave_peak_period_max) == null ? void 0 : Pe.at(W),
10433
+ bearing: ((Te = re.wind_wave_direction_dominant) == null ? void 0 : Te.at(W)) !== null ? (((_e = re.wind_wave_direction_dominant) == null ? void 0 : _e.at(W)) + 180) % 360 : null
10434
10434
  }
10435
10435
  }
10436
10436
  }, Re.wave = this.parseWave(Re.wave, fe == null ? void 0 : fe.wind), Object.assign(Oe[ye], Re), ye++;
@@ -10921,7 +10921,7 @@ const sc = {
10921
10921
  showTropicalsInfo: !1,
10922
10922
  activeTropicals: void 0,
10923
10923
  activeTropicalsMarker: void 0,
10924
- empty: W.featureCollection([]),
10924
+ empty: G.featureCollection([]),
10925
10925
  showLegend: !1,
10926
10926
  showHoverPoint: !1,
10927
10927
  hoverPoint: void 0,
@@ -11053,9 +11053,9 @@ const sc = {
11053
11053
  },
11054
11054
  responseType: /\.(jpg|png)$/.test(f.tropicals) ? "blob" : "json"
11055
11055
  }).then((d) => {
11056
- var k, y, _;
11056
+ var k, y, z;
11057
11057
  const b = Va.convert2Geojson(((k = d == null ? void 0 : d.data) == null ? void 0 : k.data) || (d == null ? void 0 : d.data));
11058
- ((_ = (y = d == null ? void 0 : d.config) == null ? void 0 : y.headers) == null ? void 0 : _.key) && b && (this.tropicals = {
11058
+ ((z = (y = d == null ? void 0 : d.config) == null ? void 0 : y.headers) == null ? void 0 : z.key) && b && (this.tropicals = {
11059
11059
  data: b,
11060
11060
  active: !0,
11061
11061
  cached: !0,
@@ -11073,35 +11073,35 @@ const sc = {
11073
11073
  handleRefresh() {
11074
11074
  var e, o;
11075
11075
  (((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
11076
- var a, r, l, m, c, f, d, b, w, k, y, _, T, B, D, x, L, P, C, z;
11076
+ var a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _;
11077
11077
  if (((a = i.geometry) == null ? void 0 : a.type) === "Point") {
11078
- let I = "";
11078
+ let R = "";
11079
11079
  switch (!0) {
11080
11080
  case (((r = i.properties.wind) == null ? void 0 : r.kts) < 32 || ((l = i.properties) == null ? void 0 : l.kts) < 32):
11081
- I = "TD";
11081
+ R = "TD";
11082
11082
  break;
11083
11083
  case (((m = i.properties.wind) == null ? void 0 : m.kts) < 47 || ((c = i.properties) == null ? void 0 : c.kts) < 47):
11084
- I = "TS";
11084
+ R = "TS";
11085
11085
  break;
11086
11086
  case (((f = i.properties.wind) == null ? void 0 : f.kts) < 63 || ((d = i.properties) == null ? void 0 : d.kts) < 63):
11087
- I = "STS";
11087
+ R = "STS";
11088
11088
  break;
11089
- case (((b = i.properties.wind) == null ? void 0 : b.kts) < 79 || ((w = i.properties) == null ? void 0 : w.kts) < 79):
11090
- I = "TY";
11089
+ case (((b = i.properties.wind) == null ? void 0 : b.kts) < 79 || ((x = i.properties) == null ? void 0 : x.kts) < 79):
11090
+ R = "TY";
11091
11091
  break;
11092
11092
  case (((k = i.properties.wind) == null ? void 0 : k.kts) < 94 || ((y = i.properties) == null ? void 0 : y.kts) < 94):
11093
- I = "STY";
11093
+ R = "STY";
11094
11094
  break;
11095
- case (((_ = i.properties.wind) == null ? void 0 : _.kts) >= 94 || ((T = i.properties) == null ? void 0 : T.kts) >= 94):
11096
- I = "Super TY";
11095
+ case (((z = i.properties.wind) == null ? void 0 : z.kts) >= 94 || ((T = i.properties) == null ? void 0 : T.kts) >= 94):
11096
+ R = "Super TY";
11097
11097
  break;
11098
11098
  default:
11099
- I = "Super TY";
11099
+ R = "Super TY";
11100
11100
  break;
11101
11101
  }
11102
- i.properties.level = I;
11102
+ i.properties.level = R;
11103
11103
  }
11104
- ((B = i.geometry) == null ? void 0 : B.type) === "Point" && ((D = i.properties) != null && D.important) && (i.properties.format = (L = (x = M(i.properties.date)) == null ? void 0 : x.utcOffset(this.timeZone)) == null ? void 0 : L.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((P = i.geometry) == null ? void 0 : P.type) === "Point" && (i.properties.Name = ((z = (C = i.properties.name) == null ? void 0 : C.trim()) == null ? void 0 : z.replace(/^./, (I) => I.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
11104
+ ((B = i.geometry) == null ? void 0 : B.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (L = (w = M(i.properties.date)) == null ? void 0 : w.utcOffset(this.timeZone)) == null ? void 0 : L.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((P = i.geometry) == null ? void 0 : P.type) === "Point" && (i.properties.Name = ((_ = (C = i.properties.name) == null ? void 0 : C.trim()) == null ? void 0 : _.replace(/^./, (R) => R.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
11105
11105
  }), this.handleInit();
11106
11106
  },
11107
11107
  handleInit() {
@@ -11112,8 +11112,8 @@ const sc = {
11112
11112
  var t, e, o, i, a, r, l, m, c, f;
11113
11113
  if (this.tropicals && this.map) {
11114
11114
  const d = (/* @__PURE__ */ new Date()).valueOf();
11115
- let b = 0, w = 0;
11116
- (t = this.map) != null && t.getSource(this.source) ? ((o = this.map) == null || o.getSource(this.source).setData((e = this.tropicals) != null && e.active ? this.tropicals.data : this.empty), w = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropicals] update elapsed: ", w, ", total: ", b += w)) : (this.map.addSource(this.source, {
11115
+ let b = 0, x = 0;
11116
+ (t = this.map) != null && t.getSource(this.source) ? ((o = this.map) == null || o.getSource(this.source).setData((e = this.tropicals) != null && e.active ? this.tropicals.data : this.empty), x = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropicals] update elapsed: ", x, ", total: ", b += x)) : (this.map.addSource(this.source, {
11117
11117
  type: "geojson",
11118
11118
  data: (i = this.tropicals) != null && i.active ? (a = this.tropicals) == null ? void 0 : a.data : this.empty
11119
11119
  }), this.map.addLayer({
@@ -11194,7 +11194,7 @@ const sc = {
11194
11194
  ],
11195
11195
  "text-halo-width": 4
11196
11196
  }
11197
- }, this.beforeLayer), w = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] add elapsed: ", w, ", total: ", b += w)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((m = this.map) == null || m.getSource(this.clusterSource).setData((l = this.tropicals) != null && l.active ? this.tropicals.data : this.empty), w = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] update elapsed: ", w, ", total: ", b += w)) : (this.map.addSource(this.clusterSource, {
11197
+ }, this.beforeLayer), x = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] add elapsed: ", x, ", total: ", b += x)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((m = this.map) == null || m.getSource(this.clusterSource).setData((l = this.tropicals) != null && l.active ? this.tropicals.data : this.empty), x = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] update elapsed: ", x, ", total: ", b += x)) : (this.map.addSource(this.clusterSource, {
11198
11198
  type: "geojson",
11199
11199
  data: (c = this.tropicals) != null && c.active ? (f = this.tropicals) == null ? void 0 : f.data : this.empty
11200
11200
  // cluster: true,
@@ -11310,7 +11310,7 @@ const sc = {
11310
11310
  "text-halo-color": "#ffffff",
11311
11311
  "text-halo-width": 2
11312
11312
  }
11313
- }, this.beforeLayer), w = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] add elapsed: ", w, ", total: ", b += w));
11313
+ }, this.beforeLayer), x = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] add elapsed: ", x, ", total: ", b += x));
11314
11314
  const k = Va.interpolate(this.tropicals, 1);
11315
11315
  this.interpolateData = JSON.parse(JSON.stringify(k)), this.handleDateChange();
11316
11316
  }
@@ -11320,14 +11320,14 @@ const sc = {
11320
11320
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
11321
11321
  },
11322
11322
  handleDateChange() {
11323
- var t, e, o, i, a, r, l, m, c, f, d, b, w, k, y, _, T, B, D, x, L, P, C, z, I, F, G, Y, Z, Q, $, J, le, ne, se;
11323
+ var t, e, o, i, a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, R, F, V, X, Y, Q, $, J, se, le, pe;
11324
11324
  if ((t = this.interpolateMarkers) == null || t.forEach((ie) => ie == null ? void 0 : ie.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
11325
- const ie = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), me = this.interpolateData.filter((O) => O.properties.date === (ie == null ? void 0 : ie.format()) && !O.properties.disabled), ue = this.handleComputePolygons(me), he = W.featureCollection([...me]);
11325
+ const ie = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), ce = this.interpolateData.filter((O) => O.properties.date === (ie == null ? void 0 : ie.format()) && !O.properties.disabled), ue = this.handleComputePolygons(ce), me = G.featureCollection([...ce]);
11326
11326
  ue.forEach((O) => {
11327
- he.features.push(O);
11328
- }), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(he) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
11327
+ me.features.push(O);
11328
+ }), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(me) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
11329
11329
  type: "geojson",
11330
- data: he
11330
+ data: me
11331
11331
  }), (r = this.map) == null || r.addLayer({
11332
11332
  id: this.interpolateLineLayer,
11333
11333
  type: "line",
@@ -11347,10 +11347,10 @@ const sc = {
11347
11347
  "line-width": 1
11348
11348
  }
11349
11349
  }, "empty-layer-3")), this.interpolateMarkers = [];
11350
- const de = [];
11351
- for (const O of me)
11350
+ const he = [];
11351
+ for (const O of ce)
11352
11352
  if (!O.properties.disabled) {
11353
- if (!de.some((Te) => {
11353
+ if (!he.some((Te) => {
11354
11354
  var _e;
11355
11355
  return Te.properties.name === ((_e = O.properties) == null ? void 0 : _e.name);
11356
11356
  })) {
@@ -11358,10 +11358,10 @@ const sc = {
11358
11358
  var Ie;
11359
11359
  return _e.properties.name === ((Ie = O.properties) == null ? void 0 : Ie.name);
11360
11360
  })) == null ? void 0 : l.properties) == null ? void 0 : m.nameCn) || ((c = O.properties) == null ? void 0 : c.Name) || "-";
11361
- O.properties.nameCn = Te, O.properties.Name = ((d = (f = O.properties.name) == null ? void 0 : f.trim()) == null ? void 0 : d.replace(/^./, (_e) => _e.toUpperCase())) || O.properties.nameCn, de.push(O);
11361
+ O.properties.nameCn = Te, O.properties.Name = ((d = (f = O.properties.name) == null ? void 0 : f.trim()) == null ? void 0 : d.replace(/^./, (_e) => _e.toUpperCase())) || O.properties.nameCn, he.push(O);
11362
11362
  }
11363
11363
  let te = this.Theme.current.value.colors["tropicals-ty"];
11364
- ((w = (b = O.properties) == null ? void 0 : b.wind) == null ? void 0 : w.kts) < 32 || !((y = (k = O.properties) == null ? void 0 : k.wind) != null && y.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((T = (_ = O.properties) == null ? void 0 : _.wind) == null ? void 0 : T.kts) >= 32 && ((D = (B = O.properties) == null ? void 0 : B.wind) == null ? void 0 : D.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((L = (x = O.properties) == null ? void 0 : x.wind) == null ? void 0 : L.kts) >= 47 && ((C = (P = O.properties) == null ? void 0 : P.wind) == null ? void 0 : C.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((I = (z = O.properties) == null ? void 0 : z.wind) == null ? void 0 : I.kts) >= 63 && ((G = (F = O.properties) == null ? void 0 : F.wind) == null ? void 0 : G.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Z = (Y = O.properties) == null ? void 0 : Y.wind) == null ? void 0 : Z.kts) >= 79 && (($ = (Q = O.properties) == null ? void 0 : Q.wind) == null ? void 0 : $.kts) < 94 ? te = this.Theme.current.value.colors["tropicals-sty"] : ((le = (J = O.properties) == null ? void 0 : J.wind) == null ? void 0 : le.kts) >= 94 ? te = this.Theme.current.value.colors["tropicals-super-ty"] : te = this.Theme.current.value.colors["tropicals-ty"];
11364
+ ((x = (b = O.properties) == null ? void 0 : b.wind) == null ? void 0 : x.kts) < 32 || !((y = (k = O.properties) == null ? void 0 : k.wind) != null && y.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((T = (z = O.properties) == null ? void 0 : z.wind) == null ? void 0 : T.kts) >= 32 && ((I = (B = O.properties) == null ? void 0 : B.wind) == null ? void 0 : I.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((L = (w = O.properties) == null ? void 0 : w.wind) == null ? void 0 : L.kts) >= 47 && ((C = (P = O.properties) == null ? void 0 : P.wind) == null ? void 0 : C.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((R = (_ = O.properties) == null ? void 0 : _.wind) == null ? void 0 : R.kts) >= 63 && ((V = (F = O.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Y = (X = O.properties) == null ? void 0 : X.wind) == null ? void 0 : Y.kts) >= 79 && (($ = (Q = O.properties) == null ? void 0 : Q.wind) == null ? void 0 : $.kts) < 94 ? te = this.Theme.current.value.colors["tropicals-sty"] : ((se = (J = O.properties) == null ? void 0 : J.wind) == null ? void 0 : se.kts) >= 94 ? te = this.Theme.current.value.colors["tropicals-super-ty"] : te = this.Theme.current.value.colors["tropicals-ty"];
11365
11365
  const be = `<svg t="1719918955501"
11366
11366
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
11367
11367
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -11381,29 +11381,29 @@ const sc = {
11381
11381
  const Pe = new ze.Marker(ve).setLngLat(O.geometry.coordinates).addTo(this.map);
11382
11382
  this.interpolateMarkers.push(Pe);
11383
11383
  }
11384
- this.$emit("tropicalCenterPoints", de);
11384
+ this.$emit("tropicalCenterPoints", he);
11385
11385
  } else
11386
- (ne = this.map) != null && ne.getSource(this.interpolateSource) && ((se = this.map) == null || se.getSource(this.interpolateSource).setData(this.empty));
11386
+ (le = this.map) != null && le.getSource(this.interpolateSource) && ((pe = this.map) == null || pe.getSource(this.interpolateSource).setData(this.empty));
11387
11387
  },
11388
11388
  handleClick(t) {
11389
- var a, r, l, m, c, f, d, b, w, k, y;
11389
+ var a, r, l, m, c, f, d, b, x, k, y;
11390
11390
  const e = t.features[0], o = (r = (a = this.tropicals) == null ? void 0 : a.data) == null ? void 0 : r.features.filter(
11391
- (_) => {
11391
+ (z) => {
11392
11392
  var T;
11393
- return _.geometry.type === "LineString" && _.properties.type === "forecast" && _.properties.name === ((T = e == null ? void 0 : e.properties) == null ? void 0 : T.name);
11393
+ return z.geometry.type === "LineString" && z.properties.type === "forecast" && z.properties.name === ((T = e == null ? void 0 : e.properties) == null ? void 0 : T.name);
11394
11394
  }
11395
11395
  ), i = (m = (l = this.tropicals) == null ? void 0 : l.data) == null ? void 0 : m.features.filter(
11396
- (_) => {
11396
+ (z) => {
11397
11397
  var T;
11398
- return _.geometry.type === "LineString" && _.properties.type === "history" && _.properties.name === ((T = e == null ? void 0 : e.properties) == null ? void 0 : T.name);
11398
+ return z.geometry.type === "LineString" && z.properties.type === "history" && z.properties.name === ((T = e == null ? void 0 : e.properties) == null ? void 0 : T.name);
11399
11399
  }
11400
11400
  );
11401
11401
  this.activeTropicals = {
11402
11402
  name: ((c = e == null ? void 0 : e.properties) == null ? void 0 : c.name) || "-",
11403
11403
  nameCn: ((f = e == null ? void 0 : e.properties) == null ? void 0 : f.nameCn) || ((d = e == null ? void 0 : e.properties) == null ? void 0 : d.name) || "-",
11404
11404
  Name: ((b = e == null ? void 0 : e.properties) == null ? void 0 : b.Name) || "-",
11405
- forecasts: o.map((_) => _.properties),
11406
- history: (w = i[0]) == null ? void 0 : w.properties,
11405
+ forecasts: o.map((z) => z.properties),
11406
+ history: (x = i[0]) == null ? void 0 : x.properties,
11407
11407
  showCircle: (y = (k = o[0]) == null ? void 0 : k.properties) == null ? void 0 : y.showCircle
11408
11408
  }, this.showTropicalsInfo = !0, this.simple || this.drawTropicalsInfoMaker([t.lngLat.lng, t.lngLat.lat]);
11409
11409
  },
@@ -11427,7 +11427,7 @@ const sc = {
11427
11427
  f.properties.category === e && (f.properties.disabled = t.disabled);
11428
11428
  }), this.interpolateData.forEach((f) => {
11429
11429
  f.properties.category === e && (f.properties.disabled = t.disabled);
11430
- }), (l = (r = this.map) == null ? void 0 : r.getSource(this.source)) == null || l.setData(W.featureCollection(o)), (c = (m = this.map) == null ? void 0 : m.getSource(this.clusterSource)) == null || c.setData(W.featureCollection(o)), this.handleDateChange();
11430
+ }), (l = (r = this.map) == null ? void 0 : r.getSource(this.source)) == null || l.setData(G.featureCollection(o)), (c = (m = this.map) == null ? void 0 : m.getSource(this.clusterSource)) == null || c.setData(G.featureCollection(o)), this.handleDateChange();
11431
11431
  },
11432
11432
  handleStrikeProbability(t) {
11433
11433
  this.$emit("tropicalProbability", t);
@@ -11466,22 +11466,22 @@ const sc = {
11466
11466
  let c;
11467
11467
  switch (l) {
11468
11468
  case "ne":
11469
- c = W.lineArc(t, m, 0, 90, { steps: m > 0 ? 32 : 1, units: "nauticalmiles" });
11469
+ c = G.lineArc(t, m, 0, 90, { steps: m > 0 ? 32 : 1, units: "nauticalmiles" });
11470
11470
  break;
11471
11471
  case "se":
11472
- c = W.lineArc(t, m, 90, 180, { steps: m > 0 ? 32 : 1, units: "nauticalmiles" });
11472
+ c = G.lineArc(t, m, 90, 180, { steps: m > 0 ? 32 : 1, units: "nauticalmiles" });
11473
11473
  break;
11474
11474
  case "sw":
11475
- c = W.lineArc(t, m, 180, 270, { steps: m > 0 ? 32 : 1, units: "nauticalmiles" });
11475
+ c = G.lineArc(t, m, 180, 270, { steps: m > 0 ? 32 : 1, units: "nauticalmiles" });
11476
11476
  break;
11477
11477
  case "nw":
11478
- c = W.lineArc(t, m, 270, 360, { steps: m > 0 ? 32 : 1, units: "nauticalmiles" });
11478
+ c = G.lineArc(t, m, 270, 360, { steps: m > 0 ? 32 : 1, units: "nauticalmiles" });
11479
11479
  break;
11480
11480
  }
11481
11481
  i.push(...(r = c == null ? void 0 : c.geometry) == null ? void 0 : r.coordinates);
11482
11482
  }
11483
- const a = W.lineString(i);
11484
- return W.lineToPolygon(a, { properties: o });
11483
+ const a = G.lineString(i);
11484
+ return G.lineToPolygon(a, { properties: o });
11485
11485
  },
11486
11486
  handleNotification(t) {
11487
11487
  this.$emit("tropicalNotification", t);
@@ -11557,7 +11557,7 @@ const sc = {
11557
11557
  class: "d-flex justify-start align-center"
11558
11558
  }, Qc = { class: "text-label pr-1" }, $c = { class: "d-flex justify-start align-center" }, em = { class: "text-label pr-1" };
11559
11559
  function tm(t, e, o, i, a, r) {
11560
- const l = v("VBtn"), m = v("VTooltip"), c = v("v-icon"), f = v("VCardText"), d = v("VDivider"), b = v("VCardActions"), w = v("VCard"), k = v("v-card-title"), y = v("v-divider");
11560
+ const l = v("VBtn"), m = v("VTooltip"), c = v("VCardText"), f = v("VDivider"), d = v("VCardActions"), b = v("VCard"), x = v("v-card-title"), k = v("v-divider");
11561
11561
  return g(), S("div", lc, [
11562
11562
  s("div", {
11563
11563
  class: "menu-bar-box transition pa-1",
@@ -11567,8 +11567,8 @@ function tm(t, e, o, i, a, r) {
11567
11567
  text: t.$t("tropical.tropicals"),
11568
11568
  location: "left"
11569
11569
  }, {
11570
- activator: u(({ props: _ }) => [
11571
- p(l, j(_, {
11570
+ activator: u(({ props: y }) => [
11571
+ p(l, j(y, {
11572
11572
  "min-width": "32",
11573
11573
  width: "32",
11574
11574
  height: "32",
@@ -11590,18 +11590,18 @@ function tm(t, e, o, i, a, r) {
11590
11590
  id: "idm-tropical-gl4-info",
11591
11591
  class: ge(["idm-tropical-gl4-info", o.simple ? "page" : "dialog"])
11592
11592
  }, [
11593
- p(w, {
11593
+ p(b, {
11594
11594
  class: ge(["w-100", o.simple ? "rounded-t-4 bg-none" : ""]),
11595
11595
  elevation: o.simple ? 0 : 16
11596
11596
  }, {
11597
11597
  default: u(() => [
11598
- p(f, null, {
11598
+ p(c, null, {
11599
11599
  default: u(() => {
11600
- var _, T, B, D, x, L, P, C, z, I, F, G;
11600
+ var y, z, T, B, I, w, L, P, C, _, R, F;
11601
11601
  return [
11602
11602
  s("div", nc, [
11603
- s("span", cc, n(o.locale === "en" ? (_ = a.activeTropicals) == null ? void 0 : _.Name : ((T = a.activeTropicals) == null ? void 0 : T.nameCn) || ((B = a.activeTropicals) == null ? void 0 : B.Name) || "-"), 1),
11604
- (x = (D = a.activeTropicals) == null ? void 0 : D.history) != null && x.level ? (g(), S("span", mc, ", " + n((P = (L = a.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : P.level), 1)) : R("", !0)
11603
+ s("span", cc, n(o.locale === "en" ? (y = a.activeTropicals) == null ? void 0 : y.Name : ((z = a.activeTropicals) == null ? void 0 : z.nameCn) || ((T = a.activeTropicals) == null ? void 0 : T.Name) || "-"), 1),
11604
+ (I = (B = a.activeTropicals) == null ? void 0 : B.history) != null && I.level ? (g(), S("span", mc, ", " + n((L = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : L.level), 1)) : D("", !0)
11605
11605
  ]),
11606
11606
  p(l, {
11607
11607
  icon: "",
@@ -11610,62 +11610,60 @@ function tm(t, e, o, i, a, r) {
11610
11610
  class: "close",
11611
11611
  onClick: Se(r.handleCloseInfoMarker, ["stop"])
11612
11612
  }, {
11613
- default: u(() => [
11614
- p(c, {
11615
- icon: "mdi-close",
11616
- class: "text-label text-h4"
11617
- })
11618
- ]),
11619
- _: 1
11613
+ default: u(() => e[4] || (e[4] = [
11614
+ s("i", { class: "iconfont icon-close text-h4" }, null, -1)
11615
+ ])),
11616
+ _: 1,
11617
+ __: [4]
11620
11618
  }, 8, ["onClick"]),
11621
11619
  s("div", hc, [
11622
11620
  s("span", dc, n(t.$t("actions.lastUpdate")) + ": ", 1),
11623
- s("span", null, n(r.computeTime(((z = (C = a.activeTropicals) == null ? void 0 : C.history) == null ? void 0 : z.updated) || ((G = (F = (I = a.activeTropicals) == null ? void 0 : I.forecasts) == null ? void 0 : F.filter((Y) => !Y.disabled)[0]) == null ? void 0 : G.date), o.timeZone)), 1)
11621
+ s("span", null, n(r.computeTime(((C = (P = a.activeTropicals) == null ? void 0 : P.history) == null ? void 0 : C.updated) || ((F = (R = (_ = a.activeTropicals) == null ? void 0 : _.forecasts) == null ? void 0 : R.filter((V) => !V.disabled)[0]) == null ? void 0 : F.date), o.timeZone)), 1)
11624
11622
  ])
11625
11623
  ];
11626
11624
  }),
11627
11625
  _: 1
11628
11626
  }),
11629
- p(d),
11630
- p(f, { class: "text-body-1 py-3" }, {
11627
+ p(f),
11628
+ p(c, { class: "text-body-1 py-3" }, {
11631
11629
  default: u(() => {
11632
- var _, T, B, D, x, L, P, C, z;
11630
+ var y, z, T, B, I, w, L, P, C;
11633
11631
  return [
11634
11632
  s("div", pc, [
11635
11633
  s("div", uc, [
11636
11634
  s("label", gc, n(t.$t("weather.windSpeed")) + " : ", 1),
11637
- s("span", null, n(((T = (_ = a.activeTropicals) == null ? void 0 : _.history) == null ? void 0 : T.kts) || "-") + " kts", 1),
11638
- s("span", null, ", BF " + n(r.computeBF(((D = (B = a.activeTropicals) == null ? void 0 : B.history) == null ? void 0 : D.kts) || "-")), 1)
11635
+ s("span", null, n(((z = (y = a.activeTropicals) == null ? void 0 : y.history) == null ? void 0 : z.kts) || "-") + " kts", 1),
11636
+ s("span", null, ", BF " + n(r.computeBF(((B = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : B.kts) || "-")), 1)
11639
11637
  ]),
11640
11638
  s("div", fc, [
11641
11639
  s("label", yc, n(t.$t("weather.pressure")) + " : ", 1),
11642
- s("span", null, n(((L = (x = a.activeTropicals) == null ? void 0 : x.history) == null ? void 0 : L.pressure) || "-") + " hPa", 1)
11640
+ s("span", null, n(((w = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : w.pressure) || "-") + " hPa", 1)
11643
11641
  ])
11644
11642
  ]),
11645
11643
  s("div", bc, [
11646
11644
  s("div", wc, [
11647
11645
  s("label", xc, n(t.$t("tropical.moveSpeed")) + " : ", 1),
11648
- s("span", null, n(((P = r.computeMovement(a.activeTropicals)) == null ? void 0 : P.kts) || "-") + " kts", 1)
11646
+ s("span", null, n(((L = r.computeMovement(a.activeTropicals)) == null ? void 0 : L.kts) || "-") + " kts", 1)
11649
11647
  ]),
11650
11648
  s("div", vc, [
11651
11649
  s("label", _c, n(t.$t("tropical.moveDir")) + " : ", 1),
11652
- s("span", null, n(((C = r.computeMovement(a.activeTropicals)) == null ? void 0 : C.deg) || "-") + "°", 1)
11650
+ s("span", null, n(((P = r.computeMovement(a.activeTropicals)) == null ? void 0 : P.deg) || "-") + "°", 1)
11653
11651
  ])
11654
11652
  ]),
11655
11653
  s("div", kc, [
11656
11654
  s("label", zc, n(t.$t("weather.forecastModels")) + " : ", 1),
11657
11655
  s("div", Lc, [
11658
- (g(!0), S(xe, null, ke((z = a.activeTropicals) == null ? void 0 : z.forecasts, (I, F) => (g(), A(l, {
11659
- key: F,
11656
+ (g(!0), S(xe, null, ke((C = a.activeTropicals) == null ? void 0 : C.forecasts, (_, R) => (g(), A(l, {
11657
+ key: R,
11660
11658
  density: "compact",
11661
- variant: I.disabled ? "text" : "flat",
11662
- color: I.disabled ? "" : "primary",
11659
+ variant: _.disabled ? "text" : "flat",
11660
+ color: _.disabled ? "" : "primary",
11663
11661
  "min-width": 30,
11664
- class: ge(["model text-none text-body-1 px-1", I.disabled ? "btn-border-1 btn-bg-1" : ""]),
11665
- onClick: Se((G) => r.handleForecastToggle(I), ["stop"])
11662
+ class: ge(["model text-none text-body-1 px-1", _.disabled ? "btn-border-1 btn-bg-1" : ""]),
11663
+ onClick: Se((F) => r.handleForecastToggle(_), ["stop"])
11666
11664
  }, {
11667
11665
  default: u(() => [
11668
- K(n(I.model), 1)
11666
+ K(n(_.model), 1)
11669
11667
  ]),
11670
11668
  _: 2
11671
11669
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -11675,8 +11673,8 @@ function tm(t, e, o, i, a, r) {
11675
11673
  }),
11676
11674
  _: 1
11677
11675
  }),
11678
- p(d),
11679
- o.simple ? R("", !0) : (g(), A(b, {
11676
+ p(f),
11677
+ o.simple ? D("", !0) : (g(), A(d, {
11680
11678
  key: 0,
11681
11679
  class: "d-flex justify-space-between"
11682
11680
  }, {
@@ -11687,9 +11685,9 @@ function tm(t, e, o, i, a, r) {
11687
11685
  variant: "text",
11688
11686
  color: a.showLegend ? "primary" : "",
11689
11687
  class: "text-none text-body-1",
11690
- onClick: e[0] || (e[0] = Se((_) => a.showLegend = !a.showLegend, ["stop"]))
11688
+ onClick: e[0] || (e[0] = Se((y) => a.showLegend = !a.showLegend, ["stop"]))
11691
11689
  }, {
11692
- prepend: u(() => e[4] || (e[4] = [
11690
+ prepend: u(() => e[5] || (e[5] = [
11693
11691
  s("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
11694
11692
  ])),
11695
11693
  default: u(() => [
@@ -11703,19 +11701,19 @@ function tm(t, e, o, i, a, r) {
11703
11701
  variant: "text",
11704
11702
  density: "compact",
11705
11703
  class: "text-none text-body-1",
11706
- onClick: e[1] || (e[1] = Se((_) => r.handleNotification(a.activeTropicals), ["stop"]))
11704
+ onClick: e[1] || (e[1] = Se((y) => r.handleNotification(a.activeTropicals), ["stop"]))
11707
11705
  }, {
11708
11706
  default: u(() => [
11709
11707
  K(n(t.$t("actions.notify")), 1)
11710
11708
  ]),
11711
11709
  _: 1
11712
- })) : R("", !0),
11710
+ })) : D("", !0),
11713
11711
  p(l, {
11714
11712
  variant: "text",
11715
11713
  density: "compact",
11716
11714
  "append-icon": "mdi-chevron-right",
11717
11715
  class: "text-none text-body-1",
11718
- onClick: e[2] || (e[2] = Se((_) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11716
+ onClick: e[2] || (e[2] = Se((y) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11719
11717
  }, {
11720
11718
  default: u(() => [
11721
11719
  K(n(t.$t("actions.viewReport")), 1)
@@ -11729,14 +11727,14 @@ function tm(t, e, o, i, a, r) {
11729
11727
  ]),
11730
11728
  _: 1
11731
11729
  }, 8, ["class", "elevation"]),
11732
- o.simple ? (g(), S("div", Tc, e[5] || (e[5] = [
11730
+ o.simple ? (g(), S("div", Tc, e[6] || (e[6] = [
11733
11731
  ei('<div class="pa-1"><div class="legend d-flex justify-start align-center py-2"><div class="icon td"></div><div class="label">TD</div></div><div class="legend d-flex justify-start align-center py-2"><div class="icon sts"></div><div class="label">STS</div></div><div class="legend d-flex justify-start align-center py-2"><div class="icon sty"></div><div class="label">STY</div></div></div><div class="pa-1"><div class="legend d-flex justify-start align-center py-2"><div class="icon ts"></div><div class="label">TS</div></div><div class="legend d-flex justify-start align-center py-2"><div class="icon ty"></div><div class="label">TY</div></div><div class="legend d-flex justify-start align-center py-2"><div class="icon supper-ty"></div><div class="label">Super TY</div></div></div><div class="pa-1"><div class="w-100 legend d-flex justify-start align-center py-2 ga-2"><div class="icon history"></div><div class="label">History</div><div class="icon forecast"></div><div class="label">Forecast</div></div><div class="w-100 legend d-flex justify-start align-center py-2"><div class="icon r7"></div><div class="label">35kts Radii</div></div><div class="w-100 legend d-flex justify-start align-center py-2"><div class="icon r10"></div><div class="label">50kts Radii</div></div></div>', 3)
11734
11732
  ]))) : (g(), S("div", Cc, [
11735
- Ye(p(w, { elevation: "16" }, {
11733
+ Ye(p(b, { elevation: "16" }, {
11736
11734
  default: u(() => [
11737
- p(f, null, {
11735
+ p(c, null, {
11738
11736
  default: u(() => [
11739
- Ye(s("div", Sc, e[6] || (e[6] = [
11737
+ Ye(s("div", Sc, e[7] || (e[7] = [
11740
11738
  s("div", { class: "legend d-flex justify-start align-center" }, [
11741
11739
  s("div", { class: "icon td" }),
11742
11740
  s("div", { class: "label" }, "TD")
@@ -11764,7 +11762,7 @@ function tm(t, e, o, i, a, r) {
11764
11762
  ]), 512), [
11765
11763
  [Ze, a.showLegend]
11766
11764
  ]),
11767
- Ye(s("div", Mc, e[7] || (e[7] = [
11765
+ Ye(s("div", Mc, e[8] || (e[8] = [
11768
11766
  s("div", { class: "legend d-flex justify-start align-center" }, [
11769
11767
  s("div", { class: "icon history" }),
11770
11768
  s("div", { class: "label" }, "History")
@@ -11793,67 +11791,67 @@ function tm(t, e, o, i, a, r) {
11793
11791
  [Ze, a.showLegend]
11794
11792
  ])
11795
11793
  ]))
11796
- ], 2)) : R("", !0),
11797
- Ye(p(w, {
11794
+ ], 2)) : D("", !0),
11795
+ Ye(p(b, {
11798
11796
  id: "tropicalHoverMarkerInfo",
11799
11797
  elevation: "16",
11800
11798
  "max-width": "280"
11801
11799
  }, {
11802
11800
  default: u(() => [
11803
- p(k, null, {
11801
+ p(x, null, {
11804
11802
  default: u(() => {
11805
- var _, T, B, D;
11803
+ var y, z, T, B;
11806
11804
  return [
11807
11805
  s("div", Dc, [
11808
- s("span", Ic, n(o.locale === "en" ? (_ = a.hoverPoint) == null ? void 0 : _.Name : ((T = a.hoverPoint) == null ? void 0 : T.nameCn) || ((B = a.hoverPoint) == null ? void 0 : B.Name)), 1),
11809
- s("span", Rc, "[ " + n((D = a.hoverPoint) == null ? void 0 : D.level) + " ]", 1)
11806
+ s("span", Ic, n(o.locale === "en" ? (y = a.hoverPoint) == null ? void 0 : y.Name : ((z = a.hoverPoint) == null ? void 0 : z.nameCn) || ((T = a.hoverPoint) == null ? void 0 : T.Name)), 1),
11807
+ s("span", Rc, "[ " + n((B = a.hoverPoint) == null ? void 0 : B.level) + " ]", 1)
11810
11808
  ])
11811
11809
  ];
11812
11810
  }),
11813
11811
  _: 1
11814
11812
  }),
11815
- p(y),
11816
- p(f, { class: "text-body-1" }, {
11813
+ p(k),
11814
+ p(c, { class: "text-body-1" }, {
11817
11815
  default: u(() => {
11818
- var _, T, B, D, x, L, P, C, z, I, F, G, Y, Z, Q, $, J, le, ne, se;
11816
+ var y, z, T, B, I, w, L, P, C, _, R, F, V, X, Y, Q, $, J, se, le;
11819
11817
  return [
11820
11818
  s("div", Ac, [
11821
- ((_ = a.hoverPoint) == null ? void 0 : _.type) === "forecast" ? (g(), S("div", Oc, [
11819
+ ((y = a.hoverPoint) == null ? void 0 : y.type) === "forecast" ? (g(), S("div", Oc, [
11822
11820
  s("label", Bc, n(t.$t("tropical.updated")) + " : ", 1),
11823
- s("span", null, n(r.computeTzTime((T = a.hoverPoint) == null ? void 0 : T.update, o.timeZone)), 1)
11824
- ])) : R("", !0),
11825
- ((B = a.hoverPoint) == null ? void 0 : B.type) === "forecast" ? (g(), S("div", jc, [
11821
+ s("span", null, n(r.computeTzTime((z = a.hoverPoint) == null ? void 0 : z.update, o.timeZone)), 1)
11822
+ ])) : D("", !0),
11823
+ ((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (g(), S("div", jc, [
11826
11824
  s("label", Ec, n(t.$t("tropical.forecast")) + " : ", 1),
11827
- s("span", null, n(r.computeTzTime((D = a.hoverPoint) == null ? void 0 : D.date, o.timeZone)), 1)
11828
- ])) : R("", !0),
11829
- ((x = a.hoverPoint) == null ? void 0 : x.type) === "history" ? (g(), S("div", Nc, [
11825
+ s("span", null, n(r.computeTzTime((B = a.hoverPoint) == null ? void 0 : B.date, o.timeZone)), 1)
11826
+ ])) : D("", !0),
11827
+ ((I = a.hoverPoint) == null ? void 0 : I.type) === "history" ? (g(), S("div", Nc, [
11830
11828
  s("label", Fc, n(t.$t("tropical.forecast")) + " : ", 1),
11831
- s("span", null, n(r.computeTzTime((L = a.hoverPoint) == null ? void 0 : L.date, o.timeZone)), 1)
11832
- ])) : R("", !0),
11833
- ((P = a.hoverPoint) == null ? void 0 : P.type) === "forecast" ? (g(), S("div", Hc, [
11829
+ s("span", null, n(r.computeTzTime((w = a.hoverPoint) == null ? void 0 : w.date, o.timeZone)), 1)
11830
+ ])) : D("", !0),
11831
+ ((L = a.hoverPoint) == null ? void 0 : L.type) === "forecast" ? (g(), S("div", Hc, [
11834
11832
  s("label", Gc, n(t.$t("tropical.model")) + " : ", 1),
11835
- s("span", null, n(((C = a.hoverPoint) == null ? void 0 : C.model) ?? "-"), 1)
11836
- ])) : R("", !0),
11837
- ((z = a.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (g(), S("div", Wc, [
11833
+ s("span", null, n(((P = a.hoverPoint) == null ? void 0 : P.model) ?? "-"), 1)
11834
+ ])) : D("", !0),
11835
+ ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (g(), S("div", Wc, [
11838
11836
  s("label", Uc, n(t.$t("weather.wind")) + " : ", 1),
11839
- s("span", null, n(((F = JSON.parse((I = a.hoverPoint) == null ? void 0 : I.wind)) == null ? void 0 : F.kts) ?? "-") + " kts", 1)
11840
- ])) : R("", !0),
11841
- ((G = a.hoverPoint) == null ? void 0 : G.type) === "history" ? (g(), S("div", Vc, [
11837
+ s("span", null, n(((R = JSON.parse((_ = a.hoverPoint) == null ? void 0 : _.wind)) == null ? void 0 : R.kts) ?? "-") + " kts", 1)
11838
+ ])) : D("", !0),
11839
+ ((F = a.hoverPoint) == null ? void 0 : F.type) === "history" ? (g(), S("div", Vc, [
11842
11840
  s("label", Yc, n(t.$t("weather.wind")) + " : ", 1),
11843
- s("span", null, n(((Y = a.hoverPoint) == null ? void 0 : Y.kts) ?? "-") + " kts", 1)
11844
- ])) : R("", !0),
11841
+ s("span", null, n(((V = a.hoverPoint) == null ? void 0 : V.kts) ?? "-") + " kts", 1)
11842
+ ])) : D("", !0),
11845
11843
  s("div", Zc, [
11846
11844
  s("label", Xc, n(t.$t("weather.pressure")) + " : ", 1),
11847
- s("span", null, n(((Z = a.hoverPoint) == null ? void 0 : Z.pressure) ?? "-") + " hPa", 1)
11845
+ s("span", null, n(((X = a.hoverPoint) == null ? void 0 : X.pressure) ?? "-") + " hPa", 1)
11848
11846
  ]),
11849
- ((Q = a.hoverPoint) == null ? void 0 : Q.type) === "history" ? (g(), S("div", qc, [
11847
+ ((Y = a.hoverPoint) == null ? void 0 : Y.type) === "history" ? (g(), S("div", qc, [
11850
11848
  s("label", Kc, n(t.$t("tropical.moveSpeed")) + " : ", 1),
11851
- s("span", null, n(((J = JSON.parse(($ = a.hoverPoint) == null ? void 0 : $.movement)) == null ? void 0 : J.kts) ?? "-") + " kts", 1)
11852
- ])) : R("", !0),
11853
- ((le = a.hoverPoint) == null ? void 0 : le.type) === "history" ? (g(), S("div", Jc, [
11849
+ s("span", null, n((($ = JSON.parse((Q = a.hoverPoint) == null ? void 0 : Q.movement)) == null ? void 0 : $.kts) ?? "-") + " kts", 1)
11850
+ ])) : D("", !0),
11851
+ ((J = a.hoverPoint) == null ? void 0 : J.type) === "history" ? (g(), S("div", Jc, [
11854
11852
  s("label", Qc, n(t.$t("tropical.moveDir")) + " : ", 1),
11855
- s("span", null, n(((se = JSON.parse((ne = a.hoverPoint) == null ? void 0 : ne.movement)) == null ? void 0 : se.deg) ?? "-") + " °", 1)
11856
- ])) : R("", !0),
11853
+ s("span", null, n(((le = JSON.parse((se = a.hoverPoint) == null ? void 0 : se.movement)) == null ? void 0 : le.deg) ?? "-") + " °", 1)
11854
+ ])) : D("", !0),
11857
11855
  s("div", $c, [
11858
11856
  s("label", em, n(t.$t("tropical.position")) + " : ", 1),
11859
11857
  s("span", null, n(r.computePosition(a.hoverPoint)), 1)
@@ -11870,7 +11868,7 @@ function tm(t, e, o, i, a, r) {
11870
11868
  ])
11871
11869
  ]);
11872
11870
  }
11873
- const qa = /* @__PURE__ */ X(sc, [["render", tm]]);
11871
+ const qa = /* @__PURE__ */ Z(sc, [["render", tm]]);
11874
11872
  const om = {
11875
11873
  name: "DateTimePicker",
11876
11874
  props: {
@@ -12069,12 +12067,12 @@ const om = {
12069
12067
  style: { height: "56px" }
12070
12068
  };
12071
12069
  function nm(t, e, o, i, a, r) {
12072
- const l = v("VDatePicker"), m = v("VDivider"), c = v("VListItemTitle"), f = v("VListItem"), d = v("VList"), b = v("VCardText"), w = v("VBtn"), k = v("VCardActions"), y = v("VCard");
12070
+ const l = v("VDatePicker"), m = v("VDivider"), c = v("VListItemTitle"), f = v("VListItem"), d = v("VList"), b = v("VCardText"), x = v("VBtn"), k = v("VCardActions"), y = v("VCard");
12073
12071
  return g(), S("div", am, [
12074
12072
  s("div", {
12075
12073
  style: ee({ height: o.height + "px", width: o.width + "px" }),
12076
12074
  class: ge([o.bgClass, "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-space-between px-2 cursor-pointer"]),
12077
- onClick: e[0] || (e[0] = (..._) => r.handleOpenDatePicker && r.handleOpenDatePicker(..._))
12075
+ onClick: e[0] || (e[0] = (...z) => r.handleOpenDatePicker && r.handleOpenDatePicker(...z))
12078
12076
  }, [
12079
12077
  s("span", im, n(a.currentDateTime) + " | UTC " + n(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
12080
12078
  ], 6),
@@ -12089,7 +12087,7 @@ function nm(t, e, o, i, a, r) {
12089
12087
  s("div", rm, [
12090
12088
  p(l, {
12091
12089
  modelValue: a.currentDate,
12092
- "onUpdate:modelValue": e[1] || (e[1] = (_) => a.currentDate = _),
12090
+ "onUpdate:modelValue": e[1] || (e[1] = (z) => a.currentDate = z),
12093
12091
  min: a.minDate,
12094
12092
  max: a.maxDate,
12095
12093
  "mode-icon": () => r.currentYear,
@@ -12109,11 +12107,11 @@ function nm(t, e, o, i, a, r) {
12109
12107
  s("div", lm, n(a.currentTime), 1),
12110
12108
  p(d, { class: "pa-0 flex-1-1-0 scroll" }, {
12111
12109
  default: u(() => [
12112
- (g(!0), S(xe, null, ke(r.hourOptions, (_, T) => (g(), A(f, {
12110
+ (g(!0), S(xe, null, ke(r.hourOptions, (z, T) => (g(), A(f, {
12113
12111
  key: T,
12114
- value: _,
12112
+ value: z,
12115
12113
  color: "primary",
12116
- active: a.currentTime === _,
12114
+ active: a.currentTime === z,
12117
12115
  rounded: "",
12118
12116
  height: "26",
12119
12117
  "min-height": "26"
@@ -12121,10 +12119,10 @@ function nm(t, e, o, i, a, r) {
12121
12119
  default: u(() => [
12122
12120
  p(c, {
12123
12121
  class: "text-body-2 font-weight-600 text-center",
12124
- onClick: (B) => a.currentTime = _
12122
+ onClick: (B) => a.currentTime = z
12125
12123
  }, {
12126
12124
  default: u(() => [
12127
- K(n(_), 1)
12125
+ K(n(z), 1)
12128
12126
  ]),
12129
12127
  _: 2
12130
12128
  }, 1032, ["onClick"])
@@ -12144,7 +12142,7 @@ function nm(t, e, o, i, a, r) {
12144
12142
  style: { height: "50px" }
12145
12143
  }, {
12146
12144
  default: u(() => [
12147
- p(w, {
12145
+ p(x, {
12148
12146
  size: "small",
12149
12147
  variant: "tonal",
12150
12148
  class: "text-none text-body-2",
@@ -12155,7 +12153,7 @@ function nm(t, e, o, i, a, r) {
12155
12153
  ]),
12156
12154
  _: 1
12157
12155
  }, 8, ["onClick"]),
12158
- p(w, {
12156
+ p(x, {
12159
12157
  size: "small",
12160
12158
  variant: "flat",
12161
12159
  color: "primary",
@@ -12172,10 +12170,10 @@ function nm(t, e, o, i, a, r) {
12172
12170
  })
12173
12171
  ]),
12174
12172
  _: 1
12175
- }, 8, ["style"])) : R("", !0)
12173
+ }, 8, ["style"])) : D("", !0)
12176
12174
  ], 512);
12177
12175
  }
12178
- const Mo = /* @__PURE__ */ X(om, [["render", nm]]);
12176
+ const Mo = /* @__PURE__ */ Z(om, [["render", nm]]);
12179
12177
  const cm = {
12180
12178
  name: "DateRangePicker",
12181
12179
  props: {
@@ -12365,7 +12363,7 @@ const cm = {
12365
12363
  ref: "idmGl4DatePicker"
12366
12364
  }, hm = { class: "flex-1-1-0" }, dm = { class: "pa-0" };
12367
12365
  function pm(t, e, o, i, a, r) {
12368
- const l = v("VIcon"), m = v("VDatePicker"), c = v("VCardText"), f = v("VDivider"), d = v("VBtn"), b = v("VCardActions"), w = v("VCard");
12366
+ const l = v("VIcon"), m = v("VDatePicker"), c = v("VCardText"), f = v("VDivider"), d = v("VBtn"), b = v("VCardActions"), x = v("VCard");
12369
12367
  return g(), S("div", mm, [
12370
12368
  s("div", {
12371
12369
  style: ee({ height: o.height + "px", width: o.width + "px" }),
@@ -12378,9 +12376,9 @@ function pm(t, e, o, i, a, r) {
12378
12376
  class: "text-h5",
12379
12377
  icon: "mdi-close-circle text-label",
12380
12378
  onClick: Se(r.handleClearDate, ["stop"])
12381
- }, null, 8, ["onClick"])) : R("", !0)
12379
+ }, null, 8, ["onClick"])) : D("", !0)
12382
12380
  ], 4),
12383
- a.showDatePicker ? (g(), A(w, {
12381
+ a.showDatePicker ? (g(), A(x, {
12384
12382
  key: 0,
12385
12383
  class: "card-box d-flex flex-column border",
12386
12384
  style: ee(r.getStyle)
@@ -12441,10 +12439,10 @@ function pm(t, e, o, i, a, r) {
12441
12439
  })
12442
12440
  ]),
12443
12441
  _: 1
12444
- }, 8, ["style"])) : R("", !0)
12442
+ }, 8, ["style"])) : D("", !0)
12445
12443
  ], 512);
12446
12444
  }
12447
- const Ka = /* @__PURE__ */ X(cm, [["render", pm]]);
12445
+ const Ka = /* @__PURE__ */ Z(cm, [["render", pm]]);
12448
12446
  const um = {
12449
12447
  name: "IdmPoint",
12450
12448
  components: {
@@ -13482,10 +13480,10 @@ const um = {
13482
13480
  }), this.loading = !1;
13483
13481
  },
13484
13482
  initTableData(t) {
13485
- var o, i, a, r, l, m, c, f, d, b, w, k, y, _, T, B, D, x, L, P, C, z, I, F, G, Y, Z, Q, $, J, le, ne, se, ie, me, ue, he, de, O, te, be;
13483
+ var o, i, a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be;
13486
13484
  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;
13487
13485
  const e = ((l = To.pickHourly(t, M(this.form.dateTime))) == null ? void 0 : l[0]) || {};
13488
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((m = e == null ? void 0 : e.weather) == null ? void 0 : m.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((f = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : f.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((y = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : y.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((D = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : D.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((L = (x = e == null ? void 0 : e.weather) == null ? void 0 : x.wind) == null ? void 0 : L.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (I = (z = e == null ? void 0 : e.wave) == null ? void 0 : z.sig) == null ? void 0 : I.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((G = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : G.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (Y = e == null ? void 0 : e.wave) == null ? void 0 : Y.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = ($ = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : $.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((le = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : le.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((se = (ne = e == null ? void 0 : e.wave) == null ? void 0 : ne.swell) == null ? void 0 : se.height, 1) ?? "-", this.currentHourData.swellDir = (me = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : me.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((he = (ue = e == null ? void 0 : e.wave) == null ? void 0 : ue.swell) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((de = e == null ? void 0 : e.current) == null ? void 0 : de.speed, 1) ?? "-", this.currentHourData.currentDir = (O = e == null ? void 0 : e.current) == null ? void 0 : O.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((te = e == null ? void 0 : e.current) == null ? void 0 : te.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (be = e == null ? void 0 : e.weather) == null ? void 0 : be.url;
13486
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((m = e == null ? void 0 : e.weather) == null ? void 0 : m.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((f = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : f.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((y = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : y.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((L = (w = e == null ? void 0 : e.weather) == null ? void 0 : w.wind) == null ? void 0 : L.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Y = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = ($ = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : $.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((se = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (le = e == null ? void 0 : e.wave) == null ? void 0 : le.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (ce = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((me = (ue = e == null ? void 0 : e.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((he = e == null ? void 0 : e.current) == null ? void 0 : he.speed, 1) ?? "-", this.currentHourData.currentDir = (O = e == null ? void 0 : e.current) == null ? void 0 : O.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((te = e == null ? void 0 : e.current) == null ? void 0 : te.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (be = e == null ? void 0 : e.weather) == null ? void 0 : be.url;
13489
13487
  },
13490
13488
  handleBind() {
13491
13489
  var t, e;
@@ -13604,7 +13602,7 @@ const um = {
13604
13602
  "aria-hidden": "true"
13605
13603
  }, bh = ["xlink:href"];
13606
13604
  function wh(t, e, o, i, a, r) {
13607
- const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VDivider"), d = v("VTextField"), b = v("VCol"), w = v("VRow"), k = v("DateTimePicker"), y = v("VBtnToggle"), _ = v("VCardText"), T = v("VCardActions"), B = v("VForm"), D = v("VCard");
13605
+ const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VDivider"), d = v("VTextField"), b = v("VCol"), x = v("VRow"), k = v("DateTimePicker"), y = v("VBtnToggle"), z = v("VCardText"), T = v("VCardActions"), B = v("VForm"), I = v("VCard");
13608
13606
  return g(), S("div", gm, [
13609
13607
  s("div", {
13610
13608
  class: "menu-bar-box transition pa-1",
@@ -13614,8 +13612,8 @@ function wh(t, e, o, i, a, r) {
13614
13612
  text: t.$t("spot.spotsMeteo"),
13615
13613
  location: "left"
13616
13614
  }, {
13617
- activator: u(({ props: x }) => [
13618
- p(l, j(x, {
13615
+ activator: u(({ props: w }) => [
13616
+ p(l, j(w, {
13619
13617
  "min-width": "32",
13620
13618
  width: "32",
13621
13619
  height: "32",
@@ -13632,7 +13630,7 @@ function wh(t, e, o, i, a, r) {
13632
13630
  _: 1
13633
13631
  }, 8, ["text"])
13634
13632
  ], 4),
13635
- a.showForm && !o.simple ? (g(), A(D, {
13633
+ a.showForm && !o.simple ? (g(), A(I, {
13636
13634
  key: 0,
13637
13635
  class: "spot-form-card",
13638
13636
  style: ee({ top: o.top + o.paddingTop + 126 + "px", right: a.right + 50 + "px" })
@@ -13651,7 +13649,7 @@ function wh(t, e, o, i, a, r) {
13651
13649
  onClick: r.handleCloseForm
13652
13650
  }, {
13653
13651
  default: u(() => e[9] || (e[9] = [
13654
- s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
13652
+ s("i", { class: "iconfont icon-close text-h4" }, null, -1)
13655
13653
  ])),
13656
13654
  _: 1,
13657
13655
  __: [9]
@@ -13667,7 +13665,7 @@ function wh(t, e, o, i, a, r) {
13667
13665
  onSubmit: Se(r.submitForm, ["prevent"])
13668
13666
  }, {
13669
13667
  default: u(() => [
13670
- p(_, { class: "text-body-1 py-1" }, {
13668
+ p(z, { class: "text-body-1 py-1" }, {
13671
13669
  default: u(() => [
13672
13670
  s("div", bm, [
13673
13671
  (g(), S("svg", wm, [
@@ -13677,7 +13675,7 @@ function wh(t, e, o, i, a, r) {
13677
13675
  ])),
13678
13676
  s("div", null, n(t.$t("spot.lng")), 1)
13679
13677
  ]),
13680
- p(w, { class: "ma-0" }, {
13678
+ p(x, { class: "ma-0" }, {
13681
13679
  default: u(() => [
13682
13680
  p(b, {
13683
13681
  cols: "4",
@@ -13686,7 +13684,7 @@ function wh(t, e, o, i, a, r) {
13686
13684
  default: u(() => [
13687
13685
  p(d, {
13688
13686
  modelValue: a.form.lngDegree,
13689
- "onUpdate:modelValue": e[0] || (e[0] = (x) => a.form.lngDegree = x),
13687
+ "onUpdate:modelValue": e[0] || (e[0] = (w) => a.form.lngDegree = w),
13690
13688
  rules: a.formRules.lngDegree,
13691
13689
  density: "compact",
13692
13690
  variant: "outlined",
@@ -13706,7 +13704,7 @@ function wh(t, e, o, i, a, r) {
13706
13704
  default: u(() => [
13707
13705
  p(d, {
13708
13706
  modelValue: a.form.lngMinute,
13709
- "onUpdate:modelValue": e[1] || (e[1] = (x) => a.form.lngMinute = x),
13707
+ "onUpdate:modelValue": e[1] || (e[1] = (w) => a.form.lngMinute = w),
13710
13708
  rules: a.formRules.lngMinute,
13711
13709
  label: "",
13712
13710
  density: "compact",
@@ -13733,7 +13731,7 @@ function wh(t, e, o, i, a, r) {
13733
13731
  height: "32",
13734
13732
  class: "text-body-1 btn-bg-1",
13735
13733
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
13736
- onClick: e[2] || (e[2] = (x) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
13734
+ onClick: e[2] || (e[2] = (w) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
13737
13735
  }, {
13738
13736
  default: u(() => [
13739
13737
  K(n(a.form.lngDirection), 1)
@@ -13754,7 +13752,7 @@ function wh(t, e, o, i, a, r) {
13754
13752
  ])),
13755
13753
  s("div", null, n(t.$t("spot.lat")), 1)
13756
13754
  ]),
13757
- p(w, { class: "ma-0" }, {
13755
+ p(x, { class: "ma-0" }, {
13758
13756
  default: u(() => [
13759
13757
  p(b, {
13760
13758
  cols: "4",
@@ -13763,7 +13761,7 @@ function wh(t, e, o, i, a, r) {
13763
13761
  default: u(() => [
13764
13762
  p(d, {
13765
13763
  modelValue: a.form.latDegree,
13766
- "onUpdate:modelValue": e[3] || (e[3] = (x) => a.form.latDegree = x),
13764
+ "onUpdate:modelValue": e[3] || (e[3] = (w) => a.form.latDegree = w),
13767
13765
  rules: a.formRules.latDegree,
13768
13766
  label: "",
13769
13767
  density: "compact",
@@ -13786,7 +13784,7 @@ function wh(t, e, o, i, a, r) {
13786
13784
  default: u(() => [
13787
13785
  p(d, {
13788
13786
  modelValue: a.form.latMinute,
13789
- "onUpdate:modelValue": e[4] || (e[4] = (x) => a.form.latMinute = x),
13787
+ "onUpdate:modelValue": e[4] || (e[4] = (w) => a.form.latMinute = w),
13790
13788
  rules: a.formRules.latMinute,
13791
13789
  label: "",
13792
13790
  density: "compact",
@@ -13813,7 +13811,7 @@ function wh(t, e, o, i, a, r) {
13813
13811
  height: "32",
13814
13812
  class: "text-body-1 btn-bg-1",
13815
13813
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
13816
- onClick: e[5] || (e[5] = (x) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
13814
+ onClick: e[5] || (e[5] = (w) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
13817
13815
  }, {
13818
13816
  default: u(() => [
13819
13817
  K(n(a.form.latDirection), 1)
@@ -13834,7 +13832,7 @@ function wh(t, e, o, i, a, r) {
13834
13832
  ])),
13835
13833
  s("div", null, n(t.$t("spot.dateTime")), 1)
13836
13834
  ]),
13837
- p(w, { class: "ma-0 mb-4" }, {
13835
+ p(x, { class: "ma-0 mb-4" }, {
13838
13836
  default: u(() => [
13839
13837
  p(b, {
13840
13838
  cols: "12",
@@ -13845,7 +13843,7 @@ function wh(t, e, o, i, a, r) {
13845
13843
  "date-time": a.form.dateTime,
13846
13844
  "time-zone": o.timeZone
13847
13845
  }, t.$attrs, {
13848
- onDateTime: e[6] || (e[6] = (x) => a.form.dateTime = x)
13846
+ onDateTime: e[6] || (e[6] = (w) => a.form.dateTime = w)
13849
13847
  }), null, 16, ["date-time", "time-zone"])
13850
13848
  ]),
13851
13849
  _: 1
@@ -13861,7 +13859,7 @@ function wh(t, e, o, i, a, r) {
13861
13859
  ])),
13862
13860
  s("div", null, n(t.$t("weather.forecastModel")), 1)
13863
13861
  ]),
13864
- p(w, { class: "ma-0 mb-2" }, {
13862
+ p(x, { class: "ma-0 mb-2" }, {
13865
13863
  default: u(() => [
13866
13864
  p(b, {
13867
13865
  cols: "12",
@@ -13870,7 +13868,7 @@ function wh(t, e, o, i, a, r) {
13870
13868
  default: u(() => [
13871
13869
  p(y, {
13872
13870
  modelValue: a.form.forecastModel,
13873
- "onUpdate:modelValue": e[7] || (e[7] = (x) => a.form.forecastModel = x),
13871
+ "onUpdate:modelValue": e[7] || (e[7] = (w) => a.form.forecastModel = w),
13874
13872
  class: "w-100",
13875
13873
  rounded: "",
13876
13874
  height: "30",
@@ -13954,8 +13952,8 @@ function wh(t, e, o, i, a, r) {
13954
13952
  }, 8, ["onSubmit"])
13955
13953
  ]),
13956
13954
  _: 1
13957
- }, 8, ["style"])) : R("", !0),
13958
- a.showMeteo ? (g(), A(D, {
13955
+ }, 8, ["style"])) : D("", !0),
13956
+ a.showMeteo ? (g(), A(I, {
13959
13957
  key: 1,
13960
13958
  id: "idm-gl4-spot-meteo",
13961
13959
  class: "spot-meteo",
@@ -13976,7 +13974,7 @@ function wh(t, e, o, i, a, r) {
13976
13974
  onClick: Se(r.handleCloseMeteo, ["stop"])
13977
13975
  }, {
13978
13976
  default: u(() => e[17] || (e[17] = [
13979
- s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
13977
+ s("i", { class: "iconfont icon-close text-h4" }, null, -1)
13980
13978
  ])),
13981
13979
  _: 1,
13982
13980
  __: [17]
@@ -13985,13 +13983,13 @@ function wh(t, e, o, i, a, r) {
13985
13983
  _: 1
13986
13984
  }),
13987
13985
  p(f),
13988
- p(_, { class: "text-body-1 px-0 py-1" }, {
13986
+ p(z, { class: "text-body-1 px-0 py-1" }, {
13989
13987
  default: u(() => {
13990
- var x, L;
13988
+ var w, L;
13991
13989
  return [
13992
13990
  s("div", Im, [
13993
13991
  s("div", Rm, n(t.$t("time.time")), 1),
13994
- s("div", Am, n(r.computedTzTime((x = a.currentHourData) == null ? void 0 : x.utc)), 1)
13992
+ s("div", Am, n(r.computedTzTime((w = a.currentHourData) == null ? void 0 : w.utc)), 1)
13995
13993
  ]),
13996
13994
  s("div", Om, [
13997
13995
  e[18] || (e[18] = s("div", {
@@ -14025,9 +14023,9 @@ function wh(t, e, o, i, a, r) {
14025
14023
  p(f),
14026
14024
  p(T, { class: "d-flex justify-space-between align-center" }, {
14027
14025
  default: u(() => {
14028
- var x;
14026
+ var w;
14029
14027
  return [
14030
- (x = o.followList) != null && x.some((L) => {
14028
+ (w = o.followList) != null && w.some((L) => {
14031
14029
  var P, C;
14032
14030
  return (L == null ? void 0 : L.id) === a.form.followId || ((P = L == null ? void 0 : L.coordinate) == null ? void 0 : P.lng) === a.form.lng && ((C = L == null ? void 0 : L.coordinate) == null ? void 0 : C.lat) === a.form.lat;
14033
14031
  }) ? (g(), A(l, {
@@ -14082,8 +14080,8 @@ function wh(t, e, o, i, a, r) {
14082
14080
  })
14083
14081
  ]),
14084
14082
  _: 1
14085
- })) : R("", !0),
14086
- a.showMeteo && o.simple ? (g(), A(D, {
14083
+ })) : D("", !0),
14084
+ a.showMeteo && o.simple ? (g(), A(I, {
14087
14085
  key: 2,
14088
14086
  class: "position-absolute bottom-0 rounded-t-4",
14089
14087
  style: { width: "100vw", "z-index": "1001" }
@@ -14091,7 +14089,7 @@ function wh(t, e, o, i, a, r) {
14091
14089
  default: u(() => [
14092
14090
  p(c, null, {
14093
14091
  default: u(() => {
14094
- var x;
14092
+ var w;
14095
14093
  return [
14096
14094
  s("div", Qm, [
14097
14095
  s("div", $m, [
@@ -14099,7 +14097,7 @@ function wh(t, e, o, i, a, r) {
14099
14097
  s("div", eh, n(r.computePosition(a.form || a.currentHourData)), 1)
14100
14098
  ]),
14101
14099
  s("div", th, [
14102
- (x = o.followList) != null && x.some((L) => {
14100
+ (w = o.followList) != null && w.some((L) => {
14103
14101
  var P, C;
14104
14102
  return (L == null ? void 0 : L.id) === a.form.followId || ((P = L == null ? void 0 : L.coordinate) == null ? void 0 : P.lng) === a.form.lng && ((C = L == null ? void 0 : L.coordinate) == null ? void 0 : C.lat) === a.form.lat;
14105
14103
  }) ? (g(), A(l, {
@@ -14141,7 +14139,7 @@ function wh(t, e, o, i, a, r) {
14141
14139
  onClick: Se(r.handleCloseMeteo, ["stop"])
14142
14140
  }, {
14143
14141
  default: u(() => e[24] || (e[24] = [
14144
- s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
14142
+ s("i", { class: "iconfont icon-close text-h4" }, null, -1)
14145
14143
  ])),
14146
14144
  _: 1,
14147
14145
  __: [24]
@@ -14155,13 +14153,13 @@ function wh(t, e, o, i, a, r) {
14155
14153
  __: [25]
14156
14154
  }),
14157
14155
  p(f),
14158
- p(_, { class: "text-body-1 px-0 py-2" }, {
14156
+ p(z, { class: "text-body-1 px-0 py-2" }, {
14159
14157
  default: u(() => {
14160
- var x, L;
14158
+ var w, L;
14161
14159
  return [
14162
14160
  s("div", oh, [
14163
14161
  s("div", ah, n(t.$t("time.time")), 1),
14164
- s("div", ih, n(r.computedTzTime((x = a.currentHourData) == null ? void 0 : x.utc)), 1)
14162
+ s("div", ih, n(r.computedTzTime((w = a.currentHourData) == null ? void 0 : w.utc)), 1)
14165
14163
  ]),
14166
14164
  s("div", rh, [
14167
14165
  e[26] || (e[26] = s("div", {
@@ -14206,7 +14204,7 @@ function wh(t, e, o, i, a, r) {
14206
14204
  })
14207
14205
  ]),
14208
14206
  _: 1
14209
- })) : R("", !0),
14207
+ })) : D("", !0),
14210
14208
  Ye(s("div", fh, [
14211
14209
  (g(), S("svg", yh, [
14212
14210
  s("use", {
@@ -14218,7 +14216,7 @@ function wh(t, e, o, i, a, r) {
14218
14216
  ])
14219
14217
  ]);
14220
14218
  }
14221
- const xh = /* @__PURE__ */ X(um, [["render", wh]]);
14219
+ const xh = /* @__PURE__ */ Z(um, [["render", wh]]);
14222
14220
  const vh = {
14223
14221
  name: "IdmMeasure",
14224
14222
  props: {
@@ -14283,7 +14281,7 @@ const vh = {
14283
14281
  else {
14284
14282
  (t = this.map) == null || t.getCanvas().removeEventListener("keydown", this.handleKeydown), (e = this.map) == null || e.off("mousemove", this.handleMove), (o = this.map) == null || o.off("dblclick", this.handleDblClick), this.map;
14285
14283
  let i = this.geojson.find((a) => !a.closed);
14286
- i && this.handleClear(i, !0), this.geojson = this.geojson.filter((a) => !!a.closed), i = W.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(i);
14284
+ i && this.handleClear(i, !0), this.geojson = this.geojson.filter((a) => !!a.closed), i = G.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(i);
14287
14285
  }
14288
14286
  },
14289
14287
  immediate: !0
@@ -14320,24 +14318,24 @@ const vh = {
14320
14318
  var o, i, a, r, l, m, c, f, d, b;
14321
14319
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
14322
14320
  if ((e == null ? void 0 : e.split("-").length) === 2) {
14323
- const w = this.geojson.filter((T) => T.id === e.split("-")[0])[0];
14324
- this.pointMarkers[w.id].filter((T) => {
14321
+ const x = this.geojson.filter((T) => T.id === e.split("-")[0])[0];
14322
+ this.pointMarkers[x.id].filter((T) => {
14325
14323
  var B;
14326
14324
  return ((B = T._element) == null ? void 0 : B.id) === e;
14327
14325
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (m = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : m.lat]);
14328
14326
  let y;
14329
- w.features.forEach((T, B) => {
14327
+ x.features.forEach((T, B) => {
14330
14328
  if (T.geometry.type === "Point" && T.properties.id === e.split("-")[1]) {
14331
14329
  y = B;
14332
14330
  return;
14333
14331
  }
14334
14332
  });
14335
- const _ = w.features.filter((T) => T.geometry.type === "Point");
14333
+ const z = x.features.filter((T) => T.geometry.type === "Point");
14336
14334
  this.handleTmpPointUpdate(
14337
- w,
14338
- _[y - 1],
14339
- { lng: (f = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : f.lng, lat: (b = (d = t.target) == null ? void 0 : d._lngLat) == null ? void 0 : b.lat, properties: _[y].properties },
14340
- y === _.length - 1 ? void 0 : _[y + 1]
14335
+ x,
14336
+ z[y - 1],
14337
+ { lng: (f = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : f.lng, lat: (b = (d = t.target) == null ? void 0 : d._lngLat) == null ? void 0 : b.lat, properties: z[y].properties },
14338
+ y === z.length - 1 ? void 0 : z[y + 1]
14341
14339
  );
14342
14340
  }
14343
14341
  },
@@ -14345,13 +14343,13 @@ const vh = {
14345
14343
  var o, i, a, r, l, m, c, f, d, b;
14346
14344
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
14347
14345
  if ((e == null ? void 0 : e.split("-").length) === 2) {
14348
- const w = this.geojson.filter((_) => _.id === e.split("-")[0])[0];
14349
- this.pointMarkers[w.id].filter((_) => {
14346
+ const x = this.geojson.filter((z) => z.id === e.split("-")[0])[0];
14347
+ this.pointMarkers[x.id].filter((z) => {
14350
14348
  var T;
14351
- return ((T = _._element) == null ? void 0 : T.id) === e;
14349
+ return ((T = z._element) == null ? void 0 : T.id) === e;
14352
14350
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (m = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : m.lat]);
14353
- const y = w.features.filter((_) => _.geometry.type === "Point" && _.properties.id === e.split("-")[1])[0];
14354
- y.geometry.coordinates = [(f = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : f.lng, (b = (d = t.target) == null ? void 0 : d._lngLat) == null ? void 0 : b.lat], w.features = w.features.filter((_) => _.geometry.type === "Point"), this.handlePointUpdate(w);
14351
+ const y = x.features.filter((z) => z.geometry.type === "Point" && z.properties.id === e.split("-")[1])[0];
14352
+ y.geometry.coordinates = [(f = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : f.lng, (b = (d = t.target) == null ? void 0 : d._lngLat) == null ? void 0 : b.lat], x.features = x.features.filter((z) => z.geometry.type === "Point"), this.handlePointUpdate(x);
14355
14353
  }
14356
14354
  },
14357
14355
  handleContextmenu(t) {
@@ -14378,8 +14376,8 @@ const vh = {
14378
14376
  f.features = f.features.filter((d) => d.geometry.type === "Point" && d.properties.id !== c[1]), this.handlePointUpdate(f);
14379
14377
  } else if (e !== "marker-label" && this.toggle) {
14380
14378
  let c = this.geojson.at(-1);
14381
- c || (c = W.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(c)), c.features = c.features.filter((d) => d.geometry.type === "Point");
14382
- const f = W.feature(
14379
+ c || (c = G.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(c)), c.features = c.features.filter((d) => d.geometry.type === "Point");
14380
+ const f = G.feature(
14383
14381
  {
14384
14382
  type: "Point",
14385
14383
  coordinates: [t.lngLat.lng, t.lngLat.lat]
@@ -14401,9 +14399,9 @@ const vh = {
14401
14399
  for (let a = 1; a < e.length; a++) {
14402
14400
  const r = e[a - 1], l = e[a], m = r.properties, c = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, f = { lng: l.geometry.coordinates[0], lat: l.geometry.coordinates[1] }, d = Ve.calculateDistance(c, f, m.mode === "RL", 4), b = Ve.calculateBearing(c, f, m.mode === "RL", 2);
14403
14401
  o = q.roundPrecision(o + d, 4);
14404
- let w;
14405
- m.mode === "RL" ? w = q.convertToMonotonicLng([c, f]) : w = q.convertToMonotonicLng(Ve.interpolateCoordinates(c, f, 200));
14406
- const k = W.lineString(w.map((_) => [_.lng, _.lat]));
14402
+ let x;
14403
+ m.mode === "RL" ? x = q.convertToMonotonicLng([c, f]) : x = q.convertToMonotonicLng(Ve.interpolateCoordinates(c, f, 200));
14404
+ const k = G.lineString(x.map((z) => [z.lng, z.lat]));
14407
14405
  k.properties.dist = d, k.properties.bearing = b, k.properties.total = o, k.properties.name = "Line " + this.currentLineIndex, i.push(k);
14408
14406
  const y = e[a];
14409
14407
  y.properties.totalDist = q.roundPrecision((m.totalDist ? m.totalDist : 0) + d, 4), y.properties.sumLabel = y.properties.totalDist + " nm";
@@ -14413,23 +14411,23 @@ const vh = {
14413
14411
  return this.handleRender(t), t;
14414
14412
  },
14415
14413
  handleTmpPointUpdate(t, e, o, i) {
14416
- const a = W.featureCollection([]);
14414
+ const a = G.featureCollection([]);
14417
14415
  let r, l;
14418
14416
  if (e) {
14419
14417
  const c = e.properties, f = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, d = { lng: o.lng, lat: o.lat };
14420
14418
  r = Ve.calculateDistance(f, d, c.mode === "RL", 4), l = Ve.calculateBearing(f, d, c.mode === "RL", 2);
14421
14419
  let b;
14422
14420
  c.mode === "RL" ? b = q.convertToMonotonicLng([f, d]) : b = q.convertToMonotonicLng(Ve.interpolateCoordinates(f, d, 200));
14423
- const w = W.lineString(b.map((k) => [k.lng, k.lat]));
14424
- w.properties.dist = r, w.properties.bearing = l, a.features.push(w);
14421
+ const x = G.lineString(b.map((k) => [k.lng, k.lat]));
14422
+ x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
14425
14423
  }
14426
14424
  if (i) {
14427
14425
  const c = o.properties, f = o, d = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
14428
14426
  r = Ve.calculateDistance(f, d, c.mode === "RL", 4), l = Ve.calculateBearing(f, d, c.mode === "RL", 2);
14429
14427
  let b;
14430
14428
  c.mode === "RL" ? b = q.convertToMonotonicLng([f, d]) : b = q.convertToMonotonicLng(Ve.interpolateCoordinates(f, d, 200));
14431
- const w = W.lineString(b.map((k) => [k.lng, k.lat]));
14432
- w.properties.dist = r, w.properties.bearing = l, a.features.push(w);
14429
+ const x = G.lineString(b.map((k) => [k.lng, k.lat]));
14430
+ x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
14433
14431
  }
14434
14432
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(a) : this.map.addSource(this.tmpSource, {
14435
14433
  type: "geojson",
@@ -14490,14 +14488,14 @@ const vh = {
14490
14488
  handleMove(t) {
14491
14489
  this.map.getCanvas().style.cursor = "crosshair";
14492
14490
  let e = this.geojson.at(-1);
14493
- e || (e = W.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e));
14491
+ e || (e = G.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e));
14494
14492
  const o = e.features.filter((i) => i.geometry.type === "Point");
14495
14493
  o != null && o.length && this.handleTmpPointUpdate(e, o.at(-1), { lng: t.lngLat.lng, lat: t.lngLat.lat });
14496
14494
  },
14497
14495
  handleDblClick(t) {
14498
14496
  t.preventDefault();
14499
14497
  let e = this.geojson.at(-1);
14500
- e.closed = !0, this.handleRender(e), e = W.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e), this.currentLineIndex++;
14498
+ e.closed = !0, this.handleRender(e), e = G.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e), this.currentLineIndex++;
14501
14499
  },
14502
14500
  handleRender(t) {
14503
14501
  var e;
@@ -14570,11 +14568,11 @@ const vh = {
14570
14568
  }
14571
14569
  },
14572
14570
  handleClear(t, e = !0) {
14573
- var l, m, c, f, d, b, w, k, y, _;
14571
+ var l, m, c, f, d, b, x, k, y, z;
14574
14572
  const o = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, a = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
14575
- (l = this.map) != null && l.getLayer(i) && this.map.removeLayer(i), (m = this.map) != null && m.getLayer(a) && this.map.removeLayer(a), (c = this.map) != null && c.getLayer(r) && this.map.removeLayer(r), (f = this.map) != null && f.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (d = this.map) != null && d.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (b = this.closeMarkers[t.id]) == null || b.remove(), this.closeMarkers[t.id] = void 0, (w = this.pointMarkers[t.id]) == null || w.forEach((T) => {
14573
+ (l = this.map) != null && l.getLayer(i) && this.map.removeLayer(i), (m = this.map) != null && m.getLayer(a) && this.map.removeLayer(a), (c = this.map) != null && c.getLayer(r) && this.map.removeLayer(r), (f = this.map) != null && f.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (d = this.map) != null && d.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (b = this.closeMarkers[t.id]) == null || b.remove(), this.closeMarkers[t.id] = void 0, (x = this.pointMarkers[t.id]) == null || x.forEach((T) => {
14576
14574
  T == null || T.remove();
14577
- }), this.pointMarkers[t.id] = [], (k = this.tipMarker) == null || k.remove(), this.tipMarker = void 0, e && ((y = this.map) != null && y.getSource(o)) && this.map.removeSource(o), e && ((_ = this.map) != null && _.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
14575
+ }), this.pointMarkers[t.id] = [], (k = this.tipMarker) == null || k.remove(), this.tipMarker = void 0, e && ((y = this.map) != null && y.getSource(o)) && this.map.removeSource(o), e && ((z = this.map) != null && z.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
14578
14576
  }
14579
14577
  }
14580
14578
  }, _h = { class: "idm-gl4-measure" };
@@ -14609,7 +14607,7 @@ function kh(t, e, o, i, a, r) {
14609
14607
  ], 4)
14610
14608
  ]);
14611
14609
  }
14612
- const zh = /* @__PURE__ */ X(vh, [["render", kh]]);
14610
+ const zh = /* @__PURE__ */ Z(vh, [["render", kh]]);
14613
14611
  const Lh = {
14614
14612
  name: "IdmBottomBar",
14615
14613
  components: { DateTimePicker: Mo },
@@ -14740,7 +14738,7 @@ const Lh = {
14740
14738
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
14741
14739
  }, Ih = ["onClick"], Rh = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Ah = { class: "text-body-1" };
14742
14740
  function Oh(t, e, o, i, a, r) {
14743
- const l = v("DateTimePicker"), m = v("VListItemTitle"), c = v("VListItem"), f = v("VList"), d = v("VMenu"), b = v("VBtn"), w = v("VDivider"), k = v("VTooltip");
14741
+ const l = v("DateTimePicker"), m = v("VListItemTitle"), c = v("VListItem"), f = v("VList"), d = v("VMenu"), b = v("VBtn"), x = v("VDivider"), k = v("VTooltip");
14744
14742
  return g(), S("div", Ph, [
14745
14743
  s("div", {
14746
14744
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
@@ -14771,8 +14769,8 @@ function Oh(t, e, o, i, a, r) {
14771
14769
  default: u(() => [
14772
14770
  p(f, { class: "pa-1" }, {
14773
14771
  default: u(() => [
14774
- (g(!0), S(xe, null, ke(a.intervalOptions, (y, _) => (g(), A(c, {
14775
- key: _,
14772
+ (g(!0), S(xe, null, ke(a.intervalOptions, (y, z) => (g(), A(c, {
14773
+ key: z,
14776
14774
  value: y,
14777
14775
  variant: a.intervalHour === y ? "tonal" : "text",
14778
14776
  color: "primary",
@@ -14805,7 +14803,7 @@ function Oh(t, e, o, i, a, r) {
14805
14803
  _: 1
14806
14804
  })
14807
14805
  ]),
14808
- p(w, {
14806
+ p(x, {
14809
14807
  vertical: "",
14810
14808
  class: "mx-2 my-3",
14811
14809
  style: { height: "16px" }
@@ -14878,7 +14876,7 @@ function Oh(t, e, o, i, a, r) {
14878
14876
  __: [14]
14879
14877
  }, 8, ["onClick"])
14880
14878
  ]),
14881
- p(w, {
14879
+ p(x, {
14882
14880
  vertical: "",
14883
14881
  class: "mx-2 my-3",
14884
14882
  style: { height: "16px" }
@@ -14889,11 +14887,11 @@ function Oh(t, e, o, i, a, r) {
14889
14887
  location: "top"
14890
14888
  }, {
14891
14889
  activator: u(({ props: y }) => {
14892
- var _, T;
14890
+ var z, T;
14893
14891
  return [
14894
14892
  p(b, j(y, {
14895
14893
  class: "pa-1 d-flex",
14896
- color: (_ = o.weatherCheckList) != null && _.includes("wind") ? "primary" : "",
14894
+ color: (z = o.weatherCheckList) != null && z.includes("wind") ? "primary" : "",
14897
14895
  variant: (T = o.weatherCheckList) != null && T.includes("wind") ? "elevated" : "text",
14898
14896
  height: "24",
14899
14897
  width: "24",
@@ -14915,11 +14913,11 @@ function Oh(t, e, o, i, a, r) {
14915
14913
  location: "top"
14916
14914
  }, {
14917
14915
  activator: u(({ props: y }) => {
14918
- var _, T;
14916
+ var z, T;
14919
14917
  return [
14920
14918
  p(b, j(y, {
14921
14919
  class: "pa-1 d-flex",
14922
- color: (_ = o.weatherCheckList) != null && _.includes("sig-wave-height") ? "primary" : "",
14920
+ color: (z = o.weatherCheckList) != null && z.includes("sig-wave-height") ? "primary" : "",
14923
14921
  variant: (T = o.weatherCheckList) != null && T.includes("sig-wave-height") ? "elevated" : "text",
14924
14922
  height: "24",
14925
14923
  width: "24",
@@ -14940,11 +14938,11 @@ function Oh(t, e, o, i, a, r) {
14940
14938
  location: "top"
14941
14939
  }, {
14942
14940
  activator: u(({ props: y }) => {
14943
- var _, T;
14941
+ var z, T;
14944
14942
  return [
14945
14943
  p(b, j(y, {
14946
14944
  class: "pa-1 d-flex",
14947
- color: (_ = o.weatherCheckList) != null && _.includes("current-direction") ? "primary" : "",
14945
+ color: (z = o.weatherCheckList) != null && z.includes("current-direction") ? "primary" : "",
14948
14946
  variant: (T = o.weatherCheckList) != null && T.includes("current-direction") ? "elevated" : "text",
14949
14947
  height: "24",
14950
14948
  width: "24",
@@ -14982,7 +14980,7 @@ function Oh(t, e, o, i, a, r) {
14982
14980
  _: 1
14983
14981
  }, 8, ["text"])
14984
14982
  ]),
14985
- p(w, {
14983
+ p(x, {
14986
14984
  vertical: "",
14987
14985
  class: "mx-2 mr-3 my-3",
14988
14986
  style: { height: "16px" }
@@ -15024,9 +15022,9 @@ function Oh(t, e, o, i, a, r) {
15024
15022
  (g(!0), S(xe, null, ke(a.offsets, (y) => (g(), S("div", {
15025
15023
  key: y,
15026
15024
  class: "item rounded text-body-2 hover-active",
15027
- onClick: (_) => a.timeZone = y
15025
+ onClick: (z) => a.timeZone = y
15028
15026
  }, n(y < 0 ? y : "+" + y), 9, Ih))), 128))
15029
- ])) : R("", !0),
15027
+ ])) : D("", !0),
15030
15028
  s("div", Rh, [
15031
15029
  p(b, {
15032
15030
  text: "",
@@ -15046,7 +15044,7 @@ function Oh(t, e, o, i, a, r) {
15046
15044
  ], 4)
15047
15045
  ]);
15048
15046
  }
15049
- const Bh = /* @__PURE__ */ X(Lh, [["render", Oh]]);
15047
+ const Bh = /* @__PURE__ */ Z(Lh, [["render", Oh]]);
15050
15048
  const jh = {
15051
15049
  name: "IdmTimePlayer",
15052
15050
  components: { DateTimePicker: Mo },
@@ -15254,7 +15252,7 @@ function Nh(t, e, o, i, a, r) {
15254
15252
  ])
15255
15253
  ], 4);
15256
15254
  }
15257
- const Ja = /* @__PURE__ */ X(jh, [["render", Nh]]), Fh = {
15255
+ const Ja = /* @__PURE__ */ Z(jh, [["render", Nh]]), Fh = {
15258
15256
  name: "IdmGL4",
15259
15257
  components: {
15260
15258
  IdmOtherLayer: pl,
@@ -15323,7 +15321,7 @@ const Ja = /* @__PURE__ */ X(jh, [["render", Nh]]), Fh = {
15323
15321
  class: "map-gl4-home"
15324
15322
  };
15325
15323
  function Gh(t, e, o, i, a, r) {
15326
- const l = v("IdmOtherLayer"), m = v("IdmWeatherLayer"), c = v("IdmTropicals"), f = v("IdmMeasure"), d = v("IdmSpot"), b = v("IdmBottomBar"), w = v("IdmTimePlayer");
15324
+ const l = v("IdmOtherLayer"), m = v("IdmWeatherLayer"), c = v("IdmTropicals"), f = v("IdmMeasure"), d = v("IdmSpot"), b = v("IdmBottomBar"), x = v("IdmTimePlayer");
15327
15325
  return g(), S("div", Hh, [
15328
15326
  p(l, j({
15329
15327
  ref: "idmOtherLayers",
@@ -15387,32 +15385,32 @@ function Gh(t, e, o, i, a, r) {
15387
15385
  "forecast-model": o.forecastModel,
15388
15386
  "map-feather": o.mapFeather
15389
15387
  }, t.$attrs), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "forecast-model", "map-feather"]),
15390
- o.simple ? R("", !0) : (g(), A(b, j({
15388
+ o.simple ? D("", !0) : (g(), A(b, j({
15391
15389
  key: 0,
15392
15390
  ref: "idmBottomBar",
15393
15391
  "forecast-model": o.forecastModel,
15394
15392
  "weather-check-list": a.weatherCheckList,
15395
15393
  "map-feather": o.mapFeather
15396
15394
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])),
15397
- o.simple ? (g(), A(w, j({
15395
+ o.simple ? (g(), A(x, j({
15398
15396
  key: 1,
15399
15397
  ref: "idmBottomBar",
15400
15398
  "weather-check-list": a.weatherCheckList,
15401
15399
  "map-feather": o.mapFeather,
15402
15400
  playerBottom: 30
15403
- }, t.$attrs), null, 16, ["weather-check-list", "map-feather"])) : R("", !0)
15401
+ }, t.$attrs), null, 16, ["weather-check-list", "map-feather"])) : D("", !0)
15404
15402
  ], 512);
15405
15403
  }
15406
- const Wh = /* @__PURE__ */ X(Fh, [["render", Gh]]);
15404
+ const Wh = /* @__PURE__ */ Z(Fh, [["render", Gh]]);
15407
15405
  class Uh {
15408
15406
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
15409
- pe(this, "originStyle");
15410
- pe(this, "mapboxStyle");
15411
- pe(this, "i4");
15412
- pe(this, "hi");
15413
- pe(this, "td");
15414
- pe(this, "windy");
15415
- var o, i, a, r, l, m, c, f, d, b, w, k, y, _, T, B, D, x, L, P, C, z, I, F, G, Y, Z, Q, $, J, le, ne, se, ie, me, ue, he, de, O, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, fe, Re, U, ye, ae, re, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, V, Xe, qe, Ke, Le, Je, Qe, $e, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, St, Mt, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Ao, Oo, Bo, jo, Eo, No, Fo, Ho, Go, Wo, Uo, Vo, Yo, Zo, Xo, qo, Ko, Jo, Qo, $o, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ta, Ca, Sa, Ma, Da, Ia, Ra, Aa, Oa, Ba, ja, Ea, Na, Fa, Ha, Ga, Wa, Ua;
15407
+ de(this, "originStyle");
15408
+ de(this, "mapboxStyle");
15409
+ de(this, "i4");
15410
+ de(this, "hi");
15411
+ de(this, "td");
15412
+ de(this, "windy");
15413
+ var o, i, a, r, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, fe, Re, W, ye, ae, re, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, Je, Qe, $e, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, St, Mt, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Ao, Oo, Bo, jo, Eo, No, Fo, Ho, Go, Wo, Uo, Vo, Yo, Zo, Xo, qo, Ko, Jo, Qo, $o, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ta, Ca, Sa, Ma, Da, Ia, Ra, Aa, Oa, Ba, ja, Ea, Na, Fa, Ha, Ga, Wa, Ua;
15416
15414
  this.i4 = {
15417
15415
  source: {
15418
15416
  type: "raster",
@@ -34058,20 +34056,20 @@ class Uh {
34058
34056
  (m = (l = this.originStyle) == null ? void 0 : l.light.layers) == null ? void 0 : m.find((h) => h.id === "ice-area-fill"),
34059
34057
  (f = (c = this.originStyle) == null ? void 0 : c.light.layers) == null ? void 0 : f.find((h) => h.id === "ice-area-line"),
34060
34058
  (b = (d = this.originStyle) == null ? void 0 : d.light.layers) == null ? void 0 : b.find((h) => h.id === "loadlines-label"),
34061
- (k = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : k.find((h) => h.id === "loadlines-fill"),
34062
- (_ = (y = this.originStyle) == null ? void 0 : y.light.layers) == null ? void 0 : _.find((h) => h.id === "empty-layer-0"),
34059
+ (k = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : k.find((h) => h.id === "loadlines-fill"),
34060
+ (z = (y = this.originStyle) == null ? void 0 : y.light.layers) == null ? void 0 : z.find((h) => h.id === "empty-layer-0"),
34063
34061
  (B = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : B.find((h) => h.id === "empty-layer-1"),
34064
- (x = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : x.find((h) => h.id === "country-boundaries"),
34062
+ (w = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : w.find((h) => h.id === "country-boundaries"),
34065
34063
  (P = (L = this.originStyle) == null ? void 0 : L.light.layers) == null ? void 0 : P.find((h) => h.id === "water-outline"),
34066
- (z = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : z.find((h) => h.id === "water-outline2"),
34067
- (F = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : F.find((h) => h.id === "empty-layer-2"),
34068
- (Y = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : Y.find((h) => h.id === "water-line-label"),
34069
- (Q = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : Q.find((h) => h.id === "water-point-label"),
34064
+ (_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((h) => h.id === "water-outline2"),
34065
+ (F = (R = this.originStyle) == null ? void 0 : R.light.layers) == null ? void 0 : F.find((h) => h.id === "empty-layer-2"),
34066
+ (X = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : X.find((h) => h.id === "water-line-label"),
34067
+ (Q = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : Q.find((h) => h.id === "water-point-label"),
34070
34068
  (J = ($ = this.originStyle) == null ? void 0 : $.light.layers) == null ? void 0 : J.find((h) => h.id === "world-12nm-v4-20231025"),
34071
- (ne = (le = this.originStyle) == null ? void 0 : le.light.layers) == null ? void 0 : ne.find((h) => h.id === "ne-10m-outline"),
34072
- (ie = (se = this.originStyle) == null ? void 0 : se.light.layers) == null ? void 0 : ie.find((h) => h.id === "ne-10m-label"),
34073
- (ue = (me = this.originStyle) == null ? void 0 : me.light.layers) == null ? void 0 : ue.find((h) => h.id === "china-route-line"),
34074
- (de = (he = this.originStyle) == null ? void 0 : he.light.layers) == null ? void 0 : de.find((h) => h.id === "china-route-fill"),
34069
+ (le = (se = this.originStyle) == null ? void 0 : se.light.layers) == null ? void 0 : le.find((h) => h.id === "ne-10m-outline"),
34070
+ (ie = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : ie.find((h) => h.id === "ne-10m-label"),
34071
+ (ue = (ce = this.originStyle) == null ? void 0 : ce.light.layers) == null ? void 0 : ue.find((h) => h.id === "china-route-line"),
34072
+ (he = (me = this.originStyle) == null ? void 0 : me.light.layers) == null ? void 0 : he.find((h) => h.id === "china-route-fill"),
34075
34073
  (te = (O = this.originStyle) == null ? void 0 : O.light.layers) == null ? void 0 : te.find((h) => h.id === "china-route-label"),
34076
34074
  (ve = (be = this.originStyle) == null ? void 0 : be.light.layers) == null ? void 0 : ve.find((h) => h.id === "admin-0-boundary-bg"),
34077
34075
  (Te = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : Te.find((h) => h.id === "admin-0-boundary"),
@@ -34079,7 +34077,7 @@ class Uh {
34079
34077
  (H = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : H.find((h) => h.id === "country-label"),
34080
34078
  (He = (oe = this.originStyle) == null ? void 0 : oe.light.layers) == null ? void 0 : He.find((h) => h.id === "continent-label"),
34081
34079
  (fe = (Oe = this.originStyle) == null ? void 0 : Oe.light.layers) == null ? void 0 : fe.find((h) => h.id === "tide-stations"),
34082
- (U = (Re = this.originStyle) == null ? void 0 : Re.light.layers) == null ? void 0 : U.find((h) => h.id === "empty-layer-3"),
34080
+ (W = (Re = this.originStyle) == null ? void 0 : Re.light.layers) == null ? void 0 : W.find((h) => h.id === "empty-layer-3"),
34083
34081
  (ae = (ye = this.originStyle) == null ? void 0 : ye.light.layers) == null ? void 0 : ae.find((h) => h.id === "empty-layer-4")
34084
34082
  ]
34085
34083
  },
@@ -34108,7 +34106,7 @@ class Uh {
34108
34106
  (Be = (we = this.originStyle) == null ? void 0 : we.dark.layers) == null ? void 0 : Be.find((h) => h.id === "land"),
34109
34107
  (Ne = (Ee = this.originStyle) == null ? void 0 : Ee.dark.layers) == null ? void 0 : Ne.find((h) => h.id === "water"),
34110
34108
  (Ue = (N = this.originStyle) == null ? void 0 : N.dark.layers) == null ? void 0 : Ue.find((h) => h.id === "ice-area-fill"),
34111
- (Xe = (V = this.originStyle) == null ? void 0 : V.dark.layers) == null ? void 0 : Xe.find((h) => h.id === "ice-area-line"),
34109
+ (Xe = (U = this.originStyle) == null ? void 0 : U.dark.layers) == null ? void 0 : Xe.find((h) => h.id === "ice-area-line"),
34112
34110
  (Ke = (qe = this.originStyle) == null ? void 0 : qe.dark.layers) == null ? void 0 : Ke.find((h) => h.id === "loadlines-label"),
34113
34111
  (Je = (Le = this.originStyle) == null ? void 0 : Le.dark.layers) == null ? void 0 : Je.find((h) => h.id === "loadlines-fill"),
34114
34112
  ($e = (Qe = this.originStyle) == null ? void 0 : Qe.dark.layers) == null ? void 0 : $e.find((h) => h.id === "empty-layer-0"),
@@ -34416,8 +34414,8 @@ function Kh(t, e, o, i, a, r) {
34416
34414
  __: [0]
34417
34415
  }, 8, ["onClick"])
34418
34416
  ])
34419
- ], 4)) : R("", !0),
34420
- o.simple ? R("", !0) : (g(), S("div", {
34417
+ ], 4)) : D("", !0),
34418
+ o.simple ? D("", !0) : (g(), S("div", {
34421
34419
  key: 1,
34422
34420
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
34423
34421
  style: ee({ top: o.top + 268 + "px", right: a.right + "px", height: "112px" })
@@ -34452,7 +34450,7 @@ function Kh(t, e, o, i, a, r) {
34452
34450
  }, 8, ["onClick"])
34453
34451
  ])
34454
34452
  ], 4)),
34455
- o.simple ? R("", !0) : (g(), S("div", qh, [
34453
+ o.simple ? D("", !0) : (g(), S("div", qh, [
34456
34454
  e[3] || (e[3] = s("span", null, "© 2023", -1)),
34457
34455
  s("span", null, "-" + n(r.computeYear), 1),
34458
34456
  e[4] || (e[4] = s("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
@@ -34464,7 +34462,7 @@ function Kh(t, e, o, i, a, r) {
34464
34462
  ]))
34465
34463
  ], 4);
34466
34464
  }
34467
- const Jh = /* @__PURE__ */ X(Vh, [["render", Kh]]), cd = {
34465
+ const Jh = /* @__PURE__ */ Z(Vh, [["render", Kh]]), cd = {
34468
34466
  install(t) {
34469
34467
  t.component("MapInitial", Jh), t.component("MapboxGL", Wh), t.component("TropicalGL", qa), t.component("LatLngGL", Xa), t.component("DateTimePicker", Mo), t.component("DateRangePicker", Ka), t.component("PortDetail", Do), t.component("TimePlayer", Ja);
34470
34468
  }
@@ -34483,5 +34481,5 @@ export {
34483
34481
  qa as TropicalGL,
34484
34482
  Io as Viewport,
34485
34483
  Fe as WebGL,
34486
- ce as WebGLSchema
34484
+ ne as WebGLSchema
34487
34485
  };