@idmwx/idmui-gl4 2.9.3 → 2.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ var _r = (e, t, o) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var we = (e, t, o) => (_r(e, typeof t != "symbol" ? t + "" : t, o), o);
4
4
  import Xe from "axios";
5
5
  import { useTheme as Fe } from "vuetify";
6
- import { openBlock as P, createElementBlock as D, resolveComponent as I, createBlock as B, normalizeClass as _e, withCtx as C, createVNode as L, withModifiers as Se, createElementVNode as n, createCommentVNode as N, toDisplayString as b, createTextVNode as me, Fragment as Re, renderList as De, withDirectives as Qe, vShow as et, mergeProps as Y, normalizeStyle as ue } from "vue";
6
+ import { openBlock as P, createElementBlock as D, resolveComponent as I, createBlock as B, normalizeClass as _e, withCtx as C, createVNode as L, withModifiers as Te, createElementVNode as n, createCommentVNode as N, toDisplayString as b, createTextVNode as de, Fragment as Re, renderList as De, withDirectives as Qe, vShow as et, mergeProps as Y, normalizeStyle as ue } from "vue";
7
7
  import Ae from "mapbox-gl";
8
8
  import T from "moment";
9
9
  import { LngLatHelper as ce, TropicalHelper as Ii, LaneHelper as Je } from "@idm-plugin/geo";
@@ -514,7 +514,7 @@ function Zr(e, t, o, i, a, r) {
514
514
  density: "compact",
515
515
  variant: "plain",
516
516
  class: "close",
517
- onClick: Se(r.handleRemoveMarker, ["stop"])
517
+ onClick: Te(r.handleRemoveMarker, ["stop"])
518
518
  }, {
519
519
  default: C(() => t[0] || (t[0] = [
520
520
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
@@ -1831,7 +1831,7 @@ function Xl(e, t, o, i, a, r) {
1831
1831
  n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
1832
1832
  ])),
1833
1833
  default: C(() => [
1834
- me(" " + b(e.$t("actions.unfollow")), 1)
1834
+ de(" " + b(e.$t("actions.unfollow")), 1)
1835
1835
  ]),
1836
1836
  _: 1
1837
1837
  }, 8, ["onClick"])) : (P(), B(l, {
@@ -1846,7 +1846,7 @@ function Xl(e, t, o, i, a, r) {
1846
1846
  n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
1847
1847
  ])),
1848
1848
  default: C(() => [
1849
- me(b(e.$t("actions.follow")) + " ", 1)
1849
+ de(b(e.$t("actions.follow")) + " ", 1)
1850
1850
  ]),
1851
1851
  _: 1
1852
1852
  }, 8, ["onClick"])),
@@ -1858,7 +1858,7 @@ function Xl(e, t, o, i, a, r) {
1858
1858
  onClick: r.handleMeteoMore
1859
1859
  }, {
1860
1860
  default: C(() => [
1861
- me(b(e.$t("actions.7dayForcast")), 1)
1861
+ de(b(e.$t("actions.7dayForcast")), 1)
1862
1862
  ]),
1863
1863
  _: 1
1864
1864
  }, 8, ["onClick"])
@@ -1928,7 +1928,7 @@ function Xl(e, t, o, i, a, r) {
1928
1928
  value: f.index
1929
1929
  }, {
1930
1930
  default: C(() => [
1931
- me(b(f.label), 1)
1931
+ de(b(f.label), 1)
1932
1932
  ]),
1933
1933
  _: 2
1934
1934
  }, 1032, ["value"]))), 256))
@@ -1941,7 +1941,7 @@ function Xl(e, t, o, i, a, r) {
1941
1941
  key: f.id
1942
1942
  }, [
1943
1943
  n("th", gl, [
1944
- me(b(e.$t(`${f.key}`)) + " ", 1),
1944
+ de(b(e.$t(`${f.key}`)) + " ", 1),
1945
1945
  f.unit ? (P(), D("span", fl, " ( " + b(f.unit) + " )", 1)) : N("", !0)
1946
1946
  ]),
1947
1947
  n("td", yl, [
@@ -3200,7 +3200,7 @@ function Qn(e, t, o, i, a, r) {
3200
3200
  value: y.index
3201
3201
  }, {
3202
3202
  default: C(() => [
3203
- me(b(y.label), 1)
3203
+ de(b(y.label), 1)
3204
3204
  ]),
3205
3205
  _: 2
3206
3206
  }, 1032, ["value"]))), 256))
