@idmwx/idmui-gl4 2.1.0 → 2.1.2

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,7 +3,7 @@ var $a = (t, e, o) => e in t ? Qa(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var de = (t, e, o) => ($a(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Ae from "axios";
5
5
  import { useTheme as De } from "vuetify";
6
- import { openBlock as g, createElementBlock as S, resolveComponent as w, createBlock as A, normalizeClass as ye, withCtx as u, createVNode as p, withModifiers as Se, createElementVNode as s, createCommentVNode as I, toDisplayString as n, createTextVNode as K, Fragment as xe, renderList as ke, withDirectives as Ye, vShow as Ze, mergeProps as j, normalizeStyle as ee, createStaticVNode as ei } from "vue";
6
+ import { openBlock as g, createElementBlock as S, resolveComponent as x, createBlock as A, normalizeClass as ye, withCtx as u, createVNode as p, withModifiers as Se, createElementVNode as s, createCommentVNode as I, toDisplayString as n, createTextVNode as K, Fragment as xe, renderList as ke, withDirectives as Ye, vShow as Ze, mergeProps as j, normalizeStyle as ee, createStaticVNode as ei } from "vue";
7
7
  import ze from "mapbox-gl";
8
8
  import M from "moment";
9
9
  import { LngLatHelper as q, TropicalHelper as Va, LaneHelper as Ve } from "@idm-plugin/geo";
@@ -497,7 +497,7 @@ const pi = {
497
497
  }
498
498
  }, ui = ["innerHTML"];
499
499
  function gi(t, e, o, i, a, r) {
500
- const l = w("VBtn"), m = w("v-card-text"), c = w("v-card");
500
+ const l = x("VBtn"), m = x("v-card-text"), c = x("v-card");
501
501
  return a.showMakerInfo ? (g(), A(c, {
502
502
  key: 0,
503
503
  class: ye(["idm-gl4-zone-info overflow-auto scroll", o.simple ? "page" : "dialog"]),
@@ -1511,10 +1511,10 @@ const yi = {
1511
1511
  { label: "Swell", key: "weather.swell", unit: "m" },
1512
1512
  { label: "Current", key: "weather.current", unit: "kts" }
1513
1513
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1514
- var m, c, f, d, b, x, z, v, P, y, B, D, T, _, L, C, k, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe;
1514
+ var m, c, f, d, b, v, L, k, P, y, B, D, T, z, w, C, _, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe;
1515
1515
  let r = {};
1516
1516
  const l = ((m = To.pickHourly(t, M(i))) == null ? void 0 : m[0]) || {};
1517
- r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (c = l.weather) == null ? void 0 : c.url, r.temp = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((z = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : z.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((v = l == null ? void 0 : l.weather) == null ? void 0 : v.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((y = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : y.kts, 1) ?? "-", r.windDir = (D = (B = l == null ? void 0 : l.weather) == null ? void 0 : B.wind) == null ? void 0 : D.direction, r.windLevel = this.computeRoundPrecision((_ = (T = l == null ? void 0 : l.weather) == null ? void 0 : T.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (k = l == null ? void 0 : l.wave) == null ? void 0 : k.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Y = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.sig) == null ? void 0 : Y.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision(($ = (Q = l == null ? void 0 : l.wave) == null ? void 0 : Q.wd) == null ? void 0 : $.height, 1) ?? "-", r.windwaveDir = (se = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : se.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ce = (ie = l == null ? void 0 : l.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.height, 1) ?? "-", r.swellDir = (me = (ue = l == null ? void 0 : l.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.direction, r.swellPeriod = this.computeRoundPrecision((O = (he = l == null ? void 0 : l.wave) == null ? void 0 : he.swell) == null ? void 0 : O.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((te = l == null ? void 0 : l.current) == null ? void 0 : te.speed, 1) ?? "-", r.currentDir = (be = l == null ? void 0 : l.current) == null ? void 0 : be.direction, r.currentSpeed = this.computeRoundPrecision((ve = l == null ? void 0 : l.current) == null ? void 0 : ve.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1517
+ r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (c = l.weather) == null ? void 0 : c.url, r.temp = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((b = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.precip) == null ? void 0 : b.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((L = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.precip) == null ? void 0 : L.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((k = l == null ? void 0 : l.weather) == null ? void 0 : k.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((y = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : y.kts, 1) ?? "-", r.windDir = (D = (B = l == null ? void 0 : l.weather) == null ? void 0 : B.wind) == null ? void 0 : D.direction, r.windLevel = this.computeRoundPrecision((z = (T = l == null ? void 0 : l.weather) == null ? void 0 : T.wind) == null ? void 0 : z.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((Y = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.sig) == null ? void 0 : Y.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision(($ = (Q = l == null ? void 0 : l.wave) == null ? void 0 : Q.wd) == null ? void 0 : $.height, 1) ?? "-", r.windwaveDir = (se = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : se.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((ce = (ie = l == null ? void 0 : l.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.height, 1) ?? "-", r.swellDir = (me = (ue = l == null ? void 0 : l.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.direction, r.swellPeriod = this.computeRoundPrecision((O = (he = l == null ? void 0 : l.wave) == null ? void 0 : he.swell) == null ? void 0 : O.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((te = l == null ? void 0 : l.current) == null ? void 0 : te.speed, 1) ?? "-", r.currentDir = (be = l == null ? void 0 : l.current) == null ? void 0 : be.direction, r.currentSpeed = this.computeRoundPrecision((ve = l == null ? void 0 : l.current) == null ? void 0 : ve.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1518
1518
  });
1519
1519
  },
1520
1520
  handleTide() {
@@ -1719,16 +1719,16 @@ const yi = {
1719
1719
  width: "120"
1720
1720
  }, fr = { class: "px-1 text-center" }, yr = { class: "px-1 text-center" }, br = { class: "px-1 text-center" };
1721
1721
  function wr(t, e, o, i, a, r) {
1722
- const l = w("VIcon"), m = w("VBtn"), c = w("v-icon"), f = w("VCardTitle"), d = w("VDivider"), b = w("VBtnToggle"), x = w("VCard");
1723
- return g(), A(x, {
1722
+ const l = x("VIcon"), m = x("VBtn"), c = x("v-icon"), f = x("VCardTitle"), d = x("VDivider"), b = x("VBtnToggle"), v = x("VCard");
1723
+ return g(), A(v, {
1724
1724
  class: ye(["port-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
1725
1725
  }, {
1726
1726
  default: u(() => {
1727
- var z, v, P;
1727
+ var L, k, P;
1728
1728
  return [
1729
1729
  p(f, { class: "w-100" }, {
1730
1730
  default: u(() => {
1731
- var y, B, D, T, _, L;
1731
+ var y, B, D, T, z, w;
1732
1732
  return [
1733
1733
  s("div", bi, [
1734
1734
  s("div", wi, [
@@ -1739,9 +1739,9 @@ function wr(t, e, o, i, a, r) {
1739
1739
  s("div", null, n((T = o.port) == null ? void 0 : T.name), 1)
1740
1740
  ]),
1741
1741
  o.simple ? (g(), S("div", xi, [
1742
- (_ = o.followList) != null && _.some((C) => {
1743
- var k;
1744
- return ((k = C.port) == null ? void 0 : k.id) === o.portId;
1742
+ (z = o.followList) != null && z.some((C) => {
1743
+ var _;
1744
+ return ((_ = C.port) == null ? void 0 : _.id) === o.portId;
1745
1745
  }) ? (g(), A(m, {
1746
1746
  key: 0,
1747
1747
  class: "text-none rounded-circle",
@@ -1811,7 +1811,7 @@ function wr(t, e, o, i, a, r) {
1811
1811
  s("div", null, n(t.$t("port.port")), 1),
1812
1812
  s("div", null, [
1813
1813
  e[4] || (e[4] = s("label", null, "UN/LOCODE: ", -1)),
1814
- s("span", null, n((L = o.port) == null ? void 0 : L.cntLoCode), 1)
1814
+ s("span", null, n((w = o.port) == null ? void 0 : w.cntLoCode), 1)
1815
1815
  ])
1816
1816
  ])
1817
1817
  ];
@@ -1820,7 +1820,7 @@ function wr(t, e, o, i, a, r) {
1820
1820
  }),
1821
1821
  p(d, { class: "w-100" }),
1822
1822
  o.simple ? I("", !0) : (g(), S("div", ki, [
1823
- (z = o.followList) != null && z.some((y) => {
1823
+ (L = o.followList) != null && L.some((y) => {
1824
1824
  var B;
1825
1825
  return ((B = y.port) == null ? void 0 : B.id) === o.portId;
1826
1826
  }) ? (g(), A(m, {
@@ -1885,7 +1885,7 @@ function wr(t, e, o, i, a, r) {
1885
1885
  s("div", Si, [
1886
1886
  s("div", Mi, [
1887
1887
  s("div", Di, n(t.$t("port.region")), 1),
1888
- s("div", Ii, n(((v = o.port) == null ? void 0 : v.region) ?? ((P = o.port) == null ? void 0 : P.city) ?? "-"), 1)
1888
+ s("div", Ii, n(((k = o.port) == null ? void 0 : k.region) ?? ((P = o.port) == null ? void 0 : P.city) ?? "-"), 1)
1889
1889
  ]),
1890
1890
  s("div", Ri, [
1891
1891
  s("div", Ai, n(t.$t("port.position")), 1),
@@ -2038,7 +2038,7 @@ function wr(t, e, o, i, a, r) {
2038
2038
  _: 1
2039
2039
  }, 8, ["class"]);
2040
2040
  }
2041
- const Do = /* @__PURE__ */ Z(yi, [["render", wr], ["__scopeId", "data-v-44f2b7f0"]]);
2041
+ const Do = /* @__PURE__ */ Z(yi, [["render", wr], ["__scopeId", "data-v-2ee20173"]]);
2042
2042
  const xr = {
2043
2043
  name: "IdmPort",
2044
2044
  components: {
@@ -2147,7 +2147,7 @@ const xr = {
2147
2147
  }
2148
2148
  }, vr = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, _r = { class: "d-flex justify-start align-center text-label" }, kr = { class: "d-flex justify-start align-center text-label" };
2149
2149
  function zr(t, e, o, i, a, r) {
2150
- const l = w("VCardText"), m = w("VCard"), c = w("PortDetail");
2150
+ const l = x("VCardText"), m = x("VCard"), c = x("PortDetail");
2151
2151
  return g(), S("div", null, [
2152
2152
  Ye(p(m, {
2153
2153
  id: "idmPortInfo",
@@ -2184,7 +2184,7 @@ function zr(t, e, o, i, a, r) {
2184
2184
  }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : I("", !0)
2185
2185
  ]);
2186
2186
  }
2187
- const Lr = /* @__PURE__ */ Z(xr, [["render", zr], ["__scopeId", "data-v-0c0f27d3"]]), Pr = {
2187
+ const Lr = /* @__PURE__ */ Z(xr, [["render", zr], ["__scopeId", "data-v-f13a96e9"]]), Pr = {
2188
2188
  name: "IdmLoadLine",
2189
2189
  props: {
2190
2190
  map: {
@@ -3102,20 +3102,20 @@ const Kr = {
3102
3102
  width: "120"
3103
3103
  }, Ls = { class: "px-1 text-center" }, Ps = { class: "px-1 text-center" }, Ts = { class: "px-1 text-center" };
3104
3104
  function Cs(t, e, o, i, a, r) {
3105
- const l = w("VBtn"), m = w("v-card-title"), c = w("v-divider"), f = w("VBtnToggle"), d = w("v-card");
3105
+ const l = x("VBtn"), m = x("v-card-title"), c = x("v-divider"), f = x("VBtnToggle"), d = x("v-card");
3106
3106
  return g(), A(d, {
3107
3107
  class: ye(["tide-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
3108
3108
  }, {
3109
3109
  default: u(() => {
3110
- var b, x;
3110
+ var b, v;
3111
3111
  return [
3112
3112
  p(m, { class: "w-100" }, {
3113
3113
  default: u(() => {
3114
- var z;
3114
+ var L;
3115
3115
  return [
3116
3116
  s("div", Jr, [
3117
3117
  s("div", Qr, [
3118
- s("div", null, n((z = o.station) == null ? void 0 : z.name), 1)
3118
+ s("div", null, n((L = o.station) == null ? void 0 : L.name), 1)
3119
3119
  ]),
3120
3120
  p(l, {
3121
3121
  icon: "",
@@ -3156,7 +3156,7 @@ function Cs(t, e, o, i, a, r) {
3156
3156
  s("div", rs, [
3157
3157
  s("div", ss, [
3158
3158
  s("div", ls, n(t.$t("tide.region")), 1),
3159
- s("div", ns, n(((b = o.station) == null ? void 0 : b.Country) ?? ((x = o.station) == null ? void 0 : x.city) ?? "-"), 1)
3159
+ s("div", ns, n(((b = o.station) == null ? void 0 : b.Country) ?? ((v = o.station) == null ? void 0 : v.city) ?? "-"), 1)
3160
3160
  ]),
3161
3161
  s("div", cs, [
3162
3162
  s("div", ms, n(t.$t("tide.position")), 1),
@@ -3185,7 +3185,7 @@ function Cs(t, e, o, i, a, r) {
3185
3185
  }, [
3186
3186
  p(f, {
3187
3187
  modelValue: a.currentIndex,
3188
- "onUpdate:modelValue": e[0] || (e[0] = (z) => a.currentIndex = z),
3188
+ "onUpdate:modelValue": e[0] || (e[0] = (L) => a.currentIndex = L),
3189
3189
  class: "w-100 gray-bg-2 rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
3190
3190
  density: "compact",
3191
3191
  group: "",
@@ -3194,15 +3194,15 @@ function Cs(t, e, o, i, a, r) {
3194
3194
  rounded: "1"
3195
3195
  }, {
3196
3196
  default: u(() => [
3197
- (g(!0), S(xe, null, ke(r.dateList, (z) => (g(), A(l, {
3197
+ (g(!0), S(xe, null, ke(r.dateList, (L) => (g(), A(l, {
3198
3198
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
3199
3199
  density: "compact",
3200
3200
  color: "primary",
3201
3201
  height: "26",
3202
- value: z.index
3202
+ value: L.index
3203
3203
  }, {
3204
3204
  default: u(() => [
3205
- K(n(z.label), 1)
3205
+ K(n(L.label), 1)
3206
3206
  ]),
3207
3207
  _: 2
3208
3208
  }, 1032, ["value"]))), 256))
@@ -3217,12 +3217,12 @@ function Cs(t, e, o, i, a, r) {
3217
3217
  s("th", ks, n(t.$t("time.time")) + " ( LT ) ", 1),
3218
3218
  s("th", zs, n(t.$t("tide.height")) + " ( m )", 1)
3219
3219
  ]),
3220
- (g(!0), S(xe, null, ke(a.tideTableData, (z, v) => {
3220
+ (g(!0), S(xe, null, ke(a.tideTableData, (L, k) => {
3221
3221
  var P;
3222
- return g(), S("tr", { key: v }, [
3223
- s("td", Ls, n(t.$t(`tide.${(P = z == null ? void 0 : z.type) == null ? void 0 : P.toLowerCase()}`)) + " " + n(t.$t("tide.tide")), 1),
3224
- s("td", Ps, n(r.computeLocalTime(z == null ? void 0 : z.date, o.station, "MM-DD HH:mm")), 1),
3225
- s("td", Ts, n((z == null ? void 0 : z.height) ?? "-") + " m", 1)
3222
+ return g(), S("tr", { key: k }, [
3223
+ s("td", Ls, n(t.$t(`tide.${(P = L == null ? void 0 : L.type) == null ? void 0 : P.toLowerCase()}`)) + " " + n(t.$t("tide.tide")), 1),
3224
+ s("td", Ps, n(r.computeLocalTime(L == null ? void 0 : L.date, o.station, "MM-DD HH:mm")), 1),
3225
+ s("td", Ts, n((L == null ? void 0 : L.height) ?? "-") + " m", 1)
3226
3226
  ]);
3227
3227
  }), 128))
3228
3228
  ])
@@ -3235,7 +3235,7 @@ function Cs(t, e, o, i, a, r) {
3235
3235
  _: 1
3236
3236
  }, 8, ["class"]);
3237
3237
  }
3238
- const Ss = /* @__PURE__ */ Z(Kr, [["render", Cs], ["__scopeId", "data-v-b4cdca6c"]]);
3238
+ const Ss = /* @__PURE__ */ Z(Kr, [["render", Cs], ["__scopeId", "data-v-ea434277"]]);
3239
3239
  const Ms = {
3240
3240
  name: "IdmTideStations",
3241
3241
  components: {
@@ -3313,7 +3313,7 @@ const Ms = {
3313
3313
  }
3314
3314
  }, Ds = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, Is = { class: "d-flex justify-start align-center" }, Rs = { class: "d-flex justify-start align-center" }, As = { class: "text-label" };
3315
3315
  function Os(t, e, o, i, a, r) {
3316
- const l = w("v-card-text"), m = w("v-card"), c = w("TideDetail");
3316
+ const l = x("v-card-text"), m = x("v-card"), c = x("TideDetail");
3317
3317
  return g(), S("div", null, [
3318
3318
  Ye(p(m, { id: "idmTidalInfo" }, {
3319
3319
  default: u(() => [
@@ -3343,7 +3343,7 @@ function Os(t, e, o, i, a, r) {
3343
3343
  }, t.$attrs), null, 16, ["station", "onClose"])) : I("", !0)
3344
3344
  ]);
3345
3345
  }
3346
- const Bs = /* @__PURE__ */ Z(Ms, [["render", Os], ["__scopeId", "data-v-7f9e02c0"]]), js = {
3346
+ const Bs = /* @__PURE__ */ Z(Ms, [["render", Os], ["__scopeId", "data-v-09a7d5d7"]]), js = {
3347
3347
  name: "IdmIceAreas",
3348
3348
  props: {
3349
3349
  map: {
@@ -4480,7 +4480,7 @@ const Gs = {
4480
4480
  }
4481
4481
  }, Ws = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Us = { class: "d-flex justify-start align-center text-label" }, Vs = { class: "d-flex justify-start align-center text-label" };
4482
4482
  function Ys(t, e, o, i, a, r) {
4483
- const l = w("v-card-text"), m = w("v-card"), c = w("PortDetail");
4483
+ const l = x("v-card-text"), m = x("v-card"), c = x("PortDetail");
4484
4484
  return g(), S("div", null, [
4485
4485
  Ye(p(m, {
4486
4486
  id: "idmFollowPortInfo",
@@ -4518,7 +4518,7 @@ function Ys(t, e, o, i, a, r) {
4518
4518
  }, t.$attrs), null, 16, ["portId", "port", "forecastModel", "followList", "onClose"])) : I("", !0)
4519
4519
  ]);
4520
4520
  }
4521
- const Zs = /* @__PURE__ */ Z(Gs, [["render", Ys], ["__scopeId", "data-v-95e70a1f"]]);
4521
+ const Zs = /* @__PURE__ */ Z(Gs, [["render", Ys], ["__scopeId", "data-v-16e02248"]]);
4522
4522
  const Xs = {
4523
4523
  name: "IdmFollowPosition",
4524
4524
  props: {
@@ -5409,14 +5409,14 @@ const Xs = {
5409
5409
  if (e.properties) {
5410
5410
  const b = e.properties;
5411
5411
  b.lng = e.geometry.coordinates[0], b.lat = e.geometry.coordinates[1];
5412
- const x = M(), z = (o = M(this.realTime)) == null ? void 0 : o.diff(x, "d", !0), v = {
5412
+ const v = M(), L = (o = M(this.realTime)) == null ? void 0 : o.diff(v, "d", !0), k = {
5413
5413
  followId: b.id,
5414
5414
  lat: b.lat,
5415
5415
  lng: b.lng,
5416
5416
  datetime: this.realTime,
5417
5417
  forecastModel: this.forecastModel
5418
5418
  };
5419
- z >= 0 ? (l = (r = (a = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmSpot) == null || l.fetchForecastData(v) : (d = (f = (c = (m = this.$parent) == null ? void 0 : m.$parent) == null ? void 0 : c.$refs) == null ? void 0 : f.idmSpot) == null || d.fetchHistoryData(v);
5419
+ L >= 0 ? (l = (r = (a = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmSpot) == null || l.fetchForecastData(k) : (d = (f = (c = (m = this.$parent) == null ? void 0 : m.$parent) == null ? void 0 : c.$refs) == null ? void 0 : f.idmSpot) == null || d.fetchHistoryData(k);
5420
5420
  }
5421
5421
  },
5422
5422
  handleHover(t) {
@@ -5439,7 +5439,7 @@ const Xs = {
5439
5439
  class: "d-flex justify-start align-center text-label"
5440
5440
  };
5441
5441
  function Qs(t, e, o, i, a, r) {
5442
- const l = w("v-card-text"), m = w("v-card");
5442
+ const l = x("v-card-text"), m = x("v-card");
5443
5443
  return Ye((g(), A(m, {
5444
5444
  id: "idmFollowPositionInfo",
5445
5445
  ref: "idmFollowPositionInfo"
@@ -5465,7 +5465,7 @@ function Qs(t, e, o, i, a, r) {
5465
5465
  [Ze, a.showInfo]
5466
5466
  ]);
5467
5467
  }
5468
- const $s = /* @__PURE__ */ Z(Xs, [["render", Qs], ["__scopeId", "data-v-82405c68"]]);
5468
+ const $s = /* @__PURE__ */ Z(Xs, [["render", Qs], ["__scopeId", "data-v-469134f9"]]);
5469
5469
  const el = {
5470
5470
  name: "IdmOtherLayerr",
5471
5471
  components: {
@@ -5653,8 +5653,8 @@ const el = {
5653
5653
  })
5654
5654
  );
5655
5655
  (await Promise.all(l)).map((c) => {
5656
- var b, x, z;
5657
- const f = ((b = c == null ? void 0 : c.data) == null ? void 0 : b.data) || (c == null ? void 0 : c.data), d = (z = (x = c == null ? void 0 : c.config) == null ? void 0 : x.headers) == null ? void 0 : z.key;
5656
+ var b, v, L;
5657
+ const f = ((b = c == null ? void 0 : c.data) == null ? void 0 : b.data) || (c == null ? void 0 : c.data), d = (L = (v = c == null ? void 0 : c.config) == null ? void 0 : v.headers) == null ? void 0 : L.key;
5658
5658
  this.otherLayers[d] = f;
5659
5659
  });
5660
5660
  }
@@ -5693,7 +5693,7 @@ const el = {
5693
5693
  }, hl = { class: "text-body-2 text-center pt-1" };
5694
5694
  function dl(t, e, o, i, a, r) {
5695
5695
  var J, se, le, pe, ie, ce, ue, me, he;
5696
- const l = w("VBtn"), m = w("VTooltip"), c = w("VCardTitle"), f = w("VCardItem"), d = w("VCheckbox"), b = w("VCardText"), x = w("VCard"), z = w("IdmLatLng"), v = w("IdmTerminator"), P = w("IdmTimezone"), y = w("IdmPort"), B = w("IdmAlertZone"), D = w("IdmTideStations"), T = w("IdmEcaZone"), _ = w("IdmWarZone"), L = w("IdmGmdssArea"), C = w("IdmLoadLine"), k = w("IdmWorldMarine"), R = w("IdmVRA"), F = w("IdmSpecialArea"), V = w("IdmWorld12nm"), X = w("IdmChinaRoute"), Y = w("IdmIceAreas"), Q = w("IdmFollowPort"), $ = w("IdmFollowPosition");
5696
+ const l = x("VBtn"), m = x("VTooltip"), c = x("VCardTitle"), f = x("VCardItem"), d = x("VCheckbox"), b = x("VCardText"), v = x("VCard"), L = x("IdmLatLng"), k = x("IdmTerminator"), P = x("IdmTimezone"), y = x("IdmPort"), B = x("IdmAlertZone"), D = x("IdmTideStations"), T = x("IdmEcaZone"), z = x("IdmWarZone"), w = x("IdmGmdssArea"), C = x("IdmLoadLine"), _ = x("IdmWorldMarine"), R = x("IdmVRA"), F = x("IdmSpecialArea"), V = x("IdmWorld12nm"), X = x("IdmChinaRoute"), Y = x("IdmIceAreas"), Q = x("IdmFollowPort"), $ = x("IdmFollowPosition");
5697
5697
  return g(), S("div", tl, [
5698
5698
  s("div", {
5699
5699
  class: "menu-bar-box transition px-1 rounded",
@@ -5742,7 +5742,7 @@ function dl(t, e, o, i, a, r) {
5742
5742
  }, 8, ["onClick"])
5743
5743
  ]),
5744
5744
  s("div", il, [
5745
- p(x, {
5745
+ p(v, {
5746
5746
  class: "block-bg mx-auto mb-3",
5747
5747
  elevation: "0"
5748
5748
  }, {
@@ -5795,7 +5795,7 @@ function dl(t, e, o, i, a, r) {
5795
5795
  ]),
5796
5796
  _: 1
5797
5797
  }),
5798
- p(x, {
5798
+ p(v, {
5799
5799
  class: "block-bg mx-auto mb-3",
5800
5800
  elevation: "0"
5801
5801
  }, {
@@ -5834,7 +5834,7 @@ function dl(t, e, o, i, a, r) {
5834
5834
  ]),
5835
5835
  _: 1
5836
5836
  }),
5837
- p(x, {
5837
+ p(v, {
5838
5838
  class: "block-bg mx-auto mb-3",
5839
5839
  elevation: "0"
5840
5840
  }, {
@@ -5873,7 +5873,7 @@ function dl(t, e, o, i, a, r) {
5873
5873
  ]),
5874
5874
  _: 1
5875
5875
  }),
5876
- p(x, {
5876
+ p(v, {
5877
5877
  class: "block-bg mx-auto mb-3",
5878
5878
  elevation: "0"
5879
5879
  }, {
@@ -5924,14 +5924,14 @@ function dl(t, e, o, i, a, r) {
5924
5924
  })
5925
5925
  ])
5926
5926
  ], 6),
5927
- o.map ? (g(), A(z, j({
5927
+ o.map ? (g(), A(L, j({
5928
5928
  key: 0,
5929
5929
  simple: o.simple,
5930
5930
  map: o.map,
5931
5931
  "menu-toggle": o.menuToggle,
5932
5932
  show: a.checkList.includes("graticule")
5933
5933
  }, t.$attrs), null, 16, ["simple", "map", "menu-toggle", "show"])) : I("", !0),
5934
- o.map ? (g(), A(v, j({
5934
+ o.map ? (g(), A(k, j({
5935
5935
  key: 1,
5936
5936
  map: o.map,
5937
5937
  area: (J = a.otherLayers) == null ? void 0 : J["day-night"]
@@ -5982,12 +5982,12 @@ function dl(t, e, o, i, a, r) {
5982
5982
  map: o.map,
5983
5983
  zone: (ie = a.otherLayers) == null ? void 0 : ie["eca-zones"]
5984
5984
  }, t.$attrs), null, 16, ["map", "zone"])) : I("", !0),
5985
- o.map ? (g(), A(_, j({
5985
+ o.map ? (g(), A(z, j({
5986
5986
  key: 7,
5987
5987
  map: o.map,
5988
5988
  zone: (ce = a.otherLayers) == null ? void 0 : ce["war-zones"]
5989
5989
  }, t.$attrs), null, 16, ["map", "zone"])) : I("", !0),
5990
- o.map ? (g(), A(L, j({
5990
+ o.map ? (g(), A(w, j({
5991
5991
  key: 8,
5992
5992
  map: o.map,
5993
5993
  area: (ue = a.otherLayers) == null ? void 0 : ue["gmdss-areas"]
@@ -5997,7 +5997,7 @@ function dl(t, e, o, i, a, r) {
5997
5997
  map: o.map,
5998
5998
  show: a.checkList.includes("load-lines")
5999
5999
  }, t.$attrs), null, 16, ["map", "show"])) : I("", !0),
6000
- o.map ? (g(), A(k, j({
6000
+ o.map ? (g(), A(_, j({
6001
6001
  key: 10,
6002
6002
  map: o.map,
6003
6003
  token: o.token,
@@ -6097,12 +6097,12 @@ class Io {
6097
6097
  * @param [lb.x, lb.y, rt.x, rt.y]
6098
6098
  */
6099
6099
  getBoundPixel() {
6100
- var v, P;
6101
- const e = (v = this.map) == null ? void 0 : v.getBounds();
6100
+ var k, P;
6101
+ const e = (k = this.map) == null ? void 0 : k.getBounds();
6102
6102
  if (!e)
6103
6103
  return [];
6104
- const o = ((P = this.map) == null ? void 0 : P.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, l] = this.convertNLng(i[0]), [m, c] = this.convertNLng(a[0]), [f, d] = this.mercator.px([r, i[1]], o), [b, x] = this.mercator.px([m, a[1]], o), z = Math.round(this.mercator.size * Math.pow(2, o) * (l + c));
6105
- return [b, x, f + z, d];
6104
+ const o = ((P = this.map) == null ? void 0 : P.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, l] = this.convertNLng(i[0]), [m, c] = this.convertNLng(a[0]), [f, d] = this.mercator.px([r, i[1]], o), [b, v] = this.mercator.px([m, a[1]], o), L = Math.round(this.mercator.size * Math.pow(2, o) * (l + c));
6105
+ return [b, v, f + L, d];
6106
6106
  }
6107
6107
  /**
6108
6108
  * [视窗边界像素宽度]
@@ -6285,9 +6285,9 @@ class Fe {
6285
6285
  sRange: o.getUniformLocation(i, "u_range_s")
6286
6286
  };
6287
6287
  d.resolution && o.uniform2f(d.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), d.image && o.uniform1i(d.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), d.color && o.uniform1i(d.color, 1), m != null && m.uvRange && (m != null && m.sRange) && (d.uvRange && o.uniform2f(d.uvRange, m.uvRange[0], m.uvRange[1]), d.sRange && o.uniform2f(d.sRange, m.sRange[0], m.sRange[1])), d.scale && o.uniform1f(d.scale, (m == null ? void 0 : m.scale) || 1);
6288
- const b = e.getBoundPixel(), x = e.map.getZoom() + 1, z = e.getWorldCopy(b, x);
6289
- for (const v of z) {
6290
- const P = (v[0] - b[0]) * e.ratio, y = (v[1] - b[3]) * e.ratio, B = v[2] * e.ratio, [D, T, _, L] = [P, B + P, y, B + y], C = new Float32Array([D, _, T, _, D, L, D, L, T, _, T, L]);
6288
+ const b = e.getBoundPixel(), v = e.map.getZoom() + 1, L = e.getWorldCopy(b, v);
6289
+ for (const k of L) {
6290
+ const P = (k[0] - b[0]) * e.ratio, y = (k[1] - b[3]) * e.ratio, B = k[2] * e.ratio, [D, T, z, w] = [P, B + P, y, B + y], C = new Float32Array([D, z, T, z, D, w, D, w, T, z, T, w]);
6291
6291
  o.bindBuffer(o.ARRAY_BUFFER, l), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
6292
6292
  }
6293
6293
  } catch (d) {
@@ -6996,8 +6996,8 @@ const vl = /* @__PURE__ */ Z(bl, [["render", xl]]), _l = {
6996
6996
  c.src = "data:image/svg+xml;base64," + window.btoa(f);
6997
6997
  const d = [c];
6998
6998
  let b = 0;
6999
- d.forEach((x) => {
7000
- x.onload = () => {
6999
+ d.forEach((v) => {
7000
+ v.onload = () => {
7001
7001
  b++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon", c), b === 1 && this.map.addLayer(
7002
7002
  {
7003
7003
  id: this.directionLayer,
@@ -7351,7 +7351,7 @@ function Dl(t, e, o, i, a, r) {
7351
7351
  ]), 4)
7352
7352
  ])) : I("", !0);
7353
7353
  }
7354
- const Il = /* @__PURE__ */ Z(Sl, [["render", Dl], ["__scopeId", "data-v-c6137292"]]), Rl = {
7354
+ const Il = /* @__PURE__ */ Z(Sl, [["render", Dl], ["__scopeId", "data-v-c71d1b16"]]), Rl = {
7355
7355
  name: "IdmSigWaveHeight",
7356
7356
  props: {
7357
7357
  map: {
@@ -7618,7 +7618,7 @@ function El(t, e, o, i, a, r) {
7618
7618
  ]), 4)
7619
7619
  ])) : I("", !0);
7620
7620
  }
7621
- const Nl = /* @__PURE__ */ Z(Bl, [["render", El], ["__scopeId", "data-v-3c94b068"]]), Fl = {
7621
+ const Nl = /* @__PURE__ */ Z(Bl, [["render", El], ["__scopeId", "data-v-98324f2c"]]), Fl = {
7622
7622
  name: "IdmPrmsl",
7623
7623
  props: {
7624
7624
  map: {
@@ -8004,7 +8004,7 @@ function ql(t, e, o, i, a, r) {
8004
8004
  ]), 4)
8005
8005
  ])) : I("", !0);
8006
8006
  }
8007
- const Kl = /* @__PURE__ */ Z(Zl, [["render", ql], ["__scopeId", "data-v-916b01eb"]]);
8007
+ const Kl = /* @__PURE__ */ Z(Zl, [["render", ql], ["__scopeId", "data-v-e8a34776"]]);
8008
8008
  const Jl = {
8009
8009
  name: "IdmThickness",
8010
8010
  props: {
@@ -8682,7 +8682,7 @@ const bn = {
8682
8682
  checkListKey: "weatherCheckListCacheGL4"
8683
8683
  },
8684
8684
  models: {},
8685
- currentModel: localStorage.getItem("forecastModelCacheGL4") === "undefined" ? "ECMWF" : localStorage.getItem("forecastModelCacheGL4"),
8685
+ currentModel: localStorage.getItem("forecastModelCacheGL4") === "GFS" ? "GFS" : "ECMWF",
8686
8686
  zoom: 6,
8687
8687
  viewport: void 0,
8688
8688
  particleFactor: void 0,
@@ -8770,7 +8770,7 @@ const bn = {
8770
8770
  },
8771
8771
  currentModel: {
8772
8772
  handler(t, e) {
8773
- t && t !== e && (this.$emit("forecastModel", t), localStorage.setItem("forecastModelCacheGL4", t));
8773
+ this.$emit("forecastModel", t), localStorage.setItem("forecastModelCacheGL4", t);
8774
8774
  },
8775
8775
  immediate: !0
8776
8776
  },
@@ -8878,11 +8878,11 @@ const bn = {
8878
8878
  (t == null ? void 0 : t.data.code) === 0 && (this.models = t == null ? void 0 : t.data.data);
8879
8879
  },
8880
8880
  async fetchWeatherLayers(t = {}) {
8881
- var a, r, l, m, c, f, d, b, x;
8881
+ var a, r, l, m, c, f, d, b, v;
8882
8882
  const e = (/* @__PURE__ */ new Date()).valueOf();
8883
8883
  let o = 0, i = 0;
8884
8884
  if (this.map) {
8885
- const z = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, v = (r = this.map) == null ? void 0 : r.getBounds(), P = `${v._sw.lng},${v._sw.lat},${v._ne.lng},${v._ne.lat}`;
8885
+ const L = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, k = (r = this.map) == null ? void 0 : r.getBounds(), P = `${k._sw.lng},${k._sw.lat},${k._ne.lng},${k._ne.lat}`;
8886
8886
  if (this.particleFactor && ((l = this.$refs.layer) != null && l.autoActive)) {
8887
8887
  const y = Co.WEATHER_LAYERS.find((B) => {
8888
8888
  var D;
@@ -8894,7 +8894,7 @@ const bn = {
8894
8894
  let y = this.weatherWeight;
8895
8895
  if (y > 0) {
8896
8896
  const B = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], D = await Ae.get(
8897
- `${B}/api/arc/weather/layers2/links?l=${y}&v=${this.forecastModel}&z=${z}&bbox=${P}&t=${this.realTime}`,
8897
+ `${B}/api/arc/weather/layers2/links?l=${y}&v=${this.forecastModel}&z=${L}&bbox=${P}&t=${this.realTime}`,
8898
8898
  {
8899
8899
  headers: {
8900
8900
  Authorization: this.defaultMeteoToken
@@ -8902,46 +8902,46 @@ const bn = {
8902
8902
  }
8903
8903
  );
8904
8904
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((m = D == null ? void 0 : D.data) == null ? void 0 : m.code) === 0) {
8905
- const T = (c = D == null ? void 0 : D.data) == null ? void 0 : c.data, _ = [];
8905
+ const T = (c = D == null ? void 0 : D.data) == null ? void 0 : c.data, z = [];
8906
8906
  for (const C in T)
8907
- _.push(
8907
+ z.push(
8908
8908
  Ae.get(T[C], {
8909
8909
  headers: {
8910
8910
  Authorization: this.defaultMeteoToken,
8911
8911
  key: C
8912
8912
  },
8913
8913
  responseType: /\.(jpg|png)$/.test(T[C]) ? "blob" : "json"
8914
- }).catch((k) => {
8915
- console.log(`[${C}] fetch layer error: ${k}`);
8914
+ }).catch((_) => {
8915
+ console.log(`[${C}] fetch layer error: ${_}`);
8916
8916
  })
8917
8917
  );
8918
- const L = await Promise.all(_);
8919
- this.weatherLayers = {}, L.map((C) => {
8918
+ const w = await Promise.all(z);
8919
+ this.weatherLayers = {}, w.map((C) => {
8920
8920
  var F, V, X, Y;
8921
- const k = ((F = C == null ? void 0 : C.data) == null ? void 0 : F.data) || (C == null ? void 0 : C.data);
8921
+ const _ = ((F = C == null ? void 0 : C.data) == null ? void 0 : F.data) || (C == null ? void 0 : C.data);
8922
8922
  let R = (X = (V = C == null ? void 0 : C.config) == null ? void 0 : V.headers) == null ? void 0 : X.key;
8923
- R && k && (this.weatherLayers[R] = {
8924
- raw: k,
8923
+ R && _ && (this.weatherLayers[R] = {
8924
+ raw: _,
8925
8925
  type: ((Y = C == null ? void 0 : C.config) == null ? void 0 : Y.responseType) === "blob" ? "image" : "json",
8926
8926
  etime: D.data.etime
8927
8927
  });
8928
8928
  });
8929
8929
  }
8930
8930
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather layers elapsed: ", i, ", total: ", o += i), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
8931
- const T = (f = this.weatherLayers["swell-direction"]) == null ? void 0 : f.raw, _ = (d = this.weatherLayers["swell-height"]) == null ? void 0 : d.raw;
8931
+ const T = (f = this.weatherLayers["swell-direction"]) == null ? void 0 : f.raw, z = (d = this.weatherLayers["swell-height"]) == null ? void 0 : d.raw;
8932
8932
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
8933
8933
  type: "json",
8934
8934
  direction: T,
8935
- height: { raw: _ },
8935
+ height: { raw: z },
8936
8936
  etime: D.data.etime
8937
8937
  };
8938
8938
  }
8939
8939
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
8940
- const T = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, _ = (x = this.weatherLayers["current-speed"]) == null ? void 0 : x.raw;
8940
+ const T = (b = this.weatherLayers["current-direction"]) == null ? void 0 : b.raw, z = (v = this.weatherLayers["current-speed"]) == null ? void 0 : v.raw;
8941
8941
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
8942
8942
  type: "json",
8943
8943
  direction: T,
8944
- speed: { raw: _ },
8944
+ speed: { raw: z },
8945
8945
  etime: D.data.etime
8946
8946
  };
8947
8947
  }
@@ -9003,7 +9003,7 @@ const bn = {
9003
9003
  let e = 0, o = 0;
9004
9004
  const i = (r = this.map) == null ? void 0 : r.getBounds(), a = (l = this.map) == null ? void 0 : l.getZoom();
9005
9005
  if (i && a) {
9006
- const x = q.convertToStdLng(i._sw.lng), z = q.convertToStdLng(i._ne.lng), v = Math.floor(i._sw.lat), P = Math.ceil(i._ne.lat);
9006
+ const v = q.convertToStdLng(i._sw.lng), L = q.convertToStdLng(i._ne.lng), k = Math.floor(i._sw.lat), P = Math.ceil(i._ne.lat);
9007
9007
  for (const y in this.weatherLayers) {
9008
9008
  let B = !1;
9009
9009
  if (this.weatherLayers[y].active && this.weatherLayers[y].type === "json") {
@@ -9011,165 +9011,165 @@ const bn = {
9011
9011
  if (y === "swell") {
9012
9012
  B = !0;
9013
9013
  const T = ((m = this.weatherLayers[y]) == null ? void 0 : m.direction) || {};
9014
- for (const L in T)
9015
- if (L > v && L < P && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9016
- const C = T[L].lng;
9017
- x > z ? C.forEach((k, R) => {
9014
+ for (const w in T)
9015
+ if (w > k && w < P && (!(a <= this.zoom) || w % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9016
+ const C = T[w].lng;
9017
+ v > L ? C.forEach((_, R) => {
9018
9018
  var F, V, X, Y, Q, $;
9019
9019
  if (a < 2) {
9020
- if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
9021
- const J = G.point([k, L], {
9022
- val: ((F = T[L].val) == null ? void 0 : F[R]) || ((V = T[L].dir) == null ? void 0 : V[R]),
9023
- spd: (X = T[L].spd) == null ? void 0 : X[R]
9020
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9021
+ const J = G.point([_, w], {
9022
+ val: ((F = T[w].val) == null ? void 0 : F[R]) || ((V = T[w].dir) == null ? void 0 : V[R]),
9023
+ spd: (X = T[w].spd) == null ? void 0 : X[R]
9024
9024
  });
9025
9025
  D.push(J);
9026
9026
  }
9027
- } else if ((k >= x && k <= 180 || k >= -180 && k <= z) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9028
- const J = G.point([k, L], {
9029
- val: ((Y = T[L].val) == null ? void 0 : Y[R]) || ((Q = T[L].dir) == null ? void 0 : Q[R]),
9030
- spd: ($ = T[L].spd) == null ? void 0 : $[R]
9027
+ } else if ((_ >= v && _ <= 180 || _ >= -180 && _ <= L) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9028
+ const J = G.point([_, w], {
9029
+ val: ((Y = T[w].val) == null ? void 0 : Y[R]) || ((Q = T[w].dir) == null ? void 0 : Q[R]),
9030
+ spd: ($ = T[w].spd) == null ? void 0 : $[R]
9031
9031
  });
9032
9032
  D.push(J);
9033
9033
  }
9034
- }) : C.forEach((k, R) => {
9034
+ }) : C.forEach((_, R) => {
9035
9035
  var F, V, X, Y, Q, $;
9036
- if (x < 2) {
9037
- if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
9038
- const J = G.point([k, L], {
9039
- val: ((F = T[L].val) == null ? void 0 : F[R]) || ((V = T[L].dir) == null ? void 0 : V[R]),
9040
- spd: (X = T[L].spd) == null ? void 0 : X[R]
9036
+ if (v < 2) {
9037
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9038
+ const J = G.point([_, w], {
9039
+ val: ((F = T[w].val) == null ? void 0 : F[R]) || ((V = T[w].dir) == null ? void 0 : V[R]),
9040
+ spd: (X = T[w].spd) == null ? void 0 : X[R]
9041
9041
  });
9042
9042
  D.push(J);
9043
9043
  }
9044
- } else if (k >= x && k <= z && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9045
- const J = G.point([k, L], {
9046
- val: ((Y = T[L].val) == null ? void 0 : Y[R]) || ((Q = T[L].dir) == null ? void 0 : Q[R]),
9047
- spd: ($ = T[L].spd) == null ? void 0 : $[R]
9044
+ } else if (_ >= v && _ <= L && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9045
+ const J = G.point([_, w], {
9046
+ val: ((Y = T[w].val) == null ? void 0 : Y[R]) || ((Q = T[w].dir) == null ? void 0 : Q[R]),
9047
+ spd: ($ = T[w].spd) == null ? void 0 : $[R]
9048
9048
  });
9049
9049
  D.push(J);
9050
9050
  }
9051
9051
  });
9052
9052
  }
9053
9053
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell direction elapsed: ", o, ", total: ", e += o);
9054
- const _ = this.weatherLayers[y].height;
9055
- if (_) {
9056
- if (!_.data) {
9057
- const L = [];
9058
- for (const C in (c = _.raw) == null ? void 0 : c.LineString) {
9059
- const k = _.raw.LineString[C];
9060
- for (const R of k)
9061
- L.push(
9054
+ const z = this.weatherLayers[y].height;
9055
+ if (z) {
9056
+ if (!z.data) {
9057
+ const w = [];
9058
+ for (const C in (c = z.raw) == null ? void 0 : c.LineString) {
9059
+ const _ = z.raw.LineString[C];
9060
+ for (const R of _)
9061
+ w.push(
9062
9062
  G.lineString(R, {
9063
9063
  val: Number(C)
9064
9064
  })
9065
9065
  );
9066
- _.data = G.featureCollection(L);
9066
+ z.data = G.featureCollection(w);
9067
9067
  }
9068
9068
  }
9069
- if (_.data) {
9070
- const L = this.handleBboxClip(_.data, i);
9071
- D = D.concat(L);
9069
+ if (z.data) {
9070
+ const w = this.handleBboxClip(z.data, i);
9071
+ D = D.concat(w);
9072
9072
  }
9073
9073
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
9074
9074
  }
9075
9075
  } else if (y === "current") {
9076
9076
  B = !0;
9077
9077
  const T = ((f = this.weatherLayers[y]) == null ? void 0 : f.direction) || {};
9078
- for (const L in T)
9079
- if (L > v && L < P && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9080
- const C = T[L].lng;
9081
- x > z ? C.forEach((k, R) => {
9078
+ for (const w in T)
9079
+ if (w > k && w < P && (!(a <= this.zoom) || w % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9080
+ const C = T[w].lng;
9081
+ v > L ? C.forEach((_, R) => {
9082
9082
  var F, V, X, Y, Q, $;
9083
9083
  if (a < 2) {
9084
- if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
9085
- const J = G.point([k, L], {
9086
- val: ((F = T[L].val) == null ? void 0 : F[R]) || ((V = T[L].dir) == null ? void 0 : V[R]),
9087
- spd: (X = T[L].spd) == null ? void 0 : X[R]
9084
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9085
+ const J = G.point([_, w], {
9086
+ val: ((F = T[w].val) == null ? void 0 : F[R]) || ((V = T[w].dir) == null ? void 0 : V[R]),
9087
+ spd: (X = T[w].spd) == null ? void 0 : X[R]
9088
9088
  });
9089
9089
  D.push(J);
9090
9090
  }
9091
- } else if ((k >= x && k <= 180 || k >= -180 && k <= z) && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9092
- const J = G.point([k, L], {
9093
- val: ((Y = T[L].val) == null ? void 0 : Y[R]) || ((Q = T[L].dir) == null ? void 0 : Q[R]),
9094
- spd: ($ = T[L].spd) == null ? void 0 : $[R]
9091
+ } else if ((_ >= v && _ <= 180 || _ >= -180 && _ <= L) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9092
+ const J = G.point([_, w], {
9093
+ val: ((Y = T[w].val) == null ? void 0 : Y[R]) || ((Q = T[w].dir) == null ? void 0 : Q[R]),
9094
+ spd: ($ = T[w].spd) == null ? void 0 : $[R]
9095
9095
  });
9096
9096
  D.push(J);
9097
9097
  }
9098
- }) : C.forEach((k, R) => {
9098
+ }) : C.forEach((_, R) => {
9099
9099
  var F, V, X, Y, Q, $;
9100
- if (x < 2) {
9101
- if ((k >= 0 && k <= 360 || k >= -360 && k <= 0) && k % 10 === 0) {
9102
- const J = G.point([k, L], {
9103
- val: ((F = T[L].val) == null ? void 0 : F[R]) || ((V = T[L].dir) == null ? void 0 : V[R]),
9104
- spd: (X = T[L].spd) == null ? void 0 : X[R]
9100
+ if (v < 2) {
9101
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
9102
+ const J = G.point([_, w], {
9103
+ val: ((F = T[w].val) == null ? void 0 : F[R]) || ((V = T[w].dir) == null ? void 0 : V[R]),
9104
+ spd: (X = T[w].spd) == null ? void 0 : X[R]
9105
9105
  });
9106
9106
  D.push(J);
9107
9107
  }
9108
- } else if (k >= x && k <= z && (!(a <= this.zoom) || k % (a < this.zoom / 2 ? 5 : 3) === 0)) {
9109
- const J = G.point([k, L], {
9110
- val: ((Y = T[L].val) == null ? void 0 : Y[R]) || ((Q = T[L].dir) == null ? void 0 : Q[R]),
9111
- spd: ($ = T[L].spd) == null ? void 0 : $[R]
9108
+ } else if (_ >= v && _ <= L && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
9109
+ const J = G.point([_, w], {
9110
+ val: ((Y = T[w].val) == null ? void 0 : Y[R]) || ((Q = T[w].dir) == null ? void 0 : Q[R]),
9111
+ spd: ($ = T[w].spd) == null ? void 0 : $[R]
9112
9112
  });
9113
9113
  D.push(J);
9114
9114
  }
9115
9115
  });
9116
9116
  }
9117
9117
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current direction elapsed: ", o, ", total: ", e += o);
9118
- const _ = this.weatherLayers[y].speed;
9119
- if (_) {
9120
- if (!_.data) {
9118
+ const z = this.weatherLayers[y].speed;
9119
+ if (z) {
9120
+ if (!z.data) {
9121
9121
  const C = [];
9122
- for (const k in (d = _.raw) == null ? void 0 : d.Polygon) {
9123
- const R = _.raw.Polygon[k];
9122
+ for (const _ in (d = z.raw) == null ? void 0 : d.Polygon) {
9123
+ const R = z.raw.Polygon[_];
9124
9124
  for (const F of R)
9125
9125
  C.push(
9126
9126
  G.polygon(F, {
9127
- val: Number(k)
9127
+ val: Number(_)
9128
9128
  })
9129
9129
  );
9130
9130
  }
9131
- _.data = G.featureCollection(C);
9131
+ z.data = G.featureCollection(C);
9132
9132
  }
9133
- const L = a < this.zoom ? _.data.features.filter((C) => C.properties.val > 0.5) : _.data.features;
9134
- D = D.concat(L), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
9133
+ const w = a < this.zoom ? z.data.features.filter((C) => C.properties.val > 0.5) : z.data.features;
9134
+ D = D.concat(w), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
9135
9135
  }
9136
9136
  } else if (y === "wind") {
9137
9137
  B = !0;
9138
9138
  const T = this.weatherLayers.wind.raw;
9139
- for (const _ in T)
9140
- if (_ > v && _ < P && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9141
- const L = T[_].lng;
9142
- x > z ? L.forEach((C, k) => {
9139
+ for (const z in T)
9140
+ if (z > k && z < P && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9141
+ const w = T[z].lng;
9142
+ v > L ? w.forEach((C, _) => {
9143
9143
  var R, F, V, X;
9144
9144
  if (a < 2) {
9145
9145
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9146
- const Y = G.point([C, _], {
9147
- dir: ((R = T[_].val) == null ? void 0 : R[k]) || ((F = T[_].dir) == null ? void 0 : F[k]),
9148
- spd: T[_].spd[k]
9146
+ const Y = G.point([C, z], {
9147
+ dir: ((R = T[z].val) == null ? void 0 : R[_]) || ((F = T[z].dir) == null ? void 0 : F[_]),
9148
+ spd: T[z].spd[_]
9149
9149
  });
9150
9150
  D.push(Y);
9151
9151
  }
9152
- } else if ((C >= x && C <= 180 || C >= -180 && C <= z) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9153
- const Y = G.point([C, _], {
9154
- dir: ((V = T[_].val) == null ? void 0 : V[k]) || ((X = T[_].dir) == null ? void 0 : X[k]),
9155
- spd: T[_].spd[k]
9152
+ } else if ((C >= v && C <= 180 || C >= -180 && C <= L) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9153
+ const Y = G.point([C, z], {
9154
+ dir: ((V = T[z].val) == null ? void 0 : V[_]) || ((X = T[z].dir) == null ? void 0 : X[_]),
9155
+ spd: T[z].spd[_]
9156
9156
  });
9157
9157
  D.push(Y);
9158
9158
  }
9159
- }) : L.forEach((C, k) => {
9159
+ }) : w.forEach((C, _) => {
9160
9160
  var R, F, V, X;
9161
9161
  if (a < 2) {
9162
9162
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9163
- const Y = G.point([C, _], {
9164
- dir: ((R = T[_].val) == null ? void 0 : R[k]) || ((F = T[_].dir) == null ? void 0 : F[k]),
9165
- spd: T[_].spd[k]
9163
+ const Y = G.point([C, z], {
9164
+ dir: ((R = T[z].val) == null ? void 0 : R[_]) || ((F = T[z].dir) == null ? void 0 : F[_]),
9165
+ spd: T[z].spd[_]
9166
9166
  });
9167
9167
  D.push(Y);
9168
9168
  }
9169
- } else if (C >= x && C <= z && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9170
- const Y = G.point([C, _], {
9171
- dir: ((V = T[_].val) == null ? void 0 : V[k]) || ((X = T[_].dir) == null ? void 0 : X[k]),
9172
- spd: T[_].spd[k]
9169
+ } else if (C >= v && C <= L && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
9170
+ const Y = G.point([C, z], {
9171
+ dir: ((V = T[z].val) == null ? void 0 : V[_]) || ((X = T[z].dir) == null ? void 0 : X[_]),
9172
+ spd: T[z].spd[_]
9173
9173
  });
9174
9174
  D.push(Y);
9175
9175
  }
@@ -9183,35 +9183,35 @@ const bn = {
9183
9183
  B = !0;
9184
9184
  const T = this.weatherLayers[y].raw;
9185
9185
  if (T) {
9186
- const _ = [];
9187
- for (const L in T.Polygon) {
9188
- const C = T.Polygon[L];
9189
- for (const k of C)
9190
- _.push(
9191
- G.polygon(k, {
9192
- val: Number(L)
9186
+ const z = [];
9187
+ for (const w in T.Polygon) {
9188
+ const C = T.Polygon[w];
9189
+ for (const _ of C)
9190
+ z.push(
9191
+ G.polygon(_, {
9192
+ val: Number(w)
9193
9193
  })
9194
9194
  );
9195
9195
  }
9196
- for (const L in T.MultiPolygon) {
9197
- const C = T.MultiPolygon[L];
9198
- for (const k of C)
9199
- _.push(
9200
- G.multiPolygon(k, {
9201
- val: Number(L)
9196
+ for (const w in T.MultiPolygon) {
9197
+ const C = T.MultiPolygon[w];
9198
+ for (const _ of C)
9199
+ z.push(
9200
+ G.multiPolygon(_, {
9201
+ val: Number(w)
9202
9202
  })
9203
9203
  );
9204
9204
  }
9205
- for (const L in T.Point) {
9206
- const C = T.Point[L];
9207
- for (let k = 0; k < ((b = C.lng) == null ? void 0 : b.length); k++)
9208
- _.push(
9209
- G.point([C.lng[k], L], {
9210
- val: Number(C.val[k])
9205
+ for (const w in T.Point) {
9206
+ const C = T.Point[w];
9207
+ for (let _ = 0; _ < ((b = C.lng) == null ? void 0 : b.length); _++)
9208
+ z.push(
9209
+ G.point([C.lng[_], w], {
9210
+ val: Number(C.val[_])
9211
9211
  })
9212
9212
  );
9213
9213
  }
9214
- D = D.concat(_);
9214
+ D = D.concat(z);
9215
9215
  }
9216
9216
  }
9217
9217
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", o, ", total: ", e += o);
@@ -9222,26 +9222,26 @@ const bn = {
9222
9222
  B = !0;
9223
9223
  const T = this.weatherLayers[y].raw;
9224
9224
  if (T) {
9225
- const _ = [];
9226
- for (const L in T.LineString) {
9227
- const C = T.LineString[L];
9228
- for (const k of C)
9229
- _.push(
9230
- G.lineString(k, {
9231
- val: Number(L)
9225
+ const z = [];
9226
+ for (const w in T.LineString) {
9227
+ const C = T.LineString[w];
9228
+ for (const _ of C)
9229
+ z.push(
9230
+ G.lineString(_, {
9231
+ val: Number(w)
9232
9232
  })
9233
9233
  );
9234
9234
  }
9235
- for (const L in T.Point)
9236
- T.Point[L].lng.forEach((C, k) => {
9237
- C = q.convertToStdLng(C), _.push(
9238
- G.point([C, L], {
9239
- val: T.Point[L].val[k],
9240
- type: T.Point[L].type[k]
9235
+ for (const w in T.Point)
9236
+ T.Point[w].lng.forEach((C, _) => {
9237
+ C = q.convertToStdLng(C), z.push(
9238
+ G.point([C, w], {
9239
+ val: T.Point[w].val[_],
9240
+ type: T.Point[w].type[_]
9241
9241
  })
9242
9242
  );
9243
9243
  });
9244
- D = D.concat(_);
9244
+ D = D.concat(z);
9245
9245
  }
9246
9246
  }
9247
9247
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
@@ -9293,7 +9293,7 @@ const bn = {
9293
9293
  }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, jn = { class: "text-body-2 text-label" }, En = { class: "text-body-2 text-label" }, Nn = { class: "text-body-2 text-label mb-3" }, Fn = { class: "text-body-1 font-weight-medium" }, Hn = { class: "text-body-2 text-label" }, Gn = { class: "text-body-2 text-label" }, Wn = { class: "text-body-2 text-label mb-3" }, Un = { class: "text-body-1 py-2" }, Vn = { class: "text-body-1 font-weight-medium" }, Yn = { class: "text-body-2 text-label" }, Zn = { class: "text-body-2 text-label" }, Xn = { class: "text-body-2 text-label mb-3" }, qn = { class: "text-body-1 font-weight-medium" }, Kn = { class: "text-body-2 text-label" }, Jn = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label mb-3" }, $n = { class: "text-body-1 py-2" }, ec = { class: "text-body-1 font-weight-medium" }, tc = { class: "text-body-2 text-label" }, oc = { class: "text-body-2 text-label" }, ac = { class: "text-body-2 text-label mb-3" };
9294
9294
  function ic(t, e, o, i, a, r) {
9295
9295
  var pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e, Ie, Ce;
9296
- const l = w("VBtn"), m = w("VTooltip"), c = w("VCol"), f = w("VRow"), d = w("VCardText"), b = w("VDivider"), x = w("VCard"), z = w("VSwitch"), v = w("VBtnToggle"), P = w("VCardTitle"), y = w("VCardItem"), B = w("VCheckbox"), D = w("VRadio"), T = w("IdmWindBarb"), _ = w("IdmSigWaveHeight"), L = w("IdmCurrentDirection"), C = w("IdmPrmsl"), k = w("IdmWindParticle"), R = w("IdmCurrentParticle"), F = w("IdmWave"), V = w("IdmSwell"), X = w("IdmIceEdge"), Y = w("IdmIceCover"), Q = w("IdmIceThickness"), $ = w("IdmPrecip3h"), J = w("IdmVisibility"), se = w("IdmWaterTemp"), le = w("IdmTemp");
9296
+ const l = x("VBtn"), m = x("VTooltip"), c = x("VCol"), f = x("VRow"), d = x("VCardText"), b = x("VDivider"), v = x("VCard"), L = x("VSwitch"), k = x("VBtnToggle"), P = x("VCardTitle"), y = x("VCardItem"), B = x("VCheckbox"), D = x("VRadio"), T = x("IdmWindBarb"), z = x("IdmSigWaveHeight"), w = x("IdmCurrentDirection"), C = x("IdmPrmsl"), _ = x("IdmWindParticle"), R = x("IdmCurrentParticle"), F = x("IdmWave"), V = x("IdmSwell"), X = x("IdmIceEdge"), Y = x("IdmIceCover"), Q = x("IdmIceThickness"), $ = x("IdmPrecip3h"), J = x("IdmVisibility"), se = x("IdmWaterTemp"), le = x("IdmTemp");
9297
9297
  return g(), S("div", wn, [
9298
9298
  s("div", {
9299
9299
  class: "menu-bar-box transition pa-1",
@@ -9348,7 +9348,7 @@ function ic(t, e, o, i, a, r) {
9348
9348
  _: 1
9349
9349
  })
9350
9350
  ], 4),
9351
- a.legendToggle ? (g(), A(x, {
9351
+ a.legendToggle ? (g(), A(v, {
9352
9352
  key: 0,
9353
9353
  elevation: "16",
9354
9354
  class: "card-info d-flex justify-center align-start",
@@ -9463,7 +9463,7 @@ function ic(t, e, o, i, a, r) {
9463
9463
  s("div", Sn, [
9464
9464
  s("div", Mn, [
9465
9465
  s("div", Dn, n(t.$t("weather.weather")), 1),
9466
- p(z, {
9466
+ p(L, {
9467
9467
  modelValue: a.autoActive,
9468
9468
  "onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
9469
9469
  class: "small-switch",
@@ -9489,7 +9489,7 @@ function ic(t, e, o, i, a, r) {
9489
9489
  ]),
9490
9490
  o.simple ? (g(), S("div", In, [
9491
9491
  s("div", null, n(t.$t("weather.forecastModel")), 1),
9492
- p(v, {
9492
+ p(k, {
9493
9493
  modelValue: a.currentModel,
9494
9494
  "onUpdate:modelValue": e[2] || (e[2] = (H) => a.currentModel = H),
9495
9495
  rounded: "",
@@ -9533,7 +9533,7 @@ function ic(t, e, o, i, a, r) {
9533
9533
  s("div", {
9534
9534
  class: ye(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
9535
9535
  }, [
9536
- p(x, {
9536
+ p(v, {
9537
9537
  class: "block-bg mx-auto mb-3",
9538
9538
  elevation: "0"
9539
9539
  }, {
@@ -9573,7 +9573,7 @@ function ic(t, e, o, i, a, r) {
9573
9573
  ]),
9574
9574
  _: 1
9575
9575
  }),
9576
- p(x, {
9576
+ p(v, {
9577
9577
  class: "block-bg mx-auto mb-3",
9578
9578
  elevation: "0"
9579
9579
  }, {
@@ -9612,7 +9612,7 @@ function ic(t, e, o, i, a, r) {
9612
9612
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
9613
9613
  a.renderKey === "wind-particle" && H.key === "wind-particle" ? (g(), S("div", Rn, [
9614
9614
  s("span", null, n(t.$t("weather.particleAnimatiom")), 1),
9615
- p(z, {
9615
+ p(L, {
9616
9616
  modelValue: a.showWindParticle,
9617
9617
  "onUpdate:modelValue": e[5] || (e[5] = (oe) => a.showWindParticle = oe),
9618
9618
  label: "",
@@ -9627,7 +9627,7 @@ function ic(t, e, o, i, a, r) {
9627
9627
  ])) : I("", !0),
9628
9628
  a.renderKey === "current-particle" && H.key === "current-particle" ? (g(), S("div", An, [
9629
9629
  s("span", null, n(t.$t("weather.particleAnimatiom")), 1),
9630
- p(z, {
9630
+ p(L, {
9631
9631
  modelValue: a.showCurrentParticle,
9632
9632
  "onUpdate:modelValue": e[6] || (e[6] = (oe) => a.showCurrentParticle = oe),
9633
9633
  label: "",
@@ -9640,7 +9640,7 @@ function ic(t, e, o, i, a, r) {
9640
9640
  "hide-details": ""
9641
9641
  }, null, 8, ["modelValue"])
9642
9642
  ])) : I("", !0),
9643
- a.renderKey === "wave-group" && H.key === "wave-group" ? (g(), A(v, {
9643
+ a.renderKey === "wave-group" && H.key === "wave-group" ? (g(), A(k, {
9644
9644
  key: 2,
9645
9645
  modelValue: a.waveToggleValue,
9646
9646
  "onUpdate:modelValue": e[7] || (e[7] = (oe) => a.waveToggleValue = oe),
@@ -9683,7 +9683,7 @@ function ic(t, e, o, i, a, r) {
9683
9683
  ]),
9684
9684
  _: 1
9685
9685
  }, 8, ["modelValue", "disabled"])) : I("", !0),
9686
- a.renderKey === "ice-forecast" && H.key === "ice-forecast" ? (g(), A(v, {
9686
+ a.renderKey === "ice-forecast" && H.key === "ice-forecast" ? (g(), A(k, {
9687
9687
  key: 3,
9688
9688
  modelValue: a.iceToggleValue,
9689
9689
  "onUpdate:modelValue": e[8] || (e[8] = (oe) => a.iceToggleValue = oe),
@@ -9733,7 +9733,7 @@ function ic(t, e, o, i, a, r) {
9733
9733
  ]),
9734
9734
  _: 1
9735
9735
  }),
9736
- p(x, {
9736
+ p(v, {
9737
9737
  class: "block-bg mx-auto mb-3",
9738
9738
  elevation: "0"
9739
9739
  }, {
@@ -9799,7 +9799,7 @@ function ic(t, e, o, i, a, r) {
9799
9799
  wind: (pe = a.weatherLayers) == null ? void 0 : pe.wind,
9800
9800
  "menu-toggle": o.menuToggle
9801
9801
  }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : I("", !0),
9802
- o.map ? (g(), A(_, j({
9802
+ o.map ? (g(), A(z, j({
9803
9803
  key: 2,
9804
9804
  map: o.map,
9805
9805
  "before-layer": "empty-layer-2",
@@ -9807,7 +9807,7 @@ function ic(t, e, o, i, a, r) {
9807
9807
  "menu-toggle": o.menuToggle,
9808
9808
  "active-weather-layers": a.activeWeatherLayers
9809
9809
  }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : I("", !0),
9810
- o.map ? (g(), A(L, j({
9810
+ o.map ? (g(), A(w, j({
9811
9811
  key: 3,
9812
9812
  map: o.map,
9813
9813
  "map-feather": o.mapFeather,
@@ -9823,7 +9823,7 @@ function ic(t, e, o, i, a, r) {
9823
9823
  "menu-toggle": o.menuToggle,
9824
9824
  "active-weather-layers": a.activeWeatherLayers
9825
9825
  }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : I("", !0),
9826
- o.map ? (g(), A(k, j({
9826
+ o.map ? (g(), A(_, j({
9827
9827
  key: 5,
9828
9828
  viewport: a.viewport,
9829
9829
  factor: (me = a.weatherLayers) == null ? void 0 : me["wind-particle"],
@@ -10222,18 +10222,18 @@ class Ya {
10222
10222
  const a = e.toLowerCase().split(","), r = [], l = [];
10223
10223
  for (const m of a) {
10224
10224
  let c = Lo.find((d) => {
10225
- var b, x, z;
10226
- return ((b = d.models) == null ? void 0 : b.includes(m)) || ((x = d.alias) == null ? void 0 : x.toLowerCase()) === m || ((z = d.name) == null ? void 0 : z.toLowerCase()) === m;
10225
+ var b, v, L;
10226
+ return ((b = d.models) == null ? void 0 : b.includes(m)) || ((v = d.alias) == null ? void 0 : v.toLowerCase()) === m || ((L = d.name) == null ? void 0 : L.toLowerCase()) === m;
10227
10227
  }), f = Po.find((d) => {
10228
- var b, x, z;
10229
- return ((b = d.models) == null ? void 0 : b.includes(m)) || ((x = d.alias) == null ? void 0 : x.toLowerCase()) === m || ((z = d.name) == null ? void 0 : z.toLowerCase()) === m;
10228
+ var b, v, L;
10229
+ return ((b = d.models) == null ? void 0 : b.includes(m)) || ((v = d.alias) == null ? void 0 : v.toLowerCase()) === m || ((L = d.name) == null ? void 0 : L.toLowerCase()) === m;
10230
10230
  });
10231
10231
  c = c || Lo.find((d) => {
10232
- var b, x;
10233
- return ((b = d.alias) == null ? void 0 : b.toLowerCase()) === ((x = f == null ? void 0 : f.alias) == null ? void 0 : x.toLowerCase());
10232
+ var b, v;
10233
+ return ((b = d.alias) == null ? void 0 : b.toLowerCase()) === ((v = f == null ? void 0 : f.alias) == null ? void 0 : v.toLowerCase());
10234
10234
  }), f = f || Po.find((d) => {
10235
- var b, x;
10236
- return ((b = d.alias) == null ? void 0 : b.toLowerCase()) === ((x = c == null ? void 0 : c.alias) == null ? void 0 : x.toLowerCase());
10235
+ var b, v;
10236
+ return ((b = d.alias) == null ? void 0 : b.toLowerCase()) === ((v = c == null ? void 0 : c.alias) == null ? void 0 : v.toLowerCase());
10237
10237
  }), c = c || Lo[0], f = f || Po[0], r.push((o = c.models) != null && o.includes(m) ? m : c.model), l.push((i = f.models) != null && i.includes(m) ? m : f.model);
10238
10238
  }
10239
10239
  return {
@@ -10251,7 +10251,7 @@ class Ya {
10251
10251
  }), a;
10252
10252
  }
10253
10253
  static pickHourly(e, o) {
10254
- var i, a, r, l, m, c, f, d, b, x, z, v, P, y, B, D, T, _, L, C, k, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, ge, Re;
10254
+ var i, a, r, l, m, c, f, d, b, v, L, k, P, y, B, D, T, z, w, C, _, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, ge, Re;
10255
10255
  const W = typeof o == "string" ? M(o) : o, fe = e == null ? void 0 : e.weather, ae = e == null ? void 0 : e.marine, re = M((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), je = re.clone().add((m = (l = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : m.at(0), "h"), Ge = re.clone().add((d = (f = (c = fe == null ? void 0 : fe[0]) == null ? void 0 : c.hourly) == null ? void 0 : f.time) == null ? void 0 : d.at(-1), "h"), We = [];
10256
10256
  if (W.isBetween(je, Ge, "millisecond", "[]")) {
10257
10257
  const E = W.utc().diff(je, "h", !1);
@@ -10263,25 +10263,25 @@ class Ya {
10263
10263
  for (let Le = E - (E - 1) % 3; Le <= E; Le++)
10264
10264
  Ee += (b = U == null ? void 0 : U.precipitation) == null ? void 0 : b.at(Le);
10265
10265
  for (let Le = E - (E - 1) % 6; Le <= E; Le++)
10266
- Ne += (x = U == null ? void 0 : U.precipitation) == null ? void 0 : x.at(Le);
10266
+ Ne += (v = U == null ? void 0 : U.precipitation) == null ? void 0 : v.at(Le);
10267
10267
  for (let Le = E - (E - 1) % 12; Le <= E; Le++)
10268
- N += (z = U == null ? void 0 : U.precipitation) == null ? void 0 : z.at(Le);
10268
+ N += (L = U == null ? void 0 : U.precipitation) == null ? void 0 : L.at(Le);
10269
10269
  we = {
10270
- temp: (v = U == null ? void 0 : U.temperature_2m) == null ? void 0 : v.at(E),
10270
+ temp: (k = U == null ? void 0 : U.temperature_2m) == null ? void 0 : k.at(E),
10271
10271
  apparentTemp: (P = U == null ? void 0 : U.apparent_temperature) == null ? void 0 : P.at(E),
10272
10272
  rh: (y = U == null ? void 0 : U.relative_humidity_2m) == null ? void 0 : y.at(E),
10273
10273
  dp: (B = U == null ? void 0 : U.dew_point_2m) == null ? void 0 : B.at(E),
10274
10274
  precip: {
10275
10275
  probability: (D = U == null ? void 0 : U.precipitation_probability) == null ? void 0 : D.at(E),
10276
10276
  sum: (T = U == null ? void 0 : U.precipitation) == null ? void 0 : T.at(E),
10277
- sum1Hours: (_ = U == null ? void 0 : U.precipitation) == null ? void 0 : _.at(E),
10277
+ sum1Hours: (z = U == null ? void 0 : U.precipitation) == null ? void 0 : z.at(E),
10278
10278
  sum3Hours: Math.round(Ee * 100) / 100,
10279
10279
  sum6Hours: Math.round(Ne * 100) / 100,
10280
10280
  sum12Hours: Math.round(N * 100) / 100
10281
10281
  },
10282
- pmsl: (L = U == null ? void 0 : U.pressure_msl) == null ? void 0 : L.at(E),
10282
+ pmsl: (w = U == null ? void 0 : U.pressure_msl) == null ? void 0 : w.at(E),
10283
10283
  psurf: (C = U == null ? void 0 : U.surface_pressure) == null ? void 0 : C.at(E),
10284
- code: (k = U == null ? void 0 : U.weather_code) == null ? void 0 : k.at(E),
10284
+ code: (_ = U == null ? void 0 : U.weather_code) == null ? void 0 : _.at(E),
10285
10285
  visibility: this.m2nm((R = U == null ? void 0 : U.visibility) == null ? void 0 : R.at(E)),
10286
10286
  wind: {
10287
10287
  speed: (F = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : F.at(E),
@@ -10364,7 +10364,7 @@ class Ya {
10364
10364
  };
10365
10365
  }
10366
10366
  static pickDaily(e, o) {
10367
- var i, a, r, l, m, c, f, d, b, x, z, v, P, y, B, D, T, _, L, C, k, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e;
10367
+ var i, a, r, l, m, c, f, d, b, v, L, k, P, y, B, D, T, z, w, C, _, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e;
10368
10368
  const Ie = typeof o == "string" ? M(o) : o, Ce = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, oe = M((r = (a = (i = Ce == null ? void 0 : Ce[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), He = M((c = (m = (l = Ce == null ? void 0 : Ce[0]) == null ? void 0 : l.daily) == null ? void 0 : m.time) == null ? void 0 : c.at(-1)), Oe = [];
10369
10369
  if (Ie.isBetween(oe, He, "millisecond", "[]")) {
10370
10370
  let ge, Re;
@@ -10377,11 +10377,11 @@ class Ya {
10377
10377
  temp: {
10378
10378
  max: (d = ae.temperature_2m_max) == null ? void 0 : d.at(W),
10379
10379
  min: (b = ae.temperature_2m_min) == null ? void 0 : b.at(W),
10380
- mean: (x = ae.temperature_2m_mean) == null ? void 0 : x.at(W)
10380
+ mean: (v = ae.temperature_2m_mean) == null ? void 0 : v.at(W)
10381
10381
  },
10382
10382
  apparentTemp: {
10383
- max: (z = ae.apparent_temperature_max) == null ? void 0 : z.at(W),
10384
- min: (v = ae.apparent_temperature_min) == null ? void 0 : v.at(W)
10383
+ max: (L = ae.apparent_temperature_max) == null ? void 0 : L.at(W),
10384
+ min: (k = ae.apparent_temperature_min) == null ? void 0 : k.at(W)
10385
10385
  },
10386
10386
  precip: {
10387
10387
  sum: (P = ae.precipitation_sum) == null ? void 0 : P.at(W),
@@ -10389,12 +10389,12 @@ class Ya {
10389
10389
  snowfallSum: (B = ae.snowfall_sum) == null ? void 0 : B.at(W),
10390
10390
  showersSum: (D = ae.showers_sum) == null ? void 0 : D.at(W),
10391
10391
  hours: (T = ae.precipitation_hours) == null ? void 0 : T.at(W),
10392
- probability: (_ = ae.precipitation_probability_max) == null ? void 0 : _.at(W)
10392
+ probability: (z = ae.precipitation_probability_max) == null ? void 0 : z.at(W)
10393
10393
  },
10394
10394
  rh: {
10395
- max: (L = ae.relative_humidity_2m_max) == null ? void 0 : L.at(W),
10395
+ max: (w = ae.relative_humidity_2m_max) == null ? void 0 : w.at(W),
10396
10396
  min: (C = ae.relative_humidity_2m_min) == null ? void 0 : C.at(W),
10397
- mean: (k = ae.relative_humidity_2m_mean) == null ? void 0 : k.at(W)
10397
+ mean: (_ = ae.relative_humidity_2m_mean) == null ? void 0 : _.at(W)
10398
10398
  },
10399
10399
  wind: {
10400
10400
  speed: (R = ae.wind_speed_10m_max) == null ? void 0 : R.at(W),
@@ -11059,9 +11059,9 @@ const sc = {
11059
11059
  },
11060
11060
  responseType: /\.(jpg|png)$/.test(f.tropicals) ? "blob" : "json"
11061
11061
  }).then((d) => {
11062
- var z, v, P;
11063
- const b = Va.convert2Geojson(((z = d == null ? void 0 : d.data) == null ? void 0 : z.data) || (d == null ? void 0 : d.data));
11064
- ((P = (v = d == null ? void 0 : d.config) == null ? void 0 : v.headers) == null ? void 0 : P.key) && b && (this.tropicals = {
11062
+ var L, k, P;
11063
+ const b = Va.convert2Geojson(((L = d == null ? void 0 : d.data) == null ? void 0 : L.data) || (d == null ? void 0 : d.data));
11064
+ ((P = (k = d == null ? void 0 : d.config) == null ? void 0 : k.headers) == null ? void 0 : P.key) && b && (this.tropicals = {
11065
11065
  data: b,
11066
11066
  active: !0,
11067
11067
  cached: !0,
@@ -11079,7 +11079,7 @@ const sc = {
11079
11079
  handleRefresh() {
11080
11080
  var e, o;
11081
11081
  (((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
11082
- var a, r, l, m, c, f, d, b, x, z, v, P, y, B, D, T, _, L, C, k;
11082
+ var a, r, l, m, c, f, d, b, v, L, k, P, y, B, D, T, z, w, C, _;
11083
11083
  if (((a = i.geometry) == null ? void 0 : a.type) === "Point") {
11084
11084
  let R = "";
11085
11085
  switch (!0) {
@@ -11092,10 +11092,10 @@ const sc = {
11092
11092
  case (((f = i.properties.wind) == null ? void 0 : f.kts) < 63 || ((d = i.properties) == null ? void 0 : d.kts) < 63):
11093
11093
  R = "STS";
11094
11094
  break;
11095
- case (((b = i.properties.wind) == null ? void 0 : b.kts) < 79 || ((x = i.properties) == null ? void 0 : x.kts) < 79):
11095
+ case (((b = i.properties.wind) == null ? void 0 : b.kts) < 79 || ((v = i.properties) == null ? void 0 : v.kts) < 79):
11096
11096
  R = "TY";
11097
11097
  break;
11098
- case (((z = i.properties.wind) == null ? void 0 : z.kts) < 94 || ((v = i.properties) == null ? void 0 : v.kts) < 94):
11098
+ case (((L = i.properties.wind) == null ? void 0 : L.kts) < 94 || ((k = i.properties) == null ? void 0 : k.kts) < 94):
11099
11099
  R = "STY";
11100
11100
  break;
11101
11101
  case (((P = i.properties.wind) == null ? void 0 : P.kts) >= 94 || ((y = i.properties) == null ? void 0 : y.kts) >= 94):
@@ -11107,7 +11107,7 @@ const sc = {
11107
11107
  }
11108
11108
  i.properties.level = R;
11109
11109
  }
11110
- ((B = i.geometry) == null ? void 0 : B.type) === "Point" && ((D = i.properties) != null && D.important) && (i.properties.format = (_ = (T = M(i.properties.date)) == null ? void 0 : T.utcOffset(this.timeZone)) == null ? void 0 : _.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((L = i.geometry) == null ? void 0 : L.type) === "Point" && (i.properties.Name = ((k = (C = i.properties.name) == null ? void 0 : C.trim()) == null ? void 0 : k.replace(/^./, (R) => R.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
11110
+ ((B = i.geometry) == null ? void 0 : B.type) === "Point" && ((D = i.properties) != null && D.important) && (i.properties.format = (z = (T = M(i.properties.date)) == null ? void 0 : T.utcOffset(this.timeZone)) == null ? void 0 : z.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`)), ((w = i.geometry) == null ? void 0 : w.type) === "Point" && (i.properties.Name = ((_ = (C = i.properties.name) == null ? void 0 : C.trim()) == null ? void 0 : _.replace(/^./, (R) => R.toUpperCase())) || i.properties.nameCn, i.properties.nameCn = i.properties.nameCn || i.properties.Name || "-");
11111
11111
  }), this.handleInit();
11112
11112
  },
11113
11113
  handleInit() {
@@ -11118,8 +11118,8 @@ const sc = {
11118
11118
  var t, e, o, i, a, r, l, m, c, f;
11119
11119
  if (this.tropicals && this.map) {
11120
11120
  const d = (/* @__PURE__ */ new Date()).valueOf();
11121
- let b = 0, x = 0;
11122
- (t = this.map) != null && t.getSource(this.source) ? ((o = this.map) == null || o.getSource(this.source).setData((e = this.tropicals) != null && e.active ? this.tropicals.data : this.empty), x = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropicals] update elapsed: ", x, ", total: ", b += x)) : (this.map.addSource(this.source, {
11121
+ let b = 0, v = 0;
11122
+ (t = this.map) != null && t.getSource(this.source) ? ((o = this.map) == null || o.getSource(this.source).setData((e = this.tropicals) != null && e.active ? this.tropicals.data : this.empty), v = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropicals] update elapsed: ", v, ", total: ", b += v)) : (this.map.addSource(this.source, {
11123
11123
  type: "geojson",
11124
11124
  data: (i = this.tropicals) != null && i.active ? (a = this.tropicals) == null ? void 0 : a.data : this.empty
11125
11125
  }), this.map.addLayer({
@@ -11200,7 +11200,7 @@ const sc = {
11200
11200
  ],
11201
11201
  "text-halo-width": 4
11202
11202
  }
11203
- }, this.beforeLayer), x = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] add elapsed: ", x, ", total: ", b += x)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((m = this.map) == null || m.getSource(this.clusterSource).setData((l = this.tropicals) != null && l.active ? this.tropicals.data : this.empty), x = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] update elapsed: ", x, ", total: ", b += x)) : (this.map.addSource(this.clusterSource, {
11203
+ }, this.beforeLayer), v = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] add elapsed: ", v, ", total: ", b += v)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((m = this.map) == null || m.getSource(this.clusterSource).setData((l = this.tropicals) != null && l.active ? this.tropicals.data : this.empty), v = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] update elapsed: ", v, ", total: ", b += v)) : (this.map.addSource(this.clusterSource, {
11204
11204
  type: "geojson",
11205
11205
  data: (c = this.tropicals) != null && c.active ? (f = this.tropicals) == null ? void 0 : f.data : this.empty
11206
11206
  // cluster: true,
@@ -11316,9 +11316,9 @@ const sc = {
11316
11316
  "text-halo-color": "#ffffff",
11317
11317
  "text-halo-width": 2
11318
11318
  }
11319
- }, this.beforeLayer), x = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] add elapsed: ", x, ", total: ", b += x));
11320
- const z = Va.interpolate(this.tropicals, 1);
11321
- this.interpolateData = JSON.parse(JSON.stringify(z)), this.handleDateChange();
11319
+ }, this.beforeLayer), v = (/* @__PURE__ */ new Date()).valueOf() - (d + b), console.log("[tropical] add elapsed: ", v, ", total: ", b += v));
11320
+ const L = Va.interpolate(this.tropicals, 1);
11321
+ this.interpolateData = JSON.parse(JSON.stringify(L)), this.handleDateChange();
11322
11322
  }
11323
11323
  },
11324
11324
  handleClear() {
@@ -11326,7 +11326,7 @@ const sc = {
11326
11326
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
11327
11327
  },
11328
11328
  handleDateChange() {
11329
- var t, e, o, i, a, r, l, m, c, f, d, b, x, z, v, P, y, B, D, T, _, L, C, k, R, F, V, X, Y, Q, $, J, se, le, pe;
11329
+ var t, e, o, i, a, r, l, m, c, f, d, b, v, L, k, P, y, B, D, T, z, w, C, _, R, F, V, X, Y, Q, $, J, se, le, pe;
11330
11330
  if ((t = this.interpolateMarkers) == null || t.forEach((ie) => ie == null ? void 0 : ie.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
11331
11331
  const ie = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), ce = this.interpolateData.filter((O) => O.properties.date === (ie == null ? void 0 : ie.format()) && !O.properties.disabled), ue = this.handleComputePolygons(ce), me = G.featureCollection([...ce]);
11332
11332
  ue.forEach((O) => {
@@ -11367,7 +11367,7 @@ const sc = {
11367
11367
  O.properties.nameCn = Te, O.properties.Name = ((d = (f = O.properties.name) == null ? void 0 : f.trim()) == null ? void 0 : d.replace(/^./, (_e) => _e.toUpperCase())) || O.properties.nameCn, he.push(O);
11368
11368
  }
11369
11369
  let te = this.Theme.current.value.colors["tropicals-ty"];
11370
- ((x = (b = O.properties) == null ? void 0 : b.wind) == null ? void 0 : x.kts) < 32 || !((v = (z = O.properties) == null ? void 0 : z.wind) != null && v.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((y = (P = O.properties) == null ? void 0 : P.wind) == null ? void 0 : y.kts) >= 32 && ((D = (B = O.properties) == null ? void 0 : B.wind) == null ? void 0 : D.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((_ = (T = O.properties) == null ? void 0 : T.wind) == null ? void 0 : _.kts) >= 47 && ((C = (L = O.properties) == null ? void 0 : L.wind) == null ? void 0 : C.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((R = (k = O.properties) == null ? void 0 : k.wind) == null ? void 0 : R.kts) >= 63 && ((V = (F = O.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Y = (X = O.properties) == null ? void 0 : X.wind) == null ? void 0 : Y.kts) >= 79 && (($ = (Q = O.properties) == null ? void 0 : Q.wind) == null ? void 0 : $.kts) < 94 ? te = this.Theme.current.value.colors["tropicals-sty"] : ((se = (J = O.properties) == null ? void 0 : J.wind) == null ? void 0 : se.kts) >= 94 ? te = this.Theme.current.value.colors["tropicals-super-ty"] : te = this.Theme.current.value.colors["tropicals-ty"];
11370
+ ((v = (b = O.properties) == null ? void 0 : b.wind) == null ? void 0 : v.kts) < 32 || !((k = (L = O.properties) == null ? void 0 : L.wind) != null && k.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((y = (P = O.properties) == null ? void 0 : P.wind) == null ? void 0 : y.kts) >= 32 && ((D = (B = O.properties) == null ? void 0 : B.wind) == null ? void 0 : D.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((z = (T = O.properties) == null ? void 0 : T.wind) == null ? void 0 : z.kts) >= 47 && ((C = (w = O.properties) == null ? void 0 : w.wind) == null ? void 0 : C.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((R = (_ = O.properties) == null ? void 0 : _.wind) == null ? void 0 : R.kts) >= 63 && ((V = (F = O.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Y = (X = O.properties) == null ? void 0 : X.wind) == null ? void 0 : Y.kts) >= 79 && (($ = (Q = O.properties) == null ? void 0 : Q.wind) == null ? void 0 : $.kts) < 94 ? te = this.Theme.current.value.colors["tropicals-sty"] : ((se = (J = O.properties) == null ? void 0 : J.wind) == null ? void 0 : se.kts) >= 94 ? te = this.Theme.current.value.colors["tropicals-super-ty"] : te = this.Theme.current.value.colors["tropicals-ty"];
11371
11371
  const be = `<svg t="1719918955501"
11372
11372
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
11373
11373
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -11392,7 +11392,7 @@ const sc = {
11392
11392
  (le = this.map) != null && le.getSource(this.interpolateSource) && ((pe = this.map) == null || pe.getSource(this.interpolateSource).setData(this.empty));
11393
11393
  },
11394
11394
  handleClick(t) {
11395
- var a, r, l, m, c, f, d, b, x, z, v;
11395
+ var a, r, l, m, c, f, d, b, v, L, k;
11396
11396
  const e = t.features[0], o = (r = (a = this.tropicals) == null ? void 0 : a.data) == null ? void 0 : r.features.filter(
11397
11397
  (P) => {
11398
11398
  var y;
@@ -11409,8 +11409,8 @@ const sc = {
11409
11409
  nameCn: ((f = e == null ? void 0 : e.properties) == null ? void 0 : f.nameCn) || ((d = e == null ? void 0 : e.properties) == null ? void 0 : d.name) || "-",
11410
11410
  Name: ((b = e == null ? void 0 : e.properties) == null ? void 0 : b.Name) || "-",
11411
11411
  forecasts: o.map((P) => P.properties),
11412
- history: (x = i[0]) == null ? void 0 : x.properties,
11413
- showCircle: (v = (z = o[0]) == null ? void 0 : z.properties) == null ? void 0 : v.showCircle
11412
+ history: (v = i[0]) == null ? void 0 : v.properties,
11413
+ showCircle: (k = (L = o[0]) == null ? void 0 : L.properties) == null ? void 0 : k.showCircle
11414
11414
  }, this.showTropicalsInfo = !0, this.simple || this.drawTropicalsInfoMaker([t.lngLat.lng, t.lngLat.lat]);
11415
11415
  },
11416
11416
  drawTropicalsInfoMaker(t) {
@@ -11563,7 +11563,7 @@ const sc = {
11563
11563
  class: "d-flex justify-start align-center"
11564
11564
  }, Qc = { class: "text-label pr-1" }, $c = { class: "d-flex justify-start align-center" }, em = { class: "text-label pr-1" };
11565
11565
  function tm(t, e, o, i, a, r) {
11566
- const l = w("VBtn"), m = w("VTooltip"), c = w("VCardText"), f = w("VDivider"), d = w("VCardActions"), b = w("VCard"), x = w("v-card-title"), z = w("v-divider");
11566
+ const l = x("VBtn"), m = x("VTooltip"), c = x("VCardText"), f = x("VDivider"), d = x("VCardActions"), b = x("VCard"), v = x("v-card-title"), L = x("v-divider");
11567
11567
  return g(), S("div", lc, [
11568
11568
  s("div", {
11569
11569
  class: "menu-bar-box transition pa-1",
@@ -11573,8 +11573,8 @@ function tm(t, e, o, i, a, r) {
11573
11573
  text: t.$t("tropical.tropicals"),
11574
11574
  location: "left"
11575
11575
  }, {
11576
- activator: u(({ props: v }) => [
11577
- p(l, j(v, {
11576
+ activator: u(({ props: k }) => [
11577
+ p(l, j(k, {
11578
11578
  "min-width": "32",
11579
11579
  width: "32",
11580
11580
  height: "32",
@@ -11603,11 +11603,11 @@ function tm(t, e, o, i, a, r) {
11603
11603
  default: u(() => [
11604
11604
  p(c, null, {
11605
11605
  default: u(() => {
11606
- var v, P, y, B, D, T, _, L, C, k, R, F;
11606
+ var k, P, y, B, D, T, z, w, C, _, R, F;
11607
11607
  return [
11608
11608
  s("div", nc, [
11609
- s("span", cc, n(o.locale === "en" ? (v = a.activeTropicals) == null ? void 0 : v.Name : ((P = a.activeTropicals) == null ? void 0 : P.nameCn) || ((y = a.activeTropicals) == null ? void 0 : y.Name) || "-"), 1),
11610
- (D = (B = a.activeTropicals) == null ? void 0 : B.history) != null && D.level ? (g(), S("span", mc, ", " + n((_ = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : _.level), 1)) : I("", !0)
11609
+ s("span", cc, n(o.locale === "en" ? (k = a.activeTropicals) == null ? void 0 : k.Name : ((P = a.activeTropicals) == null ? void 0 : P.nameCn) || ((y = a.activeTropicals) == null ? void 0 : y.Name) || "-"), 1),
11610
+ (D = (B = a.activeTropicals) == null ? void 0 : B.history) != null && D.level ? (g(), S("span", mc, ", " + n((z = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : z.level), 1)) : I("", !0)
11611
11611
  ]),
11612
11612
  p(l, {
11613
11613
  icon: "",
@@ -11624,7 +11624,7 @@ function tm(t, e, o, i, a, r) {
11624
11624
  }, 8, ["onClick"]),
11625
11625
  s("div", hc, [
11626
11626
  s("span", dc, n(t.$t("actions.lastUpdate")) + ": ", 1),
11627
- s("span", null, n(r.computeTime(((C = (L = a.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : C.updated) || ((F = (R = (k = a.activeTropicals) == null ? void 0 : k.forecasts) == null ? void 0 : R.filter((V) => !V.disabled)[0]) == null ? void 0 : F.date), o.timeZone)), 1)
11627
+ s("span", null, n(r.computeTime(((C = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : C.updated) || ((F = (R = (_ = a.activeTropicals) == null ? void 0 : _.forecasts) == null ? void 0 : R.filter((V) => !V.disabled)[0]) == null ? void 0 : F.date), o.timeZone)), 1)
11628
11628
  ])
11629
11629
  ];
11630
11630
  }),
@@ -11633,12 +11633,12 @@ function tm(t, e, o, i, a, r) {
11633
11633
  p(f),
11634
11634
  p(c, { class: "text-body-1 py-3" }, {
11635
11635
  default: u(() => {
11636
- var v, P, y, B, D, T, _, L, C;
11636
+ var k, P, y, B, D, T, z, w, C;
11637
11637
  return [
11638
11638
  s("div", pc, [
11639
11639
  s("div", uc, [
11640
11640
  s("label", gc, n(t.$t("weather.windSpeed")) + " : ", 1),
11641
- s("span", null, n(((P = (v = a.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : P.kts) || "-") + " kts", 1),
11641
+ s("span", null, n(((P = (k = a.activeTropicals) == null ? void 0 : k.history) == null ? void 0 : P.kts) || "-") + " kts", 1),
11642
11642
  s("span", null, ", BF " + n(r.computeBF(((B = (y = a.activeTropicals) == null ? void 0 : y.history) == null ? void 0 : B.kts) || "-")), 1)
11643
11643
  ]),
11644
11644
  s("div", fc, [
@@ -11649,27 +11649,27 @@ function tm(t, e, o, i, a, r) {
11649
11649
  s("div", bc, [
11650
11650
  s("div", wc, [
11651
11651
  s("label", xc, n(t.$t("tropical.moveSpeed")) + " : ", 1),
11652
- s("span", null, n(((_ = r.computeMovement(a.activeTropicals)) == null ? void 0 : _.kts) || "-") + " kts", 1)
11652
+ s("span", null, n(((z = r.computeMovement(a.activeTropicals)) == null ? void 0 : z.kts) || "-") + " kts", 1)
11653
11653
  ]),
11654
11654
  s("div", vc, [
11655
11655
  s("label", _c, n(t.$t("tropical.moveDir")) + " : ", 1),
11656
- s("span", null, n(((L = r.computeMovement(a.activeTropicals)) == null ? void 0 : L.deg) || "-") + "°", 1)
11656
+ s("span", null, n(((w = r.computeMovement(a.activeTropicals)) == null ? void 0 : w.deg) || "-") + "°", 1)
11657
11657
  ])
11658
11658
  ]),
11659
11659
  s("div", kc, [
11660
11660
  s("label", zc, n(t.$t("weather.forecastModels")) + " : ", 1),
11661
11661
  s("div", Lc, [
11662
- (g(!0), S(xe, null, ke((C = a.activeTropicals) == null ? void 0 : C.forecasts, (k, R) => (g(), A(l, {
11662
+ (g(!0), S(xe, null, ke((C = a.activeTropicals) == null ? void 0 : C.forecasts, (_, R) => (g(), A(l, {
11663
11663
  key: R,
11664
11664
  density: "compact",
11665
- variant: k.disabled ? "text" : "flat",
11666
- color: k.disabled ? "" : "primary",
11665
+ variant: _.disabled ? "text" : "flat",
11666
+ color: _.disabled ? "" : "primary",
11667
11667
  "min-width": 30,
11668
- class: ye(["model text-none text-body-1 px-1", k.disabled ? "btn-border-1 btn-bg-1" : ""]),
11669
- onClick: Se((F) => r.handleForecastToggle(k), ["stop"])
11668
+ class: ye(["model text-none text-body-1 px-1", _.disabled ? "btn-border-1 btn-bg-1" : ""]),
11669
+ onClick: Se((F) => r.handleForecastToggle(_), ["stop"])
11670
11670
  }, {
11671
11671
  default: u(() => [
11672
- K(n(k.model), 1)
11672
+ K(n(_.model), 1)
11673
11673
  ]),
11674
11674
  _: 2
11675
11675
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -11691,7 +11691,7 @@ function tm(t, e, o, i, a, r) {
11691
11691
  variant: "text",
11692
11692
  color: a.showLegend ? "primary" : "",
11693
11693
  class: "text-none text-body-1",
11694
- onClick: e[0] || (e[0] = Se((v) => a.showLegend = !a.showLegend, ["stop"]))
11694
+ onClick: e[0] || (e[0] = Se((k) => a.showLegend = !a.showLegend, ["stop"]))
11695
11695
  }, {
11696
11696
  prepend: u(() => e[5] || (e[5] = [
11697
11697
  s("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
@@ -11707,7 +11707,7 @@ function tm(t, e, o, i, a, r) {
11707
11707
  variant: "text",
11708
11708
  density: "compact",
11709
11709
  class: "text-none text-body-1",
11710
- onClick: e[1] || (e[1] = Se((v) => r.handleNotification(a.activeTropicals), ["stop"]))
11710
+ onClick: e[1] || (e[1] = Se((k) => r.handleNotification(a.activeTropicals), ["stop"]))
11711
11711
  }, {
11712
11712
  default: u(() => [
11713
11713
  K(n(t.$t("actions.notify")), 1)
@@ -11719,7 +11719,7 @@ function tm(t, e, o, i, a, r) {
11719
11719
  density: "compact",
11720
11720
  "append-icon": "mdi-chevron-right",
11721
11721
  class: "text-none text-body-1",
11722
- onClick: e[2] || (e[2] = Se((v) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11722
+ onClick: e[2] || (e[2] = Se((k) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11723
11723
  }, {
11724
11724
  default: u(() => [
11725
11725
  K(n(t.$t("actions.viewReport")), 1)
@@ -11804,25 +11804,25 @@ function tm(t, e, o, i, a, r) {
11804
11804
  "max-width": "280"
11805
11805
  }, {
11806
11806
  default: u(() => [
11807
- p(x, null, {
11807
+ p(v, null, {
11808
11808
  default: u(() => {
11809
- var v, P, y, B;
11809
+ var k, P, y, B;
11810
11810
  return [
11811
11811
  s("div", Dc, [
11812
- s("span", Ic, n(o.locale === "en" ? (v = a.hoverPoint) == null ? void 0 : v.Name : ((P = a.hoverPoint) == null ? void 0 : P.nameCn) || ((y = a.hoverPoint) == null ? void 0 : y.Name)), 1),
11812
+ s("span", Ic, n(o.locale === "en" ? (k = a.hoverPoint) == null ? void 0 : k.Name : ((P = a.hoverPoint) == null ? void 0 : P.nameCn) || ((y = a.hoverPoint) == null ? void 0 : y.Name)), 1),
11813
11813
  s("span", Rc, "[ " + n((B = a.hoverPoint) == null ? void 0 : B.level) + " ]", 1)
11814
11814
  ])
11815
11815
  ];
11816
11816
  }),
11817
11817
  _: 1
11818
11818
  }),
11819
- p(z),
11819
+ p(L),
11820
11820
  p(c, { class: "text-body-1" }, {
11821
11821
  default: u(() => {
11822
- var v, P, y, B, D, T, _, L, C, k, R, F, V, X, Y, Q, $, J, se, le;
11822
+ var k, P, y, B, D, T, z, w, C, _, R, F, V, X, Y, Q, $, J, se, le;
11823
11823
  return [
11824
11824
  s("div", Ac, [
11825
- ((v = a.hoverPoint) == null ? void 0 : v.type) === "forecast" ? (g(), S("div", Oc, [
11825
+ ((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (g(), S("div", Oc, [
11826
11826
  s("label", Bc, n(t.$t("tropical.updated")) + " : ", 1),
11827
11827
  s("span", null, n(r.computeTzTime((P = a.hoverPoint) == null ? void 0 : P.update, o.timeZone)), 1)
11828
11828
  ])) : I("", !0),
@@ -11834,13 +11834,13 @@ function tm(t, e, o, i, a, r) {
11834
11834
  s("label", Fc, n(t.$t("tropical.forecast")) + " : ", 1),
11835
11835
  s("span", null, n(r.computeTzTime((T = a.hoverPoint) == null ? void 0 : T.date, o.timeZone)), 1)
11836
11836
  ])) : I("", !0),
11837
- ((_ = a.hoverPoint) == null ? void 0 : _.type) === "forecast" ? (g(), S("div", Hc, [
11837
+ ((z = a.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (g(), S("div", Hc, [
11838
11838
  s("label", Gc, n(t.$t("tropical.model")) + " : ", 1),
11839
- s("span", null, n(((L = a.hoverPoint) == null ? void 0 : L.model) ?? "-"), 1)
11839
+ s("span", null, n(((w = a.hoverPoint) == null ? void 0 : w.model) ?? "-"), 1)
11840
11840
  ])) : I("", !0),
11841
11841
  ((C = a.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (g(), S("div", Wc, [
11842
11842
  s("label", Uc, n(t.$t("weather.wind")) + " : ", 1),
11843
- s("span", null, n(((R = JSON.parse((k = a.hoverPoint) == null ? void 0 : k.wind)) == null ? void 0 : R.kts) ?? "-") + " kts", 1)
11843
+ s("span", null, n(((R = JSON.parse((_ = a.hoverPoint) == null ? void 0 : _.wind)) == null ? void 0 : R.kts) ?? "-") + " kts", 1)
11844
11844
  ])) : I("", !0),
11845
11845
  ((F = a.hoverPoint) == null ? void 0 : F.type) === "history" ? (g(), S("div", Vc, [
11846
11846
  s("label", Yc, n(t.$t("weather.wind")) + " : ", 1),
@@ -12069,7 +12069,7 @@ const om = {
12069
12069
  style: { height: "56px" }
12070
12070
  };
12071
12071
  function nm(t, e, o, i, a, r) {
12072
- const l = w("VDatePicker"), m = w("VDivider"), c = w("VListItemTitle"), f = w("VListItem"), d = w("VList"), b = w("VCardText"), x = w("VBtn"), z = w("VCardActions"), v = w("VCard");
12072
+ const l = x("VDatePicker"), m = x("VDivider"), c = x("VListItemTitle"), f = x("VListItem"), d = x("VList"), b = x("VCardText"), v = x("VBtn"), L = x("VCardActions"), k = x("VCard");
12073
12073
  return g(), S("div", am, [
12074
12074
  s("div", {
12075
12075
  style: ee({ height: o.height + "px", width: o.width + "px" }),
@@ -12078,7 +12078,7 @@ function nm(t, e, o, i, a, r) {
12078
12078
  }, [
12079
12079
  s("span", im, n(a.currentDateTime) + " | UTC " + n(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
12080
12080
  ], 6),
12081
- a.showDatePicker ? (g(), A(v, {
12081
+ a.showDatePicker ? (g(), A(k, {
12082
12082
  key: 0,
12083
12083
  class: "card-box d-flex flex-column border",
12084
12084
  style: ee(r.getStyle)
@@ -12139,12 +12139,12 @@ function nm(t, e, o, i, a, r) {
12139
12139
  _: 1
12140
12140
  }),
12141
12141
  p(m),
12142
- p(z, {
12142
+ p(L, {
12143
12143
  class: "justify-end pa-0 pr-4",
12144
12144
  style: { height: "50px" }
12145
12145
  }, {
12146
12146
  default: u(() => [
12147
- p(x, {
12147
+ p(v, {
12148
12148
  size: "small",
12149
12149
  variant: "tonal",
12150
12150
  class: "text-none text-body-2",
@@ -12155,7 +12155,7 @@ function nm(t, e, o, i, a, r) {
12155
12155
  ]),
12156
12156
  _: 1
12157
12157
  }, 8, ["onClick"]),
12158
- p(x, {
12158
+ p(v, {
12159
12159
  size: "small",
12160
12160
  variant: "flat",
12161
12161
  color: "primary",
@@ -12365,12 +12365,12 @@ const cm = {
12365
12365
  ref: "idmGl4DatePicker"
12366
12366
  }, hm = { class: "flex-1-1-0" }, dm = { class: "pa-0" };
12367
12367
  function pm(t, e, o, i, a, r) {
12368
- const l = w("VIcon"), m = w("VDatePicker"), c = w("VCardText"), f = w("VDivider"), d = w("VBtn"), b = w("VCardActions"), x = w("VCard");
12368
+ const l = x("VIcon"), m = x("VDatePicker"), c = x("VCardText"), f = x("VDivider"), d = x("VBtn"), b = x("VCardActions"), v = x("VCard");
12369
12369
  return g(), S("div", mm, [
12370
12370
  s("div", {
12371
12371
  style: ee({ height: o.height + "px", width: o.width + "px" }),
12372
12372
  class: "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-space-between px-2 cursor-pointer",
12373
- onClick: e[0] || (e[0] = (...z) => r.handleOpenDatePicker && r.handleOpenDatePicker(...z))
12373
+ onClick: e[0] || (e[0] = (...L) => r.handleOpenDatePicker && r.handleOpenDatePicker(...L))
12374
12374
  }, [
12375
12375
  s("span", hm, n(a.dateRangeStr), 1),
12376
12376
  a.dateRangeStr ? (g(), A(l, {
@@ -12380,7 +12380,7 @@ function pm(t, e, o, i, a, r) {
12380
12380
  onClick: Se(r.handleClearDate, ["stop"])
12381
12381
  }, null, 8, ["onClick"])) : I("", !0)
12382
12382
  ], 4),
12383
- a.showDatePicker ? (g(), A(x, {
12383
+ a.showDatePicker ? (g(), A(v, {
12384
12384
  key: 0,
12385
12385
  class: "card-box d-flex flex-column border",
12386
12386
  style: ee(r.getStyle)
@@ -12391,7 +12391,7 @@ function pm(t, e, o, i, a, r) {
12391
12391
  s("div", dm, [
12392
12392
  p(m, {
12393
12393
  modelValue: a.dateRange,
12394
- "onUpdate:modelValue": e[1] || (e[1] = (z) => a.dateRange = z),
12394
+ "onUpdate:modelValue": e[1] || (e[1] = (L) => a.dateRange = L),
12395
12395
  min: a.minDate,
12396
12396
  max: a.maxDate,
12397
12397
  "mode-icon": () => r.currentYear,
@@ -12498,8 +12498,789 @@ const um = {
12498
12498
  type: String
12499
12499
  },
12500
12500
  followList: {
12501
- type: Array,
12502
- default: []
12501
+ type: Array
12502
+ // default: () => {
12503
+ // return [
12504
+ // {
12505
+ // "id": "cm8ntkge601bn23o84p2e4pkf",
12506
+ // "platId": "gd0mt1d",
12507
+ // "coordinate": null,
12508
+ // "vessel": {
12509
+ // "id": "cm4s8gvu700kp0mqtdfkebp0s",
12510
+ // "name": "HG BREMEN",
12511
+ // "imo": 9955002,
12512
+ // "mmsi": 636023376,
12513
+ // "callSign": "5LNK4",
12514
+ // "ais": {
12515
+ // "cog": 253.2,
12516
+ // "eta": "2025-09-29T06:00:00Z",
12517
+ // "hdg": 251,
12518
+ // "imo": "9955002",
12519
+ // "lat": -26.914428,
12520
+ // "lng": 42.621778,
12521
+ // "rot": -4,
12522
+ // "sog": 14,
12523
+ // "utc": "2025-09-15T02:16:17Z",
12524
+ // "eta1": "2025-09-29T06:00:00Z",
12525
+ // "mmsi": 636023376,
12526
+ // "factor": {
12527
+ // "eta": "2025-09-15T02:16:17Z",
12528
+ // "etd": "2025-09-15T02:16:17Z",
12529
+ // "lat": -26.914428,
12530
+ // "lng": 42.621778,
12531
+ // "meteo": {
12532
+ // "sst": 23.299999,
12533
+ // "url": "https://osshz.idmwx.com/asset/weather/01n.svg",
12534
+ // "utc": "2025-09-15T02:00:00Z",
12535
+ // "code": 0,
12536
+ // "name": "Clear",
12537
+ // "temp": 22.65,
12538
+ // "wave": {
12539
+ // "wd": {
12540
+ // "scale": "Moderate",
12541
+ // "degree": 92,
12542
+ // "height": 1.36,
12543
+ // "period": 8,
12544
+ // "bearing": 272,
12545
+ // "direction": "E",
12546
+ // "peakPeriod": null
12547
+ // },
12548
+ // "sig": {
12549
+ // "scale": "Moderate",
12550
+ // "degree": 207,
12551
+ // "height": 2.42,
12552
+ // "period": 16.450001,
12553
+ // "bearing": 27,
12554
+ // "direction": "SSW"
12555
+ // },
12556
+ // "swell": {
12557
+ // "scale": "Moderate",
12558
+ // "degree": 211,
12559
+ // "height": 1.62,
12560
+ // "period": 14.2,
12561
+ // "bearing": 31,
12562
+ // "direction": "SSW",
12563
+ // "peakPeriod": null
12564
+ // }
12565
+ // },
12566
+ // "wind": {
12567
+ // "kts": 13.834078,
12568
+ // "gusts": 16.328255,
12569
+ // "scale": 4,
12570
+ // "speed": 13.834078,
12571
+ // "degree": 109.708076,
12572
+ // "bearing": 289.708076,
12573
+ // "direction": "ESE"
12574
+ // },
12575
+ // "gusts": {
12576
+ // "kts": 16.328255
12577
+ // },
12578
+ // "height": 0.22,
12579
+ // "precip": {
12580
+ // "sum": 0,
12581
+ // "sum3Hours": 0,
12582
+ // "sum6Hours": 0,
12583
+ // "probability": null
12584
+ // },
12585
+ // "source": "gfs_seamless",
12586
+ // "current": {
12587
+ // "kts": 2.192751,
12588
+ // "speed": 2.192751,
12589
+ // "degree": 257.19574,
12590
+ // "bearing": 257.19574,
12591
+ // "direction": "WSW"
12592
+ // },
12593
+ // "visibility": 13.0346
12594
+ // },
12595
+ // "speed": 15.77,
12596
+ // "cFactor": 2.18,
12597
+ // "wxFactor": -0.41
12598
+ // },
12599
+ // "method": "position",
12600
+ // "status": 0,
12601
+ // "vendor": "myVessel",
12602
+ // "deleted": false,
12603
+ // "draught": 12.3,
12604
+ // "labelCn": "在航(主机推动)",
12605
+ // "labelEn": "Underway Using Engine",
12606
+ // "syncTime": "2025-09-15T02:30:32Z",
12607
+ // "destination": "ABIDJAN",
12608
+ // "meteoVendor": "GFS",
12609
+ // "positionTime": 1757902577
12610
+ // }
12611
+ // },
12612
+ // "port": null,
12613
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
12614
+ // "owner": {
12615
+ // "id": "cm0vw720z004wayoc8awvaug6",
12616
+ // "email": "monica@ormwx.com"
12617
+ // },
12618
+ // "createdAt": "2025-03-25T01:30:54.079Z",
12619
+ // "remark": null,
12620
+ // "voyage": {
12621
+ // "id": "cmcyl9fkz01bj0nnxd9gzc62e",
12622
+ // "number": "20250711016",
12623
+ // "status": "Underway",
12624
+ // "loadCondition": "Laden",
12625
+ // "companyId": "cltzog33o000nxglt3afwd7b3",
12626
+ // "vesselId": "cm4s8gvu700kp0mqtdfkebp0s"
12627
+ // }
12628
+ // },
12629
+ // {
12630
+ // "id": "cm8ntkh1x03qj0nnt6tal6c1u",
12631
+ // "platId": "gd0mt1d",
12632
+ // "coordinate": null,
12633
+ // "vessel": {
12634
+ // "id": "clyfa7be905to3wqk7xhdg1gp",
12635
+ // "name": "APRIL",
12636
+ // "imo": 9384916,
12637
+ // "mmsi": 352003739,
12638
+ // "callSign": "3E5840",
12639
+ // "ais": {
12640
+ // "cog": 323,
12641
+ // "eta": "2025-09-22T14:00:00Z",
12642
+ // "hdg": 324,
12643
+ // "imo": "9384916",
12644
+ // "lat": 11.68535,
12645
+ // "lng": 74.573017,
12646
+ // "rot": 0,
12647
+ // "sog": 10.6,
12648
+ // "utc": "2025-09-15T02:05:10Z",
12649
+ // "eta1": "2025-09-22T14:00:00Z",
12650
+ // "mmsi": 352003739,
12651
+ // "factor": {
12652
+ // "eta": "2025-09-15T02:05:10Z",
12653
+ // "etd": "2025-09-15T02:05:10Z",
12654
+ // "lat": 11.68535,
12655
+ // "lng": 74.573017,
12656
+ // "meteo": {
12657
+ // "sst": 27.950001,
12658
+ // "url": "https://osshz.idmwx.com/asset/weather/09d.svg",
12659
+ // "utc": "2025-09-15T02:00:00Z",
12660
+ // "code": 80,
12661
+ // "name": "Light Showers",
12662
+ // "temp": 26.9,
12663
+ // "wave": {
12664
+ // "wd": {
12665
+ // "scale": "Smooth",
12666
+ // "degree": 305,
12667
+ // "height": 0.24,
12668
+ // "period": 2.35,
12669
+ // "bearing": 125,
12670
+ // "direction": "NW",
12671
+ // "peakPeriod": null
12672
+ // },
12673
+ // "sig": {
12674
+ // "scale": "Moderate",
12675
+ // "degree": 232,
12676
+ // "height": 1.26,
12677
+ // "period": 9.65,
12678
+ // "bearing": 52,
12679
+ // "direction": "SW"
12680
+ // },
12681
+ // "swell": {
12682
+ // "scale": "Slight",
12683
+ // "degree": 272,
12684
+ // "height": 0.88,
12685
+ // "period": 6.45,
12686
+ // "bearing": 92,
12687
+ // "direction": "W",
12688
+ // "peakPeriod": null
12689
+ // }
12690
+ // },
12691
+ // "wind": {
12692
+ // "kts": 9.052954,
12693
+ // "gusts": 12.829344,
12694
+ // "scale": 3,
12695
+ // "speed": 9.052954,
12696
+ // "degree": 284.931458,
12697
+ // "bearing": 104.93145800000002,
12698
+ // "direction": "WNW"
12699
+ // },
12700
+ // "gusts": {
12701
+ // "kts": 12.829344
12702
+ // },
12703
+ // "height": 0.59,
12704
+ // "precip": {
12705
+ // "sum": 0.2,
12706
+ // "sum3Hours": 0.2,
12707
+ // "sum6Hours": 0.2,
12708
+ // "probability": 25
12709
+ // },
12710
+ // "source": "best_match",
12711
+ // "current": {
12712
+ // "kts": 0.307348,
12713
+ // "speed": 0.307348,
12714
+ // "degree": 161.564941,
12715
+ // "bearing": 161.564941,
12716
+ // "direction": "SSE"
12717
+ // },
12718
+ // "visibility": 6.5119
12719
+ // },
12720
+ // "speed": 10.08,
12721
+ // "cFactor": -0.29,
12722
+ // "wxFactor": -0.23
12723
+ // },
12724
+ // "method": "position",
12725
+ // "status": 0,
12726
+ // "vendor": "myVessel",
12727
+ // "deleted": false,
12728
+ // "draught": 10.9,
12729
+ // "labelCn": "在航(主机推动)",
12730
+ // "labelEn": "Underway Using Engine",
12731
+ // "syncTime": "2025-09-15T02:13:47Z",
12732
+ // "destination": "BH AHD",
12733
+ // "positionTime": 1757901910
12734
+ // }
12735
+ // },
12736
+ // "port": null,
12737
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
12738
+ // "owner": {
12739
+ // "id": "cm0vw720z004wayoc8awvaug6",
12740
+ // "email": "monica@ormwx.com"
12741
+ // },
12742
+ // "createdAt": "2025-03-25T01:30:54.935Z",
12743
+ // "remark": null
12744
+ // },
12745
+ // {
12746
+ // "id": "cm8y716xs02rm0mo1e8lt3tfw",
12747
+ // "platId": "gd0mt1d",
12748
+ // "coordinate": null,
12749
+ // "vessel": null,
12750
+ // "port": {
12751
+ // "id": "clbhyi0x601wcwzpi8xx3xlo5",
12752
+ // "name": "Shanghai",
12753
+ // "loCode": "CNSHA",
12754
+ // "abcAlias": null,
12755
+ // "abcCode": "CN0116",
12756
+ // "abcLoCode": "CNSHA",
12757
+ // "city": "Shanghai",
12758
+ // "cntLoCode": "CN",
12759
+ // "continent": "ASIA",
12760
+ // "country": "China",
12761
+ // "lat": 31.25833320617676,
12762
+ // "lng": 121.5433349609375,
12763
+ // "status": 1,
12764
+ // "timezone": {
12765
+ // "RawOffset": 8,
12766
+ // "TimezoneId": "Asia/Shanghai",
12767
+ // "DisplayName": "(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi",
12768
+ // "UtcCurrentOffset": 8
12769
+ // },
12770
+ // "zoneId": "zk3c0bcq"
12771
+ // },
12772
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
12773
+ // "owner": {
12774
+ // "id": "cm0vw720z004wayoc8awvaug6",
12775
+ // "email": "monica@ormwx.com"
12776
+ // },
12777
+ // "createdAt": "2025-04-01T07:45:31.745Z",
12778
+ // "remark": ""
12779
+ // },
12780
+ // {
12781
+ // "id": "cmag92m9s00vl0nmc7ksveh0v",
12782
+ // "platId": "gd0mt1d",
12783
+ // "coordinate": {
12784
+ // "lat": 34.15792410669758,
12785
+ // "lng": 127.81907847477157
12786
+ // },
12787
+ // "vessel": null,
12788
+ // "port": null,
12789
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
12790
+ // "owner": {
12791
+ // "id": "cm0vw720z004wayoc8awvaug6",
12792
+ // "email": "monica@ormwx.com"
12793
+ // },
12794
+ // "createdAt": "2025-05-09T03:42:11.009Z",
12795
+ // "remark": ""
12796
+ // },
12797
+ // {
12798
+ // "id": "cmag93pmq00wd0nmc1qgp9qsa",
12799
+ // "platId": "gd0mt1d",
12800
+ // "coordinate": {
12801
+ // "lat": -37.63432796286481,
12802
+ // "lng": 52.32165422235994
12803
+ // },
12804
+ // "vessel": null,
12805
+ // "port": null,
12806
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
12807
+ // "owner": {
12808
+ // "id": "cm0vw720z004wayoc8awvaug6",
12809
+ // "email": "monica@ormwx.com"
12810
+ // },
12811
+ // "createdAt": "2025-05-09T03:43:02.019Z",
12812
+ // "remark": ""
12813
+ // },
12814
+ // {
12815
+ // "id": "cmd2jse3e0dvb0nnx21ga822x",
12816
+ // "platId": "gd0mt1d",
12817
+ // "coordinate": {
12818
+ // "lat": 10,
12819
+ // "lng": -14
12820
+ // },
12821
+ // "vessel": null,
12822
+ // "port": null,
12823
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
12824
+ // "owner": {
12825
+ // "id": "cm0vw720z004wayoc8awvaug6",
12826
+ // "email": "monica@ormwx.com"
12827
+ // },
12828
+ // "createdAt": "2025-07-14T03:32:30.171Z",
12829
+ // "remark": ""
12830
+ // },
12831
+ // {
12832
+ // "id": "cmd2jx5ym0e840mpj80n60187",
12833
+ // "platId": "gd0mt1d",
12834
+ // "coordinate": {
12835
+ // "lat": 10,
12836
+ // "lng": -16
12837
+ // },
12838
+ // "vessel": null,
12839
+ // "port": null,
12840
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
12841
+ // "owner": {
12842
+ // "id": "cm0vw720z004wayoc8awvaug6",
12843
+ // "email": "monica@ormwx.com"
12844
+ // },
12845
+ // "createdAt": "2025-07-14T03:36:12.911Z",
12846
+ // "remark": ""
12847
+ // },
12848
+ // {
12849
+ // "id": "cmfdgil9a01i10lqacxdz27pc",
12850
+ // "platId": "gd0mt1d",
12851
+ // "coordinate": {
12852
+ // "lat": -1.3101652000000001,
12853
+ // "lng": 55.488281
12854
+ // },
12855
+ // "vessel": null,
12856
+ // "port": null,
12857
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
12858
+ // "owner": {
12859
+ // "id": "cm0vw720z004wayoc8awvaug6",
12860
+ // "email": "monica@ormwx.com"
12861
+ // },
12862
+ // "createdAt": "2025-09-10T04:05:46.656Z",
12863
+ // "remark": null
12864
+ // },
12865
+ // {
12866
+ // "id": "cmfdlcx6r01y60lqab6q885ev",
12867
+ // "platId": "gd0mt1d",
12868
+ // "coordinate": {
12869
+ // "lat": 0.99837475,
12870
+ // "lng": -104.59375
12871
+ // },
12872
+ // "vessel": null,
12873
+ // "port": null,
12874
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
12875
+ // "owner": {
12876
+ // "id": "cm0vw720z004wayoc8awvaug6",
12877
+ // "email": "monica@ormwx.com"
12878
+ // },
12879
+ // "createdAt": "2025-09-10T06:21:20.262Z",
12880
+ // "remark": null
12881
+ // },
12882
+ // {
12883
+ // "id": "cmfdo9ksp06gl0msh8kanel7s",
12884
+ // "platId": "gd0mt1d",
12885
+ // "coordinate": null,
12886
+ // "vessel": {
12887
+ // "id": "clcbmc4m3000h6ngq461sabxx",
12888
+ // "name": "ZHONG DA 88",
12889
+ // "imo": 9957191,
12890
+ // "mmsi": 413294670,
12891
+ // "callSign": "BOSV9",
12892
+ // "ais": {
12893
+ // "cog": 160.7,
12894
+ // "hdg": 158,
12895
+ // "imo": "9957191",
12896
+ // "lat": 22.11045,
12897
+ // "lng": 113.44941,
12898
+ // "rot": 0,
12899
+ // "sog": 10,
12900
+ // "utc": "2024-03-27T14:00:07Z",
12901
+ // "mmsi": 413294670,
12902
+ // "method": "position",
12903
+ // "status": 0,
12904
+ // "vendor": "myship",
12905
+ // "draught": 4.1,
12906
+ // "syncTime": "2024-03-27T14:00:18Z",
12907
+ // "positionTime": 1711548007
12908
+ // }
12909
+ // },
12910
+ // "port": null,
12911
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
12912
+ // "owner": {
12913
+ // "id": "cm0vw720z004wayoc8awvaug6",
12914
+ // "email": "monica@ormwx.com"
12915
+ // },
12916
+ // "createdAt": "2025-09-10T07:42:43.082Z",
12917
+ // "remark": null
12918
+ // },
12919
+ // {
12920
+ // "id": "cmfermo1i02y70mqydv673mgu",
12921
+ // "platId": "gd0mt1d",
12922
+ // "coordinate": null,
12923
+ // "vessel": {
12924
+ // "id": "clcbmc4ag000c6ngq7p1n1nhv",
12925
+ // "name": "EKMEN STAR",
12926
+ // "imo": 9218193,
12927
+ // "mmsi": 314525000,
12928
+ // "callSign": "8PAX6",
12929
+ // "ais": {
12930
+ // "cog": 82,
12931
+ // "eta": "2025-09-22T05:00:00Z",
12932
+ // "hdg": 84,
12933
+ // "imo": "9218193",
12934
+ // "lat": 36.0301,
12935
+ // "lng": -4.723353,
12936
+ // "rot": 0,
12937
+ // "sog": 11.9,
12938
+ // "utc": "2025-09-14T11:28:29Z",
12939
+ // "eta1": "2025-09-22T05:00:00Z",
12940
+ // "mmsi": 314525000,
12941
+ // "factor": {
12942
+ // "eta": "2025-09-14T11:28:29Z",
12943
+ // "etd": "2025-09-14T11:28:29Z",
12944
+ // "lat": 36.0301,
12945
+ // "lng": -4.723353,
12946
+ // "meteo": {
12947
+ // "sst": 22.15,
12948
+ // "url": "https://osshz.idmwx.com/asset/weather/01d.svg",
12949
+ // "utc": "2025-09-14T11:00:00Z",
12950
+ // "code": 0,
12951
+ // "name": "Sunny",
12952
+ // "temp": 22.65,
12953
+ // "wave": {
12954
+ // "wd": {
12955
+ // "scale": "Smooth",
12956
+ // "degree": 286,
12957
+ // "height": 0.28,
12958
+ // "period": 2.35,
12959
+ // "bearing": 106,
12960
+ // "direction": "WNW",
12961
+ // "peakPeriod": 1
12962
+ // },
12963
+ // "sig": {
12964
+ // "scale": "Slight",
12965
+ // "degree": 286,
12966
+ // "height": 0.58,
12967
+ // "period": 3.85,
12968
+ // "bearing": 106,
12969
+ // "direction": "WNW"
12970
+ // },
12971
+ // "swell": {
12972
+ // "scale": "Smooth",
12973
+ // "degree": 285,
12974
+ // "height": 0.36,
12975
+ // "period": 3.5,
12976
+ // "bearing": 105,
12977
+ // "direction": "WNW",
12978
+ // "peakPeriod": 5.2
12979
+ // }
12980
+ // },
12981
+ // "wind": {
12982
+ // "kts": 4.587627,
12983
+ // "gusts": 7.77536,
12984
+ // "scale": 2,
12985
+ // "speed": 4.587627,
12986
+ // "degree": 306.38446,
12987
+ // "bearing": 126.38446,
12988
+ // "direction": "NW"
12989
+ // },
12990
+ // "gusts": {
12991
+ // "kts": 7.77536
12992
+ // },
12993
+ // "height": -0.39,
12994
+ // "precip": {
12995
+ // "sum": 0,
12996
+ // "sum3Hours": 0,
12997
+ // "sum6Hours": 0,
12998
+ // "probability": 0
12999
+ // },
13000
+ // "source": "best_match",
13001
+ // "current": {
13002
+ // "kts": 0.307348,
13003
+ // "speed": 0.307348,
13004
+ // "degree": 71.564941,
13005
+ // "bearing": 71.564941,
13006
+ // "direction": "ENE"
13007
+ // },
13008
+ // "visibility": 23.4341
13009
+ // },
13010
+ // "speed": 12.13,
13011
+ // "cFactor": 0.3,
13012
+ // "wxFactor": -0.07
13013
+ // },
13014
+ // "method": "position",
13015
+ // "status": 0,
13016
+ // "vendor": "myVessel",
13017
+ // "deleted": false,
13018
+ // "draught": 7.4,
13019
+ // "labelCn": "在航(主机推动)",
13020
+ // "labelEn": "Underway Using Engine",
13021
+ // "syncTime": "2025-09-14T11:30:04Z",
13022
+ // "destination": "ILHFA",
13023
+ // "positionTime": 1757849309
13024
+ // }
13025
+ // },
13026
+ // "port": null,
13027
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
13028
+ // "owner": {
13029
+ // "id": "cm0vw720z004wayoc8awvaug6",
13030
+ // "email": "monica@ormwx.com"
13031
+ // },
13032
+ // "createdAt": "2025-09-11T02:04:38.839Z",
13033
+ // "remark": null
13034
+ // },
13035
+ // {
13036
+ // "id": "cmfgjlseq0a080lqk0wd1c0ez",
13037
+ // "platId": "gd0mt1d",
13038
+ // "coordinate": null,
13039
+ // "vessel": null,
13040
+ // "port": {
13041
+ // "id": "clbhyg0e80018wzpivgy9ronc",
13042
+ // "name": "Akrotiri",
13043
+ // "loCode": "CYAKT",
13044
+ // "abcAlias": null,
13045
+ // "abcCode": "CY0001",
13046
+ // "abcLoCode": "CYAKT",
13047
+ // "city": "Bucharest",
13048
+ // "cntLoCode": "CY",
13049
+ // "continent": "EUROPE",
13050
+ // "country": "Cyprus",
13051
+ // "lat": 34.57192611694336,
13052
+ // "lng": 33.03478240966797,
13053
+ // "status": 1,
13054
+ // "timezone": {
13055
+ // "RawOffset": 2,
13056
+ // "TimezoneId": "Europe/Bucharest",
13057
+ // "DisplayName": "(UTC+02:00) Athens, Bucharest",
13058
+ // "UtcCurrentOffset": 3
13059
+ // },
13060
+ // "zoneId": "0a3i0buw"
13061
+ // },
13062
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
13063
+ // "owner": {
13064
+ // "id": "cm0vw720z004wayoc8awvaug6",
13065
+ // "email": "monica@ormwx.com"
13066
+ // },
13067
+ // "createdAt": "2025-09-12T07:55:33.268Z",
13068
+ // "remark": null
13069
+ // },
13070
+ // {
13071
+ // "id": "cmfkf050h09i20mpbbtp20lxv",
13072
+ // "platId": "gd0mt1d",
13073
+ // "coordinate": null,
13074
+ // "vessel": null,
13075
+ // "port": {
13076
+ // "id": "clbhygf8600gewzpii4d8p5ao",
13077
+ // "name": "Dandong",
13078
+ // "loCode": "CNDDG",
13079
+ // "abcAlias": [
13080
+ // "Dadong"
13081
+ // ],
13082
+ // "abcCode": "CN0028",
13083
+ // "abcLoCode": "CNDDG",
13084
+ // "city": "Pyongyang",
13085
+ // "cntLoCode": "CN",
13086
+ // "continent": "ASIA",
13087
+ // "country": "China",
13088
+ // "lat": 39.81999969482422,
13089
+ // "lng": 124.1575012207031,
13090
+ // "status": 1,
13091
+ // "timezone": {
13092
+ // "RawOffset": 9,
13093
+ // "TimezoneId": "Asia/Pyongyang",
13094
+ // "DisplayName": "(UTC+09:00) Pyongyang",
13095
+ // "UtcCurrentOffset": 9
13096
+ // },
13097
+ // "zoneId": "zk3c0bcq"
13098
+ // },
13099
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
13100
+ // "owner": {
13101
+ // "id": "cm0vw720z004wayoc8awvaug6",
13102
+ // "email": "monica@ormwx.com"
13103
+ // },
13104
+ // "createdAt": "2025-09-15T00:57:49.411Z",
13105
+ // "remark": null
13106
+ // },
13107
+ // {
13108
+ // "id": "cmfkf2lif09ts0lqn1nfmd4ev",
13109
+ // "platId": "gd0mt1d",
13110
+ // "coordinate": null,
13111
+ // "vessel": null,
13112
+ // "port": {
13113
+ // "id": "clbhygu5h00vkwzpi429ib4tx",
13114
+ // "name": "Kakinada",
13115
+ // "loCode": "INKAK",
13116
+ // "abcAlias": null,
13117
+ // "abcCode": "IN0057",
13118
+ // "abcLoCode": "INKAK",
13119
+ // "city": "Kolkata",
13120
+ // "cntLoCode": "IN",
13121
+ // "continent": "ASIA",
13122
+ // "country": "India",
13123
+ // "lat": 16.97333335876465,
13124
+ // "lng": 82.28500366210938,
13125
+ // "status": 1,
13126
+ // "timezone": {
13127
+ // "RawOffset": 5.5,
13128
+ // "TimezoneId": "Asia/Kolkata",
13129
+ // "DisplayName": "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi",
13130
+ // "UtcCurrentOffset": 5.5
13131
+ // },
13132
+ // "zoneId": "zy3f0b05"
13133
+ // },
13134
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
13135
+ // "owner": {
13136
+ // "id": "cm0vw720z004wayoc8awvaug6",
13137
+ // "email": "monica@ormwx.com"
13138
+ // },
13139
+ // "createdAt": "2025-09-15T00:59:44.104Z",
13140
+ // "remark": null
13141
+ // },
13142
+ // {
13143
+ // "id": "cmfkf40mg08qo0mmlbzsic9ou",
13144
+ // "platId": "gd0mt1d",
13145
+ // "coordinate": null,
13146
+ // "vessel": null,
13147
+ // "port": {
13148
+ // "id": "clbhyhdn9019qwzpi6dzvqfci",
13149
+ // "name": "Mormugao",
13150
+ // "loCode": "INMRM",
13151
+ // "abcAlias": null,
13152
+ // "abcCode": "IN0090",
13153
+ // "abcLoCode": "INMRM",
13154
+ // "city": "Kolkata",
13155
+ // "cntLoCode": "IN",
13156
+ // "continent": "ASIA",
13157
+ // "country": "India",
13158
+ // "lat": 15.41249942779541,
13159
+ // "lng": 73.80166625976562,
13160
+ // "status": 1,
13161
+ // "timezone": {
13162
+ // "RawOffset": 5.5,
13163
+ // "TimezoneId": "Asia/Kolkata",
13164
+ // "DisplayName": "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi",
13165
+ // "UtcCurrentOffset": 5.5
13166
+ // },
13167
+ // "zoneId": "zy3f0b05"
13168
+ // },
13169
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
13170
+ // "owner": {
13171
+ // "id": "cm0vw720z004wayoc8awvaug6",
13172
+ // "email": "monica@ormwx.com"
13173
+ // },
13174
+ // "createdAt": "2025-09-15T01:00:50.345Z",
13175
+ // "remark": null
13176
+ // },
13177
+ // {
13178
+ // "id": "cmfkf905108xf0mml26eb6uke",
13179
+ // "platId": "gd0mt1d",
13180
+ // "coordinate": null,
13181
+ // "vessel": null,
13182
+ // "port": {
13183
+ // "id": "clbhyj9w802z2wzpih82qku6a",
13184
+ // "name": "Diego Garcia",
13185
+ // "loCode": "IODGA",
13186
+ // "abcAlias": null,
13187
+ // "abcCode": "IO0002",
13188
+ // "abcLoCode": "IODGA",
13189
+ // "city": "Almaty",
13190
+ // "cntLoCode": "IO",
13191
+ // "continent": "ASIA",
13192
+ // "country": "British Indian Ocean Territory (the)",
13193
+ // "lat": -7.288332939147949,
13194
+ // "lng": 72.3949966430664,
13195
+ // "status": 1,
13196
+ // "timezone": {
13197
+ // "RawOffset": 6,
13198
+ // "TimezoneId": "Asia/Almaty",
13199
+ // "DisplayName": "(UTC+06:00) Astana",
13200
+ // "UtcCurrentOffset": 6
13201
+ // },
13202
+ // "zoneId": "zy3f0b05"
13203
+ // },
13204
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
13205
+ // "owner": {
13206
+ // "id": "cm0vw720z004wayoc8awvaug6",
13207
+ // "email": "monica@ormwx.com"
13208
+ // },
13209
+ // "createdAt": "2025-09-15T01:04:42.998Z",
13210
+ // "remark": null
13211
+ // },
13212
+ // {
13213
+ // "id": "cmfkffoen0a500mpb83ks9naq",
13214
+ // "platId": "gd0mt1d",
13215
+ // "coordinate": null,
13216
+ // "vessel": null,
13217
+ // "port": {
13218
+ // "id": "clbhyhp6u01kiwzpi7pkd9ibw",
13219
+ // "name": "Port Louis",
13220
+ // "loCode": "MUPLU",
13221
+ // "abcAlias": null,
13222
+ // "abcCode": "MU0004",
13223
+ // "abcLoCode": "MUPLU",
13224
+ // "city": "Mauritius",
13225
+ // "cntLoCode": "MU",
13226
+ // "continent": "INDIAN",
13227
+ // "country": "Mauritius",
13228
+ // "lat": -20.15397071838379,
13229
+ // "lng": 57.4934196472168,
13230
+ // "status": 1,
13231
+ // "timezone": {
13232
+ // "RawOffset": 4,
13233
+ // "TimezoneId": "Indian/Mauritius",
13234
+ // "DisplayName": "(UTC+04:00) Port Louis",
13235
+ // "UtcCurrentOffset": 4
13236
+ // },
13237
+ // "zoneId": "zy3f0b05"
13238
+ // },
13239
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
13240
+ // "owner": {
13241
+ // "id": "cm0vw720z004wayoc8awvaug6",
13242
+ // "email": "monica@ormwx.com"
13243
+ // },
13244
+ // "createdAt": "2025-09-15T01:09:54.385Z",
13245
+ // "remark": null
13246
+ // },
13247
+ // {
13248
+ // "id": "cmfkfsabx09lx0mmldli44j5v",
13249
+ // "platId": "gd0mt1d",
13250
+ // "coordinate": null,
13251
+ // "vessel": null,
13252
+ // "port": {
13253
+ // "id": "clbhyhwtq01ruwzpicgc3otck",
13254
+ // "name": "Saipan",
13255
+ // "loCode": "MPSPN",
13256
+ // "abcAlias": null,
13257
+ // "abcCode": "MP0009",
13258
+ // "abcLoCode": "MPSPN",
13259
+ // "city": "Port_Moresby",
13260
+ // "cntLoCode": "MP",
13261
+ // "continent": "PACIFIC",
13262
+ // "country": "Northern Mariana Islands (the)",
13263
+ // "lat": 15.28999996185303,
13264
+ // "lng": 145.7050018310547,
13265
+ // "status": 1,
13266
+ // "timezone": {
13267
+ // "RawOffset": 10,
13268
+ // "TimezoneId": "Pacific/Port_Moresby",
13269
+ // "DisplayName": "(UTC+10:00) Guam, Port Moresby",
13270
+ // "UtcCurrentOffset": 10
13271
+ // },
13272
+ // "zoneId": "0r3n0b5e"
13273
+ // },
13274
+ // "ownerId": "cm0vw720z004wayoc8awvaug6",
13275
+ // "owner": {
13276
+ // "id": "cm0vw720z004wayoc8awvaug6",
13277
+ // "email": "monica@ormwx.com"
13278
+ // },
13279
+ // "createdAt": "2025-09-15T01:19:42.671Z",
13280
+ // "remark": null
13281
+ // }
13282
+ // ]
13283
+ // },
12503
13284
  }
12504
13285
  },
12505
13286
  emits: ["meteoMore", "follow", "cancelFollow", "login"],
@@ -12659,7 +13440,9 @@ const um = {
12659
13440
  ((o = M(this.realTime)) == null ? void 0 : o.diff(t, "d", !0)) >= 0 ? await this.fetchForecastData(this.form) : await this.fetchHistoryData(this.form);
12660
13441
  },
12661
13442
  async fetchForecastData(t) {
12662
- this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.form.followId = t.followId, this.handleDrawInfoMarker([t.lng, t.lat]), this.meteoData = [];
13443
+ this.loading = !0, this.showMeteo = !0, this.form.lng = t.lng, this.form.lat = t.lat, this.form.followId = t.followId, this.handleDrawInfoMarker([t.lng, t.lat]), console.log(this.followList);
13444
+ debugger;
13445
+ this.meteoData = [];
12663
13446
  const { weatherModels: e, marineModels: o } = To.autoPickMeteoModel(t.forecastModel);
12664
13447
  let i = {
12665
13448
  lat: t.lat,
@@ -12697,10 +13480,10 @@ const um = {
12697
13480
  (a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData)), this.loading = !1;
12698
13481
  },
12699
13482
  initTableData(t) {
12700
- var o, i, a, r, l, m, c, f, d, b, x, z, v, P, y, B, D, T, _, L, C, k, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be;
13483
+ var o, i, a, r, l, m, c, f, d, b, v, L, k, P, y, B, D, T, z, w, C, _, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be;
12701
13484
  this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
12702
13485
  const e = ((l = To.pickHourly(t, M(this.form.dateTime))) == null ? void 0 : l[0]) || {};
12703
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((m = e == null ? void 0 : e.weather) == null ? void 0 : m.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((f = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : f.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((v = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : v.kts, 1) ?? "-", this.currentHourData.windDir = ((y = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : y.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((D = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : D.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (T = e == null ? void 0 : e.weather) == null ? void 0 : T.wind) == null ? void 0 : _.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 = (R = (k = e == null ? void 0 : e.wave) == null ? void 0 : k.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Y = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = ($ = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : $.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((se = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (le = e == null ? void 0 : e.wave) == null ? void 0 : le.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (ce = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((me = (ue = e == null ? void 0 : e.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((he = e == null ? void 0 : e.current) == null ? void 0 : he.speed, 1) ?? "-", this.currentHourData.currentDir = (O = e == null ? void 0 : e.current) == null ? void 0 : O.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((te = e == null ? void 0 : e.current) == null ? void 0 : te.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (be = e == null ? void 0 : e.weather) == null ? void 0 : be.url;
13486
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((m = e == null ? void 0 : e.weather) == null ? void 0 : m.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((f = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : f.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((v = e == null ? void 0 : e.weather) == null ? void 0 : v.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((k = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : k.kts, 1) ?? "-", this.currentHourData.windDir = ((y = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : y.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((D = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : D.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((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 = (w = e == null ? void 0 : e.wave) == null ? void 0 : w.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Y = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = ($ = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : $.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((se = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (le = e == null ? void 0 : e.wave) == null ? void 0 : le.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (ce = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((me = (ue = e == null ? void 0 : e.wave) == null ? void 0 : ue.swell) == null ? void 0 : me.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((he = e == null ? void 0 : e.current) == null ? void 0 : he.speed, 1) ?? "-", this.currentHourData.currentDir = (O = e == null ? void 0 : e.current) == null ? void 0 : O.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((te = e == null ? void 0 : e.current) == null ? void 0 : te.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (be = e == null ? void 0 : e.weather) == null ? void 0 : be.url;
12704
13487
  },
12705
13488
  handleBind() {
12706
13489
  var t, e;
@@ -12751,8 +13534,11 @@ const um = {
12751
13534
  this.$emit("follow", this.form);
12752
13535
  },
12753
13536
  handleCancelFollow() {
12754
- var e;
12755
- const t = (e = this.form) == null ? void 0 : e.followId;
13537
+ var e, o, i;
13538
+ const t = ((e = this.form) == null ? void 0 : e.followId) || ((i = (o = this.followList) == null ? void 0 : o.find((a) => {
13539
+ var r, l;
13540
+ return (a == null ? void 0 : a.id) === this.form.followId || ((r = a == null ? void 0 : a.coordinate) == null ? void 0 : r.lng) === this.form.lng && ((l = a == null ? void 0 : a.coordinate) == null ? void 0 : l.lat) === this.form.lat;
13541
+ })) == null ? void 0 : i.id);
12756
13542
  this.$emit("cancelFollow", t);
12757
13543
  }
12758
13544
  }
@@ -12816,7 +13602,7 @@ const um = {
12816
13602
  "aria-hidden": "true"
12817
13603
  }, bh = ["xlink:href"];
12818
13604
  function wh(t, e, o, i, a, r) {
12819
- const l = w("VBtn"), m = w("VTooltip"), c = w("VCardTitle"), f = w("VDivider"), d = w("VTextField"), b = w("VCol"), x = w("VRow"), z = w("DateTimePicker"), v = w("VBtnToggle"), P = w("VCardText"), y = w("VCardActions"), B = w("VForm"), D = w("VCard"), T = w("VIcon");
13605
+ const l = x("VBtn"), m = x("VTooltip"), c = x("VCardTitle"), f = x("VDivider"), d = x("VTextField"), b = x("VCol"), v = x("VRow"), L = x("DateTimePicker"), k = x("VBtnToggle"), P = x("VCardText"), y = x("VCardActions"), B = x("VForm"), D = x("VCard"), T = x("VIcon");
12820
13606
  return g(), S("div", gm, [
12821
13607
  s("div", {
12822
13608
  class: "menu-bar-box transition pa-1",
@@ -12826,8 +13612,8 @@ function wh(t, e, o, i, a, r) {
12826
13612
  text: t.$t("spot.spotsMeteo"),
12827
13613
  location: "left"
12828
13614
  }, {
12829
- activator: u(({ props: _ }) => [
12830
- p(l, j(_, {
13615
+ activator: u(({ props: z }) => [
13616
+ p(l, j(z, {
12831
13617
  "min-width": "32",
12832
13618
  width: "32",
12833
13619
  height: "32",
@@ -12889,7 +13675,7 @@ function wh(t, e, o, i, a, r) {
12889
13675
  ])),
12890
13676
  s("div", null, n(t.$t("spot.lng")), 1)
12891
13677
  ]),
12892
- p(x, { class: "ma-0" }, {
13678
+ p(v, { class: "ma-0" }, {
12893
13679
  default: u(() => [
12894
13680
  p(b, {
12895
13681
  cols: "4",
@@ -12898,7 +13684,7 @@ function wh(t, e, o, i, a, r) {
12898
13684
  default: u(() => [
12899
13685
  p(d, {
12900
13686
  modelValue: a.form.lngDegree,
12901
- "onUpdate:modelValue": e[0] || (e[0] = (_) => a.form.lngDegree = _),
13687
+ "onUpdate:modelValue": e[0] || (e[0] = (z) => a.form.lngDegree = z),
12902
13688
  rules: a.formRules.lngDegree,
12903
13689
  density: "compact",
12904
13690
  variant: "outlined",
@@ -12918,7 +13704,7 @@ function wh(t, e, o, i, a, r) {
12918
13704
  default: u(() => [
12919
13705
  p(d, {
12920
13706
  modelValue: a.form.lngMinute,
12921
- "onUpdate:modelValue": e[1] || (e[1] = (_) => a.form.lngMinute = _),
13707
+ "onUpdate:modelValue": e[1] || (e[1] = (z) => a.form.lngMinute = z),
12922
13708
  rules: a.formRules.lngMinute,
12923
13709
  label: "",
12924
13710
  density: "compact",
@@ -12945,7 +13731,7 @@ function wh(t, e, o, i, a, r) {
12945
13731
  height: "32",
12946
13732
  class: "text-body-1 btn-bg-1",
12947
13733
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
12948
- onClick: e[2] || (e[2] = (_) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
13734
+ onClick: e[2] || (e[2] = (z) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
12949
13735
  }, {
12950
13736
  default: u(() => [
12951
13737
  K(n(a.form.lngDirection), 1)
@@ -12966,7 +13752,7 @@ function wh(t, e, o, i, a, r) {
12966
13752
  ])),
12967
13753
  s("div", null, n(t.$t("spot.lat")), 1)
12968
13754
  ]),
12969
- p(x, { class: "ma-0" }, {
13755
+ p(v, { class: "ma-0" }, {
12970
13756
  default: u(() => [
12971
13757
  p(b, {
12972
13758
  cols: "4",
@@ -12975,7 +13761,7 @@ function wh(t, e, o, i, a, r) {
12975
13761
  default: u(() => [
12976
13762
  p(d, {
12977
13763
  modelValue: a.form.latDegree,
12978
- "onUpdate:modelValue": e[3] || (e[3] = (_) => a.form.latDegree = _),
13764
+ "onUpdate:modelValue": e[3] || (e[3] = (z) => a.form.latDegree = z),
12979
13765
  rules: a.formRules.latDegree,
12980
13766
  label: "",
12981
13767
  density: "compact",
@@ -12998,7 +13784,7 @@ function wh(t, e, o, i, a, r) {
12998
13784
  default: u(() => [
12999
13785
  p(d, {
13000
13786
  modelValue: a.form.latMinute,
13001
- "onUpdate:modelValue": e[4] || (e[4] = (_) => a.form.latMinute = _),
13787
+ "onUpdate:modelValue": e[4] || (e[4] = (z) => a.form.latMinute = z),
13002
13788
  rules: a.formRules.latMinute,
13003
13789
  label: "",
13004
13790
  density: "compact",
@@ -13025,7 +13811,7 @@ function wh(t, e, o, i, a, r) {
13025
13811
  height: "32",
13026
13812
  class: "text-body-1 btn-bg-1",
13027
13813
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
13028
- onClick: e[5] || (e[5] = (_) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
13814
+ onClick: e[5] || (e[5] = (z) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
13029
13815
  }, {
13030
13816
  default: u(() => [
13031
13817
  K(n(a.form.latDirection), 1)
@@ -13046,18 +13832,18 @@ function wh(t, e, o, i, a, r) {
13046
13832
  ])),
13047
13833
  s("div", null, n(t.$t("spot.dateTime")), 1)
13048
13834
  ]),
13049
- p(x, { class: "ma-0 mb-4" }, {
13835
+ p(v, { class: "ma-0 mb-4" }, {
13050
13836
  default: u(() => [
13051
13837
  p(b, {
13052
13838
  cols: "12",
13053
13839
  class: "pa-0"
13054
13840
  }, {
13055
13841
  default: u(() => [
13056
- p(z, j({
13842
+ p(L, j({
13057
13843
  "date-time": a.form.dateTime,
13058
13844
  "time-zone": o.timeZone
13059
13845
  }, t.$attrs, {
13060
- onDateTime: e[6] || (e[6] = (_) => a.form.dateTime = _)
13846
+ onDateTime: e[6] || (e[6] = (z) => a.form.dateTime = z)
13061
13847
  }), null, 16, ["date-time", "time-zone"])
13062
13848
  ]),
13063
13849
  _: 1
@@ -13073,16 +13859,16 @@ function wh(t, e, o, i, a, r) {
13073
13859
  ])),
13074
13860
  s("div", null, n(t.$t("weather.forecastModel")), 1)
13075
13861
  ]),
13076
- p(x, { class: "ma-0 mb-2" }, {
13862
+ p(v, { class: "ma-0 mb-2" }, {
13077
13863
  default: u(() => [
13078
13864
  p(b, {
13079
13865
  cols: "12",
13080
13866
  class: "pa-0"
13081
13867
  }, {
13082
13868
  default: u(() => [
13083
- p(v, {
13869
+ p(k, {
13084
13870
  modelValue: a.form.forecastModel,
13085
- "onUpdate:modelValue": e[7] || (e[7] = (_) => a.form.forecastModel = _),
13871
+ "onUpdate:modelValue": e[7] || (e[7] = (z) => a.form.forecastModel = z),
13086
13872
  class: "w-100",
13087
13873
  rounded: "",
13088
13874
  height: "30",
@@ -13199,18 +13985,18 @@ function wh(t, e, o, i, a, r) {
13199
13985
  p(f),
13200
13986
  p(P, { class: "text-body-1 px-0 py-1" }, {
13201
13987
  default: u(() => {
13202
- var _, L;
13988
+ var z, w;
13203
13989
  return [
13204
13990
  s("div", Im, [
13205
13991
  s("div", Rm, n(t.$t("time.time")), 1),
13206
- s("div", Am, n(r.computedTzTime((_ = a.currentHourData) == null ? void 0 : _.utc)), 1)
13992
+ s("div", Am, n(r.computedTzTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
13207
13993
  ]),
13208
13994
  s("div", Om, [
13209
13995
  e[18] || (e[18] = s("div", {
13210
13996
  style: { width: "100px" },
13211
13997
  class: "pa-0 pr-2 text-right opacity-50"
13212
13998
  }, "LT", -1)),
13213
- s("div", Bm, n(r.computedLocalTime((L = a.currentHourData) == null ? void 0 : L.utc)), 1)
13999
+ s("div", Bm, n(r.computedLocalTime((w = a.currentHourData) == null ? void 0 : w.utc)), 1)
13214
14000
  ]),
13215
14001
  s("div", jm, [
13216
14002
  s("div", Em, n(t.$t("weather.wind")), 1),
@@ -13236,62 +14022,65 @@ function wh(t, e, o, i, a, r) {
13236
14022
  }),
13237
14023
  p(f),
13238
14024
  p(y, { class: "d-flex justify-space-between align-center" }, {
13239
- default: u(() => [
13240
- o.followList.some((_) => {
13241
- var L, C;
13242
- return ((L = _ == null ? void 0 : _.coordinate) == null ? void 0 : L.lng) === a.form.lng && ((C = _ == null ? void 0 : _.coordinate) == null ? void 0 : C.lat) === a.form.lat;
13243
- }) ? (g(), A(l, {
13244
- key: 0,
13245
- class: "text-none text-body-1",
13246
- id: "idm-gl4-spot-meteo-follow",
13247
- variant: "text",
13248
- density: "compact",
13249
- height: "32",
13250
- "prepend-icon": "mdi-star",
13251
- onClick: Se(r.handleCancelFollow, ["stop"])
13252
- }, {
13253
- prepend: u(() => [
13254
- p(T, {
13255
- color: "warning",
13256
- style: { "font-size": "20px", "margin-top": "-2px" }
13257
- })
13258
- ]),
13259
- default: u(() => [
13260
- K(" " + n(t.$t("actions.unfollow")), 1)
13261
- ]),
13262
- _: 1
13263
- }, 8, ["onClick"])) : (g(), A(l, {
13264
- key: 1,
13265
- id: "idm-gl4-spot-meteo-unfollow",
13266
- class: "text-none text-body-1",
13267
- variant: "text",
13268
- density: "compact",
13269
- height: "32",
13270
- "prepend-icon": "mdi-star-outline",
13271
- onClick: Se(r.handleFollow, ["stop"])
13272
- }, {
13273
- prepend: u(() => [
13274
- p(T, { style: { "font-size": "20px", "margin-top": "-2px" } })
13275
- ]),
13276
- default: u(() => [
13277
- K(n(t.$t("actions.follow")) + " ", 1)
13278
- ]),
13279
- _: 1
13280
- }, 8, ["onClick"])),
13281
- p(l, {
13282
- height: "32",
13283
- variant: "text",
13284
- density: "compact",
13285
- "append-icon": "mdi-chevron-right",
13286
- class: "text-none text-body-1",
13287
- onClick: Se(r.handleMeteoMore, ["stop"])
13288
- }, {
13289
- default: u(() => [
13290
- K(n(t.$t("spot.forecast")), 1)
13291
- ]),
13292
- _: 1
13293
- }, 8, ["onClick"])
13294
- ]),
14025
+ default: u(() => {
14026
+ var z;
14027
+ return [
14028
+ (z = o.followList) != null && z.some((w) => {
14029
+ var C, _;
14030
+ return (w == null ? void 0 : w.id) === a.form.followId || ((C = w == null ? void 0 : w.coordinate) == null ? void 0 : C.lng) === a.form.lng && ((_ = w == null ? void 0 : w.coordinate) == null ? void 0 : _.lat) === a.form.lat;
14031
+ }) ? (g(), A(l, {
14032
+ key: 0,
14033
+ class: "text-none text-body-1",
14034
+ id: "idm-gl4-spot-meteo-follow",
14035
+ variant: "text",
14036
+ density: "compact",
14037
+ height: "32",
14038
+ "prepend-icon": "mdi-star",
14039
+ onClick: Se(r.handleCancelFollow, ["stop"])
14040
+ }, {
14041
+ prepend: u(() => [
14042
+ p(T, {
14043
+ color: "warning",
14044
+ style: { "font-size": "20px", "margin-top": "-2px" }
14045
+ })
14046
+ ]),
14047
+ default: u(() => [
14048
+ K(" " + n(t.$t("actions.unfollow")), 1)
14049
+ ]),
14050
+ _: 1
14051
+ }, 8, ["onClick"])) : (g(), A(l, {
14052
+ key: 1,
14053
+ id: "idm-gl4-spot-meteo-unfollow",
14054
+ class: "text-none text-body-1",
14055
+ variant: "text",
14056
+ density: "compact",
14057
+ height: "32",
14058
+ "prepend-icon": "mdi-star-outline",
14059
+ onClick: Se(r.handleFollow, ["stop"])
14060
+ }, {
14061
+ prepend: u(() => [
14062
+ p(T, { style: { "font-size": "20px", "margin-top": "-2px" } })
14063
+ ]),
14064
+ default: u(() => [
14065
+ K(n(t.$t("actions.follow")) + " ", 1)
14066
+ ]),
14067
+ _: 1
14068
+ }, 8, ["onClick"])),
14069
+ p(l, {
14070
+ height: "32",
14071
+ variant: "text",
14072
+ density: "compact",
14073
+ "append-icon": "mdi-chevron-right",
14074
+ class: "text-none text-body-1",
14075
+ onClick: Se(r.handleMeteoMore, ["stop"])
14076
+ }, {
14077
+ default: u(() => [
14078
+ K(n(t.$t("spot.forecast")), 1)
14079
+ ]),
14080
+ _: 1
14081
+ }, 8, ["onClick"])
14082
+ ];
14083
+ }),
13295
14084
  _: 1
13296
14085
  })
13297
14086
  ]),
@@ -13304,84 +14093,90 @@ function wh(t, e, o, i, a, r) {
13304
14093
  }, {
13305
14094
  default: u(() => [
13306
14095
  p(c, null, {
13307
- default: u(() => [
13308
- s("div", Qm, [
13309
- s("div", $m, [
13310
- e[19] || (e[19] = s("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
13311
- s("div", eh, n(r.computePosition(a.form || a.currentHourData)), 1)
14096
+ default: u(() => {
14097
+ var z;
14098
+ return [
14099
+ s("div", Qm, [
14100
+ s("div", $m, [
14101
+ e[19] || (e[19] = s("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
14102
+ s("div", eh, n(r.computePosition(a.form || a.currentHourData)), 1)
14103
+ ]),
14104
+ s("div", th, [
14105
+ (z = o.followList) != null && z.some((w) => {
14106
+ var C, _;
14107
+ return (w == null ? void 0 : w.id) === a.form.followId || ((C = w == null ? void 0 : w.coordinate) == null ? void 0 : C.lng) === a.form.lng && ((_ = w == null ? void 0 : w.coordinate) == null ? void 0 : _.lat) === a.form.lat;
14108
+ }) ? (g(), A(l, {
14109
+ key: 0,
14110
+ class: "text-none text-body-1 rounded-circle",
14111
+ variant: "text",
14112
+ density: "compact",
14113
+ height: "32",
14114
+ width: "28",
14115
+ "min-width": "28",
14116
+ onClick: Se(r.handleCancelFollow, ["stop"])
14117
+ }, {
14118
+ default: u(() => [
14119
+ p(T, {
14120
+ icon: "mdi-star",
14121
+ color: "warning",
14122
+ size: "20"
14123
+ })
14124
+ ]),
14125
+ _: 1
14126
+ }, 8, ["onClick"])) : (g(), A(l, {
14127
+ key: 1,
14128
+ class: "text-none text-body-1 rounded-circle",
14129
+ variant: "text",
14130
+ density: "compact",
14131
+ height: "32",
14132
+ width: "28",
14133
+ "min-width": "28",
14134
+ onClick: Se(r.handleFollow, ["stop"])
14135
+ }, {
14136
+ default: u(() => [
14137
+ p(T, {
14138
+ icon: "mdi-star-outline",
14139
+ size: "20"
14140
+ })
14141
+ ]),
14142
+ _: 1
14143
+ }, 8, ["onClick"])),
14144
+ p(l, {
14145
+ class: "mr-n2",
14146
+ density: "comfortable",
14147
+ icon: "",
14148
+ variant: "plain",
14149
+ onClick: Se(r.handleCloseMeteo, ["stop"])
14150
+ }, {
14151
+ default: u(() => e[20] || (e[20] = [
14152
+ s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
14153
+ ])),
14154
+ _: 1,
14155
+ __: [20]
14156
+ }, 8, ["onClick"])
14157
+ ])
13312
14158
  ]),
13313
- s("div", th, [
13314
- o.followList.some((_) => (_ == null ? void 0 : _.id) === a.form.followId) ? (g(), A(l, {
13315
- key: 0,
13316
- class: "text-none text-body-1 rounded-circle",
13317
- variant: "text",
13318
- density: "compact",
13319
- height: "32",
13320
- width: "28",
13321
- "min-width": "28",
13322
- onClick: Se(r.handleCancelFollow, ["stop"])
13323
- }, {
13324
- default: u(() => [
13325
- p(T, {
13326
- icon: "mdi-star",
13327
- color: "warning",
13328
- size: "20"
13329
- })
13330
- ]),
13331
- _: 1
13332
- }, 8, ["onClick"])) : (g(), A(l, {
13333
- key: 1,
13334
- class: "text-none text-body-1 rounded-circle",
13335
- variant: "text",
13336
- density: "compact",
13337
- height: "32",
13338
- width: "28",
13339
- "min-width": "28",
13340
- onClick: Se(r.handleFollow, ["stop"])
13341
- }, {
13342
- default: u(() => [
13343
- p(T, {
13344
- icon: "mdi-star-outline",
13345
- size: "20"
13346
- })
13347
- ]),
13348
- _: 1
13349
- }, 8, ["onClick"])),
13350
- p(l, {
13351
- class: "mr-n2",
13352
- density: "comfortable",
13353
- icon: "",
13354
- variant: "plain",
13355
- onClick: Se(r.handleCloseMeteo, ["stop"])
13356
- }, {
13357
- default: u(() => e[20] || (e[20] = [
13358
- s("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
13359
- ])),
13360
- _: 1,
13361
- __: [20]
13362
- }, 8, ["onClick"])
13363
- ])
13364
- ]),
13365
- e[21] || (e[21] = s("div", { class: "px-5 py-1 text-label text-body-1" }, "Spot Weather", -1))
13366
- ]),
14159
+ e[21] || (e[21] = s("div", { class: "px-5 py-1 text-label text-body-1" }, "Spot Weather", -1))
14160
+ ];
14161
+ }),
13367
14162
  _: 1,
13368
14163
  __: [21]
13369
14164
  }),
13370
14165
  p(f),
13371
14166
  p(P, { class: "text-body-1 px-0 py-2" }, {
13372
14167
  default: u(() => {
13373
- var _, L;
14168
+ var z, w;
13374
14169
  return [
13375
14170
  s("div", oh, [
13376
14171
  s("div", ah, n(t.$t("time.time")), 1),
13377
- s("div", ih, n(r.computedTzTime((_ = a.currentHourData) == null ? void 0 : _.utc)), 1)
14172
+ s("div", ih, n(r.computedTzTime((z = a.currentHourData) == null ? void 0 : z.utc)), 1)
13378
14173
  ]),
13379
14174
  s("div", rh, [
13380
14175
  e[22] || (e[22] = s("div", {
13381
14176
  style: { width: "60px" },
13382
14177
  class: "pa-0 pr-2 text-right opacity-50"
13383
14178
  }, "LT", -1)),
13384
- s("div", sh, n(r.computedLocalTime((L = a.currentHourData) == null ? void 0 : L.utc)), 1)
14179
+ s("div", sh, n(r.computedLocalTime((w = a.currentHourData) == null ? void 0 : w.utc)), 1)
13385
14180
  ]),
13386
14181
  s("div", lh, [
13387
14182
  s("div", nh, [
@@ -13533,24 +14328,24 @@ const vh = {
13533
14328
  var o, i, a, r, l, m, c, f, d, b;
13534
14329
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
13535
14330
  if ((e == null ? void 0 : e.split("-").length) === 2) {
13536
- const x = this.geojson.filter((y) => y.id === e.split("-")[0])[0];
13537
- this.pointMarkers[x.id].filter((y) => {
14331
+ const v = this.geojson.filter((y) => y.id === e.split("-")[0])[0];
14332
+ this.pointMarkers[v.id].filter((y) => {
13538
14333
  var B;
13539
14334
  return ((B = y._element) == null ? void 0 : B.id) === e;
13540
14335
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (m = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : m.lat]);
13541
- let v;
13542
- x.features.forEach((y, B) => {
14336
+ let k;
14337
+ v.features.forEach((y, B) => {
13543
14338
  if (y.geometry.type === "Point" && y.properties.id === e.split("-")[1]) {
13544
- v = B;
14339
+ k = B;
13545
14340
  return;
13546
14341
  }
13547
14342
  });
13548
- const P = x.features.filter((y) => y.geometry.type === "Point");
14343
+ const P = v.features.filter((y) => y.geometry.type === "Point");
13549
14344
  this.handleTmpPointUpdate(
13550
- x,
13551
- P[v - 1],
13552
- { lng: (f = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : f.lng, lat: (b = (d = t.target) == null ? void 0 : d._lngLat) == null ? void 0 : b.lat, properties: P[v].properties },
13553
- v === P.length - 1 ? void 0 : P[v + 1]
14345
+ v,
14346
+ P[k - 1],
14347
+ { lng: (f = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : f.lng, lat: (b = (d = t.target) == null ? void 0 : d._lngLat) == null ? void 0 : b.lat, properties: P[k].properties },
14348
+ k === P.length - 1 ? void 0 : P[k + 1]
13554
14349
  );
13555
14350
  }
13556
14351
  },
@@ -13558,13 +14353,13 @@ const vh = {
13558
14353
  var o, i, a, r, l, m, c, f, d, b;
13559
14354
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
13560
14355
  if ((e == null ? void 0 : e.split("-").length) === 2) {
13561
- const x = this.geojson.filter((P) => P.id === e.split("-")[0])[0];
13562
- this.pointMarkers[x.id].filter((P) => {
14356
+ const v = this.geojson.filter((P) => P.id === e.split("-")[0])[0];
14357
+ this.pointMarkers[v.id].filter((P) => {
13563
14358
  var y;
13564
14359
  return ((y = P._element) == null ? void 0 : y.id) === e;
13565
14360
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (m = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : m.lat]);
13566
- const v = x.features.filter((P) => P.geometry.type === "Point" && P.properties.id === e.split("-")[1])[0];
13567
- v.geometry.coordinates = [(f = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : f.lng, (b = (d = t.target) == null ? void 0 : d._lngLat) == null ? void 0 : b.lat], x.features = x.features.filter((P) => P.geometry.type === "Point"), this.handlePointUpdate(x);
14361
+ const k = v.features.filter((P) => P.geometry.type === "Point" && P.properties.id === e.split("-")[1])[0];
14362
+ k.geometry.coordinates = [(f = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : f.lng, (b = (d = t.target) == null ? void 0 : d._lngLat) == null ? void 0 : b.lat], v.features = v.features.filter((P) => P.geometry.type === "Point"), this.handlePointUpdate(v);
13568
14363
  }
13569
14364
  },
13570
14365
  handleContextmenu(t) {
@@ -13614,12 +14409,12 @@ const vh = {
13614
14409
  for (let a = 1; a < e.length; a++) {
13615
14410
  const r = e[a - 1], l = e[a], m = r.properties, c = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, f = { lng: l.geometry.coordinates[0], lat: l.geometry.coordinates[1] }, d = Ve.calculateDistance(c, f, m.mode === "RL", 4), b = Ve.calculateBearing(c, f, m.mode === "RL", 2);
13616
14411
  o = q.roundPrecision(o + d, 4);
13617
- let x;
13618
- m.mode === "RL" ? x = q.convertToMonotonicLng([c, f]) : x = q.convertToMonotonicLng(Ve.interpolateCoordinates(c, f, 200));
13619
- const z = G.lineString(x.map((P) => [P.lng, P.lat]));
13620
- z.properties.dist = d, z.properties.bearing = b, z.properties.total = o, z.properties.name = "Line " + this.currentLineIndex, i.push(z);
13621
- const v = e[a];
13622
- v.properties.totalDist = q.roundPrecision((m.totalDist ? m.totalDist : 0) + d, 4), v.properties.sumLabel = v.properties.totalDist + " nm";
14412
+ let v;
14413
+ m.mode === "RL" ? v = q.convertToMonotonicLng([c, f]) : v = q.convertToMonotonicLng(Ve.interpolateCoordinates(c, f, 200));
14414
+ const L = G.lineString(v.map((P) => [P.lng, P.lat]));
14415
+ L.properties.dist = d, L.properties.bearing = b, L.properties.total = o, L.properties.name = "Line " + this.currentLineIndex, i.push(L);
14416
+ const k = e[a];
14417
+ k.properties.totalDist = q.roundPrecision((m.totalDist ? m.totalDist : 0) + d, 4), k.properties.sumLabel = k.properties.totalDist + " nm";
13623
14418
  }
13624
14419
  e.push(...i), t.total = o;
13625
14420
  }
@@ -13633,16 +14428,16 @@ const vh = {
13633
14428
  r = Ve.calculateDistance(f, d, c.mode === "RL", 4), l = Ve.calculateBearing(f, d, c.mode === "RL", 2);
13634
14429
  let b;
13635
14430
  c.mode === "RL" ? b = q.convertToMonotonicLng([f, d]) : b = q.convertToMonotonicLng(Ve.interpolateCoordinates(f, d, 200));
13636
- const x = G.lineString(b.map((z) => [z.lng, z.lat]));
13637
- x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
14431
+ const v = G.lineString(b.map((L) => [L.lng, L.lat]));
14432
+ v.properties.dist = r, v.properties.bearing = l, a.features.push(v);
13638
14433
  }
13639
14434
  if (i) {
13640
14435
  const c = o.properties, f = o, d = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
13641
14436
  r = Ve.calculateDistance(f, d, c.mode === "RL", 4), l = Ve.calculateBearing(f, d, c.mode === "RL", 2);
13642
14437
  let b;
13643
14438
  c.mode === "RL" ? b = q.convertToMonotonicLng([f, d]) : b = q.convertToMonotonicLng(Ve.interpolateCoordinates(f, d, 200));
13644
- const x = G.lineString(b.map((z) => [z.lng, z.lat]));
13645
- x.properties.dist = r, x.properties.bearing = l, a.features.push(x);
14439
+ const v = G.lineString(b.map((L) => [L.lng, L.lat]));
14440
+ v.properties.dist = r, v.properties.bearing = l, a.features.push(v);
13646
14441
  }
13647
14442
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(a) : this.map.addSource(this.tmpSource, {
13648
14443
  type: "geojson",
@@ -13783,16 +14578,16 @@ const vh = {
13783
14578
  }
13784
14579
  },
13785
14580
  handleClear(t, e = !0) {
13786
- var l, m, c, f, d, b, x, z, v, P;
14581
+ var l, m, c, f, d, b, v, L, k, P;
13787
14582
  const o = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, a = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
13788
- (l = this.map) != null && l.getLayer(i) && this.map.removeLayer(i), (m = this.map) != null && m.getLayer(a) && this.map.removeLayer(a), (c = this.map) != null && c.getLayer(r) && this.map.removeLayer(r), (f = this.map) != null && f.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (d = this.map) != null && d.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (b = this.closeMarkers[t.id]) == null || b.remove(), this.closeMarkers[t.id] = void 0, (x = this.pointMarkers[t.id]) == null || x.forEach((y) => {
14583
+ (l = this.map) != null && l.getLayer(i) && this.map.removeLayer(i), (m = this.map) != null && m.getLayer(a) && this.map.removeLayer(a), (c = this.map) != null && c.getLayer(r) && this.map.removeLayer(r), (f = this.map) != null && f.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (d = this.map) != null && d.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (b = this.closeMarkers[t.id]) == null || b.remove(), this.closeMarkers[t.id] = void 0, (v = this.pointMarkers[t.id]) == null || v.forEach((y) => {
13789
14584
  y == null || y.remove();
13790
- }), this.pointMarkers[t.id] = [], (z = this.tipMarker) == null || z.remove(), this.tipMarker = void 0, e && ((v = this.map) != null && v.getSource(o)) && this.map.removeSource(o), e && ((P = this.map) != null && P.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
14585
+ }), this.pointMarkers[t.id] = [], (L = this.tipMarker) == null || L.remove(), this.tipMarker = void 0, e && ((k = this.map) != null && k.getSource(o)) && this.map.removeSource(o), e && ((P = this.map) != null && P.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
13791
14586
  }
13792
14587
  }
13793
14588
  }, _h = { class: "idm-gl4-measure" };
13794
14589
  function kh(t, e, o, i, a, r) {
13795
- const l = w("VBtn"), m = w("VTooltip");
14590
+ const l = x("VBtn"), m = x("VTooltip");
13796
14591
  return g(), S("div", _h, [
13797
14592
  s("div", {
13798
14593
  class: "menu-bar-box transition pa-1",
@@ -13953,7 +14748,7 @@ const Lh = {
13953
14748
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
13954
14749
  }, Ih = ["onClick"], Rh = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Ah = { class: "text-body-1" };
13955
14750
  function Oh(t, e, o, i, a, r) {
13956
- const l = w("DateTimePicker"), m = w("VListItemTitle"), c = w("VListItem"), f = w("VList"), d = w("VMenu"), b = w("VBtn"), x = w("VDivider"), z = w("VTooltip");
14751
+ const l = x("DateTimePicker"), m = x("VListItemTitle"), c = x("VListItem"), f = x("VList"), d = x("VMenu"), b = x("VBtn"), v = x("VDivider"), L = x("VTooltip");
13957
14752
  return g(), S("div", Ph, [
13958
14753
  s("div", {
13959
14754
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
@@ -13967,10 +14762,10 @@ function Oh(t, e, o, i, a, r) {
13967
14762
  "day-about": a.dayAbout,
13968
14763
  "interval-hour": a.intervalHour
13969
14764
  }, t.$attrs, {
13970
- onCurrentTimestamp: e[0] || (e[0] = (v) => a.currentTimestamp = v),
13971
- onCurrentRealTime: e[1] || (e[1] = (v) => a.currentRealTime = v),
13972
- onMinTimestamp: e[2] || (e[2] = (v) => a.minTimestamp = v),
13973
- onMaxTimestamp: e[3] || (e[3] = (v) => a.maxTimestamp = v)
14765
+ onCurrentTimestamp: e[0] || (e[0] = (k) => a.currentTimestamp = k),
14766
+ onCurrentRealTime: e[1] || (e[1] = (k) => a.currentRealTime = k),
14767
+ onMinTimestamp: e[2] || (e[2] = (k) => a.minTimestamp = k),
14768
+ onMaxTimestamp: e[3] || (e[3] = (k) => a.maxTimestamp = k)
13974
14769
  }), null, 16, ["date-time", "time-zone", "day-about", "interval-hour"]),
13975
14770
  p(b, {
13976
14771
  text: "",
@@ -13984,13 +14779,13 @@ function Oh(t, e, o, i, a, r) {
13984
14779
  default: u(() => [
13985
14780
  p(f, { class: "pa-1" }, {
13986
14781
  default: u(() => [
13987
- (g(!0), S(xe, null, ke(a.intervalOptions, (v, P) => (g(), A(c, {
14782
+ (g(!0), S(xe, null, ke(a.intervalOptions, (k, P) => (g(), A(c, {
13988
14783
  key: P,
13989
- value: v,
13990
- variant: a.intervalHour === v ? "tonal" : "text",
14784
+ value: k,
14785
+ variant: a.intervalHour === k ? "tonal" : "text",
13991
14786
  color: "primary",
13992
14787
  rounded: "",
13993
- active: a.intervalHour === v,
14788
+ active: a.intervalHour === k,
13994
14789
  height: "30",
13995
14790
  "min-height": "30",
13996
14791
  "min-width": "30",
@@ -13998,10 +14793,10 @@ function Oh(t, e, o, i, a, r) {
13998
14793
  }, {
13999
14794
  default: u(() => [
14000
14795
  p(m, {
14001
- onClick: (y) => a.intervalHour = v
14796
+ onClick: (y) => a.intervalHour = k
14002
14797
  }, {
14003
14798
  default: u(() => [
14004
- K(n(v) + "h", 1)
14799
+ K(n(k) + "h", 1)
14005
14800
  ]),
14006
14801
  _: 2
14007
14802
  }, 1032, ["onClick"])
@@ -14018,7 +14813,7 @@ function Oh(t, e, o, i, a, r) {
14018
14813
  _: 1
14019
14814
  })
14020
14815
  ]),
14021
- p(x, {
14816
+ p(v, {
14022
14817
  vertical: "",
14023
14818
  class: "mx-2 my-3",
14024
14819
  style: { height: "16px" }
@@ -14091,20 +14886,20 @@ function Oh(t, e, o, i, a, r) {
14091
14886
  __: [14]
14092
14887
  }, 8, ["onClick"])
14093
14888
  ]),
14094
- p(x, {
14889
+ p(v, {
14095
14890
  vertical: "",
14096
14891
  class: "mx-2 my-3",
14097
14892
  style: { height: "16px" }
14098
14893
  }),
14099
14894
  s("div", Sh, [
14100
- p(z, {
14895
+ p(L, {
14101
14896
  text: t.$t("weather.windBarbs"),
14102
14897
  location: "top"
14103
14898
  }, {
14104
- activator: u(({ props: v }) => {
14899
+ activator: u(({ props: k }) => {
14105
14900
  var P, y;
14106
14901
  return [
14107
- p(b, j(v, {
14902
+ p(b, j(k, {
14108
14903
  class: "pa-1 d-flex",
14109
14904
  color: (P = o.weatherCheckList) != null && P.includes("wind") ? "primary" : "",
14110
14905
  variant: (y = o.weatherCheckList) != null && y.includes("wind") ? "elevated" : "text",
@@ -14123,14 +14918,14 @@ function Oh(t, e, o, i, a, r) {
14123
14918
  }),
14124
14919
  _: 1
14125
14920
  }, 8, ["text"]),
14126
- p(z, {
14921
+ p(L, {
14127
14922
  text: t.$t("weather.sigWaveHeight"),
14128
14923
  location: "top"
14129
14924
  }, {
14130
- activator: u(({ props: v }) => {
14925
+ activator: u(({ props: k }) => {
14131
14926
  var P, y;
14132
14927
  return [
14133
- p(b, j(v, {
14928
+ p(b, j(k, {
14134
14929
  class: "pa-1 d-flex",
14135
14930
  color: (P = o.weatherCheckList) != null && P.includes("sig-wave-height") ? "primary" : "",
14136
14931
  variant: (y = o.weatherCheckList) != null && y.includes("sig-wave-height") ? "elevated" : "text",
@@ -14140,7 +14935,7 @@ function Oh(t, e, o, i, a, r) {
14140
14935
  onClick: e[5] || (e[5] = (B) => r.handleClickFastWeather("sig-wave-height"))
14141
14936
  }), {
14142
14937
  default: u(() => [
14143
- s("i", j(v, { class: "iconfont icon-a-WaveHeight" }), null, 16)
14938
+ s("i", j(k, { class: "iconfont icon-a-WaveHeight" }), null, 16)
14144
14939
  ]),
14145
14940
  _: 2
14146
14941
  }, 1040, ["color", "variant"])
@@ -14148,14 +14943,14 @@ function Oh(t, e, o, i, a, r) {
14148
14943
  }),
14149
14944
  _: 1
14150
14945
  }, 8, ["text"]),
14151
- p(z, {
14946
+ p(L, {
14152
14947
  text: t.$t("weather.currentDirection"),
14153
14948
  location: "top"
14154
14949
  }, {
14155
- activator: u(({ props: v }) => {
14950
+ activator: u(({ props: k }) => {
14156
14951
  var P, y;
14157
14952
  return [
14158
- p(b, j(v, {
14953
+ p(b, j(k, {
14159
14954
  class: "pa-1 d-flex",
14160
14955
  color: (P = o.weatherCheckList) != null && P.includes("current-direction") ? "primary" : "",
14161
14956
  variant: (y = o.weatherCheckList) != null && y.includes("current-direction") ? "elevated" : "text",
@@ -14165,7 +14960,7 @@ function Oh(t, e, o, i, a, r) {
14165
14960
  onClick: e[6] || (e[6] = (B) => r.handleClickFastWeather("current-direction"))
14166
14961
  }), {
14167
14962
  default: u(() => [
14168
- s("i", j(v, { class: "iconfont icon-Current" }), null, 16)
14963
+ s("i", j(k, { class: "iconfont icon-Current" }), null, 16)
14169
14964
  ]),
14170
14965
  _: 2
14171
14966
  }, 1040, ["color", "variant"])
@@ -14173,12 +14968,12 @@ function Oh(t, e, o, i, a, r) {
14173
14968
  }),
14174
14969
  _: 1
14175
14970
  }, 8, ["text"]),
14176
- p(z, {
14971
+ p(L, {
14177
14972
  text: t.$t("weather.weatherLayers"),
14178
14973
  location: "top"
14179
14974
  }, {
14180
- activator: u(({ props: v }) => [
14181
- p(b, j(v, {
14975
+ activator: u(({ props: k }) => [
14976
+ p(b, j(k, {
14182
14977
  class: "pa-1 d-flex",
14183
14978
  variant: "text",
14184
14979
  height: "24",
@@ -14187,7 +14982,7 @@ function Oh(t, e, o, i, a, r) {
14187
14982
  onClick: r.handleClickFastMore
14188
14983
  }), {
14189
14984
  default: u(() => [
14190
- s("i", j(v, { class: "iconfont icon-dots-align" }), null, 16)
14985
+ s("i", j(k, { class: "iconfont icon-dots-align" }), null, 16)
14191
14986
  ]),
14192
14987
  _: 2
14193
14988
  }, 1040, ["onClick"])
@@ -14195,7 +14990,7 @@ function Oh(t, e, o, i, a, r) {
14195
14990
  _: 1
14196
14991
  }, 8, ["text"])
14197
14992
  ]),
14198
- p(x, {
14993
+ p(v, {
14199
14994
  vertical: "",
14200
14995
  class: "mx-2 mr-3 my-3",
14201
14996
  style: { height: "16px" }
@@ -14206,7 +15001,7 @@ function Oh(t, e, o, i, a, r) {
14206
15001
  height: "30",
14207
15002
  class: "px-2 elevation-0 text-body-1 btn-border-2 btn-bg-2",
14208
15003
  color: a.source === "GFS" ? "primary" : "",
14209
- onClick: e[7] || (e[7] = (v) => a.source = "GFS")
15004
+ onClick: e[7] || (e[7] = (k) => a.source = "GFS")
14210
15005
  }, {
14211
15006
  default: u(() => e[16] || (e[16] = [
14212
15007
  K("NOAA", -1)
@@ -14219,7 +15014,7 @@ function Oh(t, e, o, i, a, r) {
14219
15014
  height: "30",
14220
15015
  class: "px-2 elevation-0 text-body-1 btn-border-2 btn-bg-2",
14221
15016
  color: a.source === "ECMWF" ? "primary" : "",
14222
- onClick: e[8] || (e[8] = (v) => a.source = "ECMWF")
15017
+ onClick: e[8] || (e[8] = (k) => a.source = "ECMWF")
14223
15018
  }, {
14224
15019
  default: u(() => e[17] || (e[17] = [
14225
15020
  K("ECMWF", -1)
@@ -14234,11 +15029,11 @@ function Oh(t, e, o, i, a, r) {
14234
15029
  style: ee({ right: a.right + "px" })
14235
15030
  }, [
14236
15031
  a.showTimezone ? (g(), S("div", Dh, [
14237
- (g(!0), S(xe, null, ke(a.offsets, (v) => (g(), S("div", {
14238
- key: v,
15032
+ (g(!0), S(xe, null, ke(a.offsets, (k) => (g(), S("div", {
15033
+ key: k,
14239
15034
  class: "item rounded text-body-2 hover-active",
14240
- onClick: (P) => a.timeZone = v
14241
- }, n(v < 0 ? v : "+" + v), 9, Ih))), 128))
15035
+ onClick: (P) => a.timeZone = k
15036
+ }, n(k < 0 ? k : "+" + k), 9, Ih))), 128))
14242
15037
  ])) : I("", !0),
14243
15038
  s("div", Rh, [
14244
15039
  p(b, {
@@ -14247,7 +15042,7 @@ function Oh(t, e, o, i, a, r) {
14247
15042
  height: "28",
14248
15043
  class: "pa-1 text-body-1",
14249
15044
  color: "primary",
14250
- onClick: e[9] || (e[9] = (v) => a.showTimezone = !a.showTimezone)
15045
+ onClick: e[9] || (e[9] = (k) => a.showTimezone = !a.showTimezone)
14251
15046
  }, {
14252
15047
  default: u(() => [
14253
15048
  K(" UTC " + n(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
@@ -14365,7 +15160,7 @@ const jh = {
14365
15160
  }
14366
15161
  }, Eh = { class: "timeline-box px-2 d-flex justify-center align-center rounded ga-1" };
14367
15162
  function Nh(t, e, o, i, a, r) {
14368
- const l = w("VBtn"), m = w("DateTimePicker");
15163
+ const l = x("VBtn"), m = x("DateTimePicker");
14369
15164
  return g(), S("div", {
14370
15165
  class: "idm-time-player-gl4 d-flex justify-center align-center",
14371
15166
  style: ee({ bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
@@ -14532,7 +15327,7 @@ const Ja = /* @__PURE__ */ Z(jh, [["render", Nh]]), Fh = {
14532
15327
  class: "map-gl4-home"
14533
15328
  };
14534
15329
  function Gh(t, e, o, i, a, r) {
14535
- const l = w("IdmOtherLayer"), m = w("IdmWeatherLayer"), c = w("IdmTropicals"), f = w("IdmMeasure"), d = w("IdmSpot"), b = w("IdmBottomBar"), x = w("IdmTimePlayer");
15330
+ const l = x("IdmOtherLayer"), m = x("IdmWeatherLayer"), c = x("IdmTropicals"), f = x("IdmMeasure"), d = x("IdmSpot"), b = x("IdmBottomBar"), v = x("IdmTimePlayer");
14536
15331
  return g(), S("div", Hh, [
14537
15332
  p(l, j({
14538
15333
  ref: "idmOtherLayers",
@@ -14546,8 +15341,8 @@ function Gh(t, e, o, i, a, r) {
14546
15341
  "forecast-model": o.forecastModel,
14547
15342
  "map-feather": o.mapFeather
14548
15343
  }, t.$attrs, {
14549
- onOtherCheckList: e[0] || (e[0] = (z) => {
14550
- a.otherCheckList = z, a.layerVersion = a.layerVersion + 1;
15344
+ onOtherCheckList: e[0] || (e[0] = (L) => {
15345
+ a.otherCheckList = L, a.layerVersion = a.layerVersion + 1;
14551
15346
  })
14552
15347
  }), null, 16, ["simple", "token", "default-meteo-token", "map", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
14553
15348
  p(m, j({
@@ -14562,11 +15357,11 @@ function Gh(t, e, o, i, a, r) {
14562
15357
  "forecast-model": o.forecastModel,
14563
15358
  "map-feather": o.mapFeather
14564
15359
  }, t.$attrs, {
14565
- onAutoActive: e[1] || (e[1] = (z) => {
14566
- a.autoActive = z, a.layerVersion = a.layerVersion + 1;
15360
+ onAutoActive: e[1] || (e[1] = (L) => {
15361
+ a.autoActive = L, a.layerVersion = a.layerVersion + 1;
14567
15362
  }),
14568
- onWeatherCheckList: e[2] || (e[2] = (z) => {
14569
- a.weatherCheckList = z, a.layerVersion = a.layerVersion + 1;
15363
+ onWeatherCheckList: e[2] || (e[2] = (L) => {
15364
+ a.weatherCheckList = L, a.layerVersion = a.layerVersion + 1;
14570
15365
  })
14571
15366
  }), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
14572
15367
  p(c, j({
@@ -14603,7 +15398,7 @@ function Gh(t, e, o, i, a, r) {
14603
15398
  "weather-check-list": a.weatherCheckList,
14604
15399
  "map-feather": o.mapFeather
14605
15400
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])),
14606
- o.simple ? (g(), A(x, j({
15401
+ o.simple ? (g(), A(v, j({
14607
15402
  key: 1,
14608
15403
  ref: "idmBottomBar",
14609
15404
  "weather-check-list": a.weatherCheckList,
@@ -14620,7 +15415,7 @@ class Uh {
14620
15415
  de(this, "hi");
14621
15416
  de(this, "td");
14622
15417
  de(this, "windy");
14623
- var o, i, a, r, l, m, c, f, d, b, x, z, v, P, y, B, D, T, _, L, C, k, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, ge, Re, W, fe, ae, re, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, Je, Qe, $e, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, St, Mt, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Ao, Oo, Bo, jo, Eo, No, Fo, Ho, Go, Wo, Uo, Vo, Yo, Zo, Xo, qo, Ko, Jo, Qo, $o, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ta, Ca, Sa, Ma, Da, Ia, Ra, Aa, Oa, Ba, ja, Ea, Na, Fa, Ha, Ga, Wa, Ua;
15418
+ var o, i, a, r, l, m, c, f, d, b, v, L, k, P, y, B, D, T, z, w, C, _, R, F, V, X, Y, Q, $, J, se, le, pe, ie, ce, ue, me, he, O, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, ge, Re, W, fe, ae, re, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, Je, Qe, $e, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, St, Mt, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Ao, Oo, Bo, jo, Eo, No, Fo, Ho, Go, Wo, Uo, Vo, Yo, Zo, Xo, qo, Ko, Jo, Qo, $o, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ta, Ca, Sa, Ma, Da, Ia, Ra, Aa, Oa, Ba, ja, Ea, Na, Fa, Ha, Ga, Wa, Ua;
14624
15419
  this.i4 = {
14625
15420
  source: {
14626
15421
  type: "raster",
@@ -33266,12 +34061,12 @@ class Uh {
33266
34061
  (m = (l = this.originStyle) == null ? void 0 : l.light.layers) == null ? void 0 : m.find((h) => h.id === "ice-area-fill"),
33267
34062
  (f = (c = this.originStyle) == null ? void 0 : c.light.layers) == null ? void 0 : f.find((h) => h.id === "ice-area-line"),
33268
34063
  (b = (d = this.originStyle) == null ? void 0 : d.light.layers) == null ? void 0 : b.find((h) => h.id === "loadlines-label"),
33269
- (z = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : z.find((h) => h.id === "loadlines-fill"),
33270
- (P = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : P.find((h) => h.id === "empty-layer-0"),
34064
+ (L = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : L.find((h) => h.id === "loadlines-fill"),
34065
+ (P = (k = this.originStyle) == null ? void 0 : k.light.layers) == null ? void 0 : P.find((h) => h.id === "empty-layer-0"),
33271
34066
  (B = (y = this.originStyle) == null ? void 0 : y.light.layers) == null ? void 0 : B.find((h) => h.id === "empty-layer-1"),
33272
34067
  (T = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : T.find((h) => h.id === "country-boundaries"),
33273
- (L = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : L.find((h) => h.id === "water-outline"),
33274
- (k = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : k.find((h) => h.id === "water-outline2"),
34068
+ (w = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : w.find((h) => h.id === "water-outline"),
34069
+ (_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((h) => h.id === "water-outline2"),
33275
34070
  (F = (R = this.originStyle) == null ? void 0 : R.light.layers) == null ? void 0 : F.find((h) => h.id === "empty-layer-2"),
33276
34071
  (X = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : X.find((h) => h.id === "water-line-label"),
33277
34072
  (Q = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : Q.find((h) => h.id === "water-point-label"),
@@ -33596,7 +34391,7 @@ const Vh = {
33596
34391
  class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70"
33597
34392
  };
33598
34393
  function Kh(t, e, o, i, a, r) {
33599
- const l = w("VBtn");
34394
+ const l = x("VBtn");
33600
34395
  return g(), S("div", {
33601
34396
  class: "mapbox-initial-gl4",
33602
34397
  style: ee({ height: o.height, width: o.width })