@idmwx/idmui-gl4 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,17 +3,17 @@ var qa = (t, e, o) => e in t ? Xa(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var ne = (t, e, o) => (qa(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Se from "axios";
5
5
  import { useTheme as Te } from "vuetify";
6
- import { openBlock as b, createElementBlock as M, resolveComponent as v, withDirectives as He, createBlock as j, withCtx as u, createVNode as h, withModifiers as io, createElementVNode as l, vShow as Ge, toDisplayString as y, Fragment as be, renderList as ze, createTextVNode as U, createCommentVNode as B, normalizeStyle as ae, mergeProps as E, normalizeClass as We } from "vue";
7
- import we from "mapbox-gl";
8
- import { LngLatHelper as $, TropicalHelper as Wa, LaneHelper as Fe } from "@idm-plugin/geo";
9
- import A from "moment";
6
+ import { openBlock as y, createElementBlock as T, resolveComponent as v, withDirectives as He, createBlock as j, withCtx as u, createVNode as h, withModifiers as io, createElementVNode as l, vShow as Ge, toDisplayString as b, Fragment as fe, renderList as ye, createTextVNode as W, createCommentVNode as B, normalizeStyle as ae, mergeProps as E, normalizeClass as We } from "vue";
7
+ import ve from "mapbox-gl";
8
+ import { LngLatHelper as J, TropicalHelper as Wa, LaneHelper as Fe } from "@idm-plugin/geo";
9
+ import I from "moment";
10
10
  import { TidesAssist as Ka, Meteo2Assist as ao } from "@idm-plugin/meteo";
11
11
  import * as Ua from "echarts";
12
12
  import * as N from "@turf/turf";
13
13
  import { LayerHelper as oo, CompanyHelper as Qa } from "@idm-plugin/tag-nop";
14
14
  import Ja from "@mapbox/sphericalmercator";
15
15
  import { LayerHelper as $a } from "@idm-plugin/tag";
16
- const q = (t, e) => {
16
+ const Z = (t, e) => {
17
17
  const o = t.__vccOpts || t;
18
18
  for (const [i, a] of e)
19
19
  o[i] = a;
@@ -115,9 +115,9 @@ const q = (t, e) => {
115
115
  }
116
116
  };
117
117
  function ti(t, e, o, i, a, r) {
118
- return b(), M("div");
118
+ return y(), T("div");
119
119
  }
120
- const oi = /* @__PURE__ */ q(ei, [["render", ti]]), ai = {
120
+ const oi = /* @__PURE__ */ Z(ei, [["render", ti]]), ai = {
121
121
  name: "IdmGmdssArea",
122
122
  props: {
123
123
  map: {
@@ -244,9 +244,9 @@ const oi = /* @__PURE__ */ q(ei, [["render", ti]]), ai = {
244
244
  }
245
245
  };
246
246
  function ii(t, e, o, i, a, r) {
247
- return b(), M("div");
247
+ return y(), T("div");
248
248
  }
249
- const ri = /* @__PURE__ */ q(ai, [["render", ii]]), li = {
249
+ const ri = /* @__PURE__ */ Z(ai, [["render", ii]]), li = {
250
250
  name: "IdmEcaZone",
251
251
  props: {
252
252
  map: {
@@ -345,9 +345,9 @@ const ri = /* @__PURE__ */ q(ai, [["render", ii]]), li = {
345
345
  }
346
346
  };
347
347
  function si(t, e, o, i, a, r) {
348
- return b(), M("div");
348
+ return y(), T("div");
349
349
  }
350
- const ni = /* @__PURE__ */ q(li, [["render", si]]);
350
+ const ni = /* @__PURE__ */ Z(li, [["render", si]]);
351
351
  const ci = {
352
352
  name: "IdmAlertZone",
353
353
  props: {
@@ -395,7 +395,7 @@ const ci = {
395
395
  if (o) {
396
396
  this.showZone = !0, this.form = { ...o.properties };
397
397
  const a = document.getElementById("idm-gl4-zone-info");
398
- this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new we.Marker(a).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, 0]).addTo(this.map);
398
+ this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new ve.Marker(a).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, 0]).addTo(this.map);
399
399
  }
400
400
  },
401
401
  handleRender() {
@@ -494,7 +494,7 @@ const ci = {
494
494
  }, mi = ["innerHTML"];
495
495
  function hi(t, e, o, i, a, r) {
496
496
  const s = v("VBtn"), n = v("v-card-text"), c = v("v-card");
497
- return He((b(), j(c, {
497
+ return He((y(), j(c, {
498
498
  class: "scroll",
499
499
  id: "idm-gl4-zone-info"
500
500
  }, {
@@ -530,7 +530,7 @@ function hi(t, e, o, i, a, r) {
530
530
  [Ge, a.showZone]
531
531
  ]);
532
532
  }
533
- const di = /* @__PURE__ */ q(ci, [["render", hi]]);
533
+ const di = /* @__PURE__ */ Z(ci, [["render", hi]]);
534
534
  const pi = {
535
535
  name: "IdmPort",
536
536
  props: {
@@ -563,12 +563,12 @@ const pi = {
563
563
  computed: {
564
564
  computeLat() {
565
565
  return function(t) {
566
- return $.lat2pretty(t, 4).pretty;
566
+ return J.lat2pretty(t, 4).pretty;
567
567
  };
568
568
  },
569
569
  computeLng() {
570
570
  return function(t) {
571
- return $.lng2pretty(t, 4).pretty;
571
+ return J.lng2pretty(t, 4).pretty;
572
572
  };
573
573
  }
574
574
  },
@@ -621,7 +621,10 @@ const pi = {
621
621
  },
622
622
  handleClick(t) {
623
623
  const e = t.features[0];
624
- e.properties.id && this.$emit("portDetail", e.properties);
624
+ if (e.properties.id) {
625
+ const o = e.properties;
626
+ o.lng = e.geometry.coordinates[0], o.lat = e.geometry.coordinates[1], o.forecastModel = this.forecastModel, this.$emit("portDetail", o);
627
+ }
625
628
  },
626
629
  handleHover(t) {
627
630
  this.map.getCanvas().style.cursor = "pointer";
@@ -629,7 +632,7 @@ const pi = {
629
632
  if (e.properties.id) {
630
633
  this.showInfo = !0, this.port = e.properties;
631
634
  const i = document.getElementById("idmPortInfo");
632
- this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new we.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
635
+ this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new ve.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
633
636
  }
634
637
  },
635
638
  handleLeave() {
@@ -639,7 +642,7 @@ const pi = {
639
642
  }, ui = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, gi = { class: "d-flex justify-start align-center" }, fi = { class: "d-flex justify-start align-center" };
640
643
  function yi(t, e, o, i, a, r) {
641
644
  const s = v("v-card-text"), n = v("v-card");
642
- return He((b(), j(n, {
645
+ return He((y(), j(n, {
643
646
  id: "idmPortInfo",
644
647
  ref: "idmPortInfo"
645
648
  }, {
@@ -649,11 +652,11 @@ function yi(t, e, o, i, a, r) {
649
652
  l("div", ui, [
650
653
  l("div", gi, [
651
654
  e[0] || (e[0] = l("div", { class: "text-label pr-1" }, "Name : ", -1)),
652
- l("span", null, y(a.port.name ?? "-"), 1)
655
+ l("span", null, b(a.port.name ?? "-"), 1)
653
656
  ]),
654
657
  l("div", fi, [
655
658
  e[1] || (e[1] = l("div", { class: "text-label pr-1" }, "LoCode : ", -1)),
656
- l("span", null, y(a.port.loCode ?? "-"), 1)
659
+ l("span", null, b(a.port.loCode ?? "-"), 1)
657
660
  ])
658
661
  ])
659
662
  ]),
@@ -665,7 +668,7 @@ function yi(t, e, o, i, a, r) {
665
668
  [Ge, a.showInfo]
666
669
  ]);
667
670
  }
668
- const bi = /* @__PURE__ */ q(pi, [["render", yi], ["__scopeId", "data-v-f451e554"]]), xi = {
671
+ const bi = /* @__PURE__ */ Z(pi, [["render", yi], ["__scopeId", "data-v-591ab3f4"]]), wi = {
669
672
  name: "IdmLoadLine",
670
673
  props: {
671
674
  map: {
@@ -706,10 +709,10 @@ const bi = /* @__PURE__ */ q(pi, [["render", yi], ["__scopeId", "data-v-f451e554
706
709
  }
707
710
  }
708
711
  };
709
- function wi(t, e, o, i, a, r) {
710
- return b(), M("div");
712
+ function xi(t, e, o, i, a, r) {
713
+ return y(), T("div");
711
714
  }
712
- const vi = /* @__PURE__ */ q(xi, [["render", wi]]), _i = {
715
+ const vi = /* @__PURE__ */ Z(wi, [["render", xi]]), _i = {
713
716
  name: "IdmTimezone",
714
717
  props: {
715
718
  map: {
@@ -885,9 +888,9 @@ const vi = /* @__PURE__ */ q(xi, [["render", wi]]), _i = {
885
888
  }
886
889
  };
887
890
  function ki(t, e, o, i, a, r) {
888
- return b(), M("div");
891
+ return y(), T("div");
889
892
  }
890
- const zi = /* @__PURE__ */ q(_i, [["render", ki]]), Li = {
893
+ const zi = /* @__PURE__ */ Z(_i, [["render", ki]]), Li = {
891
894
  name: "IdmVoluntaryReportingArea",
892
895
  props: {
893
896
  map: {
@@ -982,9 +985,9 @@ const zi = /* @__PURE__ */ q(_i, [["render", ki]]), Li = {
982
985
  }
983
986
  };
984
987
  function Pi(t, e, o, i, a, r) {
985
- return b(), M("div");
988
+ return y(), T("div");
986
989
  }
987
- const Ci = /* @__PURE__ */ q(Li, [["render", Pi]]), Si = {
990
+ const Ci = /* @__PURE__ */ Z(Li, [["render", Pi]]), Si = {
988
991
  name: "IdmSpecialArea",
989
992
  props: {
990
993
  map: {
@@ -1018,7 +1021,7 @@ const Ci = /* @__PURE__ */ q(Li, [["render", Pi]]), Si = {
1018
1021
  methods: {
1019
1022
  handleRender() {
1020
1023
  this.map ? (this.handleClear(), this.area && (this.area.features.forEach((t) => {
1021
- t.geometry.type === "Polygon" && t.geometry.coordinates.forEach((e) => $.convertToMonotonicLng2(e));
1024
+ t.geometry.type === "Polygon" && t.geometry.coordinates.forEach((e) => J.convertToMonotonicLng2(e));
1022
1025
  }), this.map.addSource(this.source, {
1023
1026
  type: "geojson",
1024
1027
  data: this.area
@@ -1079,9 +1082,9 @@ const Ci = /* @__PURE__ */ q(Li, [["render", Pi]]), Si = {
1079
1082
  }
1080
1083
  };
1081
1084
  function Ti(t, e, o, i, a, r) {
1082
- return b(), M("div");
1085
+ return y(), T("div");
1083
1086
  }
1084
- const Mi = /* @__PURE__ */ q(Si, [["render", Ti]]), Ii = {
1087
+ const Mi = /* @__PURE__ */ Z(Si, [["render", Ti]]), Ii = {
1085
1088
  name: "IdmTerminator",
1086
1089
  props: {
1087
1090
  map: {
@@ -1136,9 +1139,9 @@ const Mi = /* @__PURE__ */ q(Si, [["render", Ti]]), Ii = {
1136
1139
  }
1137
1140
  };
1138
1141
  function Ai(t, e, o, i, a, r) {
1139
- return b(), M("div");
1142
+ return y(), T("div");
1140
1143
  }
1141
- const Ri = /* @__PURE__ */ q(Ii, [["render", Ai]]), Di = {
1144
+ const Ri = /* @__PURE__ */ Z(Ii, [["render", Ai]]), Di = {
1142
1145
  name: "IdmWorld12nm",
1143
1146
  props: {
1144
1147
  map: {
@@ -1197,7 +1200,7 @@ const Ri = /* @__PURE__ */ q(Ii, [["render", Ai]]), Di = {
1197
1200
  function Oi(t, e, o, i, a, r) {
1198
1201
  return null;
1199
1202
  }
1200
- const Bi = /* @__PURE__ */ q(Di, [["render", Oi]]);
1203
+ const Bi = /* @__PURE__ */ Z(Di, [["render", Oi]]);
1201
1204
  const Ei = {
1202
1205
  name: "IdmWorldMarine",
1203
1206
  props: {
@@ -1238,7 +1241,7 @@ const Ei = {
1238
1241
  function ji(t, e, o, i, a, r) {
1239
1242
  return null;
1240
1243
  }
1241
- const Ni = /* @__PURE__ */ q(Ei, [["render", ji]]), Fi = {
1244
+ const Ni = /* @__PURE__ */ Z(Ei, [["render", ji]]), Fi = {
1242
1245
  name: "IdmChinaRoute",
1243
1246
  props: {
1244
1247
  map: {
@@ -1279,7 +1282,7 @@ const Ni = /* @__PURE__ */ q(Ei, [["render", ji]]), Fi = {
1279
1282
  function Hi(t, e, o, i, a, r) {
1280
1283
  return null;
1281
1284
  }
1282
- const Gi = /* @__PURE__ */ q(Fi, [["render", Hi]]);
1285
+ const Gi = /* @__PURE__ */ Z(Fi, [["render", Hi]]);
1283
1286
  const Wi = {
1284
1287
  name: "IdmTideStations",
1285
1288
  props: {
@@ -1334,17 +1337,17 @@ const Wi = {
1334
1337
  computed: {
1335
1338
  dateList() {
1336
1339
  var o, i, a, r;
1337
- const t = [], e = (o = this.station) != null && o.lng && ((i = this.station) != null && i.lat) ? $.guessTimeZoneOffset((a = this.station) == null ? void 0 : a.lng, (r = this.station) == null ? void 0 : r.lat) : 0;
1340
+ const t = [], e = (o = this.station) != null && o.lng && ((i = this.station) != null && i.lat) ? J.guessTimeZoneOffset((a = this.station) == null ? void 0 : a.lng, (r = this.station) == null ? void 0 : r.lat) : 0;
1338
1341
  for (let s = 0; s < 4; s++) {
1339
1342
  let n = {
1340
1343
  index: s,
1341
1344
  dateTimeList: [],
1342
- label: A().utcOffset(e).add(s, "days").format("MM-DD ddd"),
1343
- startTime: A().utcOffset(e).add(s, "days").set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
1344
- dateTime: A().utcOffset(e).add(s, "days").format()
1345
+ label: I().utcOffset(e).add(s, "days").format("MM-DD ddd"),
1346
+ startTime: I().utcOffset(e).add(s, "days").set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
1347
+ dateTime: I().utcOffset(e).add(s, "days").format()
1345
1348
  };
1346
1349
  for (let c = 0; c < 4; c++)
1347
- n.dateTimeList.push(A(n.startTime).utcOffset(e).add(c * 3, "hours").utc().format());
1350
+ n.dateTimeList.push(I(n.startTime).utcOffset(e).add(c * 3, "hours").utc().format());
1348
1351
  t.push(n);
1349
1352
  }
1350
1353
  return t;
@@ -1352,8 +1355,8 @@ const Wi = {
1352
1355
  computeLocalTime() {
1353
1356
  return function(t, e, o = "yyyy-MM-DD HHmm") {
1354
1357
  if (t) {
1355
- const i = e != null && e.lng && (e != null && e.lat) ? $.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat) : 0;
1356
- return A(t).utcOffset(i).format(o) + " ( UTC " + (i >= 0 ? "+" : "") + i + " )";
1358
+ const i = e != null && e.lng && (e != null && e.lat) ? J.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat) : 0;
1359
+ return I(t).utcOffset(i).format(o) + " ( UTC " + (i >= 0 ? "+" : "") + i + " )";
1357
1360
  }
1358
1361
  return "-";
1359
1362
  };
@@ -1361,8 +1364,8 @@ const Wi = {
1361
1364
  computeHourLT() {
1362
1365
  return function(t, e, o = "HH:mm") {
1363
1366
  if (t) {
1364
- const i = e != null && e.lng && (e != null && e.lat) ? $.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat) : 0;
1365
- return A(t).utcOffset(i).format(o);
1367
+ const i = e != null && e.lng && (e != null && e.lat) ? J.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat) : 0;
1368
+ return I(t).utcOffset(i).format(o);
1366
1369
  }
1367
1370
  return "-";
1368
1371
  };
@@ -1372,24 +1375,24 @@ const Wi = {
1372
1375
  var o, i;
1373
1376
  if (t) {
1374
1377
  const a = this.timeZone || 0;
1375
- return ((i = (o = A(t)) == null ? void 0 : o.utcOffset(a)) == null ? void 0 : i.format(e)) + " ( UTC " + (a >= 0 ? "+" : "") + a + " )";
1378
+ return ((i = (o = I(t)) == null ? void 0 : o.utcOffset(a)) == null ? void 0 : i.format(e)) + " ( UTC " + (a >= 0 ? "+" : "") + a + " )";
1376
1379
  }
1377
1380
  return "-";
1378
1381
  };
1379
1382
  },
1380
1383
  computeLat() {
1381
1384
  return function(t) {
1382
- return `${$.lat2pretty(t, 2).pretty}`;
1385
+ return `${J.lat2pretty(t, 2).pretty}`;
1383
1386
  };
1384
1387
  },
1385
1388
  computeLng() {
1386
1389
  return function(t) {
1387
- return `${$.lng2pretty(t, 2).pretty}`;
1390
+ return `${J.lng2pretty(t, 2).pretty}`;
1388
1391
  };
1389
1392
  },
1390
1393
  computeRoundPrecision() {
1391
1394
  return function(t, e = 4) {
1392
- return $.roundPrecision(t, e) || 0;
1395
+ return J.roundPrecision(t, e) || 0;
1393
1396
  };
1394
1397
  }
1395
1398
  },
@@ -1442,7 +1445,7 @@ const Wi = {
1442
1445
  if (e.properties) {
1443
1446
  this.showInfo = !0, this.hoverStation = e.properties, this.hoverStation.name = this.locale === "en" ? e.properties.Location_EN : e.properties.Location_CN, this.hoverStation.lng = e.geometry.coordinates[0], this.hoverStation.lat = e.geometry.coordinates[1];
1444
1447
  const o = document.getElementById("idmTidalInfo");
1445
- this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new we.Marker(o).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -60]).addTo(this.map);
1448
+ this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new ve.Marker(o).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -60]).addTo(this.map);
1446
1449
  }
1447
1450
  },
1448
1451
  handleLeave() {
@@ -1582,14 +1585,14 @@ const Wi = {
1582
1585
  }, fr = ["xlink:href"], yr = { class: "w-100 gray-card rounded pa-4 flex-1-1-0 d-flex flex-column justify-center align-center" }, br = {
1583
1586
  class: "w-100 flex-1-1-0 py-4",
1584
1587
  ref: "tideEchart"
1585
- }, xr = {
1588
+ }, wr = {
1586
1589
  "fixed-header": "",
1587
1590
  density: "compact",
1588
1591
  class: "w-100 tide-table bg-none"
1589
- }, wr = { class: "px-1 text-center" }, vr = { class: "px-1 text-center" }, _r = { class: "px-1 text-center" }, kr = { class: "px-1 text-center" }, zr = { class: "px-1 text-center" }, Lr = { class: "px-1 text-center" }, Pr = { class: "px-1 text-center" }, Cr = { class: "px-1 text-center" }, Sr = { class: "px-1 text-center" }, Tr = { class: "px-1 text-center" }, Mr = { class: "px-1 text-center" }, Ir = { class: "px-1 text-center" };
1590
- function Ar(t, e, o, i, a, r) {
1592
+ };
1593
+ function xr(t, e, o, i, a, r) {
1591
1594
  const s = v("v-card-text"), n = v("v-card"), c = v("VBtn"), g = v("v-card-title"), p = v("v-divider"), d = v("VBtnToggle");
1592
- return b(), M("div", null, [
1595
+ return y(), T("div", null, [
1593
1596
  He(h(n, { id: "idmTidalInfo" }, {
1594
1597
  default: u(() => [
1595
1598
  h(s, { class: "pr-8 text-body-1" }, {
@@ -1599,7 +1602,7 @@ function Ar(t, e, o, i, a, r) {
1599
1602
  l("div", Ui, [
1600
1603
  e[2] || (e[2] = l("div", { class: "d-flex justify-start align-center" }, "Tide Station ", -1)),
1601
1604
  l("div", Vi, [
1602
- l("label", Yi, y((f = a.hoverStation) == null ? void 0 : f.name) + " , " + y(((z = a.hoverStation) == null ? void 0 : z.Country) || "-"), 1)
1605
+ l("label", Yi, b((f = a.hoverStation) == null ? void 0 : f.name) + " , " + b(((z = a.hoverStation) == null ? void 0 : z.Country) || "-"), 1)
1603
1606
  ])
1604
1607
  ])
1605
1608
  ];
@@ -1611,27 +1614,27 @@ function Ar(t, e, o, i, a, r) {
1611
1614
  }, 512), [
1612
1615
  [Ge, a.showInfo]
1613
1616
  ]),
1614
- a.showDetail ? (b(), j(n, {
1617
+ a.showDetail ? (y(), j(n, {
1615
1618
  key: 0,
1616
1619
  class: "tide-detail-container d-flex flex-column justify-start align-center"
1617
1620
  }, {
1618
1621
  default: u(() => {
1619
- var f, z, w, S, C, O, T, L, _, k, P, x, I, V, Z, X;
1622
+ var f, z, x, S;
1620
1623
  return [
1621
1624
  h(g, { class: "w-100" }, {
1622
1625
  default: u(() => {
1623
- var F, J;
1626
+ var w, A;
1624
1627
  return [
1625
1628
  l("div", Zi, [
1626
1629
  l("div", Xi, [
1627
- l("div", null, y((F = a.station) == null ? void 0 : F.name), 1)
1630
+ l("div", null, b((w = a.station) == null ? void 0 : w.name), 1)
1628
1631
  ]),
1629
1632
  h(c, {
1630
1633
  icon: "",
1631
1634
  density: "compact",
1632
1635
  variant: "plain",
1633
1636
  class: "mr-n2",
1634
- onClick: e[0] || (e[0] = (te) => a.showDetail = !1)
1637
+ onClick: e[0] || (e[0] = (M) => a.showDetail = !1)
1635
1638
  }, {
1636
1639
  default: u(() => e[3] || (e[3] = [
1637
1640
  l("i", { class: "iconfont icon-close opacity-70 text-h4" }, null, -1)
@@ -1644,7 +1647,7 @@ function Ar(t, e, o, i, a, r) {
1644
1647
  e[5] || (e[5] = l("div", null, "tide station", -1)),
1645
1648
  l("div", null, [
1646
1649
  e[4] || (e[4] = l("label", null, "UN/LOCODE: ", -1)),
1647
- l("span", null, y((J = a.station) == null ? void 0 : J.Code), 1)
1650
+ l("span", null, b((A = a.station) == null ? void 0 : A.Code), 1)
1648
1651
  ])
1649
1652
  ])
1650
1653
  ];
@@ -1656,7 +1659,7 @@ function Ar(t, e, o, i, a, r) {
1656
1659
  l("div", Qi, [
1657
1660
  l("div", Ji, [
1658
1661
  l("div", $i, [
1659
- (b(), M("svg", er, [
1662
+ (y(), T("svg", er, [
1660
1663
  l("use", {
1661
1664
  "xlink:href": `#icon-title-${o.theme}`
1662
1665
  }, null, 8, tr)
@@ -1667,23 +1670,23 @@ function Ar(t, e, o, i, a, r) {
1667
1670
  ]),
1668
1671
  l("div", or, [
1669
1672
  l("div", ar, [
1670
- l("div", ir, y(t.$t("tide.region")), 1),
1671
- l("div", rr, y(((f = a.station) == null ? void 0 : f.Country) ?? ((z = a.station) == null ? void 0 : z.city) ?? "-"), 1)
1673
+ l("div", ir, b(t.$t("tide.region")), 1),
1674
+ l("div", rr, b(((f = a.station) == null ? void 0 : f.Country) ?? ((z = a.station) == null ? void 0 : z.city) ?? "-"), 1)
1672
1675
  ]),
1673
1676
  l("div", lr, [
1674
- l("div", sr, y(t.$t("tide.position")), 1),
1675
- l("div", nr, y(r.computeLng((w = a.station) == null ? void 0 : w.lng) ?? "-") + " , " + y(r.computeLat((S = a.station) == null ? void 0 : S.lat) ?? "-"), 1)
1677
+ l("div", sr, b(t.$t("tide.position")), 1),
1678
+ l("div", nr, b(r.computeLng((x = a.station) == null ? void 0 : x.lng) ?? "-") + " , " + b(r.computeLat((S = a.station) == null ? void 0 : S.lat) ?? "-"), 1)
1676
1679
  ]),
1677
1680
  l("div", cr, [
1678
- l("div", mr, y(t.$t("time.localTime")), 1),
1679
- l("div", hr, y(r.computeLocalTime(o.realTime, a.station) ?? "-"), 1)
1681
+ l("div", mr, b(t.$t("time.localTime")), 1),
1682
+ l("div", hr, b(r.computeLocalTime(o.realTime, a.station) ?? "-"), 1)
1680
1683
  ])
1681
1684
  ])
1682
1685
  ]),
1683
1686
  l("div", dr, [
1684
1687
  l("div", pr, [
1685
1688
  l("div", ur, [
1686
- (b(), M("svg", gr, [
1689
+ (y(), T("svg", gr, [
1687
1690
  l("use", {
1688
1691
  "xlink:href": `#icon-title-${o.theme}`
1689
1692
  }, null, 8, fr)
@@ -1695,7 +1698,7 @@ function Ar(t, e, o, i, a, r) {
1695
1698
  l("div", yr, [
1696
1699
  h(d, {
1697
1700
  modelValue: a.currentIndex,
1698
- "onUpdate:modelValue": e[1] || (e[1] = (F) => a.currentIndex = F),
1701
+ "onUpdate:modelValue": e[1] || (e[1] = (w) => a.currentIndex = w),
1699
1702
  class: "w-100 gray-card rounded d-flex justify-space-around align-center ga-0 px-1 mb-4",
1700
1703
  density: "compact",
1701
1704
  group: "",
@@ -1704,15 +1707,15 @@ function Ar(t, e, o, i, a, r) {
1704
1707
  rounded: "1"
1705
1708
  }, {
1706
1709
  default: u(() => [
1707
- (b(!0), M(be, null, ze(r.dateList, (F) => (b(), j(c, {
1710
+ (y(!0), T(fe, null, ye(r.dateList, (w) => (y(), j(c, {
1708
1711
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
1709
1712
  density: "compact",
1710
1713
  color: "primary",
1711
1714
  height: "26",
1712
- value: F.index
1715
+ value: w.index
1713
1716
  }, {
1714
1717
  default: u(() => [
1715
- U(y(F.label), 1)
1718
+ W(b(w.label), 1)
1716
1719
  ]),
1717
1720
  _: 2
1718
1721
  }, 1032, ["value"]))), 256))
@@ -1720,37 +1723,37 @@ function Ar(t, e, o, i, a, r) {
1720
1723
  _: 1
1721
1724
  }, 8, ["modelValue"]),
1722
1725
  l("div", br, null, 512),
1723
- l("table", xr, [
1726
+ l("table", wr, [
1724
1727
  l("tbody", null, [
1725
1728
  l("tr", null, [
1726
1729
  e[10] || (e[10] = l("th", {
1727
1730
  class: "px-1 text-left text-label font-weight-400",
1728
1731
  width: "120"
1729
1732
  }, "Tide ( m )", -1)),
1730
- l("td", wr, y((C = a.tideTableData[0]) == null ? void 0 : C.type), 1),
1731
- l("td", vr, y((O = a.tideTableData[1]) == null ? void 0 : O.type), 1),
1732
- l("td", _r, y((T = a.tideTableData[2]) == null ? void 0 : T.type), 1),
1733
- l("td", kr, y((L = a.tideTableData[3]) == null ? void 0 : L.type), 1)
1733
+ (y(!0), T(fe, null, ye(a.tideTableData, (w, A) => (y(), T("td", {
1734
+ key: w.type + "-" + A,
1735
+ class: "px-1 text-center"
1736
+ }, b(w == null ? void 0 : w.type), 1))), 128))
1734
1737
  ]),
1735
1738
  l("tr", null, [
1736
1739
  e[11] || (e[11] = l("th", {
1737
1740
  class: "px-1 text-left text-label font-weight-400",
1738
1741
  width: "120"
1739
1742
  }, "Datum", -1)),
1740
- l("td", zr, y(r.computeHourLT((_ = a.tideTableData[0]) == null ? void 0 : _.date, a.station)) + " LT", 1),
1741
- l("td", Lr, y(r.computeHourLT((k = a.tideTableData[1]) == null ? void 0 : k.date, a.station)) + " LT", 1),
1742
- l("td", Pr, y(r.computeHourLT((P = a.tideTableData[2]) == null ? void 0 : P.date, a.station)) + " LT", 1),
1743
- l("td", Cr, y(r.computeHourLT((x = a.tideTableData[3]) == null ? void 0 : x.date, a.station)) + " LT", 1)
1743
+ (y(!0), T(fe, null, ye(a.tideTableData, (w, A) => (y(), T("td", {
1744
+ key: w.date + "-" + A,
1745
+ class: "px-1 text-center"
1746
+ }, b(r.computeHourLT(w == null ? void 0 : w.date, a.station)) + " LT", 1))), 128))
1744
1747
  ]),
1745
1748
  l("tr", null, [
1746
1749
  e[12] || (e[12] = l("th", {
1747
1750
  class: "px-1 text-left text-label font-weight-400",
1748
1751
  width: "120"
1749
1752
  }, "Chart Datumn", -1)),
1750
- l("td", Sr, y(((I = a.tideTableData[0]) == null ? void 0 : I.height) ?? "-") + " m", 1),
1751
- l("td", Tr, y(((V = a.tideTableData[1]) == null ? void 0 : V.height) ?? "-") + " m", 1),
1752
- l("td", Mr, y(((Z = a.tideTableData[2]) == null ? void 0 : Z.height) ?? "-") + " m", 1),
1753
- l("td", Ir, y(((X = a.tideTableData[3]) == null ? void 0 : X.height) ?? "-") + " m", 1)
1753
+ (y(!0), T(fe, null, ye(a.tideTableData, (w, A) => (y(), T("td", {
1754
+ key: w.height + "-" + A,
1755
+ class: "px-1 text-center"
1756
+ }, b((w == null ? void 0 : w.height) ?? "-") + " m", 1))), 128))
1754
1757
  ])
1755
1758
  ])
1756
1759
  ])
@@ -1763,7 +1766,7 @@ function Ar(t, e, o, i, a, r) {
1763
1766
  })) : B("", !0)
1764
1767
  ]);
1765
1768
  }
1766
- const Rr = /* @__PURE__ */ q(Wi, [["render", Ar], ["__scopeId", "data-v-682762da"]]), Dr = {
1769
+ const vr = /* @__PURE__ */ Z(Wi, [["render", xr], ["__scopeId", "data-v-6b64a02c"]]), _r = {
1767
1770
  name: "IdmIceAreas",
1768
1771
  props: {
1769
1772
  map: {
@@ -1800,11 +1803,11 @@ const Rr = /* @__PURE__ */ q(Wi, [["render", Ar], ["__scopeId", "data-v-682762da
1800
1803
  }
1801
1804
  }
1802
1805
  };
1803
- function Or(t, e, o, i, a, r) {
1806
+ function kr(t, e, o, i, a, r) {
1804
1807
  return null;
1805
1808
  }
1806
- const Br = /* @__PURE__ */ q(Dr, [["render", Or]]);
1807
- const Er = {
1809
+ const zr = /* @__PURE__ */ Z(_r, [["render", kr]]);
1810
+ const Lr = {
1808
1811
  name: "IdmLatLng",
1809
1812
  props: {
1810
1813
  map: {
@@ -1860,7 +1863,7 @@ const Er = {
1860
1863
  },
1861
1864
  "lngLat.e": {
1862
1865
  handler(t) {
1863
- this.lngLat.lng = $.lng2pretty(t == null ? void 0 : t.lng, 2).pretty, this.lngLat.lat = $.lat2pretty(t == null ? void 0 : t.lat, 2).pretty, this.lngLat.str = `[${t == null ? void 0 : t.lng.toFixed(4)}, ${t == null ? void 0 : t.lat.toFixed(4)}]`;
1866
+ this.lngLat.lng = J.lng2pretty(t == null ? void 0 : t.lng, 2).pretty, this.lngLat.lat = J.lat2pretty(t == null ? void 0 : t.lat, 2).pretty, this.lngLat.str = `[${t == null ? void 0 : t.lng.toFixed(4)}, ${t == null ? void 0 : t.lat.toFixed(4)}]`;
1864
1867
  },
1865
1868
  immediate: !0
1866
1869
  }
@@ -1974,19 +1977,19 @@ const Er = {
1974
1977
  }
1975
1978
  }
1976
1979
  };
1977
- function jr(t, e, o, i, a, r) {
1980
+ function Pr(t, e, o, i, a, r) {
1978
1981
  var s, n, c;
1979
- return b(), M("div", {
1982
+ return y(), T("div", {
1980
1983
  class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
1981
1984
  style: ae({ right: a.right + "px" })
1982
1985
  }, [
1983
- l("div", null, y((s = a.lngLat) == null ? void 0 : s.lat), 1),
1984
- l("div", null, y((n = a.lngLat) == null ? void 0 : n.lng), 1),
1985
- l("div", null, y((c = a.lngLat) == null ? void 0 : c.str), 1)
1986
+ l("div", null, b((s = a.lngLat) == null ? void 0 : s.lat), 1),
1987
+ l("div", null, b((n = a.lngLat) == null ? void 0 : n.lng), 1),
1988
+ l("div", null, b((c = a.lngLat) == null ? void 0 : c.str), 1)
1986
1989
  ], 4);
1987
1990
  }
1988
- const Ya = /* @__PURE__ */ q(Er, [["render", jr]]);
1989
- const Nr = {
1991
+ const Ya = /* @__PURE__ */ Z(Lr, [["render", Pr]]);
1992
+ const Cr = {
1990
1993
  name: "IdmOtherLayerr",
1991
1994
  components: {
1992
1995
  IdmWarZone: oi,
@@ -2002,8 +2005,8 @@ const Nr = {
2002
2005
  IdmWorld12nm: Bi,
2003
2006
  IdmWorldMarine: Ni,
2004
2007
  IdmChinaRoute: Gi,
2005
- IdmTideStations: Rr,
2006
- IdmIceAreas: Br,
2008
+ IdmTideStations: vr,
2009
+ IdmIceAreas: zr,
2007
2010
  IdmLatLng: Ya
2008
2011
  },
2009
2012
  props: {
@@ -2170,8 +2173,8 @@ const Nr = {
2170
2173
  })
2171
2174
  );
2172
2175
  (await Promise.all(g)).map((d) => {
2173
- var w, S, C;
2174
- const f = ((w = d == null ? void 0 : d.data) == null ? void 0 : w.data) || (d == null ? void 0 : d.data), z = (C = (S = d == null ? void 0 : d.config) == null ? void 0 : S.headers) == null ? void 0 : C.key;
2176
+ var x, S, w;
2177
+ const f = ((x = d == null ? void 0 : d.data) == null ? void 0 : x.data) || (d == null ? void 0 : d.data), z = (w = (S = d == null ? void 0 : d.config) == null ? void 0 : S.headers) == null ? void 0 : w.key;
2175
2178
  this.otherLayers[z] = f;
2176
2179
  });
2177
2180
  }
@@ -2193,8 +2196,8 @@ const Nr = {
2193
2196
  })
2194
2197
  );
2195
2198
  (await Promise.all(g)).map((d) => {
2196
- var w, S, C;
2197
- const f = ((w = d == null ? void 0 : d.data) == null ? void 0 : w.data) || (d == null ? void 0 : d.data), z = (C = (S = d == null ? void 0 : d.config) == null ? void 0 : S.headers) == null ? void 0 : C.key;
2199
+ var x, S, w;
2200
+ const f = ((x = d == null ? void 0 : d.data) == null ? void 0 : x.data) || (d == null ? void 0 : d.data), z = (w = (S = d == null ? void 0 : d.config) == null ? void 0 : S.headers) == null ? void 0 : w.key;
2198
2201
  this.otherLayers[z] = f;
2199
2202
  });
2200
2203
  }
@@ -2206,27 +2209,27 @@ const Nr = {
2206
2209
  this.layerWeight = e, this.fetchOtherLayers({ all: !0 });
2207
2210
  }
2208
2211
  }
2209
- }, Fr = { class: "idm-gl4-other-layer" }, Hr = { class: "header-box d-flex justify-space-between align-center px-4" }, Gr = { class: "text-h5 font-weight-medium" }, Wr = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, Ur = { class: "layers-body mt-4 d-flex justify-start align-center flex-wrap" }, Vr = ["onClick"], Yr = {
2212
+ }, Sr = { class: "idm-gl4-other-layer" }, Tr = { class: "header-box d-flex justify-space-between align-center px-4" }, Mr = { class: "text-h5 font-weight-medium" }, Ir = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, Ar = { class: "layers-body mt-4 d-flex justify-start align-center flex-wrap" }, Rr = ["onClick"], Dr = {
2210
2213
  key: 0,
2211
2214
  src: "https://osshz.idmwx.com/asset/dark-map.png",
2212
2215
  class: "border rounded-sm"
2213
- }, Zr = {
2216
+ }, Or = {
2214
2217
  key: 1,
2215
2218
  src: "https://osshz.idmwx.com/asset/nautical-map.png",
2216
2219
  class: "border rounded-sm"
2217
- }, Xr = {
2220
+ }, Br = {
2218
2221
  key: 2,
2219
2222
  src: "https://osshz.idmwx.com/asset/satellite-map.png",
2220
2223
  class: "border rounded-sm"
2221
- }, qr = {
2224
+ }, Er = {
2222
2225
  key: 3,
2223
2226
  src: "https://osshz.idmwx.com/asset/light-map.png",
2224
2227
  class: "border rounded-sm"
2225
- }, Kr = { class: "text-body-2 text-center pt-1" };
2226
- function Qr(t, e, o, i, a, r) {
2227
- var J, te, Q, se, de, pe, me, K, ie;
2228
- const s = v("VBtn"), n = v("VTooltip"), c = v("VCardTitle"), g = v("VCardItem"), p = v("VCheckbox"), d = v("VCardText"), f = v("VCard"), z = v("IdmTideStations"), w = v("IdmIceAreas"), S = v("IdmWorld12nm"), C = v("IdmWorldMarine"), O = v("IdmChinaRoute"), T = v("IdmWarZone"), L = v("IdmGmdssArea"), _ = v("IdmEcaZone"), k = v("IdmAlertZone"), P = v("IdmPort"), x = v("IdmLoadLine"), I = v("IdmTimezone"), V = v("IdmVRA"), Z = v("IdmSpecialArea"), X = v("IdmTerminator"), F = v("IdmLatLng");
2229
- return b(), M("div", Fr, [
2228
+ }, jr = { class: "text-body-2 text-center pt-1" };
2229
+ function Nr(t, e, o, i, a, r) {
2230
+ var ee, te, Q, se, de, pe, me, K, ie;
2231
+ const s = v("VBtn"), n = v("VTooltip"), c = v("VCardTitle"), g = v("VCardItem"), p = v("VCheckbox"), d = v("VCardText"), f = v("VCard"), z = v("IdmTideStations"), x = v("IdmIceAreas"), S = v("IdmWorld12nm"), w = v("IdmWorldMarine"), A = v("IdmChinaRoute"), M = v("IdmWarZone"), P = v("IdmGmdssArea"), k = v("IdmEcaZone"), L = v("IdmAlertZone"), C = v("IdmPort"), _ = v("IdmLoadLine"), R = v("IdmTimezone"), V = v("IdmVRA"), X = v("IdmSpecialArea"), q = v("IdmTerminator"), Y = v("IdmLatLng");
2232
+ return y(), T("div", Sr, [
2230
2233
  l("div", {
2231
2234
  class: "menu-bar-box transition px-1 rounded",
2232
2235
  style: ae({ top: o.top + 10 + "px", right: a.right + "px" })
@@ -2235,8 +2238,8 @@ function Qr(t, e, o, i, a, r) {
2235
2238
  text: t.$t("layer.mapLayers"),
2236
2239
  location: "left"
2237
2240
  }, {
2238
- activator: u(({ props: H }) => [
2239
- h(s, E(H, {
2241
+ activator: u(({ props: F }) => [
2242
+ h(s, E(F, {
2240
2243
  "min-width": "32",
2241
2244
  width: "32",
2242
2245
  height: "32",
@@ -2257,8 +2260,8 @@ function Qr(t, e, o, i, a, r) {
2257
2260
  class: We(["available-layers transition", a.toggle ? "right-bar" : ""]),
2258
2261
  style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
2259
2262
  }, [
2260
- l("div", Hr, [
2261
- l("div", Gr, y(t.$t("layer.layers")), 1),
2263
+ l("div", Tr, [
2264
+ l("div", Mr, b(t.$t("layer.layers")), 1),
2262
2265
  h(s, {
2263
2266
  icon: "",
2264
2267
  density: "compact",
@@ -2273,7 +2276,7 @@ function Qr(t, e, o, i, a, r) {
2273
2276
  __: [6]
2274
2277
  }, 8, ["onClick"])
2275
2278
  ]),
2276
- l("div", Wr, [
2279
+ l("div", Ir, [
2277
2280
  h(f, {
2278
2281
  class: "menu-card mx-auto mb-3",
2279
2282
  elevation: "0"
@@ -2286,7 +2289,7 @@ function Qr(t, e, o, i, a, r) {
2286
2289
  style: { "font-size": "16px !important" }
2287
2290
  }, {
2288
2291
  default: u(() => [
2289
- U(y(t.$t("layer.mapFeathers")), 1)
2292
+ W(b(t.$t("layer.mapFeathers")), 1)
2290
2293
  ]),
2291
2294
  _: 1
2292
2295
  })
@@ -2295,26 +2298,26 @@ function Qr(t, e, o, i, a, r) {
2295
2298
  }),
2296
2299
  h(d, { class: "pb-2" }, {
2297
2300
  default: u(() => [
2298
- l("div", Ur, [
2299
- (b(!0), M(be, null, ze(a.mapFeathers, (H) => (b(), M("div", {
2300
- key: H.value,
2301
+ l("div", Ar, [
2302
+ (y(!0), T(fe, null, ye(a.mapFeathers, (F) => (y(), T("div", {
2303
+ key: F.value,
2301
2304
  class: "mb-2 feather-item",
2302
- onClick: (le) => r.handleToggleMapFeather(H)
2305
+ onClick: (le) => r.handleToggleMapFeather(F)
2303
2306
  }, [
2304
2307
  l("div", {
2305
- class: We([a.mapFeather === H.value ? "active" : "", "img-box"])
2308
+ class: We([a.mapFeather === F.value ? "active" : "", "img-box"])
2306
2309
  }, [
2307
- H.value === "dark" ? (b(), M("img", Yr)) : H.value === "nautical" ? (b(), M("img", Zr)) : H.value === "satellite" ? (b(), M("img", Xr)) : (b(), M("img", qr))
2310
+ F.value === "dark" ? (y(), T("img", Dr)) : F.value === "nautical" ? (y(), T("img", Or)) : F.value === "satellite" ? (y(), T("img", Br)) : (y(), T("img", Er))
2308
2311
  ], 2),
2309
- l("div", Kr, y(t.$t(`layer.${H.locale}`)), 1)
2310
- ], 8, Vr))), 128))
2312
+ l("div", jr, b(t.$t(`layer.${F.locale}`)), 1)
2313
+ ], 8, Rr))), 128))
2311
2314
  ]),
2312
- (b(!0), M(be, null, ze(a.tagLayers.filter((H) => ["graticule", "day-night", "time-zones"].includes(H.key)), (H) => (b(), j(p, {
2313
- key: H.key,
2315
+ (y(!0), T(fe, null, ye(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (y(), j(p, {
2316
+ key: F.key,
2314
2317
  modelValue: a.checkList,
2315
2318
  "onUpdate:modelValue": e[0] || (e[0] = (le) => a.checkList = le),
2316
- value: H.key,
2317
- label: t.$t(`layer.${H.locale}`),
2319
+ value: F.key,
2320
+ label: t.$t(`layer.${F.locale}`),
2318
2321
  color: "primary",
2319
2322
  density: "compact",
2320
2323
  style: { height: "36px" },
@@ -2339,7 +2342,7 @@ function Qr(t, e, o, i, a, r) {
2339
2342
  style: { "font-size": "16px !important" }
2340
2343
  }, {
2341
2344
  default: u(() => [
2342
- U(y(t.$t("layer.pointsOfInteresting")), 1)
2345
+ W(b(t.$t("layer.pointsOfInteresting")), 1)
2343
2346
  ]),
2344
2347
  _: 1
2345
2348
  })
@@ -2348,12 +2351,12 @@ function Qr(t, e, o, i, a, r) {
2348
2351
  }),
2349
2352
  h(d, { class: "py-2" }, {
2350
2353
  default: u(() => [
2351
- (b(!0), M(be, null, ze(a.tagLayers.filter((H) => ["ports", "alert-zones", "tidal-stations"].includes(H.key)), (H) => (b(), j(p, {
2352
- key: H.key,
2354
+ (y(!0), T(fe, null, ye(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), j(p, {
2355
+ key: F.key,
2353
2356
  modelValue: a.checkList,
2354
2357
  "onUpdate:modelValue": e[1] || (e[1] = (le) => a.checkList = le),
2355
- value: H.key,
2356
- label: t.$t(`layer.${H.locale}`),
2358
+ value: F.key,
2359
+ label: t.$t(`layer.${F.locale}`),
2357
2360
  color: "primary",
2358
2361
  density: "compact",
2359
2362
  style: { height: "36px" },
@@ -2378,7 +2381,7 @@ function Qr(t, e, o, i, a, r) {
2378
2381
  style: { "font-size": "16px !important" }
2379
2382
  }, {
2380
2383
  default: u(() => [
2381
- U(y(t.$t("layer.otherLayers")), 1)
2384
+ W(b(t.$t("layer.otherLayers")), 1)
2382
2385
  ]),
2383
2386
  _: 1
2384
2387
  })
@@ -2387,12 +2390,12 @@ function Qr(t, e, o, i, a, r) {
2387
2390
  }),
2388
2391
  h(d, { class: "py-2" }, {
2389
2392
  default: u(() => [
2390
- (b(!0), M(be, null, ze(a.tagLayers.filter((H) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(H.key)), (H) => (b(), j(p, {
2391
- key: H.key,
2393
+ (y(!0), T(fe, null, ye(a.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (y(), j(p, {
2394
+ key: F.key,
2392
2395
  modelValue: a.checkList,
2393
2396
  "onUpdate:modelValue": e[2] || (e[2] = (le) => a.checkList = le),
2394
- value: H.key,
2395
- label: t.$t(`layer.${H.locale}`),
2397
+ value: F.key,
2398
+ label: t.$t(`layer.${F.locale}`),
2396
2399
  color: "primary",
2397
2400
  density: "compact",
2398
2401
  style: { height: "36px" },
@@ -2417,7 +2420,7 @@ function Qr(t, e, o, i, a, r) {
2417
2420
  style: { "font-size": "16px !important" }
2418
2421
  }, {
2419
2422
  default: u(() => [
2420
- U(y(t.$t("layer.myFollows")), 1)
2423
+ W(b(t.$t("layer.myFollows")), 1)
2421
2424
  ]),
2422
2425
  _: 1
2423
2426
  })
@@ -2428,7 +2431,7 @@ function Qr(t, e, o, i, a, r) {
2428
2431
  default: u(() => [
2429
2432
  h(p, {
2430
2433
  modelValue: a.followList,
2431
- "onUpdate:modelValue": e[3] || (e[3] = (H) => a.followList = H),
2434
+ "onUpdate:modelValue": e[3] || (e[3] = (F) => a.followList = F),
2432
2435
  value: "ports",
2433
2436
  label: t.$t("layer.ports"),
2434
2437
  color: "primary",
@@ -2439,7 +2442,7 @@ function Qr(t, e, o, i, a, r) {
2439
2442
  }, null, 8, ["modelValue", "label"]),
2440
2443
  h(p, {
2441
2444
  modelValue: a.followList,
2442
- "onUpdate:modelValue": e[4] || (e[4] = (H) => a.followList = H),
2445
+ "onUpdate:modelValue": e[4] || (e[4] = (F) => a.followList = F),
2443
2446
  value: "locations",
2444
2447
  label: t.$t("layer.locations"),
2445
2448
  color: "primary",
@@ -2456,7 +2459,7 @@ function Qr(t, e, o, i, a, r) {
2456
2459
  })
2457
2460
  ])
2458
2461
  ], 6),
2459
- o.map ? (b(), j(z, E({
2462
+ o.map ? (y(), j(z, E({
2460
2463
  key: 0,
2461
2464
  map: o.map,
2462
2465
  gateway: o.gateway,
@@ -2466,45 +2469,45 @@ function Qr(t, e, o, i, a, r) {
2466
2469
  realTime: o.realTime,
2467
2470
  forecastModel: o.forecastModel
2468
2471
  }, t.$attrs), null, 16, ["map", "gateway", "token", "show", "theme", "realTime", "forecastModel"])) : B("", !0),
2469
- o.map ? (b(), j(w, E({
2472
+ o.map ? (y(), j(x, E({
2470
2473
  key: 1,
2471
2474
  map: o.map,
2472
2475
  show: a.checkList.includes("ice-areas")
2473
2476
  }, t.$attrs), null, 16, ["map", "show"])) : B("", !0),
2474
- o.map ? (b(), j(S, E({
2477
+ o.map ? (y(), j(S, E({
2475
2478
  key: 2,
2476
2479
  map: o.map,
2477
2480
  token: o.token,
2478
2481
  show: a.checkList.includes("world12nm")
2479
2482
  }, t.$attrs), null, 16, ["map", "token", "show"])) : B("", !0),
2480
- o.map ? (b(), j(C, E({
2483
+ o.map ? (y(), j(w, E({
2481
2484
  key: 3,
2482
2485
  map: o.map,
2483
2486
  token: o.token,
2484
2487
  show: a.checkList.includes("worldMarine")
2485
2488
  }, t.$attrs), null, 16, ["map", "token", "show"])) : B("", !0),
2486
- o.map ? (b(), j(O, E({
2489
+ o.map ? (y(), j(A, E({
2487
2490
  key: 4,
2488
2491
  map: o.map,
2489
2492
  token: o.token,
2490
2493
  show: a.checkList.includes("chinaRoute")
2491
2494
  }, t.$attrs), null, 16, ["map", "token", "show"])) : B("", !0),
2492
- o.map ? (b(), j(T, E({
2495
+ o.map ? (y(), j(M, E({
2493
2496
  key: 5,
2494
2497
  map: o.map,
2495
- zone: (J = a.otherLayers) == null ? void 0 : J["war-zones"]
2498
+ zone: (ee = a.otherLayers) == null ? void 0 : ee["war-zones"]
2496
2499
  }, t.$attrs), null, 16, ["map", "zone"])) : B("", !0),
2497
- o.map ? (b(), j(L, E({
2500
+ o.map ? (y(), j(P, E({
2498
2501
  key: 6,
2499
2502
  map: o.map,
2500
2503
  area: (te = a.otherLayers) == null ? void 0 : te["gmdss-areas"]
2501
2504
  }, t.$attrs), null, 16, ["map", "area"])) : B("", !0),
2502
- o.map ? (b(), j(_, E({
2505
+ o.map ? (y(), j(k, E({
2503
2506
  key: 7,
2504
2507
  map: o.map,
2505
2508
  zone: (Q = a.otherLayers) == null ? void 0 : Q["eca-zones"]
2506
2509
  }, t.$attrs), null, 16, ["map", "zone"])) : B("", !0),
2507
- o.map ? (b(), j(k, E({
2510
+ o.map ? (y(), j(L, E({
2508
2511
  key: 8,
2509
2512
  map: o.map,
2510
2513
  zone: (se = a.otherLayers) == null ? void 0 : se["alert-zones"]
@@ -2512,38 +2515,38 @@ function Qr(t, e, o, i, a, r) {
2512
2515
  "before-layer": "empty-layer-3",
2513
2516
  theme: o.theme
2514
2517
  }), null, 16, ["map", "zone", "theme"])) : B("", !0),
2515
- o.map ? (b(), j(P, E({
2518
+ o.map ? (y(), j(C, E({
2516
2519
  key: 9,
2517
2520
  map: o.map,
2518
2521
  ports: (de = a.otherLayers) == null ? void 0 : de.ports,
2519
2522
  "forecast-model": o.forecastModel
2520
2523
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "ports", "forecast-model"])) : B("", !0),
2521
- o.map ? (b(), j(x, E({
2524
+ o.map ? (y(), j(_, E({
2522
2525
  key: 10,
2523
2526
  map: o.map,
2524
2527
  show: a.checkList.includes("load-lines")
2525
2528
  }, t.$attrs), null, 16, ["map", "show"])) : B("", !0),
2526
- o.map ? (b(), j(I, E({
2529
+ o.map ? (y(), j(R, E({
2527
2530
  key: 11,
2528
2531
  map: o.map,
2529
2532
  zone: (pe = a.otherLayers) == null ? void 0 : pe["time-zones"]
2530
2533
  }, t.$attrs), null, 16, ["map", "zone"])) : B("", !0),
2531
- o.map ? (b(), j(V, E({
2534
+ o.map ? (y(), j(V, E({
2532
2535
  key: 12,
2533
2536
  map: o.map,
2534
2537
  area: (me = a.otherLayers) == null ? void 0 : me["voluntary-reporting-area"]
2535
2538
  }, t.$attrs), null, 16, ["map", "area"])) : B("", !0),
2536
- o.map ? (b(), j(Z, E({
2539
+ o.map ? (y(), j(X, E({
2537
2540
  key: 13,
2538
2541
  map: o.map,
2539
2542
  area: (K = a.otherLayers) == null ? void 0 : K["special-area"]
2540
2543
  }, t.$attrs), null, 16, ["map", "area"])) : B("", !0),
2541
- o.map ? (b(), j(X, E({
2544
+ o.map ? (y(), j(q, E({
2542
2545
  key: 14,
2543
2546
  map: o.map,
2544
2547
  area: (ie = a.otherLayers) == null ? void 0 : ie["day-night"]
2545
2548
  }, t.$attrs), null, 16, ["map", "area"])) : B("", !0),
2546
- o.map ? (b(), j(F, E({
2549
+ o.map ? (y(), j(Y, E({
2547
2550
  key: 15,
2548
2551
  map: o.map,
2549
2552
  "menu-toggle": o.menuToggle,
@@ -2551,7 +2554,7 @@ function Qr(t, e, o, i, a, r) {
2551
2554
  }, t.$attrs), null, 16, ["map", "menu-toggle", "show"])) : B("", !0)
2552
2555
  ]);
2553
2556
  }
2554
- const Jr = /* @__PURE__ */ q(Nr, [["render", Qr]]);
2557
+ const Fr = /* @__PURE__ */ Z(Cr, [["render", Nr]]);
2555
2558
  class ro {
2556
2559
  constructor(e) {
2557
2560
  ne(this, "map");
@@ -2598,8 +2601,8 @@ class ro {
2598
2601
  * @param [lb.x, lb.y, rt.x, rt.y]
2599
2602
  */
2600
2603
  getBoundPixel() {
2601
- var w, S;
2602
- const e = (w = this.map) == null ? void 0 : w.getBounds();
2604
+ var x, S;
2605
+ const e = (x = this.map) == null ? void 0 : x.getBounds();
2603
2606
  if (!e)
2604
2607
  return [];
2605
2608
  const o = ((S = this.map) == null ? void 0 : S.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], a = [e._sw.lng, e._sw.lat], [r, s] = this.convertNLng(i[0]), [n, c] = this.convertNLng(a[0]), [g, p] = this.mercator.px([r, i[1]], o), [d, f] = this.mercator.px([n, a[1]], o), z = Math.round(this.mercator.size * Math.pow(2, o) * (s + c));
@@ -2787,9 +2790,9 @@ class Ne {
2787
2790
  };
2788
2791
  p.resolution && o.uniform2f(p.resolution, o.canvas.width * e.ratio, o.canvas.height * e.ratio), o.activeTexture(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, a), p.image && o.uniform1i(p.image, 0), o.activeTexture(o.TEXTURE1), o.bindTexture(o.TEXTURE_2D, r), p.color && o.uniform1i(p.color, 1), n != null && n.uvRange && (n != null && n.sRange) && (p.uvRange && o.uniform2f(p.uvRange, n.uvRange[0], n.uvRange[1]), p.sRange && o.uniform2f(p.sRange, n.sRange[0], n.sRange[1])), p.scale && o.uniform1f(p.scale, (n == null ? void 0 : n.scale) || 1);
2789
2792
  const d = e.getBoundPixel(), f = e.map.getZoom() + 1, z = e.getWorldCopy(d, f);
2790
- for (const w of z) {
2791
- const S = (w[0] - d[0]) * e.ratio, C = (w[1] - d[3]) * e.ratio, O = w[2] * e.ratio, [T, L, _, k] = [S, O + S, C, O + C], P = new Float32Array([T, _, L, _, T, k, T, k, L, _, L, k]);
2792
- o.bindBuffer(o.ARRAY_BUFFER, s), o.bufferData(o.ARRAY_BUFFER, P, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
2793
+ for (const x of z) {
2794
+ const S = (x[0] - d[0]) * e.ratio, w = (x[1] - d[3]) * e.ratio, A = x[2] * e.ratio, [M, P, k, L] = [S, A + S, w, A + w], C = new Float32Array([M, k, P, k, M, L, M, L, P, k, P, L]);
2795
+ o.bindBuffer(o.ARRAY_BUFFER, s), o.bufferData(o.ARRAY_BUFFER, C, o.STATIC_DRAW), o.drawArrays(o.TRIANGLES, 0, 6);
2793
2796
  }
2794
2797
  } catch (p) {
2795
2798
  console.log(`render failed...${p}`);
@@ -3035,7 +3038,7 @@ ne(xe, "vertexSchema", `
3035
3038
  fract(pos * 255.0),
3036
3039
  floor(pos * 255.0) / 255.0);
3037
3040
  }`);
3038
- const $r = {
3041
+ const Hr = {
3039
3042
  "000kts": '<svg t="1756203850656" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4213" width="200" height="200"><path d="M729.6 512a217.6 217.6 0 1 0-217.6 217.6v59.733333a277.333333 277.333333 0 1 1 0-554.666666 277.333333 277.333333 0 0 1 0 554.666666v-59.733333a217.6 217.6 0 0 0 217.6-217.6z" fill="#ffffff" p-id="4214"></path><path d="M558.933333 512a46.933333 46.933333 0 1 0-46.933333 46.933333v59.733334a106.666667 106.666667 0 1 1 0-213.333334 106.666667 106.666667 0 0 1 0 213.333334v-59.733334a46.933333 46.933333 0 0 0 46.933333-46.933333z" fill="#ffffff" p-id="4215"></path></svg>',
3040
3043
  "002kts": '<svg t="1756203870666" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4371" width="200" height="200"><path d="M511.975255 4.26646a29.865223 29.865223 0 0 1 29.865223 29.865224v897.791273l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684a29.865223 29.865223 0 0 1 29.865224-29.865224z" fill="#ffffff" p-id="4372"></path></svg>',
3041
3044
  "005kts": '<svg t="1756203883896" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4528" width="200" height="200"><path d="M511.825979 4.265216a29.856515 29.856515 0 0 1 29.856516 29.856516v102.706413l145.443882-97.673458a29.856515 29.856515 0 0 1 33.268689 49.604468l-174.873877 117.378758c-1.194261 0.853043-2.55913 1.364869-3.838694 2.004652v723.508674l58.1349-46.49086a29.899168 29.899168 0 0 1 37.277993 46.70412l-106.630413 85.30433a29.856515 29.856515 0 0 1-37.277992 0l-106.630412-85.30433a29.856515 29.856515 0 0 1 37.277992-46.661468l58.134901 46.448208V34.121732a29.856515 29.856515 0 0 1 29.856515-29.856516z" fill="#ffffff" p-id="4529"></path></svg>',
@@ -3059,7 +3062,7 @@ const $r = {
3059
3062
  "095kts": '<svg t="1756204086889" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7354" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v45.222974l146.334716-91.043232a29.864228 29.864228 0 0 1 31.570755 50.683861L541.822418 281.150373V330.213033l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 400.564621v49.105323l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.710959v49.062659l146.334716-91.000568a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.668295v42.577857l73.764642-46.076238a29.864228 29.864228 0 0 1 31.656082 50.683861l-105.378061 65.871954v179.398682l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#ffffff" p-id="7355"></path></svg>',
3060
3063
  "100kts": '<svg t="1756204093086" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7511" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.573089 106.746841c-0.981286 0.597304-2.047901 0.981286-3.071851 1.450597v617.058175l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7512"></path></svg>',
3061
3064
  "105kts": '<svg t="1756204103259" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7668" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.658418 106.746841c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v79.356164l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v467.348078l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7669"></path></svg>'
3062
- }, el = {
3065
+ }, Gr = {
3063
3066
  name: "IdmWindBarb",
3064
3067
  props: {
3065
3068
  map: {
@@ -3095,7 +3098,7 @@ const $r = {
3095
3098
  right: 10,
3096
3099
  bottom: 125,
3097
3100
  windBarbLoaded: !1,
3098
- svgs: $r
3101
+ svgs: Hr
3099
3102
  };
3100
3103
  },
3101
3104
  computed: {
@@ -3202,11 +3205,11 @@ const $r = {
3202
3205
  }
3203
3206
  }
3204
3207
  };
3205
- function tl(t, e, o, i, a, r) {
3208
+ function Wr(t, e, o, i, a, r) {
3206
3209
  return null;
3207
3210
  }
3208
- const ol = /* @__PURE__ */ q(el, [["render", tl]]);
3209
- const al = {
3211
+ const Ur = /* @__PURE__ */ Z(Gr, [["render", Wr]]);
3212
+ const Vr = {
3210
3213
  name: "IdmWindParticle",
3211
3214
  props: {
3212
3215
  factor: {
@@ -3372,10 +3375,10 @@ const al = {
3372
3375
  (t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
3373
3376
  }
3374
3377
  }
3375
- }, il = { key: 0 };
3376
- function rl(t, e, o, i, a, r) {
3378
+ }, Yr = { key: 0 };
3379
+ function Zr(t, e, o, i, a, r) {
3377
3380
  var s;
3378
- return (s = o.factor) != null && s.active ? (b(), M("div", il, [
3381
+ return (s = o.factor) != null && s.active ? (y(), T("div", Yr, [
3379
3382
  l("div", {
3380
3383
  class: "legend-bars-gl4 wind",
3381
3384
  style: ae({ right: a.right + "px" })
@@ -3391,7 +3394,7 @@ function rl(t, e, o, i, a, r) {
3391
3394
  ]), 4)
3392
3395
  ])) : B("", !0);
3393
3396
  }
3394
- const ll = /* @__PURE__ */ q(al, [["render", rl]]), sl = {
3397
+ const Xr = /* @__PURE__ */ Z(Vr, [["render", Zr]]), qr = {
3395
3398
  name: "IdmCurrent",
3396
3399
  props: {
3397
3400
  map: {
@@ -3549,11 +3552,11 @@ const ll = /* @__PURE__ */ q(al, [["render", rl]]), sl = {
3549
3552
  }
3550
3553
  }
3551
3554
  };
3552
- function nl(t, e, o, i, a, r) {
3555
+ function Kr(t, e, o, i, a, r) {
3553
3556
  return null;
3554
3557
  }
3555
- const cl = /* @__PURE__ */ q(sl, [["render", nl]]);
3556
- const ml = {
3558
+ const Qr = /* @__PURE__ */ Z(qr, [["render", Kr]]);
3559
+ const Jr = {
3557
3560
  name: "IdmCurrentParticle",
3558
3561
  props: {
3559
3562
  factor: {
@@ -3716,10 +3719,10 @@ const ml = {
3716
3719
  (t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
3717
3720
  }
3718
3721
  }
3719
- }, hl = { key: 0 };
3720
- function dl(t, e, o, i, a, r) {
3722
+ }, $r = { key: 0 };
3723
+ function el(t, e, o, i, a, r) {
3721
3724
  var s;
3722
- return (s = o.factor) != null && s.active ? (b(), M("div", hl, [
3725
+ return (s = o.factor) != null && s.active ? (y(), T("div", $r, [
3723
3726
  l("div", {
3724
3727
  class: "legend-bars-gl4 current",
3725
3728
  style: ae({ right: a.right + "px" })
@@ -3734,8 +3737,8 @@ function dl(t, e, o, i, a, r) {
3734
3737
  ]), 4)
3735
3738
  ])) : B("", !0);
3736
3739
  }
3737
- const pl = /* @__PURE__ */ q(ml, [["render", dl]]);
3738
- const ul = {
3740
+ const tl = /* @__PURE__ */ Z(Jr, [["render", el]]);
3741
+ const ol = {
3739
3742
  name: "IdmTemp",
3740
3743
  props: {
3741
3744
  factor: {
@@ -3844,10 +3847,10 @@ const ul = {
3844
3847
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
3845
3848
  }
3846
3849
  }
3847
- }, gl = { key: 0 };
3848
- function fl(t, e, o, i, a, r) {
3850
+ }, al = { key: 0 };
3851
+ function il(t, e, o, i, a, r) {
3849
3852
  var s;
3850
- return (s = o.factor) != null && s.active ? (b(), M("div", gl, [
3853
+ return (s = o.factor) != null && s.active ? (y(), T("div", al, [
3851
3854
  l("div", {
3852
3855
  class: "legend-bars-gl4 sig-wave",
3853
3856
  style: ae({ right: a.right + "px" })
@@ -3862,7 +3865,7 @@ function fl(t, e, o, i, a, r) {
3862
3865
  ]), 4)
3863
3866
  ])) : B("", !0);
3864
3867
  }
3865
- const yl = /* @__PURE__ */ q(ul, [["render", fl], ["__scopeId", "data-v-79ce70e2"]]), bl = {
3868
+ const rl = /* @__PURE__ */ Z(ol, [["render", il], ["__scopeId", "data-v-79ce70e2"]]), ll = {
3866
3869
  name: "IdmSigWave",
3867
3870
  props: {
3868
3871
  map: {
@@ -4011,10 +4014,10 @@ const yl = /* @__PURE__ */ q(ul, [["render", fl], ["__scopeId", "data-v-79ce70e2
4011
4014
  }
4012
4015
  }
4013
4016
  };
4014
- function xl(t, e, o, i, a, r) {
4017
+ function sl(t, e, o, i, a, r) {
4015
4018
  return null;
4016
4019
  }
4017
- const wl = /* @__PURE__ */ q(bl, [["render", xl]]), vl = {
4020
+ const nl = /* @__PURE__ */ Z(ll, [["render", sl]]), cl = {
4018
4021
  name: "IdmSwell",
4019
4022
  props: {
4020
4023
  map: {
@@ -4165,10 +4168,10 @@ const wl = /* @__PURE__ */ q(bl, [["render", xl]]), vl = {
4165
4168
  }
4166
4169
  }
4167
4170
  };
4168
- function _l(t, e, o, i, a, r) {
4169
- return b(), M("div");
4171
+ function ml(t, e, o, i, a, r) {
4172
+ return y(), T("div");
4170
4173
  }
4171
- const kl = /* @__PURE__ */ q(vl, [["render", _l]]), zl = {
4174
+ const hl = /* @__PURE__ */ Z(cl, [["render", ml]]), dl = {
4172
4175
  name: "IdmPrmsl",
4173
4176
  props: {
4174
4177
  map: {
@@ -4319,14 +4322,14 @@ const kl = /* @__PURE__ */ q(vl, [["render", _l]]), zl = {
4319
4322
  this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.labelLayer) && this.map.removeLayer(this.labelLayer), this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
4320
4323
  }
4321
4324
  }
4322
- }, Ll = {
4325
+ }, pl = {
4323
4326
  key: 0,
4324
4327
  class: "legend-tip-btn-gl4"
4325
4328
  };
4326
- function Pl(t, e, o, i, a, r) {
4329
+ function ul(t, e, o, i, a, r) {
4327
4330
  var c;
4328
4331
  const s = v("VBtn"), n = v("VTooltip");
4329
- return (c = o.prmsl) != null && c.active ? (b(), M("div", Ll, [
4332
+ return (c = o.prmsl) != null && c.active ? (y(), T("div", pl, [
4330
4333
  l("div", {
4331
4334
  class: "menu-bar-box pa-1 rounded",
4332
4335
  style: ae({ right: a.right + "px" })
@@ -4356,8 +4359,8 @@ function Pl(t, e, o, i, a, r) {
4356
4359
  ], 4)
4357
4360
  ])) : B("", !0);
4358
4361
  }
4359
- const Cl = /* @__PURE__ */ q(zl, [["render", Pl]]);
4360
- const Sl = {
4362
+ const gl = /* @__PURE__ */ Z(dl, [["render", ul]]);
4363
+ const fl = {
4361
4364
  name: "IdmIceEdge",
4362
4365
  props: {
4363
4366
  factor: {
@@ -4458,10 +4461,10 @@ const Sl = {
4458
4461
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4459
4462
  }
4460
4463
  }
4461
- }, Tl = { key: 0 };
4462
- function Ml(t, e, o, i, a, r) {
4464
+ }, yl = { key: 0 };
4465
+ function bl(t, e, o, i, a, r) {
4463
4466
  var s;
4464
- return (s = o.factor) != null && s.active ? (b(), M("div", Tl, [
4467
+ return (s = o.factor) != null && s.active ? (y(), T("div", yl, [
4465
4468
  l("div", {
4466
4469
  class: "legend-bars-gl4 ice-edge",
4467
4470
  style: ae({ right: a.right + "px" })
@@ -4481,8 +4484,8 @@ function Ml(t, e, o, i, a, r) {
4481
4484
  ]), 4)
4482
4485
  ])) : B("", !0);
4483
4486
  }
4484
- const Il = /* @__PURE__ */ q(Sl, [["render", Ml]]);
4485
- const Al = {
4487
+ const wl = /* @__PURE__ */ Z(fl, [["render", bl]]);
4488
+ const xl = {
4486
4489
  name: "IdmCover",
4487
4490
  props: {
4488
4491
  factor: {
@@ -4574,10 +4577,10 @@ const Al = {
4574
4577
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4575
4578
  }
4576
4579
  }
4577
- }, Rl = { key: 0 };
4578
- function Dl(t, e, o, i, a, r) {
4580
+ }, vl = { key: 0 };
4581
+ function _l(t, e, o, i, a, r) {
4579
4582
  var s;
4580
- return (s = o.factor) != null && s.active ? (b(), M("div", Rl, [
4583
+ return (s = o.factor) != null && s.active ? (y(), T("div", vl, [
4581
4584
  l("div", {
4582
4585
  class: "legend-bars-gl4 ice-cover",
4583
4586
  style: ae({ right: a.right + "px" })
@@ -4591,8 +4594,8 @@ function Dl(t, e, o, i, a, r) {
4591
4594
  ]), 4)
4592
4595
  ])) : B("", !0);
4593
4596
  }
4594
- const Ol = /* @__PURE__ */ q(Al, [["render", Dl], ["__scopeId", "data-v-9696d73b"]]);
4595
- const Bl = {
4597
+ const kl = /* @__PURE__ */ Z(xl, [["render", _l], ["__scopeId", "data-v-9696d73b"]]);
4598
+ const zl = {
4596
4599
  name: "IdmThickness",
4597
4600
  props: {
4598
4601
  factor: {
@@ -4692,10 +4695,10 @@ const Bl = {
4692
4695
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4693
4696
  }
4694
4697
  }
4695
- }, El = { key: 0 };
4696
- function jl(t, e, o, i, a, r) {
4698
+ }, Ll = { key: 0 };
4699
+ function Pl(t, e, o, i, a, r) {
4697
4700
  var s;
4698
- return (s = o.factor) != null && s.active ? (b(), M("div", El, [
4701
+ return (s = o.factor) != null && s.active ? (y(), T("div", Ll, [
4699
4702
  l("div", {
4700
4703
  class: "legend-bars-gl4 ice-thickness",
4701
4704
  style: ae({ right: a.right + "px" })
@@ -4710,8 +4713,8 @@ function jl(t, e, o, i, a, r) {
4710
4713
  ]), 4)
4711
4714
  ])) : B("", !0);
4712
4715
  }
4713
- const Nl = /* @__PURE__ */ q(Bl, [["render", jl]]);
4714
- const Fl = {
4716
+ const Cl = /* @__PURE__ */ Z(zl, [["render", Pl]]);
4717
+ const Sl = {
4715
4718
  name: "IdmPrecip3h",
4716
4719
  props: {
4717
4720
  factor: {
@@ -4812,10 +4815,10 @@ const Fl = {
4812
4815
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4813
4816
  }
4814
4817
  }
4815
- }, Hl = { key: 0 };
4816
- function Gl(t, e, o, i, a, r) {
4818
+ }, Tl = { key: 0 };
4819
+ function Ml(t, e, o, i, a, r) {
4817
4820
  var s;
4818
- return (s = o.factor) != null && s.active ? (b(), M("div", Hl, [
4821
+ return (s = o.factor) != null && s.active ? (y(), T("div", Tl, [
4819
4822
  l("div", {
4820
4823
  class: "legend-bars-gl4 precip3h",
4821
4824
  style: ae({ right: a.right + "px" })
@@ -4831,8 +4834,8 @@ function Gl(t, e, o, i, a, r) {
4831
4834
  ]), 4)
4832
4835
  ])) : B("", !0);
4833
4836
  }
4834
- const Wl = /* @__PURE__ */ q(Fl, [["render", Gl]]);
4835
- const Ul = {
4837
+ const Il = /* @__PURE__ */ Z(Sl, [["render", Ml]]);
4838
+ const Al = {
4836
4839
  name: "IdmVisibility",
4837
4840
  props: {
4838
4841
  factor: {
@@ -4923,10 +4926,10 @@ const Ul = {
4923
4926
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
4924
4927
  }
4925
4928
  }
4926
- }, Vl = { key: 0 };
4927
- function Yl(t, e, o, i, a, r) {
4929
+ }, Rl = { key: 0 };
4930
+ function Dl(t, e, o, i, a, r) {
4928
4931
  var s;
4929
- return (s = o.factor) != null && s.active ? (b(), M("div", Vl, [
4932
+ return (s = o.factor) != null && s.active ? (y(), T("div", Rl, [
4930
4933
  l("div", {
4931
4934
  class: "legend-bars-gl4 visibility",
4932
4935
  style: ae({ right: a.right + "px" })
@@ -4940,8 +4943,8 @@ function Yl(t, e, o, i, a, r) {
4940
4943
  ]), 4)
4941
4944
  ])) : B("", !0);
4942
4945
  }
4943
- const Zl = /* @__PURE__ */ q(Ul, [["render", Yl]]);
4944
- const Xl = {
4946
+ const Ol = /* @__PURE__ */ Z(Al, [["render", Dl]]);
4947
+ const Bl = {
4945
4948
  name: "IdmWaterTemp",
4946
4949
  props: {
4947
4950
  factor: {
@@ -5035,10 +5038,10 @@ const Xl = {
5035
5038
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
5036
5039
  }
5037
5040
  }
5038
- }, ql = { key: 0 };
5039
- function Kl(t, e, o, i, a, r) {
5041
+ }, El = { key: 0 };
5042
+ function jl(t, e, o, i, a, r) {
5040
5043
  var s;
5041
- return (s = o.factor) != null && s.active ? (b(), M("div", ql, [
5044
+ return (s = o.factor) != null && s.active ? (y(), T("div", El, [
5042
5045
  l("div", {
5043
5046
  class: "legend-bars-gl4 water-temp",
5044
5047
  style: ae({ right: a.right + "px" })
@@ -5052,8 +5055,8 @@ function Kl(t, e, o, i, a, r) {
5052
5055
  ]), 4)
5053
5056
  ])) : B("", !0);
5054
5057
  }
5055
- const Ql = /* @__PURE__ */ q(Xl, [["render", Kl]]);
5056
- const Jl = {
5058
+ const Nl = /* @__PURE__ */ Z(Bl, [["render", jl]]);
5059
+ const Fl = {
5057
5060
  name: "IdmTemp",
5058
5061
  props: {
5059
5062
  factor: {
@@ -5158,10 +5161,10 @@ const Jl = {
5158
5161
  this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
5159
5162
  }
5160
5163
  }
5161
- }, $l = { key: 0 };
5162
- function es(t, e, o, i, a, r) {
5164
+ }, Hl = { key: 0 };
5165
+ function Gl(t, e, o, i, a, r) {
5163
5166
  var s;
5164
- return (s = o.factor) != null && s.active ? (b(), M("div", $l, [
5167
+ return (s = o.factor) != null && s.active ? (y(), T("div", Hl, [
5165
5168
  l("div", {
5166
5169
  class: "legend-bars-gl4 temp",
5167
5170
  style: ae({ right: a.right + "px" })
@@ -5177,25 +5180,25 @@ function es(t, e, o, i, a, r) {
5177
5180
  ]), 4)
5178
5181
  ])) : B("", !0);
5179
5182
  }
5180
- const ts = /* @__PURE__ */ q(Jl, [["render", es]]);
5181
- const os = {
5183
+ const Wl = /* @__PURE__ */ Z(Fl, [["render", Gl]]);
5184
+ const Ul = {
5182
5185
  name: "IdmGlLayer",
5183
5186
  components: {
5184
- IdmWindBarb: ol,
5185
- IdmWindParticle: ll,
5186
- IdmCurrentDirection: cl,
5187
- IdmCurrentParticle: pl,
5188
- IdmWave: yl,
5189
- IdmSigWaveHeight: wl,
5190
- IdmSwell: kl,
5191
- IdmPrmsl: Cl,
5192
- IdmIceEdge: Il,
5193
- IdmIceCover: Ol,
5194
- IdmIceThickness: Nl,
5195
- IdmPrecip3h: Wl,
5196
- IdmVisibility: Zl,
5197
- IdmWaterTemp: Ql,
5198
- IdmTemp: ts
5187
+ IdmWindBarb: Ur,
5188
+ IdmWindParticle: Xr,
5189
+ IdmCurrentDirection: Qr,
5190
+ IdmCurrentParticle: tl,
5191
+ IdmWave: rl,
5192
+ IdmSigWaveHeight: nl,
5193
+ IdmSwell: hl,
5194
+ IdmPrmsl: gl,
5195
+ IdmIceEdge: wl,
5196
+ IdmIceCover: kl,
5197
+ IdmIceThickness: Cl,
5198
+ IdmPrecip3h: Il,
5199
+ IdmVisibility: Ol,
5200
+ IdmWaterTemp: Nl,
5201
+ IdmTemp: Wl
5199
5202
  },
5200
5203
  props: {
5201
5204
  isLogin: {
@@ -5299,7 +5302,7 @@ const os = {
5299
5302
  return function(t) {
5300
5303
  var e;
5301
5304
  if (t) {
5302
- const o = A(t);
5305
+ const o = I(t);
5303
5306
  return `${(e = o == null ? void 0 : o.utc()) == null ? void 0 : e.format("MMM-DD/HHmm")}Z`;
5304
5307
  }
5305
5308
  return "-";
@@ -5346,7 +5349,7 @@ const os = {
5346
5349
  },
5347
5350
  realTime: {
5348
5351
  handler(t, e) {
5349
- t && e && A(t).utc().format("yyyy-MM-DD HH") !== A(e).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
5352
+ t && e && I(t).utc().format("yyyy-MM-DD HH") !== I(e).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
5350
5353
  this.fetchWeatherLayers();
5351
5354
  });
5352
5355
  },
@@ -5438,67 +5441,67 @@ const os = {
5438
5441
  const e = (/* @__PURE__ */ new Date()).valueOf();
5439
5442
  let o = 0, i = 0;
5440
5443
  if (this.map) {
5441
- const z = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, w = (r = this.map) == null ? void 0 : r.getBounds(), S = `${w._sw.lng},${w._sw.lat},${w._ne.lng},${w._ne.lat}`;
5444
+ const z = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, x = (r = this.map) == null ? void 0 : r.getBounds(), S = `${x._sw.lng},${x._sw.lat},${x._ne.lng},${x._ne.lat}`;
5442
5445
  if (this.particleFactor && ((s = this.$refs.layer) != null && s.autoActive)) {
5443
- const C = oo.WEATHER_LAYERS.find((O) => {
5444
- var T;
5445
- return ((T = O.peer) == null ? void 0 : T.weight) === this.particleFactor.weight;
5446
+ const w = oo.WEATHER_LAYERS.find((A) => {
5447
+ var M;
5448
+ return ((M = A.peer) == null ? void 0 : M.weight) === this.particleFactor.weight;
5446
5449
  });
5447
- this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & C.weight ? this.weatherWeight : this.weatherWeight + C.weight : this.weatherWeight = this.weatherWeight & C.weight ? this.weatherWeight - C.weight : this.weatherWeight;
5450
+ this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & w.weight ? this.weatherWeight : this.weatherWeight + w.weight : this.weatherWeight = this.weatherWeight & w.weight ? this.weatherWeight - w.weight : this.weatherWeight;
5448
5451
  }
5449
5452
  if (this.weatherWeight > 0) {
5450
- let C = this.weatherWeight;
5451
- if (C > 0) {
5452
- const O = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], T = await Se.get(
5453
- `${O}/api/arc/weather/layers2/links?l=${C}&v=${this.forecastModel}&z=${z}&bbox=${S}&t=${this.realTime}`,
5453
+ let w = this.weatherWeight;
5454
+ if (w > 0) {
5455
+ const A = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], M = await Se.get(
5456
+ `${A}/api/arc/weather/layers2/links?l=${w}&v=${this.forecastModel}&z=${z}&bbox=${S}&t=${this.realTime}`,
5454
5457
  {
5455
5458
  headers: {
5456
5459
  Authorization: this.token || this.defaultMeteoToken
5457
5460
  }
5458
5461
  }
5459
5462
  );
5460
- if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((n = T == null ? void 0 : T.data) == null ? void 0 : n.code) === 0) {
5461
- const L = (c = T == null ? void 0 : T.data) == null ? void 0 : c.data, _ = [];
5462
- for (const P in L)
5463
- _.push(
5464
- Se.get(L[P], {
5463
+ if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather links elapsed: ", i, ", total: ", o += i), ((n = M == null ? void 0 : M.data) == null ? void 0 : n.code) === 0) {
5464
+ const P = (c = M == null ? void 0 : M.data) == null ? void 0 : c.data, k = [];
5465
+ for (const C in P)
5466
+ k.push(
5467
+ Se.get(P[C], {
5465
5468
  headers: {
5466
5469
  Authorization: this.token || this.defaultMeteoToken,
5467
- key: P
5470
+ key: C
5468
5471
  },
5469
- responseType: /\.(jpg|png)$/.test(L[P]) ? "blob" : "json"
5470
- }).catch((x) => {
5471
- console.log(`[${P}] fetch layer error: ${x}`);
5472
+ responseType: /\.(jpg|png)$/.test(P[C]) ? "blob" : "json"
5473
+ }).catch((_) => {
5474
+ console.log(`[${C}] fetch layer error: ${_}`);
5472
5475
  })
5473
5476
  );
5474
- const k = await Promise.all(_);
5475
- this.weatherLayers = {}, k.map((P) => {
5476
- var V, Z, X, F;
5477
- const x = ((V = P == null ? void 0 : P.data) == null ? void 0 : V.data) || (P == null ? void 0 : P.data);
5478
- let I = (X = (Z = P == null ? void 0 : P.config) == null ? void 0 : Z.headers) == null ? void 0 : X.key;
5479
- I && x && (this.weatherLayers[I] = {
5480
- raw: x,
5481
- type: ((F = P == null ? void 0 : P.config) == null ? void 0 : F.responseType) === "blob" ? "image" : "json",
5482
- etime: T.data.etime
5477
+ const L = await Promise.all(k);
5478
+ this.weatherLayers = {}, L.map((C) => {
5479
+ var V, X, q, Y;
5480
+ const _ = ((V = C == null ? void 0 : C.data) == null ? void 0 : V.data) || (C == null ? void 0 : C.data);
5481
+ let R = (q = (X = C == null ? void 0 : C.config) == null ? void 0 : X.headers) == null ? void 0 : q.key;
5482
+ R && _ && (this.weatherLayers[R] = {
5483
+ raw: _,
5484
+ type: ((Y = C == null ? void 0 : C.config) == null ? void 0 : Y.responseType) === "blob" ? "image" : "json",
5485
+ etime: M.data.etime
5483
5486
  });
5484
5487
  });
5485
5488
  }
5486
5489
  if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + o), console.log("weather layers elapsed: ", i, ", total: ", o += i), this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
5487
- const L = (g = this.weatherLayers["swell-direction"]) == null ? void 0 : g.raw, _ = (p = this.weatherLayers["swell-height"]) == null ? void 0 : p.raw;
5490
+ const P = (g = this.weatherLayers["swell-direction"]) == null ? void 0 : g.raw, k = (p = this.weatherLayers["swell-height"]) == null ? void 0 : p.raw;
5488
5491
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers.swell = {
5489
5492
  type: "json",
5490
- direction: L,
5491
- height: { raw: _ },
5492
- etime: T.data.etime
5493
+ direction: P,
5494
+ height: { raw: k },
5495
+ etime: M.data.etime
5493
5496
  };
5494
5497
  }
5495
5498
  if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
5496
- const L = (d = this.weatherLayers["current-direction"]) == null ? void 0 : d.raw, _ = (f = this.weatherLayers["current-speed"]) == null ? void 0 : f.raw;
5499
+ const P = (d = this.weatherLayers["current-direction"]) == null ? void 0 : d.raw, k = (f = this.weatherLayers["current-speed"]) == null ? void 0 : f.raw;
5497
5500
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
5498
5501
  type: "json",
5499
- direction: L,
5500
- speed: { raw: _ },
5501
- etime: T.data.etime
5502
+ direction: P,
5503
+ speed: { raw: k },
5504
+ etime: M.data.etime
5502
5505
  };
5503
5506
  }
5504
5507
  }
@@ -5558,253 +5561,253 @@ const os = {
5558
5561
  );
5559
5562
  },
5560
5563
  handleDrawWeather4Json() {
5561
- var g, p, d, f, z, w, S;
5564
+ var g, p, d, f, z, x, S;
5562
5565
  const t = (/* @__PURE__ */ new Date()).valueOf();
5563
5566
  let e = 0, o = 0;
5564
- const i = (g = this.map) == null ? void 0 : g.getBounds(), a = (p = this.map) == null ? void 0 : p.getZoom(), r = $.convertToStdLng(i._sw.lng), s = $.convertToStdLng(i._ne.lng), n = Math.floor(i._sw.lat), c = Math.ceil(i._ne.lat);
5565
- for (const C in this.weatherLayers) {
5566
- let O = !1;
5567
- if (this.weatherLayers[C].active && this.weatherLayers[C].type === "json") {
5568
- let T = [];
5569
- if (C === "swell") {
5570
- O = !0;
5571
- const L = ((d = this.weatherLayers[C]) == null ? void 0 : d.direction) || {};
5572
- for (const k in L)
5573
- if (k > n && k < c && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5574
- const P = L[k].lng;
5575
- r > s ? P.forEach((x, I) => {
5576
- var V, Z, X, F, J, te;
5567
+ const i = (g = this.map) == null ? void 0 : g.getBounds(), a = (p = this.map) == null ? void 0 : p.getZoom(), r = J.convertToStdLng(i._sw.lng), s = J.convertToStdLng(i._ne.lng), n = Math.floor(i._sw.lat), c = Math.ceil(i._ne.lat);
5568
+ for (const w in this.weatherLayers) {
5569
+ let A = !1;
5570
+ if (this.weatherLayers[w].active && this.weatherLayers[w].type === "json") {
5571
+ let M = [];
5572
+ if (w === "swell") {
5573
+ A = !0;
5574
+ const P = ((d = this.weatherLayers[w]) == null ? void 0 : d.direction) || {};
5575
+ for (const L in P)
5576
+ if (L > n && L < c && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5577
+ const C = P[L].lng;
5578
+ r > s ? C.forEach((_, R) => {
5579
+ var V, X, q, Y, ee, te;
5577
5580
  if (a < 2) {
5578
- if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
5579
- const Q = N.point([x, k], {
5580
- val: ((V = L[k].val) == null ? void 0 : V[I]) || ((Z = L[k].dir) == null ? void 0 : Z[I]),
5581
- spd: (X = L[k].spd) == null ? void 0 : X[I]
5581
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
5582
+ const Q = N.point([_, L], {
5583
+ val: ((V = P[L].val) == null ? void 0 : V[R]) || ((X = P[L].dir) == null ? void 0 : X[R]),
5584
+ spd: (q = P[L].spd) == null ? void 0 : q[R]
5582
5585
  });
5583
- T.push(Q);
5586
+ M.push(Q);
5584
5587
  }
5585
- } else if ((x >= r && x <= 180 || x >= -180 && x <= s) && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5586
- const Q = N.point([x, k], {
5587
- val: ((F = L[k].val) == null ? void 0 : F[I]) || ((J = L[k].dir) == null ? void 0 : J[I]),
5588
- spd: (te = L[k].spd) == null ? void 0 : te[I]
5588
+ } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= s) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5589
+ const Q = N.point([_, L], {
5590
+ val: ((Y = P[L].val) == null ? void 0 : Y[R]) || ((ee = P[L].dir) == null ? void 0 : ee[R]),
5591
+ spd: (te = P[L].spd) == null ? void 0 : te[R]
5589
5592
  });
5590
- T.push(Q);
5593
+ M.push(Q);
5591
5594
  }
5592
- }) : P.forEach((x, I) => {
5593
- var V, Z, X, F, J, te;
5595
+ }) : C.forEach((_, R) => {
5596
+ var V, X, q, Y, ee, te;
5594
5597
  if (r < 2) {
5595
- if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
5596
- const Q = N.point([x, k], {
5597
- val: ((V = L[k].val) == null ? void 0 : V[I]) || ((Z = L[k].dir) == null ? void 0 : Z[I]),
5598
- spd: (X = L[k].spd) == null ? void 0 : X[I]
5598
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
5599
+ const Q = N.point([_, L], {
5600
+ val: ((V = P[L].val) == null ? void 0 : V[R]) || ((X = P[L].dir) == null ? void 0 : X[R]),
5601
+ spd: (q = P[L].spd) == null ? void 0 : q[R]
5599
5602
  });
5600
- T.push(Q);
5603
+ M.push(Q);
5601
5604
  }
5602
- } else if (x >= r && x <= s && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5603
- const Q = N.point([x, k], {
5604
- val: ((F = L[k].val) == null ? void 0 : F[I]) || ((J = L[k].dir) == null ? void 0 : J[I]),
5605
- spd: (te = L[k].spd) == null ? void 0 : te[I]
5605
+ } else if (_ >= r && _ <= s && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5606
+ const Q = N.point([_, L], {
5607
+ val: ((Y = P[L].val) == null ? void 0 : Y[R]) || ((ee = P[L].dir) == null ? void 0 : ee[R]),
5608
+ spd: (te = P[L].spd) == null ? void 0 : te[R]
5606
5609
  });
5607
- T.push(Q);
5610
+ M.push(Q);
5608
5611
  }
5609
5612
  });
5610
5613
  }
5611
5614
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell direction elapsed: ", o, ", total: ", e += o);
5612
- const _ = this.weatherLayers[C].height;
5613
- if (_) {
5614
- if (!_.data) {
5615
- const k = [];
5616
- for (const P in (f = _.raw) == null ? void 0 : f.LineString) {
5617
- const x = _.raw.LineString[P];
5618
- for (const I of x)
5619
- k.push(
5620
- N.lineString(I, {
5621
- val: Number(P)
5615
+ const k = this.weatherLayers[w].height;
5616
+ if (k) {
5617
+ if (!k.data) {
5618
+ const L = [];
5619
+ for (const C in (f = k.raw) == null ? void 0 : f.LineString) {
5620
+ const _ = k.raw.LineString[C];
5621
+ for (const R of _)
5622
+ L.push(
5623
+ N.lineString(R, {
5624
+ val: Number(C)
5622
5625
  })
5623
5626
  );
5624
- _.data = N.featureCollection(k);
5627
+ k.data = N.featureCollection(L);
5625
5628
  }
5626
5629
  }
5627
- if (_.data) {
5628
- const k = this.handleBboxClip(_.data, i);
5629
- T = T.concat(k);
5630
+ if (k.data) {
5631
+ const L = this.handleBboxClip(k.data, i);
5632
+ M = M.concat(L);
5630
5633
  }
5631
5634
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", o, ", total: ", e += o);
5632
5635
  }
5633
- } else if (C === "current") {
5634
- O = !0;
5635
- const L = ((z = this.weatherLayers[C]) == null ? void 0 : z.direction) || {};
5636
- for (const k in L)
5637
- if (k > n && k < c && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5638
- const P = L[k].lng;
5639
- r > s ? P.forEach((x, I) => {
5640
- var V, Z, X, F, J, te;
5636
+ } else if (w === "current") {
5637
+ A = !0;
5638
+ const P = ((z = this.weatherLayers[w]) == null ? void 0 : z.direction) || {};
5639
+ for (const L in P)
5640
+ if (L > n && L < c && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5641
+ const C = P[L].lng;
5642
+ r > s ? C.forEach((_, R) => {
5643
+ var V, X, q, Y, ee, te;
5641
5644
  if (a < 2) {
5642
- if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
5643
- const Q = N.point([x, k], {
5644
- val: ((V = L[k].val) == null ? void 0 : V[I]) || ((Z = L[k].dir) == null ? void 0 : Z[I]),
5645
- spd: (X = L[k].spd) == null ? void 0 : X[I]
5645
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
5646
+ const Q = N.point([_, L], {
5647
+ val: ((V = P[L].val) == null ? void 0 : V[R]) || ((X = P[L].dir) == null ? void 0 : X[R]),
5648
+ spd: (q = P[L].spd) == null ? void 0 : q[R]
5646
5649
  });
5647
- T.push(Q);
5650
+ M.push(Q);
5648
5651
  }
5649
- } else if ((x >= r && x <= 180 || x >= -180 && x <= s) && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5650
- const Q = N.point([x, k], {
5651
- val: ((F = L[k].val) == null ? void 0 : F[I]) || ((J = L[k].dir) == null ? void 0 : J[I]),
5652
- spd: (te = L[k].spd) == null ? void 0 : te[I]
5652
+ } else if ((_ >= r && _ <= 180 || _ >= -180 && _ <= s) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5653
+ const Q = N.point([_, L], {
5654
+ val: ((Y = P[L].val) == null ? void 0 : Y[R]) || ((ee = P[L].dir) == null ? void 0 : ee[R]),
5655
+ spd: (te = P[L].spd) == null ? void 0 : te[R]
5653
5656
  });
5654
- T.push(Q);
5657
+ M.push(Q);
5655
5658
  }
5656
- }) : P.forEach((x, I) => {
5657
- var V, Z, X, F, J, te;
5659
+ }) : C.forEach((_, R) => {
5660
+ var V, X, q, Y, ee, te;
5658
5661
  if (r < 2) {
5659
- if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
5660
- const Q = N.point([x, k], {
5661
- val: ((V = L[k].val) == null ? void 0 : V[I]) || ((Z = L[k].dir) == null ? void 0 : Z[I]),
5662
- spd: (X = L[k].spd) == null ? void 0 : X[I]
5662
+ if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
5663
+ const Q = N.point([_, L], {
5664
+ val: ((V = P[L].val) == null ? void 0 : V[R]) || ((X = P[L].dir) == null ? void 0 : X[R]),
5665
+ spd: (q = P[L].spd) == null ? void 0 : q[R]
5663
5666
  });
5664
- T.push(Q);
5667
+ M.push(Q);
5665
5668
  }
5666
- } else if (x >= r && x <= s && (!(a <= this.zoom) || x % (a < this.zoom / 2 ? 5 : 3) === 0)) {
5667
- const Q = N.point([x, k], {
5668
- val: ((F = L[k].val) == null ? void 0 : F[I]) || ((J = L[k].dir) == null ? void 0 : J[I]),
5669
- spd: (te = L[k].spd) == null ? void 0 : te[I]
5669
+ } else if (_ >= r && _ <= s && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
5670
+ const Q = N.point([_, L], {
5671
+ val: ((Y = P[L].val) == null ? void 0 : Y[R]) || ((ee = P[L].dir) == null ? void 0 : ee[R]),
5672
+ spd: (te = P[L].spd) == null ? void 0 : te[R]
5670
5673
  });
5671
- T.push(Q);
5674
+ M.push(Q);
5672
5675
  }
5673
5676
  });
5674
5677
  }
5675
5678
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current direction elapsed: ", o, ", total: ", e += o);
5676
- const _ = this.weatherLayers[C].speed;
5677
- if (_) {
5678
- if (!_.data) {
5679
- const P = [];
5680
- for (const x in (w = _.raw) == null ? void 0 : w.Polygon) {
5681
- const I = _.raw.Polygon[x];
5682
- for (const V of I)
5683
- P.push(
5679
+ const k = this.weatherLayers[w].speed;
5680
+ if (k) {
5681
+ if (!k.data) {
5682
+ const C = [];
5683
+ for (const _ in (x = k.raw) == null ? void 0 : x.Polygon) {
5684
+ const R = k.raw.Polygon[_];
5685
+ for (const V of R)
5686
+ C.push(
5684
5687
  N.polygon(V, {
5685
- val: Number(x)
5688
+ val: Number(_)
5686
5689
  })
5687
5690
  );
5688
5691
  }
5689
- _.data = N.featureCollection(P);
5692
+ k.data = N.featureCollection(C);
5690
5693
  }
5691
- const k = a < this.zoom ? _.data.features.filter((P) => P.properties.val > 0.5) : _.data.features;
5692
- T = T.concat(k), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
5694
+ const L = a < this.zoom ? k.data.features.filter((C) => C.properties.val > 0.5) : k.data.features;
5695
+ M = M.concat(L), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", o, ", total: ", e += o);
5693
5696
  }
5694
- } else if (C === "wind") {
5695
- O = !0;
5696
- const L = this.weatherLayers.wind.raw;
5697
- for (const _ in L)
5698
- if (_ > n && _ < c && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5699
- const k = L[_].lng;
5700
- r > s ? k.forEach((P, x) => {
5701
- var I, V, Z, X;
5697
+ } else if (w === "wind") {
5698
+ A = !0;
5699
+ const P = this.weatherLayers.wind.raw;
5700
+ for (const k in P)
5701
+ if (k > n && k < c && (!(a <= this.zoom) || k % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5702
+ const L = P[k].lng;
5703
+ r > s ? L.forEach((C, _) => {
5704
+ var R, V, X, q;
5702
5705
  if (a < 2) {
5703
- if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
5704
- const F = N.point([P, _], {
5705
- dir: ((I = L[_].val) == null ? void 0 : I[x]) || ((V = L[_].dir) == null ? void 0 : V[x]),
5706
- spd: L[_].spd[x]
5706
+ if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
5707
+ const Y = N.point([C, k], {
5708
+ dir: ((R = P[k].val) == null ? void 0 : R[_]) || ((V = P[k].dir) == null ? void 0 : V[_]),
5709
+ spd: P[k].spd[_]
5707
5710
  });
5708
- T.push(F);
5711
+ M.push(Y);
5709
5712
  }
5710
- } else if ((P >= r && P <= 180 || P >= -180 && P <= s) && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5711
- const F = N.point([P, _], {
5712
- dir: ((Z = L[_].val) == null ? void 0 : Z[x]) || ((X = L[_].dir) == null ? void 0 : X[x]),
5713
- spd: L[_].spd[x]
5713
+ } else if ((C >= r && C <= 180 || C >= -180 && C <= s) && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5714
+ const Y = N.point([C, k], {
5715
+ dir: ((X = P[k].val) == null ? void 0 : X[_]) || ((q = P[k].dir) == null ? void 0 : q[_]),
5716
+ spd: P[k].spd[_]
5714
5717
  });
5715
- T.push(F);
5718
+ M.push(Y);
5716
5719
  }
5717
- }) : k.forEach((P, x) => {
5718
- var I, V, Z, X;
5720
+ }) : L.forEach((C, _) => {
5721
+ var R, V, X, q;
5719
5722
  if (a < 2) {
5720
- if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
5721
- const F = N.point([P, _], {
5722
- dir: ((I = L[_].val) == null ? void 0 : I[x]) || ((V = L[_].dir) == null ? void 0 : V[x]),
5723
- spd: L[_].spd[x]
5723
+ if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
5724
+ const Y = N.point([C, k], {
5725
+ dir: ((R = P[k].val) == null ? void 0 : R[_]) || ((V = P[k].dir) == null ? void 0 : V[_]),
5726
+ spd: P[k].spd[_]
5724
5727
  });
5725
- T.push(F);
5728
+ M.push(Y);
5726
5729
  }
5727
- } else if (P >= r && P <= s && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5728
- const F = N.point([P, _], {
5729
- dir: ((Z = L[_].val) == null ? void 0 : Z[x]) || ((X = L[_].dir) == null ? void 0 : X[x]),
5730
- spd: L[_].spd[x]
5730
+ } else if (C >= r && C <= s && (!(a <= this.zoom) || C % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
5731
+ const Y = N.point([C, k], {
5732
+ dir: ((X = P[k].val) == null ? void 0 : X[_]) || ((q = P[k].dir) == null ? void 0 : q[_]),
5733
+ spd: P[k].spd[_]
5731
5734
  });
5732
- T.push(F);
5735
+ M.push(Y);
5733
5736
  }
5734
5737
  });
5735
5738
  }
5736
5739
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("wind barb elapsed: ", o, ", total: ", e += o);
5737
- } else if (C === "sig-wave-height") {
5738
- if (this.weatherLayers[C].data)
5739
- T = this.weatherLayers[C].data;
5740
+ } else if (w === "sig-wave-height") {
5741
+ if (this.weatherLayers[w].data)
5742
+ M = this.weatherLayers[w].data;
5740
5743
  else {
5741
- O = !0;
5742
- const L = this.weatherLayers[C].raw;
5743
- if (L) {
5744
- const _ = [];
5745
- for (const k in L.Polygon) {
5746
- const P = L.Polygon[k];
5747
- for (const x of P)
5748
- _.push(
5749
- N.polygon(x, {
5750
- val: Number(k)
5744
+ A = !0;
5745
+ const P = this.weatherLayers[w].raw;
5746
+ if (P) {
5747
+ const k = [];
5748
+ for (const L in P.Polygon) {
5749
+ const C = P.Polygon[L];
5750
+ for (const _ of C)
5751
+ k.push(
5752
+ N.polygon(_, {
5753
+ val: Number(L)
5751
5754
  })
5752
5755
  );
5753
5756
  }
5754
- for (const k in L.MultiPolygon) {
5755
- const P = L.MultiPolygon[k];
5756
- for (const x of P)
5757
- _.push(
5758
- N.multiPolygon(x, {
5759
- val: Number(k)
5757
+ for (const L in P.MultiPolygon) {
5758
+ const C = P.MultiPolygon[L];
5759
+ for (const _ of C)
5760
+ k.push(
5761
+ N.multiPolygon(_, {
5762
+ val: Number(L)
5760
5763
  })
5761
5764
  );
5762
5765
  }
5763
- for (const k in L.Point) {
5764
- const P = L.Point[k];
5765
- for (let x = 0; x < ((S = P.lng) == null ? void 0 : S.length); x++)
5766
- _.push(
5767
- N.point([P.lng[x], k], {
5768
- val: Number(P.val[x])
5766
+ for (const L in P.Point) {
5767
+ const C = P.Point[L];
5768
+ for (let _ = 0; _ < ((S = C.lng) == null ? void 0 : S.length); _++)
5769
+ k.push(
5770
+ N.point([C.lng[_], L], {
5771
+ val: Number(C.val[_])
5769
5772
  })
5770
5773
  );
5771
5774
  }
5772
- T = T.concat(_);
5775
+ M = M.concat(k);
5773
5776
  }
5774
5777
  }
5775
5778
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", o, ", total: ", e += o);
5776
- } else if (C === "prmsl") {
5777
- if (this.weatherLayers[C].data)
5778
- T = this.weatherLayers[C].data;
5779
+ } else if (w === "prmsl") {
5780
+ if (this.weatherLayers[w].data)
5781
+ M = this.weatherLayers[w].data;
5779
5782
  else {
5780
- O = !0;
5781
- const L = this.weatherLayers[C].raw;
5782
- if (L) {
5783
- const _ = [];
5784
- for (const k in L.LineString) {
5785
- const P = L.LineString[k];
5786
- for (const x of P)
5787
- _.push(
5788
- N.lineString(x, {
5789
- val: Number(k)
5783
+ A = !0;
5784
+ const P = this.weatherLayers[w].raw;
5785
+ if (P) {
5786
+ const k = [];
5787
+ for (const L in P.LineString) {
5788
+ const C = P.LineString[L];
5789
+ for (const _ of C)
5790
+ k.push(
5791
+ N.lineString(_, {
5792
+ val: Number(L)
5790
5793
  })
5791
5794
  );
5792
5795
  }
5793
- for (const k in L.Point)
5794
- L.Point[k].lng.forEach((P, x) => {
5795
- P = $.convertToStdLng(P), _.push(
5796
- N.point([P, k], {
5797
- val: L.Point[k].val[x],
5798
- type: L.Point[k].type[x]
5796
+ for (const L in P.Point)
5797
+ P.Point[L].lng.forEach((C, _) => {
5798
+ C = J.convertToStdLng(C), k.push(
5799
+ N.point([C, L], {
5800
+ val: P.Point[L].val[_],
5801
+ type: P.Point[L].type[_]
5799
5802
  })
5800
5803
  );
5801
5804
  });
5802
- T = T.concat(_);
5805
+ M = M.concat(k);
5803
5806
  }
5804
5807
  }
5805
5808
  o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", o, ", total: ", e += o);
5806
5809
  }
5807
- T.length && (this.weatherLayers[C].data = N.featureCollection(T)), O && (this.weatherLayers[C].version = Math.random() + 1);
5810
+ M.length && (this.weatherLayers[w].data = N.featureCollection(M)), A && (this.weatherLayers[w].version = Math.random() + 1);
5808
5811
  }
5809
5812
  }
5810
5813
  },
@@ -5814,7 +5817,7 @@ const os = {
5814
5817
  this.handleDrawWeather4Json();
5815
5818
  },
5816
5819
  handleBboxClip(t, e) {
5817
- const o = [], i = $.convertToStdLng(e._sw.lng), a = $.convertToStdLng(e._ne.lng);
5820
+ const o = [], i = J.convertToStdLng(e._sw.lng), a = J.convertToStdLng(e._ne.lng);
5818
5821
  return t.features.forEach((r) => {
5819
5822
  if (r.geometry.type !== "Point")
5820
5823
  if (i > a) {
@@ -5829,26 +5832,26 @@ const os = {
5829
5832
  }), o;
5830
5833
  }
5831
5834
  }
5832
- }, as = { class: "idm-gl4-meteo-layers" }, is = {
5835
+ }, Vl = { class: "idm-gl4-meteo-layers" }, Yl = {
5833
5836
  key: 0,
5834
5837
  class: "legend-tip-btn-gl4"
5835
- }, rs = { class: "d-flex flex-row justify-center align-center" }, ls = { class: "text-caption" }, ss = { class: "d-flex flex-row justify-center align-center" }, ns = {
5838
+ }, Zl = { class: "d-flex flex-row justify-center align-center" }, Xl = { class: "text-caption" }, ql = { class: "d-flex flex-row justify-center align-center" }, Kl = {
5836
5839
  key: 0,
5837
5840
  style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
5838
- }, cs = { class: "text-caption px-2" }, ms = { class: "d-flex flex-row justify-start align-center" }, hs = {
5841
+ }, Ql = { class: "text-caption px-2" }, Jl = { class: "d-flex flex-row justify-start align-center" }, $l = {
5839
5842
  class: "d-flex flex-row justify-center align-center",
5840
5843
  style: { width: "40px" }
5841
- }, ds = { class: "text-caption px-2" }, ps = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, us = { class: "d-flex justify-start align-center ga-3" }, gs = { class: "text-h5 font-weight-medium" }, fs = {
5844
+ }, es = { class: "text-caption px-2" }, ts = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, os = { class: "d-flex justify-start align-center ga-3" }, as = { class: "text-h5 font-weight-medium" }, is = {
5842
5845
  key: 0,
5843
5846
  class: "d-flex justify-start align-center ga-4 pl-6"
5844
- }, ys = {
5847
+ }, rs = {
5845
5848
  key: 1,
5846
5849
  class: "d-flex justify-start align-center ga-4 pl-6"
5847
- }, bs = { class: "text-body-1 py-2" }, xs = { class: "text-body-1 font-weight-medium" }, ws = { class: "text-body-2 opacity-70" }, vs = { class: "text-body-2 opacity-70 mb-3" }, _s = { class: "text-body-1 font-weight-medium" }, ks = { class: "text-body-2 opacity-70" }, zs = { class: "text-body-2 opacity-70 mb-3" }, Ls = { class: "text-body-1 py-2" }, Ps = { class: "text-body-1 font-weight-medium" }, Cs = { class: "text-body-2 opacity-70" }, Ss = { class: "text-body-2 opacity-70 mb-3" }, Ts = { class: "text-body-1 font-weight-medium" }, Ms = { class: "text-body-2 opacity-70" }, Is = { class: "text-body-2 opacity-70 mb-3" }, As = { class: "text-body-1 py-2" }, Rs = { class: "text-body-1 font-weight-medium" }, Ds = { class: "text-body-2 opacity-70" }, Os = { class: "text-body-2 opacity-70 mb-3" };
5848
- function Bs(t, e, o, i, a, r) {
5849
- var pe, me, K, ie, H, le, fe, ve, _e, Me, Ie, Ae, Re, De, ye;
5850
- const s = v("VBtn"), n = v("VTooltip"), c = v("VCol"), g = v("VRow"), p = v("VCardText"), d = v("VDivider"), f = v("VCard"), z = v("VSwitch"), w = v("VCardTitle"), S = v("VCardItem"), C = v("VCheckbox"), O = v("VRadio"), T = v("VBtnToggle"), L = v("IdmWindBarb"), _ = v("IdmSigWaveHeight"), k = v("IdmCurrentDirection"), P = v("IdmPrmsl"), x = v("IdmWindParticle"), I = v("IdmCurrentParticle"), V = v("IdmWave"), Z = v("IdmSwell"), X = v("IdmIceEdge"), F = v("IdmIceCover"), J = v("IdmIceThickness"), te = v("IdmPrecip3h"), Q = v("IdmVisibility"), se = v("IdmWaterTemp"), de = v("IdmTemp");
5851
- return b(), M("div", as, [
5850
+ }, ls = { class: "text-body-1 py-2" }, ss = { class: "text-body-1 font-weight-medium" }, ns = { class: "text-body-2 opacity-70" }, cs = { class: "text-body-2 opacity-70 mb-3" }, ms = { class: "text-body-1 font-weight-medium" }, hs = { class: "text-body-2 opacity-70" }, ds = { class: "text-body-2 opacity-70 mb-3" }, ps = { class: "text-body-1 py-2" }, us = { class: "text-body-1 font-weight-medium" }, gs = { class: "text-body-2 opacity-70" }, fs = { class: "text-body-2 opacity-70 mb-3" }, ys = { class: "text-body-1 font-weight-medium" }, bs = { class: "text-body-2 opacity-70" }, ws = { class: "text-body-2 opacity-70 mb-3" }, xs = { class: "text-body-1 py-2" }, vs = { class: "text-body-1 font-weight-medium" }, _s = { class: "text-body-2 opacity-70" }, ks = { class: "text-body-2 opacity-70 mb-3" };
5851
+ function zs(t, e, o, i, a, r) {
5852
+ var pe, me, K, ie, F, le, be, _e, ke, Me, Ie, Ae, Re, De, we;
5853
+ const s = v("VBtn"), n = v("VTooltip"), c = v("VCol"), g = v("VRow"), p = v("VCardText"), d = v("VDivider"), f = v("VCard"), z = v("VSwitch"), x = v("VCardTitle"), S = v("VCardItem"), w = v("VCheckbox"), A = v("VRadio"), M = v("VBtnToggle"), P = v("IdmWindBarb"), k = v("IdmSigWaveHeight"), L = v("IdmCurrentDirection"), C = v("IdmPrmsl"), _ = v("IdmWindParticle"), R = v("IdmCurrentParticle"), V = v("IdmWave"), X = v("IdmSwell"), q = v("IdmIceEdge"), Y = v("IdmIceCover"), ee = v("IdmIceThickness"), te = v("IdmPrecip3h"), Q = v("IdmVisibility"), se = v("IdmWaterTemp"), de = v("IdmTemp");
5854
+ return y(), T("div", Vl, [
5852
5855
  l("div", {
5853
5856
  class: "menu-bar-box transition pa-1",
5854
5857
  style: ae({ top: o.top + 94 + "px", right: a.right + "px" })
@@ -5857,8 +5860,8 @@ function Bs(t, e, o, i, a, r) {
5857
5860
  text: t.$t("weather.weatherLayers"),
5858
5861
  location: "left"
5859
5862
  }, {
5860
- activator: u(({ props: G }) => [
5861
- h(s, E(G, {
5863
+ activator: u(({ props: H }) => [
5864
+ h(s, E(H, {
5862
5865
  "min-width": "32",
5863
5866
  width: "32",
5864
5867
  height: "32",
@@ -5875,7 +5878,7 @@ function Bs(t, e, o, i, a, r) {
5875
5878
  _: 1
5876
5879
  }, 8, ["text"])
5877
5880
  ], 4),
5878
- r.showTipMenu ? (b(), M("div", is, [
5881
+ r.showTipMenu ? (y(), T("div", Yl, [
5879
5882
  l("div", {
5880
5883
  class: "menu-bar-box pa-1 rounded",
5881
5884
  style: ae({ right: a.right + "px" })
@@ -5884,8 +5887,8 @@ function Bs(t, e, o, i, a, r) {
5884
5887
  text: "Legend",
5885
5888
  location: "left"
5886
5889
  }, {
5887
- activator: u(({ props: G }) => [
5888
- h(s, E(G, {
5890
+ activator: u(({ props: H }) => [
5891
+ h(s, E(H, {
5889
5892
  "min-width": "32",
5890
5893
  width: "32",
5891
5894
  height: "32",
@@ -5902,7 +5905,7 @@ function Bs(t, e, o, i, a, r) {
5902
5905
  _: 1
5903
5906
  })
5904
5907
  ], 4),
5905
- a.legendToggle ? (b(), j(f, {
5908
+ a.legendToggle ? (y(), j(f, {
5906
5909
  key: 0,
5907
5910
  width: "435",
5908
5911
  elevation: "16",
@@ -5915,18 +5918,18 @@ function Bs(t, e, o, i, a, r) {
5915
5918
  e[9] || (e[9] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
5916
5919
  h(g, { class: "ma-0 ml-n1 text-body-2" }, {
5917
5920
  default: u(() => [
5918
- (b(!0), M(be, null, ze(a.legend.barbs, (G, oe) => (b(), j(c, {
5919
- key: G,
5921
+ (y(!0), T(fe, null, ye(a.legend.barbs, (H, oe) => (y(), j(c, {
5922
+ key: H,
5920
5923
  cols: "6",
5921
5924
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
5922
5925
  }, {
5923
5926
  default: u(() => [
5924
- l("div", rs, [
5927
+ l("div", Zl, [
5925
5928
  l("i", {
5926
5929
  class: We(["iconfont", r.barbsIconName[oe]]),
5927
5930
  style: ae({ color: o.theme === "dark" ? "#fff" : "#000" })
5928
5931
  }, null, 6),
5929
- l("span", ls, y(Number(G) < 10 ? `00${G}kts` : Number(G) < 100 ? `0${G}kts` : `${G}kts`), 1)
5932
+ l("span", Xl, b(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
5930
5933
  ])
5931
5934
  ]),
5932
5935
  _: 2
@@ -5947,18 +5950,18 @@ function Bs(t, e, o, i, a, r) {
5947
5950
  style: { width: "100px" }
5948
5951
  }, {
5949
5952
  default: u(() => [
5950
- (b(!0), M(be, null, ze(a.legend.sigWaveHeight, (G, oe) => (b(), j(c, {
5953
+ (y(!0), T(fe, null, ye(a.legend.sigWaveHeight, (H, oe) => (y(), j(c, {
5951
5954
  key: oe,
5952
5955
  cols: "12",
5953
5956
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
5954
5957
  }, {
5955
5958
  default: u(() => [
5956
- l("div", ss, [
5957
- oe === 0 ? (b(), M("div", ns)) : (b(), M("div", {
5959
+ l("div", ql, [
5960
+ oe === 0 ? (y(), T("div", Kl)) : (y(), T("div", {
5958
5961
  key: 1,
5959
- style: ae({ width: "24px", height: "12px", background: G.color })
5962
+ style: ae({ width: "24px", height: "12px", background: H.color })
5960
5963
  }, null, 4)),
5961
- l("div", cs, y(G.label), 1)
5964
+ l("div", Ql, b(H.label), 1)
5962
5965
  ])
5963
5966
  ]),
5964
5967
  _: 2
@@ -5979,20 +5982,20 @@ function Bs(t, e, o, i, a, r) {
5979
5982
  style: { width: "110px" }
5980
5983
  }, {
5981
5984
  default: u(() => [
5982
- (b(!0), M(be, null, ze(a.legend.current, (G, oe) => (b(), j(c, {
5985
+ (y(!0), T(fe, null, ye(a.legend.current, (H, oe) => (y(), j(c, {
5983
5986
  key: oe,
5984
5987
  cols: "12",
5985
5988
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
5986
5989
  }, {
5987
5990
  default: u(() => [
5988
- l("div", ms, [
5989
- l("div", hs, [
5991
+ l("div", Jl, [
5992
+ l("div", $l, [
5990
5993
  l("i", {
5991
5994
  class: "iconfont icon-a-direction-arrow opacity-80",
5992
- style: ae({ fontSize: 40 * G.size + "px" })
5995
+ style: ae({ fontSize: 40 * H.size + "px" })
5993
5996
  }, null, 4)
5994
5997
  ]),
5995
- l("div", ds, y(G.label), 1)
5998
+ l("div", es, b(H.label), 1)
5996
5999
  ])
5997
6000
  ]),
5998
6001
  _: 2
@@ -6012,12 +6015,12 @@ function Bs(t, e, o, i, a, r) {
6012
6015
  class: We(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
6013
6016
  style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
6014
6017
  }, [
6015
- l("div", ps, [
6016
- l("div", us, [
6017
- l("div", gs, y(t.$t("weather.weather")), 1),
6018
+ l("div", ts, [
6019
+ l("div", os, [
6020
+ l("div", as, b(t.$t("weather.weather")), 1),
6018
6021
  h(z, {
6019
6022
  modelValue: a.autoActive,
6020
- "onUpdate:modelValue": e[1] || (e[1] = (G) => a.autoActive = G),
6023
+ "onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
6021
6024
  class: "small-switch",
6022
6025
  color: "primary",
6023
6026
  inset: "",
@@ -6048,12 +6051,12 @@ function Bs(t, e, o, i, a, r) {
6048
6051
  default: u(() => [
6049
6052
  h(S, { class: "border-b-thin" }, {
6050
6053
  default: u(() => [
6051
- h(w, {
6054
+ h(x, {
6052
6055
  class: "text-subtitle-1 font-weight-medium",
6053
6056
  style: { "font-size": "16px !important" }
6054
6057
  }, {
6055
6058
  default: u(() => [
6056
- U(y(t.$t("weather.overlays")), 1)
6059
+ W(b(t.$t("weather.overlays")), 1)
6057
6060
  ]),
6058
6061
  _: 1
6059
6062
  })
@@ -6062,12 +6065,12 @@ function Bs(t, e, o, i, a, r) {
6062
6065
  }),
6063
6066
  h(p, { class: "py-2" }, {
6064
6067
  default: u(() => [
6065
- (b(!0), M(be, null, ze(a.tagLayers.filter((G) => G.overlays), (G) => (b(), j(C, {
6066
- key: G.key,
6068
+ (y(!0), T(fe, null, ye(a.tagLayers.filter((H) => H.overlays), (H) => (y(), j(w, {
6069
+ key: H.key,
6067
6070
  modelValue: a.checkList,
6068
6071
  "onUpdate:modelValue": e[2] || (e[2] = (oe) => a.checkList = oe),
6069
- value: G.key,
6070
- label: t.$t(`weather.${G.locale}`),
6072
+ value: H.key,
6073
+ label: t.$t(`weather.${H.locale}`),
6071
6074
  disabled: !a.autoActive,
6072
6075
  color: "primary",
6073
6076
  density: "compact",
@@ -6088,12 +6091,12 @@ function Bs(t, e, o, i, a, r) {
6088
6091
  default: u(() => [
6089
6092
  h(S, { class: "border-b-thin" }, {
6090
6093
  default: u(() => [
6091
- h(w, {
6094
+ h(x, {
6092
6095
  class: "text-subtitle-1 font-weight-medium",
6093
6096
  style: { "font-size": "16px !important" }
6094
6097
  }, {
6095
6098
  default: u(() => [
6096
- U(y(t.$t("weather.renders")), 1)
6099
+ W(b(t.$t("weather.renders")), 1)
6097
6100
  ]),
6098
6101
  _: 1
6099
6102
  })
@@ -6102,24 +6105,24 @@ function Bs(t, e, o, i, a, r) {
6102
6105
  }),
6103
6106
  h(p, { class: "py-2" }, {
6104
6107
  default: u(() => [
6105
- (b(!0), M(be, null, ze(a.tagLayers.filter((G) => !G.overlays && G.key !== "ice-thickness"), (G) => (b(), M(be, {
6106
- key: G.key
6108
+ (y(!0), T(fe, null, ye(a.tagLayers.filter((H) => !H.overlays && H.key !== "ice-thickness"), (H) => (y(), T(fe, {
6109
+ key: H.key
6107
6110
  }, [
6108
- h(O, {
6111
+ h(A, {
6109
6112
  modelValue: a.renderKey,
6110
6113
  "onUpdate:modelValue": e[3] || (e[3] = (oe) => a.renderKey = oe),
6111
- label: t.$t(`weather.${G.locale}`),
6112
- value: G.key,
6114
+ label: t.$t(`weather.${H.locale}`),
6115
+ value: H.key,
6113
6116
  disabled: !a.autoActive,
6114
6117
  color: "primary",
6115
6118
  density: "compact",
6116
6119
  style: { height: "36px" },
6117
6120
  class: "text-body-2 py-1",
6118
6121
  "hide-details": "",
6119
- onClick: (oe) => a.renderKey = a.renderKey === G.key ? "" : G.key
6122
+ onClick: (oe) => a.renderKey = a.renderKey === H.key ? "" : H.key
6120
6123
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
6121
- a.renderKey === "wind-particle" && G.key === "wind-particle" ? (b(), M("div", fs, [
6122
- l("span", null, y(t.$t("weather.particleAnimatiom")), 1),
6124
+ a.renderKey === "wind-particle" && H.key === "wind-particle" ? (y(), T("div", is, [
6125
+ l("span", null, b(t.$t("weather.particleAnimatiom")), 1),
6123
6126
  h(z, {
6124
6127
  modelValue: a.showWindParticle,
6125
6128
  "onUpdate:modelValue": e[4] || (e[4] = (oe) => a.showWindParticle = oe),
@@ -6132,8 +6135,8 @@ function Bs(t, e, o, i, a, r) {
6132
6135
  "hide-details": ""
6133
6136
  }, null, 8, ["modelValue"])
6134
6137
  ])) : B("", !0),
6135
- a.renderKey === "current-particle" && G.key === "current-particle" ? (b(), M("div", ys, [
6136
- l("span", null, y(t.$t("weather.particleAnimatiom")), 1),
6138
+ a.renderKey === "current-particle" && H.key === "current-particle" ? (y(), T("div", rs, [
6139
+ l("span", null, b(t.$t("weather.particleAnimatiom")), 1),
6137
6140
  h(z, {
6138
6141
  modelValue: a.showCurrentParticle,
6139
6142
  "onUpdate:modelValue": e[5] || (e[5] = (oe) => a.showCurrentParticle = oe),
@@ -6146,7 +6149,7 @@ function Bs(t, e, o, i, a, r) {
6146
6149
  "hide-details": ""
6147
6150
  }, null, 8, ["modelValue"])
6148
6151
  ])) : B("", !0),
6149
- a.renderKey === "ice-forecast" && G.key === "ice-forecast" ? (b(), j(T, {
6152
+ a.renderKey === "ice-forecast" && H.key === "ice-forecast" ? (y(), j(M, {
6150
6153
  key: 2,
6151
6154
  modelValue: a.iceToggleValue,
6152
6155
  "onUpdate:modelValue": e[6] || (e[6] = (oe) => a.iceToggleValue = oe),
@@ -6168,7 +6171,7 @@ function Bs(t, e, o, i, a, r) {
6168
6171
  disabled: !a.autoActive
6169
6172
  }, {
6170
6173
  default: u(() => [
6171
- U(y(t.$t("weather.coverage")), 1)
6174
+ W(b(t.$t("weather.coverage")), 1)
6172
6175
  ]),
6173
6176
  _: 1
6174
6177
  }, 8, ["color", "disabled"]),
@@ -6182,7 +6185,7 @@ function Bs(t, e, o, i, a, r) {
6182
6185
  value: "ice-thickness"
6183
6186
  }, {
6184
6187
  default: u(() => [
6185
- U(y(t.$t("weather.thickness")), 1)
6188
+ W(b(t.$t("weather.thickness")), 1)
6186
6189
  ]),
6187
6190
  _: 1
6188
6191
  }, 8, ["color", "disabled"])
@@ -6203,12 +6206,12 @@ function Bs(t, e, o, i, a, r) {
6203
6206
  default: u(() => [
6204
6207
  h(S, { class: "border-b-thin" }, {
6205
6208
  default: u(() => [
6206
- h(w, {
6209
+ h(x, {
6207
6210
  class: "text-subtitle-1 font-weight-medium",
6208
6211
  style: { "font-size": "16px !important" }
6209
6212
  }, {
6210
6213
  default: u(() => [
6211
- U(y(t.$t("weather.forecastModel")), 1)
6214
+ W(b(t.$t("weather.forecastModel")), 1)
6212
6215
  ]),
6213
6216
  _: 1
6214
6217
  })
@@ -6217,28 +6220,28 @@ function Bs(t, e, o, i, a, r) {
6217
6220
  }),
6218
6221
  h(p, { class: "" }, {
6219
6222
  default: u(() => {
6220
- var G, oe, je, Pe, he, ue, W, ke, ee, re, Oe, D, ge, Ce, Be, Ee, R, Y, Ue, Ve, Ye, Le, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, xt, wt, vt, _t, kt, zt, Lt, Pt, Ct, St, Tt, Mt, It, At, Rt, Dt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Qt, Jt;
6223
+ var H, oe, je, Pe, he, ue, G, ze, $, re, Oe, O, ge, Ce, Be, Ee, D, U, Ue, Ve, Ye, Le, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Tt, Mt, It, At, Rt, Dt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Qt, Jt;
6221
6224
  return [
6222
- l("div", bs, y(t.$t("weather.atmospheric")), 1),
6223
- l("div", xs, y((je = (oe = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : oe.NOAA) == null ? void 0 : je.source) + " " + y((ue = (he = (Pe = a.models) == null ? void 0 : Pe.weather) == null ? void 0 : he.NOAA) == null ? void 0 : ue.spatialResolution) + y(t.$t("units.km")) + " " + y((re = (ee = (ke = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : ke.NOAA) == null ? void 0 : ee.meta) == null ? void 0 : re.days) + y(t.$t("units.days")), 1),
6224
- l("div", ws, y(t.$t("weather.source")) + ": NOAA", 1),
6225
- l("div", vs, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Ce = (ge = (D = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : D.NOAA) == null ? void 0 : ge.meta) == null ? void 0 : Ce.initialisationTime)), 1),
6226
- l("div", _s, y((R = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.ECMWF) == null ? void 0 : R.source) + " " + y((Ve = (Ue = (Y = a.models) == null ? void 0 : Y.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : Ve.spatialResolution) + y(t.$t("units.km")) + " " + y((Xe = (Ze = (Le = (Ye = a.models) == null ? void 0 : Ye.weather) == null ? void 0 : Le.ECMWF) == null ? void 0 : Ze.meta) == null ? void 0 : Xe.days) + y(t.$t("units.days")), 1),
6227
- l("div", ks, y(t.$t("weather.source")) + ": ECMWF", 1),
6228
- l("div", zs, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Je = (Qe = (Ke = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
6225
+ l("div", ls, b(t.$t("weather.atmospheric")), 1),
6226
+ l("div", ss, b((je = (oe = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : oe.NOAA) == null ? void 0 : je.source) + " " + b((ue = (he = (Pe = a.models) == null ? void 0 : Pe.weather) == null ? void 0 : he.NOAA) == null ? void 0 : ue.spatialResolution) + b(t.$t("units.km")) + " " + b((re = ($ = (ze = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : ze.NOAA) == null ? void 0 : $.meta) == null ? void 0 : re.days) + b(t.$t("units.days")), 1),
6227
+ l("div", ns, b(t.$t("weather.source")) + ": NOAA", 1),
6228
+ l("div", cs, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Ce = (ge = (O = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : O.NOAA) == null ? void 0 : ge.meta) == null ? void 0 : Ce.initialisationTime)), 1),
6229
+ l("div", ms, b((D = (Ee = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ee.ECMWF) == null ? void 0 : D.source) + " " + b((Ve = (Ue = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : Ve.spatialResolution) + b(t.$t("units.km")) + " " + b((Xe = (Ze = (Le = (Ye = a.models) == null ? void 0 : Ye.weather) == null ? void 0 : Le.ECMWF) == null ? void 0 : Ze.meta) == null ? void 0 : Xe.days) + b(t.$t("units.days")), 1),
6230
+ l("div", hs, b(t.$t("weather.source")) + ": ECMWF", 1),
6231
+ l("div", ds, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Je = (Qe = (Ke = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
6229
6232
  h(d),
6230
- l("div", Ls, y(t.$t("weather.wave")), 1),
6231
- l("div", Ps, y((ot = (tt = (et = ($e = a.models) == null ? void 0 : $e.marine) == null ? void 0 : et.wave) == null ? void 0 : tt.NOAA) == null ? void 0 : ot.source) + " " + y((lt = (rt = (it = (at = a.models) == null ? void 0 : at.marine) == null ? void 0 : it.wave) == null ? void 0 : rt.NOAA) == null ? void 0 : lt.spatialResolution) + y(t.$t("units.km")) + " " + y((ht = (mt = (ct = (nt = (st = a.models) == null ? void 0 : st.marine) == null ? void 0 : nt.wave) == null ? void 0 : ct.NOAA) == null ? void 0 : mt.meta) == null ? void 0 : ht.days) + y(t.$t("units.days")), 1),
6232
- l("div", Cs, y(t.$t("weather.source")) + ": NOAA", 1),
6233
- l("div", Ss, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((ft = (gt = (ut = (pt = (dt = a.models) == null ? void 0 : dt.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.meta) == null ? void 0 : ft.initialisationTime)), 1),
6234
- l("div", Ts, y((wt = (xt = (bt = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : bt.wave) == null ? void 0 : xt.ECMWF) == null ? void 0 : wt.source) + " " + y((zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.ECMWF) == null ? void 0 : zt.spatialResolution) + y(t.$t("units.km")) + " " + y((Tt = (St = (Ct = (Pt = (Lt = a.models) == null ? void 0 : Lt.marine) == null ? void 0 : Pt.wave) == null ? void 0 : Ct.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : Tt.days) + y(t.$t("units.days")), 1),
6235
- l("div", Ms, y(t.$t("weather.source")) + ": ECMWF", 1),
6236
- l("div", Is, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Dt = (Rt = (At = (It = (Mt = a.models) == null ? void 0 : Mt.marine) == null ? void 0 : It.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Rt.meta) == null ? void 0 : Dt.initialisationTime)), 1),
6233
+ l("div", ps, b(t.$t("weather.wave")), 1),
6234
+ l("div", us, b((ot = (tt = (et = ($e = a.models) == null ? void 0 : $e.marine) == null ? void 0 : et.wave) == null ? void 0 : tt.NOAA) == null ? void 0 : ot.source) + " " + b((lt = (rt = (it = (at = a.models) == null ? void 0 : at.marine) == null ? void 0 : it.wave) == null ? void 0 : rt.NOAA) == null ? void 0 : lt.spatialResolution) + b(t.$t("units.km")) + " " + b((ht = (mt = (ct = (nt = (st = a.models) == null ? void 0 : st.marine) == null ? void 0 : nt.wave) == null ? void 0 : ct.NOAA) == null ? void 0 : mt.meta) == null ? void 0 : ht.days) + b(t.$t("units.days")), 1),
6235
+ l("div", gs, b(t.$t("weather.source")) + ": NOAA", 1),
6236
+ l("div", fs, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((ft = (gt = (ut = (pt = (dt = a.models) == null ? void 0 : dt.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.meta) == null ? void 0 : ft.initialisationTime)), 1),
6237
+ l("div", ys, b((xt = (wt = (bt = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : bt.wave) == null ? void 0 : wt.ECMWF) == null ? void 0 : xt.source) + " " + b((zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.ECMWF) == null ? void 0 : zt.spatialResolution) + b(t.$t("units.km")) + " " + b((Tt = (St = (Ct = (Pt = (Lt = a.models) == null ? void 0 : Lt.marine) == null ? void 0 : Pt.wave) == null ? void 0 : Ct.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : Tt.days) + b(t.$t("units.days")), 1),
6238
+ l("div", bs, b(t.$t("weather.source")) + ": ECMWF", 1),
6239
+ l("div", ws, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Dt = (Rt = (At = (It = (Mt = a.models) == null ? void 0 : Mt.marine) == null ? void 0 : It.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Rt.meta) == null ? void 0 : Dt.initialisationTime)), 1),
6237
6240
  h(d),
6238
- l("div", As, y(t.$t("weather.currents")), 1),
6239
- l("div", Rs, y((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.source) + " " + y((Gt = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.current) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Gt.spatialResolution) + y(t.$t("units.km")) + " " + y((Zt = (Yt = (Vt = (Ut = (Wt = a.models) == null ? void 0 : Wt.marine) == null ? void 0 : Ut.current) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : Zt.days) + y(t.$t("units.days")), 1),
6240
- l("div", Ds, y(t.$t("weather.source")) + ": ECMWF", 1),
6241
- l("div", Os, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Jt = (Qt = (Kt = (qt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : qt.current) == null ? void 0 : Kt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : Jt.initialisationTime)), 1)
6241
+ l("div", xs, b(t.$t("weather.currents")), 1),
6242
+ l("div", vs, b((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.source) + " " + b((Gt = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.current) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Gt.spatialResolution) + b(t.$t("units.km")) + " " + b((Zt = (Yt = (Vt = (Ut = (Wt = a.models) == null ? void 0 : Wt.marine) == null ? void 0 : Ut.current) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : Zt.days) + b(t.$t("units.days")), 1),
6243
+ l("div", _s, b(t.$t("weather.source")) + ": ECMWF", 1),
6244
+ l("div", ks, b(t.$t("weather.lastUpdate")) + ": " + b(r.computeDateZ((Jt = (Qt = (Kt = (qt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : qt.current) == null ? void 0 : Kt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : Jt.initialisationTime)), 1)
6242
6245
  ];
6243
6246
  }),
6244
6247
  _: 1
@@ -6248,7 +6251,7 @@ function Bs(t, e, o, i, a, r) {
6248
6251
  })
6249
6252
  ], 2)
6250
6253
  ], 6),
6251
- o.map ? (b(), j(L, E({
6254
+ o.map ? (y(), j(P, E({
6252
6255
  key: 1,
6253
6256
  ref: "windBarb",
6254
6257
  map: o.map,
@@ -6257,7 +6260,7 @@ function Bs(t, e, o, i, a, r) {
6257
6260
  wind: (pe = a.weatherLayers) == null ? void 0 : pe.wind,
6258
6261
  "menu-toggle": o.menuToggle
6259
6262
  }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : B("", !0),
6260
- o.map ? (b(), j(_, E({
6263
+ o.map ? (y(), j(k, E({
6261
6264
  key: 2,
6262
6265
  map: o.map,
6263
6266
  "before-layer": "empty-layer-2",
@@ -6265,7 +6268,7 @@ function Bs(t, e, o, i, a, r) {
6265
6268
  "menu-toggle": o.menuToggle,
6266
6269
  "active-weather-layers": a.activeWeatherLayers
6267
6270
  }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : B("", !0),
6268
- o.map ? (b(), j(k, E({
6271
+ o.map ? (y(), j(L, E({
6269
6272
  key: 3,
6270
6273
  map: o.map,
6271
6274
  "map-feather": o.mapFeather,
@@ -6273,7 +6276,7 @@ function Bs(t, e, o, i, a, r) {
6273
6276
  current: (K = a.weatherLayers) == null ? void 0 : K.current,
6274
6277
  "menu-toggle": o.menuToggle
6275
6278
  }, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : B("", !0),
6276
- o.map ? (b(), j(P, E({
6279
+ o.map ? (y(), j(C, E({
6277
6280
  key: 4,
6278
6281
  map: o.map,
6279
6282
  "before-layer": "empty-layer-2",
@@ -6281,76 +6284,76 @@ function Bs(t, e, o, i, a, r) {
6281
6284
  "menu-toggle": o.menuToggle,
6282
6285
  "active-weather-layers": a.activeWeatherLayers
6283
6286
  }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : B("", !0),
6284
- o.map ? (b(), j(x, E({
6287
+ o.map ? (y(), j(_, E({
6285
6288
  key: 5,
6286
6289
  viewport: a.viewport,
6287
- factor: (H = a.weatherLayers) == null ? void 0 : H["wind-particle"],
6290
+ factor: (F = a.weatherLayers) == null ? void 0 : F["wind-particle"],
6288
6291
  "menu-toggle": o.menuToggle
6289
6292
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
6290
- o.map ? (b(), j(I, E({
6293
+ o.map ? (y(), j(R, E({
6291
6294
  key: 6,
6292
6295
  viewport: a.viewport,
6293
6296
  factor: (le = a.weatherLayers) == null ? void 0 : le["current-particle"],
6294
6297
  "menu-toggle": o.menuToggle
6295
6298
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
6296
- o.map ? (b(), j(V, E({
6299
+ o.map ? (y(), j(V, E({
6297
6300
  key: 7,
6298
6301
  viewport: a.viewport,
6299
- factor: (fe = a.weatherLayers) == null ? void 0 : fe["sig-wave"],
6302
+ factor: (be = a.weatherLayers) == null ? void 0 : be["sig-wave"],
6300
6303
  "menu-toggle": o.menuToggle
6301
6304
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
6302
- o.map ? (b(), j(Z, E({
6305
+ o.map ? (y(), j(X, E({
6303
6306
  key: 8,
6304
6307
  map: o.map,
6305
- swell: (ve = a.weatherLayers) == null ? void 0 : ve.swell,
6308
+ swell: (_e = a.weatherLayers) == null ? void 0 : _e.swell,
6306
6309
  "menu-toggle": o.menuToggle,
6307
6310
  "active-weather-layers": a.activeWeatherLayers
6308
6311
  }, t.$attrs), null, 16, ["map", "swell", "menu-toggle", "active-weather-layers"])) : B("", !0),
6309
- o.map ? (b(), j(X, E({
6312
+ o.map ? (y(), j(q, E({
6310
6313
  key: 9,
6311
6314
  viewport: a.viewport,
6312
- factor: (_e = a.weatherLayers) == null ? void 0 : _e["ice-edge"],
6315
+ factor: (ke = a.weatherLayers) == null ? void 0 : ke["ice-edge"],
6313
6316
  "menu-toggle": o.menuToggle
6314
6317
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
6315
- o.map ? (b(), j(F, E({
6318
+ o.map ? (y(), j(Y, E({
6316
6319
  key: 10,
6317
6320
  viewport: a.viewport,
6318
6321
  factor: (Me = a.weatherLayers) == null ? void 0 : Me["ice-cover"],
6319
6322
  "menu-toggle": o.menuToggle
6320
6323
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
6321
- o.map ? (b(), j(J, E({
6324
+ o.map ? (y(), j(ee, E({
6322
6325
  key: 11,
6323
6326
  viewport: a.viewport,
6324
6327
  factor: (Ie = a.weatherLayers) == null ? void 0 : Ie["ice-thickness"],
6325
6328
  "menu-toggle": o.menuToggle
6326
6329
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
6327
- o.map ? (b(), j(te, E({
6330
+ o.map ? (y(), j(te, E({
6328
6331
  key: 12,
6329
6332
  viewport: a.viewport,
6330
6333
  factor: (Ae = a.weatherLayers) == null ? void 0 : Ae.precip3h,
6331
6334
  "menu-toggle": o.menuToggle
6332
6335
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
6333
- o.map ? (b(), j(Q, E({
6336
+ o.map ? (y(), j(Q, E({
6334
6337
  key: 13,
6335
6338
  viewport: a.viewport,
6336
6339
  factor: (Re = a.weatherLayers) == null ? void 0 : Re.visibility,
6337
6340
  "menu-toggle": o.menuToggle
6338
6341
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
6339
- o.map ? (b(), j(se, E({
6342
+ o.map ? (y(), j(se, E({
6340
6343
  key: 14,
6341
6344
  viewport: a.viewport,
6342
6345
  factor: (De = a.weatherLayers) == null ? void 0 : De["water-temp"],
6343
6346
  "menu-toggle": o.menuToggle
6344
6347
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
6345
- o.map ? (b(), j(de, E({
6348
+ o.map ? (y(), j(de, E({
6346
6349
  key: 15,
6347
6350
  viewport: a.viewport,
6348
- factor: (ye = a.weatherLayers) == null ? void 0 : ye.temp,
6351
+ factor: (we = a.weatherLayers) == null ? void 0 : we.temp,
6349
6352
  "menu-toggle": o.menuToggle
6350
6353
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0)
6351
6354
  ]);
6352
6355
  }
6353
- const Es = /* @__PURE__ */ q(os, [["render", Bs]]), eo = [
6356
+ const Ls = /* @__PURE__ */ Z(Ul, [["render", zs]]), eo = [
6354
6357
  {
6355
6358
  rank: 0,
6356
6359
  name: "Best Match",
@@ -6697,86 +6700,86 @@ class Va {
6697
6700
  }), a;
6698
6701
  }
6699
6702
  static pickHourly(e, o) {
6700
- var i, a, r, s, n, c, g, p, d, f, z, w, S, C, O, T, L, _, k, P, x, I, V, Z, X, F, J, te, Q, se, de, pe, me, K, ie, H, le, fe, ve, _e, Me, Ie, Ae, Re, De, ye, G, oe, je, Pe;
6701
- const he = typeof o == "string" ? A(o) : o, ue = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, ke = A((a = (i = ue == null ? void 0 : ue[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), ee = ke.clone().add((n = (s = (r = ue == null ? void 0 : ue[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : n.at(0), "h"), re = ke.clone().add((p = (g = (c = ue == null ? void 0 : ue[0]) == null ? void 0 : c.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
6702
- if (he.isBetween(ee, re, "millisecond", "[]")) {
6703
- const D = he.utc().diff(ee, "h", !1);
6703
+ var i, a, r, s, n, c, g, p, d, f, z, x, S, w, A, M, P, k, L, C, _, R, V, X, q, Y, ee, te, Q, se, de, pe, me, K, ie, F, le, be, _e, ke, Me, Ie, Ae, Re, De, we, H, oe, je, Pe;
6704
+ const he = typeof o == "string" ? I(o) : o, ue = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, ze = I((a = (i = ue == null ? void 0 : ue[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), $ = ze.clone().add((n = (s = (r = ue == null ? void 0 : ue[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : n.at(0), "h"), re = ze.clone().add((p = (g = (c = ue == null ? void 0 : ue[0]) == null ? void 0 : c.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
6705
+ if (he.isBetween($, re, "millisecond", "[]")) {
6706
+ const O = he.utc().diff($, "h", !1);
6704
6707
  let ge, Ce;
6705
6708
  if (ue) {
6706
6709
  let Be = 0, Ee = 0;
6707
- for (const R of ue) {
6708
- const Y = R == null ? void 0 : R.hourly;
6709
- for (let Le = D - (D - 1) % 3; Le <= D; Le++)
6710
- Be += (d = Y == null ? void 0 : Y.precipitation) == null ? void 0 : d.at(Le);
6711
- for (let Le = D - (D - 1) % 6; Le <= D; Le++)
6712
- Ee += (f = Y == null ? void 0 : Y.precipitation) == null ? void 0 : f.at(Le);
6710
+ for (const D of ue) {
6711
+ const U = D == null ? void 0 : D.hourly;
6712
+ for (let Le = O - (O - 1) % 3; Le <= O; Le++)
6713
+ Be += (d = U == null ? void 0 : U.precipitation) == null ? void 0 : d.at(Le);
6714
+ for (let Le = O - (O - 1) % 6; Le <= O; Le++)
6715
+ Ee += (f = U == null ? void 0 : U.precipitation) == null ? void 0 : f.at(Le);
6713
6716
  ge = {
6714
- temp: (z = Y == null ? void 0 : Y.temperature_2m) == null ? void 0 : z.at(D),
6715
- apparentTemp: (w = Y == null ? void 0 : Y.apparent_temperature) == null ? void 0 : w.at(D),
6716
- rh: (S = Y == null ? void 0 : Y.relative_humidity_2m) == null ? void 0 : S.at(D),
6717
- dp: (C = Y == null ? void 0 : Y.dew_point_2m) == null ? void 0 : C.at(D),
6717
+ temp: (z = U == null ? void 0 : U.temperature_2m) == null ? void 0 : z.at(O),
6718
+ apparentTemp: (x = U == null ? void 0 : U.apparent_temperature) == null ? void 0 : x.at(O),
6719
+ rh: (S = U == null ? void 0 : U.relative_humidity_2m) == null ? void 0 : S.at(O),
6720
+ dp: (w = U == null ? void 0 : U.dew_point_2m) == null ? void 0 : w.at(O),
6718
6721
  precip: {
6719
- probability: (O = Y == null ? void 0 : Y.precipitation_probability) == null ? void 0 : O.at(D),
6720
- sum: (T = Y == null ? void 0 : Y.precipitation) == null ? void 0 : T.at(D),
6722
+ probability: (A = U == null ? void 0 : U.precipitation_probability) == null ? void 0 : A.at(O),
6723
+ sum: (M = U == null ? void 0 : U.precipitation) == null ? void 0 : M.at(O),
6721
6724
  sum3Hours: Math.round(Be * 100) / 100,
6722
6725
  sum6Hours: Math.round(Ee * 100) / 100
6723
6726
  },
6724
- pmsl: (L = Y == null ? void 0 : Y.pressure_msl) == null ? void 0 : L.at(D),
6725
- psurf: (_ = Y == null ? void 0 : Y.surface_pressure) == null ? void 0 : _.at(D),
6726
- code: (k = Y == null ? void 0 : Y.weather_code) == null ? void 0 : k.at(D),
6727
- visibility: this.m2nm((P = Y == null ? void 0 : Y.visibility) == null ? void 0 : P.at(D)),
6727
+ pmsl: (P = U == null ? void 0 : U.pressure_msl) == null ? void 0 : P.at(O),
6728
+ psurf: (k = U == null ? void 0 : U.surface_pressure) == null ? void 0 : k.at(O),
6729
+ code: (L = U == null ? void 0 : U.weather_code) == null ? void 0 : L.at(O),
6730
+ visibility: this.m2nm((C = U == null ? void 0 : U.visibility) == null ? void 0 : C.at(O)),
6728
6731
  wind: {
6729
- speed: (x = Y == null ? void 0 : Y.wind_speed_10m) == null ? void 0 : x.at(D),
6730
- kts: (I = Y == null ? void 0 : Y.wind_speed_10m) == null ? void 0 : I.at(D),
6731
- degree: (V = Y == null ? void 0 : Y.wind_direction_10m) == null ? void 0 : V.at(D),
6732
- bearing: ((Z = Y == null ? void 0 : Y.wind_direction_10m) == null ? void 0 : Z.at(D)) !== null ? (((X = Y == null ? void 0 : Y.wind_direction_10m) == null ? void 0 : X.at(D)) + 180) % 360 : null,
6733
- gusts: (F = Y == null ? void 0 : Y.wind_gusts_10m) == null ? void 0 : F.at(D)
6732
+ speed: (_ = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : _.at(O),
6733
+ kts: (R = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : R.at(O),
6734
+ degree: (V = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : V.at(O),
6735
+ bearing: ((X = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : X.at(O)) !== null ? (((q = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : q.at(O)) + 180) % 360 : null,
6736
+ gusts: (Y = U == null ? void 0 : U.wind_gusts_10m) == null ? void 0 : Y.at(O)
6734
6737
  },
6735
- isDay: (J = Y == null ? void 0 : Y.is_day) == null ? void 0 : J.at(D)
6738
+ isDay: (ee = U == null ? void 0 : U.is_day) == null ? void 0 : ee.at(O)
6736
6739
  };
6737
6740
  const { name: Ue, url: Ve, bg: Ye } = this.parseWeatherCode(ge.code, ge.isDay);
6738
6741
  ge.name = Ue, ge.url = Ve, ge.bg = Ye, ge.wind.scale = this.beaufort(this.kts2ms(ge.wind.kts)), ge.wind.direction = this.degree2Direction(ge.wind.degree), Oe.push({
6739
- utc: ee.add(D, "h").format(),
6740
- model: R.model,
6742
+ utc: $.add(O, "h").format(),
6743
+ model: D.model,
6741
6744
  weather: { ...ge }
6742
6745
  });
6743
6746
  }
6744
6747
  }
6745
- if (W) {
6748
+ if (G) {
6746
6749
  let Be = 0;
6747
- for (const Ee of W) {
6748
- const R = Ee == null ? void 0 : Ee.hourly;
6750
+ for (const Ee of G) {
6751
+ const D = Ee == null ? void 0 : Ee.hourly;
6749
6752
  Ce = {
6750
6753
  wave: {
6751
6754
  sig: {
6752
- height: (te = R == null ? void 0 : R.wave_height) == null ? void 0 : te.at(D),
6753
- degree: (Q = R == null ? void 0 : R.wave_direction) == null ? void 0 : Q.at(D),
6754
- bearing: ((se = R == null ? void 0 : R.wave_direction) == null ? void 0 : se.at(D)) !== null ? (((de = R == null ? void 0 : R.wave_direction) == null ? void 0 : de.at(D)) + 180) % 360 : null,
6755
- period: (pe = R == null ? void 0 : R.wave_period) == null ? void 0 : pe.at(D)
6755
+ height: (te = D == null ? void 0 : D.wave_height) == null ? void 0 : te.at(O),
6756
+ degree: (Q = D == null ? void 0 : D.wave_direction) == null ? void 0 : Q.at(O),
6757
+ bearing: ((se = D == null ? void 0 : D.wave_direction) == null ? void 0 : se.at(O)) !== null ? (((de = D == null ? void 0 : D.wave_direction) == null ? void 0 : de.at(O)) + 180) % 360 : null,
6758
+ period: (pe = D == null ? void 0 : D.wave_period) == null ? void 0 : pe.at(O)
6756
6759
  },
6757
6760
  swell: {
6758
- height: (me = R == null ? void 0 : R.swell_wave_height) == null ? void 0 : me.at(D),
6759
- degree: (K = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : K.at(D),
6760
- bearing: ((ie = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : ie.at(D)) !== null ? (((H = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : H.at(D)) + 180) % 360 : null,
6761
- period: (le = R == null ? void 0 : R.swell_wave_period) == null ? void 0 : le.at(D),
6762
- peakPeriod: (fe = R == null ? void 0 : R.swell_wave_peak_period) == null ? void 0 : fe.at(D)
6761
+ height: (me = D == null ? void 0 : D.swell_wave_height) == null ? void 0 : me.at(O),
6762
+ degree: (K = D == null ? void 0 : D.swell_wave_direction) == null ? void 0 : K.at(O),
6763
+ bearing: ((ie = D == null ? void 0 : D.swell_wave_direction) == null ? void 0 : ie.at(O)) !== null ? (((F = D == null ? void 0 : D.swell_wave_direction) == null ? void 0 : F.at(O)) + 180) % 360 : null,
6764
+ period: (le = D == null ? void 0 : D.swell_wave_period) == null ? void 0 : le.at(O),
6765
+ peakPeriod: (be = D == null ? void 0 : D.swell_wave_peak_period) == null ? void 0 : be.at(O)
6763
6766
  },
6764
6767
  wd: {
6765
- height: (ve = R == null ? void 0 : R.wind_wave_height) == null ? void 0 : ve.at(D),
6766
- degree: (_e = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : _e.at(D),
6767
- bearing: ((Me = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : Me.at(D)) !== null ? (((Ie = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : Ie.at(D)) + 180) % 360 : null,
6768
- period: (Ae = R == null ? void 0 : R.wind_wave_period) == null ? void 0 : Ae.at(D),
6769
- peakPeriod: (Re = R == null ? void 0 : R.wind_wave_peak_period) == null ? void 0 : Re.at(D)
6768
+ height: (_e = D == null ? void 0 : D.wind_wave_height) == null ? void 0 : _e.at(O),
6769
+ degree: (ke = D == null ? void 0 : D.wind_wave_direction) == null ? void 0 : ke.at(O),
6770
+ bearing: ((Me = D == null ? void 0 : D.wind_wave_direction) == null ? void 0 : Me.at(O)) !== null ? (((Ie = D == null ? void 0 : D.wind_wave_direction) == null ? void 0 : Ie.at(O)) + 180) % 360 : null,
6771
+ period: (Ae = D == null ? void 0 : D.wind_wave_period) == null ? void 0 : Ae.at(O),
6772
+ peakPeriod: (Re = D == null ? void 0 : D.wind_wave_peak_period) == null ? void 0 : Re.at(O)
6770
6773
  }
6771
6774
  },
6772
6775
  current: {
6773
- speed: (De = R == null ? void 0 : R.ocean_current_velocity) == null ? void 0 : De.at(D),
6774
- kts: (ye = R == null ? void 0 : R.ocean_current_velocity) == null ? void 0 : ye.at(D),
6775
- degree: (G = R == null ? void 0 : R.ocean_current_direction) == null ? void 0 : G.at(D),
6776
- bearing: ((oe = R == null ? void 0 : R.ocean_current_direction) == null ? void 0 : oe.at(D)) ?? null
6776
+ speed: (De = D == null ? void 0 : D.ocean_current_velocity) == null ? void 0 : De.at(O),
6777
+ kts: (we = D == null ? void 0 : D.ocean_current_velocity) == null ? void 0 : we.at(O),
6778
+ degree: (H = D == null ? void 0 : D.ocean_current_direction) == null ? void 0 : H.at(O),
6779
+ bearing: ((oe = D == null ? void 0 : D.ocean_current_direction) == null ? void 0 : oe.at(O)) ?? null
6777
6780
  },
6778
- sst: (je = R == null ? void 0 : R.sea_surface_temperature) == null ? void 0 : je.at(D),
6779
- height: (Pe = R == null ? void 0 : R.sea_level_height_msl) == null ? void 0 : Pe.at(D)
6781
+ sst: (je = D == null ? void 0 : D.sea_surface_temperature) == null ? void 0 : je.at(O),
6782
+ height: (Pe = D == null ? void 0 : D.sea_level_height_msl) == null ? void 0 : Pe.at(O)
6780
6783
  }, Ce.wave = this.parseWave(Ce.wave, ge == null ? void 0 : ge.wind), Ce.current.direction = this.degree2Direction(Ce.current.degree), Object.assign(Oe[Be], Ce), Be++;
6781
6784
  }
6782
6785
  }
@@ -6806,82 +6809,82 @@ class Va {
6806
6809
  };
6807
6810
  }
6808
6811
  static pickDaily(e, o) {
6809
- var i, a, r, s, n, c, g, p, d, f, z, w, S, C, O, T, L, _, k, P, x, I, V, Z, X, F, J, te, Q, se, de, pe, me, K, ie, H, le, fe, ve, _e, Me, Ie, Ae, Re;
6810
- const De = typeof o == "string" ? A(o) : o, ye = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, oe = A((r = (a = (i = ye == null ? void 0 : ye[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = A((c = (n = (s = ye == null ? void 0 : ye[0]) == null ? void 0 : s.daily) == null ? void 0 : n.time) == null ? void 0 : c.at(-1)), Pe = [];
6812
+ var i, a, r, s, n, c, g, p, d, f, z, x, S, w, A, M, P, k, L, C, _, R, V, X, q, Y, ee, te, Q, se, de, pe, me, K, ie, F, le, be, _e, ke, Me, Ie, Ae, Re;
6813
+ const De = typeof o == "string" ? I(o) : o, we = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, oe = I((r = (a = (i = we == null ? void 0 : we[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = I((c = (n = (s = we == null ? void 0 : we[0]) == null ? void 0 : s.daily) == null ? void 0 : n.time) == null ? void 0 : c.at(-1)), Pe = [];
6811
6814
  if (De.isBetween(oe, je, "millisecond", "[]")) {
6812
6815
  let he, ue;
6813
- const W = De.diff(oe, "d", !1);
6814
- if (ye)
6815
- for (const ke of ye) {
6816
- const ee = ke.daily;
6816
+ const G = De.diff(oe, "d", !1);
6817
+ if (we)
6818
+ for (const ze of we) {
6819
+ const $ = ze.daily;
6817
6820
  he = {
6818
- code: (g = ee.weather_code) == null ? void 0 : g.at(W),
6821
+ code: (g = $.weather_code) == null ? void 0 : g.at(G),
6819
6822
  temp: {
6820
- max: (p = ee.temperature_2m_max) == null ? void 0 : p.at(W),
6821
- min: (d = ee.temperature_2m_min) == null ? void 0 : d.at(W),
6822
- mean: (f = ee.temperature_2m_mean) == null ? void 0 : f.at(W)
6823
+ max: (p = $.temperature_2m_max) == null ? void 0 : p.at(G),
6824
+ min: (d = $.temperature_2m_min) == null ? void 0 : d.at(G),
6825
+ mean: (f = $.temperature_2m_mean) == null ? void 0 : f.at(G)
6823
6826
  },
6824
6827
  apparentTemp: {
6825
- max: (z = ee.apparent_temperature_max) == null ? void 0 : z.at(W),
6826
- min: (w = ee.apparent_temperature_min) == null ? void 0 : w.at(W)
6828
+ max: (z = $.apparent_temperature_max) == null ? void 0 : z.at(G),
6829
+ min: (x = $.apparent_temperature_min) == null ? void 0 : x.at(G)
6827
6830
  },
6828
6831
  precip: {
6829
- sum: (S = ee.precipitation_sum) == null ? void 0 : S.at(W),
6830
- rainSum: (C = ee.rain_sum) == null ? void 0 : C.at(W),
6831
- snowfallSum: (O = ee.snowfall_sum) == null ? void 0 : O.at(W),
6832
- showersSum: (T = ee.showers_sum) == null ? void 0 : T.at(W),
6833
- hours: (L = ee.precipitation_hours) == null ? void 0 : L.at(W),
6834
- probability: (_ = ee.precipitation_probability_max) == null ? void 0 : _.at(W)
6832
+ sum: (S = $.precipitation_sum) == null ? void 0 : S.at(G),
6833
+ rainSum: (w = $.rain_sum) == null ? void 0 : w.at(G),
6834
+ snowfallSum: (A = $.snowfall_sum) == null ? void 0 : A.at(G),
6835
+ showersSum: (M = $.showers_sum) == null ? void 0 : M.at(G),
6836
+ hours: (P = $.precipitation_hours) == null ? void 0 : P.at(G),
6837
+ probability: (k = $.precipitation_probability_max) == null ? void 0 : k.at(G)
6835
6838
  },
6836
6839
  rh: {
6837
- max: (k = ee.relative_humidity_2m_max) == null ? void 0 : k.at(W),
6838
- min: (P = ee.relative_humidity_2m_min) == null ? void 0 : P.at(W),
6839
- mean: (x = ee.relative_humidity_2m_mean) == null ? void 0 : x.at(W)
6840
+ max: (L = $.relative_humidity_2m_max) == null ? void 0 : L.at(G),
6841
+ min: (C = $.relative_humidity_2m_min) == null ? void 0 : C.at(G),
6842
+ mean: (_ = $.relative_humidity_2m_mean) == null ? void 0 : _.at(G)
6840
6843
  },
6841
6844
  wind: {
6842
- speed: (I = ee.wind_speed_10m_max) == null ? void 0 : I.at(W),
6843
- kts: (V = ee.wind_speed_10m_max) == null ? void 0 : V.at(W),
6844
- degree: (Z = ee.wind_direction_10m_dominant) == null ? void 0 : Z.at(W),
6845
- gusts: (X = ee.wind_gusts_10m_max) == null ? void 0 : X.at(W),
6846
- bearing: ((F = ee.wind_direction_10m_dominant) == null ? void 0 : F.at(W)) !== null ? (((J = ee.wind_direction_10m_dominant) == null ? void 0 : J.at(W)) + 180) % 360 : null
6845
+ speed: (R = $.wind_speed_10m_max) == null ? void 0 : R.at(G),
6846
+ kts: (V = $.wind_speed_10m_max) == null ? void 0 : V.at(G),
6847
+ degree: (X = $.wind_direction_10m_dominant) == null ? void 0 : X.at(G),
6848
+ gusts: (q = $.wind_gusts_10m_max) == null ? void 0 : q.at(G),
6849
+ bearing: ((Y = $.wind_direction_10m_dominant) == null ? void 0 : Y.at(G)) !== null ? (((ee = $.wind_direction_10m_dominant) == null ? void 0 : ee.at(G)) + 180) % 360 : null
6847
6850
  }
6848
6851
  };
6849
- const { name: re, url: Oe, bg: D } = this.parseWeatherCode(he.code, !0);
6850
- he.name = re, he.url = Oe, he.bg = D, he.wind.scale = this.beaufort(this.kts2ms(he.wind.kts)), he.wind.direction = this.degree2Direction(he.wind.degree), Pe.push({
6851
- utc: oe.add(W, "d").utc().format(),
6852
- model: ke.model,
6852
+ const { name: re, url: Oe, bg: O } = this.parseWeatherCode(he.code, !0);
6853
+ he.name = re, he.url = Oe, he.bg = O, he.wind.scale = this.beaufort(this.kts2ms(he.wind.kts)), he.wind.direction = this.degree2Direction(he.wind.degree), Pe.push({
6854
+ utc: oe.add(G, "d").utc().format(),
6855
+ model: ze.model,
6853
6856
  weather: { ...he }
6854
6857
  });
6855
6858
  }
6856
- if (G) {
6857
- let ke = 0;
6858
- for (const ee of G) {
6859
- const re = ee.daily;
6859
+ if (H) {
6860
+ let ze = 0;
6861
+ for (const $ of H) {
6862
+ const re = $.daily;
6860
6863
  ue = {
6861
6864
  wave: {
6862
6865
  sig: {
6863
- height: (te = re.wave_height_max) == null ? void 0 : te.at(W),
6864
- degree: (Q = re.wave_direction_dominant) == null ? void 0 : Q.at(W),
6865
- period: (se = re.wave_period_max) == null ? void 0 : se.at(W),
6866
- bearing: ((de = re.wave_direction_dominant) == null ? void 0 : de.at(W)) !== null ? (((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(W)) + 180) % 360 : null
6866
+ height: (te = re.wave_height_max) == null ? void 0 : te.at(G),
6867
+ degree: (Q = re.wave_direction_dominant) == null ? void 0 : Q.at(G),
6868
+ period: (se = re.wave_period_max) == null ? void 0 : se.at(G),
6869
+ bearing: ((de = re.wave_direction_dominant) == null ? void 0 : de.at(G)) !== null ? (((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(G)) + 180) % 360 : null
6867
6870
  },
6868
6871
  swell: {
6869
- height: (me = re.swell_wave_height_max) == null ? void 0 : me.at(W),
6870
- degree: (K = re.swell_wave_direction_dominant) == null ? void 0 : K.at(W),
6871
- period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(W),
6872
- peakPeriod: (H = re.swell_wave_peak_period_max) == null ? void 0 : H.at(W),
6872
+ height: (me = re.swell_wave_height_max) == null ? void 0 : me.at(G),
6873
+ degree: (K = re.swell_wave_direction_dominant) == null ? void 0 : K.at(G),
6874
+ period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(G),
6875
+ peakPeriod: (F = re.swell_wave_peak_period_max) == null ? void 0 : F.at(G),
6873
6876
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
6874
- bearing: ((le = re.swell_wave_direction_dominant) == null ? void 0 : le.at(W)) !== null ? ((fe = re.swell_wave_direction_dominant) == null ? void 0 : fe.at(W)) % 360 : null
6877
+ bearing: ((le = re.swell_wave_direction_dominant) == null ? void 0 : le.at(G)) !== null ? ((be = re.swell_wave_direction_dominant) == null ? void 0 : be.at(G)) % 360 : null
6875
6878
  },
6876
6879
  wd: {
6877
- height: (ve = re.wind_wave_height_max) == null ? void 0 : ve.at(W),
6878
- degree: (_e = re.wind_wave_direction_dominant) == null ? void 0 : _e.at(W),
6879
- period: (Me = re.wind_wave_period_max) == null ? void 0 : Me.at(W),
6880
- peakPeriod: (Ie = re.wind_wave_peak_period_max) == null ? void 0 : Ie.at(W),
6881
- bearing: ((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(W)) !== null ? (((Re = re.wind_wave_direction_dominant) == null ? void 0 : Re.at(W)) + 180) % 360 : null
6880
+ height: (_e = re.wind_wave_height_max) == null ? void 0 : _e.at(G),
6881
+ degree: (ke = re.wind_wave_direction_dominant) == null ? void 0 : ke.at(G),
6882
+ period: (Me = re.wind_wave_period_max) == null ? void 0 : Me.at(G),
6883
+ peakPeriod: (Ie = re.wind_wave_peak_period_max) == null ? void 0 : Ie.at(G),
6884
+ bearing: ((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(G)) !== null ? (((Re = re.wind_wave_direction_dominant) == null ? void 0 : Re.at(G)) + 180) % 360 : null
6882
6885
  }
6883
6886
  }
6884
- }, ue.wave = this.parseWave(ue.wave, he == null ? void 0 : he.wind), Object.assign(Pe[ke], ue), ke++;
6887
+ }, ue.wave = this.parseWave(ue.wave, he == null ? void 0 : he.wind), Object.assign(Pe[ze], ue), ze++;
6885
6888
  }
6886
6889
  }
6887
6890
  }
@@ -7286,7 +7289,7 @@ class Va {
7286
7289
  return isNaN(e) || e <= 0.1 ? o = "Calm" : e <= 0.5 ? o = "Smooth" : e <= 1.25 ? o = "Slight" : e <= 2.5 ? o = "Moderate" : e <= 4 ? o = "Rough" : e <= 6 ? o = "VeryRough" : e <= 9 ? o = "High" : e <= 14 ? o = "VeryHigh" : o = "Precipitous", o;
7287
7290
  }
7288
7291
  }
7289
- const js = {
7292
+ const Ps = {
7290
7293
  name: "IdmTropicals",
7291
7294
  props: {
7292
7295
  permission: {
@@ -7366,7 +7369,7 @@ const js = {
7366
7369
  computeTime() {
7367
7370
  return (t) => {
7368
7371
  if (t) {
7369
- const e = A(t).utcOffset(this.timeZone), o = this.timeZone < 0 ? this.timeZone : "+" + this.timeZone;
7372
+ const e = I(t).utcOffset(this.timeZone), o = this.timeZone < 0 ? this.timeZone : "+" + this.timeZone;
7370
7373
  return console.log("timeZone changed 111", this.timeZone), `${e == null ? void 0 : e.format("MMM-DD/HHmm")} ( UTC${o} ) ${e == null ? void 0 : e.fromNow()} `;
7371
7374
  }
7372
7375
  return "-";
@@ -7446,9 +7449,9 @@ const js = {
7446
7449
  },
7447
7450
  responseType: /\.(jpg|png)$/.test(g.tropicals) ? "blob" : "json"
7448
7451
  }).then((p) => {
7449
- var z, w, S;
7452
+ var z, x, S;
7450
7453
  const d = Wa.convert2Geojson(((z = p == null ? void 0 : p.data) == null ? void 0 : z.data) || (p == null ? void 0 : p.data));
7451
- ((S = (w = p == null ? void 0 : p.config) == null ? void 0 : w.headers) == null ? void 0 : S.key) && d && (this.tropicals = {
7454
+ ((S = (x = p == null ? void 0 : p.config) == null ? void 0 : x.headers) == null ? void 0 : S.key) && d && (this.tropicals = {
7452
7455
  data: d,
7453
7456
  active: !0,
7454
7457
  cached: !0,
@@ -7467,7 +7470,7 @@ const js = {
7467
7470
  var e, o;
7468
7471
  (((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
7469
7472
  var a, r, s, n;
7470
- ((a = i.geometry) == null ? void 0 : a.type) === "Point" && ((r = i.properties) != null && r.important) && (i.properties.format = (n = (s = A(i.properties.date)) == null ? void 0 : s.utcOffset(this.timeZone)) == null ? void 0 : n.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
7473
+ ((a = i.geometry) == null ? void 0 : a.type) === "Point" && ((r = i.properties) != null && r.important) && (i.properties.format = (n = (s = I(i.properties.date)) == null ? void 0 : s.utcOffset(this.timeZone)) == null ? void 0 : n.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
7471
7474
  }), this.handleInit();
7472
7475
  },
7473
7476
  handleInit() {
@@ -7735,9 +7738,9 @@ const js = {
7735
7738
  ), this.showTropicalsInfo = !1;
7736
7739
  },
7737
7740
  handleDateChange() {
7738
- var t, e, o, i, a, r, s, n, c, g, p, d, f, z, w, S, C, O, T, L, _, k, P, x, I, V, Z, X, F, J, te, Q;
7741
+ var t, e, o, i, a, r, s, n, c, g, p, d, f, z, x, S, w, A, M, P, k, L, C, _, R, V, X, q, Y, ee, te, Q;
7739
7742
  if ((t = this.interpolateMarkers) == null || t.forEach((se) => se == null ? void 0 : se.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
7740
- const se = A(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), de = this.interpolateData.filter((K) => K.properties.date === (se == null ? void 0 : se.format()) && !K.properties.disabled), pe = this.handleComputePolygons(de), me = N.featureCollection([...de]);
7743
+ const se = I(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), de = this.interpolateData.filter((K) => K.properties.date === (se == null ? void 0 : se.format()) && !K.properties.disabled), pe = this.handleComputePolygons(de), me = N.featureCollection([...de]);
7741
7744
  pe.forEach((K) => {
7742
7745
  me.features.push(K);
7743
7746
  }), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(me) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
@@ -7757,8 +7760,8 @@ const js = {
7757
7760
  for (const K of de)
7758
7761
  if (!K.properties.disabled) {
7759
7762
  let ie = "#f44336";
7760
- ((n = (s = K.properties) == null ? void 0 : s.wind) == null ? void 0 : n.kts) < 32 || !((g = (c = K.properties) == null ? void 0 : c.wind) != null && g.kts) ? ie = "#03f869" : ((d = (p = K.properties) == null ? void 0 : p.wind) == null ? void 0 : d.kts) >= 32 && ((z = (f = K.properties) == null ? void 0 : f.wind) == null ? void 0 : z.kts) < 47 ? ie = "#f2f202" : ((S = (w = K.properties) == null ? void 0 : w.wind) == null ? void 0 : S.kts) >= 47 && ((O = (C = K.properties) == null ? void 0 : C.wind) == null ? void 0 : O.kts) < 63 ? ie = "#ff9100" : ((L = (T = K.properties) == null ? void 0 : T.wind) == null ? void 0 : L.kts) >= 63 && ((k = (_ = K.properties) == null ? void 0 : _.wind) == null ? void 0 : k.kts) < 79 ? ie = "#f44336" : ((x = (P = K.properties) == null ? void 0 : P.wind) == null ? void 0 : x.kts) >= 79 && ((V = (I = K.properties) == null ? void 0 : I.wind) == null ? void 0 : V.kts) < 94 ? ie = "#f903d0" : ((X = (Z = K.properties) == null ? void 0 : Z.wind) == null ? void 0 : X.kts) >= 94 ? ie = "#8702f9" : ie = "#f44336";
7761
- const H = `<svg t="1719918955501"
7763
+ ((n = (s = K.properties) == null ? void 0 : s.wind) == null ? void 0 : n.kts) < 32 || !((g = (c = K.properties) == null ? void 0 : c.wind) != null && g.kts) ? ie = "#03f869" : ((d = (p = K.properties) == null ? void 0 : p.wind) == null ? void 0 : d.kts) >= 32 && ((z = (f = K.properties) == null ? void 0 : f.wind) == null ? void 0 : z.kts) < 47 ? ie = "#f2f202" : ((S = (x = K.properties) == null ? void 0 : x.wind) == null ? void 0 : S.kts) >= 47 && ((A = (w = K.properties) == null ? void 0 : w.wind) == null ? void 0 : A.kts) < 63 ? ie = "#ff9100" : ((P = (M = K.properties) == null ? void 0 : M.wind) == null ? void 0 : P.kts) >= 63 && ((L = (k = K.properties) == null ? void 0 : k.wind) == null ? void 0 : L.kts) < 79 ? ie = "#f44336" : ((_ = (C = K.properties) == null ? void 0 : C.wind) == null ? void 0 : _.kts) >= 79 && ((V = (R = K.properties) == null ? void 0 : R.wind) == null ? void 0 : V.kts) < 94 ? ie = "#f903d0" : ((q = (X = K.properties) == null ? void 0 : X.wind) == null ? void 0 : q.kts) >= 94 ? ie = "#8702f9" : ie = "#f44336";
7764
+ const F = `<svg t="1719918955501"
7762
7765
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
7763
7766
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
7764
7767
  <path
@@ -7773,9 +7776,9 @@ const js = {
7773
7776
  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"
7774
7777
  fill="#ffffff" p-id="18386"></path>
7775
7778
  </svg>`, le = document.createElement("div");
7776
- le.className = "idm-tropical-gl4-hourly-marker", le.innerHTML = `<div class="${K.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${H}</div>`;
7777
- const fe = new we.Marker(le).setLngLat(K.geometry.coordinates).addTo(this.map);
7778
- this.interpolateMarkers.push(fe), (J = (F = this.map) == null ? void 0 : F.getSource(this.circleSource)) == null || J.setData(this.circleSourceData);
7779
+ le.className = "idm-tropical-gl4-hourly-marker", le.innerHTML = `<div class="${K.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${F}</div>`;
7780
+ const be = new ve.Marker(le).setLngLat(K.geometry.coordinates).addTo(this.map);
7781
+ this.interpolateMarkers.push(be), (ee = (Y = this.map) == null ? void 0 : Y.getSource(this.circleSource)) == null || ee.setData(this.circleSourceData);
7779
7782
  }
7780
7783
  } else
7781
7784
  (te = this.map) != null && te.getSource(this.interpolateSource) && ((Q = this.map) == null || Q.getSource(this.interpolateSource).setData(this.empty));
@@ -7784,13 +7787,13 @@ const js = {
7784
7787
  var r, s, n, c, g, p, d, f;
7785
7788
  const e = t.features[0], o = (s = (r = this.tropicals) == null ? void 0 : r.data) == null ? void 0 : s.features.filter(
7786
7789
  (z) => {
7787
- var w;
7788
- return z.geometry.type === "LineString" && z.properties.type === "forecast" && z.properties.name === ((w = e == null ? void 0 : e.properties) == null ? void 0 : w.name);
7790
+ var x;
7791
+ return z.geometry.type === "LineString" && z.properties.type === "forecast" && z.properties.name === ((x = e == null ? void 0 : e.properties) == null ? void 0 : x.name);
7789
7792
  }
7790
7793
  ), i = (c = (n = this.tropicals) == null ? void 0 : n.data) == null ? void 0 : c.features.filter(
7791
7794
  (z) => {
7792
- var w;
7793
- return z.geometry.type === "LineString" && z.properties.type === "history" && z.properties.name === ((w = e == null ? void 0 : e.properties) == null ? void 0 : w.name);
7795
+ var x;
7796
+ return z.geometry.type === "LineString" && z.properties.type === "history" && z.properties.name === ((x = e == null ? void 0 : e.properties) == null ? void 0 : x.name);
7794
7797
  }
7795
7798
  );
7796
7799
  this.activeTropicals = {
@@ -7800,7 +7803,7 @@ const js = {
7800
7803
  showCircle: (f = (d = o[0]) == null ? void 0 : d.properties) == null ? void 0 : f.showCircle
7801
7804
  }, this.showTropicalsInfo = !0;
7802
7805
  const a = document.getElementById("idm-tropical-gl4-info");
7803
- this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.activeTropicalsMarker = new we.Marker(a).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
7806
+ this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.activeTropicalsMarker = new ve.Marker(a).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
7804
7807
  },
7805
7808
  handleForecastToggle(t) {
7806
7809
  var i, a, r, s, n, c;
@@ -7888,19 +7891,19 @@ const js = {
7888
7891
  this.$emit("tropicalNotification", t);
7889
7892
  }
7890
7893
  }
7891
- }, Ns = { class: "idm-tropical-gl4" }, Fs = {
7894
+ }, Cs = { class: "idm-tropical-gl4" }, Ss = {
7892
7895
  id: "idm-tropical-gl4-info",
7893
7896
  class: "idm-tropical-gl4-info"
7894
- }, Hs = { class: "pb-1" }, Gs = { class: "text-h6 font-weight-600" }, Ws = {
7897
+ }, Ts = { class: "pb-1" }, Ms = { class: "text-h6 font-weight-600" }, Is = {
7895
7898
  key: 0,
7896
7899
  class: "text-body-1 opacity-70"
7897
- }, Us = { class: "text-body-2" }, Vs = { class: "d-flex justify-space-between align-center" }, Ys = { class: "flex-1-1-0" }, Zs = { class: "flex-1-1-0" }, Xs = { class: "py-2 d-flex justify-space-between align-center" }, qs = { class: "flex-1-1-0" }, Ks = { class: "flex-1-1-0" }, Qs = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Js = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, $s = { class: "more" }, en = {
7900
+ }, As = { class: "text-body-2" }, Rs = { class: "d-flex justify-space-between align-center" }, Ds = { class: "flex-1-1-0" }, Os = { class: "flex-1-1-0" }, Bs = { class: "py-2 d-flex justify-space-between align-center" }, Es = { class: "flex-1-1-0" }, js = { class: "flex-1-1-0" }, Ns = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, Fs = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Hs = { class: "more" }, Gs = {
7898
7901
  class: "my-4",
7899
7902
  style: { height: "80px" }
7900
- }, tn = { class: "pa-1 d-flex justify-space-between align-center" }, on = { class: "pa-1 d-flex justify-space-between align-center" };
7901
- function an(t, e, o, i, a, r) {
7903
+ }, Ws = { class: "pa-1 d-flex justify-space-between align-center" }, Us = { class: "pa-1 d-flex justify-space-between align-center" };
7904
+ function Vs(t, e, o, i, a, r) {
7902
7905
  const s = v("VBtn"), n = v("VTooltip"), c = v("VCardText"), g = v("VDivider"), p = v("VCardActions"), d = v("VCard");
7903
- return b(), M("div", Ns, [
7906
+ return y(), T("div", Cs, [
7904
7907
  l("div", {
7905
7908
  class: "menu-bar-box transition pa-1",
7906
7909
  style: ae({ top: o.top + 134 + "px", right: a.right + "px" })
@@ -7927,7 +7930,7 @@ function an(t, e, o, i, a, r) {
7927
7930
  _: 1
7928
7931
  }, 8, ["text"])
7929
7932
  ], 4),
7930
- He(l("div", Fs, [
7933
+ He(l("div", Ss, [
7931
7934
  h(d, {
7932
7935
  width: "400",
7933
7936
  elevation: "16"
@@ -7935,18 +7938,18 @@ function an(t, e, o, i, a, r) {
7935
7938
  default: u(() => [
7936
7939
  h(c, null, {
7937
7940
  default: u(() => {
7938
- var f, z, w, S, C, O, T, L, _, k;
7941
+ var f, z, x, S, w, A, M, P, k, L;
7939
7942
  return [
7940
- l("div", Hs, [
7941
- l("span", Gs, y((f = a.activeTropicals) == null ? void 0 : f.name), 1),
7942
- (w = (z = a.activeTropicals) == null ? void 0 : z.history) != null && w.level ? (b(), M("span", Ws, ", " + y((C = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : C.level), 1)) : B("", !0)
7943
+ l("div", Ts, [
7944
+ l("span", Ms, b((f = a.activeTropicals) == null ? void 0 : f.name), 1),
7945
+ (x = (z = a.activeTropicals) == null ? void 0 : z.history) != null && x.level ? (y(), T("span", Is, ", " + b((w = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : w.level), 1)) : B("", !0)
7943
7946
  ]),
7944
7947
  h(s, {
7945
7948
  icon: "",
7946
7949
  density: "compact",
7947
7950
  variant: "plain",
7948
7951
  class: "close",
7949
- onClick: e[0] || (e[0] = (P) => a.showTropicalsInfo = !1)
7952
+ onClick: e[0] || (e[0] = (C) => a.showTropicalsInfo = !1)
7950
7953
  }, {
7951
7954
  default: u(() => e[5] || (e[5] = [
7952
7955
  l("i", { class: "iconfont icon-close opacity-70 text-h4" }, null, -1)
@@ -7954,9 +7957,9 @@ function an(t, e, o, i, a, r) {
7954
7957
  _: 1,
7955
7958
  __: [5]
7956
7959
  }),
7957
- l("div", Us, [
7960
+ l("div", As, [
7958
7961
  e[6] || (e[6] = l("span", { class: "opacity-70" }, "Last update: ", -1)),
7959
- l("span", null, y(r.computeTime(((T = (O = a.activeTropicals) == null ? void 0 : O.history) == null ? void 0 : T.updated) || ((k = (_ = (L = a.activeTropicals) == null ? void 0 : L.forecasts) == null ? void 0 : _.filter((P) => !P.disabled)[0]) == null ? void 0 : k.date))), 1)
7962
+ l("span", null, b(r.computeTime(((M = (A = a.activeTropicals) == null ? void 0 : A.history) == null ? void 0 : M.updated) || ((L = (k = (P = a.activeTropicals) == null ? void 0 : P.forecasts) == null ? void 0 : k.filter((C) => !C.disabled)[0]) == null ? void 0 : L.date))), 1)
7960
7963
  ])
7961
7964
  ];
7962
7965
  }),
@@ -7965,45 +7968,45 @@ function an(t, e, o, i, a, r) {
7965
7968
  h(g),
7966
7969
  h(c, { class: "text-body-1" }, {
7967
7970
  default: u(() => {
7968
- var f, z, w, S, C, O, T, L, _;
7971
+ var f, z, x, S, w, A, M, P, k;
7969
7972
  return [
7970
- l("div", Vs, [
7971
- l("div", Ys, [
7973
+ l("div", Rs, [
7974
+ l("div", Ds, [
7972
7975
  e[7] || (e[7] = l("label", { class: "opacity-70 pr-1" }, "Wind speed : ", -1)),
7973
- l("span", null, y(((z = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : z.kts) || "-") + " kts", 1),
7974
- l("span", null, ", BF " + y(r.computeBF(((S = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : S.kts) || "-")), 1)
7976
+ l("span", null, b(((z = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : z.kts) || "-") + " kts", 1),
7977
+ l("span", null, ", BF " + b(r.computeBF(((S = (x = a.activeTropicals) == null ? void 0 : x.history) == null ? void 0 : S.kts) || "-")), 1)
7975
7978
  ]),
7976
- l("div", Zs, [
7979
+ l("div", Os, [
7977
7980
  e[8] || (e[8] = l("label", { class: "opacity-70 pr-1" }, "Pressure : ", -1)),
7978
- l("span", null, y(((O = (C = a.activeTropicals) == null ? void 0 : C.history) == null ? void 0 : O.pressure) || "-") + " hPa", 1)
7981
+ l("span", null, b(((A = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : A.pressure) || "-") + " hPa", 1)
7979
7982
  ])
7980
7983
  ]),
7981
- l("div", Xs, [
7982
- l("div", qs, [
7984
+ l("div", Bs, [
7985
+ l("div", Es, [
7983
7986
  e[9] || (e[9] = l("label", { class: "opacity-70 pr-1" }, "Move Speed : ", -1)),
7984
- l("span", null, y(((T = r.computeMovement(a.activeTropicals)) == null ? void 0 : T.kts) || "-") + " kts", 1)
7987
+ l("span", null, b(((M = r.computeMovement(a.activeTropicals)) == null ? void 0 : M.kts) || "-") + " kts", 1)
7985
7988
  ]),
7986
- l("div", Ks, [
7989
+ l("div", js, [
7987
7990
  e[10] || (e[10] = l("label", { class: "opacity-70 pr-1" }, "Move Dir : ", -1)),
7988
- l("span", null, y(((L = r.computeMovement(a.activeTropicals)) == null ? void 0 : L.deg) || "-") + "°", 1)
7991
+ l("span", null, b(((P = r.computeMovement(a.activeTropicals)) == null ? void 0 : P.deg) || "-") + "°", 1)
7989
7992
  ])
7990
7993
  ]),
7991
- l("div", Qs, [
7994
+ l("div", Ns, [
7992
7995
  e[11] || (e[11] = l("label", {
7993
7996
  class: "opacity-70 pr-1",
7994
7997
  style: { width: "max-content" }
7995
7998
  }, "Forecast Models : ", -1)),
7996
- l("div", Js, [
7997
- (b(!0), M(be, null, ze((_ = a.activeTropicals) == null ? void 0 : _.forecasts, (k, P) => (b(), j(s, {
7998
- key: P,
7999
+ l("div", Fs, [
8000
+ (y(!0), T(fe, null, ye((k = a.activeTropicals) == null ? void 0 : k.forecasts, (L, C) => (y(), j(s, {
8001
+ key: C,
7999
8002
  density: "compact",
8000
- variant: k.disabled ? "outlined" : "flat",
8001
- color: k.disabled ? "" : "primary",
8002
- class: We(["model text-none text-body-1", k.disabled ? "" : "btn-border-2"]),
8003
- onClick: (x) => r.handleForecastToggle(k)
8003
+ variant: L.disabled ? "outlined" : "flat",
8004
+ color: L.disabled ? "" : "primary",
8005
+ class: We(["model text-none text-body-1", L.disabled ? "" : "btn-border-2"]),
8006
+ onClick: (_) => r.handleForecastToggle(L)
8004
8007
  }, {
8005
8008
  default: u(() => [
8006
- U(y(k.model), 1)
8009
+ W(b(L.model), 1)
8007
8010
  ]),
8008
8011
  _: 2
8009
8012
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -8028,13 +8031,13 @@ function an(t, e, o, i, a, r) {
8028
8031
  l("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
8029
8032
  ])),
8030
8033
  default: u(() => [
8031
- e[13] || (e[13] = U(" Legend ", -1))
8034
+ e[13] || (e[13] = W(" Legend ", -1))
8032
8035
  ]),
8033
8036
  _: 1,
8034
8037
  __: [13]
8035
8038
  }, 8, ["color"]),
8036
- l("div", $s, [
8037
- o.permission & a.helper.LEVEL.Supper ? (b(), j(s, {
8039
+ l("div", Hs, [
8040
+ o.permission & a.helper.LEVEL.Supper ? (y(), j(s, {
8038
8041
  key: 0,
8039
8042
  variant: "text",
8040
8043
  density: "compact",
@@ -8042,7 +8045,7 @@ function an(t, e, o, i, a, r) {
8042
8045
  onClick: e[2] || (e[2] = (f) => r.handleNotification(a.activeTropicals))
8043
8046
  }, {
8044
8047
  default: u(() => e[14] || (e[14] = [
8045
- U("Notify", -1)
8048
+ W("Notify", -1)
8046
8049
  ])),
8047
8050
  _: 1,
8048
8051
  __: [14]
@@ -8055,7 +8058,7 @@ function an(t, e, o, i, a, r) {
8055
8058
  onClick: e[3] || (e[3] = (f) => r.handleStrikeProbability(a.activeTropicals))
8056
8059
  }, {
8057
8060
  default: u(() => e[15] || (e[15] = [
8058
- U("View Report", -1)
8061
+ W("View Report", -1)
8059
8062
  ])),
8060
8063
  _: 1,
8061
8064
  __: [15]
@@ -8067,7 +8070,7 @@ function an(t, e, o, i, a, r) {
8067
8070
  ]),
8068
8071
  _: 1
8069
8072
  }),
8070
- l("div", en, [
8073
+ l("div", Gs, [
8071
8074
  He(h(d, {
8072
8075
  width: "400",
8073
8076
  elevation: "16"
@@ -8075,7 +8078,7 @@ function an(t, e, o, i, a, r) {
8075
8078
  default: u(() => [
8076
8079
  h(c, null, {
8077
8080
  default: u(() => [
8078
- He(l("div", tn, e[16] || (e[16] = [
8081
+ He(l("div", Ws, e[16] || (e[16] = [
8079
8082
  l("div", { class: "legend d-flex justify-start align-center" }, [
8080
8083
  l("div", { class: "icon td" }),
8081
8084
  l("div", { class: "label" }, "TD")
@@ -8103,7 +8106,7 @@ function an(t, e, o, i, a, r) {
8103
8106
  ]), 512), [
8104
8107
  [Ge, a.showLegend]
8105
8108
  ]),
8106
- He(l("div", on, e[17] || (e[17] = [
8109
+ He(l("div", Us, e[17] || (e[17] = [
8107
8110
  l("div", { class: "legend d-flex justify-start align-center" }, [
8108
8111
  l("div", { class: "icon history" }),
8109
8112
  l("div", { class: "label" }, "History")
@@ -8137,8 +8140,8 @@ function an(t, e, o, i, a, r) {
8137
8140
  ])
8138
8141
  ]);
8139
8142
  }
8140
- const Za = /* @__PURE__ */ q(js, [["render", an]]);
8141
- const rn = {
8143
+ const Za = /* @__PURE__ */ Z(Ps, [["render", Vs]]);
8144
+ const Ys = {
8142
8145
  name: "DateTimePicker",
8143
8146
  props: {
8144
8147
  locale: {
@@ -8182,7 +8185,7 @@ const rn = {
8182
8185
  },
8183
8186
  computed: {
8184
8187
  currentYear() {
8185
- return A(this.currentTimestamp).format("YYYY");
8188
+ return I(this.currentTimestamp).format("YYYY");
8186
8189
  },
8187
8190
  hourOptions() {
8188
8191
  const t = [];
@@ -8191,11 +8194,11 @@ const rn = {
8191
8194
  return t.filter((e, o) => (o - this.timeZone) % this.intervalHour === 0);
8192
8195
  },
8193
8196
  timeZoneNames() {
8194
- return A.tz.names();
8197
+ return I.tz.names();
8195
8198
  },
8196
8199
  timeZoneName() {
8197
8200
  var t;
8198
- return (t = this.timeZoneNames.filter((e) => A.tz(A(), e).utcOffset() === this.timeZone * 60)) == null ? void 0 : t[0];
8201
+ return (t = this.timeZoneNames.filter((e) => I.tz(I(), e).utcOffset() === this.timeZone * 60)) == null ? void 0 : t[0];
8199
8202
  },
8200
8203
  utcTimeZoneName() {
8201
8204
  return "Africa/Abidjan";
@@ -8217,7 +8220,7 @@ const rn = {
8217
8220
  },
8218
8221
  currentTimestamp: {
8219
8222
  handler() {
8220
- this.currentDateTimeZ = A(this.currentTimestamp).utc().format("yyyy-MM-DD HH:00[Z]"), this.$emit("dateTime", this.currentDateTimeZ), this.$emit("currentTimestamp", this.currentTimestamp), this.currentDateTime = `${A.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`;
8223
+ this.currentDateTimeZ = I(this.currentTimestamp).utc().format("yyyy-MM-DD HH:00[Z]"), this.$emit("dateTime", this.currentDateTimeZ), this.$emit("currentTimestamp", this.currentTimestamp), this.currentDateTime = `${I.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`;
8221
8224
  },
8222
8225
  immediate: !0
8223
8226
  },
@@ -8229,7 +8232,7 @@ const rn = {
8229
8232
  },
8230
8233
  mounted() {
8231
8234
  this.handleReset(), this.timer = setInterval(() => {
8232
- this.currentRealTime = `${A.tz(A().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
8235
+ this.currentRealTime = `${I.tz(I().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
8233
8236
  }, 100);
8234
8237
  },
8235
8238
  unmounted() {
@@ -8241,57 +8244,57 @@ const rn = {
8241
8244
  },
8242
8245
  handleResetDateTime(t) {
8243
8246
  var a;
8244
- const e = A(t).utc().date(), o = Math.ceil(A(t).utc().hour() / 3) * 3;
8245
- this.currentTimestamp = ((a = A(t)) == null ? void 0 : a.utc().set({ date: e, hour: o, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3;
8246
- const i = A.tz(this.currentTimestamp, this.timeZoneName).clone();
8247
- this.currentDate = i.clone().format("YYYY-MM-DD"), this.currentTime = i.clone().format("HH:00"), this.currentDateTime = `${A.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`, this.currentRealTime = `${A.tz(A().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
8247
+ const e = I(t).utc().date(), o = Math.ceil(I(t).utc().hour() / 3) * 3;
8248
+ this.currentTimestamp = ((a = I(t)) == null ? void 0 : a.utc().set({ date: e, hour: o, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3;
8249
+ const i = I.tz(this.currentTimestamp, this.timeZoneName).clone();
8250
+ this.currentDate = i.clone().format("YYYY-MM-DD"), this.currentTime = i.clone().format("HH:00"), this.currentDateTime = `${I.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`, this.currentRealTime = `${I.tz(I().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
8248
8251
  },
8249
8252
  handleResetDateRange() {
8250
8253
  var a, r, s;
8251
8254
  if (!this.dayAbout.h || !this.dayAbout.f)
8252
8255
  return;
8253
- const t = A().utc().date(), e = Math.ceil(A().utc().hour() / 3) * 3, o = ((a = A()) == null ? void 0 : a.utc().set({ date: t, hour: e, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3, i = A.tz(o, this.timeZoneName).clone();
8256
+ const t = I().utc().date(), e = Math.ceil(I().utc().hour() / 3) * 3, o = ((a = I()) == null ? void 0 : a.utc().set({ date: t, hour: e, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3, i = I.tz(o, this.timeZoneName).clone();
8254
8257
  this.dateRange = [
8255
8258
  i.clone().add(this.dayAbout.h, "day").format("yyyy-MM-DD"),
8256
8259
  i.clone().add(this.dayAbout.f, "day").format("yyyy-MM-DD")
8257
8260
  ], this.timestampRange = [
8258
- ((r = A()) == null ? void 0 : r.utc().set({ date: t + this.dayAbout.h, hour: 0, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3,
8259
- ((s = A()) == null ? void 0 : s.utc().set({ date: t + this.dayAbout.f, hour: 0, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3
8261
+ ((r = I()) == null ? void 0 : r.utc().set({ date: t + this.dayAbout.h, hour: 0, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3,
8262
+ ((s = I()) == null ? void 0 : s.utc().set({ date: t + this.dayAbout.f, hour: 0, minute: 0, second: 0, millisecond: 0 }).unix()) * 1e3
8260
8263
  ], this.$emit("timestampRange", this.timestampRange);
8261
8264
  },
8262
8265
  handleOpenDatePicker() {
8263
8266
  this.showDatePicker = !this.showDatePicker, this.handleUpdateMonth();
8264
8267
  },
8265
8268
  handleUpdateMonth(t) {
8266
- const e = t || A.tz(this.currentTimestamp, this.timeZoneName).clone().month(), o = this.locale === "en" ? A.tz(this.currentTimestamp, this.timeZoneName).set({ month: e }).clone().format("MMM") : A.tz(this.currentTimestamp, this.timeZoneName).set({ month: e }).clone().format("M月");
8269
+ const e = t || I.tz(this.currentTimestamp, this.timeZoneName).clone().month(), o = this.locale === "en" ? I.tz(this.currentTimestamp, this.timeZoneName).set({ month: e }).clone().format("MMM") : I.tz(this.currentTimestamp, this.timeZoneName).set({ month: e }).clone().format("M月");
8267
8270
  this.$nextTick(() => {
8268
8271
  const i = document.querySelector(".v-date-picker-controls__month-btn");
8269
8272
  i.innerText = o;
8270
8273
  });
8271
8274
  },
8272
8275
  handleConfirmDate() {
8273
- const t = A(this.currentDate).format("yyyy-MM-DD"), e = this.currentTime, o = `${t} ${e}`, i = A.tz(o, "YYYY-MM-DD HH:00", this.timeZoneName).clone().tz(this.localTimeZoneName);
8276
+ const t = I(this.currentDate).format("yyyy-MM-DD"), e = this.currentTime, o = `${t} ${e}`, i = I.tz(o, "YYYY-MM-DD HH:00", this.timeZoneName).clone().tz(this.localTimeZoneName);
8274
8277
  this.currentTimestamp = i.unix() * 1e3, this.showDatePicker = !1;
8275
8278
  },
8276
8279
  handleCancelDate() {
8277
8280
  this.showDatePicker = !1;
8278
- const t = A.tz(this.currentTimestamp, this.timeZoneName).clone();
8281
+ const t = I.tz(this.currentTimestamp, this.timeZoneName).clone();
8279
8282
  this.currentDate = t.clone().format("YYYY-MM-DD"), this.currentTime = t.clone().format("HH:00");
8280
8283
  }
8281
8284
  }
8282
- }, ln = { class: "idm-gl4-timepicker" }, sn = {
8285
+ }, Zs = { class: "idm-gl4-timepicker" }, Xs = {
8283
8286
  class: "pa-0",
8284
8287
  style: { width: "250px" }
8285
- }, nn = {
8288
+ }, qs = {
8286
8289
  class: "h-100 pa-0 d-flex flex-column justify-start align-center",
8287
8290
  style: { width: "100px" }
8288
- }, cn = {
8291
+ }, Ks = {
8289
8292
  class: "d-flex justify-center align-center text-body-2",
8290
8293
  style: { height: "56px" }
8291
8294
  };
8292
- function mn(t, e, o, i, a, r) {
8293
- const s = v("VBtn"), n = v("VDatePicker"), c = v("VDivider"), g = v("VListItemTitle"), p = v("VListItem"), d = v("VList"), f = v("VCardText"), z = v("VCardActions"), w = v("VCard");
8294
- return b(), M("div", ln, [
8295
+ function Qs(t, e, o, i, a, r) {
8296
+ const s = v("VBtn"), n = v("VDatePicker"), c = v("VDivider"), g = v("VListItemTitle"), p = v("VListItem"), d = v("VList"), f = v("VCardText"), z = v("VCardActions"), x = v("VCard");
8297
+ return y(), T("div", Zs, [
8295
8298
  h(s, {
8296
8299
  text: "",
8297
8300
  height: "30",
@@ -8299,18 +8302,18 @@ function mn(t, e, o, i, a, r) {
8299
8302
  onClick: r.handleOpenDatePicker
8300
8303
  }, {
8301
8304
  default: u(() => [
8302
- U(y(a.currentDateTime) + " | UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
8305
+ W(b(a.currentDateTime) + " | UTC " + b(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
8303
8306
  ]),
8304
8307
  _: 1
8305
8308
  }, 8, ["onClick"]),
8306
- a.showDatePicker ? (b(), j(w, {
8309
+ a.showDatePicker ? (y(), j(x, {
8307
8310
  key: 0,
8308
8311
  class: "card-box d-flex flex-column"
8309
8312
  }, {
8310
8313
  default: u(() => [
8311
8314
  h(f, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
8312
8315
  default: u(() => [
8313
- l("div", sn, [
8316
+ l("div", Xs, [
8314
8317
  h(n, {
8315
8318
  modelValue: a.currentDate,
8316
8319
  "onUpdate:modelValue": e[0] || (e[0] = (S) => a.currentDate = S),
@@ -8329,12 +8332,12 @@ function mn(t, e, o, i, a, r) {
8329
8332
  class: "h-100",
8330
8333
  vertical: ""
8331
8334
  }),
8332
- l("div", nn, [
8333
- l("div", cn, y(a.currentTime), 1),
8335
+ l("div", qs, [
8336
+ l("div", Ks, b(a.currentTime), 1),
8334
8337
  h(d, { class: "pa-0 flex-1-1-0" }, {
8335
8338
  default: u(() => [
8336
- (b(!0), M(be, null, ze(r.hourOptions, (S, C) => (b(), j(p, {
8337
- key: C,
8339
+ (y(!0), T(fe, null, ye(r.hourOptions, (S, w) => (y(), j(p, {
8340
+ key: w,
8338
8341
  value: S,
8339
8342
  color: "primary",
8340
8343
  active: a.currentTime === S,
@@ -8345,10 +8348,10 @@ function mn(t, e, o, i, a, r) {
8345
8348
  default: u(() => [
8346
8349
  h(g, {
8347
8350
  class: "text-body-2 text-center",
8348
- onClick: (O) => a.currentTime = S
8351
+ onClick: (A) => a.currentTime = S
8349
8352
  }, {
8350
8353
  default: u(() => [
8351
- U(y(S), 1)
8354
+ W(b(S), 1)
8352
8355
  ]),
8353
8356
  _: 2
8354
8357
  }, 1032, ["onClick"])
@@ -8375,7 +8378,7 @@ function mn(t, e, o, i, a, r) {
8375
8378
  onClick: r.handleCancelDate
8376
8379
  }, {
8377
8380
  default: u(() => e[1] || (e[1] = [
8378
- U("Cancel", -1)
8381
+ W("Cancel", -1)
8379
8382
  ])),
8380
8383
  _: 1,
8381
8384
  __: [1]
@@ -8388,7 +8391,7 @@ function mn(t, e, o, i, a, r) {
8388
8391
  onClick: r.handleConfirmDate
8389
8392
  }, {
8390
8393
  default: u(() => e[2] || (e[2] = [
8391
- U("Confirm", -1)
8394
+ W("Confirm", -1)
8392
8395
  ])),
8393
8396
  _: 1,
8394
8397
  __: [2]
@@ -8401,8 +8404,8 @@ function mn(t, e, o, i, a, r) {
8401
8404
  })) : B("", !0)
8402
8405
  ]);
8403
8406
  }
8404
- const lo = /* @__PURE__ */ q(rn, [["render", mn]]);
8405
- const hn = {
8407
+ const lo = /* @__PURE__ */ Z(Ys, [["render", Qs]]);
8408
+ const Js = {
8406
8409
  name: "IdmPoint",
8407
8410
  components: {
8408
8411
  DateTimePicker: lo
@@ -8495,35 +8498,35 @@ const hn = {
8495
8498
  },
8496
8499
  computed: {
8497
8500
  timeZoneNames() {
8498
- return A.tz.names();
8501
+ return I.tz.names();
8499
8502
  },
8500
8503
  timeZoneName() {
8501
8504
  var t;
8502
- return (t = this.timeZoneNames.filter((e) => A.tz(A(), e).utcOffset() === this.timeZone * 60)) == null ? void 0 : t[0];
8505
+ return (t = this.timeZoneNames.filter((e) => I.tz(I(), e).utcOffset() === this.timeZone * 60)) == null ? void 0 : t[0];
8503
8506
  },
8504
8507
  computedTzTime() {
8505
- return (t) => A.tz(A(t), this.timeZoneName).clone().format("YYYY-MM-DD HHmm") + " (UTC " + (this.timeZone >= 0 ? "+" : "") + this.timeZone + ")";
8508
+ return (t) => I.tz(I(t), this.timeZoneName).clone().format("YYYY-MM-DD HHmm") + " (UTC " + (this.timeZone >= 0 ? "+" : "") + this.timeZone + ")";
8506
8509
  },
8507
8510
  computedLocalTime() {
8508
8511
  return (t) => {
8509
8512
  var i, a;
8510
- const e = ((i = this.positionGmt) == null ? void 0 : i.slice(-2)) * -1, o = (a = this.timeZoneNames.filter((r) => A.tz(A(), r).utcOffset() === e * 60)) == null ? void 0 : a[0];
8511
- return t ? A.tz(A(t), o).clone().format("YYYY-MM-DD HHmm") + " (UTC " + (e >= 0 ? "+" : "") + e + ")" : "-";
8513
+ const e = ((i = this.positionGmt) == null ? void 0 : i.slice(-2)) * -1, o = (a = this.timeZoneNames.filter((r) => I.tz(I(), r).utcOffset() === e * 60)) == null ? void 0 : a[0];
8514
+ return t ? I.tz(I(t), o).clone().format("YYYY-MM-DD HHmm") + " (UTC " + (e >= 0 ? "+" : "") + e + ")" : "-";
8512
8515
  };
8513
8516
  },
8514
8517
  computeLat() {
8515
8518
  return function(t, e = 4) {
8516
- return $.lat2pretty(t, e).pretty;
8519
+ return J.lat2pretty(t, e).pretty;
8517
8520
  };
8518
8521
  },
8519
8522
  computeLng() {
8520
8523
  return function(t, e = 4) {
8521
- return $.lng2pretty(t, e).pretty;
8524
+ return J.lng2pretty(t, e).pretty;
8522
8525
  };
8523
8526
  },
8524
8527
  roundPrecision() {
8525
8528
  return function(t, e = 4) {
8526
- return isNaN(t) ? "-" : $.roundPrecision(t, e);
8529
+ return isNaN(t) ? "-" : J.roundPrecision(t, e);
8527
8530
  };
8528
8531
  }
8529
8532
  },
@@ -8587,8 +8590,8 @@ const hn = {
8587
8590
  lat: this.form.lat,
8588
8591
  lng: this.form.lng
8589
8592
  };
8590
- const i = A();
8591
- ((o = A(this.realTime)) == null ? void 0 : o.diff(i, "d", !0)) >= 0 ? await this.fetchMeteoData(this.form) : await this.fetchHistoryData(this.form);
8593
+ const i = I();
8594
+ ((o = I(this.realTime)) == null ? void 0 : o.diff(i, "d", !0)) >= 0 ? await this.fetchMeteoData(this.form) : await this.fetchHistoryData(this.form);
8592
8595
  }
8593
8596
  });
8594
8597
  },
@@ -8617,7 +8620,7 @@ const hn = {
8617
8620
  let i = {
8618
8621
  lat: t.lat,
8619
8622
  lng: t.lng,
8620
- datetime: A(t.dateTime).utc().format(),
8623
+ datetime: I(t.dateTime).utc().format(),
8621
8624
  forecastDays: t.day ?? 7,
8622
8625
  weatherModels: e,
8623
8626
  marineModels: o
@@ -8633,7 +8636,7 @@ const hn = {
8633
8636
  const { weatherModels: e, marineModels: o } = ao.autoPickMeteoModel(t.forecastModel), i = {
8634
8637
  lat: t.lat,
8635
8638
  lng: t.lng,
8636
- datetime: A(t.dateTime).utc().format(),
8639
+ datetime: I(t.dateTime).utc().format(),
8637
8640
  forecastDays: 3,
8638
8641
  pastDays: 1,
8639
8642
  weatherModels: e,
@@ -8646,10 +8649,10 @@ const hn = {
8646
8649
  (a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData)), this.loading = !1;
8647
8650
  },
8648
8651
  initTableData(t) {
8649
- var o, i, a, r, s, n, c, g, p, d, f, z, w, S, C, O, T, L, _, k, P, x, I, V, Z, X, F, J, te, Q, se, de, pe, me, K, ie, H, le, fe, ve, _e;
8652
+ var o, i, a, r, s, n, c, g, p, d, f, z, x, S, w, A, M, P, k, L, C, _, R, V, X, q, Y, ee, te, Q, se, de, pe, me, K, ie, F, le, be, _e, ke;
8650
8653
  this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
8651
- const e = ((s = ao.pickHourly(t, A(this.form.dateTime))) == null ? void 0 : s[0]) || {};
8652
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.roundPrecision((n = e == null ? void 0 : e.weather) == null ? void 0 : n.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((g = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((d = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : d.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((w = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : w.kts, 1) ?? "-", this.currentHourData.windDir = (C = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : C.direction, this.currentHourData.windLevel = this.roundPrecision((T = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : T.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((_ = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((P = (k = e == null ? void 0 : e.wave) == null ? void 0 : k.sig) == null ? void 0 : P.height, 1) ?? "-", this.currentHourData.sigwaveDir = (I = (x = e == null ? void 0 : e.wave) == null ? void 0 : x.sig) == null ? void 0 : I.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((Z = (V = e == null ? void 0 : e.wave) == null ? void 0 : V.sig) == null ? void 0 : Z.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((F = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : F.height, 1) ?? "-", this.currentHourData.windwaveDir = (te = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : te.direction, this.currentHourData.windwavePeriod = this.roundPrecision((se = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((pe = (de = e == null ? void 0 : e.wave) == null ? void 0 : de.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (K = (me = e == null ? void 0 : e.wave) == null ? void 0 : me.swell) == null ? void 0 : K.direction, this.currentHourData.swellPeriod = this.roundPrecision((H = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : H.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((le = e == null ? void 0 : e.current) == null ? void 0 : le.speed, 1) ?? "-", this.currentHourData.currentDir = (fe = e == null ? void 0 : e.current) == null ? void 0 : fe.direction, this.currentHourData.currentSpeed = this.roundPrecision((ve = e == null ? void 0 : e.current) == null ? void 0 : ve.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (_e = e == null ? void 0 : e.weather) == null ? void 0 : _e.url;
8654
+ const e = ((s = ao.pickHourly(t, I(this.form.dateTime))) == null ? void 0 : s[0]) || {};
8655
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.roundPrecision((n = e == null ? void 0 : e.weather) == null ? void 0 : n.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((g = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((d = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : d.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((x = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : x.kts, 1) ?? "-", this.currentHourData.windDir = (w = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : w.direction, this.currentHourData.windLevel = this.roundPrecision((M = (A = e == null ? void 0 : e.weather) == null ? void 0 : A.wind) == null ? void 0 : M.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((k = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((X = (V = e == null ? void 0 : e.wave) == null ? void 0 : V.sig) == null ? void 0 : X.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((Y = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = (te = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : te.direction, this.currentHourData.windwavePeriod = this.roundPrecision((se = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((pe = (de = e == null ? void 0 : e.wave) == null ? void 0 : de.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (K = (me = e == null ? void 0 : e.wave) == null ? void 0 : me.swell) == null ? void 0 : K.direction, this.currentHourData.swellPeriod = this.roundPrecision((F = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : F.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((le = e == null ? void 0 : e.current) == null ? void 0 : le.speed, 1) ?? "-", this.currentHourData.currentDir = (be = e == null ? void 0 : e.current) == null ? void 0 : be.direction, this.currentHourData.currentSpeed = this.roundPrecision((_e = e == null ? void 0 : e.current) == null ? void 0 : _e.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ke = e == null ? void 0 : e.weather) == null ? void 0 : ke.url;
8653
8656
  },
8654
8657
  handleBind() {
8655
8658
  var t, e;
@@ -8666,14 +8669,14 @@ const hn = {
8666
8669
  },
8667
8670
  handleDrawMarker(t) {
8668
8671
  var e, o;
8669
- if (this.showMeteo = !1, (e = this.meteoMarker) == null || e.remove(), this.meteoMarker = void 0, this.form.latDegree = Number($.lat2pretty(t.lat).degree), this.form.latMinute = Number($.lat2pretty(t.lat).minute), this.form.latDirection = $.lat2pretty(t.lat).direction, this.form.lngDegree = Number($.lng2pretty(t.lng).degree), this.form.lngMinute = Number($.lng2pretty(t.lng).minute), this.form.lngDirection = $.lng2pretty(t.lng).direction, this.point = {
8672
+ if (this.showMeteo = !1, (e = this.meteoMarker) == null || e.remove(), this.meteoMarker = void 0, this.form.latDegree = Number(J.lat2pretty(t.lat).degree), this.form.latMinute = Number(J.lat2pretty(t.lat).minute), this.form.latDirection = J.lat2pretty(t.lat).direction, this.form.lngDegree = Number(J.lng2pretty(t.lng).degree), this.form.lngMinute = Number(J.lng2pretty(t.lng).minute), this.form.lngDirection = J.lng2pretty(t.lng).direction, this.point = {
8670
8673
  lat: t.lat,
8671
8674
  lng: t.lng
8672
8675
  }, this.positionMarker)
8673
8676
  (o = this.positionMarker) == null || o.setLngLat([this.point.lng, this.point.lat]);
8674
8677
  else {
8675
8678
  const i = document.createElement("div");
8676
- i.innerHTML = '<svg t="1755510770354" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5552" width="200" height="200"><path d="M511.960615 827.234462s330.358154-215.906462 330.358154-465.526154C842.318769 183.650462 694.468923 39.384615 512 39.384615S181.563077 183.689846 181.563077 361.668923c0 249.659077 330.397538 465.565538 330.397538 465.565539z" fill="#FF8C00" p-id="5553"></path><path d="M511.921231 496.836923a127.054769 127.054769 0 1 0 0-254.148923 127.054769 127.054769 0 0 0 0 254.148923z" fill="#FFFFFF" p-id="5554"></path><path d="M354.461538 945.230769a157.538462 39.384615 0 1 0 315.076924 0 157.538462 39.384615 0 1 0-315.076924 0Z" fill="#494C4F" opacity=".4" p-id="5555"></path></svg>', i.firstChild.style.height = "32px", i.firstChild.style.width = "32px", this.positionMarker = new we.Marker(i).setLngLat([this.point.lng, this.point.lat]).setOffset([0, -16]).addTo(this.map);
8679
+ i.innerHTML = '<svg t="1755510770354" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5552" width="200" height="200"><path d="M511.960615 827.234462s330.358154-215.906462 330.358154-465.526154C842.318769 183.650462 694.468923 39.384615 512 39.384615S181.563077 183.689846 181.563077 361.668923c0 249.659077 330.397538 465.565538 330.397538 465.565539z" fill="#FF8C00" p-id="5553"></path><path d="M511.921231 496.836923a127.054769 127.054769 0 1 0 0-254.148923 127.054769 127.054769 0 0 0 0 254.148923z" fill="#FFFFFF" p-id="5554"></path><path d="M354.461538 945.230769a157.538462 39.384615 0 1 0 315.076924 0 157.538462 39.384615 0 1 0-315.076924 0Z" fill="#494C4F" opacity=".4" p-id="5555"></path></svg>', i.firstChild.style.height = "32px", i.firstChild.style.width = "32px", this.positionMarker = new ve.Marker(i).setLngLat([this.point.lng, this.point.lat]).setOffset([0, -16]).addTo(this.map);
8677
8680
  }
8678
8681
  },
8679
8682
  handleRender(t) {
@@ -8686,13 +8689,13 @@ const hn = {
8686
8689
  (o = this.meteoMarker) == null || o.setLngLat(t);
8687
8690
  else {
8688
8691
  const a = document.createElement("div");
8689
- a.innerHTML = '<svg t="1755510770354" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5552" width="200" height="200"><path d="M511.960615 827.234462s330.358154-215.906462 330.358154-465.526154C842.318769 183.650462 694.468923 39.384615 512 39.384615S181.563077 183.689846 181.563077 361.668923c0 249.659077 330.397538 465.565538 330.397538 465.565539z" fill="#FF8C00" p-id="5553"></path><path d="M511.921231 496.836923a127.054769 127.054769 0 1 0 0-254.148923 127.054769 127.054769 0 0 0 0 254.148923z" fill="#FFFFFF" p-id="5554"></path><path d="M354.461538 945.230769a157.538462 39.384615 0 1 0 315.076924 0 157.538462 39.384615 0 1 0-315.076924 0Z" fill="#494C4F" opacity=".4" p-id="5555"></path></svg>', a.firstChild.style.height = "32px", a.firstChild.style.width = "32px", this.meteoMarker = new we.Marker(a).setLngLat(t).setOffset([0, -16]).addTo(this.map);
8692
+ a.innerHTML = '<svg t="1755510770354" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5552" width="200" height="200"><path d="M511.960615 827.234462s330.358154-215.906462 330.358154-465.526154C842.318769 183.650462 694.468923 39.384615 512 39.384615S181.563077 183.689846 181.563077 361.668923c0 249.659077 330.397538 465.565538 330.397538 465.565539z" fill="#FF8C00" p-id="5553"></path><path d="M511.921231 496.836923a127.054769 127.054769 0 1 0 0-254.148923 127.054769 127.054769 0 0 0 0 254.148923z" fill="#FFFFFF" p-id="5554"></path><path d="M354.461538 945.230769a157.538462 39.384615 0 1 0 315.076924 0 157.538462 39.384615 0 1 0-315.076924 0Z" fill="#494C4F" opacity=".4" p-id="5555"></path></svg>', a.firstChild.style.height = "32px", a.firstChild.style.width = "32px", this.meteoMarker = new ve.Marker(a).setLngLat(t).setOffset([0, -16]).addTo(this.map);
8690
8693
  }
8691
8694
  if (this.meteoInfoMarker)
8692
8695
  (i = this.meteoInfoMarker) == null || i.setLngLat(t);
8693
8696
  else {
8694
8697
  const a = document.getElementById("idm-gl4-spot-meteo");
8695
- this.meteoInfoMarker = new we.Marker(a).setLngLat(t).setOffset([0, -190]).addTo(this.map);
8698
+ this.meteoInfoMarker = new ve.Marker(a).setLngLat(t).setOffset([0, -190]).addTo(this.map);
8696
8699
  }
8697
8700
  }));
8698
8701
  },
@@ -8707,22 +8710,22 @@ const hn = {
8707
8710
  this.$emit("follow", this.point);
8708
8711
  }
8709
8712
  }
8710
- }, dn = { class: "idm-gl4-spot" }, pn = { class: "d-flex justify-start align-center ga-1 mb-1" }, un = {
8713
+ }, $s = { class: "idm-gl4-spot" }, en = { class: "d-flex justify-start align-center ga-1 mb-1" }, tn = {
8711
8714
  class: "multi-color-icon",
8712
8715
  "aria-hidden": "true"
8713
- }, gn = ["xlink:href"], fn = { class: "d-flex justify-start align-center ga-1 mb-1" }, yn = {
8716
+ }, on = ["xlink:href"], an = { class: "d-flex justify-start align-center ga-1 mb-1" }, rn = {
8714
8717
  class: "multi-color-icon",
8715
8718
  "aria-hidden": "true"
8716
- }, bn = ["xlink:href"], xn = { class: "d-flex justify-start align-center ga-1 mb-1" }, wn = {
8719
+ }, ln = ["xlink:href"], sn = { class: "d-flex justify-start align-center ga-1 mb-1" }, nn = {
8717
8720
  class: "multi-color-icon",
8718
8721
  "aria-hidden": "true"
8719
- }, vn = ["xlink:href"], _n = { class: "d-flex justify-start align-center ga-1 mb-1" }, kn = {
8722
+ }, cn = ["xlink:href"], mn = { class: "d-flex justify-start align-center ga-1 mb-1" }, hn = {
8720
8723
  class: "multi-color-icon",
8721
8724
  "aria-hidden": "true"
8722
- }, zn = ["xlink:href"], Ln = { class: "d-flex justify-start align-center" }, Pn = { class: "mx-2" };
8723
- function Cn(t, e, o, i, a, r) {
8724
- const s = v("VBtn"), n = v("VTooltip"), c = v("VCardTitle"), g = v("VDivider"), p = v("VTextField"), d = v("VCol"), f = v("VRow"), z = v("DateTimePicker"), w = v("VBtnToggle"), S = v("VCardActions"), C = v("VForm"), O = v("VCardText"), T = v("VCard"), L = v("VIcon");
8725
- return b(), M("div", dn, [
8725
+ }, dn = ["xlink:href"], pn = { class: "d-flex justify-start align-center" }, un = { class: "mx-2" };
8726
+ function gn(t, e, o, i, a, r) {
8727
+ const s = v("VBtn"), n = v("VTooltip"), c = v("VCardTitle"), g = v("VDivider"), p = v("VTextField"), d = v("VCol"), f = v("VRow"), z = v("DateTimePicker"), x = v("VBtnToggle"), S = v("VCardActions"), w = v("VForm"), A = v("VCardText"), M = v("VCard"), P = v("VIcon");
8728
+ return y(), T("div", $s, [
8726
8729
  l("div", {
8727
8730
  class: "menu-bar-box transition pa-1",
8728
8731
  style: ae({ top: o.top + 174 + "px", right: a.right + "px" })
@@ -8731,8 +8734,8 @@ function Cn(t, e, o, i, a, r) {
8731
8734
  text: t.$t("spot.spotsMeteo"),
8732
8735
  location: "left"
8733
8736
  }, {
8734
- activator: u(({ props: _ }) => [
8735
- h(s, E(_, {
8737
+ activator: u(({ props: k }) => [
8738
+ h(s, E(k, {
8736
8739
  "min-width": "32",
8737
8740
  width: "32",
8738
8741
  height: "32",
@@ -8749,7 +8752,7 @@ function Cn(t, e, o, i, a, r) {
8749
8752
  _: 1
8750
8753
  }, 8, ["text"])
8751
8754
  ], 4),
8752
- a.showForm ? (b(), j(T, {
8755
+ a.showForm ? (y(), j(M, {
8753
8756
  key: 0,
8754
8757
  class: "spot-form-card",
8755
8758
  style: ae({ top: o.top + 174 + "px", right: a.right + 50 + "px" })
@@ -8778,20 +8781,20 @@ function Cn(t, e, o, i, a, r) {
8778
8781
  __: [10]
8779
8782
  }),
8780
8783
  h(g),
8781
- h(O, { class: "text-body-1 py-1" }, {
8784
+ h(A, { class: "text-body-1 py-1" }, {
8782
8785
  default: u(() => [
8783
- h(C, {
8786
+ h(w, {
8784
8787
  ref: "spotForm",
8785
8788
  autocomplete: "off",
8786
8789
  class: "form-box",
8787
8790
  onSubmit: io(r.submitForm, ["prevent"])
8788
8791
  }, {
8789
8792
  default: u(() => [
8790
- l("div", pn, [
8791
- (b(), M("svg", un, [
8793
+ l("div", en, [
8794
+ (y(), T("svg", tn, [
8792
8795
  l("use", {
8793
8796
  "xlink:href": `#icon-lng-${o.theme}`
8794
- }, null, 8, gn)
8797
+ }, null, 8, on)
8795
8798
  ])),
8796
8799
  e[11] || (e[11] = l("div", null, "Lng", -1))
8797
8800
  ]),
@@ -8804,7 +8807,7 @@ function Cn(t, e, o, i, a, r) {
8804
8807
  default: u(() => [
8805
8808
  h(p, {
8806
8809
  modelValue: a.form.lngDegree,
8807
- "onUpdate:modelValue": e[0] || (e[0] = (_) => a.form.lngDegree = _),
8810
+ "onUpdate:modelValue": e[0] || (e[0] = (k) => a.form.lngDegree = k),
8808
8811
  rules: a.formRules.lngDegree,
8809
8812
  density: "compact",
8810
8813
  variant: "outlined",
@@ -8823,7 +8826,7 @@ function Cn(t, e, o, i, a, r) {
8823
8826
  default: u(() => [
8824
8827
  h(p, {
8825
8828
  modelValue: a.form.lngMinute,
8826
- "onUpdate:modelValue": e[1] || (e[1] = (_) => a.form.lngMinute = _),
8829
+ "onUpdate:modelValue": e[1] || (e[1] = (k) => a.form.lngMinute = k),
8827
8830
  rules: a.formRules.lngMinute,
8828
8831
  label: "",
8829
8832
  density: "compact",
@@ -8849,10 +8852,10 @@ function Cn(t, e, o, i, a, r) {
8849
8852
  height: "32",
8850
8853
  class: "",
8851
8854
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
8852
- onClick: e[2] || (e[2] = (_) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
8855
+ onClick: e[2] || (e[2] = (k) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
8853
8856
  }, {
8854
8857
  default: u(() => [
8855
- U(y(a.form.lngDirection), 1)
8858
+ W(b(a.form.lngDirection), 1)
8856
8859
  ]),
8857
8860
  _: 1
8858
8861
  })
@@ -8862,11 +8865,11 @@ function Cn(t, e, o, i, a, r) {
8862
8865
  ]),
8863
8866
  _: 1
8864
8867
  }),
8865
- l("div", fn, [
8866
- (b(), M("svg", yn, [
8868
+ l("div", an, [
8869
+ (y(), T("svg", rn, [
8867
8870
  l("use", {
8868
8871
  "xlink:href": `#icon-lng-${o.theme}`
8869
- }, null, 8, bn)
8872
+ }, null, 8, ln)
8870
8873
  ])),
8871
8874
  e[14] || (e[14] = l("div", null, "Lat", -1))
8872
8875
  ]),
@@ -8879,7 +8882,7 @@ function Cn(t, e, o, i, a, r) {
8879
8882
  default: u(() => [
8880
8883
  h(p, {
8881
8884
  modelValue: a.form.latDegree,
8882
- "onUpdate:modelValue": e[3] || (e[3] = (_) => a.form.latDegree = _),
8885
+ "onUpdate:modelValue": e[3] || (e[3] = (k) => a.form.latDegree = k),
8883
8886
  rules: a.formRules.latDegree,
8884
8887
  label: "",
8885
8888
  density: "compact",
@@ -8901,7 +8904,7 @@ function Cn(t, e, o, i, a, r) {
8901
8904
  default: u(() => [
8902
8905
  h(p, {
8903
8906
  modelValue: a.form.latMinute,
8904
- "onUpdate:modelValue": e[4] || (e[4] = (_) => a.form.latMinute = _),
8907
+ "onUpdate:modelValue": e[4] || (e[4] = (k) => a.form.latMinute = k),
8905
8908
  rules: a.formRules.latMinute,
8906
8909
  label: "",
8907
8910
  density: "compact",
@@ -8927,10 +8930,10 @@ function Cn(t, e, o, i, a, r) {
8927
8930
  height: "32",
8928
8931
  class: "text-body-1",
8929
8932
  style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
8930
- onClick: e[5] || (e[5] = (_) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
8933
+ onClick: e[5] || (e[5] = (k) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
8931
8934
  }, {
8932
8935
  default: u(() => [
8933
- U(y(a.form.latDirection), 1)
8936
+ W(b(a.form.latDirection), 1)
8934
8937
  ]),
8935
8938
  _: 1
8936
8939
  })
@@ -8940,11 +8943,11 @@ function Cn(t, e, o, i, a, r) {
8940
8943
  ]),
8941
8944
  _: 1
8942
8945
  }),
8943
- l("div", xn, [
8944
- (b(), M("svg", wn, [
8946
+ l("div", sn, [
8947
+ (y(), T("svg", nn, [
8945
8948
  l("use", {
8946
8949
  "xlink:href": `#icon-date-time-${o.theme}`
8947
- }, null, 8, vn)
8950
+ }, null, 8, cn)
8948
8951
  ])),
8949
8952
  e[17] || (e[17] = l("div", null, "Date Time", -1))
8950
8953
  ]),
@@ -8959,7 +8962,7 @@ function Cn(t, e, o, i, a, r) {
8959
8962
  "date-time": a.form.dateTime,
8960
8963
  "time-zone": o.timeZone
8961
8964
  }, t.$attrs, {
8962
- onDateTime: e[6] || (e[6] = (_) => a.form.dateTime = _)
8965
+ onDateTime: e[6] || (e[6] = (k) => a.form.dateTime = k)
8963
8966
  }), null, 16, ["date-time", "time-zone"])
8964
8967
  ]),
8965
8968
  _: 1
@@ -8967,11 +8970,11 @@ function Cn(t, e, o, i, a, r) {
8967
8970
  ]),
8968
8971
  _: 1
8969
8972
  }),
8970
- l("div", _n, [
8971
- (b(), M("svg", kn, [
8973
+ l("div", mn, [
8974
+ (y(), T("svg", hn, [
8972
8975
  l("use", {
8973
8976
  "xlink:href": `#icon-forecast-model-${o.theme}`
8974
- }, null, 8, zn)
8977
+ }, null, 8, dn)
8975
8978
  ])),
8976
8979
  e[18] || (e[18] = l("div", null, "Forecast Model", -1))
8977
8980
  ]),
@@ -8982,9 +8985,9 @@ function Cn(t, e, o, i, a, r) {
8982
8985
  class: "pa-0"
8983
8986
  }, {
8984
8987
  default: u(() => [
8985
- h(w, {
8988
+ h(x, {
8986
8989
  modelValue: a.form.forecastModel,
8987
- "onUpdate:modelValue": e[7] || (e[7] = (_) => a.form.forecastModel = _),
8990
+ "onUpdate:modelValue": e[7] || (e[7] = (k) => a.form.forecastModel = k),
8988
8991
  class: "w-100",
8989
8992
  rounded: "",
8990
8993
  height: "30",
@@ -9001,7 +9004,7 @@ function Cn(t, e, o, i, a, r) {
9001
9004
  "base-color": ""
9002
9005
  }, {
9003
9006
  default: u(() => e[19] || (e[19] = [
9004
- U("NOAA", -1)
9007
+ W("NOAA", -1)
9005
9008
  ])),
9006
9009
  _: 1,
9007
9010
  __: [19]
@@ -9015,7 +9018,7 @@ function Cn(t, e, o, i, a, r) {
9015
9018
  value: "ECMWF"
9016
9019
  }, {
9017
9020
  default: u(() => e[20] || (e[20] = [
9018
- U("ECMWF", -1)
9021
+ W("ECMWF", -1)
9019
9022
  ])),
9020
9023
  _: 1,
9021
9024
  __: [20]
@@ -9039,7 +9042,7 @@ function Cn(t, e, o, i, a, r) {
9039
9042
  onClick: r.cancelForm
9040
9043
  }, {
9041
9044
  default: u(() => e[21] || (e[21] = [
9042
- U("Clear", -1)
9045
+ W("Clear", -1)
9043
9046
  ])),
9044
9047
  _: 1,
9045
9048
  __: [21]
@@ -9054,7 +9057,7 @@ function Cn(t, e, o, i, a, r) {
9054
9057
  class: "text-none text-body-1"
9055
9058
  }, {
9056
9059
  default: u(() => e[22] || (e[22] = [
9057
- U("Confirm", -1)
9060
+ W("Confirm", -1)
9058
9061
  ])),
9059
9062
  _: 1,
9060
9063
  __: [22]
@@ -9071,7 +9074,7 @@ function Cn(t, e, o, i, a, r) {
9071
9074
  ]),
9072
9075
  _: 1
9073
9076
  }, 8, ["style"])) : B("", !0),
9074
- He(h(T, {
9077
+ He(h(M, {
9075
9078
  id: "idm-gl4-spot-meteo",
9076
9079
  class: "spot-meteo",
9077
9080
  style: { width: "490px", "z-index": "9" }
@@ -9079,11 +9082,11 @@ function Cn(t, e, o, i, a, r) {
9079
9082
  default: u(() => [
9080
9083
  h(c, { class: "d-flex justify-space-between align-center" }, {
9081
9084
  default: u(() => {
9082
- var _, k, P, x;
9085
+ var k, L, C, _;
9083
9086
  return [
9084
- l("div", Ln, [
9087
+ l("div", pn, [
9085
9088
  e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
9086
- l("div", Pn, y(r.computeLat(((_ = a.form) == null ? void 0 : _.lat) || ((k = a.currentHourData) == null ? void 0 : k.lat))) + "," + y(r.computeLng(((P = a.form) == null ? void 0 : P.lng) || ((x = a.currentHourData) == null ? void 0 : x.lng))), 1)
9089
+ l("div", un, b(r.computeLat(((k = a.form) == null ? void 0 : k.lat) || ((L = a.currentHourData) == null ? void 0 : L.lat))) + "," + b(r.computeLng(((C = a.form) == null ? void 0 : C.lng) || ((_ = a.currentHourData) == null ? void 0 : _.lng))), 1)
9087
9090
  ]),
9088
9091
  h(s, {
9089
9092
  class: "mr-n2",
@@ -9106,7 +9109,7 @@ function Cn(t, e, o, i, a, r) {
9106
9109
  _: 1
9107
9110
  }),
9108
9111
  h(g),
9109
- h(O, { class: "text-body-1 ml-n8" }, {
9112
+ h(A, { class: "text-body-1 ml-n8" }, {
9110
9113
  default: u(() => [
9111
9114
  h(f, null, {
9112
9115
  default: u(() => [
@@ -9115,7 +9118,7 @@ function Cn(t, e, o, i, a, r) {
9115
9118
  class: "pa-2 pl-0 text-right opacity-50"
9116
9119
  }, {
9117
9120
  default: u(() => e[25] || (e[25] = [
9118
- U("Time", -1)
9121
+ W("Time", -1)
9119
9122
  ])),
9120
9123
  _: 1,
9121
9124
  __: [25]
@@ -9125,9 +9128,9 @@ function Cn(t, e, o, i, a, r) {
9125
9128
  class: "pa-2 px-0"
9126
9129
  }, {
9127
9130
  default: u(() => {
9128
- var _;
9131
+ var k;
9129
9132
  return [
9130
- U(y(r.computedTzTime((_ = a.currentHourData) == null ? void 0 : _.utc)), 1)
9133
+ W(b(r.computedTzTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
9131
9134
  ];
9132
9135
  }),
9133
9136
  _: 1
@@ -9142,7 +9145,7 @@ function Cn(t, e, o, i, a, r) {
9142
9145
  class: "pa-2 pl-0 text-right opacity-50"
9143
9146
  }, {
9144
9147
  default: u(() => e[26] || (e[26] = [
9145
- U("LT", -1)
9148
+ W("LT", -1)
9146
9149
  ])),
9147
9150
  _: 1,
9148
9151
  __: [26]
@@ -9152,9 +9155,9 @@ function Cn(t, e, o, i, a, r) {
9152
9155
  class: "pa-2 px-0"
9153
9156
  }, {
9154
9157
  default: u(() => {
9155
- var _;
9158
+ var k;
9156
9159
  return [
9157
- U(y(r.computedLocalTime((_ = a.currentHourData) == null ? void 0 : _.utc)), 1)
9160
+ W(b(r.computedLocalTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
9158
9161
  ];
9159
9162
  }),
9160
9163
  _: 1
@@ -9169,7 +9172,7 @@ function Cn(t, e, o, i, a, r) {
9169
9172
  class: "pa-2 pl-0 text-right opacity-50"
9170
9173
  }, {
9171
9174
  default: u(() => e[27] || (e[27] = [
9172
- U("Wind", -1)
9175
+ W("Wind", -1)
9173
9176
  ])),
9174
9177
  _: 1,
9175
9178
  __: [27]
@@ -9179,7 +9182,7 @@ function Cn(t, e, o, i, a, r) {
9179
9182
  class: "pa-2 px-0 text-left"
9180
9183
  }, {
9181
9184
  default: u(() => [
9182
- U(y(a.currentHourData.windDir) + " / " + y(a.currentHourData.windSpeed) + "kts / BF" + y(a.currentHourData.windLevel), 1)
9185
+ W(b(a.currentHourData.windDir) + " / " + b(a.currentHourData.windSpeed) + "kts / BF" + b(a.currentHourData.windLevel), 1)
9183
9186
  ]),
9184
9187
  _: 1
9185
9188
  }),
@@ -9188,7 +9191,7 @@ function Cn(t, e, o, i, a, r) {
9188
9191
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
9189
9192
  }, {
9190
9193
  default: u(() => e[28] || (e[28] = [
9191
- U("Sig Wave", -1)
9194
+ W("Sig Wave", -1)
9192
9195
  ])),
9193
9196
  _: 1,
9194
9197
  __: [28]
@@ -9198,7 +9201,7 @@ function Cn(t, e, o, i, a, r) {
9198
9201
  class: "pa-2 px-0 text-left"
9199
9202
  }, {
9200
9203
  default: u(() => [
9201
- U(y(a.currentHourData.sigwaveDir) + " / " + y(a.currentHourData.sigwaveHeight) + "m / " + y(a.currentHourData.sigwavePeriod) + "s", 1)
9204
+ W(b(a.currentHourData.sigwaveDir) + " / " + b(a.currentHourData.sigwaveHeight) + "m / " + b(a.currentHourData.sigwavePeriod) + "s", 1)
9202
9205
  ]),
9203
9206
  _: 1
9204
9207
  })
@@ -9212,7 +9215,7 @@ function Cn(t, e, o, i, a, r) {
9212
9215
  class: "pa-2 pl-0 text-right opacity-50"
9213
9216
  }, {
9214
9217
  default: u(() => e[29] || (e[29] = [
9215
- U("Wind Wave", -1)
9218
+ W("Wind Wave", -1)
9216
9219
  ])),
9217
9220
  _: 1,
9218
9221
  __: [29]
@@ -9222,7 +9225,7 @@ function Cn(t, e, o, i, a, r) {
9222
9225
  class: "pa-2 px-0 text-left"
9223
9226
  }, {
9224
9227
  default: u(() => [
9225
- U(y(a.currentHourData.windwaveDir) + " / " + y(a.currentHourData.windwaveHeight) + "m / " + y(a.currentHourData.windwavePeriod) + "s", 1)
9228
+ W(b(a.currentHourData.windwaveDir) + " / " + b(a.currentHourData.windwaveHeight) + "m / " + b(a.currentHourData.windwavePeriod) + "s", 1)
9226
9229
  ]),
9227
9230
  _: 1
9228
9231
  }),
@@ -9231,7 +9234,7 @@ function Cn(t, e, o, i, a, r) {
9231
9234
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
9232
9235
  }, {
9233
9236
  default: u(() => e[30] || (e[30] = [
9234
- U("Swell", -1)
9237
+ W("Swell", -1)
9235
9238
  ])),
9236
9239
  _: 1,
9237
9240
  __: [30]
@@ -9241,7 +9244,7 @@ function Cn(t, e, o, i, a, r) {
9241
9244
  class: "pa-2 px-0 text-left"
9242
9245
  }, {
9243
9246
  default: u(() => [
9244
- U(y(a.currentHourData.swellDir) + " / " + y(a.currentHourData.swellHeight) + "m / " + y(a.currentHourData.swellPeriod) + "s", 1)
9247
+ W(b(a.currentHourData.swellDir) + " / " + b(a.currentHourData.swellHeight) + "m / " + b(a.currentHourData.swellPeriod) + "s", 1)
9245
9248
  ]),
9246
9249
  _: 1
9247
9250
  })
@@ -9255,7 +9258,7 @@ function Cn(t, e, o, i, a, r) {
9255
9258
  class: "pa-2 pl-0 text-right opacity-50"
9256
9259
  }, {
9257
9260
  default: u(() => e[31] || (e[31] = [
9258
- U("Current", -1)
9261
+ W("Current", -1)
9259
9262
  ])),
9260
9263
  _: 1,
9261
9264
  __: [31]
@@ -9265,7 +9268,7 @@ function Cn(t, e, o, i, a, r) {
9265
9268
  class: "pa-2 px-0 text-left"
9266
9269
  }, {
9267
9270
  default: u(() => [
9268
- U(y(a.currentHourData.currentDir) + " / " + y(a.currentHourData.currentSpeed) + "kts", 1)
9271
+ W(b(a.currentHourData.currentDir) + " / " + b(a.currentHourData.currentSpeed) + "kts", 1)
9269
9272
  ]),
9270
9273
  _: 1
9271
9274
  }),
@@ -9274,7 +9277,7 @@ function Cn(t, e, o, i, a, r) {
9274
9277
  class: "pa-2 pl-0 ml-n4 text-right opacity-50"
9275
9278
  }, {
9276
9279
  default: u(() => e[32] || (e[32] = [
9277
- U("Visibility", -1)
9280
+ W("Visibility", -1)
9278
9281
  ])),
9279
9282
  _: 1,
9280
9283
  __: [32]
@@ -9284,7 +9287,7 @@ function Cn(t, e, o, i, a, r) {
9284
9287
  class: "pa-2 px-0 text-left"
9285
9288
  }, {
9286
9289
  default: u(() => [
9287
- U(y(a.currentHourData.visibility) + " nm", 1)
9290
+ W(b(a.currentHourData.visibility) + " nm", 1)
9288
9291
  ]),
9289
9292
  _: 1
9290
9293
  })
@@ -9305,10 +9308,10 @@ function Cn(t, e, o, i, a, r) {
9305
9308
  onClick: r.handleFollow
9306
9309
  }, {
9307
9310
  prepend: u(() => [
9308
- h(L, { color: "warning" })
9311
+ h(P, { color: "warning" })
9309
9312
  ]),
9310
9313
  default: u(() => [
9311
- e[33] || (e[33] = U(" Follow", -1))
9314
+ e[33] || (e[33] = W(" Follow", -1))
9312
9315
  ]),
9313
9316
  _: 1,
9314
9317
  __: [33]
@@ -9321,7 +9324,7 @@ function Cn(t, e, o, i, a, r) {
9321
9324
  onClick: r.handleMeteoMore
9322
9325
  }, {
9323
9326
  default: u(() => e[34] || (e[34] = [
9324
- U("Forecast", -1)
9327
+ W("Forecast", -1)
9325
9328
  ])),
9326
9329
  _: 1,
9327
9330
  __: [34]
@@ -9336,8 +9339,8 @@ function Cn(t, e, o, i, a, r) {
9336
9339
  ])
9337
9340
  ]);
9338
9341
  }
9339
- const Sn = /* @__PURE__ */ q(hn, [["render", Cn]]);
9340
- const Tn = {
9342
+ const fn = /* @__PURE__ */ Z(Js, [["render", gn]]);
9343
+ const yn = {
9341
9344
  name: "IdmMeasure",
9342
9345
  props: {
9343
9346
  map: {
@@ -9430,24 +9433,24 @@ const Tn = {
9430
9433
  var o, i, a, r, s, n, c, g, p, d;
9431
9434
  const e = (i = (o = t.target) == null ? void 0 : o._element) == null ? void 0 : i.id;
9432
9435
  if ((e == null ? void 0 : e.split("-").length) === 2) {
9433
- const f = this.geojson.filter((C) => C.id === e.split("-")[0])[0];
9434
- this.pointMarkers[f.id].filter((C) => {
9435
- var O;
9436
- return ((O = C._element) == null ? void 0 : O.id) === e;
9436
+ const f = this.geojson.filter((w) => w.id === e.split("-")[0])[0];
9437
+ this.pointMarkers[f.id].filter((w) => {
9438
+ var A;
9439
+ return ((A = w._element) == null ? void 0 : A.id) === e;
9437
9440
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (n = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : n.lat]);
9438
- let w;
9439
- f.features.forEach((C, O) => {
9440
- if (C.geometry.type === "Point" && C.properties.id === e.split("-")[1]) {
9441
- w = O;
9441
+ let x;
9442
+ f.features.forEach((w, A) => {
9443
+ if (w.geometry.type === "Point" && w.properties.id === e.split("-")[1]) {
9444
+ x = A;
9442
9445
  return;
9443
9446
  }
9444
9447
  });
9445
- const S = f.features.filter((C) => C.geometry.type === "Point");
9448
+ const S = f.features.filter((w) => w.geometry.type === "Point");
9446
9449
  this.handleTmpPointUpdate(
9447
9450
  f,
9448
- S[w - 1],
9449
- { lng: (g = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : g.lng, lat: (d = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : d.lat, properties: S[w].properties },
9450
- w === S.length - 1 ? void 0 : S[w + 1]
9451
+ S[x - 1],
9452
+ { lng: (g = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : g.lng, lat: (d = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : d.lat, properties: S[x].properties },
9453
+ x === S.length - 1 ? void 0 : S[x + 1]
9451
9454
  );
9452
9455
  }
9453
9456
  },
@@ -9457,11 +9460,11 @@ const Tn = {
9457
9460
  if ((e == null ? void 0 : e.split("-").length) === 2) {
9458
9461
  const f = this.geojson.filter((S) => S.id === e.split("-")[0])[0];
9459
9462
  this.pointMarkers[f.id].filter((S) => {
9460
- var C;
9461
- return ((C = S._element) == null ? void 0 : C.id) === e;
9463
+ var w;
9464
+ return ((w = S._element) == null ? void 0 : w.id) === e;
9462
9465
  })[0].setLngLat([(r = (a = t.target) == null ? void 0 : a._lngLat) == null ? void 0 : r.lng, (n = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : n.lat]);
9463
- const w = f.features.filter((S) => S.geometry.type === "Point" && S.properties.id === e.split("-")[1])[0];
9464
- w.geometry.coordinates = [(g = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : g.lng, (d = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : d.lat], f.features = f.features.filter((S) => S.geometry.type === "Point"), this.handlePointUpdate(f);
9466
+ const x = f.features.filter((S) => S.geometry.type === "Point" && S.properties.id === e.split("-")[1])[0];
9467
+ x.geometry.coordinates = [(g = (c = t.target) == null ? void 0 : c._lngLat) == null ? void 0 : g.lng, (d = (p = t.target) == null ? void 0 : p._lngLat) == null ? void 0 : d.lat], f.features = f.features.filter((S) => S.geometry.type === "Point"), this.handlePointUpdate(f);
9465
9468
  }
9466
9469
  },
9467
9470
  handleContextmenu(t) {
@@ -9472,7 +9475,7 @@ const Tn = {
9472
9475
  const n = this.geojson.filter((c) => c.id === e.split("-")[0])[0].features.filter((c) => c.geometry.type === "Point");
9473
9476
  if (n.length > 2 && n.filter((g) => g.properties.id === (e == null ? void 0 : e.split("-")[1]))[0]) {
9474
9477
  const g = document.createElement("div");
9475
- g.className = "idm-gl4-measure-contextmenu-marker", g.innerHTML = `<span id="del-${e}" class="del-point">${$t("actions.detele")}</span>`, this.contextmenu = new we.Marker(g).setOffset([24, 0]).setLngLat([t.lngLat.lng, t.lngLat.lat]).addTo(this.map);
9478
+ g.className = "idm-gl4-measure-contextmenu-marker", g.innerHTML = `<span id="del-${e}" class="del-point">${$t("actions.detele")}</span>`, this.contextmenu = new ve.Marker(g).setOffset([24, 0]).setLngLat([t.lngLat.lng, t.lngLat.lat]).addTo(this.map);
9476
9479
  }
9477
9480
  }
9478
9481
  },
@@ -9510,13 +9513,13 @@ const Tn = {
9510
9513
  const i = [];
9511
9514
  for (let a = 1; a < e.length; a++) {
9512
9515
  const r = e[a - 1], s = e[a], n = r.properties, c = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, g = { lng: s.geometry.coordinates[0], lat: s.geometry.coordinates[1] }, p = Fe.calculateDistance(c, g, n.mode === "RL", 4), d = Fe.calculateBearing(c, g, n.mode === "RL", 2);
9513
- o = $.roundPrecision(o + p, 4);
9516
+ o = J.roundPrecision(o + p, 4);
9514
9517
  let f;
9515
- n.mode === "RL" ? f = $.convertToMonotonicLng([c, g]) : f = $.convertToMonotonicLng(Fe.interpolateCoordinates(c, g, 200));
9518
+ n.mode === "RL" ? f = J.convertToMonotonicLng([c, g]) : f = J.convertToMonotonicLng(Fe.interpolateCoordinates(c, g, 200));
9516
9519
  const z = N.lineString(f.map((S) => [S.lng, S.lat]));
9517
9520
  z.properties.dist = p, z.properties.bearing = d, z.properties.total = o, z.properties.name = "Line " + this.currentLineIndex, i.push(z);
9518
- const w = e[a];
9519
- w.properties.totalDist = $.roundPrecision((n.totalDist ? n.totalDist : 0) + p, 4), w.properties.sumLabel = w.properties.totalDist + " nm";
9521
+ const x = e[a];
9522
+ x.properties.totalDist = J.roundPrecision((n.totalDist ? n.totalDist : 0) + p, 4), x.properties.sumLabel = x.properties.totalDist + " nm";
9520
9523
  }
9521
9524
  e.push(...i), t.total = o;
9522
9525
  }
@@ -9529,7 +9532,7 @@ const Tn = {
9529
9532
  const c = e.properties, g = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, p = { lng: o.lng, lat: o.lat };
9530
9533
  r = Fe.calculateDistance(g, p, c.mode === "RL", 4), s = Fe.calculateBearing(g, p, c.mode === "RL", 2);
9531
9534
  let d;
9532
- c.mode === "RL" ? d = $.convertToMonotonicLng([g, p]) : d = $.convertToMonotonicLng(Fe.interpolateCoordinates(g, p, 200));
9535
+ c.mode === "RL" ? d = J.convertToMonotonicLng([g, p]) : d = J.convertToMonotonicLng(Fe.interpolateCoordinates(g, p, 200));
9533
9536
  const f = N.lineString(d.map((z) => [z.lng, z.lat]));
9534
9537
  f.properties.dist = r, f.properties.bearing = s, a.features.push(f);
9535
9538
  }
@@ -9537,7 +9540,7 @@ const Tn = {
9537
9540
  const c = o.properties, g = o, p = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
9538
9541
  r = Fe.calculateDistance(g, p, c.mode === "RL", 4), s = Fe.calculateBearing(g, p, c.mode === "RL", 2);
9539
9542
  let d;
9540
- c.mode === "RL" ? d = $.convertToMonotonicLng([g, p]) : d = $.convertToMonotonicLng(Fe.interpolateCoordinates(g, p, 200));
9543
+ c.mode === "RL" ? d = J.convertToMonotonicLng([g, p]) : d = J.convertToMonotonicLng(Fe.interpolateCoordinates(g, p, 200));
9541
9544
  const f = N.lineString(d.map((z) => [z.lng, z.lat]));
9542
9545
  f.properties.dist = r, f.properties.bearing = s, a.features.push(f);
9543
9546
  }
@@ -9583,7 +9586,7 @@ const Tn = {
9583
9586
  if (i)
9584
9587
  n = `<div class="marker-label">${this.$t("measure.dragTips")}</div>`;
9585
9588
  else {
9586
- const c = $.roundPrecision((t.total ?? 0) + r, 1);
9589
+ const c = J.roundPrecision((t.total ?? 0) + r, 1);
9587
9590
  n = `<div class="marker-label">${this.$t("measure.totalDistance")}: <b>${c}</b>nm, ${this.$t(
9588
9591
  "measure.bearing"
9589
9592
  )}: <b>${s}</b>°</div><div class="marker-label"> ${this.$t("measure.mode")}${this.navigation === "RL" ? "RL" : "GC"}, ${this.$t(
@@ -9594,7 +9597,7 @@ const Tn = {
9594
9597
  this.tipMarker._element.innerHTML = n, this.tipMarker.setLngLat([o.lng, o.lat]);
9595
9598
  else {
9596
9599
  const c = document.createElement("div");
9597
- c.className = "idm-gl4-measure-tip-marker", c.innerHTML = n, this.tipMarker = new we.Marker(c).setOffset([140, 0]).setLngLat([o.lng, o.lat]).addTo(this.map);
9600
+ c.className = "idm-gl4-measure-tip-marker", c.innerHTML = n, this.tipMarker = new ve.Marker(c).setOffset([140, 0]).setLngLat([o.lng, o.lat]).addTo(this.map);
9598
9601
  }
9599
9602
  },
9600
9603
  handleMove(t) {
@@ -9670,27 +9673,27 @@ const Tn = {
9670
9673
  for (const n of s) {
9671
9674
  const c = document.createElement("div");
9672
9675
  c.id = `${t.id}-${n.properties.id}`, c.className = `${t.closed ? "idm-gl4-measure-marker closed" : "idm-gl4-measure-marker"}`, c.innerHTML = '<div class="marker-circle"></div>';
9673
- const g = new we.Marker({ element: c, draggable: !0, contextmenu: !0 }).setLngLat(n.geometry.coordinates).addTo(this.map);
9676
+ const g = new ve.Marker({ element: c, draggable: !0, contextmenu: !0 }).setLngLat(n.geometry.coordinates).addTo(this.map);
9674
9677
  g.on("drag", this.handleDrag), g.on("dragend", this.handleDragEnd), this.pointMarkers[t.id] ? this.pointMarkers[t.id].push(g) : this.pointMarkers[t.id] = [g];
9675
9678
  }
9676
9679
  if (t.closed) {
9677
9680
  const n = s.at(-1), g = t.features.filter((d) => d.geometry.type === "LineString").at(-1), p = document.createElement("div");
9678
- p.className = "idm-gl4-measure-summary-marker", p.innerHTML = `<div id="${t.id}" class="marker-close">×</div><div class="marker-label">${g.properties.name}</div>`, this.closeMarkers[t.id] = new we.Marker(p).setOffset([0, -30]).setLngLat(n.geometry.coordinates).addTo(this.map);
9681
+ p.className = "idm-gl4-measure-summary-marker", p.innerHTML = `<div id="${t.id}" class="marker-close">×</div><div class="marker-label">${g.properties.name}</div>`, this.closeMarkers[t.id] = new ve.Marker(p).setOffset([0, -30]).setLngLat(n.geometry.coordinates).addTo(this.map);
9679
9682
  }
9680
9683
  }
9681
9684
  },
9682
9685
  handleClear(t, e = !0) {
9683
- var s, n, c, g, p, d, f, z, w, S;
9686
+ var s, n, c, g, p, d, f, z, x, S;
9684
9687
  const o = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, a = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
9685
- (s = this.map) != null && s.getLayer(i) && this.map.removeLayer(i), (n = this.map) != null && n.getLayer(a) && this.map.removeLayer(a), (c = this.map) != null && c.getLayer(r) && this.map.removeLayer(r), (g = this.map) != null && g.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (p = this.map) != null && p.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (d = this.closeMarkers[t.id]) == null || d.remove(), this.closeMarkers[t.id] = void 0, (f = this.pointMarkers[t.id]) == null || f.forEach((C) => {
9686
- C == null || C.remove();
9687
- }), this.pointMarkers[t.id] = [], (z = this.tipMarker) == null || z.remove(), this.tipMarker = void 0, e && ((w = this.map) != null && w.getSource(o)) && this.map.removeSource(o), e && ((S = this.map) != null && S.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
9688
+ (s = this.map) != null && s.getLayer(i) && this.map.removeLayer(i), (n = this.map) != null && n.getLayer(a) && this.map.removeLayer(a), (c = this.map) != null && c.getLayer(r) && this.map.removeLayer(r), (g = this.map) != null && g.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (p = this.map) != null && p.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (d = this.closeMarkers[t.id]) == null || d.remove(), this.closeMarkers[t.id] = void 0, (f = this.pointMarkers[t.id]) == null || f.forEach((w) => {
9689
+ w == null || w.remove();
9690
+ }), this.pointMarkers[t.id] = [], (z = this.tipMarker) == null || z.remove(), this.tipMarker = void 0, e && ((x = this.map) != null && x.getSource(o)) && this.map.removeSource(o), e && ((S = this.map) != null && S.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
9688
9691
  }
9689
9692
  }
9690
- }, Mn = { class: "idm-gl4-measure" };
9691
- function In(t, e, o, i, a, r) {
9693
+ }, bn = { class: "idm-gl4-measure" };
9694
+ function wn(t, e, o, i, a, r) {
9692
9695
  const s = v("VBtn"), n = v("VTooltip");
9693
- return b(), M("div", Mn, [
9696
+ return y(), T("div", bn, [
9694
9697
  l("div", {
9695
9698
  class: "menu-bar-box transition pa-1",
9696
9699
  style: ae({ top: o.top + 214 + "px", right: a.right + "px" })
@@ -9719,8 +9722,8 @@ function In(t, e, o, i, a, r) {
9719
9722
  ], 4)
9720
9723
  ]);
9721
9724
  }
9722
- const An = /* @__PURE__ */ q(Tn, [["render", In]]);
9723
- const Rn = {
9725
+ const xn = /* @__PURE__ */ Z(yn, [["render", wn]]);
9726
+ const vn = {
9724
9727
  name: "IdmBottomBar",
9725
9728
  components: { DateTimePicker: lo },
9726
9729
  props: {
@@ -9757,7 +9760,7 @@ const Rn = {
9757
9760
  //hour
9758
9761
  intervalOptions: [3, 6, 12, 24],
9759
9762
  showTimezone: !1,
9760
- timeZone: localStorage.getItem("idm-timeZone-gl4") ? Number(localStorage.getItem("idm-timeZone-gl4")) : A().utcOffset() / 60,
9763
+ timeZone: localStorage.getItem("idm-timeZone-gl4") ? Number(localStorage.getItem("idm-timeZone-gl4")) : I().utcOffset() / 60,
9761
9764
  offsets: [-12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
9762
9765
  source: localStorage.getItem("forecastModelCacheGL4") === "undefined" ? "ECMWF" : localStorage.getItem("forecastModelCacheGL4")
9763
9766
  };
@@ -9789,7 +9792,7 @@ const Rn = {
9789
9792
  },
9790
9793
  currentTimestamp: {
9791
9794
  handler() {
9792
- this.currentDateTimeZ = A(this.currentTimestamp).utc().format("yyyy-MM-DD HH:00[Z]"), this.$emit("realTime", this.currentDateTimeZ), this.currentDateTime = `${A.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`;
9795
+ this.currentDateTimeZ = I(this.currentTimestamp).utc().format("yyyy-MM-DD HH:00[Z]"), this.$emit("realTime", this.currentDateTimeZ), this.currentDateTime = `${I.tz(this.currentTimestamp, this.timeZoneName).clone().format("yyyy-MM-DD : HH:00")}`;
9793
9796
  },
9794
9797
  immediate: !0
9795
9798
  },
@@ -9838,18 +9841,18 @@ const Rn = {
9838
9841
  this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
9839
9842
  }
9840
9843
  }
9841
- }, Dn = { class: "idm-bottom-bar-gl4" }, On = { class: "date-box d-flex ga-2 mr-2" }, Bn = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, En = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, jn = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Nn = {
9844
+ }, _n = { class: "idm-bottom-bar-gl4" }, kn = { class: "date-box d-flex ga-2 mr-2" }, zn = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, Ln = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, Pn = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Cn = {
9842
9845
  key: 0,
9843
9846
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
9844
- }, Fn = ["onClick"], Hn = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Gn = { class: "text-body-1" };
9845
- function Wn(t, e, o, i, a, r) {
9847
+ }, Sn = ["onClick"], Tn = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Mn = { class: "text-body-1" };
9848
+ function In(t, e, o, i, a, r) {
9846
9849
  const s = v("DateTimePicker"), n = v("VListItemTitle"), c = v("VListItem"), g = v("VList"), p = v("VMenu"), d = v("VBtn"), f = v("VDivider"), z = v("VTooltip");
9847
- return b(), M("div", Dn, [
9850
+ return y(), T("div", _n, [
9848
9851
  l("div", {
9849
9852
  class: "timeline-box px-2 d-flex justify-start align-center rounded",
9850
9853
  style: ae({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
9851
9854
  }, [
9852
- l("div", On, [
9855
+ l("div", kn, [
9853
9856
  h(s, E({
9854
9857
  ref: "dateTimePicker",
9855
9858
  "date-time": a.currentDateTimeZ,
@@ -9857,9 +9860,9 @@ function Wn(t, e, o, i, a, r) {
9857
9860
  "day-about": a.dayAbout,
9858
9861
  "interval-hour": a.intervalHour
9859
9862
  }, t.$attrs, {
9860
- onCurrentTimestamp: e[0] || (e[0] = (w) => a.currentTimestamp = w),
9861
- onCurrentRealTime: e[1] || (e[1] = (w) => a.currentRealTime = w),
9862
- onTimestampRange: e[2] || (e[2] = (w) => a.timestampRange = w)
9863
+ onCurrentTimestamp: e[0] || (e[0] = (x) => a.currentTimestamp = x),
9864
+ onCurrentRealTime: e[1] || (e[1] = (x) => a.currentRealTime = x),
9865
+ onTimestampRange: e[2] || (e[2] = (x) => a.timestampRange = x)
9863
9866
  }), null, 16, ["date-time", "time-zone", "day-about", "interval-hour"]),
9864
9867
  h(d, {
9865
9868
  text: "",
@@ -9868,18 +9871,18 @@ function Wn(t, e, o, i, a, r) {
9868
9871
  "min-width": "30"
9869
9872
  }, {
9870
9873
  default: u(() => [
9871
- U(y(a.intervalHour) + " h ", 1),
9874
+ W(b(a.intervalHour) + " h ", 1),
9872
9875
  h(p, { activator: "parent" }, {
9873
9876
  default: u(() => [
9874
9877
  h(g, { class: "pa-1" }, {
9875
9878
  default: u(() => [
9876
- (b(!0), M(be, null, ze(a.intervalOptions, (w, S) => (b(), j(c, {
9879
+ (y(!0), T(fe, null, ye(a.intervalOptions, (x, S) => (y(), j(c, {
9877
9880
  key: S,
9878
- value: w,
9879
- variant: a.intervalHour === w ? "tonal" : "text",
9881
+ value: x,
9882
+ variant: a.intervalHour === x ? "tonal" : "text",
9880
9883
  color: "primary",
9881
9884
  rounded: "",
9882
- active: a.intervalHour === w,
9885
+ active: a.intervalHour === x,
9883
9886
  height: "30",
9884
9887
  "min-height": "30",
9885
9888
  "min-width": "30",
@@ -9887,10 +9890,10 @@ function Wn(t, e, o, i, a, r) {
9887
9890
  }, {
9888
9891
  default: u(() => [
9889
9892
  h(n, {
9890
- onClick: (C) => a.intervalHour = w
9893
+ onClick: (w) => a.intervalHour = x
9891
9894
  }, {
9892
9895
  default: u(() => [
9893
- U(y(w) + "h", 1)
9896
+ W(b(x) + "h", 1)
9894
9897
  ]),
9895
9898
  _: 2
9896
9899
  }, 1032, ["onClick"])
@@ -9912,7 +9915,7 @@ function Wn(t, e, o, i, a, r) {
9912
9915
  class: "mx-2 my-3",
9913
9916
  style: { height: "16px" }
9914
9917
  }),
9915
- l("div", Bn, [
9918
+ l("div", zn, [
9916
9919
  h(d, {
9917
9920
  icon: "",
9918
9921
  size: "small",
@@ -9939,7 +9942,7 @@ function Wn(t, e, o, i, a, r) {
9939
9942
  _: 1,
9940
9943
  __: [10]
9941
9944
  }, 8, ["onClick"]),
9942
- a.paused ? (b(), j(d, {
9945
+ a.paused ? (y(), j(d, {
9943
9946
  key: 0,
9944
9947
  icon: "",
9945
9948
  size: "small",
@@ -9952,7 +9955,7 @@ function Wn(t, e, o, i, a, r) {
9952
9955
  ])),
9953
9956
  _: 1,
9954
9957
  __: [11]
9955
- }, 8, ["onClick"])) : (b(), j(d, {
9958
+ }, 8, ["onClick"])) : (y(), j(d, {
9956
9959
  key: 1,
9957
9960
  icon: "",
9958
9961
  size: "small",
@@ -9985,22 +9988,22 @@ function Wn(t, e, o, i, a, r) {
9985
9988
  class: "mx-2 my-3",
9986
9989
  style: { height: "16px" }
9987
9990
  }),
9988
- l("div", En, [
9991
+ l("div", Ln, [
9989
9992
  h(z, {
9990
9993
  text: t.$t("weather.windBarbs"),
9991
9994
  location: "top"
9992
9995
  }, {
9993
- activator: u(({ props: w }) => {
9994
- var S, C;
9996
+ activator: u(({ props: x }) => {
9997
+ var S, w;
9995
9998
  return [
9996
- h(d, E(w, {
9999
+ h(d, E(x, {
9997
10000
  class: "pa-1 d-flex",
9998
10001
  color: (S = o.weatherCheckList) != null && S.includes("wind") ? "primary" : "",
9999
- variant: (C = o.weatherCheckList) != null && C.includes("wind") ? "elevated" : "text",
10002
+ variant: (w = o.weatherCheckList) != null && w.includes("wind") ? "elevated" : "text",
10000
10003
  height: "24",
10001
10004
  width: "24",
10002
10005
  "min-width": "24",
10003
- onClick: e[3] || (e[3] = (O) => r.handleClickFastWeather("wind"))
10006
+ onClick: e[3] || (e[3] = (A) => r.handleClickFastWeather("wind"))
10004
10007
  }), {
10005
10008
  default: u(() => e[14] || (e[14] = [
10006
10009
  l("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
@@ -10016,20 +10019,20 @@ function Wn(t, e, o, i, a, r) {
10016
10019
  text: t.$t("weather.sigWaveHeight"),
10017
10020
  location: "top"
10018
10021
  }, {
10019
- activator: u(({ props: w }) => {
10020
- var S, C;
10022
+ activator: u(({ props: x }) => {
10023
+ var S, w;
10021
10024
  return [
10022
- h(d, E(w, {
10025
+ h(d, E(x, {
10023
10026
  class: "pa-1 d-flex",
10024
10027
  color: (S = o.weatherCheckList) != null && S.includes("sig-wave-height") ? "primary" : "",
10025
- variant: (C = o.weatherCheckList) != null && C.includes("sig-wave-height") ? "elevated" : "text",
10028
+ variant: (w = o.weatherCheckList) != null && w.includes("sig-wave-height") ? "elevated" : "text",
10026
10029
  height: "24",
10027
10030
  width: "24",
10028
10031
  "min-width": "24",
10029
- onClick: e[4] || (e[4] = (O) => r.handleClickFastWeather("sig-wave-height"))
10032
+ onClick: e[4] || (e[4] = (A) => r.handleClickFastWeather("sig-wave-height"))
10030
10033
  }), {
10031
10034
  default: u(() => [
10032
- l("i", E(w, { class: "iconfont icon-a-WaveHeight" }), null, 16)
10035
+ l("i", E(x, { class: "iconfont icon-a-WaveHeight" }), null, 16)
10033
10036
  ]),
10034
10037
  _: 2
10035
10038
  }, 1040, ["color", "variant"])
@@ -10041,20 +10044,20 @@ function Wn(t, e, o, i, a, r) {
10041
10044
  text: t.$t("weather.currentDirection"),
10042
10045
  location: "top"
10043
10046
  }, {
10044
- activator: u(({ props: w }) => {
10045
- var S, C;
10047
+ activator: u(({ props: x }) => {
10048
+ var S, w;
10046
10049
  return [
10047
- h(d, E(w, {
10050
+ h(d, E(x, {
10048
10051
  class: "pa-1 d-flex",
10049
10052
  color: (S = o.weatherCheckList) != null && S.includes("current-direction") ? "primary" : "",
10050
- variant: (C = o.weatherCheckList) != null && C.includes("current-direction") ? "elevated" : "text",
10053
+ variant: (w = o.weatherCheckList) != null && w.includes("current-direction") ? "elevated" : "text",
10051
10054
  height: "24",
10052
10055
  width: "24",
10053
10056
  "min-width": "24",
10054
- onClick: e[5] || (e[5] = (O) => r.handleClickFastWeather("current-direction"))
10057
+ onClick: e[5] || (e[5] = (A) => r.handleClickFastWeather("current-direction"))
10055
10058
  }), {
10056
10059
  default: u(() => [
10057
- l("i", E(w, { class: "iconfont icon-Current" }), null, 16)
10060
+ l("i", E(x, { class: "iconfont icon-Current" }), null, 16)
10058
10061
  ]),
10059
10062
  _: 2
10060
10063
  }, 1040, ["color", "variant"])
@@ -10066,8 +10069,8 @@ function Wn(t, e, o, i, a, r) {
10066
10069
  text: t.$t("weather.weatherLayers"),
10067
10070
  location: "top"
10068
10071
  }, {
10069
- activator: u(({ props: w }) => [
10070
- h(d, E(w, {
10072
+ activator: u(({ props: x }) => [
10073
+ h(d, E(x, {
10071
10074
  class: "pa-1 d-flex",
10072
10075
  variant: "text",
10073
10076
  height: "24",
@@ -10076,7 +10079,7 @@ function Wn(t, e, o, i, a, r) {
10076
10079
  onClick: r.handleClickFastMore
10077
10080
  }), {
10078
10081
  default: u(() => [
10079
- l("i", E(w, { class: "iconfont icon-dots-align" }), null, 16)
10082
+ l("i", E(x, { class: "iconfont icon-dots-align" }), null, 16)
10080
10083
  ]),
10081
10084
  _: 2
10082
10085
  }, 1040, ["onClick"])
@@ -10089,16 +10092,16 @@ function Wn(t, e, o, i, a, r) {
10089
10092
  class: "mx-2 mr-3 my-3",
10090
10093
  style: { height: "16px" }
10091
10094
  }),
10092
- l("div", jn, [
10095
+ l("div", Pn, [
10093
10096
  h(d, {
10094
10097
  text: "",
10095
10098
  height: "30",
10096
10099
  class: "px-2 elevation-0 text-body-1 btn-border-2",
10097
10100
  color: a.source === "GFS" ? "primary" : "",
10098
- onClick: e[6] || (e[6] = (w) => a.source = "GFS")
10101
+ onClick: e[6] || (e[6] = (x) => a.source = "GFS")
10099
10102
  }, {
10100
10103
  default: u(() => e[15] || (e[15] = [
10101
- U("NOAA", -1)
10104
+ W("NOAA", -1)
10102
10105
  ])),
10103
10106
  _: 1,
10104
10107
  __: [15]
@@ -10108,10 +10111,10 @@ function Wn(t, e, o, i, a, r) {
10108
10111
  height: "30",
10109
10112
  class: "px-2 elevation-0 text-body-1 btn-border-2",
10110
10113
  color: a.source === "ECMWF" ? "primary" : "",
10111
- onClick: e[7] || (e[7] = (w) => a.source = "ECMWF")
10114
+ onClick: e[7] || (e[7] = (x) => a.source = "ECMWF")
10112
10115
  }, {
10113
10116
  default: u(() => e[16] || (e[16] = [
10114
- U("ECMWF", -1)
10117
+ W("ECMWF", -1)
10115
10118
  ])),
10116
10119
  _: 1,
10117
10120
  __: [16]
@@ -10122,41 +10125,41 @@ function Wn(t, e, o, i, a, r) {
10122
10125
  class: "timezone-box d-flex flex-column justify-space-between align-end",
10123
10126
  style: ae({ right: a.right + "px" })
10124
10127
  }, [
10125
- a.showTimezone ? (b(), M("div", Nn, [
10126
- (b(!0), M(be, null, ze(a.offsets, (w) => (b(), M("div", {
10127
- key: w,
10128
+ a.showTimezone ? (y(), T("div", Cn, [
10129
+ (y(!0), T(fe, null, ye(a.offsets, (x) => (y(), T("div", {
10130
+ key: x,
10128
10131
  class: "item rounded text-body-2 hover-active",
10129
- onClick: (S) => a.timeZone = w
10130
- }, y(w < 0 ? w : "+" + w), 9, Fn))), 128))
10132
+ onClick: (S) => a.timeZone = x
10133
+ }, b(x < 0 ? x : "+" + x), 9, Sn))), 128))
10131
10134
  ])) : B("", !0),
10132
- l("div", Hn, [
10135
+ l("div", Tn, [
10133
10136
  h(d, {
10134
10137
  text: "",
10135
10138
  variant: "flat",
10136
10139
  height: "28",
10137
10140
  class: "pa-1 text-body-1",
10138
10141
  color: "primary",
10139
- onClick: e[8] || (e[8] = (w) => a.showTimezone = !a.showTimezone)
10142
+ onClick: e[8] || (e[8] = (x) => a.showTimezone = !a.showTimezone)
10140
10143
  }, {
10141
10144
  default: u(() => [
10142
- U(" UTC " + y(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
10145
+ W(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
10143
10146
  ]),
10144
10147
  _: 1
10145
10148
  }),
10146
- l("span", Gn, y(a.currentRealTime), 1)
10149
+ l("span", Mn, b(a.currentRealTime), 1)
10147
10150
  ])
10148
10151
  ], 4)
10149
10152
  ]);
10150
10153
  }
10151
- const Un = /* @__PURE__ */ q(Rn, [["render", Wn]]), Vn = {
10154
+ const An = /* @__PURE__ */ Z(vn, [["render", In]]), Rn = {
10152
10155
  name: "IdmGL4",
10153
10156
  components: {
10154
- IdmOtherLayer: Jr,
10155
- IdmWeatherLayer: Es,
10157
+ IdmOtherLayer: Fr,
10158
+ IdmWeatherLayer: Ls,
10156
10159
  IdmTropicals: Za,
10157
- IdmMeasure: An,
10158
- IdmSpot: Sn,
10159
- IdmBottomBar: Un
10160
+ IdmMeasure: xn,
10161
+ IdmSpot: fn,
10162
+ IdmBottomBar: An
10160
10163
  },
10161
10164
  props: {
10162
10165
  map: {
@@ -10208,13 +10211,13 @@ const Un = /* @__PURE__ */ q(Rn, [["render", Wn]]), Vn = {
10208
10211
  }
10209
10212
  },
10210
10213
  methods: {}
10211
- }, Yn = {
10214
+ }, Dn = {
10212
10215
  ref: "mapHomeGl4",
10213
10216
  class: "map-gl4-home"
10214
10217
  };
10215
- function Zn(t, e, o, i, a, r) {
10218
+ function On(t, e, o, i, a, r) {
10216
10219
  const s = v("IdmOtherLayer"), n = v("IdmWeatherLayer"), c = v("IdmTropicals"), g = v("IdmMeasure"), p = v("IdmSpot"), d = v("IdmBottomBar");
10217
- return b(), M("div", Yn, [
10220
+ return y(), T("div", Dn, [
10218
10221
  h(s, E({
10219
10222
  ref: "idmOtherLayers",
10220
10223
  token: o.token,
@@ -10279,8 +10282,8 @@ function Zn(t, e, o, i, a, r) {
10279
10282
  }, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
10280
10283
  ], 512);
10281
10284
  }
10282
- const Xn = /* @__PURE__ */ q(Vn, [["render", Zn]]);
10283
- class qn {
10285
+ const Bn = /* @__PURE__ */ Z(Rn, [["render", On]]);
10286
+ class En {
10284
10287
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
10285
10288
  ne(this, "originStyle");
10286
10289
  ne(this, "mapboxStyle");
@@ -10288,7 +10291,7 @@ class qn {
10288
10291
  ne(this, "hi");
10289
10292
  ne(this, "td");
10290
10293
  ne(this, "windy");
10291
- var o, i, a, r, s, n, c, g, p, d, f, z, w, S, C, O, T, L, _, k, P, x, I, V, Z, X, F, J, te, Q, se, de, pe, me, K, ie, H, le, fe, ve, _e, Me, Ie, Ae, Re, De, ye, G, oe, je, Pe, he, ue, W, ke, ee, re, Oe, D, ge, Ce, Be, Ee, R, Y, Ue, Ve, Ye, Le, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, xt, wt, vt, _t, kt, zt, Lt, Pt, Ct, St, Tt, Mt, It, At, Rt, Dt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Qt, Jt, so, no, co, mo, ho, po, uo, go, fo, yo, bo, xo, wo, vo, _o, ko, zo, Lo, Po, Co, So, To, Mo, Io, Ao, Ro, Do, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Wo, Uo, Vo, Yo, Zo, Xo, qo, Ko, Qo, Jo, $o, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, xa, wa, va, _a, ka, za, La, Pa, Ca, Sa, Ta, Ma, Ia, Aa, Ra, Da, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga;
10294
+ var o, i, a, r, s, n, c, g, p, d, f, z, x, S, w, A, M, P, k, L, C, _, R, V, X, q, Y, ee, te, Q, se, de, pe, me, K, ie, F, le, be, _e, ke, Me, Ie, Ae, Re, De, we, H, oe, je, Pe, he, ue, G, ze, $, re, Oe, O, ge, Ce, Be, Ee, D, U, Ue, Ve, Ye, Le, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Tt, Mt, It, At, Rt, Dt, Ot, Bt, Et, jt, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Qt, Jt, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, So, To, Mo, Io, Ao, Ro, Do, Oo, Bo, Eo, jo, No, Fo, Ho, Go, Wo, Uo, Vo, Yo, Zo, Xo, qo, Ko, Qo, Jo, $o, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Sa, Ta, Ma, Ia, Aa, Ra, Da, Oa, Ba, Ea, ja, Na, Fa, Ha, Ga;
10292
10295
  this.i4 = {
10293
10296
  source: {
10294
10297
  type: "raster",
@@ -28870,28 +28873,28 @@ class qn {
28870
28873
  (g = (c = this.originStyle) == null ? void 0 : c.light.layers) == null ? void 0 : g.find((m) => m.id === "ice-area-line"),
28871
28874
  (d = (p = this.originStyle) == null ? void 0 : p.light.layers) == null ? void 0 : d.find((m) => m.id === "loadlines-label"),
28872
28875
  (z = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : z.find((m) => m.id === "loadlines-fill"),
28873
- (S = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : S.find((m) => m.id === "empty-layer-0"),
28874
- (O = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : O.find((m) => m.id === "empty-layer-1"),
28875
- (L = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : L.find((m) => m.id === "country-boundaries"),
28876
- (k = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : k.find((m) => m.id === "water-outline"),
28877
- (x = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : x.find((m) => m.id === "water-outline2"),
28878
- (V = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : V.find((m) => m.id === "empty-layer-2"),
28879
- (X = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : X.find((m) => m.id === "water-line-label"),
28880
- (J = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : J.find((m) => m.id === "water-point-label"),
28876
+ (S = (x = this.originStyle) == null ? void 0 : x.light.layers) == null ? void 0 : S.find((m) => m.id === "empty-layer-0"),
28877
+ (A = (w = this.originStyle) == null ? void 0 : w.light.layers) == null ? void 0 : A.find((m) => m.id === "empty-layer-1"),
28878
+ (P = (M = this.originStyle) == null ? void 0 : M.light.layers) == null ? void 0 : P.find((m) => m.id === "country-boundaries"),
28879
+ (L = (k = this.originStyle) == null ? void 0 : k.light.layers) == null ? void 0 : L.find((m) => m.id === "water-outline"),
28880
+ (_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((m) => m.id === "water-outline2"),
28881
+ (V = (R = this.originStyle) == null ? void 0 : R.light.layers) == null ? void 0 : V.find((m) => m.id === "empty-layer-2"),
28882
+ (q = (X = this.originStyle) == null ? void 0 : X.light.layers) == null ? void 0 : q.find((m) => m.id === "water-line-label"),
28883
+ (ee = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : ee.find((m) => m.id === "water-point-label"),
28881
28884
  (Q = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : Q.find((m) => m.id === "world-12nm-v4-20231025"),
28882
28885
  (de = (se = this.originStyle) == null ? void 0 : se.light.layers) == null ? void 0 : de.find((m) => m.id === "ne-10m-outline"),
28883
28886
  (me = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : me.find((m) => m.id === "ne-10m-label"),
28884
28887
  (ie = (K = this.originStyle) == null ? void 0 : K.light.layers) == null ? void 0 : ie.find((m) => m.id === "china-route-line"),
28885
- (le = (H = this.originStyle) == null ? void 0 : H.light.layers) == null ? void 0 : le.find((m) => m.id === "china-route-fill"),
28886
- (ve = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : ve.find((m) => m.id === "china-route-label"),
28887
- (Me = (_e = this.originStyle) == null ? void 0 : _e.light.layers) == null ? void 0 : Me.find((m) => m.id === "admin-0-boundary-bg"),
28888
+ (le = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : le.find((m) => m.id === "china-route-fill"),
28889
+ (_e = (be = this.originStyle) == null ? void 0 : be.light.layers) == null ? void 0 : _e.find((m) => m.id === "china-route-label"),
28890
+ (Me = (ke = this.originStyle) == null ? void 0 : ke.light.layers) == null ? void 0 : Me.find((m) => m.id === "admin-0-boundary-bg"),
28888
28891
  (Ae = (Ie = this.originStyle) == null ? void 0 : Ie.light.layers) == null ? void 0 : Ae.find((m) => m.id === "admin-0-boundary"),
28889
28892
  (De = (Re = this.originStyle) == null ? void 0 : Re.light.layers) == null ? void 0 : De.find((m) => m.id === "admin-0-boundary-disputed"),
28890
- (G = (ye = this.originStyle) == null ? void 0 : ye.light.layers) == null ? void 0 : G.find((m) => m.id === "country-label"),
28893
+ (H = (we = this.originStyle) == null ? void 0 : we.light.layers) == null ? void 0 : H.find((m) => m.id === "country-label"),
28891
28894
  (je = (oe = this.originStyle) == null ? void 0 : oe.light.layers) == null ? void 0 : je.find((m) => m.id === "continent-label"),
28892
28895
  (he = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : he.find((m) => m.id === "tide-stations"),
28893
- (W = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : W.find((m) => m.id === "empty-layer-3"),
28894
- (ee = (ke = this.originStyle) == null ? void 0 : ke.light.layers) == null ? void 0 : ee.find((m) => m.id === "empty-layer-4")
28896
+ (G = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : G.find((m) => m.id === "empty-layer-3"),
28897
+ ($ = (ze = this.originStyle) == null ? void 0 : ze.light.layers) == null ? void 0 : $.find((m) => m.id === "empty-layer-4")
28895
28898
  ]
28896
28899
  },
28897
28900
  dark: {
@@ -28907,7 +28910,7 @@ class qn {
28907
28910
  range: [0.5, 10]
28908
28911
  },
28909
28912
  sources: (Oe = this.originStyle) == null ? void 0 : Oe.dark.sources,
28910
- sprite: (D = this.originStyle) == null ? void 0 : D.dark.sprite,
28913
+ sprite: (O = this.originStyle) == null ? void 0 : O.dark.sprite,
28911
28914
  glyphs: (ge = this.originStyle) == null ? void 0 : ge.dark.glyphs,
28912
28915
  projection: (Ce = this.originStyle) == null ? void 0 : Ce.dark.projection,
28913
28916
  id: "cmdqwez32005b01re2w0k3zk4",
@@ -28917,7 +28920,7 @@ class qn {
28917
28920
  draft: !1,
28918
28921
  layers: [
28919
28922
  (Ee = (Be = this.originStyle) == null ? void 0 : Be.dark.layers) == null ? void 0 : Ee.find((m) => m.id === "land"),
28920
- (Y = (R = this.originStyle) == null ? void 0 : R.dark.layers) == null ? void 0 : Y.find((m) => m.id === "water"),
28923
+ (U = (D = this.originStyle) == null ? void 0 : D.dark.layers) == null ? void 0 : U.find((m) => m.id === "water"),
28921
28924
  (Ve = (Ue = this.originStyle) == null ? void 0 : Ue.dark.layers) == null ? void 0 : Ve.find((m) => m.id === "ice-area-fill"),
28922
28925
  (Le = (Ye = this.originStyle) == null ? void 0 : Ye.dark.layers) == null ? void 0 : Le.find((m) => m.id === "ice-area-line"),
28923
28926
  (Xe = (Ze = this.originStyle) == null ? void 0 : Ze.dark.layers) == null ? void 0 : Xe.find((m) => m.id === "loadlines-label"),
@@ -28933,7 +28936,7 @@ class qn {
28933
28936
  (ut = (pt = this.originStyle) == null ? void 0 : pt.dark.layers) == null ? void 0 : ut.find((m) => m.id === "ne-10m-outline"),
28934
28937
  (ft = (gt = this.originStyle) == null ? void 0 : gt.dark.layers) == null ? void 0 : ft.find((m) => m.id === "ne-10m-label"),
28935
28938
  (bt = (yt = this.originStyle) == null ? void 0 : yt.dark.layers) == null ? void 0 : bt.find((m) => m.id === "china-route-line"),
28936
- (wt = (xt = this.originStyle) == null ? void 0 : xt.dark.layers) == null ? void 0 : wt.find((m) => m.id === "china-route-fill"),
28939
+ (xt = (wt = this.originStyle) == null ? void 0 : wt.dark.layers) == null ? void 0 : xt.find((m) => m.id === "china-route-fill"),
28937
28940
  (_t = (vt = this.originStyle) == null ? void 0 : vt.dark.layers) == null ? void 0 : _t.find((m) => m.id === "china-route-label"),
28938
28941
  (zt = (kt = this.originStyle) == null ? void 0 : kt.dark.layers) == null ? void 0 : zt.find((m) => m.id === "admin-0-boundary-bg"),
28939
28942
  (Pt = (Lt = this.originStyle) == null ? void 0 : Lt.dark.layers) == null ? void 0 : Pt.find((m) => m.id === "admin-0-boundary"),
@@ -28974,7 +28977,7 @@ class qn {
28974
28977
  (uo = (po = this.originStyle) == null ? void 0 : po.satellite.layers) == null ? void 0 : uo.find((m) => m.id === "country-boundaries"),
28975
28978
  (fo = (go = this.originStyle) == null ? void 0 : go.satellite.layers) == null ? void 0 : fo.find((m) => m.id === "water-outline"),
28976
28979
  (bo = (yo = this.originStyle) == null ? void 0 : yo.satellite.layers) == null ? void 0 : bo.find((m) => m.id === "empty-layer-2"),
28977
- (wo = (xo = this.originStyle) == null ? void 0 : xo.satellite.layers) == null ? void 0 : wo.find((m) => m.id === "world-12nm-v4-20231025"),
28980
+ (xo = (wo = this.originStyle) == null ? void 0 : wo.satellite.layers) == null ? void 0 : xo.find((m) => m.id === "world-12nm-v4-20231025"),
28978
28981
  (_o = (vo = this.originStyle) == null ? void 0 : vo.satellite.layers) == null ? void 0 : _o.find((m) => m.id === "ne-10m-outline"),
28979
28982
  (zo = (ko = this.originStyle) == null ? void 0 : ko.satellite.layers) == null ? void 0 : zo.find((m) => m.id === "ne-10m-label"),
28980
28983
  (Po = (Lo = this.originStyle) == null ? void 0 : Lo.satellite.layers) == null ? void 0 : Po.find((m) => m.id === "china-route-line"),
@@ -29015,7 +29018,7 @@ class qn {
29015
29018
  (ua = (pa = this.originStyle) == null ? void 0 : pa.nautical.layers) == null ? void 0 : ua.find((m) => m.id === "water-outline"),
29016
29019
  (fa = (ga = this.originStyle) == null ? void 0 : ga.nautical.layers) == null ? void 0 : fa.find((m) => m.id === "world-12nm-v4-20231025"),
29017
29020
  (ba = (ya = this.originStyle) == null ? void 0 : ya.nautical.layers) == null ? void 0 : ba.find((m) => m.id === "ne-10m-outline"),
29018
- (wa = (xa = this.originStyle) == null ? void 0 : xa.nautical.layers) == null ? void 0 : wa.find((m) => m.id === "ne-10m-label"),
29021
+ (xa = (wa = this.originStyle) == null ? void 0 : wa.nautical.layers) == null ? void 0 : xa.find((m) => m.id === "ne-10m-label"),
29019
29022
  (_a = (va = this.originStyle) == null ? void 0 : va.nautical.layers) == null ? void 0 : _a.find((m) => m.id === "china-route-line"),
29020
29023
  (za = (ka = this.originStyle) == null ? void 0 : ka.nautical.layers) == null ? void 0 : za.find((m) => m.id === "china-route-fill"),
29021
29024
  (Pa = (La = this.originStyle) == null ? void 0 : La.nautical.layers) == null ? void 0 : Pa.find((m) => m.id === "china-route-label"),
@@ -29039,7 +29042,7 @@ class qn {
29039
29042
  };
29040
29043
  }
29041
29044
  }
29042
- const Kn = {
29045
+ const jn = {
29043
29046
  name: "MapInitial",
29044
29047
  props: {
29045
29048
  token: {
@@ -29092,8 +29095,8 @@ const Kn = {
29092
29095
  methods: {
29093
29096
  async initOnlineMap() {
29094
29097
  var e;
29095
- (e = this.map) == null || e.remove(), this.map = void 0, this.helper = new qn(this.token), we.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
29096
- const t = new we.Map({
29098
+ (e = this.map) == null || e.remove(), this.map = void 0, this.helper = new En(this.token), ve.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
29099
+ const t = new ve.Map({
29097
29100
  container: "map",
29098
29101
  // style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
29099
29102
  // style: 'mapbox://styles/neatchenheng/cmdqwez32005b01re2w0k3zk4', // dark
@@ -29119,7 +29122,7 @@ const Kn = {
29119
29122
  },
29120
29123
  addScaleControl() {
29121
29124
  var e;
29122
- this.map.addControl(new we.ScaleControl({ maxWidth: 120, unit: "nautical" }), "bottom-left");
29125
+ this.map.addControl(new ve.ScaleControl({ maxWidth: 120, unit: "nautical" }), "bottom-left");
29123
29126
  const t = (e = document.getElementsByClassName("mapboxgl-ctrl-scale")) == null ? void 0 : e[0];
29124
29127
  t && (t.className = "mapboxgl-ctrl-scale " + this.mapFeather);
29125
29128
  },
@@ -29132,16 +29135,16 @@ const Kn = {
29132
29135
  this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
29133
29136
  }
29134
29137
  }
29135
- }, Qn = { class: "mapbox-initial-gl4" }, Jn = { class: "v-btn--variant-elevated rounded" }, $n = { class: "zoom" };
29136
- function ec(t, e, o, i, a, r) {
29138
+ }, Nn = { class: "mapbox-initial-gl4" }, Fn = { class: "v-btn--variant-elevated rounded" }, Hn = { class: "zoom" };
29139
+ function Gn(t, e, o, i, a, r) {
29137
29140
  const s = v("VBtn");
29138
- return b(), M("div", Qn, [
29141
+ return y(), T("div", Nn, [
29139
29142
  e[2] || (e[2] = l("div", { id: "map" }, null, -1)),
29140
29143
  l("div", {
29141
29144
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
29142
29145
  style: ae({ top: o.top + 268 + "px", right: a.right + "px" })
29143
29146
  }, [
29144
- l("div", Jn, [
29147
+ l("div", Fn, [
29145
29148
  h(s, {
29146
29149
  "min-width": "32",
29147
29150
  width: "32",
@@ -29155,7 +29158,7 @@ function ec(t, e, o, i, a, r) {
29155
29158
  _: 1,
29156
29159
  __: [0]
29157
29160
  }, 8, ["onClick"]),
29158
- l("div", $n, y(Math.floor(a.zoom)), 1),
29161
+ l("div", Hn, b(Math.floor(a.zoom)), 1),
29159
29162
  h(s, {
29160
29163
  "min-width": "32",
29161
29164
  width: "32",
@@ -29172,22 +29175,22 @@ function ec(t, e, o, i, a, r) {
29172
29175
  ])
29173
29176
  ], 4),
29174
29177
  e[3] || (e[3] = l("div", { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-body-2 text-label" }, [
29175
- U(" Copyright: © 2023-2025 ormwx.com "),
29178
+ W(" Copyright: © 2023-2025 ormwx.com "),
29176
29179
  l("span", { class: "text-decoration-underline" }, "沪ICP备18039043号-6")
29177
29180
  ], -1))
29178
29181
  ]);
29179
29182
  }
29180
- const tc = /* @__PURE__ */ q(Kn, [["render", ec]]), pc = {
29183
+ const Wn = /* @__PURE__ */ Z(jn, [["render", Gn]]), tc = {
29181
29184
  install(t) {
29182
- t.component("MapInitial", tc), t.component("MapboxGL", Xn), t.component("TropicalGL", Za), t.component("LatLngGL", Ya), t.component("DateTimePicker", lo);
29185
+ t.component("MapInitial", Wn), t.component("MapboxGL", Bn), t.component("TropicalGL", Za), t.component("LatLngGL", Ya), t.component("DateTimePicker", lo);
29183
29186
  }
29184
29187
  };
29185
29188
  export {
29186
29189
  lo as DateTimePicker,
29187
29190
  Ya as LatLngGL,
29188
- tc as MapInitial,
29189
- Xn as MapboxGL,
29190
- pc as MapboxGLPlugin,
29191
+ Wn as MapInitial,
29192
+ Bn as MapboxGL,
29193
+ tc as MapboxGLPlugin,
29191
29194
  xe as ParticleSchema,
29192
29195
  Za as TropicalGL,
29193
29196
  ro as Viewport,