@idmwx/idmui-gl4 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +256 -256
- package/dist/index.umd.cjs +13 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var Ta = Object.defineProperty;
|
|
2
2
|
var Ia = (t, e, o) => e in t ? Ta(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
|
|
3
|
-
var
|
|
3
|
+
var se = (t, e, o) => (Ia(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Be from "axios";
|
|
5
5
|
import { useTheme as Ee } from "vuetify";
|
|
6
|
-
import { openBlock as b, createElementBlock as
|
|
6
|
+
import { openBlock as b, createElementBlock as T, resolveComponent as w, withDirectives as He, createBlock as j, withCtx as u, createVNode as m, createElementVNode as l, vShow as We, toDisplayString as y, createTextVNode as G, normalizeStyle as ae, mergeProps as B, normalizeClass as Ye, Fragment as ke, renderList as Le, createCommentVNode as O, withModifiers as Ra } from "vue";
|
|
7
7
|
import we from "mapbox-gl";
|
|
8
8
|
import { LngLatHelper as oe, TropicalHelper as Pa, LaneHelper as Fe } from "@idm-plugin/geo";
|
|
9
9
|
import * as E from "@turf/turf";
|
|
@@ -12,7 +12,7 @@ import D from "moment";
|
|
|
12
12
|
import Da from "@mapbox/sphericalmercator";
|
|
13
13
|
import { LayerHelper as Oa } from "@idm-plugin/tag";
|
|
14
14
|
import { Meteo2Assist as ao } from "@idm-plugin/meteo";
|
|
15
|
-
const
|
|
15
|
+
const Z = (t, e) => {
|
|
16
16
|
const o = t.__vccOpts || t;
|
|
17
17
|
for (const [i, a] of e)
|
|
18
18
|
o[i] = a;
|
|
@@ -114,9 +114,9 @@ const X = (t, e) => {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
function Ea(t, e, o, i, a, r) {
|
|
117
|
-
return b(),
|
|
117
|
+
return b(), T("div");
|
|
118
118
|
}
|
|
119
|
-
const ja = /* @__PURE__ */
|
|
119
|
+
const ja = /* @__PURE__ */ Z(Ba, [["render", Ea]]), Na = {
|
|
120
120
|
name: "IdmGmdssArea",
|
|
121
121
|
props: {
|
|
122
122
|
map: {
|
|
@@ -243,9 +243,9 @@ const ja = /* @__PURE__ */ X(Ba, [["render", Ea]]), Na = {
|
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
function Fa(t, e, o, i, a, r) {
|
|
246
|
-
return b(),
|
|
246
|
+
return b(), T("div");
|
|
247
247
|
}
|
|
248
|
-
const Ha = /* @__PURE__ */
|
|
248
|
+
const Ha = /* @__PURE__ */ Z(Na, [["render", Fa]]), Wa = {
|
|
249
249
|
name: "IdmEcaZone",
|
|
250
250
|
props: {
|
|
251
251
|
map: {
|
|
@@ -344,9 +344,9 @@ const Ha = /* @__PURE__ */ X(Na, [["render", Fa]]), Wa = {
|
|
|
344
344
|
}
|
|
345
345
|
};
|
|
346
346
|
function Ga(t, e, o, i, a, r) {
|
|
347
|
-
return b(),
|
|
347
|
+
return b(), T("div");
|
|
348
348
|
}
|
|
349
|
-
const Ua = /* @__PURE__ */
|
|
349
|
+
const Ua = /* @__PURE__ */ Z(Wa, [["render", Ga]]);
|
|
350
350
|
const Va = {
|
|
351
351
|
name: "IdmAlertZone",
|
|
352
352
|
props: {
|
|
@@ -523,7 +523,7 @@ function Za(t, e, o, i, a, r) {
|
|
|
523
523
|
[We, a.showZone]
|
|
524
524
|
]);
|
|
525
525
|
}
|
|
526
|
-
const Xa = /* @__PURE__ */
|
|
526
|
+
const Xa = /* @__PURE__ */ Z(Va, [["render", Za]]);
|
|
527
527
|
const qa = {
|
|
528
528
|
name: "IdmPort",
|
|
529
529
|
props: {
|
|
@@ -700,7 +700,7 @@ function ti(t, e, o, i, a, r) {
|
|
|
700
700
|
[We, a.showInfo]
|
|
701
701
|
]);
|
|
702
702
|
}
|
|
703
|
-
const oi = /* @__PURE__ */
|
|
703
|
+
const oi = /* @__PURE__ */ Z(qa, [["render", ti], ["__scopeId", "data-v-0cf4535a"]]), ai = {
|
|
704
704
|
name: "IdmLoadLine",
|
|
705
705
|
props: {
|
|
706
706
|
map: {
|
|
@@ -789,9 +789,9 @@ const oi = /* @__PURE__ */ X(qa, [["render", ti], ["__scopeId", "data-v-0cf4535a
|
|
|
789
789
|
}
|
|
790
790
|
};
|
|
791
791
|
function ii(t, e, o, i, a, r) {
|
|
792
|
-
return b(),
|
|
792
|
+
return b(), T("div");
|
|
793
793
|
}
|
|
794
|
-
const ri = /* @__PURE__ */
|
|
794
|
+
const ri = /* @__PURE__ */ Z(ai, [["render", ii]]), li = {
|
|
795
795
|
name: "IdmTimezone",
|
|
796
796
|
props: {
|
|
797
797
|
map: {
|
|
@@ -967,9 +967,9 @@ const ri = /* @__PURE__ */ X(ai, [["render", ii]]), li = {
|
|
|
967
967
|
}
|
|
968
968
|
};
|
|
969
969
|
function si(t, e, o, i, a, r) {
|
|
970
|
-
return b(),
|
|
970
|
+
return b(), T("div");
|
|
971
971
|
}
|
|
972
|
-
const ni = /* @__PURE__ */
|
|
972
|
+
const ni = /* @__PURE__ */ Z(li, [["render", si]]), ci = {
|
|
973
973
|
name: "IdmVoluntaryReportingArea",
|
|
974
974
|
props: {
|
|
975
975
|
map: {
|
|
@@ -1064,9 +1064,9 @@ const ni = /* @__PURE__ */ X(li, [["render", si]]), ci = {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
};
|
|
1066
1066
|
function mi(t, e, o, i, a, r) {
|
|
1067
|
-
return b(),
|
|
1067
|
+
return b(), T("div");
|
|
1068
1068
|
}
|
|
1069
|
-
const hi = /* @__PURE__ */
|
|
1069
|
+
const hi = /* @__PURE__ */ Z(ci, [["render", mi]]), di = {
|
|
1070
1070
|
name: "IdmSpecialArea",
|
|
1071
1071
|
props: {
|
|
1072
1072
|
map: {
|
|
@@ -1161,9 +1161,9 @@ const hi = /* @__PURE__ */ X(ci, [["render", mi]]), di = {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
};
|
|
1163
1163
|
function pi(t, e, o, i, a, r) {
|
|
1164
|
-
return b(),
|
|
1164
|
+
return b(), T("div");
|
|
1165
1165
|
}
|
|
1166
|
-
const ui = /* @__PURE__ */
|
|
1166
|
+
const ui = /* @__PURE__ */ Z(di, [["render", pi]]), gi = {
|
|
1167
1167
|
name: "IdmTerminator",
|
|
1168
1168
|
props: {
|
|
1169
1169
|
map: {
|
|
@@ -1218,9 +1218,9 @@ const ui = /* @__PURE__ */ X(di, [["render", pi]]), gi = {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
};
|
|
1220
1220
|
function fi(t, e, o, i, a, r) {
|
|
1221
|
-
return b(),
|
|
1221
|
+
return b(), T("div");
|
|
1222
1222
|
}
|
|
1223
|
-
const yi = /* @__PURE__ */
|
|
1223
|
+
const yi = /* @__PURE__ */ Z(gi, [["render", fi]]), bi = {
|
|
1224
1224
|
name: "IdmWorld12nm",
|
|
1225
1225
|
props: {
|
|
1226
1226
|
map: {
|
|
@@ -1279,7 +1279,7 @@ const yi = /* @__PURE__ */ X(gi, [["render", fi]]), bi = {
|
|
|
1279
1279
|
function wi(t, e, o, i, a, r) {
|
|
1280
1280
|
return null;
|
|
1281
1281
|
}
|
|
1282
|
-
const xi = /* @__PURE__ */
|
|
1282
|
+
const xi = /* @__PURE__ */ Z(bi, [["render", wi]]);
|
|
1283
1283
|
const vi = {
|
|
1284
1284
|
name: "IdmWorldMarine",
|
|
1285
1285
|
props: {
|
|
@@ -1320,7 +1320,7 @@ const vi = {
|
|
|
1320
1320
|
function _i(t, e, o, i, a, r) {
|
|
1321
1321
|
return null;
|
|
1322
1322
|
}
|
|
1323
|
-
const ki = /* @__PURE__ */
|
|
1323
|
+
const ki = /* @__PURE__ */ Z(vi, [["render", _i]]), zi = {
|
|
1324
1324
|
name: "IdmChinaRoute",
|
|
1325
1325
|
props: {
|
|
1326
1326
|
map: {
|
|
@@ -1361,7 +1361,7 @@ const ki = /* @__PURE__ */ X(vi, [["render", _i]]), zi = {
|
|
|
1361
1361
|
function Li(t, e, o, i, a, r) {
|
|
1362
1362
|
return null;
|
|
1363
1363
|
}
|
|
1364
|
-
const Pi = /* @__PURE__ */
|
|
1364
|
+
const Pi = /* @__PURE__ */ Z(zi, [["render", Li]]);
|
|
1365
1365
|
const Ci = {
|
|
1366
1366
|
name: "IdmTideStations",
|
|
1367
1367
|
props: {
|
|
@@ -1481,7 +1481,7 @@ function Ai(t, e, o, i, a, r) {
|
|
|
1481
1481
|
[We, a.showInfo]
|
|
1482
1482
|
]);
|
|
1483
1483
|
}
|
|
1484
|
-
const Di = /* @__PURE__ */
|
|
1484
|
+
const Di = /* @__PURE__ */ Z(Ci, [["render", Ai], ["__scopeId", "data-v-fb4aeed3"]]), Oi = {
|
|
1485
1485
|
name: "IdmIceAreas",
|
|
1486
1486
|
props: {
|
|
1487
1487
|
map: {
|
|
@@ -1521,7 +1521,7 @@ const Di = /* @__PURE__ */ X(Ci, [["render", Ai], ["__scopeId", "data-v-fb4aeed3
|
|
|
1521
1521
|
function Bi(t, e, o, i, a, r) {
|
|
1522
1522
|
return null;
|
|
1523
1523
|
}
|
|
1524
|
-
const Ei = /* @__PURE__ */
|
|
1524
|
+
const Ei = /* @__PURE__ */ Z(Oi, [["render", Bi]]);
|
|
1525
1525
|
const ji = {
|
|
1526
1526
|
name: "IdmLatLng",
|
|
1527
1527
|
props: {
|
|
@@ -1694,7 +1694,7 @@ const ji = {
|
|
|
1694
1694
|
};
|
|
1695
1695
|
function Ni(t, e, o, i, a, r) {
|
|
1696
1696
|
var s, c, n;
|
|
1697
|
-
return b(),
|
|
1697
|
+
return b(), T("div", {
|
|
1698
1698
|
class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
|
|
1699
1699
|
style: ae({ right: a.right + "px" })
|
|
1700
1700
|
}, [
|
|
@@ -1703,7 +1703,7 @@ function Ni(t, e, o, i, a, r) {
|
|
|
1703
1703
|
l("div", null, y((n = a.lngLat) == null ? void 0 : n.str), 1)
|
|
1704
1704
|
], 4);
|
|
1705
1705
|
}
|
|
1706
|
-
const Sa = /* @__PURE__ */
|
|
1706
|
+
const Sa = /* @__PURE__ */ Z(ji, [["render", Ni]]);
|
|
1707
1707
|
const Fi = {
|
|
1708
1708
|
name: "IdmOtherLayerr",
|
|
1709
1709
|
components: {
|
|
@@ -1942,9 +1942,9 @@ const Fi = {
|
|
|
1942
1942
|
class: "border rounded-sm"
|
|
1943
1943
|
}, Qi = { class: "text-body-2 text-center pt-1" };
|
|
1944
1944
|
function Ji(t, e, o, i, a, r) {
|
|
1945
|
-
var $, ee, Q,
|
|
1946
|
-
const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), g = w("VCardItem"), p = w("VCheckbox"), d = w("VCardText"), f = w("VCard"), k = w("IdmTideStations"), v = w("IdmIceAreas"), S = w("IdmWorld12nm"), C = w("IdmWorldMarine"), N = w("IdmChinaRoute"), M = w("IdmWarZone"), L = w("IdmGmdssArea"), _ = w("IdmEcaZone"), z = w("IdmAlertZone"), P = w("IdmPort"), x = w("IdmLoadLine"),
|
|
1947
|
-
return b(),
|
|
1945
|
+
var $, ee, Q, le, de, pe, me, K, ie, ue;
|
|
1946
|
+
const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), g = w("VCardItem"), p = w("VCheckbox"), d = w("VCardText"), f = w("VCard"), k = w("IdmTideStations"), v = w("IdmIceAreas"), S = w("IdmWorld12nm"), C = w("IdmWorldMarine"), N = w("IdmChinaRoute"), M = w("IdmWarZone"), L = w("IdmGmdssArea"), _ = w("IdmEcaZone"), z = w("IdmAlertZone"), P = w("IdmPort"), x = w("IdmLoadLine"), I = w("IdmTimezone"), V = w("IdmVRA"), X = w("IdmSpecialArea"), q = w("IdmTerminator"), Y = w("IdmLatLng");
|
|
1947
|
+
return b(), T("div", Hi, [
|
|
1948
1948
|
l("div", {
|
|
1949
1949
|
class: "menu-bar-box transition px-1 rounded",
|
|
1950
1950
|
style: ae({ top: o.top + 10 + "px", right: a.right + "px" })
|
|
@@ -2017,23 +2017,23 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2017
2017
|
m(d, { class: "pb-2" }, {
|
|
2018
2018
|
default: u(() => [
|
|
2019
2019
|
l("div", Vi, [
|
|
2020
|
-
(b(!0),
|
|
2020
|
+
(b(!0), T(ke, null, Le(a.mapFeathers, (F) => (b(), T("div", {
|
|
2021
2021
|
key: F.value,
|
|
2022
2022
|
class: "mb-2 feather-item",
|
|
2023
|
-
onClick: (
|
|
2023
|
+
onClick: (ne) => r.handleToggleMapFeather(F)
|
|
2024
2024
|
}, [
|
|
2025
2025
|
l("div", {
|
|
2026
2026
|
class: Ye([a.mapFeather === F.value ? "active" : "", "img-box"])
|
|
2027
2027
|
}, [
|
|
2028
|
-
F.value === "dark" ? (b(),
|
|
2028
|
+
F.value === "dark" ? (b(), T("img", Zi)) : F.value === "nautical" ? (b(), T("img", Xi)) : F.value === "satellite" ? (b(), T("img", qi)) : (b(), T("img", Ki))
|
|
2029
2029
|
], 2),
|
|
2030
2030
|
l("div", Qi, y(t.$t(`layer.${F.locale}`)), 1)
|
|
2031
2031
|
], 8, Yi))), 128))
|
|
2032
2032
|
]),
|
|
2033
|
-
(b(!0),
|
|
2033
|
+
(b(!0), T(ke, null, Le(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (b(), j(p, {
|
|
2034
2034
|
key: F.key,
|
|
2035
2035
|
modelValue: a.checkList,
|
|
2036
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
2036
|
+
"onUpdate:modelValue": e[0] || (e[0] = (ne) => a.checkList = ne),
|
|
2037
2037
|
value: F.key,
|
|
2038
2038
|
label: t.$t(`layer.${F.locale}`),
|
|
2039
2039
|
color: "primary",
|
|
@@ -2069,10 +2069,10 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2069
2069
|
}),
|
|
2070
2070
|
m(d, { class: "py-2" }, {
|
|
2071
2071
|
default: u(() => [
|
|
2072
|
-
(b(!0),
|
|
2072
|
+
(b(!0), T(ke, null, Le(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), j(p, {
|
|
2073
2073
|
key: F.key,
|
|
2074
2074
|
modelValue: a.checkList,
|
|
2075
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
2075
|
+
"onUpdate:modelValue": e[1] || (e[1] = (ne) => a.checkList = ne),
|
|
2076
2076
|
value: F.key,
|
|
2077
2077
|
label: t.$t(`layer.${F.locale}`),
|
|
2078
2078
|
color: "primary",
|
|
@@ -2108,10 +2108,10 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2108
2108
|
}),
|
|
2109
2109
|
m(d, { class: "py-2" }, {
|
|
2110
2110
|
default: u(() => [
|
|
2111
|
-
(b(!0),
|
|
2111
|
+
(b(!0), T(ke, null, Le(a.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), j(p, {
|
|
2112
2112
|
key: F.key,
|
|
2113
2113
|
modelValue: a.checkList,
|
|
2114
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
2114
|
+
"onUpdate:modelValue": e[2] || (e[2] = (ne) => a.checkList = ne),
|
|
2115
2115
|
value: F.key,
|
|
2116
2116
|
label: t.$t(`layer.${F.locale}`),
|
|
2117
2117
|
color: "primary",
|
|
@@ -2223,7 +2223,7 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2223
2223
|
o.map ? (b(), j(z, B({
|
|
2224
2224
|
key: 8,
|
|
2225
2225
|
map: o.map,
|
|
2226
|
-
zone: (
|
|
2226
|
+
zone: (le = a.otherLayers) == null ? void 0 : le["alert-zones"]
|
|
2227
2227
|
}, t.$attrs, {
|
|
2228
2228
|
"before-layer": "empty-layer-3",
|
|
2229
2229
|
theme: o.theme
|
|
@@ -2239,17 +2239,17 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2239
2239
|
map: o.map,
|
|
2240
2240
|
line: (pe = a.otherLayers) == null ? void 0 : pe["load-lines"]
|
|
2241
2241
|
}, t.$attrs), null, 16, ["map", "line"])) : O("", !0),
|
|
2242
|
-
o.map ? (b(), j(
|
|
2242
|
+
o.map ? (b(), j(I, B({
|
|
2243
2243
|
key: 11,
|
|
2244
2244
|
map: o.map,
|
|
2245
2245
|
zone: (me = a.otherLayers) == null ? void 0 : me["time-zones"]
|
|
2246
2246
|
}, t.$attrs), null, 16, ["map", "zone"])) : O("", !0),
|
|
2247
|
-
o.map ? (b(), j(
|
|
2247
|
+
o.map ? (b(), j(V, B({
|
|
2248
2248
|
key: 12,
|
|
2249
2249
|
map: o.map,
|
|
2250
2250
|
area: (K = a.otherLayers) == null ? void 0 : K["voluntary-reporting-area"]
|
|
2251
2251
|
}, t.$attrs), null, 16, ["map", "area"])) : O("", !0),
|
|
2252
|
-
o.map ? (b(), j(
|
|
2252
|
+
o.map ? (b(), j(X, B({
|
|
2253
2253
|
key: 13,
|
|
2254
2254
|
map: o.map,
|
|
2255
2255
|
area: (ie = a.otherLayers) == null ? void 0 : ie["special-area"]
|
|
@@ -2259,7 +2259,7 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2259
2259
|
map: o.map,
|
|
2260
2260
|
area: (ue = a.otherLayers) == null ? void 0 : ue["day-night"]
|
|
2261
2261
|
}, t.$attrs), null, 16, ["map", "area"])) : O("", !0),
|
|
2262
|
-
o.map ? (b(), j(
|
|
2262
|
+
o.map ? (b(), j(Y, B({
|
|
2263
2263
|
key: 15,
|
|
2264
2264
|
map: o.map,
|
|
2265
2265
|
"menu-toggle": o.menuToggle,
|
|
@@ -2267,18 +2267,18 @@ function Ji(t, e, o, i, a, r) {
|
|
|
2267
2267
|
}, t.$attrs), null, 16, ["map", "menu-toggle", "show"])) : O("", !0)
|
|
2268
2268
|
]);
|
|
2269
2269
|
}
|
|
2270
|
-
const $i = /* @__PURE__ */
|
|
2270
|
+
const $i = /* @__PURE__ */ Z(Fi, [["render", Ji]]);
|
|
2271
2271
|
class io {
|
|
2272
2272
|
constructor(e) {
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2273
|
+
se(this, "map");
|
|
2274
|
+
se(this, "mercator");
|
|
2275
|
+
se(this, "rampColorLayer");
|
|
2276
|
+
se(this, "rampColorSource");
|
|
2277
|
+
se(this, "particleLayer");
|
|
2278
|
+
se(this, "particleSource");
|
|
2279
|
+
se(this, "rampColorCanvas");
|
|
2280
|
+
se(this, "particleCanvas");
|
|
2281
|
+
se(this, "ratio");
|
|
2282
2282
|
this.map = e, this.mercator = new Da(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
|
|
2283
2283
|
}
|
|
2284
2284
|
/**
|
|
@@ -2553,10 +2553,10 @@ class Ne {
|
|
|
2553
2553
|
});
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
2556
|
-
class
|
|
2556
|
+
class ce {
|
|
2557
2557
|
}
|
|
2558
2558
|
// 顶点渲染
|
|
2559
|
-
|
|
2559
|
+
se(ce, "vertexSchema", `
|
|
2560
2560
|
//canvas 坐标系上的坐标 (x, y)
|
|
2561
2561
|
attribute vec2 a_position; //像素坐标
|
|
2562
2562
|
attribute vec2 a_texCoord; //纹理坐标
|
|
@@ -2571,7 +2571,7 @@ le(ne, "vertexSchema", `
|
|
|
2571
2571
|
gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
|
|
2572
2572
|
v_texCoord = a_texCoord;
|
|
2573
2573
|
}`), // 类如风、流等u v双变量片元渲染
|
|
2574
|
-
|
|
2574
|
+
se(ce, "uvFragmentSchema", `
|
|
2575
2575
|
precision mediump float;
|
|
2576
2576
|
uniform sampler2D u_image;
|
|
2577
2577
|
uniform vec2 u_range_u_v;
|
|
@@ -2591,7 +2591,7 @@ le(ne, "uvFragmentSchema", `
|
|
|
2591
2591
|
|
|
2592
2592
|
gl_FragColor = color;
|
|
2593
2593
|
}`), // 类如浪、气压等单变量片元渲染
|
|
2594
|
-
|
|
2594
|
+
se(ce, "fragmentSchema", `
|
|
2595
2595
|
precision mediump float;
|
|
2596
2596
|
uniform sampler2D u_image; // 灰度
|
|
2597
2597
|
uniform sampler2D u_color; // 色值映射
|
|
@@ -2604,7 +2604,7 @@ le(ne, "fragmentSchema", `
|
|
|
2604
2604
|
}`);
|
|
2605
2605
|
class be {
|
|
2606
2606
|
}
|
|
2607
|
-
|
|
2607
|
+
se(be, "vertexSchema", `
|
|
2608
2608
|
precision mediump float;
|
|
2609
2609
|
|
|
2610
2610
|
attribute float a_index; // 索引
|
|
@@ -2628,7 +2628,7 @@ le(be, "vertexSchema", `
|
|
|
2628
2628
|
gl_PointSize = 1.0;
|
|
2629
2629
|
// gl_PointSize = u_point;
|
|
2630
2630
|
gl_Position = vec4(2.0 * v_particle_pos.x - 1.0, 1.0 - 2.0 * v_particle_pos.y, 0, 1);
|
|
2631
|
-
}`),
|
|
2631
|
+
}`), se(be, "fragmentSchema", `
|
|
2632
2632
|
precision mediump float;
|
|
2633
2633
|
|
|
2634
2634
|
uniform sampler2D u_factor;
|
|
@@ -2650,7 +2650,7 @@ le(be, "vertexSchema", `
|
|
|
2650
2650
|
|
|
2651
2651
|
float f = 1.0 - uv.b;
|
|
2652
2652
|
gl_FragColor = texture2D(u_color_ramp, ramp_pos) * f;
|
|
2653
|
-
}`),
|
|
2653
|
+
}`), se(be, "quadVertSchema", `
|
|
2654
2654
|
precision mediump float;
|
|
2655
2655
|
|
|
2656
2656
|
attribute vec2 a_pos;
|
|
@@ -2660,7 +2660,7 @@ le(be, "vertexSchema", `
|
|
|
2660
2660
|
void main() {
|
|
2661
2661
|
v_tex_pos = a_pos;
|
|
2662
2662
|
gl_Position = vec4(1.0 - 2.0 * a_pos, 0, 1);
|
|
2663
|
-
}`),
|
|
2663
|
+
}`), se(be, "screenFragmentSchema", `
|
|
2664
2664
|
precision mediump float;
|
|
2665
2665
|
|
|
2666
2666
|
uniform sampler2D u_screen;
|
|
@@ -2672,7 +2672,7 @@ le(be, "vertexSchema", `
|
|
|
2672
2672
|
vec4 color = texture2D(u_screen, 1.0 - v_tex_pos);
|
|
2673
2673
|
// a hack to guarantee opacity fade out even with a value close to 1.0
|
|
2674
2674
|
gl_FragColor = vec4(floor(255.0 * color * u_opacity) / 255.0);
|
|
2675
|
-
}`),
|
|
2675
|
+
}`), se(be, "updateFragmentSchema", `
|
|
2676
2676
|
precision mediump float;
|
|
2677
2677
|
|
|
2678
2678
|
uniform sampler2D u_particles;
|
|
@@ -2921,7 +2921,7 @@ const er = {
|
|
|
2921
2921
|
function or(t, e, o, i, a, r) {
|
|
2922
2922
|
return null;
|
|
2923
2923
|
}
|
|
2924
|
-
const ar = /* @__PURE__ */
|
|
2924
|
+
const ar = /* @__PURE__ */ Z(tr, [["render", or]]);
|
|
2925
2925
|
const ir = {
|
|
2926
2926
|
name: "IdmWindParticle",
|
|
2927
2927
|
props: {
|
|
@@ -3032,7 +3032,7 @@ const ir = {
|
|
|
3032
3032
|
[1, "rgb(91, 136, 161)"]
|
|
3033
3033
|
];
|
|
3034
3034
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
3035
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
3035
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.uvFragmentSchema);
|
|
3036
3036
|
this.program = e, this.aPositionBuffer = o;
|
|
3037
3037
|
}
|
|
3038
3038
|
this.handleParticleSetup();
|
|
@@ -3091,7 +3091,7 @@ const ir = {
|
|
|
3091
3091
|
}, rr = { key: 0 };
|
|
3092
3092
|
function lr(t, e, o, i, a, r) {
|
|
3093
3093
|
var s;
|
|
3094
|
-
return (s = o.factor) != null && s.active ? (b(),
|
|
3094
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", rr, [
|
|
3095
3095
|
l("div", {
|
|
3096
3096
|
class: "legend-bars-gl4 wind",
|
|
3097
3097
|
style: ae({ right: a.right + "px" })
|
|
@@ -3107,7 +3107,7 @@ function lr(t, e, o, i, a, r) {
|
|
|
3107
3107
|
]), 4)
|
|
3108
3108
|
])) : O("", !0);
|
|
3109
3109
|
}
|
|
3110
|
-
const sr = /* @__PURE__ */
|
|
3110
|
+
const sr = /* @__PURE__ */ Z(ir, [["render", lr]]), nr = {
|
|
3111
3111
|
name: "IdmCurrent",
|
|
3112
3112
|
props: {
|
|
3113
3113
|
map: {
|
|
@@ -3268,7 +3268,7 @@ const sr = /* @__PURE__ */ X(ir, [["render", lr]]), nr = {
|
|
|
3268
3268
|
function cr(t, e, o, i, a, r) {
|
|
3269
3269
|
return null;
|
|
3270
3270
|
}
|
|
3271
|
-
const mr = /* @__PURE__ */
|
|
3271
|
+
const mr = /* @__PURE__ */ Z(nr, [["render", cr]]);
|
|
3272
3272
|
const hr = {
|
|
3273
3273
|
name: "IdmCurrentParticle",
|
|
3274
3274
|
props: {
|
|
@@ -3371,7 +3371,7 @@ const hr = {
|
|
|
3371
3371
|
[1, "rgb(195,194,194)"]
|
|
3372
3372
|
];
|
|
3373
3373
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
3374
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
3374
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.uvFragmentSchema);
|
|
3375
3375
|
this.program = e, this.aPositionBuffer = o;
|
|
3376
3376
|
}
|
|
3377
3377
|
this.handleParticleSetup();
|
|
@@ -3435,7 +3435,7 @@ const hr = {
|
|
|
3435
3435
|
}, dr = { key: 0 };
|
|
3436
3436
|
function pr(t, e, o, i, a, r) {
|
|
3437
3437
|
var s;
|
|
3438
|
-
return (s = o.factor) != null && s.active ? (b(),
|
|
3438
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", dr, [
|
|
3439
3439
|
l("div", {
|
|
3440
3440
|
class: "legend-bars-gl4 current",
|
|
3441
3441
|
style: ae({ right: a.right + "px" })
|
|
@@ -3450,7 +3450,7 @@ function pr(t, e, o, i, a, r) {
|
|
|
3450
3450
|
]), 4)
|
|
3451
3451
|
])) : O("", !0);
|
|
3452
3452
|
}
|
|
3453
|
-
const ur = /* @__PURE__ */
|
|
3453
|
+
const ur = /* @__PURE__ */ Z(hr, [["render", pr]]);
|
|
3454
3454
|
const gr = {
|
|
3455
3455
|
name: "IdmTemp",
|
|
3456
3456
|
props: {
|
|
@@ -3547,7 +3547,7 @@ const gr = {
|
|
|
3547
3547
|
//13
|
|
3548
3548
|
];
|
|
3549
3549
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
3550
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
3550
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
|
|
3551
3551
|
this.program = e, this.aPositionBuffer = o;
|
|
3552
3552
|
}
|
|
3553
3553
|
},
|
|
@@ -3563,7 +3563,7 @@ const gr = {
|
|
|
3563
3563
|
}, fr = { key: 0 };
|
|
3564
3564
|
function yr(t, e, o, i, a, r) {
|
|
3565
3565
|
var s;
|
|
3566
|
-
return (s = o.factor) != null && s.active ? (b(),
|
|
3566
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", fr, [
|
|
3567
3567
|
l("div", {
|
|
3568
3568
|
class: "legend-bars-gl4 sig-wave",
|
|
3569
3569
|
style: ae({ right: a.right + "px" })
|
|
@@ -3578,7 +3578,7 @@ function yr(t, e, o, i, a, r) {
|
|
|
3578
3578
|
]), 4)
|
|
3579
3579
|
])) : O("", !0);
|
|
3580
3580
|
}
|
|
3581
|
-
const br = /* @__PURE__ */
|
|
3581
|
+
const br = /* @__PURE__ */ Z(gr, [["render", yr], ["__scopeId", "data-v-79ce70e2"]]), wr = {
|
|
3582
3582
|
name: "IdmSigWave",
|
|
3583
3583
|
props: {
|
|
3584
3584
|
map: {
|
|
@@ -3730,7 +3730,7 @@ const br = /* @__PURE__ */ X(gr, [["render", yr], ["__scopeId", "data-v-79ce70e2
|
|
|
3730
3730
|
function xr(t, e, o, i, a, r) {
|
|
3731
3731
|
return null;
|
|
3732
3732
|
}
|
|
3733
|
-
const vr = /* @__PURE__ */
|
|
3733
|
+
const vr = /* @__PURE__ */ Z(wr, [["render", xr]]), _r = {
|
|
3734
3734
|
name: "IdmSwell",
|
|
3735
3735
|
props: {
|
|
3736
3736
|
map: {
|
|
@@ -3882,9 +3882,9 @@ const vr = /* @__PURE__ */ X(wr, [["render", xr]]), _r = {
|
|
|
3882
3882
|
}
|
|
3883
3883
|
};
|
|
3884
3884
|
function kr(t, e, o, i, a, r) {
|
|
3885
|
-
return b(),
|
|
3885
|
+
return b(), T("div");
|
|
3886
3886
|
}
|
|
3887
|
-
const zr = /* @__PURE__ */
|
|
3887
|
+
const zr = /* @__PURE__ */ Z(_r, [["render", kr]]), Lr = {
|
|
3888
3888
|
name: "IdmPrmsl",
|
|
3889
3889
|
props: {
|
|
3890
3890
|
map: {
|
|
@@ -4041,7 +4041,7 @@ const zr = /* @__PURE__ */ X(_r, [["render", kr]]), Lr = {
|
|
|
4041
4041
|
function Cr(t, e, o, i, a, r) {
|
|
4042
4042
|
var n;
|
|
4043
4043
|
const s = w("VBtn"), c = w("VTooltip");
|
|
4044
|
-
return (n = o.prmsl) != null && n.active ? (b(),
|
|
4044
|
+
return (n = o.prmsl) != null && n.active ? (b(), T("div", Pr, [
|
|
4045
4045
|
l("div", {
|
|
4046
4046
|
class: "menu-bar-box pa-1 rounded",
|
|
4047
4047
|
style: ae({ right: a.right + "px" })
|
|
@@ -4071,7 +4071,7 @@ function Cr(t, e, o, i, a, r) {
|
|
|
4071
4071
|
], 4)
|
|
4072
4072
|
])) : O("", !0);
|
|
4073
4073
|
}
|
|
4074
|
-
const Sr = /* @__PURE__ */
|
|
4074
|
+
const Sr = /* @__PURE__ */ Z(Lr, [["render", Cr]]);
|
|
4075
4075
|
const Mr = {
|
|
4076
4076
|
name: "IdmIceEdge",
|
|
4077
4077
|
props: {
|
|
@@ -4160,7 +4160,7 @@ const Mr = {
|
|
|
4160
4160
|
// 100%
|
|
4161
4161
|
];
|
|
4162
4162
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
4163
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
4163
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
|
|
4164
4164
|
this.program = e, this.aPositionBuffer = o;
|
|
4165
4165
|
}
|
|
4166
4166
|
},
|
|
@@ -4176,7 +4176,7 @@ const Mr = {
|
|
|
4176
4176
|
}, Tr = { key: 0 };
|
|
4177
4177
|
function Ir(t, e, o, i, a, r) {
|
|
4178
4178
|
var s;
|
|
4179
|
-
return (s = o.factor) != null && s.active ? (b(),
|
|
4179
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Tr, [
|
|
4180
4180
|
l("div", {
|
|
4181
4181
|
class: "legend-bars-gl4 ice-edge",
|
|
4182
4182
|
style: ae({ right: a.right + "px" })
|
|
@@ -4196,7 +4196,7 @@ function Ir(t, e, o, i, a, r) {
|
|
|
4196
4196
|
]), 4)
|
|
4197
4197
|
])) : O("", !0);
|
|
4198
4198
|
}
|
|
4199
|
-
const Rr = /* @__PURE__ */
|
|
4199
|
+
const Rr = /* @__PURE__ */ Z(Mr, [["render", Ir]]);
|
|
4200
4200
|
const Ar = {
|
|
4201
4201
|
name: "IdmCover",
|
|
4202
4202
|
props: {
|
|
@@ -4276,7 +4276,7 @@ const Ar = {
|
|
|
4276
4276
|
// 100%
|
|
4277
4277
|
];
|
|
4278
4278
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
4279
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
4279
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
|
|
4280
4280
|
this.program = e, this.aPositionBuffer = o;
|
|
4281
4281
|
}
|
|
4282
4282
|
},
|
|
@@ -4292,7 +4292,7 @@ const Ar = {
|
|
|
4292
4292
|
}, Dr = { key: 0 };
|
|
4293
4293
|
function Or(t, e, o, i, a, r) {
|
|
4294
4294
|
var s;
|
|
4295
|
-
return (s = o.factor) != null && s.active ? (b(),
|
|
4295
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Dr, [
|
|
4296
4296
|
l("div", {
|
|
4297
4297
|
class: "legend-bars-gl4 ice-cover",
|
|
4298
4298
|
style: ae({ right: a.right + "px" })
|
|
@@ -4306,7 +4306,7 @@ function Or(t, e, o, i, a, r) {
|
|
|
4306
4306
|
]), 4)
|
|
4307
4307
|
])) : O("", !0);
|
|
4308
4308
|
}
|
|
4309
|
-
const Br = /* @__PURE__ */
|
|
4309
|
+
const Br = /* @__PURE__ */ Z(Ar, [["render", Or], ["__scopeId", "data-v-9696d73b"]]);
|
|
4310
4310
|
const Er = {
|
|
4311
4311
|
name: "IdmThickness",
|
|
4312
4312
|
props: {
|
|
@@ -4394,7 +4394,7 @@ const Er = {
|
|
|
4394
4394
|
// 4m
|
|
4395
4395
|
];
|
|
4396
4396
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
4397
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
4397
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
|
|
4398
4398
|
this.program = e, this.aPositionBuffer = o;
|
|
4399
4399
|
}
|
|
4400
4400
|
},
|
|
@@ -4410,7 +4410,7 @@ const Er = {
|
|
|
4410
4410
|
}, jr = { key: 0 };
|
|
4411
4411
|
function Nr(t, e, o, i, a, r) {
|
|
4412
4412
|
var s;
|
|
4413
|
-
return (s = o.factor) != null && s.active ? (b(),
|
|
4413
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", jr, [
|
|
4414
4414
|
l("div", {
|
|
4415
4415
|
class: "legend-bars-gl4 ice-thickness",
|
|
4416
4416
|
style: ae({ right: a.right + "px" })
|
|
@@ -4425,7 +4425,7 @@ function Nr(t, e, o, i, a, r) {
|
|
|
4425
4425
|
]), 4)
|
|
4426
4426
|
])) : O("", !0);
|
|
4427
4427
|
}
|
|
4428
|
-
const Fr = /* @__PURE__ */
|
|
4428
|
+
const Fr = /* @__PURE__ */ Z(Er, [["render", Nr]]);
|
|
4429
4429
|
const Hr = {
|
|
4430
4430
|
name: "IdmPrecip3h",
|
|
4431
4431
|
props: {
|
|
@@ -4514,7 +4514,7 @@ const Hr = {
|
|
|
4514
4514
|
[1, "rgba(197,5,58,0.8)"]
|
|
4515
4515
|
];
|
|
4516
4516
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
4517
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
4517
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
|
|
4518
4518
|
this.program = e, this.aPositionBuffer = o;
|
|
4519
4519
|
}
|
|
4520
4520
|
},
|
|
@@ -4530,7 +4530,7 @@ const Hr = {
|
|
|
4530
4530
|
}, Wr = { key: 0 };
|
|
4531
4531
|
function Gr(t, e, o, i, a, r) {
|
|
4532
4532
|
var s;
|
|
4533
|
-
return (s = o.factor) != null && s.active ? (b(),
|
|
4533
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Wr, [
|
|
4534
4534
|
l("div", {
|
|
4535
4535
|
class: "legend-bars-gl4 precip3h",
|
|
4536
4536
|
style: ae({ right: a.right + "px" })
|
|
@@ -4546,7 +4546,7 @@ function Gr(t, e, o, i, a, r) {
|
|
|
4546
4546
|
]), 4)
|
|
4547
4547
|
])) : O("", !0);
|
|
4548
4548
|
}
|
|
4549
|
-
const Ur = /* @__PURE__ */
|
|
4549
|
+
const Ur = /* @__PURE__ */ Z(Hr, [["render", Gr]]);
|
|
4550
4550
|
const Vr = {
|
|
4551
4551
|
name: "IdmVisibility",
|
|
4552
4552
|
props: {
|
|
@@ -4625,7 +4625,7 @@ const Vr = {
|
|
|
4625
4625
|
[1, "rgba(144,144,144,0)"]
|
|
4626
4626
|
];
|
|
4627
4627
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
4628
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
4628
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
|
|
4629
4629
|
this.program = e, this.aPositionBuffer = o;
|
|
4630
4630
|
}
|
|
4631
4631
|
},
|
|
@@ -4641,7 +4641,7 @@ const Vr = {
|
|
|
4641
4641
|
}, Yr = { key: 0 };
|
|
4642
4642
|
function Zr(t, e, o, i, a, r) {
|
|
4643
4643
|
var s;
|
|
4644
|
-
return (s = o.factor) != null && s.active ? (b(),
|
|
4644
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Yr, [
|
|
4645
4645
|
l("div", {
|
|
4646
4646
|
class: "legend-bars-gl4 visibility",
|
|
4647
4647
|
style: ae({ right: a.right + "px" })
|
|
@@ -4655,7 +4655,7 @@ function Zr(t, e, o, i, a, r) {
|
|
|
4655
4655
|
]), 4)
|
|
4656
4656
|
])) : O("", !0);
|
|
4657
4657
|
}
|
|
4658
|
-
const Xr = /* @__PURE__ */
|
|
4658
|
+
const Xr = /* @__PURE__ */ Z(Vr, [["render", Zr]]);
|
|
4659
4659
|
const qr = {
|
|
4660
4660
|
name: "IdmWaterTemp",
|
|
4661
4661
|
props: {
|
|
@@ -4737,7 +4737,7 @@ const qr = {
|
|
|
4737
4737
|
//
|
|
4738
4738
|
];
|
|
4739
4739
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
4740
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
4740
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
|
|
4741
4741
|
this.program = e, this.aPositionBuffer = o;
|
|
4742
4742
|
}
|
|
4743
4743
|
},
|
|
@@ -4753,7 +4753,7 @@ const qr = {
|
|
|
4753
4753
|
}, Kr = { key: 0 };
|
|
4754
4754
|
function Qr(t, e, o, i, a, r) {
|
|
4755
4755
|
var s;
|
|
4756
|
-
return (s = o.factor) != null && s.active ? (b(),
|
|
4756
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", Kr, [
|
|
4757
4757
|
l("div", {
|
|
4758
4758
|
class: "legend-bars-gl4 water-temp",
|
|
4759
4759
|
style: ae({ right: a.right + "px" })
|
|
@@ -4767,7 +4767,7 @@ function Qr(t, e, o, i, a, r) {
|
|
|
4767
4767
|
]), 4)
|
|
4768
4768
|
])) : O("", !0);
|
|
4769
4769
|
}
|
|
4770
|
-
const Jr = /* @__PURE__ */
|
|
4770
|
+
const Jr = /* @__PURE__ */ Z(qr, [["render", Qr]]);
|
|
4771
4771
|
const $r = {
|
|
4772
4772
|
name: "IdmTemp",
|
|
4773
4773
|
props: {
|
|
@@ -4860,7 +4860,7 @@ const $r = {
|
|
|
4860
4860
|
[1, "rgb(138, 43, 10)"]
|
|
4861
4861
|
];
|
|
4862
4862
|
this.rampColor = this.webgl.setup(this.context, t);
|
|
4863
|
-
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context,
|
|
4863
|
+
const { program: e, aPositionBuffer: o } = this.webgl.bind(this.context, ce.vertexSchema, ce.fragmentSchema);
|
|
4864
4864
|
this.program = e, this.aPositionBuffer = o;
|
|
4865
4865
|
}
|
|
4866
4866
|
},
|
|
@@ -4876,7 +4876,7 @@ const $r = {
|
|
|
4876
4876
|
}, el = { key: 0 };
|
|
4877
4877
|
function tl(t, e, o, i, a, r) {
|
|
4878
4878
|
var s;
|
|
4879
|
-
return (s = o.factor) != null && s.active ? (b(),
|
|
4879
|
+
return (s = o.factor) != null && s.active ? (b(), T("div", el, [
|
|
4880
4880
|
l("div", {
|
|
4881
4881
|
class: "legend-bars-gl4 temp",
|
|
4882
4882
|
style: ae({ right: a.right + "px" })
|
|
@@ -4892,7 +4892,7 @@ function tl(t, e, o, i, a, r) {
|
|
|
4892
4892
|
]), 4)
|
|
4893
4893
|
])) : O("", !0);
|
|
4894
4894
|
}
|
|
4895
|
-
const ol = /* @__PURE__ */
|
|
4895
|
+
const ol = /* @__PURE__ */ Z($r, [["render", tl]]);
|
|
4896
4896
|
const al = {
|
|
4897
4897
|
name: "IdmGlLayer",
|
|
4898
4898
|
components: {
|
|
@@ -5186,12 +5186,12 @@ const al = {
|
|
|
5186
5186
|
);
|
|
5187
5187
|
const z = await Promise.all(_);
|
|
5188
5188
|
this.weatherLayers = {}, z.map((P) => {
|
|
5189
|
-
var
|
|
5190
|
-
const x = ((
|
|
5191
|
-
let
|
|
5192
|
-
|
|
5189
|
+
var V, X, q, Y;
|
|
5190
|
+
const x = ((V = P == null ? void 0 : P.data) == null ? void 0 : V.data) || (P == null ? void 0 : P.data);
|
|
5191
|
+
let I = (q = (X = P == null ? void 0 : P.config) == null ? void 0 : X.headers) == null ? void 0 : q.key;
|
|
5192
|
+
I && x && (this.weatherLayers[I] = {
|
|
5193
5193
|
raw: x,
|
|
5194
|
-
type: ((
|
|
5194
|
+
type: ((Y = P == null ? void 0 : P.config) == null ? void 0 : Y.responseType) === "blob" ? "image" : "json",
|
|
5195
5195
|
etime: M.data.etime
|
|
5196
5196
|
});
|
|
5197
5197
|
});
|
|
@@ -5285,37 +5285,37 @@ const al = {
|
|
|
5285
5285
|
for (const z in L)
|
|
5286
5286
|
if (z > c && z < n && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5287
5287
|
const P = L[z].lng;
|
|
5288
|
-
r > s ? P.forEach((x,
|
|
5289
|
-
var
|
|
5288
|
+
r > s ? P.forEach((x, I) => {
|
|
5289
|
+
var V, X, q, Y, $, ee;
|
|
5290
5290
|
if (a < 2) {
|
|
5291
5291
|
if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
|
|
5292
5292
|
const Q = E.point([x, z], {
|
|
5293
|
-
val: ((
|
|
5294
|
-
spd: (q = L[z].spd) == null ? void 0 : q[
|
|
5293
|
+
val: ((V = L[z].val) == null ? void 0 : V[I]) || ((X = L[z].dir) == null ? void 0 : X[I]),
|
|
5294
|
+
spd: (q = L[z].spd) == null ? void 0 : q[I]
|
|
5295
5295
|
});
|
|
5296
5296
|
M.push(Q);
|
|
5297
5297
|
}
|
|
5298
5298
|
} else if ((x >= r && x <= 180 || x >= -180 && x <= s) && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5299
5299
|
const Q = E.point([x, z], {
|
|
5300
|
-
val: ((
|
|
5301
|
-
spd: (ee = L[z].spd) == null ? void 0 : ee[
|
|
5300
|
+
val: ((Y = L[z].val) == null ? void 0 : Y[I]) || (($ = L[z].dir) == null ? void 0 : $[I]),
|
|
5301
|
+
spd: (ee = L[z].spd) == null ? void 0 : ee[I]
|
|
5302
5302
|
});
|
|
5303
5303
|
M.push(Q);
|
|
5304
5304
|
}
|
|
5305
|
-
}) : P.forEach((x,
|
|
5306
|
-
var
|
|
5305
|
+
}) : P.forEach((x, I) => {
|
|
5306
|
+
var V, X, q, Y, $, ee;
|
|
5307
5307
|
if (r < 2) {
|
|
5308
5308
|
if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
|
|
5309
5309
|
const Q = E.point([x, z], {
|
|
5310
|
-
val: ((
|
|
5311
|
-
spd: (q = L[z].spd) == null ? void 0 : q[
|
|
5310
|
+
val: ((V = L[z].val) == null ? void 0 : V[I]) || ((X = L[z].dir) == null ? void 0 : X[I]),
|
|
5311
|
+
spd: (q = L[z].spd) == null ? void 0 : q[I]
|
|
5312
5312
|
});
|
|
5313
5313
|
M.push(Q);
|
|
5314
5314
|
}
|
|
5315
5315
|
} else if (x >= r && x <= s && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5316
5316
|
const Q = E.point([x, z], {
|
|
5317
|
-
val: ((
|
|
5318
|
-
spd: (ee = L[z].spd) == null ? void 0 : ee[
|
|
5317
|
+
val: ((Y = L[z].val) == null ? void 0 : Y[I]) || (($ = L[z].dir) == null ? void 0 : $[I]),
|
|
5318
|
+
spd: (ee = L[z].spd) == null ? void 0 : ee[I]
|
|
5319
5319
|
});
|
|
5320
5320
|
M.push(Q);
|
|
5321
5321
|
}
|
|
@@ -5328,9 +5328,9 @@ const al = {
|
|
|
5328
5328
|
const z = [];
|
|
5329
5329
|
for (const P in (f = _.raw) == null ? void 0 : f.LineString) {
|
|
5330
5330
|
const x = _.raw.LineString[P];
|
|
5331
|
-
for (const
|
|
5331
|
+
for (const I of x)
|
|
5332
5332
|
z.push(
|
|
5333
|
-
E.lineString(
|
|
5333
|
+
E.lineString(I, {
|
|
5334
5334
|
val: Number(P)
|
|
5335
5335
|
})
|
|
5336
5336
|
);
|
|
@@ -5349,37 +5349,37 @@ const al = {
|
|
|
5349
5349
|
for (const z in L)
|
|
5350
5350
|
if (z > c && z < n && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5351
5351
|
const P = L[z].lng;
|
|
5352
|
-
r > s ? P.forEach((x,
|
|
5353
|
-
var
|
|
5352
|
+
r > s ? P.forEach((x, I) => {
|
|
5353
|
+
var V, X, q, Y, $, ee;
|
|
5354
5354
|
if (a < 2) {
|
|
5355
5355
|
if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
|
|
5356
5356
|
const Q = E.point([x, z], {
|
|
5357
|
-
val: ((
|
|
5358
|
-
spd: (q = L[z].spd) == null ? void 0 : q[
|
|
5357
|
+
val: ((V = L[z].val) == null ? void 0 : V[I]) || ((X = L[z].dir) == null ? void 0 : X[I]),
|
|
5358
|
+
spd: (q = L[z].spd) == null ? void 0 : q[I]
|
|
5359
5359
|
});
|
|
5360
5360
|
M.push(Q);
|
|
5361
5361
|
}
|
|
5362
5362
|
} else if ((x >= r && x <= 180 || x >= -180 && x <= s) && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5363
5363
|
const Q = E.point([x, z], {
|
|
5364
|
-
val: ((
|
|
5365
|
-
spd: (ee = L[z].spd) == null ? void 0 : ee[
|
|
5364
|
+
val: ((Y = L[z].val) == null ? void 0 : Y[I]) || (($ = L[z].dir) == null ? void 0 : $[I]),
|
|
5365
|
+
spd: (ee = L[z].spd) == null ? void 0 : ee[I]
|
|
5366
5366
|
});
|
|
5367
5367
|
M.push(Q);
|
|
5368
5368
|
}
|
|
5369
|
-
}) : P.forEach((x,
|
|
5370
|
-
var
|
|
5369
|
+
}) : P.forEach((x, I) => {
|
|
5370
|
+
var V, X, q, Y, $, ee;
|
|
5371
5371
|
if (r < 2) {
|
|
5372
5372
|
if ((x >= 0 && x <= 360 || x >= -360 && x <= 0) && x % 10 === 0) {
|
|
5373
5373
|
const Q = E.point([x, z], {
|
|
5374
|
-
val: ((
|
|
5375
|
-
spd: (q = L[z].spd) == null ? void 0 : q[
|
|
5374
|
+
val: ((V = L[z].val) == null ? void 0 : V[I]) || ((X = L[z].dir) == null ? void 0 : X[I]),
|
|
5375
|
+
spd: (q = L[z].spd) == null ? void 0 : q[I]
|
|
5376
5376
|
});
|
|
5377
5377
|
M.push(Q);
|
|
5378
5378
|
}
|
|
5379
5379
|
} else if (x >= r && x <= s && (!(a <= this.zoom) || x % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
5380
5380
|
const Q = E.point([x, z], {
|
|
5381
|
-
val: ((
|
|
5382
|
-
spd: (ee = L[z].spd) == null ? void 0 : ee[
|
|
5381
|
+
val: ((Y = L[z].val) == null ? void 0 : Y[I]) || (($ = L[z].dir) == null ? void 0 : $[I]),
|
|
5382
|
+
spd: (ee = L[z].spd) == null ? void 0 : ee[I]
|
|
5383
5383
|
});
|
|
5384
5384
|
M.push(Q);
|
|
5385
5385
|
}
|
|
@@ -5391,10 +5391,10 @@ const al = {
|
|
|
5391
5391
|
if (!_.data) {
|
|
5392
5392
|
const P = [];
|
|
5393
5393
|
for (const x in (v = _.raw) == null ? void 0 : v.Polygon) {
|
|
5394
|
-
const
|
|
5395
|
-
for (const
|
|
5394
|
+
const I = _.raw.Polygon[x];
|
|
5395
|
+
for (const V of I)
|
|
5396
5396
|
P.push(
|
|
5397
|
-
E.polygon(
|
|
5397
|
+
E.polygon(V, {
|
|
5398
5398
|
val: Number(x)
|
|
5399
5399
|
})
|
|
5400
5400
|
);
|
|
@@ -5411,38 +5411,38 @@ const al = {
|
|
|
5411
5411
|
if (_ > c && _ < n && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5412
5412
|
const z = L[_].lng;
|
|
5413
5413
|
r > s ? z.forEach((P, x) => {
|
|
5414
|
-
var
|
|
5414
|
+
var I, V, X, q;
|
|
5415
5415
|
if (a < 2) {
|
|
5416
5416
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
5417
|
-
const
|
|
5418
|
-
dir: ((
|
|
5417
|
+
const Y = E.point([P, _], {
|
|
5418
|
+
dir: ((I = L[_].val) == null ? void 0 : I[x]) || ((V = L[_].dir) == null ? void 0 : V[x]),
|
|
5419
5419
|
spd: L[_].spd[x]
|
|
5420
5420
|
});
|
|
5421
|
-
M.push(
|
|
5421
|
+
M.push(Y);
|
|
5422
5422
|
}
|
|
5423
5423
|
} else if ((P >= r && P <= 180 || P >= -180 && P <= s) && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5424
|
-
const
|
|
5425
|
-
dir: ((
|
|
5424
|
+
const Y = E.point([P, _], {
|
|
5425
|
+
dir: ((X = L[_].val) == null ? void 0 : X[x]) || ((q = L[_].dir) == null ? void 0 : q[x]),
|
|
5426
5426
|
spd: L[_].spd[x]
|
|
5427
5427
|
});
|
|
5428
|
-
M.push(
|
|
5428
|
+
M.push(Y);
|
|
5429
5429
|
}
|
|
5430
5430
|
}) : z.forEach((P, x) => {
|
|
5431
|
-
var
|
|
5431
|
+
var I, V, X, q;
|
|
5432
5432
|
if (a < 2) {
|
|
5433
5433
|
if ((P >= 0 && P <= 360 || P >= -360 && P <= 0) && P % 10 === 0) {
|
|
5434
|
-
const
|
|
5435
|
-
dir: ((
|
|
5434
|
+
const Y = E.point([P, _], {
|
|
5435
|
+
dir: ((I = L[_].val) == null ? void 0 : I[x]) || ((V = L[_].dir) == null ? void 0 : V[x]),
|
|
5436
5436
|
spd: L[_].spd[x]
|
|
5437
5437
|
});
|
|
5438
|
-
M.push(
|
|
5438
|
+
M.push(Y);
|
|
5439
5439
|
}
|
|
5440
5440
|
} else if (P >= r && P <= s && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5441
|
-
const
|
|
5442
|
-
dir: ((
|
|
5441
|
+
const Y = E.point([P, _], {
|
|
5442
|
+
dir: ((X = L[_].val) == null ? void 0 : X[x]) || ((q = L[_].dir) == null ? void 0 : q[x]),
|
|
5443
5443
|
spd: L[_].spd[x]
|
|
5444
5444
|
});
|
|
5445
|
-
M.push(
|
|
5445
|
+
M.push(Y);
|
|
5446
5446
|
}
|
|
5447
5447
|
});
|
|
5448
5448
|
}
|
|
@@ -5559,9 +5559,9 @@ const al = {
|
|
|
5559
5559
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
5560
5560
|
}, wl = { class: "text-body-1 py-2" }, xl = { class: "text-body-1 font-weight-medium" }, vl = { class: "text-body-2 opacity-70" }, _l = { class: "text-body-2 opacity-70 mb-3" }, kl = { class: "text-body-1 font-weight-medium" }, zl = { class: "text-body-2 opacity-70" }, Ll = { class: "text-body-2 opacity-70 mb-3" }, Pl = { class: "text-body-1 py-2" }, Cl = { class: "text-body-1 font-weight-medium" }, Sl = { class: "text-body-2 opacity-70" }, Ml = { class: "text-body-2 opacity-70 mb-3" }, Tl = { class: "text-body-1 font-weight-medium" }, Il = { class: "text-body-2 opacity-70" }, Rl = { class: "text-body-2 opacity-70 mb-3" }, Al = { class: "text-body-1 py-2" }, Dl = { class: "text-body-1 font-weight-medium" }, Ol = { class: "text-body-2 opacity-70" }, Bl = { class: "text-body-2 opacity-70 mb-3" };
|
|
5561
5561
|
function El(t, e, o, i, a, r) {
|
|
5562
|
-
var pe, me, K, ie, ue, F,
|
|
5563
|
-
const s = w("VBtn"), c = w("VTooltip"), n = w("VCol"), g = w("VRow"), p = w("VCardText"), d = w("VDivider"), f = w("VCard"), k = w("VSwitch"), v = w("VCardTitle"), S = w("VCardItem"), C = w("VCheckbox"), N = w("VRadio"), M = w("VBtnToggle"), L = w("IdmWindBarb"), _ = w("IdmSigWaveHeight"), z = w("IdmCurrentDirection"), P = w("IdmPrmsl"), x = w("IdmWindParticle"),
|
|
5564
|
-
return b(),
|
|
5562
|
+
var pe, me, K, ie, ue, F, ne, xe, ve, Se, Me, Te, Ie, Re, ye;
|
|
5563
|
+
const s = w("VBtn"), c = w("VTooltip"), n = w("VCol"), g = w("VRow"), p = w("VCardText"), d = w("VDivider"), f = w("VCard"), k = w("VSwitch"), v = w("VCardTitle"), S = w("VCardItem"), C = w("VCheckbox"), N = w("VRadio"), M = w("VBtnToggle"), L = w("IdmWindBarb"), _ = w("IdmSigWaveHeight"), z = w("IdmCurrentDirection"), P = w("IdmPrmsl"), x = w("IdmWindParticle"), I = w("IdmCurrentParticle"), V = w("IdmWave"), X = w("IdmSwell"), q = w("IdmIceEdge"), Y = w("IdmIceCover"), $ = w("IdmIceThickness"), ee = w("IdmPrecip3h"), Q = w("IdmVisibility"), le = w("IdmWaterTemp"), de = w("IdmTemp");
|
|
5564
|
+
return b(), T("div", il, [
|
|
5565
5565
|
l("div", {
|
|
5566
5566
|
class: "menu-bar-box transition pa-1",
|
|
5567
5567
|
style: ae({ top: o.top + 94 + "px", right: a.right + "px" })
|
|
@@ -5588,7 +5588,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5588
5588
|
_: 1
|
|
5589
5589
|
}, 8, ["text"])
|
|
5590
5590
|
], 4),
|
|
5591
|
-
r.showTipMenu ? (b(),
|
|
5591
|
+
r.showTipMenu ? (b(), T("div", rl, [
|
|
5592
5592
|
l("div", {
|
|
5593
5593
|
class: "menu-bar-box pa-1 rounded",
|
|
5594
5594
|
style: ae({ right: a.right + "px" })
|
|
@@ -5628,7 +5628,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5628
5628
|
e[9] || (e[9] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
|
|
5629
5629
|
m(g, { class: "ma-0 ml-n1 text-body-2" }, {
|
|
5630
5630
|
default: u(() => [
|
|
5631
|
-
(b(!0),
|
|
5631
|
+
(b(!0), T(ke, null, Le(a.legend.barbs, (H, te) => (b(), j(n, {
|
|
5632
5632
|
key: H,
|
|
5633
5633
|
cols: "6",
|
|
5634
5634
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
@@ -5660,14 +5660,14 @@ function El(t, e, o, i, a, r) {
|
|
|
5660
5660
|
style: { width: "100px" }
|
|
5661
5661
|
}, {
|
|
5662
5662
|
default: u(() => [
|
|
5663
|
-
(b(!0),
|
|
5663
|
+
(b(!0), T(ke, null, Le(a.legend.sigWaveHeight, (H, te) => (b(), j(n, {
|
|
5664
5664
|
key: te,
|
|
5665
5665
|
cols: "12",
|
|
5666
5666
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
5667
5667
|
}, {
|
|
5668
5668
|
default: u(() => [
|
|
5669
5669
|
l("div", nl, [
|
|
5670
|
-
te === 0 ? (b(),
|
|
5670
|
+
te === 0 ? (b(), T("div", cl)) : (b(), T("div", {
|
|
5671
5671
|
key: 1,
|
|
5672
5672
|
style: ae({ width: "24px", height: "12px", background: H.color })
|
|
5673
5673
|
}, null, 4)),
|
|
@@ -5692,7 +5692,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5692
5692
|
style: { width: "110px" }
|
|
5693
5693
|
}, {
|
|
5694
5694
|
default: u(() => [
|
|
5695
|
-
(b(!0),
|
|
5695
|
+
(b(!0), T(ke, null, Le(a.legend.current, (H, te) => (b(), j(n, {
|
|
5696
5696
|
key: te,
|
|
5697
5697
|
cols: "12",
|
|
5698
5698
|
class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
|
|
@@ -5778,7 +5778,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5778
5778
|
}),
|
|
5779
5779
|
m(p, { class: "py-2" }, {
|
|
5780
5780
|
default: u(() => [
|
|
5781
|
-
(b(!0),
|
|
5781
|
+
(b(!0), T(ke, null, Le(a.tagLayers.filter((H) => H.overlays), (H) => (b(), j(C, {
|
|
5782
5782
|
key: H.key,
|
|
5783
5783
|
modelValue: a.checkList,
|
|
5784
5784
|
"onUpdate:modelValue": e[2] || (e[2] = (te) => a.checkList = te),
|
|
@@ -5818,7 +5818,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5818
5818
|
}),
|
|
5819
5819
|
m(p, { class: "py-2" }, {
|
|
5820
5820
|
default: u(() => [
|
|
5821
|
-
(b(!0),
|
|
5821
|
+
(b(!0), T(ke, null, Le(a.tagLayers.filter((H) => !H.overlays && H.key !== "ice-thickness"), (H) => (b(), T(ke, {
|
|
5822
5822
|
key: H.key
|
|
5823
5823
|
}, [
|
|
5824
5824
|
m(N, {
|
|
@@ -5834,7 +5834,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5834
5834
|
"hide-details": "",
|
|
5835
5835
|
onClick: (te) => a.renderKey = a.renderKey === H.key ? "" : H.key
|
|
5836
5836
|
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
|
|
5837
|
-
a.renderKey === "wind-particle" && H.key === "wind-particle" ? (b(),
|
|
5837
|
+
a.renderKey === "wind-particle" && H.key === "wind-particle" ? (b(), T("div", yl, [
|
|
5838
5838
|
l("span", null, y(t.$t("weather.particleAnimatiom")), 1),
|
|
5839
5839
|
m(k, {
|
|
5840
5840
|
modelValue: a.showWindParticle,
|
|
@@ -5848,7 +5848,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5848
5848
|
"hide-details": ""
|
|
5849
5849
|
}, null, 8, ["modelValue"])
|
|
5850
5850
|
])) : O("", !0),
|
|
5851
|
-
a.renderKey === "current-particle" && H.key === "current-particle" ? (b(),
|
|
5851
|
+
a.renderKey === "current-particle" && H.key === "current-particle" ? (b(), T("div", bl, [
|
|
5852
5852
|
l("span", null, y(t.$t("weather.particleAnimatiom")), 1),
|
|
5853
5853
|
m(k, {
|
|
5854
5854
|
modelValue: a.showCurrentParticle,
|
|
@@ -5933,13 +5933,13 @@ function El(t, e, o, i, a, r) {
|
|
|
5933
5933
|
}),
|
|
5934
5934
|
m(p, { class: "" }, {
|
|
5935
5935
|
default: u(() => {
|
|
5936
|
-
var H, te, je, Pe, he, ge, W, _e, J, re, Ae, A, fe, Ce, De, Oe, R,
|
|
5936
|
+
var H, te, je, Pe, he, ge, W, _e, J, re, Ae, A, fe, Ce, De, Oe, R, U, Ge, Ue, Ve, ze, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, It, Rt, At, Dt, Ot, Bt, Et, jt, Nt, Ft, Ht, Wt, Gt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Qt, Jt;
|
|
5937
5937
|
return [
|
|
5938
5938
|
l("div", wl, y(t.$t("weather.atmospheric")), 1),
|
|
5939
5939
|
l("div", xl, y((je = (te = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : te.NOAA) == null ? void 0 : je.source) + " " + y((ge = (he = (Pe = a.models) == null ? void 0 : Pe.weather) == null ? void 0 : he.NOAA) == null ? void 0 : ge.spatialResolution) + y(t.$t("units.km")) + " " + y((re = (J = (_e = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : _e.NOAA) == null ? void 0 : J.meta) == null ? void 0 : re.days) + y(t.$t("units.days")), 1),
|
|
5940
5940
|
l("div", vl, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
5941
5941
|
l("div", _l, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Ce = (fe = (A = (Ae = a.models) == null ? void 0 : Ae.weather) == null ? void 0 : A.NOAA) == null ? void 0 : fe.meta) == null ? void 0 : Ce.initialisationTime)), 1),
|
|
5942
|
-
l("div", kl, y((R = (Oe = (De = a.models) == null ? void 0 : De.weather) == null ? void 0 : Oe.ECMWF) == null ? void 0 : R.source) + " " + y((Ue = (Ge = (
|
|
5942
|
+
l("div", kl, y((R = (Oe = (De = a.models) == null ? void 0 : De.weather) == null ? void 0 : Oe.ECMWF) == null ? void 0 : R.source) + " " + y((Ue = (Ge = (U = a.models) == null ? void 0 : U.weather) == null ? void 0 : Ge.ECMWF) == null ? void 0 : Ue.spatialResolution) + y(t.$t("units.km")) + " " + y((Xe = (Ze = (ze = (Ve = a.models) == null ? void 0 : Ve.weather) == null ? void 0 : ze.ECMWF) == null ? void 0 : Ze.meta) == null ? void 0 : Xe.days) + y(t.$t("units.days")), 1),
|
|
5943
5943
|
l("div", zl, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
5944
5944
|
l("div", Ll, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Je = (Qe = (Ke = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
|
|
5945
5945
|
m(d),
|
|
@@ -6003,19 +6003,19 @@ function El(t, e, o, i, a, r) {
|
|
|
6003
6003
|
factor: (ue = a.weatherLayers) == null ? void 0 : ue["wind-particle"],
|
|
6004
6004
|
"menu-toggle": o.menuToggle
|
|
6005
6005
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6006
|
-
o.map ? (b(), j(
|
|
6006
|
+
o.map ? (b(), j(I, B({
|
|
6007
6007
|
key: 6,
|
|
6008
6008
|
viewport: a.viewport,
|
|
6009
6009
|
factor: (F = a.weatherLayers) == null ? void 0 : F["current-particle"],
|
|
6010
6010
|
"menu-toggle": o.menuToggle
|
|
6011
6011
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6012
|
-
o.map ? (b(), j(
|
|
6012
|
+
o.map ? (b(), j(V, B({
|
|
6013
6013
|
key: 7,
|
|
6014
6014
|
viewport: a.viewport,
|
|
6015
|
-
factor: (
|
|
6015
|
+
factor: (ne = a.weatherLayers) == null ? void 0 : ne["sig-wave"],
|
|
6016
6016
|
"menu-toggle": o.menuToggle
|
|
6017
6017
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6018
|
-
o.map ? (b(), j(
|
|
6018
|
+
o.map ? (b(), j(X, B({
|
|
6019
6019
|
key: 8,
|
|
6020
6020
|
map: o.map,
|
|
6021
6021
|
swell: (xe = a.weatherLayers) == null ? void 0 : xe.swell,
|
|
@@ -6028,7 +6028,7 @@ function El(t, e, o, i, a, r) {
|
|
|
6028
6028
|
factor: (ve = a.weatherLayers) == null ? void 0 : ve["ice-edge"],
|
|
6029
6029
|
"menu-toggle": o.menuToggle
|
|
6030
6030
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6031
|
-
o.map ? (b(), j(
|
|
6031
|
+
o.map ? (b(), j(Y, B({
|
|
6032
6032
|
key: 10,
|
|
6033
6033
|
viewport: a.viewport,
|
|
6034
6034
|
factor: (Se = a.weatherLayers) == null ? void 0 : Se["ice-cover"],
|
|
@@ -6052,7 +6052,7 @@ function El(t, e, o, i, a, r) {
|
|
|
6052
6052
|
factor: (Ie = a.weatherLayers) == null ? void 0 : Ie.visibility,
|
|
6053
6053
|
"menu-toggle": o.menuToggle
|
|
6054
6054
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6055
|
-
o.map ? (b(), j(
|
|
6055
|
+
o.map ? (b(), j(le, B({
|
|
6056
6056
|
key: 14,
|
|
6057
6057
|
viewport: a.viewport,
|
|
6058
6058
|
factor: (Re = a.weatherLayers) == null ? void 0 : Re["water-temp"],
|
|
@@ -6066,7 +6066,7 @@ function El(t, e, o, i, a, r) {
|
|
|
6066
6066
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0)
|
|
6067
6067
|
]);
|
|
6068
6068
|
}
|
|
6069
|
-
const jl = /* @__PURE__ */
|
|
6069
|
+
const jl = /* @__PURE__ */ Z(al, [["render", El]]), eo = [
|
|
6070
6070
|
{
|
|
6071
6071
|
rank: 0,
|
|
6072
6072
|
name: "Best Match",
|
|
@@ -6413,7 +6413,7 @@ class Ca {
|
|
|
6413
6413
|
}), a;
|
|
6414
6414
|
}
|
|
6415
6415
|
static pickHourly(e, o) {
|
|
6416
|
-
var i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x,
|
|
6416
|
+
var i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x, I, V, X, q, Y, $, ee, Q, le, de, pe, me, K, ie, ue, F, ne, xe, ve, Se, Me, Te, Ie, Re, ye, H, te, je, Pe;
|
|
6417
6417
|
const he = typeof o == "string" ? D(o) : o, ge = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, _e = D((a = (i = ge == null ? void 0 : ge[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), J = _e.clone().add((c = (s = (r = ge == null ? void 0 : ge[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), re = _e.clone().add((p = (g = (n = ge == null ? void 0 : ge[0]) == null ? void 0 : n.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Ae = [];
|
|
6418
6418
|
if (he.isBetween(J, re, "millisecond", "[]")) {
|
|
6419
6419
|
const A = he.utc().diff(J, "h", !1);
|
|
@@ -6421,34 +6421,34 @@ class Ca {
|
|
|
6421
6421
|
if (ge) {
|
|
6422
6422
|
let De = 0, Oe = 0;
|
|
6423
6423
|
for (const R of ge) {
|
|
6424
|
-
const
|
|
6424
|
+
const U = R == null ? void 0 : R.hourly;
|
|
6425
6425
|
for (let ze = A - (A - 1) % 3; ze <= A; ze++)
|
|
6426
|
-
De += (d =
|
|
6426
|
+
De += (d = U == null ? void 0 : U.precipitation) == null ? void 0 : d.at(ze);
|
|
6427
6427
|
for (let ze = A - (A - 1) % 6; ze <= A; ze++)
|
|
6428
|
-
Oe += (f =
|
|
6428
|
+
Oe += (f = U == null ? void 0 : U.precipitation) == null ? void 0 : f.at(ze);
|
|
6429
6429
|
fe = {
|
|
6430
|
-
temp: (k =
|
|
6431
|
-
apparentTemp: (v =
|
|
6432
|
-
rh: (S =
|
|
6433
|
-
dp: (C =
|
|
6430
|
+
temp: (k = U == null ? void 0 : U.temperature_2m) == null ? void 0 : k.at(A),
|
|
6431
|
+
apparentTemp: (v = U == null ? void 0 : U.apparent_temperature) == null ? void 0 : v.at(A),
|
|
6432
|
+
rh: (S = U == null ? void 0 : U.relative_humidity_2m) == null ? void 0 : S.at(A),
|
|
6433
|
+
dp: (C = U == null ? void 0 : U.dew_point_2m) == null ? void 0 : C.at(A),
|
|
6434
6434
|
precip: {
|
|
6435
|
-
probability: (N =
|
|
6436
|
-
sum: (M =
|
|
6435
|
+
probability: (N = U == null ? void 0 : U.precipitation_probability) == null ? void 0 : N.at(A),
|
|
6436
|
+
sum: (M = U == null ? void 0 : U.precipitation) == null ? void 0 : M.at(A),
|
|
6437
6437
|
sum3Hours: Math.round(De * 100) / 100,
|
|
6438
6438
|
sum6Hours: Math.round(Oe * 100) / 100
|
|
6439
6439
|
},
|
|
6440
|
-
pmsl: (L =
|
|
6441
|
-
psurf: (_ =
|
|
6442
|
-
code: (z =
|
|
6443
|
-
visibility: this.m2nm((P =
|
|
6440
|
+
pmsl: (L = U == null ? void 0 : U.pressure_msl) == null ? void 0 : L.at(A),
|
|
6441
|
+
psurf: (_ = U == null ? void 0 : U.surface_pressure) == null ? void 0 : _.at(A),
|
|
6442
|
+
code: (z = U == null ? void 0 : U.weather_code) == null ? void 0 : z.at(A),
|
|
6443
|
+
visibility: this.m2nm((P = U == null ? void 0 : U.visibility) == null ? void 0 : P.at(A)),
|
|
6444
6444
|
wind: {
|
|
6445
|
-
speed: (x =
|
|
6446
|
-
kts: (
|
|
6447
|
-
degree: (
|
|
6448
|
-
bearing: ((
|
|
6449
|
-
gusts: (
|
|
6445
|
+
speed: (x = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : x.at(A),
|
|
6446
|
+
kts: (I = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : I.at(A),
|
|
6447
|
+
degree: (V = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : V.at(A),
|
|
6448
|
+
bearing: ((X = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : X.at(A)) !== null ? (((q = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : q.at(A)) + 180) % 360 : null,
|
|
6449
|
+
gusts: (Y = U == null ? void 0 : U.wind_gusts_10m) == null ? void 0 : Y.at(A)
|
|
6450
6450
|
},
|
|
6451
|
-
isDay: ($ =
|
|
6451
|
+
isDay: ($ = U == null ? void 0 : U.is_day) == null ? void 0 : $.at(A)
|
|
6452
6452
|
};
|
|
6453
6453
|
const { name: Ge, url: Ue, bg: Ve } = this.parseWeatherCode(fe.code, fe.isDay);
|
|
6454
6454
|
fe.name = Ge, fe.url = Ue, fe.bg = Ve, fe.wind.scale = this.beaufort(this.kts2ms(fe.wind.kts)), fe.wind.direction = this.degree2Direction(fe.wind.degree), Ae.push({
|
|
@@ -6467,7 +6467,7 @@ class Ca {
|
|
|
6467
6467
|
sig: {
|
|
6468
6468
|
height: (ee = R == null ? void 0 : R.wave_height) == null ? void 0 : ee.at(A),
|
|
6469
6469
|
degree: (Q = R == null ? void 0 : R.wave_direction) == null ? void 0 : Q.at(A),
|
|
6470
|
-
bearing: ((
|
|
6470
|
+
bearing: ((le = R == null ? void 0 : R.wave_direction) == null ? void 0 : le.at(A)) !== null ? (((de = R == null ? void 0 : R.wave_direction) == null ? void 0 : de.at(A)) + 180) % 360 : null,
|
|
6471
6471
|
period: (pe = R == null ? void 0 : R.wave_period) == null ? void 0 : pe.at(A)
|
|
6472
6472
|
},
|
|
6473
6473
|
swell: {
|
|
@@ -6475,7 +6475,7 @@ class Ca {
|
|
|
6475
6475
|
degree: (K = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : K.at(A),
|
|
6476
6476
|
bearing: ((ie = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : ie.at(A)) !== null ? (((ue = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : ue.at(A)) + 180) % 360 : null,
|
|
6477
6477
|
period: (F = R == null ? void 0 : R.swell_wave_period) == null ? void 0 : F.at(A),
|
|
6478
|
-
peakPeriod: (
|
|
6478
|
+
peakPeriod: (ne = R == null ? void 0 : R.swell_wave_peak_period) == null ? void 0 : ne.at(A)
|
|
6479
6479
|
},
|
|
6480
6480
|
wd: {
|
|
6481
6481
|
height: (xe = R == null ? void 0 : R.wind_wave_height) == null ? void 0 : xe.at(A),
|
|
@@ -6522,7 +6522,7 @@ class Ca {
|
|
|
6522
6522
|
};
|
|
6523
6523
|
}
|
|
6524
6524
|
static pickDaily(e, o) {
|
|
6525
|
-
var i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x,
|
|
6525
|
+
var i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x, I, V, X, q, Y, $, ee, Q, le, de, pe, me, K, ie, ue, F, ne, xe, ve, Se, Me, Te, Ie;
|
|
6526
6526
|
const Re = typeof o == "string" ? D(o) : o, ye = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, te = D((r = (a = (i = ye == null ? void 0 : ye[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = D((n = (c = (s = ye == null ? void 0 : ye[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Pe = [];
|
|
6527
6527
|
if (Re.isBetween(te, je, "millisecond", "[]")) {
|
|
6528
6528
|
let he, ge;
|
|
@@ -6555,11 +6555,11 @@ class Ca {
|
|
|
6555
6555
|
mean: (x = J.relative_humidity_2m_mean) == null ? void 0 : x.at(W)
|
|
6556
6556
|
},
|
|
6557
6557
|
wind: {
|
|
6558
|
-
speed: (
|
|
6559
|
-
kts: (
|
|
6560
|
-
degree: (
|
|
6558
|
+
speed: (I = J.wind_speed_10m_max) == null ? void 0 : I.at(W),
|
|
6559
|
+
kts: (V = J.wind_speed_10m_max) == null ? void 0 : V.at(W),
|
|
6560
|
+
degree: (X = J.wind_direction_10m_dominant) == null ? void 0 : X.at(W),
|
|
6561
6561
|
gusts: (q = J.wind_gusts_10m_max) == null ? void 0 : q.at(W),
|
|
6562
|
-
bearing: ((
|
|
6562
|
+
bearing: ((Y = J.wind_direction_10m_dominant) == null ? void 0 : Y.at(W)) !== null ? ((($ = J.wind_direction_10m_dominant) == null ? void 0 : $.at(W)) + 180) % 360 : null
|
|
6563
6563
|
}
|
|
6564
6564
|
};
|
|
6565
6565
|
const { name: re, url: Ae, bg: A } = this.parseWeatherCode(he.code, !0);
|
|
@@ -6578,7 +6578,7 @@ class Ca {
|
|
|
6578
6578
|
sig: {
|
|
6579
6579
|
height: (ee = re.wave_height_max) == null ? void 0 : ee.at(W),
|
|
6580
6580
|
degree: (Q = re.wave_direction_dominant) == null ? void 0 : Q.at(W),
|
|
6581
|
-
period: (
|
|
6581
|
+
period: (le = re.wave_period_max) == null ? void 0 : le.at(W),
|
|
6582
6582
|
bearing: ((de = re.wave_direction_dominant) == null ? void 0 : de.at(W)) !== null ? (((pe = re.wave_direction_dominant) == null ? void 0 : pe.at(W)) + 180) % 360 : null
|
|
6583
6583
|
},
|
|
6584
6584
|
swell: {
|
|
@@ -6587,7 +6587,7 @@ class Ca {
|
|
|
6587
6587
|
period: (ie = re.swell_wave_period_max) == null ? void 0 : ie.at(W),
|
|
6588
6588
|
peakPeriod: (ue = re.swell_wave_peak_period_max) == null ? void 0 : ue.at(W),
|
|
6589
6589
|
// bearing: daily.swell_wave_direction_dominant?.at(day) !== null ? (daily.swell_wave_direction_dominant?.at(day) + 180) % 360 : null,
|
|
6590
|
-
bearing: ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(W)) !== null ? ((
|
|
6590
|
+
bearing: ((F = re.swell_wave_direction_dominant) == null ? void 0 : F.at(W)) !== null ? ((ne = re.swell_wave_direction_dominant) == null ? void 0 : ne.at(W)) % 360 : null
|
|
6591
6591
|
},
|
|
6592
6592
|
wd: {
|
|
6593
6593
|
height: (xe = re.wind_wave_height_max) == null ? void 0 : xe.at(W),
|
|
@@ -7182,8 +7182,8 @@ const Nl = {
|
|
|
7182
7182
|
handleRefresh() {
|
|
7183
7183
|
var e, o;
|
|
7184
7184
|
(((o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) || []).forEach((i) => {
|
|
7185
|
-
var a, r;
|
|
7186
|
-
((a = i.geometry) == null ? void 0 : a.type) === "Point" && ((r = i.properties) != null && r.important) && (i.properties.format = D(i.properties.date).utcOffset(this.timeZone).format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
|
|
7185
|
+
var a, r, s, c;
|
|
7186
|
+
((a = i.geometry) == null ? void 0 : a.type) === "Point" && ((r = i.properties) != null && r.important) && (i.properties.format = (c = (s = D(i.properties.date)) == null ? void 0 : s.utcOffset(this.timeZone)) == null ? void 0 : c.format(`MMM-DD/HHmm [(utc${this.computeTimezone})]`));
|
|
7187
7187
|
}), this.handleInit();
|
|
7188
7188
|
},
|
|
7189
7189
|
handleInit() {
|
|
@@ -7434,8 +7434,8 @@ const Nl = {
|
|
|
7434
7434
|
}
|
|
7435
7435
|
},
|
|
7436
7436
|
handleClear() {
|
|
7437
|
-
var t, e
|
|
7438
|
-
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((
|
|
7437
|
+
var t, e;
|
|
7438
|
+
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), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource)), (e = this.map) == null || e.off(
|
|
7439
7439
|
"click",
|
|
7440
7440
|
[
|
|
7441
7441
|
this.forecastNameLayer,
|
|
@@ -7448,12 +7448,12 @@ const Nl = {
|
|
|
7448
7448
|
this.historyPointLabelLayer
|
|
7449
7449
|
],
|
|
7450
7450
|
this.handleClick
|
|
7451
|
-
), this.showTropicalsInfo = !1
|
|
7451
|
+
), this.showTropicalsInfo = !1;
|
|
7452
7452
|
},
|
|
7453
7453
|
handleDateChange() {
|
|
7454
|
-
var t, e, o, i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x,
|
|
7455
|
-
if ((t = this.interpolateMarkers) == null || t.forEach((
|
|
7456
|
-
const
|
|
7454
|
+
var t, e, o, i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x, I, V, X, q, Y, $, ee, Q;
|
|
7455
|
+
if ((t = this.interpolateMarkers) == null || t.forEach((le) => le == null ? void 0 : le.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
7456
|
+
const le = D(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), de = this.interpolateData.filter((K) => K.properties.date === (le == null ? void 0 : le.format()) && !K.properties.disabled), pe = this.handleComputePolygons(de), me = E.featureCollection([...de]);
|
|
7457
7457
|
pe.forEach((K) => {
|
|
7458
7458
|
me.features.push(K);
|
|
7459
7459
|
}), (o = this.map) != null && o.getSource(this.interpolateSource) ? (i = this.map) == null || i.getSource(this.interpolateSource).setData(me) : ((a = this.map) == null || a.addSource(this.interpolateSource, {
|
|
@@ -7473,7 +7473,7 @@ const Nl = {
|
|
|
7473
7473
|
for (const K of de)
|
|
7474
7474
|
if (!K.properties.disabled) {
|
|
7475
7475
|
let ie = "#f44336";
|
|
7476
|
-
((c = (s = K.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((g = (n = K.properties) == null ? void 0 : n.wind) != null && g.kts) ? ie = "#03f869" : ((d = (p = K.properties) == null ? void 0 : p.wind) == null ? void 0 : d.kts) >= 32 && ((k = (f = K.properties) == null ? void 0 : f.wind) == null ? void 0 : k.kts) < 47 ? ie = "#f2f202" : ((S = (v = K.properties) == null ? void 0 : v.wind) == null ? void 0 : S.kts) >= 47 && ((N = (C = K.properties) == null ? void 0 : C.wind) == null ? void 0 : N.kts) < 63 ? ie = "#ff9100" : ((L = (M = K.properties) == null ? void 0 : M.wind) == null ? void 0 : L.kts) >= 63 && ((z = (_ = K.properties) == null ? void 0 : _.wind) == null ? void 0 : z.kts) < 79 ? ie = "#f44336" : ((x = (P = K.properties) == null ? void 0 : P.wind) == null ? void 0 : x.kts) >= 79 && ((
|
|
7476
|
+
((c = (s = K.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((g = (n = K.properties) == null ? void 0 : n.wind) != null && g.kts) ? ie = "#03f869" : ((d = (p = K.properties) == null ? void 0 : p.wind) == null ? void 0 : d.kts) >= 32 && ((k = (f = K.properties) == null ? void 0 : f.wind) == null ? void 0 : k.kts) < 47 ? ie = "#f2f202" : ((S = (v = K.properties) == null ? void 0 : v.wind) == null ? void 0 : S.kts) >= 47 && ((N = (C = K.properties) == null ? void 0 : C.wind) == null ? void 0 : N.kts) < 63 ? ie = "#ff9100" : ((L = (M = K.properties) == null ? void 0 : M.wind) == null ? void 0 : L.kts) >= 63 && ((z = (_ = K.properties) == null ? void 0 : _.wind) == null ? void 0 : z.kts) < 79 ? ie = "#f44336" : ((x = (P = K.properties) == null ? void 0 : P.wind) == null ? void 0 : x.kts) >= 79 && ((V = (I = K.properties) == null ? void 0 : I.wind) == null ? void 0 : V.kts) < 94 ? ie = "#f903d0" : ((q = (X = K.properties) == null ? void 0 : X.wind) == null ? void 0 : q.kts) >= 94 ? ie = "#8702f9" : ie = "#f44336";
|
|
7477
7477
|
const ue = `<svg t="1719918955501"
|
|
7478
7478
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
7479
7479
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -7490,8 +7490,8 @@ const Nl = {
|
|
|
7490
7490
|
fill="#ffffff" p-id="18386"></path>
|
|
7491
7491
|
</svg>`, F = document.createElement("div");
|
|
7492
7492
|
F.className = "idm-tropical-gl4-hourly-marker", F.innerHTML = `<div class="${K.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${ue}</div>`;
|
|
7493
|
-
const
|
|
7494
|
-
this.interpolateMarkers.push(
|
|
7493
|
+
const ne = new we.Marker(F).setLngLat(K.geometry.coordinates).addTo(this.map);
|
|
7494
|
+
this.interpolateMarkers.push(ne), ($ = (Y = this.map) == null ? void 0 : Y.getSource(this.circleSource)) == null || $.setData(this.circleSourceData);
|
|
7495
7495
|
}
|
|
7496
7496
|
} else
|
|
7497
7497
|
(ee = this.map) != null && ee.getSource(this.interpolateSource) && ((Q = this.map) == null || Q.getSource(this.interpolateSource).setData(this.empty));
|
|
@@ -7616,7 +7616,7 @@ const Nl = {
|
|
|
7616
7616
|
}, os = { class: "pa-1 d-flex justify-space-between align-center" }, as = { class: "pa-1 d-flex justify-space-between align-center" };
|
|
7617
7617
|
function is(t, e, o, i, a, r) {
|
|
7618
7618
|
const s = w("VBtn"), c = w("VTooltip"), n = w("VCardText"), g = w("v-divider"), p = w("v-btn"), d = w("v-card-actions"), f = w("VCard");
|
|
7619
|
-
return b(),
|
|
7619
|
+
return b(), T("div", Fl, [
|
|
7620
7620
|
l("div", {
|
|
7621
7621
|
class: "menu-bar-box transition pa-1",
|
|
7622
7622
|
style: ae({ top: o.top + 134 + "px", right: a.right + "px" })
|
|
@@ -7651,11 +7651,11 @@ function is(t, e, o, i, a, r) {
|
|
|
7651
7651
|
default: u(() => [
|
|
7652
7652
|
m(n, null, {
|
|
7653
7653
|
default: u(() => {
|
|
7654
|
-
var k, v, S, C, N, M, L, _, z, P
|
|
7654
|
+
var k, v, S, C, N, M, L, _, z, P;
|
|
7655
7655
|
return [
|
|
7656
7656
|
l("div", Wl, [
|
|
7657
|
-
l("span", Gl, y((
|
|
7658
|
-
(
|
|
7657
|
+
l("span", Gl, y((k = a.activeTropicals) == null ? void 0 : k.name), 1),
|
|
7658
|
+
(S = (v = a.activeTropicals) == null ? void 0 : v.history) != null && S.level ? (b(), T("span", Ul, ", " + y((N = (C = a.activeTropicals) == null ? void 0 : C.history) == null ? void 0 : N.level), 1)) : O("", !0)
|
|
7659
7659
|
]),
|
|
7660
7660
|
m(s, {
|
|
7661
7661
|
icon: "$close",
|
|
@@ -7663,11 +7663,11 @@ function is(t, e, o, i, a, r) {
|
|
|
7663
7663
|
density: "compact",
|
|
7664
7664
|
variant: "text",
|
|
7665
7665
|
class: "close",
|
|
7666
|
-
onClick: e[0] || (e[0] = (
|
|
7666
|
+
onClick: e[0] || (e[0] = (x) => a.showTropicalsInfo = !1)
|
|
7667
7667
|
}),
|
|
7668
7668
|
l("div", Vl, [
|
|
7669
7669
|
e[5] || (e[5] = l("span", { class: "opacity-70" }, "Last update: ", -1)),
|
|
7670
|
-
l("span", null, y(r.computeTime(((
|
|
7670
|
+
l("span", null, y(r.computeTime(((L = (M = a.activeTropicals) == null ? void 0 : M.history) == null ? void 0 : L.updated) || ((P = (z = (_ = a.activeTropicals) == null ? void 0 : _.forecasts) == null ? void 0 : z.filter((x) => !x.disabled)[0]) == null ? void 0 : P.date))), 1)
|
|
7671
7671
|
])
|
|
7672
7672
|
];
|
|
7673
7673
|
}),
|
|
@@ -7705,13 +7705,13 @@ function is(t, e, o, i, a, r) {
|
|
|
7705
7705
|
style: { width: "max-content" }
|
|
7706
7706
|
}, "Forecast Models : ", -1)),
|
|
7707
7707
|
l("div", $l, [
|
|
7708
|
-
(b(!0),
|
|
7708
|
+
(b(!0), T(ke, null, Le((z = a.activeTropicals) == null ? void 0 : z.forecasts, (P, x) => (b(), j(p, {
|
|
7709
7709
|
key: x,
|
|
7710
7710
|
density: "compact",
|
|
7711
7711
|
variant: P.disabled ? "outlined btn-border-2" : "flat",
|
|
7712
7712
|
color: P.disabled ? "" : "primary",
|
|
7713
7713
|
class: "model text-none text-body-1",
|
|
7714
|
-
onClick: (
|
|
7714
|
+
onClick: (I) => r.handleForecastToggle(P)
|
|
7715
7715
|
}, {
|
|
7716
7716
|
default: u(() => [
|
|
7717
7717
|
G(y(P.model), 1)
|
|
@@ -7848,7 +7848,7 @@ function is(t, e, o, i, a, r) {
|
|
|
7848
7848
|
])
|
|
7849
7849
|
]);
|
|
7850
7850
|
}
|
|
7851
|
-
const Ma = /* @__PURE__ */
|
|
7851
|
+
const Ma = /* @__PURE__ */ Z(Nl, [["render", is]]);
|
|
7852
7852
|
const rs = {
|
|
7853
7853
|
name: "DateTimePicker",
|
|
7854
7854
|
props: {
|
|
@@ -8010,7 +8010,7 @@ const rs = {
|
|
|
8010
8010
|
};
|
|
8011
8011
|
function ms(t, e, o, i, a, r) {
|
|
8012
8012
|
const s = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), g = w("VListItemTitle"), p = w("VListItem"), d = w("VList"), f = w("VCardText"), k = w("VCardActions"), v = w("VCard");
|
|
8013
|
-
return b(),
|
|
8013
|
+
return b(), T("div", ls, [
|
|
8014
8014
|
m(s, {
|
|
8015
8015
|
text: "",
|
|
8016
8016
|
height: "30",
|
|
@@ -8052,7 +8052,7 @@ function ms(t, e, o, i, a, r) {
|
|
|
8052
8052
|
l("div", cs, y(a.currentTime), 1),
|
|
8053
8053
|
m(d, { class: "pa-0 flex-1-1-0" }, {
|
|
8054
8054
|
default: u(() => [
|
|
8055
|
-
(b(!0),
|
|
8055
|
+
(b(!0), T(ke, null, Le(r.hourOptions, (S, C) => (b(), j(p, {
|
|
8056
8056
|
key: C,
|
|
8057
8057
|
value: S,
|
|
8058
8058
|
color: "primary",
|
|
@@ -8120,7 +8120,7 @@ function ms(t, e, o, i, a, r) {
|
|
|
8120
8120
|
})) : O("", !0)
|
|
8121
8121
|
]);
|
|
8122
8122
|
}
|
|
8123
|
-
const ro = /* @__PURE__ */
|
|
8123
|
+
const ro = /* @__PURE__ */ Z(rs, [["render", ms]]);
|
|
8124
8124
|
const hs = {
|
|
8125
8125
|
name: "IdmPoint",
|
|
8126
8126
|
components: {
|
|
@@ -8355,10 +8355,10 @@ const hs = {
|
|
|
8355
8355
|
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data), this.loading = !1;
|
|
8356
8356
|
},
|
|
8357
8357
|
initTableData(t) {
|
|
8358
|
-
var o, i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x,
|
|
8358
|
+
var o, i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x, I, V, X, q, Y, $, ee, Q, le, de, pe, me, K, ie, ue, F, ne, xe, ve;
|
|
8359
8359
|
this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
|
|
8360
8360
|
const e = ((s = ao.pickHourly(t, D(this.form.dateTime))) == null ? void 0 : s[0]) || {};
|
|
8361
|
-
this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((g = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((d = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : d.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.kts, 1) ?? "-", this.currentHourData.windDir = (C = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : C.direction, this.currentHourData.windLevel = this.roundPrecision((M = (N = e == null ? void 0 : e.weather) == null ? void 0 : N.wind) == null ? void 0 : M.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((_ = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((P = (z = e == null ? void 0 : e.wave) == null ? void 0 : z.sig) == null ? void 0 : P.height, 1) ?? "-", this.currentHourData.sigwaveDir = (
|
|
8361
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((g = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : g.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((d = (p = e == null ? void 0 : e.weather) == null ? void 0 : p.precip) == null ? void 0 : d.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.kts, 1) ?? "-", this.currentHourData.windDir = (C = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : C.direction, this.currentHourData.windLevel = this.roundPrecision((M = (N = e == null ? void 0 : e.weather) == null ? void 0 : N.wind) == null ? void 0 : M.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((_ = (L = e == null ? void 0 : e.weather) == null ? void 0 : L.wind) == null ? void 0 : _.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((P = (z = e == null ? void 0 : e.wave) == null ? void 0 : z.sig) == null ? void 0 : P.height, 1) ?? "-", this.currentHourData.sigwaveDir = (I = (x = e == null ? void 0 : e.wave) == null ? void 0 : x.sig) == null ? void 0 : I.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((X = (V = e == null ? void 0 : e.wave) == null ? void 0 : V.sig) == null ? void 0 : X.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((Y = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.roundPrecision((le = (Q = e == null ? void 0 : e.wave) == null ? void 0 : Q.wd) == null ? void 0 : le.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((pe = (de = e == null ? void 0 : e.wave) == null ? void 0 : de.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (K = (me = e == null ? void 0 : e.wave) == null ? void 0 : me.swell) == null ? void 0 : K.direction, this.currentHourData.swellPeriod = this.roundPrecision((ue = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ue.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((F = e == null ? void 0 : e.current) == null ? void 0 : F.speed, 1) ?? "-", this.currentHourData.currentDir = (ne = e == null ? void 0 : e.current) == null ? void 0 : ne.direction, this.currentHourData.currentSpeed = this.roundPrecision((xe = e == null ? void 0 : e.current) == null ? void 0 : xe.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ve = e == null ? void 0 : e.weather) == null ? void 0 : ve.url;
|
|
8362
8362
|
},
|
|
8363
8363
|
handleBind() {
|
|
8364
8364
|
var t, e;
|
|
@@ -8429,7 +8429,7 @@ const hs = {
|
|
|
8429
8429
|
}, zs = ["xlink:href"], Ls = { class: "d-flex justify-start align-center" }, Ps = { class: "mx-2" };
|
|
8430
8430
|
function Cs(t, e, o, i, a, r) {
|
|
8431
8431
|
const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), g = w("VDivider"), p = w("VTextField"), d = w("VCol"), f = w("VRow"), k = w("DateTimePicker"), v = w("VBtnToggle"), S = w("VCardActions"), C = w("VForm"), N = w("VCardText"), M = w("VCard"), L = w("VIcon");
|
|
8432
|
-
return b(),
|
|
8432
|
+
return b(), T("div", ds, [
|
|
8433
8433
|
l("div", {
|
|
8434
8434
|
class: "menu-bar-box transition pa-1",
|
|
8435
8435
|
style: ae({ top: o.top + 174 + "px", right: a.right + "px" })
|
|
@@ -8498,7 +8498,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8498
8498
|
}, {
|
|
8499
8499
|
default: u(() => [
|
|
8500
8500
|
l("div", ps, [
|
|
8501
|
-
(b(),
|
|
8501
|
+
(b(), T("svg", us, [
|
|
8502
8502
|
l("use", {
|
|
8503
8503
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
8504
8504
|
}, null, 8, gs)
|
|
@@ -8573,7 +8573,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8573
8573
|
_: 1
|
|
8574
8574
|
}),
|
|
8575
8575
|
l("div", fs, [
|
|
8576
|
-
(b(),
|
|
8576
|
+
(b(), T("svg", ys, [
|
|
8577
8577
|
l("use", {
|
|
8578
8578
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
8579
8579
|
}, null, 8, bs)
|
|
@@ -8651,7 +8651,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8651
8651
|
_: 1
|
|
8652
8652
|
}),
|
|
8653
8653
|
l("div", ws, [
|
|
8654
|
-
(b(),
|
|
8654
|
+
(b(), T("svg", xs, [
|
|
8655
8655
|
l("use", {
|
|
8656
8656
|
"xlink:href": `#icon-a-DateTime-${o.theme}`
|
|
8657
8657
|
}, null, 8, vs)
|
|
@@ -8678,7 +8678,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8678
8678
|
_: 1
|
|
8679
8679
|
}),
|
|
8680
8680
|
l("div", _s, [
|
|
8681
|
-
(b(),
|
|
8681
|
+
(b(), T("svg", ks, [
|
|
8682
8682
|
l("use", {
|
|
8683
8683
|
"xlink:href": `#icon-a-ForecastModel-${o.theme}`
|
|
8684
8684
|
}, null, 8, zs)
|
|
@@ -9045,7 +9045,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
9045
9045
|
])
|
|
9046
9046
|
]);
|
|
9047
9047
|
}
|
|
9048
|
-
const Ss = /* @__PURE__ */
|
|
9048
|
+
const Ss = /* @__PURE__ */ Z(hs, [["render", Cs]]);
|
|
9049
9049
|
const Ms = {
|
|
9050
9050
|
name: "IdmMeasure",
|
|
9051
9051
|
props: {
|
|
@@ -9399,7 +9399,7 @@ const Ms = {
|
|
|
9399
9399
|
}, Ts = { class: "idm-gl4-measure" };
|
|
9400
9400
|
function Is(t, e, o, i, a, r) {
|
|
9401
9401
|
const s = w("VBtn"), c = w("VTooltip");
|
|
9402
|
-
return b(),
|
|
9402
|
+
return b(), T("div", Ts, [
|
|
9403
9403
|
l("div", {
|
|
9404
9404
|
class: "menu-bar-box transition pa-1",
|
|
9405
9405
|
style: ae({ top: o.top + 214 + "px", right: a.right + "px" })
|
|
@@ -9428,7 +9428,7 @@ function Is(t, e, o, i, a, r) {
|
|
|
9428
9428
|
], 4)
|
|
9429
9429
|
]);
|
|
9430
9430
|
}
|
|
9431
|
-
const Rs = /* @__PURE__ */
|
|
9431
|
+
const Rs = /* @__PURE__ */ Z(Ms, [["render", Is]]);
|
|
9432
9432
|
const As = {
|
|
9433
9433
|
name: "IdmBottomBar",
|
|
9434
9434
|
components: { DateTimePicker: ro },
|
|
@@ -9548,8 +9548,8 @@ const As = {
|
|
|
9548
9548
|
}, Fs = ["onClick"], Hs = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Ws = { class: "text-body-1" };
|
|
9549
9549
|
function Gs(t, e, o, i, a, r) {
|
|
9550
9550
|
const s = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), g = w("VList"), p = w("VMenu"), d = w("VBtn"), f = w("VDivider"), k = w("VTooltip");
|
|
9551
|
-
return b(),
|
|
9552
|
-
a.show ? (b(),
|
|
9551
|
+
return b(), T("div", Ds, [
|
|
9552
|
+
a.show ? (b(), T("div", {
|
|
9553
9553
|
key: 0,
|
|
9554
9554
|
class: "timeline-box px-2 d-flex justify-start align-center rounded",
|
|
9555
9555
|
style: ae({ right: a.right + 146 + "px" })
|
|
@@ -9577,7 +9577,7 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9577
9577
|
default: u(() => [
|
|
9578
9578
|
m(g, { class: "pa-1" }, {
|
|
9579
9579
|
default: u(() => [
|
|
9580
|
-
(b(!0),
|
|
9580
|
+
(b(!0), T(ke, null, Le(a.intervalOptions, (v, S) => (b(), j(n, {
|
|
9581
9581
|
key: S,
|
|
9582
9582
|
value: v,
|
|
9583
9583
|
variant: a.intervalHour === v ? "tonal" : "text",
|
|
@@ -9826,8 +9826,8 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9826
9826
|
class: "timezone-box d-flex flex-column justify-space-between align-end",
|
|
9827
9827
|
style: ae({ right: a.right + "px" })
|
|
9828
9828
|
}, [
|
|
9829
|
-
a.showTimezone ? (b(),
|
|
9830
|
-
(b(!0),
|
|
9829
|
+
a.showTimezone ? (b(), T("div", Ns, [
|
|
9830
|
+
(b(!0), T(ke, null, Le(a.offsets, (v) => (b(), T("div", {
|
|
9831
9831
|
key: v,
|
|
9832
9832
|
class: "item rounded text-body-2 hover-active",
|
|
9833
9833
|
onClick: (S) => a.timeZone = v
|
|
@@ -9852,7 +9852,7 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9852
9852
|
], 4)
|
|
9853
9853
|
]);
|
|
9854
9854
|
}
|
|
9855
|
-
const Us = /* @__PURE__ */
|
|
9855
|
+
const Us = /* @__PURE__ */ Z(As, [["render", Gs]]), Vs = {
|
|
9856
9856
|
name: "IdmGL4",
|
|
9857
9857
|
components: {
|
|
9858
9858
|
IdmOtherLayer: $i,
|
|
@@ -9919,7 +9919,7 @@ const Us = /* @__PURE__ */ X(As, [["render", Gs]]), Vs = {
|
|
|
9919
9919
|
};
|
|
9920
9920
|
function Zs(t, e, o, i, a, r) {
|
|
9921
9921
|
const s = w("IdmOtherLayer"), c = w("IdmWeatherLayer"), n = w("IdmTropicals"), g = w("IdmMeasure"), p = w("IdmSpot"), d = w("IdmBottomBar");
|
|
9922
|
-
return b(),
|
|
9922
|
+
return b(), T("div", Ys, [
|
|
9923
9923
|
m(s, B({
|
|
9924
9924
|
ref: "idmOtherLayers",
|
|
9925
9925
|
token: o.token,
|
|
@@ -9990,16 +9990,16 @@ function Zs(t, e, o, i, a, r) {
|
|
|
9990
9990
|
}), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
|
|
9991
9991
|
], 512);
|
|
9992
9992
|
}
|
|
9993
|
-
const Xs = /* @__PURE__ */
|
|
9993
|
+
const Xs = /* @__PURE__ */ Z(Vs, [["render", Zs]]);
|
|
9994
9994
|
class qs {
|
|
9995
9995
|
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
var o, i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x,
|
|
9996
|
+
se(this, "originStyle");
|
|
9997
|
+
se(this, "mapboxStyle");
|
|
9998
|
+
se(this, "i4");
|
|
9999
|
+
se(this, "hi");
|
|
10000
|
+
se(this, "td");
|
|
10001
|
+
se(this, "windy");
|
|
10002
|
+
var o, i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x, I, V, X, q, Y, $, ee, Q, le, de, pe, me, K, ie, ue, F, ne, xe, ve, Se, Me, Te, Ie, Re, ye, H, te, je, Pe, he, ge, W, _e, J, re, Ae, A, fe, Ce, De, Oe, R, U, Ge, Ue, Ve, ze, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, It, Rt, At, Dt, Ot, Bt, Et, jt, Nt, Ft, Ht, Wt, Gt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Qt, Jt, lo, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, So, Mo, To, Io, Ro, Ao, Do, Oo, Bo, Eo, jo, No, Fo, Ho, Wo, Go, Uo, Vo, Yo, Zo, Xo, qo, Ko, Qo, Jo, $o, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La;
|
|
10003
10003
|
this.i4 = {
|
|
10004
10004
|
source: {
|
|
10005
10005
|
type: "raster",
|
|
@@ -28282,15 +28282,15 @@ class qs {
|
|
|
28282
28282
|
(L = (M = this.originStyle) == null ? void 0 : M.light.layers) == null ? void 0 : L.find((h) => h.id === "water-outline2"),
|
|
28283
28283
|
(z = (_ = this.originStyle) == null ? void 0 : _.light.layers) == null ? void 0 : z.find((h) => h.id === "empty-layer-2"),
|
|
28284
28284
|
(x = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : x.find((h) => h.id === "water-line-label"),
|
|
28285
|
-
(
|
|
28286
|
-
(q = (
|
|
28287
|
-
($ = (
|
|
28285
|
+
(V = (I = this.originStyle) == null ? void 0 : I.light.layers) == null ? void 0 : V.find((h) => h.id === "water-point-label"),
|
|
28286
|
+
(q = (X = this.originStyle) == null ? void 0 : X.light.layers) == null ? void 0 : q.find((h) => h.id === "world-12nm-v4-20231025"),
|
|
28287
|
+
($ = (Y = this.originStyle) == null ? void 0 : Y.light.layers) == null ? void 0 : $.find((h) => h.id === "ne-10m-outline"),
|
|
28288
28288
|
(Q = (ee = this.originStyle) == null ? void 0 : ee.light.layers) == null ? void 0 : Q.find((h) => h.id === "ne-10m-label"),
|
|
28289
|
-
(de = (
|
|
28289
|
+
(de = (le = this.originStyle) == null ? void 0 : le.light.layers) == null ? void 0 : de.find((h) => h.id === "china-route-line"),
|
|
28290
28290
|
(me = (pe = this.originStyle) == null ? void 0 : pe.light.layers) == null ? void 0 : me.find((h) => h.id === "china-route-fill"),
|
|
28291
28291
|
(ie = (K = this.originStyle) == null ? void 0 : K.light.layers) == null ? void 0 : ie.find((h) => h.id === "china-route-label"),
|
|
28292
28292
|
(F = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : F.find((h) => h.id === "admin-0-boundary-bg"),
|
|
28293
|
-
(xe = (
|
|
28293
|
+
(xe = (ne = this.originStyle) == null ? void 0 : ne.light.layers) == null ? void 0 : xe.find((h) => h.id === "admin-0-boundary"),
|
|
28294
28294
|
(Se = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : Se.find((h) => h.id === "admin-0-boundary-disputed"),
|
|
28295
28295
|
(Te = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : Te.find((h) => h.id === "country-label"),
|
|
28296
28296
|
(Re = (Ie = this.originStyle) == null ? void 0 : Ie.light.layers) == null ? void 0 : Re.find((h) => h.id === "continent-label"),
|
|
@@ -28324,7 +28324,7 @@ class qs {
|
|
|
28324
28324
|
(A = (Ae = this.originStyle) == null ? void 0 : Ae.dark.layers) == null ? void 0 : A.find((h) => h.id === "land"),
|
|
28325
28325
|
(Ce = (fe = this.originStyle) == null ? void 0 : fe.dark.layers) == null ? void 0 : Ce.find((h) => h.id === "water"),
|
|
28326
28326
|
(Oe = (De = this.originStyle) == null ? void 0 : De.dark.layers) == null ? void 0 : Oe.find((h) => h.id === "ice-area-fill"),
|
|
28327
|
-
(
|
|
28327
|
+
(U = (R = this.originStyle) == null ? void 0 : R.dark.layers) == null ? void 0 : U.find((h) => h.id === "ice-area-line"),
|
|
28328
28328
|
(Ue = (Ge = this.originStyle) == null ? void 0 : Ge.dark.layers) == null ? void 0 : Ue.find((h) => h.id === "empty-layer-0"),
|
|
28329
28329
|
(ze = (Ve = this.originStyle) == null ? void 0 : Ve.dark.layers) == null ? void 0 : ze.find((h) => h.id === "empty-layer-1"),
|
|
28330
28330
|
(Xe = (Ze = this.originStyle) == null ? void 0 : Ze.dark.layers) == null ? void 0 : Xe.find((h) => h.id === "country-boundaries"),
|
|
@@ -28534,7 +28534,7 @@ const Ks = {
|
|
|
28534
28534
|
}, Qs = { class: "mapbox-initial-gl4" }, Js = { class: "v-btn--variant-elevated rounded" }, $s = { class: "zoom" };
|
|
28535
28535
|
function en(t, e, o, i, a, r) {
|
|
28536
28536
|
const s = w("VBtn");
|
|
28537
|
-
return b(),
|
|
28537
|
+
return b(), T("div", Qs, [
|
|
28538
28538
|
e[2] || (e[2] = l("div", { id: "map" }, null, -1)),
|
|
28539
28539
|
l("div", {
|
|
28540
28540
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
@@ -28572,7 +28572,7 @@ function en(t, e, o, i, a, r) {
|
|
|
28572
28572
|
], 4)
|
|
28573
28573
|
]);
|
|
28574
28574
|
}
|
|
28575
|
-
const tn = /* @__PURE__ */
|
|
28575
|
+
const tn = /* @__PURE__ */ Z(Ks, [["render", en]]), un = {
|
|
28576
28576
|
install(t) {
|
|
28577
28577
|
t.component("MapInitial", tn), t.component("MapboxGL", Xs), t.component("TropicalGL", Ma), t.component("LatLngGL", Sa), t.component("DateTimePicker", ro);
|
|
28578
28578
|
}
|
|
@@ -28587,5 +28587,5 @@ export {
|
|
|
28587
28587
|
Ma as TropicalGL,
|
|
28588
28588
|
io as Viewport,
|
|
28589
28589
|
Ne as WebGL,
|
|
28590
|
-
|
|
28590
|
+
ce as WebGLSchema
|
|
28591
28591
|
};
|