@idmwx/idmui-gl3 4.7.2 → 4.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2,15 +2,15 @@ var G0 = Object.defineProperty;
2
2
  var V0 = (z, M, b) => M in z ? G0(z, M, { enumerable: !0, configurable: !0, writable: !0, value: b }) : z[M] = b;
3
3
  var V = (z, M, b) => (V0(z, typeof M != "symbol" ? M + "" : M, b), b);
4
4
  import { LayerHelper as x0, CompanyHelper as S0 } from "@idm-plugin/tag";
5
- import { resolveComponent as x, openBlock as l, createElementBlock as f, createElementVNode as c, normalizeStyle as p0, createVNode as v, withCtx as e0, normalizeClass as J, Fragment as K, renderList as $, toDisplayString as C, createCommentVNode as U, createTextVNode as b0, withDirectives as X0, createStaticVNode as K0, vShow as v0, defineComponent as J0, withModifiers as C0, mergeProps as j } from "vue";
6
- import * as T from "@turf/turf";
5
+ import { resolveComponent as S, openBlock as l, createElementBlock as f, createElementVNode as c, normalizeStyle as p0, createVNode as T, withCtx as c0, normalizeClass as J, Fragment as K, renderList as $, toDisplayString as _, createCommentVNode as U, createTextVNode as b0, withDirectives as X0, createStaticVNode as K0, vShow as v0, defineComponent as J0, withModifiers as C0, mergeProps as I } from "vue";
6
+ import * as w from "@turf/turf";
7
7
  import Q0 from "@mapbox/sphericalmercator";
8
- import H from "moment";
8
+ import F from "moment";
9
9
  import m0 from "mapbox-gl";
10
10
  import { TropicalHelper as I0, LngLatHelper as M0, LaneHelper as R0 } from "@idm-plugin/geo";
11
11
  import { Meteo2Assist as D0 } from "@idm-plugin/meteo";
12
12
  import h0 from "axios";
