@idmwx/idmui-gl4 3.0.1 → 3.0.2

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.
@@ -3,10 +3,10 @@ var vr = (e, t, a) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var ve = (e, t, a) => (vr(e, typeof t != "symbol" ? t + "" : t, a), a);
4
4
  import Ie from "axios";
5
5
  import { useTheme as Ne } from "vuetify";
6
- import { openBlock as _, createElementBlock as A, resolveComponent as M, createBlock as B, normalizeClass as ge, withCtx as x, createVNode as b, withModifiers as Le, createElementVNode as n, createCommentVNode as W, toDisplayString as y, createTextVNode as O, Fragment as Te, renderList as De, withDirectives as Qe, vShow as et, mergeProps as $, normalizeStyle as he } from "vue";
6
+ import { openBlock as _, createElementBlock as A, resolveComponent as M, createBlock as B, normalizeClass as ge, withCtx as x, createVNode as b, withModifiers as Le, createElementVNode as n, createCommentVNode as W, toDisplayString as y, createTextVNode as Z, Fragment as Te, renderList as De, withDirectives as Qe, vShow as et, mergeProps as $, normalizeStyle as he } from "vue";
7
7
  import be from "mapbox-gl";
8
8
  import R from "moment";
9
- import { LngLatHelper as X, TropicalHelper as Ri, LaneHelper as We } from "@idm-plugin/geo";
9
+ import { LngLatHelper as H, TropicalHelper as Ri, LaneHelper as We } from "@idm-plugin/geo";
10
10
  import { Meteo2Assist as Oa, TidesAssist as Qi } from "@idm-plugin/meteo";
11
11
  import * as Ja from "echarts";
12
12
  import * as N from "@turf/turf";
@@ -1386,7 +1386,7 @@ const Zr = {
1386
1386
  computed: {
1387
1387
  dateList() {
1388
1388
  var a, i, o, r;
1389
- const e = [], t = (a = this.port) != null && a.lng && ((i = this.port) != null && i.lat) ? X.guessTimeZoneOffset((o = this.port) == null ? void 0 : o.lng, (r = this.port) == null ? void 0 : r.lat) : 0;
1389
+ const e = [], t = (a = this.port) != null && a.lng && ((i = this.port) != null && i.lat) ? H.guessTimeZoneOffset((o = this.port) == null ? void 0 : o.lng, (r = this.port) == null ? void 0 : r.lat) : 0;
1390
1390
  for (let l = 0; l < 4; l++) {
1391
1391
  let c = {
1392
1392
  index: l,
@@ -1407,7 +1407,7 @@ const Zr = {
1407
1407
  return function(e, t, a = "yyyy-MM-DD HH:mm") {
1408
1408
  if (!e || !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat))
1409
1409
  return "-";
1410
- const i = t != null && t.lng && (t != null && t.lat) ? X.guessTimeZoneOffset(t == null ? void 0 : t.lng, t == null ? void 0 : t.lat) : 0;
1410
+ const i = t != null && t.lng && (t != null && t.lat) ? H.guessTimeZoneOffset(t == null ? void 0 : t.lng, t == null ? void 0 : t.lat) : 0;
1411
1411
  return R(e).utcOffset(i).format(a);
1412
1412
  };
1413
1413
  },
@@ -1415,18 +1415,18 @@ const Zr = {
1415
1415
  return function(e) {
1416
1416
  if (!e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat))
1417
1417
  return "-";
1418
- const t = X.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat);
1418
+ const t = H.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat);
1419
1419
  return "( UTC " + (t >= 0 ? "+" : "") + t + " )";
1420
1420
  };
1421
1421
  },
1422
1422
  computePosition() {
1423
1423
  return function(e) {
1424
- return !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat) ? "-" : X.lat2pretty(e == null ? void 0 : e.lat, 2).pretty + " / " + X.lng2pretty(e == null ? void 0 : e.lng, 2).pretty;
1424
+ return !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat) ? "-" : H.lat2pretty(e == null ? void 0 : e.lat, 2).pretty + " / " + H.lng2pretty(e == null ? void 0 : e.lng, 2).pretty;
1425
1425
  };
1426
1426
  },
1427
1427
  computeRoundPrecision() {
1428
1428
  return function(e, t = 4) {
1429
- return e == null || isNaN(e) || isNaN(t) ? "-" : X.roundPrecision(e, t);
1429
+ return e == null || isNaN(e) || isNaN(t) ? "-" : H.roundPrecision(e, t);
1430
1430
  };
1431
1431
  }
1432
1432
  },
@@ -1515,10 +1515,10 @@ const Zr = {
1515
1515
  { label: "Swell", key: "weather.swell", unit: "m" },
1516
1516
  { label: "Current", key: "weather.current", unit: "kts" }
1517
1517
  ], (a = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null || a.dateTimeList.forEach((i, o) => {
1518
- var c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, Z, H, Q, ae, re, pe, F, J, K, oe, Y, j, ee, G, ne, fe, ke, ze;
1518
+ var c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, j, O, q, ae, re, pe, F, J, K, oe, Y, X, ee, G, ne, fe, ke, ze;
1519
1519
  let r = {};
1520
1520
  const l = ((c = Oa.pickHourly(e, R(i))) == null ? void 0 : c[0]) || {};
1521
- r.utc = l.utc, r.lat = e.lat, r.lng = e.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((m = l == null ? void 0 : l.weather) == null ? void 0 : m.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((h = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.precip) == null ? void 0 : h.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((w = (g = l == null ? void 0 : l.weather) == null ? void 0 : g.precip) == null ? void 0 : w.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((f = (p = l == null ? void 0 : l.weather) == null ? void 0 : p.wind) == null ? void 0 : f.kts, 1) ?? "-", r.windDir = (P = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : P.direction, r.windLevel = this.computeRoundPrecision((v = (k = l == null ? void 0 : l.weather) == null ? void 0 : k.wind) == null ? void 0 : v.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (T = l == null ? void 0 : l.weather) == null ? void 0 : T.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((D = (S = l == null ? void 0 : l.wave) == null ? void 0 : S.sig) == null ? void 0 : D.height, 1) ?? "-", r.sigwaveDir = (E = (I = l == null ? void 0 : l.wave) == null ? void 0 : I.sig) == null ? void 0 : E.direction, r.sigwavePeriod = this.computeRoundPrecision((H = (Z = l == null ? void 0 : l.wave) == null ? void 0 : Z.sig) == null ? void 0 : H.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ae = (Q = l == null ? void 0 : l.wave) == null ? void 0 : Q.wd) == null ? void 0 : ae.height, 1) ?? "-", r.windwaveDir = (pe = (re = l == null ? void 0 : l.wave) == null ? void 0 : re.wd) == null ? void 0 : pe.direction, r.windwavePeriod = this.computeRoundPrecision((J = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((oe = (K = l == null ? void 0 : l.wave) == null ? void 0 : K.swell) == null ? void 0 : oe.height, 1) ?? "-", r.swellDir = (j = (Y = l == null ? void 0 : l.wave) == null ? void 0 : Y.swell) == null ? void 0 : j.direction, r.swellPeriod = this.computeRoundPrecision((G = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.swell) == null ? void 0 : G.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ne = l == null ? void 0 : l.current) == null ? void 0 : ne.speed, 1) ?? "-", r.currentDir = (fe = l == null ? void 0 : l.current) == null ? void 0 : fe.direction, r.currentSpeed = this.computeRoundPrecision((ke = l == null ? void 0 : l.current) == null ? void 0 : ke.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (ze = l == null ? void 0 : l.weather) == null ? void 0 : ze.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
1521
+ r.utc = l.utc, r.lat = e.lat, r.lng = e.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((m = l == null ? void 0 : l.weather) == null ? void 0 : m.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((h = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.precip) == null ? void 0 : h.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((w = (g = l == null ? void 0 : l.weather) == null ? void 0 : g.precip) == null ? void 0 : w.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((f = (p = l == null ? void 0 : l.weather) == null ? void 0 : p.wind) == null ? void 0 : f.kts, 1) ?? "-", r.windDir = (P = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : P.direction, r.windLevel = this.computeRoundPrecision((v = (k = l == null ? void 0 : l.weather) == null ? void 0 : k.wind) == null ? void 0 : v.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (T = l == null ? void 0 : l.weather) == null ? void 0 : T.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((D = (S = l == null ? void 0 : l.wave) == null ? void 0 : S.sig) == null ? void 0 : D.height, 1) ?? "-", r.sigwaveDir = (E = (I = l == null ? void 0 : l.wave) == null ? void 0 : I.sig) == null ? void 0 : E.direction, r.sigwavePeriod = this.computeRoundPrecision((O = (j = l == null ? void 0 : l.wave) == null ? void 0 : j.sig) == null ? void 0 : O.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ae = (q = l == null ? void 0 : l.wave) == null ? void 0 : q.wd) == null ? void 0 : ae.height, 1) ?? "-", r.windwaveDir = (pe = (re = l == null ? void 0 : l.wave) == null ? void 0 : re.wd) == null ? void 0 : pe.direction, r.windwavePeriod = this.computeRoundPrecision((J = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((oe = (K = l == null ? void 0 : l.wave) == null ? void 0 : K.swell) == null ? void 0 : oe.height, 1) ?? "-", r.swellDir = (X = (Y = l == null ? void 0 : l.wave) == null ? void 0 : Y.swell) == null ? void 0 : X.direction, r.swellPeriod = this.computeRoundPrecision((G = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.swell) == null ? void 0 : G.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ne = l == null ? void 0 : l.current) == null ? void 0 : ne.speed, 1) ?? "-", r.currentDir = (fe = l == null ? void 0 : l.current) == null ? void 0 : fe.direction, r.currentSpeed = this.computeRoundPrecision((ke = l == null ? void 0 : l.current) == null ? void 0 : ke.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (ze = l == null ? void 0 : l.weather) == null ? void 0 : ze.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
1522
1522
  });
1523
1523
  },
1524
1524
  handleTide() {
@@ -1833,7 +1833,7 @@ function Vl(e, t, a, i, o, r) {
1833
1833
  n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
1834
1834
  ])),
1835
1835
  default: x(() => [
1836
- O(" " + y(e.$t("actions.unfollow")), 1)
1836
+ Z(" " + y(e.$t("actions.unfollow")), 1)
1837
1837
  ]),
1838
1838
  _: 1
1839
1839
  }, 8, ["onClick"])) : (_(), B(l, {
@@ -1848,7 +1848,7 @@ function Vl(e, t, a, i, o, r) {
1848
1848
  n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
1849
1849
  ])),
1850
1850
  default: x(() => [
1851
- O(y(e.$t("actions.follow")) + " ", 1)
1851
+ Z(y(e.$t("actions.follow")) + " ", 1)
1852
1852
  ]),
1853
1853
  _: 1
1854
1854
  }, 8, ["onClick"])),
@@ -1860,7 +1860,7 @@ function Vl(e, t, a, i, o, r) {
1860
1860
  onClick: r.handleMeteoMore
1861
1861
  }, {
1862
1862
  default: x(() => [
1863
- O(y(e.$t("actions.7dayForcast")), 1)
1863
+ Z(y(e.$t("actions.7dayForcast")), 1)
1864
1864
  ]),
1865
1865
  _: 1
1866
1866
  }, 8, ["onClick"])
@@ -1930,7 +1930,7 @@ function Vl(e, t, a, i, o, r) {
1930
1930
  value: u.index
1931
1931
  }, {
1932
1932
  default: x(() => [
1933
- O(y(u.label), 1)
1933
+ Z(y(u.label), 1)
1934
1934
  ]),
1935
1935
  _: 2
1936
1936
  }, 1032, ["value"]))), 256))
