@idmwx/idmui-gl4 1.3.1 → 1.3.5

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
@@ -1482,10 +1482,10 @@ const ui = {
1482
1482
  { label: "Swell", key: "weather.swell", unit: "m" },
1483
1483
  { label: "Current", key: "weather.current", unit: "kts" }
1484
1484
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1485
- var c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe;
1485
+ var c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe;
1486
1486
  let r = {};
1487
1487
  const s = ((c = ao.pickHourly(t, D(i))) == null ? void 0 : c[0]) || {};
1488
- r.utc = s.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = s.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((g = s == null ? void 0 : s.weather) == null ? void 0 : g.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((y = (p = s == null ? void 0 : s.weather) == null ? void 0 : p.precip) == null ? void 0 : y.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((_ = (w = s == null ? void 0 : s.weather) == null ? void 0 : w.precip) == null ? void 0 : _.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = s == null ? void 0 : s.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (z = s == null ? void 0 : s.weather) == null ? void 0 : z.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = s == null ? void 0 : s.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((k = (P = s == null ? void 0 : s.weather) == null ? void 0 : P.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (L = s == null ? void 0 : s.weather) == null ? void 0 : L.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (v = s == null ? void 0 : s.wave) == null ? void 0 : v.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (Z = (W = s == null ? void 0 : s.wave) == null ? void 0 : W.sig) == null ? void 0 : Z.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (q = s == null ? void 0 : s.wave) == null ? void 0 : q.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ee = (Q = s == null ? void 0 : s.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.height, 1) ?? "-", r.windwaveDir = (re = (J = s == null ? void 0 : s.wave) == null ? void 0 : J.wd) == null ? void 0 : re.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (he = s == null ? void 0 : s.wave) == null ? void 0 : he.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision(($ = (ne = s == null ? void 0 : s.wave) == null ? void 0 : ne.swell) == null ? void 0 : $.height, 1) ?? "-", r.swellDir = (ue = (ae = s == null ? void 0 : s.wave) == null ? void 0 : ae.swell) == null ? void 0 : ue.direction, r.swellPeriod = this.computeRoundPrecision((F = (ce = s == null ? void 0 : s.wave) == null ? void 0 : ce.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = s == null ? void 0 : s.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = s == null ? void 0 : s.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = s == null ? void 0 : s.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(s == null ? void 0 : s.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(s == null ? void 0 : s.sst, 0) ?? "-", r.weatherUrls = (Pe = s == null ? void 0 : s.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;
1488
+ r.utc = s.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = s.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((g = s == null ? void 0 : s.weather) == null ? void 0 : g.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((f = (p = s == null ? void 0 : s.weather) == null ? void 0 : p.precip) == null ? void 0 : f.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((L = (w = s == null ? void 0 : s.weather) == null ? void 0 : w.precip) == null ? void 0 : L.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((y = s == null ? void 0 : s.weather) == null ? void 0 : y.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (k = s == null ? void 0 : s.weather) == null ? void 0 : k.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = s == null ? void 0 : s.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((_ = (P = s == null ? void 0 : s.weather) == null ? void 0 : P.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (z = s == null ? void 0 : s.weather) == null ? void 0 : z.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (v = s == null ? void 0 : s.wave) == null ? void 0 : v.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (Z = (W = s == null ? void 0 : s.wave) == null ? void 0 : W.sig) == null ? void 0 : Z.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (q = s == null ? void 0 : s.wave) == null ? void 0 : q.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ee = (Q = s == null ? void 0 : s.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.height, 1) ?? "-", r.windwaveDir = (re = (J = s == null ? void 0 : s.wave) == null ? void 0 : J.wd) == null ? void 0 : re.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (he = s == null ? void 0 : s.wave) == null ? void 0 : he.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision(($ = (ne = s == null ? void 0 : s.wave) == null ? void 0 : ne.swell) == null ? void 0 : $.height, 1) ?? "-", r.swellDir = (ue = (ae = s == null ? void 0 : s.wave) == null ? void 0 : ae.swell) == null ? void 0 : ue.direction, r.swellPeriod = this.computeRoundPrecision((F = (ce = s == null ? void 0 : s.wave) == null ? void 0 : ce.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = s == null ? void 0 : s.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = s == null ? void 0 : s.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = s == null ? void 0 : s.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(s == null ? void 0 : s.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(s == null ? void 0 : s.sst, 0) ?? "-", r.weatherUrls = (Pe = s == null ? void 0 : s.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;
1489
1489
  });
1490
1490
  },
1491
1491
  handleTide() {
@@ -1670,19 +1670,19 @@ const ui = {
1670
1670
  width: "120"
1671
1671
  }, ur = { class: "px-1 text-center" }, gr = { class: "px-1 text-center" }, fr = { class: "px-1 text-center" };
1672
1672
  function yr(t, e, o, i, a, r) {
1673
- const s = x("VBtn"), c = x("VCardTitle"), n = x("VDivider"), g = x("VIcon"), p = x("VBtnToggle"), y = x("VCard");
1674
- return b(), R(y, { class: "port-detail-container d-flex flex-column justify-start align-center" }, {
1673
+ const s = x("VBtn"), c = x("VCardTitle"), n = x("VDivider"), g = x("VIcon"), p = x("VBtnToggle"), f = x("VCard");
1674
+ return b(), R(f, { class: "port-detail-container d-flex flex-column justify-start align-center" }, {
1675
1675
  default: u(() => {
1676
- var w, _;
1676
+ var w, L;
1677
1677
  return [
1678
1678
  h(c, { class: "w-100" }, {
1679
1679
  default: u(() => {
1680
- var f, z, T, O, I;
1680
+ var y, k, T, O, I;
1681
1681
  return [
1682
1682
  l("div", gi, [
1683
1683
  l("div", fi, [
1684
1684
  l("div", {
1685
- class: Ge(["fi mr-2 rounded elevation-4", `fi-${(f = o.port) != null && f.cntLoCode ? (T = (z = o.port) == null ? void 0 : z.cntLoCode) == null ? void 0 : T.toLowerCase() : "xx"}`]),
1685
+ class: Ge(["fi mr-2 rounded elevation-4", `fi-${(y = o.port) != null && y.cntLoCode ? (T = (k = o.port) == null ? void 0 : k.cntLoCode) == null ? void 0 : T.toLowerCase() : "xx"}`]),
1686
1686
  style: { width: "36px", height: "24px" }
1687
1687
  }, null, 2),
1688
1688
  l("div", null, m((O = o.port) == null ? void 0 : O.name), 1)
@@ -1714,9 +1714,9 @@ function yr(t, e, o, i, a, r) {
1714
1714
  }),
1715
1715
  h(n, { class: "w-100" }),
1716
1716
  l("div", bi, [
1717
- o.followList.some((f) => {
1718
- var z;
1719
- return ((z = f.port) == null ? void 0 : z.id) === o.portId;
1717
+ o.followList.some((y) => {
1718
+ var k;
1719
+ return ((k = y.port) == null ? void 0 : k.id) === o.portId;
1720
1720
  }) ? (b(), R(s, {
1721
1721
  key: 0,
1722
1722
  class: "text-none text-body-1 rounded flex-1-1-0",
@@ -1776,7 +1776,7 @@ function yr(t, e, o, i, a, r) {
1776
1776
  l("div", Li, [
1777
1777
  l("div", Pi, [
1778
1778
  l("div", Ci, m(t.$t("port.region")), 1),
1779
- l("div", Ti, m(((w = o.port) == null ? void 0 : w.region) ?? ((_ = o.port) == null ? void 0 : _.city) ?? "-"), 1)
1779
+ l("div", Ti, m(((w = o.port) == null ? void 0 : w.region) ?? ((L = o.port) == null ? void 0 : L.city) ?? "-"), 1)
1780
1780
  ]),
1781
1781
  l("div", Si, [
1782
1782
  l("div", Ii, m(t.$t("port.position")), 1),
@@ -1803,7 +1803,7 @@ function yr(t, e, o, i, a, r) {
1803
1803
  l("div", Fi, [
1804
1804
  h(p, {
1805
1805
  modelValue: a.currentIndex,
1806
- "onUpdate:modelValue": e[0] || (e[0] = (f) => a.currentIndex = f),
1806
+ "onUpdate:modelValue": e[0] || (e[0] = (y) => a.currentIndex = y),
1807
1807
  class: "w-100 gray-card rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
1808
1808
  density: "compact",
1809
1809
  group: "",
@@ -1812,15 +1812,15 @@ function yr(t, e, o, i, a, r) {
1812
1812
  rounded: "1"
1813
1813
  }, {
1814
1814
  default: u(() => [
1815
- (b(!0), S(be, null, we(r.dateList, (f) => (b(), R(s, {
1815
+ (b(!0), S(be, null, we(r.dateList, (y) => (b(), R(s, {
1816
1816
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
1817
1817
  density: "compact",
1818
1818
  color: "primary",
1819
1819
  height: "26",
1820
- value: f.index
1820
+ value: y.index
1821
1821
  }, {
1822
1822
  default: u(() => [
1823
- j(m(f.label), 1)
1823
+ j(m(y.label), 1)
1824
1824
  ]),
1825
1825
  _: 2
1826
1826
  }, 1032, ["value"]))), 256))
@@ -1829,40 +1829,40 @@ function yr(t, e, o, i, a, r) {
1829
1829
  }, 8, ["modelValue"]),
1830
1830
  l("table", Hi, [
1831
1831
  l("tbody", null, [
1832
- (b(!0), S(be, null, we(a.tableData, (f) => (b(), S("tr", {
1833
- key: f.id
1832
+ (b(!0), S(be, null, we(a.tableData, (y) => (b(), S("tr", {
1833
+ key: y.id
1834
1834
  }, [
1835
1835
  l("th", Ui, [
1836
- j(m(t.$t(`${f.key}`)) + " ", 1),
1837
- f.unit ? (b(), S("span", Wi, " ( " + m(f.unit) + " )", 1)) : M("", !0)
1836
+ j(m(t.$t(`${y.key}`)) + " ", 1),
1837
+ y.unit ? (b(), S("span", Wi, " ( " + m(y.unit) + " )", 1)) : M("", !0)
1838
1838
  ]),
1839
1839
  l("td", Gi, [
1840
- f.img ? (b(), S("img", {
1840
+ y.img ? (b(), S("img", {
1841
1841
  key: 0,
1842
- src: f == null ? void 0 : f.value0,
1842
+ src: y == null ? void 0 : y.value0,
1843
1843
  style: { height: "30px" }
1844
- }, null, 8, Vi)) : (b(), S("span", Zi, m((f == null ? void 0 : f.value0) ?? "-"), 1))
1844
+ }, null, 8, Vi)) : (b(), S("span", Zi, m((y == null ? void 0 : y.value0) ?? "-"), 1))
1845
1845
  ]),
1846
1846
  l("td", qi, [
1847
- f.img ? (b(), S("img", {
1847
+ y.img ? (b(), S("img", {
1848
1848
  key: 0,
1849
- src: f == null ? void 0 : f.value1,
1849
+ src: y == null ? void 0 : y.value1,
1850
1850
  style: { height: "30px" }
1851
- }, null, 8, Yi)) : (b(), S("span", Ki, m((f == null ? void 0 : f.value1) ?? "-"), 1))
1851
+ }, null, 8, Yi)) : (b(), S("span", Ki, m((y == null ? void 0 : y.value1) ?? "-"), 1))
1852
1852
  ]),
1853
1853
  l("td", Xi, [
1854
- f.img ? (b(), S("img", {
1854
+ y.img ? (b(), S("img", {
1855
1855
  key: 0,
1856
- src: f == null ? void 0 : f.value2,
1856
+ src: y == null ? void 0 : y.value2,
1857
1857
  style: { height: "30px" }
1858
- }, null, 8, $i)) : (b(), S("span", Ji, m((f == null ? void 0 : f.value2) ?? "-"), 1))
1858
+ }, null, 8, $i)) : (b(), S("span", Ji, m((y == null ? void 0 : y.value2) ?? "-"), 1))
1859
1859
  ]),
1860
1860
  l("td", Qi, [
1861
- f.img ? (b(), S("img", {
1861
+ y.img ? (b(), S("img", {
1862
1862
  key: 0,
1863
- src: f == null ? void 0 : f.value3,
1863
+ src: y == null ? void 0 : y.value3,
1864
1864
  style: { height: "30px" }
1865
- }, null, 8, er)) : (b(), S("span", tr, m((f == null ? void 0 : f.value3) ?? "-"), 1))
1865
+ }, null, 8, er)) : (b(), S("span", tr, m((y == null ? void 0 : y.value3) ?? "-"), 1))
1866
1866
  ])
1867
1867
  ]))), 128))
1868
1868
  ])
@@ -1886,7 +1886,7 @@ function yr(t, e, o, i, a, r) {
1886
1886
  density: "compact",
1887
1887
  variant: "plain",
1888
1888
  size: "small",
1889
- onClick: e[1] || (e[1] = (f) => a.showTideDetail = !1)
1889
+ onClick: e[1] || (e[1] = (y) => a.showTideDetail = !1)
1890
1890
  })) : (b(), R(s, {
1891
1891
  key: 1,
1892
1892
  icon: "mdi-eye-outline",
@@ -1906,12 +1906,12 @@ function yr(t, e, o, i, a, r) {
1906
1906
  l("th", hr, m(t.$t("time.time")) + " ( LT ) ", 1),
1907
1907
  l("th", pr, m(t.$t("tide.height")) + " ( m )", 1)
1908
1908
  ]),
1909
- (b(!0), S(be, null, we(a.tideTableData, (f, z) => {
1909
+ (b(!0), S(be, null, we(a.tideTableData, (y, k) => {
1910
1910
  var T;
1911
- return b(), S("tr", { key: z }, [
1912
- l("td", ur, m(t.$t(`tide.${(T = f == null ? void 0 : f.type) == null ? void 0 : T.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
1913
- l("td", gr, m(r.computeLocalTime(f == null ? void 0 : f.date, o.port, "MM-DD HH:mm")), 1),
1914
- l("td", fr, m((f == null ? void 0 : f.height) ?? "-") + " m", 1)
1911
+ return b(), S("tr", { key: k }, [
1912
+ l("td", ur, m(t.$t(`tide.${(T = y == null ? void 0 : y.type) == null ? void 0 : T.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
1913
+ l("td", gr, m(r.computeLocalTime(y == null ? void 0 : y.date, o.port, "MM-DD HH:mm")), 1),
1914
+ l("td", fr, m((y == null ? void 0 : y.height) ?? "-") + " m", 1)
1915
1915
  ]);
1916
1916
  }), 128))
1917
1917
  ])
@@ -1990,7 +1990,7 @@ const br = {
1990
1990
  "icon-offset": [0, -13],
1991
1991
  "icon-allow-overlap": !1,
1992
1992
  "icon-ignore-placement": !1,
1993
- "icon-avoid-edges": !1,
1993
+ // 'icon-avoid-edges': false,
1994
1994
  "icon-padding": 4,
1995
1995
  "text-anchor": "bottom",
1996
1996
  "text-field": "{name}",
@@ -2070,7 +2070,7 @@ function _r(t, e, o, i, a, r) {
2070
2070
  }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : M("", !0)
2071
2071
  ]);
2072
2072
  }
2073
- const kr = /* @__PURE__ */ K(br, [["render", _r], ["__scopeId", "data-v-8ef573b5"]]), zr = {
2073
+ const kr = /* @__PURE__ */ K(br, [["render", _r], ["__scopeId", "data-v-cbde3486"]]), zr = {
2074
2074
  name: "IdmLoadLine",
2075
2075
  props: {
2076
2076
  map: {
@@ -2938,15 +2938,15 @@ function Tl(t, e, o, i, a, r) {
2938
2938
  const s = x("VBtn"), c = x("v-card-title"), n = x("v-divider"), g = x("VBtnToggle"), p = x("v-card");
2939
2939
  return b(), R(p, { class: "tide-detail-container d-flex flex-column justify-start align-center" }, {
2940
2940
  default: u(() => {
2941
- var y, w;
2941
+ var f, w;
2942
2942
  return [
2943
2943
  h(c, { class: "w-100" }, {
2944
2944
  default: u(() => {
2945
- var _;
2945
+ var L;
2946
2946
  return [
2947
2947
  l("div", Kr, [
2948
2948
  l("div", Xr, [
2949
- l("div", null, m((_ = o.station) == null ? void 0 : _.name), 1)
2949
+ l("div", null, m((L = o.station) == null ? void 0 : L.name), 1)
2950
2950
  ]),
2951
2951
  h(s, {
2952
2952
  icon: "",
@@ -2986,7 +2986,7 @@ function Tl(t, e, o, i, a, r) {
2986
2986
  l("div", il, [
2987
2987
  l("div", rl, [
2988
2988
  l("div", ll, m(t.$t("tide.region")), 1),
2989
- l("div", sl, m(((y = o.station) == null ? void 0 : y.Country) ?? ((w = o.station) == null ? void 0 : w.city) ?? "-"), 1)
2989
+ l("div", sl, m(((f = o.station) == null ? void 0 : f.Country) ?? ((w = o.station) == null ? void 0 : w.city) ?? "-"), 1)
2990
2990
  ]),
2991
2991
  l("div", nl, [
2992
2992
  l("div", cl, m(t.$t("tide.position")), 1),
@@ -3013,7 +3013,7 @@ function Tl(t, e, o, i, a, r) {
3013
3013
  l("div", wl, [
3014
3014
  h(g, {
3015
3015
  modelValue: a.currentIndex,
3016
- "onUpdate:modelValue": e[0] || (e[0] = (_) => a.currentIndex = _),
3016
+ "onUpdate:modelValue": e[0] || (e[0] = (L) => a.currentIndex = L),
3017
3017
  class: "w-100 gray-card rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
3018
3018
  density: "compact",
3019
3019
  group: "",
@@ -3022,15 +3022,15 @@ function Tl(t, e, o, i, a, r) {
3022
3022
  rounded: "1"
3023
3023
  }, {
3024
3024
  default: u(() => [
3025
- (b(!0), S(be, null, we(r.dateList, (_) => (b(), R(s, {
3025
+ (b(!0), S(be, null, we(r.dateList, (L) => (b(), R(s, {
3026
3026
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
3027
3027
  density: "compact",
3028
3028
  color: "primary",
3029
3029
  height: "26",
3030
- value: _.index
3030
+ value: L.index
3031
3031
  }, {
3032
3032
  default: u(() => [
3033
- j(m(_.label), 1)
3033
+ j(m(L.label), 1)
3034
3034
  ]),
3035
3035
  _: 2
3036
3036
  }, 1032, ["value"]))), 256))
@@ -3045,12 +3045,12 @@ function Tl(t, e, o, i, a, r) {
3045
3045
  l("th", kl, m(t.$t("time.time")) + " ( LT )", 1),
3046
3046
  l("th", zl, m(t.$t("tide.height")) + " ( m )", 1)
3047
3047
  ]),
3048
- (b(!0), S(be, null, we(a.tideTableData, (_, f) => {
3049
- var z;
3050
- return b(), S("tr", { key: f }, [
3051
- l("td", Ll, m(t.$t(`tide.${(z = _ == null ? void 0 : _.type) == null ? void 0 : z.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3052
- l("td", Pl, m(r.computeLocalTime(_ == null ? void 0 : _.date, o.station, "MM-DD HH:mm")), 1),
3053
- l("td", Cl, m((_ == null ? void 0 : _.height) ?? "-") + " m", 1)
3048
+ (b(!0), S(be, null, we(a.tideTableData, (L, y) => {
3049
+ var k;
3050
+ return b(), S("tr", { key: y }, [
3051
+ l("td", Ll, m(t.$t(`tide.${(k = L == null ? void 0 : L.type) == null ? void 0 : k.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3052
+ l("td", Pl, m(r.computeLocalTime(L == null ? void 0 : L.date, o.station, "MM-DD HH:mm")), 1),
3053
+ l("td", Cl, m((L == null ? void 0 : L.height) ?? "-") + " m", 1)
3054
3054
  ]);
3055
3055
  }), 128))
3056
3056
  ])
@@ -5226,15 +5226,15 @@ const Yl = {
5226
5226
  var o, i, a, r, s, c, n, g, p;
5227
5227
  const e = t.features[0];
5228
5228
  if (e.properties) {
5229
- const y = e.properties;
5230
- y.lng = e.geometry.coordinates[0], y.lat = e.geometry.coordinates[1];
5231
- const w = D(), _ = (o = D(this.realTime)) == null ? void 0 : o.diff(w, "d", !0), f = {
5232
- lat: y.lat,
5233
- lng: y.lng,
5229
+ const f = e.properties;
5230
+ f.lng = e.geometry.coordinates[0], f.lat = e.geometry.coordinates[1];
5231
+ const w = D(), L = (o = D(this.realTime)) == null ? void 0 : o.diff(w, "d", !0), y = {
5232
+ lat: f.lat,
5233
+ lng: f.lng,
5234
5234
  datetime: this.realTime,
5235
5235
  forecastModel: this.forecastModel
5236
5236
  };
5237
- _ >= 0 ? (s = (r = (a = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmSpot) == null || s.fetchMeteoData(f) : (p = (g = (n = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : n.$refs) == null ? void 0 : g.idmSpot) == null || p.fetchHistoryData(f);
5237
+ L >= 0 ? (s = (r = (a = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmSpot) == null || s.fetchMeteoData(y) : (p = (g = (n = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : n.$refs) == null ? void 0 : g.idmSpot) == null || p.fetchHistoryData(y);
5238
5238
  }
5239
5239
  },
5240
5240
  handleHover(t) {
@@ -5454,8 +5454,8 @@ const es = {
5454
5454
  })
5455
5455
  );
5456
5456
  (await Promise.all(s)).map((n) => {
5457
- var y, w, _;
5458
- const g = ((y = n == null ? void 0 : n.data) == null ? void 0 : y.data) || (n == null ? void 0 : n.data), p = (_ = (w = n == null ? void 0 : n.config) == null ? void 0 : w.headers) == null ? void 0 : _.key;
5457
+ var f, w, L;
5458
+ const g = ((f = n == null ? void 0 : n.data) == null ? void 0 : f.data) || (n == null ? void 0 : n.data), p = (L = (w = n == null ? void 0 : n.config) == null ? void 0 : w.headers) == null ? void 0 : L.key;
5459
5459
  this.otherLayers[p] = g;
5460
5460
  });
5461
5461
  }
@@ -5494,7 +5494,7 @@ const es = {
5494
5494
  }, ds = { class: "text-body-2 text-center pt-1" };
5495
5495
  function hs(t, e, o, i, a, r) {
5496
5496
  var J, re, he, pe, ne, $, ae, ue, ce;
5497
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VCardItem"), p = x("VCheckbox"), y = x("VCardText"), w = x("VCard"), _ = x("IdmLatLng"), f = x("IdmTerminator"), z = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), P = x("IdmEcaZone"), k = x("IdmWarZone"), L = x("IdmGmdssArea"), C = x("IdmLoadLine"), v = x("IdmWorldMarine"), A = x("IdmVRA"), W = x("IdmSpecialArea"), Z = x("IdmWorld12nm"), q = x("IdmChinaRoute"), V = x("IdmIceAreas"), Q = x("IdmFollowPort"), ee = x("IdmFollowPosition");
5497
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VCardItem"), p = x("VCheckbox"), f = x("VCardText"), w = x("VCard"), L = x("IdmLatLng"), y = x("IdmTerminator"), k = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), P = x("IdmEcaZone"), _ = x("IdmWarZone"), z = x("IdmGmdssArea"), C = x("IdmLoadLine"), v = x("IdmWorldMarine"), A = x("IdmVRA"), W = x("IdmSpecialArea"), Z = x("IdmWorld12nm"), q = x("IdmChinaRoute"), V = x("IdmIceAreas"), Q = x("IdmFollowPort"), ee = x("IdmFollowPosition");
5498
5498
  return b(), S("div", ts, [
5499
5499
  l("div", {
5500
5500
  class: "menu-bar-box transition px-1 rounded",
@@ -5562,7 +5562,7 @@ function hs(t, e, o, i, a, r) {
5562
5562
  ]),
5563
5563
  _: 1
5564
5564
  }),
5565
- h(y, { class: "pb-2" }, {
5565
+ h(f, { class: "pb-2" }, {
5566
5566
  default: u(() => [
5567
5567
  l("div", rs, [
5568
5568
  (b(!0), S(be, null, we(a.mapFeathers, (F) => (b(), S("div", {
@@ -5615,7 +5615,7 @@ function hs(t, e, o, i, a, r) {
5615
5615
  ]),
5616
5616
  _: 1
5617
5617
  }),
5618
- h(y, { class: "py-2" }, {
5618
+ h(f, { class: "py-2" }, {
5619
5619
  default: u(() => [
5620
5620
  (b(!0), S(be, null, we(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), R(p, {
5621
5621
  key: F.key,
@@ -5654,7 +5654,7 @@ function hs(t, e, o, i, a, r) {
5654
5654
  ]),
5655
5655
  _: 1
5656
5656
  }),
5657
- h(y, { class: "py-2" }, {
5657
+ h(f, { class: "py-2" }, {
5658
5658
  default: u(() => [
5659
5659
  (b(!0), S(be, null, we(a.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), R(p, {
5660
5660
  key: F.key,
@@ -5693,7 +5693,7 @@ function hs(t, e, o, i, a, r) {
5693
5693
  ]),
5694
5694
  _: 1
5695
5695
  }),
5696
- h(y, { class: "py-2" }, {
5696
+ h(f, { class: "py-2" }, {
5697
5697
  default: u(() => [
5698
5698
  h(p, {
5699
5699
  modelValue: a.checkList,
@@ -5725,18 +5725,18 @@ function hs(t, e, o, i, a, r) {
5725
5725
  })
5726
5726
  ])
5727
5727
  ], 6),
5728
- o.map ? (b(), R(_, B({
5728
+ o.map ? (b(), R(L, B({
5729
5729
  key: 0,
5730
5730
  map: o.map,
5731
5731
  "menu-toggle": o.menuToggle,
5732
5732
  show: a.checkList.includes("graticule")
5733
5733
  }, t.$attrs), null, 16, ["map", "menu-toggle", "show"])) : M("", !0),
5734
- o.map ? (b(), R(f, B({
5734
+ o.map ? (b(), R(y, B({
5735
5735
  key: 1,
5736
5736
  map: o.map,
5737
5737
  area: (J = a.otherLayers) == null ? void 0 : J["day-night"]
5738
5738
  }, t.$attrs), null, 16, ["map", "area"])) : M("", !0),
5739
- o.map ? (b(), R(z, B({
5739
+ o.map ? (b(), R(k, B({
5740
5740
  key: 2,
5741
5741
  map: o.map,
5742
5742
  zone: (re = a.otherLayers) == null ? void 0 : re["time-zones"]
@@ -5776,12 +5776,12 @@ function hs(t, e, o, i, a, r) {
5776
5776
  map: o.map,
5777
5777
  zone: (ne = a.otherLayers) == null ? void 0 : ne["eca-zones"]
5778
5778
  }, t.$attrs), null, 16, ["map", "zone"])) : M("", !0),
5779
- o.map ? (b(), R(k, B({
5779
+ o.map ? (b(), R(_, B({
5780
5780
  key: 7,
5781
5781
  map: o.map,
5782
5782
  zone: ($ = a.otherLayers) == null ? void 0 : $["war-zones"]
5783
5783
  }, t.$attrs), null, 16, ["map", "zone"])) : M("", !0),
5784
- o.map ? (b(), R(L, B({
5784
+ o.map ? (b(), R(z, B({
5785
5785
  key: 8,
5786
5786
  map: o.map,
5787
5787
  area: (ae = a.otherLayers) == null ? void 0 : ae["gmdss-areas"]
@@ -5891,12 +5891,12 @@ class so {
5891
5891
  * @param [lb.x, lb.y, rt.x, rt.y]
5892
5892
  */
5893
5893
  getBoundPixel() {
5894
- var f, z;
5895
- const e = (f = this.map) == null ? void 0 : f.getBounds();
5894
+ var y, k;
5895
+ const e = (y = this.map) == null ? void 0 : y.getBounds();
5896
5896
  if (!e)
5897
5897
  return [];
5898
- 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, s] = this.convertNLng(i[0]), [c, n] = this.convertNLng(a[0]), [g, p] = this.mercator.px([r, i[1]], o), [y, w] = this.mercator.px([c, a[1]], o), _ = Math.round(this.mercator.size * Math.pow(2, o) * (s + n));
5899
- return [y, w, g + _, p];
5898
+ const o = ((k = this.map) == null ? void 0 : k.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, s] = this.convertNLng(i[0]), [c, n] = this.convertNLng(a[0]), [g, p] = this.mercator.px([r, i[1]], o), [f, w] = this.mercator.px([c, a[1]], o), L = Math.round(this.mercator.size * Math.pow(2, o) * (s + n));
5899
+ return [f, w, g + L, p];
5900
5900
  }
5901
5901
  /**
5902
5902
  * [视窗边界像素宽度]
@@ -5913,11 +5913,11 @@ class so {
5913
5913
  getWorldCopy(e, o) {
5914
5914
  const i = 2 ** o, [a, r, s, c] = e.map((p) => ~~(p / (i * 256))), n = [];
5915
5915
  for (let p = c; p <= r; p++)
5916
- for (let y = a; y <= s; y++)
5917
- n.push([y, p]);
5916
+ for (let f = a; f <= s; f++)
5917
+ n.push([f, p]);
5918
5918
  return n.map((p) => {
5919
- const y = 2 ** o * 256;
5920
- return [p[0] * y, p[1] * y, y];
5919
+ const f = 2 ** o * 256;
5920
+ return [p[0] * f, p[1] * f, f];
5921
5921
  });
5922
5922
  }
5923
5923
  resize() {
@@ -6061,8 +6061,8 @@ class je {
6061
6061
  return {};
6062
6062
  }
6063
6063
  bindParticle(e, o, i, a, r, s) {
6064
- const c = this.createProgramWrapper(e, o, i), n = this.createProgramWrapper(e, a, r), g = this.createProgramWrapper(e, a, s), p = this.createDataBuffer(e, "array", new Float32Array([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1])), y = e.createFramebuffer();
6065
- return { particle: c, screen: n, update: g, quadBuffer: p, frameBuffer: y };
6064
+ const c = this.createProgramWrapper(e, o, i), n = this.createProgramWrapper(e, a, r), g = this.createProgramWrapper(e, a, s), p = this.createDataBuffer(e, "array", new Float32Array([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1])), f = e.createFramebuffer();
6065
+ return { particle: c, screen: n, update: g, quadBuffer: p, frameBuffer: f };
6066
6066
  }
6067
6067
  draw(e, o, i, a, r, s, c) {
6068
6068
  var n, g;
@@ -6079,9 +6079,9 @@ class je {
6079
6079
  sRange: o.getUniformLocation(i, "u_range_s")
6080
6080
  };
6081
6081
  p.resolution && o.uniform2f(p.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), p.image && o.uniform1i(p.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), p.color && o.uniform1i(p.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (p.uvRange && o.uniform2f(p.uvRange, c.uvRange[0], c.uvRange[1]), p.sRange && o.uniform2f(p.sRange, c.sRange[0], c.sRange[1])), p.scale && o.uniform1f(p.scale, (c == null ? void 0 : c.scale) || 1);
6082
- const y = e.getBoundPixel(), w = e.map.getZoom() + 1, _ = e.getWorldCopy(y, w);
6083
- for (const f of _) {
6084
- const z = (f[0] - y[0]) * e.ratio, T = (f[1] - y[3]) * e.ratio, O = f[2] * e.ratio, [I, P, k, L] = [z, O + z, T, O + T], C = new Float32Array([I, k, P, k, I, L, I, L, P, k, P, L]);
6082
+ const f = e.getBoundPixel(), w = e.map.getZoom() + 1, L = e.getWorldCopy(f, w);
6083
+ for (const y of L) {
6084
+ const k = (y[0] - f[0]) * e.ratio, T = (y[1] - f[3]) * e.ratio, O = y[2] * e.ratio, [I, P, _, z] = [k, O + k, T, O + T], C = new Float32Array([I, _, P, _, I, z, I, z, P, _, P, z]);
6085
6085
  o.bindBuffer(o.ARRAY_BUFFER, s), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
6086
6086
  }
6087
6087
  } catch (p) {
@@ -6784,10 +6784,10 @@ const vs = /* @__PURE__ */ K(bs, [["render", xs]]), _s = {
6784
6784
  </svg>`;
6785
6785
  n.src = "data:image/svg+xml;base64," + window.btoa(g);
6786
6786
  const p = [n];
6787
- let y = 0;
6787
+ let f = 0;
6788
6788
  p.forEach((w) => {
6789
6789
  w.onload = () => {
6790
- y++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon", n), y === 1 && this.map.addLayer(
6790
+ f++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon", n), f === 1 && this.map.addLayer(
6791
6791
  {
6792
6792
  id: this.directionLayer,
6793
6793
  type: "symbol",
@@ -8642,11 +8642,11 @@ const wn = {
8642
8642
  (t == null ? void 0 : t.data.code) === 0 && (this.models = t == null ? void 0 : t.data.data);
8643
8643
  },
8644
8644
  async fetchWeatherLayers(t = {}) {
8645
- var a, r, s, c, n, g, p, y, w;
8645
+ var a, r, s, c, n, g, p, f, w;
8646
8646
  const e = (/* @__PURE__ */ new Date()).valueOf();
8647
8647
  let o = 0, i = 0;
8648
8648
  if (this.map) {
8649
- const _ = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, f = (r = this.map) == null ? void 0 : r.getBounds(), z = `${f._sw.lng},${f._sw.lat},${f._ne.lng},${f._ne.lat}`;
8649
+ const L = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, y = (r = this.map) == null ? void 0 : r.getBounds(), k = `${y._sw.lng},${y._sw.lat},${y._ne.lng},${y._ne.lat}`;
8650
8650
  if (this.particleFactor && ((s = this.$refs.layer) != null && s.autoActive)) {
8651
8651
  const T = io.WEATHER_LAYERS.find((O) => {
8652
8652
  var I;
@@ -8658,7 +8658,7 @@ const wn = {
8658
8658
  let T = this.weatherWeight;
8659
8659
  if (T > 0) {
8660
8660
  const O = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], I = await Se.get(
8661
- `${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${_}&bbox=${z}&t=${this.realTime}`,
8661
+ `${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${L}&bbox=${k}&t=${this.realTime}`,
8662
8662
  {
8663
8663
  headers: {
8664
8664
  Authorization: this.defaultMeteoToken
@@ -8666,9 +8666,9 @@ const wn = {
8666
8666
  }
8667
8667
  );
8668
8668
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((c = I == null ? void 0 : I.data) == null ? void 0 : c.code) === 0) {
8669
- const P = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, k = [];
8669
+ const P = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, _ = [];
8670
8670
  for (const C in P)
8671
- k.push(
8671
+ _.push(
8672
8672
  Se.get(P[C], {
8673
8673
  headers: {
8674
8674
  Authorization: this.defaultMeteoToken,
@@ -8679,8 +8679,8 @@ const wn = {
8679
8679
  console.log(`[${C}] fetch layer error: ${v}`);
8680
8680
  })
8681
8681
  );
8682
- const L = await Promise.all(k);
8683
- this.weatherLayers = {}, L.map((C) => {
8682
+ const z = await Promise.all(_);
8683
+ this.weatherLayers = {}, z.map((C) => {
8684
8684
  var W, Z, q, V;
8685
8685
  const v = ((W = C == null ? void 0 : C.data) == null ? void 0 : W.data) || (C == null ? void 0 : C.data);
8686
8686
  let A = (q = (Z = C == null ? void 0 : C.config) == null ? void 0 : Z.headers) == null ? void 0 : q.key;
@@ -8692,20 +8692,20 @@ const wn = {
8692
8692
  });
8693
8693
  }
8694
8694
  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"]) {
8695
- const P = (g = this.weatherLayers["swell-direction"]) == null ? void 0 : g.raw, k = (p = this.weatherLayers["swell-height"]) == null ? void 0 : p.raw;
8695
+ const P = (g = this.weatherLayers["swell-direction"]) == null ? void 0 : g.raw, _ = (p = this.weatherLayers["swell-height"]) == null ? void 0 : p.raw;
8696
8696
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
8697
8697
  type: "json",
8698
8698
  direction: P,
8699
- height: { raw: k },
8699
+ height: { raw: _ },
8700
8700
  etime: I.data.etime
8701
8701
  };
8702
8702
  }
8703
8703
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
8704
- const P = (y = this.weatherLayers["current-direction"]) == null ? void 0 : y.raw, k = (w = this.weatherLayers["current-speed"]) == null ? void 0 : w.raw;
8704
+ const P = (f = this.weatherLayers["current-direction"]) == null ? void 0 : f.raw, _ = (w = this.weatherLayers["current-speed"]) == null ? void 0 : w.raw;
8705
8705
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
8706
8706
  type: "json",
8707
8707
  direction: P,
8708
- speed: { raw: k },
8708
+ speed: { raw: _ },
8709
8709
  etime: I.data.etime
8710
8710
  };
8711
8711
  }
@@ -8728,7 +8728,7 @@ const wn = {
8728
8728
  t != null && t.sourceChanged || this.weatherWeight !== e ? (this.weatherWeight = e, this.fetchWeatherLayers()) : this.handleWeatherLayerToggle();
8729
8729
  },
8730
8730
  handleRampColorInitial() {
8731
- var t, e, o, i, a, r, s, c, n, g, p, y;
8731
+ var t, e, o, i, a, r, s, c, n, g, p, f;
8732
8732
  this.viewport.map.getSource((t = this.viewport) == null ? void 0 : t.rampColorSource) || this.viewport.map.addSource((e = this.viewport) == null ? void 0 : e.rampColorSource, {
8733
8733
  type: "canvas",
8734
8734
  canvas: (o = this.viewport) == null ? void 0 : o.rampColorCanvas,
@@ -8753,7 +8753,7 @@ const wn = {
8753
8753
  {
8754
8754
  type: "raster",
8755
8755
  id: (p = this.viewport) == null ? void 0 : p.particleLayer,
8756
- source: (y = this.viewport) == null ? void 0 : y.particleSource,
8756
+ source: (f = this.viewport) == null ? void 0 : f.particleSource,
8757
8757
  layout: {
8758
8758
  visibility: "none"
8759
8759
  }
@@ -8762,7 +8762,7 @@ const wn = {
8762
8762
  );
8763
8763
  },
8764
8764
  handleDrawWeather4Json() {
8765
- var g, p, y, w, _, f, z;
8765
+ var g, p, f, w, L, y, k;
8766
8766
  const t = (/* @__PURE__ */ new Date()).valueOf();
8767
8767
  let e = 0, o = 0;
8768
8768
  const i = (g = this.map) == null ? void 0 : g.getBounds(), a = (p = this.map) == null ? void 0 : p.getZoom(), r = X.convertToStdLng(i._sw.lng), s = X.convertToStdLng(i._ne.lng), c = Math.floor(i._sw.lat), n = Math.ceil(i._ne.lat);
@@ -8772,24 +8772,24 @@ const wn = {
8772
8772
  let I = [];
8773
8773
  if (T === "swell") {
8774
8774
  O = !0;
8775
- const P = ((y = this.weatherLayers[T]) == null ? void 0 : y.direction) || {};
8776
- for (const L in P)
8777
- if (L > c && L < n && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8778
- const C = P[L].lng;
8775
+ const P = ((f = this.weatherLayers[T]) == null ? void 0 : f.direction) || {};
8776
+ for (const z in P)
8777
+ if (z > c && z < n && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8778
+ const C = P[z].lng;
8779
8779
  r > s ? C.forEach((v, A) => {
8780
8780
  var W, Z, q, V, Q, ee;
8781
8781
  if (a < 2) {
8782
8782
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8783
- const J = U.point([v, L], {
8784
- val: ((W = P[L].val) == null ? void 0 : W[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8785
- spd: (q = P[L].spd) == null ? void 0 : q[A]
8783
+ const J = U.point([v, z], {
8784
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((Z = P[z].dir) == null ? void 0 : Z[A]),
8785
+ spd: (q = P[z].spd) == null ? void 0 : q[A]
8786
8786
  });
8787
8787
  I.push(J);
8788
8788
  }
8789
8789
  } else if ((v >= r && v <= 180 || v >= -180 && v <= s) && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8790
- const J = U.point([v, L], {
8791
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8792
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8790
+ const J = U.point([v, z], {
8791
+ val: ((V = P[z].val) == null ? void 0 : V[A]) || ((Q = P[z].dir) == null ? void 0 : Q[A]),
8792
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
8793
8793
  });
8794
8794
  I.push(J);
8795
8795
  }
@@ -8797,63 +8797,63 @@ const wn = {
8797
8797
  var W, Z, q, V, Q, ee;
8798
8798
  if (r < 2) {
8799
8799
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8800
- const J = U.point([v, L], {
8801
- val: ((W = P[L].val) == null ? void 0 : W[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8802
- spd: (q = P[L].spd) == null ? void 0 : q[A]
8800
+ const J = U.point([v, z], {
8801
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((Z = P[z].dir) == null ? void 0 : Z[A]),
8802
+ spd: (q = P[z].spd) == null ? void 0 : q[A]
8803
8803
  });
8804
8804
  I.push(J);
8805
8805
  }
8806
8806
  } else if (v >= r && v <= s && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8807
- const J = U.point([v, L], {
8808
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8809
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8807
+ const J = U.point([v, z], {
8808
+ val: ((V = P[z].val) == null ? void 0 : V[A]) || ((Q = P[z].dir) == null ? void 0 : Q[A]),
8809
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
8810
8810
  });
8811
8811
  I.push(J);
8812
8812
  }
8813
8813
  });
8814
8814
  }
8815
8815
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell direction elapsed: ", o, ", total: ", e += o);
8816
- const k = this.weatherLayers[T].height;
8817
- if (k) {
8818
- if (!k.data) {
8819
- const L = [];
8820
- for (const C in (w = k.raw) == null ? void 0 : w.LineString) {
8821
- const v = k.raw.LineString[C];
8816
+ const _ = this.weatherLayers[T].height;
8817
+ if (_) {
8818
+ if (!_.data) {
8819
+ const z = [];
8820
+ for (const C in (w = _.raw) == null ? void 0 : w.LineString) {
8821
+ const v = _.raw.LineString[C];
8822
8822
  for (const A of v)
8823
- L.push(
8823
+ z.push(
8824
8824
  U.lineString(A, {
8825
8825
  val: Number(C)
8826
8826
  })
8827
8827
  );
8828
- k.data = U.featureCollection(L);
8828
+ _.data = U.featureCollection(z);
8829
8829
  }
8830
8830
  }
8831
- if (k.data) {
8832
- const L = this.handleBboxClip(k.data, i);
8833
- I = I.concat(L);
8831
+ if (_.data) {
8832
+ const z = this.handleBboxClip(_.data, i);
8833
+ I = I.concat(z);
8834
8834
  }
8835
8835
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
8836
8836
  }
8837
8837
  } else if (T === "current") {
8838
8838
  O = !0;
8839
- const P = ((_ = this.weatherLayers[T]) == null ? void 0 : _.direction) || {};
8840
- for (const L in P)
8841
- if (L > c && L < n && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8842
- const C = P[L].lng;
8839
+ const P = ((L = this.weatherLayers[T]) == null ? void 0 : L.direction) || {};
8840
+ for (const z in P)
8841
+ if (z > c && z < n && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8842
+ const C = P[z].lng;
8843
8843
  r > s ? C.forEach((v, A) => {
8844
8844
  var W, Z, q, V, Q, ee;
8845
8845
  if (a < 2) {
8846
8846
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8847
- const J = U.point([v, L], {
8848
- val: ((W = P[L].val) == null ? void 0 : W[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8849
- spd: (q = P[L].spd) == null ? void 0 : q[A]
8847
+ const J = U.point([v, z], {
8848
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((Z = P[z].dir) == null ? void 0 : Z[A]),
8849
+ spd: (q = P[z].spd) == null ? void 0 : q[A]
8850
8850
  });
8851
8851
  I.push(J);
8852
8852
  }
8853
8853
  } else if ((v >= r && v <= 180 || v >= -180 && v <= s) && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8854
- const J = U.point([v, L], {
8855
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8856
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8854
+ const J = U.point([v, z], {
8855
+ val: ((V = P[z].val) == null ? void 0 : V[A]) || ((Q = P[z].dir) == null ? void 0 : Q[A]),
8856
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
8857
8857
  });
8858
8858
  I.push(J);
8859
8859
  }
@@ -8861,28 +8861,28 @@ const wn = {
8861
8861
  var W, Z, q, V, Q, ee;
8862
8862
  if (r < 2) {
8863
8863
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8864
- const J = U.point([v, L], {
8865
- val: ((W = P[L].val) == null ? void 0 : W[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8866
- spd: (q = P[L].spd) == null ? void 0 : q[A]
8864
+ const J = U.point([v, z], {
8865
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((Z = P[z].dir) == null ? void 0 : Z[A]),
8866
+ spd: (q = P[z].spd) == null ? void 0 : q[A]
8867
8867
  });
8868
8868
  I.push(J);
8869
8869
  }
8870
8870
  } else if (v >= r && v <= s && (!(a <= this.zoom) || v % (a < this.zoom / 2 ? 5 : 3) === 0)) {
8871
- const J = U.point([v, L], {
8872
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8873
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8871
+ const J = U.point([v, z], {
8872
+ val: ((V = P[z].val) == null ? void 0 : V[A]) || ((Q = P[z].dir) == null ? void 0 : Q[A]),
8873
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
8874
8874
  });
8875
8875
  I.push(J);
8876
8876
  }
8877
8877
  });
8878
8878
  }
8879
8879
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current direction elapsed: ", o, ", total: ", e += o);
8880
- const k = this.weatherLayers[T].speed;
8881
- if (k) {
8882
- if (!k.data) {
8880
+ const _ = this.weatherLayers[T].speed;
8881
+ if (_) {
8882
+ if (!_.data) {
8883
8883
  const C = [];
8884
- for (const v in (f = k.raw) == null ? void 0 : f.Polygon) {
8885
- const A = k.raw.Polygon[v];
8884
+ for (const v in (y = _.raw) == null ? void 0 : y.Polygon) {
8885
+ const A = _.raw.Polygon[v];
8886
8886
  for (const W of A)
8887
8887
  C.push(
8888
8888
  U.polygon(W, {
@@ -8890,48 +8890,48 @@ const wn = {
8890
8890
  })
8891
8891
  );
8892
8892
  }
8893
- k.data = U.featureCollection(C);
8893
+ _.data = U.featureCollection(C);
8894
8894
  }
8895
- const L = a < this.zoom ? k.data.features.filter((C) => C.properties.val > 0.5) : k.data.features;
8896
- I = I.concat(L), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
8895
+ const z = a < this.zoom ? _.data.features.filter((C) => C.properties.val > 0.5) : _.data.features;
8896
+ I = I.concat(z), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
8897
8897
  }
8898
8898
  } else if (T === "wind") {
8899
8899
  O = !0;
8900
8900
  const P = this.weatherLayers.wind.raw;
8901
- for (const k in P)
8902
- if (k > c && k < n && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8903
- const L = P[k].lng;
8904
- r > s ? L.forEach((C, v) => {
8901
+ for (const _ in P)
8902
+ if (_ > c && _ < n && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8903
+ const z = P[_].lng;
8904
+ r > s ? z.forEach((C, v) => {
8905
8905
  var A, W, Z, q;
8906
8906
  if (a < 2) {
8907
8907
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8908
- const V = U.point([C, k], {
8909
- dir: ((A = P[k].val) == null ? void 0 : A[v]) || ((W = P[k].dir) == null ? void 0 : W[v]),
8910
- spd: P[k].spd[v]
8908
+ const V = U.point([C, _], {
8909
+ dir: ((A = P[_].val) == null ? void 0 : A[v]) || ((W = P[_].dir) == null ? void 0 : W[v]),
8910
+ spd: P[_].spd[v]
8911
8911
  });
8912
8912
  I.push(V);
8913
8913
  }
8914
8914
  } else if ((C >= r && C <= 180 || C >= -180 && C <= s) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8915
- const V = U.point([C, k], {
8916
- dir: ((Z = P[k].val) == null ? void 0 : Z[v]) || ((q = P[k].dir) == null ? void 0 : q[v]),
8917
- spd: P[k].spd[v]
8915
+ const V = U.point([C, _], {
8916
+ dir: ((Z = P[_].val) == null ? void 0 : Z[v]) || ((q = P[_].dir) == null ? void 0 : q[v]),
8917
+ spd: P[_].spd[v]
8918
8918
  });
8919
8919
  I.push(V);
8920
8920
  }
8921
- }) : L.forEach((C, v) => {
8921
+ }) : z.forEach((C, v) => {
8922
8922
  var A, W, Z, q;
8923
8923
  if (a < 2) {
8924
8924
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8925
- const V = U.point([C, k], {
8926
- dir: ((A = P[k].val) == null ? void 0 : A[v]) || ((W = P[k].dir) == null ? void 0 : W[v]),
8927
- spd: P[k].spd[v]
8925
+ const V = U.point([C, _], {
8926
+ dir: ((A = P[_].val) == null ? void 0 : A[v]) || ((W = P[_].dir) == null ? void 0 : W[v]),
8927
+ spd: P[_].spd[v]
8928
8928
  });
8929
8929
  I.push(V);
8930
8930
  }
8931
8931
  } else if (C >= r && C <= s && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8932
- const V = U.point([C, k], {
8933
- dir: ((Z = P[k].val) == null ? void 0 : Z[v]) || ((q = P[k].dir) == null ? void 0 : q[v]),
8934
- spd: P[k].spd[v]
8932
+ const V = U.point([C, _], {
8933
+ dir: ((Z = P[_].val) == null ? void 0 : Z[v]) || ((q = P[_].dir) == null ? void 0 : q[v]),
8934
+ spd: P[_].spd[v]
8935
8935
  });
8936
8936
  I.push(V);
8937
8937
  }
@@ -8945,35 +8945,35 @@ const wn = {
8945
8945
  O = !0;
8946
8946
  const P = this.weatherLayers[T].raw;
8947
8947
  if (P) {
8948
- const k = [];
8949
- for (const L in P.Polygon) {
8950
- const C = P.Polygon[L];
8948
+ const _ = [];
8949
+ for (const z in P.Polygon) {
8950
+ const C = P.Polygon[z];
8951
8951
  for (const v of C)
8952
- k.push(
8952
+ _.push(
8953
8953
  U.polygon(v, {
8954
- val: Number(L)
8954
+ val: Number(z)
8955
8955
  })
8956
8956
  );
8957
8957
  }
8958
- for (const L in P.MultiPolygon) {
8959
- const C = P.MultiPolygon[L];
8958
+ for (const z in P.MultiPolygon) {
8959
+ const C = P.MultiPolygon[z];
8960
8960
  for (const v of C)
8961
- k.push(
8961
+ _.push(
8962
8962
  U.multiPolygon(v, {
8963
- val: Number(L)
8963
+ val: Number(z)
8964
8964
  })
8965
8965
  );
8966
8966
  }
8967
- for (const L in P.Point) {
8968
- const C = P.Point[L];
8969
- for (let v = 0; v < ((z = C.lng) == null ? void 0 : z.length); v++)
8970
- k.push(
8971
- U.point([C.lng[v], L], {
8967
+ for (const z in P.Point) {
8968
+ const C = P.Point[z];
8969
+ for (let v = 0; v < ((k = C.lng) == null ? void 0 : k.length); v++)
8970
+ _.push(
8971
+ U.point([C.lng[v], z], {
8972
8972
  val: Number(C.val[v])
8973
8973
  })
8974
8974
  );
8975
8975
  }
8976
- I = I.concat(k);
8976
+ I = I.concat(_);
8977
8977
  }
8978
8978
  }
8979
8979
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", o, ", total: ", e += o);
@@ -8984,26 +8984,26 @@ const wn = {
8984
8984
  O = !0;
8985
8985
  const P = this.weatherLayers[T].raw;
8986
8986
  if (P) {
8987
- const k = [];
8988
- for (const L in P.LineString) {
8989
- const C = P.LineString[L];
8987
+ const _ = [];
8988
+ for (const z in P.LineString) {
8989
+ const C = P.LineString[z];
8990
8990
  for (const v of C)
8991
- k.push(
8991
+ _.push(
8992
8992
  U.lineString(v, {
8993
- val: Number(L)
8993
+ val: Number(z)
8994
8994
  })
8995
8995
  );
8996
8996
  }
8997
- for (const L in P.Point)
8998
- P.Point[L].lng.forEach((C, v) => {
8999
- C = X.convertToStdLng(C), k.push(
9000
- U.point([C, L], {
9001
- val: P.Point[L].val[v],
9002
- type: P.Point[L].type[v]
8997
+ for (const z in P.Point)
8998
+ P.Point[z].lng.forEach((C, v) => {
8999
+ C = X.convertToStdLng(C), _.push(
9000
+ U.point([C, z], {
9001
+ val: P.Point[z].val[v],
9002
+ type: P.Point[z].type[v]
9003
9003
  })
9004
9004
  );
9005
9005
  });
9006
- I = I.concat(k);
9006
+ I = I.concat(_);
9007
9007
  }
9008
9008
  }
9009
9009
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
@@ -9051,7 +9051,7 @@ const wn = {
9051
9051
  }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, Nn = { class: "text-body-2 text-label" }, En = { class: "text-body-2 text-label mb-3" }, jn = { class: "text-body-1 font-weight-medium" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Un = { class: "text-body-1 py-2" }, Wn = { class: "text-body-1 font-weight-medium" }, Gn = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label mb-3" }, Zn = { class: "text-body-1 font-weight-medium" }, qn = { class: "text-body-2 text-label" }, Yn = { class: "text-body-2 text-label mb-3" }, Kn = { class: "text-body-1 py-2" }, Xn = { class: "text-body-1 font-weight-medium" }, $n = { class: "text-body-2 text-label" }, Jn = { class: "text-body-2 text-label mb-3" };
9052
9052
  function Qn(t, e, o, i, a, r) {
9053
9053
  var pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e;
9054
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCol"), g = x("VRow"), p = x("VCardText"), y = x("VDivider"), w = x("VCard"), _ = x("VSwitch"), f = x("VCardTitle"), z = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), P = x("IdmWindBarb"), k = x("IdmSigWaveHeight"), L = x("IdmCurrentDirection"), C = x("IdmPrmsl"), v = x("IdmWindParticle"), A = x("IdmCurrentParticle"), W = x("IdmWave"), Z = x("IdmSwell"), q = x("IdmIceEdge"), V = x("IdmIceCover"), Q = x("IdmIceThickness"), ee = x("IdmPrecip3h"), J = x("IdmVisibility"), re = x("IdmWaterTemp"), he = x("IdmTemp");
9054
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCol"), g = x("VRow"), p = x("VCardText"), f = x("VDivider"), w = x("VCard"), L = x("VSwitch"), y = x("VCardTitle"), k = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), P = x("IdmWindBarb"), _ = x("IdmSigWaveHeight"), z = x("IdmCurrentDirection"), C = x("IdmPrmsl"), v = x("IdmWindParticle"), A = x("IdmCurrentParticle"), W = x("IdmWave"), Z = x("IdmSwell"), q = x("IdmIceEdge"), V = x("IdmIceCover"), Q = x("IdmIceThickness"), ee = x("IdmPrecip3h"), J = x("IdmVisibility"), re = x("IdmWaterTemp"), he = x("IdmTemp");
9055
9055
  return b(), S("div", xn, [
9056
9056
  l("div", {
9057
9057
  class: "menu-bar-box transition pa-1",
@@ -9142,7 +9142,7 @@ function Qn(t, e, o, i, a, r) {
9142
9142
  _: 1,
9143
9143
  __: [10]
9144
9144
  }),
9145
- h(y, { vertical: "" }),
9145
+ h(f, { vertical: "" }),
9146
9146
  h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
9147
9147
  default: u(() => [
9148
9148
  e[11] || (e[11] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wave Height", -1)),
@@ -9174,7 +9174,7 @@ function Qn(t, e, o, i, a, r) {
9174
9174
  _: 1,
9175
9175
  __: [11]
9176
9176
  }),
9177
- h(y, { vertical: "" }),
9177
+ h(f, { vertical: "" }),
9178
9178
  h(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
9179
9179
  default: u(() => [
9180
9180
  e[12] || (e[12] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Current", -1)),
@@ -9219,7 +9219,7 @@ function Qn(t, e, o, i, a, r) {
9219
9219
  l("div", In, [
9220
9220
  l("div", Mn, [
9221
9221
  l("div", An, m(t.$t("weather.weather")), 1),
9222
- h(_, {
9222
+ h(L, {
9223
9223
  modelValue: a.autoActive,
9224
9224
  "onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
9225
9225
  class: "small-switch",
@@ -9250,9 +9250,9 @@ function Qn(t, e, o, i, a, r) {
9250
9250
  elevation: "0"
9251
9251
  }, {
9252
9252
  default: u(() => [
9253
- h(z, { class: "border-b-thin" }, {
9253
+ h(k, { class: "border-b-thin" }, {
9254
9254
  default: u(() => [
9255
- h(f, {
9255
+ h(y, {
9256
9256
  class: "text-subtitle-1 font-weight-medium",
9257
9257
  style: { "font-size": "16px !important" }
9258
9258
  }, {
@@ -9290,9 +9290,9 @@ function Qn(t, e, o, i, a, r) {
9290
9290
  elevation: "0"
9291
9291
  }, {
9292
9292
  default: u(() => [
9293
- h(z, { class: "border-b-thin" }, {
9293
+ h(k, { class: "border-b-thin" }, {
9294
9294
  default: u(() => [
9295
- h(f, {
9295
+ h(y, {
9296
9296
  class: "text-subtitle-1 font-weight-medium",
9297
9297
  style: { "font-size": "16px !important" }
9298
9298
  }, {
@@ -9324,7 +9324,7 @@ function Qn(t, e, o, i, a, r) {
9324
9324
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
9325
9325
  a.renderKey === "wind-particle" && H.key === "wind-particle" ? (b(), S("div", Dn, [
9326
9326
  l("span", null, m(t.$t("weather.particleAnimatiom")), 1),
9327
- h(_, {
9327
+ h(L, {
9328
9328
  modelValue: a.showWindParticle,
9329
9329
  "onUpdate:modelValue": e[4] || (e[4] = (te) => a.showWindParticle = te),
9330
9330
  label: "",
@@ -9338,7 +9338,7 @@ function Qn(t, e, o, i, a, r) {
9338
9338
  ])) : M("", !0),
9339
9339
  a.renderKey === "current-particle" && H.key === "current-particle" ? (b(), S("div", Rn, [
9340
9340
  l("span", null, m(t.$t("weather.particleAnimatiom")), 1),
9341
- h(_, {
9341
+ h(L, {
9342
9342
  modelValue: a.showCurrentParticle,
9343
9343
  "onUpdate:modelValue": e[5] || (e[5] = (te) => a.showCurrentParticle = te),
9344
9344
  label: "",
@@ -9448,9 +9448,9 @@ function Qn(t, e, o, i, a, r) {
9448
9448
  elevation: "0"
9449
9449
  }, {
9450
9450
  default: u(() => [
9451
- h(z, { class: "border-b-thin" }, {
9451
+ h(k, { class: "border-b-thin" }, {
9452
9452
  default: u(() => [
9453
- h(f, {
9453
+ h(y, {
9454
9454
  class: "text-subtitle-1 font-weight-medium",
9455
9455
  style: { "font-size": "16px !important" }
9456
9456
  }, {
@@ -9473,7 +9473,7 @@ function Qn(t, e, o, i, a, r) {
9473
9473
  l("div", jn, m((N = (Ne = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ne.ECMWF) == null ? void 0 : N.source) + " " + m((Ze = (Ve = (Y = a.models) == null ? void 0 : Y.weather) == null ? void 0 : Ve.ECMWF) == null ? void 0 : Ze.spatialResolution) + m(t.$t("units.km")) + " " + m((Ke = (Ye = (Te = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Te.ECMWF) == null ? void 0 : Ye.meta) == null ? void 0 : Ke.days) + m(t.$t("units.days")), 1),
9474
9474
  l("div", Fn, m(t.$t("weather.source")) + ": ECMWF", 1),
9475
9475
  l("div", Hn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Qe = (Je = ($e = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : $e.ECMWF) == null ? void 0 : Je.meta) == null ? void 0 : Qe.initialisationTime)), 1),
9476
- h(y),
9476
+ h(f),
9477
9477
  l("div", Un, m(t.$t("weather.wave")), 1),
9478
9478
  l("div", Wn, m((at = (ot = (tt = (et = a.models) == null ? void 0 : et.marine) == null ? void 0 : tt.wave) == null ? void 0 : ot.NOAA) == null ? void 0 : at.source) + " " + m((st = (lt = (rt = (it = a.models) == null ? void 0 : it.marine) == null ? void 0 : rt.wave) == null ? void 0 : lt.NOAA) == null ? void 0 : st.spatialResolution) + m(t.$t("units.km")) + " " + m((ht = (dt = (mt = (ct = (nt = a.models) == null ? void 0 : nt.marine) == null ? void 0 : ct.wave) == null ? void 0 : mt.NOAA) == null ? void 0 : dt.meta) == null ? void 0 : ht.days) + m(t.$t("units.days")), 1),
9479
9479
  l("div", Gn, m(t.$t("weather.source")) + ": NOAA", 1),
@@ -9481,7 +9481,7 @@ function Qn(t, e, o, i, a, r) {
9481
9481
  l("div", Zn, m((vt = (xt = (wt = (bt = a.models) == null ? void 0 : bt.marine) == null ? void 0 : wt.wave) == null ? void 0 : xt.ECMWF) == null ? void 0 : vt.source) + " " + m((Lt = (zt = (kt = (_t = a.models) == null ? void 0 : _t.marine) == null ? void 0 : kt.wave) == null ? void 0 : zt.ECMWF) == null ? void 0 : Lt.spatialResolution) + m(t.$t("units.km")) + " " + m((It = (St = (Tt = (Ct = (Pt = a.models) == null ? void 0 : Pt.marine) == null ? void 0 : Ct.wave) == null ? void 0 : Tt.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : It.days) + m(t.$t("units.days")), 1),
9482
9482
  l("div", qn, m(t.$t("weather.source")) + ": ECMWF", 1),
9483
9483
  l("div", Yn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Ot = (Rt = (Dt = (At = (Mt = a.models) == null ? void 0 : Mt.marine) == null ? void 0 : At.wave) == null ? void 0 : Dt.ECMWF) == null ? void 0 : Rt.meta) == null ? void 0 : Ot.initialisationTime)), 1),
9484
- h(y),
9484
+ h(f),
9485
9485
  l("div", Kn, m(t.$t("weather.currents")), 1),
9486
9486
  l("div", Xn, m((jt = (Et = (Nt = (Bt = a.models) == null ? void 0 : Bt.marine) == null ? void 0 : Nt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.source) + " " + m((Wt = (Ut = (Ht = (Ft = a.models) == null ? void 0 : Ft.marine) == null ? void 0 : Ht.current) == null ? void 0 : Ut.ECMWF) == null ? void 0 : Wt.spatialResolution) + m(t.$t("units.km")) + " " + m((Yt = (qt = (Zt = (Vt = (Gt = a.models) == null ? void 0 : Gt.marine) == null ? void 0 : Vt.current) == null ? void 0 : Zt.ECMWF) == null ? void 0 : qt.meta) == null ? void 0 : Yt.days) + m(t.$t("units.days")), 1),
9487
9487
  l("div", $n, m(t.$t("weather.source")) + ": ECMWF", 1),
@@ -9504,7 +9504,7 @@ function Qn(t, e, o, i, a, r) {
9504
9504
  wind: (pe = a.weatherLayers) == null ? void 0 : pe.wind,
9505
9505
  "menu-toggle": o.menuToggle
9506
9506
  }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : M("", !0),
9507
- o.map ? (b(), R(k, B({
9507
+ o.map ? (b(), R(_, B({
9508
9508
  key: 2,
9509
9509
  map: o.map,
9510
9510
  "before-layer": "empty-layer-2",
@@ -9512,7 +9512,7 @@ function Qn(t, e, o, i, a, r) {
9512
9512
  "menu-toggle": o.menuToggle,
9513
9513
  "active-weather-layers": a.activeWeatherLayers
9514
9514
  }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : M("", !0),
9515
- o.map ? (b(), R(L, B({
9515
+ o.map ? (b(), R(z, B({
9516
9516
  key: 3,
9517
9517
  map: o.map,
9518
9518
  "map-feather": o.mapFeather,
@@ -9915,18 +9915,18 @@ class Za {
9915
9915
  const a = e.toLowerCase().split(","), r = [], s = [];
9916
9916
  for (const c of a) {
9917
9917
  let n = to.find((p) => {
9918
- var y, w, _;
9919
- return ((y = p.models) == null ? void 0 : y.includes(c)) || ((w = p.alias) == null ? void 0 : w.toLowerCase()) === c || ((_ = p.name) == null ? void 0 : _.toLowerCase()) === c;
9918
+ var f, w, L;
9919
+ return ((f = p.models) == null ? void 0 : f.includes(c)) || ((w = p.alias) == null ? void 0 : w.toLowerCase()) === c || ((L = p.name) == null ? void 0 : L.toLowerCase()) === c;
9920
9920
  }), g = oo.find((p) => {
9921
- var y, w, _;
9922
- return ((y = p.models) == null ? void 0 : y.includes(c)) || ((w = p.alias) == null ? void 0 : w.toLowerCase()) === c || ((_ = p.name) == null ? void 0 : _.toLowerCase()) === c;
9921
+ var f, w, L;
9922
+ return ((f = p.models) == null ? void 0 : f.includes(c)) || ((w = p.alias) == null ? void 0 : w.toLowerCase()) === c || ((L = p.name) == null ? void 0 : L.toLowerCase()) === c;
9923
9923
  });
9924
9924
  n = n || to.find((p) => {
9925
- var y, w;
9926
- return ((y = p.alias) == null ? void 0 : y.toLowerCase()) === ((w = g == null ? void 0 : g.alias) == null ? void 0 : w.toLowerCase());
9925
+ var f, w;
9926
+ return ((f = p.alias) == null ? void 0 : f.toLowerCase()) === ((w = g == null ? void 0 : g.alias) == null ? void 0 : w.toLowerCase());
9927
9927
  }), g = g || oo.find((p) => {
9928
- var y, w;
9929
- return ((y = p.alias) == null ? void 0 : y.toLowerCase()) === ((w = n == null ? void 0 : n.alias) == null ? void 0 : w.toLowerCase());
9928
+ var f, w;
9929
+ return ((f = p.alias) == null ? void 0 : f.toLowerCase()) === ((w = n == null ? void 0 : n.alias) == null ? void 0 : w.toLowerCase());
9930
9930
  }), n = n || to[0], g = g || oo[0], r.push((o = n.models) != null && o.includes(c) ? c : n.model), s.push((i = g.models) != null && i.includes(c) ? c : g.model);
9931
9931
  }
9932
9932
  return {
@@ -9944,7 +9944,7 @@ class Za {
9944
9944
  }), a;
9945
9945
  }
9946
9946
  static pickHourly(e, o) {
9947
- var i, a, r, s, c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, H, te, Fe, Ie;
9947
+ var i, a, r, s, c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, H, te, Fe, Ie;
9948
9948
  const ge = typeof o == "string" ? D(o) : o, fe = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, Ce = D((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.clone().add((c = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), le = Ce.clone().add((p = (g = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
9949
9949
  if (ge.isBetween(oe, le, "millisecond", "[]")) {
9950
9950
  const E = ge.utc().diff(oe, "h", !1);
@@ -9954,13 +9954,13 @@ class Za {
9954
9954
  for (const N of fe) {
9955
9955
  const Y = N == null ? void 0 : N.hourly;
9956
9956
  for (let Te = E - (E - 1) % 3; Te <= E; Te++)
9957
- Be += (y = Y == null ? void 0 : Y.precipitation) == null ? void 0 : y.at(Te);
9957
+ Be += (f = Y == null ? void 0 : Y.precipitation) == null ? void 0 : f.at(Te);
9958
9958
  for (let Te = E - (E - 1) % 6; Te <= E; Te++)
9959
9959
  Ne += (w = Y == null ? void 0 : Y.precipitation) == null ? void 0 : w.at(Te);
9960
9960
  ye = {
9961
- temp: (_ = Y == null ? void 0 : Y.temperature_2m) == null ? void 0 : _.at(E),
9962
- apparentTemp: (f = Y == null ? void 0 : Y.apparent_temperature) == null ? void 0 : f.at(E),
9963
- rh: (z = Y == null ? void 0 : Y.relative_humidity_2m) == null ? void 0 : z.at(E),
9961
+ temp: (L = Y == null ? void 0 : Y.temperature_2m) == null ? void 0 : L.at(E),
9962
+ apparentTemp: (y = Y == null ? void 0 : Y.apparent_temperature) == null ? void 0 : y.at(E),
9963
+ rh: (k = Y == null ? void 0 : Y.relative_humidity_2m) == null ? void 0 : k.at(E),
9964
9964
  dp: (T = Y == null ? void 0 : Y.dew_point_2m) == null ? void 0 : T.at(E),
9965
9965
  precip: {
9966
9966
  probability: (O = Y == null ? void 0 : Y.precipitation_probability) == null ? void 0 : O.at(E),
@@ -9969,8 +9969,8 @@ class Za {
9969
9969
  sum6Hours: Math.round(Ne * 100) / 100
9970
9970
  },
9971
9971
  pmsl: (P = Y == null ? void 0 : Y.pressure_msl) == null ? void 0 : P.at(E),
9972
- psurf: (k = Y == null ? void 0 : Y.surface_pressure) == null ? void 0 : k.at(E),
9973
- code: (L = Y == null ? void 0 : Y.weather_code) == null ? void 0 : L.at(E),
9972
+ psurf: (_ = Y == null ? void 0 : Y.surface_pressure) == null ? void 0 : _.at(E),
9973
+ code: (z = Y == null ? void 0 : Y.weather_code) == null ? void 0 : z.at(E),
9974
9974
  visibility: this.m2nm((C = Y == null ? void 0 : Y.visibility) == null ? void 0 : C.at(E)),
9975
9975
  wind: {
9976
9976
  speed: (v = Y == null ? void 0 : Y.wind_speed_10m) == null ? void 0 : v.at(E),
@@ -10031,7 +10031,7 @@ class Za {
10031
10031
  return Oe;
10032
10032
  }
10033
10033
  static toLegacy(e) {
10034
- var o, i, a, r, s, c, n, g, p, y;
10034
+ var o, i, a, r, s, c, n, g, p, f;
10035
10035
  return {
10036
10036
  wind: (o = e == null ? void 0 : e.weather) == null ? void 0 : o.wind,
10037
10037
  visibility: (i = e == null ? void 0 : e.weather) == null ? void 0 : i.visibility,
@@ -10043,7 +10043,7 @@ class Za {
10043
10043
  precip: (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip,
10044
10044
  code: (g = e == null ? void 0 : e.weather) == null ? void 0 : g.code,
10045
10045
  name: (p = e == null ? void 0 : e.weather) == null ? void 0 : p.name,
10046
- url: (y = e == null ? void 0 : e.weather) == null ? void 0 : y.url,
10046
+ url: (f = e == null ? void 0 : e.weather) == null ? void 0 : f.url,
10047
10047
  wave: e == null ? void 0 : e.wave,
10048
10048
  current: e == null ? void 0 : e.current,
10049
10049
  sst: e == null ? void 0 : e.sst,
@@ -10053,7 +10053,7 @@ class Za {
10053
10053
  };
10054
10054
  }
10055
10055
  static pickDaily(e, o) {
10056
- var i, a, r, s, c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De;
10056
+ var i, a, r, s, c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De;
10057
10057
  const Re = typeof o == "string" ? D(o) : o, _e = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, te = D((r = (a = (i = _e == null ? void 0 : _e[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), Fe = D((n = (c = (s = _e == null ? void 0 : _e[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Ie = [];
10058
10058
  if (Re.isBetween(te, Fe, "millisecond", "[]")) {
10059
10059
  let ge, fe;
@@ -10065,23 +10065,23 @@ class Za {
10065
10065
  code: (g = oe.weather_code) == null ? void 0 : g.at(G),
10066
10066
  temp: {
10067
10067
  max: (p = oe.temperature_2m_max) == null ? void 0 : p.at(G),
10068
- min: (y = oe.temperature_2m_min) == null ? void 0 : y.at(G),
10068
+ min: (f = oe.temperature_2m_min) == null ? void 0 : f.at(G),
10069
10069
  mean: (w = oe.temperature_2m_mean) == null ? void 0 : w.at(G)
10070
10070
  },
10071
10071
  apparentTemp: {
10072
- max: (_ = oe.apparent_temperature_max) == null ? void 0 : _.at(G),
10073
- min: (f = oe.apparent_temperature_min) == null ? void 0 : f.at(G)
10072
+ max: (L = oe.apparent_temperature_max) == null ? void 0 : L.at(G),
10073
+ min: (y = oe.apparent_temperature_min) == null ? void 0 : y.at(G)
10074
10074
  },
10075
10075
  precip: {
10076
- sum: (z = oe.precipitation_sum) == null ? void 0 : z.at(G),
10076
+ sum: (k = oe.precipitation_sum) == null ? void 0 : k.at(G),
10077
10077
  rainSum: (T = oe.rain_sum) == null ? void 0 : T.at(G),
10078
10078
  snowfallSum: (O = oe.snowfall_sum) == null ? void 0 : O.at(G),
10079
10079
  showersSum: (I = oe.showers_sum) == null ? void 0 : I.at(G),
10080
10080
  hours: (P = oe.precipitation_hours) == null ? void 0 : P.at(G),
10081
- probability: (k = oe.precipitation_probability_max) == null ? void 0 : k.at(G)
10081
+ probability: (_ = oe.precipitation_probability_max) == null ? void 0 : _.at(G)
10082
10082
  },
10083
10083
  rh: {
10084
- max: (L = oe.relative_humidity_2m_max) == null ? void 0 : L.at(G),
10084
+ max: (z = oe.relative_humidity_2m_max) == null ? void 0 : z.at(G),
10085
10085
  min: (C = oe.relative_humidity_2m_min) == null ? void 0 : C.at(G),
10086
10086
  mean: (v = oe.relative_humidity_2m_mean) == null ? void 0 : v.at(G)
10087
10087
  },
@@ -10618,10 +10618,12 @@ const tc = {
10618
10618
  this.forecastNameLayer,
10619
10619
  this.forecastLayer,
10620
10620
  this.historyLayer,
10621
- this.forecastModelLayer,
10622
10621
  this.pointCircleLayer,
10622
+ this.pointCircleLayer + "-border",
10623
10623
  this.pointLabelLayer,
10624
10624
  this.historyPointCircleLayer,
10625
+ this.historyPointCircleLayer + "-border",
10626
+ this.historyPointCircleLayer + "-inner",
10625
10627
  this.historyPointLabelLayer
10626
10628
  ];
10627
10629
  },
@@ -10634,7 +10636,7 @@ const tc = {
10634
10636
  computeTime() {
10635
10637
  return (t, e) => {
10636
10638
  if (t) {
10637
- const o = D(t).utcOffset(i), i = i < 0 ? i : "+" + i;
10639
+ const o = D(t).utcOffset(e), i = e < 0 ? e : "+" + e;
10638
10640
  return `${o == null ? void 0 : o.format("MMM-DD/HHmm")} ( UTC${i} ) ${o == null ? void 0 : o.fromNow()} `;
10639
10641
  }
10640
10642
  return "-";
@@ -10702,7 +10704,7 @@ const tc = {
10702
10704
  },
10703
10705
  realTime: {
10704
10706
  handler(t) {
10705
- this.map && t && this.handleRender();
10707
+ this.map && t && this.toggle && this.handleRender();
10706
10708
  }
10707
10709
  }
10708
10710
  },
@@ -10732,10 +10734,10 @@ const tc = {
10732
10734
  },
10733
10735
  responseType: /\.(jpg|png)$/.test(g.tropicals) ? "blob" : "json"
10734
10736
  }).then((p) => {
10735
- var _, f, z;
10736
- const y = Va.convert2Geojson(((_ = p == null ? void 0 : p.data) == null ? void 0 : _.data) || (p == null ? void 0 : p.data));
10737
- ((z = (f = p == null ? void 0 : p.config) == null ? void 0 : f.headers) == null ? void 0 : z.key) && y && (this.tropicals = {
10738
- data: y,
10737
+ var L, y, k;
10738
+ const f = Va.convert2Geojson(((L = p == null ? void 0 : p.data) == null ? void 0 : L.data) || (p == null ? void 0 : p.data));
10739
+ ((k = (y = p == null ? void 0 : p.config) == null ? void 0 : y.headers) == null ? void 0 : k.key) && f && (this.tropicals = {
10740
+ data: f,
10739
10741
  active: !0,
10740
10742
  cached: !0,
10741
10743
  type: "json",
@@ -10752,49 +10754,49 @@ const tc = {
10752
10754
  handleRefresh() {
10753
10755
  var e, o;
10754
10756
  (((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
10755
- var a, r, s, c, n, g, p, y, w, _, f;
10757
+ var a, r, s, c, n, g, p, f, w, L, y;
10756
10758
  if (((a = i.geometry) == null ? void 0 : a.type) === "Point") {
10757
- let z = "";
10759
+ let k = "";
10758
10760
  switch (!0) {
10759
10761
  case ((r = i.properties.wind) == null ? void 0 : r.kts) < 32:
10760
- z = "TD";
10762
+ k = "TD";
10761
10763
  break;
10762
10764
  case ((s = i.properties.wind) == null ? void 0 : s.kts) < 47:
10763
- z = "TS";
10765
+ k = "TS";
10764
10766
  break;
10765
10767
  case ((c = i.properties.wind) == null ? void 0 : c.kts) < 63:
10766
- z = "STS";
10768
+ k = "STS";
10767
10769
  break;
10768
10770
  case ((n = i.properties.wind) == null ? void 0 : n.kts) < 79:
10769
- z = "TY";
10771
+ k = "TY";
10770
10772
  break;
10771
10773
  case ((g = i.properties.wind) == null ? void 0 : g.kts) < 94:
10772
- z = "STY";
10774
+ k = "STY";
10773
10775
  break;
10774
10776
  case ((p = i.properties.wind) == null ? void 0 : p.kts) >= 94:
10775
- z = "Super TY";
10777
+ k = "Super TY";
10776
10778
  break;
10777
10779
  default:
10778
- z = "Super TY";
10780
+ k = "Super TY";
10779
10781
  break;
10780
10782
  }
10781
- i.properties.level = z;
10783
+ i.properties.level = k;
10782
10784
  }
10783
- ((y = i.geometry) == null ? void 0 : y.type) === "Point" && ((w = i.properties) != null && w.important) && (i.properties.format = (f = (_ = D(i.properties.date)) == null ? void 0 : _.utcOffset(this.timeZone)) == null ? void 0 : f.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
10785
+ ((f = i.geometry) == null ? void 0 : f.type) === "Point" && ((w = i.properties) != null && w.important) && (i.properties.format = (y = (L = D(i.properties.date)) == null ? void 0 : L.utcOffset(this.timeZone)) == null ? void 0 : y.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
10784
10786
  }), this.handleInit();
10785
10787
  },
10786
10788
  handleInit() {
10787
- var t, e, o, i, a, r, s, c, n, g, p, y;
10788
- this.handleClear(), this.tropicals && this.map && (this.handleRender(), (t = this.map) == null || t.on("click", this.clickLayers, this.handleClick), (e = this.map) == null || e.on("mousemove", this.hoverLayers, this.handleHover), (o = this.map) == null || o.on("mouseleave", this.hoverLayers, this.handleLeave)), ((r = (a = (i = this.tropicals) == null ? void 0 : i.data) == null ? void 0 : a.features) == null ? void 0 : r.length) > 0 ? (n = (c = (s = this.$parent) == null ? void 0 : s.$refs) == null ? void 0 : c.idmBottomBar) == null || n.handleToggle("tropical", !0) : (y = (p = (g = this.$parent) == null ? void 0 : g.$refs) == null ? void 0 : p.idmBottomBar) == null || y.handleToggle("tropical", !1);
10789
+ var t, e, o, i, a, r, s, c, n, g, p, f;
10790
+ this.handleClear(), this.tropicals && this.map && (this.handleRender(), (t = this.map) == null || t.on("click", this.clickLayers, this.handleClick), (e = this.map) == null || e.on("mousemove", this.hoverLayers, this.handleHover), (o = this.map) == null || o.on("mouseleave", this.hoverLayers, this.handleLeave)), ((r = (a = (i = this.tropicals) == null ? void 0 : i.data) == null ? void 0 : a.features) == null ? void 0 : r.length) > 0 ? (n = (c = (s = this.$parent) == null ? void 0 : s.$refs) == null ? void 0 : c.idmBottomBar) == null || n.handleToggle("tropical", !0) : (f = (p = (g = this.$parent) == null ? void 0 : g.$refs) == null ? void 0 : p.idmBottomBar) == null || f.handleToggle("tropical", !1);
10789
10791
  },
10790
10792
  handleRender() {
10791
- var e, o, i, a, r, s, c, n, g, p;
10793
+ var t, e, o, i, a, r, s, c, n, g;
10792
10794
  if (this.tropicals && this.map) {
10793
- const y = (/* @__PURE__ */ new Date()).valueOf();
10794
- let w = 0, _ = 0;
10795
- (e = this.map) != null && e.getSource(this.source) ? ((i = this.map) == null || i.getSource(this.source).setData((o = this.tropicals) != null && o.active ? this.tropicals.data : this.empty), _ = (/* @__PURE__ */ new Date()).valueOf() - (y + w), console.log("[tropicals] update elapsed: ", _, ", total: ", w += _)) : (this.map.addSource(this.source, {
10795
+ const p = (/* @__PURE__ */ new Date()).valueOf();
10796
+ let f = 0, w = 0;
10797
+ (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() - (p + f), console.log("[tropicals] update elapsed: ", w, ", total: ", f += w)) : (this.map.addSource(this.source, {
10796
10798
  type: "geojson",
10797
- data: (a = this.tropicals) != null && a.active ? (r = this.tropicals) == null ? void 0 : r.data : this.empty
10799
+ data: (i = this.tropicals) != null && i.active ? (a = this.tropicals) == null ? void 0 : a.data : this.empty
10798
10800
  }), this.map.addLayer({
10799
10801
  id: this.historyLayer,
10800
10802
  type: "line",
@@ -10889,9 +10891,9 @@ const tc = {
10889
10891
  ],
10890
10892
  "text-halo-width": 4
10891
10893
  }
10892
- }), _ = (/* @__PURE__ */ new Date()).valueOf() - (y + w), console.log("[tropical] add elapsed: ", _, ", total: ", w += _)), (s = this.map) != null && s.getSource(this.clusterSource) ? ((n = this.map) == null || n.getSource(this.clusterSource).setData((c = this.tropicals) != null && c.active ? this.tropicals.data : this.empty), _ = (/* @__PURE__ */ new Date()).valueOf() - (y + w), console.log("[tropical] update elapsed: ", _, ", total: ", w += _)) : (this.map.addSource(this.clusterSource, {
10894
+ }), w = (/* @__PURE__ */ new Date()).valueOf() - (p + f), console.log("[tropical] add elapsed: ", w, ", total: ", f += w)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((c = this.map) == null || c.getSource(this.clusterSource).setData((s = this.tropicals) != null && s.active ? this.tropicals.data : this.empty), w = (/* @__PURE__ */ new Date()).valueOf() - (p + f), console.log("[tropical] update elapsed: ", w, ", total: ", f += w)) : (this.map.addSource(this.clusterSource, {
10893
10895
  type: "geojson",
10894
- data: (g = this.tropicals) != null && g.active ? (p = this.tropicals) == null ? void 0 : p.data : this.empty
10896
+ data: (n = this.tropicals) != null && n.active ? (g = this.tropicals) == null ? void 0 : g.data : this.empty
10895
10897
  // cluster: true,
10896
10898
  // clusterRadius: 10, // 聚合半径
10897
10899
  }), this.map.addLayer({
@@ -11005,18 +11007,17 @@ const tc = {
11005
11007
  "text-halo-color": "#ffffff",
11006
11008
  "text-halo-width": 1
11007
11009
  }
11008
- }), _ = (/* @__PURE__ */ new Date()).valueOf() - (y + w), console.log("[tropical] add elapsed: ", _, ", total: ", w += _));
11010
+ }), w = (/* @__PURE__ */ new Date()).valueOf() - (p + f), console.log("[tropical] add elapsed: ", w, ", total: ", f += w)), this.handleDrawCircle();
11011
+ const L = Va.interpolate(this.tropicals, 1);
11012
+ this.interpolateData = JSON.parse(JSON.stringify(L)), this.handleDateChange();
11009
11013
  }
11010
- this.handleDrawCircle();
11011
- const t = Va.interpolate(this.tropicals, 1);
11012
- this.interpolateData = JSON.parse(JSON.stringify(t)), this.handleDateChange();
11013
11014
  },
11014
11015
  handleClear() {
11015
11016
  var t, e, o, i;
11016
11017
  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), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource)), (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();
11017
11018
  },
11018
11019
  handleDateChange() {
11019
- var t, e, o, i, a, r, s, c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J;
11020
+ var t, e, o, i, a, r, s, c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J;
11020
11021
  if ((t = this.interpolateMarkers) == null || t.forEach((re) => re == null ? void 0 : re.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
11021
11022
  const re = D(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), he = this.interpolateData.filter(($) => $.properties.date === (re == null ? void 0 : re.format()) && !$.properties.disabled), pe = this.handleComputePolygons(he), ne = U.featureCollection([...he]);
11022
11023
  pe.forEach(($) => {
@@ -11038,7 +11039,7 @@ const tc = {
11038
11039
  for (const $ of he)
11039
11040
  if (!$.properties.disabled) {
11040
11041
  let ae = "#f44336";
11041
- ((c = (s = $.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((g = (n = $.properties) == null ? void 0 : n.wind) != null && g.kts) ? ae = "#03f869" : ((y = (p = $.properties) == null ? void 0 : p.wind) == null ? void 0 : y.kts) >= 32 && ((_ = (w = $.properties) == null ? void 0 : w.wind) == null ? void 0 : _.kts) < 47 ? ae = "#f2f202" : ((z = (f = $.properties) == null ? void 0 : f.wind) == null ? void 0 : z.kts) >= 47 && ((O = (T = $.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((P = (I = $.properties) == null ? void 0 : I.wind) == null ? void 0 : P.kts) >= 63 && ((L = (k = $.properties) == null ? void 0 : k.wind) == null ? void 0 : L.kts) < 79 ? ae = "#f44336" : ((v = (C = $.properties) == null ? void 0 : C.wind) == null ? void 0 : v.kts) >= 79 && ((W = (A = $.properties) == null ? void 0 : A.wind) == null ? void 0 : W.kts) < 94 ? ae = "#f903d0" : ((q = (Z = $.properties) == null ? void 0 : Z.wind) == null ? void 0 : q.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
11042
+ ((c = (s = $.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((g = (n = $.properties) == null ? void 0 : n.wind) != null && g.kts) ? ae = "#03f869" : ((f = (p = $.properties) == null ? void 0 : p.wind) == null ? void 0 : f.kts) >= 32 && ((L = (w = $.properties) == null ? void 0 : w.wind) == null ? void 0 : L.kts) < 47 ? ae = "#f2f202" : ((k = (y = $.properties) == null ? void 0 : y.wind) == null ? void 0 : k.kts) >= 47 && ((O = (T = $.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((P = (I = $.properties) == null ? void 0 : I.wind) == null ? void 0 : P.kts) >= 63 && ((z = (_ = $.properties) == null ? void 0 : _.wind) == null ? void 0 : z.kts) < 79 ? ae = "#f44336" : ((v = (C = $.properties) == null ? void 0 : C.wind) == null ? void 0 : v.kts) >= 79 && ((W = (A = $.properties) == null ? void 0 : A.wind) == null ? void 0 : W.kts) < 94 ? ae = "#f903d0" : ((q = (Z = $.properties) == null ? void 0 : Z.wind) == null ? void 0 : q.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
11042
11043
  const ue = `<svg t="1719918955501"
11043
11044
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
11044
11045
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -11062,23 +11063,23 @@ const tc = {
11062
11063
  (ee = this.map) != null && ee.getSource(this.interpolateSource) && ((J = this.map) == null || J.getSource(this.interpolateSource).setData(this.empty));
11063
11064
  },
11064
11065
  handleClick(t) {
11065
- var a, r, s, c, n, g, p, y;
11066
+ var a, r, s, c, n, g, p, f;
11066
11067
  const e = t.features[0], o = (r = (a = this.tropicals) == null ? void 0 : a.data) == null ? void 0 : r.features.filter(
11067
11068
  (w) => {
11068
- var _;
11069
- return w.geometry.type === "LineString" && w.properties.type === "forecast" && w.properties.name === ((_ = e == null ? void 0 : e.properties) == null ? void 0 : _.name);
11069
+ var L;
11070
+ return w.geometry.type === "LineString" && w.properties.type === "forecast" && w.properties.name === ((L = e == null ? void 0 : e.properties) == null ? void 0 : L.name);
11070
11071
  }
11071
11072
  ), i = (c = (s = this.tropicals) == null ? void 0 : s.data) == null ? void 0 : c.features.filter(
11072
11073
  (w) => {
11073
- var _;
11074
- return w.geometry.type === "LineString" && w.properties.type === "history" && w.properties.name === ((_ = e == null ? void 0 : e.properties) == null ? void 0 : _.name);
11074
+ var L;
11075
+ return w.geometry.type === "LineString" && w.properties.type === "history" && w.properties.name === ((L = e == null ? void 0 : e.properties) == null ? void 0 : L.name);
11075
11076
  }
11076
11077
  );
11077
11078
  this.activeTropicals = {
11078
11079
  name: (n = e == null ? void 0 : e.properties) == null ? void 0 : n.name,
11079
11080
  forecasts: o.map((w) => w.properties),
11080
11081
  history: (g = i[0]) == null ? void 0 : g.properties,
11081
- showCircle: (y = (p = o[0]) == null ? void 0 : p.properties) == null ? void 0 : y.showCircle
11082
+ showCircle: (f = (p = o[0]) == null ? void 0 : p.properties) == null ? void 0 : f.showCircle
11082
11083
  }, this.showTropicalsInfo = !0, this.$nextTick(() => {
11083
11084
  const w = document.getElementById("idm-tropical-gl4-info");
11084
11085
  this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new ve.Marker(w).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
@@ -11208,7 +11209,7 @@ const tc = {
11208
11209
  key: 0,
11209
11210
  id: "idm-tropical-gl4-info",
11210
11211
  class: "idm-tropical-gl4-info"
11211
- }, ic = { class: "pb-1" }, rc = { class: "text-h6 font-weight-600" }, lc = {
11212
+ }, ic = { class: "pb-1" }, rc = { class: "text-h5 font-weight-600" }, lc = {
11212
11213
  key: 0,
11213
11214
  class: "text-body-1 text-label"
11214
11215
  }, sc = { class: "text-body-2" }, nc = { class: "text-label" }, cc = { class: "d-flex justify-space-between align-center" }, mc = { class: "w-60" }, dc = { class: "text-label pr-1" }, hc = { class: "flex-1-1-0" }, pc = { class: "text-label pr-1" }, uc = { class: "py-2 d-flex justify-space-between align-center" }, gc = { class: "w-60" }, fc = { class: "text-label pr-1" }, yc = { class: "flex-1-1-0" }, bc = { class: "text-label pr-1" }, wc = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, xc = {
@@ -11237,7 +11238,7 @@ const tc = {
11237
11238
  class: "d-flex justify-start align-center"
11238
11239
  }, Vc = { class: "text-label pr-1" }, Zc = { class: "d-flex justify-start align-center" }, qc = { class: "text-label pr-1" };
11239
11240
  function Yc(t, e, o, i, a, r) {
11240
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCardText"), g = x("VDivider"), p = x("VCardActions"), y = x("VCard"), w = x("v-card-title"), _ = x("v-divider");
11241
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCardText"), g = x("VDivider"), p = x("VCardActions"), f = x("VCard"), w = x("v-card-title"), L = x("v-divider");
11241
11242
  return b(), S("div", oc, [
11242
11243
  l("div", {
11243
11244
  class: "menu-bar-box transition pa-1",
@@ -11247,8 +11248,8 @@ function Yc(t, e, o, i, a, r) {
11247
11248
  text: t.$t("tropical.tropicals"),
11248
11249
  location: "left"
11249
11250
  }, {
11250
- activator: u(({ props: f }) => [
11251
- h(s, B(f, {
11251
+ activator: u(({ props: y }) => [
11252
+ h(s, B(y, {
11252
11253
  "min-width": "32",
11253
11254
  width: "32",
11254
11255
  height: "32",
@@ -11266,7 +11267,7 @@ function Yc(t, e, o, i, a, r) {
11266
11267
  }, 8, ["text"])
11267
11268
  ], 4),
11268
11269
  a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (b(), S("div", ac, [
11269
- h(y, {
11270
+ h(f, {
11270
11271
  "min-width": "400",
11271
11272
  elevation: "16",
11272
11273
  "max-width": "500"
@@ -11274,11 +11275,11 @@ function Yc(t, e, o, i, a, r) {
11274
11275
  default: u(() => [
11275
11276
  h(n, null, {
11276
11277
  default: u(() => {
11277
- var f, z, T, O, I, P, k, L, C, v;
11278
+ var y, k, T, O, I, P, _, z, C, v;
11278
11279
  return [
11279
11280
  l("div", ic, [
11280
- l("span", rc, m((f = a.activeTropicals) == null ? void 0 : f.name), 1),
11281
- (T = (z = a.activeTropicals) == null ? void 0 : z.history) != null && T.level ? (b(), S("span", lc, ", " + m((I = (O = a.activeTropicals) == null ? void 0 : O.history) == null ? void 0 : I.level), 1)) : M("", !0)
11281
+ l("span", rc, m((y = a.activeTropicals) == null ? void 0 : y.name), 1),
11282
+ (T = (k = a.activeTropicals) == null ? void 0 : k.history) != null && T.level ? (b(), S("span", lc, ", " + m((I = (O = a.activeTropicals) == null ? void 0 : O.history) == null ? void 0 : I.level), 1)) : M("", !0)
11282
11283
  ]),
11283
11284
  h(s, {
11284
11285
  icon: "",
@@ -11295,7 +11296,7 @@ function Yc(t, e, o, i, a, r) {
11295
11296
  }, 8, ["onClick"]),
11296
11297
  l("div", sc, [
11297
11298
  l("span", nc, m(t.$t("actions.lastUpdate")) + ": ", 1),
11298
- l("span", null, m(r.computeTime(((k = (P = a.activeTropicals) == null ? void 0 : P.history) == null ? void 0 : k.updated) || ((v = (C = (L = a.activeTropicals) == null ? void 0 : L.forecasts) == null ? void 0 : C.filter((A) => !A.disabled)[0]) == null ? void 0 : v.date), o.timeZone)), 1)
11299
+ l("span", null, m(r.computeTime(((_ = (P = a.activeTropicals) == null ? void 0 : P.history) == null ? void 0 : _.updated) || ((v = (C = (z = a.activeTropicals) == null ? void 0 : z.forecasts) == null ? void 0 : C.filter((A) => !A.disabled)[0]) == null ? void 0 : v.date), o.timeZone)), 1)
11299
11300
  ])
11300
11301
  ];
11301
11302
  }),
@@ -11304,27 +11305,27 @@ function Yc(t, e, o, i, a, r) {
11304
11305
  h(g),
11305
11306
  h(n, { class: "text-body-1" }, {
11306
11307
  default: u(() => {
11307
- var f, z, T, O, I, P, k, L, C;
11308
+ var y, k, T, O, I, P, _, z, C;
11308
11309
  return [
11309
11310
  l("div", cc, [
11310
11311
  l("div", mc, [
11311
11312
  l("label", dc, m(t.$t("weather.windSpeed")) + " : ", 1),
11312
- l("span", null, m(((z = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : z.kts) || "-") + " kts", 1),
11313
+ l("span", null, m(((k = (y = a.activeTropicals) == null ? void 0 : y.history) == null ? void 0 : k.kts) || "-") + " kts", 1),
11313
11314
  l("span", null, ", BF " + m(r.computeBF(((O = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : O.kts) || "-")), 1)
11314
11315
  ]),
11315
11316
  l("div", hc, [
11316
- l("label", pc, m(t.$t("tropical.pressure")) + " : ", 1),
11317
+ l("label", pc, m(t.$t("weather.pressure")) + " : ", 1),
11317
11318
  l("span", null, m(((P = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : P.pressure) || "-") + " hPa", 1)
11318
11319
  ])
11319
11320
  ]),
11320
11321
  l("div", uc, [
11321
11322
  l("div", gc, [
11322
11323
  l("label", fc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
11323
- l("span", null, m(((k = r.computeMovement(a.activeTropicals)) == null ? void 0 : k.kts) || "-") + " kts", 1)
11324
+ l("span", null, m(((_ = r.computeMovement(a.activeTropicals)) == null ? void 0 : _.kts) || "-") + " kts", 1)
11324
11325
  ]),
11325
11326
  l("div", yc, [
11326
11327
  l("label", bc, m(t.$t("tropical.moveDir")) + " : ", 1),
11327
- l("span", null, m(((L = r.computeMovement(a.activeTropicals)) == null ? void 0 : L.deg) || "-") + "°", 1)
11328
+ l("span", null, m(((z = r.computeMovement(a.activeTropicals)) == null ? void 0 : z.deg) || "-") + "°", 1)
11328
11329
  ])
11329
11330
  ]),
11330
11331
  l("div", wc, [
@@ -11359,7 +11360,7 @@ function Yc(t, e, o, i, a, r) {
11359
11360
  variant: "text",
11360
11361
  color: a.showLegend ? "primary" : "",
11361
11362
  class: "text-none text-body-1",
11362
- onClick: e[0] || (e[0] = Ee((f) => a.showLegend = !a.showLegend, ["stop"]))
11363
+ onClick: e[0] || (e[0] = Ee((y) => a.showLegend = !a.showLegend, ["stop"]))
11363
11364
  }, {
11364
11365
  prepend: u(() => e[5] || (e[5] = [
11365
11366
  l("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
@@ -11375,7 +11376,7 @@ function Yc(t, e, o, i, a, r) {
11375
11376
  variant: "text",
11376
11377
  density: "compact",
11377
11378
  class: "text-none text-body-1",
11378
- onClick: e[1] || (e[1] = Ee((f) => r.handleNotification(a.activeTropicals), ["stop"]))
11379
+ onClick: e[1] || (e[1] = Ee((y) => r.handleNotification(a.activeTropicals), ["stop"]))
11379
11380
  }, {
11380
11381
  default: u(() => [
11381
11382
  j(m(t.$t("actions.notify")), 1)
@@ -11387,7 +11388,7 @@ function Yc(t, e, o, i, a, r) {
11387
11388
  density: "compact",
11388
11389
  "append-icon": "mdi-chevron-right",
11389
11390
  class: "text-none text-body-1",
11390
- onClick: e[2] || (e[2] = Ee((f) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11391
+ onClick: e[2] || (e[2] = Ee((y) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11391
11392
  }, {
11392
11393
  default: u(() => [
11393
11394
  j(m(t.$t("actions.viewReport")), 1)
@@ -11402,7 +11403,7 @@ function Yc(t, e, o, i, a, r) {
11402
11403
  _: 1
11403
11404
  }),
11404
11405
  l("div", kc, [
11405
- Ue(h(y, { elevation: "16" }, {
11406
+ Ue(h(f, { elevation: "16" }, {
11406
11407
  default: u(() => [
11407
11408
  h(n, null, {
11408
11409
  default: u(() => [
@@ -11464,7 +11465,7 @@ function Yc(t, e, o, i, a, r) {
11464
11465
  ])
11465
11466
  ])
11466
11467
  ])) : M("", !0),
11467
- Ue(h(y, {
11468
+ Ue(h(f, {
11468
11469
  id: "tropicalHoverMarkerInfo",
11469
11470
  elevation: "16",
11470
11471
  "max-width": "280"
@@ -11472,27 +11473,27 @@ function Yc(t, e, o, i, a, r) {
11472
11473
  default: u(() => [
11473
11474
  h(w, null, {
11474
11475
  default: u(() => {
11475
- var f, z;
11476
+ var y, k;
11476
11477
  return [
11477
11478
  l("div", Pc, [
11478
- l("span", Cc, m((f = a.hoverPoint) == null ? void 0 : f.name), 1),
11479
- l("span", Tc, "[ " + m((z = a.hoverPoint) == null ? void 0 : z.level) + " ]", 1)
11479
+ l("span", Cc, m((y = a.hoverPoint) == null ? void 0 : y.name), 1),
11480
+ l("span", Tc, "[ " + m((k = a.hoverPoint) == null ? void 0 : k.level) + " ]", 1)
11480
11481
  ])
11481
11482
  ];
11482
11483
  }),
11483
11484
  _: 1
11484
11485
  }),
11485
- h(_),
11486
+ h(L),
11486
11487
  h(n, { class: "text-body-1" }, {
11487
11488
  default: u(() => {
11488
- var f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee;
11489
+ var y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee;
11489
11490
  return [
11490
11491
  l("div", Sc, [
11491
11492
  l("div", Ic, [
11492
11493
  l("label", Mc, m(t.$t("tropical.updated")) + " : ", 1),
11493
- l("span", null, m(r.computeTzTime((f = a.hoverPoint) == null ? void 0 : f.date, o.timeZone)), 1)
11494
+ l("span", null, m(r.computeTzTime((y = a.hoverPoint) == null ? void 0 : y.date, o.timeZone)), 1)
11494
11495
  ]),
11495
- ((z = a.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (b(), S("div", Ac, [
11496
+ ((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (b(), S("div", Ac, [
11496
11497
  l("label", Dc, m(t.$t("tropical.forecast")) + " : ", 1),
11497
11498
  l("span", null, m(r.computeTzTime((T = a.hoverPoint) == null ? void 0 : T.date, o.timeZone)), 1)
11498
11499
  ])) : M("", !0),
@@ -11502,7 +11503,7 @@ function Yc(t, e, o, i, a, r) {
11502
11503
  ])) : M("", !0),
11503
11504
  ((P = a.hoverPoint) == null ? void 0 : P.type) === "forecast" ? (b(), S("div", Bc, [
11504
11505
  l("label", Nc, m(t.$t("weather.wind")) + " : ", 1),
11505
- l("span", null, m(((L = JSON.parse((k = a.hoverPoint) == null ? void 0 : k.wind)) == null ? void 0 : L.kts) ?? "-") + " kts", 1)
11506
+ l("span", null, m(((z = JSON.parse((_ = a.hoverPoint) == null ? void 0 : _.wind)) == null ? void 0 : z.kts) ?? "-") + " kts", 1)
11506
11507
  ])) : M("", !0),
11507
11508
  ((C = a.hoverPoint) == null ? void 0 : C.type) === "history" ? (b(), S("div", Ec, [
11508
11509
  l("label", jc, m(t.$t("weather.wind")) + " : ", 1),
@@ -11689,7 +11690,7 @@ const Kc = {
11689
11690
  style: { height: "56px" }
11690
11691
  };
11691
11692
  function em(t, e, o, i, a, r) {
11692
- const s = x("VBtn"), c = x("VDatePicker"), n = x("VDivider"), g = x("VListItemTitle"), p = x("VListItem"), y = x("VList"), w = x("VCardText"), _ = x("VCardActions"), f = x("VCard");
11693
+ const s = x("VBtn"), c = x("VDatePicker"), n = x("VDivider"), g = x("VListItemTitle"), p = x("VListItem"), f = x("VList"), w = x("VCardText"), L = x("VCardActions"), y = x("VCard");
11693
11694
  return b(), S("div", Xc, [
11694
11695
  h(s, {
11695
11696
  text: "",
@@ -11702,7 +11703,7 @@ function em(t, e, o, i, a, r) {
11702
11703
  ]),
11703
11704
  _: 1
11704
11705
  }, 8, ["onClick"]),
11705
- a.showDatePicker ? (b(), R(f, {
11706
+ a.showDatePicker ? (b(), R(y, {
11706
11707
  key: 0,
11707
11708
  class: "card-box d-flex flex-column"
11708
11709
  }, {
@@ -11712,7 +11713,7 @@ function em(t, e, o, i, a, r) {
11712
11713
  l("div", $c, [
11713
11714
  h(c, {
11714
11715
  modelValue: a.currentDate,
11715
- "onUpdate:modelValue": e[0] || (e[0] = (z) => a.currentDate = z),
11716
+ "onUpdate:modelValue": e[0] || (e[0] = (k) => a.currentDate = k),
11716
11717
  min: a.dateRange[0],
11717
11718
  max: a.dateRange[1],
11718
11719
  "mode-icon": () => r.currentYear,
@@ -11730,13 +11731,13 @@ function em(t, e, o, i, a, r) {
11730
11731
  }),
11731
11732
  l("div", Jc, [
11732
11733
  l("div", Qc, m(a.currentTime), 1),
11733
- h(y, { class: "pa-0 flex-1-1-0" }, {
11734
+ h(f, { class: "pa-0 flex-1-1-0" }, {
11734
11735
  default: u(() => [
11735
- (b(!0), S(be, null, we(r.hourOptions, (z, T) => (b(), R(p, {
11736
+ (b(!0), S(be, null, we(r.hourOptions, (k, T) => (b(), R(p, {
11736
11737
  key: T,
11737
- value: z,
11738
+ value: k,
11738
11739
  color: "primary",
11739
- active: a.currentTime === z,
11740
+ active: a.currentTime === k,
11740
11741
  rounded: "",
11741
11742
  height: "26",
11742
11743
  "min-height": "26"
@@ -11744,10 +11745,10 @@ function em(t, e, o, i, a, r) {
11744
11745
  default: u(() => [
11745
11746
  h(g, {
11746
11747
  class: "text-body-2 text-center",
11747
- onClick: (O) => a.currentTime = z
11748
+ onClick: (O) => a.currentTime = k
11748
11749
  }, {
11749
11750
  default: u(() => [
11750
- j(m(z), 1)
11751
+ j(m(k), 1)
11751
11752
  ]),
11752
11753
  _: 2
11753
11754
  }, 1032, ["onClick"])
@@ -11762,7 +11763,7 @@ function em(t, e, o, i, a, r) {
11762
11763
  _: 1
11763
11764
  }),
11764
11765
  h(n),
11765
- h(_, {
11766
+ h(L, {
11766
11767
  class: "justify-end pa-0 pr-4",
11767
11768
  style: { height: "50px" }
11768
11769
  }, {
@@ -12035,10 +12036,10 @@ const tm = {
12035
12036
  (a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData), this.handleDrawInfoMarker([t.lng, t.lat])), this.loading = !1;
12036
12037
  },
12037
12038
  initTableData(t) {
12038
- var o, i, a, r, s, c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe;
12039
+ var o, i, a, r, s, c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe;
12039
12040
  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;
12040
12041
  const e = ((s = ao.pickHourly(t, D(this.form.dateTime))) == null ? void 0 : s[0]) || {};
12041
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((g = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((y = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : y.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((f = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : f.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 = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((Z = (W = e == null ? void 0 : e.wave) == null ? void 0 : W.sig) == null ? void 0 : Z.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((re = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : re.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = ($ = (ne = e == null ? void 0 : e.wave) == null ? void 0 : ne.swell) == null ? void 0 : $.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((ue = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : ue.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ce = e == null ? void 0 : e.current) == null ? void 0 : ce.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
12042
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((g = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((f = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : f.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 = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : y.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (z = e == null ? void 0 : e.wave) == null ? void 0 : z.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((Z = (W = e == null ? void 0 : e.wave) == null ? void 0 : W.sig) == null ? void 0 : Z.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((re = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : re.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = ($ = (ne = e == null ? void 0 : e.wave) == null ? void 0 : ne.swell) == null ? void 0 : $.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((ue = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : ue.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ce = e == null ? void 0 : e.current) == null ? void 0 : ce.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
12042
12043
  },
12043
12044
  handleBind() {
12044
12045
  var t, e;
@@ -12108,7 +12109,7 @@ const tm = {
12108
12109
  "aria-hidden": "true"
12109
12110
  }, vm = ["xlink:href"];
12110
12111
  function _m(t, e, o, i, a, r) {
12111
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VDivider"), p = x("VTextField"), y = x("VCol"), w = x("VRow"), _ = x("DateTimePicker"), f = x("VBtnToggle"), z = x("VCardActions"), T = x("VForm"), O = x("VCardText"), I = x("VCard"), P = x("VIcon");
12112
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VDivider"), p = x("VTextField"), f = x("VCol"), w = x("VRow"), L = x("DateTimePicker"), y = x("VBtnToggle"), k = x("VCardActions"), T = x("VForm"), O = x("VCardText"), I = x("VCard"), P = x("VIcon");
12112
12113
  return b(), S("div", om, [
12113
12114
  l("div", {
12114
12115
  class: "menu-bar-box transition pa-1",
@@ -12118,8 +12119,8 @@ function _m(t, e, o, i, a, r) {
12118
12119
  text: t.$t("spot.spotsMeteo"),
12119
12120
  location: "left"
12120
12121
  }, {
12121
- activator: u(({ props: k }) => [
12122
- h(s, B(k, {
12122
+ activator: u(({ props: _ }) => [
12123
+ h(s, B(_, {
12123
12124
  "min-width": "32",
12124
12125
  width: "32",
12125
12126
  height: "32",
@@ -12183,14 +12184,14 @@ function _m(t, e, o, i, a, r) {
12183
12184
  ]),
12184
12185
  h(w, { class: "ma-0" }, {
12185
12186
  default: u(() => [
12186
- h(y, {
12187
+ h(f, {
12187
12188
  cols: "4",
12188
12189
  class: "pa-0 d-flex"
12189
12190
  }, {
12190
12191
  default: u(() => [
12191
12192
  h(p, {
12192
12193
  modelValue: a.form.lngDegree,
12193
- "onUpdate:modelValue": e[0] || (e[0] = (k) => a.form.lngDegree = k),
12194
+ "onUpdate:modelValue": e[0] || (e[0] = (_) => a.form.lngDegree = _),
12194
12195
  rules: a.formRules.lngDegree,
12195
12196
  density: "compact",
12196
12197
  variant: "outlined",
@@ -12202,14 +12203,14 @@ function _m(t, e, o, i, a, r) {
12202
12203
  _: 1,
12203
12204
  __: [10]
12204
12205
  }),
12205
- h(y, {
12206
+ h(f, {
12206
12207
  cols: "6",
12207
12208
  class: "pa-0 d-flex"
12208
12209
  }, {
12209
12210
  default: u(() => [
12210
12211
  h(p, {
12211
12212
  modelValue: a.form.lngMinute,
12212
- "onUpdate:modelValue": e[1] || (e[1] = (k) => a.form.lngMinute = k),
12213
+ "onUpdate:modelValue": e[1] || (e[1] = (_) => a.form.lngMinute = _),
12213
12214
  rules: a.formRules.lngMinute,
12214
12215
  label: "",
12215
12216
  density: "compact",
@@ -12222,7 +12223,7 @@ function _m(t, e, o, i, a, r) {
12222
12223
  _: 1,
12223
12224
  __: [11]
12224
12225
  }),
12225
- h(y, {
12226
+ h(f, {
12226
12227
  cols: "2",
12227
12228
  class: "pa-0"
12228
12229
  }, {
@@ -12235,7 +12236,7 @@ function _m(t, e, o, i, a, r) {
12235
12236
  height: "32",
12236
12237
  class: "",
12237
12238
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
12238
- onClick: e[2] || (e[2] = (k) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
12239
+ onClick: e[2] || (e[2] = (_) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
12239
12240
  }, {
12240
12241
  default: u(() => [
12241
12242
  j(m(a.form.lngDirection), 1)
@@ -12258,14 +12259,14 @@ function _m(t, e, o, i, a, r) {
12258
12259
  ]),
12259
12260
  h(w, { class: "ma-0" }, {
12260
12261
  default: u(() => [
12261
- h(y, {
12262
+ h(f, {
12262
12263
  cols: "4",
12263
12264
  class: "pa-0 d-flex"
12264
12265
  }, {
12265
12266
  default: u(() => [
12266
12267
  h(p, {
12267
12268
  modelValue: a.form.latDegree,
12268
- "onUpdate:modelValue": e[3] || (e[3] = (k) => a.form.latDegree = k),
12269
+ "onUpdate:modelValue": e[3] || (e[3] = (_) => a.form.latDegree = _),
12269
12270
  rules: a.formRules.latDegree,
12270
12271
  label: "",
12271
12272
  density: "compact",
@@ -12280,14 +12281,14 @@ function _m(t, e, o, i, a, r) {
12280
12281
  _: 1,
12281
12282
  __: [12]
12282
12283
  }),
12283
- h(y, {
12284
+ h(f, {
12284
12285
  cols: "6",
12285
12286
  class: "pa-0 d-flex"
12286
12287
  }, {
12287
12288
  default: u(() => [
12288
12289
  h(p, {
12289
12290
  modelValue: a.form.latMinute,
12290
- "onUpdate:modelValue": e[4] || (e[4] = (k) => a.form.latMinute = k),
12291
+ "onUpdate:modelValue": e[4] || (e[4] = (_) => a.form.latMinute = _),
12291
12292
  rules: a.formRules.latMinute,
12292
12293
  label: "",
12293
12294
  density: "compact",
@@ -12300,7 +12301,7 @@ function _m(t, e, o, i, a, r) {
12300
12301
  _: 1,
12301
12302
  __: [13]
12302
12303
  }),
12303
- h(y, {
12304
+ h(f, {
12304
12305
  cols: "2",
12305
12306
  class: "pa-0"
12306
12307
  }, {
@@ -12313,7 +12314,7 @@ function _m(t, e, o, i, a, r) {
12313
12314
  height: "32",
12314
12315
  class: "text-body-1",
12315
12316
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
12316
- onClick: e[5] || (e[5] = (k) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
12317
+ onClick: e[5] || (e[5] = (_) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
12317
12318
  }, {
12318
12319
  default: u(() => [
12319
12320
  j(m(a.form.latDirection), 1)
@@ -12336,16 +12337,16 @@ function _m(t, e, o, i, a, r) {
12336
12337
  ]),
12337
12338
  h(w, { class: "ma-0 mb-4" }, {
12338
12339
  default: u(() => [
12339
- h(y, {
12340
+ h(f, {
12340
12341
  cols: "12",
12341
12342
  class: "pa-0"
12342
12343
  }, {
12343
12344
  default: u(() => [
12344
- h(_, B({
12345
+ h(L, B({
12345
12346
  "date-time": a.form.dateTime,
12346
12347
  "time-zone": o.timeZone
12347
12348
  }, t.$attrs, {
12348
- onDateTime: e[6] || (e[6] = (k) => a.form.dateTime = k)
12349
+ onDateTime: e[6] || (e[6] = (_) => a.form.dateTime = _)
12349
12350
  }), null, 16, ["date-time", "time-zone"])
12350
12351
  ]),
12351
12352
  _: 1
@@ -12363,14 +12364,14 @@ function _m(t, e, o, i, a, r) {
12363
12364
  ]),
12364
12365
  h(w, { class: "ma-0 mb-2" }, {
12365
12366
  default: u(() => [
12366
- h(y, {
12367
+ h(f, {
12367
12368
  cols: "12",
12368
12369
  class: "pa-0"
12369
12370
  }, {
12370
12371
  default: u(() => [
12371
- h(f, {
12372
+ h(y, {
12372
12373
  modelValue: a.form.forecastModel,
12373
- "onUpdate:modelValue": e[7] || (e[7] = (k) => a.form.forecastModel = k),
12374
+ "onUpdate:modelValue": e[7] || (e[7] = (_) => a.form.forecastModel = _),
12374
12375
  class: "w-100",
12375
12376
  rounded: "",
12376
12377
  height: "30",
@@ -12416,7 +12417,7 @@ function _m(t, e, o, i, a, r) {
12416
12417
  _: 1
12417
12418
  }),
12418
12419
  h(g),
12419
- h(z, { class: "d-flex justify-end align-center ga-4" }, {
12420
+ h(k, { class: "d-flex justify-end align-center ga-4" }, {
12420
12421
  default: u(() => [
12421
12422
  h(s, {
12422
12423
  size: "small",
@@ -12492,7 +12493,7 @@ function _m(t, e, o, i, a, r) {
12492
12493
  default: u(() => [
12493
12494
  h(w, null, {
12494
12495
  default: u(() => [
12495
- h(y, {
12496
+ h(f, {
12496
12497
  cols: "3",
12497
12498
  class: "pa-2 pl-0 text-right opacity-50"
12498
12499
  }, {
@@ -12501,14 +12502,14 @@ function _m(t, e, o, i, a, r) {
12501
12502
  ]),
12502
12503
  _: 1
12503
12504
  }),
12504
- h(y, {
12505
+ h(f, {
12505
12506
  cols: "9",
12506
12507
  class: "pa-2 px-0"
12507
12508
  }, {
12508
12509
  default: u(() => {
12509
- var k;
12510
+ var _;
12510
12511
  return [
12511
- j(m(r.computedTzTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
12512
+ j(m(r.computedTzTime((_ = a.currentHourData) == null ? void 0 : _.utc)), 1)
12512
12513
  ];
12513
12514
  }),
12514
12515
  _: 1
@@ -12518,7 +12519,7 @@ function _m(t, e, o, i, a, r) {
12518
12519
  }),
12519
12520
  h(w, null, {
12520
12521
  default: u(() => [
12521
- h(y, {
12522
+ h(f, {
12522
12523
  cols: "3",
12523
12524
  class: "pa-2 pl-0 text-right opacity-50"
12524
12525
  }, {
@@ -12528,14 +12529,14 @@ function _m(t, e, o, i, a, r) {
12528
12529
  _: 1,
12529
12530
  __: [18]
12530
12531
  }),
12531
- h(y, {
12532
+ h(f, {
12532
12533
  cols: "9",
12533
12534
  class: "pa-2 px-0"
12534
12535
  }, {
12535
12536
  default: u(() => {
12536
- var k;
12537
+ var _;
12537
12538
  return [
12538
- j(m(r.computedLocalTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
12539
+ j(m(r.computedLocalTime((_ = a.currentHourData) == null ? void 0 : _.utc)), 1)
12539
12540
  ];
12540
12541
  }),
12541
12542
  _: 1
@@ -12545,7 +12546,7 @@ function _m(t, e, o, i, a, r) {
12545
12546
  }),
12546
12547
  h(w, null, {
12547
12548
  default: u(() => [
12548
- h(y, {
12549
+ h(f, {
12549
12550
  cols: "3",
12550
12551
  class: "pa-2 pl-0 text-right opacity-50"
12551
12552
  }, {
@@ -12554,7 +12555,7 @@ function _m(t, e, o, i, a, r) {
12554
12555
  ]),
12555
12556
  _: 1
12556
12557
  }),
12557
- h(y, {
12558
+ h(f, {
12558
12559
  cols: "4",
12559
12560
  class: "pa-2 px-0 text-left"
12560
12561
  }, {
@@ -12563,7 +12564,7 @@ function _m(t, e, o, i, a, r) {
12563
12564
  ]),
12564
12565
  _: 1
12565
12566
  }),
12566
- h(y, {
12567
+ h(f, {
12567
12568
  cols: "2",
12568
12569
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
12569
12570
  }, {
@@ -12572,7 +12573,7 @@ function _m(t, e, o, i, a, r) {
12572
12573
  ]),
12573
12574
  _: 1
12574
12575
  }),
12575
- h(y, {
12576
+ h(f, {
12576
12577
  cols: "3",
12577
12578
  class: "pa-2 px-0 text-left"
12578
12579
  }, {
@@ -12586,7 +12587,7 @@ function _m(t, e, o, i, a, r) {
12586
12587
  }),
12587
12588
  h(w, null, {
12588
12589
  default: u(() => [
12589
- h(y, {
12590
+ h(f, {
12590
12591
  cols: "3",
12591
12592
  class: "pa-2 pl-0 text-right opacity-50"
12592
12593
  }, {
@@ -12595,7 +12596,7 @@ function _m(t, e, o, i, a, r) {
12595
12596
  ]),
12596
12597
  _: 1
12597
12598
  }),
12598
- h(y, {
12599
+ h(f, {
12599
12600
  cols: "4",
12600
12601
  class: "pa-2 px-0 text-left"
12601
12602
  }, {
@@ -12604,7 +12605,7 @@ function _m(t, e, o, i, a, r) {
12604
12605
  ]),
12605
12606
  _: 1
12606
12607
  }),
12607
- h(y, {
12608
+ h(f, {
12608
12609
  cols: "2",
12609
12610
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
12610
12611
  }, {
@@ -12613,7 +12614,7 @@ function _m(t, e, o, i, a, r) {
12613
12614
  ]),
12614
12615
  _: 1
12615
12616
  }),
12616
- h(y, {
12617
+ h(f, {
12617
12618
  cols: "3",
12618
12619
  class: "pa-2 px-0 text-left"
12619
12620
  }, {
@@ -12627,7 +12628,7 @@ function _m(t, e, o, i, a, r) {
12627
12628
  }),
12628
12629
  h(w, null, {
12629
12630
  default: u(() => [
12630
- h(y, {
12631
+ h(f, {
12631
12632
  cols: "3",
12632
12633
  class: "pa-2 pl-0 text-right opacity-50"
12633
12634
  }, {
@@ -12636,7 +12637,7 @@ function _m(t, e, o, i, a, r) {
12636
12637
  ]),
12637
12638
  _: 1
12638
12639
  }),
12639
- h(y, {
12640
+ h(f, {
12640
12641
  cols: "4",
12641
12642
  class: "pa-2 px-0 text-left"
12642
12643
  }, {
@@ -12645,7 +12646,7 @@ function _m(t, e, o, i, a, r) {
12645
12646
  ]),
12646
12647
  _: 1
12647
12648
  }),
12648
- h(y, {
12649
+ h(f, {
12649
12650
  cols: "2",
12650
12651
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
12651
12652
  }, {
@@ -12654,7 +12655,7 @@ function _m(t, e, o, i, a, r) {
12654
12655
  ]),
12655
12656
  _: 1
12656
12657
  }),
12657
- h(y, {
12658
+ h(f, {
12658
12659
  cols: "3",
12659
12660
  class: "pa-2 px-0 text-left"
12660
12661
  }, {
@@ -12670,11 +12671,11 @@ function _m(t, e, o, i, a, r) {
12670
12671
  _: 1
12671
12672
  }),
12672
12673
  h(g),
12673
- h(z, { class: "d-flex justify-space-between align-center" }, {
12674
+ h(k, { class: "d-flex justify-space-between align-center" }, {
12674
12675
  default: u(() => [
12675
- o.followList.some((k) => {
12676
- var L, C;
12677
- return ((L = k == null ? void 0 : k.coordinate) == null ? void 0 : L.lng) === a.form.lng && ((C = k == null ? void 0 : k.coordinate) == null ? void 0 : C.lat) === a.form.lat;
12676
+ o.followList.some((_) => {
12677
+ var z, C;
12678
+ return ((z = _ == null ? void 0 : _.coordinate) == null ? void 0 : z.lng) === a.form.lng && ((C = _ == null ? void 0 : _.coordinate) == null ? void 0 : C.lat) === a.form.lat;
12678
12679
  }) ? (b(), R(s, {
12679
12680
  key: 0,
12680
12681
  class: "text-none text-body-1",
@@ -12828,7 +12829,7 @@ const zm = {
12828
12829
  }
12829
12830
  },
12830
12831
  handleDrag(t) {
12831
- var o, i, a, r, s, c, n, g, p, y;
12832
+ var o, i, a, r, s, c, n, g, p, f;
12832
12833
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
12833
12834
  if ((e == null ? void 0 : e.split("-").length) === 2) {
12834
12835
  const w = this.geojson.filter((T) => T.id === e.split("-")[0])[0];
@@ -12836,33 +12837,33 @@ const zm = {
12836
12837
  var O;
12837
12838
  return ((O = T._element) == null ? void 0 : O.id) === e;
12838
12839
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (c = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : c.lat]);
12839
- let f;
12840
+ let y;
12840
12841
  w.features.forEach((T, O) => {
12841
12842
  if (T.geometry.type === "Point" && T.properties.id === e.split("-")[1]) {
12842
- f = O;
12843
+ y = O;
12843
12844
  return;
12844
12845
  }
12845
12846
  });
12846
- const z = w.features.filter((T) => T.geometry.type === "Point");
12847
+ const k = w.features.filter((T) => T.geometry.type === "Point");
12847
12848
  this.handleTmpPointUpdate(
12848
12849
  w,
12849
- z[f - 1],
12850
- { lng: (g = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : g.lng, lat: (y = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : y.lat, properties: z[f].properties },
12851
- f === z.length - 1 ? void 0 : z[f + 1]
12850
+ k[y - 1],
12851
+ { lng: (g = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : g.lng, lat: (f = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : f.lat, properties: k[y].properties },
12852
+ y === k.length - 1 ? void 0 : k[y + 1]
12852
12853
  );
12853
12854
  }
12854
12855
  },
12855
12856
  handleDragEnd(t) {
12856
- var o, i, a, r, s, c, n, g, p, y;
12857
+ var o, i, a, r, s, c, n, g, p, f;
12857
12858
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
12858
12859
  if ((e == null ? void 0 : e.split("-").length) === 2) {
12859
- const w = this.geojson.filter((z) => z.id === e.split("-")[0])[0];
12860
- this.pointMarkers[w.id].filter((z) => {
12860
+ const w = this.geojson.filter((k) => k.id === e.split("-")[0])[0];
12861
+ this.pointMarkers[w.id].filter((k) => {
12861
12862
  var T;
12862
- return ((T = z._element) == null ? void 0 : T.id) === e;
12863
+ return ((T = k._element) == null ? void 0 : T.id) === e;
12863
12864
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (c = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : c.lat]);
12864
- const f = w.features.filter((z) => z.geometry.type === "Point" && z.properties.id === e.split("-")[1])[0];
12865
- f.geometry.coordinates = [(g = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : g.lng, (y = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : y.lat], w.features = w.features.filter((z) => z.geometry.type === "Point"), this.handlePointUpdate(w);
12865
+ const y = w.features.filter((k) => k.geometry.type === "Point" && k.properties.id === e.split("-")[1])[0];
12866
+ y.geometry.coordinates = [(g = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : g.lng, (f = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : f.lat], w.features = w.features.filter((k) => k.geometry.type === "Point"), this.handlePointUpdate(w);
12866
12867
  }
12867
12868
  },
12868
12869
  handleContextmenu(t) {
@@ -12910,14 +12911,14 @@ const zm = {
12910
12911
  let o = 0;
12911
12912
  const i = [];
12912
12913
  for (let a = 1; a < e.length; a++) {
12913
- const r = e[a - 1], s = e[a], c = r.properties, n = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, g = { lng: s.geometry.coordinates[0], lat: s.geometry.coordinates[1] }, p = He.calculateDistance(n, g, c.mode === "RL", 4), y = He.calculateBearing(n, g, c.mode === "RL", 2);
12914
+ const r = e[a - 1], s = e[a], c = r.properties, n = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, g = { lng: s.geometry.coordinates[0], lat: s.geometry.coordinates[1] }, p = He.calculateDistance(n, g, c.mode === "RL", 4), f = He.calculateBearing(n, g, c.mode === "RL", 2);
12914
12915
  o = X.roundPrecision(o + p, 4);
12915
12916
  let w;
12916
12917
  c.mode === "RL" ? w = X.convertToMonotonicLng([n, g]) : w = X.convertToMonotonicLng(He.interpolateCoordinates(n, g, 200));
12917
- const _ = U.lineString(w.map((z) => [z.lng, z.lat]));
12918
- _.properties.dist = p, _.properties.bearing = y, _.properties.total = o, _.properties.name = "Line " + this.currentLineIndex, i.push(_);
12919
- const f = e[a];
12920
- f.properties.totalDist = X.roundPrecision((c.totalDist ? c.totalDist : 0) + p, 4), f.properties.sumLabel = f.properties.totalDist + " nm";
12918
+ const L = U.lineString(w.map((k) => [k.lng, k.lat]));
12919
+ L.properties.dist = p, L.properties.bearing = f, L.properties.total = o, L.properties.name = "Line " + this.currentLineIndex, i.push(L);
12920
+ const y = e[a];
12921
+ y.properties.totalDist = X.roundPrecision((c.totalDist ? c.totalDist : 0) + p, 4), y.properties.sumLabel = y.properties.totalDist + " nm";
12921
12922
  }
12922
12923
  e.push(...i), t.total = o;
12923
12924
  }
@@ -12929,17 +12930,17 @@ const zm = {
12929
12930
  if (e) {
12930
12931
  const n = e.properties, g = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, p = { lng: o.lng, lat: o.lat };
12931
12932
  r = He.calculateDistance(g, p, n.mode === "RL", 4), s = He.calculateBearing(g, p, n.mode === "RL", 2);
12932
- let y;
12933
- n.mode === "RL" ? y = X.convertToMonotonicLng([g, p]) : y = X.convertToMonotonicLng(He.interpolateCoordinates(g, p, 200));
12934
- const w = U.lineString(y.map((_) => [_.lng, _.lat]));
12933
+ let f;
12934
+ n.mode === "RL" ? f = X.convertToMonotonicLng([g, p]) : f = X.convertToMonotonicLng(He.interpolateCoordinates(g, p, 200));
12935
+ const w = U.lineString(f.map((L) => [L.lng, L.lat]));
12935
12936
  w.properties.dist = r, w.properties.bearing = s, a.features.push(w);
12936
12937
  }
12937
12938
  if (i) {
12938
12939
  const n = o.properties, g = o, p = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
12939
12940
  r = He.calculateDistance(g, p, n.mode === "RL", 4), s = He.calculateBearing(g, p, n.mode === "RL", 2);
12940
- let y;
12941
- n.mode === "RL" ? y = X.convertToMonotonicLng([g, p]) : y = X.convertToMonotonicLng(He.interpolateCoordinates(g, p, 200));
12942
- const w = U.lineString(y.map((_) => [_.lng, _.lat]));
12941
+ let f;
12942
+ n.mode === "RL" ? f = X.convertToMonotonicLng([g, p]) : f = X.convertToMonotonicLng(He.interpolateCoordinates(g, p, 200));
12943
+ const w = U.lineString(f.map((L) => [L.lng, L.lat]));
12943
12944
  w.properties.dist = r, w.properties.bearing = s, a.features.push(w);
12944
12945
  }
12945
12946
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(a) : this.map.addSource(this.tmpSource, {
@@ -13075,17 +13076,17 @@ const zm = {
13075
13076
  g.on("drag", this.handleDrag), g.on("dragend", this.handleDragEnd), this.pointMarkers[t.id] ? this.pointMarkers[t.id].push(g) : this.pointMarkers[t.id] = [g];
13076
13077
  }
13077
13078
  if (t.closed) {
13078
- const c = s.at(-1), g = t.features.filter((y) => y.geometry.type === "LineString").at(-1), p = document.createElement("div");
13079
+ const c = s.at(-1), g = t.features.filter((f) => f.geometry.type === "LineString").at(-1), p = document.createElement("div");
13079
13080
  p.className = "idm-gl4-measure-summary-marker", p.innerHTML = `<div id="${t.id}" class="marker-close">×</div><div class="marker-label">${g.properties.name}</div>`, this.closeMarkers[t.id] = new ve.Marker(p).setOffset([0, -30]).setLngLat(c.geometry.coordinates).addTo(this.map);
13080
13081
  }
13081
13082
  }
13082
13083
  },
13083
13084
  handleClear(t, e = !0) {
13084
- var s, c, n, g, p, y, w, _, f, z;
13085
+ var s, c, n, g, p, f, w, L, y, k;
13085
13086
  const o = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, a = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
13086
- (s = this.map) != null && s.getLayer(i) && this.map.removeLayer(i), (c = this.map) != null && c.getLayer(a) && this.map.removeLayer(a), (n = this.map) != null && n.getLayer(r) && this.map.removeLayer(r), (g = this.map) != null && g.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (p = this.map) != null && p.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (y = this.closeMarkers[t.id]) == null || y.remove(), this.closeMarkers[t.id] = void 0, (w = this.pointMarkers[t.id]) == null || w.forEach((T) => {
13087
+ (s = this.map) != null && s.getLayer(i) && this.map.removeLayer(i), (c = this.map) != null && c.getLayer(a) && this.map.removeLayer(a), (n = this.map) != null && n.getLayer(r) && this.map.removeLayer(r), (g = this.map) != null && g.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (p = this.map) != null && p.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (f = this.closeMarkers[t.id]) == null || f.remove(), this.closeMarkers[t.id] = void 0, (w = this.pointMarkers[t.id]) == null || w.forEach((T) => {
13087
13088
  T == null || T.remove();
13088
- }), this.pointMarkers[t.id] = [], (_ = this.tipMarker) == null || _.remove(), this.tipMarker = void 0, e && ((f = this.map) != null && f.getSource(o)) && this.map.removeSource(o), e && ((z = this.map) != null && z.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
13089
+ }), this.pointMarkers[t.id] = [], (L = this.tipMarker) == null || L.remove(), this.tipMarker = void 0, e && ((y = this.map) != null && y.getSource(o)) && this.map.removeSource(o), e && ((k = this.map) != null && k.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
13089
13090
  }
13090
13091
  }
13091
13092
  }, Lm = { class: "idm-gl4-measure" };
@@ -13244,7 +13245,7 @@ const Tm = {
13244
13245
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
13245
13246
  }, Om = ["onClick"], Bm = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Nm = { class: "text-body-1" };
13246
13247
  function Em(t, e, o, i, a, r) {
13247
- const s = x("DateTimePicker"), c = x("VListItemTitle"), n = x("VListItem"), g = x("VList"), p = x("VMenu"), y = x("VBtn"), w = x("VDivider"), _ = x("VTooltip");
13248
+ const s = x("DateTimePicker"), c = x("VListItemTitle"), n = x("VListItem"), g = x("VList"), p = x("VMenu"), f = x("VBtn"), w = x("VDivider"), L = x("VTooltip");
13248
13249
  return b(), S("div", Sm, [
13249
13250
  l("div", {
13250
13251
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
@@ -13258,11 +13259,11 @@ function Em(t, e, o, i, a, r) {
13258
13259
  "day-about": a.dayAbout,
13259
13260
  "interval-hour": a.intervalHour
13260
13261
  }, t.$attrs, {
13261
- onCurrentTimestamp: e[0] || (e[0] = (f) => a.currentTimestamp = f),
13262
- onCurrentRealTime: e[1] || (e[1] = (f) => a.currentRealTime = f),
13263
- onTimestampRange: e[2] || (e[2] = (f) => a.timestampRange = f)
13262
+ onCurrentTimestamp: e[0] || (e[0] = (y) => a.currentTimestamp = y),
13263
+ onCurrentRealTime: e[1] || (e[1] = (y) => a.currentRealTime = y),
13264
+ onTimestampRange: e[2] || (e[2] = (y) => a.timestampRange = y)
13264
13265
  }), null, 16, ["date-time", "time-zone", "day-about", "interval-hour"]),
13265
- h(y, {
13266
+ h(f, {
13266
13267
  text: "",
13267
13268
  height: "30",
13268
13269
  class: "text-none elevation-0 btn-border-1 text-body-1",
@@ -13274,13 +13275,13 @@ function Em(t, e, o, i, a, r) {
13274
13275
  default: u(() => [
13275
13276
  h(g, { class: "pa-1" }, {
13276
13277
  default: u(() => [
13277
- (b(!0), S(be, null, we(a.intervalOptions, (f, z) => (b(), R(n, {
13278
- key: z,
13279
- value: f,
13280
- variant: a.intervalHour === f ? "tonal" : "text",
13278
+ (b(!0), S(be, null, we(a.intervalOptions, (y, k) => (b(), R(n, {
13279
+ key: k,
13280
+ value: y,
13281
+ variant: a.intervalHour === y ? "tonal" : "text",
13281
13282
  color: "primary",
13282
13283
  rounded: "",
13283
- active: a.intervalHour === f,
13284
+ active: a.intervalHour === y,
13284
13285
  height: "30",
13285
13286
  "min-height": "30",
13286
13287
  "min-width": "30",
@@ -13288,10 +13289,10 @@ function Em(t, e, o, i, a, r) {
13288
13289
  }, {
13289
13290
  default: u(() => [
13290
13291
  h(c, {
13291
- onClick: (T) => a.intervalHour = f
13292
+ onClick: (T) => a.intervalHour = y
13292
13293
  }, {
13293
13294
  default: u(() => [
13294
- j(m(f) + "h", 1)
13295
+ j(m(y) + "h", 1)
13295
13296
  ]),
13296
13297
  _: 2
13297
13298
  }, 1032, ["onClick"])
@@ -13314,7 +13315,7 @@ function Em(t, e, o, i, a, r) {
13314
13315
  style: { height: "16px" }
13315
13316
  }),
13316
13317
  l("div", Mm, [
13317
- h(y, {
13318
+ h(f, {
13318
13319
  icon: "",
13319
13320
  size: "small",
13320
13321
  density: "comfortable",
@@ -13327,7 +13328,7 @@ function Em(t, e, o, i, a, r) {
13327
13328
  _: 1,
13328
13329
  __: [9]
13329
13330
  }, 8, ["onClick"]),
13330
- h(y, {
13331
+ h(f, {
13331
13332
  icon: "",
13332
13333
  size: "small",
13333
13334
  density: "comfortable",
@@ -13340,7 +13341,7 @@ function Em(t, e, o, i, a, r) {
13340
13341
  _: 1,
13341
13342
  __: [10]
13342
13343
  }, 8, ["onClick"]),
13343
- a.paused ? (b(), R(y, {
13344
+ a.paused ? (b(), R(f, {
13344
13345
  key: 0,
13345
13346
  icon: "",
13346
13347
  size: "small",
@@ -13353,7 +13354,7 @@ function Em(t, e, o, i, a, r) {
13353
13354
  ])),
13354
13355
  _: 1,
13355
13356
  __: [11]
13356
- }, 8, ["onClick"])) : (b(), R(y, {
13357
+ }, 8, ["onClick"])) : (b(), R(f, {
13357
13358
  key: 1,
13358
13359
  icon: "",
13359
13360
  size: "small",
@@ -13367,7 +13368,7 @@ function Em(t, e, o, i, a, r) {
13367
13368
  _: 1,
13368
13369
  __: [12]
13369
13370
  }, 8, ["onClick"])),
13370
- h(y, {
13371
+ h(f, {
13371
13372
  icon: "",
13372
13373
  size: "small",
13373
13374
  density: "comfortable",
@@ -13387,16 +13388,16 @@ function Em(t, e, o, i, a, r) {
13387
13388
  style: { height: "16px" }
13388
13389
  }),
13389
13390
  l("div", Am, [
13390
- h(_, {
13391
+ h(L, {
13391
13392
  text: t.$t("weather.windBarbs"),
13392
13393
  location: "top"
13393
13394
  }, {
13394
- activator: u(({ props: f }) => {
13395
- var z, T;
13395
+ activator: u(({ props: y }) => {
13396
+ var k, T;
13396
13397
  return [
13397
- h(y, B(f, {
13398
+ h(f, B(y, {
13398
13399
  class: "pa-1 d-flex",
13399
- color: (z = o.weatherCheckList) != null && z.includes("wind") ? "primary" : "",
13400
+ color: (k = o.weatherCheckList) != null && k.includes("wind") ? "primary" : "",
13400
13401
  variant: (T = o.weatherCheckList) != null && T.includes("wind") ? "elevated" : "text",
13401
13402
  height: "24",
13402
13403
  width: "24",
@@ -13413,16 +13414,16 @@ function Em(t, e, o, i, a, r) {
13413
13414
  }),
13414
13415
  _: 1
13415
13416
  }, 8, ["text"]),
13416
- h(_, {
13417
+ h(L, {
13417
13418
  text: t.$t("weather.sigWaveHeight"),
13418
13419
  location: "top"
13419
13420
  }, {
13420
- activator: u(({ props: f }) => {
13421
- var z, T;
13421
+ activator: u(({ props: y }) => {
13422
+ var k, T;
13422
13423
  return [
13423
- h(y, B(f, {
13424
+ h(f, B(y, {
13424
13425
  class: "pa-1 d-flex",
13425
- color: (z = o.weatherCheckList) != null && z.includes("sig-wave-height") ? "primary" : "",
13426
+ color: (k = o.weatherCheckList) != null && k.includes("sig-wave-height") ? "primary" : "",
13426
13427
  variant: (T = o.weatherCheckList) != null && T.includes("sig-wave-height") ? "elevated" : "text",
13427
13428
  height: "24",
13428
13429
  width: "24",
@@ -13430,7 +13431,7 @@ function Em(t, e, o, i, a, r) {
13430
13431
  onClick: e[4] || (e[4] = (O) => r.handleClickFastWeather("sig-wave-height"))
13431
13432
  }), {
13432
13433
  default: u(() => [
13433
- l("i", B(f, { class: "iconfont icon-a-WaveHeight" }), null, 16)
13434
+ l("i", B(y, { class: "iconfont icon-a-WaveHeight" }), null, 16)
13434
13435
  ]),
13435
13436
  _: 2
13436
13437
  }, 1040, ["color", "variant"])
@@ -13438,16 +13439,16 @@ function Em(t, e, o, i, a, r) {
13438
13439
  }),
13439
13440
  _: 1
13440
13441
  }, 8, ["text"]),
13441
- h(_, {
13442
+ h(L, {
13442
13443
  text: t.$t("weather.currentDirection"),
13443
13444
  location: "top"
13444
13445
  }, {
13445
- activator: u(({ props: f }) => {
13446
- var z, T;
13446
+ activator: u(({ props: y }) => {
13447
+ var k, T;
13447
13448
  return [
13448
- h(y, B(f, {
13449
+ h(f, B(y, {
13449
13450
  class: "pa-1 d-flex",
13450
- color: (z = o.weatherCheckList) != null && z.includes("current-direction") ? "primary" : "",
13451
+ color: (k = o.weatherCheckList) != null && k.includes("current-direction") ? "primary" : "",
13451
13452
  variant: (T = o.weatherCheckList) != null && T.includes("current-direction") ? "elevated" : "text",
13452
13453
  height: "24",
13453
13454
  width: "24",
@@ -13455,7 +13456,7 @@ function Em(t, e, o, i, a, r) {
13455
13456
  onClick: e[5] || (e[5] = (O) => r.handleClickFastWeather("current-direction"))
13456
13457
  }), {
13457
13458
  default: u(() => [
13458
- l("i", B(f, { class: "iconfont icon-Current" }), null, 16)
13459
+ l("i", B(y, { class: "iconfont icon-Current" }), null, 16)
13459
13460
  ]),
13460
13461
  _: 2
13461
13462
  }, 1040, ["color", "variant"])
@@ -13463,12 +13464,12 @@ function Em(t, e, o, i, a, r) {
13463
13464
  }),
13464
13465
  _: 1
13465
13466
  }, 8, ["text"]),
13466
- h(_, {
13467
+ h(L, {
13467
13468
  text: t.$t("weather.weatherLayers"),
13468
13469
  location: "top"
13469
13470
  }, {
13470
- activator: u(({ props: f }) => [
13471
- h(y, B(f, {
13471
+ activator: u(({ props: y }) => [
13472
+ h(f, B(y, {
13472
13473
  class: "pa-1 d-flex",
13473
13474
  variant: "text",
13474
13475
  height: "24",
@@ -13477,7 +13478,7 @@ function Em(t, e, o, i, a, r) {
13477
13478
  onClick: r.handleClickFastMore
13478
13479
  }), {
13479
13480
  default: u(() => [
13480
- l("i", B(f, { class: "iconfont icon-dots-align" }), null, 16)
13481
+ l("i", B(y, { class: "iconfont icon-dots-align" }), null, 16)
13481
13482
  ]),
13482
13483
  _: 2
13483
13484
  }, 1040, ["onClick"])
@@ -13491,12 +13492,12 @@ function Em(t, e, o, i, a, r) {
13491
13492
  style: { height: "16px" }
13492
13493
  }),
13493
13494
  l("div", Dm, [
13494
- h(y, {
13495
+ h(f, {
13495
13496
  text: "",
13496
13497
  height: "30",
13497
13498
  class: "px-2 elevation-0 text-body-1 btn-border-2",
13498
13499
  color: a.source === "GFS" ? "primary" : "",
13499
- onClick: e[6] || (e[6] = (f) => a.source = "GFS")
13500
+ onClick: e[6] || (e[6] = (y) => a.source = "GFS")
13500
13501
  }, {
13501
13502
  default: u(() => e[15] || (e[15] = [
13502
13503
  j("NOAA", -1)
@@ -13504,12 +13505,12 @@ function Em(t, e, o, i, a, r) {
13504
13505
  _: 1,
13505
13506
  __: [15]
13506
13507
  }, 8, ["color"]),
13507
- h(y, {
13508
+ h(f, {
13508
13509
  text: "",
13509
13510
  height: "30",
13510
13511
  class: "px-2 elevation-0 text-body-1 btn-border-2",
13511
13512
  color: a.source === "ECMWF" ? "primary" : "",
13512
- onClick: e[7] || (e[7] = (f) => a.source = "ECMWF")
13513
+ onClick: e[7] || (e[7] = (y) => a.source = "ECMWF")
13513
13514
  }, {
13514
13515
  default: u(() => e[16] || (e[16] = [
13515
13516
  j("ECMWF", -1)
@@ -13524,20 +13525,20 @@ function Em(t, e, o, i, a, r) {
13524
13525
  style: ie({ right: a.right + "px" })
13525
13526
  }, [
13526
13527
  a.showTimezone ? (b(), S("div", Rm, [
13527
- (b(!0), S(be, null, we(a.offsets, (f) => (b(), S("div", {
13528
- key: f,
13528
+ (b(!0), S(be, null, we(a.offsets, (y) => (b(), S("div", {
13529
+ key: y,
13529
13530
  class: "item rounded text-body-2 hover-active",
13530
- onClick: (z) => a.timeZone = f
13531
- }, m(f < 0 ? f : "+" + f), 9, Om))), 128))
13531
+ onClick: (k) => a.timeZone = y
13532
+ }, m(y < 0 ? y : "+" + y), 9, Om))), 128))
13532
13533
  ])) : M("", !0),
13533
13534
  l("div", Bm, [
13534
- h(y, {
13535
+ h(f, {
13535
13536
  text: "",
13536
13537
  variant: "flat",
13537
13538
  height: "28",
13538
13539
  class: "pa-1 text-body-1",
13539
13540
  color: "primary",
13540
- onClick: e[8] || (e[8] = (f) => a.showTimezone = !a.showTimezone)
13541
+ onClick: e[8] || (e[8] = (y) => a.showTimezone = !a.showTimezone)
13541
13542
  }, {
13542
13543
  default: u(() => [
13543
13544
  j(" UTC " + m(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
@@ -13613,7 +13614,7 @@ const jm = /* @__PURE__ */ K(Tm, [["render", Em]]), Fm = {
13613
13614
  class: "map-gl4-home"
13614
13615
  };
13615
13616
  function Um(t, e, o, i, a, r) {
13616
- const s = x("IdmOtherLayer"), c = x("IdmWeatherLayer"), n = x("IdmTropicals"), g = x("IdmMeasure"), p = x("IdmSpot"), y = x("IdmBottomBar");
13617
+ const s = x("IdmOtherLayer"), c = x("IdmWeatherLayer"), n = x("IdmTropicals"), g = x("IdmMeasure"), p = x("IdmSpot"), f = x("IdmBottomBar");
13617
13618
  return b(), S("div", Hm, [
13618
13619
  h(s, B({
13619
13620
  ref: "idmOtherLayers",
@@ -13671,7 +13672,7 @@ function Um(t, e, o, i, a, r) {
13671
13672
  "forecast-model": o.forecastModel,
13672
13673
  "map-feather": o.mapFeather
13673
13674
  }, t.$attrs), null, 16, ["map", "token", "gateway", "forecast-model", "map-feather"]),
13674
- h(y, B({
13675
+ h(f, B({
13675
13676
  ref: "idmBottomBar",
13676
13677
  "forecast-model": o.forecastModel,
13677
13678
  "weather-check-list": a.weatherCheckList,
@@ -13688,7 +13689,7 @@ class Gm {
13688
13689
  de(this, "hi");
13689
13690
  de(this, "td");
13690
13691
  de(this, "windy");
13691
- var o, i, a, r, s, c, n, g, p, y, w, _, f, z, T, O, I, P, k, L, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, H, te, Fe, Ie, ge, fe, G, Ce, oe, le, Oe, E, ye, Me, Be, Ne, N, Y, Ve, Ze, qe, Te, Ye, Ke, Xe, $e, Je, Qe, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, It, Mt, At, Dt, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Jt, Qt, eo, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Io, Mo, Ao, Do, Ro, Oo, Bo, No, Eo, jo, Fo, Ho, Uo, Wo, Go, Vo, Zo, qo, Yo, Ko, Xo, $o, Jo, Qo, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ia, Ma, Aa, Da, Ra, Oa, Ba, Na, Ea, ja, Fa, Ha, Ua, Wa, Ga;
13692
+ var o, i, a, r, s, c, n, g, p, f, w, L, y, k, T, O, I, P, _, z, C, v, A, W, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, H, te, Fe, Ie, ge, fe, G, Ce, oe, le, Oe, E, ye, Me, Be, Ne, N, Y, Ve, Ze, qe, Te, Ye, Ke, Xe, $e, Je, Qe, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, It, Mt, At, Dt, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Jt, Qt, eo, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Io, Mo, Ao, Do, Ro, Oo, Bo, No, Eo, jo, Fo, Ho, Uo, Wo, Go, Vo, Zo, qo, Yo, Ko, Xo, $o, Jo, Qo, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ia, Ma, Aa, Da, Ra, Oa, Ba, Na, Ea, ja, Fa, Ha, Ua, Wa, Ga;
13692
13693
  this.i4 = {
13693
13694
  source: {
13694
13695
  type: "raster",
@@ -32284,12 +32285,12 @@ class Gm {
32284
32285
  (r = (a = this.originStyle) == null ? void 0 : a.light.layers) == null ? void 0 : r.find((d) => d.id === "water"),
32285
32286
  (c = (s = this.originStyle) == null ? void 0 : s.light.layers) == null ? void 0 : c.find((d) => d.id === "ice-area-fill"),
32286
32287
  (g = (n = this.originStyle) == null ? void 0 : n.light.layers) == null ? void 0 : g.find((d) => d.id === "ice-area-line"),
32287
- (y = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : y.find((d) => d.id === "loadlines-label"),
32288
- (_ = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : _.find((d) => d.id === "loadlines-fill"),
32289
- (z = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : z.find((d) => d.id === "empty-layer-0"),
32288
+ (f = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : f.find((d) => d.id === "loadlines-label"),
32289
+ (L = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : L.find((d) => d.id === "loadlines-fill"),
32290
+ (k = (y = this.originStyle) == null ? void 0 : y.light.layers) == null ? void 0 : k.find((d) => d.id === "empty-layer-0"),
32290
32291
  (O = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : O.find((d) => d.id === "empty-layer-1"),
32291
32292
  (P = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : P.find((d) => d.id === "country-boundaries"),
32292
- (L = (k = this.originStyle) == null ? void 0 : k.light.layers) == null ? void 0 : L.find((d) => d.id === "water-outline"),
32293
+ (z = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : z.find((d) => d.id === "water-outline"),
32293
32294
  (v = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline2"),
32294
32295
  (W = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : W.find((d) => d.id === "empty-layer-2"),
32295
32296
  (q = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : q.find((d) => d.id === "water-line-label"),