@idmwx/idmui-gl4 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -3,9 +3,9 @@ var Xa = (t, e, o) => e in t ? qa(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var se = (t, e, o) => (Xa(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Ee from "axios";
|
|
5
5
|
import { useTheme as Le } from "vuetify";
|
|
6
|
-
import { openBlock as
|
|
6
|
+
import { openBlock as b, createElementBlock as M, resolveComponent as w, withDirectives as Ne, createBlock as O, withCtx as p, createVNode as d, withModifiers as io, createElementVNode as l, vShow as Fe, toDisplayString as y, Fragment as be, renderList as we, createTextVNode as U, createCommentVNode as B, normalizeStyle as ae, mergeProps as j, normalizeClass as Ue } from "vue";
|
|
7
7
|
import xe from "mapbox-gl";
|
|
8
|
-
import { LngLatHelper as K, TropicalHelper as Ua, LaneHelper as
|
|
8
|
+
import { LngLatHelper as K, TropicalHelper as Ua, LaneHelper as We } from "@idm-plugin/geo";
|
|
9
9
|
import I from "moment";
|
|
10
10
|
import { TidesAssist as Ka, Meteo2Assist as ao } from "@idm-plugin/meteo";
|
|
11
11
|
import * as Ga from "echarts";
|
|
@@ -51,7 +51,7 @@ const V = (t, e) => {
|
|
|
51
51
|
},
|
|
52
52
|
methods: {
|
|
53
53
|
handleRender() {
|
|
54
|
-
this.
|
|
54
|
+
this.handleClear(), this.zone && (this.map.addSource(this.source, {
|
|
55
55
|
type: "geojson",
|
|
56
56
|
data: this.zone
|
|
57
57
|
}), this.map.addLayer(
|
|
@@ -105,9 +105,7 @@ const V = (t, e) => {
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
this.beforeLayer
|
|
108
|
-
))
|
|
109
|
-
this.handleRender();
|
|
110
|
-
}, 500);
|
|
108
|
+
));
|
|
111
109
|
},
|
|
112
110
|
handleClear() {
|
|
113
111
|
this.map.getLayer(this.zoneLayer) && this.map.removeLayer(this.zoneLayer), this.map.getLayer(this.zoneLayer + "-border") && this.map.removeLayer(this.zoneLayer + "-border"), this.map.getLayer(this.zoneLabelLayer) && this.map.removeLayer(this.zoneLabelLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
@@ -115,7 +113,7 @@ const V = (t, e) => {
|
|
|
115
113
|
}
|
|
116
114
|
};
|
|
117
115
|
function ti(t, e, o, i, a, r) {
|
|
118
|
-
return
|
|
116
|
+
return b(), M("div");
|
|
119
117
|
}
|
|
120
118
|
const oi = /* @__PURE__ */ V(ei, [["render", ti]]), ai = {
|
|
121
119
|
name: "IdmGmdssArea",
|
|
@@ -150,7 +148,7 @@ const oi = /* @__PURE__ */ V(ei, [["render", ti]]), ai = {
|
|
|
150
148
|
},
|
|
151
149
|
methods: {
|
|
152
150
|
handleRender() {
|
|
153
|
-
this.
|
|
151
|
+
this.handleClear(), this.area && (this.map.addSource(this.source, {
|
|
154
152
|
type: "geojson",
|
|
155
153
|
data: this.area
|
|
156
154
|
}), console.log(this.beforeLayer), this.map.addLayer(
|
|
@@ -234,9 +232,7 @@ const oi = /* @__PURE__ */ V(ei, [["render", ti]]), ai = {
|
|
|
234
232
|
}
|
|
235
233
|
},
|
|
236
234
|
this.beforeLayer
|
|
237
|
-
))
|
|
238
|
-
this.handleRender();
|
|
239
|
-
}, 500);
|
|
235
|
+
));
|
|
240
236
|
},
|
|
241
237
|
handleClear() {
|
|
242
238
|
this.map.getLayer(this.areaLayer) && this.map.removeLayer(this.areaLayer), this.map.getLayer(this.areaLabelLayer) && this.map.removeLayer(this.areaLabelLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
@@ -244,7 +240,7 @@ const oi = /* @__PURE__ */ V(ei, [["render", ti]]), ai = {
|
|
|
244
240
|
}
|
|
245
241
|
};
|
|
246
242
|
function ii(t, e, o, i, a, r) {
|
|
247
|
-
return
|
|
243
|
+
return b(), M("div");
|
|
248
244
|
}
|
|
249
245
|
const ri = /* @__PURE__ */ V(ai, [["render", ii]]), li = {
|
|
250
246
|
name: "IdmEcaZone",
|
|
@@ -280,7 +276,7 @@ const ri = /* @__PURE__ */ V(ai, [["render", ii]]), li = {
|
|
|
280
276
|
methods: {
|
|
281
277
|
handleRender() {
|
|
282
278
|
var t;
|
|
283
|
-
this.
|
|
279
|
+
this.handleClear(), this.zone && (this.map.getSource(this.source) ? (t = this.map) == null || t.getSource(this.source).setData(this.zone) : (this.map.addSource(this.source, {
|
|
284
280
|
type: "geojson",
|
|
285
281
|
data: this.zone
|
|
286
282
|
}), this.map.addLayer(
|
|
@@ -335,9 +331,7 @@ const ri = /* @__PURE__ */ V(ai, [["render", ii]]), li = {
|
|
|
335
331
|
}
|
|
336
332
|
},
|
|
337
333
|
this.beforeLayer
|
|
338
|
-
)))
|
|
339
|
-
this.handleRender();
|
|
340
|
-
}, 500);
|
|
334
|
+
)));
|
|
341
335
|
},
|
|
342
336
|
handleClear() {
|
|
343
337
|
this.map.getLayer(this.zoneLayer) && this.map.removeLayer(this.zoneLayer), this.map.getLayer(this.zoneLayer + "-border") && this.map.removeLayer(this.zoneLayer + "-border"), this.map.getLayer(this.zoneLabelLayer) && this.map.removeLayer(this.zoneLabelLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
@@ -345,7 +339,7 @@ const ri = /* @__PURE__ */ V(ai, [["render", ii]]), li = {
|
|
|
345
339
|
}
|
|
346
340
|
};
|
|
347
341
|
function si(t, e, o, i, a, r) {
|
|
348
|
-
return
|
|
342
|
+
return b(), M("div");
|
|
349
343
|
}
|
|
350
344
|
const ni = /* @__PURE__ */ V(li, [["render", si]]);
|
|
351
345
|
const ci = {
|
|
@@ -400,7 +394,7 @@ const ci = {
|
|
|
400
394
|
},
|
|
401
395
|
handleRender() {
|
|
402
396
|
var t;
|
|
403
|
-
this.
|
|
397
|
+
this.handleClear(), this.zone && (this.map.getSource(this.source) ? (t = this.map) == null || t.getSource(this.source).setData(this.zone) : (this.map.addSource(this.source, {
|
|
404
398
|
type: "geojson",
|
|
405
399
|
data: this.zone
|
|
406
400
|
}), this.map.addLayer({
|
|
@@ -477,9 +471,7 @@ const ci = {
|
|
|
477
471
|
paint: {
|
|
478
472
|
"icon-opacity": 0.8
|
|
479
473
|
}
|
|
480
|
-
}, this.beforeLayer)))
|
|
481
|
-
this.handleRender();
|
|
482
|
-
}, 500);
|
|
474
|
+
}, this.beforeLayer)));
|
|
483
475
|
},
|
|
484
476
|
handleClear() {
|
|
485
477
|
this.map.getLayer(this.polygonLayer) && this.map.removeLayer(this.polygonLayer), this.map.getLayer(this.polygonLayer + "-border") && this.map.removeLayer(this.polygonLayer + "-border"), this.map.getLayer(this.polygonLabelLayer) && this.map.removeLayer(this.polygonLabelLayer), this.map.getLayer(this.lineLayer) && this.map.removeLayer(this.lineLayer), this.map.getLayer(this.lineLabelLayer) && this.map.removeLayer(this.lineLabelLayer), this.map.getLayer(this.pointLayer) && this.map.removeLayer(this.pointLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
@@ -494,7 +486,7 @@ const ci = {
|
|
|
494
486
|
}, mi = ["innerHTML"];
|
|
495
487
|
function di(t, e, o, i, a, r) {
|
|
496
488
|
const s = w("VBtn"), c = w("v-card-text"), n = w("v-card");
|
|
497
|
-
return
|
|
489
|
+
return Ne((b(), O(n, {
|
|
498
490
|
class: "scroll",
|
|
499
491
|
id: "idm-gl4-zone-info"
|
|
500
492
|
}, {
|
|
@@ -527,7 +519,7 @@ function di(t, e, o, i, a, r) {
|
|
|
527
519
|
]),
|
|
528
520
|
_: 1
|
|
529
521
|
}, 512)), [
|
|
530
|
-
[
|
|
522
|
+
[Fe, a.showZone]
|
|
531
523
|
]);
|
|
532
524
|
}
|
|
533
525
|
const hi = /* @__PURE__ */ V(ci, [["render", di]]);
|
|
@@ -584,7 +576,7 @@ const pi = {
|
|
|
584
576
|
methods: {
|
|
585
577
|
handleRender() {
|
|
586
578
|
var t;
|
|
587
|
-
this.
|
|
579
|
+
this.ports && (this.map.getSource(this.source) ? (t = this.map) == null || t.getSource(this.source).setData(this.ports) : (this.map.addSource(this.source, {
|
|
588
580
|
type: "geojson",
|
|
589
581
|
data: this.ports
|
|
590
582
|
// cluster: true,
|
|
@@ -616,9 +608,7 @@ const pi = {
|
|
|
616
608
|
}
|
|
617
609
|
},
|
|
618
610
|
this.beforeLayer
|
|
619
|
-
)))
|
|
620
|
-
this.handleRender();
|
|
621
|
-
}, 500);
|
|
611
|
+
)));
|
|
622
612
|
},
|
|
623
613
|
handleClear() {
|
|
624
614
|
this.showInfo = !1, this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
@@ -646,7 +636,7 @@ const pi = {
|
|
|
646
636
|
}, ui = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, gi = { class: "d-flex justify-start align-center text-label" }, fi = { class: "d-flex justify-start align-center text-label" };
|
|
647
637
|
function yi(t, e, o, i, a, r) {
|
|
648
638
|
const s = w("VCardText"), c = w("VCard");
|
|
649
|
-
return
|
|
639
|
+
return Ne((b(), O(c, {
|
|
650
640
|
id: "idmPortInfo",
|
|
651
641
|
ref: "idmPortInfo"
|
|
652
642
|
}, {
|
|
@@ -656,11 +646,11 @@ function yi(t, e, o, i, a, r) {
|
|
|
656
646
|
l("div", ui, [
|
|
657
647
|
e[1] || (e[1] = l("div", null, "port", -1)),
|
|
658
648
|
l("div", gi, [
|
|
659
|
-
l("span", null,
|
|
649
|
+
l("span", null, y(a.port.name ?? "-"), 1)
|
|
660
650
|
]),
|
|
661
651
|
l("div", fi, [
|
|
662
652
|
e[0] || (e[0] = l("label", { class: "pr-1" }, "LoCode : ", -1)),
|
|
663
|
-
l("span", null,
|
|
653
|
+
l("span", null, y(a.port.loCode ?? "-"), 1)
|
|
664
654
|
])
|
|
665
655
|
])
|
|
666
656
|
]),
|
|
@@ -669,10 +659,10 @@ function yi(t, e, o, i, a, r) {
|
|
|
669
659
|
]),
|
|
670
660
|
_: 1
|
|
671
661
|
}, 512)), [
|
|
672
|
-
[
|
|
662
|
+
[Fe, a.showInfo]
|
|
673
663
|
]);
|
|
674
664
|
}
|
|
675
|
-
const bi = /* @__PURE__ */ V(pi, [["render", yi], ["__scopeId", "data-v-
|
|
665
|
+
const bi = /* @__PURE__ */ V(pi, [["render", yi], ["__scopeId", "data-v-56f5c9ab"]]), wi = {
|
|
676
666
|
name: "IdmLoadLine",
|
|
677
667
|
props: {
|
|
678
668
|
map: {
|
|
@@ -714,7 +704,7 @@ const bi = /* @__PURE__ */ V(pi, [["render", yi], ["__scopeId", "data-v-70375c62
|
|
|
714
704
|
}
|
|
715
705
|
};
|
|
716
706
|
function xi(t, e, o, i, a, r) {
|
|
717
|
-
return
|
|
707
|
+
return b(), M("div");
|
|
718
708
|
}
|
|
719
709
|
const vi = /* @__PURE__ */ V(wi, [["render", xi]]), _i = {
|
|
720
710
|
name: "IdmTimezone",
|
|
@@ -749,7 +739,7 @@ const vi = /* @__PURE__ */ V(wi, [["render", xi]]), _i = {
|
|
|
749
739
|
},
|
|
750
740
|
methods: {
|
|
751
741
|
handleRender() {
|
|
752
|
-
this.
|
|
742
|
+
this.handleClear(), this.zone && (this.map.addSource(this.source, {
|
|
753
743
|
type: "geojson",
|
|
754
744
|
data: this.zone
|
|
755
745
|
}), this.map.addLayer(
|
|
@@ -882,9 +872,7 @@ const vi = /* @__PURE__ */ V(wi, [["render", xi]]), _i = {
|
|
|
882
872
|
}
|
|
883
873
|
},
|
|
884
874
|
this.beforeLayer
|
|
885
|
-
))
|
|
886
|
-
this.handleRender();
|
|
887
|
-
}, 500);
|
|
875
|
+
));
|
|
888
876
|
},
|
|
889
877
|
handleClear() {
|
|
890
878
|
this.map.getLayer(this.zoneLayer) && this.map.removeLayer(this.zoneLayer), this.map.getLayer(this.zoneLabelLayer) && this.map.removeLayer(this.zoneLabelLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
@@ -892,7 +880,7 @@ const vi = /* @__PURE__ */ V(wi, [["render", xi]]), _i = {
|
|
|
892
880
|
}
|
|
893
881
|
};
|
|
894
882
|
function ki(t, e, o, i, a, r) {
|
|
895
|
-
return
|
|
883
|
+
return b(), M("div");
|
|
896
884
|
}
|
|
897
885
|
const zi = /* @__PURE__ */ V(_i, [["render", ki]]), Li = {
|
|
898
886
|
name: "IdmVoluntaryReportingArea",
|
|
@@ -927,7 +915,7 @@ const zi = /* @__PURE__ */ V(_i, [["render", ki]]), Li = {
|
|
|
927
915
|
},
|
|
928
916
|
methods: {
|
|
929
917
|
handleRender() {
|
|
930
|
-
this.
|
|
918
|
+
this.handleClear(), this.area && (this.map.addSource(this.source, {
|
|
931
919
|
type: "geojson",
|
|
932
920
|
data: this.area
|
|
933
921
|
}), this.map.addLayer(
|
|
@@ -979,9 +967,7 @@ const zi = /* @__PURE__ */ V(_i, [["render", ki]]), Li = {
|
|
|
979
967
|
}
|
|
980
968
|
},
|
|
981
969
|
this.beforeLayer
|
|
982
|
-
))
|
|
983
|
-
this.handleRender();
|
|
984
|
-
}, 500);
|
|
970
|
+
));
|
|
985
971
|
},
|
|
986
972
|
handleClear() {
|
|
987
973
|
this.map.getLayer(this.areaLayer) && this.map.removeLayer(this.areaLayer), this.map.getLayer(this.areaLayer + "-border") && this.map.removeLayer(this.areaLayer + "-border"), this.map.getLayer(this.areaLabelLayer) && this.map.removeLayer(this.areaLabelLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
@@ -989,7 +975,7 @@ const zi = /* @__PURE__ */ V(_i, [["render", ki]]), Li = {
|
|
|
989
975
|
}
|
|
990
976
|
};
|
|
991
977
|
function Pi(t, e, o, i, a, r) {
|
|
992
|
-
return
|
|
978
|
+
return b(), M("div");
|
|
993
979
|
}
|
|
994
980
|
const Ci = /* @__PURE__ */ V(Li, [["render", Pi]]), Ti = {
|
|
995
981
|
name: "IdmSpecialArea",
|
|
@@ -1024,7 +1010,7 @@ const Ci = /* @__PURE__ */ V(Li, [["render", Pi]]), Ti = {
|
|
|
1024
1010
|
},
|
|
1025
1011
|
methods: {
|
|
1026
1012
|
handleRender() {
|
|
1027
|
-
this.
|
|
1013
|
+
this.handleClear(), this.area && (this.area.features.forEach((t) => {
|
|
1028
1014
|
t.geometry.type === "Polygon" && t.geometry.coordinates.forEach((e) => K.convertToMonotonicLng2(e));
|
|
1029
1015
|
}), this.map.addSource(this.source, {
|
|
1030
1016
|
type: "geojson",
|
|
@@ -1076,9 +1062,7 @@ const Ci = /* @__PURE__ */ V(Li, [["render", Pi]]), Ti = {
|
|
|
1076
1062
|
}
|
|
1077
1063
|
},
|
|
1078
1064
|
this.beforeLayer
|
|
1079
|
-
))
|
|
1080
|
-
this.handleRender();
|
|
1081
|
-
}, 500);
|
|
1065
|
+
));
|
|
1082
1066
|
},
|
|
1083
1067
|
handleClear() {
|
|
1084
1068
|
this.map.getLayer(this.areaLayer) && this.map.removeLayer(this.areaLayer), this.map.getLayer(this.areaLayer + "-border") && this.map.removeLayer(this.areaLayer + "-border"), this.map.getLayer(this.areaLabelLayer) && this.map.removeLayer(this.areaLabelLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
@@ -1086,7 +1070,7 @@ const Ci = /* @__PURE__ */ V(Li, [["render", Pi]]), Ti = {
|
|
|
1086
1070
|
}
|
|
1087
1071
|
};
|
|
1088
1072
|
function Si(t, e, o, i, a, r) {
|
|
1089
|
-
return
|
|
1073
|
+
return b(), M("div");
|
|
1090
1074
|
}
|
|
1091
1075
|
const Mi = /* @__PURE__ */ V(Ti, [["render", Si]]), Ii = {
|
|
1092
1076
|
name: "IdmTerminator",
|
|
@@ -1118,7 +1102,7 @@ const Mi = /* @__PURE__ */ V(Ti, [["render", Si]]), Ii = {
|
|
|
1118
1102
|
},
|
|
1119
1103
|
methods: {
|
|
1120
1104
|
handleRender() {
|
|
1121
|
-
this.
|
|
1105
|
+
this.handleClear(), this.area && (this.map.addSource(this.source, {
|
|
1122
1106
|
type: "geojson",
|
|
1123
1107
|
data: this.area
|
|
1124
1108
|
}), this.map.addLayer(
|
|
@@ -1133,9 +1117,7 @@ const Mi = /* @__PURE__ */ V(Ti, [["render", Si]]), Ii = {
|
|
|
1133
1117
|
}
|
|
1134
1118
|
},
|
|
1135
1119
|
this.beforeLayer
|
|
1136
|
-
))
|
|
1137
|
-
this.handleRender();
|
|
1138
|
-
}, 500);
|
|
1120
|
+
));
|
|
1139
1121
|
},
|
|
1140
1122
|
handleClear() {
|
|
1141
1123
|
this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
@@ -1143,7 +1125,7 @@ const Mi = /* @__PURE__ */ V(Ti, [["render", Si]]), Ii = {
|
|
|
1143
1125
|
}
|
|
1144
1126
|
};
|
|
1145
1127
|
function Ai(t, e, o, i, a, r) {
|
|
1146
|
-
return
|
|
1128
|
+
return b(), M("div");
|
|
1147
1129
|
}
|
|
1148
1130
|
const Di = /* @__PURE__ */ V(Ii, [["render", Ai]]), Ri = {
|
|
1149
1131
|
name: "IdmWorld12nm",
|
|
@@ -1191,9 +1173,7 @@ const Di = /* @__PURE__ */ V(Ii, [["render", Ai]]), Ri = {
|
|
|
1191
1173
|
methods: {
|
|
1192
1174
|
handleRender() {
|
|
1193
1175
|
var t;
|
|
1194
|
-
|
|
1195
|
-
this.handleRender();
|
|
1196
|
-
}, 500);
|
|
1176
|
+
(t = this.map) != null && t.getLayer(this.layer) && (this.map.setLayoutProperty(this.layer, "visibility", "visible"), this.map.setPaintProperty(this.layer, "line-color", "rgb(210,54,83)"), this.map.setPaintProperty(this.layer, "line-width", 2));
|
|
1197
1177
|
},
|
|
1198
1178
|
handleClear() {
|
|
1199
1179
|
var t;
|
|
@@ -1232,9 +1212,7 @@ const Ei = {
|
|
|
1232
1212
|
methods: {
|
|
1233
1213
|
handleRender() {
|
|
1234
1214
|
var t, e;
|
|
1235
|
-
|
|
1236
|
-
this.handleRender();
|
|
1237
|
-
}, 500);
|
|
1215
|
+
(t = this.map) != null && t.getLayer(this.lineLayer) && (this.map.setLayoutProperty(this.lineLayer, "visibility", "visible"), this.map.setPaintProperty(this.lineLayer, "line-width", 1)), (e = this.map) != null && e.getLayer(this.labelLayer) && this.map.setLayoutProperty(this.labelLayer, "visibility", "visible");
|
|
1238
1216
|
},
|
|
1239
1217
|
handleClear() {
|
|
1240
1218
|
var t, e;
|
|
@@ -1273,9 +1251,7 @@ const Ni = /* @__PURE__ */ V(Ei, [["render", ji]]), Fi = {
|
|
|
1273
1251
|
methods: {
|
|
1274
1252
|
handleRender() {
|
|
1275
1253
|
var t, e, o;
|
|
1276
|
-
|
|
1277
|
-
this.handleRender();
|
|
1278
|
-
}, 500);
|
|
1254
|
+
(t = this.map) != null && t.getLayer(this.lineLayer) && this.map.setLayoutProperty(this.lineLayer, "visibility", "visible"), (e = this.map) != null && e.getLayer(this.fillLayer) && this.map.setLayoutProperty(this.fillLayer, "visibility", "visible"), (o = this.map) != null && o.getLayer(this.labelLayer) && this.map.setLayoutProperty(this.labelLayer, "visibility", "visible");
|
|
1279
1255
|
},
|
|
1280
1256
|
handleClear() {
|
|
1281
1257
|
var t, e, o;
|
|
@@ -1431,9 +1407,7 @@ const Ui = {
|
|
|
1431
1407
|
methods: {
|
|
1432
1408
|
handleRender() {
|
|
1433
1409
|
var t;
|
|
1434
|
-
|
|
1435
|
-
this.handleRender();
|
|
1436
|
-
}, 500);
|
|
1410
|
+
(t = this.map) != null && t.getLayer(this.layer) && (this.map.setLayoutProperty(this.layer, "visibility", "visible"), this.map.setLayoutProperty(this.layer, "text-field", this.locale === "en" ? "{Location_EN}" : "{Location_CN}"));
|
|
1437
1411
|
},
|
|
1438
1412
|
handleClear() {
|
|
1439
1413
|
var t;
|
|
@@ -1609,8 +1583,8 @@ const Ui = {
|
|
|
1609
1583
|
};
|
|
1610
1584
|
function _r(t, e, o, i, a, r) {
|
|
1611
1585
|
const s = w("v-card-text"), c = w("v-card"), n = w("VBtn"), u = w("v-card-title"), h = w("v-divider"), g = w("VBtnToggle");
|
|
1612
|
-
return
|
|
1613
|
-
|
|
1586
|
+
return b(), M("div", null, [
|
|
1587
|
+
Ne(d(c, { id: "idmTidalInfo" }, {
|
|
1614
1588
|
default: p(() => [
|
|
1615
1589
|
d(s, { class: "pr-8 text-body-1" }, {
|
|
1616
1590
|
default: p(() => {
|
|
@@ -1619,7 +1593,7 @@ function _r(t, e, o, i, a, r) {
|
|
|
1619
1593
|
l("div", Gi, [
|
|
1620
1594
|
e[2] || (e[2] = l("div", { class: "d-flex justify-start align-center" }, "Tide Station ", -1)),
|
|
1621
1595
|
l("div", Vi, [
|
|
1622
|
-
l("label", Zi,
|
|
1596
|
+
l("label", Zi, y((f = a.hoverStation) == null ? void 0 : f.name) + " , " + y(((L = a.hoverStation) == null ? void 0 : L.Country) || "-"), 1)
|
|
1623
1597
|
])
|
|
1624
1598
|
])
|
|
1625
1599
|
];
|
|
@@ -1629,9 +1603,9 @@ function _r(t, e, o, i, a, r) {
|
|
|
1629
1603
|
]),
|
|
1630
1604
|
_: 1
|
|
1631
1605
|
}, 512), [
|
|
1632
|
-
[
|
|
1606
|
+
[Fe, a.showInfo]
|
|
1633
1607
|
]),
|
|
1634
|
-
a.showDetail ? (
|
|
1608
|
+
a.showDetail ? (b(), O(c, {
|
|
1635
1609
|
key: 0,
|
|
1636
1610
|
class: "tide-detail-container d-flex flex-column justify-start align-center"
|
|
1637
1611
|
}, {
|
|
@@ -1644,7 +1618,7 @@ function _r(t, e, o, i, a, r) {
|
|
|
1644
1618
|
return [
|
|
1645
1619
|
l("div", Yi, [
|
|
1646
1620
|
l("div", qi, [
|
|
1647
|
-
l("div", null,
|
|
1621
|
+
l("div", null, y((x = a.station) == null ? void 0 : x.name), 1)
|
|
1648
1622
|
]),
|
|
1649
1623
|
d(n, {
|
|
1650
1624
|
icon: "",
|
|
@@ -1673,7 +1647,7 @@ function _r(t, e, o, i, a, r) {
|
|
|
1673
1647
|
l("div", Ki, [
|
|
1674
1648
|
l("div", Qi, [
|
|
1675
1649
|
l("div", Ji, [
|
|
1676
|
-
(
|
|
1650
|
+
(b(), M("svg", $i, [
|
|
1677
1651
|
l("use", {
|
|
1678
1652
|
"xlink:href": `#icon-title-${o.theme}`
|
|
1679
1653
|
}, null, 8, er)
|
|
@@ -1684,23 +1658,23 @@ function _r(t, e, o, i, a, r) {
|
|
|
1684
1658
|
]),
|
|
1685
1659
|
l("div", tr, [
|
|
1686
1660
|
l("div", or, [
|
|
1687
|
-
l("div", ar,
|
|
1688
|
-
l("div", ir,
|
|
1661
|
+
l("div", ar, y(t.$t("tide.region")), 1),
|
|
1662
|
+
l("div", ir, y(((f = a.station) == null ? void 0 : f.Country) ?? ((L = a.station) == null ? void 0 : L.city) ?? "-"), 1)
|
|
1689
1663
|
]),
|
|
1690
1664
|
l("div", rr, [
|
|
1691
|
-
l("div", lr,
|
|
1692
|
-
l("div", sr,
|
|
1665
|
+
l("div", lr, y(t.$t("tide.position")), 1),
|
|
1666
|
+
l("div", sr, y(r.computeLng((_ = a.station) == null ? void 0 : _.lng) ?? "-") + " , " + y(r.computeLat((T = a.station) == null ? void 0 : T.lat) ?? "-"), 1)
|
|
1693
1667
|
]),
|
|
1694
1668
|
l("div", nr, [
|
|
1695
|
-
l("div", cr,
|
|
1696
|
-
l("div", mr,
|
|
1669
|
+
l("div", cr, y(t.$t("time.localTime")), 1),
|
|
1670
|
+
l("div", mr, y(r.computeLocalTime(o.realTime, a.station) ?? "-"), 1)
|
|
1697
1671
|
])
|
|
1698
1672
|
])
|
|
1699
1673
|
]),
|
|
1700
1674
|
l("div", dr, [
|
|
1701
1675
|
l("div", hr, [
|
|
1702
1676
|
l("div", pr, [
|
|
1703
|
-
(
|
|
1677
|
+
(b(), M("svg", ur, [
|
|
1704
1678
|
l("use", {
|
|
1705
1679
|
"xlink:href": `#icon-title-${o.theme}`
|
|
1706
1680
|
}, null, 8, gr)
|
|
@@ -1721,7 +1695,7 @@ function _r(t, e, o, i, a, r) {
|
|
|
1721
1695
|
rounded: "1"
|
|
1722
1696
|
}, {
|
|
1723
1697
|
default: p(() => [
|
|
1724
|
-
(
|
|
1698
|
+
(b(!0), M(be, null, we(r.dateList, (x) => (b(), O(n, {
|
|
1725
1699
|
class: "text-none text-body-1 rounded bg-none flex-1-1-0",
|
|
1726
1700
|
density: "compact",
|
|
1727
1701
|
color: "primary",
|
|
@@ -1729,7 +1703,7 @@ function _r(t, e, o, i, a, r) {
|
|
|
1729
1703
|
value: x.index
|
|
1730
1704
|
}, {
|
|
1731
1705
|
default: p(() => [
|
|
1732
|
-
U(
|
|
1706
|
+
U(y(x.label), 1)
|
|
1733
1707
|
]),
|
|
1734
1708
|
_: 2
|
|
1735
1709
|
}, 1032, ["value"]))), 256))
|
|
@@ -1740,28 +1714,28 @@ function _r(t, e, o, i, a, r) {
|
|
|
1740
1714
|
l("table", br, [
|
|
1741
1715
|
l("tbody", null, [
|
|
1742
1716
|
l("tr", null, [
|
|
1743
|
-
l("th", wr,
|
|
1744
|
-
(
|
|
1717
|
+
l("th", wr, y(t.$t("tide.tide")) + " ( m )", 1),
|
|
1718
|
+
(b(!0), M(be, null, we(a.tideTableData, (x, D) => {
|
|
1745
1719
|
var S;
|
|
1746
|
-
return
|
|
1720
|
+
return b(), M("td", {
|
|
1747
1721
|
key: x.type + "-" + D,
|
|
1748
1722
|
class: "px-1 text-center"
|
|
1749
|
-
},
|
|
1723
|
+
}, y(t.$t(`tide.${(S = x == null ? void 0 : x.type) == null ? void 0 : S.toLowerCase()}`)), 1);
|
|
1750
1724
|
}), 128))
|
|
1751
1725
|
]),
|
|
1752
1726
|
l("tr", null, [
|
|
1753
|
-
l("th", xr,
|
|
1754
|
-
(
|
|
1727
|
+
l("th", xr, y(t.$t("tide.datum")), 1),
|
|
1728
|
+
(b(!0), M(be, null, we(a.tideTableData, (x, D) => (b(), M("td", {
|
|
1755
1729
|
key: x.date + "-" + D,
|
|
1756
1730
|
class: "px-1 text-center"
|
|
1757
|
-
},
|
|
1731
|
+
}, y(r.computeHourLT(x == null ? void 0 : x.date, a.station)) + " LT", 1))), 128))
|
|
1758
1732
|
]),
|
|
1759
1733
|
l("tr", null, [
|
|
1760
|
-
l("th", vr,
|
|
1761
|
-
(
|
|
1734
|
+
l("th", vr, y(t.$t("tide.chartDatum")), 1),
|
|
1735
|
+
(b(!0), M(be, null, we(a.tideTableData, (x, D) => (b(), M("td", {
|
|
1762
1736
|
key: x.height + "-" + D,
|
|
1763
1737
|
class: "px-1 text-center"
|
|
1764
|
-
},
|
|
1738
|
+
}, y((x == null ? void 0 : x.height) ?? "-") + " m", 1))), 128))
|
|
1765
1739
|
])
|
|
1766
1740
|
])
|
|
1767
1741
|
])
|
|
@@ -1771,10 +1745,10 @@ function _r(t, e, o, i, a, r) {
|
|
|
1771
1745
|
];
|
|
1772
1746
|
}),
|
|
1773
1747
|
_: 1
|
|
1774
|
-
})) :
|
|
1748
|
+
})) : B("", !0)
|
|
1775
1749
|
]);
|
|
1776
1750
|
}
|
|
1777
|
-
const kr = /* @__PURE__ */ V(Ui, [["render", _r], ["__scopeId", "data-v-
|
|
1751
|
+
const kr = /* @__PURE__ */ V(Ui, [["render", _r], ["__scopeId", "data-v-85a6c4d6"]]), zr = {
|
|
1778
1752
|
name: "IdmIceAreas",
|
|
1779
1753
|
props: {
|
|
1780
1754
|
map: {
|
|
@@ -1801,9 +1775,7 @@ const kr = /* @__PURE__ */ V(Ui, [["render", _r], ["__scopeId", "data-v-c8a30719
|
|
|
1801
1775
|
methods: {
|
|
1802
1776
|
handleRender() {
|
|
1803
1777
|
var t, e;
|
|
1804
|
-
|
|
1805
|
-
this.handleRender();
|
|
1806
|
-
}, 500);
|
|
1778
|
+
(t = this.map) != null && t.getLayer(this.lineLayer) && this.map.setLayoutProperty(this.lineLayer, "visibility", "visible"), (e = this.map) != null && e.getLayer(this.fillLayer) && this.map.setLayoutProperty(this.fillLayer, "visibility", "visible");
|
|
1807
1779
|
},
|
|
1808
1780
|
handleClear() {
|
|
1809
1781
|
var t, e;
|
|
@@ -1987,13 +1959,13 @@ const Cr = {
|
|
|
1987
1959
|
};
|
|
1988
1960
|
function Tr(t, e, o, i, a, r) {
|
|
1989
1961
|
var s, c, n;
|
|
1990
|
-
return
|
|
1962
|
+
return b(), M("div", {
|
|
1991
1963
|
class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
|
|
1992
1964
|
style: ae({ right: a.right + "px" })
|
|
1993
1965
|
}, [
|
|
1994
|
-
l("div", null,
|
|
1995
|
-
l("div", null,
|
|
1996
|
-
l("div", null,
|
|
1966
|
+
l("div", null, y((s = a.lngLat) == null ? void 0 : s.lat), 1),
|
|
1967
|
+
l("div", null, y((c = a.lngLat) == null ? void 0 : c.lng), 1),
|
|
1968
|
+
l("div", null, y((n = a.lngLat) == null ? void 0 : n.str), 1)
|
|
1997
1969
|
], 4);
|
|
1998
1970
|
}
|
|
1999
1971
|
const Za = /* @__PURE__ */ V(Cr, [["render", Tr]]);
|
|
@@ -2832,7 +2804,7 @@ const Sr = {
|
|
|
2832
2804
|
followList: {
|
|
2833
2805
|
handler() {
|
|
2834
2806
|
var t, e, o;
|
|
2835
|
-
this.followList ? (this.handleClear(), this.handleRender(), (t = this.map) == null || t.on("click", [this.layer], this.handleClick), (e = this.map) == null || e.on("mousemove", [this.layer], this.handleHover), (o = this.map) == null || o.on("mouseleave", [this.layer], this.handleLeave)) : this.handleClear();
|
|
2807
|
+
this.followList && this.show ? (this.handleClear(), this.handleRender(), (t = this.map) == null || t.on("click", [this.layer], this.handleClick), (e = this.map) == null || e.on("mousemove", [this.layer], this.handleHover), (o = this.map) == null || o.on("mouseleave", [this.layer], this.handleLeave)) : this.handleClear();
|
|
2836
2808
|
}
|
|
2837
2809
|
}
|
|
2838
2810
|
},
|
|
@@ -2911,7 +2883,7 @@ const Sr = {
|
|
|
2911
2883
|
}, Mr = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Ir = { class: "d-flex justify-start align-center text-label" }, Ar = { class: "d-flex justify-start align-center text-label" };
|
|
2912
2884
|
function Dr(t, e, o, i, a, r) {
|
|
2913
2885
|
const s = w("v-card-text"), c = w("v-card");
|
|
2914
|
-
return
|
|
2886
|
+
return Ne((b(), O(c, {
|
|
2915
2887
|
id: "idmFollowPortInfo",
|
|
2916
2888
|
ref: "idmFollowPortInfo"
|
|
2917
2889
|
}, {
|
|
@@ -2921,11 +2893,11 @@ function Dr(t, e, o, i, a, r) {
|
|
|
2921
2893
|
l("div", Mr, [
|
|
2922
2894
|
e[1] || (e[1] = l("div", null, "port", -1)),
|
|
2923
2895
|
l("div", Ir, [
|
|
2924
|
-
l("span", null,
|
|
2896
|
+
l("span", null, y(a.port.name ?? "-"), 1)
|
|
2925
2897
|
]),
|
|
2926
2898
|
l("div", Ar, [
|
|
2927
2899
|
e[0] || (e[0] = l("label", { class: "pr-1" }, "LoCode : ", -1)),
|
|
2928
|
-
l("span", null,
|
|
2900
|
+
l("span", null, y(a.port.loCode ?? "-"), 1)
|
|
2929
2901
|
])
|
|
2930
2902
|
])
|
|
2931
2903
|
]),
|
|
@@ -2934,10 +2906,11 @@ function Dr(t, e, o, i, a, r) {
|
|
|
2934
2906
|
]),
|
|
2935
2907
|
_: 1
|
|
2936
2908
|
}, 512)), [
|
|
2937
|
-
[
|
|
2909
|
+
[Fe, a.showInfo]
|
|
2938
2910
|
]);
|
|
2939
2911
|
}
|
|
2940
|
-
const Rr = /* @__PURE__ */ V(Sr, [["render", Dr], ["__scopeId", "data-v-
|
|
2912
|
+
const Rr = /* @__PURE__ */ V(Sr, [["render", Dr], ["__scopeId", "data-v-c015e8f7"]]);
|
|
2913
|
+
const Or = {
|
|
2941
2914
|
name: "IdmFollowPosition",
|
|
2942
2915
|
props: {
|
|
2943
2916
|
map: {
|
|
@@ -3747,7 +3720,9 @@ const Rr = /* @__PURE__ */ V(Sr, [["render", Dr], ["__scopeId", "data-v-98bcf2a1
|
|
|
3747
3720
|
return {
|
|
3748
3721
|
source: "follow-coordinate-source",
|
|
3749
3722
|
layer: "follow-coordinate-layer",
|
|
3750
|
-
|
|
3723
|
+
position: {},
|
|
3724
|
+
showInfo: !1,
|
|
3725
|
+
marker: null
|
|
3751
3726
|
};
|
|
3752
3727
|
},
|
|
3753
3728
|
computed: {
|
|
@@ -3773,7 +3748,7 @@ const Rr = /* @__PURE__ */ V(Sr, [["render", Dr], ["__scopeId", "data-v-98bcf2a1
|
|
|
3773
3748
|
followList: {
|
|
3774
3749
|
handler() {
|
|
3775
3750
|
var t, e, o;
|
|
3776
|
-
this.followList ? (this.handleClear(), this.handleRender(), (t = this.map) == null || t.on("click", [this.layer], this.handleClick), (e = this.map) == null || e.on("mousemove", [this.layer], this.handleHover), (o = this.map) == null || o.on("mouseleave", [this.layer], this.handleLeave)) : this.handleClear();
|
|
3751
|
+
this.followList && this.show ? (this.handleClear(), this.handleRender(), (t = this.map) == null || t.on("click", [this.layer], this.handleClick), (e = this.map) == null || e.on("mousemove", [this.layer], this.handleHover), (o = this.map) == null || o.on("mouseleave", [this.layer], this.handleLeave)) : this.handleClear();
|
|
3777
3752
|
}
|
|
3778
3753
|
}
|
|
3779
3754
|
},
|
|
@@ -3788,7 +3763,7 @@ const Rr = /* @__PURE__ */ V(Sr, [["render", Dr], ["__scopeId", "data-v-98bcf2a1
|
|
|
3788
3763
|
if (i.coordinate) {
|
|
3789
3764
|
const a = i.coordinate, r = {
|
|
3790
3765
|
type: "Feature",
|
|
3791
|
-
properties:
|
|
3766
|
+
properties: { id: i.id, remark: i.remark, ...i.coordinate },
|
|
3792
3767
|
geometry: {
|
|
3793
3768
|
type: "Point",
|
|
3794
3769
|
coordinates: [
|
|
@@ -3838,19 +3813,52 @@ const Rr = /* @__PURE__ */ V(Sr, [["render", Dr], ["__scopeId", "data-v-98bcf2a1
|
|
|
3838
3813
|
L >= 0 ? (s = (r = (a = (i = this.$parent) == null ? void 0 : i.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmSpot) == null || s.fetchMeteoData(_) : (h = (u = (n = (c = this.$parent) == null ? void 0 : c.$parent) == null ? void 0 : n.$refs) == null ? void 0 : u.idmSpot) == null || h.fetchHistoryData(_);
|
|
3839
3814
|
}
|
|
3840
3815
|
},
|
|
3841
|
-
handleHover() {
|
|
3816
|
+
handleHover(t) {
|
|
3842
3817
|
this.map.getCanvas().style.cursor = "pointer";
|
|
3818
|
+
const e = t.features[0];
|
|
3819
|
+
if (e.properties.id) {
|
|
3820
|
+
this.showInfo = !0, this.position = e.properties, console.log("positionId", this.position);
|
|
3821
|
+
const o = document.getElementById("idmFollowPositionInfo");
|
|
3822
|
+
this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new xe.Marker(o).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -70]).addTo(this.map);
|
|
3823
|
+
}
|
|
3843
3824
|
},
|
|
3844
3825
|
handleLeave() {
|
|
3845
|
-
this.map.getCanvas().style.cursor = "grab";
|
|
3826
|
+
this.map.getCanvas().style.cursor = "grab", this.showInfo = !1;
|
|
3846
3827
|
}
|
|
3847
3828
|
}
|
|
3829
|
+
}, Br = { class: "position-box d-flex flex-column justify-center align-start ga-1" }, Er = { class: "d-flex justify-start align-center text-label" }, jr = {
|
|
3830
|
+
key: 0,
|
|
3831
|
+
class: "d-flex justify-start align-center text-label"
|
|
3848
3832
|
};
|
|
3849
|
-
function
|
|
3850
|
-
|
|
3833
|
+
function Nr(t, e, o, i, a, r) {
|
|
3834
|
+
const s = w("v-card-text"), c = w("v-card");
|
|
3835
|
+
return Ne((b(), O(c, {
|
|
3836
|
+
id: "idmFollowPositionInfo",
|
|
3837
|
+
ref: "idmFollowPositionInfo"
|
|
3838
|
+
}, {
|
|
3839
|
+
default: p(() => [
|
|
3840
|
+
d(s, { class: "text-body-1 pr-8" }, {
|
|
3841
|
+
default: p(() => [
|
|
3842
|
+
l("div", Br, [
|
|
3843
|
+
e[0] || (e[0] = l("div", null, "Location", -1)),
|
|
3844
|
+
l("div", Er, [
|
|
3845
|
+
l("span", null, y(r.computeLng(a.position.lng) ?? "-") + " , " + y(r.computeLat(a.position.lat) ?? "-"), 1)
|
|
3846
|
+
]),
|
|
3847
|
+
a.position.remark ? (b(), M("div", jr, [
|
|
3848
|
+
l("span", null, y(a.position.remark ?? "-"), 1)
|
|
3849
|
+
])) : B("", !0)
|
|
3850
|
+
])
|
|
3851
|
+
]),
|
|
3852
|
+
_: 1
|
|
3853
|
+
})
|
|
3854
|
+
]),
|
|
3855
|
+
_: 1
|
|
3856
|
+
}, 512)), [
|
|
3857
|
+
[Fe, a.showInfo]
|
|
3858
|
+
]);
|
|
3851
3859
|
}
|
|
3852
|
-
const
|
|
3853
|
-
const
|
|
3860
|
+
const Fr = /* @__PURE__ */ V(Or, [["render", Nr], ["__scopeId", "data-v-e7fba3a0"]]);
|
|
3861
|
+
const Hr = {
|
|
3854
3862
|
name: "IdmOtherLayerr",
|
|
3855
3863
|
components: {
|
|
3856
3864
|
IdmWarZone: oi,
|
|
@@ -3870,7 +3878,7 @@ const jr = {
|
|
|
3870
3878
|
IdmIceAreas: Pr,
|
|
3871
3879
|
IdmLatLng: Za,
|
|
3872
3880
|
IdmFollowPort: Rr,
|
|
3873
|
-
IdmFollowPosition:
|
|
3881
|
+
IdmFollowPosition: Fr
|
|
3874
3882
|
},
|
|
3875
3883
|
props: {
|
|
3876
3884
|
map: {
|
|
@@ -4049,27 +4057,27 @@ const jr = {
|
|
|
4049
4057
|
this.layerWeight = e, this.fetchOtherLayers();
|
|
4050
4058
|
}
|
|
4051
4059
|
}
|
|
4052
|
-
},
|
|
4060
|
+
}, Wr = { class: "idm-gl4-other-layer" }, Ur = { class: "header-box d-flex justify-space-between align-center px-4" }, Gr = { class: "text-h5 font-weight-medium" }, Vr = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, Zr = { class: "layers-body mt-4 d-flex justify-start align-center flex-wrap" }, Yr = ["onClick"], qr = {
|
|
4053
4061
|
key: 0,
|
|
4054
4062
|
src: "https://osshz.idmwx.com/asset/dark-map.png",
|
|
4055
4063
|
class: "border rounded-sm"
|
|
4056
|
-
},
|
|
4064
|
+
}, Xr = {
|
|
4057
4065
|
key: 1,
|
|
4058
4066
|
src: "https://osshz.idmwx.com/asset/nautical-map.png",
|
|
4059
4067
|
class: "border rounded-sm"
|
|
4060
|
-
},
|
|
4068
|
+
}, Kr = {
|
|
4061
4069
|
key: 2,
|
|
4062
4070
|
src: "https://osshz.idmwx.com/asset/satellite-map.png",
|
|
4063
4071
|
class: "border rounded-sm"
|
|
4064
|
-
},
|
|
4072
|
+
}, Qr = {
|
|
4065
4073
|
key: 3,
|
|
4066
4074
|
src: "https://osshz.idmwx.com/asset/light-map.png",
|
|
4067
4075
|
class: "border rounded-sm"
|
|
4068
|
-
},
|
|
4069
|
-
function
|
|
4076
|
+
}, Jr = { class: "text-body-2 text-center pt-1" };
|
|
4077
|
+
function $r(t, e, o, i, a, r) {
|
|
4070
4078
|
var J, le, pe, ue, ce, Q, ie, ge, me;
|
|
4071
4079
|
const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), h = w("VCheckbox"), g = w("VCardText"), f = w("VCard"), L = w("IdmLatLng"), _ = w("IdmTerminator"), T = w("IdmTimezone"), x = w("IdmPort"), D = w("IdmAlertZone"), S = w("IdmTideStations"), P = w("IdmEcaZone"), k = w("IdmWarZone"), z = w("IdmGmdssArea"), C = w("IdmLoadLine"), v = w("IdmWorldMarine"), A = w("IdmVRA"), Z = w("IdmSpecialArea"), q = w("IdmWorld12nm"), X = w("IdmChinaRoute"), Y = w("IdmIceAreas"), te = w("IdmFollowPort"), oe = w("IdmFollowPosition");
|
|
4072
|
-
return
|
|
4080
|
+
return b(), M("div", Wr, [
|
|
4073
4081
|
l("div", {
|
|
4074
4082
|
class: "menu-bar-box transition px-1 rounded",
|
|
4075
4083
|
style: ae({ top: o.top + 10 + "px", right: a.right + "px" })
|
|
@@ -4100,8 +4108,8 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4100
4108
|
class: Ue(["available-layers transition", a.toggle ? "right-bar" : ""]),
|
|
4101
4109
|
style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
|
|
4102
4110
|
}, [
|
|
4103
|
-
l("div",
|
|
4104
|
-
l("div",
|
|
4111
|
+
l("div", Ur, [
|
|
4112
|
+
l("div", Gr, y(t.$t("layer.layers")), 1),
|
|
4105
4113
|
d(s, {
|
|
4106
4114
|
icon: "",
|
|
4107
4115
|
density: "compact",
|
|
@@ -4116,7 +4124,7 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4116
4124
|
__: [6]
|
|
4117
4125
|
}, 8, ["onClick"])
|
|
4118
4126
|
]),
|
|
4119
|
-
l("div",
|
|
4127
|
+
l("div", Vr, [
|
|
4120
4128
|
d(f, {
|
|
4121
4129
|
class: "menu-card mx-auto mb-3",
|
|
4122
4130
|
elevation: "0"
|
|
@@ -4129,7 +4137,7 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4129
4137
|
style: { "font-size": "16px !important" }
|
|
4130
4138
|
}, {
|
|
4131
4139
|
default: p(() => [
|
|
4132
|
-
U(
|
|
4140
|
+
U(y(t.$t("layer.mapFeathers")), 1)
|
|
4133
4141
|
]),
|
|
4134
4142
|
_: 1
|
|
4135
4143
|
})
|
|
@@ -4138,8 +4146,8 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4138
4146
|
}),
|
|
4139
4147
|
d(g, { class: "pb-2" }, {
|
|
4140
4148
|
default: p(() => [
|
|
4141
|
-
l("div",
|
|
4142
|
-
(
|
|
4149
|
+
l("div", Zr, [
|
|
4150
|
+
(b(!0), M(be, null, we(a.mapFeathers, (F) => (b(), M("div", {
|
|
4143
4151
|
key: F.value,
|
|
4144
4152
|
class: "mb-2 feather-item",
|
|
4145
4153
|
onClick: (de) => r.handleToggleMapFeather(F)
|
|
@@ -4147,12 +4155,12 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4147
4155
|
l("div", {
|
|
4148
4156
|
class: Ue([a.mapFeather === F.value ? "active" : "", "img-box"])
|
|
4149
4157
|
}, [
|
|
4150
|
-
F.value === "dark" ? (
|
|
4158
|
+
F.value === "dark" ? (b(), M("img", qr)) : F.value === "nautical" ? (b(), M("img", Xr)) : F.value === "satellite" ? (b(), M("img", Kr)) : (b(), M("img", Qr))
|
|
4151
4159
|
], 2),
|
|
4152
|
-
l("div",
|
|
4153
|
-
], 8,
|
|
4160
|
+
l("div", Jr, y(t.$t(`layer.${F.locale}`)), 1)
|
|
4161
|
+
], 8, Yr))), 128))
|
|
4154
4162
|
]),
|
|
4155
|
-
(
|
|
4163
|
+
(b(!0), M(be, null, we(a.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (b(), O(h, {
|
|
4156
4164
|
key: F.key,
|
|
4157
4165
|
modelValue: a.checkList,
|
|
4158
4166
|
"onUpdate:modelValue": e[0] || (e[0] = (de) => a.checkList = de),
|
|
@@ -4182,7 +4190,7 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4182
4190
|
style: { "font-size": "16px !important" }
|
|
4183
4191
|
}, {
|
|
4184
4192
|
default: p(() => [
|
|
4185
|
-
U(
|
|
4193
|
+
U(y(t.$t("layer.pointsOfInteresting")), 1)
|
|
4186
4194
|
]),
|
|
4187
4195
|
_: 1
|
|
4188
4196
|
})
|
|
@@ -4191,7 +4199,7 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4191
4199
|
}),
|
|
4192
4200
|
d(g, { class: "py-2" }, {
|
|
4193
4201
|
default: p(() => [
|
|
4194
|
-
(
|
|
4202
|
+
(b(!0), M(be, null, we(a.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), O(h, {
|
|
4195
4203
|
key: F.key,
|
|
4196
4204
|
modelValue: a.checkList,
|
|
4197
4205
|
"onUpdate:modelValue": e[1] || (e[1] = (de) => a.checkList = de),
|
|
@@ -4221,7 +4229,7 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4221
4229
|
style: { "font-size": "16px !important" }
|
|
4222
4230
|
}, {
|
|
4223
4231
|
default: p(() => [
|
|
4224
|
-
U(
|
|
4232
|
+
U(y(t.$t("layer.otherLayers")), 1)
|
|
4225
4233
|
]),
|
|
4226
4234
|
_: 1
|
|
4227
4235
|
})
|
|
@@ -4230,7 +4238,7 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4230
4238
|
}),
|
|
4231
4239
|
d(g, { class: "py-2" }, {
|
|
4232
4240
|
default: p(() => [
|
|
4233
|
-
(
|
|
4241
|
+
(b(!0), M(be, null, we(a.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (b(), O(h, {
|
|
4234
4242
|
key: F.key,
|
|
4235
4243
|
modelValue: a.checkList,
|
|
4236
4244
|
"onUpdate:modelValue": e[2] || (e[2] = (de) => a.checkList = de),
|
|
@@ -4260,7 +4268,7 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4260
4268
|
style: { "font-size": "16px !important" }
|
|
4261
4269
|
}, {
|
|
4262
4270
|
default: p(() => [
|
|
4263
|
-
U(
|
|
4271
|
+
U(y(t.$t("layer.myFollows")), 1)
|
|
4264
4272
|
]),
|
|
4265
4273
|
_: 1
|
|
4266
4274
|
})
|
|
@@ -4299,37 +4307,37 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4299
4307
|
})
|
|
4300
4308
|
])
|
|
4301
4309
|
], 6),
|
|
4302
|
-
o.map ? (
|
|
4310
|
+
o.map ? (b(), O(L, j({
|
|
4303
4311
|
key: 0,
|
|
4304
4312
|
map: o.map,
|
|
4305
4313
|
"menu-toggle": o.menuToggle,
|
|
4306
4314
|
show: a.checkList.includes("graticule")
|
|
4307
|
-
}, t.$attrs), null, 16, ["map", "menu-toggle", "show"])) :
|
|
4308
|
-
o.map ? (
|
|
4315
|
+
}, t.$attrs), null, 16, ["map", "menu-toggle", "show"])) : B("", !0),
|
|
4316
|
+
o.map ? (b(), O(_, j({
|
|
4309
4317
|
key: 1,
|
|
4310
4318
|
map: o.map,
|
|
4311
4319
|
area: (J = a.otherLayers) == null ? void 0 : J["day-night"]
|
|
4312
|
-
}, t.$attrs), null, 16, ["map", "area"])) :
|
|
4313
|
-
o.map ? (
|
|
4320
|
+
}, t.$attrs), null, 16, ["map", "area"])) : B("", !0),
|
|
4321
|
+
o.map ? (b(), O(T, j({
|
|
4314
4322
|
key: 2,
|
|
4315
4323
|
map: o.map,
|
|
4316
4324
|
zone: (le = a.otherLayers) == null ? void 0 : le["time-zones"]
|
|
4317
|
-
}, t.$attrs), null, 16, ["map", "zone"])) :
|
|
4318
|
-
o.map ? (
|
|
4325
|
+
}, t.$attrs), null, 16, ["map", "zone"])) : B("", !0),
|
|
4326
|
+
o.map ? (b(), O(x, j({
|
|
4319
4327
|
key: 3,
|
|
4320
4328
|
map: o.map,
|
|
4321
4329
|
ports: (pe = a.otherLayers) == null ? void 0 : pe.ports,
|
|
4322
4330
|
"forecast-model": o.forecastModel
|
|
4323
|
-
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "ports", "forecast-model"])) :
|
|
4324
|
-
o.map ? (
|
|
4331
|
+
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "ports", "forecast-model"])) : B("", !0),
|
|
4332
|
+
o.map ? (b(), O(D, j({
|
|
4325
4333
|
key: 4,
|
|
4326
4334
|
map: o.map,
|
|
4327
4335
|
zone: (ue = a.otherLayers) == null ? void 0 : ue["alert-zones"]
|
|
4328
4336
|
}, t.$attrs, {
|
|
4329
4337
|
"before-layer": "empty-layer-3",
|
|
4330
4338
|
theme: o.theme
|
|
4331
|
-
}), null, 16, ["map", "zone", "theme"])) :
|
|
4332
|
-
o.map ? (
|
|
4339
|
+
}), null, 16, ["map", "zone", "theme"])) : B("", !0),
|
|
4340
|
+
o.map ? (b(), O(S, j({
|
|
4333
4341
|
key: 5,
|
|
4334
4342
|
ref: "idmIideStation",
|
|
4335
4343
|
map: o.map,
|
|
@@ -4339,76 +4347,76 @@ function Kr(t, e, o, i, a, r) {
|
|
|
4339
4347
|
theme: o.theme,
|
|
4340
4348
|
realTime: o.realTime,
|
|
4341
4349
|
forecastModel: o.forecastModel
|
|
4342
|
-
}, t.$attrs), null, 16, ["map", "gateway", "token", "show", "theme", "realTime", "forecastModel"])) :
|
|
4343
|
-
o.map ? (
|
|
4350
|
+
}, t.$attrs), null, 16, ["map", "gateway", "token", "show", "theme", "realTime", "forecastModel"])) : B("", !0),
|
|
4351
|
+
o.map ? (b(), O(P, j({
|
|
4344
4352
|
key: 6,
|
|
4345
4353
|
map: o.map,
|
|
4346
4354
|
zone: (ce = a.otherLayers) == null ? void 0 : ce["eca-zones"]
|
|
4347
|
-
}, t.$attrs), null, 16, ["map", "zone"])) :
|
|
4348
|
-
o.map ? (
|
|
4355
|
+
}, t.$attrs), null, 16, ["map", "zone"])) : B("", !0),
|
|
4356
|
+
o.map ? (b(), O(k, j({
|
|
4349
4357
|
key: 7,
|
|
4350
4358
|
map: o.map,
|
|
4351
4359
|
zone: (Q = a.otherLayers) == null ? void 0 : Q["war-zones"]
|
|
4352
|
-
}, t.$attrs), null, 16, ["map", "zone"])) :
|
|
4353
|
-
o.map ? (
|
|
4360
|
+
}, t.$attrs), null, 16, ["map", "zone"])) : B("", !0),
|
|
4361
|
+
o.map ? (b(), O(z, j({
|
|
4354
4362
|
key: 8,
|
|
4355
4363
|
map: o.map,
|
|
4356
4364
|
area: (ie = a.otherLayers) == null ? void 0 : ie["gmdss-areas"]
|
|
4357
|
-
}, t.$attrs), null, 16, ["map", "area"])) :
|
|
4358
|
-
o.map ? (
|
|
4365
|
+
}, t.$attrs), null, 16, ["map", "area"])) : B("", !0),
|
|
4366
|
+
o.map ? (b(), O(C, j({
|
|
4359
4367
|
key: 9,
|
|
4360
4368
|
map: o.map,
|
|
4361
4369
|
show: a.checkList.includes("load-lines")
|
|
4362
|
-
}, t.$attrs), null, 16, ["map", "show"])) :
|
|
4363
|
-
o.map ? (
|
|
4370
|
+
}, t.$attrs), null, 16, ["map", "show"])) : B("", !0),
|
|
4371
|
+
o.map ? (b(), O(v, j({
|
|
4364
4372
|
key: 10,
|
|
4365
4373
|
map: o.map,
|
|
4366
4374
|
token: o.token,
|
|
4367
4375
|
show: a.checkList.includes("worldMarine")
|
|
4368
|
-
}, t.$attrs), null, 16, ["map", "token", "show"])) :
|
|
4369
|
-
o.map ? (
|
|
4376
|
+
}, t.$attrs), null, 16, ["map", "token", "show"])) : B("", !0),
|
|
4377
|
+
o.map ? (b(), O(A, j({
|
|
4370
4378
|
key: 11,
|
|
4371
4379
|
map: o.map,
|
|
4372
4380
|
area: (ge = a.otherLayers) == null ? void 0 : ge["voluntary-reporting-area"]
|
|
4373
|
-
}, t.$attrs), null, 16, ["map", "area"])) :
|
|
4374
|
-
o.map ? (
|
|
4381
|
+
}, t.$attrs), null, 16, ["map", "area"])) : B("", !0),
|
|
4382
|
+
o.map ? (b(), O(Z, j({
|
|
4375
4383
|
key: 12,
|
|
4376
4384
|
map: o.map,
|
|
4377
4385
|
area: (me = a.otherLayers) == null ? void 0 : me["special-area"]
|
|
4378
|
-
}, t.$attrs), null, 16, ["map", "area"])) :
|
|
4379
|
-
o.map ? (
|
|
4386
|
+
}, t.$attrs), null, 16, ["map", "area"])) : B("", !0),
|
|
4387
|
+
o.map ? (b(), O(q, j({
|
|
4380
4388
|
key: 13,
|
|
4381
4389
|
map: o.map,
|
|
4382
4390
|
token: o.token,
|
|
4383
4391
|
show: a.checkList.includes("world12nm")
|
|
4384
|
-
}, t.$attrs), null, 16, ["map", "token", "show"])) :
|
|
4385
|
-
o.map ? (
|
|
4392
|
+
}, t.$attrs), null, 16, ["map", "token", "show"])) : B("", !0),
|
|
4393
|
+
o.map ? (b(), O(X, j({
|
|
4386
4394
|
key: 14,
|
|
4387
4395
|
map: o.map,
|
|
4388
4396
|
token: o.token,
|
|
4389
4397
|
show: a.checkList.includes("chinaRoute")
|
|
4390
|
-
}, t.$attrs), null, 16, ["map", "token", "show"])) :
|
|
4391
|
-
o.map ? (
|
|
4398
|
+
}, t.$attrs), null, 16, ["map", "token", "show"])) : B("", !0),
|
|
4399
|
+
o.map ? (b(), O(Y, j({
|
|
4392
4400
|
key: 15,
|
|
4393
4401
|
map: o.map,
|
|
4394
4402
|
show: a.checkList.includes("ice-areas")
|
|
4395
|
-
}, t.$attrs), null, 16, ["map", "show"])) :
|
|
4396
|
-
o.map ? (
|
|
4403
|
+
}, t.$attrs), null, 16, ["map", "show"])) : B("", !0),
|
|
4404
|
+
o.map ? (b(), O(te, j({
|
|
4397
4405
|
key: 16,
|
|
4398
4406
|
map: o.map,
|
|
4399
4407
|
show: a.checkList.includes("follow-ports"),
|
|
4400
4408
|
"forecast-model": o.forecastModel
|
|
4401
|
-
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "show", "forecast-model"])) :
|
|
4402
|
-
o.map ? (
|
|
4409
|
+
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "show", "forecast-model"])) : B("", !0),
|
|
4410
|
+
o.map ? (b(), O(oe, j({
|
|
4403
4411
|
key: 17,
|
|
4404
4412
|
map: o.map,
|
|
4405
4413
|
show: a.checkList.includes("follow-positions"),
|
|
4406
4414
|
"forecast-model": o.forecastModel,
|
|
4407
4415
|
realTime: o.realTime
|
|
4408
|
-
}, t.$attrs), null, 16, ["map", "show", "forecast-model", "realTime"])) :
|
|
4416
|
+
}, t.$attrs), null, 16, ["map", "show", "forecast-model", "realTime"])) : B("", !0)
|
|
4409
4417
|
]);
|
|
4410
4418
|
}
|
|
4411
|
-
const
|
|
4419
|
+
const el = /* @__PURE__ */ V(Hr, [["render", $r]]);
|
|
4412
4420
|
class ro {
|
|
4413
4421
|
constructor(e) {
|
|
4414
4422
|
se(this, "map");
|
|
@@ -4499,7 +4507,7 @@ class ro {
|
|
|
4499
4507
|
o !== i && this.map.setLayoutProperty(this.particleLayer, "visibility", i);
|
|
4500
4508
|
}
|
|
4501
4509
|
}
|
|
4502
|
-
class
|
|
4510
|
+
class He {
|
|
4503
4511
|
/**
|
|
4504
4512
|
* 创建着色器
|
|
4505
4513
|
* @see https://webglfundamentals.org/webgl/lessons/zh_cn/webgl-shaders-and-glsl.html
|
|
@@ -4892,7 +4900,7 @@ se(_e, "vertexSchema", `
|
|
|
4892
4900
|
fract(pos * 255.0),
|
|
4893
4901
|
floor(pos * 255.0) / 255.0);
|
|
4894
4902
|
}`);
|
|
4895
|
-
const
|
|
4903
|
+
const tl = {
|
|
4896
4904
|
"000kts": '<svg t="1756203850656" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4213" width="200" height="200"><path d="M729.6 512a217.6 217.6 0 1 0-217.6 217.6v59.733333a277.333333 277.333333 0 1 1 0-554.666666 277.333333 277.333333 0 0 1 0 554.666666v-59.733333a217.6 217.6 0 0 0 217.6-217.6z" fill="#ffffff" p-id="4214"></path><path d="M558.933333 512a46.933333 46.933333 0 1 0-46.933333 46.933333v59.733334a106.666667 106.666667 0 1 1 0-213.333334 106.666667 106.666667 0 0 1 0 213.333334v-59.733334a46.933333 46.933333 0 0 0 46.933333-46.933333z" fill="#ffffff" p-id="4215"></path></svg>',
|
|
4897
4905
|
"002kts": '<svg t="1756203870666" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4371" width="200" height="200"><path d="M511.975255 4.26646a29.865223 29.865223 0 0 1 29.865223 29.865224v897.791273l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684a29.865223 29.865223 0 0 1 29.865224-29.865224z" fill="#ffffff" p-id="4372"></path></svg>',
|
|
4898
4906
|
"005kts": '<svg t="1756203883896" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4528" width="200" height="200"><path d="M511.825979 4.265216a29.856515 29.856515 0 0 1 29.856516 29.856516v102.706413l145.443882-97.673458a29.856515 29.856515 0 0 1 33.268689 49.604468l-174.873877 117.378758c-1.194261 0.853043-2.55913 1.364869-3.838694 2.004652v723.508674l58.1349-46.49086a29.899168 29.899168 0 0 1 37.277993 46.70412l-106.630413 85.30433a29.856515 29.856515 0 0 1-37.277992 0l-106.630412-85.30433a29.856515 29.856515 0 0 1 37.277992-46.661468l58.134901 46.448208V34.121732a29.856515 29.856515 0 0 1 29.856515-29.856516z" fill="#ffffff" p-id="4529"></path></svg>',
|
|
@@ -4916,7 +4924,7 @@ const Jr = {
|
|
|
4916
4924
|
"095kts": '<svg t="1756204086889" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7354" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v45.222974l146.334716-91.043232a29.864228 29.864228 0 0 1 31.570755 50.683861L541.822418 281.150373V330.213033l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 400.564621v49.105323l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.710959v49.062659l146.334716-91.000568a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.668295v42.577857l73.764642-46.076238a29.864228 29.864228 0 0 1 31.656082 50.683861l-105.378061 65.871954v179.398682l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#ffffff" p-id="7355"></path></svg>',
|
|
4917
4925
|
"100kts": '<svg t="1756204093086" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7511" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.573089 106.746841c-0.981286 0.597304-2.047901 0.981286-3.071851 1.450597v617.058175l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7512"></path></svg>',
|
|
4918
4926
|
"105kts": '<svg t="1756204103259" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7668" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.658418 106.746841c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v79.356164l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v467.348078l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7669"></path></svg>'
|
|
4919
|
-
},
|
|
4927
|
+
}, ol = {
|
|
4920
4928
|
name: "IdmWindBarb",
|
|
4921
4929
|
props: {
|
|
4922
4930
|
map: {
|
|
@@ -4952,7 +4960,7 @@ const Jr = {
|
|
|
4952
4960
|
right: 10,
|
|
4953
4961
|
bottom: 125,
|
|
4954
4962
|
windBarbLoaded: !1,
|
|
4955
|
-
svgs:
|
|
4963
|
+
svgs: tl
|
|
4956
4964
|
};
|
|
4957
4965
|
},
|
|
4958
4966
|
computed: {
|
|
@@ -5050,11 +5058,11 @@ const Jr = {
|
|
|
5050
5058
|
}
|
|
5051
5059
|
}
|
|
5052
5060
|
};
|
|
5053
|
-
function
|
|
5061
|
+
function al(t, e, o, i, a, r) {
|
|
5054
5062
|
return null;
|
|
5055
5063
|
}
|
|
5056
|
-
const
|
|
5057
|
-
const
|
|
5064
|
+
const il = /* @__PURE__ */ V(ol, [["render", al]]);
|
|
5065
|
+
const rl = {
|
|
5058
5066
|
name: "IdmWindParticle",
|
|
5059
5067
|
props: {
|
|
5060
5068
|
factor: {
|
|
@@ -5074,7 +5082,7 @@ const ol = {
|
|
|
5074
5082
|
texture: void 0,
|
|
5075
5083
|
rampColor: void 0,
|
|
5076
5084
|
aPositionBuffer: void 0,
|
|
5077
|
-
webgl: new
|
|
5085
|
+
webgl: new He(),
|
|
5078
5086
|
etime: void 0,
|
|
5079
5087
|
wrapper: void 0,
|
|
5080
5088
|
animation: void 0,
|
|
@@ -5121,11 +5129,7 @@ const ol = {
|
|
|
5121
5129
|
},
|
|
5122
5130
|
methods: {
|
|
5123
5131
|
async handleRender() {
|
|
5124
|
-
if (
|
|
5125
|
-
setTimeout(() => {
|
|
5126
|
-
this.handleRender();
|
|
5127
|
-
}, 500);
|
|
5128
|
-
else if (this.factor) {
|
|
5132
|
+
if (this.factor) {
|
|
5129
5133
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
5130
5134
|
let e = 0, o = 0;
|
|
5131
5135
|
await this.handleDraw(), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[wind-particle] add elapsed: ", o, ", total: ", e += o);
|
|
@@ -5220,10 +5224,10 @@ const ol = {
|
|
|
5220
5224
|
(t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
|
|
5221
5225
|
}
|
|
5222
5226
|
}
|
|
5223
|
-
},
|
|
5224
|
-
function
|
|
5227
|
+
}, ll = { key: 0 };
|
|
5228
|
+
function sl(t, e, o, i, a, r) {
|
|
5225
5229
|
var s;
|
|
5226
|
-
return (s = o.factor) != null && s.active ? (
|
|
5230
|
+
return (s = o.factor) != null && s.active ? (b(), M("div", ll, [
|
|
5227
5231
|
l("div", {
|
|
5228
5232
|
class: "legend-bars-gl4 wind",
|
|
5229
5233
|
style: ae({ right: a.right + "px" })
|
|
@@ -5237,9 +5241,9 @@ function il(t, e, o, i, a, r) {
|
|
|
5237
5241
|
l("span", null, "40", -1),
|
|
5238
5242
|
l("span", null, "60", -1)
|
|
5239
5243
|
]), 4)
|
|
5240
|
-
])) :
|
|
5244
|
+
])) : B("", !0);
|
|
5241
5245
|
}
|
|
5242
|
-
const
|
|
5246
|
+
const nl = /* @__PURE__ */ V(rl, [["render", sl]]), cl = {
|
|
5243
5247
|
name: "IdmCurrent",
|
|
5244
5248
|
props: {
|
|
5245
5249
|
map: {
|
|
@@ -5303,14 +5307,11 @@ const rl = /* @__PURE__ */ V(ol, [["render", il]]), ll = {
|
|
|
5303
5307
|
},
|
|
5304
5308
|
handleRender() {
|
|
5305
5309
|
var t, e;
|
|
5306
|
-
if (
|
|
5307
|
-
setTimeout(() => {
|
|
5308
|
-
this.handleRender();
|
|
5309
|
-
}, 500);
|
|
5310
|
-
else if (this.current) {
|
|
5310
|
+
if (this.map && this.current) {
|
|
5311
5311
|
const o = (/* @__PURE__ */ new Date()).valueOf();
|
|
5312
|
-
let i = 0, a = 0
|
|
5313
|
-
|
|
5312
|
+
let i = 0, a = 0;
|
|
5313
|
+
const r = this.current.active ? this.current.data : this.empty;
|
|
5314
|
+
if ((t = this.map) != null && t.getSource(this.source))
|
|
5314
5315
|
(e = this.map) == null || e.getSource(this.source).setData(r), a = (/* @__PURE__ */ new Date()).valueOf() - (o + i), console.log("[current] update elapsed: ", a, ", total: ", i += a);
|
|
5315
5316
|
else {
|
|
5316
5317
|
this.map.addSource(this.source, { type: "geojson", data: r }), this.map.addLayer(
|
|
@@ -5347,19 +5348,18 @@ const rl = /* @__PURE__ */ V(ol, [["render", il]]), ll = {
|
|
|
5347
5348
|
},
|
|
5348
5349
|
this.beforeLayer
|
|
5349
5350
|
);
|
|
5350
|
-
const s = new Image(48, 48);
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
const u = new Image(48, 48);
|
|
5354
|
-
c = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5351
|
+
const s = new Image(48, 48), c = '<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="12518" width="200" height="200"><path d="M481.386772 959.514313 481.386772 334.713224c-56.000432 37.288255-92.523253 55.876612-142.312216 57.787124 85.834924-84.884272 130.528845-195.161888 172.552961-328.434218 40.259936 133.272329 89.39296 238.731196 172.622546 328.434218-54.105269-5.729491-86.780459-21.201881-146.338926-58.965973l0 625.979938L481.386772 959.514313z" p-id="12519" fill="#ffffff"></path></svg>';
|
|
5352
|
+
s.src = "data:image/svg+xml;base64," + window.btoa(c);
|
|
5353
|
+
const n = new Image(48, 48), u = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5355
5354
|
<path d="M10 2.5V17.5" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5356
5355
|
<path d="M5 7.5L10 2.5L15 7.5" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5357
|
-
</svg
|
|
5358
|
-
|
|
5356
|
+
</svg>`;
|
|
5357
|
+
n.src = "data:image/svg+xml;base64," + window.btoa(u);
|
|
5358
|
+
const h = [n];
|
|
5359
5359
|
let g = 0;
|
|
5360
5360
|
h.forEach((f) => {
|
|
5361
5361
|
f.onload = () => {
|
|
5362
|
-
g++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon",
|
|
5362
|
+
g++, this.map.hasImage("currentDirIcon") || this.map.addImage("currentDirIcon", n), g === 1 && this.map.addLayer(
|
|
5363
5363
|
{
|
|
5364
5364
|
id: this.directionLayer,
|
|
5365
5365
|
type: "symbol",
|
|
@@ -5369,7 +5369,8 @@ const rl = /* @__PURE__ */ V(ol, [["render", il]]), ll = {
|
|
|
5369
5369
|
"symbol-placement": "point",
|
|
5370
5370
|
"icon-image": "currentDirIcon",
|
|
5371
5371
|
// 'icon-size': ['interpolate', ['linear'], ['get', 'spd'], 0.5, 0.3, 2.5, 1],
|
|
5372
|
-
|
|
5372
|
+
// 'icon-size': ['step', ['get', 'spd'], 0.3, 0.5, 0.4, 1, 0.6, 1.5, 0.8, 2, 1],
|
|
5373
|
+
"icon-size": ["interpolate", ["linear"], ["get", "spd"], 0.5, 0.3, 1, 0.5, 1.5, 0.7, 2, 0.8, 3.5, 1],
|
|
5373
5374
|
"icon-offset": [0, -20],
|
|
5374
5375
|
"icon-allow-overlap": !0,
|
|
5375
5376
|
"icon-rotation-alignment": "map",
|
|
@@ -5397,11 +5398,11 @@ const rl = /* @__PURE__ */ V(ol, [["render", il]]), ll = {
|
|
|
5397
5398
|
}
|
|
5398
5399
|
}
|
|
5399
5400
|
};
|
|
5400
|
-
function
|
|
5401
|
+
function ml(t, e, o, i, a, r) {
|
|
5401
5402
|
return null;
|
|
5402
5403
|
}
|
|
5403
|
-
const
|
|
5404
|
-
const
|
|
5404
|
+
const dl = /* @__PURE__ */ V(cl, [["render", ml]]);
|
|
5405
|
+
const hl = {
|
|
5405
5406
|
name: "IdmCurrentParticle",
|
|
5406
5407
|
props: {
|
|
5407
5408
|
factor: {
|
|
@@ -5421,7 +5422,7 @@ const cl = {
|
|
|
5421
5422
|
texture: void 0,
|
|
5422
5423
|
rampColor: void 0,
|
|
5423
5424
|
aPositionBuffer: void 0,
|
|
5424
|
-
webgl: new
|
|
5425
|
+
webgl: new He(),
|
|
5425
5426
|
etime: void 0,
|
|
5426
5427
|
wrapper: void 0,
|
|
5427
5428
|
animation: void 0,
|
|
@@ -5469,11 +5470,7 @@ const cl = {
|
|
|
5469
5470
|
},
|
|
5470
5471
|
methods: {
|
|
5471
5472
|
async handleRender() {
|
|
5472
|
-
if (
|
|
5473
|
-
setTimeout(() => {
|
|
5474
|
-
this.handleRender();
|
|
5475
|
-
}, 500);
|
|
5476
|
-
else if (this.factor) {
|
|
5473
|
+
if (this.factor) {
|
|
5477
5474
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
5478
5475
|
let e = 0, o = 0;
|
|
5479
5476
|
await this.handleDraw(), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[current-particle] add elapsed: ", o, ", total: ", e += o);
|
|
@@ -5564,10 +5561,10 @@ const cl = {
|
|
|
5564
5561
|
(t = this.viewport) == null || t.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
|
|
5565
5562
|
}
|
|
5566
5563
|
}
|
|
5567
|
-
},
|
|
5568
|
-
function
|
|
5564
|
+
}, pl = { key: 0 };
|
|
5565
|
+
function ul(t, e, o, i, a, r) {
|
|
5569
5566
|
var s;
|
|
5570
|
-
return (s = o.factor) != null && s.active ? (
|
|
5567
|
+
return (s = o.factor) != null && s.active ? (b(), M("div", pl, [
|
|
5571
5568
|
l("div", {
|
|
5572
5569
|
class: "legend-bars-gl4 current",
|
|
5573
5570
|
style: ae({ right: a.right + "px" })
|
|
@@ -5580,10 +5577,10 @@ function dl(t, e, o, i, a, r) {
|
|
|
5580
5577
|
l("span", null, "2", -1),
|
|
5581
5578
|
l("span", null, "3.2", -1)
|
|
5582
5579
|
]), 4)
|
|
5583
|
-
])) :
|
|
5580
|
+
])) : B("", !0);
|
|
5584
5581
|
}
|
|
5585
|
-
const
|
|
5586
|
-
const
|
|
5582
|
+
const gl = /* @__PURE__ */ V(hl, [["render", ul]]);
|
|
5583
|
+
const fl = {
|
|
5587
5584
|
name: "IdmTemp",
|
|
5588
5585
|
props: {
|
|
5589
5586
|
factor: {
|
|
@@ -5607,7 +5604,7 @@ const pl = {
|
|
|
5607
5604
|
texture: void 0,
|
|
5608
5605
|
rampColor: void 0,
|
|
5609
5606
|
aPositionBuffer: void 0,
|
|
5610
|
-
webgl: new
|
|
5607
|
+
webgl: new He(),
|
|
5611
5608
|
etime: void 0,
|
|
5612
5609
|
right: 10
|
|
5613
5610
|
};
|
|
@@ -5630,11 +5627,7 @@ const pl = {
|
|
|
5630
5627
|
},
|
|
5631
5628
|
methods: {
|
|
5632
5629
|
handleRender() {
|
|
5633
|
-
if (
|
|
5634
|
-
setTimeout(() => {
|
|
5635
|
-
this.handleRender();
|
|
5636
|
-
}, 500);
|
|
5637
|
-
else if (this.factor) {
|
|
5630
|
+
if (this.factor) {
|
|
5638
5631
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
5639
5632
|
let e = 0, o = 0;
|
|
5640
5633
|
this.handleDraw(), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[sig-wave] add elapsed: ", o, ", total: ", e += o);
|
|
@@ -5692,10 +5685,10 @@ const pl = {
|
|
|
5692
5685
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
5693
5686
|
}
|
|
5694
5687
|
}
|
|
5695
|
-
},
|
|
5696
|
-
function
|
|
5688
|
+
}, yl = { key: 0 };
|
|
5689
|
+
function bl(t, e, o, i, a, r) {
|
|
5697
5690
|
var s;
|
|
5698
|
-
return (s = o.factor) != null && s.active ? (
|
|
5691
|
+
return (s = o.factor) != null && s.active ? (b(), M("div", yl, [
|
|
5699
5692
|
l("div", {
|
|
5700
5693
|
class: "legend-bars-gl4 sig-wave",
|
|
5701
5694
|
style: ae({ right: a.right + "px" })
|
|
@@ -5708,9 +5701,9 @@ function gl(t, e, o, i, a, r) {
|
|
|
5708
5701
|
l("span", null, "6", -1),
|
|
5709
5702
|
l("span", null, "9", -1)
|
|
5710
5703
|
]), 4)
|
|
5711
|
-
])) :
|
|
5704
|
+
])) : B("", !0);
|
|
5712
5705
|
}
|
|
5713
|
-
const
|
|
5706
|
+
const wl = /* @__PURE__ */ V(fl, [["render", bl], ["__scopeId", "data-v-6d3e12de"]]), xl = {
|
|
5714
5707
|
name: "IdmSigWave",
|
|
5715
5708
|
props: {
|
|
5716
5709
|
map: {
|
|
@@ -5761,11 +5754,7 @@ const fl = /* @__PURE__ */ V(pl, [["render", gl], ["__scopeId", "data-v-79ce70e2
|
|
|
5761
5754
|
},
|
|
5762
5755
|
handleRender() {
|
|
5763
5756
|
var t, e;
|
|
5764
|
-
if (
|
|
5765
|
-
setTimeout(() => {
|
|
5766
|
-
this.handleRender();
|
|
5767
|
-
}, 500);
|
|
5768
|
-
else if (this.sigWaveHeight) {
|
|
5757
|
+
if (this.sigWaveHeight) {
|
|
5769
5758
|
const o = (/* @__PURE__ */ new Date()).valueOf();
|
|
5770
5759
|
let i = 0, a = 0, r = this.empty;
|
|
5771
5760
|
this.sigWaveHeight.active && (r = this.sigWaveHeight.data), (t = this.map) != null && t.getSource(this.source) ? ((e = this.map) == null || e.getSource(this.source).setData(r), a = (/* @__PURE__ */ new Date()).valueOf() - (o + i), console.log("[sig-wave-height] update elapsed: ", a, ", total: ", i += a)) : (this.map.addSource(this.source, { type: "geojson", data: r }), this.map.addLayer(
|
|
@@ -5859,10 +5848,10 @@ const fl = /* @__PURE__ */ V(pl, [["render", gl], ["__scopeId", "data-v-79ce70e2
|
|
|
5859
5848
|
}
|
|
5860
5849
|
}
|
|
5861
5850
|
};
|
|
5862
|
-
function
|
|
5851
|
+
function vl(t, e, o, i, a, r) {
|
|
5863
5852
|
return null;
|
|
5864
5853
|
}
|
|
5865
|
-
const
|
|
5854
|
+
const _l = /* @__PURE__ */ V(xl, [["render", vl]]), kl = {
|
|
5866
5855
|
name: "IdmSwell",
|
|
5867
5856
|
props: {
|
|
5868
5857
|
map: {
|
|
@@ -5899,11 +5888,7 @@ const wl = /* @__PURE__ */ V(yl, [["render", bl]]), xl = {
|
|
|
5899
5888
|
methods: {
|
|
5900
5889
|
handleRender() {
|
|
5901
5890
|
var t, e;
|
|
5902
|
-
if (
|
|
5903
|
-
setTimeout(() => {
|
|
5904
|
-
this.handleRender();
|
|
5905
|
-
}, 500);
|
|
5906
|
-
else if (this.swell) {
|
|
5891
|
+
if (this.swell) {
|
|
5907
5892
|
const o = (/* @__PURE__ */ new Date()).valueOf();
|
|
5908
5893
|
let i = 0, a = 0, r = this.empty;
|
|
5909
5894
|
if (this.swell.active && (r = this.swell.data), (t = this.map) != null && t.getSource(this.source))
|
|
@@ -6013,10 +5998,10 @@ const wl = /* @__PURE__ */ V(yl, [["render", bl]]), xl = {
|
|
|
6013
5998
|
}
|
|
6014
5999
|
}
|
|
6015
6000
|
};
|
|
6016
|
-
function
|
|
6017
|
-
return
|
|
6001
|
+
function zl(t, e, o, i, a, r) {
|
|
6002
|
+
return b(), M("div");
|
|
6018
6003
|
}
|
|
6019
|
-
const
|
|
6004
|
+
const Ll = /* @__PURE__ */ V(kl, [["render", zl]]), Pl = {
|
|
6020
6005
|
name: "IdmPrmsl",
|
|
6021
6006
|
props: {
|
|
6022
6007
|
map: {
|
|
@@ -6064,11 +6049,7 @@ const _l = /* @__PURE__ */ V(xl, [["render", vl]]), kl = {
|
|
|
6064
6049
|
},
|
|
6065
6050
|
handleRender() {
|
|
6066
6051
|
var t, e, o;
|
|
6067
|
-
if (
|
|
6068
|
-
setTimeout(() => {
|
|
6069
|
-
this.handleRender();
|
|
6070
|
-
}, 500);
|
|
6071
|
-
else if (this.prmsl) {
|
|
6052
|
+
if (this.prmsl) {
|
|
6072
6053
|
const i = (/* @__PURE__ */ new Date()).valueOf();
|
|
6073
6054
|
let a = 0, r = 0, s = this.empty;
|
|
6074
6055
|
this.prmsl.active && (s = this.prmsl.data), (t = this.map) != null && t.getSource(this.source) ? ((e = this.map) == null || e.getSource(this.source).setData(s), r = (/* @__PURE__ */ new Date()).valueOf() - (i + a), console.log("[prmsl] update elapsed: ", r, ", total: ", a += r)) : (this.map.addSource(this.source, { type: "geojson", data: s }), this.map.addLayer(
|
|
@@ -6105,76 +6086,74 @@ const _l = /* @__PURE__ */ V(xl, [["render", vl]]), kl = {
|
|
|
6105
6086
|
}
|
|
6106
6087
|
},
|
|
6107
6088
|
this.beforeLayer
|
|
6108
|
-
),
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
"text-field": ["format", ["get", "type"], { "font-scale": 1.03 }, `
|
|
6089
|
+
), this.map.addLayer(
|
|
6090
|
+
{
|
|
6091
|
+
id: this.pointLabelLayer,
|
|
6092
|
+
type: "symbol",
|
|
6093
|
+
source: this.source,
|
|
6094
|
+
filter: ["==", "$type", "Point"],
|
|
6095
|
+
layout: {
|
|
6096
|
+
"symbol-placement": "point",
|
|
6097
|
+
"text-allow-overlap": !0,
|
|
6098
|
+
"text-field": ["format", ["get", "type"], { "font-scale": 1.03 }, `
|
|
6119
6099
|
`, ["get", "val"], { "font-scale": 1 }],
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
},
|
|
6125
|
-
paint: {
|
|
6126
|
-
"text-color": this.theme === "light" ? [
|
|
6127
|
-
"step",
|
|
6128
|
-
["get", "val"],
|
|
6129
|
-
"rgba(0, 0, 0, 0.5)",
|
|
6130
|
-
920,
|
|
6131
|
-
"rgba(0, 0, 0, 0.5)",
|
|
6132
|
-
980,
|
|
6133
|
-
"rgba(0, 0, 0, 0.7)",
|
|
6134
|
-
1100,
|
|
6135
|
-
"rgba(0, 0, 0, 0.7)"
|
|
6136
|
-
] : [
|
|
6137
|
-
"step",
|
|
6138
|
-
["get", "val"],
|
|
6139
|
-
"rgba(162,13,2,1)",
|
|
6140
|
-
920,
|
|
6141
|
-
"rgba(255, 96, 98, 1)",
|
|
6142
|
-
980,
|
|
6143
|
-
"rgba(255, 246, 184, 1)",
|
|
6144
|
-
1100,
|
|
6145
|
-
"rgba(199,171,250,1)"
|
|
6146
|
-
],
|
|
6147
|
-
"text-halo-color": [
|
|
6148
|
-
"step",
|
|
6149
|
-
["get", "val"],
|
|
6150
|
-
"rgba(162,13,2,1)",
|
|
6151
|
-
920,
|
|
6152
|
-
"rgba(255, 96, 98, 1)",
|
|
6153
|
-
980,
|
|
6154
|
-
"rgba(255, 246, 184, 1)",
|
|
6155
|
-
1100,
|
|
6156
|
-
"rgba(199,171,250,1)"
|
|
6157
|
-
],
|
|
6158
|
-
"text-halo-width": this.theme === "light" ? 1 : 0
|
|
6159
|
-
}
|
|
6100
|
+
"text-rotation-alignment": "map",
|
|
6101
|
+
"text-line-height": 1.3,
|
|
6102
|
+
"text-size": 12,
|
|
6103
|
+
"text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
|
|
6160
6104
|
},
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6105
|
+
paint: {
|
|
6106
|
+
"text-color": this.theme === "light" ? [
|
|
6107
|
+
"step",
|
|
6108
|
+
["get", "val"],
|
|
6109
|
+
"rgba(0, 0, 0, 0.5)",
|
|
6110
|
+
920,
|
|
6111
|
+
"rgba(0, 0, 0, 0.5)",
|
|
6112
|
+
980,
|
|
6113
|
+
"rgba(0, 0, 0, 0.7)",
|
|
6114
|
+
1100,
|
|
6115
|
+
"rgba(0, 0, 0, 0.7)"
|
|
6116
|
+
] : [
|
|
6117
|
+
"step",
|
|
6118
|
+
["get", "val"],
|
|
6119
|
+
"rgba(162,13,2,1)",
|
|
6120
|
+
920,
|
|
6121
|
+
"rgba(255, 96, 98, 1)",
|
|
6122
|
+
980,
|
|
6123
|
+
"rgba(255, 246, 184, 1)",
|
|
6124
|
+
1100,
|
|
6125
|
+
"rgba(199,171,250,1)"
|
|
6126
|
+
],
|
|
6127
|
+
"text-halo-color": [
|
|
6128
|
+
"step",
|
|
6129
|
+
["get", "val"],
|
|
6130
|
+
"rgba(162,13,2,1)",
|
|
6131
|
+
920,
|
|
6132
|
+
"rgba(255, 96, 98, 1)",
|
|
6133
|
+
980,
|
|
6134
|
+
"rgba(255, 246, 184, 1)",
|
|
6135
|
+
1100,
|
|
6136
|
+
"rgba(199,171,250,1)"
|
|
6137
|
+
],
|
|
6138
|
+
"text-halo-width": this.theme === "light" ? 1 : 0
|
|
6139
|
+
}
|
|
6140
|
+
},
|
|
6141
|
+
this.beforeLayer
|
|
6142
|
+
), r = (/* @__PURE__ */ new Date()).valueOf() - (i + a), console.log("[prmsl] add elapsed: ", r, ", total: ", a += r));
|
|
6164
6143
|
}
|
|
6165
6144
|
},
|
|
6166
6145
|
handleClear() {
|
|
6167
6146
|
this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.labelLayer) && this.map.removeLayer(this.labelLayer), this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
6168
6147
|
}
|
|
6169
6148
|
}
|
|
6170
|
-
},
|
|
6149
|
+
}, Cl = {
|
|
6171
6150
|
key: 0,
|
|
6172
6151
|
class: "legend-tip-btn-gl4"
|
|
6173
6152
|
};
|
|
6174
|
-
function
|
|
6153
|
+
function Tl(t, e, o, i, a, r) {
|
|
6175
6154
|
var n;
|
|
6176
6155
|
const s = w("VBtn"), c = w("VTooltip");
|
|
6177
|
-
return (n = o.prmsl) != null && n.active ? (
|
|
6156
|
+
return (n = o.prmsl) != null && n.active ? (b(), M("div", Cl, [
|
|
6178
6157
|
l("div", {
|
|
6179
6158
|
class: "menu-bar-box pa-1 rounded",
|
|
6180
6159
|
style: ae({ right: a.right + "px" })
|
|
@@ -6202,10 +6181,10 @@ function Ll(t, e, o, i, a, r) {
|
|
|
6202
6181
|
_: 1
|
|
6203
6182
|
})
|
|
6204
6183
|
], 4)
|
|
6205
|
-
])) :
|
|
6184
|
+
])) : B("", !0);
|
|
6206
6185
|
}
|
|
6207
|
-
const
|
|
6208
|
-
const
|
|
6186
|
+
const Sl = /* @__PURE__ */ V(Pl, [["render", Tl]]);
|
|
6187
|
+
const Ml = {
|
|
6209
6188
|
name: "IdmIceEdge",
|
|
6210
6189
|
props: {
|
|
6211
6190
|
factor: {
|
|
@@ -6229,7 +6208,7 @@ const Cl = {
|
|
|
6229
6208
|
texture: void 0,
|
|
6230
6209
|
rampColor: void 0,
|
|
6231
6210
|
aPositionBuffer: void 0,
|
|
6232
|
-
webgl: new
|
|
6211
|
+
webgl: new He(),
|
|
6233
6212
|
etime: void 0,
|
|
6234
6213
|
right: 10
|
|
6235
6214
|
};
|
|
@@ -6251,11 +6230,7 @@ const Cl = {
|
|
|
6251
6230
|
},
|
|
6252
6231
|
methods: {
|
|
6253
6232
|
handleRender() {
|
|
6254
|
-
if (
|
|
6255
|
-
setTimeout(() => {
|
|
6256
|
-
this.handleRender();
|
|
6257
|
-
}, 500);
|
|
6258
|
-
else if (this.factor) {
|
|
6233
|
+
if (this.factor) {
|
|
6259
6234
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
6260
6235
|
let e = 0, o = 0;
|
|
6261
6236
|
this.handleDraw(), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[ice-edge] add elapsed: ", o, ", total: ", e += o);
|
|
@@ -6306,10 +6281,10 @@ const Cl = {
|
|
|
6306
6281
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6307
6282
|
}
|
|
6308
6283
|
}
|
|
6309
|
-
},
|
|
6310
|
-
function
|
|
6284
|
+
}, Il = { key: 0 };
|
|
6285
|
+
function Al(t, e, o, i, a, r) {
|
|
6311
6286
|
var s;
|
|
6312
|
-
return (s = o.factor) != null && s.active ? (
|
|
6287
|
+
return (s = o.factor) != null && s.active ? (b(), M("div", Il, [
|
|
6313
6288
|
l("div", {
|
|
6314
6289
|
class: "legend-bars-gl4 ice-edge",
|
|
6315
6290
|
style: ae({ right: a.right + "px" })
|
|
@@ -6327,10 +6302,10 @@ function Sl(t, e, o, i, a, r) {
|
|
|
6327
6302
|
l("span", null, "90", -1),
|
|
6328
6303
|
l("span", null, null, -1)
|
|
6329
6304
|
]), 4)
|
|
6330
|
-
])) :
|
|
6305
|
+
])) : B("", !0);
|
|
6331
6306
|
}
|
|
6332
|
-
const
|
|
6333
|
-
const
|
|
6307
|
+
const Dl = /* @__PURE__ */ V(Ml, [["render", Al]]);
|
|
6308
|
+
const Rl = {
|
|
6334
6309
|
name: "IdmCover",
|
|
6335
6310
|
props: {
|
|
6336
6311
|
factor: {
|
|
@@ -6354,7 +6329,7 @@ const Il = {
|
|
|
6354
6329
|
texture: void 0,
|
|
6355
6330
|
rampColor: void 0,
|
|
6356
6331
|
aPositionBuffer: void 0,
|
|
6357
|
-
webgl: new
|
|
6332
|
+
webgl: new He(),
|
|
6358
6333
|
etime: void 0,
|
|
6359
6334
|
right: 10
|
|
6360
6335
|
};
|
|
@@ -6376,11 +6351,7 @@ const Il = {
|
|
|
6376
6351
|
},
|
|
6377
6352
|
methods: {
|
|
6378
6353
|
handleRender() {
|
|
6379
|
-
if (
|
|
6380
|
-
setTimeout(() => {
|
|
6381
|
-
this.handleRender();
|
|
6382
|
-
}, 500);
|
|
6383
|
-
else if (this.factor) {
|
|
6354
|
+
if (this.factor) {
|
|
6384
6355
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
6385
6356
|
let e = 0, o = 0;
|
|
6386
6357
|
this.handleDraw(), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[ice-cover] add elapsed: ", o, ", total: ", e += o);
|
|
@@ -6422,10 +6393,10 @@ const Il = {
|
|
|
6422
6393
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6423
6394
|
}
|
|
6424
6395
|
}
|
|
6425
|
-
},
|
|
6426
|
-
function
|
|
6396
|
+
}, Ol = { key: 0 };
|
|
6397
|
+
function Bl(t, e, o, i, a, r) {
|
|
6427
6398
|
var s;
|
|
6428
|
-
return (s = o.factor) != null && s.active ? (
|
|
6399
|
+
return (s = o.factor) != null && s.active ? (b(), M("div", Ol, [
|
|
6429
6400
|
l("div", {
|
|
6430
6401
|
class: "legend-bars-gl4 ice-cover",
|
|
6431
6402
|
style: ae({ right: a.right + "px" })
|
|
@@ -6437,10 +6408,10 @@ function Dl(t, e, o, i, a, r) {
|
|
|
6437
6408
|
l("span", null, "80", -1),
|
|
6438
6409
|
l("span", null, "100", -1)
|
|
6439
6410
|
]), 4)
|
|
6440
|
-
])) :
|
|
6411
|
+
])) : B("", !0);
|
|
6441
6412
|
}
|
|
6442
|
-
const
|
|
6443
|
-
const
|
|
6413
|
+
const El = /* @__PURE__ */ V(Rl, [["render", Bl], ["__scopeId", "data-v-34dc758b"]]);
|
|
6414
|
+
const jl = {
|
|
6444
6415
|
name: "IdmThickness",
|
|
6445
6416
|
props: {
|
|
6446
6417
|
factor: {
|
|
@@ -6464,7 +6435,7 @@ const Ol = {
|
|
|
6464
6435
|
texture: void 0,
|
|
6465
6436
|
rampColor: void 0,
|
|
6466
6437
|
aPositionBuffer: void 0,
|
|
6467
|
-
webgl: new
|
|
6438
|
+
webgl: new He(),
|
|
6468
6439
|
etime: void 0,
|
|
6469
6440
|
right: 10
|
|
6470
6441
|
};
|
|
@@ -6487,11 +6458,7 @@ const Ol = {
|
|
|
6487
6458
|
},
|
|
6488
6459
|
methods: {
|
|
6489
6460
|
handleRender() {
|
|
6490
|
-
if (
|
|
6491
|
-
setTimeout(() => {
|
|
6492
|
-
this.handleRender();
|
|
6493
|
-
}, 500);
|
|
6494
|
-
else if (this.factor) {
|
|
6461
|
+
if (this.factor) {
|
|
6495
6462
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
6496
6463
|
let e = 0, o = 0;
|
|
6497
6464
|
this.handleDraw(), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[ice-thickness] add elapsed: ", o, ", total: ", e += o);
|
|
@@ -6540,10 +6507,10 @@ const Ol = {
|
|
|
6540
6507
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6541
6508
|
}
|
|
6542
6509
|
}
|
|
6543
|
-
},
|
|
6544
|
-
function
|
|
6510
|
+
}, Nl = { key: 0 };
|
|
6511
|
+
function Fl(t, e, o, i, a, r) {
|
|
6545
6512
|
var s;
|
|
6546
|
-
return (s = o.factor) != null && s.active ? (
|
|
6513
|
+
return (s = o.factor) != null && s.active ? (b(), M("div", Nl, [
|
|
6547
6514
|
l("div", {
|
|
6548
6515
|
class: "legend-bars-gl4 ice-thickness",
|
|
6549
6516
|
style: ae({ right: a.right + "px" })
|
|
@@ -6556,10 +6523,10 @@ function El(t, e, o, i, a, r) {
|
|
|
6556
6523
|
l("span", null, "2", -1),
|
|
6557
6524
|
l("span", null, "3", -1)
|
|
6558
6525
|
]), 4)
|
|
6559
|
-
])) :
|
|
6526
|
+
])) : B("", !0);
|
|
6560
6527
|
}
|
|
6561
|
-
const
|
|
6562
|
-
const
|
|
6528
|
+
const Hl = /* @__PURE__ */ V(jl, [["render", Fl]]);
|
|
6529
|
+
const Wl = {
|
|
6563
6530
|
name: "IdmPrecip3h",
|
|
6564
6531
|
props: {
|
|
6565
6532
|
factor: {
|
|
@@ -6587,7 +6554,7 @@ const Nl = {
|
|
|
6587
6554
|
texture: void 0,
|
|
6588
6555
|
rampColor: void 0,
|
|
6589
6556
|
aPositionBuffer: void 0,
|
|
6590
|
-
webgl: new
|
|
6557
|
+
webgl: new He(),
|
|
6591
6558
|
etime: void 0,
|
|
6592
6559
|
right: 10
|
|
6593
6560
|
};
|
|
@@ -6610,11 +6577,7 @@ const Nl = {
|
|
|
6610
6577
|
},
|
|
6611
6578
|
methods: {
|
|
6612
6579
|
handleRender() {
|
|
6613
|
-
if (
|
|
6614
|
-
setTimeout(() => {
|
|
6615
|
-
this.handleRender();
|
|
6616
|
-
}, 500);
|
|
6617
|
-
else if (this.factor) {
|
|
6580
|
+
if (this.factor) {
|
|
6618
6581
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
6619
6582
|
let e = 0, o = 0;
|
|
6620
6583
|
this.handleDraw(), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[precip3h] add elapsed: ", o, ", total: ", e += o);
|
|
@@ -6660,10 +6623,10 @@ const Nl = {
|
|
|
6660
6623
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6661
6624
|
}
|
|
6662
6625
|
}
|
|
6663
|
-
},
|
|
6664
|
-
function
|
|
6626
|
+
}, Ul = { key: 0 };
|
|
6627
|
+
function Gl(t, e, o, i, a, r) {
|
|
6665
6628
|
var s;
|
|
6666
|
-
return (s = o.factor) != null && s.active ? (
|
|
6629
|
+
return (s = o.factor) != null && s.active ? (b(), M("div", Ul, [
|
|
6667
6630
|
l("div", {
|
|
6668
6631
|
class: "legend-bars-gl4 precip3h",
|
|
6669
6632
|
style: ae({ right: a.right + "px" })
|
|
@@ -6677,10 +6640,10 @@ function Hl(t, e, o, i, a, r) {
|
|
|
6677
6640
|
l("span", null, "20", -1),
|
|
6678
6641
|
l("span", null, "30", -1)
|
|
6679
6642
|
]), 4)
|
|
6680
|
-
])) :
|
|
6643
|
+
])) : B("", !0);
|
|
6681
6644
|
}
|
|
6682
|
-
const
|
|
6683
|
-
const
|
|
6645
|
+
const Vl = /* @__PURE__ */ V(Wl, [["render", Gl]]);
|
|
6646
|
+
const Zl = {
|
|
6684
6647
|
name: "IdmVisibility",
|
|
6685
6648
|
props: {
|
|
6686
6649
|
factor: {
|
|
@@ -6705,7 +6668,7 @@ const Ul = {
|
|
|
6705
6668
|
texture: void 0,
|
|
6706
6669
|
rampColor: void 0,
|
|
6707
6670
|
aPositionBuffer: void 0,
|
|
6708
|
-
webgl: new
|
|
6671
|
+
webgl: new He(),
|
|
6709
6672
|
etime: void 0
|
|
6710
6673
|
};
|
|
6711
6674
|
},
|
|
@@ -6727,11 +6690,7 @@ const Ul = {
|
|
|
6727
6690
|
},
|
|
6728
6691
|
methods: {
|
|
6729
6692
|
handleRender() {
|
|
6730
|
-
if (
|
|
6731
|
-
setTimeout(() => {
|
|
6732
|
-
this.handleRender();
|
|
6733
|
-
}, 500);
|
|
6734
|
-
else if (this.factor) {
|
|
6693
|
+
if (this.factor) {
|
|
6735
6694
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
6736
6695
|
let e = 0, o = 0;
|
|
6737
6696
|
this.handleDraw(), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[visibility] add elapsed: ", o, ", total: ", e += o);
|
|
@@ -6771,10 +6730,10 @@ const Ul = {
|
|
|
6771
6730
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6772
6731
|
}
|
|
6773
6732
|
}
|
|
6774
|
-
},
|
|
6775
|
-
function
|
|
6733
|
+
}, Yl = { key: 0 };
|
|
6734
|
+
function ql(t, e, o, i, a, r) {
|
|
6776
6735
|
var s;
|
|
6777
|
-
return (s = o.factor) != null && s.active ? (
|
|
6736
|
+
return (s = o.factor) != null && s.active ? (b(), M("div", Yl, [
|
|
6778
6737
|
l("div", {
|
|
6779
6738
|
class: "legend-bars-gl4 visibility",
|
|
6780
6739
|
style: ae({ right: a.right + "px" })
|
|
@@ -6786,10 +6745,10 @@ function Vl(t, e, o, i, a, r) {
|
|
|
6786
6745
|
l("span", null, "3", -1),
|
|
6787
6746
|
l("span", null, "9", -1)
|
|
6788
6747
|
]), 4)
|
|
6789
|
-
])) :
|
|
6748
|
+
])) : B("", !0);
|
|
6790
6749
|
}
|
|
6791
|
-
const
|
|
6792
|
-
const
|
|
6750
|
+
const Xl = /* @__PURE__ */ V(Zl, [["render", ql]]);
|
|
6751
|
+
const Kl = {
|
|
6793
6752
|
name: "IdmWaterTemp",
|
|
6794
6753
|
props: {
|
|
6795
6754
|
factor: {
|
|
@@ -6809,7 +6768,7 @@ const Yl = {
|
|
|
6809
6768
|
texture: void 0,
|
|
6810
6769
|
rampColor: void 0,
|
|
6811
6770
|
aPositionBuffer: void 0,
|
|
6812
|
-
webgl: new
|
|
6771
|
+
webgl: new He(),
|
|
6813
6772
|
etime: void 0,
|
|
6814
6773
|
right: 10
|
|
6815
6774
|
};
|
|
@@ -6832,11 +6791,7 @@ const Yl = {
|
|
|
6832
6791
|
},
|
|
6833
6792
|
methods: {
|
|
6834
6793
|
handleRender() {
|
|
6835
|
-
if (
|
|
6836
|
-
setTimeout(() => {
|
|
6837
|
-
this.handleRender();
|
|
6838
|
-
}, 500);
|
|
6839
|
-
else if (this.factor) {
|
|
6794
|
+
if (this.factor) {
|
|
6840
6795
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
6841
6796
|
let e = 0, o = 0;
|
|
6842
6797
|
this.handleDraw(), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[water-temp] add elapsed: ", o, ", total: ", e += o);
|
|
@@ -6883,10 +6838,10 @@ const Yl = {
|
|
|
6883
6838
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
6884
6839
|
}
|
|
6885
6840
|
}
|
|
6886
|
-
},
|
|
6887
|
-
function
|
|
6841
|
+
}, Ql = { key: 0 };
|
|
6842
|
+
function Jl(t, e, o, i, a, r) {
|
|
6888
6843
|
var s;
|
|
6889
|
-
return (s = o.factor) != null && s.active ? (
|
|
6844
|
+
return (s = o.factor) != null && s.active ? (b(), M("div", Ql, [
|
|
6890
6845
|
l("div", {
|
|
6891
6846
|
class: "legend-bars-gl4 water-temp",
|
|
6892
6847
|
style: ae({ right: a.right + "px" })
|
|
@@ -6898,10 +6853,10 @@ function Xl(t, e, o, i, a, r) {
|
|
|
6898
6853
|
l("span", null, "30", -1),
|
|
6899
6854
|
l("span", null, "40", -1)
|
|
6900
6855
|
]), 4)
|
|
6901
|
-
])) :
|
|
6856
|
+
])) : B("", !0);
|
|
6902
6857
|
}
|
|
6903
|
-
const
|
|
6904
|
-
const
|
|
6858
|
+
const $l = /* @__PURE__ */ V(Kl, [["render", Jl]]);
|
|
6859
|
+
const es = {
|
|
6905
6860
|
name: "IdmTemp",
|
|
6906
6861
|
props: {
|
|
6907
6862
|
factor: {
|
|
@@ -6929,7 +6884,7 @@ const Ql = {
|
|
|
6929
6884
|
texture: void 0,
|
|
6930
6885
|
rampColor: void 0,
|
|
6931
6886
|
aPositionBuffer: void 0,
|
|
6932
|
-
webgl: new
|
|
6887
|
+
webgl: new He(),
|
|
6933
6888
|
etime: void 0,
|
|
6934
6889
|
right: 10
|
|
6935
6890
|
};
|
|
@@ -6952,11 +6907,7 @@ const Ql = {
|
|
|
6952
6907
|
},
|
|
6953
6908
|
methods: {
|
|
6954
6909
|
handleRender() {
|
|
6955
|
-
if (
|
|
6956
|
-
setTimeout(() => {
|
|
6957
|
-
this.handleRender();
|
|
6958
|
-
}, 500);
|
|
6959
|
-
else if (this.factor) {
|
|
6910
|
+
if (this.factor) {
|
|
6960
6911
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
6961
6912
|
let e = 0, o = 0;
|
|
6962
6913
|
this.handleDraw(), o = (/* @__PURE__ */ new Date()).valueOf() - (t + e), console.log("[temp] add elapsed: ", o, ", total: ", e += o);
|
|
@@ -7006,10 +6957,10 @@ const Ql = {
|
|
|
7006
6957
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
7007
6958
|
}
|
|
7008
6959
|
}
|
|
7009
|
-
},
|
|
7010
|
-
function
|
|
6960
|
+
}, ts = { key: 0 };
|
|
6961
|
+
function os(t, e, o, i, a, r) {
|
|
7011
6962
|
var s;
|
|
7012
|
-
return (s = o.factor) != null && s.active ? (
|
|
6963
|
+
return (s = o.factor) != null && s.active ? (b(), M("div", ts, [
|
|
7013
6964
|
l("div", {
|
|
7014
6965
|
class: "legend-bars-gl4 temp",
|
|
7015
6966
|
style: ae({ right: a.right + "px" })
|
|
@@ -7023,27 +6974,27 @@ function $l(t, e, o, i, a, r) {
|
|
|
7023
6974
|
l("span", null, "30", -1),
|
|
7024
6975
|
l("span", null, "40", -1)
|
|
7025
6976
|
]), 4)
|
|
7026
|
-
])) :
|
|
6977
|
+
])) : B("", !0);
|
|
7027
6978
|
}
|
|
7028
|
-
const
|
|
7029
|
-
const
|
|
6979
|
+
const as = /* @__PURE__ */ V(es, [["render", os]]);
|
|
6980
|
+
const is = {
|
|
7030
6981
|
name: "IdmGlLayer",
|
|
7031
6982
|
components: {
|
|
7032
|
-
IdmWindBarb:
|
|
7033
|
-
IdmWindParticle:
|
|
7034
|
-
IdmCurrentDirection:
|
|
7035
|
-
IdmCurrentParticle:
|
|
7036
|
-
IdmWave:
|
|
7037
|
-
IdmSigWaveHeight:
|
|
7038
|
-
IdmSwell:
|
|
7039
|
-
IdmPrmsl:
|
|
7040
|
-
IdmIceEdge:
|
|
7041
|
-
IdmIceCover:
|
|
7042
|
-
IdmIceThickness:
|
|
7043
|
-
IdmPrecip3h:
|
|
7044
|
-
IdmVisibility:
|
|
7045
|
-
IdmWaterTemp:
|
|
7046
|
-
IdmTemp:
|
|
6983
|
+
IdmWindBarb: il,
|
|
6984
|
+
IdmWindParticle: nl,
|
|
6985
|
+
IdmCurrentDirection: dl,
|
|
6986
|
+
IdmCurrentParticle: gl,
|
|
6987
|
+
IdmWave: wl,
|
|
6988
|
+
IdmSigWaveHeight: _l,
|
|
6989
|
+
IdmSwell: Ll,
|
|
6990
|
+
IdmPrmsl: Sl,
|
|
6991
|
+
IdmIceEdge: Dl,
|
|
6992
|
+
IdmIceCover: El,
|
|
6993
|
+
IdmIceThickness: Hl,
|
|
6994
|
+
IdmPrecip3h: Vl,
|
|
6995
|
+
IdmVisibility: Xl,
|
|
6996
|
+
IdmWaterTemp: $l,
|
|
6997
|
+
IdmTemp: as
|
|
7047
6998
|
},
|
|
7048
6999
|
props: {
|
|
7049
7000
|
isLogin: {
|
|
@@ -7363,13 +7314,9 @@ const ts = {
|
|
|
7363
7314
|
}
|
|
7364
7315
|
},
|
|
7365
7316
|
handleWeatherLayerChange(t = { sourceChanged: !1 }) {
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
t != null && t.sourceChanged || this.weatherWeight !== e ? (this.weatherWeight = e, this.fetchWeatherLayers()) : this.handleWeatherLayerToggle();
|
|
7370
|
-
}) : setTimeout(() => {
|
|
7371
|
-
this.handleWeatherLayerChange();
|
|
7372
|
-
}, 500);
|
|
7317
|
+
var o;
|
|
7318
|
+
const e = (o = this.activeWeatherLayers) == null ? void 0 : o.reduce((i, a) => i + (i & (a == null ? void 0 : a.weight) ? 0 : a == null ? void 0 : a.weight), 0);
|
|
7319
|
+
t != null && t.sourceChanged || this.weatherWeight !== e ? (this.weatherWeight = e, this.fetchWeatherLayers()) : this.handleWeatherLayerToggle();
|
|
7373
7320
|
},
|
|
7374
7321
|
handleRampColorInitial() {
|
|
7375
7322
|
var t, e, o, i, a, r, s, c, n, u, h, g;
|
|
@@ -7677,26 +7624,26 @@ const ts = {
|
|
|
7677
7624
|
}), o;
|
|
7678
7625
|
}
|
|
7679
7626
|
}
|
|
7680
|
-
},
|
|
7627
|
+
}, rs = { class: "idm-gl4-meteo-layers" }, ls = {
|
|
7681
7628
|
key: 0,
|
|
7682
7629
|
class: "legend-tip-btn-gl4"
|
|
7683
|
-
},
|
|
7630
|
+
}, ss = { class: "d-flex flex-row justify-center align-center" }, ns = { class: "text-caption" }, cs = { class: "d-flex flex-row justify-center align-center" }, ms = {
|
|
7684
7631
|
key: 0,
|
|
7685
7632
|
style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
|
|
7686
|
-
},
|
|
7633
|
+
}, ds = { class: "text-caption px-2" }, hs = { class: "d-flex flex-row justify-start align-center" }, ps = {
|
|
7687
7634
|
class: "d-flex flex-row justify-center align-center",
|
|
7688
7635
|
style: { width: "40px" }
|
|
7689
|
-
},
|
|
7636
|
+
}, us = { class: "text-caption px-2" }, gs = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, fs = { class: "d-flex justify-start align-center ga-3" }, ys = { class: "text-h5 font-weight-medium" }, bs = {
|
|
7690
7637
|
key: 0,
|
|
7691
7638
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
7692
|
-
},
|
|
7639
|
+
}, ws = {
|
|
7693
7640
|
key: 1,
|
|
7694
7641
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
7695
|
-
},
|
|
7696
|
-
function
|
|
7642
|
+
}, xs = { class: "text-body-1 py-2" }, vs = { class: "text-body-1 font-weight-medium" }, _s = { class: "text-body-2 opacity-70" }, ks = { class: "text-body-2 opacity-70 mb-3" }, zs = { class: "text-body-1 font-weight-medium" }, Ls = { class: "text-body-2 opacity-70" }, Ps = { class: "text-body-2 opacity-70 mb-3" }, Cs = { class: "text-body-1 py-2" }, Ts = { class: "text-body-1 font-weight-medium" }, Ss = { class: "text-body-2 opacity-70" }, Ms = { class: "text-body-2 opacity-70 mb-3" }, Is = { class: "text-body-1 font-weight-medium" }, As = { class: "text-body-2 opacity-70" }, Ds = { class: "text-body-2 opacity-70 mb-3" }, Rs = { class: "text-body-1 py-2" }, Os = { class: "text-body-1 font-weight-medium" }, Bs = { class: "text-body-2 opacity-70" }, Es = { class: "text-body-2 opacity-70 mb-3" };
|
|
7643
|
+
function js(t, e, o, i, a, r) {
|
|
7697
7644
|
var ue, ce, Q, ie, ge, me, F, de, ke, Se, Me, Ie, Ae, De, ve;
|
|
7698
7645
|
const s = w("VBtn"), c = w("VTooltip"), n = w("VCol"), u = w("VRow"), h = w("VCardText"), g = w("VDivider"), f = w("VCard"), L = w("VSwitch"), _ = w("VCardTitle"), T = w("VCardItem"), x = w("VCheckbox"), D = w("VRadio"), S = w("VBtnToggle"), P = w("IdmWindBarb"), k = w("IdmSigWaveHeight"), z = w("IdmCurrentDirection"), C = w("IdmPrmsl"), v = w("IdmWindParticle"), A = w("IdmCurrentParticle"), Z = w("IdmWave"), q = w("IdmSwell"), X = w("IdmIceEdge"), Y = w("IdmIceCover"), te = w("IdmIceThickness"), oe = w("IdmPrecip3h"), J = w("IdmVisibility"), le = w("IdmWaterTemp"), pe = w("IdmTemp");
|
|
7699
|
-
return
|
|
7646
|
+
return b(), M("div", rs, [
|
|
7700
7647
|
l("div", {
|
|
7701
7648
|
class: "menu-bar-box transition pa-1",
|
|
7702
7649
|
style: ae({ top: o.top + 94 + "px", right: a.right + "px" })
|
|
@@ -7723,7 +7670,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
7723
7670
|
_: 1
|
|
7724
7671
|
}, 8, ["text"])
|
|
7725
7672
|
], 4),
|
|
7726
|
-
r.showTipMenu ? (
|
|
7673
|
+
r.showTipMenu ? (b(), M("div", ls, [
|
|
7727
7674
|
l("div", {
|
|
7728
7675
|
class: "menu-bar-box pa-1 rounded",
|
|
7729
7676
|
style: ae({ right: a.right + "px" })
|
|
@@ -7750,7 +7697,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
7750
7697
|
_: 1
|
|
7751
7698
|
})
|
|
7752
7699
|
], 4),
|
|
7753
|
-
a.legendToggle ? (
|
|
7700
|
+
a.legendToggle ? (b(), O(f, {
|
|
7754
7701
|
key: 0,
|
|
7755
7702
|
width: "435",
|
|
7756
7703
|
elevation: "16",
|
|
@@ -7763,18 +7710,18 @@ function Os(t, e, o, i, a, r) {
|
|
|
7763
7710
|
e[9] || (e[9] = l("div", { class: "text-body-1 font-weight-600 mb-2" }, "Wind Level", -1)),
|
|
7764
7711
|
d(u, { class: "ma-0 ml-n1 text-body-2" }, {
|
|
7765
7712
|
default: p(() => [
|
|
7766
|
-
(
|
|
7713
|
+
(b(!0), M(be, null, we(a.legend.barbs, (H, ee) => (b(), O(n, {
|
|
7767
7714
|
key: H,
|
|
7768
7715
|
cols: "6",
|
|
7769
7716
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
7770
7717
|
}, {
|
|
7771
7718
|
default: p(() => [
|
|
7772
|
-
l("div",
|
|
7719
|
+
l("div", ss, [
|
|
7773
7720
|
l("i", {
|
|
7774
7721
|
class: Ue(["iconfont", r.barbsIconName[ee]]),
|
|
7775
7722
|
style: ae({ color: o.theme === "dark" ? "#fff" : "#000" })
|
|
7776
7723
|
}, null, 6),
|
|
7777
|
-
l("span",
|
|
7724
|
+
l("span", ns, y(Number(H) < 10 ? `00${H}kts` : Number(H) < 100 ? `0${H}kts` : `${H}kts`), 1)
|
|
7778
7725
|
])
|
|
7779
7726
|
]),
|
|
7780
7727
|
_: 2
|
|
@@ -7795,18 +7742,18 @@ function Os(t, e, o, i, a, r) {
|
|
|
7795
7742
|
style: { width: "100px" }
|
|
7796
7743
|
}, {
|
|
7797
7744
|
default: p(() => [
|
|
7798
|
-
(
|
|
7745
|
+
(b(!0), M(be, null, we(a.legend.sigWaveHeight, (H, ee) => (b(), O(n, {
|
|
7799
7746
|
key: ee,
|
|
7800
7747
|
cols: "12",
|
|
7801
7748
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
7802
7749
|
}, {
|
|
7803
7750
|
default: p(() => [
|
|
7804
|
-
l("div",
|
|
7805
|
-
ee === 0 ? (
|
|
7751
|
+
l("div", cs, [
|
|
7752
|
+
ee === 0 ? (b(), M("div", ms)) : (b(), M("div", {
|
|
7806
7753
|
key: 1,
|
|
7807
7754
|
style: ae({ width: "24px", height: "12px", background: H.color })
|
|
7808
7755
|
}, null, 4)),
|
|
7809
|
-
l("div",
|
|
7756
|
+
l("div", ds, y(H.label), 1)
|
|
7810
7757
|
])
|
|
7811
7758
|
]),
|
|
7812
7759
|
_: 2
|
|
@@ -7827,20 +7774,20 @@ function Os(t, e, o, i, a, r) {
|
|
|
7827
7774
|
style: { width: "110px" }
|
|
7828
7775
|
}, {
|
|
7829
7776
|
default: p(() => [
|
|
7830
|
-
(
|
|
7777
|
+
(b(!0), M(be, null, we(a.legend.current, (H, ee) => (b(), O(n, {
|
|
7831
7778
|
key: ee,
|
|
7832
7779
|
cols: "12",
|
|
7833
7780
|
class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
|
|
7834
7781
|
}, {
|
|
7835
7782
|
default: p(() => [
|
|
7836
|
-
l("div",
|
|
7837
|
-
l("div",
|
|
7783
|
+
l("div", hs, [
|
|
7784
|
+
l("div", ps, [
|
|
7838
7785
|
l("i", {
|
|
7839
7786
|
class: "iconfont icon-a-direction-arrow opacity-80",
|
|
7840
7787
|
style: ae({ fontSize: 40 * H.size + "px" })
|
|
7841
7788
|
}, null, 4)
|
|
7842
7789
|
]),
|
|
7843
|
-
l("div",
|
|
7790
|
+
l("div", us, y(H.label), 1)
|
|
7844
7791
|
])
|
|
7845
7792
|
]),
|
|
7846
7793
|
_: 2
|
|
@@ -7854,15 +7801,15 @@ function Os(t, e, o, i, a, r) {
|
|
|
7854
7801
|
})
|
|
7855
7802
|
]),
|
|
7856
7803
|
_: 1
|
|
7857
|
-
}, 8, ["style"])) :
|
|
7858
|
-
])) :
|
|
7804
|
+
}, 8, ["style"])) : B("", !0)
|
|
7805
|
+
])) : B("", !0),
|
|
7859
7806
|
l("div", {
|
|
7860
7807
|
class: Ue(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
|
|
7861
7808
|
style: ae({ top: o.top + "px", right: a.toggle ? "0px" : "-280px" })
|
|
7862
7809
|
}, [
|
|
7863
|
-
l("div",
|
|
7864
|
-
l("div",
|
|
7865
|
-
l("div",
|
|
7810
|
+
l("div", gs, [
|
|
7811
|
+
l("div", fs, [
|
|
7812
|
+
l("div", ys, y(t.$t("weather.weather")), 1),
|
|
7866
7813
|
d(L, {
|
|
7867
7814
|
modelValue: a.autoActive,
|
|
7868
7815
|
"onUpdate:modelValue": e[1] || (e[1] = (H) => a.autoActive = H),
|
|
@@ -7901,7 +7848,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
7901
7848
|
style: { "font-size": "16px !important" }
|
|
7902
7849
|
}, {
|
|
7903
7850
|
default: p(() => [
|
|
7904
|
-
U(
|
|
7851
|
+
U(y(t.$t("weather.overlays")), 1)
|
|
7905
7852
|
]),
|
|
7906
7853
|
_: 1
|
|
7907
7854
|
})
|
|
@@ -7910,7 +7857,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
7910
7857
|
}),
|
|
7911
7858
|
d(h, { class: "py-2" }, {
|
|
7912
7859
|
default: p(() => [
|
|
7913
|
-
(
|
|
7860
|
+
(b(!0), M(be, null, we(a.tagLayers.filter((H) => H.overlays), (H) => (b(), O(x, {
|
|
7914
7861
|
key: H.key,
|
|
7915
7862
|
modelValue: a.checkList,
|
|
7916
7863
|
"onUpdate:modelValue": e[2] || (e[2] = (ee) => a.checkList = ee),
|
|
@@ -7941,7 +7888,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
7941
7888
|
style: { "font-size": "16px !important" }
|
|
7942
7889
|
}, {
|
|
7943
7890
|
default: p(() => [
|
|
7944
|
-
U(
|
|
7891
|
+
U(y(t.$t("weather.renders")), 1)
|
|
7945
7892
|
]),
|
|
7946
7893
|
_: 1
|
|
7947
7894
|
})
|
|
@@ -7950,7 +7897,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
7950
7897
|
}),
|
|
7951
7898
|
d(h, { class: "py-2" }, {
|
|
7952
7899
|
default: p(() => [
|
|
7953
|
-
(
|
|
7900
|
+
(b(!0), M(be, null, we(a.tagLayers.filter((H) => !H.overlays && H.key !== "ice-thickness"), (H) => (b(), M(be, {
|
|
7954
7901
|
key: H.key
|
|
7955
7902
|
}, [
|
|
7956
7903
|
d(D, {
|
|
@@ -7966,8 +7913,8 @@ function Os(t, e, o, i, a, r) {
|
|
|
7966
7913
|
"hide-details": "",
|
|
7967
7914
|
onClick: (ee) => a.renderKey = a.renderKey === H.key ? "" : H.key
|
|
7968
7915
|
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
|
|
7969
|
-
a.renderKey === "wind-particle" && H.key === "wind-particle" ? (
|
|
7970
|
-
l("span", null,
|
|
7916
|
+
a.renderKey === "wind-particle" && H.key === "wind-particle" ? (b(), M("div", bs, [
|
|
7917
|
+
l("span", null, y(t.$t("weather.particleAnimatiom")), 1),
|
|
7971
7918
|
d(L, {
|
|
7972
7919
|
modelValue: a.showWindParticle,
|
|
7973
7920
|
"onUpdate:modelValue": e[4] || (e[4] = (ee) => a.showWindParticle = ee),
|
|
@@ -7979,9 +7926,9 @@ function Os(t, e, o, i, a, r) {
|
|
|
7979
7926
|
style: { "font-size": "14px" },
|
|
7980
7927
|
"hide-details": ""
|
|
7981
7928
|
}, null, 8, ["modelValue"])
|
|
7982
|
-
])) :
|
|
7983
|
-
a.renderKey === "current-particle" && H.key === "current-particle" ? (
|
|
7984
|
-
l("span", null,
|
|
7929
|
+
])) : B("", !0),
|
|
7930
|
+
a.renderKey === "current-particle" && H.key === "current-particle" ? (b(), M("div", ws, [
|
|
7931
|
+
l("span", null, y(t.$t("weather.particleAnimatiom")), 1),
|
|
7985
7932
|
d(L, {
|
|
7986
7933
|
modelValue: a.showCurrentParticle,
|
|
7987
7934
|
"onUpdate:modelValue": e[5] || (e[5] = (ee) => a.showCurrentParticle = ee),
|
|
@@ -7993,8 +7940,8 @@ function Os(t, e, o, i, a, r) {
|
|
|
7993
7940
|
height: "20",
|
|
7994
7941
|
"hide-details": ""
|
|
7995
7942
|
}, null, 8, ["modelValue"])
|
|
7996
|
-
])) :
|
|
7997
|
-
a.renderKey === "ice-forecast" && H.key === "ice-forecast" ? (
|
|
7943
|
+
])) : B("", !0),
|
|
7944
|
+
a.renderKey === "ice-forecast" && H.key === "ice-forecast" ? (b(), O(S, {
|
|
7998
7945
|
key: 2,
|
|
7999
7946
|
modelValue: a.iceToggleValue,
|
|
8000
7947
|
"onUpdate:modelValue": e[6] || (e[6] = (ee) => a.iceToggleValue = ee),
|
|
@@ -8016,7 +7963,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
8016
7963
|
disabled: !a.autoActive
|
|
8017
7964
|
}, {
|
|
8018
7965
|
default: p(() => [
|
|
8019
|
-
U(
|
|
7966
|
+
U(y(t.$t("weather.coverage")), 1)
|
|
8020
7967
|
]),
|
|
8021
7968
|
_: 1
|
|
8022
7969
|
}, 8, ["color", "disabled"]),
|
|
@@ -8030,13 +7977,13 @@ function Os(t, e, o, i, a, r) {
|
|
|
8030
7977
|
value: "ice-thickness"
|
|
8031
7978
|
}, {
|
|
8032
7979
|
default: p(() => [
|
|
8033
|
-
U(
|
|
7980
|
+
U(y(t.$t("weather.thickness")), 1)
|
|
8034
7981
|
]),
|
|
8035
7982
|
_: 1
|
|
8036
7983
|
}, 8, ["color", "disabled"])
|
|
8037
7984
|
]),
|
|
8038
7985
|
_: 1
|
|
8039
|
-
}, 8, ["modelValue", "disabled"])) :
|
|
7986
|
+
}, 8, ["modelValue", "disabled"])) : B("", !0)
|
|
8040
7987
|
], 64))), 128))
|
|
8041
7988
|
]),
|
|
8042
7989
|
_: 1
|
|
@@ -8056,7 +8003,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
8056
8003
|
style: { "font-size": "16px !important" }
|
|
8057
8004
|
}, {
|
|
8058
8005
|
default: p(() => [
|
|
8059
|
-
U(
|
|
8006
|
+
U(y(t.$t("weather.forecastModel")), 1)
|
|
8060
8007
|
]),
|
|
8061
8008
|
_: 1
|
|
8062
8009
|
})
|
|
@@ -8065,28 +8012,28 @@ function Os(t, e, o, i, a, r) {
|
|
|
8065
8012
|
}),
|
|
8066
8013
|
d(h, { class: "" }, {
|
|
8067
8014
|
default: p(() => {
|
|
8068
|
-
var H, ee, je, Ce, he, fe, W, ze, $, re, Re,
|
|
8015
|
+
var H, ee, je, Ce, he, fe, W, ze, $, re, Re, E, ye, Te, Oe, Be, R, G, Ge, Ve, Ze, Pe, Ye, qe, Xe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, At, Dt, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Wt, Ut, Gt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt;
|
|
8069
8016
|
return [
|
|
8070
|
-
l("div",
|
|
8071
|
-
l("div",
|
|
8072
|
-
l("div",
|
|
8073
|
-
l("div",
|
|
8074
|
-
l("div",
|
|
8075
|
-
l("div",
|
|
8076
|
-
l("div",
|
|
8017
|
+
l("div", xs, y(t.$t("weather.atmospheric")), 1),
|
|
8018
|
+
l("div", vs, y((je = (ee = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : ee.NOAA) == null ? void 0 : je.source) + " " + y((fe = (he = (Ce = a.models) == null ? void 0 : Ce.weather) == null ? void 0 : he.NOAA) == null ? void 0 : fe.spatialResolution) + y(t.$t("units.km")) + " " + y((re = ($ = (ze = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : ze.NOAA) == null ? void 0 : $.meta) == null ? void 0 : re.days) + y(t.$t("units.days")), 1),
|
|
8019
|
+
l("div", _s, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
8020
|
+
l("div", ks, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Te = (ye = (E = (Re = a.models) == null ? void 0 : Re.weather) == null ? void 0 : E.NOAA) == null ? void 0 : ye.meta) == null ? void 0 : Te.initialisationTime)), 1),
|
|
8021
|
+
l("div", zs, y((R = (Be = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : Be.ECMWF) == null ? void 0 : R.source) + " " + y((Ve = (Ge = (G = a.models) == null ? void 0 : G.weather) == null ? void 0 : Ge.ECMWF) == null ? void 0 : Ve.spatialResolution) + y(t.$t("units.km")) + " " + y((qe = (Ye = (Pe = (Ze = a.models) == null ? void 0 : Ze.weather) == null ? void 0 : Pe.ECMWF) == null ? void 0 : Ye.meta) == null ? void 0 : qe.days) + y(t.$t("units.days")), 1),
|
|
8022
|
+
l("div", Ls, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
8023
|
+
l("div", Ps, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Je = (Qe = (Ke = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
|
|
8077
8024
|
d(g),
|
|
8078
|
-
l("div",
|
|
8079
|
-
l("div",
|
|
8080
|
-
l("div",
|
|
8081
|
-
l("div",
|
|
8082
|
-
l("div",
|
|
8083
|
-
l("div",
|
|
8084
|
-
l("div",
|
|
8025
|
+
l("div", Cs, y(t.$t("weather.wave")), 1),
|
|
8026
|
+
l("div", Ts, y((ot = (tt = (et = ($e = a.models) == null ? void 0 : $e.marine) == null ? void 0 : et.wave) == null ? void 0 : tt.NOAA) == null ? void 0 : ot.source) + " " + y((lt = (rt = (it = (at = a.models) == null ? void 0 : at.marine) == null ? void 0 : it.wave) == null ? void 0 : rt.NOAA) == null ? void 0 : lt.spatialResolution) + y(t.$t("units.km")) + " " + y((dt = (mt = (ct = (nt = (st = a.models) == null ? void 0 : st.marine) == null ? void 0 : nt.wave) == null ? void 0 : ct.NOAA) == null ? void 0 : mt.meta) == null ? void 0 : dt.days) + y(t.$t("units.days")), 1),
|
|
8027
|
+
l("div", Ss, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
8028
|
+
l("div", Ms, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((ft = (gt = (ut = (pt = (ht = a.models) == null ? void 0 : ht.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.meta) == null ? void 0 : ft.initialisationTime)), 1),
|
|
8029
|
+
l("div", Is, y((xt = (wt = (bt = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : bt.wave) == null ? void 0 : wt.ECMWF) == null ? void 0 : xt.source) + " " + y((zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.ECMWF) == null ? void 0 : zt.spatialResolution) + y(t.$t("units.km")) + " " + y((St = (Tt = (Ct = (Pt = (Lt = a.models) == null ? void 0 : Lt.marine) == null ? void 0 : Pt.wave) == null ? void 0 : Ct.ECMWF) == null ? void 0 : Tt.meta) == null ? void 0 : St.days) + y(t.$t("units.days")), 1),
|
|
8030
|
+
l("div", As, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
8031
|
+
l("div", Ds, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Rt = (Dt = (At = (It = (Mt = a.models) == null ? void 0 : Mt.marine) == null ? void 0 : It.wave) == null ? void 0 : At.ECMWF) == null ? void 0 : Dt.meta) == null ? void 0 : Rt.initialisationTime)), 1),
|
|
8085
8032
|
d(g),
|
|
8086
|
-
l("div",
|
|
8087
|
-
l("div",
|
|
8088
|
-
l("div",
|
|
8089
|
-
l("div",
|
|
8033
|
+
l("div", Rs, y(t.$t("weather.currents")), 1),
|
|
8034
|
+
l("div", Os, y((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.source) + " " + y((Wt = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.current) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Wt.spatialResolution) + y(t.$t("units.km")) + " " + y((Yt = (Zt = (Vt = (Gt = (Ut = a.models) == null ? void 0 : Ut.marine) == null ? void 0 : Gt.current) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Zt.meta) == null ? void 0 : Yt.days) + y(t.$t("units.days")), 1),
|
|
8035
|
+
l("div", Bs, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
8036
|
+
l("div", Es, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Jt = (Qt = (Kt = (Xt = (qt = a.models) == null ? void 0 : qt.marine) == null ? void 0 : Xt.current) == null ? void 0 : Kt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : Jt.initialisationTime)), 1)
|
|
8090
8037
|
];
|
|
8091
8038
|
}),
|
|
8092
8039
|
_: 1
|
|
@@ -8096,7 +8043,7 @@ function Os(t, e, o, i, a, r) {
|
|
|
8096
8043
|
})
|
|
8097
8044
|
], 2)
|
|
8098
8045
|
], 6),
|
|
8099
|
-
o.map ? (
|
|
8046
|
+
o.map ? (b(), O(P, j({
|
|
8100
8047
|
key: 1,
|
|
8101
8048
|
ref: "windBarb",
|
|
8102
8049
|
map: o.map,
|
|
@@ -8104,101 +8051,101 @@ function Os(t, e, o, i, a, r) {
|
|
|
8104
8051
|
"before-layer": "empty-layer-3",
|
|
8105
8052
|
wind: (ue = a.weatherLayers) == null ? void 0 : ue.wind,
|
|
8106
8053
|
"menu-toggle": o.menuToggle
|
|
8107
|
-
}, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) :
|
|
8108
|
-
o.map ? (
|
|
8054
|
+
}, t.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : B("", !0),
|
|
8055
|
+
o.map ? (b(), O(k, j({
|
|
8109
8056
|
key: 2,
|
|
8110
8057
|
map: o.map,
|
|
8111
8058
|
"before-layer": "empty-layer-2",
|
|
8112
8059
|
"sig-wave-height": (ce = a.weatherLayers) == null ? void 0 : ce["sig-wave-height"],
|
|
8113
8060
|
"menu-toggle": o.menuToggle,
|
|
8114
8061
|
"active-weather-layers": a.activeWeatherLayers
|
|
8115
|
-
}, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) :
|
|
8116
|
-
o.map ? (
|
|
8062
|
+
}, t.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : B("", !0),
|
|
8063
|
+
o.map ? (b(), O(z, j({
|
|
8117
8064
|
key: 3,
|
|
8118
8065
|
map: o.map,
|
|
8119
8066
|
"map-feather": o.mapFeather,
|
|
8120
8067
|
"before-layer": "empty-layer-2",
|
|
8121
8068
|
current: (Q = a.weatherLayers) == null ? void 0 : Q.current,
|
|
8122
8069
|
"menu-toggle": o.menuToggle
|
|
8123
|
-
}, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) :
|
|
8124
|
-
o.map ? (
|
|
8070
|
+
}, t.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : B("", !0),
|
|
8071
|
+
o.map ? (b(), O(C, j({
|
|
8125
8072
|
key: 4,
|
|
8126
8073
|
map: o.map,
|
|
8127
8074
|
"before-layer": "empty-layer-2",
|
|
8128
8075
|
prmsl: (ie = a.weatherLayers) == null ? void 0 : ie.prmsl,
|
|
8129
8076
|
"menu-toggle": o.menuToggle,
|
|
8130
8077
|
"active-weather-layers": a.activeWeatherLayers
|
|
8131
|
-
}, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) :
|
|
8132
|
-
o.map ? (
|
|
8078
|
+
}, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : B("", !0),
|
|
8079
|
+
o.map ? (b(), O(v, j({
|
|
8133
8080
|
key: 5,
|
|
8134
8081
|
viewport: a.viewport,
|
|
8135
8082
|
factor: (ge = a.weatherLayers) == null ? void 0 : ge["wind-particle"],
|
|
8136
8083
|
"menu-toggle": o.menuToggle
|
|
8137
|
-
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) :
|
|
8138
|
-
o.map ? (
|
|
8084
|
+
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
|
|
8085
|
+
o.map ? (b(), O(A, j({
|
|
8139
8086
|
key: 6,
|
|
8140
8087
|
viewport: a.viewport,
|
|
8141
8088
|
factor: (me = a.weatherLayers) == null ? void 0 : me["current-particle"],
|
|
8142
8089
|
"menu-toggle": o.menuToggle
|
|
8143
|
-
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) :
|
|
8144
|
-
o.map ? (
|
|
8090
|
+
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
|
|
8091
|
+
o.map ? (b(), O(Z, j({
|
|
8145
8092
|
key: 7,
|
|
8146
8093
|
viewport: a.viewport,
|
|
8147
8094
|
factor: (F = a.weatherLayers) == null ? void 0 : F["sig-wave"],
|
|
8148
8095
|
"menu-toggle": o.menuToggle
|
|
8149
|
-
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) :
|
|
8150
|
-
o.map ? (
|
|
8096
|
+
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
|
|
8097
|
+
o.map ? (b(), O(q, j({
|
|
8151
8098
|
key: 8,
|
|
8152
8099
|
map: o.map,
|
|
8153
8100
|
swell: (de = a.weatherLayers) == null ? void 0 : de.swell,
|
|
8154
8101
|
"menu-toggle": o.menuToggle,
|
|
8155
8102
|
"active-weather-layers": a.activeWeatherLayers
|
|
8156
|
-
}, t.$attrs), null, 16, ["map", "swell", "menu-toggle", "active-weather-layers"])) :
|
|
8157
|
-
o.map ? (
|
|
8103
|
+
}, t.$attrs), null, 16, ["map", "swell", "menu-toggle", "active-weather-layers"])) : B("", !0),
|
|
8104
|
+
o.map ? (b(), O(X, j({
|
|
8158
8105
|
key: 9,
|
|
8159
8106
|
viewport: a.viewport,
|
|
8160
8107
|
factor: (ke = a.weatherLayers) == null ? void 0 : ke["ice-edge"],
|
|
8161
8108
|
"menu-toggle": o.menuToggle
|
|
8162
|
-
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) :
|
|
8163
|
-
o.map ? (
|
|
8109
|
+
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
|
|
8110
|
+
o.map ? (b(), O(Y, j({
|
|
8164
8111
|
key: 10,
|
|
8165
8112
|
viewport: a.viewport,
|
|
8166
8113
|
factor: (Se = a.weatherLayers) == null ? void 0 : Se["ice-cover"],
|
|
8167
8114
|
"menu-toggle": o.menuToggle
|
|
8168
|
-
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) :
|
|
8169
|
-
o.map ? (
|
|
8115
|
+
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
|
|
8116
|
+
o.map ? (b(), O(te, j({
|
|
8170
8117
|
key: 11,
|
|
8171
8118
|
viewport: a.viewport,
|
|
8172
8119
|
factor: (Me = a.weatherLayers) == null ? void 0 : Me["ice-thickness"],
|
|
8173
8120
|
"menu-toggle": o.menuToggle
|
|
8174
|
-
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) :
|
|
8175
|
-
o.map ? (
|
|
8121
|
+
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
|
|
8122
|
+
o.map ? (b(), O(oe, j({
|
|
8176
8123
|
key: 12,
|
|
8177
8124
|
viewport: a.viewport,
|
|
8178
8125
|
factor: (Ie = a.weatherLayers) == null ? void 0 : Ie.precip3h,
|
|
8179
8126
|
"menu-toggle": o.menuToggle
|
|
8180
|
-
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) :
|
|
8181
|
-
o.map ? (
|
|
8127
|
+
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
|
|
8128
|
+
o.map ? (b(), O(J, j({
|
|
8182
8129
|
key: 13,
|
|
8183
8130
|
viewport: a.viewport,
|
|
8184
8131
|
factor: (Ae = a.weatherLayers) == null ? void 0 : Ae.visibility,
|
|
8185
8132
|
"menu-toggle": o.menuToggle
|
|
8186
|
-
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) :
|
|
8187
|
-
o.map ? (
|
|
8133
|
+
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
|
|
8134
|
+
o.map ? (b(), O(le, j({
|
|
8188
8135
|
key: 14,
|
|
8189
8136
|
viewport: a.viewport,
|
|
8190
8137
|
factor: (De = a.weatherLayers) == null ? void 0 : De["water-temp"],
|
|
8191
8138
|
"menu-toggle": o.menuToggle
|
|
8192
|
-
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) :
|
|
8193
|
-
o.map ? (
|
|
8139
|
+
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0),
|
|
8140
|
+
o.map ? (b(), O(pe, j({
|
|
8194
8141
|
key: 15,
|
|
8195
8142
|
viewport: a.viewport,
|
|
8196
8143
|
factor: (ve = a.weatherLayers) == null ? void 0 : ve.temp,
|
|
8197
8144
|
"menu-toggle": o.menuToggle
|
|
8198
|
-
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) :
|
|
8145
|
+
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : B("", !0)
|
|
8199
8146
|
]);
|
|
8200
8147
|
}
|
|
8201
|
-
const
|
|
8148
|
+
const Ns = /* @__PURE__ */ V(is, [["render", js]]), eo = [
|
|
8202
8149
|
{
|
|
8203
8150
|
rank: 0,
|
|
8204
8151
|
name: "Best Match",
|
|
@@ -8548,43 +8495,43 @@ class Va {
|
|
|
8548
8495
|
var i, a, r, s, c, n, u, h, g, f, L, _, T, x, D, S, P, k, z, C, v, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Se, Me, Ie, Ae, De, ve, H, ee, je, Ce;
|
|
8549
8496
|
const he = typeof o == "string" ? I(o) : o, fe = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, ze = I((a = (i = fe == null ? void 0 : fe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), $ = ze.clone().add((c = (s = (r = fe == null ? void 0 : fe[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), re = ze.clone().add((h = (u = (n = fe == null ? void 0 : fe[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : h.at(-1), "h"), Re = [];
|
|
8550
8497
|
if (he.isBetween($, re, "millisecond", "[]")) {
|
|
8551
|
-
const
|
|
8498
|
+
const E = he.utc().diff($, "h", !1);
|
|
8552
8499
|
let ye, Te;
|
|
8553
8500
|
if (fe) {
|
|
8554
8501
|
let Oe = 0, Be = 0;
|
|
8555
8502
|
for (const R of fe) {
|
|
8556
8503
|
const G = R == null ? void 0 : R.hourly;
|
|
8557
|
-
for (let Pe =
|
|
8504
|
+
for (let Pe = E - (E - 1) % 3; Pe <= E; Pe++)
|
|
8558
8505
|
Oe += (g = G == null ? void 0 : G.precipitation) == null ? void 0 : g.at(Pe);
|
|
8559
|
-
for (let Pe =
|
|
8506
|
+
for (let Pe = E - (E - 1) % 6; Pe <= E; Pe++)
|
|
8560
8507
|
Be += (f = G == null ? void 0 : G.precipitation) == null ? void 0 : f.at(Pe);
|
|
8561
8508
|
ye = {
|
|
8562
|
-
temp: (L = G == null ? void 0 : G.temperature_2m) == null ? void 0 : L.at(
|
|
8563
|
-
apparentTemp: (_ = G == null ? void 0 : G.apparent_temperature) == null ? void 0 : _.at(
|
|
8564
|
-
rh: (T = G == null ? void 0 : G.relative_humidity_2m) == null ? void 0 : T.at(
|
|
8565
|
-
dp: (x = G == null ? void 0 : G.dew_point_2m) == null ? void 0 : x.at(
|
|
8509
|
+
temp: (L = G == null ? void 0 : G.temperature_2m) == null ? void 0 : L.at(E),
|
|
8510
|
+
apparentTemp: (_ = G == null ? void 0 : G.apparent_temperature) == null ? void 0 : _.at(E),
|
|
8511
|
+
rh: (T = G == null ? void 0 : G.relative_humidity_2m) == null ? void 0 : T.at(E),
|
|
8512
|
+
dp: (x = G == null ? void 0 : G.dew_point_2m) == null ? void 0 : x.at(E),
|
|
8566
8513
|
precip: {
|
|
8567
|
-
probability: (D = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : D.at(
|
|
8568
|
-
sum: (S = G == null ? void 0 : G.precipitation) == null ? void 0 : S.at(
|
|
8514
|
+
probability: (D = G == null ? void 0 : G.precipitation_probability) == null ? void 0 : D.at(E),
|
|
8515
|
+
sum: (S = G == null ? void 0 : G.precipitation) == null ? void 0 : S.at(E),
|
|
8569
8516
|
sum3Hours: Math.round(Oe * 100) / 100,
|
|
8570
8517
|
sum6Hours: Math.round(Be * 100) / 100
|
|
8571
8518
|
},
|
|
8572
|
-
pmsl: (P = G == null ? void 0 : G.pressure_msl) == null ? void 0 : P.at(
|
|
8573
|
-
psurf: (k = G == null ? void 0 : G.surface_pressure) == null ? void 0 : k.at(
|
|
8574
|
-
code: (z = G == null ? void 0 : G.weather_code) == null ? void 0 : z.at(
|
|
8575
|
-
visibility: this.m2nm((C = G == null ? void 0 : G.visibility) == null ? void 0 : C.at(
|
|
8519
|
+
pmsl: (P = G == null ? void 0 : G.pressure_msl) == null ? void 0 : P.at(E),
|
|
8520
|
+
psurf: (k = G == null ? void 0 : G.surface_pressure) == null ? void 0 : k.at(E),
|
|
8521
|
+
code: (z = G == null ? void 0 : G.weather_code) == null ? void 0 : z.at(E),
|
|
8522
|
+
visibility: this.m2nm((C = G == null ? void 0 : G.visibility) == null ? void 0 : C.at(E)),
|
|
8576
8523
|
wind: {
|
|
8577
|
-
speed: (v = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : v.at(
|
|
8578
|
-
kts: (A = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : A.at(
|
|
8579
|
-
degree: (Z = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : Z.at(
|
|
8580
|
-
bearing: ((q = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : q.at(
|
|
8581
|
-
gusts: (Y = G == null ? void 0 : G.wind_gusts_10m) == null ? void 0 : Y.at(
|
|
8524
|
+
speed: (v = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : v.at(E),
|
|
8525
|
+
kts: (A = G == null ? void 0 : G.wind_speed_10m) == null ? void 0 : A.at(E),
|
|
8526
|
+
degree: (Z = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : Z.at(E),
|
|
8527
|
+
bearing: ((q = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : q.at(E)) !== null ? (((X = G == null ? void 0 : G.wind_direction_10m) == null ? void 0 : X.at(E)) + 180) % 360 : null,
|
|
8528
|
+
gusts: (Y = G == null ? void 0 : G.wind_gusts_10m) == null ? void 0 : Y.at(E)
|
|
8582
8529
|
},
|
|
8583
|
-
isDay: (te = G == null ? void 0 : G.is_day) == null ? void 0 : te.at(
|
|
8530
|
+
isDay: (te = G == null ? void 0 : G.is_day) == null ? void 0 : te.at(E)
|
|
8584
8531
|
};
|
|
8585
8532
|
const { name: Ge, url: Ve, bg: Ze } = this.parseWeatherCode(ye.code, ye.isDay);
|
|
8586
8533
|
ye.name = Ge, ye.url = Ve, ye.bg = Ze, ye.wind.scale = this.beaufort(this.kts2ms(ye.wind.kts)), ye.wind.direction = this.degree2Direction(ye.wind.degree), Re.push({
|
|
8587
|
-
utc: $.add(
|
|
8534
|
+
utc: $.add(E, "h").format(),
|
|
8588
8535
|
model: R.model,
|
|
8589
8536
|
weather: { ...ye }
|
|
8590
8537
|
});
|
|
@@ -8597,34 +8544,34 @@ class Va {
|
|
|
8597
8544
|
Te = {
|
|
8598
8545
|
wave: {
|
|
8599
8546
|
sig: {
|
|
8600
|
-
height: (oe = R == null ? void 0 : R.wave_height) == null ? void 0 : oe.at(
|
|
8601
|
-
degree: (J = R == null ? void 0 : R.wave_direction) == null ? void 0 : J.at(
|
|
8602
|
-
bearing: ((le = R == null ? void 0 : R.wave_direction) == null ? void 0 : le.at(
|
|
8603
|
-
period: (ue = R == null ? void 0 : R.wave_period) == null ? void 0 : ue.at(
|
|
8547
|
+
height: (oe = R == null ? void 0 : R.wave_height) == null ? void 0 : oe.at(E),
|
|
8548
|
+
degree: (J = R == null ? void 0 : R.wave_direction) == null ? void 0 : J.at(E),
|
|
8549
|
+
bearing: ((le = R == null ? void 0 : R.wave_direction) == null ? void 0 : le.at(E)) !== null ? (((pe = R == null ? void 0 : R.wave_direction) == null ? void 0 : pe.at(E)) + 180) % 360 : null,
|
|
8550
|
+
period: (ue = R == null ? void 0 : R.wave_period) == null ? void 0 : ue.at(E)
|
|
8604
8551
|
},
|
|
8605
8552
|
swell: {
|
|
8606
|
-
height: (ce = R == null ? void 0 : R.swell_wave_height) == null ? void 0 : ce.at(
|
|
8607
|
-
degree: (Q = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : Q.at(
|
|
8608
|
-
bearing: ((ie = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : ie.at(
|
|
8609
|
-
period: (me = R == null ? void 0 : R.swell_wave_period) == null ? void 0 : me.at(
|
|
8610
|
-
peakPeriod: (F = R == null ? void 0 : R.swell_wave_peak_period) == null ? void 0 : F.at(
|
|
8553
|
+
height: (ce = R == null ? void 0 : R.swell_wave_height) == null ? void 0 : ce.at(E),
|
|
8554
|
+
degree: (Q = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : Q.at(E),
|
|
8555
|
+
bearing: ((ie = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : ie.at(E)) !== null ? (((ge = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : ge.at(E)) + 180) % 360 : null,
|
|
8556
|
+
period: (me = R == null ? void 0 : R.swell_wave_period) == null ? void 0 : me.at(E),
|
|
8557
|
+
peakPeriod: (F = R == null ? void 0 : R.swell_wave_peak_period) == null ? void 0 : F.at(E)
|
|
8611
8558
|
},
|
|
8612
8559
|
wd: {
|
|
8613
|
-
height: (de = R == null ? void 0 : R.wind_wave_height) == null ? void 0 : de.at(
|
|
8614
|
-
degree: (ke = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : ke.at(
|
|
8615
|
-
bearing: ((Se = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : Se.at(
|
|
8616
|
-
period: (Ie = R == null ? void 0 : R.wind_wave_period) == null ? void 0 : Ie.at(
|
|
8617
|
-
peakPeriod: (Ae = R == null ? void 0 : R.wind_wave_peak_period) == null ? void 0 : Ae.at(
|
|
8560
|
+
height: (de = R == null ? void 0 : R.wind_wave_height) == null ? void 0 : de.at(E),
|
|
8561
|
+
degree: (ke = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : ke.at(E),
|
|
8562
|
+
bearing: ((Se = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : Se.at(E)) !== null ? (((Me = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : Me.at(E)) + 180) % 360 : null,
|
|
8563
|
+
period: (Ie = R == null ? void 0 : R.wind_wave_period) == null ? void 0 : Ie.at(E),
|
|
8564
|
+
peakPeriod: (Ae = R == null ? void 0 : R.wind_wave_peak_period) == null ? void 0 : Ae.at(E)
|
|
8618
8565
|
}
|
|
8619
8566
|
},
|
|
8620
8567
|
current: {
|
|
8621
|
-
speed: (De = R == null ? void 0 : R.ocean_current_velocity) == null ? void 0 : De.at(
|
|
8622
|
-
kts: (ve = R == null ? void 0 : R.ocean_current_velocity) == null ? void 0 : ve.at(
|
|
8623
|
-
degree: (H = R == null ? void 0 : R.ocean_current_direction) == null ? void 0 : H.at(
|
|
8624
|
-
bearing: ((ee = R == null ? void 0 : R.ocean_current_direction) == null ? void 0 : ee.at(
|
|
8568
|
+
speed: (De = R == null ? void 0 : R.ocean_current_velocity) == null ? void 0 : De.at(E),
|
|
8569
|
+
kts: (ve = R == null ? void 0 : R.ocean_current_velocity) == null ? void 0 : ve.at(E),
|
|
8570
|
+
degree: (H = R == null ? void 0 : R.ocean_current_direction) == null ? void 0 : H.at(E),
|
|
8571
|
+
bearing: ((ee = R == null ? void 0 : R.ocean_current_direction) == null ? void 0 : ee.at(E)) ?? null
|
|
8625
8572
|
},
|
|
8626
|
-
sst: (je = R == null ? void 0 : R.sea_surface_temperature) == null ? void 0 : je.at(
|
|
8627
|
-
height: (Ce = R == null ? void 0 : R.sea_level_height_msl) == null ? void 0 : Ce.at(
|
|
8573
|
+
sst: (je = R == null ? void 0 : R.sea_surface_temperature) == null ? void 0 : je.at(E),
|
|
8574
|
+
height: (Ce = R == null ? void 0 : R.sea_level_height_msl) == null ? void 0 : Ce.at(E)
|
|
8628
8575
|
}, Te.wave = this.parseWave(Te.wave, ye == null ? void 0 : ye.wind), Te.current.direction = this.degree2Direction(Te.current.degree), Object.assign(Re[Oe], Te), Oe++;
|
|
8629
8576
|
}
|
|
8630
8577
|
}
|
|
@@ -8694,8 +8641,8 @@ class Va {
|
|
|
8694
8641
|
bearing: ((Y = $.wind_direction_10m_dominant) == null ? void 0 : Y.at(W)) !== null ? (((te = $.wind_direction_10m_dominant) == null ? void 0 : te.at(W)) + 180) % 360 : null
|
|
8695
8642
|
}
|
|
8696
8643
|
};
|
|
8697
|
-
const { name: re, url: Re, bg:
|
|
8698
|
-
he.name = re, he.url = Re, he.bg =
|
|
8644
|
+
const { name: re, url: Re, bg: E } = this.parseWeatherCode(he.code, !0);
|
|
8645
|
+
he.name = re, he.url = Re, he.bg = E, he.wind.scale = this.beaufort(this.kts2ms(he.wind.kts)), he.wind.direction = this.degree2Direction(he.wind.degree), Ce.push({
|
|
8699
8646
|
utc: ee.add(W, "d").utc().format(),
|
|
8700
8647
|
model: ze.model,
|
|
8701
8648
|
weather: { ...he }
|
|
@@ -9134,7 +9081,7 @@ class Va {
|
|
|
9134
9081
|
return isNaN(e) || e <= 0.1 ? o = "Calm" : e <= 0.5 ? o = "Smooth" : e <= 1.25 ? o = "Slight" : e <= 2.5 ? o = "Moderate" : e <= 4 ? o = "Rough" : e <= 6 ? o = "VeryRough" : e <= 9 ? o = "High" : e <= 14 ? o = "VeryHigh" : o = "Precipitous", o;
|
|
9135
9082
|
}
|
|
9136
9083
|
}
|
|
9137
|
-
const
|
|
9084
|
+
const Fs = {
|
|
9138
9085
|
name: "IdmTropicals",
|
|
9139
9086
|
props: {
|
|
9140
9087
|
permission: {
|
|
@@ -9336,234 +9283,228 @@ const Es = {
|
|
|
9336
9283
|
)), ((i = (o = (e = this.tropicals) == null ? void 0 : e.data) == null ? void 0 : o.features) == null ? void 0 : i.length) > 0 ? (s = (r = (a = this.$parent) == null ? void 0 : a.$refs) == null ? void 0 : r.idmBottomBar) == null || s.handleToggle("tropical", !0) : (u = (n = (c = this.$parent) == null ? void 0 : c.$refs) == null ? void 0 : n.idmBottomBar) == null || u.handleToggle("tropical", !1);
|
|
9337
9284
|
},
|
|
9338
9285
|
handleRender() {
|
|
9339
|
-
var
|
|
9340
|
-
if (
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
"
|
|
9372
|
-
"
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
"
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
|
|
9393
|
-
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9403
|
-
|
|
9404
|
-
"
|
|
9405
|
-
"
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
"
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9413
|
-
|
|
9414
|
-
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
"
|
|
9426
|
-
"
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
"
|
|
9466
|
-
"
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
"text-color": this.Theme.current.value.colors["map-blue"],
|
|
9558
|
-
"text-halo-color": "#ffffff",
|
|
9559
|
-
"text-halo-width": 1
|
|
9560
|
-
}
|
|
9561
|
-
}), L = (/* @__PURE__ */ new Date()).valueOf() - (g + f), console.log("[tropical] add elapsed: ", L, ", total: ", f += L));
|
|
9562
|
-
}
|
|
9563
|
-
this.handleDrawCircle();
|
|
9564
|
-
const h = Ua.interpolate(this.tropicals, 1);
|
|
9565
|
-
this.interpolateData = JSON.parse(JSON.stringify(h)), this.handleDateChange();
|
|
9286
|
+
var e, o, i, a, r, s, c, n, u, h;
|
|
9287
|
+
if (this.tropicals) {
|
|
9288
|
+
const g = (/* @__PURE__ */ new Date()).valueOf();
|
|
9289
|
+
let f = 0, L = 0;
|
|
9290
|
+
(e = this.map) != null && e.getSource(this.source) ? ((i = this.map) == null || i.getSource(this.source).setData((o = this.tropicals) != null && o.active ? this.tropicals.data : this.empty), L = (/* @__PURE__ */ new Date()).valueOf() - (g + f), console.log("[tropicals] update elapsed: ", L, ", total: ", f += L)) : (this.map.addSource(this.source, {
|
|
9291
|
+
type: "geojson",
|
|
9292
|
+
data: (a = this.tropicals) != null && a.active ? (r = this.tropicals) == null ? void 0 : r.data : this.empty
|
|
9293
|
+
}), this.map.addLayer({
|
|
9294
|
+
id: this.historyLayer,
|
|
9295
|
+
type: "line",
|
|
9296
|
+
source: this.source,
|
|
9297
|
+
filter: ["all", ["==", "$type", "LineString"], ["==", "type", "history"], ["!=", "disabled", !0]],
|
|
9298
|
+
layout: {
|
|
9299
|
+
"line-cap": "round",
|
|
9300
|
+
"line-join": "round"
|
|
9301
|
+
},
|
|
9302
|
+
paint: {
|
|
9303
|
+
"line-color": this.Theme.current.value.colors["on-surface"],
|
|
9304
|
+
"line-width": 3,
|
|
9305
|
+
"line-opacity": 0.7
|
|
9306
|
+
}
|
|
9307
|
+
}), this.map.addLayer({
|
|
9308
|
+
id: this.forecastLayer,
|
|
9309
|
+
type: "line",
|
|
9310
|
+
source: this.source,
|
|
9311
|
+
filter: ["all", ["==", "$type", "LineString"], ["==", "type", "forecast"], ["!=", "disabled", !0]],
|
|
9312
|
+
layout: {
|
|
9313
|
+
"line-cap": "round",
|
|
9314
|
+
"line-join": "round"
|
|
9315
|
+
},
|
|
9316
|
+
paint: {
|
|
9317
|
+
"line-color": [
|
|
9318
|
+
"match",
|
|
9319
|
+
["get", "model"],
|
|
9320
|
+
"cma",
|
|
9321
|
+
"#e2ea03",
|
|
9322
|
+
"jma",
|
|
9323
|
+
"#01d2b7",
|
|
9324
|
+
"ecmwf",
|
|
9325
|
+
"#f582f2",
|
|
9326
|
+
"ukm",
|
|
9327
|
+
"#f5bb47",
|
|
9328
|
+
"noaa-at",
|
|
9329
|
+
"#9758fb",
|
|
9330
|
+
"noaa-ep",
|
|
9331
|
+
"#9758fb",
|
|
9332
|
+
"#f2a0a0"
|
|
9333
|
+
],
|
|
9334
|
+
"line-width": 3,
|
|
9335
|
+
"line-opacity": 0.9,
|
|
9336
|
+
"line-dasharray": [1, 2]
|
|
9337
|
+
}
|
|
9338
|
+
}), this.map.addLayer({
|
|
9339
|
+
id: this.forecastModelLayer,
|
|
9340
|
+
type: "symbol",
|
|
9341
|
+
source: this.source,
|
|
9342
|
+
filter: ["all", ["==", "$type", "LineString"], ["==", "type", "forecast"], ["!=", "disabled", !0]],
|
|
9343
|
+
layout: {
|
|
9344
|
+
"symbol-placement": "line",
|
|
9345
|
+
"text-field": "{model}",
|
|
9346
|
+
"text-rotation-alignment": "viewport",
|
|
9347
|
+
"text-size": 12
|
|
9348
|
+
},
|
|
9349
|
+
paint: {
|
|
9350
|
+
"text-color": [
|
|
9351
|
+
"match",
|
|
9352
|
+
["get", "model"],
|
|
9353
|
+
"cma",
|
|
9354
|
+
"#000",
|
|
9355
|
+
"jma",
|
|
9356
|
+
"#000",
|
|
9357
|
+
"ecmwf",
|
|
9358
|
+
"#fff",
|
|
9359
|
+
"ukm",
|
|
9360
|
+
"#fff",
|
|
9361
|
+
"noaa-at",
|
|
9362
|
+
"#fff",
|
|
9363
|
+
"noaa-ep",
|
|
9364
|
+
"#fff",
|
|
9365
|
+
"#000"
|
|
9366
|
+
],
|
|
9367
|
+
"text-opacity": 1,
|
|
9368
|
+
"text-halo-color": [
|
|
9369
|
+
"match",
|
|
9370
|
+
["get", "model"],
|
|
9371
|
+
"cma",
|
|
9372
|
+
"#e2ea03",
|
|
9373
|
+
"jma",
|
|
9374
|
+
"#01d2b7",
|
|
9375
|
+
"ecmwf",
|
|
9376
|
+
"#f582f2",
|
|
9377
|
+
"ukm",
|
|
9378
|
+
"#f5bb47",
|
|
9379
|
+
"noaa-at",
|
|
9380
|
+
"#9758fb",
|
|
9381
|
+
"noaa-ep",
|
|
9382
|
+
"#9758fb",
|
|
9383
|
+
"#f2a0a0"
|
|
9384
|
+
],
|
|
9385
|
+
"text-halo-width": 4
|
|
9386
|
+
}
|
|
9387
|
+
}), L = (/* @__PURE__ */ new Date()).valueOf() - (g + f), console.log("[tropical] add elapsed: ", L, ", total: ", f += L)), (s = this.map) != null && s.getSource(this.clusterSource) ? ((n = this.map) == null || n.getSource(this.clusterSource).setData((c = this.tropicals) != null && c.active ? this.tropicals.data : this.empty), L = (/* @__PURE__ */ new Date()).valueOf() - (g + f), console.log("[tropical] update elapsed: ", L, ", total: ", f += L)) : (this.map.addSource(this.clusterSource, {
|
|
9388
|
+
type: "geojson",
|
|
9389
|
+
data: (u = this.tropicals) != null && u.active ? (h = this.tropicals) == null ? void 0 : h.data : this.empty
|
|
9390
|
+
// cluster: true,
|
|
9391
|
+
// clusterRadius: 10, // 聚合半径
|
|
9392
|
+
}), this.map.addLayer({
|
|
9393
|
+
id: this.pointCircleLayer + "-border",
|
|
9394
|
+
type: "circle",
|
|
9395
|
+
source: this.clusterSource,
|
|
9396
|
+
filter: ["all", ["==", "$type", "Point"], ["==", "type", "forecast"], ["!=", "disabled", !0]],
|
|
9397
|
+
paint: {
|
|
9398
|
+
"circle-radius": 5,
|
|
9399
|
+
"circle-color": "#fff"
|
|
9400
|
+
}
|
|
9401
|
+
}), this.map.addLayer({
|
|
9402
|
+
id: this.pointCircleLayer,
|
|
9403
|
+
type: "circle",
|
|
9404
|
+
source: this.clusterSource,
|
|
9405
|
+
filter: ["all", ["==", "$type", "Point"], ["==", "type", "forecast"], ["!=", "disabled", !0]],
|
|
9406
|
+
paint: {
|
|
9407
|
+
"circle-radius": 4,
|
|
9408
|
+
"circle-color": [
|
|
9409
|
+
"case",
|
|
9410
|
+
["boolean", ["==", ["get", "kts", ["get", "wind"]], null]],
|
|
9411
|
+
"#03f869",
|
|
9412
|
+
["boolean", ["<", ["get", "kts", ["get", "wind"]], 32]],
|
|
9413
|
+
"#03f869",
|
|
9414
|
+
["boolean", ["<", ["get", "kts", ["get", "wind"]], 47]],
|
|
9415
|
+
"#f2f202",
|
|
9416
|
+
["boolean", ["<", ["get", "kts", ["get", "wind"]], 63]],
|
|
9417
|
+
"#ff9100",
|
|
9418
|
+
["boolean", ["<", ["get", "kts", ["get", "wind"]], 79]],
|
|
9419
|
+
"#f44336",
|
|
9420
|
+
["boolean", ["<", ["get", "kts", ["get", "wind"]], 94]],
|
|
9421
|
+
"#f903d0",
|
|
9422
|
+
["boolean", [">=", ["get", "kts", ["get", "wind"]], 94]],
|
|
9423
|
+
"#8702f9",
|
|
9424
|
+
"#fff"
|
|
9425
|
+
]
|
|
9426
|
+
}
|
|
9427
|
+
}), this.map.addLayer({
|
|
9428
|
+
id: this.pointLabelLayer,
|
|
9429
|
+
type: "symbol",
|
|
9430
|
+
source: this.clusterSource,
|
|
9431
|
+
minzoom: 5,
|
|
9432
|
+
filter: ["all", ["==", "$type", "Point"], ["==", "type", "forecast"], ["!=", "disabled", !0]],
|
|
9433
|
+
layout: {
|
|
9434
|
+
"text-field": ["get", "format"],
|
|
9435
|
+
"text-offset": [1, 0],
|
|
9436
|
+
"text-anchor": "left",
|
|
9437
|
+
"text-size": 10
|
|
9438
|
+
},
|
|
9439
|
+
paint: {
|
|
9440
|
+
"text-color": this.Theme.current.value.colors["on-surface"]
|
|
9441
|
+
}
|
|
9442
|
+
}), this.map.addLayer({
|
|
9443
|
+
id: this.historyPointCircleLayer + "-border",
|
|
9444
|
+
type: "circle",
|
|
9445
|
+
source: this.clusterSource,
|
|
9446
|
+
filter: ["all", ["==", "$type", "Point"], ["==", "type", "history"], ["==", "important", !0], ["!=", "disabled", !0]],
|
|
9447
|
+
paint: {
|
|
9448
|
+
"circle-radius": 6,
|
|
9449
|
+
"circle-color": "#fff"
|
|
9450
|
+
}
|
|
9451
|
+
}), this.map.addLayer({
|
|
9452
|
+
id: this.historyPointCircleLayer,
|
|
9453
|
+
type: "circle",
|
|
9454
|
+
source: this.clusterSource,
|
|
9455
|
+
filter: ["all", ["==", "$type", "Point"], ["==", "type", "history"], ["==", "important", !0], ["!=", "disabled", !0]],
|
|
9456
|
+
paint: {
|
|
9457
|
+
"circle-radius": 5,
|
|
9458
|
+
"circle-color": "rgba(0,0,0,0.7)"
|
|
9459
|
+
}
|
|
9460
|
+
}), this.map.addLayer({
|
|
9461
|
+
id: this.historyPointCircleLayer + "-inner",
|
|
9462
|
+
type: "circle",
|
|
9463
|
+
source: this.clusterSource,
|
|
9464
|
+
filter: ["all", ["==", "$type", "Point"], ["==", "type", "history"], ["==", "important", !0], ["!=", "disabled", !0]],
|
|
9465
|
+
paint: {
|
|
9466
|
+
"circle-radius": 3,
|
|
9467
|
+
"circle-color": "#fff"
|
|
9468
|
+
}
|
|
9469
|
+
}), this.map.addLayer({
|
|
9470
|
+
id: this.historyPointLabelLayer,
|
|
9471
|
+
type: "symbol",
|
|
9472
|
+
source: this.clusterSource,
|
|
9473
|
+
minzoom: 5,
|
|
9474
|
+
filter: ["all", ["==", "$type", "Point"], ["==", "type", "history"], ["==", "important", !0], ["!=", "disabled", !0]],
|
|
9475
|
+
layout: {
|
|
9476
|
+
"text-field": ["get", "format"],
|
|
9477
|
+
"text-offset": [1, 0],
|
|
9478
|
+
"text-anchor": "left",
|
|
9479
|
+
"text-size": 10
|
|
9480
|
+
},
|
|
9481
|
+
paint: {
|
|
9482
|
+
"text-color": this.Theme.current.value.colors["on-surface"]
|
|
9483
|
+
}
|
|
9484
|
+
}), this.map.addLayer({
|
|
9485
|
+
id: this.forecastNameLayer,
|
|
9486
|
+
type: "symbol",
|
|
9487
|
+
source: this.clusterSource,
|
|
9488
|
+
filter: ["all", ["==", "$type", "Point"], ["==", "type", "forecast"], ["==", "important", !0]],
|
|
9489
|
+
layout: {
|
|
9490
|
+
"text-field": ["get", "name"],
|
|
9491
|
+
"text-anchor": "bottom",
|
|
9492
|
+
"text-size": 16,
|
|
9493
|
+
"text-allow-overlap": !0,
|
|
9494
|
+
"text-ignore-placement": !0,
|
|
9495
|
+
"text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"],
|
|
9496
|
+
"text-offset": [0, 2]
|
|
9497
|
+
},
|
|
9498
|
+
paint: {
|
|
9499
|
+
"text-color": this.Theme.current.value.colors["map-blue"],
|
|
9500
|
+
"text-halo-color": "#ffffff",
|
|
9501
|
+
"text-halo-width": 1
|
|
9502
|
+
}
|
|
9503
|
+
}), L = (/* @__PURE__ */ new Date()).valueOf() - (g + f), console.log("[tropical] add elapsed: ", L, ", total: ", f += L));
|
|
9566
9504
|
}
|
|
9505
|
+
this.handleDrawCircle();
|
|
9506
|
+
const t = Ua.interpolate(this.tropicals, 1);
|
|
9507
|
+
this.interpolateData = JSON.parse(JSON.stringify(t)), this.handleDateChange();
|
|
9567
9508
|
},
|
|
9568
9509
|
handleClear() {
|
|
9569
9510
|
var t, e;
|
|
@@ -9736,19 +9677,19 @@ const Es = {
|
|
|
9736
9677
|
this.$emit("tropicalNotification", t);
|
|
9737
9678
|
}
|
|
9738
9679
|
}
|
|
9739
|
-
},
|
|
9680
|
+
}, Hs = { class: "idm-tropical-gl4" }, Ws = {
|
|
9740
9681
|
id: "idm-tropical-gl4-info",
|
|
9741
9682
|
class: "idm-tropical-gl4-info"
|
|
9742
|
-
},
|
|
9683
|
+
}, Us = { class: "pb-1" }, Gs = { class: "text-h6 font-weight-600" }, Vs = {
|
|
9743
9684
|
key: 0,
|
|
9744
9685
|
class: "text-body-1 opacity-70"
|
|
9745
|
-
},
|
|
9686
|
+
}, Zs = { class: "text-body-2" }, Ys = { class: "d-flex justify-space-between align-center" }, qs = { class: "flex-1-1-0" }, Xs = { class: "flex-1-1-0" }, Ks = { class: "py-2 d-flex justify-space-between align-center" }, Qs = { class: "flex-1-1-0" }, Js = { class: "flex-1-1-0" }, $s = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, en = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, tn = { class: "more" }, on = {
|
|
9746
9687
|
class: "my-4",
|
|
9747
9688
|
style: { height: "80px" }
|
|
9748
|
-
},
|
|
9749
|
-
function
|
|
9689
|
+
}, an = { class: "pa-1 d-flex justify-space-between align-center" }, rn = { class: "pa-1 d-flex justify-space-between align-center" };
|
|
9690
|
+
function ln(t, e, o, i, a, r) {
|
|
9750
9691
|
const s = w("VBtn"), c = w("VTooltip"), n = w("VCardText"), u = w("VDivider"), h = w("VCardActions"), g = w("VCard");
|
|
9751
|
-
return
|
|
9692
|
+
return b(), M("div", Hs, [
|
|
9752
9693
|
l("div", {
|
|
9753
9694
|
class: "menu-bar-box transition pa-1",
|
|
9754
9695
|
style: ae({ top: o.top + 134 + "px", right: a.right + "px" })
|
|
@@ -9775,7 +9716,7 @@ function on(t, e, o, i, a, r) {
|
|
|
9775
9716
|
_: 1
|
|
9776
9717
|
}, 8, ["text"])
|
|
9777
9718
|
], 4),
|
|
9778
|
-
|
|
9719
|
+
Ne(l("div", Ws, [
|
|
9779
9720
|
d(g, {
|
|
9780
9721
|
width: "400",
|
|
9781
9722
|
elevation: "16"
|
|
@@ -9785,9 +9726,9 @@ function on(t, e, o, i, a, r) {
|
|
|
9785
9726
|
default: p(() => {
|
|
9786
9727
|
var f, L, _, T, x, D, S, P, k, z;
|
|
9787
9728
|
return [
|
|
9788
|
-
l("div",
|
|
9789
|
-
l("span",
|
|
9790
|
-
(_ = (L = a.activeTropicals) == null ? void 0 : L.history) != null && _.level ? (
|
|
9729
|
+
l("div", Us, [
|
|
9730
|
+
l("span", Gs, y((f = a.activeTropicals) == null ? void 0 : f.name), 1),
|
|
9731
|
+
(_ = (L = a.activeTropicals) == null ? void 0 : L.history) != null && _.level ? (b(), M("span", Vs, ", " + y((x = (T = a.activeTropicals) == null ? void 0 : T.history) == null ? void 0 : x.level), 1)) : B("", !0)
|
|
9791
9732
|
]),
|
|
9792
9733
|
d(s, {
|
|
9793
9734
|
icon: "",
|
|
@@ -9802,9 +9743,9 @@ function on(t, e, o, i, a, r) {
|
|
|
9802
9743
|
_: 1,
|
|
9803
9744
|
__: [5]
|
|
9804
9745
|
}),
|
|
9805
|
-
l("div",
|
|
9746
|
+
l("div", Zs, [
|
|
9806
9747
|
e[6] || (e[6] = l("span", { class: "opacity-70" }, "Last update: ", -1)),
|
|
9807
|
-
l("span", null,
|
|
9748
|
+
l("span", null, y(r.computeTime(((S = (D = a.activeTropicals) == null ? void 0 : D.history) == null ? void 0 : S.updated) || ((z = (k = (P = a.activeTropicals) == null ? void 0 : P.forecasts) == null ? void 0 : k.filter((C) => !C.disabled)[0]) == null ? void 0 : z.date))), 1)
|
|
9808
9749
|
])
|
|
9809
9750
|
];
|
|
9810
9751
|
}),
|
|
@@ -9815,34 +9756,34 @@ function on(t, e, o, i, a, r) {
|
|
|
9815
9756
|
default: p(() => {
|
|
9816
9757
|
var f, L, _, T, x, D, S, P, k;
|
|
9817
9758
|
return [
|
|
9818
|
-
l("div",
|
|
9819
|
-
l("div",
|
|
9759
|
+
l("div", Ys, [
|
|
9760
|
+
l("div", qs, [
|
|
9820
9761
|
e[7] || (e[7] = l("label", { class: "opacity-70 pr-1" }, "Wind speed : ", -1)),
|
|
9821
|
-
l("span", null,
|
|
9822
|
-
l("span", null, ", BF " +
|
|
9762
|
+
l("span", null, y(((L = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : L.kts) || "-") + " kts", 1),
|
|
9763
|
+
l("span", null, ", BF " + y(r.computeBF(((T = (_ = a.activeTropicals) == null ? void 0 : _.history) == null ? void 0 : T.kts) || "-")), 1)
|
|
9823
9764
|
]),
|
|
9824
|
-
l("div",
|
|
9765
|
+
l("div", Xs, [
|
|
9825
9766
|
e[8] || (e[8] = l("label", { class: "opacity-70 pr-1" }, "Pressure : ", -1)),
|
|
9826
|
-
l("span", null,
|
|
9767
|
+
l("span", null, y(((D = (x = a.activeTropicals) == null ? void 0 : x.history) == null ? void 0 : D.pressure) || "-") + " hPa", 1)
|
|
9827
9768
|
])
|
|
9828
9769
|
]),
|
|
9829
|
-
l("div",
|
|
9830
|
-
l("div",
|
|
9770
|
+
l("div", Ks, [
|
|
9771
|
+
l("div", Qs, [
|
|
9831
9772
|
e[9] || (e[9] = l("label", { class: "opacity-70 pr-1" }, "Move Speed : ", -1)),
|
|
9832
|
-
l("span", null,
|
|
9773
|
+
l("span", null, y(((S = r.computeMovement(a.activeTropicals)) == null ? void 0 : S.kts) || "-") + " kts", 1)
|
|
9833
9774
|
]),
|
|
9834
|
-
l("div",
|
|
9775
|
+
l("div", Js, [
|
|
9835
9776
|
e[10] || (e[10] = l("label", { class: "opacity-70 pr-1" }, "Move Dir : ", -1)),
|
|
9836
|
-
l("span", null,
|
|
9777
|
+
l("span", null, y(((P = r.computeMovement(a.activeTropicals)) == null ? void 0 : P.deg) || "-") + "°", 1)
|
|
9837
9778
|
])
|
|
9838
9779
|
]),
|
|
9839
|
-
l("div",
|
|
9780
|
+
l("div", $s, [
|
|
9840
9781
|
e[11] || (e[11] = l("label", {
|
|
9841
9782
|
class: "opacity-70 pr-1",
|
|
9842
9783
|
style: { width: "max-content" }
|
|
9843
9784
|
}, "Forecast Models : ", -1)),
|
|
9844
|
-
l("div",
|
|
9845
|
-
(
|
|
9785
|
+
l("div", en, [
|
|
9786
|
+
(b(!0), M(be, null, we((k = a.activeTropicals) == null ? void 0 : k.forecasts, (z, C) => (b(), O(s, {
|
|
9846
9787
|
key: C,
|
|
9847
9788
|
density: "compact",
|
|
9848
9789
|
variant: z.disabled ? "outlined" : "flat",
|
|
@@ -9851,7 +9792,7 @@ function on(t, e, o, i, a, r) {
|
|
|
9851
9792
|
onClick: (v) => r.handleForecastToggle(z)
|
|
9852
9793
|
}, {
|
|
9853
9794
|
default: p(() => [
|
|
9854
|
-
U(
|
|
9795
|
+
U(y(z.model), 1)
|
|
9855
9796
|
]),
|
|
9856
9797
|
_: 2
|
|
9857
9798
|
}, 1032, ["variant", "color", "class", "onClick"]))), 128))
|
|
@@ -9881,8 +9822,8 @@ function on(t, e, o, i, a, r) {
|
|
|
9881
9822
|
_: 1,
|
|
9882
9823
|
__: [13]
|
|
9883
9824
|
}, 8, ["color"]),
|
|
9884
|
-
l("div",
|
|
9885
|
-
o.permission & a.helper.LEVEL.Supper ? (
|
|
9825
|
+
l("div", tn, [
|
|
9826
|
+
o.permission & a.helper.LEVEL.Supper ? (b(), O(s, {
|
|
9886
9827
|
key: 0,
|
|
9887
9828
|
variant: "text",
|
|
9888
9829
|
density: "compact",
|
|
@@ -9894,7 +9835,7 @@ function on(t, e, o, i, a, r) {
|
|
|
9894
9835
|
])),
|
|
9895
9836
|
_: 1,
|
|
9896
9837
|
__: [14]
|
|
9897
|
-
})) :
|
|
9838
|
+
})) : B("", !0),
|
|
9898
9839
|
d(s, {
|
|
9899
9840
|
variant: "text",
|
|
9900
9841
|
density: "compact",
|
|
@@ -9915,15 +9856,15 @@ function on(t, e, o, i, a, r) {
|
|
|
9915
9856
|
]),
|
|
9916
9857
|
_: 1
|
|
9917
9858
|
}),
|
|
9918
|
-
l("div",
|
|
9919
|
-
|
|
9859
|
+
l("div", on, [
|
|
9860
|
+
Ne(d(g, {
|
|
9920
9861
|
width: "400",
|
|
9921
9862
|
elevation: "16"
|
|
9922
9863
|
}, {
|
|
9923
9864
|
default: p(() => [
|
|
9924
9865
|
d(n, null, {
|
|
9925
9866
|
default: p(() => [
|
|
9926
|
-
|
|
9867
|
+
Ne(l("div", an, e[16] || (e[16] = [
|
|
9927
9868
|
l("div", { class: "legend d-flex justify-start align-center" }, [
|
|
9928
9869
|
l("div", { class: "icon td" }),
|
|
9929
9870
|
l("div", { class: "label" }, "TD")
|
|
@@ -9949,9 +9890,9 @@ function on(t, e, o, i, a, r) {
|
|
|
9949
9890
|
l("div", { class: "label" }, "Super TY")
|
|
9950
9891
|
], -1)
|
|
9951
9892
|
]), 512), [
|
|
9952
|
-
[
|
|
9893
|
+
[Fe, a.showLegend]
|
|
9953
9894
|
]),
|
|
9954
|
-
|
|
9895
|
+
Ne(l("div", rn, e[17] || (e[17] = [
|
|
9955
9896
|
l("div", { class: "legend d-flex justify-start align-center" }, [
|
|
9956
9897
|
l("div", { class: "icon history" }),
|
|
9957
9898
|
l("div", { class: "label" }, "History")
|
|
@@ -9969,7 +9910,7 @@ function on(t, e, o, i, a, r) {
|
|
|
9969
9910
|
l("div", { class: "label" }, "50kts Radii")
|
|
9970
9911
|
], -1)
|
|
9971
9912
|
]), 512), [
|
|
9972
|
-
[
|
|
9913
|
+
[Fe, a.showLegend]
|
|
9973
9914
|
])
|
|
9974
9915
|
]),
|
|
9975
9916
|
_: 1
|
|
@@ -9977,16 +9918,16 @@ function on(t, e, o, i, a, r) {
|
|
|
9977
9918
|
]),
|
|
9978
9919
|
_: 1
|
|
9979
9920
|
}, 512), [
|
|
9980
|
-
[
|
|
9921
|
+
[Fe, a.showLegend]
|
|
9981
9922
|
])
|
|
9982
9923
|
])
|
|
9983
9924
|
], 512), [
|
|
9984
|
-
[
|
|
9925
|
+
[Fe, a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend]
|
|
9985
9926
|
])
|
|
9986
9927
|
]);
|
|
9987
9928
|
}
|
|
9988
|
-
const Ya = /* @__PURE__ */ V(
|
|
9989
|
-
const
|
|
9929
|
+
const Ya = /* @__PURE__ */ V(Fs, [["render", ln]]);
|
|
9930
|
+
const sn = {
|
|
9990
9931
|
name: "DateTimePicker",
|
|
9991
9932
|
props: {
|
|
9992
9933
|
locale: {
|
|
@@ -10127,19 +10068,19 @@ const an = {
|
|
|
10127
10068
|
this.currentDate = t.clone().format("YYYY-MM-DD"), this.currentTime = t.clone().format("HH:00");
|
|
10128
10069
|
}
|
|
10129
10070
|
}
|
|
10130
|
-
},
|
|
10071
|
+
}, nn = { class: "idm-gl4-timepicker" }, cn = {
|
|
10131
10072
|
class: "pa-0",
|
|
10132
10073
|
style: { width: "250px" }
|
|
10133
|
-
},
|
|
10074
|
+
}, mn = {
|
|
10134
10075
|
class: "h-100 pa-0 d-flex flex-column justify-start align-center",
|
|
10135
10076
|
style: { width: "100px" }
|
|
10136
|
-
},
|
|
10077
|
+
}, dn = {
|
|
10137
10078
|
class: "d-flex justify-center align-center text-body-2",
|
|
10138
10079
|
style: { height: "56px" }
|
|
10139
10080
|
};
|
|
10140
|
-
function
|
|
10081
|
+
function hn(t, e, o, i, a, r) {
|
|
10141
10082
|
const s = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), h = w("VListItem"), g = w("VList"), f = w("VCardText"), L = w("VCardActions"), _ = w("VCard");
|
|
10142
|
-
return
|
|
10083
|
+
return b(), M("div", nn, [
|
|
10143
10084
|
d(s, {
|
|
10144
10085
|
text: "",
|
|
10145
10086
|
height: "30",
|
|
@@ -10147,18 +10088,18 @@ function cn(t, e, o, i, a, r) {
|
|
|
10147
10088
|
onClick: r.handleOpenDatePicker
|
|
10148
10089
|
}, {
|
|
10149
10090
|
default: p(() => [
|
|
10150
|
-
U(
|
|
10091
|
+
U(y(a.currentDateTime) + " | UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
|
|
10151
10092
|
]),
|
|
10152
10093
|
_: 1
|
|
10153
10094
|
}, 8, ["onClick"]),
|
|
10154
|
-
a.showDatePicker ? (
|
|
10095
|
+
a.showDatePicker ? (b(), O(_, {
|
|
10155
10096
|
key: 0,
|
|
10156
10097
|
class: "card-box d-flex flex-column"
|
|
10157
10098
|
}, {
|
|
10158
10099
|
default: p(() => [
|
|
10159
10100
|
d(f, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
10160
10101
|
default: p(() => [
|
|
10161
|
-
l("div",
|
|
10102
|
+
l("div", cn, [
|
|
10162
10103
|
d(c, {
|
|
10163
10104
|
modelValue: a.currentDate,
|
|
10164
10105
|
"onUpdate:modelValue": e[0] || (e[0] = (T) => a.currentDate = T),
|
|
@@ -10177,11 +10118,11 @@ function cn(t, e, o, i, a, r) {
|
|
|
10177
10118
|
class: "h-100",
|
|
10178
10119
|
vertical: ""
|
|
10179
10120
|
}),
|
|
10180
|
-
l("div",
|
|
10181
|
-
l("div",
|
|
10121
|
+
l("div", mn, [
|
|
10122
|
+
l("div", dn, y(a.currentTime), 1),
|
|
10182
10123
|
d(g, { class: "pa-0 flex-1-1-0" }, {
|
|
10183
10124
|
default: p(() => [
|
|
10184
|
-
(
|
|
10125
|
+
(b(!0), M(be, null, we(r.hourOptions, (T, x) => (b(), O(h, {
|
|
10185
10126
|
key: x,
|
|
10186
10127
|
value: T,
|
|
10187
10128
|
color: "primary",
|
|
@@ -10196,7 +10137,7 @@ function cn(t, e, o, i, a, r) {
|
|
|
10196
10137
|
onClick: (D) => a.currentTime = T
|
|
10197
10138
|
}, {
|
|
10198
10139
|
default: p(() => [
|
|
10199
|
-
U(
|
|
10140
|
+
U(y(T), 1)
|
|
10200
10141
|
]),
|
|
10201
10142
|
_: 2
|
|
10202
10143
|
}, 1032, ["onClick"])
|
|
@@ -10246,11 +10187,11 @@ function cn(t, e, o, i, a, r) {
|
|
|
10246
10187
|
})
|
|
10247
10188
|
]),
|
|
10248
10189
|
_: 1
|
|
10249
|
-
})) :
|
|
10190
|
+
})) : B("", !0)
|
|
10250
10191
|
]);
|
|
10251
10192
|
}
|
|
10252
|
-
const lo = /* @__PURE__ */ V(
|
|
10253
|
-
const
|
|
10193
|
+
const lo = /* @__PURE__ */ V(sn, [["render", hn]]);
|
|
10194
|
+
const pn = {
|
|
10254
10195
|
name: "IdmPoint",
|
|
10255
10196
|
components: {
|
|
10256
10197
|
DateTimePicker: lo
|
|
@@ -10558,10 +10499,7 @@ const mn = {
|
|
|
10558
10499
|
this.$emit("follow", this.point);
|
|
10559
10500
|
}
|
|
10560
10501
|
}
|
|
10561
|
-
},
|
|
10562
|
-
class: "multi-color-icon",
|
|
10563
|
-
"aria-hidden": "true"
|
|
10564
|
-
}, un = ["xlink:href"], gn = { class: "d-flex justify-start align-center ga-1 mb-1" }, fn = {
|
|
10502
|
+
}, un = { class: "idm-gl4-spot" }, gn = { class: "d-flex justify-start align-center ga-1 mb-1" }, fn = {
|
|
10565
10503
|
class: "multi-color-icon",
|
|
10566
10504
|
"aria-hidden": "true"
|
|
10567
10505
|
}, yn = ["xlink:href"], bn = { class: "d-flex justify-start align-center ga-1 mb-1" }, wn = {
|
|
@@ -10570,10 +10508,13 @@ const mn = {
|
|
|
10570
10508
|
}, xn = ["xlink:href"], vn = { class: "d-flex justify-start align-center ga-1 mb-1" }, _n = {
|
|
10571
10509
|
class: "multi-color-icon",
|
|
10572
10510
|
"aria-hidden": "true"
|
|
10573
|
-
}, kn = ["xlink:href"], zn = { class: "d-flex justify-start align-center" }, Ln = {
|
|
10574
|
-
|
|
10511
|
+
}, kn = ["xlink:href"], zn = { class: "d-flex justify-start align-center ga-1 mb-1" }, Ln = {
|
|
10512
|
+
class: "multi-color-icon",
|
|
10513
|
+
"aria-hidden": "true"
|
|
10514
|
+
}, Pn = ["xlink:href"], Cn = { class: "d-flex justify-start align-center" }, Tn = { class: "mx-2" };
|
|
10515
|
+
function Sn(t, e, o, i, a, r) {
|
|
10575
10516
|
const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), h = w("VTextField"), g = w("VCol"), f = w("VRow"), L = w("DateTimePicker"), _ = w("VBtnToggle"), T = w("VCardActions"), x = w("VForm"), D = w("VCardText"), S = w("VCard"), P = w("VIcon");
|
|
10576
|
-
return
|
|
10517
|
+
return b(), M("div", un, [
|
|
10577
10518
|
l("div", {
|
|
10578
10519
|
class: "menu-bar-box transition pa-1",
|
|
10579
10520
|
style: ae({ top: o.top + 174 + "px", right: a.right + "px" })
|
|
@@ -10600,7 +10541,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
10600
10541
|
_: 1
|
|
10601
10542
|
}, 8, ["text"])
|
|
10602
10543
|
], 4),
|
|
10603
|
-
a.showForm ? (
|
|
10544
|
+
a.showForm ? (b(), O(S, {
|
|
10604
10545
|
key: 0,
|
|
10605
10546
|
class: "spot-form-card",
|
|
10606
10547
|
style: ae({ top: o.top + 174 + "px", right: a.right + 50 + "px" })
|
|
@@ -10638,11 +10579,11 @@ function Pn(t, e, o, i, a, r) {
|
|
|
10638
10579
|
onSubmit: io(r.submitForm, ["prevent"])
|
|
10639
10580
|
}, {
|
|
10640
10581
|
default: p(() => [
|
|
10641
|
-
l("div",
|
|
10642
|
-
(
|
|
10582
|
+
l("div", gn, [
|
|
10583
|
+
(b(), M("svg", fn, [
|
|
10643
10584
|
l("use", {
|
|
10644
10585
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
10645
|
-
}, null, 8,
|
|
10586
|
+
}, null, 8, yn)
|
|
10646
10587
|
])),
|
|
10647
10588
|
e[11] || (e[11] = l("div", null, "Lng", -1))
|
|
10648
10589
|
]),
|
|
@@ -10703,7 +10644,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
10703
10644
|
onClick: e[2] || (e[2] = (k) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
|
|
10704
10645
|
}, {
|
|
10705
10646
|
default: p(() => [
|
|
10706
|
-
U(
|
|
10647
|
+
U(y(a.form.lngDirection), 1)
|
|
10707
10648
|
]),
|
|
10708
10649
|
_: 1
|
|
10709
10650
|
})
|
|
@@ -10713,11 +10654,11 @@ function Pn(t, e, o, i, a, r) {
|
|
|
10713
10654
|
]),
|
|
10714
10655
|
_: 1
|
|
10715
10656
|
}),
|
|
10716
|
-
l("div",
|
|
10717
|
-
(
|
|
10657
|
+
l("div", bn, [
|
|
10658
|
+
(b(), M("svg", wn, [
|
|
10718
10659
|
l("use", {
|
|
10719
10660
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
10720
|
-
}, null, 8,
|
|
10661
|
+
}, null, 8, xn)
|
|
10721
10662
|
])),
|
|
10722
10663
|
e[14] || (e[14] = l("div", null, "Lat", -1))
|
|
10723
10664
|
]),
|
|
@@ -10781,7 +10722,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
10781
10722
|
onClick: e[5] || (e[5] = (k) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
|
|
10782
10723
|
}, {
|
|
10783
10724
|
default: p(() => [
|
|
10784
|
-
U(
|
|
10725
|
+
U(y(a.form.latDirection), 1)
|
|
10785
10726
|
]),
|
|
10786
10727
|
_: 1
|
|
10787
10728
|
})
|
|
@@ -10791,11 +10732,11 @@ function Pn(t, e, o, i, a, r) {
|
|
|
10791
10732
|
]),
|
|
10792
10733
|
_: 1
|
|
10793
10734
|
}),
|
|
10794
|
-
l("div",
|
|
10795
|
-
(
|
|
10735
|
+
l("div", vn, [
|
|
10736
|
+
(b(), M("svg", _n, [
|
|
10796
10737
|
l("use", {
|
|
10797
10738
|
"xlink:href": `#icon-date-time-${o.theme}`
|
|
10798
|
-
}, null, 8,
|
|
10739
|
+
}, null, 8, kn)
|
|
10799
10740
|
])),
|
|
10800
10741
|
e[17] || (e[17] = l("div", null, "Date Time", -1))
|
|
10801
10742
|
]),
|
|
@@ -10818,11 +10759,11 @@ function Pn(t, e, o, i, a, r) {
|
|
|
10818
10759
|
]),
|
|
10819
10760
|
_: 1
|
|
10820
10761
|
}),
|
|
10821
|
-
l("div",
|
|
10822
|
-
(
|
|
10762
|
+
l("div", zn, [
|
|
10763
|
+
(b(), M("svg", Ln, [
|
|
10823
10764
|
l("use", {
|
|
10824
10765
|
"xlink:href": `#icon-forecast-model-${o.theme}`
|
|
10825
|
-
}, null, 8,
|
|
10766
|
+
}, null, 8, Pn)
|
|
10826
10767
|
])),
|
|
10827
10768
|
e[18] || (e[18] = l("div", null, "Forecast Model", -1))
|
|
10828
10769
|
]),
|
|
@@ -10921,8 +10862,8 @@ function Pn(t, e, o, i, a, r) {
|
|
|
10921
10862
|
})
|
|
10922
10863
|
]),
|
|
10923
10864
|
_: 1
|
|
10924
|
-
}, 8, ["style"])) :
|
|
10925
|
-
|
|
10865
|
+
}, 8, ["style"])) : B("", !0),
|
|
10866
|
+
Ne(d(S, {
|
|
10926
10867
|
id: "idm-gl4-spot-meteo",
|
|
10927
10868
|
class: "spot-meteo",
|
|
10928
10869
|
style: { width: "490px", "z-index": "9" }
|
|
@@ -10932,9 +10873,9 @@ function Pn(t, e, o, i, a, r) {
|
|
|
10932
10873
|
default: p(() => {
|
|
10933
10874
|
var k, z, C, v;
|
|
10934
10875
|
return [
|
|
10935
|
-
l("div",
|
|
10876
|
+
l("div", Cn, [
|
|
10936
10877
|
e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
|
|
10937
|
-
l("div",
|
|
10878
|
+
l("div", Tn, y(r.computeLat(((k = a.form) == null ? void 0 : k.lat) || ((z = a.currentHourData) == null ? void 0 : z.lat))) + "," + y(r.computeLng(((C = a.form) == null ? void 0 : C.lng) || ((v = a.currentHourData) == null ? void 0 : v.lng))), 1)
|
|
10938
10879
|
]),
|
|
10939
10880
|
d(s, {
|
|
10940
10881
|
class: "mr-n2",
|
|
@@ -10978,7 +10919,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
10978
10919
|
default: p(() => {
|
|
10979
10920
|
var k;
|
|
10980
10921
|
return [
|
|
10981
|
-
U(
|
|
10922
|
+
U(y(r.computedTzTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
|
|
10982
10923
|
];
|
|
10983
10924
|
}),
|
|
10984
10925
|
_: 1
|
|
@@ -11005,7 +10946,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
11005
10946
|
default: p(() => {
|
|
11006
10947
|
var k;
|
|
11007
10948
|
return [
|
|
11008
|
-
U(
|
|
10949
|
+
U(y(r.computedLocalTime((k = a.currentHourData) == null ? void 0 : k.utc)), 1)
|
|
11009
10950
|
];
|
|
11010
10951
|
}),
|
|
11011
10952
|
_: 1
|
|
@@ -11030,7 +10971,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
11030
10971
|
class: "pa-2 px-0 text-left"
|
|
11031
10972
|
}, {
|
|
11032
10973
|
default: p(() => [
|
|
11033
|
-
U(
|
|
10974
|
+
U(y(a.currentHourData.windDir) + " / " + y(a.currentHourData.windSpeed) + "kts / BF" + y(a.currentHourData.windLevel), 1)
|
|
11034
10975
|
]),
|
|
11035
10976
|
_: 1
|
|
11036
10977
|
}),
|
|
@@ -11049,7 +10990,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
11049
10990
|
class: "pa-2 px-0 text-left"
|
|
11050
10991
|
}, {
|
|
11051
10992
|
default: p(() => [
|
|
11052
|
-
U(
|
|
10993
|
+
U(y(a.currentHourData.sigwaveDir) + " / " + y(a.currentHourData.sigwaveHeight) + "m / " + y(a.currentHourData.sigwavePeriod) + "s", 1)
|
|
11053
10994
|
]),
|
|
11054
10995
|
_: 1
|
|
11055
10996
|
})
|
|
@@ -11073,7 +11014,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
11073
11014
|
class: "pa-2 px-0 text-left"
|
|
11074
11015
|
}, {
|
|
11075
11016
|
default: p(() => [
|
|
11076
|
-
U(
|
|
11017
|
+
U(y(a.currentHourData.windwaveDir) + " / " + y(a.currentHourData.windwaveHeight) + "m / " + y(a.currentHourData.windwavePeriod) + "s", 1)
|
|
11077
11018
|
]),
|
|
11078
11019
|
_: 1
|
|
11079
11020
|
}),
|
|
@@ -11092,7 +11033,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
11092
11033
|
class: "pa-2 px-0 text-left"
|
|
11093
11034
|
}, {
|
|
11094
11035
|
default: p(() => [
|
|
11095
|
-
U(
|
|
11036
|
+
U(y(a.currentHourData.swellDir) + " / " + y(a.currentHourData.swellHeight) + "m / " + y(a.currentHourData.swellPeriod) + "s", 1)
|
|
11096
11037
|
]),
|
|
11097
11038
|
_: 1
|
|
11098
11039
|
})
|
|
@@ -11116,7 +11057,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
11116
11057
|
class: "pa-2 px-0 text-left"
|
|
11117
11058
|
}, {
|
|
11118
11059
|
default: p(() => [
|
|
11119
|
-
U(
|
|
11060
|
+
U(y(a.currentHourData.currentDir) + " / " + y(a.currentHourData.currentSpeed) + "kts", 1)
|
|
11120
11061
|
]),
|
|
11121
11062
|
_: 1
|
|
11122
11063
|
}),
|
|
@@ -11135,7 +11076,7 @@ function Pn(t, e, o, i, a, r) {
|
|
|
11135
11076
|
class: "pa-2 px-0 text-left"
|
|
11136
11077
|
}, {
|
|
11137
11078
|
default: p(() => [
|
|
11138
|
-
U(
|
|
11079
|
+
U(y(a.currentHourData.visibility) + " nm", 1)
|
|
11139
11080
|
]),
|
|
11140
11081
|
_: 1
|
|
11141
11082
|
})
|
|
@@ -11183,12 +11124,12 @@ function Pn(t, e, o, i, a, r) {
|
|
|
11183
11124
|
]),
|
|
11184
11125
|
_: 1
|
|
11185
11126
|
}, 512), [
|
|
11186
|
-
[
|
|
11127
|
+
[Fe, a.showMeteo]
|
|
11187
11128
|
])
|
|
11188
11129
|
]);
|
|
11189
11130
|
}
|
|
11190
|
-
const
|
|
11191
|
-
const
|
|
11131
|
+
const Mn = /* @__PURE__ */ V(pn, [["render", Sn]]);
|
|
11132
|
+
const In = {
|
|
11192
11133
|
name: "IdmMeasure",
|
|
11193
11134
|
props: {
|
|
11194
11135
|
map: {
|
|
@@ -11360,10 +11301,10 @@ const Tn = {
|
|
|
11360
11301
|
let o = 0;
|
|
11361
11302
|
const i = [];
|
|
11362
11303
|
for (let a = 1; a < e.length; a++) {
|
|
11363
|
-
const r = e[a - 1], s = e[a], c = r.properties, n = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, u = { lng: s.geometry.coordinates[0], lat: s.geometry.coordinates[1] }, h =
|
|
11304
|
+
const r = e[a - 1], s = e[a], c = r.properties, n = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] }, u = { lng: s.geometry.coordinates[0], lat: s.geometry.coordinates[1] }, h = We.calculateDistance(n, u, c.mode === "RL", 4), g = We.calculateBearing(n, u, c.mode === "RL", 2);
|
|
11364
11305
|
o = K.roundPrecision(o + h, 4);
|
|
11365
11306
|
let f;
|
|
11366
|
-
c.mode === "RL" ? f = K.convertToMonotonicLng([n, u]) : f = K.convertToMonotonicLng(
|
|
11307
|
+
c.mode === "RL" ? f = K.convertToMonotonicLng([n, u]) : f = K.convertToMonotonicLng(We.interpolateCoordinates(n, u, 200));
|
|
11367
11308
|
const L = N.lineString(f.map((T) => [T.lng, T.lat]));
|
|
11368
11309
|
L.properties.dist = h, L.properties.bearing = g, L.properties.total = o, L.properties.name = "Line " + this.currentLineIndex, i.push(L);
|
|
11369
11310
|
const _ = e[a];
|
|
@@ -11378,17 +11319,17 @@ const Tn = {
|
|
|
11378
11319
|
let r, s;
|
|
11379
11320
|
if (e) {
|
|
11380
11321
|
const n = e.properties, u = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, h = { lng: o.lng, lat: o.lat };
|
|
11381
|
-
r =
|
|
11322
|
+
r = We.calculateDistance(u, h, n.mode === "RL", 4), s = We.calculateBearing(u, h, n.mode === "RL", 2);
|
|
11382
11323
|
let g;
|
|
11383
|
-
n.mode === "RL" ? g = K.convertToMonotonicLng([u, h]) : g = K.convertToMonotonicLng(
|
|
11324
|
+
n.mode === "RL" ? g = K.convertToMonotonicLng([u, h]) : g = K.convertToMonotonicLng(We.interpolateCoordinates(u, h, 200));
|
|
11384
11325
|
const f = N.lineString(g.map((L) => [L.lng, L.lat]));
|
|
11385
11326
|
f.properties.dist = r, f.properties.bearing = s, a.features.push(f);
|
|
11386
11327
|
}
|
|
11387
11328
|
if (i) {
|
|
11388
11329
|
const n = o.properties, u = o, h = { lng: i.geometry.coordinates[0], lat: i.geometry.coordinates[1] };
|
|
11389
|
-
r =
|
|
11330
|
+
r = We.calculateDistance(u, h, n.mode === "RL", 4), s = We.calculateBearing(u, h, n.mode === "RL", 2);
|
|
11390
11331
|
let g;
|
|
11391
|
-
n.mode === "RL" ? g = K.convertToMonotonicLng([u, h]) : g = K.convertToMonotonicLng(
|
|
11332
|
+
n.mode === "RL" ? g = K.convertToMonotonicLng([u, h]) : g = K.convertToMonotonicLng(We.interpolateCoordinates(u, h, 200));
|
|
11392
11333
|
const f = N.lineString(g.map((L) => [L.lng, L.lat]));
|
|
11393
11334
|
f.properties.dist = r, f.properties.bearing = s, a.features.push(f);
|
|
11394
11335
|
}
|
|
@@ -11538,10 +11479,10 @@ const Tn = {
|
|
|
11538
11479
|
}), this.pointMarkers[t.id] = [], (L = this.tipMarker) == null || L.remove(), this.tipMarker = void 0, e && ((_ = this.map) != null && _.getSource(o)) && this.map.removeSource(o), e && ((T = this.map) != null && T.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
|
|
11539
11480
|
}
|
|
11540
11481
|
}
|
|
11541
|
-
},
|
|
11542
|
-
function
|
|
11482
|
+
}, An = { class: "idm-gl4-measure" };
|
|
11483
|
+
function Dn(t, e, o, i, a, r) {
|
|
11543
11484
|
const s = w("VBtn"), c = w("VTooltip");
|
|
11544
|
-
return
|
|
11485
|
+
return b(), M("div", An, [
|
|
11545
11486
|
l("div", {
|
|
11546
11487
|
class: "menu-bar-box transition pa-1",
|
|
11547
11488
|
style: ae({ top: o.top + 214 + "px", right: a.right + "px" })
|
|
@@ -11570,8 +11511,8 @@ function Mn(t, e, o, i, a, r) {
|
|
|
11570
11511
|
], 4)
|
|
11571
11512
|
]);
|
|
11572
11513
|
}
|
|
11573
|
-
const
|
|
11574
|
-
const
|
|
11514
|
+
const Rn = /* @__PURE__ */ V(In, [["render", Dn]]);
|
|
11515
|
+
const On = {
|
|
11575
11516
|
name: "IdmBottomBar",
|
|
11576
11517
|
components: { DateTimePicker: lo },
|
|
11577
11518
|
props: {
|
|
@@ -11689,18 +11630,18 @@ const An = {
|
|
|
11689
11630
|
this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
|
|
11690
11631
|
}
|
|
11691
11632
|
}
|
|
11692
|
-
},
|
|
11633
|
+
}, Bn = { class: "idm-bottom-bar-gl4" }, En = { class: "date-box d-flex ga-2 mr-2" }, jn = { class: "play-btns-box d-flex justify-center align-center cursor-pointer" }, Nn = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, Fn = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Hn = {
|
|
11693
11634
|
key: 0,
|
|
11694
11635
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
11695
|
-
},
|
|
11696
|
-
function
|
|
11636
|
+
}, Wn = ["onClick"], Un = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Gn = { class: "text-body-1" };
|
|
11637
|
+
function Vn(t, e, o, i, a, r) {
|
|
11697
11638
|
const s = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), h = w("VMenu"), g = w("VBtn"), f = w("VDivider"), L = w("VTooltip");
|
|
11698
|
-
return
|
|
11639
|
+
return b(), M("div", Bn, [
|
|
11699
11640
|
l("div", {
|
|
11700
11641
|
class: "timeline-box px-2 d-flex justify-start align-center rounded",
|
|
11701
11642
|
style: ae({ right: a.right + 146 + "px", bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
|
|
11702
11643
|
}, [
|
|
11703
|
-
l("div",
|
|
11644
|
+
l("div", En, [
|
|
11704
11645
|
d(s, j({
|
|
11705
11646
|
ref: "dateTimePicker",
|
|
11706
11647
|
"date-time": a.currentDateTimeZ,
|
|
@@ -11719,12 +11660,12 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11719
11660
|
"min-width": "30"
|
|
11720
11661
|
}, {
|
|
11721
11662
|
default: p(() => [
|
|
11722
|
-
U(
|
|
11663
|
+
U(y(a.intervalHour) + " h ", 1),
|
|
11723
11664
|
d(h, { activator: "parent" }, {
|
|
11724
11665
|
default: p(() => [
|
|
11725
11666
|
d(u, { class: "pa-1" }, {
|
|
11726
11667
|
default: p(() => [
|
|
11727
|
-
(
|
|
11668
|
+
(b(!0), M(be, null, we(a.intervalOptions, (_, T) => (b(), O(n, {
|
|
11728
11669
|
key: T,
|
|
11729
11670
|
value: _,
|
|
11730
11671
|
variant: a.intervalHour === _ ? "tonal" : "text",
|
|
@@ -11741,7 +11682,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11741
11682
|
onClick: (x) => a.intervalHour = _
|
|
11742
11683
|
}, {
|
|
11743
11684
|
default: p(() => [
|
|
11744
|
-
U(
|
|
11685
|
+
U(y(_) + "h", 1)
|
|
11745
11686
|
]),
|
|
11746
11687
|
_: 2
|
|
11747
11688
|
}, 1032, ["onClick"])
|
|
@@ -11763,7 +11704,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11763
11704
|
class: "mx-2 my-3",
|
|
11764
11705
|
style: { height: "16px" }
|
|
11765
11706
|
}),
|
|
11766
|
-
l("div",
|
|
11707
|
+
l("div", jn, [
|
|
11767
11708
|
d(g, {
|
|
11768
11709
|
icon: "",
|
|
11769
11710
|
size: "small",
|
|
@@ -11790,7 +11731,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11790
11731
|
_: 1,
|
|
11791
11732
|
__: [10]
|
|
11792
11733
|
}, 8, ["onClick"]),
|
|
11793
|
-
a.paused ? (
|
|
11734
|
+
a.paused ? (b(), O(g, {
|
|
11794
11735
|
key: 0,
|
|
11795
11736
|
icon: "",
|
|
11796
11737
|
size: "small",
|
|
@@ -11803,7 +11744,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11803
11744
|
])),
|
|
11804
11745
|
_: 1,
|
|
11805
11746
|
__: [11]
|
|
11806
|
-
}, 8, ["onClick"])) : (
|
|
11747
|
+
}, 8, ["onClick"])) : (b(), O(g, {
|
|
11807
11748
|
key: 1,
|
|
11808
11749
|
icon: "",
|
|
11809
11750
|
size: "small",
|
|
@@ -11836,7 +11777,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11836
11777
|
class: "mx-2 my-3",
|
|
11837
11778
|
style: { height: "16px" }
|
|
11838
11779
|
}),
|
|
11839
|
-
l("div",
|
|
11780
|
+
l("div", Nn, [
|
|
11840
11781
|
d(L, {
|
|
11841
11782
|
text: t.$t("weather.windBarbs"),
|
|
11842
11783
|
location: "top"
|
|
@@ -11940,7 +11881,7 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11940
11881
|
class: "mx-2 mr-3 my-3",
|
|
11941
11882
|
style: { height: "16px" }
|
|
11942
11883
|
}),
|
|
11943
|
-
l("div",
|
|
11884
|
+
l("div", Fn, [
|
|
11944
11885
|
d(g, {
|
|
11945
11886
|
text: "",
|
|
11946
11887
|
height: "30",
|
|
@@ -11973,14 +11914,14 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11973
11914
|
class: "timezone-box d-flex flex-column justify-space-between align-end",
|
|
11974
11915
|
style: ae({ right: a.right + "px" })
|
|
11975
11916
|
}, [
|
|
11976
|
-
a.showTimezone ? (
|
|
11977
|
-
(
|
|
11917
|
+
a.showTimezone ? (b(), M("div", Hn, [
|
|
11918
|
+
(b(!0), M(be, null, we(a.offsets, (_) => (b(), M("div", {
|
|
11978
11919
|
key: _,
|
|
11979
11920
|
class: "item rounded text-body-2 hover-active",
|
|
11980
11921
|
onClick: (T) => a.timeZone = _
|
|
11981
|
-
},
|
|
11982
|
-
])) :
|
|
11983
|
-
l("div",
|
|
11922
|
+
}, y(_ < 0 ? _ : "+" + _), 9, Wn))), 128))
|
|
11923
|
+
])) : B("", !0),
|
|
11924
|
+
l("div", Un, [
|
|
11984
11925
|
d(g, {
|
|
11985
11926
|
text: "",
|
|
11986
11927
|
variant: "flat",
|
|
@@ -11990,24 +11931,24 @@ function Wn(t, e, o, i, a, r) {
|
|
|
11990
11931
|
onClick: e[8] || (e[8] = (_) => a.showTimezone = !a.showTimezone)
|
|
11991
11932
|
}, {
|
|
11992
11933
|
default: p(() => [
|
|
11993
|
-
U(" UTC " +
|
|
11934
|
+
U(" UTC " + y(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
11994
11935
|
]),
|
|
11995
11936
|
_: 1
|
|
11996
11937
|
}),
|
|
11997
|
-
l("span",
|
|
11938
|
+
l("span", Gn, y(a.currentRealTime), 1)
|
|
11998
11939
|
])
|
|
11999
11940
|
], 4)
|
|
12000
11941
|
]);
|
|
12001
11942
|
}
|
|
12002
|
-
const
|
|
11943
|
+
const Zn = /* @__PURE__ */ V(On, [["render", Vn]]), Yn = {
|
|
12003
11944
|
name: "IdmGL4",
|
|
12004
11945
|
components: {
|
|
12005
|
-
IdmOtherLayer:
|
|
12006
|
-
IdmWeatherLayer:
|
|
11946
|
+
IdmOtherLayer: el,
|
|
11947
|
+
IdmWeatherLayer: Ns,
|
|
12007
11948
|
IdmTropicals: Ya,
|
|
12008
|
-
IdmMeasure:
|
|
12009
|
-
IdmSpot:
|
|
12010
|
-
IdmBottomBar:
|
|
11949
|
+
IdmMeasure: Rn,
|
|
11950
|
+
IdmSpot: Mn,
|
|
11951
|
+
IdmBottomBar: Zn
|
|
12011
11952
|
},
|
|
12012
11953
|
props: {
|
|
12013
11954
|
map: {
|
|
@@ -12059,13 +12000,13 @@ const Un = /* @__PURE__ */ V(An, [["render", Wn]]), Gn = {
|
|
|
12059
12000
|
}
|
|
12060
12001
|
},
|
|
12061
12002
|
methods: {}
|
|
12062
|
-
},
|
|
12003
|
+
}, qn = {
|
|
12063
12004
|
ref: "mapHomeGl4",
|
|
12064
12005
|
class: "map-gl4-home"
|
|
12065
12006
|
};
|
|
12066
|
-
function
|
|
12007
|
+
function Xn(t, e, o, i, a, r) {
|
|
12067
12008
|
const s = w("IdmOtherLayer"), c = w("IdmWeatherLayer"), n = w("IdmTropicals"), u = w("IdmMeasure"), h = w("IdmSpot"), g = w("IdmBottomBar");
|
|
12068
|
-
return
|
|
12009
|
+
return b(), M("div", qn, [
|
|
12069
12010
|
d(s, j({
|
|
12070
12011
|
ref: "idmOtherLayers",
|
|
12071
12012
|
token: o.token,
|
|
@@ -12130,8 +12071,8 @@ function Zn(t, e, o, i, a, r) {
|
|
|
12130
12071
|
}, t.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather"])
|
|
12131
12072
|
], 512);
|
|
12132
12073
|
}
|
|
12133
|
-
const
|
|
12134
|
-
class
|
|
12074
|
+
const Kn = /* @__PURE__ */ V(Yn, [["render", Xn]]);
|
|
12075
|
+
class Qn {
|
|
12135
12076
|
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
12136
12077
|
se(this, "originStyle");
|
|
12137
12078
|
se(this, "mapboxStyle");
|
|
@@ -12139,7 +12080,7 @@ class qn {
|
|
|
12139
12080
|
se(this, "hi");
|
|
12140
12081
|
se(this, "td");
|
|
12141
12082
|
se(this, "windy");
|
|
12142
|
-
var o, i, a, r, s, c, n, u, h, g, f, L, _, T, x, D, S, P, k, z, C, v, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Se, Me, Ie, Ae, De, ve, H, ee, je, Ce, he, fe, W, ze, $, re, Re,
|
|
12083
|
+
var o, i, a, r, s, c, n, u, h, g, f, L, _, T, x, D, S, P, k, z, C, v, A, Z, q, X, Y, te, oe, J, le, pe, ue, ce, Q, ie, ge, me, F, de, ke, Se, Me, Ie, Ae, De, ve, H, ee, je, Ce, he, fe, W, ze, $, re, Re, E, ye, Te, Oe, Be, R, G, Ge, Ve, Ze, Pe, Ye, qe, Xe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, Tt, St, Mt, It, At, Dt, Rt, Ot, Bt, Et, jt, Nt, Ft, Ht, Wt, Ut, Gt, Vt, Zt, Yt, qt, Xt, Kt, Qt, Jt, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, To, So, Mo, Io, Ao, Do, Ro, Oo, Bo, Eo, jo, No, Fo, Ho, Wo, Uo, Go, Vo, Zo, Yo, qo, Xo, Ko, Qo, Jo, $o, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ca, Ta, Sa, Ma, Ia, Aa, Da, Ra, Oa, Ba, Ea, ja, Na, Fa, Ha, Wa;
|
|
12143
12084
|
this.i4 = {
|
|
12144
12085
|
source: {
|
|
12145
12086
|
type: "raster",
|
|
@@ -30758,7 +30699,7 @@ class qn {
|
|
|
30758
30699
|
range: [0.5, 10]
|
|
30759
30700
|
},
|
|
30760
30701
|
sources: (Re = this.originStyle) == null ? void 0 : Re.dark.sources,
|
|
30761
|
-
sprite: (
|
|
30702
|
+
sprite: (E = this.originStyle) == null ? void 0 : E.dark.sprite,
|
|
30762
30703
|
glyphs: (ye = this.originStyle) == null ? void 0 : ye.dark.glyphs,
|
|
30763
30704
|
projection: (Te = this.originStyle) == null ? void 0 : Te.dark.projection,
|
|
30764
30705
|
id: "cmdqwez32005b01re2w0k3zk4",
|
|
@@ -30890,7 +30831,7 @@ class qn {
|
|
|
30890
30831
|
};
|
|
30891
30832
|
}
|
|
30892
30833
|
}
|
|
30893
|
-
const
|
|
30834
|
+
const Jn = {
|
|
30894
30835
|
name: "MapInitial",
|
|
30895
30836
|
props: {
|
|
30896
30837
|
token: {
|
|
@@ -30946,7 +30887,7 @@ const Xn = {
|
|
|
30946
30887
|
methods: {
|
|
30947
30888
|
async initOnlineMap() {
|
|
30948
30889
|
var e;
|
|
30949
|
-
(e = this.map) == null || e.remove(), this.map = void 0, this.helper = new
|
|
30890
|
+
(e = this.map) == null || e.remove(), this.map = void 0, this.helper = new Qn(this.token), xe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
|
|
30950
30891
|
const t = new xe.Map({
|
|
30951
30892
|
container: "map",
|
|
30952
30893
|
// style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
|
|
@@ -30986,16 +30927,16 @@ const Xn = {
|
|
|
30986
30927
|
this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
|
|
30987
30928
|
}
|
|
30988
30929
|
}
|
|
30989
|
-
},
|
|
30990
|
-
function
|
|
30930
|
+
}, $n = { class: "mapbox-initial-gl4" }, ec = { class: "v-btn--variant-elevated rounded" }, tc = { class: "zoom" }, oc = { class: "position-absolute left-0 bottom-0 ma-2 my-1 text-body-2 text-label" };
|
|
30931
|
+
function ac(t, e, o, i, a, r) {
|
|
30991
30932
|
const s = w("VBtn");
|
|
30992
|
-
return
|
|
30933
|
+
return b(), M("div", $n, [
|
|
30993
30934
|
e[5] || (e[5] = l("div", { id: "map" }, null, -1)),
|
|
30994
30935
|
l("div", {
|
|
30995
30936
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
30996
30937
|
style: ae({ top: o.top + 268 + "px", right: a.right + "px" })
|
|
30997
30938
|
}, [
|
|
30998
|
-
l("div",
|
|
30939
|
+
l("div", ec, [
|
|
30999
30940
|
d(s, {
|
|
31000
30941
|
"min-width": "32",
|
|
31001
30942
|
width: "32",
|
|
@@ -31009,7 +30950,7 @@ function ec(t, e, o, i, a, r) {
|
|
|
31009
30950
|
_: 1,
|
|
31010
30951
|
__: [0]
|
|
31011
30952
|
}, 8, ["onClick"]),
|
|
31012
|
-
l("div",
|
|
30953
|
+
l("div", tc, y(Math.floor(a.zoom)), 1),
|
|
31013
30954
|
d(s, {
|
|
31014
30955
|
"min-width": "32",
|
|
31015
30956
|
width: "32",
|
|
@@ -31025,9 +30966,9 @@ function ec(t, e, o, i, a, r) {
|
|
|
31025
30966
|
}, 8, ["onClick"])
|
|
31026
30967
|
])
|
|
31027
30968
|
], 4),
|
|
31028
|
-
l("div",
|
|
30969
|
+
l("div", oc, [
|
|
31029
30970
|
e[2] || (e[2] = l("span", null, "© 2023", -1)),
|
|
31030
|
-
l("span", null, "-" +
|
|
30971
|
+
l("span", null, "-" + y(r.computeYear), 1),
|
|
31031
30972
|
e[3] || (e[3] = l("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
|
|
31032
30973
|
e[4] || (e[4] = l("a", {
|
|
31033
30974
|
class: "text-decoration-underline cursor-pointer text-label",
|
|
@@ -31037,20 +30978,20 @@ function ec(t, e, o, i, a, r) {
|
|
|
31037
30978
|
])
|
|
31038
30979
|
]);
|
|
31039
30980
|
}
|
|
31040
|
-
const
|
|
30981
|
+
const ic = /* @__PURE__ */ V(Jn, [["render", ac]]), fc = {
|
|
31041
30982
|
install(t) {
|
|
31042
|
-
t.component("MapInitial",
|
|
30983
|
+
t.component("MapInitial", ic), t.component("MapboxGL", Kn), t.component("TropicalGL", Ya), t.component("LatLngGL", Za), t.component("DateTimePicker", lo);
|
|
31043
30984
|
}
|
|
31044
30985
|
};
|
|
31045
30986
|
export {
|
|
31046
30987
|
lo as DateTimePicker,
|
|
31047
30988
|
Za as LatLngGL,
|
|
31048
|
-
|
|
31049
|
-
|
|
31050
|
-
|
|
30989
|
+
ic as MapInitial,
|
|
30990
|
+
Kn as MapboxGL,
|
|
30991
|
+
fc as MapboxGLPlugin,
|
|
31051
30992
|
_e as ParticleSchema,
|
|
31052
30993
|
Ya as TropicalGL,
|
|
31053
30994
|
ro as Viewport,
|
|
31054
|
-
|
|
30995
|
+
He as WebGL,
|
|
31055
30996
|
ne as WebGLSchema
|
|
31056
30997
|
};
|