@idmwx/idmui-gl3 3.5.3 → 3.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var rt = Object.defineProperty;
2
2
  var ot = (a, e, t) => e in a ? rt(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
3
  var R = (a, e, t) => (ot(a, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { LayerHelper as Fe, CompanyHelper as Ve, LngLatHelper as K, convertToMonotonicLng2 as st, calculateDistance as We, calculateBearing as Oe, convertToMonotonicLng as pe, interpolateCoordinates as je, convertToStandardLng as Re } from "@idmwx/idmwx-base";
4
+ import { LayerHelper as Fe, CompanyHelper as Ve, LngLatHelper as K, convertToMonotonicLng2 as st, calculateDistance as Oe, calculateBearing as We, convertToMonotonicLng as pe, interpolateCoordinates as je, convertToStandardLng as Re } from "@idmwx/idmwx-base";
5
5
  import { resolveComponent as z, openBlock as L, createElementBlock as x, createElementVNode as l, normalizeStyle as j, normalizeClass as M, Fragment as Ae, renderList as De, toDisplayString as S, createVNode as P, withCtx as nt, createTextVNode as Ke, createCommentVNode as N, pushScopeId as U, popScopeId as G, withDirectives as $e, vShow as Me, createStaticVNode as lt, mergeProps as I } from "vue";
6
6
  import * as C from "@turf/turf";
7
7
  import ct from "@mapbox/sphericalmercator";
@@ -140,7 +140,7 @@ const T = (a, e) => {
140
140
  this.source = a, this.handleConfirm();
141
141
  }
142
142
  }
143
- }, Z = (a) => (U("data-v-4df358dd"), a = a(), G(), a), dt = { class: "idm-gl-layer" }, pt = { class: "bar-item layer-bars" }, mt = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), ut = [
143
+ }, Z = (a) => (U("data-v-66a5718f"), a = a(), G(), a), dt = { class: "idm-gl-layer" }, pt = { class: "bar-item layer-bars" }, mt = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), ut = [
144
144
  mt
145
145
  ], yt = { class: "bar-item tool-bars" }, ft = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1)), gt = [
146
146
  ft
@@ -155,7 +155,7 @@ const T = (a, e) => {
155
155
  ], Pt = { class: "weather-layers" }, Tt = {
156
156
  class: "layers-title",
157
157
  style: { display: "flex", "align-items": "center", "justify-content": "space-between" }
158
- }, It = { style: { "font-size": "12px" } }, Et = { class: "layers-body" }, Rt = ["onClick"], At = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), Dt = { class: "other-layers" }, $t = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("div", { class: "layers-title" }, "Other Layers", -1)), Mt = { class: "layers-body" }, Bt = ["onClick"], Nt = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), Wt = { class: "source-layers" }, Ot = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("span", { class: "layers-title" }, "Forecast Model", -1)), jt = { class: "layers-body model-box" };
158
+ }, It = { style: { "font-size": "12px" } }, Et = { class: "layers-body" }, Rt = ["onClick"], At = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), Dt = { class: "other-layers" }, $t = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("div", { class: "layers-title" }, "Other Layers", -1)), Mt = { class: "layers-body" }, Bt = ["onClick"], Nt = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1)), Ot = { class: "source-layers" }, Wt = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("span", { class: "layers-title" }, "Forecast Model", -1)), jt = { class: "layers-body model-box" };
159
159
  function Ft(a, e, t, r, i, o) {
160
160
  const n = z("ElScrollbar");
161
161
  return L(), x("div", dt, [
@@ -255,8 +255,8 @@ function Ft(a, e, t, r, i, o) {
255
255
  ], 10, Bt))), 128))
256
256
  ])
257
257
  ]),
258
- l("div", Wt, [
259
- Ot,
258
+ l("div", Ot, [
259
+ Wt,
260
260
  l("div", jt, [
261
261
  l("span", {
262
262
  class: M(i.source === "GFS" ? "text active" : "text"),
@@ -275,7 +275,7 @@ function Ft(a, e, t, r, i, o) {
275
275
  ], 4)
276
276
  ]);
277
277
  }
278
- const Vt = /* @__PURE__ */ T(ht, [["render", Ft], ["__scopeId", "data-v-4df358dd"]]);
278
+ const Vt = /* @__PURE__ */ T(ht, [["render", Ft], ["__scopeId", "data-v-66a5718f"]]);
279
279
  const Ut = {
280
280
  name: "IdmWindBarb",
281
281
  props: {
@@ -1020,7 +1020,7 @@ class Qt {
1020
1020
  visibility: "visible"
1021
1021
  },
1022
1022
  paint: {
1023
- "fill-color": "#ebeaea"
1023
+ "fill-color": "#d9d8d8"
1024
1024
  }
1025
1025
  },
1026
1026
  countryAdmin0BoundaryBg: {
@@ -2948,7 +2948,7 @@ function ba(a, e, t, r, i, o) {
2948
2948
  ], 4)
2949
2949
  ])) : N("", !0);
2950
2950
  }
2951
- const va = /* @__PURE__ */ T(pa, [["render", ba], ["__scopeId", "data-v-ce5e09b8"]]);
2951
+ const va = /* @__PURE__ */ T(pa, [["render", ba], ["__scopeId", "data-v-dbab881d"]]);
2952
2952
  const _a = {
2953
2953
  name: "IdmCurrentParticle",
2954
2954
  props: {
@@ -3452,7 +3452,9 @@ const Ba = /* @__PURE__ */ T($a, [["render", Ma]]), Na = {
3452
3452
  },
3453
3453
  paint: {
3454
3454
  "text-color": "black",
3455
- "text-opacity": 0.7
3455
+ "text-opacity": 0.9,
3456
+ "text-halo-color": "rgba(255,255,255,1)",
3457
+ "text-halo-width": 1
3456
3458
  }
3457
3459
  },
3458
3460
  this.beforeLayer
@@ -3498,10 +3500,10 @@ const Ba = /* @__PURE__ */ T($a, [["render", Ma]]), Na = {
3498
3500
  }
3499
3501
  }
3500
3502
  };
