@idmwx/idmui-gl4 3.1.9 → 3.2.1

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.
@@ -751,10 +751,10 @@ const Er = {
751
751
  { label: "Swell", key: "weather.swell", unit: "m" },
752
752
  { label: "Current", key: "weather.current", unit: "kts" }
753
753
  ], (a = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || a.dateTimeList.forEach((i, o) => {
754
- var c, s, d, m, p, u, b, g, h, f, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J, K, oe, Y, X, ee, A, ne, fe, ke, ze;
754
+ var c, s, d, m, p, u, b, f, h, g, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J, K, oe, Y, X, ee, A, ne, fe, ke, ze;
755
755
  let r = {};
756
756
  const l = ((c = Za.pickHourly(t, D(i))) == null ? void 0 : c[0]) || {};
757
- r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((d = l == null ? void 0 : l.weather) == null ? void 0 : d.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((p = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((b = (u = l == null ? void 0 : l.weather) == null ? void 0 : u.precip) == null ? void 0 : b.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((g = l == null ? void 0 : l.weather) == null ? void 0 : g.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((f = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.wind) == null ? void 0 : f.kts, 1) ?? "-", r.windDir = (_ = (M = l == null ? void 0 : l.weather) == null ? void 0 : M.wind) == null ? void 0 : _.direction, r.windLevel = this.computeRoundPrecision((L = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : L.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (T = l == null ? void 0 : l.weather) == null ? void 0 : T.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (S = l == null ? void 0 : l.wave) == null ? void 0 : S.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((H = (E = l == null ? void 0 : l.wave) == null ? void 0 : E.sig) == null ? void 0 : H.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ae = (Q = l == null ? void 0 : l.wave) == null ? void 0 : Q.wd) == null ? void 0 : ae.height, 1) ?? "-", r.windwaveDir = (pe = (re = l == null ? void 0 : l.wave) == null ? void 0 : re.wd) == null ? void 0 : pe.direction, r.windwavePeriod = this.computeRoundPrecision((J = (G = l == null ? void 0 : l.wave) == null ? void 0 : G.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((oe = (K = l == null ? void 0 : l.wave) == null ? void 0 : K.swell) == null ? void 0 : oe.height, 1) ?? "-", r.swellDir = (X = (Y = l == null ? void 0 : l.wave) == null ? void 0 : Y.swell) == null ? void 0 : X.direction, r.swellPeriod = this.computeRoundPrecision((A = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.swell) == null ? void 0 : A.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ne = l == null ? void 0 : l.current) == null ? void 0 : ne.speed, 1) ?? "-", r.currentDir = (fe = l == null ? void 0 : l.current) == null ? void 0 : fe.direction, r.currentSpeed = this.computeRoundPrecision((ke = l == null ? void 0 : l.current) == null ? void 0 : ke.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (ze = l == null ? void 0 : l.weather) == null ? void 0 : ze.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
757
+ r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((d = l == null ? void 0 : l.weather) == null ? void 0 : d.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((p = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((b = (u = l == null ? void 0 : l.weather) == null ? void 0 : u.precip) == null ? void 0 : b.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((g = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.wind) == null ? void 0 : g.kts, 1) ?? "-", r.windDir = (_ = (M = l == null ? void 0 : l.weather) == null ? void 0 : M.wind) == null ? void 0 : _.direction, r.windLevel = this.computeRoundPrecision((L = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : L.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((C = (T = l == null ? void 0 : l.weather) == null ? void 0 : T.wind) == null ? void 0 : C.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((R = (S = l == null ? void 0 : l.wave) == null ? void 0 : S.sig) == null ? void 0 : R.height, 1) ?? "-", r.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, r.sigwavePeriod = this.computeRoundPrecision((H = (E = l == null ? void 0 : l.wave) == null ? void 0 : E.sig) == null ? void 0 : H.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ae = (Q = l == null ? void 0 : l.wave) == null ? void 0 : Q.wd) == null ? void 0 : ae.height, 1) ?? "-", r.windwaveDir = (pe = (re = l == null ? void 0 : l.wave) == null ? void 0 : re.wd) == null ? void 0 : pe.direction, r.windwavePeriod = this.computeRoundPrecision((J = (G = l == null ? void 0 : l.wave) == null ? void 0 : G.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((oe = (K = l == null ? void 0 : l.wave) == null ? void 0 : K.swell) == null ? void 0 : oe.height, 1) ?? "-", r.swellDir = (X = (Y = l == null ? void 0 : l.wave) == null ? void 0 : Y.swell) == null ? void 0 : X.direction, r.swellPeriod = this.computeRoundPrecision((A = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.swell) == null ? void 0 : A.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ne = l == null ? void 0 : l.current) == null ? void 0 : ne.speed, 1) ?? "-", r.currentDir = (fe = l == null ? void 0 : l.current) == null ? void 0 : fe.direction, r.currentSpeed = this.computeRoundPrecision((ke = l == null ? void 0 : l.current) == null ? void 0 : ke.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (ze = l == null ? void 0 : l.weather) == null ? void 0 : ze.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
758
758
  });
759
759
  },
760
760
  handleTide() {
@@ -967,12 +967,12 @@ function Zl(t, e, a, i, o, r) {
967
967
  return [
968
968
  w(c, { class: "w-100" }, {
969
969
  default: x(() => {
970
- var g, h, f, M, _, v;
970
+ var f, h, g, M, _, v;
971
971
  return [
972
972
  n("div", Br, [
973
973
  n("div", Zr, [
974
974
  n("div", {
975
- class: ge(["fi mr-2 rounded elevation-4", `fi-${(g = a.port) != null && g.cntLoCode ? (f = (h = a.port) == null ? void 0 : h.cntLoCode) == null ? void 0 : f.toLowerCase() : "xx"}`]),
975
+ class: ge(["fi mr-2 rounded elevation-4", `fi-${(f = a.port) != null && f.cntLoCode ? (g = (h = a.port) == null ? void 0 : h.cntLoCode) == null ? void 0 : g.toLowerCase() : "xx"}`]),
976
976
  style: { width: "36px", height: "24px" }
977
977
  }, null, 2),
978
978
  n("div", null, y((M = a.port) == null ? void 0 : M.name), 1)
@@ -1054,9 +1054,9 @@ function Zl(t, e, a, i, o, r) {
1054
1054
  }),
1055
1055
  w(s, { class: "w-100" }),
1056
1056
  a.simple ? N("", !0) : (k(), I("div", Hr, [
1057
- (p = a.followList) != null && p.some((g) => {
1057
+ (p = a.followList) != null && p.some((f) => {
1058
1058
  var h;
1059
- return ((h = g.port) == null ? void 0 : h.id) === a.portId;
1059
+ return ((h = f.port) == null ? void 0 : h.id) === a.portId;
1060
1060
  }) ? (k(), W(l, {
1061
1061
  key: 0,
1062
1062
  class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
@@ -1149,7 +1149,7 @@ function Zl(t, e, a, i, o, r) {
1149
1149
  }, [
1150
1150
  w(d, {
1151
1151
  modelValue: o.currentIndex,
1152
- "onUpdate:modelValue": e[0] || (e[0] = (g) => o.currentIndex = g),
1152
+ "onUpdate:modelValue": e[0] || (e[0] = (f) => o.currentIndex = f),
1153
1153
  class: "w-100 gray-bg-1 rounded d-flex justify-space-around align-center ga-0 px-1 mb-2",
1154
1154
  density: "compact",
1155
1155
  group: "",
@@ -1158,16 +1158,16 @@ function Zl(t, e, a, i, o, r) {
1158
1158
  rounded: "1"
1159
1159
  }, {
1160
1160
  default: x(() => [
1161
- (k(!0), I(Te, null, De(r.dateList, (g) => (k(), W(l, {
1162
- key: g.index,
1161
+ (k(!0), I(Te, null, De(r.dateList, (f) => (k(), W(l, {
1162
+ key: f.index,
1163
1163
  class: "text-none text-body-1 rounded bg-none flex-1-1-0",
1164
1164
  density: "compact",
1165
1165
  color: "primary",
1166
1166
  height: "26",
1167
- value: g.index
1167
+ value: f.index
1168
1168
  }, {
1169
1169
  default: x(() => [
1170
- Z(y(g.label), 1)
1170
+ Z(y(f.label), 1)
1171
1171
  ]),
1172
1172
  _: 2
1173
1173
  }, 1032, ["value"]))), 128))
@@ -1176,40 +1176,40 @@ function Zl(t, e, a, i, o, r) {
1176
1176
  }, 8, ["modelValue"]),
1177
1177
  n("table", pl, [
1178
1178
  n("tbody", null, [
1179
- (k(!0), I(Te, null, De(o.tableData, (g) => (k(), I("tr", {
1180
- key: g.id
1179
+ (k(!0), I(Te, null, De(o.tableData, (f) => (k(), I("tr", {
1180
+ key: f.id
1181
1181
  }, [
1182
1182
  n("th", ul, [
1183
- Z(y(t.$t(`${g.key}`)) + " ", 1),
1184
- g.unit ? (k(), I("span", gl, " ( " + y(g.unit) + " )", 1)) : N("", !0)
1183
+ Z(y(t.$t(`${f.key}`)) + " ", 1),
1184
+ f.unit ? (k(), I("span", gl, " ( " + y(f.unit) + " )", 1)) : N("", !0)
1185
1185
  ]),
1186
1186
  n("td", fl, [
1187
- g.img ? (k(), I("img", {
1187
+ f.img ? (k(), I("img", {
1188
1188
  key: 0,
1189
- src: g == null ? void 0 : g.value0,
1189
+ src: f == null ? void 0 : f.value0,
1190
1190
  style: { height: "30px" }
1191
- }, null, 8, yl)) : (k(), I("span", bl, y((g == null ? void 0 : g.value0) ?? "-"), 1))
1191
+ }, null, 8, yl)) : (k(), I("span", bl, y((f == null ? void 0 : f.value0) ?? "-"), 1))
1192
1192
  ]),
1193
1193
  n("td", wl, [
1194
- g.img ? (k(), I("img", {
1194
+ f.img ? (k(), I("img", {
1195
1195
  key: 0,
1196
- src: g == null ? void 0 : g.value1,
1196
+ src: f == null ? void 0 : f.value1,
1197
1197
  style: { height: "30px" }
1198
- }, null, 8, xl)) : (k(), I("span", vl, y((g == null ? void 0 : g.value1) ?? "-"), 1))
1198
+ }, null, 8, xl)) : (k(), I("span", vl, y((f == null ? void 0 : f.value1) ?? "-"), 1))
1199
1199
  ]),
1200
1200
  n("td", kl, [
1201
- g.img ? (k(), I("img", {
1201
+ f.img ? (k(), I("img", {
1202
1202
  key: 0,
1203
- src: g == null ? void 0 : g.value2,
1203
+ src: f == null ? void 0 : f.value2,
1204
1204
  style: { height: "30px" }
1205
- }, null, 8, _l)) : (k(), I("span", Ll, y((g == null ? void 0 : g.value2) ?? "-"), 1))
1205
+ }, null, 8, _l)) : (k(), I("span", Ll, y((f == null ? void 0 : f.value2) ?? "-"), 1))
1206
1206
  ]),
1207
1207
  n("td", zl, [
1208
- g.img ? (k(), I("img", {
1208
+ f.img ? (k(), I("img", {
1209
1209
  key: 0,
1210
- src: g == null ? void 0 : g.value3,
1210
+ src: f == null ? void 0 : f.value3,
1211
1211
  style: { height: "30px" }
1212
- }, null, 8, Cl)) : (k(), I("span", Ml, y((g == null ? void 0 : g.value3) ?? "-"), 1))
1212
+ }, null, 8, Cl)) : (k(), I("span", Ml, y((f == null ? void 0 : f.value3) ?? "-"), 1))
1213
1213
  ])
1214
1214
  ]))), 128))
1215
1215
  ])
@@ -1233,7 +1233,7 @@ function Zl(t, e, a, i, o, r) {
1233
1233
  density: "compact",
1234
1234
  variant: "plain",
1235
1235
  size: "small",
1236
- onClick: e[1] || (e[1] = (g) => o.showTideDetail = !1)
1236
+ onClick: e[1] || (e[1] = (f) => o.showTideDetail = !1)
1237
1237
  })) : (k(), W(l, {
1238
1238
  key: 1,
1239
1239
  icon: "mdi-eye-outline",
@@ -1256,12 +1256,12 @@ function Zl(t, e, a, i, o, r) {
1256
1256
  n("th", Fl, y(t.$t("time.time")) + " ( LT ) ", 1),
1257
1257
  n("th", Wl, y(t.$t("tide.height")) + " ( m )", 1)
1258
1258
  ]),
1259
- (k(!0), I(Te, null, De(o.tideTableData, (g, h) => {
1260
- var f;
1259
+ (k(!0), I(Te, null, De(o.tideTableData, (f, h) => {
1260
+ var g;
1261
1261
  return k(), I("tr", { key: h }, [
1262
- n("td", Vl, y(t.$t(`tide.${(f = g == null ? void 0 : g.type) == null ? void 0 : f.toLowerCase()}`)) + " " + y(t.$t("tide.tide")), 1),
1263
- n("td", El, y(r.computeLocalTime(g == null ? void 0 : g.date, a.port, "MM-DD HH:mm")), 1),
1264
- n("td", Bl, y((g == null ? void 0 : g.height) ?? "-") + " m", 1)
1262
+ n("td", Vl, y(t.$t(`tide.${(g = f == null ? void 0 : f.type) == null ? void 0 : g.toLowerCase()}`)) + " " + y(t.$t("tide.tide")), 1),
1263
+ n("td", El, y(r.computeLocalTime(f == null ? void 0 : f.date, a.port, "MM-DD HH:mm")), 1),
1264
+ n("td", Bl, y((f == null ? void 0 : f.height) ?? "-") + " m", 1)
1265
1265
  ]);
1266
1266
  }), 128))
1267
1267
  ])
@@ -2462,9 +2462,9 @@ function qn(t, e, a, i, o, r) {
2462
2462
  n("th", Yn, y(t.$t("time.time")) + " ( LT ) ", 1),
2463
2463
  n("th", Un, y(t.$t("tide.height")) + " ( m )", 1)
2464
2464
  ]),
2465
- (k(!0), I(Te, null, De(o.tideTableData, (b, g) => {
2465
+ (k(!0), I(Te, null, De(o.tideTableData, (b, f) => {
2466
2466
  var h;
2467
- return k(), I("tr", { key: g }, [
2467
+ return k(), I("tr", { key: f }, [
2468
2468
  n("td", $n, y(t.$t(`tide.${(h = b == null ? void 0 : b.type) == null ? void 0 : h.toLowerCase()}`)) + " " + y(t.$t("tide.tide")), 1),
2469
2469
  n("td", Jn, y(r.computeLocalTime(b == null ? void 0 : b.date, a.station, "MM-DD HH:mm")), 1),
2470
2470
  n("td", Kn, y((b == null ? void 0 : b.height) ?? "-") + " m", 1)
@@ -3093,14 +3093,14 @@ const bs = {
3093
3093
  if (e.properties) {
3094
3094
  const p = e.properties;
3095
3095
  p.lng = e.geometry.coordinates[0], p.lat = e.geometry.coordinates[1];
3096
- const u = D(), b = (a = D(this.realTime)) == null ? void 0 : a.diff(u, "d", !0), g = {
3096
+ const u = D(), b = (a = D(this.realTime)) == null ? void 0 : a.diff(u, "d", !0), f = {
3097
3097
  followId: p.id,
3098
3098
  lat: p.lat,
3099
3099
  lng: p.lng,
3100
3100
  datetime: this.realTime,
3101
3101
  forecastModel: this.forecastModel
3102
3102
  };
3103
- b >= 0 ? (l = (r = (o = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : o.$refs) == null ? void 0 : r.idmSpot) == null || l.fetchForecastData(g) : (m = (d = (s = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : s.$refs) == null ? void 0 : d.idmSpot) == null || m.fetchHistoryData(g);
3103
+ b >= 0 ? (l = (r = (o = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : o.$refs) == null ? void 0 : r.idmSpot) == null || l.fetchForecastData(f) : (m = (d = (s = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : s.$refs) == null ? void 0 : d.idmSpot) == null || m.fetchHistoryData(f);
3104
3104
  }
3105
3105
  },
3106
3106
  handleHover(t) {
@@ -3377,7 +3377,7 @@ const Ls = {
3377
3377
  }, As = { class: "text-body-2 text-center pt-2" };
3378
3378
  function Gs(t, e, a, i, o, r) {
3379
3379
  var re, pe, G, J, K, oe, Y, X, ee;
3380
- const l = P("VBtn"), c = P("VTooltip"), s = P("VCardTitle"), d = P("VCardItem"), m = P("VCheckbox"), p = P("VCardText"), u = P("VCard"), b = P("IdmPort"), g = P("IdmTideStations"), h = P("IdmLatLng"), f = P("IdmTerminator"), M = P("IdmTimezone"), _ = P("IdmAlertZone"), v = P("IdmEcaZone"), L = P("IdmWarZone"), T = P("IdmGmdssArea"), C = P("IdmLoadLine"), S = P("IdmWorldMarine"), R = P("IdmVRA"), F = P("IdmSpecialArea"), V = P("IdmWorld12nm"), E = P("IdmChinaRoute"), H = P("IdmIceAreas"), Q = P("IdmFollowPort"), ae = P("IdmFollowPosition");
3380
+ const l = P("VBtn"), c = P("VTooltip"), s = P("VCardTitle"), d = P("VCardItem"), m = P("VCheckbox"), p = P("VCardText"), u = P("VCard"), b = P("IdmPort"), f = P("IdmTideStations"), h = P("IdmLatLng"), g = P("IdmTerminator"), M = P("IdmTimezone"), _ = P("IdmAlertZone"), v = P("IdmEcaZone"), L = P("IdmWarZone"), T = P("IdmGmdssArea"), C = P("IdmLoadLine"), S = P("IdmWorldMarine"), R = P("IdmVRA"), F = P("IdmSpecialArea"), V = P("IdmWorld12nm"), E = P("IdmChinaRoute"), H = P("IdmIceAreas"), Q = P("IdmFollowPort"), ae = P("IdmFollowPosition");
3381
3381
  return k(), I("div", zs, [
3382
3382
  n("div", {
3383
3383
  class: ge(["menu-bar-box transition px-1 rounded", a.simple ? "simple" : ""]),
@@ -3614,7 +3614,7 @@ function Gs(t, e, a, i, o, r) {
3614
3614
  "real-time": a.realTime,
3615
3615
  theme: a.theme
3616
3616
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "ports", "gateway", "token", "forecast-model", "real-time", "theme"])) : N("", !0),
3617
- a.map ? (k(), W(g, $({
3617
+ a.map ? (k(), W(f, $({
3618
3618
  key: 1,
3619
3619
  ref: "idmIideStation",
3620
3620
  simple: a.simple,
@@ -3635,7 +3635,7 @@ function Gs(t, e, a, i, o, r) {
3635
3635
  "menu-toggle": a.menuToggle,
3636
3636
  show: o.checkList.includes("graticule")
3637
3637
  }, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "menu-toggle", "show"])) : N("", !0),
3638
- a.map ? (k(), W(f, $({
3638
+ a.map ? (k(), W(g, $({
3639
3639
  key: 3,
3640
3640
  map: a.map,
3641
3641
  area: (pe = o.otherLayers) == null ? void 0 : pe["day-night"]
@@ -3777,8 +3777,8 @@ class go {
3777
3777
  * @param [lb.x, lb.y, rt.x, rt.y]
3778
3778
  */
3779
3779
  getBoundPixel() {
3780
- var g, h;
3781
- const e = (g = this.map) == null ? void 0 : g.getBounds();
3780
+ var f, h;
3781
+ const e = (f = this.map) == null ? void 0 : f.getBounds();
3782
3782
  if (!e)
3783
3783
  return [];
3784
3784
  const a = ((h = this.map) == null ? void 0 : h.getZoom()) + 1, i = [e._ne.lng, e._ne.lat], o = [e._sw.lng, e._sw.lat], [r, l] = this.convertNLng(i[0]), [c, s] = this.convertNLng(o[0]), [d, m] = this.mercator.px([r, i[1]], a), [p, u] = this.mercator.px([c, o[1]], a), b = Math.round(this.mercator.size * Math.pow(2, a) * (l + s));
@@ -3966,8 +3966,8 @@ class $e {
3966
3966
  };
3967
3967
  m.resolution && a.uniform2f(m.resolution, a.canvas.width * e.ratio, a.canvas.height * e.ratio), a.activeTexture(a.TEXTURE0), a.bindTexture(a.TEXTURE_2D, o), m.image && a.uniform1i(m.image, 0), a.activeTexture(a.TEXTURE1), a.bindTexture(a.TEXTURE_2D, r), m.color && a.uniform1i(m.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (m.uvRange && a.uniform2f(m.uvRange, c.uvRange[0], c.uvRange[1]), m.sRange && a.uniform2f(m.sRange, c.sRange[0], c.sRange[1])), m.scale && a.uniform1f(m.scale, (c == null ? void 0 : c.scale) || 1);
3968
3968
  const p = e.getBoundPixel(), u = e.map.getZoom() + 1, b = e.getWorldCopy(p, u);
3969
- for (const g of b) {
3970
- const h = (g[0] - p[0]) * e.ratio, f = (g[1] - p[3]) * e.ratio, M = g[2] * e.ratio, [_, v, L, T] = [h, M + h, f, M + f], C = new Float32Array([_, L, v, L, _, T, _, T, v, L, v, T]);
3969
+ for (const f of b) {
3970
+ const h = (f[0] - p[0]) * e.ratio, g = (f[1] - p[3]) * e.ratio, M = f[2] * e.ratio, [_, v, L, T] = [h, M + h, g, M + g], C = new Float32Array([_, L, v, L, _, T, _, T, v, L, v, T]);
3971
3971
  a.bindBuffer(a.ARRAY_BUFFER, l), a.bufferData(a.ARRAY_BUFFER, C, a.STATIC_DRAW), a.drawArrays(a.TRIANGLES, 0, 6);
3972
3972
  }
3973
3973
  } catch (m) {
@@ -6559,19 +6559,19 @@ const Ec = {
6559
6559
  const e = (/* @__PURE__ */ new Date()).valueOf();
6560
6560
  let a = 0, i = 0;
6561
6561
  if (this.map) {
6562
- const b = ((o = this.map) == null ? void 0 : o.getZoom()) + 1, g = (r = this.map) == null ? void 0 : r.getBounds(), h = `${g._sw.lng},${g._sw.lat},${g._ne.lng},${g._ne.lat}`;
6562
+ const b = ((o = this.map) == null ? void 0 : o.getZoom()) + 1, f = (r = this.map) == null ? void 0 : r.getBounds(), h = `${f._sw.lng},${f._sw.lat},${f._ne.lng},${f._ne.lat}`;
6563
6563
  if (this.particleFactor && ((l = this.$refs.layer) != null && l.autoActive)) {
6564
- const f = Oa.WEATHER_LAYERS.find((M) => {
6564
+ const g = Oa.WEATHER_LAYERS.find((M) => {
6565
6565
  var _;
6566
6566
  return ((_ = M.peer) == null ? void 0 : _.weight) === this.particleFactor.weight;
6567
6567
  });
6568
- this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & f.weight ? this.weatherWeight : this.weatherWeight + f.weight : this.weatherWeight = this.weatherWeight & f.weight ? this.weatherWeight - f.weight : this.weatherWeight;
6568
+ this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & g.weight ? this.weatherWeight : this.weatherWeight + g.weight : this.weatherWeight = this.weatherWeight & g.weight ? this.weatherWeight - g.weight : this.weatherWeight;
6569
6569
  }
6570
6570
  if (this.weatherWeight > 0) {
6571
- let f = this.weatherWeight;
6572
- if (f > 0) {
6571
+ let g = this.weatherWeight;
6572
+ if (g > 0) {
6573
6573
  const M = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], _ = await Ie.get(
6574
- `${M}/api/arc/weather/layers2/links?l=${f}&v=${this.forecastModel}&z=${b}&bbox=${h}&t=${this.realTime}`,
6574
+ `${M}/api/arc/weather/layers2/links?l=${g}&v=${this.forecastModel}&z=${b}&bbox=${h}&t=${this.realTime}`,
6575
6575
  {
6576
6576
  headers: {
6577
6577
  Authorization: this.defaultMeteoToken
@@ -6625,8 +6625,8 @@ const Ec = {
6625
6625
  }
6626
6626
  }
6627
6627
  this.handleWeatherLayerToggle(), this.handleDrawWeather4Json(), this.$nextTick(() => {
6628
- var f, M, _, v, L;
6629
- (L = (v = (_ = (M = (f = this.$parent) == null ? void 0 : f.$refs) == null ? void 0 : M.idmBottomBar) == null ? void 0 : _.$refs) == null ? void 0 : v.capture) == null || L.captureCurrentFrame();
6628
+ var g, M, _, v, L;
6629
+ (L = (v = (_ = (M = (g = this.$parent) == null ? void 0 : g.$refs) == null ? void 0 : M.idmBottomBar) == null ? void 0 : _.$refs) == null ? void 0 : v.capture) == null || L.captureCurrentFrame();
6630
6630
  });
6631
6631
  }
6632
6632
  },
@@ -6683,16 +6683,16 @@ const Ec = {
6683
6683
  let e = 0, a = 0;
6684
6684
  const i = (r = this.map) == null ? void 0 : r.getBounds(), o = (l = this.map) == null ? void 0 : l.getZoom();
6685
6685
  if (i && o) {
6686
- const u = j.convertToStdLng(i._sw.lng), b = j.convertToStdLng(i._ne.lng), g = Math.floor(i._sw.lat), h = Math.ceil(i._ne.lat);
6687
- for (const f in this.weatherLayers) {
6686
+ const u = j.convertToStdLng(i._sw.lng), b = j.convertToStdLng(i._ne.lng), f = Math.floor(i._sw.lat), h = Math.ceil(i._ne.lat);
6687
+ for (const g in this.weatherLayers) {
6688
6688
  let M = !1;
6689
- if (this.weatherLayers[f].active && this.weatherLayers[f].type === "json") {
6689
+ if (this.weatherLayers[g].active && this.weatherLayers[g].type === "json") {
6690
6690
  let _ = [];
6691
- if (f === "swell") {
6691
+ if (g === "swell") {
6692
6692
  M = !0;
6693
- const v = ((c = this.weatherLayers[f]) == null ? void 0 : c.direction) || {};
6693
+ const v = ((c = this.weatherLayers[g]) == null ? void 0 : c.direction) || {};
6694
6694
  for (const T in v)
6695
- if (T > g && T < h && (!(o <= this.zoom) || T % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
6695
+ if (T > f && T < h && (!(o <= this.zoom) || T % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
6696
6696
  const C = v[T].lng;
6697
6697
  u > b ? C.forEach((S, R) => {
6698
6698
  var F, V, E, H, Q, ae;
@@ -6731,7 +6731,7 @@ const Ec = {
6731
6731
  });
6732
6732
  }
6733
6733
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell direction elapsed: ", a, ", total: ", e += a);
6734
- const L = this.weatherLayers[f].height;
6734
+ const L = this.weatherLayers[g].height;
6735
6735
  if (L) {
6736
6736
  if (!L.data) {
6737
6737
  const T = [];
@@ -6752,11 +6752,11 @@ const Ec = {
6752
6752
  }
6753
6753
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("swell height elapsed: ", a, ", total: ", e += a);
6754
6754
  }
6755
- } else if (f === "current") {
6755
+ } else if (g === "current") {
6756
6756
  M = !0;
6757
- const v = ((d = this.weatherLayers[f]) == null ? void 0 : d.direction) || {};
6757
+ const v = ((d = this.weatherLayers[g]) == null ? void 0 : d.direction) || {};
6758
6758
  for (const T in v)
6759
- if (T > g && T < h && (!(o <= this.zoom) || T % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
6759
+ if (T > f && T < h && (!(o <= this.zoom) || T % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
6760
6760
  const C = v[T].lng;
6761
6761
  u > b ? C.forEach((S, R) => {
6762
6762
  var F, V, E, H, Q, ae;
@@ -6795,7 +6795,7 @@ const Ec = {
6795
6795
  });
6796
6796
  }
6797
6797
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current direction elapsed: ", a, ", total: ", e += a);
6798
- const L = this.weatherLayers[f].speed;
6798
+ const L = this.weatherLayers[g].speed;
6799
6799
  if (L) {
6800
6800
  if (!L.data) {
6801
6801
  const C = [];
@@ -6813,11 +6813,11 @@ const Ec = {
6813
6813
  const T = o < this.zoom ? L.data.features.filter((C) => C.properties.val > 0.5) : L.data.features;
6814
6814
  _ = _.concat(T), a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("current speed elapsed: ", a, ", total: ", e += a);
6815
6815
  }
6816
- } else if (f === "wind") {
6816
+ } else if (g === "wind") {
6817
6817
  M = !0;
6818
6818
  const v = this.weatherLayers.wind.raw;
6819
6819
  for (const L in v)
6820
- if (L > g && L < h && (!(o <= this.zoom) || L % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
6820
+ if (L > f && L < h && (!(o <= this.zoom) || L % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
6821
6821
  const T = v[L].lng;
6822
6822
  u > b ? T.forEach((C, S) => {
6823
6823
  var R, F, V, E;
@@ -6856,12 +6856,12 @@ const Ec = {
6856
6856
  });
6857
6857
  }
6858
6858
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("wind barb elapsed: ", a, ", total: ", e += a);
6859
- } else if (f === "sig-wave-height") {
6860
- if (this.weatherLayers[f].data)
6861
- _ = this.weatherLayers[f].data;
6859
+ } else if (g === "sig-wave-height") {
6860
+ if (this.weatherLayers[g].data)
6861
+ _ = this.weatherLayers[g].data;
6862
6862
  else {
6863
6863
  M = !0;
6864
- const v = this.weatherLayers[f].raw;
6864
+ const v = this.weatherLayers[g].raw;
6865
6865
  if (v) {
6866
6866
  const L = [];
6867
6867
  for (const T in v.Polygon) {
@@ -6895,12 +6895,12 @@ const Ec = {
6895
6895
  }
6896
6896
  }
6897
6897
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("sig-wave-height elapsed: ", a, ", total: ", e += a);
6898
- } else if (f === "prmsl") {
6899
- if (this.weatherLayers[f].data)
6900
- _ = this.weatherLayers[f].data;
6898
+ } else if (g === "prmsl") {
6899
+ if (this.weatherLayers[g].data)
6900
+ _ = this.weatherLayers[g].data;
6901
6901
  else {
6902
6902
  M = !0;
6903
- const v = this.weatherLayers[f].raw;
6903
+ const v = this.weatherLayers[g].raw;
6904
6904
  if (v) {
6905
6905
  const L = [];
6906
6906
  for (const T in v.LineString) {
@@ -6926,7 +6926,7 @@ const Ec = {
6926
6926
  }
6927
6927
  a = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("prmsl elapsed: ", a, ", total: ", e += a);
6928
6928
  }
6929
- _.length && (this.weatherLayers[f].data = B.featureCollection(_)), M && (this.weatherLayers[f].version = Math.random() + 1);
6929
+ _.length && (this.weatherLayers[g].data = B.featureCollection(_)), M && (this.weatherLayers[g].version = Math.random() + 1);
6930
6930
  }
6931
6931
  }
6932
6932
  }
@@ -6973,7 +6973,7 @@ const Ec = {
6973
6973
  }, am = { class: "text-body-1 py-2" }, om = { class: "text-body-1 font-weight-medium" }, im = { class: "text-body-2 text-label" }, rm = { class: "text-body-2 text-label" }, lm = { class: "text-body-2 text-label mb-3" }, nm = { class: "text-body-1 font-weight-medium" }, sm = { class: "text-body-2 text-label" }, cm = { class: "text-body-2 text-label" }, mm = { class: "text-body-2 text-label mb-3" }, dm = { class: "text-body-1 py-2" }, hm = { class: "text-body-1 font-weight-medium" }, pm = { class: "text-body-2 text-label" }, um = { class: "text-body-2 text-label" }, gm = { class: "text-body-2 text-label mb-3" }, fm = { class: "text-body-1 font-weight-medium" }, ym = { class: "text-body-2 text-label" }, bm = { class: "text-body-2 text-label" }, wm = { class: "text-body-2 text-label mb-3" }, xm = { class: "text-body-1 py-2" }, vm = { class: "text-body-1 font-weight-medium" }, km = { class: "text-body-2 text-label" }, _m = { class: "text-body-2 text-label" }, Lm = { class: "text-body-2 text-label mb-3" };
6974
6974
  function zm(t, e, a, i, o, r) {
6975
6975
  var J, K, oe, Y, X, ee, A, ne, fe, ke, ze, me, be, _e, Re;
6976
- const l = P("VBtn"), c = P("VTooltip"), s = P("VCol"), d = P("VRow"), m = P("VCardText"), p = P("VDivider"), u = P("VCard"), b = P("VSwitch"), g = P("VBtnToggle"), h = P("VCardTitle"), f = P("VCardItem"), M = P("VCheckbox"), _ = P("VRadio"), v = P("IdmWindBarb"), L = P("IdmSigWaveHeight"), T = P("IdmCurrentDirection"), C = P("IdmPrmsl"), S = P("IdmWindParticle"), R = P("IdmCurrentParticle"), F = P("IdmWave"), V = P("IdmSwell"), E = P("IdmIceEdge"), H = P("IdmIceCover"), Q = P("IdmIceThickness"), ae = P("IdmPrecip3h"), re = P("IdmVisibility"), pe = P("IdmWaterTemp"), G = P("IdmTemp");
6976
+ const l = P("VBtn"), c = P("VTooltip"), s = P("VCol"), d = P("VRow"), m = P("VCardText"), p = P("VDivider"), u = P("VCard"), b = P("VSwitch"), f = P("VBtnToggle"), h = P("VCardTitle"), g = P("VCardItem"), M = P("VCheckbox"), _ = P("VRadio"), v = P("IdmWindBarb"), L = P("IdmSigWaveHeight"), T = P("IdmCurrentDirection"), C = P("IdmPrmsl"), S = P("IdmWindParticle"), R = P("IdmCurrentParticle"), F = P("IdmWave"), V = P("IdmSwell"), E = P("IdmIceEdge"), H = P("IdmIceCover"), Q = P("IdmIceThickness"), ae = P("IdmPrecip3h"), re = P("IdmVisibility"), pe = P("IdmWaterTemp"), G = P("IdmTemp");
6977
6977
  return k(), I("div", Bc, [
6978
6978
  n("div", {
6979
6979
  class: "menu-bar-box transition pa-1",
@@ -7179,7 +7179,7 @@ function zm(t, e, a, i, o, r) {
7179
7179
  ], 2),
7180
7180
  a.simple ? (k(), I("div", Qc, [
7181
7181
  n("div", null, y(t.$t("weather.forecastModel")), 1),
7182
- w(g, {
7182
+ w(f, {
7183
7183
  modelValue: o.currentModel,
7184
7184
  "onUpdate:modelValue": e[2] || (e[2] = (q) => o.currentModel = q),
7185
7185
  rounded: "",
@@ -7228,7 +7228,7 @@ function zm(t, e, a, i, o, r) {
7228
7228
  elevation: "0"
7229
7229
  }, {
7230
7230
  default: x(() => [
7231
- w(f, { class: "border-b-thin" }, {
7231
+ w(g, { class: "border-b-thin" }, {
7232
7232
  default: x(() => [
7233
7233
  w(h, { class: "text-h6" }, {
7234
7234
  default: x(() => [
@@ -7265,7 +7265,7 @@ function zm(t, e, a, i, o, r) {
7265
7265
  elevation: "0"
7266
7266
  }, {
7267
7267
  default: x(() => [
7268
- w(f, { class: "border-b-thin" }, {
7268
+ w(g, { class: "border-b-thin" }, {
7269
7269
  default: x(() => [
7270
7270
  w(h, { class: "text-h6" }, {
7271
7271
  default: x(() => [
@@ -7324,7 +7324,7 @@ function zm(t, e, a, i, o, r) {
7324
7324
  "hide-details": ""
7325
7325
  }, null, 8, ["modelValue"])
7326
7326
  ])) : N("", !0),
7327
- o.renderKey === "wave-group" && q.key === "wave-group" ? (k(), W(g, {
7327
+ o.renderKey === "wave-group" && q.key === "wave-group" ? (k(), W(f, {
7328
7328
  key: 2,
7329
7329
  modelValue: o.waveToggleValue,
7330
7330
  "onUpdate:modelValue": e[7] || (e[7] = (de) => o.waveToggleValue = de),
@@ -7367,7 +7367,7 @@ function zm(t, e, a, i, o, r) {
7367
7367
  ]),
7368
7368
  _: 1
7369
7369
  }, 8, ["modelValue", "disabled"])) : N("", !0),
7370
- o.renderKey === "ice-forecast" && q.key === "ice-forecast" ? (k(), W(g, {
7370
+ o.renderKey === "ice-forecast" && q.key === "ice-forecast" ? (k(), W(f, {
7371
7371
  key: 3,
7372
7372
  modelValue: o.iceToggleValue,
7373
7373
  "onUpdate:modelValue": e[8] || (e[8] = (de) => o.iceToggleValue = de),
@@ -7422,7 +7422,7 @@ function zm(t, e, a, i, o, r) {
7422
7422
  elevation: "0"
7423
7423
  }, {
7424
7424
  default: x(() => [
7425
- w(f, { class: "border-b-thin" }, {
7425
+ w(g, { class: "border-b-thin" }, {
7426
7426
  default: x(() => [
7427
7427
  w(h, { class: "text-h6" }, {
7428
7428
  default: x(() => [
@@ -7932,7 +7932,7 @@ let Di = class {
7932
7932
  }), o;
7933
7933
  }
7934
7934
  static pickHourly(e, a) {
7935
- var i, o, r, l, c, s, d, m, p, u, b, g, h, f, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J, K, oe, Y, X, ee, A, ne, fe, ke, ze, me, be, _e, Re, q, de, He, Ve, Me, Ae;
7935
+ var i, o, r, l, c, s, d, m, p, u, b, f, h, g, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J, K, oe, Y, X, ee, A, ne, fe, ke, ze, me, be, _e, Re, q, de, He, Ve, Me, Ae;
7936
7936
  const le = typeof a == "string" ? D(a) : a, Pe = e == null ? void 0 : e.weather, ue = e == null ? void 0 : e.marine, we = D((o = (i = Pe == null ? void 0 : Pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : o.date).utc(), Be = we.clone().add((c = (l = (r = Pe == null ? void 0 : Pe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), Ue = we.clone().add((m = (d = (s = Pe == null ? void 0 : Pe[0]) == null ? void 0 : s.hourly) == null ? void 0 : d.time) == null ? void 0 : m.at(-1), "h"), Ye = [];
7937
7937
  if (le.isBetween(Be, Ue, "millisecond", "[]")) {
7938
7938
  const U = le.utc().diff(Be, "h", !1);
@@ -7948,9 +7948,9 @@ let Di = class {
7948
7948
  for (let Fe = U - (U - 1) % 12; Fe <= U; Fe++)
7949
7949
  te += (b = se == null ? void 0 : se.precipitation) == null ? void 0 : b.at(Fe);
7950
7950
  xe = {
7951
- temp: (g = se == null ? void 0 : se.temperature_2m) == null ? void 0 : g.at(U),
7951
+ temp: (f = se == null ? void 0 : se.temperature_2m) == null ? void 0 : f.at(U),
7952
7952
  apparentTemp: (h = se == null ? void 0 : se.apparent_temperature) == null ? void 0 : h.at(U),
7953
- rh: (f = se == null ? void 0 : se.relative_humidity_2m) == null ? void 0 : f.at(U),
7953
+ rh: (g = se == null ? void 0 : se.relative_humidity_2m) == null ? void 0 : g.at(U),
7954
7954
  dp: (M = se == null ? void 0 : se.dew_point_2m) == null ? void 0 : M.at(U),
7955
7955
  precip: {
7956
7956
  probability: (_ = se == null ? void 0 : se.precipitation_probability) == null ? void 0 : _.at(U),
@@ -8045,7 +8045,7 @@ let Di = class {
8045
8045
  };
8046
8046
  }
8047
8047
  static pickDaily(e, a) {
8048
- var i, o, r, l, c, s, d, m, p, u, b, g, h, f, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J, K, oe, Y, X, ee, A, ne, fe, ke, ze, me, be;
8048
+ var i, o, r, l, c, s, d, m, p, u, b, f, h, g, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J, K, oe, Y, X, ee, A, ne, fe, ke, ze, me, be;
8049
8049
  const _e = typeof a == "string" ? D(a) : a, Re = e == null ? void 0 : e.weather, q = e == null ? void 0 : e.marine, de = D((r = (o = (i = Re == null ? void 0 : Re[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), He = D((s = (c = (l = Re == null ? void 0 : Re[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), Ve = [];
8050
8050
  if (_e.isBetween(de, He, "millisecond", "[]")) {
8051
8051
  let Me, Ae;
@@ -8062,11 +8062,11 @@ let Di = class {
8062
8062
  },
8063
8063
  apparentTemp: {
8064
8064
  max: (b = ue.apparent_temperature_max) == null ? void 0 : b.at(le),
8065
- min: (g = ue.apparent_temperature_min) == null ? void 0 : g.at(le)
8065
+ min: (f = ue.apparent_temperature_min) == null ? void 0 : f.at(le)
8066
8066
  },
8067
8067
  precip: {
8068
8068
  sum: (h = ue.precipitation_sum) == null ? void 0 : h.at(le),
8069
- rainSum: (f = ue.rain_sum) == null ? void 0 : f.at(le),
8069
+ rainSum: (g = ue.rain_sum) == null ? void 0 : g.at(le),
8070
8070
  snowfallSum: (M = ue.snowfall_sum) == null ? void 0 : M.at(le),
8071
8071
  showersSum: (_ = ue.showers_sum) == null ? void 0 : _.at(le),
8072
8072
  hours: (v = ue.precipitation_hours) == null ? void 0 : v.at(le),
@@ -8738,9 +8738,9 @@ const Mm = {
8738
8738
  },
8739
8739
  responseType: /\.(jpg|png)$/.test(d.tropicals) ? "blob" : "json"
8740
8740
  }).then((m) => {
8741
- var b, g, h;
8741
+ var b, f, h;
8742
8742
  const p = Ri.convert2Geojson(((b = m == null ? void 0 : m.data) == null ? void 0 : b.data) || (m == null ? void 0 : m.data));
8743
- ((h = (g = m == null ? void 0 : m.config) == null ? void 0 : g.headers) == null ? void 0 : h.key) && p && (this.tropicals = {
8743
+ ((h = (f = m == null ? void 0 : m.config) == null ? void 0 : f.headers) == null ? void 0 : h.key) && p && (this.tropicals = {
8744
8744
  data: p,
8745
8745
  active: !0,
8746
8746
  cached: !0,
@@ -8758,7 +8758,7 @@ const Mm = {
8758
8758
  handleRefresh() {
8759
8759
  var e, a;
8760
8760
  (((a = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : a.features) || []).forEach((i) => {
8761
- var r, l, c, s, d, m, p, u, b, g, h, f, M, _, v, L, T, C, S;
8761
+ var r, l, c, s, d, m, p, u, b, f, h, g, M, _, v, L, T, C, S;
8762
8762
  let o = "";
8763
8763
  switch (!0) {
8764
8764
  case (((r = i.properties.wind) == null ? void 0 : r.kts) < 32 || ((l = i.properties) == null ? void 0 : l.kts) < 32):
@@ -8773,10 +8773,10 @@ const Mm = {
8773
8773
  case (((p = i.properties.wind) == null ? void 0 : p.kts) < 79 || ((u = i.properties) == null ? void 0 : u.kts) < 79):
8774
8774
  o = "ty";
8775
8775
  break;
8776
- case (((b = i.properties.wind) == null ? void 0 : b.kts) < 94 || ((g = i.properties) == null ? void 0 : g.kts) < 94):
8776
+ case (((b = i.properties.wind) == null ? void 0 : b.kts) < 94 || ((f = i.properties) == null ? void 0 : f.kts) < 94):
8777
8777
  o = "sty";
8778
8778
  break;
8779
- case (((h = i.properties.wind) == null ? void 0 : h.kts) >= 94 || ((f = i.properties) == null ? void 0 : f.kts) >= 94):
8779
+ case (((h = i.properties.wind) == null ? void 0 : h.kts) >= 94 || ((g = i.properties) == null ? void 0 : g.kts) >= 94):
8780
8780
  o = "superTy";
8781
8781
  break;
8782
8782
  default:
@@ -9035,7 +9035,7 @@ const Mm = {
9035
9035
  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((o) => o == null ? void 0 : o.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (a = this.map) == null || a.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
9036
9036
  },
9037
9037
  handleDateChange() {
9038
- var t, e, a, i, o, r, l, c, s, d, m, p, u, b, g, h, f, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J;
9038
+ var t, e, a, i, o, r, l, c, s, d, m, p, u, b, f, h, g, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J;
9039
9039
  if ((t = this.interpolateMarkers) == null || t.forEach((K) => K == null ? void 0 : K.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
9040
9040
  const K = D(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), oe = this.interpolateData.filter((A) => A.properties.date === (K == null ? void 0 : K.format()) && !A.properties.disabled), Y = this.handleComputePolygons(oe), X = B.featureCollection([...oe]);
9041
9041
  Y.forEach((A) => {
@@ -9079,7 +9079,7 @@ const Mm = {
9079
9079
  A.properties.nameCn = me, A.properties.Name = ((m = (d = A.properties.name) == null ? void 0 : d.trim()) == null ? void 0 : m.replace(/^./, (be) => be.toUpperCase())) || A.properties.nameCn, ee.push(A);
9080
9080
  }
9081
9081
  let ne = this.Theme.current.value.colors["tropicals-ty"];
9082
- ((u = (p = A.properties) == null ? void 0 : p.wind) == null ? void 0 : u.kts) < 32 || !((g = (b = A.properties) == null ? void 0 : b.wind) != null && g.kts) ? ne = this.Theme.current.value.colors["tropicals-td"] : ((f = (h = A.properties) == null ? void 0 : h.wind) == null ? void 0 : f.kts) >= 32 && ((_ = (M = A.properties) == null ? void 0 : M.wind) == null ? void 0 : _.kts) < 47 ? ne = this.Theme.current.value.colors["tropicals-ts"] : ((L = (v = A.properties) == null ? void 0 : v.wind) == null ? void 0 : L.kts) >= 47 && ((C = (T = A.properties) == null ? void 0 : T.wind) == null ? void 0 : C.kts) < 63 ? ne = this.Theme.current.value.colors["tropicals-sts"] : ((R = (S = A.properties) == null ? void 0 : S.wind) == null ? void 0 : R.kts) >= 63 && ((V = (F = A.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? ne = this.Theme.current.value.colors["tropicals-ty"] : ((H = (E = A.properties) == null ? void 0 : E.wind) == null ? void 0 : H.kts) >= 79 && ((ae = (Q = A.properties) == null ? void 0 : Q.wind) == null ? void 0 : ae.kts) < 94 ? ne = this.Theme.current.value.colors["tropicals-sty"] : ((pe = (re = A.properties) == null ? void 0 : re.wind) == null ? void 0 : pe.kts) >= 94 ? ne = this.Theme.current.value.colors["tropicals-super-ty"] : ne = this.Theme.current.value.colors["tropicals-ty"];
9082
+ ((u = (p = A.properties) == null ? void 0 : p.wind) == null ? void 0 : u.kts) < 32 || !((f = (b = A.properties) == null ? void 0 : b.wind) != null && f.kts) ? ne = this.Theme.current.value.colors["tropicals-td"] : ((g = (h = A.properties) == null ? void 0 : h.wind) == null ? void 0 : g.kts) >= 32 && ((_ = (M = A.properties) == null ? void 0 : M.wind) == null ? void 0 : _.kts) < 47 ? ne = this.Theme.current.value.colors["tropicals-ts"] : ((L = (v = A.properties) == null ? void 0 : v.wind) == null ? void 0 : L.kts) >= 47 && ((C = (T = A.properties) == null ? void 0 : T.wind) == null ? void 0 : C.kts) < 63 ? ne = this.Theme.current.value.colors["tropicals-sts"] : ((R = (S = A.properties) == null ? void 0 : S.wind) == null ? void 0 : R.kts) >= 63 && ((V = (F = A.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? ne = this.Theme.current.value.colors["tropicals-ty"] : ((H = (E = A.properties) == null ? void 0 : E.wind) == null ? void 0 : H.kts) >= 79 && ((ae = (Q = A.properties) == null ? void 0 : Q.wind) == null ? void 0 : ae.kts) < 94 ? ne = this.Theme.current.value.colors["tropicals-sty"] : ((pe = (re = A.properties) == null ? void 0 : re.wind) == null ? void 0 : pe.kts) >= 94 ? ne = this.Theme.current.value.colors["tropicals-super-ty"] : ne = this.Theme.current.value.colors["tropicals-ty"];
9083
9083
  const fe = `<svg t="1719918955501"
9084
9084
  class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
9085
9085
  xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
@@ -9104,16 +9104,16 @@ const Mm = {
9104
9104
  (G = this.map) != null && G.getSource(this.interpolateSource) && ((J = this.map) == null || J.getSource(this.interpolateSource).setData(this.empty));
9105
9105
  },
9106
9106
  handleClick(t) {
9107
- var o, r, l, c, s, d, m, p, u, b, g;
9107
+ var o, r, l, c, s, d, m, p, u, b, f;
9108
9108
  const e = t.features[0], a = (r = (o = this.tropicals) == null ? void 0 : o.data) == null ? void 0 : r.features.filter(
9109
9109
  (h) => {
9110
- var f;
9111
- return h.geometry.type === "LineString" && h.properties.type === "forecast" && h.properties.name === ((f = e == null ? void 0 : e.properties) == null ? void 0 : f.name);
9110
+ var g;
9111
+ return h.geometry.type === "LineString" && h.properties.type === "forecast" && h.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
9112
9112
  }
9113
9113
  ), i = (c = (l = this.tropicals) == null ? void 0 : l.data) == null ? void 0 : c.features.filter(
9114
9114
  (h) => {
9115
- var f;
9116
- return h.geometry.type === "LineString" && h.properties.type === "history" && h.properties.name === ((f = e == null ? void 0 : e.properties) == null ? void 0 : f.name);
9115
+ var g;
9116
+ return h.geometry.type === "LineString" && h.properties.type === "history" && h.properties.name === ((g = e == null ? void 0 : e.properties) == null ? void 0 : g.name);
9117
9117
  }
9118
9118
  );
9119
9119
  this.activeTropicals = {
@@ -9122,7 +9122,7 @@ const Mm = {
9122
9122
  Name: ((p = e == null ? void 0 : e.properties) == null ? void 0 : p.Name) || "-",
9123
9123
  forecasts: a.map((h) => h.properties),
9124
9124
  history: (u = i[0]) == null ? void 0 : u.properties,
9125
- showCircle: (g = (b = a[0]) == null ? void 0 : b.properties) == null ? void 0 : g.showCircle
9125
+ showCircle: (f = (b = a[0]) == null ? void 0 : b.properties) == null ? void 0 : f.showCircle
9126
9126
  }, this.showTropicalsInfo = !0, this.simple || this.drawTropicalsInfoMaker([t.lngLat.lng, t.lngLat.lat]);
9127
9127
  },
9128
9128
  drawTropicalsInfoMaker(t) {
@@ -9317,11 +9317,11 @@ function sh(t, e, a, i, o, r) {
9317
9317
  default: x(() => [
9318
9318
  w(s, null, {
9319
9319
  default: x(() => {
9320
- var b, g, h, f, M, _, v, L, T, C, S, R;
9320
+ var b, f, h, g, M, _, v, L, T, C, S, R;
9321
9321
  return [
9322
9322
  n("div", Sm, [
9323
- n("span", Tm, y(a.locale === "en" ? (b = o.activeTropicals) == null ? void 0 : b.Name : ((g = o.activeTropicals) == null ? void 0 : g.nameCn) || ((h = o.activeTropicals) == null ? void 0 : h.Name) || "-"), 1),
9324
- (M = (f = o.activeTropicals) == null ? void 0 : f.history) != null && M.levelI18n ? (k(), I("span", Rm, " , " + y(t.$t("tropical." + ((v = (_ = o.activeTropicals) == null ? void 0 : _.history) == null ? void 0 : v.levelI18n))), 1)) : N("", !0)
9323
+ n("span", Tm, y(a.locale === "en" ? (b = o.activeTropicals) == null ? void 0 : b.Name : ((f = o.activeTropicals) == null ? void 0 : f.nameCn) || ((h = o.activeTropicals) == null ? void 0 : h.Name) || "-"), 1),
9324
+ (M = (g = o.activeTropicals) == null ? void 0 : g.history) != null && M.levelI18n ? (k(), I("span", Rm, " , " + y(t.$t("tropical." + ((v = (_ = o.activeTropicals) == null ? void 0 : _.history) == null ? void 0 : v.levelI18n))), 1)) : N("", !0)
9325
9325
  ]),
9326
9326
  w(l, {
9327
9327
  icon: "",
@@ -9347,13 +9347,13 @@ function sh(t, e, a, i, o, r) {
9347
9347
  w(d),
9348
9348
  w(s, { class: "text-body-1 py-3" }, {
9349
9349
  default: x(() => {
9350
- var b, g, h, f, M, _, v, L, T;
9350
+ var b, f, h, g, M, _, v, L, T;
9351
9351
  return [
9352
9352
  n("div", Am, [
9353
9353
  n("div", Gm, [
9354
9354
  n("label", Nm, y(t.$t("weather.windSpeed")) + " : ", 1),
9355
- n("span", null, y(((g = (b = o.activeTropicals) == null ? void 0 : b.history) == null ? void 0 : g.kts) || "-") + " kts", 1),
9356
- n("span", null, ", BF " + y(r.computeBF(((f = (h = o.activeTropicals) == null ? void 0 : h.history) == null ? void 0 : f.kts) || "-")), 1)
9355
+ n("span", null, y(((f = (b = o.activeTropicals) == null ? void 0 : b.history) == null ? void 0 : f.kts) || "-") + " kts", 1),
9356
+ n("span", null, ", BF " + y(r.computeBF(((g = (h = o.activeTropicals) == null ? void 0 : h.history) == null ? void 0 : g.kts) || "-")), 1)
9357
9357
  ]),
9358
9358
  n("div", Fm, [
9359
9359
  n("label", Wm, y(t.$t("weather.pressure")) + " : ", 1),
@@ -9549,11 +9549,11 @@ function sh(t, e, a, i, o, r) {
9549
9549
  default: x(() => [
9550
9550
  w(u, null, {
9551
9551
  default: x(() => {
9552
- var b, g, h, f;
9552
+ var b, f, h, g;
9553
9553
  return [
9554
9554
  n("div", Wd, [
9555
- n("span", Vd, y(a.locale === "en" ? (b = o.hoverPoint) == null ? void 0 : b.Name : ((g = o.hoverPoint) == null ? void 0 : g.nameCn) || ((h = o.hoverPoint) == null ? void 0 : h.Name)), 1),
9556
- n("span", Ed, " [" + y(t.$t("tropical." + ((f = o.hoverPoint) == null ? void 0 : f.levelI18n))) + "]", 1)
9555
+ n("span", Vd, y(a.locale === "en" ? (b = o.hoverPoint) == null ? void 0 : b.Name : ((f = o.hoverPoint) == null ? void 0 : f.nameCn) || ((h = o.hoverPoint) == null ? void 0 : h.Name)), 1),
9556
+ n("span", Ed, " [" + y(t.$t("tropical." + ((g = o.hoverPoint) == null ? void 0 : g.levelI18n))) + "]", 1)
9557
9557
  ])
9558
9558
  ];
9559
9559
  }),
@@ -9562,16 +9562,16 @@ function sh(t, e, a, i, o, r) {
9562
9562
  w(d),
9563
9563
  w(s, { class: "text-body-1" }, {
9564
9564
  default: x(() => {
9565
- var b, g, h, f, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe;
9565
+ var b, f, h, g, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe;
9566
9566
  return [
9567
9567
  n("div", Bd, [
9568
9568
  ((b = o.hoverPoint) == null ? void 0 : b.type) === "forecast" ? (k(), I("div", Zd, [
9569
9569
  n("label", Od, y(t.$t("tropical.updated")) + " : ", 1),
9570
- n("span", null, y(r.computeTzTime((g = o.hoverPoint) == null ? void 0 : g.update, a.timeZone)), 1)
9570
+ n("span", null, y(r.computeTzTime((f = o.hoverPoint) == null ? void 0 : f.update, a.timeZone)), 1)
9571
9571
  ])) : N("", !0),
9572
9572
  ((h = o.hoverPoint) == null ? void 0 : h.type) === "forecast" ? (k(), I("div", jd, [
9573
9573
  n("label", Xd, y(t.$t("tropical.forecast")) + " : ", 1),
9574
- n("span", null, y(r.computeTzTime((f = o.hoverPoint) == null ? void 0 : f.date, a.timeZone)), 1)
9574
+ n("span", null, y(r.computeTzTime((g = o.hoverPoint) == null ? void 0 : g.date, a.timeZone)), 1)
9575
9575
  ])) : N("", !0),
9576
9576
  ((M = o.hoverPoint) == null ? void 0 : M.type) === "history" ? (k(), I("div", Hd, [
9577
9577
  n("label", Yd, y(t.$t("tropical.forecast")) + " : ", 1),
@@ -9810,14 +9810,14 @@ const ch = {
9810
9810
  style: { height: "44px" }
9811
9811
  };
9812
9812
  function uh(t, e, a, i, o, r) {
9813
- const l = P("VDatePicker"), c = P("VDivider"), s = P("VListItemTitle"), d = P("VListItem"), m = P("VList"), p = P("VCardText"), u = P("VBtn"), b = P("VCardActions"), g = P("VCard");
9813
+ const l = P("VDatePicker"), c = P("VDivider"), s = P("VListItemTitle"), d = P("VListItem"), m = P("VList"), p = P("VCardText"), u = P("VBtn"), b = P("VCardActions"), f = P("VCard");
9814
9814
  return k(), I("div", mh, [
9815
9815
  n("div", {
9816
9816
  style: he({ height: a.height + "px", width: a.width ? a.width + "px" : "auto" }),
9817
9817
  class: ge([[a.bgClass, { "cursor-pointer": !a.disabled }], "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-center px-2"]),
9818
9818
  onClick: e[0] || (e[0] = (...h) => r.handleOpenDatePicker && r.handleOpenDatePicker(...h))
9819
9819
  }, y(o.currentDateTime) + " | UTC " + y(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 7),
9820
- o.showDatePicker ? (k(), W(g, {
9820
+ o.showDatePicker ? (k(), W(f, {
9821
9821
  key: 0,
9822
9822
  class: "card-box d-flex flex-column border elevation-12",
9823
9823
  style: he(r.getStyle)
@@ -9846,8 +9846,8 @@ function uh(t, e, a, i, o, r) {
9846
9846
  n("div", ph, y(t.$t("time.time")), 1),
9847
9847
  w(m, { class: "pa-0 flex-1-1-0 scroll" }, {
9848
9848
  default: x(() => [
9849
- (k(!0), I(Te, null, De(r.hourOptions, (h, f) => (k(), W(d, {
9850
- key: f,
9849
+ (k(!0), I(Te, null, De(r.hourOptions, (h, g) => (k(), W(d, {
9850
+ key: g,
9851
9851
  value: h,
9852
9852
  color: "primary",
9853
9853
  active: o.currentTime === h,
@@ -10181,10 +10181,10 @@ const gh = {
10181
10181
  }), this.loading = !1;
10182
10182
  },
10183
10183
  initTableData(t) {
10184
- var a, i, o, r, l, c, s, d, m, p, u, b, g, h, f, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J, K, oe, Y, X, ee, A, ne, fe;
10184
+ var a, i, o, r, l, c, s, d, m, p, u, b, f, h, g, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J, K, oe, Y, X, ee, A, ne, fe;
10185
10185
  this.currentHourData = {}, this.positionGmt = (i = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : r.offset;
10186
10186
  const e = ((l = Za.pickHourly(t, D(this.form.dateTime))) == null ? void 0 : l[0]) || {};
10187
- 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((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((u = e == null ? void 0 : e.weather) == null ? void 0 : u.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((g = (b = e == null ? void 0 : e.weather) == null ? void 0 : b.wind) == null ? void 0 : g.kts, 1) ?? "-", this.currentHourData.windDir = ((f = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : f.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((_ = (M = e == null ? void 0 : e.weather) == null ? void 0 : M.wind) == null ? void 0 : _.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((L = (v = e == null ? void 0 : e.weather) == null ? void 0 : v.wind) == null ? void 0 : L.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (T = e == null ? void 0 : e.wave) == null ? void 0 : T.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (S = e == null ? void 0 : e.wave) == null ? void 0 : S.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((H = (E = e == null ? void 0 : e.wave) == null ? void 0 : E.wd) == null ? void 0 : H.height, 1) ?? "-", this.currentHourData.windwaveDir = (ae = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : ae.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((pe = (re = e == null ? void 0 : e.wave) == null ? void 0 : re.wd) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (oe = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.swell) == null ? void 0 : oe.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((X = (Y = e == null ? void 0 : e.wave) == null ? void 0 : Y.swell) == null ? void 0 : X.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ee = e == null ? void 0 : e.current) == null ? void 0 : ee.speed, 1) ?? "-", this.currentHourData.currentDir = (A = e == null ? void 0 : e.current) == null ? void 0 : A.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 = (fe = e == null ? void 0 : e.weather) == null ? void 0 : fe.url;
10187
+ 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((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((u = e == null ? void 0 : e.weather) == null ? void 0 : u.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((f = (b = e == null ? void 0 : e.weather) == null ? void 0 : b.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((g = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : g.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((_ = (M = e == null ? void 0 : e.weather) == null ? void 0 : M.wind) == null ? void 0 : _.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((L = (v = e == null ? void 0 : e.weather) == null ? void 0 : v.wind) == null ? void 0 : L.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (T = e == null ? void 0 : e.wave) == null ? void 0 : T.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (S = e == null ? void 0 : e.wave) == null ? void 0 : S.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((H = (E = e == null ? void 0 : e.wave) == null ? void 0 : E.wd) == null ? void 0 : H.height, 1) ?? "-", this.currentHourData.windwaveDir = (ae = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : ae.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((pe = (re = e == null ? void 0 : e.wave) == null ? void 0 : re.wd) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (oe = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.swell) == null ? void 0 : oe.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((X = (Y = e == null ? void 0 : e.wave) == null ? void 0 : Y.swell) == null ? void 0 : X.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ee = e == null ? void 0 : e.current) == null ? void 0 : ee.speed, 1) ?? "-", this.currentHourData.currentDir = (A = e == null ? void 0 : e.current) == null ? void 0 : A.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 = (fe = e == null ? void 0 : e.weather) == null ? void 0 : fe.url;
10188
10188
  },
10189
10189
  handleBind() {
10190
10190
  var t, e;
@@ -10295,7 +10295,7 @@ const gh = {
10295
10295
  "aria-hidden": "true"
10296
10296
  }, gp = ["xlink:href"];
10297
10297
  function fp(t, e, a, i, o, r) {
10298
- const l = P("VBtn"), c = P("VTooltip"), s = P("VCardTitle"), d = P("VDivider"), m = P("VTextField"), p = P("VCol"), u = P("VRow"), b = P("DateTimePicker"), g = P("VBtnToggle"), h = P("VCardText"), f = P("VCardActions"), M = P("VForm"), _ = P("VCard");
10298
+ const l = P("VBtn"), c = P("VTooltip"), s = P("VCardTitle"), d = P("VDivider"), m = P("VTextField"), p = P("VCol"), u = P("VRow"), b = P("DateTimePicker"), f = P("VBtnToggle"), h = P("VCardText"), g = P("VCardActions"), M = P("VForm"), _ = P("VCard");
10299
10299
  return k(), I("div", fh, [
10300
10300
  n("div", {
10301
10301
  class: "menu-bar-box transition pa-1",
@@ -10555,7 +10555,7 @@ function fp(t, e, a, i, o, r) {
10555
10555
  class: "pa-0"
10556
10556
  }, {
10557
10557
  default: x(() => [
10558
- w(g, {
10558
+ w(f, {
10559
10559
  modelValue: o.form.forecastModel,
10560
10560
  "onUpdate:modelValue": e[7] || (e[7] = (v) => o.form.forecastModel = v),
10561
10561
  class: "w-100",
@@ -10606,7 +10606,7 @@ function fp(t, e, a, i, o, r) {
10606
10606
  _: 1
10607
10607
  }),
10608
10608
  w(d),
10609
- w(f, { class: "d-flex justify-end align-center ga-4 pa-4" }, {
10609
+ w(g, { class: "d-flex justify-end align-center ga-4 pa-4" }, {
10610
10610
  default: x(() => [
10611
10611
  w(l, {
10612
10612
  size: "small",
@@ -10710,7 +10710,7 @@ function fp(t, e, a, i, o, r) {
10710
10710
  _: 1
10711
10711
  }),
10712
10712
  w(d),
10713
- w(f, { class: "d-flex justify-space-between align-center" }, {
10713
+ w(g, { class: "d-flex justify-space-between align-center" }, {
10714
10714
  default: x(() => {
10715
10715
  var v;
10716
10716
  return [
@@ -11008,24 +11008,24 @@ const bp = {
11008
11008
  var a, i, o, r, l, c, s, d, m, p;
11009
11009
  const e = (i = (a = t.target) == null ? void 0 : a._element) == null ? void 0 : i.id;
11010
11010
  if ((e == null ? void 0 : e.split("-").length) === 2) {
11011
- const u = this.geojson.filter((f) => f.id === e.split("-")[0])[0];
11012
- this.pointMarkers[u.id].filter((f) => {
11011
+ const u = this.geojson.filter((g) => g.id === e.split("-")[0])[0];
11012
+ this.pointMarkers[u.id].filter((g) => {
11013
11013
  var M;
11014
- return ((M = f._element) == null ? void 0 : M.id) === e;
11014
+ return ((M = g._element) == null ? void 0 : M.id) === e;
11015
11015
  })[0].setLngLat([(r = (o = t.target) == null ? void 0 : o._lngLat) == null ? void 0 : r.lng, (c = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : c.lat]);
11016
- let g;
11017
- u.features.forEach((f, M) => {
11018
- if (f.geometry.type === "Point" && f.properties.id === e.split("-")[1]) {
11019
- g = M;
11016
+ let f;
11017
+ u.features.forEach((g, M) => {
11018
+ if (g.geometry.type === "Point" && g.properties.id === e.split("-")[1]) {
11019
+ f = M;
11020
11020
  return;
11021
11021
  }
11022
11022
  });
11023
- const h = u.features.filter((f) => f.geometry.type === "Point");
11023
+ const h = u.features.filter((g) => g.geometry.type === "Point");
11024
11024
  this.handleTmpPointUpdate(
11025
11025
  u,
11026
- h[g - 1],
11027
- { lng: (d = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : d.lng, lat: (p = (m = t.target) == null ? void 0 : m._lngLat) == null ? void 0 : p.lat, properties: h[g].properties },
11028
- g === h.length - 1 ? void 0 : h[g + 1]
11026
+ h[f - 1],
11027
+ { lng: (d = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : d.lng, lat: (p = (m = t.target) == null ? void 0 : m._lngLat) == null ? void 0 : p.lat, properties: h[f].properties },
11028
+ f === h.length - 1 ? void 0 : h[f + 1]
11029
11029
  );
11030
11030
  }
11031
11031
  },
@@ -11035,11 +11035,11 @@ const bp = {
11035
11035
  if ((e == null ? void 0 : e.split("-").length) === 2) {
11036
11036
  const u = this.geojson.filter((h) => h.id === e.split("-")[0])[0];
11037
11037
  this.pointMarkers[u.id].filter((h) => {
11038
- var f;
11039
- return ((f = h._element) == null ? void 0 : f.id) === e;
11038
+ var g;
11039
+ return ((g = h._element) == null ? void 0 : g.id) === e;
11040
11040
  })[0].setLngLat([(r = (o = t.target) == null ? void 0 : o._lngLat) == null ? void 0 : r.lng, (c = (l = t.target) == null ? void 0 : l._lngLat) == null ? void 0 : c.lat]);
11041
- const g = u.features.filter((h) => h.geometry.type === "Point" && h.properties.id === e.split("-")[1])[0];
11042
- g.geometry.coordinates = [(d = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : d.lng, (p = (m = t.target) == null ? void 0 : m._lngLat) == null ? void 0 : p.lat], u.features = u.features.filter((h) => h.geometry.type === "Point"), this.handlePointUpdate(u);
11041
+ const f = u.features.filter((h) => h.geometry.type === "Point" && h.properties.id === e.split("-")[1])[0];
11042
+ f.geometry.coordinates = [(d = (s = t.target) == null ? void 0 : s._lngLat) == null ? void 0 : d.lng, (p = (m = t.target) == null ? void 0 : m._lngLat) == null ? void 0 : p.lat], u.features = u.features.filter((h) => h.geometry.type === "Point"), this.handlePointUpdate(u);
11043
11043
  }
11044
11044
  },
11045
11045
  handleContextmenu(t) {
@@ -11093,8 +11093,8 @@ const bp = {
11093
11093
  c.mode === "RL" ? u = j.convertToMonotonicLng([s, d]) : u = j.convertToMonotonicLng(Xe.interpolateCoordinates(s, d, 200));
11094
11094
  const b = B.lineString(u.map((h) => [h.lng, h.lat]));
11095
11095
  b.properties.dist = m, b.properties.bearing = p, b.properties.total = a, b.properties.name = "Line " + this.currentLineIndex, i.push(b);
11096
- const g = e[o];
11097
- g.properties.totalDist = j.roundPrecision((c.totalDist ? c.totalDist : 0) + m, 4), g.properties.sumLabel = g.properties.totalDist + " nm";
11096
+ const f = e[o];
11097
+ f.properties.totalDist = j.roundPrecision((c.totalDist ? c.totalDist : 0) + m, 4), f.properties.sumLabel = f.properties.totalDist + " nm";
11098
11098
  }
11099
11099
  e.push(...i), t.total = a;
11100
11100
  }
@@ -11258,11 +11258,11 @@ const bp = {
11258
11258
  }
11259
11259
  },
11260
11260
  handleClear(t, e = !0) {
11261
- var l, c, s, d, m, p, u, b, g, h;
11261
+ var l, c, s, d, m, p, u, b, f, h;
11262
11262
  const a = `${t.id}-${this.source}`, i = `${t.id}-${this.layer}`, o = `${t.id}-${this.labelLayer}`, r = `${t.id}-${this.sumLayer}`;
11263
- (l = this.map) != null && l.getLayer(i) && this.map.removeLayer(i), (c = this.map) != null && c.getLayer(o) && this.map.removeLayer(o), (s = this.map) != null && s.getLayer(r) && this.map.removeLayer(r), (d = this.map) != null && d.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (m = this.map) != null && m.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (p = this.closeMarkers[t.id]) == null || p.remove(), this.closeMarkers[t.id] = void 0, (u = this.pointMarkers[t.id]) == null || u.forEach((f) => {
11264
- f == null || f.remove();
11265
- }), this.pointMarkers[t.id] = [], (b = this.tipMarker) == null || b.remove(), this.tipMarker = void 0, e && ((g = this.map) != null && g.getSource(a)) && this.map.removeSource(a), e && ((h = this.map) != null && h.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
11263
+ (l = this.map) != null && l.getLayer(i) && this.map.removeLayer(i), (c = this.map) != null && c.getLayer(o) && this.map.removeLayer(o), (s = this.map) != null && s.getLayer(r) && this.map.removeLayer(r), (d = this.map) != null && d.getLayer(this.tmpLayer) && this.map.removeLayer(this.tmpLayer), (m = this.map) != null && m.getLayer(this.tmpLabelLayer) && this.map.removeLayer(this.tmpLabelLayer), (p = this.closeMarkers[t.id]) == null || p.remove(), this.closeMarkers[t.id] = void 0, (u = this.pointMarkers[t.id]) == null || u.forEach((g) => {
11264
+ g == null || g.remove();
11265
+ }), this.pointMarkers[t.id] = [], (b = this.tipMarker) == null || b.remove(), this.tipMarker = void 0, e && ((f = this.map) != null && f.getSource(a)) && this.map.removeSource(a), e && ((h = this.map) != null && h.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
11266
11266
  }
11267
11267
  }
11268
11268
  }, wp = { class: "idm-gl4-measure" };
@@ -11887,11 +11887,11 @@ const kp = {
11887
11887
  const r = [(t[0] + e[0]) / 2, (t[1] + e[1]) / 2], l = this.map.project(t), c = this.map.project(e), s = c.x - l.x, d = c.y - l.y;
11888
11888
  let m = Math.atan2(d, s) * 180 / Math.PI;
11889
11889
  m > 90 && (m -= 180), m < -90 && (m += 180);
11890
- const p = 16, u = (m - 90) * Math.PI / 180, b = Math.round(Math.cos(u) * p), g = Math.round(Math.sin(u) * p);
11890
+ const p = 16, u = (m - 90) * Math.PI / 180, b = Math.round(Math.cos(u) * p), f = Math.round(Math.sin(u) * p);
11891
11891
  this.circleMarkers.length > 1 && (this.circleMarkers[1].remove(), this.circleMarkers.splice(1, 1));
11892
- const h = document.createElement("div"), f = document.createElement("span");
11893
- f.className = "idm-gl4-draw-radius-label", f.style.transform = `rotate(${m}deg)`, f.style.transformOrigin = "center", f.style.display = "inline-block", f.textContent = `${i} nm`, h.appendChild(f);
11894
- const M = new ye.Marker(h, { anchor: "center", offset: [b, g] }).setLngLat(r).addTo(this.map);
11892
+ const h = document.createElement("div"), g = document.createElement("span");
11893
+ g.className = "idm-gl4-draw-radius-label", g.style.transform = `rotate(${m}deg)`, g.style.transformOrigin = "center", g.style.display = "inline-block", g.textContent = `${i} nm`, h.appendChild(g);
11894
+ const M = new ye.Marker(h, { anchor: "center", offset: [b, f] }).setLngLat(r).addTo(this.map);
11895
11895
  this.circleMarkers.push(M);
11896
11896
  },
11897
11897
  handleClearCircleLabels() {
@@ -12108,8 +12108,8 @@ const kp = {
12108
12108
  class: "mb-3"
12109
12109
  }, Op = { class: "text-label mb-1" }, jp = { class: "mb-1" }, Xp = { class: "text-label mb-1" }, Hp = { class: "color-picker-row d-flex align-start ga-2" }, Yp = ["value"], Up = { class: "mb-n2" }, $p = { class: "text-label mb-1" };
12110
12110
  function Jp(t, e, a, i, o, r) {
12111
- const l = P("VBtn"), c = P("VCardTitle"), s = P("VDivider"), d = P("VTextField"), m = P("VCardText"), p = P("VBtnToggle"), u = P("VCol"), b = P("VRow"), g = P("VCardActions"), h = P("VForm"), f = P("VCard");
12112
- return k(), W(f, {
12111
+ const l = P("VBtn"), c = P("VCardTitle"), s = P("VDivider"), d = P("VTextField"), m = P("VCardText"), p = P("VBtnToggle"), u = P("VCol"), b = P("VRow"), f = P("VCardActions"), h = P("VForm"), g = P("VCard");
12112
+ return k(), W(g, {
12113
12113
  class: "idm-gl4-draw-dialog-card",
12114
12114
  elevation: "4"
12115
12115
  }, {
@@ -12444,7 +12444,7 @@ function Jp(t, e, a, i, o, r) {
12444
12444
  _: 1
12445
12445
  }),
12446
12446
  w(s),
12447
- w(g, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
12447
+ w(f, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
12448
12448
  default: x(() => [
12449
12449
  w(l, {
12450
12450
  class: "text-none text-body-1",
@@ -12527,7 +12527,7 @@ function Jp(t, e, a, i, o, r) {
12527
12527
  _: 1
12528
12528
  }),
12529
12529
  w(s),
12530
- w(g, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
12530
+ w(f, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
12531
12531
  default: x(() => [
12532
12532
  w(l, {
12533
12533
  class: "text-none text-body-1",
@@ -12674,7 +12674,7 @@ function Jp(t, e, a, i, o, r) {
12674
12674
  _: 1
12675
12675
  }),
12676
12676
  w(s),
12677
- w(g, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
12677
+ w(f, { class: "w-100 d-flex justify-end align-center ga-4 pa-4" }, {
12678
12678
  default: x(() => {
12679
12679
  var _;
12680
12680
  return [
@@ -12952,8 +12952,8 @@ const qp = {
12952
12952
  class: "file-item d-flex align-center justify-space-between mt-2 gray-bg-1 pa-1"
12953
12953
  }, du = { class: "text-body-2 text-truncate" };
12954
12954
  function hu(t, e, a, i, o, r) {
12955
- const l = P("VBtn"), c = P("VCardTitle"), s = P("VDivider"), d = P("VTextField"), m = P("VIcon"), p = P("VCardText"), u = P("VCardActions"), b = P("VForm"), g = P("VCard");
12956
- return k(), W(g, {
12955
+ const l = P("VBtn"), c = P("VCardTitle"), s = P("VDivider"), d = P("VTextField"), m = P("VIcon"), p = P("VCardText"), u = P("VCardActions"), b = P("VForm"), f = P("VCard");
12956
+ return k(), W(f, {
12957
12957
  class: "idm-gl4-import-dialog-card",
12958
12958
  elevation: "4"
12959
12959
  }, {
@@ -13197,7 +13197,7 @@ function yu(t, e, a, i, o, r) {
13197
13197
  "model-value": a.modelValue,
13198
13198
  "max-width": "320",
13199
13199
  persistent: "",
13200
- "onUpdate:modelValue": e[1] || (e[1] = (g) => t.$emit("update:modelValue", g))
13200
+ "onUpdate:modelValue": e[1] || (e[1] = (f) => t.$emit("update:modelValue", f))
13201
13201
  }, {
13202
13202
  default: x(() => [
13203
13203
  w(u, {
@@ -13233,7 +13233,7 @@ function yu(t, e, a, i, o, r) {
13233
13233
  ]),
13234
13234
  w(d, {
13235
13235
  modelValue: o.localName,
13236
- "onUpdate:modelValue": e[0] || (e[0] = (g) => o.localName = g),
13236
+ "onUpdate:modelValue": e[0] || (e[0] = (f) => o.localName = f),
13237
13237
  density: "compact",
13238
13238
  variant: "outlined",
13239
13239
  "hide-details": "",
@@ -13600,33 +13600,33 @@ const Lu = {
13600
13600
  })) {
13601
13601
  const c = [];
13602
13602
  i.forEach((s) => {
13603
- var u, b, g, h;
13604
- const d = (u = s.geometry) == null ? void 0 : u.type, m = ((b = s.properties) == null ? void 0 : b.name) || "", p = ((g = s.properties) == null ? void 0 : g.color) || t.color || ((h = this.Theme.current.value.colors) == null ? void 0 : h["map-green"]);
13603
+ var u, b, f, h;
13604
+ const d = (u = s.geometry) == null ? void 0 : u.type, m = ((b = s.properties) == null ? void 0 : b.name) || "", p = ((f = s.properties) == null ? void 0 : f.color) || t.color || ((h = this.Theme.current.value.colors) == null ? void 0 : h["map-green"]);
13605
13605
  if (d === "Point") {
13606
- const [f, M] = s.geometry.coordinates, _ = `<div style="font-size:12px;line-height:1.5;">
13606
+ const [g, M] = s.geometry.coordinates, _ = `<div style="font-size:12px;line-height:1.5;">
13607
13607
  <div style="font-weight:600;">${m}</div>
13608
- <div>${j.lat2pretty(M, 4).pretty}, ${j.lng2pretty(f, 4).pretty}</div>
13608
+ <div>${j.lat2pretty(M, 4).pretty}, ${j.lng2pretty(g, 4).pretty}</div>
13609
13609
  </div>`, v = new ye.Popup({
13610
13610
  offset: 40,
13611
13611
  closeButton: !1,
13612
13612
  closeOnClick: !1,
13613
13613
  anchor: "bottom",
13614
13614
  className: "marker-popup-dark"
13615
- }).setHTML(_), L = new ye.Marker({ color: p }).setLngLat([f, M]).addTo(this.map), T = L.getElement();
13616
- T.addEventListener("mouseenter", () => v.setLngLat([f, M]).addTo(this.map)), T.addEventListener("mouseleave", () => v.remove()), c.push(L);
13615
+ }).setHTML(_), L = new ye.Marker({ color: p }).setLngLat([g, M]).addTo(this.map), T = L.getElement();
13616
+ T.addEventListener("mouseenter", () => v.setLngLat([g, M]).addTo(this.map)), T.addEventListener("mouseleave", () => v.remove()), c.push(L);
13617
13617
  } else
13618
- d === "MultiPoint" && s.geometry.coordinates.forEach(([f, M]) => {
13618
+ d === "MultiPoint" && s.geometry.coordinates.forEach(([g, M]) => {
13619
13619
  const _ = `<div style="font-size:12px;line-height:1.5;">
13620
13620
  <div style="font-weight:600;">${m}</div>
13621
- <div>${j.lat2pretty(M, 4).pretty}, ${j.lng2pretty(f, 4).pretty}</div>
13621
+ <div>${j.lat2pretty(M, 4).pretty}, ${j.lng2pretty(g, 4).pretty}</div>
13622
13622
  </div>`, v = new ye.Popup({
13623
13623
  offset: 40,
13624
13624
  closeButton: !1,
13625
13625
  closeOnClick: !1,
13626
13626
  anchor: "bottom",
13627
13627
  className: "marker-popup-dark"
13628
- }).setHTML(_), L = new ye.Marker({ color: p }).setLngLat([f, M]).addTo(this.map), T = L.getElement();
13629
- T.addEventListener("mouseenter", () => v.setLngLat([f, M]).addTo(this.map)), T.addEventListener("mouseleave", () => v.remove()), c.push(L);
13628
+ }).setHTML(_), L = new ye.Marker({ color: p }).setLngLat([g, M]).addTo(this.map), T = L.getElement();
13629
+ T.addEventListener("mouseenter", () => v.setLngLat([g, M]).addTo(this.map)), T.addEventListener("mouseleave", () => v.remove()), c.push(L);
13630
13630
  });
13631
13631
  }), this.layerMarkers[t.id] = c;
13632
13632
  }
@@ -13779,7 +13779,7 @@ const Lu = {
13779
13779
  };
13780
13780
  function Xu(t, e, a, i, o, r) {
13781
13781
  var S;
13782
- const l = P("VBtn"), c = P("VTooltip"), s = P("VSwitch"), d = P("VIcon"), m = P("VTextField"), p = P("VProgressCircular"), u = P("VChip"), b = P("VListItemTitle"), g = P("VListItem"), h = P("VList"), f = P("VCard"), M = P("VMenu"), _ = P("VDivider"), v = P("IdmDrawMarker"), L = P("IdmImportMarker"), T = P("IdmGroupDialog"), C = P("DeleteDialog");
13782
+ const l = P("VBtn"), c = P("VTooltip"), s = P("VSwitch"), d = P("VIcon"), m = P("VTextField"), p = P("VProgressCircular"), u = P("VChip"), b = P("VListItemTitle"), f = P("VListItem"), h = P("VList"), g = P("VCard"), M = P("VMenu"), _ = P("VDivider"), v = P("IdmDrawMarker"), L = P("IdmImportMarker"), T = P("IdmGroupDialog"), C = P("DeleteDialog");
13783
13783
  return k(), I("div", zu, [
13784
13784
  n("div", {
13785
13785
  class: "menu-bar-box transition pa-1",
@@ -13978,11 +13978,11 @@ function Xu(t, e, a, i, o, r) {
13978
13978
  class: "drop-menu"
13979
13979
  }, {
13980
13980
  default: x(() => [
13981
- w(f, { class: "pa-2 px-0" }, {
13981
+ w(g, { class: "pa-2 px-0" }, {
13982
13982
  default: x(() => [
13983
13983
  w(h, { class: "" }, {
13984
13984
  default: x(() => [
13985
- w(g, {
13985
+ w(f, {
13986
13986
  value: "account",
13987
13987
  variant: "flat",
13988
13988
  rounded: "",
@@ -14006,7 +14006,7 @@ function Xu(t, e, a, i, o, r) {
14006
14006
  ]),
14007
14007
  _: 2
14008
14008
  }, 1024),
14009
- w(g, {
14009
+ w(f, {
14010
14010
  value: "help",
14011
14011
  variant: "flat",
14012
14012
  rounded: "",
@@ -14030,7 +14030,7 @@ function Xu(t, e, a, i, o, r) {
14030
14030
  ]),
14031
14031
  _: 2
14032
14032
  }, 1024),
14033
- w(g, {
14033
+ w(f, {
14034
14034
  value: "loginOut",
14035
14035
  variant: "flat",
14036
14036
  rounded: "",
@@ -14298,18 +14298,18 @@ async function Je(t, e = {}) {
14298
14298
  return { ok: !0, data: String(t), status: 200, url: t, fromCache: !1 };
14299
14299
  if (a === "dataURL")
14300
14300
  return { ok: !0, data: String(t), status: 200, url: t, fromCache: !1, mime: String(t).slice(5).split(";")[0] || "" };
14301
- let [, f = "", M = ""] = String(t).match(/^data:([^,]*),(.*)$/) || [], _ = /;base64/i.test(f) ? atob(M) : decodeURIComponent(M), v = new Uint8Array([..._].map((T) => T.charCodeAt(0))), L = new Blob([v], { type: (f || "").split(";")[0] || "" });
14301
+ let [, g = "", M = ""] = String(t).match(/^data:([^,]*),(.*)$/) || [], _ = /;base64/i.test(g) ? atob(M) : decodeURIComponent(M), v = new Uint8Array([..._].map((T) => T.charCodeAt(0))), L = new Blob([v], { type: (g || "").split(";")[0] || "" });
14302
14302
  return { ok: !0, data: L, status: 200, url: t, fromCache: !1, mime: L.type || "" };
14303
14303
  } catch {
14304
14304
  return { ok: !1, data: null, status: 0, url: t, fromCache: !1, reason: "special_url_error" };
14305
14305
  }
14306
14306
  if (/^blob:/i.test(t))
14307
14307
  try {
14308
- let f = await fetch(t);
14309
- if (!f.ok)
14310
- return { ok: !1, data: null, status: f.status, url: t, fromCache: !1, reason: "http_error" };
14311
- let M = await f.blob(), _ = M.type || f.headers.get("content-type") || "";
14312
- return a === "dataURL" ? { ok: !0, data: await Ai(M), status: f.status, url: t, fromCache: !1, mime: _ } : a === "text" ? { ok: !0, data: await M.text(), status: f.status, url: t, fromCache: !1, mime: _ } : { ok: !0, data: M, status: f.status, url: t, fromCache: !1, mime: _ };
14308
+ let g = await fetch(t);
14309
+ if (!g.ok)
14310
+ return { ok: !1, data: null, status: g.status, url: t, fromCache: !1, reason: "http_error" };
14311
+ let M = await g.blob(), _ = M.type || g.headers.get("content-type") || "";
14312
+ return a === "dataURL" ? { ok: !0, data: await Ai(M), status: g.status, url: t, fromCache: !1, mime: _ } : a === "text" ? { ok: !0, data: await M.text(), status: g.status, url: t, fromCache: !1, mime: _ } : { ok: !0, data: M, status: g.status, url: t, fromCache: !1, mime: _ };
14313
14313
  } catch {
14314
14314
  return { ok: !1, data: null, status: 0, url: t, fromCache: !1, reason: "network" };
14315
14315
  }
@@ -14325,35 +14325,35 @@ async function Je(t, e = {}) {
14325
14325
  let p = qu(t, o) ? Qu(t, o) : t, u = e.credentials;
14326
14326
  if (!u)
14327
14327
  try {
14328
- let f = typeof location < "u" && location.href ? location.href : "http://localhost/", M = new URL(t, f);
14328
+ let g = typeof location < "u" && location.href ? location.href : "http://localhost/", M = new URL(t, g);
14329
14329
  u = typeof location < "u" && M.origin === location.origin ? "include" : "omit";
14330
14330
  } catch {
14331
14331
  u = "omit";
14332
14332
  }
14333
- let b = new AbortController(), g = setTimeout(() => b.abort("timeout"), i), h = (async () => {
14333
+ let b = new AbortController(), f = setTimeout(() => b.abort("timeout"), i), h = (async () => {
14334
14334
  try {
14335
- let f = await fetch(p, { signal: b.signal, credentials: u, headers: l });
14336
- if (!f.ok) {
14337
- let v = { ok: !1, data: null, status: f.status, url: p, fromCache: !1, reason: "http_error" };
14335
+ let g = await fetch(p, { signal: b.signal, credentials: u, headers: l });
14336
+ if (!g.ok) {
14337
+ let v = { ok: !1, data: null, status: g.status, url: p, fromCache: !1, reason: "http_error" };
14338
14338
  if (r > 0 && Xa.set(s, { until: Date.now() + r, result: v }), !c) {
14339
- let L = `${f.status} ${f.statusText || ""}`.trim();
14340
- Ii.warnOnce(`http:${f.status}:${a}:${new URL(t, (location == null ? void 0 : location.href) ?? "http://localhost/").origin}`, `HTTP error ${L} while fetching ${a} ${t}`);
14339
+ let L = `${g.status} ${g.statusText || ""}`.trim();
14340
+ Ii.warnOnce(`http:${g.status}:${a}:${new URL(t, (location == null ? void 0 : location.href) ?? "http://localhost/").origin}`, `HTTP error ${L} while fetching ${a} ${t}`);
14341
14341
  }
14342
14342
  return e.onError && e.onError(v), v;
14343
14343
  }
14344
14344
  if (a === "text")
14345
- return { ok: !0, data: await f.text(), status: f.status, url: p, fromCache: !1 };
14346
- let M = await f.blob(), _ = M.type || f.headers.get("content-type") || "";
14347
- return a === "dataURL" ? { ok: !0, data: await Ai(M), status: f.status, url: p, fromCache: !1, mime: _ } : { ok: !0, data: M, status: f.status, url: p, fromCache: !1, mime: _ };
14348
- } catch (f) {
14349
- let M = f && typeof f == "object" && "name" in f && f.name === "AbortError" ? String(f.message || "").includes("timeout") ? "timeout" : "abort" : "network", _ = { ok: !1, data: null, status: 0, url: p, fromCache: !1, reason: M };
14345
+ return { ok: !0, data: await g.text(), status: g.status, url: p, fromCache: !1 };
14346
+ let M = await g.blob(), _ = M.type || g.headers.get("content-type") || "";
14347
+ return a === "dataURL" ? { ok: !0, data: await Ai(M), status: g.status, url: p, fromCache: !1, mime: _ } : { ok: !0, data: M, status: g.status, url: p, fromCache: !1, mime: _ };
14348
+ } catch (g) {
14349
+ let M = g && typeof g == "object" && "name" in g && g.name === "AbortError" ? String(g.message || "").includes("timeout") ? "timeout" : "abort" : "network", _ = { ok: !1, data: null, status: 0, url: p, fromCache: !1, reason: M };
14350
14350
  if (!/^blob:/i.test(t) && r > 0 && Xa.set(s, { until: Date.now() + r, result: _ }), !c) {
14351
14351
  let v = `${M}:${a}:${new URL(t, (location == null ? void 0 : location.href) ?? "http://localhost/").origin}`, L = M === "timeout" ? `Timeout after ${i}ms. Consider increasing timeout or using a proxy for ${t}` : M === "abort" ? `Request aborted while fetching ${a} ${t}` : `Network/CORS issue while fetching ${a} ${t}. A proxy may be required`;
14352
14352
  Ii.errorOnce(v, L);
14353
14353
  }
14354
14354
  return e.onError && e.onError(_), _;
14355
14355
  } finally {
14356
- clearTimeout(g), to.delete(s);
14356
+ clearTimeout(f), to.delete(s);
14357
14357
  }
14358
14358
  })();
14359
14359
  return to.set(s, h), h;
@@ -14527,17 +14527,17 @@ async function fg(t, { family: e = "Material Icons", weight: a = "normal", fontS
14527
14527
  await ug(p.replace(/^["']+|["']+$/g, ""), i);
14528
14528
  let u = document.createElement("span");
14529
14529
  u.textContent = t, u.style.position = "absolute", u.style.visibility = "hidden", u.style.left = "-99999px", u.style.whiteSpace = "nowrap", u.style.fontFamily = m, u.style.fontWeight = String(a || "normal"), u.style.fontSize = `${i}px`, u.style.lineHeight = "1", u.style.margin = "0", u.style.padding = "0", u.style.fontFeatureSettings = "'liga' 1", u.style.fontVariantLigatures = "normal", u.style.color = o, document.body.appendChild(u);
14530
- let b = u.getBoundingClientRect(), g = Math.max(1, Math.ceil(b.width)), h = Math.max(1, Math.ceil(b.height));
14530
+ let b = u.getBoundingClientRect(), f = Math.max(1, Math.ceil(b.width)), h = Math.max(1, Math.ceil(b.height));
14531
14531
  document.body.removeChild(u);
14532
- let f = document.createElement("canvas");
14533
- f.width = g * s, f.height = h * s;
14534
- let M = f.getContext("2d");
14532
+ let g = document.createElement("canvas");
14533
+ g.width = f * s, g.height = h * s;
14534
+ let M = g.getContext("2d");
14535
14535
  M.scale(s, s), M.font = `${a ? `${a} ` : ""}${i}px ${p}`, M.textAlign = "left", M.textBaseline = "top", M.fillStyle = o;
14536
14536
  try {
14537
14537
  M.fontKerning = "normal";
14538
14538
  } catch {
14539
14539
  }
14540
- return M.fillText(t, 0, 0), { dataUrl: f.toDataURL(), width: g, height: h };
14540
+ return M.fillText(t, 0, 0), { dataUrl: g.toDataURL(), width: f, height: h };
14541
14541
  }
14542
14542
  async function yg(t, e) {
14543
14543
  if (!(t instanceof Element))
@@ -14555,7 +14555,7 @@ async function yg(t, e) {
14555
14555
  let p = (s || c).textContent.trim();
14556
14556
  if (!p)
14557
14557
  continue;
14558
- let u = parseInt(d.fontSize, 10) || 24, b = d.fontWeight && d.fontWeight !== "normal" ? d.fontWeight : "normal", g = gg(d), h = d.fontVariationSettings && d.fontVariationSettings !== "normal" ? d.fontVariationSettings : "", f = (s || c).className || "", { dataUrl: M, width: _, height: v } = await fg(p, { family: m, weight: b, fontSize: u, color: g, variation: h, className: f });
14558
+ let u = parseInt(d.fontSize, 10) || 24, b = d.fontWeight && d.fontWeight !== "normal" ? d.fontWeight : "normal", f = gg(d), h = d.fontVariationSettings && d.fontVariationSettings !== "normal" ? d.fontVariationSettings : "", g = (s || c).className || "", { dataUrl: M, width: _, height: v } = await fg(p, { family: m, weight: b, fontSize: u, color: f, variation: h, className: g });
14559
14559
  c.textContent = "";
14560
14560
  let L = c.ownerDocument.createElement("img");
14561
14561
  L.src = M, L.alt = p, L.style.height = `${u}px`, L.style.width = `${Math.max(1, Math.round(_ / v * u))}px`, L.style.objectFit = "contain", L.style.verticalAlign = getComputedStyle(c).verticalAlign || "baseline", c.appendChild(L), r++;
@@ -14693,20 +14693,20 @@ async function Cg(t, e, a) {
14693
14693
  let m = "", p = 0, u;
14694
14694
  for (; u = lo.exec(c); ) {
14695
14695
  m += c.slice(p, u.index), p = lo.lastIndex;
14696
- let b = (u[2] || u[4] || "").trim(), g = o(b, s);
14697
- if (i.has(g)) {
14698
- console.warn(`[snapDOM] Skipping circular @import: ${g}`);
14696
+ let b = (u[2] || u[4] || "").trim(), f = o(b, s);
14697
+ if (i.has(f)) {
14698
+ console.warn(`[snapDOM] Skipping circular @import: ${f}`);
14699
14699
  continue;
14700
14700
  }
14701
- i.add(g);
14701
+ i.add(f);
14702
14702
  let h = "";
14703
14703
  try {
14704
- let f = await Je(g, { as: "text", useProxy: a, silent: !0 });
14705
- f.ok && typeof f.data == "string" && (h = f.data);
14704
+ let g = await Je(f, { as: "text", useProxy: a, silent: !0 });
14705
+ g.ok && typeof g.data == "string" && (h = g.data);
14706
14706
  } catch {
14707
14707
  }
14708
- h ? (h = Fi(h, g), h = await r(h, g, d + 1), m += `
14709
- /* inlined: ${g} */
14708
+ h ? (h = Fi(h, f), h = await r(h, f, d + 1), m += `
14709
+ /* inlined: ${f} */
14710
14710
  ${h}
14711
14711
  `) : m += u[0];
14712
14712
  }
@@ -14830,7 +14830,7 @@ function Sg(t) {
14830
14830
  return t;
14831
14831
  let e = /@font-face[^{}]*\{[^}]*\}/gi, a = /* @__PURE__ */ new Set(), i = [];
14832
14832
  for (let p of t.match(e) || []) {
14833
- let u = ((r = p.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : r[1]) || "", b = eo(u), g = (((l = p.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : l[1]) || "400").trim(), h = (((c = p.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : c[1]) || "normal").trim(), f = (((s = p.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : s[1]) || "100%").trim(), M = (((d = p.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : d[1]) || "").trim(), _ = (((m = p.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : m[1]) || "").trim(), v = bo(_, location.href), L = v.length ? v.map((C) => String(C).toLowerCase()).sort().join("|") : _.toLowerCase(), T = [String(b || "").toLowerCase(), g, h, f, M.toLowerCase(), L].join("|");
14833
+ let u = ((r = p.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : r[1]) || "", b = eo(u), f = (((l = p.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : l[1]) || "400").trim(), h = (((c = p.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : c[1]) || "normal").trim(), g = (((s = p.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : s[1]) || "100%").trim(), M = (((d = p.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : d[1]) || "").trim(), _ = (((m = p.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : m[1]) || "").trim(), v = bo(_, location.href), L = v.length ? v.map((C) => String(C).toLowerCase()).sort().join("|") : _.toLowerCase(), T = [String(b || "").toLowerCase(), f, h, g, M.toLowerCase(), L].join("|");
14834
14834
  a.has(T) || (a.add(T), i.push(p));
14835
14835
  }
14836
14836
  if (i.length === 0)
@@ -14879,22 +14879,22 @@ async function mr(t, e, a, i) {
14879
14879
  let d = (l.style.getPropertyValue("font-weight") || "400").trim(), m = (l.style.getPropertyValue("font-style") || "normal").trim(), p = (l.style.getPropertyValue("font-stretch") || "100%").trim(), u = (l.style.getPropertyValue("src") || "").trim(), b = (l.style.getPropertyValue("unicode-range") || "").trim();
14880
14880
  if (!i.faceMatchesRequired(s, m, d, p))
14881
14881
  continue;
14882
- let g = nr(b);
14883
- if (!sr(i.usedCodepoints, g))
14882
+ let f = nr(b);
14883
+ if (!sr(i.usedCodepoints, f))
14884
14884
  continue;
14885
14885
  let h = { family: s, weightSpec: d, styleSpec: m, stretchSpec: p, unicodeRange: b, srcRaw: u, srcUrls: bo(u, e || location.href), href: e || location.href };
14886
- if (i.simpleExcluder && i.simpleExcluder(h, g))
14886
+ if (i.simpleExcluder && i.simpleExcluder(h, f))
14887
14887
  continue;
14888
14888
  if (/url\(/i.test(u)) {
14889
- let f = await cr(u, e || location.href, i.useProxy);
14890
- await a(`@font-face{font-family:${s};src:${f};font-style:${m};font-weight:${d};font-stretch:${p};${b ? `unicode-range:${b};` : ""}}`);
14889
+ let g = await cr(u, e || location.href, i.useProxy);
14890
+ await a(`@font-face{font-family:${s};src:${g};font-style:${m};font-weight:${d};font-stretch:${p};${b ? `unicode-range:${b};` : ""}}`);
14891
14891
  } else
14892
14892
  await a(`@font-face{font-family:${s};src:${u};font-style:${m};font-weight:${d};font-stretch:${p};${b ? `unicode-range:${b};` : ""}}`);
14893
14893
  }
14894
14894
  }
14895
14895
  }
14896
14896
  async function Rg({ required: t, usedCodepoints: e, exclude: a = void 0, localFonts: i = [], useProxy: o = "" } = {}) {
14897
- var h, f, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe;
14897
+ var h, g, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe;
14898
14898
  t instanceof Set || (t = /* @__PURE__ */ new Set()), e instanceof Set || (e = /* @__PURE__ */ new Set());
14899
14899
  let r = /* @__PURE__ */ new Map();
14900
14900
  for (let G of t) {
@@ -14974,7 +14974,7 @@ async function Rg({ required: t, usedCodepoints: e, exclude: a = void 0, localFo
14974
14974
  J = await Cg(J, G.href, o);
14975
14975
  let oe = "";
14976
14976
  for (let Y of J.match(Mg) || []) {
14977
- let X = (((f = Y.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : f[1]) || "").trim(), ee = eo(X);
14977
+ let X = (((g = Y.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : g[1]) || "").trim(), ee = eo(X);
14978
14978
  if (!ee || Ke(ee))
14979
14979
  continue;
14980
14980
  let A = (((M = Y.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : M[1]) || "400").trim(), ne = (((_ = Y.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : _[1]) || "normal").trim(), fe = (((v = Y.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "100%").trim(), ke = (((L = Y.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : L[1]) || "").trim(), ze = (((T = Y.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : T[1]) || "").trim(), me = bo(ze, G.href);
@@ -14993,14 +14993,14 @@ async function Rg({ required: t, usedCodepoints: e, exclude: a = void 0, localFo
14993
14993
  } catch {
14994
14994
  console.warn("[snapDOM] Failed to process stylesheet:", G.href);
14995
14995
  }
14996
- let g = { requiredIndex: r, usedCodepoints: e, faceMatchesRequired: l, simpleExcluder: a ? Wi(a) : null, useProxy: o, visitedSheets: /* @__PURE__ */ new Set(), depth: 0 };
14996
+ let f = { requiredIndex: r, usedCodepoints: e, faceMatchesRequired: l, simpleExcluder: a ? Wi(a) : null, useProxy: o, visitedSheets: /* @__PURE__ */ new Set(), depth: 0 };
14997
14997
  for (let G of document.styleSheets)
14998
14998
  if (!(G.href && b.some((J) => J.href === G.href)))
14999
14999
  try {
15000
15000
  let J = G.href || location.href;
15001
- J && g.visitedSheets.add(J), await mr(G, J, async (K) => {
15001
+ J && f.visitedSheets.add(J), await mr(G, J, async (K) => {
15002
15002
  u += K;
15003
- }, g);
15003
+ }, f);
15004
15004
  } catch {
15005
15005
  }
15006
15006
  try {
@@ -15139,32 +15139,32 @@ async function Gg(t, e, a, i = {}) {
15139
15139
  let [d, m] = o.shift(), p = a.get(d) || ir(d);
15140
15140
  a.has(d) || a.set(d, p);
15141
15141
  let u = (() => {
15142
- let h = p.getPropertyValue("border-image"), f = p.getPropertyValue("border-image-source");
15143
- return h && h !== "none" || f && f !== "none";
15142
+ let h = p.getPropertyValue("border-image"), g = p.getPropertyValue("border-image-source");
15143
+ return h && h !== "none" || g && g !== "none";
15144
15144
  })();
15145
15145
  for (let h of c) {
15146
- let f = p.getPropertyValue(h);
15147
- f && m.style.setProperty(h, f);
15146
+ let g = p.getPropertyValue(h);
15147
+ g && m.style.setProperty(h, g);
15148
15148
  }
15149
15149
  for (let h of r) {
15150
- let f = p.getPropertyValue(h);
15151
- if (!f || f === "none")
15150
+ let g = p.getPropertyValue(h);
15151
+ if (!g || g === "none")
15152
15152
  continue;
15153
- let M = rr(f), _ = await Promise.all(M.map((v) => ar(v, i)));
15153
+ let M = rr(g), _ = await Promise.all(M.map((v) => ar(v, i)));
15154
15154
  _.some((v) => v && v !== "none" && !/^url\(undefined/.test(v)) && m.style.setProperty(h, _.join(", "));
15155
15155
  }
15156
15156
  for (let h of l) {
15157
- let f = p.getPropertyValue(h);
15158
- !f || f === "initial" || m.style.setProperty(h, f);
15157
+ let g = p.getPropertyValue(h);
15158
+ !g || g === "initial" || m.style.setProperty(h, g);
15159
15159
  }
15160
15160
  if (u)
15161
15161
  for (let h of s) {
15162
- let f = p.getPropertyValue(h);
15163
- !f || f === "initial" || m.style.setProperty(h, f);
15162
+ let g = p.getPropertyValue(h);
15163
+ !g || g === "initial" || m.style.setProperty(h, g);
15164
15164
  }
15165
- let b = Array.from(d.children), g = Array.from(m.children).filter((h) => !(h.dataset && h.dataset.snapdomPseudo));
15166
- for (let h = 0; h < Math.min(b.length, g.length); h++)
15167
- o.push([b[h], g[h]]);
15165
+ let b = Array.from(d.children), f = Array.from(m.children).filter((h) => !(h.dataset && h.dataset.snapdomPseudo));
15166
+ for (let h = 0; h < Math.min(b.length, f.length); h++)
15167
+ o.push([b[h], f[h]]);
15168
15168
  }
15169
15169
  }
15170
15170
  function nt(t, { fast: e = !1 } = {}) {
@@ -15308,7 +15308,7 @@ function jg(t, e) {
15308
15308
  return t && t.session && t.persist ? t : t && (t.styleMap || t.styleCache || t.nodeMap) ? { session: t, persist: { snapshotKeyCache: no, defaultStyle: O.defaultStyle, baseStyle: O.baseStyle, image: O.image, resource: O.resource, background: O.background, font: O.font }, options: e || {} } : { session: O.session, persist: { snapshotKeyCache: no, defaultStyle: O.defaultStyle, baseStyle: O.baseStyle, image: O.image, resource: O.resource, background: O.background, font: O.font }, options: t || e || {} };
15309
15309
  }
15310
15310
  async function st(t, e, a, i) {
15311
- var u, b, g;
15311
+ var u, b, f;
15312
15312
  if (t.tagName === "STYLE")
15313
15313
  return;
15314
15314
  let o = jg(a, i), r = o.options && o.options.cache || "auto";
@@ -15320,7 +15320,7 @@ async function st(t, e, a, i) {
15320
15320
  l.styleCache.has(t) || l.styleCache.set(t, getComputedStyle(t));
15321
15321
  let s = l.styleCache.get(t), d = Og(t, s, o.options), m = Zg(d), p = c.snapshotKeyCache.get(m);
15322
15322
  if (!p) {
15323
- let h = ((g = t.tagName) == null ? void 0 : g.toLowerCase()) || "div";
15323
+ let h = ((f = t.tagName) == null ? void 0 : f.toLowerCase()) || "div";
15324
15324
  p = io(d, h), c.snapshotKeyCache.set(m, p);
15325
15325
  }
15326
15326
  l.styleMap.set(e, p);
@@ -15714,7 +15714,7 @@ async function f0(t) {
15714
15714
  }
15715
15715
  }
15716
15716
  async function $a(t, e, a) {
15717
- var d, m, p, u, b, g;
15717
+ var d, m, p, u, b, f;
15718
15718
  if (!t)
15719
15719
  throw new Error("Invalid node");
15720
15720
  let i = /* @__PURE__ */ new Set(), o = null, r = null;
@@ -15727,8 +15727,8 @@ async function $a(t, e, a) {
15727
15727
  return t.cloneNode(!0);
15728
15728
  if (t.getAttribute("data-capture") === "exclude") {
15729
15729
  if (a.excludeMode === "hide") {
15730
- let h = document.createElement("div"), f = t.getBoundingClientRect();
15731
- return h.style.cssText = `display:inline-block;width:${f.width}px;height:${f.height}px;visibility:hidden;`, h;
15730
+ let h = document.createElement("div"), g = t.getBoundingClientRect();
15731
+ return h.style.cssText = `display:inline-block;width:${g.width}px;height:${g.height}px;visibility:hidden;`, h;
15732
15732
  } else if (a.excludeMode === "remove")
15733
15733
  return null;
15734
15734
  }
@@ -15737,20 +15737,20 @@ async function $a(t, e, a) {
15737
15737
  try {
15738
15738
  if ((d = t.matches) != null && d.call(t, h)) {
15739
15739
  if (a.excludeMode === "hide") {
15740
- let f = document.createElement("div"), M = t.getBoundingClientRect();
15741
- return f.style.cssText = `display:inline-block;width:${M.width}px;height:${M.height}px;visibility:hidden;`, f;
15740
+ let g = document.createElement("div"), M = t.getBoundingClientRect();
15741
+ return g.style.cssText = `display:inline-block;width:${M.width}px;height:${M.height}px;visibility:hidden;`, g;
15742
15742
  } else if (a.excludeMode === "remove")
15743
15743
  return null;
15744
15744
  }
15745
- } catch (f) {
15746
- console.warn(`Invalid selector in exclude option: ${h}`, f);
15745
+ } catch (g) {
15746
+ console.warn(`Invalid selector in exclude option: ${h}`, g);
15747
15747
  }
15748
15748
  if (typeof a.filter == "function")
15749
15749
  try {
15750
15750
  if (!a.filter(t)) {
15751
15751
  if (a.filterMode === "hide") {
15752
- let h = document.createElement("div"), f = t.getBoundingClientRect();
15753
- return h.style.cssText = `display:inline-block;width:${f.width}px;height:${f.height}px;visibility:hidden;`, h;
15752
+ let h = document.createElement("div"), g = t.getBoundingClientRect();
15753
+ return h.style.cssText = `display:inline-block;width:${g.width}px;height:${g.height}px;visibility:hidden;`, h;
15754
15754
  } else if (a.filterMode === "remove")
15755
15755
  return null;
15756
15756
  }
@@ -15767,22 +15767,22 @@ async function $a(t, e, a) {
15767
15767
  if (h)
15768
15768
  try {
15769
15769
  return await h0(t, e, a);
15770
- } catch (f) {
15771
- console.warn("[SnapDOM] iframe rasterization failed, fallback:", f);
15770
+ } catch (g) {
15771
+ console.warn("[SnapDOM] iframe rasterization failed, fallback:", g);
15772
15772
  }
15773
15773
  if (a.placeholders) {
15774
- let f = document.createElement("div");
15775
- return f.style.cssText = `width:${t.offsetWidth}px;height:${t.offsetHeight}px;background-image:repeating-linear-gradient(45deg,#ddd,#ddd 5px,#f9f9f9 5px,#f9f9f9 10px);display:flex;align-items:center;justify-content:center;font-size:12px;color:#555;border:1px solid #aaa;`, st(t, f, e, a), f;
15774
+ let g = document.createElement("div");
15775
+ return g.style.cssText = `width:${t.offsetWidth}px;height:${t.offsetHeight}px;background-image:repeating-linear-gradient(45deg,#ddd,#ddd 5px,#f9f9f9 5px,#f9f9f9 10px);display:flex;align-items:center;justify-content:center;font-size:12px;color:#555;border:1px solid #aaa;`, st(t, g, e, a), g;
15776
15776
  } else {
15777
- let f = t.getBoundingClientRect(), M = document.createElement("div");
15778
- return M.style.cssText = `display:inline-block;width:${f.width}px;height:${f.height}px;visibility:hidden;`, st(t, M, e, a), M;
15777
+ let g = t.getBoundingClientRect(), M = document.createElement("div");
15778
+ return M.style.cssText = `display:inline-block;width:${g.width}px;height:${g.height}px;visibility:hidden;`, st(t, M, e, a), M;
15779
15779
  }
15780
15780
  }
15781
15781
  if (t.getAttribute("data-capture") === "placeholder") {
15782
15782
  let h = t.cloneNode(!1);
15783
15783
  e.nodeMap.set(h, t), st(t, h, e, a);
15784
- let f = document.createElement("div");
15785
- return f.textContent = t.getAttribute("data-placeholder-text") || "", f.style.cssText = "color:#666;font-size:12px;text-align:center;line-height:1.4;padding:0.5em;box-sizing:border-box;", h.appendChild(f), h;
15784
+ let g = document.createElement("div");
15785
+ return g.textContent = t.getAttribute("data-placeholder-text") || "", g.style.cssText = "color:#666;font-size:12px;text-align:center;line-height:1.4;padding:0.5em;box-sizing:border-box;", h.appendChild(g), h;
15786
15786
  }
15787
15787
  if (t.tagName === "CANVAS") {
15788
15788
  let h = "";
@@ -15806,35 +15806,35 @@ async function $a(t, e, a) {
15806
15806
  }
15807
15807
  } catch {
15808
15808
  }
15809
- let f = document.createElement("img");
15809
+ let g = document.createElement("img");
15810
15810
  try {
15811
- f.decoding = "sync", f.loading = "eager";
15811
+ g.decoding = "sync", g.loading = "eager";
15812
15812
  } catch {
15813
15813
  }
15814
- h && (f.src = h), f.width = t.width, f.height = t.height;
15814
+ h && (g.src = h), g.width = t.width, g.height = t.height;
15815
15815
  try {
15816
15816
  let M = getComputedStyle(t);
15817
- M.width && (f.style.width = M.width), M.height && (f.style.height = M.height);
15817
+ M.width && (g.style.width = M.width), M.height && (g.style.height = M.height);
15818
15818
  } catch {
15819
15819
  }
15820
- return e.nodeMap.set(f, t), st(t, f, e, a), f;
15820
+ return e.nodeMap.set(g, t), st(t, g, e, a), g;
15821
15821
  }
15822
15822
  let l;
15823
15823
  try {
15824
15824
  if (l = t.cloneNode(!1), Kg(t, l), e.nodeMap.set(l, t), t.tagName === "IMG") {
15825
15825
  i0(t, l);
15826
15826
  try {
15827
- let h = t.getBoundingClientRect(), f = Math.round(h.width || 0), M = Math.round(h.height || 0);
15828
- if (!f || !M) {
15827
+ let h = t.getBoundingClientRect(), g = Math.round(h.width || 0), M = Math.round(h.height || 0);
15828
+ if (!g || !M) {
15829
15829
  let _ = window.getComputedStyle(t), v = parseFloat(_.width) || 0, L = parseFloat(_.height) || 0, T = parseInt(t.getAttribute("width") || "", 10) || 0, C = parseInt(t.getAttribute("height") || "", 10) || 0, S = t.width || t.naturalWidth || 0, R = t.height || t.naturalHeight || 0;
15830
- f = Math.round(f || v || T || S || 0), M = Math.round(M || L || C || R || 0);
15830
+ g = Math.round(g || v || T || S || 0), M = Math.round(M || L || C || R || 0);
15831
15831
  }
15832
- f && (l.dataset.snapdomWidth = String(f)), M && (l.dataset.snapdomHeight = String(M));
15832
+ g && (l.dataset.snapdomWidth = String(g)), M && (l.dataset.snapdomHeight = String(M));
15833
15833
  } catch {
15834
15834
  }
15835
15835
  try {
15836
- let h = t.getAttribute("style") || "", f = window.getComputedStyle(t), M = (C) => {
15837
- let S = h.match(new RegExp(`${C}\\s*:\\s*([^;]+)`, "i")), R = S ? S[1].trim() : f.getPropertyValue(C);
15836
+ let h = t.getAttribute("style") || "", g = window.getComputedStyle(t), M = (C) => {
15837
+ let S = h.match(new RegExp(`${C}\\s*:\\s*([^;]+)`, "i")), R = S ? S[1].trim() : g.getPropertyValue(C);
15838
15838
  return /%|auto/i.test(String(R || ""));
15839
15839
  }, _ = parseInt(l.dataset.snapdomWidth || "0", 10), v = parseInt(l.dataset.snapdomHeight || "0", 10), L = M("width") || !_, T = M("height") || !v;
15840
15840
  L && _ && (l.style.width = `${_}px`), T && v && (l.style.height = `${v}px`), _ && (l.style.minWidth = `${_}px`), v && (l.style.minHeight = `${v}px`);
@@ -15872,13 +15872,13 @@ async function $a(t, e, a) {
15872
15872
  }
15873
15873
  } catch {
15874
15874
  }
15875
- let f = t0(e), M = `[data-sd="${f}"]`;
15875
+ let g = t0(e), M = `[data-sd="${g}"]`;
15876
15876
  try {
15877
- l.setAttribute("data-sd", f);
15877
+ l.setAttribute("data-sd", g);
15878
15878
  } catch {
15879
15879
  }
15880
15880
  let _ = a0(t.shadowRoot), v = e0(_, M), L = r0(_), T = n0(t, L, M);
15881
- o0(l, T + v, f);
15881
+ o0(l, T + v, g);
15882
15882
  let C = document.createDocumentFragment(), S = await ao(Array.from(t.shadowRoot.childNodes), h, a.fast);
15883
15883
  C.append(...S.filter((R) => !!R)), l.appendChild(C);
15884
15884
  }
@@ -15889,16 +15889,16 @@ async function $a(t, e, a) {
15889
15889
  }).catch(() => {
15890
15890
  T(null);
15891
15891
  });
15892
- }, f = ((g = t.assignedNodes) == null ? void 0 : g.call(t, { flatten: !0 })) || [], M = f.length > 0 ? f : Array.from(t.childNodes), _ = document.createDocumentFragment(), v = await ao(Array.from(M), h, a.fast);
15892
+ }, g = ((f = t.assignedNodes) == null ? void 0 : f.call(t, { flatten: !0 })) || [], M = g.length > 0 ? g : Array.from(t.childNodes), _ = document.createDocumentFragment(), v = await ao(Array.from(M), h, a.fast);
15893
15893
  return _.append(...v.filter((L) => !!L)), _;
15894
15894
  }
15895
- function c(h, f) {
15895
+ function c(h, g) {
15896
15896
  if (i.has(h))
15897
- return f(null);
15897
+ return g(null);
15898
15898
  $a(h, e, a).then((M) => {
15899
- f(M || null);
15899
+ g(M || null);
15900
15900
  }).catch(() => {
15901
- f(null);
15901
+ g(null);
15902
15902
  });
15903
15903
  }
15904
15904
  let s = await ao(Array.from(t.childNodes), c, a.fast);
@@ -15951,10 +15951,10 @@ function w0(t) {
15951
15951
  var u;
15952
15952
  return ((u = O == null ? void 0 : O.session) == null ? void 0 : u.__counterEpoch) ?? 0;
15953
15953
  }, a = e(), i = /* @__PURE__ */ new WeakMap(), o = t instanceof Document ? t.documentElement : t, r = (u) => u && u.tagName === "LI", l = (u) => {
15954
- let b = 0, g = u == null ? void 0 : u.parentElement;
15955
- if (!g)
15954
+ let b = 0, f = u == null ? void 0 : u.parentElement;
15955
+ if (!f)
15956
15956
  return 0;
15957
- for (let h of g.children) {
15957
+ for (let h of f.children) {
15958
15958
  if (h === u)
15959
15959
  break;
15960
15960
  h.tagName === "LI" && b++;
@@ -15962,18 +15962,18 @@ function w0(t) {
15962
15962
  return b;
15963
15963
  }, c = (u) => {
15964
15964
  let b = /* @__PURE__ */ new Map();
15965
- for (let [g, h] of u)
15966
- b.set(g, h.slice());
15965
+ for (let [f, h] of u)
15966
+ b.set(f, h.slice());
15967
15967
  return b;
15968
- }, s = (u, b, g) => {
15968
+ }, s = (u, b, f) => {
15969
15969
  var _, v;
15970
- let h = c(u), f;
15970
+ let h = c(u), g;
15971
15971
  try {
15972
- f = ((_ = g.style) == null ? void 0 : _.counterReset) || getComputedStyle(g).counterReset;
15972
+ g = ((_ = f.style) == null ? void 0 : _.counterReset) || getComputedStyle(f).counterReset;
15973
15973
  } catch {
15974
15974
  }
15975
- if (f && f !== "none")
15976
- for (let L of f.split(",")) {
15975
+ if (g && g !== "none")
15976
+ for (let L of g.split(",")) {
15977
15977
  let T = L.trim().split(/\s+/), C = T[0], S = Number.isFinite(Number(T[1])) ? Number(T[1]) : 0;
15978
15978
  if (!C)
15979
15979
  continue;
@@ -15986,7 +15986,7 @@ function w0(t) {
15986
15986
  }
15987
15987
  let M;
15988
15988
  try {
15989
- M = ((v = g.style) == null ? void 0 : v.counterIncrement) || getComputedStyle(g).counterIncrement;
15989
+ M = ((v = f.style) == null ? void 0 : v.counterIncrement) || getComputedStyle(f).counterIncrement;
15990
15990
  } catch {
15991
15991
  }
15992
15992
  if (M && M !== "none")
@@ -15998,25 +15998,25 @@ function w0(t) {
15998
15998
  R.length === 0 && R.push(0), R[R.length - 1] += S, h.set(C, R);
15999
15999
  }
16000
16000
  try {
16001
- if (getComputedStyle(g).display === "list-item" && r(g)) {
16002
- let L = g.parentElement, T = 1;
16001
+ if (getComputedStyle(f).display === "list-item" && r(f)) {
16002
+ let L = f.parentElement, T = 1;
16003
16003
  if (L && L.tagName === "OL") {
16004
- let S = L.getAttribute("start"), R = Number.isFinite(Number(S)) ? Number(S) : 1, F = l(g), V = g.getAttribute("value");
16004
+ let S = L.getAttribute("start"), R = Number.isFinite(Number(S)) ? Number(S) : 1, F = l(f), V = f.getAttribute("value");
16005
16005
  T = Number.isFinite(Number(V)) ? Number(V) : R + F;
16006
16006
  } else
16007
- T = 1 + l(g);
16007
+ T = 1 + l(f);
16008
16008
  let C = h.get("list-item") || [];
16009
16009
  C.length === 0 && C.push(0), C[C.length - 1] = T, h.set("list-item", C);
16010
16010
  }
16011
16011
  } catch {
16012
16012
  }
16013
16013
  return h;
16014
- }, d = (u, b, g) => {
16015
- let h = s(g, b, u);
16014
+ }, d = (u, b, f) => {
16015
+ let h = s(f, b, u);
16016
16016
  i.set(u, h);
16017
- let f = h;
16017
+ let g = h;
16018
16018
  for (let M of u.children)
16019
- f = d(M, h, f);
16019
+ g = d(M, h, g);
16020
16020
  return h;
16021
16021
  }, m = /* @__PURE__ */ new Map();
16022
16022
  d(o, m, m);
@@ -16031,13 +16031,13 @@ function w0(t) {
16031
16031
  return { get(u, b) {
16032
16032
  var h;
16033
16033
  p();
16034
- let g = (h = i.get(u)) == null ? void 0 : h.get(b);
16035
- return g && g.length ? g[g.length - 1] : 0;
16034
+ let f = (h = i.get(u)) == null ? void 0 : h.get(b);
16035
+ return f && f.length ? f[f.length - 1] : 0;
16036
16036
  }, getStack(u, b) {
16037
16037
  var h;
16038
16038
  p();
16039
- let g = (h = i.get(u)) == null ? void 0 : h.get(b);
16040
- return g ? g.slice() : [];
16039
+ let f = (h = i.get(u)) == null ? void 0 : h.get(b);
16040
+ return f ? f.slice() : [];
16041
16041
  } };
16042
16042
  }
16043
16043
  function x0(t, e, a) {
@@ -16048,11 +16048,11 @@ function x0(t, e, a) {
16048
16048
  var d, m, p;
16049
16049
  let s = String(c).split(",").map((u) => u.trim());
16050
16050
  if (l === "counter") {
16051
- let u = (d = s[0]) == null ? void 0 : d.replace(/^["']|["']$/g, ""), b = (s[1] || "decimal").toLowerCase(), g = a.get(e, u);
16052
- return Hi(g, b);
16051
+ let u = (d = s[0]) == null ? void 0 : d.replace(/^["']|["']$/g, ""), b = (s[1] || "decimal").toLowerCase(), f = a.get(e, u);
16052
+ return Hi(f, b);
16053
16053
  } else {
16054
- let u = (m = s[0]) == null ? void 0 : m.replace(/^["']|["']$/g, ""), b = ((p = s[1]) == null ? void 0 : p.replace(/^["']|["']$/g, "")) ?? "", g = (s[2] || "decimal").toLowerCase(), h = a.getStack(e, u);
16055
- return h.length ? h.map((f) => Hi(f, g)).join(b) : "";
16054
+ let u = (m = s[0]) == null ? void 0 : m.replace(/^["']|["']$/g, ""), b = ((p = s[1]) == null ? void 0 : p.replace(/^["']|["']$/g, "")) ?? "", f = (s[2] || "decimal").toLowerCase(), h = a.getStack(e, u);
16055
+ return h.length ? h.map((g) => Hi(g, f)).join(b) : "";
16056
16056
  }
16057
16057
  });
16058
16058
  return b0(o);
@@ -16265,7 +16265,7 @@ async function gr(t, e, a, i) {
16265
16265
  e.replaceChild(me, X), e.insertBefore(fe, me);
16266
16266
  continue;
16267
16267
  }
16268
- let g = b.content ?? "", h = g === "" || g === "none" || g === "normal", { text: f, incs: M } = L0(t, u, l), _ = b.backgroundImage, v = b.backgroundColor, L = b.fontFamily, T = parseInt(b.fontSize) || 32, C = parseInt(b.fontWeight) || !1, S = b.color || "#000", R = b.borderStyle, F = parseFloat(b.borderWidth), V = b.transform, E = Ke(L), H = !h && f !== "", Q = _ && _ !== "none", ae = v && v !== "transparent" && v !== "rgba(0, 0, 0, 0)", re = R && R !== "none" && F > 0, pe = V && V !== "none";
16268
+ let f = b.content ?? "", h = f === "" || f === "none" || f === "normal", { text: g, incs: M } = L0(t, u, l), _ = b.backgroundImage, v = b.backgroundColor, L = b.fontFamily, T = parseInt(b.fontSize) || 32, C = parseInt(b.fontWeight) || !1, S = b.color || "#000", R = b.borderStyle, F = parseFloat(b.borderWidth), V = b.transform, E = Ke(L), H = !h && g !== "", Q = _ && _ !== "none", ae = v && v !== "transparent" && v !== "rgba(0, 0, 0, 0)", re = R && R !== "none" && F > 0, pe = V && V !== "none";
16269
16269
  if (!(H || Q || ae || re || pe)) {
16270
16270
  if (M && M.length && t.parentElement) {
16271
16271
  let Y = ct.get(t.parentElement) || /* @__PURE__ */ new Map();
@@ -16282,11 +16282,11 @@ async function gr(t, e, a, i) {
16282
16282
  let G = document.createElement("span");
16283
16283
  G.dataset.snapdomPseudo = u, G.style.pointerEvents = "none";
16284
16284
  let J = Gi(b), K = io(J, "span");
16285
- if (a.styleMap.set(G, K), E && f && f.length === 1) {
16286
- let { dataUrl: Y, width: X, height: ee } = await bg(f, L, C, T, S), A = document.createElement("img");
16285
+ if (a.styleMap.set(G, K), E && g && g.length === 1) {
16286
+ let { dataUrl: Y, width: X, height: ee } = await bg(g, L, C, T, S), A = document.createElement("img");
16287
16287
  A.src = Y, A.style = `height:${T}px;width:${X / ee * T}px;object-fit:contain;`, G.appendChild(A), e.dataset.snapdomHasIcon = "true";
16288
- } else if (f && f.startsWith("url(")) {
16289
- let Y = fo(f);
16288
+ } else if (g && g.startsWith("url(")) {
16289
+ let Y = fo(g);
16290
16290
  if (Y != null && Y.trim())
16291
16291
  try {
16292
16292
  let X = document.createElement("img"), ee = await Je(Ka(Y), { as: "dataURL", useProxy: i.useProxy });
@@ -16295,7 +16295,7 @@ async function gr(t, e, a, i) {
16295
16295
  console.error(`[snapdom] Error in pseudo ${u} for`, t, X);
16296
16296
  }
16297
16297
  } else
16298
- !E && H && (G.textContent = f);
16298
+ !E && H && (G.textContent = g);
16299
16299
  G.style.backgroundImage = "none", "maskImage" in G.style && (G.style.maskImage = "none"), "webkitMaskImage" in G.style && (G.style.webkitMaskImage = "none");
16300
16300
  try {
16301
16301
  G.style.backgroundRepeat = b.backgroundRepeat, G.style.backgroundSize = b.backgroundSize, b.backgroundPositionX && b.backgroundPositionY ? (G.style.backgroundPositionX = b.backgroundPositionX, G.style.backgroundPositionY = b.backgroundPositionY) : G.style.backgroundPosition = b.backgroundPosition, G.style.backgroundOrigin = b.backgroundOrigin, G.style.backgroundClip = b.backgroundClip, G.style.backgroundAttachment = b.backgroundAttachment, G.style.backgroundBlendMode = b.backgroundBlendMode;
@@ -16367,7 +16367,7 @@ function z0(t, e) {
16367
16367
  let F = (R[1] || "").trim();
16368
16368
  F && (m.has(F) || (p.add(F), S && !S.has(F) && S.add(F)));
16369
16369
  }
16370
- }, g = (C) => {
16370
+ }, f = (C) => {
16371
16371
  let S = C.querySelectorAll("use");
16372
16372
  for (let F of S) {
16373
16373
  let V = d(F);
@@ -16385,12 +16385,12 @@ function z0(t, e) {
16385
16385
  }
16386
16386
  };
16387
16387
  for (let C of o)
16388
- g(C);
16388
+ f(C);
16389
16389
  if (!u)
16390
16390
  return;
16391
16391
  let h = t.querySelector("svg.inline-defs-container");
16392
16392
  h || (h = a.createElementNS("http://www.w3.org/2000/svg", "svg"), h.classList.add("inline-defs-container"), h.setAttribute("aria-hidden", "true"), h.setAttribute("style", "position:absolute;width:0;height:0;overflow:hidden"), t.insertBefore(h, t.firstChild || null));
16393
- let f = h.querySelector("defs") || null, M = (C) => {
16393
+ let g = h.querySelector("defs") || null, M = (C) => {
16394
16394
  if (!C || m.has(C))
16395
16395
  return null;
16396
16396
  let S = c(C), R = (F) => {
@@ -16411,9 +16411,9 @@ function z0(t, e) {
16411
16411
  v.add(C);
16412
16412
  continue;
16413
16413
  }
16414
- f || (f = a.createElementNS("http://www.w3.org/2000/svg", "defs"), h.appendChild(f));
16414
+ g || (g = a.createElementNS("http://www.w3.org/2000/svg", "defs"), h.appendChild(g));
16415
16415
  let R = S.cloneNode(!0);
16416
- R.id || R.setAttribute("id", C), f.appendChild(R), v.add(C), m.add(C);
16416
+ R.id || R.setAttribute("id", C), g.appendChild(R), v.add(C), m.add(C);
16417
16417
  let F = [R, ...R.querySelectorAll("*")];
16418
16418
  for (let V of F) {
16419
16419
  let E = d(V);
@@ -16446,17 +16446,17 @@ function C0(t, e) {
16446
16446
  let p = Ki(d.top), u = Ki(d.bottom);
16447
16447
  if (p == null && u == null)
16448
16448
  continue;
16449
- let b = M0(s, t), g = P0(e, b, r);
16450
- if (!g)
16449
+ let b = M0(s, t), f = P0(e, b, r);
16450
+ if (!f)
16451
16451
  continue;
16452
- let h = s.getBoundingClientRect(), f = h.width, M = h.height, _ = h.left - i.left;
16453
- if (!(f > 0 && M > 0) || !Number.isFinite(_))
16452
+ let h = s.getBoundingClientRect(), g = h.width, M = h.height, _ = h.left - i.left;
16453
+ if (!(g > 0 && M > 0) || !Number.isFinite(_))
16454
16454
  continue;
16455
16455
  let v = p != null ? p + a : a + (o - M - u);
16456
16456
  if (!Number.isFinite(v))
16457
16457
  continue;
16458
- let L = Number.parseInt(d.zIndex, 10), T = Number.isFinite(L), C = T ? Math.max(L, 1) + 1 : 2, S = T ? L - 1 : 0, R = g.cloneNode(!1);
16459
- R.setAttribute(r, "1"), R.style.position = "sticky", R.style.left = `${_}px`, R.style.top = `${v}px`, R.style.width = `${f}px`, R.style.height = `${M}px`, R.style.visibility = "hidden", R.style.zIndex = String(S), R.style.overflow = "hidden", R.style.background = "transparent", R.style.boxShadow = "none", R.style.filter = "none", (c = g.parentElement) == null || c.insertBefore(R, g), g.style.position = "absolute", g.style.left = `${_}px`, g.style.top = `${v}px`, g.style.bottom = "auto", g.style.zIndex = String(C), g.style.pointerEvents = "none";
16458
+ let L = Number.parseInt(d.zIndex, 10), T = Number.isFinite(L), C = T ? Math.max(L, 1) + 1 : 2, S = T ? L - 1 : 0, R = f.cloneNode(!1);
16459
+ R.setAttribute(r, "1"), R.style.position = "sticky", R.style.left = `${_}px`, R.style.top = `${v}px`, R.style.width = `${g}px`, R.style.height = `${M}px`, R.style.visibility = "hidden", R.style.zIndex = String(S), R.style.overflow = "hidden", R.style.background = "transparent", R.style.boxShadow = "none", R.style.filter = "none", (c = f.parentElement) == null || c.insertBefore(R, f), f.style.position = "absolute", f.style.left = `${_}px`, f.style.top = `${v}px`, f.style.bottom = "auto", f.style.zIndex = String(C), f.style.pointerEvents = "none";
16460
16460
  }
16461
16461
  }
16462
16462
  function Ki(t) {
@@ -16531,17 +16531,17 @@ async function R0(t, e = {}) {
16531
16531
  }
16532
16532
  let u = l.get(p);
16533
16533
  u && m.classList.add(u);
16534
- let b = (s = m.style) == null ? void 0 : s.backgroundImage, g = (d = m.dataset) == null ? void 0 : d.snapdomHasIcon;
16535
- b && b !== "none" && (m.style.backgroundImage = b), g && (m.style.verticalAlign = "middle", m.style.display = "inline");
16534
+ let b = (s = m.style) == null ? void 0 : s.backgroundImage, f = (d = m.dataset) == null ? void 0 : d.snapdomHasIcon;
16535
+ b && b !== "none" && (m.style.backgroundImage = b), f && (m.style.verticalAlign = "middle", m.style.display = "inline");
16536
16536
  }
16537
16537
  for (let [m, p] of a.nodeMap.entries()) {
16538
16538
  let u = p.scrollLeft, b = p.scrollTop;
16539
16539
  if ((u || b) && m instanceof HTMLElement) {
16540
16540
  m.style.overflow = "hidden", m.style.scrollbarWidth = "none", m.style.msOverflowStyle = "none";
16541
- let g = document.createElement("div");
16542
- for (g.style.transform = `translate(${-u}px, ${-b}px)`, g.style.willChange = "transform", g.style.display = "inline-block", g.style.width = "100%"; m.firstChild; )
16543
- g.appendChild(m.firstChild);
16544
- m.appendChild(g);
16541
+ let f = document.createElement("div");
16542
+ for (f.style.transform = `translate(${-u}px, ${-b}px)`, f.style.willChange = "transform", f.style.display = "inline-block", f.style.width = "100%"; m.firstChild; )
16543
+ f.appendChild(m.firstChild);
16544
+ m.appendChild(f);
16545
16545
  }
16546
16546
  }
16547
16547
  let c = i instanceof HTMLElement && i.firstElementChild instanceof HTMLElement ? i.firstElementChild : i;
@@ -16755,8 +16755,8 @@ function $0(t, e) {
16755
16755
  for (let b of c) {
16756
16756
  if (U0(b, e) || !Y0(b))
16757
16757
  continue;
16758
- let g = b.getBoundingClientRect(), h = g.top - i.top, f = g.bottom - i.top;
16759
- f <= h || (h < o && (o = h), f > r && (r = f), l = !0);
16758
+ let f = b.getBoundingClientRect(), h = f.top - i.top, g = f.bottom - i.top;
16759
+ g <= h || (h < o && (o = h), g > r && (r = g), l = !0);
16760
16760
  }
16761
16761
  let s = l ? Math.max(0, r - o) : 0, d = parseFloat(a.borderTopWidth) || 0, m = parseFloat(a.borderBottomWidth) || 0, p = parseFloat(a.paddingTop) || 0, u = parseFloat(a.paddingBottom) || 0;
16762
16762
  return d + m + p + u + s;
@@ -16769,11 +16769,11 @@ function J0(t) {
16769
16769
  return { top: 0, right: 0, bottom: 0, left: 0 };
16770
16770
  let a = e.split(/\),(?=(?:[^()]*\([^()]*\))*[^()]*$)/).map((s) => s.trim()), i = 0, o = 0, r = 0, l = 0;
16771
16771
  for (let s of a) {
16772
- let d = ((c = s.match(/-?\d+(\.\d+)?px/g)) == null ? void 0 : c.map((f) => parseFloat(f))) || [];
16772
+ let d = ((c = s.match(/-?\d+(\.\d+)?px/g)) == null ? void 0 : c.map((g) => parseFloat(g))) || [];
16773
16773
  if (d.length < 2)
16774
16774
  continue;
16775
- let [m, p, u = 0, b = 0] = d, g = Math.abs(m) + u + b, h = Math.abs(p) + u + b;
16776
- o = Math.max(o, g + Math.max(m, 0)), l = Math.max(l, g + Math.max(-m, 0)), r = Math.max(r, h + Math.max(p, 0)), i = Math.max(i, h + Math.max(-p, 0));
16775
+ let [m, p, u = 0, b = 0] = d, f = Math.abs(m) + u + b, h = Math.abs(p) + u + b;
16776
+ o = Math.max(o, f + Math.max(m, 0)), l = Math.max(l, f + Math.max(-m, 0)), r = Math.max(r, h + Math.max(p, 0)), i = Math.max(i, h + Math.max(-p, 0));
16777
16777
  }
16778
16778
  return { top: Math.ceil(i), right: Math.ceil(o), bottom: Math.ceil(r), left: Math.ceil(l) };
16779
16779
  }
@@ -16795,8 +16795,8 @@ function Q0(t) {
16795
16795
  let a = e.match(/drop-shadow\((?:[^()]|\([^()]*\))*\)/gi) || [], i = 0, o = 0, r = 0, l = 0, c = !1;
16796
16796
  for (let d of a) {
16797
16797
  c = !0;
16798
- let m = ((s = d.match(/-?\d+(?:\.\d+)?px/gi)) == null ? void 0 : s.map((f) => parseFloat(f))) || [], [p = 0, u = 0, b = 0] = m, g = Math.abs(p) + b, h = Math.abs(u) + b;
16799
- o = Math.max(o, g + Math.max(p, 0)), l = Math.max(l, g + Math.max(-p, 0)), r = Math.max(r, h + Math.max(u, 0)), i = Math.max(i, h + Math.max(-u, 0));
16798
+ let m = ((s = d.match(/-?\d+(?:\.\d+)?px/gi)) == null ? void 0 : s.map((g) => parseFloat(g))) || [], [p = 0, u = 0, b = 0] = m, f = Math.abs(p) + b, h = Math.abs(u) + b;
16799
+ o = Math.max(o, f + Math.max(p, 0)), l = Math.max(l, f + Math.max(-p, 0)), r = Math.max(r, h + Math.max(u, 0)), i = Math.max(i, h + Math.max(-u, 0));
16800
16800
  }
16801
16801
  return { bleed: { top: ce(i), right: ce(o), bottom: ce(r), left: ce(l) }, has: c };
16802
16802
  }
@@ -16824,9 +16824,9 @@ function ef(t, e) {
16824
16824
  if (o) {
16825
16825
  let r = o[1].split(",").map((l) => parseFloat(l.trim()));
16826
16826
  if (r.length === 6 && r.every(Number.isFinite)) {
16827
- let [l, c, s, d] = r, m = Math.sqrt(l * l + c * c) || 0, p = 0, u = 0, b = 0, g = 0, h = 0, f = 0;
16828
- m > 0 && (p = l / m, u = c / m, b = p * s + u * d, g = s - p * b, h = d - u * b, f = Math.sqrt(g * g + h * h) || 0, f > 0 ? b = b / f : b = 0);
16829
- let M = m, _ = 0, v = b * f, L = f;
16827
+ let [l, c, s, d] = r, m = Math.sqrt(l * l + c * c) || 0, p = 0, u = 0, b = 0, f = 0, h = 0, g = 0;
16828
+ m > 0 && (p = l / m, u = c / m, b = p * s + u * d, f = s - p * b, h = d - u * b, g = Math.sqrt(f * f + h * h) || 0, g > 0 ? b = b / g : b = 0);
16829
+ let M = m, _ = 0, v = b * g, L = g;
16830
16830
  try {
16831
16831
  e.style.transform = `matrix(${M}, ${_}, ${v}, ${L}, 0, 0)`;
16832
16832
  } catch {
@@ -16847,10 +16847,10 @@ function qi(t, e, a, i, o) {
16847
16847
  let v = M - i, L = _ - o, T = r * v + c * L, C = l * v + s * L;
16848
16848
  return T += i + d, C += o + m, [T, C];
16849
16849
  }
16850
- let u = [p(0, 0), p(t, 0), p(0, e), p(t, e)], b = 1 / 0, g = 1 / 0, h = -1 / 0, f = -1 / 0;
16850
+ let u = [p(0, 0), p(t, 0), p(0, e), p(t, e)], b = 1 / 0, f = 1 / 0, h = -1 / 0, g = -1 / 0;
16851
16851
  for (let [M, _] of u)
16852
- M < b && (b = M), _ < g && (g = _), M > h && (h = M), _ > f && (f = _);
16853
- return { minX: b, minY: g, maxX: h, maxY: f, width: h - b, height: f - g };
16852
+ M < b && (b = M), _ < f && (f = _), M > h && (h = M), _ > g && (g = _);
16853
+ return { minX: b, minY: f, maxX: h, maxY: g, width: h - b, height: g - f };
16854
16854
  }
16855
16855
  function tf(t, e, a) {
16856
16856
  let i = (t.transformOrigin || "0 0").trim().split(/\s+/), [o, r] = [i[0] || "0", i[1] || "0"], l = (c, s) => {
@@ -16863,38 +16863,38 @@ function af(t) {
16863
16863
  var o, r, l, c, s, d, m, p;
16864
16864
  let e = { rotate: "0deg", scale: null, translate: null }, a = typeof t.computedStyleMap == "function" ? t.computedStyleMap() : null;
16865
16865
  if (a) {
16866
- let u = (f) => {
16866
+ let u = (g) => {
16867
16867
  try {
16868
- return typeof a.has == "function" && !a.has(f) || typeof a.get != "function" ? null : a.get(f);
16868
+ return typeof a.has == "function" && !a.has(g) || typeof a.get != "function" ? null : a.get(g);
16869
16869
  } catch {
16870
16870
  return null;
16871
16871
  }
16872
16872
  }, b = u("rotate");
16873
16873
  if (b)
16874
16874
  if (b.angle) {
16875
- let f = b.angle;
16876
- e.rotate = f.unit === "rad" ? f.value * 180 / Math.PI + "deg" : f.value + f.unit;
16875
+ let g = b.angle;
16876
+ e.rotate = g.unit === "rad" ? g.value * 180 / Math.PI + "deg" : g.value + g.unit;
16877
16877
  } else
16878
16878
  b.unit ? e.rotate = b.unit === "rad" ? b.value * 180 / Math.PI + "deg" : b.value + b.unit : e.rotate = String(b);
16879
16879
  else {
16880
- let f = getComputedStyle(t);
16881
- e.rotate = f.rotate && f.rotate !== "none" ? f.rotate : "0deg";
16880
+ let g = getComputedStyle(t);
16881
+ e.rotate = g.rotate && g.rotate !== "none" ? g.rotate : "0deg";
16882
16882
  }
16883
- let g = u("scale");
16884
- if (g) {
16885
- let f = "x" in g && ((o = g.x) == null ? void 0 : o.value) != null ? g.x.value : Array.isArray(g) ? (r = g[0]) == null ? void 0 : r.value : Number(g) || 1, M = "y" in g && ((l = g.y) == null ? void 0 : l.value) != null ? g.y.value : Array.isArray(g) ? (c = g[1]) == null ? void 0 : c.value : f;
16886
- e.scale = `${f} ${M}`;
16883
+ let f = u("scale");
16884
+ if (f) {
16885
+ let g = "x" in f && ((o = f.x) == null ? void 0 : o.value) != null ? f.x.value : Array.isArray(f) ? (r = f[0]) == null ? void 0 : r.value : Number(f) || 1, M = "y" in f && ((l = f.y) == null ? void 0 : l.value) != null ? f.y.value : Array.isArray(f) ? (c = f[1]) == null ? void 0 : c.value : g;
16886
+ e.scale = `${g} ${M}`;
16887
16887
  } else {
16888
- let f = getComputedStyle(t);
16889
- e.scale = f.scale && f.scale !== "none" ? f.scale : null;
16888
+ let g = getComputedStyle(t);
16889
+ e.scale = g.scale && g.scale !== "none" ? g.scale : null;
16890
16890
  }
16891
16891
  let h = u("translate");
16892
16892
  if (h) {
16893
- let f = "x" in h && "value" in h.x ? h.x.value : Array.isArray(h) ? (s = h[0]) == null ? void 0 : s.value : 0, M = "y" in h && "value" in h.y ? h.y.value : Array.isArray(h) ? (d = h[1]) == null ? void 0 : d.value : 0, _ = "x" in h && ((m = h.x) != null && m.unit) ? h.x.unit : "px", v = "y" in h && ((p = h.y) != null && p.unit) ? h.y.unit : "px";
16894
- e.translate = `${f}${_} ${M}${v}`;
16893
+ let g = "x" in h && "value" in h.x ? h.x.value : Array.isArray(h) ? (s = h[0]) == null ? void 0 : s.value : 0, M = "y" in h && "value" in h.y ? h.y.value : Array.isArray(h) ? (d = h[1]) == null ? void 0 : d.value : 0, _ = "x" in h && ((m = h.x) != null && m.unit) ? h.x.unit : "px", v = "y" in h && ((p = h.y) != null && p.unit) ? h.y.unit : "px";
16894
+ e.translate = `${g}${_} ${M}${v}`;
16895
16895
  } else {
16896
- let f = getComputedStyle(t);
16897
- e.translate = f.translate && f.translate !== "none" ? f.translate : null;
16896
+ let g = getComputedStyle(t);
16897
+ e.translate = g.translate && g.translate !== "none" ? g.translate : null;
16898
16898
  }
16899
16899
  return e;
16900
16900
  }
@@ -16938,11 +16938,11 @@ async function yr(t, e) {
16938
16938
  Yu(e.cache);
16939
16939
  let a = e.fast, i = e.outerTransforms !== !1, o = !!e.outerShadows, r = { element: t, options: e, plugins: e.plugins }, l, c, s, d = "", m = "", p, u, b = null;
16940
16940
  await Qe("beforeSnap", r), await Qe("beforeClone", r);
16941
- let g = A0(r.element);
16941
+ let f = A0(r.element);
16942
16942
  try {
16943
16943
  ({ clone: l, classCSS: c, styleCache: s } = await R0(r.element, r.options)), !i && l && (b = ef(r.element, l)), !o && l && V0(r.element, l);
16944
16944
  } finally {
16945
- g();
16945
+ f();
16946
16946
  }
16947
16947
  if (r = { clone: l, classCSS: c, styleCache: s, ...r }, await Qe("afterClone", r), Z0(r.clone), ((_ = r.options) == null ? void 0 : _.excludeMode) === "remove")
16948
16948
  try {
@@ -16972,10 +16972,10 @@ async function yr(t, e) {
16972
16972
  d = await Rg({ required: L, usedCodepoints: T, preCached: !1, exclude: r.options.excludeFonts, useProxy: r.options.useProxy }), v();
16973
16973
  }, { fast: a });
16974
16974
  });
16975
- let h = lg(r.clone).sort(), f = h.join(",");
16976
- O.baseStyle.has(f) ? m = O.baseStyle.get(f) : await new Promise((v) => {
16975
+ let h = lg(r.clone).sort(), g = h.join(",");
16976
+ O.baseStyle.has(g) ? m = O.baseStyle.get(g) : await new Promise((v) => {
16977
16977
  nt(() => {
16978
- m = ng(h), O.baseStyle.set(f, m), v();
16978
+ m = ng(h), O.baseStyle.set(g, m), v();
16979
16979
  }, { fast: a });
16980
16980
  }), r = { fontsCSS: d, baseCSS: m, ...r }, await Qe("beforeRender", r), await new Promise((v) => {
16981
16981
  nt(() => {
@@ -17051,77 +17051,77 @@ async function df(t, e) {
17051
17051
  Se.capture = async (t, e, a) => {
17052
17052
  if (a !== br)
17053
17053
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17054
- let i = await yr(t, e), o = { img: async (g, h) => {
17055
- let { toImg: f } = await import("./toImg-f1ce59b0.js");
17056
- return f(i, { ...g, ...h || {} });
17057
- }, svg: async (g, h) => {
17058
- let { toSvg: f } = await import("./toImg-f1ce59b0.js");
17059
- return f(i, { ...g, ...h || {} });
17060
- }, canvas: async (g, h) => {
17061
- let { toCanvas: f } = await import("./toCanvas-3a2f6066.js");
17062
- return f(i, { ...g, ...h || {} });
17063
- }, blob: async (g, h) => {
17064
- let { toBlob: f } = await import("./toBlob-a9177235.js");
17065
- return f(i, { ...g, ...h || {} });
17066
- }, png: async (g, h) => {
17067
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
17068
- return f(i, { ...g, ...h || {}, format: "png" });
17069
- }, jpeg: async (g, h) => {
17070
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
17071
- return f(i, { ...g, ...h || {}, format: "jpeg" });
17072
- }, webp: async (g, h) => {
17073
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
17074
- return f(i, { ...g, ...h || {}, format: "webp" });
17075
- }, download: async (g, h) => {
17076
- let { download: f } = await import("./download-762df4b4.js");
17077
- return f(i, { ...g, ...h || {} });
17078
- } }, r = { ...e, export: { url: i }, exports: { svg: async (g) => {
17079
- let { toSvg: h } = await import("./toImg-f1ce59b0.js");
17080
- return h(i, { ...e, ...g || {}, [qe]: !0 });
17081
- }, canvas: async (g) => {
17082
- let { toCanvas: h } = await import("./toCanvas-3a2f6066.js");
17083
- return h(i, { ...e, ...g || {}, [qe]: !0 });
17084
- }, png: async (g) => {
17085
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
17086
- return h(i, { ...e, ...g || {}, format: "png", [qe]: !0 });
17087
- }, jpeg: async (g) => {
17088
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
17089
- return h(i, { ...e, ...g || {}, format: "jpeg", [qe]: !0 });
17090
- }, jpg: async (g) => {
17091
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
17092
- return h(i, { ...e, ...g || {}, format: "jpeg", [qe]: !0 });
17093
- }, webp: async (g) => {
17094
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
17095
- return h(i, { ...e, ...g || {}, format: "webp", [qe]: !0 });
17096
- }, blob: async (g) => {
17097
- let { toBlob: h } = await import("./toBlob-a9177235.js");
17098
- return h(i, { ...e, ...g || {}, [qe]: !0 });
17099
- }, img: async (g) => {
17100
- let { toImg: h } = await import("./toImg-f1ce59b0.js");
17101
- return h(i, { ...e, ...g || {}, [qe]: !0 });
17102
- } } }, l = await Fg("defineExports", r), c = Object.assign({}, ...l.filter((g) => g && typeof g == "object")), s = { ...o, ...c };
17103
- s.jpeg && !s.jpg && (s.jpg = (g, h) => s.jpeg(g, h));
17104
- function d(g, h) {
17105
- let f = { ...e, ...h || {} };
17106
- return (g === "jpeg" || g === "jpg") && (f.backgroundColor == null || f.backgroundColor === "transparent") && (f.backgroundColor = "#ffffff"), f;
17054
+ let i = await yr(t, e), o = { img: async (f, h) => {
17055
+ let { toImg: g } = await import("./toImg-eb8379e8.js");
17056
+ return g(i, { ...f, ...h || {} });
17057
+ }, svg: async (f, h) => {
17058
+ let { toSvg: g } = await import("./toImg-eb8379e8.js");
17059
+ return g(i, { ...f, ...h || {} });
17060
+ }, canvas: async (f, h) => {
17061
+ let { toCanvas: g } = await import("./toCanvas-f45be4a1.js");
17062
+ return g(i, { ...f, ...h || {} });
17063
+ }, blob: async (f, h) => {
17064
+ let { toBlob: g } = await import("./toBlob-71abea84.js");
17065
+ return g(i, { ...f, ...h || {} });
17066
+ }, png: async (f, h) => {
17067
+ let { rasterize: g } = await import("./rasterize-JS5G2XHH-c57afd54.js");
17068
+ return g(i, { ...f, ...h || {}, format: "png" });
17069
+ }, jpeg: async (f, h) => {
17070
+ let { rasterize: g } = await import("./rasterize-JS5G2XHH-c57afd54.js");
17071
+ return g(i, { ...f, ...h || {}, format: "jpeg" });
17072
+ }, webp: async (f, h) => {
17073
+ let { rasterize: g } = await import("./rasterize-JS5G2XHH-c57afd54.js");
17074
+ return g(i, { ...f, ...h || {}, format: "webp" });
17075
+ }, download: async (f, h) => {
17076
+ let { download: g } = await import("./download-2aed39d7.js");
17077
+ return g(i, { ...f, ...h || {} });
17078
+ } }, r = { ...e, export: { url: i }, exports: { svg: async (f) => {
17079
+ let { toSvg: h } = await import("./toImg-eb8379e8.js");
17080
+ return h(i, { ...e, ...f || {}, [qe]: !0 });
17081
+ }, canvas: async (f) => {
17082
+ let { toCanvas: h } = await import("./toCanvas-f45be4a1.js");
17083
+ return h(i, { ...e, ...f || {}, [qe]: !0 });
17084
+ }, png: async (f) => {
17085
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-c57afd54.js");
17086
+ return h(i, { ...e, ...f || {}, format: "png", [qe]: !0 });
17087
+ }, jpeg: async (f) => {
17088
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-c57afd54.js");
17089
+ return h(i, { ...e, ...f || {}, format: "jpeg", [qe]: !0 });
17090
+ }, jpg: async (f) => {
17091
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-c57afd54.js");
17092
+ return h(i, { ...e, ...f || {}, format: "jpeg", [qe]: !0 });
17093
+ }, webp: async (f) => {
17094
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-c57afd54.js");
17095
+ return h(i, { ...e, ...f || {}, format: "webp", [qe]: !0 });
17096
+ }, blob: async (f) => {
17097
+ let { toBlob: h } = await import("./toBlob-71abea84.js");
17098
+ return h(i, { ...e, ...f || {}, [qe]: !0 });
17099
+ }, img: async (f) => {
17100
+ let { toImg: h } = await import("./toImg-eb8379e8.js");
17101
+ return h(i, { ...e, ...f || {}, [qe]: !0 });
17102
+ } } }, l = await Fg("defineExports", r), c = Object.assign({}, ...l.filter((f) => f && typeof f == "object")), s = { ...o, ...c };
17103
+ s.jpeg && !s.jpg && (s.jpg = (f, h) => s.jpeg(f, h));
17104
+ function d(f, h) {
17105
+ let g = { ...e, ...h || {} };
17106
+ return (f === "jpeg" || f === "jpg") && (g.backgroundColor == null || g.backgroundColor === "transparent") && (g.backgroundColor = "#ffffff"), g;
17107
17107
  }
17108
17108
  let m = !1, p = Promise.resolve();
17109
- async function u(g, h) {
17110
- let f = async () => {
17111
- let M = s[g];
17109
+ async function u(f, h) {
17110
+ let g = async () => {
17111
+ let M = s[f];
17112
17112
  if (!M)
17113
- throw new Error(`[snapdom] Unknown export type: ${g}`);
17114
- let _ = d(g, h), v = { ...e, export: { type: g, options: _, url: i } };
17113
+ throw new Error(`[snapdom] Unknown export type: ${f}`);
17114
+ let _ = d(f, h), v = { ...e, export: { type: f, options: _, url: i } };
17115
17115
  await Qe("beforeExport", v);
17116
17116
  let L = await M(v, _);
17117
17117
  return await Qe("afterExport", v, L), m || (m = !0, await Qe("afterSnap", e)), L;
17118
17118
  };
17119
- return p = p.then(f);
17119
+ return p = p.then(g);
17120
17120
  }
17121
- let b = { url: i, toRaw: () => i, to: (g, h) => u(g, h), toImg: (g) => u("img", g), toSvg: (g) => u("svg", g), toCanvas: (g) => u("canvas", g), toBlob: (g) => u("blob", g), toPng: (g) => u("png", g), toJpg: (g) => u("jpg", g), toWebp: (g) => u("webp", g), download: (g) => u("download", g) };
17122
- for (let g of Object.keys(s)) {
17123
- let h = "to" + g.charAt(0).toUpperCase() + g.slice(1);
17124
- b[h] || (b[h] = (f) => u(g, f));
17121
+ let b = { url: i, toRaw: () => i, to: (f, h) => u(f, h), toImg: (f) => u("img", f), toSvg: (f) => u("svg", f), toCanvas: (f) => u("canvas", f), toBlob: (f) => u("blob", f), toPng: (f) => u("png", f), toJpg: (f) => u("jpg", f), toWebp: (f) => u("webp", f), download: (f) => u("download", f) };
17122
+ for (let f of Object.keys(s)) {
17123
+ let h = "to" + f.charAt(0).toUpperCase() + f.slice(1);
17124
+ b[h] || (b[h] = (g) => u(f, g));
17125
17125
  }
17126
17126
  return b;
17127
17127
  };
@@ -17274,8 +17274,8 @@ class uf {
17274
17274
  );
17275
17275
  const s = a, d = Math.max(this.captureRect.width / 48, this.captureRect.height / 48), m = 8, p = 12;
17276
17276
  this.ctx.font = `bold ${d}px Arial, sans-serif`, this.ctx.textAlign = "center", this.ctx.textBaseline = "top";
17277
- const b = this.ctx.measureText(s).width, g = d, h = (this.captureRect.width - b) / 2 - m * 2, f = p, M = b + m * 4, _ = g + m * 2;
17278
- this.ctx.fillStyle = "rgba(0, 0, 0, 0.6)", this.ctx.beginPath(), this.ctx.roundRect(h, f, M, _, 16), this.ctx.fill(), this.ctx.fillStyle = "#ffffff", this.ctx.fillText(s, this.captureRect.width / 2, p + m);
17277
+ const b = this.ctx.measureText(s).width, f = d, h = (this.captureRect.width - b) / 2 - m * 2, g = p, M = b + m * 4, _ = f + m * 2;
17278
+ this.ctx.fillStyle = "rgba(0, 0, 0, 0.6)", this.ctx.beginPath(), this.ctx.roundRect(h, g, M, _, 16), this.ctx.fill(), this.ctx.fillStyle = "#ffffff", this.ctx.fillText(s, this.captureRect.width / 2, p + m);
17279
17279
  const v = this.ctx.getImageData(0, 0, this.captureRect.width, this.captureRect.height);
17280
17280
  this.frames.push(v), console.log("[GifRecorder] 帧添加成功, 当前帧数:", this.frames.length);
17281
17281
  }
@@ -17722,7 +17722,7 @@ const Mf = {
17722
17722
  class: "list d-flex flex-wrap pa-2 rounded ga-2"
17723
17723
  }, Af = ["onClick"], Gf = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Nf = { class: "text-body-1" };
17724
17724
  function Ff(t, e, a, i, o, r) {
17725
- const l = P("IdmCapture"), c = P("DateTimePicker"), s = P("VListItemTitle"), d = P("VListItem"), m = P("VList"), p = P("VMenu"), u = P("VBtn"), b = P("VDivider"), g = P("VTooltip");
17725
+ const l = P("IdmCapture"), c = P("DateTimePicker"), s = P("VListItemTitle"), d = P("VListItem"), m = P("VList"), p = P("VMenu"), u = P("VBtn"), b = P("VDivider"), f = P("VTooltip");
17726
17726
  return k(), I("div", Pf, [
17727
17727
  w(l, $({
17728
17728
  ref: "capture",
@@ -17766,8 +17766,8 @@ function Ff(t, e, a, i, o, r) {
17766
17766
  default: x(() => [
17767
17767
  w(m, { class: "pa-1" }, {
17768
17768
  default: x(() => [
17769
- (k(!0), I(Te, null, De(o.intervalOptions, (h, f) => (k(), W(d, {
17770
- key: f,
17769
+ (k(!0), I(Te, null, De(o.intervalOptions, (h, g) => (k(), W(d, {
17770
+ key: g,
17771
17771
  value: h,
17772
17772
  variant: o.intervalHour === h ? "tonal" : "text",
17773
17773
  color: "primary",
@@ -17806,7 +17806,7 @@ function Ff(t, e, a, i, o, r) {
17806
17806
  style: { height: "16px" }
17807
17807
  }),
17808
17808
  n("div", Tf, [
17809
- w(g, {
17809
+ w(f, {
17810
17810
  text: o.gifEnabled ? t.$t("actions.stop") : t.$t("actions.record"),
17811
17811
  location: "top",
17812
17812
  interactive: !0,
@@ -17821,7 +17821,7 @@ function Ff(t, e, a, i, o, r) {
17821
17821
  size: "small",
17822
17822
  density: "comfortable",
17823
17823
  variant: "text",
17824
- onClick: e[7] || (e[7] = (f) => o.gifEnabled = !o.gifEnabled)
17824
+ onClick: e[7] || (e[7] = (g) => o.gifEnabled = !o.gifEnabled)
17825
17825
  }), {
17826
17826
  default: x(() => e[15] || (e[15] = [
17827
17827
  n("i", { class: "iconfont icon-stop-record text-danger" }, null, -1)
@@ -17833,7 +17833,7 @@ function Ff(t, e, a, i, o, r) {
17833
17833
  size: "small",
17834
17834
  density: "comfortable",
17835
17835
  variant: "text",
17836
- onClick: e[6] || (e[6] = (f) => o.gifEnabled = !o.gifEnabled)
17836
+ onClick: e[6] || (e[6] = (g) => o.gifEnabled = !o.gifEnabled)
17837
17837
  }), {
17838
17838
  default: x(() => e[14] || (e[14] = [
17839
17839
  n("i", { class: "iconfont icon-record" }, null, -1)
@@ -17844,7 +17844,7 @@ function Ff(t, e, a, i, o, r) {
17844
17844
  ]),
17845
17845
  _: 1
17846
17846
  }, 8, ["text"]),
17847
- w(g, {
17847
+ w(f, {
17848
17848
  text: t.$t("actions.reset"),
17849
17849
  location: "top",
17850
17850
  interactive: !0,
@@ -17867,7 +17867,7 @@ function Ff(t, e, a, i, o, r) {
17867
17867
  ]),
17868
17868
  _: 1
17869
17869
  }, 8, ["text"]),
17870
- w(g, {
17870
+ w(f, {
17871
17871
  text: t.$t("actions.backward"),
17872
17872
  location: "top",
17873
17873
  interactive: !0,
@@ -17890,7 +17890,7 @@ function Ff(t, e, a, i, o, r) {
17890
17890
  ]),
17891
17891
  _: 1
17892
17892
  }, 8, ["text"]),
17893
- w(g, {
17893
+ w(f, {
17894
17894
  text: t.$t("actions.play"),
17895
17895
  location: "top",
17896
17896
  interactive: !0,
@@ -17913,7 +17913,7 @@ function Ff(t, e, a, i, o, r) {
17913
17913
  ]),
17914
17914
  _: 1
17915
17915
  }, 8, ["text"]),
17916
- w(g, {
17916
+ w(f, {
17917
17917
  text: t.$t("actions.pause"),
17918
17918
  location: "top",
17919
17919
  interactive: !0,
@@ -17936,7 +17936,7 @@ function Ff(t, e, a, i, o, r) {
17936
17936
  ]),
17937
17937
  _: 1
17938
17938
  }, 8, ["text"]),
17939
- w(g, {
17939
+ w(f, {
17940
17940
  text: t.$t("actions.forward"),
17941
17941
  location: "top",
17942
17942
  interactive: !0,
@@ -17966,16 +17966,16 @@ function Ff(t, e, a, i, o, r) {
17966
17966
  style: { height: "16px" }
17967
17967
  }),
17968
17968
  n("div", Rf, [
17969
- w(g, {
17969
+ w(f, {
17970
17970
  text: t.$t("weather.windBarbs"),
17971
17971
  location: "top"
17972
17972
  }, {
17973
17973
  activator: x(({ props: h }) => {
17974
- var f, M;
17974
+ var g, M;
17975
17975
  return [
17976
17976
  w(u, $(h, {
17977
17977
  class: "pa-1 d-flex",
17978
- color: (f = a.weatherCheckList) != null && f.includes("wind") ? "primary" : "",
17978
+ color: (g = a.weatherCheckList) != null && g.includes("wind") ? "primary" : "",
17979
17979
  variant: (M = a.weatherCheckList) != null && M.includes("wind") ? "elevated" : "text",
17980
17980
  height: "24",
17981
17981
  width: "24",
@@ -17992,16 +17992,16 @@ function Ff(t, e, a, i, o, r) {
17992
17992
  }),
17993
17993
  _: 1
17994
17994
  }, 8, ["text"]),
17995
- w(g, {
17995
+ w(f, {
17996
17996
  text: t.$t("weather.sigWaveHeight"),
17997
17997
  location: "top"
17998
17998
  }, {
17999
17999
  activator: x(({ props: h }) => {
18000
- var f, M;
18000
+ var g, M;
18001
18001
  return [
18002
18002
  w(u, $(h, {
18003
18003
  class: "pa-1 d-flex",
18004
- color: (f = a.weatherCheckList) != null && f.includes("sig-wave-height") ? "primary" : "",
18004
+ color: (g = a.weatherCheckList) != null && g.includes("sig-wave-height") ? "primary" : "",
18005
18005
  variant: (M = a.weatherCheckList) != null && M.includes("sig-wave-height") ? "elevated" : "text",
18006
18006
  height: "24",
18007
18007
  width: "24",
@@ -18017,16 +18017,16 @@ function Ff(t, e, a, i, o, r) {
18017
18017
  }),
18018
18018
  _: 1
18019
18019
  }, 8, ["text"]),
18020
- w(g, {
18020
+ w(f, {
18021
18021
  text: t.$t("weather.currentDirection"),
18022
18022
  location: "top"
18023
18023
  }, {
18024
18024
  activator: x(({ props: h }) => {
18025
- var f, M;
18025
+ var g, M;
18026
18026
  return [
18027
18027
  w(u, $(h, {
18028
18028
  class: "pa-1 d-flex",
18029
- color: (f = a.weatherCheckList) != null && f.includes("current-direction") ? "primary" : "",
18029
+ color: (g = a.weatherCheckList) != null && g.includes("current-direction") ? "primary" : "",
18030
18030
  variant: (M = a.weatherCheckList) != null && M.includes("current-direction") ? "elevated" : "text",
18031
18031
  height: "24",
18032
18032
  width: "24",
@@ -18042,7 +18042,7 @@ function Ff(t, e, a, i, o, r) {
18042
18042
  }),
18043
18043
  _: 1
18044
18044
  }, 8, ["text"]),
18045
- w(g, {
18045
+ w(f, {
18046
18046
  text: t.$t("weather.weatherLayers"),
18047
18047
  location: "top"
18048
18048
  }, {
@@ -18106,7 +18106,7 @@ function Ff(t, e, a, i, o, r) {
18106
18106
  (k(!0), I(Te, null, De(o.offsets, (h) => (k(), I("div", {
18107
18107
  key: h,
18108
18108
  class: "item rounded text-body-2 hover-active",
18109
- onClick: (f) => o.timeZone = h
18109
+ onClick: (g) => o.timeZone = h
18110
18110
  }, y(h < 0 ? h : "+" + h), 9, Af))), 128))
18111
18111
  ])) : N("", !0),
18112
18112
  n("div", Gf, [
@@ -18397,14 +18397,24 @@ const wr = /* @__PURE__ */ ie(Vf, [["render", Bf]]), Zf = {
18397
18397
  if (this.map) {
18398
18398
  const t = this.autoActive && this.weatherCheckList.some((i) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp", "sig-wave-height"].some((o) => o === i)), e = this.otherCheckList.some((i) => ["navareas", "eca-zones", "load-lines", "voluntary-reporting-area", "war-zones", "special-area", "ice-areas"].some((o) => o === i)), a = t || e;
18399
18399
  this.mapFeather === "nautical" ? t ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), this.map.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), this.map.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), this.map.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), this.map.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), this.map.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible")) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "visible"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "visible"), this.map.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), this.map.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), this.map.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), this.map.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), this.map.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none")) : this.mapFeather === "satellite" ? t ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "visible"), this.map.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "country-boundaries"), this.map.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "country-boundaries")) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "none")) : a ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible"), t ? (this.map.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-0"), this.map.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "empty-layer-0"), setTimeout(() => {
18400
- this.map.getLayer("sig-wave-height-label-layer") && this.map.moveLayer("sig-wave-height-label-layer", "empty-layer-0"), this.map.getLayer("sig-wave-height-layer") && this.map.moveLayer("sig-wave-height-layer", "empty-layer-0");
18400
+ this.map.getLayer("sig-wave-height-layer") && this.map.moveLayer("sig-wave-height-layer", "empty-layer-0"), this.map.getLayer("sig-wave-height-label-layer") && this.map.moveLayer("sig-wave-height-label-layer", "empty-layer-0");
18401
18401
  }, 1e3)) : this.map.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-2")) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none"));
18402
18402
  }
18403
18403
  },
18404
18404
  immediate: !0
18405
18405
  }
18406
18406
  },
18407
- methods: {}
18407
+ methods: {
18408
+ handleChangeOtherChecklist(t) {
18409
+ this.otherCheckList = t, this.layerVersion = this.layerVersion + 1;
18410
+ },
18411
+ handleChangeAutoActive(t) {
18412
+ this.autoActive = t, this.layerVersion = this.layerVersion + 1;
18413
+ },
18414
+ handleChangeWeatherChecklist(t) {
18415
+ this.weatherCheckList = t, this.layerVersion = this.layerVersion + 1;
18416
+ }
18417
+ }
18408
18418
  }, Of = {
18409
18419
  id: "map-gl4-home",
18410
18420
  ref: "mapHomeGl4",
@@ -18424,11 +18434,7 @@ function jf(t, e, a, i, o, r) {
18424
18434
  "assist-gateway": o.assistGateway,
18425
18435
  "forecast-model": a.forecastModel,
18426
18436
  "map-feather": a.mapFeather
18427
- }, t.$attrs, {
18428
- onOtherCheckList: e[0] || (e[0] = (g) => {
18429
- o.otherCheckList = g, o.layerVersion = o.layerVersion + 1;
18430
- })
18431
- }), null, 16, ["simple", "token", "default-meteo-token", "map", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
18437
+ }, t.$attrs, { onOtherCheckList: r.handleChangeOtherChecklist }), null, 16, ["simple", "token", "default-meteo-token", "map", "gateway", "assist-gateway", "forecast-model", "map-feather", "onOtherCheckList"]),
18432
18438
  w(c, $({
18433
18439
  ref: "idmWeatherLayers",
18434
18440
  simple: a.simple,
@@ -18441,13 +18447,9 @@ function jf(t, e, a, i, o, r) {
18441
18447
  "forecast-model": a.forecastModel,
18442
18448
  "map-feather": a.mapFeather
18443
18449
  }, t.$attrs, {
18444
- onAutoActive: e[1] || (e[1] = (g) => {
18445
- o.autoActive = g, o.layerVersion = o.layerVersion + 1;
18446
- }),
18447
- onWeatherCheckList: e[2] || (e[2] = (g) => {
18448
- o.weatherCheckList = g, o.layerVersion = o.layerVersion + 1;
18449
- })
18450
- }), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather"]),
18450
+ onAutoActive: r.handleChangeAutoActive,
18451
+ onWeatherCheckList: r.handleChangeWeatherChecklist
18452
+ }), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather", "onAutoActive", "onWeatherCheckList"]),
18451
18453
  w(s, $({
18452
18454
  ref: "idmTropicals",
18453
18455
  simple: a.simple,
@@ -18515,7 +18517,7 @@ class Hf {
18515
18517
  ve(this, "hi");
18516
18518
  ve(this, "td");
18517
18519
  ve(this, "windy");
18518
- var a, i, o, r, l, c, s, d, m, p, u, b, g, h, f, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J, K, oe, Y, X, ee, A, ne, fe, ke, ze, me, be, _e, Re, q, de, He, Ve, Me, Ae, le, Pe, ue, we, Be, Ue, Ye, U, xe, Ge, Ze, Oe, te, Ee, se, at, ot, it, Fe, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, kt, _t, Lt, zt, Ct, Mt, Pt, St, Tt, Rt, Dt, It, At, Gt, Nt, Ft, Wt, Vt, Et, Bt, Zt, Ot, jt, Xt, Ht, Yt, Ut, $t, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, ka, _a, La, za, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Aa, Ga, wo, xo, vo, ko, _o, Lo, zo, Co, Mo, Po, So, To, Ro, Do, Io, Ao, Go, No, Fo, Wo, Vo, Eo, Bo, Zo, Oo, jo, Xo, Ho, Yo, Uo, $o, Jo, Ko, qo, Qo, ei, ti, ai, oi, ii, ri, li, ni, si, ci, mi, di, hi, pi, ui, gi, fi, yi, bi, wi, xi, vi, ki, _i, Li, zi, Ci, Mi, Pi, Si, Ti;
18520
+ var a, i, o, r, l, c, s, d, m, p, u, b, f, h, g, M, _, v, L, T, C, S, R, F, V, E, H, Q, ae, re, pe, G, J, K, oe, Y, X, ee, A, ne, fe, ke, ze, me, be, _e, Re, q, de, He, Ve, Me, Ae, le, Pe, ue, we, Be, Ue, Ye, U, xe, Ge, Ze, Oe, te, Ee, se, at, ot, it, Fe, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, kt, _t, Lt, zt, Ct, Mt, Pt, St, Tt, Rt, Dt, It, At, Gt, Nt, Ft, Wt, Vt, Et, Bt, Zt, Ot, jt, Xt, Ht, Yt, Ut, $t, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, ka, _a, La, za, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Aa, Ga, wo, xo, vo, ko, _o, Lo, zo, Co, Mo, Po, So, To, Ro, Do, Io, Ao, Go, No, Fo, Wo, Vo, Eo, Bo, Zo, Oo, jo, Xo, Ho, Yo, Uo, $o, Jo, Ko, qo, Qo, ei, ti, ai, oi, ii, ri, li, ni, si, ci, mi, di, hi, pi, ui, gi, fi, yi, bi, wi, xi, vi, ki, _i, Li, zi, Ci, Mi, Pi, Si, Ti;
18519
18521
  this.i4 = {
18520
18522
  source: {
18521
18523
  type: "raster",
@@ -37044,8 +37046,8 @@ class Hf {
37044
37046
  (d = (s = this.originStyle) == null ? void 0 : s.light.layers) == null ? void 0 : d.find((z) => z.id === "ice-area-line"),
37045
37047
  (p = (m = this.originStyle) == null ? void 0 : m.light.layers) == null ? void 0 : p.find((z) => z.id === "loadlines-label"),
37046
37048
  (b = (u = this.originStyle) == null ? void 0 : u.light.layers) == null ? void 0 : b.find((z) => z.id === "loadlines-fill"),
37047
- (h = (g = this.originStyle) == null ? void 0 : g.light.layers) == null ? void 0 : h.find((z) => z.id === "empty-layer-0"),
37048
- (M = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : M.find((z) => z.id === "empty-layer-1"),
37049
+ (h = (f = this.originStyle) == null ? void 0 : f.light.layers) == null ? void 0 : h.find((z) => z.id === "empty-layer-0"),
37050
+ (M = (g = this.originStyle) == null ? void 0 : g.light.layers) == null ? void 0 : M.find((z) => z.id === "empty-layer-1"),
37049
37051
  (v = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : v.find((z) => z.id === "country-boundaries"),
37050
37052
  (T = (L = this.originStyle) == null ? void 0 : L.light.layers) == null ? void 0 : T.find((z) => z.id === "water-outline"),
37051
37053
  (S = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : S.find((z) => z.id === "water-outline2"),
@@ -37770,16 +37772,16 @@ function l1(t, e, a, i, o, r) {
37770
37772
  style: { height: "50px" }
37771
37773
  }, {
37772
37774
  default: x(() => {
37773
- var b, g;
37775
+ var b, f;
37774
37776
  return [
37775
37777
  (b = a.fastPick) != null && b.show ? (k(), I("div", i1, [
37776
- (k(!0), I(Te, null, De((g = o.fastPickOptions) == null ? void 0 : g.filter((h) => a.fastPick.allows.some((f) => f === h)), (h) => (k(), W(m, {
37778
+ (k(!0), I(Te, null, De((f = o.fastPickOptions) == null ? void 0 : f.filter((h) => a.fastPick.allows.some((g) => g === h)), (h) => (k(), W(m, {
37777
37779
  key: h,
37778
37780
  size: "small",
37779
37781
  color: o.activeFastPick === h ? "primary" : "",
37780
37782
  variant: o.activeFastPick === h ? "tonal" : "text",
37781
37783
  class: "text-none text-body-2 px-1",
37782
- onClick: (f) => r.handleFastPick({ dateRange: h })
37784
+ onClick: (g) => r.handleFastPick({ dateRange: h })
37783
37785
  }, {
37784
37786
  default: x(() => [
37785
37787
  Z(y(t.$t("time." + h)), 1)