13
- const I = (z, M) => {
13
+ const D = (z, M) => {
14
14
  const b = z.__vccOpts || z;
15
15
  for (const [O, p] of M)
16
16
  b[O] = p;
@@ -222,20 +222,20 @@ const I = (z, M) => {
222
222
  class: "iconfont"
223
223
  }, X1 = { class: "source-layers card-bg" }, v1 = { class: "layers-body" };
224
224
  function T1(z, M, b, O, p, o) {
225
- const e = x("ElTooltip"), t = x("ElRadio"), q = x("ElRadioGroup"), r = x("ElScrollbar");
225
+ const e = S("ElTooltip"), t = S("ElRadio"), q = S("ElRadioGroup"), r = S("ElScrollbar");
226
226
  return l(), f("div", Z0, [
227
227
  c("div", {
228
228
  class: "menu-bar-box",
229
229
  style: p0({ top: b.top + 10 + "px", right: p.right + "px" })
230
230
  }, [
231
231
  c("div", Y0, [
232
- v(e, {
232
+ T(e, {
233
233
  placement: "left",
234
234
  effect: "light",
235
235
  content: "Menu",
236
236
  "show-after": 1e3
237
237
  }, {
238
- default: e0(() => [
238
+ default: c0(() => [
239
239
  c("div", {
240
240
  class: J(b.layerToggle ? "menu-icon active" : "menu-icon"),
241
241
  onClick: M[0] || (M[0] = (...a) => o.handleMenuToggle && o.handleMenuToggle(...a))
@@ -252,13 +252,13 @@ function T1(z, M, b, O, p, o) {
252
252
  style: p0({ top: b.top + 160 + "px", right: p.right + "px" })
253
253
  }, [
254
254
  c("div", M1, [
255
- v(e, {
255
+ T(e, {
256
256
  placement: "left",
257
257
  effect: "light",
258
258
  content: "Measure",
259
259
  "show-after": 1e3
260
260
  }, {
261
- default: e0(() => [
261
+ default: c0(() => [
262
262
  c("div", {
263
263
  class: J(p.showMeasure ? "menu-icon active" : "menu-icon"),
264
264
  onClick: M[1] || (M[1] = (...a) => o.handleMeasureToggle && o.handleMeasureToggle(...a))
@@ -268,13 +268,13 @@ function T1(z, M, b, O, p, o) {
268
268
  ]),
269
269
  _: 1
270
270
  }),
271
- v(e, {
271
+ T(e, {
272
272
  placement: "left",
273
273
  effect: "light",
274
274
  content: "Point Meteo",
275
275
  "show-after": 1e3
276
276
  }, {
277
- default: e0(() => [
277
+ default: c0(() => [
278
278
  c("div", {
279
279
  class: J(p.showPoint ? "menu-icon active" : "menu-icon"),
280
280
  onClick: M[2] || (M[2] = (...a) => o.handlePointToggle && o.handlePointToggle(...a))
@@ -284,13 +284,13 @@ function T1(z, M, b, O, p, o) {
284
284
  ]),
285
285
  _: 1
286
286
  }),
287
- v(e, {
287
+ T(e, {
288
288
  placement: "left",
289
289
  effect: "light",
290
290
  content: "Grid",
291
291
  "show-after": 1e3
292
292
  }, {
293
- default: e0(() => [
293
+ default: c0(() => [
294
294
  c("div", {
295
295
  class: J(p.showCoord ? "menu-icon active" : "menu-icon"),
296
296
  onClick: M[3] || (M[3] = (...a) => o.handleCoordToggle && o.handleCoordToggle(...a))
@@ -300,13 +300,13 @@ function T1(z, M, b, O, p, o) {
300
300
  ]),
301
301
  _: 1
302
302
  }),
303
- v(e, {
303
+ T(e, {
304
304
  placement: "left",
305
305
  effect: "light",
306
306
  content: "3D",
307
307
  "show-after": 1e3
308
308
  }, {
309
- default: e0(() => [
309
+ default: c0(() => [
310
310
  c("div", {
311
311
  class: J(p.show3d ? "menu-icon active" : "menu-icon"),
312
312
  onClick: M[4] || (M[4] = (...a) => o.handle3DToggle && o.handle3DToggle(...a))
@@ -344,7 +344,7 @@ function T1(z, M, b, O, p, o) {
344
344
  c("span", {
345
345
  class: "name",
346
346
  onClick: (i) => o.handleWeatherLayerPick(a)
347
- }, C(a.name), 9, o1),
347
+ }, _(a.name), 9, o1),
348
348
  a.key === "wind" && p.activeWeatherLayers.some((i) => i.key === a.key) ? (l(), f("div", c1, [
349
349
  c("i", {
350
350
  class: J(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
@@ -381,8 +381,8 @@ function T1(z, M, b, O, p, o) {
381
381
  onClick: M[10] || (M[10] = (...a) => o.handleMenuToggle && o.handleMenuToggle(...a))
382
382
  }, "")
383
383
  ]),
384
- v(r, { style: { flex: "1" } }, {
385
- default: e0(() => [
384
+ T(r, { style: { flex: "1" } }, {
385
+ default: c0(() => [
386
386
  c("div", t1, [
387
387
  c("div", a1, [
388
388
  M[24] || (M[24] = c("div", null, "Weather Layers", -1)),
@@ -410,7 +410,7 @@ function T1(z, M, b, O, p, o) {
410
410
  c("span", {
411
411
  class: "name",
412
412
  onClick: (i) => o.handleWeatherLayerPick(a)
413
- }, C(a.name), 9, W1),
413
+ }, _(a.name), 9, W1),
414
414
  a.key === "wind" && p.activeWeatherLayers.some((i) => i.key === a.key) ? (l(), f("div", s1, [
415
415
  c("i", {
416
416
  class: J(["iconfont sub-layer-icon", b.showWindParticle ? "active" : ""]),
@@ -462,7 +462,7 @@ function T1(z, M, b, O, p, o) {
462
462
  c("div", B1, [
463
463
  (i = o.computeLayerClass(a, p.activeOtherLayers)) != null && i.includes("active") ? (l(), f("i", y1, "")) : (l(), f("i", g1, ""))
464
464
  ]),
465
- c("span", null, C(a.name), 1)
465
+ c("span", null, _(a.name), 1)
466
466
  ])
467
467
  ], 10, m1);
468
468
  }), 128))
@@ -471,20 +471,20 @@ function T1(z, M, b, O, p, o) {
471
471
  c("div", X1, [
472
472
  M[29] || (M[29] = c("span", { class: "layers-title" }, "Forecast Model", -1)),
473
473
  c("div", v1, [
474
- v(q, {
474
+ T(q, {
475
475
  modelValue: p.source,
476
476
  "onUpdate:modelValue": M[16] || (M[16] = (a) => p.source = a),
477
477
  class: "layer-radio flex-col-center-start"
478
478
  }, {
479
- default: e0(() => [
480
- v(t, { value: "GFS" }, {
481
- default: e0(() => M[27] || (M[27] = [
479
+ default: c0(() => [
480
+ T(t, { value: "GFS" }, {
481
+ default: c0(() => M[27] || (M[27] = [
482
482
  b0("GFS")
483
483
  ])),
484
484
  _: 1
485
485
  }),
486
- v(t, { value: "CMEMS" }, {
487
- default: e0(() => M[28] || (M[28] = [
486
+ T(t, { value: "CMEMS" }, {
487
+ default: c0(() => M[28] || (M[28] = [
488
488
  b0("CMEMS")
489
489
  ])),
490
490
  _: 1
@@ -501,7 +501,7 @@ function T1(z, M, b, O, p, o) {
501
501
  ], 4)
502
502
  ]);
503
503
  }
504
- const w1 = /* @__PURE__ */ I($0, [["render", T1]]);
504
+ const w1 = /* @__PURE__ */ D($0, [["render", T1]]);
505
505
  const C1 = {
506
506
  name: "IdmWindBarb",
507
507
  props: {
@@ -537,7 +537,7 @@ const C1 = {
537
537
  return {
538
538
  source: "wind-barb-source",
539
539
  barbs: [0, 2, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105],
540
- empty: T.featureCollection([]),
540
+ empty: w.featureCollection([]),
541
541
  right: 10,
542
542
  bottom: 125,
543
543
  windBarbLoaded: !1
@@ -654,7 +654,7 @@ function x1(z, M, b, O, p, o) {
654
654
  var e;
655
655
  return (e = b.wind) != null && e.active ? (l(), f("div", _1)) : U("", !0);
656
656
  }
657
- const S1 = /* @__PURE__ */ I(C1, [["render", x1]]);
657
+ const S1 = /* @__PURE__ */ D(C1, [["render", x1]]);
658
658
  class E0 {
659
659
  constructor(M) {
660
660
  V(this, "map");
@@ -879,8 +879,8 @@ class T0 {
879
879
  }
880
880
  const n = M.getBoundPixel(), h = M.map.getZoom() + 1, u = M.getWorldCopy(n, h);
881
881
  for (const d of u) {
882
- const m = (d[0] - n[0]) * M.ratio, R = (d[1] - n[3]) * M.ratio, g = d[2] * M.ratio, [_, y, F, B] = [m, g + m, R, g + R], w = new Float32Array([_, F, y, F, _, B, _, B, y, F, y, B]);
883
- b.bindBuffer(b.ARRAY_BUFFER, e), b.bufferData(b.ARRAY_BUFFER, w, b.STATIC_DRAW), b.drawArrays(b.TRIANGLES, 0, 6);
882
+ const m = (d[0] - n[0]) * M.ratio, R = (d[1] - n[3]) * M.ratio, g = d[2] * M.ratio, [x, y, j, B] = [m, g + m, R, g + R], C = new Float32Array([x, j, y, j, x, B, x, B, y, j, y, B]);
883
+ b.bindBuffer(b.ARRAY_BUFFER, e), b.bufferData(b.ARRAY_BUFFER, C, b.STATIC_DRAW), b.drawArrays(b.TRIANGLES, 0, 6);
884
884
  }
885
885
  } catch (a) {
886
886
  console.log(`render failed...${a}`);
@@ -2910,7 +2910,7 @@ function D1(z, M, b, O, p, o) {
2910
2910
  ]), 4)
2911
2911
  ])) : U("", !0);
2912
2912
  }
2913
- const I1 = /* @__PURE__ */ I(P1, [["render", D1], ["__scopeId", "data-v-14070127"]]);
2913
+ const I1 = /* @__PURE__ */ D(P1, [["render", D1], ["__scopeId", "data-v-14070127"]]);
2914
2914
  const j1 = {
2915
2915
  name: "IdmCurrent",
2916
2916
  props: {
@@ -2949,7 +2949,7 @@ const j1 = {
2949
2949
  directionLayer: "current-direction-layer",
2950
2950
  speedLayer: "current-speed-layer",
2951
2951
  speedLabelLayer: "current-speed-label-layer",
2952
- empty: T.featureCollection([]),
2952
+ empty: w.featureCollection([]),
2953
2953
  right: 10,
2954
2954
  bottom: 95
2955
2955
  };
@@ -3064,12 +3064,12 @@ const j1 = {
3064
3064
  this.map.getLayer(this.speedLayer) && this.map.removeLayer(this.speedLayer), this.map.getLayer(this.speedLabelLayer) && this.map.removeLayer(this.speedLabelLayer), this.map.getLayer(this.directionLayer) && this.map.removeLayer(this.directionLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
3065
3065
  }
3066
3066
  }
3067
- }, F1 = { key: 0 };
3068
- function U1(z, M, b, O, p, o) {
3067
+ }, U1 = { key: 0 };
3068
+ function F1(z, M, b, O, p, o) {
3069
3069
  var e;
3070
- return (e = b.current) != null && e.active ? (l(), f("div", F1)) : U("", !0);
3070
+ return (e = b.current) != null && e.active ? (l(), f("div", U1)) : U("", !0);
3071
3071
  }
3072
- const H1 = /* @__PURE__ */ I(j1, [["render", U1]]);
3072
+ const H1 = /* @__PURE__ */ D(j1, [["render", F1]]);
3073
3073
  const G1 = {
3074
3074
  name: "IdmCurrentParticle",
3075
3075
  props: {
@@ -3245,7 +3245,7 @@ function K1(z, M, b, O, p, o) {
3245
3245
  ]), 4)
3246
3246
  ])) : U("", !0);
3247
3247
  }
3248
- const J1 = /* @__PURE__ */ I(G1, [["render", K1], ["__scopeId", "data-v-163d1f9a"]]), Q1 = {
3248
+ const J1 = /* @__PURE__ */ D(G1, [["render", K1], ["__scopeId", "data-v-163d1f9a"]]), Q1 = {
3249
3249
  name: "IdmSigWave",
3250
3250
  props: {
3251
3251
  map: {
@@ -3266,7 +3266,7 @@ const J1 = /* @__PURE__ */ I(G1, [["render", K1], ["__scopeId", "data-v-163d1f9a
3266
3266
  source: "sig-wave-source",
3267
3267
  heightLayer: "sig-wave-height-layer",
3268
3268
  heightLabelLayer: "sig-wave-height-label-layer",
3269
- empty: T.featureCollection([])
3269
+ empty: w.featureCollection([])
3270
3270
  };
3271
3271
  },
3272
3272
  watch: {
@@ -3367,7 +3367,7 @@ const J1 = /* @__PURE__ */ I(G1, [["render", K1], ["__scopeId", "data-v-163d1f9a
3367
3367
  function $1(z, M, b, O, p, o) {
3368
3368
  return l(), f("div");
3369
3369
  }
3370
- const Z1 = /* @__PURE__ */ I(Q1, [["render", $1]]), Y1 = {
3370
+ const Z1 = /* @__PURE__ */ D(Q1, [["render", $1]]), Y1 = {
3371
3371
  name: "IdmSwell",
3372
3372
  props: {
3373
3373
  map: {
@@ -3389,7 +3389,7 @@ const Z1 = /* @__PURE__ */ I(Q1, [["render", $1]]), Y1 = {
3389
3389
  directionLayer: "swell-direction-layer",
3390
3390
  heightLayer: "swell-height-layer",
3391
3391
  heightLabelLayer: "swell-height-label-layer",
3392
- empty: T.featureCollection([])
3392
+ empty: w.featureCollection([])
3393
3393
  };
3394
3394
  },
3395
3395
  watch: {
@@ -3525,7 +3525,7 @@ const Z1 = /* @__PURE__ */ I(Q1, [["render", $1]]), Y1 = {
3525
3525
  function M2(z, M, b, O, p, o) {
3526
3526
  return l(), f("div");
3527
3527
  }
3528
- const b2 = /* @__PURE__ */ I(Y1, [["render", M2]]), z2 = {
3528
+ const b2 = /* @__PURE__ */ D(Y1, [["render", M2]]), z2 = {
3529
3529
  name: "IdmPrmsl",
3530
3530
  props: {
3531
3531
  map: {
@@ -3550,7 +3550,7 @@ const b2 = /* @__PURE__ */ I(Y1, [["render", M2]]), z2 = {
3550
3550
  layer: "prmsl-layer",
3551
3551
  labelLayer: "prmsl-label-layer",
3552
3552
  pointLabelLayer: "prmsl-point-label-layer",
3553
- empty: T.featureCollection([])
3553
+ empty: w.featureCollection([])
3554
3554
  };
3555
3555
  },
3556
3556
  watch: {
@@ -3665,7 +3665,7 @@ const b2 = /* @__PURE__ */ I(Y1, [["render", M2]]), z2 = {
3665
3665
  function p2(z, M, b, O, p, o) {
3666
3666
  return l(), f("div");
3667
3667
  }
3668
- const O2 = /* @__PURE__ */ I(z2, [["render", p2]]), o2 = {
3668
+ const O2 = /* @__PURE__ */ D(z2, [["render", p2]]), o2 = {
3669
3669
  name: "IdmIceberg",
3670
3670
  props: {
3671
3671
  map: {
@@ -3682,7 +3682,7 @@ const O2 = /* @__PURE__ */ I(z2, [["render", p2]]), o2 = {
3682
3682
  return {
3683
3683
  source: "iceberg-source",
3684
3684
  layer: "iceberg-layer",
3685
- empty: T.featureCollection([])
3685
+ empty: w.featureCollection([])
3686
3686
  };
3687
3687
  },
3688
3688
  watch: {
@@ -3725,7 +3725,7 @@ const O2 = /* @__PURE__ */ I(z2, [["render", p2]]), o2 = {
3725
3725
  function c2(z, M, b, O, p, o) {
3726
3726
  return l(), f("div");
3727
3727
  }
3728
- const e2 = /* @__PURE__ */ I(o2, [["render", c2]]);
3728
+ const e2 = /* @__PURE__ */ D(o2, [["render", c2]]);
3729
3729
  const A2 = {
3730
3730
  name: "IdmTropicals",
3731
3731
  props: {
@@ -3764,9 +3764,9 @@ const A2 = {
3764
3764
  showTropicals: !1,
3765
3765
  activeTropicals: void 0,
3766
3766
  activeTropicalsMarker: void 0,
3767
- empty: T.featureCollection([]),
3767
+ empty: w.featureCollection([]),
3768
3768
  circleSource: "circle-source",
3769
- circleSourceData: T.featureCollection([]),
3769
+ circleSourceData: w.featureCollection([]),
3770
3770
  circleLayer: "tropical-circle-layer"
3771
3771
  };
3772
3772
  },
@@ -3774,7 +3774,7 @@ const A2 = {
3774
3774
  computeTime() {
3775
3775
  return function(z) {
3776
3776
  if (z) {
3777
- const M = H(z).utc().utcOffset(this.timeZone), b = this.timeZone < 0 ? this.timeZone : "+" + this.timeZone;
3777
+ const M = F(z).utc().utcOffset(this.timeZone), b = this.timeZone < 0 ? this.timeZone : "+" + this.timeZone;
3778
3778
  return `${M.format("MMM-DD,HHmm")}[ UTC ${b} ] ( ${M == null ? void 0 : M.fromNow()} )`;
3779
3779
  }
3780
3780
  return "-";
@@ -3811,7 +3811,7 @@ const A2 = {
3811
3811
  methods: {
3812
3812
  handleRefresh() {
3813
3813
  var O, p;
3814
- const z = ((p = (O = this.tropicals) == null ? void 0 : O.data) == null ? void 0 : p.features) || [], M = H().utc().hour(), b = [];
3814
+ const z = ((p = (O = this.tropicals) == null ? void 0 : O.data) == null ? void 0 : p.features) || [], M = F().utc().hour(), b = [];
3815
3815
  z.forEach((o) => {
3816
3816
  var e, t, q;
3817
3817
  (e = o.properties) != null && e.name && !b.includes((t = o.properties) == null ? void 0 : t.name) && b.push((q = o.properties) == null ? void 0 : q.name);
@@ -3830,9 +3830,9 @@ const A2 = {
3830
3830
  ((L = a.geometry) == null ? void 0 : L.type) === "Point" && ((n = a.properties) == null ? void 0 : n.type) === "history" && (e = i, t = t === void 0 ? i : t), ((h = a.geometry) == null ? void 0 : h.type) === "Point" && ((u = a.properties) == null ? void 0 : u.type) === "forecast" && t === void 0 && (t = i), ((d = a.geometry) == null ? void 0 : d.type) === "LineString" && ((m = a.properties) == null || m.type);
3831
3831
  }), q.map((a, i) => {
3832
3832
  var L, n, h, u, d, m, R;
3833
- if (((L = a.geometry) == null ? void 0 : L.type) === "LineString" && ((n = a.properties) == null || n.type), ((h = a.geometry) == null ? void 0 : h.type) === "Point" && ((u = a.properties) == null ? void 0 : u.type) === "forecast" && (a.properties.name = o, a.properties.format = H(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`)), ((d = a.geometry) == null ? void 0 : d.type) === "Point" && ((m = a.properties) == null ? void 0 : m.type) === "history") {
3834
- a.properties.format = H(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`);
3835
- const g = H((R = a.properties) == null ? void 0 : R.date).utc().format("HHmm") === H().utc().hour(Math.floor(M / 6) * 6).minute("00").format("HHmm");
3833
+ if (((L = a.geometry) == null ? void 0 : L.type) === "LineString" && ((n = a.properties) == null || n.type), ((h = a.geometry) == null ? void 0 : h.type) === "Point" && ((u = a.properties) == null ? void 0 : u.type) === "forecast" && (a.properties.name = o, a.properties.format = F(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`)), ((d = a.geometry) == null ? void 0 : d.type) === "Point" && ((m = a.properties) == null ? void 0 : m.type) === "history") {
3834
+ a.properties.format = F(a.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`);
3835
+ const g = F((R = a.properties) == null ? void 0 : R.date).utc().format("HHmm") === F().utc().hour(Math.floor(M / 6) * 6).minute("00").format("HHmm");
3836
3836
  a.properties.showHistoryLabel = g || i === e, a.properties.showNameLabel = i === e, a.properties.name = o;
3837
3837
  }
3838
3838
  return a;
@@ -4105,14 +4105,14 @@ const A2 = {
4105
4105
  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), (z = this.interpolateMarkers) == null || z.forEach((M) => M == null ? void 0 : M.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));
4106
4106
  },
4107
4107
  handleDateChange() {
4108
- var z, M, b, O, p, o, e, t, q, r, a, i, L, n, h, u, d, m, R, g, _, y, F, B, w, Z, Y, a0, s0, l0, q0, W0, z0, f0, u0, d0;
4108
+ var z, M, b, O, p, o, e, t, q, r, a, i, L, n, h, u, d, m, R, g, x, y, j, B, C, Z, Y, a0, s0, l0, q0, W0, z0, f0, u0, r0;
4109
4109
  if ((z = this.interpolateMarkers) == null || z.forEach((i0) => i0 == null ? void 0 : i0.remove()), this.circleSourceData.features = [], (M = this.interpolateData) != null && M.length && this.tropicals.active) {
4110
- const i0 = H(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), r0 = this.interpolateData.filter((D) => D.properties.date === i0.format() && !D.properties.disabled), L0 = this.handleComputePolygons(r0), k = T.featureCollection([...r0]);
4111
- L0.forEach((D) => {
4112
- k.features.push(D);
4113
- }), (b = this.map) != null && b.getSource(this.interpolateSource) ? (O = this.map) == null || O.getSource(this.interpolateSource).setData(k) : ((p = this.map) == null || p.addSource(this.interpolateSource, {
4110
+ const i0 = F(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), n0 = this.interpolateData.filter((P) => P.properties.date === i0.format() && !P.properties.disabled), L0 = this.handleComputePolygons(n0), d0 = w.featureCollection([...n0]);
4111
+ L0.forEach((P) => {
4112
+ d0.features.push(P);
4113
+ }), (b = this.map) != null && b.getSource(this.interpolateSource) ? (O = this.map) == null || O.getSource(this.interpolateSource).setData(d0) : ((p = this.map) == null || p.addSource(this.interpolateSource, {
4114
4114
  type: "geojson",
4115
- data: k
4115
+ data: d0
4116
4116
  }), (o = this.map) == null || o.addLayer({
4117
4117
  id: this.interpolateLineLayer,
4118
4118
  type: "line",
@@ -4124,17 +4124,17 @@ const A2 = {
4124
4124
  "line-width": 1
4125
4125
  }
4126
4126
  })), this.interpolateMarkers = [];
4127
- for (const D of r0)
4128
- if (!D.properties.disabled) {
4129
- let o0 = "#f44336";
4130
- ((t = (e = D.properties) == null ? void 0 : e.wind) == null ? void 0 : t.spd) < 17.2 || !((r = (q = D.properties) == null ? void 0 : q.wind) != null && r.spd) ? o0 = "#03f869" : ((i = (a = D.properties) == null ? void 0 : a.wind) == null ? void 0 : i.spd) >= 17.2 && ((n = (L = D.properties) == null ? void 0 : L.wind) == null ? void 0 : n.spd) < 24.5 ? o0 = "#f2f202" : ((u = (h = D.properties) == null ? void 0 : h.wind) == null ? void 0 : u.spd) >= 24.5 && ((m = (d = D.properties) == null ? void 0 : d.wind) == null ? void 0 : m.spd) < 32.7 ? o0 = "#ff9100" : ((g = (R = D.properties) == null ? void 0 : R.wind) == null ? void 0 : g.spd) >= 32.7 && ((y = (_ = D.properties) == null ? void 0 : _.wind) == null ? void 0 : y.spd) < 41.5 ? o0 = "#f44336" : ((B = (F = D.properties) == null ? void 0 : F.wind) == null ? void 0 : B.spd) >= 41.5 && ((Z = (w = D.properties) == null ? void 0 : w.wind) == null ? void 0 : Z.spd) < 51 ? o0 = "#f903d0" : ((a0 = (Y = D.properties) == null ? void 0 : Y.wind) == null ? void 0 : a0.spd) >= 51 ? o0 = "#8702f9" : o0 = "#f44336";
4131
- const n0 = `<svg t="1719918955501"
4127
+ for (const P of n0)
4128
+ if (!P.properties.disabled) {
4129
+ let G = "#f44336";
4130
+ ((t = (e = P.properties) == null ? void 0 : e.wind) == null ? void 0 : t.spd) < 17.2 || !((r = (q = P.properties) == null ? void 0 : q.wind) != null && r.spd) ? G = "#03f869" : ((i = (a = P.properties) == null ? void 0 : a.wind) == null ? void 0 : i.spd) >= 17.2 && ((n = (L = P.properties) == null ? void 0 : L.wind) == null ? void 0 : n.spd) < 24.5 ? G = "#f2f202" : ((u = (h = P.properties) == null ? void 0 : h.wind) == null ? void 0 : u.spd) >= 24.5 && ((m = (d = P.properties) == null ? void 0 : d.wind) == null ? void 0 : m.spd) < 32.7 ? G = "#ff9100" : ((g = (R = P.properties) == null ? void 0 : R.wind) == null ? void 0 : g.spd) >= 32.7 && ((y = (x = P.properties) == null ? void 0 : x.wind) == null ? void 0 : y.spd) < 41.5 ? G = "#f44336" : ((B = (j = P.properties) == null ? void 0 : j.wind) == null ? void 0 : B.spd) >= 41.5 && ((Z = (C = P.properties) == null ? void 0 : C.wind) == null ? void 0 : Z.spd) < 51 ? G = "#f903d0" : ((a0 = (Y = P.properties) == null ? void 0 : Y.wind) == null ? void 0 : a0.spd) >= 51 ? G = "#8702f9" : G = "#f44336";
4131
+ const e0 = `<svg t="1719918955501"
4132
4132
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
4133
4133
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
4134
4134
  <path
4135
4135
  d="M515.17000001 169.34666667c41-77.73 95.33-96 95.33-96-240 0-434.5 194.53-434.5 434.5 0 186.47 150.78 337.7 337.06 338.48C472.11000001 923.66666667 418.00000001 941.83666667 418.00000001 941.83666667c240 0 434.5-194.54 434.5-434.5l0.5 0.5C853.00000001 321.10666667 701.81000001 169.66666667 515.17000001 169.34666667z m-0.67 468A129.5 129.5 0 1 1 644.00000001 507.83666667a129.5 129.5 0 0 1-129.5 129.5z"
4136
- fill="${o0}" p-id="18383"></path>
4137
- <path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${o0}"
4136
+ fill="${G}" p-id="18383"></path>
4137
+ <path d="M514.50000001 507.83666667m-129.5 0a129.5 129.5 0 1 0 259 0 129.5 129.5 0 1 0-259 0Z" fill="${G}"
4138
4138
  p-id="18384"></path>
4139
4139
  <path
4140
4140
  d="M517.16666667 654.67c-80.23 0-145.5-65.27-145.5-145.5s65.27-145.5 145.5-145.5S662.66666667 428.94 662.66666667 509.17s-65.27 145.5-145.5 145.5z m0-259A113.5 113.5 0 1 0 630.66666667 509.17a113.63 113.63 0 0 0-113.5-113.5z"
@@ -4142,23 +4142,23 @@ const A2 = {
4142
4142
  <path
4143
4143
  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"
4144
4144
  fill="#ffffff" p-id="18386"></path>
4145
- </svg>`, E = document.createElement("div");
4146
- E.className = "hurricane-hourly-marker", E.innerHTML = `<div class="${D.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${n0}</div>`;
4147
- const c0 = new m0.Marker(E).setLngLat(D.geometry.coordinates).addTo(this.map);
4148
- if (this.interpolateMarkers.push(c0), (s0 = D.properties) != null && s0.showCircle) {
4149
- const N0 = { radius: 100, coordinates: D.geometry.coordinates }, B0 = { radius: 200, coordinates: D.geometry.coordinates }, g0 = { radius: 500, coordinates: D.geometry.coordinates };
4145
+ </svg>`, X = document.createElement("div");
4146
+ X.className = "hurricane-hourly-marker", X.innerHTML = `<div class="${P.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${e0}</div>`;
4147
+ const o0 = new m0.Marker(X).setLngLat(P.geometry.coordinates).addTo(this.map);
4148
+ if (this.interpolateMarkers.push(o0), (s0 = P.properties) != null && s0.showCircle) {
4149
+ const N0 = { radius: 100, coordinates: P.geometry.coordinates }, B0 = { radius: 200, coordinates: P.geometry.coordinates }, g0 = { radius: 500, coordinates: P.geometry.coordinates };
4150
4150
  (l0 = this.circleSourceData) == null || l0.features.push(
4151
- T.circle(N0.coordinates, N0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4151
+ w.circle(N0.coordinates, N0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4152
4152
  ), (q0 = this.circleSourceData) == null || q0.features.push(
4153
- T.circle(B0.coordinates, B0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4153
+ w.circle(B0.coordinates, B0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4154
4154
  ), (W0 = this.circleSourceData) == null || W0.features.push(
4155
- T.circle(g0.coordinates, g0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4155
+ w.circle(g0.coordinates, g0.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
4156
4156
  );
4157
4157
  }
4158
4158
  (f0 = (z0 = this.map) == null ? void 0 : z0.getSource(this.circleSource)) == null || f0.setData(this.circleSourceData);
4159
4159
  }
4160
4160
  } else
4161
- (u0 = this.map) != null && u0.getSource(this.interpolateSource) && ((d0 = this.map) == null || d0.getSource(this.interpolateSource).setData(this.empty));
4161
+ (u0 = this.map) != null && u0.getSource(this.interpolateSource) && ((r0 = this.map) == null || r0.getSource(this.interpolateSource).setData(this.empty));
4162
4162
  },
4163
4163
  handleClick(z) {
4164
4164
  var o, e, t, q, r, a, i, L;
@@ -4195,7 +4195,7 @@ const A2 = {
4195
4195
  r.properties.category === M && (r.properties.disabled = z.disabled);
4196
4196
  }), this.interpolateData.forEach((r) => {
4197
4197
  r.properties.category === M && (r.properties.disabled = z.disabled);
4198
- }), (e = (o = this.map) == null ? void 0 : o.getSource(this.source)) == null || e.setData(T.featureCollection(b)), (q = (t = this.map) == null ? void 0 : t.getSource(this.clusterSource)) == null || q.setData(T.featureCollection(b)), this.handleDateChange();
4198
+ }), (e = (o = this.map) == null ? void 0 : o.getSource(this.source)) == null || e.setData(w.featureCollection(b)), (q = (t = this.map) == null ? void 0 : t.getSource(this.clusterSource)) == null || q.setData(w.featureCollection(b)), this.handleDateChange();
4199
4199
  },
4200
4200
  handleStrikeProbability(z) {
4201
4201
  this.$emit("tropicalProbability", z);
@@ -4252,22 +4252,22 @@ const A2 = {
4252
4252
  let q;
4253
4253
  switch (e) {
4254
4254
  case "ne":
4255
- q = T.lineArc(z, t * 1.852, 0, 90, { steps: t > 0 ? 64 : 1 });
4255
+ q = w.lineArc(z, t * 1.852, 0, 90, { steps: t > 0 ? 64 : 1 });
4256
4256
  break;
4257
4257
  case "se":
4258
- q = T.lineArc(z, t * 1.852, 90, 180, { steps: t > 0 ? 64 : 1 });
4258
+ q = w.lineArc(z, t * 1.852, 90, 180, { steps: t > 0 ? 64 : 1 });
4259
4259
  break;
4260
4260
  case "sw":
4261
- q = T.lineArc(z, t * 1.852, 180, 270, { steps: t > 0 ? 64 : 1 });
4261
+ q = w.lineArc(z, t * 1.852, 180, 270, { steps: t > 0 ? 64 : 1 });
4262
4262
  break;
4263
4263
  case "nw":
4264
- q = T.lineArc(z, t * 1.852, 270, 360, { steps: t > 0 ? 64 : 1 });
4264
+ q = w.lineArc(z, t * 1.852, 270, 360, { steps: t > 0 ? 64 : 1 });
4265
4265
  break;
4266
4266
  }
4267
4267
  O.push(...(o = q == null ? void 0 : q.geometry) == null ? void 0 : o.coordinates);
4268
4268
  }
4269
- const p = T.lineString(O);
4270
- return T.lineToPolygon(p, { properties: b });
4269
+ const p = w.lineString(O);
4270
+ return w.lineToPolygon(p, { properties: b });
4271
4271
  }
4272
4272
  }
4273
4273
  }, t2 = {
@@ -4287,7 +4287,7 @@ const A2 = {
4287
4287
  style: { "justify-content": "flex-start" }
4288
4288
  }, L2 = { class: "forecast-models" }, R2 = ["onClick"], h2 = { class: "more" };
4289
4289
  function m2(z, M, b, O, p, o) {
4290
- var e, t, q, r, a, i, L, n, h, u, d, m, R, g, _;
4290
+ var e, t, q, r, a, i, L, n, h, u, d, m, R, g, x;
4291
4291
  return X0((l(), f("div", t2, [
4292
4292
  c("div", a2, [
4293
4293
  c("div", {
@@ -4295,41 +4295,41 @@ function m2(z, M, b, O, p, o) {
4295
4295
  onClick: M[0] || (M[0] = (y) => p.showTropicals = !1)
4296
4296
  }, ""),
4297
4297
  c("div", q2, [
4298
- (t = (e = p.activeTropicals) == null ? void 0 : e.history) != null && t.level ? (l(), f("span", i2, C((r = (q = p.activeTropicals) == null ? void 0 : q.history) == null ? void 0 : r.level) + " , ", 1)) : U("", !0),
4299
- b0(C((a = p.activeTropicals) == null ? void 0 : a.name), 1)
4298
+ (t = (e = p.activeTropicals) == null ? void 0 : e.history) != null && t.level ? (l(), f("span", i2, _((r = (q = p.activeTropicals) == null ? void 0 : q.history) == null ? void 0 : r.level) + " , ", 1)) : U("", !0),
4299
+ b0(_((a = p.activeTropicals) == null ? void 0 : a.name), 1)
4300
4300
  ]),
4301
- c("div", r2, " Last update: " + C(o.computeTime(((L = (i = p.activeTropicals) == null ? void 0 : i.history) == null ? void 0 : L.updated) || ((u = (h = (n = p.activeTropicals) == null ? void 0 : n.forecasts) == null ? void 0 : h.filter((y) => !y.disabled)[0]) == null ? void 0 : u.date))), 1)
4301
+ c("div", r2, " Last update: " + _(o.computeTime(((L = (i = p.activeTropicals) == null ? void 0 : i.history) == null ? void 0 : L.updated) || ((u = (h = (n = p.activeTropicals) == null ? void 0 : n.forecasts) == null ? void 0 : h.filter((y) => !y.disabled)[0]) == null ? void 0 : u.date))), 1)
4302
4302
  ]),
4303
4303
  c("div", n2, [
4304
4304
  c("div", d2, [
4305
4305
  c("div", W2, [
4306
4306
  c("div", s2, [
4307
4307
  M[2] || (M[2] = c("label", null, "Wind speed : ", -1)),
4308
- c("span", null, C(((m = (d = p.activeTropicals) == null ? void 0 : d.history) == null ? void 0 : m.kts) || "-") + "[kts]", 1)
4308
+ c("span", null, _(((m = (d = p.activeTropicals) == null ? void 0 : d.history) == null ? void 0 : m.kts) || "-") + "[kts]", 1)
4309
4309
  ]),
4310
4310
  c("div", l2, [
4311
4311
  M[3] || (M[3] = c("label", null, "Pressure : ", -1)),
4312
- c("span", null, C(((g = (R = p.activeTropicals) == null ? void 0 : R.history) == null ? void 0 : g.pressure) || "-") + "[hPa]", 1)
4312
+ c("span", null, _(((g = (R = p.activeTropicals) == null ? void 0 : R.history) == null ? void 0 : g.pressure) || "-") + "[hPa]", 1)
4313
4313
  ])
4314
4314
  ]),
4315
4315
  c("div", f2, [
4316
4316
  c("div", u2, [
4317
4317
  M[4] || (M[4] = c("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
4318
4318
  c("div", L2, [
4319
- (l(!0), f(K, null, $((_ = p.activeTropicals) == null ? void 0 : _.forecasts, (y, F) => {
4320
- var B, w, Z, Y;
4319
+ (l(!0), f(K, null, $((x = p.activeTropicals) == null ? void 0 : x.forecasts, (y, j) => {
4320
+ var B, C, Z, Y;
4321
4321
  return l(), f("div", {
4322
- key: F,
4322
+ key: j,
4323
4323
  class: J([
4324
4324
  "model",
4325
4325
  y.disabled ? "" : "active",
4326
- F > 0 && F < ((w = (B = p.activeTropicals) == null ? void 0 : B.forecasts) == null ? void 0 : w.length) - 1 && ((Y = (Z = p.activeTropicals) == null ? void 0 : Z.forecasts) == null ? void 0 : Y.length) > 2 ? "center-child" : ""
4326
+ j > 0 && j < ((C = (B = p.activeTropicals) == null ? void 0 : B.forecasts) == null ? void 0 : C.length) - 1 && ((Y = (Z = p.activeTropicals) == null ? void 0 : Z.forecasts) == null ? void 0 : Y.length) > 2 ? "center-child" : ""
4327
4327
  ]),
4328
4328
  onClick: (a0) => o.handleForecastToggle(y)
4329
4329
  }, [
4330
4330
  c("span", {
4331
4331
  class: J(y.model)
4332
- }, C(y.model), 3)
4332
+ }, _(y.model), 3)
4333
4333
  ], 10, R2);
4334
4334
  }), 128))
4335
4335
  ])
@@ -4348,7 +4348,7 @@ function m2(z, M, b, O, p, o) {
4348
4348
  [v0, p.showTropicals && !z.$attrs.hideTropicalsLegend]
4349
4349
  ]);
4350
4350
  }
4351
- const j0 = /* @__PURE__ */ I(A2, [["render", m2], ["__scopeId", "data-v-44a4e671"]]);
4351
+ const j0 = /* @__PURE__ */ D(A2, [["render", m2], ["__scopeId", "data-v-44a4e671"]]);
4352
4352
  const N2 = {
4353
4353
  name: "IdmPrecip3h",
4354
4354
  props: {
@@ -4469,7 +4469,7 @@ function y2(z, M, b, O, p, o) {
4469
4469
  ]), 4)
4470
4470
  ])) : U("", !0);
4471
4471
  }
4472
- const g2 = /* @__PURE__ */ I(N2, [["render", y2], ["__scopeId", "data-v-e83717bd"]]);
4472
+ const g2 = /* @__PURE__ */ D(N2, [["render", y2], ["__scopeId", "data-v-e83717bd"]]);
4473
4473
  const X2 = {
4474
4474
  name: "IdmVisibility",
4475
4475
  props: {
@@ -4581,7 +4581,7 @@ function T2(z, M, b, O, p, o) {
4581
4581
  ]), 4)
4582
4582
  ])) : U("", !0);
4583
4583
  }
4584
- const w2 = /* @__PURE__ */ I(X2, [["render", T2], ["__scopeId", "data-v-1c8a9237"]]);
4584
+ const w2 = /* @__PURE__ */ D(X2, [["render", T2], ["__scopeId", "data-v-1c8a9237"]]);
4585
4585
  const C2 = {
4586
4586
  name: "IdmWaterTemp",
4587
4587
  props: {
@@ -4701,7 +4701,7 @@ function x2(z, M, b, O, p, o) {
4701
4701
  ]), 4)
4702
4702
  ])) : U("", !0);
4703
4703
  }
4704
- const S2 = /* @__PURE__ */ I(C2, [["render", x2], ["__scopeId", "data-v-8974924d"]]);
4704
+ const S2 = /* @__PURE__ */ D(C2, [["render", x2], ["__scopeId", "data-v-8974924d"]]);
4705
4705
  const E2 = {
4706
4706
  name: "IdmTemp",
4707
4707
  props: {
@@ -4826,7 +4826,7 @@ function k2(z, M, b, O, p, o) {
4826
4826
  ]), 4)
4827
4827
  ])) : U("", !0);
4828
4828
  }
4829
- const D2 = /* @__PURE__ */ I(E2, [["render", k2], ["__scopeId", "data-v-d709ba86"]]);
4829
+ const D2 = /* @__PURE__ */ D(E2, [["render", k2], ["__scopeId", "data-v-d709ba86"]]);
4830
4830
  const I2 = {
4831
4831
  name: "IdmArctic",
4832
4832
  props: {
@@ -4924,7 +4924,7 @@ const I2 = {
4924
4924
  }
4925
4925
  }
4926
4926
  }, j2 = { key: 0 };
4927
- function F2(z, M, b, O, p, o) {
4927
+ function U2(z, M, b, O, p, o) {
4928
4928
  var e;
4929
4929
  return (e = b.factor) != null && e.active ? (l(), f("div", j2, [
4930
4930
  c("div", {
@@ -4940,7 +4940,7 @@ function F2(z, M, b, O, p, o) {
4940
4940
  ]), 4)
4941
4941
  ])) : U("", !0);
4942
4942
  }
4943
- const U2 = /* @__PURE__ */ I(I2, [["render", F2], ["__scopeId", "data-v-5bb73794"]]);
4943
+ const F2 = /* @__PURE__ */ D(I2, [["render", U2], ["__scopeId", "data-v-5bb73794"]]);
4944
4944
  /*! Element Plus Icons Vue v2.3.1 */
4945
4945
  var H2 = /* @__PURE__ */ J0({
4946
4946
  name: "LocationFilled",
@@ -4960,7 +4960,7 @@ var H2 = /* @__PURE__ */ J0({
4960
4960
  function K2(z) {
4961
4961
  return z && z.__esModule && Object.prototype.hasOwnProperty.call(z, "default") ? z.default : z;
4962
4962
  }
4963
- var F0 = { exports: {} }, U0 = { exports: {} };
4963
+ var U0 = { exports: {} }, F0 = { exports: {} };
4964
4964
  (function(z) {
4965
4965
  //! moment-timezone.js
4966
4966
  //! version : 0.5.47
@@ -4968,23 +4968,23 @@ var F0 = { exports: {} }, U0 = { exports: {} };
4968
4968
  //! license : MIT
4969
4969
  //! github.com/moment/moment-timezone
4970
4970
  (function(M, b) {
4971
- z.exports ? z.exports = b(H) : b(M.moment);
4971
+ z.exports ? z.exports = b(F) : b(M.moment);
4972
4972
  })(V2, function(M) {
4973
4973
  M.version === void 0 && M.default && (M = M.default);
4974
4974
  var b = "0.5.47", O = {}, p = {}, o = {}, e = {}, t = {}, q;
4975
- (!M || typeof M.version != "string") && n0("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");
4975
+ (!M || typeof M.version != "string") && e0("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");
4976
4976
  var r = M.version.split("."), a = +r[0], i = +r[1];
4977
- (a < 2 || a === 2 && i < 6) && n0("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + M.version + ". See momentjs.com");
4977
+ (a < 2 || a === 2 && i < 6) && e0("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + M.version + ". See momentjs.com");
4978
4978
  function L(A) {
4979
4979
  return A > 96 ? A - 87 : A > 64 ? A - 29 : A - 48;
4980
4980
  }
4981
4981
  function n(A) {
4982
- var W = 0, s = A.split("."), N = s[0], X = s[1] || "", S = 1, Q, P = 0, G = 1;
4983
- for (A.charCodeAt(0) === 45 && (W = 1, G = -1), W; W < N.length; W++)
4984
- Q = L(N.charCodeAt(W)), P = 60 * P + Q;
4985
- for (W = 0; W < X.length; W++)
4986
- S = S / 60, Q = L(X.charCodeAt(W)), P += Q * S;
4987
- return P * G;
4982
+ var W = 0, s = A.split("."), N = s[0], v = s[1] || "", E = 1, Q, k = 0, H = 1;
4983
+ for (A.charCodeAt(0) === 45 && (W = 1, H = -1), W; W < N.length; W++)
4984
+ Q = L(N.charCodeAt(W)), k = 60 * k + Q;
4985
+ for (W = 0; W < v.length; W++)
4986
+ E = E / 60, Q = L(v.charCodeAt(W)), k += Q * E;
4987
+ return k * H;
4988
4988
  }
4989
4989
  function h(A) {
4990
4990
  for (var W = 0; W < A.length; W++)
@@ -5002,12 +5002,12 @@ var F0 = { exports: {} }, U0 = { exports: {} };
5002
5002
  return s;
5003
5003
  }
5004
5004
  function m(A) {
5005
- var W = A.split("|"), s = W[2].split(" "), N = W[3].split(""), X = W[4].split(" ");
5006
- return h(s), h(N), h(X), u(X, N.length), {
5005
+ var W = A.split("|"), s = W[2].split(" "), N = W[3].split(""), v = W[4].split(" ");
5006
+ return h(s), h(N), h(v), u(v, N.length), {
5007
5007
  name: W[0],
5008
5008
  abbrs: d(W[1].split(" "), N),
5009
5009
  offsets: d(s, N),
5010
- untils: X,
5010
+ untils: v,
5011
5011
  population: W[5] | 0
5012
5012
  };
5013
5013
  }
@@ -5022,9 +5022,9 @@ var F0 = { exports: {} }, U0 = { exports: {} };
5022
5022
  return s - 1;
5023
5023
  if (A >= W[s - 1])
5024
5024
  return -1;
5025
- for (var N, X = 0, S = s - 1; S - X > 1; )
5026
- N = Math.floor((X + S) / 2), W[N] <= A ? X = N : S = N;
5027
- return S;
5025
+ for (var N, v = 0, E = s - 1; E - v > 1; )
5026
+ N = Math.floor((v + E) / 2), W[N] <= A ? v = N : E = N;
5027
+ return E;
5028
5028
  }
5029
5029
  R.prototype = {
5030
5030
  _set: function(A) {
@@ -5042,33 +5042,33 @@ var F0 = { exports: {} }, U0 = { exports: {} };
5042
5042
  });
5043
5043
  },
5044
5044
  parse: function(A) {
5045
- var W = +A, s = this.offsets, N = this.untils, X = N.length - 1, S, Q, P, G;
5046
- for (G = 0; G < X; G++)
5047
- if (S = s[G], Q = s[G + 1], P = s[G && G - 1], S < Q && E.moveAmbiguousForward ? S = Q : S > P && E.moveInvalidForward && (S = P), W < N[G] - S * 6e4)
5048
- return s[G];
5049
- return s[X];
5045
+ var W = +A, s = this.offsets, N = this.untils, v = N.length - 1, E, Q, k, H;
5046
+ for (H = 0; H < v; H++)
5047
+ if (E = s[H], Q = s[H + 1], k = s[H && H - 1], E < Q && X.moveAmbiguousForward ? E = Q : E > k && X.moveInvalidForward && (E = k), W < N[H] - E * 6e4)
5048
+ return s[H];
5049
+ return s[v];
5050
5050
  },
5051
5051
  abbr: function(A) {
5052
5052
  return this.abbrs[this._index(A)];
5053
5053
  },
5054
5054
  offset: function(A) {
5055
- return n0("zone.offset has been deprecated in favor of zone.utcOffset"), this.offsets[this._index(A)];
5055
+ return e0("zone.offset has been deprecated in favor of zone.utcOffset"), this.offsets[this._index(A)];
5056
5056
  },
5057
5057
  utcOffset: function(A) {
5058
5058
  return this.offsets[this._index(A)];
5059
5059
  }
5060
5060
  };
5061
- function _(A, W) {
5061
+ function x(A, W) {
5062
5062
  this.name = A, this.zones = W;
5063
5063
  }
5064
5064
  function y(A) {
5065
5065
  var W = A.toTimeString(), s = W.match(/\([a-z ]+\)/i);
5066
5066
  s && s[0] ? (s = s[0].match(/[A-Z]/g), s = s ? s.join("") : void 0) : (s = W.match(/[A-Z]{3,5}/g), s = s ? s[0] : void 0), s === "GMT" && (s = void 0), this.at = +A, this.abbr = s, this.offset = A.getTimezoneOffset();
5067
5067
  }
5068
- function F(A) {
5068
+ function j(A) {
5069
5069
  this.zone = A, this.offsetScore = 0, this.abbrScore = 0;
5070
5070
  }
5071
- F.prototype.scoreOffsetAt = function(A) {
5071
+ j.prototype.scoreOffsetAt = function(A) {
5072
5072
  this.offsetScore += Math.abs(this.zone.utcOffset(A.at) - A.offset), this.zone.abbr(A.at).replace(/[^A-Z]/g, "") !== A.abbr && this.abbrScore++;
5073
5073
  };
5074
5074
  function B(A, W) {
@@ -5076,12 +5076,12 @@ var F0 = { exports: {} }, U0 = { exports: {} };
5076
5076
  s = new y(new Date(A.at + N)), s.offset === A.offset ? A = s : W = s;
5077
5077
  return A;
5078
5078
  }
5079
- function w() {
5080
- var A = (/* @__PURE__ */ new Date()).getFullYear() - 2, W = new y(new Date(A, 0, 1)), s = W.offset, N = [W], X, S, Q, P;
5081
- for (P = 1; P < 48; P++)
5082
- Q = new Date(A, P, 1).getTimezoneOffset(), Q !== s && (S = new y(new Date(A, P, 1)), X = B(W, S), N.push(X), N.push(new y(new Date(X.at + 6e4))), W = S, s = Q);
5083
- for (P = 0; P < 4; P++)
5084
- N.push(new y(new Date(A + P, 0, 1))), N.push(new y(new Date(A + P, 6, 1)));
5079
+ function C() {
5080
+ var A = (/* @__PURE__ */ new Date()).getFullYear() - 2, W = new y(new Date(A, 0, 1)), s = W.offset, N = [W], v, E, Q, k;
5081
+ for (k = 1; k < 48; k++)
5082
+ Q = new Date(A, k, 1).getTimezoneOffset(), Q !== s && (E = new y(new Date(A, k, 1)), v = B(W, E), N.push(v), N.push(new y(new Date(v.at + 6e4))), W = E, s = Q);
5083
+ for (k = 0; k < 4; k++)
5084
+ N.push(new y(new Date(A + k, 0, 1))), N.push(new y(new Date(A + k, 6, 1)));
5085
5085
  return N;
5086
5086
  }
5087
5087
  function Z(A, W) {
@@ -5093,16 +5093,16 @@ var F0 = { exports: {} }, U0 = { exports: {} };
5093
5093
  N = W[s], t[N] = t[N] || {}, t[N][A] = !0;
5094
5094
  }
5095
5095
  function a0(A) {
5096
- var W = A.length, s = {}, N = [], X = {}, S, Q, P, G;
5097
- for (S = 0; S < W; S++)
5098
- if (P = A[S].offset, !X.hasOwnProperty(P)) {
5099
- G = t[P] || {};
5100
- for (Q in G)
5101
- G.hasOwnProperty(Q) && (s[Q] = !0);
5102
- X[P] = !0;
5096
+ var W = A.length, s = {}, N = [], v = {}, E, Q, k, H;
5097
+ for (E = 0; E < W; E++)
5098
+ if (k = A[E].offset, !v.hasOwnProperty(k)) {
5099
+ H = t[k] || {};
5100
+ for (Q in H)
5101
+ H.hasOwnProperty(Q) && (s[Q] = !0);
5102
+ v[k] = !0;
5103
5103
  }
5104
- for (S in s)
5105
- s.hasOwnProperty(S) && N.push(e[S]);
5104
+ for (E in s)
5105
+ s.hasOwnProperty(E) && N.push(e[E]);
5106
5106
  return N;
5107
5107
  }
5108
5108
  function s0() {
@@ -5112,17 +5112,17 @@ var F0 = { exports: {} }, U0 = { exports: {} };
5112
5112
  var W = e[q0(A)];
5113
5113
  if (W)
5114
5114
  return W;
5115
- n0("Moment Timezone found " + A + " from the Intl api, but did not have that data loaded.");
5115
+ e0("Moment Timezone found " + A + " from the Intl api, but did not have that data loaded.");
5116
5116
  }
5117
5117
  } catch {
5118
5118
  }
5119
- var s = w(), N = s.length, X = a0(s), S = [], Q, P, G;
5120
- for (P = 0; P < X.length; P++) {
5121
- for (Q = new F(z0(X[P])), G = 0; G < N; G++)
5122
- Q.scoreOffsetAt(s[G]);
5123
- S.push(Q);
5119
+ var s = C(), N = s.length, v = a0(s), E = [], Q, k, H;
5120
+ for (k = 0; k < v.length; k++) {
5121
+ for (Q = new j(z0(v[k])), H = 0; H < N; H++)
5122
+ Q.scoreOffsetAt(s[H]);
5123
+ E.push(Q);
5124
5124
  }
5125
- return S.sort(Z), S.length > 0 ? S[0].zone.name : void 0;
5125
+ return E.sort(Z), E.length > 0 ? E[0].zone.name : void 0;
5126
5126
  }
5127
5127
  function l0(A) {
5128
5128
  return (!q || A) && (q = s0()), q;
@@ -5131,9 +5131,9 @@ var F0 = { exports: {} }, U0 = { exports: {} };
5131
5131
  return (A || "").toLowerCase().replace(/\//g, "_");
5132
5132
  }
5133
5133
  function W0(A) {
5134
- var W, s, N, X;
5134
+ var W, s, N, v;
5135
5135
  for (typeof A == "string" && (A = [A]), W = 0; W < A.length; W++)
5136
- N = A[W].split("|"), s = N[0], X = q0(s), O[X] = A[W], e[X] = s, Y(X, N[2].split(" "));
5136
+ N = A[W].split("|"), s = N[0], v = q0(s), O[v] = A[W], e[v] = s, Y(v, N[2].split(" "));
5137
5137
  }
5138
5138
  function z0(A, W) {
5139
5139
  A = q0(A);
@@ -5149,67 +5149,67 @@ var F0 = { exports: {} }, U0 = { exports: {} };
5149
5149
  function u0() {
5150
5150
  return Object.keys(o);
5151
5151
  }
5152
- function d0(A) {
5153
- var W, s, N, X;
5152
+ function r0(A) {
5153
+ var W, s, N, v;
5154
5154
  for (typeof A == "string" && (A = [A]), W = 0; W < A.length; W++)
5155
- s = A[W].split("|"), N = q0(s[0]), X = q0(s[1]), p[N] = X, e[N] = s[0], p[X] = N, e[X] = s[1];
5155
+ s = A[W].split("|"), N = q0(s[0]), v = q0(s[1]), p[N] = v, e[N] = s[0], p[v] = N, e[v] = s[1];
5156
5156
  }
5157
5157
  function i0(A) {
5158
- var W, s, N, X;
5158
+ var W, s, N, v;
5159
5159
  if (!(!A || !A.length))
5160
5160
  for (W = 0; W < A.length; W++)
5161
- X = A[W].split("|"), s = X[0].toUpperCase(), N = X[1].split(" "), o[s] = new _(
5161
+ v = A[W].split("|"), s = v[0].toUpperCase(), N = v[1].split(" "), o[s] = new x(
5162
5162
  s,
5163
5163
  N
5164
5164
  );
5165
5165
  }
5166
- function r0(A) {
5166
+ function n0(A) {
5167
5167
  return A = A.toUpperCase(), o[A] || null;
5168
5168
  }
5169
5169
  function L0(A, W) {
5170
- if (A = r0(A), !A)
5170
+ if (A = n0(A), !A)
5171
5171
  return null;
5172
5172
  var s = A.zones.sort();
5173
5173
  return W ? s.map(function(N) {
5174
- var X = z0(N);
5174
+ var v = z0(N);
5175
5175
  return {
5176
5176
  name: N,
5177
- offset: X.utcOffset(/* @__PURE__ */ new Date())
5177
+ offset: v.utcOffset(/* @__PURE__ */ new Date())
5178
5178
  };
5179
5179
  }) : s;
5180
5180
  }
5181
- function k(A) {
5182
- W0(A.zones), d0(A.links), i0(A.countries), E.dataVersion = A.version;
5181
+ function d0(A) {
5182
+ W0(A.zones), r0(A.links), i0(A.countries), X.dataVersion = A.version;
5183
5183
  }
5184
- function D(A) {
5185
- return D.didShowError || (D.didShowError = !0, n0("moment.tz.zoneExists('" + A + "') has been deprecated in favor of !moment.tz.zone('" + A + "')")), !!z0(A);
5184
+ function P(A) {
5185
+ return P.didShowError || (P.didShowError = !0, e0("moment.tz.zoneExists('" + A + "') has been deprecated in favor of !moment.tz.zone('" + A + "')")), !!z0(A);
5186
5186
  }
5187
- function o0(A) {
5187
+ function G(A) {
5188
5188
  var W = A._f === "X" || A._f === "x";
5189
5189
  return !!(A._a && A._tzm === void 0 && !W);
5190
5190
  }
5191
- function n0(A) {
5191
+ function e0(A) {
5192
5192
  typeof console < "u" && typeof console.error == "function" && console.error(A);
5193
5193
  }
5194
- function E(A) {
5195
- var W = Array.prototype.slice.call(arguments, 0, -1), s = arguments[arguments.length - 1], N = M.utc.apply(null, W), X;
5196
- return !M.isMoment(A) && o0(N) && (X = z0(s)) && N.add(X.parse(N), "minutes"), N.tz(s), N;
5194
+ function X(A) {
5195
+ var W = Array.prototype.slice.call(arguments, 0, -1), s = arguments[arguments.length - 1], N = M.utc.apply(null, W), v;
5196
+ return !M.isMoment(A) && G(N) && (v = z0(s)) && N.add(v.parse(N), "minutes"), N.tz(s), N;
5197
5197
  }
5198
- E.version = b, E.dataVersion = "", E._zones = O, E._links = p, E._names = e, E._countries = o, E.add = W0, E.link = d0, E.load = k, E.zone = z0, E.zoneExists = D, E.guess = l0, E.names = f0, E.Zone = R, E.unpack = m, E.unpackBase60 = n, E.needsOffset = o0, E.moveInvalidForward = !0, E.moveAmbiguousForward = !1, E.countries = u0, E.zonesForCountry = L0;
5199
- var c0 = M.fn;
5200
- M.tz = E, M.defaultZone = null, M.updateOffset = function(A, W) {
5198
+ X.version = b, X.dataVersion = "", X._zones = O, X._links = p, X._names = e, X._countries = o, X.add = W0, X.link = r0, X.load = d0, X.zone = z0, X.zoneExists = P, X.guess = l0, X.names = f0, X.Zone = R, X.unpack = m, X.unpackBase60 = n, X.needsOffset = G, X.moveInvalidForward = !0, X.moveAmbiguousForward = !1, X.countries = u0, X.zonesForCountry = L0;
5199
+ var o0 = M.fn;
5200
+ M.tz = X, M.defaultZone = null, M.updateOffset = function(A, W) {
5201
5201
  var s = M.defaultZone, N;
5202
- if (A._z === void 0 && (s && o0(A) && !A._isUTC && A.isValid() && (A._d = M.utc(A._a)._d, A.utc().add(s.parse(A), "minutes")), A._z = s), A._z)
5202
+ if (A._z === void 0 && (s && G(A) && !A._isUTC && A.isValid() && (A._d = M.utc(A._a)._d, A.utc().add(s.parse(A), "minutes")), A._z = s), A._z)
5203
5203
  if (N = A._z.utcOffset(A), Math.abs(N) < 16 && (N = N / 60), A.utcOffset !== void 0) {
5204
- var X = A._z;
5205
- A.utcOffset(-N, W), A._z = X;
5204
+ var v = A._z;
5205
+ A.utcOffset(-N, W), A._z = v;
5206
5206
  } else
5207
5207
  A.zone(N, W);
5208
- }, c0.tz = function(A, W) {
5208
+ }, o0.tz = function(A, W) {
5209
5209
  if (A) {
5210
5210
  if (typeof A != "string")
5211
5211
  throw new Error("Time zone name must be a string, got " + A + " [" + typeof A + "]");
5212
- return this._z = z0(A), this._z ? M.updateOffset(this, W) : n0("Moment Timezone has no data for " + A + ". See http://momentjs.com/timezone/docs/#/data-loading/."), this;
5212
+ return this._z = z0(A), this._z ? M.updateOffset(this, W) : e0("Moment Timezone has no data for " + A + ". See http://momentjs.com/timezone/docs/#/data-loading/."), this;
5213
5213
  }
5214
5214
  if (this._z)
5215
5215
  return this._z.name;
@@ -5229,14 +5229,14 @@ var F0 = { exports: {} }, U0 = { exports: {} };
5229
5229
  return arguments.length > 0 && (this._z = null), A.apply(this, arguments);
5230
5230
  };
5231
5231
  }
5232
- c0.zoneName = N0(c0.zoneName), c0.zoneAbbr = N0(c0.zoneAbbr), c0.utc = B0(c0.utc), c0.local = B0(c0.local), c0.utcOffset = g0(c0.utcOffset), M.tz.setDefault = function(A) {
5233
- return (a < 2 || a === 2 && i < 9) && n0("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js " + M.version + "."), M.defaultZone = A ? z0(A) : null, M;
5232
+ o0.zoneName = N0(o0.zoneName), o0.zoneAbbr = N0(o0.zoneAbbr), o0.utc = B0(o0.utc), o0.local = B0(o0.local), o0.utcOffset = g0(o0.utcOffset), M.tz.setDefault = function(A) {
5233
+ return (a < 2 || a === 2 && i < 9) && e0("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js " + M.version + "."), M.defaultZone = A ? z0(A) : null, M;
5234
5234
  };
5235
5235
  var y0 = M.momentProperties;
5236
5236
  return Object.prototype.toString.call(y0) === "[object Array]" ? (y0.push("_z"), y0.push("_a")) : y0 && (y0._z = null), M;
5237
5237
  });
5238
- })(U0);
5239
- var J2 = U0.exports;
5238
+ })(F0);
5239
+ var J2 = F0.exports;
5240
5240
  const Q2 = "2025a", $2 = [
5241
5241
  "Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5",
5242
5242
  "Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5",
@@ -6089,9 +6089,9 @@ const Q2 = "2025a", $2 = [
6089
6089
  links: Z2,
6090
6090
  countries: Y2
6091
6091
  };
6092
- var bM = F0.exports = J2;
6092
+ var bM = U0.exports = J2;
6093
6093
  bM.tz.load(MM);
6094
- var zM = F0.exports;
6094
+ var zM = U0.exports;
6095
6095
  const _0 = /* @__PURE__ */ K2(zM);
6096
6096
  const pM = {
6097
6097
  name: "IdmPoint",
@@ -6121,7 +6121,7 @@ const pM = {
6121
6121
  return {
6122
6122
  showMeteo: !1,
6123
6123
  point: {},
6124
- meteoTime: H().utc().format(),
6124
+ meteoTime: F().utc().format(),
6125
6125
  meteoData: void 0,
6126
6126
  tableData: {
6127
6127
  hours: [void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0],
@@ -6171,7 +6171,7 @@ const pM = {
6171
6171
  handler() {
6172
6172
  var z;
6173
6173
  if (this.showMeteo = !0, this.showMeteo && this.ts && this.meteoTime) {
6174
- const M = Math.ceil((z = H(this.ts)) == null ? void 0 : z.diff(H(), "d", !0)), b = M > 0 ? 15 - M : 15;
6174
+ const M = Math.ceil((z = F(this.ts)) == null ? void 0 : z.diff(F(), "d", !0)), b = M > 0 ? 15 - M : 15;
6175
6175
  this.fetchMeteoData(this.point, this.ts, b);
6176
6176
  }
6177
6177
  }
@@ -6180,11 +6180,11 @@ const pM = {
6180
6180
  handler() {
6181
6181
  var z, M;
6182
6182
  if (this.showMeteo && this.ts && this.meteoTime) {
6183
- const b = (z = H(this.ts)) == null ? void 0 : z.diff(H(this.meteoTime), "d", !0);
6183
+ const b = (z = F(this.ts)) == null ? void 0 : z.diff(F(this.meteoTime), "d", !0);
6184
6184
  if (b >= 0 && b <= 14)
6185
6185
  this.initTableData(this.meteoData);
6186
6186
  else if (b > 14) {
6187
- const O = Math.ceil((M = H(this.ts)) == null ? void 0 : M.diff(H(), "d", !0));
6187
+ const O = Math.ceil((M = F(this.ts)) == null ? void 0 : M.diff(F(), "d", !0));
6188
6188
  if (O <= 15) {
6189
6189
  const p = O > 0 ? 15 - O : 15;
6190
6190
  this.fetchMeteoData(this.point, this.ts, p);
@@ -6204,7 +6204,7 @@ const pM = {
6204
6204
  },
6205
6205
  computeHourZ() {
6206
6206
  return function(z) {
6207
- return z ? `${H(z).utc().format("HH")}Z` : "-";
6207
+ return z ? `${F(z).utc().format("HH")}Z` : "-";
6208
6208
  };
6209
6209
  },
6210
6210
  computeLat() {
@@ -6228,7 +6228,7 @@ const pM = {
6228
6228
  methods: {
6229
6229
  async fetchMeteoData(z, M, b) {
6230
6230
  this.point = z, this.clearTable(), this.tableData.hours = [void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0], this.handleRender();
6231
- let O = M ? H(M).utc().format() : H().utc().format(), p = {
6231
+ let O = M ? F(M).utc().format() : F().utc().format(), p = {
6232
6232
  lat: z.lat,
6233
6233
  lng: z.lng,
6234
6234
  datetime: O,
@@ -6239,7 +6239,7 @@ const pM = {
6239
6239
  Authorization: this.token || this.defaultMeteoToken
6240
6240
  }
6241
6241
  });
6242
- (o == null ? void 0 : o.data.code) === 0 ? (this.meteoData = o == null ? void 0 : o.data.data, this.meteoTime = O, this.initTableData(this.meteoData)) : (this.clearTable(), this.tableData.hours = [void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0], this.handleRender()), H(this.startTs).diff(H(), "d", !0) < -1 && (O = M ? H(M).add(-14, "d").utc().format() : H().utc().format(), p = {
6242
+ (o == null ? void 0 : o.data.code) === 0 ? (this.meteoData = o == null ? void 0 : o.data.data, this.meteoTime = O, this.initTableData(this.meteoData)) : (this.clearTable(), this.tableData.hours = [void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0], this.handleRender()), F(this.startTs).diff(F(), "d", !0) < -1 && (O = M ? F(M).add(-14, "d").utc().format() : F().utc().format(), p = {
6243
6243
  lat: z.lat,
6244
6244
  lng: z.lng,
6245
6245
  datetime: O,
@@ -6251,17 +6251,25 @@ const pM = {
6251
6251
  }), (o == null ? void 0 : o.data.code) === 0 && (this.historyMeteoData = o == null ? void 0 : o.data.data));
6252
6252
  },
6253
6253
  initTableData(z) {
6254
- var M, b, O, p, o, e, t, q, r, a, i, L, n, h, u, d, m, R, g, _, y, F, B, w, Z, Y, a0, s0, l0, q0, W0, z0, f0, u0, d0, i0;
6255
- this.clearTable(), this.currentHourData = ((M = D0.pickHourly(z, this.ts ? H(this.ts) : H())) == null ? void 0 : M[0]) || {}, this.positionGmt = (O = (b = z.weather) == null ? void 0 : b[0]) == null ? void 0 : O.timezone, this.localDate = _0(this.ts).tz(this.positionGmt).format("MMM-DD/HHmm[LT]");
6256
- for (let r0 = 0; r0 < 8; r0++) {
6257
- const L0 = _0(this.ts).tz(this.positionGmt).add(3 * r0, "h").format();
6258
- this.tableData.hours.push(L0);
6259
- const k = ((p = D0.pickHourly(z, L0)) == null ? void 0 : p[0]) || {};
6260
- this.tableData.weatherUrls.push((o = k.weather) == null ? void 0 : o.url), this.tableData.weatherNames.push(((e = k.weather) == null ? void 0 : e.name) ?? "-"), this.tableData.temp.push(this.roundPrecision((t = k.weather) == null ? void 0 : t.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((r = (q = k.weather) == null ? void 0 : q.precip) == null ? void 0 : r.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((i = (a = k.weather) == null ? void 0 : a.precip) == null ? void 0 : i.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((L = k.weather) == null ? void 0 : L.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((h = (n = k.weather) == null ? void 0 : n.wind) == null ? void 0 : h.kts, 1) ?? "-"), this.tableData.windDir.push((d = (u = k.weather) == null ? void 0 : u.wind) == null ? void 0 : d.bearing), this.tableData.windGust.push(this.roundPrecision((R = (m = k.weather) == null ? void 0 : m.wind) == null ? void 0 : R.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((_ = (g = k.wave) == null ? void 0 : g.sig) == null ? void 0 : _.height, 1) ?? "-"), this.tableData.sigwaveDir.push((F = (y = k.wave) == null ? void 0 : y.sig) == null ? void 0 : F.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((w = (B = k.wave) == null ? void 0 : B.wd) == null ? void 0 : w.height, 1) ?? "-"), this.tableData.windwaveDir.push((Y = (Z = k.wave) == null ? void 0 : Z.wd) == null ? void 0 : Y.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((s0 = (a0 = k.wave) == null ? void 0 : a0.wd) == null ? void 0 : s0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((q0 = (l0 = k.wave) == null ? void 0 : l0.swell) == null ? void 0 : q0.height, 1) ?? "-"), this.tableData.swellDir.push((z0 = (W0 = k.wave) == null ? void 0 : W0.swell) == null ? void 0 : z0.bearing), this.tableData.swellPeriod.push(this.roundPrecision((u0 = (f0 = k.wave) == null ? void 0 : f0.swell) == null ? void 0 : u0.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((d0 = k.current) == null ? void 0 : d0.speed, 1) ?? "-"), this.tableData.currentDir.push((i0 = k.current) == null ? void 0 : i0.bearing), this.tableData.seaLevel.push(this.roundPrecision(k.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(k.sst, 0) ?? "-");
6254
+ var b, O, p, o, e, t, q, r, a, i, L, n, h, u, d, m, R, g, x, y, j, B, C, Z, Y, a0, s0, l0, q0, W0, z0, f0, u0, r0, i0, n0, L0, d0, P;
6255
+ this.clearTable(), this.currentHourData = ((b = D0.pickHourly(z, this.ts ? F(this.ts) : F())) == null ? void 0 : b[0]) || {}, this.positionGmt = (p = (O = z.weather) == null ? void 0 : O[0]) == null ? void 0 : p.timezone, this.localDate = _0(this.ts).tz(this.positionGmt).format("MMM-DD/HHmm[LT]");
6256
+ const M = document.getElementById("meteoMainBox");
6257
+ if (((o = this.currentHourData.weather) == null ? void 0 : o.code) === 0 && ((e = this.currentHourData.weather) == null ? void 0 : e.isDay) === 0)
6258
+ M.className = "main-box night-bg";
6259
+ else {
6260
+ const G = (t = this.currentHourData.weather) == null ? void 0 : t.bg;
6261
+ G ? (M.className = "main-box font-color-white", M.style.backgroundImage = `url(${G})`, G === "https://osshz.idmwx.com/asset/weather/bg2.png" && (M.style.backgroundPosition = "right bottom")) : M.className = "main-box day-bg";
6262
+ }
6263
+ for (let G = 0; G < 8; G++) {
6264
+ const e0 = _0(this.ts).tz(this.positionGmt).add(3 * G, "h").format();
6265
+ this.tableData.hours.push(e0);
6266
+ const X = ((q = D0.pickHourly(z, e0)) == null ? void 0 : q[0]) || {};
6267
+ this.tableData.weatherUrls.push((r = X.weather) == null ? void 0 : r.url), this.tableData.weatherNames.push(((a = X.weather) == null ? void 0 : a.name) ?? "-"), this.tableData.temp.push(this.roundPrecision((i = X.weather) == null ? void 0 : i.temp, 0) ?? "-"), this.tableData.precipProbability.push(this.roundPrecision((n = (L = X.weather) == null ? void 0 : L.precip) == null ? void 0 : n.probability, 0) ?? "-"), this.tableData.precip1h.push(this.roundPrecision((u = (h = X.weather) == null ? void 0 : h.precip) == null ? void 0 : u.sum, 0) ?? "-"), this.tableData.visibility.push(this.roundPrecision((d = X.weather) == null ? void 0 : d.visibility, 0) ?? "-"), this.tableData.windSpeed.push(this.roundPrecision((R = (m = X.weather) == null ? void 0 : m.wind) == null ? void 0 : R.kts, 1) ?? "-"), this.tableData.windDir.push((x = (g = X.weather) == null ? void 0 : g.wind) == null ? void 0 : x.bearing), this.tableData.windGust.push(this.roundPrecision((j = (y = X.weather) == null ? void 0 : y.wind) == null ? void 0 : j.gusts, 1) ?? "-"), this.tableData.sigwaveHeight.push(this.roundPrecision((C = (B = X.wave) == null ? void 0 : B.sig) == null ? void 0 : C.height, 1) ?? "-"), this.tableData.sigwaveDir.push((Y = (Z = X.wave) == null ? void 0 : Z.sig) == null ? void 0 : Y.bearing), this.tableData.windwaveHeight.push(this.roundPrecision((s0 = (a0 = X.wave) == null ? void 0 : a0.wd) == null ? void 0 : s0.height, 1) ?? "-"), this.tableData.windwaveDir.push((q0 = (l0 = X.wave) == null ? void 0 : l0.wd) == null ? void 0 : q0.bearing), this.tableData.windwavePeriod.push(this.roundPrecision((z0 = (W0 = X.wave) == null ? void 0 : W0.wd) == null ? void 0 : z0.period, 1) ?? "-"), this.tableData.swellHeight.push(this.roundPrecision((u0 = (f0 = X.wave) == null ? void 0 : f0.swell) == null ? void 0 : u0.height, 1) ?? "-"), this.tableData.swellDir.push((i0 = (r0 = X.wave) == null ? void 0 : r0.swell) == null ? void 0 : i0.bearing), this.tableData.swellPeriod.push(this.roundPrecision((L0 = (n0 = X.wave) == null ? void 0 : n0.swell) == null ? void 0 : L0.period, 1) ?? "-"), this.tableData.currentSpeed.push(this.roundPrecision((d0 = X.current) == null ? void 0 : d0.speed, 1) ?? "-"), this.tableData.currentDir.push((P = X.current) == null ? void 0 : P.bearing), this.tableData.seaLevel.push(this.roundPrecision(X.height, 1) ?? "-"), this.tableData.seaTemp.push(this.roundPrecision(X.sst, 0) ?? "-");
6261
6268
  }
6262
6269
  },
6263
6270
  clearTable() {
6264
- this.currentHourData = {}, this.positionGmt = void 0, this.localDate = void 0, this.tableData = {
6271
+ const z = document.getElementById("meteoMainBox");
6272
+ z.className = "main-box", z.style.backgroundImage = null, z.style.backgroundPosition = "top left", this.currentHourData = {}, this.positionGmt = void 0, this.localDate = void 0, this.tableData = {
6265
6273
  hours: [],
6266
6274
  weatherUrls: [],
6267
6275
  weatherNames: [],
@@ -6317,26 +6325,29 @@ const pM = {
6317
6325
  }, OM = {
6318
6326
  id: "point-meteo",
6319
6327
  class: "point-meteo"
6320
- }, oM = { class: "meteo-box" }, cM = { class: "header-box flex-between" }, eM = { class: "flex-center" }, AM = { class: "lnglat" }, tM = { class: "main-box" }, aM = { class: "summary-row flex-between" }, qM = { class: "summary flex-center" }, iM = ["src"], rM = {
6328
+ }, oM = { class: "meteo-box" }, cM = { class: "header-box flex-between" }, eM = { class: "flex-center" }, AM = { class: "lnglat" }, tM = {
6329
+ class: "main-box",
6330
+ id: "meteoMainBox"
6331
+ }, aM = { class: "summary-row flex-between" }, qM = { class: "summary flex-center" }, iM = ["src"], rM = {
6321
6332
  key: 1,
6322
6333
  class: "icon flex-center",
6323
6334
  style: { "margin-right": "5px" }
6324
- }, nM = { class: "temp" }, dM = { class: "des info" }, WM = { class: "flex-start" }, sM = { class: "flex-start" }, lM = { class: "flex-start" }, fM = { class: "date flex-col-center-end" }, uM = { class: "" }, LM = { class: "" }, RM = { class: "detail-box" }, hM = { class: "menu-header flex-start" }, mM = { class: "basic-table" }, NM = { class: "hour" }, BM = { class: "hour" }, yM = { class: "icon" }, gM = ["src"], XM = { class: "text" }, vM = { class: "text" }, TM = { class: "text" }, wM = { class: "text" }, CM = { class: "wave-current-table" }, _M = { class: "hour" }, xM = { class: "hour" }, SM = { class: "icon" }, EM = ["src"], PM = { class: "text" }, kM = { class: "text" }, DM = { class: "text" }, IM = { class: "text" }, jM = { class: "sea-table" }, FM = { class: "hour" }, UM = { class: "hour" }, HM = { class: "icon" }, GM = ["src"], VM = { class: "text" }, KM = { class: "text" };
6335
+ }, nM = { class: "temp" }, dM = { class: "des info" }, WM = { class: "flex-start" }, sM = { class: "flex-start" }, lM = { class: "flex-start" }, fM = { class: "date flex-col-center-end" }, uM = { class: "" }, LM = { class: "" }, RM = { class: "detail-box" }, hM = { class: "menu-header flex-start" }, mM = { class: "basic-table" }, NM = { class: "hour" }, BM = { class: "hour" }, yM = { class: "icon" }, gM = ["src"], XM = { class: "text" }, vM = { class: "text" }, TM = { class: "text" }, wM = { class: "text" }, CM = { class: "wave-current-table" }, _M = { class: "hour" }, xM = { class: "hour" }, SM = { class: "icon" }, EM = ["src"], PM = { class: "text" }, kM = { class: "text" }, DM = { class: "text" }, IM = { class: "text" }, jM = { class: "sea-table" }, UM = { class: "hour" }, FM = { class: "hour" }, HM = { class: "icon" }, GM = ["src"], VM = { class: "text" }, KM = { class: "text" };
6325
6336
  function JM(z, M, b, O, p, o) {
6326
- var r, a, i, L, n, h, u, d, m, R, g, _, y, F;
6327
- const e = x("LocationFilled"), t = x("ElIcon"), q = x("ElTooltip");
6337
+ var r, a, i, L, n, h, u, d, m, R, g, x, y, j;
6338
+ const e = S("LocationFilled"), t = S("ElIcon"), q = S("ElTooltip");
6328
6339
  return l(), f("div", null, [
6329
6340
  X0(c("div", OM, [
6330
6341
  c("div", oM, [
6331
6342
  c("div", cM, [
6332
6343
  c("div", eM, [
6333
- v(t, { size: "22" }, {
6334
- default: e0(() => [
6335
- v(e)
6344
+ T(t, { size: "22" }, {
6345
+ default: c0(() => [
6346
+ T(e)
6336
6347
  ]),
6337
6348
  _: 1
6338
6349
  }),
6339
- c("div", AM, C(o.computeLat((r = p.point) == null ? void 0 : r.lat)) + "," + C(o.computeLng((a = p.point) == null ? void 0 : a.lng)), 1)
6350
+ c("div", AM, _(o.computeLat((r = p.point) == null ? void 0 : r.lat)) + "," + _(o.computeLng((a = p.point) == null ? void 0 : a.lng)), 1)
6340
6351
  ]),
6341
6352
  c("div", {
6342
6353
  class: "iconfont close",
@@ -6346,16 +6357,16 @@ function JM(z, M, b, O, p, o) {
6346
6357
  c("div", tM, [
6347
6358
  c("div", aM, [
6348
6359
  c("div", qM, [
6349
- v(q, {
6360
+ T(q, {
6350
6361
  placement: "top",
6351
6362
  effect: "light",
6352
6363
  content: (L = (i = p.currentHourData) == null ? void 0 : i.weather) == null ? void 0 : L.name,
6353
6364
  "show-after": 1e3
6354
6365
  }, {
6355
- default: e0(() => {
6356
- var B, w, Z, Y;
6366
+ default: c0(() => {
6367
+ var B, C, Z, Y;
6357
6368
  return [
6358
- (w = (B = p.currentHourData) == null ? void 0 : B.weather) != null && w.url ? (l(), f("img", {
6369
+ (C = (B = p.currentHourData) == null ? void 0 : B.weather) != null && C.url ? (l(), f("img", {
6359
6370
  key: 0,
6360
6371
  class: "iconfont icon",
6361
6372
  style: { "margin-right": "5px" },
@@ -6366,29 +6377,29 @@ function JM(z, M, b, O, p, o) {
6366
6377
  _: 1
6367
6378
  }, 8, ["content"]),
6368
6379
  c("div", nM, [
6369
- c("span", null, [
6370
- b0(C(o.roundPrecision((h = (n = p.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : h.temp, 0)), 1),
6380
+ c("div", null, [
6381
+ b0(_(o.roundPrecision((h = (n = p.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : h.temp, 0)), 1),
6371
6382
  M[4] || (M[4] = c("span", { style: { "font-size": "14px" } }, "°C", -1))
6372
6383
  ])
6373
6384
  ]),
6374
6385
  c("div", dM, [
6375
6386
  c("div", WM, [
6376
6387
  M[5] || (M[5] = c("label", null, "Precip : ", -1)),
6377
- c("span", null, C(o.roundPrecision((m = (d = (u = p.currentHourData) == null ? void 0 : u.weather) == null ? void 0 : d.precip) == null ? void 0 : m.sum, 0)) + " mm", 1)
6388
+ c("span", null, _(o.roundPrecision((m = (d = (u = p.currentHourData) == null ? void 0 : u.weather) == null ? void 0 : d.precip) == null ? void 0 : m.sum, 0)) + " mm", 1)
6378
6389
  ]),
6379
6390
  c("div", sM, [
6380
6391
  M[6] || (M[6] = c("label", null, "Visibility : ", -1)),
6381
- c("span", null, C(o.roundPrecision((g = (R = p.currentHourData) == null ? void 0 : R.weather) == null ? void 0 : g.visibility, 0)) + " nm", 1)
6392
+ c("span", null, _(o.roundPrecision((g = (R = p.currentHourData) == null ? void 0 : R.weather) == null ? void 0 : g.visibility, 0)) + " nm", 1)
6382
6393
  ]),
6383
6394
  c("div", lM, [
6384
6395
  M[7] || (M[7] = c("label", null, "Wind : ", -1)),
6385
- c("span", null, C(o.roundPrecision((F = (y = (_ = p.currentHourData) == null ? void 0 : _.weather) == null ? void 0 : y.wind) == null ? void 0 : F.kts, 1)) + " kts", 1)
6396
+ c("span", null, _(o.roundPrecision((j = (y = (x = p.currentHourData) == null ? void 0 : x.weather) == null ? void 0 : y.wind) == null ? void 0 : j.kts, 1)) + " kts", 1)
6386
6397
  ])
6387
6398
  ])
6388
6399
  ]),
6389
6400
  c("div", fM, [
6390
- c("div", uM, C(p.localDate), 1),
6391
- c("div", LM, C(p.positionGmt), 1)
6401
+ c("div", uM, _(p.localDate), 1),
6402
+ c("div", LM, _(p.positionGmt), 1)
6392
6403
  ])
6393
6404
  ]),
6394
6405
  c("div", RM, [
@@ -6420,7 +6431,7 @@ function JM(z, M, b, O, p, o) {
6420
6431
  rowspan: "1",
6421
6432
  colspan: "1",
6422
6433
  key: Math.random()
6423
- }, C(o.computeHourL(B)), 1))), 128))
6434
+ }, _(o.computeHourL(B)), 1))), 128))
6424
6435
  ]),
6425
6436
  c("tr", BM, [
6426
6437
  M[9] || (M[9] = c("th", {
@@ -6435,7 +6446,7 @@ function JM(z, M, b, O, p, o) {
6435
6446
  rowspan: "1",
6436
6447
  colspan: "1",
6437
6448
  key: Math.random()
6438
- }, C(o.computeHourZ(B)), 1))), 128))
6449
+ }, _(o.computeHourZ(B)), 1))), 128))
6439
6450
  ]),
6440
6451
  c("tr", yM, [
6441
6452
  M[10] || (M[10] = c("th", {
@@ -6443,18 +6454,18 @@ function JM(z, M, b, O, p, o) {
6443
6454
  colspan: "1",
6444
6455
  class: "tr-title"
6445
6456
  }, null, -1)),
6446
- (l(!0), f(K, null, $(p.tableData.weatherUrls, (B, w) => (l(), f("th", {
6457
+ (l(!0), f(K, null, $(p.tableData.weatherUrls, (B, C) => (l(), f("th", {
6447
6458
  rowspan: "1",
6448
6459
  colspan: "1",
6449
6460
  key: Math.random()
6450
6461
  }, [
6451
- v(q, {
6462
+ T(q, {
6452
6463
  placement: "top",
6453
6464
  effect: "light",
6454
- content: p.tableData.weatherNames[w],
6465
+ content: p.tableData.weatherNames[C],
6455
6466
  "show-after": 500
6456
6467
  }, {
6457
- default: e0(() => [
6468
+ default: c0(() => [
6458
6469
  B ? (l(), f("img", {
6459
6470
  key: 0,
6460
6471
  class: "iconfont weather-icon",
@@ -6478,7 +6489,7 @@ function JM(z, M, b, O, p, o) {
6478
6489
  rowspan: "1",
6479
6490
  colspan: "1",
6480
6491
  key: Math.random()
6481
- }, C(B), 1))), 128))
6492
+ }, _(B), 1))), 128))
6482
6493
  ]),
6483
6494
  c("tr", vM, [
6484
6495
  M[12] || (M[12] = c("td", {
@@ -6493,7 +6504,7 @@ function JM(z, M, b, O, p, o) {
6493
6504
  rowspan: "1",
6494
6505
  colspan: "1",
6495
6506
  key: Math.random()
6496
- }, C(B), 1))), 128))
6507
+ }, _(B), 1))), 128))
6497
6508
  ]),
6498
6509
  c("tr", TM, [
6499
6510
  M[13] || (M[13] = c("td", {
@@ -6508,7 +6519,7 @@ function JM(z, M, b, O, p, o) {
6508
6519
  rowspan: "1",
6509
6520
  colspan: "1",
6510
6521
  key: Math.random()
6511
- }, C(B), 1))), 128))
6522
+ }, _(B), 1))), 128))
6512
6523
  ]),
6513
6524
  c("tr", wM, [
6514
6525
  M[14] || (M[14] = c("td", {
@@ -6519,17 +6530,17 @@ function JM(z, M, b, O, p, o) {
6519
6530
  b0("Wind"),
6520
6531
  c("span", { class: "unit" }, "kts")
6521
6532
  ], -1)),
6522
- (l(!0), f(K, null, $(p.tableData.windSpeed, (B, w) => (l(), f("td", {
6533
+ (l(!0), f(K, null, $(p.tableData.windSpeed, (B, C) => (l(), f("td", {
6523
6534
  rowspan: "1",
6524
6535
  colspan: "1",
6525
6536
  key: Math.random()
6526
6537
  }, [
6527
- isNaN(p.tableData.windDir[w]) ? U("", !0) : (l(), f("span", {
6538
+ isNaN(p.tableData.windDir[C]) ? U("", !0) : (l(), f("span", {
6528
6539
  key: 0,
6529
6540
  class: "iconfont icon blue",
6530
- style: p0({ display: "inline-block", transform: `rotate(${p.tableData.windDir[w]}deg)` })
6541
+ style: p0({ display: "inline-block", transform: `rotate(${p.tableData.windDir[C]}deg)` })
6531
6542
  }, "", 4)),
6532
- c("span", null, C(B), 1)
6543
+ c("span", null, _(B), 1)
6533
6544
  ]))), 128))
6534
6545
  ])
6535
6546
  ], 512), [
@@ -6549,7 +6560,7 @@ function JM(z, M, b, O, p, o) {
6549
6560
  rowspan: "1",
6550
6561
  colspan: "1",
6551
6562
  key: Math.random()
6552
- }, C(o.computeHourL(B)), 1))), 128))
6563
+ }, _(o.computeHourL(B)), 1))), 128))
6553
6564
  ]),
6554
6565
  c("tr", xM, [
6555
6566
  M[16] || (M[16] = c("th", {
@@ -6564,25 +6575,25 @@ function JM(z, M, b, O, p, o) {
6564
6575
  rowspan: "1",
6565
6576
  colspan: "1",
6566
6577
  key: Math.random()
6567
- }, C(o.computeHourZ(B)), 1))), 128))
6578
+ }, _(o.computeHourZ(B)), 1))), 128))
6568
6579
  ]),
6569
6580
  c("tr", SM, [
6570
6581
  M[17] || (M[17] = c("th", {
6571
6582
  rowspan: "1",
6572
6583
  colspan: "1"
6573
6584
  }, null, -1)),
6574
- (l(!0), f(K, null, $(p.tableData.weatherUrls, (B, w) => (l(), f("th", {
6585
+ (l(!0), f(K, null, $(p.tableData.weatherUrls, (B, C) => (l(), f("th", {
6575
6586
  rowspan: "1",
6576
6587
  colspan: "1",
6577
6588
  key: Math.random()
6578
6589
  }, [
6579
- v(q, {
6590
+ T(q, {
6580
6591
  placement: "top",
6581
6592
  effect: "light",
6582
- content: p.tableData.weatherNames[w],
6593
+ content: p.tableData.weatherNames[C],
6583
6594
  "show-after": 500
6584
6595
  }, {
6585
- default: e0(() => [
6596
+ default: c0(() => [
6586
6597
  B ? (l(), f("img", {
6587
6598
  key: 0,
6588
6599
  class: "iconfont weather-icon",
@@ -6602,17 +6613,17 @@ function JM(z, M, b, O, p, o) {
6602
6613
  b0("Sig Wave"),
6603
6614
  c("span", { class: "unit" }, "m")
6604
6615
  ], -1)),
6605
- (l(!0), f(K, null, $(p.tableData.sigwaveHeight, (B, w) => (l(), f("td", {
6616
+ (l(!0), f(K, null, $(p.tableData.sigwaveHeight, (B, C) => (l(), f("td", {
6606
6617
  rowspan: "1",
6607
6618
  colspan: "1",
6608
6619
  key: Math.random()
6609
6620
  }, [
6610
- isNaN(p.tableData.sigwaveDir[w]) ? U("", !0) : (l(), f("span", {
6621
+ isNaN(p.tableData.sigwaveDir[C]) ? U("", !0) : (l(), f("span", {
6611
6622
  key: 0,
6612
6623
  class: "iconfont icon blue",
6613
- style: p0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[w]}deg)` })
6624
+ style: p0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[C]}deg)` })
6614
6625
  }, "", 4)),
6615
- c("span", null, C(B), 1)
6626
+ c("span", null, _(B), 1)
6616
6627
  ]))), 128))
6617
6628
  ]),
6618
6629
  c("tr", kM, [
@@ -6624,17 +6635,17 @@ function JM(z, M, b, O, p, o) {
6624
6635
  b0("Wind Wave"),
6625
6636
  c("span", { class: "unit" }, "m")
6626
6637
  ], -1)),
6627
- (l(!0), f(K, null, $(p.tableData.windwaveHeight, (B, w) => (l(), f("td", {
6638
+ (l(!0), f(K, null, $(p.tableData.windwaveHeight, (B, C) => (l(), f("td", {
6628
6639
  rowspan: "1",
6629
6640
  colspan: "1",
6630
6641
  key: Math.random()
6631
6642
  }, [
6632
- isNaN(p.tableData.sigwaveDir[w]) ? U("", !0) : (l(), f("span", {
6643
+ isNaN(p.tableData.sigwaveDir[C]) ? U("", !0) : (l(), f("span", {
6633
6644
  key: 0,
6634
6645
  class: "iconfont icon orange",
6635
- style: p0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[w]}deg)` })
6646
+ style: p0({ display: "inline-block", transform: `rotate(${p.tableData.sigwaveDir[C]}deg)` })
6636
6647
  }, "", 4)),
6637
- c("span", null, C(B), 1)
6648
+ c("span", null, _(B), 1)
6638
6649
  ]))), 128))
6639
6650
  ]),
6640
6651
  c("tr", DM, [
@@ -6646,17 +6657,17 @@ function JM(z, M, b, O, p, o) {
6646
6657
  b0("Swell"),
6647
6658
  c("span", { class: "unit" }, "m")
6648
6659
  ], -1)),
6649
- (l(!0), f(K, null, $(p.tableData.swellHeight, (B, w) => (l(), f("td", {
6660
+ (l(!0), f(K, null, $(p.tableData.swellHeight, (B, C) => (l(), f("td", {
6650
6661
  rowspan: "1",
6651
6662
  colspan: "1",
6652
6663
  key: Math.random()
6653
6664
  }, [
6654
- isNaN(p.tableData.swellDir[w]) ? U("", !0) : (l(), f("span", {
6665
+ isNaN(p.tableData.swellDir[C]) ? U("", !0) : (l(), f("span", {
6655
6666
  key: 0,
6656
6667
  class: "iconfont icon orange",
6657
- style: p0({ display: "inline-block", transform: `rotate(${p.tableData.swellDir[w]}deg)` })
6668
+ style: p0({ display: "inline-block", transform: `rotate(${p.tableData.swellDir[C]}deg)` })
6658
6669
  }, "", 4)),
6659
- c("span", null, C(B), 1)
6670
+ c("span", null, _(B), 1)
6660
6671
  ]))), 128))
6661
6672
  ]),
6662
6673
  c("tr", IM, [
@@ -6668,24 +6679,25 @@ function JM(z, M, b, O, p, o) {
6668
6679
  b0("Current"),
6669
6680
  c("span", { class: "unit" }, "kts")
6670
6681
  ], -1)),
6671
- (l(!0), f(K, null, $(p.tableData.currentSpeed, (B, w) => (l(), f("td", {
6682
+ (l(!0), f(K, null, $(p.tableData.currentSpeed, (B, C) => (l(), f("td", {
6672
6683
  rowspan: "1",
6673
6684
  colspan: "1",
6674
6685
  key: Math.random()
6675
6686
  }, [
6676
- isNaN(p.tableData.currentDir[w]) ? U("", !0) : (l(), f("span", {
6687
+ isNaN(p.tableData.currentDir[C]) ? U("", !0) : (l(), f("span", {
6677
6688
  key: 0,
6678
6689
  class: "iconfont icon gray",
6679
- style: p0({ display: "inline-block", transform: `rotate(${p.tableData.currentDir[w]}deg)` })
6690
+ id: "meteoGrayIcon",
6691
+ style: p0({ display: "inline-block", transform: `rotate(${p.tableData.currentDir[C]}deg)` })
6680
6692
  }, "", 4)),
6681
- c("span", null, C(B), 1)
6693
+ c("span", null, _(B), 1)
6682
6694
  ]))), 128))
6683
6695
  ])
6684
6696
  ], 512), [
6685
6697
  [v0, p.activeIndex === 2]
6686
6698
  ]),
6687
6699
  X0(c("table", jM, [
6688
- c("tr", FM, [
6700
+ c("tr", UM, [
6689
6701
  M[22] || (M[22] = c("th", {
6690
6702
  rowspan: "1",
6691
6703
  colspan: "1",
@@ -6698,9 +6710,9 @@ function JM(z, M, b, O, p, o) {
6698
6710
  rowspan: "1",
6699
6711
  colspan: "1",
6700
6712
  key: Math.random()
6701
- }, C(o.computeHourL(B)), 1))), 128))
6713
+ }, _(o.computeHourL(B)), 1))), 128))
6702
6714
  ]),
6703
- c("tr", UM, [
6715
+ c("tr", FM, [
6704
6716
  M[23] || (M[23] = c("th", {
6705
6717
  rowspan: "1",
6706
6718
  colspan: "1",
@@ -6713,7 +6725,7 @@ function JM(z, M, b, O, p, o) {
6713
6725
  rowspan: "1",
6714
6726
  colspan: "1",
6715
6727
  key: Math.random()
6716
- }, C(o.computeHourZ(B)), 1))), 128))
6728
+ }, _(o.computeHourZ(B)), 1))), 128))
6717
6729
  ]),
6718
6730
  c("tr", HM, [
6719
6731
  M[24] || (M[24] = c("th", {
@@ -6721,18 +6733,18 @@ function JM(z, M, b, O, p, o) {
6721
6733
  colspan: "1",
6722
6734
  class: "tr-title"
6723
6735
  }, null, -1)),
6724
- (l(!0), f(K, null, $(p.tableData.weatherUrls, (B, w) => (l(), f("th", {
6736
+ (l(!0), f(K, null, $(p.tableData.weatherUrls, (B, C) => (l(), f("th", {
6725
6737
  rowspan: "1",
6726
6738
  colspan: "1",
6727
6739
  key: Math.random()
6728
6740
  }, [
6729
- v(q, {
6741
+ T(q, {
6730
6742
  placement: "top",
6731
6743
  effect: "light",
6732
- content: p.tableData.weatherNames[w],
6744
+ content: p.tableData.weatherNames[C],
6733
6745
  "show-after": 500
6734
6746
  }, {
6735
- default: e0(() => [
6747
+ default: c0(() => [
6736
6748
  B ? (l(), f("img", {
6737
6749
  key: 0,
6738
6750
  class: "iconfont weather-icon",
@@ -6756,7 +6768,7 @@ function JM(z, M, b, O, p, o) {
6756
6768
  rowspan: "1",
6757
6769
  colspan: "1",
6758
6770
  key: Math.random()
6759
- }, C(B), 1))), 128))
6771
+ }, _(B), 1))), 128))
6760
6772
  ]),
6761
6773
  c("tr", KM, [
6762
6774
  M[26] || (M[26] = c("td", {
@@ -6771,7 +6783,7 @@ function JM(z, M, b, O, p, o) {
6771
6783
  rowspan: "1",
6772
6784
  colspan: "1",
6773
6785
  key: Math.random()
6774
- }, C(B), 1))), 128))
6786
+ }, _(B), 1))), 128))
6775
6787
  ])
6776
6788
  ], 512), [
6777
6789
  [v0, p.activeIndex === 3]
@@ -6787,7 +6799,7 @@ function JM(z, M, b, O, p, o) {
6787
6799
  ])
6788
6800
  ]);
6789
6801
  }
6790
- const QM = /* @__PURE__ */ I(pM, [["render", JM], ["__scopeId", "data-v-a65b3f88"]]), $M = {
6802
+ const QM = /* @__PURE__ */ D(pM, [["render", JM], ["__scopeId", "data-v-e19202e0"]]), $M = {
6791
6803
  name: "IdmWarZone",
6792
6804
  props: {
6793
6805
  map: {
@@ -6880,7 +6892,7 @@ const QM = /* @__PURE__ */ I(pM, [["render", JM], ["__scopeId", "data-v-a65b3f88
6880
6892
  function ZM(z, M, b, O, p, o) {
6881
6893
  return l(), f("div");
6882
6894
  }
6883
- const YM = /* @__PURE__ */ I($M, [["render", ZM]]), Mb = {
6895
+ const YM = /* @__PURE__ */ D($M, [["render", ZM]]), Mb = {
6884
6896
  name: "IdmGmdssArea",
6885
6897
  props: {
6886
6898
  map: {
@@ -7003,7 +7015,7 @@ const YM = /* @__PURE__ */ I($M, [["render", ZM]]), Mb = {
7003
7015
  function bb(z, M, b, O, p, o) {
7004
7016
  return l(), f("div");
7005
7017
  }
7006
- const zb = /* @__PURE__ */ I(Mb, [["render", bb]]), pb = {
7018
+ const zb = /* @__PURE__ */ D(Mb, [["render", bb]]), pb = {
7007
7019
  name: "IdmEcaZone",
7008
7020
  props: {
7009
7021
  map: {
@@ -7094,7 +7106,7 @@ const zb = /* @__PURE__ */ I(Mb, [["render", bb]]), pb = {
7094
7106
  function Ob(z, M, b, O, p, o) {
7095
7107
  return l(), f("div");
7096
7108
  }
7097
- const ob = /* @__PURE__ */ I(pb, [["render", Ob]]);
7109
+ const ob = /* @__PURE__ */ D(pb, [["render", Ob]]);
7098
7110
  const cb = {
7099
7111
  name: "IdmAlertZone",
7100
7112
  props: {
@@ -7241,7 +7253,7 @@ function tb(z, M, b, O, p, o) {
7241
7253
  [v0, p.showZone]
7242
7254
  ]);
7243
7255
  }
7244
- const ab = /* @__PURE__ */ I(cb, [["render", tb]]);
7256
+ const ab = /* @__PURE__ */ D(cb, [["render", tb]]);
7245
7257
  const qb = {
7246
7258
  name: "IdmPort",
7247
7259
  props: {
@@ -7349,26 +7361,26 @@ function lb(z, M, b, O, p, o) {
7349
7361
  M[2] || (M[2] = c("label", null, "Name : ", -1)),
7350
7362
  c("span", {
7351
7363
  onClick: M[1] || (M[1] = (...e) => o.handleEmit && o.handleEmit(...e))
7352
- }, C(p.form.name), 1)
7364
+ }, _(p.form.name), 1)
7353
7365
  ]),
7354
7366
  c("div", db, [
7355
7367
  M[3] || (M[3] = c("label", null, "Position : ", -1)),
7356
- c("span", null, C(o.computeLat(p.form.lat)) + ", " + C(o.computeLng(p.form.lng)), 1)
7368
+ c("span", null, _(o.computeLat(p.form.lat)) + ", " + _(o.computeLng(p.form.lng)), 1)
7357
7369
  ]),
7358
7370
  c("div", Wb, [
7359
7371
  M[4] || (M[4] = c("label", null, "LoCode : ", -1)),
7360
- c("span", null, C(p.form.loCode || "-"), 1)
7372
+ c("span", null, _(p.form.loCode || "-"), 1)
7361
7373
  ]),
7362
7374
  c("div", sb, [
7363
7375
  M[5] || (M[5] = c("label", null, "Region : ", -1)),
7364
- c("span", null, C(p.form.zoneName || "-"), 1)
7376
+ c("span", null, _(p.form.zoneName || "-"), 1)
7365
7377
  ])
7366
7378
  ])
7367
7379
  ], 512)), [
7368
7380
  [v0, p.showPort]
7369
7381
  ]);
7370
7382
  }
7371
- const fb = /* @__PURE__ */ I(qb, [["render", lb], ["__scopeId", "data-v-c07e4c45"]]), ub = {
7383
+ const fb = /* @__PURE__ */ D(qb, [["render", lb], ["__scopeId", "data-v-c07e4c45"]]), ub = {
7372
7384
  name: "IdmLoadLine",
7373
7385
  props: {
7374
7386
  map: {
@@ -7441,7 +7453,7 @@ const fb = /* @__PURE__ */ I(qb, [["render", lb], ["__scopeId", "data-v-c07e4c45
7441
7453
  function Lb(z, M, b, O, p, o) {
7442
7454
  return l(), f("div");
7443
7455
  }
7444
- const Rb = /* @__PURE__ */ I(ub, [["render", Lb]]), hb = {
7456
+ const Rb = /* @__PURE__ */ D(ub, [["render", Lb]]), hb = {
7445
7457
  name: "IdmTimezone",
7446
7458
  props: {
7447
7459
  map: {
@@ -7609,7 +7621,7 @@ const Rb = /* @__PURE__ */ I(ub, [["render", Lb]]), hb = {
7609
7621
  function mb(z, M, b, O, p, o) {
7610
7622
  return l(), f("div");
7611
7623
  }
7612
- const Nb = /* @__PURE__ */ I(hb, [["render", mb]]), Bb = {
7624
+ const Nb = /* @__PURE__ */ D(hb, [["render", mb]]), Bb = {
7613
7625
  name: "IdmVoluntaryReportingArea",
7614
7626
  props: {
7615
7627
  map: {
@@ -7700,7 +7712,7 @@ const Nb = /* @__PURE__ */ I(hb, [["render", mb]]), Bb = {
7700
7712
  function yb(z, M, b, O, p, o) {
7701
7713
  return l(), f("div");
7702
7714
  }
7703
- const gb = /* @__PURE__ */ I(Bb, [["render", yb]]), Xb = {
7715
+ const gb = /* @__PURE__ */ D(Bb, [["render", yb]]), Xb = {
7704
7716
  name: "IdmSpecialArea",
7705
7717
  props: {
7706
7718
  map: {
@@ -7793,7 +7805,7 @@ const gb = /* @__PURE__ */ I(Bb, [["render", yb]]), Xb = {
7793
7805
  function vb(z, M, b, O, p, o) {
7794
7806
  return l(), f("div");
7795
7807
  }
7796
- const Tb = /* @__PURE__ */ I(Xb, [["render", vb]]), wb = {
7808
+ const Tb = /* @__PURE__ */ D(Xb, [["render", vb]]), wb = {
7797
7809
  name: "IdmTerminator",
7798
7810
  props: {
7799
7811
  map: {
@@ -7845,7 +7857,7 @@ const Tb = /* @__PURE__ */ I(Xb, [["render", vb]]), wb = {
7845
7857
  function Cb(z, M, b, O, p, o) {
7846
7858
  return l(), f("div");
7847
7859
  }
7848
- const _b = /* @__PURE__ */ I(wb, [["render", Cb]]);
7860
+ const _b = /* @__PURE__ */ D(wb, [["render", Cb]]);
7849
7861
  const xb = {
7850
7862
  name: "IdmLatLng",
7851
7863
  props: {
@@ -7953,7 +7965,7 @@ const xb = {
7953
7965
  handleZoomEnd() {
7954
7966
  var M;
7955
7967
  const z = this.handleComputeLatLngs();
7956
- (M = this.map) == null || M.getSource(this.source).setData(T.featureCollection(z));
7968
+ (M = this.map) == null || M.getSource(this.source).setData(w.featureCollection(z));
7957
7969
  },
7958
7970
  handleRender() {
7959
7971
  if (this.map) {
@@ -8008,12 +8020,12 @@ function Sb(z, M, b, O, p, o) {
8008
8020
  class: "lat-lng-tip",
8009
8021
  style: p0({ right: p.right + "px", bottom: b.bottom })
8010
8022
  }, [
8011
- c("span", null, C(p.lngLat.lat.pretty), 1),
8023
+ c("span", null, _(p.lngLat.lat.pretty), 1),
8012
8024
  M[0] || (M[0] = c("span", null, ", ", -1)),
8013
- c("span", null, C(p.lngLat.lng.pretty), 1)
8025
+ c("span", null, _(p.lngLat.lng.pretty), 1)
8014
8026
  ], 4)) : U("", !0);
8015
8027
  }
8016
- const H0 = /* @__PURE__ */ I(xb, [["render", Sb], ["__scopeId", "data-v-ad66a24c"]]), Eb = {
8028
+ const H0 = /* @__PURE__ */ D(xb, [["render", Sb], ["__scopeId", "data-v-ad66a24c"]]), Eb = {
8017
8029
  name: "IdmMeasure",
8018
8030
  props: {
8019
8031
  map: {
@@ -8133,8 +8145,8 @@ const H0 = /* @__PURE__ */ I(xb, [["render", Sb], ["__scopeId", "data-v-ad66a24c
8133
8145
  q.features = q.features.filter((r) => r.geometry.type === "Point" && r.properties.id !== t[1]), this.handlePointUpdate(q);
8134
8146
  } else if (M !== "marker-label") {
8135
8147
  let t = this.geojson.at(-1);
8136
- t || (t = T.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(t)), t.features = t.features.filter((r) => r.geometry.type === "Point");
8137
- const q = T.feature(
8148
+ t || (t = w.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(t)), t.features = t.features.filter((r) => r.geometry.type === "Point");
8149
+ const q = w.feature(
8138
8150
  {
8139
8151
  type: "Point",
8140
8152
  coordinates: [z.lngLat.lng, z.lngLat.lat]
@@ -8157,7 +8169,7 @@ const H0 = /* @__PURE__ */ I(xb, [["render", Sb], ["__scopeId", "data-v-ad66a24c
8157
8169
  b = M0.roundPrecision(b + a, 2);
8158
8170
  let L;
8159
8171
  t.mode === "RL" ? L = M0.convertToMonotonicLng([q, r]) : L = M0.convertToMonotonicLng(R0.interpolateCoordinates(q, r, 200));
8160
- const n = T.lineString(L.map((h) => [h.lng, h.lat]));
8172
+ const n = w.lineString(L.map((h) => [h.lng, h.lat]));
8161
8173
  n.properties.dist = a, n.properties.bearing = i, n.properties.total = b, O.push(n);
8162
8174
  }
8163
8175
  M.push(...O), z.total = b;
@@ -8165,14 +8177,14 @@ const H0 = /* @__PURE__ */ I(xb, [["render", Sb], ["__scopeId", "data-v-ad66a24c
8165
8177
  return this.handleRender(z), z;
8166
8178
  },
8167
8179
  handleTmpPointUpdate(z, M, b, O) {
8168
- const p = T.featureCollection([]);
8180
+ const p = w.featureCollection([]);
8169
8181
  let o, e;
8170
8182
  if (M) {
8171
8183
  const q = M.properties, r = { lng: M.geometry.coordinates[0], lat: M.geometry.coordinates[1] }, a = { lng: b.lng, lat: b.lat };
8172
8184
  o = R0.calculateDistance(r, a, q.mode === "RL", 2), e = R0.calculateBearing(r, a, q.mode === "RL", 2);
8173
8185
  let i;
8174
8186
  q.mode === "RL" ? i = M0.convertToMonotonicLng([r, a]) : i = M0.convertToMonotonicLng(R0.interpolateCoordinates(r, a, 200));
8175
- const L = T.lineString(i.map((n) => [n.lng, n.lat]));
8187
+ const L = w.lineString(i.map((n) => [n.lng, n.lat]));
8176
8188
  L.properties.dist = o, L.properties.bearing = e, p.features.push(L);
8177
8189
  }
8178
8190
  if (O) {
@@ -8180,7 +8192,7 @@ const H0 = /* @__PURE__ */ I(xb, [["render", Sb], ["__scopeId", "data-v-ad66a24c
8180
8192
  o = R0.calculateDistance(r, a, q.mode === "RL", 2), e = R0.calculateBearing(r, a, q.mode === "RL", 2);
8181
8193
  let i;
8182
8194
  q.mode === "RL" ? i = M0.convertToMonotonicLng([r, a]) : i = M0.convertToMonotonicLng(R0.interpolateCoordinates(r, a, 200));
8183
- const L = T.lineString(i.map((n) => [n.lng, n.lat]));
8195
+ const L = w.lineString(i.map((n) => [n.lng, n.lat]));
8184
8196
  L.properties.dist = o, L.properties.bearing = e, p.features.push(L);
8185
8197
  }
8186
8198
  this.map.getSource(this.tmpSource) ? this.map.getSource(this.tmpSource).setData(p) : this.map.addSource(this.tmpSource, {
@@ -8231,14 +8243,14 @@ const H0 = /* @__PURE__ */ I(xb, [["render", Sb], ["__scopeId", "data-v-ad66a24c
8231
8243
  handleMove(z) {
8232
8244
  this.map.getCanvas().style.cursor = "crosshair";
8233
8245
  let M = this.geojson.at(-1);
8234
- M || (M = T.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M));
8246
+ M || (M = w.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M));
8235
8247
  const b = M.features.filter((O) => O.geometry.type === "Point");
8236
8248
  b != null && b.length && this.handleTmpPointUpdate(M, b.at(-1), { lng: z.lngLat.lng, lat: z.lngLat.lat });
8237
8249
  },
8238
8250
  handleDblClick(z) {
8239
8251
  z.preventDefault();
8240
8252
  let M = this.geojson.at(-1);
8241
- M.closed = !0, this.handleRender(M), M = T.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M);
8253
+ M.closed = !0, this.handleRender(M), M = w.featureCollection([], { id: (/* @__PURE__ */ new Date()).getTime().toString() }), this.geojson.push(M);
8242
8254
  },
8243
8255
  handleRender(z) {
8244
8256
  var M;
@@ -8304,7 +8316,7 @@ const H0 = /* @__PURE__ */ I(xb, [["render", Sb], ["__scopeId", "data-v-ad66a24c
8304
8316
  function Pb(z, M, b, O, p, o) {
8305
8317
  return l(), f("div");
8306
8318
  }
8307
- const kb = /* @__PURE__ */ I(Eb, [["render", Pb]]);
8319
+ const kb = /* @__PURE__ */ D(Eb, [["render", Pb]]);
8308
8320
  const Db = {
8309
8321
  name: "IdmENC",
8310
8322
  props: {
@@ -8358,21 +8370,21 @@ const Db = {
8358
8370
  },
8359
8371
  methods: {}
8360
8372
  }, Ib = { key: 0 }, jb = { class: "bar-item" };
8361
- function Fb(z, M, b, O, p, o) {
8362
- const e = x("ElTooltip");
8373
+ function Ub(z, M, b, O, p, o) {
8374
+ const e = S("ElTooltip");
8363
8375
  return b.enabled && b.permission & p.helper.LEVEL.Supper ? (l(), f("div", Ib, [
8364
8376
  c("div", {
8365
8377
  class: "menu-bar-box",
8366
8378
  style: p0({ position: "absolute", right: p.right + "px", bottom: b.bottom })
8367
8379
  }, [
8368
8380
  c("div", jb, [
8369
- v(e, {
8381
+ T(e, {
8370
8382
  placement: "left",
8371
8383
  effect: "light",
8372
8384
  content: "Hifleet",
8373
8385
  "show-after": 1e3
8374
8386
  }, {
8375
- default: e0(() => [
8387
+ default: c0(() => [
8376
8388
  c("div", {
8377
8389
  class: J(p.vendor === "hi" ? "menu-icon active" : "menu-icon"),
8378
8390
  onClick: M[0] || (M[0] = (t) => p.vendor = "hi")
@@ -8382,13 +8394,13 @@ function Fb(z, M, b, O, p, o) {
8382
8394
  ]),
8383
8395
  _: 1
8384
8396
  }),
8385
- v(e, {
8397
+ T(e, {
8386
8398
  placement: "left",
8387
8399
  effect: "light",
8388
8400
  content: "I4insight",
8389
8401
  "show-after": 1e3
8390
8402
  }, {
8391
- default: e0(() => [
8403
+ default: c0(() => [
8392
8404
  c("div", {
8393
8405
  class: J(p.vendor === "i4" ? "menu-icon active" : "menu-icon"),
8394
8406
  onClick: M[1] || (M[1] = (t) => p.vendor = "i4")
@@ -8402,7 +8414,7 @@ function Fb(z, M, b, O, p, o) {
8402
8414
  ], 4)
8403
8415
  ])) : U("", !0);
8404
8416
  }
8405
- const Ub = /* @__PURE__ */ I(Db, [["render", Fb], ["__scopeId", "data-v-7301123d"]]);
8417
+ const Fb = /* @__PURE__ */ D(Db, [["render", Ub], ["__scopeId", "data-v-7301123d"]]);
8406
8418
  const Hb = {
8407
8419
  name: "IdmGLV2",
8408
8420
  components: {
@@ -8421,7 +8433,7 @@ const Hb = {
8421
8433
  IdmVisibility: w2,
8422
8434
  IdmWaterTemp: S2,
8423
8435
  IdmTemp: D2,
8424
- IdmArctic: U2,
8436
+ IdmArctic: F2,
8425
8437
  IdmWarZone: YM,
8426
8438
  IdmGmdssArea: zb,
8427
8439
  IdmEcaZone: ob,
@@ -8435,7 +8447,7 @@ const Hb = {
8435
8447
  IdmLatLng: H0,
8436
8448
  IdmMeasure: kb,
8437
8449
  IdmPoint: QM,
8438
- IdmENC: Ub
8450
+ IdmENC: Fb
8439
8451
  },
8440
8452
  props: {
8441
8453
  map: {
@@ -8489,7 +8501,7 @@ const Hb = {
8489
8501
  watch: {
8490
8502
  ts: {
8491
8503
  handler(z, M) {
8492
- z && M && H(z).utc().format("yyyy-MM-DD HH") !== H(M).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
8504
+ z && M && F(z).utc().format("yyyy-MM-DD HH") !== F(M).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
8493
8505
  this.handleDateChange({ tropicals: !1 });
8494
8506
  });
8495
8507
  },
@@ -8594,16 +8606,16 @@ const Hb = {
8594
8606
  key: y
8595
8607
  },
8596
8608
  responseType: /\.(jpg|png)$/.test(R[y]) ? "blob" : "json"
8597
- }).catch((F) => {
8598
- console.log(`[${y}] fetch layer error: ${F}`);
8609
+ }).catch((j) => {
8610
+ console.log(`[${y}] fetch layer error: ${j}`);
8599
8611
  })
8600
8612
  );
8601
- const _ = await Promise.all(g);
8602
- this.weatherLayers = {}, _.map((y) => {
8603
- var w, Z, Y, a0;
8604
- const F = ((w = y == null ? void 0 : y.data) == null ? void 0 : w.data) || (y == null ? void 0 : y.data), B = (Y = (Z = y == null ? void 0 : y.config) == null ? void 0 : Z.headers) == null ? void 0 : Y.key;
8605
- B && F && (this.weatherLayers[B] = {
8606
- raw: F,
8613
+ const x = await Promise.all(g);
8614
+ this.weatherLayers = {}, x.map((y) => {
8615
+ var C, Z, Y, a0;
8616
+ const j = ((C = y == null ? void 0 : y.data) == null ? void 0 : C.data) || (y == null ? void 0 : y.data), B = (Y = (Z = y == null ? void 0 : y.config) == null ? void 0 : Z.headers) == null ? void 0 : Y.key;
8617
+ B && j && (this.weatherLayers[B] = {
8618
+ raw: j,
8607
8619
  type: ((a0 = y == null ? void 0 : y.config) == null ? void 0 : a0.responseType) === "blob" ? "image" : "json",
8608
8620
  etime: this.ts
8609
8621
  });
@@ -8613,10 +8625,10 @@ const Hb = {
8613
8625
  key: "tropicals"
8614
8626
  }
8615
8627
  }).then((y) => {
8616
- var w, Z, Y;
8617
- const F = I0.convert2Geojson(((w = y == null ? void 0 : y.data) == null ? void 0 : w.data) || (y == null ? void 0 : y.data)), B = (Y = (Z = y == null ? void 0 : y.config) == null ? void 0 : Z.headers) == null ? void 0 : Y.key;
8628
+ var C, Z, Y;
8629
+ const j = I0.convert2Geojson(((C = y == null ? void 0 : y.data) == null ? void 0 : C.data) || (y == null ? void 0 : y.data)), B = (Y = (Z = y == null ? void 0 : y.config) == null ? void 0 : Z.headers) == null ? void 0 : Y.key;
8618
8630
  this.weatherLayers[B] = {
8619
- data: F,
8631
+ data: j,
8620
8632
  active: !0,
8621
8633
  cached: !1,
8622
8634
  type: "json",
@@ -8770,20 +8782,20 @@ const Hb = {
8770
8782
  if (d > t && d < q && (!(p <= this.zoom) || d % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8771
8783
  const m = u[d].lng;
8772
8784
  o > e ? m.forEach((R, g) => {
8773
- var _;
8785
+ var x;
8774
8786
  if ((R >= o && R <= 180 || R >= -180 && R <= e) && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8775
- const y = T.point([R, d], {
8787
+ const y = w.point([R, d], {
8776
8788
  val: u[d].val[g],
8777
- spd: (_ = u[d].spd) == null ? void 0 : _[g]
8789
+ spd: (x = u[d].spd) == null ? void 0 : x[g]
8778
8790
  });
8779
8791
  h.push(y);
8780
8792
  }
8781
8793
  }) : m.forEach((R, g) => {
8782
- var _;
8794
+ var x;
8783
8795
  if (R >= o && R <= e && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8784
- const y = T.point([R, d], {
8796
+ const y = w.point([R, d], {
8785
8797
  val: u[d].val[g],
8786
- spd: (_ = u[d].spd) == null ? void 0 : _[g]
8798
+ spd: (x = u[d].spd) == null ? void 0 : x[g]
8787
8799
  });
8788
8800
  h.push(y);
8789
8801
  }
@@ -8796,13 +8808,13 @@ const Hb = {
8796
8808
  const m = [];
8797
8809
  for (const R in (i = d.raw) == null ? void 0 : i.LineString) {
8798
8810
  const g = d.raw.LineString[R];
8799
- for (const _ of g)
8811
+ for (const x of g)
8800
8812
  m.push(
8801
- T.lineString(_, {
8813
+ w.lineString(x, {
8802
8814
  val: Number(R)
8803
8815
  })
8804
8816
  );
8805
- d.data = T.featureCollection(m);
8817
+ d.data = w.featureCollection(m);
8806
8818
  }
8807
8819
  }
8808
8820
  if (d.data) {
@@ -8818,15 +8830,15 @@ const Hb = {
8818
8830
  if (!d.data) {
8819
8831
  const R = [];
8820
8832
  for (const g in (L = d.raw) == null ? void 0 : L.Polygon) {
8821
- const _ = d.raw.Polygon[g];
8822
- for (const y of _)
8833
+ const x = d.raw.Polygon[g];
8834
+ for (const y of x)
8823
8835
  R.push(
8824
- T.polygon(y, {
8836
+ w.polygon(y, {
8825
8837
  val: Number(g)
8826
8838
  })
8827
8839
  );
8828
8840
  }
8829
- d.data = T.featureCollection(R);
8841
+ d.data = w.featureCollection(R);
8830
8842
  }
8831
8843
  const m = p < this.zoom ? d.data.features.filter((R) => R.properties.val > 0.5) : d.data.features;
8832
8844
  h = h.concat(m), b = (/* @__PURE__ */ new Date()).valueOf() - (z + M), console.log("speed elapsed: ", b, ", total: ", M += b);
@@ -8839,19 +8851,19 @@ const Hb = {
8839
8851
  const m = u[d].lng;
8840
8852
  o > e ? m.forEach((R, g) => {
8841
8853
  if ((R >= o && R <= 180 || R >= -180 && R <= e) && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8842
- const _ = T.point([R, d], {
8854
+ const x = w.point([R, d], {
8843
8855
  val: u[d].val[g],
8844
8856
  spd: u[d].spd[g]
8845
8857
  });
8846
- h.push(_);
8858
+ h.push(x);
8847
8859
  }
8848
8860
  }) : m.forEach((R, g) => {
8849
8861
  if (R >= o && R <= e && (!(p <= this.zoom) || R % (p < this.zoom / 2 ? 5 : 3) === 0)) {
8850
- const _ = T.point([R, d], {
8862
+ const x = w.point([R, d], {
8851
8863
  val: u[d].val[g],
8852
8864
  spd: u[d].spd[g]
8853
8865
  });
8854
- h.push(_);
8866
+ h.push(x);
8855
8867
  }
8856
8868
  });
8857
8869
  }
@@ -8867,7 +8879,7 @@ const Hb = {
8867
8879
  const R = u.Polygon[m];
8868
8880
  for (const g of R)
8869
8881
  d.push(
8870
- T.polygon(g, {
8882
+ w.polygon(g, {
8871
8883
  val: Number(m)
8872
8884
  })
8873
8885
  );
@@ -8876,7 +8888,7 @@ const Hb = {
8876
8888
  const R = u.Point[m];
8877
8889
  for (const g of R)
8878
8890
  d.push(
8879
- ...T.points(g, {
8891
+ ...w.points(g, {
8880
8892
  val: Number(m)
8881
8893
  }).features
8882
8894
  );
@@ -8896,7 +8908,7 @@ const Hb = {
8896
8908
  const R = u.LineString[m];
8897
8909
  for (const g of R)
8898
8910
  d.push(
8899
- T.lineString(g, {
8911
+ w.lineString(g, {
8900
8912
  val: Number(m)
8901
8913
  })
8902
8914
  );
@@ -8904,7 +8916,7 @@ const Hb = {
8904
8916
  for (const m in u.Point)
8905
8917
  u.Point[m].lng.forEach((R, g) => {
8906
8918
  R = M0.convertToStdLng(R), d.push(
8907
- T.point([R, m], {
8919
+ w.point([R, m], {
8908
8920
  val: u.Point[m].val[g],
8909
8921
  type: u.Point[m].type[g]
8910
8922
  })
@@ -8925,7 +8937,7 @@ const Hb = {
8925
8937
  const R = u.LineString[m];
8926
8938
  for (const g of R)
8927
8939
  d.push(
8928
- T.lineString(g, {
8940
+ w.lineString(g, {
8929
8941
  val: Number(m)
8930
8942
  })
8931
8943
  );
@@ -8935,7 +8947,7 @@ const Hb = {
8935
8947
  }
8936
8948
  b = (/* @__PURE__ */ new Date()).valueOf() - (z + M);
8937
8949
  }
8938
- console.log(n, " elapsed: ", b, ", total: ", M += b), h.length && (this.weatherLayers[n].data = T.featureCollection(h)), this.weatherLayers[n].active = !0, this.weatherLayers[n].version = Math.random() + 1;
8950
+ console.log(n, " elapsed: ", b, ", total: ", M += b), h.length && (this.weatherLayers[n].data = w.featureCollection(h)), this.weatherLayers[n].active = !0, this.weatherLayers[n].version = Math.random() + 1;
8939
8951
  }
8940
8952
  },
8941
8953
  handleDragEndWithZoom4Image() {
@@ -8947,10 +8959,10 @@ const Hb = {
8947
8959
  return z.features.forEach((o) => {
8948
8960
  if (o.geometry.type !== "Point")
8949
8961
  if (O > p) {
8950
- let e = [O, M._sw.lat, 180, M._ne.lat], t = T.bboxClip(o, e);
8951
- t.geometry.coordinates.length && b.push(t), e = [-180, M._sw.lat, p, M._ne.lat], t = T.bboxClip(o, e), t.geometry.coordinates.length && b.push(t);
8962
+ let e = [O, M._sw.lat, 180, M._ne.lat], t = w.bboxClip(o, e);
8963
+ t.geometry.coordinates.length && b.push(t), e = [-180, M._sw.lat, p, M._ne.lat], t = w.bboxClip(o, e), t.geometry.coordinates.length && b.push(t);
8952
8964
  } else {
8953
- const e = [O, M._sw.lat, p, M._ne.lat], t = T.bboxClip(o, e);
8965
+ const e = [O, M._sw.lat, p, M._ne.lat], t = w.bboxClip(o, e);
8954
8966
  t.geometry.coordinates.length && b.push(t);
8955
8967
  }
8956
8968
  else
@@ -9003,8 +9015,8 @@ const Hb = {
9003
9015
  }
9004
9016
  },
9005
9017
  handle3dToggle(z) {
9006
- var M, b, O, p, o, e, t, q, r, a, i, L, n, h, u, d, m, R, g, _;
9007
- z ? (this.map.setProjection("globe"), this.mapProjection = "globe", (b = this.map) != null && b.getLayer((M = this.viewport) == null ? void 0 : M.rampColorLayer) && ((O = this.map) != null && O.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((o = this.map) == null || o.moveLayer((p = this.viewport) == null ? void 0 : p.rampColorLayer, this.helper.mapboxCustomer.layers.water.id)), (t = this.map) != null && t.getLayer((e = this.viewport) == null ? void 0 : e.particleLayer) && ((q = this.map) != null && q.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((a = this.map) == null || a.moveLayer((r = this.viewport) == null ? void 0 : r.particleLayer, this.helper.mapboxCustomer.layers.water.id)), this.map.off("zoomend", this.handleDragEndWithZoom4Json), this.map.off("dragend", this.handleDragEndWithZoom4Json), this.map.off("move", this.handleDragEndWithZoom4Image)) : (this.map.setProjection("mercator"), this.mapProjection = "mercator", this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.handleDragEndWithZoom4Image(), this.handleDragEndWithZoom4Json(), (L = this.map) != null && L.getLayer((i = this.viewport) == null ? void 0 : i.rampColorLayer) && ((n = this.map) != null && n.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((u = this.map) == null || u.moveLayer((h = this.viewport) == null ? void 0 : h.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (m = this.map) != null && m.getLayer((d = this.viewport) == null ? void 0 : d.particleLayer) && ((R = this.map) != null && R.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((_ = this.map) == null || _.moveLayer((g = this.viewport) == null ? void 0 : g.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9018
+ var M, b, O, p, o, e, t, q, r, a, i, L, n, h, u, d, m, R, g, x;
9019
+ z ? (this.map.setProjection("globe"), this.mapProjection = "globe", (b = this.map) != null && b.getLayer((M = this.viewport) == null ? void 0 : M.rampColorLayer) && ((O = this.map) != null && O.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((o = this.map) == null || o.moveLayer((p = this.viewport) == null ? void 0 : p.rampColorLayer, this.helper.mapboxCustomer.layers.water.id)), (t = this.map) != null && t.getLayer((e = this.viewport) == null ? void 0 : e.particleLayer) && ((q = this.map) != null && q.getLayer(this.helper.mapboxCustomer.layers.water.id)) && ((a = this.map) == null || a.moveLayer((r = this.viewport) == null ? void 0 : r.particleLayer, this.helper.mapboxCustomer.layers.water.id)), this.map.off("zoomend", this.handleDragEndWithZoom4Json), this.map.off("dragend", this.handleDragEndWithZoom4Json), this.map.off("move", this.handleDragEndWithZoom4Image)) : (this.map.setProjection("mercator"), this.mapProjection = "mercator", this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.handleDragEndWithZoom4Image(), this.handleDragEndWithZoom4Json(), (L = this.map) != null && L.getLayer((i = this.viewport) == null ? void 0 : i.rampColorLayer) && ((n = this.map) != null && n.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((u = this.map) == null || u.moveLayer((h = this.viewport) == null ? void 0 : h.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (m = this.map) != null && m.getLayer((d = this.viewport) == null ? void 0 : d.particleLayer) && ((R = this.map) != null && R.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && ((x = this.map) == null || x.moveLayer((g = this.viewport) == null ? void 0 : g.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)));
9008
9020
  },
9009
9021
  handleParticle(z) {
9010
9022
  this.particleFactor = z, this.weatherLayers[z.key] && (this.weatherLayers[z.key].particle = z.particle), this.activeWeatherLayers.map((O) => {
@@ -9027,10 +9039,10 @@ const Hb = {
9027
9039
  className: "map-gl-home"
9028
9040
  };
9029
9041
  function Vb(z, M, b, O, p, o) {
9030
- var d0, i0, r0, L0, k, D, o0, n0, E, c0, N0, B0, g0, y0, A, W, s, N, X, S, Q, P, G, w0, P0, k0;
9031
- const e = x("IdmGlLayer"), t = x("IdmENC"), q = x("IdmSigWave"), r = x("IdmSwell"), a = x("IdmPrmsl"), i = x("IdmIceberg"), L = x("IdmTropicals"), n = x("IdmCurrents"), h = x("IdmCurrentParticle"), u = x("IdmWindBarb"), d = x("IdmWindParticle"), m = x("IdmPrecip3h"), R = x("IdmVisibility"), g = x("IdmWaterTemp"), _ = x("IdmTemp"), y = x("IdmArctic"), F = x("IdmWarZone"), B = x("IdmGmdssArea"), w = x("IdmEcaZone"), Z = x("IdmAlertZone"), Y = x("IdmPort"), a0 = x("IdmLoadLine"), s0 = x("IdmTimezone"), l0 = x("IdmVRA"), q0 = x("IdmSpecialArea"), W0 = x("IdmTerminator"), z0 = x("IdmLatLng"), f0 = x("IdmMeasure"), u0 = x("IdmPoint");
9042
+ var r0, i0, n0, L0, d0, P, G, e0, X, o0, N0, B0, g0, y0, A, W, s, N, v, E, Q, k, H, w0, P0, k0;
9043
+ const e = S("IdmGlLayer"), t = S("IdmENC"), q = S("IdmSigWave"), r = S("IdmSwell"), a = S("IdmPrmsl"), i = S("IdmIceberg"), L = S("IdmTropicals"), n = S("IdmCurrents"), h = S("IdmCurrentParticle"), u = S("IdmWindBarb"), d = S("IdmWindParticle"), m = S("IdmPrecip3h"), R = S("IdmVisibility"), g = S("IdmWaterTemp"), x = S("IdmTemp"), y = S("IdmArctic"), j = S("IdmWarZone"), B = S("IdmGmdssArea"), C = S("IdmEcaZone"), Z = S("IdmAlertZone"), Y = S("IdmPort"), a0 = S("IdmLoadLine"), s0 = S("IdmTimezone"), l0 = S("IdmVRA"), q0 = S("IdmSpecialArea"), W0 = S("IdmTerminator"), z0 = S("IdmLatLng"), f0 = S("IdmMeasure"), u0 = S("IdmPoint");
9032
9044
  return b.map ? (l(), f("div", Gb, [
9033
- v(e, j({
9045
+ T(e, I({
9034
9046
  ref: "layer",
9035
9047
  map: b.map,
9036
9048
  "toggle-version": b.toggleVersion,
@@ -9052,47 +9064,47 @@ function Vb(z, M, b, O, p, o) {
9052
9064
  on3d: o.handle3dToggle,
9053
9065
  onHandleToggleVersion: o.handleToggleVersion
9054
9066
  }), null, 16, ["map", "toggle-version", "map-projection", "showWindFeather", "showWindParticle", "showCurrentIsoband", "showCurrentParticle", "onWeather", "onOther", "on3d", "onHandleToggleVersion"]),
9055
- v(t, j({
9067
+ T(t, I({
9056
9068
  map: b.map,
9057
9069
  token: b.token,
9058
- enabled: (d0 = p.otherLayers) == null ? void 0 : d0.enc,
9070
+ enabled: (r0 = p.otherLayers) == null ? void 0 : r0.enc,
9059
9071
  "toggle-version": b.toggleVersion
9060
9072
  }, z.$attrs, {
9061
9073
  onEnc: M[7] || (M[7] = (A0) => p.enc = A0)
9062
9074
  }), null, 16, ["map", "token", "enabled", "toggle-version"]),
9063
- v(q, j({
9075
+ T(q, I({
9064
9076
  map: b.map,
9065
9077
  "sig-wave": (i0 = p.weatherLayers) == null ? void 0 : i0["sig-wave-height"],
9066
9078
  "before-layer": b.beforeLayer,
9067
9079
  activeWeatherLayers: p.activeWeatherLayers
9068
9080
  }, z.$attrs), null, 16, ["map", "sig-wave", "before-layer", "activeWeatherLayers"]),
9069
- v(r, j({
9081
+ T(r, I({
9070
9082
  map: b.map,
9071
- swell: (r0 = p.weatherLayers) == null ? void 0 : r0.swell,
9083
+ swell: (n0 = p.weatherLayers) == null ? void 0 : n0.swell,
9072
9084
  "before-layer": b.beforeLayer,
9073
9085
  activeWeatherLayers: p.activeWeatherLayers
9074
9086
  }, z.$attrs), null, 16, ["map", "swell", "before-layer", "activeWeatherLayers"]),
9075
- v(a, j({
9087
+ T(a, I({
9076
9088
  map: b.map,
9077
9089
  prmsl: (L0 = p.weatherLayers) == null ? void 0 : L0.prmsl,
9078
9090
  "before-layer": b.beforeLayer,
9079
9091
  "active-weather-layers": p.activeWeatherLayers
9080
9092
  }, z.$attrs), null, 16, ["map", "prmsl", "before-layer", "active-weather-layers"]),
9081
- v(i, j({
9093
+ T(i, I({
9082
9094
  map: b.map,
9083
- iceberg: (k = p.weatherLayers) == null ? void 0 : k.iceberg,
9095
+ iceberg: (d0 = p.weatherLayers) == null ? void 0 : d0.iceberg,
9084
9096
  "before-layer": b.beforeLayer
9085
9097
  }, z.$attrs), null, 16, ["map", "iceberg", "before-layer"]),
9086
- v(L, j({
9098
+ T(L, I({
9087
9099
  map: b.map,
9088
9100
  date: b.ts,
9089
- tropicals: (D = p.weatherLayers) == null ? void 0 : D.tropicals,
9101
+ tropicals: (P = p.weatherLayers) == null ? void 0 : P.tropicals,
9090
9102
  "before-layer": b.beforeLayer
9091
9103
  }, z.$attrs), null, 16, ["map", "date", "tropicals", "before-layer"]),
9092
- v(n, j({
9104
+ T(n, I({
9093
9105
  map: b.map,
9094
9106
  "map-projection": p.mapProjection,
9095
- current: (o0 = p.weatherLayers) == null ? void 0 : o0.current,
9107
+ current: (G = p.weatherLayers) == null ? void 0 : G.current,
9096
9108
  "before-layer": b.beforeLayer,
9097
9109
  showCurrentIsoband: p.showCurrentIsoband,
9098
9110
  showCurrentParticle: p.showCurrentParticle,
@@ -9103,18 +9115,18 @@ function Vb(z, M, b, O, p, o) {
9103
9115
  onParticle: o.handleParticle,
9104
9116
  onHandleToggleVersion: o.handleToggleVersion
9105
9117
  }), null, 16, ["map", "map-projection", "current", "before-layer", "showCurrentIsoband", "showCurrentParticle", "margin-bottom", "toggle-version", "weather-layers", "onParticle", "onHandleToggleVersion"]),
9106
- v(h, j({
9118
+ T(h, I({
9107
9119
  viewport: p.viewport,
9108
- factor: (n0 = p.weatherLayers) == null ? void 0 : n0["current-particle"],
9120
+ factor: (e0 = p.weatherLayers) == null ? void 0 : e0["current-particle"],
9109
9121
  "before-layer": b.beforeLayer,
9110
9122
  "toggle-version": b.toggleVersion
9111
9123
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9112
- v(u, j({
9124
+ T(u, I({
9113
9125
  ref: "windBarb",
9114
9126
  map: b.map,
9115
9127
  "map-projection": p.mapProjection,
9116
- wind: (E = p.weatherLayers) == null ? void 0 : E.wind,
9117
- current: (c0 = p.weatherLayers) == null ? void 0 : c0.current,
9128
+ wind: (X = p.weatherLayers) == null ? void 0 : X.wind,
9129
+ current: (o0 = p.weatherLayers) == null ? void 0 : o0.current,
9118
9130
  "before-layer": b.beforeLayer,
9119
9131
  "margin-bottom": p.showRampColor ? "56px" : "30px",
9120
9132
  showWindFeather: p.showWindFeather,
@@ -9124,101 +9136,101 @@ function Vb(z, M, b, O, p, o) {
9124
9136
  "weather-layers": p.weatherLayers,
9125
9137
  onParticle: o.handleParticle
9126
9138
  }), null, 16, ["map", "map-projection", "wind", "current", "before-layer", "margin-bottom", "showWindFeather", "showWindParticle", "toggle-version", "weather-layers", "onParticle"]),
9127
- v(d, j({
9139
+ T(d, I({
9128
9140
  viewport: p.viewport,
9129
9141
  factor: (N0 = p.weatherLayers) == null ? void 0 : N0["wind-particle"],
9130
9142
  "before-layer": b.beforeLayer,
9131
9143
  "toggle-version": b.toggleVersion
9132
9144
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9133
- v(m, j({
9145
+ T(m, I({
9134
9146
  viewport: p.viewport,
9135
9147
  factor: (B0 = p.weatherLayers) == null ? void 0 : B0.precip3h,
9136
9148
  "before-layer": b.beforeLayer,
9137
9149
  "toggle-version": b.toggleVersion
9138
9150
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9139
- v(R, j({
9151
+ T(R, I({
9140
9152
  viewport: p.viewport,
9141
9153
  factor: (g0 = p.weatherLayers) == null ? void 0 : g0.visibility,
9142
9154
  "before-layer": b.beforeLayer,
9143
9155
  "toggle-version": b.toggleVersion
9144
9156
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9145
- v(g, j({
9157
+ T(g, I({
9146
9158
  viewport: p.viewport,
9147
9159
  factor: (y0 = p.weatherLayers) == null ? void 0 : y0["water-temp"],
9148
9160
  "before-layer": b.beforeLayer,
9149
9161
  "toggle-version": b.toggleVersion
9150
9162
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9151
- v(_, j({
9163
+ T(x, I({
9152
9164
  viewport: p.viewport,
9153
9165
  factor: (A = p.weatherLayers) == null ? void 0 : A.temp,
9154
9166
  "before-layer": b.beforeLayer,
9155
9167
  "toggle-version": b.toggleVersion
9156
9168
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9157
- v(y, j({
9169
+ T(y, I({
9158
9170
  viewport: p.viewport,
9159
9171
  factor: (W = p.weatherLayers) == null ? void 0 : W.arctic,
9160
9172
  "before-layer": b.beforeLayer,
9161
9173
  "toggle-version": b.toggleVersion
9162
9174
  }, z.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
9163
- v(F, j({
9175
+ T(j, I({
9164
9176
  map: b.map,
9165
9177
  zone: (s = p.otherLayers) == null ? void 0 : s["war-zones"],
9166
9178
  "before-layer": b.beforeLayer
9167
9179
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9168
- v(B, j({
9180
+ T(B, I({
9169
9181
  map: b.map,
9170
9182
  area: (N = p.otherLayers) == null ? void 0 : N["gmdss-areas"],
9171
9183
  "before-layer": b.beforeLayer
9172
9184
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9173
- v(w, j({
9185
+ T(C, I({
9174
9186
  map: b.map,
9175
- zone: (X = p.otherLayers) == null ? void 0 : X["eca-zones"],
9187
+ zone: (v = p.otherLayers) == null ? void 0 : v["eca-zones"],
9176
9188
  "before-layer": b.beforeLayer
9177
9189
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9178
- v(Z, j({
9190
+ T(Z, I({
9179
9191
  map: b.map,
9180
- zone: (S = p.otherLayers) == null ? void 0 : S["alert-zones"],
9192
+ zone: (E = p.otherLayers) == null ? void 0 : E["alert-zones"],
9181
9193
  "before-layer": b.beforeLayer
9182
9194
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9183
- v(Y, j({
9195
+ T(Y, I({
9184
9196
  map: b.map,
9185
9197
  port: (Q = p.otherLayers) == null ? void 0 : Q.ports,
9186
9198
  "before-layer": b.beforeLayer
9187
9199
  }, z.$attrs), null, 16, ["map", "port", "before-layer"]),
9188
- v(a0, j({
9200
+ T(a0, I({
9189
9201
  map: b.map,
9190
- line: (P = p.otherLayers) == null ? void 0 : P["load-lines"],
9202
+ line: (k = p.otherLayers) == null ? void 0 : k["load-lines"],
9191
9203
  "before-layer": b.beforeLayer
9192
9204
  }, z.$attrs), null, 16, ["map", "line", "before-layer"]),
9193
- v(s0, j({
9205
+ T(s0, I({
9194
9206
  map: b.map,
9195
- zone: (G = p.otherLayers) == null ? void 0 : G["time-zones"],
9207
+ zone: (H = p.otherLayers) == null ? void 0 : H["time-zones"],
9196
9208
  "before-layer": b.beforeLayer
9197
9209
  }, z.$attrs), null, 16, ["map", "zone", "before-layer"]),
9198
- v(l0, j({
9210
+ T(l0, I({
9199
9211
  map: b.map,
9200
9212
  area: (w0 = p.otherLayers) == null ? void 0 : w0["voluntary-reporting-area"],
9201
9213
  "before-layer": b.beforeLayer
9202
9214
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9203
- v(q0, j({
9215
+ T(q0, I({
9204
9216
  map: b.map,
9205
9217
  area: (P0 = p.otherLayers) == null ? void 0 : P0["special-area"],
9206
9218
  "before-layer": b.beforeLayer
9207
9219
  }, z.$attrs), null, 16, ["map", "area", "before-layer"]),
9208
- v(W0, j({
9220
+ T(W0, I({
9209
9221
  map: b.map,
9210
9222
  area: (k0 = p.otherLayers) == null ? void 0 : k0["day-night"]
9211
9223
  }, z.$attrs), null, 16, ["map", "area"]),
9212
- v(z0, j({
9224
+ T(z0, I({
9213
9225
  map: b.map,
9214
9226
  show: p.showCoord,
9215
9227
  "toggle-version": b.toggleVersion
9216
9228
  }, z.$attrs), null, 16, ["map", "show", "toggle-version"]),
9217
- v(f0, j({
9229
+ T(f0, I({
9218
9230
  map: b.map,
9219
9231
  show: p.showMeasure
9220
9232
  }, z.$attrs), null, 16, ["map", "show"]),
9221
- v(u0, j({
9233
+ T(u0, I({
9222
9234
  ref: "idmPoint",
9223
9235
  map: b.map,
9224
9236
  show: p.showPoint,
@@ -9229,7 +9241,7 @@ function Vb(z, M, b, O, p, o) {
9229
9241
  }, z.$attrs), null, 16, ["map", "show", "meteo", "ts", "token", "gateway"])
9230
9242
  ])) : U("", !0);
9231
9243
  }
9232
- const Kb = /* @__PURE__ */ I(Hb, [["render", Vb]]), Oz = {
9244
+ const Kb = /* @__PURE__ */ D(Hb, [["render", Vb]]), Oz = {
9233
9245
  install(z) {
9234
9246
  z.component("MapboxGL", Kb), z.component("TropicalGL", j0), z.component("LatLngGL", H0);
9235
9247
  }