3501
- function Wa(a, e, t, r, i, o) {
3503
+ function Oa(a, e, t, r, i, o) {
3502
3504
  return L(), x("div");
3503
3505
  }
3504
- const Oa = /* @__PURE__ */ T(Na, [["render", Wa]]), ja = {
3506
+ const Wa = /* @__PURE__ */ T(Na, [["render", Oa]]), ja = {
3505
3507
  name: "IdmIceberg",
3506
3508
  props: {
3507
3509
  map: {
@@ -3934,7 +3936,7 @@ const Ua = {
3934
3936
  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), (a = this.interpolateMarkers) == null || a.forEach((e) => e == null ? void 0 : e.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));
3935
3937
  },
3936
3938
  handleDateChange() {
3937
- var a, e, t, r, i, o, n, s, c, h, y, d, m, u, b, f, p, v, g, w, k, _, E, D, $, W, O, H;
3939
+ var a, e, t, r, i, o, n, s, c, h, y, d, m, u, b, f, p, v, g, w, k, _, E, D, $, O, W, H;
3938
3940
  if ((a = this.interpolateMarkers) == null || a.forEach((X) => X == null ? void 0 : X.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
3939
3941
  const X = Q(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), ee = this.interpolateData.filter((A) => A.properties.date === X.format() && !A.properties.disabled), he = this.handleComputePolygons(ee), te = C.featureCollection([...ee]);
3940
3942
  he.forEach((A) => {
@@ -3956,7 +3958,7 @@ const Ua = {
3956
3958
  for (const A of ee)
3957
3959
  if (!A.properties.disabled) {
3958
3960
  let V = "#f44336";
3959
- ((s = (n = A.properties) == null ? void 0 : n.wind) == null ? void 0 : s.spd) < 17.2 ? V = "#03f869" : ((h = (c = A.properties) == null ? void 0 : c.wind) == null ? void 0 : h.spd) >= 17.2 && ((d = (y = A.properties) == null ? void 0 : y.wind) == null ? void 0 : d.spd) < 24.5 ? V = "#f2f202" : ((u = (m = A.properties) == null ? void 0 : m.wind) == null ? void 0 : u.spd) >= 24.5 && ((f = (b = A.properties) == null ? void 0 : b.wind) == null ? void 0 : f.spd) < 32.7 ? V = "#ff9100" : ((v = (p = A.properties) == null ? void 0 : p.wind) == null ? void 0 : v.spd) >= 32.7 && ((w = (g = A.properties) == null ? void 0 : g.wind) == null ? void 0 : w.spd) < 41.5 ? V = "#f44336" : ((_ = (k = A.properties) == null ? void 0 : k.wind) == null ? void 0 : _.spd) >= 41.5 && ((D = (E = A.properties) == null ? void 0 : E.wind) == null ? void 0 : D.spd) < 51 ? V = "#c604a4" : ((W = ($ = A.properties) == null ? void 0 : $.wind) == null ? void 0 : W.spd) >= 51 ? V = "#6b05bb" : V = "#f44336";
3961
+ ((s = (n = A.properties) == null ? void 0 : n.wind) == null ? void 0 : s.spd) < 17.2 ? V = "#03f869" : ((h = (c = A.properties) == null ? void 0 : c.wind) == null ? void 0 : h.spd) >= 17.2 && ((d = (y = A.properties) == null ? void 0 : y.wind) == null ? void 0 : d.spd) < 24.5 ? V = "#f2f202" : ((u = (m = A.properties) == null ? void 0 : m.wind) == null ? void 0 : u.spd) >= 24.5 && ((f = (b = A.properties) == null ? void 0 : b.wind) == null ? void 0 : f.spd) < 32.7 ? V = "#ff9100" : ((v = (p = A.properties) == null ? void 0 : p.wind) == null ? void 0 : v.spd) >= 32.7 && ((w = (g = A.properties) == null ? void 0 : g.wind) == null ? void 0 : w.spd) < 41.5 ? V = "#f44336" : ((_ = (k = A.properties) == null ? void 0 : k.wind) == null ? void 0 : _.spd) >= 41.5 && ((D = (E = A.properties) == null ? void 0 : E.wind) == null ? void 0 : D.spd) < 51 ? V = "#c604a4" : ((O = ($ = A.properties) == null ? void 0 : $.wind) == null ? void 0 : O.spd) >= 51 ? V = "#6b05bb" : V = "#f44336";
3960
3962
  const de = `<svg t="1719918955501"
3961
3963
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
3962
3964
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -3977,7 +3979,7 @@ const Ua = {
3977
3979
  this.interpolateMarkers.push(ne);
3978
3980
  }
3979
3981
  } else
3980
- (O = this.map) != null && O.getSource(this.interpolateSource) && ((H = this.map) == null || H.getSource(this.interpolateSource).setData(this.empty));
3982
+ (W = this.map) != null && W.getSource(this.interpolateSource) && ((H = this.map) == null || H.getSource(this.interpolateSource).setData(this.empty));
3981
3983
  },
3982
3984
  handleClick(a) {
3983
3985
  var o, n, s, c, h, y;
@@ -4064,7 +4066,7 @@ const Ua = {
4064
4066
  return C.lineToPolygon(i, { properties: t });
4065
4067
  }
4066
4068
  }
4067
- }, Ge = (a) => (U("data-v-bb8414b4"), a = a(), G(), a), Ga = {
4069
+ }, Ge = (a) => (U("data-v-cc6ebaba"), a = a(), G(), a), Ga = {
4068
4070
  id: "active-tropical",
4069
4071
  class: "active-tropical"
4070
4072
  }, Ha = { class: "header-box" }, Za = { class: "main" }, Xa = { key: 0 }, Ja = { class: "sub" }, qa = {
@@ -4079,7 +4081,7 @@ const Ua = {
4079
4081
  }, ai = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", null, "Pressure : ", -1)), ii = { class: "row" }, ri = {
4080
4082
  class: "col col-24",
4081
4083
  style: { "justify-content": "flex-start" }
4082
- }, oi = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)), si = { class: "forecast-models" }, ni = ["onClick"], li = /* @__PURE__ */ lt('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-bb8414b4></div><div class="row" style="padding:2px 10px;" data-v-bb8414b4><div class="legend" data-v-bb8414b4><div class="icon td" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>TD</div></div><div class="legend" data-v-bb8414b4><div class="icon ts" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>TS</div></div><div class="legend" data-v-bb8414b4><div class="icon sts" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>STS</div></div><div class="legend" data-v-bb8414b4><div class="icon ty" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>TY</div></div><div class="legend" data-v-bb8414b4><div class="icon sty" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>STY</div></div><div class="legend" data-v-bb8414b4><div class="icon supper-ty" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-bb8414b4><div class="legend" data-v-bb8414b4><div class="icon history" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>History</div></div><div class="legend" data-v-bb8414b4><div class="icon r7" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>35kts Radii</div></div><div class="legend" data-v-bb8414b4><div class="icon r10" data-v-bb8414b4></div><div class="label" data-v-bb8414b4>50kts Radii</div></div></div>', 3), ci = { class: "more" };
4084
+ }, oi = /* @__PURE__ */ Ge(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)), si = { class: "forecast-models" }, ni = ["onClick"], li = /* @__PURE__ */ lt('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-cc6ebaba></div><div class="row" style="padding:2px 10px;" data-v-cc6ebaba><div class="legend" data-v-cc6ebaba><div class="icon td" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>TD</div></div><div class="legend" data-v-cc6ebaba><div class="icon ts" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>TS</div></div><div class="legend" data-v-cc6ebaba><div class="icon sts" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>STS</div></div><div class="legend" data-v-cc6ebaba><div class="icon ty" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>TY</div></div><div class="legend" data-v-cc6ebaba><div class="icon sty" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>STY</div></div><div class="legend" data-v-cc6ebaba><div class="icon supper-ty" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-cc6ebaba><div class="legend" data-v-cc6ebaba><div class="icon history" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>History</div></div><div class="legend" data-v-cc6ebaba><div class="icon r7" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>35kts Radii</div></div><div class="legend" data-v-cc6ebaba><div class="icon r10" data-v-cc6ebaba></div><div class="label" data-v-cc6ebaba>50kts Radii</div></div></div>', 3), ci = { class: "more" };
4083
4085
  function hi(a, e, t, r, i, o) {
4084
4086
  var n, s, c, h, y, d, m, u, b, f, p, v, g, w, k;
4085
4087
  return $e((L(), x("div", Ga, [
@@ -4111,13 +4113,13 @@ function hi(a, e, t, r, i, o) {
4111
4113
  oi,
4112
4114
  l("div", si, [
4113
4115
  (L(!0), x(Ae, null, De((k = i.activeTropicals) == null ? void 0 : k.forecasts, (_, E) => {
4114
- var D, $, W, O;
4116
+ var D, $, O, W;
4115
4117
  return L(), x("div", {
4116
4118
  key: E,
4117
4119
  class: M([
4118
4120
  "model",
4119
4121
  _.disabled ? "" : "active",
4120
- E > 0 && E < (($ = (D = i.activeTropicals) == null ? void 0 : D.forecasts) == null ? void 0 : $.length) - 1 && ((O = (W = i.activeTropicals) == null ? void 0 : W.forecasts) == null ? void 0 : O.length) > 2 ? "center-child" : ""
4122
+ E > 0 && E < (($ = (D = i.activeTropicals) == null ? void 0 : D.forecasts) == null ? void 0 : $.length) - 1 && ((W = (O = i.activeTropicals) == null ? void 0 : O.forecasts) == null ? void 0 : W.length) > 2 ? "center-child" : ""
4121
4123
  ]),
4122
4124
  onClick: (H) => o.handleForecastToggle(_)
4123
4125
  }, [
@@ -4142,7 +4144,7 @@ function hi(a, e, t, r, i, o) {
4142
4144
  [Me, i.showTropicals]
4143
4145
  ]);
4144
4146
  }
4145
- const tt = /* @__PURE__ */ T(Ua, [["render", hi], ["__scopeId", "data-v-bb8414b4"]]);
4147
+ const tt = /* @__PURE__ */ T(Ua, [["render", hi], ["__scopeId", "data-v-cc6ebaba"]]);
4146
4148
  const di = {
4147
4149
  name: "IdmPrecip3h",
4148
4150
  props: {
@@ -4244,7 +4246,7 @@ const di = {
4244
4246
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4245
4247
  }
4246
4248
  }
4247
- }, oe = (a) => (U("data-v-42b977ed"), a = a(), G(), a), pi = { key: 0 }, mi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "mm", -1)), ui = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "1.5", -1)), yi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "2", -1)), fi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "3", -1)), gi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "7", -1)), bi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "10", -1)), vi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "20", -1)), _i = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "30", -1)), wi = [
4249
+ }, oe = (a) => (U("data-v-dec867b8"), a = a(), G(), a), pi = { key: 0 }, mi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "mm", -1)), ui = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "1.5", -1)), yi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "2", -1)), fi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "3", -1)), gi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "7", -1)), bi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "10", -1)), vi = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "20", -1)), _i = /* @__PURE__ */ oe(() => /* @__PURE__ */ l("span", null, "30", -1)), wi = [
4248
4250
  mi,
4249
4251
  ui,
4250
4252
  yi,
@@ -4263,7 +4265,7 @@ function Li(a, e, t, r, i, o) {
4263
4265
  }, wi, 4)
4264
4266
  ])) : N("", !0);
4265
4267
  }
4266
- const xi = /* @__PURE__ */ T(di, [["render", Li], ["__scopeId", "data-v-42b977ed"]]);
4268
+ const xi = /* @__PURE__ */ T(di, [["render", Li], ["__scopeId", "data-v-dec867b8"]]);
4267
4269
  const Ci = {
4268
4270
  name: "IdmVisibility",
4269
4271
  props: {
@@ -4358,7 +4360,7 @@ const Ci = {
4358
4360
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4359
4361
  }
4360
4362
  }
4361
- }, me = (a) => (U("data-v-2a5fbadd"), a = a(), G(), a), Si = { key: 0 }, ki = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "nm", -1)), zi = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "0", -1)), Pi = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "0.5", -1)), Ti = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "1.5", -1)), Ii = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "3", -1)), Ei = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "9", -1)), Ri = [
4363
+ }, me = (a) => (U("data-v-952dee5c"), a = a(), G(), a), Si = { key: 0 }, ki = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "nm", -1)), zi = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "0", -1)), Pi = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "0.5", -1)), Ti = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "1.5", -1)), Ii = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "3", -1)), Ei = /* @__PURE__ */ me(() => /* @__PURE__ */ l("span", null, "9", -1)), Ri = [
4362
4364
  ki,
4363
4365
  zi,
4364
4366
  Pi,
@@ -4375,7 +4377,7 @@ function Ai(a, e, t, r, i, o) {
4375
4377
  }, Ri, 4)
4376
4378
  ])) : N("", !0);
4377
4379
  }
4378
- const Di = /* @__PURE__ */ T(Ci, [["render", Ai], ["__scopeId", "data-v-2a5fbadd"]]);
4380
+ const Di = /* @__PURE__ */ T(Ci, [["render", Ai], ["__scopeId", "data-v-952dee5c"]]);
4379
4381
  const $i = {
4380
4382
  name: "IdmWaterTemp",
4381
4383
  props: {
@@ -4478,11 +4480,11 @@ const $i = {
4478
4480
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4479
4481
  }
4480
4482
  }
4481
- }, ue = (a) => (U("data-v-5b28deaf"), a = a(), G(), a), Mi = { key: 0 }, Bi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ni = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "0", -1)), Wi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "10", -1)), Oi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "20", -1)), ji = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "30", -1)), Fi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "40", -1)), Vi = [
4483
+ }, ue = (a) => (U("data-v-67e5094b"), a = a(), G(), a), Mi = { key: 0 }, Bi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ni = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "0", -1)), Oi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "10", -1)), Wi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "20", -1)), ji = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "30", -1)), Fi = /* @__PURE__ */ ue(() => /* @__PURE__ */ l("span", null, "40", -1)), Vi = [
4482
4484
  Bi,
4483
4485
  Ni,
4484
- Wi,
4485
4486
  Oi,
4487
+ Wi,
4486
4488
  ji,
4487
4489
  Fi
4488
4490
  ];
@@ -4495,7 +4497,7 @@ function Ui(a, e, t, r, i, o) {
4495
4497
  }, Vi, 4)
4496
4498
  ])) : N("", !0);
4497
4499
  }
4498
- const Gi = /* @__PURE__ */ T($i, [["render", Ui], ["__scopeId", "data-v-5b28deaf"]]);
4500
+ const Gi = /* @__PURE__ */ T($i, [["render", Ui], ["__scopeId", "data-v-67e5094b"]]);
4499
4501
  const Hi = {
4500
4502
  name: "IdmTemp",
4501
4503
  props: {
@@ -4601,7 +4603,7 @@ const Hi = {
4601
4603
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4602
4604
  }
4603
4605
  }
4604
- }, se = (a) => (U("data-v-72cd9cf1"), a = a(), G(), a), Zi = { key: 0 }, Xi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ji = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "-20", -1)), qi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "-10", -1)), Yi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "0", -1)), Qi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "10", -1)), Ki = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "20", -1)), er = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "30", -1)), tr = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "40", -1)), ar = [
4606
+ }, se = (a) => (U("data-v-389ea886"), a = a(), G(), a), Zi = { key: 0 }, Xi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ji = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "-20", -1)), qi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "-10", -1)), Yi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "0", -1)), Qi = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "10", -1)), Ki = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "20", -1)), er = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "30", -1)), tr = /* @__PURE__ */ se(() => /* @__PURE__ */ l("span", null, "40", -1)), ar = [
4605
4607
  Xi,
4606
4608
  Ji,
4607
4609
  qi,
@@ -4620,7 +4622,7 @@ function ir(a, e, t, r, i, o) {
4620
4622
  }, ar, 4)
4621
4623
  ])) : N("", !0);
4622
4624
  }
4623
- const rr = /* @__PURE__ */ T(Hi, [["render", ir], ["__scopeId", "data-v-72cd9cf1"]]);
4625
+ const rr = /* @__PURE__ */ T(Hi, [["render", ir], ["__scopeId", "data-v-389ea886"]]);
4624
4626
  const or = {
4625
4627
  name: "IdmArctic",
4626
4628
  props: {
@@ -4717,7 +4719,7 @@ const or = {
4717
4719
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4718
4720
  }
4719
4721
  }
4720
- }, ye = (a) => (U("data-v-2092df03"), a = a(), G(), a), sr = { key: 0 }, nr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "m", -1)), lr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "0", -1)), cr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "0.5", -1)), hr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "1", -1)), dr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "1.5", -1)), pr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "2", -1)), mr = [
4722
+ }, ye = (a) => (U("data-v-db805141"), a = a(), G(), a), sr = { key: 0 }, nr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "m", -1)), lr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "0", -1)), cr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "0.5", -1)), hr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "1", -1)), dr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "1.5", -1)), pr = /* @__PURE__ */ ye(() => /* @__PURE__ */ l("span", null, "2", -1)), mr = [
4721
4723
  nr,
4722
4724
  lr,
4723
4725
  cr,
@@ -4734,7 +4736,7 @@ function ur(a, e, t, r, i, o) {
4734
4736
  }, mr, 4)
4735
4737
  ])) : N("", !0);
4736
4738
  }
4737
- const yr = /* @__PURE__ */ T(or, [["render", ur], ["__scopeId", "data-v-2092df03"]]);
4739
+ const yr = /* @__PURE__ */ T(or, [["render", ur], ["__scopeId", "data-v-db805141"]]);
4738
4740
  const fr = {
4739
4741
  name: "IdmPoint",
4740
4742
  emits: ["point", "more"],
@@ -4817,7 +4819,7 @@ const fr = {
4817
4819
  }, J = (a) => (U("data-v-fb5b12d6"), a = a(), G(), a), gr = {
4818
4820
  id: "point-meteo",
4819
4821
  class: "point-meteo"
4820
- }, br = { class: "meteo-box" }, vr = { class: "header-box" }, _r = { class: "main" }, wr = { class: "sub" }, Lr = { class: "main-box" }, xr = { class: "flex-space" }, Cr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Wind", -1)), Sr = { class: "flex-space" }, kr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), zr = { class: "flex-space" }, Pr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Tr = { class: "flex-space" }, Ir = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), Er = { class: "flex-space" }, Rr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Current", -1)), Ar = { class: "flex-space" }, Dr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Precip", -1)), $r = { class: "flex-space" }, Mr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Visibility", -1)), Br = { class: "flex-space" }, Nr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Temp", -1)), Wr = { class: "flex-space" }, Or = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Water Temp", -1)), jr = {
4822
+ }, br = { class: "meteo-box" }, vr = { class: "header-box" }, _r = { class: "main" }, wr = { class: "sub" }, Lr = { class: "main-box" }, xr = { class: "flex-space" }, Cr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Wind", -1)), Sr = { class: "flex-space" }, kr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), zr = { class: "flex-space" }, Pr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Tr = { class: "flex-space" }, Ir = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), Er = { class: "flex-space" }, Rr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Current", -1)), Ar = { class: "flex-space" }, Dr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Precip", -1)), $r = { class: "flex-space" }, Mr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Visibility", -1)), Br = { class: "flex-space" }, Nr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Temp", -1)), Or = { class: "flex-space" }, Wr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Water Temp", -1)), jr = {
4821
4823
  key: 0,
4822
4824
  class: "flex-space",
4823
4825
  style: { "justify-content": "flex-end" }
@@ -4825,7 +4827,7 @@ const fr = {
4825
4827
  Fr
4826
4828
  ];
4827
4829
  function Ur(a, e, t, r, i, o) {
4828
- var n, s, c, h, y, d, m, u, b, f, p, v, g, w, k, _, E, D, $, W, O, H, X, ee, he, te, A, V, de, q, ne, fe, ge, be, ve, _e, we, Le, xe, Ce, Se, ke, ze, Pe, Te, Ie, Ee;
4830
+ var n, s, c, h, y, d, m, u, b, f, p, v, g, w, k, _, E, D, $, O, W, H, X, ee, he, te, A, V, de, q, ne, fe, ge, be, ve, _e, we, Le, xe, Ce, Se, ke, ze, Pe, Te, Ie, Ee;
4829
4831
  return $e((L(), x("div", gr, [
4830
4832
  l("div", br, [
4831
4833
  l("div", vr, [
@@ -4843,11 +4845,11 @@ function Ur(a, e, t, r, i, o) {
4843
4845
  ]),
4844
4846
  l("div", Sr, [
4845
4847
  kr,
4846
- l("span", null, S(((w = (g = (v = t.meteo) == null ? void 0 : v.wave) == null ? void 0 : g.wd) == null ? void 0 : w.direction) || "-") + "/" + S(o.roundPrecision((E = (_ = (k = t.meteo) == null ? void 0 : k.wave) == null ? void 0 : _.wd) == null ? void 0 : E.height, 1)) + "[m]/" + S(o.roundPrecision((W = ($ = (D = t.meteo) == null ? void 0 : D.wave) == null ? void 0 : $.wd) == null ? void 0 : W.period, 1)) + "[s]", 1)
4848
+ l("span", null, S(((w = (g = (v = t.meteo) == null ? void 0 : v.wave) == null ? void 0 : g.wd) == null ? void 0 : w.direction) || "-") + "/" + S(o.roundPrecision((E = (_ = (k = t.meteo) == null ? void 0 : k.wave) == null ? void 0 : _.wd) == null ? void 0 : E.height, 1)) + "[m]/" + S(o.roundPrecision((O = ($ = (D = t.meteo) == null ? void 0 : D.wave) == null ? void 0 : $.wd) == null ? void 0 : O.period, 1)) + "[s]", 1)
4847
4849
  ]),
4848
4850
  l("div", zr, [
4849
4851
  Pr,
4850
- l("span", null, S(((X = (H = (O = t.meteo) == null ? void 0 : O.wave) == null ? void 0 : H.swell) == null ? void 0 : X.direction) || "-") + "/" + S(o.roundPrecision((te = (he = (ee = t.meteo) == null ? void 0 : ee.wave) == null ? void 0 : he.swell) == null ? void 0 : te.height, 1)) + "[m]/" + S(o.roundPrecision((de = (V = (A = t.meteo) == null ? void 0 : A.wave) == null ? void 0 : V.swell) == null ? void 0 : de.period, 1)) + "[s]", 1)
4852
+ l("span", null, S(((X = (H = (W = t.meteo) == null ? void 0 : W.wave) == null ? void 0 : H.swell) == null ? void 0 : X.direction) || "-") + "/" + S(o.roundPrecision((te = (he = (ee = t.meteo) == null ? void 0 : ee.wave) == null ? void 0 : he.swell) == null ? void 0 : te.height, 1)) + "[m]/" + S(o.roundPrecision((de = (V = (A = t.meteo) == null ? void 0 : A.wave) == null ? void 0 : V.swell) == null ? void 0 : de.period, 1)) + "[s]", 1)
4851
4853
  ]),
4852
4854
  l("div", Tr, [
4853
4855
  Ir,
@@ -4869,8 +4871,8 @@ function Ur(a, e, t, r, i, o) {
4869
4871
  Nr,
4870
4872
  l("span", null, S(o.roundPrecision((Ie = t.meteo) == null ? void 0 : Ie.temp, 0)) + "[°C]", 1)
4871
4873
  ]),
4872
- l("div", Wr, [
4873
- Or,
4874
+ l("div", Or, [
4875
+ Wr,
4874
4876
  l("span", null, S(o.roundPrecision((Ee = t.meteo) == null ? void 0 : Ee.waterTemp, 2)) + "[°C]", 1)
4875
4877
  ])
4876
4878
  ]),
@@ -5330,7 +5332,7 @@ function ro(a, e, t, r, i, o) {
5330
5332
  [Me, i.showZone]
5331
5333
  ]);
5332
5334
  }
5333
- const oo = /* @__PURE__ */ T(to, [["render", ro], ["__scopeId", "data-v-d1cb4e6e"]]);
5335
+ const oo = /* @__PURE__ */ T(to, [["render", ro], ["__scopeId", "data-v-c0864afc"]]);
5334
5336
  const so = {
5335
5337
  name: "IdmPort",
5336
5338
  props: {
@@ -5423,7 +5425,7 @@ const so = {
5423
5425
  this.showPort = !1, this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
5424
5426
  }
5425
5427
  }
5426
- }, Be = (a) => (U("data-v-6fdfee96"), a = a(), G(), a), no = { id: "port-info" }, lo = { class: "port-box" }, co = { class: "flex-start" }, ho = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Name : ", -1)), po = { class: "flex-start" }, mo = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Position : ", -1)), uo = { class: "flex-start" }, yo = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "LoCode : ", -1)), fo = {
5428
+ }, Be = (a) => (U("data-v-30e545a2"), a = a(), G(), a), no = { id: "port-info" }, lo = { class: "port-box" }, co = { class: "flex-start" }, ho = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Name : ", -1)), po = { class: "flex-start" }, mo = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Position : ", -1)), uo = { class: "flex-start" }, yo = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "LoCode : ", -1)), fo = {
5427
5429
  class: "flex-start",
5428
5430
  style: { "align-items": "flex-start" }
5429
5431
  }, go = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Region : ", -1));
@@ -5457,7 +5459,7 @@ function bo(a, e, t, r, i, o) {
5457
5459
  [Me, i.showPort]
5458
5460
  ]);
5459
5461
  }
5460
- const vo = /* @__PURE__ */ T(so, [["render", bo], ["__scopeId", "data-v-6fdfee96"]]), _o = {
5462
+ const vo = /* @__PURE__ */ T(so, [["render", bo], ["__scopeId", "data-v-30e545a2"]]), _o = {
5461
5463
  name: "IdmLoadLine",
5462
5464
  props: {
5463
5465
  map: {
@@ -6090,7 +6092,7 @@ const $o = {
6090
6092
  (a = this.map) != null && a.getLayer(this.layer) && ((e = this.map) == null || e.removeLayer(this.layer)), (t = this.map) != null && t.getLayer(this.labelLayer) && ((r = this.map) == null || r.removeLayer(this.labelLayer)), (i = this.map) != null && i.getSource(this.source) && ((o = this.map) == null || o.removeSource(this.source));
6091
6093
  }
6092
6094
  }
6093
- }, Mo = (a) => (U("data-v-9f51b3f9"), a = a(), G(), a), Bo = /* @__PURE__ */ Mo(() => /* @__PURE__ */ l("span", null, ", ", -1));
6095
+ }, Mo = (a) => (U("data-v-51cc4052"), a = a(), G(), a), Bo = /* @__PURE__ */ Mo(() => /* @__PURE__ */ l("span", null, ", ", -1));
6094
6096
  function No(a, e, t, r, i, o) {
6095
6097
  return i.lngLat ? (L(), x("div", {
6096
6098
  key: 0,
@@ -6102,7 +6104,7 @@ function No(a, e, t, r, i, o) {
6102
6104
  l("span", null, S(i.lngLat.lng.pretty), 1)
6103
6105
  ], 4)) : N("", !0);
6104
6106
  }
6105
- const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-9f51b3f9"]]), Wo = {
6107
+ const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-51cc4052"]]), Oo = {
6106
6108
  name: "IdmMeasure",
6107
6109
  props: {
6108
6110
  map: {
@@ -6242,7 +6244,7 @@ const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-9f51b3f9
6242
6244
  let t = 0;
6243
6245
  const r = [];
6244
6246
  for (let i = 1; i < e.length; i++) {
6245
- const o = e[i - 1], n = e[i], s = o.properties, c = { lng: o.geometry.coordinates[0], lat: o.geometry.coordinates[1] }, h = { lng: n.geometry.coordinates[0], lat: n.geometry.coordinates[1] }, y = We(c, h, s.mode === "RL", 2), d = Oe(c, h, s.mode === "RL", 2);
6247
+ const o = e[i - 1], n = e[i], s = o.properties, c = { lng: o.geometry.coordinates[0], lat: o.geometry.coordinates[1] }, h = { lng: n.geometry.coordinates[0], lat: n.geometry.coordinates[1] }, y = Oe(c, h, s.mode === "RL", 2), d = We(c, h, s.mode === "RL", 2);
6246
6248
  t = K.roundPrecision(t + y, 2);
6247
6249
  let m;
6248
6250
  s.mode === "RL" ? m = pe([c, h]) : m = pe(je(c, h, 200));
@@ -6258,7 +6260,7 @@ const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-9f51b3f9
6258
6260
  let o, n;
6259
6261
  if (e) {
6260
6262
  const c = e.properties, h = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, y = { lng: t.lng, lat: t.lat };
6261
- o = We(h, y, c.mode === "RL", 2), n = Oe(h, y, c.mode === "RL", 2);
6263
+ o = Oe(h, y, c.mode === "RL", 2), n = We(h, y, c.mode === "RL", 2);
6262
6264
  let d;
6263
6265
  c.mode === "RL" ? d = pe([h, y]) : d = pe(je(h, y, 200));
6264
6266
  const m = C.lineString(d.map((u) => [u.lng, u.lat]));
@@ -6266,7 +6268,7 @@ const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-9f51b3f9
6266
6268
  }
6267
6269
  if (r) {
6268
6270
  const c = t.properties, h = t, y = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] };
6269
- o = We(h, y, c.mode === "RL", 2), n = Oe(h, y, c.mode === "RL", 2);
6271
+ o = Oe(h, y, c.mode === "RL", 2), n = We(h, y, c.mode === "RL", 2);
6270
6272
  let d;
6271
6273
  c.mode === "RL" ? d = pe([h, y]) : d = pe(je(h, y, 200));
6272
6274
  const m = C.lineString(d.map((u) => [u.lng, u.lat]));
@@ -6390,10 +6392,10 @@ const at = /* @__PURE__ */ T($o, [["render", No], ["__scopeId", "data-v-9f51b3f9
6390
6392
  }
6391
6393
  }
6392
6394
  };
6393
- function Oo(a, e, t, r, i, o) {
6395
+ function Wo(a, e, t, r, i, o) {
6394
6396
  return L(), x("div");
6395
6397
  }
6396
- const jo = /* @__PURE__ */ T(Wo, [["render", Oo]]);
6398
+ const jo = /* @__PURE__ */ T(Oo, [["render", Wo]]);
6397
6399
  const Fo = {
6398
6400
  name: "IdmENC",
6399
6401
  props: {
@@ -6446,7 +6448,7 @@ const Fo = {
6446
6448
  }
6447
6449
  },
6448
6450
  methods: {}
6449
- }, it = (a) => (U("data-v-2d85e33b"), a = a(), G(), a), Vo = { key: 0 }, Uo = { class: "bar-item" }, Go = /* @__PURE__ */ it(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "HI", -1)), Ho = [
6451
+ }, it = (a) => (U("data-v-ab627b83"), a = a(), G(), a), Vo = { key: 0 }, Uo = { class: "bar-item" }, Go = /* @__PURE__ */ it(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "HI", -1)), Ho = [
6450
6452
  Go
6451
6453
  ], Zo = /* @__PURE__ */ it(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "I4", -1)), Xo = [
6452
6454
  Zo
@@ -6470,7 +6472,7 @@ function Jo(a, e, t, r, i, o) {
6470
6472
  ], 4)
6471
6473
  ])) : N("", !0);
6472
6474
  }
6473
- const qo = /* @__PURE__ */ T(Fo, [["render", Jo], ["__scopeId", "data-v-2d85e33b"]]);
6475
+ const qo = /* @__PURE__ */ T(Fo, [["render", Jo], ["__scopeId", "data-v-ab627b83"]]);
6474
6476
  const Yo = {
6475
6477
  name: "IdmGLV2",
6476
6478
  components: {
@@ -6481,7 +6483,7 @@ const Yo = {
6481
6483
  IdmCurrentParticle: Ea,
6482
6484
  IdmSigWave: Da,
6483
6485
  IdmSwell: Ba,
6484
- IdmPrmsl: Oa,
6486
+ IdmPrmsl: Wa,
6485
6487
  // IdmIceEdge,
6486
6488
  IdmIceberg: Va,
6487
6489
  IdmTropicals: tt,
@@ -6558,15 +6560,12 @@ const Yo = {
6558
6560
  },
6559
6561
  map: {
6560
6562
  handler() {
6561
- var a, e, t, r, i, o, n, s, c, h, y, d, m, u, b, f, p, v;
6562
- this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new Ue(this.map), this.handleRampColorInitial(), this.activeWeatherLayers.some((g) => ["wind", "current"].includes(g.key)) && ((a = this.particleFactor) != null && a.particle) || this.activeWeatherLayers.some((g) => ["temp", "water-temp"].includes(g.key)) ? (console.log(3333), (t = (e = this.map) == null ? void 0 : e.getLayer("i4")) == null || t.setLayoutProperty("visibility", "none"), (i = (r = this.map) == null ? void 0 : r.getLayer("hi")) == null || i.setLayoutProperty("visibility", "none"), (n = (o = this.map) == null ? void 0 : o.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || n.setLayoutProperty("visibility", "visible"), (s = this.map) != null && s.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id) && ((h = this.map) == null || h.moveLayer((c = this.viewport) == null ? void 0 : c.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (d = this.map) != null && d.getLayer((y = this.viewport) == null ? void 0 : y.particleLayer) && ((u = this.map) == null || u.moveLayer((m = this.viewport) == null ? void 0 : m.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : (console.log(44444), (f = (b = this.map) == null ? void 0 : b.getLayer(this.enc)) == null || f.setLayoutProperty("visibility", "visible"), (v = (p = this.map) == null ? void 0 : p.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || v.setLayoutProperty("visibility", "none")));
6563
+ this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new Ue(this.map), this.handleRampColorInitial());
6563
6564
  },
6564
6565
  immediate: !0
6565
6566
  },
6566
6567
  enc: {
6567
6568
  handler(a, e) {
6568
- var t, r, i, o, n, s, c, h;
6569
- a ? (console.log(11111), (r = (t = this.map) == null ? void 0 : t.getLayer(a)) == null || r.setLayoutProperty("visibility", "visible"), (o = (i = this.map) == null ? void 0 : i.getLayer(e)) == null || o.setLayoutProperty("visibility", "none")) : (console.log(2222), (s = (n = this.map) == null ? void 0 : n.getLayer("i4")) == null || s.setLayoutProperty("visibility", "none"), (h = (c = this.map) == null ? void 0 : c.getLayer("hi")) == null || h.setLayoutProperty("visibility", "none"));
6570
6569
  }
6571
6570
  },
6572
6571
  activeWeatherLayers: {
@@ -6580,8 +6579,6 @@ const Yo = {
6580
6579
  },
6581
6580
  "particleFactor.particle": {
6582
6581
  handler() {
6583
- var a, e, t, r, i;
6584
- this.activeWeatherLayers.some((o) => ["wind", "current"].includes(o.key)) && !((a = this.particleFactor) != null && a.particle) && !this.activeWeatherLayers.some((o) => ["temp", "water-temp"].includes(o.key)) && ((t = this.map) == null || t.moveLayer((e = this.viewport) == null ? void 0 : e.rampColorLayer, null), (i = (r = this.map) == null ? void 0 : r.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || i.setLayoutProperty("visibility", "none"));
6585
6582
  }
6586
6583
  }
6587
6584
  /** for offline map**/
@@ -6672,8 +6669,8 @@ const Yo = {
6672
6669
  );
6673
6670
  const k = await Promise.all(w);
6674
6671
  this.weatherLayers = {}, k.map((_) => {
6675
- var $, W, O, H;
6676
- const E = (($ = _ == null ? void 0 : _.data) == null ? void 0 : $.data) || (_ == null ? void 0 : _.data), D = (O = (W = _ == null ? void 0 : _.config) == null ? void 0 : W.headers) == null ? void 0 : O.key;
6672
+ var $, O, W, H;
6673
+ const E = (($ = _ == null ? void 0 : _.data) == null ? void 0 : $.data) || (_ == null ? void 0 : _.data), D = (W = (O = _ == null ? void 0 : _.config) == null ? void 0 : O.headers) == null ? void 0 : W.key;
6677
6674
  D && E && (this.weatherLayers[D] = {
6678
6675
  raw: E,
6679
6676
  type: ((H = _ == null ? void 0 : _.config) == null ? void 0 : H.responseType) === "blob" ? "image" : "json",
@@ -6685,8 +6682,8 @@ const Yo = {
6685
6682
  key: "tropicals"
6686
6683
  }
6687
6684
  }).then((_) => {
6688
- var $, W, O;
6689
- const E = et.convert2Geojson((($ = _ == null ? void 0 : _.data) == null ? void 0 : $.data) || (_ == null ? void 0 : _.data)), D = (O = (W = _ == null ? void 0 : _.config) == null ? void 0 : W.headers) == null ? void 0 : O.key;
6685
+ var $, O, W;
6686
+ const E = et.convert2Geojson((($ = _ == null ? void 0 : _.data) == null ? void 0 : $.data) || (_ == null ? void 0 : _.data)), D = (W = (O = _ == null ? void 0 : _.config) == null ? void 0 : O.headers) == null ? void 0 : W.key;
6690
6687
  this.weatherLayers[D] = {
6691
6688
  data: E,
6692
6689
  active: !0,
@@ -7091,7 +7088,7 @@ const Yo = {
7091
7088
  };
7092
7089
  function Ko(a, e, t, r, i, o) {
7093
7090
  var q, ne, fe, ge, be, ve, _e, we, Le, xe, Ce, Se, ke, ze, Pe, Te, Ie, Ee, Ne, He, Ze, Xe, Je, qe, Ye, Qe;
7094
- const n = z("IdmGlLayer"), s = z("IdmENC"), c = z("IdmSigWave"), h = z("IdmSwell"), y = z("IdmPrmsl"), d = z("IdmIceberg"), m = z("IdmTropicals"), u = z("IdmCurrents"), b = z("IdmCurrentParticle"), f = z("IdmWindBarb"), p = z("IdmWindParticle"), v = z("IdmPrecip3h"), g = z("IdmVisibility"), w = z("IdmWaterTemp"), k = z("IdmTemp"), _ = z("IdmArctic"), E = z("IdmWarZone"), D = z("IdmGmdssArea"), $ = z("IdmEcaZone"), W = z("IdmAlertZone"), O = z("IdmPort"), H = z("IdmLoadLine"), X = z("IdmTimezone"), ee = z("IdmVRA"), he = z("IdmSpecialArea"), te = z("IdmTerminator"), A = z("IdmLatLng"), V = z("IdmMeasure"), de = z("IdmPoint");
7091
+ const n = z("IdmGlLayer"), s = z("IdmENC"), c = z("IdmSigWave"), h = z("IdmSwell"), y = z("IdmPrmsl"), d = z("IdmIceberg"), m = z("IdmTropicals"), u = z("IdmCurrents"), b = z("IdmCurrentParticle"), f = z("IdmWindBarb"), p = z("IdmWindParticle"), v = z("IdmPrecip3h"), g = z("IdmVisibility"), w = z("IdmWaterTemp"), k = z("IdmTemp"), _ = z("IdmArctic"), E = z("IdmWarZone"), D = z("IdmGmdssArea"), $ = z("IdmEcaZone"), O = z("IdmAlertZone"), W = z("IdmPort"), H = z("IdmLoadLine"), X = z("IdmTimezone"), ee = z("IdmVRA"), he = z("IdmSpecialArea"), te = z("IdmTerminator"), A = z("IdmLatLng"), V = z("IdmMeasure"), de = z("IdmPoint");
7095
7092
  return t.map ? (L(), x("div", Qo, [
7096
7093
  P(n, I({
7097
7094
  ref: "layer",
@@ -7219,12 +7216,12 @@ function Ko(a, e, t, r, i, o) {
7219
7216
  zone: (Ne = i.otherLayers) == null ? void 0 : Ne["eca-zones"],
7220
7217
  "before-layer": t.beforeLayer
7221
7218
  }, a.$attrs), null, 16, ["map", "zone", "before-layer"]),
7222
- P(W, I({
7219
+ P(O, I({
7223
7220
  map: t.map,
7224
7221
  zone: (He = i.otherLayers) == null ? void 0 : He["alert-zones"],
7225
7222
  "before-layer": t.beforeLayer
7226
7223
  }, a.$attrs), null, 16, ["map", "zone", "before-layer"]),
7227
- P(O, I({
7224
+ P(W, I({
7228
7225
  map: t.map,
7229
7226
  port: (Ze = i.otherLayers) == null ? void 0 : Ze.ports,
7230
7227
  "before-layer": t.beforeLayer