@idmwx/idmui-gl4 1.7.3 → 1.7.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
@@ -3,15 +3,15 @@ var Ka = (t, e, o) => e in t ? $a(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var de = (t, e, o) => (Ka(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Se from "axios";
5
5
  import { useTheme as ze } from "vuetify";
6
- import { openBlock as y, createElementBlock as S, resolveComponent as w, createBlock as R, withCtx as f, createVNode as p, withModifiers as je, createElementVNode as s, createCommentVNode as D, normalizeClass as Ne, toDisplayString as m, createTextVNode as K, Fragment as be, renderList as we, withDirectives as We, vShow as Ue, mergeProps as B, normalizeStyle as ie } from "vue";
6
+ import { openBlock as y, createElementBlock as S, resolveComponent as x, createBlock as R, withCtx as f, createVNode as p, withModifiers as je, createElementVNode as s, createCommentVNode as D, normalizeClass as Ne, toDisplayString as m, createTextVNode as K, Fragment as be, renderList as we, withDirectives as Ue, vShow as We, mergeProps as B, normalizeStyle as ie } from "vue";
7
7
  import ve from "mapbox-gl";
8
8
  import M from "moment";
9
9
  import { LngLatHelper as X, TropicalHelper as Va, LaneHelper as Ge } from "@idm-plugin/geo";
10
- import { Meteo2Assist as ao, TidesAssist as Ya } from "@idm-plugin/meteo";
11
- import * as ro from "echarts";
10
+ import { Meteo2Assist as Co, TidesAssist as Ya } from "@idm-plugin/meteo";
11
+ import * as So from "echarts";
12
12
  import * as H from "@turf/turf";
13
- import { LayerHelper as io, CompanyHelper as Qa } from "@idm-plugin/tag2";
14
- import Ja from "@mapbox/sphericalmercator";
13
+ import { LayerHelper as To, CompanyHelper as Ja } from "@idm-plugin/tag2";
14
+ import Qa from "@mapbox/sphericalmercator";
15
15
  import { LayerHelper as ei } from "@idm-plugin/tag";
16
16
  const Y = (t, e) => {
17
17
  const o = t.__vccOpts || t;
@@ -489,7 +489,7 @@ const mi = {
489
489
  }
490
490
  }, di = ["innerHTML"];
491
491
  function hi(t, e, o, i, a, r) {
492
- const l = w("VBtn"), c = w("v-card-text"), n = w("v-card");
492
+ const l = x("VBtn"), c = x("v-card-text"), n = x("v-card");
493
493
  return a.showMakerInfo ? (y(), R(n, {
494
494
  key: 0,
495
495
  class: "scroll",
@@ -1453,7 +1453,7 @@ const ui = {
1453
1453
  async fetchMeteoData() {
1454
1454
  var i, a;
1455
1455
  this.loading = !0, this.meteoData = [];
1456
- const { weatherModels: t, marineModels: e } = ao.autoPickMeteoModel(this.forecastModel);
1456
+ const { weatherModels: t, marineModels: e } = Co.autoPickMeteoModel(this.forecastModel);
1457
1457
  let o = {
1458
1458
  lat: (i = this.port) == null ? void 0 : i.lat,
1459
1459
  lng: (a = this.port) == null ? void 0 : a.lng,
@@ -1487,10 +1487,10 @@ const ui = {
1487
1487
  { label: "Swell", key: "weather.swell", unit: "m" },
1488
1488
  { label: "Current", key: "weather.current", unit: "kts" }
1489
1489
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1490
- var c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe;
1490
+ var c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, xe, Le, Pe;
1491
1491
  let r = {};
1492
- const l = ((c = ao.pickHourly(t, M(i))) == null ? void 0 : c[0]) || {};
1493
- r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((z = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : z.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((k = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (V = (N = l == null ? void 0 : l.wave) == null ? void 0 : N.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((U = (Z = l == null ? void 0 : l.wave) == null ? void 0 : Z.sig) == null ? void 0 : U.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (ne = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.direction, r.windwavePeriod = this.computeRoundPrecision((J = (se = l == null ? void 0 : l.wave) == null ? void 0 : se.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((he = (ae = l == null ? void 0 : l.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.height, 1) ?? "-", r.swellDir = (pe = (ce = l == null ? void 0 : l.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.direction, r.swellPeriod = this.computeRoundPrecision((F = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = l == null ? void 0 : l.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = l == null ? void 0 : l.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = l == null ? void 0 : l.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1492
+ const l = ((c = Co.pickHourly(t, M(i))) == null ? void 0 : c[0]) || {};
1493
+ r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = l.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((_ = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.precip) == null ? void 0 : _.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = l == null ? void 0 : l.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((z = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : z.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (k = l == null ? void 0 : l.wave) == null ? void 0 : k.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (V = (N = l == null ? void 0 : l.wave) == null ? void 0 : N.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((W = (Z = l == null ? void 0 : l.wave) == null ? void 0 : Z.sig) == null ? void 0 : W.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((J = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : J.height, 1) ?? "-", r.windwaveDir = (ne = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.direction, r.windwavePeriod = this.computeRoundPrecision((Q = (se = l == null ? void 0 : l.wave) == null ? void 0 : se.wd) == null ? void 0 : Q.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((he = (ae = l == null ? void 0 : l.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.height, 1) ?? "-", r.swellDir = (pe = (ce = l == null ? void 0 : l.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.direction, r.swellPeriod = this.computeRoundPrecision((F = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = l == null ? void 0 : l.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = l == null ? void 0 : l.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = l == null ? void 0 : l.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1494
1494
  });
1495
1495
  },
1496
1496
  handleTide() {
@@ -1534,8 +1534,8 @@ const ui = {
1534
1534
  }), this.initEchart();
1535
1535
  },
1536
1536
  initEchart() {
1537
- ro.dispose(this.$refs.tideEchart.style);
1538
- const t = ro.init(this.$refs.tideEchart), e = {
1537
+ So.dispose(this.$refs.tideEchart.style);
1538
+ const t = So.init(this.$refs.tideEchart), e = {
1539
1539
  animation: !1,
1540
1540
  tooltip: {
1541
1541
  trigger: "axis",
@@ -1647,10 +1647,10 @@ const ui = {
1647
1647
  }, Gi = {
1648
1648
  class: "px-1 text-left text-label font-weight-400",
1649
1649
  width: "120"
1650
- }, Wi = {
1650
+ }, Ui = {
1651
1651
  key: 0,
1652
1652
  class: ""
1653
- }, Ui = { class: "px-1 text-center" }, Vi = ["src"], Zi = { key: 1 }, Yi = { class: "px-1 text-center" }, qi = ["src"], Xi = { key: 1 }, $i = { class: "px-1 text-center" }, Ki = ["src"], Qi = { key: 1 }, Ji = { class: "px-1 text-center" }, er = ["src"], tr = { key: 1 }, or = { class: "table-box w-100 mt-2 d-flex flex-column justify-start align-center" }, ar = { class: "w-100 d-flex justify-space-between align-center py-2" }, ir = { class: "d-flex justify-center align-center text-h6 ga-2" }, rr = {
1653
+ }, Wi = { class: "px-1 text-center" }, Vi = ["src"], Zi = { key: 1 }, Yi = { class: "px-1 text-center" }, qi = ["src"], Xi = { key: 1 }, $i = { class: "px-1 text-center" }, Ki = ["src"], Ji = { key: 1 }, Qi = { class: "px-1 text-center" }, er = ["src"], tr = { key: 1 }, or = { class: "table-box w-100 mt-2 d-flex flex-column justify-start align-center" }, ar = { class: "w-100 d-flex justify-space-between align-center py-2" }, ir = { class: "d-flex justify-center align-center text-h6 ga-2" }, rr = {
1654
1654
  class: "multi-color-icon",
1655
1655
  "aria-hidden": "true"
1656
1656
  }, sr = ["xlink:href"], lr = { class: "text-body-2 ga-2" }, nr = {
@@ -1675,10 +1675,10 @@ const ui = {
1675
1675
  width: "120"
1676
1676
  }, ur = { class: "px-1 text-center" }, gr = { class: "px-1 text-center" }, fr = { class: "px-1 text-center" };
1677
1677
  function yr(t, e, o, i, a, r) {
1678
- const l = w("VBtn"), c = w("VCardTitle"), n = w("VDivider"), u = w("VIcon"), h = w("VBtnToggle"), b = w("VCard");
1678
+ const l = x("VBtn"), c = x("VCardTitle"), n = x("VDivider"), u = x("VIcon"), h = x("VBtnToggle"), b = x("VCard");
1679
1679
  return y(), R(b, { class: "port-detail-container d-flex flex-column justify-start align-center" }, {
1680
1680
  default: f(() => {
1681
- var x, z;
1681
+ var w, _;
1682
1682
  return [
1683
1683
  p(c, { class: "w-100" }, {
1684
1684
  default: f(() => {
@@ -1781,7 +1781,7 @@ function yr(t, e, o, i, a, r) {
1781
1781
  s("div", Li, [
1782
1782
  s("div", Pi, [
1783
1783
  s("div", Ci, m(t.$t("port.region")), 1),
1784
- s("div", Ti, m(((x = o.port) == null ? void 0 : x.region) ?? ((z = o.port) == null ? void 0 : z.city) ?? "-"), 1)
1784
+ s("div", Ti, m(((w = o.port) == null ? void 0 : w.region) ?? ((_ = o.port) == null ? void 0 : _.city) ?? "-"), 1)
1785
1785
  ]),
1786
1786
  s("div", Si, [
1787
1787
  s("div", Mi, m(t.$t("port.position")), 1),
@@ -1839,9 +1839,9 @@ function yr(t, e, o, i, a, r) {
1839
1839
  }, [
1840
1840
  s("th", Gi, [
1841
1841
  K(m(t.$t(`${g.key}`)) + " ", 1),
1842
- g.unit ? (y(), S("span", Wi, " ( " + m(g.unit) + " )", 1)) : D("", !0)
1842
+ g.unit ? (y(), S("span", Ui, " ( " + m(g.unit) + " )", 1)) : D("", !0)
1843
1843
  ]),
1844
- s("td", Ui, [
1844
+ s("td", Wi, [
1845
1845
  g.img ? (y(), S("img", {
1846
1846
  key: 0,
1847
1847
  src: g == null ? void 0 : g.value0,
@@ -1860,9 +1860,9 @@ function yr(t, e, o, i, a, r) {
1860
1860
  key: 0,
1861
1861
  src: g == null ? void 0 : g.value2,
1862
1862
  style: { height: "30px" }
1863
- }, null, 8, Ki)) : (y(), S("span", Qi, m((g == null ? void 0 : g.value2) ?? "-"), 1))
1863
+ }, null, 8, Ki)) : (y(), S("span", Ji, m((g == null ? void 0 : g.value2) ?? "-"), 1))
1864
1864
  ]),
1865
- s("td", Ji, [
1865
+ s("td", Qi, [
1866
1866
  g.img ? (y(), S("img", {
1867
1867
  key: 0,
1868
1868
  src: g == null ? void 0 : g.value3,
@@ -1929,11 +1929,11 @@ function yr(t, e, o, i, a, r) {
1929
1929
  _: 1
1930
1930
  });
1931
1931
  }
1932
- const so = /* @__PURE__ */ Y(ui, [["render", yr], ["__scopeId", "data-v-104cfb37"]]);
1932
+ const Mo = /* @__PURE__ */ Y(ui, [["render", yr], ["__scopeId", "data-v-104cfb37"]]);
1933
1933
  const br = {
1934
1934
  name: "IdmPort",
1935
1935
  components: {
1936
- PortDetail: so
1936
+ PortDetail: Mo
1937
1937
  },
1938
1938
  props: {
1939
1939
  map: {
@@ -2038,9 +2038,9 @@ const br = {
2038
2038
  }
2039
2039
  }, wr = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, xr = { class: "d-flex justify-start align-center text-label" }, vr = { class: "d-flex justify-start align-center text-label" };
2040
2040
  function _r(t, e, o, i, a, r) {
2041
- const l = w("VCardText"), c = w("VCard"), n = w("PortDetail");
2041
+ const l = x("VCardText"), c = x("VCard"), n = x("PortDetail");
2042
2042
  return y(), S("div", null, [
2043
- We(p(c, {
2043
+ Ue(p(c, {
2044
2044
  id: "idmPortInfo",
2045
2045
  ref: "idmPortInfo"
2046
2046
  }, {
@@ -2063,7 +2063,7 @@ function _r(t, e, o, i, a, r) {
2063
2063
  ]),
2064
2064
  _: 1
2065
2065
  }, 512), [
2066
- [Ue, a.showInfo]
2066
+ [We, a.showInfo]
2067
2067
  ]),
2068
2068
  a.showDetail ? (y(), R(n, B({
2069
2069
  key: 0,
@@ -2139,31 +2139,38 @@ const Pr = /* @__PURE__ */ Y(zr, [["render", Lr]]), Cr = {
2139
2139
  return {
2140
2140
  source: "time-zone-source",
2141
2141
  zoneLayer: "time-zone-layer",
2142
+ zoneBorderLayer: "time-zone-border-layer",
2142
2143
  zoneLabelLayer: "time-zone-label-layer"
2143
2144
  };
2144
2145
  },
2145
2146
  watch: {
2146
2147
  zone: {
2147
2148
  handler() {
2148
- this.handleRender();
2149
+ var t, e, o, i;
2150
+ this.zone ? (this.handleRender(), (t = this.map) == null || t.on("mousemove", [this.zoneLayer], this.handleHover), (e = this.map) == null || e.on("mouseleave", [this.zoneLayer], this.handleLeave)) : (this.handleClear(), (o = this.map) == null || o.off("mousemove", [this.zoneLayer], this.handleHover), (i = this.map) == null || i.off("mouseleave", [this.zoneLayer], this.handleLeave));
2149
2151
  },
2150
2152
  immediate: !0
2151
2153
  }
2152
2154
  },
2153
2155
  methods: {
2154
2156
  handleRender() {
2155
- this.handleClear(), this.zone && (this.map.addSource(this.source, {
2157
+ var e;
2158
+ this.handleClear();
2159
+ let t = {
2160
+ features: [],
2161
+ type: "FeatureCollection"
2162
+ };
2163
+ t.features = (e = this.zone.features) == null ? void 0 : e.map((o) => (o.properties.opacity = 0, o.properties.textOpacity = 0, o.properties.lineOpacity = 0.3, o.properties.width = 1, o)), this.zone && (this.map.addSource(this.source, {
2156
2164
  type: "geojson",
2157
- data: this.zone
2165
+ data: t
2158
2166
  }), this.map.addLayer(
2159
2167
  {
2160
2168
  id: this.zoneLayer,
2161
2169
  type: "fill",
2162
2170
  source: this.source,
2163
- filter: ["==", "$type", "Polygon"],
2171
+ filter: ["all", ["==", "$type", "Polygon"]],
2164
2172
  paint: {
2165
- "fill-outline-color": "rgba(255, 255, 255, 0.5)",
2166
- "fill-opacity": 0.25,
2173
+ "fill-opacity": ["get", "opacity"],
2167
2174
  "fill-color": [
2168
2175
  "match",
2169
2176
  ["get", "offSet"],
@@ -2266,6 +2273,19 @@ const Pr = /* @__PURE__ */ Y(zr, [["render", Lr]]), Cr = {
2266
2273
  }
2267
2274
  },
2268
2275
  this.beforeLayer
2276
+ ), this.map.addLayer(
2277
+ {
2278
+ id: this.zoneBorderLayer,
2279
+ type: "line",
2280
+ source: this.source,
2281
+ filter: ["==", "$type", "Polygon"],
2282
+ paint: {
2283
+ "line-color": "rgba(255, 255, 255, 1)",
2284
+ "line-opacity": ["get", "lineOpacity"],
2285
+ "line-width": ["get", "width"]
2286
+ }
2287
+ },
2288
+ this.beforeLayer
2269
2289
  ), this.map.addLayer(
2270
2290
  {
2271
2291
  id: this.zoneLabelLayer,
@@ -2274,21 +2294,46 @@ const Pr = /* @__PURE__ */ Y(zr, [["render", Lr]]), Cr = {
2274
2294
  filter: ["==", "$type", "Point"],
2275
2295
  layout: {
2276
2296
  "symbol-placement": "point",
2277
- "text-field": "{offSet}",
2297
+ "text-field": "UTC {offSet}",
2278
2298
  "text-rotation-alignment": "viewport",
2279
- "text-size": 10,
2299
+ "text-size": 14,
2280
2300
  "text-offset": [0, 1],
2281
2301
  "text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
2282
2302
  },
2283
2303
  paint: {
2284
- "text-color": this.Theme.current.value.colors["on-surface"]
2304
+ "text-color": this.Theme.current.value.colors["on-surface"],
2305
+ "text-opacity": ["get", "textOpacity"]
2285
2306
  }
2286
2307
  },
2287
2308
  this.beforeLayer
2288
2309
  ));
2289
2310
  },
2290
2311
  handleClear() {
2291
- this.map.getLayer(this.zoneLayer) && this.map.removeLayer(this.zoneLayer), this.map.getLayer(this.zoneLabelLayer) && this.map.removeLayer(this.zoneLabelLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
2312
+ this.map.getLayer(this.zoneLayer) && this.map.removeLayer(this.zoneLayer), this.map.getLayer(this.zoneBorderLayer) && this.map.removeLayer(this.zoneBorderLayer), this.map.getLayer(this.zoneLabelLayer) && this.map.removeLayer(this.zoneLabelLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
2313
+ },
2314
+ handleHover(t) {
2315
+ var e, o;
2316
+ if (t.features.length) {
2317
+ let i = {
2318
+ features: [],
2319
+ type: "FeatureCollection"
2320
+ };
2321
+ i.features = (e = this.zone.features) == null ? void 0 : e.map((a) => {
2322
+ const r = JSON.parse(JSON.stringify(a));
2323
+ return r.properties.offSet === t.features[0].properties.offSet ? (r.properties.opacity = 0.25, r.properties.textOpacity = 1, r.properties.lineOpacity = 0.7, r.properties.width = 2) : (r.properties.opacity = 0, r.properties.textOpacity = 0, r.properties.lineOpacity = 0.3, r.properties.width = 1), r;
2324
+ }), (o = this.map.getSource(this.source)) == null || o.setData(i);
2325
+ }
2326
+ },
2327
+ handleLeave() {
2328
+ var e, o;
2329
+ let t = {
2330
+ features: [],
2331
+ type: "FeatureCollection"
2332
+ };
2333
+ t.features = (e = this.zone.features) == null ? void 0 : e.map((i) => {
2334
+ const a = JSON.parse(JSON.stringify(i));
2335
+ return a.properties.opacity = 0, a.properties.textOpacity = 0, a.properties.lineOpacity = 0.3, a.properties.width = 1, a;
2336
+ }), (o = this.map.getSource(this.source)) == null || o.setData(t);
2292
2337
  }
2293
2338
  }
2294
2339
  };
@@ -2632,10 +2677,10 @@ const Gr = {
2632
2677
  }
2633
2678
  }
2634
2679
  };
2635
- function Wr(t, e, o, i, a, r) {
2680
+ function Ur(t, e, o, i, a, r) {
2636
2681
  return null;
2637
2682
  }
2638
- const Ur = /* @__PURE__ */ Y(Gr, [["render", Wr]]), Vr = {
2683
+ const Wr = /* @__PURE__ */ Y(Gr, [["render", Ur]]), Vr = {
2639
2684
  name: "IdmChinaRoute",
2640
2685
  props: {
2641
2686
  map: {
@@ -2818,8 +2863,8 @@ const qr = {
2818
2863
  }), this.initEchart();
2819
2864
  },
2820
2865
  initEchart() {
2821
- ro.dispose(this.$refs.tideEchart);
2822
- const t = ro.init(this.$refs.tideEchart), e = {
2866
+ So.dispose(this.$refs.tideEchart);
2867
+ const t = So.init(this.$refs.tideEchart), e = {
2823
2868
  animation: !1,
2824
2869
  tooltip: {
2825
2870
  trigger: "axis",
@@ -2915,7 +2960,7 @@ const qr = {
2915
2960
  this.$emit("close");
2916
2961
  }
2917
2962
  }
2918
- }, Xr = { class: "d-flex justify-space-between align-center" }, $r = { class: "d-flex justify-start text-h5 my-2" }, Kr = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Qr = { class: "w-100 px-5 pt-0 pb-0 overflow-y-auto scroll" }, Jr = { class: "summary-box w-100" }, es = { class: "d-flex justify-space-between align-center py-2" }, ts = { class: "d-flex justify-center align-center text-h6 ga-2" }, os = {
2963
+ }, Xr = { class: "d-flex justify-space-between align-center" }, $r = { class: "d-flex justify-start text-h5 my-2" }, Kr = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Jr = { class: "w-100 px-5 pt-0 pb-0 overflow-y-auto scroll" }, Qr = { class: "summary-box w-100" }, es = { class: "d-flex justify-space-between align-center py-2" }, ts = { class: "d-flex justify-center align-center text-h6 ga-2" }, os = {
2919
2964
  class: "multi-color-icon",
2920
2965
  "aria-hidden": "true"
2921
2966
  }, as = ["xlink:href"], is = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, rs = { class: "w-100 d-flex justify-start align-center" }, ss = { class: "w-30 text-label font-weight-400" }, ls = { class: "flex-1-1-0" }, ns = { class: "w-100 d-flex justify-start align-center" }, cs = { class: "w-30 text-label font-weight-400" }, ms = { class: "flex-1-1-0" }, ds = { class: "w-100 d-flex justify-start align-center" }, hs = { class: "w-30 text-label font-weight-400" }, ps = { class: "flex-1-1-0" }, us = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, gs = { class: "w-100 d-flex justify-space-between align-center py-2" }, fs = { class: "d-flex justify-center align-center text-h6 ga-2" }, ys = {
@@ -2940,18 +2985,18 @@ const qr = {
2940
2985
  width: "120"
2941
2986
  }, Ls = { class: "px-1 text-center" }, Ps = { class: "px-1 text-center" }, Cs = { class: "px-1 text-center" };
2942
2987
  function Ts(t, e, o, i, a, r) {
2943
- const l = w("VBtn"), c = w("v-card-title"), n = w("v-divider"), u = w("VBtnToggle"), h = w("v-card");
2988
+ const l = x("VBtn"), c = x("v-card-title"), n = x("v-divider"), u = x("VBtnToggle"), h = x("v-card");
2944
2989
  return y(), R(h, { class: "tide-detail-container d-flex flex-column justify-start align-center" }, {
2945
2990
  default: f(() => {
2946
- var b, x;
2991
+ var b, w;
2947
2992
  return [
2948
2993
  p(c, { class: "w-100" }, {
2949
2994
  default: f(() => {
2950
- var z;
2995
+ var _;
2951
2996
  return [
2952
2997
  s("div", Xr, [
2953
2998
  s("div", $r, [
2954
- s("div", null, m((z = o.station) == null ? void 0 : z.name), 1)
2999
+ s("div", null, m((_ = o.station) == null ? void 0 : _.name), 1)
2955
3000
  ]),
2956
3001
  p(l, {
2957
3002
  icon: "",
@@ -2975,8 +3020,8 @@ function Ts(t, e, o, i, a, r) {
2975
3020
  _: 1
2976
3021
  }),
2977
3022
  p(n, { class: "w-100" }),
2978
- s("div", Qr, [
2979
- s("div", Jr, [
3023
+ s("div", Jr, [
3024
+ s("div", Qr, [
2980
3025
  s("div", es, [
2981
3026
  s("div", ts, [
2982
3027
  (y(), S("svg", os, [
@@ -2991,7 +3036,7 @@ function Ts(t, e, o, i, a, r) {
2991
3036
  s("div", is, [
2992
3037
  s("div", rs, [
2993
3038
  s("div", ss, m(t.$t("tide.region")), 1),
2994
- s("div", ls, m(((b = o.station) == null ? void 0 : b.Country) ?? ((x = o.station) == null ? void 0 : x.city) ?? "-"), 1)
3039
+ s("div", ls, m(((b = o.station) == null ? void 0 : b.Country) ?? ((w = o.station) == null ? void 0 : w.city) ?? "-"), 1)
2995
3040
  ]),
2996
3041
  s("div", ns, [
2997
3042
  s("div", cs, m(t.$t("tide.position")), 1),
@@ -3018,7 +3063,7 @@ function Ts(t, e, o, i, a, r) {
3018
3063
  s("div", ws, [
3019
3064
  p(u, {
3020
3065
  modelValue: a.currentIndex,
3021
- "onUpdate:modelValue": e[0] || (e[0] = (z) => a.currentIndex = z),
3066
+ "onUpdate:modelValue": e[0] || (e[0] = (_) => a.currentIndex = _),
3022
3067
  class: "w-100 gray-bg-1 rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
3023
3068
  density: "compact",
3024
3069
  group: "",
@@ -3027,15 +3072,15 @@ function Ts(t, e, o, i, a, r) {
3027
3072
  rounded: "1"
3028
3073
  }, {
3029
3074
  default: f(() => [
3030
- (y(!0), S(be, null, we(r.dateList, (z) => (y(), R(l, {
3075
+ (y(!0), S(be, null, we(r.dateList, (_) => (y(), R(l, {
3031
3076
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
3032
3077
  density: "compact",
3033
3078
  color: "primary",
3034
3079
  height: "26",
3035
- value: z.index
3080
+ value: _.index
3036
3081
  }, {
3037
3082
  default: f(() => [
3038
- K(m(z.label), 1)
3083
+ K(m(_.label), 1)
3039
3084
  ]),
3040
3085
  _: 2
3041
3086
  }, 1032, ["value"]))), 256))
@@ -3050,12 +3095,12 @@ function Ts(t, e, o, i, a, r) {
3050
3095
  s("th", ks, m(t.$t("time.time")) + " ( LT )", 1),
3051
3096
  s("th", zs, m(t.$t("tide.height")) + " ( m )", 1)
3052
3097
  ]),
3053
- (y(!0), S(be, null, we(a.tideTableData, (z, g) => {
3098
+ (y(!0), S(be, null, we(a.tideTableData, (_, g) => {
3054
3099
  var P;
3055
3100
  return y(), S("tr", { key: g }, [
3056
- s("td", Ls, m(t.$t(`tide.${(P = z == null ? void 0 : z.type) == null ? void 0 : P.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3057
- s("td", Ps, m(r.computeLocalTime(z == null ? void 0 : z.date, o.station, "MM-DD HH:mm")), 1),
3058
- s("td", Cs, m((z == null ? void 0 : z.height) ?? "-") + " m", 1)
3101
+ s("td", Ls, m(t.$t(`tide.${(P = _ == null ? void 0 : _.type) == null ? void 0 : P.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3102
+ s("td", Ps, m(r.computeLocalTime(_ == null ? void 0 : _.date, o.station, "MM-DD HH:mm")), 1),
3103
+ s("td", Cs, m((_ == null ? void 0 : _.height) ?? "-") + " m", 1)
3059
3104
  ]);
3060
3105
  }), 128))
3061
3106
  ])
@@ -3146,9 +3191,9 @@ const Ms = {
3146
3191
  }
3147
3192
  }, Is = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, Ds = { class: "d-flex justify-start align-center" }, As = { class: "d-flex justify-start align-center" }, Rs = { class: "text-label" };
3148
3193
  function Os(t, e, o, i, a, r) {
3149
- const l = w("v-card-text"), c = w("v-card"), n = w("TideDetail");
3194
+ const l = x("v-card-text"), c = x("v-card"), n = x("TideDetail");
3150
3195
  return y(), S("div", null, [
3151
- We(p(c, { id: "idmTidalInfo" }, {
3196
+ Ue(p(c, { id: "idmTidalInfo" }, {
3152
3197
  default: f(() => [
3153
3198
  p(l, { class: "pr-8 text-body-1" }, {
3154
3199
  default: f(() => {
@@ -3167,7 +3212,7 @@ function Os(t, e, o, i, a, r) {
3167
3212
  ]),
3168
3213
  _: 1
3169
3214
  }, 512), [
3170
- [Ue, a.showInfo]
3215
+ [We, a.showInfo]
3171
3216
  ]),
3172
3217
  a.showDetail ? (y(), R(n, B({
3173
3218
  key: 0,
@@ -3400,7 +3445,7 @@ const qa = /* @__PURE__ */ Y(Fs, [["render", Hs]]);
3400
3445
  const Gs = {
3401
3446
  name: "IdmFollowPort",
3402
3447
  components: {
3403
- PortDetail: so
3448
+ PortDetail: Mo
3404
3449
  },
3405
3450
  props: {
3406
3451
  map: {
@@ -4306,20 +4351,20 @@ const Gs = {
4306
4351
  this.showDetail = !1;
4307
4352
  }
4308
4353
  }
4309
- }, Ws = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Us = { class: "d-flex justify-start align-center text-label" }, Vs = { class: "d-flex justify-start align-center text-label" };
4354
+ }, Us = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Ws = { class: "d-flex justify-start align-center text-label" }, Vs = { class: "d-flex justify-start align-center text-label" };
4310
4355
  function Zs(t, e, o, i, a, r) {
4311
- const l = w("v-card-text"), c = w("v-card"), n = w("PortDetail");
4356
+ const l = x("v-card-text"), c = x("v-card"), n = x("PortDetail");
4312
4357
  return y(), S("div", null, [
4313
- We(p(c, {
4358
+ Ue(p(c, {
4314
4359
  id: "idmFollowPortInfo",
4315
4360
  ref: "idmFollowPortInfo"
4316
4361
  }, {
4317
4362
  default: f(() => [
4318
4363
  p(l, { class: "text-body-1 pr-8" }, {
4319
4364
  default: f(() => [
4320
- s("div", Ws, [
4365
+ s("div", Us, [
4321
4366
  s("div", null, m(t.$t("port.port")), 1),
4322
- s("div", Us, [
4367
+ s("div", Ws, [
4323
4368
  s("span", null, m(a.hoverPort.name ?? "-"), 1)
4324
4369
  ]),
4325
4370
  s("div", Vs, [
@@ -4333,7 +4378,7 @@ function Zs(t, e, o, i, a, r) {
4333
4378
  ]),
4334
4379
  _: 1
4335
4380
  }, 512), [
4336
- [Ue, a.showInfo]
4381
+ [We, a.showInfo]
4337
4382
  ]),
4338
4383
  a.showDetail ? (y(), R(n, B({
4339
4384
  key: 0,
@@ -4455,13 +4500,13 @@ const qs = {
4455
4500
  if (e.properties) {
4456
4501
  const b = e.properties;
4457
4502
  b.lng = e.geometry.coordinates[0], b.lat = e.geometry.coordinates[1];
4458
- const x = M(), z = (o = M(this.realTime)) == null ? void 0 : o.diff(x, "d", !0), g = {
4503
+ const w = M(), _ = (o = M(this.realTime)) == null ? void 0 : o.diff(w, "d", !0), g = {
4459
4504
  lat: b.lat,
4460
4505
  lng: b.lng,
4461
4506
  datetime: this.realTime,
4462
4507
  forecastModel: this.forecastModel
4463
4508
  };
4464
- z >= 0 ? (l = (r = (a = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmSpot) == null || l.fetchMeteoData(g) : (h = (u = (n = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : n.$refs) == null ? void 0 : u.idmSpot) == null || h.fetchHistoryData(g);
4509
+ _ >= 0 ? (l = (r = (a = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmSpot) == null || l.fetchMeteoData(g) : (h = (u = (n = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : n.$refs) == null ? void 0 : u.idmSpot) == null || h.fetchHistoryData(g);
4465
4510
  }
4466
4511
  },
4467
4512
  handleHover(t) {
@@ -4483,9 +4528,9 @@ const qs = {
4483
4528
  key: 0,
4484
4529
  class: "d-flex justify-start align-center text-label"
4485
4530
  };
4486
- function Qs(t, e, o, i, a, r) {
4487
- const l = w("v-card-text"), c = w("v-card");
4488
- return We((y(), R(c, {
4531
+ function Js(t, e, o, i, a, r) {
4532
+ const l = x("v-card-text"), c = x("v-card");
4533
+ return Ue((y(), R(c, {
4489
4534
  id: "idmFollowPositionInfo",
4490
4535
  ref: "idmFollowPositionInfo"
4491
4536
  }, {
@@ -4507,10 +4552,10 @@ function Qs(t, e, o, i, a, r) {
4507
4552
  ]),
4508
4553
  _: 1
4509
4554
  }, 512)), [
4510
- [Ue, a.showInfo]
4555
+ [We, a.showInfo]
4511
4556
  ]);
4512
4557
  }
4513
- const Js = /* @__PURE__ */ Y(qs, [["render", Qs], ["__scopeId", "data-v-cd6c9f7e"]]);
4558
+ const Qs = /* @__PURE__ */ Y(qs, [["render", Js], ["__scopeId", "data-v-cd6c9f7e"]]);
4514
4559
  const el = {
4515
4560
  name: "IdmOtherLayerr",
4516
4561
  components: {
@@ -4525,13 +4570,13 @@ const el = {
4525
4570
  IdmSpecialArea: Or,
4526
4571
  IdmTerminator: jr,
4527
4572
  IdmWorld12nm: Hr,
4528
- IdmWorldMarine: Ur,
4573
+ IdmWorldMarine: Wr,
4529
4574
  IdmChinaRoute: Yr,
4530
4575
  IdmTideStations: Bs,
4531
4576
  IdmIceAreas: Ns,
4532
4577
  IdmLatLng: qa,
4533
4578
  IdmFollowPort: Ys,
4534
- IdmFollowPosition: Js
4579
+ IdmFollowPosition: Qs
4535
4580
  },
4536
4581
  props: {
4537
4582
  map: {
@@ -4581,7 +4626,7 @@ const el = {
4581
4626
  right: 10,
4582
4627
  toggle: !1,
4583
4628
  mapFeather: localStorage.getItem("mapFeathersCacheGL4") || "light",
4584
- tagLayers: [...io.OTHER_LAYERS.filter((t) => t.enabled)],
4629
+ tagLayers: [...To.OTHER_LAYERS.filter((t) => t.enabled)],
4585
4630
  layerWeight: 0,
4586
4631
  otherLayers: {},
4587
4632
  activeOtherLayers: [],
@@ -4681,8 +4726,8 @@ const el = {
4681
4726
  })
4682
4727
  );
4683
4728
  (await Promise.all(l)).map((n) => {
4684
- var b, x, z;
4685
- const u = ((b = n == null ? void 0 : n.data) == null ? void 0 : b.data) || (n == null ? void 0 : n.data), h = (z = (x = n == null ? void 0 : n.config) == null ? void 0 : x.headers) == null ? void 0 : z.key;
4729
+ var b, w, _;
4730
+ const u = ((b = n == null ? void 0 : n.data) == null ? void 0 : b.data) || (n == null ? void 0 : n.data), h = (_ = (w = n == null ? void 0 : n.config) == null ? void 0 : w.headers) == null ? void 0 : _.key;
4686
4731
  this.otherLayers[h] = u;
4687
4732
  });
4688
4733
  }
@@ -4720,8 +4765,8 @@ const el = {
4720
4765
  class: "border rounded-sm"
4721
4766
  }, dl = { class: "text-body-2 text-center pt-1" };
4722
4767
  function hl(t, e, o, i, a, r) {
4723
- var $, ne, se, J, ae, he, ce, pe, ge;
4724
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), z = w("IdmLatLng"), g = w("IdmTerminator"), P = w("IdmTimezone"), T = w("IdmPort"), O = w("IdmAlertZone"), I = w("IdmTideStations"), L = w("IdmEcaZone"), k = w("IdmWarZone"), v = w("IdmGmdssArea"), C = w("IdmLoadLine"), _ = w("IdmWorldMarine"), A = w("IdmVRA"), N = w("IdmSpecialArea"), V = w("IdmWorld12nm"), Z = w("IdmChinaRoute"), U = w("IdmIceAreas"), ee = w("IdmFollowPort"), Q = w("IdmFollowPosition");
4768
+ var $, ne, se, Q, ae, he, ce, pe, ge;
4769
+ const l = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), u = x("VCardItem"), h = x("VCheckbox"), b = x("VCardText"), w = x("VCard"), _ = x("IdmLatLng"), g = x("IdmTerminator"), P = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), L = x("IdmEcaZone"), z = x("IdmWarZone"), v = x("IdmGmdssArea"), C = x("IdmLoadLine"), k = x("IdmWorldMarine"), A = x("IdmVRA"), N = x("IdmSpecialArea"), V = x("IdmWorld12nm"), Z = x("IdmChinaRoute"), W = x("IdmIceAreas"), ee = x("IdmFollowPort"), J = x("IdmFollowPosition");
4725
4770
  return y(), S("div", tl, [
4726
4771
  s("div", {
4727
4772
  class: "menu-bar-box transition px-1 rounded",
@@ -4770,7 +4815,7 @@ function hl(t, e, o, i, a, r) {
4770
4815
  }, 8, ["onClick"])
4771
4816
  ]),
4772
4817
  s("div", il, [
4773
- p(x, {
4818
+ p(w, {
4774
4819
  class: "block-bg mx-auto mb-3",
4775
4820
  elevation: "0"
4776
4821
  }, {
@@ -4823,7 +4868,7 @@ function hl(t, e, o, i, a, r) {
4823
4868
  ]),
4824
4869
  _: 1
4825
4870
  }),
4826
- p(x, {
4871
+ p(w, {
4827
4872
  class: "block-bg mx-auto mb-3",
4828
4873
  elevation: "0"
4829
4874
  }, {
@@ -4862,7 +4907,7 @@ function hl(t, e, o, i, a, r) {
4862
4907
  ]),
4863
4908
  _: 1
4864
4909
  }),
4865
- p(x, {
4910
+ p(w, {
4866
4911
  class: "block-bg mx-auto mb-3",
4867
4912
  elevation: "0"
4868
4913
  }, {
@@ -4901,7 +4946,7 @@ function hl(t, e, o, i, a, r) {
4901
4946
  ]),
4902
4947
  _: 1
4903
4948
  }),
4904
- p(x, {
4949
+ p(w, {
4905
4950
  class: "block-bg mx-auto mb-3",
4906
4951
  elevation: "0"
4907
4952
  }, {
@@ -4952,7 +4997,7 @@ function hl(t, e, o, i, a, r) {
4952
4997
  })
4953
4998
  ])
4954
4999
  ], 6),
4955
- o.map ? (y(), R(z, B({
5000
+ o.map ? (y(), R(_, B({
4956
5001
  key: 0,
4957
5002
  map: o.map,
4958
5003
  "menu-toggle": o.menuToggle,
@@ -4962,12 +5007,12 @@ function hl(t, e, o, i, a, r) {
4962
5007
  key: 1,
4963
5008
  map: o.map,
4964
5009
  area: ($ = a.otherLayers) == null ? void 0 : $["day-night"]
4965
- }, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
5010
+ }, t.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : D("", !0),
4966
5011
  o.map ? (y(), R(P, B({
4967
5012
  key: 2,
4968
5013
  map: o.map,
4969
5014
  zone: (ne = a.otherLayers) == null ? void 0 : ne["time-zones"]
4970
- }, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
5015
+ }, t.$attrs, { beforeLayer: "empty-layer-2" }), null, 16, ["map", "zone"])) : D("", !0),
4971
5016
  o.map ? (y(), R(T, B({
4972
5017
  key: 3,
4973
5018
  ref: "idmPorts",
@@ -4981,7 +5026,7 @@ function hl(t, e, o, i, a, r) {
4981
5026
  o.map ? (y(), R(O, B({
4982
5027
  key: 4,
4983
5028
  map: o.map,
4984
- zone: (J = a.otherLayers) == null ? void 0 : J["alert-zones"]
5029
+ zone: (Q = a.otherLayers) == null ? void 0 : Q["alert-zones"]
4985
5030
  }, t.$attrs, {
4986
5031
  "before-layer": "empty-layer-3",
4987
5032
  theme: o.theme
@@ -5003,7 +5048,7 @@ function hl(t, e, o, i, a, r) {
5003
5048
  map: o.map,
5004
5049
  zone: (ae = a.otherLayers) == null ? void 0 : ae["eca-zones"]
5005
5050
  }, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
5006
- o.map ? (y(), R(k, B({
5051
+ o.map ? (y(), R(z, B({
5007
5052
  key: 7,
5008
5053
  map: o.map,
5009
5054
  zone: (he = a.otherLayers) == null ? void 0 : he["war-zones"]
@@ -5018,7 +5063,7 @@ function hl(t, e, o, i, a, r) {
5018
5063
  map: o.map,
5019
5064
  show: a.checkList.includes("load-lines")
5020
5065
  }, t.$attrs), null, 16, ["map", "show"])) : D("", !0),
5021
- o.map ? (y(), R(_, B({
5066
+ o.map ? (y(), R(k, B({
5022
5067
  key: 10,
5023
5068
  map: o.map,
5024
5069
  token: o.token,
@@ -5046,7 +5091,7 @@ function hl(t, e, o, i, a, r) {
5046
5091
  token: o.token,
5047
5092
  show: a.checkList.includes("chinaRoute")
5048
5093
  }, t.$attrs), null, 16, ["map", "token", "show"])) : D("", !0),
5049
- o.map ? (y(), R(U, B({
5094
+ o.map ? (y(), R(W, B({
5050
5095
  key: 15,
5051
5096
  map: o.map,
5052
5097
  show: a.checkList.includes("ice-areas")
@@ -5061,7 +5106,7 @@ function hl(t, e, o, i, a, r) {
5061
5106
  "forecast-model": o.forecastModel,
5062
5107
  realTime: o.realTime
5063
5108
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "show", "gateway", "token", "forecast-model", "realTime"])) : D("", !0),
5064
- o.map ? (y(), R(Q, B({
5109
+ o.map ? (y(), R(J, B({
5065
5110
  key: 17,
5066
5111
  ref: "idmFollowPosition",
5067
5112
  map: o.map,
@@ -5072,7 +5117,7 @@ function hl(t, e, o, i, a, r) {
5072
5117
  ]);
5073
5118
  }
5074
5119
  const pl = /* @__PURE__ */ Y(el, [["render", hl]]);
5075
- class lo {
5120
+ class Io {
5076
5121
  constructor(e) {
5077
5122
  de(this, "map");
5078
5123
  de(this, "mercator");
@@ -5083,7 +5128,7 @@ class lo {
5083
5128
  de(this, "rampColorCanvas");
5084
5129
  de(this, "particleCanvas");
5085
5130
  de(this, "ratio");
5086
- this.map = e, this.mercator = new Ja(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
5131
+ this.map = e, this.mercator = new Qa(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
5087
5132
  }
5088
5133
  /**
5089
5134
  * 转换为[-180, 180]的经度,且包含转换次数
@@ -5122,8 +5167,8 @@ class lo {
5122
5167
  const e = (g = this.map) == null ? void 0 : g.getBounds();
5123
5168
  if (!e)
5124
5169
  return [];
5125
- const o = ((P = this.map) == null ? void 0 : P.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, l] = this.convertNLng(i[0]), [c, n] = this.convertNLng(a[0]), [u, h] = this.mercator.px([r, i[1]], o), [b, x] = this.mercator.px([c, a[1]], o), z = Math.round(this.mercator.size * Math.pow(2, o) * (l + n));
5126
- return [b, x, u + z, h];
5170
+ const o = ((P = this.map) == null ? void 0 : P.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, l] = this.convertNLng(i[0]), [c, n] = this.convertNLng(a[0]), [u, h] = this.mercator.px([r, i[1]], o), [b, w] = this.mercator.px([c, a[1]], o), _ = Math.round(this.mercator.size * Math.pow(2, o) * (l + n));
5171
+ return [b, w, u + _, h];
5127
5172
  }
5128
5173
  /**
5129
5174
  * [视窗边界像素宽度]
@@ -5306,9 +5351,9 @@ class Fe {
5306
5351
  sRange: o.getUniformLocation(i, "u_range_s")
5307
5352
  };
5308
5353
  h.resolution && o.uniform2f(h.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), h.image && o.uniform1i(h.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), h.color && o.uniform1i(h.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (h.uvRange && o.uniform2f(h.uvRange, c.uvRange[0], c.uvRange[1]), h.sRange && o.uniform2f(h.sRange, c.sRange[0], c.sRange[1])), h.scale && o.uniform1f(h.scale, (c == null ? void 0 : c.scale) || 1);
5309
- const b = e.getBoundPixel(), x = e.map.getZoom() + 1, z = e.getWorldCopy(b, x);
5310
- for (const g of z) {
5311
- const P = (g[0] - b[0]) * e.ratio, T = (g[1] - b[3]) * e.ratio, O = g[2] * e.ratio, [I, L, k, v] = [P, O + P, T, O + T], C = new Float32Array([I, k, L, k, I, v, I, v, L, k, L, v]);
5354
+ const b = e.getBoundPixel(), w = e.map.getZoom() + 1, _ = e.getWorldCopy(b, w);
5355
+ for (const g of _) {
5356
+ const P = (g[0] - b[0]) * e.ratio, T = (g[1] - b[3]) * e.ratio, O = g[2] * e.ratio, [I, L, z, v] = [P, O + P, T, O + T], C = new Float32Array([I, z, L, z, I, v, I, v, L, z, L, v]);
5312
5357
  o.bindBuffer(o.ARRAY_BUFFER, l), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
5313
5358
  }
5314
5359
  } catch (h) {
@@ -5724,7 +5769,7 @@ const bl = {
5724
5769
  type: Object
5725
5770
  },
5726
5771
  viewport: {
5727
- type: lo
5772
+ type: Io
5728
5773
  },
5729
5774
  menuToggle: {
5730
5775
  type: Object
@@ -6013,8 +6058,8 @@ const vl = /* @__PURE__ */ Y(bl, [["render", xl]]), _l = {
6013
6058
  n.src = "data:image/svg+xml;base64," + window.btoa(u);
6014
6059
  const h = [n];
6015
6060
  let b = 0;
6016
- h.forEach((x) => {
6017
- x.onload = () => {
6061
+ h.forEach((w) => {
6062
+ w.onload = () => {
6018
6063
  b++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon", n), b === 1 && this.map.addLayer(
6019
6064
  {
6020
6065
  id: this.directionLayer,
@@ -6065,7 +6110,7 @@ const Ll = {
6065
6110
  type: Object
6066
6111
  },
6067
6112
  viewport: {
6068
- type: lo
6113
+ type: Io
6069
6114
  },
6070
6115
  menuToggle: {
6071
6116
  type: Object
@@ -6783,7 +6828,7 @@ const Nl = /* @__PURE__ */ Y(Bl, [["render", jl], ["__scopeId", "data-v-d47b8b5c
6783
6828
  };
6784
6829
  function Gl(t, e, o, i, a, r) {
6785
6830
  var n;
6786
- const l = w("VBtn"), c = w("VTooltip");
6831
+ const l = x("VBtn"), c = x("VTooltip");
6787
6832
  return (n = o.prmsl) != null && n.active ? (y(), S("div", Hl, [
6788
6833
  s("div", {
6789
6834
  class: "menu-bar-box pa-1 rounded",
@@ -6814,8 +6859,8 @@ function Gl(t, e, o, i, a, r) {
6814
6859
  ], 4)
6815
6860
  ])) : D("", !0);
6816
6861
  }
6817
- const Wl = /* @__PURE__ */ Y(Fl, [["render", Gl]]);
6818
- const Ul = {
6862
+ const Ul = /* @__PURE__ */ Y(Fl, [["render", Gl]]);
6863
+ const Wl = {
6819
6864
  name: "IdmIceEdge",
6820
6865
  props: {
6821
6866
  factor: {
@@ -6936,7 +6981,7 @@ function Zl(t, e, o, i, a, r) {
6936
6981
  ]), 4)
6937
6982
  ])) : D("", !0);
6938
6983
  }
6939
- const Yl = /* @__PURE__ */ Y(Ul, [["render", Zl]]);
6984
+ const Yl = /* @__PURE__ */ Y(Wl, [["render", Zl]]);
6940
6985
  const ql = {
6941
6986
  name: "IdmCover",
6942
6987
  props: {
@@ -7044,7 +7089,7 @@ function $l(t, e, o, i, a, r) {
7044
7089
  ])) : D("", !0);
7045
7090
  }
7046
7091
  const Kl = /* @__PURE__ */ Y(ql, [["render", $l], ["__scopeId", "data-v-dcedee39"]]);
7047
- const Ql = {
7092
+ const Jl = {
7048
7093
  name: "IdmThickness",
7049
7094
  props: {
7050
7095
  factor: {
@@ -7140,10 +7185,10 @@ const Ql = {
7140
7185
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
7141
7186
  }
7142
7187
  }
7143
- }, Jl = { key: 0 };
7188
+ }, Ql = { key: 0 };
7144
7189
  function en(t, e, o, i, a, r) {
7145
7190
  var l;
7146
- return (l = o.factor) != null && l.active ? (y(), S("div", Jl, [
7191
+ return (l = o.factor) != null && l.active ? (y(), S("div", Ql, [
7147
7192
  s("div", {
7148
7193
  class: "legend-bars-gl4 ice-thickness",
7149
7194
  style: ie({ right: a.right + "px" })
@@ -7158,7 +7203,7 @@ function en(t, e, o, i, a, r) {
7158
7203
  ]), 4)
7159
7204
  ])) : D("", !0);
7160
7205
  }
7161
- const tn = /* @__PURE__ */ Y(Ql, [["render", en]]);
7206
+ const tn = /* @__PURE__ */ Y(Jl, [["render", en]]);
7162
7207
  const on = {
7163
7208
  name: "IdmPrecip3h",
7164
7209
  props: {
@@ -7620,7 +7665,7 @@ const wn = {
7620
7665
  IdmWave: Dl,
7621
7666
  IdmSigWaveHeight: Ol,
7622
7667
  IdmSwell: Nl,
7623
- IdmPrmsl: Wl,
7668
+ IdmPrmsl: Ul,
7624
7669
  IdmIceEdge: Yl,
7625
7670
  IdmIceCover: Kl,
7626
7671
  IdmIceThickness: tn,
@@ -7681,8 +7726,8 @@ const wn = {
7681
7726
  toggle: !1,
7682
7727
  autoActive: !0,
7683
7728
  weatherWeight: 0,
7684
- allLayers: [...io.WEATHER_LAYERS],
7685
- tagLayers: [...io.WEATHER_LAYERS.filter((t) => !t.hide)],
7729
+ allLayers: [...To.WEATHER_LAYERS],
7730
+ tagLayers: [...To.WEATHER_LAYERS.filter((t) => !t.hide)],
7686
7731
  checkList: [],
7687
7732
  renderKey: "",
7688
7733
  iceToggleValue: void 0,
@@ -7739,6 +7784,11 @@ const wn = {
7739
7784
  return "-";
7740
7785
  };
7741
7786
  },
7787
+ computeDateUpdate() {
7788
+ return function(t) {
7789
+ return t ? M(t).fromNow() : "-";
7790
+ };
7791
+ },
7742
7792
  overlaysKeys() {
7743
7793
  return this.tagLayers.filter((t) => t.overlays).map((t) => t.key);
7744
7794
  },
@@ -7774,7 +7824,7 @@ const wn = {
7774
7824
  },
7775
7825
  map: {
7776
7826
  handler() {
7777
- this.map && (this.fetchCache(), this.map.on("move", this.handleMove4Weather), this.viewport = new lo(this.map), this.handleRampColorInitial());
7827
+ this.map && (this.fetchCache(), this.map.on("move", this.handleMove4Weather), this.viewport = new Io(this.map), this.handleRampColorInitial());
7778
7828
  },
7779
7829
  immediate: !0
7780
7830
  },
@@ -7832,8 +7882,6 @@ const wn = {
7832
7882
  immediate: !0
7833
7883
  }
7834
7884
  },
7835
- mounted() {
7836
- },
7837
7885
  methods: {
7838
7886
  arraysEqual(t, e) {
7839
7887
  if ((t == null ? void 0 : t.length) !== (e == null ? void 0 : e.length))
@@ -7873,13 +7921,13 @@ const wn = {
7873
7921
  (t == null ? void 0 : t.data.code) === 0 && (this.models = t == null ? void 0 : t.data.data);
7874
7922
  },
7875
7923
  async fetchWeatherLayers(t = {}) {
7876
- var a, r, l, c, n, u, h, b, x;
7924
+ var a, r, l, c, n, u, h, b, w;
7877
7925
  const e = (/* @__PURE__ */ new Date()).valueOf();
7878
7926
  let o = 0, i = 0;
7879
7927
  if (this.map) {
7880
- const z = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, g = (r = this.map) == null ? void 0 : r.getBounds(), P = `${g._sw.lng},${g._sw.lat},${g._ne.lng},${g._ne.lat}`;
7928
+ const _ = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, g = (r = this.map) == null ? void 0 : r.getBounds(), P = `${g._sw.lng},${g._sw.lat},${g._ne.lng},${g._ne.lat}`;
7881
7929
  if (this.particleFactor && ((l = this.$refs.layer) != null && l.autoActive)) {
7882
- const T = io.WEATHER_LAYERS.find((O) => {
7930
+ const T = To.WEATHER_LAYERS.find((O) => {
7883
7931
  var I;
7884
7932
  return ((I = O.peer) == null ? void 0 : I.weight) === this.particleFactor.weight;
7885
7933
  });
@@ -7889,7 +7937,7 @@ const wn = {
7889
7937
  let T = this.weatherWeight;
7890
7938
  if (T > 0) {
7891
7939
  const O = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], I = await Se.get(
7892
- `${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${z}&bbox=${P}&t=${this.realTime}`,
7940
+ `${O}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${_}&bbox=${P}&t=${this.realTime}`,
7893
7941
  {
7894
7942
  headers: {
7895
7943
  Authorization: this.defaultMeteoToken
@@ -7897,46 +7945,46 @@ const wn = {
7897
7945
  }
7898
7946
  );
7899
7947
  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) {
7900
- const L = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, k = [];
7948
+ const L = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, z = [];
7901
7949
  for (const C in L)
7902
- k.push(
7950
+ z.push(
7903
7951
  Se.get(L[C], {
7904
7952
  headers: {
7905
7953
  Authorization: this.defaultMeteoToken,
7906
7954
  key: C
7907
7955
  },
7908
7956
  responseType: /\.(jpg|png)$/.test(L[C]) ? "blob" : "json"
7909
- }).catch((_) => {
7910
- console.log(`[${C}] fetch layer error: ${_}`);
7957
+ }).catch((k) => {
7958
+ console.log(`[${C}] fetch layer error: ${k}`);
7911
7959
  })
7912
7960
  );
7913
- const v = await Promise.all(k);
7961
+ const v = await Promise.all(z);
7914
7962
  this.weatherLayers = {}, v.map((C) => {
7915
- var N, V, Z, U;
7916
- const _ = ((N = C == null ? void 0 : C.data) == null ? void 0 : N.data) || (C == null ? void 0 : C.data);
7963
+ var N, V, Z, W;
7964
+ const k = ((N = C == null ? void 0 : C.data) == null ? void 0 : N.data) || (C == null ? void 0 : C.data);
7917
7965
  let A = (Z = (V = C == null ? void 0 : C.config) == null ? void 0 : V.headers) == null ? void 0 : Z.key;
7918
- A && _ && (this.weatherLayers[A] = {
7919
- raw: _,
7920
- type: ((U = C == null ? void 0 : C.config) == null ? void 0 : U.responseType) === "blob" ? "image" : "json",
7966
+ A && k && (this.weatherLayers[A] = {
7967
+ raw: k,
7968
+ type: ((W = C == null ? void 0 : C.config) == null ? void 0 : W.responseType) === "blob" ? "image" : "json",
7921
7969
  etime: I.data.etime
7922
7970
  });
7923
7971
  });
7924
7972
  }
7925
7973
  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"]) {
7926
- const L = (u = this.weatherLayers["swell-direction"]) == null ? void 0 : u.raw, k = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
7974
+ const L = (u = this.weatherLayers["swell-direction"]) == null ? void 0 : u.raw, z = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
7927
7975
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
7928
7976
  type: "json",
7929
7977
  direction: L,
7930
- height: { raw: k },
7978
+ height: { raw: z },
7931
7979
  etime: I.data.etime
7932
7980
  };
7933
7981
  }
7934
7982
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
7935
- const L = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, k = (x = this.weatherLayers["current-speed"]) == null ? void 0 : x.raw;
7983
+ const L = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, z = (w = this.weatherLayers["current-speed"]) == null ? void 0 : w.raw;
7936
7984
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
7937
7985
  type: "json",
7938
7986
  direction: L,
7939
- speed: { raw: k },
7987
+ speed: { raw: z },
7940
7988
  etime: I.data.etime
7941
7989
  };
7942
7990
  }
@@ -7993,253 +8041,256 @@ const wn = {
7993
8041
  );
7994
8042
  },
7995
8043
  handleDrawWeather4Json() {
7996
- var u, h, b, x, z, g, P;
8044
+ var r, l, c, n, u, h, b;
7997
8045
  const t = (/* @__PURE__ */ new Date()).valueOf();
7998
8046
  let e = 0, o = 0;
7999
- const i = (u = this.map) == null ? void 0 : u.getBounds(), a = (h = this.map) == null ? void 0 : h.getZoom(), r = X.convertToStdLng(i._sw.lng), l = X.convertToStdLng(i._ne.lng), c = Math.floor(i._sw.lat), n = Math.ceil(i._ne.lat);
8000
- for (const T in this.weatherLayers) {
8001
- let O = !1;
8002
- if (this.weatherLayers[T].active && this.weatherLayers[T].type === "json") {
8003
- let I = [];
8004
- if (T === "swell") {
8005
- O = !0;
8006
- const L = ((b = this.weatherLayers[T]) == null ? void 0 : b.direction) || {};
8007
- for (const v in L)
8008
- if (v > c && v < n && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8009
- const C = L[v].lng;
8010
- r > l ? C.forEach((_, A) => {
8011
- var N, V, Z, U, ee, Q;
8012
- if (a < 2) {
8013
- if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8014
- const $ = H.point([_, v], {
8015
- val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8016
- spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8047
+ const i = (r = this.map) == null ? void 0 : r.getBounds(), a = (l = this.map) == null ? void 0 : l.getZoom();
8048
+ if (i && a) {
8049
+ const w = X.convertToStdLng(i._sw.lng), _ = X.convertToStdLng(i._ne.lng), g = Math.floor(i._sw.lat), P = Math.ceil(i._ne.lat);
8050
+ for (const T in this.weatherLayers) {
8051
+ let O = !1;
8052
+ if (this.weatherLayers[T].active && this.weatherLayers[T].type === "json") {
8053
+ let I = [];
8054
+ if (T === "swell") {
8055
+ O = !0;
8056
+ const L = ((c = this.weatherLayers[T]) == null ? void 0 : c.direction) || {};
8057
+ for (const v in L)
8058
+ if (v > g && v < P && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8059
+ const C = L[v].lng;
8060
+ w > _ ? C.forEach((k, A) => {
8061
+ var N, V, Z, W, ee, J;
8062
+ if (a < 2) {
8063
+ if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
8064
+ const $ = H.point([k, v], {
8065
+ val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8066
+ spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8067
+ });
8068
+ I.push($);
8069
+ }
8070
+ } else if ((k >= w && k <= 180 || k >= -180 && k <= _) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8071
+ const $ = H.point([k, v], {
8072
+ val: ((W = L[v].val) == null ? void 0 : W[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8073
+ spd: (J = L[v].spd) == null ? void 0 : J[A]
8017
8074
  });
8018
8075
  I.push($);
8019
8076
  }
8020
- } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= l) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8021
- const $ = H.point([_, v], {
8022
- val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8023
- spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8024
- });
8025
- I.push($);
8026
- }
8027
- }) : C.forEach((_, A) => {
8028
- var N, V, Z, U, ee, Q;
8029
- if (r < 2) {
8030
- if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8031
- const $ = H.point([_, v], {
8032
- val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8033
- spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8077
+ }) : C.forEach((k, A) => {
8078
+ var N, V, Z, W, ee, J;
8079
+ if (w < 2) {
8080
+ if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
8081
+ const $ = H.point([k, v], {
8082
+ val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8083
+ spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8084
+ });
8085
+ I.push($);
8086
+ }
8087
+ } else if (k >= w && k <= _ && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8088
+ const $ = H.point([k, v], {
8089
+ val: ((W = L[v].val) == null ? void 0 : W[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8090
+ spd: (J = L[v].spd) == null ? void 0 : J[A]
8034
8091
  });
8035
8092
  I.push($);
8036
8093
  }
8037
- } else if (_ >= r && _ <= l && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8038
- const $ = H.point([_, v], {
8039
- val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8040
- spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8041
- });
8042
- I.push($);
8094
+ });
8095
+ }
8096
+ o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell direction elapsed: ", o, ", total: ", e += o);
8097
+ const z = this.weatherLayers[T].height;
8098
+ if (z) {
8099
+ if (!z.data) {
8100
+ const v = [];
8101
+ for (const C in (n = z.raw) == null ? void 0 : n.LineString) {
8102
+ const k = z.raw.LineString[C];
8103
+ for (const A of k)
8104
+ v.push(
8105
+ H.lineString(A, {
8106
+ val: Number(C)
8107
+ })
8108
+ );
8109
+ z.data = H.featureCollection(v);
8043
8110
  }
8044
- });
8045
- }
8046
- o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell direction elapsed: ", o, ", total: ", e += o);
8047
- const k = this.weatherLayers[T].height;
8048
- if (k) {
8049
- if (!k.data) {
8050
- const v = [];
8051
- for (const C in (x = k.raw) == null ? void 0 : x.LineString) {
8052
- const _ = k.raw.LineString[C];
8053
- for (const A of _)
8054
- v.push(
8055
- H.lineString(A, {
8056
- val: Number(C)
8057
- })
8058
- );
8059
- k.data = H.featureCollection(v);
8060
8111
  }
8112
+ if (z.data) {
8113
+ const v = this.handleBboxClip(z.data, i);
8114
+ I = I.concat(v);
8115
+ }
8116
+ o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
8061
8117
  }
8062
- if (k.data) {
8063
- const v = this.handleBboxClip(k.data, i);
8064
- I = I.concat(v);
8065
- }
8066
- o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
8067
- }
8068
- } else if (T === "current") {
8069
- O = !0;
8070
- const L = ((z = this.weatherLayers[T]) == null ? void 0 : z.direction) || {};
8071
- for (const v in L)
8072
- if (v > c && v < n && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8073
- const C = L[v].lng;
8074
- r > l ? C.forEach((_, A) => {
8075
- var N, V, Z, U, ee, Q;
8076
- if (a < 2) {
8077
- if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8078
- const $ = H.point([_, v], {
8079
- val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8080
- spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8118
+ } else if (T === "current") {
8119
+ O = !0;
8120
+ const L = ((u = this.weatherLayers[T]) == null ? void 0 : u.direction) || {};
8121
+ for (const v in L)
8122
+ if (v > g && v < P && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8123
+ const C = L[v].lng;
8124
+ w > _ ? C.forEach((k, A) => {
8125
+ var N, V, Z, W, ee, J;
8126
+ if (a < 2) {
8127
+ if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
8128
+ const $ = H.point([k, v], {
8129
+ val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8130
+ spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8131
+ });
8132
+ I.push($);
8133
+ }
8134
+ } else if ((k >= w && k <= 180 || k >= -180 && k <= _) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8135
+ const $ = H.point([k, v], {
8136
+ val: ((W = L[v].val) == null ? void 0 : W[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8137
+ spd: (J = L[v].spd) == null ? void 0 : J[A]
8081
8138
  });
8082
8139
  I.push($);
8083
8140
  }
8084
- } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= l) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8085
- const $ = H.point([_, v], {
8086
- val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8087
- spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8088
- });
8089
- I.push($);
8090
- }
8091
- }) : C.forEach((_, A) => {
8092
- var N, V, Z, U, ee, Q;
8093
- if (r < 2) {
8094
- if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
8095
- const $ = H.point([_, v], {
8096
- val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8097
- spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8141
+ }) : C.forEach((k, A) => {
8142
+ var N, V, Z, W, ee, J;
8143
+ if (w < 2) {
8144
+ if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
8145
+ const $ = H.point([k, v], {
8146
+ val: ((N = L[v].val) == null ? void 0 : N[A]) || ((V = L[v].dir) == null ? void 0 : V[A]),
8147
+ spd: (Z = L[v].spd) == null ? void 0 : Z[A]
8148
+ });
8149
+ I.push($);
8150
+ }
8151
+ } else if (k >= w && k <= _ && (!(a <= this.zoom) || k % (a < this.zoom / 2 ? 5 : 3) === 0)) {
8152
+ const $ = H.point([k, v], {
8153
+ val: ((W = L[v].val) == null ? void 0 : W[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8154
+ spd: (J = L[v].spd) == null ? void 0 : J[A]
8098
8155
  });
8099
8156
  I.push($);
8100
8157
  }
8101
- } else if (_ >= r && _ <= l && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
8102
- const $ = H.point([_, v], {
8103
- val: ((U = L[v].val) == null ? void 0 : U[A]) || ((ee = L[v].dir) == null ? void 0 : ee[A]),
8104
- spd: (Q = L[v].spd) == null ? void 0 : Q[A]
8105
- });
8106
- I.push($);
8158
+ });
8159
+ }
8160
+ o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current direction elapsed: ", o, ", total: ", e += o);
8161
+ const z = this.weatherLayers[T].speed;
8162
+ if (z) {
8163
+ if (!z.data) {
8164
+ const C = [];
8165
+ for (const k in (h = z.raw) == null ? void 0 : h.Polygon) {
8166
+ const A = z.raw.Polygon[k];
8167
+ for (const N of A)
8168
+ C.push(
8169
+ H.polygon(N, {
8170
+ val: Number(k)
8171
+ })
8172
+ );
8107
8173
  }
8108
- });
8109
- }
8110
- o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current direction elapsed: ", o, ", total: ", e += o);
8111
- const k = this.weatherLayers[T].speed;
8112
- if (k) {
8113
- if (!k.data) {
8114
- const C = [];
8115
- for (const _ in (g = k.raw) == null ? void 0 : g.Polygon) {
8116
- const A = k.raw.Polygon[_];
8117
- for (const N of A)
8118
- C.push(
8119
- H.polygon(N, {
8120
- val: Number(_)
8121
- })
8122
- );
8174
+ z.data = H.featureCollection(C);
8123
8175
  }
8124
- k.data = H.featureCollection(C);
8176
+ const v = a < this.zoom ? z.data.features.filter((C) => C.properties.val > 0.5) : z.data.features;
8177
+ I = I.concat(v), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
8125
8178
  }
8126
- const v = a < this.zoom ? k.data.features.filter((C) => C.properties.val > 0.5) : k.data.features;
8127
- I = I.concat(v), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
8128
- }
8129
- } else if (T === "wind") {
8130
- O = !0;
8131
- const L = this.weatherLayers.wind.raw;
8132
- for (const k in L)
8133
- if (k > c && k < n && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8134
- const v = L[k].lng;
8135
- r > l ? v.forEach((C, _) => {
8136
- var A, N, V, Z;
8137
- if (a < 2) {
8138
- if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8139
- const U = H.point([C, k], {
8140
- dir: ((A = L[k].val) == null ? void 0 : A[_]) || ((N = L[k].dir) == null ? void 0 : N[_]),
8141
- spd: L[k].spd[_]
8179
+ } else if (T === "wind") {
8180
+ O = !0;
8181
+ const L = this.weatherLayers.wind.raw;
8182
+ for (const z in L)
8183
+ if (z > g && z < P && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8184
+ const v = L[z].lng;
8185
+ w > _ ? v.forEach((C, k) => {
8186
+ var A, N, V, Z;
8187
+ if (a < 2) {
8188
+ if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8189
+ const W = H.point([C, z], {
8190
+ dir: ((A = L[z].val) == null ? void 0 : A[k]) || ((N = L[z].dir) == null ? void 0 : N[k]),
8191
+ spd: L[z].spd[k]
8192
+ });
8193
+ I.push(W);
8194
+ }
8195
+ } else if ((C >= w && C <= 180 || C >= -180 && C <= _) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8196
+ const W = H.point([C, z], {
8197
+ dir: ((V = L[z].val) == null ? void 0 : V[k]) || ((Z = L[z].dir) == null ? void 0 : Z[k]),
8198
+ spd: L[z].spd[k]
8142
8199
  });
8143
- I.push(U);
8200
+ I.push(W);
8144
8201
  }
8145
- } else if ((C >= r && C <= 180 || C >= -180 && C <= l) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8146
- const U = H.point([C, k], {
8147
- dir: ((V = L[k].val) == null ? void 0 : V[_]) || ((Z = L[k].dir) == null ? void 0 : Z[_]),
8148
- spd: L[k].spd[_]
8149
- });
8150
- I.push(U);
8151
- }
8152
- }) : v.forEach((C, _) => {
8153
- var A, N, V, Z;
8154
- if (a < 2) {
8155
- if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8156
- const U = H.point([C, k], {
8157
- dir: ((A = L[k].val) == null ? void 0 : A[_]) || ((N = L[k].dir) == null ? void 0 : N[_]),
8158
- spd: L[k].spd[_]
8202
+ }) : v.forEach((C, k) => {
8203
+ var A, N, V, Z;
8204
+ if (a < 2) {
8205
+ if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8206
+ const W = H.point([C, z], {
8207
+ dir: ((A = L[z].val) == null ? void 0 : A[k]) || ((N = L[z].dir) == null ? void 0 : N[k]),
8208
+ spd: L[z].spd[k]
8209
+ });
8210
+ I.push(W);
8211
+ }
8212
+ } else if (C >= w && C <= _ && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8213
+ const W = H.point([C, z], {
8214
+ dir: ((V = L[z].val) == null ? void 0 : V[k]) || ((Z = L[z].dir) == null ? void 0 : Z[k]),
8215
+ spd: L[z].spd[k]
8159
8216
  });
8160
- I.push(U);
8217
+ I.push(W);
8161
8218
  }
8162
- } else if (C >= r && C <= l && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8163
- const U = H.point([C, k], {
8164
- dir: ((V = L[k].val) == null ? void 0 : V[_]) || ((Z = L[k].dir) == null ? void 0 : Z[_]),
8165
- spd: L[k].spd[_]
8166
- });
8167
- I.push(U);
8168
- }
8169
- });
8170
- }
8171
- o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("wind barb elapsed: ", o, ", total: ", e += o);
8172
- } else if (T === "sig-wave-height") {
8173
- if (this.weatherLayers[T].data)
8174
- I = this.weatherLayers[T].data;
8175
- else {
8176
- O = !0;
8177
- const L = this.weatherLayers[T].raw;
8178
- if (L) {
8179
- const k = [];
8180
- for (const v in L.Polygon) {
8181
- const C = L.Polygon[v];
8182
- for (const _ of C)
8183
- k.push(
8184
- H.polygon(_, {
8185
- val: Number(v)
8186
- })
8187
- );
8188
- }
8189
- for (const v in L.MultiPolygon) {
8190
- const C = L.MultiPolygon[v];
8191
- for (const _ of C)
8192
- k.push(
8193
- H.multiPolygon(_, {
8194
- val: Number(v)
8195
- })
8196
- );
8219
+ });
8197
8220
  }
8198
- for (const v in L.Point) {
8199
- const C = L.Point[v];
8200
- for (let _ = 0; _ < ((P = C.lng) == null ? void 0 : P.length); _++)
8201
- k.push(
8202
- H.point([C.lng[_], v], {
8203
- val: Number(C.val[_])
8204
- })
8205
- );
8221
+ o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("wind barb elapsed: ", o, ", total: ", e += o);
8222
+ } else if (T === "sig-wave-height") {
8223
+ if (this.weatherLayers[T].data)
8224
+ I = this.weatherLayers[T].data;
8225
+ else {
8226
+ O = !0;
8227
+ const L = this.weatherLayers[T].raw;
8228
+ if (L) {
8229
+ const z = [];
8230
+ for (const v in L.Polygon) {
8231
+ const C = L.Polygon[v];
8232
+ for (const k of C)
8233
+ z.push(
8234
+ H.polygon(k, {
8235
+ val: Number(v)
8236
+ })
8237
+ );
8238
+ }
8239
+ for (const v in L.MultiPolygon) {
8240
+ const C = L.MultiPolygon[v];
8241
+ for (const k of C)
8242
+ z.push(
8243
+ H.multiPolygon(k, {
8244
+ val: Number(v)
8245
+ })
8246
+ );
8247
+ }
8248
+ for (const v in L.Point) {
8249
+ const C = L.Point[v];
8250
+ for (let k = 0; k < ((b = C.lng) == null ? void 0 : b.length); k++)
8251
+ z.push(
8252
+ H.point([C.lng[k], v], {
8253
+ val: Number(C.val[k])
8254
+ })
8255
+ );
8256
+ }
8257
+ I = I.concat(z);
8206
8258
  }
8207
- I = I.concat(k);
8208
8259
  }
8209
- }
8210
- o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", o, ", total: ", e += o);
8211
- } else if (T === "prmsl") {
8212
- if (this.weatherLayers[T].data)
8213
- I = this.weatherLayers[T].data;
8214
- else {
8215
- O = !0;
8216
- const L = this.weatherLayers[T].raw;
8217
- if (L) {
8218
- const k = [];
8219
- for (const v in L.LineString) {
8220
- const C = L.LineString[v];
8221
- for (const _ of C)
8222
- k.push(
8223
- H.lineString(_, {
8224
- val: Number(v)
8225
- })
8226
- );
8260
+ o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", o, ", total: ", e += o);
8261
+ } else if (T === "prmsl") {
8262
+ if (this.weatherLayers[T].data)
8263
+ I = this.weatherLayers[T].data;
8264
+ else {
8265
+ O = !0;
8266
+ const L = this.weatherLayers[T].raw;
8267
+ if (L) {
8268
+ const z = [];
8269
+ for (const v in L.LineString) {
8270
+ const C = L.LineString[v];
8271
+ for (const k of C)
8272
+ z.push(
8273
+ H.lineString(k, {
8274
+ val: Number(v)
8275
+ })
8276
+ );
8277
+ }
8278
+ for (const v in L.Point)
8279
+ L.Point[v].lng.forEach((C, k) => {
8280
+ C = X.convertToStdLng(C), z.push(
8281
+ H.point([C, v], {
8282
+ val: L.Point[v].val[k],
8283
+ type: L.Point[v].type[k]
8284
+ })
8285
+ );
8286
+ });
8287
+ I = I.concat(z);
8227
8288
  }
8228
- for (const v in L.Point)
8229
- L.Point[v].lng.forEach((C, _) => {
8230
- C = X.convertToStdLng(C), k.push(
8231
- H.point([C, v], {
8232
- val: L.Point[v].val[_],
8233
- type: L.Point[v].type[_]
8234
- })
8235
- );
8236
- });
8237
- I = I.concat(k);
8238
8289
  }
8290
+ o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
8239
8291
  }
8240
- o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
8292
+ I.length && (this.weatherLayers[T].data = H.featureCollection(I)), O && (this.weatherLayers[T].version = Math.random() + 1);
8241
8293
  }
8242
- I.length && (this.weatherLayers[T].data = H.featureCollection(I)), O && (this.weatherLayers[T].version = Math.random() + 1);
8243
8294
  }
8244
8295
  }
8245
8296
  },
@@ -8279,10 +8330,10 @@ const wn = {
8279
8330
  }, Rn = {
8280
8331
  key: 1,
8281
8332
  class: "d-flex justify-start align-center ga-4 pl-6"
8282
- }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, jn = { class: "text-body-2 text-label mb-3" }, Nn = { class: "text-body-1 font-weight-medium" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Gn = { class: "text-body-1 py-2" }, Wn = { class: "text-body-1 font-weight-medium" }, Un = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label mb-3" }, Zn = { class: "text-body-1 font-weight-medium" }, Yn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Xn = { class: "text-body-1 py-2" }, $n = { class: "text-body-1 font-weight-medium" }, Kn = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label mb-3" };
8283
- function Jn(t, e, o, i, a, r) {
8284
- var J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e;
8285
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"), z = w("VSwitch"), g = w("VCardTitle"), P = w("VCardItem"), T = w("VCheckbox"), O = w("VRadio"), I = w("VBtnToggle"), L = w("IdmWindBarb"), k = w("IdmSigWaveHeight"), v = w("IdmCurrentDirection"), C = w("IdmPrmsl"), _ = w("IdmWindParticle"), A = w("IdmCurrentParticle"), N = w("IdmWave"), V = w("IdmSwell"), Z = w("IdmIceEdge"), U = w("IdmIceCover"), ee = w("IdmIceThickness"), Q = w("IdmPrecip3h"), $ = w("IdmVisibility"), ne = w("IdmWaterTemp"), se = w("IdmTemp");
8333
+ }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, jn = { class: "text-body-2 text-label" }, Nn = { class: "text-body-2 text-label mb-3" }, Fn = { class: "text-body-1 font-weight-medium" }, Hn = { class: "text-body-2 text-label" }, Gn = { class: "text-body-2 text-label" }, Un = { class: "text-body-2 text-label mb-3" }, Wn = { class: "text-body-1 py-2" }, Vn = { class: "text-body-1 font-weight-medium" }, Zn = { class: "text-body-2 text-label" }, Yn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Xn = { class: "text-body-1 font-weight-medium" }, $n = { class: "text-body-2 text-label" }, Kn = { class: "text-body-2 text-label" }, Jn = { class: "text-body-2 text-label mb-3" }, Qn = { class: "text-body-1 py-2" }, ec = { class: "text-body-1 font-weight-medium" }, tc = { class: "text-body-2 text-label" }, oc = { class: "text-body-2 text-label" }, ac = { class: "text-body-2 text-label mb-3" };
8334
+ function ic(t, e, o, i, a, r) {
8335
+ var Q, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e;
8336
+ const l = x("VBtn"), c = x("VTooltip"), n = x("VCol"), u = x("VRow"), h = x("VCardText"), b = x("VDivider"), w = x("VCard"), _ = x("VSwitch"), g = x("VCardTitle"), P = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), L = x("IdmWindBarb"), z = x("IdmSigWaveHeight"), v = x("IdmCurrentDirection"), C = x("IdmPrmsl"), k = x("IdmWindParticle"), A = x("IdmCurrentParticle"), N = x("IdmWave"), V = x("IdmSwell"), Z = x("IdmIceEdge"), W = x("IdmIceCover"), ee = x("IdmIceThickness"), J = x("IdmPrecip3h"), $ = x("IdmVisibility"), ne = x("IdmWaterTemp"), se = x("IdmTemp");
8286
8337
  return y(), S("div", xn, [
8287
8338
  s("div", {
8288
8339
  class: "menu-bar-box transition pa-1",
@@ -8337,7 +8388,7 @@ function Jn(t, e, o, i, a, r) {
8337
8388
  _: 1
8338
8389
  })
8339
8390
  ], 4),
8340
- a.legendToggle ? (y(), R(x, {
8391
+ a.legendToggle ? (y(), R(w, {
8341
8392
  key: 0,
8342
8393
  width: "435",
8343
8394
  elevation: "16",
@@ -8450,7 +8501,7 @@ function Jn(t, e, o, i, a, r) {
8450
8501
  s("div", Mn, [
8451
8502
  s("div", In, [
8452
8503
  s("div", Dn, m(t.$t("weather.weather")), 1),
8453
- p(z, {
8504
+ p(_, {
8454
8505
  modelValue: a.autoActive,
8455
8506
  "onUpdate:modelValue": e[1] || (e[1] = (G) => a.autoActive = G),
8456
8507
  class: "small-switch",
@@ -8477,7 +8528,7 @@ function Jn(t, e, o, i, a, r) {
8477
8528
  s("div", {
8478
8529
  class: Ne(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
8479
8530
  }, [
8480
- p(x, {
8531
+ p(w, {
8481
8532
  class: "block-bg mx-auto mb-3",
8482
8533
  elevation: "0"
8483
8534
  }, {
@@ -8517,7 +8568,7 @@ function Jn(t, e, o, i, a, r) {
8517
8568
  ]),
8518
8569
  _: 1
8519
8570
  }),
8520
- p(x, {
8571
+ p(w, {
8521
8572
  class: "block-bg mx-auto mb-3",
8522
8573
  elevation: "0"
8523
8574
  }, {
@@ -8556,7 +8607,7 @@ function Jn(t, e, o, i, a, r) {
8556
8607
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
8557
8608
  a.renderKey === "wind-particle" && G.key === "wind-particle" ? (y(), S("div", An, [
8558
8609
  s("span", null, m(t.$t("weather.particleAnimatiom")), 1),
8559
- p(z, {
8610
+ p(_, {
8560
8611
  modelValue: a.showWindParticle,
8561
8612
  "onUpdate:modelValue": e[4] || (e[4] = (te) => a.showWindParticle = te),
8562
8613
  label: "",
@@ -8571,7 +8622,7 @@ function Jn(t, e, o, i, a, r) {
8571
8622
  ])) : D("", !0),
8572
8623
  a.renderKey === "current-particle" && G.key === "current-particle" ? (y(), S("div", Rn, [
8573
8624
  s("span", null, m(t.$t("weather.particleAnimatiom")), 1),
8574
- p(z, {
8625
+ p(_, {
8575
8626
  modelValue: a.showCurrentParticle,
8576
8627
  "onUpdate:modelValue": e[5] || (e[5] = (te) => a.showCurrentParticle = te),
8577
8628
  label: "",
@@ -8677,7 +8728,7 @@ function Jn(t, e, o, i, a, r) {
8677
8728
  ]),
8678
8729
  _: 1
8679
8730
  }),
8680
- p(x, {
8731
+ p(w, {
8681
8732
  class: "block-bg mx-auto mb-3",
8682
8733
  elevation: "0"
8683
8734
  }, {
@@ -8698,28 +8749,33 @@ function Jn(t, e, o, i, a, r) {
8698
8749
  }),
8699
8750
  p(h, { class: "" }, {
8700
8751
  default: f(() => {
8701
- var G, te, He, Me, ue, fe, W, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Qe, Je, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, eo;
8752
+ var G, te, He, Me, ue, fe, U, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Je, Qe, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Ut, Wt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
8702
8753
  return [
8703
8754
  s("div", On, m(t.$t("weather.atmospheric")), 1),
8704
- s("div", Bn, m((He = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : He.source) + " " + m((fe = (ue = (Me = a.models) == null ? void 0 : Me.weather) == null ? void 0 : ue.NOAA) == null ? void 0 : fe.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (oe = (Ce = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : Ce.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
8755
+ s("div", Bn, m((He = (te = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : te.NOAA) == null ? void 0 : He.source) + " " + m((fe = (ue = (Me = a.models) == null ? void 0 : Me.weather) == null ? void 0 : ue.NOAA) == null ? void 0 : fe.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (oe = (Ce = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : Ce.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
8705
8756
  s("div", En, m(t.$t("weather.source")) + ": NOAA", 1),
8706
- s("div", jn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Ie = (ye = (j = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : j.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Ie.initialisationTime)), 1),
8707
- s("div", Nn, m((E = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.ECMWF) == null ? void 0 : E.source) + " " + m((Ze = (Ve = (q = a.models) == null ? void 0 : q.weather) == null ? void 0 : Ve.ECMWF) == null ? void 0 : Ze.spatialResolution) + m(t.$t("units.km")) + " " + m((Xe = (qe = (Te = (Ye = a.models) == null ? void 0 : Ye.weather) == null ? void 0 : Te.ECMWF) == null ? void 0 : qe.meta) == null ? void 0 : Xe.days) + m(t.$t("units.days")), 1),
8708
- s("div", Fn, m(t.$t("weather.source")) + ": ECMWF", 1),
8709
- s("div", Hn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Je = (Qe = (Ke = ($e = a.models) == null ? void 0 : $e.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
8757
+ s("div", jn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((Ie = (ye = (j = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : j.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Ie.availabilityTime)), 1),
8758
+ s("div", Nn, m(t.$t("weather.referenceTime ")) + ": " + m(r.computeDateZ((q = (E = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.NOAA) == null ? void 0 : E.meta) == null ? void 0 : q.initialisationTime)), 1),
8759
+ s("div", Fn, m((Ye = (Ze = (Ve = a.models) == null ? void 0 : Ve.weather) == null ? void 0 : Ze.ECMWF) == null ? void 0 : Ye.source) + " " + m((Xe = (qe = (Te = a.models) == null ? void 0 : Te.weather) == null ? void 0 : qe.ECMWF) == null ? void 0 : Xe.spatialResolution) + m(t.$t("units.km")) + " " + m((Qe = (Je = (Ke = ($e = a.models) == null ? void 0 : $e.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Je.meta) == null ? void 0 : Qe.days) + m(t.$t("units.days")), 1),
8760
+ s("div", Hn, m(t.$t("weather.source")) + ": ECMWF", 1),
8761
+ s("div", Gn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((at = (ot = (tt = (et = a.models) == null ? void 0 : et.weather) == null ? void 0 : tt.ECMWF) == null ? void 0 : ot.meta) == null ? void 0 : at.availabilityTime)), 1),
8762
+ s("div", Un, m(t.$t("weather.referenceTime ")) + ": " + m(r.computeDateZ((lt = (st = (rt = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : rt.ECMWF) == null ? void 0 : st.meta) == null ? void 0 : lt.initialisationTime)), 1),
8710
8763
  p(b),
8711
- s("div", Gn, m(t.$t("weather.wave")), 1),
8712
- s("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((lt = (st = (rt = (it = a.models) == null ? void 0 : it.marine) == null ? void 0 : rt.wave) == null ? void 0 : st.NOAA) == null ? void 0 : lt.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),
8713
- s("div", Un, m(t.$t("weather.source")) + ": NOAA", 1),
8714
- s("div", Vn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((yt = (ft = (gt = (ut = (pt = a.models) == null ? void 0 : pt.marine) == null ? void 0 : ut.wave) == null ? void 0 : gt.NOAA) == null ? void 0 : ft.meta) == null ? void 0 : yt.initialisationTime)), 1),
8715
- s("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((Mt = (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 : Mt.days) + m(t.$t("units.days")), 1),
8716
- s("div", Yn, m(t.$t("weather.source")) + ": ECMWF", 1),
8717
- s("div", qn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Ot = (Rt = (At = (Dt = (It = a.models) == null ? void 0 : It.marine) == null ? void 0 : Dt.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Rt.meta) == null ? void 0 : Ot.initialisationTime)), 1),
8764
+ s("div", Wn, m(t.$t("weather.wave")), 1),
8765
+ s("div", Vn, m((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.source) + " " + m((gt = (ut = (pt = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.spatialResolution) + m(t.$t("units.km")) + " " + m((xt = (wt = (bt = (yt = (ft = a.models) == null ? void 0 : ft.marine) == null ? void 0 : yt.wave) == null ? void 0 : bt.NOAA) == null ? void 0 : wt.meta) == null ? void 0 : xt.days) + m(t.$t("units.days")), 1),
8766
+ s("div", Zn, m(t.$t("weather.source")) + ": NOAA", 1),
8767
+ s("div", Yn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((Lt = (zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.NOAA) == null ? void 0 : zt.meta) == null ? void 0 : Lt.availabilityTime)), 1),
8768
+ s("div", qn, m(t.$t("weather.referenceTime ")) + ": " + m(r.computeDateZ((Mt = (St = (Tt = (Ct = (Pt = a.models) == null ? void 0 : Pt.marine) == null ? void 0 : Ct.wave) == null ? void 0 : Tt.NOAA) == null ? void 0 : St.meta) == null ? void 0 : Mt.initialisationTime)), 1),
8769
+ s("div", Xn, m((Rt = (At = (Dt = (It = a.models) == null ? void 0 : It.marine) == null ? void 0 : Dt.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Rt.source) + " " + m((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.wave) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.spatialResolution) + m(t.$t("units.km")) + " " + m((Ut = (Gt = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.wave) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Gt.meta) == null ? void 0 : Ut.days) + m(t.$t("units.days")), 1),
8770
+ s("div", $n, m(t.$t("weather.source")) + ": ECMWF", 1),
8771
+ s("div", Kn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((qt = (Yt = (Zt = (Vt = (Wt = a.models) == null ? void 0 : Wt.marine) == null ? void 0 : Vt.wave) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : qt.availabilityTime)), 1),
8772
+ s("div", Jn, m(t.$t("weather.referenceTime ")) + ": " + m(r.computeDateZ((eo = (Qt = (Jt = (Kt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : Kt.wave) == null ? void 0 : Jt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : eo.initialisationTime)), 1),
8718
8773
  p(b),
8719
- s("div", Xn, m(t.$t("weather.currents")), 1),
8720
- s("div", $n, m((Nt = (jt = (Et = (Bt = a.models) == null ? void 0 : Bt.marine) == null ? void 0 : Et.current) == null ? void 0 : jt.ECMWF) == null ? void 0 : Nt.source) + " " + m((Wt = (Gt = (Ht = (Ft = a.models) == null ? void 0 : Ft.marine) == null ? void 0 : Ht.current) == null ? void 0 : Gt.ECMWF) == null ? void 0 : Wt.spatialResolution) + m(t.$t("units.km")) + " " + m((qt = (Yt = (Zt = (Vt = (Ut = a.models) == null ? void 0 : Ut.marine) == null ? void 0 : Vt.current) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : qt.days) + m(t.$t("units.days")), 1),
8721
- s("div", Kn, m(t.$t("weather.source")) + ": ECMWF", 1),
8722
- s("div", Qn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((eo = (Jt = (Qt = (Kt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : Kt.current) == null ? void 0 : Qt.ECMWF) == null ? void 0 : Jt.meta) == null ? void 0 : eo.initialisationTime)), 1)
8774
+ s("div", Qn, m(t.$t("weather.currents")), 1),
8775
+ s("div", ec, m((io = (ao = (oo = (to = a.models) == null ? void 0 : to.marine) == null ? void 0 : oo.current) == null ? void 0 : ao.ECMWF) == null ? void 0 : io.source) + " " + m((no = (lo = (so = (ro = a.models) == null ? void 0 : ro.marine) == null ? void 0 : so.current) == null ? void 0 : lo.ECMWF) == null ? void 0 : no.spatialResolution) + m(t.$t("units.km")) + " " + m((uo = (po = (ho = (mo = (co = a.models) == null ? void 0 : co.marine) == null ? void 0 : mo.current) == null ? void 0 : ho.ECMWF) == null ? void 0 : po.meta) == null ? void 0 : uo.days) + m(t.$t("units.days")), 1),
8776
+ s("div", tc, m(t.$t("weather.source")) + ": ECMWF", 1),
8777
+ s("div", oc, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((wo = (bo = (yo = (fo = (go = a.models) == null ? void 0 : go.marine) == null ? void 0 : fo.current) == null ? void 0 : yo.ECMWF) == null ? void 0 : bo.meta) == null ? void 0 : wo.availabilityTime)), 1),
8778
+ s("div", ac, m(t.$t("weather.referenceTime ")) + ": " + m(r.computeDateZ((zo = (ko = (_o = (vo = (xo = a.models) == null ? void 0 : xo.marine) == null ? void 0 : vo.current) == null ? void 0 : _o.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : zo.initialisationTime)), 1)
8723
8779
  ];
8724
8780
  }),
8725
8781
  _: 1
@@ -8735,10 +8791,10 @@ function Jn(t, e, o, i, a, r) {
8735
8791
  map: o.map,
8736
8792
  "map-feather": o.mapFeather,
8737
8793
  "before-layer": "empty-layer-3",
8738
- wind: (J = a.weatherLayers) == null ? void 0 : J.wind,
8794
+ wind: (Q = a.weatherLayers) == null ? void 0 : Q.wind,
8739
8795
  "menu-toggle": o.menuToggle
8740
8796
  }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : D("", !0),
8741
- o.map ? (y(), R(k, B({
8797
+ o.map ? (y(), R(z, B({
8742
8798
  key: 2,
8743
8799
  map: o.map,
8744
8800
  "before-layer": "empty-layer-2",
@@ -8762,7 +8818,7 @@ function Jn(t, e, o, i, a, r) {
8762
8818
  "menu-toggle": o.menuToggle,
8763
8819
  "active-weather-layers": a.activeWeatherLayers
8764
8820
  }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : D("", !0),
8765
- o.map ? (y(), R(_, B({
8821
+ o.map ? (y(), R(k, B({
8766
8822
  key: 5,
8767
8823
  viewport: a.viewport,
8768
8824
  factor: (pe = a.weatherLayers) == null ? void 0 : pe["wind-particle"],
@@ -8794,7 +8850,7 @@ function Jn(t, e, o, i, a, r) {
8794
8850
  factor: (xe = a.weatherLayers) == null ? void 0 : xe["ice-edge"],
8795
8851
  "menu-toggle": o.menuToggle
8796
8852
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8797
- o.map ? (y(), R(U, B({
8853
+ o.map ? (y(), R(W, B({
8798
8854
  key: 10,
8799
8855
  viewport: a.viewport,
8800
8856
  factor: (Le = a.weatherLayers) == null ? void 0 : Le["ice-cover"],
@@ -8806,7 +8862,7 @@ function Jn(t, e, o, i, a, r) {
8806
8862
  factor: (Pe = a.weatherLayers) == null ? void 0 : Pe["ice-thickness"],
8807
8863
  "menu-toggle": o.menuToggle
8808
8864
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
8809
- o.map ? (y(), R(Q, B({
8865
+ o.map ? (y(), R(J, B({
8810
8866
  key: 12,
8811
8867
  viewport: a.viewport,
8812
8868
  factor: (De = a.weatherLayers) == null ? void 0 : De.precip3h,
@@ -8832,7 +8888,7 @@ function Jn(t, e, o, i, a, r) {
8832
8888
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0)
8833
8889
  ]);
8834
8890
  }
8835
- const ec = /* @__PURE__ */ Y(wn, [["render", Jn]]), to = [
8891
+ const rc = /* @__PURE__ */ Y(wn, [["render", ic]]), Lo = [
8836
8892
  {
8837
8893
  rank: 0,
8838
8894
  name: "Best Match",
@@ -8991,7 +9047,7 @@ const ec = /* @__PURE__ */ Y(wn, [["render", Jn]]), to = [
8991
9047
  categories: "bom_access_global",
8992
9048
  variables: "temperature_2m,relative_humidity_2m,dew_point_2m,apparent_temperature,precipitation_probability,precipitation,rain,showers,snowfall_water_equivalent,snowfall,frozen_precipitation_percent,pressure_msl,cloud_cover,visibility,wind_speed_10m,wind_u_component_10m,wind_v_component_10m,wind_direction_10m,wind_gusts_10m,cape,lifted_index,weather_code"
8993
9049
  }
8994
- ], oo = [
9050
+ ], Po = [
8995
9051
  {
8996
9052
  rank: 0,
8997
9053
  name: "Best Match",
@@ -9112,10 +9168,10 @@ const ec = /* @__PURE__ */ Y(wn, [["render", Jn]]), to = [
9112
9168
  ];
9113
9169
  class Za {
9114
9170
  static standardWeatherModels() {
9115
- return to.filter((e) => !e.disabled && e.alias);
9171
+ return Lo.filter((e) => !e.disabled && e.alias);
9116
9172
  }
9117
9173
  static standardMarineModels() {
9118
- return oo.filter((e) => !e.disabled && e.alias);
9174
+ return Po.filter((e) => !e.disabled && e.alias);
9119
9175
  }
9120
9176
  /**
9121
9177
  * 可视化图层模式
@@ -9149,20 +9205,20 @@ class Za {
9149
9205
  e = e == null ? void 0 : e.toLowerCase(), e = e === "ec" ? "ecmwf" : e;
9150
9206
  const a = e.toLowerCase().split(","), r = [], l = [];
9151
9207
  for (const c of a) {
9152
- let n = to.find((h) => {
9153
- var b, x, z;
9154
- return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((z = h.name) == null ? void 0 : z.toLowerCase()) === c;
9155
- }), u = oo.find((h) => {
9156
- var b, x, z;
9157
- return ((b = h.models) == null ? void 0 : b.includes(c)) || ((x = h.alias) == null ? void 0 : x.toLowerCase()) === c || ((z = h.name) == null ? void 0 : z.toLowerCase()) === c;
9208
+ let n = Lo.find((h) => {
9209
+ var b, w, _;
9210
+ return ((b = h.models) == null ? void 0 : b.includes(c)) || ((w = h.alias) == null ? void 0 : w.toLowerCase()) === c || ((_ = h.name) == null ? void 0 : _.toLowerCase()) === c;
9211
+ }), u = Po.find((h) => {
9212
+ var b, w, _;
9213
+ return ((b = h.models) == null ? void 0 : b.includes(c)) || ((w = h.alias) == null ? void 0 : w.toLowerCase()) === c || ((_ = h.name) == null ? void 0 : _.toLowerCase()) === c;
9158
9214
  });
9159
- n = n || to.find((h) => {
9160
- var b, x;
9161
- return ((b = h.alias) == null ? void 0 : b.toLowerCase()) === ((x = u == null ? void 0 : u.alias) == null ? void 0 : x.toLowerCase());
9162
- }), u = u || oo.find((h) => {
9163
- var b, x;
9164
- return ((b = h.alias) == null ? void 0 : b.toLowerCase()) === ((x = n == null ? void 0 : n.alias) == null ? void 0 : x.toLowerCase());
9165
- }), n = n || to[0], u = u || oo[0], r.push((o = n.models) != null && o.includes(c) ? c : n.model), l.push((i = u.models) != null && i.includes(c) ? c : u.model);
9215
+ n = n || Lo.find((h) => {
9216
+ var b, w;
9217
+ return ((b = h.alias) == null ? void 0 : b.toLowerCase()) === ((w = u == null ? void 0 : u.alias) == null ? void 0 : w.toLowerCase());
9218
+ }), u = u || Po.find((h) => {
9219
+ var b, w;
9220
+ return ((b = h.alias) == null ? void 0 : b.toLowerCase()) === ((w = n == null ? void 0 : n.alias) == null ? void 0 : w.toLowerCase());
9221
+ }), n = n || Lo[0], u = u || Po[0], r.push((o = n.models) != null && o.includes(c) ? c : n.model), l.push((i = u.models) != null && i.includes(c) ? c : u.model);
9166
9222
  }
9167
9223
  return {
9168
9224
  weatherModels: r.join(","),
@@ -9171,7 +9227,7 @@ class Za {
9171
9227
  }
9172
9228
  static autoPickSubCategories(e) {
9173
9229
  e = e.toUpperCase();
9174
- const o = to.filter((r) => r.alias === e), i = oo.filter((r) => r.alias === e), a = [];
9230
+ const o = Lo.filter((r) => r.alias === e), i = Po.filter((r) => r.alias === e), a = [];
9175
9231
  return o.forEach((r) => {
9176
9232
  r.categories && a.push(...r.categories.split(","));
9177
9233
  }), i.forEach((r) => {
@@ -9179,8 +9235,8 @@ class Za {
9179
9235
  }), a;
9180
9236
  }
9181
9237
  static pickHourly(e, o) {
9182
- var i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me;
9183
- const ue = typeof o == "string" ? M(o) : o, fe = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, Ce = M((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.clone().add((c = (l = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), re = Ce.clone().add((h = (u = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1), "h"), Oe = [];
9238
+ var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me;
9239
+ const ue = typeof o == "string" ? M(o) : o, fe = e == null ? void 0 : e.weather, U = e == null ? void 0 : e.marine, Ce = M((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.clone().add((c = (l = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), re = Ce.clone().add((h = (u = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1), "h"), Oe = [];
9184
9240
  if (ue.isBetween(oe, re, "millisecond", "[]")) {
9185
9241
  const j = ue.utc().diff(oe, "h", !1);
9186
9242
  let ye, Ie;
@@ -9191,9 +9247,9 @@ class Za {
9191
9247
  for (let Te = j - (j - 1) % 3; Te <= j; Te++)
9192
9248
  Be += (b = q == null ? void 0 : q.precipitation) == null ? void 0 : b.at(Te);
9193
9249
  for (let Te = j - (j - 1) % 6; Te <= j; Te++)
9194
- Ee += (x = q == null ? void 0 : q.precipitation) == null ? void 0 : x.at(Te);
9250
+ Ee += (w = q == null ? void 0 : q.precipitation) == null ? void 0 : w.at(Te);
9195
9251
  ye = {
9196
- temp: (z = q == null ? void 0 : q.temperature_2m) == null ? void 0 : z.at(j),
9252
+ temp: (_ = q == null ? void 0 : q.temperature_2m) == null ? void 0 : _.at(j),
9197
9253
  apparentTemp: (g = q == null ? void 0 : q.apparent_temperature) == null ? void 0 : g.at(j),
9198
9254
  rh: (P = q == null ? void 0 : q.relative_humidity_2m) == null ? void 0 : P.at(j),
9199
9255
  dp: (T = q == null ? void 0 : q.dew_point_2m) == null ? void 0 : T.at(j),
@@ -9204,15 +9260,15 @@ class Za {
9204
9260
  sum6Hours: Math.round(Ee * 100) / 100
9205
9261
  },
9206
9262
  pmsl: (L = q == null ? void 0 : q.pressure_msl) == null ? void 0 : L.at(j),
9207
- psurf: (k = q == null ? void 0 : q.surface_pressure) == null ? void 0 : k.at(j),
9263
+ psurf: (z = q == null ? void 0 : q.surface_pressure) == null ? void 0 : z.at(j),
9208
9264
  code: (v = q == null ? void 0 : q.weather_code) == null ? void 0 : v.at(j),
9209
9265
  visibility: this.m2nm((C = q == null ? void 0 : q.visibility) == null ? void 0 : C.at(j)),
9210
9266
  wind: {
9211
- speed: (_ = q == null ? void 0 : q.wind_speed_10m) == null ? void 0 : _.at(j),
9267
+ speed: (k = q == null ? void 0 : q.wind_speed_10m) == null ? void 0 : k.at(j),
9212
9268
  kts: (A = q == null ? void 0 : q.wind_speed_10m) == null ? void 0 : A.at(j),
9213
9269
  degree: (N = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : N.at(j),
9214
9270
  bearing: ((V = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : V.at(j)) !== null ? (((Z = q == null ? void 0 : q.wind_direction_10m) == null ? void 0 : Z.at(j)) + 180) % 360 : null,
9215
- gusts: (U = q == null ? void 0 : q.wind_gusts_10m) == null ? void 0 : U.at(j)
9271
+ gusts: (W = q == null ? void 0 : q.wind_gusts_10m) == null ? void 0 : W.at(j)
9216
9272
  },
9217
9273
  isDay: (ee = q == null ? void 0 : q.is_day) == null ? void 0 : ee.at(j)
9218
9274
  };
@@ -9224,17 +9280,17 @@ class Za {
9224
9280
  });
9225
9281
  }
9226
9282
  }
9227
- if (W) {
9283
+ if (U) {
9228
9284
  let Be = 0;
9229
- for (const Ee of W) {
9285
+ for (const Ee of U) {
9230
9286
  const E = Ee == null ? void 0 : Ee.hourly;
9231
9287
  Ie = {
9232
9288
  wave: {
9233
9289
  sig: {
9234
- height: (Q = E == null ? void 0 : E.wave_height) == null ? void 0 : Q.at(j),
9290
+ height: (J = E == null ? void 0 : E.wave_height) == null ? void 0 : J.at(j),
9235
9291
  degree: ($ = E == null ? void 0 : E.wave_direction) == null ? void 0 : $.at(j),
9236
9292
  bearing: ((ne = E == null ? void 0 : E.wave_direction) == null ? void 0 : ne.at(j)) !== null ? (((se = E == null ? void 0 : E.wave_direction) == null ? void 0 : se.at(j)) + 180) % 360 : null,
9237
- period: (J = E == null ? void 0 : E.wave_period) == null ? void 0 : J.at(j)
9293
+ period: (Q = E == null ? void 0 : E.wave_period) == null ? void 0 : Q.at(j)
9238
9294
  },
9239
9295
  swell: {
9240
9296
  height: (ae = E == null ? void 0 : E.swell_wave_height) == null ? void 0 : ae.at(j),
@@ -9288,49 +9344,49 @@ class Za {
9288
9344
  };
9289
9345
  }
9290
9346
  static pickDaily(e, o) {
9291
- var i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae;
9347
+ var i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae;
9292
9348
  const Re = typeof o == "string" ? M(o) : o, _e = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, te = M((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)), He = M((n = (c = (l = _e == null ? void 0 : _e[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Me = [];
9293
9349
  if (Re.isBetween(te, He, "millisecond", "[]")) {
9294
9350
  let ue, fe;
9295
- const W = Re.diff(te, "d", !1);
9351
+ const U = Re.diff(te, "d", !1);
9296
9352
  if (_e)
9297
9353
  for (const Ce of _e) {
9298
9354
  const oe = Ce.daily;
9299
9355
  ue = {
9300
- code: (u = oe.weather_code) == null ? void 0 : u.at(W),
9356
+ code: (u = oe.weather_code) == null ? void 0 : u.at(U),
9301
9357
  temp: {
9302
- max: (h = oe.temperature_2m_max) == null ? void 0 : h.at(W),
9303
- min: (b = oe.temperature_2m_min) == null ? void 0 : b.at(W),
9304
- mean: (x = oe.temperature_2m_mean) == null ? void 0 : x.at(W)
9358
+ max: (h = oe.temperature_2m_max) == null ? void 0 : h.at(U),
9359
+ min: (b = oe.temperature_2m_min) == null ? void 0 : b.at(U),
9360
+ mean: (w = oe.temperature_2m_mean) == null ? void 0 : w.at(U)
9305
9361
  },
9306
9362
  apparentTemp: {
9307
- max: (z = oe.apparent_temperature_max) == null ? void 0 : z.at(W),
9308
- min: (g = oe.apparent_temperature_min) == null ? void 0 : g.at(W)
9363
+ max: (_ = oe.apparent_temperature_max) == null ? void 0 : _.at(U),
9364
+ min: (g = oe.apparent_temperature_min) == null ? void 0 : g.at(U)
9309
9365
  },
9310
9366
  precip: {
9311
- sum: (P = oe.precipitation_sum) == null ? void 0 : P.at(W),
9312
- rainSum: (T = oe.rain_sum) == null ? void 0 : T.at(W),
9313
- snowfallSum: (O = oe.snowfall_sum) == null ? void 0 : O.at(W),
9314
- showersSum: (I = oe.showers_sum) == null ? void 0 : I.at(W),
9315
- hours: (L = oe.precipitation_hours) == null ? void 0 : L.at(W),
9316
- probability: (k = oe.precipitation_probability_max) == null ? void 0 : k.at(W)
9367
+ sum: (P = oe.precipitation_sum) == null ? void 0 : P.at(U),
9368
+ rainSum: (T = oe.rain_sum) == null ? void 0 : T.at(U),
9369
+ snowfallSum: (O = oe.snowfall_sum) == null ? void 0 : O.at(U),
9370
+ showersSum: (I = oe.showers_sum) == null ? void 0 : I.at(U),
9371
+ hours: (L = oe.precipitation_hours) == null ? void 0 : L.at(U),
9372
+ probability: (z = oe.precipitation_probability_max) == null ? void 0 : z.at(U)
9317
9373
  },
9318
9374
  rh: {
9319
- max: (v = oe.relative_humidity_2m_max) == null ? void 0 : v.at(W),
9320
- min: (C = oe.relative_humidity_2m_min) == null ? void 0 : C.at(W),
9321
- mean: (_ = oe.relative_humidity_2m_mean) == null ? void 0 : _.at(W)
9375
+ max: (v = oe.relative_humidity_2m_max) == null ? void 0 : v.at(U),
9376
+ min: (C = oe.relative_humidity_2m_min) == null ? void 0 : C.at(U),
9377
+ mean: (k = oe.relative_humidity_2m_mean) == null ? void 0 : k.at(U)
9322
9378
  },
9323
9379
  wind: {
9324
- speed: (A = oe.wind_speed_10m_max) == null ? void 0 : A.at(W),
9325
- kts: (N = oe.wind_speed_10m_max) == null ? void 0 : N.at(W),
9326
- degree: (V = oe.wind_direction_10m_dominant) == null ? void 0 : V.at(W),
9327
- gusts: (Z = oe.wind_gusts_10m_max) == null ? void 0 : Z.at(W),
9328
- bearing: ((U = oe.wind_direction_10m_dominant) == null ? void 0 : U.at(W)) !== null ? (((ee = oe.wind_direction_10m_dominant) == null ? void 0 : ee.at(W)) + 180) % 360 : null
9380
+ speed: (A = oe.wind_speed_10m_max) == null ? void 0 : A.at(U),
9381
+ kts: (N = oe.wind_speed_10m_max) == null ? void 0 : N.at(U),
9382
+ degree: (V = oe.wind_direction_10m_dominant) == null ? void 0 : V.at(U),
9383
+ gusts: (Z = oe.wind_gusts_10m_max) == null ? void 0 : Z.at(U),
9384
+ bearing: ((W = oe.wind_direction_10m_dominant) == null ? void 0 : W.at(U)) !== null ? (((ee = oe.wind_direction_10m_dominant) == null ? void 0 : ee.at(U)) + 180) % 360 : null
9329
9385
  }
9330
9386
  };
9331
9387
  const { name: re, url: Oe, bg: j } = this.parseWeatherCode(ue.code, !0);
9332
9388
  ue.name = re, ue.url = Oe, ue.bg = j, ue.wind.scale = this.beaufort(this.kts2ms(ue.wind.kts)), ue.wind.direction = this.degree2Direction(ue.wind.degree), Me.push({
9333
- utc: te.add(W, "d").utc().format(),
9389
+ utc: te.add(U, "d").utc().format(),
9334
9390
  model: Ce.model,
9335
9391
  weather: { ...ue }
9336
9392
  });
@@ -9342,25 +9398,25 @@ class Za {
9342
9398
  fe = {
9343
9399
  wave: {
9344
9400
  sig: {
9345
- height: (Q = re.wave_height_max) == null ? void 0 : Q.at(W),
9346
- degree: ($ = re.wave_direction_dominant) == null ? void 0 : $.at(W),
9347
- period: (ne = re.wave_period_max) == null ? void 0 : ne.at(W),
9348
- bearing: ((se = re.wave_direction_dominant) == null ? void 0 : se.at(W)) !== null ? (((J = re.wave_direction_dominant) == null ? void 0 : J.at(W)) + 180) % 360 : null
9401
+ height: (J = re.wave_height_max) == null ? void 0 : J.at(U),
9402
+ degree: ($ = re.wave_direction_dominant) == null ? void 0 : $.at(U),
9403
+ period: (ne = re.wave_period_max) == null ? void 0 : ne.at(U),
9404
+ bearing: ((se = re.wave_direction_dominant) == null ? void 0 : se.at(U)) !== null ? (((Q = re.wave_direction_dominant) == null ? void 0 : Q.at(U)) + 180) % 360 : null
9349
9405
  },
9350
9406
  swell: {
9351
- height: (ae = re.swell_wave_height_max) == null ? void 0 : ae.at(W),
9352
- degree: (he = re.swell_wave_direction_dominant) == null ? void 0 : he.at(W),
9353
- period: (ce = re.swell_wave_period_max) == null ? void 0 : ce.at(W),
9354
- peakPeriod: (pe = re.swell_wave_peak_period_max) == null ? void 0 : pe.at(W),
9407
+ height: (ae = re.swell_wave_height_max) == null ? void 0 : ae.at(U),
9408
+ degree: (he = re.swell_wave_direction_dominant) == null ? void 0 : he.at(U),
9409
+ period: (ce = re.swell_wave_period_max) == null ? void 0 : ce.at(U),
9410
+ peakPeriod: (pe = re.swell_wave_peak_period_max) == null ? void 0 : pe.at(U),
9355
9411
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
9356
- bearing: ((ge = re.swell_wave_direction_dominant) == null ? void 0 : ge.at(W)) !== null ? ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(W)) % 360 : null
9412
+ bearing: ((ge = re.swell_wave_direction_dominant) == null ? void 0 : ge.at(U)) !== null ? ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(U)) % 360 : null
9357
9413
  },
9358
9414
  wd: {
9359
- height: (me = re.wind_wave_height_max) == null ? void 0 : me.at(W),
9360
- degree: (xe = re.wind_wave_direction_dominant) == null ? void 0 : xe.at(W),
9361
- period: (Le = re.wind_wave_period_max) == null ? void 0 : Le.at(W),
9362
- peakPeriod: (Pe = re.wind_wave_peak_period_max) == null ? void 0 : Pe.at(W),
9363
- bearing: ((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(W)) !== null ? (((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(W)) + 180) % 360 : null
9415
+ height: (me = re.wind_wave_height_max) == null ? void 0 : me.at(U),
9416
+ degree: (xe = re.wind_wave_direction_dominant) == null ? void 0 : xe.at(U),
9417
+ period: (Le = re.wind_wave_period_max) == null ? void 0 : Le.at(U),
9418
+ peakPeriod: (Pe = re.wind_wave_peak_period_max) == null ? void 0 : Pe.at(U),
9419
+ bearing: ((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(U)) !== null ? (((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(U)) + 180) % 360 : null
9364
9420
  }
9365
9421
  }
9366
9422
  }, fe.wave = this.parseWave(fe.wave, ue == null ? void 0 : ue.wind), Object.assign(Me[Ce], fe), Ce++;
@@ -9768,7 +9824,7 @@ class Za {
9768
9824
  return isNaN(e) || e <= 0.1 ? o = "Calm" : e <= 0.5 ? o = "Smooth" : e <= 1.25 ? o = "Slight" : e <= 2.5 ? o = "Moderate" : e <= 4 ? o = "Rough" : e <= 6 ? o = "VeryRough" : e <= 9 ? o = "High" : e <= 14 ? o = "VeryHigh" : o = "Precipitous", o;
9769
9825
  }
9770
9826
  }
9771
- const tc = {
9827
+ const sc = {
9772
9828
  name: "IdmTropicals",
9773
9829
  props: {
9774
9830
  permission: {
@@ -9823,7 +9879,7 @@ const tc = {
9823
9879
  return {
9824
9880
  right: 10,
9825
9881
  toggle: !1,
9826
- helper: Qa,
9882
+ helper: Ja,
9827
9883
  tropicals: void 0,
9828
9884
  tropicalCacheKey: "tropicalCacheGL4",
9829
9885
  source: "tropicals-source",
@@ -9959,7 +10015,7 @@ const tc = {
9959
10015
  async fetchTropicals() {
9960
10016
  var a, r, l;
9961
10017
  const t = (/* @__PURE__ */ new Date()).valueOf();
9962
- let e = 0, o = 0, i = (a = io.WEATHER_LAYERS.find((c) => c.key === "tropicals")) == null ? void 0 : a.weight;
10018
+ let e = 0, o = 0, i = (a = To.WEATHER_LAYERS.find((c) => c.key === "tropicals")) == null ? void 0 : a.weight;
9963
10019
  if (i > 0) {
9964
10020
  const c = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], n = await Se.get(`${c}/api/arc/weather/layers2/links?l=${i}&v=${this.forecastModel}&t=${this.realTime}`, {
9965
10021
  headers: {
@@ -9975,8 +10031,8 @@ const tc = {
9975
10031
  },
9976
10032
  responseType: /\.(jpg|png)$/.test(u.tropicals) ? "blob" : "json"
9977
10033
  }).then((h) => {
9978
- var z, g, P;
9979
- const b = Va.convert2Geojson(((z = h == null ? void 0 : h.data) == null ? void 0 : z.data) || (h == null ? void 0 : h.data));
10034
+ var _, g, P;
10035
+ const b = Va.convert2Geojson(((_ = h == null ? void 0 : h.data) == null ? void 0 : _.data) || (h == null ? void 0 : h.data));
9980
10036
  ((P = (g = h == null ? void 0 : h.config) == null ? void 0 : g.headers) == null ? void 0 : P.key) && b && (this.tropicals = {
9981
10037
  data: b,
9982
10038
  active: !0,
@@ -9995,7 +10051,7 @@ const tc = {
9995
10051
  handleRefresh() {
9996
10052
  var e, o;
9997
10053
  (((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
9998
- var a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k;
10054
+ var a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z;
9999
10055
  if (((a = i.geometry) == null ? void 0 : a.type) === "Point") {
10000
10056
  let v = "";
10001
10057
  switch (!0) {
@@ -10008,10 +10064,10 @@ const tc = {
10008
10064
  case (((u = i.properties.wind) == null ? void 0 : u.kts) < 63 || ((h = i.properties) == null ? void 0 : h.kts) < 63):
10009
10065
  v = "STS";
10010
10066
  break;
10011
- case (((b = i.properties.wind) == null ? void 0 : b.kts) < 79 || ((x = i.properties) == null ? void 0 : x.kts) < 79):
10067
+ case (((b = i.properties.wind) == null ? void 0 : b.kts) < 79 || ((w = i.properties) == null ? void 0 : w.kts) < 79):
10012
10068
  v = "TY";
10013
10069
  break;
10014
- case (((z = i.properties.wind) == null ? void 0 : z.kts) < 94 || ((g = i.properties) == null ? void 0 : g.kts) < 94):
10070
+ case (((_ = i.properties.wind) == null ? void 0 : _.kts) < 94 || ((g = i.properties) == null ? void 0 : g.kts) < 94):
10015
10071
  v = "STY";
10016
10072
  break;
10017
10073
  case (((P = i.properties.wind) == null ? void 0 : P.kts) >= 94 || ((T = i.properties) == null ? void 0 : T.kts) >= 94):
@@ -10023,7 +10079,7 @@ const tc = {
10023
10079
  }
10024
10080
  i.properties.level = v;
10025
10081
  }
10026
- ((O = i.geometry) == null ? void 0 : O.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (k = (L = M(i.properties.date)) == null ? void 0 : L.utcOffset(this.timeZone)) == null ? void 0 : k.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
10082
+ ((O = i.geometry) == null ? void 0 : O.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (z = (L = M(i.properties.date)) == null ? void 0 : L.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
10027
10083
  }), this.handleInit();
10028
10084
  },
10029
10085
  handleInit() {
@@ -10034,8 +10090,8 @@ const tc = {
10034
10090
  var t, e, o, i, a, r, l, c, n, u;
10035
10091
  if (this.tropicals && this.map) {
10036
10092
  const h = (/* @__PURE__ */ new Date()).valueOf();
10037
- let b = 0, x = 0;
10038
- (t = this.map) != null && t.getSource(this.source) ? ((o = this.map) == null || o.getSource(this.source).setData((e = this.tropicals) != null && e.active ? this.tropicals.data : this.empty), x = (/* @__PURE__ */ new Date()).valueOf() - (h + b), console.log("[tropicals] update elapsed: ", x, ", total: ", b += x)) : (this.map.addSource(this.source, {
10093
+ let b = 0, w = 0;
10094
+ (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() - (h + b), console.log("[tropicals] update elapsed: ", w, ", total: ", b += w)) : (this.map.addSource(this.source, {
10039
10095
  type: "geojson",
10040
10096
  data: (i = this.tropicals) != null && i.active ? (a = this.tropicals) == null ? void 0 : a.data : this.empty
10041
10097
  }), this.map.addLayer({
@@ -10132,7 +10188,7 @@ const tc = {
10132
10188
  ],
10133
10189
  "text-halo-width": 4
10134
10190
  }
10135
- }, this.beforeLayer), x = (/* @__PURE__ */ new Date()).valueOf() - (h + b), console.log("[tropical] add elapsed: ", x, ", total: ", b += x)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((c = this.map) == null || c.getSource(this.clusterSource).setData((l = this.tropicals) != null && l.active ? this.tropicals.data : this.empty), x = (/* @__PURE__ */ new Date()).valueOf() - (h + b), console.log("[tropical] update elapsed: ", x, ", total: ", b += x)) : (this.map.addSource(this.clusterSource, {
10191
+ }, this.beforeLayer), w = (/* @__PURE__ */ new Date()).valueOf() - (h + b), console.log("[tropical] add elapsed: ", w, ", total: ", b += w)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((c = this.map) == null || c.getSource(this.clusterSource).setData((l = this.tropicals) != null && l.active ? this.tropicals.data : this.empty), w = (/* @__PURE__ */ new Date()).valueOf() - (h + b), console.log("[tropical] update elapsed: ", w, ", total: ", b += w)) : (this.map.addSource(this.clusterSource, {
10136
10192
  type: "geojson",
10137
10193
  data: (n = this.tropicals) != null && n.active ? (u = this.tropicals) == null ? void 0 : u.data : this.empty
10138
10194
  // cluster: true,
@@ -10248,9 +10304,9 @@ const tc = {
10248
10304
  "text-halo-color": "#ffffff",
10249
10305
  "text-halo-width": 1
10250
10306
  }
10251
- }, this.beforeLayer), x = (/* @__PURE__ */ new Date()).valueOf() - (h + b), console.log("[tropical] add elapsed: ", x, ", total: ", b += x));
10252
- const z = Va.interpolate(this.tropicals, 1);
10253
- this.interpolateData = JSON.parse(JSON.stringify(z)), this.handleDateChange();
10307
+ }, this.beforeLayer), w = (/* @__PURE__ */ new Date()).valueOf() - (h + b), console.log("[tropical] add elapsed: ", w, ", total: ", b += w));
10308
+ const _ = Va.interpolate(this.tropicals, 1);
10309
+ this.interpolateData = JSON.parse(JSON.stringify(_)), this.handleDateChange();
10254
10310
  }
10255
10311
  },
10256
10312
  handleClear() {
@@ -10258,11 +10314,11 @@ const tc = {
10258
10314
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
10259
10315
  },
10260
10316
  handleDateChange() {
10261
- var t, e, o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee;
10262
- if ((t = this.interpolateMarkers) == null || t.forEach((Q) => Q == null ? void 0 : Q.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
10263
- const Q = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), $ = this.interpolateData.filter((J) => J.properties.date === (Q == null ? void 0 : Q.format()) && !J.properties.disabled), ne = this.handleComputePolygons($), se = H.featureCollection([...$]);
10264
- ne.forEach((J) => {
10265
- se.features.push(J);
10317
+ var t, e, o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee;
10318
+ if ((t = this.interpolateMarkers) == null || t.forEach((J) => J == null ? void 0 : J.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
10319
+ const J = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), $ = this.interpolateData.filter((Q) => Q.properties.date === (J == null ? void 0 : J.format()) && !Q.properties.disabled), ne = this.handleComputePolygons($), se = H.featureCollection([...$]);
10320
+ ne.forEach((Q) => {
10321
+ se.features.push(Q);
10266
10322
  }), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(se) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
10267
10323
  type: "geojson",
10268
10324
  data: se
@@ -10277,10 +10333,10 @@ const tc = {
10277
10333
  "line-width": 1
10278
10334
  }
10279
10335
  }, "empty-layer-3")), this.interpolateMarkers = [];
10280
- for (const J of $)
10281
- if (!J.properties.disabled) {
10336
+ for (const Q of $)
10337
+ if (!Q.properties.disabled) {
10282
10338
  let ae = "#f44336";
10283
- ((c = (l = J.properties) == null ? void 0 : l.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = J.properties) == null ? void 0 : n.wind) != null && u.kts) ? ae = "#03f869" : ((b = (h = J.properties) == null ? void 0 : h.wind) == null ? void 0 : b.kts) >= 32 && ((z = (x = J.properties) == null ? void 0 : x.wind) == null ? void 0 : z.kts) < 47 ? ae = "#f2f202" : ((P = (g = J.properties) == null ? void 0 : g.wind) == null ? void 0 : P.kts) >= 47 && ((O = (T = J.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((L = (I = J.properties) == null ? void 0 : I.wind) == null ? void 0 : L.kts) >= 63 && ((v = (k = J.properties) == null ? void 0 : k.wind) == null ? void 0 : v.kts) < 79 ? ae = "#f44336" : ((_ = (C = J.properties) == null ? void 0 : C.wind) == null ? void 0 : _.kts) >= 79 && ((N = (A = J.properties) == null ? void 0 : A.wind) == null ? void 0 : N.kts) < 94 ? ae = "#f903d0" : ((Z = (V = J.properties) == null ? void 0 : V.wind) == null ? void 0 : Z.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
10339
+ ((c = (l = Q.properties) == null ? void 0 : l.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = Q.properties) == null ? void 0 : n.wind) != null && u.kts) ? ae = "#03f869" : ((b = (h = Q.properties) == null ? void 0 : h.wind) == null ? void 0 : b.kts) >= 32 && ((_ = (w = Q.properties) == null ? void 0 : w.wind) == null ? void 0 : _.kts) < 47 ? ae = "#f2f202" : ((P = (g = Q.properties) == null ? void 0 : g.wind) == null ? void 0 : P.kts) >= 47 && ((O = (T = Q.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((L = (I = Q.properties) == null ? void 0 : I.wind) == null ? void 0 : L.kts) >= 63 && ((v = (z = Q.properties) == null ? void 0 : z.wind) == null ? void 0 : v.kts) < 79 ? ae = "#f44336" : ((k = (C = Q.properties) == null ? void 0 : C.wind) == null ? void 0 : k.kts) >= 79 && ((N = (A = Q.properties) == null ? void 0 : A.wind) == null ? void 0 : N.kts) < 94 ? ae = "#f903d0" : ((Z = (V = Q.properties) == null ? void 0 : V.wind) == null ? void 0 : Z.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
10284
10340
  const he = `<svg t="1719918955501"
10285
10341
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
10286
10342
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -10296,35 +10352,35 @@ const tc = {
10296
10352
  d="M420.66666667 959.17a16.08 16.08 0 0 1-15.91-13.49A15.89 15.89 0 0 1 415.50666667 928c1.49-0.55 38.88-14.76 72.79-65.52A354.55 354.55 0 0 1 162.66666667 509.17a450.14 450.14 0 0 1 450.5-450.5 16.07 16.07 0 0 1 15.91 13.48 15.88 15.88 0 0 1-10.75 17.66c-1.58 0.58-39.13 14.9-73.07 65.95A354.22 354.22 0 0 1 871.66666667 509.17a16 16 0 0 1-0.52 4.05A450.14 450.14 0 0 1 420.66666667 959.17zM554.80666667 94.72C351.57666667 123.2 194.66666667 298.21 194.66666667 509.17c0 177.08 144.06 321.74 321.13 322.48a16 16 0 0 1 14.07 23.49c-16.11 30.42-34.27 52.37-50.85 68C682.25666667 894.63 839.16666667 719.63 839.16666667 508.67a15.94 15.94 0 0 1 0.47-3.86C837.30666667 329.33 693.82666667 187 517.80666667 186.67A16 16 0 0 1 503.66666667 163.21c16.21-30.69 34.47-52.79 51.14-68.49z"
10297
10353
  fill="#ffffff" p-id="18386"></path>
10298
10354
  </svg>`, ce = document.createElement("div");
10299
- ce.className = "idm-tropical-gl4-hourly-marker", ce.innerHTML = `<div class="${J.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${he}</div>`;
10300
- const pe = new ve.Marker(ce).setLngLat(J.geometry.coordinates).addTo(this.map);
10355
+ ce.className = "idm-tropical-gl4-hourly-marker", ce.innerHTML = `<div class="${Q.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${he}</div>`;
10356
+ const pe = new ve.Marker(ce).setLngLat(Q.geometry.coordinates).addTo(this.map);
10301
10357
  this.interpolateMarkers.push(pe);
10302
10358
  }
10303
10359
  } else
10304
- (U = this.map) != null && U.getSource(this.interpolateSource) && ((ee = this.map) == null || ee.getSource(this.interpolateSource).setData(this.empty));
10360
+ (W = this.map) != null && W.getSource(this.interpolateSource) && ((ee = this.map) == null || ee.getSource(this.interpolateSource).setData(this.empty));
10305
10361
  },
10306
10362
  handleClick(t) {
10307
- var a, r, l, c, n, u, h, b, x;
10363
+ var a, r, l, c, n, u, h, b, w;
10308
10364
  const e = t.features[0], o = (r = (a = this.tropicals) == null ? void 0 : a.data) == null ? void 0 : r.features.filter(
10309
- (z) => {
10365
+ (_) => {
10310
10366
  var g;
10311
- return z.geometry.type === "LineString" && z.properties.type === "forecast" && z.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
10367
+ return _.geometry.type === "LineString" && _.properties.type === "forecast" && _.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
10312
10368
  }
10313
10369
  ), i = (c = (l = this.tropicals) == null ? void 0 : l.data) == null ? void 0 : c.features.filter(
10314
- (z) => {
10370
+ (_) => {
10315
10371
  var g;
10316
- return z.geometry.type === "LineString" && z.properties.type === "history" && z.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
10372
+ return _.geometry.type === "LineString" && _.properties.type === "history" && _.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
10317
10373
  }
10318
10374
  );
10319
10375
  this.activeTropicals = {
10320
10376
  name: (n = e == null ? void 0 : e.properties) == null ? void 0 : n.name,
10321
10377
  nameCn: (u = e == null ? void 0 : e.properties) == null ? void 0 : u.nameCn,
10322
- forecasts: o.map((z) => z.properties),
10378
+ forecasts: o.map((_) => _.properties),
10323
10379
  history: (h = i[0]) == null ? void 0 : h.properties,
10324
- showCircle: (x = (b = o[0]) == null ? void 0 : b.properties) == null ? void 0 : x.showCircle
10380
+ showCircle: (w = (b = o[0]) == null ? void 0 : b.properties) == null ? void 0 : w.showCircle
10325
10381
  }, this.showTropicalsInfo = !0, this.$nextTick(() => {
10326
- const z = document.getElementById("idm-tropical-gl4-info");
10327
- this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new ve.Marker(z).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
10382
+ const _ = document.getElementById("idm-tropical-gl4-info");
10383
+ this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new ve.Marker(_).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
10328
10384
  });
10329
10385
  },
10330
10386
  handleCloseInfoMarker() {
@@ -10432,47 +10488,47 @@ const tc = {
10432
10488
  this.map.getCanvas().style.cursor = "grab", this.showHoverPoint = !1, (t = this.hoverMarker) == null || t.remove(), this.hoverMarker = void 0;
10433
10489
  }
10434
10490
  }
10435
- }, oc = { class: "idm-tropical-gl4" }, ac = {
10491
+ }, lc = { class: "idm-tropical-gl4" }, nc = {
10436
10492
  key: 0,
10437
10493
  id: "idm-tropical-gl4-info",
10438
10494
  class: "idm-tropical-gl4-info"
10439
- }, ic = { class: "pb-1" }, rc = { class: "text-h5 font-weight-600" }, sc = {
10495
+ }, cc = { class: "pb-1" }, mc = { class: "text-h5 font-weight-600" }, dc = {
10440
10496
  key: 0,
10441
10497
  class: "text-body-1 text-label"
10442
- }, lc = { 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 = {
10498
+ }, hc = { class: "text-body-2" }, pc = { class: "text-label" }, uc = { class: "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: "py-2 d-flex justify-space-between align-center" }, xc = { class: "w-60" }, vc = { class: "text-label pr-1" }, _c = { class: "flex-1-1-0" }, kc = { class: "text-label pr-1" }, zc = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Lc = {
10443
10499
  class: "text-label pr-1",
10444
10500
  style: { width: "130px" }
10445
- }, vc = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, _c = { class: "more" }, kc = {
10501
+ }, Pc = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Cc = { class: "more" }, Tc = {
10446
10502
  class: "my-3",
10447
10503
  style: { height: "80px", width: "100%" }
10448
- }, zc = { class: "pa-1 d-flex justify-space-between align-center" }, Lc = { class: "pa-1 d-flex justify-space-between align-center" }, Pc = { class: "d-flex justify-star align-center" }, Cc = { class: "font-weight-600 mr-1" }, Tc = { class: "" }, Sc = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Mc = {
10504
+ }, Sc = { class: "pa-1 d-flex justify-space-between align-center" }, Mc = { class: "pa-1 d-flex justify-space-between align-center" }, Ic = { class: "d-flex justify-star align-center" }, Dc = { class: "font-weight-600 mr-1" }, Ac = { class: "" }, Rc = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Oc = {
10449
10505
  key: 0,
10450
10506
  class: "d-flex justify-start align-center"
10451
- }, Ic = { class: "text-label pr-1" }, Dc = {
10507
+ }, Bc = { class: "text-label pr-1" }, Ec = {
10452
10508
  key: 1,
10453
10509
  class: "d-flex justify-start align-center"
10454
- }, Ac = { class: "text-label pr-1" }, Rc = {
10510
+ }, jc = { class: "text-label pr-1" }, Nc = {
10455
10511
  key: 2,
10456
10512
  class: "d-flex justify-start align-center"
10457
- }, Oc = { class: "text-label pr-1" }, Bc = {
10513
+ }, Fc = { class: "text-label pr-1" }, Hc = {
10458
10514
  key: 3,
10459
10515
  class: "d-flex justify-start align-center"
10460
- }, Ec = { class: "text-label pr-1" }, jc = {
10516
+ }, Gc = { class: "text-label pr-1" }, Uc = {
10461
10517
  key: 4,
10462
10518
  class: "d-flex justify-start align-center"
10463
- }, Nc = { class: "text-label pr-1" }, Fc = {
10519
+ }, Wc = { class: "text-label pr-1" }, Vc = {
10464
10520
  key: 5,
10465
10521
  class: "d-flex justify-start align-center"
10466
- }, Hc = { class: "text-label pr-1" }, Gc = { class: "d-flex justify-start align-center" }, Wc = { class: "text-label pr-1" }, Uc = {
10522
+ }, Zc = { class: "text-label pr-1" }, Yc = { class: "d-flex justify-start align-center" }, qc = { class: "text-label pr-1" }, Xc = {
10467
10523
  key: 6,
10468
10524
  class: "d-flex justify-start align-center"
10469
- }, Vc = { class: "text-label pr-1" }, Zc = {
10525
+ }, $c = { class: "text-label pr-1" }, Kc = {
10470
10526
  key: 7,
10471
10527
  class: "d-flex justify-start align-center"
10472
- }, Yc = { class: "text-label pr-1" }, qc = { class: "d-flex justify-start align-center" }, Xc = { class: "text-label pr-1" };
10473
- function $c(t, e, o, i, a, r) {
10474
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCardText"), u = w("VDivider"), h = w("VCardActions"), b = w("VCard"), x = w("v-card-title"), z = w("v-divider");
10475
- return y(), S("div", oc, [
10528
+ }, Jc = { class: "text-label pr-1" }, Qc = { class: "d-flex justify-start align-center" }, em = { class: "text-label pr-1" };
10529
+ function tm(t, e, o, i, a, r) {
10530
+ const l = x("VBtn"), c = x("VTooltip"), n = x("VCardText"), u = x("VDivider"), h = x("VCardActions"), b = x("VCard"), w = x("v-card-title"), _ = x("v-divider");
10531
+ return y(), S("div", lc, [
10476
10532
  s("div", {
10477
10533
  class: "menu-bar-box transition pa-1",
10478
10534
  style: ie({ top: o.top + 134 + "px", right: a.right + "px" })
@@ -10499,7 +10555,7 @@ function $c(t, e, o, i, a, r) {
10499
10555
  _: 1
10500
10556
  }, 8, ["text"])
10501
10557
  ], 4),
10502
- a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (y(), S("div", ac, [
10558
+ a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (y(), S("div", nc, [
10503
10559
  p(b, {
10504
10560
  "min-width": "400",
10505
10561
  elevation: "16",
@@ -10508,11 +10564,11 @@ function $c(t, e, o, i, a, r) {
10508
10564
  default: f(() => [
10509
10565
  p(n, null, {
10510
10566
  default: f(() => {
10511
- var g, P, T, O, I, L, k, v, C, _, A;
10567
+ var g, P, T, O, I, L, z, v, C, k, A;
10512
10568
  return [
10513
- s("div", ic, [
10514
- s("span", rc, m(o.locale === "en" ? (g = a.activeTropicals) == null ? void 0 : g.name : (P = a.activeTropicals) == null ? void 0 : P.nameCn), 1),
10515
- (O = (T = a.activeTropicals) == null ? void 0 : T.history) != null && O.level ? (y(), S("span", sc, ", " + m((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.level), 1)) : D("", !0)
10569
+ s("div", cc, [
10570
+ s("span", mc, m(o.locale === "en" ? (g = a.activeTropicals) == null ? void 0 : g.name : (P = a.activeTropicals) == null ? void 0 : P.nameCn), 1),
10571
+ (O = (T = a.activeTropicals) == null ? void 0 : T.history) != null && O.level ? (y(), S("span", dc, ", " + m((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.level), 1)) : D("", !0)
10516
10572
  ]),
10517
10573
  p(l, {
10518
10574
  icon: "",
@@ -10527,9 +10583,9 @@ function $c(t, e, o, i, a, r) {
10527
10583
  _: 1,
10528
10584
  __: [4]
10529
10585
  }, 8, ["onClick"]),
10530
- s("div", lc, [
10531
- s("span", nc, m(t.$t("actions.lastUpdate")) + ": ", 1),
10532
- s("span", null, m(r.computeTime(((v = (k = a.activeTropicals) == null ? void 0 : k.history) == null ? void 0 : v.updated) || ((A = (_ = (C = a.activeTropicals) == null ? void 0 : C.forecasts) == null ? void 0 : _.filter((N) => !N.disabled)[0]) == null ? void 0 : A.date), o.timeZone)), 1)
10586
+ s("div", hc, [
10587
+ s("span", pc, m(t.$t("actions.lastUpdate")) + ": ", 1),
10588
+ s("span", null, m(r.computeTime(((v = (z = a.activeTropicals) == null ? void 0 : z.history) == null ? void 0 : v.updated) || ((A = (k = (C = a.activeTropicals) == null ? void 0 : C.forecasts) == null ? void 0 : k.filter((N) => !N.disabled)[0]) == null ? void 0 : A.date), o.timeZone)), 1)
10533
10589
  ])
10534
10590
  ];
10535
10591
  }),
@@ -10538,43 +10594,43 @@ function $c(t, e, o, i, a, r) {
10538
10594
  p(u),
10539
10595
  p(n, { class: "text-body-1" }, {
10540
10596
  default: f(() => {
10541
- var g, P, T, O, I, L, k, v, C;
10597
+ var g, P, T, O, I, L, z, v, C;
10542
10598
  return [
10543
- s("div", cc, [
10544
- s("div", mc, [
10545
- s("label", dc, m(t.$t("weather.windSpeed")) + " : ", 1),
10599
+ s("div", uc, [
10600
+ s("div", gc, [
10601
+ s("label", fc, m(t.$t("weather.windSpeed")) + " : ", 1),
10546
10602
  s("span", null, m(((P = (g = a.activeTropicals) == null ? void 0 : g.history) == null ? void 0 : P.kts) || "-") + " kts", 1),
10547
10603
  s("span", null, ", BF " + m(r.computeBF(((O = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : O.kts) || "-")), 1)
10548
10604
  ]),
10549
- s("div", hc, [
10550
- s("label", pc, m(t.$t("weather.pressure")) + " : ", 1),
10605
+ s("div", yc, [
10606
+ s("label", bc, m(t.$t("weather.pressure")) + " : ", 1),
10551
10607
  s("span", null, m(((L = (I = a.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : L.pressure) || "-") + " hPa", 1)
10552
10608
  ])
10553
10609
  ]),
10554
- s("div", uc, [
10555
- s("div", gc, [
10556
- s("label", fc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10557
- s("span", null, m(((k = r.computeMovement(a.activeTropicals)) == null ? void 0 : k.kts) || "-") + " kts", 1)
10610
+ s("div", wc, [
10611
+ s("div", xc, [
10612
+ s("label", vc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10613
+ s("span", null, m(((z = r.computeMovement(a.activeTropicals)) == null ? void 0 : z.kts) || "-") + " kts", 1)
10558
10614
  ]),
10559
- s("div", yc, [
10560
- s("label", bc, m(t.$t("tropical.moveDir")) + " : ", 1),
10615
+ s("div", _c, [
10616
+ s("label", kc, m(t.$t("tropical.moveDir")) + " : ", 1),
10561
10617
  s("span", null, m(((v = r.computeMovement(a.activeTropicals)) == null ? void 0 : v.deg) || "-") + "°", 1)
10562
10618
  ])
10563
10619
  ]),
10564
- s("div", wc, [
10565
- s("label", xc, m(t.$t("weather.forecastModels")) + " : ", 1),
10566
- s("div", vc, [
10567
- (y(!0), S(be, null, we((C = a.activeTropicals) == null ? void 0 : C.forecasts, (_, A) => (y(), R(l, {
10620
+ s("div", zc, [
10621
+ s("label", Lc, m(t.$t("weather.forecastModels")) + " : ", 1),
10622
+ s("div", Pc, [
10623
+ (y(!0), S(be, null, we((C = a.activeTropicals) == null ? void 0 : C.forecasts, (k, A) => (y(), R(l, {
10568
10624
  key: A,
10569
10625
  density: "compact",
10570
- variant: _.disabled ? "text" : "flat",
10571
- color: _.disabled ? "" : "primary",
10626
+ variant: k.disabled ? "text" : "flat",
10627
+ color: k.disabled ? "" : "primary",
10572
10628
  "min-width": 30,
10573
- class: Ne(["model text-none text-body-1 px-1", _.disabled ? "btn-border-1 btn-bg-1" : ""]),
10574
- onClick: je((N) => r.handleForecastToggle(_), ["stop"])
10629
+ class: Ne(["model text-none text-body-1 px-1", k.disabled ? "btn-border-1 btn-bg-1" : ""]),
10630
+ onClick: je((N) => r.handleForecastToggle(k), ["stop"])
10575
10631
  }, {
10576
10632
  default: f(() => [
10577
- K(m(_.model), 1)
10633
+ K(m(k.model), 1)
10578
10634
  ]),
10579
10635
  _: 2
10580
10636
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -10603,7 +10659,7 @@ function $c(t, e, o, i, a, r) {
10603
10659
  ]),
10604
10660
  _: 1
10605
10661
  }, 8, ["color"]),
10606
- s("div", _c, [
10662
+ s("div", Cc, [
10607
10663
  o.permission & a.helper.LEVEL.Supper ? (y(), R(l, {
10608
10664
  key: 0,
10609
10665
  variant: "text",
@@ -10635,12 +10691,12 @@ function $c(t, e, o, i, a, r) {
10635
10691
  ]),
10636
10692
  _: 1
10637
10693
  }),
10638
- s("div", kc, [
10639
- We(p(b, { elevation: "16" }, {
10694
+ s("div", Tc, [
10695
+ Ue(p(b, { elevation: "16" }, {
10640
10696
  default: f(() => [
10641
10697
  p(n, null, {
10642
10698
  default: f(() => [
10643
- We(s("div", zc, e[6] || (e[6] = [
10699
+ Ue(s("div", Sc, e[6] || (e[6] = [
10644
10700
  s("div", { class: "legend d-flex justify-start align-center" }, [
10645
10701
  s("div", { class: "icon td" }),
10646
10702
  s("div", { class: "label" }, "TD")
@@ -10666,9 +10722,9 @@ function $c(t, e, o, i, a, r) {
10666
10722
  s("div", { class: "label" }, "Super TY")
10667
10723
  ], -1)
10668
10724
  ]), 512), [
10669
- [Ue, a.showLegend]
10725
+ [We, a.showLegend]
10670
10726
  ]),
10671
- We(s("div", Lc, e[7] || (e[7] = [
10727
+ Ue(s("div", Mc, e[7] || (e[7] = [
10672
10728
  s("div", { class: "legend d-flex justify-start align-center" }, [
10673
10729
  s("div", { class: "icon history" }),
10674
10730
  s("div", { class: "label" }, "History")
@@ -10686,7 +10742,7 @@ function $c(t, e, o, i, a, r) {
10686
10742
  s("div", { class: "label" }, "50kts Radii")
10687
10743
  ], -1)
10688
10744
  ]), 512), [
10689
- [Ue, a.showLegend]
10745
+ [We, a.showLegend]
10690
10746
  ])
10691
10747
  ]),
10692
10748
  _: 1
@@ -10694,72 +10750,72 @@ function $c(t, e, o, i, a, r) {
10694
10750
  ]),
10695
10751
  _: 1
10696
10752
  }, 512), [
10697
- [Ue, a.showLegend]
10753
+ [We, a.showLegend]
10698
10754
  ])
10699
10755
  ])
10700
10756
  ])) : D("", !0),
10701
- We(p(b, {
10757
+ Ue(p(b, {
10702
10758
  id: "tropicalHoverMarkerInfo",
10703
10759
  elevation: "16",
10704
10760
  "max-width": "280"
10705
10761
  }, {
10706
10762
  default: f(() => [
10707
- p(x, null, {
10763
+ p(w, null, {
10708
10764
  default: f(() => {
10709
10765
  var g, P, T;
10710
10766
  return [
10711
- s("div", Pc, [
10712
- s("span", Cc, m(o.locale === "en" ? (g = a.hoverPoint) == null ? void 0 : g.name : (P = a.hoverPoint) == null ? void 0 : P.nameCn), 1),
10713
- s("span", Tc, "[ " + m((T = a.hoverPoint) == null ? void 0 : T.level) + " ]", 1)
10767
+ s("div", Ic, [
10768
+ s("span", Dc, m(o.locale === "en" ? (g = a.hoverPoint) == null ? void 0 : g.name : (P = a.hoverPoint) == null ? void 0 : P.nameCn), 1),
10769
+ s("span", Ac, "[ " + m((T = a.hoverPoint) == null ? void 0 : T.level) + " ]", 1)
10714
10770
  ])
10715
10771
  ];
10716
10772
  }),
10717
10773
  _: 1
10718
10774
  }),
10719
- p(z),
10775
+ p(_),
10720
10776
  p(n, { class: "text-body-1" }, {
10721
10777
  default: f(() => {
10722
- var g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se;
10778
+ var g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se;
10723
10779
  return [
10724
- s("div", Sc, [
10725
- ((g = a.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (y(), S("div", Mc, [
10726
- s("label", Ic, m(t.$t("tropical.updated")) + " : ", 1),
10780
+ s("div", Rc, [
10781
+ ((g = a.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (y(), S("div", Oc, [
10782
+ s("label", Bc, m(t.$t("tropical.updated")) + " : ", 1),
10727
10783
  s("span", null, m(r.computeTzTime((P = a.hoverPoint) == null ? void 0 : P.update, o.timeZone)), 1)
10728
10784
  ])) : D("", !0),
10729
- ((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (y(), S("div", Dc, [
10730
- s("label", Ac, m(t.$t("tropical.forecast")) + " : ", 1),
10785
+ ((T = a.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (y(), S("div", Ec, [
10786
+ s("label", jc, m(t.$t("tropical.forecast")) + " : ", 1),
10731
10787
  s("span", null, m(r.computeTzTime((O = a.hoverPoint) == null ? void 0 : O.date, o.timeZone)), 1)
10732
10788
  ])) : D("", !0),
10733
- ((I = a.hoverPoint) == null ? void 0 : I.type) === "history" ? (y(), S("div", Rc, [
10734
- s("label", Oc, m(t.$t("tropical.forecast")) + " : ", 1),
10789
+ ((I = a.hoverPoint) == null ? void 0 : I.type) === "history" ? (y(), S("div", Nc, [
10790
+ s("label", Fc, m(t.$t("tropical.forecast")) + " : ", 1),
10735
10791
  s("span", null, m(r.computeTzTime((L = a.hoverPoint) == null ? void 0 : L.date, o.timeZone)), 1)
10736
10792
  ])) : D("", !0),
10737
- ((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (y(), S("div", Bc, [
10738
- s("label", Ec, m(t.$t("tropical.model")) + " : ", 1),
10793
+ ((z = a.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (y(), S("div", Hc, [
10794
+ s("label", Gc, m(t.$t("tropical.model")) + " : ", 1),
10739
10795
  s("span", null, m(((v = a.hoverPoint) == null ? void 0 : v.model) ?? "-"), 1)
10740
10796
  ])) : D("", !0),
10741
- ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), S("div", jc, [
10742
- s("label", Nc, m(t.$t("weather.wind")) + " : ", 1),
10743
- s("span", null, m(((A = JSON.parse((_ = a.hoverPoint) == null ? void 0 : _.wind)) == null ? void 0 : A.kts) ?? "-") + " kts", 1)
10797
+ ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), S("div", Uc, [
10798
+ s("label", Wc, m(t.$t("weather.wind")) + " : ", 1),
10799
+ s("span", null, m(((A = JSON.parse((k = a.hoverPoint) == null ? void 0 : k.wind)) == null ? void 0 : A.kts) ?? "-") + " kts", 1)
10744
10800
  ])) : D("", !0),
10745
- ((N = a.hoverPoint) == null ? void 0 : N.type) === "history" ? (y(), S("div", Fc, [
10746
- s("label", Hc, m(t.$t("weather.wind")) + " : ", 1),
10801
+ ((N = a.hoverPoint) == null ? void 0 : N.type) === "history" ? (y(), S("div", Vc, [
10802
+ s("label", Zc, m(t.$t("weather.wind")) + " : ", 1),
10747
10803
  s("span", null, m(((V = a.hoverPoint) == null ? void 0 : V.kts) ?? "-") + " kts", 1)
10748
10804
  ])) : D("", !0),
10749
- s("div", Gc, [
10750
- s("label", Wc, m(t.$t("weather.pressure")) + " : ", 1),
10751
- s("span", null, m(((Z = a.hoverPoint) == null ? void 0 : Z.pressure) ?? "-") + " kPa", 1)
10805
+ s("div", Yc, [
10806
+ s("label", qc, m(t.$t("weather.pressure")) + " : ", 1),
10807
+ s("span", null, m(((Z = a.hoverPoint) == null ? void 0 : Z.pressure) ?? "-") + " hPa", 1)
10752
10808
  ]),
10753
- ((U = a.hoverPoint) == null ? void 0 : U.type) === "history" ? (y(), S("div", Uc, [
10754
- s("label", Vc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10755
- s("span", null, m(((Q = JSON.parse((ee = a.hoverPoint) == null ? void 0 : ee.movement)) == null ? void 0 : Q.kts) ?? "-") + " kts", 1)
10809
+ ((W = a.hoverPoint) == null ? void 0 : W.type) === "history" ? (y(), S("div", Xc, [
10810
+ s("label", $c, m(t.$t("tropical.moveSpeed")) + " : ", 1),
10811
+ s("span", null, m(((J = JSON.parse((ee = a.hoverPoint) == null ? void 0 : ee.movement)) == null ? void 0 : J.kts) ?? "-") + " kts", 1)
10756
10812
  ])) : D("", !0),
10757
- (($ = a.hoverPoint) == null ? void 0 : $.type) === "history" ? (y(), S("div", Zc, [
10758
- s("label", Yc, m(t.$t("tropical.moveDir")) + " : ", 1),
10813
+ (($ = a.hoverPoint) == null ? void 0 : $.type) === "history" ? (y(), S("div", Kc, [
10814
+ s("label", Jc, m(t.$t("tropical.moveDir")) + " : ", 1),
10759
10815
  s("span", null, m(((se = JSON.parse((ne = a.hoverPoint) == null ? void 0 : ne.movement)) == null ? void 0 : se.deg) ?? "-") + " °", 1)
10760
10816
  ])) : D("", !0),
10761
- s("div", qc, [
10762
- s("label", Xc, m(t.$t("tropical.position")) + " : ", 1),
10817
+ s("div", Qc, [
10818
+ s("label", em, m(t.$t("tropical.position")) + " : ", 1),
10763
10819
  s("span", null, m(r.computePosition(a.hoverPoint)), 1)
10764
10820
  ])
10765
10821
  ])
@@ -10770,12 +10826,12 @@ function $c(t, e, o, i, a, r) {
10770
10826
  ]),
10771
10827
  _: 1
10772
10828
  }, 512), [
10773
- [Ue, a.showHoverPoint]
10829
+ [We, a.showHoverPoint]
10774
10830
  ])
10775
10831
  ]);
10776
10832
  }
10777
- const Xa = /* @__PURE__ */ Y(tc, [["render", $c]]);
10778
- const Kc = {
10833
+ const Xa = /* @__PURE__ */ Y(sc, [["render", tm]]);
10834
+ const om = {
10779
10835
  name: "DateTimePicker",
10780
10836
  props: {
10781
10837
  width: {
@@ -10929,22 +10985,22 @@ const Kc = {
10929
10985
  e && !e.contains(t.target) && (this.showDatePicker = !1);
10930
10986
  }
10931
10987
  }
10932
- }, Qc = {
10988
+ }, am = {
10933
10989
  class: "idm-gl4-time-picker",
10934
10990
  ref: "idmGl4Timepicker"
10935
- }, Jc = {
10991
+ }, im = {
10936
10992
  class: "pa-0",
10937
10993
  style: { width: "250px" }
10938
- }, em = {
10994
+ }, rm = {
10939
10995
  class: "h-100 pa-0 d-flex flex-column justify-start align-center",
10940
10996
  style: { width: "100px" }
10941
- }, tm = {
10997
+ }, sm = {
10942
10998
  class: "d-flex justify-center align-center text-body-2",
10943
10999
  style: { height: "56px" }
10944
11000
  };
10945
- function om(t, e, o, i, a, r) {
10946
- const l = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), h = w("VListItem"), b = w("VList"), x = w("VCardText"), z = w("VCardActions"), g = w("VCard");
10947
- return y(), S("div", Qc, [
11001
+ function lm(t, e, o, i, a, r) {
11002
+ const l = x("VBtn"), c = x("VDatePicker"), n = x("VDivider"), u = x("VListItemTitle"), h = x("VListItem"), b = x("VList"), w = x("VCardText"), _ = x("VCardActions"), g = x("VCard");
11003
+ return y(), S("div", am, [
10948
11004
  p(l, {
10949
11005
  text: "",
10950
11006
  height: o.height,
@@ -10962,9 +11018,9 @@ function om(t, e, o, i, a, r) {
10962
11018
  class: Ne(["card-box d-flex flex-column", o.position])
10963
11019
  }, {
10964
11020
  default: f(() => [
10965
- p(x, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
11021
+ p(w, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
10966
11022
  default: f(() => [
10967
- s("div", Jc, [
11023
+ s("div", im, [
10968
11024
  p(c, {
10969
11025
  modelValue: a.currentDate,
10970
11026
  "onUpdate:modelValue": e[0] || (e[0] = (P) => a.currentDate = P),
@@ -10983,8 +11039,8 @@ function om(t, e, o, i, a, r) {
10983
11039
  class: "h-100",
10984
11040
  vertical: ""
10985
11041
  }),
10986
- s("div", em, [
10987
- s("div", tm, m(a.currentTime), 1),
11042
+ s("div", rm, [
11043
+ s("div", sm, m(a.currentTime), 1),
10988
11044
  p(b, { class: "pa-0 flex-1-1-0" }, {
10989
11045
  default: f(() => [
10990
11046
  (y(!0), S(be, null, we(r.hourOptions, (P, T) => (y(), R(h, {
@@ -11017,7 +11073,7 @@ function om(t, e, o, i, a, r) {
11017
11073
  _: 1
11018
11074
  }),
11019
11075
  p(n),
11020
- p(z, {
11076
+ p(_, {
11021
11077
  class: "justify-end pa-0 pr-4",
11022
11078
  style: { height: "50px" }
11023
11079
  }, {
@@ -11055,11 +11111,11 @@ function om(t, e, o, i, a, r) {
11055
11111
  }, 8, ["class"])) : D("", !0)
11056
11112
  ], 512);
11057
11113
  }
11058
- const no = /* @__PURE__ */ Y(Kc, [["render", om]]);
11059
- const am = {
11114
+ const Do = /* @__PURE__ */ Y(om, [["render", lm]]);
11115
+ const nm = {
11060
11116
  name: "IdmPoint",
11061
11117
  components: {
11062
- DateTimePicker: no
11118
+ DateTimePicker: Do
11063
11119
  // DateRangePicker
11064
11120
  },
11065
11121
  props: {
@@ -11258,7 +11314,7 @@ const am = {
11258
11314
  },
11259
11315
  async fetchMeteoData(t) {
11260
11316
  this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.handleDrawInfoMarker([t.lng, t.lat]), this.meteoData = [];
11261
- const { weatherModels: e, marineModels: o } = ao.autoPickMeteoModel(t.forecastModel);
11317
+ const { weatherModels: e, marineModels: o } = Co.autoPickMeteoModel(t.forecastModel);
11262
11318
  let i = {
11263
11319
  lat: t.lat,
11264
11320
  lng: t.lng,
@@ -11279,7 +11335,7 @@ const am = {
11279
11335
  },
11280
11336
  async fetchHistoryData(t) {
11281
11337
  this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.handleDrawInfoMarker([t.lng, t.lat]), this.meteoData = [];
11282
- const { weatherModels: e, marineModels: o } = ao.autoPickMeteoModel(t.forecastModel), i = {
11338
+ const { weatherModels: e, marineModels: o } = Co.autoPickMeteoModel(t.forecastModel), i = {
11283
11339
  lat: t.lat,
11284
11340
  lng: t.lng,
11285
11341
  datetime: M(t.dateTime).utc().format(),
@@ -11295,10 +11351,10 @@ const am = {
11295
11351
  (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;
11296
11352
  },
11297
11353
  initTableData(t) {
11298
- var o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe;
11354
+ var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, xe;
11299
11355
  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;
11300
- const e = ((l = ao.pickHourly(t, M(this.form.dateTime))) == null ? void 0 : l[0]) || {};
11301
- 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((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.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 = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (N = e == null ? void 0 : e.wave) == null ? void 0 : N.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((U = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.wd) == null ? void 0 : U.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ne = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (he = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((pe = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.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;
11356
+ const e = ((l = Co.pickHourly(t, M(this.form.dateTime))) == null ? void 0 : l[0]) || {};
11357
+ 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((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.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((z = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (k = e == null ? void 0 : e.wave) == null ? void 0 : k.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (N = e == null ? void 0 : e.wave) == null ? void 0 : N.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((W = (Z = e == null ? void 0 : e.wave) == null ? void 0 : Z.wd) == null ? void 0 : W.height, 1) ?? "-", this.currentHourData.windwaveDir = (J = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : J.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((ne = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((Q = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : Q.height, 1) ?? "-", this.currentHourData.swellDir = (he = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : he.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((pe = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.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;
11302
11358
  },
11303
11359
  handleBind() {
11304
11360
  var t, e;
@@ -11350,65 +11406,65 @@ const am = {
11350
11406
  this.$emit("cancelFollow", t);
11351
11407
  }
11352
11408
  }
11353
- }, im = { class: "idm-gl4-spot" }, rm = { class: "d-flex justify-start align-center" }, sm = { class: "text-h6 font-weight-600 mx-2" }, lm = { class: "d-flex justify-start align-center ga-1 mb-1" }, nm = {
11409
+ }, cm = { class: "idm-gl4-spot" }, mm = { class: "d-flex justify-start align-center" }, dm = { class: "text-h6 font-weight-600 mx-2" }, hm = { class: "d-flex justify-start align-center ga-1 mb-1" }, pm = {
11354
11410
  class: "multi-color-icon",
11355
11411
  "aria-hidden": "true"
11356
- }, cm = ["xlink:href"], mm = { class: "d-flex justify-start align-center ga-1 mb-1" }, dm = {
11412
+ }, um = ["xlink:href"], gm = { class: "d-flex justify-start align-center ga-1 mb-1" }, fm = {
11357
11413
  class: "multi-color-icon",
11358
11414
  "aria-hidden": "true"
11359
- }, hm = ["xlink:href"], pm = { class: "d-flex justify-start align-center ga-1 mb-1" }, um = {
11415
+ }, ym = ["xlink:href"], bm = { class: "d-flex justify-start align-center ga-1 mb-1" }, wm = {
11360
11416
  class: "multi-color-icon",
11361
11417
  "aria-hidden": "true"
11362
- }, gm = ["xlink:href"], fm = { class: "d-flex justify-start align-center ga-1 mb-1" }, ym = {
11418
+ }, xm = ["xlink:href"], vm = { class: "d-flex justify-start align-center ga-1 mb-1" }, _m = {
11363
11419
  class: "multi-color-icon",
11364
11420
  "aria-hidden": "true"
11365
- }, bm = ["xlink:href"], wm = { class: "d-flex justify-start align-center" }, xm = { class: "mx-2" }, vm = { class: "mx-0 py-2 d-flex align-center justify-start" }, _m = {
11421
+ }, km = ["xlink:href"], zm = { class: "d-flex justify-start align-center" }, Lm = { class: "mx-2" }, Pm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Cm = {
11366
11422
  style: { width: "100px" },
11367
11423
  class: "pa-0 pr-2 text-right opacity-50"
11368
- }, km = { class: "pa-0 px-0" }, zm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Lm = {
11424
+ }, Tm = { class: "pa-0 px-0" }, Sm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Mm = {
11369
11425
  cols: "9",
11370
11426
  class: "pa-0 px-0"
11371
- }, Pm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Cm = {
11427
+ }, Im = { class: "mx-0 py-2 d-flex align-center justify-start" }, Dm = {
11372
11428
  style: { width: "100px" },
11373
11429
  class: "pa-0 pr-2 text-right opacity-50"
11374
- }, Tm = {
11430
+ }, Am = {
11375
11431
  style: { width: "150px" },
11376
11432
  class: "pa-0 text-left"
11377
- }, Sm = {
11433
+ }, Rm = {
11378
11434
  style: { width: "80px" },
11379
11435
  class: "pa-0 pr-2 text-right opacity-50"
11380
- }, Mm = {
11436
+ }, Om = {
11381
11437
  cols: "3",
11382
11438
  class: "pa-0 px-0 text-left"
11383
- }, Im = { class: "mx-0 py-2 d-flex align-center justify-start" }, Dm = {
11439
+ }, Bm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Em = {
11384
11440
  style: { width: "100px" },
11385
11441
  class: "pa-0 pr-2 text-right opacity-50"
11386
- }, Am = {
11442
+ }, jm = {
11387
11443
  style: { width: "150px" },
11388
11444
  class: "pa-0 text-left"
11389
- }, Rm = {
11445
+ }, Nm = {
11390
11446
  style: { width: "80px" },
11391
11447
  class: "pa-0 pr-2 text-right opacity-50"
11392
- }, Om = {
11448
+ }, Fm = {
11393
11449
  cols: "3",
11394
11450
  class: "pa-0 text-left"
11395
- }, Bm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Em = {
11451
+ }, Hm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Gm = {
11396
11452
  style: { width: "100px" },
11397
11453
  class: "pa-0 pr-2 text-right opacity-50"
11398
- }, jm = {
11454
+ }, Um = {
11399
11455
  style: { width: "150px" },
11400
11456
  class: "pa-0 text-left"
11401
- }, Nm = {
11457
+ }, Wm = {
11402
11458
  style: { width: "80px" },
11403
11459
  class: "pa-0 pr-2 text-right opacity-50"
11404
- }, Fm = { class: "pa-0 text-left" }, Hm = { id: "idm-position-icon" }, Gm = {
11460
+ }, Vm = { class: "pa-0 text-left" }, Zm = { id: "idm-position-icon" }, Ym = {
11405
11461
  class: "multi-color-icon",
11406
11462
  style: { height: "30px", width: "30px" },
11407
11463
  "aria-hidden": "true"
11408
- }, Wm = ["xlink:href"];
11409
- function Um(t, e, o, i, a, r) {
11410
- const l = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), b = w("VCol"), x = w("VRow"), z = w("DateTimePicker"), g = w("VBtnToggle"), P = w("VCardText"), T = w("VCardActions"), O = w("VForm"), I = w("VCard"), L = w("VIcon");
11411
- return y(), S("div", im, [
11464
+ }, qm = ["xlink:href"];
11465
+ function Xm(t, e, o, i, a, r) {
11466
+ const l = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), u = x("VDivider"), h = x("VTextField"), b = x("VCol"), w = x("VRow"), _ = x("DateTimePicker"), g = x("VBtnToggle"), P = x("VCardText"), T = x("VCardActions"), O = x("VForm"), I = x("VCard"), L = x("VIcon");
11467
+ return y(), S("div", cm, [
11412
11468
  s("div", {
11413
11469
  class: "menu-bar-box transition pa-1",
11414
11470
  style: ie({ top: o.top + 174 + "px", right: a.right + "px" })
@@ -11417,8 +11473,8 @@ function Um(t, e, o, i, a, r) {
11417
11473
  text: t.$t("spot.spotsMeteo"),
11418
11474
  location: "left"
11419
11475
  }, {
11420
- activator: f(({ props: k }) => [
11421
- p(l, B(k, {
11476
+ activator: f(({ props: z }) => [
11477
+ p(l, B(z, {
11422
11478
  "min-width": "32",
11423
11479
  width: "32",
11424
11480
  height: "32",
@@ -11443,8 +11499,8 @@ function Um(t, e, o, i, a, r) {
11443
11499
  default: f(() => [
11444
11500
  p(n, { class: "d-flex justify-space-between align-center" }, {
11445
11501
  default: f(() => [
11446
- s("div", rm, [
11447
- s("div", sm, m(t.$t("spot.spotWeather")), 1)
11502
+ s("div", mm, [
11503
+ s("div", dm, m(t.$t("spot.spotWeather")), 1)
11448
11504
  ]),
11449
11505
  p(l, {
11450
11506
  icon: "",
@@ -11472,15 +11528,15 @@ function Um(t, e, o, i, a, r) {
11472
11528
  default: f(() => [
11473
11529
  p(P, { class: "text-body-1 py-1" }, {
11474
11530
  default: f(() => [
11475
- s("div", lm, [
11476
- (y(), S("svg", nm, [
11531
+ s("div", hm, [
11532
+ (y(), S("svg", pm, [
11477
11533
  s("use", {
11478
11534
  "xlink:href": `#icon-lng-${o.theme}`
11479
- }, null, 8, cm)
11535
+ }, null, 8, um)
11480
11536
  ])),
11481
11537
  s("div", null, m(t.$t("spot.lng")), 1)
11482
11538
  ]),
11483
- p(x, { class: "ma-0" }, {
11539
+ p(w, { class: "ma-0" }, {
11484
11540
  default: f(() => [
11485
11541
  p(b, {
11486
11542
  cols: "4",
@@ -11489,7 +11545,7 @@ function Um(t, e, o, i, a, r) {
11489
11545
  default: f(() => [
11490
11546
  p(h, {
11491
11547
  modelValue: a.form.lngDegree,
11492
- "onUpdate:modelValue": e[0] || (e[0] = (k) => a.form.lngDegree = k),
11548
+ "onUpdate:modelValue": e[0] || (e[0] = (z) => a.form.lngDegree = z),
11493
11549
  rules: a.formRules.lngDegree,
11494
11550
  density: "compact",
11495
11551
  variant: "outlined",
@@ -11509,7 +11565,7 @@ function Um(t, e, o, i, a, r) {
11509
11565
  default: f(() => [
11510
11566
  p(h, {
11511
11567
  modelValue: a.form.lngMinute,
11512
- "onUpdate:modelValue": e[1] || (e[1] = (k) => a.form.lngMinute = k),
11568
+ "onUpdate:modelValue": e[1] || (e[1] = (z) => a.form.lngMinute = z),
11513
11569
  rules: a.formRules.lngMinute,
11514
11570
  label: "",
11515
11571
  density: "compact",
@@ -11536,7 +11592,7 @@ function Um(t, e, o, i, a, r) {
11536
11592
  height: "32",
11537
11593
  class: "text-body-1 btn-bg-1",
11538
11594
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
11539
- onClick: e[2] || (e[2] = (k) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
11595
+ onClick: e[2] || (e[2] = (z) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
11540
11596
  }, {
11541
11597
  default: f(() => [
11542
11598
  K(m(a.form.lngDirection), 1)
@@ -11549,15 +11605,15 @@ function Um(t, e, o, i, a, r) {
11549
11605
  ]),
11550
11606
  _: 1
11551
11607
  }),
11552
- s("div", mm, [
11553
- (y(), S("svg", dm, [
11608
+ s("div", gm, [
11609
+ (y(), S("svg", fm, [
11554
11610
  s("use", {
11555
11611
  "xlink:href": `#icon-lng-${o.theme}`
11556
- }, null, 8, hm)
11612
+ }, null, 8, ym)
11557
11613
  ])),
11558
11614
  s("div", null, m(t.$t("spot.lat")), 1)
11559
11615
  ]),
11560
- p(x, { class: "ma-0" }, {
11616
+ p(w, { class: "ma-0" }, {
11561
11617
  default: f(() => [
11562
11618
  p(b, {
11563
11619
  cols: "4",
@@ -11566,7 +11622,7 @@ function Um(t, e, o, i, a, r) {
11566
11622
  default: f(() => [
11567
11623
  p(h, {
11568
11624
  modelValue: a.form.latDegree,
11569
- "onUpdate:modelValue": e[3] || (e[3] = (k) => a.form.latDegree = k),
11625
+ "onUpdate:modelValue": e[3] || (e[3] = (z) => a.form.latDegree = z),
11570
11626
  rules: a.formRules.latDegree,
11571
11627
  label: "",
11572
11628
  density: "compact",
@@ -11589,7 +11645,7 @@ function Um(t, e, o, i, a, r) {
11589
11645
  default: f(() => [
11590
11646
  p(h, {
11591
11647
  modelValue: a.form.latMinute,
11592
- "onUpdate:modelValue": e[4] || (e[4] = (k) => a.form.latMinute = k),
11648
+ "onUpdate:modelValue": e[4] || (e[4] = (z) => a.form.latMinute = z),
11593
11649
  rules: a.formRules.latMinute,
11594
11650
  label: "",
11595
11651
  density: "compact",
@@ -11616,7 +11672,7 @@ function Um(t, e, o, i, a, r) {
11616
11672
  height: "32",
11617
11673
  class: "text-body-1 btn-bg-1",
11618
11674
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
11619
- onClick: e[5] || (e[5] = (k) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
11675
+ onClick: e[5] || (e[5] = (z) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
11620
11676
  }, {
11621
11677
  default: f(() => [
11622
11678
  K(m(a.form.latDirection), 1)
@@ -11629,26 +11685,26 @@ function Um(t, e, o, i, a, r) {
11629
11685
  ]),
11630
11686
  _: 1
11631
11687
  }),
11632
- s("div", pm, [
11633
- (y(), S("svg", um, [
11688
+ s("div", bm, [
11689
+ (y(), S("svg", wm, [
11634
11690
  s("use", {
11635
11691
  "xlink:href": `#icon-date-time-${o.theme}`
11636
- }, null, 8, gm)
11692
+ }, null, 8, xm)
11637
11693
  ])),
11638
11694
  s("div", null, m(t.$t("spot.dateTime")), 1)
11639
11695
  ]),
11640
- p(x, { class: "ma-0 mb-4" }, {
11696
+ p(w, { class: "ma-0 mb-4" }, {
11641
11697
  default: f(() => [
11642
11698
  p(b, {
11643
11699
  cols: "12",
11644
11700
  class: "pa-0"
11645
11701
  }, {
11646
11702
  default: f(() => [
11647
- p(z, B({
11703
+ p(_, B({
11648
11704
  "date-time": a.form.dateTime,
11649
11705
  "time-zone": o.timeZone
11650
11706
  }, t.$attrs, {
11651
- onDateTime: e[6] || (e[6] = (k) => a.form.dateTime = k)
11707
+ onDateTime: e[6] || (e[6] = (z) => a.form.dateTime = z)
11652
11708
  }), null, 16, ["date-time", "time-zone"])
11653
11709
  ]),
11654
11710
  _: 1
@@ -11656,15 +11712,15 @@ function Um(t, e, o, i, a, r) {
11656
11712
  ]),
11657
11713
  _: 1
11658
11714
  }),
11659
- s("div", fm, [
11660
- (y(), S("svg", ym, [
11715
+ s("div", vm, [
11716
+ (y(), S("svg", _m, [
11661
11717
  s("use", {
11662
11718
  "xlink:href": `#icon-forecast-model-${o.theme}`
11663
- }, null, 8, bm)
11719
+ }, null, 8, km)
11664
11720
  ])),
11665
11721
  s("div", null, m(t.$t("weather.forecastModel")), 1)
11666
11722
  ]),
11667
- p(x, { class: "ma-0 mb-2" }, {
11723
+ p(w, { class: "ma-0 mb-2" }, {
11668
11724
  default: f(() => [
11669
11725
  p(b, {
11670
11726
  cols: "12",
@@ -11673,7 +11729,7 @@ function Um(t, e, o, i, a, r) {
11673
11729
  default: f(() => [
11674
11730
  p(g, {
11675
11731
  modelValue: a.form.forecastModel,
11676
- "onUpdate:modelValue": e[7] || (e[7] = (k) => a.form.forecastModel = k),
11732
+ "onUpdate:modelValue": e[7] || (e[7] = (z) => a.form.forecastModel = z),
11677
11733
  class: "w-100",
11678
11734
  rounded: "",
11679
11735
  height: "30",
@@ -11767,9 +11823,9 @@ function Um(t, e, o, i, a, r) {
11767
11823
  default: f(() => [
11768
11824
  p(n, { class: "d-flex justify-space-between align-center" }, {
11769
11825
  default: f(() => [
11770
- s("div", wm, [
11826
+ s("div", zm, [
11771
11827
  e[16] || (e[16] = s("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
11772
- s("div", xm, m(r.computePosition(a.form || a.currentHourData)), 1)
11828
+ s("div", Lm, m(r.computePosition(a.form || a.currentHourData)), 1)
11773
11829
  ]),
11774
11830
  p(l, {
11775
11831
  class: "mr-n2",
@@ -11793,36 +11849,36 @@ function Um(t, e, o, i, a, r) {
11793
11849
  p(u),
11794
11850
  p(P, { class: "text-body-1 px-0 py-1" }, {
11795
11851
  default: f(() => {
11796
- var k, v;
11852
+ var z, v;
11797
11853
  return [
11798
- s("div", vm, [
11799
- s("div", _m, m(t.$t("time.time")), 1),
11800
- s("div", km, m(r.computedTzTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
11854
+ s("div", Pm, [
11855
+ s("div", Cm, m(t.$t("time.time")), 1),
11856
+ s("div", Tm, m(r.computedTzTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
11801
11857
  ]),
11802
- s("div", zm, [
11858
+ s("div", Sm, [
11803
11859
  e[18] || (e[18] = s("div", {
11804
11860
  style: { width: "100px" },
11805
11861
  class: "pa-0 pr-2 text-right opacity-50"
11806
11862
  }, "LT", -1)),
11807
- s("div", Lm, m(r.computedLocalTime((v = a.currentHourData) == null ? void 0 : v.utc)), 1)
11808
- ]),
11809
- s("div", Pm, [
11810
- s("div", Cm, m(t.$t("weather.wind")), 1),
11811
- s("div", Tm, m(a.currentHourData.windDir ?? "-") + "/" + m(a.currentHourData.windSpeed ?? "-") + "kts/BF" + m(a.currentHourData.windLevel ?? "-"), 1),
11812
- s("div", Sm, m(t.$t("weather.sigWave")), 1),
11813
- s("div", Mm, m(a.currentHourData.sigwaveDir ?? "-") + "/" + m(a.currentHourData.sigwaveHeight ?? "-") + "m/" + m(a.currentHourData.sigwavePeriod ?? "-") + "s", 1)
11863
+ s("div", Mm, m(r.computedLocalTime((v = a.currentHourData) == null ? void 0 : v.utc)), 1)
11814
11864
  ]),
11815
11865
  s("div", Im, [
11816
- s("div", Dm, m(t.$t("weather.windWave")), 1),
11817
- s("div", Am, m(a.currentHourData.windwaveDir ?? "-") + "/" + m(a.currentHourData.windwaveHeight ?? "-") + "m/" + m(a.currentHourData.windwavePeriod ?? "-") + "s", 1),
11818
- s("div", Rm, m(t.$t("weather.swell")), 1),
11819
- s("div", Om, m(a.currentHourData.swellDir ?? "-") + "/" + m(a.currentHourData.swellHeight ?? "-") + "m/" + m(a.currentHourData.swellPeriod ?? "-") + "s", 1)
11866
+ s("div", Dm, m(t.$t("weather.wind")), 1),
11867
+ s("div", Am, m(a.currentHourData.windDir ?? "-") + "/" + m(a.currentHourData.windSpeed ?? "-") + "kts/BF" + m(a.currentHourData.windLevel ?? "-"), 1),
11868
+ s("div", Rm, m(t.$t("weather.sigWave")), 1),
11869
+ s("div", Om, m(a.currentHourData.sigwaveDir ?? "-") + "/" + m(a.currentHourData.sigwaveHeight ?? "-") + "m/" + m(a.currentHourData.sigwavePeriod ?? "-") + "s", 1)
11820
11870
  ]),
11821
11871
  s("div", Bm, [
11822
- s("div", Em, m(t.$t("weather.current")), 1),
11823
- s("div", jm, m(a.currentHourData.currentDir ?? "-") + "/" + m(a.currentHourData.currentSpeed ?? "-") + "kts", 1),
11824
- s("div", Nm, m(t.$t("weather.visibility")), 1),
11825
- s("div", Fm, m(a.currentHourData.visibility ?? "-") + " nm", 1)
11872
+ s("div", Em, m(t.$t("weather.windWave")), 1),
11873
+ s("div", jm, m(a.currentHourData.windwaveDir ?? "-") + "/" + m(a.currentHourData.windwaveHeight ?? "-") + "m/" + m(a.currentHourData.windwavePeriod ?? "-") + "s", 1),
11874
+ s("div", Nm, m(t.$t("weather.swell")), 1),
11875
+ s("div", Fm, m(a.currentHourData.swellDir ?? "-") + "/" + m(a.currentHourData.swellHeight ?? "-") + "m/" + m(a.currentHourData.swellPeriod ?? "-") + "s", 1)
11876
+ ]),
11877
+ s("div", Hm, [
11878
+ s("div", Gm, m(t.$t("weather.current")), 1),
11879
+ s("div", Um, m(a.currentHourData.currentDir ?? "-") + "/" + m(a.currentHourData.currentSpeed ?? "-") + "kts", 1),
11880
+ s("div", Wm, m(t.$t("weather.visibility")), 1),
11881
+ s("div", Vm, m(a.currentHourData.visibility ?? "-") + " nm", 1)
11826
11882
  ])
11827
11883
  ];
11828
11884
  }),
@@ -11831,9 +11887,9 @@ function Um(t, e, o, i, a, r) {
11831
11887
  p(u),
11832
11888
  p(T, { class: "d-flex justify-space-between align-center" }, {
11833
11889
  default: f(() => [
11834
- o.followList.some((k) => {
11890
+ o.followList.some((z) => {
11835
11891
  var v, C;
11836
- return ((v = k == null ? void 0 : k.coordinate) == null ? void 0 : v.lng) === a.form.lng && ((C = k == null ? void 0 : k.coordinate) == null ? void 0 : C.lat) === a.form.lat;
11892
+ return ((v = z == null ? void 0 : z.coordinate) == null ? void 0 : v.lng) === a.form.lng && ((C = z == null ? void 0 : z.coordinate) == null ? void 0 : C.lat) === a.form.lat;
11837
11893
  }) ? (y(), R(l, {
11838
11894
  key: 0,
11839
11895
  class: "text-none text-body-1",
@@ -11891,19 +11947,19 @@ function Um(t, e, o, i, a, r) {
11891
11947
  ]),
11892
11948
  _: 1
11893
11949
  })) : D("", !0),
11894
- We(s("div", Hm, [
11895
- (y(), S("svg", Gm, [
11950
+ Ue(s("div", Zm, [
11951
+ (y(), S("svg", Ym, [
11896
11952
  s("use", {
11897
11953
  "xlink:href": `#icon-spot-${o.theme}`
11898
- }, null, 8, Wm)
11954
+ }, null, 8, qm)
11899
11955
  ]))
11900
11956
  ], 512), [
11901
- [Ue, a.showMeteo]
11957
+ [We, a.showMeteo]
11902
11958
  ])
11903
11959
  ]);
11904
11960
  }
11905
- const Vm = /* @__PURE__ */ Y(am, [["render", Um]]);
11906
- const Zm = {
11961
+ const $m = /* @__PURE__ */ Y(nm, [["render", Xm]]);
11962
+ const Km = {
11907
11963
  name: "IdmMeasure",
11908
11964
  props: {
11909
11965
  map: {
@@ -11996,21 +12052,21 @@ const Zm = {
11996
12052
  var o, i, a, r, l, c, n, u, h, b;
11997
12053
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
11998
12054
  if ((e == null ? void 0 : e.split("-").length) === 2) {
11999
- const x = this.geojson.filter((T) => T.id === e.split("-")[0])[0];
12000
- this.pointMarkers[x.id].filter((T) => {
12055
+ const w = this.geojson.filter((T) => T.id === e.split("-")[0])[0];
12056
+ this.pointMarkers[w.id].filter((T) => {
12001
12057
  var O;
12002
12058
  return ((O = T._element) == null ? void 0 : O.id) === e;
12003
12059
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (c = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : c.lat]);
12004
12060
  let g;
12005
- x.features.forEach((T, O) => {
12061
+ w.features.forEach((T, O) => {
12006
12062
  if (T.geometry.type === "Point" && T.properties.id === e.split("-")[1]) {
12007
12063
  g = O;
12008
12064
  return;
12009
12065
  }
12010
12066
  });
12011
- const P = x.features.filter((T) => T.geometry.type === "Point");
12067
+ const P = w.features.filter((T) => T.geometry.type === "Point");
12012
12068
  this.handleTmpPointUpdate(
12013
- x,
12069
+ w,
12014
12070
  P[g - 1],
12015
12071
  { lng: (u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, lat: (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat, properties: P[g].properties },
12016
12072
  g === P.length - 1 ? void 0 : P[g + 1]
@@ -12021,13 +12077,13 @@ const Zm = {
12021
12077
  var o, i, a, r, l, c, n, u, h, b;
12022
12078
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
12023
12079
  if ((e == null ? void 0 : e.split("-").length) === 2) {
12024
- const x = this.geojson.filter((P) => P.id === e.split("-")[0])[0];
12025
- this.pointMarkers[x.id].filter((P) => {
12080
+ const w = this.geojson.filter((P) => P.id === e.split("-")[0])[0];
12081
+ this.pointMarkers[w.id].filter((P) => {
12026
12082
  var T;
12027
12083
  return ((T = P._element) == null ? void 0 : T.id) === e;
12028
12084
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (c = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : c.lat]);
12029
- const g = x.features.filter((P) => P.geometry.type === "Point" && P.properties.id === e.split("-")[1])[0];
12030
- g.geometry.coordinates = [(u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat], x.features = x.features.filter((P) => P.geometry.type === "Point"), this.handlePointUpdate(x);
12085
+ const g = w.features.filter((P) => P.geometry.type === "Point" && P.properties.id === e.split("-")[1])[0];
12086
+ g.geometry.coordinates = [(u = (n = t.target) == null ? void 0 : n._lngLat) == null ? void 0 : u.lng, (b = (h = t.target) == null ? void 0 : h._lngLat) == null ? void 0 : b.lat], w.features = w.features.filter((P) => P.geometry.type === "Point"), this.handlePointUpdate(w);
12031
12087
  }
12032
12088
  },
12033
12089
  handleContextmenu(t) {
@@ -12077,10 +12133,10 @@ const Zm = {
12077
12133
  for (let a = 1; a < e.length; a++) {
12078
12134
  const r = e[a - 1], l = e[a], c = r.properties, n = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, u = { lng: l.geometry.coordinates[0], lat: l.geometry.coordinates[1] }, h = Ge.calculateDistance(n, u, c.mode === "RL", 4), b = Ge.calculateBearing(n, u, c.mode === "RL", 2);
12079
12135
  o = X.roundPrecision(o + h, 4);
12080
- let x;
12081
- c.mode === "RL" ? x = X.convertToMonotonicLng([n, u]) : x = X.convertToMonotonicLng(Ge.interpolateCoordinates(n, u, 200));
12082
- const z = H.lineString(x.map((P) => [P.lng, P.lat]));
12083
- z.properties.dist = h, z.properties.bearing = b, z.properties.total = o, z.properties.name = "Line " + this.currentLineIndex, i.push(z);
12136
+ let w;
12137
+ c.mode === "RL" ? w = X.convertToMonotonicLng([n, u]) : w = X.convertToMonotonicLng(Ge.interpolateCoordinates(n, u, 200));
12138
+ const _ = H.lineString(w.map((P) => [P.lng, P.lat]));
12139
+ _.properties.dist = h, _.properties.bearing = b, _.properties.total = o, _.properties.name = "Line " + this.currentLineIndex, i.push(_);
12084
12140
  const g = e[a];
12085
12141
  g.properties.totalDist = X.roundPrecision((c.totalDist ? c.totalDist : 0) + h, 4), g.properties.sumLabel = g.properties.totalDist + " nm";
12086
12142
  }
@@ -12096,16 +12152,16 @@ const Zm = {
12096
12152
  r = Ge.calculateDistance(u, h, n.mode === "RL", 4), l = Ge.calculateBearing(u, h, n.mode === "RL", 2);
12097
12153
  let b;
12098
12154
  n.mode === "RL" ? b = X.convertToMonotonicLng([u, h]) : b = X.convertToMonotonicLng(Ge.interpolateCoordinates(u, h, 200));
12099
- const x = H.lineString(b.map((z) => [z.lng, z.lat]));
12100
- x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
12155
+ const w = H.lineString(b.map((_) => [_.lng, _.lat]));
12156
+ w.properties.dist = r, w.properties.bearing = l, a.features.push(w);
12101
12157
  }
12102
12158
  if (i) {
12103
12159
  const n = o.properties, u = o, h = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
12104
12160
  r = Ge.calculateDistance(u, h, n.mode === "RL", 4), l = Ge.calculateBearing(u, h, n.mode === "RL", 2);
12105
12161
  let b;
12106
12162
  n.mode === "RL" ? b = X.convertToMonotonicLng([u, h]) : b = X.convertToMonotonicLng(Ge.interpolateCoordinates(u, h, 200));
12107
- const x = H.lineString(b.map((z) => [z.lng, z.lat]));
12108
- x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
12163
+ const w = H.lineString(b.map((_) => [_.lng, _.lat]));
12164
+ w.properties.dist = r, w.properties.bearing = l, a.features.push(w);
12109
12165
  }
12110
12166
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(a) : this.map.addSource(this.tmpSource, {
12111
12167
  type: "geojson",
@@ -12246,17 +12302,17 @@ const Zm = {
12246
12302
  }
12247
12303
  },
12248
12304
  handleClear(t, e = !0) {
12249
- var l, c, n, u, h, b, x, z, g, P;
12305
+ var l, c, n, u, h, b, w, _, g, P;
12250
12306
  const o = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, a = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
12251
- (l = this.map) != null && l.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), (u = this.map) != null && u.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (h = this.map) != null && h.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (b = this.closeMarkers[t.id]) == null || b.remove(), this.closeMarkers[t.id] = void 0, (x = this.pointMarkers[t.id]) == null || x.forEach((T) => {
12307
+ (l = this.map) != null && l.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), (u = this.map) != null && u.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (h = this.map) != null && h.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (b = this.closeMarkers[t.id]) == null || b.remove(), this.closeMarkers[t.id] = void 0, (w = this.pointMarkers[t.id]) == null || w.forEach((T) => {
12252
12308
  T == null || T.remove();
12253
- }), this.pointMarkers[t.id] = [], (z = this.tipMarker) == null || z.remove(), this.tipMarker = void 0, e && ((g = this.map) != null && g.getSource(o)) && this.map.removeSource(o), e && ((P = this.map) != null && P.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
12309
+ }), this.pointMarkers[t.id] = [], (_ = this.tipMarker) == null || _.remove(), this.tipMarker = void 0, e && ((g = this.map) != null && g.getSource(o)) && this.map.removeSource(o), e && ((P = this.map) != null && P.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
12254
12310
  }
12255
12311
  }
12256
- }, Ym = { class: "idm-gl4-measure" };
12257
- function qm(t, e, o, i, a, r) {
12258
- const l = w("VBtn"), c = w("VTooltip");
12259
- return y(), S("div", Ym, [
12312
+ }, Jm = { class: "idm-gl4-measure" };
12313
+ function Qm(t, e, o, i, a, r) {
12314
+ const l = x("VBtn"), c = x("VTooltip");
12315
+ return y(), S("div", Jm, [
12260
12316
  s("div", {
12261
12317
  class: "menu-bar-box transition pa-1",
12262
12318
  style: ie({ top: o.top + 214 + "px", right: a.right + "px" })
@@ -12285,10 +12341,10 @@ function qm(t, e, o, i, a, r) {
12285
12341
  ], 4)
12286
12342
  ]);
12287
12343
  }
12288
- const Xm = /* @__PURE__ */ Y(Zm, [["render", qm]]);
12289
- const $m = {
12344
+ const ed = /* @__PURE__ */ Y(Km, [["render", Qm]]);
12345
+ const td = {
12290
12346
  name: "IdmBottomBar",
12291
- components: { DateTimePicker: no },
12347
+ components: { DateTimePicker: Do },
12292
12348
  props: {
12293
12349
  menuToggle: {
12294
12350
  type: Object,
@@ -12411,18 +12467,18 @@ const $m = {
12411
12467
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
12412
12468
  }
12413
12469
  }
12414
- }, Km = { class: "idm-bottom-bar-gl4" }, Qm = { class: "date-box d-flex ga-2 mr-2" }, Jm = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, ed = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, td = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, od = {
12470
+ }, od = { class: "idm-bottom-bar-gl4" }, ad = { class: "date-box d-flex ga-2 mr-2" }, id = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, rd = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, sd = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, ld = {
12415
12471
  key: 0,
12416
12472
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
12417
- }, ad = ["onClick"], id = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, rd = { class: "text-body-1" };
12418
- function sd(t, e, o, i, a, r) {
12419
- const l = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), h = w("VMenu"), b = w("VBtn"), x = w("VDivider"), z = w("VTooltip");
12420
- return y(), S("div", Km, [
12473
+ }, nd = ["onClick"], cd = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, md = { class: "text-body-1" };
12474
+ function dd(t, e, o, i, a, r) {
12475
+ const l = x("DateTimePicker"), c = x("VListItemTitle"), n = x("VListItem"), u = x("VList"), h = x("VMenu"), b = x("VBtn"), w = x("VDivider"), _ = x("VTooltip");
12476
+ return y(), S("div", od, [
12421
12477
  s("div", {
12422
12478
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
12423
12479
  style: ie({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
12424
12480
  }, [
12425
- s("div", Qm, [
12481
+ s("div", ad, [
12426
12482
  p(l, B({
12427
12483
  ref: "dateTimePicker",
12428
12484
  "date-time": a.currentDateTimeZ,
@@ -12481,12 +12537,12 @@ function sd(t, e, o, i, a, r) {
12481
12537
  _: 1
12482
12538
  })
12483
12539
  ]),
12484
- p(x, {
12540
+ p(w, {
12485
12541
  vertical: "",
12486
12542
  class: "mx-2 my-3",
12487
12543
  style: { height: "16px" }
12488
12544
  }),
12489
- s("div", Jm, [
12545
+ s("div", id, [
12490
12546
  p(b, {
12491
12547
  icon: "",
12492
12548
  size: "small",
@@ -12554,13 +12610,13 @@ function sd(t, e, o, i, a, r) {
12554
12610
  __: [14]
12555
12611
  }, 8, ["onClick"])
12556
12612
  ]),
12557
- p(x, {
12613
+ p(w, {
12558
12614
  vertical: "",
12559
12615
  class: "mx-2 my-3",
12560
12616
  style: { height: "16px" }
12561
12617
  }),
12562
- s("div", ed, [
12563
- p(z, {
12618
+ s("div", rd, [
12619
+ p(_, {
12564
12620
  text: t.$t("weather.windBarbs"),
12565
12621
  location: "top"
12566
12622
  }, {
@@ -12586,7 +12642,7 @@ function sd(t, e, o, i, a, r) {
12586
12642
  }),
12587
12643
  _: 1
12588
12644
  }, 8, ["text"]),
12589
- p(z, {
12645
+ p(_, {
12590
12646
  text: t.$t("weather.sigWaveHeight"),
12591
12647
  location: "top"
12592
12648
  }, {
@@ -12611,7 +12667,7 @@ function sd(t, e, o, i, a, r) {
12611
12667
  }),
12612
12668
  _: 1
12613
12669
  }, 8, ["text"]),
12614
- p(z, {
12670
+ p(_, {
12615
12671
  text: t.$t("weather.currentDirection"),
12616
12672
  location: "top"
12617
12673
  }, {
@@ -12636,7 +12692,7 @@ function sd(t, e, o, i, a, r) {
12636
12692
  }),
12637
12693
  _: 1
12638
12694
  }, 8, ["text"]),
12639
- p(z, {
12695
+ p(_, {
12640
12696
  text: t.$t("weather.weatherLayers"),
12641
12697
  location: "top"
12642
12698
  }, {
@@ -12658,12 +12714,12 @@ function sd(t, e, o, i, a, r) {
12658
12714
  _: 1
12659
12715
  }, 8, ["text"])
12660
12716
  ]),
12661
- p(x, {
12717
+ p(w, {
12662
12718
  vertical: "",
12663
12719
  class: "mx-2 mr-3 my-3",
12664
12720
  style: { height: "16px" }
12665
12721
  }),
12666
- s("div", td, [
12722
+ s("div", sd, [
12667
12723
  p(b, {
12668
12724
  text: "",
12669
12725
  height: "30",
@@ -12696,14 +12752,14 @@ function sd(t, e, o, i, a, r) {
12696
12752
  class: "timezone-box d-flex flex-column justify-space-between align-end",
12697
12753
  style: ie({ right: a.right + "px" })
12698
12754
  }, [
12699
- a.showTimezone ? (y(), S("div", od, [
12755
+ a.showTimezone ? (y(), S("div", ld, [
12700
12756
  (y(!0), S(be, null, we(a.offsets, (g) => (y(), S("div", {
12701
12757
  key: g,
12702
12758
  class: "item rounded text-body-2 hover-active",
12703
12759
  onClick: (P) => a.timeZone = g
12704
- }, m(g < 0 ? g : "+" + g), 9, ad))), 128))
12760
+ }, m(g < 0 ? g : "+" + g), 9, nd))), 128))
12705
12761
  ])) : D("", !0),
12706
- s("div", id, [
12762
+ s("div", cd, [
12707
12763
  p(b, {
12708
12764
  text: "",
12709
12765
  variant: "flat",
@@ -12717,20 +12773,20 @@ function sd(t, e, o, i, a, r) {
12717
12773
  ]),
12718
12774
  _: 1
12719
12775
  }),
12720
- s("span", rd, m(a.currentRealTime), 1)
12776
+ s("span", md, m(a.currentRealTime), 1)
12721
12777
  ])
12722
12778
  ], 4)
12723
12779
  ]);
12724
12780
  }
12725
- const ld = /* @__PURE__ */ Y($m, [["render", sd]]), nd = {
12781
+ const hd = /* @__PURE__ */ Y(td, [["render", dd]]), pd = {
12726
12782
  name: "IdmGL4",
12727
12783
  components: {
12728
12784
  IdmOtherLayer: pl,
12729
- IdmWeatherLayer: ec,
12785
+ IdmWeatherLayer: rc,
12730
12786
  IdmTropicals: Xa,
12731
- IdmMeasure: Xm,
12732
- IdmSpot: Vm,
12733
- IdmBottomBar: ld
12787
+ IdmMeasure: ed,
12788
+ IdmSpot: $m,
12789
+ IdmBottomBar: hd
12734
12790
  },
12735
12791
  props: {
12736
12792
  map: {
@@ -12773,7 +12829,7 @@ const ld = /* @__PURE__ */ Y($m, [["render", sd]]), nd = {
12773
12829
  layerVersion: {
12774
12830
  handler() {
12775
12831
  if (this.map) {
12776
- const t = this.autoActive && this.weatherCheckList.some((i) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp"].some((a) => a === i)), e = this.otherCheckList.some((i) => ["time-zones", "navareas", "eca-zones", "load-lines", "voluntary-reporting-area", "war-zones", "special-area", "ice-areas"].some((a) => a === i)), o = t || e;
12832
+ const t = this.autoActive && this.weatherCheckList.some((i) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp"].some((a) => a === i)), e = this.otherCheckList.some((i) => ["navareas", "eca-zones", "load-lines", "voluntary-reporting-area", "war-zones", "special-area", "ice-areas"].some((a) => a === i)), o = t || e;
12777
12833
  this.mapFeather === "nautical" ? t ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), this.map.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), this.map.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), this.map.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), this.map.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), this.map.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible")) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "visible"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "visible"), this.map.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), this.map.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), this.map.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), this.map.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), this.map.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none")) : this.mapFeather === "satellite" ? t ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "visible"), this.map.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "country-boundaries"), this.map.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "country-boundaries")) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "none")) : o ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible"), t && (this.map.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-0"), this.map.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "empty-layer-0"))) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none"));
12778
12834
  }
12779
12835
  },
@@ -12781,13 +12837,13 @@ const ld = /* @__PURE__ */ Y($m, [["render", sd]]), nd = {
12781
12837
  }
12782
12838
  },
12783
12839
  methods: {}
12784
- }, cd = {
12840
+ }, ud = {
12785
12841
  ref: "mapHomeGl4",
12786
12842
  class: "map-gl4-home"
12787
12843
  };
12788
- function md(t, e, o, i, a, r) {
12789
- const l = w("IdmOtherLayer"), c = w("IdmWeatherLayer"), n = w("IdmTropicals"), u = w("IdmMeasure"), h = w("IdmSpot"), b = w("IdmBottomBar");
12790
- return y(), S("div", cd, [
12844
+ function gd(t, e, o, i, a, r) {
12845
+ const l = x("IdmOtherLayer"), c = x("IdmWeatherLayer"), n = x("IdmTropicals"), u = x("IdmMeasure"), h = x("IdmSpot"), b = x("IdmBottomBar");
12846
+ return y(), S("div", ud, [
12791
12847
  p(l, B({
12792
12848
  ref: "idmOtherLayers",
12793
12849
  token: o.token,
@@ -12799,8 +12855,8 @@ function md(t, e, o, i, a, r) {
12799
12855
  "forecast-model": o.forecastModel,
12800
12856
  "map-feather": o.mapFeather
12801
12857
  }, t.$attrs, {
12802
- onOtherCheckList: e[0] || (e[0] = (x) => {
12803
- a.otherCheckList = x, a.layerVersion = a.layerVersion + 1;
12858
+ onOtherCheckList: e[0] || (e[0] = (w) => {
12859
+ a.otherCheckList = w, a.layerVersion = a.layerVersion + 1;
12804
12860
  })
12805
12861
  }), null, 16, ["token", "default-meteo-token", "map", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
12806
12862
  p(c, B({
@@ -12814,11 +12870,11 @@ function md(t, e, o, i, a, r) {
12814
12870
  "forecast-model": o.forecastModel,
12815
12871
  "map-feather": o.mapFeather
12816
12872
  }, t.$attrs, {
12817
- onAutoActive: e[1] || (e[1] = (x) => {
12818
- a.autoActive = x, a.layerVersion = a.layerVersion + 1;
12873
+ onAutoActive: e[1] || (e[1] = (w) => {
12874
+ a.autoActive = w, a.layerVersion = a.layerVersion + 1;
12819
12875
  }),
12820
- onWeatherCheckList: e[2] || (e[2] = (x) => {
12821
- a.weatherCheckList = x, a.layerVersion = a.layerVersion + 1;
12876
+ onWeatherCheckList: e[2] || (e[2] = (w) => {
12877
+ a.weatherCheckList = w, a.layerVersion = a.layerVersion + 1;
12822
12878
  })
12823
12879
  }), null, 16, ["map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
12824
12880
  p(n, B({
@@ -12852,8 +12908,8 @@ function md(t, e, o, i, a, r) {
12852
12908
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
12853
12909
  ], 512);
12854
12910
  }
12855
- const dd = /* @__PURE__ */ Y(nd, [["render", md]]);
12856
- class hd {
12911
+ const fd = /* @__PURE__ */ Y(pd, [["render", gd]]);
12912
+ class yd {
12857
12913
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
12858
12914
  de(this, "originStyle");
12859
12915
  de(this, "mapboxStyle");
@@ -12861,7 +12917,7 @@ class hd {
12861
12917
  de(this, "hi");
12862
12918
  de(this, "td");
12863
12919
  de(this, "windy");
12864
- var o, i, a, r, l, c, n, u, h, b, x, z, g, P, T, O, I, L, k, v, C, _, A, N, V, Z, U, ee, Q, $, ne, se, J, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me, ue, fe, W, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Qe, Je, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, eo, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Mo, Io, Do, Ao, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Wo, Uo, Vo, Zo, Yo, qo, Xo, $o, Ko, Qo, Jo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga, Wa, Ua;
12920
+ var o, i, a, r, l, c, n, u, h, b, w, _, g, P, T, O, I, L, z, v, C, k, A, N, V, Z, W, ee, J, $, ne, se, Q, ae, he, ce, pe, ge, F, me, xe, Le, Pe, De, Ae, Re, _e, G, te, He, Me, ue, fe, U, Ce, oe, re, Oe, j, ye, Ie, Be, Ee, E, q, Ve, Ze, Ye, Te, qe, Xe, $e, Ke, Je, Qe, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Ut, Wt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ao, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Uo, Wo, Vo, Zo, Yo, qo, Xo, $o, Ko, Jo, Qo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Da, Aa, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga, Ua, Wa;
12865
12921
  this.i4 = {
12866
12922
  source: {
12867
12923
  type: "raster",
@@ -31507,18 +31563,18 @@ class hd {
31507
31563
  (c = (l = this.originStyle) == null ? void 0 : l.light.layers) == null ? void 0 : c.find((d) => d.id === "ice-area-fill"),
31508
31564
  (u = (n = this.originStyle) == null ? void 0 : n.light.layers) == null ? void 0 : u.find((d) => d.id === "ice-area-line"),
31509
31565
  (b = (h = this.originStyle) == null ? void 0 : h.light.layers) == null ? void 0 : b.find((d) => d.id === "loadlines-label"),
31510
- (z = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : z.find((d) => d.id === "loadlines-fill"),
31566
+ (_ = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : _.find((d) => d.id === "loadlines-fill"),
31511
31567
  (P = (g = this.originStyle) == null ? void 0 : g.light.layers) == null ? void 0 : P.find((d) => d.id === "empty-layer-0"),
31512
31568
  (O = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : O.find((d) => d.id === "empty-layer-1"),
31513
31569
  (L = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : L.find((d) => d.id === "country-boundaries"),
31514
- (v = (k = this.originStyle) == null ? void 0 : k.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline"),
31515
- (_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((d) => d.id === "water-outline2"),
31570
+ (v = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline"),
31571
+ (k = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : k.find((d) => d.id === "water-outline2"),
31516
31572
  (N = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : N.find((d) => d.id === "empty-layer-2"),
31517
31573
  (Z = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : Z.find((d) => d.id === "water-line-label"),
31518
- (ee = (U = this.originStyle) == null ? void 0 : U.light.layers) == null ? void 0 : ee.find((d) => d.id === "water-point-label"),
31519
- ($ = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : $.find((d) => d.id === "world-12nm-v4-20231025"),
31574
+ (ee = (W = this.originStyle) == null ? void 0 : W.light.layers) == null ? void 0 : ee.find((d) => d.id === "water-point-label"),
31575
+ ($ = (J = this.originStyle) == null ? void 0 : J.light.layers) == null ? void 0 : $.find((d) => d.id === "world-12nm-v4-20231025"),
31520
31576
  (se = (ne = this.originStyle) == null ? void 0 : ne.light.layers) == null ? void 0 : se.find((d) => d.id === "ne-10m-outline"),
31521
- (ae = (J = this.originStyle) == null ? void 0 : J.light.layers) == null ? void 0 : ae.find((d) => d.id === "ne-10m-label"),
31577
+ (ae = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : ae.find((d) => d.id === "ne-10m-label"),
31522
31578
  (ce = (he = this.originStyle) == null ? void 0 : he.light.layers) == null ? void 0 : ce.find((d) => d.id === "china-route-line"),
31523
31579
  (ge = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : ge.find((d) => d.id === "china-route-fill"),
31524
31580
  (me = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : me.find((d) => d.id === "china-route-label"),
@@ -31528,7 +31584,7 @@ class hd {
31528
31584
  (G = (_e = this.originStyle) == null ? void 0 : _e.light.layers) == null ? void 0 : G.find((d) => d.id === "country-label"),
31529
31585
  (He = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : He.find((d) => d.id === "continent-label"),
31530
31586
  (ue = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : ue.find((d) => d.id === "tide-stations"),
31531
- (W = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : W.find((d) => d.id === "empty-layer-3"),
31587
+ (U = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : U.find((d) => d.id === "empty-layer-3"),
31532
31588
  (oe = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : oe.find((d) => d.id === "empty-layer-4")
31533
31589
  ]
31534
31590
  },
@@ -31560,7 +31616,7 @@ class hd {
31560
31616
  (Te = (Ye = this.originStyle) == null ? void 0 : Ye.dark.layers) == null ? void 0 : Te.find((d) => d.id === "ice-area-line"),
31561
31617
  (Xe = (qe = this.originStyle) == null ? void 0 : qe.dark.layers) == null ? void 0 : Xe.find((d) => d.id === "loadlines-label"),
31562
31618
  (Ke = ($e = this.originStyle) == null ? void 0 : $e.dark.layers) == null ? void 0 : Ke.find((d) => d.id === "loadlines-fill"),
31563
- (Je = (Qe = this.originStyle) == null ? void 0 : Qe.dark.layers) == null ? void 0 : Je.find((d) => d.id === "empty-layer-0"),
31619
+ (Qe = (Je = this.originStyle) == null ? void 0 : Je.dark.layers) == null ? void 0 : Qe.find((d) => d.id === "empty-layer-0"),
31564
31620
  (tt = (et = this.originStyle) == null ? void 0 : et.dark.layers) == null ? void 0 : tt.find((d) => d.id === "empty-layer-1"),
31565
31621
  (at = (ot = this.originStyle) == null ? void 0 : ot.dark.layers) == null ? void 0 : at.find((d) => d.id === "country-boundaries"),
31566
31622
  (rt = (it = this.originStyle) == null ? void 0 : it.dark.layers) == null ? void 0 : rt.find((d) => d.id === "water-outline"),
@@ -31591,8 +31647,8 @@ class hd {
31591
31647
  zoom: 12,
31592
31648
  fog: (Ht = this.originStyle) == null ? void 0 : Ht.satellite.fog,
31593
31649
  imports: (Gt = this.originStyle) == null ? void 0 : Gt.satellite.imports,
31594
- sources: (Wt = this.originStyle) == null ? void 0 : Wt.satellite.sources,
31595
- sprite: (Ut = this.originStyle) == null ? void 0 : Ut.satellite.sprite,
31650
+ sources: (Ut = this.originStyle) == null ? void 0 : Ut.satellite.sources,
31651
+ sprite: (Wt = this.originStyle) == null ? void 0 : Wt.satellite.sprite,
31596
31652
  glyphs: (Vt = this.originStyle) == null ? void 0 : Vt.satellite.glyphs,
31597
31653
  projection: (Zt = this.originStyle) == null ? void 0 : Zt.satellite.projection,
31598
31654
  created: "2025-07-25T03:53:24.667Z",
@@ -31605,25 +31661,25 @@ class hd {
31605
31661
  layers: [
31606
31662
  (qt = (Yt = this.originStyle) == null ? void 0 : Yt.satellite.layers) == null ? void 0 : qt.find((d) => d.id === "background"),
31607
31663
  (Kt = (Xt = this.originStyle) == null ? void 0 : Xt.satellite.layers) == null ? void 0 : Kt.find((d) => d.id === "satellite"),
31608
- (Jt = (Qt = this.originStyle) == null ? void 0 : Qt.satellite.layers) == null ? void 0 : Jt.find((d) => d.id === "loadlines-label"),
31609
- (co = (eo = this.originStyle) == null ? void 0 : eo.satellite.layers) == null ? void 0 : co.find((d) => d.id === "loadlines-fill"),
31610
- (ho = (mo = this.originStyle) == null ? void 0 : mo.satellite.layers) == null ? void 0 : ho.find((d) => d.id === "empty-layer-0"),
31611
- (uo = (po = this.originStyle) == null ? void 0 : po.satellite.layers) == null ? void 0 : uo.find((d) => d.id === "empty-layer-1"),
31612
- (fo = (go = this.originStyle) == null ? void 0 : go.satellite.layers) == null ? void 0 : fo.find((d) => d.id === "country-boundaries"),
31613
- (bo = (yo = this.originStyle) == null ? void 0 : yo.satellite.layers) == null ? void 0 : bo.find((d) => d.id === "water-outline"),
31614
- (xo = (wo = this.originStyle) == null ? void 0 : wo.satellite.layers) == null ? void 0 : xo.find((d) => d.id === "empty-layer-2"),
31615
- (_o = (vo = this.originStyle) == null ? void 0 : vo.satellite.layers) == null ? void 0 : _o.find((d) => d.id === "world-12nm-v4-20231025"),
31616
- (zo = (ko = this.originStyle) == null ? void 0 : ko.satellite.layers) == null ? void 0 : zo.find((d) => d.id === "ne-10m-outline"),
31617
- (Po = (Lo = this.originStyle) == null ? void 0 : Lo.satellite.layers) == null ? void 0 : Po.find((d) => d.id === "ne-10m-label"),
31618
- (To = (Co = this.originStyle) == null ? void 0 : Co.satellite.layers) == null ? void 0 : To.find((d) => d.id === "china-route-line"),
31619
- (Mo = (So = this.originStyle) == null ? void 0 : So.satellite.layers) == null ? void 0 : Mo.find((d) => d.id === "china-route-fill"),
31620
- (Do = (Io = this.originStyle) == null ? void 0 : Io.satellite.layers) == null ? void 0 : Do.find((d) => d.id === "china-route-label"),
31664
+ (Qt = (Jt = this.originStyle) == null ? void 0 : Jt.satellite.layers) == null ? void 0 : Qt.find((d) => d.id === "loadlines-label"),
31665
+ (to = (eo = this.originStyle) == null ? void 0 : eo.satellite.layers) == null ? void 0 : to.find((d) => d.id === "loadlines-fill"),
31666
+ (ao = (oo = this.originStyle) == null ? void 0 : oo.satellite.layers) == null ? void 0 : ao.find((d) => d.id === "empty-layer-0"),
31667
+ (ro = (io = this.originStyle) == null ? void 0 : io.satellite.layers) == null ? void 0 : ro.find((d) => d.id === "empty-layer-1"),
31668
+ (lo = (so = this.originStyle) == null ? void 0 : so.satellite.layers) == null ? void 0 : lo.find((d) => d.id === "country-boundaries"),
31669
+ (co = (no = this.originStyle) == null ? void 0 : no.satellite.layers) == null ? void 0 : co.find((d) => d.id === "water-outline"),
31670
+ (ho = (mo = this.originStyle) == null ? void 0 : mo.satellite.layers) == null ? void 0 : ho.find((d) => d.id === "empty-layer-2"),
31671
+ (uo = (po = this.originStyle) == null ? void 0 : po.satellite.layers) == null ? void 0 : uo.find((d) => d.id === "world-12nm-v4-20231025"),
31672
+ (fo = (go = this.originStyle) == null ? void 0 : go.satellite.layers) == null ? void 0 : fo.find((d) => d.id === "ne-10m-outline"),
31673
+ (bo = (yo = this.originStyle) == null ? void 0 : yo.satellite.layers) == null ? void 0 : bo.find((d) => d.id === "ne-10m-label"),
31674
+ (xo = (wo = this.originStyle) == null ? void 0 : wo.satellite.layers) == null ? void 0 : xo.find((d) => d.id === "china-route-line"),
31675
+ (_o = (vo = this.originStyle) == null ? void 0 : vo.satellite.layers) == null ? void 0 : _o.find((d) => d.id === "china-route-fill"),
31676
+ (zo = (ko = this.originStyle) == null ? void 0 : ko.satellite.layers) == null ? void 0 : zo.find((d) => d.id === "china-route-label"),
31621
31677
  (Ro = (Ao = this.originStyle) == null ? void 0 : Ao.satellite.layers) == null ? void 0 : Ro.find((d) => d.id === "country-label"),
31622
31678
  (Bo = (Oo = this.originStyle) == null ? void 0 : Oo.satellite.layers) == null ? void 0 : Bo.find((d) => d.id === "continent-label"),
31623
31679
  (jo = (Eo = this.originStyle) == null ? void 0 : Eo.satellite.layers) == null ? void 0 : jo.find((d) => d.id === "tide-stations"),
31624
31680
  (Fo = (No = this.originStyle) == null ? void 0 : No.satellite.layers) == null ? void 0 : Fo.find((d) => d.id === "ice-area-fill"),
31625
31681
  (Go = (Ho = this.originStyle) == null ? void 0 : Ho.satellite.layers) == null ? void 0 : Go.find((d) => d.id === "ice-area-line"),
31626
- (Uo = (Wo = this.originStyle) == null ? void 0 : Wo.satellite.layers) == null ? void 0 : Uo.find((d) => d.id === "empty-layer-3"),
31682
+ (Wo = (Uo = this.originStyle) == null ? void 0 : Uo.satellite.layers) == null ? void 0 : Wo.find((d) => d.id === "empty-layer-3"),
31627
31683
  (Zo = (Vo = this.originStyle) == null ? void 0 : Vo.satellite.layers) == null ? void 0 : Zo.find((d) => d.id === "empty-layer-4")
31628
31684
  ]
31629
31685
  },
@@ -31687,8 +31743,8 @@ class hd {
31687
31743
  (qo = (Yo = this.originStyle) == null ? void 0 : Yo.light.layers) == null ? void 0 : qo.find((d) => d.id === "land"),
31688
31744
  ($o = (Xo = this.originStyle) == null ? void 0 : Xo.light.layers) == null ? void 0 : $o.find((d) => d.id === "water"),
31689
31745
  this.i4.layer,
31690
- (Qo = (Ko = this.originStyle) == null ? void 0 : Ko.light.layers) == null ? void 0 : Qo.find((d) => d.id === "ice-area-fill"),
31691
- (ea = (Jo = this.originStyle) == null ? void 0 : Jo.light.layers) == null ? void 0 : ea.find((d) => d.id === "ice-area-line"),
31746
+ (Jo = (Ko = this.originStyle) == null ? void 0 : Ko.light.layers) == null ? void 0 : Jo.find((d) => d.id === "ice-area-fill"),
31747
+ (ea = (Qo = this.originStyle) == null ? void 0 : Qo.light.layers) == null ? void 0 : ea.find((d) => d.id === "ice-area-line"),
31692
31748
  (oa = (ta = this.originStyle) == null ? void 0 : ta.light.layers) == null ? void 0 : oa.find((d) => d.id === "loadlines-label"),
31693
31749
  (ia = (aa = this.originStyle) == null ? void 0 : aa.light.layers) == null ? void 0 : ia.find((d) => d.id === "loadlines-fill"),
31694
31750
  (sa = (ra = this.originStyle) == null ? void 0 : ra.light.layers) == null ? void 0 : sa.find((d) => d.id === "empty-layer-0"),
@@ -31712,13 +31768,13 @@ class hd {
31712
31768
  (ja = (Ea = this.originStyle) == null ? void 0 : Ea.light.layers) == null ? void 0 : ja.find((d) => d.id === "continent-label"),
31713
31769
  (Fa = (Na = this.originStyle) == null ? void 0 : Na.light.layers) == null ? void 0 : Fa.find((d) => d.id === "tide-stations"),
31714
31770
  (Ga = (Ha = this.originStyle) == null ? void 0 : Ha.light.layers) == null ? void 0 : Ga.find((d) => d.id === "empty-layer-3"),
31715
- (Ua = (Wa = this.originStyle) == null ? void 0 : Wa.light.layers) == null ? void 0 : Ua.find((d) => d.id === "empty-layer-4")
31771
+ (Wa = (Ua = this.originStyle) == null ? void 0 : Ua.light.layers) == null ? void 0 : Wa.find((d) => d.id === "empty-layer-4")
31716
31772
  ]
31717
31773
  }
31718
31774
  };
31719
31775
  }
31720
31776
  }
31721
- const pd = {
31777
+ const bd = {
31722
31778
  name: "MapInitial",
31723
31779
  props: {
31724
31780
  token: {
@@ -31779,7 +31835,7 @@ const pd = {
31779
31835
  },
31780
31836
  methods: {
31781
31837
  async initOnlineMap() {
31782
- this.helper = new hd(this.token), ve.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
31838
+ this.helper = new yd(this.token), ve.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
31783
31839
  const t = new ve.Map({
31784
31840
  container: "map",
31785
31841
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
@@ -31820,16 +31876,16 @@ const pd = {
31820
31876
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
31821
31877
  }
31822
31878
  }
31823
- }, ud = { class: "mapbox-initial-gl4" }, gd = { class: "v-btn--variant-elevated rounded" }, fd = { class: "zoom" }, yd = { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70" };
31824
- function bd(t, e, o, i, a, r) {
31825
- const l = w("VBtn");
31826
- return y(), S("div", ud, [
31879
+ }, wd = { class: "mapbox-initial-gl4" }, xd = { class: "v-btn--variant-elevated rounded" }, vd = { class: "zoom" }, _d = { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70" };
31880
+ function kd(t, e, o, i, a, r) {
31881
+ const l = x("VBtn");
31882
+ return y(), S("div", wd, [
31827
31883
  e[5] || (e[5] = s("div", { id: "map" }, null, -1)),
31828
31884
  s("div", {
31829
31885
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
31830
31886
  style: ie({ top: o.top + 268 + "px", right: a.right + "px" })
31831
31887
  }, [
31832
- s("div", gd, [
31888
+ s("div", xd, [
31833
31889
  p(l, {
31834
31890
  "min-width": "32",
31835
31891
  width: "32",
@@ -31843,7 +31899,7 @@ function bd(t, e, o, i, a, r) {
31843
31899
  _: 1,
31844
31900
  __: [0]
31845
31901
  }, 8, ["onClick"]),
31846
- s("div", fd, m(a.zoom ? Math.floor(a.zoom) : 0), 1),
31902
+ s("div", vd, m(a.zoom ? Math.floor(a.zoom) : 0), 1),
31847
31903
  p(l, {
31848
31904
  "min-width": "32",
31849
31905
  width: "32",
@@ -31859,7 +31915,7 @@ function bd(t, e, o, i, a, r) {
31859
31915
  }, 8, ["onClick"])
31860
31916
  ])
31861
31917
  ], 4),
31862
- s("div", yd, [
31918
+ s("div", _d, [
31863
31919
  e[2] || (e[2] = s("span", null, "© 2023", -1)),
31864
31920
  s("span", null, "-" + m(r.computeYear), 1),
31865
31921
  e[3] || (e[3] = s("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
@@ -31871,8 +31927,8 @@ function bd(t, e, o, i, a, r) {
31871
31927
  ])
31872
31928
  ]);
31873
31929
  }
31874
- const wd = /* @__PURE__ */ Y(pd, [["render", bd]]);
31875
- const xd = {
31930
+ const zd = /* @__PURE__ */ Y(bd, [["render", kd]]);
31931
+ const Ld = {
31876
31932
  name: "DateRangePicker",
31877
31933
  props: {
31878
31934
  width: {
@@ -32028,13 +32084,13 @@ const xd = {
32028
32084
  e && !e.contains(t.target) && (this.showDatePicker = !1);
32029
32085
  }
32030
32086
  }
32031
- }, vd = {
32087
+ }, Pd = {
32032
32088
  class: "idm-gl4-date-picker",
32033
32089
  ref: "idmGl4DatePicker"
32034
- }, _d = { class: "pa-0" };
32035
- function kd(t, e, o, i, a, r) {
32036
- const l = w("VBtn"), c = w("VDatePicker"), n = w("VCardText"), u = w("VDivider"), h = w("VCardActions"), b = w("VCard");
32037
- return y(), S("div", vd, [
32090
+ }, Cd = { class: "pa-0" };
32091
+ function Td(t, e, o, i, a, r) {
32092
+ const l = x("VBtn"), c = x("VDatePicker"), n = x("VCardText"), u = x("VDivider"), h = x("VCardActions"), b = x("VCard");
32093
+ return y(), S("div", Pd, [
32038
32094
  p(l, {
32039
32095
  text: "",
32040
32096
  height: o.height,
@@ -32054,10 +32110,10 @@ function kd(t, e, o, i, a, r) {
32054
32110
  default: f(() => [
32055
32111
  p(n, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
32056
32112
  default: f(() => [
32057
- s("div", _d, [
32113
+ s("div", Cd, [
32058
32114
  p(c, {
32059
32115
  modelValue: a.dateRange,
32060
- "onUpdate:modelValue": e[0] || (e[0] = (x) => a.dateRange = x),
32116
+ "onUpdate:modelValue": e[0] || (e[0] = (w) => a.dateRange = w),
32061
32117
  min: a.minDate,
32062
32118
  max: a.maxDate,
32063
32119
  "mode-icon": () => r.currentYear,
@@ -32112,22 +32168,22 @@ function kd(t, e, o, i, a, r) {
32112
32168
  }, 8, ["class"])) : D("", !0)
32113
32169
  ], 512);
32114
32170
  }
32115
- const zd = /* @__PURE__ */ Y(xd, [["render", kd]]), Bd = {
32171
+ const Sd = /* @__PURE__ */ Y(Ld, [["render", Td]]), Hd = {
32116
32172
  install(t) {
32117
- t.component("MapInitial", wd), t.component("MapboxGL", dd), t.component("TropicalGL", Xa), t.component("LatLngGL", qa), t.component("DateTimePicker", no), t.component("DateRangePicker", zd), t.component("PortDetail", so);
32173
+ t.component("MapInitial", zd), t.component("MapboxGL", fd), t.component("TropicalGL", Xa), t.component("LatLngGL", qa), t.component("DateTimePicker", Do), t.component("DateRangePicker", Sd), t.component("PortDetail", Mo);
32118
32174
  }
32119
32175
  };
32120
32176
  export {
32121
- zd as DateRangePicker,
32122
- no as DateTimePicker,
32177
+ Sd as DateRangePicker,
32178
+ Do as DateTimePicker,
32123
32179
  qa as LatLngGL,
32124
- wd as MapInitial,
32125
- dd as MapboxGL,
32126
- Bd as MapboxGLPlugin,
32180
+ zd as MapInitial,
32181
+ fd as MapboxGL,
32182
+ Hd as MapboxGLPlugin,
32127
32183
  ke as ParticleSchema,
32128
- so as PortDetail,
32184
+ Mo as PortDetail,
32129
32185
  Xa as TropicalGL,
32130
- lo as Viewport,
32186
+ Io as Viewport,
32131
32187
  Fe as WebGL,
32132
32188
  le as WebGLSchema
32133
32189
  };