@idmwx/idmui-gl4 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ var re = (o, e, t) => (Eo(o, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import Be from "axios";
5
5
  import { openBlock as y, createElementBlock as T, withDirectives as eo, createElementVNode as l, vShow as to, toDisplayString as w, normalizeStyle as ae, resolveComponent as k, createVNode as h, withCtx as g, mergeProps as j, normalizeClass as Ne, createTextVNode as Z, Fragment as _e, renderList as Le, createBlock as U, createCommentVNode as F, withModifiers as Fo } from "vue";
6
6
  import ke from "mapbox-gl";
7
- import { LngLatHelper as oe, TropicalHelper as Ao, LaneHelper as Fe } from "@idm-plugin/geo";
7
+ import { LngLatHelper as oe, TropicalHelper as Ro, LaneHelper as Fe } from "@idm-plugin/geo";
8
8
  import * as E from "@turf/turf";
9
9
  import { LayerHelper as Jt, CompanyHelper as No } from "@idm-plugin/tag-nop";
10
10
  import O from "moment";
@@ -1106,7 +1106,7 @@ const La = /* @__PURE__ */ q(ka, [["render", za]]), Pa = {
1106
1106
  function Ca(o, e, t, i, a, r) {
1107
1107
  return y(), T("div");
1108
1108
  }
1109
- const Sa = /* @__PURE__ */ q(Pa, [["render", Ca]]), Ma = {
1109
+ const Ma = /* @__PURE__ */ q(Pa, [["render", Ca]]), Sa = {
1110
1110
  name: "IdmWorld12nm",
1111
1111
  props: {
1112
1112
  map: {
@@ -1165,7 +1165,7 @@ const Sa = /* @__PURE__ */ q(Pa, [["render", Ca]]), Ma = {
1165
1165
  function Ta(o, e, t, i, a, r) {
1166
1166
  return null;
1167
1167
  }
1168
- const Ra = /* @__PURE__ */ q(Ma, [["render", Ta]]);
1168
+ const Aa = /* @__PURE__ */ q(Sa, [["render", Ta]]);
1169
1169
  const Ia = {
1170
1170
  name: "IdmWorldMarine",
1171
1171
  props: {
@@ -1203,10 +1203,10 @@ const Ia = {
1203
1203
  }
1204
1204
  }
1205
1205
  };
1206
- function Aa(o, e, t, i, a, r) {
1206
+ function Ra(o, e, t, i, a, r) {
1207
1207
  return null;
1208
1208
  }
1209
- const Da = /* @__PURE__ */ q(Ia, [["render", Aa]]), Oa = {
1209
+ const Da = /* @__PURE__ */ q(Ia, [["render", Ra]]), Oa = {
1210
1210
  name: "IdmChinaRoute",
1211
1211
  props: {
1212
1212
  map: {
@@ -1442,8 +1442,8 @@ const Na = {
1442
1442
  IdmTimezone: wa,
1443
1443
  IdmVRA: _a,
1444
1444
  IdmSpecialArea: La,
1445
- IdmTerminator: Sa,
1446
- IdmWorld12nm: Ra,
1445
+ IdmTerminator: Ma,
1446
+ IdmWorld12nm: Aa,
1447
1447
  IdmWorldMarine: Da,
1448
1448
  IdmChinaRoute: ja,
1449
1449
  IdmLatLng: Oo
@@ -1601,8 +1601,8 @@ const Na = {
1601
1601
  })
1602
1602
  );
1603
1603
  (await Promise.all(p)).map((m) => {
1604
- var b, S, L;
1605
- const f = ((b = m == null ? void 0 : m.data) == null ? void 0 : b.data) || (m == null ? void 0 : m.data), v = (L = (S = m == null ? void 0 : m.config) == null ? void 0 : S.headers) == null ? void 0 : L.key;
1604
+ var b, M, L;
1605
+ const f = ((b = m == null ? void 0 : m.data) == null ? void 0 : b.data) || (m == null ? void 0 : m.data), v = (L = (M = m == null ? void 0 : m.config) == null ? void 0 : M.headers) == null ? void 0 : L.key;
1606
1606
  this.otherLayers[v] = f;
1607
1607
  });
1608
1608
  }
@@ -1624,8 +1624,8 @@ const Na = {
1624
1624
  })
1625
1625
  );
1626
1626
  (await Promise.all(p)).map((m) => {
1627
- var b, S, L;
1628
- const f = ((b = m == null ? void 0 : m.data) == null ? void 0 : b.data) || (m == null ? void 0 : m.data), v = (L = (S = m == null ? void 0 : m.config) == null ? void 0 : S.headers) == null ? void 0 : L.key;
1627
+ var b, M, L;
1628
+ const f = ((b = m == null ? void 0 : m.data) == null ? void 0 : b.data) || (m == null ? void 0 : m.data), v = (L = (M = m == null ? void 0 : m.config) == null ? void 0 : M.headers) == null ? void 0 : L.key;
1629
1629
  this.otherLayers[v] = f;
1630
1630
  });
1631
1631
  }
@@ -1658,7 +1658,7 @@ const Na = {
1658
1658
  }, Qa = { class: "text-body-2 text-center pt-1" };
1659
1659
  function Ja(o, e, t, i, a, r) {
1660
1660
  var V, Y, $, ee, Q, ne, he, de, ce, K;
1661
- const s = k("VBtn"), c = k("VTooltip"), n = k("VCardTitle"), p = k("VCardItem"), d = k("VCheckbox"), m = k("VCardText"), f = k("VCard"), v = k("IdmWorld12nm"), b = k("IdmWorldMarine"), S = k("IdmChinaRoute"), L = k("IdmWarZone"), B = k("IdmGmdssArea"), M = k("IdmEcaZone"), P = k("IdmAlertZone"), _ = k("IdmPort"), z = k("IdmLoadLine"), C = k("IdmTimezone"), x = k("IdmVRA"), R = k("IdmSpecialArea"), W = k("IdmTerminator"), X = k("IdmLatLng");
1661
+ const s = k("VBtn"), c = k("VTooltip"), n = k("VCardTitle"), p = k("VCardItem"), d = k("VCheckbox"), m = k("VCardText"), f = k("VCard"), v = k("IdmWorld12nm"), b = k("IdmWorldMarine"), M = k("IdmChinaRoute"), L = k("IdmWarZone"), B = k("IdmGmdssArea"), S = k("IdmEcaZone"), P = k("IdmAlertZone"), _ = k("IdmPort"), z = k("IdmLoadLine"), C = k("IdmTimezone"), x = k("IdmVRA"), A = k("IdmSpecialArea"), W = k("IdmTerminator"), X = k("IdmLatLng");
1662
1662
  return y(), T("div", Ha, [
1663
1663
  l("div", {
1664
1664
  class: "menu-bar-box transition px-1 rounded",
@@ -1904,7 +1904,7 @@ function Ja(o, e, t, i, a, r) {
1904
1904
  token: t.token,
1905
1905
  show: a.checkList.includes("worldMarine")
1906
1906
  }, o.$attrs), null, 16, ["map", "token", "show"])) : F("", !0),
1907
- t.map ? (y(), U(S, j({
1907
+ t.map ? (y(), U(M, j({
1908
1908
  key: 2,
1909
1909
  map: t.map,
1910
1910
  token: t.token,
@@ -1920,7 +1920,7 @@ function Ja(o, e, t, i, a, r) {
1920
1920
  map: t.map,
1921
1921
  area: (Y = a.otherLayers) == null ? void 0 : Y["gmdss-areas"]
1922
1922
  }, o.$attrs), null, 16, ["map", "area"])) : F("", !0),
1923
- t.map ? (y(), U(M, j({
1923
+ t.map ? (y(), U(S, j({
1924
1924
  key: 5,
1925
1925
  map: t.map,
1926
1926
  zone: ($ = a.otherLayers) == null ? void 0 : $["eca-zones"]
@@ -1951,7 +1951,7 @@ function Ja(o, e, t, i, a, r) {
1951
1951
  map: t.map,
1952
1952
  area: (de = a.otherLayers) == null ? void 0 : de["voluntary-reporting-area"]
1953
1953
  }, o.$attrs), null, 16, ["map", "area"])) : F("", !0),
1954
- t.map ? (y(), U(R, j({
1954
+ t.map ? (y(), U(A, j({
1955
1955
  key: 11,
1956
1956
  map: t.map,
1957
1957
  area: (ce = a.otherLayers) == null ? void 0 : ce["special-area"]
@@ -2016,11 +2016,11 @@ class ao {
2016
2016
  * @param [lb.x, lb.y, rt.x, rt.y]
2017
2017
  */
2018
2018
  getBoundPixel() {
2019
- var b, S;
2019
+ var b, M;
2020
2020
  const e = (b = this.map) == null ? void 0 : b.getBounds();
2021
2021
  if (!e)
2022
2022
  return [];
2023
- const t = ((S = this.map) == null ? void 0 : S.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, s] = this.convertNLng(i[0]), [c, n] = this.convertNLng(a[0]), [p, d] = this.mercator.px([r, i[1]], t), [m, f] = this.mercator.px([c, a[1]], t), v = Math.round(this.mercator.size * Math.pow(2, t) * (s + n));
2023
+ const t = ((M = this.map) == null ? void 0 : M.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, s] = this.convertNLng(i[0]), [c, n] = this.convertNLng(a[0]), [p, d] = this.mercator.px([r, i[1]], t), [m, f] = this.mercator.px([c, a[1]], t), v = Math.round(this.mercator.size * Math.pow(2, t) * (s + n));
2024
2024
  return [m, f, p + v, d];
2025
2025
  }
2026
2026
  /**
@@ -2206,7 +2206,7 @@ class Ee {
2206
2206
  d.resolution && t.uniform2f(d.resolution, t.canvas.width * e.ratio, t.canvas.height * e.ratio), t.activeTexture(t.TEXTURE0), t.bindTexture(t.TEXTURE_2D, a), d.image && t.uniform1i(d.image, 0), t.activeTexture(t.TEXTURE1), t.bindTexture(t.TEXTURE_2D, r), d.color && t.uniform1i(d.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (d.uvRange && t.uniform2f(d.uvRange, c.uvRange[0], c.uvRange[1]), d.sRange && t.uniform2f(d.sRange, c.sRange[0], c.sRange[1])), d.scale && t.uniform1f(d.scale, (c == null ? void 0 : c.scale) || 1);
2207
2207
  const m = e.getBoundPixel(), f = e.map.getZoom() + 1, v = e.getWorldCopy(m, f);
2208
2208
  for (const b of v) {
2209
- const S = (b[0] - m[0]) * e.ratio, L = (b[1] - m[3]) * e.ratio, B = b[2] * e.ratio, [M, P, _, z] = [S, B + S, L, B + L], C = new Float32Array([M, _, P, _, M, z, M, z, P, _, P, z]);
2209
+ const M = (b[0] - m[0]) * e.ratio, L = (b[1] - m[3]) * e.ratio, B = b[2] * e.ratio, [S, P, _, z] = [M, B + M, L, B + L], C = new Float32Array([S, _, P, _, S, z, S, z, P, _, P, z]);
2210
2210
  t.bindBuffer(t.ARRAY_BUFFER, s), t.bufferData(t.ARRAY_BUFFER, C, t.STATIC_DRAW), t.drawArrays(t.TRIANGLES, 0, 6);
2211
2211
  }
2212
2212
  } catch (d) {
@@ -2454,6 +2454,30 @@ re(ye, "vertexSchema", `
2454
2454
  floor(pos * 255.0) / 255.0);
2455
2455
  }`);
2456
2456
  const ei = {
2457
+ "000kts": '<svg t="1756203850656" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4213" width="200" height="200"><path d="M729.6 512a217.6 217.6 0 1 0-217.6 217.6v59.733333a277.333333 277.333333 0 1 1 0-554.666666 277.333333 277.333333 0 0 1 0 554.666666v-59.733333a217.6 217.6 0 0 0 217.6-217.6z" fill="#000000" p-id="4214"></path><path d="M558.933333 512a46.933333 46.933333 0 1 0-46.933333 46.933333v59.733334a106.666667 106.666667 0 1 1 0-213.333334 106.666667 106.666667 0 0 1 0 213.333334v-59.733334a46.933333 46.933333 0 0 0 46.933333-46.933333z" fill="#000000" p-id="4215"></path></svg>',
2458
+ "002kts": '<svg t="1756203870666" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4371" width="200" height="200"><path d="M511.975255 4.26646a29.865223 29.865223 0 0 1 29.865223 29.865224v897.791273l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684a29.865223 29.865223 0 0 1 29.865224-29.865224z" fill="#000000" p-id="4372"></path></svg>',
2459
+ "005kts": '<svg t="1756203883896" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4528" width="200" height="200"><path d="M511.825979 4.265216a29.856515 29.856515 0 0 1 29.856516 29.856516v102.706413l145.443882-97.673458a29.856515 29.856515 0 0 1 33.268689 49.604468l-174.873877 117.378758c-1.194261 0.853043-2.55913 1.364869-3.838694 2.004652v723.508674l58.1349-46.49086a29.899168 29.899168 0 0 1 37.277993 46.70412l-106.630413 85.30433a29.856515 29.856515 0 0 1-37.277992 0l-106.630412-85.30433a29.856515 29.856515 0 0 1 37.277992-46.661468l58.134901 46.448208V34.121732a29.856515 29.856515 0 0 1 29.856515-29.856516z" fill="#000000" p-id="4529"></path></svg>',
2460
+ "010kts": '<svg t="1756203893742" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4685" width="200" height="200"><path d="M687.93386 4.887188a29.854538 29.854538 0 1 1 31.560512 50.667416L541.646623 166.186993v765.768907l58.131051-46.445132a29.854538 29.854538 0 0 1 37.275523 46.658378l-106.623351 85.298681a29.854538 29.854538 0 0 1-37.275523 0l-106.623351-85.298681a29.854538 29.854538 0 0 1 37.275523-46.658378l58.131051 46.487781V153.903983c0-0.767688 0.127948-1.535376 0.213247-2.345714a29.72659 29.72659 0 0 1 13.861036-27.295577l191.922031-119.375504z" fill="#000000" p-id="4686"></path></svg>',
2461
+ "015kts": '<svg t="1756203906240" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4842" width="200" height="200"><path d="M687.93386 4.887188a29.854538 29.854538 0 1 1 31.560512 50.667416L541.646623 166.186993v76.683514l73.783359-46.018638a29.854538 29.854538 0 1 1 31.560511 50.582118L541.646623 313.327217v618.628683l58.131051-46.445132a29.854538 29.854538 0 0 1 37.275523 46.658378l-106.623351 85.298681a29.854538 29.854538 0 0 1-37.275523 0l-106.623351-85.298681a29.854538 29.854538 0 0 1 37.275523-46.658378l58.131051 46.487781V153.903983c0-0.767688 0.127948-1.535376 0.213247-2.345714a29.72659 29.72659 0 0 1 13.861036-27.295577l191.922031-119.375504z" fill="#000000" p-id="4843"></path></svg>',
2462
+ "020kts": '<svg t="1756203915478" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4999" width="200" height="200"><path d="M687.93386 4.887188a29.854538 29.854538 0 1 1 31.560512 50.667416L541.646623 166.186993V240.908638l146.287237-91.013693a29.854538 29.854538 0 1 1 31.560512 50.667417L541.646623 311.2374v620.7185l58.131051-46.445132a29.854538 29.854538 0 0 1 37.275523 46.658378l-106.623351 85.298681a29.854538 29.854538 0 0 1-37.275523 0l-106.623351-85.298681a29.854538 29.854538 0 0 1 37.275523-46.658378l58.131051 46.487781V153.903983c0-0.767688 0.127948-1.535376 0.213247-2.345714a29.72659 29.72659 0 0 1 13.861036-27.295577l191.922031-119.375504z" fill="#000000" p-id="5000"></path></svg>',
2463
+ "025kts": '<svg t="1756203931490" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5156" width="200" height="200"><path d="M687.910653 4.887023a29.853531 29.853531 0 1 1 31.559447 50.665707L541.62835 166.181387V240.90051l146.282303-91.010622a29.853531 29.853531 0 1 1 31.559447 50.665708L541.62835 311.2269v76.638279l73.738222-46.059733a29.853531 29.853531 0 0 1 31.644743 50.665707l-105.340317 65.84836v473.604947l58.043794-46.443565a29.853531 29.853531 0 0 1 37.359562 46.656804l-106.619754 85.295804a29.853531 29.853531 0 0 1-37.359562 0l-106.619754-85.295804a29.853531 29.853531 0 0 1 37.359562-46.656804l58.086442 46.486213V153.898791c0-0.767662 0.127944-1.535324 0.213239-2.345634a29.725587 29.725587 0 0 1 13.860568-27.294657l191.915558-119.371477z" fill="#000000" p-id="5157"></path></svg>',
2464
+ "030kts": '<svg t="1756203940193" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5313" width="200" height="200"><path d="M687.93386 4.887188a29.854538 29.854538 0 1 1 31.560512 50.667416L541.646623 166.186993V240.908638l146.287237-91.013693a29.854538 29.854538 0 1 1 31.560512 50.667417L541.646623 311.2374v74.636345l146.287237-90.971043a29.854538 29.854538 0 1 1 31.560512 50.667417l-177.847749 110.632389v475.753392l58.131051-46.445132a29.854538 29.854538 0 0 1 37.275523 46.658378l-106.623351 85.298681a29.854538 29.854538 0 0 1-37.275523 0l-106.623351-85.298681a29.854538 29.854538 0 0 1 37.275523-46.658378l58.131051 46.487781V153.903983c0-0.767688 0.127948-1.535376 0.213247-2.345714a29.72659 29.72659 0 0 1 13.861036-27.295577l191.922031-119.375504z" fill="#000000" p-id="5314"></path></svg>',
2465
+ "035kts": '<svg t="1756203952289" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5470" width="200" height="200"><path d="M687.910653 4.887023a29.853531 29.853531 0 1 1 31.559447 50.665707L541.62835 166.181387V240.90051l146.282303-91.010622a29.853531 29.853531 0 1 1 31.559447 50.665708L541.62835 311.2269v74.633828l146.282303-90.967974a29.853531 29.853531 0 1 1 31.559447 50.665707l-177.84175 110.628657v76.680927l73.738222-46.059734a29.853531 29.853531 0 0 1 31.644743 50.623059l-105.340317 65.891008v328.602082l58.043794-46.443565a29.853531 29.853531 0 0 1 37.359562 46.656804l-106.619754 85.295804a29.853531 29.853531 0 0 1-37.359562 0l-106.619754-85.295804a29.853531 29.853531 0 0 1 37.359562-46.656804l58.086442 46.486213V153.898791c0-0.767662 0.127944-1.535324 0.213239-2.345634a29.725587 29.725587 0 0 1 13.860568-27.294657l191.915558-119.371477z" fill="#000000" p-id="5471"></path></svg>',
2466
+ "040kts": '<svg t="1756203961957" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5627" width="200" height="200"><path d="M687.93386 4.887188a29.854538 29.854538 0 1 1 31.560512 50.667416L541.646623 166.186993V240.908638l146.287237-91.013693a29.854538 29.854538 0 1 1 31.560512 50.667417L541.646623 311.2374v74.636345l146.287237-90.971043a29.854538 29.854538 0 1 1 31.560512 50.667417l-177.847749 110.632389v74.721644l146.287237-91.013692a29.854538 29.854538 0 1 1 31.560512 50.667416l-177.847749 110.632389v330.745635l58.131051-46.445132a29.854538 29.854538 0 0 1 37.275523 46.658378l-106.623351 85.298681a29.854538 29.854538 0 0 1-37.275523 0l-106.623351-85.298681a29.854538 29.854538 0 0 1 37.275523-46.658378l58.131051 46.487781V153.903983c0-0.767688 0.127948-1.535376 0.213247-2.345714a29.72659 29.72659 0 0 1 13.861036-27.295577l191.922031-119.375504z" fill="#000000" p-id="5628"></path></svg>',
2467
+ "045kts": '<svg t="1756203969362" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5784" width="200" height="200"><path d="M687.910653 4.887023a29.853531 29.853531 0 1 1 31.559447 50.665707L541.62835 166.181387V240.90051l146.282303-91.010622a29.853531 29.853531 0 1 1 31.559447 50.665708L541.62835 311.2269v74.633828l146.282303-90.967974a29.853531 29.853531 0 1 1 31.559447 50.665707l-177.84175 110.628657v74.719123l146.282303-91.010622a29.853531 29.853531 0 1 1 31.559447 50.665707l-177.84175 110.628657v76.680927l73.738222-46.059734a29.853531 29.853531 0 0 1 31.644743 50.665708l-105.340317 65.84836v183.599216l58.043794-46.443565a29.853531 29.853531 0 0 1 37.359562 46.656804l-106.619754 85.295804a29.853531 29.853531 0 0 1-37.359562 0l-106.619754-85.295804a29.853531 29.853531 0 0 1 37.359562-46.656804l58.086442 46.486213V153.898791c0-0.767662 0.127944-1.535324 0.213239-2.345634a29.725587 29.725587 0 0 1 13.860568-27.294657l191.915558-119.371477z" fill="#000000" p-id="5785"></path></svg>',
2468
+ "050kts": '<svg t="1756203979191" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5941" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732l-170.658418 106.74684c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v766.384291l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#000000" p-id="5942"></path></svg>',
2469
+ "055kts": '<svg t="1756203990154" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6098" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v77.092371l73.764642-46.076237a29.864228 29.864228 0 0 1 31.656082 50.641197L541.822418 313.062433v618.829462l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#000000" p-id="6099"></path></svg>',
2470
+ "060kts": '<svg t="1756203999756" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6255" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732l-170.658418 106.74684c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v75.089704l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555L541.840478 310.939638v620.983319l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#000000" p-id="6256"></path></svg>',
2471
+ "065kts": '<svg t="1756204005834" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6412" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v75.087201l146.334716-91.043231a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 310.929274v76.708402l73.764642-46.076237a29.864228 29.864228 0 0 1 31.656082 50.641198l-105.378061 65.914617v473.774641l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#000000" p-id="6413"></path></svg>',
2472
+ "070kts": '<svg t="1756204018577" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6569" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732l-170.658418 106.74684c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v75.089704l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555L541.840478 310.939638V385.688025l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v475.880999l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#000000" p-id="6570"></path></svg>',
2473
+ "075kts": '<svg t="1756204027005" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6726" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v75.087201l146.334716-91.043231a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 310.929274V385.67517l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.710959v76.665739l73.764642-46.076237a29.864228 29.864228 0 0 1 31.656082 50.68386l-105.378061 65.871954v328.719821l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#000000" p-id="6727"></path></svg>',
2474
+ "080kts": '<svg t="1756204045675" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6883" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732l-170.658418 106.74684c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v75.089704l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555L541.840478 310.939638V385.688025l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v74.663058l146.339593-91.003602a29.865223 29.865223 0 0 1 31.571808 50.685551l-177.911401 110.671984v330.864008l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#000000" p-id="6884"></path></svg>',
2475
+ "085kts": '<svg t="1756204058904" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7040" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v58.021928l146.334716-91.043231a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 293.906664V351.544624l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 421.896212v57.637959l146.334716-91.043231a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.710958v55.376811l73.764642-46.076237a29.864228 29.864228 0 0 1 31.656082 50.641198l-105.378061 65.871954v256.19241l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#000000" p-id="7041"></path></svg>',
2476
+ "090kts": '<svg t="1756204072839" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7197" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732l-170.658418 106.74684c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v58.023862l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555L541.840478 293.916461V351.556341l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.685551L541.840478 421.910274v57.639881l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v57.639881l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v254.025055l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#000000" p-id="7198"></path></svg>',
2477
+ "095kts": '<svg t="1756204086889" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7354" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v45.222974l146.334716-91.043232a29.864228 29.864228 0 0 1 31.570755 50.683861L541.822418 281.150373V330.213033l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 400.564621v49.105323l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.710959v49.062659l146.334716-91.000568a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.668295v42.577857l73.764642-46.076238a29.864228 29.864228 0 0 1 31.656082 50.683861l-105.378061 65.871954v179.398682l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#000000" p-id="7355"></path></svg>',
2478
+ "100kts": '<svg t="1756204093086" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7511" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.573089 106.746841c-0.981286 0.597304-2.047901 0.981286-3.071851 1.450597v617.058175l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#000000" p-id="7512"></path></svg>',
2479
+ "105kts": '<svg t="1756204103259" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7668" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.658418 106.746841c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v79.356164l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v467.348078l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#000000" p-id="7669"></path></svg>'
2480
+ }, ti = {
2457
2481
  name: "IdmWindBarb",
2458
2482
  props: {
2459
2483
  map: {
@@ -2488,7 +2512,8 @@ const ei = {
2488
2512
  empty: E.featureCollection([]),
2489
2513
  right: 10,
2490
2514
  bottom: 125,
2491
- windBarbLoaded: !1
2515
+ windBarbLoaded: !1,
2516
+ svgs: ei
2492
2517
  };
2493
2518
  },
2494
2519
  computed: {
@@ -2532,41 +2557,43 @@ const ei = {
2532
2557
  else {
2533
2558
  this.map.addSource(this.source, { type: "geojson", data: c });
2534
2559
  for (let n = 0; n < (this.barbs ?? []).length - 1; n++) {
2535
- const p = (this.barbs ?? [])[n] || 0, d = (this.barbs ?? [])[n + 1] || 0, m = p < 10 ? `00${p}kts` : p < 100 ? `0${p}kts` : `${p}kts`;
2536
- this.map.addLayer(
2537
- {
2538
- id: m,
2539
- type: "symbol",
2540
- filter: [
2541
- "all",
2542
- // @ts-ignore
2543
- [">=", "spd", p],
2544
- // @ts-ignore
2545
- ["<", "spd", d]
2546
- ],
2547
- source: this.source,
2548
- layout: {
2549
- "symbol-placement": "point",
2550
- "icon-image": m,
2551
- // mapbox sprite
2552
- "icon-size": 0.14,
2553
- "icon-offset": [0, -20],
2554
- "icon-allow-overlap": !0,
2555
- "icon-rotation-alignment": "map",
2556
- "icon-rotate": {
2557
- property: "dir",
2558
- stops: [
2559
- [0, 0],
2560
- [360, 360]
2561
- ]
2560
+ const p = (this.barbs ?? [])[n] || 0, d = (this.barbs ?? [])[n + 1] || 0, m = p < 10 ? `00${p}kts` : p < 100 ? `0${p}kts` : `${p}kts`, f = new Image(48, 48), v = "data:image/svg+xml;base64," + window.btoa(unescape(encodeURIComponent(this.svgs[m])));
2561
+ f.src = v, f.onload = () => {
2562
+ this.map.hasImage(m) || this.map.addImage(m, f), this.map.addLayer(
2563
+ {
2564
+ id: m,
2565
+ type: "symbol",
2566
+ filter: [
2567
+ "all",
2568
+ // @ts-ignore
2569
+ [">=", "spd", p],
2570
+ // @ts-ignore
2571
+ ["<", "spd", d]
2572
+ ],
2573
+ source: this.source,
2574
+ layout: {
2575
+ "symbol-placement": "point",
2576
+ "icon-image": m,
2577
+ // mapbox sprite
2578
+ "icon-size": 0.14,
2579
+ "icon-offset": [0, -20],
2580
+ "icon-allow-overlap": !0,
2581
+ "icon-rotation-alignment": "map",
2582
+ "icon-rotate": {
2583
+ property: "dir",
2584
+ stops: [
2585
+ [0, 0],
2586
+ [360, 360]
2587
+ ]
2588
+ }
2589
+ },
2590
+ paint: {
2591
+ "icon-opacity": this.opacity
2562
2592
  }
2563
2593
  },
2564
- paint: {
2565
- "icon-opacity": this.opacity
2566
- }
2567
- },
2568
- this.beforeLayer
2569
- );
2594
+ this.beforeLayer
2595
+ );
2596
+ };
2570
2597
  }
2571
2598
  this.windBarbLoaded = !0, s = (/* @__PURE__ */ new Date()).valueOf() - (a + r), console.log("[windBarbs] add elapsed: ", s, ", total: ", r += s);
2572
2599
  }
@@ -2593,11 +2620,11 @@ const ei = {
2593
2620
  }
2594
2621
  }
2595
2622
  };
2596
- function ti(o, e, t, i, a, r) {
2623
+ function oi(o, e, t, i, a, r) {
2597
2624
  return null;
2598
2625
  }
2599
- const oi = /* @__PURE__ */ q(ei, [["render", ti]]);
2600
- const ai = {
2626
+ const ai = /* @__PURE__ */ q(ti, [["render", oi]]);
2627
+ const ii = {
2601
2628
  name: "IdmWindParticle",
2602
2629
  props: {
2603
2630
  factor: {
@@ -2763,10 +2790,10 @@ const ai = {
2763
2790
  (o = this.viewport) == null || o.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
2764
2791
  }
2765
2792
  }
2766
- }, ii = { key: 0 };
2767
- function ri(o, e, t, i, a, r) {
2793
+ }, ri = { key: 0 };
2794
+ function li(o, e, t, i, a, r) {
2768
2795
  var s;
2769
- return (s = t.factor) != null && s.active ? (y(), T("div", ii, [
2796
+ return (s = t.factor) != null && s.active ? (y(), T("div", ri, [
2770
2797
  l("div", {
2771
2798
  class: "legend-bars-gl4 wind",
2772
2799
  style: ae({ right: a.right + "px" })
@@ -2782,7 +2809,7 @@ function ri(o, e, t, i, a, r) {
2782
2809
  ]), 4)
2783
2810
  ])) : F("", !0);
2784
2811
  }
2785
- const li = /* @__PURE__ */ q(ai, [["render", ri]]), si = {
2812
+ const si = /* @__PURE__ */ q(ii, [["render", li]]), ni = {
2786
2813
  name: "IdmCurrent",
2787
2814
  props: {
2788
2815
  map: {
@@ -2940,11 +2967,11 @@ const li = /* @__PURE__ */ q(ai, [["render", ri]]), si = {
2940
2967
  }
2941
2968
  }
2942
2969
  };
2943
- function ni(o, e, t, i, a, r) {
2970
+ function ci(o, e, t, i, a, r) {
2944
2971
  return null;
2945
2972
  }
2946
- const ci = /* @__PURE__ */ q(si, [["render", ni]]);
2947
- const mi = {
2973
+ const mi = /* @__PURE__ */ q(ni, [["render", ci]]);
2974
+ const hi = {
2948
2975
  name: "IdmCurrentParticle",
2949
2976
  props: {
2950
2977
  factor: {
@@ -3107,10 +3134,10 @@ const mi = {
3107
3134
  (o = this.viewport) == null || o.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
3108
3135
  }
3109
3136
  }
3110
- }, hi = { key: 0 };
3111
- function di(o, e, t, i, a, r) {
3137
+ }, di = { key: 0 };
3138
+ function pi(o, e, t, i, a, r) {
3112
3139
  var s;
3113
- return (s = t.factor) != null && s.active ? (y(), T("div", hi, [
3140
+ return (s = t.factor) != null && s.active ? (y(), T("div", di, [
3114
3141
  l("div", {
3115
3142
  class: "legend-bars-gl4 current",
3116
3143
  style: ae({ right: a.right + "px" })
@@ -3125,8 +3152,8 @@ function di(o, e, t, i, a, r) {
3125
3152
  ]), 4)
3126
3153
  ])) : F("", !0);
3127
3154
  }
3128
- const pi = /* @__PURE__ */ q(mi, [["render", di]]);
3129
- const ui = {
3155
+ const ui = /* @__PURE__ */ q(hi, [["render", pi]]);
3156
+ const gi = {
3130
3157
  name: "IdmTemp",
3131
3158
  props: {
3132
3159
  factor: {
@@ -3235,10 +3262,10 @@ const ui = {
3235
3262
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
3236
3263
  }
3237
3264
  }
3238
- }, gi = { key: 0 };
3239
- function fi(o, e, t, i, a, r) {
3265
+ }, fi = { key: 0 };
3266
+ function bi(o, e, t, i, a, r) {
3240
3267
  var s;
3241
- return (s = t.factor) != null && s.active ? (y(), T("div", gi, [
3268
+ return (s = t.factor) != null && s.active ? (y(), T("div", fi, [
3242
3269
  l("div", {
3243
3270
  class: "legend-bars-gl4 sig-wave",
3244
3271
  style: ae({ right: a.right + "px" })
@@ -3253,7 +3280,7 @@ function fi(o, e, t, i, a, r) {
3253
3280
  ]), 4)
3254
3281
  ])) : F("", !0);
3255
3282
  }
3256
- const bi = /* @__PURE__ */ q(ui, [["render", fi], ["__scopeId", "data-v-79ce70e2"]]), yi = {
3283
+ const yi = /* @__PURE__ */ q(gi, [["render", bi], ["__scopeId", "data-v-79ce70e2"]]), wi = {
3257
3284
  name: "IdmSigWave",
3258
3285
  props: {
3259
3286
  map: {
@@ -3375,10 +3402,10 @@ const bi = /* @__PURE__ */ q(ui, [["render", fi], ["__scopeId", "data-v-79ce70e2
3375
3402
  }
3376
3403
  }
3377
3404
  };
3378
- function wi(o, e, t, i, a, r) {
3405
+ function xi(o, e, t, i, a, r) {
3379
3406
  return null;
3380
3407
  }
3381
- const xi = /* @__PURE__ */ q(yi, [["render", wi]]), vi = {
3408
+ const vi = /* @__PURE__ */ q(wi, [["render", xi]]), _i = {
3382
3409
  name: "IdmSwell",
3383
3410
  props: {
3384
3411
  map: {
@@ -3529,10 +3556,10 @@ const xi = /* @__PURE__ */ q(yi, [["render", wi]]), vi = {
3529
3556
  }
3530
3557
  }
3531
3558
  };
3532
- function _i(o, e, t, i, a, r) {
3559
+ function ki(o, e, t, i, a, r) {
3533
3560
  return y(), T("div");
3534
3561
  }
3535
- const ki = /* @__PURE__ */ q(vi, [["render", _i]]), zi = {
3562
+ const zi = /* @__PURE__ */ q(_i, [["render", ki]]), Li = {
3536
3563
  name: "IdmPrmsl",
3537
3564
  props: {
3538
3565
  map: {
@@ -3658,14 +3685,14 @@ const ki = /* @__PURE__ */ q(vi, [["render", _i]]), zi = {
3658
3685
  this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.labelLayer) && this.map.removeLayer(this.labelLayer), this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
3659
3686
  }
3660
3687
  }
3661
- }, Li = {
3688
+ }, Pi = {
3662
3689
  key: 0,
3663
3690
  class: "legend-tip-btn-gl4"
3664
3691
  };
3665
- function Pi(o, e, t, i, a, r) {
3692
+ function Ci(o, e, t, i, a, r) {
3666
3693
  var n;
3667
3694
  const s = k("VBtn"), c = k("VTooltip");
3668
- return (n = t.prmsl) != null && n.active ? (y(), T("div", Li, [
3695
+ return (n = t.prmsl) != null && n.active ? (y(), T("div", Pi, [
3669
3696
  l("div", {
3670
3697
  class: "menu-bar-box pa-1 rounded",
3671
3698
  style: ae({ right: a.right + "px" })
@@ -3695,7 +3722,7 @@ function Pi(o, e, t, i, a, r) {
3695
3722
  ], 4)
3696
3723
  ])) : F("", !0);
3697
3724
  }
3698
- const Ci = /* @__PURE__ */ q(zi, [["render", Pi]]);
3725
+ const Mi = /* @__PURE__ */ q(Li, [["render", Ci]]);
3699
3726
  const Si = {
3700
3727
  name: "IdmIceEdge",
3701
3728
  props: {
@@ -3797,10 +3824,10 @@ const Si = {
3797
3824
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
3798
3825
  }
3799
3826
  }
3800
- }, Mi = { key: 0 };
3801
- function Ti(o, e, t, i, a, r) {
3827
+ }, Ti = { key: 0 };
3828
+ function Ai(o, e, t, i, a, r) {
3802
3829
  var s;
3803
- return (s = t.factor) != null && s.active ? (y(), T("div", Mi, [
3830
+ return (s = t.factor) != null && s.active ? (y(), T("div", Ti, [
3804
3831
  l("div", {
3805
3832
  class: "legend-bars-gl4 ice-edge",
3806
3833
  style: ae({ right: a.right + "px" })
@@ -3820,8 +3847,8 @@ function Ti(o, e, t, i, a, r) {
3820
3847
  ]), 4)
3821
3848
  ])) : F("", !0);
3822
3849
  }
3823
- const Ri = /* @__PURE__ */ q(Si, [["render", Ti]]);
3824
- const Ii = {
3850
+ const Ii = /* @__PURE__ */ q(Si, [["render", Ai]]);
3851
+ const Ri = {
3825
3852
  name: "IdmCover",
3826
3853
  props: {
3827
3854
  factor: {
@@ -3913,10 +3940,10 @@ const Ii = {
3913
3940
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
3914
3941
  }
3915
3942
  }
3916
- }, Ai = { key: 0 };
3917
- function Di(o, e, t, i, a, r) {
3943
+ }, Di = { key: 0 };
3944
+ function Oi(o, e, t, i, a, r) {
3918
3945
  var s;
3919
- return (s = t.factor) != null && s.active ? (y(), T("div", Ai, [
3946
+ return (s = t.factor) != null && s.active ? (y(), T("div", Di, [
3920
3947
  l("div", {
3921
3948
  class: "legend-bars-gl4 ice-cover",
3922
3949
  style: ae({ right: a.right + "px" })
@@ -3930,8 +3957,8 @@ function Di(o, e, t, i, a, r) {
3930
3957
  ]), 4)
3931
3958
  ])) : F("", !0);
3932
3959
  }
3933
- const Oi = /* @__PURE__ */ q(Ii, [["render", Di], ["__scopeId", "data-v-9696d73b"]]);
3934
- const Bi = {
3960
+ const Bi = /* @__PURE__ */ q(Ri, [["render", Oi], ["__scopeId", "data-v-9696d73b"]]);
3961
+ const ji = {
3935
3962
  name: "IdmThickness",
3936
3963
  props: {
3937
3964
  factor: {
@@ -4031,10 +4058,10 @@ const Bi = {
4031
4058
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4032
4059
  }
4033
4060
  }
4034
- }, ji = { key: 0 };
4035
- function Ei(o, e, t, i, a, r) {
4061
+ }, Ei = { key: 0 };
4062
+ function Fi(o, e, t, i, a, r) {
4036
4063
  var s;
4037
- return (s = t.factor) != null && s.active ? (y(), T("div", ji, [
4064
+ return (s = t.factor) != null && s.active ? (y(), T("div", Ei, [
4038
4065
  l("div", {
4039
4066
  class: "legend-bars-gl4 ice-thickness",
4040
4067
  style: ae({ right: a.right + "px" })
@@ -4049,8 +4076,8 @@ function Ei(o, e, t, i, a, r) {
4049
4076
  ]), 4)
4050
4077
  ])) : F("", !0);
4051
4078
  }
4052
- const Fi = /* @__PURE__ */ q(Bi, [["render", Ei]]);
4053
- const Ni = {
4079
+ const Ni = /* @__PURE__ */ q(ji, [["render", Fi]]);
4080
+ const Hi = {
4054
4081
  name: "IdmPrecip3h",
4055
4082
  props: {
4056
4083
  factor: {
@@ -4151,10 +4178,10 @@ const Ni = {
4151
4178
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4152
4179
  }
4153
4180
  }
4154
- }, Hi = { key: 0 };
4155
- function Wi(o, e, t, i, a, r) {
4181
+ }, Wi = { key: 0 };
4182
+ function Gi(o, e, t, i, a, r) {
4156
4183
  var s;
4157
- return (s = t.factor) != null && s.active ? (y(), T("div", Hi, [
4184
+ return (s = t.factor) != null && s.active ? (y(), T("div", Wi, [
4158
4185
  l("div", {
4159
4186
  class: "legend-bars-gl4 precip3h",
4160
4187
  style: ae({ right: a.right + "px" })
@@ -4170,8 +4197,8 @@ function Wi(o, e, t, i, a, r) {
4170
4197
  ]), 4)
4171
4198
  ])) : F("", !0);
4172
4199
  }
4173
- const Gi = /* @__PURE__ */ q(Ni, [["render", Wi]]);
4174
- const Ui = {
4200
+ const Ui = /* @__PURE__ */ q(Hi, [["render", Gi]]);
4201
+ const Vi = {
4175
4202
  name: "IdmVisibility",
4176
4203
  props: {
4177
4204
  factor: {
@@ -4262,10 +4289,10 @@ const Ui = {
4262
4289
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4263
4290
  }
4264
4291
  }
4265
- }, Vi = { key: 0 };
4266
- function Yi(o, e, t, i, a, r) {
4292
+ }, Yi = { key: 0 };
4293
+ function Zi(o, e, t, i, a, r) {
4267
4294
  var s;
4268
- return (s = t.factor) != null && s.active ? (y(), T("div", Vi, [
4295
+ return (s = t.factor) != null && s.active ? (y(), T("div", Yi, [
4269
4296
  l("div", {
4270
4297
  class: "legend-bars-gl4 visibility",
4271
4298
  style: ae({ right: a.right + "px" })
@@ -4279,8 +4306,8 @@ function Yi(o, e, t, i, a, r) {
4279
4306
  ]), 4)
4280
4307
  ])) : F("", !0);
4281
4308
  }
4282
- const Zi = /* @__PURE__ */ q(Ui, [["render", Yi]]);
4283
- const Xi = {
4309
+ const Xi = /* @__PURE__ */ q(Vi, [["render", Zi]]);
4310
+ const qi = {
4284
4311
  name: "IdmWaterTemp",
4285
4312
  props: {
4286
4313
  factor: {
@@ -4374,10 +4401,10 @@ const Xi = {
4374
4401
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4375
4402
  }
4376
4403
  }
4377
- }, qi = { key: 0 };
4378
- function Ki(o, e, t, i, a, r) {
4404
+ }, Ki = { key: 0 };
4405
+ function Qi(o, e, t, i, a, r) {
4379
4406
  var s;
4380
- return (s = t.factor) != null && s.active ? (y(), T("div", qi, [
4407
+ return (s = t.factor) != null && s.active ? (y(), T("div", Ki, [
4381
4408
  l("div", {
4382
4409
  class: "legend-bars-gl4 water-temp",
4383
4410
  style: ae({ right: a.right + "px" })
@@ -4391,8 +4418,8 @@ function Ki(o, e, t, i, a, r) {
4391
4418
  ]), 4)
4392
4419
  ])) : F("", !0);
4393
4420
  }
4394
- const Qi = /* @__PURE__ */ q(Xi, [["render", Ki]]);
4395
- const Ji = {
4421
+ const Ji = /* @__PURE__ */ q(qi, [["render", Qi]]);
4422
+ const $i = {
4396
4423
  name: "IdmTemp",
4397
4424
  props: {
4398
4425
  factor: {
@@ -4497,10 +4524,10 @@ const Ji = {
4497
4524
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4498
4525
  }
4499
4526
  }
4500
- }, $i = { key: 0 };
4501
- function er(o, e, t, i, a, r) {
4527
+ }, er = { key: 0 };
4528
+ function tr(o, e, t, i, a, r) {
4502
4529
  var s;
4503
- return (s = t.factor) != null && s.active ? (y(), T("div", $i, [
4530
+ return (s = t.factor) != null && s.active ? (y(), T("div", er, [
4504
4531
  l("div", {
4505
4532
  class: "legend-bars-gl4 temp",
4506
4533
  style: ae({ right: a.right + "px" })
@@ -4516,25 +4543,25 @@ function er(o, e, t, i, a, r) {
4516
4543
  ]), 4)
4517
4544
  ])) : F("", !0);
4518
4545
  }
4519
- const tr = /* @__PURE__ */ q(Ji, [["render", er]]);
4520
- const or = {
4546
+ const or = /* @__PURE__ */ q($i, [["render", tr]]);
4547
+ const ar = {
4521
4548
  name: "IdmGlLayer",
4522
4549
  components: {
4523
- IdmWindBarb: oi,
4524
- IdmWindParticle: li,
4525
- IdmCurrentDirection: ci,
4526
- IdmCurrentParticle: pi,
4527
- IdmWave: bi,
4528
- IdmSigWaveHeight: xi,
4529
- IdmSwell: ki,
4530
- IdmPrmsl: Ci,
4531
- IdmIceEdge: Ri,
4532
- IdmIceCover: Oi,
4533
- IdmIceThickness: Fi,
4534
- IdmPrecip3h: Gi,
4535
- IdmVisibility: Zi,
4536
- IdmWaterTemp: Qi,
4537
- IdmTemp: tr
4550
+ IdmWindBarb: ai,
4551
+ IdmWindParticle: si,
4552
+ IdmCurrentDirection: mi,
4553
+ IdmCurrentParticle: ui,
4554
+ IdmWave: yi,
4555
+ IdmSigWaveHeight: vi,
4556
+ IdmSwell: zi,
4557
+ IdmPrmsl: Mi,
4558
+ IdmIceEdge: Ii,
4559
+ IdmIceCover: Bi,
4560
+ IdmIceThickness: Ni,
4561
+ IdmPrecip3h: Ui,
4562
+ IdmVisibility: Xi,
4563
+ IdmWaterTemp: Ji,
4564
+ IdmTemp: or
4538
4565
  },
4539
4566
  props: {
4540
4567
  isLogin: {
@@ -4776,27 +4803,27 @@ const or = {
4776
4803
  const e = (/* @__PURE__ */ new Date()).valueOf();
4777
4804
  let t = 0, i = 0;
4778
4805
  if (this.map) {
4779
- const v = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, b = (r = this.map) == null ? void 0 : r.getBounds(), S = `${b._sw.lng},${b._sw.lat},${b._ne.lng},${b._ne.lat}`;
4806
+ const v = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, b = (r = this.map) == null ? void 0 : r.getBounds(), M = `${b._sw.lng},${b._sw.lat},${b._ne.lng},${b._ne.lat}`;
4780
4807
  if (this.particleFactor && ((s = this.$refs.layer) != null && s.autoActive)) {
4781
4808
  const L = Jt.WEATHER_LAYERS.find((B) => {
4782
- var M;
4783
- return ((M = B.peer) == null ? void 0 : M.weight) === this.particleFactor.weight;
4809
+ var S;
4810
+ return ((S = B.peer) == null ? void 0 : S.weight) === this.particleFactor.weight;
4784
4811
  });
4785
4812
  this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & L.weight ? this.weatherWeight : this.weatherWeight + L.weight : this.weatherWeight = this.weatherWeight & L.weight ? this.weatherWeight - L.weight : this.weatherWeight;
4786
4813
  }
4787
4814
  if (this.weatherWeight > 0) {
4788
4815
  let L = this.weatherWeight;
4789
4816
  if (L > 0) {
4790
- const B = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], M = await Be.get(
4791
- `${B}/api/arc/weather/layers2/links?l=${L}&v=${this.forecastModel}&z=${v}&bbox=${S}&t=${this.realTime}`,
4817
+ const B = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], S = await Be.get(
4818
+ `${B}/api/arc/weather/layers2/links?l=${L}&v=${this.forecastModel}&z=${v}&bbox=${M}&t=${this.realTime}`,
4792
4819
  {
4793
4820
  headers: {
4794
4821
  Authorization: this.token || this.defaultMeteoToken
4795
4822
  }
4796
4823
  }
4797
4824
  );
4798
- if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather links elapsed: ", i, ", total: ", t += i), ((c = M == null ? void 0 : M.data) == null ? void 0 : c.code) === 0) {
4799
- const P = (n = M == null ? void 0 : M.data) == null ? void 0 : n.data, _ = [];
4825
+ if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather links elapsed: ", i, ", total: ", t += i), ((c = S == null ? void 0 : S.data) == null ? void 0 : c.code) === 0) {
4826
+ const P = (n = S == null ? void 0 : S.data) == null ? void 0 : n.data, _ = [];
4800
4827
  for (const C in P)
4801
4828
  _.push(
4802
4829
  Be.get(P[C], {
@@ -4813,11 +4840,11 @@ const or = {
4813
4840
  this.weatherLayers = {}, z.map((C) => {
4814
4841
  var W, X, V, Y;
4815
4842
  const x = ((W = C == null ? void 0 : C.data) == null ? void 0 : W.data) || (C == null ? void 0 : C.data);
4816
- let R = (V = (X = C == null ? void 0 : C.config) == null ? void 0 : X.headers) == null ? void 0 : V.key;
4817
- R && x && (this.weatherLayers[R] = {
4843
+ let A = (V = (X = C == null ? void 0 : C.config) == null ? void 0 : X.headers) == null ? void 0 : V.key;
4844
+ A && x && (this.weatherLayers[A] = {
4818
4845
  raw: x,
4819
4846
  type: ((Y = C == null ? void 0 : C.config) == null ? void 0 : Y.responseType) === "blob" ? "image" : "json",
4820
- etime: M.data.etime
4847
+ etime: S.data.etime
4821
4848
  });
4822
4849
  });
4823
4850
  }
@@ -4827,7 +4854,7 @@ const or = {
4827
4854
  type: "json",
4828
4855
  direction: P,
4829
4856
  height: { raw: _ },
4830
- etime: M.data.etime
4857
+ etime: S.data.etime
4831
4858
  };
4832
4859
  }
4833
4860
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
@@ -4836,7 +4863,7 @@ const or = {
4836
4863
  type: "json",
4837
4864
  direction: P,
4838
4865
  speed: { raw: _ },
4839
- etime: M.data.etime
4866
+ etime: S.data.etime
4840
4867
  };
4841
4868
  }
4842
4869
  }
@@ -4898,53 +4925,53 @@ const or = {
4898
4925
  );
4899
4926
  },
4900
4927
  handleDrawWeather4Json() {
4901
- var p, d, m, f, v, b, S;
4928
+ var p, d, m, f, v, b, M;
4902
4929
  const o = (/* @__PURE__ */ new Date()).valueOf();
4903
4930
  let e = 0, t = 0;
4904
4931
  const i = (p = this.map) == null ? void 0 : p.getBounds(), a = (d = this.map) == null ? void 0 : d.getZoom(), r = oe.convertToStdLng(i._sw.lng), s = oe.convertToStdLng(i._ne.lng), c = Math.floor(i._sw.lat), n = Math.ceil(i._ne.lat);
4905
4932
  for (const L in this.weatherLayers) {
4906
4933
  let B = !1;
4907
4934
  if (this.weatherLayers[L].active && this.weatherLayers[L].type === "json") {
4908
- let M = [];
4935
+ let S = [];
4909
4936
  if (L === "swell") {
4910
4937
  B = !0;
4911
4938
  const P = ((m = this.weatherLayers[L]) == null ? void 0 : m.direction) || {};
4912
4939
  for (const z in P)
4913
4940
  if (z > c && z < n && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
4914
4941
  const C = P[z].lng;
4915
- r > s ? C.forEach((x, R) => {
4942
+ r > s ? C.forEach((x, A) => {
4916
4943
  var W, X, V, Y, $, ee;
4917
4944
  if (a < 2) {
4918
4945
  if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
4919
4946
  const Q = E.point([x, z], {
4920
- val: ((W = P[z].val) == null ? void 0 : W[R]) || ((X = P[z].dir) == null ? void 0 : X[R]),
4921
- spd: (V = P[z].spd) == null ? void 0 : V[R]
4947
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((X = P[z].dir) == null ? void 0 : X[A]),
4948
+ spd: (V = P[z].spd) == null ? void 0 : V[A]
4922
4949
  });
4923
- M.push(Q);
4950
+ S.push(Q);
4924
4951
  }
4925
4952
  } else if ((x >= r && x <= 180 || x >= -180 && x <= s) && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
4926
4953
  const Q = E.point([x, z], {
4927
- val: ((Y = P[z].val) == null ? void 0 : Y[R]) || (($ = P[z].dir) == null ? void 0 : $[R]),
4928
- spd: (ee = P[z].spd) == null ? void 0 : ee[R]
4954
+ val: ((Y = P[z].val) == null ? void 0 : Y[A]) || (($ = P[z].dir) == null ? void 0 : $[A]),
4955
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
4929
4956
  });
4930
- M.push(Q);
4957
+ S.push(Q);
4931
4958
  }
4932
- }) : C.forEach((x, R) => {
4959
+ }) : C.forEach((x, A) => {
4933
4960
  var W, X, V, Y, $, ee;
4934
4961
  if (r < 2) {
4935
4962
  if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
4936
4963
  const Q = E.point([x, z], {
4937
- val: ((W = P[z].val) == null ? void 0 : W[R]) || ((X = P[z].dir) == null ? void 0 : X[R]),
4938
- spd: (V = P[z].spd) == null ? void 0 : V[R]
4964
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((X = P[z].dir) == null ? void 0 : X[A]),
4965
+ spd: (V = P[z].spd) == null ? void 0 : V[A]
4939
4966
  });
4940
- M.push(Q);
4967
+ S.push(Q);
4941
4968
  }
4942
4969
  } else if (x >= r && x <= s && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
4943
4970
  const Q = E.point([x, z], {
4944
- val: ((Y = P[z].val) == null ? void 0 : Y[R]) || (($ = P[z].dir) == null ? void 0 : $[R]),
4945
- spd: (ee = P[z].spd) == null ? void 0 : ee[R]
4971
+ val: ((Y = P[z].val) == null ? void 0 : Y[A]) || (($ = P[z].dir) == null ? void 0 : $[A]),
4972
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
4946
4973
  });
4947
- M.push(Q);
4974
+ S.push(Q);
4948
4975
  }
4949
4976
  });
4950
4977
  }
@@ -4955,9 +4982,9 @@ const or = {
4955
4982
  const z = [];
4956
4983
  for (const C in (f = _.raw) == null ? void 0 : f.LineString) {
4957
4984
  const x = _.raw.LineString[C];
4958
- for (const R of x)
4985
+ for (const A of x)
4959
4986
  z.push(
4960
- E.lineString(R, {
4987
+ E.lineString(A, {
4961
4988
  val: Number(C)
4962
4989
  })
4963
4990
  );
@@ -4966,7 +4993,7 @@ const or = {
4966
4993
  }
4967
4994
  if (_.data) {
4968
4995
  const z = this.handleBboxClip(_.data, i);
4969
- M = M.concat(z);
4996
+ S = S.concat(z);
4970
4997
  }
4971
4998
  t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("swell height elapsed: ", t, ", total: ", e += t);
4972
4999
  }
@@ -4976,39 +5003,39 @@ const or = {
4976
5003
  for (const z in P)
4977
5004
  if (z > c && z < n && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
4978
5005
  const C = P[z].lng;
4979
- r > s ? C.forEach((x, R) => {
5006
+ r > s ? C.forEach((x, A) => {
4980
5007
  var W, X, V, Y, $, ee;
4981
5008
  if (a < 2) {
4982
5009
  if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
4983
5010
  const Q = E.point([x, z], {
4984
- val: ((W = P[z].val) == null ? void 0 : W[R]) || ((X = P[z].dir) == null ? void 0 : X[R]),
4985
- spd: (V = P[z].spd) == null ? void 0 : V[R]
5011
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((X = P[z].dir) == null ? void 0 : X[A]),
5012
+ spd: (V = P[z].spd) == null ? void 0 : V[A]
4986
5013
  });
4987
- M.push(Q);
5014
+ S.push(Q);
4988
5015
  }
4989
5016
  } else if ((x >= r && x <= 180 || x >= -180 && x <= s) && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
4990
5017
  const Q = E.point([x, z], {
4991
- val: ((Y = P[z].val) == null ? void 0 : Y[R]) || (($ = P[z].dir) == null ? void 0 : $[R]),
4992
- spd: (ee = P[z].spd) == null ? void 0 : ee[R]
5018
+ val: ((Y = P[z].val) == null ? void 0 : Y[A]) || (($ = P[z].dir) == null ? void 0 : $[A]),
5019
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
4993
5020
  });
4994
- M.push(Q);
5021
+ S.push(Q);
4995
5022
  }
4996
- }) : C.forEach((x, R) => {
5023
+ }) : C.forEach((x, A) => {
4997
5024
  var W, X, V, Y, $, ee;
4998
5025
  if (r < 2) {
4999
5026
  if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
5000
5027
  const Q = E.point([x, z], {
5001
- val: ((W = P[z].val) == null ? void 0 : W[R]) || ((X = P[z].dir) == null ? void 0 : X[R]),
5002
- spd: (V = P[z].spd) == null ? void 0 : V[R]
5028
+ val: ((W = P[z].val) == null ? void 0 : W[A]) || ((X = P[z].dir) == null ? void 0 : X[A]),
5029
+ spd: (V = P[z].spd) == null ? void 0 : V[A]
5003
5030
  });
5004
- M.push(Q);
5031
+ S.push(Q);
5005
5032
  }
5006
5033
  } else if (x >= r && x <= s && (!(a <= this.zoom) || x % (a < this.zoom / 2 ? 5 : 3) === 0)) {
5007
5034
  const Q = E.point([x, z], {
5008
- val: ((Y = P[z].val) == null ? void 0 : Y[R]) || (($ = P[z].dir) == null ? void 0 : $[R]),
5009
- spd: (ee = P[z].spd) == null ? void 0 : ee[R]
5035
+ val: ((Y = P[z].val) == null ? void 0 : Y[A]) || (($ = P[z].dir) == null ? void 0 : $[A]),
5036
+ spd: (ee = P[z].spd) == null ? void 0 : ee[A]
5010
5037
  });
5011
- M.push(Q);
5038
+ S.push(Q);
5012
5039
  }
5013
5040
  });
5014
5041
  }
@@ -5018,8 +5045,8 @@ const or = {
5018
5045
  if (!_.data) {
5019
5046
  const C = [];
5020
5047
  for (const x in (b = _.raw) == null ? void 0 : b.Polygon) {
5021
- const R = _.raw.Polygon[x];
5022
- for (const W of R)
5048
+ const A = _.raw.Polygon[x];
5049
+ for (const W of A)
5023
5050
  C.push(
5024
5051
  E.polygon(W, {
5025
5052
  val: Number(x)
@@ -5029,7 +5056,7 @@ const or = {
5029
5056
  _.data = E.featureCollection(C);
5030
5057
  }
5031
5058
  const z = a < this.zoom ? _.data.features.filter((C) => C.properties.val > 0.5) : _.data.features;
5032
- M = M.concat(z), t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("current speed elapsed: ", t, ", total: ", e += t);
5059
+ S = S.concat(z), t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("current speed elapsed: ", t, ", total: ", e += t);
5033
5060
  }
5034
5061
  } else if (L === "wind") {
5035
5062
  B = !0;
@@ -5038,45 +5065,45 @@ const or = {
5038
5065
  if (_ > c && _ < n && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5039
5066
  const z = P[_].lng;
5040
5067
  r > s ? z.forEach((C, x) => {
5041
- var R, W, X, V;
5068
+ var A, W, X, V;
5042
5069
  if (a < 2) {
5043
5070
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
5044
5071
  const Y = E.point([C, _], {
5045
- dir: ((R = P[_].val) == null ? void 0 : R[x]) || ((W = P[_].dir) == null ? void 0 : W[x]),
5072
+ dir: ((A = P[_].val) == null ? void 0 : A[x]) || ((W = P[_].dir) == null ? void 0 : W[x]),
5046
5073
  spd: P[_].spd[x]
5047
5074
  });
5048
- M.push(Y);
5075
+ S.push(Y);
5049
5076
  }
5050
5077
  } else if ((C >= r && C <= 180 || C >= -180 && C <= s) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5051
5078
  const Y = E.point([C, _], {
5052
5079
  dir: ((X = P[_].val) == null ? void 0 : X[x]) || ((V = P[_].dir) == null ? void 0 : V[x]),
5053
5080
  spd: P[_].spd[x]
5054
5081
  });
5055
- M.push(Y);
5082
+ S.push(Y);
5056
5083
  }
5057
5084
  }) : z.forEach((C, x) => {
5058
- var R, W, X, V;
5085
+ var A, W, X, V;
5059
5086
  if (a < 2) {
5060
5087
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
5061
5088
  const Y = E.point([C, _], {
5062
- dir: ((R = P[_].val) == null ? void 0 : R[x]) || ((W = P[_].dir) == null ? void 0 : W[x]),
5089
+ dir: ((A = P[_].val) == null ? void 0 : A[x]) || ((W = P[_].dir) == null ? void 0 : W[x]),
5063
5090
  spd: P[_].spd[x]
5064
5091
  });
5065
- M.push(Y);
5092
+ S.push(Y);
5066
5093
  }
5067
5094
  } else if (C >= r && C <= s && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5068
5095
  const Y = E.point([C, _], {
5069
5096
  dir: ((X = P[_].val) == null ? void 0 : X[x]) || ((V = P[_].dir) == null ? void 0 : V[x]),
5070
5097
  spd: P[_].spd[x]
5071
5098
  });
5072
- M.push(Y);
5099
+ S.push(Y);
5073
5100
  }
5074
5101
  });
5075
5102
  }
5076
5103
  t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("wind barb elapsed: ", t, ", total: ", e += t);
5077
5104
  } else if (L === "sig-wave-height") {
5078
5105
  if (this.weatherLayers[L].data)
5079
- M = this.weatherLayers[L].data;
5106
+ S = this.weatherLayers[L].data;
5080
5107
  else {
5081
5108
  B = !0;
5082
5109
  const P = this.weatherLayers[L].raw;
@@ -5093,20 +5120,20 @@ const or = {
5093
5120
  }
5094
5121
  for (const z in P.Point) {
5095
5122
  const C = P.Point[z];
5096
- for (let x = 0; x < ((S = C.lng) == null ? void 0 : S.length); x++)
5123
+ for (let x = 0; x < ((M = C.lng) == null ? void 0 : M.length); x++)
5097
5124
  _.push(
5098
5125
  E.point([C.lng[x], z], {
5099
5126
  val: Number(C.val[x])
5100
5127
  })
5101
5128
  );
5102
5129
  }
5103
- M = M.concat(_);
5130
+ S = S.concat(_);
5104
5131
  }
5105
5132
  }
5106
5133
  t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("sig-wave-height elapsed: ", t, ", total: ", e += t);
5107
5134
  } else if (L === "prmsl") {
5108
5135
  if (this.weatherLayers[L].data)
5109
- M = this.weatherLayers[L].data;
5136
+ S = this.weatherLayers[L].data;
5110
5137
  else {
5111
5138
  B = !0;
5112
5139
  const P = this.weatherLayers[L].raw;
@@ -5130,12 +5157,12 @@ const or = {
5130
5157
  })
5131
5158
  );
5132
5159
  });
5133
- M = M.concat(_);
5160
+ S = S.concat(_);
5134
5161
  }
5135
5162
  }
5136
5163
  t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("prmsl elapsed: ", t, ", total: ", e += t);
5137
5164
  }
5138
- M.length && (this.weatherLayers[L].data = E.featureCollection(M)), B && (this.weatherLayers[L].version = Math.random() + 1);
5165
+ S.length && (this.weatherLayers[L].data = E.featureCollection(S)), B && (this.weatherLayers[L].version = Math.random() + 1);
5139
5166
  }
5140
5167
  }
5141
5168
  },
@@ -5160,26 +5187,26 @@ const or = {
5160
5187
  }), t;
5161
5188
  }
5162
5189
  }
5163
- }, ar = { class: "idm-gl4-meteo-layers" }, ir = {
5190
+ }, ir = { class: "idm-gl4-meteo-layers" }, rr = {
5164
5191
  key: 0,
5165
5192
  class: "legend-tip-btn-gl4"
5166
- }, rr = { class: "d-flex flex-row justify-center align-center" }, lr = { class: "text-caption" }, sr = { class: "d-flex flex-row justify-center align-center" }, nr = {
5193
+ }, lr = { class: "d-flex flex-row justify-center align-center" }, sr = { class: "text-caption" }, nr = { class: "d-flex flex-row justify-center align-center" }, cr = {
5167
5194
  key: 0,
5168
5195
  style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
5169
- }, cr = { class: "text-caption px-2" }, mr = { class: "d-flex flex-row justify-start align-center" }, hr = {
5196
+ }, mr = { class: "text-caption px-2" }, hr = { class: "d-flex flex-row justify-start align-center" }, dr = {
5170
5197
  class: "d-flex flex-row justify-center align-center",
5171
5198
  style: { width: "40px" }
5172
- }, dr = { class: "text-caption px-2" }, pr = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, ur = { class: "d-flex justify-start align-center ga-3" }, gr = { class: "text-h5 font-weight-medium" }, fr = {
5199
+ }, pr = { class: "text-caption px-2" }, ur = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, gr = { class: "d-flex justify-start align-center ga-3" }, fr = { class: "text-h5 font-weight-medium" }, br = {
5173
5200
  key: 0,
5174
5201
  class: "d-flex justify-start align-center ga-4 pl-6"
5175
- }, br = {
5202
+ }, yr = {
5176
5203
  key: 1,
5177
5204
  class: "d-flex justify-start align-center ga-4 pl-6"
5178
- }, yr = { class: "text-body-1 py-2" }, wr = { class: "text-body-1 font-weight-medium" }, xr = { class: "text-body-2 opacity-70" }, vr = { class: "text-body-2 opacity-70 mb-3" }, _r = { class: "text-body-1 font-weight-medium" }, kr = { class: "text-body-2 opacity-70" }, zr = { class: "text-body-2 opacity-70 mb-3" }, Lr = { class: "text-body-1 py-2" }, Pr = { class: "text-body-1 font-weight-medium" }, Cr = { class: "text-body-2 opacity-70" }, Sr = { class: "text-body-2 opacity-70 mb-3" }, Mr = { class: "text-body-1 font-weight-medium" }, Tr = { class: "text-body-2 opacity-70" }, Rr = { class: "text-body-2 opacity-70 mb-3" }, Ir = { class: "text-body-1 py-2" }, Ar = { class: "text-body-1 font-weight-medium" }, Dr = { class: "text-body-2 opacity-70" }, Or = { class: "text-body-2 opacity-70 mb-3" };
5179
- function Br(o, e, t, i, a, r) {
5180
- var de, ce, K, I, le, ge, fe, we, xe, Se, Me, Te, Re, Ie, be;
5181
- const s = k("VBtn"), c = k("VTooltip"), n = k("VCol"), p = k("VRow"), d = k("VCardText"), m = k("VDivider"), f = k("VCard"), v = k("VSwitch"), b = k("VCardTitle"), S = k("VCardItem"), L = k("VCheckbox"), B = k("VRadio"), M = k("VBtnToggle"), P = k("IdmWindBarb"), _ = k("IdmSigWaveHeight"), z = k("IdmCurrentDirection"), C = k("IdmPrmsl"), x = k("IdmWindParticle"), R = k("IdmCurrentParticle"), W = k("IdmWave"), X = k("IdmSwell"), V = k("IdmIceEdge"), Y = k("IdmIceCover"), $ = k("IdmIceThickness"), ee = k("IdmPrecip3h"), Q = k("IdmVisibility"), ne = k("IdmWaterTemp"), he = k("IdmTemp");
5182
- return y(), T("div", ar, [
5205
+ }, wr = { class: "text-body-1 py-2" }, xr = { class: "text-body-1 font-weight-medium" }, vr = { class: "text-body-2 opacity-70" }, _r = { class: "text-body-2 opacity-70 mb-3" }, kr = { class: "text-body-1 font-weight-medium" }, zr = { class: "text-body-2 opacity-70" }, Lr = { class: "text-body-2 opacity-70 mb-3" }, Pr = { class: "text-body-1 py-2" }, Cr = { class: "text-body-1 font-weight-medium" }, Mr = { class: "text-body-2 opacity-70" }, Sr = { class: "text-body-2 opacity-70 mb-3" }, Tr = { class: "text-body-1 font-weight-medium" }, Ar = { class: "text-body-2 opacity-70" }, Ir = { class: "text-body-2 opacity-70 mb-3" }, Rr = { class: "text-body-1 py-2" }, Dr = { class: "text-body-1 font-weight-medium" }, Or = { class: "text-body-2 opacity-70" }, Br = { class: "text-body-2 opacity-70 mb-3" };
5206
+ function jr(o, e, t, i, a, r) {
5207
+ var de, ce, K, I, le, ge, fe, we, xe, Me, Se, Te, Ae, Ie, be;
5208
+ const s = k("VBtn"), c = k("VTooltip"), n = k("VCol"), p = k("VRow"), d = k("VCardText"), m = k("VDivider"), f = k("VCard"), v = k("VSwitch"), b = k("VCardTitle"), M = k("VCardItem"), L = k("VCheckbox"), B = k("VRadio"), S = k("VBtnToggle"), P = k("IdmWindBarb"), _ = k("IdmSigWaveHeight"), z = k("IdmCurrentDirection"), C = k("IdmPrmsl"), x = k("IdmWindParticle"), A = k("IdmCurrentParticle"), W = k("IdmWave"), X = k("IdmSwell"), V = k("IdmIceEdge"), Y = k("IdmIceCover"), $ = k("IdmIceThickness"), ee = k("IdmPrecip3h"), Q = k("IdmVisibility"), ne = k("IdmWaterTemp"), he = k("IdmTemp");
5209
+ return y(), T("div", ir, [
5183
5210
  l("div", {
5184
5211
  class: "menu-bar-box transition pa-1",
5185
5212
  style: ae({ top: t.top + 94 + "px", right: a.right + "px" })
@@ -5206,7 +5233,7 @@ function Br(o, e, t, i, a, r) {
5206
5233
  _: 1
5207
5234
  }, 8, ["text"])
5208
5235
  ], 4),
5209
- r.showTipMenu ? (y(), T("div", ir, [
5236
+ r.showTipMenu ? (y(), T("div", rr, [
5210
5237
  l("div", {
5211
5238
  class: "menu-bar-box pa-1 rounded",
5212
5239
  style: ae({ right: a.right + "px" })
@@ -5252,12 +5279,12 @@ function Br(o, e, t, i, a, r) {
5252
5279
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
5253
5280
  }, {
5254
5281
  default: g(() => [
5255
- l("div", rr, [
5282
+ l("div", lr, [
5256
5283
  l("i", {
5257
5284
  class: Ne(["iconfont", r.barbsIconName[te]]),
5258
5285
  style: ae({ color: t.theme === "dark" ? "#fff" : "#000" })
5259
5286
  }, null, 6),
5260
- l("span", lr, w(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
5287
+ l("span", sr, w(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
5261
5288
  ])
5262
5289
  ]),
5263
5290
  _: 2
@@ -5284,12 +5311,12 @@ function Br(o, e, t, i, a, r) {
5284
5311
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
5285
5312
  }, {
5286
5313
  default: g(() => [
5287
- l("div", sr, [
5288
- te === 0 ? (y(), T("div", nr)) : (y(), T("div", {
5314
+ l("div", nr, [
5315
+ te === 0 ? (y(), T("div", cr)) : (y(), T("div", {
5289
5316
  key: 1,
5290
5317
  style: ae({ width: "24px", height: "12px", background: H.color })
5291
5318
  }, null, 4)),
5292
- l("div", cr, w(H.label), 1)
5319
+ l("div", mr, w(H.label), 1)
5293
5320
  ])
5294
5321
  ]),
5295
5322
  _: 2
@@ -5316,14 +5343,14 @@ function Br(o, e, t, i, a, r) {
5316
5343
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
5317
5344
  }, {
5318
5345
  default: g(() => [
5319
- l("div", mr, [
5320
- l("div", hr, [
5346
+ l("div", hr, [
5347
+ l("div", dr, [
5321
5348
  l("i", {
5322
5349
  class: "iconfont icon-a-direction-arrow opacity-80",
5323
5350
  style: ae({ fontSize: 40 * H.size + "px" })
5324
5351
  }, null, 4)
5325
5352
  ]),
5326
- l("div", dr, w(H.label), 1)
5353
+ l("div", pr, w(H.label), 1)
5327
5354
  ])
5328
5355
  ]),
5329
5356
  _: 2
@@ -5343,9 +5370,9 @@ function Br(o, e, t, i, a, r) {
5343
5370
  class: Ne(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
5344
5371
  style: ae({ top: t.top + "px", right: a.toggle ? "0px" : "-280px" })
5345
5372
  }, [
5346
- l("div", pr, [
5347
- l("div", ur, [
5348
- l("div", gr, w(o.$t("weather.weather")), 1),
5373
+ l("div", ur, [
5374
+ l("div", gr, [
5375
+ l("div", fr, w(o.$t("weather.weather")), 1),
5349
5376
  h(v, {
5350
5377
  modelValue: a.autoActive,
5351
5378
  "onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
@@ -5380,7 +5407,7 @@ function Br(o, e, t, i, a, r) {
5380
5407
  elevation: "0"
5381
5408
  }, {
5382
5409
  default: g(() => [
5383
- h(S, { class: "border-b-thin" }, {
5410
+ h(M, { class: "border-b-thin" }, {
5384
5411
  default: g(() => [
5385
5412
  h(b, {
5386
5413
  class: "text-subtitle-1 font-weight-medium",
@@ -5420,7 +5447,7 @@ function Br(o, e, t, i, a, r) {
5420
5447
  elevation: "0"
5421
5448
  }, {
5422
5449
  default: g(() => [
5423
- h(S, { class: "border-b-thin" }, {
5450
+ h(M, { class: "border-b-thin" }, {
5424
5451
  default: g(() => [
5425
5452
  h(b, {
5426
5453
  class: "text-subtitle-1 font-weight-medium",
@@ -5452,7 +5479,7 @@ function Br(o, e, t, i, a, r) {
5452
5479
  "hide-details": "",
5453
5480
  onClick: (te) => a.renderKey = H.key
5454
5481
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
5455
- a.renderKey === "wind-particle" && H.key === "wind-particle" ? (y(), T("div", fr, [
5482
+ a.renderKey === "wind-particle" && H.key === "wind-particle" ? (y(), T("div", br, [
5456
5483
  l("span", null, w(o.$t("weather.particleAnimatiom")), 1),
5457
5484
  h(v, {
5458
5485
  modelValue: a.showWindParticle,
@@ -5466,7 +5493,7 @@ function Br(o, e, t, i, a, r) {
5466
5493
  "hide-details": ""
5467
5494
  }, null, 8, ["modelValue"])
5468
5495
  ])) : F("", !0),
5469
- a.renderKey === "current-particle" && H.key === "current-particle" ? (y(), T("div", br, [
5496
+ a.renderKey === "current-particle" && H.key === "current-particle" ? (y(), T("div", yr, [
5470
5497
  l("span", null, w(o.$t("weather.particleAnimatiom")), 1),
5471
5498
  h(v, {
5472
5499
  modelValue: a.showCurrentParticle,
@@ -5480,7 +5507,7 @@ function Br(o, e, t, i, a, r) {
5480
5507
  "hide-details": ""
5481
5508
  }, null, 8, ["modelValue"])
5482
5509
  ])) : F("", !0),
5483
- a.renderKey === "ice-forecast" && H.key === "ice-forecast" ? (y(), U(M, {
5510
+ a.renderKey === "ice-forecast" && H.key === "ice-forecast" ? (y(), U(S, {
5484
5511
  key: 2,
5485
5512
  modelValue: a.iceToggleValue,
5486
5513
  "onUpdate:modelValue": e[6] || (e[6] = (te) => a.iceToggleValue = te),
@@ -5535,7 +5562,7 @@ function Br(o, e, t, i, a, r) {
5535
5562
  elevation: "0"
5536
5563
  }, {
5537
5564
  default: g(() => [
5538
- h(S, { class: "border-b-thin" }, {
5565
+ h(M, { class: "border-b-thin" }, {
5539
5566
  default: g(() => [
5540
5567
  h(b, {
5541
5568
  class: "text-subtitle-1 font-weight-medium",
@@ -5551,28 +5578,28 @@ function Br(o, e, t, i, a, r) {
5551
5578
  }),
5552
5579
  h(d, { class: "" }, {
5553
5580
  default: g(() => {
5554
- var H, te, je, Pe, me, pe, N, ve, J, ie, Ae, D, ue, Ce, De, Oe, A, G, He, We, Ge, ze, Ue, Ve, Ye, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, bt, yt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, Rt, It, At, Dt, Ot, Bt, jt, Et, Ft, Nt, Ht, Wt, Gt, Ut, Vt, Yt, Zt, Xt, qt;
5581
+ var H, te, je, Pe, me, pe, N, ve, J, ie, Re, D, ue, Ce, De, Oe, R, G, He, We, Ge, ze, Ue, Ve, Ye, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, bt, yt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Mt, St, Tt, At, It, Rt, Dt, Ot, Bt, jt, Et, Ft, Nt, Ht, Wt, Gt, Ut, Vt, Yt, Zt, Xt, qt;
5555
5582
  return [
5556
- l("div", yr, w(o.$t("weather.atmospheric")), 1),
5557
- l("div", wr, w((je = (te = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : te.NOAA) == null ? void 0 : je.source) + " " + w((pe = (me = (Pe = a.models) == null ? void 0 : Pe.weather) == null ? void 0 : me.NOAA) == null ? void 0 : pe.spatialResolution) + w(o.$t("units.km")) + " " + w((ie = (J = (ve = (N = a.models) == null ? void 0 : N.weather) == null ? void 0 : ve.NOAA) == null ? void 0 : J.meta) == null ? void 0 : ie.days) + w(o.$t("units.days")), 1),
5558
- l("div", xr, w(o.$t("weather.source")) + ": NOAA", 1),
5559
- l("div", vr, w(o.$t("weather.lastUpdate")) + ": " + w(r.computeDateZ((Ce = (ue = (D = (Ae = a.models) == null ? void 0 : Ae.weather) == null ? void 0 : D.NOAA) == null ? void 0 : ue.meta) == null ? void 0 : Ce.initialisationTime)), 1),
5560
- l("div", _r, w((A = (Oe = (De = a.models) == null ? void 0 : De.weather) == null ? void 0 : Oe.ECMWF) == null ? void 0 : A.source) + " " + w((We = (He = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : He.ECMWF) == null ? void 0 : We.spatialResolution) + w(o.$t("units.km")) + " " + w((Ve = (Ue = (ze = (Ge = a.models) == null ? void 0 : Ge.weather) == null ? void 0 : ze.ECMWF) == null ? void 0 : Ue.meta) == null ? void 0 : Ve.days) + w(o.$t("units.days")), 1),
5561
- l("div", kr, w(o.$t("weather.source")) + ": ECMWF", 1),
5562
- l("div", zr, w(o.$t("weather.lastUpdate")) + ": " + w(r.computeDateZ((qe = (Xe = (Ze = (Ye = a.models) == null ? void 0 : Ye.weather) == null ? void 0 : Ze.ECMWF) == null ? void 0 : Xe.meta) == null ? void 0 : qe.initialisationTime)), 1),
5583
+ l("div", wr, w(o.$t("weather.atmospheric")), 1),
5584
+ l("div", xr, w((je = (te = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : te.NOAA) == null ? void 0 : je.source) + " " + w((pe = (me = (Pe = a.models) == null ? void 0 : Pe.weather) == null ? void 0 : me.NOAA) == null ? void 0 : pe.spatialResolution) + w(o.$t("units.km")) + " " + w((ie = (J = (ve = (N = a.models) == null ? void 0 : N.weather) == null ? void 0 : ve.NOAA) == null ? void 0 : J.meta) == null ? void 0 : ie.days) + w(o.$t("units.days")), 1),
5585
+ l("div", vr, w(o.$t("weather.source")) + ": NOAA", 1),
5586
+ l("div", _r, w(o.$t("weather.lastUpdate")) + ": " + w(r.computeDateZ((Ce = (ue = (D = (Re = a.models) == null ? void 0 : Re.weather) == null ? void 0 : D.NOAA) == null ? void 0 : ue.meta) == null ? void 0 : Ce.initialisationTime)), 1),
5587
+ l("div", kr, w((R = (Oe = (De = a.models) == null ? void 0 : De.weather) == null ? void 0 : Oe.ECMWF) == null ? void 0 : R.source) + " " + w((We = (He = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : He.ECMWF) == null ? void 0 : We.spatialResolution) + w(o.$t("units.km")) + " " + w((Ve = (Ue = (ze = (Ge = a.models) == null ? void 0 : Ge.weather) == null ? void 0 : ze.ECMWF) == null ? void 0 : Ue.meta) == null ? void 0 : Ve.days) + w(o.$t("units.days")), 1),
5588
+ l("div", zr, w(o.$t("weather.source")) + ": ECMWF", 1),
5589
+ l("div", Lr, w(o.$t("weather.lastUpdate")) + ": " + w(r.computeDateZ((qe = (Xe = (Ze = (Ye = a.models) == null ? void 0 : Ye.weather) == null ? void 0 : Ze.ECMWF) == null ? void 0 : Xe.meta) == null ? void 0 : qe.initialisationTime)), 1),
5563
5590
  h(m),
5564
- l("div", Lr, w(o.$t("weather.wave")), 1),
5565
- l("div", Pr, w(($e = (Je = (Qe = (Ke = a.models) == null ? void 0 : Ke.marine) == null ? void 0 : Qe.wave) == null ? void 0 : Je.NOAA) == null ? void 0 : $e.source) + " " + w((at = (ot = (tt = (et = a.models) == null ? void 0 : et.marine) == null ? void 0 : tt.wave) == null ? void 0 : ot.NOAA) == null ? void 0 : at.spatialResolution) + w(o.$t("units.km")) + " " + w((nt = (st = (lt = (rt = (it = a.models) == null ? void 0 : it.marine) == null ? void 0 : rt.wave) == null ? void 0 : lt.NOAA) == null ? void 0 : st.meta) == null ? void 0 : nt.days) + w(o.$t("units.days")), 1),
5566
- l("div", Cr, w(o.$t("weather.source")) + ": NOAA", 1),
5591
+ l("div", Pr, w(o.$t("weather.wave")), 1),
5592
+ l("div", Cr, w(($e = (Je = (Qe = (Ke = a.models) == null ? void 0 : Ke.marine) == null ? void 0 : Qe.wave) == null ? void 0 : Je.NOAA) == null ? void 0 : $e.source) + " " + w((at = (ot = (tt = (et = a.models) == null ? void 0 : et.marine) == null ? void 0 : tt.wave) == null ? void 0 : ot.NOAA) == null ? void 0 : at.spatialResolution) + w(o.$t("units.km")) + " " + w((nt = (st = (lt = (rt = (it = a.models) == null ? void 0 : it.marine) == null ? void 0 : rt.wave) == null ? void 0 : lt.NOAA) == null ? void 0 : st.meta) == null ? void 0 : nt.days) + w(o.$t("units.days")), 1),
5593
+ l("div", Mr, w(o.$t("weather.source")) + ": NOAA", 1),
5567
5594
  l("div", Sr, w(o.$t("weather.lastUpdate")) + ": " + w(r.computeDateZ((pt = (dt = (ht = (mt = (ct = a.models) == null ? void 0 : ct.marine) == null ? void 0 : mt.wave) == null ? void 0 : ht.NOAA) == null ? void 0 : dt.meta) == null ? void 0 : pt.initialisationTime)), 1),
5568
- l("div", Mr, w((bt = (ft = (gt = (ut = a.models) == null ? void 0 : ut.marine) == null ? void 0 : gt.wave) == null ? void 0 : ft.ECMWF) == null ? void 0 : bt.source) + " " + w((vt = (xt = (wt = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : wt.wave) == null ? void 0 : xt.ECMWF) == null ? void 0 : vt.spatialResolution) + w(o.$t("units.km")) + " " + w((Pt = (Lt = (zt = (kt = (_t = a.models) == null ? void 0 : _t.marine) == null ? void 0 : kt.wave) == null ? void 0 : zt.ECMWF) == null ? void 0 : Lt.meta) == null ? void 0 : Pt.days) + w(o.$t("units.days")), 1),
5569
- l("div", Tr, w(o.$t("weather.source")) + ": ECMWF", 1),
5570
- l("div", Rr, w(o.$t("weather.lastUpdate")) + ": " + w(r.computeDateZ((Rt = (Tt = (Mt = (St = (Ct = a.models) == null ? void 0 : Ct.marine) == null ? void 0 : St.wave) == null ? void 0 : Mt.ECMWF) == null ? void 0 : Tt.meta) == null ? void 0 : Rt.initialisationTime)), 1),
5595
+ l("div", Tr, w((bt = (ft = (gt = (ut = a.models) == null ? void 0 : ut.marine) == null ? void 0 : gt.wave) == null ? void 0 : ft.ECMWF) == null ? void 0 : bt.source) + " " + w((vt = (xt = (wt = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : wt.wave) == null ? void 0 : xt.ECMWF) == null ? void 0 : vt.spatialResolution) + w(o.$t("units.km")) + " " + w((Pt = (Lt = (zt = (kt = (_t = a.models) == null ? void 0 : _t.marine) == null ? void 0 : kt.wave) == null ? void 0 : zt.ECMWF) == null ? void 0 : Lt.meta) == null ? void 0 : Pt.days) + w(o.$t("units.days")), 1),
5596
+ l("div", Ar, w(o.$t("weather.source")) + ": ECMWF", 1),
5597
+ l("div", Ir, w(o.$t("weather.lastUpdate")) + ": " + w(r.computeDateZ((At = (Tt = (St = (Mt = (Ct = a.models) == null ? void 0 : Ct.marine) == null ? void 0 : Mt.wave) == null ? void 0 : St.ECMWF) == null ? void 0 : Tt.meta) == null ? void 0 : At.initialisationTime)), 1),
5571
5598
  h(m),
5572
- l("div", Ir, w(o.$t("weather.currents")), 1),
5573
- l("div", Ar, w((Ot = (Dt = (At = (It = a.models) == null ? void 0 : It.marine) == null ? void 0 : At.current) == null ? void 0 : Dt.ECMWF) == null ? void 0 : Ot.source) + " " + w((Ft = (Et = (jt = (Bt = a.models) == null ? void 0 : Bt.marine) == null ? void 0 : jt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : Ft.spatialResolution) + w(o.$t("units.km")) + " " + w((Ut = (Gt = (Wt = (Ht = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ht.current) == null ? void 0 : Wt.ECMWF) == null ? void 0 : Gt.meta) == null ? void 0 : Ut.days) + w(o.$t("units.days")), 1),
5574
- l("div", Dr, w(o.$t("weather.source")) + ": ECMWF", 1),
5575
- l("div", Or, w(o.$t("weather.lastUpdate")) + ": " + w(r.computeDateZ((qt = (Xt = (Zt = (Yt = (Vt = a.models) == null ? void 0 : Vt.marine) == null ? void 0 : Yt.current) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Xt.meta) == null ? void 0 : qt.initialisationTime)), 1)
5599
+ l("div", Rr, w(o.$t("weather.currents")), 1),
5600
+ l("div", Dr, w((Ot = (Dt = (Rt = (It = a.models) == null ? void 0 : It.marine) == null ? void 0 : Rt.current) == null ? void 0 : Dt.ECMWF) == null ? void 0 : Ot.source) + " " + w((Ft = (Et = (jt = (Bt = a.models) == null ? void 0 : Bt.marine) == null ? void 0 : jt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : Ft.spatialResolution) + w(o.$t("units.km")) + " " + w((Ut = (Gt = (Wt = (Ht = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ht.current) == null ? void 0 : Wt.ECMWF) == null ? void 0 : Gt.meta) == null ? void 0 : Ut.days) + w(o.$t("units.days")), 1),
5601
+ l("div", Or, w(o.$t("weather.source")) + ": ECMWF", 1),
5602
+ l("div", Br, w(o.$t("weather.lastUpdate")) + ": " + w(r.computeDateZ((qt = (Xt = (Zt = (Yt = (Vt = a.models) == null ? void 0 : Vt.marine) == null ? void 0 : Yt.current) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Xt.meta) == null ? void 0 : qt.initialisationTime)), 1)
5576
5603
  ];
5577
5604
  }),
5578
5605
  _: 1
@@ -5621,7 +5648,7 @@ function Br(o, e, t, i, a, r) {
5621
5648
  factor: (le = a.weatherLayers) == null ? void 0 : le["wind-particle"],
5622
5649
  "menu-toggle": t.menuToggle
5623
5650
  }, o.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : F("", !0),
5624
- t.map ? (y(), U(R, j({
5651
+ t.map ? (y(), U(A, j({
5625
5652
  key: 6,
5626
5653
  viewport: a.viewport,
5627
5654
  factor: (ge = a.weatherLayers) == null ? void 0 : ge["current-particle"],
@@ -5649,13 +5676,13 @@ function Br(o, e, t, i, a, r) {
5649
5676
  t.map ? (y(), U(Y, j({
5650
5677
  key: 10,
5651
5678
  viewport: a.viewport,
5652
- factor: (Se = a.weatherLayers) == null ? void 0 : Se["ice-cover"],
5679
+ factor: (Me = a.weatherLayers) == null ? void 0 : Me["ice-cover"],
5653
5680
  "menu-toggle": t.menuToggle
5654
5681
  }, o.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : F("", !0),
5655
5682
  t.map ? (y(), U($, j({
5656
5683
  key: 11,
5657
5684
  viewport: a.viewport,
5658
- factor: (Me = a.weatherLayers) == null ? void 0 : Me["ice-thickness"],
5685
+ factor: (Se = a.weatherLayers) == null ? void 0 : Se["ice-thickness"],
5659
5686
  "menu-toggle": t.menuToggle
5660
5687
  }, o.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : F("", !0),
5661
5688
  t.map ? (y(), U(ee, j({
@@ -5667,7 +5694,7 @@ function Br(o, e, t, i, a, r) {
5667
5694
  t.map ? (y(), U(Q, j({
5668
5695
  key: 13,
5669
5696
  viewport: a.viewport,
5670
- factor: (Re = a.weatherLayers) == null ? void 0 : Re.visibility,
5697
+ factor: (Ae = a.weatherLayers) == null ? void 0 : Ae.visibility,
5671
5698
  "menu-toggle": t.menuToggle
5672
5699
  }, o.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : F("", !0),
5673
5700
  t.map ? (y(), U(ne, j({
@@ -5684,7 +5711,7 @@ function Br(o, e, t, i, a, r) {
5684
5711
  }, o.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : F("", !0)
5685
5712
  ]);
5686
5713
  }
5687
- const jr = /* @__PURE__ */ q(or, [["render", Br]]), Kt = [
5714
+ const Er = /* @__PURE__ */ q(ar, [["render", jr]]), Kt = [
5688
5715
  {
5689
5716
  rank: 0,
5690
5717
  name: "Best Match",
@@ -6031,15 +6058,15 @@ class Do {
6031
6058
  }), a;
6032
6059
  }
6033
6060
  static pickHourly(e, t) {
6034
- var i, a, r, s, c, n, p, d, m, f, v, b, S, L, B, M, P, _, z, C, x, R, W, X, V, Y, $, ee, Q, ne, he, de, ce, K, I, le, ge, fe, we, xe, Se, Me, Te, Re, Ie, be, H, te, je, Pe;
6035
- const me = typeof t == "string" ? O(t) : t, pe = e == null ? void 0 : e.weather, N = e == null ? void 0 : e.marine, ve = O((a = (i = pe == null ? void 0 : pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), J = ve.clone().add((c = (s = (r = pe == null ? void 0 : pe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), ie = ve.clone().add((d = (p = (n = pe == null ? void 0 : pe[0]) == null ? void 0 : n.hourly) == null ? void 0 : p.time) == null ? void 0 : d.at(-1), "h"), Ae = [];
6061
+ var i, a, r, s, c, n, p, d, m, f, v, b, M, L, B, S, P, _, z, C, x, A, W, X, V, Y, $, ee, Q, ne, he, de, ce, K, I, le, ge, fe, we, xe, Me, Se, Te, Ae, Ie, be, H, te, je, Pe;
6062
+ const me = typeof t == "string" ? O(t) : t, pe = e == null ? void 0 : e.weather, N = e == null ? void 0 : e.marine, ve = O((a = (i = pe == null ? void 0 : pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), J = ve.clone().add((c = (s = (r = pe == null ? void 0 : pe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), ie = ve.clone().add((d = (p = (n = pe == null ? void 0 : pe[0]) == null ? void 0 : n.hourly) == null ? void 0 : p.time) == null ? void 0 : d.at(-1), "h"), Re = [];
6036
6063
  if (me.isBetween(J, ie, "millisecond", "[]")) {
6037
6064
  const D = me.utc().diff(J, "h", !1);
6038
6065
  let ue, Ce;
6039
6066
  if (pe) {
6040
6067
  let De = 0, Oe = 0;
6041
- for (const A of pe) {
6042
- const G = A == null ? void 0 : A.hourly;
6068
+ for (const R of pe) {
6069
+ const G = R == null ? void 0 : R.hourly;
6043
6070
  for (let ze = D - (D - 1) % 3; ze <= D; ze++)
6044
6071
  De += (m = G == null ? void 0 : G.precipitation) == null ? void 0 : m.at(ze);
6045
6072
  for (let ze = D - (D - 1) % 6; ze <= D; ze++)
@@ -6047,11 +6074,11 @@ class Do {
6047
6074
  ue = {
6048
6075
  temp: (v = G == null ? void 0 : G.temperature_2m) == null ? void 0 : v.at(D),
6049
6076
  apparentTemp: (b = G == null ? void 0 : G.apparent_temperature) == null ? void 0 : b.at(D),
6050
- rh: (S = G == null ? void 0 : G.relative_humidity_2m) == null ? void 0 : S.at(D),
6077
+ rh: (M = G == null ? void 0 : G.relative_humidity_2m) == null ? void 0 : M.at(D),
6051
6078
  dp: (L = G == null ? void 0 : G.dew_point_2m) == null ? void 0 : L.at(D),
6052
6079
  precip: {
6053
6080
  probability: (B = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : B.at(D),
6054
- sum: (M = G == null ? void 0 : G.precipitation) == null ? void 0 : M.at(D),
6081
+ sum: (S = G == null ? void 0 : G.precipitation) == null ? void 0 : S.at(D),
6055
6082
  sum3Hours: Math.round(De * 100) / 100,
6056
6083
  sum6Hours: Math.round(Oe * 100) / 100
6057
6084
  },
@@ -6061,7 +6088,7 @@ class Do {
6061
6088
  visibility: this.m2nm((C = G == null ? void 0 : G.visibility) == null ? void 0 : C.at(D)),
6062
6089
  wind: {
6063
6090
  speed: (x = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : x.at(D),
6064
- kts: (R = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : R.at(D),
6091
+ kts: (A = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : A.at(D),
6065
6092
  degree: (W = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : W.at(D),
6066
6093
  bearing: ((X = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : X.at(D)) !== null ? (((V = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : V.at(D)) + 180) % 360 : null,
6067
6094
  gusts: (Y = G == null ? void 0 : G.wind_gusts_10m) == null ? void 0 : Y.at(D)
@@ -6069,9 +6096,9 @@ class Do {
6069
6096
  isDay: ($ = G == null ? void 0 : G.is_day) == null ? void 0 : $.at(D)
6070
6097
  };
6071
6098
  const { name: He, url: We, bg: Ge } = this.parseWeatherCode(ue.code, ue.isDay);
6072
- ue.name = He, ue.url = We, ue.bg = Ge, ue.wind.scale = this.beaufort(this.kts2ms(ue.wind.kts)), ue.wind.direction = this.degree2Direction(ue.wind.degree), Ae.push({
6099
+ ue.name = He, ue.url = We, ue.bg = Ge, ue.wind.scale = this.beaufort(this.kts2ms(ue.wind.kts)), ue.wind.direction = this.degree2Direction(ue.wind.degree), Re.push({
6073
6100
  utc: J.add(D, "h").format(),
6074
- model: A.model,
6101
+ model: R.model,
6075
6102
  weather: { ...ue }
6076
6103
  });
6077
6104
  }
@@ -6079,43 +6106,43 @@ class Do {
6079
6106
  if (N) {
6080
6107
  let De = 0;
6081
6108
  for (const Oe of N) {
6082
- const A = Oe == null ? void 0 : Oe.hourly;
6109
+ const R = Oe == null ? void 0 : Oe.hourly;
6083
6110
  Ce = {
6084
6111
  wave: {
6085
6112
  sig: {
6086
- height: (ee = A == null ? void 0 : A.wave_height) == null ? void 0 : ee.at(D),
6087
- degree: (Q = A == null ? void 0 : A.wave_direction) == null ? void 0 : Q.at(D),
6088
- bearing: ((ne = A == null ? void 0 : A.wave_direction) == null ? void 0 : ne.at(D)) !== null ? (((he = A == null ? void 0 : A.wave_direction) == null ? void 0 : he.at(D)) + 180) % 360 : null,
6089
- period: (de = A == null ? void 0 : A.wave_period) == null ? void 0 : de.at(D)
6113
+ height: (ee = R == null ? void 0 : R.wave_height) == null ? void 0 : ee.at(D),
6114
+ degree: (Q = R == null ? void 0 : R.wave_direction) == null ? void 0 : Q.at(D),
6115
+ bearing: ((ne = R == null ? void 0 : R.wave_direction) == null ? void 0 : ne.at(D)) !== null ? (((he = R == null ? void 0 : R.wave_direction) == null ? void 0 : he.at(D)) + 180) % 360 : null,
6116
+ period: (de = R == null ? void 0 : R.wave_period) == null ? void 0 : de.at(D)
6090
6117
  },
6091
6118
  swell: {
6092
- height: (ce = A == null ? void 0 : A.swell_wave_height) == null ? void 0 : ce.at(D),
6093
- degree: (K = A == null ? void 0 : A.swell_wave_direction) == null ? void 0 : K.at(D),
6094
- bearing: ((I = A == null ? void 0 : A.swell_wave_direction) == null ? void 0 : I.at(D)) !== null ? (((le = A == null ? void 0 : A.swell_wave_direction) == null ? void 0 : le.at(D)) + 180) % 360 : null,
6095
- period: (ge = A == null ? void 0 : A.swell_wave_period) == null ? void 0 : ge.at(D),
6096
- peakPeriod: (fe = A == null ? void 0 : A.swell_wave_peak_period) == null ? void 0 : fe.at(D)
6119
+ height: (ce = R == null ? void 0 : R.swell_wave_height) == null ? void 0 : ce.at(D),
6120
+ degree: (K = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : K.at(D),
6121
+ bearing: ((I = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : I.at(D)) !== null ? (((le = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : le.at(D)) + 180) % 360 : null,
6122
+ period: (ge = R == null ? void 0 : R.swell_wave_period) == null ? void 0 : ge.at(D),
6123
+ peakPeriod: (fe = R == null ? void 0 : R.swell_wave_peak_period) == null ? void 0 : fe.at(D)
6097
6124
  },
6098
6125
  wd: {
6099
- height: (we = A == null ? void 0 : A.wind_wave_height) == null ? void 0 : we.at(D),
6100
- degree: (xe = A == null ? void 0 : A.wind_wave_direction) == null ? void 0 : xe.at(D),
6101
- bearing: ((Se = A == null ? void 0 : A.wind_wave_direction) == null ? void 0 : Se.at(D)) !== null ? (((Me = A == null ? void 0 : A.wind_wave_direction) == null ? void 0 : Me.at(D)) + 180) % 360 : null,
6102
- period: (Te = A == null ? void 0 : A.wind_wave_period) == null ? void 0 : Te.at(D),
6103
- peakPeriod: (Re = A == null ? void 0 : A.wind_wave_peak_period) == null ? void 0 : Re.at(D)
6126
+ height: (we = R == null ? void 0 : R.wind_wave_height) == null ? void 0 : we.at(D),
6127
+ degree: (xe = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : xe.at(D),
6128
+ bearing: ((Me = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : Me.at(D)) !== null ? (((Se = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : Se.at(D)) + 180) % 360 : null,
6129
+ period: (Te = R == null ? void 0 : R.wind_wave_period) == null ? void 0 : Te.at(D),
6130
+ peakPeriod: (Ae = R == null ? void 0 : R.wind_wave_peak_period) == null ? void 0 : Ae.at(D)
6104
6131
  }
6105
6132
  },
6106
6133
  current: {
6107
- speed: (Ie = A == null ? void 0 : A.ocean_current_velocity) == null ? void 0 : Ie.at(D),
6108
- kts: (be = A == null ? void 0 : A.ocean_current_velocity) == null ? void 0 : be.at(D),
6109
- degree: (H = A == null ? void 0 : A.ocean_current_direction) == null ? void 0 : H.at(D),
6110
- bearing: ((te = A == null ? void 0 : A.ocean_current_direction) == null ? void 0 : te.at(D)) ?? null
6111
- },
6112
- sst: (je = A == null ? void 0 : A.sea_surface_temperature) == null ? void 0 : je.at(D),
6113
- height: (Pe = A == null ? void 0 : A.sea_level_height_msl) == null ? void 0 : Pe.at(D)
6114
- }, Ce.wave = this.parseWave(Ce.wave, ue == null ? void 0 : ue.wind), Ce.current.direction = this.degree2Direction(Ce.current.degree), Object.assign(Ae[De], Ce), De++;
6134
+ speed: (Ie = R == null ? void 0 : R.ocean_current_velocity) == null ? void 0 : Ie.at(D),
6135
+ kts: (be = R == null ? void 0 : R.ocean_current_velocity) == null ? void 0 : be.at(D),
6136
+ degree: (H = R == null ? void 0 : R.ocean_current_direction) == null ? void 0 : H.at(D),
6137
+ bearing: ((te = R == null ? void 0 : R.ocean_current_direction) == null ? void 0 : te.at(D)) ?? null
6138
+ },
6139
+ sst: (je = R == null ? void 0 : R.sea_surface_temperature) == null ? void 0 : je.at(D),
6140
+ height: (Pe = R == null ? void 0 : R.sea_level_height_msl) == null ? void 0 : Pe.at(D)
6141
+ }, Ce.wave = this.parseWave(Ce.wave, ue == null ? void 0 : ue.wind), Ce.current.direction = this.degree2Direction(Ce.current.degree), Object.assign(Re[De], Ce), De++;
6115
6142
  }
6116
6143
  }
6117
6144
  }
6118
- return Ae;
6145
+ return Re;
6119
6146
  }
6120
6147
  static toLegacy(e) {
6121
6148
  var t, i, a, r, s, c, n, p, d, m;
@@ -6140,7 +6167,7 @@ class Do {
6140
6167
  };
6141
6168
  }
6142
6169
  static pickDaily(e, t) {
6143
- var i, a, r, s, c, n, p, d, m, f, v, b, S, L, B, M, P, _, z, C, x, R, W, X, V, Y, $, ee, Q, ne, he, de, ce, K, I, le, ge, fe, we, xe, Se, Me, Te, Re;
6170
+ var i, a, r, s, c, n, p, d, m, f, v, b, M, L, B, S, P, _, z, C, x, A, W, X, V, Y, $, ee, Q, ne, he, de, ce, K, I, le, ge, fe, we, xe, Me, Se, Te, Ae;
6144
6171
  const Ie = typeof t == "string" ? O(t) : t, be = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, te = O((r = (a = (i = be == null ? void 0 : be[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = O((n = (c = (s = be == null ? void 0 : be[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Pe = [];
6145
6172
  if (Ie.isBetween(te, je, "millisecond", "[]")) {
6146
6173
  let me, pe;
@@ -6160,10 +6187,10 @@ class Do {
6160
6187
  min: (b = J.apparent_temperature_min) == null ? void 0 : b.at(N)
6161
6188
  },
6162
6189
  precip: {
6163
- sum: (S = J.precipitation_sum) == null ? void 0 : S.at(N),
6190
+ sum: (M = J.precipitation_sum) == null ? void 0 : M.at(N),
6164
6191
  rainSum: (L = J.rain_sum) == null ? void 0 : L.at(N),
6165
6192
  snowfallSum: (B = J.snowfall_sum) == null ? void 0 : B.at(N),
6166
- showersSum: (M = J.showers_sum) == null ? void 0 : M.at(N),
6193
+ showersSum: (S = J.showers_sum) == null ? void 0 : S.at(N),
6167
6194
  hours: (P = J.precipitation_hours) == null ? void 0 : P.at(N),
6168
6195
  probability: (_ = J.precipitation_probability_max) == null ? void 0 : _.at(N)
6169
6196
  },
@@ -6173,15 +6200,15 @@ class Do {
6173
6200
  mean: (x = J.relative_humidity_2m_mean) == null ? void 0 : x.at(N)
6174
6201
  },
6175
6202
  wind: {
6176
- speed: (R = J.wind_speed_10m_max) == null ? void 0 : R.at(N),
6203
+ speed: (A = J.wind_speed_10m_max) == null ? void 0 : A.at(N),
6177
6204
  kts: (W = J.wind_speed_10m_max) == null ? void 0 : W.at(N),
6178
6205
  degree: (X = J.wind_direction_10m_dominant) == null ? void 0 : X.at(N),
6179
6206
  gusts: (V = J.wind_gusts_10m_max) == null ? void 0 : V.at(N),
6180
6207
  bearing: ((Y = J.wind_direction_10m_dominant) == null ? void 0 : Y.at(N)) !== null ? ((($ = J.wind_direction_10m_dominant) == null ? void 0 : $.at(N)) + 180) % 360 : null
6181
6208
  }
6182
6209
  };
6183
- const { name: ie, url: Ae, bg: D } = this.parseWeatherCode(me.code, !0);
6184
- me.name = ie, me.url = Ae, me.bg = D, me.wind.scale = this.beaufort(this.kts2ms(me.wind.kts)), me.wind.direction = this.degree2Direction(me.wind.degree), Pe.push({
6210
+ const { name: ie, url: Re, bg: D } = this.parseWeatherCode(me.code, !0);
6211
+ me.name = ie, me.url = Re, me.bg = D, me.wind.scale = this.beaufort(this.kts2ms(me.wind.kts)), me.wind.direction = this.degree2Direction(me.wind.degree), Pe.push({
6185
6212
  utc: te.add(N, "d").utc().format(),
6186
6213
  model: ve.model,
6187
6214
  weather: { ...me }
@@ -6210,9 +6237,9 @@ class Do {
6210
6237
  wd: {
6211
6238
  height: (we = ie.wind_wave_height_max) == null ? void 0 : we.at(N),
6212
6239
  degree: (xe = ie.wind_wave_direction_dominant) == null ? void 0 : xe.at(N),
6213
- period: (Se = ie.wind_wave_period_max) == null ? void 0 : Se.at(N),
6214
- peakPeriod: (Me = ie.wind_wave_peak_period_max) == null ? void 0 : Me.at(N),
6215
- bearing: ((Te = ie.wind_wave_direction_dominant) == null ? void 0 : Te.at(N)) !== null ? (((Re = ie.wind_wave_direction_dominant) == null ? void 0 : Re.at(N)) + 180) % 360 : null
6240
+ period: (Me = ie.wind_wave_period_max) == null ? void 0 : Me.at(N),
6241
+ peakPeriod: (Se = ie.wind_wave_peak_period_max) == null ? void 0 : Se.at(N),
6242
+ bearing: ((Te = ie.wind_wave_direction_dominant) == null ? void 0 : Te.at(N)) !== null ? (((Ae = ie.wind_wave_direction_dominant) == null ? void 0 : Ae.at(N)) + 180) % 360 : null
6216
6243
  }
6217
6244
  }
6218
6245
  }, pe.wave = this.parseWave(pe.wave, me == null ? void 0 : me.wind), Object.assign(Pe[ve], pe), ve++;
@@ -6620,7 +6647,7 @@ class Do {
6620
6647
  return isNaN(e) || e <= 0.1 ? t = "Calm" : e <= 0.5 ? t = "Smooth" : e <= 1.25 ? t = "Slight" : e <= 2.5 ? t = "Moderate" : e <= 4 ? t = "Rough" : e <= 6 ? t = "VeryRough" : e <= 9 ? t = "High" : e <= 14 ? t = "VeryHigh" : t = "Precipitous", t;
6621
6648
  }
6622
6649
  }
6623
- const Er = {
6650
+ const Fr = {
6624
6651
  name: "IdmTropicals",
6625
6652
  props: {
6626
6653
  map: {
@@ -6773,9 +6800,9 @@ const Er = {
6773
6800
  },
6774
6801
  responseType: /\.(jpg|png)$/.test(p.tropicals) ? "blob" : "json"
6775
6802
  }).then((d) => {
6776
- var v, b, S;
6777
- const m = Ao.convert2Geojson(((v = d == null ? void 0 : d.data) == null ? void 0 : v.data) || (d == null ? void 0 : d.data));
6778
- ((S = (b = d == null ? void 0 : d.config) == null ? void 0 : b.headers) == null ? void 0 : S.key) && m && (this.tropicals = {
6803
+ var v, b, M;
6804
+ const m = Ro.convert2Geojson(((v = d == null ? void 0 : d.data) == null ? void 0 : v.data) || (d == null ? void 0 : d.data));
6805
+ ((M = (b = d == null ? void 0 : d.config) == null ? void 0 : b.headers) == null ? void 0 : M.key) && m && (this.tropicals = {
6779
6806
  data: m,
6780
6807
  active: !0,
6781
6808
  cached: !0,
@@ -7041,7 +7068,7 @@ const Er = {
7041
7068
  }), v = (/* @__PURE__ */ new Date()).valueOf() - (m + f), console.log("[tropical] add elapsed: ", v, ", total: ", f += v));
7042
7069
  }
7043
7070
  this.handleDrawCircle();
7044
- const d = Ao.interpolate(this.tropicals, 1);
7071
+ const d = Ro.interpolate(this.tropicals, 1);
7045
7072
  this.interpolateData = JSON.parse(JSON.stringify(d)), this.handleDateChange();
7046
7073
  }
7047
7074
  },
@@ -7063,7 +7090,7 @@ const Er = {
7063
7090
  ), this.showTropicalsInfo = !1, (t = this.activeTropicalsMarker) == null || t.remove(), this.activeTropicalsMarker = void 0;
7064
7091
  },
7065
7092
  handleDateChange() {
7066
- var o, e, t, i, a, r, s, c, n, p, d, m, f, v, b, S, L, B, M, P, _, z, C, x, R, W, X, V, Y, $, ee, Q;
7093
+ var o, e, t, i, a, r, s, c, n, p, d, m, f, v, b, M, L, B, S, P, _, z, C, x, A, W, X, V, Y, $, ee, Q;
7067
7094
  if ((o = this.interpolateMarkers) == null || o.forEach((ne) => ne == null ? void 0 : ne.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
7068
7095
  const ne = O(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), he = this.interpolateData.filter((K) => K.properties.date === ne.format() && !K.properties.disabled), de = this.handleComputePolygons(he), ce = E.featureCollection([...he]);
7069
7096
  de.forEach((K) => {
@@ -7085,7 +7112,7 @@ const Er = {
7085
7112
  for (const K of he)
7086
7113
  if (!K.properties.disabled) {
7087
7114
  let I = "#f44336";
7088
- ((c = (s = K.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((p = (n = K.properties) == null ? void 0 : n.wind) != null && p.kts) ? I = "#03f869" : ((m = (d = K.properties) == null ? void 0 : d.wind) == null ? void 0 : m.kts) >= 32 && ((v = (f = K.properties) == null ? void 0 : f.wind) == null ? void 0 : v.kts) < 47 ? I = "#f2f202" : ((S = (b = K.properties) == null ? void 0 : b.wind) == null ? void 0 : S.kts) >= 47 && ((B = (L = K.properties) == null ? void 0 : L.wind) == null ? void 0 : B.kts) < 63 ? I = "#ff9100" : ((P = (M = K.properties) == null ? void 0 : M.wind) == null ? void 0 : P.kts) >= 63 && ((z = (_ = K.properties) == null ? void 0 : _.wind) == null ? void 0 : z.kts) < 79 ? I = "#f44336" : ((x = (C = K.properties) == null ? void 0 : C.wind) == null ? void 0 : x.kts) >= 79 && ((W = (R = K.properties) == null ? void 0 : R.wind) == null ? void 0 : W.kts) < 94 ? I = "#f903d0" : ((V = (X = K.properties) == null ? void 0 : X.wind) == null ? void 0 : V.kts) >= 94 ? I = "#8702f9" : I = "#f44336";
7115
+ ((c = (s = K.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((p = (n = K.properties) == null ? void 0 : n.wind) != null && p.kts) ? I = "#03f869" : ((m = (d = K.properties) == null ? void 0 : d.wind) == null ? void 0 : m.kts) >= 32 && ((v = (f = K.properties) == null ? void 0 : f.wind) == null ? void 0 : v.kts) < 47 ? I = "#f2f202" : ((M = (b = K.properties) == null ? void 0 : b.wind) == null ? void 0 : M.kts) >= 47 && ((B = (L = K.properties) == null ? void 0 : L.wind) == null ? void 0 : B.kts) < 63 ? I = "#ff9100" : ((P = (S = K.properties) == null ? void 0 : S.wind) == null ? void 0 : P.kts) >= 63 && ((z = (_ = K.properties) == null ? void 0 : _.wind) == null ? void 0 : z.kts) < 79 ? I = "#f44336" : ((x = (C = K.properties) == null ? void 0 : C.wind) == null ? void 0 : x.kts) >= 79 && ((W = (A = K.properties) == null ? void 0 : A.wind) == null ? void 0 : W.kts) < 94 ? I = "#f903d0" : ((V = (X = K.properties) == null ? void 0 : X.wind) == null ? void 0 : V.kts) >= 94 ? I = "#8702f9" : I = "#f44336";
7089
7116
  const le = `<svg t="1719918955501"
7090
7117
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
7091
7118
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -7213,10 +7240,10 @@ const Er = {
7213
7240
  return E.lineToPolygon(a, { properties: t });
7214
7241
  }
7215
7242
  }
7216
- }, Fr = { class: "idm-tropical-gl4" }, Nr = { key: 0 }, Hr = { class: "text-body-2 opacity-50" }, Wr = { class: "pa-1 d-flex justify-space-between align-center" }, Gr = { class: "col col-left justify-start" }, Ur = { class: "col col-right justify-start" }, Vr = { class: "px-1 py-2 d-flex justify-space-between align-center" }, Yr = { class: "d-flex justify-space-between align-center col-left justify-start" }, Zr = { class: "d-flex justify-space-between align-center col-right" }, Xr = { class: "pa-1 d-flex justify-space-between align-center" }, qr = { class: "d-flex justify-space-between align-center flex-1-1-100" }, Kr = { class: "d-flex justify-end align-center flex-1-1-0 flex-wrap" }, Qr = ["onClick"];
7217
- function Jr(o, e, t, i, a, r) {
7243
+ }, Nr = { class: "idm-tropical-gl4" }, Hr = { key: 0 }, Wr = { class: "text-body-2 opacity-50" }, Gr = { class: "pa-1 d-flex justify-space-between align-center" }, Ur = { class: "col col-left justify-start" }, Vr = { class: "col col-right justify-start" }, Yr = { class: "px-1 py-2 d-flex justify-space-between align-center" }, Zr = { class: "d-flex justify-space-between align-center col-left justify-start" }, Xr = { class: "d-flex justify-space-between align-center col-right" }, qr = { class: "pa-1 d-flex justify-space-between align-center" }, Kr = { class: "d-flex justify-space-between align-center flex-1-1-100" }, Qr = { class: "d-flex justify-end align-center flex-1-1-0 flex-wrap" }, Jr = ["onClick"];
7244
+ function $r(o, e, t, i, a, r) {
7218
7245
  const s = k("VBtn"), c = k("VTooltip"), n = k("VCardTitle"), p = k("VCardSubtitle"), d = k("VCardItem"), m = k("VCardText"), f = k("VCard");
7219
- return y(), T("div", Fr, [
7246
+ return y(), T("div", Nr, [
7220
7247
  l("div", {
7221
7248
  class: "menu-bar-box transition pa-1",
7222
7249
  style: ae({ top: t.top + 134 + "px", right: a.right + "px" })
@@ -7257,10 +7284,10 @@ function Jr(o, e, t, i, a, r) {
7257
7284
  style: { "font-size": "16px !important" }
7258
7285
  }, {
7259
7286
  default: g(() => {
7260
- var v, b, S, L, B;
7287
+ var v, b, M, L, B;
7261
7288
  return [
7262
7289
  l("div", null, [
7263
- (b = (v = a.activeTropicals) == null ? void 0 : v.history) != null && b.level ? (y(), T("span", Nr, w((L = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : L.level) + " , ", 1)) : F("", !0),
7290
+ (b = (v = a.activeTropicals) == null ? void 0 : v.history) != null && b.level ? (y(), T("span", Hr, w((L = (M = a.activeTropicals) == null ? void 0 : M.history) == null ? void 0 : L.level) + " , ", 1)) : F("", !0),
7264
7291
  Z(w((B = a.activeTropicals) == null ? void 0 : B.name), 1)
7265
7292
  ]),
7266
7293
  h(s, {
@@ -7268,7 +7295,7 @@ function Jr(o, e, t, i, a, r) {
7268
7295
  size: "small",
7269
7296
  density: "comfortable",
7270
7297
  variant: "plain",
7271
- onClick: e[0] || (e[0] = (M) => a.showTropicalsInfo = !1)
7298
+ onClick: e[0] || (e[0] = (S) => a.showTropicalsInfo = !1)
7272
7299
  })
7273
7300
  ];
7274
7301
  }),
@@ -7276,9 +7303,9 @@ function Jr(o, e, t, i, a, r) {
7276
7303
  }),
7277
7304
  h(p, null, {
7278
7305
  default: g(() => {
7279
- var v, b, S, L, B;
7306
+ var v, b, M, L, B;
7280
7307
  return [
7281
- l("span", Hr, " Last update: " + w(r.computeTime(((b = (v = a.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : b.updated) || ((B = (L = (S = a.activeTropicals) == null ? void 0 : S.forecasts) == null ? void 0 : L.filter((M) => !M.disabled)[0]) == null ? void 0 : B.date))), 1)
7308
+ l("span", Wr, " Last update: " + w(r.computeTime(((b = (v = a.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : b.updated) || ((B = (L = (M = a.activeTropicals) == null ? void 0 : M.forecasts) == null ? void 0 : L.filter((S) => !S.disabled)[0]) == null ? void 0 : B.date))), 1)
7282
7309
  ];
7283
7310
  }),
7284
7311
  _: 1
@@ -7288,48 +7315,48 @@ function Jr(o, e, t, i, a, r) {
7288
7315
  }),
7289
7316
  h(m, { class: "main-box" }, {
7290
7317
  default: g(() => {
7291
- var v, b, S, L, B, M, P, _, z;
7318
+ var v, b, M, L, B, S, P, _, z;
7292
7319
  return [
7293
- l("div", Wr, [
7294
- l("div", Gr, [
7320
+ l("div", Gr, [
7321
+ l("div", Ur, [
7295
7322
  e[2] || (e[2] = l("label", null, "Wind speed : ", -1)),
7296
7323
  l("span", null, w(((b = (v = a.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : b.kts) || "-") + " [kts]", 1),
7297
- l("span", null, ", BF " + w(r.computeBF(((L = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : L.kts) || 0)), 1)
7324
+ l("span", null, ", BF " + w(r.computeBF(((L = (M = a.activeTropicals) == null ? void 0 : M.history) == null ? void 0 : L.kts) || 0)), 1)
7298
7325
  ]),
7299
- l("div", Ur, [
7326
+ l("div", Vr, [
7300
7327
  e[3] || (e[3] = l("label", null, "Pressure : ", -1)),
7301
- l("span", null, w(((M = (B = a.activeTropicals) == null ? void 0 : B.history) == null ? void 0 : M.pressure) || "-") + " [hPa]", 1)
7328
+ l("span", null, w(((S = (B = a.activeTropicals) == null ? void 0 : B.history) == null ? void 0 : S.pressure) || "-") + " [hPa]", 1)
7302
7329
  ])
7303
7330
  ]),
7304
- l("div", Vr, [
7305
- l("div", Yr, [
7331
+ l("div", Yr, [
7332
+ l("div", Zr, [
7306
7333
  e[4] || (e[4] = l("label", null, "Move Speed: ", -1)),
7307
7334
  l("span", null, w((P = r.computeMovement(a.activeTropicals)) == null ? void 0 : P.kts) + " [kts]", 1)
7308
7335
  ]),
7309
- l("div", Zr, [
7336
+ l("div", Xr, [
7310
7337
  e[5] || (e[5] = l("label", null, "Move Dir: ", -1)),
7311
7338
  l("span", null, w((_ = r.computeMovement(a.activeTropicals)) == null ? void 0 : _.deg) + " [°]", 1)
7312
7339
  ])
7313
7340
  ]),
7314
- l("div", Xr, [
7315
- l("div", qr, [
7341
+ l("div", qr, [
7342
+ l("div", Kr, [
7316
7343
  e[6] || (e[6] = l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
7317
- l("div", Kr, [
7344
+ l("div", Qr, [
7318
7345
  (y(!0), T(_e, null, Le((z = a.activeTropicals) == null ? void 0 : z.forecasts, (C, x) => {
7319
- var R, W, X, V;
7346
+ var A, W, X, V;
7320
7347
  return y(), T("div", {
7321
7348
  key: x,
7322
7349
  class: Ne([
7323
7350
  "model",
7324
7351
  C.disabled ? "" : "active",
7325
- x > 0 && x < ((W = (R = a.activeTropicals) == null ? void 0 : R.forecasts) == null ? void 0 : W.length) - 1 && ((V = (X = a.activeTropicals) == null ? void 0 : X.forecasts) == null ? void 0 : V.length) > 2 ? "center-child" : ""
7352
+ x > 0 && x < ((W = (A = a.activeTropicals) == null ? void 0 : A.forecasts) == null ? void 0 : W.length) - 1 && ((V = (X = a.activeTropicals) == null ? void 0 : X.forecasts) == null ? void 0 : V.length) > 2 ? "center-child" : ""
7326
7353
  ]),
7327
7354
  onClick: (Y) => r.handleForecastToggle(C)
7328
7355
  }, [
7329
7356
  l("span", {
7330
7357
  class: Ne(C.model)
7331
7358
  }, w(C.model), 3)
7332
- ], 10, Qr);
7359
+ ], 10, Jr);
7333
7360
  }), 128))
7334
7361
  ])
7335
7362
  ])
@@ -7386,8 +7413,8 @@ function Jr(o, e, t, i, a, r) {
7386
7413
  ])
7387
7414
  ]);
7388
7415
  }
7389
- const Bo = /* @__PURE__ */ q(Er, [["render", Jr]]);
7390
- const $r = {
7416
+ const Bo = /* @__PURE__ */ q(Fr, [["render", $r]]);
7417
+ const el = {
7391
7418
  name: "DateTimePicker",
7392
7419
  props: {
7393
7420
  locale: {
@@ -7536,19 +7563,19 @@ const $r = {
7536
7563
  this.currentDate = o.clone().format("YYYY-MM-DD"), this.currentTime = o.clone().format("HH:00");
7537
7564
  }
7538
7565
  }
7539
- }, el = { class: "idm-gl4-timepicker" }, tl = {
7566
+ }, tl = { class: "idm-gl4-timepicker" }, ol = {
7540
7567
  class: "pa-0",
7541
7568
  style: { width: "250px" }
7542
- }, ol = {
7569
+ }, al = {
7543
7570
  class: "h-100 pa-0 d-flex flex-column justify-start align-center",
7544
7571
  style: { width: "100px" }
7545
- }, al = {
7572
+ }, il = {
7546
7573
  class: "d-flex justify-center align-center text-body-2",
7547
7574
  style: { height: "56px" }
7548
7575
  };
7549
- function il(o, e, t, i, a, r) {
7576
+ function rl(o, e, t, i, a, r) {
7550
7577
  const s = k("VBtn"), c = k("VDatePicker"), n = k("VDivider"), p = k("VListItemTitle"), d = k("VListItem"), m = k("VList"), f = k("VCardText"), v = k("VCardActions"), b = k("VCard");
7551
- return y(), T("div", el, [
7578
+ return y(), T("div", tl, [
7552
7579
  h(s, {
7553
7580
  text: "",
7554
7581
  height: "30",
@@ -7567,10 +7594,10 @@ function il(o, e, t, i, a, r) {
7567
7594
  default: g(() => [
7568
7595
  h(f, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
7569
7596
  default: g(() => [
7570
- l("div", tl, [
7597
+ l("div", ol, [
7571
7598
  h(c, {
7572
7599
  modelValue: a.currentDate,
7573
- "onUpdate:modelValue": e[0] || (e[0] = (S) => a.currentDate = S),
7600
+ "onUpdate:modelValue": e[0] || (e[0] = (M) => a.currentDate = M),
7574
7601
  min: a.dateRange[0],
7575
7602
  max: a.dateRange[1],
7576
7603
  "mode-icon": () => r.currentYear,
@@ -7586,15 +7613,15 @@ function il(o, e, t, i, a, r) {
7586
7613
  class: "h-100",
7587
7614
  vertical: ""
7588
7615
  }),
7589
- l("div", ol, [
7590
- l("div", al, w(a.currentTime), 1),
7616
+ l("div", al, [
7617
+ l("div", il, w(a.currentTime), 1),
7591
7618
  h(m, { class: "pa-0 flex-1-1-0" }, {
7592
7619
  default: g(() => [
7593
- (y(!0), T(_e, null, Le(r.hourOptions, (S, L) => (y(), U(d, {
7620
+ (y(!0), T(_e, null, Le(r.hourOptions, (M, L) => (y(), U(d, {
7594
7621
  key: L,
7595
- value: S,
7622
+ value: M,
7596
7623
  color: "primary",
7597
- active: a.currentTime === S,
7624
+ active: a.currentTime === M,
7598
7625
  rounded: "",
7599
7626
  height: "26",
7600
7627
  "min-height": "26"
@@ -7602,10 +7629,10 @@ function il(o, e, t, i, a, r) {
7602
7629
  default: g(() => [
7603
7630
  h(p, {
7604
7631
  class: "text-body-2 text-center",
7605
- onClick: (B) => a.currentTime = S
7632
+ onClick: (B) => a.currentTime = M
7606
7633
  }, {
7607
7634
  default: g(() => [
7608
- Z(w(S), 1)
7635
+ Z(w(M), 1)
7609
7636
  ]),
7610
7637
  _: 2
7611
7638
  }, 1032, ["onClick"])
@@ -7658,8 +7685,8 @@ function il(o, e, t, i, a, r) {
7658
7685
  })) : F("", !0)
7659
7686
  ]);
7660
7687
  }
7661
- const io = /* @__PURE__ */ q($r, [["render", il]]);
7662
- const rl = {
7688
+ const io = /* @__PURE__ */ q(el, [["render", rl]]);
7689
+ const ll = {
7663
7690
  name: "IdmPoint",
7664
7691
  components: {
7665
7692
  DateTimePicker: io
@@ -7893,10 +7920,10 @@ const rl = {
7893
7920
  (a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data), this.loading = !1;
7894
7921
  },
7895
7922
  initTableData(o) {
7896
- var t, i, a, r, s, c, n, p, d, m, f, v, b, S, L, B, M, P, _, z, C, x, R, W, X, V, Y, $, ee, Q, ne, he, de, ce, K, I, le, ge, fe, we, xe;
7923
+ var t, i, a, r, s, c, n, p, d, m, f, v, b, M, L, B, S, P, _, z, C, x, A, W, X, V, Y, $, ee, Q, ne, he, de, ce, K, I, le, ge, fe, we, xe;
7897
7924
  this.currentHourData = {}, this.positionGmt = (i = (t = o == null ? void 0 : o.weather) == null ? void 0 : t[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = o == null ? void 0 : o.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
7898
7925
  const e = ((s = oo.pickHourly(o, O(this.form.dateTime))) == null ? void 0 : s[0]) || {};
7899
- this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((p = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : p.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((m = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : m.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((b = (v = e == null ? void 0 : e.weather) == null ? void 0 : v.wind) == null ? void 0 : b.kts, 1) ?? "-", this.currentHourData.windDir = (L = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : L.direction, this.currentHourData.windLevel = this.roundPrecision((M = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : M.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((_ = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((C = (z = e == null ? void 0 : e.wave) == null ? void 0 : z.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (x = e == null ? void 0 : e.wave) == null ? void 0 : x.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((X = (W = e == null ? void 0 : e.wave) == null ? void 0 : W.sig) == null ? void 0 : X.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((Y = (V = e == null ? void 0 : e.wave) == null ? void 0 : V.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.roundPrecision((ne = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((de = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : de.height, 1) ?? "-", this.currentHourData.swellDir = (K = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : K.direction, this.currentHourData.swellPeriod = this.roundPrecision((le = (I = e == null ? void 0 : e.wave) == null ? void 0 : I.swell) == null ? void 0 : le.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (fe = e == null ? void 0 : e.current) == null ? void 0 : fe.direction, this.currentHourData.currentSpeed = this.roundPrecision((we = e == null ? void 0 : e.current) == null ? void 0 : we.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
7926
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((p = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : p.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((m = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : m.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((b = (v = e == null ? void 0 : e.weather) == null ? void 0 : v.wind) == null ? void 0 : b.kts, 1) ?? "-", this.currentHourData.windDir = (L = (M = e == null ? void 0 : e.weather) == null ? void 0 : M.wind) == null ? void 0 : L.direction, this.currentHourData.windLevel = this.roundPrecision((S = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : S.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((_ = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((C = (z = e == null ? void 0 : e.wave) == null ? void 0 : z.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (x = e == null ? void 0 : e.wave) == null ? void 0 : x.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((X = (W = e == null ? void 0 : e.wave) == null ? void 0 : W.sig) == null ? void 0 : X.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((Y = (V = e == null ? void 0 : e.wave) == null ? void 0 : V.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.roundPrecision((ne = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((de = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : de.height, 1) ?? "-", this.currentHourData.swellDir = (K = (ce = e == null ? void 0 : e.wave) == null ? void 0 : ce.swell) == null ? void 0 : K.direction, this.currentHourData.swellPeriod = this.roundPrecision((le = (I = e == null ? void 0 : e.wave) == null ? void 0 : I.swell) == null ? void 0 : le.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (fe = e == null ? void 0 : e.current) == null ? void 0 : fe.direction, this.currentHourData.currentSpeed = this.roundPrecision((we = e == null ? void 0 : e.current) == null ? void 0 : we.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
7900
7927
  },
7901
7928
  handleBind() {
7902
7929
  var o, e;
@@ -7921,12 +7948,12 @@ const rl = {
7921
7948
  handleRender() {
7922
7949
  var o;
7923
7950
  (o = this.positionMarker) == null || o.remove(), this.positionMarker = void 0, this.$nextTick(() => {
7924
- var e, t;
7925
- if (this.point) {
7926
- if (this.map.flyTo({
7927
- center: [this.point.lng, this.point.lat],
7928
- duration: 1e3
7929
- }), this.meteoMarker)
7951
+ this.point && (this.map.flyTo({
7952
+ center: [this.point.lng, this.point.lat],
7953
+ duration: 800
7954
+ }), setTimeout(() => {
7955
+ var e, t;
7956
+ if (this.meteoMarker)
7930
7957
  (e = this.meteoMarker) == null || e.setLngLat([this.point.lng, this.point.lat]);
7931
7958
  else {
7932
7959
  const i = document.createElement("div");
@@ -7938,7 +7965,7 @@ const rl = {
7938
7965
  const i = document.getElementById("idm-gl4-spot-meteo");
7939
7966
  this.meteoInfoMarker = new ke.Marker(i).setLngLat([this.point.lng, this.point.lat]).setOffset([0, -200]).addTo(this.map);
7940
7967
  }
7941
- }
7968
+ }, 1e3));
7942
7969
  });
7943
7970
  },
7944
7971
  handleMeteoMore() {
@@ -7952,22 +7979,22 @@ const rl = {
7952
7979
  this.$emit("follow", "point", this.point);
7953
7980
  }
7954
7981
  }
7955
- }, ll = { class: "idm-gl4-spot" }, sl = { class: "d-flex justify-start align-center ga-1 mb-1" }, nl = {
7982
+ }, sl = { class: "idm-gl4-spot" }, nl = { class: "d-flex justify-start align-center ga-1 mb-1" }, cl = {
7956
7983
  class: "multi-color-icon",
7957
7984
  "aria-hidden": "true"
7958
- }, cl = ["xlink:href"], ml = { class: "d-flex justify-start align-center ga-1 mb-1" }, hl = {
7985
+ }, ml = ["xlink:href"], hl = { class: "d-flex justify-start align-center ga-1 mb-1" }, dl = {
7959
7986
  class: "multi-color-icon",
7960
7987
  "aria-hidden": "true"
7961
- }, dl = ["xlink:href"], pl = { class: "d-flex justify-start align-center ga-1 mb-1" }, ul = {
7988
+ }, pl = ["xlink:href"], ul = { class: "d-flex justify-start align-center ga-1 mb-1" }, gl = {
7962
7989
  class: "multi-color-icon",
7963
7990
  "aria-hidden": "true"
7964
- }, gl = ["xlink:href"], fl = { class: "d-flex justify-start align-center ga-1 mb-1" }, bl = {
7991
+ }, fl = ["xlink:href"], bl = { class: "d-flex justify-start align-center ga-1 mb-1" }, yl = {
7965
7992
  class: "multi-color-icon",
7966
7993
  "aria-hidden": "true"
7967
- }, yl = ["xlink:href"], wl = { class: "d-flex justify-start align-center" }, xl = { class: "mx-2" };
7968
- function vl(o, e, t, i, a, r) {
7969
- const s = k("VBtn"), c = k("VTooltip"), n = k("VCardTitle"), p = k("VDivider"), d = k("VTextField"), m = k("VCol"), f = k("VRow"), v = k("DateTimePicker"), b = k("VBtnToggle"), S = k("VCardActions"), L = k("VForm"), B = k("VCardText"), M = k("VCard"), P = k("VIcon");
7970
- return y(), T("div", ll, [
7994
+ }, wl = ["xlink:href"], xl = { class: "d-flex justify-start align-center" }, vl = { class: "mx-2" };
7995
+ function _l(o, e, t, i, a, r) {
7996
+ const s = k("VBtn"), c = k("VTooltip"), n = k("VCardTitle"), p = k("VDivider"), d = k("VTextField"), m = k("VCol"), f = k("VRow"), v = k("DateTimePicker"), b = k("VBtnToggle"), M = k("VCardActions"), L = k("VForm"), B = k("VCardText"), S = k("VCard"), P = k("VIcon");
7997
+ return y(), T("div", sl, [
7971
7998
  l("div", {
7972
7999
  class: "menu-bar-box transition pa-1",
7973
8000
  style: ae({ top: t.top + 174 + "px", right: a.right + "px" })
@@ -7994,7 +8021,7 @@ function vl(o, e, t, i, a, r) {
7994
8021
  _: 1
7995
8022
  }, 8, ["text"])
7996
8023
  ], 4),
7997
- a.showForm ? (y(), U(M, {
8024
+ a.showForm ? (y(), U(S, {
7998
8025
  key: 0,
7999
8026
  class: "spot-form-card",
8000
8027
  style: ae({ top: t.top + 174 + "px", right: a.right + 50 + "px" })
@@ -8035,11 +8062,11 @@ function vl(o, e, t, i, a, r) {
8035
8062
  onSubmit: Fo(r.submitForm, ["prevent"])
8036
8063
  }, {
8037
8064
  default: g(() => [
8038
- l("div", sl, [
8039
- (y(), T("svg", nl, [
8065
+ l("div", nl, [
8066
+ (y(), T("svg", cl, [
8040
8067
  l("use", {
8041
8068
  "xlink:href": `#icon-lng-${t.theme}`
8042
- }, null, 8, cl)
8069
+ }, null, 8, ml)
8043
8070
  ])),
8044
8071
  e[11] || (e[11] = l("div", null, "Lng", -1))
8045
8072
  ]),
@@ -8110,11 +8137,11 @@ function vl(o, e, t, i, a, r) {
8110
8137
  ]),
8111
8138
  _: 1
8112
8139
  }),
8113
- l("div", ml, [
8114
- (y(), T("svg", hl, [
8140
+ l("div", hl, [
8141
+ (y(), T("svg", dl, [
8115
8142
  l("use", {
8116
8143
  "xlink:href": `#icon-lng-${t.theme}`
8117
- }, null, 8, dl)
8144
+ }, null, 8, pl)
8118
8145
  ])),
8119
8146
  e[14] || (e[14] = l("div", null, "Lat", -1))
8120
8147
  ]),
@@ -8188,11 +8215,11 @@ function vl(o, e, t, i, a, r) {
8188
8215
  ]),
8189
8216
  _: 1
8190
8217
  }),
8191
- l("div", pl, [
8192
- (y(), T("svg", ul, [
8218
+ l("div", ul, [
8219
+ (y(), T("svg", gl, [
8193
8220
  l("use", {
8194
8221
  "xlink:href": `#icon-a-DateTime-${t.theme}`
8195
- }, null, 8, gl)
8222
+ }, null, 8, fl)
8196
8223
  ])),
8197
8224
  e[17] || (e[17] = l("div", null, "Date Time", -1))
8198
8225
  ]),
@@ -8215,11 +8242,11 @@ function vl(o, e, t, i, a, r) {
8215
8242
  ]),
8216
8243
  _: 1
8217
8244
  }),
8218
- l("div", fl, [
8219
- (y(), T("svg", bl, [
8245
+ l("div", bl, [
8246
+ (y(), T("svg", yl, [
8220
8247
  l("use", {
8221
8248
  "xlink:href": `#icon-a-ForecastModel-${t.theme}`
8222
- }, null, 8, yl)
8249
+ }, null, 8, wl)
8223
8250
  ])),
8224
8251
  e[18] || (e[18] = l("div", null, "Forecast Model", -1))
8225
8252
  ]),
@@ -8278,7 +8305,7 @@ function vl(o, e, t, i, a, r) {
8278
8305
  _: 1
8279
8306
  }),
8280
8307
  h(p),
8281
- h(S, { class: "d-flex justify-end align-center ga-4" }, {
8308
+ h(M, { class: "d-flex justify-end align-center ga-4" }, {
8282
8309
  default: g(() => [
8283
8310
  h(s, {
8284
8311
  size: "small",
@@ -8318,7 +8345,7 @@ function vl(o, e, t, i, a, r) {
8318
8345
  ]),
8319
8346
  _: 1
8320
8347
  }, 8, ["style"])) : F("", !0),
8321
- eo(h(M, {
8348
+ eo(h(S, {
8322
8349
  id: "idm-gl4-spot-meteo",
8323
8350
  class: "spot-meteo",
8324
8351
  style: { width: "490px", "z-index": "9" }
@@ -8328,9 +8355,9 @@ function vl(o, e, t, i, a, r) {
8328
8355
  default: g(() => {
8329
8356
  var _, z;
8330
8357
  return [
8331
- l("div", wl, [
8358
+ l("div", xl, [
8332
8359
  e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
8333
- l("div", xl, w(r.computeLat((_ = a.currentHourData) == null ? void 0 : _.lat)) + "," + w(r.computeLng((z = a.currentHourData) == null ? void 0 : z.lng)), 1)
8360
+ l("div", vl, w(r.computeLat((_ = a.currentHourData) == null ? void 0 : _.lat)) + "," + w(r.computeLng((z = a.currentHourData) == null ? void 0 : z.lng)), 1)
8334
8361
  ]),
8335
8362
  h(s, {
8336
8363
  icon: "",
@@ -8542,7 +8569,7 @@ function vl(o, e, t, i, a, r) {
8542
8569
  _: 1
8543
8570
  }),
8544
8571
  h(p),
8545
- h(S, { class: "d-flex justify-space-between align-center" }, {
8572
+ h(M, { class: "d-flex justify-space-between align-center" }, {
8546
8573
  default: g(() => [
8547
8574
  h(s, {
8548
8575
  variant: "text",
@@ -8581,8 +8608,8 @@ function vl(o, e, t, i, a, r) {
8581
8608
  ])
8582
8609
  ]);
8583
8610
  }
8584
- const _l = /* @__PURE__ */ q(rl, [["render", vl]]);
8585
- const kl = {
8611
+ const kl = /* @__PURE__ */ q(ll, [["render", _l]]);
8612
+ const zl = {
8586
8613
  name: "IdmMeasure",
8587
8614
  props: {
8588
8615
  map: {
@@ -8687,12 +8714,12 @@ const kl = {
8687
8714
  return;
8688
8715
  }
8689
8716
  });
8690
- const S = f.features.filter((L) => L.geometry.type === "Point");
8717
+ const M = f.features.filter((L) => L.geometry.type === "Point");
8691
8718
  this.handleTmpPointUpdate(
8692
8719
  f,
8693
- S[b - 1],
8694
- { lng: (p = (n = o.target) == null ? void 0 : n._lngLat) == null ? void 0 : p.lng, lat: (m = (d = o.target) == null ? void 0 : d._lngLat) == null ? void 0 : m.lat, properties: S[b].properties },
8695
- b === S.length - 1 ? void 0 : S[b + 1]
8720
+ M[b - 1],
8721
+ { lng: (p = (n = o.target) == null ? void 0 : n._lngLat) == null ? void 0 : p.lng, lat: (m = (d = o.target) == null ? void 0 : d._lngLat) == null ? void 0 : m.lat, properties: M[b].properties },
8722
+ b === M.length - 1 ? void 0 : M[b + 1]
8696
8723
  );
8697
8724
  }
8698
8725
  },
@@ -8700,13 +8727,13 @@ const kl = {
8700
8727
  var t, i, a, r, s, c, n, p, d, m;
8701
8728
  const e = (i = (t = o.target) == null ? void 0 : t._element) == null ? void 0 : i.id;
8702
8729
  if ((e == null ? void 0 : e.split("-").length) === 2) {
8703
- const f = this.geojson.filter((S) => S.id === e.split("-")[0])[0];
8704
- this.pointMarkers[f.id].filter((S) => {
8730
+ const f = this.geojson.filter((M) => M.id === e.split("-")[0])[0];
8731
+ this.pointMarkers[f.id].filter((M) => {
8705
8732
  var L;
8706
- return ((L = S._element) == null ? void 0 : L.id) === e;
8733
+ return ((L = M._element) == null ? void 0 : L.id) === e;
8707
8734
  })[0].setLngLat([(r = (a = o.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (c = (s = o.target) == null ? void 0 : s._lngLat) == null ? void 0 : c.lat]);
8708
- const b = f.features.filter((S) => S.geometry.type === "Point" && S.properties.id === e.split("-")[1])[0];
8709
- b.geometry.coordinates = [(p = (n = o.target) == null ? void 0 : n._lngLat) == null ? void 0 : p.lng, (m = (d = o.target) == null ? void 0 : d._lngLat) == null ? void 0 : m.lat], f.features = f.features.filter((S) => S.geometry.type === "Point"), this.handlePointUpdate(f);
8735
+ const b = f.features.filter((M) => M.geometry.type === "Point" && M.properties.id === e.split("-")[1])[0];
8736
+ b.geometry.coordinates = [(p = (n = o.target) == null ? void 0 : n._lngLat) == null ? void 0 : p.lng, (m = (d = o.target) == null ? void 0 : d._lngLat) == null ? void 0 : m.lat], f.features = f.features.filter((M) => M.geometry.type === "Point"), this.handlePointUpdate(f);
8710
8737
  }
8711
8738
  },
8712
8739
  handleContextmenu(o) {
@@ -8758,7 +8785,7 @@ const kl = {
8758
8785
  t = oe.roundPrecision(t + d, 4);
8759
8786
  let f;
8760
8787
  c.mode === "RL" ? f = oe.convertToMonotonicLng([n, p]) : f = oe.convertToMonotonicLng(Fe.interpolateCoordinates(n, p, 200));
8761
- const v = E.lineString(f.map((S) => [S.lng, S.lat]));
8788
+ const v = E.lineString(f.map((M) => [M.lng, M.lat]));
8762
8789
  v.properties.dist = d, v.properties.bearing = m, v.properties.total = t, v.properties.name = "Line " + this.currentLineIndex, i.push(v);
8763
8790
  const b = e[a];
8764
8791
  b.properties.totalDist = oe.roundPrecision((c.totalDist ? c.totalDist : 0) + d, 4), b.properties.sumLabel = b.properties.totalDist + " nm";
@@ -8925,17 +8952,17 @@ const kl = {
8925
8952
  }
8926
8953
  },
8927
8954
  handleClear(o, e = !0) {
8928
- var s, c, n, p, d, m, f, v, b, S;
8955
+ var s, c, n, p, d, m, f, v, b, M;
8929
8956
  const t = `${o.id}-${this.source}`, i = `${o.id}-${this.layer}`, a = `${o.id}-${this.labelLayer}`, r = `${o.id}-${this.sumLayer}`;
8930
8957
  (s = this.map) != null && s.getLayer(i) && this.map.removeLayer(i), (c = this.map) != null && c.getLayer(a) && this.map.removeLayer(a), (n = this.map) != null && n.getLayer(r) && this.map.removeLayer(r), (p = this.map) != null && p.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (d = this.map) != null && d.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (m = this.closeMarkers[o.id]) == null || m.remove(), this.closeMarkers[o.id] = void 0, (f = this.pointMarkers[o.id]) == null || f.forEach((L) => {
8931
8958
  L == null || L.remove();
8932
- }), this.pointMarkers[o.id] = [], (v = this.tipMarker) == null || v.remove(), this.tipMarker = void 0, e && ((b = this.map) != null && b.getSource(t)) && this.map.removeSource(t), e && ((S = this.map) != null && S.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
8959
+ }), this.pointMarkers[o.id] = [], (v = this.tipMarker) == null || v.remove(), this.tipMarker = void 0, e && ((b = this.map) != null && b.getSource(t)) && this.map.removeSource(t), e && ((M = this.map) != null && M.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
8933
8960
  }
8934
8961
  }
8935
- }, zl = { class: "idm-gl4-measure" };
8936
- function Ll(o, e, t, i, a, r) {
8962
+ }, Ll = { class: "idm-gl4-measure" };
8963
+ function Pl(o, e, t, i, a, r) {
8937
8964
  const s = k("VBtn"), c = k("VTooltip");
8938
- return y(), T("div", zl, [
8965
+ return y(), T("div", Ll, [
8939
8966
  l("div", {
8940
8967
  class: "menu-bar-box transition pa-1",
8941
8968
  style: ae({ top: t.top + 214 + "px", right: a.right + "px" })
@@ -8964,8 +8991,8 @@ function Ll(o, e, t, i, a, r) {
8964
8991
  ], 4)
8965
8992
  ]);
8966
8993
  }
8967
- const Pl = /* @__PURE__ */ q(kl, [["render", Ll]]);
8968
- const Cl = {
8994
+ const Cl = /* @__PURE__ */ q(zl, [["render", Pl]]);
8995
+ const Ml = {
8969
8996
  name: "IdmBottomBar",
8970
8997
  components: { DateTimePicker: io },
8971
8998
  props: {
@@ -9078,11 +9105,11 @@ const Cl = {
9078
9105
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
9079
9106
  }
9080
9107
  }
9081
- }, Sl = { class: "idm-bottom-bar-gl4" }, Ml = { class: "date-box d-flex ga-2 mr-2" }, Tl = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, Rl = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, Il = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Al = {
9108
+ }, Sl = { class: "idm-bottom-bar-gl4" }, Tl = { class: "date-box d-flex ga-2 mr-2" }, Al = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, Il = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, Rl = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Dl = {
9082
9109
  key: 0,
9083
9110
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
9084
- }, Dl = ["onClick"], Ol = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Bl = { class: "text-body-1" };
9085
- function jl(o, e, t, i, a, r) {
9111
+ }, Ol = ["onClick"], Bl = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, jl = { class: "text-body-1" };
9112
+ function El(o, e, t, i, a, r) {
9086
9113
  const s = k("DateTimePicker"), c = k("VListItemTitle"), n = k("VListItem"), p = k("VList"), d = k("VMenu"), m = k("VBtn"), f = k("VDivider"), v = k("VTooltip");
9087
9114
  return y(), T("div", Sl, [
9088
9115
  a.show ? (y(), T("div", {
@@ -9090,7 +9117,7 @@ function jl(o, e, t, i, a, r) {
9090
9117
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
9091
9118
  style: ae({ right: a.right + 146 + "px" })
9092
9119
  }, [
9093
- l("div", Ml, [
9120
+ l("div", Tl, [
9094
9121
  h(s, j({
9095
9122
  "date-time": a.currentDateTimeZ,
9096
9123
  "time-zone": a.timeZone,
@@ -9113,8 +9140,8 @@ function jl(o, e, t, i, a, r) {
9113
9140
  default: g(() => [
9114
9141
  h(p, { class: "pa-1" }, {
9115
9142
  default: g(() => [
9116
- (y(!0), T(_e, null, Le(a.intervalOptions, (b, S) => (y(), U(n, {
9117
- key: S,
9143
+ (y(!0), T(_e, null, Le(a.intervalOptions, (b, M) => (y(), U(n, {
9144
+ key: M,
9118
9145
  value: b,
9119
9146
  variant: a.intervalHour === b ? "tonal" : "text",
9120
9147
  color: "primary",
@@ -9152,7 +9179,7 @@ function jl(o, e, t, i, a, r) {
9152
9179
  class: "mx-2 my-3",
9153
9180
  style: { height: "16px" }
9154
9181
  }),
9155
- l("div", Tl, [
9182
+ l("div", Al, [
9156
9183
  h(m, {
9157
9184
  icon: "",
9158
9185
  size: "small",
@@ -9225,17 +9252,17 @@ function jl(o, e, t, i, a, r) {
9225
9252
  class: "mx-2 my-3",
9226
9253
  style: { height: "16px" }
9227
9254
  }),
9228
- l("div", Rl, [
9255
+ l("div", Il, [
9229
9256
  h(v, {
9230
9257
  text: o.$t("weather.windBarbs"),
9231
9258
  location: "top"
9232
9259
  }, {
9233
9260
  activator: g(({ props: b }) => {
9234
- var S, L;
9261
+ var M, L;
9235
9262
  return [
9236
9263
  h(m, j(b, {
9237
9264
  class: "pa-1 d-flex",
9238
- color: (S = t.weatherCheckList) != null && S.includes("wind") ? "primary" : "",
9265
+ color: (M = t.weatherCheckList) != null && M.includes("wind") ? "primary" : "",
9239
9266
  variant: (L = t.weatherCheckList) != null && L.includes("wind") ? "elevated" : "text",
9240
9267
  height: "24",
9241
9268
  width: "24",
@@ -9257,11 +9284,11 @@ function jl(o, e, t, i, a, r) {
9257
9284
  location: "top"
9258
9285
  }, {
9259
9286
  activator: g(({ props: b }) => {
9260
- var S, L;
9287
+ var M, L;
9261
9288
  return [
9262
9289
  h(m, j(b, {
9263
9290
  class: "pa-1 d-flex",
9264
- color: (S = t.weatherCheckList) != null && S.includes("sig-wave-height") ? "primary" : "",
9291
+ color: (M = t.weatherCheckList) != null && M.includes("sig-wave-height") ? "primary" : "",
9265
9292
  variant: (L = t.weatherCheckList) != null && L.includes("sig-wave-height") ? "elevated" : "text",
9266
9293
  height: "24",
9267
9294
  width: "24",
@@ -9282,11 +9309,11 @@ function jl(o, e, t, i, a, r) {
9282
9309
  location: "top"
9283
9310
  }, {
9284
9311
  activator: g(({ props: b }) => {
9285
- var S, L;
9312
+ var M, L;
9286
9313
  return [
9287
9314
  h(m, j(b, {
9288
9315
  class: "pa-1 d-flex",
9289
- color: (S = t.weatherCheckList) != null && S.includes("current-direction") ? "primary" : "",
9316
+ color: (M = t.weatherCheckList) != null && M.includes("current-direction") ? "primary" : "",
9290
9317
  variant: (L = t.weatherCheckList) != null && L.includes("current-direction") ? "elevated" : "text",
9291
9318
  height: "24",
9292
9319
  width: "24",
@@ -9329,7 +9356,7 @@ function jl(o, e, t, i, a, r) {
9329
9356
  class: "mx-2 mr-3 my-3",
9330
9357
  style: { height: "16px" }
9331
9358
  }),
9332
- l("div", Il, [
9359
+ l("div", Rl, [
9333
9360
  h(m, {
9334
9361
  text: "",
9335
9362
  height: "30",
@@ -9362,14 +9389,14 @@ function jl(o, e, t, i, a, r) {
9362
9389
  class: "timezone-box d-flex flex-column justify-space-between align-end",
9363
9390
  style: ae({ right: a.right + "px" })
9364
9391
  }, [
9365
- a.showTimezone ? (y(), T("div", Al, [
9392
+ a.showTimezone ? (y(), T("div", Dl, [
9366
9393
  (y(!0), T(_e, null, Le(a.offsets, (b) => (y(), T("div", {
9367
9394
  key: b,
9368
9395
  class: "item rounded text-body-2 hover-active",
9369
- onClick: (S) => a.timeZone = b
9370
- }, w(b < 0 ? b : "+" + b), 9, Dl))), 128))
9396
+ onClick: (M) => a.timeZone = b
9397
+ }, w(b < 0 ? b : "+" + b), 9, Ol))), 128))
9371
9398
  ])) : F("", !0),
9372
- l("div", Ol, [
9399
+ l("div", Bl, [
9373
9400
  h(m, {
9374
9401
  text: "",
9375
9402
  variant: "flat",
@@ -9383,20 +9410,20 @@ function jl(o, e, t, i, a, r) {
9383
9410
  ]),
9384
9411
  _: 1
9385
9412
  }),
9386
- l("span", Bl, w(a.currentRealTime), 1)
9413
+ l("span", jl, w(a.currentRealTime), 1)
9387
9414
  ])
9388
9415
  ], 4)
9389
9416
  ]);
9390
9417
  }
9391
- const El = /* @__PURE__ */ q(Cl, [["render", jl]]), Fl = {
9418
+ const Fl = /* @__PURE__ */ q(Ml, [["render", El]]), Nl = {
9392
9419
  name: "IdmGL4",
9393
9420
  components: {
9394
9421
  IdmOtherLayer: $a,
9395
- IdmWeatherLayer: jr,
9422
+ IdmWeatherLayer: Er,
9396
9423
  IdmTropicals: Bo,
9397
- IdmMeasure: Pl,
9398
- IdmSpot: _l,
9399
- IdmBottomBar: El
9424
+ IdmMeasure: Cl,
9425
+ IdmSpot: kl,
9426
+ IdmBottomBar: Fl
9400
9427
  },
9401
9428
  props: {
9402
9429
  map: {
@@ -9428,13 +9455,13 @@ const El = /* @__PURE__ */ q(Cl, [["render", jl]]), Fl = {
9428
9455
  mounted() {
9429
9456
  },
9430
9457
  methods: {}
9431
- }, Nl = {
9458
+ }, Hl = {
9432
9459
  ref: "mapHomeGl4",
9433
9460
  class: "map-gl4-home"
9434
9461
  };
9435
- function Hl(o, e, t, i, a, r) {
9462
+ function Wl(o, e, t, i, a, r) {
9436
9463
  const s = k("IdmOtherLayer"), c = k("IdmWeatherLayer"), n = k("IdmTropicals"), p = k("IdmMeasure"), d = k("IdmSpot"), m = k("IdmBottomBar");
9437
- return y(), T("div", Nl, [
9464
+ return y(), T("div", Hl, [
9438
9465
  h(s, j({
9439
9466
  ref: "idmOtherLayers",
9440
9467
  token: t.token,
@@ -9486,8 +9513,8 @@ function Hl(o, e, t, i, a, r) {
9486
9513
  }, o.$attrs), null, 16, ["forecast-model", "weatherCheckList"])
9487
9514
  ], 512);
9488
9515
  }
9489
- const Wl = /* @__PURE__ */ q(Fl, [["render", Hl]]);
9490
- class Gl {
9516
+ const Gl = /* @__PURE__ */ q(Nl, [["render", Wl]]);
9517
+ class Ul {
9491
9518
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
9492
9519
  re(this, "originStyle");
9493
9520
  re(this, "mapboxStyle");
@@ -9495,7 +9522,7 @@ class Gl {
9495
9522
  re(this, "hi");
9496
9523
  re(this, "td");
9497
9524
  re(this, "windy");
9498
- var t, i, a, r, s, c, n, p, d, m, f, v, b, S, L, B, M, P, _, z, C, x, R, W, X, V, Y, $, ee, Q, ne, he, de, ce, K, I, le, ge, fe, we, xe, Se, Me, Te, Re, Ie, be, H, te, je, Pe, me, pe, N, ve, J, ie, Ae, D, ue, Ce, De, Oe, A, G, He, We, Ge, ze, Ue, Ve, Ye, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, bt, yt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, Rt, It, At, Dt, Ot, Bt, jt, Et, Ft, Nt, Ht, Wt, Gt, Ut, Vt, Yt, Zt, Xt, qt, ro, lo, so, no, co, mo, ho, po, uo, go, fo, bo, yo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, So, Mo, To, Ro, Io;
9525
+ var t, i, a, r, s, c, n, p, d, m, f, v, b, M, L, B, S, P, _, z, C, x, A, W, X, V, Y, $, ee, Q, ne, he, de, ce, K, I, le, ge, fe, we, xe, Me, Se, Te, Ae, Ie, be, H, te, je, Pe, me, pe, N, ve, J, ie, Re, D, ue, Ce, De, Oe, R, G, He, We, Ge, ze, Ue, Ve, Ye, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, bt, yt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Mt, St, Tt, At, It, Rt, Dt, Ot, Bt, jt, Et, Ft, Nt, Ht, Wt, Gt, Ut, Vt, Yt, Zt, Xt, qt, ro, lo, so, no, co, mo, ho, po, uo, go, fo, bo, yo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, Mo, So, To, Ao, Io;
9499
9526
  this.i4 = {
9500
9527
  source: {
9501
9528
  type: "raster",
@@ -27467,12 +27494,12 @@ class Gl {
27467
27494
  (p = (n = this.originStyle) == null ? void 0 : n.light.layers) == null ? void 0 : p.find((u) => u.id === "country-boundaries"),
27468
27495
  (m = (d = this.originStyle) == null ? void 0 : d.light.layers) == null ? void 0 : m.find((u) => u.id === "water-outline"),
27469
27496
  (v = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : v.find((u) => u.id === "water-outline2"),
27470
- (S = (b = this.originStyle) == null ? void 0 : b.light.layers) == null ? void 0 : S.find((u) => u.id === "empty-layer-2"),
27497
+ (M = (b = this.originStyle) == null ? void 0 : b.light.layers) == null ? void 0 : M.find((u) => u.id === "empty-layer-2"),
27471
27498
  (B = (L = this.originStyle) == null ? void 0 : L.light.layers) == null ? void 0 : B.find((u) => u.id === "water-line-label"),
27472
- (P = (M = this.originStyle) == null ? void 0 : M.light.layers) == null ? void 0 : P.find((u) => u.id === "water-point-label"),
27499
+ (P = (S = this.originStyle) == null ? void 0 : S.light.layers) == null ? void 0 : P.find((u) => u.id === "water-point-label"),
27473
27500
  (z = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : z.find((u) => u.id === "world-12nm-v4-20231025"),
27474
27501
  (x = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : x.find((u) => u.id === "ne-10m-outline"),
27475
- (W = (R = this.originStyle) == null ? void 0 : R.light.layers) == null ? void 0 : W.find((u) => u.id === "ne-10m-label"),
27502
+ (W = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : W.find((u) => u.id === "ne-10m-label"),
27476
27503
  (V = (X = this.originStyle) == null ? void 0 : X.light.layers) == null ? void 0 : V.find((u) => u.id === "china-route-line"),
27477
27504
  ($ = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : $.find((u) => u.id === "china-route-fill"),
27478
27505
  (Q = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : Q.find((u) => u.id === "china-route-label"),
@@ -27481,8 +27508,8 @@ class Gl {
27481
27508
  (I = (K = this.originStyle) == null ? void 0 : K.light.layers) == null ? void 0 : I.find((u) => u.id === "admin-0-boundary-disputed"),
27482
27509
  (ge = (le = this.originStyle) == null ? void 0 : le.light.layers) == null ? void 0 : ge.find((u) => u.id === "country-label"),
27483
27510
  (we = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : we.find((u) => u.id === "continent-label"),
27484
- (Se = (xe = this.originStyle) == null ? void 0 : xe.light.layers) == null ? void 0 : Se.find((u) => u.id === "empty-layer-3"),
27485
- (Te = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : Te.find((u) => u.id === "empty-layer-4")
27511
+ (Me = (xe = this.originStyle) == null ? void 0 : xe.light.layers) == null ? void 0 : Me.find((u) => u.id === "empty-layer-3"),
27512
+ (Te = (Se = this.originStyle) == null ? void 0 : Se.light.layers) == null ? void 0 : Te.find((u) => u.id === "empty-layer-4")
27486
27513
  ]
27487
27514
  },
27488
27515
  dark: {
@@ -27606,16 +27633,16 @@ class Gl {
27606
27633
  protected: !1,
27607
27634
  draft: !1,
27608
27635
  layers: [
27609
- (Ie = (Re = this.originStyle) == null ? void 0 : Re.dark.layers) == null ? void 0 : Ie.find((u) => u.id === "land"),
27636
+ (Ie = (Ae = this.originStyle) == null ? void 0 : Ae.dark.layers) == null ? void 0 : Ie.find((u) => u.id === "land"),
27610
27637
  (H = (be = this.originStyle) == null ? void 0 : be.dark.layers) == null ? void 0 : H.find((u) => u.id === "water"),
27611
27638
  (je = (te = this.originStyle) == null ? void 0 : te.dark.layers) == null ? void 0 : je.find((u) => u.id === "empty-layer-1"),
27612
27639
  (me = (Pe = this.originStyle) == null ? void 0 : Pe.dark.layers) == null ? void 0 : me.find((u) => u.id === "country-boundaries"),
27613
27640
  (N = (pe = this.originStyle) == null ? void 0 : pe.dark.layers) == null ? void 0 : N.find((u) => u.id === "water-outline"),
27614
27641
  (J = (ve = this.originStyle) == null ? void 0 : ve.dark.layers) == null ? void 0 : J.find((u) => u.id === "empty-layer-2"),
27615
- (Ae = (ie = this.originStyle) == null ? void 0 : ie.dark.layers) == null ? void 0 : Ae.find((u) => u.id === "water-line-label"),
27642
+ (Re = (ie = this.originStyle) == null ? void 0 : ie.dark.layers) == null ? void 0 : Re.find((u) => u.id === "water-line-label"),
27616
27643
  (ue = (D = this.originStyle) == null ? void 0 : D.dark.layers) == null ? void 0 : ue.find((u) => u.id === "water-point-label"),
27617
27644
  (De = (Ce = this.originStyle) == null ? void 0 : Ce.dark.layers) == null ? void 0 : De.find((u) => u.id === "world-12nm-v4-20231025"),
27618
- (A = (Oe = this.originStyle) == null ? void 0 : Oe.dark.layers) == null ? void 0 : A.find((u) => u.id === "ne-10m-outline"),
27645
+ (R = (Oe = this.originStyle) == null ? void 0 : Oe.dark.layers) == null ? void 0 : R.find((u) => u.id === "ne-10m-outline"),
27619
27646
  (He = (G = this.originStyle) == null ? void 0 : G.dark.layers) == null ? void 0 : He.find((u) => u.id === "ne-10m-label"),
27620
27647
  (Ge = (We = this.originStyle) == null ? void 0 : We.dark.layers) == null ? void 0 : Ge.find((u) => u.id === "china-route-line"),
27621
27648
  (Ue = (ze = this.originStyle) == null ? void 0 : ze.dark.layers) == null ? void 0 : Ue.find((u) => u.id === "china-route-fill"),
@@ -27692,10 +27719,10 @@ class Gl {
27692
27719
  (_t = (vt = this.originStyle) == null ? void 0 : vt.satellite.layers) == null ? void 0 : _t.find((u) => u.id === "world-12nm-v4-20231025"),
27693
27720
  (zt = (kt = this.originStyle) == null ? void 0 : kt.satellite.layers) == null ? void 0 : zt.find((u) => u.id === "ne-10m-outline"),
27694
27721
  (Pt = (Lt = this.originStyle) == null ? void 0 : Lt.satellite.layers) == null ? void 0 : Pt.find((u) => u.id === "ne-10m-label"),
27695
- (St = (Ct = this.originStyle) == null ? void 0 : Ct.satellite.layers) == null ? void 0 : St.find((u) => u.id === "china-route-line"),
27696
- (Tt = (Mt = this.originStyle) == null ? void 0 : Mt.satellite.layers) == null ? void 0 : Tt.find((u) => u.id === "china-route-fill"),
27697
- (It = (Rt = this.originStyle) == null ? void 0 : Rt.satellite.layers) == null ? void 0 : It.find((u) => u.id === "china-route-label"),
27698
- (Dt = (At = this.originStyle) == null ? void 0 : At.satellite.layers) == null ? void 0 : Dt.find((u) => u.id === "country-label"),
27722
+ (Mt = (Ct = this.originStyle) == null ? void 0 : Ct.satellite.layers) == null ? void 0 : Mt.find((u) => u.id === "china-route-line"),
27723
+ (Tt = (St = this.originStyle) == null ? void 0 : St.satellite.layers) == null ? void 0 : Tt.find((u) => u.id === "china-route-fill"),
27724
+ (It = (At = this.originStyle) == null ? void 0 : At.satellite.layers) == null ? void 0 : It.find((u) => u.id === "china-route-label"),
27725
+ (Dt = (Rt = this.originStyle) == null ? void 0 : Rt.satellite.layers) == null ? void 0 : Dt.find((u) => u.id === "country-label"),
27699
27726
  (Bt = (Ot = this.originStyle) == null ? void 0 : Ot.satellite.layers) == null ? void 0 : Bt.find((u) => u.id === "continent-label"),
27700
27727
  (Et = (jt = this.originStyle) == null ? void 0 : jt.satellite.layers) == null ? void 0 : Et.find((u) => u.id === "empty-layer-3"),
27701
27728
  (Nt = (Ft = this.originStyle) == null ? void 0 : Ft.satellite.layers) == null ? void 0 : Nt.find((u) => u.id === "empty-layer-4")
@@ -27742,9 +27769,9 @@ class Gl {
27742
27769
  (_o = (vo = this.originStyle) == null ? void 0 : vo.light.layers) == null ? void 0 : _o.find((u) => u.id === "admin-0-boundary"),
27743
27770
  (zo = (ko = this.originStyle) == null ? void 0 : ko.light.layers) == null ? void 0 : zo.find((u) => u.id === "admin-0-boundary-disputed"),
27744
27771
  (Po = (Lo = this.originStyle) == null ? void 0 : Lo.light.layers) == null ? void 0 : Po.find((u) => u.id === "country-label"),
27745
- (So = (Co = this.originStyle) == null ? void 0 : Co.light.layers) == null ? void 0 : So.find((u) => u.id === "continent-label"),
27746
- (To = (Mo = this.originStyle) == null ? void 0 : Mo.nautical.layers) == null ? void 0 : To.find((u) => u.id === "empty-layer-3"),
27747
- (Io = (Ro = this.originStyle) == null ? void 0 : Ro.nautical.layers) == null ? void 0 : Io.find((u) => u.id === "empty-layer-4")
27772
+ (Mo = (Co = this.originStyle) == null ? void 0 : Co.light.layers) == null ? void 0 : Mo.find((u) => u.id === "continent-label"),
27773
+ (To = (So = this.originStyle) == null ? void 0 : So.nautical.layers) == null ? void 0 : To.find((u) => u.id === "empty-layer-3"),
27774
+ (Io = (Ao = this.originStyle) == null ? void 0 : Ao.nautical.layers) == null ? void 0 : Io.find((u) => u.id === "empty-layer-4")
27748
27775
  ],
27749
27776
  created: "2025-07-22T02:15:53.587Z",
27750
27777
  modified: "2025-08-07T10:15:43.870Z",
@@ -27757,7 +27784,7 @@ class Gl {
27757
27784
  };
27758
27785
  }
27759
27786
  }
27760
- const Ul = {
27787
+ const Vl = {
27761
27788
  name: "MapInitial",
27762
27789
  props: {
27763
27790
  token: {
@@ -27810,7 +27837,7 @@ const Ul = {
27810
27837
  methods: {
27811
27838
  async initOnlineMap() {
27812
27839
  var e;
27813
- (e = this.map) == null || e.remove(), this.map = void 0, this.helper = new Gl(this.token), ke.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
27840
+ (e = this.map) == null || e.remove(), this.map = void 0, this.helper = new Ul(this.token), ke.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
27814
27841
  const o = new ke.Map({
27815
27842
  container: "map",
27816
27843
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
@@ -27850,16 +27877,16 @@ const Ul = {
27850
27877
  this.zoom = this.zoom <= 2 ? 1 : this.zoom - 1, (o = this.map) == null || o.zoomOut(this.zoom);
27851
27878
  }
27852
27879
  }
27853
- }, Vl = { class: "mapbox-initial-gl4" }, Yl = { class: "v-btn--variant-elevated rounded" }, Zl = { class: "zoom" };
27854
- function Xl(o, e, t, i, a, r) {
27880
+ }, Yl = { class: "mapbox-initial-gl4" }, Zl = { class: "v-btn--variant-elevated rounded" }, Xl = { class: "zoom" };
27881
+ function ql(o, e, t, i, a, r) {
27855
27882
  const s = k("VBtn");
27856
- return y(), T("div", Vl, [
27883
+ return y(), T("div", Yl, [
27857
27884
  e[2] || (e[2] = l("div", { id: "map" }, null, -1)),
27858
27885
  l("div", {
27859
27886
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
27860
27887
  style: ae({ top: t.top + 268 + "px", right: a.right + "px" })
27861
27888
  }, [
27862
- l("div", Yl, [
27889
+ l("div", Zl, [
27863
27890
  h(s, {
27864
27891
  "min-width": "32",
27865
27892
  width: "32",
@@ -27873,7 +27900,7 @@ function Xl(o, e, t, i, a, r) {
27873
27900
  _: 1,
27874
27901
  __: [0]
27875
27902
  }, 8, ["onClick"]),
27876
- l("div", Zl, w(a.zoom), 1),
27903
+ l("div", Xl, w(a.zoom), 1),
27877
27904
  h(s, {
27878
27905
  "min-width": "32",
27879
27906
  width: "32",
@@ -27891,17 +27918,17 @@ function Xl(o, e, t, i, a, r) {
27891
27918
  ], 4)
27892
27919
  ]);
27893
27920
  }
27894
- const ql = /* @__PURE__ */ q(Ul, [["render", Xl]]), ss = {
27921
+ const Kl = /* @__PURE__ */ q(Vl, [["render", ql]]), ns = {
27895
27922
  install(o) {
27896
- o.component("MapInitial", ql), o.component("MapboxGL", Wl), o.component("TropicalGL", Bo), o.component("LatLngGL", Oo), o.component("DateTimePicker", io);
27923
+ o.component("MapInitial", Kl), o.component("MapboxGL", Gl), o.component("TropicalGL", Bo), o.component("LatLngGL", Oo), o.component("DateTimePicker", io);
27897
27924
  }
27898
27925
  };
27899
27926
  export {
27900
27927
  io as DateTimePicker,
27901
27928
  Oo as LatLngGL,
27902
- ql as MapInitial,
27903
- Wl as MapboxGL,
27904
- ss as MapboxGLPlugin,
27929
+ Kl as MapInitial,
27930
+ Gl as MapboxGL,
27931
+ ns as MapboxGLPlugin,
27905
27932
  ye as ParticleSchema,
27906
27933
  Bo as TropicalGL,
27907
27934
  ao as Viewport,