@@ -5758,7 +5758,7 @@ function Ws(e, t, o, i, a, r) {
5758
5758
  default: C(() => [
5759
5759
  L(s, { class: "text-h6" }, {
5760
5760
  default: C(() => [
5761
- me(b(e.$t("layer.mapFeathers")), 1)
5761
+ de(b(e.$t("layer.mapFeathers")), 1)
5762
5762
  ]),
5763
5763
  _: 1
5764
5764
  })
@@ -5808,7 +5808,7 @@ function Ws(e, t, o, i, a, r) {
5808
5808
  default: C(() => [
5809
5809
  L(s, { class: "text-h6" }, {
5810
5810
  default: C(() => [
5811
- me(b(e.$t("layer.pointsOfInteresting")), 1)
5811
+ de(b(e.$t("layer.pointsOfInteresting")), 1)
5812
5812
  ]),
5813
5813
  _: 1
5814
5814
  })
@@ -5844,7 +5844,7 @@ function Ws(e, t, o, i, a, r) {
5844
5844
  default: C(() => [
5845
5845
  L(s, { class: "text-h6" }, {
5846
5846
  default: C(() => [
5847
- me(b(e.$t("layer.otherLayers")), 1)
5847
+ de(b(e.$t("layer.otherLayers")), 1)
5848
5848
  ]),
5849
5849
  _: 1
5850
5850
  })
@@ -5880,7 +5880,7 @@ function Ws(e, t, o, i, a, r) {
5880
5880
  default: C(() => [
5881
5881
  L(s, { class: "text-h6" }, {
5882
5882
  default: C(() => [
5883
- me(b(e.$t("layer.myFollows")), 1)
5883
+ de(b(e.$t("layer.myFollows")), 1)
5884
5884
  ]),
5885
5885
  _: 1
5886
5886
  })
@@ -9341,7 +9341,7 @@ function Pm(e, t, o, i, a, r) {
9341
9341
  width: "32",
9342
9342
  height: "32",
9343
9343
  class: ["text-none pa-0", a.legendToggle ? "bg-primary active-border" : ""],
9344
- onClick: t[0] || (t[0] = (de) => a.legendToggle = !a.legendToggle)
9344
+ onClick: t[0] || (t[0] = (me) => a.legendToggle = !a.legendToggle)
9345
9345
  }), {
9346
9346
  default: C(() => t[10] || (t[10] = [
9347
9347
  n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
@@ -9368,7 +9368,7 @@ function Pm(e, t, o, i, a, r) {
9368
9368
  t[11] || (t[11] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wind Level", -1)),
9369
9369
  L(h, { class: "ma-0 ml-n1 text-body-2" }, {
9370
9370
  default: C(() => [
9371
- (P(!0), D(Re, null, De(a.legend.barbs, (K, de) => (P(), B(s, {
9371
+ (P(!0), D(Re, null, De(a.legend.barbs, (K, me) => (P(), B(s, {
9372
9372
  key: K,
9373
9373
  cols: "6",
9374
9374
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
@@ -9376,7 +9376,7 @@ function Pm(e, t, o, i, a, r) {
9376
9376
  default: C(() => [
9377
9377
  n("div", jc, [
9378
9378
  n("i", {
9379
- class: _e(["iconfont", r.barbsIconName[de]]),
9379
+ class: _e(["iconfont", r.barbsIconName[me]]),
9380
9380
  style: ue({ color: o.theme === "dark" ? "#fff" : "#000" })
9381
9381
  }, null, 6),
9382
9382
  n("span", Vc, b(Number(K) < 10 ? `00${K}kts` : Number(K) < 100 ? `0${K}kts` : `${K}kts`), 1)
@@ -9400,14 +9400,14 @@ function Pm(e, t, o, i, a, r) {
9400
9400
  t[12] || (t[12] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wave Height", -1)),
9401
9401
  L(h, { class: "ma-0" }, {
9402
9402
  default: C(() => [
9403
- (P(!0), D(Re, null, De(a.legend.sigWaveHeight, (K, de) => (P(), B(s, {
9404
- key: de,
9403
+ (P(!0), D(Re, null, De(a.legend.sigWaveHeight, (K, me) => (P(), B(s, {
9404
+ key: me,
9405
9405
  cols: "12",
9406
9406
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
9407
9407
  }, {
9408
9408
  default: C(() => [
9409
9409
  n("div", Hc, [
9410
- de === 0 ? (P(), D("div", Yc)) : (P(), D("div", {
9410
+ me === 0 ? (P(), D("div", Yc)) : (P(), D("div", {
9411
9411
  key: 1,
9412
9412
  style: ue({ width: "24px", height: "12px", background: K.color })
9413
9413
  }, null, 4)),
@@ -9432,8 +9432,8 @@ function Pm(e, t, o, i, a, r) {
9432
9432
  t[13] || (t[13] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Current", -1)),
9433
9433
  L(h, { class: "ma-0 ml-n4" }, {
9434
9434
  default: C(() => [
9435
- (P(!0), D(Re, null, De(a.legend.current, (K, de) => (P(), B(s, {
9436
- key: de,
9435
+ (P(!0), D(Re, null, De(a.legend.current, (K, me) => (P(), B(s, {
9436
+ key: me,
9437
9437
  cols: "12",
9438
9438
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
9439
9439
  }, {
@@ -9514,7 +9514,7 @@ function Pm(e, t, o, i, a, r) {
9514
9514
  "base-color": ""
9515
9515
  }, {
9516
9516
  default: C(() => t[15] || (t[15] = [
9517
- me("NOAA", -1)
9517
+ de("NOAA", -1)
9518
9518
  ])),
9519
9519
  _: 1,
9520
9520
  __: [15]
@@ -9528,7 +9528,7 @@ function Pm(e, t, o, i, a, r) {
9528
9528
  value: "ECMWF"
9529
9529
  }, {
9530
9530
  default: C(() => t[16] || (t[16] = [
9531
- me("ECMWF", -1)
9531
+ de("ECMWF", -1)
9532
9532
  ])),
9533
9533
  _: 1,
9534
9534
  __: [16]
@@ -9549,7 +9549,7 @@ function Pm(e, t, o, i, a, r) {
9549
9549
  default: C(() => [
9550
9550
  L(d, { class: "text-h6" }, {
9551
9551
  default: C(() => [
9552
- me(b(e.$t("weather.overlays")), 1)
9552
+ de(b(e.$t("weather.overlays")), 1)
9553
9553
  ]),
9554
9554
  _: 1
9555
9555
  })
@@ -9561,7 +9561,7 @@ function Pm(e, t, o, i, a, r) {
9561
9561
  (P(!0), D(Re, null, De(a.tagLayers.filter((K) => K.overlays), (K) => (P(), B(x, {
9562
9562
  key: K.key,
9563
9563
  modelValue: a.checkList,
9564
- "onUpdate:modelValue": t[3] || (t[3] = (de) => a.checkList = de),
9564
+ "onUpdate:modelValue": t[3] || (t[3] = (me) => a.checkList = me),
9565
9565
  value: K.key,
9566
9566
  label: e.$t(`weather.${K.locale}`),
9567
9567
  disabled: !a.autoActive,
@@ -9586,7 +9586,7 @@ function Pm(e, t, o, i, a, r) {
9586
9586
  default: C(() => [
9587
9587
  L(d, { class: "text-h6" }, {
9588
9588
  default: C(() => [
9589
- me(b(e.$t("weather.renders")), 1)
9589
+ de(b(e.$t("weather.renders")), 1)
9590
9590
  ]),
9591
9591
  _: 1
9592
9592
  })
@@ -9600,7 +9600,7 @@ function Pm(e, t, o, i, a, r) {
9600
9600
  }, [
9601
9601
  L(v, {
9602
9602
  modelValue: a.renderKey,
9603
- "onUpdate:modelValue": t[4] || (t[4] = (de) => a.renderKey = de),
9603
+ "onUpdate:modelValue": t[4] || (t[4] = (me) => a.renderKey = me),
9604
9604
  label: e.$t(`weather.${K.locale}`),
9605
9605
  value: K.key,
9606
9606
  disabled: !a.autoActive,
@@ -9609,13 +9609,13 @@ function Pm(e, t, o, i, a, r) {
9609
9609
  style: { height: "36px" },
9610
9610
  class: "text-body-2 py-1",
9611
9611
  "hide-details": "",
9612
- onClick: (de) => a.renderKey = a.renderKey === K.key ? "" : K.key
9612
+ onClick: (me) => a.renderKey = a.renderKey === K.key ? "" : K.key
9613
9613
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
9614
9614
  a.renderKey === "wind-particle" && K.key === "wind-particle" ? (P(), D("div", tm, [
9615
9615
  n("span", null, b(e.$t("weather.particleAnimatiom")), 1),
9616
9616
  L(y, {
9617
9617
  modelValue: a.showWindParticle,
9618
- "onUpdate:modelValue": t[5] || (t[5] = (de) => a.showWindParticle = de),
9618
+ "onUpdate:modelValue": t[5] || (t[5] = (me) => a.showWindParticle = me),
9619
9619
  label: "",
9620
9620
  class: "small-switch",
9621
9621
  color: "primary",
@@ -9630,7 +9630,7 @@ function Pm(e, t, o, i, a, r) {
9630
9630
  n("span", null, b(e.$t("weather.particleAnimatiom")), 1),
9631
9631
  L(y, {
9632
9632
  modelValue: a.showCurrentParticle,
9633
- "onUpdate:modelValue": t[6] || (t[6] = (de) => a.showCurrentParticle = de),
9633
+ "onUpdate:modelValue": t[6] || (t[6] = (me) => a.showCurrentParticle = me),
9634
9634
  label: "",
9635
9635
  class: "small-switch",
9636
9636
  color: "primary",
@@ -9644,7 +9644,7 @@ function Pm(e, t, o, i, a, r) {
9644
9644
  a.renderKey === "wave-group" && K.key === "wave-group" ? (P(), B(f, {
9645
9645
  key: 2,
9646
9646
  modelValue: a.waveToggleValue,
9647
- "onUpdate:modelValue": t[7] || (t[7] = (de) => a.waveToggleValue = de),
9647
+ "onUpdate:modelValue": t[7] || (t[7] = (me) => a.waveToggleValue = me),
9648
9648
  class: "w-100 pl-7 rounded",
9649
9649
  rounded: "0",
9650
9650
  height: "30",
@@ -9663,7 +9663,7 @@ function Pm(e, t, o, i, a, r) {
9663
9663
  disabled: !a.autoActive
9664
9664
  }, {
9665
9665
  default: C(() => [
9666
- me(b(e.$t("weather.significant")), 1)
9666
+ de(b(e.$t("weather.significant")), 1)
9667
9667
  ]),
9668
9668
  _: 1
9669
9669
  }, 8, ["color", "disabled"]),
@@ -9677,7 +9677,7 @@ function Pm(e, t, o, i, a, r) {
9677
9677
  value: "swell"
9678
9678
  }, {
9679
9679
  default: C(() => [
9680
- me(b(e.$t("weather.swell")), 1)
9680
+ de(b(e.$t("weather.swell")), 1)
9681
9681
  ]),
9682
9682
  _: 1
9683
9683
  }, 8, ["color", "disabled"])
@@ -9687,7 +9687,7 @@ function Pm(e, t, o, i, a, r) {
9687
9687
  a.renderKey === "ice-forecast" && K.key === "ice-forecast" ? (P(), B(f, {
9688
9688
  key: 3,
9689
9689
  modelValue: a.iceToggleValue,
9690
- "onUpdate:modelValue": t[8] || (t[8] = (de) => a.iceToggleValue = de),
9690
+ "onUpdate:modelValue": t[8] || (t[8] = (me) => a.iceToggleValue = me),
9691
9691
  class: "w-100 pl-7 rounded",
9692
9692
  rounded: "0",
9693
9693
  height: "30",
@@ -9706,7 +9706,7 @@ function Pm(e, t, o, i, a, r) {
9706
9706
  disabled: !a.autoActive
9707
9707
  }, {
9708
9708
  default: C(() => [
9709
- me(b(e.$t("weather.coverage")), 1)
9709
+ de(b(e.$t("weather.coverage")), 1)
9710
9710
  ]),
9711
9711
  _: 1
9712
9712
  }, 8, ["color", "disabled"]),
@@ -9720,7 +9720,7 @@ function Pm(e, t, o, i, a, r) {
9720
9720
  value: "ice-thickness"
9721
9721
  }, {
9722
9722
  default: C(() => [
9723
- me(b(e.$t("weather.thickness")), 1)
9723
+ de(b(e.$t("weather.thickness")), 1)
9724
9724
  ]),
9725
9725
  _: 1
9726
9726
  }, 8, ["color", "disabled"])
@@ -9743,7 +9743,7 @@ function Pm(e, t, o, i, a, r) {
9743
9743
  default: C(() => [
9744
9744
  L(d, { class: "text-h6" }, {
9745
9745
  default: C(() => [
9746
- me(b(e.$t("weather.forecastModel")), 1)
9746
+ de(b(e.$t("weather.forecastModel")), 1)
9747
9747
  ]),
9748
9748
  _: 1
9749
9749
  })
@@ -9752,10 +9752,10 @@ function Pm(e, t, o, i, a, r) {
9752
9752
  }),
9753
9753
  L(m, { class: "" }, {
9754
9754
  default: C(() => {
9755
- var K, de, je, Ne, Le, Te, oe, Pe, pe, ye, Be, He, Ve, j, be, Ie, Oe, Ee, q, Ze, re, tt, ot, at, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Zt, Bt, Ot, Et, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo;
9755
+ var K, me, je, Ne, Le, Se, oe, Pe, pe, ye, Be, He, Ve, j, be, Ie, Oe, Ee, q, Ze, re, tt, ot, at, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Zt, Bt, Ot, Et, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo;
9756
9756
  return [
9757
9757
  n("div", am, b(e.$t("weather.atmospheric")), 1),
9758
- n("div", im, b((je = (de = (K = a.models) == null ? void 0 : K.weather) == null ? void 0 : de.NOAA) == null ? void 0 : je.source) + " " + b((Te = (Le = (Ne = a.models) == null ? void 0 : Ne.weather) == null ? void 0 : Le.NOAA) == null ? void 0 : Te.spatialResolution) + b(e.$t("units.km")) + " " + b((ye = (pe = (Pe = (oe = a.models) == null ? void 0 : oe.weather) == null ? void 0 : Pe.NOAA) == null ? void 0 : pe.meta) == null ? void 0 : ye.days) + b(e.$t("units.days")), 1),
9758
+ n("div", im, b((je = (me = (K = a.models) == null ? void 0 : K.weather) == null ? void 0 : me.NOAA) == null ? void 0 : je.source) + " " + b((Se = (Le = (Ne = a.models) == null ? void 0 : Ne.weather) == null ? void 0 : Le.NOAA) == null ? void 0 : Se.spatialResolution) + b(e.$t("units.km")) + " " + b((ye = (pe = (Pe = (oe = a.models) == null ? void 0 : oe.weather) == null ? void 0 : Pe.NOAA) == null ? void 0 : pe.meta) == null ? void 0 : ye.days) + b(e.$t("units.days")), 1),
9759
9759
  n("div", rm, b(e.$t("weather.source")) + ": NOAA", 1),
9760
9760
  n("div", lm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((j = (Ve = (He = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : He.NOAA) == null ? void 0 : Ve.meta) == null ? void 0 : j.availabilityTime)), 1),
9761
9761
  n("div", nm, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((Ee = (Oe = (Ie = (be = a.models) == null ? void 0 : be.weather) == null ? void 0 : Ie.NOAA) == null ? void 0 : Oe.meta) == null ? void 0 : Ee.initialisationTime)), 1),
@@ -10249,7 +10249,7 @@ let Di = class {
10249
10249
  }), a;
10250
10250
  }
10251
10251
  static pickHourly(t, o) {
10252
- var i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, k, S, _, M, R, W, F, O, V, J, Q, ee, he, A, H, U, te, X, E, $, G, ie, ge, xe, ke, se, fe, ve, Me, K, de, je, Ne, Le, Te;
10252
+ var i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, k, S, _, M, R, W, F, O, V, J, Q, ee, he, A, H, U, te, X, E, $, G, ie, ge, xe, ke, se, fe, ve, Me, K, me, je, Ne, Le, Se;
10253
10253
  const oe = typeof o == "string" ? T(o) : o, Pe = t == null ? void 0 : t.weather, pe = t == null ? void 0 : t.marine, ye = T((a = (i = Pe == null ? void 0 : Pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), Be = ye.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"), He = ye.clone().add((m = (h = (s = Pe == null ? void 0 : Pe[0]) == null ? void 0 : s.hourly) == null ? void 0 : h.time) == null ? void 0 : m.at(-1), "h"), Ve = [];
10254
10254
  if (oe.isBetween(Be, He, "millisecond", "[]")) {
10255
10255
  const j = oe.utc().diff(Be, "h", !1);
@@ -10327,12 +10327,12 @@ let Di = class {
10327
10327
  },
10328
10328
  current: {
10329
10329
  speed: (K = q == null ? void 0 : q.ocean_current_velocity) == null ? void 0 : K.at(j),
10330
- kts: (de = q == null ? void 0 : q.ocean_current_velocity) == null ? void 0 : de.at(j),
10330
+ kts: (me = q == null ? void 0 : q.ocean_current_velocity) == null ? void 0 : me.at(j),
10331
10331
  degree: (je = q == null ? void 0 : q.ocean_current_direction) == null ? void 0 : je.at(j),
10332
10332
  bearing: ((Ne = q == null ? void 0 : q.ocean_current_direction) == null ? void 0 : Ne.at(j)) ?? null
10333
10333
  },
10334
10334
  sst: (Le = q == null ? void 0 : q.sea_surface_temperature) == null ? void 0 : Le.at(j),
10335
- height: (Te = q == null ? void 0 : q.sea_level_height_msl) == null ? void 0 : Te.at(j)
10335
+ height: (Se = q == null ? void 0 : q.sea_level_height_msl) == null ? void 0 : Se.at(j)
10336
10336
  }, Ie.wave = this.parseWave(Ie.wave, be == null ? void 0 : be.wind), Ie.current.direction = this.degree2Direction(Ie.current.degree), Object.assign(Ve[Oe], Ie), Oe++;
10337
10337
  }
10338
10338
  }
@@ -10363,10 +10363,10 @@ let Di = class {
10363
10363
  }
10364
10364
  static pickDaily(t, o) {
10365
10365
  var i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, k, S, _, M, R, W, F, O, V, J, Q, ee, he, A, H, U, te, X, E, $, G, ie, ge, xe, ke, se, fe;
10366
- const ve = typeof o == "string" ? T(o) : o, Me = t == null ? void 0 : t.weather, K = t == null ? void 0 : t.marine, de = T((r = (a = (i = Me == null ? void 0 : Me[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = T((s = (c = (l = Me == null ? void 0 : Me[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), Ne = [];
10367
- if (ve.isBetween(de, je, "millisecond", "[]")) {
10368
- let Le, Te;
10369
- const oe = ve.diff(de, "d", !1);
10366
+ const ve = typeof o == "string" ? T(o) : o, Me = t == null ? void 0 : t.weather, K = t == null ? void 0 : t.marine, me = T((r = (a = (i = Me == null ? void 0 : Me[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = T((s = (c = (l = Me == null ? void 0 : Me[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), Ne = [];
10367
+ if (ve.isBetween(me, je, "millisecond", "[]")) {
10368
+ let Le, Se;
10369
+ const oe = ve.diff(me, "d", !1);
10370
10370
  if (Me)
10371
10371
  for (const Pe of Me) {
10372
10372
  const pe = Pe.daily;
@@ -10404,7 +10404,7 @@ let Di = class {
10404
10404
  };
10405
10405
  const { name: ye, url: Be, bg: He } = this.parseWeatherCode(Le.code, !0);
10406
10406
  Le.name = ye, Le.url = Be, Le.bg = He, Le.wind.scale = this.beaufort(this.kts2ms(Le.wind.kts)), Le.wind.direction = this.degree2Direction(Le.wind.degree), Ne.push({
10407
- utc: de.add(oe, "d").utc().format(),
10407
+ utc: me.add(oe, "d").utc().format(),
10408
10408
  model: Pe.model,
10409
10409
  weather: { ...Le }
10410
10410
  });
@@ -10413,7 +10413,7 @@ let Di = class {
10413
10413
  let Pe = 0;
10414
10414
  for (const pe of K) {
10415
10415
  const ye = pe.daily;
10416
- Te = {
10416
+ Se = {
10417
10417
  wave: {
10418
10418
  sig: {
10419
10419
  height: (Q = ye.wave_height_max) == null ? void 0 : Q.at(oe),
@@ -10437,7 +10437,7 @@ let Di = class {
10437
10437
  bearing: ((se = ye.wind_wave_direction_dominant) == null ? void 0 : se.at(oe)) !== null ? (((fe = ye.wind_wave_direction_dominant) == null ? void 0 : fe.at(oe)) + 180) % 360 : null
10438
10438
  }
10439
10439
  }
10440
- }, Te.wave = this.parseWave(Te.wave, Le == null ? void 0 : Le.wind), Object.assign(Ne[Pe], Te), Pe++;
10440
+ }, Se.wave = this.parseWave(Se.wave, Le == null ? void 0 : Le.wind), Object.assign(Ne[Pe], Se), Pe++;
10441
10441
  }
10442
10442
  }
10443
10443
  }
@@ -11583,11 +11583,11 @@ function ch(e, t, o, i, a, r) {
11583
11583
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
11584
11584
  onClick: r.handleMenuToggle
11585
11585
  }), {
11586
- default: C(() => t[3] || (t[3] = [
11586
+ default: C(() => t[2] || (t[2] = [
11587
11587
  n("i", { class: "iconfont icon-Tropical text-h4" }, null, -1)
11588
11588
  ])),
11589
11589
  _: 2,
11590
- __: [3]
11590
+ __: [2]
11591
11591
  }, 1040, ["class", "onClick"])
11592
11592
  ]),
11593
11593
  _: 1
@@ -11617,13 +11617,13 @@ function ch(e, t, o, i, a, r) {
11617
11617
  density: "compact",
11618
11618
  variant: "plain",
11619
11619
  class: "close",
11620
- onClick: Se(r.handleCloseInfoMarker, ["stop"])
11620
+ onClick: Te(r.handleCloseInfoMarker, ["stop"])
11621
11621
  }, {
11622
- default: C(() => t[4] || (t[4] = [
11622
+ default: C(() => t[3] || (t[3] = [
11623
11623
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
11624
11624
  ])),
11625
11625
  _: 1,
11626
- __: [4]
11626
+ __: [3]
11627
11627
  }, 8, ["onClick"]),
11628
11628
  n("div", Dm, [
11629
11629
  n("span", Am, b(e.$t("actions.lastUpdate")) + ": ", 1),
@@ -11669,10 +11669,10 @@ function ch(e, t, o, i, a, r) {
11669
11669
  color: M.disabled ? "" : "primary",
11670
11670
  "min-width": 30,
11671
11671
  class: _e(["model text-none text-body-1 px-1", M.disabled ? "btn-border-1 btn-bg-1" : ""]),
11672
- onClick: Se((W) => r.handleForecastToggle(M), ["stop"])
11672
+ onClick: Te((W) => r.handleForecastToggle(M), ["stop"])
11673
11673
  }, {
11674
11674
  default: C(() => [
11675
- me(b(M.model), 1)
11675
+ de(b(M.model), 1)
11676
11676
  ]),
11677
11677
  _: 2
11678
11678
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -11694,38 +11694,26 @@ function ch(e, t, o, i, a, r) {
11694
11694
  variant: "text",
11695
11695
  color: a.showLegend ? "primary" : "",
11696
11696
  class: "text-none text-body-1",
11697
- onClick: t[0] || (t[0] = Se((f) => a.showLegend = !a.showLegend, ["stop"]))
11697
+ onClick: t[0] || (t[0] = Te((f) => a.showLegend = !a.showLegend, ["stop"]))
11698
11698
  }, {
11699
- prepend: C(() => t[5] || (t[5] = [
11699
+ prepend: C(() => t[4] || (t[4] = [
11700
11700
  n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
11701
11701
  ])),
11702
11702
  default: C(() => [
11703
- me(" " + b(e.$t("weather.legend")), 1)
11703
+ de(" " + b(e.$t("weather.legend")), 1)
11704
11704
  ]),
11705
11705
  _: 1
11706
11706
  }, 8, ["color"]),
11707
11707
  n("div", Um, [
11708
- o.permission & a.helper.LEVEL.Supper ? (P(), B(l, {
11709
- key: 0,
11710
- variant: "text",
11711
- density: "compact",
11712
- class: "text-none text-body-1",
11713
- onClick: t[1] || (t[1] = Se((f) => r.handleNotification(a.activeTropicals), ["stop"]))
11714
- }, {
11715
- default: C(() => [
11716
- me(b(e.$t("actions.notify")), 1)
11717
- ]),
11718
- _: 1
11719
- })) : N("", !0),
11720
11708
  L(l, {
11721
11709
  variant: "text",
11722
11710
  density: "compact",
11723
11711
  "append-icon": "mdi-chevron-right",
11724
11712
  class: "text-none text-body-1",
11725
- onClick: t[2] || (t[2] = Se((f) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11713
+ onClick: t[1] || (t[1] = Te((f) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11726
11714
  }, {
11727
11715
  default: C(() => [
11728
- me(b(e.$t("actions.viewReport")), 1)
11716
+ de(b(e.$t("actions.viewReport")), 1)
11729
11717
  ]),
11730
11718
  _: 1
11731
11719
  })
@@ -11739,45 +11727,45 @@ function ch(e, t, o, i, a, r) {
11739
11727
  o.simple ? (P(), D("div", Jm, [
11740
11728
  n("div", Km, [
11741
11729
  n("div", $m, [
11742
- t[6] || (t[6] = n("div", { class: "icon td" }, null, -1)),
11730
+ t[5] || (t[5] = n("div", { class: "icon td" }, null, -1)),
11743
11731
  n("div", qm, b(e.$t("tropical.td")), 1)
11744
11732
  ]),
11745
11733
  n("div", Qm, [
11746
- t[7] || (t[7] = n("div", { class: "icon sts" }, null, -1)),
11734
+ t[6] || (t[6] = n("div", { class: "icon sts" }, null, -1)),
11747
11735
  n("div", ed, b(e.$t("tropical.sts")), 1)
11748
11736
  ]),
11749
11737
  n("div", td, [
11750
- t[8] || (t[8] = n("div", { class: "icon sty" }, null, -1)),
11738
+ t[7] || (t[7] = n("div", { class: "icon sty" }, null, -1)),
11751
11739
  n("div", od, b(e.$t("tropical.sty")), 1)
11752
11740
  ])
11753
11741
  ]),
11754
11742
  n("div", ad, [
11755
11743
  n("div", id, [
11756
- t[9] || (t[9] = n("div", { class: "icon ts" }, null, -1)),
11744
+ t[8] || (t[8] = n("div", { class: "icon ts" }, null, -1)),
11757
11745
  n("div", rd, b(e.$t("tropical.ts")), 1)
11758
11746
  ]),
11759
11747
  n("div", ld, [
11760
- t[10] || (t[10] = n("div", { class: "icon ty" }, null, -1)),
11748
+ t[9] || (t[9] = n("div", { class: "icon ty" }, null, -1)),
11761
11749
  n("div", nd, b(e.$t("tropical.ty")), 1)
11762
11750
  ]),
11763
11751
  n("div", sd, [
11764
- t[11] || (t[11] = n("div", { class: "icon supper-ty" }, null, -1)),
11752
+ t[10] || (t[10] = n("div", { class: "icon supper-ty" }, null, -1)),
11765
11753
  n("div", cd, b(e.$t("tropical.superTy")), 1)
11766
11754
  ])
11767
11755
  ]),
11768
11756
  n("div", md, [
11769
11757
  n("div", dd, [
11770
- t[12] || (t[12] = n("div", { class: "icon history" }, null, -1)),
11758
+ t[11] || (t[11] = n("div", { class: "icon history" }, null, -1)),
11771
11759
  n("div", hd, b(e.$t("tropical.history")), 1),
11772
- t[13] || (t[13] = n("div", { class: "icon forecast" }, null, -1)),
11760
+ t[12] || (t[12] = n("div", { class: "icon forecast" }, null, -1)),
11773
11761
  n("div", ud, b(e.$t("tropical.forecast")), 1)
11774
11762
  ]),
11775
11763
  n("div", pd, [
11776
- t[14] || (t[14] = n("div", { class: "icon r7" }, null, -1)),
11764
+ t[13] || (t[13] = n("div", { class: "icon r7" }, null, -1)),
11777
11765
  n("div", gd, "35kts " + b(e.$t("tropical.radii")), 1)
11778
11766
  ]),
11779
11767
  n("div", fd, [
11780
- t[15] || (t[15] = n("div", { class: "icon r10" }, null, -1)),
11768
+ t[14] || (t[14] = n("div", { class: "icon r10" }, null, -1)),
11781
11769
  n("div", yd, "50kts " + b(e.$t("tropical.radii")), 1)
11782
11770
  ])
11783
11771
  ])
@@ -11790,43 +11778,43 @@ function ch(e, t, o, i, a, r) {
11790
11778
  class: _e(["pa-1 d-flex justify-space-between align-center flex-wrap", o.locale === "zhHans" ? " ga-2" : " ga-3"])
11791
11779
  }, [
11792
11780
  n("div", wd, [
11793
- t[16] || (t[16] = n("div", { class: "icon td" }, null, -1)),
11781
+ t[15] || (t[15] = n("div", { class: "icon td" }, null, -1)),
11794
11782
  n("div", xd, b(e.$t("tropical.td")), 1)
11795
11783
  ]),
11796
11784
  n("div", vd, [
11797
- t[17] || (t[17] = n("div", { class: "icon ts" }, null, -1)),
11785
+ t[16] || (t[16] = n("div", { class: "icon ts" }, null, -1)),
11798
11786
  n("div", kd, b(e.$t("tropical.ts")), 1)
11799
11787
  ]),
11800
11788
  n("div", _d, [
11801
- t[18] || (t[18] = n("div", { class: "icon sts" }, null, -1)),
11789
+ t[17] || (t[17] = n("div", { class: "icon sts" }, null, -1)),
11802
11790
  n("div", zd, b(e.$t("tropical.sts")), 1)
11803
11791
  ]),
11804
11792
  n("div", Ld, [
11805
- t[19] || (t[19] = n("div", { class: "icon ty" }, null, -1)),
11793
+ t[18] || (t[18] = n("div", { class: "icon ty" }, null, -1)),
11806
11794
  n("div", Pd, b(e.$t("tropical.ty")), 1)
11807
11795
  ]),
11808
11796
  n("div", Cd, [
11809
- t[20] || (t[20] = n("div", { class: "icon sty" }, null, -1)),
11797
+ t[19] || (t[19] = n("div", { class: "icon sty" }, null, -1)),
11810
11798
  n("div", Md, b(e.$t("tropical.sty")), 1)
11811
11799
  ]),
11812
11800
  n("div", Sd, [
11813
- t[21] || (t[21] = n("div", { class: "icon supper-ty" }, null, -1)),
11801
+ t[20] || (t[20] = n("div", { class: "icon supper-ty" }, null, -1)),
11814
11802
  n("div", Td, b(e.$t("tropical.superTy")), 1)
11815
11803
  ]),
11816
11804
  n("div", Rd, [
11817
- t[22] || (t[22] = n("div", { class: "icon history" }, null, -1)),
11805
+ t[21] || (t[21] = n("div", { class: "icon history" }, null, -1)),
11818
11806
  n("div", Id, b(e.$t("tropical.history")), 1)
11819
11807
  ]),
11820
11808
  n("div", Dd, [
11821
- t[23] || (t[23] = n("div", { class: "icon forecast" }, null, -1)),
11809
+ t[22] || (t[22] = n("div", { class: "icon forecast" }, null, -1)),
11822
11810
  n("div", Ad, b(e.$t("tropical.forecast")), 1)
11823
11811
  ]),
11824
11812
  n("div", Gd, [
11825
- t[24] || (t[24] = n("div", { class: "icon r7" }, null, -1)),
11813
+ t[23] || (t[23] = n("div", { class: "icon r7" }, null, -1)),
11826
11814
  n("div", Wd, "35kts " + b(e.$t("tropical.radii")), 1)
11827
11815
  ]),
11828
11816
  n("div", Fd, [
11829
- t[25] || (t[25] = n("div", { class: "icon r10" }, null, -1)),
11817
+ t[24] || (t[24] = n("div", { class: "icon r10" }, null, -1)),
11830
11818
  n("div", Nd, "50kts " + b(e.$t("tropical.radii")), 1)
11831
11819
  ])
11832
11820
  ], 2), [
@@ -12168,7 +12156,7 @@ function gh(e, t, o, i, a, r) {
12168
12156
  onClick: (x) => a.currentTime = d
12169
12157
  }, {
12170
12158
  default: C(() => [
12171
- me(b(d), 1)
12159
+ de(b(d), 1)
12172
12160
  ]),
12173
12161
  _: 2
12174
12162
  }, 1032, ["onClick"])
@@ -12195,7 +12183,7 @@ function gh(e, t, o, i, a, r) {
12195
12183
  onClick: r.handleCancelDate
12196
12184
  }, {
12197
12185
  default: C(() => [
12198
- me(b(e.$t("actions.cancel")), 1)
12186
+ de(b(e.$t("actions.cancel")), 1)
12199
12187
  ]),
12200
12188
  _: 1
12201
12189
  }, 8, ["onClick"]),
@@ -12207,7 +12195,7 @@ function gh(e, t, o, i, a, r) {
12207
12195
  onClick: r.handleConfirmDate
12208
12196
  }, {
12209
12197
  default: C(() => [
12210
- me(b(e.$t("actions.confirm")), 1)
12198
+ de(b(e.$t("actions.confirm")), 1)
12211
12199
  ]),
12212
12200
  _: 1
12213
12201
  }, 8, ["onClick"])
@@ -13455,7 +13443,7 @@ function vu(e, t, o, i, a, r) {
13455
13443
  ref: "spotForm",
13456
13444
  autocomplete: "off",
13457
13445
  class: "form-box",
13458
- onSubmit: Se(r.submitForm, ["prevent"])
13446
+ onSubmit: Te(r.submitForm, ["prevent"])
13459
13447
  }, {
13460
13448
  default: C(() => [
13461
13449
  L(d, { class: "text-body-1 py-1" }, {
@@ -13530,7 +13518,7 @@ function vu(e, t, o, i, a, r) {
13530
13518
  onClick: t[2] || (t[2] = (w) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
13531
13519
  }, {
13532
13520
  default: C(() => [
13533
- me(b(a.form.latDirection), 1)
13521
+ de(b(a.form.latDirection), 1)
13534
13522
  ]),
13535
13523
  _: 1
13536
13524
  })
@@ -13607,7 +13595,7 @@ function vu(e, t, o, i, a, r) {
13607
13595
  onClick: t[5] || (t[5] = (w) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
13608
13596
  }, {
13609
13597
  default: C(() => [
13610
- me(b(a.form.lngDirection), 1)
13598
+ de(b(a.form.lngDirection), 1)
13611
13599
  ]),
13612
13600
  _: 1
13613
13601
  })
@@ -13678,7 +13666,7 @@ function vu(e, t, o, i, a, r) {
13678
13666
  "base-color": ""
13679
13667
  }, {
13680
13668
  default: C(() => t[14] || (t[14] = [
13681
- me("NOAA", -1)
13669
+ de("NOAA", -1)
13682
13670
  ])),
13683
13671
  _: 1,
13684
13672
  __: [14]
@@ -13692,7 +13680,7 @@ function vu(e, t, o, i, a, r) {
13692
13680
  value: "ECMWF"
13693
13681
  }, {
13694
13682
  default: C(() => t[15] || (t[15] = [
13695
- me("ECMWF", -1)
13683
+ de("ECMWF", -1)
13696
13684
  ])),
13697
13685
  _: 1,
13698
13686
  __: [15]
@@ -13719,7 +13707,7 @@ function vu(e, t, o, i, a, r) {
13719
13707
  onClick: r.cancelForm
13720
13708
  }, {
13721
13709
  default: C(() => [
13722
- me(b(e.$t("actions.clear")), 1)
13710
+ de(b(e.$t("actions.clear")), 1)
13723
13711
  ]),
13724
13712
  _: 1
13725
13713
  }, 8, ["onClick"]),
@@ -13733,7 +13721,7 @@ function vu(e, t, o, i, a, r) {
13733
13721
  class: "text-none text-body-1"
13734
13722
  }, {
13735
13723
  default: C(() => [
13736
- me(b(e.$t("actions.confirm")), 1)
13724
+ de(b(e.$t("actions.confirm")), 1)
13737
13725
  ]),
13738
13726
  _: 1
13739
13727
  }, 8, ["loading"])
@@ -13764,7 +13752,7 @@ function vu(e, t, o, i, a, r) {
13764
13752
  density: "comfortable",
13765
13753
  icon: "",
13766
13754
  variant: "plain",
13767
- onClick: Se(r.handleCloseMeteo, ["stop"])
13755
+ onClick: Te(r.handleCloseMeteo, ["stop"])
13768
13756
  }, {
13769
13757
  default: C(() => t[17] || (t[17] = [
13770
13758
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
@@ -13828,13 +13816,13 @@ function vu(e, t, o, i, a, r) {
13828
13816
  variant: "text",
13829
13817
  density: "compact",
13830
13818
  height: "32",
13831
- onClick: Se(r.handleCancelFollow, ["stop"])
13819
+ onClick: Te(r.handleCancelFollow, ["stop"])
13832
13820
  }, {
13833
13821
  prepend: C(() => t[19] || (t[19] = [
13834
13822
  n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
13835
13823
  ])),
13836
13824
  default: C(() => [
13837
- me(" " + b(e.$t("actions.unfollow")), 1)
13825
+ de(" " + b(e.$t("actions.unfollow")), 1)
13838
13826
  ]),
13839
13827
  _: 1
13840
13828
  }, 8, ["onClick"])) : (P(), B(l, {
@@ -13844,13 +13832,13 @@ function vu(e, t, o, i, a, r) {
13844
13832
  variant: "text",
13845
13833
  density: "compact",
13846
13834
  height: "32",
13847
- onClick: Se(r.handleFollow, ["stop"])
13835
+ onClick: Te(r.handleFollow, ["stop"])
13848
13836
  }, {
13849
13837
  prepend: C(() => t[20] || (t[20] = [
13850
13838
  n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
13851
13839
  ])),
13852
13840
  default: C(() => [
13853
- me(b(e.$t("actions.follow")) + " ", 1)
13841
+ de(b(e.$t("actions.follow")) + " ", 1)
13854
13842
  ]),
13855
13843
  _: 1
13856
13844
  }, 8, ["onClick"])),
@@ -13860,10 +13848,10 @@ function vu(e, t, o, i, a, r) {
13860
13848
  density: "compact",
13861
13849
  "append-icon": "mdi-chevron-right",
13862
13850
  class: "text-none text-body-1",
13863
- onClick: Se(r.handleMeteoMore, ["stop"])
13851
+ onClick: Te(r.handleMeteoMore, ["stop"])
13864
13852
  }, {
13865
13853
  default: C(() => [
13866
- me(b(e.$t("spot.forecast")), 1)
13854
+ de(b(e.$t("spot.forecast")), 1)
13867
13855
  ]),
13868
13856
  _: 1
13869
13857
  }, 8, ["onClick"])
@@ -13902,7 +13890,7 @@ function vu(e, t, o, i, a, r) {
13902
13890
  height: "32",
13903
13891
  width: "28",
13904
13892
  "min-width": "28",
13905
- onClick: Se(r.handleCancelFollow, ["stop"])
13893
+ onClick: Te(r.handleCancelFollow, ["stop"])
13906
13894
  }, {
13907
13895
  default: C(() => t[22] || (t[22] = [
13908
13896
  n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
@@ -13917,7 +13905,7 @@ function vu(e, t, o, i, a, r) {
13917
13905
  height: "32",
13918
13906
  width: "28",
13919
13907
  "min-width": "28",
13920
- onClick: Se(r.handleFollow, ["stop"])
13908
+ onClick: Te(r.handleFollow, ["stop"])
13921
13909
  }, {
13922
13910
  default: C(() => t[23] || (t[23] = [
13923
13911
  n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
@@ -13930,7 +13918,7 @@ function vu(e, t, o, i, a, r) {
13930
13918
  density: "comfortable",
13931
13919
  icon: "",
13932
13920
  variant: "plain",
13933
- onClick: Se(r.handleCloseMeteo, ["stop"])
13921
+ onClick: Te(r.handleCloseMeteo, ["stop"])
13934
13922
  }, {
13935
13923
  default: C(() => t[24] || (t[24] = [
13936
13924
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
@@ -17232,13 +17220,13 @@ async function br(e, t) {
17232
17220
  }
17233
17221
  let te = Tg(k), X = Rg(k), E = Ig(k), $ = Dg(k), G = a ? { top: le(te.top + X.top + E.top + $.bleed.top), right: le(te.right + X.right + E.right + $.bleed.right), bottom: le(te.bottom + X.bottom + E.bottom + $.bleed.bottom), left: le(te.left + X.left + E.left + $.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
17234
17222
  he = le(he - G.left), A = le(A - G.top), H = le(H + G.right), U = le(U + G.bottom);
17235
- let ie = Math.max(1, le(H - he)), ge = Math.max(1, le(U - A)), xe = J || Q ? le(O / _) : 1, ke = Q || J ? le(V / M) : 1, se = Math.max(1, le(ie * xe)), fe = Math.max(1, le(ge * ke)), ve = "http://www.w3.org/2000/svg", Me = Bo() ? 1 : 0, K = le(Me + (i ? 0 : 1)), de = document.createElementNS(ve, "foreignObject"), je = le(he), Ne = le(A);
17236
- de.setAttribute("x", String(le(-(je - K)))), de.setAttribute("y", String(le(-(Ne - K)))), de.setAttribute("width", String(le(_ + K * 2))), de.setAttribute("height", String(le(M + K * 2))), de.style.overflow = "visible";
17223
+ let ie = Math.max(1, le(H - he)), ge = Math.max(1, le(U - A)), xe = J || Q ? le(O / _) : 1, ke = Q || J ? le(V / M) : 1, se = Math.max(1, le(ie * xe)), fe = Math.max(1, le(ge * ke)), ve = "http://www.w3.org/2000/svg", Me = Bo() ? 1 : 0, K = le(Me + (i ? 0 : 1)), me = document.createElementNS(ve, "foreignObject"), je = le(he), Ne = le(A);
17224
+ me.setAttribute("x", String(le(-(je - K)))), me.setAttribute("y", String(le(-(Ne - K)))), me.setAttribute("width", String(le(_ + K * 2))), me.setAttribute("height", String(le(M + K * 2))), me.style.overflow = "visible";
17237
17225
  let Le = document.createElement("style");
17238
- Le.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, de.appendChild(Le);
17239
- let Te = document.createElement("div");
17240
- Te.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), Te.style.width = `${le(_)}px`, Te.style.height = `${le(M)}px`, Te.style.overflow = "visible", r.clone.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), Te.appendChild(r.clone), de.appendChild(Te);
17241
- let oe = new XMLSerializer().serializeToString(de), Pe = le(ie + K * 2), pe = le(ge + K * 2), ye = J || Q;
17226
+ Le.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, me.appendChild(Le);
17227
+ let Se = document.createElement("div");
17228
+ Se.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), Se.style.width = `${le(_)}px`, Se.style.height = `${le(M)}px`, Se.style.overflow = "visible", r.clone.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), Se.appendChild(r.clone), me.appendChild(Se);
17229
+ let oe = new XMLSerializer().serializeToString(me), Pe = le(ie + K * 2), pe = le(ge + K * 2), ye = J || Q;
17242
17230
  t.meta = { w0: _, h0: M, vbW: Pe, vbH: pe, targetW: O, targetH: V };
17243
17231
  let Be = Bo() && ye ? Pe : le(se + K * 2), He = Bo() && ye ? pe : le(fe + K * 2);
17244
17232
  p = `<svg xmlns="${ve}" width="${Be}" height="${He}" viewBox="0 0 ${Pe} ${pe}">` + oe + "</svg>", g = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(p)}`, r = { svgString: p, dataURL: g, ...r }, w();
@@ -17284,52 +17272,52 @@ Ce.capture = async (e, t, o) => {
17284
17272
  if (o !== wr)
17285
17273
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17286
17274
  let i = await br(e, t), a = { img: async (f, d) => {
17287
- let { toImg: u } = await import("./toImg-f7d27c39.js");
17275
+ let { toImg: u } = await import("./toImg-89ab08fa.js");
17288
17276
  return u(i, { ...f, ...d || {} });
17289
17277
  }, svg: async (f, d) => {
17290
- let { toSvg: u } = await import("./toImg-f7d27c39.js");
17278
+ let { toSvg: u } = await import("./toImg-89ab08fa.js");
17291
17279
  return u(i, { ...f, ...d || {} });
17292
17280
  }, canvas: async (f, d) => {
17293
- let { toCanvas: u } = await import("./toCanvas-7baa5dff.js");
17281
+ let { toCanvas: u } = await import("./toCanvas-1c1e7e2b.js");
17294
17282
  return u(i, { ...f, ...d || {} });
17295
17283
  }, blob: async (f, d) => {
17296
- let { toBlob: u } = await import("./toBlob-0844a01a.js");
17284
+ let { toBlob: u } = await import("./toBlob-5caaf1a6.js");
17297
17285
  return u(i, { ...f, ...d || {} });
17298
17286
  }, png: async (f, d) => {
17299
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17287
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-b0901938.js");
17300
17288
  return u(i, { ...f, ...d || {}, format: "png" });
17301
17289
  }, jpeg: async (f, d) => {
17302
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17290
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-b0901938.js");
17303
17291
  return u(i, { ...f, ...d || {}, format: "jpeg" });
17304
17292
  }, webp: async (f, d) => {
17305
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17293
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-b0901938.js");
17306
17294
  return u(i, { ...f, ...d || {}, format: "webp" });
17307
17295
  }, download: async (f, d) => {
17308
- let { download: u } = await import("./download-ae61fa72.js");
17296
+ let { download: u } = await import("./download-f0be3119.js");
17309
17297
  return u(i, { ...f, ...d || {} });
17310
17298
  } }, r = { ...t, export: { url: i }, exports: { svg: async (f) => {
17311
- let { toSvg: d } = await import("./toImg-f7d27c39.js");
17299
+ let { toSvg: d } = await import("./toImg-89ab08fa.js");
17312
17300
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17313
17301
  }, canvas: async (f) => {
17314
- let { toCanvas: d } = await import("./toCanvas-7baa5dff.js");
17302
+ let { toCanvas: d } = await import("./toCanvas-1c1e7e2b.js");
17315
17303
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17316
17304
  }, png: async (f) => {
17317
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17305
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-b0901938.js");
17318
17306
  return d(i, { ...t, ...f || {}, format: "png", [$e]: !0 });
17319
17307
  }, jpeg: async (f) => {
17320
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17308
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-b0901938.js");
17321
17309
  return d(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17322
17310
  }, jpg: async (f) => {
17323
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17311
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-b0901938.js");
17324
17312
  return d(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17325
17313
  }, webp: async (f) => {
17326
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17314
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-b0901938.js");
17327
17315
  return d(i, { ...t, ...f || {}, format: "webp", [$e]: !0 });
17328
17316
  }, blob: async (f) => {
17329
- let { toBlob: d } = await import("./toBlob-0844a01a.js");
17317
+ let { toBlob: d } = await import("./toBlob-5caaf1a6.js");
17330
17318
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17331
17319
  }, img: async (f) => {
17332
- let { toImg: d } = await import("./toImg-f7d27c39.js");
17320
+ let { toImg: d } = await import("./toImg-89ab08fa.js");
17333
17321
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17334
17322
  } } }, l = await yp("defineExports", r), c = Object.assign({}, ...l.filter((f) => f && typeof f == "object")), s = { ...a, ...c };
17335
17323
  s.jpeg && !s.jpg && (s.jpg = (f, d) => s.jpeg(f, d));
@@ -18044,9 +18032,9 @@ function n0(e, t, o, i, a, r) {
18044
18032
  a.actionStatus === 3 ? (P(), D("div", {
18045
18033
  key: 0,
18046
18034
  class: "action-buttons px-2 rounded font-weight-bold bg-background d-flex justify-end ga-4",
18047
- onMousedown: t[0] || (t[0] = Se(() => {
18035
+ onMousedown: t[0] || (t[0] = Te(() => {
18048
18036
  }, ["stop"])),
18049
- onMouseup: t[1] || (t[1] = Se(() => {
18037
+ onMouseup: t[1] || (t[1] = Te(() => {
18050
18038
  }, ["stop"]))
18051
18039
  }, [
18052
18040
  L(l, {
@@ -18054,14 +18042,14 @@ function n0(e, t, o, i, a, r) {
18054
18042
  density: "compact",
18055
18043
  variant: "plain",
18056
18044
  class: "text-none text-body-1",
18057
- onClick: Se(r.handleConfirm, ["stop"])
18045
+ onClick: Te(r.handleConfirm, ["stop"])
18058
18046
  }, null, 8, ["onClick"]),
18059
18047
  L(l, {
18060
18048
  icon: "mdi-close",
18061
18049
  density: "compact",
18062
18050
  variant: "plain",
18063
18051
  class: "text-none text-body-1",
18064
- onClick: Se(r.handleCancel, ["stop"])
18052
+ onClick: Te(r.handleCancel, ["stop"])
18065
18053
  }, null, 8, ["onClick"])
18066
18054
  ], 32)) : N("", !0)
18067
18055
  ], 4)) : N("", !0)
@@ -18076,9 +18064,9 @@ function n0(e, t, o, i, a, r) {
18076
18064
  ]),
18077
18065
  n("div", {
18078
18066
  class: "action-status mt-2 px-2 rounded font-weight-bold bg-background d-flex align-center justify-end ga-4",
18079
- onMousedown: t[5] || (t[5] = Se(() => {
18067
+ onMousedown: t[5] || (t[5] = Te(() => {
18080
18068
  }, ["stop"])),
18081
- onMouseup: t[6] || (t[6] = Se(() => {
18069
+ onMouseup: t[6] || (t[6] = Te(() => {
18082
18070
  }, ["stop"]))
18083
18071
  }, [
18084
18072
  a.actionStatus === 4 ? (P(), D("div", a0, [
@@ -18275,7 +18263,7 @@ function v0(e, t, o, i, a, r) {
18275
18263
  "min-width": "30"
18276
18264
  }, {
18277
18265
  default: C(() => [
18278
- me(b(a.intervalHour) + " h ", 1),
18266
+ de(b(a.intervalHour) + " h ", 1),
18279
18267
  L(g, { activator: "parent" }, {
18280
18268
  default: C(() => [
18281
18269
  L(m, { class: "pa-1" }, {
@@ -18297,7 +18285,7 @@ function v0(e, t, o, i, a, r) {
18297
18285
  onClick: (x) => a.intervalHour = d
18298
18286
  }, {
18299
18287
  default: C(() => [
18300
- me(b(d) + "h", 1)
18288
+ de(b(d) + "h", 1)
18301
18289
  ]),
18302
18290
  _: 2
18303
18291
  }, 1032, ["onClick"])
@@ -18576,7 +18564,7 @@ function v0(e, t, o, i, a, r) {
18576
18564
  onClick: t[9] || (t[9] = (d) => a.source = "GFS")
18577
18565
  }, {
18578
18566
  default: C(() => t[18] || (t[18] = [
18579
- me("NOAA", -1)
18567
+ de("NOAA", -1)
18580
18568
  ])),
18581
18569
  _: 1,
18582
18570
  __: [18]
@@ -18589,7 +18577,7 @@ function v0(e, t, o, i, a, r) {
18589
18577
  onClick: t[10] || (t[10] = (d) => a.source = "ECMWF")
18590
18578
  }, {
18591
18579
  default: C(() => t[19] || (t[19] = [
18592
- me("ECMWF", -1)
18580
+ de("ECMWF", -1)
18593
18581
  ])),
18594
18582
  _: 1,
18595
18583
  __: [19]
@@ -18617,7 +18605,7 @@ function v0(e, t, o, i, a, r) {
18617
18605
  onClick: t[11] || (t[11] = (d) => a.showTimezone = !a.showTimezone)
18618
18606
  }, {
18619
18607
  default: C(() => [
18620
- me(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
18608
+ de(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
18621
18609
  ]),
18622
18610
  _: 1
18623
18611
  }),
@@ -19001,7 +18989,7 @@ class T0 {
19001
18989
  we(this, "hi");
19002
18990
  we(this, "td");
19003
18991
  we(this, "windy");
19004
- var o, i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, k, S, _, M, R, W, F, O, V, J, Q, ee, he, A, H, U, te, X, E, $, G, ie, ge, xe, ke, se, fe, ve, Me, K, de, je, Ne, Le, Te, oe, Pe, pe, ye, Be, He, Ve, j, be, Ie, Oe, Ee, q, Ze, re, tt, ot, at, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Zt, Bt, Ot, Et, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo, xa, va, ka, _a, za, La, Pa, Ca, Ma, Sa, Ta, Ra, Ia, Da, Aa, Ga, Wa, Fa, Na, Za, Ba, Oa, Ea, Xa, ja, Va, Ha, Ya, Ua, Ja, Ka, $a, qa, Qa, ei, ti, oi, ai, ii, ri, li, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, xi, vi, ki, _i, zi, Li, Pi, Ci, Mi, Si, Ti, Ri;
18992
+ var o, i, a, r, l, c, s, h, m, g, p, y, f, d, u, x, v, w, k, S, _, M, R, W, F, O, V, J, Q, ee, he, A, H, U, te, X, E, $, G, ie, ge, xe, ke, se, fe, ve, Me, K, me, je, Ne, Le, Se, oe, Pe, pe, ye, Be, He, Ve, j, be, Ie, Oe, Ee, q, Ze, re, tt, ot, at, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Zt, Bt, Ot, Et, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo, xa, va, ka, _a, za, La, Pa, Ca, Ma, Sa, Ta, Ra, Ia, Da, Aa, Ga, Wa, Fa, Na, Za, Ba, Oa, Ea, Xa, ja, Va, Ha, Ya, Ua, Ja, Ka, $a, qa, Qa, ei, ti, oi, ai, ii, ri, li, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, xi, vi, ki, _i, zi, Li, Pi, Ci, Mi, Si, Ti, Ri;
19005
18993
  this.i4 = {
19006
18994
  source: {
19007
18995
  type: "raster",
@@ -37666,9 +37654,9 @@ class T0 {
37666
37654
  (se = (ke = this.originStyle) == null ? void 0 : ke.light.layers) == null ? void 0 : se.find((z) => z.id === "admin-0-boundary"),
37667
37655
  (ve = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : ve.find((z) => z.id === "admin-0-boundary-disputed"),
37668
37656
  (K = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : K.find((z) => z.id === "country-label"),
37669
- (je = (de = this.originStyle) == null ? void 0 : de.light.layers) == null ? void 0 : je.find((z) => z.id === "continent-label"),
37657
+ (je = (me = this.originStyle) == null ? void 0 : me.light.layers) == null ? void 0 : je.find((z) => z.id === "continent-label"),
37670
37658
  (Le = (Ne = this.originStyle) == null ? void 0 : Ne.light.layers) == null ? void 0 : Le.find((z) => z.id === "tide-stations"),
37671
- (oe = (Te = this.originStyle) == null ? void 0 : Te.light.layers) == null ? void 0 : oe.find((z) => z.id === "empty-layer-3"),
37659
+ (oe = (Se = this.originStyle) == null ? void 0 : Se.light.layers) == null ? void 0 : oe.find((z) => z.id === "empty-layer-3"),
37672
37660
  (pe = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : pe.find((z) => z.id === "empty-layer-4")
37673
37661
  ]
37674
37662
  },
@@ -38312,7 +38300,7 @@ function j0(e, t, o, i, a, r) {
38312
38300
  class: "text-h5",
38313
38301
  icon: "mdi-close-circle",
38314
38302
  style: { opacity: "0.4" },
38315
- onClick: Se(r.handleClearDate, ["stop"])
38303
+ onClick: Te(r.handleClearDate, ["stop"])
38316
38304
  }, null, 8, ["onClick"])) : N("", !0)
38317
38305
  ], 4),
38318
38306
  a.showDatePicker ? (P(), B(y, {
@@ -38383,7 +38371,7 @@ function j0(e, t, o, i, a, r) {
38383
38371
  onClick: (x) => r.handleFastPick({ dateRange: u })
38384
38372
  }, {
38385
38373
  default: C(() => [
38386
- me(b(e.$t("time." + u)), 1)
38374
+ de(b(e.$t("time." + u)), 1)
38387
38375
  ]),
38388
38376
  _: 2
38389
38377
  }, 1032, ["color", "variant", "onClick"]))), 256))
@@ -38396,7 +38384,7 @@ function j0(e, t, o, i, a, r) {
38396
38384
  onClick: r.handleCancelDate
38397
38385
  }, {
38398
38386
  default: C(() => [
38399
- me(b(e.$t("actions.cancel")), 1)
38387
+ de(b(e.$t("actions.cancel")), 1)
38400
38388
  ]),
38401
38389
  _: 1
38402
38390
  }, 8, ["onClick"]),
@@ -38408,7 +38396,7 @@ function j0(e, t, o, i, a, r) {
38408
38396
  onClick: r.handleConfirmDate
38409
38397
  }, {
38410
38398
  default: C(() => [
38411
- me(b(e.$t("actions.confirm")), 1)
38399
+ de(b(e.$t("actions.confirm")), 1)
38412
38400
  ]),
38413
38401
  _: 1
38414
38402
  }, 8, ["onClick"])