@idmwx/idmui-gl4 2.9.3 → 2.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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, [
@@ -2779,6 +2779,10 @@ const yn = /* @__PURE__ */ ne(gn, [["render", fn]]), bn = {
2779
2779
  },
2780
2780
  show: {
2781
2781
  type: Boolean
2782
+ },
2783
+ locale: {
2784
+ type: String,
2785
+ default: "zhHans"
2782
2786
  }
2783
2787
  },
2784
2788
  data() {
@@ -2799,7 +2803,7 @@ const yn = /* @__PURE__ */ ne(gn, [["render", fn]]), bn = {
2799
2803
  methods: {
2800
2804
  handleRender() {
2801
2805
  var e, t, o;
2802
- (e = this.map) != null && e.getLayer(this.lineLayer) && this.map.setLayoutProperty(this.lineLayer, "visibility", "visible"), (t = this.map) != null && t.getLayer(this.fillLayer) && this.map.setLayoutProperty(this.fillLayer, "visibility", "visible"), (o = this.map) != null && o.getLayer(this.labelLayer) && this.map.setLayoutProperty(this.labelLayer, "visibility", "visible");
2806
+ (e = this.map) != null && e.getLayer(this.lineLayer) && this.map.setLayoutProperty(this.lineLayer, "visibility", "visible"), (t = this.map) != null && t.getLayer(this.fillLayer) && this.map.setLayoutProperty(this.fillLayer, "visibility", "visible"), (o = this.map) != null && o.getLayer(this.labelLayer) && (this.map.setLayoutProperty(this.labelLayer, "visibility", "visible"), this.map.setLayoutProperty(this.labelLayer, "text-field", this.locale === "en" ? "{route_name_en}" : "{route_name}"));
2803
2807
  },
2804
2808
  handleClear() {
2805
2809
  var e, t, o;
@@ -3200,7 +3204,7 @@ function Qn(e, t, o, i, a, r) {
3200
3204
  value: y.index
3201
3205
  }, {
3202
3206
  default: C(() => [
3203
- me(b(y.label), 1)
3207
+ de(b(y.label), 1)
3204
3208
  ]),
3205
3209
  _: 2
3206
3210
  }, 1032, ["value"]))), 256))
