@idmwx/idmui-gl4 2.9.9 → 3.0.0

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,7 +3,7 @@ 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 E, toDisplayString as y, createTextVNode as Z, Fragment as Te, renderList as De, withDirectives as Qe, vShow as et, mergeProps as U, 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 O, 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
9
  import { LngLatHelper as X, TropicalHelper as Ri, LaneHelper as We } from "@idm-plugin/geo";
@@ -534,7 +534,7 @@ function Er(e, t, a, i, o, r) {
534
534
  })
535
535
  ]),
536
536
  _: 1
537
- }, 8, ["class"])) : E("", !0);
537
+ }, 8, ["class"])) : W("", !0);
538
538
  }
539
539
  const Br = /* @__PURE__ */ ie(Nr, [["render", Er]]);
540
540
  const Zr = {
@@ -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, W, V, J, te, ae, re, pe, F, $, K, oe, H, j, Q, 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, Z, H, Q, ae, re, pe, F, J, K, oe, Y, j, 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 = (W = (I = l == null ? void 0 : l.wave) == null ? void 0 : I.sig) == null ? void 0 : W.direction, r.sigwavePeriod = this.computeRoundPrecision((J = (V = l == null ? void 0 : l.wave) == null ? void 0 : V.sig) == null ? void 0 : J.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ae = (te = l == null ? void 0 : l.wave) == null ? void 0 : te.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(($ = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.wd) == null ? void 0 : $.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 = (H = l == null ? void 0 : l.wave) == null ? void 0 : H.swell) == null ? void 0 : j.direction, r.swellPeriod = this.computeRoundPrecision((G = (Q = l == null ? void 0 : l.wave) == null ? void 0 : Q.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((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;
1522
1522
  });
1523
1523
  },
1524
1524
  handleTide() {
@@ -1817,7 +1817,7 @@ function Vl(e, t, a, i, o, r) {
1817
1817
  _: 1
1818
1818
  }),
1819
1819
  b(s, { class: "w-100" }),
1820
- a.simple ? E("", !0) : (_(), A("div", Yr, [
1820
+ a.simple ? W("", !0) : (_(), A("div", Yr, [
1821
1821
  (h = a.followList) != null && h.some((u) => {
1822
1822
  var p;
1823
1823
  return ((p = u.port) == null ? void 0 : p.id) === a.portId;
@@ -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
- Z(" " + y(e.$t("actions.unfollow")), 1)
1836
+ O(" " + 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
- Z(y(e.$t("actions.follow")) + " ", 1)
1851
+ O(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
- Z(y(e.$t("actions.7dayForcast")), 1)
1863
+ O(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
- Z(y(u.label), 1)
1933
+ O(y(u.label), 1)
1934
1934
  ]),
1935
1935
  _: 2
1936
1936
  }, 1032, ["value"]))), 256))
@@ -1943,8 +1943,8 @@ function Vl(e, t, a, i, o, r) {
1943
1943
  key: u.id
1944
1944
  }, [
1945
1945
  n("th", gl, [
1946
- Z(y(e.$t(`${u.key}`)) + " ", 1),
1947
- u.unit ? (_(), A("span", fl, " ( " + y(u.unit) + " )", 1)) : E("", !0)
1946
+ O(y(e.$t(`${u.key}`)) + " ", 1),
1947
+ u.unit ? (_(), A("span", fl, " ( " + y(u.unit) + " )", 1)) : W("", !0)
1948
1948
  ]),
1949
1949
  n("td", yl, [
1950
1950
  u.img ? (_(), A("img", {
@@ -2029,7 +2029,7 @@ function Vl(e, t, a, i, o, r) {
2029
2029
  }), 128))
2030
2030
  ])
2031
2031
  ])
2032
- ], 2)) : E("", !0)
2032
+ ], 2)) : W("", !0)
2033
2033
  ])
2034
2034
  ], 2)
2035
2035
  ];
@@ -2173,14 +2173,14 @@ function Ul(e, t, a, i, o, r) {
2173
2173
  }, 512), [
2174
2174
  [et, o.showInfo]
2175
2175
  ]),
2176
- o.showDetail ? (_(), B(s, U({
2176
+ o.showDetail ? (_(), B(s, $({
2177
2177
  key: 0,
2178
2178
  portId: o.portId,
2179
2179
  port: o.port,
2180
2180
  forecastModel: a.forecastModel,
2181
2181
  onClose: r.handleCloseDetail,
2182
2182
  onCloseAllDetail: t[0] || (t[0] = (m) => e.$emit("closeAllDetail", { ports: !0 }))
2183
- }, e.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : E("", !0)
2183
+ }, e.$attrs), null, 16, ["portId", "port", "forecastModel", "onClose"])) : W("", !0)
2184
2184
  ]);
2185
2185
  }
2186
2186
  const $l = /* @__PURE__ */ ie(jl, [["render", Ul], ["__scopeId", "data-v-0c0f27d3"]]), Jl = {
@@ -3206,7 +3206,7 @@ function Qn(e, t, a, i, o, r) {
3206
3206
  value: w.index
3207
3207
  }, {
3208
3208
  default: x(() => [
3209
- Z(y(w.label), 1)
3209
+ O(y(w.label), 1)
3210
3210
  ]),
3211
3211
  _: 2
3212
3212
  }, 1032, ["value"]))), 256))
@@ -3340,11 +3340,11 @@ function ls(e, t, a, i, o, r) {
3340
3340
  }, 512), [
3341
3341
  [et, o.showInfo]
3342
3342
  ]),
3343
- o.showDetail ? (_(), B(s, U({
3343
+ o.showDetail ? (_(), B(s, $({
3344
3344
  key: 0,
3345
3345
  station: o.station,
3346
3346
  onClose: r.handleCloseDetail
3347
- }, e.$attrs), null, 16, ["station", "onClose"])) : E("", !0)
3347
+ }, e.$attrs), null, 16, ["station", "onClose"])) : W("", !0)
3348
3348
  ]);
3349
3349
  }
3350
3350
  const ns = /* @__PURE__ */ ie(ts, [["render", ls], ["__scopeId", "data-v-7f9e02c0"]]), ss = {
@@ -3565,7 +3565,7 @@ const ds = {
3565
3565
  };
3566
3566
  function hs(e, t, a, i, o, r) {
3567
3567
  var l, c, s;
3568
- return a.simple ? E("", !0) : (_(), A("div", {
3568
+ return a.simple ? W("", !0) : (_(), A("div", {
3569
3569
  key: 0,
3570
3570
  class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
3571
3571
  style: he({ right: o.right + "px" })
@@ -4514,7 +4514,7 @@ function ys(e, t, a, i, o, r) {
4514
4514
  }, 512), [
4515
4515
  [et, o.showInfo]
4516
4516
  ]),
4517
- o.showDetail ? (_(), B(s, U({
4517
+ o.showDetail ? (_(), B(s, $({
4518
4518
  key: 0,
4519
4519
  portId: o.portId,
4520
4520
  port: o.port,
@@ -4522,7 +4522,7 @@ function ys(e, t, a, i, o, r) {
4522
4522
  followList: a.followList,
4523
4523
  onClose: r.handleCloseDetail,
4524
4524
  onCloseAllDetail: t[0] || (t[0] = (m) => e.$emit("closeAllDetail", { followPort: !0 }))
4525
- }, e.$attrs), null, 16, ["portId", "port", "forecastModel", "followList", "onClose"])) : E("", !0)
4525
+ }, e.$attrs), null, 16, ["portId", "port", "forecastModel", "followList", "onClose"])) : W("", !0)
4526
4526
  ]);
4527
4527
  }
4528
4528
  const bs = /* @__PURE__ */ ie(ps, [["render", ys], ["__scopeId", "data-v-95e70a1f"]]);
@@ -5461,7 +5461,7 @@ function _s(e, t, a, i, o, r) {
5461
5461
  ]),
5462
5462
  o.position.remark ? (_(), A("div", ks, [
5463
5463
  n("span", null, y(o.position.remark ?? "-"), 1)
5464
- ])) : E("", !0)
5464
+ ])) : W("", !0)
5465
5465
  ])
5466
5466
  ]),
5467
5467
  _: 1
@@ -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, $, K, oe, H, j, Q;
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"), W = M("IdmWorld12nm"), V = M("IdmChinaRoute"), J = M("IdmIceAreas"), te = M("IdmFollowPort"), ae = M("IdmFollowPosition");
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");
5704
5704
  return _(), A("div", Cs, [
5705
5705
  n("div", {
5706
5706
  class: ge(["menu-bar-box transition px-1 rounded", a.simple ? "simple" : ""]),
@@ -5715,7 +5715,7 @@ function Gs(e, t, a, i, o, r) {
5715
5715
  "open-on-hover": !a.simple
5716
5716
  }, {
5717
5717
  activator: x(({ props: G }) => [
5718
- b(l, U(G, {
5718
+ b(l, $(G, {
5719
5719
  "min-width": "32",
5720
5720
  width: "32",
5721
5721
  height: "32",
@@ -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
- Z(y(e.$t("layer.mapFeathers")), 1)
5767
+ O(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
- Z(y(e.$t("layer.pointsOfInteresting")), 1)
5817
+ O(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
- Z(y(e.$t("layer.otherLayers")), 1)
5853
+ O(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
- Z(y(e.$t("layer.myFollows")), 1)
5889
+ O(y(e.$t("layer.myFollows")), 1)
5890
5890
  ]),
5891
5891
  _: 1
5892
5892
  })
@@ -5925,7 +5925,7 @@ function Gs(e, t, a, i, o, r) {
5925
5925
  })
5926
5926
  ], 2)
5927
5927
  ], 6),
5928
- a.map ? (_(), B(w, U({
5928
+ a.map ? (_(), B(w, $({
5929
5929
  key: 0,
5930
5930
  ref: "idmPorts",
5931
5931
  simple: a.simple,
@@ -5936,8 +5936,8 @@ function Gs(e, t, a, i, o, r) {
5936
5936
  "forecast-model": a.forecastModel,
5937
5937
  "real-time": a.realTime,
5938
5938
  theme: a.theme
5939
- }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "ports", "gateway", "token", "forecast-model", "real-time", "theme"])) : E("", !0),
5940
- a.map ? (_(), B(u, U({
5939
+ }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "ports", "gateway", "token", "forecast-model", "real-time", "theme"])) : W("", !0),
5940
+ a.map ? (_(), B(u, $({
5941
5941
  key: 1,
5942
5942
  ref: "idmIideStation",
5943
5943
  simple: a.simple,
@@ -5950,88 +5950,88 @@ function Gs(e, t, a, i, o, r) {
5950
5950
  "real-time": a.realTime,
5951
5951
  "forecast-model": a.forecastModel,
5952
5952
  "before-layer": "empty-layer-3"
5953
- }, e.$attrs), null, 16, ["simple", "map", "gateway", "token", "default-meteo-token", "show", "theme", "real-time", "forecast-model"])) : E("", !0),
5954
- a.map ? (_(), B(p, U({
5953
+ }, e.$attrs), null, 16, ["simple", "map", "gateway", "token", "default-meteo-token", "show", "theme", "real-time", "forecast-model"])) : W("", !0),
5954
+ a.map ? (_(), B(p, $({
5955
5955
  key: 2,
5956
5956
  simple: a.simple,
5957
5957
  map: a.map,
5958
5958
  "menu-toggle": a.menuToggle,
5959
5959
  show: o.checkList.includes("graticule")
5960
- }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "menu-toggle", "show"])) : E("", !0),
5961
- a.map ? (_(), B(f, U({
5960
+ }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "menu-toggle", "show"])) : W("", !0),
5961
+ a.map ? (_(), B(f, $({
5962
5962
  key: 3,
5963
5963
  map: a.map,
5964
5964
  area: (pe = o.otherLayers) == null ? void 0 : pe["day-night"]
5965
- }, e.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : E("", !0),
5966
- a.map ? (_(), B(L, U({
5965
+ }, e.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : W("", !0),
5966
+ a.map ? (_(), B(L, $({
5967
5967
  key: 4,
5968
5968
  map: a.map,
5969
5969
  zone: (F = o.otherLayers) == null ? void 0 : F["time-zones"],
5970
5970
  "real-time": a.realTime
5971
- }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "zone", "real-time"])) : E("", !0),
5972
- a.map ? (_(), B(P, U({
5971
+ }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "zone", "real-time"])) : W("", !0),
5972
+ a.map ? (_(), B(P, $({
5973
5973
  key: 5,
5974
5974
  map: a.map,
5975
5975
  simple: a.simple,
5976
- zone: ($ = o.otherLayers) == null ? void 0 : $["alert-zones"]
5976
+ zone: (J = o.otherLayers) == null ? void 0 : J["alert-zones"]
5977
5977
  }, e.$attrs, {
5978
5978
  "before-layer": "empty-layer-3",
5979
5979
  theme: a.theme
5980
- }), null, 16, ["map", "simple", "zone", "theme"])) : E("", !0),
5981
- a.map ? (_(), B(k, U({
5980
+ }), null, 16, ["map", "simple", "zone", "theme"])) : W("", !0),
5981
+ a.map ? (_(), B(k, $({
5982
5982
  key: 6,
5983
5983
  map: a.map,
5984
5984
  zone: (K = o.otherLayers) == null ? void 0 : K["eca-zones"]
5985
- }, e.$attrs), null, 16, ["map", "zone"])) : E("", !0),
5986
- a.map ? (_(), B(v, U({
5985
+ }, e.$attrs), null, 16, ["map", "zone"])) : W("", !0),
5986
+ a.map ? (_(), B(v, $({
5987
5987
  key: 7,
5988
5988
  map: a.map,
5989
5989
  zone: (oe = o.otherLayers) == null ? void 0 : oe["war-zones"]
5990
- }, e.$attrs), null, 16, ["map", "zone"])) : E("", !0),
5991
- a.map ? (_(), B(T, U({
5990
+ }, e.$attrs), null, 16, ["map", "zone"])) : W("", !0),
5991
+ a.map ? (_(), B(T, $({
5992
5992
  key: 8,
5993
5993
  map: a.map,
5994
- area: (H = o.otherLayers) == null ? void 0 : H["gmdss-areas"]
5995
- }, e.$attrs), null, 16, ["map", "area"])) : E("", !0),
5996
- a.map ? (_(), B(C, U({
5994
+ area: (Y = o.otherLayers) == null ? void 0 : Y["gmdss-areas"]
5995
+ }, e.$attrs), null, 16, ["map", "area"])) : W("", !0),
5996
+ a.map ? (_(), B(C, $({
5997
5997
  key: 9,
5998
5998
  map: a.map,
5999
5999
  show: o.checkList.includes("load-lines")
6000
- }, e.$attrs), null, 16, ["map", "show"])) : E("", !0),
6001
- a.map ? (_(), B(S, U({
6000
+ }, e.$attrs), null, 16, ["map", "show"])) : W("", !0),
6001
+ a.map ? (_(), B(S, $({
6002
6002
  key: 10,
6003
6003
  map: a.map,
6004
6004
  token: a.token,
6005
6005
  show: o.checkList.includes("worldMarine")
6006
- }, e.$attrs), null, 16, ["map", "token", "show"])) : E("", !0),
6007
- a.map ? (_(), B(D, U({
6006
+ }, e.$attrs), null, 16, ["map", "token", "show"])) : W("", !0),
6007
+ a.map ? (_(), B(D, $({
6008
6008
  key: 11,
6009
6009
  map: a.map,
6010
6010
  area: (j = o.otherLayers) == null ? void 0 : j["voluntary-reporting-area"]
6011
- }, e.$attrs), null, 16, ["map", "area"])) : E("", !0),
6012
- a.map ? (_(), B(I, U({
6011
+ }, e.$attrs), null, 16, ["map", "area"])) : W("", !0),
6012
+ a.map ? (_(), B(I, $({
6013
6013
  key: 12,
6014
6014
  map: a.map,
6015
- area: (Q = o.otherLayers) == null ? void 0 : Q["special-area"]
6016
- }, e.$attrs), null, 16, ["map", "area"])) : E("", !0),
6017
- a.map ? (_(), B(W, U({
6015
+ area: (ee = o.otherLayers) == null ? void 0 : ee["special-area"]
6016
+ }, e.$attrs), null, 16, ["map", "area"])) : W("", !0),
6017
+ a.map ? (_(), B(E, $({
6018
6018
  key: 13,
6019
6019
  map: a.map,
6020
6020
  token: a.token,
6021
6021
  show: o.checkList.includes("world12nm")
6022
- }, e.$attrs), null, 16, ["map", "token", "show"])) : E("", !0),
6023
- a.map ? (_(), B(V, U({
6022
+ }, e.$attrs), null, 16, ["map", "token", "show"])) : W("", !0),
6023
+ a.map ? (_(), B(Z, $({
6024
6024
  key: 14,
6025
6025
  map: a.map,
6026
6026
  token: a.token,
6027
6027
  show: o.checkList.includes("chinaRoute")
6028
- }, e.$attrs), null, 16, ["map", "token", "show"])) : E("", !0),
6029
- a.map ? (_(), B(J, U({
6028
+ }, e.$attrs), null, 16, ["map", "token", "show"])) : W("", !0),
6029
+ a.map ? (_(), B(H, $({
6030
6030
  key: 15,
6031
6031
  map: a.map,
6032
6032
  show: o.checkList.includes("ice-areas")
6033
- }, e.$attrs), null, 16, ["map", "show"])) : E("", !0),
6034
- a.map ? (_(), B(te, U({
6033
+ }, e.$attrs), null, 16, ["map", "show"])) : W("", !0),
6034
+ a.map ? (_(), B(Q, $({
6035
6035
  key: 16,
6036
6036
  ref: "idmFollowPort",
6037
6037
  simple: a.simple,
@@ -6041,8 +6041,8 @@ function Gs(e, t, a, i, o, r) {
6041
6041
  token: a.token,
6042
6042
  "forecast-model": a.forecastModel,
6043
6043
  "real-time": a.realTime
6044
- }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "real-time"])) : E("", !0),
6045
- a.map ? (_(), B(ae, U({
6044
+ }, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "real-time"])) : W("", !0),
6045
+ a.map ? (_(), B(ae, $({
6046
6046
  key: 17,
6047
6047
  ref: "idmFollowPosition",
6048
6048
  simple: a.simple,
@@ -6050,7 +6050,7 @@ function Gs(e, t, a, i, o, r) {
6050
6050
  show: o.checkList.includes("follow-positions"),
6051
6051
  "forecast-model": a.forecastModel,
6052
6052
  "real-time": a.realTime
6053
- }, e.$attrs), null, 16, ["simple", "map", "show", "forecast-model", "real-time"])) : E("", !0)
6053
+ }, e.$attrs), null, 16, ["simple", "map", "show", "forecast-model", "real-time"])) : W("", !0)
6054
6054
  ]);
6055
6055
  }
6056
6056
  const Ns = /* @__PURE__ */ ie(zs, [["render", Gs]]);
@@ -6883,7 +6883,7 @@ function js(e, t, a, i, o, r) {
6883
6883
  n("span", null, "40", -1),
6884
6884
  n("span", null, "60", -1)
6885
6885
  ]), 4)
6886
- ])) : E("", !0);
6886
+ ])) : W("", !0);
6887
6887
  }
6888
6888
  const Xs = /* @__PURE__ */ ie(Os, [["render", js]]), Hs = {
6889
6889
  name: "IdmCurrent",
@@ -7224,7 +7224,7 @@ function Ks(e, t, a, i, o, r) {
7224
7224
  n("span", null, "2", -1),
7225
7225
  n("span", null, "3.2", -1)
7226
7226
  ]), 4)
7227
- ])) : E("", !0);
7227
+ ])) : W("", !0);
7228
7228
  }
7229
7229
  const qs = /* @__PURE__ */ ie($s, [["render", Ks]]);
7230
7230
  const Qs = {
@@ -7352,7 +7352,7 @@ function tc(e, t, a, i, o, r) {
7352
7352
  n("span", null, "6", -1),
7353
7353
  n("span", null, "9", -1)
7354
7354
  ]), 4)
7355
- ])) : E("", !0);
7355
+ ])) : W("", !0);
7356
7356
  }
7357
7357
  const ac = /* @__PURE__ */ ie(Qs, [["render", tc], ["__scopeId", "data-v-c6137292"]]), oc = {
7358
7358
  name: "IdmSigWaveHeight",
@@ -7619,7 +7619,7 @@ function sc(e, t, a, i, o, r) {
7619
7619
  n("span", null, "6", -1),
7620
7620
  n("span", null, "9", -1)
7621
7621
  ]), 4)
7622
- ])) : E("", !0);
7622
+ ])) : W("", !0);
7623
7623
  }
7624
7624
  const cc = /* @__PURE__ */ ie(lc, [["render", sc], ["__scopeId", "data-v-3c94b068"]]), mc = {
7625
7625
  name: "IdmPrmsl",
@@ -7884,7 +7884,7 @@ function gc(e, t, a, i, o, r) {
7884
7884
  n("span", null, "90", -1),
7885
7885
  n("span", null, null, -1)
7886
7886
  ]), 4)
7887
- ])) : E("", !0);
7887
+ ])) : W("", !0);
7888
7888
  }
7889
7889
  const fc = /* @__PURE__ */ ie(pc, [["render", gc]]);
7890
7890
  const yc = {
@@ -7995,7 +7995,7 @@ function wc(e, t, a, i, o, r) {
7995
7995
  n("span", null, "80", -1),
7996
7996
  n("span", null, "100", -1)
7997
7997
  ]), 4)
7998
- ])) : E("", !0);
7998
+ ])) : W("", !0);
7999
7999
  }
8000
8000
  const xc = /* @__PURE__ */ ie(yc, [["render", wc], ["__scopeId", "data-v-916b01eb"]]);
8001
8001
  const vc = {
@@ -8114,7 +8114,7 @@ function _c(e, t, a, i, o, r) {
8114
8114
  n("span", null, "2", -1),
8115
8115
  n("span", null, "3", -1)
8116
8116
  ]), 4)
