@idmwx/idmui-gl4 2.0.3 → 2.0.4

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,14 +3,14 @@ var Qo = (t, e, a) => e in t ? Jo(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var he = (t, e, a) => (Qo(t, typeof e != "symbol" ? e + "" : e, a), a);
4
4
  import De from "axios";
5
5
  import { useTheme as Se } from "vuetify";
6
- import { openBlock as y, createElementBlock as M, resolveComponent as w, createBlock as O, withCtx as g, createVNode as p, withModifiers as Oe, createElementVNode as l, createCommentVNode as A, normalizeClass as Ye, toDisplayString as m, createTextVNode as K, Fragment as we, renderList as _e, withDirectives as Ve, vShow as Ze, mergeProps as N, normalizeStyle as te } from "vue";
6
+ import { openBlock as y, createElementBlock as M, resolveComponent as w, createBlock as O, withCtx as g, createVNode as p, withModifiers as Oe, createElementVNode as l, createCommentVNode as A, normalizeClass as Ye, toDisplayString as m, createTextVNode as K, Fragment as we, renderList as _e, withDirectives as Ve, vShow as Ze, mergeProps as N, normalizeStyle as ee } from "vue";
7
7
  import ke from "mapbox-gl";
8
8
  import S from "moment";
9
9
  import { LngLatHelper as X, TropicalHelper as Zo, LaneHelper as Ge } from "@idm-plugin/geo";
10
- import { Meteo2Assist as Pa, TidesAssist as Ta } from "@idm-plugin/meteo";
10
+ import { Meteo2Assist as Pa, TidesAssist as Ca } from "@idm-plugin/meteo";
11
11
  import * as Sa from "echarts";
12
12
  import * as U from "@turf/turf";
13
- import { LayerHelper as Ca, CompanyHelper as ei } from "@idm-plugin/tag2";
13
+ import { LayerHelper as Ta, CompanyHelper as ei } from "@idm-plugin/tag2";
14
14
  import ti from "@mapbox/sphericalmercator";
15
15
  import { LayerHelper as ai } from "@idm-plugin/tag";
16
16
  const Y = (t, e) => {
@@ -1490,10 +1490,10 @@ const fi = {
1490
1490
  { label: "Swell", key: "weather.swell", unit: "m" },
1491
1491
  { label: "Current", key: "weather.current", unit: "kts" }
1492
1492
  ], (a = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || a.dateTimeList.forEach((i, o) => {
1493
- var c, n, u, h, b, x, _, f, k, P, B, I, C, z, L, T, v, D, F, V, q, Z, J, Q, $, le, se, pe, ie, ce, ue, me, de, R, ee, ye, xe, Le;
1493
+ var c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, $, le, se, pe, ie, ce, ue, me, de, R, te, ye, xe, Le;
1494
1494
  let r = {};
1495
1495
  const s = ((c = Pa.pickHourly(t, S(i))) == null ? void 0 : c[0]) || {};
1496
- r.utc = s.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = s.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = s == null ? void 0 : s.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = s == null ? void 0 : s.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((_ = (x = s == null ? void 0 : s.weather) == null ? void 0 : x.precip) == null ? void 0 : _.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = s == null ? void 0 : s.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((P = (k = s == null ? void 0 : s.weather) == null ? void 0 : k.wind) == null ? void 0 : P.kts, 1) ?? "-", r.windDir = (I = (B = s == null ? void 0 : s.weather) == null ? void 0 : B.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((z = (C = s == null ? void 0 : s.weather) == null ? void 0 : C.wind) == null ? void 0 : z.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((T = (L = s == null ? void 0 : s.weather) == null ? void 0 : L.wind) == null ? void 0 : T.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((D = (v = s == null ? void 0 : s.wave) == null ? void 0 : v.sig) == null ? void 0 : D.height, 1) ?? "-", r.sigwaveDir = (V = (F = s == null ? void 0 : s.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Z = (q = s == null ? void 0 : s.wave) == null ? void 0 : q.sig) == null ? void 0 : Z.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = s == null ? void 0 : s.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (le = ($ = s == null ? void 0 : s.wave) == null ? void 0 : $.wd) == null ? void 0 : le.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (se = s == null ? void 0 : s.wave) == null ? void 0 : se.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ce = (ie = s == null ? void 0 : s.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.height, 1) ?? "-", r.swellDir = (me = (ue = s == null ? void 0 : s.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.direction, r.swellPeriod = this.computeRoundPrecision((R = (de = s == null ? void 0 : s.wave) == null ? void 0 : de.swell) == null ? void 0 : R.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ee = s == null ? void 0 : s.current) == null ? void 0 : ee.speed, 1) ?? "-", r.currentDir = (ye = s == null ? void 0 : s.current) == null ? void 0 : ye.direction, r.currentSpeed = this.computeRoundPrecision((xe = s == null ? void 0 : s.current) == null ? void 0 : xe.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(s == null ? void 0 : s.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(s == null ? void 0 : s.sst, 0) ?? "-", r.weatherUrls = (Le = s == null ? void 0 : s.weather) == null ? void 0 : Le.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
1496
+ r.utc = s.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = s.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((u = s == null ? void 0 : s.weather) == null ? void 0 : u.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (h = s == null ? void 0 : s.weather) == null ? void 0 : h.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((_ = (x = s == null ? void 0 : s.weather) == null ? void 0 : x.precip) == null ? void 0 : _.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = s == null ? void 0 : s.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((P = (k = s == null ? void 0 : s.weather) == null ? void 0 : k.wind) == null ? void 0 : P.kts, 1) ?? "-", r.windDir = (I = (B = s == null ? void 0 : s.weather) == null ? void 0 : B.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((z = (T = s == null ? void 0 : s.weather) == null ? void 0 : T.wind) == null ? void 0 : z.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (L = s == null ? void 0 : s.weather) == null ? void 0 : L.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((D = (v = s == null ? void 0 : s.wave) == null ? void 0 : v.sig) == null ? void 0 : D.height, 1) ?? "-", r.sigwaveDir = (V = (F = s == null ? void 0 : s.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Z = (q = s == null ? void 0 : s.wave) == null ? void 0 : q.sig) == null ? void 0 : Z.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = s == null ? void 0 : s.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (le = ($ = s == null ? void 0 : s.wave) == null ? void 0 : $.wd) == null ? void 0 : le.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (se = s == null ? void 0 : s.wave) == null ? void 0 : se.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ce = (ie = s == null ? void 0 : s.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.height, 1) ?? "-", r.swellDir = (me = (ue = s == null ? void 0 : s.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.direction, r.swellPeriod = this.computeRoundPrecision((R = (de = s == null ? void 0 : s.wave) == null ? void 0 : de.swell) == null ? void 0 : R.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((te = s == null ? void 0 : s.current) == null ? void 0 : te.speed, 1) ?? "-", r.currentDir = (ye = s == null ? void 0 : s.current) == null ? void 0 : ye.direction, r.currentSpeed = this.computeRoundPrecision((xe = s == null ? void 0 : s.current) == null ? void 0 : xe.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(s == null ? void 0 : s.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(s == null ? void 0 : s.sst, 0) ?? "-", r.weatherUrls = (Le = s == null ? void 0 : s.weather) == null ? void 0 : Le.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
1497
1497
  });
1498
1498
  },
1499
1499
  handleTide() {
@@ -1526,7 +1526,7 @@ const fi = {
1526
1526
  },
1527
1527
  initTideTableData(t) {
1528
1528
  var e, a;
1529
- this.tideTableData = Ta.pickDailyExtremes(t, (a = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null ? void 0 : a.dateTime), this.initEchartData();
1529
+ this.tideTableData = Ca.pickDailyExtremes(t, (a = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null ? void 0 : a.dateTime), this.initEchartData();
1530
1530
  },
1531
1531
  initEchartData() {
1532
1532
  var t;
@@ -1640,7 +1640,7 @@ const fi = {
1640
1640
  }, _i = { class: "summary-box" }, ki = { class: "d-flex justify-space-between align-center py-2" }, zi = { class: "d-flex justify-center align-center text-h6 ga-2" }, Li = {
1641
1641
  class: "multi-color-icon",
1642
1642
  "aria-hidden": "true"
1643
- }, Pi = ["xlink:href"], Ci = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, Ti = { class: "w-100 d-flex justify-start align-center" }, Si = { class: "w-30 text-label font-weight-400" }, Mi = { class: "flex-1-1-0" }, Ii = { class: "w-100 d-flex justify-start align-center" }, Di = { class: "w-30 text-label font-weight-400" }, Ai = { class: "flex-1-1-0" }, Ri = { class: "w-100 d-flex justify-start align-center" }, Oi = { class: "w-30 text-label font-weight-400" }, Bi = { class: "flex-1-1-0" }, Ni = { class: "table-box w-100 mt-2" }, Ei = { class: "w-100 d-flex justify-space-between align-center py-2" }, ji = { class: "d-flex justify-center align-center text-h6 ga-2" }, Fi = {
1643
+ }, Pi = ["xlink:href"], Ti = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, Ci = { class: "w-100 d-flex justify-start align-center" }, Si = { class: "w-30 text-label font-weight-400" }, Mi = { class: "flex-1-1-0" }, Ii = { class: "w-100 d-flex justify-start align-center" }, Di = { class: "w-30 text-label font-weight-400" }, Ai = { class: "flex-1-1-0" }, Ri = { class: "w-100 d-flex justify-start align-center" }, Oi = { class: "w-30 text-label font-weight-400" }, Bi = { class: "flex-1-1-0" }, Ni = { class: "table-box w-100 mt-2" }, Ei = { class: "w-100 d-flex justify-space-between align-center py-2" }, ji = { class: "d-flex justify-center align-center text-h6 ga-2" }, Fi = {
1644
1644
  class: "multi-color-icon",
1645
1645
  "aria-hidden": "true"
1646
1646
  }, Hi = ["xlink:href"], Ui = { class: "w-100 gray-bg-2 rounded pa-4" }, Wi = {
@@ -1781,8 +1781,8 @@ function wr(t, e, a, i, o, r) {
1781
1781
  ]),
1782
1782
  e[4] || (e[4] = l("div", { class: "text-body-2 text-success ga-2" }, null, -1))
1783
1783
  ]),
1784
- l("div", Ci, [
1785
- l("div", Ti, [
1784
+ l("div", Ti, [
1785
+ l("div", Ci, [
1786
1786
  l("div", Si, m(t.$t("port.region")), 1),
1787
1787
  l("div", Mi, m(((x = a.port) == null ? void 0 : x.region) ?? ((_ = a.port) == null ? void 0 : _.city) ?? "-"), 1)
1788
1788
  ]),
@@ -2119,10 +2119,10 @@ const Lr = /* @__PURE__ */ Y(xr, [["render", zr], ["__scopeId", "data-v-0c0f27d3
2119
2119
  }
2120
2120
  }
2121
2121
  };
2122
- function Cr(t, e, a, i, o, r) {
2122
+ function Tr(t, e, a, i, o, r) {
2123
2123
  return y(), M("div");
2124
2124
  }
2125
- const Tr = /* @__PURE__ */ Y(Pr, [["render", Cr]]), Sr = {
2125
+ const Cr = /* @__PURE__ */ Y(Pr, [["render", Tr]]), Sr = {
2126
2126
  name: "IdmTimezone",
2127
2127
  props: {
2128
2128
  map: {
@@ -2812,7 +2812,7 @@ const Kr = {
2812
2812
  currentIndex: {
2813
2813
  handler() {
2814
2814
  var t, e;
2815
- this.initTideTableData(), this.initEchartData(Ta.pickDailyHeights(this.tideData, (e = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null ? void 0 : e.dateTime));
2815
+ this.initTideTableData(), this.initEchartData(Ca.pickDailyHeights(this.tideData, (e = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null ? void 0 : e.dateTime));
2816
2816
  }
2817
2817
  },
2818
2818
  station: {
@@ -2840,11 +2840,11 @@ const Kr = {
2840
2840
  //
2841
2841
  }
2842
2842
  });
2843
- ((o = e == null ? void 0 : e.data) == null ? void 0 : o.code) === 0 && (this.tideData = ((r = e == null ? void 0 : e.data) == null ? void 0 : r.data) || {}, this.tideLoading = !1, this.initTideTableData(), this.initEchartData(Ta.pickDailyHeights(this.tideData, (c = (s = this.dateList) == null ? void 0 : s[this.currentIndex]) == null ? void 0 : c.dateTime)));
2843
+ ((o = e == null ? void 0 : e.data) == null ? void 0 : o.code) === 0 && (this.tideData = ((r = e == null ? void 0 : e.data) == null ? void 0 : r.data) || {}, this.tideLoading = !1, this.initTideTableData(), this.initEchartData(Ca.pickDailyHeights(this.tideData, (c = (s = this.dateList) == null ? void 0 : s[this.currentIndex]) == null ? void 0 : c.dateTime)));
2844
2844
  },
2845
2845
  initTideTableData() {
2846
2846
  var t, e;
2847
- this.tideTableData = Ta.pickDailyExtremes(this.tideData, (e = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null ? void 0 : e.dateTime);
2847
+ this.tideTableData = Ca.pickDailyExtremes(this.tideData, (e = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null ? void 0 : e.dateTime);
2848
2848
  },
2849
2849
  initEchartData(t) {
2850
2850
  this.xDate = [], this.echartData = {
@@ -2974,7 +2974,7 @@ const Kr = {
2974
2974
  }, Pl = {
2975
2975
  class: "px-1 text-center text-label font-weight-400",
2976
2976
  width: "120"
2977
- }, Cl = { class: "px-1 text-center" }, Tl = { class: "px-1 text-center" }, Sl = { class: "px-1 text-center" };
2977
+ }, Tl = { class: "px-1 text-center" }, Cl = { class: "px-1 text-center" }, Sl = { class: "px-1 text-center" };
2978
2978
  function Ml(t, e, a, i, o, r) {
2979
2979
  const s = w("VBtn"), c = w("v-card-title"), n = w("v-divider"), u = w("VBtnToggle"), h = w("v-card");
2980
2980
  return y(), O(h, { class: "tide-detail-container d-flex flex-column justify-start align-center" }, {
@@ -3089,8 +3089,8 @@ function Ml(t, e, a, i, o, r) {
3089
3089
  (y(!0), M(we, null, _e(o.tideTableData, (_, f) => {
3090
3090
  var k;
3091
3091
  return y(), M("tr", { key: f }, [
3092
- l("td", Cl, m(t.$t(`tide.${(k = _ == null ? void 0 : _.type) == null ? void 0 : k.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3093
- l("td", Tl, m(r.computeLocalTime(_ == null ? void 0 : _.date, a.station, "MM-DD HH:mm")), 1),
3092
+ l("td", Tl, m(t.$t(`tide.${(k = _ == null ? void 0 : _.type) == null ? void 0 : k.toLowerCase()}`)) + " " + m(t.$t("tide.tide")), 1),
3093
+ l("td", Cl, m(r.computeLocalTime(_ == null ? void 0 : _.date, a.station, "MM-DD HH:mm")), 1),
3094
3094
  l("td", Sl, m((_ == null ? void 0 : _.height) ?? "-") + " m", 1)
3095
3095
  ]);
3096
3096
  }), 128))
@@ -3430,7 +3430,7 @@ function Wl(t, e, a, i, o, r) {
3430
3430
  return a.simple ? A("", !0) : (y(), M("div", {
3431
3431
  key: 0,
3432
3432
  class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
3433
- style: te({ right: o.right + "px" })
3433
+ style: ee({ right: o.right + "px" })
3434
3434
  }, [
3435
3435
  l("div", null, m((s = o.lngLat) == null ? void 0 : s.lat), 1),
3436
3436
  l("div", null, m((c = o.lngLat) == null ? void 0 : c.lng), 1),
@@ -5340,7 +5340,7 @@ const as = {
5340
5340
  IdmEcaZone: di,
5341
5341
  IdmAlertZone: gi,
5342
5342
  IdmPort: Lr,
5343
- IdmLoadLine: Tr,
5343
+ IdmLoadLine: Cr,
5344
5344
  IdmTimezone: Ir,
5345
5345
  IdmVRA: Rr,
5346
5346
  IdmSpecialArea: Nr,
@@ -5414,7 +5414,7 @@ const as = {
5414
5414
  right: 10,
5415
5415
  toggle: !1,
5416
5416
  mapFeather: localStorage.getItem("mapFeathersCacheGL4") || "light",
5417
- tagLayers: [...Ca.OTHER_LAYERS.filter((t) => t.enabled)],
5417
+ tagLayers: [...Ta.OTHER_LAYERS.filter((t) => t.enabled)],
5418
5418
  layerWeight: 0,
5419
5419
  otherLayers: {},
5420
5420
  activeOtherLayers: [],
@@ -5559,11 +5559,11 @@ const as = {
5559
5559
  }, ps = { class: "text-body-2 text-center pt-1" };
5560
5560
  function us(t, e, a, i, o, r) {
5561
5561
  var $, le, se, pe, ie, ce, ue, me, de;
5562
- const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), _ = w("IdmLatLng"), f = w("IdmTerminator"), k = w("IdmTimezone"), P = w("IdmPort"), B = w("IdmAlertZone"), I = w("IdmTideStations"), C = w("IdmEcaZone"), z = w("IdmWarZone"), L = w("IdmGmdssArea"), T = w("IdmLoadLine"), v = w("IdmWorldMarine"), D = w("IdmVRA"), F = w("IdmSpecialArea"), V = w("IdmWorld12nm"), q = w("IdmChinaRoute"), Z = w("IdmIceAreas"), J = w("IdmFollowPort"), Q = w("IdmFollowPosition");
5562
+ const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), _ = w("IdmLatLng"), f = w("IdmTerminator"), k = w("IdmTimezone"), P = w("IdmPort"), B = w("IdmAlertZone"), I = w("IdmTideStations"), T = w("IdmEcaZone"), z = w("IdmWarZone"), L = w("IdmGmdssArea"), C = w("IdmLoadLine"), v = w("IdmWorldMarine"), D = w("IdmVRA"), F = w("IdmSpecialArea"), V = w("IdmWorld12nm"), q = w("IdmChinaRoute"), Z = w("IdmIceAreas"), J = w("IdmFollowPort"), Q = w("IdmFollowPosition");
5563
5563
  return y(), M("div", os, [
5564
5564
  l("div", {
5565
5565
  class: "menu-bar-box transition px-1 rounded",
5566
- style: te({ top: a.top + 10 + "px", right: o.right + "px", paddingTop: a.paddingTop + "px", height: a.menuHeight + "px" })
5566
+ style: ee({ top: a.top + 10 + "px", right: o.right + "px", paddingTop: a.paddingTop + "px", height: a.menuHeight + "px" })
5567
5567
  }, [
5568
5568
  p(c, {
5569
5569
  text: t.$t("layer.mapLayers"),
@@ -5589,7 +5589,7 @@ function us(t, e, a, i, o, r) {
5589
5589
  ], 4),
5590
5590
  l("div", {
5591
5591
  class: Ye(["available-layers transition", o.toggle ? "right-bar" : ""]),
5592
- style: te(r.listStyle)
5592
+ style: ee(r.listStyle)
5593
5593
  }, [
5594
5594
  l("div", is, [
5595
5595
  l("div", rs, m(t.$t("layer.layers")), 1),
@@ -5633,7 +5633,7 @@ function us(t, e, a, i, o, r) {
5633
5633
  (y(!0), M(we, null, _e(o.mapFeathers, (R) => (y(), M("div", {
5634
5634
  key: R.value,
5635
5635
  class: "mb-2 feather-item",
5636
- onClick: (ee) => r.handleToggleMapFeather(R)
5636
+ onClick: (te) => r.handleToggleMapFeather(R)
5637
5637
  }, [
5638
5638
  l("div", {
5639
5639
  class: Ye([o.mapFeather === R.value ? "active" : "", "img-box"])
@@ -5646,7 +5646,7 @@ function us(t, e, a, i, o, r) {
5646
5646
  (y(!0), M(we, null, _e(o.tagLayers.filter((R) => ["graticule", "day-night", "time-zones"].includes(R.key)), (R) => (y(), O(h, {
5647
5647
  key: R.key,
5648
5648
  modelValue: o.checkList,
5649
- "onUpdate:modelValue": e[0] || (e[0] = (ee) => o.checkList = ee),
5649
+ "onUpdate:modelValue": e[0] || (e[0] = (te) => o.checkList = te),
5650
5650
  value: R.key,
5651
5651
  label: t.$t(`layer.${R.locale}`),
5652
5652
  color: "primary",
@@ -5685,7 +5685,7 @@ function us(t, e, a, i, o, r) {
5685
5685
  (y(!0), M(we, null, _e(o.tagLayers.filter((R) => ["ports", "alert-zones", "tidal-stations"].includes(R.key)), (R) => (y(), O(h, {
5686
5686
  key: R.key,
5687
5687
  modelValue: o.checkList,
5688
- "onUpdate:modelValue": e[1] || (e[1] = (ee) => o.checkList = ee),
5688
+ "onUpdate:modelValue": e[1] || (e[1] = (te) => o.checkList = te),
5689
5689
  value: R.key,
5690
5690
  label: t.$t(`layer.${R.locale}`),
5691
5691
  color: "primary",
@@ -5724,7 +5724,7 @@ function us(t, e, a, i, o, r) {
5724
5724
  (y(!0), M(we, null, _e(o.tagLayers.filter((R) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(R.key)), (R) => (y(), O(h, {
5725
5725
  key: R.key,
5726
5726
  modelValue: o.checkList,
5727
- "onUpdate:modelValue": e[2] || (e[2] = (ee) => o.checkList = ee),
5727
+ "onUpdate:modelValue": e[2] || (e[2] = (te) => o.checkList = te),
5728
5728
  value: R.key,
5729
5729
  label: t.$t(`layer.${R.locale}`),
5730
5730
  color: "primary",
@@ -5839,7 +5839,7 @@ function us(t, e, a, i, o, r) {
5839
5839
  forecastModel: a.forecastModel,
5840
5840
  "before-layer": "empty-layer-3"
5841
5841
  }, t.$attrs), null, 16, ["map", "gateway", "token", "defaultMeteoToken", "show", "theme", "realTime", "forecastModel"])) : A("", !0),
5842
- a.map ? (y(), O(C, N({
5842
+ a.map ? (y(), O(T, N({
5843
5843
  key: 6,
5844
5844
  map: a.map,
5845
5845
  zone: (ie = o.otherLayers) == null ? void 0 : ie["eca-zones"]
@@ -5854,7 +5854,7 @@ function us(t, e, a, i, o, r) {
5854
5854
  map: a.map,
5855
5855
  area: (ue = o.otherLayers) == null ? void 0 : ue["gmdss-areas"]
5856
5856
  }, t.$attrs), null, 16, ["map", "area"])) : A("", !0),
5857
- a.map ? (y(), O(T, N({
5857
+ a.map ? (y(), O(C, N({
5858
5858
  key: 9,
5859
5859
  map: a.map,
5860
5860
  show: o.checkList.includes("load-lines")
@@ -6149,8 +6149,8 @@ class je {
6149
6149
  h.resolution && a.uniform2f(h.resolution, a.canvas.width * e.ratio, a.canvas.height * e.ratio), a.activeTexture(a.TEXTURE0), a.bindTexture(a.TEXTURE_2D, o), h.image && a.uniform1i(h.image, 0), a.activeTexture(a.TEXTURE1), a.bindTexture(a.TEXTURE_2D, r), h.color && a.uniform1i(h.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (h.uvRange && a.uniform2f(h.uvRange, c.uvRange[0], c.uvRange[1]), h.sRange && a.uniform2f(h.sRange, c.sRange[0], c.sRange[1])), h.scale && a.uniform1f(h.scale, (c == null ? void 0 : c.scale) || 1);
6150
6150
  const b = e.getBoundPixel(), x = e.map.getZoom() + 1, _ = e.getWorldCopy(b, x);
6151
6151
  for (const f of _) {
6152
- const k = (f[0] - b[0]) * e.ratio, P = (f[1] - b[3]) * e.ratio, B = f[2] * e.ratio, [I, C, z, L] = [k, B + k, P, B + P], T = new Float32Array([I, z, C, z, I, L, I, L, C, z, C, L]);
6153
- a.bindBuffer(a.ARRAY_BUFFER, s), a.bufferData(a.ARRAY_BUFFER, T, a.STATIC_DRAW), a.drawArrays(a.TRIANGLES, 0, 6);
6152
+ const k = (f[0] - b[0]) * e.ratio, P = (f[1] - b[3]) * e.ratio, B = f[2] * e.ratio, [I, T, z, L] = [k, B + k, P, B + P], C = new Float32Array([I, z, T, z, I, L, I, L, T, z, T, L]);
6153
+ a.bindBuffer(a.ARRAY_BUFFER, s), a.bufferData(a.ARRAY_BUFFER, C, a.STATIC_DRAW), a.drawArrays(a.TRIANGLES, 0, 6);
6154
6154
  }
6155
6155
  } catch (h) {
6156
6156
  console.log(`render failed...${h}`);
@@ -6247,9 +6247,9 @@ he(ne, "fragmentSchema", `
6247
6247
  vec4 color = texture2D(u_color, vec2(rgba.r, 0));
6248
6248
  gl_FragColor = color;
6249
6249
  }`);
6250
- class Te {
6250
+ class Ce {
6251
6251
  }
6252
- he(Te, "vertexSchema", `
6252
+ he(Ce, "vertexSchema", `
6253
6253
  precision mediump float;
6254
6254
 
6255
6255
  attribute float a_index; // 索引
@@ -6273,7 +6273,7 @@ he(Te, "vertexSchema", `
6273
6273
  gl_PointSize = 1.0;
6274
6274
  // gl_PointSize = u_point;
6275
6275
  gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
6276
- }`), he(Te, "fragmentSchema", `
6276
+ }`), he(Ce, "fragmentSchema", `
6277
6277
  precision mediump float;
6278
6278
 
6279
6279
  uniform sampler2D u_factor;
@@ -6295,7 +6295,7 @@ he(Te, "vertexSchema", `
6295
6295
 
6296
6296
  float f = 1.0 - uv.b;
6297
6297
  gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
6298
- }`), he(Te, "quadVertSchema", `
6298
+ }`), he(Ce, "quadVertSchema", `
6299
6299
  precision mediump float;
6300
6300
 
6301
6301
  attribute vec2 a_pos;
@@ -6305,7 +6305,7 @@ he(Te, "vertexSchema", `
6305
6305
  void main() {
6306
6306
  v_tex_pos = a_pos;
6307
6307
  gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
6308
- }`), he(Te, "screenFragmentSchema", `
6308
+ }`), he(Ce, "screenFragmentSchema", `
6309
6309
  precision mediump float;
6310
6310
 
6311
6311
  uniform sampler2D u_screen;
@@ -6317,7 +6317,7 @@ he(Te, "vertexSchema", `
6317
6317
  vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
6318
6318
  // a hack to guarantee opacity fade out even with a value close to 1.0
6319
6319
  gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
6320
- }`), he(Te, "updateFragmentSchema", `
6320
+ }`), he(Ce, "updateFragmentSchema", `
6321
6321
  precision mediump float;
6322
6322
 
6323
6323
  uniform sampler2D u_particles;
@@ -6683,11 +6683,11 @@ const xs = {
6683
6683
  ];
6684
6684
  this.wrapper = this.webgl.bindParticle(
6685
6685
  this.particleContext,
6686
- Te.vertexSchema,
6687
- Te.fragmentSchema,
6688
- Te.quadVertSchema,
6689
- Te.screenFragmentSchema,
6690
- Te.updateFragmentSchema
6686
+ Ce.vertexSchema,
6687
+ Ce.fragmentSchema,
6688
+ Ce.quadVertSchema,
6689
+ Ce.screenFragmentSchema,
6690
+ Ce.updateFragmentSchema
6691
6691
  ), this.wrapper.color = this.webgl.setup(this.particleContext, t, !0, 16, 16), this.wrapper = { ...this.wrapper, ...this.webgl.setupParticle(this.particleContext, 9e3), ...this.webgl.resize(this.viewport, this.particleContext) }, this.viewport.map.on("resize", this.handleResize), this.viewport.map.on("movestart", this.handlePause), this.viewport.map.on("moveend", this.handlePlay);
6692
6692
  }
6693
6693
  },
@@ -6731,7 +6731,7 @@ function _s(t, e, a, i, o, r) {
6731
6731
  return (s = a.factor) != null && s.active ? (y(), M("div", vs, [
6732
6732
  l("div", {
6733
6733
  class: "legend-bars-gl4 wind",
6734
- style: te({ right: o.right + "px" })
6734
+ style: ee({ right: o.right + "px" })
6735
6735
  }, e[0] || (e[0] = [
6736
6736
  l("span", null, "kts", -1),
6737
6737
  l("span", null, "0", -1),
@@ -6903,7 +6903,7 @@ function Ls(t, e, a, i, o, r) {
6903
6903
  return null;
6904
6904
  }
6905
6905
  const Ps = /* @__PURE__ */ Y(zs, [["render", Ls]]);
6906
- const Cs = {
6906
+ const Ts = {
6907
6907
  name: "IdmCurrentParticle",
6908
6908
  props: {
6909
6909
  simple: {
@@ -7021,11 +7021,11 @@ const Cs = {
7021
7021
  ];
7022
7022
  this.wrapper = this.webgl.bindParticle(
7023
7023
  this.particleContext,
7024
- Te.vertexSchema,
7025
- Te.fragmentSchema,
7026
- Te.quadVertSchema,
7027
- Te.screenFragmentSchema,
7028
- Te.updateFragmentSchema
7024
+ Ce.vertexSchema,
7025
+ Ce.fragmentSchema,
7026
+ Ce.quadVertSchema,
7027
+ Ce.screenFragmentSchema,
7028
+ Ce.updateFragmentSchema
7029
7029
  ), this.wrapper.color = this.webgl.setup(this.particleContext, t, !0, 16, 16), this.wrapper = {
7030
7030
  ...this.wrapper,
7031
7031
  ...this.webgl.setupParticle(this.particleContext, 9e3),
@@ -7067,13 +7067,13 @@ const Cs = {
7067
7067
  (t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
7068
7068
  }
7069
7069
  }
7070
- }, Ts = { key: 0 };
7070
+ }, Cs = { key: 0 };
7071
7071
  function Ss(t, e, a, i, o, r) {
7072
7072
  var s;
7073
- return (s = a.factor) != null && s.active ? (y(), M("div", Ts, [
7073
+ return (s = a.factor) != null && s.active ? (y(), M("div", Cs, [
7074
7074
  l("div", {
7075
7075
  class: "legend-bars-gl4 current",
7076
- style: te({ right: o.right + "px" })
7076
+ style: ee({ right: o.right + "px" })
7077
7077
  }, e[0] || (e[0] = [
7078
7078
  l("span", null, "kts", -1),
7079
7079
  l("span", null, "0", -1),
@@ -7085,7 +7085,7 @@ function Ss(t, e, a, i, o, r) {
7085
7085
  ]), 4)
7086
7086
  ])) : A("", !0);
7087
7087
  }
7088
- const Ms = /* @__PURE__ */ Y(Cs, [["render", Ss]]);
7088
+ const Ms = /* @__PURE__ */ Y(Ts, [["render", Ss]]);
7089
7089
  const Is = {
7090
7090
  name: "IdmSigWave",
7091
7091
  props: {
@@ -7201,7 +7201,7 @@ function As(t, e, a, i, o, r) {
7201
7201
  return (s = a.factor) != null && s.active ? (y(), M("div", Ds, [
7202
7202
  l("div", {
7203
7203
  class: "legend-bars-gl4 sig-wave",
7204
- style: te({ right: o.right + "px" })
7204
+ style: ee({ right: o.right + "px" })
7205
7205
  }, e[0] || (e[0] = [
7206
7206
  l("span", null, "m", -1),
7207
7207
  l("span", null, "0.5", -1),
@@ -7468,7 +7468,7 @@ function Fs(t, e, a, i, o, r) {
7468
7468
  return (s = a.factor) != null && s.active ? (y(), M("div", js, [
7469
7469
  l("div", {
7470
7470
  class: "legend-bars-gl4 swell",
7471
- style: te({ right: o.right + "px" })
7471
+ style: ee({ right: o.right + "px" })
7472
7472
  }, e[0] || (e[0] = [
7473
7473
  l("span", null, "m", -1),
7474
7474
  l("span", null, "0.5", -1),
@@ -7738,7 +7738,7 @@ function Ys(t, e, a, i, o, r) {
7738
7738
  return (s = a.factor) != null && s.active ? (y(), M("div", Zs, [
7739
7739
  l("div", {
7740
7740
  class: "legend-bars-gl4 ice-edge",
7741
- style: te({ right: o.right + "px" })
7741
+ style: ee({ right: o.right + "px" })
7742
7742
  }, e[0] || (e[0] = [
7743
7743
  l("span", { style: { color: "rgba(var(--v-theme-black), 0.7)" } }, "%", -1),
7744
7744
  l("span", null, null, -1),
@@ -7855,7 +7855,7 @@ function $s(t, e, a, i, o, r) {
7855
7855
  return (s = a.factor) != null && s.active ? (y(), M("div", Ks, [
7856
7856
  l("div", {
7857
7857
  class: "legend-bars-gl4 ice-cover",
7858
- style: te({ right: o.right + "px" })
7858
+ style: ee({ right: o.right + "px" })
7859
7859
  }, e[0] || (e[0] = [
7860
7860
  l("span", null, "%", -1),
7861
7861
  l("span", null, "20", -1),
@@ -7973,7 +7973,7 @@ function tn(t, e, a, i, o, r) {
7973
7973
  return (s = a.factor) != null && s.active ? (y(), M("div", en, [
7974
7974
  l("div", {
7975
7975
  class: "legend-bars-gl4 ice-thickness",
7976
- style: te({ right: o.right + "px" })
7976
+ style: ee({ right: o.right + "px" })
7977
7977
  }, e[0] || (e[0] = [
7978
7978
  l("span", null, "m", -1),
7979
7979
  l("span", null, "0", -1),
@@ -8093,7 +8093,7 @@ function ln(t, e, a, i, o, r) {
8093
8093
  return (s = a.factor) != null && s.active ? (y(), M("div", rn, [
8094
8094
  l("div", {
8095
8095
  class: "legend-bars-gl4 precip3h",
8096
- style: te({ right: o.right + "px" })
8096
+ style: ee({ right: o.right + "px" })
8097
8097
  }, e[0] || (e[0] = [
8098
8098
  l("span", null, "mm", -1),
8099
8099
  l("span", null, "1.5", -1),
@@ -8204,7 +8204,7 @@ function mn(t, e, a, i, o, r) {
8204
8204
  return (s = a.factor) != null && s.active ? (y(), M("div", cn, [
8205
8205
  l("div", {
8206
8206
  class: "legend-bars-gl4 visibility",
8207
- style: te({ right: o.right + "px" })
8207
+ style: ee({ right: o.right + "px" })
8208
8208
  }, e[0] || (e[0] = [
8209
8209
  l("span", null, "nm", -1),
8210
8210
  l("span", null, "0", -1),
@@ -8316,7 +8316,7 @@ function un(t, e, a, i, o, r) {
8316
8316
  return (s = a.factor) != null && s.active ? (y(), M("div", pn, [
8317
8317
  l("div", {
8318
8318
  class: "legend-bars-gl4 water-temp",
8319
- style: te({ right: o.right + "px" })
8319
+ style: ee({ right: o.right + "px" })
8320
8320
  }, e[0] || (e[0] = [
8321
8321
  l("span", null, "°C", -1),
8322
8322
  l("span", null, "0", -1),
@@ -8439,7 +8439,7 @@ function bn(t, e, a, i, o, r) {
8439
8439
  return (s = a.factor) != null && s.active ? (y(), M("div", yn, [
8440
8440
  l("div", {
8441
8441
  class: "legend-bars-gl4 temp",
8442
- style: te({ right: o.right + "px" })
8442
+ style: ee({ right: o.right + "px" })
8443
8443
  }, e[0] || (e[0] = [
8444
8444
  l("span", null, "°C", -1),
8445
8445
  l("span", null, "-20", -1),
@@ -8529,8 +8529,8 @@ const xn = {
8529
8529
  toggle: !1,
8530
8530
  autoActive: !0,
8531
8531
  weatherWeight: 0,
8532
- allLayers: [...Ca.WEATHER_LAYERS],
8533
- tagLayers: [...Ca.WEATHER_LAYERS.filter((t) => !t.hide)],
8532
+ allLayers: [...Ta.WEATHER_LAYERS],
8533
+ tagLayers: [...Ta.WEATHER_LAYERS.filter((t) => !t.hide)],
8534
8534
  checkList: [],
8535
8535
  renderKey: "",
8536
8536
  iceToggleValue: void 0,
@@ -8746,7 +8746,7 @@ const xn = {
8746
8746
  if (this.map) {
8747
8747
  const _ = ((o = this.map) == null ? void 0 : o.getZoom()) + 1, f = (r = this.map) == null ? void 0 : r.getBounds(), k = `${f._sw.lng},${f._sw.lat},${f._ne.lng},${f._ne.lat}`;
8748
8748
  if (this.particleFactor && ((s = this.$refs.layer) != null && s.autoActive)) {
8749
- const P = Ca.WEATHER_LAYERS.find((B) => {
8749
+ const P = Ta.WEATHER_LAYERS.find((B) => {
8750
8750
  var I;
8751
8751
  return ((I = B.peer) == null ? void 0 : I.weight) === this.particleFactor.weight;
8752
8752
  });
@@ -8764,45 +8764,45 @@ const xn = {
8764
8764
  }
8765
8765
  );
8766
8766
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + a), console.log("weather links elapsed: ", i, ", total: ", a += i), ((c = I == null ? void 0 : I.data) == null ? void 0 : c.code) === 0) {
8767
- const C = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, z = [];
8768
- for (const T in C)
8767
+ const T = (n = I == null ? void 0 : I.data) == null ? void 0 : n.data, z = [];
8768
+ for (const C in T)
8769
8769
  z.push(
8770
- De.get(C[T], {
8770
+ De.get(T[C], {
8771
8771
  headers: {
8772
8772
  Authorization: this.defaultMeteoToken,
8773
- key: T
8773
+ key: C
8774
8774
  },
8775
- responseType: /\.(jpg|png)$/.test(C[T]) ? "blob" : "json"
8775
+ responseType: /\.(jpg|png)$/.test(T[C]) ? "blob" : "json"
8776
8776
  }).catch((v) => {
8777
- console.log(`[${T}] fetch layer error: ${v}`);
8777
+ console.log(`[${C}] fetch layer error: ${v}`);
8778
8778
  })
8779
8779
  );
8780
8780
  const L = await Promise.all(z);
8781
- this.weatherLayers = {}, L.map((T) => {
8781
+ this.weatherLayers = {}, L.map((C) => {
8782
8782
  var F, V, q, Z;
8783
- const v = ((F = T == null ? void 0 : T.data) == null ? void 0 : F.data) || (T == null ? void 0 : T.data);
8784
- let D = (q = (V = T == null ? void 0 : T.config) == null ? void 0 : V.headers) == null ? void 0 : q.key;
8783
+ const v = ((F = C == null ? void 0 : C.data) == null ? void 0 : F.data) || (C == null ? void 0 : C.data);
8784
+ let D = (q = (V = C == null ? void 0 : C.config) == null ? void 0 : V.headers) == null ? void 0 : q.key;
8785
8785
  D && v && (this.weatherLayers[D] = {
8786
8786
  raw: v,
8787
- type: ((Z = T == null ? void 0 : T.config) == null ? void 0 : Z.responseType) === "blob" ? "image" : "json",
8787
+ type: ((Z = C == null ? void 0 : C.config) == null ? void 0 : Z.responseType) === "blob" ? "image" : "json",
8788
8788
  etime: I.data.etime
8789
8789
  });
8790
8790
  });
8791
8791
  }
8792
8792
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + a), console.log("weather layers elapsed: ", i, ", total: ", a += i), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
8793
- const C = (u = this.weatherLayers["swell-direction"]) == null ? void 0 : u.raw, z = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
8793
+ const T = (u = this.weatherLayers["swell-direction"]) == null ? void 0 : u.raw, z = (h = this.weatherLayers["swell-height"]) == null ? void 0 : h.raw;
8794
8794
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
8795
8795
  type: "json",
8796
- direction: C,
8796
+ direction: T,
8797
8797
  height: { raw: z },
8798
8798
  etime: I.data.etime
8799
8799
  };
8800
8800
  }
8801
8801
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
8802
- const C = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, z = (x = this.weatherLayers["current-speed"]) == null ? void 0 : x.raw;
8802
+ const T = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, z = (x = this.weatherLayers["current-speed"]) == null ? void 0 : x.raw;
8803
8803
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
8804
8804
  type: "json",
8805
- direction: C,
8805
+ direction: T,
8806
8806
  speed: { raw: z },
8807
8807
  etime: I.data.etime
8808
8808
  };
@@ -8872,41 +8872,41 @@ const xn = {
8872
8872
  let I = [];
8873
8873
  if (P === "swell") {
8874
8874
  B = !0;
8875
- const C = ((c = this.weatherLayers[P]) == null ? void 0 : c.direction) || {};
8876
- for (const L in C)
8875
+ const T = ((c = this.weatherLayers[P]) == null ? void 0 : c.direction) || {};
8876
+ for (const L in T)
8877
8877
  if (L > f && L < k && (!(o <= this.zoom) || L % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8878
- const T = C[L].lng;
8879
- x > _ ? T.forEach((v, D) => {
8878
+ const C = T[L].lng;
8879
+ x > _ ? C.forEach((v, D) => {
8880
8880
  var F, V, q, Z, J, Q;
8881
8881
  if (o < 2) {
8882
8882
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8883
8883
  const $ = U.point([v, L], {
8884
- val: ((F = C[L].val) == null ? void 0 : F[D]) || ((V = C[L].dir) == null ? void 0 : V[D]),
8885
- spd: (q = C[L].spd) == null ? void 0 : q[D]
8884
+ val: ((F = T[L].val) == null ? void 0 : F[D]) || ((V = T[L].dir) == null ? void 0 : V[D]),
8885
+ spd: (q = T[L].spd) == null ? void 0 : q[D]
8886
8886
  });
8887
8887
  I.push($);
8888
8888
  }
8889
8889
  } else if ((v >= x && v <= 180 || v >= -180 && v <= _) && (!(o <= this.zoom) || v % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8890
8890
  const $ = U.point([v, L], {
8891
- val: ((Z = C[L].val) == null ? void 0 : Z[D]) || ((J = C[L].dir) == null ? void 0 : J[D]),
8892
- spd: (Q = C[L].spd) == null ? void 0 : Q[D]
8891
+ val: ((Z = T[L].val) == null ? void 0 : Z[D]) || ((J = T[L].dir) == null ? void 0 : J[D]),
8892
+ spd: (Q = T[L].spd) == null ? void 0 : Q[D]
8893
8893
  });
8894
8894
  I.push($);
8895
8895
  }
8896
- }) : T.forEach((v, D) => {
8896
+ }) : C.forEach((v, D) => {
8897
8897
  var F, V, q, Z, J, Q;
8898
8898
  if (x < 2) {
8899
8899
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8900
8900
  const $ = U.point([v, L], {
8901
- val: ((F = C[L].val) == null ? void 0 : F[D]) || ((V = C[L].dir) == null ? void 0 : V[D]),
8902
- spd: (q = C[L].spd) == null ? void 0 : q[D]
8901
+ val: ((F = T[L].val) == null ? void 0 : F[D]) || ((V = T[L].dir) == null ? void 0 : V[D]),
8902
+ spd: (q = T[L].spd) == null ? void 0 : q[D]
8903
8903
  });
8904
8904
  I.push($);
8905
8905
  }
8906
8906
  } else if (v >= x && v <= _ && (!(o <= this.zoom) || v % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8907
8907
  const $ = U.point([v, L], {
8908
- val: ((Z = C[L].val) == null ? void 0 : Z[D]) || ((J = C[L].dir) == null ? void 0 : J[D]),
8909
- spd: (Q = C[L].spd) == null ? void 0 : Q[D]
8908
+ val: ((Z = T[L].val) == null ? void 0 : Z[D]) || ((J = T[L].dir) == null ? void 0 : J[D]),
8909
+ spd: (Q = T[L].spd) == null ? void 0 : Q[D]
8910
8910
  });
8911
8911
  I.push($);
8912
8912
  }
@@ -8917,12 +8917,12 @@ const xn = {
8917
8917
  if (z) {
8918
8918
  if (!z.data) {
8919
8919
  const L = [];
8920
- for (const T in (n = z.raw) == null ? void 0 : n.LineString) {
8921
- const v = z.raw.LineString[T];
8920
+ for (const C in (n = z.raw) == null ? void 0 : n.LineString) {
8921
+ const v = z.raw.LineString[C];
8922
8922
  for (const D of v)
8923
8923
  L.push(
8924
8924
  U.lineString(D, {
8925
- val: Number(T)
8925
+ val: Number(C)
8926
8926
  })
8927
8927
  );
8928
8928
  z.data = U.featureCollection(L);
@@ -8936,41 +8936,41 @@ const xn = {
8936
8936
  }
8937
8937
  } else if (P === "current") {
8938
8938
  B = !0;
8939
- const C = ((u = this.weatherLayers[P]) == null ? void 0 : u.direction) || {};
8940
- for (const L in C)
8939
+ const T = ((u = this.weatherLayers[P]) == null ? void 0 : u.direction) || {};
8940
+ for (const L in T)
8941
8941
  if (L > f && L < k && (!(o <= this.zoom) || L % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8942
- const T = C[L].lng;
8943
- x > _ ? T.forEach((v, D) => {
8942
+ const C = T[L].lng;
8943
+ x > _ ? C.forEach((v, D) => {
8944
8944
  var F, V, q, Z, J, Q;
8945
8945
  if (o < 2) {
8946
8946
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8947
8947
  const $ = U.point([v, L], {
8948
- val: ((F = C[L].val) == null ? void 0 : F[D]) || ((V = C[L].dir) == null ? void 0 : V[D]),
8949
- spd: (q = C[L].spd) == null ? void 0 : q[D]
8948
+ val: ((F = T[L].val) == null ? void 0 : F[D]) || ((V = T[L].dir) == null ? void 0 : V[D]),
8949
+ spd: (q = T[L].spd) == null ? void 0 : q[D]
8950
8950
  });
8951
8951
  I.push($);
8952
8952
  }
8953
8953
  } else if ((v >= x && v <= 180 || v >= -180 && v <= _) && (!(o <= this.zoom) || v % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8954
8954
  const $ = U.point([v, L], {
8955
- val: ((Z = C[L].val) == null ? void 0 : Z[D]) || ((J = C[L].dir) == null ? void 0 : J[D]),
8956
- spd: (Q = C[L].spd) == null ? void 0 : Q[D]
8955
+ val: ((Z = T[L].val) == null ? void 0 : Z[D]) || ((J = T[L].dir) == null ? void 0 : J[D]),
8956
+ spd: (Q = T[L].spd) == null ? void 0 : Q[D]
8957
8957
  });
8958
8958
  I.push($);
8959
8959
  }
8960
- }) : T.forEach((v, D) => {
8960
+ }) : C.forEach((v, D) => {
8961
8961
  var F, V, q, Z, J, Q;
8962
8962
  if (x < 2) {
8963
8963
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8964
8964
  const $ = U.point([v, L], {
8965
- val: ((F = C[L].val) == null ? void 0 : F[D]) || ((V = C[L].dir) == null ? void 0 : V[D]),
8966
- spd: (q = C[L].spd) == null ? void 0 : q[D]
8965
+ val: ((F = T[L].val) == null ? void 0 : F[D]) || ((V = T[L].dir) == null ? void 0 : V[D]),
8966
+ spd: (q = T[L].spd) == null ? void 0 : q[D]
8967
8967
  });
8968
8968
  I.push($);
8969
8969
  }
8970
8970
  } else if (v >= x && v <= _ && (!(o <= this.zoom) || v % (o < this.zoom / 2 ? 5 : 3) === 0)) {
8971
8971
  const $ = U.point([v, L], {
8972
- val: ((Z = C[L].val) == null ? void 0 : Z[D]) || ((J = C[L].dir) == null ? void 0 : J[D]),
8973
- spd: (Q = C[L].spd) == null ? void 0 : Q[D]
8972
+ val: ((Z = T[L].val) == null ? void 0 : Z[D]) || ((J = T[L].dir) == null ? void 0 : J[D]),
8973
+ spd: (Q = T[L].spd) == null ? void 0 : Q[D]
8974
8974
  });
8975
8975
  I.push($);
8976
8976
  }
@@ -8980,58 +8980,58 @@ const xn = {
8980
8980
  const z = this.weatherLayers[P].speed;
8981
8981
  if (z) {
8982
8982
  if (!z.data) {
8983
- const T = [];
8983
+ const C = [];
8984
8984
  for (const v in (h = z.raw) == null ? void 0 : h.Polygon) {
8985
8985
  const D = z.raw.Polygon[v];
8986
8986
  for (const F of D)
8987
- T.push(
8987
+ C.push(
8988
8988
  U.polygon(F, {
8989
8989
  val: Number(v)
8990
8990
  })
8991
8991
  );
8992
8992
  }
8993
- z.data = U.featureCollection(T);
8993
+ z.data = U.featureCollection(C);
8994
8994
  }
8995
- const L = o < this.zoom ? z.data.features.filter((T) => T.properties.val > 0.5) : z.data.features;
8995
+ const L = o < this.zoom ? z.data.features.filter((C) => C.properties.val > 0.5) : z.data.features;
8996
8996
  I = I.concat(L), a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", a, ", total: ", e += a);
8997
8997
  }
8998
8998
  } else if (P === "wind") {
8999
8999
  B = !0;
9000
- const C = this.weatherLayers.wind.raw;
9001
- for (const z in C)
9000
+ const T = this.weatherLayers.wind.raw;
9001
+ for (const z in T)
9002
9002
  if (z > f && z < k && (!(o <= this.zoom) || z % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9003
- const L = C[z].lng;
9004
- x > _ ? L.forEach((T, v) => {
9003
+ const L = T[z].lng;
9004
+ x > _ ? L.forEach((C, v) => {
9005
9005
  var D, F, V, q;
9006
9006
  if (o < 2) {
9007
- if ((T >= 0 && T <= 360 || T >= -360 && T <= 0) && T % 10 === 0) {
9008
- const Z = U.point([T, z], {
9009
- dir: ((D = C[z].val) == null ? void 0 : D[v]) || ((F = C[z].dir) == null ? void 0 : F[v]),
9010
- spd: C[z].spd[v]
9007
+ if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9008
+ const Z = U.point([C, z], {
9009
+ dir: ((D = T[z].val) == null ? void 0 : D[v]) || ((F = T[z].dir) == null ? void 0 : F[v]),
9010
+ spd: T[z].spd[v]
9011
9011
  });
9012
9012
  I.push(Z);
9013
9013
  }
9014
- } else if ((T >= x && T <= 180 || T >= -180 && T <= _) && (!(o <= this.zoom) || T % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9015
- const Z = U.point([T, z], {
9016
- dir: ((V = C[z].val) == null ? void 0 : V[v]) || ((q = C[z].dir) == null ? void 0 : q[v]),
9017
- spd: C[z].spd[v]
9014
+ } else if ((C >= x && C <= 180 || C >= -180 && C <= _) && (!(o <= this.zoom) || C % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9015
+ const Z = U.point([C, z], {
9016
+ dir: ((V = T[z].val) == null ? void 0 : V[v]) || ((q = T[z].dir) == null ? void 0 : q[v]),
9017
+ spd: T[z].spd[v]
9018
9018
  });
9019
9019
  I.push(Z);
9020
9020
  }
9021
- }) : L.forEach((T, v) => {
9021
+ }) : L.forEach((C, v) => {
9022
9022
  var D, F, V, q;
9023
9023
  if (o < 2) {
9024
- if ((T >= 0 && T <= 360 || T >= -360 && T <= 0) && T % 10 === 0) {
9025
- const Z = U.point([T, z], {
9026
- dir: ((D = C[z].val) == null ? void 0 : D[v]) || ((F = C[z].dir) == null ? void 0 : F[v]),
9027
- spd: C[z].spd[v]
9024
+ if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9025
+ const Z = U.point([C, z], {
9026
+ dir: ((D = T[z].val) == null ? void 0 : D[v]) || ((F = T[z].dir) == null ? void 0 : F[v]),
9027
+ spd: T[z].spd[v]
9028
9028
  });
9029
9029
  I.push(Z);
9030
9030
  }
9031
- } else if (T >= x && T <= _ && (!(o <= this.zoom) || T % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9032
- const Z = U.point([T, z], {
9033
- dir: ((V = C[z].val) == null ? void 0 : V[v]) || ((q = C[z].dir) == null ? void 0 : q[v]),
9034
- spd: C[z].spd[v]
9031
+ } else if (C >= x && C <= _ && (!(o <= this.zoom) || C % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9032
+ const Z = U.point([C, z], {
9033
+ dir: ((V = T[z].val) == null ? void 0 : V[v]) || ((q = T[z].dir) == null ? void 0 : q[v]),
9034
+ spd: T[z].spd[v]
9035
9035
  });
9036
9036
  I.push(Z);
9037
9037
  }
@@ -9043,33 +9043,33 @@ const xn = {
9043
9043
  I = this.weatherLayers[P].data;
9044
9044
  else {
9045
9045
  B = !0;
9046
- const C = this.weatherLayers[P].raw;
9047
- if (C) {
9046
+ const T = this.weatherLayers[P].raw;
9047
+ if (T) {
9048
9048
  const z = [];
9049
- for (const L in C.Polygon) {
9050
- const T = C.Polygon[L];
9051
- for (const v of T)
9049
+ for (const L in T.Polygon) {
9050
+ const C = T.Polygon[L];
9051
+ for (const v of C)
9052
9052
  z.push(
9053
9053
  U.polygon(v, {
9054
9054
  val: Number(L)
9055
9055
  })
9056
9056
  );
9057
9057
  }
9058
- for (const L in C.MultiPolygon) {
9059
- const T = C.MultiPolygon[L];
9060
- for (const v of T)
9058
+ for (const L in T.MultiPolygon) {
9059
+ const C = T.MultiPolygon[L];
9060
+ for (const v of C)
9061
9061
  z.push(
9062
9062
  U.multiPolygon(v, {
9063
9063
  val: Number(L)
9064
9064
  })
9065
9065
  );
9066
9066
  }
9067
- for (const L in C.Point) {
9068
- const T = C.Point[L];
9069
- for (let v = 0; v < ((b = T.lng) == null ? void 0 : b.length); v++)
9067
+ for (const L in T.Point) {
9068
+ const C = T.Point[L];
9069
+ for (let v = 0; v < ((b = C.lng) == null ? void 0 : b.length); v++)
9070
9070
  z.push(
9071
- U.point([T.lng[v], L], {
9072
- val: Number(T.val[v])
9071
+ U.point([C.lng[v], L], {
9072
+ val: Number(C.val[v])
9073
9073
  })
9074
9074
  );
9075
9075
  }
@@ -9082,24 +9082,24 @@ const xn = {
9082
9082
  I = this.weatherLayers[P].data;
9083
9083
  else {
9084
9084
  B = !0;
9085
- const C = this.weatherLayers[P].raw;
9086
- if (C) {
9085
+ const T = this.weatherLayers[P].raw;
9086
+ if (T) {
9087
9087
  const z = [];
9088
- for (const L in C.LineString) {
9089
- const T = C.LineString[L];
9090
- for (const v of T)
9088
+ for (const L in T.LineString) {
9089
+ const C = T.LineString[L];
9090
+ for (const v of C)
9091
9091
  z.push(
9092
9092
  U.lineString(v, {
9093
9093
  val: Number(L)
9094
9094
  })
9095
9095
  );
9096
9096
  }
9097
- for (const L in C.Point)
9098
- C.Point[L].lng.forEach((T, v) => {
9099
- T = X.convertToStdLng(T), z.push(
9100
- U.point([T, L], {
9101
- val: C.Point[L].val[v],
9102
- type: C.Point[L].type[v]
9097
+ for (const L in T.Point)
9098
+ T.Point[L].lng.forEach((C, v) => {
9099
+ C = X.convertToStdLng(C), z.push(
9100
+ U.point([C, L], {
9101
+ val: T.Point[L].val[v],
9102
+ type: T.Point[L].type[v]
9103
9103
  })
9104
9104
  );
9105
9105
  });
@@ -9140,7 +9140,7 @@ const xn = {
9140
9140
  }, kn = { class: "d-flex flex-row justify-center align-center" }, zn = { class: "text-caption" }, Ln = { class: "d-flex flex-row justify-center align-center" }, Pn = {
9141
9141
  key: 0,
9142
9142
  style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
9143
- }, Cn = { class: "text-caption px-2" }, Tn = { class: "d-flex flex-row justify-start align-center" }, Sn = {
9143
+ }, Tn = { class: "text-caption px-2" }, Cn = { class: "d-flex flex-row justify-start align-center" }, Sn = {
9144
9144
  class: "d-flex flex-row justify-center align-center",
9145
9145
  style: { width: "40px" }
9146
9146
  }, Mn = { class: "text-caption" }, In = { class: "header-box d-flex justify-space-between align-center px-4" }, Dn = { class: "d-flex justify-start align-center ga-3" }, An = { class: "text-h5 font-weight-medium" }, Rn = {
@@ -9154,12 +9154,12 @@ const xn = {
9154
9154
  class: "d-flex justify-start align-center ga-4 pl-6"
9155
9155
  }, Nn = { class: "text-body-1 py-2" }, En = { class: "text-body-1 font-weight-medium" }, jn = { class: "text-body-2 text-label" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Un = { class: "text-body-1 font-weight-medium" }, Wn = { class: "text-body-2 text-label" }, Gn = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label mb-3" }, Zn = { class: "text-body-1 py-2" }, Yn = { class: "text-body-1 font-weight-medium" }, qn = { class: "text-body-2 text-label" }, Xn = { class: "text-body-2 text-label" }, Kn = { class: "text-body-2 text-label mb-3" }, $n = { class: "text-body-1 font-weight-medium" }, Jn = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label" }, ec = { class: "text-body-2 text-label mb-3" }, tc = { class: "text-body-1 py-2" }, ac = { class: "text-body-1 font-weight-medium" }, oc = { class: "text-body-2 text-label" }, ic = { class: "text-body-2 text-label" }, rc = { class: "text-body-2 text-label mb-3" };
9156
9156
  function lc(t, e, a, i, o, r) {
9157
- var pe, ie, ce, ue, me, de, R, ee, ye, xe, Le, Pe, ve, Me, Ce;
9158
- const s = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"), _ = w("VSwitch"), f = w("VBtnToggle"), k = w("VCardTitle"), P = w("VCardItem"), B = w("VCheckbox"), I = w("VRadio"), C = w("IdmWindBarb"), z = w("IdmSigWaveHeight"), L = w("IdmCurrentDirection"), T = w("IdmPrmsl"), v = w("IdmWindParticle"), D = w("IdmCurrentParticle"), F = w("IdmWave"), V = w("IdmSwell"), q = w("IdmIceEdge"), Z = w("IdmIceCover"), J = w("IdmIceThickness"), Q = w("IdmPrecip3h"), $ = w("IdmVisibility"), le = w("IdmWaterTemp"), se = w("IdmTemp");
9157
+ var pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve, Me, Te;
9158
+ const s = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), b = w("VDivider"), x = w("VCard"), _ = w("VSwitch"), f = w("VBtnToggle"), k = w("VCardTitle"), P = w("VCardItem"), B = w("VCheckbox"), I = w("VRadio"), T = w("IdmWindBarb"), z = w("IdmSigWaveHeight"), L = w("IdmCurrentDirection"), C = w("IdmPrmsl"), v = w("IdmWindParticle"), D = w("IdmCurrentParticle"), F = w("IdmWave"), V = w("IdmSwell"), q = w("IdmIceEdge"), Z = w("IdmIceCover"), J = w("IdmIceThickness"), Q = w("IdmPrecip3h"), $ = w("IdmVisibility"), le = w("IdmWaterTemp"), se = w("IdmTemp");
9159
9159
  return y(), M("div", vn, [
9160
9160
  l("div", {
9161
9161
  class: "menu-bar-box transition pa-1",
9162
- style: te({ top: this.top + this.paddingTop + 46 + "px", right: this.right + "px" })
9162
+ style: ee({ top: this.top + this.paddingTop + 46 + "px", right: this.right + "px" })
9163
9163
  }, [
9164
9164
  p(c, {
9165
9165
  text: t.$t("weather.weatherLayers"),
@@ -9186,7 +9186,7 @@ function lc(t, e, a, i, o, r) {
9186
9186
  r.showTipMenu ? (y(), M("div", _n, [
9187
9187
  l("div", {
9188
9188
  class: "menu-bar-box pa-1 rounded",
9189
- style: te({ right: o.right + "px" })
9189
+ style: ee({ right: o.right + "px" })
9190
9190
  }, [
9191
9191
  p(c, {
9192
9192
  text: "Legend",
@@ -9214,7 +9214,7 @@ function lc(t, e, a, i, o, r) {
9214
9214
  key: 0,
9215
9215
  elevation: "16",
9216
9216
  class: "card-info d-flex justify-center align-start",
9217
- style: te({ position: "absolute", top: "340px", right: o.right + 50 + "px" })
9217
+ style: ee({ position: "absolute", top: "340px", right: o.right + 50 + "px" })
9218
9218
  }, {
9219
9219
  default: g(() => [
9220
9220
  p(h, {
@@ -9234,7 +9234,7 @@ function lc(t, e, a, i, o, r) {
9234
9234
  l("div", kn, [
9235
9235
  l("i", {
9236
9236
  class: Ye(["iconfont", r.barbsIconName[ae]]),
9237
- style: te({ color: a.theme === "dark" ? "#fff" : "#000" })
9237
+ style: ee({ color: a.theme === "dark" ? "#fff" : "#000" })
9238
9238
  }, null, 6),
9239
9239
  l("span", zn, m(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
9240
9240
  ])
@@ -9266,9 +9266,9 @@ function lc(t, e, a, i, o, r) {
9266
9266
  l("div", Ln, [
9267
9267
  ae === 0 ? (y(), M("div", Pn)) : (y(), M("div", {
9268
9268
  key: 1,
9269
- style: te({ width: "24px", height: "12px", background: H.color })
9269
+ style: ee({ width: "24px", height: "12px", background: H.color })
9270
9270
  }, null, 4)),
9271
- l("div", Cn, m(H.label), 1)
9271
+ l("div", Tn, m(H.label), 1)
9272
9272
  ])
9273
9273
  ]),
9274
9274
  _: 2
@@ -9295,11 +9295,11 @@ function lc(t, e, a, i, o, r) {
9295
9295
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
9296
9296
  }, {
9297
9297
  default: g(() => [
9298
- l("div", Tn, [
9298
+ l("div", Cn, [
9299
9299
  l("div", Sn, [
9300
9300
  l("i", {
9301
9301
  class: "iconfont icon-a-direction-arrow text-label",
9302
- style: te({ fontSize: 40 * H.size + "px" })
9302
+ style: ee({ fontSize: 40 * H.size + "px" })
9303
9303
  }, null, 4)
9304
9304
  ]),
9305
9305
  l("div", Mn, m(H.label), 1)
@@ -9320,7 +9320,7 @@ function lc(t, e, a, i, o, r) {
9320
9320
  ])) : A("", !0),
9321
9321
  l("div", {
9322
9322
  class: Ye(["available-layers transition flex-center", o.toggle ? "right-bar" : ""]),
9323
- style: te(r.listStyle)
9323
+ style: ee(r.listStyle)
9324
9324
  }, [
9325
9325
  l("div", In, [
9326
9326
  l("div", Dn, [
@@ -9616,7 +9616,7 @@ function lc(t, e, a, i, o, r) {
9616
9616
  }),
9617
9617
  p(h, { class: "" }, {
9618
9618
  default: g(() => {
9619
- var H, ae, Fe, Ae, ge, Ie, W, fe, oe, re, Be, He, Ue, E, be, Re, Ne, Ee, j, We, G, qe, Xe, Ke, ze, $e, Je, Qe, et, tt, at, ot, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, ea, ta, aa, oa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka;
9619
+ var H, ae, Fe, Ae, ge, Ie, W, fe, oe, re, Be, He, Ue, E, be, Re, Ne, Ee, j, We, G, qe, Xe, Ke, ze, $e, Je, Qe, et, tt, at, ot, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, St, Mt, It, Dt, At, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, ea, ta, aa, oa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka;
9620
9620
  return [
9621
9621
  l("div", Nn, m(t.$t("weather.atmospheric")), 1),
9622
9622
  l("div", En, m((Fe = (ae = (H = o.models) == null ? void 0 : H.weather) == null ? void 0 : ae.NOAA) == null ? void 0 : Fe.source) + " " + m((Ie = (ge = (Ae = o.models) == null ? void 0 : Ae.weather) == null ? void 0 : ge.NOAA) == null ? void 0 : Ie.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (oe = (fe = (W = o.models) == null ? void 0 : W.weather) == null ? void 0 : fe.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
@@ -9632,7 +9632,7 @@ function lc(t, e, a, i, o, r) {
9632
9632
  l("div", Yn, m((dt = (mt = (ct = (nt = o.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 = o.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 = o.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),
9633
9633
  l("div", qn, m(t.$t("weather.source")) + ": NOAA", 1),
9634
9634
  l("div", Xn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((Lt = (zt = (kt = (_t = (vt = o.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),
9635
- l("div", Kn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((Mt = (St = (Tt = (Ct = (Pt = o.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),
9635
+ l("div", Kn, m(t.$t("weather.referenceTime")) + ": " + m(r.computeDateZ((Mt = (St = (Ct = (Tt = (Pt = o.models) == null ? void 0 : Pt.marine) == null ? void 0 : Tt.wave) == null ? void 0 : Ct.NOAA) == null ? void 0 : St.meta) == null ? void 0 : Mt.initialisationTime)), 1),
9636
9636
  l("div", $n, m((Rt = (At = (Dt = (It = o.models) == null ? void 0 : It.marine) == null ? void 0 : Dt.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Rt.source) + " " + m((Et = (Nt = (Bt = (Ot = o.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.wave) == null ? void 0 : Nt.ECMWF) == null ? void 0 : Et.spatialResolution) + m(t.$t("units.km")) + " " + m((Wt = (Ut = (Ht = (Ft = (jt = o.models) == null ? void 0 : jt.marine) == null ? void 0 : Ft.wave) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Ut.meta) == null ? void 0 : Wt.days) + m(t.$t("units.days")), 1),
9637
9637
  l("div", Jn, m(t.$t("weather.source")) + ": ECMWF", 1),
9638
9638
  l("div", Qn, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateUpdate((qt = (Yt = (Zt = (Vt = (Gt = o.models) == null ? void 0 : Gt.marine) == null ? void 0 : Vt.wave) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : qt.availabilityTime)), 1),
@@ -9652,7 +9652,7 @@ function lc(t, e, a, i, o, r) {
9652
9652
  })
9653
9653
  ], 2)
9654
9654
  ], 6),
9655
- a.map ? (y(), O(C, N({
9655
+ a.map ? (y(), O(T, N({
9656
9656
  key: 1,
9657
9657
  ref: "windBarb",
9658
9658
  map: a.map,
@@ -9677,7 +9677,7 @@ function lc(t, e, a, i, o, r) {
9677
9677
  current: (ce = o.weatherLayers) == null ? void 0 : ce.current,
9678
9678
  "menu-toggle": a.menuToggle
9679
9679
  }, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : A("", !0),
9680
- a.map ? (y(), O(T, N({
9680
+ a.map ? (y(), O(C, N({
9681
9681
  key: 4,
9682
9682
  map: a.map,
9683
9683
  "before-layer": "empty-layer-2",
@@ -9710,7 +9710,7 @@ function lc(t, e, a, i, o, r) {
9710
9710
  key: 8,
9711
9711
  map: a.map,
9712
9712
  viewport: o.viewport,
9713
- factor: (ee = o.weatherLayers) == null ? void 0 : ee.swell,
9713
+ factor: (te = o.weatherLayers) == null ? void 0 : te.swell,
9714
9714
  "menu-toggle": a.menuToggle,
9715
9715
  "active-weather-layers": o.activeWeatherLayers,
9716
9716
  simple: a.simple
@@ -9760,7 +9760,7 @@ function lc(t, e, a, i, o, r) {
9760
9760
  a.map ? (y(), O(se, N({
9761
9761
  key: 15,
9762
9762
  viewport: o.viewport,
9763
- factor: (Ce = o.weatherLayers) == null ? void 0 : Ce.temp,
9763
+ factor: (Te = o.weatherLayers) == null ? void 0 : Te.temp,
9764
9764
  "menu-toggle": a.menuToggle,
9765
9765
  simple: a.simple
9766
9766
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : A("", !0)
@@ -10113,7 +10113,7 @@ class Yo {
10113
10113
  }), o;
10114
10114
  }
10115
10115
  static pickHourly(e, a) {
10116
- var i, o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, C, z, L, T, v, D, F, V, q, Z, J, Q, $, le, se, pe, ie, ce, ue, me, de, R, ee, ye, xe, Le, Pe, ve, Me, Ce, H, ae, Fe, Ae, ge, Ie;
10116
+ var i, o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, $, le, se, pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve, Me, Te, H, ae, Fe, Ae, ge, Ie;
10117
10117
  const W = typeof a == "string" ? S(a) : a, fe = e == null ? void 0 : e.weather, oe = e == null ? void 0 : e.marine, re = S((o = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : o.date).utc(), Be = re.clone().add((c = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), He = re.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"), Ue = [];
10118
10118
  if (W.isBetween(Be, He, "millisecond", "[]")) {
10119
10119
  const E = W.utc().diff(Be, "h", !1);
@@ -10135,14 +10135,14 @@ class Yo {
10135
10135
  dp: (B = G == null ? void 0 : G.dew_point_2m) == null ? void 0 : B.at(E),
10136
10136
  precip: {
10137
10137
  probability: (I = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : I.at(E),
10138
- sum: (C = G == null ? void 0 : G.precipitation) == null ? void 0 : C.at(E),
10138
+ sum: (T = G == null ? void 0 : G.precipitation) == null ? void 0 : T.at(E),
10139
10139
  sum1Hours: (z = G == null ? void 0 : G.precipitation) == null ? void 0 : z.at(E),
10140
10140
  sum3Hours: Math.round(Ne * 100) / 100,
10141
10141
  sum6Hours: Math.round(Ee * 100) / 100,
10142
10142
  sum12Hours: Math.round(j * 100) / 100
10143
10143
  },
10144
10144
  pmsl: (L = G == null ? void 0 : G.pressure_msl) == null ? void 0 : L.at(E),
10145
- psurf: (T = G == null ? void 0 : G.surface_pressure) == null ? void 0 : T.at(E),
10145
+ psurf: (C = G == null ? void 0 : G.surface_pressure) == null ? void 0 : C.at(E),
10146
10146
  code: (v = G == null ? void 0 : G.weather_code) == null ? void 0 : v.at(E),
10147
10147
  visibility: this.m2nm((D = G == null ? void 0 : G.visibility) == null ? void 0 : D.at(E)),
10148
10148
  wind: {
@@ -10178,7 +10178,7 @@ class Yo {
10178
10178
  height: (ue = j == null ? void 0 : j.swell_wave_height) == null ? void 0 : ue.at(E),
10179
10179
  degree: (me = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : me.at(E),
10180
10180
  bearing: ((de = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : de.at(E)) !== null ? (((R = j == null ? void 0 : j.swell_wave_direction) == null ? void 0 : R.at(E)) + 180) % 360 : null,
10181
- period: (ee = j == null ? void 0 : j.swell_wave_period) == null ? void 0 : ee.at(E),
10181
+ period: (te = j == null ? void 0 : j.swell_wave_period) == null ? void 0 : te.at(E),
10182
10182
  peakPeriod: (ye = j == null ? void 0 : j.swell_wave_peak_period) == null ? void 0 : ye.at(E)
10183
10183
  },
10184
10184
  wd: {
@@ -10186,7 +10186,7 @@ class Yo {
10186
10186
  degree: (Le = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : Le.at(E),
10187
10187
  bearing: ((Pe = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : Pe.at(E)) !== null ? (((ve = j == null ? void 0 : j.wind_wave_direction) == null ? void 0 : ve.at(E)) + 180) % 360 : null,
10188
10188
  period: (Me = j == null ? void 0 : j.wind_wave_period) == null ? void 0 : Me.at(E),
10189
- peakPeriod: (Ce = j == null ? void 0 : j.wind_wave_peak_period) == null ? void 0 : Ce.at(E)
10189
+ peakPeriod: (Te = j == null ? void 0 : j.wind_wave_peak_period) == null ? void 0 : Te.at(E)
10190
10190
  }
10191
10191
  },
10192
10192
  current: {
@@ -10226,13 +10226,13 @@ class Yo {
10226
10226
  };
10227
10227
  }
10228
10228
  static pickDaily(e, a) {
10229
- var i, o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, C, z, L, T, v, D, F, V, q, Z, J, Q, $, le, se, pe, ie, ce, ue, me, de, R, ee, ye, xe, Le, Pe, ve;
10230
- const Me = typeof a == "string" ? S(a) : a, Ce = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, ae = S((r = (o = (i = Ce == null ? void 0 : Ce[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), Fe = S((n = (c = (s = Ce == null ? void 0 : Ce[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Ae = [];
10229
+ var i, o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, $, le, se, pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve;
10230
+ const Me = typeof a == "string" ? S(a) : a, Te = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, ae = S((r = (o = (i = Te == null ? void 0 : Te[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), Fe = S((n = (c = (s = Te == null ? void 0 : Te[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Ae = [];
10231
10231
  if (Me.isBetween(ae, Fe, "millisecond", "[]")) {
10232
10232
  let ge, Ie;
10233
10233
  const W = Me.diff(ae, "d", !1);
10234
- if (Ce)
10235
- for (const fe of Ce) {
10234
+ if (Te)
10235
+ for (const fe of Te) {
10236
10236
  const oe = fe.daily;
10237
10237
  ge = {
10238
10238
  code: (u = oe.weather_code) == null ? void 0 : u.at(W),
@@ -10250,12 +10250,12 @@ class Yo {
10250
10250
  rainSum: (P = oe.rain_sum) == null ? void 0 : P.at(W),
10251
10251
  snowfallSum: (B = oe.snowfall_sum) == null ? void 0 : B.at(W),
10252
10252
  showersSum: (I = oe.showers_sum) == null ? void 0 : I.at(W),
10253
- hours: (C = oe.precipitation_hours) == null ? void 0 : C.at(W),
10253
+ hours: (T = oe.precipitation_hours) == null ? void 0 : T.at(W),
10254
10254
  probability: (z = oe.precipitation_probability_max) == null ? void 0 : z.at(W)
10255
10255
  },
10256
10256
  rh: {
10257
10257
  max: (L = oe.relative_humidity_2m_max) == null ? void 0 : L.at(W),
10258
- min: (T = oe.relative_humidity_2m_min) == null ? void 0 : T.at(W),
10258
+ min: (C = oe.relative_humidity_2m_min) == null ? void 0 : C.at(W),
10259
10259
  mean: (v = oe.relative_humidity_2m_mean) == null ? void 0 : v.at(W)
10260
10260
  },
10261
10261
  wind: {
@@ -10294,7 +10294,7 @@ class Yo {
10294
10294
  bearing: ((de = re.swell_wave_direction_dominant) == null ? void 0 : de.at(W)) !== null ? ((R = re.swell_wave_direction_dominant) == null ? void 0 : R.at(W)) % 360 : null
10295
10295
  },
10296
10296
  wd: {
10297
- height: (ee = re.wind_wave_height_max) == null ? void 0 : ee.at(W),
10297
+ height: (te = re.wind_wave_height_max) == null ? void 0 : te.at(W),
10298
10298
  degree: (ye = re.wind_wave_direction_dominant) == null ? void 0 : ye.at(W),
10299
10299
  period: (xe = re.wind_wave_period_max) == null ? void 0 : xe.at(W),
10300
10300
  peakPeriod: (Le = re.wind_wave_peak_period_max) == null ? void 0 : Le.at(W),
@@ -10905,7 +10905,7 @@ const nc = {
10905
10905
  async fetchTropicals() {
10906
10906
  var o, r, s;
10907
10907
  const t = (/* @__PURE__ */ new Date()).valueOf();
10908
- let e = 0, a = 0, i = (o = Ca.WEATHER_LAYERS.find((c) => c.key === "tropicals")) == null ? void 0 : o.weight;
10908
+ let e = 0, a = 0, i = (o = Ta.WEATHER_LAYERS.find((c) => c.key === "tropicals")) == null ? void 0 : o.weight;
10909
10909
  if (i > 0) {
10910
10910
  const c = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], n = await De.get(`${c}/api/arc/weather/layers2/links?l=${i}&v=${this.forecastModel}&t=${this.realTime}`, {
10911
10911
  headers: {
@@ -10941,7 +10941,7 @@ const nc = {
10941
10941
  handleRefresh() {
10942
10942
  var e, a;
10943
10943
  (((a = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : a.features) || []).forEach((i) => {
10944
- var o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, C, z, L, T, v;
10944
+ var o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v;
10945
10945
  if (((o = i.geometry) == null ? void 0 : o.type) === "Point") {
10946
10946
  let D = "";
10947
10947
  switch (!0) {
@@ -10969,7 +10969,7 @@ const nc = {
10969
10969
  }
10970
10970
  i.properties.level = D;
10971
10971
  }
10972
- ((B = i.geometry) == null ? void 0 : B.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (z = (C = S(i.properties.date)) == null ? void 0 : C.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((L = i.geometry) == null ? void 0 : L.type) === "Point" && (i.properties.Name = ((v = (T = i.properties.name) == null ? void 0 : T.trim()) == null ? void 0 : v.replace(/^./, (D) => D.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
10972
+ ((B = i.geometry) == null ? void 0 : B.type) === "Point" && ((I = i.properties) != null && I.important) && (i.properties.format = (z = (T = S(i.properties.date)) == null ? void 0 : T.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((L = i.geometry) == null ? void 0 : L.type) === "Point" && (i.properties.Name = ((v = (C = i.properties.name) == null ? void 0 : C.trim()) == null ? void 0 : v.replace(/^./, (D) => D.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
10973
10973
  }), this.handleInit();
10974
10974
  },
10975
10975
  handleInit() {
@@ -11188,7 +11188,7 @@ const nc = {
11188
11188
  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((o) => o == null ? void 0 : o.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), (a = this.map) == null || a.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
11189
11189
  },
11190
11190
  handleDateChange() {
11191
- var t, e, a, i, o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, C, z, L, T, v, D, F, V, q, Z, J, Q, $, le, se, pe;
11191
+ var t, e, a, i, o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, $, le, se, pe;
11192
11192
  if ((t = this.interpolateMarkers) == null || t.forEach((ie) => ie == null ? void 0 : ie.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
11193
11193
  const ie = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), ce = this.interpolateData.filter((R) => R.properties.date === (ie == null ? void 0 : ie.format()) && !R.properties.disabled), ue = this.handleComputePolygons(ce), me = U.featureCollection([...ce]);
11194
11194
  ue.forEach((R) => {
@@ -11228,15 +11228,15 @@ const nc = {
11228
11228
  })) == null ? void 0 : s.properties) == null ? void 0 : c.nameCn) || ((n = R.properties) == null ? void 0 : n.Name) || "-";
11229
11229
  R.properties.nameCn = Pe, R.properties.Name = ((h = (u = R.properties.name) == null ? void 0 : u.trim()) == null ? void 0 : h.replace(/^./, (ve) => ve.toUpperCase())) || R.properties.nameCn, de.push(R);
11230
11230
  }
11231
- let ee = this.Theme.current.value.colors["tropicals-ty"];
11232
- ((x = (b = R.properties) == null ? void 0 : b.wind) == null ? void 0 : x.kts) < 32 || !((f = (_ = R.properties) == null ? void 0 : _.wind) != null && f.kts) ? ee = this.Theme.current.value.colors["tropicals-td"] : ((P = (k = R.properties) == null ? void 0 : k.wind) == null ? void 0 : P.kts) >= 32 && ((I = (B = R.properties) == null ? void 0 : B.wind) == null ? void 0 : I.kts) < 47 ? ee = this.Theme.current.value.colors["tropicals-ts"] : ((z = (C = R.properties) == null ? void 0 : C.wind) == null ? void 0 : z.kts) >= 47 && ((T = (L = R.properties) == null ? void 0 : L.wind) == null ? void 0 : T.kts) < 63 ? ee = this.Theme.current.value.colors["tropicals-sts"] : ((D = (v = R.properties) == null ? void 0 : v.wind) == null ? void 0 : D.kts) >= 63 && ((V = (F = R.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? ee = this.Theme.current.value.colors["tropicals-ty"] : ((Z = (q = R.properties) == null ? void 0 : q.wind) == null ? void 0 : Z.kts) >= 79 && ((Q = (J = R.properties) == null ? void 0 : J.wind) == null ? void 0 : Q.kts) < 94 ? ee = this.Theme.current.value.colors["tropicals-sty"] : ((le = ($ = R.properties) == null ? void 0 : $.wind) == null ? void 0 : le.kts) >= 94 ? ee = this.Theme.current.value.colors["tropicals-super-ty"] : ee = this.Theme.current.value.colors["tropicals-ty"];
11231
+ let te = this.Theme.current.value.colors["tropicals-ty"];
11232
+ ((x = (b = R.properties) == null ? void 0 : b.wind) == null ? void 0 : x.kts) < 32 || !((f = (_ = R.properties) == null ? void 0 : _.wind) != null && f.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((P = (k = R.properties) == null ? void 0 : k.wind) == null ? void 0 : P.kts) >= 32 && ((I = (B = R.properties) == null ? void 0 : B.wind) == null ? void 0 : I.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((z = (T = R.properties) == null ? void 0 : T.wind) == null ? void 0 : z.kts) >= 47 && ((C = (L = R.properties) == null ? void 0 : L.wind) == null ? void 0 : C.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((D = (v = R.properties) == null ? void 0 : v.wind) == null ? void 0 : D.kts) >= 63 && ((V = (F = R.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Z = (q = R.properties) == null ? void 0 : q.wind) == null ? void 0 : Z.kts) >= 79 && ((Q = (J = R.properties) == null ? void 0 : J.wind) == null ? void 0 : Q.kts) < 94 ? te = this.Theme.current.value.colors["tropicals-sty"] : ((le = ($ = R.properties) == null ? void 0 : $.wind) == null ? void 0 : le.kts) >= 94 ? te = this.Theme.current.value.colors["tropicals-super-ty"] : te = this.Theme.current.value.colors["tropicals-ty"];
11233
11233
  const ye = `<svg t="1719918955501"
11234
11234
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
11235
11235
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
11236
11236
  <path
11237
11237
  d="M515.17000001 169.34666667c41-77.73 95.33-96 95.33-96-240 0-434.5 194.53-434.5 434.5 0 186.47 150.78 337.7 337.06 338.48C472.11000001 923.66666667 418.00000001 941.83666667 418.00000001 941.83666667c240 0 434.5-194.54 434.5-434.5l0.5 0.5C853.00000001 321.10666667 701.81000001 169.66666667 515.17000001 169.34666667z m-0.67 468A129.5 129.5 0 1 1 644.00000001 507.83666667a129.5 129.5 0 0 1-129.5 129.5z"
11238
- fill="${ee}" p-id="18383"></path>
11239
- <path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${ee}"
11238
+ fill="${te}" p-id="18383"></path>
11239
+ <path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${te}"
11240
11240
  p-id="18384"></path>
11241
11241
  <path
11242
11242
  d="M517.16666667 654.67c-80.23 0-145.5-65.27-145.5-145.5s65.27-145.5 145.5-145.5S662.66666667 428.94 662.66666667 509.17s-65.27 145.5-145.5 145.5z m0-259A113.5 113.5 0 1 0 630.66666667 509.17a113.63 113.63 0 0 0-113.5-113.5z"
@@ -11390,10 +11390,10 @@ const nc = {
11390
11390
  }, dc = { class: "pb-1" }, hc = { class: "text-h5 font-weight-600" }, pc = {
11391
11391
  key: 0,
11392
11392
  class: "text-body-1 text-label"
11393
- }, uc = { class: "text-body-2" }, gc = { class: "text-label" }, fc = { class: "d-flex justify-space-between align-center" }, yc = { class: "w-60" }, bc = { class: "text-label pr-1" }, wc = { class: "flex-1-1-0" }, xc = { class: "text-label pr-1" }, vc = { class: "py-2 d-flex justify-space-between align-center" }, _c = { class: "w-60" }, kc = { class: "text-label pr-1" }, zc = { class: "flex-1-1-0" }, Lc = { class: "text-label pr-1" }, Pc = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Cc = {
11393
+ }, uc = { class: "text-body-2" }, gc = { class: "text-label" }, fc = { class: "d-flex justify-space-between align-center" }, yc = { class: "w-60" }, bc = { class: "text-label pr-1" }, wc = { class: "flex-1-1-0" }, xc = { class: "text-label pr-1" }, vc = { class: "py-2 d-flex justify-space-between align-center" }, _c = { class: "w-60" }, kc = { class: "text-label pr-1" }, zc = { class: "flex-1-1-0" }, Lc = { class: "text-label pr-1" }, Pc = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Tc = {
11394
11394
  class: "text-label pr-1",
11395
11395
  style: { width: "130px" }
11396
- }, Tc = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Sc = { class: "more" }, Mc = {
11396
+ }, Cc = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Sc = { class: "more" }, Mc = {
11397
11397
  class: "my-3",
11398
11398
  style: { height: "80px", width: "100%" }
11399
11399
  }, Ic = { class: "pa-1 d-flex justify-space-between align-center" }, Dc = { class: "pa-1 d-flex justify-space-between align-center" }, Ac = { class: "d-flex justify-star align-center" }, Rc = { class: "font-weight-600 mr-1" }, Oc = { class: "" }, Bc = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Nc = {
@@ -11426,7 +11426,7 @@ function om(t, e, a, i, o, r) {
11426
11426
  return y(), M("div", cc, [
11427
11427
  l("div", {
11428
11428
  class: "menu-bar-box transition pa-1",
11429
- style: te({ top: a.top + a.paddingTop + 86 + "px", right: o.right + "px" })
11429
+ style: ee({ top: a.top + a.paddingTop + 86 + "px", right: o.right + "px" })
11430
11430
  }, [
11431
11431
  p(c, {
11432
11432
  text: t.$t("tropical.tropicals"),
@@ -11459,11 +11459,11 @@ function om(t, e, a, i, o, r) {
11459
11459
  default: g(() => [
11460
11460
  p(n, null, {
11461
11461
  default: g(() => {
11462
- var f, k, P, B, I, C, z, L, T, v, D, F;
11462
+ var f, k, P, B, I, T, z, L, C, v, D, F;
11463
11463
  return [
11464
11464
  l("div", dc, [
11465
11465
  l("span", hc, m(a.locale === "en" ? (f = o.activeTropicals) == null ? void 0 : f.Name : ((k = o.activeTropicals) == null ? void 0 : k.nameCn) || ((P = o.activeTropicals) == null ? void 0 : P.Name) || "-"), 1),
11466
- (I = (B = o.activeTropicals) == null ? void 0 : B.history) != null && I.level ? (y(), M("span", pc, ", " + m((z = (C = o.activeTropicals) == null ? void 0 : C.history) == null ? void 0 : z.level), 1)) : A("", !0)
11466
+ (I = (B = o.activeTropicals) == null ? void 0 : B.history) != null && I.level ? (y(), M("span", pc, ", " + m((z = (T = o.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : z.level), 1)) : A("", !0)
11467
11467
  ]),
11468
11468
  p(s, {
11469
11469
  icon: "",
@@ -11480,7 +11480,7 @@ function om(t, e, a, i, o, r) {
11480
11480
  }, 8, ["onClick"]),
11481
11481
  l("div", uc, [
11482
11482
  l("span", gc, m(t.$t("actions.lastUpdate")) + ": ", 1),
11483
- l("span", null, m(r.computeTime(((T = (L = o.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : T.updated) || ((F = (D = (v = o.activeTropicals) == null ? void 0 : v.forecasts) == null ? void 0 : D.filter((V) => !V.disabled)[0]) == null ? void 0 : F.date), a.timeZone)), 1)
11483
+ l("span", null, m(r.computeTime(((C = (L = o.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : C.updated) || ((F = (D = (v = o.activeTropicals) == null ? void 0 : v.forecasts) == null ? void 0 : D.filter((V) => !V.disabled)[0]) == null ? void 0 : F.date), a.timeZone)), 1)
11484
11484
  ])
11485
11485
  ];
11486
11486
  }),
@@ -11489,7 +11489,7 @@ function om(t, e, a, i, o, r) {
11489
11489
  p(u),
11490
11490
  p(n, { class: "text-body-1" }, {
11491
11491
  default: g(() => {
11492
- var f, k, P, B, I, C, z, L, T;
11492
+ var f, k, P, B, I, T, z, L, C;
11493
11493
  return [
11494
11494
  l("div", fc, [
11495
11495
  l("div", yc, [
@@ -11499,7 +11499,7 @@ function om(t, e, a, i, o, r) {
11499
11499
  ]),
11500
11500
  l("div", wc, [
11501
11501
  l("label", xc, m(t.$t("weather.pressure")) + " : ", 1),
11502
- l("span", null, m(((C = (I = o.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : C.pressure) || "-") + " hPa", 1)
11502
+ l("span", null, m(((T = (I = o.activeTropicals) == null ? void 0 : I.history) == null ? void 0 : T.pressure) || "-") + " hPa", 1)
11503
11503
  ])
11504
11504
  ]),
11505
11505
  l("div", vc, [
@@ -11513,9 +11513,9 @@ function om(t, e, a, i, o, r) {
11513
11513
  ])
11514
11514
  ]),
11515
11515
  l("div", Pc, [
11516
- l("label", Cc, m(t.$t("weather.forecastModels")) + " : ", 1),
11517
- l("div", Tc, [
11518
- (y(!0), M(we, null, _e((T = o.activeTropicals) == null ? void 0 : T.forecasts, (v, D) => (y(), O(s, {
11516
+ l("label", Tc, m(t.$t("weather.forecastModels")) + " : ", 1),
11517
+ l("div", Cc, [
11518
+ (y(!0), M(we, null, _e((C = o.activeTropicals) == null ? void 0 : C.forecasts, (v, D) => (y(), O(s, {
11519
11519
  key: D,
11520
11520
  density: "compact",
11521
11521
  variant: v.disabled ? "text" : "flat",
@@ -11670,7 +11670,7 @@ function om(t, e, a, i, o, r) {
11670
11670
  p(_),
11671
11671
  p(n, { class: "text-body-1" }, {
11672
11672
  default: g(() => {
11673
- var f, k, P, B, I, C, z, L, T, v, D, F, V, q, Z, J, Q, $, le, se;
11673
+ var f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, $, le, se;
11674
11674
  return [
11675
11675
  l("div", Bc, [
11676
11676
  ((f = o.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (y(), M("div", Nc, [
@@ -11683,13 +11683,13 @@ function om(t, e, a, i, o, r) {
11683
11683
  ])) : A("", !0),
11684
11684
  ((I = o.hoverPoint) == null ? void 0 : I.type) === "history" ? (y(), M("div", Hc, [
11685
11685
  l("label", Uc, m(t.$t("tropical.forecast")) + " : ", 1),
11686
- l("span", null, m(r.computeTzTime((C = o.hoverPoint) == null ? void 0 : C.date, a.timeZone)), 1)
11686
+ l("span", null, m(r.computeTzTime((T = o.hoverPoint) == null ? void 0 : T.date, a.timeZone)), 1)
11687
11687
  ])) : A("", !0),
11688
11688
  ((z = o.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (y(), M("div", Wc, [
11689
11689
  l("label", Gc, m(t.$t("tropical.model")) + " : ", 1),
11690
11690
  l("span", null, m(((L = o.hoverPoint) == null ? void 0 : L.model) ?? "-"), 1)
11691
11691
  ])) : A("", !0),
11692
- ((T = o.hoverPoint) == null ? void 0 : T.type) === "forecast" ? (y(), M("div", Vc, [
11692
+ ((C = o.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (y(), M("div", Vc, [
11693
11693
  l("label", Zc, m(t.$t("weather.wind")) + " : ", 1),
11694
11694
  l("span", null, m(((D = JSON.parse((v = o.hoverPoint) == null ? void 0 : v.wind)) == null ? void 0 : D.kts) ?? "-") + " kts", 1)
11695
11695
  ])) : A("", !0),
@@ -11842,7 +11842,7 @@ const im = {
11842
11842
  },
11843
11843
  currentTimestamp: {
11844
11844
  handler() {
11845
- this.currentDateTimeZ = S(this.currentTimestamp).utc().format("yyyy-MM-DD HH:00[Z]"), this.$emit("dateTime", this.currentDateTimeZ), this.$emit("currentTimestamp", this.currentTimestamp), this.currentDateTime = `${S.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`;
11845
+ this.currentTimestamp ? (this.currentDateTimeZ = S(this.currentTimestamp).utc().format("yyyy-MM-DD HH:00[Z]"), this.$emit("dateTime", this.currentDateTimeZ), this.$emit("currentTimestamp", this.currentTimestamp), this.currentDateTime = `${S.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`) : (this.currentDateTimeZ = void 0, this.$emit("dateTime", this.currentDateTimeZ), this.$emit("currentTimestamp", this.currentTimestamp), this.currentDateTime = void 0);
11846
11846
  },
11847
11847
  immediate: !0
11848
11848
  },
@@ -11905,43 +11905,38 @@ const im = {
11905
11905
  }, rm = {
11906
11906
  class: "idm-gl4-time-picker",
11907
11907
  ref: "idmGl4Timepicker"
11908
- }, lm = {
11908
+ }, lm = { class: "flex-1-1-0" }, sm = {
11909
11909
  class: "pa-0",
11910
11910
  style: { width: "250px" }
11911
- }, sm = {
11911
+ }, nm = {
11912
11912
  class: "h-100 pa-0 d-flex flex-column justify-start align-center",
11913
11913
  style: { width: "100px" }
11914
- }, nm = {
11914
+ }, cm = {
11915
11915
  class: "d-flex justify-center align-center text-body-2",
11916
11916
  style: { height: "56px" }
11917
11917
  };
11918
- function cm(t, e, a, i, o, r) {
11919
- const s = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), h = w("VListItem"), b = w("VList"), x = w("VCardText"), _ = w("VCardActions"), f = w("VCard");
11918
+ function mm(t, e, a, i, o, r) {
11919
+ const s = w("VDatePicker"), c = w("VDivider"), n = w("VListItemTitle"), u = w("VListItem"), h = w("VList"), b = w("VCardText"), x = w("VBtn"), _ = w("VCardActions"), f = w("VCard");
11920
11920
  return y(), M("div", rm, [
11921
- p(s, {
11922
- text: "",
11923
- height: a.height,
11924
- width: a.width,
11925
- class: "elevation-0 text-body-1 px-2 btn-border-1 bg-background justify-start",
11926
- onClick: r.handleOpenDatePicker
11927
- }, {
11928
- default: g(() => [
11929
- K(m(o.currentDateTime) + " | UTC " + m(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
11930
- ]),
11931
- _: 1
11932
- }, 8, ["height", "width", "onClick"]),
11921
+ l("div", {
11922
+ style: ee({ height: a.height + "px", width: a.width + "px" }),
11923
+ class: "rounded text-body-1 btn-border-1 bg-background d-flex align-center justify-space-between px-2 cursor-pointer",
11924
+ onClick: e[0] || (e[0] = (...k) => r.handleOpenDatePicker && r.handleOpenDatePicker(...k))
11925
+ }, [
11926
+ l("span", lm, m(o.currentDateTime) + " | UTC " + m(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
11927
+ ], 4),
11933
11928
  o.showDatePicker ? (y(), O(f, {
11934
11929
  key: 0,
11935
11930
  class: "card-box d-flex flex-column border",
11936
- style: te(r.getStyle)
11931
+ style: ee(r.getStyle)
11937
11932
  }, {
11938
11933
  default: g(() => [
11939
- p(x, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
11934
+ p(b, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
11940
11935
  default: g(() => [
11941
- l("div", lm, [
11942
- p(c, {
11936
+ l("div", sm, [
11937
+ p(s, {
11943
11938
  modelValue: o.currentDate,
11944
- "onUpdate:modelValue": e[0] || (e[0] = (k) => o.currentDate = k),
11939
+ "onUpdate:modelValue": e[1] || (e[1] = (k) => o.currentDate = k),
11945
11940
  min: o.minDate,
11946
11941
  max: o.maxDate,
11947
11942
  "mode-icon": () => r.currentYear,
@@ -11953,15 +11948,15 @@ function cm(t, e, a, i, o, r) {
11953
11948
  "onUpdate:month": r.handleUpdateMonth
11954
11949
  }, null, 8, ["modelValue", "min", "max", "mode-icon", "onUpdate:month"])
11955
11950
  ]),
11956
- p(n, {
11951
+ p(c, {
11957
11952
  class: "h-100",
11958
11953
  vertical: ""
11959
11954
  }),
11960
- l("div", sm, [
11961
- l("div", nm, m(o.currentTime), 1),
11962
- p(b, { class: "pa-0 flex-1-1-0 scroll" }, {
11955
+ l("div", nm, [
11956
+ l("div", cm, m(o.currentTime), 1),
11957
+ p(h, { class: "pa-0 flex-1-1-0 scroll" }, {
11963
11958
  default: g(() => [
11964
- (y(!0), M(we, null, _e(r.hourOptions, (k, P) => (y(), O(h, {
11959
+ (y(!0), M(we, null, _e(r.hourOptions, (k, P) => (y(), O(u, {
11965
11960
  key: P,
11966
11961
  value: k,
11967
11962
  color: "primary",
@@ -11971,7 +11966,7 @@ function cm(t, e, a, i, o, r) {
11971
11966
  "min-height": "26"
11972
11967
  }, {
11973
11968
  default: g(() => [
11974
- p(u, {
11969
+ p(n, {
11975
11970
  class: "text-body-2 font-weight-600 text-center",
11976
11971
  onClick: (B) => o.currentTime = k
11977
11972
  }, {
@@ -11990,13 +11985,13 @@ function cm(t, e, a, i, o, r) {
11990
11985
  ]),
11991
11986
  _: 1
11992
11987
  }),
11993
- p(n),
11988
+ p(c),
11994
11989
  p(_, {
11995
11990
  class: "justify-end pa-0 pr-4",
11996
11991
  style: { height: "50px" }
11997
11992
  }, {
11998
11993
  default: g(() => [
11999
- p(s, {
11994
+ p(x, {
12000
11995
  size: "small",
12001
11996
  variant: "tonal",
12002
11997
  class: "text-none text-body-2",
@@ -12007,7 +12002,7 @@ function cm(t, e, a, i, o, r) {
12007
12002
  ]),
12008
12003
  _: 1
12009
12004
  }, 8, ["onClick"]),
12010
- p(s, {
12005
+ p(x, {
12011
12006
  size: "small",
12012
12007
  variant: "flat",
12013
12008
  color: "primary",
@@ -12027,8 +12022,8 @@ function cm(t, e, a, i, o, r) {
12027
12022
  }, 8, ["style"])) : A("", !0)
12028
12023
  ], 512);
12029
12024
  }
12030
- const Ma = /* @__PURE__ */ Y(im, [["render", cm]]);
12031
- const mm = {
12025
+ const Ma = /* @__PURE__ */ Y(im, [["render", mm]]);
12026
+ const dm = {
12032
12027
  name: "DateRangePicker",
12033
12028
  props: {
12034
12029
  width: {
@@ -12212,19 +12207,19 @@ const mm = {
12212
12207
  e && !e.contains(t.target) && (this.showDatePicker = !1);
12213
12208
  }
12214
12209
  }
12215
- }, dm = {
12210
+ }, hm = {
12216
12211
  class: "idm-gl4-date-picker",
12217
12212
  ref: "idmGl4DatePicker"
12218
- }, hm = { class: "flex-1-1-0" }, pm = { class: "pa-0" };
12219
- function um(t, e, a, i, o, r) {
12213
+ }, pm = { class: "flex-1-1-0" }, um = { class: "pa-0" };
12214
+ function gm(t, e, a, i, o, r) {
12220
12215
  const s = w("VIcon"), c = w("VDatePicker"), n = w("VCardText"), u = w("VDivider"), h = w("VBtn"), b = w("VCardActions"), x = w("VCard");
12221
- return y(), M("div", dm, [
12216
+ return y(), M("div", hm, [
12222
12217
  l("div", {
12223
- style: te({ height: a.height + "px", width: a.width + "px" }),
12218
+ style: ee({ height: a.height + "px", width: a.width + "px" }),
12224
12219
  class: "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-space-between px-2 cursor-pointer",
12225
12220
  onClick: e[0] || (e[0] = (..._) => r.handleOpenDatePicker && r.handleOpenDatePicker(..._))
12226
12221
  }, [
12227
- l("span", hm, m(o.dateRangeStr), 1),
12222
+ l("span", pm, m(o.dateRangeStr), 1),
12228
12223
  o.dateRangeStr ? (y(), O(s, {
12229
12224
  key: 0,
12230
12225
  class: "text-h5",
@@ -12235,12 +12230,12 @@ function um(t, e, a, i, o, r) {
12235
12230
  o.showDatePicker ? (y(), O(x, {
12236
12231
  key: 0,
12237
12232
  class: "card-box d-flex flex-column border",
12238
- style: te(r.getStyle)
12233
+ style: ee(r.getStyle)
12239
12234
  }, {
12240
12235
  default: g(() => [
12241
12236
  p(n, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
12242
12237
  default: g(() => [
12243
- l("div", pm, [
12238
+ l("div", um, [
12244
12239
  p(c, {
12245
12240
  modelValue: o.dateRange,
12246
12241
  "onUpdate:modelValue": e[1] || (e[1] = (_) => o.dateRange = _),
@@ -12296,8 +12291,8 @@ function um(t, e, a, i, o, r) {
12296
12291
  }, 8, ["style"])) : A("", !0)
12297
12292
  ], 512);
12298
12293
  }
12299
- const Ko = /* @__PURE__ */ Y(mm, [["render", um]]);
12300
- const gm = {
12294
+ const Ko = /* @__PURE__ */ Y(dm, [["render", gm]]);
12295
+ const fm = {
12301
12296
  name: "IdmPoint",
12302
12297
  components: {
12303
12298
  DateTimePicker: Ma,
@@ -12549,10 +12544,10 @@ const gm = {
12549
12544
  (o == null ? void 0 : o.data.code) === 0 && (this.meteoData = o == null ? void 0 : o.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;
12550
12545
  },
12551
12546
  initTableData(t) {
12552
- var a, i, o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, C, z, L, T, v, D, F, V, q, Z, J, Q, $, le, se, pe, ie, ce, ue, me, de, R, ee, ye;
12547
+ var a, i, o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, $, le, se, pe, ie, ce, ue, me, de, R, te, ye;
12553
12548
  this.currentHourData = {}, this.positionGmt = (i = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : r.offset;
12554
12549
  const e = ((s = Pa.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : s[0]) || {};
12555
- 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((f = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((P = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : P.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (C = e == null ? void 0 : e.weather) == null ? void 0 : C.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((T = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : T.height, 1) ?? "-", this.currentHourData.sigwaveDir = (D = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : D.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((le = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : le.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (ce = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((me = (ue = e == null ? void 0 : e.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((de = e == null ? void 0 : e.current) == null ? void 0 : de.speed, 1) ?? "-", this.currentHourData.currentDir = (R = e == null ? void 0 : e.current) == null ? void 0 : R.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((ee = e == null ? void 0 : e.current) == null ? void 0 : ee.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 = (ye = e == null ? void 0 : e.weather) == null ? void 0 : ye.url;
12550
+ 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((f = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((P = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : P.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((z = (T = e == null ? void 0 : e.weather) == null ? void 0 : T.wind) == null ? void 0 : z.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (D = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : D.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((le = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : le.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (ce = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((me = (ue = e == null ? void 0 : e.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((de = e == null ? void 0 : e.current) == null ? void 0 : de.speed, 1) ?? "-", this.currentHourData.currentDir = (R = e == null ? void 0 : e.current) == null ? void 0 : R.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((te = e == null ? void 0 : e.current) == null ? void 0 : te.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ye = e == null ? void 0 : e.weather) == null ? void 0 : ye.url;
12556
12551
  },
12557
12552
  handleBind() {
12558
12553
  var t, e;
@@ -12603,68 +12598,68 @@ const gm = {
12603
12598
  this.$emit("cancelFollow", t);
12604
12599
  }
12605
12600
  }
12606
- }, fm = { class: "idm-gl4-spot" }, ym = { class: "d-flex justify-start align-center" }, bm = { class: "text-h6 font-weight-600 mx-2" }, wm = { class: "d-flex justify-start align-center ga-1 mb-1" }, xm = {
12601
+ }, ym = { class: "idm-gl4-spot" }, bm = { class: "d-flex justify-start align-center" }, wm = { class: "text-h6 font-weight-600 mx-2" }, xm = { class: "d-flex justify-start align-center ga-1 mb-1" }, vm = {
12607
12602
  class: "multi-color-icon",
12608
12603
  "aria-hidden": "true"
12609
- }, vm = ["xlink:href"], _m = { class: "d-flex justify-start align-center ga-1 mb-1" }, km = {
12604
+ }, _m = ["xlink:href"], km = { class: "d-flex justify-start align-center ga-1 mb-1" }, zm = {
12610
12605
  class: "multi-color-icon",
12611
12606
  "aria-hidden": "true"
12612
- }, zm = ["xlink:href"], Lm = { class: "d-flex justify-start align-center ga-1 mb-1" }, Pm = {
12607
+ }, Lm = ["xlink:href"], Pm = { class: "d-flex justify-start align-center ga-1 mb-1" }, Tm = {
12613
12608
  class: "multi-color-icon",
12614
12609
  "aria-hidden": "true"
12615
- }, Cm = ["xlink:href"], Tm = { class: "d-flex justify-start align-center ga-1 mb-1" }, Sm = {
12610
+ }, Cm = ["xlink:href"], Sm = { class: "d-flex justify-start align-center ga-1 mb-1" }, Mm = {
12616
12611
  class: "multi-color-icon",
12617
12612
  "aria-hidden": "true"
12618
- }, Mm = ["xlink:href"], Im = { class: "d-flex justify-start align-center" }, Dm = { class: "mx-2" }, Am = { class: "mx-0 py-2 d-flex align-center justify-start" }, Rm = {
12613
+ }, Im = ["xlink:href"], Dm = { class: "d-flex justify-start align-center" }, Am = { class: "mx-2" }, Rm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Om = {
12619
12614
  style: { width: "100px" },
12620
12615
  class: "pa-0 pr-2 text-right opacity-50"
12621
- }, Om = { class: "pa-0 px-0" }, Bm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Nm = {
12616
+ }, Bm = { class: "pa-0 px-0" }, Nm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Em = {
12622
12617
  cols: "9",
12623
12618
  class: "pa-0 px-0"
12624
- }, Em = { class: "mx-0 py-2 d-flex align-center justify-start" }, jm = {
12619
+ }, jm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Fm = {
12625
12620
  style: { width: "100px" },
12626
12621
  class: "pa-0 pr-2 text-right opacity-50"
12627
- }, Fm = {
12622
+ }, Hm = {
12628
12623
  style: { width: "150px" },
12629
12624
  class: "pa-0 text-left"
12630
- }, Hm = {
12625
+ }, Um = {
12631
12626
  style: { width: "80px" },
12632
12627
  class: "pa-0 pr-2 text-right opacity-50"
12633
- }, Um = {
12628
+ }, Wm = {
12634
12629
  cols: "3",
12635
12630
  class: "pa-0 px-0 text-left"
12636
- }, Wm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Gm = {
12631
+ }, Gm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Vm = {
12637
12632
  style: { width: "100px" },
12638
12633
  class: "pa-0 pr-2 text-right opacity-50"
12639
- }, Vm = {
12634
+ }, Zm = {
12640
12635
  style: { width: "150px" },
12641
12636
  class: "pa-0 text-left"
12642
- }, Zm = {
12637
+ }, Ym = {
12643
12638
  style: { width: "80px" },
12644
12639
  class: "pa-0 pr-2 text-right opacity-50"
12645
- }, Ym = {
12640
+ }, qm = {
12646
12641
  cols: "3",
12647
12642
  class: "pa-0 text-left"
12648
- }, qm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Xm = {
12643
+ }, Xm = { class: "mx-0 py-2 d-flex align-center justify-start" }, Km = {
12649
12644
  style: { width: "100px" },
12650
12645
  class: "pa-0 pr-2 text-right opacity-50"
12651
- }, Km = {
12646
+ }, $m = {
12652
12647
  style: { width: "150px" },
12653
12648
  class: "pa-0 text-left"
12654
- }, $m = {
12649
+ }, Jm = {
12655
12650
  style: { width: "80px" },
12656
12651
  class: "pa-0 pr-2 text-right opacity-50"
12657
- }, Jm = { class: "pa-0 text-left" }, Qm = { id: "idm-position-icon" }, ed = {
12652
+ }, Qm = { class: "pa-0 text-left" }, ed = { id: "idm-position-icon" }, td = {
12658
12653
  class: "multi-color-icon",
12659
12654
  style: { height: "30px", width: "30px" },
12660
12655
  "aria-hidden": "true"
12661
- }, td = ["xlink:href"];
12662
- function ad(t, e, a, i, o, r) {
12663
- const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), b = w("VCol"), x = w("VRow"), _ = w("DateTimePicker"), f = w("VBtnToggle"), k = w("VCardText"), P = w("VCardActions"), B = w("VForm"), I = w("VCard"), C = w("VIcon");
12664
- return y(), M("div", fm, [
12656
+ }, ad = ["xlink:href"];
12657
+ function od(t, e, a, i, o, r) {
12658
+ const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), b = w("VCol"), x = w("VRow"), _ = w("DateTimePicker"), f = w("VBtnToggle"), k = w("VCardText"), P = w("VCardActions"), B = w("VForm"), I = w("VCard"), T = w("VIcon");
12659
+ return y(), M("div", ym, [
12665
12660
  l("div", {
12666
12661
  class: "menu-bar-box transition pa-1",
12667
- style: te({ top: a.top + a.paddingTop + 126 + "px", right: o.right + "px" })
12662
+ style: ee({ top: a.top + a.paddingTop + 126 + "px", right: o.right + "px" })
12668
12663
  }, [
12669
12664
  p(c, {
12670
12665
  text: t.$t("spot.spotsMeteo"),
@@ -12691,13 +12686,13 @@ function ad(t, e, a, i, o, r) {
12691
12686
  o.showForm && !a.simple ? (y(), O(I, {
12692
12687
  key: 0,
12693
12688
  class: "spot-form-card",
12694
- style: te({ top: a.top + a.paddingTop + 126 + "px", right: o.right + 50 + "px" })
12689
+ style: ee({ top: a.top + a.paddingTop + 126 + "px", right: o.right + 50 + "px" })
12695
12690
  }, {
12696
12691
  default: g(() => [
12697
12692
  p(n, { class: "d-flex justify-space-between align-center" }, {
12698
12693
  default: g(() => [
12699
- l("div", ym, [
12700
- l("div", bm, m(t.$t("spot.spotWeather")), 1)
12694
+ l("div", bm, [
12695
+ l("div", wm, m(t.$t("spot.spotWeather")), 1)
12701
12696
  ]),
12702
12697
  p(s, {
12703
12698
  icon: "",
@@ -12725,11 +12720,11 @@ function ad(t, e, a, i, o, r) {
12725
12720
  default: g(() => [
12726
12721
  p(k, { class: "text-body-1 py-1" }, {
12727
12722
  default: g(() => [
12728
- l("div", wm, [
12729
- (y(), M("svg", xm, [
12723
+ l("div", xm, [
12724
+ (y(), M("svg", vm, [
12730
12725
  l("use", {
12731
12726
  "xlink:href": `#icon-lng-${a.theme}`
12732
- }, null, 8, vm)
12727
+ }, null, 8, _m)
12733
12728
  ])),
12734
12729
  l("div", null, m(t.$t("spot.lng")), 1)
12735
12730
  ]),
@@ -12802,11 +12797,11 @@ function ad(t, e, a, i, o, r) {
12802
12797
  ]),
12803
12798
  _: 1
12804
12799
  }),
12805
- l("div", _m, [
12806
- (y(), M("svg", km, [
12800
+ l("div", km, [
12801
+ (y(), M("svg", zm, [
12807
12802
  l("use", {
12808
12803
  "xlink:href": `#icon-lng-${a.theme}`
12809
- }, null, 8, zm)
12804
+ }, null, 8, Lm)
12810
12805
  ])),
12811
12806
  l("div", null, m(t.$t("spot.lat")), 1)
12812
12807
  ]),
@@ -12882,8 +12877,8 @@ function ad(t, e, a, i, o, r) {
12882
12877
  ]),
12883
12878
  _: 1
12884
12879
  }),
12885
- l("div", Lm, [
12886
- (y(), M("svg", Pm, [
12880
+ l("div", Pm, [
12881
+ (y(), M("svg", Tm, [
12887
12882
  l("use", {
12888
12883
  "xlink:href": `#icon-date-time-${a.theme}`
12889
12884
  }, null, 8, Cm)
@@ -12909,11 +12904,11 @@ function ad(t, e, a, i, o, r) {
12909
12904
  ]),
12910
12905
  _: 1
12911
12906
  }),
12912
- l("div", Tm, [
12913
- (y(), M("svg", Sm, [
12907
+ l("div", Sm, [
12908
+ (y(), M("svg", Mm, [
12914
12909
  l("use", {
12915
12910
  "xlink:href": `#icon-forecast-model-${a.theme}`
12916
- }, null, 8, Mm)
12911
+ }, null, 8, Im)
12917
12912
  ])),
12918
12913
  l("div", null, m(t.$t("weather.forecastModel")), 1)
12919
12914
  ]),
@@ -13020,9 +13015,9 @@ function ad(t, e, a, i, o, r) {
13020
13015
  default: g(() => [
13021
13016
  p(n, { class: "d-flex justify-space-between align-center" }, {
13022
13017
  default: g(() => [
13023
- l("div", Im, [
13018
+ l("div", Dm, [
13024
13019
  e[16] || (e[16] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
13025
- l("div", Dm, m(r.computePosition(o.form || o.currentHourData)), 1)
13020
+ l("div", Am, m(r.computePosition(o.form || o.currentHourData)), 1)
13026
13021
  ]),
13027
13022
  p(s, {
13028
13023
  class: "mr-n2",
@@ -13048,34 +13043,34 @@ function ad(t, e, a, i, o, r) {
13048
13043
  default: g(() => {
13049
13044
  var z, L;
13050
13045
  return [
13051
- l("div", Am, [
13052
- l("div", Rm, m(t.$t("time.time")), 1),
13053
- l("div", Om, m(r.computedTzTime((z = o.currentHourData) == null ? void 0 : z.utc)), 1)
13046
+ l("div", Rm, [
13047
+ l("div", Om, m(t.$t("time.time")), 1),
13048
+ l("div", Bm, m(r.computedTzTime((z = o.currentHourData) == null ? void 0 : z.utc)), 1)
13054
13049
  ]),
13055
- l("div", Bm, [
13050
+ l("div", Nm, [
13056
13051
  e[18] || (e[18] = l("div", {
13057
13052
  style: { width: "100px" },
13058
13053
  class: "pa-0 pr-2 text-right opacity-50"
13059
13054
  }, "LT", -1)),
13060
- l("div", Nm, m(r.computedLocalTime((L = o.currentHourData) == null ? void 0 : L.utc)), 1)
13055
+ l("div", Em, m(r.computedLocalTime((L = o.currentHourData) == null ? void 0 : L.utc)), 1)
13061
13056
  ]),
13062
- l("div", Em, [
13063
- l("div", jm, m(t.$t("weather.wind")), 1),
13064
- l("div", Fm, m(o.currentHourData.windDir ?? "-") + "/" + m(o.currentHourData.windSpeed ?? "-") + "kts/BF" + m(o.currentHourData.windLevel ?? "-"), 1),
13065
- l("div", Hm, m(t.$t("weather.sigWave")), 1),
13066
- l("div", Um, m(o.currentHourData.sigwaveDir ?? "-") + "/" + m(o.currentHourData.sigwaveHeight ?? "-") + "m/" + m(o.currentHourData.sigwavePeriod ?? "-") + "s", 1)
13057
+ l("div", jm, [
13058
+ l("div", Fm, m(t.$t("weather.wind")), 1),
13059
+ l("div", Hm, m(o.currentHourData.windDir ?? "-") + "/" + m(o.currentHourData.windSpeed ?? "-") + "kts/BF" + m(o.currentHourData.windLevel ?? "-"), 1),
13060
+ l("div", Um, m(t.$t("weather.sigWave")), 1),
13061
+ l("div", Wm, m(o.currentHourData.sigwaveDir ?? "-") + "/" + m(o.currentHourData.sigwaveHeight ?? "-") + "m/" + m(o.currentHourData.sigwavePeriod ?? "-") + "s", 1)
13067
13062
  ]),
13068
- l("div", Wm, [
13069
- l("div", Gm, m(t.$t("weather.windWave")), 1),
13070
- l("div", Vm, m(o.currentHourData.windwaveDir ?? "-") + "/" + m(o.currentHourData.windwaveHeight ?? "-") + "m/" + m(o.currentHourData.windwavePeriod ?? "-") + "s", 1),
13071
- l("div", Zm, m(t.$t("weather.swell")), 1),
13072
- l("div", Ym, m(o.currentHourData.swellDir ?? "-") + "/" + m(o.currentHourData.swellHeight ?? "-") + "m/" + m(o.currentHourData.swellPeriod ?? "-") + "s", 1)
13063
+ l("div", Gm, [
13064
+ l("div", Vm, m(t.$t("weather.windWave")), 1),
13065
+ l("div", Zm, m(o.currentHourData.windwaveDir ?? "-") + "/" + m(o.currentHourData.windwaveHeight ?? "-") + "m/" + m(o.currentHourData.windwavePeriod ?? "-") + "s", 1),
13066
+ l("div", Ym, m(t.$t("weather.swell")), 1),
13067
+ l("div", qm, m(o.currentHourData.swellDir ?? "-") + "/" + m(o.currentHourData.swellHeight ?? "-") + "m/" + m(o.currentHourData.swellPeriod ?? "-") + "s", 1)
13073
13068
  ]),
13074
- l("div", qm, [
13075
- l("div", Xm, m(t.$t("weather.current")), 1),
13076
- l("div", Km, m(o.currentHourData.currentDir ?? "-") + "/" + m(o.currentHourData.currentSpeed ?? "-") + "kts", 1),
13077
- l("div", $m, m(t.$t("weather.visibility")), 1),
13078
- l("div", Jm, m(o.currentHourData.visibility ?? "-") + " nm", 1)
13069
+ l("div", Xm, [
13070
+ l("div", Km, m(t.$t("weather.current")), 1),
13071
+ l("div", $m, m(o.currentHourData.currentDir ?? "-") + "/" + m(o.currentHourData.currentSpeed ?? "-") + "kts", 1),
13072
+ l("div", Jm, m(t.$t("weather.visibility")), 1),
13073
+ l("div", Qm, m(o.currentHourData.visibility ?? "-") + " nm", 1)
13079
13074
  ])
13080
13075
  ];
13081
13076
  }),
@@ -13085,8 +13080,8 @@ function ad(t, e, a, i, o, r) {
13085
13080
  p(P, { class: "d-flex justify-space-between align-center" }, {
13086
13081
  default: g(() => [
13087
13082
  a.followList.some((z) => {
13088
- var L, T;
13089
- return ((L = z == null ? void 0 : z.coordinate) == null ? void 0 : L.lng) === o.form.lng && ((T = z == null ? void 0 : z.coordinate) == null ? void 0 : T.lat) === o.form.lat;
13083
+ var L, C;
13084
+ return ((L = z == null ? void 0 : z.coordinate) == null ? void 0 : L.lng) === o.form.lng && ((C = z == null ? void 0 : z.coordinate) == null ? void 0 : C.lat) === o.form.lat;
13090
13085
  }) ? (y(), O(s, {
13091
13086
  key: 0,
13092
13087
  class: "text-none text-body-1",
@@ -13098,7 +13093,7 @@ function ad(t, e, a, i, o, r) {
13098
13093
  onClick: Oe(r.handleCancelFollow, ["stop"])
13099
13094
  }, {
13100
13095
  prepend: g(() => [
13101
- p(C, {
13096
+ p(T, {
13102
13097
  color: "warning",
13103
13098
  style: { "font-size": "20px", "margin-top": "-2px" }
13104
13099
  })
@@ -13118,7 +13113,7 @@ function ad(t, e, a, i, o, r) {
13118
13113
  onClick: Oe(r.handleFollow, ["stop"])
13119
13114
  }, {
13120
13115
  prepend: g(() => [
13121
- p(C, { style: { "font-size": "20px", "margin-top": "-2px" } })
13116
+ p(T, { style: { "font-size": "20px", "margin-top": "-2px" } })
13122
13117
  ]),
13123
13118
  default: g(() => [
13124
13119
  K(m(t.$t("actions.follow")) + " ", 1)
@@ -13144,19 +13139,19 @@ function ad(t, e, a, i, o, r) {
13144
13139
  ]),
13145
13140
  _: 1
13146
13141
  })) : A("", !0),
13147
- Ve(l("div", Qm, [
13148
- (y(), M("svg", ed, [
13142
+ Ve(l("div", ed, [
13143
+ (y(), M("svg", td, [
13149
13144
  l("use", {
13150
13145
  "xlink:href": `#icon-spot-${a.theme}`
13151
- }, null, 8, td)
13146
+ }, null, 8, ad)
13152
13147
  ]))
13153
13148
  ], 512), [
13154
13149
  [Ze, o.showMeteo]
13155
13150
  ])
13156
13151
  ]);
13157
13152
  }
13158
- const od = /* @__PURE__ */ Y(gm, [["render", ad]]);
13159
- const id = {
13153
+ const id = /* @__PURE__ */ Y(fm, [["render", od]]);
13154
+ const rd = {
13160
13155
  name: "IdmMeasure",
13161
13156
  props: {
13162
13157
  simple: {
@@ -13514,13 +13509,13 @@ const id = {
13514
13509
  }), this.pointMarkers[t.id] = [], (_ = this.tipMarker) == null || _.remove(), this.tipMarker = void 0, e && ((f = this.map) != null && f.getSource(a)) && this.map.removeSource(a), e && ((k = this.map) != null && k.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
13515
13510
  }
13516
13511
  }
13517
- }, rd = { class: "idm-gl4-measure" };
13518
- function ld(t, e, a, i, o, r) {
13512
+ }, ld = { class: "idm-gl4-measure" };
13513
+ function sd(t, e, a, i, o, r) {
13519
13514
  const s = w("VBtn"), c = w("VTooltip");
13520
- return y(), M("div", rd, [
13515
+ return y(), M("div", ld, [
13521
13516
  l("div", {
13522
13517
  class: "menu-bar-box transition pa-1",
13523
- style: te({ top: a.top + a.paddingTop + 166 + "px", right: o.right + "px" })
13518
+ style: ee({ top: a.top + a.paddingTop + 166 + "px", right: o.right + "px" })
13524
13519
  }, [
13525
13520
  p(c, {
13526
13521
  text: t.$t("measure.measure"),
@@ -13546,8 +13541,8 @@ function ld(t, e, a, i, o, r) {
13546
13541
  ], 4)
13547
13542
  ]);
13548
13543
  }
13549
- const sd = /* @__PURE__ */ Y(id, [["render", ld]]);
13550
- const nd = {
13544
+ const nd = /* @__PURE__ */ Y(rd, [["render", sd]]);
13545
+ const cd = {
13551
13546
  name: "IdmBottomBar",
13552
13547
  components: { DateTimePicker: Ma },
13553
13548
  props: {
@@ -13672,18 +13667,18 @@ const nd = {
13672
13667
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
13673
13668
  }
13674
13669
  }
13675
- }, cd = { class: "idm-bottom-bar-gl4" }, md = { class: "date-box d-flex ga-2 mr-2" }, dd = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, hd = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, pd = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, ud = {
13670
+ }, md = { class: "idm-bottom-bar-gl4" }, dd = { class: "date-box d-flex ga-2 mr-2" }, hd = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, pd = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, ud = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, gd = {
13676
13671
  key: 0,
13677
13672
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
13678
- }, gd = ["onClick"], fd = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, yd = { class: "text-body-1" };
13679
- function bd(t, e, a, i, o, r) {
13673
+ }, fd = ["onClick"], yd = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, bd = { class: "text-body-1" };
13674
+ function wd(t, e, a, i, o, r) {
13680
13675
  const s = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), h = w("VMenu"), b = w("VBtn"), x = w("VDivider"), _ = w("VTooltip");
13681
- return y(), M("div", cd, [
13676
+ return y(), M("div", md, [
13682
13677
  l("div", {
13683
13678
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
13684
- style: te({ right: o.right + 146 + "px", bottom: Object.values(o.show).includes(!0) ? "10px" : "-100px" })
13679
+ style: ee({ right: o.right + 146 + "px", bottom: Object.values(o.show).includes(!0) ? "10px" : "-100px" })
13685
13680
  }, [
13686
- l("div", md, [
13681
+ l("div", dd, [
13687
13682
  p(s, N({
13688
13683
  ref: "dateTimePicker",
13689
13684
  "date-time": o.currentDateTimeZ,
@@ -13747,7 +13742,7 @@ function bd(t, e, a, i, o, r) {
13747
13742
  class: "mx-2 my-3",
13748
13743
  style: { height: "16px" }
13749
13744
  }),
13750
- l("div", dd, [
13745
+ l("div", hd, [
13751
13746
  p(b, {
13752
13747
  icon: "",
13753
13748
  size: "small",
@@ -13820,7 +13815,7 @@ function bd(t, e, a, i, o, r) {
13820
13815
  class: "mx-2 my-3",
13821
13816
  style: { height: "16px" }
13822
13817
  }),
13823
- l("div", hd, [
13818
+ l("div", pd, [
13824
13819
  p(_, {
13825
13820
  text: t.$t("weather.windBarbs"),
13826
13821
  location: "top"
@@ -13924,7 +13919,7 @@ function bd(t, e, a, i, o, r) {
13924
13919
  class: "mx-2 mr-3 my-3",
13925
13920
  style: { height: "16px" }
13926
13921
  }),
13927
- l("div", pd, [
13922
+ l("div", ud, [
13928
13923
  p(b, {
13929
13924
  text: "",
13930
13925
  height: "30",
@@ -13955,16 +13950,16 @@ function bd(t, e, a, i, o, r) {
13955
13950
  ], 4),
13956
13951
  l("div", {
13957
13952
  class: "timezone-box d-flex flex-column justify-space-between align-end",
13958
- style: te({ right: o.right + "px" })
13953
+ style: ee({ right: o.right + "px" })
13959
13954
  }, [
13960
- o.showTimezone ? (y(), M("div", ud, [
13955
+ o.showTimezone ? (y(), M("div", gd, [
13961
13956
  (y(!0), M(we, null, _e(o.offsets, (f) => (y(), M("div", {
13962
13957
  key: f,
13963
13958
  class: "item rounded text-body-2 hover-active",
13964
13959
  onClick: (k) => o.timeZone = f
13965
- }, m(f < 0 ? f : "+" + f), 9, gd))), 128))
13960
+ }, m(f < 0 ? f : "+" + f), 9, fd))), 128))
13966
13961
  ])) : A("", !0),
13967
- l("div", fd, [
13962
+ l("div", yd, [
13968
13963
  p(b, {
13969
13964
  text: "",
13970
13965
  variant: "flat",
@@ -13978,13 +13973,13 @@ function bd(t, e, a, i, o, r) {
13978
13973
  ]),
13979
13974
  _: 1
13980
13975
  }),
13981
- l("span", yd, m(o.currentRealTime), 1)
13976
+ l("span", bd, m(o.currentRealTime), 1)
13982
13977
  ])
13983
13978
  ], 4)
13984
13979
  ]);
13985
13980
  }
13986
- const wd = /* @__PURE__ */ Y(nd, [["render", bd]]);
13987
- const xd = {
13981
+ const xd = /* @__PURE__ */ Y(cd, [["render", wd]]);
13982
+ const vd = {
13988
13983
  name: "IdmBottomBar",
13989
13984
  components: { DateTimePicker: Ma },
13990
13985
  props: {
@@ -14087,18 +14082,18 @@ const xd = {
14087
14082
  this.step = Math.floor(e / this.frequency), this.animation = requestAnimationFrame(this.animateSpeeds);
14088
14083
  }
14089
14084
  }
14090
- }, vd = { class: "timeline-box px-2 d-flex justify-center align-center rounded ga-2" };
14091
- function _d(t, e, a, i, o, r) {
14085
+ }, _d = { class: "timeline-box px-2 d-flex justify-center align-center rounded ga-1" };
14086
+ function kd(t, e, a, i, o, r) {
14092
14087
  const s = w("VBtn"), c = w("DateTimePicker");
14093
14088
  return y(), M("div", {
14094
14089
  class: "idm-time-player-gl4 d-flex justify-center align-center",
14095
- style: te({ bottom: Object.values(o.show).includes(!0) ? "10px" : "-100px" })
14090
+ style: ee({ bottom: Object.values(o.show).includes(!0) ? "10px" : "-100px" })
14096
14091
  }, [
14097
- l("div", vd, [
14092
+ l("div", _d, [
14098
14093
  p(s, {
14099
14094
  size: "small",
14100
14095
  density: "compact",
14101
- class: "px-1 bg-background",
14096
+ class: "px-1 bg-background btn-border-1",
14102
14097
  width: "30",
14103
14098
  "min-width": "30",
14104
14099
  height: "30",
@@ -14113,7 +14108,7 @@ function _d(t, e, a, i, o, r) {
14113
14108
  p(s, {
14114
14109
  size: "small",
14115
14110
  density: "compact",
14116
- class: "px-1 bg-background",
14111
+ class: "px-1 bg-background btn-border-1",
14117
14112
  width: "30",
14118
14113
  "min-width": "30",
14119
14114
  height: "30",
@@ -14131,7 +14126,8 @@ function _d(t, e, a, i, o, r) {
14131
14126
  "time-zone": o.timeZone,
14132
14127
  "day-about": o.dayAbout,
14133
14128
  "interval-hour": o.intervalHour,
14134
- width: 220
14129
+ width: 220,
14130
+ height: 32
14135
14131
  }, t.$attrs, {
14136
14132
  onCurrentTimestamp: e[0] || (e[0] = (n) => o.currentTimestamp = n),
14137
14133
  onCurrentRealTime: e[1] || (e[1] = (n) => o.currentRealTime = n),
@@ -14141,7 +14137,7 @@ function _d(t, e, a, i, o, r) {
14141
14137
  p(s, {
14142
14138
  size: "small",
14143
14139
  density: "compact",
14144
- class: "px-1 bg-background",
14140
+ class: "px-1 bg-background btn-border-1",
14145
14141
  width: "30",
14146
14142
  "min-width": "30",
14147
14143
  height: "30",
@@ -14157,7 +14153,7 @@ function _d(t, e, a, i, o, r) {
14157
14153
  key: 0,
14158
14154
  size: "small",
14159
14155
  density: "compact",
14160
- class: "px-1 bg-background",
14156
+ class: "px-1 bg-background btn-border-1",
14161
14157
  width: "30",
14162
14158
  "min-width": "30",
14163
14159
  height: "30",
@@ -14172,7 +14168,7 @@ function _d(t, e, a, i, o, r) {
14172
14168
  key: 1,
14173
14169
  size: "small",
14174
14170
  density: "compact",
14175
- class: "px-1 bg-background",
14171
+ class: "px-1 bg-background btn-border-1",
14176
14172
  width: "30",
14177
14173
  "min-width": "30",
14178
14174
  height: "30",
@@ -14187,15 +14183,15 @@ function _d(t, e, a, i, o, r) {
14187
14183
  ])
14188
14184
  ], 4);
14189
14185
  }
14190
- const $o = /* @__PURE__ */ Y(xd, [["render", _d]]), kd = {
14186
+ const $o = /* @__PURE__ */ Y(vd, [["render", kd]]), zd = {
14191
14187
  name: "IdmGL4",
14192
14188
  components: {
14193
14189
  IdmOtherLayer: gs,
14194
14190
  IdmWeatherLayer: sc,
14195
14191
  IdmTropicals: Xo,
14196
- IdmMeasure: sd,
14197
- IdmSpot: od,
14198
- IdmBottomBar: wd,
14192
+ IdmMeasure: nd,
14193
+ IdmSpot: id,
14194
+ IdmBottomBar: xd,
14199
14195
  IdmTimePlayer: $o
14200
14196
  },
14201
14197
  props: {
@@ -14251,13 +14247,13 @@ const $o = /* @__PURE__ */ Y(xd, [["render", _d]]), kd = {
14251
14247
  }
14252
14248
  },
14253
14249
  methods: {}
14254
- }, zd = {
14250
+ }, Ld = {
14255
14251
  ref: "mapHomeGl4",
14256
14252
  class: "map-gl4-home"
14257
14253
  };
14258
- function Ld(t, e, a, i, o, r) {
14254
+ function Pd(t, e, a, i, o, r) {
14259
14255
  const s = w("IdmOtherLayer"), c = w("IdmWeatherLayer"), n = w("IdmTropicals"), u = w("IdmMeasure"), h = w("IdmSpot"), b = w("IdmBottomBar"), x = w("IdmTimePlayer");
14260
- return y(), M("div", zd, [
14256
+ return y(), M("div", Ld, [
14261
14257
  p(s, N({
14262
14258
  ref: "idmOtherLayers",
14263
14259
  simple: a.simple,
@@ -14335,7 +14331,7 @@ function Ld(t, e, a, i, o, r) {
14335
14331
  }, t.$attrs), null, 16, ["weather-check-list", "map-feather"])) : A("", !0)
14336
14332
  ], 512);
14337
14333
  }
14338
- const Pd = /* @__PURE__ */ Y(kd, [["render", Ld]]);
14334
+ const Td = /* @__PURE__ */ Y(zd, [["render", Pd]]);
14339
14335
  class Cd {
14340
14336
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
14341
14337
  he(this, "originStyle");
@@ -14344,7 +14340,7 @@ class Cd {
14344
14340
  he(this, "hi");
14345
14341
  he(this, "td");
14346
14342
  he(this, "windy");
14347
- var a, i, o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, C, z, L, T, v, D, F, V, q, Z, J, Q, $, le, se, pe, ie, ce, ue, me, de, R, ee, ye, xe, Le, Pe, ve, Me, Ce, H, ae, Fe, Ae, ge, Ie, W, fe, oe, re, Be, He, Ue, E, be, Re, Ne, Ee, j, We, G, qe, Xe, Ke, ze, $e, Je, Qe, et, tt, at, ot, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, Dt, At, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, ea, ta, aa, oa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, Aa, Ra, Oa, Ba, Na, Ea, ja, Fa, Ha, Ua, Wa, Ga, Va, Za, Ya, qa, Xa, Ka, $a, Ja, Qa, eo, to, ao, oo, io, ro, lo, so, no, 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, No, Eo, jo, Fo, Ho, Uo, Wo, Go, Vo;
14343
+ var a, i, o, r, s, c, n, u, h, b, x, _, f, k, P, B, I, T, z, L, C, v, D, F, V, q, Z, J, Q, $, le, se, pe, ie, ce, ue, me, de, R, te, ye, xe, Le, Pe, ve, Me, Te, H, ae, Fe, Ae, ge, Ie, W, fe, oe, re, Be, He, Ue, E, be, Re, Ne, Ee, j, We, G, qe, Xe, Ke, ze, $e, Je, Qe, et, tt, at, ot, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, St, Mt, It, Dt, At, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, Yt, qt, Xt, Kt, Jt, Qt, ea, ta, aa, oa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, Aa, Ra, Oa, Ba, Na, Ea, ja, Fa, Ha, Ua, Wa, Ga, Va, Za, Ya, qa, Xa, Ka, $a, Ja, Qa, eo, to, ao, oo, io, ro, lo, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, To, Co, So, Mo, Io, Do, Ao, Ro, Oo, Bo, No, Eo, jo, Fo, Ho, Uo, Wo, Go, Vo;
14348
14344
  this.i4 = {
14349
14345
  source: {
14350
14346
  type: "raster",
@@ -32993,9 +32989,9 @@ class Cd {
32993
32989
  (_ = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : _.find((d) => d.id === "loadlines-fill"),
32994
32990
  (k = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : k.find((d) => d.id === "empty-layer-0"),
32995
32991
  (B = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : B.find((d) => d.id === "empty-layer-1"),
32996
- (C = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : C.find((d) => d.id === "country-boundaries"),
32992
+ (T = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : T.find((d) => d.id === "country-boundaries"),
32997
32993
  (L = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : L.find((d) => d.id === "water-outline"),
32998
- (v = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline2"),
32994
+ (v = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline2"),
32999
32995
  (F = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : F.find((d) => d.id === "empty-layer-2"),
33000
32996
  (q = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : q.find((d) => d.id === "water-line-label"),
33001
32997
  (J = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : J.find((d) => d.id === "water-point-label"),
@@ -33004,11 +33000,11 @@ class Cd {
33004
33000
  (ie = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : ie.find((d) => d.id === "ne-10m-label"),
33005
33001
  (ue = (ce = this.originStyle) == null ? void 0 : ce.light.layers) == null ? void 0 : ue.find((d) => d.id === "china-route-line"),
33006
33002
  (de = (me = this.originStyle) == null ? void 0 : me.light.layers) == null ? void 0 : de.find((d) => d.id === "china-route-fill"),
33007
- (ee = (R = this.originStyle) == null ? void 0 : R.light.layers) == null ? void 0 : ee.find((d) => d.id === "china-route-label"),
33003
+ (te = (R = this.originStyle) == null ? void 0 : R.light.layers) == null ? void 0 : te.find((d) => d.id === "china-route-label"),
33008
33004
  (xe = (ye = this.originStyle) == null ? void 0 : ye.light.layers) == null ? void 0 : xe.find((d) => d.id === "admin-0-boundary-bg"),
33009
33005
  (Pe = (Le = this.originStyle) == null ? void 0 : Le.light.layers) == null ? void 0 : Pe.find((d) => d.id === "admin-0-boundary"),
33010
33006
  (Me = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : Me.find((d) => d.id === "admin-0-boundary-disputed"),
33011
- (H = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : H.find((d) => d.id === "country-label"),
33007
+ (H = (Te = this.originStyle) == null ? void 0 : Te.light.layers) == null ? void 0 : H.find((d) => d.id === "country-label"),
33012
33008
  (Fe = (ae = this.originStyle) == null ? void 0 : ae.light.layers) == null ? void 0 : Fe.find((d) => d.id === "continent-label"),
33013
33009
  (ge = (Ae = this.originStyle) == null ? void 0 : Ae.light.layers) == null ? void 0 : ge.find((d) => d.id === "tide-stations"),
33014
33010
  (W = (Ie = this.originStyle) == null ? void 0 : Ie.light.layers) == null ? void 0 : W.find((d) => d.id === "empty-layer-3"),
@@ -33057,8 +33053,8 @@ class Cd {
33057
33053
  (vt = (xt = this.originStyle) == null ? void 0 : xt.dark.layers) == null ? void 0 : vt.find((d) => d.id === "china-route-fill"),
33058
33054
  (kt = (_t = this.originStyle) == null ? void 0 : _t.dark.layers) == null ? void 0 : kt.find((d) => d.id === "china-route-label"),
33059
33055
  (Lt = (zt = this.originStyle) == null ? void 0 : zt.dark.layers) == null ? void 0 : Lt.find((d) => d.id === "admin-0-boundary-bg"),
33060
- (Ct = (Pt = this.originStyle) == null ? void 0 : Pt.dark.layers) == null ? void 0 : Ct.find((d) => d.id === "admin-0-boundary"),
33061
- (St = (Tt = this.originStyle) == null ? void 0 : Tt.dark.layers) == null ? void 0 : St.find((d) => d.id === "admin-0-boundary-disputed"),
33056
+ (Tt = (Pt = this.originStyle) == null ? void 0 : Pt.dark.layers) == null ? void 0 : Tt.find((d) => d.id === "admin-0-boundary"),
33057
+ (St = (Ct = this.originStyle) == null ? void 0 : Ct.dark.layers) == null ? void 0 : St.find((d) => d.id === "admin-0-boundary-disputed"),
33062
33058
  (It = (Mt = this.originStyle) == null ? void 0 : Mt.dark.layers) == null ? void 0 : It.find((d) => d.id === "country-label"),
33063
33059
  (At = (Dt = this.originStyle) == null ? void 0 : Dt.dark.layers) == null ? void 0 : At.find((d) => d.id === "continent-label"),
33064
33060
  (Ot = (Rt = this.originStyle) == null ? void 0 : Rt.dark.layers) == null ? void 0 : Ot.find((d) => d.id === "tide-stations"),
@@ -33186,8 +33182,8 @@ class Cd {
33186
33182
  (vo = (xo = this.originStyle) == null ? void 0 : xo.light.layers) == null ? void 0 : vo.find((d) => d.id === "ne-10m-outline"),
33187
33183
  (ko = (_o = this.originStyle) == null ? void 0 : _o.light.layers) == null ? void 0 : ko.find((d) => d.id === "ne-10m-label"),
33188
33184
  (Lo = (zo = this.originStyle) == null ? void 0 : zo.light.layers) == null ? void 0 : Lo.find((d) => d.id === "china-route-line"),
33189
- (Co = (Po = this.originStyle) == null ? void 0 : Po.light.layers) == null ? void 0 : Co.find((d) => d.id === "china-route-fill"),
33190
- (So = (To = this.originStyle) == null ? void 0 : To.light.layers) == null ? void 0 : So.find((d) => d.id === "china-route-label"),
33185
+ (To = (Po = this.originStyle) == null ? void 0 : Po.light.layers) == null ? void 0 : To.find((d) => d.id === "china-route-fill"),
33186
+ (So = (Co = this.originStyle) == null ? void 0 : Co.light.layers) == null ? void 0 : So.find((d) => d.id === "china-route-label"),
33191
33187
  (Io = (Mo = this.originStyle) == null ? void 0 : Mo.light.layers) == null ? void 0 : Io.find((d) => d.id === "admin-0-boundary-bg"),
33192
33188
  (Ao = (Do = this.originStyle) == null ? void 0 : Do.light.layers) == null ? void 0 : Ao.find((d) => d.id === "admin-0-boundary"),
33193
33189
  (Oo = (Ro = this.originStyle) == null ? void 0 : Ro.light.layers) == null ? void 0 : Oo.find((d) => d.id === "admin-0-boundary-disputed"),
@@ -33201,7 +33197,7 @@ class Cd {
33201
33197
  };
33202
33198
  }
33203
33199
  }
33204
- const Td = {
33200
+ const Sd = {
33205
33201
  name: "MapInitial",
33206
33202
  props: {
33207
33203
  token: {
@@ -33315,23 +33311,23 @@ const Td = {
33315
33311
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
33316
33312
  }
33317
33313
  }
33318
- }, Sd = { class: "v-btn--variant-elevated rounded" }, Md = { class: "v-btn--variant-elevated rounded" }, Id = { class: "zoom" }, Dd = {
33314
+ }, Md = { class: "v-btn--variant-elevated rounded" }, Id = { class: "v-btn--variant-elevated rounded" }, Dd = { class: "zoom" }, Ad = {
33319
33315
  key: 2,
33320
33316
  class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70"
33321
33317
  };
33322
- function Ad(t, e, a, i, o, r) {
33318
+ function Rd(t, e, a, i, o, r) {
33323
33319
  const s = w("VBtn");
33324
33320
  return y(), M("div", {
33325
33321
  class: "mapbox-initial-gl4",
33326
- style: te({ height: a.height, width: a.width })
33322
+ style: ee({ height: a.height, width: a.width })
33327
33323
  }, [
33328
33324
  e[6] || (e[6] = l("div", { id: "map" }, null, -1)),
33329
33325
  a.simple ? (y(), M("div", {
33330
33326
  key: 0,
33331
33327
  class: "menu-bar-box transition px-1 rounded d-flex flex-column pa-1",
33332
- style: te({ top: a.top + 268 + "px", right: o.right + "px", height: "40px" })
33328
+ style: ee({ top: a.top + 268 + "px", right: o.right + "px", height: "40px" })
33333
33329
  }, [
33334
- l("div", Sd, [
33330
+ l("div", Md, [
33335
33331
  p(s, {
33336
33332
  "min-width": "32",
33337
33333
  width: "32",
@@ -33350,9 +33346,9 @@ function Ad(t, e, a, i, o, r) {
33350
33346
  a.simple ? A("", !0) : (y(), M("div", {
33351
33347
  key: 1,
33352
33348
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
33353
- style: te({ top: a.top + 268 + "px", right: o.right + "px" })
33349
+ style: ee({ top: a.top + 268 + "px", right: o.right + "px" })
33354
33350
  }, [
33355
- l("div", Md, [
33351
+ l("div", Id, [
33356
33352
  p(s, {
33357
33353
  "min-width": "32",
33358
33354
  width: "32",
@@ -33366,7 +33362,7 @@ function Ad(t, e, a, i, o, r) {
33366
33362
  _: 1,
33367
33363
  __: [1]
33368
33364
  }, 8, ["onClick"]),
33369
- l("div", Id, m(o.zoom ? Math.floor(o.zoom) : 0), 1),
33365
+ l("div", Dd, m(o.zoom ? Math.floor(o.zoom) : 0), 1),
33370
33366
  p(s, {
33371
33367
  "min-width": "32",
33372
33368
  width: "32",
@@ -33382,7 +33378,7 @@ function Ad(t, e, a, i, o, r) {
33382
33378
  }, 8, ["onClick"])
33383
33379
  ])
33384
33380
  ], 4)),
33385
- a.simple ? A("", !0) : (y(), M("div", Dd, [
33381
+ a.simple ? A("", !0) : (y(), M("div", Ad, [
33386
33382
  e[3] || (e[3] = l("span", null, "© 2023", -1)),
33387
33383
  l("span", null, "-" + m(r.computeYear), 1),
33388
33384
  e[4] || (e[4] = l("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
@@ -33394,20 +33390,20 @@ function Ad(t, e, a, i, o, r) {
33394
33390
  ]))
33395
33391
  ], 4);
33396
33392
  }
33397
- const Rd = /* @__PURE__ */ Y(Td, [["render", Ad]]), Zd = {
33393
+ const Od = /* @__PURE__ */ Y(Sd, [["render", Rd]]), Yd = {
33398
33394
  install(t) {
33399
- t.component("MapInitial", Rd), t.component("MapboxGL", Pd), t.component("TropicalGL", Xo), t.component("LatLngGL", qo), t.component("DateTimePicker", Ma), t.component("DateRangePicker", Ko), t.component("PortDetail", Ia), t.component("TimePlayer", $o);
33395
+ t.component("MapInitial", Od), t.component("MapboxGL", Td), t.component("TropicalGL", Xo), t.component("LatLngGL", qo), t.component("DateTimePicker", Ma), t.component("DateRangePicker", Ko), t.component("PortDetail", Ia), t.component("TimePlayer", $o);
33400
33396
  }
33401
33397
  };
33402
33398
  export {
33403
33399
  Ko as DateRangePicker,
33404
33400
  Ma as DateTimePicker,
33405
33401
  qo as LatLngGL,
33406
- Rd as MapInitial,
33407
- Pd as MapboxGL,
33408
- Zd as MapboxGLPlugin,
33402
+ Od as MapInitial,
33403
+ Td as MapboxGL,
33404
+ Yd as MapboxGLPlugin,
33409
33405
  Cd as MapboxStyleHelper,
33410
- Te as ParticleSchema,
33406
+ Ce as ParticleSchema,
33411
33407
  Ia as PortDetail,
33412
33408
  $o as TimePlayer,
33413
33409
  Xo as TropicalGL,