@@ -5758,7 +5762,7 @@ function Ws(e, t, o, i, a, r) {
5758
5762
  default: C(() => [
5759
5763
  L(s, { class: "text-h6" }, {
5760
5764
  default: C(() => [
5761
- me(b(e.$t("layer.mapFeathers")), 1)
5765
+ de(b(e.$t("layer.mapFeathers")), 1)
5762
5766
  ]),
5763
5767
  _: 1
5764
5768
  })
@@ -5808,7 +5812,7 @@ function Ws(e, t, o, i, a, r) {
5808
5812
  default: C(() => [
5809
5813
  L(s, { class: "text-h6" }, {
5810
5814
  default: C(() => [
5811
- me(b(e.$t("layer.pointsOfInteresting")), 1)
5815
+ de(b(e.$t("layer.pointsOfInteresting")), 1)
5812
5816
  ]),
5813
5817
  _: 1
5814
5818
  })
@@ -5844,7 +5848,7 @@ function Ws(e, t, o, i, a, r) {
5844
5848
  default: C(() => [
5845
5849
  L(s, { class: "text-h6" }, {
5846
5850
  default: C(() => [
5847
- me(b(e.$t("layer.otherLayers")), 1)
5851
+ de(b(e.$t("layer.otherLayers")), 1)
5848
5852
  ]),
5849
5853
  _: 1
5850
5854
  })
@@ -5880,7 +5884,7 @@ function Ws(e, t, o, i, a, r) {
5880
5884
  default: C(() => [
5881
5885
  L(s, { class: "text-h6" }, {
5882
5886
  default: C(() => [
5883
- me(b(e.$t("layer.myFollows")), 1)
5887
+ de(b(e.$t("layer.myFollows")), 1)
5884
5888
  ]),
5885
5889
  _: 1
5886
5890
  })
@@ -9341,7 +9345,7 @@ function Pm(e, t, o, i, a, r) {
9341
9345
  width: "32",
9342
9346
  height: "32",
9343
9347
  class: ["text-none pa-0", a.legendToggle ? "bg-primary active-border" : ""],
9344
- onClick: t[0] || (t[0] = (de) => a.legendToggle = !a.legendToggle)
9348
+ onClick: t[0] || (t[0] = (me) => a.legendToggle = !a.legendToggle)
9345
9349
  }), {
9346
9350
  default: C(() => t[10] || (t[10] = [
9347
9351
  n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
@@ -9368,7 +9372,7 @@ function Pm(e, t, o, i, a, r) {
9368
9372
  t[11] || (t[11] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wind Level", -1)),
9369
9373
  L(h, { class: "ma-0 ml-n1 text-body-2" }, {
9370
9374
  default: C(() => [
9371
- (P(!0), D(Re, null, De(a.legend.barbs, (K, de) => (P(), B(s, {
9375
+ (P(!0), D(Re, null, De(a.legend.barbs, (K, me) => (P(), B(s, {
9372
9376
  key: K,
9373
9377
  cols: "6",
9374
9378
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
@@ -9376,7 +9380,7 @@ function Pm(e, t, o, i, a, r) {
9376
9380
  default: C(() => [
9377
9381
  n("div", jc, [
9378
9382
  n("i", {
9379
- class: _e(["iconfont", r.barbsIconName[de]]),
9383
+ class: _e(["iconfont", r.barbsIconName[me]]),
9380
9384
  style: ue({ color: o.theme === "dark" ? "#fff" : "#000" })
9381
9385
  }, null, 6),
9382
9386
  n("span", Vc, b(Number(K) < 10 ? `00${K}kts` : Number(K) < 100 ? `0${K}kts` : `${K}kts`), 1)
@@ -9400,14 +9404,14 @@ function Pm(e, t, o, i, a, r) {
9400
9404
  t[12] || (t[12] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wave Height", -1)),
9401
9405
  L(h, { class: "ma-0" }, {
9402
9406
  default: C(() => [
9403
- (P(!0), D(Re, null, De(a.legend.sigWaveHeight, (K, de) => (P(), B(s, {
9404
- key: de,
9407
+ (P(!0), D(Re, null, De(a.legend.sigWaveHeight, (K, me) => (P(), B(s, {
9408
+ key: me,
9405
9409
  cols: "12",
9406
9410
  class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
9407
9411
  }, {
9408
9412
  default: C(() => [
9409
9413
  n("div", Hc, [
9410
- de === 0 ? (P(), D("div", Yc)) : (P(), D("div", {
9414
+ me === 0 ? (P(), D("div", Yc)) : (P(), D("div", {
9411
9415
  key: 1,
9412
9416
  style: ue({ width: "24px", height: "12px", background: K.color })
9413
9417
  }, null, 4)),
@@ -9432,8 +9436,8 @@ function Pm(e, t, o, i, a, r) {
9432
9436
  t[13] || (t[13] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Current", -1)),
9433
9437
  L(h, { class: "ma-0 ml-n4" }, {
9434
9438
  default: C(() => [
9435
- (P(!0), D(Re, null, De(a.legend.current, (K, de) => (P(), B(s, {
9436
- key: de,
9439
+ (P(!0), D(Re, null, De(a.legend.current, (K, me) => (P(), B(s, {
9440
+ key: me,
9437
9441
  cols: "12",
9438
9442
  class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
9439
9443
  }, {
@@ -9514,7 +9518,7 @@ function Pm(e, t, o, i, a, r) {
9514
9518
  "base-color": ""
9515
9519
  }, {
9516
9520
  default: C(() => t[15] || (t[15] = [
9517
- me("NOAA", -1)
9521
+ de("NOAA", -1)
9518
9522
  ])),
9519
9523
  _: 1,
9520
9524
  __: [15]
@@ -9528,7 +9532,7 @@ function Pm(e, t, o, i, a, r) {
9528
9532
  value: "ECMWF"
9529
9533
  }, {
9530
9534
  default: C(() => t[16] || (t[16] = [
9531
- me("ECMWF", -1)
9535
+ de("ECMWF", -1)
9532
9536
  ])),
9533
9537
  _: 1,
9534
9538
  __: [16]
@@ -9549,7 +9553,7 @@ function Pm(e, t, o, i, a, r) {
9549
9553
  default: C(() => [
9550
9554
  L(d, { class: "text-h6" }, {
9551
9555
  default: C(() => [
9552
- me(b(e.$t("weather.overlays")), 1)
9556
+ de(b(e.$t("weather.overlays")), 1)
9553
9557
  ]),
9554
9558
  _: 1
9555
9559
  })
@@ -9561,7 +9565,7 @@ function Pm(e, t, o, i, a, r) {
9561
9565
  (P(!0), D(Re, null, De(a.tagLayers.filter((K) => K.overlays), (K) => (P(), B(x, {
9562
9566
  key: K.key,
9563
9567
  modelValue: a.checkList,
9564
- "onUpdate:modelValue": t[3] || (t[3] = (de) => a.checkList = de),
9568
+ "onUpdate:modelValue": t[3] || (t[3] = (me) => a.checkList = me),
9565
9569
  value: K.key,
9566
9570
  label: e.$t(`weather.${K.locale}`),
9567
9571
  disabled: !a.autoActive,
@@ -9586,7 +9590,7 @@ function Pm(e, t, o, i, a, r) {
9586
9590
  default: C(() => [
9587
9591
  L(d, { class: "text-h6" }, {
9588
9592
  default: C(() => [
9589
- me(b(e.$t("weather.renders")), 1)
9593
+ de(b(e.$t("weather.renders")), 1)
9590
9594
  ]),
9591
9595
  _: 1
9592
9596
  })
@@ -9600,7 +9604,7 @@ function Pm(e, t, o, i, a, r) {
9600
9604
  }, [
9601
9605
  L(v, {
9602
9606
  modelValue: a.renderKey,
9603
- "onUpdate:modelValue": t[4] || (t[4] = (de) => a.renderKey = de),
9607
+ "onUpdate:modelValue": t[4] || (t[4] = (me) => a.renderKey = me),
9604
9608
  label: e.$t(`weather.${K.locale}`),
9605
9609
  value: K.key,
9606
9610
  disabled: !a.autoActive,
@@ -9609,13 +9613,13 @@ function Pm(e, t, o, i, a, r) {
9609
9613
  style: { height: "36px" },
9610
9614
  class: "text-body-2 py-1",
9611
9615
  "hide-details": "",
9612
- onClick: (de) => a.renderKey = a.renderKey === K.key ? "" : K.key
9616
+ onClick: (me) => a.renderKey = a.renderKey === K.key ? "" : K.key
9613
9617
  }, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
9614
9618
  a.renderKey === "wind-particle" && K.key === "wind-particle" ? (P(), D("div", tm, [
9615
9619
  n("span", null, b(e.$t("weather.particleAnimatiom")), 1),
9616
9620
  L(y, {
9617
9621
  modelValue: a.showWindParticle,
9618
- "onUpdate:modelValue": t[5] || (t[5] = (de) => a.showWindParticle = de),
9622
+ "onUpdate:modelValue": t[5] || (t[5] = (me) => a.showWindParticle = me),
9619
9623
  label: "",
9620
9624
  class: "small-switch",
9621
9625
  color: "primary",
@@ -9630,7 +9634,7 @@ function Pm(e, t, o, i, a, r) {
9630
9634
  n("span", null, b(e.$t("weather.particleAnimatiom")), 1),
9631
9635
  L(y, {
9632
9636
  modelValue: a.showCurrentParticle,
9633
- "onUpdate:modelValue": t[6] || (t[6] = (de) => a.showCurrentParticle = de),
9637
+ "onUpdate:modelValue": t[6] || (t[6] = (me) => a.showCurrentParticle = me),
9634
9638
  label: "",
9635
9639
  class: "small-switch",
9636
9640
  color: "primary",
@@ -9644,7 +9648,7 @@ function Pm(e, t, o, i, a, r) {
9644
9648
  a.renderKey === "wave-group" && K.key === "wave-group" ? (P(), B(f, {
9645
9649
  key: 2,
9646
9650
  modelValue: a.waveToggleValue,
9647
- "onUpdate:modelValue": t[7] || (t[7] = (de) => a.waveToggleValue = de),
9651
+ "onUpdate:modelValue": t[7] || (t[7] = (me) => a.waveToggleValue = me),
9648
9652
  class: "w-100 pl-7 rounded",
9649
9653
  rounded: "0",
9650
9654
  height: "30",
@@ -9663,7 +9667,7 @@ function Pm(e, t, o, i, a, r) {
9663
9667
  disabled: !a.autoActive
9664
9668
  }, {
9665
9669
  default: C(() => [
9666
- me(b(e.$t("weather.significant")), 1)
9670
+ de(b(e.$t("weather.significant")), 1)
9667
9671
  ]),
9668
9672
  _: 1
9669
9673
  }, 8, ["color", "disabled"]),
@@ -9677,7 +9681,7 @@ function Pm(e, t, o, i, a, r) {
9677
9681
  value: "swell"
9678
9682
  }, {
9679
9683
  default: C(() => [
9680
- me(b(e.$t("weather.swell")), 1)
9684
+ de(b(e.$t("weather.swell")), 1)
9681
9685
  ]),
9682
9686
  _: 1
9683
9687
  }, 8, ["color", "disabled"])
@@ -9687,7 +9691,7 @@ function Pm(e, t, o, i, a, r) {
9687
9691
  a.renderKey === "ice-forecast" && K.key === "ice-forecast" ? (P(), B(f, {
9688
9692
  key: 3,
9689
9693
  modelValue: a.iceToggleValue,
9690
- "onUpdate:modelValue": t[8] || (t[8] = (de) => a.iceToggleValue = de),
9694
+ "onUpdate:modelValue": t[8] || (t[8] = (me) => a.iceToggleValue = me),
9691
9695
  class: "w-100 pl-7 rounded",
9692
9696
  rounded: "0",
9693
9697
  height: "30",
@@ -9706,7 +9710,7 @@ function Pm(e, t, o, i, a, r) {
9706
9710
  disabled: !a.autoActive
9707
9711
  }, {
9708
9712
  default: C(() => [
9709
- me(b(e.$t("weather.coverage")), 1)
9713
+ de(b(e.$t("weather.coverage")), 1)
9710
9714
  ]),
9711
9715
  _: 1
9712
9716
  }, 8, ["color", "disabled"]),
@@ -9720,7 +9724,7 @@ function Pm(e, t, o, i, a, r) {
9720
9724
  value: "ice-thickness"
9721
9725
  }, {
9722
9726
  default: C(() => [
9723
- me(b(e.$t("weather.thickness")), 1)
9727
+ de(b(e.$t("weather.thickness")), 1)
9724
9728
  ]),
9725
9729
  _: 1
9726
9730
  }, 8, ["color", "disabled"])
@@ -9743,7 +9747,7 @@ function Pm(e, t, o, i, a, r) {
9743
9747
  default: C(() => [
9744
9748
  L(d, { class: "text-h6" }, {
9745
9749
  default: C(() => [
9746
- me(b(e.$t("weather.forecastModel")), 1)
9750
+ de(b(e.$t("weather.forecastModel")), 1)
9747
9751
  ]),
9748
9752
  _: 1
9749
9753
  })
@@ -9752,10 +9756,10 @@ function Pm(e, t, o, i, a, r) {
9752
9756
  }),
9753
9757
  L(m, { class: "" }, {
9754
9758
  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;
9759
+ 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
9760
  return [
9757
9761
  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),
9762
+ 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
9763
  n("div", rm, b(e.$t("weather.source")) + ": NOAA", 1),
9760
9764
  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
9765
  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 +10253,7 @@ let Di = class {
10249
10253
  }), a;
10250
10254
  }
10251
10255
  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;
10256
+ 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
10257
  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
10258
  if (oe.isBetween(Be, He, "millisecond", "[]")) {
10255
10259
  const j = oe.utc().diff(Be, "h", !1);
@@ -10327,12 +10331,12 @@ let Di = class {
10327
10331
  },
10328
10332
  current: {
10329
10333
  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),
10334
+ kts: (me = q == null ? void 0 : q.ocean_current_velocity) == null ? void 0 : me.at(j),
10331
10335
  degree: (je = q == null ? void 0 : q.ocean_current_direction) == null ? void 0 : je.at(j),
10332
10336
  bearing: ((Ne = q == null ? void 0 : q.ocean_current_direction) == null ? void 0 : Ne.at(j)) ?? null
10333
10337
  },
10334
10338
  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)
10339
+ height: (Se = q == null ? void 0 : q.sea_level_height_msl) == null ? void 0 : Se.at(j)
10336
10340
  }, 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
10341
  }
10338
10342
  }
@@ -10363,10 +10367,10 @@ let Di = class {
10363
10367
  }
10364
10368
  static pickDaily(t, o) {
10365
10369
  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);
10370
+ 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 = [];
10371
+ if (ve.isBetween(me, je, "millisecond", "[]")) {
10372
+ let Le, Se;
10373
+ const oe = ve.diff(me, "d", !1);
10370
10374
  if (Me)
10371
10375
  for (const Pe of Me) {
10372
10376
  const pe = Pe.daily;
@@ -10404,7 +10408,7 @@ let Di = class {
10404
10408
  };
10405
10409
  const { name: ye, url: Be, bg: He } = this.parseWeatherCode(Le.code, !0);
10406
10410
  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(),
10411
+ utc: me.add(oe, "d").utc().format(),
10408
10412
  model: Pe.model,
10409
10413
  weather: { ...Le }
10410
10414
  });
@@ -10413,7 +10417,7 @@ let Di = class {
10413
10417
  let Pe = 0;
10414
10418
  for (const pe of K) {
10415
10419
  const ye = pe.daily;
10416
- Te = {
10420
+ Se = {
10417
10421
  wave: {
10418
10422
  sig: {
10419
10423
  height: (Q = ye.wave_height_max) == null ? void 0 : Q.at(oe),
@@ -10437,7 +10441,7 @@ let Di = class {
10437
10441
  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
10442
  }
10439
10443
  }
10440
- }, Te.wave = this.parseWave(Te.wave, Le == null ? void 0 : Le.wind), Object.assign(Ne[Pe], Te), Pe++;
10444
+ }, Se.wave = this.parseWave(Se.wave, Le == null ? void 0 : Le.wind), Object.assign(Ne[Pe], Se), Pe++;
10441
10445
  }
10442
10446
  }
10443
10447
  }
@@ -11583,11 +11587,11 @@ function ch(e, t, o, i, a, r) {
11583
11587
  class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
11584
11588
  onClick: r.handleMenuToggle
11585
11589
  }), {
11586
- default: C(() => t[3] || (t[3] = [
11590
+ default: C(() => t[2] || (t[2] = [
11587
11591
  n("i", { class: "iconfont icon-Tropical text-h4" }, null, -1)
11588
11592
  ])),
11589
11593
  _: 2,
11590
- __: [3]
11594
+ __: [2]
11591
11595
  }, 1040, ["class", "onClick"])
11592
11596
  ]),
11593
11597
  _: 1
@@ -11617,13 +11621,13 @@ function ch(e, t, o, i, a, r) {
11617
11621
  density: "compact",
11618
11622
  variant: "plain",
11619
11623
  class: "close",
11620
- onClick: Se(r.handleCloseInfoMarker, ["stop"])
11624
+ onClick: Te(r.handleCloseInfoMarker, ["stop"])
11621
11625
  }, {
11622
- default: C(() => t[4] || (t[4] = [
11626
+ default: C(() => t[3] || (t[3] = [
11623
11627
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
11624
11628
  ])),
11625
11629
  _: 1,
11626
- __: [4]
11630
+ __: [3]
11627
11631
  }, 8, ["onClick"]),
11628
11632
  n("div", Dm, [
11629
11633
  n("span", Am, b(e.$t("actions.lastUpdate")) + ": ", 1),
@@ -11669,10 +11673,10 @@ function ch(e, t, o, i, a, r) {
11669
11673
  color: M.disabled ? "" : "primary",
11670
11674
  "min-width": 30,
11671
11675
  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"])
11676
+ onClick: Te((W) => r.handleForecastToggle(M), ["stop"])
11673
11677
  }, {
11674
11678
  default: C(() => [
11675
- me(b(M.model), 1)
11679
+ de(b(M.model), 1)
11676
11680
  ]),
11677
11681
  _: 2
11678
11682
  }, 1032, ["variant", "color", "class", "onClick"]))), 128))
@@ -11694,38 +11698,26 @@ function ch(e, t, o, i, a, r) {
11694
11698
  variant: "text",
11695
11699
  color: a.showLegend ? "primary" : "",
11696
11700
  class: "text-none text-body-1",
11697
- onClick: t[0] || (t[0] = Se((f) => a.showLegend = !a.showLegend, ["stop"]))
11701
+ onClick: t[0] || (t[0] = Te((f) => a.showLegend = !a.showLegend, ["stop"]))
11698
11702
  }, {
11699
- prepend: C(() => t[5] || (t[5] = [
11703
+ prepend: C(() => t[4] || (t[4] = [
11700
11704
  n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
11701
11705
  ])),
11702
11706
  default: C(() => [
11703
- me(" " + b(e.$t("weather.legend")), 1)
11707
+ de(" " + b(e.$t("weather.legend")), 1)
11704
11708
  ]),
11705
11709
  _: 1
11706
11710
  }, 8, ["color"]),
11707
11711
  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
11712
  L(l, {
11721
11713
  variant: "text",
11722
11714
  density: "compact",
11723
11715
  "append-icon": "mdi-chevron-right",
11724
11716
  class: "text-none text-body-1",
11725
- onClick: t[2] || (t[2] = Se((f) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11717
+ onClick: t[1] || (t[1] = Te((f) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
11726
11718
  }, {
11727
11719
  default: C(() => [
11728
- me(b(e.$t("actions.viewReport")), 1)
11720
+ de(b(e.$t("actions.viewReport")), 1)
11729
11721
  ]),
11730
11722
  _: 1
11731
11723
  })
@@ -11739,45 +11731,45 @@ function ch(e, t, o, i, a, r) {
11739
11731
  o.simple ? (P(), D("div", Jm, [
11740
11732
  n("div", Km, [
11741
11733
  n("div", $m, [
11742
- t[6] || (t[6] = n("div", { class: "icon td" }, null, -1)),
11734
+ t[5] || (t[5] = n("div", { class: "icon td" }, null, -1)),
11743
11735
  n("div", qm, b(e.$t("tropical.td")), 1)
11744
11736
  ]),
11745
11737
  n("div", Qm, [
11746
- t[7] || (t[7] = n("div", { class: "icon sts" }, null, -1)),
11738
+ t[6] || (t[6] = n("div", { class: "icon sts" }, null, -1)),
11747
11739
  n("div", ed, b(e.$t("tropical.sts")), 1)
11748
11740
  ]),
11749
11741
  n("div", td, [
11750
- t[8] || (t[8] = n("div", { class: "icon sty" }, null, -1)),
11742
+ t[7] || (t[7] = n("div", { class: "icon sty" }, null, -1)),
11751
11743
  n("div", od, b(e.$t("tropical.sty")), 1)
11752
11744
  ])
11753
11745
  ]),
11754
11746
  n("div", ad, [
11755
11747
  n("div", id, [
11756
- t[9] || (t[9] = n("div", { class: "icon ts" }, null, -1)),
11748
+ t[8] || (t[8] = n("div", { class: "icon ts" }, null, -1)),
11757
11749
  n("div", rd, b(e.$t("tropical.ts")), 1)
11758
11750
  ]),
11759
11751
  n("div", ld, [
11760
- t[10] || (t[10] = n("div", { class: "icon ty" }, null, -1)),
11752
+ t[9] || (t[9] = n("div", { class: "icon ty" }, null, -1)),
11761
11753
  n("div", nd, b(e.$t("tropical.ty")), 1)
11762
11754
  ]),
11763
11755
  n("div", sd, [
11764
- t[11] || (t[11] = n("div", { class: "icon supper-ty" }, null, -1)),
11756
+ t[10] || (t[10] = n("div", { class: "icon supper-ty" }, null, -1)),
11765
11757
  n("div", cd, b(e.$t("tropical.superTy")), 1)
11766
11758
  ])
11767
11759
  ]),
11768
11760
  n("div", md, [
11769
11761
  n("div", dd, [
11770
- t[12] || (t[12] = n("div", { class: "icon history" }, null, -1)),
11762
+ t[11] || (t[11] = n("div", { class: "icon history" }, null, -1)),
11771
11763
  n("div", hd, b(e.$t("tropical.history")), 1),
11772
- t[13] || (t[13] = n("div", { class: "icon forecast" }, null, -1)),
11764
+ t[12] || (t[12] = n("div", { class: "icon forecast" }, null, -1)),
11773
11765
  n("div", ud, b(e.$t("tropical.forecast")), 1)
11774
11766
  ]),
11775
11767
  n("div", pd, [
11776
- t[14] || (t[14] = n("div", { class: "icon r7" }, null, -1)),
11768
+ t[13] || (t[13] = n("div", { class: "icon r7" }, null, -1)),
11777
11769
  n("div", gd, "35kts " + b(e.$t("tropical.radii")), 1)
11778
11770
  ]),
11779
11771
  n("div", fd, [
11780
- t[15] || (t[15] = n("div", { class: "icon r10" }, null, -1)),
11772
+ t[14] || (t[14] = n("div", { class: "icon r10" }, null, -1)),
11781
11773
  n("div", yd, "50kts " + b(e.$t("tropical.radii")), 1)
11782
11774
  ])
11783
11775
  ])
@@ -11790,43 +11782,43 @@ function ch(e, t, o, i, a, r) {
11790
11782
  class: _e(["pa-1 d-flex justify-space-between align-center flex-wrap", o.locale === "zhHans" ? " ga-2" : " ga-3"])
11791
11783
  }, [
11792
11784
  n("div", wd, [
11793
- t[16] || (t[16] = n("div", { class: "icon td" }, null, -1)),
11785
+ t[15] || (t[15] = n("div", { class: "icon td" }, null, -1)),
11794
11786
  n("div", xd, b(e.$t("tropical.td")), 1)
11795
11787
  ]),
11796
11788
  n("div", vd, [
11797
- t[17] || (t[17] = n("div", { class: "icon ts" }, null, -1)),
11789
+ t[16] || (t[16] = n("div", { class: "icon ts" }, null, -1)),
11798
11790
  n("div", kd, b(e.$t("tropical.ts")), 1)
11799
11791
  ]),
11800
11792
  n("div", _d, [
11801
- t[18] || (t[18] = n("div", { class: "icon sts" }, null, -1)),
11793
+ t[17] || (t[17] = n("div", { class: "icon sts" }, null, -1)),
11802
11794
  n("div", zd, b(e.$t("tropical.sts")), 1)
11803
11795
  ]),
11804
11796
  n("div", Ld, [
11805
- t[19] || (t[19] = n("div", { class: "icon ty" }, null, -1)),
11797
+ t[18] || (t[18] = n("div", { class: "icon ty" }, null, -1)),
11806
11798
  n("div", Pd, b(e.$t("tropical.ty")), 1)
11807
11799
  ]),
11808
11800
  n("div", Cd, [
11809
- t[20] || (t[20] = n("div", { class: "icon sty" }, null, -1)),
11801
+ t[19] || (t[19] = n("div", { class: "icon sty" }, null, -1)),
11810
11802
  n("div", Md, b(e.$t("tropical.sty")), 1)
11811
11803
  ]),
11812
11804
  n("div", Sd, [
11813
- t[21] || (t[21] = n("div", { class: "icon supper-ty" }, null, -1)),
11805
+ t[20] || (t[20] = n("div", { class: "icon supper-ty" }, null, -1)),
11814
11806
  n("div", Td, b(e.$t("tropical.superTy")), 1)
11815
11807
  ]),
11816
11808
  n("div", Rd, [
11817
- t[22] || (t[22] = n("div", { class: "icon history" }, null, -1)),
11809
+ t[21] || (t[21] = n("div", { class: "icon history" }, null, -1)),
11818
11810
  n("div", Id, b(e.$t("tropical.history")), 1)
11819
11811
  ]),
11820
11812
  n("div", Dd, [
11821
- t[23] || (t[23] = n("div", { class: "icon forecast" }, null, -1)),
11813
+ t[22] || (t[22] = n("div", { class: "icon forecast" }, null, -1)),
11822
11814
  n("div", Ad, b(e.$t("tropical.forecast")), 1)
11823
11815
  ]),
11824
11816
  n("div", Gd, [
11825
- t[24] || (t[24] = n("div", { class: "icon r7" }, null, -1)),
11817
+ t[23] || (t[23] = n("div", { class: "icon r7" }, null, -1)),
11826
11818
  n("div", Wd, "35kts " + b(e.$t("tropical.radii")), 1)
11827
11819
  ]),
11828
11820
  n("div", Fd, [
11829
- t[25] || (t[25] = n("div", { class: "icon r10" }, null, -1)),
11821
+ t[24] || (t[24] = n("div", { class: "icon r10" }, null, -1)),
11830
11822
  n("div", Nd, "50kts " + b(e.$t("tropical.radii")), 1)
11831
11823
  ])
11832
11824
  ], 2), [
@@ -12168,7 +12160,7 @@ function gh(e, t, o, i, a, r) {
12168
12160
  onClick: (x) => a.currentTime = d
12169
12161
  }, {
12170
12162
  default: C(() => [
12171
- me(b(d), 1)
12163
+ de(b(d), 1)
12172
12164
  ]),
12173
12165
  _: 2
12174
12166
  }, 1032, ["onClick"])
@@ -12195,7 +12187,7 @@ function gh(e, t, o, i, a, r) {
12195
12187
  onClick: r.handleCancelDate
12196
12188
  }, {
12197
12189
  default: C(() => [
12198
- me(b(e.$t("actions.cancel")), 1)
12190
+ de(b(e.$t("actions.cancel")), 1)
12199
12191
  ]),
12200
12192
  _: 1
12201
12193
  }, 8, ["onClick"]),
@@ -12207,7 +12199,7 @@ function gh(e, t, o, i, a, r) {
12207
12199
  onClick: r.handleConfirmDate
12208
12200
  }, {
12209
12201
  default: C(() => [
12210
- me(b(e.$t("actions.confirm")), 1)
12202
+ de(b(e.$t("actions.confirm")), 1)
12211
12203
  ]),
12212
12204
  _: 1
12213
12205
  }, 8, ["onClick"])
@@ -13455,7 +13447,7 @@ function vu(e, t, o, i, a, r) {
13455
13447
  ref: "spotForm",
13456
13448
  autocomplete: "off",
13457
13449
  class: "form-box",
13458
- onSubmit: Se(r.submitForm, ["prevent"])
13450
+ onSubmit: Te(r.submitForm, ["prevent"])
13459
13451
  }, {
13460
13452
  default: C(() => [
13461
13453
  L(d, { class: "text-body-1 py-1" }, {
@@ -13530,7 +13522,7 @@ function vu(e, t, o, i, a, r) {
13530
13522
  onClick: t[2] || (t[2] = (w) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
13531
13523
  }, {
13532
13524
  default: C(() => [
13533
- me(b(a.form.latDirection), 1)
13525
+ de(b(a.form.latDirection), 1)
13534
13526
  ]),
13535
13527
  _: 1
13536
13528
  })
@@ -13607,7 +13599,7 @@ function vu(e, t, o, i, a, r) {
13607
13599
  onClick: t[5] || (t[5] = (w) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
13608
13600
  }, {
13609
13601
  default: C(() => [
13610
- me(b(a.form.lngDirection), 1)
13602
+ de(b(a.form.lngDirection), 1)
13611
13603
  ]),
13612
13604
  _: 1
13613
13605
  })
@@ -13678,7 +13670,7 @@ function vu(e, t, o, i, a, r) {
13678
13670
  "base-color": ""
13679
13671
  }, {
13680
13672
  default: C(() => t[14] || (t[14] = [
13681
- me("NOAA", -1)
13673
+ de("NOAA", -1)
13682
13674
  ])),
13683
13675
  _: 1,
13684
13676
  __: [14]
@@ -13692,7 +13684,7 @@ function vu(e, t, o, i, a, r) {
13692
13684
  value: "ECMWF"
13693
13685
  }, {
13694
13686
  default: C(() => t[15] || (t[15] = [
13695
- me("ECMWF", -1)
13687
+ de("ECMWF", -1)
13696
13688
  ])),
13697
13689
  _: 1,
13698
13690
  __: [15]
@@ -13719,7 +13711,7 @@ function vu(e, t, o, i, a, r) {
13719
13711
  onClick: r.cancelForm
13720
13712
  }, {
13721
13713
  default: C(() => [
13722
- me(b(e.$t("actions.clear")), 1)
13714
+ de(b(e.$t("actions.clear")), 1)
13723
13715
  ]),
13724
13716
  _: 1
13725
13717
  }, 8, ["onClick"]),
@@ -13733,7 +13725,7 @@ function vu(e, t, o, i, a, r) {
13733
13725
  class: "text-none text-body-1"
13734
13726
  }, {
13735
13727
  default: C(() => [
13736
- me(b(e.$t("actions.confirm")), 1)
13728
+ de(b(e.$t("actions.confirm")), 1)
13737
13729
  ]),
13738
13730
  _: 1
13739
13731
  }, 8, ["loading"])
@@ -13764,7 +13756,7 @@ function vu(e, t, o, i, a, r) {
13764
13756
  density: "comfortable",
13765
13757
  icon: "",
13766
13758
  variant: "plain",
13767
- onClick: Se(r.handleCloseMeteo, ["stop"])
13759
+ onClick: Te(r.handleCloseMeteo, ["stop"])
13768
13760
  }, {
13769
13761
  default: C(() => t[17] || (t[17] = [
13770
13762
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
@@ -13828,13 +13820,13 @@ function vu(e, t, o, i, a, r) {
13828
13820
  variant: "text",
13829
13821
  density: "compact",
13830
13822
  height: "32",
13831
- onClick: Se(r.handleCancelFollow, ["stop"])
13823
+ onClick: Te(r.handleCancelFollow, ["stop"])
13832
13824
  }, {
13833
13825
  prepend: C(() => t[19] || (t[19] = [
13834
13826
  n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
13835
13827
  ])),
13836
13828
  default: C(() => [
13837
- me(" " + b(e.$t("actions.unfollow")), 1)
13829
+ de(" " + b(e.$t("actions.unfollow")), 1)
13838
13830
  ]),
13839
13831
  _: 1
13840
13832
  }, 8, ["onClick"])) : (P(), B(l, {
@@ -13844,13 +13836,13 @@ function vu(e, t, o, i, a, r) {
13844
13836
  variant: "text",
13845
13837
  density: "compact",
13846
13838
  height: "32",
13847
- onClick: Se(r.handleFollow, ["stop"])
13839
+ onClick: Te(r.handleFollow, ["stop"])
13848
13840
  }, {
13849
13841
  prepend: C(() => t[20] || (t[20] = [
13850
13842
  n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
13851
13843
  ])),
13852
13844
  default: C(() => [
13853
- me(b(e.$t("actions.follow")) + " ", 1)
13845
+ de(b(e.$t("actions.follow")) + " ", 1)
13854
13846
  ]),
13855
13847
  _: 1
13856
13848
  }, 8, ["onClick"])),
@@ -13860,10 +13852,10 @@ function vu(e, t, o, i, a, r) {
13860
13852
  density: "compact",
13861
13853
  "append-icon": "mdi-chevron-right",
13862
13854
  class: "text-none text-body-1",
13863
- onClick: Se(r.handleMeteoMore, ["stop"])
13855
+ onClick: Te(r.handleMeteoMore, ["stop"])
13864
13856
  }, {
13865
13857
  default: C(() => [
13866
- me(b(e.$t("spot.forecast")), 1)
13858
+ de(b(e.$t("spot.forecast")), 1)
13867
13859
  ]),
13868
13860
  _: 1
13869
13861
  }, 8, ["onClick"])
@@ -13902,7 +13894,7 @@ function vu(e, t, o, i, a, r) {
13902
13894
  height: "32",
13903
13895
  width: "28",
13904
13896
  "min-width": "28",
13905
- onClick: Se(r.handleCancelFollow, ["stop"])
13897
+ onClick: Te(r.handleCancelFollow, ["stop"])
13906
13898
  }, {
13907
13899
  default: C(() => t[22] || (t[22] = [
13908
13900
  n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
@@ -13917,7 +13909,7 @@ function vu(e, t, o, i, a, r) {
13917
13909
  height: "32",
13918
13910
  width: "28",
13919
13911
  "min-width": "28",
13920
- onClick: Se(r.handleFollow, ["stop"])
13912
+ onClick: Te(r.handleFollow, ["stop"])
13921
13913
  }, {
13922
13914
  default: C(() => t[23] || (t[23] = [
13923
13915
  n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
@@ -13930,7 +13922,7 @@ function vu(e, t, o, i, a, r) {
13930
13922
  density: "comfortable",
13931
13923
  icon: "",
13932
13924
  variant: "plain",
13933
- onClick: Se(r.handleCloseMeteo, ["stop"])
13925
+ onClick: Te(r.handleCloseMeteo, ["stop"])
13934
13926
  }, {
13935
13927
  default: C(() => t[24] || (t[24] = [
13936
13928
  n("i", { class: "iconfont icon-close text-h4" }, null, -1)
@@ -17232,13 +17224,13 @@ async function br(e, t) {
17232
17224
  }
17233
17225
  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
17226
  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";
17227
+ 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);
17228
+ 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
17229
  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;
17230
+ Le.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, me.appendChild(Le);
17231
+ let Se = document.createElement("div");
17232
+ 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);
17233
+ let oe = new XMLSerializer().serializeToString(me), Pe = le(ie + K * 2), pe = le(ge + K * 2), ye = J || Q;
17242
17234
  t.meta = { w0: _, h0: M, vbW: Pe, vbH: pe, targetW: O, targetH: V };
17243
17235
  let Be = Bo() && ye ? Pe : le(se + K * 2), He = Bo() && ye ? pe : le(fe + K * 2);
17244
17236
  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 +17276,52 @@ Ce.capture = async (e, t, o) => {
17284
17276
  if (o !== wr)
17285
17277
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17286
17278
  let i = await br(e, t), a = { img: async (f, d) => {
17287
- let { toImg: u } = await import("./toImg-f7d27c39.js");
17279
+ let { toImg: u } = await import("./toImg-9011a382.js");
17288
17280
  return u(i, { ...f, ...d || {} });
17289
17281
  }, svg: async (f, d) => {
17290
- let { toSvg: u } = await import("./toImg-f7d27c39.js");
17282
+ let { toSvg: u } = await import("./toImg-9011a382.js");
17291
17283
  return u(i, { ...f, ...d || {} });
17292
17284
  }, canvas: async (f, d) => {
17293
- let { toCanvas: u } = await import("./toCanvas-7baa5dff.js");
17285
+ let { toCanvas: u } = await import("./toCanvas-54969d48.js");
17294
17286
  return u(i, { ...f, ...d || {} });
17295
17287
  }, blob: async (f, d) => {
17296
- let { toBlob: u } = await import("./toBlob-0844a01a.js");
17288
+ let { toBlob: u } = await import("./toBlob-6a17061c.js");
17297
17289
  return u(i, { ...f, ...d || {} });
17298
17290
  }, png: async (f, d) => {
17299
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17291
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-f4cb9d90.js");
17300
17292
  return u(i, { ...f, ...d || {}, format: "png" });
17301
17293
  }, jpeg: async (f, d) => {
17302
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17294
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-f4cb9d90.js");
17303
17295
  return u(i, { ...f, ...d || {}, format: "jpeg" });
17304
17296
  }, webp: async (f, d) => {
17305
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17297
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-f4cb9d90.js");
17306
17298
  return u(i, { ...f, ...d || {}, format: "webp" });
17307
17299
  }, download: async (f, d) => {
17308
- let { download: u } = await import("./download-ae61fa72.js");
17300
+ let { download: u } = await import("./download-95054bfe.js");
17309
17301
  return u(i, { ...f, ...d || {} });
17310
17302
  } }, r = { ...t, export: { url: i }, exports: { svg: async (f) => {
17311
- let { toSvg: d } = await import("./toImg-f7d27c39.js");
17303
+ let { toSvg: d } = await import("./toImg-9011a382.js");
17312
17304
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17313
17305
  }, canvas: async (f) => {
17314
- let { toCanvas: d } = await import("./toCanvas-7baa5dff.js");
17306
+ let { toCanvas: d } = await import("./toCanvas-54969d48.js");
17315
17307
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17316
17308
  }, png: async (f) => {
17317
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17309
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-f4cb9d90.js");
17318
17310
  return d(i, { ...t, ...f || {}, format: "png", [$e]: !0 });
17319
17311
  }, jpeg: async (f) => {
17320
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17312
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-f4cb9d90.js");
17321
17313
  return d(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17322
17314
  }, jpg: async (f) => {
17323
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17315
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-f4cb9d90.js");
17324
17316
  return d(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17325
17317
  }, webp: async (f) => {
17326
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-d9c7209b.js");
17318
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-f4cb9d90.js");
17327
17319
  return d(i, { ...t, ...f || {}, format: "webp", [$e]: !0 });
17328
17320
  }, blob: async (f) => {
17329
- let { toBlob: d } = await import("./toBlob-0844a01a.js");
17321
+ let { toBlob: d } = await import("./toBlob-6a17061c.js");
17330
17322
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17331
17323
  }, img: async (f) => {
17332
- let { toImg: d } = await import("./toImg-f7d27c39.js");
17324
+ let { toImg: d } = await import("./toImg-9011a382.js");
17333
17325
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17334
17326
  } } }, l = await yp("defineExports", r), c = Object.assign({}, ...l.filter((f) => f && typeof f == "object")), s = { ...a, ...c };
17335
17327
  s.jpeg && !s.jpg && (s.jpg = (f, d) => s.jpeg(f, d));
@@ -18044,9 +18036,9 @@ function n0(e, t, o, i, a, r) {
18044
18036
  a.actionStatus === 3 ? (P(), D("div", {
18045
18037
  key: 0,
18046
18038
  class: "action-buttons px-2 rounded font-weight-bold bg-background d-flex justify-end ga-4",
18047
- onMousedown: t[0] || (t[0] = Se(() => {
18039
+ onMousedown: t[0] || (t[0] = Te(() => {
18048
18040
  }, ["stop"])),
18049
- onMouseup: t[1] || (t[1] = Se(() => {
18041
+ onMouseup: t[1] || (t[1] = Te(() => {
18050
18042
  }, ["stop"]))
18051
18043
  }, [
18052
18044
  L(l, {
@@ -18054,14 +18046,14 @@ function n0(e, t, o, i, a, r) {
18054
18046
  density: "compact",
18055
18047
  variant: "plain",
18056
18048
  class: "text-none text-body-1",
18057
- onClick: Se(r.handleConfirm, ["stop"])
18049
+ onClick: Te(r.handleConfirm, ["stop"])
18058
18050
  }, null, 8, ["onClick"]),
18059
18051
  L(l, {
18060
18052
  icon: "mdi-close",
18061
18053
  density: "compact",
18062
18054
  variant: "plain",
18063
18055
  class: "text-none text-body-1",
18064
- onClick: Se(r.handleCancel, ["stop"])
18056
+ onClick: Te(r.handleCancel, ["stop"])
18065
18057
  }, null, 8, ["onClick"])
18066
18058
  ], 32)) : N("", !0)
18067
18059
  ], 4)) : N("", !0)
@@ -18076,9 +18068,9 @@ function n0(e, t, o, i, a, r) {
18076
18068
  ]),
18077
18069
  n("div", {
18078
18070
  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(() => {
18071
+ onMousedown: t[5] || (t[5] = Te(() => {
18080
18072
  }, ["stop"])),
18081
- onMouseup: t[6] || (t[6] = Se(() => {
18073
+ onMouseup: t[6] || (t[6] = Te(() => {
18082
18074
  }, ["stop"]))
18083
18075
  }, [
18084
18076
  a.actionStatus === 4 ? (P(), D("div", a0, [
@@ -18275,7 +18267,7 @@ function v0(e, t, o, i, a, r) {
18275
18267
  "min-width": "30"
18276
18268
  }, {
18277
18269
  default: C(() => [
18278
- me(b(a.intervalHour) + " h ", 1),
18270
+ de(b(a.intervalHour) + " h ", 1),
18279
18271
  L(g, { activator: "parent" }, {
18280
18272
  default: C(() => [
18281
18273
  L(m, { class: "pa-1" }, {
@@ -18297,7 +18289,7 @@ function v0(e, t, o, i, a, r) {
18297
18289
  onClick: (x) => a.intervalHour = d
18298
18290
  }, {
18299
18291
  default: C(() => [
18300
- me(b(d) + "h", 1)
18292
+ de(b(d) + "h", 1)
18301
18293
  ]),
18302
18294
  _: 2
18303
18295
  }, 1032, ["onClick"])
@@ -18576,7 +18568,7 @@ function v0(e, t, o, i, a, r) {
18576
18568
  onClick: t[9] || (t[9] = (d) => a.source = "GFS")
18577
18569
  }, {
18578
18570
  default: C(() => t[18] || (t[18] = [
18579
- me("NOAA", -1)
18571
+ de("NOAA", -1)
18580
18572
  ])),
18581
18573
  _: 1,
18582
18574
  __: [18]
@@ -18589,7 +18581,7 @@ function v0(e, t, o, i, a, r) {
18589
18581
  onClick: t[10] || (t[10] = (d) => a.source = "ECMWF")
18590
18582
  }, {
18591
18583
  default: C(() => t[19] || (t[19] = [
18592
- me("ECMWF", -1)
18584
+ de("ECMWF", -1)
18593
18585
  ])),
18594
18586
  _: 1,
18595
18587
  __: [19]
@@ -18617,7 +18609,7 @@ function v0(e, t, o, i, a, r) {
18617
18609
  onClick: t[11] || (t[11] = (d) => a.showTimezone = !a.showTimezone)
18618
18610
  }, {
18619
18611
  default: C(() => [
18620
- me(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
18612
+ de(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
18621
18613
  ]),
18622
18614
  _: 1
18623
18615
  }),
@@ -19001,7 +18993,7 @@ class T0 {
19001
18993
  we(this, "hi");
19002
18994
  we(this, "td");
19003
18995
  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;
18996
+ 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
18997
  this.i4 = {
19006
18998
  source: {
19007
18999
  type: "raster",
@@ -20445,7 +20437,7 @@ class T0 {
20445
20437
  },
20446
20438
  source: "composite",
20447
20439
  "source-layer": "china_route-bdtx5d",
20448
- filter: ["match", ["get", "featureType"], ["route"], !0, !1],
20440
+ filter: ["match", ["geometry-type"], ["Polygon"], !0, !1],
20449
20441
  layout: {
20450
20442
  visibility: "none"
20451
20443
  }
@@ -20455,13 +20447,11 @@ class T0 {
20455
20447
  type: "symbol",
20456
20448
  paint: {
20457
20449
  "text-color": "rgba(0, 0, 0, 1)"
20458
- // 'text-halo-width': 1,
20459
- // 'text-color': 'rgba(119, 239, 157, 1)',
20460
20450
  },
20461
20451
  source: "composite",
20462
20452
  "source-layer": "china_route-bdtx5d",
20463
20453
  layout: {
20464
- "text-field": ["to-string", ["get", "RouteName"]],
20454
+ "text-field": ["to-string", ["get", "route_name"]],
20465
20455
  "text-size": 10,
20466
20456
  "text-offset": [0, 1.6],
20467
20457
  visibility: "none"
@@ -20526,23 +20516,11 @@ class T0 {
20526
20516
  "text-color": "rgb(0, 0, 0)"
20527
20517
  },
20528
20518
  layout: {
20529
- "text-field": [
20530
- "to-string",
20531
- [
20532
- "get",
20533
- "name"
20534
- ]
20535
- ],
20519
+ "text-field": ["to-string", ["get", "name"]],
20536
20520
  "text-size": 10,
20537
- "text-font": [
20538
- "DIN Pro Regular",
20539
- "Arial Unicode MS Regular"
20540
- ],
20521
+ "text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"],
20541
20522
  visibility: "none",
20542
- "text-offset": [
20543
- 0,
20544
- 1
20545
- ]
20523
+ "text-offset": [0, 1]
20546
20524
  },
20547
20525
  source: "composite",
20548
20526
  "source-layer": "loadlines-b6mgr8"
@@ -20555,25 +20533,14 @@ class T0 {
20555
20533
  paint: {
20556
20534
  "fill-color": [
20557
20535
  "match",
20558
- [
20559
- "get",
20560
- "val"
20561
- ],
20562
- [
20563
- "LLGreen"
20564
- ],
20536
+ ["get", "val"],
20537
+ ["LLGreen"],
20565
20538
  "rgba(164, 214, 217, 0.6)",
20566
- [
20567
- "LLBlue"
20568
- ],
20539
+ ["LLBlue"],
20569
20540
  "rgba(53, 121, 194, 0.6)",
20570
- [
20571
- "LLRed"
20572
- ],
20541
+ ["LLRed"],
20573
20542
  "rgba(217, 150, 151, 0.6)",
20574
- [
20575
- "LLSUMMER"
20576
- ],
20543
+ ["LLSUMMER"],
20577
20544
  "rgba(111, 110, 212, 0.6)",
20578
20545
  "rgba(255, 255, 255, 0.6)"
20579
20546
  ],
@@ -21976,7 +21943,7 @@ class T0 {
21976
21943
  },
21977
21944
  source: "composite",
21978
21945
  "source-layer": "china_route-bdtx5d",
21979
- filter: ["match", ["get", "featureType"], ["route"], !0, !1],
21946
+ filter: ["match", ["geometry-type"], ["Polygon"], !0, !1],
21980
21947
  layout: {
21981
21948
  visibility: "none"
21982
21949
  }
@@ -21986,13 +21953,11 @@ class T0 {
21986
21953
  type: "symbol",
21987
21954
  paint: {
21988
21955
  "text-color": "rgb(255, 255, 255)"
21989
- // 'text-halo-width': 1,
21990
- // 'text-color': 'rgb(11, 168, 121)',
21991
21956
  },
21992
21957
  source: "composite",
21993
21958
  "source-layer": "china_route-bdtx5d",
21994
21959
  layout: {
21995
- "text-field": ["to-string", ["get", "RouteName"]],
21960
+ "text-field": ["to-string", ["get", "route_name"]],
21996
21961
  "text-size": 10,
21997
21962
  "text-offset": [0, 1.6],
21998
21963
  visibility: "none"
@@ -22057,23 +22022,11 @@ class T0 {
22057
22022
  "text-color": "rgb(255, 255, 255)"
22058
22023
  },
22059
22024
  layout: {
22060
- "text-field": [
22061
- "to-string",
22062
- [
22063
- "get",
22064
- "name"
22065
- ]
22066
- ],
22025
+ "text-field": ["to-string", ["get", "name"]],
22067
22026
  "text-size": 10,
22068
- "text-font": [
22069
- "DIN Pro Regular",
22070
- "Arial Unicode MS Regular"
22071
- ],
22027
+ "text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"],
22072
22028
  visibility: "none",
22073
- "text-offset": [
22074
- 0,
22075
- 1
22076
- ]
22029
+ "text-offset": [0, 1]
22077
22030
  },
22078
22031
  source: "composite",
22079
22032
  "source-layer": "loadlines-b6mgr8"
@@ -22086,25 +22039,14 @@ class T0 {
22086
22039
  paint: {
22087
22040
  "fill-color": [
22088
22041
  "match",
22089
- [
22090
- "get",
22091
- "val"
22092
- ],
22093
- [
22094
- "LLGreen"
22095
- ],
22042
+ ["get", "val"],
22043
+ ["LLGreen"],
22096
22044
  "rgba(164, 214, 217, 0.6)",
22097
- [
22098
- "LLBlue"
22099
- ],
22045
+ ["LLBlue"],
22100
22046
  "rgba(53, 121, 194, 0.6)",
22101
- [
22102
- "LLRed"
22103
- ],
22047
+ ["LLRed"],
22104
22048
  "rgba(217, 150, 151, 0.6)",
22105
- [
22106
- "LLSUMMER"
22107
- ],
22049
+ ["LLSUMMER"],
22108
22050
  "rgba(111, 110, 212, 0.6)",
22109
22051
  "rgba(255, 255, 255, 0.6)"
22110
22052
  ],
@@ -26625,7 +26567,7 @@ class T0 {
26625
26567
  visibility: "none"
26626
26568
  },
26627
26569
  source: "composite",
26628
- filter: ["match", ["get", "featureType"], ["route"], !0, !1],
26570
+ filter: ["match", ["geometry-type"], ["Polygon"], !0, !1],
26629
26571
  "source-layer": "china_route-bdtx5d"
26630
26572
  },
26631
26573
  {
@@ -26635,7 +26577,7 @@ class T0 {
26635
26577
  "text-color": "rgb(255, 255, 255)"
26636
26578
  },
26637
26579
  layout: {
26638
- "text-field": ["to-string", ["get", "RouteName"]],
26580
+ "text-field": ["to-string", ["get", "route_name"]],
26639
26581
  "text-size": 10,
26640
26582
  "text-offset": [0, 1.6],
26641
26583
  visibility: "none"
@@ -26702,23 +26644,11 @@ class T0 {
26702
26644
  "text-color": "rgb(255, 255, 255)"
26703
26645
  },
26704
26646
  layout: {
26705
- "text-field": [
26706
- "to-string",
26707
- [
26708
- "get",
26709
- "name"
26710
- ]
26711
- ],
26647
+ "text-field": ["to-string", ["get", "name"]],
26712
26648
  "text-size": 10,
26713
- "text-font": [
26714
- "DIN Pro Regular",
26715
- "Arial Unicode MS Regular"
26716
- ],
26649
+ "text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"],
26717
26650
  visibility: "none",
26718
- "text-offset": [
26719
- 0,
26720
- 1
26721
- ]
26651
+ "text-offset": [0, 1]
26722
26652
  },
26723
26653
  source: "composite",
26724
26654
  "source-layer": "loadlines-b6mgr8"
@@ -26731,25 +26661,14 @@ class T0 {
26731
26661
  paint: {
26732
26662
  "fill-color": [
26733
26663
  "match",
26734
- [
26735
- "get",
26736
- "val"
26737
- ],
26738
- [
26739
- "LLGreen"
26740
- ],
26664
+ ["get", "val"],
26665
+ ["LLGreen"],
26741
26666
  "rgba(164, 214, 217, 0.6)",
26742
- [
26743
- "LLBlue"
26744
- ],
26667
+ ["LLBlue"],
26745
26668
  "rgba(53, 121, 194, 0.6)",
26746
- [
26747
- "LLRed"
26748
- ],
26669
+ ["LLRed"],
26749
26670
  "rgba(217, 150, 151, 0.6)",
26750
- [
26751
- "LLSUMMER"
26752
- ],
26671
+ ["LLSUMMER"],
26753
26672
  "rgba(111, 110, 212, 0.6)",
26754
26673
  "rgba(255, 255, 255, 0.6)"
26755
26674
  ],
@@ -37265,17 +37184,8 @@ class T0 {
37265
37184
  url: "mapbox://neatchenheng.dlkkohie",
37266
37185
  type: "vector",
37267
37186
  data: {
37268
- bounds: [
37269
- -180.0443283402411,
37270
- -80,
37271
- 180.00284240174312,
37272
- 90
37273
- ],
37274
- center: [
37275
- -0.020742969248985332,
37276
- 5,
37277
- 0
37278
- ],
37187
+ bounds: [-180.0443283402411, -80, 180.00284240174312, 90],
37188
+ center: [-0.020742969248985332, 5, 0],
37279
37189
  created: 1756711198438,
37280
37190
  created_by_client: "studio",
37281
37191
  filesize: 38990,
@@ -37289,9 +37199,7 @@ class T0 {
37289
37199
  private: !0,
37290
37200
  scheme: "xyz",
37291
37201
  tilejson: "3.0.0",
37292
- tiles: [
37293
- "mapbox://tiles/neatchenheng.dlkkohie/{z}/{x}/{y}.vector.pbf"
37294
- ],
37202
+ tiles: ["mapbox://tiles/neatchenheng.dlkkohie/{z}/{x}/{y}.vector.pbf"],
37295
37203
  upload_id: "cmforrscu3fwp1pqw2ibccowm",
37296
37204
  vector_layers: [
37297
37205
  {
@@ -37482,7 +37390,7 @@ class T0 {
37482
37390
  visibility: "none"
37483
37391
  },
37484
37392
  source: "mapbox://neatchenheng.27issko0",
37485
- filter: ["match", ["get", "featureType"], ["route"], !0, !1],
37393
+ filter: ["match", ["geometry-type"], ["Polygon"], !0, !1],
37486
37394
  "source-layer": "china_route-bdtx5d"
37487
37395
  },
37488
37396
  {
@@ -37492,7 +37400,7 @@ class T0 {
37492
37400
  "text-color": "rgb(0, 0, 0)"
37493
37401
  },
37494
37402
  layout: {
37495
- "text-field": ["to-string", ["get", "RouteName"]],
37403
+ "text-field": ["to-string", ["get", "route_name"]],
37496
37404
  "text-size": 10,
37497
37405
  "text-offset": [0, 1.6],
37498
37406
  visibility: "none"
@@ -37559,23 +37467,11 @@ class T0 {
37559
37467
  "text-color": "rgb(0, 0, 0)"
37560
37468
  },
37561
37469
  layout: {
37562
- "text-field": [
37563
- "to-string",
37564
- [
37565
- "get",
37566
- "name"
37567
- ]
37568
- ],
37470
+ "text-field": ["to-string", ["get", "name"]],
37569
37471
  "text-size": 10,
37570
- "text-font": [
37571
- "DIN Pro Regular",
37572
- "Arial Unicode MS Regular"
37573
- ],
37472
+ "text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"],
37574
37473
  visibility: "none",
37575
- "text-offset": [
37576
- 0,
37577
- 1
37578
- ]
37474
+ "text-offset": [0, 1]
37579
37475
  },
37580
37476
  source: "mapbox://neatchenheng.dlkkohie",
37581
37477
  "source-layer": "loadlines-b6mgr8"
@@ -37588,25 +37484,14 @@ class T0 {
37588
37484
  paint: {
37589
37485
  "fill-color": [
37590
37486
  "match",
37591
- [
37592
- "get",
37593
- "val"
37594
- ],
37595
- [
37596
- "LLGreen"
37597
- ],
37487
+ ["get", "val"],
37488
+ ["LLGreen"],
37598
37489
  "rgba(164, 214, 217, 0.6)",
37599
- [
37600
- "LLBlue"
37601
- ],
37490
+ ["LLBlue"],
37602
37491
  "rgba(53, 121, 194, 0.6)",
37603
- [
37604
- "LLRed"
37605
- ],
37492
+ ["LLRed"],
37606
37493
  "rgba(217, 150, 151, 0.6)",
37607
- [
37608
- "LLSUMMER"
37609
- ],
37494
+ ["LLSUMMER"],
37610
37495
  "rgba(111, 110, 212, 0.6)",
37611
37496
  "rgba(255, 255, 255, 0.6)"
37612
37497
  ],
@@ -37666,9 +37551,9 @@ class T0 {
37666
37551
  (se = (ke = this.originStyle) == null ? void 0 : ke.light.layers) == null ? void 0 : se.find((z) => z.id === "admin-0-boundary"),
37667
37552
  (ve = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : ve.find((z) => z.id === "admin-0-boundary-disputed"),
37668
37553
  (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"),
37554
+ (je = (me = this.originStyle) == null ? void 0 : me.light.layers) == null ? void 0 : je.find((z) => z.id === "continent-label"),
37670
37555
  (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"),
37556
+ (oe = (Se = this.originStyle) == null ? void 0 : Se.light.layers) == null ? void 0 : oe.find((z) => z.id === "empty-layer-3"),
37672
37557
  (pe = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : pe.find((z) => z.id === "empty-layer-4")
37673
37558
  ]
37674
37559
  },
@@ -38312,7 +38197,7 @@ function j0(e, t, o, i, a, r) {
38312
38197
  class: "text-h5",
38313
38198
  icon: "mdi-close-circle",
38314
38199
  style: { opacity: "0.4" },
38315
- onClick: Se(r.handleClearDate, ["stop"])
38200
+ onClick: Te(r.handleClearDate, ["stop"])
38316
38201
  }, null, 8, ["onClick"])) : N("", !0)
38317
38202
  ], 4),
38318
38203
  a.showDatePicker ? (P(), B(y, {
@@ -38383,7 +38268,7 @@ function j0(e, t, o, i, a, r) {
38383
38268
  onClick: (x) => r.handleFastPick({ dateRange: u })
38384
38269
  }, {
38385
38270
  default: C(() => [
38386
- me(b(e.$t("time." + u)), 1)
38271
+ de(b(e.$t("time." + u)), 1)
38387
38272
  ]),
38388
38273
  _: 2
38389
38274
  }, 1032, ["color", "variant", "onClick"]))), 256))
@@ -38396,7 +38281,7 @@ function j0(e, t, o, i, a, r) {
38396
38281
  onClick: r.handleCancelDate
38397
38282
  }, {
38398
38283
  default: C(() => [
38399
- me(b(e.$t("actions.cancel")), 1)
38284
+ de(b(e.$t("actions.cancel")), 1)
38400
38285
  ]),
38401
38286
  _: 1
38402
38287
  }, 8, ["onClick"]),
@@ -38408,7 +38293,7 @@ function j0(e, t, o, i, a, r) {
38408
38293
  onClick: r.handleConfirmDate
38409
38294
  }, {
38410
38295
  default: C(() => [
38411
- me(b(e.$t("actions.confirm")), 1)
38296
+ de(b(e.$t("actions.confirm")), 1)
38412
38297
  ]),
38413
38298
  _: 1
38414
38299
  }, 8, ["onClick"])