8117
- ])) : E("", !0);
8117
+ ])) : W("", !0);
8118
8118
  }
8119
8119
  const Lc = /* @__PURE__ */ ie(vc, [["render", _c]]);
8120
8120
  const zc = {
@@ -8235,7 +8235,7 @@ function Mc(e, t, a, i, o, r) {
8235
8235
  n("span", null, "20", -1),
8236
8236
  n("span", null, "30", -1)
8237
8237
  ]), 4)
8238
- ])) : E("", !0);
8238
+ ])) : W("", !0);
8239
8239
  }
8240
8240
  const Pc = /* @__PURE__ */ ie(zc, [["render", Mc]]);
8241
8241
  const Sc = {
@@ -8344,7 +8344,7 @@ function Rc(e, t, a, i, o, r) {
8344
8344
  n("span", null, "3", -1),
8345
8345
  n("span", null, "9", -1)
8346
8346
  ]), 4)
8347
- ])) : E("", !0);
8347
+ ])) : W("", !0);
8348
8348
  }
8349
8349
  const Dc = /* @__PURE__ */ ie(Sc, [["render", Rc]]);
8350
8350
  const Ic = {
@@ -8456,7 +8456,7 @@ function Fc(e, t, a, i, o, r) {
8456
8456
  n("span", null, "30", -1),
8457
8457
  n("span", null, "40", -1)
8458
8458
  ]), 4)
8459
- ])) : E("", !0);
8459
+ ])) : W("", !0);
8460
8460
  }
8461
8461
  const Gc = /* @__PURE__ */ ie(Ic, [["render", Fc]]);
8462
8462
  const Nc = {
@@ -8581,7 +8581,7 @@ function Ec(e, t, a, i, o, r) {
8581
8581
  n("span", null, "30", -1),
8582
8582
  n("span", null, "40", -1)
8583
8583
  ]), 4)
8584
- ])) : E("", !0);
8584
+ ])) : W("", !0);
8585
8585
  }
8586
8586
  const Bc = /* @__PURE__ */ ie(Nc, [["render", Ec]]);
8587
8587
  const Zc = {
@@ -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, W, V, J;
8920
+ var I, E, Z, H;
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 = (V = (W = C == null ? void 0 : C.config) == null ? void 0 : W.headers) == null ? void 0 : V.key;
8922
+ let D = (Z = (E = C == null ? void 0 : C.config) == null ? void 0 : E.headers) == null ? void 0 : Z.key;
8923
8923
  D && S && (this.weatherLayers[D] = {
8924
8924
  raw: S,
8925
- type: ((J = C == null ? void 0 : C.config) == null ? void 0 : J.responseType) === "blob" ? "image" : "json",
8925
+ type: ((H = C == null ? void 0 : C.config) == null ? void 0 : H.responseType) === "blob" ? "image" : "json",
8926
8926
  etime: P.data.etime
8927
8927
  });
8928
8928
  });
@@ -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, W, V, J, te, ae;
9021
+ var I, E, Z, H, 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
- val: ((I = k[T].val) == null ? void 0 : I[D]) || ((W = k[T].dir) == null ? void 0 : W[D]),
9026
- spd: (V = k[T].spd) == null ? void 0 : V[D]
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]
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: ((J = k[T].val) == null ? void 0 : J[D]) || ((te = k[T].dir) == null ? void 0 : te[D]),
9032
+ val: ((H = k[T].val) == null ? void 0 : H[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, W, V, J, te, ae;
9038
+ var I, E, Z, H, 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
- val: ((I = k[T].val) == null ? void 0 : I[D]) || ((W = k[T].dir) == null ? void 0 : W[D]),
9043
- spd: (V = k[T].spd) == null ? void 0 : V[D]
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]
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: ((J = k[T].val) == null ? void 0 : J[D]) || ((te = k[T].dir) == null ? void 0 : te[D]),
9049
+ val: ((H = k[T].val) == null ? void 0 : H[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, W, V, J, te, ae;
9085
+ var I, E, Z, H, 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
- val: ((I = k[T].val) == null ? void 0 : I[D]) || ((W = k[T].dir) == null ? void 0 : W[D]),
9090
- spd: (V = k[T].spd) == null ? void 0 : V[D]
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]
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: ((J = k[T].val) == null ? void 0 : J[D]) || ((te = k[T].dir) == null ? void 0 : te[D]),
9096
+ val: ((H = k[T].val) == null ? void 0 : H[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, W, V, J, te, ae;
9102
+ var I, E, Z, H, 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
- val: ((I = k[T].val) == null ? void 0 : I[D]) || ((W = k[T].dir) == null ? void 0 : W[D]),
9107
- spd: (V = k[T].spd) == null ? void 0 : V[D]
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]
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: ((J = k[T].val) == null ? void 0 : J[D]) || ((te = k[T].dir) == null ? void 0 : te[D]),
9113
+ val: ((H = k[T].val) == null ? void 0 : H[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, W, V;
9146
+ var D, I, E, Z;
9147
9147
  if (o < 2) {
9148
9148
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9149
- const J = N.point([C, v], {
9149
+ const H = 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(J);
9153
+ P.push(H);
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 J = N.point([C, v], {
9157
- dir: ((W = k[v].val) == null ? void 0 : W[S]) || ((V = k[v].dir) == null ? void 0 : V[S]),
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]),
9158
9158
  spd: k[v].spd[S]
9159
9159
  });
9160
- P.push(J);
9160
+ P.push(H);
9161
9161
  }
9162
9162
  }) : T.forEach((C, S) => {
9163
- var D, I, W, V;
9163
+ var D, I, E, Z;
9164
9164
  if (o < 2) {
9165
9165
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
9166
- const J = N.point([C, v], {
9166
+ const H = 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(J);
9170
+ P.push(H);
9171
9171
  }
9172
9172
  } else if (C >= g && C <= w && (!(o <= this.zoom) || C % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
9173
- const J = N.point([C, v], {
9174
- dir: ((W = k[v].val) == null ? void 0 : W[S]) || ((V = k[v].dir) == null ? void 0 : V[S]),
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]),
9175
9175
  spd: k[v].spd[S]
9176
9176
  });
9177
- P.push(J);
9177
+ P.push(H);
9178
9178
  }
9179
9179
  });
9180
9180
  }
@@ -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 $, K, oe, H, j, Q, 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"), W = M("IdmSwell"), V = M("IdmIceEdge"), J = M("IdmIceCover"), te = M("IdmIceThickness"), ae = M("IdmPrecip3h"), re = M("IdmVisibility"), pe = M("IdmWaterTemp"), F = M("IdmTemp");
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");
9300
9300
  return _(), A("div", Oc, [
9301
9301
  n("div", {
9302
9302
  class: "menu-bar-box transition pa-1",
@@ -9311,7 +9311,7 @@ function Cm(e, t, a, i, o, r) {
9311
9311
  "open-on-hover": !a.simple
9312
9312
  }, {
9313
9313
  activator: x(({ props: q }) => [
9314
- b(l, U(q, {
9314
+ b(l, $(q, {
9315
9315
  "min-width": "32",
9316
9316
  width: "32",
9317
9317
  height: "32",
@@ -9342,7 +9342,7 @@ function Cm(e, t, a, i, o, r) {
9342
9342
  "open-on-hover": !a.simple
9343
9343
  }, {
9344
9344
  activator: x(({ props: q }) => [
9345
- b(l, U(q, {
9345
+ b(l, $(q, {
9346
9346
  "min-width": "32",
9347
9347
  width: "32",
9348
9348
  height: "32",
@@ -9465,8 +9465,8 @@ function Cm(e, t, a, i, o, r) {
9465
9465
  })
9466
9466
  ]),
9467
9467
  _: 1
9468
- }, 8, ["style"])) : E("", !0)
9469
- ])) : E("", !0),
9468
+ }, 8, ["style"])) : W("", !0)
9469
+ ])) : W("", !0),
9470
9470
  n("div", {
9471
9471
  class: ge(["available-layers transition d-flex flex-column justify-start align-start", o.toggle ? "right-bar" : ""]),
9472
9472
  style: he(r.listStyle)
@@ -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
- Z("NOAA", -1)
9523
+ O("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
- Z("ECMWF", -1)
9537
+ O("ECMWF", -1)
9538
9538
  ])),
9539
9539
  _: 1,
9540
9540
  __: [16]
@@ -9542,7 +9542,7 @@ function Cm(e, t, a, i, o, r) {
9542
9542
  ]),
9543
9543
  _: 1
9544
9544
  }, 8, ["modelValue"])
9545
- ])) : E("", !0),
9545
+ ])) : W("", !0),
9546
9546
  n("div", {
9547
9547
  class: ge(["list-box w-100 scroll overflow-y-auto", [o.autoActive ? "" : "cursor-not-allowed", a.simple ? "px-3" : "pl-4 pr-2"]])
9548
9548
  }, [
@@ -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
- Z(y(e.$t("weather.overlays")), 1)
9558
+ O(y(e.$t("weather.overlays")), 1)
9559
9559
  ]),
9560
9560
  _: 1
9561
9561
  })
@@ -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
- Z(y(e.$t("weather.renders")), 1)
9595
+ O(y(e.$t("weather.renders")), 1)
9596
9596
  ]),
9597
9597
  _: 1
9598
9598
  })
@@ -9631,7 +9631,7 @@ function Cm(e, t, a, i, o, r) {
9631
9631
  style: { "font-size": "14px" },
9632
9632
  "hide-details": ""
9633
9633
  }, null, 8, ["modelValue"])
9634
- ])) : E("", !0),
9634
+ ])) : W("", !0),
9635
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, {
@@ -9646,7 +9646,7 @@ function Cm(e, t, a, i, o, r) {
9646
9646
  height: "20",
9647
9647
  "hide-details": ""
9648
9648
  }, null, 8, ["modelValue"])
9649
- ])) : E("", !0),
9649
+ ])) : W("", !0),
9650
9650
  o.renderKey === "wave-group" && q.key === "wave-group" ? (_(), B(u, {
9651
9651
  key: 2,
9652
9652
  modelValue: o.waveToggleValue,
@@ -9669,7 +9669,7 @@ function Cm(e, t, a, i, o, r) {
9669
9669
  disabled: !o.autoActive
9670
9670
  }, {
9671
9671
  default: x(() => [
9672
- Z(y(e.$t("weather.significant")), 1)
9672
+ O(y(e.$t("weather.significant")), 1)
9673
9673
  ]),
9674
9674
  _: 1
9675
9675
  }, 8, ["color", "disabled"]),
@@ -9683,13 +9683,13 @@ function Cm(e, t, a, i, o, r) {
9683
9683
  value: "swell"
9684
9684
  }, {
9685
9685
  default: x(() => [
9686
- Z(y(e.$t("weather.swell")), 1)
9686
+ O(y(e.$t("weather.swell")), 1)
9687
9687
  ]),
9688
9688
  _: 1
9689
9689
  }, 8, ["color", "disabled"])
9690
9690
  ]),
9691
9691
  _: 1
9692
- }, 8, ["modelValue", "disabled"])) : E("", !0),
9692
+ }, 8, ["modelValue", "disabled"])) : W("", !0),
9693
9693
  o.renderKey === "ice-forecast" && q.key === "ice-forecast" ? (_(), B(u, {
9694
9694
  key: 3,
9695
9695
  modelValue: o.iceToggleValue,
@@ -9712,7 +9712,7 @@ function Cm(e, t, a, i, o, r) {
9712
9712
  disabled: !o.autoActive
9713
9713
  }, {
9714
9714
  default: x(() => [
9715
- Z(y(e.$t("weather.coverage")), 1)
9715
+ O(y(e.$t("weather.coverage")), 1)
9716
9716
  ]),
9717
9717
  _: 1
9718
9718
  }, 8, ["color", "disabled"]),
@@ -9726,13 +9726,13 @@ function Cm(e, t, a, i, o, r) {
9726
9726
  value: "ice-thickness"
9727
9727
  }, {
9728
9728
  default: x(() => [
9729
- Z(y(e.$t("weather.thickness")), 1)
9729
+ O(y(e.$t("weather.thickness")), 1)
9730
9730
  ]),
9731
9731
  _: 1
9732
9732
  }, 8, ["color", "disabled"])
9733
9733
  ]),
9734
9734
  _: 1
9735
- }, 8, ["modelValue", "disabled"])) : E("", !0)
9735
+ }, 8, ["modelValue", "disabled"])) : W("", !0)
9736
9736
  ], 64))), 128))
9737
9737
  ]),
9738
9738
  _: 1
@@ -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
- Z(y(e.$t("weather.forecastModel")), 1)
9752
+ O(y(e.$t("weather.forecastModel")), 1)
9753
9753
  ]),
9754
9754
  _: 1
9755
9755
  })
@@ -9758,14 +9758,14 @@ 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, Y, xe, Fe, Ve, je, ee, 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
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
- n("div", lm, y(e.$t("weather.lastUpdate")) + ": " + y(r.computeDateUpdate((Y = (He = (Ye = (Oe = o.models) == null ? void 0 : Oe.weather) == null ? void 0 : Ye.NOAA) == null ? void 0 : He.meta) == null ? void 0 : Y.availabilityTime)), 1),
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),
9768
- n("div", sm, y((se = (Ze = (ee = o.models) == null ? void 0 : ee.weather) == null ? void 0 : Ze.ECMWF) == null ? void 0 : se.source) + " " + y((ot = (at = (tt = o.models) == null ? void 0 : tt.weather) == null ? void 0 : at.ECMWF) == null ? void 0 : ot.spatialResolution) + y(e.$t("units.km")) + " " + y((dt = (mt = (ct = (Ge = o.models) == null ? void 0 : Ge.weather) == null ? void 0 : ct.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : dt.days) + y(e.$t("units.days")), 1),
9768
+ n("div", sm, y((se = (Ze = (te = o.models) == null ? void 0 : te.weather) == null ? void 0 : Ze.ECMWF) == null ? void 0 : se.source) + " " + y((ot = (at = (tt = o.models) == null ? void 0 : tt.weather) == null ? void 0 : at.ECMWF) == null ? void 0 : ot.spatialResolution) + y(e.$t("units.km")) + " " + y((dt = (mt = (ct = (Ge = o.models) == null ? void 0 : Ge.weather) == null ? void 0 : ct.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : dt.days) + y(e.$t("units.days")), 1),
9769
9769
  n("div", cm, y(e.$t("weather.source")) + ": ECMWF", 1),
9770
9770
  n("div", mm, y(e.$t("weather.lastUpdate")) + ": " + y(r.computeDateUpdate((gt = (ut = (pt = (ht = o.models) == null ? void 0 : ht.weather) == null ? void 0 : pt.ECMWF) == null ? void 0 : ut.meta) == null ? void 0 : gt.availabilityTime)), 1),
9771
9771
  n("div", dm, y(e.$t("weather.referenceTime")) + ": " + y(r.computeDateZ((wt = (bt = (yt = (ft = o.models) == null ? void 0 : ft.weather) == null ? void 0 : yt.ECMWF) == null ? void 0 : bt.meta) == null ? void 0 : wt.initialisationTime)), 1),
@@ -9794,61 +9794,61 @@ function Cm(e, t, a, i, o, r) {
9794
9794
  })
9795
9795
  ], 2)
9796
9796
  ], 6),
