@idmwx/idmui-gl4 1.2.8 → 1.2.9

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
@@ -1,6 +1,6 @@
1
1
  var Xo = Object.defineProperty;
2
2
  var $o = (t, e, a) => e in t ? Xo(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
- var me = (t, e, a) => ($o(t, typeof e != "symbol" ? e + "" : e, a), a);
3
+ var de = (t, e, a) => ($o(t, typeof e != "symbol" ? e + "" : e, a), a);
4
4
  import Se from "axios";
5
5
  import { useTheme as ze } from "vuetify";
6
6
  import { openBlock as b, createElementBlock as S, resolveComponent as x, createBlock as A, withCtx as u, createVNode as d, withModifiers as qe, createElementVNode as l, createCommentVNode as D, normalizeClass as He, toDisplayString as h, createTextVNode as j, Fragment as be, renderList as we, withDirectives as Ue, vShow as We, mergeProps as O, normalizeStyle as ie } from "vue";
@@ -9,8 +9,8 @@ import { LngLatHelper as $, TropicalHelper as Vo, LaneHelper as Fe } from "@idm-
9
9
  import M from "moment";
10
10
  import { Meteo2Assist as oa, TidesAssist as qo } from "@idm-plugin/meteo";
11
11
  import * as ra from "echarts";
12
- import * as H from "@turf/turf";
13
- import { LayerHelper as ia, CompanyHelper as Qo } from "@idm-plugin/tag-nop";
12
+ import * as U from "@turf/turf";
13
+ import { LayerHelper as ia, CompanyHelper as Qo } from "@idm-plugin/tag2";
14
14
  import Jo from "@mapbox/sphericalmercator";
15
15
  import { LayerHelper as ei } from "@idm-plugin/tag";
16
16
  const q = (t, e) => {
@@ -1485,10 +1485,10 @@ const ui = {
1485
1485
  { label: "Swell", key: "weather.swell", unit: "m" },
1486
1486
  { label: "Current", key: "weather.current", unit: "kts" }
1487
1487
  ], (a = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || a.dateTimeList.forEach((i, o) => {
1488
- var c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q, re, de, pe, se, X, oe, ue, ne, F, ce, xe, Le, Pe;
1488
+ var c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q, re, he, pe, ne, X, oe, ue, ce, F, me, xe, Le, Pe;
1489
1489
  let r = {};
1490
1490
  const s = ((c = oa.pickHourly(t, M(i))) == null ? void 0 : c[0]) || {};
1491
- r.utc = s.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = s.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((g = s == null ? void 0 : s.weather) == null ? void 0 : g.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((f = (p = s == null ? void 0 : s.weather) == null ? void 0 : p.precip) == null ? void 0 : f.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((v = (w = s == null ? void 0 : s.weather) == null ? void 0 : w.precip) == null ? void 0 : v.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((y = s == null ? void 0 : s.weather) == null ? void 0 : y.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (C = s == null ? void 0 : s.weather) == null ? void 0 : C.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (B = s == null ? void 0 : s.weather) == null ? void 0 : B.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((_ = (L = s == null ? void 0 : s.weather) == null ? void 0 : L.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((P = (k = s == null ? void 0 : s.weather) == null ? void 0 : k.wind) == null ? void 0 : P.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (z = s == null ? void 0 : s.wave) == null ? void 0 : z.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (Y = (G = s == null ? void 0 : s.wave) == null ? void 0 : G.sig) == null ? void 0 : Y.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (K = s == null ? void 0 : s.wave) == null ? void 0 : K.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ee = (J = s == null ? void 0 : s.wave) == null ? void 0 : J.wd) == null ? void 0 : ee.height, 1) ?? "-", r.windwaveDir = (re = (Q = s == null ? void 0 : s.wave) == null ? void 0 : Q.wd) == null ? void 0 : re.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (de = s == null ? void 0 : s.wave) == null ? void 0 : de.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((X = (se = s == null ? void 0 : s.wave) == null ? void 0 : se.swell) == null ? void 0 : X.height, 1) ?? "-", r.swellDir = (ue = (oe = s == null ? void 0 : s.wave) == null ? void 0 : oe.swell) == null ? void 0 : ue.direction, r.swellPeriod = this.computeRoundPrecision((F = (ne = s == null ? void 0 : s.wave) == null ? void 0 : ne.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ce = s == null ? void 0 : s.current) == null ? void 0 : ce.speed, 1) ?? "-", r.currentDir = (xe = s == null ? void 0 : s.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = s == null ? void 0 : s.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(s == null ? void 0 : s.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(s == null ? void 0 : s.sst, 0) ?? "-", r.weatherUrls = (Pe = s == null ? void 0 : s.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
1491
+ r.utc = s.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = s.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((g = s == null ? void 0 : s.weather) == null ? void 0 : g.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((f = (p = s == null ? void 0 : s.weather) == null ? void 0 : p.precip) == null ? void 0 : f.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((v = (w = s == null ? void 0 : s.weather) == null ? void 0 : w.precip) == null ? void 0 : v.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((y = s == null ? void 0 : s.weather) == null ? void 0 : y.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (C = s == null ? void 0 : s.weather) == null ? void 0 : C.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (B = s == null ? void 0 : s.weather) == null ? void 0 : B.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((_ = (L = s == null ? void 0 : s.weather) == null ? void 0 : L.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((P = (k = s == null ? void 0 : s.weather) == null ? void 0 : k.wind) == null ? void 0 : P.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (z = s == null ? void 0 : s.wave) == null ? void 0 : z.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (Y = (G = s == null ? void 0 : s.wave) == null ? void 0 : G.sig) == null ? void 0 : Y.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (K = s == null ? void 0 : s.wave) == null ? void 0 : K.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ee = (J = s == null ? void 0 : s.wave) == null ? void 0 : J.wd) == null ? void 0 : ee.height, 1) ?? "-", r.windwaveDir = (re = (Q = s == null ? void 0 : s.wave) == null ? void 0 : Q.wd) == null ? void 0 : re.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (he = s == null ? void 0 : s.wave) == null ? void 0 : he.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((X = (ne = s == null ? void 0 : s.wave) == null ? void 0 : ne.swell) == null ? void 0 : X.height, 1) ?? "-", r.swellDir = (ue = (oe = s == null ? void 0 : s.wave) == null ? void 0 : oe.swell) == null ? void 0 : ue.direction, r.swellPeriod = this.computeRoundPrecision((F = (ce = s == null ? void 0 : s.wave) == null ? void 0 : ce.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = s == null ? void 0 : s.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = s == null ? void 0 : s.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = s == null ? void 0 : s.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(s == null ? void 0 : s.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(s == null ? void 0 : s.sst, 0) ?? "-", r.weatherUrls = (Pe = s == null ? void 0 : s.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
1492
1492
  });
1493
1493
  },
1494
1494
  handleTide() {
@@ -3327,7 +3327,7 @@ const Fl = {
3327
3327
  handleZoomEnd() {
3328
3328
  var e;
3329
3329
  const t = this.handleComputeLatLngs();
3330
- (e = this.map) == null || e.getSource(this.source).setData(H.featureCollection(t));
3330
+ (e = this.map) == null || e.getSource(this.source).setData(U.featureCollection(t));
3331
3331
  },
3332
3332
  handleRender() {
3333
3333
  if (this.handleClear(), this.map) {
@@ -5442,7 +5442,7 @@ const es = {
5442
5442
  if (t) {
5443
5443
  const i = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], o = await Se.get(`${i}/api/arc/other/layers/links?l=${t}&t=${this.realTime}`, {
5444
5444
  headers: {
5445
- Authorization: this.token || this.defaultMeteoToken
5445
+ Authorization: this.defaultMeteoToken
5446
5446
  }
5447
5447
  });
5448
5448
  if (((e = o == null ? void 0 : o.data) == null ? void 0 : e.code) === 0) {
@@ -5451,7 +5451,7 @@ const es = {
5451
5451
  s.push(
5452
5452
  Se.get(r[n], {
5453
5453
  headers: {
5454
- Authorization: this.token || this.defaultMeteoToken,
5454
+ Authorization: this.defaultMeteoToken,
5455
5455
  key: n
5456
5456
  }
5457
5457
  })
@@ -5468,7 +5468,7 @@ const es = {
5468
5468
  var a, i;
5469
5469
  const t = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], e = await Se.get(`${t}/api/arc/other/layers/links?l=1024&t=${this.realTime}`, {
5470
5470
  headers: {
5471
- Authorization: this.token || this.defaultMeteoToken
5471
+ Authorization: this.defaultMeteoToken
5472
5472
  }
5473
5473
  });
5474
5474
  ((a = e == null ? void 0 : e.data) == null ? void 0 : a.code) === 0 && (this.otherLayers["day-night"] = ((i = e == null ? void 0 : e.data) == null ? void 0 : i.data) || (e == null ? void 0 : e.data));
@@ -5496,7 +5496,7 @@ const es = {
5496
5496
  class: "border rounded-sm"
5497
5497
  }, ds = { class: "text-body-2 text-center pt-1" };
5498
5498
  function hs(t, e, a, i, o, r) {
5499
- var Q, re, de, pe, se, X, oe, ue, ne;
5499
+ var Q, re, he, pe, ne, X, oe, ue, ce;
5500
5500
  const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VCardItem"), p = x("VCheckbox"), f = x("VCardText"), w = x("VCard"), v = x("IdmLatLng"), y = x("IdmTerminator"), C = x("IdmTimezone"), T = x("IdmPort"), B = x("IdmAlertZone"), I = x("IdmTideStations"), L = x("IdmEcaZone"), _ = x("IdmWarZone"), k = x("IdmGmdssArea"), P = x("IdmLoadLine"), z = x("IdmWorldMarine"), R = x("IdmVRA"), G = x("IdmSpecialArea"), Y = x("IdmWorld12nm"), K = x("IdmChinaRoute"), V = x("IdmIceAreas"), J = x("IdmFollowPort"), ee = x("IdmFollowPosition");
5501
5501
  return b(), S("div", ts, [
5502
5502
  l("div", {
@@ -5571,7 +5571,7 @@ function hs(t, e, a, i, o, r) {
5571
5571
  (b(!0), S(be, null, we(o.mapFeathers, (F) => (b(), S("div", {
5572
5572
  key: F.value,
5573
5573
  class: "mb-2 feather-item",
5574
- onClick: (ce) => r.handleToggleMapFeather(F)
5574
+ onClick: (me) => r.handleToggleMapFeather(F)
5575
5575
  }, [
5576
5576
  l("div", {
5577
5577
  class: He([o.mapFeather === F.value ? "active" : "", "img-box"])
@@ -5584,7 +5584,7 @@ function hs(t, e, a, i, o, r) {
5584
5584
  (b(!0), S(be, null, we(o.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (b(), A(p, {
5585
5585
  key: F.key,
5586
5586
  modelValue: o.checkList,
5587
- "onUpdate:modelValue": e[0] || (e[0] = (ce) => o.checkList = ce),
5587
+ "onUpdate:modelValue": e[0] || (e[0] = (me) => o.checkList = me),
5588
5588
  value: F.key,
5589
5589
  label: t.$t(`layer.${F.locale}`),
5590
5590
  color: "primary",
@@ -5623,7 +5623,7 @@ function hs(t, e, a, i, o, r) {
5623
5623
  (b(!0), S(be, null, we(o.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), A(p, {
5624
5624
  key: F.key,
5625
5625
  modelValue: o.checkList,
5626
- "onUpdate:modelValue": e[1] || (e[1] = (ce) => o.checkList = ce),
5626
+ "onUpdate:modelValue": e[1] || (e[1] = (me) => o.checkList = me),
5627
5627
  value: F.key,
5628
5628
  label: t.$t(`layer.${F.locale}`),
5629
5629
  color: "primary",
@@ -5662,7 +5662,7 @@ function hs(t, e, a, i, o, r) {
5662
5662
  (b(!0), S(be, null, we(o.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), A(p, {
5663
5663
  key: F.key,
5664
5664
  modelValue: o.checkList,
5665
- "onUpdate:modelValue": e[2] || (e[2] = (ce) => o.checkList = ce),
5665
+ "onUpdate:modelValue": e[2] || (e[2] = (me) => o.checkList = me),
5666
5666
  value: F.key,
5667
5667
  label: t.$t(`layer.${F.locale}`),
5668
5668
  color: "primary",
@@ -5748,7 +5748,7 @@ function hs(t, e, a, i, o, r) {
5748
5748
  key: 3,
5749
5749
  ref: "idmPorts",
5750
5750
  map: a.map,
5751
- ports: (de = o.otherLayers) == null ? void 0 : de.ports,
5751
+ ports: (he = o.otherLayers) == null ? void 0 : he.ports,
5752
5752
  gateway: a.gateway,
5753
5753
  token: a.token,
5754
5754
  "forecast-model": a.forecastModel,
@@ -5777,7 +5777,7 @@ function hs(t, e, a, i, o, r) {
5777
5777
  a.map ? (b(), A(L, O({
5778
5778
  key: 6,
5779
5779
  map: a.map,
5780
- zone: (se = o.otherLayers) == null ? void 0 : se["eca-zones"]
5780
+ zone: (ne = o.otherLayers) == null ? void 0 : ne["eca-zones"]
5781
5781
  }, t.$attrs), null, 16, ["map", "zone"])) : D("", !0),
5782
5782
  a.map ? (b(), A(_, O({
5783
5783
  key: 7,
@@ -5808,7 +5808,7 @@ function hs(t, e, a, i, o, r) {
5808
5808
  a.map ? (b(), A(G, O({
5809
5809
  key: 12,
5810
5810
  map: a.map,
5811
- area: (ne = o.otherLayers) == null ? void 0 : ne["special-area"]
5811
+ area: (ce = o.otherLayers) == null ? void 0 : ce["special-area"]
5812
5812
  }, t.$attrs), null, 16, ["map", "area"])) : D("", !0),
5813
5813
  a.map ? (b(), A(Y, O({
5814
5814
  key: 13,
@@ -5850,15 +5850,15 @@ function hs(t, e, a, i, o, r) {
5850
5850
  const ps = /* @__PURE__ */ q(es, [["render", hs]]);
5851
5851
  class sa {
5852
5852
  constructor(e) {
5853
- me(this, "map");
5854
- me(this, "mercator");
5855
- me(this, "rampColorLayer");
5856
- me(this, "rampColorSource");
5857
- me(this, "particleLayer");
5858
- me(this, "particleSource");
5859
- me(this, "rampColorCanvas");
5860
- me(this, "particleCanvas");
5861
- me(this, "ratio");
5853
+ de(this, "map");
5854
+ de(this, "mercator");
5855
+ de(this, "rampColorLayer");
5856
+ de(this, "rampColorSource");
5857
+ de(this, "particleLayer");
5858
+ de(this, "particleSource");
5859
+ de(this, "rampColorCanvas");
5860
+ de(this, "particleCanvas");
5861
+ de(this, "ratio");
5862
5862
  this.map = e, this.mercator = new Jo(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
5863
5863
  }
5864
5864
  /**
@@ -5938,7 +5938,7 @@ class sa {
5938
5938
  a !== i && this.map.setLayoutProperty(this.particleLayer, "visibility", i);
5939
5939
  }
5940
5940
  }
5941
- class je {
5941
+ class Ne {
5942
5942
  /**
5943
5943
  * 创建着色器
5944
5944
  * @see https://webglfundamentals.org/webgl/lessons/zh_cn/webgl-shaders-and-glsl.html
@@ -6133,10 +6133,10 @@ class je {
6133
6133
  });
6134
6134
  }
6135
6135
  }
6136
- class he {
6136
+ class se {
6137
6137
  }
6138
6138
  // 顶点渲染
6139
- me(he, "vertexSchema", `
6139
+ de(se, "vertexSchema", `
6140
6140
  //canvas 坐标系上的坐标 (x, y)
6141
6141
  attribute vec2 a_position; //像素坐标
6142
6142
  attribute vec2 a_texCoord; //纹理坐标
@@ -6151,7 +6151,7 @@ me(he, "vertexSchema", `
6151
6151
  gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
6152
6152
  v_texCoord = a_texCoord;
6153
6153
  }`), // 类如风、流等u v双变量片元渲染
6154
- me(he, "uvFragmentSchema", `
6154
+ de(se, "uvFragmentSchema", `
6155
6155
  precision mediump float;
6156
6156
  uniform sampler2D u_image;
6157
6157
  uniform vec2 u_range_u_v;
@@ -6171,7 +6171,7 @@ me(he, "uvFragmentSchema", `
6171
6171
 
6172
6172
  gl_FragColor = color;
6173
6173
  }`), // 类如浪、气压等单变量片元渲染
6174
- me(he, "fragmentSchema", `
6174
+ de(se, "fragmentSchema", `
6175
6175
  precision mediump float;
6176
6176
  uniform sampler2D u_image; // 灰度
6177
6177
  uniform sampler2D u_color; // 色值映射
@@ -6184,7 +6184,7 @@ me(he, "fragmentSchema", `
6184
6184
  }`);
6185
6185
  class ke {
6186
6186
  }
6187
- me(ke, "vertexSchema", `
6187
+ de(ke, "vertexSchema", `
6188
6188
  precision mediump float;
6189
6189
 
6190
6190
  attribute float a_index; // 索引
@@ -6208,7 +6208,7 @@ me(ke, "vertexSchema", `
6208
6208
  gl_PointSize = 1.0;
6209
6209
  // gl_PointSize = u_point;
6210
6210
  gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
6211
- }`), me(ke, "fragmentSchema", `
6211
+ }`), de(ke, "fragmentSchema", `
6212
6212
  precision mediump float;
6213
6213
 
6214
6214
  uniform sampler2D u_factor;
@@ -6230,7 +6230,7 @@ me(ke, "vertexSchema", `
6230
6230
 
6231
6231
  float f = 1.0 - uv.b;
6232
6232
  gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
6233
- }`), me(ke, "quadVertSchema", `
6233
+ }`), de(ke, "quadVertSchema", `
6234
6234
  precision mediump float;
6235
6235
 
6236
6236
  attribute vec2 a_pos;
@@ -6240,7 +6240,7 @@ me(ke, "vertexSchema", `
6240
6240
  void main() {
6241
6241
  v_tex_pos = a_pos;
6242
6242
  gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
6243
- }`), me(ke, "screenFragmentSchema", `
6243
+ }`), de(ke, "screenFragmentSchema", `
6244
6244
  precision mediump float;
6245
6245
 
6246
6246
  uniform sampler2D u_screen;
@@ -6252,7 +6252,7 @@ me(ke, "vertexSchema", `
6252
6252
  vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
6253
6253
  // a hack to guarantee opacity fade out even with a value close to 1.0
6254
6254
  gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
6255
- }`), me(ke, "updateFragmentSchema", `
6255
+ }`), de(ke, "updateFragmentSchema", `
6256
6256
  precision mediump float;
6257
6257
 
6258
6258
  uniform sampler2D u_particles;
@@ -6387,7 +6387,7 @@ const us = {
6387
6387
  showCaption: !1,
6388
6388
  source: "wind-barb-source",
6389
6389
  barbs: [0, 2, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105],
6390
- empty: H.featureCollection([]),
6390
+ empty: U.featureCollection([]),
6391
6391
  right: 10,
6392
6392
  bottom: 125,
6393
6393
  windBarbLoaded: !1,
@@ -6513,7 +6513,7 @@ const bs = {
6513
6513
  texture: void 0,
6514
6514
  rampColor: void 0,
6515
6515
  aPositionBuffer: void 0,
6516
- webgl: new je(),
6516
+ webgl: new Ne(),
6517
6517
  etime: void 0,
6518
6518
  wrapper: void 0,
6519
6519
  animation: void 0,
@@ -6599,7 +6599,7 @@ const bs = {
6599
6599
  [1, "rgb(91, 136, 161)"]
6600
6600
  ];
6601
6601
  this.rampColor = this.webgl.setup(this.context, t);
6602
- const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, he.vertexSchema, he.uvFragmentSchema);
6602
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.uvFragmentSchema);
6603
6603
  this.program = e, this.aPositionBuffer = a;
6604
6604
  }
6605
6605
  this.handleParticleSetup();
@@ -6706,7 +6706,7 @@ const vs = /* @__PURE__ */ q(bs, [["render", xs]]), _s = {
6706
6706
  directionLayer: "current-direction-layer",
6707
6707
  speedLayer: "current-speed-layer",
6708
6708
  speedLabelLayer: "current-speed-label-layer",
6709
- empty: H.featureCollection([])
6709
+ empty: U.featureCollection([])
6710
6710
  };
6711
6711
  },
6712
6712
  computed: {
@@ -6853,7 +6853,7 @@ const Ls = {
6853
6853
  texture: void 0,
6854
6854
  rampColor: void 0,
6855
6855
  aPositionBuffer: void 0,
6856
- webgl: new je(),
6856
+ webgl: new Ne(),
6857
6857
  etime: void 0,
6858
6858
  wrapper: void 0,
6859
6859
  animation: void 0,
@@ -6931,7 +6931,7 @@ const Ls = {
6931
6931
  [1, "rgb(195,194,194)"]
6932
6932
  ];
6933
6933
  this.rampColor = this.webgl.setup(this.context, t);
6934
- const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, he.vertexSchema, he.uvFragmentSchema);
6934
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.uvFragmentSchema);
6935
6935
  this.program = e, this.aPositionBuffer = a;
6936
6936
  }
6937
6937
  this.handleParticleSetup();
@@ -7012,7 +7012,7 @@ function Cs(t, e, a, i, o, r) {
7012
7012
  }
7013
7013
  const Ts = /* @__PURE__ */ q(Ls, [["render", Cs]]);
7014
7014
  const Ss = {
7015
- name: "IdmTemp",
7015
+ name: "IdmSigWave",
7016
7016
  props: {
7017
7017
  factor: {
7018
7018
  type: Object
@@ -7035,7 +7035,7 @@ const Ss = {
7035
7035
  texture: void 0,
7036
7036
  rampColor: void 0,
7037
7037
  aPositionBuffer: void 0,
7038
- webgl: new je(),
7038
+ webgl: new Ne(),
7039
7039
  etime: void 0,
7040
7040
  right: 10
7041
7041
  };
@@ -7103,7 +7103,7 @@ const Ss = {
7103
7103
  //13
7104
7104
  ];
7105
7105
  this.rampColor = this.webgl.setup(this.context, t);
7106
- const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, he.vertexSchema, he.fragmentSchema);
7106
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
7107
7107
  this.program = e, this.aPositionBuffer = a;
7108
7108
  }
7109
7109
  },
@@ -7134,8 +7134,8 @@ function Ms(t, e, a, i, o, r) {
7134
7134
  ]), 4)
7135
7135
  ])) : D("", !0);
7136
7136
  }
7137
- const As = /* @__PURE__ */ q(Ss, [["render", Ms], ["__scopeId", "data-v-6d3e12de"]]), Ds = {
7138
- name: "IdmSigWave",
7137
+ const As = /* @__PURE__ */ q(Ss, [["render", Ms], ["__scopeId", "data-v-c069e9e6"]]), Ds = {
7138
+ name: "IdmSigWaveHeight",
7139
7139
  props: {
7140
7140
  map: {
7141
7141
  type: Object
@@ -7158,7 +7158,7 @@ const As = /* @__PURE__ */ q(Ss, [["render", Ms], ["__scopeId", "data-v-6d3e12de
7158
7158
  source: "sig-wave-height-source",
7159
7159
  heightLayer: "sig-wave-height-layer",
7160
7160
  heightLabelLayer: "sig-wave-height-label-layer",
7161
- empty: H.featureCollection([])
7161
+ empty: U.featureCollection([])
7162
7162
  };
7163
7163
  },
7164
7164
  watch: {
@@ -7282,157 +7282,131 @@ const As = /* @__PURE__ */ q(Ss, [["render", Ms], ["__scopeId", "data-v-6d3e12de
7282
7282
  function Rs(t, e, a, i, o, r) {
7283
7283
  return null;
7284
7284
  }
7285
- const Os = /* @__PURE__ */ q(Ds, [["render", Rs]]), Bs = {
7285
+ const Os = /* @__PURE__ */ q(Ds, [["render", Rs]]);
7286
+ const Bs = {
7286
7287
  name: "IdmSwell",
7287
7288
  props: {
7288
- map: {
7289
+ factor: {
7289
7290
  type: Object
7290
7291
  },
7291
- swell: {
7292
+ viewport: {
7292
7293
  type: Object
7293
7294
  },
7294
- beforeLayer: {
7295
- type: String
7295
+ bottom: {
7296
+ type: String,
7297
+ default: "70px"
7296
7298
  },
7297
- activeWeatherLayers: {
7298
- type: Array
7299
+ menuToggle: {
7300
+ type: Object
7299
7301
  }
7300
7302
  },
7301
7303
  data() {
7302
7304
  return {
7303
- source: "swell-source",
7304
- directionLayer: "swell-direction-layer",
7305
- heightLayer: "swell-height-layer",
7306
- heightLabelLayer: "swell-height-label-layer",
7307
- empty: H.featureCollection([])
7305
+ program: void 0,
7306
+ context: void 0,
7307
+ texture: void 0,
7308
+ rampColor: void 0,
7309
+ aPositionBuffer: void 0,
7310
+ webgl: new Ne(),
7311
+ etime: void 0,
7312
+ right: 10
7308
7313
  };
7309
7314
  },
7310
7315
  watch: {
7311
- "swell.version": {
7316
+ "factor.version": {
7312
7317
  handler() {
7313
7318
  var t;
7314
- (t = this.swell) != null && t.active ? this.handleRender() : this.handleClear();
7319
+ (t = this.factor) != null && t.active ? this.handleRender() : this.handleClear();
7315
7320
  },
7316
7321
  deep: !0
7322
+ },
7323
+ "menuToggle.v": {
7324
+ handler() {
7325
+ var t;
7326
+ this.right = (((t = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : t.clientWidth) || 0) + 10;
7327
+ },
7328
+ immediate: !0
7317
7329
  }
7318
7330
  },
7319
7331
  methods: {
7320
7332
  handleRender() {
7321
- var t, e;
7322
- if (this.swell) {
7323
- const a = (/* @__PURE__ */ new Date()).valueOf();
7324
- let i = 0, o = 0, r = this.empty;
7325
- if (this.swell.active && (r = this.swell.data), (t = this.map) != null && t.getSource(this.source))
7326
- (e = this.map) == null || e.getSource(this.source).setData(r), o = (/* @__PURE__ */ new Date()).valueOf() - (a + i), console.log("[swell] update elapsed: ", o, ", total: ", i += o);
7327
- else {
7328
- this.map.addSource(this.source, { type: "geojson", data: r }), this.map.addLayer(
7329
- {
7330
- id: this.heightLayer,
7331
- type: "line",
7332
- source: this.source,
7333
- filter: ["==", "$type", "LineString"],
7334
- paint: {
7335
- "line-opacity": 1,
7336
- "line-width": 1,
7337
- "line-color": [
7338
- "match",
7339
- ["get", "val"],
7340
- 2,
7341
- "rgba(255,255,0,0.9)",
7342
- 3,
7343
- "rgba(255,149,0,0.9)",
7344
- 4,
7345
- "rgba(244,67,54,0.9)",
7346
- 5,
7347
- "rgba(162,2,31,0.9)",
7348
- 6,
7349
- "rgba(162,2,31,0.9)",
7350
- "rgba(162,2,31,0.9)"
7351
- ]
7352
- }
7353
- },
7354
- this.beforeLayer
7355
- ), this.map.addLayer({
7356
- id: this.heightLabelLayer,
7357
- type: "symbol",
7358
- source: this.source,
7359
- filter: ["==", "$type", "LineString"],
7360
- layout: {
7361
- "symbol-placement": "line",
7362
- "text-rotation-alignment": "viewport",
7363
- "text-field": "{val}m",
7364
- "text-size": 11
7365
- },
7366
- paint: {
7367
- "text-color": ["step", ["get", "val"], "black", 4, "white", 5, "white", 6, "white"],
7368
- "text-halo-color": [
7369
- "match",
7370
- ["get", "val"],
7371
- 2,
7372
- "rgba(255,255,0,0.7)",
7373
- 3,
7374
- "rgba(255,149,0,0.7)",
7375
- 4,
7376
- "rgba(244,67,54,0.7)",
7377
- 5,
7378
- "rgba(162,13,2,0.7)",
7379
- 6,
7380
- "rgba(162,13,2,0.7)",
7381
- "rgba(162,13,2,0.7)"
7382
- ],
7383
- "text-halo-width": 2
7384
- }
7385
- }, this.beforeLayer);
7386
- const s = new Image(72, 72);
7387
- let c = '<svg t="1752721890391" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12518" width="200" height="200"><path d="M481.386772 959.514313 481.386772 334.713224c-56.000432 37.288255-92.523253 55.876612-142.312216 57.787124 85.834924-84.884272 130.528845-195.161888 172.552961-328.434218 40.259936 133.272329 89.39296 238.731196 172.622546 328.434218-54.105269-5.729491-86.780459-21.201881-146.338926-58.965973l0 625.979938L481.386772 959.514313z" p-id="12519" fill="#ffffff"></path></svg>', n = "data:image/svg+xml;base64," + window.btoa(unescape(encodeURIComponent(c)));
7388
- s.src = n, s.onload = () => {
7389
- this.map.hasImage("swellDirIconWhite") || this.map.addImage("swellDirIconWhite", s), this.map.addLayer(
7390
- {
7391
- id: this.directionLayer,
7392
- type: "symbol",
7393
- source: this.source,
7394
- filter: ["==", "$type", "Point"],
7395
- layout: {
7396
- "symbol-placement": "point",
7397
- "icon-image": "swellDirIconWhite",
7398
- "icon-size": {
7399
- base: 1,
7400
- stops: [
7401
- [2, 0.32],
7402
- [6, 0.5]
7403
- ]
7404
- },
7405
- "icon-offset": [0, -20],
7406
- "icon-allow-overlap": !0,
7407
- "icon-rotation-alignment": "map",
7408
- "icon-rotate": {
7409
- property: "val",
7410
- stops: [
7411
- [0, 180],
7412
- [360, 540]
7413
- ]
7414
- }
7415
- },
7416
- paint: {
7417
- "icon-opacity": 1
7418
- }
7419
- },
7420
- this.beforeLayer
7421
- );
7422
- }, o = (/* @__PURE__ */ new Date()).valueOf() - (a + i), console.log("[swell] add elapsed: ", o, ", total: ", i += o);
7423
- }
7333
+ if (this.factor) {
7334
+ const t = (/* @__PURE__ */ new Date()).valueOf();
7335
+ let e = 0, a = 0;
7336
+ this.handleDraw(), a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[sig-wave] add elapsed: ", a, ", total: ", e += a);
7424
7337
  }
7425
7338
  },
7426
7339
  handleClear() {
7427
- var t, e, a;
7428
- ((t = this.activeWeatherLayers) == null ? void 0 : t.length) === 0 && (e = this.map) != null && e.getLayer("country-boundaries") && ((a = this.map) == null || a.setLayoutProperty("country-boundaries", "visibility", "none")), this.map.getLayer(this.heightLayer) && this.map.removeLayer(this.heightLayer), this.map.getLayer(this.heightLabelLayer) && this.map.removeLayer(this.heightLabelLayer), this.map.getLayer(this.directionLayer) && this.map.removeLayer(this.directionLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
7340
+ this.context = void 0, this.etime = void 0, this.viewport.toggle(!1);
7341
+ },
7342
+ handleSetup() {
7343
+ if (!this.context) {
7344
+ this.context = this.viewport.rampColorCanvas.getContext("webgl");
7345
+ const t = [
7346
+ [0, "rgb(50, 158, 186)"],
7347
+ // 0
7348
+ [10 / 255, "rgb(50, 158, 186)"],
7349
+ // 0.5
7350
+ [20 / 255, "rgb(48, 128, 164)"],
7351
+ // 1
7352
+ [30 / 255, "rgb(48, 99, 142)"],
7353
+ // 1.5
7354
+ [40 / 255, "rgb(57, 61, 143)"],
7355
+ // 2
7356
+ [50 / 255, "rgb(179, 86, 189)"],
7357
+ // 2.5
7358
+ [60 / 255, "rgb(154, 45, 123)"],
7359
+ // 3
7360
+ [80 / 255, "rgb(134, 48, 48)"],
7361
+ // 4
7362
+ // [100 / 255, '#f77800'], // 5
7363
+ [120 / 255, "rgb(194, 77, 91)"],
7364
+ // 6
7365
+ // [140 / 255, '#e06128'], // 7
7366
+ [150 / 255, "rgb(192, 118, 105)"],
7367
+ // 7.5
7368
+ // [160 / 255, '#dc5132'], // 8
7369
+ [180 / 255, "rgb(192, 163, 157)"],
7370
+ // 9
7371
+ // [200 / 255, '#cd3a46'],// 10
7372
+ // [220 / 255, '#be2c50'], // 11
7373
+ // [240 / 255, '#b41a5a'], // 12
7374
+ [1, "rgb(192, 163, 157)"]
7375
+ //13
7376
+ ];
7377
+ this.rampColor = this.webgl.setup(this.context, t);
7378
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
7379
+ this.program = e, this.aPositionBuffer = a;
7380
+ }
7381
+ },
7382
+ async handleDraw() {
7383
+ if (this.handleSetup(), this.etime !== this.factor.etime) {
7384
+ this.etime = this.factor.etime;
7385
+ const t = await this.webgl.loadImg(this.factor.raw);
7386
+ this.texture = this.webgl.createTexture(this.context, this.context.NEAREST, this.context.LINEAR, this.context.CLAMP_TO_EDGE, t);
7387
+ }
7388
+ this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
7429
7389
  }
7430
7390
  }
7431
- };
7432
- function Es(t, e, a, i, o, r) {
7433
- return b(), S("div");
7391
+ }, Es = { key: 0 };
7392
+ function Ns(t, e, a, i, o, r) {
7393
+ var s;
7394
+ return (s = a.factor) != null && s.active ? (b(), S("div", Es, [
7395
+ l("div", {
7396
+ class: "legend-bars-gl4 swell",
7397
+ style: ie({ right: o.right + "px" })
7398
+ }, e[0] || (e[0] = [
7399
+ l("span", null, "m", -1),
7400
+ l("span", null, "0.5", -1),
7401
+ l("span", null, "1", -1),
7402
+ l("span", null, "1.5", -1),
7403
+ l("span", null, "2", -1),
7404
+ l("span", null, "6", -1),
7405
+ l("span", null, "9", -1)
7406
+ ]), 4)
7407
+ ])) : D("", !0);
7434
7408
  }
7435
- const Ns = /* @__PURE__ */ q(Bs, [["render", Es]]), js = {
7409
+ const js = /* @__PURE__ */ q(Bs, [["render", Ns], ["__scopeId", "data-v-214b2a9a"]]), Fs = {
7436
7410
  name: "IdmPrmsl",
7437
7411
  props: {
7438
7412
  map: {
@@ -7462,7 +7436,7 @@ const Ns = /* @__PURE__ */ q(Bs, [["render", Es]]), js = {
7462
7436
  layer: "prmsl-layer",
7463
7437
  labelLayer: "prmsl-label-layer",
7464
7438
  pointLabelLayer: "prmsl-point-label-layer",
7465
- empty: H.featureCollection([])
7439
+ empty: U.featureCollection([])
7466
7440
  };
7467
7441
  },
7468
7442
  watch: {
@@ -7577,14 +7551,14 @@ const Ns = /* @__PURE__ */ q(Bs, [["render", Es]]), js = {
7577
7551
  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);
7578
7552
  }
7579
7553
  }
7580
- }, Fs = {
7554
+ }, Hs = {
7581
7555
  key: 0,
7582
7556
  class: "legend-tip-btn-gl4"
7583
7557
  };
7584
- function Hs(t, e, a, i, o, r) {
7558
+ function Us(t, e, a, i, o, r) {
7585
7559
  var n;
7586
7560
  const s = x("VBtn"), c = x("VTooltip");
7587
- return (n = a.prmsl) != null && n.active ? (b(), S("div", Fs, [
7561
+ return (n = a.prmsl) != null && n.active ? (b(), S("div", Hs, [
7588
7562
  l("div", {
7589
7563
  class: "menu-bar-box pa-1 rounded",
7590
7564
  style: ie({ right: o.right + "px" })
@@ -7614,8 +7588,8 @@ function Hs(t, e, a, i, o, r) {
7614
7588
  ], 4)
7615
7589
  ])) : D("", !0);
7616
7590
  }
7617
- const Us = /* @__PURE__ */ q(js, [["render", Hs]]);
7618
- const Ws = {
7591
+ const Ws = /* @__PURE__ */ q(Fs, [["render", Us]]);
7592
+ const Gs = {
7619
7593
  name: "IdmIceEdge",
7620
7594
  props: {
7621
7595
  factor: {
@@ -7639,7 +7613,7 @@ const Ws = {
7639
7613
  texture: void 0,
7640
7614
  rampColor: void 0,
7641
7615
  aPositionBuffer: void 0,
7642
- webgl: new je(),
7616
+ webgl: new Ne(),
7643
7617
  etime: void 0,
7644
7618
  right: 10
7645
7619
  };
@@ -7699,7 +7673,7 @@ const Ws = {
7699
7673
  // 100%
7700
7674
  ];
7701
7675
  this.rampColor = this.webgl.setup(this.context, t);
7702
- const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, he.vertexSchema, he.fragmentSchema);
7676
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
7703
7677
  this.program = e, this.aPositionBuffer = a;
7704
7678
  }
7705
7679
  },
@@ -7712,10 +7686,10 @@ const Ws = {
7712
7686
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
7713
7687
  }
7714
7688
  }
7715
- }, Gs = { key: 0 };
7716
- function Vs(t, e, a, i, o, r) {
7689
+ }, Vs = { key: 0 };
7690
+ function Zs(t, e, a, i, o, r) {
7717
7691
  var s;
7718
- return (s = a.factor) != null && s.active ? (b(), S("div", Gs, [
7692
+ return (s = a.factor) != null && s.active ? (b(), S("div", Vs, [
7719
7693
  l("div", {
7720
7694
  class: "legend-bars-gl4 ice-edge",
7721
7695
  style: ie({ right: o.right + "px" })
@@ -7735,8 +7709,8 @@ function Vs(t, e, a, i, o, r) {
7735
7709
  ]), 4)
7736
7710
  ])) : D("", !0);
7737
7711
  }
7738
- const Zs = /* @__PURE__ */ q(Ws, [["render", Vs]]);
7739
- const qs = {
7712
+ const qs = /* @__PURE__ */ q(Gs, [["render", Zs]]);
7713
+ const Ys = {
7740
7714
  name: "IdmCover",
7741
7715
  props: {
7742
7716
  factor: {
@@ -7760,7 +7734,7 @@ const qs = {
7760
7734
  texture: void 0,
7761
7735
  rampColor: void 0,
7762
7736
  aPositionBuffer: void 0,
7763
- webgl: new je(),
7737
+ webgl: new Ne(),
7764
7738
  etime: void 0,
7765
7739
  right: 10
7766
7740
  };
@@ -7811,7 +7785,7 @@ const qs = {
7811
7785
  // 100%
7812
7786
  ];
7813
7787
  this.rampColor = this.webgl.setup(this.context, t);
7814
- const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, he.vertexSchema, he.fragmentSchema);
7788
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
7815
7789
  this.program = e, this.aPositionBuffer = a;
7816
7790
  }
7817
7791
  },
@@ -7824,10 +7798,10 @@ const qs = {
7824
7798
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
7825
7799
  }
7826
7800
  }
7827
- }, Ys = { key: 0 };
7828
- function Ks(t, e, a, i, o, r) {
7801
+ }, Ks = { key: 0 };
7802
+ function Xs(t, e, a, i, o, r) {
7829
7803
  var s;
7830
- return (s = a.factor) != null && s.active ? (b(), S("div", Ys, [
7804
+ return (s = a.factor) != null && s.active ? (b(), S("div", Ks, [
7831
7805
  l("div", {
7832
7806
  class: "legend-bars-gl4 ice-cover",
7833
7807
  style: ie({ right: o.right + "px" })
@@ -7841,8 +7815,8 @@ function Ks(t, e, a, i, o, r) {
7841
7815
  ]), 4)
7842
7816
  ])) : D("", !0);
7843
7817
  }
7844
- const Xs = /* @__PURE__ */ q(qs, [["render", Ks], ["__scopeId", "data-v-34dc758b"]]);
7845
- const $s = {
7818
+ const $s = /* @__PURE__ */ q(Ys, [["render", Xs], ["__scopeId", "data-v-34dc758b"]]);
7819
+ const Qs = {
7846
7820
  name: "IdmThickness",
7847
7821
  props: {
7848
7822
  factor: {
@@ -7866,7 +7840,7 @@ const $s = {
7866
7840
  texture: void 0,
7867
7841
  rampColor: void 0,
7868
7842
  aPositionBuffer: void 0,
7869
- webgl: new je(),
7843
+ webgl: new Ne(),
7870
7844
  etime: void 0,
7871
7845
  right: 10
7872
7846
  };
@@ -7925,7 +7899,7 @@ const $s = {
7925
7899
  // 4m
7926
7900
  ];
7927
7901
  this.rampColor = this.webgl.setup(this.context, t);
7928
- const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, he.vertexSchema, he.fragmentSchema);
7902
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
7929
7903
  this.program = e, this.aPositionBuffer = a;
7930
7904
  }
7931
7905
  },
@@ -7938,10 +7912,10 @@ const $s = {
7938
7912
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
7939
7913
  }
7940
7914
  }
7941
- }, Qs = { key: 0 };
7942
- function Js(t, e, a, i, o, r) {
7915
+ }, Js = { key: 0 };
7916
+ function en(t, e, a, i, o, r) {
7943
7917
  var s;
7944
- return (s = a.factor) != null && s.active ? (b(), S("div", Qs, [
7918
+ return (s = a.factor) != null && s.active ? (b(), S("div", Js, [
7945
7919
  l("div", {
7946
7920
  class: "legend-bars-gl4 ice-thickness",
7947
7921
  style: ie({ right: o.right + "px" })
@@ -7956,8 +7930,8 @@ function Js(t, e, a, i, o, r) {
7956
7930
  ]), 4)
7957
7931
  ])) : D("", !0);
7958
7932
  }
7959
- const en = /* @__PURE__ */ q($s, [["render", Js]]);
7960
- const tn = {
7933
+ const tn = /* @__PURE__ */ q(Qs, [["render", en]]);
7934
+ const an = {
7961
7935
  name: "IdmPrecip3h",
7962
7936
  props: {
7963
7937
  factor: {
@@ -7985,7 +7959,7 @@ const tn = {
7985
7959
  texture: void 0,
7986
7960
  rampColor: void 0,
7987
7961
  aPositionBuffer: void 0,
7988
- webgl: new je(),
7962
+ webgl: new Ne(),
7989
7963
  etime: void 0,
7990
7964
  right: 10
7991
7965
  };
@@ -8041,7 +8015,7 @@ const tn = {
8041
8015
  [1, "rgba(197,5,58,0.8)"]
8042
8016
  ];
8043
8017
  this.rampColor = this.webgl.setup(this.context, t);
8044
- const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, he.vertexSchema, he.fragmentSchema);
8018
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
8045
8019
  this.program = e, this.aPositionBuffer = a;
8046
8020
  }
8047
8021
  },
@@ -8054,10 +8028,10 @@ const tn = {
8054
8028
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
8055
8029
  }
8056
8030
  }
8057
- }, an = { key: 0 };
8058
- function on(t, e, a, i, o, r) {
8031
+ }, on = { key: 0 };
8032
+ function rn(t, e, a, i, o, r) {
8059
8033
  var s;
8060
- return (s = a.factor) != null && s.active ? (b(), S("div", an, [
8034
+ return (s = a.factor) != null && s.active ? (b(), S("div", on, [
8061
8035
  l("div", {
8062
8036
  class: "legend-bars-gl4 precip3h",
8063
8037
  style: ie({ right: o.right + "px" })
@@ -8073,8 +8047,8 @@ function on(t, e, a, i, o, r) {
8073
8047
  ]), 4)
8074
8048
  ])) : D("", !0);
8075
8049
  }
8076
- const rn = /* @__PURE__ */ q(tn, [["render", on]]);
8077
- const ln = {
8050
+ const ln = /* @__PURE__ */ q(an, [["render", rn]]);
8051
+ const sn = {
8078
8052
  name: "IdmVisibility",
8079
8053
  props: {
8080
8054
  factor: {
@@ -8099,7 +8073,7 @@ const ln = {
8099
8073
  texture: void 0,
8100
8074
  rampColor: void 0,
8101
8075
  aPositionBuffer: void 0,
8102
- webgl: new je(),
8076
+ webgl: new Ne(),
8103
8077
  etime: void 0
8104
8078
  };
8105
8079
  },
@@ -8148,7 +8122,7 @@ const ln = {
8148
8122
  [1, "rgba(144,144,144,0)"]
8149
8123
  ];
8150
8124
  this.rampColor = this.webgl.setup(this.context, t);
8151
- const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, he.vertexSchema, he.fragmentSchema);
8125
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
8152
8126
  this.program = e, this.aPositionBuffer = a;
8153
8127
  }
8154
8128
  },
@@ -8161,10 +8135,10 @@ const ln = {
8161
8135
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
8162
8136
  }
8163
8137
  }
8164
- }, sn = { key: 0 };
8165
- function nn(t, e, a, i, o, r) {
8138
+ }, nn = { key: 0 };
8139
+ function cn(t, e, a, i, o, r) {
8166
8140
  var s;
8167
- return (s = a.factor) != null && s.active ? (b(), S("div", sn, [
8141
+ return (s = a.factor) != null && s.active ? (b(), S("div", nn, [
8168
8142
  l("div", {
8169
8143
  class: "legend-bars-gl4 visibility",
8170
8144
  style: ie({ right: o.right + "px" })
@@ -8178,8 +8152,8 @@ function nn(t, e, a, i, o, r) {
8178
8152
  ]), 4)
8179
8153
  ])) : D("", !0);
8180
8154
  }
8181
- const cn = /* @__PURE__ */ q(ln, [["render", nn]]);
8182
- const mn = {
8155
+ const mn = /* @__PURE__ */ q(sn, [["render", cn]]);
8156
+ const dn = {
8183
8157
  name: "IdmWaterTemp",
8184
8158
  props: {
8185
8159
  factor: {
@@ -8199,7 +8173,7 @@ const mn = {
8199
8173
  texture: void 0,
8200
8174
  rampColor: void 0,
8201
8175
  aPositionBuffer: void 0,
8202
- webgl: new je(),
8176
+ webgl: new Ne(),
8203
8177
  etime: void 0,
8204
8178
  right: 10
8205
8179
  };
@@ -8256,7 +8230,7 @@ const mn = {
8256
8230
  //
8257
8231
  ];
8258
8232
  this.rampColor = this.webgl.setup(this.context, t);
8259
- const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, he.vertexSchema, he.fragmentSchema);
8233
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
8260
8234
  this.program = e, this.aPositionBuffer = a;
8261
8235
  }
8262
8236
  },
@@ -8269,10 +8243,10 @@ const mn = {
8269
8243
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
8270
8244
  }
8271
8245
  }
8272
- }, dn = { key: 0 };
8273
- function hn(t, e, a, i, o, r) {
8246
+ }, hn = { key: 0 };
8247
+ function pn(t, e, a, i, o, r) {
8274
8248
  var s;
8275
- return (s = a.factor) != null && s.active ? (b(), S("div", dn, [
8249
+ return (s = a.factor) != null && s.active ? (b(), S("div", hn, [
8276
8250
  l("div", {
8277
8251
  class: "legend-bars-gl4 water-temp",
8278
8252
  style: ie({ right: o.right + "px" })
@@ -8286,8 +8260,8 @@ function hn(t, e, a, i, o, r) {
8286
8260
  ]), 4)
8287
8261
  ])) : D("", !0);
8288
8262
  }
8289
- const pn = /* @__PURE__ */ q(mn, [["render", hn]]);
8290
- const un = {
8263
+ const un = /* @__PURE__ */ q(dn, [["render", pn]]);
8264
+ const gn = {
8291
8265
  name: "IdmTemp",
8292
8266
  props: {
8293
8267
  factor: {
@@ -8315,7 +8289,7 @@ const un = {
8315
8289
  texture: void 0,
8316
8290
  rampColor: void 0,
8317
8291
  aPositionBuffer: void 0,
8318
- webgl: new je(),
8292
+ webgl: new Ne(),
8319
8293
  etime: void 0,
8320
8294
  right: 10
8321
8295
  };
@@ -8375,7 +8349,7 @@ const un = {
8375
8349
  [1, "rgb(138, 43, 10)"]
8376
8350
  ];
8377
8351
  this.rampColor = this.webgl.setup(this.context, t);
8378
- const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, he.vertexSchema, he.fragmentSchema);
8352
+ const { program: e, aPositionBuffer: a } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
8379
8353
  this.program = e, this.aPositionBuffer = a;
8380
8354
  }
8381
8355
  },
@@ -8388,10 +8362,10 @@ const un = {
8388
8362
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
8389
8363
  }
8390
8364
  }
8391
- }, gn = { key: 0 };
8392
- function fn(t, e, a, i, o, r) {
8365
+ }, fn = { key: 0 };
8366
+ function yn(t, e, a, i, o, r) {
8393
8367
  var s;
8394
- return (s = a.factor) != null && s.active ? (b(), S("div", gn, [
8368
+ return (s = a.factor) != null && s.active ? (b(), S("div", fn, [
8395
8369
  l("div", {
8396
8370
  class: "legend-bars-gl4 temp",
8397
8371
  style: ie({ right: o.right + "px" })
@@ -8407,8 +8381,8 @@ function fn(t, e, a, i, o, r) {
8407
8381
  ]), 4)
8408
8382
  ])) : D("", !0);
8409
8383
  }
8410
- const yn = /* @__PURE__ */ q(un, [["render", fn]]);
8411
- const bn = {
8384
+ const bn = /* @__PURE__ */ q(gn, [["render", yn]]);
8385
+ const wn = {
8412
8386
  name: "IdmGlLayer",
8413
8387
  components: {
8414
8388
  IdmWindBarb: ys,
@@ -8417,15 +8391,15 @@ const bn = {
8417
8391
  IdmCurrentParticle: Ts,
8418
8392
  IdmWave: As,
8419
8393
  IdmSigWaveHeight: Os,
8420
- IdmSwell: Ns,
8421
- IdmPrmsl: Us,
8422
- IdmIceEdge: Zs,
8423
- IdmIceCover: Xs,
8424
- IdmIceThickness: en,
8425
- IdmPrecip3h: rn,
8426
- IdmVisibility: cn,
8427
- IdmWaterTemp: pn,
8428
- IdmTemp: yn
8394
+ IdmSwell: js,
8395
+ IdmPrmsl: Ws,
8396
+ IdmIceEdge: qs,
8397
+ IdmIceCover: $s,
8398
+ IdmIceThickness: tn,
8399
+ IdmPrecip3h: ln,
8400
+ IdmVisibility: mn,
8401
+ IdmWaterTemp: un,
8402
+ IdmTemp: bn
8429
8403
  },
8430
8404
  props: {
8431
8405
  isLogin: {
@@ -8478,11 +8452,13 @@ const bn = {
8478
8452
  right: 10,
8479
8453
  toggle: !1,
8480
8454
  autoActive: !0,
8455
+ weatherWeight: 0,
8481
8456
  allLayers: [...ia.WEATHER_LAYERS],
8482
8457
  tagLayers: [...ia.WEATHER_LAYERS.filter((t) => !t.hide)],
8483
8458
  checkList: [],
8484
8459
  renderKey: "",
8485
8460
  iceToggleValue: void 0,
8461
+ waveToggleValue: void 0,
8486
8462
  weatherLayers: {},
8487
8463
  activeWeatherLayers: [],
8488
8464
  cache: {
@@ -8570,7 +8546,7 @@ const bn = {
8570
8546
  },
8571
8547
  map: {
8572
8548
  handler() {
8573
- this.map && (this.map.on("move", this.handleMove4Weather), this.viewport = new sa(this.map), this.handleRampColorInitial(), this.handleWeatherLayerChange(), this.$emit("weatherCheckList", this.checkList));
8549
+ this.map && (this.fetchCache(), this.map.on("move", this.handleMove4Weather), this.viewport = new sa(this.map), this.handleRampColorInitial());
8574
8550
  },
8575
8551
  immediate: !0
8576
8552
  },
@@ -8604,6 +8580,11 @@ const bn = {
8604
8580
  t && (this.checkList = ["ice-forecast", this.iceToggleValue]);
8605
8581
  }
8606
8582
  },
8583
+ waveToggleValue: {
8584
+ handler(t) {
8585
+ t && (this.checkList = ["wave-group", this.waveToggleValue]);
8586
+ }
8587
+ },
8607
8588
  showWindParticle: {
8608
8589
  handler(t) {
8609
8590
  let e = "wind-particle";
@@ -8624,7 +8605,6 @@ const bn = {
8624
8605
  }
8625
8606
  },
8626
8607
  mounted() {
8627
- this.fetchCache(), this.fetchWeatherLayers();
8628
8608
  },
8629
8609
  methods: {
8630
8610
  arraysEqual(t, e) {
@@ -8636,10 +8616,11 @@ const bn = {
8636
8616
  return !0;
8637
8617
  },
8638
8618
  fetchCache() {
8619
+ var a, i;
8639
8620
  const t = localStorage.getItem(this.cache.versionKey);
8640
8621
  this.cache.v !== t && (localStorage.removeItem(this.cache.autoActiveKey), localStorage.removeItem(this.cache.checkListKey), localStorage.setItem(this.cache.versionKey, this.cache.v));
8641
8622
  let e = localStorage.getItem(this.cache.autoActiveKey);
8642
- this.autoActive = e !== "false", localStorage.setItem(this.cache.autoActiveKey, this.autoActive), e = localStorage.getItem(this.cache.checkListKey), this.checkList = JSON.parse(e || "['wind', 'sig-wave-height']"), this.checkList.find((a) => this.rendersKeys.includes(a)) && (this.renderKey = this.checkList.find((a) => this.rendersKeys.includes(a))), localStorage.setItem(this.cache.checkListKey, JSON.stringify(this.checkList));
8623
+ this.autoActive = e !== "false", localStorage.setItem(this.cache.autoActiveKey, this.autoActive), e = localStorage.getItem(this.cache.checkListKey), this.waveToggleValue = (a = JSON.parse(e)) != null && a.some((o) => o === "swell") ? "swell" : void 0, this.iceToggleValue = (i = JSON.parse(e)) != null && i.some((o) => o === "ice-thickness") ? "ice-thickness" : void 0, this.checkList = JSON.parse(e || JSON.stringify(["wind", "sig-wave-height"])), this.checkList.find((o) => this.rendersKeys.includes(o)) && (this.renderKey = this.checkList.find((o) => this.rendersKeys.includes(o))), localStorage.setItem(this.cache.checkListKey, JSON.stringify(this.checkList));
8643
8624
  },
8644
8625
  handleMenuToggle() {
8645
8626
  this.$emit("menuToggle", "weatherLayers");
@@ -8652,13 +8633,13 @@ const bn = {
8652
8633
  if (this.arraysEqual(t, e))
8653
8634
  return !1;
8654
8635
  const a = [...new Set(t)], i = a == null ? void 0 : a.filter((r) => !(e != null && e.includes(r)))[0], o = e == null ? void 0 : e.filter((r) => !(a != null && a.includes(r)))[0];
8655
- i && (i === "ice-cover" || i === "ice-thickness" || i === "ice-forecast" ? (this.checkList = ["ice-forecast", this.iceToggleValue || "ice-cover"], this.iceToggleValue = this.iceToggleValue || "ice-cover") : this.rendersKeys.includes(i) ? this.checkList = [i] : (this.checkList = a.filter((r) => !this.rendersKeys.includes(r)), this.renderKey = void 0)), o && (o === "ice-forecast" ? (this.checkList = a.filter((r) => !["ice-cover", "ice-thickness", "ice-forecast"].includes(r)), this.iceToggleValue = void 0) : this.checkList = a), this.checkList.includes("wind-particle") && (this.showWindParticle = !0), this.checkList.includes("current-particle") && (this.showCurrentParticle = !0), localStorage.setItem(this.cache.checkListKey, JSON.stringify(a)), this.activeWeatherLayers = this.autoActive ? this.allLayers.filter((r) => a.includes(r.key)) : [], this.handleWeatherLayerChange();
8636
+ i && (i === "ice-cover" || i === "ice-thickness" || i === "ice-forecast" ? (this.checkList = ["ice-forecast", this.iceToggleValue || "ice-cover"], this.iceToggleValue = this.iceToggleValue || "ice-cover") : i === "wave-group" || i === "swell" || i === "sig-wave" ? (this.checkList = ["wave-group", this.waveToggleValue || "sig-wave"], this.waveToggleValue = this.waveToggleValue || "sig-wave") : this.rendersKeys.includes(i) ? this.checkList = [i] : (this.checkList = a.filter((r) => !this.rendersKeys.includes(r)), this.renderKey = void 0)), o && (o === "ice-forecast" ? (this.checkList = a.filter((r) => !["ice-cover", "ice-thickness", "ice-forecast"].includes(r)), this.iceToggleValue = void 0) : o === "wave-group" ? (this.checkList = a.filter((r) => !["wave-group", "sig-wave", "swell"].includes(r)), this.waveToggleValue = void 0) : this.checkList = a), this.checkList.includes("wind-particle") && (this.showWindParticle = !0), this.checkList.includes("current-particle") && (this.showCurrentParticle = !0), localStorage.setItem(this.cache.checkListKey, JSON.stringify(a)), this.activeWeatherLayers = this.autoActive ? this.allLayers.filter((r) => a.includes(r.key)) : [], this.handleWeatherLayerChange();
8656
8637
  },
8657
8638
  async fetchModels() {
8658
8639
  this.models = {};
8659
8640
  const t = await Se.get(`${this.gateway}/api/arc/meteo2/models2`, {
8660
8641
  headers: {
8661
- Authorization: this.token || this.defaultMeteoToken
8642
+ Authorization: this.defaultMeteoToken
8662
8643
  }
8663
8644
  });
8664
8645
  (t == null ? void 0 : t.data.code) === 0 && (this.models = t == null ? void 0 : t.data.data);
@@ -8683,7 +8664,7 @@ const bn = {
8683
8664
  `${B}/api/arc/weather/layers2/links?l=${T}&v=${this.forecastModel}&z=${v}&bbox=${C}&t=${this.realTime}`,
8684
8665
  {
8685
8666
  headers: {
8686
- Authorization: this.token || this.defaultMeteoToken
8667
+ Authorization: this.defaultMeteoToken
8687
8668
  }
8688
8669
  }
8689
8670
  );
@@ -8693,7 +8674,7 @@ const bn = {
8693
8674
  _.push(
8694
8675
  Se.get(L[P], {
8695
8676
  headers: {
8696
- Authorization: this.token || this.defaultMeteoToken,
8677
+ Authorization: this.defaultMeteoToken,
8697
8678
  key: P
8698
8679
  },
8699
8680
  responseType: /\.(jpg|png)$/.test(L[P]) ? "blob" : "json"
@@ -8802,14 +8783,14 @@ const bn = {
8802
8783
  var G, Y, K, V, J, ee;
8803
8784
  if (o < 2) {
8804
8785
  if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
8805
- const Q = H.point([z, k], {
8786
+ const Q = U.point([z, k], {
8806
8787
  val: ((G = L[k].val) == null ? void 0 : G[R]) || ((Y = L[k].dir) == null ? void 0 : Y[R]),
8807
8788
  spd: (K = L[k].spd) == null ? void 0 : K[R]
8808
8789
  });
8809
8790
  I.push(Q);
8810
8791
  }
8811
8792
  } else if ((z >= r && z <= 180 || z >= -180 && z <= s) && (!(o <= this.zoom) || z % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8812
- const Q = H.point([z, k], {
8793
+ const Q = U.point([z, k], {
8813
8794
  val: ((V = L[k].val) == null ? void 0 : V[R]) || ((J = L[k].dir) == null ? void 0 : J[R]),
8814
8795
  spd: (ee = L[k].spd) == null ? void 0 : ee[R]
8815
8796
  });
@@ -8819,14 +8800,14 @@ const bn = {
8819
8800
  var G, Y, K, V, J, ee;
8820
8801
  if (r < 2) {
8821
8802
  if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
8822
- const Q = H.point([z, k], {
8803
+ const Q = U.point([z, k], {
8823
8804
  val: ((G = L[k].val) == null ? void 0 : G[R]) || ((Y = L[k].dir) == null ? void 0 : Y[R]),
8824
8805
  spd: (K = L[k].spd) == null ? void 0 : K[R]
8825
8806
  });
8826
8807
  I.push(Q);
8827
8808
  }
8828
8809
  } else if (z >= r && z <= s && (!(o <= this.zoom) || z % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8829
- const Q = H.point([z, k], {
8810
+ const Q = U.point([z, k], {
8830
8811
  val: ((V = L[k].val) == null ? void 0 : V[R]) || ((J = L[k].dir) == null ? void 0 : J[R]),
8831
8812
  spd: (ee = L[k].spd) == null ? void 0 : ee[R]
8832
8813
  });
@@ -8843,11 +8824,11 @@ const bn = {
8843
8824
  const z = _.raw.LineString[P];
8844
8825
  for (const R of z)
8845
8826
  k.push(
8846
- H.lineString(R, {
8827
+ U.lineString(R, {
8847
8828
  val: Number(P)
8848
8829
  })
8849
8830
  );
8850
- _.data = H.featureCollection(k);
8831
+ _.data = U.featureCollection(k);
8851
8832
  }
8852
8833
  }
8853
8834
  if (_.data) {
@@ -8866,14 +8847,14 @@ const bn = {
8866
8847
  var G, Y, K, V, J, ee;
8867
8848
  if (o < 2) {
8868
8849
  if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
8869
- const Q = H.point([z, k], {
8850
+ const Q = U.point([z, k], {
8870
8851
  val: ((G = L[k].val) == null ? void 0 : G[R]) || ((Y = L[k].dir) == null ? void 0 : Y[R]),
8871
8852
  spd: (K = L[k].spd) == null ? void 0 : K[R]
8872
8853
  });
8873
8854
  I.push(Q);
8874
8855
  }
8875
8856
  } else if ((z >= r && z <= 180 || z >= -180 && z <= s) && (!(o <= this.zoom) || z % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8876
- const Q = H.point([z, k], {
8857
+ const Q = U.point([z, k], {
8877
8858
  val: ((V = L[k].val) == null ? void 0 : V[R]) || ((J = L[k].dir) == null ? void 0 : J[R]),
8878
8859
  spd: (ee = L[k].spd) == null ? void 0 : ee[R]
8879
8860
  });
@@ -8883,14 +8864,14 @@ const bn = {
8883
8864
  var G, Y, K, V, J, ee;
8884
8865
  if (r < 2) {
8885
8866
  if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
8886
- const Q = H.point([z, k], {
8867
+ const Q = U.point([z, k], {
8887
8868
  val: ((G = L[k].val) == null ? void 0 : G[R]) || ((Y = L[k].dir) == null ? void 0 : Y[R]),
8888
8869
  spd: (K = L[k].spd) == null ? void 0 : K[R]
8889
8870
  });
8890
8871
  I.push(Q);
8891
8872
  }
8892
8873
  } else if (z >= r && z <= s && (!(o <= this.zoom) || z % (o < this.zoom / 2 ? 5 : 3) === 0)) {
8893
- const Q = H.point([z, k], {
8874
+ const Q = U.point([z, k], {
8894
8875
  val: ((V = L[k].val) == null ? void 0 : V[R]) || ((J = L[k].dir) == null ? void 0 : J[R]),
8895
8876
  spd: (ee = L[k].spd) == null ? void 0 : ee[R]
8896
8877
  });
@@ -8907,12 +8888,12 @@ const bn = {
8907
8888
  const R = _.raw.Polygon[z];
8908
8889
  for (const G of R)
8909
8890
  P.push(
8910
- H.polygon(G, {
8891
+ U.polygon(G, {
8911
8892
  val: Number(z)
8912
8893
  })
8913
8894
  );
8914
8895
  }
8915
- _.data = H.featureCollection(P);
8896
+ _.data = U.featureCollection(P);
8916
8897
  }
8917
8898
  const k = o < this.zoom ? _.data.features.filter((P) => P.properties.val > 0.5) : _.data.features;
8918
8899
  I = I.concat(k), a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", a, ", total: ", e += a);
@@ -8927,14 +8908,14 @@ const bn = {
8927
8908
  var R, G, Y, K;
8928
8909
  if (o < 2) {
8929
8910
  if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
8930
- const V = H.point([P, _], {
8911
+ const V = U.point([P, _], {
8931
8912
  dir: ((R = L[_].val) == null ? void 0 : R[z]) || ((G = L[_].dir) == null ? void 0 : G[z]),
8932
8913
  spd: L[_].spd[z]
8933
8914
  });
8934
8915
  I.push(V);
8935
8916
  }
8936
8917
  } else if ((P >= r && P <= 180 || P >= -180 && P <= s) && (!(o <= this.zoom) || P % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8937
- const V = H.point([P, _], {
8918
+ const V = U.point([P, _], {
8938
8919
  dir: ((Y = L[_].val) == null ? void 0 : Y[z]) || ((K = L[_].dir) == null ? void 0 : K[z]),
8939
8920
  spd: L[_].spd[z]
8940
8921
  });
@@ -8944,14 +8925,14 @@ const bn = {
8944
8925
  var R, G, Y, K;
8945
8926
  if (o < 2) {
8946
8927
  if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
8947
- const V = H.point([P, _], {
8928
+ const V = U.point([P, _], {
8948
8929
  dir: ((R = L[_].val) == null ? void 0 : R[z]) || ((G = L[_].dir) == null ? void 0 : G[z]),
8949
8930
  spd: L[_].spd[z]
8950
8931
  });
8951
8932
  I.push(V);
8952
8933
  }
8953
8934
  } else if (P >= r && P <= s && (!(o <= this.zoom) || P % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
8954
- const V = H.point([P, _], {
8935
+ const V = U.point([P, _], {
8955
8936
  dir: ((Y = L[_].val) == null ? void 0 : Y[z]) || ((K = L[_].dir) == null ? void 0 : K[z]),
8956
8937
  spd: L[_].spd[z]
8957
8938
  });
@@ -8972,7 +8953,7 @@ const bn = {
8972
8953
  const P = L.Polygon[k];
8973
8954
  for (const z of P)
8974
8955
  _.push(
8975
- H.polygon(z, {
8956
+ U.polygon(z, {
8976
8957
  val: Number(k)
8977
8958
  })
8978
8959
  );
@@ -8981,7 +8962,7 @@ const bn = {
8981
8962
  const P = L.MultiPolygon[k];
8982
8963
  for (const z of P)
8983
8964
  _.push(
8984
- H.multiPolygon(z, {
8965
+ U.multiPolygon(z, {
8985
8966
  val: Number(k)
8986
8967
  })
8987
8968
  );
@@ -8990,7 +8971,7 @@ const bn = {
8990
8971
  const P = L.Point[k];
8991
8972
  for (let z = 0; z < ((C = P.lng) == null ? void 0 : C.length); z++)
8992
8973
  _.push(
8993
- H.point([P.lng[z], k], {
8974
+ U.point([P.lng[z], k], {
8994
8975
  val: Number(P.val[z])
8995
8976
  })
8996
8977
  );
@@ -9011,7 +8992,7 @@ const bn = {
9011
8992
  const P = L.LineString[k];
9012
8993
  for (const z of P)
9013
8994
  _.push(
9014
- H.lineString(z, {
8995
+ U.lineString(z, {
9015
8996
  val: Number(k)
9016
8997
  })
9017
8998
  );
@@ -9019,7 +9000,7 @@ const bn = {
9019
9000
  for (const k in L.Point)
9020
9001
  L.Point[k].lng.forEach((P, z) => {
9021
9002
  P = $.convertToStdLng(P), _.push(
9022
- H.point([P, k], {
9003
+ U.point([P, k], {
9023
9004
  val: L.Point[k].val[z],
9024
9005
  type: L.Point[k].type[z]
9025
9006
  })
@@ -9030,7 +9011,7 @@ const bn = {
9030
9011
  }
9031
9012
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", a, ", total: ", e += a);
9032
9013
  }
9033
- I.length && (this.weatherLayers[T].data = H.featureCollection(I)), B && (this.weatherLayers[T].version = Math.random() + 1);
9014
+ I.length && (this.weatherLayers[T].data = U.featureCollection(I)), B && (this.weatherLayers[T].version = Math.random() + 1);
9034
9015
  }
9035
9016
  }
9036
9017
  },
@@ -9044,10 +9025,10 @@ const bn = {
9044
9025
  return t.features.forEach((r) => {
9045
9026
  if (r.geometry.type !== "Point")
9046
9027
  if (i > o) {
9047
- let s = [i, e._sw.lat, 180, e._ne.lat], c = H.bboxClip(r, s);
9048
- c.geometry.coordinates.length && a.push(c), s = [-180, e._sw.lat, o, e._ne.lat], c = H.bboxClip(r, s), c.geometry.coordinates.length && a.push(c);
9028
+ let s = [i, e._sw.lat, 180, e._ne.lat], c = U.bboxClip(r, s);
9029
+ c.geometry.coordinates.length && a.push(c), s = [-180, e._sw.lat, o, e._ne.lat], c = U.bboxClip(r, s), c.geometry.coordinates.length && a.push(c);
9049
9030
  } else {
9050
- const s = [i, e._sw.lat, o, e._ne.lat], c = H.bboxClip(r, s);
9031
+ const s = [i, e._sw.lat, o, e._ne.lat], c = U.bboxClip(r, s);
9051
9032
  c.geometry.coordinates.length && a.push(c);
9052
9033
  }
9053
9034
  else
@@ -9055,26 +9036,26 @@ const bn = {
9055
9036
  }), a;
9056
9037
  }
9057
9038
  }
9058
- }, wn = { class: "idm-gl4-meteo-layers" }, xn = {
9039
+ }, xn = { class: "idm-gl4-meteo-layers" }, vn = {
9059
9040
  key: 0,
9060
9041
  class: "legend-tip-btn-gl4"
9061
- }, vn = { class: "d-flex flex-row justify-center align-center" }, _n = { class: "text-caption" }, kn = { class: "d-flex flex-row justify-center align-center" }, zn = {
9042
+ }, _n = { class: "d-flex flex-row justify-center align-center" }, kn = { class: "text-caption" }, zn = { class: "d-flex flex-row justify-center align-center" }, Ln = {
9062
9043
  key: 0,
9063
9044
  style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
9064
- }, Ln = { class: "text-caption px-2" }, Pn = { class: "d-flex flex-row justify-start align-center" }, Cn = {
9045
+ }, Pn = { class: "text-caption px-2" }, Cn = { class: "d-flex flex-row justify-start align-center" }, Tn = {
9065
9046
  class: "d-flex flex-row justify-center align-center",
9066
9047
  style: { width: "40px" }
9067
- }, Tn = { class: "text-caption px-2" }, Sn = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, In = { class: "d-flex justify-start align-center ga-3" }, Mn = { class: "text-h5 font-weight-medium" }, An = {
9048
+ }, Sn = { class: "text-caption px-2" }, In = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, Mn = { class: "d-flex justify-start align-center ga-3" }, An = { class: "text-h5 font-weight-medium" }, Dn = {
9068
9049
  key: 0,
9069
9050
  class: "d-flex justify-start align-center ga-4 pl-6"
9070
- }, Dn = {
9051
+ }, Rn = {
9071
9052
  key: 1,
9072
9053
  class: "d-flex justify-start align-center ga-4 pl-6"
9073
- }, Rn = { class: "text-body-1 py-2" }, On = { class: "text-body-1 font-weight-medium" }, Bn = { class: "text-body-2 text-label" }, En = { class: "text-body-2 text-label mb-3" }, Nn = { class: "text-body-1 font-weight-medium" }, jn = { class: "text-body-2 text-label" }, Fn = { class: "text-body-2 text-label mb-3" }, Hn = { class: "text-body-1 py-2" }, Un = { class: "text-body-1 font-weight-medium" }, Wn = { class: "text-body-2 text-label" }, Gn = { class: "text-body-2 text-label mb-3" }, Vn = { class: "text-body-1 font-weight-medium" }, Zn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label mb-3" }, Yn = { class: "text-body-1 py-2" }, Kn = { class: "text-body-1 font-weight-medium" }, Xn = { class: "text-body-2 text-label" }, $n = { class: "text-body-2 text-label mb-3" };
9074
- function Qn(t, e, a, i, o, r) {
9075
- var pe, se, X, oe, ue, ne, F, ce, xe, Le, Pe, Ae, De, Re, _e;
9076
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCol"), g = x("VRow"), p = x("VCardText"), f = x("VDivider"), w = x("VCard"), v = x("VSwitch"), y = x("VCardTitle"), C = x("VCardItem"), T = x("VCheckbox"), B = x("VRadio"), I = x("VBtnToggle"), L = x("IdmWindBarb"), _ = x("IdmSigWaveHeight"), k = x("IdmCurrentDirection"), P = x("IdmPrmsl"), z = x("IdmWindParticle"), R = x("IdmCurrentParticle"), G = x("IdmWave"), Y = x("IdmSwell"), K = x("IdmIceEdge"), V = x("IdmIceCover"), J = x("IdmIceThickness"), ee = x("IdmPrecip3h"), Q = x("IdmVisibility"), re = x("IdmWaterTemp"), de = x("IdmTemp");
9077
- return b(), S("div", wn, [
9054
+ }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, En = { class: "text-body-2 text-label" }, Nn = { class: "text-body-2 text-label mb-3" }, jn = { class: "text-body-1 font-weight-medium" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Un = { class: "text-body-1 py-2" }, Wn = { class: "text-body-1 font-weight-medium" }, Gn = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label mb-3" }, Zn = { class: "text-body-1 font-weight-medium" }, qn = { class: "text-body-2 text-label" }, Yn = { class: "text-body-2 text-label mb-3" }, Kn = { class: "text-body-1 py-2" }, Xn = { class: "text-body-1 font-weight-medium" }, $n = { class: "text-body-2 text-label" }, Qn = { class: "text-body-2 text-label mb-3" };
9055
+ function Jn(t, e, a, i, o, r) {
9056
+ var pe, ne, X, oe, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e;
9057
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCol"), g = x("VRow"), p = x("VCardText"), f = x("VDivider"), w = x("VCard"), v = x("VSwitch"), y = x("VCardTitle"), C = x("VCardItem"), T = x("VCheckbox"), B = x("VRadio"), I = x("VBtnToggle"), L = x("IdmWindBarb"), _ = x("IdmSigWaveHeight"), k = x("IdmCurrentDirection"), P = x("IdmPrmsl"), z = x("IdmWindParticle"), R = x("IdmCurrentParticle"), G = x("IdmWave"), Y = x("IdmSwell"), K = x("IdmIceEdge"), V = x("IdmIceCover"), J = x("IdmIceThickness"), ee = x("IdmPrecip3h"), Q = x("IdmVisibility"), re = x("IdmWaterTemp"), he = x("IdmTemp");
9058
+ return b(), S("div", xn, [
9078
9059
  l("div", {
9079
9060
  class: "menu-bar-box transition pa-1",
9080
9061
  style: ie({ top: a.top + 94 + "px", right: o.right + "px" })
@@ -9083,25 +9064,25 @@ function Qn(t, e, a, i, o, r) {
9083
9064
  text: t.$t("weather.weatherLayers"),
9084
9065
  location: "left"
9085
9066
  }, {
9086
- activator: u(({ props: U }) => [
9087
- d(s, O(U, {
9067
+ activator: u(({ props: H }) => [
9068
+ d(s, O(H, {
9088
9069
  "min-width": "32",
9089
9070
  width: "32",
9090
9071
  height: "32",
9091
9072
  class: ["text-none pa-0", o.toggle ? "bg-primary active-border" : ""],
9092
9073
  onClick: r.handleMenuToggle
9093
9074
  }), {
9094
- default: u(() => e[7] || (e[7] = [
9075
+ default: u(() => e[8] || (e[8] = [
9095
9076
  l("i", { class: "iconfont icon-Weather text-h4" }, null, -1)
9096
9077
  ])),
9097
9078
  _: 2,
9098
- __: [7]
9079
+ __: [8]
9099
9080
  }, 1040, ["class", "onClick"])
9100
9081
  ]),
9101
9082
  _: 1
9102
9083
  }, 8, ["text"])
9103
9084
  ], 4),
9104
- r.showTipMenu ? (b(), S("div", xn, [
9085
+ r.showTipMenu ? (b(), S("div", vn, [
9105
9086
  l("div", {
9106
9087
  class: "menu-bar-box pa-1 rounded",
9107
9088
  style: ie({ right: o.right + "px" })
@@ -9110,19 +9091,19 @@ function Qn(t, e, a, i, o, r) {
9110
9091
  text: "Legend",
9111
9092
  location: "left"
9112
9093
  }, {
9113
- activator: u(({ props: U }) => [
9114
- d(s, O(U, {
9094
+ activator: u(({ props: H }) => [
9095
+ d(s, O(H, {
9115
9096
  "min-width": "32",
9116
9097
  width: "32",
9117
9098
  height: "32",
9118
9099
  class: ["text-none pa-0", o.legendToggle ? "bg-primary active-border" : ""],
9119
- onClick: e[0] || (e[0] = (ae) => o.legendToggle = !o.legendToggle)
9100
+ onClick: e[0] || (e[0] = (te) => o.legendToggle = !o.legendToggle)
9120
9101
  }), {
9121
- default: u(() => e[8] || (e[8] = [
9102
+ default: u(() => e[9] || (e[9] = [
9122
9103
  l("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
9123
9104
  ])),
9124
9105
  _: 2,
9125
- __: [8]
9106
+ __: [9]
9126
9107
  }, 1040, ["class"])
9127
9108
  ]),
9128
9109
  _: 1
@@ -9138,21 +9119,21 @@ function Qn(t, e, a, i, o, r) {
9138
9119
  default: u(() => [
9139
9120
  d(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
9140
9121
  default: u(() => [
9141
- e[9] || (e[9] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
9122
+ e[10] || (e[10] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
9142
9123
  d(g, { class: "ma-0 ml-n1 text-body-2" }, {
9143
9124
  default: u(() => [
9144
- (b(!0), S(be, null, we(o.legend.barbs, (U, ae) => (b(), A(n, {
9145
- key: U,
9125
+ (b(!0), S(be, null, we(o.legend.barbs, (H, te) => (b(), A(n, {
9126
+ key: H,
9146
9127
  cols: "6",
9147
9128
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
9148
9129
  }, {
9149
9130
  default: u(() => [
9150
- l("div", vn, [
9131
+ l("div", _n, [
9151
9132
  l("i", {
9152
- class: He(["iconfont", r.barbsIconName[ae]]),
9133
+ class: He(["iconfont", r.barbsIconName[te]]),
9153
9134
  style: ie({ color: a.theme === "dark" ? "#fff" : "#000" })
9154
9135
  }, null, 6),
9155
- l("span", _n, h(Number(U) < 10 ? `00${U}kts` : Number(U) < 100 ? `0${U}kts` : `${U}kts`), 1)
9136
+ l("span", kn, h(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
9156
9137
  ])
9157
9138
  ]),
9158
9139
  _: 2
@@ -9162,29 +9143,29 @@ function Qn(t, e, a, i, o, r) {
9162
9143
  })
9163
9144
  ]),
9164
9145
  _: 1,
9165
- __: [9]
9146
+ __: [10]
9166
9147
  }),
9167
9148
  d(f, { vertical: "" }),
9168
9149
  d(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
9169
9150
  default: u(() => [
9170
- e[10] || (e[10] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wave Height", -1)),
9151
+ e[11] || (e[11] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wave Height", -1)),
9171
9152
  d(g, {
9172
9153
  class: "ma-0 ml-1",
9173
9154
  style: { width: "100px" }
9174
9155
  }, {
9175
9156
  default: u(() => [
9176
- (b(!0), S(be, null, we(o.legend.sigWaveHeight, (U, ae) => (b(), A(n, {
9177
- key: ae,
9157
+ (b(!0), S(be, null, we(o.legend.sigWaveHeight, (H, te) => (b(), A(n, {
9158
+ key: te,
9178
9159
  cols: "12",
9179
9160
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
9180
9161
  }, {
9181
9162
  default: u(() => [
9182
- l("div", kn, [
9183
- ae === 0 ? (b(), S("div", zn)) : (b(), S("div", {
9163
+ l("div", zn, [
9164
+ te === 0 ? (b(), S("div", Ln)) : (b(), S("div", {
9184
9165
  key: 1,
9185
- style: ie({ width: "24px", height: "12px", background: U.color })
9166
+ style: ie({ width: "24px", height: "12px", background: H.color })
9186
9167
  }, null, 4)),
9187
- l("div", Ln, h(U.label), 1)
9168
+ l("div", Pn, h(H.label), 1)
9188
9169
  ])
9189
9170
  ]),
9190
9171
  _: 2
@@ -9194,31 +9175,31 @@ function Qn(t, e, a, i, o, r) {
9194
9175
  })
9195
9176
  ]),
9196
9177
  _: 1,
9197
- __: [10]
9178
+ __: [11]
9198
9179
  }),
9199
9180
  d(f, { vertical: "" }),
9200
9181
  d(p, { class: "d-flex flex-column justify-center align-start opacity-80 px-4" }, {
9201
9182
  default: u(() => [
9202
- e[11] || (e[11] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Current", -1)),
9183
+ e[12] || (e[12] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Current", -1)),
9203
9184
  d(g, {
9204
9185
  class: "ma-0 ml-n5",
9205
9186
  style: { width: "110px" }
9206
9187
  }, {
9207
9188
  default: u(() => [
9208
- (b(!0), S(be, null, we(o.legend.current, (U, ae) => (b(), A(n, {
9209
- key: ae,
9189
+ (b(!0), S(be, null, we(o.legend.current, (H, te) => (b(), A(n, {
9190
+ key: te,
9210
9191
  cols: "12",
9211
9192
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
9212
9193
  }, {
9213
9194
  default: u(() => [
9214
- l("div", Pn, [
9215
- l("div", Cn, [
9195
+ l("div", Cn, [
9196
+ l("div", Tn, [
9216
9197
  l("i", {
9217
9198
  class: "iconfont icon-a-direction-arrow opacity-80",
9218
- style: ie({ fontSize: 40 * U.size + "px" })
9199
+ style: ie({ fontSize: 40 * H.size + "px" })
9219
9200
  }, null, 4)
9220
9201
  ]),
9221
- l("div", Tn, h(U.label), 1)
9202
+ l("div", Sn, h(H.label), 1)
9222
9203
  ])
9223
9204
  ]),
9224
9205
  _: 2
@@ -9228,7 +9209,7 @@ function Qn(t, e, a, i, o, r) {
9228
9209
  })
9229
9210
  ]),
9230
9211
  _: 1,
9231
- __: [11]
9212
+ __: [12]
9232
9213
  })
9233
9214
  ]),
9234
9215
  _: 1
@@ -9238,12 +9219,12 @@ function Qn(t, e, a, i, o, r) {
9238
9219
  class: He(["available-layers transition flex-center", o.toggle ? "right-bar" : ""]),
9239
9220
  style: ie({ top: a.top + "px", right: o.toggle ? "0px" : "-280px" })
9240
9221
  }, [
9241
- l("div", Sn, [
9242
- l("div", In, [
9243
- l("div", Mn, h(t.$t("weather.weather")), 1),
9222
+ l("div", In, [
9223
+ l("div", Mn, [
9224
+ l("div", An, h(t.$t("weather.weather")), 1),
9244
9225
  d(v, {
9245
9226
  modelValue: o.autoActive,
9246
- "onUpdate:modelValue": e[1] || (e[1] = (U) => o.autoActive = U),
9227
+ "onUpdate:modelValue": e[1] || (e[1] = (H) => o.autoActive = H),
9247
9228
  class: "small-switch",
9248
9229
  color: "primary",
9249
9230
  inset: "",
@@ -9257,11 +9238,11 @@ function Qn(t, e, a, i, o, r) {
9257
9238
  class: "mr-n2",
9258
9239
  onClick: r.handleMenuToggle
9259
9240
  }, {
9260
- default: u(() => e[12] || (e[12] = [
9241
+ default: u(() => e[13] || (e[13] = [
9261
9242
  l("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
9262
9243
  ])),
9263
9244
  _: 1,
9264
- __: [12]
9245
+ __: [13]
9265
9246
  }, 8, ["onClick"])
9266
9247
  ]),
9267
9248
  l("div", {
@@ -9288,12 +9269,12 @@ function Qn(t, e, a, i, o, r) {
9288
9269
  }),
9289
9270
  d(p, { class: "py-2" }, {
9290
9271
  default: u(() => [
9291
- (b(!0), S(be, null, we(o.tagLayers.filter((U) => U.overlays), (U) => (b(), A(T, {
9292
- key: U.key,
9272
+ (b(!0), S(be, null, we(o.tagLayers.filter((H) => H.overlays), (H) => (b(), A(T, {
9273
+ key: H.key,
9293
9274
  modelValue: o.checkList,
9294
- "onUpdate:modelValue": e[2] || (e[2] = (ae) => o.checkList = ae),
9295
- value: U.key,
9296
- label: t.$t(`weather.${U.locale}`),
9275
+ "onUpdate:modelValue": e[2] || (e[2] = (te) => o.checkList = te),
9276
+ value: H.key,
9277
+ label: t.$t(`weather.${H.locale}`),
9297
9278
  disabled: !o.autoActive,
9298
9279
  color: "primary",
9299
9280
  density: "compact",
@@ -9328,27 +9309,27 @@ function Qn(t, e, a, i, o, r) {
9328
9309
  }),
9329
9310
  d(p, { class: "py-2" }, {
9330
9311
  default: u(() => [
9331
- (b(!0), S(be, null, we(o.tagLayers.filter((U) => !U.overlays && U.key !== "ice-thickness"), (U) => (b(), S(be, {
9332
- key: U.key
9312
+ (b(!0), S(be, null, we(o.tagLayers.filter((H) => !H.overlays && H.key !== "ice-thickness" && H.key !== "swell"), (H) => (b(), S(be, {
9313
+ key: H.key
9333
9314
  }, [
9334
9315
  d(B, {
9335
9316
  modelValue: o.renderKey,
9336
- "onUpdate:modelValue": e[3] || (e[3] = (ae) => o.renderKey = ae),
9337
- label: t.$t(`weather.${U.locale}`),
9338
- value: U.key,
9317
+ "onUpdate:modelValue": e[3] || (e[3] = (te) => o.renderKey = te),
9318
+ label: t.$t(`weather.${H.locale}`),
9319
+ value: H.key,
9339
9320
  disabled: !o.autoActive,
9340
9321
  color: "primary",
9341
9322
  density: "compact",
9342
9323
  style: { height: "36px" },
9343
9324
  class: "text-body-2 py-1",
9344
9325
  "hide-details": "",
9345
- onClick: (ae) => o.renderKey = o.renderKey === U.key ? "" : U.key
9326
+ onClick: (te) => o.renderKey = o.renderKey === H.key ? "" : H.key
9346
9327
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
9347
- o.renderKey === "wind-particle" && U.key === "wind-particle" ? (b(), S("div", An, [
9328
+ o.renderKey === "wind-particle" && H.key === "wind-particle" ? (b(), S("div", Dn, [
9348
9329
  l("span", null, h(t.$t("weather.particleAnimatiom")), 1),
9349
9330
  d(v, {
9350
9331
  modelValue: o.showWindParticle,
9351
- "onUpdate:modelValue": e[4] || (e[4] = (ae) => o.showWindParticle = ae),
9332
+ "onUpdate:modelValue": e[4] || (e[4] = (te) => o.showWindParticle = te),
9352
9333
  label: "",
9353
9334
  class: "small-switch",
9354
9335
  color: "primary",
@@ -9358,11 +9339,11 @@ function Qn(t, e, a, i, o, r) {
9358
9339
  "hide-details": ""
9359
9340
  }, null, 8, ["modelValue"])
9360
9341
  ])) : D("", !0),
9361
- o.renderKey === "current-particle" && U.key === "current-particle" ? (b(), S("div", Dn, [
9342
+ o.renderKey === "current-particle" && H.key === "current-particle" ? (b(), S("div", Rn, [
9362
9343
  l("span", null, h(t.$t("weather.particleAnimatiom")), 1),
9363
9344
  d(v, {
9364
9345
  modelValue: o.showCurrentParticle,
9365
- "onUpdate:modelValue": e[5] || (e[5] = (ae) => o.showCurrentParticle = ae),
9346
+ "onUpdate:modelValue": e[5] || (e[5] = (te) => o.showCurrentParticle = te),
9366
9347
  label: "",
9367
9348
  class: "small-switch",
9368
9349
  color: "primary",
@@ -9372,11 +9353,54 @@ function Qn(t, e, a, i, o, r) {
9372
9353
  "hide-details": ""
9373
9354
  }, null, 8, ["modelValue"])
9374
9355
  ])) : D("", !0),
9375
- o.renderKey === "ice-forecast" && U.key === "ice-forecast" ? (b(), A(I, {
9356
+ o.renderKey === "wave-group" && H.key === "wave-group" ? (b(), A(I, {
9376
9357
  key: 2,
9358
+ modelValue: o.waveToggleValue,
9359
+ "onUpdate:modelValue": e[6] || (e[6] = (te) => o.waveToggleValue = te),
9360
+ class: "w-100 pl-7 rounded",
9361
+ rounded: "0",
9362
+ height: "30",
9363
+ density: "compact",
9364
+ group: "",
9365
+ disabled: !o.autoActive
9366
+ }, {
9367
+ default: u(() => [
9368
+ d(s, {
9369
+ density: "compact",
9370
+ height: "30",
9371
+ value: "sig-wave",
9372
+ class: "w-50 text-none px-2 text-body-1",
9373
+ color: o.waveToggleValue === "sig-wave" ? "primary" : "",
9374
+ "base-color": "grey-lighten-1",
9375
+ disabled: !o.autoActive
9376
+ }, {
9377
+ default: u(() => [
9378
+ j(h(t.$t("weather.significant")), 1)
9379
+ ]),
9380
+ _: 1
9381
+ }, 8, ["color", "disabled"]),
9382
+ d(s, {
9383
+ density: "compact",
9384
+ height: "30",
9385
+ class: "w-50 text-none px-2 text-body-1",
9386
+ color: o.waveToggleValue === "swell" ? "primary" : "",
9387
+ "base-color": "grey-lighten-1",
9388
+ disabled: !o.autoActive,
9389
+ value: "swell"
9390
+ }, {
9391
+ default: u(() => [
9392
+ j(h(t.$t("weather.swell")), 1)
9393
+ ]),
9394
+ _: 1
9395
+ }, 8, ["color", "disabled"])
9396
+ ]),
9397
+ _: 1
9398
+ }, 8, ["modelValue", "disabled"])) : D("", !0),
9399
+ o.renderKey === "ice-forecast" && H.key === "ice-forecast" ? (b(), A(I, {
9400
+ key: 3,
9377
9401
  modelValue: o.iceToggleValue,
9378
- "onUpdate:modelValue": e[6] || (e[6] = (ae) => o.iceToggleValue = ae),
9379
- class: "ml-7",
9402
+ "onUpdate:modelValue": e[7] || (e[7] = (te) => o.iceToggleValue = te),
9403
+ class: "w-100 pl-7 rounded",
9380
9404
  rounded: "0",
9381
9405
  height: "30",
9382
9406
  density: "compact",
@@ -9388,7 +9412,7 @@ function Qn(t, e, a, i, o, r) {
9388
9412
  density: "compact",
9389
9413
  height: "30",
9390
9414
  value: "ice-cover",
9391
- class: "text-none px-2",
9415
+ class: "w-50 text-none px-2 text-body-1",
9392
9416
  color: o.iceToggleValue === "ice-cover" ? "primary" : "",
9393
9417
  "base-color": "grey-lighten-1",
9394
9418
  disabled: !o.autoActive
@@ -9401,7 +9425,7 @@ function Qn(t, e, a, i, o, r) {
9401
9425
  d(s, {
9402
9426
  density: "compact",
9403
9427
  height: "30",
9404
- class: "text-none px-2",
9428
+ class: "w-50 text-none px-2 text-body-1",
9405
9429
  color: o.iceToggleValue === "ice-thickness" ? "primary" : "",
9406
9430
  "base-color": "grey-lighten-1",
9407
9431
  disabled: !o.autoActive,
@@ -9443,28 +9467,28 @@ function Qn(t, e, a, i, o, r) {
9443
9467
  }),
9444
9468
  d(p, { class: "" }, {
9445
9469
  default: u(() => {
9446
- var U, ae, Ne, Ie, ge, fe, W, Ce, te, le, Oe, N, ye, Me, Be, Ee, E, Z, Ge, Ve, Ze, Te, Ye, Ke, Xe, $e, Qe, Je, et, tt, at, ot, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, It, Mt, At, Dt, Rt, Ot, Bt, Et, Nt, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Qt, Jt, ea;
9470
+ var H, te, je, Ie, ge, fe, W, Ce, ae, le, Oe, N, ye, Me, Be, Ee, E, Z, Ge, Ve, Ze, Te, Ye, Ke, Xe, $e, Qe, Je, et, tt, at, ot, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, It, Mt, At, Dt, Rt, Ot, Bt, Et, Nt, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Qt, Jt, ea;
9447
9471
  return [
9448
- l("div", Rn, h(t.$t("weather.atmospheric")), 1),
9449
- l("div", On, h((Ne = (ae = (U = o.models) == null ? void 0 : U.weather) == null ? void 0 : ae.NOAA) == null ? void 0 : Ne.source) + " " + h((fe = (ge = (Ie = o.models) == null ? void 0 : Ie.weather) == null ? void 0 : ge.NOAA) == null ? void 0 : fe.spatialResolution) + h(t.$t("units.km")) + " " + h((le = (te = (Ce = (W = o.models) == null ? void 0 : W.weather) == null ? void 0 : Ce.NOAA) == null ? void 0 : te.meta) == null ? void 0 : le.days) + h(t.$t("units.days")), 1),
9450
- l("div", Bn, h(t.$t("weather.source")) + ": NOAA", 1),
9451
- l("div", En, h(t.$t("weather.lastUpdate")) + ": " + h(r.computeDateZ((Me = (ye = (N = (Oe = o.models) == null ? void 0 : Oe.weather) == null ? void 0 : N.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Me.initialisationTime)), 1),
9452
- l("div", Nn, h((E = (Ee = (Be = o.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.ECMWF) == null ? void 0 : E.source) + " " + h((Ve = (Ge = (Z = o.models) == null ? void 0 : Z.weather) == null ? void 0 : Ge.ECMWF) == null ? void 0 : Ve.spatialResolution) + h(t.$t("units.km")) + " " + h((Ke = (Ye = (Te = (Ze = o.models) == null ? void 0 : Ze.weather) == null ? void 0 : Te.ECMWF) == null ? void 0 : Ye.meta) == null ? void 0 : Ke.days) + h(t.$t("units.days")), 1),
9453
- l("div", jn, h(t.$t("weather.source")) + ": ECMWF", 1),
9454
- l("div", Fn, h(t.$t("weather.lastUpdate")) + ": " + h(r.computeDateZ((Je = (Qe = ($e = (Xe = o.models) == null ? void 0 : Xe.weather) == null ? void 0 : $e.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
9472
+ l("div", On, h(t.$t("weather.atmospheric")), 1),
9473
+ l("div", Bn, h((je = (te = (H = o.models) == null ? void 0 : H.weather) == null ? void 0 : te.NOAA) == null ? void 0 : je.source) + " " + h((fe = (ge = (Ie = o.models) == null ? void 0 : Ie.weather) == null ? void 0 : ge.NOAA) == null ? void 0 : fe.spatialResolution) + h(t.$t("units.km")) + " " + h((le = (ae = (Ce = (W = o.models) == null ? void 0 : W.weather) == null ? void 0 : Ce.NOAA) == null ? void 0 : ae.meta) == null ? void 0 : le.days) + h(t.$t("units.days")), 1),
9474
+ l("div", En, h(t.$t("weather.source")) + ": NOAA", 1),
9475
+ l("div", Nn, h(t.$t("weather.lastUpdate")) + ": " + h(r.computeDateZ((Me = (ye = (N = (Oe = o.models) == null ? void 0 : Oe.weather) == null ? void 0 : N.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Me.initialisationTime)), 1),
9476
+ l("div", jn, h((E = (Ee = (Be = o.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.ECMWF) == null ? void 0 : E.source) + " " + h((Ve = (Ge = (Z = o.models) == null ? void 0 : Z.weather) == null ? void 0 : Ge.ECMWF) == null ? void 0 : Ve.spatialResolution) + h(t.$t("units.km")) + " " + h((Ke = (Ye = (Te = (Ze = o.models) == null ? void 0 : Ze.weather) == null ? void 0 : Te.ECMWF) == null ? void 0 : Ye.meta) == null ? void 0 : Ke.days) + h(t.$t("units.days")), 1),
9477
+ l("div", Fn, h(t.$t("weather.source")) + ": ECMWF", 1),
9478
+ l("div", Hn, h(t.$t("weather.lastUpdate")) + ": " + h(r.computeDateZ((Je = (Qe = ($e = (Xe = o.models) == null ? void 0 : Xe.weather) == null ? void 0 : $e.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
9455
9479
  d(f),
9456
- l("div", Hn, h(t.$t("weather.wave")), 1),
9457
- l("div", Un, h((ot = (at = (tt = (et = o.models) == null ? void 0 : et.marine) == null ? void 0 : tt.wave) == null ? void 0 : at.NOAA) == null ? void 0 : ot.source) + " " + h((st = (lt = (rt = (it = o.models) == null ? void 0 : it.marine) == null ? void 0 : rt.wave) == null ? void 0 : lt.NOAA) == null ? void 0 : st.spatialResolution) + h(t.$t("units.km")) + " " + h((ht = (dt = (mt = (ct = (nt = o.models) == null ? void 0 : nt.marine) == null ? void 0 : ct.wave) == null ? void 0 : mt.NOAA) == null ? void 0 : dt.meta) == null ? void 0 : ht.days) + h(t.$t("units.days")), 1),
9458
- l("div", Wn, h(t.$t("weather.source")) + ": NOAA", 1),
9459
- l("div", Gn, h(t.$t("weather.lastUpdate")) + ": " + h(r.computeDateZ((yt = (ft = (gt = (ut = (pt = o.models) == null ? void 0 : pt.marine) == null ? void 0 : ut.wave) == null ? void 0 : gt.NOAA) == null ? void 0 : ft.meta) == null ? void 0 : yt.initialisationTime)), 1),
9460
- l("div", Vn, h((vt = (xt = (wt = (bt = o.models) == null ? void 0 : bt.marine) == null ? void 0 : wt.wave) == null ? void 0 : xt.ECMWF) == null ? void 0 : vt.source) + " " + h((Lt = (zt = (kt = (_t = o.models) == null ? void 0 : _t.marine) == null ? void 0 : kt.wave) == null ? void 0 : zt.ECMWF) == null ? void 0 : Lt.spatialResolution) + h(t.$t("units.km")) + " " + h((It = (St = (Tt = (Ct = (Pt = o.models) == null ? void 0 : Pt.marine) == null ? void 0 : Ct.wave) == null ? void 0 : Tt.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : It.days) + h(t.$t("units.days")), 1),
9461
- l("div", Zn, h(t.$t("weather.source")) + ": ECMWF", 1),
9462
- l("div", qn, h(t.$t("weather.lastUpdate")) + ": " + h(r.computeDateZ((Ot = (Rt = (Dt = (At = (Mt = o.models) == null ? void 0 : Mt.marine) == null ? void 0 : At.wave) == null ? void 0 : Dt.ECMWF) == null ? void 0 : Rt.meta) == null ? void 0 : Ot.initialisationTime)), 1),
9480
+ l("div", Un, h(t.$t("weather.wave")), 1),
9481
+ l("div", Wn, h((ot = (at = (tt = (et = o.models) == null ? void 0 : et.marine) == null ? void 0 : tt.wave) == null ? void 0 : at.NOAA) == null ? void 0 : ot.source) + " " + h((st = (lt = (rt = (it = o.models) == null ? void 0 : it.marine) == null ? void 0 : rt.wave) == null ? void 0 : lt.NOAA) == null ? void 0 : st.spatialResolution) + h(t.$t("units.km")) + " " + h((ht = (dt = (mt = (ct = (nt = o.models) == null ? void 0 : nt.marine) == null ? void 0 : ct.wave) == null ? void 0 : mt.NOAA) == null ? void 0 : dt.meta) == null ? void 0 : ht.days) + h(t.$t("units.days")), 1),
9482
+ l("div", Gn, h(t.$t("weather.source")) + ": NOAA", 1),
9483
+ l("div", Vn, h(t.$t("weather.lastUpdate")) + ": " + h(r.computeDateZ((yt = (ft = (gt = (ut = (pt = o.models) == null ? void 0 : pt.marine) == null ? void 0 : ut.wave) == null ? void 0 : gt.NOAA) == null ? void 0 : ft.meta) == null ? void 0 : yt.initialisationTime)), 1),
9484
+ l("div", Zn, h((vt = (xt = (wt = (bt = o.models) == null ? void 0 : bt.marine) == null ? void 0 : wt.wave) == null ? void 0 : xt.ECMWF) == null ? void 0 : vt.source) + " " + h((Lt = (zt = (kt = (_t = o.models) == null ? void 0 : _t.marine) == null ? void 0 : kt.wave) == null ? void 0 : zt.ECMWF) == null ? void 0 : Lt.spatialResolution) + h(t.$t("units.km")) + " " + h((It = (St = (Tt = (Ct = (Pt = o.models) == null ? void 0 : Pt.marine) == null ? void 0 : Ct.wave) == null ? void 0 : Tt.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : It.days) + h(t.$t("units.days")), 1),
9485
+ l("div", qn, h(t.$t("weather.source")) + ": ECMWF", 1),
9486
+ l("div", Yn, h(t.$t("weather.lastUpdate")) + ": " + h(r.computeDateZ((Ot = (Rt = (Dt = (At = (Mt = o.models) == null ? void 0 : Mt.marine) == null ? void 0 : At.wave) == null ? void 0 : Dt.ECMWF) == null ? void 0 : Rt.meta) == null ? void 0 : Ot.initialisationTime)), 1),
9463
9487
  d(f),
9464
- l("div", Yn, h(t.$t("weather.currents")), 1),
9465
- l("div", Kn, h((jt = (Nt = (Et = (Bt = o.models) == null ? void 0 : Bt.marine) == null ? void 0 : Et.current) == null ? void 0 : Nt.ECMWF) == null ? void 0 : jt.source) + " " + h((Wt = (Ut = (Ht = (Ft = o.models) == null ? void 0 : Ft.marine) == null ? void 0 : Ht.current) == null ? void 0 : Ut.ECMWF) == null ? void 0 : Wt.spatialResolution) + h(t.$t("units.km")) + " " + h((Yt = (qt = (Zt = (Vt = (Gt = o.models) == null ? void 0 : Gt.marine) == null ? void 0 : Vt.current) == null ? void 0 : Zt.ECMWF) == null ? void 0 : qt.meta) == null ? void 0 : Yt.days) + h(t.$t("units.days")), 1),
9466
- l("div", Xn, h(t.$t("weather.source")) + ": ECMWF", 1),
9467
- l("div", $n, h(t.$t("weather.lastUpdate")) + ": " + h(r.computeDateZ((ea = (Jt = (Qt = (Xt = (Kt = o.models) == null ? void 0 : Kt.marine) == null ? void 0 : Xt.current) == null ? void 0 : Qt.ECMWF) == null ? void 0 : Jt.meta) == null ? void 0 : ea.initialisationTime)), 1)
9488
+ l("div", Kn, h(t.$t("weather.currents")), 1),
9489
+ l("div", Xn, h((jt = (Nt = (Et = (Bt = o.models) == null ? void 0 : Bt.marine) == null ? void 0 : Et.current) == null ? void 0 : Nt.ECMWF) == null ? void 0 : jt.source) + " " + h((Wt = (Ut = (Ht = (Ft = o.models) == null ? void 0 : Ft.marine) == null ? void 0 : Ht.current) == null ? void 0 : Ut.ECMWF) == null ? void 0 : Wt.spatialResolution) + h(t.$t("units.km")) + " " + h((Yt = (qt = (Zt = (Vt = (Gt = o.models) == null ? void 0 : Gt.marine) == null ? void 0 : Vt.current) == null ? void 0 : Zt.ECMWF) == null ? void 0 : qt.meta) == null ? void 0 : Yt.days) + h(t.$t("units.days")), 1),
9490
+ l("div", $n, h(t.$t("weather.source")) + ": ECMWF", 1),
9491
+ l("div", Qn, h(t.$t("weather.lastUpdate")) + ": " + h(r.computeDateZ((ea = (Jt = (Qt = (Xt = (Kt = o.models) == null ? void 0 : Kt.marine) == null ? void 0 : Xt.current) == null ? void 0 : Qt.ECMWF) == null ? void 0 : Jt.meta) == null ? void 0 : ea.initialisationTime)), 1)
9468
9492
  ];
9469
9493
  }),
9470
9494
  _: 1
@@ -9487,7 +9511,7 @@ function Qn(t, e, a, i, o, r) {
9487
9511
  key: 2,
9488
9512
  map: a.map,
9489
9513
  "before-layer": "empty-layer-2",
9490
- "sig-wave-height": (se = o.weatherLayers) == null ? void 0 : se["sig-wave-height"],
9514
+ "sig-wave-height": (ne = o.weatherLayers) == null ? void 0 : ne["sig-wave-height"],
9491
9515
  "menu-toggle": a.menuToggle,
9492
9516
  "active-weather-layers": o.activeWeatherLayers
9493
9517
  }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : D("", !0),
@@ -9516,7 +9540,7 @@ function Qn(t, e, a, i, o, r) {
9516
9540
  a.map ? (b(), A(R, O({
9517
9541
  key: 6,
9518
9542
  viewport: o.viewport,
9519
- factor: (ne = o.weatherLayers) == null ? void 0 : ne["current-particle"],
9543
+ factor: (ce = o.weatherLayers) == null ? void 0 : ce["current-particle"],
9520
9544
  "menu-toggle": a.menuToggle
9521
9545
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
9522
9546
  a.map ? (b(), A(G, O({
@@ -9528,10 +9552,10 @@ function Qn(t, e, a, i, o, r) {
9528
9552
  a.map ? (b(), A(Y, O({
9529
9553
  key: 8,
9530
9554
  map: a.map,
9531
- swell: (ce = o.weatherLayers) == null ? void 0 : ce.swell,
9555
+ factor: (me = o.weatherLayers) == null ? void 0 : me.swell,
9532
9556
  "menu-toggle": a.menuToggle,
9533
9557
  "active-weather-layers": o.activeWeatherLayers
9534
- }, t.$attrs), null, 16, ["map", "swell", "menu-toggle", "active-weather-layers"])) : D("", !0),
9558
+ }, t.$attrs), null, 16, ["map", "factor", "menu-toggle", "active-weather-layers"])) : D("", !0),
9535
9559
  a.map ? (b(), A(K, O({
9536
9560
  key: 9,
9537
9561
  viewport: o.viewport,
@@ -9568,7 +9592,7 @@ function Qn(t, e, a, i, o, r) {
9568
9592
  factor: (Re = o.weatherLayers) == null ? void 0 : Re["water-temp"],
9569
9593
  "menu-toggle": a.menuToggle
9570
9594
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0),
9571
- a.map ? (b(), A(de, O({
9595
+ a.map ? (b(), A(he, O({
9572
9596
  key: 15,
9573
9597
  viewport: o.viewport,
9574
9598
  factor: (_e = o.weatherLayers) == null ? void 0 : _e.temp,
@@ -9576,7 +9600,7 @@ function Qn(t, e, a, i, o, r) {
9576
9600
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : D("", !0)
9577
9601
  ]);
9578
9602
  }
9579
- const Jn = /* @__PURE__ */ q(bn, [["render", Qn]]), ta = [
9603
+ const ec = /* @__PURE__ */ q(wn, [["render", Jn]]), ta = [
9580
9604
  {
9581
9605
  rank: 0,
9582
9606
  name: "Best Match",
@@ -9923,10 +9947,10 @@ class Zo {
9923
9947
  }), o;
9924
9948
  }
9925
9949
  static pickHourly(e, a) {
9926
- var i, o, r, s, c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q, re, de, pe, se, X, oe, ue, ne, F, ce, xe, Le, Pe, Ae, De, Re, _e, U, ae, Ne, Ie;
9927
- const ge = typeof a == "string" ? M(a) : a, fe = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, Ce = M((o = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : o.date).utc(), te = Ce.clone().add((c = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), le = Ce.clone().add((p = (g = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
9928
- if (ge.isBetween(te, le, "millisecond", "[]")) {
9929
- const N = ge.utc().diff(te, "h", !1);
9950
+ var i, o, r, s, c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q, re, he, pe, ne, X, oe, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, H, te, je, Ie;
9951
+ const ge = typeof a == "string" ? M(a) : a, fe = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, Ce = M((o = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : o.date).utc(), ae = Ce.clone().add((c = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), le = Ce.clone().add((p = (g = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
9952
+ if (ge.isBetween(ae, le, "millisecond", "[]")) {
9953
+ const N = ge.utc().diff(ae, "h", !1);
9930
9954
  let ye, Me;
9931
9955
  if (fe) {
9932
9956
  let Be = 0, Ee = 0;
@@ -9962,7 +9986,7 @@ class Zo {
9962
9986
  };
9963
9987
  const { name: Ge, url: Ve, bg: Ze } = this.parseWeatherCode(ye.code, ye.isDay);
9964
9988
  ye.name = Ge, ye.url = Ve, ye.bg = Ze, ye.wind.scale = this.beaufort(this.kts2ms(ye.wind.kts)), ye.wind.direction = this.degree2Direction(ye.wind.degree), Oe.push({
9965
- utc: te.add(N, "h").format(),
9989
+ utc: ae.add(N, "h").format(),
9966
9990
  model: E.model,
9967
9991
  weather: { ...ye }
9968
9992
  });
@@ -9977,18 +10001,18 @@ class Zo {
9977
10001
  sig: {
9978
10002
  height: (ee = E == null ? void 0 : E.wave_height) == null ? void 0 : ee.at(N),
9979
10003
  degree: (Q = E == null ? void 0 : E.wave_direction) == null ? void 0 : Q.at(N),
9980
- bearing: ((re = E == null ? void 0 : E.wave_direction) == null ? void 0 : re.at(N)) !== null ? (((de = E == null ? void 0 : E.wave_direction) == null ? void 0 : de.at(N)) + 180) % 360 : null,
10004
+ bearing: ((re = E == null ? void 0 : E.wave_direction) == null ? void 0 : re.at(N)) !== null ? (((he = E == null ? void 0 : E.wave_direction) == null ? void 0 : he.at(N)) + 180) % 360 : null,
9981
10005
  period: (pe = E == null ? void 0 : E.wave_period) == null ? void 0 : pe.at(N)
9982
10006
  },
9983
10007
  swell: {
9984
- height: (se = E == null ? void 0 : E.swell_wave_height) == null ? void 0 : se.at(N),
10008
+ height: (ne = E == null ? void 0 : E.swell_wave_height) == null ? void 0 : ne.at(N),
9985
10009
  degree: (X = E == null ? void 0 : E.swell_wave_direction) == null ? void 0 : X.at(N),
9986
10010
  bearing: ((oe = E == null ? void 0 : E.swell_wave_direction) == null ? void 0 : oe.at(N)) !== null ? (((ue = E == null ? void 0 : E.swell_wave_direction) == null ? void 0 : ue.at(N)) + 180) % 360 : null,
9987
- period: (ne = E == null ? void 0 : E.swell_wave_period) == null ? void 0 : ne.at(N),
10011
+ period: (ce = E == null ? void 0 : E.swell_wave_period) == null ? void 0 : ce.at(N),
9988
10012
  peakPeriod: (F = E == null ? void 0 : E.swell_wave_peak_period) == null ? void 0 : F.at(N)
9989
10013
  },
9990
10014
  wd: {
9991
- height: (ce = E == null ? void 0 : E.wind_wave_height) == null ? void 0 : ce.at(N),
10015
+ height: (me = E == null ? void 0 : E.wind_wave_height) == null ? void 0 : me.at(N),
9992
10016
  degree: (xe = E == null ? void 0 : E.wind_wave_direction) == null ? void 0 : xe.at(N),
9993
10017
  bearing: ((Le = E == null ? void 0 : E.wind_wave_direction) == null ? void 0 : Le.at(N)) !== null ? (((Pe = E == null ? void 0 : E.wind_wave_direction) == null ? void 0 : Pe.at(N)) + 180) % 360 : null,
9994
10018
  period: (Ae = E == null ? void 0 : E.wind_wave_period) == null ? void 0 : Ae.at(N),
@@ -9998,10 +10022,10 @@ class Zo {
9998
10022
  current: {
9999
10023
  speed: (Re = E == null ? void 0 : E.ocean_current_velocity) == null ? void 0 : Re.at(N),
10000
10024
  kts: (_e = E == null ? void 0 : E.ocean_current_velocity) == null ? void 0 : _e.at(N),
10001
- degree: (U = E == null ? void 0 : E.ocean_current_direction) == null ? void 0 : U.at(N),
10002
- bearing: ((ae = E == null ? void 0 : E.ocean_current_direction) == null ? void 0 : ae.at(N)) ?? null
10025
+ degree: (H = E == null ? void 0 : E.ocean_current_direction) == null ? void 0 : H.at(N),
10026
+ bearing: ((te = E == null ? void 0 : E.ocean_current_direction) == null ? void 0 : te.at(N)) ?? null
10003
10027
  },
10004
- sst: (Ne = E == null ? void 0 : E.sea_surface_temperature) == null ? void 0 : Ne.at(N),
10028
+ sst: (je = E == null ? void 0 : E.sea_surface_temperature) == null ? void 0 : je.at(N),
10005
10029
  height: (Ie = E == null ? void 0 : E.sea_level_height_msl) == null ? void 0 : Ie.at(N)
10006
10030
  }, Me.wave = this.parseWave(Me.wave, ye == null ? void 0 : ye.wind), Me.current.direction = this.degree2Direction(Me.current.degree), Object.assign(Oe[Be], Me), Be++;
10007
10031
  }
@@ -10032,75 +10056,75 @@ class Zo {
10032
10056
  };
10033
10057
  }
10034
10058
  static pickDaily(e, a) {
10035
- var i, o, r, s, c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q, re, de, pe, se, X, oe, ue, ne, F, ce, xe, Le, Pe, Ae, De;
10036
- const Re = typeof a == "string" ? M(a) : a, _e = e == null ? void 0 : e.weather, U = e == null ? void 0 : e.marine, ae = M((r = (o = (i = _e == null ? void 0 : _e[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), Ne = M((n = (c = (s = _e == null ? void 0 : _e[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Ie = [];
10037
- if (Re.isBetween(ae, Ne, "millisecond", "[]")) {
10059
+ var i, o, r, s, c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q, re, he, pe, ne, X, oe, ue, ce, F, me, xe, Le, Pe, Ae, De;
10060
+ const Re = typeof a == "string" ? M(a) : a, _e = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, te = M((r = (o = (i = _e == null ? void 0 : _e[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), je = M((n = (c = (s = _e == null ? void 0 : _e[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Ie = [];
10061
+ if (Re.isBetween(te, je, "millisecond", "[]")) {
10038
10062
  let ge, fe;
10039
- const W = Re.diff(ae, "d", !1);
10063
+ const W = Re.diff(te, "d", !1);
10040
10064
  if (_e)
10041
10065
  for (const Ce of _e) {
10042
- const te = Ce.daily;
10066
+ const ae = Ce.daily;
10043
10067
  ge = {
10044
- code: (g = te.weather_code) == null ? void 0 : g.at(W),
10068
+ code: (g = ae.weather_code) == null ? void 0 : g.at(W),
10045
10069
  temp: {
10046
- max: (p = te.temperature_2m_max) == null ? void 0 : p.at(W),
10047
- min: (f = te.temperature_2m_min) == null ? void 0 : f.at(W),
10048
- mean: (w = te.temperature_2m_mean) == null ? void 0 : w.at(W)
10070
+ max: (p = ae.temperature_2m_max) == null ? void 0 : p.at(W),
10071
+ min: (f = ae.temperature_2m_min) == null ? void 0 : f.at(W),
10072
+ mean: (w = ae.temperature_2m_mean) == null ? void 0 : w.at(W)
10049
10073
  },
10050
10074
  apparentTemp: {
10051
- max: (v = te.apparent_temperature_max) == null ? void 0 : v.at(W),
10052
- min: (y = te.apparent_temperature_min) == null ? void 0 : y.at(W)
10075
+ max: (v = ae.apparent_temperature_max) == null ? void 0 : v.at(W),
10076
+ min: (y = ae.apparent_temperature_min) == null ? void 0 : y.at(W)
10053
10077
  },
10054
10078
  precip: {
10055
- sum: (C = te.precipitation_sum) == null ? void 0 : C.at(W),
10056
- rainSum: (T = te.rain_sum) == null ? void 0 : T.at(W),
10057
- snowfallSum: (B = te.snowfall_sum) == null ? void 0 : B.at(W),
10058
- showersSum: (I = te.showers_sum) == null ? void 0 : I.at(W),
10059
- hours: (L = te.precipitation_hours) == null ? void 0 : L.at(W),
10060
- probability: (_ = te.precipitation_probability_max) == null ? void 0 : _.at(W)
10079
+ sum: (C = ae.precipitation_sum) == null ? void 0 : C.at(W),
10080
+ rainSum: (T = ae.rain_sum) == null ? void 0 : T.at(W),
10081
+ snowfallSum: (B = ae.snowfall_sum) == null ? void 0 : B.at(W),
10082
+ showersSum: (I = ae.showers_sum) == null ? void 0 : I.at(W),
10083
+ hours: (L = ae.precipitation_hours) == null ? void 0 : L.at(W),
10084
+ probability: (_ = ae.precipitation_probability_max) == null ? void 0 : _.at(W)
10061
10085
  },
10062
10086
  rh: {
10063
- max: (k = te.relative_humidity_2m_max) == null ? void 0 : k.at(W),
10064
- min: (P = te.relative_humidity_2m_min) == null ? void 0 : P.at(W),
10065
- mean: (z = te.relative_humidity_2m_mean) == null ? void 0 : z.at(W)
10087
+ max: (k = ae.relative_humidity_2m_max) == null ? void 0 : k.at(W),
10088
+ min: (P = ae.relative_humidity_2m_min) == null ? void 0 : P.at(W),
10089
+ mean: (z = ae.relative_humidity_2m_mean) == null ? void 0 : z.at(W)
10066
10090
  },
10067
10091
  wind: {
10068
- speed: (R = te.wind_speed_10m_max) == null ? void 0 : R.at(W),
10069
- kts: (G = te.wind_speed_10m_max) == null ? void 0 : G.at(W),
10070
- degree: (Y = te.wind_direction_10m_dominant) == null ? void 0 : Y.at(W),
10071
- gusts: (K = te.wind_gusts_10m_max) == null ? void 0 : K.at(W),
10072
- bearing: ((V = te.wind_direction_10m_dominant) == null ? void 0 : V.at(W)) !== null ? (((J = te.wind_direction_10m_dominant) == null ? void 0 : J.at(W)) + 180) % 360 : null
10092
+ speed: (R = ae.wind_speed_10m_max) == null ? void 0 : R.at(W),
10093
+ kts: (G = ae.wind_speed_10m_max) == null ? void 0 : G.at(W),
10094
+ degree: (Y = ae.wind_direction_10m_dominant) == null ? void 0 : Y.at(W),
10095
+ gusts: (K = ae.wind_gusts_10m_max) == null ? void 0 : K.at(W),
10096
+ bearing: ((V = ae.wind_direction_10m_dominant) == null ? void 0 : V.at(W)) !== null ? (((J = ae.wind_direction_10m_dominant) == null ? void 0 : J.at(W)) + 180) % 360 : null
10073
10097
  }
10074
10098
  };
10075
10099
  const { name: le, url: Oe, bg: N } = this.parseWeatherCode(ge.code, !0);
10076
10100
  ge.name = le, ge.url = Oe, ge.bg = N, ge.wind.scale = this.beaufort(this.kts2ms(ge.wind.kts)), ge.wind.direction = this.degree2Direction(ge.wind.degree), Ie.push({
10077
- utc: ae.add(W, "d").utc().format(),
10101
+ utc: te.add(W, "d").utc().format(),
10078
10102
  model: Ce.model,
10079
10103
  weather: { ...ge }
10080
10104
  });
10081
10105
  }
10082
- if (U) {
10106
+ if (H) {
10083
10107
  let Ce = 0;
10084
- for (const te of U) {
10085
- const le = te.daily;
10108
+ for (const ae of H) {
10109
+ const le = ae.daily;
10086
10110
  fe = {
10087
10111
  wave: {
10088
10112
  sig: {
10089
10113
  height: (ee = le.wave_height_max) == null ? void 0 : ee.at(W),
10090
10114
  degree: (Q = le.wave_direction_dominant) == null ? void 0 : Q.at(W),
10091
10115
  period: (re = le.wave_period_max) == null ? void 0 : re.at(W),
10092
- bearing: ((de = le.wave_direction_dominant) == null ? void 0 : de.at(W)) !== null ? (((pe = le.wave_direction_dominant) == null ? void 0 : pe.at(W)) + 180) % 360 : null
10116
+ bearing: ((he = le.wave_direction_dominant) == null ? void 0 : he.at(W)) !== null ? (((pe = le.wave_direction_dominant) == null ? void 0 : pe.at(W)) + 180) % 360 : null
10093
10117
  },
10094
10118
  swell: {
10095
- height: (se = le.swell_wave_height_max) == null ? void 0 : se.at(W),
10119
+ height: (ne = le.swell_wave_height_max) == null ? void 0 : ne.at(W),
10096
10120
  degree: (X = le.swell_wave_direction_dominant) == null ? void 0 : X.at(W),
10097
10121
  period: (oe = le.swell_wave_period_max) == null ? void 0 : oe.at(W),
10098
10122
  peakPeriod: (ue = le.swell_wave_peak_period_max) == null ? void 0 : ue.at(W),
10099
10123
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
10100
- bearing: ((ne = le.swell_wave_direction_dominant) == null ? void 0 : ne.at(W)) !== null ? ((F = le.swell_wave_direction_dominant) == null ? void 0 : F.at(W)) % 360 : null
10124
+ bearing: ((ce = le.swell_wave_direction_dominant) == null ? void 0 : ce.at(W)) !== null ? ((F = le.swell_wave_direction_dominant) == null ? void 0 : F.at(W)) % 360 : null
10101
10125
  },
10102
10126
  wd: {
10103
- height: (ce = le.wind_wave_height_max) == null ? void 0 : ce.at(W),
10127
+ height: (me = le.wind_wave_height_max) == null ? void 0 : me.at(W),
10104
10128
  degree: (xe = le.wind_wave_direction_dominant) == null ? void 0 : xe.at(W),
10105
10129
  period: (Le = le.wind_wave_period_max) == null ? void 0 : Le.at(W),
10106
10130
  peakPeriod: (Pe = le.wind_wave_peak_period_max) == null ? void 0 : Pe.at(W),
@@ -10512,7 +10536,7 @@ class Zo {
10512
10536
  return isNaN(e) || e <= 0.1 ? a = "Calm" : e <= 0.5 ? a = "Smooth" : e <= 1.25 ? a = "Slight" : e <= 2.5 ? a = "Moderate" : e <= 4 ? a = "Rough" : e <= 6 ? a = "VeryRough" : e <= 9 ? a = "High" : e <= 14 ? a = "VeryHigh" : a = "Precipitous", a;
10513
10537
  }
10514
10538
  }
10515
- const ec = {
10539
+ const tc = {
10516
10540
  name: "IdmTropicals",
10517
10541
  props: {
10518
10542
  permission: {
@@ -10581,9 +10605,9 @@ const ec = {
10581
10605
  showTropicalsInfo: !1,
10582
10606
  activeTropicals: void 0,
10583
10607
  activeTropicalsMarker: void 0,
10584
- empty: H.featureCollection([]),
10608
+ empty: U.featureCollection([]),
10585
10609
  circleSource: "circle-source",
10586
- circleSourceData: H.featureCollection([]),
10610
+ circleSourceData: U.featureCollection([]),
10587
10611
  circleLayer: "tropical-circle-layer",
10588
10612
  showLegend: !1
10589
10613
  };
@@ -10638,7 +10662,7 @@ const ec = {
10638
10662
  },
10639
10663
  map: {
10640
10664
  handler() {
10641
- this.map ? (this.toggle = localStorage.getItem(this.tropicalCacheKey) === "true" || !1, localStorage.setItem(this.tropicalCacheKey, this.toggle), this.toggle && this.fetchTropicals()) : this.showTropicalsInfo = !1;
10665
+ this.map ? (this.toggle = localStorage.getItem(this.tropicalCacheKey) === "true" || !1, localStorage.setItem(this.tropicalCacheKey, this.toggle), this.toggle && this.fetchTropicals()) : this.handleClear();
10642
10666
  }
10643
10667
  },
10644
10668
  showTropicalsInfo: {
@@ -10937,18 +10961,18 @@ const ec = {
10937
10961
  this.interpolateData = JSON.parse(JSON.stringify(t)), this.handleDateChange();
10938
10962
  },
10939
10963
  handleClear() {
10940
- var t, e, a, i, o;
10941
- this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((r) => r == null ? void 0 : r.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource)), (e = this.map) == null || e.off("click", this.hoverLayers, this.handleClick), (a = this.map) == null || a.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.showTropicalsInfo = !1, (o = this.activeTropicalsMarker) == null || o.remove(), this.activeTropicalsMarker = void 0;
10964
+ var t, e, a, i;
10965
+ this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((o) => o == null ? void 0 : o.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource)), (e = this.map) == null || e.off("click", this.hoverLayers, this.handleClick), (a = this.map) == null || a.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
10942
10966
  },
10943
10967
  handleDateChange() {
10944
10968
  var t, e, a, i, o, r, s, c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q;
10945
10969
  if ((t = this.interpolateMarkers) == null || t.forEach((re) => re == null ? void 0 : re.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
10946
- const re = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), de = this.interpolateData.filter((X) => X.properties.date === (re == null ? void 0 : re.format()) && !X.properties.disabled), pe = this.handleComputePolygons(de), se = H.featureCollection([...de]);
10970
+ const re = M(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), he = this.interpolateData.filter((X) => X.properties.date === (re == null ? void 0 : re.format()) && !X.properties.disabled), pe = this.handleComputePolygons(he), ne = U.featureCollection([...he]);
10947
10971
  pe.forEach((X) => {
10948
- se.features.push(X);
10949
- }), (a = this.map) != null && a.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(se) : ((o = this.map) == null || o.addSource(this.interpolateSource, {
10972
+ ne.features.push(X);
10973
+ }), (a = this.map) != null && a.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(ne) : ((o = this.map) == null || o.addSource(this.interpolateSource, {
10950
10974
  type: "geojson",
10951
- data: se
10975
+ data: ne
10952
10976
  }), (r = this.map) == null || r.addLayer({
10953
10977
  id: this.interpolateLineLayer,
10954
10978
  type: "line",
@@ -10960,7 +10984,7 @@ const ec = {
10960
10984
  "line-width": 1
10961
10985
  }
10962
10986
  })), this.interpolateMarkers = [];
10963
- for (const X of de)
10987
+ for (const X of he)
10964
10988
  if (!X.properties.disabled) {
10965
10989
  let oe = "#f44336";
10966
10990
  ((c = (s = X.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((g = (n = X.properties) == null ? void 0 : n.wind) != null && g.kts) ? oe = "#03f869" : ((f = (p = X.properties) == null ? void 0 : p.wind) == null ? void 0 : f.kts) >= 32 && ((v = (w = X.properties) == null ? void 0 : w.wind) == null ? void 0 : v.kts) < 47 ? oe = "#f2f202" : ((C = (y = X.properties) == null ? void 0 : y.wind) == null ? void 0 : C.kts) >= 47 && ((B = (T = X.properties) == null ? void 0 : T.wind) == null ? void 0 : B.kts) < 63 ? oe = "#ff9100" : ((L = (I = X.properties) == null ? void 0 : I.wind) == null ? void 0 : L.kts) >= 63 && ((k = (_ = X.properties) == null ? void 0 : _.wind) == null ? void 0 : k.kts) < 79 ? oe = "#f44336" : ((z = (P = X.properties) == null ? void 0 : P.wind) == null ? void 0 : z.kts) >= 79 && ((G = (R = X.properties) == null ? void 0 : R.wind) == null ? void 0 : G.kts) < 94 ? oe = "#f903d0" : ((K = (Y = X.properties) == null ? void 0 : Y.wind) == null ? void 0 : K.kts) >= 94 ? oe = "#8702f9" : oe = "#f44336";
@@ -10978,9 +11002,9 @@ const ec = {
10978
11002
  <path
10979
11003
  d="M420.66666667 959.17a16.08 16.08 0 0 1-15.91-13.49A15.89 15.89 0 0 1 415.50666667 928c1.49-0.55 38.88-14.76 72.79-65.52A354.55 354.55 0 0 1 162.66666667 509.17a450.14 450.14 0 0 1 450.5-450.5 16.07 16.07 0 0 1 15.91 13.48 15.88 15.88 0 0 1-10.75 17.66c-1.58 0.58-39.13 14.9-73.07 65.95A354.22 354.22 0 0 1 871.66666667 509.17a16 16 0 0 1-0.52 4.05A450.14 450.14 0 0 1 420.66666667 959.17zM554.80666667 94.72C351.57666667 123.2 194.66666667 298.21 194.66666667 509.17c0 177.08 144.06 321.74 321.13 322.48a16 16 0 0 1 14.07 23.49c-16.11 30.42-34.27 52.37-50.85 68C682.25666667 894.63 839.16666667 719.63 839.16666667 508.67a15.94 15.94 0 0 1 0.47-3.86C837.30666667 329.33 693.82666667 187 517.80666667 186.67A16 16 0 0 1 503.66666667 163.21c16.21-30.69 34.47-52.79 51.14-68.49z"
10980
11004
  fill="#ffffff" p-id="18386"></path>
10981
- </svg>`, ne = document.createElement("div");
10982
- ne.className = "idm-tropical-gl4-hourly-marker", ne.innerHTML = `<div class="${X.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${ue}</div>`;
10983
- const F = new ve.Marker(ne).setLngLat(X.geometry.coordinates).addTo(this.map);
11005
+ </svg>`, ce = document.createElement("div");
11006
+ ce.className = "idm-tropical-gl4-hourly-marker", ce.innerHTML = `<div class="${X.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${ue}</div>`;
11007
+ const F = new ve.Marker(ce).setLngLat(X.geometry.coordinates).addTo(this.map);
10984
11008
  this.interpolateMarkers.push(F), (J = (V = this.map) == null ? void 0 : V.getSource(this.circleSource)) == null || J.setData(this.circleSourceData);
10985
11009
  }
10986
11010
  } else
@@ -11009,6 +11033,12 @@ const ec = {
11009
11033
  this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]) : this.activeTropicalsMarker = new ve.Marker(w).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
11010
11034
  });
11011
11035
  },
11036
+ handleCloseInfoMarker() {
11037
+ this.showTropicalsInfo = !1, this.$nextTick(() => {
11038
+ var t;
11039
+ (t = this.activeTropicalsMarker) == null || t.remove(), this.activeTropicalsMarker = void 0;
11040
+ });
11041
+ },
11012
11042
  handleForecastToggle(t) {
11013
11043
  var i, o, r, s, c, n;
11014
11044
  t.disabled = !t.disabled;
@@ -11017,7 +11047,7 @@ const ec = {
11017
11047
  g.properties.category === e && (g.properties.disabled = t.disabled);
11018
11048
  }), this.interpolateData.forEach((g) => {
11019
11049
  g.properties.category === e && (g.properties.disabled = t.disabled);
11020
- }), (s = (r = this.map) == null ? void 0 : r.getSource(this.source)) == null || s.setData(H.featureCollection(a)), (n = (c = this.map) == null ? void 0 : c.getSource(this.clusterSource)) == null || n.setData(H.featureCollection(a)), this.handleDateChange();
11050
+ }), (s = (r = this.map) == null ? void 0 : r.getSource(this.source)) == null || s.setData(U.featureCollection(a)), (n = (c = this.map) == null ? void 0 : c.getSource(this.clusterSource)) == null || n.setData(U.featureCollection(a)), this.handleDateChange();
11021
11051
  },
11022
11052
  handleStrikeProbability(t) {
11023
11053
  this.$emit("tropicalProbability", t);
@@ -11074,22 +11104,22 @@ const ec = {
11074
11104
  let n;
11075
11105
  switch (s) {
11076
11106
  case "ne":
11077
- n = H.lineArc(t, c, 0, 90, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11107
+ n = U.lineArc(t, c, 0, 90, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11078
11108
  break;
11079
11109
  case "se":
11080
- n = H.lineArc(t, c, 90, 180, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11110
+ n = U.lineArc(t, c, 90, 180, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11081
11111
  break;
11082
11112
  case "sw":
11083
- n = H.lineArc(t, c, 180, 270, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11113
+ n = U.lineArc(t, c, 180, 270, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11084
11114
  break;
11085
11115
  case "nw":
11086
- n = H.lineArc(t, c, 270, 360, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11116
+ n = U.lineArc(t, c, 270, 360, { steps: c > 0 ? 32 : 1, units: "nauticalmiles" });
11087
11117
  break;
11088
11118
  }
11089
11119
  i.push(...(r = n == null ? void 0 : n.geometry) == null ? void 0 : r.coordinates);
11090
11120
  }
11091
- const o = H.lineString(i);
11092
- return H.lineToPolygon(o, { properties: a });
11121
+ const o = U.lineString(i);
11122
+ return U.lineToPolygon(o, { properties: a });
11093
11123
  },
11094
11124
  handleNotification(t) {
11095
11125
  this.$emit("tropicalNotification", t);
@@ -11101,23 +11131,23 @@ const ec = {
11101
11131
  this.map.getCanvas().style.cursor = "grab";
11102
11132
  }
11103
11133
  }
11104
- }, tc = { class: "idm-tropical-gl4" }, ac = {
11134
+ }, ac = { class: "idm-tropical-gl4" }, oc = {
11105
11135
  key: 0,
11106
11136
  id: "idm-tropical-gl4-info",
11107
11137
  class: "idm-tropical-gl4-info"
11108
- }, oc = { class: "pb-1" }, ic = { class: "text-h6 font-weight-600" }, rc = {
11138
+ }, ic = { class: "pb-1" }, rc = { class: "text-h6 font-weight-600" }, lc = {
11109
11139
  key: 0,
11110
11140
  class: "text-body-1 text-label"
11111
- }, lc = { class: "text-body-2" }, sc = { class: "text-label" }, nc = { class: "d-flex justify-space-between align-center" }, cc = { class: "w-60" }, mc = { class: "text-label pr-1" }, dc = { class: "flex-1-1-0" }, hc = { class: "text-label pr-1" }, pc = { class: "py-2 d-flex justify-space-between align-center" }, uc = { class: "w-60" }, gc = { class: "text-label pr-1" }, fc = { class: "flex-1-1-0" }, yc = { class: "text-label pr-1" }, bc = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, wc = {
11141
+ }, sc = { class: "text-body-2" }, nc = { class: "text-label" }, cc = { class: "d-flex justify-space-between align-center" }, mc = { class: "w-60" }, dc = { class: "text-label pr-1" }, hc = { class: "flex-1-1-0" }, pc = { class: "text-label pr-1" }, uc = { class: "py-2 d-flex justify-space-between align-center" }, gc = { class: "w-60" }, fc = { class: "text-label pr-1" }, yc = { class: "flex-1-1-0" }, bc = { class: "text-label pr-1" }, wc = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, xc = {
11112
11142
  class: "text-label pr-1",
11113
11143
  style: { width: "130px" }
11114
- }, xc = { class: "model-box flex-1-1-0 d-flex justify-end align-center flex-wrap ga-1 pa-1" }, vc = { class: "more" }, _c = {
11115
- class: "my-4",
11116
- style: { height: "80px" }
11117
- }, kc = { class: "pa-1 d-flex justify-space-between align-center" }, zc = { class: "pa-1 d-flex justify-space-between align-center" };
11118
- function Lc(t, e, a, i, o, r) {
11144
+ }, vc = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, _c = { class: "more" }, kc = {
11145
+ class: "my-3",
11146
+ style: { height: "80px", width: "100%" }
11147
+ }, zc = { class: "pa-1 d-flex justify-space-between align-center" }, Lc = { class: "pa-1 d-flex justify-space-between align-center" };
11148
+ function Pc(t, e, a, i, o, r) {
11119
11149
  const s = x("VBtn"), c = x("VTooltip"), n = x("VCardText"), g = x("VDivider"), p = x("VCardActions"), f = x("VCard");
11120
- return b(), S("div", tc, [
11150
+ return b(), S("div", ac, [
11121
11151
  l("div", {
11122
11152
  class: "menu-bar-box transition pa-1",
11123
11153
  style: ie({ top: a.top + 134 + "px", right: o.right + "px" })
@@ -11134,45 +11164,46 @@ function Lc(t, e, a, i, o, r) {
11134
11164
  class: ["text-none pa-0", o.toggle ? "bg-primary active-border" : ""],
11135
11165
  onClick: r.handleMenuToggle
11136
11166
  }), {
11137
- default: u(() => e[4] || (e[4] = [
11167
+ default: u(() => e[3] || (e[3] = [
11138
11168
  l("i", { class: "iconfont icon-Tropical text-h4" }, null, -1)
11139
11169
  ])),
11140
11170
  _: 2,
11141
- __: [4]
11171
+ __: [3]
11142
11172
  }, 1040, ["class", "onClick"])
11143
11173
  ]),
11144
11174
  _: 1
11145
11175
  }, 8, ["text"])
11146
11176
  ], 4),
11147
- o.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (b(), S("div", ac, [
11177
+ o.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (b(), S("div", oc, [
11148
11178
  d(f, {
11149
- width: "400",
11150
- elevation: "16"
11179
+ "min-width": "400",
11180
+ elevation: "16",
11181
+ "max-width": "500"
11151
11182
  }, {
11152
11183
  default: u(() => [
11153
11184
  d(n, null, {
11154
11185
  default: u(() => {
11155
11186
  var w, v, y, C, T, B, I, L, _, k;
11156
11187
  return [
11157
- l("div", oc, [
11158
- l("span", ic, h((w = o.activeTropicals) == null ? void 0 : w.name), 1),
11159
- (y = (v = o.activeTropicals) == null ? void 0 : v.history) != null && y.level ? (b(), S("span", rc, ", " + h((T = (C = o.activeTropicals) == null ? void 0 : C.history) == null ? void 0 : T.level), 1)) : D("", !0)
11188
+ l("div", ic, [
11189
+ l("span", rc, h((w = o.activeTropicals) == null ? void 0 : w.name), 1),
11190
+ (y = (v = o.activeTropicals) == null ? void 0 : v.history) != null && y.level ? (b(), S("span", lc, ", " + h((T = (C = o.activeTropicals) == null ? void 0 : C.history) == null ? void 0 : T.level), 1)) : D("", !0)
11160
11191
  ]),
11161
11192
  d(s, {
11162
11193
  icon: "",
11163
11194
  density: "compact",
11164
11195
  variant: "plain",
11165
11196
  class: "close",
11166
- onClick: e[0] || (e[0] = (P) => o.showTropicalsInfo = !1)
11197
+ onClick: r.handleCloseInfoMarker
11167
11198
  }, {
11168
- default: u(() => e[5] || (e[5] = [
11199
+ default: u(() => e[4] || (e[4] = [
11169
11200
  l("i", { class: "iconfont icon-close text-label text-h4" }, null, -1)
11170
11201
  ])),
11171
11202
  _: 1,
11172
- __: [5]
11173
- }),
11174
- l("div", lc, [
11175
- l("span", sc, h(t.$t("actions.lastUpdate")) + ": ", 1),
11203
+ __: [4]
11204
+ }, 8, ["onClick"]),
11205
+ l("div", sc, [
11206
+ l("span", nc, h(t.$t("actions.lastUpdate")) + ": ", 1),
11176
11207
  l("span", null, h(r.computeTime(((I = (B = o.activeTropicals) == null ? void 0 : B.history) == null ? void 0 : I.updated) || ((k = (_ = (L = o.activeTropicals) == null ? void 0 : L.forecasts) == null ? void 0 : _.filter((P) => !P.disabled)[0]) == null ? void 0 : k.date))), 1)
11177
11208
  ])
11178
11209
  ];
@@ -11184,36 +11215,37 @@ function Lc(t, e, a, i, o, r) {
11184
11215
  default: u(() => {
11185
11216
  var w, v, y, C, T, B, I, L, _;
11186
11217
  return [
11187
- l("div", nc, [
11188
- l("div", cc, [
11189
- l("label", mc, h(t.$t("weather.windSpeed")) + " : ", 1),
11218
+ l("div", cc, [
11219
+ l("div", mc, [
11220
+ l("label", dc, h(t.$t("weather.windSpeed")) + " : ", 1),
11190
11221
  l("span", null, h(((v = (w = o.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : v.kts) || "-") + " kts", 1),
11191
11222
  l("span", null, ", BF " + h(r.computeBF(((C = (y = o.activeTropicals) == null ? void 0 : y.history) == null ? void 0 : C.kts) || "-")), 1)
11192
11223
  ]),
11193
- l("div", dc, [
11194
- l("label", hc, h(t.$t("tropical.pressure")) + " : ", 1),
11224
+ l("div", hc, [
11225
+ l("label", pc, h(t.$t("tropical.pressure")) + " : ", 1),
11195
11226
  l("span", null, h(((B = (T = o.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : B.pressure) || "-") + " hPa", 1)
11196
11227
  ])
11197
11228
  ]),
11198
- l("div", pc, [
11199
- l("div", uc, [
11200
- l("label", gc, h(t.$t("tropical.moveSpeed")) + " : ", 1),
11229
+ l("div", uc, [
11230
+ l("div", gc, [
11231
+ l("label", fc, h(t.$t("tropical.moveSpeed")) + " : ", 1),
11201
11232
  l("span", null, h(((I = r.computeMovement(o.activeTropicals)) == null ? void 0 : I.kts) || "-") + " kts", 1)
11202
11233
  ]),
11203
- l("div", fc, [
11204
- l("label", yc, h(t.$t("tropical.moveDir")) + " : ", 1),
11234
+ l("div", yc, [
11235
+ l("label", bc, h(t.$t("tropical.moveDir")) + " : ", 1),
11205
11236
  l("span", null, h(((L = r.computeMovement(o.activeTropicals)) == null ? void 0 : L.deg) || "-") + "°", 1)
11206
11237
  ])
11207
11238
  ]),
11208
- l("div", bc, [
11209
- l("label", wc, h(t.$t("weather.forecastModels")) + " : ", 1),
11210
- l("div", xc, [
11239
+ l("div", wc, [
11240
+ l("label", xc, h(t.$t("weather.forecastModels")) + " : ", 1),
11241
+ l("div", vc, [
11211
11242
  (b(!0), S(be, null, we((_ = o.activeTropicals) == null ? void 0 : _.forecasts, (k, P) => (b(), A(s, {
11212
11243
  key: P,
11213
11244
  density: "compact",
11214
11245
  variant: k.disabled ? "outlined" : "flat",
11215
11246
  color: k.disabled ? "" : "primary",
11216
- class: He(["model text-none text-body-1", k.disabled ? "" : "btn-border-2"]),
11247
+ "min-width": 30,
11248
+ class: He(["model text-none text-body-1 px-1", k.disabled ? "" : "btn-border-2"]),
11217
11249
  onClick: (z) => r.handleForecastToggle(k)
11218
11250
  }, {
11219
11251
  default: u(() => [
@@ -11236,9 +11268,9 @@ function Lc(t, e, a, i, o, r) {
11236
11268
  variant: "text",
11237
11269
  color: o.showLegend ? "primary" : "",
11238
11270
  class: "text-none text-body-1",
11239
- onClick: e[1] || (e[1] = (w) => o.showLegend = !o.showLegend)
11271
+ onClick: e[0] || (e[0] = (w) => o.showLegend = !o.showLegend)
11240
11272
  }, {
11241
- prepend: u(() => e[6] || (e[6] = [
11273
+ prepend: u(() => e[5] || (e[5] = [
11242
11274
  l("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
11243
11275
  ])),
11244
11276
  default: u(() => [
@@ -11246,13 +11278,13 @@ function Lc(t, e, a, i, o, r) {
11246
11278
  ]),
11247
11279
  _: 1
11248
11280
  }, 8, ["color"]),
11249
- l("div", vc, [
11281
+ l("div", _c, [
11250
11282
  a.permission & o.helper.LEVEL.Supper ? (b(), A(s, {
11251
11283
  key: 0,
11252
11284
  variant: "text",
11253
11285
  density: "compact",
11254
11286
  class: "text-none text-body-1",
11255
- onClick: e[2] || (e[2] = (w) => r.handleNotification(o.activeTropicals))
11287
+ onClick: e[1] || (e[1] = (w) => r.handleNotification(o.activeTropicals))
11256
11288
  }, {
11257
11289
  default: u(() => [
11258
11290
  j(h(t.$t("actions.notify")), 1)
@@ -11264,7 +11296,7 @@ function Lc(t, e, a, i, o, r) {
11264
11296
  density: "compact",
11265
11297
  "append-icon": "mdi-chevron-right",
11266
11298
  class: "text-none text-body-1",
11267
- onClick: e[3] || (e[3] = (w) => r.handleStrikeProbability(o.activeTropicals))
11299
+ onClick: e[2] || (e[2] = (w) => r.handleStrikeProbability(o.activeTropicals))
11268
11300
  }, {
11269
11301
  default: u(() => [
11270
11302
  j(h(t.$t("actions.viewReport")), 1)
@@ -11278,15 +11310,12 @@ function Lc(t, e, a, i, o, r) {
11278
11310
  ]),
11279
11311
  _: 1
11280
11312
  }),
11281
- l("div", _c, [
11282
- Ue(d(f, {
11283
- width: "400",
11284
- elevation: "16"
11285
- }, {
11313
+ l("div", kc, [
11314
+ Ue(d(f, { elevation: "16" }, {
11286
11315
  default: u(() => [
11287
11316
  d(n, null, {
11288
11317
  default: u(() => [
11289
- Ue(l("div", kc, e[7] || (e[7] = [
11318
+ Ue(l("div", zc, e[6] || (e[6] = [
11290
11319
  l("div", { class: "legend d-flex justify-start align-center" }, [
11291
11320
  l("div", { class: "icon td" }),
11292
11321
  l("div", { class: "label" }, "TD")
@@ -11314,7 +11343,7 @@ function Lc(t, e, a, i, o, r) {
11314
11343
  ]), 512), [
11315
11344
  [We, o.showLegend]
11316
11345
  ]),
11317
- Ue(l("div", zc, e[8] || (e[8] = [
11346
+ Ue(l("div", Lc, e[7] || (e[7] = [
11318
11347
  l("div", { class: "legend d-flex justify-start align-center" }, [
11319
11348
  l("div", { class: "icon history" }),
11320
11349
  l("div", { class: "label" }, "History")
@@ -11346,8 +11375,8 @@ function Lc(t, e, a, i, o, r) {
11346
11375
  ])) : D("", !0)
11347
11376
  ]);
11348
11377
  }
11349
- const Ko = /* @__PURE__ */ q(ec, [["render", Lc]]);
11350
- const Pc = {
11378
+ const Ko = /* @__PURE__ */ q(tc, [["render", Pc]]);
11379
+ const Cc = {
11351
11380
  name: "DateTimePicker",
11352
11381
  props: {
11353
11382
  locale: {
@@ -11488,19 +11517,19 @@ const Pc = {
11488
11517
  this.currentDate = t.clone().format("YYYY-MM-DD"), this.currentTime = t.clone().format("HH:00");
11489
11518
  }
11490
11519
  }
11491
- }, Cc = { class: "idm-gl4-timepicker" }, Tc = {
11520
+ }, Tc = { class: "idm-gl4-timepicker" }, Sc = {
11492
11521
  class: "pa-0",
11493
11522
  style: { width: "250px" }
11494
- }, Sc = {
11523
+ }, Ic = {
11495
11524
  class: "h-100 pa-0 d-flex flex-column justify-start align-center",
11496
11525
  style: { width: "100px" }
11497
- }, Ic = {
11526
+ }, Mc = {
11498
11527
  class: "d-flex justify-center align-center text-body-2",
11499
11528
  style: { height: "56px" }
11500
11529
  };
11501
- function Mc(t, e, a, i, o, r) {
11530
+ function Ac(t, e, a, i, o, r) {
11502
11531
  const s = x("VBtn"), c = x("VDatePicker"), n = x("VDivider"), g = x("VListItemTitle"), p = x("VListItem"), f = x("VList"), w = x("VCardText"), v = x("VCardActions"), y = x("VCard");
11503
- return b(), S("div", Cc, [
11532
+ return b(), S("div", Tc, [
11504
11533
  d(s, {
11505
11534
  text: "",
11506
11535
  height: "30",
@@ -11519,7 +11548,7 @@ function Mc(t, e, a, i, o, r) {
11519
11548
  default: u(() => [
11520
11549
  d(w, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
11521
11550
  default: u(() => [
11522
- l("div", Tc, [
11551
+ l("div", Sc, [
11523
11552
  d(c, {
11524
11553
  modelValue: o.currentDate,
11525
11554
  "onUpdate:modelValue": e[0] || (e[0] = (C) => o.currentDate = C),
@@ -11538,8 +11567,8 @@ function Mc(t, e, a, i, o, r) {
11538
11567
  class: "h-100",
11539
11568
  vertical: ""
11540
11569
  }),
11541
- l("div", Sc, [
11542
- l("div", Ic, h(o.currentTime), 1),
11570
+ l("div", Ic, [
11571
+ l("div", Mc, h(o.currentTime), 1),
11543
11572
  d(f, { class: "pa-0 flex-1-1-0" }, {
11544
11573
  default: u(() => [
11545
11574
  (b(!0), S(be, null, we(r.hourOptions, (C, T) => (b(), A(p, {
@@ -11610,8 +11639,8 @@ function Mc(t, e, a, i, o, r) {
11610
11639
  })) : D("", !0)
11611
11640
  ]);
11612
11641
  }
11613
- const na = /* @__PURE__ */ q(Pc, [["render", Mc]]);
11614
- const Ac = {
11642
+ const na = /* @__PURE__ */ q(Cc, [["render", Ac]]);
11643
+ const Dc = {
11615
11644
  name: "IdmPoint",
11616
11645
  components: {
11617
11646
  DateTimePicker: na
@@ -11783,13 +11812,12 @@ const Ac = {
11783
11812
  this.isLogin ? this.toggle = !this.toggle : this.$emit("login");
11784
11813
  },
11785
11814
  submitForm() {
11786
- var t;
11787
- this.showMeteo = !1, (t = this.positionMarker) == null || t.remove(), this.positionMarker = void 0, this.$refs.spotForm.validate().then(async (e) => {
11788
- var a;
11789
- if (e != null && e.valid) {
11815
+ this.handleCloseMeteo(), this.$refs.spotForm.validate().then(async (t) => {
11816
+ var e;
11817
+ if (t != null && t.valid) {
11790
11818
  this.form.lat = (Number(this.form.latDegree ?? 0) + Number(this.form.latMinute ?? 0) / 60) * (this.form.latDirection === "N" ? 1 : -1), this.form.lng = (Number(this.form.lngDegree ?? 0) + Number(this.form.lngMinute ?? 0) / 60) * (this.form.lngDirection === "E" ? 1 : -1);
11791
- const i = M();
11792
- ((a = M(this.realTime)) == null ? void 0 : a.diff(i, "d", !0)) >= 0 ? await this.fetchMeteoData(this.form) : await this.fetchHistoryData(this.form);
11819
+ const a = M();
11820
+ ((e = M(this.realTime)) == null ? void 0 : e.diff(a, "d", !0)) >= 0 ? await this.fetchMeteoData(this.form) : await this.fetchHistoryData(this.form);
11793
11821
  }
11794
11822
  });
11795
11823
  },
@@ -11846,10 +11874,10 @@ const Ac = {
11846
11874
  (o == null ? void 0 : o.data.code) === 0 && (this.meteoData = o == null ? void 0 : o.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData), this.handleDrawInfoMarker([t.lng, t.lat])), this.loading = !1;
11847
11875
  },
11848
11876
  initTableData(t) {
11849
- var a, i, o, r, s, c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q, re, de, pe, se, X, oe, ue, ne, F, ce, xe;
11877
+ var a, i, o, r, s, c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q, re, he, pe, ne, X, oe, ue, ce, F, me, xe;
11850
11878
  this.currentHourData = {}, this.positionGmt = (i = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : r.offset;
11851
11879
  const e = ((s = oa.pickHourly(t, M(this.form.dateTime))) == null ? void 0 : s[0]) || {};
11852
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((g = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((f = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : f.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((y = (v = e == null ? void 0 : e.weather) == null ? void 0 : v.wind) == null ? void 0 : y.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (C = e == null ? void 0 : e.weather) == null ? void 0 : C.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((P = (k = e == null ? void 0 : e.wave) == null ? void 0 : k.sig) == null ? void 0 : P.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (z = e == null ? void 0 : e.wave) == null ? void 0 : z.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((Y = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.sig) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((re = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : re.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (de = e == null ? void 0 : e.wave) == null ? void 0 : de.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (X = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : X.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((ue = (oe = e == null ? void 0 : e.wave) == null ? void 0 : oe.swell) == null ? void 0 : ue.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ne = e == null ? void 0 : e.current) == null ? void 0 : ne.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((ce = e == null ? void 0 : e.current) == null ? void 0 : ce.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
11880
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((g = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((f = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : f.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((y = (v = e == null ? void 0 : e.weather) == null ? void 0 : v.wind) == null ? void 0 : y.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (C = e == null ? void 0 : e.weather) == null ? void 0 : C.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((P = (k = e == null ? void 0 : e.wave) == null ? void 0 : k.sig) == null ? void 0 : P.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (z = e == null ? void 0 : e.wave) == null ? void 0 : z.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((Y = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.sig) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((re = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : re.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (X = (ne = e == null ? void 0 : e.wave) == null ? void 0 : ne.swell) == null ? void 0 : X.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((ue = (oe = e == null ? void 0 : e.wave) == null ? void 0 : oe.swell) == null ? void 0 : ue.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ce = e == null ? void 0 : e.current) == null ? void 0 : ce.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
11853
11881
  },
11854
11882
  handleBind() {
11855
11883
  var t, e;
@@ -11865,7 +11893,7 @@ const Ac = {
11865
11893
  return !1;
11866
11894
  },
11867
11895
  handleGetPosition(t) {
11868
- this.handleCloseMeteo(), this.form.latDegree = Number($.lat2pretty(t.lat).degree), this.form.latMinute = Number($.lat2pretty(t.lat).minute), this.form.latDirection = $.lat2pretty(t.lat).direction, this.form.lngDegree = Number($.lng2pretty(t.lng).degree), this.form.lngMinute = Number($.lng2pretty(t.lng).minute), this.form.lngDirection = $.lng2pretty(t.lng).direction;
11896
+ this.form.latDegree = Number($.lat2pretty(t.lat).degree), this.form.latMinute = Number($.lat2pretty(t.lat).minute), this.form.latDirection = $.lat2pretty(t.lat).direction, this.form.lngDegree = Number($.lng2pretty(t.lng).degree), this.form.lngMinute = Number($.lng2pretty(t.lng).minute), this.form.lngDirection = $.lng2pretty(t.lng).direction;
11869
11897
  },
11870
11898
  handleDrawInfoMarker(t) {
11871
11899
  t && (this.map.flyTo({
@@ -11901,26 +11929,26 @@ const Ac = {
11901
11929
  this.$emit("cancelFollow", t);
11902
11930
  }
11903
11931
  }
11904
- }, Dc = { class: "idm-gl4-spot" }, Rc = { class: "d-flex justify-start align-center" }, Oc = { class: "text-h6 font-weight-600 mx-2" }, Bc = { class: "d-flex justify-start align-center ga-1 mb-1" }, Ec = {
11932
+ }, Rc = { class: "idm-gl4-spot" }, Oc = { class: "d-flex justify-start align-center" }, Bc = { class: "text-h6 font-weight-600 mx-2" }, Ec = { class: "d-flex justify-start align-center ga-1 mb-1" }, Nc = {
11905
11933
  class: "multi-color-icon",
11906
11934
  "aria-hidden": "true"
11907
- }, Nc = ["xlink:href"], jc = { class: "d-flex justify-start align-center ga-1 mb-1" }, Fc = {
11935
+ }, jc = ["xlink:href"], Fc = { class: "d-flex justify-start align-center ga-1 mb-1" }, Hc = {
11908
11936
  class: "multi-color-icon",
11909
11937
  "aria-hidden": "true"
11910
- }, Hc = ["xlink:href"], Uc = { class: "d-flex justify-start align-center ga-1 mb-1" }, Wc = {
11938
+ }, Uc = ["xlink:href"], Wc = { class: "d-flex justify-start align-center ga-1 mb-1" }, Gc = {
11911
11939
  class: "multi-color-icon",
11912
11940
  "aria-hidden": "true"
11913
- }, Gc = ["xlink:href"], Vc = { class: "d-flex justify-start align-center ga-1 mb-1" }, Zc = {
11941
+ }, Vc = ["xlink:href"], Zc = { class: "d-flex justify-start align-center ga-1 mb-1" }, qc = {
11914
11942
  class: "multi-color-icon",
11915
11943
  "aria-hidden": "true"
11916
- }, qc = ["xlink:href"], Yc = { class: "d-flex justify-start align-center" }, Kc = { class: "mx-2" }, Xc = { id: "idm-position-icon" }, $c = {
11944
+ }, Yc = ["xlink:href"], Kc = { class: "d-flex justify-start align-center" }, Xc = { class: "mx-2" }, $c = { id: "idm-position-icon" }, Qc = {
11917
11945
  class: "multi-color-icon",
11918
11946
  style: { height: "26px", width: "26px" },
11919
11947
  "aria-hidden": "true"
11920
- }, Qc = ["xlink:href"];
11921
- function Jc(t, e, a, i, o, r) {
11948
+ }, Jc = ["xlink:href"];
11949
+ function em(t, e, a, i, o, r) {
11922
11950
  const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), g = x("VDivider"), p = x("VTextField"), f = x("VCol"), w = x("VRow"), v = x("DateTimePicker"), y = x("VBtnToggle"), C = x("VCardActions"), T = x("VForm"), B = x("VCardText"), I = x("VCard"), L = x("VIcon");
11923
- return b(), S("div", Dc, [
11951
+ return b(), S("div", Rc, [
11924
11952
  l("div", {
11925
11953
  class: "menu-bar-box transition pa-1",
11926
11954
  style: ie({ top: a.top + 174 + "px", right: o.right + "px" })
@@ -11955,8 +11983,8 @@ function Jc(t, e, a, i, o, r) {
11955
11983
  default: u(() => [
11956
11984
  d(n, { class: "d-flex justify-space-between align-center" }, {
11957
11985
  default: u(() => [
11958
- l("div", Rc, [
11959
- l("div", Oc, h(t.$t("spot.spotWeather")), 1)
11986
+ l("div", Oc, [
11987
+ l("div", Bc, h(t.$t("spot.spotWeather")), 1)
11960
11988
  ]),
11961
11989
  d(s, {
11962
11990
  icon: "",
@@ -11984,11 +12012,11 @@ function Jc(t, e, a, i, o, r) {
11984
12012
  onSubmit: qe(r.submitForm, ["prevent"])
11985
12013
  }, {
11986
12014
  default: u(() => [
11987
- l("div", Bc, [
11988
- (b(), S("svg", Ec, [
12015
+ l("div", Ec, [
12016
+ (b(), S("svg", Nc, [
11989
12017
  l("use", {
11990
12018
  "xlink:href": `#icon-lng-${a.theme}`
11991
- }, null, 8, Nc)
12019
+ }, null, 8, jc)
11992
12020
  ])),
11993
12021
  l("div", null, h(t.$t("spot.lng")), 1)
11994
12022
  ]),
@@ -12059,11 +12087,11 @@ function Jc(t, e, a, i, o, r) {
12059
12087
  ]),
12060
12088
  _: 1
12061
12089
  }),
12062
- l("div", jc, [
12063
- (b(), S("svg", Fc, [
12090
+ l("div", Fc, [
12091
+ (b(), S("svg", Hc, [
12064
12092
  l("use", {
12065
12093
  "xlink:href": `#icon-lng-${a.theme}`
12066
- }, null, 8, Hc)
12094
+ }, null, 8, Uc)
12067
12095
  ])),
12068
12096
  l("div", null, h(t.$t("spot.lat")), 1)
12069
12097
  ]),
@@ -12137,11 +12165,11 @@ function Jc(t, e, a, i, o, r) {
12137
12165
  ]),
12138
12166
  _: 1
12139
12167
  }),
12140
- l("div", Uc, [
12141
- (b(), S("svg", Wc, [
12168
+ l("div", Wc, [
12169
+ (b(), S("svg", Gc, [
12142
12170
  l("use", {
12143
12171
  "xlink:href": `#icon-date-time-${a.theme}`
12144
- }, null, 8, Gc)
12172
+ }, null, 8, Vc)
12145
12173
  ])),
12146
12174
  l("div", null, h(t.$t("spot.dateTime")), 1)
12147
12175
  ]),
@@ -12164,11 +12192,11 @@ function Jc(t, e, a, i, o, r) {
12164
12192
  ]),
12165
12193
  _: 1
12166
12194
  }),
12167
- l("div", Vc, [
12168
- (b(), S("svg", Zc, [
12195
+ l("div", Zc, [
12196
+ (b(), S("svg", qc, [
12169
12197
  l("use", {
12170
12198
  "xlink:href": `#icon-forecast-model-${a.theme}`
12171
- }, null, 8, qc)
12199
+ }, null, 8, Yc)
12172
12200
  ])),
12173
12201
  l("div", null, h(t.$t("weather.forecastModel")), 1)
12174
12202
  ]),
@@ -12275,9 +12303,9 @@ function Jc(t, e, a, i, o, r) {
12275
12303
  default: u(() => [
12276
12304
  d(n, { class: "d-flex justify-space-between align-center" }, {
12277
12305
  default: u(() => [
12278
- l("div", Yc, [
12306
+ l("div", Kc, [
12279
12307
  e[16] || (e[16] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
12280
- l("div", Kc, h(r.computePosition(o.form || o.currentHourData)), 1)
12308
+ l("div", Xc, h(r.computePosition(o.form || o.currentHourData)), 1)
12281
12309
  ]),
12282
12310
  d(s, {
12283
12311
  class: "mr-n2",
@@ -12537,19 +12565,19 @@ function Jc(t, e, a, i, o, r) {
12537
12565
  ]),
12538
12566
  _: 1
12539
12567
  })) : D("", !0),
12540
- Ue(l("div", Xc, [
12541
- (b(), S("svg", $c, [
12568
+ Ue(l("div", $c, [
12569
+ (b(), S("svg", Qc, [
12542
12570
  l("use", {
12543
12571
  "xlink:href": `#icon-spot-${a.theme}`
12544
- }, null, 8, Qc)
12572
+ }, null, 8, Jc)
12545
12573
  ]))
12546
12574
  ], 512), [
12547
12575
  [We, o.showMeteo]
12548
12576
  ])
12549
12577
  ]);
12550
12578
  }
12551
- const em = /* @__PURE__ */ q(Ac, [["render", Jc]]);
12552
- const tm = {
12579
+ const tm = /* @__PURE__ */ q(Dc, [["render", em]]);
12580
+ const am = {
12553
12581
  name: "IdmMeasure",
12554
12582
  props: {
12555
12583
  map: {
@@ -12605,7 +12633,7 @@ const tm = {
12605
12633
  else {
12606
12634
  (t = this.map) == null || t.getCanvas().removeEventListener("keydown", this.handleKeydown), (e = this.map) == null || e.off("mousemove", this.handleMove), (a = this.map) == null || a.off("dblclick", this.handleDblClick), this.map;
12607
12635
  let i = this.geojson.find((o) => !o.closed);
12608
- i && this.handleClear(i, !0), this.geojson = this.geojson.filter((o) => !!o.closed), i = H.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(i);
12636
+ i && this.handleClear(i, !0), this.geojson = this.geojson.filter((o) => !!o.closed), i = U.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(i);
12609
12637
  }
12610
12638
  },
12611
12639
  immediate: !0
@@ -12700,8 +12728,8 @@ const tm = {
12700
12728
  g.features = g.features.filter((p) => p.geometry.type === "Point" && p.properties.id !== n[1]), this.handlePointUpdate(g);
12701
12729
  } else if (e !== "marker-label" && this.toggle) {
12702
12730
  let n = this.geojson.at(-1);
12703
- n || (n = H.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(n)), n.features = n.features.filter((p) => p.geometry.type === "Point");
12704
- const g = H.feature(
12731
+ n || (n = U.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(n)), n.features = n.features.filter((p) => p.geometry.type === "Point");
12732
+ const g = U.feature(
12705
12733
  {
12706
12734
  type: "Point",
12707
12735
  coordinates: [t.lngLat.lng, t.lngLat.lat]
@@ -12725,7 +12753,7 @@ const tm = {
12725
12753
  a = $.roundPrecision(a + p, 4);
12726
12754
  let w;
12727
12755
  c.mode === "RL" ? w = $.convertToMonotonicLng([n, g]) : w = $.convertToMonotonicLng(Fe.interpolateCoordinates(n, g, 200));
12728
- const v = H.lineString(w.map((C) => [C.lng, C.lat]));
12756
+ const v = U.lineString(w.map((C) => [C.lng, C.lat]));
12729
12757
  v.properties.dist = p, v.properties.bearing = f, v.properties.total = a, v.properties.name = "Line " + this.currentLineIndex, i.push(v);
12730
12758
  const y = e[o];
12731
12759
  y.properties.totalDist = $.roundPrecision((c.totalDist ? c.totalDist : 0) + p, 4), y.properties.sumLabel = y.properties.totalDist + " nm";
@@ -12735,14 +12763,14 @@ const tm = {
12735
12763
  return this.handleRender(t), t;
12736
12764
  },
12737
12765
  handleTmpPointUpdate(t, e, a, i) {
12738
- const o = H.featureCollection([]);
12766
+ const o = U.featureCollection([]);
12739
12767
  let r, s;
12740
12768
  if (e) {
12741
12769
  const n = e.properties, g = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, p = { lng: a.lng, lat: a.lat };
12742
12770
  r = Fe.calculateDistance(g, p, n.mode === "RL", 4), s = Fe.calculateBearing(g, p, n.mode === "RL", 2);
12743
12771
  let f;
12744
12772
  n.mode === "RL" ? f = $.convertToMonotonicLng([g, p]) : f = $.convertToMonotonicLng(Fe.interpolateCoordinates(g, p, 200));
12745
- const w = H.lineString(f.map((v) => [v.lng, v.lat]));
12773
+ const w = U.lineString(f.map((v) => [v.lng, v.lat]));
12746
12774
  w.properties.dist = r, w.properties.bearing = s, o.features.push(w);
12747
12775
  }
12748
12776
  if (i) {
@@ -12750,7 +12778,7 @@ const tm = {
12750
12778
  r = Fe.calculateDistance(g, p, n.mode === "RL", 4), s = Fe.calculateBearing(g, p, n.mode === "RL", 2);
12751
12779
  let f;
12752
12780
  n.mode === "RL" ? f = $.convertToMonotonicLng([g, p]) : f = $.convertToMonotonicLng(Fe.interpolateCoordinates(g, p, 200));
12753
- const w = H.lineString(f.map((v) => [v.lng, v.lat]));
12781
+ const w = U.lineString(f.map((v) => [v.lng, v.lat]));
12754
12782
  w.properties.dist = r, w.properties.bearing = s, o.features.push(w);
12755
12783
  }
12756
12784
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(o) : this.map.addSource(this.tmpSource, {
@@ -12812,14 +12840,14 @@ const tm = {
12812
12840
  handleMove(t) {
12813
12841
  this.map.getCanvas().style.cursor = "crosshair";
12814
12842
  let e = this.geojson.at(-1);
12815
- e || (e = H.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e));
12843
+ e || (e = U.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e));
12816
12844
  const a = e.features.filter((i) => i.geometry.type === "Point");
12817
12845
  a != null && a.length && this.handleTmpPointUpdate(e, a.at(-1), { lng: t.lngLat.lng, lat: t.lngLat.lat });
12818
12846
  },
12819
12847
  handleDblClick(t) {
12820
12848
  t.preventDefault();
12821
12849
  let e = this.geojson.at(-1);
12822
- e.closed = !0, this.handleRender(e), e = H.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e), this.currentLineIndex++;
12850
+ e.closed = !0, this.handleRender(e), e = U.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(e), this.currentLineIndex++;
12823
12851
  },
12824
12852
  handleRender(t) {
12825
12853
  var e;
@@ -12899,10 +12927,10 @@ const tm = {
12899
12927
  }), this.pointMarkers[t.id] = [], (v = this.tipMarker) == null || v.remove(), this.tipMarker = void 0, e && ((y = this.map) != null && y.getSource(a)) && this.map.removeSource(a), e && ((C = this.map) != null && C.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
12900
12928
  }
12901
12929
  }
12902
- }, am = { class: "idm-gl4-measure" };
12903
- function om(t, e, a, i, o, r) {
12930
+ }, om = { class: "idm-gl4-measure" };
12931
+ function im(t, e, a, i, o, r) {
12904
12932
  const s = x("VBtn"), c = x("VTooltip");
12905
- return b(), S("div", am, [
12933
+ return b(), S("div", om, [
12906
12934
  l("div", {
12907
12935
  class: "menu-bar-box transition pa-1",
12908
12936
  style: ie({ top: a.top + 214 + "px", right: o.right + "px" })
@@ -12931,8 +12959,8 @@ function om(t, e, a, i, o, r) {
12931
12959
  ], 4)
12932
12960
  ]);
12933
12961
  }
12934
- const im = /* @__PURE__ */ q(tm, [["render", om]]);
12935
- const rm = {
12962
+ const rm = /* @__PURE__ */ q(am, [["render", im]]);
12963
+ const lm = {
12936
12964
  name: "IdmBottomBar",
12937
12965
  components: { DateTimePicker: na },
12938
12966
  props: {
@@ -13050,18 +13078,18 @@ const rm = {
13050
13078
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
13051
13079
  }
13052
13080
  }
13053
- }, lm = { class: "idm-bottom-bar-gl4" }, sm = { class: "date-box d-flex ga-2 mr-2" }, nm = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, cm = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, mm = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, dm = {
13081
+ }, sm = { class: "idm-bottom-bar-gl4" }, nm = { class: "date-box d-flex ga-2 mr-2" }, cm = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, mm = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, dm = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, hm = {
13054
13082
  key: 0,
13055
13083
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
13056
- }, hm = ["onClick"], pm = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, um = { class: "text-body-1" };
13057
- function gm(t, e, a, i, o, r) {
13084
+ }, pm = ["onClick"], um = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, gm = { class: "text-body-1" };
13085
+ function fm(t, e, a, i, o, r) {
13058
13086
  const s = x("DateTimePicker"), c = x("VListItemTitle"), n = x("VListItem"), g = x("VList"), p = x("VMenu"), f = x("VBtn"), w = x("VDivider"), v = x("VTooltip");
13059
- return b(), S("div", lm, [
13087
+ return b(), S("div", sm, [
13060
13088
  l("div", {
13061
13089
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
13062
13090
  style: ie({ right: o.right + 146 + "px", bottom: Object.values(o.show).includes(!0) ? "10px" : "-100px" })
13063
13091
  }, [
13064
- l("div", sm, [
13092
+ l("div", nm, [
13065
13093
  d(s, O({
13066
13094
  ref: "dateTimePicker",
13067
13095
  "date-time": o.currentDateTimeZ,
@@ -13124,7 +13152,7 @@ function gm(t, e, a, i, o, r) {
13124
13152
  class: "mx-2 my-3",
13125
13153
  style: { height: "16px" }
13126
13154
  }),
13127
- l("div", nm, [
13155
+ l("div", cm, [
13128
13156
  d(f, {
13129
13157
  icon: "",
13130
13158
  size: "small",
@@ -13197,7 +13225,7 @@ function gm(t, e, a, i, o, r) {
13197
13225
  class: "mx-2 my-3",
13198
13226
  style: { height: "16px" }
13199
13227
  }),
13200
- l("div", cm, [
13228
+ l("div", mm, [
13201
13229
  d(v, {
13202
13230
  text: t.$t("weather.windBarbs"),
13203
13231
  location: "top"
@@ -13301,7 +13329,7 @@ function gm(t, e, a, i, o, r) {
13301
13329
  class: "mx-2 mr-3 my-3",
13302
13330
  style: { height: "16px" }
13303
13331
  }),
13304
- l("div", mm, [
13332
+ l("div", dm, [
13305
13333
  d(f, {
13306
13334
  text: "",
13307
13335
  height: "30",
@@ -13334,14 +13362,14 @@ function gm(t, e, a, i, o, r) {
13334
13362
  class: "timezone-box d-flex flex-column justify-space-between align-end",
13335
13363
  style: ie({ right: o.right + "px" })
13336
13364
  }, [
13337
- o.showTimezone ? (b(), S("div", dm, [
13365
+ o.showTimezone ? (b(), S("div", hm, [
13338
13366
  (b(!0), S(be, null, we(o.offsets, (y) => (b(), S("div", {
13339
13367
  key: y,
13340
13368
  class: "item rounded text-body-2 hover-active",
13341
13369
  onClick: (C) => o.timeZone = y
13342
- }, h(y < 0 ? y : "+" + y), 9, hm))), 128))
13370
+ }, h(y < 0 ? y : "+" + y), 9, pm))), 128))
13343
13371
  ])) : D("", !0),
13344
- l("div", pm, [
13372
+ l("div", um, [
13345
13373
  d(f, {
13346
13374
  text: "",
13347
13375
  variant: "flat",
@@ -13355,20 +13383,20 @@ function gm(t, e, a, i, o, r) {
13355
13383
  ]),
13356
13384
  _: 1
13357
13385
  }),
13358
- l("span", um, h(o.currentRealTime), 1)
13386
+ l("span", gm, h(o.currentRealTime), 1)
13359
13387
  ])
13360
13388
  ], 4)
13361
13389
  ]);
13362
13390
  }
13363
- const fm = /* @__PURE__ */ q(rm, [["render", gm]]), ym = {
13391
+ const ym = /* @__PURE__ */ q(lm, [["render", fm]]), bm = {
13364
13392
  name: "IdmGL4",
13365
13393
  components: {
13366
13394
  IdmOtherLayer: ps,
13367
- IdmWeatherLayer: Jn,
13395
+ IdmWeatherLayer: ec,
13368
13396
  IdmTropicals: Ko,
13369
- IdmMeasure: im,
13370
- IdmSpot: em,
13371
- IdmBottomBar: fm
13397
+ IdmMeasure: rm,
13398
+ IdmSpot: tm,
13399
+ IdmBottomBar: ym
13372
13400
  },
13373
13401
  props: {
13374
13402
  map: {
@@ -13419,13 +13447,13 @@ const fm = /* @__PURE__ */ q(rm, [["render", gm]]), ym = {
13419
13447
  }
13420
13448
  },
13421
13449
  methods: {}
13422
- }, bm = {
13450
+ }, wm = {
13423
13451
  ref: "mapHomeGl4",
13424
13452
  class: "map-gl4-home"
13425
13453
  };
13426
- function wm(t, e, a, i, o, r) {
13454
+ function xm(t, e, a, i, o, r) {
13427
13455
  const s = x("IdmOtherLayer"), c = x("IdmWeatherLayer"), n = x("IdmTropicals"), g = x("IdmMeasure"), p = x("IdmSpot"), f = x("IdmBottomBar");
13428
- return b(), S("div", bm, [
13456
+ return b(), S("div", wm, [
13429
13457
  d(s, O({
13430
13458
  ref: "idmOtherLayers",
13431
13459
  token: a.token,
@@ -13490,16 +13518,16 @@ function wm(t, e, a, i, o, r) {
13490
13518
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
13491
13519
  ], 512);
13492
13520
  }
13493
- const xm = /* @__PURE__ */ q(ym, [["render", wm]]);
13494
- class vm {
13521
+ const vm = /* @__PURE__ */ q(bm, [["render", xm]]);
13522
+ class _m {
13495
13523
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
13496
- me(this, "originStyle");
13497
- me(this, "mapboxStyle");
13498
- me(this, "i4");
13499
- me(this, "hi");
13500
- me(this, "td");
13501
- me(this, "windy");
13502
- var a, i, o, r, s, c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q, re, de, pe, se, X, oe, ue, ne, F, ce, xe, Le, Pe, Ae, De, Re, _e, U, ae, Ne, Ie, ge, fe, W, Ce, te, le, Oe, N, ye, Me, Be, Ee, E, Z, Ge, Ve, Ze, Te, Ye, Ke, Xe, $e, Qe, Je, et, tt, at, ot, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, It, Mt, At, Dt, Rt, Ot, Bt, Et, Nt, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Qt, Jt, ea, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ia, Ma, Aa, Da, Ra, Oa, Ba, Ea, Na, ja, Fa, Ha, Ua, Wa, Ga, Va, Za, qa, Ya, Ka, Xa, $a, Qa, Ja, eo, to, ao, oo, io, ro, lo, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Io, Mo, Ao, Do, Ro, Oo, Bo, Eo, No, jo, Fo, Ho, Uo, Wo, Go;
13524
+ de(this, "originStyle");
13525
+ de(this, "mapboxStyle");
13526
+ de(this, "i4");
13527
+ de(this, "hi");
13528
+ de(this, "td");
13529
+ de(this, "windy");
13530
+ var a, i, o, r, s, c, n, g, p, f, w, v, y, C, T, B, I, L, _, k, P, z, R, G, Y, K, V, J, ee, Q, re, he, pe, ne, X, oe, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, H, te, je, Ie, ge, fe, W, Ce, ae, le, Oe, N, ye, Me, Be, Ee, E, Z, Ge, Ve, Ze, Te, Ye, Ke, Xe, $e, Qe, Je, et, tt, at, ot, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, It, Mt, At, Dt, Rt, Ot, Bt, Et, Nt, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Qt, Jt, ea, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ia, Ma, Aa, Da, Ra, Oa, Ba, Ea, Na, ja, Fa, Ha, Ua, Wa, Ga, Va, Za, qa, Ya, Ka, Xa, $a, Qa, Ja, eo, to, ao, oo, io, ro, lo, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Io, Mo, Ao, Do, Ro, Oo, Bo, Eo, No, jo, Fo, Ho, Uo, Wo, Go;
13503
13531
  this.i4 = {
13504
13532
  source: {
13505
13533
  type: "raster",
@@ -32106,19 +32134,19 @@ class vm {
32106
32134
  (K = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : K.find((m) => m.id === "water-line-label"),
32107
32135
  (J = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : J.find((m) => m.id === "water-point-label"),
32108
32136
  (Q = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : Q.find((m) => m.id === "world-12nm-v4-20231025"),
32109
- (de = (re = this.originStyle) == null ? void 0 : re.light.layers) == null ? void 0 : de.find((m) => m.id === "ne-10m-outline"),
32110
- (se = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : se.find((m) => m.id === "ne-10m-label"),
32137
+ (he = (re = this.originStyle) == null ? void 0 : re.light.layers) == null ? void 0 : he.find((m) => m.id === "ne-10m-outline"),
32138
+ (ne = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : ne.find((m) => m.id === "ne-10m-label"),
32111
32139
  (oe = (X = this.originStyle) == null ? void 0 : X.light.layers) == null ? void 0 : oe.find((m) => m.id === "china-route-line"),
32112
- (ne = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : ne.find((m) => m.id === "china-route-fill"),
32113
- (ce = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : ce.find((m) => m.id === "china-route-label"),
32140
+ (ce = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : ce.find((m) => m.id === "china-route-fill"),
32141
+ (me = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : me.find((m) => m.id === "china-route-label"),
32114
32142
  (Le = (xe = this.originStyle) == null ? void 0 : xe.light.layers) == null ? void 0 : Le.find((m) => m.id === "admin-0-boundary-bg"),
32115
32143
  (Ae = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : Ae.find((m) => m.id === "admin-0-boundary"),
32116
32144
  (Re = (De = this.originStyle) == null ? void 0 : De.light.layers) == null ? void 0 : Re.find((m) => m.id === "admin-0-boundary-disputed"),
32117
- (U = (_e = this.originStyle) == null ? void 0 : _e.light.layers) == null ? void 0 : U.find((m) => m.id === "country-label"),
32118
- (Ne = (ae = this.originStyle) == null ? void 0 : ae.light.layers) == null ? void 0 : Ne.find((m) => m.id === "continent-label"),
32145
+ (H = (_e = this.originStyle) == null ? void 0 : _e.light.layers) == null ? void 0 : H.find((m) => m.id === "country-label"),
32146
+ (je = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : je.find((m) => m.id === "continent-label"),
32119
32147
  (ge = (Ie = this.originStyle) == null ? void 0 : Ie.light.layers) == null ? void 0 : ge.find((m) => m.id === "tide-stations"),
32120
32148
  (W = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : W.find((m) => m.id === "empty-layer-3"),
32121
- (te = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : te.find((m) => m.id === "empty-layer-4")
32149
+ (ae = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : ae.find((m) => m.id === "empty-layer-4")
32122
32150
  ]
32123
32151
  },
32124
32152
  dark: {
@@ -32266,7 +32294,7 @@ class vm {
32266
32294
  };
32267
32295
  }
32268
32296
  }
32269
- const _m = {
32297
+ const km = {
32270
32298
  name: "MapInitial",
32271
32299
  props: {
32272
32300
  token: {
@@ -32327,7 +32355,7 @@ const _m = {
32327
32355
  },
32328
32356
  methods: {
32329
32357
  async initOnlineMap() {
32330
- this.helper = new vm(this.token), ve.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
32358
+ this.helper = new _m(this.token), ve.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
32331
32359
  const t = new ve.Map({
32332
32360
  container: "map",
32333
32361
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
@@ -32367,16 +32395,16 @@ const _m = {
32367
32395
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
32368
32396
  }
32369
32397
  }
32370
- }, km = { class: "mapbox-initial-gl4" }, zm = { class: "v-btn--variant-elevated rounded" }, Lm = { class: "zoom" }, Pm = { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-body-2 text-label" };
32371
- function Cm(t, e, a, i, o, r) {
32398
+ }, zm = { class: "mapbox-initial-gl4" }, Lm = { class: "v-btn--variant-elevated rounded" }, Pm = { class: "zoom" }, Cm = { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-body-2 text-label" };
32399
+ function Tm(t, e, a, i, o, r) {
32372
32400
  const s = x("VBtn");
32373
- return b(), S("div", km, [
32401
+ return b(), S("div", zm, [
32374
32402
  e[5] || (e[5] = l("div", { id: "map" }, null, -1)),
32375
32403
  l("div", {
32376
32404
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
32377
32405
  style: ie({ top: a.top + 268 + "px", right: o.right + "px" })
32378
32406
  }, [
32379
- l("div", zm, [
32407
+ l("div", Lm, [
32380
32408
  d(s, {
32381
32409
  "min-width": "32",
32382
32410
  width: "32",
@@ -32390,7 +32418,7 @@ function Cm(t, e, a, i, o, r) {
32390
32418
  _: 1,
32391
32419
  __: [0]
32392
32420
  }, 8, ["onClick"]),
32393
- l("div", Lm, h(o.zoom ? Math.floor(o.zoom) : 0), 1),
32421
+ l("div", Pm, h(o.zoom ? Math.floor(o.zoom) : 0), 1),
32394
32422
  d(s, {
32395
32423
  "min-width": "32",
32396
32424
  width: "32",
@@ -32406,7 +32434,7 @@ function Cm(t, e, a, i, o, r) {
32406
32434
  }, 8, ["onClick"])
32407
32435
  ])
32408
32436
  ], 4),
32409
- l("div", Pm, [
32437
+ l("div", Cm, [
32410
32438
  e[2] || (e[2] = l("span", null, "© 2023", -1)),
32411
32439
  l("span", null, "-" + h(r.computeYear), 1),
32412
32440
  e[3] || (e[3] = l("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
@@ -32418,21 +32446,21 @@ function Cm(t, e, a, i, o, r) {
32418
32446
  ])
32419
32447
  ]);
32420
32448
  }
32421
- const Tm = /* @__PURE__ */ q(_m, [["render", Cm]]), Fm = {
32449
+ const Sm = /* @__PURE__ */ q(km, [["render", Tm]]), Hm = {
32422
32450
  install(t) {
32423
- t.component("MapInitial", Tm), t.component("MapboxGL", xm), t.component("TropicalGL", Ko), t.component("LatLngGL", Yo), t.component("DateTimePicker", na), t.component("PortDetail", la);
32451
+ t.component("MapInitial", Sm), t.component("MapboxGL", vm), t.component("TropicalGL", Ko), t.component("LatLngGL", Yo), t.component("DateTimePicker", na), t.component("PortDetail", la);
32424
32452
  }
32425
32453
  };
32426
32454
  export {
32427
32455
  na as DateTimePicker,
32428
32456
  Yo as LatLngGL,
32429
- Tm as MapInitial,
32430
- xm as MapboxGL,
32431
- Fm as MapboxGLPlugin,
32457
+ Sm as MapInitial,
32458
+ vm as MapboxGL,
32459
+ Hm as MapboxGLPlugin,
32432
32460
  ke as ParticleSchema,
32433
32461
  la as PortDetail,
32434
32462
  Ko as TropicalGL,
32435
32463
  sa as Viewport,
32436
- je as WebGL,
32437
- he as WebGLSchema
32464
+ Ne as WebGL,
32465
+ se as WebGLSchema
32438
32466
  };