@@ -1943,7 +1943,7 @@ function Vl(e, t, a, i, o, r) {
1943
1943
  key: u.id
1944
1944
  }, [
1945
1945
  n("th", gl, [
1946
- O(y(e.$t(`${u.key}`)) + " ", 1),
1946
+ Z(y(e.$t(`${u.key}`)) + " ", 1),
1947
1947
  u.unit ? (_(), A("span", fl, " ( " + y(u.unit) + " )", 1)) : W("", !0)
1948
1948
  ]),
1949
1949
  n("td", yl, [
@@ -2562,7 +2562,7 @@ const rn = /* @__PURE__ */ ie(an, [["render", on]]), ln = {
2562
2562
  methods: {
2563
2563
  handleRender() {
2564
2564
  this.handleClear(), this.area && (this.area.features.forEach((e) => {
2565
- e.geometry.type === "Polygon" && e.geometry.coordinates.forEach((t) => X.convertToMonotonicLng2(t));
2565
+ e.geometry.type === "Polygon" && e.geometry.coordinates.forEach((t) => H.convertToMonotonicLng2(t));
2566
2566
  }), this.map.addSource(this.source, {
2567
2567
  type: "geojson",
2568
2568
  data: this.area
@@ -2874,7 +2874,7 @@ const vn = {
2874
2874
  computed: {
2875
2875
  dateList() {
2876
2876
  var a, i, o, r;
2877
- const e = [], t = (a = this.station) != null && a.lng && ((i = this.station) != null && i.lat) ? X.guessTimeZoneOffset((o = this.station) == null ? void 0 : o.lng, (r = this.station) == null ? void 0 : r.lat) : 0;
2877
+ const e = [], t = (a = this.station) != null && a.lng && ((i = this.station) != null && i.lat) ? H.guessTimeZoneOffset((o = this.station) == null ? void 0 : o.lng, (r = this.station) == null ? void 0 : r.lat) : 0;
2878
2878
  for (let l = 0; l < 4; l++) {
2879
2879
  let c = {
2880
2880
  index: l,
@@ -2893,7 +2893,7 @@ const vn = {
2893
2893
  return function(e, t, a = "yyyy-MM-DD HH:mm") {
2894
2894
  if (!e || !t || t.lng === null || t.lng === void 0 || isNaN(t.lng) || t.lat === null || t.lat === void 0 || isNaN(t.lat))
2895
2895
  return "-";
2896
- const i = t != null && t.lng && (t != null && t.lat) ? X.guessTimeZoneOffset(t == null ? void 0 : t.lng, t == null ? void 0 : t.lat) : 0;
2896
+ const i = t != null && t.lng && (t != null && t.lat) ? H.guessTimeZoneOffset(t == null ? void 0 : t.lng, t == null ? void 0 : t.lat) : 0;
2897
2897
  return R(e).utcOffset(i).format(a);
2898
2898
  };
2899
2899
  },
@@ -2901,18 +2901,18 @@ const vn = {
2901
2901
  return function(e) {
2902
2902
  if (!e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat))
2903
2903
  return "-";
2904
- const t = X.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat);
2904
+ const t = H.guessTimeZoneOffset(e == null ? void 0 : e.lng, e == null ? void 0 : e.lat);
2905
2905
  return "( UTC " + (t >= 0 ? "+" : "") + t + " )";
2906
2906
  };
2907
2907
  },
2908
2908
  computePosition() {
2909
2909
  return function(e) {
2910
- return !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat) ? "-" : X.lat2pretty(e == null ? void 0 : e.lat, 2).pretty + " / " + X.lng2pretty(e == null ? void 0 : e.lng, 2).pretty;
2910
+ return !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat) ? "-" : H.lat2pretty(e == null ? void 0 : e.lat, 2).pretty + " / " + H.lng2pretty(e == null ? void 0 : e.lng, 2).pretty;
2911
2911
  };
2912
2912
  },
2913
2913
  computeRoundPrecision() {
2914
2914
  return function(e, t = 4) {
2915
- return e == null || isNaN(e) || isNaN(t) ? "-" : X.roundPrecision(e, t);
2915
+ return e == null || isNaN(e) || isNaN(t) ? "-" : H.roundPrecision(e, t);
2916
2916
  };
2917
2917
  }
2918
2918
  },
@@ -3206,7 +3206,7 @@ function Qn(e, t, a, i, o, r) {
3206
3206
  value: w.index
3207
3207
  }, {
3208
3208
  default: x(() => [
3209
- O(y(w.label), 1)
3209
+ Z(y(w.label), 1)
3210
3210
  ]),
3211
3211
  _: 2
3212
3212
  }, 1032, ["value"]))), 256))
@@ -3449,7 +3449,7 @@ const ds = {
3449
3449
  },
3450
3450
  "lngLat.e": {
3451
3451
  handler(e) {
3452
- this.lngLat.lng = X.lng2pretty(e == null ? void 0 : e.lng, 2).pretty, this.lngLat.lat = X.lat2pretty(e == null ? void 0 : e.lat, 2).pretty, this.lngLat.str = `[${X.str2Lat(e == null ? void 0 : e.lat, 4)}, ${X.str2Lng(e == null ? void 0 : e.lng, 4)}]`;
3452
+ this.lngLat.lng = H.lng2pretty(e == null ? void 0 : e.lng, 2).pretty, this.lngLat.lat = H.lat2pretty(e == null ? void 0 : e.lat, 2).pretty, this.lngLat.str = `[${H.str2Lat(e == null ? void 0 : e.lat, 4)}, ${H.str2Lng(e == null ? void 0 : e.lng, 4)}]`;
3453
3453
  },
3454
3454
  immediate: !0
3455
3455
  }
@@ -5345,7 +5345,7 @@ const ws = {
5345
5345
  computed: {
5346
5346
  computePosition() {
5347
5347
  return function(e) {
5348
- return !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat) ? "-" : X.lat2pretty(e == null ? void 0 : e.lat, 2).pretty + " / " + X.lng2pretty(e == null ? void 0 : e.lng, 2).pretty;
5348
+ return !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat) ? "-" : H.lat2pretty(e == null ? void 0 : e.lat, 2).pretty + " / " + H.lng2pretty(e == null ? void 0 : e.lng, 2).pretty;
5349
5349
  };
5350
5350
  }
5351
5351
  },
@@ -5699,8 +5699,8 @@ const zs = {
5699
5699
  class: "border rounded-sm"
5700
5700
  }, Fs = { class: "text-body-2 text-center pt-2" };
5701
5701
  function Gs(e, t, a, i, o, r) {
5702
- var re, pe, F, J, K, oe, Y, j, ee;
5703
- const l = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), m = M("VCardItem"), d = M("VCheckbox"), h = M("VCardText"), g = M("VCard"), w = M("IdmPort"), u = M("IdmTideStations"), p = M("IdmLatLng"), f = M("IdmTerminator"), L = M("IdmTimezone"), P = M("IdmAlertZone"), k = M("IdmEcaZone"), v = M("IdmWarZone"), T = M("IdmGmdssArea"), C = M("IdmLoadLine"), S = M("IdmWorldMarine"), D = M("IdmVRA"), I = M("IdmSpecialArea"), E = M("IdmWorld12nm"), Z = M("IdmChinaRoute"), H = M("IdmIceAreas"), Q = M("IdmFollowPort"), ae = M("IdmFollowPosition");
5702
+ var re, pe, F, J, K, oe, Y, X, ee;
5703
+ const l = M("VBtn"), c = M("VTooltip"), s = M("VCardTitle"), m = M("VCardItem"), d = M("VCheckbox"), h = M("VCardText"), g = M("VCard"), w = M("IdmPort"), u = M("IdmTideStations"), p = M("IdmLatLng"), f = M("IdmTerminator"), L = M("IdmTimezone"), P = M("IdmAlertZone"), k = M("IdmEcaZone"), v = M("IdmWarZone"), T = M("IdmGmdssArea"), C = M("IdmLoadLine"), S = M("IdmWorldMarine"), D = M("IdmVRA"), I = M("IdmSpecialArea"), E = M("IdmWorld12nm"), j = M("IdmChinaRoute"), O = M("IdmIceAreas"), q = M("IdmFollowPort"), ae = M("IdmFollowPosition");
5704
5704
  return _(), A("div", Cs, [
5705
5705
  n("div", {
5706
5706
  class: ge(["menu-bar-box transition px-1 rounded", a.simple ? "simple" : ""]),
@@ -5764,7 +5764,7 @@ function Gs(e, t, a, i, o, r) {
5764
5764
  default: x(() => [
5765
5765
  b(s, { class: "text-h6" }, {
5766
5766
  default: x(() => [
5767
- O(y(e.$t("layer.mapFeathers")), 1)
5767
+ Z(y(e.$t("layer.mapFeathers")), 1)
5768
5768
  ]),
5769
5769
  _: 1
5770
5770
  })
@@ -5814,7 +5814,7 @@ function Gs(e, t, a, i, o, r) {
5814
5814
  default: x(() => [
5815
5815
  b(s, { class: "text-h6" }, {
5816
5816
  default: x(() => [
5817
- O(y(e.$t("layer.pointsOfInteresting")), 1)
5817
+ Z(y(e.$t("layer.pointsOfInteresting")), 1)
5818
5818
  ]),
5819
5819
  _: 1
5820
5820
  })
@@ -5850,7 +5850,7 @@ function Gs(e, t, a, i, o, r) {
5850
5850
  default: x(() => [
5851
5851
  b(s, { class: "text-h6" }, {
5852
5852
  default: x(() => [
5853
- O(y(e.$t("layer.otherLayers")), 1)
5853
+ Z(y(e.$t("layer.otherLayers")), 1)
5854
5854
  ]),
5855
5855
  _: 1
5856
5856
  })
@@ -5886,7 +5886,7 @@ function Gs(e, t, a, i, o, r) {
5886
5886
  default: x(() => [
5887
5887
  b(s, { class: "text-h6" }, {
5888
5888
  default: x(() => [
5889
- O(y(e.$t("layer.myFollows")), 1)
5889
+ Z(y(e.$t("layer.myFollows")), 1)
5890
5890
  ]),
5891
5891
  _: 1
5892
5892
  })
@@ -6007,7 +6007,7 @@ function Gs(e, t, a, i, o, r) {
6007
6007
  a.map ? (_(), B(D, $({
6008
6008
  key: 11,
6009
6009
  map: a.map,
6010
- area: (j = o.otherLayers) == null ? void 0 : j["voluntary-reporting-area"]
6010
+ area: (X = o.otherLayers) == null ? void 0 : X["voluntary-reporting-area"]
6011
6011
  }, e.$attrs), null, 16, ["map", "area"])) : W("", !0),
6012
6012
  a.map ? (_(), B(I, $({
6013
6013
  key: 12,
@@ -6020,18 +6020,18 @@ function Gs(e, t, a, i, o, r) {
6020
6020
  token: a.token,
6021
6021
  show: o.checkList.includes("world12nm")
6022
6022
  }, e.$attrs), null, 16, ["map", "token", "show"])) : W("", !0),
6023
- a.map ? (_(), B(Z, $({
6023
+ a.map ? (_(), B(j, $({
6024
6024
  key: 14,
6025
6025
  map: a.map,
6026
6026
  token: a.token,
6027
6027
  show: o.checkList.includes("chinaRoute")
6028
6028
  }, e.$attrs), null, 16, ["map", "token", "show"])) : W("", !0),
6029
- a.map ? (_(), B(H, $({
6029
+ a.map ? (_(), B(O, $({
6030
6030
  key: 15,
6031
6031
  map: a.map,
6032
6032
  show: o.checkList.includes("ice-areas")
6033
6033
  }, e.$attrs), null, 16, ["map", "show"])) : W("", !0),
6034
- a.map ? (_(), B(Q, $({
6034
+ a.map ? (_(), B(q, $({
6035
6035
  key: 16,
6036
6036
  ref: "idmFollowPort",
6037
6037
  simple: a.simple,
@@ -8917,12 +8917,12 @@ const Zc = {
8917
8917
  );
8918
8918
  const T = await Promise.all(v);
8919
8919
  this.weatherLayers = {}, T.map((C) => {
8920
- var I, E, Z, H;
8920
+ var I, E, j, O;
8921
8921
  const S = ((I = C == null ? void 0 : C.data) == null ? void 0 : I.data) || (C == null ? void 0 : C.data);
8922
- let D = (Z = (E = C == null ? void 0 : C.config) == null ? void 0 : E.headers) == null ? void 0 : Z.key;
8922
+ let D = (j = (E = C == null ? void 0 : C.config) == null ? void 0 : E.headers) == null ? void 0 : j.key;
8923
8923
  D && S && (this.weatherLayers[D] = {
8924
8924
  raw: S,
8925
- type: ((H = C == null ? void 0 : C.config) == null ? void 0 : H.responseType) === "blob" ? "image" : "json",
8925
+ type: ((O = C == null ? void 0 : C.config) == null ? void 0 : O.responseType) === "blob" ? "image" : "json",
8926
8926
  etime: P.data.etime
8927
8927
  });
8928
8928
  });
@@ -9006,7 +9006,7 @@ const Zc = {
9006
9006
  let t = 0, a = 0;
9007
9007
  const i = (r = this.map) == null ? void 0 : r.getBounds(), o = (l = this.map) == null ? void 0 : l.getZoom();
9008
9008
  if (i && o) {
9009
- const g = X.convertToStdLng(i._sw.lng), w = X.convertToStdLng(i._ne.lng), u = Math.floor(i._sw.lat), p = Math.ceil(i._ne.lat);
9009
+ const g = H.convertToStdLng(i._sw.lng), w = H.convertToStdLng(i._ne.lng), u = Math.floor(i._sw.lat), p = Math.ceil(i._ne.lat);
9010
9010
  for (const f in this.weatherLayers) {
9011
9011
  let L = !1;
9012
9012
  if (this.weatherLayers[f].active && this.weatherLayers[f].type === "json") {
@@ -9018,35 +9018,35 @@ const Zc = {
9018
9018
  if (T > u && T < p && (!(o <= this.zoom) || T % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9019
9019
  const C = k[T].lng;
9020
9020
  g > w ? C.forEach((S, D) => {
9021
- var I, E, Z, H, Q, ae;
9021
+ var I, E, j, O, q, ae;
9022
9022
  if (o < 2) {
9023
9023
  if ((S >= 0 && S <= 360 || S >= -360 && S <= 0) && S % 10 === 0) {
9024
9024
  const re = N.point([S, T], {
9025
9025
  val: ((I = k[T].val) == null ? void 0 : I[D]) || ((E = k[T].dir) == null ? void 0 : E[D]),
9026
- spd: (Z = k[T].spd) == null ? void 0 : Z[D]
9026
+ spd: (j = k[T].spd) == null ? void 0 : j[D]
9027
9027
  });
9028
9028
  P.push(re);
9029
9029
  }
9030
9030
  } else if ((S >= g && S <= 180 || S >= -180 && S <= w) && (!(o <= this.zoom) || S % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9031
9031
  const re = N.point([S, T], {
9032
- val: ((H = k[T].val) == null ? void 0 : H[D]) || ((Q = k[T].dir) == null ? void 0 : Q[D]),
9032
+ val: ((O = k[T].val) == null ? void 0 : O[D]) || ((q = k[T].dir) == null ? void 0 : q[D]),
9033
9033
  spd: (ae = k[T].spd) == null ? void 0 : ae[D]
9034
9034
  });
9035
9035
  P.push(re);
9036
9036
  }
9037
9037
  }) : C.forEach((S, D) => {
9038
- var I, E, Z, H, Q, ae;
9038
+ var I, E, j, O, q, ae;
9039
9039
  if (g < 2) {
9040
9040
  if ((S >= 0 && S <= 360 || S >= -360 && S <= 0) && S % 10 === 0) {
9041
9041
  const re = N.point([S, T], {
9042
9042
  val: ((I = k[T].val) == null ? void 0 : I[D]) || ((E = k[T].dir) == null ? void 0 : E[D]),
9043
- spd: (Z = k[T].spd) == null ? void 0 : Z[D]
9043
+ spd: (j = k[T].spd) == null ? void 0 : j[D]
9044
9044
  });
9045
9045
  P.push(re);
9046
9046
  }
9047
9047
  } else if (S >= g && S <= w && (!(o <= this.zoom) || S % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9048
9048
  const re = N.point([S, T], {
9049
- val: ((H = k[T].val) == null ? void 0 : H[D]) || ((Q = k[T].dir) == null ? void 0 : Q[D]),
9049
+ val: ((O = k[T].val) == null ? void 0 : O[D]) || ((q = k[T].dir) == null ? void 0 : q[D]),
9050
9050
  spd: (ae = k[T].spd) == null ? void 0 : ae[D]
9051
9051
  });
9052
9052
  P.push(re);
@@ -9082,35 +9082,35 @@ const Zc = {
9082
9082
  if (T > u && T < p && (!(o <= this.zoom) || T % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9083
9083
  const C = k[T].lng;
9084
9084
  g > w ? C.forEach((S, D) => {
9085
- var I, E, Z, H, Q, ae;
9085
+ var I, E, j, O, q, ae;
9086
9086
  if (o < 2) {
9087
9087
  if ((S >= 0 && S <= 360 || S >= -360 && S <= 0) && S % 10 === 0) {
9088
9088
  const re = N.point([S, T], {
9089
9089
  val: ((I = k[T].val) == null ? void 0 : I[D]) || ((E = k[T].dir) == null ? void 0 : E[D]),
9090
- spd: (Z = k[T].spd) == null ? void 0 : Z[D]
9090
+ spd: (j = k[T].spd) == null ? void 0 : j[D]
9091
9091
  });
9092
9092
  P.push(re);
9093
9093
  }
9094
9094
  } else if ((S >= g && S <= 180 || S >= -180 && S <= w) && (!(o <= this.zoom) || S % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9095
9095
  const re = N.point([S, T], {
9096
- val: ((H = k[T].val) == null ? void 0 : H[D]) || ((Q = k[T].dir) == null ? void 0 : Q[D]),
9096
+ val: ((O = k[T].val) == null ? void 0 : O[D]) || ((q = k[T].dir) == null ? void 0 : q[D]),
9097
9097
  spd: (ae = k[T].spd) == null ? void 0 : ae[D]
9098
9098
  });
9099
9099
  P.push(re);
9100
9100
  }
9101
9101
  }) : C.forEach((S, D) => {
9102
- var I, E, Z, H, Q, ae;
9102
+ var I, E, j, O, q, ae;
9103
9103
  if (g < 2) {
9104
9104
  if ((S >= 0 && S <= 360 || S >= -360 && S <= 0) && S % 10 === 0) {
9105
9105
  const re = N.point([S, T], {
9106
9106
  val: ((I = k[T].val) == null ? void 0 : I[D]) || ((E = k[T].dir) == null ? void 0 : E[D]),
9107
- spd: (Z = k[T].spd) == null ? void 0 : Z[D]
9107
+ spd: (j = k[T].spd) == null ? void 0 : j[D]
9108
9108
  });
9109
9109
  P.push(re);
9110
9110
  }
9111
9111
  } else if (S >= g && S <= w && (!(o <= this.zoom) || S % (o < this.zoom / 2 ? 5 : 3) === 0)) {
9112
9112
  const re = N.point([S, T], {
9113
- val: ((H = k[T].val) == null ? void 0 : H[D]) || ((Q = k[T].dir) == null ? void 0 : Q[D]),
9113
+ val: ((O = k[T].val) == null ? void 0 : O[D]) || ((q = k[T].dir) == null ? void 0 : q[D]),
9114
9114
  spd: (ae = k[T].spd) == null ? void 0 : ae[D]
9115
9115
  });
9116
9116
  P.push(re);
@@ -9143,38 +9143,38 @@ const Zc = {
9143
9143
  if (v > u && v < p && (!(o <= this.zoom) || v % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9144
9144
  const T = k[v].lng;
9145
9145
  g > w ? T.forEach((C, S) => {
9146
- var D, I, E, Z;
9146
+ var D, I, E, j;
9147
9147
  if (o < 2) {
9148
9148
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9149
- const H = N.point([C, v], {
9149
+ const O = N.point([C, v], {
9150
9150
  dir: ((D = k[v].val) == null ? void 0 : D[S]) || ((I = k[v].dir) == null ? void 0 : I[S]),
9151
9151
  spd: k[v].spd[S]
9152
9152
  });
9153
- P.push(H);
9153
+ P.push(O);
9154
9154
  }
9155
9155
  } else if ((C >= g && C <= 180 || C >= -180 && C <= w) && (!(o <= this.zoom) || C % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9156
- const H = N.point([C, v], {
9157
- dir: ((E = k[v].val) == null ? void 0 : E[S]) || ((Z = k[v].dir) == null ? void 0 : Z[S]),
9156
+ const O = N.point([C, v], {
9157
+ dir: ((E = k[v].val) == null ? void 0 : E[S]) || ((j = k[v].dir) == null ? void 0 : j[S]),
9158
9158
  spd: k[v].spd[S]
9159
9159
  });
9160
- P.push(H);
9160
+ P.push(O);
9161
9161
  }
9162
9162
  }) : T.forEach((C, S) => {
9163
- var D, I, E, Z;
9163
+ var D, I, E, j;
9164
9164
  if (o < 2) {
9165
9165
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9166
- const H = N.point([C, v], {
9166
+ const O = N.point([C, v], {
9167
9167
  dir: ((D = k[v].val) == null ? void 0 : D[S]) || ((I = k[v].dir) == null ? void 0 : I[S]),
9168
9168
  spd: k[v].spd[S]
9169
9169
  });
9170
- P.push(H);
9170
+ P.push(O);
9171
9171
  }
9172
9172
  } else if (C >= g && C <= w && (!(o <= this.zoom) || C % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9173
- const H = N.point([C, v], {
9174
- dir: ((E = k[v].val) == null ? void 0 : E[S]) || ((Z = k[v].dir) == null ? void 0 : Z[S]),
9173
+ const O = N.point([C, v], {
9174
+ dir: ((E = k[v].val) == null ? void 0 : E[S]) || ((j = k[v].dir) == null ? void 0 : j[S]),
9175
9175
  spd: k[v].spd[S]
9176
9176
  });
9177
- P.push(H);
9177
+ P.push(O);
9178
9178
  }
9179
9179
  });
9180
9180
  }
@@ -9237,7 +9237,7 @@ const Zc = {
9237
9237
  }
9238
9238
  for (const T in k.Point)
9239
9239
  k.Point[T].lng.forEach((C, S) => {
9240
- C = X.convertToStdLng(C), v.push(
9240
+ C = H.convertToStdLng(C), v.push(
9241
9241
  N.point([C, T], {
9242
9242
  val: k.Point[T].val[S],
9243
9243
  type: k.Point[T].type[S]
@@ -9260,7 +9260,7 @@ const Zc = {
9260
9260
  this.handleDrawWeather4Json();
9261
9261
  },
9262
9262
  handleBboxClip(e, t) {
9263
- const a = [], i = X.convertToStdLng(t._sw.lng), o = X.convertToStdLng(t._ne.lng);
9263
+ const a = [], i = H.convertToStdLng(t._sw.lng), o = H.convertToStdLng(t._ne.lng);
9264
9264
  return e.features.forEach((r) => {
9265
9265
  if (r.geometry.type !== "Point")
9266
9266
  if (i > o) {
@@ -9295,8 +9295,8 @@ const Zc = {
9295
9295
  class: "d-flex justify-start align-center ga-4 pl-6"
9296
9296
  }, om = { class: "text-body-1 py-2" }, im = { class: "text-body-1 font-weight-medium" }, rm = { class: "text-body-2 text-label" }, lm = { class: "text-body-2 text-label" }, nm = { class: "text-body-2 text-label mb-3" }, sm = { class: "text-body-1 font-weight-medium" }, cm = { class: "text-body-2 text-label" }, mm = { class: "text-body-2 text-label" }, dm = { class: "text-body-2 text-label mb-3" }, hm = { class: "text-body-1 py-2" }, pm = { class: "text-body-1 font-weight-medium" }, um = { class: "text-body-2 text-label" }, gm = { class: "text-body-2 text-label" }, fm = { class: "text-body-2 text-label mb-3" }, ym = { class: "text-body-1 font-weight-medium" }, bm = { class: "text-body-2 text-label" }, wm = { class: "text-body-2 text-label" }, xm = { class: "text-body-2 text-label mb-3" }, vm = { class: "text-body-1 py-2" }, km = { class: "text-body-1 font-weight-medium" }, _m = { class: "text-body-2 text-label" }, Lm = { class: "text-body-2 text-label" }, zm = { class: "text-body-2 text-label mb-3" };
9297
9297
  function Cm(e, t, a, i, o, r) {
9298
- var J, K, oe, Y, j, ee, G, ne, fe, ke, ze, me, ye, _e, Re;
9299
- const l = M("VBtn"), c = M("VTooltip"), s = M("VCol"), m = M("VRow"), d = M("VCardText"), h = M("VDivider"), g = M("VCard"), w = M("VSwitch"), u = M("VBtnToggle"), p = M("VCardTitle"), f = M("VCardItem"), L = M("VCheckbox"), P = M("VRadio"), k = M("IdmWindBarb"), v = M("IdmSigWaveHeight"), T = M("IdmCurrentDirection"), C = M("IdmPrmsl"), S = M("IdmWindParticle"), D = M("IdmCurrentParticle"), I = M("IdmWave"), E = M("IdmSwell"), Z = M("IdmIceEdge"), H = M("IdmIceCover"), Q = M("IdmIceThickness"), ae = M("IdmPrecip3h"), re = M("IdmVisibility"), pe = M("IdmWaterTemp"), F = M("IdmTemp");
9298
+ var J, K, oe, Y, X, ee, G, ne, fe, ke, ze, me, ye, _e, Re;
9299
+ const l = M("VBtn"), c = M("VTooltip"), s = M("VCol"), m = M("VRow"), d = M("VCardText"), h = M("VDivider"), g = M("VCard"), w = M("VSwitch"), u = M("VBtnToggle"), p = M("VCardTitle"), f = M("VCardItem"), L = M("VCheckbox"), P = M("VRadio"), k = M("IdmWindBarb"), v = M("IdmSigWaveHeight"), T = M("IdmCurrentDirection"), C = M("IdmPrmsl"), S = M("IdmWindParticle"), D = M("IdmCurrentParticle"), I = M("IdmWave"), E = M("IdmSwell"), j = M("IdmIceEdge"), O = M("IdmIceCover"), q = M("IdmIceThickness"), ae = M("IdmPrecip3h"), re = M("IdmVisibility"), pe = M("IdmWaterTemp"), F = M("IdmTemp");
9300
9300
  return _(), A("div", Oc, [
9301
9301
  n("div", {
9302
9302
  class: "menu-bar-box transition pa-1",
@@ -9310,8 +9310,8 @@ function Cm(e, t, a, i, o, r) {
9310
9310
  "open-on-focus": !a.simple,
9311
9311
  "open-on-hover": !a.simple
9312
9312
  }, {
9313
- activator: x(({ props: q }) => [
9314
- b(l, $(q, {
9313
+ activator: x(({ props: Q }) => [
9314
+ b(l, $(Q, {
9315
9315
  "min-width": "32",
9316
9316
  width: "32",
9317
9317
  height: "32",
@@ -9341,8 +9341,8 @@ function Cm(e, t, a, i, o, r) {
9341
9341
  "open-on-focus": !a.simple,
9342
9342
  "open-on-hover": !a.simple
9343
9343
  }, {
9344
- activator: x(({ props: q }) => [
9345
- b(l, $(q, {
9344
+ activator: x(({ props: Q }) => [
9345
+ b(l, $(Q, {
9346
9346
  "min-width": "32",
9347
9347
  width: "32",
9348
9348
  height: "32",
@@ -9374,8 +9374,8 @@ function Cm(e, t, a, i, o, r) {
9374
9374
  t[11] || (t[11] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wind Level", -1)),
9375
9375
  b(m, { class: "ma-0 ml-n1 text-body-2" }, {
9376
9376
  default: x(() => [
9377
- (_(!0), A(Te, null, De(o.legend.barbs, (q, de) => (_(), B(s, {
9378
- key: q,
9377
+ (_(!0), A(Te, null, De(o.legend.barbs, (Q, de) => (_(), B(s, {
9378
+ key: Q,
9379
9379
  cols: "6",
9380
9380
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
9381
9381
  }, {
@@ -9385,7 +9385,7 @@ function Cm(e, t, a, i, o, r) {
9385
9385
  class: ge(["iconfont", r.barbsIconName[de]]),
9386
9386
  style: he({ color: a.theme === "dark" ? "#fff" : "#000" })
9387
9387
  }, null, 6),
9388
- n("span", Xc, y(Number(q) < 10 ? `00${q}kts` : Number(q) < 100 ? `0${q}kts` : `${q}kts`), 1)
9388
+ n("span", Xc, y(Number(Q) < 10 ? `00${Q}kts` : Number(Q) < 100 ? `0${Q}kts` : `${Q}kts`), 1)
9389
9389
  ])
9390
9390
  ]),
9391
9391
  _: 2
@@ -9406,7 +9406,7 @@ function Cm(e, t, a, i, o, r) {
9406
9406
  t[12] || (t[12] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wave Height", -1)),
9407
9407
  b(m, { class: "ma-0" }, {
9408
9408
  default: x(() => [
9409
- (_(!0), A(Te, null, De(o.legend.sigWaveHeight, (q, de) => (_(), B(s, {
9409
+ (_(!0), A(Te, null, De(o.legend.sigWaveHeight, (Q, de) => (_(), B(s, {
9410
9410
  key: de,
9411
9411
  cols: "12",
9412
9412
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
@@ -9415,9 +9415,9 @@ function Cm(e, t, a, i, o, r) {
9415
9415
  n("div", Hc, [
9416
9416
  de === 0 ? (_(), A("div", Yc)) : (_(), A("div", {
9417
9417
  key: 1,
9418
- style: he({ width: "24px", height: "12px", background: q.color })
9418
+ style: he({ width: "24px", height: "12px", background: Q.color })
9419
9419
  }, null, 4)),
9420
- n("div", Uc, y(q.label), 1)
9420
+ n("div", Uc, y(Q.label), 1)
9421
9421
  ])
9422
9422
  ]),
9423
9423
  _: 2
@@ -9438,7 +9438,7 @@ function Cm(e, t, a, i, o, r) {
9438
9438
  t[13] || (t[13] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Current", -1)),
9439
9439
  b(m, { class: "ma-0 ml-n4" }, {
9440
9440
  default: x(() => [
9441
- (_(!0), A(Te, null, De(o.legend.current, (q, de) => (_(), B(s, {
9441
+ (_(!0), A(Te, null, De(o.legend.current, (Q, de) => (_(), B(s, {
9442
9442
  key: de,
9443
9443
  cols: "12",
9444
9444
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
@@ -9448,10 +9448,10 @@ function Cm(e, t, a, i, o, r) {
9448
9448
  n("div", Jc, [
9449
9449
  n("i", {
9450
9450
  class: "iconfont icon-a-direction-arrow text-label",
9451
- style: he({ fontSize: 40 * q.size + "px" })
9451
+ style: he({ fontSize: 40 * Q.size + "px" })
9452
9452
  }, null, 4)
9453
9453
  ]),
9454
- n("div", Kc, y(q.label), 1)
9454
+ n("div", Kc, y(Q.label), 1)
9455
9455
  ])
9456
9456
  ]),
9457
9457
  _: 2
@@ -9478,7 +9478,7 @@ function Cm(e, t, a, i, o, r) {
9478
9478
  n("div", Qc, y(e.$t("weather.weather")), 1),
9479
9479
  b(w, {
9480
9480
  modelValue: o.autoActive,
9481
- "onUpdate:modelValue": t[1] || (t[1] = (q) => o.autoActive = q),
9481
+ "onUpdate:modelValue": t[1] || (t[1] = (Q) => o.autoActive = Q),
9482
9482
  class: "small-switch",
9483
9483
  color: "primary",
9484
9484
  "base-color": "disabled",
@@ -9504,7 +9504,7 @@ function Cm(e, t, a, i, o, r) {
9504
9504
  n("div", null, y(e.$t("weather.forecastModel")), 1),
9505
9505
  b(u, {
9506
9506
  modelValue: o.currentModel,
9507
- "onUpdate:modelValue": t[2] || (t[2] = (q) => o.currentModel = q),
9507
+ "onUpdate:modelValue": t[2] || (t[2] = (Q) => o.currentModel = Q),
9508
9508
  rounded: "",
9509
9509
  height: "28",
9510
9510
  density: "compact",
@@ -9520,7 +9520,7 @@ function Cm(e, t, a, i, o, r) {
9520
9520
  "base-color": ""
9521
9521
  }, {
9522
9522
  default: x(() => t[15] || (t[15] = [
9523
- O("NOAA", -1)
9523
+ Z("NOAA", -1)
9524
9524
  ])),
9525
9525
  _: 1,
9526
9526
  __: [15]
@@ -9534,7 +9534,7 @@ function Cm(e, t, a, i, o, r) {
9534
9534
  value: "ECMWF"
9535
9535
  }, {
9536
9536
  default: x(() => t[16] || (t[16] = [
9537
- O("ECMWF", -1)
9537
+ Z("ECMWF", -1)
9538
9538
  ])),
9539
9539
  _: 1,
9540
9540
  __: [16]
@@ -9555,7 +9555,7 @@ function Cm(e, t, a, i, o, r) {
9555
9555
  default: x(() => [
9556
9556
  b(p, { class: "text-h6" }, {
9557
9557
  default: x(() => [
9558
- O(y(e.$t("weather.overlays")), 1)
9558
+ Z(y(e.$t("weather.overlays")), 1)
9559
9559
  ]),
9560
9560
  _: 1
9561
9561
  })
@@ -9564,12 +9564,12 @@ function Cm(e, t, a, i, o, r) {
9564
9564
  }),
9565
9565
  b(d, { class: "py-2 mx-n1" }, {
9566
9566
  default: x(() => [
9567
- (_(!0), A(Te, null, De(o.tagLayers.filter((q) => q.overlays), (q) => (_(), B(L, {
9568
- key: q.key,
9567
+ (_(!0), A(Te, null, De(o.tagLayers.filter((Q) => Q.overlays), (Q) => (_(), B(L, {
9568
+ key: Q.key,
9569
9569
  modelValue: o.checkList,
9570
9570
  "onUpdate:modelValue": t[3] || (t[3] = (de) => o.checkList = de),
9571
- value: q.key,
9572
- label: e.$t(`weather.${q.locale}`),
9571
+ value: Q.key,
9572
+ label: e.$t(`weather.${Q.locale}`),
9573
9573
  disabled: !o.autoActive,
9574
9574
  color: "primary",
9575
9575
  density: "compact",
@@ -9592,7 +9592,7 @@ function Cm(e, t, a, i, o, r) {
9592
9592
  default: x(() => [
9593
9593
  b(p, { class: "text-h6" }, {
9594
9594
  default: x(() => [
9595
- O(y(e.$t("weather.renders")), 1)
9595
+ Z(y(e.$t("weather.renders")), 1)
9596
9596
  ]),
9597
9597
  _: 1
9598
9598
  })
@@ -9601,23 +9601,23 @@ function Cm(e, t, a, i, o, r) {
9601
9601
  }),
9602
9602
  b(d, { class: "py-2 mx-n1" }, {
9603
9603
  default: x(() => [
9604
- (_(!0), A(Te, null, De(o.tagLayers.filter((q) => !q.overlays), (q) => (_(), A(Te, {
9605
- key: q.key
9604
+ (_(!0), A(Te, null, De(o.tagLayers.filter((Q) => !Q.overlays), (Q) => (_(), A(Te, {
9605
+ key: Q.key
9606
9606
  }, [
9607
9607
  b(P, {
9608
9608
  modelValue: o.renderKey,
9609
9609
  "onUpdate:modelValue": t[4] || (t[4] = (de) => o.renderKey = de),
9610
- label: e.$t(`weather.${q.locale}`),
9611
- value: q.key,
9610
+ label: e.$t(`weather.${Q.locale}`),
9611
+ value: Q.key,
9612
9612
  disabled: !o.autoActive,
9613
9613
  color: "primary",
9614
9614
  density: "compact",
9615
9615
  style: { height: "36px" },
9616
9616
  class: "text-body-2 py-1",
9617
9617
  "hide-details": "",
9618
- onClick: (de) => o.renderKey = o.renderKey === q.key ? "" : q.key
9618
+ onClick: (de) => o.renderKey = o.renderKey === Q.key ? "" : Q.key
9619
9619
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
9620
- o.renderKey === "wind-particle" && q.key === "wind-particle" ? (_(), A("div", tm, [
9620
+ o.renderKey === "wind-particle" && Q.key === "wind-particle" ? (_(), A("div", tm, [
9621
9621
  n("span", null, y(e.$t("weather.particleAnimatiom")), 1),
9622
9622
  b(w, {
9623
9623
  modelValue: o.showWindParticle,
@@ -9632,7 +9632,7 @@ function Cm(e, t, a, i, o, r) {
9632
9632
  "hide-details": ""
9633
9633
  }, null, 8, ["modelValue"])
9634
9634
  ])) : W("", !0),
9635
- o.renderKey === "current-particle" && q.key === "current-particle" ? (_(), A("div", am, [
9635
+ o.renderKey === "current-particle" && Q.key === "current-particle" ? (_(), A("div", am, [
9636
9636
  n("span", null, y(e.$t("weather.particleAnimatiom")), 1),
9637
9637
  b(w, {
9638
9638
  modelValue: o.showCurrentParticle,
@@ -9647,7 +9647,7 @@ function Cm(e, t, a, i, o, r) {
9647
9647
  "hide-details": ""
9648
9648
  }, null, 8, ["modelValue"])
9649
9649
  ])) : W("", !0),
9650
- o.renderKey === "wave-group" && q.key === "wave-group" ? (_(), B(u, {
9650
+ o.renderKey === "wave-group" && Q.key === "wave-group" ? (_(), B(u, {
9651
9651
  key: 2,
9652
9652
  modelValue: o.waveToggleValue,
9653
9653
  "onUpdate:modelValue": t[7] || (t[7] = (de) => o.waveToggleValue = de),
@@ -9669,7 +9669,7 @@ function Cm(e, t, a, i, o, r) {
9669
9669
  disabled: !o.autoActive
9670
9670
  }, {
9671
9671
  default: x(() => [
9672
- O(y(e.$t("weather.significant")), 1)
9672
+ Z(y(e.$t("weather.significant")), 1)
9673
9673
  ]),
9674
9674
  _: 1
9675
9675
  }, 8, ["color", "disabled"]),
@@ -9683,14 +9683,14 @@ function Cm(e, t, a, i, o, r) {
9683
9683
  value: "swell"
9684
9684
  }, {
9685
9685
  default: x(() => [
9686
- O(y(e.$t("weather.swell")), 1)
9686
+ Z(y(e.$t("weather.swell")), 1)
9687
9687
  ]),
9688
9688
  _: 1
9689
9689
  }, 8, ["color", "disabled"])
9690
9690
  ]),
9691
9691
  _: 1
9692
9692
  }, 8, ["modelValue", "disabled"])) : W("", !0),
9693
- o.renderKey === "ice-forecast" && q.key === "ice-forecast" ? (_(), B(u, {
9693
+ o.renderKey === "ice-forecast" && Q.key === "ice-forecast" ? (_(), B(u, {
9694
9694
  key: 3,
9695
9695
  modelValue: o.iceToggleValue,
9696
9696
  "onUpdate:modelValue": t[8] || (t[8] = (de) => o.iceToggleValue = de),
@@ -9712,7 +9712,7 @@ function Cm(e, t, a, i, o, r) {
9712
9712
  disabled: !o.autoActive
9713
9713
  }, {
9714
9714
  default: x(() => [
9715
- O(y(e.$t("weather.coverage")), 1)
9715
+ Z(y(e.$t("weather.coverage")), 1)
9716
9716
  ]),
9717
9717
  _: 1
9718
9718
  }, 8, ["color", "disabled"]),
@@ -9726,7 +9726,7 @@ function Cm(e, t, a, i, o, r) {
9726
9726
  value: "ice-thickness"
9727
9727
  }, {
9728
9728
  default: x(() => [
9729
- O(y(e.$t("weather.thickness")), 1)
9729
+ Z(y(e.$t("weather.thickness")), 1)
9730
9730
  ]),
9731
9731
  _: 1
9732
9732
  }, 8, ["color", "disabled"])
@@ -9749,7 +9749,7 @@ function Cm(e, t, a, i, o, r) {
9749
9749
  default: x(() => [
9750
9750
  b(p, { class: "text-h6" }, {
9751
9751
  default: x(() => [
9752
- O(y(e.$t("weather.forecastModel")), 1)
9752
+ Z(y(e.$t("weather.forecastModel")), 1)
9753
9753
  ]),
9754
9754
  _: 1
9755
9755
  })
@@ -9758,10 +9758,10 @@ function Cm(e, t, a, i, o, r) {
9758
9758
  }),
9759
9759
  b(d, { class: "" }, {
9760
9760
  default: x(() => {
9761
- var q, de, Xe, Be, Me, Ae, le, Pe, ue, we, Oe, Ye, He, U, xe, Fe, Ve, je, te, Ze, se, tt, at, ot, Ge, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, kt, _t, Lt, zt, Ct, Mt, Pt, St, Tt, Rt, Dt, It, At, Ft, Gt, Nt, Wt, Et, Bt, Zt, Ot, Vt, jt, Xt, Ht, Yt, Ut, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, ka, _a, La, za, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Aa, Fa;
9761
+ var Q, de, Xe, Be, Me, Ae, le, Pe, ue, we, Oe, Ye, He, U, xe, Fe, Ve, je, te, Ze, se, tt, at, ot, Ge, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, kt, _t, Lt, zt, Ct, Mt, Pt, St, Tt, Rt, Dt, It, At, Ft, Gt, Nt, Wt, Et, Bt, Zt, Ot, Vt, jt, Xt, Ht, Yt, Ut, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, ka, _a, La, za, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Aa, Fa;
9762
9762
  return [
9763
9763
  n("div", om, y(e.$t("weather.atmospheric")), 1),
9764
- n("div", im, y((Xe = (de = (q = o.models) == null ? void 0 : q.weather) == null ? void 0 : de.NOAA) == null ? void 0 : Xe.source) + " " + y((Ae = (Me = (Be = o.models) == null ? void 0 : Be.weather) == null ? void 0 : Me.NOAA) == null ? void 0 : Ae.spatialResolution) + y(e.$t("units.km")) + " " + y((we = (ue = (Pe = (le = o.models) == null ? void 0 : le.weather) == null ? void 0 : Pe.NOAA) == null ? void 0 : ue.meta) == null ? void 0 : we.days) + y(e.$t("units.days")), 1),
9764
+ n("div", im, y((Xe = (de = (Q = o.models) == null ? void 0 : Q.weather) == null ? void 0 : de.NOAA) == null ? void 0 : Xe.source) + " " + y((Ae = (Me = (Be = o.models) == null ? void 0 : Be.weather) == null ? void 0 : Me.NOAA) == null ? void 0 : Ae.spatialResolution) + y(e.$t("units.km")) + " " + y((we = (ue = (Pe = (le = o.models) == null ? void 0 : le.weather) == null ? void 0 : Pe.NOAA) == null ? void 0 : ue.meta) == null ? void 0 : we.days) + y(e.$t("units.days")), 1),
9765
9765
  n("div", rm, y(e.$t("weather.source")) + ": NOAA", 1),
9766
9766
  n("div", lm, y(e.$t("weather.lastUpdate")) + ": " + y(r.computeDateUpdate((U = (He = (Ye = (Oe = o.models) == null ? void 0 : Oe.weather) == null ? void 0 : Ye.NOAA) == null ? void 0 : He.meta) == null ? void 0 : U.availabilityTime)), 1),
9767
9767
  n("div", nm, y(e.$t("weather.referenceTime")) + ": " + y(r.computeDateZ((je = (Ve = (Fe = (xe = o.models) == null ? void 0 : xe.weather) == null ? void 0 : Fe.NOAA) == null ? void 0 : Ve.meta) == null ? void 0 : je.initialisationTime)), 1),
@@ -9830,7 +9830,7 @@ function Cm(e, t, a, i, o, r) {
9830
9830
  a.map ? (_(), B(S, $({
9831
9831
  key: 5,
9832
9832
  viewport: o.viewport,
9833
- factor: (j = o.weatherLayers) == null ? void 0 : j["wind-particle"],
9833
+ factor: (X = o.weatherLayers) == null ? void 0 : X["wind-particle"],
9834
9834
  "menu-toggle": a.menuToggle,
9835
9835
  simple: a.simple
9836
9836
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
@@ -9857,21 +9857,21 @@ function Cm(e, t, a, i, o, r) {
9857
9857
  "active-weather-layers": o.activeWeatherLayers,
9858
9858
  simple: a.simple
9859
9859
  }, e.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers", "simple"])) : W("", !0),
9860
- a.map ? (_(), B(Z, $({
9860
+ a.map ? (_(), B(j, $({
9861
9861
  key: 9,
9862
9862
  viewport: o.viewport,
9863
9863
  factor: (fe = o.weatherLayers) == null ? void 0 : fe["ice-edge"],
9864
9864
  "menu-toggle": a.menuToggle,
9865
9865
  simple: a.simple
9866
9866
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
9867
- a.map ? (_(), B(H, $({
9867
+ a.map ? (_(), B(O, $({
9868
9868
  key: 10,
9869
9869
  viewport: o.viewport,
9870
9870
  factor: (ke = o.weatherLayers) == null ? void 0 : ke["ice-cover"],
9871
9871
  "menu-toggle": a.menuToggle,
9872
9872
  simple: a.simple
9873
9873
  }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
9874
- a.map ? (_(), B(Q, $({
9874
+ a.map ? (_(), B(q, $({
9875
9875
  key: 11,
9876
9876
  viewport: o.viewport,
9877
9877
  factor: (ze = o.weatherLayers) == null ? void 0 : ze["ice-thickness"],
@@ -10255,7 +10255,7 @@ let Di = class {
10255
10255
  }), o;
10256
10256
  }
10257
10257
  static pickHourly(t, a) {
10258
- var i, o, r, l, c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, Z, H, Q, ae, re, pe, F, J, K, oe, Y, j, ee, G, ne, fe, ke, ze, me, ye, _e, Re, q, de, Xe, Be, Me, Ae;
10258
+ var i, o, r, l, c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, j, O, q, ae, re, pe, F, J, K, oe, Y, X, ee, G, ne, fe, ke, ze, me, ye, _e, Re, Q, de, Xe, Be, Me, Ae;
10259
10259
  const le = typeof a == "string" ? R(a) : a, Pe = t == null ? void 0 : t.weather, ue = t == null ? void 0 : t.marine, we = R((o = (i = Pe == null ? void 0 : Pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : o.date).utc(), Oe = we.clone().add((c = (l = (r = Pe == null ? void 0 : Pe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), Ye = we.clone().add((d = (m = (s = Pe == null ? void 0 : Pe[0]) == null ? void 0 : s.hourly) == null ? void 0 : m.time) == null ? void 0 : d.at(-1), "h"), He = [];
10260
10260
  if (le.isBetween(Oe, Ye, "millisecond", "[]")) {
10261
10261
  const U = le.utc().diff(Oe, "h", !1);
@@ -10290,8 +10290,8 @@ let Di = class {
10290
10290
  wind: {
10291
10291
  speed: (I = se == null ? void 0 : se.wind_speed_10m) == null ? void 0 : I.at(U),
10292
10292
  kts: (E = se == null ? void 0 : se.wind_speed_10m) == null ? void 0 : E.at(U),
10293
- degree: (Z = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : Z.at(U),
10294
- bearing: ((H = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : H.at(U)) !== null ? (((Q = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : Q.at(U)) + 180) % 360 : null,
10293
+ degree: (j = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : j.at(U),
10294
+ bearing: ((O = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : O.at(U)) !== null ? (((q = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : q.at(U)) + 180) % 360 : null,
10295
10295
  gusts: (ae = se == null ? void 0 : se.wind_gusts_10m) == null ? void 0 : ae.at(U)
10296
10296
  },
10297
10297
  isDay: (re = se == null ? void 0 : se.is_day) == null ? void 0 : re.at(U)
@@ -10318,7 +10318,7 @@ let Di = class {
10318
10318
  },
10319
10319
  swell: {
10320
10320
  height: (Y = te == null ? void 0 : te.swell_wave_height) == null ? void 0 : Y.at(U),
10321
- degree: (j = te == null ? void 0 : te.swell_wave_direction) == null ? void 0 : j.at(U),
10321
+ degree: (X = te == null ? void 0 : te.swell_wave_direction) == null ? void 0 : X.at(U),
10322
10322
  bearing: ((ee = te == null ? void 0 : te.swell_wave_direction) == null ? void 0 : ee.at(U)) !== null ? (((G = te == null ? void 0 : te.swell_wave_direction) == null ? void 0 : G.at(U)) + 180) % 360 : null,
10323
10323
  period: (ne = te == null ? void 0 : te.swell_wave_period) == null ? void 0 : ne.at(U),
10324
10324
  peakPeriod: (fe = te == null ? void 0 : te.swell_wave_peak_period) == null ? void 0 : fe.at(U)
@@ -10332,7 +10332,7 @@ let Di = class {
10332
10332
  }
10333
10333
  },
10334
10334
  current: {
10335
- speed: (q = te == null ? void 0 : te.ocean_current_velocity) == null ? void 0 : q.at(U),
10335
+ speed: (Q = te == null ? void 0 : te.ocean_current_velocity) == null ? void 0 : Q.at(U),
10336
10336
  kts: (de = te == null ? void 0 : te.ocean_current_velocity) == null ? void 0 : de.at(U),
10337
10337
  degree: (Xe = te == null ? void 0 : te.ocean_current_direction) == null ? void 0 : Xe.at(U),
10338
10338
  bearing: ((Be = te == null ? void 0 : te.ocean_current_direction) == null ? void 0 : Be.at(U)) ?? null
@@ -10368,8 +10368,8 @@ let Di = class {
10368
10368
  };
10369
10369
  }
10370
10370
  static pickDaily(t, a) {
10371
- var i, o, r, l, c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, Z, H, Q, ae, re, pe, F, J, K, oe, Y, j, ee, G, ne, fe, ke, ze, me, ye;
10372
- const _e = typeof a == "string" ? R(a) : a, Re = t == null ? void 0 : t.weather, q = t == null ? void 0 : t.marine, de = R((r = (o = (i = Re == null ? void 0 : Re[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), Xe = R((s = (c = (l = Re == null ? void 0 : Re[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), Be = [];
10371
+ var i, o, r, l, c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, j, O, q, ae, re, pe, F, J, K, oe, Y, X, ee, G, ne, fe, ke, ze, me, ye;
10372
+ const _e = typeof a == "string" ? R(a) : a, Re = t == null ? void 0 : t.weather, Q = t == null ? void 0 : t.marine, de = R((r = (o = (i = Re == null ? void 0 : Re[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), Xe = R((s = (c = (l = Re == null ? void 0 : Re[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), Be = [];
10373
10373
  if (_e.isBetween(de, Xe, "millisecond", "[]")) {
10374
10374
  let Me, Ae;
10375
10375
  const le = _e.diff(de, "d", !1);
@@ -10404,8 +10404,8 @@ let Di = class {
10404
10404
  speed: (D = ue.wind_speed_10m_max) == null ? void 0 : D.at(le),
10405
10405
  kts: (I = ue.wind_speed_10m_max) == null ? void 0 : I.at(le),
10406
10406
  degree: (E = ue.wind_direction_10m_dominant) == null ? void 0 : E.at(le),
10407
- gusts: (Z = ue.wind_gusts_10m_max) == null ? void 0 : Z.at(le),
10408
- bearing: ((H = ue.wind_direction_10m_dominant) == null ? void 0 : H.at(le)) !== null ? (((Q = ue.wind_direction_10m_dominant) == null ? void 0 : Q.at(le)) + 180) % 360 : null
10407
+ gusts: (j = ue.wind_gusts_10m_max) == null ? void 0 : j.at(le),
10408
+ bearing: ((O = ue.wind_direction_10m_dominant) == null ? void 0 : O.at(le)) !== null ? (((q = ue.wind_direction_10m_dominant) == null ? void 0 : q.at(le)) + 180) % 360 : null
10409
10409
  }
10410
10410
  };
10411
10411
  const { name: we, url: Oe, bg: Ye } = this.parseWeatherCode(Me.code, !0);
@@ -10415,9 +10415,9 @@ let Di = class {
10415
10415
  weather: { ...Me }
10416
10416
  });
10417
10417
  }
10418
- if (q) {
10418
+ if (Q) {
10419
10419
  let Pe = 0;
10420
- for (const ue of q) {
10420
+ for (const ue of Q) {
10421
10421
  const we = ue.daily;
10422
10422
  Ae = {
10423
10423
  wave: {
@@ -10431,7 +10431,7 @@ let Di = class {
10431
10431
  height: (K = we.swell_wave_height_max) == null ? void 0 : K.at(le),
10432
10432
  degree: (oe = we.swell_wave_direction_dominant) == null ? void 0 : oe.at(le),
10433
10433
  period: (Y = we.swell_wave_period_max) == null ? void 0 : Y.at(le),
10434
- peakPeriod: (j = we.swell_wave_peak_period_max) == null ? void 0 : j.at(le),
10434
+ peakPeriod: (X = we.swell_wave_peak_period_max) == null ? void 0 : X.at(le),
10435
10435
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
10436
10436
  bearing: ((ee = we.swell_wave_direction_dominant) == null ? void 0 : ee.at(le)) !== null ? ((G = we.swell_wave_direction_dominant) == null ? void 0 : G.at(le)) % 360 : null
10437
10437
  },
@@ -10992,7 +10992,7 @@ const Pm = {
10992
10992
  };
10993
10993
  },
10994
10994
  computePosition() {
10995
- return (e) => !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat) ? "-" : X.lat2pretty(e == null ? void 0 : e.lat, 2).pretty + " / " + X.lng2pretty(e == null ? void 0 : e.lng, 2).pretty;
10995
+ return (e) => !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat) ? "-" : H.lat2pretty(e == null ? void 0 : e.lat, 2).pretty + " / " + H.lng2pretty(e == null ? void 0 : e.lng, 2).pretty;
10996
10996
  }
10997
10997
  },
10998
10998
  watch: {
@@ -11330,14 +11330,14 @@ const Pm = {
11330
11330
  this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (e = this.interpolateMarkers) == null || e.forEach((o) => o == null ? void 0 : o.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (t = this.map) == null || t.off("click", this.clickLayers, this.handleClick), (a = this.map) == null || a.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
11331
11331
  },
11332
11332
  handleDateChange() {
11333
- var e, t, a, i, o, r, l, c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, Z, H, Q, ae, re, pe, F, J;
11333
+ var e, t, a, i, o, r, l, c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, j, O, q, ae, re, pe, F, J;
11334
11334
  if ((e = this.interpolateMarkers) == null || e.forEach((K) => K == null ? void 0 : K.remove()), (t = this.interpolateData) != null && t.length && this.tropicals.active) {
11335
- const K = R(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), oe = this.interpolateData.filter((G) => G.properties.date === (K == null ? void 0 : K.format()) && !G.properties.disabled), Y = this.handleComputePolygons(oe), j = N.featureCollection([...oe]);
11335
+ const K = R(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), oe = this.interpolateData.filter((G) => G.properties.date === (K == null ? void 0 : K.format()) && !G.properties.disabled), Y = this.handleComputePolygons(oe), X = N.featureCollection([...oe]);
11336
11336
  Y.forEach((G) => {
11337
- j.features.push(G);
11338
- }), (a = this.map) != null && a.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(j) : ((o = this.map) == null || o.addSource(this.interpolateSource, {
11337
+ X.features.push(G);
11338
+ }), (a = this.map) != null && a.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(X) : ((o = this.map) == null || o.addSource(this.interpolateSource, {
11339
11339
  type: "geojson",
11340
- data: j
11340
+ data: X
11341
11341
  }), (r = this.map) == null || r.addLayer({
11342
11342
  id: this.interpolateLineLayer,
11343
11343
  type: "line",
@@ -11371,7 +11371,7 @@ const Pm = {
11371
11371
  G.properties.nameCn = me, G.properties.Name = ((d = (m = G.properties.name) == null ? void 0 : m.trim()) == null ? void 0 : d.replace(/^./, (ye) => ye.toUpperCase())) || G.properties.nameCn, ee.push(G);
11372
11372
  }
11373
11373
  let ne = this.Theme.current.value.colors["tropicals-ty"];
11374
- ((g = (h = G.properties) == null ? void 0 : h.wind) == null ? void 0 : g.kts) < 32 || !((u = (w = G.properties) == null ? void 0 : w.wind) != null && u.kts) ? ne = this.Theme.current.value.colors["tropicals-td"] : ((f = (p = G.properties) == null ? void 0 : p.wind) == null ? void 0 : f.kts) >= 32 && ((P = (L = G.properties) == null ? void 0 : L.wind) == null ? void 0 : P.kts) < 47 ? ne = this.Theme.current.value.colors["tropicals-ts"] : ((v = (k = G.properties) == null ? void 0 : k.wind) == null ? void 0 : v.kts) >= 47 && ((C = (T = G.properties) == null ? void 0 : T.wind) == null ? void 0 : C.kts) < 63 ? ne = this.Theme.current.value.colors["tropicals-sts"] : ((D = (S = G.properties) == null ? void 0 : S.wind) == null ? void 0 : D.kts) >= 63 && ((E = (I = G.properties) == null ? void 0 : I.wind) == null ? void 0 : E.kts) < 79 ? ne = this.Theme.current.value.colors["tropicals-ty"] : ((H = (Z = G.properties) == null ? void 0 : Z.wind) == null ? void 0 : H.kts) >= 79 && ((ae = (Q = G.properties) == null ? void 0 : Q.wind) == null ? void 0 : ae.kts) < 94 ? ne = this.Theme.current.value.colors["tropicals-sty"] : ((pe = (re = G.properties) == null ? void 0 : re.wind) == null ? void 0 : pe.kts) >= 94 ? ne = this.Theme.current.value.colors["tropicals-super-ty"] : ne = this.Theme.current.value.colors["tropicals-ty"];
11374
+ ((g = (h = G.properties) == null ? void 0 : h.wind) == null ? void 0 : g.kts) < 32 || !((u = (w = G.properties) == null ? void 0 : w.wind) != null && u.kts) ? ne = this.Theme.current.value.colors["tropicals-td"] : ((f = (p = G.properties) == null ? void 0 : p.wind) == null ? void 0 : f.kts) >= 32 && ((P = (L = G.properties) == null ? void 0 : L.wind) == null ? void 0 : P.kts) < 47 ? ne = this.Theme.current.value.colors["tropicals-ts"] : ((v = (k = G.properties) == null ? void 0 : k.wind) == null ? void 0 : v.kts) >= 47 && ((C = (T = G.properties) == null ? void 0 : T.wind) == null ? void 0 : C.kts) < 63 ? ne = this.Theme.current.value.colors["tropicals-sts"] : ((D = (S = G.properties) == null ? void 0 : S.wind) == null ? void 0 : D.kts) >= 63 && ((E = (I = G.properties) == null ? void 0 : I.wind) == null ? void 0 : E.kts) < 79 ? ne = this.Theme.current.value.colors["tropicals-ty"] : ((O = (j = G.properties) == null ? void 0 : j.wind) == null ? void 0 : O.kts) >= 79 && ((ae = (q = G.properties) == null ? void 0 : q.wind) == null ? void 0 : ae.kts) < 94 ? ne = this.Theme.current.value.colors["tropicals-sty"] : ((pe = (re = G.properties) == null ? void 0 : re.wind) == null ? void 0 : pe.kts) >= 94 ? ne = this.Theme.current.value.colors["tropicals-super-ty"] : ne = this.Theme.current.value.colors["tropicals-ty"];
11375
11375
  const fe = `<svg t="1719918955501"
11376
11376
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
11377
11377
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -11678,7 +11678,7 @@ function ch(e, t, a, i, o, r) {
11678
11678
  onClick: Le((I) => r.handleForecastToggle(S), ["stop"])
11679
11679
  }, {
11680
11680
  default: x(() => [
11681
- O(y(S.model), 1)
11681
+ Z(y(S.model), 1)
11682
11682
  ]),
11683
11683
  _: 2
11684
11684
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -11706,7 +11706,7 @@ function ch(e, t, a, i, o, r) {
11706
11706
  n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
11707
11707
  ])),
11708
11708
  default: x(() => [
11709
- O(" " + y(e.$t("weather.legend")), 1)
11709
+ Z(" " + y(e.$t("weather.legend")), 1)
11710
11710
  ]),
11711
11711
  _: 1
11712
11712
  }, 8, ["color"]),
@@ -11719,7 +11719,7 @@ function ch(e, t, a, i, o, r) {
11719
11719
  onClick: t[1] || (t[1] = Le((u) => r.handleStrikeProbability(o.activeTropicals), ["stop"]))
11720
11720
  }, {
11721
11721
  default: x(() => [
11722
- O(y(e.$t("actions.viewReport")), 1)
11722
+ Z(y(e.$t("actions.viewReport")), 1)
11723
11723
  ]),
11724
11724
  _: 1
11725
11725
  })
@@ -11857,7 +11857,7 @@ function ch(e, t, a, i, o, r) {
11857
11857
  b(w),
11858
11858
  b(s, { class: "text-body-1" }, {
11859
11859
  default: x(() => {
11860
- var u, p, f, L, P, k, v, T, C, S, D, I, E, Z, H, Q, ae, re, pe, F;
11860
+ var u, p, f, L, P, k, v, T, C, S, D, I, E, j, O, q, ae, re, pe, F;
11861
11861
  return [
11862
11862
  n("div", Od, [
11863
11863
  ((u = o.hoverPoint) == null ? void 0 : u.type) === "forecast" ? (_(), A("div", Vd, [
@@ -11886,11 +11886,11 @@ function ch(e, t, a, i, o, r) {
11886
11886
  ])) : W("", !0),
11887
11887
  n("div", th, [
11888
11888
  n("label", ah, y(e.$t("weather.pressure")) + " : ", 1),
11889
- n("span", null, y(((Z = o.hoverPoint) == null ? void 0 : Z.pressure) ?? "-") + " hPa", 1)
11889
+ n("span", null, y(((j = o.hoverPoint) == null ? void 0 : j.pressure) ?? "-") + " hPa", 1)
11890
11890
  ]),
11891
- ((H = o.hoverPoint) == null ? void 0 : H.type) === "history" ? (_(), A("div", oh, [
11891
+ ((O = o.hoverPoint) == null ? void 0 : O.type) === "history" ? (_(), A("div", oh, [
11892
11892
  n("label", ih, y(e.$t("tropical.moveSpeed")) + " : ", 1),
11893
- n("span", null, y(((ae = JSON.parse((Q = o.hoverPoint) == null ? void 0 : Q.movement)) == null ? void 0 : ae.kts) ?? "-") + " kts", 1)
11893
+ n("span", null, y(((ae = JSON.parse((q = o.hoverPoint) == null ? void 0 : q.movement)) == null ? void 0 : ae.kts) ?? "-") + " kts", 1)
11894
11894
  ])) : W("", !0),
11895
11895
  ((re = o.hoverPoint) == null ? void 0 : re.type) === "history" ? (_(), A("div", rh, [
11896
11896
  n("label", lh, y(e.$t("tropical.moveDir")) + " : ", 1),
@@ -12162,7 +12162,7 @@ function gh(e, t, a, i, o, r) {
12162
12162
  onClick: (L) => o.currentTime = p
12163
12163
  }, {
12164
12164
  default: x(() => [
12165
- O(y(p), 1)
12165
+ Z(y(p), 1)
12166
12166
  ]),
12167
12167
  _: 2
12168
12168
  }, 1032, ["onClick"])
@@ -12189,7 +12189,7 @@ function gh(e, t, a, i, o, r) {
12189
12189
  onClick: r.handleCancelDate
12190
12190
  }, {
12191
12191
  default: x(() => [
12192
- O(y(e.$t("actions.cancel")), 1)
12192
+ Z(y(e.$t("actions.cancel")), 1)
12193
12193
  ]),
12194
12194
  _: 1
12195
12195
  }, 8, ["onClick"]),
@@ -12201,7 +12201,7 @@ function gh(e, t, a, i, o, r) {
12201
12201
  onClick: r.handleConfirmDate
12202
12202
  }, {
12203
12203
  default: x(() => [
12204
- O(y(e.$t("actions.confirm")), 1)
12204
+ Z(y(e.$t("actions.confirm")), 1)
12205
12205
  ]),
12206
12206
  _: 1
12207
12207
  }, 8, ["onClick"])
@@ -13119,12 +13119,12 @@ const fh = {
13119
13119
  },
13120
13120
  computePosition() {
13121
13121
  return function(e) {
13122
- return !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat) ? "-" : X.lat2pretty(e == null ? void 0 : e.lat, 2).pretty + " / " + X.lng2pretty(e == null ? void 0 : e.lng, 2).pretty;
13122
+ return !e || e.lng === null || e.lng === void 0 || isNaN(e.lng) || e.lat === null || e.lat === void 0 || isNaN(e.lat) ? "-" : H.lat2pretty(e == null ? void 0 : e.lat, 2).pretty + " / " + H.lng2pretty(e == null ? void 0 : e.lng, 2).pretty;
13123
13123
  };
13124
13124
  },
13125
13125
  computeRoundPrecision() {
13126
13126
  return function(e, t = 4) {
13127
- return e == null || isNaN(e) || isNaN(t) ? "-" : X.roundPrecision(e, t);
13127
+ return e == null || isNaN(e) || isNaN(t) ? "-" : H.roundPrecision(e, t);
13128
13128
  };
13129
13129
  }
13130
13130
  },
@@ -13261,10 +13261,10 @@ const fh = {
13261
13261
  }), this.loading = !1;
13262
13262
  },
13263
13263
  initTableData(e) {
13264
- var a, i, o, r, l, c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, Z, H, Q, ae, re, pe, F, J, K, oe, Y, j, ee, G, ne, fe;
13264
+ var a, i, o, r, l, c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, j, O, q, ae, re, pe, F, J, K, oe, Y, X, ee, G, ne, fe;
13265
13265
  this.currentHourData = {}, this.positionGmt = (i = (a = e == null ? void 0 : e.weather) == null ? void 0 : a[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (o = e == null ? void 0 : e.weather) == null ? void 0 : o[0]) == null ? void 0 : r.offset;
13266
13266
  const t = ((l = Oa.pickHourly(e, R(this.form.dateTime))) == null ? void 0 : l[0]) || {};
13267
- this.currentHourData.utc = t.utc, this.currentHourData.lat = e.lat, this.currentHourData.lng = e.lng, this.currentHourData.temp = this.computeRoundPrecision((c = t == null ? void 0 : t.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((m = (s = t == null ? void 0 : t.weather) == null ? void 0 : s.precip) == null ? void 0 : m.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((h = (d = t == null ? void 0 : t.weather) == null ? void 0 : d.precip) == null ? void 0 : h.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = t == null ? void 0 : t.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (w = t == null ? void 0 : t.weather) == null ? void 0 : w.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (p = t == null ? void 0 : t.weather) == null ? void 0 : p.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((P = (L = t == null ? void 0 : t.weather) == null ? void 0 : L.wind) == null ? void 0 : P.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((v = (k = t == null ? void 0 : t.weather) == null ? void 0 : k.wind) == null ? void 0 : v.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (T = t == null ? void 0 : t.wave) == null ? void 0 : T.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (D = (S = t == null ? void 0 : t.wave) == null ? void 0 : S.sig) == null ? void 0 : D.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((E = (I = t == null ? void 0 : t.wave) == null ? void 0 : I.sig) == null ? void 0 : E.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((H = (Z = t == null ? void 0 : t.wave) == null ? void 0 : Z.wd) == null ? void 0 : H.height, 1) ?? "-", this.currentHourData.windwaveDir = (ae = (Q = t == null ? void 0 : t.wave) == null ? void 0 : Q.wd) == null ? void 0 : ae.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((pe = (re = t == null ? void 0 : t.wave) == null ? void 0 : re.wd) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (F = t == null ? void 0 : t.wave) == null ? void 0 : F.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (oe = (K = t == null ? void 0 : t.wave) == null ? void 0 : K.swell) == null ? void 0 : oe.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((j = (Y = t == null ? void 0 : t.wave) == null ? void 0 : Y.swell) == null ? void 0 : j.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ee = t == null ? void 0 : t.current) == null ? void 0 : ee.speed, 1) ?? "-", this.currentHourData.currentDir = (G = t == null ? void 0 : t.current) == null ? void 0 : G.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((ne = t == null ? void 0 : t.current) == null ? void 0 : ne.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(t == null ? void 0 : t.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(t == null ? void 0 : t.sst, 0) ?? "-", this.currentHourData.weatherUrls = (fe = t == null ? void 0 : t.weather) == null ? void 0 : fe.url;
13267
+ this.currentHourData.utc = t.utc, this.currentHourData.lat = e.lat, this.currentHourData.lng = e.lng, this.currentHourData.temp = this.computeRoundPrecision((c = t == null ? void 0 : t.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((m = (s = t == null ? void 0 : t.weather) == null ? void 0 : s.precip) == null ? void 0 : m.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((h = (d = t == null ? void 0 : t.weather) == null ? void 0 : d.precip) == null ? void 0 : h.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((g = t == null ? void 0 : t.weather) == null ? void 0 : g.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (w = t == null ? void 0 : t.weather) == null ? void 0 : w.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (p = t == null ? void 0 : t.weather) == null ? void 0 : p.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((P = (L = t == null ? void 0 : t.weather) == null ? void 0 : L.wind) == null ? void 0 : P.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((v = (k = t == null ? void 0 : t.weather) == null ? void 0 : k.wind) == null ? void 0 : v.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (T = t == null ? void 0 : t.wave) == null ? void 0 : T.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (D = (S = t == null ? void 0 : t.wave) == null ? void 0 : S.sig) == null ? void 0 : D.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((E = (I = t == null ? void 0 : t.wave) == null ? void 0 : I.sig) == null ? void 0 : E.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((O = (j = t == null ? void 0 : t.wave) == null ? void 0 : j.wd) == null ? void 0 : O.height, 1) ?? "-", this.currentHourData.windwaveDir = (ae = (q = t == null ? void 0 : t.wave) == null ? void 0 : q.wd) == null ? void 0 : ae.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((pe = (re = t == null ? void 0 : t.wave) == null ? void 0 : re.wd) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (F = t == null ? void 0 : t.wave) == null ? void 0 : F.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (oe = (K = t == null ? void 0 : t.wave) == null ? void 0 : K.swell) == null ? void 0 : oe.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((X = (Y = t == null ? void 0 : t.wave) == null ? void 0 : Y.swell) == null ? void 0 : X.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ee = t == null ? void 0 : t.current) == null ? void 0 : ee.speed, 1) ?? "-", this.currentHourData.currentDir = (G = t == null ? void 0 : t.current) == null ? void 0 : G.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((ne = t == null ? void 0 : t.current) == null ? void 0 : ne.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(t == null ? void 0 : t.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(t == null ? void 0 : t.sst, 0) ?? "-", this.currentHourData.weatherUrls = (fe = t == null ? void 0 : t.weather) == null ? void 0 : fe.url;
13268
13268
  },
13269
13269
  handleBind() {
13270
13270
  var e, t;
@@ -13281,7 +13281,7 @@ const fh = {
13281
13281
  handleGetPosition(e) {
13282
13282
  if (isNaN(e.lat) || isNaN(e.lng))
13283
13283
  return !1;
13284
- this.form.latDegree = Number(X.lat2pretty(e.lat).degree), this.form.latMinute = Number(X.lat2pretty(e.lat).minute), this.form.latDirection = X.lat2pretty(e.lat).direction, this.form.lngDegree = Number(X.lng2pretty(e.lng).degree), this.form.lngMinute = Number(X.lng2pretty(e.lng).minute), this.form.lngDirection = X.lng2pretty(e.lng).direction;
13284
+ this.form.latDegree = Number(H.lat2pretty(e.lat).degree), this.form.latMinute = Number(H.lat2pretty(e.lat).minute), this.form.latDirection = H.lat2pretty(e.lat).direction, this.form.lngDegree = Number(H.lng2pretty(e.lng).degree), this.form.lngMinute = Number(H.lng2pretty(e.lng).minute), this.form.lngDirection = H.lng2pretty(e.lng).direction;
13285
13285
  },
13286
13286
  handleDrawInfoMarker(e) {
13287
13287
  this.drawPositionMarker(e), this.simple || this.drawMeteoInfoMarker(e);
@@ -13444,7 +13444,7 @@ function yp(e, t, a, i, o, r) {
13444
13444
  default: x(() => [
13445
13445
  n("div", xh, [
13446
13446
  n("div", vh, [
13447
- O(y(e.$t("spot.lat")), 1),
13447
+ Z(y(e.$t("spot.lat")), 1),
13448
13448
  t[10] || (t[10] = n("span", { class: "text-danger" }, "*", -1))
13449
13449
  ])
13450
13450
  ]),
@@ -13510,7 +13510,7 @@ function yp(e, t, a, i, o, r) {
13510
13510
  onClick: t[2] || (t[2] = (k) => o.form.latDirection = o.form.latDirection === "N" ? "S" : "N")
13511
13511
  }, {
13512
13512
  default: x(() => [
13513
- O(y(o.form.latDirection), 1)
13513
+ Z(y(o.form.latDirection), 1)
13514
13514
  ]),
13515
13515
  _: 1
13516
13516
  })
@@ -13522,7 +13522,7 @@ function yp(e, t, a, i, o, r) {
13522
13522
  }),
13523
13523
  n("div", kh, [
13524
13524
  n("div", _h, [
13525
- O(y(e.$t("spot.lng")), 1),
13525
+ Z(y(e.$t("spot.lng")), 1),
13526
13526
  t[13] || (t[13] = n("span", { class: "text-danger" }, "*", -1))
13527
13527
  ])
13528
13528
  ]),
@@ -13585,7 +13585,7 @@ function yp(e, t, a, i, o, r) {
13585
13585
  onClick: t[5] || (t[5] = (k) => o.form.lngDirection = o.form.lngDirection === "E" ? "W" : "E")
13586
13586
  }, {
13587
13587
  default: x(() => [
13588
- O(y(o.form.lngDirection), 1)
13588
+ Z(y(o.form.lngDirection), 1)
13589
13589
  ]),
13590
13590
  _: 1
13591
13591
  })
@@ -13597,7 +13597,7 @@ function yp(e, t, a, i, o, r) {
13597
13597
  }),
13598
13598
  n("div", Lh, [
13599
13599
  n("div", zh, [
13600
- O(y(e.$t("spot.dateTime")), 1),
13600
+ Z(y(e.$t("spot.dateTime")), 1),
13601
13601
  t[16] || (t[16] = n("span", { class: "text-danger" }, "*", -1))
13602
13602
  ])
13603
13603
  ]),
@@ -13622,7 +13622,7 @@ function yp(e, t, a, i, o, r) {
13622
13622
  }),
13623
13623
  n("div", Ch, [
13624
13624
  n("div", Mh, [
13625
- O(y(e.$t("weather.forecastModel")), 1),
13625
+ Z(y(e.$t("weather.forecastModel")), 1),
13626
13626
  t[17] || (t[17] = n("span", { class: "text-danger" }, "*", -1))
13627
13627
  ])
13628
13628
  ]),
@@ -13652,7 +13652,7 @@ function yp(e, t, a, i, o, r) {
13652
13652
  "base-color": ""
13653
13653
  }, {
13654
13654
  default: x(() => t[18] || (t[18] = [
13655
- O("NOAA", -1)
13655
+ Z("NOAA", -1)
13656
13656
  ])),
13657
13657
  _: 1,
13658
13658
  __: [18]
@@ -13666,7 +13666,7 @@ function yp(e, t, a, i, o, r) {
13666
13666
  value: "ECMWF"
13667
13667
  }, {
13668
13668
  default: x(() => t[19] || (t[19] = [
13669
- O("ECMWF", -1)
13669
+ Z("ECMWF", -1)
13670
13670
  ])),
13671
13671
  _: 1,
13672
13672
  __: [19]
@@ -13693,7 +13693,7 @@ function yp(e, t, a, i, o, r) {
13693
13693
  onClick: r.cancelForm
13694
13694
  }, {
13695
13695
  default: x(() => [
13696
- O(y(e.$t("actions.clear")), 1)
13696
+ Z(y(e.$t("actions.clear")), 1)
13697
13697
  ]),
13698
13698
  _: 1
13699
13699
  }, 8, ["onClick"]),
@@ -13707,7 +13707,7 @@ function yp(e, t, a, i, o, r) {
13707
13707
  class: "text-none text-body-1"
13708
13708
  }, {
13709
13709
  default: x(() => [
13710
- O(y(e.$t("actions.confirm")), 1)
13710
+ Z(y(e.$t("actions.confirm")), 1)
13711
13711
  ]),
13712
13712
  _: 1
13713
13713
  }, 8, ["loading"])
@@ -13808,7 +13808,7 @@ function yp(e, t, a, i, o, r) {
13808
13808
  n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
13809
13809
  ])),
13810
13810
  default: x(() => [
13811
- O(" " + y(e.$t("actions.unfollow")), 1)
13811
+ Z(" " + y(e.$t("actions.unfollow")), 1)
13812
13812
  ]),
13813
13813
  _: 1
13814
13814
  }, 8, ["onClick"])) : (_(), B(l, {
@@ -13824,7 +13824,7 @@ function yp(e, t, a, i, o, r) {
13824
13824
  n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
13825
13825
  ])),
13826
13826
  default: x(() => [
13827
- O(y(e.$t("actions.follow")) + " ", 1)
13827
+ Z(y(e.$t("actions.follow")) + " ", 1)
13828
13828
  ]),
13829
13829
  _: 1
13830
13830
  }, 8, ["onClick"])),
@@ -13837,7 +13837,7 @@ function yp(e, t, a, i, o, r) {
13837
13837
  onClick: Le(r.handleMeteoMore, ["stop"])
13838
13838
  }, {
13839
13839
  default: x(() => [
13840
- O(y(e.$t("spot.forecast")), 1)
13840
+ Z(y(e.$t("spot.forecast")), 1)
13841
13841
  ]),
13842
13842
  _: 1
13843
13843
  }, 8, ["onClick"])
@@ -14166,13 +14166,13 @@ const wp = {
14166
14166
  const i = [];
14167
14167
  for (let o = 1; o < t.length; o++) {
14168
14168
  const r = t[o - 1], l = t[o], c = r.properties, s = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, m = { lng: l.geometry.coordinates[0], lat: l.geometry.coordinates[1] }, d = We.calculateDistance(s, m, c.mode === "RL", 4), h = We.calculateBearing(s, m, c.mode === "RL", 2);
14169
- a = X.roundPrecision(a + d, 4);
14169
+ a = H.roundPrecision(a + d, 4);
14170
14170
  let g;
14171
- c.mode === "RL" ? g = X.convertToMonotonicLng([s, m]) : g = X.convertToMonotonicLng(We.interpolateCoordinates(s, m, 200));
14171
+ c.mode === "RL" ? g = H.convertToMonotonicLng([s, m]) : g = H.convertToMonotonicLng(We.interpolateCoordinates(s, m, 200));
14172
14172
  const w = N.lineString(g.map((p) => [p.lng, p.lat]));
14173
14173
  w.properties.dist = d, w.properties.bearing = h, w.properties.total = a, w.properties.name = "Line " + this.currentLineIndex, i.push(w);
14174
14174
  const u = t[o];
14175
- u.properties.totalDist = X.roundPrecision((c.totalDist ? c.totalDist : 0) + d, 4), u.properties.sumLabel = u.properties.totalDist + " nm";
14175
+ u.properties.totalDist = H.roundPrecision((c.totalDist ? c.totalDist : 0) + d, 4), u.properties.sumLabel = u.properties.totalDist + " nm";
14176
14176
  }
14177
14177
  t.push(...i), e.total = a;
14178
14178
  }
@@ -14185,7 +14185,7 @@ const wp = {
14185
14185
  const s = t.properties, m = { lng: t.geometry.coordinates[0], lat: t.geometry.coordinates[1] }, d = { lng: a.lng, lat: a.lat };
14186
14186
  r = We.calculateDistance(m, d, s.mode === "RL", 4), l = We.calculateBearing(m, d, s.mode === "RL", 2);
14187
14187
  let h;
14188
- s.mode === "RL" ? h = X.convertToMonotonicLng([m, d]) : h = X.convertToMonotonicLng(We.interpolateCoordinates(m, d, 200));
14188
+ s.mode === "RL" ? h = H.convertToMonotonicLng([m, d]) : h = H.convertToMonotonicLng(We.interpolateCoordinates(m, d, 200));
14189
14189
  const g = N.lineString(h.map((w) => [w.lng, w.lat]));
14190
14190
  g.properties.dist = r, g.properties.bearing = l, o.features.push(g);
14191
14191
  }
@@ -14193,7 +14193,7 @@ const wp = {
14193
14193
  const s = a.properties, m = a, d = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
14194
14194
  r = We.calculateDistance(m, d, s.mode === "RL", 4), l = We.calculateBearing(m, d, s.mode === "RL", 2);
14195
14195
  let h;
14196
- s.mode === "RL" ? h = X.convertToMonotonicLng([m, d]) : h = X.convertToMonotonicLng(We.interpolateCoordinates(m, d, 200));
14196
+ s.mode === "RL" ? h = H.convertToMonotonicLng([m, d]) : h = H.convertToMonotonicLng(We.interpolateCoordinates(m, d, 200));
14197
14197
  const g = N.lineString(h.map((w) => [w.lng, w.lat]));
14198
14198
  g.properties.dist = r, g.properties.bearing = l, o.features.push(g);
14199
14199
  }
@@ -14239,7 +14239,7 @@ const wp = {
14239
14239
  if (i)
14240
14240
  c = `<div class="marker-label">${this.$t("measure.dragTips")}</div>`;
14241
14241
  else {
14242
- const s = X.roundPrecision((e.total ?? 0) + r, 1);
14242
+ const s = H.roundPrecision((e.total ?? 0) + r, 1);
14243
14243
  c = `<div class="marker-label">${this.$t("measure.totalDistance")}: <b>${s}</b>nm, ${this.$t(
14244
14244
  "measure.bearing"
14245
14245
  )}: <b>${l}</b>°</div><div class="marker-label"> ${this.$t("measure.mode")}${this.navigation === "RL" ? "RL" : "GC"}, ${this.$t(
@@ -14554,7 +14554,7 @@ const _p = {
14554
14554
  if (i === "Point") {
14555
14555
  this.markerType = "Point";
14556
14556
  const [s, m] = a.geometry.coordinates;
14557
- this.drawCoords = [[s, m]], this.form.latDegree = Number(X.lat2pretty(m).degree), this.form.latMinute = Number(X.lat2pretty(m).minute), this.form.latDir = X.lat2pretty(m).direction, this.form.lngDegree = Number(X.lng2pretty(s).degree), this.form.lngMinute = Number(X.lng2pretty(s).minute), this.form.lngDir = X.lng2pretty(s).direction, this.handleRenderPoint(this.drawCoords, this.form.color), this.setupPointEdit();
14557
+ this.drawCoords = [[s, m]], this.form.latDegree = Number(H.lat2pretty(m).degree), this.form.latMinute = Number(H.lat2pretty(m).minute), this.form.latDir = H.lat2pretty(m).direction, this.form.lngDegree = Number(H.lng2pretty(s).degree), this.form.lngMinute = Number(H.lng2pretty(s).minute), this.form.lngDir = H.lng2pretty(s).direction, this.handleRenderPoint(this.drawCoords, this.form.color), this.setupPointEdit();
14558
14558
  } else
14559
14559
  i === "LineString" ? (this.markerType = "Line", this.$nextTick(() => {
14560
14560
  this.handlerRenderEditLine(a), this.setupLineEdit(), this.handleUnbindMap();
@@ -14577,7 +14577,7 @@ const _p = {
14577
14577
  },
14578
14578
  handlePointDrag() {
14579
14579
  const { lng: e, lat: t } = this.pointMarker.getLngLat();
14580
- this.drawCoords = [[e, t]], this.form.latDegree = Number(X.lat2pretty(t).degree), this.form.latMinute = Number(X.lat2pretty(t).minute), this.form.latDir = X.lat2pretty(t).direction, this.form.lngDegree = Number(X.lng2pretty(e).degree), this.form.lngMinute = Number(X.lng2pretty(e).minute), this.form.lngDir = X.lng2pretty(e).direction;
14580
+ this.drawCoords = [[e, t]], this.form.latDegree = Number(H.lat2pretty(t).degree), this.form.latMinute = Number(H.lat2pretty(t).minute), this.form.latDir = H.lat2pretty(t).direction, this.form.lngDegree = Number(H.lng2pretty(e).degree), this.form.lngMinute = Number(H.lng2pretty(e).minute), this.form.lngDir = H.lng2pretty(e).direction;
14581
14581
  },
14582
14582
  clearEditMarkers() {
14583
14583
  this.editMarkers.forEach((e) => e.remove()), this.editMarkers = [], this._edgeContextMenuHandler && this.map && (this.map.off("contextmenu", this._edgeContextMenuHandler), this._edgeContextMenuHandler = null);
@@ -14763,7 +14763,7 @@ const _p = {
14763
14763
  handleMapClickPoint(e) {
14764
14764
  var i;
14765
14765
  const { lng: t, lat: a } = e.lngLat;
14766
- this.drawCoords = [[t, a]], this.form.latDegree = Number(X.lat2pretty(a).degree), this.form.latMinute = Number(X.lat2pretty(a).minute), this.form.latDir = X.lat2pretty(a).direction, this.form.lngDegree = Number(X.lng2pretty(t).degree), this.form.lngMinute = Number(X.lng2pretty(t).minute), this.form.lngDir = X.lng2pretty(t).direction, this.handleRenderPoint(this.drawCoords, this.form.color), (i = this.editLayer) != null && i.id && this.setupPointEdit();
14766
+ this.drawCoords = [[t, a]], this.form.latDegree = Number(H.lat2pretty(a).degree), this.form.latMinute = Number(H.lat2pretty(a).minute), this.form.latDir = H.lat2pretty(a).direction, this.form.lngDegree = Number(H.lng2pretty(t).degree), this.form.lngMinute = Number(H.lng2pretty(t).minute), this.form.lngDir = H.lng2pretty(t).direction, this.handleRenderPoint(this.drawCoords, this.form.color), (i = this.editLayer) != null && i.id && this.setupPointEdit();
14767
14767
  },
14768
14768
  handleChangePoint() {
14769
14769
  var g;
@@ -14809,7 +14809,7 @@ const _p = {
14809
14809
  const s = { lng: (l = e == null ? void 0 : e[r - 1]) == null ? void 0 : l[0], lat: (c = e == null ? void 0 : e[r - 1]) == null ? void 0 : c[1] }, m = { lng: o[0], lat: o[1] }, d = this.segmentNavs[r - 1] || this.getNavigation(s, m);
14810
14810
  let h;
14811
14811
  try {
14812
- d === "GC" ? h = X.convertToMonotonicLng(We.interpolateCoordinates(s, m, 200)) : h = X.convertToMonotonicLng([s, m]);
14812
+ d === "GC" ? h = H.convertToMonotonicLng(We.interpolateCoordinates(s, m, 200)) : h = H.convertToMonotonicLng([s, m]);
14813
14813
  } catch {
14814
14814
  h = [s, m];
14815
14815
  }
@@ -14844,7 +14844,7 @@ const _p = {
14844
14844
  handleRenderTmpLine(e, t) {
14845
14845
  const a = { lng: e[0], lat: e[1] }, i = { lng: t[0], lat: t[1] }, o = this.form.navigation || this.getNavigation(a, i);
14846
14846
  let r;
14847
- o === "GC" ? r = X.convertToMonotonicLng(We.interpolateCoordinates(a, i, 200)) : r = X.convertToMonotonicLng([a, i]);
14847
+ o === "GC" ? r = H.convertToMonotonicLng(We.interpolateCoordinates(a, i, 200)) : r = H.convertToMonotonicLng([a, i]);
14848
14848
  const l = N.featureCollection([N.lineString(r.map((h) => [h.lng, h.lat]))]);
14849
14849
  this.map.getSource(this.drawTmpSource) ? this.map.getSource(this.drawTmpSource).setData(l) : this.map.addSource(this.drawTmpSource, { type: "geojson", data: l }), this.map.getLayer(this.drawTmpLayer) || this.map.addLayer({
14850
14850
  id: this.drawTmpLayer,
@@ -14863,7 +14863,7 @@ const _p = {
14863
14863
  const g = { lng: this.drawCoords[h - 1][0], lat: this.drawCoords[h - 1][1] }, w = { lng: this.drawCoords[h][0], lat: this.drawCoords[h][1] }, u = this.segmentNavs[h - 1] || this.getNavigation(g, w);
14864
14864
  m += We.calculateDistance(g, w, u === "RL", 4);
14865
14865
  }
14866
- m = X.roundPrecision(m + c, 1);
14866
+ m = H.roundPrecision(m + c, 1);
14867
14867
  const d = `
14868
14868
  <div class="marker-label">${this.$t("measure.totalDistance")}: <b>${m}</b>nm, ${this.$t("measure.bearing")}: <b>${s}</b>°</div>
14869
14869
  <div class="marker-label">${this.$t("measure.mode")}<b>${o}</b>, ${this.$t("measure.switchTips")}</div>
@@ -14949,7 +14949,7 @@ const _p = {
14949
14949
  const i = a[0] - t[0], o = a[1] - t[1];
14950
14950
  let r = "center";
14951
14951
  o >= 0 && i >= 0 ? r = "bottom-left" : o >= 0 && i < 0 ? r = "bottom-right" : o < 0 && i >= 0 ? r = "top-left" : r = "top-right";
14952
- const l = X.lat2pretty(a[1], 2).pretty, c = X.lng2pretty(a[0], 2).pretty, s = document.createElement("div");
14952
+ const l = H.lat2pretty(a[1], 2).pretty, c = H.lng2pretty(a[0], 2).pretty, s = document.createElement("div");
14953
14953
  s.className = "idm-gl4-draw-corner-label " + r, s.innerHTML = `<span class="corner-text">${l} <br/> ${c}</span>`;
14954
14954
  const m = new be.Marker(s, { anchor: r }).setLngLat(a).addTo(this.map);
14955
14955
  this.polygonVertexMarkers.push(m);
@@ -14990,13 +14990,13 @@ const _p = {
14990
14990
  this.handleSetDrawSource(r), this.map.getLayer(this.drawFillLayer) || this.handleRenderAreaLayers(), this.handleRenderRadiusLine(t, a, i);
14991
14991
  },
14992
14992
  handleRenderCircleCenterLabel(e) {
14993
- const t = X.lat2pretty(e[1], 2).pretty, a = X.lng2pretty(e[0], 2).pretty, i = document.createElement("div");
14993
+ const t = H.lat2pretty(e[1], 2).pretty, a = H.lng2pretty(e[0], 2).pretty, i = document.createElement("div");
14994
14994
  i.className = "idm-gl4-draw-corner-label bottom-right", i.innerHTML = `<span class="corner-text">${t} <br/> ${a}</span>`;
14995
14995
  const o = new be.Marker(i, { anchor: "bottom-right" }).setLngLat(e).addTo(this.map);
14996
14996
  this.circleMarkers.push(o);
14997
14997
  },
14998
14998
  handleRenderRadiusLine(e, t, a) {
14999
- const i = X.roundPrecision(a / 1.852, 2), o = N.featureCollection([N.lineString([e, t])]);
14999
+ const i = H.roundPrecision(a / 1.852, 2), o = N.featureCollection([N.lineString([e, t])]);
15000
15000
  this.map.getSource(this.drawRadiusSource) ? this.map.getSource(this.drawRadiusSource).setData(o) : this.map.addSource(this.drawRadiusSource, { type: "geojson", data: o }), this.map.getLayer(this.drawRadiusLayer) || this.map.addLayer({
15001
15001
  id: this.drawRadiusLayer,
15002
15002
  type: "line",
@@ -15103,7 +15103,7 @@ const _p = {
15103
15103
  { coord: [a, o], anchor: "top-right" }
15104
15104
  ];
15105
15105
  this.handleClearRectCorners(), l.forEach(({ coord: c, anchor: s }) => {
15106
- const m = X.lat2pretty(c[1], 2).pretty, d = X.lng2pretty(c[0], 2).pretty, h = document.createElement("div");
15106
+ const m = H.lat2pretty(c[1], 2).pretty, d = H.lng2pretty(c[0], 2).pretty, h = document.createElement("div");
15107
15107
  h.className = "idm-gl4-draw-corner-label " + s, h.innerHTML = `<span class="corner-text">${m} <br/> ${d}</span>`;
15108
15108
  const g = new be.Marker(h, { anchor: s }).setLngLat(c).addTo(this.map);
15109
15109
  this.rectCornerMarkers.push(g);
@@ -15327,7 +15327,7 @@ function Kp(e, t, a, i, o, r) {
15327
15327
  var v;
15328
15328
  return [
15329
15329
  n("div", Cp, [
15330
- O(y(e.$t("marker.markerType")), 1),
15330
+ Z(y(e.$t("marker.markerType")), 1),
15331
15331
  t[22] || (t[22] = n("span", { class: "text-danger" }, "*", -1))
15332
15332
  ]),
15333
15333
  b(g, {
@@ -15350,7 +15350,7 @@ function Kp(e, t, a, i, o, r) {
15350
15350
  "min-height": "32px"
15351
15351
  }, {
15352
15352
  default: x(() => [
15353
- O(y(e.$t("marker.point")), 1)
15353
+ Z(y(e.$t("marker.point")), 1)
15354
15354
  ]),
15355
15355
  _: 1
15356
15356
  }, 8, ["class", "color"]),
@@ -15363,7 +15363,7 @@ function Kp(e, t, a, i, o, r) {
15363
15363
  "min-height": "32px"
15364
15364
  }, {
15365
15365
  default: x(() => [
15366
- O(y(e.$t("marker.line")), 1)
15366
+ Z(y(e.$t("marker.line")), 1)
15367
15367
  ]),
15368
15368
  _: 1
15369
15369
  }, 8, ["class", "color"]),
@@ -15375,7 +15375,7 @@ function Kp(e, t, a, i, o, r) {
15375
15375
  "min-height": "32px"
15376
15376
  }, {
15377
15377
  default: x(() => [
15378
- O(y(e.$t("marker.area")), 1)
15378
+ Z(y(e.$t("marker.area")), 1)
15379
15379
  ]),
15380
15380
  _: 1
15381
15381
  }, 8, ["class", "color"])
@@ -15398,7 +15398,7 @@ function Kp(e, t, a, i, o, r) {
15398
15398
  default: x(() => [
15399
15399
  n("div", Mp, [
15400
15400
  n("div", Pp, [
15401
- O(y(e.$t("marker.lat")), 1),
15401
+ Z(y(e.$t("marker.lat")), 1),
15402
15402
  t[23] || (t[23] = n("span", { class: "text-danger" }, "*", -1))
15403
15403
  ]),
15404
15404
  b(p, { class: "ma-0" }, {
@@ -15473,7 +15473,7 @@ function Kp(e, t, a, i, o, r) {
15473
15473
  onClick: t[5] || (t[5] = (v) => (o.form.latDir = o.form.latDir === "N" ? "S" : "N", r.handleChangePoint()))
15474
15474
  }, {
15475
15475
  default: x(() => [
15476
- O(y(o.form.latDir), 1)
15476
+ Z(y(o.form.latDir), 1)
15477
15477
  ]),
15478
15478
  _: 1
15479
15479
  })
@@ -15486,7 +15486,7 @@ function Kp(e, t, a, i, o, r) {
15486
15486
  ]),
15487
15487
  n("div", Sp, [
15488
15488
  n("div", Tp, [
15489
- O(y(e.$t("marker.lng")), 1),
15489
+ Z(y(e.$t("marker.lng")), 1),
15490
15490
  t[26] || (t[26] = n("span", { class: "text-danger" }, "*", -1))
15491
15491
  ]),
15492
15492
  b(p, { class: "ma-0" }, {
@@ -15551,7 +15551,7 @@ function Kp(e, t, a, i, o, r) {
15551
15551
  onClick: t[10] || (t[10] = (v) => (o.form.lngDir = o.form.lngDir === "E" ? "W" : "E", r.handleChangePoint()))
15552
15552
  }, {
15553
15553
  default: x(() => [
15554
- O(y(o.form.lngDir), 1)
15554
+ Z(y(o.form.lngDir), 1)
15555
15555
  ]),
15556
15556
  _: 1
15557
15557
  })
@@ -15564,7 +15564,7 @@ function Kp(e, t, a, i, o, r) {
15564
15564
  ]),
15565
15565
  n("div", Rp, [
15566
15566
  n("div", Dp, [
15567
- O(y(e.$t("marker.color")), 1),
15567
+ Z(y(e.$t("marker.color")), 1),
15568
15568
  t[29] || (t[29] = n("span", { class: "text-danger" }, "*", -1))
15569
15569
  ]),
15570
15570
  n("div", Ip, [
@@ -15586,7 +15586,7 @@ function Kp(e, t, a, i, o, r) {
15586
15586
  ]),
15587
15587
  n("div", Fp, [
15588
15588
  n("div", Gp, [
15589
- O(y(e.$t("marker.name")), 1),
15589
+ Z(y(e.$t("marker.name")), 1),
15590
15590
  t[30] || (t[30] = n("span", { class: "text-danger" }, "*", -1))
15591
15591
  ]),
15592
15592
  b(m, {
@@ -15612,7 +15612,7 @@ function Kp(e, t, a, i, o, r) {
15612
15612
  onClick: r.handleClearDraw
15613
15613
  }, {
15614
15614
  default: x(() => [
15615
- O(y(e.$t("marker.clearMap")), 1)
15615
+ Z(y(e.$t("marker.clearMap")), 1)
15616
15616
  ]),
15617
15617
  _: 1
15618
15618
  }, 8, ["onClick"]),
@@ -15623,7 +15623,7 @@ function Kp(e, t, a, i, o, r) {
15623
15623
  onClick: r.handleClearAll
15624
15624
  }, {
15625
15625
  default: x(() => [
15626
- O(y(e.$t("actions.clear")), 1)
15626
+ Z(y(e.$t("actions.clear")), 1)
15627
15627
  ]),
15628
15628
  _: 1
15629
15629
  }, 8, ["onClick"]),
@@ -15636,7 +15636,7 @@ function Kp(e, t, a, i, o, r) {
15636
15636
  loading: o.saving
15637
15637
  }, {
15638
15638
  default: x(() => [
15639
- O(y(e.$t("actions.save")), 1)
15639
+ Z(y(e.$t("actions.save")), 1)
15640
15640
  ]),
15641
15641
  _: 1
15642
15642
  }, 8, ["loading"])
@@ -15658,7 +15658,7 @@ function Kp(e, t, a, i, o, r) {
15658
15658
  default: x(() => [
15659
15659
  n("div", Np, [
15660
15660
  n("div", Wp, [
15661
- O(y(e.$t("marker.color")), 1),
15661
+ Z(y(e.$t("marker.color")), 1),
15662
15662
  t[31] || (t[31] = n("span", { class: "text-danger" }, "*", -1))
15663
15663
  ]),
15664
15664
  n("div", Ep, [
@@ -15680,7 +15680,7 @@ function Kp(e, t, a, i, o, r) {
15680
15680
  ]),
15681
15681
  n("div", Zp, [
15682
15682
  n("div", Op, [
15683
- O(y(e.$t("marker.name")), 1),
15683
+ Z(y(e.$t("marker.name")), 1),
15684
15684
  t[32] || (t[32] = n("span", { class: "text-danger" }, "*", -1))
15685
15685
  ]),
15686
15686
  b(m, {
@@ -15706,7 +15706,7 @@ function Kp(e, t, a, i, o, r) {
15706
15706
  onClick: r.handleClearDraw
15707
15707
  }, {
15708
15708
  default: x(() => [
15709
- O(y(e.$t("marker.clearMap")), 1)
15709
+ Z(y(e.$t("marker.clearMap")), 1)
15710
15710
  ]),
15711
15711
  _: 1
15712
15712
  }, 8, ["onClick"]),
@@ -15717,7 +15717,7 @@ function Kp(e, t, a, i, o, r) {
15717
15717
  onClick: r.handleClearAll
15718
15718
  }, {
15719
15719
  default: x(() => [
15720
- O(y(e.$t("actions.clear")), 1)
15720
+ Z(y(e.$t("actions.clear")), 1)
15721
15721
  ]),
15722
15722
  _: 1
15723
15723
  }, 8, ["onClick"]),
@@ -15730,7 +15730,7 @@ function Kp(e, t, a, i, o, r) {
15730
15730
  loading: o.saving
15731
15731
  }, {
15732
15732
  default: x(() => [
15733
- O(y(e.$t("actions.save")), 1)
15733
+ Z(y(e.$t("actions.save")), 1)
15734
15734
  ]),
15735
15735
  _: 1
15736
15736
  }, 8, ["loading"])
@@ -15754,7 +15754,7 @@ function Kp(e, t, a, i, o, r) {
15754
15754
  return [
15755
15755
  n("div", Vp, [
15756
15756
  n("div", jp, [
15757
- O(y(e.$t("marker.areaType")), 1),
15757
+ Z(y(e.$t("marker.areaType")), 1),
15758
15758
  t[33] || (t[33] = n("span", { class: "text-danger" }, "*", -1))
15759
15759
  ]),
15760
15760
  b(g, {
@@ -15778,7 +15778,7 @@ function Kp(e, t, a, i, o, r) {
15778
15778
  "min-height": "32px"
15779
15779
  }, {
15780
15780
  default: x(() => [
15781
- O(y(e.$t("marker.polygon")), 1)
15781
+ Z(y(e.$t("marker.polygon")), 1)
15782
15782
  ]),
15783
15783
  _: 1
15784
15784
  }, 8, ["class", "color"]),
@@ -15792,7 +15792,7 @@ function Kp(e, t, a, i, o, r) {
15792
15792
  "min-height": "32px"
15793
15793
  }, {
15794
15794
  default: x(() => [
15795
- O(y(e.$t("marker.circle")), 1)
15795
+ Z(y(e.$t("marker.circle")), 1)
15796
15796
  ]),
15797
15797
  _: 1
15798
15798
  }, 8, ["class", "color"]),
@@ -15805,7 +15805,7 @@ function Kp(e, t, a, i, o, r) {
15805
15805
  "min-height": "32px"
15806
15806
  }, {
15807
15807
  default: x(() => [
15808
- O(y(e.$t("marker.rect")), 1)
15808
+ Z(y(e.$t("marker.rect")), 1)
15809
15809
  ]),
15810
15810
  _: 1
15811
15811
  }, 8, ["class", "color"])
@@ -15815,7 +15815,7 @@ function Kp(e, t, a, i, o, r) {
15815
15815
  ]),
15816
15816
  n("div", Xp, [
15817
15817
  n("div", Hp, [
15818
- O(y(e.$t("marker.color")), 1),
15818
+ Z(y(e.$t("marker.color")), 1),
15819
15819
  t[34] || (t[34] = n("span", { class: "text-danger" }, "*", -1))
15820
15820
  ]),
15821
15821
  n("div", Yp, [
@@ -15837,7 +15837,7 @@ function Kp(e, t, a, i, o, r) {
15837
15837
  ]),
15838
15838
  n("div", $p, [
15839
15839
  n("div", Jp, [
15840
- O(y(e.$t("marker.name")), 1),
15840
+ Z(y(e.$t("marker.name")), 1),
15841
15841
  t[35] || (t[35] = n("span", { class: "text-danger" }, "*", -1))
15842
15842
  ]),
15843
15843
  b(m, {
@@ -15867,7 +15867,7 @@ function Kp(e, t, a, i, o, r) {
15867
15867
  onClick: r.handleClearDraw
15868
15868
  }, {
15869
15869
  default: x(() => [
15870
- O(y(e.$t("marker.clearMap")), 1)
15870
+ Z(y(e.$t("marker.clearMap")), 1)
15871
15871
  ]),
15872
15872
  _: 1
15873
15873
  }, 8, ["onClick"])),
@@ -15878,7 +15878,7 @@ function Kp(e, t, a, i, o, r) {
15878
15878
  onClick: r.handleClearAll
15879
15879
  }, {
15880
15880
  default: x(() => [
15881
- O(y(e.$t("actions.reset")), 1)
15881
+ Z(y(e.$t("actions.reset")), 1)
15882
15882
  ]),
15883
15883
  _: 1
15884
15884
  }, 8, ["onClick"]),
@@ -15891,7 +15891,7 @@ function Kp(e, t, a, i, o, r) {
15891
15891
  loading: o.saving
15892
15892
  }, {
15893
15893
  default: x(() => [
15894
- O(y(e.$t("actions.save")), 1)
15894
+ Z(y(e.$t("actions.save")), 1)
15895
15895
  ]),
15896
15896
  _: 1
15897
15897
  }, 8, ["loading"])
@@ -16198,7 +16198,7 @@ function cu(e, t, a, i, o, r) {
16198
16198
  default: x(() => [
16199
16199
  n("div", tu, [
16200
16200
  n("div", au, [
16201
- O(y(e.$t("marker.group")), 1),
16201
+ Z(y(e.$t("marker.group")), 1),
16202
16202
  t[8] || (t[8] = n("span", { class: "text-danger" }, "*", -1))
16203
16203
  ]),
16204
16204
  b(m, {
@@ -16225,7 +16225,7 @@ function cu(e, t, a, i, o, r) {
16225
16225
  class: "mb-2"
16226
16226
  }, {
16227
16227
  default: x(() => t[9] || (t[9] = [
16228
- O("mdi-cloud-upload-outline", -1)
16228
+ Z("mdi-cloud-upload-outline", -1)
16229
16229
  ])),
16230
16230
  _: 1,
16231
16231
  __: [9]
@@ -16254,7 +16254,7 @@ function cu(e, t, a, i, o, r) {
16254
16254
  default: x(() => [
16255
16255
  b(d, { size: "16" }, {
16256
16256
  default: x(() => t[10] || (t[10] = [
16257
- O("mdi-close", -1)
16257
+ Z("mdi-close", -1)
16258
16258
  ])),
16259
16259
  _: 1,
16260
16260
  __: [10]
@@ -16276,7 +16276,7 @@ function cu(e, t, a, i, o, r) {
16276
16276
  onClick: r.handleReset
16277
16277
  }, {
16278
16278
  default: x(() => [
16279
- O(y(e.$t("actions.reset")), 1)
16279
+ Z(y(e.$t("actions.reset")), 1)
16280
16280
  ]),
16281
16281
  _: 1
16282
16282
  }, 8, ["onClick"]),
@@ -16289,7 +16289,7 @@ function cu(e, t, a, i, o, r) {
16289
16289
  loading: o.uploading
16290
16290
  }, {
16291
16291
  default: x(() => [
16292
- O(y(e.$t("actions.confirm")), 1)
16292
+ Z(y(e.$t("actions.confirm")), 1)
16293
16293
  ]),
16294
16294
  _: 1
16295
16295
  }, 8, ["loading"])
@@ -16402,7 +16402,7 @@ function uu(e, t, a, i, o, r) {
16402
16402
  b(d, { class: "px-4 text-body-1" }, {
16403
16403
  default: x(() => [
16404
16404
  n("div", pu, [
16405
- O(y(e.$t("marker.groupName")), 1),
16405
+ Z(y(e.$t("marker.groupName")), 1),
16406
16406
  t[3] || (t[3] = n("span", { class: "text-danger" }, "*", -1))
16407
16407
  ]),
16408
16408
  b(m, {
@@ -16429,7 +16429,7 @@ function uu(e, t, a, i, o, r) {
16429
16429
  onClick: r.handleClose
16430
16430
  }, {
16431
16431
  default: x(() => [
16432
- O(y(e.$t("actions.cancel")), 1)
16432
+ Z(y(e.$t("actions.cancel")), 1)
16433
16433
  ]),
16434
16434
  _: 1
16435
16435
  }, 8, ["onClick"]),
@@ -16442,7 +16442,7 @@ function uu(e, t, a, i, o, r) {
16442
16442
  onClick: r.handleConfirm
16443
16443
  }, {
16444
16444
  default: x(() => [
16445
- O(y(e.$t("actions.confirm")), 1)
16445
+ Z(y(e.$t("actions.confirm")), 1)
16446
16446
  ]),
16447
16447
  _: 1
16448
16448
  }, 8, ["loading", "onClick"])
@@ -16546,7 +16546,7 @@ function wu(e, t, a, i, o, r) {
16546
16546
  onClick: r.handleClose
16547
16547
  }, {
16548
16548
  default: x(() => [
16549
- O(y(e.$t("actions.cancel")), 1)
16549
+ Z(y(e.$t("actions.cancel")), 1)
16550
16550
  ]),
16551
16551
  _: 1
16552
16552
  }, 8, ["onClick"]),
@@ -16559,7 +16559,7 @@ function wu(e, t, a, i, o, r) {
16559
16559
  onClick: r.handleDelete
16560
16560
  }, {
16561
16561
  default: x(() => [
16562
- O(y(e.$t("actions.delete")), 1)
16562
+ Z(y(e.$t("actions.delete")), 1)
16563
16563
  ]),
16564
16564
  _: 1
16565
16565
  }, 8, ["loading", "onClick"])
@@ -17014,7 +17014,7 @@ function Eu(e, t, a, i, o, r) {
17014
17014
  onClick: t[2] || (t[2] = (I) => r.handleOpenDrawMarkers())
17015
17015
  }, {
17016
17016
  default: x(() => [
17017
- O(y(e.$t("actions.add")), 1)
17017
+ Z(y(e.$t("actions.add")), 1)
17018
17018
  ]),
17019
17019
  _: 1
17020
17020
  }),
@@ -17029,15 +17029,15 @@ function Eu(e, t, a, i, o, r) {
17029
17029
  onClick: r.handleOpenImportDialog
17030
17030
  }, {
17031
17031
  default: x(() => [
17032
- O(y(e.$t("actions.import")), 1)
17032
+ Z(y(e.$t("actions.import")), 1)
17033
17033
  ]),
17034
17034
  _: 1
17035
17035
  }, 8, ["onClick"])
17036
17036
  ]))
17037
17037
  ]),
17038
17038
  n("div", Tu, [
17039
- (_(!0), A(Te, null, De(o.layerGroup, (I) => {
17040
- var E;
17039
+ (_(!0), A(Te, null, De(o.layerGroup, (I, E) => {
17040
+ var j;
17041
17041
  return _(), A("div", {
17042
17042
  key: I.name,
17043
17043
  class: ge(["btn-bg-1", I.index === o.layerGroup.length ? "rounded-b" : I.index === 1 ? "rounded-t" : ""])
@@ -17047,11 +17047,11 @@ function Eu(e, t, a, i, o, r) {
17047
17047
  I.show ? (_(), B(m, {
17048
17048
  key: 0,
17049
17049
  icon: "mdi-chevron-down",
17050
- onClick: (Z) => I.show = !1
17050
+ onClick: (O) => I.show = !1
17051
17051
  }, null, 8, ["onClick"])) : (_(), B(m, {
17052
17052
  key: 1,
17053
17053
  icon: "mdi-chevron-right",
17054
- onClick: (Z) => I.show = !0
17054
+ onClick: (O) => I.show = !0
17055
17055
  }, null, 8, ["onClick"])),
17056
17056
  o.loading ? (_(), B(g, {
17057
17057
  key: 3,
@@ -17066,19 +17066,19 @@ function Eu(e, t, a, i, o, r) {
17066
17066
  variant: "tonal",
17067
17067
  class: "font-weight-600 mr-2",
17068
17068
  color: "primary",
17069
- onClick: (Z) => I.show = !I.show
17069
+ onClick: (O) => I.show = !I.show
17070
17070
  }, {
17071
17071
  default: x(() => {
17072
- var Z;
17072
+ var O;
17073
17073
  return [
17074
- O(y((Z = I.layers) == null ? void 0 : Z.length), 1)
17074
+ Z(y((O = I.layers) == null ? void 0 : O.length), 1)
17075
17075
  ];
17076
17076
  }),
17077
17077
  _: 2
17078
17078
  }, 1032, ["onClick"])),
17079
17079
  n("div", {
17080
17080
  class: "",
17081
- onClick: (Z) => I.show = !I.show
17081
+ onClick: (O) => I.show = !I.show
17082
17082
  }, y(I.name), 9, Iu)
17083
17083
  ]),
17084
17084
  I.name !== "Custom Layers" && !a.simple ? (_(), A("div", Au, [
@@ -17110,7 +17110,7 @@ function Eu(e, t, a, i, o, r) {
17110
17110
  default: x(() => [
17111
17111
  b(w, {
17112
17112
  class: "text-body-1 d-flex jusity-center align-center",
17113
- onClick: (Z) => r.handleOpenDrawMarkers(I)
17113
+ onClick: (O) => r.handleOpenDrawMarkers(I)
17114
17114
  }, {
17115
17115
  default: x(() => [
17116
17116
  b(m, {
@@ -17134,7 +17134,7 @@ function Eu(e, t, a, i, o, r) {
17134
17134
  default: x(() => [
17135
17135
  b(w, {
17136
17136
  class: "text-body-1 d-flex jusity-center align-center",
17137
- onClick: (Z) => r.handleEditGroup(I)
17137
+ onClick: (O) => r.handleEditGroup(I)
17138
17138
  }, {
17139
17139
  default: x(() => [
17140
17140
  b(m, {
@@ -17158,7 +17158,7 @@ function Eu(e, t, a, i, o, r) {
17158
17158
  default: x(() => [
17159
17159
  b(w, {
17160
17160
  class: "text-body-1 d-flex jusity-center align-center",
17161
- onClick: (Z) => r.handleOpenDelete("group", I)
17161
+ onClick: (O) => r.handleOpenDelete("group", I)
17162
17162
  }, {
17163
17163
  default: x(() => [
17164
17164
  b(m, {
@@ -17188,17 +17188,17 @@ function Eu(e, t, a, i, o, r) {
17188
17188
  ])) : W("", !0)
17189
17189
  ]),
17190
17190
  I.show ? (_(), A("div", Fu, [
17191
- (_(!0), A(Te, null, De((E = I.layers) == null ? void 0 : E.filter((Z) => {
17192
- var H;
17193
- return ((H = Z.name) == null ? void 0 : H.indexOf(o.keyword)) > -1;
17194
- }), (Z) => {
17195
- var H;
17191
+ (_(!0), A(Te, null, De((j = I.layers) == null ? void 0 : j.filter((O) => {
17192
+ var q;
17193
+ return ((q = O.name) == null ? void 0 : q.indexOf(o.keyword)) > -1;
17194
+ }), (O) => {
17195
+ var q;
17196
17196
  return _(), A("div", {
17197
- key: Z.id,
17198
- class: ge(["layer-item py-4 px-2 mx-2 rounded cursor-pointer d-flex align-center justify-space-between", ((H = o.currentLayer) == null ? void 0 : H.id) === Z.id ? "active" : ""])
17197
+ key: O.id,
17198
+ class: ge(["layer-item py-2 px-2 mx-2 rounded cursor-pointer d-flex align-center justify-space-between", ((q = o.currentLayer) == null ? void 0 : q.id) === O.id ? "active" : ""])
17199
17199
  }, [
17200
17200
  n("div", Gu, [
17201
- n("span", Nu, y(Z == null ? void 0 : Z.name), 1)
17201
+ n("span", Nu, y(O == null ? void 0 : O.name), 1)
17202
17202
  ]),
17203
17203
  a.simple ? W("", !0) : (_(), A("div", Wu, [
17204
17204
  b(l, {
@@ -17206,7 +17206,7 @@ function Eu(e, t, a, i, o, r) {
17206
17206
  density: "compact",
17207
17207
  icon: "",
17208
17208
  variant: "text",
17209
- onClick: (Q) => r.handleEditLayer(I, Z)
17209
+ onClick: (ae) => r.handleEditLayer(I, O)
17210
17210
  }, {
17211
17211
  default: x(() => [
17212
17212
  b(m, {
@@ -17222,7 +17222,7 @@ function Eu(e, t, a, i, o, r) {
17222
17222
  icon: "",
17223
17223
  variant: "text",
17224
17224
  loading: o.deleteLoading,
17225
- onClick: (Q) => r.handleOpenDelete("layer", Z)
17225
+ onClick: (ae) => r.handleOpenDelete("layer", O)
17226
17226
  }, {
17227
17227
  default: x(() => [
17228
17228
  b(m, {
@@ -17236,7 +17236,7 @@ function Eu(e, t, a, i, o, r) {
17236
17236
  ], 2);
17237
17237
  }), 128))
17238
17238
  ])) : W("", !0),
17239
- I.index < o.layerGroup.length ? (_(), B(k, {
17239
+ E < o.layerGroup.length - 1 ? (_(), B(k, {
17240
17240
  key: 1,
17241
17241
  class: "w-100",
17242
17242
  thickness: "1"
@@ -18007,22 +18007,22 @@ async function mr(e, t, a, i) {
18007
18007
  }
18008
18008
  }
18009
18009
  async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFonts: i = [], useProxy: o = "" } = {}) {
18010
- var p, f, L, P, k, v, T, C, S, D, I, E, Z, H, Q, ae, re, pe;
18010
+ var p, f, L, P, k, v, T, C, S, D, I, E, j, O, q, ae, re, pe;
18011
18011
  e instanceof Set || (e = /* @__PURE__ */ new Set()), t instanceof Set || (t = /* @__PURE__ */ new Set());
18012
18012
  let r = /* @__PURE__ */ new Map();
18013
18013
  for (let F of e) {
18014
18014
  let [J, K, oe, Y] = String(F).split("__");
18015
18015
  if (!J)
18016
18016
  continue;
18017
- let j = r.get(J) || [];
18018
- j.push({ w: parseInt(K, 10), s: oe, st: parseInt(Y, 10) }), r.set(J, j);
18017
+ let X = r.get(J) || [];
18018
+ X.push({ w: parseInt(K, 10), s: oe, st: parseInt(Y, 10) }), r.set(J, X);
18019
18019
  }
18020
18020
  function l(F, J, K, oe) {
18021
18021
  if (!r.has(F))
18022
18022
  return !1;
18023
- let Y = r.get(F), j = gg(K), ee = fg(J), G = yg(oe), ne = j.min !== j.max, fe = j.min, ke = (me) => ee.kind === "normal" && me === "normal" || ee.kind !== "normal" && (me === "italic" || me === "oblique"), ze = !1;
18023
+ let Y = r.get(F), X = gg(K), ee = fg(J), G = yg(oe), ne = X.min !== X.max, fe = X.min, ke = (me) => ee.kind === "normal" && me === "normal" || ee.kind !== "normal" && (me === "italic" || me === "oblique"), ze = !1;
18024
18024
  for (let me of Y) {
18025
- let ye = ne ? me.w >= j.min && me.w <= j.max : me.w === fe, _e = ke(Ua(me.s)), Re = me.st >= G.min && me.st <= G.max;
18025
+ let ye = ne ? me.w >= X.min && me.w <= X.max : me.w === fe, _e = ke(Ua(me.s)), Re = me.st >= G.min && me.st <= G.max;
18026
18026
  if (ye && _e && Re) {
18027
18027
  ze = !0;
18028
18028
  break;
@@ -18074,11 +18074,11 @@ async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
18074
18074
  if (!K && !bg(F.href, m))
18075
18075
  continue;
18076
18076
  if (K) {
18077
- let Y = Array.from(document.styleSheets).find((j) => j.href === F.href);
18077
+ let Y = Array.from(document.styleSheets).find((X) => X.href === F.href);
18078
18078
  if (Y)
18079
18079
  try {
18080
- let j = Y.cssRules || [];
18081
- J = Array.from(j).map((ee) => ee.cssText).join("");
18080
+ let X = Y.cssRules || [];
18081
+ J = Array.from(X).map((ee) => ee.cssText).join("");
18082
18082
  } catch {
18083
18083
  }
18084
18084
  }
@@ -18087,7 +18087,7 @@ async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
18087
18087
  J = await xg(J, F.href, o);
18088
18088
  let oe = "";
18089
18089
  for (let Y of J.match(vg) || []) {
18090
- let j = (((f = Y.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : f[1]) || "").trim(), ee = eo(j);
18090
+ let X = (((f = Y.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : f[1]) || "").trim(), ee = eo(X);
18091
18091
  if (!ee || Je(ee))
18092
18092
  continue;
18093
18093
  let G = (((L = Y.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : L[1]) || "400").trim(), ne = (((P = Y.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : P[1]) || "normal").trim(), fe = (((k = Y.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : k[1]) || "100%").trim(), ke = (((v = Y.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "").trim(), ze = (((T = Y.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : T[1]) || "").trim(), me = bo(ze, F.href);
@@ -18149,19 +18149,19 @@ async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
18149
18149
  let J = String(F.family || "").replace(/^['"]+|['"]+$/g, "");
18150
18150
  if (!J || Je(J) || !r.has(J) || a != null && a.families && a.families.some((G) => String(G).toLowerCase() === J.toLowerCase()))
18151
18151
  continue;
18152
- let K = F.weight != null ? String(F.weight) : "normal", oe = F.style != null ? String(F.style) : "normal", Y = F.stretchPct != null ? `${F.stretchPct}%` : "100%", j = String(F.src || ""), ee = j;
18152
+ let K = F.weight != null ? String(F.weight) : "normal", oe = F.style != null ? String(F.style) : "normal", Y = F.stretchPct != null ? `${F.stretchPct}%` : "100%", X = String(F.src || ""), ee = X;
18153
18153
  if (!ee.startsWith("data:")) {
18154
- if ((Z = V.resource) != null && Z.has(j))
18155
- ee = V.resource.get(j), (H = V.font) == null || H.add(j);
18156
- else if (!((Q = V.font) != null && Q.has(j)))
18154
+ if ((j = V.resource) != null && j.has(X))
18155
+ ee = V.resource.get(X), (O = V.font) == null || O.add(X);
18156
+ else if (!((q = V.font) != null && q.has(X)))
18157
18157
  try {
18158
- let G = await $e(j, { as: "dataURL", useProxy: o, silent: !0 });
18158
+ let G = await $e(X, { as: "dataURL", useProxy: o, silent: !0 });
18159
18159
  if (G.ok && typeof G.data == "string")
18160
- ee = G.data, (ae = V.resource) == null || ae.set(j, ee), (re = V.font) == null || re.add(j);
18160
+ ee = G.data, (ae = V.resource) == null || ae.set(X, ee), (re = V.font) == null || re.add(X);
18161
18161
  else
18162
18162
  continue;
18163
18163
  } catch {
18164
- console.warn("[snapDOM] Failed to fetch localFonts src:", j);
18164
+ console.warn("[snapDOM] Failed to fetch localFonts src:", X);
18165
18165
  continue;
18166
18166
  }
18167
18167
  }
@@ -18980,8 +18980,8 @@ async function $a(e, t, a) {
18980
18980
  } catch {
18981
18981
  E = ((w = I.assignedNodes) == null ? void 0 : w.call(I)) || [];
18982
18982
  }
18983
- for (let Z of E)
18984
- i.add(Z);
18983
+ for (let j of E)
18984
+ i.add(j);
18985
18985
  }
18986
18986
  } catch {
18987
18987
  }
@@ -19361,13 +19361,13 @@ async function gr(e, t, a, i) {
19361
19361
  let Y = getComputedStyle(e);
19362
19362
  if (!(w.color !== Y.color || w.fontSize !== Y.fontSize || w.fontWeight !== Y.fontWeight))
19363
19363
  continue;
19364
- let j = Array.from(t.childNodes).find((ye) => {
19364
+ let X = Array.from(t.childNodes).find((ye) => {
19365
19365
  var _e;
19366
19366
  return ye.nodeType === Node.TEXT_NODE && ((_e = ye.textContent) == null ? void 0 : _e.trim().length) > 0;
19367
19367
  });
19368
- if (!j)
19368
+ if (!X)
19369
19369
  continue;
19370
- let ee = j.textContent, G = (d = ee.match(/^([^\p{L}\p{N}\s]*[\p{L}\p{N}](?:['’])?)/u)) == null ? void 0 : d[0], ne = ee.slice((G == null ? void 0 : G.length) || 0);
19370
+ let ee = X.textContent, G = (d = ee.match(/^([^\p{L}\p{N}\s]*[\p{L}\p{N}](?:['’])?)/u)) == null ? void 0 : d[0], ne = ee.slice((G == null ? void 0 : G.length) || 0);
19371
19371
  if (!G || /[\uD800-\uDFFF]/.test(G))
19372
19372
  continue;
19373
19373
  let fe = document.createElement("span");
@@ -19375,18 +19375,18 @@ async function gr(e, t, a, i) {
19375
19375
  let ke = Fi(w), ze = io(ke, "span");
19376
19376
  a.styleMap.set(fe, ze);
19377
19377
  let me = document.createTextNode(ne);
19378
- t.replaceChild(me, j), t.insertBefore(fe, me);
19378
+ t.replaceChild(me, X), t.insertBefore(fe, me);
19379
19379
  continue;
19380
19380
  }
19381
- let u = w.content ?? "", p = u === "" || u === "none" || u === "normal", { text: f, incs: L } = b0(e, g, l), P = w.backgroundImage, k = w.backgroundColor, v = w.fontFamily, T = parseInt(w.fontSize) || 32, C = parseInt(w.fontWeight) || !1, S = w.color || "#000", D = w.borderStyle, I = parseFloat(w.borderWidth), E = w.transform, Z = Je(v), H = !p && f !== "", Q = P && P !== "none", ae = k && k !== "transparent" && k !== "rgba(0, 0, 0, 0)", re = D && D !== "none" && I > 0, pe = E && E !== "none";
19382
- if (!(H || Q || ae || re || pe)) {
19381
+ let u = w.content ?? "", p = u === "" || u === "none" || u === "normal", { text: f, incs: L } = b0(e, g, l), P = w.backgroundImage, k = w.backgroundColor, v = w.fontFamily, T = parseInt(w.fontSize) || 32, C = parseInt(w.fontWeight) || !1, S = w.color || "#000", D = w.borderStyle, I = parseFloat(w.borderWidth), E = w.transform, j = Je(v), O = !p && f !== "", q = P && P !== "none", ae = k && k !== "transparent" && k !== "rgba(0, 0, 0, 0)", re = D && D !== "none" && I > 0, pe = E && E !== "none";
19382
+ if (!(O || q || ae || re || pe)) {
19383
19383
  if (L && L.length && e.parentElement) {
19384
19384
  let Y = st.get(e.parentElement) || /* @__PURE__ */ new Map();
19385
- for (let { name: j } of L) {
19386
- if (!j)
19385
+ for (let { name: X } of L) {
19386
+ if (!X)
19387
19387
  continue;
19388
- let ee = mo(e, l), G = ho(e, getComputedStyle(e, g), ee).get(e, j);
19389
- Y.set(j, G);
19388
+ let ee = mo(e, l), G = ho(e, getComputedStyle(e, g), ee).get(e, X);
19389
+ Y.set(X, G);
19390
19390
  }
19391
19391
  st.set(e.parentElement, Y);
19392
19392
  }
@@ -19395,36 +19395,36 @@ async function gr(e, t, a, i) {
19395
19395
  let F = document.createElement("span");
19396
19396
  F.dataset.snapdomPseudo = g, F.style.pointerEvents = "none";
19397
19397
  let J = Fi(w), K = io(J, "span");
19398
- if (a.styleMap.set(F, K), Z && f && f.length === 1) {
19399
- let { dataUrl: Y, width: j, height: ee } = await hg(f, v, C, T, S), G = document.createElement("img");
19400
- G.src = Y, G.style = `height:${T}px;width:${j / ee * T}px;object-fit:contain;`, F.appendChild(G), t.dataset.snapdomHasIcon = "true";
19398
+ if (a.styleMap.set(F, K), j && f && f.length === 1) {
19399
+ let { dataUrl: Y, width: X, height: ee } = await hg(f, v, C, T, S), G = document.createElement("img");
19400
+ G.src = Y, G.style = `height:${T}px;width:${X / ee * T}px;object-fit:contain;`, F.appendChild(G), t.dataset.snapdomHasIcon = "true";
19401
19401
  } else if (f && f.startsWith("url(")) {
19402
19402
  let Y = fo(f);
19403
19403
  if (Y != null && Y.trim())
19404
19404
  try {
19405
- let j = document.createElement("img"), ee = await $e(Ka(Y), { as: "dataURL", useProxy: i.useProxy });
19406
- j.src = ee.data, j.style = `width:${T}px;height:auto;object-fit:contain;`, F.appendChild(j);
19407
- } catch (j) {
19408
- console.error(`[snapdom] Error in pseudo ${g} for`, e, j);
19405
+ let X = document.createElement("img"), ee = await $e(Ka(Y), { as: "dataURL", useProxy: i.useProxy });
19406
+ X.src = ee.data, X.style = `width:${T}px;height:auto;object-fit:contain;`, F.appendChild(X);
19407
+ } catch (X) {
19408
+ console.error(`[snapdom] Error in pseudo ${g} for`, e, X);
19409
19409
  }
19410
19410
  } else
19411
- !Z && H && (F.textContent = f);
19411
+ !j && O && (F.textContent = f);
19412
19412
  F.style.backgroundImage = "none", "maskImage" in F.style && (F.style.maskImage = "none"), "webkitMaskImage" in F.style && (F.style.webkitMaskImage = "none");
19413
19413
  try {
19414
19414
  F.style.backgroundRepeat = w.backgroundRepeat, F.style.backgroundSize = w.backgroundSize, w.backgroundPositionX && w.backgroundPositionY ? (F.style.backgroundPositionX = w.backgroundPositionX, F.style.backgroundPositionY = w.backgroundPositionY) : F.style.backgroundPosition = w.backgroundPosition, F.style.backgroundOrigin = w.backgroundOrigin, F.style.backgroundClip = w.backgroundClip, F.style.backgroundAttachment = w.backgroundAttachment, F.style.backgroundBlendMode = w.backgroundBlendMode;
19415
19415
  } catch {
19416
19416
  }
19417
- if (Q)
19417
+ if (q)
19418
19418
  try {
19419
- let Y = rr(P), j = await Promise.all(Y.map(ar));
19420
- F.style.backgroundImage = j.join(", ");
19419
+ let Y = rr(P), X = await Promise.all(Y.map(ar));
19420
+ F.style.backgroundImage = X.join(", ");
19421
19421
  } catch (Y) {
19422
19422
  console.warn(`[snapdom] Failed to inline background-image for ${g}`, Y);
19423
19423
  }
19424
19424
  ae && (F.style.backgroundColor = k);
19425
- let oe = F.childNodes.length > 0 || ((h = F.textContent) == null ? void 0 : h.trim()) !== "" || Q || ae || re || pe;
19425
+ let oe = F.childNodes.length > 0 || ((h = F.textContent) == null ? void 0 : h.trim()) !== "" || q || ae || re || pe;
19426
19426
  if (L && L.length && e.parentElement) {
19427
- let Y = st.get(e.parentElement) || /* @__PURE__ */ new Map(), j = mo(e, l), ee = ho(e, getComputedStyle(e, g), j);
19427
+ let Y = st.get(e.parentElement) || /* @__PURE__ */ new Map(), X = mo(e, l), ee = ho(e, getComputedStyle(e, g), X);
19428
19428
  for (let { name: G } of L) {
19429
19429
  if (!G)
19430
19430
  continue;
@@ -19465,8 +19465,8 @@ function w0(e, t) {
19465
19465
  continue;
19466
19466
  if (E.name === "href")
19467
19467
  return E.value;
19468
- let Z = E.name.indexOf(":");
19469
- if (Z !== -1 && E.name.slice(Z + 1) === "href")
19468
+ let j = E.name.indexOf(":");
19469
+ if (j !== -1 && E.name.slice(j + 1) === "href")
19470
19470
  return E.value;
19471
19471
  }
19472
19472
  return null;
@@ -19487,8 +19487,8 @@ function w0(e, t) {
19487
19487
  if (!E || !E.startsWith("#"))
19488
19488
  continue;
19489
19489
  g = !0;
19490
- let Z = E.slice(1).trim();
19491
- Z && !d.has(Z) && h.add(Z);
19490
+ let j = E.slice(1).trim();
19491
+ j && !d.has(j) && h.add(j);
19492
19492
  }
19493
19493
  let D = C.querySelectorAll('*[style*="url("],*[fill^="url("], *[stroke^="url("],*[filter^="url("],*[clip-path^="url("],*[mask^="url("],*[marker^="url("],*[marker-start^="url("],*[marker-mid^="url("],*[marker-end^="url("]');
19494
19494
  for (let I of D) {
@@ -19529,15 +19529,15 @@ function w0(e, t) {
19529
19529
  D.id || D.setAttribute("id", C), f.appendChild(D), k.add(C), d.add(C);
19530
19530
  let I = [D, ...D.querySelectorAll("*")];
19531
19531
  for (let E of I) {
19532
- let Z = m(E);
19533
- if (Z && Z.startsWith("#")) {
19534
- let Q = Z.slice(1).trim();
19535
- Q && !d.has(Q) && !k.has(Q) && P.add(Q);
19532
+ let j = m(E);
19533
+ if (j && j.startsWith("#")) {
19534
+ let q = j.slice(1).trim();
19535
+ q && !d.has(q) && !k.has(q) && P.add(q);
19536
19536
  }
19537
- let H = ((v = E.getAttribute) == null ? void 0 : v.call(E, "style")) || "";
19538
- H && w(H, P);
19539
- for (let Q of l) {
19540
- let ae = (T = E.getAttribute) == null ? void 0 : T.call(E, Q);
19537
+ let O = ((v = E.getAttribute) == null ? void 0 : v.call(E, "style")) || "";
19538
+ O && w(O, P);
19539
+ for (let q of l) {
19540
+ let ae = (T = E.getAttribute) == null ? void 0 : T.call(E, q);
19541
19541
  ae && w(ae, P);
19542
19542
  }
19543
19543
  }
@@ -20101,8 +20101,8 @@ async function yr(e, t) {
20101
20101
  let D = (U, xe = NaN) => {
20102
20102
  let Fe = typeof U == "string" ? parseFloat(U) : U;
20103
20103
  return Number.isFinite(Fe) ? Fe : xe;
20104
- }, I = D(r.options.width), E = D(r.options.height), Z = C, H = S, Q = Number.isFinite(I), ae = Number.isFinite(E), re = S > 0 ? C / S : 1;
20105
- Q && ae ? (Z = Math.max(1, ce(I)), H = Math.max(1, ce(E))) : Q ? (Z = Math.max(1, ce(I)), H = Math.max(1, ce(Z / (re || 1)))) : ae ? (H = Math.max(1, ce(E)), Z = Math.max(1, ce(H * (re || 1)))) : (Z = C, H = S);
20104
+ }, I = D(r.options.width), E = D(r.options.height), j = C, O = S, q = Number.isFinite(I), ae = Number.isFinite(E), re = S > 0 ? C / S : 1;
20105
+ q && ae ? (j = Math.max(1, ce(I)), O = Math.max(1, ce(E))) : q ? (j = Math.max(1, ce(I)), O = Math.max(1, ce(j / (re || 1)))) : ae ? (O = Math.max(1, ce(E)), j = Math.max(1, ce(O * (re || 1)))) : (j = C, O = S);
20106
20106
  let pe = 0, F = 0, J = C, K = S;
20107
20107
  if (!i && w && Number.isFinite(w.a)) {
20108
20108
  let U = { a: w.a, b: w.b || 0, c: w.c || 0, d: w.d || 1, e: 0, f: 0 }, xe = qi(C, S, U, 0, 0);
@@ -20111,17 +20111,17 @@ async function yr(e, t) {
20111
20111
  let U = v.transform && v.transform !== "none" ? v.transform : "", xe = J0(r.element), Fe = q0({ baseTransform: U, rotate: xe.rotate || "0deg", scale: xe.scale, translate: xe.translate }), { ox: Ve, oy: je } = $0(v, C, S), te = Fe.is2D ? Fe : new DOMMatrix(Fe.toString()), Ze = qi(C, S, te, Ve, je);
20112
20112
  pe = ce(Ze.minX), F = ce(Ze.minY), J = ce(Ze.maxX), K = ce(Ze.maxY);
20113
20113
  }
20114
- let oe = j0(v), Y = X0(v), j = H0(v), ee = Y0(v), G = o ? { top: ce(oe.top + Y.top + j.top + ee.bleed.top), right: ce(oe.right + Y.right + j.right + ee.bleed.right), bottom: ce(oe.bottom + Y.bottom + j.bottom + ee.bleed.bottom), left: ce(oe.left + Y.left + j.left + ee.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
20114
+ let oe = j0(v), Y = X0(v), X = H0(v), ee = Y0(v), G = o ? { top: ce(oe.top + Y.top + X.top + ee.bleed.top), right: ce(oe.right + Y.right + X.right + ee.bleed.right), bottom: ce(oe.bottom + Y.bottom + X.bottom + ee.bleed.bottom), left: ce(oe.left + Y.left + X.left + ee.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
20115
20115
  pe = ce(pe - G.left), F = ce(F - G.top), J = ce(J + G.right), K = ce(K + G.bottom);
20116
- let ne = Math.max(1, ce(J - pe)), fe = Math.max(1, ce(K - F)), ke = Q || ae ? ce(Z / C) : 1, ze = ae || Q ? ce(H / S) : 1, me = Math.max(1, ce(ne * ke)), ye = Math.max(1, ce(fe * ze)), _e = "http://www.w3.org/2000/svg", Re = Ea() ? 1 : 0, q = ce(Re + (i ? 0 : 1)), de = document.createElementNS(_e, "foreignObject"), Xe = ce(pe), Be = ce(F);
20117
- de.setAttribute("x", String(ce(-(Xe - q)))), de.setAttribute("y", String(ce(-(Be - q)))), de.setAttribute("width", String(ce(C + q * 2))), de.setAttribute("height", String(ce(S + q * 2))), de.style.overflow = "visible";
20116
+ let ne = Math.max(1, ce(J - pe)), fe = Math.max(1, ce(K - F)), ke = q || ae ? ce(j / C) : 1, ze = ae || q ? ce(O / S) : 1, me = Math.max(1, ce(ne * ke)), ye = Math.max(1, ce(fe * ze)), _e = "http://www.w3.org/2000/svg", Re = Ea() ? 1 : 0, Q = ce(Re + (i ? 0 : 1)), de = document.createElementNS(_e, "foreignObject"), Xe = ce(pe), Be = ce(F);
20117
+ de.setAttribute("x", String(ce(-(Xe - Q)))), de.setAttribute("y", String(ce(-(Be - Q)))), de.setAttribute("width", String(ce(C + Q * 2))), de.setAttribute("height", String(ce(S + Q * 2))), de.style.overflow = "visible";
20118
20118
  let Me = document.createElement("style");
20119
20119
  Me.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, de.appendChild(Me);
20120
20120
  let Ae = document.createElement("div");
20121
20121
  Ae.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), Ae.style.width = `${ce(C)}px`, Ae.style.height = `${ce(S)}px`, Ae.style.overflow = "visible", r.clone.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), Ae.appendChild(r.clone), de.appendChild(Ae);
20122
- let le = new XMLSerializer().serializeToString(de), Pe = ce(ne + q * 2), ue = ce(fe + q * 2), we = Q || ae;
20123
- t.meta = { w0: C, h0: S, vbW: Pe, vbH: ue, targetW: Z, targetH: H };
20124
- let Oe = Ea() && we ? Pe : ce(me + q * 2), Ye = Ea() && we ? ue : ce(ye + q * 2);
20122
+ let le = new XMLSerializer().serializeToString(de), Pe = ce(ne + Q * 2), ue = ce(fe + Q * 2), we = q || ae;
20123
+ t.meta = { w0: C, h0: S, vbW: Pe, vbH: ue, targetW: j, targetH: O };
20124
+ let Oe = Ea() && we ? Pe : ce(me + Q * 2), Ye = Ea() && we ? ue : ce(ye + Q * 2);
20125
20125
  g = `<svg xmlns="${_e}" width="${Oe}" height="${Ye}" viewBox="0 0 ${Pe} ${ue}">` + le + "</svg>", h = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(g)}`, r = { svgString: g, dataURL: h, ...r }, k();
20126
20126
  }, { fast: a });
20127
20127
  }), await qe("afterRender", r);
@@ -20165,52 +20165,52 @@ Se.capture = async (e, t, a) => {
20165
20165
  if (a !== br)
20166
20166
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
20167
20167
  let i = await yr(e, t), o = { img: async (u, p) => {
20168
- let { toImg: f } = await import("./toImg-a37df6a7.js");
20168
+ let { toImg: f } = await import("./toImg-7802ce72.js");
20169
20169
  return f(i, { ...u, ...p || {} });
20170
20170
  }, svg: async (u, p) => {
20171
- let { toSvg: f } = await import("./toImg-a37df6a7.js");
20171
+ let { toSvg: f } = await import("./toImg-7802ce72.js");
20172
20172
  return f(i, { ...u, ...p || {} });
20173
20173
  }, canvas: async (u, p) => {
20174
- let { toCanvas: f } = await import("./toCanvas-6de5f573.js");
20174
+ let { toCanvas: f } = await import("./toCanvas-527d2586.js");
20175
20175
  return f(i, { ...u, ...p || {} });
20176
20176
  }, blob: async (u, p) => {
20177
- let { toBlob: f } = await import("./toBlob-7cb97ea2.js");
20177
+ let { toBlob: f } = await import("./toBlob-b581b788.js");
20178
20178
  return f(i, { ...u, ...p || {} });
20179
20179
  }, png: async (u, p) => {
20180
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20180
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-0cccf11f.js");
20181
20181
  return f(i, { ...u, ...p || {}, format: "png" });
20182
20182
  }, jpeg: async (u, p) => {
20183
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20183
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-0cccf11f.js");
20184
20184
  return f(i, { ...u, ...p || {}, format: "jpeg" });
20185
20185
  }, webp: async (u, p) => {
20186
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20186
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-0cccf11f.js");
20187
20187
  return f(i, { ...u, ...p || {}, format: "webp" });
20188
20188
  }, download: async (u, p) => {
20189
- let { download: f } = await import("./download-fecc98e1.js");
20189
+ let { download: f } = await import("./download-0f56e401.js");
20190
20190
  return f(i, { ...u, ...p || {} });
20191
20191
  } }, r = { ...t, export: { url: i }, exports: { svg: async (u) => {
20192
- let { toSvg: p } = await import("./toImg-a37df6a7.js");
20192
+ let { toSvg: p } = await import("./toImg-7802ce72.js");
20193
20193
  return p(i, { ...t, ...u || {}, [Ke]: !0 });
20194
20194
  }, canvas: async (u) => {
20195
- let { toCanvas: p } = await import("./toCanvas-6de5f573.js");
20195
+ let { toCanvas: p } = await import("./toCanvas-527d2586.js");
20196
20196
  return p(i, { ...t, ...u || {}, [Ke]: !0 });
20197
20197
  }, png: async (u) => {
20198
- let { rasterize: p } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20198
+ let { rasterize: p } = await import("./rasterize-JS5G2XHH-0cccf11f.js");
20199
20199
  return p(i, { ...t, ...u || {}, format: "png", [Ke]: !0 });
20200
20200
  }, jpeg: async (u) => {
20201
- let { rasterize: p } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20201
+ let { rasterize: p } = await import("./rasterize-JS5G2XHH-0cccf11f.js");
20202
20202
  return p(i, { ...t, ...u || {}, format: "jpeg", [Ke]: !0 });
20203
20203
  }, jpg: async (u) => {
20204
- let { rasterize: p } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20204
+ let { rasterize: p } = await import("./rasterize-JS5G2XHH-0cccf11f.js");
20205
20205
  return p(i, { ...t, ...u || {}, format: "jpeg", [Ke]: !0 });
20206
20206
  }, webp: async (u) => {
20207
- let { rasterize: p } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20207
+ let { rasterize: p } = await import("./rasterize-JS5G2XHH-0cccf11f.js");
20208
20208
  return p(i, { ...t, ...u || {}, format: "webp", [Ke]: !0 });
20209
20209
  }, blob: async (u) => {
20210
- let { toBlob: p } = await import("./toBlob-7cb97ea2.js");
20210
+ let { toBlob: p } = await import("./toBlob-b581b788.js");
20211
20211
  return p(i, { ...t, ...u || {}, [Ke]: !0 });
20212
20212
  }, img: async (u) => {
20213
- let { toImg: p } = await import("./toImg-a37df6a7.js");
20213
+ let { toImg: p } = await import("./toImg-7802ce72.js");
20214
20214
  return p(i, { ...t, ...u || {}, [Ke]: !0 });
20215
20215
  } } }, l = await Rg("defineExports", r), c = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...o, ...c };
20216
20216
  s.jpeg && !s.jpg && (s.jpg = (u, p) => s.jpeg(u, p));
@@ -20878,7 +20878,7 @@ function If(e, t, a, i, o, r) {
20878
20878
  "min-width": "30"
20879
20879
  }, {
20880
20880
  default: x(() => [
20881
- O(y(o.intervalHour) + " h ", 1),
20881
+ Z(y(o.intervalHour) + " h ", 1),
20882
20882
  b(h, { activator: "parent" }, {
20883
20883
  default: x(() => [
20884
20884
  b(d, { class: "pa-1" }, {
@@ -20900,7 +20900,7 @@ function If(e, t, a, i, o, r) {
20900
20900
  onClick: (L) => o.intervalHour = p
20901
20901
  }, {
20902
20902
  default: x(() => [
20903
- O(y(p) + "h", 1)
20903
+ Z(y(p) + "h", 1)
20904
20904
  ]),
20905
20905
  _: 2
20906
20906
  }, 1032, ["onClick"])
@@ -21179,7 +21179,7 @@ function If(e, t, a, i, o, r) {
21179
21179
  onClick: t[9] || (t[9] = (p) => o.source = "GFS")
21180
21180
  }, {
21181
21181
  default: x(() => t[18] || (t[18] = [
21182
- O("NOAA", -1)
21182
+ Z("NOAA", -1)
21183
21183
  ])),
21184
21184
  _: 1,
21185
21185
  __: [18]
@@ -21192,7 +21192,7 @@ function If(e, t, a, i, o, r) {
21192
21192
  onClick: t[10] || (t[10] = (p) => o.source = "ECMWF")
21193
21193
  }, {
21194
21194
  default: x(() => t[19] || (t[19] = [
21195
- O("ECMWF", -1)
21195
+ Z("ECMWF", -1)
21196
21196
  ])),
21197
21197
  _: 1,
21198
21198
  __: [19]
@@ -21220,7 +21220,7 @@ function If(e, t, a, i, o, r) {
21220
21220
  onClick: t[11] || (t[11] = (p) => o.showTimezone = !o.showTimezone)
21221
21221
  }, {
21222
21222
  default: x(() => [
21223
- O(" UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
21223
+ Z(" UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
21224
21224
  ]),
21225
21225
  _: 1
21226
21226
  }),
@@ -21613,7 +21613,7 @@ class Of {
21613
21613
  ve(this, "hi");
21614
21614
  ve(this, "td");
21615
21615
  ve(this, "windy");
21616
- var a, i, o, r, l, c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, Z, H, Q, ae, re, pe, F, J, K, oe, Y, j, ee, G, ne, fe, ke, ze, me, ye, _e, Re, q, de, Xe, Be, Me, Ae, le, Pe, ue, we, Oe, Ye, He, U, xe, Fe, Ve, je, te, Ze, se, tt, at, ot, Ge, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, kt, _t, Lt, zt, Ct, Mt, Pt, St, Tt, Rt, Dt, It, At, Ft, Gt, Nt, Wt, Et, Bt, Zt, Ot, Vt, jt, Xt, Ht, Yt, Ut, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, ka, _a, La, za, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Aa, Fa, wo, xo, vo, ko, _o, Lo, zo, Co, Mo, Po, So, To, Ro, Do, Io, Ao, Fo, Go, No, Wo, Eo, Bo, Zo, Oo, Vo, jo, Xo, Ho, Yo, Uo, $o, Jo, Ko, qo, Qo, ei, ti, ai, oi, ii, ri, li, ni, si, ci, mi, di, hi, pi, ui, gi, fi, yi, bi, wi, xi, vi, ki, _i, Li, zi, Ci, Mi, Pi, Si, Ti;
21616
+ var a, i, o, r, l, c, s, m, d, h, g, w, u, p, f, L, P, k, v, T, C, S, D, I, E, j, O, q, ae, re, pe, F, J, K, oe, Y, X, ee, G, ne, fe, ke, ze, me, ye, _e, Re, Q, de, Xe, Be, Me, Ae, le, Pe, ue, we, Oe, Ye, He, U, xe, Fe, Ve, je, te, Ze, se, tt, at, ot, Ge, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, kt, _t, Lt, zt, Ct, Mt, Pt, St, Tt, Rt, Dt, It, At, Ft, Gt, Nt, Wt, Et, Bt, Zt, Ot, Vt, jt, Xt, Ht, Yt, Ut, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, ka, _a, La, za, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Aa, Fa, wo, xo, vo, ko, _o, Lo, zo, Co, Mo, Po, So, To, Ro, Do, Io, Ao, Fo, Go, No, Wo, Eo, Bo, Zo, Oo, Vo, jo, Xo, Ho, Yo, Uo, $o, Jo, Ko, qo, Qo, ei, ti, ai, oi, ii, ri, li, ni, si, ci, mi, di, hi, pi, ui, gi, fi, yi, bi, wi, xi, vi, ki, _i, Li, zi, Ci, Mi, Pi, Si, Ti;
21617
21617
  this.i4 = {
21618
21618
  source: {
21619
21619
  type: "raster",
@@ -40159,18 +40159,18 @@ class Of {
40159
40159
  (T = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : T.find((z) => z.id === "water-outline"),
40160
40160
  (S = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : S.find((z) => z.id === "water-outline2"),
40161
40161
  (I = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : I.find((z) => z.id === "empty-layer-2"),
40162
- (Z = (E = this.originStyle) == null ? void 0 : E.light.layers) == null ? void 0 : Z.find((z) => z.id === "water-line-label"),
40163
- (Q = (H = this.originStyle) == null ? void 0 : H.light.layers) == null ? void 0 : Q.find((z) => z.id === "water-point-label"),
40162
+ (j = (E = this.originStyle) == null ? void 0 : E.light.layers) == null ? void 0 : j.find((z) => z.id === "water-line-label"),
40163
+ (q = (O = this.originStyle) == null ? void 0 : O.light.layers) == null ? void 0 : q.find((z) => z.id === "water-point-label"),
40164
40164
  (re = (ae = this.originStyle) == null ? void 0 : ae.light.layers) == null ? void 0 : re.find((z) => z.id === "world-12nm-v4-20231025"),
40165
40165
  (F = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : F.find((z) => z.id === "ne-10m-outline"),
40166
40166
  (K = (J = this.originStyle) == null ? void 0 : J.light.layers) == null ? void 0 : K.find((z) => z.id === "ne-10m-label"),
40167
40167
  (Y = (oe = this.originStyle) == null ? void 0 : oe.light.layers) == null ? void 0 : Y.find((z) => z.id === "china-route-line"),
40168
- (ee = (j = this.originStyle) == null ? void 0 : j.light.layers) == null ? void 0 : ee.find((z) => z.id === "china-route-fill"),
40168
+ (ee = (X = this.originStyle) == null ? void 0 : X.light.layers) == null ? void 0 : ee.find((z) => z.id === "china-route-fill"),
40169
40169
  (ne = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : ne.find((z) => z.id === "china-route-label"),
40170
40170
  (ke = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : ke.find((z) => z.id === "admin-0-boundary-bg"),
40171
40171
  (me = (ze = this.originStyle) == null ? void 0 : ze.light.layers) == null ? void 0 : me.find((z) => z.id === "admin-0-boundary"),
40172
40172
  (_e = (ye = this.originStyle) == null ? void 0 : ye.light.layers) == null ? void 0 : _e.find((z) => z.id === "admin-0-boundary-disputed"),
40173
- (q = (Re = this.originStyle) == null ? void 0 : Re.light.layers) == null ? void 0 : q.find((z) => z.id === "country-label"),
40173
+ (Q = (Re = this.originStyle) == null ? void 0 : Re.light.layers) == null ? void 0 : Q.find((z) => z.id === "country-label"),
40174
40174
  (Xe = (de = this.originStyle) == null ? void 0 : de.light.layers) == null ? void 0 : Xe.find((z) => z.id === "continent-label"),
40175
40175
  (Me = (Be = this.originStyle) == null ? void 0 : Be.light.layers) == null ? void 0 : Me.find((z) => z.id === "tide-stations"),
40176
40176
  (le = (Ae = this.originStyle) == null ? void 0 : Ae.light.layers) == null ? void 0 : le.find((z) => z.id === "empty-layer-3"),
@@ -40888,7 +40888,7 @@ function a1(e, t, a, i, o, r) {
40888
40888
  onClick: (L) => r.handleFastPick({ dateRange: f })
40889
40889
  }, {
40890
40890
  default: x(() => [
40891
- O(y(e.$t("time." + f)), 1)
40891
+ Z(y(e.$t("time." + f)), 1)
40892
40892
  ]),
40893
40893
  _: 2
40894
40894
  }, 1032, ["color", "variant", "onClick"]))), 256))
@@ -40901,7 +40901,7 @@ function a1(e, t, a, i, o, r) {
40901
40901
  onClick: r.handleCancelDate
40902
40902
  }, {
40903
40903
  default: x(() => [
40904
- O(y(e.$t("actions.cancel")), 1)
40904
+ Z(y(e.$t("actions.cancel")), 1)
40905
40905
  ]),
40906
40906
  _: 1
40907
40907
  }, 8, ["onClick"]),
@@ -40913,7 +40913,7 @@ function a1(e, t, a, i, o, r) {
40913
40913
  onClick: r.handleConfirmDate
40914
40914
  }, {
40915
40915
  default: x(() => [
40916
- O(y(e.$t("actions.confirm")), 1)
40916
+ Z(y(e.$t("actions.confirm")), 1)
40917
40917
  ]),
40918
40918
  _: 1
40919
40919
  }, 8, ["onClick"])