9797
- a.map ? (_(), B(k, U({
9797
+ a.map ? (_(), B(k, $({
9798
9798
  key: 1,
9799
9799
  ref: "windBarb",
9800
9800
  map: a.map,
9801
9801
  "map-feather": a.mapFeather,
9802
9802
  "before-layer": "empty-layer-3",
9803
- wind: ($ = o.weatherLayers) == null ? void 0 : $.wind,
9803
+ wind: (J = o.weatherLayers) == null ? void 0 : J.wind,
9804
9804
  "menu-toggle": a.menuToggle
9805
- }, e.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : E("", !0),
9806
- a.map ? (_(), B(v, U({
9805
+ }, e.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : W("", !0),
9806
+ a.map ? (_(), B(v, $({
9807
9807
  key: 2,
9808
9808
  map: a.map,
9809
9809
  "before-layer": "empty-layer-2",
9810
9810
  "sig-wave-height": (K = o.weatherLayers) == null ? void 0 : K["sig-wave-height"],
9811
9811
  "menu-toggle": a.menuToggle,
9812
9812
  "active-weather-layers": o.activeWeatherLayers
9813
- }, e.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : E("", !0),
9814
- a.map ? (_(), B(T, U({
9813
+ }, e.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : W("", !0),
9814
+ a.map ? (_(), B(T, $({
9815
9815
  key: 3,
9816
9816
  map: a.map,
9817
9817
  "map-feather": a.mapFeather,
9818
9818
  "before-layer": "empty-layer-2",
9819
9819
  current: (oe = o.weatherLayers) == null ? void 0 : oe.current,
9820
9820
  "menu-toggle": a.menuToggle
9821
- }, e.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : E("", !0),
9822
- a.map ? (_(), B(C, U({
9821
+ }, e.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : W("", !0),
9822
+ a.map ? (_(), B(C, $({
9823
9823
  key: 4,
9824
9824
  map: a.map,
9825
9825
  "before-layer": "empty-layer-3",
9826
- prmsl: (H = o.weatherLayers) == null ? void 0 : H.prmsl,
9826
+ prmsl: (Y = o.weatherLayers) == null ? void 0 : Y.prmsl,
9827
9827
  "menu-toggle": a.menuToggle,
9828
9828
  "active-weather-layers": o.activeWeatherLayers
9829
- }, e.$attrs, { theme: a.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : E("", !0),
9830
- a.map ? (_(), B(S, U({
9829
+ }, e.$attrs, { theme: a.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : W("", !0),
9830
+ a.map ? (_(), B(S, $({
9831
9831
  key: 5,
9832
9832
  viewport: o.viewport,
9833
9833
  factor: (j = o.weatherLayers) == null ? void 0 : j["wind-particle"],
9834
9834
  "menu-toggle": a.menuToggle,
9835
9835
  simple: a.simple
9836
- }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : E("", !0),
9837
- a.map ? (_(), B(D, U({
9836
+ }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
9837
+ a.map ? (_(), B(D, $({
9838
9838
  key: 6,
9839
9839
  viewport: o.viewport,
9840
- factor: (Q = o.weatherLayers) == null ? void 0 : Q["current-particle"],
9840
+ factor: (ee = o.weatherLayers) == null ? void 0 : ee["current-particle"],
9841
9841
  "menu-toggle": a.menuToggle,
9842
9842
  simple: a.simple
9843
- }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : E("", !0),
9844
- a.map ? (_(), B(I, U({
9843
+ }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
9844
+ a.map ? (_(), B(I, $({
9845
9845
  key: 7,
9846
9846
  viewport: o.viewport,
9847
9847
  factor: (G = o.weatherLayers) == null ? void 0 : G["sig-wave"],
9848
9848
  "menu-toggle": a.menuToggle,
9849
9849
  simple: a.simple
9850
- }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : E("", !0),
9851
- a.map ? (_(), B(W, U({
9850
+ }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
9851
+ a.map ? (_(), B(E, $({
9852
9852
  key: 8,
9853
9853
  map: a.map,
9854
9854
  viewport: o.viewport,
@@ -9856,56 +9856,56 @@ function Cm(e, t, a, i, o, r) {
9856
9856
  "menu-toggle": a.menuToggle,
9857
9857
  "active-weather-layers": o.activeWeatherLayers,
9858
9858
  simple: a.simple
9859
- }, e.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers", "simple"])) : E("", !0),
9860
- a.map ? (_(), B(V, U({
9859
+ }, e.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers", "simple"])) : W("", !0),
9860
+ a.map ? (_(), B(Z, $({
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
- }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : E("", !0),
9867
- a.map ? (_(), B(J, U({
9866
+ }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
9867
+ a.map ? (_(), B(H, $({
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
- }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : E("", !0),
9874
- a.map ? (_(), B(te, U({
9873
+ }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
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"],
9878
9878
  "menu-toggle": a.menuToggle,
9879
9879
  simple: a.simple
9880
- }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : E("", !0),
9881
- a.map ? (_(), B(ae, U({
9880
+ }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
9881
+ a.map ? (_(), B(ae, $({
9882
9882
  key: 12,
9883
9883
  viewport: o.viewport,
9884
9884
  factor: (me = o.weatherLayers) == null ? void 0 : me.precip3h,
9885
9885
  "menu-toggle": a.menuToggle,
9886
9886
  simple: a.simple
9887
- }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : E("", !0),
9888
- a.map ? (_(), B(re, U({
9887
+ }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
9888
+ a.map ? (_(), B(re, $({
9889
9889
  key: 13,
9890
9890
  viewport: o.viewport,
9891
9891
  factor: (ye = o.weatherLayers) == null ? void 0 : ye.visibility,
9892
9892
  "menu-toggle": a.menuToggle,
9893
9893
  simple: a.simple
9894
- }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : E("", !0),
9895
- a.map ? (_(), B(pe, U({
9894
+ }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
9895
+ a.map ? (_(), B(pe, $({
9896
9896
  key: 14,
9897
9897
  viewport: o.viewport,
9898
9898
  factor: (_e = o.weatherLayers) == null ? void 0 : _e["water-temp"],
9899
9899
  "menu-toggle": a.menuToggle,
9900
9900
  simple: a.simple
9901
- }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : E("", !0),
9902
- a.map ? (_(), B(F, U({
9901
+ }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0),
9902
+ a.map ? (_(), B(F, $({
9903
9903
  key: 15,
9904
9904
  viewport: o.viewport,
9905
9905
  factor: (Re = o.weatherLayers) == null ? void 0 : Re.temp,
9906
9906
  "menu-toggle": a.menuToggle,
9907
9907
  simple: a.simple
9908
- }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : E("", !0)
9908
+ }, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : W("", !0)
9909
9909
  ]);
9910
9910
  }
9911
9911
  const Mm = /* @__PURE__ */ ie(Zc, [["render", Cm]]), Ga = [
@@ -10255,50 +10255,50 @@ 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, W, V, J, te, ae, re, pe, F, $, K, oe, H, j, Q, 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, 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;
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
- const Y = le.utc().diff(Oe, "h", !1);
10261
+ const U = le.utc().diff(Oe, "h", !1);
10262
10262
  let xe, Fe;
10263
10263
  if (Pe) {
10264
- let Ve = 0, je = 0, ee = 0;
10264
+ let Ve = 0, je = 0, te = 0;
10265
10265
  for (const Ze of Pe) {
10266
10266
  const se = Ze == null ? void 0 : Ze.hourly;
10267
- for (let Ge = Y - (Y - 1) % 3; Ge <= Y; Ge++)
10267
+ for (let Ge = U - (U - 1) % 3; Ge <= U; Ge++)
10268
10268
  Ve += (h = se == null ? void 0 : se.precipitation) == null ? void 0 : h.at(Ge);
10269
- for (let Ge = Y - (Y - 1) % 6; Ge <= Y; Ge++)
10269
+ for (let Ge = U - (U - 1) % 6; Ge <= U; Ge++)
10270
10270
  je += (g = se == null ? void 0 : se.precipitation) == null ? void 0 : g.at(Ge);
10271
- for (let Ge = Y - (Y - 1) % 12; Ge <= Y; Ge++)
10272
- ee += (w = se == null ? void 0 : se.precipitation) == null ? void 0 : w.at(Ge);
10271
+ for (let Ge = U - (U - 1) % 12; Ge <= U; Ge++)
10272
+ te += (w = se == null ? void 0 : se.precipitation) == null ? void 0 : w.at(Ge);
10273
10273
  xe = {
10274
- temp: (u = se == null ? void 0 : se.temperature_2m) == null ? void 0 : u.at(Y),
10275
- apparentTemp: (p = se == null ? void 0 : se.apparent_temperature) == null ? void 0 : p.at(Y),
10276
- rh: (f = se == null ? void 0 : se.relative_humidity_2m) == null ? void 0 : f.at(Y),
10277
- dp: (L = se == null ? void 0 : se.dew_point_2m) == null ? void 0 : L.at(Y),
10274
+ temp: (u = se == null ? void 0 : se.temperature_2m) == null ? void 0 : u.at(U),
10275
+ apparentTemp: (p = se == null ? void 0 : se.apparent_temperature) == null ? void 0 : p.at(U),
10276
+ rh: (f = se == null ? void 0 : se.relative_humidity_2m) == null ? void 0 : f.at(U),
10277
+ dp: (L = se == null ? void 0 : se.dew_point_2m) == null ? void 0 : L.at(U),
10278
10278
  precip: {
10279
- probability: (P = se == null ? void 0 : se.precipitation_probability) == null ? void 0 : P.at(Y),
10280
- sum: (k = se == null ? void 0 : se.precipitation) == null ? void 0 : k.at(Y),
10281
- sum1Hours: (v = se == null ? void 0 : se.precipitation) == null ? void 0 : v.at(Y),
10279
+ probability: (P = se == null ? void 0 : se.precipitation_probability) == null ? void 0 : P.at(U),
10280
+ sum: (k = se == null ? void 0 : se.precipitation) == null ? void 0 : k.at(U),
10281
+ sum1Hours: (v = se == null ? void 0 : se.precipitation) == null ? void 0 : v.at(U),
10282
10282
  sum3Hours: Math.round(Ve * 100) / 100,
10283
10283
  sum6Hours: Math.round(je * 100) / 100,
10284
- sum12Hours: Math.round(ee * 100) / 100
10284
+ sum12Hours: Math.round(te * 100) / 100
10285
10285
  },
10286
- pmsl: (T = se == null ? void 0 : se.pressure_msl) == null ? void 0 : T.at(Y),
10287
- psurf: (C = se == null ? void 0 : se.surface_pressure) == null ? void 0 : C.at(Y),
10288
- code: (S = se == null ? void 0 : se.weather_code) == null ? void 0 : S.at(Y),
10289
- visibility: this.m2nm((D = se == null ? void 0 : se.visibility) == null ? void 0 : D.at(Y)),
10286
+ pmsl: (T = se == null ? void 0 : se.pressure_msl) == null ? void 0 : T.at(U),
10287
+ psurf: (C = se == null ? void 0 : se.surface_pressure) == null ? void 0 : C.at(U),
10288
+ code: (S = se == null ? void 0 : se.weather_code) == null ? void 0 : S.at(U),
10289
+ visibility: this.m2nm((D = se == null ? void 0 : se.visibility) == null ? void 0 : D.at(U)),
10290
10290
  wind: {
10291
- speed: (I = se == null ? void 0 : se.wind_speed_10m) == null ? void 0 : I.at(Y),
10292
- kts: (W = se == null ? void 0 : se.wind_speed_10m) == null ? void 0 : W.at(Y),
10293
- degree: (V = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : V.at(Y),
10294
- bearing: ((J = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : J.at(Y)) !== null ? (((te = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : te.at(Y)) + 180) % 360 : null,
10295
- gusts: (ae = se == null ? void 0 : se.wind_gusts_10m) == null ? void 0 : ae.at(Y)
10291
+ speed: (I = se == null ? void 0 : se.wind_speed_10m) == null ? void 0 : I.at(U),
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,
10295
+ gusts: (ae = se == null ? void 0 : se.wind_gusts_10m) == null ? void 0 : ae.at(U)
10296
10296
  },
10297
- isDay: (re = se == null ? void 0 : se.is_day) == null ? void 0 : re.at(Y)
10297
+ isDay: (re = se == null ? void 0 : se.is_day) == null ? void 0 : re.at(U)
10298
10298
  };
10299
10299
  const { name: tt, url: at, bg: ot } = this.parseWeatherCode(xe.code, xe.isDay);
10300
10300
  xe.name = tt, xe.url = at, xe.bg = ot, xe.wind.scale = this.beaufort(this.kts2ms(xe.wind.kts)), xe.wind.direction = this.degree2Direction(xe.wind.degree), He.push({
10301
- utc: Oe.add(Y, "h").format(),
10301
+ utc: Oe.add(U, "h").format(),
10302
10302
  model: Ze.model,
10303
10303
  weather: { ...xe }
10304
10304
  });
@@ -10307,38 +10307,38 @@ let Di = class {
10307
10307
  if (ue) {
10308
10308
  let Ve = 0;
10309
10309
  for (const je of ue) {
10310
- const ee = je == null ? void 0 : je.hourly;
10310
+ const te = je == null ? void 0 : je.hourly;
10311
10311
  Fe = {
10312
10312
  wave: {
10313
10313
  sig: {
10314
- height: (pe = ee == null ? void 0 : ee.wave_height) == null ? void 0 : pe.at(Y),
10315
- degree: (F = ee == null ? void 0 : ee.wave_direction) == null ? void 0 : F.at(Y),
10316
- bearing: (($ = ee == null ? void 0 : ee.wave_direction) == null ? void 0 : $.at(Y)) !== null ? (((K = ee == null ? void 0 : ee.wave_direction) == null ? void 0 : K.at(Y)) + 180) % 360 : null,
10317
- period: (oe = ee == null ? void 0 : ee.wave_period) == null ? void 0 : oe.at(Y)
10314
+ height: (pe = te == null ? void 0 : te.wave_height) == null ? void 0 : pe.at(U),
10315
+ degree: (F = te == null ? void 0 : te.wave_direction) == null ? void 0 : F.at(U),
10316
+ bearing: ((J = te == null ? void 0 : te.wave_direction) == null ? void 0 : J.at(U)) !== null ? (((K = te == null ? void 0 : te.wave_direction) == null ? void 0 : K.at(U)) + 180) % 360 : null,
10317
+ period: (oe = te == null ? void 0 : te.wave_period) == null ? void 0 : oe.at(U)
10318
10318
  },
10319
10319
  swell: {
10320
- height: (H = ee == null ? void 0 : ee.swell_wave_height) == null ? void 0 : H.at(Y),
10321
- degree: (j = ee == null ? void 0 : ee.swell_wave_direction) == null ? void 0 : j.at(Y),
10322
- bearing: ((Q = ee == null ? void 0 : ee.swell_wave_direction) == null ? void 0 : Q.at(Y)) !== null ? (((G = ee == null ? void 0 : ee.swell_wave_direction) == null ? void 0 : G.at(Y)) + 180) % 360 : null,
10323
- period: (ne = ee == null ? void 0 : ee.swell_wave_period) == null ? void 0 : ne.at(Y),
10324
- peakPeriod: (fe = ee == null ? void 0 : ee.swell_wave_peak_period) == null ? void 0 : fe.at(Y)
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),
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
+ period: (ne = te == null ? void 0 : te.swell_wave_period) == null ? void 0 : ne.at(U),
10324
+ peakPeriod: (fe = te == null ? void 0 : te.swell_wave_peak_period) == null ? void 0 : fe.at(U)
10325
10325
  },
10326
10326
  wd: {
10327
- height: (ke = ee == null ? void 0 : ee.wind_wave_height) == null ? void 0 : ke.at(Y),
10328
- degree: (ze = ee == null ? void 0 : ee.wind_wave_direction) == null ? void 0 : ze.at(Y),
10329
- bearing: ((me = ee == null ? void 0 : ee.wind_wave_direction) == null ? void 0 : me.at(Y)) !== null ? (((ye = ee == null ? void 0 : ee.wind_wave_direction) == null ? void 0 : ye.at(Y)) + 180) % 360 : null,
10330
- period: (_e = ee == null ? void 0 : ee.wind_wave_period) == null ? void 0 : _e.at(Y),
10331
- peakPeriod: (Re = ee == null ? void 0 : ee.wind_wave_peak_period) == null ? void 0 : Re.at(Y)
10327
+ height: (ke = te == null ? void 0 : te.wind_wave_height) == null ? void 0 : ke.at(U),
10328
+ degree: (ze = te == null ? void 0 : te.wind_wave_direction) == null ? void 0 : ze.at(U),
10329
+ bearing: ((me = te == null ? void 0 : te.wind_wave_direction) == null ? void 0 : me.at(U)) !== null ? (((ye = te == null ? void 0 : te.wind_wave_direction) == null ? void 0 : ye.at(U)) + 180) % 360 : null,
10330
+ period: (_e = te == null ? void 0 : te.wind_wave_period) == null ? void 0 : _e.at(U),
10331
+ peakPeriod: (Re = te == null ? void 0 : te.wind_wave_peak_period) == null ? void 0 : Re.at(U)
10332
10332
  }
10333
10333
  },
10334
10334
  current: {
10335
- speed: (q = ee == null ? void 0 : ee.ocean_current_velocity) == null ? void 0 : q.at(Y),
10336
- kts: (de = ee == null ? void 0 : ee.ocean_current_velocity) == null ? void 0 : de.at(Y),
10337
- degree: (Xe = ee == null ? void 0 : ee.ocean_current_direction) == null ? void 0 : Xe.at(Y),
10338
- bearing: ((Be = ee == null ? void 0 : ee.ocean_current_direction) == null ? void 0 : Be.at(Y)) ?? null
10335
+ speed: (q = te == null ? void 0 : te.ocean_current_velocity) == null ? void 0 : q.at(U),
10336
+ kts: (de = te == null ? void 0 : te.ocean_current_velocity) == null ? void 0 : de.at(U),
10337
+ degree: (Xe = te == null ? void 0 : te.ocean_current_direction) == null ? void 0 : Xe.at(U),
10338
+ bearing: ((Be = te == null ? void 0 : te.ocean_current_direction) == null ? void 0 : Be.at(U)) ?? null
10339
10339
  },
10340
- sst: (Me = ee == null ? void 0 : ee.sea_surface_temperature) == null ? void 0 : Me.at(Y),
10341
- height: (Ae = ee == null ? void 0 : ee.sea_level_height_msl) == null ? void 0 : Ae.at(Y)
10340
+ sst: (Me = te == null ? void 0 : te.sea_surface_temperature) == null ? void 0 : Me.at(U),
10341
+ height: (Ae = te == null ? void 0 : te.sea_level_height_msl) == null ? void 0 : Ae.at(U)
10342
10342
  }, Fe.wave = this.parseWave(Fe.wave, xe == null ? void 0 : xe.wind), Fe.current.direction = this.degree2Direction(Fe.current.degree), Object.assign(He[Ve], Fe), Ve++;
10343
10343
  }
10344
10344
  }
@@ -10368,7 +10368,7 @@ 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, W, V, J, te, ae, re, pe, F, $, K, oe, H, j, Q, G, ne, fe, ke, ze, me, ye;
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
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;
@@ -10403,9 +10403,9 @@ let Di = class {
10403
10403
  wind: {
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
- degree: (W = ue.wind_direction_10m_dominant) == null ? void 0 : W.at(le),
10407
- gusts: (V = ue.wind_gusts_10m_max) == null ? void 0 : V.at(le),
10408
- bearing: ((J = ue.wind_direction_10m_dominant) == null ? void 0 : J.at(le)) !== null ? (((te = ue.wind_direction_10m_dominant) == null ? void 0 : te.at(le)) + 180) % 360 : null
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
10409
10409
  }
10410
10410
  };
10411
10411
  const { name: we, url: Oe, bg: Ye } = this.parseWeatherCode(Me.code, !0);
@@ -10425,15 +10425,15 @@ let Di = class {
10425
10425
  height: (ae = we.wave_height_max) == null ? void 0 : ae.at(le),
10426
10426
  degree: (re = we.wave_direction_dominant) == null ? void 0 : re.at(le),
10427
10427
  period: (pe = we.wave_period_max) == null ? void 0 : pe.at(le),
10428
- bearing: ((F = we.wave_direction_dominant) == null ? void 0 : F.at(le)) !== null ? ((($ = we.wave_direction_dominant) == null ? void 0 : $.at(le)) + 180) % 360 : null
10428
+ bearing: ((F = we.wave_direction_dominant) == null ? void 0 : F.at(le)) !== null ? (((J = we.wave_direction_dominant) == null ? void 0 : J.at(le)) + 180) % 360 : null
10429
10429
  },
10430
10430
  swell: {
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
- period: (H = we.swell_wave_period_max) == null ? void 0 : H.at(le),
10433
+ period: (Y = we.swell_wave_period_max) == null ? void 0 : Y.at(le),
10434
10434
  peakPeriod: (j = we.swell_wave_peak_period_max) == null ? void 0 : j.at(le),
10435
10435
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
10436
- bearing: ((Q = we.swell_wave_direction_dominant) == null ? void 0 : Q.at(le)) !== null ? ((G = we.swell_wave_direction_dominant) == null ? void 0 : G.at(le)) % 360 : null
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
  },
10438
10438
  wd: {
10439
10439
  height: (ne = we.wind_wave_height_max) == null ? void 0 : ne.at(le),
@@ -11330,10 +11330,10 @@ 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, W, V, J, te, ae, re, pe, F, $;
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;
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), H = this.handleComputePolygons(oe), j = N.featureCollection([...oe]);
11336
- H.forEach((G) => {
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]);
11336
+ Y.forEach((G) => {
11337
11337
  j.features.push(G);
11338
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, {
11339
11339
  type: "geojson",
@@ -11357,10 +11357,10 @@ const Pm = {
11357
11357
  "line-width": 1
11358
11358
  }
11359
11359
  }, "empty-layer-3")), this.interpolateMarkers = [];
11360
- const Q = [];
11360
+ const ee = [];
11361
11361
  for (const G of oe)
11362
11362
  if (!G.properties.disabled) {
11363
- if (!Q.some((me) => {
11363
+ if (!ee.some((me) => {
11364
11364
  var ye;
11365
11365
  return me.properties.name === ((ye = G.properties) == null ? void 0 : ye.name);
11366
11366
  })) {
@@ -11368,10 +11368,10 @@ const Pm = {
11368
11368
  var _e;
11369
11369
  return ye.properties.name === ((_e = G.properties) == null ? void 0 : _e.name);
11370
11370
  })) == null ? void 0 : l.properties) == null ? void 0 : c.nameCn) || ((s = G.properties) == null ? void 0 : s.Name) || "-";
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, Q.push(G);
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 && ((W = (I = G.properties) == null ? void 0 : I.wind) == null ? void 0 : W.kts) < 79 ? ne = this.Theme.current.value.colors["tropicals-ty"] : ((J = (V = G.properties) == null ? void 0 : V.wind) == null ? void 0 : J.kts) >= 79 && ((ae = (te = G.properties) == null ? void 0 : te.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"] : ((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"];
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">
@@ -11391,9 +11391,9 @@ const Pm = {
11391
11391
  const ze = new be.Marker(ke).setLngLat(G.geometry.coordinates).addTo(this.map);
11392
11392
  this.interpolateMarkers.push(ze);
11393
11393
  }
11394
- this.$emit("tropicalCenterPoints", Q);
11394
+ this.$emit("tropicalCenterPoints", ee);
11395
11395
  } else
11396
- (F = this.map) != null && F.getSource(this.interpolateSource) && (($ = this.map) == null || $.getSource(this.interpolateSource).setData(this.empty));
11396
+ (F = this.map) != null && F.getSource(this.interpolateSource) && ((J = this.map) == null || J.getSource(this.interpolateSource).setData(this.empty));
11397
11397
  },
11398
11398
  handleClick(e) {
11399
11399
  var o, r, l, c, s, m, d, h, g, w, u;
@@ -11582,7 +11582,7 @@ function ch(e, t, a, i, o, r) {
11582
11582
  "open-on-hover": !a.simple
11583
11583
  }, {
11584
11584
  activator: x(({ props: u }) => [
11585
- b(l, U(u, {
11585
+ b(l, $(u, {
11586
11586
  "min-width": "32",
11587
11587
  width: "32",
11588
11588
  height: "32",
@@ -11616,7 +11616,7 @@ function ch(e, t, a, i, o, r) {
11616
11616
  return [
11617
11617
  n("div", Tm, [
11618
11618
  n("span", Rm, y(a.locale === "en" ? (u = o.activeTropicals) == null ? void 0 : u.Name : ((p = o.activeTropicals) == null ? void 0 : p.nameCn) || ((f = o.activeTropicals) == null ? void 0 : f.Name) || "-"), 1),
11619
- (P = (L = o.activeTropicals) == null ? void 0 : L.history) != null && P.levelI18n ? (_(), A("span", Dm, " , " + y(e.$t("tropical." + ((v = (k = o.activeTropicals) == null ? void 0 : k.history) == null ? void 0 : v.levelI18n))), 1)) : E("", !0)
11619
+ (P = (L = o.activeTropicals) == null ? void 0 : L.history) != null && P.levelI18n ? (_(), A("span", Dm, " , " + y(e.$t("tropical." + ((v = (k = o.activeTropicals) == null ? void 0 : k.history) == null ? void 0 : v.levelI18n))), 1)) : W("", !0)
11620
11620
  ]),
11621
11621
  b(l, {
11622
11622
  icon: "",
@@ -11633,7 +11633,7 @@ function ch(e, t, a, i, o, r) {
11633
11633
  }, 8, ["onClick"]),
11634
11634
  n("div", Im, [
11635
11635
  n("span", Am, y(e.$t("actions.lastUpdate")) + ": ", 1),
11636
- n("span", null, y(r.computeTime(((C = (T = o.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : C.updated) || ((I = (D = (S = o.activeTropicals) == null ? void 0 : S.forecasts) == null ? void 0 : D.filter((W) => !W.disabled)[0]) == null ? void 0 : I.date), a.timeZone)), 1)
11636
+ n("span", null, y(r.computeTime(((C = (T = o.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : C.updated) || ((I = (D = (S = o.activeTropicals) == null ? void 0 : S.forecasts) == null ? void 0 : D.filter((E) => !E.disabled)[0]) == null ? void 0 : I.date), a.timeZone)), 1)
11637
11637
  ])
11638
11638
  ];
11639
11639
  }),
@@ -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
- Z(y(S.model), 1)
11681
+ O(y(S.model), 1)
11682
11682
  ]),
11683
11683
  _: 2
11684
11684
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -11689,7 +11689,7 @@ function ch(e, t, a, i, o, r) {
11689
11689
  _: 1
11690
11690
  }),
11691
11691
  b(m),
11692
- a.simple ? E("", !0) : (_(), B(d, {
11692
+ a.simple ? W("", !0) : (_(), B(d, {
11693
11693
  key: 0,
11694
11694
  class: "d-flex justify-space-between"
11695
11695
  }, {
@@ -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
- Z(" " + y(e.$t("weather.legend")), 1)
11709
+ O(" " + 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
- Z(y(e.$t("actions.viewReport")), 1)
11722
+ O(y(e.$t("actions.viewReport")), 1)
11723
11723
  ]),
11724
11724
  _: 1
11725
11725
  })
@@ -11835,7 +11835,7 @@ function ch(e, t, a, i, o, r) {
11835
11835
  [et, o.showLegend]
11836
11836
  ])
11837
11837
  ]))
11838
- ], 2)) : E("", !0),
11838
+ ], 2)) : W("", !0),
11839
11839
  Qe(b(h, {
11840
11840
  id: "tropicalHoverMarkerInfo",
11841
11841
  elevation: "16",
@@ -11857,45 +11857,45 @@ 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, W, V, J, te, ae, re, pe, F;
11860
+ var u, p, f, L, P, k, v, T, C, S, D, I, E, Z, H, 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, [
11864
11864
  n("label", jd, y(e.$t("tropical.updated")) + " : ", 1),
11865
11865
  n("span", null, y(r.computeTzTime((p = o.hoverPoint) == null ? void 0 : p.update, a.timeZone)), 1)
11866
- ])) : E("", !0),
11866
+ ])) : W("", !0),
11867
11867
  ((f = o.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (_(), A("div", Xd, [
11868
11868
  n("label", Hd, y(e.$t("tropical.forecast")) + " : ", 1),
11869
11869
  n("span", null, y(r.computeTzTime((L = o.hoverPoint) == null ? void 0 : L.date, a.timeZone)), 1)
11870
- ])) : E("", !0),
11870
+ ])) : W("", !0),
11871
11871
  ((P = o.hoverPoint) == null ? void 0 : P.type) === "history" ? (_(), A("div", Yd, [
11872
11872
  n("label", Ud, y(e.$t("tropical.forecast")) + " : ", 1),
11873
11873
  n("span", null, y(r.computeTzTime((k = o.hoverPoint) == null ? void 0 : k.date, a.timeZone)), 1)
11874
- ])) : E("", !0),
11874
+ ])) : W("", !0),
11875
11875
  ((v = o.hoverPoint) == null ? void 0 : v.type) === "forecast" ? (_(), A("div", $d, [
11876
11876
  n("label", Jd, y(e.$t("tropical.model")) + " : ", 1),
11877
11877
  n("span", null, y(((T = o.hoverPoint) == null ? void 0 : T.model) ?? "-"), 1)
11878
- ])) : E("", !0),
11878
+ ])) : W("", !0),
11879
11879
  ((C = o.hoverPoint) == null ? void 0 : C.type) === "forecast" ? (_(), A("div", Kd, [
11880
11880
  n("label", qd, y(e.$t("weather.wind")) + " : ", 1),
11881
11881
  n("span", null, y(((D = JSON.parse((S = o.hoverPoint) == null ? void 0 : S.wind)) == null ? void 0 : D.kts) ?? "-") + " kts", 1)
11882
- ])) : E("", !0),
11882
+ ])) : W("", !0),
11883
11883
  ((I = o.hoverPoint) == null ? void 0 : I.type) === "history" ? (_(), A("div", Qd, [
11884
11884
  n("label", eh, y(e.$t("weather.wind")) + " : ", 1),
11885
- n("span", null, y(((W = o.hoverPoint) == null ? void 0 : W.kts) ?? "-") + " kts", 1)
11886
- ])) : E("", !0),
11885
+ n("span", null, y(((E = o.hoverPoint) == null ? void 0 : E.kts) ?? "-") + " kts", 1)
11886
+ ])) : W("", !0),
11887
11887
  n("div", th, [
11888
11888
  n("label", ah, y(e.$t("weather.pressure")) + " : ", 1),
11889
- n("span", null, y(((V = o.hoverPoint) == null ? void 0 : V.pressure) ?? "-") + " hPa", 1)
11889
+ n("span", null, y(((Z = o.hoverPoint) == null ? void 0 : Z.pressure) ?? "-") + " hPa", 1)
11890
11890
  ]),
11891
- ((J = o.hoverPoint) == null ? void 0 : J.type) === "history" ? (_(), A("div", oh, [
11891
+ ((H = o.hoverPoint) == null ? void 0 : H.type) === "history" ? (_(), A("div", oh, [
11892
11892
  n("label", ih, y(e.$t("tropical.moveSpeed")) + " : ", 1),
11893
- n("span", null, y(((ae = JSON.parse((te = o.hoverPoint) == null ? void 0 : te.movement)) == null ? void 0 : ae.kts) ?? "-") + " kts", 1)
11894
- ])) : E("", !0),
11893
+ n("span", null, y(((ae = JSON.parse((Q = o.hoverPoint) == null ? void 0 : Q.movement)) == null ? void 0 : ae.kts) ?? "-") + " kts", 1)
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),
11897
11897
  n("span", null, y(((F = JSON.parse((pe = o.hoverPoint) == null ? void 0 : pe.movement)) == null ? void 0 : F.deg) ?? "-") + " °", 1)
11898
- ])) : E("", !0),
11898
+ ])) : W("", !0),
11899
11899
  n("div", nh, [
11900
11900
  n("label", sh, y(e.$t("tropical.position")) + " : ", 1),
11901
11901
  n("span", null, y(r.computePosition(o.hoverPoint)), 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
- Z(y(p), 1)
12165
+ O(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
- Z(y(e.$t("actions.cancel")), 1)
12192
+ O(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
- Z(y(e.$t("actions.confirm")), 1)
12204
+ O(y(e.$t("actions.confirm")), 1)
12205
12205
  ]),
12206
12206
  _: 1
12207
12207
  }, 8, ["onClick"])
@@ -12210,7 +12210,7 @@ function gh(e, t, a, i, o, r) {
12210
12210
  })
12211
12211
  ]),
12212
12212
  _: 1
12213
- }, 8, ["style"])) : E("", !0)
12213
+ }, 8, ["style"])) : W("", !0)
12214
12214
  ], 512);
12215
12215
  }
12216
12216
  const Qa = /* @__PURE__ */ ie(mh, [["render", gh]]);
@@ -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, W, V, J, te, ae, re, pe, F, $, K, oe, H, j, Q, 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, Z, H, Q, ae, re, pe, F, J, K, oe, Y, j, 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((W = (I = t == null ? void 0 : t.wave) == null ? void 0 : I.sig) == null ? void 0 : W.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((J = (V = t == null ? void 0 : t.wave) == null ? void 0 : V.wd) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.windwaveDir = (ae = (te = t == null ? void 0 : t.wave) == null ? void 0 : te.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(($ = (F = t == null ? void 0 : t.wave) == null ? void 0 : F.swell) == null ? void 0 : $.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 = (H = t == null ? void 0 : t.wave) == null ? void 0 : H.swell) == null ? void 0 : j.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((Q = t == null ? void 0 : t.current) == null ? void 0 : Q.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((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;
13268
13268
  },
13269
13269
  handleBind() {
13270
13270
  var e, t;
@@ -13388,7 +13388,7 @@ function yp(e, t, a, i, o, r) {
13388
13388
  "open-on-hover": !a.simple
13389
13389
  }, {
13390
13390
  activator: x(({ props: k }) => [
13391
- b(l, U(k, {
13391
+ b(l, $(k, {
13392
13392
  "min-width": "32",
13393
13393
  width: "32",
13394
13394
  height: "32",
@@ -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
- Z(y(e.$t("spot.lat")), 1),
13447
+ O(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
- Z(y(o.form.latDirection), 1)
13513
+ O(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
- Z(y(e.$t("spot.lng")), 1),
13525
+ O(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
- Z(y(o.form.lngDirection), 1)
13588
+ O(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
- Z(y(e.$t("spot.dateTime")), 1),
13600
+ O(y(e.$t("spot.dateTime")), 1),
13601
13601
  t[16] || (t[16] = n("span", { class: "text-danger" }, "*", -1))
13602
13602
  ])
13603
13603
  ]),
@@ -13608,7 +13608,7 @@ function yp(e, t, a, i, o, r) {
13608
13608
  class: "pa-0"
13609
13609
  }, {
13610
13610
  default: x(() => [
13611
- b(w, U({
13611
+ b(w, $({
13612
13612
  "date-time": o.form.dateTime,
13613
13613
  "time-zone": a.timeZone
13614
13614
  }, e.$attrs, {
@@ -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
- Z(y(e.$t("weather.forecastModel")), 1),
13625
+ O(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
- Z("NOAA", -1)
13655
+ O("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
- Z("ECMWF", -1)
13669
+ O("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
- Z(y(e.$t("actions.clear")), 1)
13696
+ O(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
- Z(y(e.$t("actions.confirm")), 1)
13710
+ O(y(e.$t("actions.confirm")), 1)
13711
13711
  ]),
13712
13712
  _: 1
13713
13713
  }, 8, ["loading"])
@@ -13719,7 +13719,7 @@ function yp(e, t, a, i, o, r) {
13719
13719
  }, 8, ["onSubmit"])
13720
13720
  ]),
13721
13721
  _: 1
13722
- }, 8, ["style"])) : E("", !0),
13722
+ }, 8, ["style"])) : W("", !0),
13723
13723
  o.showMeteo && !a.simple ? (_(), B(P, {
13724
13724
  key: 1,
13725
13725
  id: "idm-gl4-spot-meteo",
@@ -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
- Z(" " + y(e.$t("actions.unfollow")), 1)
13811
+ O(" " + 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
- Z(y(e.$t("actions.follow")) + " ", 1)
13827
+ O(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
- Z(y(e.$t("spot.forecast")), 1)
13840
+ O(y(e.$t("spot.forecast")), 1)
13841
13841
  ]),
13842
13842
  _: 1
13843
13843
  }, 8, ["onClick"])
@@ -13847,7 +13847,7 @@ function yp(e, t, a, i, o, r) {
13847
13847
  })
13848
13848
  ]),
13849
13849
  _: 1
13850
- })) : E("", !0),
13850
+ })) : W("", !0),
13851
13851
  o.showMeteo && a.simple ? (_(), B(P, {
13852
13852
  key: 2,
13853
13853
  ref: "spotMeteo",
@@ -13972,7 +13972,7 @@ function yp(e, t, a, i, o, r) {
13972
13972
  })
13973
13973
  ]),
13974
13974
  _: 1
13975
- }, 512)) : E("", !0),
13975
+ }, 512)) : W("", !0),
13976
13976
  Qe(n("div", up, [
13977
13977
  (_(), A("svg", gp, [
13978
13978
  n("use", {
@@ -14360,7 +14360,7 @@ function vp(e, t, a, i, o, r) {
14360
14360
  "open-on-hover": !a.simple
14361
14361
  }, {
14362
14362
  activator: x(({ props: s }) => [
14363
- b(l, U(s, {
14363
+ b(l, $(s, {
14364
14364
  "min-width": "32",
14365
14365
  width: "32",
14366
14366
  height: "32",
@@ -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
- Z(y(e.$t("marker.markerType")), 1),
15330
+ O(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
- Z(y(e.$t("marker.point")), 1)
15353
+ O(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
- Z(y(e.$t("marker.line")), 1)
15366
+ O(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
- Z(y(e.$t("marker.area")), 1)
15378
+ O(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
- Z(y(e.$t("marker.lat")), 1),
15401
+ O(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
- Z(y(o.form.latDir), 1)
15476
+ O(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
- Z(y(e.$t("marker.lng")), 1),
15489
+ O(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
- Z(y(o.form.lngDir), 1)
15554
+ O(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
- Z(y(e.$t("marker.color")), 1),
15567
+ O(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
- Z(y(e.$t("marker.name")), 1),
15589
+ O(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
- Z(y(e.$t("marker.clearMap")), 1)
15615
+ O(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
- Z(y(e.$t("actions.clear")), 1)
15626
+ O(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
- Z(y(e.$t("actions.save")), 1)
15639
+ O(y(e.$t("actions.save")), 1)
15640
15640
  ]),
15641
15641
  _: 1
15642
15642
  }, 8, ["loading"])
@@ -15645,7 +15645,7 @@ function Kp(e, t, a, i, o, r) {
15645
15645
  })
15646
15646
  ]),
15647
15647
  _: 1
15648
- }, 8, ["onSubmit"])) : E("", !0),
15648
+ }, 8, ["onSubmit"])) : W("", !0),
15649
15649
  o.markerType === "Line" ? (_(), B(P, {
15650
15650
  key: 1,
15651
15651
  ref: "lineForm",
@@ -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
- Z(y(e.$t("marker.color")), 1),
15661
+ O(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
- Z(y(e.$t("marker.name")), 1),
15683
+ O(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
- Z(y(e.$t("marker.clearMap")), 1)
15709
+ O(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
- Z(y(e.$t("actions.clear")), 1)
15720
+ O(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
- Z(y(e.$t("actions.save")), 1)
15733
+ O(y(e.$t("actions.save")), 1)
15734
15734
  ]),
15735
15735
  _: 1
15736
15736
  }, 8, ["loading"])
@@ -15739,7 +15739,7 @@ function Kp(e, t, a, i, o, r) {
15739
15739
  })
15740
15740
  ]),
15741
15741
  _: 1
15742
- }, 8, ["onSubmit"])) : E("", !0),
15742
+ }, 8, ["onSubmit"])) : W("", !0),
15743
15743
  o.markerType === "Area" ? (_(), B(P, {
15744
15744
  key: 2,
15745
15745
  ref: "areaForm",
@@ -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
- Z(y(e.$t("marker.areaType")), 1),
15757
+ O(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
- Z(y(e.$t("marker.polygon")), 1)
15781
+ O(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
- Z(y(e.$t("marker.circle")), 1)
15795
+ O(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
- Z(y(e.$t("marker.rect")), 1)
15808
+ O(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
- Z(y(e.$t("marker.color")), 1),
15818
+ O(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
- Z(y(e.$t("marker.name")), 1),
15840
+ O(y(e.$t("marker.name")), 1),
15841
15841
  t[35] || (t[35] = n("span", { class: "text-danger" }, "*", -1))
15842
15842
  ]),
15843
15843
  b(m, {
@@ -15859,7 +15859,7 @@ function Kp(e, t, a, i, o, r) {
15859
15859
  default: x(() => {
15860
15860
  var v;
15861
15861
  return [
15862
- (v = a.editLayer) != null && v.id ? E("", !0) : (_(), B(h, {
15862
+ (v = a.editLayer) != null && v.id ? W("", !0) : (_(), B(h, {
15863
15863
  key: 0,
15864
15864
  class: "text-none text-body-1",
15865
15865
  variant: "tonal",
@@ -15867,7 +15867,7 @@ function Kp(e, t, a, i, o, r) {
15867
15867
  onClick: r.handleClearDraw
15868
15868
  }, {
15869
15869
  default: x(() => [
15870
- Z(y(e.$t("marker.clearMap")), 1)
15870
+ O(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
- Z(y(e.$t("actions.reset")), 1)
15881
+ O(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
- Z(y(e.$t("actions.save")), 1)
15894
+ O(y(e.$t("actions.save")), 1)
15895
15895
  ]),
15896
15896
  _: 1
15897
15897
  }, 8, ["loading"])
@@ -15901,7 +15901,7 @@ function Kp(e, t, a, i, o, r) {
15901
15901
  })
15902
15902
  ]),
15903
15903
  _: 1
15904
- }, 8, ["onSubmit"])) : E("", !0)
15904
+ }, 8, ["onSubmit"])) : W("", !0)
15905
15905
  ]),
15906
15906
  _: 1
15907
15907
  });
@@ -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
- Z(y(e.$t("marker.group")), 1),
16201
+ O(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
- Z("mdi-cloud-upload-outline", -1)
16228
+ O("mdi-cloud-upload-outline", -1)
16229
16229
  ])),
16230
16230
  _: 1,
16231
16231
  __: [9]
@@ -16241,7 +16241,7 @@ function cu(e, t, a, i, o, r) {
16241
16241
  }, null, 544)
16242
16242
  ], 34),
16243
16243
  n("div", ru, y(e.$t("marker.uploadLimit")), 1),
16244
- o.fileError ? (_(), A("div", lu, y(o.fileError), 1)) : E("", !0),
16244
+ o.fileError ? (_(), A("div", lu, y(o.fileError), 1)) : W("", !0),
16245
16245
  o.form.file ? (_(), A("div", nu, [
16246
16246
  n("span", su, y(o.form.file.name), 1),
16247
16247
  b(l, {
@@ -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
- Z("mdi-close", -1)
16257
+ O("mdi-close", -1)
16258
16258
  ])),
16259
16259
  _: 1,
16260
16260
  __: [10]
@@ -16262,7 +16262,7 @@ function cu(e, t, a, i, o, r) {
16262
16262
  ]),
16263
16263
  _: 1
16264
16264
  }, 8, ["onClick"])
16265
- ])) : E("", !0)
16265
+ ])) : W("", !0)
16266
16266
  ]),
16267
16267
  _: 1
16268
16268
  }),
@@ -16276,7 +16276,7 @@ function cu(e, t, a, i, o, r) {
16276
16276
  onClick: r.handleReset
16277
16277
  }, {
16278
16278
  default: x(() => [
16279
- Z(y(e.$t("actions.reset")), 1)
16279
+ O(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
- Z(y(e.$t("actions.confirm")), 1)
16292
+ O(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
- Z(y(e.$t("marker.groupName")), 1),
16405
+ O(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
- Z(y(e.$t("actions.cancel")), 1)
16432
+ O(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
- Z(y(e.$t("actions.confirm")), 1)
16445
+ O(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
- Z(y(e.$t("actions.cancel")), 1)
16549
+ O(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
- Z(y(e.$t("actions.delete")), 1)
16562
+ O(y(e.$t("actions.delete")), 1)
16563
16563
  ]),
16564
16564
  _: 1
16565
16565
  }, 8, ["loading", "onClick"])
@@ -16921,7 +16921,7 @@ function Eu(e, t, a, i, o, r) {
16921
16921
  "open-on-hover": !a.simple
16922
16922
  }, {
16923
16923
  activator: x(({ props: I }) => [
16924
- b(l, U(I, {
16924
+ b(l, $(I, {
16925
16925
  "min-width": "32",
16926
16926
  width: "32",
16927
16927
  height: "32",
@@ -17002,7 +17002,7 @@ function Eu(e, t, a, i, o, r) {
17002
17002
  _: 1
17003
17003
  }, 8, ["modelValue"])
17004
17004
  ]),
17005
- a.simple ? E("", !0) : (_(), A("div", Su, [
17005
+ a.simple ? W("", !0) : (_(), A("div", Su, [
17006
17006
  b(l, {
17007
17007
  class: "flex-1-1-0 text-none mb-3 text-body-1 font-weight-600",
17008
17008
  color: "primary",
@@ -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
- Z(y(e.$t("actions.add")), 1)
17017
+ O(y(e.$t("actions.add")), 1)
17018
17018
  ]),
17019
17019
  _: 1
17020
17020
  }),
@@ -17029,214 +17029,220 @@ function Eu(e, t, a, i, o, r) {
17029
17029
  onClick: r.handleOpenImportDialog
17030
17030
  }, {
17031
17031
  default: x(() => [
17032
- Z(y(e.$t("actions.import")), 1)
17032
+ O(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) => (_(), A("div", {
17040
- key: I.name,
17041
- class: ge(["btn-bg-1", I.index === o.layerGroup.length ? "rounded-b" : I.index === 1 ? "rounded-t" : ""])
17042
- }, [
17043
- n("div", Ru, [
17044
- n("div", Du, [
17045
- I.show ? (_(), B(m, {
17046
- key: 0,
17047
- icon: "mdi-chevron-down",
17048
- onClick: (W) => I.show = !1
17049
- }, null, 8, ["onClick"])) : (_(), B(m, {
17050
- key: 1,
17051
- icon: "mdi-chevron-right",
17052
- onClick: (W) => I.show = !0
17053
- }, null, 8, ["onClick"])),
17054
- o.loading ? (_(), B(g, {
17055
- key: 3,
17056
- class: "mx-2",
17057
- color: "primary",
17058
- indeterminate: "",
17059
- size: "16",
17060
- width: "2"
17061
- })) : (_(), B(h, {
17062
- key: 2,
17063
- density: "compact",
17064
- variant: "tonal",
17065
- class: "font-weight-600 mr-2",
17066
- color: "primary",
17067
- onClick: (W) => I.show = !I.show
17068
- }, {
17069
- default: x(() => {
17070
- var W;
17071
- return [
17072
- Z(y((W = I.layers) == null ? void 0 : W.length), 1)
17073
- ];
17074
- }),
17075
- _: 2
17076
- }, 1032, ["onClick"])),
17077
- n("div", {
17078
- class: "",
17079
- onClick: (W) => I.show = !I.show
17080
- }, y(I.name), 9, Iu)
17039
+ (_(!0), A(Te, null, De(o.layerGroup, (I) => {
17040
+ var E;
17041
+ return _(), A("div", {
17042
+ key: I.name,
17043
+ class: ge(["btn-bg-1", I.index === o.layerGroup.length ? "rounded-b" : I.index === 1 ? "rounded-t" : ""])
17044
+ }, [
17045
+ n("div", Ru, [
17046
+ n("div", Du, [
17047
+ I.show ? (_(), B(m, {
17048
+ key: 0,
17049
+ icon: "mdi-chevron-down",
17050
+ onClick: (Z) => I.show = !1
17051
+ }, null, 8, ["onClick"])) : (_(), B(m, {
17052
+ key: 1,
17053
+ icon: "mdi-chevron-right",
17054
+ onClick: (Z) => I.show = !0
17055
+ }, null, 8, ["onClick"])),
17056
+ o.loading ? (_(), B(g, {
17057
+ key: 3,
17058
+ class: "mx-2",
17059
+ color: "primary",
17060
+ indeterminate: "",
17061
+ size: "16",
17062
+ width: "2"
17063
+ })) : (_(), B(h, {
17064
+ key: 2,
17065
+ density: "compact",
17066
+ variant: "tonal",
17067
+ class: "font-weight-600 mr-2",
17068
+ color: "primary",
17069
+ onClick: (Z) => I.show = !I.show
17070
+ }, {
17071
+ default: x(() => {
17072
+ var Z;
17073
+ return [
17074
+ O(y((Z = I.layers) == null ? void 0 : Z.length), 1)
17075
+ ];
17076
+ }),
17077
+ _: 2
17078
+ }, 1032, ["onClick"])),
17079
+ n("div", {
17080
+ class: "",
17081
+ onClick: (Z) => I.show = !I.show
17082
+ }, y(I.name), 9, Iu)
17083
+ ]),
17084
+ I.name !== "Custom Layers" && !a.simple ? (_(), A("div", Au, [
17085
+ b(P, {
17086
+ icon: "",
17087
+ density: "compact",
17088
+ variant: "plain",
17089
+ class: "mx-1"
17090
+ }, {
17091
+ default: x(() => [
17092
+ t[10] || (t[10] = n("i", { class: "iconfont icon-dots-vertical text-h4 cursor-pointer" }, null, -1)),
17093
+ b(L, {
17094
+ activator: "parent",
17095
+ "min-width": "240",
17096
+ class: "drop-menu"
17097
+ }, {
17098
+ default: x(() => [
17099
+ b(f, { class: "pa-2 px-0" }, {
17100
+ default: x(() => [
17101
+ b(p, { class: "" }, {
17102
+ default: x(() => [
17103
+ b(u, {
17104
+ value: "account",
17105
+ variant: "flat",
17106
+ rounded: "",
17107
+ height: "38",
17108
+ "min-height": "38"
17109
+ }, {
17110
+ default: x(() => [
17111
+ b(w, {
17112
+ class: "text-body-1 d-flex jusity-center align-center",
17113
+ onClick: (Z) => r.handleOpenDrawMarkers(I)
17114
+ }, {
17115
+ default: x(() => [
17116
+ b(m, {
17117
+ icon: "mdi-plus-circle-outline mr-4",
17118
+ size: "16"
17119
+ }),
17120
+ n("span", null, y(e.$t("actions.addMarker")), 1)
17121
+ ]),
17122
+ _: 2
17123
+ }, 1032, ["onClick"])
17124
+ ]),
17125
+ _: 2
17126
+ }, 1024),
17127
+ b(u, {
17128
+ value: "help",
17129
+ variant: "flat",
17130
+ rounded: "",
17131
+ height: "38",
17132
+ "min-height": "38"
17133
+ }, {
17134
+ default: x(() => [
17135
+ b(w, {
17136
+ class: "text-body-1 d-flex jusity-center align-center",
17137
+ onClick: (Z) => r.handleEditGroup(I)
17138
+ }, {
17139
+ default: x(() => [
17140
+ b(m, {
17141
+ icon: "mdi-pencil mr-4",
17142
+ size: "16"
17143
+ }),
17144
+ n("span", null, y(e.$t("actions.editGroup")), 1)
17145
+ ]),
17146
+ _: 2
17147
+ }, 1032, ["onClick"])
17148
+ ]),
17149
+ _: 2
17150
+ }, 1024),
17151
+ b(u, {
17152
+ value: "loginOut",
17153
+ variant: "flat",
17154
+ rounded: "",
17155
+ height: "38",
17156
+ "min-height": "38"
17157
+ }, {
17158
+ default: x(() => [
17159
+ b(w, {
17160
+ class: "text-body-1 d-flex jusity-center align-center",
17161
+ onClick: (Z) => r.handleOpenDelete("group", I)
17162
+ }, {
17163
+ default: x(() => [
17164
+ b(m, {
17165
+ icon: "mdi-trash-can-outline mr-4",
17166
+ size: "16"
17167
+ }),
17168
+ n("span", null, y(e.$t("actions.deleteGroup")), 1)
17169
+ ]),
17170
+ _: 2
17171
+ }, 1032, ["onClick"])
17172
+ ]),
17173
+ _: 2
17174
+ }, 1024)
17175
+ ]),
17176
+ _: 2
17177
+ }, 1024)
17178
+ ]),
17179
+ _: 2
17180
+ }, 1024)
17181
+ ]),
17182
+ _: 2
17183
+ }, 1024)
17184
+ ]),
17185
+ _: 2,
17186
+ __: [10]
17187
+ }, 1024)
17188
+ ])) : W("", !0)
17081
17189
  ]),
17082
- I.name !== "Custom Layers" && !a.simple ? (_(), A("div", Au, [
17083
- b(P, {
17084
- icon: "",
17085
- density: "compact",
17086
- variant: "plain",
17087
- class: "mx-1"
17088
- }, {
17089
- default: x(() => [
17090
- t[10] || (t[10] = n("i", { class: "iconfont icon-dots-vertical text-h4 cursor-pointer" }, null, -1)),
17091
- b(L, {
17092
- activator: "parent",
17093
- "min-width": "240",
17094
- class: "drop-menu"
17095
- }, {
17096
- default: x(() => [
17097
- b(f, { class: "pa-2 px-0" }, {
17098
- default: x(() => [
17099
- b(p, { class: "" }, {
17100
- default: x(() => [
17101
- b(u, {
17102
- value: "account",
17103
- variant: "flat",
17104
- rounded: "",
17105
- height: "38",
17106
- "min-height": "38"
17107
- }, {
17108
- default: x(() => [
17109
- b(w, {
17110
- class: "text-body-1 d-flex jusity-center align-center",
17111
- onClick: (W) => r.handleOpenDrawMarkers(I)
17112
- }, {
17113
- default: x(() => [
17114
- b(m, {
17115
- icon: "mdi-plus-circle-outline mr-4",
17116
- size: "16"
17117
- }),
17118
- n("span", null, y(e.$t("actions.addMarker")), 1)
17119
- ]),
17120
- _: 2
17121
- }, 1032, ["onClick"])
17122
- ]),
17123
- _: 2
17124
- }, 1024),
17125
- b(u, {
17126
- value: "help",
17127
- variant: "flat",
17128
- rounded: "",
17129
- height: "38",
17130
- "min-height": "38"
17131
- }, {
17132
- default: x(() => [
17133
- b(w, {
17134
- class: "text-body-1 d-flex jusity-center align-center",
17135
- onClick: (W) => r.handleEditGroup(I)
17136
- }, {
17137
- default: x(() => [
17138
- b(m, {
17139
- icon: "mdi-pencil mr-4",
17140
- size: "16"
17141
- }),
17142
- n("span", null, y(e.$t("actions.editGroup")), 1)
17143
- ]),
17144
- _: 2
17145
- }, 1032, ["onClick"])
17146
- ]),
17147
- _: 2
17148
- }, 1024),
17149
- b(u, {
17150
- value: "loginOut",
17151
- variant: "flat",
17152
- rounded: "",
17153
- height: "38",
17154
- "min-height": "38"
17155
- }, {
17156
- default: x(() => [
17157
- b(w, {
17158
- class: "text-body-1 d-flex jusity-center align-center",
17159
- onClick: (W) => r.handleOpenDelete("group", I)
17160
- }, {
17161
- default: x(() => [
17162
- b(m, {
17163
- icon: "mdi-trash-can-outline mr-4",
17164
- size: "16"
17165
- }),
17166
- n("span", null, y(e.$t("actions.deleteGroup")), 1)
17167
- ]),
17168
- _: 2
17169
- }, 1032, ["onClick"])
17170
- ]),
17171
- _: 2
17172
- }, 1024)
17173
- ]),
17174
- _: 2
17175
- }, 1024)
17176
- ]),
17177
- _: 2
17178
- }, 1024)
17179
- ]),
17180
- _: 2
17181
- }, 1024)
17182
- ]),
17183
- _: 2,
17184
- __: [10]
17185
- }, 1024)
17186
- ])) : E("", !0)
17187
- ]),
17188
- I.show ? (_(), A("div", Fu, [
17189
- (_(!0), A(Te, null, De(I.layers, (W) => {
17190
- var V;
17191
- return _(), A("div", {
17192
- key: W.id,
17193
- class: ge(["layer-item py-4 px-2 mx-2 rounded cursor-pointer d-flex align-center justify-space-between", ((V = o.currentLayer) == null ? void 0 : V.id) === W.id ? "active" : ""])
17194
- }, [
17195
- n("div", Gu, [
17196
- n("span", Nu, y(W == null ? void 0 : W.name), 1)
17197
- ]),
17198
- a.simple ? E("", !0) : (_(), A("div", Wu, [
17199
- b(l, {
17200
- class: "",
17201
- density: "compact",
17202
- icon: "",
17203
- variant: "text",
17204
- onClick: (J) => r.handleEditLayer(I, W)
17205
- }, {
17206
- default: x(() => [
17207
- b(m, {
17208
- icon: "mdi-pencil",
17209
- size: "16"
17210
- })
17211
- ]),
17212
- _: 2
17213
- }, 1032, ["onClick"]),
17214
- b(l, {
17215
- class: "",
17216
- density: "compact",
17217
- icon: "",
17218
- variant: "text",
17219
- loading: o.deleteLoading,
17220
- onClick: (J) => r.handleOpenDelete("layer", W)
17221
- }, {
17222
- default: x(() => [
17223
- b(m, {
17224
- icon: "mdi-trash-can-outline",
17225
- size: "16"
17226
- })
17227
- ]),
17228
- _: 2
17229
- }, 1032, ["loading", "onClick"])
17230
- ]))
17231
- ], 2);
17232
- }), 128))
17233
- ])) : E("", !0),
17234
- I.index < o.layerGroup.length ? (_(), B(k, {
17235
- key: 1,
17236
- class: "w-100",
17237
- thickness: "1"
17238
- })) : E("", !0)
17239
- ], 2))), 128))
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;
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" : ""])
17199
+ }, [
17200
+ n("div", Gu, [
17201
+ n("span", Nu, y(Z == null ? void 0 : Z.name), 1)
17202
+ ]),
17203
+ a.simple ? W("", !0) : (_(), A("div", Wu, [
17204
+ b(l, {
17205
+ class: "",
17206
+ density: "compact",
17207
+ icon: "",
17208
+ variant: "text",
17209
+ onClick: (Q) => r.handleEditLayer(I, Z)
17210
+ }, {
17211
+ default: x(() => [
17212
+ b(m, {
17213
+ icon: "mdi-pencil",
17214
+ size: "16"
17215
+ })
17216
+ ]),
17217
+ _: 2
17218
+ }, 1032, ["onClick"]),
17219
+ b(l, {
17220
+ class: "",
17221
+ density: "compact",
17222
+ icon: "",
17223
+ variant: "text",
17224
+ loading: o.deleteLoading,
17225
+ onClick: (Q) => r.handleOpenDelete("layer", Z)
17226
+ }, {
17227
+ default: x(() => [
17228
+ b(m, {
17229
+ icon: "mdi-trash-can-outline",
17230
+ size: "16"
17231
+ })
17232
+ ]),
17233
+ _: 2
17234
+ }, 1032, ["loading", "onClick"])
17235
+ ]))
17236
+ ], 2);
17237
+ }), 128))
17238
+ ])) : W("", !0),
17239
+ I.index < o.layerGroup.length ? (_(), B(k, {
17240
+ key: 1,
17241
+ class: "w-100",
17242
+ thickness: "1"
17243
+ })) : W("", !0)
17244
+ ], 2);
17245
+ }), 128))
17240
17246
  ])
17241
17247
  ], 6),
17242
17248
  o.drawDialog ? (_(), B(v, {
@@ -17249,7 +17255,7 @@ function Eu(e, t, a, i, o, r) {
17249
17255
  group: o.currentGroup,
17250
17256
  onClose: r.handleCloseDraw,
17251
17257
  onSave: r.handleSaveMarker
17252
- }, null, 8, ["map", "gateway", "token", "defaultMeteoToken", "editLayer", "group", "onClose", "onSave"])) : E("", !0),
17258
+ }, null, 8, ["map", "gateway", "token", "defaultMeteoToken", "editLayer", "group", "onClose", "onSave"])) : W("", !0),
17253
17259
  o.importDialog ? (_(), B(T, {
17254
17260
  key: 1,
17255
17261
  map: a.map,
@@ -17260,7 +17266,7 @@ function Eu(e, t, a, i, o, r) {
17260
17266
  group: o.currentGroup,
17261
17267
  onClose: t[3] || (t[3] = (I) => (o.importDialog = !1, o.currentGroup = void 0)),
17262
17268
  onImport: r.handleImportLayer
17263
- }, null, 8, ["map", "gateway", "token", "defaultMeteoToken", "layerGroup", "group", "onImport"])) : E("", !0),
17269
+ }, null, 8, ["map", "gateway", "token", "defaultMeteoToken", "layerGroup", "group", "onImport"])) : W("", !0),
17264
17270
  b(C, {
17265
17271
  modelValue: o.groupDialog,
17266
17272
  "onUpdate:modelValue": t[4] || (t[4] = (I) => o.groupDialog = I),
@@ -17281,25 +17287,25 @@ function Eu(e, t, a, i, o, r) {
17281
17287
  ]);
17282
17288
  }
17283
17289
  const Bu = /* @__PURE__ */ ie(vu, [["render", Eu]]);
17284
- var O = { image: /* @__PURE__ */ new Map(), background: /* @__PURE__ */ new Map(), resource: /* @__PURE__ */ new Map(), defaultStyle: /* @__PURE__ */ new Map(), baseStyle: /* @__PURE__ */ new Map(), computedStyle: /* @__PURE__ */ new WeakMap(), font: /* @__PURE__ */ new Set(), session: { styleMap: /* @__PURE__ */ new Map(), styleCache: /* @__PURE__ */ new WeakMap(), nodeMap: /* @__PURE__ */ new Map() } };
17290
+ var V = { image: /* @__PURE__ */ new Map(), background: /* @__PURE__ */ new Map(), resource: /* @__PURE__ */ new Map(), defaultStyle: /* @__PURE__ */ new Map(), baseStyle: /* @__PURE__ */ new Map(), computedStyle: /* @__PURE__ */ new WeakMap(), font: /* @__PURE__ */ new Set(), session: { styleMap: /* @__PURE__ */ new Map(), styleCache: /* @__PURE__ */ new WeakMap(), nodeMap: /* @__PURE__ */ new Map() } };
17285
17291
  function Zu(e = "soft") {
17286
- switch (O.session.__counterEpoch = (O.session.__counterEpoch || 0) + 1, e) {
17292
+ switch (V.session.__counterEpoch = (V.session.__counterEpoch || 0) + 1, e) {
17287
17293
  case "auto": {
17288
- O.session.styleMap = /* @__PURE__ */ new Map(), O.session.nodeMap = /* @__PURE__ */ new Map();
17294
+ V.session.styleMap = /* @__PURE__ */ new Map(), V.session.nodeMap = /* @__PURE__ */ new Map();
17289
17295
  return;
17290
17296
  }
17291
17297
  case "soft": {
17292
- O.session.styleMap = /* @__PURE__ */ new Map(), O.session.nodeMap = /* @__PURE__ */ new Map(), O.session.styleCache = /* @__PURE__ */ new WeakMap();
17298
+ V.session.styleMap = /* @__PURE__ */ new Map(), V.session.nodeMap = /* @__PURE__ */ new Map(), V.session.styleCache = /* @__PURE__ */ new WeakMap();
17293
17299
  return;
17294
17300
  }
17295
17301
  case "full":
17296
17302
  return;
17297
17303
  case "disabled": {
17298
- O.session.styleMap = /* @__PURE__ */ new Map(), O.session.nodeMap = /* @__PURE__ */ new Map(), O.session.styleCache = /* @__PURE__ */ new WeakMap(), O.computedStyle = /* @__PURE__ */ new WeakMap(), O.baseStyle = /* @__PURE__ */ new Map(), O.defaultStyle = /* @__PURE__ */ new Map(), O.image = /* @__PURE__ */ new Map(), O.background = /* @__PURE__ */ new Map(), O.resource = /* @__PURE__ */ new Map(), O.font = /* @__PURE__ */ new Set();
17304
+ V.session.styleMap = /* @__PURE__ */ new Map(), V.session.nodeMap = /* @__PURE__ */ new Map(), V.session.styleCache = /* @__PURE__ */ new WeakMap(), V.computedStyle = /* @__PURE__ */ new WeakMap(), V.baseStyle = /* @__PURE__ */ new Map(), V.defaultStyle = /* @__PURE__ */ new Map(), V.image = /* @__PURE__ */ new Map(), V.background = /* @__PURE__ */ new Map(), V.resource = /* @__PURE__ */ new Map(), V.font = /* @__PURE__ */ new Set();
17299
17305
  return;
17300
17306
  }
17301
17307
  default: {
17302
- O.session.styleMap = /* @__PURE__ */ new Map(), O.session.nodeMap = /* @__PURE__ */ new Map(), O.session.styleCache = /* @__PURE__ */ new WeakMap();
17308
+ V.session.styleMap = /* @__PURE__ */ new Map(), V.session.nodeMap = /* @__PURE__ */ new Map(), V.session.styleCache = /* @__PURE__ */ new WeakMap();
17303
17309
  return;
17304
17310
  }
17305
17311
  }
@@ -17472,25 +17478,25 @@ async function ar(e, t = {}) {
17472
17478
  if (!a)
17473
17479
  return e;
17474
17480
  let i = Ka(a);
17475
- if (O.background.has(i)) {
17476
- let o = O.background.get(i);
17481
+ if (V.background.has(i)) {
17482
+ let o = V.background.get(i);
17477
17483
  return o ? `url("${o}")` : "none";
17478
17484
  }
17479
17485
  try {
17480
17486
  let o = await $e(i, { as: "dataURL", useProxy: t.useProxy });
17481
- return o.ok ? (O.background.set(i, o.data), `url("${o.data}")`) : (O.background.set(i, null), "none");
17487
+ return o.ok ? (V.background.set(i, o.data), `url("${o.data}")`) : (V.background.set(i, null), "none");
17482
17488
  } catch {
17483
- return O.background.set(i, null), "none";
17489
+ return V.background.set(i, null), "none";
17484
17490
  }
17485
17491
  }
17486
17492
  var $u = /* @__PURE__ */ new Set(["meta", "script", "noscript", "title", "link", "template"]), yo = /* @__PURE__ */ new Set(["meta", "link", "style", "title", "noscript", "script", "template", "g", "defs", "use", "marker", "mask", "clipPath", "pattern", "path", "polygon", "polyline", "line", "circle", "ellipse", "rect", "filter", "lineargradient", "radialgradient", "stop"]);
17487
17493
  function Ju(e) {
17488
17494
  if (e = String(e).toLowerCase(), yo.has(e)) {
17489
17495
  let r = {};
17490
- return O.defaultStyle.set(e, r), r;
17496
+ return V.defaultStyle.set(e, r), r;
17491
17497
  }
17492
- if (O.defaultStyle.has(e))
17493
- return O.defaultStyle.get(e);
17498
+ if (V.defaultStyle.has(e))
17499
+ return V.defaultStyle.get(e);
17494
17500
  let t = document.getElementById("snapdom-sandbox");
17495
17501
  t || (t = document.createElement("div"), t.id = "snapdom-sandbox", t.setAttribute("data-snapdom-sandbox", "true"), t.setAttribute("aria-hidden", "true"), t.style.position = "absolute", t.style.left = "-9999px", t.style.top = "-9999px", t.style.width = "0px", t.style.height = "0px", t.style.overflow = "hidden", document.body.appendChild(t));
17496
17502
  let a = document.createElement(e);
@@ -17502,7 +17508,7 @@ function Ju(e) {
17502
17508
  let l = i.getPropertyValue(r);
17503
17509
  o[r] = l;
17504
17510
  }
17505
- return t.removeChild(a), O.defaultStyle.set(e, o), o;
17511
+ return t.removeChild(a), V.defaultStyle.set(e, o), o;
17506
17512
  }
17507
17513
  var Ku = /(?:^|-)(animation|transition)(?:-|$)/i, qu = /^(--|view-timeline|scroll-timeline|animation-trigger|offset-|position-try|app-region|interactivity|overlay|view-transition|-webkit-locale|-webkit-user-(?:drag|modify)|-webkit-tap-highlight-color|-webkit-text-security)$/i, Qu = /* @__PURE__ */ new Set(["cursor", "pointer-events", "touch-action", "user-select", "print-color-adjust", "speak", "reading-flow", "reading-order", "anchor-name", "anchor-scope", "container-name", "container-type", "timeline-scope"]);
17508
17514
  function or(e) {
@@ -17528,7 +17534,7 @@ function eg(e) {
17528
17534
  function tg(e) {
17529
17535
  let t = /* @__PURE__ */ new Map();
17530
17536
  for (let i of e) {
17531
- let o = O.defaultStyle.get(i);
17537
+ let o = V.defaultStyle.get(i);
17532
17538
  if (!o)
17533
17539
  continue;
17534
17540
  let r = Object.entries(o).map(([l, c]) => `${l}:${c};`).sort().join("");
@@ -17549,8 +17555,8 @@ function ag(e) {
17549
17555
  function ir(e, t = null) {
17550
17556
  if (!(e instanceof Element))
17551
17557
  return window.getComputedStyle(e, t);
17552
- let a = O.computedStyle.get(e);
17553
- if (a || (a = /* @__PURE__ */ new Map(), O.computedStyle.set(e, a)), !a.has(t)) {
17558
+ let a = V.computedStyle.get(e);
17559
+ if (a || (a = /* @__PURE__ */ new Map(), V.computedStyle.set(e, a)), !a.has(t)) {
17554
17560
  let i = window.getComputedStyle(e, t);
17555
17561
  a.set(t, i);
17556
17562
  }
@@ -17887,16 +17893,16 @@ async function cr(e, t, a = "") {
17887
17893
  } catch {
17888
17894
  }
17889
17895
  if (!Je(h)) {
17890
- if ((o = O.resource) != null && o.has(h)) {
17891
- (r = O.font) == null || r.add(h), i = i.replace(m[0], `url(${O.resource.get(h)})`);
17896
+ if ((o = V.resource) != null && o.has(h)) {
17897
+ (r = V.font) == null || r.add(h), i = i.replace(m[0], `url(${V.resource.get(h)})`);
17892
17898
  continue;
17893
17899
  }
17894
- if (!((l = O.font) != null && l.has(h)))
17900
+ if (!((l = V.font) != null && l.has(h)))
17895
17901
  try {
17896
17902
  let g = await $e(h, { as: "dataURL", useProxy: a, silent: !0 });
17897
17903
  if (g.ok && typeof g.data == "string") {
17898
17904
  let w = g.data;
17899
- (c = O.resource) == null || c.set(h, w), (s = O.font) == null || s.add(h), i = i.replace(m[0], `url(${w})`);
17905
+ (c = V.resource) == null || c.set(h, w), (s = V.font) == null || s.add(h), i = i.replace(m[0], `url(${w})`);
17900
17906
  }
17901
17907
  } catch {
17902
17908
  console.warn("[snapDOM] Failed to fetch font resource:", h);
@@ -18001,21 +18007,21 @@ async function mr(e, t, a, i) {
18001
18007
  }
18002
18008
  }
18003
18009
  async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFonts: i = [], useProxy: o = "" } = {}) {
18004
- var p, f, L, P, k, v, T, C, S, D, I, W, V, J, te, ae, re, pe;
18010
+ var p, f, L, P, k, v, T, C, S, D, I, E, Z, H, Q, ae, re, pe;
18005
18011
  e instanceof Set || (e = /* @__PURE__ */ new Set()), t instanceof Set || (t = /* @__PURE__ */ new Set());
18006
18012
  let r = /* @__PURE__ */ new Map();
18007
18013
  for (let F of e) {
18008
- let [$, K, oe, H] = String(F).split("__");
18009
- if (!$)
18014
+ let [J, K, oe, Y] = String(F).split("__");
18015
+ if (!J)
18010
18016
  continue;
18011
- let j = r.get($) || [];
18012
- j.push({ w: parseInt(K, 10), s: oe, st: parseInt(H, 10) }), r.set($, j);
18017
+ let j = r.get(J) || [];
18018
+ j.push({ w: parseInt(K, 10), s: oe, st: parseInt(Y, 10) }), r.set(J, j);
18013
18019
  }
18014
- function l(F, $, K, oe) {
18020
+ function l(F, J, K, oe) {
18015
18021
  if (!r.has(F))
18016
18022
  return !1;
18017
- let H = r.get(F), j = gg(K), Q = fg($), G = yg(oe), ne = j.min !== j.max, fe = j.min, ke = (me) => Q.kind === "normal" && me === "normal" || Q.kind !== "normal" && (me === "italic" || me === "oblique"), ze = !1;
18018
- for (let me of H) {
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;
18024
+ for (let me of Y) {
18019
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;
18020
18026
  if (ye && _e && Re) {
18021
18027
  ze = !0;
@@ -18025,13 +18031,13 @@ async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
18025
18031
  if (ze)
18026
18032
  return !0;
18027
18033
  if (!ne)
18028
- for (let me of H) {
18034
+ for (let me of Y) {
18029
18035
  let ye = ke(Ua(me.s)), _e = me.st >= G.min && me.st <= G.max;
18030
18036
  if (Math.abs(fe - me.w) <= 300 && ye && _e)
18031
18037
  return !0;
18032
18038
  }
18033
- if (!ne && Q.kind === "normal" && H.some((me) => Ua(me.s) !== "normal"))
18034
- for (let me of H) {
18039
+ if (!ne && ee.kind === "normal" && Y.some((me) => Ua(me.s) !== "normal"))
18040
+ for (let me of Y) {
18035
18041
  let ye = Math.abs(fe - me.w) <= 300, _e = me.st >= G.min && me.st <= G.max;
18036
18042
  if (ye && _e)
18037
18043
  return !0;
@@ -18039,28 +18045,28 @@ async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
18039
18045
  return !1;
18040
18046
  }
18041
18047
  let c = Wi(a), s = Lg(e, a, i, o);
18042
- if ((p = O.resource) != null && p.has(s))
18043
- return O.resource.get(s);
18048
+ if ((p = V.resource) != null && p.has(s))
18049
+ return V.resource.get(s);
18044
18050
  let m = wg(e), d = [], h = lo;
18045
18051
  for (let F of document.querySelectorAll("style")) {
18046
- let $ = F.textContent || "";
18047
- for (let K of $.matchAll(h)) {
18052
+ let J = F.textContent || "";
18053
+ for (let K of J.matchAll(h)) {
18048
18054
  let oe = (K[2] || K[4] || "").trim();
18049
18055
  !oe || Je(oe) || document.querySelector(`link[rel="stylesheet"][href="${oe}"]`) || d.push(oe);
18050
18056
  }
18051
18057
  }
18052
- d.length && await Promise.all(d.map((F) => new Promise(($) => {
18058
+ d.length && await Promise.all(d.map((F) => new Promise((J) => {
18053
18059
  if (document.querySelector(`link[rel="stylesheet"][href="${F}"]`))
18054
- return $(null);
18060
+ return J(null);
18055
18061
  let K = document.createElement("link");
18056
- K.rel = "stylesheet", K.href = F, K.setAttribute("data-snapdom", "injected-import"), K.onload = () => $(K), K.onerror = () => $(null), document.head.appendChild(K);
18062
+ K.rel = "stylesheet", K.href = F, K.setAttribute("data-snapdom", "injected-import"), K.onload = () => J(K), K.onerror = () => J(null), document.head.appendChild(K);
18057
18063
  })));
18058
18064
  let g = "", w = Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter((F) => !!F.href);
18059
18065
  for (let F of w)
18060
18066
  try {
18061
18067
  if (Je(F.href))
18062
18068
  continue;
18063
- let $ = "", K = !1;
18069
+ let J = "", K = !1;
18064
18070
  try {
18065
18071
  K = new URL(F.href, location.href).origin === location.origin;
18066
18072
  } catch {
@@ -18068,32 +18074,32 @@ async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
18068
18074
  if (!K && !bg(F.href, m))
18069
18075
  continue;
18070
18076
  if (K) {
18071
- let H = Array.from(document.styleSheets).find((j) => j.href === F.href);
18072
- if (H)
18077
+ let Y = Array.from(document.styleSheets).find((j) => j.href === F.href);
18078
+ if (Y)
18073
18079
  try {
18074
- let j = H.cssRules || [];
18075
- $ = Array.from(j).map((Q) => Q.cssText).join("");
18080
+ let j = Y.cssRules || [];
18081
+ J = Array.from(j).map((ee) => ee.cssText).join("");
18076
18082
  } catch {
18077
18083
  }
18078
18084
  }
18079
- if (!$ && ($ = (await $e(F.href, { as: "text", useProxy: o })).data, Je(F.href)))
18085
+ if (!J && (J = (await $e(F.href, { as: "text", useProxy: o })).data, Je(F.href)))
18080
18086
  continue;
18081
- $ = await xg($, F.href, o);
18087
+ J = await xg(J, F.href, o);
18082
18088
  let oe = "";
18083
- for (let H of $.match(vg) || []) {
18084
- let j = (((f = H.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : f[1]) || "").trim(), Q = eo(j);
18085
- if (!Q || Je(Q))
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);
18091
+ if (!ee || Je(ee))
18086
18092
  continue;
18087
- let G = (((L = H.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : L[1]) || "400").trim(), ne = (((P = H.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : P[1]) || "normal").trim(), fe = (((k = H.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : k[1]) || "100%").trim(), ke = (((v = H.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "").trim(), ze = (((T = H.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : T[1]) || "").trim(), me = bo(ze, F.href);
18088
- if (!l(Q, ne, G, fe))
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);
18094
+ if (!l(ee, ne, G, fe))
18089
18095
  continue;
18090
18096
  let ye = nr(ke);
18091
18097
  if (!sr(t, ye))
18092
18098
  continue;
18093
- let _e = { family: Q, weightSpec: G, styleSpec: ne, stretchSpec: fe, unicodeRange: ke, srcRaw: ze, srcUrls: me, href: F.href };
18099
+ let _e = { family: ee, weightSpec: G, styleSpec: ne, stretchSpec: fe, unicodeRange: ke, srcRaw: ze, srcUrls: me, href: F.href };
18094
18100
  if (a && c(_e, ye))
18095
18101
  continue;
18096
- let Re = /url\(/i.test(ze) ? await cr(H, F.href, o) : H;
18102
+ let Re = /url\(/i.test(ze) ? await cr(Y, F.href, o) : Y;
18097
18103
  oe += Re;
18098
18104
  }
18099
18105
  oe.trim() && (g += oe);
@@ -18102,10 +18108,10 @@ async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
18102
18108
  }
18103
18109
  let u = { requiredIndex: r, usedCodepoints: t, faceMatchesRequired: l, simpleExcluder: a ? Wi(a) : null, useProxy: o, visitedSheets: /* @__PURE__ */ new Set(), depth: 0 };
18104
18110
  for (let F of document.styleSheets)
18105
- if (!(F.href && w.some(($) => $.href === F.href)))
18111
+ if (!(F.href && w.some((J) => J.href === F.href)))
18106
18112
  try {
18107
- let $ = F.href || location.href;
18108
- $ && u.visitedSheets.add($), await mr(F, $, async (K) => {
18113
+ let J = F.href || location.href;
18114
+ J && u.visitedSheets.add(J), await mr(F, J, async (K) => {
18109
18115
  g += K;
18110
18116
  }, u);
18111
18117
  } catch {
@@ -18114,18 +18120,18 @@ async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
18114
18120
  for (let F of document.fonts || []) {
18115
18121
  if (!F || !F.family || F.status !== "loaded" || !F._snapdomSrc)
18116
18122
  continue;
18117
- let $ = String(F.family).replace(/^['"]+|['"]+$/g, "");
18118
- if (Je($) || !r.has($) || a != null && a.families && a.families.some((oe) => String(oe).toLowerCase() === $.toLowerCase()))
18123
+ let J = String(F.family).replace(/^['"]+|['"]+$/g, "");
18124
+ if (Je(J) || !r.has(J) || a != null && a.families && a.families.some((oe) => String(oe).toLowerCase() === J.toLowerCase()))
18119
18125
  continue;
18120
18126
  let K = F._snapdomSrc;
18121
18127
  if (!String(K).startsWith("data:")) {
18122
- if ((C = O.resource) != null && C.has(F._snapdomSrc))
18123
- K = O.resource.get(F._snapdomSrc), (S = O.font) == null || S.add(F._snapdomSrc);
18124
- else if (!((D = O.font) != null && D.has(F._snapdomSrc)))
18128
+ if ((C = V.resource) != null && C.has(F._snapdomSrc))
18129
+ K = V.resource.get(F._snapdomSrc), (S = V.font) == null || S.add(F._snapdomSrc);
18130
+ else if (!((D = V.font) != null && D.has(F._snapdomSrc)))
18125
18131
  try {
18126
18132
  let oe = await $e(F._snapdomSrc, { as: "dataURL", useProxy: o, silent: !0 });
18127
18133
  if (oe.ok && typeof oe.data == "string")
18128
- K = oe.data, (I = O.resource) == null || I.set(F._snapdomSrc, K), (W = O.font) == null || W.add(F._snapdomSrc);
18134
+ K = oe.data, (I = V.resource) == null || I.set(F._snapdomSrc, K), (E = V.font) == null || E.add(F._snapdomSrc);
18129
18135
  else
18130
18136
  continue;
18131
18137
  } catch {
@@ -18133,25 +18139,25 @@ async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
18133
18139
  continue;
18134
18140
  }
18135
18141
  }
18136
- g += `@font-face{font-family:'${$}';src:url(${K});font-style:${F.style || "normal"};font-weight:${F.weight || "normal"};}`;
18142
+ g += `@font-face{font-family:'${J}';src:url(${K});font-style:${F.style || "normal"};font-weight:${F.weight || "normal"};}`;
18137
18143
  }
18138
18144
  } catch {
18139
18145
  }
18140
18146
  for (let F of i) {
18141
18147
  if (!F || typeof F != "object")
18142
18148
  continue;
18143
- let $ = String(F.family || "").replace(/^['"]+|['"]+$/g, "");
18144
- if (!$ || Je($) || !r.has($) || a != null && a.families && a.families.some((G) => String(G).toLowerCase() === $.toLowerCase()))
18149
+ let J = String(F.family || "").replace(/^['"]+|['"]+$/g, "");
18150
+ if (!J || Je(J) || !r.has(J) || a != null && a.families && a.families.some((G) => String(G).toLowerCase() === J.toLowerCase()))
18145
18151
  continue;
18146
- let K = F.weight != null ? String(F.weight) : "normal", oe = F.style != null ? String(F.style) : "normal", H = F.stretchPct != null ? `${F.stretchPct}%` : "100%", j = String(F.src || ""), Q = j;
18147
- if (!Q.startsWith("data:")) {
18148
- if ((V = O.resource) != null && V.has(j))
18149
- Q = O.resource.get(j), (J = O.font) == null || J.add(j);
18150
- else if (!((te = O.font) != null && te.has(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%", j = String(F.src || ""), ee = j;
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)))
18151
18157
  try {
18152
18158
  let G = await $e(j, { as: "dataURL", useProxy: o, silent: !0 });
18153
18159
  if (G.ok && typeof G.data == "string")
18154
- Q = G.data, (ae = O.resource) == null || ae.set(j, Q), (re = O.font) == null || re.add(j);
18160
+ ee = G.data, (ae = V.resource) == null || ae.set(j, ee), (re = V.font) == null || re.add(j);
18155
18161
  else
18156
18162
  continue;
18157
18163
  } catch {
@@ -18159,9 +18165,9 @@ async function zg({ required: e, usedCodepoints: t, exclude: a = void 0, localFo
18159
18165
  continue;
18160
18166
  }
18161
18167
  }
18162
- g += `@font-face{font-family:'${$}';src:url(${Q});font-style:${oe};font-weight:${K};font-stretch:${H};}`;
18168
+ g += `@font-face{font-family:'${J}';src:url(${ee});font-style:${oe};font-weight:${K};font-stretch:${Y};}`;
18163
18169
  }
18164
- return g && (g = _g(g), (pe = O.resource) == null || pe.set(s, g)), g;
18170
+ return g && (g = _g(g), (pe = V.resource) == null || pe.set(s, g)), g;
18165
18171
  }
18166
18172
  function Cg(e) {
18167
18173
  let t = /* @__PURE__ */ new Set();
@@ -18412,7 +18418,7 @@ function Ng(e, t = null, a = {}) {
18412
18418
  return Vg(e, o, r), Ei.set(e, { epoch: so, snapshot: r }), r;
18413
18419
  }
18414
18420
  function Wg(e, t) {
18415
- return e && e.session && e.persist ? e : e && (e.styleMap || e.styleCache || e.nodeMap) ? { session: e, persist: { snapshotKeyCache: no, defaultStyle: O.defaultStyle, baseStyle: O.baseStyle, image: O.image, resource: O.resource, background: O.background, font: O.font }, options: t || {} } : { session: O.session, persist: { snapshotKeyCache: no, defaultStyle: O.defaultStyle, baseStyle: O.baseStyle, image: O.image, resource: O.resource, background: O.background, font: O.font }, options: e || t || {} };
18421
+ return e && e.session && e.persist ? e : e && (e.styleMap || e.styleCache || e.nodeMap) ? { session: e, persist: { snapshotKeyCache: no, defaultStyle: V.defaultStyle, baseStyle: V.baseStyle, image: V.image, resource: V.resource, background: V.background, font: V.font }, options: t || {} } : { session: V.session, persist: { snapshotKeyCache: no, defaultStyle: V.defaultStyle, baseStyle: V.baseStyle, image: V.image, resource: V.resource, background: V.background, font: V.font }, options: e || t || {} };
18416
18422
  }
18417
18423
  async function nt(e, t, a, i) {
18418
18424
  var g, w, u;
@@ -18710,8 +18716,8 @@ async function l0(e, t, a) {
18710
18716
  var Wa = /* @__PURE__ */ new Map();
18711
18717
  async function Za(e) {
18712
18718
  var a;
18713
- if ((a = O.resource) != null && a.has(e))
18714
- return O.resource.get(e);
18719
+ if ((a = V.resource) != null && a.has(e))
18720
+ return V.resource.get(e);
18715
18721
  if (Wa.has(e))
18716
18722
  return Wa.get(e);
18717
18723
  let t = (async () => {
@@ -18719,7 +18725,7 @@ async function Za(e) {
18719
18725
  let i = await $e(e, { as: "dataURL", silent: !0 });
18720
18726
  if (!i.ok || typeof i.data != "string")
18721
18727
  throw new Error(`[snapDOM] Failed to read blob URL: ${e}`);
18722
- return (o = O.resource) == null || o.set(e, i.data), i.data;
18728
+ return (o = V.resource) == null || o.set(e, i.data), i.data;
18723
18729
  })();
18724
18730
  Wa.set(e, t);
18725
18731
  try {
@@ -18959,8 +18965,8 @@ async function $a(e, t, a) {
18959
18965
  let p = function(D, I) {
18960
18966
  if (D.nodeType === Node.ELEMENT_NODE && D.tagName === "STYLE")
18961
18967
  return I(null);
18962
- $a(D, t, a).then((W) => {
18963
- I(W || null);
18968
+ $a(D, t, a).then((E) => {
18969
+ I(E || null);
18964
18970
  }).catch(() => {
18965
18971
  I(null);
18966
18972
  });
@@ -18968,14 +18974,14 @@ async function $a(e, t, a) {
18968
18974
  try {
18969
18975
  let D = e.shadowRoot.querySelectorAll("slot");
18970
18976
  for (let I of D) {
18971
- let W = [];
18977
+ let E = [];
18972
18978
  try {
18973
- W = ((h = I.assignedNodes) == null ? void 0 : h.call(I, { flatten: !0 })) || ((g = I.assignedNodes) == null ? void 0 : g.call(I)) || [];
18979
+ E = ((h = I.assignedNodes) == null ? void 0 : h.call(I, { flatten: !0 })) || ((g = I.assignedNodes) == null ? void 0 : g.call(I)) || [];
18974
18980
  } catch {
18975
- W = ((w = I.assignedNodes) == null ? void 0 : w.call(I)) || [];
18981
+ E = ((w = I.assignedNodes) == null ? void 0 : w.call(I)) || [];
18976
18982
  }
18977
- for (let V of W)
18978
- i.add(V);
18983
+ for (let Z of E)
18984
+ i.add(Z);
18979
18985
  }
18980
18986
  } catch {
18981
18987
  }
@@ -19056,7 +19062,7 @@ function Hi(e, t) {
19056
19062
  function p0(e) {
19057
19063
  let t = () => {
19058
19064
  var g;
19059
- return ((g = O == null ? void 0 : O.session) == null ? void 0 : g.__counterEpoch) ?? 0;
19065
+ return ((g = V == null ? void 0 : V.session) == null ? void 0 : g.__counterEpoch) ?? 0;
19060
19066
  }, a = t(), i = /* @__PURE__ */ new WeakMap(), o = e instanceof Document ? e.documentElement : e, r = (g) => g && g.tagName === "LI", l = (g) => {
19061
19067
  let w = 0, u = g == null ? void 0 : g.parentElement;
19062
19068
  if (!u)
@@ -19108,8 +19114,8 @@ function p0(e) {
19108
19114
  if (getComputedStyle(u).display === "list-item" && r(u)) {
19109
19115
  let v = u.parentElement, T = 1;
19110
19116
  if (v && v.tagName === "OL") {
19111
- let S = v.getAttribute("start"), D = Number.isFinite(Number(S)) ? Number(S) : 1, I = l(u), W = u.getAttribute("value");
19112
- T = Number.isFinite(Number(W)) ? Number(W) : D + I;
19117
+ let S = v.getAttribute("start"), D = Number.isFinite(Number(S)) ? Number(S) : 1, I = l(u), E = u.getAttribute("value");
19118
+ T = Number.isFinite(Number(E)) ? Number(E) : D + I;
19113
19119
  } else
19114
19120
  T = 1 + l(u);
19115
19121
  let C = p.get("list-item") || [];
@@ -19339,7 +19345,7 @@ async function gr(e, t, a, i) {
19339
19345
  let o = e.ownerDocument || document;
19340
19346
  if (!g0(o, a))
19341
19347
  return;
19342
- let r = ((m = O == null ? void 0 : O.session) == null ? void 0 : m.__counterEpoch) ?? 0;
19348
+ let r = ((m = V == null ? void 0 : V.session) == null ? void 0 : m.__counterEpoch) ?? 0;
19343
19349
  if (Ji !== r && (st = /* @__PURE__ */ new WeakMap(), a && (a.__counterCtx = null), Ji = r), !a.__counterCtx)
19344
19350
  try {
19345
19351
  a.__counterCtx = p0(e.ownerDocument || document);
@@ -19352,8 +19358,8 @@ async function gr(e, t, a, i) {
19352
19358
  if (!w || w.content === "none" && w.backgroundImage === "none" && w.backgroundColor === "transparent" && (w.borderStyle === "none" || parseFloat(w.borderWidth) === 0) && (!w.transform || w.transform === "none") && w.display === "inline")
19353
19359
  continue;
19354
19360
  if (g === "::first-letter") {
19355
- let H = getComputedStyle(e);
19356
- if (!(w.color !== H.color || w.fontSize !== H.fontSize || w.fontWeight !== H.fontWeight))
19361
+ let Y = getComputedStyle(e);
19362
+ if (!(w.color !== Y.color || w.fontSize !== Y.fontSize || w.fontWeight !== Y.fontWeight))
19357
19363
  continue;
19358
19364
  let j = Array.from(t.childNodes).find((ye) => {
19359
19365
  var _e;
@@ -19361,7 +19367,7 @@ async function gr(e, t, a, i) {
19361
19367
  });
19362
19368
  if (!j)
19363
19369
  continue;
19364
- let Q = j.textContent, G = (d = Q.match(/^([^\p{L}\p{N}\s]*[\p{L}\p{N}](?:['’])?)/u)) == null ? void 0 : d[0], ne = Q.slice((G == null ? void 0 : G.length) || 0);
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);
19365
19371
  if (!G || /[\uD800-\uDFFF]/.test(G))
19366
19372
  continue;
19367
19373
  let fe = document.createElement("span");
@@ -19372,60 +19378,60 @@ async function gr(e, t, a, i) {
19372
19378
  t.replaceChild(me, j), t.insertBefore(fe, me);
19373
19379
  continue;
19374
19380
  }
19375
- 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), W = w.transform, V = Je(v), J = !p && f !== "", te = P && P !== "none", ae = k && k !== "transparent" && k !== "rgba(0, 0, 0, 0)", re = D && D !== "none" && I > 0, pe = W && W !== "none";
19376
- if (!(J || te || 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, 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)) {
19377
19383
  if (L && L.length && e.parentElement) {
19378
- let H = st.get(e.parentElement) || /* @__PURE__ */ new Map();
19384
+ let Y = st.get(e.parentElement) || /* @__PURE__ */ new Map();
19379
19385
  for (let { name: j } of L) {
19380
19386
  if (!j)
19381
19387
  continue;
19382
- let Q = mo(e, l), G = ho(e, getComputedStyle(e, g), Q).get(e, j);
19383
- H.set(j, G);
19388
+ let ee = mo(e, l), G = ho(e, getComputedStyle(e, g), ee).get(e, j);
19389
+ Y.set(j, G);
19384
19390
  }
19385
- st.set(e.parentElement, H);
19391
+ st.set(e.parentElement, Y);
19386
19392
  }
19387
19393
  continue;
19388
19394
  }
19389
19395
  let F = document.createElement("span");
19390
19396
  F.dataset.snapdomPseudo = g, F.style.pointerEvents = "none";
19391
- let $ = Fi(w), K = io($, "span");
19392
- if (a.styleMap.set(F, K), V && f && f.length === 1) {
19393
- let { dataUrl: H, width: j, height: Q } = await hg(f, v, C, T, S), G = document.createElement("img");
19394
- G.src = H, G.style = `height:${T}px;width:${j / Q * T}px;object-fit:contain;`, F.appendChild(G), t.dataset.snapdomHasIcon = "true";
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";
19395
19401
  } else if (f && f.startsWith("url(")) {
19396
- let H = fo(f);
19397
- if (H != null && H.trim())
19402
+ let Y = fo(f);
19403
+ if (Y != null && Y.trim())
19398
19404
  try {
19399
- let j = document.createElement("img"), Q = await $e(Ka(H), { as: "dataURL", useProxy: i.useProxy });
19400
- j.src = Q.data, j.style = `width:${T}px;height:auto;object-fit:contain;`, F.appendChild(j);
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);
19401
19407
  } catch (j) {
19402
19408
  console.error(`[snapdom] Error in pseudo ${g} for`, e, j);
19403
19409
  }
19404
19410
  } else
19405
- !V && J && (F.textContent = f);
19411
+ !Z && H && (F.textContent = f);
19406
19412
  F.style.backgroundImage = "none", "maskImage" in F.style && (F.style.maskImage = "none"), "webkitMaskImage" in F.style && (F.style.webkitMaskImage = "none");
19407
19413
  try {
19408
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;
19409
19415
  } catch {
19410
19416
  }
19411
- if (te)
19417
+ if (Q)
19412
19418
  try {
19413
- let H = rr(P), j = await Promise.all(H.map(ar));
19419
+ let Y = rr(P), j = await Promise.all(Y.map(ar));
19414
19420
  F.style.backgroundImage = j.join(", ");
19415
- } catch (H) {
19416
- console.warn(`[snapdom] Failed to inline background-image for ${g}`, H);
19421
+ } catch (Y) {
19422
+ console.warn(`[snapdom] Failed to inline background-image for ${g}`, Y);
19417
19423
  }
19418
19424
  ae && (F.style.backgroundColor = k);
19419
- let oe = F.childNodes.length > 0 || ((h = F.textContent) == null ? void 0 : h.trim()) !== "" || te || ae || re || pe;
19425
+ let oe = F.childNodes.length > 0 || ((h = F.textContent) == null ? void 0 : h.trim()) !== "" || Q || ae || re || pe;
19420
19426
  if (L && L.length && e.parentElement) {
19421
- let H = st.get(e.parentElement) || /* @__PURE__ */ new Map(), j = mo(e, l), Q = ho(e, getComputedStyle(e, g), j);
19427
+ let Y = st.get(e.parentElement) || /* @__PURE__ */ new Map(), j = mo(e, l), ee = ho(e, getComputedStyle(e, g), j);
19422
19428
  for (let { name: G } of L) {
19423
19429
  if (!G)
19424
19430
  continue;
19425
- let ne = Q.get(e, G);
19426
- H.set(G, ne);
19431
+ let ne = ee.get(e, G);
19432
+ Y.set(G, ne);
19427
19433
  }
19428
- st.set(e.parentElement, H);
19434
+ st.set(e.parentElement, Y);
19429
19435
  }
19430
19436
  if (!oe)
19431
19437
  continue;
@@ -19454,14 +19460,14 @@ function w0(e, t) {
19454
19460
  if (!D)
19455
19461
  return null;
19456
19462
  for (let I = 0; I < D.length; I++) {
19457
- let W = D[I];
19458
- if (!W || !W.name)
19463
+ let E = D[I];
19464
+ if (!E || !E.name)
19459
19465
  continue;
19460
- if (W.name === "href")
19461
- return W.value;
19462
- let V = W.name.indexOf(":");
19463
- if (V !== -1 && W.name.slice(V + 1) === "href")
19464
- return W.value;
19466
+ if (E.name === "href")
19467
+ return E.value;
19468
+ let Z = E.name.indexOf(":");
19469
+ if (Z !== -1 && E.name.slice(Z + 1) === "href")
19470
+ return E.value;
19465
19471
  }
19466
19472
  return null;
19467
19473
  }, d = new Set(Array.from(e.querySelectorAll("[id]")).map((C) => C.id)), h = /* @__PURE__ */ new Set(), g = !1, w = (C, S = null) => {
@@ -19477,18 +19483,18 @@ function w0(e, t) {
19477
19483
  }, u = (C) => {
19478
19484
  let S = C.querySelectorAll("use");
19479
19485
  for (let I of S) {
19480
- let W = m(I);
19481
- if (!W || !W.startsWith("#"))
19486
+ let E = m(I);
19487
+ if (!E || !E.startsWith("#"))
19482
19488
  continue;
19483
19489
  g = !0;
19484
- let V = W.slice(1).trim();
19485
- V && !d.has(V) && h.add(V);
19490
+ let Z = E.slice(1).trim();
19491
+ Z && !d.has(Z) && h.add(Z);
19486
19492
  }
19487
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("]');
19488
19494
  for (let I of D) {
19489
19495
  w(I.getAttribute("style") || "");
19490
- for (let W of l)
19491
- w(I.getAttribute(W));
19496
+ for (let E of l)
19497
+ w(I.getAttribute(E));
19492
19498
  }
19493
19499
  };
19494
19500
  for (let C of o)
@@ -19501,8 +19507,8 @@ function w0(e, t) {
19501
19507
  if (!C || d.has(C))
19502
19508
  return null;
19503
19509
  let S = c(C), D = (I) => {
19504
- let W = i.querySelector(I);
19505
- return W && !e.contains(W) ? W : null;
19510
+ let E = i.querySelector(I);
19511
+ return E && !e.contains(E) ? E : null;
19506
19512
  };
19507
19513
  return D(`svg defs > *#${S}`) || D(`svg > symbol#${S}`) || D(`*#${S}`);
19508
19514
  };
@@ -19522,16 +19528,16 @@ function w0(e, t) {
19522
19528
  let D = S.cloneNode(!0);
19523
19529
  D.id || D.setAttribute("id", C), f.appendChild(D), k.add(C), d.add(C);
19524
19530
  let I = [D, ...D.querySelectorAll("*")];
19525
- for (let W of I) {
19526
- let V = m(W);
19527
- if (V && V.startsWith("#")) {
19528
- let te = V.slice(1).trim();
19529
- te && !d.has(te) && !k.has(te) && P.add(te);
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);
19530
19536
  }
19531
- let J = ((v = W.getAttribute) == null ? void 0 : v.call(W, "style")) || "";
19532
- J && w(J, P);
19533
- for (let te of l) {
19534
- let ae = (T = W.getAttribute) == null ? void 0 : T.call(W, te);
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);
19535
19541
  ae && w(ae, P);
19536
19542
  }
19537
19543
  }
@@ -19603,7 +19609,7 @@ function L0(e) {
19603
19609
  }
19604
19610
  async function z0(e, t = {}) {
19605
19611
  var s, m;
19606
- let a = { styleMap: O.session.styleMap, styleCache: O.session.styleCache, nodeMap: O.session.nodeMap }, i, o = "", r = "";
19612
+ let a = { styleMap: V.session.styleMap, styleCache: V.session.styleCache, nodeMap: V.session.nodeMap }, i, o = "", r = "";
19607
19613
  L0(e);
19608
19614
  try {
19609
19615
  w0(e);
@@ -20080,41 +20086,41 @@ async function yr(e, t) {
20080
20086
  }, { fast: a });
20081
20087
  });
20082
20088
  let p = eg(r.clone).sort(), f = p.join(",");
20083
- O.baseStyle.has(f) ? d = O.baseStyle.get(f) : await new Promise((k) => {
20089
+ V.baseStyle.has(f) ? d = V.baseStyle.get(f) : await new Promise((k) => {
20084
20090
  lt(() => {
20085
- d = tg(p), O.baseStyle.set(f, d), k();
20091
+ d = tg(p), V.baseStyle.set(f, d), k();
20086
20092
  }, { fast: a });
20087
20093
  }), r = { fontsCSS: m, baseCSS: d, ...r }, await qe("beforeRender", r), await new Promise((k) => {
20088
20094
  lt(() => {
20089
20095
  var He;
20090
20096
  let v = getComputedStyle(r.element), T = r.element.getBoundingClientRect(), C = Math.max(1, ce(r.element.offsetWidth || parseFloat(v.width) || T.width || 1)), S = Math.max(1, ce(r.element.offsetHeight || parseFloat(v.height) || T.height || 1));
20091
20097
  if (((He = r.options) == null ? void 0 : He.excludeMode) === "remove") {
20092
- let Y = V0(r.element, r.options);
20093
- Number.isFinite(Y) && Y > 0 && (S = Math.max(1, Math.min(S, ce(Y + 1))));
20098
+ let U = V0(r.element, r.options);
20099
+ Number.isFinite(U) && U > 0 && (S = Math.max(1, Math.min(S, ce(U + 1))));
20094
20100
  }
20095
- let D = (Y, xe = NaN) => {
20096
- let Fe = typeof Y == "string" ? parseFloat(Y) : Y;
20101
+ let D = (U, xe = NaN) => {
20102
+ let Fe = typeof U == "string" ? parseFloat(U) : U;
20097
20103
  return Number.isFinite(Fe) ? Fe : xe;
20098
- }, I = D(r.options.width), W = D(r.options.height), V = C, J = S, te = Number.isFinite(I), ae = Number.isFinite(W), re = S > 0 ? C / S : 1;
20099
- te && ae ? (V = Math.max(1, ce(I)), J = Math.max(1, ce(W))) : te ? (V = Math.max(1, ce(I)), J = Math.max(1, ce(V / (re || 1)))) : ae ? (J = Math.max(1, ce(W)), V = Math.max(1, ce(J * (re || 1)))) : (V = C, J = S);
20100
- let pe = 0, F = 0, $ = C, K = S;
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);
20106
+ let pe = 0, F = 0, J = C, K = S;
20101
20107
  if (!i && w && Number.isFinite(w.a)) {
20102
- let Y = { a: w.a, b: w.b || 0, c: w.c || 0, d: w.d || 1, e: 0, f: 0 }, xe = qi(C, S, Y, 0, 0);
20103
- pe = ce(xe.minX), F = ce(xe.minY), $ = ce(xe.maxX), K = ce(xe.maxY);
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);
20109
+ pe = ce(xe.minX), F = ce(xe.minY), J = ce(xe.maxX), K = ce(xe.maxY);
20104
20110
  } else if (i && ef(r.element)) {
20105
- let Y = v.transform && v.transform !== "none" ? v.transform : "", xe = J0(r.element), Fe = q0({ baseTransform: Y, rotate: xe.rotate || "0deg", scale: xe.scale, translate: xe.translate }), { ox: Ve, oy: je } = $0(v, C, S), ee = Fe.is2D ? Fe : new DOMMatrix(Fe.toString()), Ze = qi(C, S, ee, Ve, je);
20106
- pe = ce(Ze.minX), F = ce(Ze.minY), $ = ce(Ze.maxX), K = ce(Ze.maxY);
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
+ pe = ce(Ze.minX), F = ce(Ze.minY), J = ce(Ze.maxX), K = ce(Ze.maxY);
20107
20113
  }
20108
- let oe = j0(v), H = X0(v), j = H0(v), Q = Y0(v), G = o ? { top: ce(oe.top + H.top + j.top + Q.bleed.top), right: ce(oe.right + H.right + j.right + Q.bleed.right), bottom: ce(oe.bottom + H.bottom + j.bottom + Q.bleed.bottom), left: ce(oe.left + H.left + j.left + Q.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
20109
- pe = ce(pe - G.left), F = ce(F - G.top), $ = ce($ + G.right), K = ce(K + G.bottom);
20110
- let ne = Math.max(1, ce($ - pe)), fe = Math.max(1, ce(K - F)), ke = te || ae ? ce(V / C) : 1, ze = ae || te ? ce(J / 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);
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 };
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);
20111
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";
20112
20118
  let Me = document.createElement("style");
20113
20119
  Me.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, de.appendChild(Me);
20114
20120
  let Ae = document.createElement("div");
20115
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);
20116
- let le = new XMLSerializer().serializeToString(de), Pe = ce(ne + q * 2), ue = ce(fe + q * 2), we = te || ae;
20117
- t.meta = { w0: C, h0: S, vbW: Pe, vbH: ue, targetW: V, targetH: J };
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 };
20118
20124
  let Oe = Ea() && we ? Pe : ce(me + q * 2), Ye = Ea() && we ? ue : ce(ye + q * 2);
20119
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();
20120
20126
  }, { fast: a });
@@ -20159,52 +20165,52 @@ Se.capture = async (e, t, a) => {
20159
20165
  if (a !== br)
20160
20166
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
20161
20167
  let i = await yr(e, t), o = { img: async (u, p) => {
20162
- let { toImg: f } = await import("./toImg-70c5b30e.js");
20168
+ let { toImg: f } = await import("./toImg-a37df6a7.js");
20163
20169
  return f(i, { ...u, ...p || {} });
20164
20170
  }, svg: async (u, p) => {
20165
- let { toSvg: f } = await import("./toImg-70c5b30e.js");
20171
+ let { toSvg: f } = await import("./toImg-a37df6a7.js");
20166
20172
  return f(i, { ...u, ...p || {} });
20167
20173
  }, canvas: async (u, p) => {
20168
- let { toCanvas: f } = await import("./toCanvas-9b1c3749.js");
20174
+ let { toCanvas: f } = await import("./toCanvas-6de5f573.js");
20169
20175
  return f(i, { ...u, ...p || {} });
20170
20176
  }, blob: async (u, p) => {
20171
- let { toBlob: f } = await import("./toBlob-69b265f3.js");
20177
+ let { toBlob: f } = await import("./toBlob-7cb97ea2.js");
20172
20178
  return f(i, { ...u, ...p || {} });
20173
20179
  }, png: async (u, p) => {
20174
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-17d38e87.js");
20180
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20175
20181
  return f(i, { ...u, ...p || {}, format: "png" });
20176
20182
  }, jpeg: async (u, p) => {
20177
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-17d38e87.js");
20183
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20178
20184
  return f(i, { ...u, ...p || {}, format: "jpeg" });
20179
20185
  }, webp: async (u, p) => {
20180
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-17d38e87.js");
20186
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20181
20187
  return f(i, { ...u, ...p || {}, format: "webp" });
20182
20188
  }, download: async (u, p) => {
20183
- let { download: f } = await import("./download-80ebe621.js");
20189
+ let { download: f } = await import("./download-fecc98e1.js");
20184
20190
  return f(i, { ...u, ...p || {} });
20185
20191
  } }, r = { ...t, export: { url: i }, exports: { svg: async (u) => {
20186
- let { toSvg: p } = await import("./toImg-70c5b30e.js");
20192
+ let { toSvg: p } = await import("./toImg-a37df6a7.js");
20187
20193
  return p(i, { ...t, ...u || {}, [Ke]: !0 });
20188
20194
  }, canvas: async (u) => {
20189
- let { toCanvas: p } = await import("./toCanvas-9b1c3749.js");
20195
+ let { toCanvas: p } = await import("./toCanvas-6de5f573.js");
20190
20196
  return p(i, { ...t, ...u || {}, [Ke]: !0 });
20191
20197
  }, png: async (u) => {
20192
- let { rasterize: p } = await import("./rasterize-JS5G2XHH-17d38e87.js");
20198
+ let { rasterize: p } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20193
20199
  return p(i, { ...t, ...u || {}, format: "png", [Ke]: !0 });
20194
20200
  }, jpeg: async (u) => {
20195
- let { rasterize: p } = await import("./rasterize-JS5G2XHH-17d38e87.js");
20201
+ let { rasterize: p } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20196
20202
  return p(i, { ...t, ...u || {}, format: "jpeg", [Ke]: !0 });
20197
20203
  }, jpg: async (u) => {
20198
- let { rasterize: p } = await import("./rasterize-JS5G2XHH-17d38e87.js");
20204
+ let { rasterize: p } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20199
20205
  return p(i, { ...t, ...u || {}, format: "jpeg", [Ke]: !0 });
20200
20206
  }, webp: async (u) => {
20201
- let { rasterize: p } = await import("./rasterize-JS5G2XHH-17d38e87.js");
20207
+ let { rasterize: p } = await import("./rasterize-JS5G2XHH-eeb04eb6.js");
20202
20208
  return p(i, { ...t, ...u || {}, format: "webp", [Ke]: !0 });
20203
20209
  }, blob: async (u) => {
20204
- let { toBlob: p } = await import("./toBlob-69b265f3.js");
20210
+ let { toBlob: p } = await import("./toBlob-7cb97ea2.js");
20205
20211
  return p(i, { ...t, ...u || {}, [Ke]: !0 });
20206
20212
  }, img: async (u) => {
20207
- let { toImg: p } = await import("./toImg-70c5b30e.js");
20213
+ let { toImg: p } = await import("./toImg-a37df6a7.js");
20208
20214
  return p(i, { ...t, ...u || {}, [Ke]: !0 });
20209
20215
  } } }, l = await Rg("defineExports", r), c = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...o, ...c };
20210
20216
  s.jpeg && !s.jpg && (s.jpg = (u, p) => s.jpeg(u, p));
@@ -20631,7 +20637,7 @@ function wf(e, t, a, i, o, r) {
20631
20637
  onMousemove: t[3] || (t[3] = (...c) => r.handleMouseMove && r.handleMouseMove(...c)),
20632
20638
  onMouseup: t[4] || (t[4] = (...c) => r.handleMouseUp && r.handleMouseUp(...c))
20633
20639
  }, [
20634
- o.actionStatus === 1 ? (_(), A("div", df, y(e.$t("tips.crossHairText")), 1)) : E("", !0),
20640
+ o.actionStatus === 1 ? (_(), A("div", df, y(e.$t("tips.crossHairText")), 1)) : W("", !0),
20635
20641
  o.actionStatus >= 2 ? (_(), A("div", {
20636
20642
  key: 1,
20637
20643
  class: "selection-box",
@@ -20660,9 +20666,9 @@ function wf(e, t, a, i, o, r) {
20660
20666
  class: "text-none text-body-1",
20661
20667
  onClick: Le(r.handleCancel, ["stop"])
20662
20668
  }, null, 8, ["onClick"])
20663
- ], 32)) : E("", !0)
20664
- ], 4)) : E("", !0)
20665
- ], 32)) : E("", !0),
20669
+ ], 32)) : W("", !0)
20670
+ ], 4)) : W("", !0)
20671
+ ], 32)) : W("", !0),
20666
20672
  o.actionStatus >= 4 && o.actionStatus <= 6 ? (_(), A("div", {
20667
20673
  key: 1,
20668
20674
  class: ge(["capture-frame", { recording: o.actionStatus === 5 }]),
@@ -20681,13 +20687,13 @@ function wf(e, t, a, i, o, r) {
20681
20687
  o.actionStatus === 4 ? (_(), A("div", gf, [
20682
20688
  t[7] || (t[7] = n("div", { class: "dot bg-danger" }, null, -1)),
20683
20689
  n("div", ff, y(e.$t("tips.recordingText")), 1)
20684
- ])) : E("", !0),
20690
+ ])) : W("", !0),
20685
20691
  o.actionStatus === 5 || o.actionStatus === 6 ? (_(), A("div", yf, [
20686
20692
  t[8] || (t[8] = n("div", { class: "dot bg-success" }, null, -1)),
20687
20693
  n("div", bf, y(e.$t("tips.savingText")), 1)
20688
- ])) : E("", !0)
20694
+ ])) : W("", !0)
20689
20695
  ], 32)
20690
- ], 6)) : E("", !0)
20696
+ ], 6)) : W("", !0)
20691
20697
  ]);
20692
20698
  }
20693
20699
  const xf = /* @__PURE__ */ ie(cf, [["render", wf], ["__scopeId", "data-v-b2dd8527"]]);
@@ -20837,7 +20843,7 @@ const vf = {
20837
20843
  function If(e, t, a, i, o, r) {
20838
20844
  const l = M("IdmCapture"), c = M("DateTimePicker"), s = M("VListItemTitle"), m = M("VListItem"), d = M("VList"), h = M("VMenu"), g = M("VBtn"), w = M("VDivider"), u = M("VTooltip");
20839
20845
  return _(), A("div", kf, [
20840
- b(l, U({
20846
+ b(l, $({
20841
20847
  ref: "capture",
20842
20848
  isPlaying: !o.paused,
20843
20849
  enabled: o.gifEnabled,
@@ -20852,7 +20858,7 @@ function If(e, t, a, i, o, r) {
20852
20858
  style: he({ right: o.right + 146 + "px", bottom: Object.values(o.show).includes(!0) ? "10px" : "-100px" })
20853
20859
  }, [
20854
20860
  n("div", _f, [
20855
- b(c, U({
20861
+ b(c, $({
20856
20862
  ref: "dateTimePicker",
20857
20863
  "date-time": o.currentDateTimeZ,
20858
20864
  "time-zone": o.timeZone,
@@ -20872,7 +20878,7 @@ function If(e, t, a, i, o, r) {
20872
20878
  "min-width": "30"
20873
20879
  }, {
20874
20880
  default: x(() => [
20875
- Z(y(o.intervalHour) + " h ", 1),
20881
+ O(y(o.intervalHour) + " h ", 1),
20876
20882
  b(h, { activator: "parent" }, {
20877
20883
  default: x(() => [
20878
20884
  b(d, { class: "pa-1" }, {
@@ -20894,7 +20900,7 @@ function If(e, t, a, i, o, r) {
20894
20900
  onClick: (L) => o.intervalHour = p
20895
20901
  }, {
20896
20902
  default: x(() => [
20897
- Z(y(p) + "h", 1)
20903
+ O(y(p) + "h", 1)
20898
20904
  ]),
20899
20905
  _: 2
20900
20906
  }, 1032, ["onClick"])
@@ -20924,7 +20930,7 @@ function If(e, t, a, i, o, r) {
20924
20930
  "open-on-click": !1
20925
20931
  }, {
20926
20932
  activator: x(({ props: p }) => [
20927
- b(g, U(p, {
20933
+ b(g, $(p, {
20928
20934
  icon: "",
20929
20935
  size: "small",
20930
20936
  density: "comfortable",
@@ -20946,7 +20952,7 @@ function If(e, t, a, i, o, r) {
20946
20952
  "open-on-click": !1
20947
20953
  }, {
20948
20954
  activator: x(({ props: p }) => [
20949
- b(g, U(p, {
20955
+ b(g, $(p, {
20950
20956
  icon: "",
20951
20957
  size: "small",
20952
20958
  density: "comfortable",
@@ -20969,7 +20975,7 @@ function If(e, t, a, i, o, r) {
20969
20975
  "open-on-click": !1
20970
20976
  }, {
20971
20977
  activator: x(({ props: p }) => [
20972
- b(g, U(p, {
20978
+ b(g, $(p, {
20973
20979
  icon: "",
20974
20980
  size: "small",
20975
20981
  density: "comfortable",
@@ -20992,7 +20998,7 @@ function If(e, t, a, i, o, r) {
20992
20998
  "open-on-click": !1
20993
20999
  }, {
20994
21000
  activator: x(({ props: p }) => [
20995
- o.paused ? (_(), B(g, U({ key: 0 }, p, {
21001
+ o.paused ? (_(), B(g, $({ key: 0 }, p, {
20996
21002
  icon: "",
20997
21003
  size: "small",
20998
21004
  density: "comfortable",
@@ -21004,7 +21010,7 @@ function If(e, t, a, i, o, r) {
21004
21010
  ])),
21005
21011
  _: 2,
21006
21012
  __: [14]
21007
- }, 1040, ["onClick"])) : E("", !0)
21013
+ }, 1040, ["onClick"])) : W("", !0)
21008
21014
  ]),
21009
21015
  _: 1
21010
21016
  }, 8, ["text"]),
@@ -21015,7 +21021,7 @@ function If(e, t, a, i, o, r) {
21015
21021
  "open-on-click": !1
21016
21022
  }, {
21017
21023
  activator: x(({ props: p }) => [
21018
- o.paused ? E("", !0) : (_(), B(g, U({ key: 0 }, p, {
21024
+ o.paused ? W("", !0) : (_(), B(g, $({ key: 0 }, p, {
21019
21025
  icon: "",
21020
21026
  size: "small",
21021
21027
  density: "comfortable",
@@ -21038,7 +21044,7 @@ function If(e, t, a, i, o, r) {
21038
21044
  "open-on-click": !1
21039
21045
  }, {
21040
21046
  activator: x(({ props: p }) => [
21041
- b(g, U(p, {
21047
+ b(g, $(p, {
21042
21048
  icon: "",
21043
21049
  size: "small",
21044
21050
  density: "comfortable",
@@ -21068,7 +21074,7 @@ function If(e, t, a, i, o, r) {
21068
21074
  activator: x(({ props: p }) => {
21069
21075
  var f, L;
21070
21076
  return [
21071
- b(g, U(p, {
21077
+ b(g, $(p, {
21072
21078
  class: "pa-1 d-flex",
21073
21079
  color: (f = a.weatherCheckList) != null && f.includes("wind") ? "primary" : "",
21074
21080
  variant: (L = a.weatherCheckList) != null && L.includes("wind") ? "elevated" : "text",
@@ -21094,7 +21100,7 @@ function If(e, t, a, i, o, r) {
21094
21100
  activator: x(({ props: p }) => {
21095
21101
  var f, L;
21096
21102
  return [
21097
- b(g, U(p, {
21103
+ b(g, $(p, {
21098
21104
  class: "pa-1 d-flex",
21099
21105
  color: (f = a.weatherCheckList) != null && f.includes("sig-wave-height") ? "primary" : "",
21100
21106
  variant: (L = a.weatherCheckList) != null && L.includes("sig-wave-height") ? "elevated" : "text",
@@ -21104,7 +21110,7 @@ function If(e, t, a, i, o, r) {
21104
21110
  onClick: t[7] || (t[7] = (P) => r.handleClickFastWeather("sig-wave-height"))
21105
21111
  }), {
21106
21112
  default: x(() => [
21107
- n("i", U(p, { class: "iconfont icon-a-WaveHeight" }), null, 16)
21113
+ n("i", $(p, { class: "iconfont icon-a-WaveHeight" }), null, 16)
21108
21114
  ]),
21109
21115
  _: 2
21110
21116
  }, 1040, ["color", "variant"])
@@ -21119,7 +21125,7 @@ function If(e, t, a, i, o, r) {
21119
21125
  activator: x(({ props: p }) => {
21120
21126
  var f, L;
21121
21127
  return [
21122
- b(g, U(p, {
21128
+ b(g, $(p, {
21123
21129
  class: "pa-1 d-flex",
21124
21130
  color: (f = a.weatherCheckList) != null && f.includes("current-direction") ? "primary" : "",
21125
21131
  variant: (L = a.weatherCheckList) != null && L.includes("current-direction") ? "elevated" : "text",
@@ -21129,7 +21135,7 @@ function If(e, t, a, i, o, r) {
21129
21135
  onClick: t[8] || (t[8] = (P) => r.handleClickFastWeather("current-direction"))
21130
21136
  }), {
21131
21137
  default: x(() => [
21132
- n("i", U(p, { class: "iconfont icon-Current" }), null, 16)
21138
+ n("i", $(p, { class: "iconfont icon-Current" }), null, 16)
21133
21139
  ]),
21134
21140
  _: 2
21135
21141
  }, 1040, ["color", "variant"])
@@ -21142,7 +21148,7 @@ function If(e, t, a, i, o, r) {
21142
21148
  location: "top"
21143
21149
  }, {
21144
21150
  activator: x(({ props: p }) => [
21145
- b(g, U(p, {
21151
+ b(g, $(p, {
21146
21152
  class: "pa-1 d-flex",
21147
21153
  variant: "text",
21148
21154
  height: "24",
@@ -21151,7 +21157,7 @@ function If(e, t, a, i, o, r) {
21151
21157
  onClick: r.handleClickFastMore
21152
21158
  }), {
21153
21159
  default: x(() => [
21154
- n("i", U(p, { class: "iconfont icon-dots-align" }), null, 16)
21160
+ n("i", $(p, { class: "iconfont icon-dots-align" }), null, 16)
21155
21161
  ]),
21156
21162
  _: 2
21157
21163
  }, 1040, ["onClick"])
@@ -21173,7 +21179,7 @@ function If(e, t, a, i, o, r) {
21173
21179
  onClick: t[9] || (t[9] = (p) => o.source = "GFS")
21174
21180
  }, {
21175
21181
  default: x(() => t[18] || (t[18] = [
21176
- Z("NOAA", -1)
21182
+ O("NOAA", -1)
21177
21183
  ])),
21178
21184
  _: 1,
21179
21185
  __: [18]
@@ -21186,7 +21192,7 @@ function If(e, t, a, i, o, r) {
21186
21192
  onClick: t[10] || (t[10] = (p) => o.source = "ECMWF")
21187
21193
  }, {
21188
21194
  default: x(() => t[19] || (t[19] = [
21189
- Z("ECMWF", -1)
21195
+ O("ECMWF", -1)
21190
21196
  ])),
21191
21197
  _: 1,
21192
21198
  __: [19]
@@ -21203,7 +21209,7 @@ function If(e, t, a, i, o, r) {
21203
21209
  class: "item rounded text-body-2 hover-active",
21204
21210
  onClick: (f) => o.timeZone = p
21205
21211
  }, y(p < 0 ? p : "+" + p), 9, Tf))), 128))
21206
- ])) : E("", !0),
21212
+ ])) : W("", !0),
21207
21213
  n("div", Rf, [
21208
21214
  b(g, {
21209
21215
  text: "",
@@ -21214,7 +21220,7 @@ function If(e, t, a, i, o, r) {
21214
21220
  onClick: t[11] || (t[11] = (p) => o.showTimezone = !o.showTimezone)
21215
21221
  }, {
21216
21222
  default: x(() => [
21217
- Z(" UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
21223
+ O(" UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
21218
21224
  ]),
21219
21225
  _: 1
21220
21226
  }),
@@ -21370,7 +21376,7 @@ function Nf(e, t, a, i, o, r) {
21370
21376
  _: 1,
21371
21377
  __: [5]
21372
21378
  }, 8, ["onClick"]),
21373
- b(c, U({
21379
+ b(c, $({
21374
21380
  ref: "dateTimePicker",
21375
21381
  "date-time": o.currentDateTimeZ,
21376
21382
  "time-zone": o.timeZone,
@@ -21506,7 +21512,7 @@ const wr = /* @__PURE__ */ ie(Ff, [["render", Nf]]), Wf = {
21506
21512
  function Bf(e, t, a, i, o, r) {
21507
21513
  const l = M("IdmOtherLayer"), c = M("IdmWeatherLayer"), s = M("IdmTropicals"), m = M("IdmSpot"), d = M("IdmMeasure"), h = M("IdmMarker"), g = M("IdmBottomBar"), w = M("IdmTimePlayer");
21508
21514
  return _(), A("div", Ef, [
21509
- b(l, U({
21515
+ b(l, $({
21510
21516
  ref: "idmOtherLayers",
21511
21517
  simple: a.simple,
21512
21518
  token: a.token,
@@ -21522,7 +21528,7 @@ function Bf(e, t, a, i, o, r) {
21522
21528
  o.otherCheckList = u, o.layerVersion = o.layerVersion + 1;
21523
21529
  })
21524
21530
  }), null, 16, ["simple", "token", "default-meteo-token", "map", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
21525
- b(c, U({
21531
+ b(c, $({
21526
21532
  ref: "idmWeatherLayers",
21527
21533
  simple: a.simple,
21528
21534
  map: a.map,
@@ -21541,7 +21547,7 @@ function Bf(e, t, a, i, o, r) {
21541
21547
  o.weatherCheckList = u, o.layerVersion = o.layerVersion + 1;
21542
21548
  })
21543
21549
  }), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
21544
- b(s, U({
21550
+ b(s, $({
21545
21551
  ref: "idmTropicals",
21546
21552
  simple: a.simple,
21547
21553
  map: a.map,
@@ -21554,7 +21560,7 @@ function Bf(e, t, a, i, o, r) {
21554
21560
  "forecast-model": a.forecastModel,
21555
21561
  "map-feather": a.mapFeather
21556
21562
  }, e.$attrs), null, 16, ["simple", "map", "token", "default-meteo-token", "tropicals", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
21557
- b(m, U({
21563
+ b(m, $({
21558
21564
  ref: "idmSpot",
21559
21565
  simple: a.simple,
21560
21566
  map: a.map,
@@ -21564,12 +21570,12 @@ function Bf(e, t, a, i, o, r) {
21564
21570
  "forecast-model": a.forecastModel,
21565
21571
  "map-feather": a.mapFeather
21566
21572
  }, e.$attrs), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "forecast-model", "map-feather"]),
21567
- b(d, U({
21573
+ b(d, $({
21568
21574
  simple: a.simple,
21569
21575
  map: a.map,
21570
21576
  "map-feather": a.mapFeather
21571
21577
  }, e.$attrs), null, 16, ["simple", "map", "map-feather"]),
21572
- b(h, U({
21578
+ b(h, $({
21573
21579
  simple: a.simple,
21574
21580
  map: a.map,
21575
21581
  "map-feather": a.mapFeather,
@@ -21577,7 +21583,7 @@ function Bf(e, t, a, i, o, r) {
21577
21583
  "default-meteo-token": o.defaultMeteoToken,
21578
21584
  token: a.token
21579
21585
  }, e.$attrs), null, 16, ["simple", "map", "map-feather", "gateway", "default-meteo-token", "token"]),
21580
- a.simple ? E("", !0) : (_(), B(g, U({
21586
+ a.simple ? W("", !0) : (_(), B(g, $({
21581
21587
  key: 0,
21582
21588
  ref: "idmBottomBar",
21583
21589
  "forecast-model": a.forecastModel,
@@ -21587,7 +21593,7 @@ function Bf(e, t, a, i, o, r) {
21587
21593
  "default-meteo-token": o.defaultMeteoToken,
21588
21594
  token: a.token
21589
21595
  }, e.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather", "gateway", "default-meteo-token", "token"])),
21590
- a.simple ? (_(), B(w, U({
21596
+ a.simple ? (_(), B(w, $({
21591
21597
  key: 1,
21592
21598
  ref: "idmBottomBar",
21593
21599
  playerBottom: o.playerBottom,
@@ -21595,7 +21601,7 @@ function Bf(e, t, a, i, o, r) {
21595
21601
  "weather-check-list": o.weatherCheckList,
21596
21602
  "map-feather": a.mapFeather,
21597
21603
  disabled: !0
21598
- }, e.$attrs), null, 16, ["playerBottom", "bgClass", "weather-check-list", "map-feather"])) : E("", !0)
21604
+ }, e.$attrs), null, 16, ["playerBottom", "bgClass", "weather-check-list", "map-feather"])) : W("", !0)
21599
21605
  ], 512);
21600
21606
  }
21601
21607
  const Zf = /* @__PURE__ */ ie(Wf, [["render", Bf]]);
@@ -21607,7 +21613,7 @@ class Of {
21607
21613
  ve(this, "hi");
21608
21614
  ve(this, "td");
21609
21615
  ve(this, "windy");
21610
- 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, W, V, J, te, ae, re, pe, F, $, K, oe, H, j, Q, G, ne, fe, ke, ze, me, ye, _e, Re, q, de, Xe, Be, Me, Ae, le, Pe, ue, we, Oe, Ye, He, Y, xe, Fe, Ve, je, ee, 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, 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;
21611
21617
  this.i4 = {
21612
21618
  source: {
21613
21619
  type: "raster",
@@ -40153,13 +40159,13 @@ class Of {
40153
40159
  (T = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : T.find((z) => z.id === "water-outline"),
40154
40160
  (S = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : S.find((z) => z.id === "water-outline2"),
40155
40161
  (I = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : I.find((z) => z.id === "empty-layer-2"),
40156
- (V = (W = this.originStyle) == null ? void 0 : W.light.layers) == null ? void 0 : V.find((z) => z.id === "water-line-label"),
40157
- (te = (J = this.originStyle) == null ? void 0 : J.light.layers) == null ? void 0 : te.find((z) => z.id === "water-point-label"),
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"),
40158
40164
  (re = (ae = this.originStyle) == null ? void 0 : ae.light.layers) == null ? void 0 : re.find((z) => z.id === "world-12nm-v4-20231025"),
40159
40165
  (F = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : F.find((z) => z.id === "ne-10m-outline"),
40160
- (K = ($ = this.originStyle) == null ? void 0 : $.light.layers) == null ? void 0 : K.find((z) => z.id === "ne-10m-label"),
40161
- (H = (oe = this.originStyle) == null ? void 0 : oe.light.layers) == null ? void 0 : H.find((z) => z.id === "china-route-line"),
40162
- (Q = (j = this.originStyle) == null ? void 0 : j.light.layers) == null ? void 0 : Q.find((z) => z.id === "china-route-fill"),
40166
+ (K = (J = this.originStyle) == null ? void 0 : J.light.layers) == null ? void 0 : K.find((z) => z.id === "ne-10m-label"),
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"),
40163
40169
  (ne = (G = this.originStyle) == null ? void 0 : G.light.layers) == null ? void 0 : ne.find((z) => z.id === "china-route-label"),
40164
40170
  (ke = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : ke.find((z) => z.id === "admin-0-boundary-bg"),
40165
40171
  (me = (ze = this.originStyle) == null ? void 0 : ze.light.layers) == null ? void 0 : me.find((z) => z.id === "admin-0-boundary"),
@@ -40186,7 +40192,7 @@ class Of {
40186
40192
  sources: (Oe = this.originStyle) == null ? void 0 : Oe.dark.sources,
40187
40193
  sprite: (Ye = this.originStyle) == null ? void 0 : Ye.dark.sprite,
40188
40194
  glyphs: (He = this.originStyle) == null ? void 0 : He.dark.glyphs,
40189
- projection: (Y = this.originStyle) == null ? void 0 : Y.dark.projection,
40195
+ projection: (U = this.originStyle) == null ? void 0 : U.dark.projection,
40190
40196
  id: "cmdqwez32005b01re2w0k3zk4",
40191
40197
  owner: "neatchenheng",
40192
40198
  visibility: "private",
@@ -40195,7 +40201,7 @@ class Of {
40195
40201
  layers: [
40196
40202
  (Fe = (xe = this.originStyle) == null ? void 0 : xe.dark.layers) == null ? void 0 : Fe.find((z) => z.id === "land"),
40197
40203
  (je = (Ve = this.originStyle) == null ? void 0 : Ve.dark.layers) == null ? void 0 : je.find((z) => z.id === "water"),
40198
- (Ze = (ee = this.originStyle) == null ? void 0 : ee.dark.layers) == null ? void 0 : Ze.find((z) => z.id === "ice-area-fill"),
40204
+ (Ze = (te = this.originStyle) == null ? void 0 : te.dark.layers) == null ? void 0 : Ze.find((z) => z.id === "ice-area-fill"),
40199
40205
  (tt = (se = this.originStyle) == null ? void 0 : se.dark.layers) == null ? void 0 : tt.find((z) => z.id === "ice-area-line"),
40200
40206
  (ot = (at = this.originStyle) == null ? void 0 : at.dark.layers) == null ? void 0 : ot.find((z) => z.id === "loadlines-label"),
40201
40207
  (ct = (Ge = this.originStyle) == null ? void 0 : Ge.dark.layers) == null ? void 0 : ct.find((z) => z.id === "loadlines-fill"),
@@ -40505,8 +40511,8 @@ function Uf(e, t, a, i, o, r) {
40505
40511
  __: [0]
40506
40512
  }, 8, ["onClick"])
40507
40513
  ])
40508
- ], 4)) : E("", !0),
40509
- a.simple ? E("", !0) : (_(), A("div", {
40514
+ ], 4)) : W("", !0),
40515
+ a.simple ? W("", !0) : (_(), A("div", {
40510
40516
  key: 1,
40511
40517
  class: "menu-bar-box transition px-1 rounded d-flex flex-column",
40512
40518
  style: he({ top: a.top + 308 + "px", right: o.right + "px", height: "112px" })
@@ -40541,7 +40547,7 @@ function Uf(e, t, a, i, o, r) {
40541
40547
  }, 8, ["onClick"])
40542
40548
  ])
40543
40549
  ], 4)),
40544
- a.simple ? E("", !0) : (_(), A("div", Yf, [
40550
+ a.simple ? W("", !0) : (_(), A("div", Yf, [
40545
40551
  t[3] || (t[3] = n("span", null, "© 2023", -1)),
40546
40552
  n("span", null, "-" + y(r.computeYear), 1),
40547
40553
  t[4] || (t[4] = n("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
@@ -40812,7 +40818,7 @@ function a1(e, t, a, i, o, r) {
40812
40818
  icon: "mdi-close-circle",
40813
40819
  style: { opacity: "0.4" },
40814
40820
  onClick: Le(r.handleClearDate, ["stop"])
40815
- }, null, 8, ["onClick"])) : E("", !0)
40821
+ }, null, 8, ["onClick"])) : W("", !0)
40816
40822
  ], 4),
40817
40823
  o.showDatePicker ? (_(), B(w, {
40818
40824
  key: 0,
@@ -40882,11 +40888,11 @@ function a1(e, t, a, i, o, r) {
40882
40888
  onClick: (L) => r.handleFastPick({ dateRange: f })
40883
40889
  }, {
40884
40890
  default: x(() => [
40885
- Z(y(e.$t("time." + f)), 1)
40891
+ O(y(e.$t("time." + f)), 1)
40886
40892
  ]),
40887
40893
  _: 2
40888
40894
  }, 1032, ["color", "variant", "onClick"]))), 256))
40889
- ])) : E("", !0),
40895
+ ])) : W("", !0),
40890
40896
  n("div", t1, [
40891
40897
  b(h, {
40892
40898
  size: "small",
@@ -40895,7 +40901,7 @@ function a1(e, t, a, i, o, r) {
40895
40901
  onClick: r.handleCancelDate
40896
40902
  }, {
40897
40903
  default: x(() => [
40898
- Z(y(e.$t("actions.cancel")), 1)
40904
+ O(y(e.$t("actions.cancel")), 1)
40899
40905
  ]),
40900
40906
  _: 1
40901
40907
  }, 8, ["onClick"]),
@@ -40907,7 +40913,7 @@ function a1(e, t, a, i, o, r) {
40907
40913
  onClick: r.handleConfirmDate
40908
40914
  }, {
40909
40915
  default: x(() => [
40910
- Z(y(e.$t("actions.confirm")), 1)
40916
+ O(y(e.$t("actions.confirm")), 1)
40911
40917
  ]),
40912
40918
  _: 1
40913
40919
  }, 8, ["onClick"])
@@ -40918,7 +40924,7 @@ function a1(e, t, a, i, o, r) {
40918
40924
  })
40919
40925
  ]),
40920
40926
  _: 1
40921
- }, 8, ["style"])) : E("", !0)
40927
+ }, 8, ["style"])) : W("", !0)
40922
40928
  ], 512);
40923
40929
  }
40924
40930
  const o1 = /* @__PURE__ */ ie(Jf, [["render", a1]]), w1 = {