@idmwx/idmui-gl3 3.9.9 → 4.0.3
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 +483 -486
- package/dist/index.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var R = (t, e, a) => (
|
|
4
|
-
import { LayerHelper as
|
|
5
|
-
import { resolveComponent as z, openBlock as L, createElementBlock as x, createElementVNode as l, normalizeStyle as F, normalizeClass as M, Fragment as
|
|
1
|
+
var et = Object.defineProperty;
|
|
2
|
+
var tt = (t, e, a) => e in t ? et(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
|
|
3
|
+
var R = (t, e, a) => (tt(t, typeof e != "symbol" ? e + "" : e, a), a);
|
|
4
|
+
import { LayerHelper as We, CompanyHelper as Ae, convertToStandardLng as Ie } from "@idmwx/idmwx-base";
|
|
5
|
+
import { resolveComponent as z, openBlock as L, createElementBlock as x, createElementVNode as l, normalizeStyle as F, normalizeClass as M, Fragment as Re, renderList as De, toDisplayString as S, createVNode as P, withCtx as at, createTextVNode as Xe, createCommentVNode as $, pushScopeId as G, popScopeId as H, withDirectives as Me, vShow as $e, createStaticVNode as it, mergeProps as I } from "vue";
|
|
6
6
|
import * as C from "@turf/turf";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { TropicalHelper as
|
|
11
|
-
import
|
|
7
|
+
import rt from "@mapbox/sphericalmercator";
|
|
8
|
+
import te from "moment";
|
|
9
|
+
import ne from "mapbox-gl";
|
|
10
|
+
import { TropicalHelper as qe, LngLatHelper as j, LaneHelper as ee } from "@idm-plugin/geo";
|
|
11
|
+
import se from "axios";
|
|
12
12
|
const T = (t, e) => {
|
|
13
13
|
const a = t.__vccOpts || t;
|
|
14
14
|
for (const [r, i] of e)
|
|
15
15
|
a[r] = i;
|
|
16
16
|
return a;
|
|
17
|
-
},
|
|
17
|
+
}, ot = {
|
|
18
18
|
name: "IdmGlLayer",
|
|
19
19
|
props: {
|
|
20
20
|
map: {
|
|
@@ -49,8 +49,8 @@ const T = (t, e) => {
|
|
|
49
49
|
autoActive: !0,
|
|
50
50
|
otherLayers: [],
|
|
51
51
|
layers: {
|
|
52
|
-
weather: [...
|
|
53
|
-
other: [...
|
|
52
|
+
weather: [...We.WEATHER_LAYERS],
|
|
53
|
+
other: [...We.OTHER_LAYERS]
|
|
54
54
|
},
|
|
55
55
|
weatherLayersCache: "weatherLayersCache",
|
|
56
56
|
autoActiveCache: "autoActiveCache",
|
|
@@ -150,71 +150,71 @@ const T = (t, e) => {
|
|
|
150
150
|
this.source = t, this.handleConfirm();
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
},
|
|
154
|
-
|
|
155
|
-
],
|
|
156
|
-
|
|
157
|
-
],
|
|
158
|
-
|
|
159
|
-
],
|
|
160
|
-
|
|
161
|
-
],
|
|
162
|
-
|
|
163
|
-
],
|
|
164
|
-
|
|
165
|
-
],
|
|
153
|
+
}, st = { class: "idm-gl3-layer" }, nt = { class: "bar-item layer-bars" }, lt = /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1), ct = [
|
|
154
|
+
lt
|
|
155
|
+
], ht = { class: "bar-item tool-bars" }, dt = /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1), pt = [
|
|
156
|
+
dt
|
|
157
|
+
], mt = /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1), ut = [
|
|
158
|
+
mt
|
|
159
|
+
], yt = /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1), ft = [
|
|
160
|
+
yt
|
|
161
|
+
], gt = /* @__PURE__ */ l("span", { class: "iconfont" }, "", -1), bt = [
|
|
162
|
+
gt
|
|
163
|
+
], vt = ["onClick"], _t = /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1), wt = /* @__PURE__ */ l("i", { class: "iconfont" }, "", -1), Lt = [
|
|
164
|
+
wt
|
|
165
|
+
], xt = { class: "weather-layers" }, Ct = {
|
|
166
166
|
class: "layers-title",
|
|
167
167
|
style: { display: "flex", "align-items": "center", "justify-content": "space-between" }
|
|
168
|
-
},
|
|
169
|
-
function
|
|
168
|
+
}, St = { style: { "font-size": "12px" } }, kt = { class: "layers-body" }, zt = ["onClick"], Pt = /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1), Tt = { class: "other-layers" }, Et = /* @__PURE__ */ l("div", { class: "layers-title" }, "Other Layers", -1), It = { class: "layers-body" }, Rt = ["onClick"], Dt = /* @__PURE__ */ l("div", { class: "checkbox" }, null, -1), At = { class: "source-layers" }, Mt = /* @__PURE__ */ l("span", { class: "layers-title" }, "Forecast Model", -1), $t = { class: "layers-body model-box" };
|
|
169
|
+
function Bt(t, e, a, r, i, o) {
|
|
170
170
|
const n = z("ElScrollbar");
|
|
171
|
-
return L(), x("div",
|
|
171
|
+
return L(), x("div", st, [
|
|
172
172
|
l("div", {
|
|
173
173
|
class: "menu-bar-box",
|
|
174
174
|
style: F({ top: a.top + 10 + "px", right: i.right + "px" })
|
|
175
175
|
}, [
|
|
176
|
-
l("div",
|
|
176
|
+
l("div", nt, [
|
|
177
177
|
l("div", {
|
|
178
178
|
class: M(i.showLayers ? "menu-icon active" : "menu-icon"),
|
|
179
179
|
onClick: e[0] || (e[0] = (...s) => o.handleMenuToggle && o.handleMenuToggle(...s))
|
|
180
|
-
},
|
|
180
|
+
}, ct, 2)
|
|
181
181
|
])
|
|
182
182
|
], 4),
|
|
183
183
|
l("div", {
|
|
184
184
|
class: "menu-bar-box",
|
|
185
185
|
style: F({ top: a.top + 160 + "px", right: i.right + "px" })
|
|
186
186
|
}, [
|
|
187
|
-
l("div",
|
|
187
|
+
l("div", ht, [
|
|
188
188
|
l("div", {
|
|
189
189
|
class: M(i.showMeasure ? "menu-icon active" : "menu-icon"),
|
|
190
190
|
onClick: e[1] || (e[1] = (...s) => o.handleMeasureToggle && o.handleMeasureToggle(...s))
|
|
191
|
-
},
|
|
191
|
+
}, pt, 2),
|
|
192
192
|
l("div", {
|
|
193
193
|
class: M(i.showPoint ? "menu-icon active" : "menu-icon"),
|
|
194
194
|
onClick: e[2] || (e[2] = (...s) => o.handlePointToggle && o.handlePointToggle(...s))
|
|
195
|
-
},
|
|
195
|
+
}, ut, 2),
|
|
196
196
|
l("div", {
|
|
197
197
|
class: M(i.showCoord ? "menu-icon active" : "menu-icon"),
|
|
198
198
|
onClick: e[3] || (e[3] = (...s) => o.handleCoordToggle && o.handleCoordToggle(...s))
|
|
199
|
-
},
|
|
199
|
+
}, ft, 2),
|
|
200
200
|
l("div", {
|
|
201
201
|
class: M(i.show3d ? "menu-icon active" : "menu-icon"),
|
|
202
202
|
onClick: e[4] || (e[4] = (...s) => o.handle3DToggle && o.handle3DToggle(...s))
|
|
203
|
-
},
|
|
203
|
+
}, bt, 2)
|
|
204
204
|
])
|
|
205
205
|
], 4),
|
|
206
206
|
l("div", {
|
|
207
207
|
class: "active-layers",
|
|
208
208
|
style: F({ right: i.right + "px", bottom: "100px" })
|
|
209
209
|
}, [
|
|
210
|
-
(L(!0), x(
|
|
210
|
+
(L(!0), x(Re, null, De(i.weatherLayers, (s) => (L(), x("div", {
|
|
211
211
|
key: s.key,
|
|
212
212
|
class: M(o.computeLayerClass(s, i.activeWeatherLayers)),
|
|
213
213
|
onClick: (c) => o.handleActiveWeatherLayerPick(s)
|
|
214
214
|
}, [
|
|
215
|
-
|
|
215
|
+
_t,
|
|
216
216
|
l("span", null, S(s.name), 1)
|
|
217
|
-
], 10,
|
|
217
|
+
], 10, vt))), 128))
|
|
218
218
|
], 4),
|
|
219
219
|
l("div", {
|
|
220
220
|
class: "available-layers flex-center",
|
|
@@ -224,21 +224,21 @@ function Nt(t, e, a, r, i, o) {
|
|
|
224
224
|
class: "side-bar",
|
|
225
225
|
style: F({ right: i.showLayers ? "0px" : "-240px" }),
|
|
226
226
|
onClick: e[5] || (e[5] = (...s) => o.handleMenuToggle && o.handleMenuToggle(...s))
|
|
227
|
-
},
|
|
227
|
+
}, Lt, 4),
|
|
228
228
|
l("div", {
|
|
229
229
|
class: M(["list-box", i.showLayers ? "available-layers-show" : ""])
|
|
230
230
|
}, [
|
|
231
231
|
P(n, { style: { flex: "1" } }, {
|
|
232
|
-
default:
|
|
233
|
-
l("div",
|
|
234
|
-
l("div",
|
|
232
|
+
default: at(() => [
|
|
233
|
+
l("div", xt, [
|
|
234
|
+
l("div", Ct, [
|
|
235
235
|
l("div", null, [
|
|
236
|
-
|
|
237
|
-
l("span",
|
|
236
|
+
Xe(" Weather Layers "),
|
|
237
|
+
l("span", St, "(" + S(i.weatherLayers.length) + "/12)", 1)
|
|
238
238
|
])
|
|
239
239
|
]),
|
|
240
|
-
l("div",
|
|
241
|
-
(L(!0), x(
|
|
240
|
+
l("div", kt, [
|
|
241
|
+
(L(!0), x(Re, null, De(i.layers.weather, (s) => (L(), x(Re, {
|
|
242
242
|
key: s.key
|
|
243
243
|
}, [
|
|
244
244
|
s.hide ? $("", !0) : (L(), x("div", {
|
|
@@ -246,28 +246,28 @@ function Nt(t, e, a, r, i, o) {
|
|
|
246
246
|
class: M(o.computeLayerClass(s, i.weatherLayers)),
|
|
247
247
|
onClick: (c) => o.handleWeatherLayerPick(s)
|
|
248
248
|
}, [
|
|
249
|
-
|
|
249
|
+
Pt,
|
|
250
250
|
l("span", null, S(s.name), 1)
|
|
251
|
-
], 10,
|
|
251
|
+
], 10, zt))
|
|
252
252
|
], 64))), 128))
|
|
253
253
|
])
|
|
254
254
|
]),
|
|
255
|
-
l("div",
|
|
256
|
-
|
|
257
|
-
l("div",
|
|
258
|
-
(L(!0), x(
|
|
255
|
+
l("div", Tt, [
|
|
256
|
+
Et,
|
|
257
|
+
l("div", It, [
|
|
258
|
+
(L(!0), x(Re, null, De(i.layers.other, (s) => (L(), x("div", {
|
|
259
259
|
key: s.key,
|
|
260
260
|
class: M(o.computeLayerClass(s, i.otherLayers)),
|
|
261
261
|
onClick: (c) => o.handleOtherLayerPick(s)
|
|
262
262
|
}, [
|
|
263
|
-
|
|
263
|
+
Dt,
|
|
264
264
|
l("span", null, S(s.name), 1)
|
|
265
|
-
], 10,
|
|
265
|
+
], 10, Rt))), 128))
|
|
266
266
|
])
|
|
267
267
|
]),
|
|
268
|
-
l("div",
|
|
269
|
-
|
|
270
|
-
l("div",
|
|
268
|
+
l("div", At, [
|
|
269
|
+
Mt,
|
|
270
|
+
l("div", $t, [
|
|
271
271
|
l("span", {
|
|
272
272
|
class: M(i.source === "GFS" ? "text active" : "text"),
|
|
273
273
|
onClick: e[6] || (e[6] = (s) => o.handleSourceToggle("GFS"))
|
|
@@ -285,8 +285,8 @@ function Nt(t, e, a, r, i, o) {
|
|
|
285
285
|
], 4)
|
|
286
286
|
]);
|
|
287
287
|
}
|
|
288
|
-
const
|
|
289
|
-
const
|
|
288
|
+
const Nt = /* @__PURE__ */ T(ot, [["render", Bt]]);
|
|
289
|
+
const Wt = {
|
|
290
290
|
name: "IdmWindBarb",
|
|
291
291
|
props: {
|
|
292
292
|
map: {
|
|
@@ -445,22 +445,22 @@ const Ot = {
|
|
|
445
445
|
this.map.getSource(this.source) && this.map.removeSource(this.source), this.windBarbLoaded = !1;
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
},
|
|
448
|
+
}, Ot = { key: 0 }, jt = {
|
|
449
449
|
key: 0,
|
|
450
450
|
class: "iconfont active"
|
|
451
|
-
},
|
|
451
|
+
}, Ft = {
|
|
452
452
|
key: 1,
|
|
453
453
|
class: "iconfont"
|
|
454
|
-
},
|
|
454
|
+
}, Vt = {
|
|
455
455
|
key: 0,
|
|
456
456
|
class: "iconfont active"
|
|
457
|
-
},
|
|
457
|
+
}, Ut = {
|
|
458
458
|
key: 1,
|
|
459
459
|
class: "iconfont"
|
|
460
460
|
};
|
|
461
|
-
function
|
|
461
|
+
function Gt(t, e, a, r, i, o) {
|
|
462
462
|
var n;
|
|
463
|
-
return (n = a.wind) != null && n.active ? (L(), x("div",
|
|
463
|
+
return (n = a.wind) != null && n.active ? (L(), x("div", Ot, [
|
|
464
464
|
l("div", {
|
|
465
465
|
class: "flex-center tool-bars",
|
|
466
466
|
style: F([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
|
|
@@ -470,7 +470,7 @@ function Ht(t, e, a, r, i, o) {
|
|
|
470
470
|
class: "flex-start",
|
|
471
471
|
onClick: e[0] || (e[0] = (...s) => o.handleParticle && o.handleParticle(...s))
|
|
472
472
|
}, [
|
|
473
|
-
a.showParticle ? (L(), x("i",
|
|
473
|
+
a.showParticle ? (L(), x("i", jt, "")) : (L(), x("i", Ft, "")),
|
|
474
474
|
l("span", {
|
|
475
475
|
class: M(a.showParticle ? "active" : "")
|
|
476
476
|
}, "Wind Particles", 2)
|
|
@@ -481,7 +481,7 @@ function Ht(t, e, a, r, i, o) {
|
|
|
481
481
|
style: { "margin-left": "16px" },
|
|
482
482
|
onClick: e[1] || (e[1] = (s) => i.showFeather = !i.showFeather)
|
|
483
483
|
}, [
|
|
484
|
-
i.showFeather ? (L(), x("i",
|
|
484
|
+
i.showFeather ? (L(), x("i", Vt, "")) : (L(), x("i", Ut, "")),
|
|
485
485
|
l("span", {
|
|
486
486
|
class: M(i.showFeather ? "active" : "")
|
|
487
487
|
}, "Wind Feather", 2)
|
|
@@ -489,8 +489,8 @@ function Ht(t, e, a, r, i, o) {
|
|
|
489
489
|
], 4)
|
|
490
490
|
])) : $("", !0);
|
|
491
491
|
}
|
|
492
|
-
const
|
|
493
|
-
class
|
|
492
|
+
const Ht = /* @__PURE__ */ T(Wt, [["render", Gt], ["__scopeId", "data-v-b6fb74d9"]]);
|
|
493
|
+
class Oe {
|
|
494
494
|
constructor(e) {
|
|
495
495
|
R(this, "map");
|
|
496
496
|
R(this, "mercator");
|
|
@@ -501,7 +501,7 @@ class je {
|
|
|
501
501
|
R(this, "rampColorCanvas");
|
|
502
502
|
R(this, "particleCanvas");
|
|
503
503
|
R(this, "ratio");
|
|
504
|
-
this.map = e, this.mercator = new
|
|
504
|
+
this.map = e, this.mercator = new rt(), this.rampColorLayer = "ramp-color-layer", this.rampColorSource = "ramp-color-source", this.particleLayer = "particle-layer", this.particleSource = "particle-source", this.rampColorCanvas = document.createElement("canvas"), this.particleCanvas = document.createElement("canvas"), this.ratio = window.devicePixelRatio;
|
|
505
505
|
}
|
|
506
506
|
/**
|
|
507
507
|
* 转换为[-180, 180]的经度,且包含转换次数
|
|
@@ -573,7 +573,7 @@ class je {
|
|
|
573
573
|
a !== r && this.map.setLayoutProperty(this.particleLayer, "visibility", r);
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
class
|
|
576
|
+
class we {
|
|
577
577
|
/**
|
|
578
578
|
* 创建着色器
|
|
579
579
|
* @see https://webglfundamentals.org/webgl/lessons/zh_cn/webgl-shaders-and-glsl.html
|
|
@@ -960,7 +960,7 @@ R(U, "vertexSchema", `
|
|
|
960
960
|
fract(pos * 255.0),
|
|
961
961
|
floor(pos * 255.0) / 255.0);
|
|
962
962
|
}`);
|
|
963
|
-
class
|
|
963
|
+
class Zt {
|
|
964
964
|
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
965
965
|
R(this, "token");
|
|
966
966
|
R(this, "mapboxCustomer");
|
|
@@ -2564,14 +2564,14 @@ class Jt {
|
|
|
2564
2564
|
};
|
|
2565
2565
|
}
|
|
2566
2566
|
}
|
|
2567
|
-
const
|
|
2567
|
+
const Jt = {
|
|
2568
2568
|
name: "IdmWindParticle",
|
|
2569
2569
|
props: {
|
|
2570
2570
|
factor: {
|
|
2571
2571
|
type: Object
|
|
2572
2572
|
},
|
|
2573
2573
|
viewport: {
|
|
2574
|
-
type:
|
|
2574
|
+
type: Oe
|
|
2575
2575
|
},
|
|
2576
2576
|
bottom: {
|
|
2577
2577
|
type: String,
|
|
@@ -2588,7 +2588,7 @@ const Xt = {
|
|
|
2588
2588
|
texture: void 0,
|
|
2589
2589
|
rampColor: void 0,
|
|
2590
2590
|
aPositionBuffer: void 0,
|
|
2591
|
-
webgl: new
|
|
2591
|
+
webgl: new we(),
|
|
2592
2592
|
etime: void 0,
|
|
2593
2593
|
wrapper: void 0,
|
|
2594
2594
|
animation: void 0,
|
|
@@ -2726,27 +2726,27 @@ const Xt = {
|
|
|
2726
2726
|
});
|
|
2727
2727
|
}
|
|
2728
2728
|
}
|
|
2729
|
-
},
|
|
2729
|
+
}, le = (t) => (G("data-v-41a686d0"), t = t(), H(), t), Xt = { key: 0 }, qt = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "kts", -1)), Yt = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "0", -1)), Qt = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "5", -1)), Kt = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "10", -1)), ea = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "20", -1)), ta = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "30", -1)), aa = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "40", -1)), ia = /* @__PURE__ */ le(() => /* @__PURE__ */ l("span", null, "60", -1)), ra = [
|
|
2730
|
+
qt,
|
|
2730
2731
|
Yt,
|
|
2731
2732
|
Qt,
|
|
2732
2733
|
Kt,
|
|
2733
2734
|
ea,
|
|
2734
2735
|
ta,
|
|
2735
2736
|
aa,
|
|
2736
|
-
ia
|
|
2737
|
-
ra
|
|
2737
|
+
ia
|
|
2738
2738
|
];
|
|
2739
|
-
function
|
|
2739
|
+
function oa(t, e, a, r, i, o) {
|
|
2740
2740
|
var n;
|
|
2741
|
-
return (n = a.factor) != null && n.active ? (L(), x("div",
|
|
2741
|
+
return (n = a.factor) != null && n.active ? (L(), x("div", Xt, [
|
|
2742
2742
|
l("div", {
|
|
2743
2743
|
class: "legend-bars flex-center",
|
|
2744
2744
|
style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
|
|
2745
|
-
},
|
|
2745
|
+
}, ra, 4)
|
|
2746
2746
|
])) : $("", !0);
|
|
2747
2747
|
}
|
|
2748
|
-
const
|
|
2749
|
-
const
|
|
2748
|
+
const sa = /* @__PURE__ */ T(Jt, [["render", oa], ["__scopeId", "data-v-41a686d0"]]);
|
|
2749
|
+
const na = {
|
|
2750
2750
|
name: "IdmCurrent",
|
|
2751
2751
|
props: {
|
|
2752
2752
|
map: {
|
|
@@ -2906,22 +2906,22 @@ const la = {
|
|
|
2906
2906
|
this.map.getLayer(this.speedLayer) && this.map.removeLayer(this.speedLayer), this.map.getLayer(this.speedLabelLayer) && this.map.removeLayer(this.speedLabelLayer), this.map.getLayer(this.directionLayer) && this.map.removeLayer(this.directionLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
2907
2907
|
}
|
|
2908
2908
|
}
|
|
2909
|
-
},
|
|
2909
|
+
}, la = { key: 0 }, ca = {
|
|
2910
2910
|
key: 0,
|
|
2911
2911
|
class: "iconfont active"
|
|
2912
|
-
},
|
|
2912
|
+
}, ha = {
|
|
2913
2913
|
key: 1,
|
|
2914
2914
|
class: "iconfont"
|
|
2915
|
-
},
|
|
2915
|
+
}, da = {
|
|
2916
2916
|
key: 0,
|
|
2917
2917
|
class: "iconfont active"
|
|
2918
|
-
},
|
|
2918
|
+
}, pa = {
|
|
2919
2919
|
key: 1,
|
|
2920
2920
|
class: "iconfont"
|
|
2921
2921
|
};
|
|
2922
|
-
function
|
|
2922
|
+
function ma(t, e, a, r, i, o) {
|
|
2923
2923
|
var n;
|
|
2924
|
-
return (n = a.current) != null && n.active ? (L(), x("div",
|
|
2924
|
+
return (n = a.current) != null && n.active ? (L(), x("div", la, [
|
|
2925
2925
|
l("div", {
|
|
2926
2926
|
class: "flex-center tool-bars",
|
|
2927
2927
|
style: F([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
|
|
@@ -2931,7 +2931,7 @@ function ua(t, e, a, r, i, o) {
|
|
|
2931
2931
|
class: "flex-start",
|
|
2932
2932
|
onClick: e[0] || (e[0] = (...s) => o.handleParticle && o.handleParticle(...s))
|
|
2933
2933
|
}, [
|
|
2934
|
-
a.showParticle ? (L(), x("i",
|
|
2934
|
+
a.showParticle ? (L(), x("i", ca, "")) : (L(), x("i", ha, "")),
|
|
2935
2935
|
l("span", {
|
|
2936
2936
|
class: M(a.showParticle ? "active" : "")
|
|
2937
2937
|
}, "Current Particles", 2)
|
|
@@ -2942,7 +2942,7 @@ function ua(t, e, a, r, i, o) {
|
|
|
2942
2942
|
style: { "margin-left": "16px" },
|
|
2943
2943
|
onClick: e[1] || (e[1] = (s) => i.showJson = !i.showJson)
|
|
2944
2944
|
}, [
|
|
2945
|
-
i.showJson ? (L(), x("i",
|
|
2945
|
+
i.showJson ? (L(), x("i", da, "")) : (L(), x("i", pa, "")),
|
|
2946
2946
|
l("span", {
|
|
2947
2947
|
class: M(i.showJson ? "active" : "")
|
|
2948
2948
|
}, "Current", 2)
|
|
@@ -2950,15 +2950,15 @@ function ua(t, e, a, r, i, o) {
|
|
|
2950
2950
|
], 4)
|
|
2951
2951
|
])) : $("", !0);
|
|
2952
2952
|
}
|
|
2953
|
-
const
|
|
2954
|
-
const
|
|
2953
|
+
const ua = /* @__PURE__ */ T(na, [["render", ma], ["__scopeId", "data-v-ae630f43"]]);
|
|
2954
|
+
const ya = {
|
|
2955
2955
|
name: "IdmCurrentParticle",
|
|
2956
2956
|
props: {
|
|
2957
2957
|
factor: {
|
|
2958
2958
|
type: Object
|
|
2959
2959
|
},
|
|
2960
2960
|
viewport: {
|
|
2961
|
-
type:
|
|
2961
|
+
type: Oe
|
|
2962
2962
|
},
|
|
2963
2963
|
bottom: {
|
|
2964
2964
|
type: String,
|
|
@@ -2975,7 +2975,7 @@ const fa = {
|
|
|
2975
2975
|
texture: void 0,
|
|
2976
2976
|
rampColor: void 0,
|
|
2977
2977
|
aPositionBuffer: void 0,
|
|
2978
|
-
webgl: new
|
|
2978
|
+
webgl: new we(),
|
|
2979
2979
|
etime: void 0,
|
|
2980
2980
|
wrapper: void 0,
|
|
2981
2981
|
animation: void 0,
|
|
@@ -3108,25 +3108,25 @@ const fa = {
|
|
|
3108
3108
|
});
|
|
3109
3109
|
}
|
|
3110
3110
|
}
|
|
3111
|
-
},
|
|
3111
|
+
}, Le = (t) => (G("data-v-9115889b"), t = t(), H(), t), fa = { key: 0 }, ga = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "kts", -1)), ba = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "0", -1)), va = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "0.4", -1)), _a = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "0.8", -1)), wa = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "1.6", -1)), La = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "2", -1)), xa = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", null, "3.2", -1)), Ca = [
|
|
3112
|
+
ga,
|
|
3112
3113
|
ba,
|
|
3113
3114
|
va,
|
|
3114
3115
|
_a,
|
|
3115
3116
|
wa,
|
|
3116
3117
|
La,
|
|
3117
|
-
xa
|
|
3118
|
-
Ca
|
|
3118
|
+
xa
|
|
3119
3119
|
];
|
|
3120
|
-
function
|
|
3120
|
+
function Sa(t, e, a, r, i, o) {
|
|
3121
3121
|
var n;
|
|
3122
|
-
return (n = a.factor) != null && n.active ? (L(), x("div",
|
|
3122
|
+
return (n = a.factor) != null && n.active ? (L(), x("div", fa, [
|
|
3123
3123
|
l("div", {
|
|
3124
3124
|
class: "legend-bars flex-center",
|
|
3125
3125
|
style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
|
|
3126
|
-
},
|
|
3126
|
+
}, Ca, 4)
|
|
3127
3127
|
])) : $("", !0);
|
|
3128
3128
|
}
|
|
3129
|
-
const
|
|
3129
|
+
const ka = /* @__PURE__ */ T(ya, [["render", Sa], ["__scopeId", "data-v-9115889b"]]), za = {
|
|
3130
3130
|
name: "IdmSigWave",
|
|
3131
3131
|
props: {
|
|
3132
3132
|
map: {
|
|
@@ -3235,10 +3235,10 @@ const za = /* @__PURE__ */ T(fa, [["render", ka], ["__scopeId", "data-v-9115889b
|
|
|
3235
3235
|
}
|
|
3236
3236
|
}
|
|
3237
3237
|
};
|
|
3238
|
-
function
|
|
3238
|
+
function Pa(t, e, a, r, i, o) {
|
|
3239
3239
|
return L(), x("div");
|
|
3240
3240
|
}
|
|
3241
|
-
const
|
|
3241
|
+
const Ta = /* @__PURE__ */ T(za, [["render", Pa]]), Ea = {
|
|
3242
3242
|
name: "IdmSwell",
|
|
3243
3243
|
props: {
|
|
3244
3244
|
map: {
|
|
@@ -3376,10 +3376,10 @@ const Ea = /* @__PURE__ */ T(Pa, [["render", Ta]]), Ia = {
|
|
|
3376
3376
|
}
|
|
3377
3377
|
}
|
|
3378
3378
|
};
|
|
3379
|
-
function
|
|
3379
|
+
function Ia(t, e, a, r, i, o) {
|
|
3380
3380
|
return L(), x("div");
|
|
3381
3381
|
}
|
|
3382
|
-
const
|
|
3382
|
+
const Ra = /* @__PURE__ */ T(Ea, [["render", Ia]]), Da = {
|
|
3383
3383
|
name: "IdmPrmsl",
|
|
3384
3384
|
props: {
|
|
3385
3385
|
map: {
|
|
@@ -3420,81 +3420,78 @@ const Da = /* @__PURE__ */ T(Ia, [["render", Ra]]), Aa = {
|
|
|
3420
3420
|
setTimeout(() => {
|
|
3421
3421
|
this.handleRender();
|
|
3422
3422
|
}, 500);
|
|
3423
|
-
else {
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3423
|
+
else if (this.prmsl) {
|
|
3424
|
+
const r = (/* @__PURE__ */ new Date()).valueOf();
|
|
3425
|
+
let i = 0, o = 0, n = this.empty;
|
|
3426
|
+
this.prmsl.active && (n = this.prmsl.data), (t = this.map) != null && t.getSource(this.source) ? ((e = this.map) == null || e.getSource(this.source).setData(n), o = (/* @__PURE__ */ new Date()).valueOf() - (r + i), console.log("[prmsl] update elapsed: ", o, ", total: ", i += o)) : (this.map.addSource(this.source, { type: "geojson", data: n }), this.map.addLayer(
|
|
3427
|
+
{
|
|
3428
|
+
id: this.layer,
|
|
3429
|
+
type: "line",
|
|
3430
|
+
source: this.source,
|
|
3431
|
+
filter: ["==", "$type", "LineString"],
|
|
3432
|
+
paint: {
|
|
3433
|
+
"line-color": ["step", ["get", "val"], "rgba(162,13,2,1)", 920, "rgba(244,67,54,1)", 980, "rgba(255,255,0,1)", 1100, "rgba(199,171,250,1)"],
|
|
3434
|
+
"line-width": 1,
|
|
3435
|
+
"line-opacity": 1
|
|
3436
|
+
}
|
|
3437
|
+
},
|
|
3438
|
+
this.beforeLayer
|
|
3439
|
+
), (a = this.map) == null || a.addLayer(
|
|
3440
|
+
{
|
|
3441
|
+
id: this.labelLayer,
|
|
3442
|
+
type: "symbol",
|
|
3443
|
+
source: this.source,
|
|
3444
|
+
minzoom: 4,
|
|
3445
|
+
filter: ["==", "$type", "LineString"],
|
|
3446
|
+
layout: {
|
|
3447
|
+
"symbol-placement": "line",
|
|
3448
|
+
"text-rotation-alignment": "viewport",
|
|
3449
|
+
"text-field": "{val}",
|
|
3450
|
+
"text-size": 12
|
|
3438
3451
|
},
|
|
3439
|
-
|
|
3440
|
-
|
|
3452
|
+
paint: {
|
|
3453
|
+
"text-color": "black",
|
|
3454
|
+
"text-opacity": 0.9,
|
|
3455
|
+
"text-halo-color": "rgba(255,255,255,1)",
|
|
3456
|
+
"text-halo-width": 1
|
|
3457
|
+
}
|
|
3458
|
+
},
|
|
3459
|
+
this.beforeLayer
|
|
3460
|
+
), setTimeout(() => {
|
|
3461
|
+
this.map.addLayer(
|
|
3441
3462
|
{
|
|
3442
|
-
id: this.
|
|
3463
|
+
id: this.pointLabelLayer,
|
|
3443
3464
|
type: "symbol",
|
|
3444
3465
|
source: this.source,
|
|
3445
|
-
|
|
3446
|
-
filter: ["==", "$type", "LineString"],
|
|
3466
|
+
filter: ["==", "$type", "Point"],
|
|
3447
3467
|
layout: {
|
|
3448
|
-
"symbol-placement": "
|
|
3449
|
-
"text-
|
|
3450
|
-
|
|
3468
|
+
"symbol-placement": "point",
|
|
3469
|
+
"text-field": ["format", ["get", "type"], { "font-scale": 1.03 }, `
|
|
3470
|
+
`, ["get", "val"], { "font-scale": 1 }],
|
|
3471
|
+
"text-rotation-alignment": "map",
|
|
3472
|
+
"text-line-height": 1.3,
|
|
3451
3473
|
"text-size": 12
|
|
3452
3474
|
},
|
|
3453
3475
|
paint: {
|
|
3454
|
-
"text-
|
|
3455
|
-
"text-
|
|
3456
|
-
"text-halo-color":
|
|
3457
|
-
|
|
3476
|
+
"text-opacity": 1,
|
|
3477
|
+
"text-color": ["step", ["get", "val"], "white", 980, "black", 1100, "black"],
|
|
3478
|
+
"text-halo-color": [
|
|
3479
|
+
"step",
|
|
3480
|
+
["get", "val"],
|
|
3481
|
+
"rgba(162,13,2,0.9)",
|
|
3482
|
+
920,
|
|
3483
|
+
"rgba(244,67,54,0.9)",
|
|
3484
|
+
980,
|
|
3485
|
+
"rgba(255,255,0,0.9)",
|
|
3486
|
+
1100,
|
|
3487
|
+
"rgba(199,171,250,0.9)"
|
|
3488
|
+
],
|
|
3489
|
+
"text-halo-width": 4
|
|
3458
3490
|
}
|
|
3459
3491
|
},
|
|
3460
3492
|
this.beforeLayer
|
|
3461
|
-
)
|
|
3462
|
-
|
|
3463
|
-
{
|
|
3464
|
-
id: this.pointLabelLayer,
|
|
3465
|
-
type: "symbol",
|
|
3466
|
-
source: this.source,
|
|
3467
|
-
filter: ["==", "$type", "Point"],
|
|
3468
|
-
layout: {
|
|
3469
|
-
"symbol-placement": "point",
|
|
3470
|
-
"text-field": ["format", ["get", "type"], { "font-scale": 1.03 }, `
|
|
3471
|
-
`, ["get", "val"], { "font-scale": 1 }],
|
|
3472
|
-
"text-rotation-alignment": "map",
|
|
3473
|
-
"text-line-height": 1.3,
|
|
3474
|
-
"text-size": 12
|
|
3475
|
-
},
|
|
3476
|
-
paint: {
|
|
3477
|
-
"text-opacity": 1,
|
|
3478
|
-
"text-color": ["step", ["get", "val"], "white", 980, "black", 1100, "black"],
|
|
3479
|
-
"text-halo-color": [
|
|
3480
|
-
"step",
|
|
3481
|
-
["get", "val"],
|
|
3482
|
-
"rgba(162,13,2,0.9)",
|
|
3483
|
-
920,
|
|
3484
|
-
"rgba(244,67,54,0.9)",
|
|
3485
|
-
980,
|
|
3486
|
-
"rgba(255,255,0,0.9)",
|
|
3487
|
-
1100,
|
|
3488
|
-
"rgba(199,171,250,0.9)"
|
|
3489
|
-
],
|
|
3490
|
-
"text-halo-width": 4
|
|
3491
|
-
}
|
|
3492
|
-
},
|
|
3493
|
-
this.beforeLayer
|
|
3494
|
-
), this.handleMove();
|
|
3495
|
-
}, 1e3), o = (/* @__PURE__ */ new Date()).valueOf() - (r + i), console.log("[prmsl] add elapsed: ", o, ", total: ", i += o));
|
|
3496
|
-
}
|
|
3497
|
-
this.handleMove();
|
|
3493
|
+
);
|
|
3494
|
+
}, 1e3), o = (/* @__PURE__ */ new Date()).valueOf() - (r + i), console.log("[prmsl] add elapsed: ", o, ", total: ", i += o));
|
|
3498
3495
|
}
|
|
3499
3496
|
},
|
|
3500
3497
|
handleMove() {
|
|
@@ -3507,10 +3504,10 @@ const Da = /* @__PURE__ */ T(Ia, [["render", Ra]]), Aa = {
|
|
|
3507
3504
|
}
|
|
3508
3505
|
}
|
|
3509
3506
|
};
|
|
3510
|
-
function
|
|
3507
|
+
function Aa(t, e, a, r, i, o) {
|
|
3511
3508
|
return L(), x("div");
|
|
3512
3509
|
}
|
|
3513
|
-
const
|
|
3510
|
+
const Ma = /* @__PURE__ */ T(Da, [["render", Aa]]), $a = {
|
|
3514
3511
|
name: "IdmIceberg",
|
|
3515
3512
|
props: {
|
|
3516
3513
|
map: {
|
|
@@ -3567,11 +3564,11 @@ const $a = /* @__PURE__ */ T(Aa, [["render", Ma]]), Ba = {
|
|
|
3567
3564
|
}
|
|
3568
3565
|
}
|
|
3569
3566
|
};
|
|
3570
|
-
function
|
|
3567
|
+
function Ba(t, e, a, r, i, o) {
|
|
3571
3568
|
return L(), x("div");
|
|
3572
3569
|
}
|
|
3573
|
-
const
|
|
3574
|
-
const
|
|
3570
|
+
const Na = /* @__PURE__ */ T($a, [["render", Ba]]);
|
|
3571
|
+
const Wa = {
|
|
3575
3572
|
name: "IdmTropicals",
|
|
3576
3573
|
props: {
|
|
3577
3574
|
map: {
|
|
@@ -3587,7 +3584,7 @@ const Oa = {
|
|
|
3587
3584
|
emits: ["tropical", "tropicalProbability"],
|
|
3588
3585
|
data() {
|
|
3589
3586
|
return {
|
|
3590
|
-
helper:
|
|
3587
|
+
helper: Ae,
|
|
3591
3588
|
source: "tropicals-source",
|
|
3592
3589
|
clusterSource: "tropicals-cluster-source",
|
|
3593
3590
|
historyLayer: "tropicals-history-layer",
|
|
@@ -3615,7 +3612,7 @@ const Oa = {
|
|
|
3615
3612
|
computeTime() {
|
|
3616
3613
|
return function(t) {
|
|
3617
3614
|
if (t) {
|
|
3618
|
-
const e =
|
|
3615
|
+
const e = te(t).utc();
|
|
3619
3616
|
return `${e.format("MMM-DD,HHmm[Z]")} (${e == null ? void 0 : e.fromNow()})`;
|
|
3620
3617
|
}
|
|
3621
3618
|
return "-";
|
|
@@ -3638,7 +3635,7 @@ const Oa = {
|
|
|
3638
3635
|
"tropicals.version": {
|
|
3639
3636
|
handler() {
|
|
3640
3637
|
var r, i;
|
|
3641
|
-
const t = ((i = (r = this.tropicals) == null ? void 0 : r.data) == null ? void 0 : i.features) || [], e =
|
|
3638
|
+
const t = ((i = (r = this.tropicals) == null ? void 0 : r.data) == null ? void 0 : i.features) || [], e = te().utc().hour(), a = [];
|
|
3642
3639
|
t.forEach((o) => {
|
|
3643
3640
|
var n, s, c;
|
|
3644
3641
|
(n = o.properties) != null && n.name && !a.includes((s = o.properties) == null ? void 0 : s.name) && a.push((c = o.properties) == null ? void 0 : c.name);
|
|
@@ -3658,7 +3655,7 @@ const Oa = {
|
|
|
3658
3655
|
}), c.map((d, p) => {
|
|
3659
3656
|
var f, m, b, y, u, v, g, w;
|
|
3660
3657
|
if (((f = d.geometry) == null ? void 0 : f.type) === "LineString" && ((m = d.properties) == null || m.type), ((b = d.geometry) == null ? void 0 : b.type) === "Point" && ((y = d.properties) == null ? void 0 : y.type) === "forecast" && (d.properties.name = o), ((u = d.geometry) == null ? void 0 : u.type) === "Point" && ((v = d.properties) == null ? void 0 : v.type) === "history") {
|
|
3661
|
-
const k = ((w = (g = d.properties) == null ? void 0 : g.format) == null ? void 0 : w.slice(7, 12)) ===
|
|
3658
|
+
const k = ((w = (g = d.properties) == null ? void 0 : g.format) == null ? void 0 : w.slice(7, 12)) === te().utc().hour(Math.floor(e / 6) * 6).minute("00").format("HHmm") + "Z";
|
|
3662
3659
|
d.properties.showHistoryLabel = k || p === n, d.properties.showNameLabel = p === n, d.properties.name = o;
|
|
3663
3660
|
}
|
|
3664
3661
|
return d;
|
|
@@ -3925,7 +3922,7 @@ const Oa = {
|
|
|
3925
3922
|
}), m = (/* @__PURE__ */ new Date()).valueOf() - (p + f), console.log("[tropical] add elapsed: ", m, ", total: ", f += m));
|
|
3926
3923
|
}
|
|
3927
3924
|
this.handleDrawCircle();
|
|
3928
|
-
const d =
|
|
3925
|
+
const d = qe.interpolate(this.tropicals, 1);
|
|
3929
3926
|
this.interpolateData = JSON.parse(JSON.stringify(d)), this.handleDateChange();
|
|
3930
3927
|
}
|
|
3931
3928
|
},
|
|
@@ -3934,14 +3931,14 @@ const Oa = {
|
|
|
3934
3931
|
this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((e) => e == null ? void 0 : e.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource));
|
|
3935
3932
|
},
|
|
3936
3933
|
handleDateChange() {
|
|
3937
|
-
var t, e, a, r, i, o, n, s, c, h, d, p, f, m, b, y, u, v, g, w, k, _, D, A, B, W, O, Z, pe, me, ue, ye, fe, ge,
|
|
3934
|
+
var t, e, a, r, i, o, n, s, c, h, d, p, f, m, b, y, u, v, g, w, k, _, D, A, B, W, O, Z, de, pe, me, ue, ye, fe, ge, ae;
|
|
3938
3935
|
if ((t = this.interpolateMarkers) == null || t.forEach((J) => J == null ? void 0 : J.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
3939
|
-
const J =
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
}), (a = this.map) != null && a.getSource(this.interpolateSource) ? (r = this.map) == null || r.getSource(this.interpolateSource).setData(
|
|
3936
|
+
const J = te(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), q = this.interpolateData.filter((E) => E.properties.date === J.format() && !E.properties.disabled), be = this.handleComputePolygons(q), Y = C.featureCollection([...q]);
|
|
3937
|
+
be.forEach((E) => {
|
|
3938
|
+
Y.features.push(E);
|
|
3939
|
+
}), (a = this.map) != null && a.getSource(this.interpolateSource) ? (r = this.map) == null || r.getSource(this.interpolateSource).setData(Y) : ((i = this.map) == null || i.addSource(this.interpolateSource, {
|
|
3943
3940
|
type: "geojson",
|
|
3944
|
-
data:
|
|
3941
|
+
data: Y
|
|
3945
3942
|
}), (o = this.map) == null || o.addLayer({
|
|
3946
3943
|
id: this.interpolateLineLayer,
|
|
3947
3944
|
type: "line",
|
|
@@ -3953,11 +3950,11 @@ const Oa = {
|
|
|
3953
3950
|
"line-width": 1
|
|
3954
3951
|
}
|
|
3955
3952
|
})), this.interpolateMarkers = [];
|
|
3956
|
-
for (const E of
|
|
3953
|
+
for (const E of q)
|
|
3957
3954
|
if (!E.properties.disabled) {
|
|
3958
3955
|
let V = "#f44336";
|
|
3959
3956
|
((s = (n = E.properties) == null ? void 0 : n.wind) == null ? void 0 : s.spd) < 17.2 || !((h = (c = E.properties) == null ? void 0 : c.wind) != null && h.spd) ? V = "#03f869" : ((p = (d = E.properties) == null ? void 0 : d.wind) == null ? void 0 : p.spd) >= 17.2 && ((m = (f = E.properties) == null ? void 0 : f.wind) == null ? void 0 : m.spd) < 24.5 ? V = "#f2f202" : ((y = (b = E.properties) == null ? void 0 : b.wind) == null ? void 0 : y.spd) >= 24.5 && ((v = (u = E.properties) == null ? void 0 : u.wind) == null ? void 0 : v.spd) < 32.7 ? V = "#ff9100" : ((w = (g = E.properties) == null ? void 0 : g.wind) == null ? void 0 : w.spd) >= 32.7 && ((_ = (k = E.properties) == null ? void 0 : k.wind) == null ? void 0 : _.spd) < 41.5 ? V = "#f44336" : ((A = (D = E.properties) == null ? void 0 : D.wind) == null ? void 0 : A.spd) >= 41.5 && ((W = (B = E.properties) == null ? void 0 : B.wind) == null ? void 0 : W.spd) < 51 ? V = "#f903d0" : ((Z = (O = E.properties) == null ? void 0 : O.wind) == null ? void 0 : Z.spd) >= 51 ? V = "#8702f9" : V = "#f44336";
|
|
3960
|
-
const
|
|
3957
|
+
const ve = `<svg t="1719918955501"
|
|
3961
3958
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
3962
3959
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
3963
3960
|
<path
|
|
@@ -3971,23 +3968,23 @@ const Oa = {
|
|
|
3971
3968
|
<path
|
|
3972
3969
|
d="M420.66666667 959.17a16.08 16.08 0 0 1-15.91-13.49A15.89 15.89 0 0 1 415.50666667 928c1.49-0.55 38.88-14.76 72.79-65.52A354.55 354.55 0 0 1 162.66666667 509.17a450.14 450.14 0 0 1 450.5-450.5 16.07 16.07 0 0 1 15.91 13.48 15.88 15.88 0 0 1-10.75 17.66c-1.58 0.58-39.13 14.9-73.07 65.95A354.22 354.22 0 0 1 871.66666667 509.17a16 16 0 0 1-0.52 4.05A450.14 450.14 0 0 1 420.66666667 959.17zM554.80666667 94.72C351.57666667 123.2 194.66666667 298.21 194.66666667 509.17c0 177.08 144.06 321.74 321.13 322.48a16 16 0 0 1 14.07 23.49c-16.11 30.42-34.27 52.37-50.85 68C682.25666667 894.63 839.16666667 719.63 839.16666667 508.67a15.94 15.94 0 0 1 0.47-3.86C837.30666667 329.33 693.82666667 187 517.80666667 186.67A16 16 0 0 1 503.66666667 163.21c16.21-30.69 34.47-52.79 51.14-68.49z"
|
|
3973
3970
|
fill="#ffffff" p-id="18386"></path>
|
|
3974
|
-
</svg>`,
|
|
3975
|
-
|
|
3976
|
-
const
|
|
3977
|
-
if (this.interpolateMarkers.push(
|
|
3978
|
-
const
|
|
3979
|
-
(
|
|
3971
|
+
</svg>`, Q = document.createElement("div");
|
|
3972
|
+
Q.className = "hurricane-hourly-marker", Q.innerHTML = `<div class="${E.geometry.coordinates[1] >= 0 ? "center north" : "center south"}">${ve}</div>`;
|
|
3973
|
+
const _e = new ne.Marker(Q).setLngLat(E.geometry.coordinates).addTo(this.map);
|
|
3974
|
+
if (this.interpolateMarkers.push(_e), (de = E.properties) != null && de.showCircle) {
|
|
3975
|
+
const ie = { radius: 100, coordinates: E.geometry.coordinates }, re = { radius: 200, coordinates: E.geometry.coordinates }, oe = { radius: 500, coordinates: E.geometry.coordinates };
|
|
3976
|
+
(pe = this.circleSourceData) == null || pe.features.push(
|
|
3977
|
+
C.circle(ie.coordinates, ie.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
|
|
3978
|
+
), (me = this.circleSourceData) == null || me.features.push(
|
|
3980
3979
|
C.circle(re.coordinates, re.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
|
|
3981
3980
|
), (ue = this.circleSourceData) == null || ue.features.push(
|
|
3982
3981
|
C.circle(oe.coordinates, oe.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
|
|
3983
|
-
), (ye = this.circleSourceData) == null || ye.features.push(
|
|
3984
|
-
C.circle(se.coordinates, se.radius, { steps: 100, units: "kilometers", properties: { type: "tropicalCircle" } })
|
|
3985
3982
|
);
|
|
3986
3983
|
}
|
|
3987
|
-
(
|
|
3984
|
+
(fe = (ye = this.map) == null ? void 0 : ye.getSource(this.circleSource)) == null || fe.setData(this.circleSourceData);
|
|
3988
3985
|
}
|
|
3989
3986
|
} else
|
|
3990
|
-
(
|
|
3987
|
+
(ge = this.map) != null && ge.getSource(this.interpolateSource) && ((ae = this.map) == null || ae.getSource(this.interpolateSource).setData(this.empty));
|
|
3991
3988
|
},
|
|
3992
3989
|
handleClick(t) {
|
|
3993
3990
|
var o, n, s, c, h, d, p, f;
|
|
@@ -4014,7 +4011,7 @@ const Oa = {
|
|
|
4014
4011
|
showCircle: (f = (p = a[0]) == null ? void 0 : p.properties) == null ? void 0 : f.showCircle
|
|
4015
4012
|
}, this.showTropicals = !0;
|
|
4016
4013
|
const i = document.getElementById("active-tropical");
|
|
4017
|
-
this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.activeTropicalsMarker = new
|
|
4014
|
+
this.activeTropicalsMarker ? this.activeTropicalsMarker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.activeTropicalsMarker = new ne.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([220, 0]).addTo(this.map);
|
|
4018
4015
|
},
|
|
4019
4016
|
handleForecastToggle(t) {
|
|
4020
4017
|
var r, i, o, n, s, c;
|
|
@@ -4099,53 +4096,53 @@ const Oa = {
|
|
|
4099
4096
|
return C.lineToPolygon(i, { properties: a });
|
|
4100
4097
|
}
|
|
4101
4098
|
}
|
|
4102
|
-
},
|
|
4099
|
+
}, je = (t) => (G("data-v-b5b42393"), t = t(), H(), t), Oa = {
|
|
4103
4100
|
id: "active-tropical",
|
|
4104
4101
|
class: "active-tropical"
|
|
4105
|
-
},
|
|
4102
|
+
}, ja = { class: "header-box" }, Fa = { class: "main" }, Va = { key: 0 }, Ua = { class: "sub" }, Ga = {
|
|
4106
4103
|
id: "meteoBox",
|
|
4107
4104
|
class: "main-box"
|
|
4108
|
-
},
|
|
4105
|
+
}, Ha = { class: "content" }, Za = { class: "row" }, Ja = {
|
|
4109
4106
|
class: "col col-left",
|
|
4110
4107
|
style: { "justify-content": "flex-start" }
|
|
4111
|
-
},
|
|
4108
|
+
}, Xa = /* @__PURE__ */ je(() => /* @__PURE__ */ l("label", null, "Wind speed : ", -1)), qa = {
|
|
4112
4109
|
class: "col col-right",
|
|
4113
4110
|
style: { "justify-content": "flex-start" }
|
|
4114
|
-
},
|
|
4111
|
+
}, Ya = /* @__PURE__ */ je(() => /* @__PURE__ */ l("label", null, "Pressure : ", -1)), Qa = { class: "row" }, Ka = {
|
|
4115
4112
|
class: "col col-24",
|
|
4116
4113
|
style: { "justify-content": "flex-start" }
|
|
4117
|
-
},
|
|
4118
|
-
function
|
|
4114
|
+
}, ei = /* @__PURE__ */ je(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)), ti = { class: "forecast-models" }, ai = ["onClick"], ii = /* @__PURE__ */ it('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-b5b42393></div><div class="row" style="padding:2px 10px;" data-v-b5b42393><div class="legend" data-v-b5b42393><div class="icon td" data-v-b5b42393></div><div class="label" data-v-b5b42393>TD</div></div><div class="legend" data-v-b5b42393><div class="icon ts" data-v-b5b42393></div><div class="label" data-v-b5b42393>TS</div></div><div class="legend" data-v-b5b42393><div class="icon sts" data-v-b5b42393></div><div class="label" data-v-b5b42393>STS</div></div><div class="legend" data-v-b5b42393><div class="icon ty" data-v-b5b42393></div><div class="label" data-v-b5b42393>TY</div></div><div class="legend" data-v-b5b42393><div class="icon sty" data-v-b5b42393></div><div class="label" data-v-b5b42393>STY</div></div><div class="legend" data-v-b5b42393><div class="icon supper-ty" data-v-b5b42393></div><div class="label" data-v-b5b42393>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-b5b42393><div class="legend" data-v-b5b42393><div class="icon history" data-v-b5b42393></div><div class="label" data-v-b5b42393>History</div></div><div class="legend" data-v-b5b42393><div class="icon r7" data-v-b5b42393></div><div class="label" data-v-b5b42393>35kts Radii</div></div><div class="legend" data-v-b5b42393><div class="icon r10" data-v-b5b42393></div><div class="label" data-v-b5b42393>50kts Radii</div></div></div>', 3), ri = { class: "more" };
|
|
4115
|
+
function oi(t, e, a, r, i, o) {
|
|
4119
4116
|
var n, s, c, h, d, p, f, m, b, y, u, v, g, w, k;
|
|
4120
|
-
return
|
|
4121
|
-
l("div",
|
|
4117
|
+
return Me((L(), x("div", Oa, [
|
|
4118
|
+
l("div", ja, [
|
|
4122
4119
|
l("div", {
|
|
4123
4120
|
class: "iconfont close-btn",
|
|
4124
4121
|
onClick: e[0] || (e[0] = (_) => i.showTropicals = !1)
|
|
4125
4122
|
}, ""),
|
|
4126
|
-
l("div",
|
|
4127
|
-
(s = (n = i.activeTropicals) == null ? void 0 : n.history) != null && s.level ? (L(), x("span",
|
|
4128
|
-
|
|
4123
|
+
l("div", Fa, [
|
|
4124
|
+
(s = (n = i.activeTropicals) == null ? void 0 : n.history) != null && s.level ? (L(), x("span", Va, S((h = (c = i.activeTropicals) == null ? void 0 : c.history) == null ? void 0 : h.level) + " , ", 1)) : $("", !0),
|
|
4125
|
+
Xe(S((d = i.activeTropicals) == null ? void 0 : d.name), 1)
|
|
4129
4126
|
]),
|
|
4130
|
-
l("div",
|
|
4127
|
+
l("div", Ua, " Last update: " + S(o.computeTime(((f = (p = i.activeTropicals) == null ? void 0 : p.history) == null ? void 0 : f.updated) || ((y = (b = (m = i.activeTropicals) == null ? void 0 : m.forecasts) == null ? void 0 : b.filter((_) => !_.disabled)[0]) == null ? void 0 : y.date))), 1)
|
|
4131
4128
|
]),
|
|
4132
|
-
l("div",
|
|
4133
|
-
l("div",
|
|
4134
|
-
l("div",
|
|
4135
|
-
l("div",
|
|
4136
|
-
|
|
4129
|
+
l("div", Ga, [
|
|
4130
|
+
l("div", Ha, [
|
|
4131
|
+
l("div", Za, [
|
|
4132
|
+
l("div", Ja, [
|
|
4133
|
+
Xa,
|
|
4137
4134
|
l("span", null, S(((v = (u = i.activeTropicals) == null ? void 0 : u.history) == null ? void 0 : v.kts) || "-") + "[kts]", 1)
|
|
4138
4135
|
]),
|
|
4139
|
-
l("div",
|
|
4140
|
-
|
|
4136
|
+
l("div", qa, [
|
|
4137
|
+
Ya,
|
|
4141
4138
|
l("span", null, S(((w = (g = i.activeTropicals) == null ? void 0 : g.history) == null ? void 0 : w.pressure) || "-") + "[hPa]", 1)
|
|
4142
4139
|
])
|
|
4143
4140
|
]),
|
|
4144
|
-
l("div",
|
|
4145
|
-
l("div",
|
|
4146
|
-
|
|
4147
|
-
l("div",
|
|
4148
|
-
(L(!0), x(
|
|
4141
|
+
l("div", Qa, [
|
|
4142
|
+
l("div", Ka, [
|
|
4143
|
+
ei,
|
|
4144
|
+
l("div", ti, [
|
|
4145
|
+
(L(!0), x(Re, null, De((k = i.activeTropicals) == null ? void 0 : k.forecasts, (_, D) => {
|
|
4149
4146
|
var A, B, W, O;
|
|
4150
4147
|
return L(), x("div", {
|
|
4151
4148
|
key: D,
|
|
@@ -4159,14 +4156,14 @@ function si(t, e, a, r, i, o) {
|
|
|
4159
4156
|
l("span", {
|
|
4160
4157
|
class: M(_.model)
|
|
4161
4158
|
}, S(_.model), 3)
|
|
4162
|
-
], 10,
|
|
4159
|
+
], 10, ai);
|
|
4163
4160
|
}), 128))
|
|
4164
4161
|
])
|
|
4165
4162
|
])
|
|
4166
4163
|
]),
|
|
4167
|
-
|
|
4164
|
+
ii
|
|
4168
4165
|
]),
|
|
4169
|
-
l("div",
|
|
4166
|
+
l("div", ri, [
|
|
4170
4167
|
l("div", {
|
|
4171
4168
|
class: "button",
|
|
4172
4169
|
onClick: e[1] || (e[1] = (_) => o.handleStrikeProbability(i.activeTropicals))
|
|
@@ -4174,11 +4171,11 @@ function si(t, e, a, r, i, o) {
|
|
|
4174
4171
|
])
|
|
4175
4172
|
])
|
|
4176
4173
|
], 512)), [
|
|
4177
|
-
[
|
|
4174
|
+
[$e, i.showTropicals && !t.$attrs.hideTropicalsLegend]
|
|
4178
4175
|
]);
|
|
4179
4176
|
}
|
|
4180
|
-
const
|
|
4181
|
-
const
|
|
4177
|
+
const Ye = /* @__PURE__ */ T(Wa, [["render", oi], ["__scopeId", "data-v-b5b42393"]]);
|
|
4178
|
+
const si = {
|
|
4182
4179
|
name: "IdmPrecip3h",
|
|
4183
4180
|
props: {
|
|
4184
4181
|
factor: {
|
|
@@ -4206,7 +4203,7 @@ const ni = {
|
|
|
4206
4203
|
texture: void 0,
|
|
4207
4204
|
rampColor: void 0,
|
|
4208
4205
|
aPositionBuffer: void 0,
|
|
4209
|
-
webgl: new
|
|
4206
|
+
webgl: new we(),
|
|
4210
4207
|
etime: void 0,
|
|
4211
4208
|
right: 10
|
|
4212
4209
|
};
|
|
@@ -4279,27 +4276,27 @@ const ni = {
|
|
|
4279
4276
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4280
4277
|
}
|
|
4281
4278
|
}
|
|
4282
|
-
},
|
|
4279
|
+
}, ce = (t) => (G("data-v-dec867b8"), t = t(), H(), t), ni = { key: 0 }, li = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "mm", -1)), ci = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "1.5", -1)), hi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "2", -1)), di = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "3", -1)), pi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "7", -1)), mi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "10", -1)), ui = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "20", -1)), yi = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "30", -1)), fi = [
|
|
4280
|
+
li,
|
|
4283
4281
|
ci,
|
|
4284
4282
|
hi,
|
|
4285
4283
|
di,
|
|
4286
4284
|
pi,
|
|
4287
4285
|
mi,
|
|
4288
4286
|
ui,
|
|
4289
|
-
yi
|
|
4290
|
-
fi
|
|
4287
|
+
yi
|
|
4291
4288
|
];
|
|
4292
|
-
function
|
|
4289
|
+
function gi(t, e, a, r, i, o) {
|
|
4293
4290
|
var n;
|
|
4294
|
-
return (n = a.factor) != null && n.active ? (L(), x("div",
|
|
4291
|
+
return (n = a.factor) != null && n.active ? (L(), x("div", ni, [
|
|
4295
4292
|
l("div", {
|
|
4296
4293
|
class: "legend-bars flex-center",
|
|
4297
4294
|
style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
|
|
4298
|
-
},
|
|
4295
|
+
}, fi, 4)
|
|
4299
4296
|
])) : $("", !0);
|
|
4300
4297
|
}
|
|
4301
|
-
const
|
|
4302
|
-
const
|
|
4298
|
+
const bi = /* @__PURE__ */ T(si, [["render", gi], ["__scopeId", "data-v-dec867b8"]]);
|
|
4299
|
+
const vi = {
|
|
4303
4300
|
name: "IdmVisibility",
|
|
4304
4301
|
props: {
|
|
4305
4302
|
factor: {
|
|
@@ -4327,7 +4324,7 @@ const _i = {
|
|
|
4327
4324
|
texture: void 0,
|
|
4328
4325
|
rampColor: void 0,
|
|
4329
4326
|
aPositionBuffer: void 0,
|
|
4330
|
-
webgl: new
|
|
4327
|
+
webgl: new we(),
|
|
4331
4328
|
etime: void 0
|
|
4332
4329
|
};
|
|
4333
4330
|
},
|
|
@@ -4393,25 +4390,25 @@ const _i = {
|
|
|
4393
4390
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4394
4391
|
}
|
|
4395
4392
|
}
|
|
4396
|
-
},
|
|
4393
|
+
}, xe = (t) => (G("data-v-952dee5c"), t = t(), H(), t), _i = { key: 0 }, wi = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "nm", -1)), Li = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "0", -1)), xi = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "0.5", -1)), Ci = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "1.5", -1)), Si = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "3", -1)), ki = /* @__PURE__ */ xe(() => /* @__PURE__ */ l("span", null, "9", -1)), zi = [
|
|
4394
|
+
wi,
|
|
4397
4395
|
Li,
|
|
4398
4396
|
xi,
|
|
4399
4397
|
Ci,
|
|
4400
4398
|
Si,
|
|
4401
|
-
ki
|
|
4402
|
-
zi
|
|
4399
|
+
ki
|
|
4403
4400
|
];
|
|
4404
|
-
function
|
|
4401
|
+
function Pi(t, e, a, r, i, o) {
|
|
4405
4402
|
var n;
|
|
4406
|
-
return (n = a.factor) != null && n.active ? (L(), x("div",
|
|
4403
|
+
return (n = a.factor) != null && n.active ? (L(), x("div", _i, [
|
|
4407
4404
|
l("div", {
|
|
4408
4405
|
class: "legend-bars flex-center",
|
|
4409
4406
|
style: F([{ position: "absolute" }, { right: t.right + "px", bottom: a.bottom }])
|
|
4410
|
-
},
|
|
4407
|
+
}, zi, 4)
|
|
4411
4408
|
])) : $("", !0);
|
|
4412
4409
|
}
|
|
4413
|
-
const
|
|
4414
|
-
const
|
|
4410
|
+
const Ti = /* @__PURE__ */ T(vi, [["render", Pi], ["__scopeId", "data-v-952dee5c"]]);
|
|
4411
|
+
const Ei = {
|
|
4415
4412
|
name: "IdmWaterTemp",
|
|
4416
4413
|
props: {
|
|
4417
4414
|
factor: {
|
|
@@ -4439,7 +4436,7 @@ const Ii = {
|
|
|
4439
4436
|
texture: void 0,
|
|
4440
4437
|
rampColor: void 0,
|
|
4441
4438
|
aPositionBuffer: void 0,
|
|
4442
|
-
webgl: new
|
|
4439
|
+
webgl: new we(),
|
|
4443
4440
|
etime: void 0,
|
|
4444
4441
|
right: 10
|
|
4445
4442
|
};
|
|
@@ -4513,25 +4510,25 @@ const Ii = {
|
|
|
4513
4510
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4514
4511
|
}
|
|
4515
4512
|
}
|
|
4516
|
-
},
|
|
4513
|
+
}, Ce = (t) => (G("data-v-67e5094b"), t = t(), H(), t), Ii = { key: 0 }, Ri = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "°C", -1)), Di = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "0", -1)), Ai = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "10", -1)), Mi = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "20", -1)), $i = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "30", -1)), Bi = /* @__PURE__ */ Ce(() => /* @__PURE__ */ l("span", null, "40", -1)), Ni = [
|
|
4514
|
+
Ri,
|
|
4517
4515
|
Di,
|
|
4518
4516
|
Ai,
|
|
4519
4517
|
Mi,
|
|
4520
4518
|
$i,
|
|
4521
|
-
Bi
|
|
4522
|
-
Ni
|
|
4519
|
+
Bi
|
|
4523
4520
|
];
|
|
4524
|
-
function
|
|
4521
|
+
function Wi(t, e, a, r, i, o) {
|
|
4525
4522
|
var n;
|
|
4526
|
-
return (n = a.factor) != null && n.active ? (L(), x("div",
|
|
4523
|
+
return (n = a.factor) != null && n.active ? (L(), x("div", Ii, [
|
|
4527
4524
|
l("div", {
|
|
4528
4525
|
class: "legend-bars flex-center",
|
|
4529
4526
|
style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
|
|
4530
|
-
},
|
|
4527
|
+
}, Ni, 4)
|
|
4531
4528
|
])) : $("", !0);
|
|
4532
4529
|
}
|
|
4533
|
-
const
|
|
4534
|
-
const
|
|
4530
|
+
const Oi = /* @__PURE__ */ T(Ei, [["render", Wi], ["__scopeId", "data-v-67e5094b"]]);
|
|
4531
|
+
const ji = {
|
|
4535
4532
|
name: "IdmTemp",
|
|
4536
4533
|
props: {
|
|
4537
4534
|
factor: {
|
|
@@ -4559,7 +4556,7 @@ const Fi = {
|
|
|
4559
4556
|
texture: void 0,
|
|
4560
4557
|
rampColor: void 0,
|
|
4561
4558
|
aPositionBuffer: void 0,
|
|
4562
|
-
webgl: new
|
|
4559
|
+
webgl: new we(),
|
|
4563
4560
|
etime: void 0,
|
|
4564
4561
|
right: 10
|
|
4565
4562
|
};
|
|
@@ -4636,27 +4633,27 @@ const Fi = {
|
|
|
4636
4633
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4637
4634
|
}
|
|
4638
4635
|
}
|
|
4639
|
-
},
|
|
4636
|
+
}, he = (t) => (G("data-v-389ea886"), t = t(), H(), t), Fi = { key: 0 }, Vi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "°C", -1)), Ui = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "-20", -1)), Gi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "-10", -1)), Hi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "0", -1)), Zi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "10", -1)), Ji = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "20", -1)), Xi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "30", -1)), qi = /* @__PURE__ */ he(() => /* @__PURE__ */ l("span", null, "40", -1)), Yi = [
|
|
4637
|
+
Vi,
|
|
4640
4638
|
Ui,
|
|
4641
4639
|
Gi,
|
|
4642
4640
|
Hi,
|
|
4643
4641
|
Zi,
|
|
4644
4642
|
Ji,
|
|
4645
4643
|
Xi,
|
|
4646
|
-
qi
|
|
4647
|
-
Yi
|
|
4644
|
+
qi
|
|
4648
4645
|
];
|
|
4649
|
-
function
|
|
4646
|
+
function Qi(t, e, a, r, i, o) {
|
|
4650
4647
|
var n;
|
|
4651
|
-
return (n = a.factor) != null && n.active ? (L(), x("div",
|
|
4648
|
+
return (n = a.factor) != null && n.active ? (L(), x("div", Fi, [
|
|
4652
4649
|
l("div", {
|
|
4653
4650
|
class: "legend-bars flex-center",
|
|
4654
4651
|
style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
|
|
4655
|
-
},
|
|
4652
|
+
}, Yi, 4)
|
|
4656
4653
|
])) : $("", !0);
|
|
4657
4654
|
}
|
|
4658
|
-
const
|
|
4659
|
-
const
|
|
4655
|
+
const Ki = /* @__PURE__ */ T(ji, [["render", Qi], ["__scopeId", "data-v-389ea886"]]);
|
|
4656
|
+
const er = {
|
|
4660
4657
|
name: "IdmArctic",
|
|
4661
4658
|
props: {
|
|
4662
4659
|
factor: {
|
|
@@ -4684,7 +4681,7 @@ const tr = {
|
|
|
4684
4681
|
texture: void 0,
|
|
4685
4682
|
rampColor: void 0,
|
|
4686
4683
|
aPositionBuffer: void 0,
|
|
4687
|
-
webgl: new
|
|
4684
|
+
webgl: new we(),
|
|
4688
4685
|
etime: void 0,
|
|
4689
4686
|
right: 10
|
|
4690
4687
|
};
|
|
@@ -4752,25 +4749,25 @@ const tr = {
|
|
|
4752
4749
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4753
4750
|
}
|
|
4754
4751
|
}
|
|
4755
|
-
},
|
|
4752
|
+
}, Se = (t) => (G("data-v-db805141"), t = t(), H(), t), tr = { key: 0 }, ar = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "m", -1)), ir = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "0", -1)), rr = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "0.5", -1)), or = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "1", -1)), sr = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "1.5", -1)), nr = /* @__PURE__ */ Se(() => /* @__PURE__ */ l("span", null, "2", -1)), lr = [
|
|
4753
|
+
ar,
|
|
4756
4754
|
ir,
|
|
4757
4755
|
rr,
|
|
4758
4756
|
or,
|
|
4759
4757
|
sr,
|
|
4760
|
-
nr
|
|
4761
|
-
lr
|
|
4758
|
+
nr
|
|
4762
4759
|
];
|
|
4763
|
-
function
|
|
4760
|
+
function cr(t, e, a, r, i, o) {
|
|
4764
4761
|
var n;
|
|
4765
|
-
return (n = a.factor) != null && n.active ? (L(), x("div",
|
|
4762
|
+
return (n = a.factor) != null && n.active ? (L(), x("div", tr, [
|
|
4766
4763
|
l("div", {
|
|
4767
4764
|
class: "legend-bars flex-center",
|
|
4768
4765
|
style: F([{ position: "absolute" }, { right: i.right + "px", bottom: a.bottom }])
|
|
4769
|
-
},
|
|
4766
|
+
}, lr, 4)
|
|
4770
4767
|
])) : $("", !0);
|
|
4771
4768
|
}
|
|
4772
|
-
const
|
|
4773
|
-
const
|
|
4769
|
+
const hr = /* @__PURE__ */ T(er, [["render", cr], ["__scopeId", "data-v-db805141"]]);
|
|
4770
|
+
const dr = {
|
|
4774
4771
|
name: "IdmPoint",
|
|
4775
4772
|
emits: ["point", "more"],
|
|
4776
4773
|
props: {
|
|
@@ -4788,7 +4785,7 @@ const pr = {
|
|
|
4788
4785
|
return {
|
|
4789
4786
|
showMeteo: !1,
|
|
4790
4787
|
meteoMarker: void 0,
|
|
4791
|
-
helper:
|
|
4788
|
+
helper: Ae
|
|
4792
4789
|
};
|
|
4793
4790
|
},
|
|
4794
4791
|
watch: {
|
|
@@ -4812,7 +4809,7 @@ const pr = {
|
|
|
4812
4809
|
computed: {
|
|
4813
4810
|
computeTime() {
|
|
4814
4811
|
return function(t) {
|
|
4815
|
-
return t ? `${
|
|
4812
|
+
return t ? `${te(t).utc().format("MMM-DD,HHmm[Z]")}` : "-";
|
|
4816
4813
|
};
|
|
4817
4814
|
},
|
|
4818
4815
|
computeLat() {
|
|
@@ -4845,77 +4842,77 @@ const pr = {
|
|
|
4845
4842
|
var t;
|
|
4846
4843
|
if (this.meteo) {
|
|
4847
4844
|
const e = document.getElementById("point-meteo");
|
|
4848
|
-
this.meteoMarker ? (t = this.meteoMarker) == null || t.setLngLat([this.meteo.lng, this.meteo.lat]) : this.meteoMarker = new
|
|
4845
|
+
this.meteoMarker ? (t = this.meteoMarker) == null || t.setLngLat([this.meteo.lng, this.meteo.lat]) : this.meteoMarker = new ne.Marker(e).setLngLat([this.meteo.lng, this.meteo.lat]).addTo(this.map);
|
|
4849
4846
|
}
|
|
4850
4847
|
}
|
|
4851
4848
|
}
|
|
4852
|
-
},
|
|
4849
|
+
}, X = (t) => (G("data-v-ef7fa87d"), t = t(), H(), t), pr = {
|
|
4853
4850
|
id: "point-meteo",
|
|
4854
4851
|
class: "point-meteo"
|
|
4855
|
-
},
|
|
4852
|
+
}, mr = { class: "meteo-box" }, ur = { class: "header-box" }, yr = { class: "main" }, fr = { class: "sub" }, gr = { class: "main-box" }, br = { class: "flex-space" }, vr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Wind", -1)), _r = { class: "flex-space" }, wr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), Lr = { class: "flex-space" }, xr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Cr = { class: "flex-space" }, Sr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), kr = { class: "flex-space" }, zr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Current", -1)), Pr = { class: "flex-space" }, Tr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Precip", -1)), Er = { class: "flex-space" }, Ir = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Visibility", -1)), Rr = { class: "flex-space" }, Dr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Temp", -1)), Ar = { class: "flex-space" }, Mr = /* @__PURE__ */ X(() => /* @__PURE__ */ l("label", null, "Water Temp", -1)), $r = {
|
|
4856
4853
|
key: 0,
|
|
4857
4854
|
class: "flex-space",
|
|
4858
4855
|
style: { "justify-content": "flex-end" }
|
|
4859
|
-
},
|
|
4860
|
-
|
|
4856
|
+
}, Br = /* @__PURE__ */ X(() => /* @__PURE__ */ l("span", { class: "more" }, "More >>", -1)), Nr = [
|
|
4857
|
+
Br
|
|
4861
4858
|
];
|
|
4862
|
-
function
|
|
4863
|
-
var n, s, c, h, d, p, f, m, b, y, u, v, g, w, k, _, D, A, B, W, O, Z, pe, me, ue, ye, fe, ge,
|
|
4864
|
-
return
|
|
4865
|
-
l("div",
|
|
4866
|
-
l("div",
|
|
4859
|
+
function Wr(t, e, a, r, i, o) {
|
|
4860
|
+
var n, s, c, h, d, p, f, m, b, y, u, v, g, w, k, _, D, A, B, W, O, Z, de, pe, me, ue, ye, fe, ge, ae, J, q, be, Y, E, V, ve, Q, _e, ie, re, oe, ke, ze, Pe, Te, Ee;
|
|
4861
|
+
return Me((L(), x("div", pr, [
|
|
4862
|
+
l("div", mr, [
|
|
4863
|
+
l("div", ur, [
|
|
4867
4864
|
l("div", {
|
|
4868
4865
|
class: "iconfont close",
|
|
4869
|
-
onClick: e[0] || (e[0] = (
|
|
4866
|
+
onClick: e[0] || (e[0] = (Ne) => i.showMeteo = !1)
|
|
4870
4867
|
}, ""),
|
|
4871
|
-
l("div",
|
|
4872
|
-
l("div",
|
|
4868
|
+
l("div", yr, S(o.computeLat((n = a.meteo) == null ? void 0 : n.lat)) + "," + S(o.computeLng((s = a.meteo) == null ? void 0 : s.lng)), 1),
|
|
4869
|
+
l("div", fr, S(o.computeTime((c = a.meteo) == null ? void 0 : c.utc)), 1)
|
|
4873
4870
|
]),
|
|
4874
|
-
l("div",
|
|
4875
|
-
l("div",
|
|
4876
|
-
|
|
4871
|
+
l("div", gr, [
|
|
4872
|
+
l("div", br, [
|
|
4873
|
+
vr,
|
|
4877
4874
|
l("span", null, S(((d = (h = a.meteo) == null ? void 0 : h.wind) == null ? void 0 : d.direction) || "-") + "/" + S(o.roundPrecision((f = (p = a.meteo) == null ? void 0 : p.wind) == null ? void 0 : f.kts, 1)) + "[kts]/" + S((b = (m = a.meteo) == null ? void 0 : m.wind) == null ? void 0 : b.scale) + "[BF]/" + S(o.roundPrecision((u = (y = a.meteo) == null ? void 0 : y.gusts) == null ? void 0 : u.kts, 1)) + "[kts]", 1)
|
|
4878
4875
|
]),
|
|
4879
|
-
l("div",
|
|
4880
|
-
|
|
4876
|
+
l("div", _r, [
|
|
4877
|
+
wr,
|
|
4881
4878
|
l("span", null, S(((w = (g = (v = a.meteo) == null ? void 0 : v.wave) == null ? void 0 : g.wd) == null ? void 0 : w.direction) || "-") + "/" + S(o.roundPrecision((D = (_ = (k = a.meteo) == null ? void 0 : k.wave) == null ? void 0 : _.wd) == null ? void 0 : D.height, 1)) + "[m]/" + S(o.roundPrecision((W = (B = (A = a.meteo) == null ? void 0 : A.wave) == null ? void 0 : B.wd) == null ? void 0 : W.period, 1)) + "[s]", 1)
|
|
4882
4879
|
]),
|
|
4883
|
-
l("div",
|
|
4884
|
-
|
|
4885
|
-
l("span", null, S(((
|
|
4880
|
+
l("div", Lr, [
|
|
4881
|
+
xr,
|
|
4882
|
+
l("span", null, S(((de = (Z = (O = a.meteo) == null ? void 0 : O.wave) == null ? void 0 : Z.swell) == null ? void 0 : de.direction) || "-") + "/" + S(o.roundPrecision((ue = (me = (pe = a.meteo) == null ? void 0 : pe.wave) == null ? void 0 : me.swell) == null ? void 0 : ue.height, 1)) + "[m]/" + S(o.roundPrecision((ge = (fe = (ye = a.meteo) == null ? void 0 : ye.wave) == null ? void 0 : fe.swell) == null ? void 0 : ge.period, 1)) + "[s]", 1)
|
|
4886
4883
|
]),
|
|
4887
|
-
l("div",
|
|
4888
|
-
|
|
4889
|
-
l("span", null, S(((
|
|
4884
|
+
l("div", Cr, [
|
|
4885
|
+
Sr,
|
|
4886
|
+
l("span", null, S(((q = (J = (ae = a.meteo) == null ? void 0 : ae.wave) == null ? void 0 : J.sig) == null ? void 0 : q.direction) || "-") + "/" + S(o.roundPrecision((E = (Y = (be = a.meteo) == null ? void 0 : be.wave) == null ? void 0 : Y.sig) == null ? void 0 : E.height, 1)) + "[m]/" + S(o.roundPrecision((Q = (ve = (V = a.meteo) == null ? void 0 : V.wave) == null ? void 0 : ve.sig) == null ? void 0 : Q.period, 1)) + "[s]", 1)
|
|
4890
4887
|
]),
|
|
4891
|
-
l("div",
|
|
4892
|
-
|
|
4893
|
-
l("span", null, S(((
|
|
4888
|
+
l("div", kr, [
|
|
4889
|
+
zr,
|
|
4890
|
+
l("span", null, S(((ie = (_e = a.meteo) == null ? void 0 : _e.current) == null ? void 0 : ie.direction) || "-") + "/" + S(o.roundPrecision((oe = (re = a.meteo) == null ? void 0 : re.current) == null ? void 0 : oe.kts, 2)) + "[kts]", 1)
|
|
4894
4891
|
]),
|
|
4895
|
-
l("div",
|
|
4896
|
-
|
|
4897
|
-
l("span", null, S(o.roundPrecision((
|
|
4892
|
+
l("div", Pr, [
|
|
4893
|
+
Tr,
|
|
4894
|
+
l("span", null, S(o.roundPrecision((ze = (ke = a.meteo) == null ? void 0 : ke.precip) == null ? void 0 : ze.inter6h, 2)) + "[mm]", 1)
|
|
4898
4895
|
]),
|
|
4899
|
-
l("div",
|
|
4900
|
-
|
|
4901
|
-
l("span", null, S(o.roundPrecision(((
|
|
4896
|
+
l("div", Er, [
|
|
4897
|
+
Ir,
|
|
4898
|
+
l("span", null, S(o.roundPrecision(((Pe = a.meteo) == null ? void 0 : Pe.visibility) / 1852, 0)) + "[nm]", 1)
|
|
4902
4899
|
]),
|
|
4903
|
-
l("div",
|
|
4904
|
-
|
|
4905
|
-
l("span", null, S(o.roundPrecision((
|
|
4900
|
+
l("div", Rr, [
|
|
4901
|
+
Dr,
|
|
4902
|
+
l("span", null, S(o.roundPrecision((Te = a.meteo) == null ? void 0 : Te.temp, 0)) + "[°C]", 1)
|
|
4906
4903
|
]),
|
|
4907
|
-
l("div",
|
|
4908
|
-
|
|
4909
|
-
l("span", null, S(o.roundPrecision((
|
|
4904
|
+
l("div", Ar, [
|
|
4905
|
+
Mr,
|
|
4906
|
+
l("span", null, S(o.roundPrecision((Ee = a.meteo) == null ? void 0 : Ee.waterTemp, 2)) + "[°C]", 1)
|
|
4910
4907
|
])
|
|
4911
4908
|
]),
|
|
4912
|
-
t.$attrs.permission & i.helper.LEVEL.Prime ? (L(), x("div",
|
|
4909
|
+
t.$attrs.permission & i.helper.LEVEL.Prime ? (L(), x("div", $r, Nr)) : $("", !0)
|
|
4913
4910
|
])
|
|
4914
4911
|
], 512)), [
|
|
4915
|
-
[
|
|
4912
|
+
[$e, i.showMeteo]
|
|
4916
4913
|
]);
|
|
4917
4914
|
}
|
|
4918
|
-
const
|
|
4915
|
+
const Or = /* @__PURE__ */ T(dr, [["render", Wr], ["__scopeId", "data-v-ef7fa87d"]]), jr = {
|
|
4919
4916
|
name: "IdmWarZone",
|
|
4920
4917
|
props: {
|
|
4921
4918
|
map: {
|
|
@@ -5005,10 +5002,10 @@ const jr = /* @__PURE__ */ T(pr, [["render", Or], ["__scopeId", "data-v-ef7fa87d
|
|
|
5005
5002
|
}
|
|
5006
5003
|
}
|
|
5007
5004
|
};
|
|
5008
|
-
function
|
|
5005
|
+
function Fr(t, e, a, r, i, o) {
|
|
5009
5006
|
return L(), x("div");
|
|
5010
5007
|
}
|
|
5011
|
-
const
|
|
5008
|
+
const Vr = /* @__PURE__ */ T(jr, [["render", Fr]]), Ur = {
|
|
5012
5009
|
name: "IdmGmdssArea",
|
|
5013
5010
|
props: {
|
|
5014
5011
|
map: {
|
|
@@ -5128,10 +5125,10 @@ const Ur = /* @__PURE__ */ T(Fr, [["render", Vr]]), Gr = {
|
|
|
5128
5125
|
}
|
|
5129
5126
|
}
|
|
5130
5127
|
};
|
|
5131
|
-
function
|
|
5128
|
+
function Gr(t, e, a, r, i, o) {
|
|
5132
5129
|
return L(), x("div");
|
|
5133
5130
|
}
|
|
5134
|
-
const
|
|
5131
|
+
const Hr = /* @__PURE__ */ T(Ur, [["render", Gr]]), Zr = {
|
|
5135
5132
|
name: "IdmEcaZone",
|
|
5136
5133
|
props: {
|
|
5137
5134
|
map: {
|
|
@@ -5219,11 +5216,11 @@ const Zr = /* @__PURE__ */ T(Gr, [["render", Hr]]), Jr = {
|
|
|
5219
5216
|
}
|
|
5220
5217
|
}
|
|
5221
5218
|
};
|
|
5222
|
-
function
|
|
5219
|
+
function Jr(t, e, a, r, i, o) {
|
|
5223
5220
|
return L(), x("div");
|
|
5224
5221
|
}
|
|
5225
|
-
const
|
|
5226
|
-
const
|
|
5222
|
+
const Xr = /* @__PURE__ */ T(Zr, [["render", Jr]]);
|
|
5223
|
+
const qr = {
|
|
5227
5224
|
name: "IdmAlertZone",
|
|
5228
5225
|
props: {
|
|
5229
5226
|
map: {
|
|
@@ -5349,10 +5346,10 @@ const Yr = {
|
|
|
5349
5346
|
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);
|
|
5350
5347
|
}
|
|
5351
5348
|
}
|
|
5352
|
-
},
|
|
5353
|
-
function
|
|
5349
|
+
}, Yr = { id: "zone-info" }, Qr = ["innerHTML"];
|
|
5350
|
+
function Kr(t, e, a, r, i, o) {
|
|
5354
5351
|
var n;
|
|
5355
|
-
return
|
|
5352
|
+
return Me((L(), x("div", Yr, [
|
|
5356
5353
|
l("div", {
|
|
5357
5354
|
class: "iconfont close",
|
|
5358
5355
|
onClick: e[0] || (e[0] = (s) => i.showZone = !1)
|
|
@@ -5360,13 +5357,13 @@ function eo(t, e, a, r, i, o) {
|
|
|
5360
5357
|
l("div", {
|
|
5361
5358
|
class: "rich-context",
|
|
5362
5359
|
innerHTML: (n = i.form) == null ? void 0 : n.name
|
|
5363
|
-
}, null, 8,
|
|
5360
|
+
}, null, 8, Qr)
|
|
5364
5361
|
], 512)), [
|
|
5365
|
-
[
|
|
5362
|
+
[$e, i.showZone]
|
|
5366
5363
|
]);
|
|
5367
5364
|
}
|
|
5368
|
-
const
|
|
5369
|
-
const
|
|
5365
|
+
const eo = /* @__PURE__ */ T(qr, [["render", Kr], ["__scopeId", "data-v-c0864afc"]]);
|
|
5366
|
+
const to = {
|
|
5370
5367
|
name: "IdmPort",
|
|
5371
5368
|
props: {
|
|
5372
5369
|
map: {
|
|
@@ -5419,7 +5416,7 @@ const ao = {
|
|
|
5419
5416
|
if (a) {
|
|
5420
5417
|
this.showPort = !0, this.form = { ...a.properties }, this.form.lng = a.geometry.coordinates[0], this.form.lat = a.geometry.coordinates[1];
|
|
5421
5418
|
const i = document.getElementById("port-info");
|
|
5422
|
-
this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new
|
|
5419
|
+
this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new ne.Marker(i).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -85]).addTo(this.map);
|
|
5423
5420
|
}
|
|
5424
5421
|
},
|
|
5425
5422
|
handleEmit() {
|
|
@@ -5458,41 +5455,41 @@ const ao = {
|
|
|
5458
5455
|
this.showPort = !1, this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
5459
5456
|
}
|
|
5460
5457
|
}
|
|
5461
|
-
},
|
|
5458
|
+
}, Be = (t) => (G("data-v-4ab013cc"), t = t(), H(), t), ao = { id: "port-info" }, io = { class: "port-box" }, ro = { class: "flex-start" }, oo = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Name : ", -1)), so = { class: "flex-start" }, no = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Position : ", -1)), lo = { class: "flex-start" }, co = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "LoCode : ", -1)), ho = {
|
|
5462
5459
|
class: "flex-start",
|
|
5463
5460
|
style: { "align-items": "flex-start" }
|
|
5464
|
-
},
|
|
5465
|
-
function
|
|
5466
|
-
return
|
|
5461
|
+
}, po = /* @__PURE__ */ Be(() => /* @__PURE__ */ l("label", null, "Region : ", -1));
|
|
5462
|
+
function mo(t, e, a, r, i, o) {
|
|
5463
|
+
return Me((L(), x("div", ao, [
|
|
5467
5464
|
l("div", {
|
|
5468
5465
|
class: "close iconfont",
|
|
5469
5466
|
onClick: e[0] || (e[0] = (n) => i.showPort = !1)
|
|
5470
5467
|
}, ""),
|
|
5471
|
-
l("div",
|
|
5472
|
-
l("div",
|
|
5473
|
-
|
|
5468
|
+
l("div", io, [
|
|
5469
|
+
l("div", ro, [
|
|
5470
|
+
oo,
|
|
5474
5471
|
l("span", {
|
|
5475
5472
|
onClick: e[1] || (e[1] = (...n) => o.handleEmit && o.handleEmit(...n))
|
|
5476
5473
|
}, S(i.form.name), 1)
|
|
5477
5474
|
]),
|
|
5478
|
-
l("div",
|
|
5479
|
-
|
|
5475
|
+
l("div", so, [
|
|
5476
|
+
no,
|
|
5480
5477
|
l("span", null, S(o.computeLat(i.form.lat)) + ", " + S(o.computeLng(i.form.lng)), 1)
|
|
5481
5478
|
]),
|
|
5482
|
-
l("div",
|
|
5483
|
-
|
|
5479
|
+
l("div", lo, [
|
|
5480
|
+
co,
|
|
5484
5481
|
l("span", null, S(i.form.loCode || "-"), 1)
|
|
5485
5482
|
]),
|
|
5486
|
-
l("div",
|
|
5487
|
-
|
|
5483
|
+
l("div", ho, [
|
|
5484
|
+
po,
|
|
5488
5485
|
l("span", null, S(i.form.city || "-") + ", " + S(i.form.country || "-"), 1)
|
|
5489
5486
|
])
|
|
5490
5487
|
])
|
|
5491
5488
|
], 512)), [
|
|
5492
|
-
[
|
|
5489
|
+
[$e, i.showPort]
|
|
5493
5490
|
]);
|
|
5494
5491
|
}
|
|
5495
|
-
const
|
|
5492
|
+
const uo = /* @__PURE__ */ T(to, [["render", mo], ["__scopeId", "data-v-4ab013cc"]]), yo = {
|
|
5496
5493
|
name: "IdmLoadLine",
|
|
5497
5494
|
props: {
|
|
5498
5495
|
map: {
|
|
@@ -5562,10 +5559,10 @@ const yo = /* @__PURE__ */ T(ao, [["render", uo], ["__scopeId", "data-v-4ab013cc
|
|
|
5562
5559
|
}
|
|
5563
5560
|
}
|
|
5564
5561
|
};
|
|
5565
|
-
function
|
|
5562
|
+
function fo(t, e, a, r, i, o) {
|
|
5566
5563
|
return L(), x("div");
|
|
5567
5564
|
}
|
|
5568
|
-
const
|
|
5565
|
+
const go = /* @__PURE__ */ T(yo, [["render", fo]]), bo = {
|
|
5569
5566
|
name: "IdmTimezone",
|
|
5570
5567
|
props: {
|
|
5571
5568
|
map: {
|
|
@@ -5730,10 +5727,10 @@ const bo = /* @__PURE__ */ T(fo, [["render", go]]), vo = {
|
|
|
5730
5727
|
}
|
|
5731
5728
|
}
|
|
5732
5729
|
};
|
|
5733
|
-
function
|
|
5730
|
+
function vo(t, e, a, r, i, o) {
|
|
5734
5731
|
return L(), x("div");
|
|
5735
5732
|
}
|
|
5736
|
-
const
|
|
5733
|
+
const _o = /* @__PURE__ */ T(bo, [["render", vo]]), wo = {
|
|
5737
5734
|
name: "IdmVoluntaryReportingArea",
|
|
5738
5735
|
props: {
|
|
5739
5736
|
map: {
|
|
@@ -5821,10 +5818,10 @@ const wo = /* @__PURE__ */ T(vo, [["render", _o]]), Lo = {
|
|
|
5821
5818
|
}
|
|
5822
5819
|
}
|
|
5823
5820
|
};
|
|
5824
|
-
function
|
|
5821
|
+
function Lo(t, e, a, r, i, o) {
|
|
5825
5822
|
return L(), x("div");
|
|
5826
5823
|
}
|
|
5827
|
-
const
|
|
5824
|
+
const xo = /* @__PURE__ */ T(wo, [["render", Lo]]), Co = {
|
|
5828
5825
|
name: "IdmSpecialArea",
|
|
5829
5826
|
props: {
|
|
5830
5827
|
map: {
|
|
@@ -5914,10 +5911,10 @@ const Co = /* @__PURE__ */ T(Lo, [["render", xo]]), So = {
|
|
|
5914
5911
|
}
|
|
5915
5912
|
}
|
|
5916
5913
|
};
|
|
5917
|
-
function
|
|
5914
|
+
function So(t, e, a, r, i, o) {
|
|
5918
5915
|
return L(), x("div");
|
|
5919
5916
|
}
|
|
5920
|
-
const
|
|
5917
|
+
const ko = /* @__PURE__ */ T(Co, [["render", So]]), zo = {
|
|
5921
5918
|
name: "IdmTerminator",
|
|
5922
5919
|
props: {
|
|
5923
5920
|
map: {
|
|
@@ -5966,11 +5963,11 @@ const zo = /* @__PURE__ */ T(So, [["render", ko]]), Po = {
|
|
|
5966
5963
|
}
|
|
5967
5964
|
}
|
|
5968
5965
|
};
|
|
5969
|
-
function
|
|
5966
|
+
function Po(t, e, a, r, i, o) {
|
|
5970
5967
|
return L(), x("div");
|
|
5971
5968
|
}
|
|
5972
|
-
const
|
|
5973
|
-
const
|
|
5969
|
+
const To = /* @__PURE__ */ T(zo, [["render", Po]]);
|
|
5970
|
+
const Eo = {
|
|
5974
5971
|
name: "IdmLatLng",
|
|
5975
5972
|
props: {
|
|
5976
5973
|
map: {
|
|
@@ -6125,19 +6122,19 @@ const Io = {
|
|
|
6125
6122
|
(t = this.map) != null && t.getLayer(this.layer) && ((e = this.map) == null || e.removeLayer(this.layer)), (a = this.map) != null && a.getLayer(this.labelLayer) && ((r = this.map) == null || r.removeLayer(this.labelLayer)), (i = this.map) != null && i.getSource(this.source) && ((o = this.map) == null || o.removeSource(this.source));
|
|
6126
6123
|
}
|
|
6127
6124
|
}
|
|
6128
|
-
},
|
|
6129
|
-
function
|
|
6125
|
+
}, Io = (t) => (G("data-v-7367f59b"), t = t(), H(), t), Ro = /* @__PURE__ */ Io(() => /* @__PURE__ */ l("span", null, ", ", -1));
|
|
6126
|
+
function Do(t, e, a, r, i, o) {
|
|
6130
6127
|
return i.lngLat ? (L(), x("div", {
|
|
6131
6128
|
key: 0,
|
|
6132
6129
|
class: "lat-lng-tip",
|
|
6133
6130
|
style: F({ right: i.right + "px", bottom: a.bottom })
|
|
6134
6131
|
}, [
|
|
6135
6132
|
l("span", null, S(i.lngLat.lat.pretty), 1),
|
|
6136
|
-
|
|
6133
|
+
Ro,
|
|
6137
6134
|
l("span", null, S(i.lngLat.lng.pretty), 1)
|
|
6138
6135
|
], 4)) : $("", !0);
|
|
6139
6136
|
}
|
|
6140
|
-
const
|
|
6137
|
+
const Qe = /* @__PURE__ */ T(Eo, [["render", Do], ["__scopeId", "data-v-7367f59b"]]), Ao = {
|
|
6141
6138
|
name: "IdmMeasure",
|
|
6142
6139
|
props: {
|
|
6143
6140
|
map: {
|
|
@@ -6241,7 +6238,7 @@ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
|
|
|
6241
6238
|
const s = this.geojson.filter((c) => c.id === e.split("-")[0])[0].features.filter((c) => c.geometry.type === "Point");
|
|
6242
6239
|
if (s.length > 2 && s.filter((h) => h.properties.id === (e == null ? void 0 : e.split("-")[1]))[0]) {
|
|
6243
6240
|
const h = document.createElement("div");
|
|
6244
|
-
h.className = "point-contextmenu-marker", h.innerHTML = `<span id="del-${e}" class="del-point">Del</span>`, this.contextmenu = new
|
|
6241
|
+
h.className = "point-contextmenu-marker", h.innerHTML = `<span id="del-${e}" class="del-point">Del</span>`, this.contextmenu = new ne.Marker(h).setOffset([24, 0]).setLngLat([t.lngLat.lng, t.lngLat.lat]).addTo(this.map);
|
|
6245
6242
|
}
|
|
6246
6243
|
}
|
|
6247
6244
|
},
|
|
@@ -6277,10 +6274,10 @@ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
|
|
|
6277
6274
|
let a = 0;
|
|
6278
6275
|
const r = [];
|
|
6279
6276
|
for (let i = 1; i < e.length; i++) {
|
|
6280
|
-
const o = e[i - 1], n = e[i], s = o.properties, c = { lng: o.geometry.coordinates[0], lat: o.geometry.coordinates[1] }, h = { lng: n.geometry.coordinates[0], lat: n.geometry.coordinates[1] }, d =
|
|
6277
|
+
const o = e[i - 1], n = e[i], s = o.properties, c = { lng: o.geometry.coordinates[0], lat: o.geometry.coordinates[1] }, h = { lng: n.geometry.coordinates[0], lat: n.geometry.coordinates[1] }, d = ee.calculateDistance(c, h, s.mode === "RL", 2), p = ee.calculateBearing(c, h, s.mode === "RL", 2);
|
|
6281
6278
|
a = j.roundPrecision(a + d, 2);
|
|
6282
6279
|
let f;
|
|
6283
|
-
s.mode === "RL" ? f = j.convertToMonotonicLng([c, h]) : f = j.convertToMonotonicLng(
|
|
6280
|
+
s.mode === "RL" ? f = j.convertToMonotonicLng([c, h]) : f = j.convertToMonotonicLng(ee.interpolateCoordinates(c, h, 200));
|
|
6284
6281
|
const m = C.lineString(f.map((b) => [b.lng, b.lat]));
|
|
6285
6282
|
m.properties.dist = d, m.properties.bearing = p, m.properties.total = a, r.push(m);
|
|
6286
6283
|
}
|
|
@@ -6293,17 +6290,17 @@ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
|
|
|
6293
6290
|
let o, n;
|
|
6294
6291
|
if (e) {
|
|
6295
6292
|
const c = e.properties, h = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, d = { lng: a.lng, lat: a.lat };
|
|
6296
|
-
o =
|
|
6293
|
+
o = ee.calculateDistance(h, d, c.mode === "RL", 2), n = ee.calculateBearing(h, d, c.mode === "RL", 2);
|
|
6297
6294
|
let p;
|
|
6298
|
-
c.mode === "RL" ? p = j.convertToMonotonicLng([h, d]) : p = j.convertToMonotonicLng(
|
|
6295
|
+
c.mode === "RL" ? p = j.convertToMonotonicLng([h, d]) : p = j.convertToMonotonicLng(ee.interpolateCoordinates(h, d, 200));
|
|
6299
6296
|
const f = C.lineString(p.map((m) => [m.lng, m.lat]));
|
|
6300
6297
|
f.properties.dist = o, f.properties.bearing = n, i.features.push(f);
|
|
6301
6298
|
}
|
|
6302
6299
|
if (r) {
|
|
6303
6300
|
const c = a.properties, h = a, d = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] };
|
|
6304
|
-
o =
|
|
6301
|
+
o = ee.calculateDistance(h, d, c.mode === "RL", 2), n = ee.calculateBearing(h, d, c.mode === "RL", 2);
|
|
6305
6302
|
let p;
|
|
6306
|
-
c.mode === "RL" ? p = j.convertToMonotonicLng([h, d]) : p = j.convertToMonotonicLng(
|
|
6303
|
+
c.mode === "RL" ? p = j.convertToMonotonicLng([h, d]) : p = j.convertToMonotonicLng(ee.interpolateCoordinates(h, d, 200));
|
|
6307
6304
|
const f = C.lineString(p.map((m) => [m.lng, m.lat]));
|
|
6308
6305
|
f.properties.dist = o, f.properties.bearing = n, i.features.push(f);
|
|
6309
6306
|
}
|
|
@@ -6349,7 +6346,7 @@ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
|
|
|
6349
6346
|
this.tipMarker._element.innerHTML = s, this.tipMarker.setLngLat([a.lng, a.lat]);
|
|
6350
6347
|
else {
|
|
6351
6348
|
const c = document.createElement("div");
|
|
6352
|
-
c.className = "tip-marker", c.innerHTML = s, this.tipMarker = new
|
|
6349
|
+
c.className = "tip-marker", c.innerHTML = s, this.tipMarker = new ne.Marker(c).setOffset([140, 0]).setLngLat([a.lng, a.lat]).addTo(this.map);
|
|
6353
6350
|
}
|
|
6354
6351
|
},
|
|
6355
6352
|
handleMove(t) {
|
|
@@ -6407,12 +6404,12 @@ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
|
|
|
6407
6404
|
for (const n of o) {
|
|
6408
6405
|
const s = document.createElement("div");
|
|
6409
6406
|
s.id = `${t.id}-${n.properties.id}`, s.className = `${t.closed ? "point-marker closed" : "point-marker"}`, s.innerHTML = '<div class="marker-circle"></div>';
|
|
6410
|
-
const c = new
|
|
6407
|
+
const c = new ne.Marker({ element: s, draggable: !0, contextmenu: !0 }).setLngLat(n.geometry.coordinates).addTo(this.map);
|
|
6411
6408
|
c.on("drag", this.handleDrag), c.on("dragend", this.handleDragEnd), this.pointMarkers[t.id] ? this.pointMarkers[t.id].push(c) : this.pointMarkers[t.id] = [c];
|
|
6412
6409
|
}
|
|
6413
6410
|
if (t.closed) {
|
|
6414
6411
|
const n = o.at(-1), c = t.features.filter((d) => d.geometry.type === "LineString").at(-1), h = document.createElement("div");
|
|
6415
|
-
h.className = "point-summary-marker", h.innerHTML = `<div id="${t.id}" class="marker-close">×</div><div class="marker-label">Tol: ${c.properties.total}nm</div>`, this.closeMarkers[t.id] = new
|
|
6412
|
+
h.className = "point-summary-marker", h.innerHTML = `<div id="${t.id}" class="marker-close">×</div><div class="marker-label">Tol: ${c.properties.total}nm</div>`, this.closeMarkers[t.id] = new ne.Marker(h).setOffset([60, 0]).setLngLat(n.geometry.coordinates).addTo(this.map);
|
|
6416
6413
|
}
|
|
6417
6414
|
}
|
|
6418
6415
|
},
|
|
@@ -6425,11 +6422,11 @@ const Ke = /* @__PURE__ */ T(Io, [["render", Ao], ["__scopeId", "data-v-7367f59b
|
|
|
6425
6422
|
}
|
|
6426
6423
|
}
|
|
6427
6424
|
};
|
|
6428
|
-
function
|
|
6425
|
+
function Mo(t, e, a, r, i, o) {
|
|
6429
6426
|
return L(), x("div");
|
|
6430
6427
|
}
|
|
6431
|
-
const
|
|
6432
|
-
const
|
|
6428
|
+
const $o = /* @__PURE__ */ T(Ao, [["render", Mo]]);
|
|
6429
|
+
const Bo = {
|
|
6433
6430
|
name: "IdmENC",
|
|
6434
6431
|
props: {
|
|
6435
6432
|
map: {
|
|
@@ -6460,8 +6457,8 @@ const No = {
|
|
|
6460
6457
|
emits: ["enc"],
|
|
6461
6458
|
data() {
|
|
6462
6459
|
return {
|
|
6463
|
-
helper:
|
|
6464
|
-
vendor: this.$attrs.permission &
|
|
6460
|
+
helper: Ae,
|
|
6461
|
+
vendor: this.$attrs.permission & Ae.LEVEL.Supper ? "hi" : "i4",
|
|
6465
6462
|
right: 10
|
|
6466
6463
|
};
|
|
6467
6464
|
},
|
|
@@ -6481,64 +6478,64 @@ const No = {
|
|
|
6481
6478
|
}
|
|
6482
6479
|
},
|
|
6483
6480
|
methods: {}
|
|
6484
|
-
},
|
|
6485
|
-
|
|
6486
|
-
],
|
|
6487
|
-
|
|
6481
|
+
}, Ke = (t) => (G("data-v-ab627b83"), t = t(), H(), t), No = { key: 0 }, Wo = { class: "bar-item" }, Oo = /* @__PURE__ */ Ke(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "HI", -1)), jo = [
|
|
6482
|
+
Oo
|
|
6483
|
+
], Fo = /* @__PURE__ */ Ke(() => /* @__PURE__ */ l("span", { class: "iconfont" }, "I4", -1)), Vo = [
|
|
6484
|
+
Fo
|
|
6488
6485
|
];
|
|
6489
|
-
function
|
|
6490
|
-
return a.enabled && a.permission & i.helper.LEVEL.Supper ? (L(), x("div",
|
|
6486
|
+
function Uo(t, e, a, r, i, o) {
|
|
6487
|
+
return a.enabled && a.permission & i.helper.LEVEL.Supper ? (L(), x("div", No, [
|
|
6491
6488
|
l("div", {
|
|
6492
6489
|
class: "menu-bar-box",
|
|
6493
6490
|
style: F({ position: "absolute", right: i.right + "px", bottom: a.bottom })
|
|
6494
6491
|
}, [
|
|
6495
|
-
l("div",
|
|
6492
|
+
l("div", Wo, [
|
|
6496
6493
|
l("div", {
|
|
6497
6494
|
class: M(i.vendor === "hi" ? "menu-icon active" : "menu-icon"),
|
|
6498
6495
|
onClick: e[0] || (e[0] = (n) => i.vendor = "hi")
|
|
6499
|
-
},
|
|
6496
|
+
}, jo, 2),
|
|
6500
6497
|
l("div", {
|
|
6501
6498
|
class: M(i.vendor === "i4" ? "menu-icon active" : "menu-icon"),
|
|
6502
6499
|
onClick: e[1] || (e[1] = (n) => i.vendor = "i4")
|
|
6503
|
-
},
|
|
6500
|
+
}, Vo, 2)
|
|
6504
6501
|
])
|
|
6505
6502
|
], 4)
|
|
6506
6503
|
])) : $("", !0);
|
|
6507
6504
|
}
|
|
6508
|
-
const
|
|
6509
|
-
const
|
|
6505
|
+
const Go = /* @__PURE__ */ T(Bo, [["render", Uo], ["__scopeId", "data-v-ab627b83"]]);
|
|
6506
|
+
const Ho = {
|
|
6510
6507
|
name: "IdmGLV2",
|
|
6511
6508
|
components: {
|
|
6512
|
-
IdmGlLayer:
|
|
6513
|
-
IdmWindBarb:
|
|
6514
|
-
IdmWindParticle:
|
|
6515
|
-
IdmCurrents:
|
|
6516
|
-
IdmCurrentParticle:
|
|
6517
|
-
IdmSigWave:
|
|
6518
|
-
IdmSwell:
|
|
6519
|
-
IdmPrmsl:
|
|
6509
|
+
IdmGlLayer: Nt,
|
|
6510
|
+
IdmWindBarb: Ht,
|
|
6511
|
+
IdmWindParticle: sa,
|
|
6512
|
+
IdmCurrents: ua,
|
|
6513
|
+
IdmCurrentParticle: ka,
|
|
6514
|
+
IdmSigWave: Ta,
|
|
6515
|
+
IdmSwell: Ra,
|
|
6516
|
+
IdmPrmsl: Ma,
|
|
6520
6517
|
// IdmIceEdge,
|
|
6521
|
-
IdmIceberg:
|
|
6522
|
-
IdmTropicals:
|
|
6523
|
-
IdmPrecip3h:
|
|
6524
|
-
IdmVisibility:
|
|
6525
|
-
IdmWaterTemp:
|
|
6526
|
-
IdmTemp:
|
|
6527
|
-
IdmArctic:
|
|
6528
|
-
IdmWarZone:
|
|
6529
|
-
IdmGmdssArea:
|
|
6530
|
-
IdmEcaZone:
|
|
6531
|
-
IdmAlertZone:
|
|
6532
|
-
IdmPort:
|
|
6533
|
-
IdmLoadLine:
|
|
6534
|
-
IdmTimezone:
|
|
6535
|
-
IdmVRA:
|
|
6536
|
-
IdmSpecialArea:
|
|
6537
|
-
IdmTerminator:
|
|
6538
|
-
IdmLatLng:
|
|
6539
|
-
IdmMeasure:
|
|
6540
|
-
IdmPoint:
|
|
6541
|
-
IdmENC:
|
|
6518
|
+
IdmIceberg: Na,
|
|
6519
|
+
IdmTropicals: Ye,
|
|
6520
|
+
IdmPrecip3h: bi,
|
|
6521
|
+
IdmVisibility: Ti,
|
|
6522
|
+
IdmWaterTemp: Oi,
|
|
6523
|
+
IdmTemp: Ki,
|
|
6524
|
+
IdmArctic: hr,
|
|
6525
|
+
IdmWarZone: Vr,
|
|
6526
|
+
IdmGmdssArea: Hr,
|
|
6527
|
+
IdmEcaZone: Xr,
|
|
6528
|
+
IdmAlertZone: eo,
|
|
6529
|
+
IdmPort: uo,
|
|
6530
|
+
IdmLoadLine: go,
|
|
6531
|
+
IdmTimezone: _o,
|
|
6532
|
+
IdmVRA: xo,
|
|
6533
|
+
IdmSpecialArea: ko,
|
|
6534
|
+
IdmTerminator: To,
|
|
6535
|
+
IdmLatLng: Qe,
|
|
6536
|
+
IdmMeasure: $o,
|
|
6537
|
+
IdmPoint: Or,
|
|
6538
|
+
IdmENC: Go
|
|
6542
6539
|
},
|
|
6543
6540
|
props: {
|
|
6544
6541
|
map: {
|
|
@@ -6582,13 +6579,13 @@ const Zo = {
|
|
|
6582
6579
|
enc: "",
|
|
6583
6580
|
// enc: 'i4',
|
|
6584
6581
|
defaultMeteoToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg",
|
|
6585
|
-
helper: new
|
|
6582
|
+
helper: new Zt()
|
|
6586
6583
|
};
|
|
6587
6584
|
},
|
|
6588
6585
|
watch: {
|
|
6589
6586
|
ts: {
|
|
6590
6587
|
handler(t, e) {
|
|
6591
|
-
t && e &&
|
|
6588
|
+
t && e && te(t).utc().format("yyyy-MM-DD HH") !== te(e).utc().format("yyyy-MM-DD HH") && this.$nextTick(() => {
|
|
6592
6589
|
this.handleDateChange({ tropicals: !1 });
|
|
6593
6590
|
});
|
|
6594
6591
|
},
|
|
@@ -6596,7 +6593,7 @@ const Zo = {
|
|
|
6596
6593
|
},
|
|
6597
6594
|
map: {
|
|
6598
6595
|
handler() {
|
|
6599
|
-
this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new
|
|
6596
|
+
this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new Oe(this.map), this.handleRampColorInitial());
|
|
6600
6597
|
},
|
|
6601
6598
|
immediate: !0
|
|
6602
6599
|
},
|
|
@@ -6664,7 +6661,7 @@ const Zo = {
|
|
|
6664
6661
|
if (this.map) {
|
|
6665
6662
|
const f = ((i = this.map) == null ? void 0 : i.getZoom()) + 1, m = (o = this.map) == null ? void 0 : o.getBounds(), b = `${m._sw.lng},${m._sw.lat},${m._ne.lng},${m._ne.lat}`;
|
|
6666
6663
|
if (this.handleRampColorState(), this.particleFactor) {
|
|
6667
|
-
const y =
|
|
6664
|
+
const y = We.WEATHER_LAYERS.find((u) => {
|
|
6668
6665
|
var v;
|
|
6669
6666
|
return ((v = u.peer) == null ? void 0 : v.weight) === this.particleFactor.weight;
|
|
6670
6667
|
});
|
|
@@ -6673,7 +6670,7 @@ const Zo = {
|
|
|
6673
6670
|
if (this.weatherWeight > 0) {
|
|
6674
6671
|
let y = this.weatherWeight, u;
|
|
6675
6672
|
if (t.tropicals || this.weatherWeight & 256 && (u = this.weatherLayers.tropicals, u && (y -= 256, u.version = Math.random() + 1)), y > 0) {
|
|
6676
|
-
const v = await
|
|
6673
|
+
const v = await se.get(`${this.gateway}/api/arc/weather/layers/links?l=${y}&v=${this.source}&z=${f}&bbox=${b}&t=${this.ts}`, {
|
|
6677
6674
|
headers: {
|
|
6678
6675
|
Authorization: this.token || this.defaultMeteoToken
|
|
6679
6676
|
}
|
|
@@ -6682,7 +6679,7 @@ const Zo = {
|
|
|
6682
6679
|
const g = (s = v == null ? void 0 : v.data) == null ? void 0 : s.data, w = [];
|
|
6683
6680
|
for (const _ in g)
|
|
6684
6681
|
_ === "ice-edge" && (g[_] = "https://idm-hz.oss-cn-hangzhou.aliyuncs.com/test/sea_ice_contours.geojson"), _ !== "tropicals" && w.push(
|
|
6685
|
-
|
|
6682
|
+
se.get(g[_], {
|
|
6686
6683
|
headers: {
|
|
6687
6684
|
Authorization: this.token || this.defaultMeteoToken,
|
|
6688
6685
|
key: _
|
|
@@ -6701,14 +6698,14 @@ const Zo = {
|
|
|
6701
6698
|
type: ((Z = _ == null ? void 0 : _.config) == null ? void 0 : Z.responseType) === "blob" ? "image" : "json",
|
|
6702
6699
|
etime: this.ts
|
|
6703
6700
|
});
|
|
6704
|
-
}), g.tropicals &&
|
|
6701
|
+
}), g.tropicals && se.get(g.tropicals, {
|
|
6705
6702
|
headers: {
|
|
6706
6703
|
Authorization: this.token || this.defaultMeteoToken,
|
|
6707
6704
|
key: "tropicals"
|
|
6708
6705
|
}
|
|
6709
6706
|
}).then((_) => {
|
|
6710
6707
|
var B, W, O;
|
|
6711
|
-
const D =
|
|
6708
|
+
const D = qe.convert2Geojson(((B = _ == null ? void 0 : _.data) == null ? void 0 : B.data) || (_ == null ? void 0 : _.data)), A = (O = (W = _ == null ? void 0 : _.config) == null ? void 0 : W.headers) == null ? void 0 : O.key;
|
|
6712
6709
|
this.weatherLayers[A] = {
|
|
6713
6710
|
data: D,
|
|
6714
6711
|
active: !0,
|
|
@@ -6752,7 +6749,7 @@ const Zo = {
|
|
|
6752
6749
|
let n = !1;
|
|
6753
6750
|
if (this.otherWeight & 2048 && (o = this.otherWeight - 2048, n = !0), o) {
|
|
6754
6751
|
if (t.all) {
|
|
6755
|
-
const s = await
|
|
6752
|
+
const s = await se.get(`${this.gateway}/api/arc/other/layers/links?l=${o}&t=${this.ts}`, {
|
|
6756
6753
|
headers: {
|
|
6757
6754
|
Authorization: this.token || this.defaultMeteoToken
|
|
6758
6755
|
}
|
|
@@ -6761,7 +6758,7 @@ const Zo = {
|
|
|
6761
6758
|
const c = (a = s == null ? void 0 : s.data) == null ? void 0 : a.data, h = [];
|
|
6762
6759
|
for (const p in c)
|
|
6763
6760
|
h.push(
|
|
6764
|
-
|
|
6761
|
+
se.get(c[p], {
|
|
6765
6762
|
headers: {
|
|
6766
6763
|
Authorization: this.token || this.defaultMeteoToken,
|
|
6767
6764
|
key: p
|
|
@@ -6776,7 +6773,7 @@ const Zo = {
|
|
|
6776
6773
|
});
|
|
6777
6774
|
}
|
|
6778
6775
|
} else if (t.dayNight && o & 1024) {
|
|
6779
|
-
const s = await
|
|
6776
|
+
const s = await se.get(`${this.gateway}/api/arc/other/layers/links?l=1024&t=${this.ts}`, {
|
|
6780
6777
|
headers: {
|
|
6781
6778
|
Authorization: this.token || this.defaultMeteoToken
|
|
6782
6779
|
}
|
|
@@ -6785,7 +6782,7 @@ const Zo = {
|
|
|
6785
6782
|
const c = (i = s == null ? void 0 : s.data) == null ? void 0 : i.data, h = [];
|
|
6786
6783
|
for (const p in c)
|
|
6787
6784
|
h.push(
|
|
6788
|
-
|
|
6785
|
+
se.get(c[p], {
|
|
6789
6786
|
headers: {
|
|
6790
6787
|
Authorization: this.token || this.defaultMeteoToken,
|
|
6791
6788
|
key: p
|
|
@@ -6853,7 +6850,7 @@ const Zo = {
|
|
|
6853
6850
|
var h, d, p, f;
|
|
6854
6851
|
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
6855
6852
|
let e = 0, a = 0;
|
|
6856
|
-
const r = (h = this.map) == null ? void 0 : h.getBounds(), i = this.map.getZoom(), o =
|
|
6853
|
+
const r = (h = this.map) == null ? void 0 : h.getBounds(), i = this.map.getZoom(), o = Ie(r._sw.lng), n = Ie(r._ne.lng), s = Math.floor(r._sw.lat), c = Math.ceil(r._ne.lat);
|
|
6857
6854
|
for (const m in this.weatherLayers)
|
|
6858
6855
|
if (this.weatherLayers[m].active && this.weatherLayers[m].type === "json") {
|
|
6859
6856
|
this.weatherLayers[m].active = !1, this.weatherLayers[m].version = Math.random() + 1;
|
|
@@ -6997,7 +6994,7 @@ const Zo = {
|
|
|
6997
6994
|
}
|
|
6998
6995
|
for (const v in y.Point)
|
|
6999
6996
|
y.Point[v].lng.forEach((g, w) => {
|
|
7000
|
-
g =
|
|
6997
|
+
g = Ie(g), u.push(
|
|
7001
6998
|
C.point([g, v], {
|
|
7002
6999
|
val: y.Point[v].val[w],
|
|
7003
7000
|
type: y.Point[v].type[w]
|
|
@@ -7037,7 +7034,7 @@ const Zo = {
|
|
|
7037
7034
|
this.weatherLayers[t].active && this.weatherLayers[t].type === "image" && (this.weatherLayers[t].active = !0, this.weatherLayers[t].version = Math.random() + 1);
|
|
7038
7035
|
},
|
|
7039
7036
|
handleBboxClip(t, e) {
|
|
7040
|
-
const a = [], r =
|
|
7037
|
+
const a = [], r = Ie(e._sw.lng), i = Ie(e._ne.lng);
|
|
7041
7038
|
return t.features.forEach((o) => {
|
|
7042
7039
|
if (o.geometry.type !== "Point")
|
|
7043
7040
|
if (r > i) {
|
|
@@ -7092,13 +7089,13 @@ const Zo = {
|
|
|
7092
7089
|
}
|
|
7093
7090
|
},
|
|
7094
7091
|
async handlePointChange(t) {
|
|
7095
|
-
const e = this.ts ?
|
|
7092
|
+
const e = this.ts ? te(this.ts) : te(), a = {
|
|
7096
7093
|
lat: t.lat,
|
|
7097
7094
|
lng: t.lng,
|
|
7098
7095
|
ts: e.utc().format(),
|
|
7099
7096
|
wt: !0,
|
|
7100
7097
|
src: this.source
|
|
7101
|
-
}, r = await
|
|
7098
|
+
}, r = await se.get(`${this.gateway}/api/arc/meteo/query`, {
|
|
7102
7099
|
params: a,
|
|
7103
7100
|
headers: {
|
|
7104
7101
|
Authorization: this.token || this.defaultMeteoToken
|
|
@@ -7117,14 +7114,14 @@ const Zo = {
|
|
|
7117
7114
|
this.particleFactor = t, this.fetchWeatherLayers({ tropicals: !1 });
|
|
7118
7115
|
}
|
|
7119
7116
|
}
|
|
7120
|
-
},
|
|
7117
|
+
}, Zo = {
|
|
7121
7118
|
key: 0,
|
|
7122
7119
|
className: "map-gl-home"
|
|
7123
7120
|
};
|
|
7124
|
-
function
|
|
7125
|
-
var
|
|
7126
|
-
const n = z("IdmGlLayer"), s = z("IdmENC"), c = z("IdmSigWave"), h = z("IdmSwell"), d = z("IdmPrmsl"), p = z("IdmIceberg"), f = z("IdmTropicals"), m = z("IdmCurrents"), b = z("IdmCurrentParticle"), y = z("IdmWindBarb"), u = z("IdmWindParticle"), v = z("IdmPrecip3h"), g = z("IdmVisibility"), w = z("IdmWaterTemp"), k = z("IdmTemp"), _ = z("IdmArctic"), D = z("IdmWarZone"), A = z("IdmGmdssArea"), B = z("IdmEcaZone"), W = z("IdmAlertZone"), O = z("IdmPort"), Z = z("IdmLoadLine"),
|
|
7127
|
-
return a.map ? (L(), x("div",
|
|
7121
|
+
function Jo(t, e, a, r, i, o) {
|
|
7122
|
+
var ae, J, q, be, Y, E, V, ve, Q, _e, ie, re, oe, ke, ze, Pe, Te, Ee, Ne, Fe, Ve, Ue, Ge, He, Ze, Je;
|
|
7123
|
+
const n = z("IdmGlLayer"), s = z("IdmENC"), c = z("IdmSigWave"), h = z("IdmSwell"), d = z("IdmPrmsl"), p = z("IdmIceberg"), f = z("IdmTropicals"), m = z("IdmCurrents"), b = z("IdmCurrentParticle"), y = z("IdmWindBarb"), u = z("IdmWindParticle"), v = z("IdmPrecip3h"), g = z("IdmVisibility"), w = z("IdmWaterTemp"), k = z("IdmTemp"), _ = z("IdmArctic"), D = z("IdmWarZone"), A = z("IdmGmdssArea"), B = z("IdmEcaZone"), W = z("IdmAlertZone"), O = z("IdmPort"), Z = z("IdmLoadLine"), de = z("IdmTimezone"), pe = z("IdmVRA"), me = z("IdmSpecialArea"), ue = z("IdmTerminator"), ye = z("IdmLatLng"), fe = z("IdmMeasure"), ge = z("IdmPoint");
|
|
7124
|
+
return a.map ? (L(), x("div", Zo, [
|
|
7128
7125
|
P(n, I({
|
|
7129
7126
|
ref: "layer",
|
|
7130
7127
|
map: a.map,
|
|
@@ -7133,19 +7130,19 @@ function Xo(t, e, a, r, i, o) {
|
|
|
7133
7130
|
}, t.$attrs, {
|
|
7134
7131
|
onWeather: o.handleWeatherLayerChange,
|
|
7135
7132
|
onOther: o.handleOtherLayerChange,
|
|
7136
|
-
onCoordinate: e[0] || (e[0] = (
|
|
7137
|
-
onMeasure: e[1] || (e[1] = (
|
|
7138
|
-
onPoint: e[2] || (e[2] = (
|
|
7133
|
+
onCoordinate: e[0] || (e[0] = (K) => i.showCoord = K),
|
|
7134
|
+
onMeasure: e[1] || (e[1] = (K) => i.showMeasure = K),
|
|
7135
|
+
onPoint: e[2] || (e[2] = (K) => i.showPoint = K),
|
|
7139
7136
|
on3d: o.handle3dToggle,
|
|
7140
|
-
onToggleVersion: e[3] || (e[3] = (
|
|
7137
|
+
onToggleVersion: e[3] || (e[3] = (K) => i.toggleVersion = K)
|
|
7141
7138
|
}), null, 16, ["map", "toggle-version", "map-projection", "onWeather", "onOther", "on3d"]),
|
|
7142
7139
|
P(s, I({
|
|
7143
7140
|
map: a.map,
|
|
7144
7141
|
token: a.token,
|
|
7145
|
-
enabled: (
|
|
7142
|
+
enabled: (ae = i.otherLayers) == null ? void 0 : ae.enc,
|
|
7146
7143
|
"toggle-version": i.toggleVersion
|
|
7147
7144
|
}, t.$attrs, {
|
|
7148
|
-
onEnc: e[4] || (e[4] = (
|
|
7145
|
+
onEnc: e[4] || (e[4] = (K) => i.enc = K)
|
|
7149
7146
|
}), null, 16, ["map", "token", "enabled", "toggle-version"]),
|
|
7150
7147
|
P(c, I({
|
|
7151
7148
|
map: a.map,
|
|
@@ -7154,18 +7151,18 @@ function Xo(t, e, a, r, i, o) {
|
|
|
7154
7151
|
}, t.$attrs), null, 16, ["map", "sig-wave", "before-layer"]),
|
|
7155
7152
|
P(h, I({
|
|
7156
7153
|
map: a.map,
|
|
7157
|
-
swell: (
|
|
7154
|
+
swell: (q = i.weatherLayers) == null ? void 0 : q.swell,
|
|
7158
7155
|
"before-layer": a.beforeLayer
|
|
7159
7156
|
}, t.$attrs), null, 16, ["map", "swell", "before-layer"]),
|
|
7160
7157
|
P(d, I({
|
|
7161
7158
|
map: a.map,
|
|
7162
|
-
prmsl: (
|
|
7159
|
+
prmsl: (be = i.weatherLayers) == null ? void 0 : be.prmsl,
|
|
7163
7160
|
"before-layer": a.beforeLayer,
|
|
7164
7161
|
"active-weather-layers": i.activeWeatherLayers
|
|
7165
7162
|
}, t.$attrs), null, 16, ["map", "prmsl", "before-layer", "active-weather-layers"]),
|
|
7166
7163
|
P(p, I({
|
|
7167
7164
|
map: a.map,
|
|
7168
|
-
iceberg: (
|
|
7165
|
+
iceberg: (Y = i.weatherLayers) == null ? void 0 : Y.iceberg,
|
|
7169
7166
|
"before-layer": a.beforeLayer
|
|
7170
7167
|
}, t.$attrs), null, 16, ["map", "iceberg", "before-layer"]),
|
|
7171
7168
|
P(f, I({
|
|
@@ -7186,7 +7183,7 @@ function Xo(t, e, a, r, i, o) {
|
|
|
7186
7183
|
}, t.$attrs, { onParticle: o.handleParticle }), null, 16, ["map", "map-projection", "current", "before-layer", "show-particle", "margin-bottom", "toggle-version", "weather-layers", "onParticle"]),
|
|
7187
7184
|
P(b, I({
|
|
7188
7185
|
viewport: i.viewport,
|
|
7189
|
-
factor: (
|
|
7186
|
+
factor: (ve = i.weatherLayers) == null ? void 0 : ve["current-particle"],
|
|
7190
7187
|
"before-layer": a.beforeLayer,
|
|
7191
7188
|
"toggle-version": i.toggleVersion
|
|
7192
7189
|
}, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
|
|
@@ -7194,8 +7191,8 @@ function Xo(t, e, a, r, i, o) {
|
|
|
7194
7191
|
ref: "windBarb",
|
|
7195
7192
|
map: a.map,
|
|
7196
7193
|
"map-projection": i.mapProjection,
|
|
7197
|
-
wind: (
|
|
7198
|
-
current: (
|
|
7194
|
+
wind: (Q = i.weatherLayers) == null ? void 0 : Q.wind,
|
|
7195
|
+
current: (_e = i.weatherLayers) == null ? void 0 : _e.current,
|
|
7199
7196
|
"before-layer": a.beforeLayer,
|
|
7200
7197
|
"margin-bottom": i.showRampColor ? "56px" : "30px",
|
|
7201
7198
|
"show-particle": i.showWindParticle
|
|
@@ -7206,118 +7203,118 @@ function Xo(t, e, a, r, i, o) {
|
|
|
7206
7203
|
}), null, 16, ["map", "map-projection", "wind", "current", "before-layer", "margin-bottom", "show-particle", "toggle-version", "weather-layers", "onParticle"]),
|
|
7207
7204
|
P(u, I({
|
|
7208
7205
|
viewport: i.viewport,
|
|
7209
|
-
factor: (
|
|
7206
|
+
factor: (ie = i.weatherLayers) == null ? void 0 : ie["wind-particle"],
|
|
7210
7207
|
"before-layer": a.beforeLayer,
|
|
7211
7208
|
"toggle-version": i.toggleVersion
|
|
7212
7209
|
}, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
|
|
7213
7210
|
P(v, I({
|
|
7214
7211
|
viewport: i.viewport,
|
|
7215
|
-
factor: (
|
|
7212
|
+
factor: (re = i.weatherLayers) == null ? void 0 : re.precip3h,
|
|
7216
7213
|
"before-layer": a.beforeLayer,
|
|
7217
7214
|
"toggle-version": i.toggleVersion
|
|
7218
7215
|
}, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
|
|
7219
7216
|
P(g, I({
|
|
7220
7217
|
viewport: i.viewport,
|
|
7221
|
-
factor: (
|
|
7218
|
+
factor: (oe = i.weatherLayers) == null ? void 0 : oe.visibility,
|
|
7222
7219
|
"before-layer": a.beforeLayer,
|
|
7223
7220
|
"toggle-version": i.toggleVersion
|
|
7224
7221
|
}, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
|
|
7225
7222
|
P(w, I({
|
|
7226
7223
|
viewport: i.viewport,
|
|
7227
|
-
factor: (
|
|
7224
|
+
factor: (ke = i.weatherLayers) == null ? void 0 : ke["water-temp"],
|
|
7228
7225
|
"before-layer": a.beforeLayer,
|
|
7229
7226
|
"toggle-version": i.toggleVersion
|
|
7230
7227
|
}, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
|
|
7231
7228
|
P(k, I({
|
|
7232
7229
|
viewport: i.viewport,
|
|
7233
|
-
factor: (
|
|
7230
|
+
factor: (ze = i.weatherLayers) == null ? void 0 : ze.temp,
|
|
7234
7231
|
"before-layer": a.beforeLayer,
|
|
7235
7232
|
"toggle-version": i.toggleVersion
|
|
7236
7233
|
}, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
|
|
7237
7234
|
P(_, I({
|
|
7238
7235
|
viewport: i.viewport,
|
|
7239
|
-
factor: (
|
|
7236
|
+
factor: (Pe = i.weatherLayers) == null ? void 0 : Pe.arctic,
|
|
7240
7237
|
"before-layer": a.beforeLayer,
|
|
7241
7238
|
"toggle-version": i.toggleVersion
|
|
7242
7239
|
}, t.$attrs), null, 16, ["viewport", "factor", "before-layer", "toggle-version"]),
|
|
7243
7240
|
P(D, I({
|
|
7244
7241
|
map: a.map,
|
|
7245
|
-
zone: (
|
|
7242
|
+
zone: (Te = i.otherLayers) == null ? void 0 : Te["war-zones"],
|
|
7246
7243
|
"before-layer": a.beforeLayer
|
|
7247
7244
|
}, t.$attrs), null, 16, ["map", "zone", "before-layer"]),
|
|
7248
7245
|
P(A, I({
|
|
7249
7246
|
map: a.map,
|
|
7250
|
-
area: (
|
|
7247
|
+
area: (Ee = i.otherLayers) == null ? void 0 : Ee["gmdss-areas"],
|
|
7251
7248
|
"before-layer": a.beforeLayer
|
|
7252
7249
|
}, t.$attrs), null, 16, ["map", "area", "before-layer"]),
|
|
7253
7250
|
P(B, I({
|
|
7254
7251
|
map: a.map,
|
|
7255
|
-
zone: (
|
|
7252
|
+
zone: (Ne = i.otherLayers) == null ? void 0 : Ne["eca-zones"],
|
|
7256
7253
|
"before-layer": a.beforeLayer
|
|
7257
7254
|
}, t.$attrs), null, 16, ["map", "zone", "before-layer"]),
|
|
7258
7255
|
P(W, I({
|
|
7259
7256
|
map: a.map,
|
|
7260
|
-
zone: (
|
|
7257
|
+
zone: (Fe = i.otherLayers) == null ? void 0 : Fe["alert-zones"],
|
|
7261
7258
|
"before-layer": a.beforeLayer
|
|
7262
7259
|
}, t.$attrs), null, 16, ["map", "zone", "before-layer"]),
|
|
7263
7260
|
P(O, I({
|
|
7264
7261
|
map: a.map,
|
|
7265
|
-
port: (
|
|
7262
|
+
port: (Ve = i.otherLayers) == null ? void 0 : Ve.ports,
|
|
7266
7263
|
"before-layer": a.beforeLayer
|
|
7267
7264
|
}, t.$attrs), null, 16, ["map", "port", "before-layer"]),
|
|
7268
7265
|
P(Z, I({
|
|
7269
7266
|
map: a.map,
|
|
7270
|
-
line: (
|
|
7267
|
+
line: (Ue = i.otherLayers) == null ? void 0 : Ue["load-lines"],
|
|
7271
7268
|
"before-layer": a.beforeLayer
|
|
7272
7269
|
}, t.$attrs), null, 16, ["map", "line", "before-layer"]),
|
|
7273
|
-
P(
|
|
7270
|
+
P(de, I({
|
|
7274
7271
|
map: a.map,
|
|
7275
|
-
zone: (
|
|
7272
|
+
zone: (Ge = i.otherLayers) == null ? void 0 : Ge["time-zones"],
|
|
7276
7273
|
"before-layer": a.beforeLayer
|
|
7277
7274
|
}, t.$attrs), null, 16, ["map", "zone", "before-layer"]),
|
|
7278
|
-
P(
|
|
7275
|
+
P(pe, I({
|
|
7279
7276
|
map: a.map,
|
|
7280
|
-
area: (
|
|
7277
|
+
area: (He = i.otherLayers) == null ? void 0 : He["voluntary-reporting-area"],
|
|
7281
7278
|
"before-layer": a.beforeLayer
|
|
7282
7279
|
}, t.$attrs), null, 16, ["map", "area", "before-layer"]),
|
|
7283
|
-
P(
|
|
7280
|
+
P(me, I({
|
|
7284
7281
|
map: a.map,
|
|
7285
|
-
area: (
|
|
7282
|
+
area: (Ze = i.otherLayers) == null ? void 0 : Ze["special-area"],
|
|
7286
7283
|
"before-layer": a.beforeLayer
|
|
7287
7284
|
}, t.$attrs), null, 16, ["map", "area", "before-layer"]),
|
|
7288
|
-
P(
|
|
7285
|
+
P(ue, I({
|
|
7289
7286
|
map: a.map,
|
|
7290
|
-
area: (
|
|
7287
|
+
area: (Je = i.otherLayers) == null ? void 0 : Je["day-night"]
|
|
7291
7288
|
}, t.$attrs), null, 16, ["map", "area"]),
|
|
7292
|
-
P(
|
|
7289
|
+
P(ye, I({
|
|
7293
7290
|
map: a.map,
|
|
7294
7291
|
show: i.showCoord,
|
|
7295
7292
|
"toggle-version": i.toggleVersion
|
|
7296
7293
|
}, t.$attrs), null, 16, ["map", "show", "toggle-version"]),
|
|
7297
|
-
P(
|
|
7294
|
+
P(fe, I({
|
|
7298
7295
|
map: a.map,
|
|
7299
7296
|
show: i.showMeasure
|
|
7300
7297
|
}, t.$attrs), null, 16, ["map", "show"]),
|
|
7301
|
-
P(
|
|
7298
|
+
P(ge, I({
|
|
7302
7299
|
map: a.map,
|
|
7303
7300
|
show: i.showPoint,
|
|
7304
7301
|
meteo: i.meteo
|
|
7305
7302
|
}, t.$attrs, { onPoint: o.handlePointChange }), null, 16, ["map", "show", "meteo", "onPoint"])
|
|
7306
7303
|
])) : $("", !0);
|
|
7307
7304
|
}
|
|
7308
|
-
const
|
|
7305
|
+
const Xo = /* @__PURE__ */ T(Ho, [["render", Jo]]), rs = {
|
|
7309
7306
|
install(t) {
|
|
7310
|
-
t.component("MapboxGL",
|
|
7307
|
+
t.component("MapboxGL", Xo), t.component("TropicalGL", Ye), t.component("LatLngGL", Qe);
|
|
7311
7308
|
}
|
|
7312
7309
|
};
|
|
7313
7310
|
export {
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7311
|
+
Qe as LatLngGL,
|
|
7312
|
+
Xo as MapboxGL,
|
|
7313
|
+
rs as MapboxGLPlugin,
|
|
7314
|
+
Zt as MapboxHelper,
|
|
7318
7315
|
U as ParticleSchema,
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7316
|
+
Ye as TropicalGL,
|
|
7317
|
+
Oe as Viewport,
|
|
7318
|
+
we as WebGL,
|
|
7322
7319
|
N as WebGLSchema
|
|
7323
7320
|
};
|