@idmwx/idmui-gl4 1.4.4 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  var Xa = Object.defineProperty;
2
2
  var $a = (t, e, o) => e in t ? Xa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
3
- var de = (t, e, o) => ($a(t, typeof e != "symbol" ? e + "" : e, o), o);
3
+ var ce = (t, e, o) => ($a(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import Se from "axios";
5
5
  import { useTheme as ze } from "vuetify";
6
6
  import { openBlock as b, createElementBlock as S, resolveComponent as x, createBlock as R, withCtx as u, createVNode as h, withModifiers as Ee, createElementVNode as l, createCommentVNode as M, normalizeClass as He, toDisplayString as m, createTextVNode as j, Fragment as be, renderList as we, withDirectives as We, vShow as Ge, mergeProps as B, normalizeStyle as ie } from "vue";
@@ -1482,10 +1482,10 @@ const ui = {
1482
1482
  { label: "Swell", key: "weather.swell", unit: "m" },
1483
1483
  { label: "Current", key: "weather.current", unit: "kts" }
1484
1484
  ], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
1485
- var c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, H, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe;
1485
+ var c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, F, Z, q, V, ee, $, Q, pe, me, J, ae, de, se, he, ge, H, ne, xe, Le, Pe;
1486
1486
  let r = {};
1487
1487
  const s = ((c = ao.pickHourly(t, D(i))) == null ? void 0 : c[0]) || {};
1488
- r.utc = s.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = s.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((f = s == null ? void 0 : s.weather) == null ? void 0 : f.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((y = (p = s == null ? void 0 : s.weather) == null ? void 0 : p.precip) == null ? void 0 : y.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((k = (w = s == null ? void 0 : s.weather) == null ? void 0 : w.precip) == null ? void 0 : k.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = s == null ? void 0 : s.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (z = s == null ? void 0 : s.weather) == null ? void 0 : z.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = s == null ? void 0 : s.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((_ = (P = s == null ? void 0 : s.weather) == null ? void 0 : P.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (L = s == null ? void 0 : s.weather) == null ? void 0 : L.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (v = s == null ? void 0 : s.wave) == null ? void 0 : v.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (Z = (H = s == null ? void 0 : s.wave) == null ? void 0 : H.sig) == null ? void 0 : Z.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (q = s == null ? void 0 : s.wave) == null ? void 0 : q.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ee = (Q = s == null ? void 0 : s.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.height, 1) ?? "-", r.windwaveDir = (re = (J = s == null ? void 0 : s.wave) == null ? void 0 : J.wd) == null ? void 0 : re.direction, r.windwavePeriod = this.computeRoundPrecision((pe = (he = s == null ? void 0 : s.wave) == null ? void 0 : he.wd) == null ? void 0 : pe.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision(($ = (ne = s == null ? void 0 : s.wave) == null ? void 0 : ne.swell) == null ? void 0 : $.height, 1) ?? "-", r.swellDir = (ue = (ae = s == null ? void 0 : s.wave) == null ? void 0 : ae.swell) == null ? void 0 : ue.direction, r.swellPeriod = this.computeRoundPrecision((F = (ce = s == null ? void 0 : s.wave) == null ? void 0 : ce.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((me = s == null ? void 0 : s.current) == null ? void 0 : me.speed, 1) ?? "-", r.currentDir = (xe = s == null ? void 0 : s.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = s == null ? void 0 : s.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(s == null ? void 0 : s.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(s == null ? void 0 : s.sst, 0) ?? "-", r.weatherUrls = (Pe = s == null ? void 0 : s.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1488
+ r.utc = s.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (n = s.weather) == null ? void 0 : n.url, r.temp = this.computeRoundPrecision((f = s == null ? void 0 : s.weather) == null ? void 0 : f.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((y = (p = s == null ? void 0 : s.weather) == null ? void 0 : p.precip) == null ? void 0 : y.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((k = (w = s == null ? void 0 : s.weather) == null ? void 0 : w.precip) == null ? void 0 : k.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = s == null ? void 0 : s.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((T = (z = s == null ? void 0 : s.weather) == null ? void 0 : z.wind) == null ? void 0 : T.kts, 1) ?? "-", r.windDir = (I = (O = s == null ? void 0 : s.weather) == null ? void 0 : O.wind) == null ? void 0 : I.direction, r.windLevel = this.computeRoundPrecision((_ = (P = s == null ? void 0 : s.weather) == null ? void 0 : P.wind) == null ? void 0 : _.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (L = s == null ? void 0 : s.weather) == null ? void 0 : L.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((A = (v = s == null ? void 0 : s.wave) == null ? void 0 : v.sig) == null ? void 0 : A.height, 1) ?? "-", r.sigwaveDir = (Z = (F = s == null ? void 0 : s.wave) == null ? void 0 : F.sig) == null ? void 0 : Z.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (q = s == null ? void 0 : s.wave) == null ? void 0 : q.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision(($ = (ee = s == null ? void 0 : s.wave) == null ? void 0 : ee.wd) == null ? void 0 : $.height, 1) ?? "-", r.windwaveDir = (pe = (Q = s == null ? void 0 : s.wave) == null ? void 0 : Q.wd) == null ? void 0 : pe.direction, r.windwavePeriod = this.computeRoundPrecision((J = (me = s == null ? void 0 : s.wave) == null ? void 0 : me.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((de = (ae = s == null ? void 0 : s.wave) == null ? void 0 : ae.swell) == null ? void 0 : de.height, 1) ?? "-", r.swellDir = (he = (se = s == null ? void 0 : s.wave) == null ? void 0 : se.swell) == null ? void 0 : he.direction, r.swellPeriod = this.computeRoundPrecision((H = (ge = s == null ? void 0 : s.wave) == null ? void 0 : ge.swell) == null ? void 0 : H.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ne = s == null ? void 0 : s.current) == null ? void 0 : ne.speed, 1) ?? "-", r.currentDir = (xe = s == null ? void 0 : s.current) == null ? void 0 : xe.direction, r.currentSpeed = this.computeRoundPrecision((Le = s == null ? void 0 : s.current) == null ? void 0 : Le.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(s == null ? void 0 : s.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(s == null ? void 0 : s.sst, 0) ?? "-", r.weatherUrls = (Pe = s == null ? void 0 : s.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
1489
1489
  });
1490
1490
  },
1491
1491
  handleTide() {
@@ -5493,8 +5493,8 @@ const es = {
5493
5493
  class: "border rounded-sm"
5494
5494
  }, ds = { class: "text-body-2 text-center pt-1" };
5495
5495
  function hs(t, e, o, i, a, r) {
5496
- var J, re, he, pe, ne, $, ae, ue, ce;
5497
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), f = x("VCardItem"), p = x("VCheckbox"), y = x("VCardText"), w = x("VCard"), k = x("IdmLatLng"), g = x("IdmTerminator"), z = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), P = x("IdmEcaZone"), _ = x("IdmWarZone"), L = x("IdmGmdssArea"), C = x("IdmLoadLine"), v = x("IdmWorldMarine"), A = x("IdmVRA"), H = x("IdmSpecialArea"), Z = x("IdmWorld12nm"), q = x("IdmChinaRoute"), V = x("IdmIceAreas"), Q = x("IdmFollowPort"), ee = x("IdmFollowPosition");
5496
+ var Q, pe, me, J, ae, de, se, he, ge;
5497
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCardTitle"), f = x("VCardItem"), p = x("VCheckbox"), y = x("VCardText"), w = x("VCard"), k = x("IdmLatLng"), g = x("IdmTerminator"), z = x("IdmTimezone"), T = x("IdmPort"), O = x("IdmAlertZone"), I = x("IdmTideStations"), P = x("IdmEcaZone"), _ = x("IdmWarZone"), L = x("IdmGmdssArea"), C = x("IdmLoadLine"), v = x("IdmWorldMarine"), A = x("IdmVRA"), F = x("IdmSpecialArea"), Z = x("IdmWorld12nm"), q = x("IdmChinaRoute"), V = x("IdmIceAreas"), ee = x("IdmFollowPort"), $ = x("IdmFollowPosition");
5498
5498
  return b(), S("div", ts, [
5499
5499
  l("div", {
5500
5500
  class: "menu-bar-box transition px-1 rounded",
@@ -5504,8 +5504,8 @@ function hs(t, e, o, i, a, r) {
5504
5504
  text: t.$t("layer.mapLayers"),
5505
5505
  location: "left"
5506
5506
  }, {
5507
- activator: u(({ props: F }) => [
5508
- h(s, B(F, {
5507
+ activator: u(({ props: H }) => [
5508
+ h(s, B(H, {
5509
5509
  "min-width": "32",
5510
5510
  width: "32",
5511
5511
  height: "32",
@@ -5565,25 +5565,25 @@ function hs(t, e, o, i, a, r) {
5565
5565
  h(y, { class: "pb-2" }, {
5566
5566
  default: u(() => [
5567
5567
  l("div", rs, [
5568
- (b(!0), S(be, null, we(a.mapFeathers, (F) => (b(), S("div", {
5569
- key: F.value,
5568
+ (b(!0), S(be, null, we(a.mapFeathers, (H) => (b(), S("div", {
5569
+ key: H.value,
5570
5570
  class: "mb-2 feather-item",
5571
- onClick: (me) => r.handleToggleMapFeather(F)
5571
+ onClick: (ne) => r.handleToggleMapFeather(H)
5572
5572
  }, [
5573
5573
  l("div", {
5574
- class: He([a.mapFeather === F.value ? "active" : "", "img-box"])
5574
+ class: He([a.mapFeather === H.value ? "active" : "", "img-box"])
5575
5575
  }, [
5576
- F.value === "dark" ? (b(), S("img", ss)) : F.value === "nautical" ? (b(), S("img", ns)) : F.value === "satellite" ? (b(), S("img", cs)) : (b(), S("img", ms))
5576
+ H.value === "dark" ? (b(), S("img", ss)) : H.value === "nautical" ? (b(), S("img", ns)) : H.value === "satellite" ? (b(), S("img", cs)) : (b(), S("img", ms))
5577
5577
  ], 2),
5578
- l("div", ds, m(t.$t(`layer.${F.locale}`)), 1)
5578
+ l("div", ds, m(t.$t(`layer.${H.locale}`)), 1)
5579
5579
  ], 8, ls))), 128))
5580
5580
  ]),
5581
- (b(!0), S(be, null, we(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (b(), R(p, {
5582
- key: F.key,
5581
+ (b(!0), S(be, null, we(a.tagLayers.filter((H) => ["graticule", "day-night", "time-zones"].includes(H.key)), (H) => (b(), R(p, {
5582
+ key: H.key,
5583
5583
  modelValue: a.checkList,
5584
- "onUpdate:modelValue": e[0] || (e[0] = (me) => a.checkList = me),
5585
- value: F.key,
5586
- label: t.$t(`layer.${F.locale}`),
5584
+ "onUpdate:modelValue": e[0] || (e[0] = (ne) => a.checkList = ne),
5585
+ value: H.key,
5586
+ label: t.$t(`layer.${H.locale}`),
5587
5587
  color: "primary",
5588
5588
  density: "compact",
5589
5589
  style: { height: "36px" },
@@ -5617,12 +5617,12 @@ function hs(t, e, o, i, a, r) {
5617
5617
  }),
5618
5618
  h(y, { class: "py-2" }, {
5619
5619
  default: u(() => [
5620
- (b(!0), S(be, null, we(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), R(p, {
5621
- key: F.key,
5620
+ (b(!0), S(be, null, we(a.tagLayers.filter((H) => ["ports", "alert-zones", "tidal-stations"].includes(H.key)), (H) => (b(), R(p, {
5621
+ key: H.key,
5622
5622
  modelValue: a.checkList,
5623
- "onUpdate:modelValue": e[1] || (e[1] = (me) => a.checkList = me),
5624
- value: F.key,
5625
- label: t.$t(`layer.${F.locale}`),
5623
+ "onUpdate:modelValue": e[1] || (e[1] = (ne) => a.checkList = ne),
5624
+ value: H.key,
5625
+ label: t.$t(`layer.${H.locale}`),
5626
5626
  color: "primary",
5627
5627
  density: "compact",
5628
5628
  style: { height: "36px" },
@@ -5656,12 +5656,12 @@ function hs(t, e, o, i, a, r) {
5656
5656
  }),
5657
5657
  h(y, { class: "py-2" }, {
5658
5658
  default: u(() => [
5659
- (b(!0), S(be, null, we(a.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), R(p, {
5660
- key: F.key,
5659
+ (b(!0), S(be, null, we(a.tagLayers.filter((H) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(H.key)), (H) => (b(), R(p, {
5660
+ key: H.key,
5661
5661
  modelValue: a.checkList,
5662
- "onUpdate:modelValue": e[2] || (e[2] = (me) => a.checkList = me),
5663
- value: F.key,
5664
- label: t.$t(`layer.${F.locale}`),
5662
+ "onUpdate:modelValue": e[2] || (e[2] = (ne) => a.checkList = ne),
5663
+ value: H.key,
5664
+ label: t.$t(`layer.${H.locale}`),
5665
5665
  color: "primary",
5666
5666
  density: "compact",
5667
5667
  style: { height: "36px" },
@@ -5697,7 +5697,7 @@ function hs(t, e, o, i, a, r) {
5697
5697
  default: u(() => [
5698
5698
  h(p, {
5699
5699
  modelValue: a.checkList,
5700
- "onUpdate:modelValue": e[3] || (e[3] = (F) => a.checkList = F),
5700
+ "onUpdate:modelValue": e[3] || (e[3] = (H) => a.checkList = H),
5701
5701
  value: "follow-ports",
5702
5702
  label: t.$t("layer.ports"),
5703
5703
  color: "primary",
@@ -5708,7 +5708,7 @@ function hs(t, e, o, i, a, r) {
5708
5708
  }, null, 8, ["modelValue", "label"]),
5709
5709
  h(p, {
5710
5710
  modelValue: a.checkList,
5711
- "onUpdate:modelValue": e[4] || (e[4] = (F) => a.checkList = F),
5711
+ "onUpdate:modelValue": e[4] || (e[4] = (H) => a.checkList = H),
5712
5712
  value: "follow-positions",
5713
5713
  label: t.$t("layer.locations"),
5714
5714
  color: "primary",
@@ -5734,18 +5734,18 @@ function hs(t, e, o, i, a, r) {
5734
5734
  o.map ? (b(), R(g, B({
5735
5735
  key: 1,
5736
5736
  map: o.map,
5737
- area: (J = a.otherLayers) == null ? void 0 : J["day-night"]
5737
+ area: (Q = a.otherLayers) == null ? void 0 : Q["day-night"]
5738
5738
  }, t.$attrs), null, 16, ["map", "area"])) : M("", !0),
5739
5739
  o.map ? (b(), R(z, B({
5740
5740
  key: 2,
5741
5741
  map: o.map,
5742
- zone: (re = a.otherLayers) == null ? void 0 : re["time-zones"]
5742
+ zone: (pe = a.otherLayers) == null ? void 0 : pe["time-zones"]
5743
5743
  }, t.$attrs), null, 16, ["map", "zone"])) : M("", !0),
5744
5744
  o.map ? (b(), R(T, B({
5745
5745
  key: 3,
5746
5746
  ref: "idmPorts",
5747
5747
  map: o.map,
5748
- ports: (he = a.otherLayers) == null ? void 0 : he.ports,
5748
+ ports: (me = a.otherLayers) == null ? void 0 : me.ports,
5749
5749
  gateway: o.gateway,
5750
5750
  token: o.token,
5751
5751
  "forecast-model": o.forecastModel,
@@ -5754,7 +5754,7 @@ function hs(t, e, o, i, a, r) {
5754
5754
  o.map ? (b(), R(O, B({
5755
5755
  key: 4,
5756
5756
  map: o.map,
5757
- zone: (pe = a.otherLayers) == null ? void 0 : pe["alert-zones"]
5757
+ zone: (J = a.otherLayers) == null ? void 0 : J["alert-zones"]
5758
5758
  }, t.$attrs, {
5759
5759
  "before-layer": "empty-layer-3",
5760
5760
  theme: o.theme
@@ -5774,17 +5774,17 @@ function hs(t, e, o, i, a, r) {
5774
5774
  o.map ? (b(), R(P, B({
5775
5775
  key: 6,
5776
5776
  map: o.map,
5777
- zone: (ne = a.otherLayers) == null ? void 0 : ne["eca-zones"]
5777
+ zone: (ae = a.otherLayers) == null ? void 0 : ae["eca-zones"]
5778
5778
  }, t.$attrs), null, 16, ["map", "zone"])) : M("", !0),
5779
5779
  o.map ? (b(), R(_, B({
5780
5780
  key: 7,
5781
5781
  map: o.map,
5782
- zone: ($ = a.otherLayers) == null ? void 0 : $["war-zones"]
5782
+ zone: (de = a.otherLayers) == null ? void 0 : de["war-zones"]
5783
5783
  }, t.$attrs), null, 16, ["map", "zone"])) : M("", !0),
5784
5784
  o.map ? (b(), R(L, B({
5785
5785
  key: 8,
5786
5786
  map: o.map,
5787
- area: (ae = a.otherLayers) == null ? void 0 : ae["gmdss-areas"]
5787
+ area: (se = a.otherLayers) == null ? void 0 : se["gmdss-areas"]
5788
5788
  }, t.$attrs), null, 16, ["map", "area"])) : M("", !0),
5789
5789
  o.map ? (b(), R(C, B({
5790
5790
  key: 9,
@@ -5800,12 +5800,12 @@ function hs(t, e, o, i, a, r) {
5800
5800
  o.map ? (b(), R(A, B({
5801
5801
  key: 11,
5802
5802
  map: o.map,
5803
- area: (ue = a.otherLayers) == null ? void 0 : ue["voluntary-reporting-area"]
5803
+ area: (he = a.otherLayers) == null ? void 0 : he["voluntary-reporting-area"]
5804
5804
  }, t.$attrs), null, 16, ["map", "area"])) : M("", !0),
5805
- o.map ? (b(), R(H, B({
5805
+ o.map ? (b(), R(F, B({
5806
5806
  key: 12,
5807
5807
  map: o.map,
5808
- area: (ce = a.otherLayers) == null ? void 0 : ce["special-area"]
5808
+ area: (ge = a.otherLayers) == null ? void 0 : ge["special-area"]
5809
5809
  }, t.$attrs), null, 16, ["map", "area"])) : M("", !0),
5810
5810
  o.map ? (b(), R(Z, B({
5811
5811
  key: 13,
@@ -5824,7 +5824,7 @@ function hs(t, e, o, i, a, r) {
5824
5824
  map: o.map,
5825
5825
  show: a.checkList.includes("ice-areas")
5826
5826
  }, t.$attrs), null, 16, ["map", "show"])) : M("", !0),
5827
- o.map ? (b(), R(Q, B({
5827
+ o.map ? (b(), R(ee, B({
5828
5828
  key: 16,
5829
5829
  ref: "idmFollowPort",
5830
5830
  map: o.map,
@@ -5834,7 +5834,7 @@ function hs(t, e, o, i, a, r) {
5834
5834
  "forecast-model": o.forecastModel,
5835
5835
  realTime: o.realTime
5836
5836
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "show", "gateway", "token", "forecast-model", "realTime"])) : M("", !0),
5837
- o.map ? (b(), R(ee, B({
5837
+ o.map ? (b(), R($, B({
5838
5838
  key: 17,
5839
5839
  ref: "idmFollowPosition",
5840
5840
  map: o.map,
@@ -5847,15 +5847,15 @@ function hs(t, e, o, i, a, r) {
5847
5847
  const ps = /* @__PURE__ */ K(es, [["render", hs]]);
5848
5848
  class so {
5849
5849
  constructor(e) {
5850
- de(this, "map");
5851
- de(this, "mercator");
5852
- de(this, "rampColorLayer");
5853
- de(this, "rampColorSource");
5854
- de(this, "particleLayer");
5855
- de(this, "particleSource");
5856
- de(this, "rampColorCanvas");
5857
- de(this, "particleCanvas");
5858
- de(this, "ratio");
5850
+ ce(this, "map");
5851
+ ce(this, "mercator");
5852
+ ce(this, "rampColorLayer");
5853
+ ce(this, "rampColorSource");
5854
+ ce(this, "particleLayer");
5855
+ ce(this, "particleSource");
5856
+ ce(this, "rampColorCanvas");
5857
+ ce(this, "particleCanvas");
5858
+ ce(this, "ratio");
5859
5859
  this.map = e, this.mercator = new Qa(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
5860
5860
  }
5861
5861
  /**
@@ -6130,10 +6130,10 @@ class je {
6130
6130
  });
6131
6131
  }
6132
6132
  }
6133
- class se {
6133
+ class le {
6134
6134
  }
6135
6135
  // 顶点渲染
6136
- de(se, "vertexSchema", `
6136
+ ce(le, "vertexSchema", `
6137
6137
  //canvas 坐标系上的坐标 (x, y)
6138
6138
  attribute vec2 a_position; //像素坐标
6139
6139
  attribute vec2 a_texCoord; //纹理坐标
@@ -6148,7 +6148,7 @@ de(se, "vertexSchema", `
6148
6148
  gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
6149
6149
  v_texCoord = a_texCoord;
6150
6150
  }`), // 类如风、流等u v双变量片元渲染
6151
- de(se, "uvFragmentSchema", `
6151
+ ce(le, "uvFragmentSchema", `
6152
6152
  precision mediump float;
6153
6153
  uniform sampler2D u_image;
6154
6154
  uniform vec2 u_range_u_v;
@@ -6168,7 +6168,7 @@ de(se, "uvFragmentSchema", `
6168
6168
 
6169
6169
  gl_FragColor = color;
6170
6170
  }`), // 类如浪、气压等单变量片元渲染
6171
- de(se, "fragmentSchema", `
6171
+ ce(le, "fragmentSchema", `
6172
6172
  precision mediump float;
6173
6173
  uniform sampler2D u_image; // 灰度
6174
6174
  uniform sampler2D u_color; // 色值映射
@@ -6181,7 +6181,7 @@ de(se, "fragmentSchema", `
6181
6181
  }`);
6182
6182
  class ke {
6183
6183
  }
6184
- de(ke, "vertexSchema", `
6184
+ ce(ke, "vertexSchema", `
6185
6185
  precision mediump float;
6186
6186
 
6187
6187
  attribute float a_index; // 索引
@@ -6205,7 +6205,7 @@ de(ke, "vertexSchema", `
6205
6205
  gl_PointSize = 1.0;
6206
6206
  // gl_PointSize = u_point;
6207
6207
  gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
6208
- }`), de(ke, "fragmentSchema", `
6208
+ }`), ce(ke, "fragmentSchema", `
6209
6209
  precision mediump float;
6210
6210
 
6211
6211
  uniform sampler2D u_factor;
@@ -6227,7 +6227,7 @@ de(ke, "vertexSchema", `
6227
6227
 
6228
6228
  float f = 1.0 - uv.b;
6229
6229
  gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
6230
- }`), de(ke, "quadVertSchema", `
6230
+ }`), ce(ke, "quadVertSchema", `
6231
6231
  precision mediump float;
6232
6232
 
6233
6233
  attribute vec2 a_pos;
@@ -6237,7 +6237,7 @@ de(ke, "vertexSchema", `
6237
6237
  void main() {
6238
6238
  v_tex_pos = a_pos;
6239
6239
  gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
6240
- }`), de(ke, "screenFragmentSchema", `
6240
+ }`), ce(ke, "screenFragmentSchema", `
6241
6241
  precision mediump float;
6242
6242
 
6243
6243
  uniform sampler2D u_screen;
@@ -6249,7 +6249,7 @@ de(ke, "vertexSchema", `
6249
6249
  vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
6250
6250
  // a hack to guarantee opacity fade out even with a value close to 1.0
6251
6251
  gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
6252
- }`), de(ke, "updateFragmentSchema", `
6252
+ }`), ce(ke, "updateFragmentSchema", `
6253
6253
  precision mediump float;
6254
6254
 
6255
6255
  uniform sampler2D u_particles;
@@ -6596,7 +6596,7 @@ const bs = {
6596
6596
  [1, "rgb(91, 136, 161)"]
6597
6597
  ];
6598
6598
  this.rampColor = this.webgl.setup(this.context, t);
6599
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.uvFragmentSchema);
6599
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.uvFragmentSchema);
6600
6600
  this.program = e, this.aPositionBuffer = o;
6601
6601
  }
6602
6602
  this.handleParticleSetup();
@@ -6928,7 +6928,7 @@ const Ls = {
6928
6928
  [1, "rgb(195,194,194)"]
6929
6929
  ];
6930
6930
  this.rampColor = this.webgl.setup(this.context, t);
6931
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.uvFragmentSchema);
6931
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.uvFragmentSchema);
6932
6932
  this.program = e, this.aPositionBuffer = o;
6933
6933
  }
6934
6934
  this.handleParticleSetup();
@@ -7100,7 +7100,7 @@ const Ss = {
7100
7100
  //13
7101
7101
  ];
7102
7102
  this.rampColor = this.webgl.setup(this.context, t);
7103
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
7103
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.fragmentSchema);
7104
7104
  this.program = e, this.aPositionBuffer = o;
7105
7105
  }
7106
7106
  },
@@ -7372,7 +7372,7 @@ const Bs = {
7372
7372
  //13
7373
7373
  ];
7374
7374
  this.rampColor = this.webgl.setup(this.context, t);
7375
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
7375
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.fragmentSchema);
7376
7376
  this.program = e, this.aPositionBuffer = o;
7377
7377
  }
7378
7378
  },
@@ -7670,7 +7670,7 @@ const Gs = {
7670
7670
  // 100%
7671
7671
  ];
7672
7672
  this.rampColor = this.webgl.setup(this.context, t);
7673
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
7673
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.fragmentSchema);
7674
7674
  this.program = e, this.aPositionBuffer = o;
7675
7675
  }
7676
7676
  },
@@ -7782,7 +7782,7 @@ const Ys = {
7782
7782
  // 100%
7783
7783
  ];
7784
7784
  this.rampColor = this.webgl.setup(this.context, t);
7785
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
7785
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.fragmentSchema);
7786
7786
  this.program = e, this.aPositionBuffer = o;
7787
7787
  }
7788
7788
  },
@@ -7896,7 +7896,7 @@ const Js = {
7896
7896
  // 4m
7897
7897
  ];
7898
7898
  this.rampColor = this.webgl.setup(this.context, t);
7899
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
7899
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.fragmentSchema);
7900
7900
  this.program = e, this.aPositionBuffer = o;
7901
7901
  }
7902
7902
  },
@@ -8012,7 +8012,7 @@ const on = {
8012
8012
  [1, "rgba(197,5,58,0.8)"]
8013
8013
  ];
8014
8014
  this.rampColor = this.webgl.setup(this.context, t);
8015
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
8015
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.fragmentSchema);
8016
8016
  this.program = e, this.aPositionBuffer = o;
8017
8017
  }
8018
8018
  },
@@ -8119,7 +8119,7 @@ const sn = {
8119
8119
  [1, "rgba(144,144,144,0)"]
8120
8120
  ];
8121
8121
  this.rampColor = this.webgl.setup(this.context, t);
8122
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
8122
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.fragmentSchema);
8123
8123
  this.program = e, this.aPositionBuffer = o;
8124
8124
  }
8125
8125
  },
@@ -8227,7 +8227,7 @@ const dn = {
8227
8227
  //
8228
8228
  ];
8229
8229
  this.rampColor = this.webgl.setup(this.context, t);
8230
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
8230
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.fragmentSchema);
8231
8231
  this.program = e, this.aPositionBuffer = o;
8232
8232
  }
8233
8233
  },
@@ -8346,7 +8346,7 @@ const gn = {
8346
8346
  [1, "rgb(138, 43, 10)"]
8347
8347
  ];
8348
8348
  this.rampColor = this.webgl.setup(this.context, t);
8349
- const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, se.vertexSchema, se.fragmentSchema);
8349
+ const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, le.vertexSchema, le.fragmentSchema);
8350
8350
  this.program = e, this.aPositionBuffer = o;
8351
8351
  }
8352
8352
  },
@@ -8681,8 +8681,8 @@ const wn = {
8681
8681
  );
8682
8682
  const L = await Promise.all(_);
8683
8683
  this.weatherLayers = {}, L.map((C) => {
8684
- var H, Z, q, V;
8685
- const v = ((H = C == null ? void 0 : C.data) == null ? void 0 : H.data) || (C == null ? void 0 : C.data);
8684
+ var F, Z, q, V;
8685
+ const v = ((F = C == null ? void 0 : C.data) == null ? void 0 : F.data) || (C == null ? void 0 : C.data);
8686
8686
  let A = (q = (Z = C == null ? void 0 : C.config) == null ? void 0 : Z.headers) == null ? void 0 : q.key;
8687
8687
  A && v && (this.weatherLayers[A] = {
8688
8688
  raw: v,
@@ -8777,38 +8777,38 @@ const wn = {
8777
8777
  if (L > c && L < n && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8778
8778
  const C = P[L].lng;
8779
8779
  r > s ? C.forEach((v, A) => {
8780
- var H, Z, q, V, Q, ee;
8780
+ var F, Z, q, V, ee, $;
8781
8781
  if (a < 2) {
8782
8782
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8783
- const J = U.point([v, L], {
8784
- val: ((H = P[L].val) == null ? void 0 : H[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8783
+ const Q = U.point([v, L], {
8784
+ val: ((F = P[L].val) == null ? void 0 : F[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8785
8785
  spd: (q = P[L].spd) == null ? void 0 : q[A]
8786
8786
  });
8787
- I.push(J);
8787
+ I.push(Q);
8788
8788
  }
8789
8789
  } else if ((v >= r && v <= 180 || v >= -180 && v <= s) && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8790
- const J = U.point([v, L], {
8791
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8792
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8790
+ const Q = U.point([v, L], {
8791
+ val: ((V = P[L].val) == null ? void 0 : V[A]) || ((ee = P[L].dir) == null ? void 0 : ee[A]),
8792
+ spd: ($ = P[L].spd) == null ? void 0 : $[A]
8793
8793
  });
8794
- I.push(J);
8794
+ I.push(Q);
8795
8795
  }
8796
8796
  }) : C.forEach((v, A) => {
8797
- var H, Z, q, V, Q, ee;
8797
+ var F, Z, q, V, ee, $;
8798
8798
  if (r < 2) {
8799
8799
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8800
- const J = U.point([v, L], {
8801
- val: ((H = P[L].val) == null ? void 0 : H[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8800
+ const Q = U.point([v, L], {
8801
+ val: ((F = P[L].val) == null ? void 0 : F[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8802
8802
  spd: (q = P[L].spd) == null ? void 0 : q[A]
8803
8803
  });
8804
- I.push(J);
8804
+ I.push(Q);
8805
8805
  }
8806
8806
  } else if (v >= r && v <= s && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8807
- const J = U.point([v, L], {
8808
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8809
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8807
+ const Q = U.point([v, L], {
8808
+ val: ((V = P[L].val) == null ? void 0 : V[A]) || ((ee = P[L].dir) == null ? void 0 : ee[A]),
8809
+ spd: ($ = P[L].spd) == null ? void 0 : $[A]
8810
8810
  });
8811
- I.push(J);
8811
+ I.push(Q);
8812
8812
  }
8813
8813
  });
8814
8814
  }
@@ -8841,38 +8841,38 @@ const wn = {
8841
8841
  if (L > c && L < n && (!(a <= this.zoom) || L % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8842
8842
  const C = P[L].lng;
8843
8843
  r > s ? C.forEach((v, A) => {
8844
- var H, Z, q, V, Q, ee;
8844
+ var F, Z, q, V, ee, $;
8845
8845
  if (a < 2) {
8846
8846
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8847
- const J = U.point([v, L], {
8848
- val: ((H = P[L].val) == null ? void 0 : H[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8847
+ const Q = U.point([v, L], {
8848
+ val: ((F = P[L].val) == null ? void 0 : F[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8849
8849
  spd: (q = P[L].spd) == null ? void 0 : q[A]
8850
8850
  });
8851
- I.push(J);
8851
+ I.push(Q);
8852
8852
  }
8853
8853
  } else if ((v >= r && v <= 180 || v >= -180 && v <= s) && (!(a <= this.zoom) || v % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8854
- const J = U.point([v, L], {
8855
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8856
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8854
+ const Q = U.point([v, L], {
8855
+ val: ((V = P[L].val) == null ? void 0 : V[A]) || ((ee = P[L].dir) == null ? void 0 : ee[A]),
8856
+ spd: ($ = P[L].spd) == null ? void 0 : $[A]
8857
8857
  });
8858
- I.push(J);
8858
+ I.push(Q);
8859
8859
  }
8860
8860
  }) : C.forEach((v, A) => {
8861
- var H, Z, q, V, Q, ee;
8861
+ var F, Z, q, V, ee, $;
8862
8862
  if (r < 2) {
8863
8863
  if ((v >= 0 && v <= 360 || v >= -360 && v <= 0) && v % 10 === 0) {
8864
- const J = U.point([v, L], {
8865
- val: ((H = P[L].val) == null ? void 0 : H[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8864
+ const Q = U.point([v, L], {
8865
+ val: ((F = P[L].val) == null ? void 0 : F[A]) || ((Z = P[L].dir) == null ? void 0 : Z[A]),
8866
8866
  spd: (q = P[L].spd) == null ? void 0 : q[A]
8867
8867
  });
8868
- I.push(J);
8868
+ I.push(Q);
8869
8869
  }
8870
8870
  } else if (v >= r && v <= s && (!(a <= this.zoom) || v % (a < this.zoom / 2 ? 5 : 3) === 0)) {
8871
- const J = U.point([v, L], {
8872
- val: ((V = P[L].val) == null ? void 0 : V[A]) || ((Q = P[L].dir) == null ? void 0 : Q[A]),
8873
- spd: (ee = P[L].spd) == null ? void 0 : ee[A]
8871
+ const Q = U.point([v, L], {
8872
+ val: ((V = P[L].val) == null ? void 0 : V[A]) || ((ee = P[L].dir) == null ? void 0 : ee[A]),
8873
+ spd: ($ = P[L].spd) == null ? void 0 : $[A]
8874
8874
  });
8875
- I.push(J);
8875
+ I.push(Q);
8876
8876
  }
8877
8877
  });
8878
8878
  }
@@ -8883,9 +8883,9 @@ const wn = {
8883
8883
  const C = [];
8884
8884
  for (const v in (g = _.raw) == null ? void 0 : g.Polygon) {
8885
8885
  const A = _.raw.Polygon[v];
8886
- for (const H of A)
8886
+ for (const F of A)
8887
8887
  C.push(
8888
- U.polygon(H, {
8888
+ U.polygon(F, {
8889
8889
  val: Number(v)
8890
8890
  })
8891
8891
  );
@@ -8902,11 +8902,11 @@ const wn = {
8902
8902
  if (_ > c && _ < n && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
8903
8903
  const L = P[_].lng;
8904
8904
  r > s ? L.forEach((C, v) => {
8905
- var A, H, Z, q;
8905
+ var A, F, Z, q;
8906
8906
  if (a < 2) {
8907
8907
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8908
8908
  const V = U.point([C, _], {
8909
- dir: ((A = P[_].val) == null ? void 0 : A[v]) || ((H = P[_].dir) == null ? void 0 : H[v]),
8909
+ dir: ((A = P[_].val) == null ? void 0 : A[v]) || ((F = P[_].dir) == null ? void 0 : F[v]),
8910
8910
  spd: P[_].spd[v]
8911
8911
  });
8912
8912
  I.push(V);
@@ -8919,11 +8919,11 @@ const wn = {
8919
8919
  I.push(V);
8920
8920
  }
8921
8921
  }) : L.forEach((C, v) => {
8922
- var A, H, Z, q;
8922
+ var A, F, Z, q;
8923
8923
  if (a < 2) {
8924
8924
  if ((C >= 0 && C <= 360 || C >= -360 && C <= 0) && C % 10 === 0) {
8925
8925
  const V = U.point([C, _], {
8926
- dir: ((A = P[_].val) == null ? void 0 : A[v]) || ((H = P[_].dir) == null ? void 0 : H[v]),
8926
+ dir: ((A = P[_].val) == null ? void 0 : A[v]) || ((F = P[_].dir) == null ? void 0 : F[v]),
8927
8927
  spd: P[_].spd[v]
8928
8928
  });
8929
8929
  I.push(V);
@@ -9050,8 +9050,8 @@ const wn = {
9050
9050
  class: "d-flex justify-start align-center ga-4 pl-6"
9051
9051
  }, On = { class: "text-body-1 py-2" }, Bn = { class: "text-body-1 font-weight-medium" }, Nn = { class: "text-body-2 text-label" }, En = { class: "text-body-2 text-label mb-3" }, jn = { class: "text-body-1 font-weight-medium" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Un = { class: "text-body-1 py-2" }, Wn = { class: "text-body-1 font-weight-medium" }, Gn = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label mb-3" }, Zn = { class: "text-body-1 font-weight-medium" }, qn = { class: "text-body-2 text-label" }, Yn = { class: "text-body-2 text-label mb-3" }, Kn = { class: "text-body-1 py-2" }, Xn = { class: "text-body-1 font-weight-medium" }, $n = { class: "text-body-2 text-label" }, Jn = { class: "text-body-2 text-label mb-3" };
9052
9052
  function Qn(t, e, o, i, a, r) {
9053
- var pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e;
9054
- const s = x("VBtn"), c = x("VTooltip"), n = x("VCol"), f = x("VRow"), p = x("VCardText"), y = x("VDivider"), w = x("VCard"), k = x("VSwitch"), g = x("VCardTitle"), z = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), P = x("IdmWindBarb"), _ = x("IdmSigWaveHeight"), L = x("IdmCurrentDirection"), C = x("IdmPrmsl"), v = x("IdmWindParticle"), A = x("IdmCurrentParticle"), H = x("IdmWave"), Z = x("IdmSwell"), q = x("IdmIceEdge"), V = x("IdmIceCover"), Q = x("IdmIceThickness"), ee = x("IdmPrecip3h"), J = x("IdmVisibility"), re = x("IdmWaterTemp"), he = x("IdmTemp");
9053
+ var J, ae, de, se, he, ge, H, ne, xe, Le, Pe, Ae, De, Re, _e;
9054
+ const s = x("VBtn"), c = x("VTooltip"), n = x("VCol"), f = x("VRow"), p = x("VCardText"), y = x("VDivider"), w = x("VCard"), k = x("VSwitch"), g = x("VCardTitle"), z = x("VCardItem"), T = x("VCheckbox"), O = x("VRadio"), I = x("VBtnToggle"), P = x("IdmWindBarb"), _ = x("IdmSigWaveHeight"), L = x("IdmCurrentDirection"), C = x("IdmPrmsl"), v = x("IdmWindParticle"), A = x("IdmCurrentParticle"), F = x("IdmWave"), Z = x("IdmSwell"), q = x("IdmIceEdge"), V = x("IdmIceCover"), ee = x("IdmIceThickness"), $ = x("IdmPrecip3h"), Q = x("IdmVisibility"), pe = x("IdmWaterTemp"), me = x("IdmTemp");
9055
9055
  return b(), S("div", xn, [
9056
9056
  l("div", {
9057
9057
  class: "menu-bar-box transition pa-1",
@@ -9224,6 +9224,7 @@ function Qn(t, e, o, i, a, r) {
9224
9224
  "onUpdate:modelValue": e[1] || (e[1] = (W) => a.autoActive = W),
9225
9225
  class: "small-switch",
9226
9226
  color: "primary",
9227
+ "base-color": "disabled",
9227
9228
  inset: "",
9228
9229
  "hide-details": ""
9229
9230
  }, null, 8, ["modelValue"])
@@ -9330,6 +9331,7 @@ function Qn(t, e, o, i, a, r) {
9330
9331
  label: "",
9331
9332
  class: "small-switch",
9332
9333
  color: "primary",
9334
+ "base-color": "disabled",
9333
9335
  density: "compact",
9334
9336
  inset: "",
9335
9337
  style: { "font-size": "14px" },
@@ -9344,6 +9346,7 @@ function Qn(t, e, o, i, a, r) {
9344
9346
  label: "",
9345
9347
  class: "small-switch",
9346
9348
  color: "primary",
9349
+ "base-color": "disabled",
9347
9350
  inset: "",
9348
9351
  density: "compact",
9349
9352
  height: "20",
@@ -9464,10 +9467,10 @@ function Qn(t, e, o, i, a, r) {
9464
9467
  }),
9465
9468
  h(p, { class: "" }, {
9466
9469
  default: u(() => {
9467
- var W, te, Fe, Ie, ge, fe, G, Ce, oe, le, Oe, E, ye, Me, Be, Ne, N, Y, Ve, Ze, qe, Te, Ye, Ke, Xe, $e, Je, Qe, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, It, Mt, At, Dt, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Jt, Qt, eo;
9470
+ var W, te, Fe, Ie, ue, fe, G, Ce, oe, re, Oe, E, ye, Me, Be, Ne, N, Y, Ve, Ze, qe, Te, Ye, Ke, Xe, $e, Je, Qe, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, It, Mt, At, Dt, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Jt, Qt, eo;
9468
9471
  return [
9469
9472
  l("div", On, m(t.$t("weather.atmospheric")), 1),
9470
- l("div", Bn, m((Fe = (te = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : te.NOAA) == null ? void 0 : Fe.source) + " " + m((fe = (ge = (Ie = a.models) == null ? void 0 : Ie.weather) == null ? void 0 : ge.NOAA) == null ? void 0 : fe.spatialResolution) + m(t.$t("units.km")) + " " + m((le = (oe = (Ce = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : Ce.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : le.days) + m(t.$t("units.days")), 1),
9473
+ l("div", Bn, m((Fe = (te = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : te.NOAA) == null ? void 0 : Fe.source) + " " + m((fe = (ue = (Ie = a.models) == null ? void 0 : Ie.weather) == null ? void 0 : ue.NOAA) == null ? void 0 : fe.spatialResolution) + m(t.$t("units.km")) + " " + m((re = (oe = (Ce = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : Ce.NOAA) == null ? void 0 : oe.meta) == null ? void 0 : re.days) + m(t.$t("units.days")), 1),
9471
9474
  l("div", Nn, m(t.$t("weather.source")) + ": NOAA", 1),
9472
9475
  l("div", En, m(t.$t("weather.lastUpdate")) + ": " + m(r.computeDateZ((Me = (ye = (E = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : E.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Me.initialisationTime)), 1),
9473
9476
  l("div", jn, m((N = (Ne = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : Ne.ECMWF) == null ? void 0 : N.source) + " " + m((Ze = (Ve = (Y = a.models) == null ? void 0 : Y.weather) == null ? void 0 : Ve.ECMWF) == null ? void 0 : Ze.spatialResolution) + m(t.$t("units.km")) + " " + m((Ke = (Ye = (Te = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Te.ECMWF) == null ? void 0 : Ye.meta) == null ? void 0 : Ke.days) + m(t.$t("units.days")), 1),
@@ -9501,14 +9504,14 @@ function Qn(t, e, o, i, a, r) {
9501
9504
  map: o.map,
9502
9505
  "map-feather": o.mapFeather,
9503
9506
  "before-layer": "empty-layer-3",
9504
- wind: (pe = a.weatherLayers) == null ? void 0 : pe.wind,
9507
+ wind: (J = a.weatherLayers) == null ? void 0 : J.wind,
9505
9508
  "menu-toggle": o.menuToggle
9506
9509
  }, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : M("", !0),
9507
9510
  o.map ? (b(), R(_, B({
9508
9511
  key: 2,
9509
9512
  map: o.map,
9510
9513
  "before-layer": "empty-layer-2",
9511
- "sig-wave-height": (ne = a.weatherLayers) == null ? void 0 : ne["sig-wave-height"],
9514
+ "sig-wave-height": (ae = a.weatherLayers) == null ? void 0 : ae["sig-wave-height"],
9512
9515
  "menu-toggle": o.menuToggle,
9513
9516
  "active-weather-layers": a.activeWeatherLayers
9514
9517
  }, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : M("", !0),
@@ -9517,40 +9520,40 @@ function Qn(t, e, o, i, a, r) {
9517
9520
  map: o.map,
9518
9521
  "map-feather": o.mapFeather,
9519
9522
  "before-layer": "empty-layer-2",
9520
- current: ($ = a.weatherLayers) == null ? void 0 : $.current,
9523
+ current: (de = a.weatherLayers) == null ? void 0 : de.current,
9521
9524
  "menu-toggle": o.menuToggle
9522
9525
  }, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : M("", !0),
9523
9526
  o.map ? (b(), R(C, B({
9524
9527
  key: 4,
9525
9528
  map: o.map,
9526
9529
  "before-layer": "empty-layer-2",
9527
- prmsl: (ae = a.weatherLayers) == null ? void 0 : ae.prmsl,
9530
+ prmsl: (se = a.weatherLayers) == null ? void 0 : se.prmsl,
9528
9531
  "menu-toggle": o.menuToggle,
9529
9532
  "active-weather-layers": a.activeWeatherLayers
9530
9533
  }, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : M("", !0),
9531
9534
  o.map ? (b(), R(v, B({
9532
9535
  key: 5,
9533
9536
  viewport: a.viewport,
9534
- factor: (ue = a.weatherLayers) == null ? void 0 : ue["wind-particle"],
9537
+ factor: (he = a.weatherLayers) == null ? void 0 : he["wind-particle"],
9535
9538
  "menu-toggle": o.menuToggle
9536
9539
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : M("", !0),
9537
9540
  o.map ? (b(), R(A, B({
9538
9541
  key: 6,
9539
9542
  viewport: a.viewport,
9540
- factor: (ce = a.weatherLayers) == null ? void 0 : ce["current-particle"],
9543
+ factor: (ge = a.weatherLayers) == null ? void 0 : ge["current-particle"],
9541
9544
  "menu-toggle": o.menuToggle
9542
9545
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : M("", !0),
9543
- o.map ? (b(), R(H, B({
9546
+ o.map ? (b(), R(F, B({
9544
9547
  key: 7,
9545
9548
  viewport: a.viewport,
9546
- factor: (F = a.weatherLayers) == null ? void 0 : F["sig-wave"],
9549
+ factor: (H = a.weatherLayers) == null ? void 0 : H["sig-wave"],
9547
9550
  "menu-toggle": o.menuToggle
9548
9551
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : M("", !0),
9549
9552
  o.map ? (b(), R(Z, B({
9550
9553
  key: 8,
9551
9554
  map: o.map,
9552
9555
  viewport: a.viewport,
9553
- factor: (me = a.weatherLayers) == null ? void 0 : me.swell,
9556
+ factor: (ne = a.weatherLayers) == null ? void 0 : ne.swell,
9554
9557
  "menu-toggle": o.menuToggle,
9555
9558
  "active-weather-layers": a.activeWeatherLayers
9556
9559
  }, t.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers"])) : M("", !0),
@@ -9566,31 +9569,31 @@ function Qn(t, e, o, i, a, r) {
9566
9569
  factor: (Le = a.weatherLayers) == null ? void 0 : Le["ice-cover"],
9567
9570
  "menu-toggle": o.menuToggle
9568
9571
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : M("", !0),
9569
- o.map ? (b(), R(Q, B({
9572
+ o.map ? (b(), R(ee, B({
9570
9573
  key: 11,
9571
9574
  viewport: a.viewport,
9572
9575
  factor: (Pe = a.weatherLayers) == null ? void 0 : Pe["ice-thickness"],
9573
9576
  "menu-toggle": o.menuToggle
9574
9577
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : M("", !0),
9575
- o.map ? (b(), R(ee, B({
9578
+ o.map ? (b(), R($, B({
9576
9579
  key: 12,
9577
9580
  viewport: a.viewport,
9578
9581
  factor: (Ae = a.weatherLayers) == null ? void 0 : Ae.precip3h,
9579
9582
  "menu-toggle": o.menuToggle
9580
9583
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : M("", !0),
9581
- o.map ? (b(), R(J, B({
9584
+ o.map ? (b(), R(Q, B({
9582
9585
  key: 13,
9583
9586
  viewport: a.viewport,
9584
9587
  factor: (De = a.weatherLayers) == null ? void 0 : De.visibility,
9585
9588
  "menu-toggle": o.menuToggle
9586
9589
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : M("", !0),
9587
- o.map ? (b(), R(re, B({
9590
+ o.map ? (b(), R(pe, B({
9588
9591
  key: 14,
9589
9592
  viewport: a.viewport,
9590
9593
  factor: (Re = a.weatherLayers) == null ? void 0 : Re["water-temp"],
9591
9594
  "menu-toggle": o.menuToggle
9592
9595
  }, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : M("", !0),
9593
- o.map ? (b(), R(he, B({
9596
+ o.map ? (b(), R(me, B({
9594
9597
  key: 15,
9595
9598
  viewport: a.viewport,
9596
9599
  factor: (_e = a.weatherLayers) == null ? void 0 : _e.temp,
@@ -9945,10 +9948,10 @@ class Za {
9945
9948
  }), a;
9946
9949
  }
9947
9950
  static pickHourly(e, o) {
9948
- var i, a, r, s, c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, H, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, W, te, Fe, Ie;
9949
- const ge = typeof o == "string" ? D(o) : o, fe = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, Ce = D((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.clone().add((c = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), le = Ce.clone().add((p = (f = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : f.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
9950
- if (ge.isBetween(oe, le, "millisecond", "[]")) {
9951
- const E = ge.utc().diff(oe, "h", !1);
9951
+ var i, a, r, s, c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, F, Z, q, V, ee, $, Q, pe, me, J, ae, de, se, he, ge, H, ne, xe, Le, Pe, Ae, De, Re, _e, W, te, Fe, Ie;
9952
+ const ue = typeof o == "string" ? D(o) : o, fe = e == null ? void 0 : e.weather, G = e == null ? void 0 : e.marine, Ce = D((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Ce.clone().add((c = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), re = Ce.clone().add((p = (f = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : f.time) == null ? void 0 : p.at(-1), "h"), Oe = [];
9953
+ if (ue.isBetween(oe, re, "millisecond", "[]")) {
9954
+ const E = ue.utc().diff(oe, "h", !1);
9952
9955
  let ye, Me;
9953
9956
  if (fe) {
9954
9957
  let Be = 0, Ne = 0;
@@ -9976,11 +9979,11 @@ class Za {
9976
9979
  wind: {
9977
9980
  speed: (v = Y == null ? void 0 : Y.wind_speed_10m) == null ? void 0 : v.at(E),
9978
9981
  kts: (A = Y == null ? void 0 : Y.wind_speed_10m) == null ? void 0 : A.at(E),
9979
- degree: (H = Y == null ? void 0 : Y.wind_direction_10m) == null ? void 0 : H.at(E),
9982
+ degree: (F = Y == null ? void 0 : Y.wind_direction_10m) == null ? void 0 : F.at(E),
9980
9983
  bearing: ((Z = Y == null ? void 0 : Y.wind_direction_10m) == null ? void 0 : Z.at(E)) !== null ? (((q = Y == null ? void 0 : Y.wind_direction_10m) == null ? void 0 : q.at(E)) + 180) % 360 : null,
9981
9984
  gusts: (V = Y == null ? void 0 : Y.wind_gusts_10m) == null ? void 0 : V.at(E)
9982
9985
  },
9983
- isDay: (Q = Y == null ? void 0 : Y.is_day) == null ? void 0 : Q.at(E)
9986
+ isDay: (ee = Y == null ? void 0 : Y.is_day) == null ? void 0 : ee.at(E)
9984
9987
  };
9985
9988
  const { name: Ve, url: Ze, bg: qe } = this.parseWeatherCode(ye.code, ye.isDay);
9986
9989
  ye.name = Ve, ye.url = Ze, ye.bg = qe, ye.wind.scale = this.beaufort(this.kts2ms(ye.wind.kts)), ye.wind.direction = this.degree2Direction(ye.wind.degree), Oe.push({
@@ -9997,20 +10000,20 @@ class Za {
9997
10000
  Me = {
9998
10001
  wave: {
9999
10002
  sig: {
10000
- height: (ee = N == null ? void 0 : N.wave_height) == null ? void 0 : ee.at(E),
10001
- degree: (J = N == null ? void 0 : N.wave_direction) == null ? void 0 : J.at(E),
10002
- bearing: ((re = N == null ? void 0 : N.wave_direction) == null ? void 0 : re.at(E)) !== null ? (((he = N == null ? void 0 : N.wave_direction) == null ? void 0 : he.at(E)) + 180) % 360 : null,
10003
- period: (pe = N == null ? void 0 : N.wave_period) == null ? void 0 : pe.at(E)
10003
+ height: ($ = N == null ? void 0 : N.wave_height) == null ? void 0 : $.at(E),
10004
+ degree: (Q = N == null ? void 0 : N.wave_direction) == null ? void 0 : Q.at(E),
10005
+ bearing: ((pe = N == null ? void 0 : N.wave_direction) == null ? void 0 : pe.at(E)) !== null ? (((me = N == null ? void 0 : N.wave_direction) == null ? void 0 : me.at(E)) + 180) % 360 : null,
10006
+ period: (J = N == null ? void 0 : N.wave_period) == null ? void 0 : J.at(E)
10004
10007
  },
10005
10008
  swell: {
10006
- height: (ne = N == null ? void 0 : N.swell_wave_height) == null ? void 0 : ne.at(E),
10007
- degree: ($ = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : $.at(E),
10008
- bearing: ((ae = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : ae.at(E)) !== null ? (((ue = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : ue.at(E)) + 180) % 360 : null,
10009
- period: (ce = N == null ? void 0 : N.swell_wave_period) == null ? void 0 : ce.at(E),
10010
- peakPeriod: (F = N == null ? void 0 : N.swell_wave_peak_period) == null ? void 0 : F.at(E)
10009
+ height: (ae = N == null ? void 0 : N.swell_wave_height) == null ? void 0 : ae.at(E),
10010
+ degree: (de = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : de.at(E),
10011
+ bearing: ((se = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : se.at(E)) !== null ? (((he = N == null ? void 0 : N.swell_wave_direction) == null ? void 0 : he.at(E)) + 180) % 360 : null,
10012
+ period: (ge = N == null ? void 0 : N.swell_wave_period) == null ? void 0 : ge.at(E),
10013
+ peakPeriod: (H = N == null ? void 0 : N.swell_wave_peak_period) == null ? void 0 : H.at(E)
10011
10014
  },
10012
10015
  wd: {
10013
- height: (me = N == null ? void 0 : N.wind_wave_height) == null ? void 0 : me.at(E),
10016
+ height: (ne = N == null ? void 0 : N.wind_wave_height) == null ? void 0 : ne.at(E),
10014
10017
  degree: (xe = N == null ? void 0 : N.wind_wave_direction) == null ? void 0 : xe.at(E),
10015
10018
  bearing: ((Le = N == null ? void 0 : N.wind_wave_direction) == null ? void 0 : Le.at(E)) !== null ? (((Pe = N == null ? void 0 : N.wind_wave_direction) == null ? void 0 : Pe.at(E)) + 180) % 360 : null,
10016
10019
  period: (Ae = N == null ? void 0 : N.wind_wave_period) == null ? void 0 : Ae.at(E),
@@ -10054,15 +10057,15 @@ class Za {
10054
10057
  };
10055
10058
  }
10056
10059
  static pickDaily(e, o) {
10057
- var i, a, r, s, c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, H, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De;
10060
+ var i, a, r, s, c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, F, Z, q, V, ee, $, Q, pe, me, J, ae, de, se, he, ge, H, ne, xe, Le, Pe, Ae, De;
10058
10061
  const Re = typeof o == "string" ? D(o) : o, _e = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, te = D((r = (a = (i = _e == null ? void 0 : _e[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), Fe = D((n = (c = (s = _e == null ? void 0 : _e[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Ie = [];
10059
10062
  if (Re.isBetween(te, Fe, "millisecond", "[]")) {
10060
- let ge, fe;
10063
+ let ue, fe;
10061
10064
  const G = Re.diff(te, "d", !1);
10062
10065
  if (_e)
10063
10066
  for (const Ce of _e) {
10064
10067
  const oe = Ce.daily;
10065
- ge = {
10068
+ ue = {
10066
10069
  code: (f = oe.weather_code) == null ? void 0 : f.at(G),
10067
10070
  temp: {
10068
10071
  max: (p = oe.temperature_2m_max) == null ? void 0 : p.at(G),
@@ -10088,48 +10091,48 @@ class Za {
10088
10091
  },
10089
10092
  wind: {
10090
10093
  speed: (A = oe.wind_speed_10m_max) == null ? void 0 : A.at(G),
10091
- kts: (H = oe.wind_speed_10m_max) == null ? void 0 : H.at(G),
10094
+ kts: (F = oe.wind_speed_10m_max) == null ? void 0 : F.at(G),
10092
10095
  degree: (Z = oe.wind_direction_10m_dominant) == null ? void 0 : Z.at(G),
10093
10096
  gusts: (q = oe.wind_gusts_10m_max) == null ? void 0 : q.at(G),
10094
- bearing: ((V = oe.wind_direction_10m_dominant) == null ? void 0 : V.at(G)) !== null ? (((Q = oe.wind_direction_10m_dominant) == null ? void 0 : Q.at(G)) + 180) % 360 : null
10097
+ bearing: ((V = oe.wind_direction_10m_dominant) == null ? void 0 : V.at(G)) !== null ? (((ee = oe.wind_direction_10m_dominant) == null ? void 0 : ee.at(G)) + 180) % 360 : null
10095
10098
  }
10096
10099
  };
10097
- const { name: le, url: Oe, bg: E } = this.parseWeatherCode(ge.code, !0);
10098
- ge.name = le, ge.url = Oe, ge.bg = E, ge.wind.scale = this.beaufort(this.kts2ms(ge.wind.kts)), ge.wind.direction = this.degree2Direction(ge.wind.degree), Ie.push({
10100
+ const { name: re, url: Oe, bg: E } = this.parseWeatherCode(ue.code, !0);
10101
+ ue.name = re, ue.url = Oe, ue.bg = E, ue.wind.scale = this.beaufort(this.kts2ms(ue.wind.kts)), ue.wind.direction = this.degree2Direction(ue.wind.degree), Ie.push({
10099
10102
  utc: te.add(G, "d").utc().format(),
10100
10103
  model: Ce.model,
10101
- weather: { ...ge }
10104
+ weather: { ...ue }
10102
10105
  });
10103
10106
  }
10104
10107
  if (W) {
10105
10108
  let Ce = 0;
10106
10109
  for (const oe of W) {
10107
- const le = oe.daily;
10110
+ const re = oe.daily;
10108
10111
  fe = {
10109
10112
  wave: {
10110
10113
  sig: {
10111
- height: (ee = le.wave_height_max) == null ? void 0 : ee.at(G),
10112
- degree: (J = le.wave_direction_dominant) == null ? void 0 : J.at(G),
10113
- period: (re = le.wave_period_max) == null ? void 0 : re.at(G),
10114
- bearing: ((he = le.wave_direction_dominant) == null ? void 0 : he.at(G)) !== null ? (((pe = le.wave_direction_dominant) == null ? void 0 : pe.at(G)) + 180) % 360 : null
10114
+ height: ($ = re.wave_height_max) == null ? void 0 : $.at(G),
10115
+ degree: (Q = re.wave_direction_dominant) == null ? void 0 : Q.at(G),
10116
+ period: (pe = re.wave_period_max) == null ? void 0 : pe.at(G),
10117
+ bearing: ((me = re.wave_direction_dominant) == null ? void 0 : me.at(G)) !== null ? (((J = re.wave_direction_dominant) == null ? void 0 : J.at(G)) + 180) % 360 : null
10115
10118
  },
10116
10119
  swell: {
10117
- height: (ne = le.swell_wave_height_max) == null ? void 0 : ne.at(G),
10118
- degree: ($ = le.swell_wave_direction_dominant) == null ? void 0 : $.at(G),
10119
- period: (ae = le.swell_wave_period_max) == null ? void 0 : ae.at(G),
10120
- peakPeriod: (ue = le.swell_wave_peak_period_max) == null ? void 0 : ue.at(G),
10120
+ height: (ae = re.swell_wave_height_max) == null ? void 0 : ae.at(G),
10121
+ degree: (de = re.swell_wave_direction_dominant) == null ? void 0 : de.at(G),
10122
+ period: (se = re.swell_wave_period_max) == null ? void 0 : se.at(G),
10123
+ peakPeriod: (he = re.swell_wave_peak_period_max) == null ? void 0 : he.at(G),
10121
10124
  // bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
10122
- bearing: ((ce = le.swell_wave_direction_dominant) == null ? void 0 : ce.at(G)) !== null ? ((F = le.swell_wave_direction_dominant) == null ? void 0 : F.at(G)) % 360 : null
10125
+ bearing: ((ge = re.swell_wave_direction_dominant) == null ? void 0 : ge.at(G)) !== null ? ((H = re.swell_wave_direction_dominant) == null ? void 0 : H.at(G)) % 360 : null
10123
10126
  },
10124
10127
  wd: {
10125
- height: (me = le.wind_wave_height_max) == null ? void 0 : me.at(G),
10126
- degree: (xe = le.wind_wave_direction_dominant) == null ? void 0 : xe.at(G),
10127
- period: (Le = le.wind_wave_period_max) == null ? void 0 : Le.at(G),
10128
- peakPeriod: (Pe = le.wind_wave_peak_period_max) == null ? void 0 : Pe.at(G),
10129
- bearing: ((Ae = le.wind_wave_direction_dominant) == null ? void 0 : Ae.at(G)) !== null ? (((De = le.wind_wave_direction_dominant) == null ? void 0 : De.at(G)) + 180) % 360 : null
10128
+ height: (ne = re.wind_wave_height_max) == null ? void 0 : ne.at(G),
10129
+ degree: (xe = re.wind_wave_direction_dominant) == null ? void 0 : xe.at(G),
10130
+ period: (Le = re.wind_wave_period_max) == null ? void 0 : Le.at(G),
10131
+ peakPeriod: (Pe = re.wind_wave_peak_period_max) == null ? void 0 : Pe.at(G),
10132
+ bearing: ((Ae = re.wind_wave_direction_dominant) == null ? void 0 : Ae.at(G)) !== null ? (((De = re.wind_wave_direction_dominant) == null ? void 0 : De.at(G)) + 180) % 360 : null
10130
10133
  }
10131
10134
  }
10132
- }, fe.wave = this.parseWave(fe.wave, ge == null ? void 0 : ge.wind), Object.assign(Ie[Ce], fe), Ce++;
10135
+ }, fe.wave = this.parseWave(fe.wave, ue == null ? void 0 : ue.wind), Object.assign(Ie[Ce], fe), Ce++;
10133
10136
  }
10134
10137
  }
10135
10138
  }
@@ -10576,6 +10579,9 @@ const tc = {
10576
10579
  },
10577
10580
  realTime: {
10578
10581
  type: String
10582
+ },
10583
+ beforeLayer: {
10584
+ type: String
10579
10585
  }
10580
10586
  },
10581
10587
  emits: ["tropical", "tropicalProbability", "tropicalNotification"],
@@ -10607,9 +10613,6 @@ const tc = {
10607
10613
  activeTropicals: void 0,
10608
10614
  activeTropicalsMarker: void 0,
10609
10615
  empty: U.featureCollection([]),
10610
- circleSource: "circle-source",
10611
- circleSourceData: U.featureCollection([]),
10612
- circleLayer: "tropical-circle-layer",
10613
10616
  showLegend: !1,
10614
10617
  showHoverPoint: !1,
10615
10618
  hoverPoint: void 0,
@@ -10708,6 +10711,11 @@ const tc = {
10708
10711
  handler(t) {
10709
10712
  this.map && t && this.toggle && this.handleRender();
10710
10713
  }
10714
+ },
10715
+ locale: {
10716
+ handler(t) {
10717
+ this.map && this.toggle && this.handleRefresh();
10718
+ }
10711
10719
  }
10712
10720
  },
10713
10721
  mounted() {
@@ -10813,7 +10821,7 @@ const tc = {
10813
10821
  "line-width": 3,
10814
10822
  "line-opacity": 0.7
10815
10823
  }
10816
- }), this.map.addLayer({
10824
+ }, this.beforeLayer), this.map.addLayer({
10817
10825
  id: this.forecastLayer,
10818
10826
  type: "line",
10819
10827
  source: this.source,
@@ -10844,7 +10852,7 @@ const tc = {
10844
10852
  "line-opacity": 0.9,
10845
10853
  "line-dasharray": [1, 2]
10846
10854
  }
10847
- }), this.map.addLayer({
10855
+ }, this.beforeLayer), this.map.addLayer({
10848
10856
  id: this.forecastModelLayer,
10849
10857
  type: "symbol",
10850
10858
  source: this.source,
@@ -10893,7 +10901,7 @@ const tc = {
10893
10901
  ],
10894
10902
  "text-halo-width": 4
10895
10903
  }
10896
- }), w = (/* @__PURE__ */ new Date()).valueOf() - (p + y), console.log("[tropical] add elapsed: ", w, ", total: ", y += w)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((c = this.map) == null || c.getSource(this.clusterSource).setData((s = this.tropicals) != null && s.active ? this.tropicals.data : this.empty), w = (/* @__PURE__ */ new Date()).valueOf() - (p + y), console.log("[tropical] update elapsed: ", w, ", total: ", y += w)) : (this.map.addSource(this.clusterSource, {
10904
+ }, this.beforeLayer), w = (/* @__PURE__ */ new Date()).valueOf() - (p + y), console.log("[tropical] add elapsed: ", w, ", total: ", y += w)), (r = this.map) != null && r.getSource(this.clusterSource) ? ((c = this.map) == null || c.getSource(this.clusterSource).setData((s = this.tropicals) != null && s.active ? this.tropicals.data : this.empty), w = (/* @__PURE__ */ new Date()).valueOf() - (p + y), console.log("[tropical] update elapsed: ", w, ", total: ", y += w)) : (this.map.addSource(this.clusterSource, {
10897
10905
  type: "geojson",
10898
10906
  data: (n = this.tropicals) != null && n.active ? (f = this.tropicals) == null ? void 0 : f.data : this.empty
10899
10907
  // cluster: true,
@@ -10907,7 +10915,7 @@ const tc = {
10907
10915
  "circle-radius": 5,
10908
10916
  "circle-color": "#fff"
10909
10917
  }
10910
- }), this.map.addLayer({
10918
+ }, this.beforeLayer), this.map.addLayer({
10911
10919
  id: this.pointCircleLayer,
10912
10920
  type: "circle",
10913
10921
  source: this.clusterSource,
@@ -10933,7 +10941,7 @@ const tc = {
10933
10941
  "#fff"
10934
10942
  ]
10935
10943
  }
10936
- }), this.map.addLayer({
10944
+ }, this.beforeLayer), this.map.addLayer({
10937
10945
  id: this.pointLabelLayer,
10938
10946
  type: "symbol",
10939
10947
  source: this.clusterSource,
@@ -10948,7 +10956,7 @@ const tc = {
10948
10956
  paint: {
10949
10957
  "text-color": this.Theme.current.value.colors["on-surface"]
10950
10958
  }
10951
- }), this.map.addLayer({
10959
+ }, this.beforeLayer), this.map.addLayer({
10952
10960
  id: this.historyPointCircleLayer + "-border",
10953
10961
  type: "circle",
10954
10962
  source: this.clusterSource,
@@ -10957,7 +10965,7 @@ const tc = {
10957
10965
  "circle-radius": 6,
10958
10966
  "circle-color": "#fff"
10959
10967
  }
10960
- }), this.map.addLayer({
10968
+ }, this.beforeLayer), this.map.addLayer({
10961
10969
  id: this.historyPointCircleLayer,
10962
10970
  type: "circle",
10963
10971
  source: this.clusterSource,
@@ -10966,7 +10974,7 @@ const tc = {
10966
10974
  "circle-radius": 5,
10967
10975
  "circle-color": "rgba(0,0,0,0.7)"
10968
10976
  }
10969
- }), this.map.addLayer({
10977
+ }, this.beforeLayer), this.map.addLayer({
10970
10978
  id: this.historyPointCircleLayer + "-inner",
10971
10979
  type: "circle",
10972
10980
  source: this.clusterSource,
@@ -10975,7 +10983,7 @@ const tc = {
10975
10983
  "circle-radius": 3,
10976
10984
  "circle-color": "#fff"
10977
10985
  }
10978
- }), this.map.addLayer({
10986
+ }, this.beforeLayer), this.map.addLayer({
10979
10987
  id: this.historyPointLabelLayer,
10980
10988
  type: "symbol",
10981
10989
  source: this.clusterSource,
@@ -10990,7 +10998,7 @@ const tc = {
10990
10998
  paint: {
10991
10999
  "text-color": this.Theme.current.value.colors["on-surface"]
10992
11000
  }
10993
- }), this.map.addLayer({
11001
+ }, this.beforeLayer), this.map.addLayer({
10994
11002
  id: this.forecastNameLayer,
10995
11003
  type: "symbol",
10996
11004
  source: this.clusterSource,
@@ -11009,24 +11017,24 @@ const tc = {
11009
11017
  "text-halo-color": "#ffffff",
11010
11018
  "text-halo-width": 1
11011
11019
  }
11012
- }), w = (/* @__PURE__ */ new Date()).valueOf() - (p + y), console.log("[tropical] add elapsed: ", w, ", total: ", y += w)), this.handleDrawCircle();
11020
+ }, this.beforeLayer), w = (/* @__PURE__ */ new Date()).valueOf() - (p + y), console.log("[tropical] add elapsed: ", w, ", total: ", y += w));
11013
11021
  const k = Va.interpolate(this.tropicals, 1);
11014
11022
  this.interpolateData = JSON.parse(JSON.stringify(k)), this.handleDateChange();
11015
11023
  }
11016
11024
  },
11017
11025
  handleClear() {
11018
11026
  var t, e, o, i;
11019
- this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
11027
+ this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
11020
11028
  },
11021
11029
  handleDateChange() {
11022
- var t, e, o, i, a, r, s, c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, H, Z, q, V, Q, ee, J;
11023
- if ((t = this.interpolateMarkers) == null || t.forEach((re) => re == null ? void 0 : re.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
11024
- const re = D(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), he = this.interpolateData.filter(($) => $.properties.date === (re == null ? void 0 : re.format()) && !$.properties.disabled), pe = this.handleComputePolygons(he), ne = U.featureCollection([...he]);
11025
- pe.forEach(($) => {
11026
- ne.features.push($);
11027
- }), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(ne) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
11030
+ var t, e, o, i, a, r, s, c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, F, Z, q, V, ee;
11031
+ if ((t = this.interpolateMarkers) == null || t.forEach(($) => $ == null ? void 0 : $.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
11032
+ const $ = D(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), Q = this.interpolateData.filter((J) => J.properties.date === ($ == null ? void 0 : $.format()) && !J.properties.disabled), pe = this.handleComputePolygons(Q), me = U.featureCollection([...Q]);
11033
+ pe.forEach((J) => {
11034
+ me.features.push(J);
11035
+ }), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(me) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
11028
11036
  type: "geojson",
11029
- data: ne
11037
+ data: me
11030
11038
  }), (r = this.map) == null || r.addLayer({
11031
11039
  id: this.interpolateLineLayer,
11032
11040
  type: "line",
@@ -11037,12 +11045,12 @@ const tc = {
11037
11045
  "line-color": ["match", ["get", "level"], 7, "#ff9100", 10, "#f44336", "#ffffff"],
11038
11046
  "line-width": 1
11039
11047
  }
11040
- })), this.interpolateMarkers = [];
11041
- for (const $ of he)
11042
- if (!$.properties.disabled) {
11048
+ }, "empty-layer-3")), this.interpolateMarkers = [];
11049
+ for (const J of Q)
11050
+ if (!J.properties.disabled) {
11043
11051
  let ae = "#f44336";
11044
- ((c = (s = $.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((f = (n = $.properties) == null ? void 0 : n.wind) != null && f.kts) ? ae = "#03f869" : ((y = (p = $.properties) == null ? void 0 : p.wind) == null ? void 0 : y.kts) >= 32 && ((k = (w = $.properties) == null ? void 0 : w.wind) == null ? void 0 : k.kts) < 47 ? ae = "#f2f202" : ((z = (g = $.properties) == null ? void 0 : g.wind) == null ? void 0 : z.kts) >= 47 && ((O = (T = $.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((P = (I = $.properties) == null ? void 0 : I.wind) == null ? void 0 : P.kts) >= 63 && ((L = (_ = $.properties) == null ? void 0 : _.wind) == null ? void 0 : L.kts) < 79 ? ae = "#f44336" : ((v = (C = $.properties) == null ? void 0 : C.wind) == null ? void 0 : v.kts) >= 79 && ((H = (A = $.properties) == null ? void 0 : A.wind) == null ? void 0 : H.kts) < 94 ? ae = "#f903d0" : ((q = (Z = $.properties) == null ? void 0 : Z.wind) == null ? void 0 : q.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
11045
- const ue = `<svg t="1719918955501"
11052
+ ((c = (s = J.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((f = (n = J.properties) == null ? void 0 : n.wind) != null && f.kts) ? ae = "#03f869" : ((y = (p = J.properties) == null ? void 0 : p.wind) == null ? void 0 : y.kts) >= 32 && ((k = (w = J.properties) == null ? void 0 : w.wind) == null ? void 0 : k.kts) < 47 ? ae = "#f2f202" : ((z = (g = J.properties) == null ? void 0 : g.wind) == null ? void 0 : z.kts) >= 47 && ((O = (T = J.properties) == null ? void 0 : T.wind) == null ? void 0 : O.kts) < 63 ? ae = "#ff9100" : ((P = (I = J.properties) == null ? void 0 : I.wind) == null ? void 0 : P.kts) >= 63 && ((L = (_ = J.properties) == null ? void 0 : _.wind) == null ? void 0 : L.kts) < 79 ? ae = "#f44336" : ((v = (C = J.properties) == null ? void 0 : C.wind) == null ? void 0 : v.kts) >= 79 && ((F = (A = J.properties) == null ? void 0 : A.wind) == null ? void 0 : F.kts) < 94 ? ae = "#f903d0" : ((q = (Z = J.properties) == null ? void 0 : Z.wind) == null ? void 0 : q.kts) >= 94 ? ae = "#8702f9" : ae = "#f44336";
11053
+ const de = `<svg t="1719918955501"
11046
11054
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
11047
11055
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
11048
11056
  <path
@@ -11056,13 +11064,13 @@ const tc = {
11056
11064
  <path
11057
11065
  d="M420.66666667 959.17a16.08 16.08 0 0 1-15.91-13.49A15.89 15.89 0 0 1 415.50666667 928c1.49-0.55 38.88-14.76 72.79-65.52A354.55 354.55 0 0 1 162.66666667 509.17a450.14 450.14 0 0 1 450.5-450.5 16.07 16.07 0 0 1 15.91 13.48 15.88 15.88 0 0 1-10.75 17.66c-1.58 0.58-39.13 14.9-73.07 65.95A354.22 354.22 0 0 1 871.66666667 509.17a16 16 0 0 1-0.52 4.05A450.14 450.14 0 0 1 420.66666667 959.17zM554.80666667 94.72C351.57666667 123.2 194.66666667 298.21 194.66666667 509.17c0 177.08 144.06 321.74 321.13 322.48a16 16 0 0 1 14.07 23.49c-16.11 30.42-34.27 52.37-50.85 68C682.25666667 894.63 839.16666667 719.63 839.16666667 508.67a15.94 15.94 0 0 1 0.47-3.86C837.30666667 329.33 693.82666667 187 517.80666667 186.67A16 16 0 0 1 503.66666667 163.21c16.21-30.69 34.47-52.79 51.14-68.49z"
11058
11066
  fill="#ffffff" p-id="18386"></path>
11059
- </svg>`, ce = document.createElement("div");
11060
- ce.className = "idm-tropical-gl4-hourly-marker", ce.innerHTML = `<div class="${$.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${ue}</div>`;
11061
- const F = new ve.Marker(ce).setLngLat($.geometry.coordinates).addTo(this.map);
11062
- this.interpolateMarkers.push(F), (Q = (V = this.map) == null ? void 0 : V.getSource(this.circleSource)) == null || Q.setData(this.circleSourceData);
11067
+ </svg>`, se = document.createElement("div");
11068
+ se.className = "idm-tropical-gl4-hourly-marker", se.innerHTML = `<div class="${J.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${de}</div>`;
11069
+ const he = new ve.Marker(se).setLngLat(J.geometry.coordinates).addTo(this.map);
11070
+ this.interpolateMarkers.push(he);
11063
11071
  }
11064
11072
  } else
11065
- (ee = this.map) != null && ee.getSource(this.interpolateSource) && ((J = this.map) == null || J.getSource(this.interpolateSource).setData(this.empty));
11073
+ (V = this.map) != null && V.getSource(this.interpolateSource) && ((ee = this.map) == null || ee.getSource(this.interpolateSource).setData(this.empty));
11066
11074
  },
11067
11075
  handleClick(t) {
11068
11076
  var a, r, s, c, n, f, p, y, w;
@@ -11113,26 +11121,6 @@ const tc = {
11113
11121
  i.properties.name === t.name && (i.properties.showCircle = t.showCircle);
11114
11122
  }), this.handleRender();
11115
11123
  },
11116
- handleDrawCircle() {
11117
- var t, e;
11118
- if (!this.map)
11119
- return !1;
11120
- (t = this.map) != null && t.getSource(this.circleSource) ? (e = this.map) == null || e.getSource(this.circleSource).setData(this.circleSourceData) : (this.map.addSource(this.circleSource, {
11121
- type: "geojson",
11122
- data: this.circleSourceData
11123
- }), this.map.addLayer({
11124
- id: this.circleLayer,
11125
- type: "line",
11126
- source: this.circleSource,
11127
- filter: ["all", ["==", "$type", "Polygon"], ["==", "type", "tropicalCircle"]],
11128
- paint: {
11129
- "line-color": "#fff",
11130
- "line-width": 2,
11131
- "line-opacity": 1,
11132
- "line-dasharray": [1, 1]
11133
- }
11134
- }));
11135
- },
11136
11124
  handleComputePolygons(t) {
11137
11125
  const e = [];
11138
11126
  for (const o of t) {
@@ -11297,7 +11285,7 @@ function Yc(t, e, o, i, a, r) {
11297
11285
  }, 8, ["onClick"]),
11298
11286
  l("div", sc, [
11299
11287
  l("span", nc, m(t.$t("actions.lastUpdate")) + ": ", 1),
11300
- l("span", null, m(r.computeTime(((L = (_ = a.activeTropicals) == null ? void 0 : _.history) == null ? void 0 : L.updated) || ((A = (v = (C = a.activeTropicals) == null ? void 0 : C.forecasts) == null ? void 0 : v.filter((H) => !H.disabled)[0]) == null ? void 0 : A.date), o.timeZone)), 1)
11288
+ l("span", null, m(r.computeTime(((L = (_ = a.activeTropicals) == null ? void 0 : _.history) == null ? void 0 : L.updated) || ((A = (v = (C = a.activeTropicals) == null ? void 0 : C.forecasts) == null ? void 0 : v.filter((F) => !F.disabled)[0]) == null ? void 0 : A.date), o.timeZone)), 1)
11301
11289
  ])
11302
11290
  ];
11303
11291
  }),
@@ -11339,7 +11327,7 @@ function Yc(t, e, o, i, a, r) {
11339
11327
  color: v.disabled ? "" : "primary",
11340
11328
  "min-width": 30,
11341
11329
  class: He(["model text-none text-body-1 px-1", v.disabled ? "" : "btn-border-2"]),
11342
- onClick: Ee((H) => r.handleForecastToggle(v), ["stop"])
11330
+ onClick: Ee((F) => r.handleForecastToggle(v), ["stop"])
11343
11331
  }, {
11344
11332
  default: u(() => [
11345
11333
  j(m(v.model), 1)
@@ -11487,7 +11475,7 @@ function Yc(t, e, o, i, a, r) {
11487
11475
  h(k),
11488
11476
  h(n, { class: "text-body-1" }, {
11489
11477
  default: u(() => {
11490
- var g, z, T, O, I, P, _, L, C, v, A, H, Z, q, V, Q, ee;
11478
+ var g, z, T, O, I, P, _, L, C, v, A, F, Z, q, V, ee, $;
11491
11479
  return [
11492
11480
  l("div", Sc, [
11493
11481
  l("div", Ic, [
@@ -11500,7 +11488,7 @@ function Yc(t, e, o, i, a, r) {
11500
11488
  ])) : M("", !0),
11501
11489
  ((O = a.hoverPoint) == null ? void 0 : O.type) === "forecast" ? (b(), S("div", Rc, [
11502
11490
  l("label", Oc, m(t.$t("tropical.model")) + " : ", 1),
11503
- l("span", null, m(((I = a.hoverPoint) == null ? void 0 : I.model) ?? "-") + " m", 1)
11491
+ l("span", null, m(((I = a.hoverPoint) == null ? void 0 : I.model) ?? "-"), 1)
11504
11492
  ])) : M("", !0),
11505
11493
  ((P = a.hoverPoint) == null ? void 0 : P.type) === "forecast" ? (b(), S("div", Bc, [
11506
11494
  l("label", Nc, m(t.$t("weather.wind")) + " : ", 1),
@@ -11514,13 +11502,13 @@ function Yc(t, e, o, i, a, r) {
11514
11502
  l("label", Hc, m(t.$t("weather.pressure")) + " : ", 1),
11515
11503
  l("span", null, m(((A = a.hoverPoint) == null ? void 0 : A.pressure) ?? "-") + " kPa", 1)
11516
11504
  ]),
11517
- ((H = a.hoverPoint) == null ? void 0 : H.type) === "history" ? (b(), S("div", Uc, [
11505
+ ((F = a.hoverPoint) == null ? void 0 : F.type) === "history" ? (b(), S("div", Uc, [
11518
11506
  l("label", Wc, m(t.$t("tropical.moveSpeed")) + " : ", 1),
11519
11507
  l("span", null, m(((q = JSON.parse((Z = a.hoverPoint) == null ? void 0 : Z.movement)) == null ? void 0 : q.kts) ?? "-") + " kts", 1)
11520
11508
  ])) : M("", !0),
11521
11509
  ((V = a.hoverPoint) == null ? void 0 : V.type) === "history" ? (b(), S("div", Gc, [
11522
11510
  l("label", Vc, m(t.$t("tropical.moveDir")) + " : ", 1),
11523
- l("span", null, m(((ee = JSON.parse((Q = a.hoverPoint) == null ? void 0 : Q.movement)) == null ? void 0 : ee.deg) ?? "-") + " °", 1)
11511
+ l("span", null, m((($ = JSON.parse((ee = a.hoverPoint) == null ? void 0 : ee.movement)) == null ? void 0 : $.deg) ?? "-") + " °", 1)
11524
11512
  ])) : M("", !0),
11525
11513
  l("div", Zc, [
11526
11514
  l("label", qc, m(t.$t("tropical.position")) + " : ", 1),
@@ -12051,10 +12039,10 @@ const tm = {
12051
12039
  (a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData), this.handleDrawInfoMarker([t.lng, t.lat])), this.loading = !1;
12052
12040
  },
12053
12041
  initTableData(t) {
12054
- var o, i, a, r, s, c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, H, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe;
12042
+ var o, i, a, r, s, c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, F, Z, q, V, ee, $, Q, pe, me, J, ae, de, se, he, ge, H, ne, xe;
12055
12043
  this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
12056
12044
  const e = ((s = ao.pickHourly(t, D(this.form.dateTime))) == null ? void 0 : s[0]) || {};
12057
- this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((f = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : f.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((y = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : y.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((Z = (H = e == null ? void 0 : e.wave) == null ? void 0 : H.sig) == null ? void 0 : Z.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((re = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : re.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((pe = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = ($ = (ne = e == null ? void 0 : e.wave) == null ? void 0 : ne.swell) == null ? void 0 : $.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((ue = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : ue.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ce = e == null ? void 0 : e.current) == null ? void 0 : ce.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((me = e == null ? void 0 : e.current) == null ? void 0 : me.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
12045
+ this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((f = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : f.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((y = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : y.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((w = e == null ? void 0 : e.weather) == null ? void 0 : w.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (O = e == null ? void 0 : e.weather) == null ? void 0 : O.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((_ = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (A = (v = e == null ? void 0 : e.wave) == null ? void 0 : v.sig) == null ? void 0 : A.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((Z = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : Z.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = ($ = (ee = e == null ? void 0 : e.wave) == null ? void 0 : ee.wd) == null ? void 0 : $.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((pe = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (me = e == null ? void 0 : e.wave) == null ? void 0 : me.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (de = (ae = e == null ? void 0 : e.wave) == null ? void 0 : ae.swell) == null ? void 0 : de.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((he = (se = e == null ? void 0 : e.wave) == null ? void 0 : se.swell) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (H = e == null ? void 0 : e.current) == null ? void 0 : H.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((ne = e == null ? void 0 : e.current) == null ? void 0 : ne.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (xe = e == null ? void 0 : e.weather) == null ? void 0 : xe.url;
12058
12046
  },
12059
12047
  handleBind() {
12060
12048
  var t, e;
@@ -12834,7 +12822,7 @@ const zm = {
12834
12822
  (t = this.map) == null || t.getCanvas().removeEventListener("keydown", this.handleKeydown), (e = this.map) == null || e.off("mousemove", this.handleMove), (o = this.map) == null || o.off("dblclick", this.handleDblClick), (i = this.map) == null || i.off("click", this.handleClick), (a = this.map) == null || a.off("contextmenu", this.handleContextmenu);
12835
12823
  for (const r of this.geojson)
12836
12824
  this.handleClear(r, !0);
12837
- this.geojson = [], this.map;
12825
+ this.geojson = [], this.map && (this.map.getCanvas().style.cursor = "grab");
12838
12826
  },
12839
12827
  handleKeydown(t) {
12840
12828
  if (t.key === "Shift") {
@@ -13676,7 +13664,7 @@ function Um(t, e, o, i, a, r) {
13676
13664
  token: o.token,
13677
13665
  "default-meteo-token": a.defaultMeteoToken,
13678
13666
  tropicals: a.tropicals,
13679
- "before-layer": "empty-layer-3",
13667
+ "before-layer": "empty-layer-4",
13680
13668
  gateway: a.gateway,
13681
13669
  "assist-gateway": a.assistGateway,
13682
13670
  "forecast-model": o.forecastModel,
@@ -13705,13 +13693,13 @@ function Um(t, e, o, i, a, r) {
13705
13693
  const Wm = /* @__PURE__ */ K(Fm, [["render", Um]]);
13706
13694
  class Gm {
13707
13695
  constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
13708
- de(this, "originStyle");
13709
- de(this, "mapboxStyle");
13710
- de(this, "i4");
13711
- de(this, "hi");
13712
- de(this, "td");
13713
- de(this, "windy");
13714
- var o, i, a, r, s, c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, H, Z, q, V, Q, ee, J, re, he, pe, ne, $, ae, ue, ce, F, me, xe, Le, Pe, Ae, De, Re, _e, W, te, Fe, Ie, ge, fe, G, Ce, oe, le, Oe, E, ye, Me, Be, Ne, N, Y, Ve, Ze, qe, Te, Ye, Ke, Xe, $e, Je, Qe, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, It, Mt, At, Dt, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Jt, Qt, eo, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Io, Mo, Ao, Do, Ro, Oo, Bo, No, Eo, jo, Fo, Ho, Uo, Wo, Go, Vo, Zo, qo, Yo, Ko, Xo, $o, Jo, Qo, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ia, Ma, Aa, Da, Ra, Oa, Ba, Na, Ea, ja, Fa, Ha, Ua, Wa, Ga;
13696
+ ce(this, "originStyle");
13697
+ ce(this, "mapboxStyle");
13698
+ ce(this, "i4");
13699
+ ce(this, "hi");
13700
+ ce(this, "td");
13701
+ ce(this, "windy");
13702
+ var o, i, a, r, s, c, n, f, p, y, w, k, g, z, T, O, I, P, _, L, C, v, A, F, Z, q, V, ee, $, Q, pe, me, J, ae, de, se, he, ge, H, ne, xe, Le, Pe, Ae, De, Re, _e, W, te, Fe, Ie, ue, fe, G, Ce, oe, re, Oe, E, ye, Me, Be, Ne, N, Y, Ve, Ze, qe, Te, Ye, Ke, Xe, $e, Je, Qe, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, It, Mt, At, Dt, Rt, Ot, Bt, Nt, Et, jt, Ft, Ht, Ut, Wt, Gt, Vt, Zt, qt, Yt, Kt, Xt, Jt, Qt, eo, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Io, Mo, Ao, Do, Ro, Oo, Bo, No, Eo, jo, Fo, Ho, Uo, Wo, Go, Vo, Zo, qo, Yo, Ko, Xo, $o, Jo, Qo, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ia, Ma, Aa, Da, Ra, Oa, Ba, Na, Ea, ja, Fa, Ha, Ua, Wa, Ga;
13715
13703
  this.i4 = {
13716
13704
  source: {
13717
13705
  type: "raster",
@@ -21327,12 +21315,14 @@ class Gm {
21327
21315
  id: "china-route-fill",
21328
21316
  type: "fill",
21329
21317
  paint: {
21330
- "fill-color": "rgba(119, 239, 157, 1)"
21318
+ "fill-color": "rgba(119, 239, 157, 1)",
21319
+ "fill-opacity": 0.2
21331
21320
  },
21332
21321
  layout: {
21333
21322
  visibility: "none"
21334
21323
  },
21335
21324
  source: "composite",
21325
+ filter: ["match", ["get", "featureType"], ["route"], !0, !1],
21336
21326
  "source-layer": "china_route-bdtx5d"
21337
21327
  },
21338
21328
  {
@@ -21496,7 +21486,7 @@ class Gm {
21496
21486
  imports: [
21497
21487
  {
21498
21488
  id: "basemap",
21499
- url: "mapbox://styles/mapbox/standard",
21489
+ url: "mapbox://styles/neatchenheng/cmg0ale3r008801rhdey4f0go",
21500
21490
  config: {
21501
21491
  theme: "faded",
21502
21492
  lightPreset: "dawn",
@@ -31924,6 +31914,50 @@ class Gm {
31924
31914
  webpage: "https://studio.mapbox.com/tilesets/neatchenheng.27issko0"
31925
31915
  }
31926
31916
  },
31917
+ // 'mapbox://neatchenheng.dlkkohie': {
31918
+ // "url": "mapbox://neatchenheng.dlkkohie",
31919
+ // "type": "vector",
31920
+ // "data": {
31921
+ // "bounds": [
31922
+ // -180.0443283402411,
31923
+ // -80,
31924
+ // 180.01928531696865,
31925
+ // 90
31926
+ // ],
31927
+ // "center": [
31928
+ // -0.012521511636222726,
31929
+ // 5,
31930
+ // 0
31931
+ // ],
31932
+ // "created": 1756711198438,
31933
+ // "created_by_client": "studio",
31934
+ // "filesize": 38788,
31935
+ // "format": "pbf",
31936
+ // "id": "neatchenheng.dlkkohie",
31937
+ // "mapbox_logo": true,
31938
+ // "maxzoom": 6,
31939
+ // "minzoom": 0,
31940
+ // "modified": 1756711198222,
31941
+ // "name": "loadlines-b6mgr8",
31942
+ // "private": true,
31943
+ // "scheme": "xyz",
31944
+ // "tilejson": "3.0.0",
31945
+ // "tiles": [
31946
+ // "mapbox://tiles/neatchenheng.dlkkohie/{z}/{x}/{y}.vector.pbf"
31947
+ // ],
31948
+ // "upload_id": "cmf0sh4ld1lvw1no16u59vten",
31949
+ // "vector_layers": [
31950
+ // {
31951
+ // "id": "loadlines-b6mgr8",
31952
+ // "maxzoom": 22,
31953
+ // "minzoom": 0,
31954
+ // "source": "neatchenheng.dlkkohie"
31955
+ // }
31956
+ // ],
31957
+ // "version": "1.0.0",
31958
+ // "webpage": "https://studio.mapbox.com/tilesets/neatchenheng.dlkkohie"
31959
+ // }
31960
+ // },
31927
31961
  "mapbox://neatchenheng.dlkkohie": {
31928
31962
  url: "mapbox://neatchenheng.dlkkohie",
31929
31963
  type: "vector",
@@ -31931,23 +31965,23 @@ class Gm {
31931
31965
  bounds: [
31932
31966
  -180.0443283402411,
31933
31967
  -80,
31934
- 180.01928531696865,
31968
+ 180.00284240174312,
31935
31969
  90
31936
31970
  ],
31937
31971
  center: [
31938
- -0.012521511636222726,
31972
+ -0.020742969248985332,
31939
31973
  5,
31940
31974
  0
31941
31975
  ],
31942
31976
  created: 1756711198438,
31943
31977
  created_by_client: "studio",
31944
- filesize: 38788,
31978
+ filesize: 38990,
31945
31979
  format: "pbf",
31946
31980
  id: "neatchenheng.dlkkohie",
31947
31981
  mapbox_logo: !0,
31948
31982
  maxzoom: 6,
31949
31983
  minzoom: 0,
31950
- modified: 1756711198222,
31984
+ modified: 1758161205109,
31951
31985
  name: "loadlines-b6mgr8",
31952
31986
  private: !0,
31953
31987
  scheme: "xyz",
@@ -31955,7 +31989,7 @@ class Gm {
31955
31989
  tiles: [
31956
31990
  "mapbox://tiles/neatchenheng.dlkkohie/{z}/{x}/{y}.vector.pbf"
31957
31991
  ],
31958
- upload_id: "cmf0sh4ld1lvw1no16u59vten",
31992
+ upload_id: "cmforrscu3fwp1pqw2ibccowm",
31959
31993
  vector_layers: [
31960
31994
  {
31961
31995
  id: "loadlines-b6mgr8",
@@ -32138,12 +32172,14 @@ class Gm {
32138
32172
  id: "china-route-fill",
32139
32173
  type: "fill",
32140
32174
  paint: {
32141
- "fill-color": "rgba(119, 239, 157, 1)"
32175
+ "fill-color": "rgba(119, 239, 157, 1)",
32176
+ "fill-opacity": 0.2
32142
32177
  },
32143
32178
  layout: {
32144
32179
  visibility: "none"
32145
32180
  },
32146
32181
  source: "mapbox://neatchenheng.27issko0",
32182
+ filter: ["match", ["get", "featureType"], ["route"], !0, !1],
32147
32183
  "source-layer": "china_route-bdtx5d"
32148
32184
  },
32149
32185
  {
@@ -32238,7 +32274,7 @@ class Gm {
32238
32274
  1
32239
32275
  ]
32240
32276
  },
32241
- source: "composite",
32277
+ source: "mapbox://neatchenheng.dlkkohie",
32242
32278
  "source-layer": "loadlines-b6mgr8"
32243
32279
  },
32244
32280
  {
@@ -32276,7 +32312,7 @@ class Gm {
32276
32312
  layout: {
32277
32313
  visibility: "none"
32278
32314
  },
32279
- source: "composite",
32315
+ source: "mapbox://neatchenheng.dlkkohie",
32280
32316
  "source-layer": "loadlines-b6mgr8"
32281
32317
  }
32282
32318
  ],
@@ -32314,21 +32350,21 @@ class Gm {
32314
32350
  (P = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : P.find((d) => d.id === "country-boundaries"),
32315
32351
  (L = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : L.find((d) => d.id === "water-outline"),
32316
32352
  (v = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : v.find((d) => d.id === "water-outline2"),
32317
- (H = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : H.find((d) => d.id === "empty-layer-2"),
32353
+ (F = (A = this.originStyle) == null ? void 0 : A.light.layers) == null ? void 0 : F.find((d) => d.id === "empty-layer-2"),
32318
32354
  (q = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : q.find((d) => d.id === "water-line-label"),
32319
- (Q = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : Q.find((d) => d.id === "water-point-label"),
32320
- (J = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : J.find((d) => d.id === "world-12nm-v4-20231025"),
32321
- (he = (re = this.originStyle) == null ? void 0 : re.light.layers) == null ? void 0 : he.find((d) => d.id === "ne-10m-outline"),
32322
- (ne = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : ne.find((d) => d.id === "ne-10m-label"),
32323
- (ae = ($ = this.originStyle) == null ? void 0 : $.light.layers) == null ? void 0 : ae.find((d) => d.id === "china-route-line"),
32324
- (ce = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : ce.find((d) => d.id === "china-route-fill"),
32325
- (me = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : me.find((d) => d.id === "china-route-label"),
32355
+ (ee = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : ee.find((d) => d.id === "water-point-label"),
32356
+ (Q = ($ = this.originStyle) == null ? void 0 : $.light.layers) == null ? void 0 : Q.find((d) => d.id === "world-12nm-v4-20231025"),
32357
+ (me = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : me.find((d) => d.id === "ne-10m-outline"),
32358
+ (ae = (J = this.originStyle) == null ? void 0 : J.light.layers) == null ? void 0 : ae.find((d) => d.id === "ne-10m-label"),
32359
+ (se = (de = this.originStyle) == null ? void 0 : de.light.layers) == null ? void 0 : se.find((d) => d.id === "china-route-line"),
32360
+ (ge = (he = this.originStyle) == null ? void 0 : he.light.layers) == null ? void 0 : ge.find((d) => d.id === "china-route-fill"),
32361
+ (ne = (H = this.originStyle) == null ? void 0 : H.light.layers) == null ? void 0 : ne.find((d) => d.id === "china-route-label"),
32326
32362
  (Le = (xe = this.originStyle) == null ? void 0 : xe.light.layers) == null ? void 0 : Le.find((d) => d.id === "admin-0-boundary-bg"),
32327
32363
  (Ae = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : Ae.find((d) => d.id === "admin-0-boundary"),
32328
32364
  (Re = (De = this.originStyle) == null ? void 0 : De.light.layers) == null ? void 0 : Re.find((d) => d.id === "admin-0-boundary-disputed"),
32329
32365
  (W = (_e = this.originStyle) == null ? void 0 : _e.light.layers) == null ? void 0 : W.find((d) => d.id === "country-label"),
32330
32366
  (Fe = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : Fe.find((d) => d.id === "continent-label"),
32331
- (ge = (Ie = this.originStyle) == null ? void 0 : Ie.light.layers) == null ? void 0 : ge.find((d) => d.id === "tide-stations"),
32367
+ (ue = (Ie = this.originStyle) == null ? void 0 : Ie.light.layers) == null ? void 0 : ue.find((d) => d.id === "tide-stations"),
32332
32368
  (G = (fe = this.originStyle) == null ? void 0 : fe.light.layers) == null ? void 0 : G.find((d) => d.id === "empty-layer-3"),
32333
32369
  (oe = (Ce = this.originStyle) == null ? void 0 : Ce.light.layers) == null ? void 0 : oe.find((d) => d.id === "empty-layer-4")
32334
32370
  ]
@@ -32336,7 +32372,7 @@ class Gm {
32336
32372
  dark: {
32337
32373
  version: 8,
32338
32374
  name: "dark",
32339
- metadata: (le = this.originStyle) == null ? void 0 : le.dark.metadata,
32375
+ metadata: (re = this.originStyle) == null ? void 0 : re.dark.metadata,
32340
32376
  center: [90.22129259388525, -3.2084663486364606],
32341
32377
  zoom: 1.2556266457717493,
32342
32378
  bearing: 0,
@@ -32646,5 +32682,5 @@ export {
32646
32682
  Ka as TropicalGL,
32647
32683
  so as Viewport,
32648
32684
  je as WebGL,
32649
- se as WebGLSchema
32685
+ le as WebGLSchema
32650
32686
  };