@idmwx/idmui-gl4 2.6.2 → 2.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3VYIPD3A-a6275a3e.js → chunk-3VYIPD3A-17b64249.js} +1 -1
- package/dist/{chunk-ANSXOGKI-7ae6f002.js → chunk-ANSXOGKI-46d7209f.js} +1 -1
- package/dist/{chunk-T4JIPPZO-739f750b.js → chunk-T4JIPPZO-69da27e3.js} +1 -1
- package/dist/{download-9f10d85c.js → download-101a4a1f.js} +3 -3
- package/dist/{index-d9f40f62.js → index-f05d7c33.js} +706 -692
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +12 -12
- package/dist/mapbox/src/components/capture/index.vue.d.ts +7 -15
- package/dist/{rasterize-JS5G2XHH-98439d5d.js → rasterize-JS5G2XHH-5c492e33.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{toBlob-2d6b873a.js → toBlob-60a7613b.js} +3 -3
- package/dist/{toCanvas-6f621445.js → toCanvas-d57ef46f.js} +2 -2
- package/dist/{toImg-a7edbb61.js → toImg-2cffe07a.js} +3 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ var zr = (e, t, o) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var we = (e, t, o) => (zr(e, typeof t != "symbol" ? t + "" : t, o), o);
|
|
4
4
|
import Xe from "axios";
|
|
5
5
|
import { useTheme as Fe } from "vuetify";
|
|
6
|
-
import { openBlock as
|
|
6
|
+
import { openBlock as P, createElementBlock as I, resolveComponent as R, createBlock as B, normalizeClass as _e, withCtx as C, createVNode as L, withModifiers as Se, createElementVNode as n, createCommentVNode as N, toDisplayString as b, createTextVNode as de, Fragment as Ie, renderList as De, withDirectives as Qe, vShow as et, mergeProps as Y, normalizeStyle as ue } from "vue";
|
|
7
7
|
import Ae from "mapbox-gl";
|
|
8
8
|
import G from "moment";
|
|
9
9
|
import { LngLatHelper as ce, TropicalHelper as Ii, LaneHelper as Je } from "@idm-plugin/geo";
|
|
@@ -114,7 +114,7 @@ const ne = (e, t) => {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
function Tr(e, t, o, i, a, r) {
|
|
117
|
-
return
|
|
117
|
+
return P(), I("div");
|
|
118
118
|
}
|
|
119
119
|
const Rr = /* @__PURE__ */ ne(Sr, [["render", Tr]]), Ir = {
|
|
120
120
|
name: "IdmGmdssArea",
|
|
@@ -241,7 +241,7 @@ const Rr = /* @__PURE__ */ ne(Sr, [["render", Tr]]), Ir = {
|
|
|
241
241
|
}
|
|
242
242
|
};
|
|
243
243
|
function Dr(e, t, o, i, a, r) {
|
|
244
|
-
return
|
|
244
|
+
return P(), I("div");
|
|
245
245
|
}
|
|
246
246
|
const Ar = /* @__PURE__ */ ne(Ir, [["render", Dr]]), Gr = {
|
|
247
247
|
name: "IdmEcaZone",
|
|
@@ -337,7 +337,7 @@ const Ar = /* @__PURE__ */ ne(Ir, [["render", Dr]]), Gr = {
|
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
function Wr(e, t, o, i, a, r) {
|
|
340
|
-
return
|
|
340
|
+
return P(), I("div");
|
|
341
341
|
}
|
|
342
342
|
const Fr = /* @__PURE__ */ ne(Gr, [["render", Wr]]);
|
|
343
343
|
const Nr = {
|
|
@@ -496,17 +496,17 @@ const Nr = {
|
|
|
496
496
|
this.showMakerInfo = !1, (e = this.marker) == null || e.remove();
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
},
|
|
500
|
-
function
|
|
499
|
+
}, Zr = ["innerHTML"];
|
|
500
|
+
function Br(e, t, o, i, a, r) {
|
|
501
501
|
const l = R("VBtn"), c = R("v-card-text"), s = R("v-card");
|
|
502
|
-
return a.showMakerInfo ? (
|
|
502
|
+
return a.showMakerInfo ? (P(), B(s, {
|
|
503
503
|
key: 0,
|
|
504
504
|
class: _e(["idm-gl4-zone-info overflow-auto scroll", o.simple ? "page" : "dialog"]),
|
|
505
505
|
id: "idm-gl4-zone-info"
|
|
506
506
|
}, {
|
|
507
|
-
default:
|
|
507
|
+
default: C(() => [
|
|
508
508
|
L(c, null, {
|
|
509
|
-
default:
|
|
509
|
+
default: C(() => {
|
|
510
510
|
var d;
|
|
511
511
|
return [
|
|
512
512
|
L(l, {
|
|
@@ -516,7 +516,7 @@ function Zr(e, t, o, i, a, r) {
|
|
|
516
516
|
class: "close",
|
|
517
517
|
onClick: Se(r.handleRemoveMarker, ["stop"])
|
|
518
518
|
}, {
|
|
519
|
-
default:
|
|
519
|
+
default: C(() => t[0] || (t[0] = [
|
|
520
520
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
521
521
|
])),
|
|
522
522
|
_: 1,
|
|
@@ -525,7 +525,7 @@ function Zr(e, t, o, i, a, r) {
|
|
|
525
525
|
n("div", {
|
|
526
526
|
class: "rich-context",
|
|
527
527
|
innerHTML: (d = a.form) == null ? void 0 : d.name
|
|
528
|
-
}, null, 8,
|
|
528
|
+
}, null, 8, Zr)
|
|
529
529
|
];
|
|
530
530
|
}),
|
|
531
531
|
_: 1
|
|
@@ -534,7 +534,7 @@ function Zr(e, t, o, i, a, r) {
|
|
|
534
534
|
_: 1
|
|
535
535
|
}, 8, ["class"])) : N("", !0);
|
|
536
536
|
}
|
|
537
|
-
const Er = /* @__PURE__ */ ne(Nr, [["render",
|
|
537
|
+
const Er = /* @__PURE__ */ ne(Nr, [["render", Br]]);
|
|
538
538
|
const Or = {
|
|
539
539
|
name: "PortDetail",
|
|
540
540
|
props: {
|
|
@@ -1513,10 +1513,10 @@ const Or = {
|
|
|
1513
1513
|
{ label: "Swell", key: "weather.swell", unit: "m" },
|
|
1514
1514
|
{ label: "Current", key: "weather.current", unit: "kts" }
|
|
1515
1515
|
], (o = (t = this.dateList) == null ? void 0 : t[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
|
|
1516
|
-
var c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he,
|
|
1516
|
+
var c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H, U, te, X, O, $, A, ie, ge, xe, ke;
|
|
1517
1517
|
let r = {};
|
|
1518
1518
|
const l = ((c = Xo.pickHourly(e, G(i))) == null ? void 0 : c[0]) || {};
|
|
1519
|
-
r.utc = l.utc, r.lat = e.lat, r.lng = e.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((d = l == null ? void 0 : l.weather) == null ? void 0 : d.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((g = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : g.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((y = (p = l == null ? void 0 : l.weather) == null ? void 0 : p.precip) == null ? void 0 : y.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((u = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.wind) == null ? void 0 : u.kts, 1) ?? "-", r.windDir = (v = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.wind) == null ? void 0 : v.direction, r.windLevel = this.computeRoundPrecision((k = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((_ = (S = l == null ? void 0 : l.weather) == null ? void 0 : S.wind) == null ? void 0 : _.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((T = (M = l == null ? void 0 : l.wave) == null ? void 0 : M.sig) == null ? void 0 : T.height, 1) ?? "-", r.sigwaveDir = (F = (W = l == null ? void 0 : l.wave) == null ? void 0 : W.sig) == null ? void 0 : F.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (E = l == null ? void 0 : l.wave) == null ? void 0 : E.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (he = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.direction, r.windwavePeriod = this.computeRoundPrecision((H = (
|
|
1519
|
+
r.utc = l.utc, r.lat = e.lat, r.lng = e.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((d = l == null ? void 0 : l.weather) == null ? void 0 : d.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((g = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : g.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((y = (p = l == null ? void 0 : l.weather) == null ? void 0 : p.precip) == null ? void 0 : y.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((u = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.wind) == null ? void 0 : u.kts, 1) ?? "-", r.windDir = (v = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.wind) == null ? void 0 : v.direction, r.windLevel = this.computeRoundPrecision((k = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : k.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((_ = (S = l == null ? void 0 : l.weather) == null ? void 0 : S.wind) == null ? void 0 : _.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((T = (M = l == null ? void 0 : l.wave) == null ? void 0 : M.sig) == null ? void 0 : T.height, 1) ?? "-", r.sigwaveDir = (F = (W = l == null ? void 0 : l.wave) == null ? void 0 : W.sig) == null ? void 0 : F.direction, r.sigwavePeriod = this.computeRoundPrecision((V = (E = l == null ? void 0 : l.wave) == null ? void 0 : E.sig) == null ? void 0 : V.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((Q = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.height, 1) ?? "-", r.windwaveDir = (he = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.direction, r.windwavePeriod = this.computeRoundPrecision((H = (D = l == null ? void 0 : l.wave) == null ? void 0 : D.wd) == null ? void 0 : H.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((te = (U = l == null ? void 0 : l.wave) == null ? void 0 : U.swell) == null ? void 0 : te.height, 1) ?? "-", r.swellDir = (O = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.swell) == null ? void 0 : O.direction, r.swellPeriod = this.computeRoundPrecision((A = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.swell) == null ? void 0 : A.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ie = l == null ? void 0 : l.current) == null ? void 0 : ie.speed, 1) ?? "-", r.currentDir = (ge = l == null ? void 0 : l.current) == null ? void 0 : ge.direction, r.currentSpeed = this.computeRoundPrecision((xe = l == null ? void 0 : l.current) == null ? void 0 : xe.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (ke = l == null ? void 0 : l.weather) == null ? void 0 : ke.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = r.weatherUrl, this.tableData[2][`value${a}`] = r.temp, this.tableData[3][`value${a}`] = r.precip1h, this.tableData[4][`value${a}`] = r.visibility, this.tableData[5][`value${a}`] = r.windSpeed, this.tableData[6][`value${a}`] = r.sigwaveHeight, this.tableData[7][`value${a}`] = r.swellHeight, this.tableData[8][`value${a}`] = r.currentSpeed;
|
|
1520
1520
|
});
|
|
1521
1521
|
},
|
|
1522
1522
|
handleTide() {
|
|
@@ -1712,23 +1712,23 @@ const Or = {
|
|
|
1712
1712
|
}, Nl = {
|
|
1713
1713
|
class: "px-1 text-center text-label font-weight-400",
|
|
1714
1714
|
width: "120"
|
|
1715
|
-
},
|
|
1715
|
+
}, Zl = {
|
|
1716
1716
|
class: "px-1 text-center text-label font-weight-400",
|
|
1717
1717
|
width: "120"
|
|
1718
|
-
},
|
|
1718
|
+
}, Bl = {
|
|
1719
1719
|
class: "px-1 text-center text-label font-weight-400",
|
|
1720
1720
|
width: "120"
|
|
1721
1721
|
}, El = { class: "px-1 text-center" }, Ol = { class: "px-1 text-center" }, Xl = { class: "px-1 text-center" };
|
|
1722
1722
|
function jl(e, t, o, i, a, r) {
|
|
1723
1723
|
const l = R("VBtn"), c = R("VCardTitle"), s = R("VDivider"), d = R("VBtnToggle"), m = R("VCard");
|
|
1724
|
-
return
|
|
1724
|
+
return P(), B(m, {
|
|
1725
1725
|
class: _e(["port-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
|
|
1726
1726
|
}, {
|
|
1727
|
-
default:
|
|
1727
|
+
default: C(() => {
|
|
1728
1728
|
var g, p, y;
|
|
1729
1729
|
return [
|
|
1730
1730
|
L(c, { class: "w-100" }, {
|
|
1731
|
-
default:
|
|
1731
|
+
default: C(() => {
|
|
1732
1732
|
var f, h, u, x, v, w;
|
|
1733
1733
|
return [
|
|
1734
1734
|
n("div", Xr, [
|
|
@@ -1739,11 +1739,11 @@ function jl(e, t, o, i, a, r) {
|
|
|
1739
1739
|
}, null, 2),
|
|
1740
1740
|
n("div", null, b((x = o.port) == null ? void 0 : x.name), 1)
|
|
1741
1741
|
]),
|
|
1742
|
-
o.simple ? (
|
|
1742
|
+
o.simple ? (P(), I("div", Vr, [
|
|
1743
1743
|
(v = o.followList) != null && v.some((k) => {
|
|
1744
1744
|
var S;
|
|
1745
1745
|
return ((S = k.port) == null ? void 0 : S.id) === o.portId;
|
|
1746
|
-
}) ? (
|
|
1746
|
+
}) ? (P(), B(l, {
|
|
1747
1747
|
key: 0,
|
|
1748
1748
|
class: "text-none rounded-circle",
|
|
1749
1749
|
variant: "text",
|
|
@@ -1753,12 +1753,12 @@ function jl(e, t, o, i, a, r) {
|
|
|
1753
1753
|
"min-width": "28",
|
|
1754
1754
|
onClick: r.handleCancelFollow
|
|
1755
1755
|
}, {
|
|
1756
|
-
default:
|
|
1756
|
+
default: C(() => t[2] || (t[2] = [
|
|
1757
1757
|
n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
|
|
1758
1758
|
])),
|
|
1759
1759
|
_: 1,
|
|
1760
1760
|
__: [2]
|
|
1761
|
-
}, 8, ["onClick"])) : (
|
|
1761
|
+
}, 8, ["onClick"])) : (P(), B(l, {
|
|
1762
1762
|
key: 1,
|
|
1763
1763
|
class: "text-none rounded-circle",
|
|
1764
1764
|
variant: "plain",
|
|
@@ -1768,7 +1768,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1768
1768
|
"min-width": "28",
|
|
1769
1769
|
onClick: r.handleFollow
|
|
1770
1770
|
}, {
|
|
1771
|
-
default:
|
|
1771
|
+
default: C(() => t[3] || (t[3] = [
|
|
1772
1772
|
n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
|
|
1773
1773
|
])),
|
|
1774
1774
|
_: 1,
|
|
@@ -1781,13 +1781,13 @@ function jl(e, t, o, i, a, r) {
|
|
|
1781
1781
|
class: "",
|
|
1782
1782
|
onClick: r.handleClose
|
|
1783
1783
|
}, {
|
|
1784
|
-
default:
|
|
1784
|
+
default: C(() => t[4] || (t[4] = [
|
|
1785
1785
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
1786
1786
|
])),
|
|
1787
1787
|
_: 1,
|
|
1788
1788
|
__: [4]
|
|
1789
1789
|
}, 8, ["onClick"])
|
|
1790
|
-
])) : (
|
|
1790
|
+
])) : (P(), I("div", Hr, [
|
|
1791
1791
|
L(l, {
|
|
1792
1792
|
icon: "",
|
|
1793
1793
|
density: "compact",
|
|
@@ -1795,7 +1795,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1795
1795
|
class: "",
|
|
1796
1796
|
onClick: r.handleClose
|
|
1797
1797
|
}, {
|
|
1798
|
-
default:
|
|
1798
|
+
default: C(() => t[5] || (t[5] = [
|
|
1799
1799
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
1800
1800
|
])),
|
|
1801
1801
|
_: 1,
|
|
@@ -1815,11 +1815,11 @@ function jl(e, t, o, i, a, r) {
|
|
|
1815
1815
|
_: 1
|
|
1816
1816
|
}),
|
|
1817
1817
|
L(s, { class: "w-100" }),
|
|
1818
|
-
o.simple ? N("", !0) : (
|
|
1818
|
+
o.simple ? N("", !0) : (P(), I("div", Ur, [
|
|
1819
1819
|
(g = o.followList) != null && g.some((f) => {
|
|
1820
1820
|
var h;
|
|
1821
1821
|
return ((h = f.port) == null ? void 0 : h.id) === o.portId;
|
|
1822
|
-
}) ? (
|
|
1822
|
+
}) ? (P(), B(l, {
|
|
1823
1823
|
key: 0,
|
|
1824
1824
|
class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
|
|
1825
1825
|
variant: "tonal",
|
|
@@ -1827,14 +1827,14 @@ function jl(e, t, o, i, a, r) {
|
|
|
1827
1827
|
height: "32",
|
|
1828
1828
|
onClick: r.handleCancelFollow
|
|
1829
1829
|
}, {
|
|
1830
|
-
prepend:
|
|
1830
|
+
prepend: C(() => t[7] || (t[7] = [
|
|
1831
1831
|
n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
|
|
1832
1832
|
])),
|
|
1833
|
-
default:
|
|
1833
|
+
default: C(() => [
|
|
1834
1834
|
de(" " + b(e.$t("actions.unfollow")), 1)
|
|
1835
1835
|
]),
|
|
1836
1836
|
_: 1
|
|
1837
|
-
}, 8, ["onClick"])) : (
|
|
1837
|
+
}, 8, ["onClick"])) : (P(), B(l, {
|
|
1838
1838
|
key: 1,
|
|
1839
1839
|
class: "text-none text-body-1 rounded flex-1-1-0 btn-bg-3",
|
|
1840
1840
|
variant: "tonal",
|
|
@@ -1842,10 +1842,10 @@ function jl(e, t, o, i, a, r) {
|
|
|
1842
1842
|
height: "32",
|
|
1843
1843
|
onClick: r.handleFollow
|
|
1844
1844
|
}, {
|
|
1845
|
-
prepend:
|
|
1845
|
+
prepend: C(() => t[8] || (t[8] = [
|
|
1846
1846
|
n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
|
|
1847
1847
|
])),
|
|
1848
|
-
default:
|
|
1848
|
+
default: C(() => [
|
|
1849
1849
|
de(b(e.$t("actions.follow")) + " ", 1)
|
|
1850
1850
|
]),
|
|
1851
1851
|
_: 1
|
|
@@ -1857,7 +1857,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1857
1857
|
height: "32",
|
|
1858
1858
|
onClick: r.handleMeteoMore
|
|
1859
1859
|
}, {
|
|
1860
|
-
default:
|
|
1860
|
+
default: C(() => [
|
|
1861
1861
|
de(b(e.$t("actions.7dayForcast")), 1)
|
|
1862
1862
|
]),
|
|
1863
1863
|
_: 1
|
|
@@ -1870,7 +1870,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1870
1870
|
n("div", Jr, [
|
|
1871
1871
|
n("div", Kr, [
|
|
1872
1872
|
n("div", $r, [
|
|
1873
|
-
(
|
|
1873
|
+
(P(), I("svg", qr, [
|
|
1874
1874
|
n("use", {
|
|
1875
1875
|
"xlink:href": `#icon-title-${o.theme}`
|
|
1876
1876
|
}, null, 8, Qr)
|
|
@@ -1897,7 +1897,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1897
1897
|
n("div", ml, [
|
|
1898
1898
|
n("div", dl, [
|
|
1899
1899
|
n("div", hl, [
|
|
1900
|
-
(
|
|
1900
|
+
(P(), I("svg", ul, [
|
|
1901
1901
|
n("use", {
|
|
1902
1902
|
"xlink:href": `#icon-title-${o.theme}`
|
|
1903
1903
|
}, null, 8, pl)
|
|
@@ -1919,15 +1919,15 @@ function jl(e, t, o, i, a, r) {
|
|
|
1919
1919
|
"min-height": "26",
|
|
1920
1920
|
rounded: "1"
|
|
1921
1921
|
}, {
|
|
1922
|
-
default:
|
|
1923
|
-
(
|
|
1922
|
+
default: C(() => [
|
|
1923
|
+
(P(!0), I(Ie, null, De(r.dateList, (f) => (P(), B(l, {
|
|
1924
1924
|
class: "text-none text-body-1 rounded bg-none flex-1-1-0",
|
|
1925
1925
|
density: "compact",
|
|
1926
1926
|
color: "primary",
|
|
1927
1927
|
height: "26",
|
|
1928
1928
|
value: f.index
|
|
1929
1929
|
}, {
|
|
1930
|
-
default:
|
|
1930
|
+
default: C(() => [
|
|
1931
1931
|
de(b(f.label), 1)
|
|
1932
1932
|
]),
|
|
1933
1933
|
_: 2
|
|
@@ -1937,40 +1937,40 @@ function jl(e, t, o, i, a, r) {
|
|
|
1937
1937
|
}, 8, ["modelValue"]),
|
|
1938
1938
|
n("table", gl, [
|
|
1939
1939
|
n("tbody", null, [
|
|
1940
|
-
(
|
|
1940
|
+
(P(!0), I(Ie, null, De(a.tableData, (f) => (P(), I("tr", {
|
|
1941
1941
|
key: f.id
|
|
1942
1942
|
}, [
|
|
1943
1943
|
n("th", fl, [
|
|
1944
1944
|
de(b(e.$t(`${f.key}`)) + " ", 1),
|
|
1945
|
-
f.unit ? (
|
|
1945
|
+
f.unit ? (P(), I("span", yl, " ( " + b(f.unit) + " )", 1)) : N("", !0)
|
|
1946
1946
|
]),
|
|
1947
1947
|
n("td", bl, [
|
|
1948
|
-
f.img ? (
|
|
1948
|
+
f.img ? (P(), I("img", {
|
|
1949
1949
|
key: 0,
|
|
1950
1950
|
src: f == null ? void 0 : f.value0,
|
|
1951
1951
|
style: { height: "30px" }
|
|
1952
|
-
}, null, 8, wl)) : (
|
|
1952
|
+
}, null, 8, wl)) : (P(), I("span", xl, b((f == null ? void 0 : f.value0) ?? "-"), 1))
|
|
1953
1953
|
]),
|
|
1954
1954
|
n("td", vl, [
|
|
1955
|
-
f.img ? (
|
|
1955
|
+
f.img ? (P(), I("img", {
|
|
1956
1956
|
key: 0,
|
|
1957
1957
|
src: f == null ? void 0 : f.value1,
|
|
1958
1958
|
style: { height: "30px" }
|
|
1959
|
-
}, null, 8, kl)) : (
|
|
1959
|
+
}, null, 8, kl)) : (P(), I("span", _l, b((f == null ? void 0 : f.value1) ?? "-"), 1))
|
|
1960
1960
|
]),
|
|
1961
1961
|
n("td", zl, [
|
|
1962
|
-
f.img ? (
|
|
1962
|
+
f.img ? (P(), I("img", {
|
|
1963
1963
|
key: 0,
|
|
1964
1964
|
src: f == null ? void 0 : f.value2,
|
|
1965
1965
|
style: { height: "30px" }
|
|
1966
|
-
}, null, 8, Ll)) : (
|
|
1966
|
+
}, null, 8, Ll)) : (P(), I("span", Pl, b((f == null ? void 0 : f.value2) ?? "-"), 1))
|
|
1967
1967
|
]),
|
|
1968
1968
|
n("td", Cl, [
|
|
1969
|
-
f.img ? (
|
|
1969
|
+
f.img ? (P(), I("img", {
|
|
1970
1970
|
key: 0,
|
|
1971
1971
|
src: f == null ? void 0 : f.value3,
|
|
1972
1972
|
style: { height: "30px" }
|
|
1973
|
-
}, null, 8, Ml)) : (
|
|
1973
|
+
}, null, 8, Ml)) : (P(), I("span", Sl, b((f == null ? void 0 : f.value3) ?? "-"), 1))
|
|
1974
1974
|
])
|
|
1975
1975
|
]))), 128))
|
|
1976
1976
|
])
|
|
@@ -1980,7 +1980,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
1980
1980
|
n("div", Tl, [
|
|
1981
1981
|
n("div", Rl, [
|
|
1982
1982
|
n("div", Il, [
|
|
1983
|
-
(
|
|
1983
|
+
(P(), I("svg", Dl, [
|
|
1984
1984
|
n("use", {
|
|
1985
1985
|
"xlink:href": `#icon-title-${o.theme}`
|
|
1986
1986
|
}, null, 8, Al)
|
|
@@ -1988,14 +1988,14 @@ function jl(e, t, o, i, a, r) {
|
|
|
1988
1988
|
n("div", null, b(e.$t("tide.tideTimes")), 1)
|
|
1989
1989
|
]),
|
|
1990
1990
|
n("div", Gl, [
|
|
1991
|
-
a.showTideDetail ? (
|
|
1991
|
+
a.showTideDetail ? (P(), B(l, {
|
|
1992
1992
|
key: 0,
|
|
1993
1993
|
icon: "mdi-eye-off-outline",
|
|
1994
1994
|
density: "compact",
|
|
1995
1995
|
variant: "plain",
|
|
1996
1996
|
size: "small",
|
|
1997
1997
|
onClick: t[1] || (t[1] = (f) => a.showTideDetail = !1)
|
|
1998
|
-
})) : (
|
|
1998
|
+
})) : (P(), B(l, {
|
|
1999
1999
|
key: 1,
|
|
2000
2000
|
icon: "mdi-eye-outline",
|
|
2001
2001
|
density: "compact",
|
|
@@ -2005,7 +2005,7 @@ function jl(e, t, o, i, a, r) {
|
|
|
2005
2005
|
}, null, 8, ["onClick"]))
|
|
2006
2006
|
])
|
|
2007
2007
|
]),
|
|
2008
|
-
a.showTideDetail ? (
|
|
2008
|
+
a.showTideDetail ? (P(), I("div", {
|
|
2009
2009
|
key: 0,
|
|
2010
2010
|
class: _e(["w-100 gray-bg-2 rounded", o.simple ? "pa-2" : "pa-4"])
|
|
2011
2011
|
}, [
|
|
@@ -2014,12 +2014,12 @@ function jl(e, t, o, i, a, r) {
|
|
|
2014
2014
|
n("tbody", null, [
|
|
2015
2015
|
n("tr", null, [
|
|
2016
2016
|
n("th", Nl, b(e.$t("tide.tide")), 1),
|
|
2017
|
-
n("th",
|
|
2018
|
-
n("th",
|
|
2017
|
+
n("th", Zl, b(e.$t("time.time")) + " ( LT ) ", 1),
|
|
2018
|
+
n("th", Bl, b(e.$t("tide.height")) + " ( m )", 1)
|
|
2019
2019
|
]),
|
|
2020
|
-
(
|
|
2020
|
+
(P(!0), I(Ie, null, De(a.tideTableData, (f, h) => {
|
|
2021
2021
|
var u;
|
|
2022
|
-
return
|
|
2022
|
+
return P(), I("tr", { key: h }, [
|
|
2023
2023
|
n("td", El, b(e.$t(`tide.${(u = f == null ? void 0 : f.type) == null ? void 0 : u.toLowerCase()}`)) + " " + b(e.$t("tide.tide")), 1),
|
|
2024
2024
|
n("td", Ol, b(r.computeLocalTime(f == null ? void 0 : f.date, o.port, "MM-DD HH:mm")), 1),
|
|
2025
2025
|
n("td", Xl, b((f == null ? void 0 : f.height) ?? "-") + " m", 1)
|
|
@@ -2145,14 +2145,14 @@ const Vl = {
|
|
|
2145
2145
|
}, Hl = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Yl = { class: "d-flex justify-start align-center text-label" }, Ul = { class: "d-flex justify-start align-center text-label" };
|
|
2146
2146
|
function Jl(e, t, o, i, a, r) {
|
|
2147
2147
|
const l = R("VCardText"), c = R("VCard"), s = R("PortDetail");
|
|
2148
|
-
return
|
|
2148
|
+
return P(), I("div", null, [
|
|
2149
2149
|
Qe(L(c, {
|
|
2150
2150
|
id: "idmPortInfo",
|
|
2151
2151
|
ref: "idmPortInfo"
|
|
2152
2152
|
}, {
|
|
2153
|
-
default:
|
|
2153
|
+
default: C(() => [
|
|
2154
2154
|
L(l, { class: "text-body-1 pr-8" }, {
|
|
2155
|
-
default:
|
|
2155
|
+
default: C(() => [
|
|
2156
2156
|
n("div", Hl, [
|
|
2157
2157
|
n("div", null, b(e.$t("port.port")), 1),
|
|
2158
2158
|
n("div", Yl, [
|
|
@@ -2171,7 +2171,7 @@ function Jl(e, t, o, i, a, r) {
|
|
|
2171
2171
|
}, 512), [
|
|
2172
2172
|
[et, a.showInfo]
|
|
2173
2173
|
]),
|
|
2174
|
-
a.showDetail ? (
|
|
2174
|
+
a.showDetail ? (P(), B(s, Y({
|
|
2175
2175
|
key: 0,
|
|
2176
2176
|
portId: a.portId,
|
|
2177
2177
|
port: a.port,
|
|
@@ -2223,7 +2223,7 @@ const Kl = /* @__PURE__ */ ne(Vl, [["render", Jl], ["__scopeId", "data-v-0c0f27d
|
|
|
2223
2223
|
}
|
|
2224
2224
|
};
|
|
2225
2225
|
function ql(e, t, o, i, a, r) {
|
|
2226
|
-
return
|
|
2226
|
+
return P(), I("div");
|
|
2227
2227
|
}
|
|
2228
2228
|
const Ql = /* @__PURE__ */ ne($l, [["render", ql]]), en = {
|
|
2229
2229
|
name: "IdmTimezone",
|
|
@@ -2429,7 +2429,7 @@ const Ql = /* @__PURE__ */ ne($l, [["render", ql]]), en = {
|
|
|
2429
2429
|
}
|
|
2430
2430
|
};
|
|
2431
2431
|
function tn(e, t, o, i, a, r) {
|
|
2432
|
-
return
|
|
2432
|
+
return P(), I("div");
|
|
2433
2433
|
}
|
|
2434
2434
|
const on = /* @__PURE__ */ ne(en, [["render", tn]]), an = {
|
|
2435
2435
|
name: "IdmVoluntaryReportingArea",
|
|
@@ -2524,7 +2524,7 @@ const on = /* @__PURE__ */ ne(en, [["render", tn]]), an = {
|
|
|
2524
2524
|
}
|
|
2525
2525
|
};
|
|
2526
2526
|
function rn(e, t, o, i, a, r) {
|
|
2527
|
-
return
|
|
2527
|
+
return P(), I("div");
|
|
2528
2528
|
}
|
|
2529
2529
|
const ln = /* @__PURE__ */ ne(an, [["render", rn]]), nn = {
|
|
2530
2530
|
name: "IdmSpecialArea",
|
|
@@ -2619,7 +2619,7 @@ const ln = /* @__PURE__ */ ne(an, [["render", rn]]), nn = {
|
|
|
2619
2619
|
}
|
|
2620
2620
|
};
|
|
2621
2621
|
function sn(e, t, o, i, a, r) {
|
|
2622
|
-
return
|
|
2622
|
+
return P(), I("div");
|
|
2623
2623
|
}
|
|
2624
2624
|
const cn = /* @__PURE__ */ ne(nn, [["render", sn]]), mn = {
|
|
2625
2625
|
name: "IdmTerminator",
|
|
@@ -2673,7 +2673,7 @@ const cn = /* @__PURE__ */ ne(nn, [["render", sn]]), mn = {
|
|
|
2673
2673
|
}
|
|
2674
2674
|
};
|
|
2675
2675
|
function dn(e, t, o, i, a, r) {
|
|
2676
|
-
return
|
|
2676
|
+
return P(), I("div");
|
|
2677
2677
|
}
|
|
2678
2678
|
const hn = /* @__PURE__ */ ne(mn, [["render", dn]]), un = {
|
|
2679
2679
|
name: "IdmWorld12nm",
|
|
@@ -3078,7 +3078,7 @@ const kn = {
|
|
|
3078
3078
|
}, _n = { class: "d-flex justify-space-between align-center" }, zn = { class: "d-flex justify-start text-h5 my-2" }, Ln = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Pn = { class: "summary-box w-100" }, Cn = { class: "d-flex justify-space-between align-center py-2" }, Mn = { class: "d-flex justify-center align-center text-h6 ga-2" }, Sn = {
|
|
3079
3079
|
class: "multi-color-icon",
|
|
3080
3080
|
"aria-hidden": "true"
|
|
3081
|
-
}, Tn = ["xlink:href"], Rn = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, In = { class: "w-100 d-flex justify-start align-center" }, Dn = { class: "w-30 text-label font-weight-400" }, An = { class: "flex-1-1-0" }, Gn = { class: "w-100 d-flex justify-start align-center" }, Wn = { class: "w-30 text-label font-weight-400" }, Fn = { class: "flex-1-1-0" }, Nn = { class: "w-100 d-flex justify-start align-center" },
|
|
3081
|
+
}, Tn = ["xlink:href"], Rn = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, In = { class: "w-100 d-flex justify-start align-center" }, Dn = { class: "w-30 text-label font-weight-400" }, An = { class: "flex-1-1-0" }, Gn = { class: "w-100 d-flex justify-start align-center" }, Wn = { class: "w-30 text-label font-weight-400" }, Fn = { class: "flex-1-1-0" }, Nn = { class: "w-100 d-flex justify-start align-center" }, Zn = { class: "w-30 text-label font-weight-400" }, Bn = { class: "flex-1-1-0" }, En = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, On = { class: "w-100 d-flex justify-space-between align-center py-2" }, Xn = { class: "d-flex justify-center align-center text-h6 ga-2" }, jn = {
|
|
3082
3082
|
class: "multi-color-icon",
|
|
3083
3083
|
"aria-hidden": "true"
|
|
3084
3084
|
}, Vn = ["xlink:href"], Hn = {
|
|
@@ -3101,14 +3101,14 @@ const kn = {
|
|
|
3101
3101
|
}, $n = { class: "px-1 text-center" }, qn = { class: "px-1 text-center" }, Qn = { class: "px-1 text-center" };
|
|
3102
3102
|
function es(e, t, o, i, a, r) {
|
|
3103
3103
|
const l = R("VBtn"), c = R("v-card-title"), s = R("v-divider"), d = R("VBtnToggle"), m = R("v-card");
|
|
3104
|
-
return
|
|
3104
|
+
return P(), B(m, {
|
|
3105
3105
|
class: _e(["tide-detail-container d-flex flex-column justify-start align-center", o.simple ? "page" : "dialog"])
|
|
3106
3106
|
}, {
|
|
3107
|
-
default:
|
|
3107
|
+
default: C(() => {
|
|
3108
3108
|
var g, p;
|
|
3109
3109
|
return [
|
|
3110
3110
|
L(c, { class: "w-100" }, {
|
|
3111
|
-
default:
|
|
3111
|
+
default: C(() => {
|
|
3112
3112
|
var y;
|
|
3113
3113
|
return [
|
|
3114
3114
|
n("div", _n, [
|
|
@@ -3122,7 +3122,7 @@ function es(e, t, o, i, a, r) {
|
|
|
3122
3122
|
class: "",
|
|
3123
3123
|
onClick: r.handleClose
|
|
3124
3124
|
}, {
|
|
3125
|
-
default:
|
|
3125
|
+
default: C(() => t[1] || (t[1] = [
|
|
3126
3126
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
3127
3127
|
])),
|
|
3128
3128
|
_: 1,
|
|
@@ -3143,7 +3143,7 @@ function es(e, t, o, i, a, r) {
|
|
|
3143
3143
|
n("div", Pn, [
|
|
3144
3144
|
n("div", Cn, [
|
|
3145
3145
|
n("div", Mn, [
|
|
3146
|
-
(
|
|
3146
|
+
(P(), I("svg", Sn, [
|
|
3147
3147
|
n("use", {
|
|
3148
3148
|
"xlink:href": `#icon-title-${o.theme}`
|
|
3149
3149
|
}, null, 8, Tn)
|
|
@@ -3161,15 +3161,15 @@ function es(e, t, o, i, a, r) {
|
|
|
3161
3161
|
n("div", Fn, b(r.computePosition(o.station)), 1)
|
|
3162
3162
|
]),
|
|
3163
3163
|
n("div", Nn, [
|
|
3164
|
-
n("div",
|
|
3165
|
-
n("div",
|
|
3164
|
+
n("div", Zn, b(e.$t("time.localTime")), 1),
|
|
3165
|
+
n("div", Bn, b(r.computeLocalTime(o.realTime, o.station)) + " " + b(r.computeTimeOffset(o.station)), 1)
|
|
3166
3166
|
])
|
|
3167
3167
|
])
|
|
3168
3168
|
]),
|
|
3169
3169
|
n("div", En, [
|
|
3170
3170
|
n("div", On, [
|
|
3171
3171
|
n("div", Xn, [
|
|
3172
|
-
(
|
|
3172
|
+
(P(), I("svg", jn, [
|
|
3173
3173
|
n("use", {
|
|
3174
3174
|
"xlink:href": `#icon-title-${o.theme}`
|
|
3175
3175
|
}, null, 8, Vn)
|
|
@@ -3191,15 +3191,15 @@ function es(e, t, o, i, a, r) {
|
|
|
3191
3191
|
"min-height": "26",
|
|
3192
3192
|
rounded: "1"
|
|
3193
3193
|
}, {
|
|
3194
|
-
default:
|
|
3195
|
-
(
|
|
3194
|
+
default: C(() => [
|
|
3195
|
+
(P(!0), I(Ie, null, De(r.dateList, (y) => (P(), B(l, {
|
|
3196
3196
|
class: "text-none text-body-1 rounded bg-none flex-1-1-0",
|
|
3197
3197
|
density: "compact",
|
|
3198
3198
|
color: "primary",
|
|
3199
3199
|
height: "26",
|
|
3200
3200
|
value: y.index
|
|
3201
3201
|
}, {
|
|
3202
|
-
default:
|
|
3202
|
+
default: C(() => [
|
|
3203
3203
|
de(b(y.label), 1)
|
|
3204
3204
|
]),
|
|
3205
3205
|
_: 2
|
|
@@ -3215,9 +3215,9 @@ function es(e, t, o, i, a, r) {
|
|
|
3215
3215
|
n("th", Jn, b(e.$t("time.time")) + " ( LT ) ", 1),
|
|
3216
3216
|
n("th", Kn, b(e.$t("tide.height")) + " ( m )", 1)
|
|
3217
3217
|
]),
|
|
3218
|
-
(
|
|
3218
|
+
(P(!0), I(Ie, null, De(a.tideTableData, (y, f) => {
|
|
3219
3219
|
var h;
|
|
3220
|
-
return
|
|
3220
|
+
return P(), I("tr", { key: f }, [
|
|
3221
3221
|
n("td", $n, b(e.$t(`tide.${(h = y == null ? void 0 : y.type) == null ? void 0 : h.toLowerCase()}`)) + " " + b(e.$t("tide.tide")), 1),
|
|
3222
3222
|
n("td", qn, b(r.computeLocalTime(y == null ? void 0 : y.date, o.station, "MM-DD HH:mm")), 1),
|
|
3223
3223
|
n("td", Qn, b((y == null ? void 0 : y.height) ?? "-") + " m", 1)
|
|
@@ -3312,11 +3312,11 @@ const os = {
|
|
|
3312
3312
|
}, as = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, is = { class: "d-flex justify-start align-center" }, rs = { class: "d-flex justify-start align-center" }, ls = { class: "text-label" };
|
|
3313
3313
|
function ns(e, t, o, i, a, r) {
|
|
3314
3314
|
const l = R("v-card-text"), c = R("v-card"), s = R("TideDetail");
|
|
3315
|
-
return
|
|
3315
|
+
return P(), I("div", null, [
|
|
3316
3316
|
Qe(L(c, { id: "idmTidalInfo" }, {
|
|
3317
|
-
default:
|
|
3317
|
+
default: C(() => [
|
|
3318
3318
|
L(l, { class: "pr-8 text-body-1" }, {
|
|
3319
|
-
default:
|
|
3319
|
+
default: C(() => {
|
|
3320
3320
|
var d, m;
|
|
3321
3321
|
return [
|
|
3322
3322
|
n("div", as, [
|
|
@@ -3334,7 +3334,7 @@ function ns(e, t, o, i, a, r) {
|
|
|
3334
3334
|
}, 512), [
|
|
3335
3335
|
[et, a.showInfo]
|
|
3336
3336
|
]),
|
|
3337
|
-
a.showDetail ? (
|
|
3337
|
+
a.showDetail ? (P(), B(s, Y({
|
|
3338
3338
|
key: 0,
|
|
3339
3339
|
station: a.station,
|
|
3340
3340
|
onClose: r.handleCloseDetail
|
|
@@ -3559,7 +3559,7 @@ const hs = {
|
|
|
3559
3559
|
};
|
|
3560
3560
|
function us(e, t, o, i, a, r) {
|
|
3561
3561
|
var l, c, s;
|
|
3562
|
-
return o.simple ? N("", !0) : (
|
|
3562
|
+
return o.simple ? N("", !0) : (P(), I("div", {
|
|
3563
3563
|
key: 0,
|
|
3564
3564
|
class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
|
|
3565
3565
|
style: ue({ right: a.right + "px" })
|
|
@@ -4482,14 +4482,14 @@ const ps = {
|
|
|
4482
4482
|
}, gs = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, fs = { class: "d-flex justify-start align-center text-label" }, ys = { class: "d-flex justify-start align-center text-label" };
|
|
4483
4483
|
function bs(e, t, o, i, a, r) {
|
|
4484
4484
|
const l = R("v-card-text"), c = R("v-card"), s = R("PortDetail");
|
|
4485
|
-
return
|
|
4485
|
+
return P(), I("div", null, [
|
|
4486
4486
|
Qe(L(c, {
|
|
4487
4487
|
id: "idmFollowPortInfo",
|
|
4488
4488
|
ref: "idmFollowPortInfo"
|
|
4489
4489
|
}, {
|
|
4490
|
-
default:
|
|
4490
|
+
default: C(() => [
|
|
4491
4491
|
L(l, { class: "text-body-1 pr-8" }, {
|
|
4492
|
-
default:
|
|
4492
|
+
default: C(() => [
|
|
4493
4493
|
n("div", gs, [
|
|
4494
4494
|
n("div", null, b(e.$t("port.port")), 1),
|
|
4495
4495
|
n("div", fs, [
|
|
@@ -4508,7 +4508,7 @@ function bs(e, t, o, i, a, r) {
|
|
|
4508
4508
|
}, 512), [
|
|
4509
4509
|
[et, a.showInfo]
|
|
4510
4510
|
]),
|
|
4511
|
-
a.showDetail ? (
|
|
4511
|
+
a.showDetail ? (P(), B(s, Y({
|
|
4512
4512
|
key: 0,
|
|
4513
4513
|
portId: a.portId,
|
|
4514
4514
|
port: a.port,
|
|
@@ -5441,19 +5441,19 @@ const xs = {
|
|
|
5441
5441
|
};
|
|
5442
5442
|
function zs(e, t, o, i, a, r) {
|
|
5443
5443
|
const l = R("v-card-text"), c = R("v-card");
|
|
5444
|
-
return Qe((
|
|
5444
|
+
return Qe((P(), B(c, {
|
|
5445
5445
|
id: "idmFollowPositionInfo",
|
|
5446
5446
|
ref: "idmFollowPositionInfo"
|
|
5447
5447
|
}, {
|
|
5448
|
-
default:
|
|
5448
|
+
default: C(() => [
|
|
5449
5449
|
L(l, { class: "text-body-1 pr-8" }, {
|
|
5450
|
-
default:
|
|
5450
|
+
default: C(() => [
|
|
5451
5451
|
n("div", vs, [
|
|
5452
5452
|
t[0] || (t[0] = n("div", null, "Location", -1)),
|
|
5453
5453
|
n("div", ks, [
|
|
5454
5454
|
n("span", null, b(r.computePosition(a.position)), 1)
|
|
5455
5455
|
]),
|
|
5456
|
-
a.position.remark ? (
|
|
5456
|
+
a.position.remark ? (P(), I("div", _s, [
|
|
5457
5457
|
n("span", null, b(a.position.remark ?? "-"), 1)
|
|
5458
5458
|
])) : N("", !0)
|
|
5459
5459
|
])
|
|
@@ -5693,9 +5693,9 @@ const Ps = {
|
|
|
5693
5693
|
class: "border rounded-sm"
|
|
5694
5694
|
}, Ws = { class: "text-body-2 text-center pt-2" };
|
|
5695
5695
|
function Fs(e, t, o, i, a, r) {
|
|
5696
|
-
var ee, he,
|
|
5696
|
+
var ee, he, D, H, U, te, X, O, $;
|
|
5697
5697
|
const l = R("VBtn"), c = R("VTooltip"), s = R("VCardTitle"), d = R("VCardItem"), m = R("VCheckbox"), g = R("VCardText"), p = R("VCard"), y = R("IdmLatLng"), f = R("IdmTerminator"), h = R("IdmTimezone"), u = R("IdmPort"), x = R("IdmAlertZone"), v = R("IdmTideStations"), w = R("IdmEcaZone"), k = R("IdmWarZone"), S = R("IdmGmdssArea"), _ = R("IdmLoadLine"), M = R("IdmWorldMarine"), T = R("IdmVRA"), W = R("IdmSpecialArea"), F = R("IdmWorld12nm"), E = R("IdmChinaRoute"), V = R("IdmIceAreas"), J = R("IdmFollowPort"), Q = R("IdmFollowPosition");
|
|
5698
|
-
return
|
|
5698
|
+
return P(), I("div", Cs, [
|
|
5699
5699
|
n("div", {
|
|
5700
5700
|
class: _e(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
|
|
5701
5701
|
style: ue({ top: o.top + 10 + "px", right: a.right + "px", paddingTop: o.paddingTop + "px", height: o.menuHeight + "px" })
|
|
@@ -5708,7 +5708,7 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5708
5708
|
"open-on-focus": !o.simple,
|
|
5709
5709
|
"open-on-hover": !o.simple
|
|
5710
5710
|
}, {
|
|
5711
|
-
activator:
|
|
5711
|
+
activator: C(({ props: A }) => [
|
|
5712
5712
|
L(l, Y(A, {
|
|
5713
5713
|
"min-width": "32",
|
|
5714
5714
|
width: "32",
|
|
@@ -5716,7 +5716,7 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5716
5716
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
5717
5717
|
onClick: r.handleMenuToggle
|
|
5718
5718
|
}), {
|
|
5719
|
-
default:
|
|
5719
|
+
default: C(() => t[5] || (t[5] = [
|
|
5720
5720
|
n("i", { class: "iconfont icon-Layer text-h4" }, null, -1)
|
|
5721
5721
|
])),
|
|
5722
5722
|
_: 2,
|
|
@@ -5739,7 +5739,7 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5739
5739
|
class: "mr-n2",
|
|
5740
5740
|
onClick: r.handleMenuToggle
|
|
5741
5741
|
}, {
|
|
5742
|
-
default:
|
|
5742
|
+
default: C(() => t[6] || (t[6] = [
|
|
5743
5743
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
5744
5744
|
])),
|
|
5745
5745
|
_: 1,
|
|
@@ -5753,11 +5753,11 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5753
5753
|
class: "block-bg mx-auto mb-2",
|
|
5754
5754
|
elevation: "0"
|
|
5755
5755
|
}, {
|
|
5756
|
-
default:
|
|
5756
|
+
default: C(() => [
|
|
5757
5757
|
L(d, { class: "border-b-thin" }, {
|
|
5758
|
-
default:
|
|
5758
|
+
default: C(() => [
|
|
5759
5759
|
L(s, { class: "text-h6" }, {
|
|
5760
|
-
default:
|
|
5760
|
+
default: C(() => [
|
|
5761
5761
|
de(b(e.$t("layer.mapFeathers")), 1)
|
|
5762
5762
|
]),
|
|
5763
5763
|
_: 1
|
|
@@ -5766,9 +5766,9 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5766
5766
|
_: 1
|
|
5767
5767
|
}),
|
|
5768
5768
|
L(g, { class: "pb-2" }, {
|
|
5769
|
-
default:
|
|
5769
|
+
default: C(() => [
|
|
5770
5770
|
n("div", Ts, [
|
|
5771
|
-
(
|
|
5771
|
+
(P(!0), I(Ie, null, De(a.mapFeathers, (A) => (P(), I("div", {
|
|
5772
5772
|
key: A.value,
|
|
5773
5773
|
class: "mb-4 feather-item",
|
|
5774
5774
|
onClick: (ie) => r.handleToggleMapFeather(A)
|
|
@@ -5776,12 +5776,12 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5776
5776
|
n("div", {
|
|
5777
5777
|
class: _e([a.mapFeather === A.value ? "active" : "", "img-box"])
|
|
5778
5778
|
}, [
|
|
5779
|
-
A.value === "dark" ? (
|
|
5779
|
+
A.value === "dark" ? (P(), I("img", Is)) : A.value === "nautical" ? (P(), I("img", Ds)) : A.value === "satellite" ? (P(), I("img", As)) : (P(), I("img", Gs))
|
|
5780
5780
|
], 2),
|
|
5781
5781
|
n("div", Ws, b(e.$t(`layer.${A.locale}`)), 1)
|
|
5782
5782
|
], 8, Rs))), 128))
|
|
5783
5783
|
]),
|
|
5784
|
-
(
|
|
5784
|
+
(P(!0), I(Ie, null, De(a.tagLayers.filter((A) => ["graticule", "day-night", "time-zones"].includes(A.key)), (A) => (P(), B(m, {
|
|
5785
5785
|
key: A.key,
|
|
5786
5786
|
modelValue: a.checkList,
|
|
5787
5787
|
"onUpdate:modelValue": t[0] || (t[0] = (ie) => a.checkList = ie),
|
|
@@ -5803,11 +5803,11 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5803
5803
|
class: "block-bg mx-auto mb-2",
|
|
5804
5804
|
elevation: "0"
|
|
5805
5805
|
}, {
|
|
5806
|
-
default:
|
|
5806
|
+
default: C(() => [
|
|
5807
5807
|
L(d, { class: "border-b-thin" }, {
|
|
5808
|
-
default:
|
|
5808
|
+
default: C(() => [
|
|
5809
5809
|
L(s, { class: "text-h6" }, {
|
|
5810
|
-
default:
|
|
5810
|
+
default: C(() => [
|
|
5811
5811
|
de(b(e.$t("layer.pointsOfInteresting")), 1)
|
|
5812
5812
|
]),
|
|
5813
5813
|
_: 1
|
|
@@ -5816,8 +5816,8 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5816
5816
|
_: 1
|
|
5817
5817
|
}),
|
|
5818
5818
|
L(g, { class: "py-2 mx-n1" }, {
|
|
5819
|
-
default:
|
|
5820
|
-
(
|
|
5819
|
+
default: C(() => [
|
|
5820
|
+
(P(!0), I(Ie, null, De(a.tagLayers.filter((A) => ["ports", "alert-zones", "tidal-stations"].includes(A.key)), (A) => (P(), B(m, {
|
|
5821
5821
|
key: A.key,
|
|
5822
5822
|
modelValue: a.checkList,
|
|
5823
5823
|
"onUpdate:modelValue": t[1] || (t[1] = (ie) => a.checkList = ie),
|
|
@@ -5839,11 +5839,11 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5839
5839
|
class: "block-bg mx-auto mb-2",
|
|
5840
5840
|
elevation: "0"
|
|
5841
5841
|
}, {
|
|
5842
|
-
default:
|
|
5842
|
+
default: C(() => [
|
|
5843
5843
|
L(d, { class: "border-b-thin" }, {
|
|
5844
|
-
default:
|
|
5844
|
+
default: C(() => [
|
|
5845
5845
|
L(s, { class: "text-h6" }, {
|
|
5846
|
-
default:
|
|
5846
|
+
default: C(() => [
|
|
5847
5847
|
de(b(e.$t("layer.otherLayers")), 1)
|
|
5848
5848
|
]),
|
|
5849
5849
|
_: 1
|
|
@@ -5852,8 +5852,8 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5852
5852
|
_: 1
|
|
5853
5853
|
}),
|
|
5854
5854
|
L(g, { class: "py-2 mx-n1" }, {
|
|
5855
|
-
default:
|
|
5856
|
-
(
|
|
5855
|
+
default: C(() => [
|
|
5856
|
+
(P(!0), I(Ie, null, De(a.tagLayers.filter((A) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(A.key)), (A) => (P(), B(m, {
|
|
5857
5857
|
key: A.key,
|
|
5858
5858
|
modelValue: a.checkList,
|
|
5859
5859
|
"onUpdate:modelValue": t[2] || (t[2] = (ie) => a.checkList = ie),
|
|
@@ -5875,11 +5875,11 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5875
5875
|
class: "block-bg mx-auto mb-3",
|
|
5876
5876
|
elevation: "0"
|
|
5877
5877
|
}, {
|
|
5878
|
-
default:
|
|
5878
|
+
default: C(() => [
|
|
5879
5879
|
L(d, { class: "border-b-thin" }, {
|
|
5880
|
-
default:
|
|
5880
|
+
default: C(() => [
|
|
5881
5881
|
L(s, { class: "text-h6" }, {
|
|
5882
|
-
default:
|
|
5882
|
+
default: C(() => [
|
|
5883
5883
|
de(b(e.$t("layer.myFollows")), 1)
|
|
5884
5884
|
]),
|
|
5885
5885
|
_: 1
|
|
@@ -5888,7 +5888,7 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5888
5888
|
_: 1
|
|
5889
5889
|
}),
|
|
5890
5890
|
L(g, { class: "py-2 mx-n1" }, {
|
|
5891
|
-
default:
|
|
5891
|
+
default: C(() => [
|
|
5892
5892
|
L(m, {
|
|
5893
5893
|
modelValue: a.checkList,
|
|
5894
5894
|
"onUpdate:modelValue": t[3] || (t[3] = (A) => a.checkList = A),
|
|
@@ -5919,37 +5919,37 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5919
5919
|
})
|
|
5920
5920
|
], 2)
|
|
5921
5921
|
], 6),
|
|
5922
|
-
o.map ? (
|
|
5922
|
+
o.map ? (P(), B(y, Y({
|
|
5923
5923
|
key: 0,
|
|
5924
5924
|
simple: o.simple,
|
|
5925
5925
|
map: o.map,
|
|
5926
5926
|
"menu-toggle": o.menuToggle,
|
|
5927
5927
|
show: a.checkList.includes("graticule")
|
|
5928
5928
|
}, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "menu-toggle", "show"])) : N("", !0),
|
|
5929
|
-
o.map ? (
|
|
5929
|
+
o.map ? (P(), B(f, Y({
|
|
5930
5930
|
key: 1,
|
|
5931
5931
|
map: o.map,
|
|
5932
5932
|
area: (ee = a.otherLayers) == null ? void 0 : ee["day-night"]
|
|
5933
5933
|
}, e.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : N("", !0),
|
|
5934
|
-
o.map ? (
|
|
5934
|
+
o.map ? (P(), B(h, Y({
|
|
5935
5935
|
key: 2,
|
|
5936
5936
|
map: o.map,
|
|
5937
5937
|
zone: (he = a.otherLayers) == null ? void 0 : he["time-zones"],
|
|
5938
5938
|
"real-time": o.realTime
|
|
5939
5939
|
}, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["map", "zone", "real-time"])) : N("", !0),
|
|
5940
|
-
o.map ? (
|
|
5940
|
+
o.map ? (P(), B(u, Y({
|
|
5941
5941
|
key: 3,
|
|
5942
5942
|
ref: "idmPorts",
|
|
5943
5943
|
simple: o.simple,
|
|
5944
5944
|
map: o.map,
|
|
5945
|
-
ports: (
|
|
5945
|
+
ports: (D = a.otherLayers) == null ? void 0 : D.ports,
|
|
5946
5946
|
gateway: o.gateway,
|
|
5947
5947
|
token: o.token,
|
|
5948
5948
|
"forecast-model": o.forecastModel,
|
|
5949
5949
|
"real-time": o.realTime,
|
|
5950
5950
|
theme: o.theme
|
|
5951
5951
|
}, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "ports", "gateway", "token", "forecast-model", "real-time", "theme"])) : N("", !0),
|
|
5952
|
-
o.map ? (
|
|
5952
|
+
o.map ? (P(), B(x, Y({
|
|
5953
5953
|
key: 4,
|
|
5954
5954
|
map: o.map,
|
|
5955
5955
|
simple: o.simple,
|
|
@@ -5958,7 +5958,7 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5958
5958
|
"before-layer": "empty-layer-3",
|
|
5959
5959
|
theme: o.theme
|
|
5960
5960
|
}), null, 16, ["map", "simple", "zone", "theme"])) : N("", !0),
|
|
5961
|
-
o.map ? (
|
|
5961
|
+
o.map ? (P(), B(v, Y({
|
|
5962
5962
|
key: 5,
|
|
5963
5963
|
ref: "idmIideStation",
|
|
5964
5964
|
simple: o.simple,
|
|
@@ -5972,60 +5972,60 @@ function Fs(e, t, o, i, a, r) {
|
|
|
5972
5972
|
"forecast-model": o.forecastModel,
|
|
5973
5973
|
"before-layer": "empty-layer-3"
|
|
5974
5974
|
}, e.$attrs), null, 16, ["simple", "map", "gateway", "token", "default-meteo-token", "show", "theme", "real-time", "forecast-model"])) : N("", !0),
|
|
5975
|
-
o.map ? (
|
|
5975
|
+
o.map ? (P(), B(w, Y({
|
|
5976
5976
|
key: 6,
|
|
5977
5977
|
map: o.map,
|
|
5978
5978
|
zone: (U = a.otherLayers) == null ? void 0 : U["eca-zones"]
|
|
5979
5979
|
}, e.$attrs), null, 16, ["map", "zone"])) : N("", !0),
|
|
5980
|
-
o.map ? (
|
|
5980
|
+
o.map ? (P(), B(k, Y({
|
|
5981
5981
|
key: 7,
|
|
5982
5982
|
map: o.map,
|
|
5983
5983
|
zone: (te = a.otherLayers) == null ? void 0 : te["war-zones"]
|
|
5984
5984
|
}, e.$attrs), null, 16, ["map", "zone"])) : N("", !0),
|
|
5985
|
-
o.map ? (
|
|
5985
|
+
o.map ? (P(), B(S, Y({
|
|
5986
5986
|
key: 8,
|
|
5987
5987
|
map: o.map,
|
|
5988
5988
|
area: (X = a.otherLayers) == null ? void 0 : X["gmdss-areas"]
|
|
5989
5989
|
}, e.$attrs), null, 16, ["map", "area"])) : N("", !0),
|
|
5990
|
-
o.map ? (
|
|
5990
|
+
o.map ? (P(), B(_, Y({
|
|
5991
5991
|
key: 9,
|
|
5992
5992
|
map: o.map,
|
|
5993
5993
|
show: a.checkList.includes("load-lines")
|
|
5994
5994
|
}, e.$attrs), null, 16, ["map", "show"])) : N("", !0),
|
|
5995
|
-
o.map ? (
|
|
5995
|
+
o.map ? (P(), B(M, Y({
|
|
5996
5996
|
key: 10,
|
|
5997
5997
|
map: o.map,
|
|
5998
5998
|
token: o.token,
|
|
5999
5999
|
show: a.checkList.includes("worldMarine")
|
|
6000
6000
|
}, e.$attrs), null, 16, ["map", "token", "show"])) : N("", !0),
|
|
6001
|
-
o.map ? (
|
|
6001
|
+
o.map ? (P(), B(T, Y({
|
|
6002
6002
|
key: 11,
|
|
6003
6003
|
map: o.map,
|
|
6004
6004
|
area: (O = a.otherLayers) == null ? void 0 : O["voluntary-reporting-area"]
|
|
6005
6005
|
}, e.$attrs), null, 16, ["map", "area"])) : N("", !0),
|
|
6006
|
-
o.map ? (
|
|
6006
|
+
o.map ? (P(), B(W, Y({
|
|
6007
6007
|
key: 12,
|
|
6008
6008
|
map: o.map,
|
|
6009
6009
|
area: ($ = a.otherLayers) == null ? void 0 : $["special-area"]
|
|
6010
6010
|
}, e.$attrs), null, 16, ["map", "area"])) : N("", !0),
|
|
6011
|
-
o.map ? (
|
|
6011
|
+
o.map ? (P(), B(F, Y({
|
|
6012
6012
|
key: 13,
|
|
6013
6013
|
map: o.map,
|
|
6014
6014
|
token: o.token,
|
|
6015
6015
|
show: a.checkList.includes("world12nm")
|
|
6016
6016
|
}, e.$attrs), null, 16, ["map", "token", "show"])) : N("", !0),
|
|
6017
|
-
o.map ? (
|
|
6017
|
+
o.map ? (P(), B(E, Y({
|
|
6018
6018
|
key: 14,
|
|
6019
6019
|
map: o.map,
|
|
6020
6020
|
token: o.token,
|
|
6021
6021
|
show: a.checkList.includes("chinaRoute")
|
|
6022
6022
|
}, e.$attrs), null, 16, ["map", "token", "show"])) : N("", !0),
|
|
6023
|
-
o.map ? (
|
|
6023
|
+
o.map ? (P(), B(V, Y({
|
|
6024
6024
|
key: 15,
|
|
6025
6025
|
map: o.map,
|
|
6026
6026
|
show: a.checkList.includes("ice-areas")
|
|
6027
6027
|
}, e.$attrs), null, 16, ["map", "show"])) : N("", !0),
|
|
6028
|
-
o.map ? (
|
|
6028
|
+
o.map ? (P(), B(J, Y({
|
|
6029
6029
|
key: 16,
|
|
6030
6030
|
ref: "idmFollowPort",
|
|
6031
6031
|
simple: o.simple,
|
|
@@ -6036,7 +6036,7 @@ function Fs(e, t, o, i, a, r) {
|
|
|
6036
6036
|
"forecast-model": o.forecastModel,
|
|
6037
6037
|
"real-time": o.realTime
|
|
6038
6038
|
}, e.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "real-time"])) : N("", !0),
|
|
6039
|
-
o.map ? (
|
|
6039
|
+
o.map ? (P(), B(Q, Y({
|
|
6040
6040
|
key: 17,
|
|
6041
6041
|
ref: "idmFollowPosition",
|
|
6042
6042
|
simple: o.simple,
|
|
@@ -6531,7 +6531,7 @@ we(We, "vertexSchema", `
|
|
|
6531
6531
|
fract(pos * 255.0),
|
|
6532
6532
|
floor(pos * 255.0) / 255.0);
|
|
6533
6533
|
}`);
|
|
6534
|
-
const
|
|
6534
|
+
const Zs = {
|
|
6535
6535
|
"000kts": '<svg t="1756203850656" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4213" width="200" height="200"><path d="M729.6 512a217.6 217.6 0 1 0-217.6 217.6v59.733333a277.333333 277.333333 0 1 1 0-554.666666 277.333333 277.333333 0 0 1 0 554.666666v-59.733333a217.6 217.6 0 0 0 217.6-217.6z" fill="#ffffff" p-id="4214"></path><path d="M558.933333 512a46.933333 46.933333 0 1 0-46.933333 46.933333v59.733334a106.666667 106.666667 0 1 1 0-213.333334 106.666667 106.666667 0 0 1 0 213.333334v-59.733334a46.933333 46.933333 0 0 0 46.933333-46.933333z" fill="#ffffff" p-id="4215"></path></svg>',
|
|
6536
6536
|
"002kts": '<svg t="1756203870666" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4371" width="200" height="200"><path d="M511.975255 4.26646a29.865223 29.865223 0 0 1 29.865223 29.865224v897.791273l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684a29.865223 29.865223 0 0 1 29.865224-29.865224z" fill="#ffffff" p-id="4372"></path></svg>',
|
|
6537
6537
|
"005kts": '<svg t="1756203883896" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4528" width="200" height="200"><path d="M511.825979 4.265216a29.856515 29.856515 0 0 1 29.856516 29.856516v102.706413l145.443882-97.673458a29.856515 29.856515 0 0 1 33.268689 49.604468l-174.873877 117.378758c-1.194261 0.853043-2.55913 1.364869-3.838694 2.004652v723.508674l58.1349-46.49086a29.899168 29.899168 0 0 1 37.277993 46.70412l-106.630413 85.30433a29.856515 29.856515 0 0 1-37.277992 0l-106.630412-85.30433a29.856515 29.856515 0 0 1 37.277992-46.661468l58.134901 46.448208V34.121732a29.856515 29.856515 0 0 1 29.856515-29.856516z" fill="#ffffff" p-id="4529"></path></svg>',
|
|
@@ -6555,7 +6555,7 @@ const Bs = {
|
|
|
6555
6555
|
"095kts": '<svg t="1756204086889" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7354" width="200" height="200"><path d="M699.676193 0a29.864228 29.864228 0 0 1 29.864228 29.864228c0 0.426632-0.170653 0.853264-0.170653 1.237232a29.736238 29.736238 0 0 1-13.908197 26.237857l-170.65273 106.743283c-0.93859 0.597285-1.962506 0.981253-2.986423 1.450548v45.222974l146.334716-91.043232a29.864228 29.864228 0 0 1 31.570755 50.683861L541.822418 281.150373V330.213033l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861L541.822418 400.564621v49.105323l146.334716-91.043232a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.710959v49.062659l146.334716-91.000568a29.864228 29.864228 0 1 1 31.570755 50.683861l-177.905471 110.668295v42.577857l73.764642-46.076238a29.864228 29.864228 0 0 1 31.656082 50.683861l-105.378061 65.871954v179.398682l58.064591-46.502868a29.906891 29.906891 0 0 1 37.372948 46.716184l-106.657956 85.326365a29.864228 29.864228 0 0 1-37.372948 0l-106.657956-85.326365a29.864228 29.864228 0 0 1 37.372948-46.673521l58.107254 46.460205V34.130546c0-0.725274 0.12799-1.407885 0.213316-2.133159C482.221952 31.272113 482.093962 30.589502 482.093962 29.864228A29.864228 29.864228 0 0 1 511.95819 0h187.718003z" fill="#ffffff" p-id="7355"></path></svg>',
|
|
6556
6556
|
"100kts": '<svg t="1756204093086" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7511" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.573089 106.746841c-0.981286 0.597304-2.047901 0.981286-3.071851 1.450597v617.058175l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7512"></path></svg>',
|
|
6557
6557
|
"105kts": '<svg t="1756204103259" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7668" width="200" height="200"><path d="M699.699515 0a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238732L568.420526 149.326116H699.699515a29.865223 29.865223 0 0 1 29.865223 29.865223c0 0.426646-0.170658 0.853292-0.170659 1.237274a29.737229 29.737229 0 0 1-13.908661 26.238731l-170.658418 106.746841c-0.938621 0.597304-1.962572 0.981286-2.986522 1.450597v79.356164l146.339593-91.046266a29.865223 29.865223 0 1 1 31.571808 50.68555l-177.911401 110.714649v467.348078l58.151856-46.504419a29.907888 29.907888 0 0 1 37.288864 46.717742l-106.661511 85.329209a29.865223 29.865223 0 0 1-37.288865 0l-106.661511-85.329209a29.865223 29.865223 0 0 1 37.288864-46.675077l58.151856 46.461754V34.131684c0-0.725298 0.127994-1.407932 0.213323-2.133231C482.238025 31.273155 482.110031 30.590521 482.110031 29.865223A29.865223 29.865223 0 0 1 511.975255 0h187.72426z" fill="#ffffff" p-id="7669"></path></svg>'
|
|
6558
|
-
},
|
|
6558
|
+
}, Bs = {
|
|
6559
6559
|
name: "IdmWindBarb",
|
|
6560
6560
|
props: {
|
|
6561
6561
|
map: {
|
|
@@ -6591,7 +6591,7 @@ const Bs = {
|
|
|
6591
6591
|
right: 10,
|
|
6592
6592
|
bottom: 125,
|
|
6593
6593
|
windBarbLoaded: !1,
|
|
6594
|
-
svgs:
|
|
6594
|
+
svgs: Zs
|
|
6595
6595
|
};
|
|
6596
6596
|
},
|
|
6597
6597
|
computed: {
|
|
@@ -6692,7 +6692,7 @@ const Bs = {
|
|
|
6692
6692
|
function Es(e, t, o, i, a, r) {
|
|
6693
6693
|
return null;
|
|
6694
6694
|
}
|
|
6695
|
-
const Os = /* @__PURE__ */ ne(
|
|
6695
|
+
const Os = /* @__PURE__ */ ne(Bs, [["render", Es]]);
|
|
6696
6696
|
const Xs = {
|
|
6697
6697
|
name: "IdmWindParticle",
|
|
6698
6698
|
props: {
|
|
@@ -6863,7 +6863,7 @@ const Xs = {
|
|
|
6863
6863
|
}, js = { key: 0 };
|
|
6864
6864
|
function Vs(e, t, o, i, a, r) {
|
|
6865
6865
|
var l;
|
|
6866
|
-
return (l = o.factor) != null && l.active ? (
|
|
6866
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", js, [
|
|
6867
6867
|
n("div", {
|
|
6868
6868
|
class: "legend-bars-gl4 wind",
|
|
6869
6869
|
style: ue({ right: a.right + "px" })
|
|
@@ -7205,7 +7205,7 @@ const Ks = {
|
|
|
7205
7205
|
}, $s = { key: 0 };
|
|
7206
7206
|
function qs(e, t, o, i, a, r) {
|
|
7207
7207
|
var l;
|
|
7208
|
-
return (l = o.factor) != null && l.active ? (
|
|
7208
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", $s, [
|
|
7209
7209
|
n("div", {
|
|
7210
7210
|
class: "legend-bars-gl4 current",
|
|
7211
7211
|
style: ue({ right: a.right + "px" })
|
|
@@ -7333,7 +7333,7 @@ const ec = {
|
|
|
7333
7333
|
}, tc = { key: 0 };
|
|
7334
7334
|
function oc(e, t, o, i, a, r) {
|
|
7335
7335
|
var l;
|
|
7336
|
-
return (l = o.factor) != null && l.active ? (
|
|
7336
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", tc, [
|
|
7337
7337
|
n("div", {
|
|
7338
7338
|
class: "legend-bars-gl4 sig-wave",
|
|
7339
7339
|
style: ue({ right: a.right + "px" })
|
|
@@ -7600,7 +7600,7 @@ const nc = {
|
|
|
7600
7600
|
}, sc = { key: 0 };
|
|
7601
7601
|
function cc(e, t, o, i, a, r) {
|
|
7602
7602
|
var l;
|
|
7603
|
-
return (l = o.factor) != null && l.active ? (
|
|
7603
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", sc, [
|
|
7604
7604
|
n("div", {
|
|
7605
7605
|
class: "legend-bars-gl4 swell",
|
|
7606
7606
|
style: ue({ right: a.right + "px" })
|
|
@@ -7860,7 +7860,7 @@ const pc = {
|
|
|
7860
7860
|
}, gc = { key: 0 };
|
|
7861
7861
|
function fc(e, t, o, i, a, r) {
|
|
7862
7862
|
var l;
|
|
7863
|
-
return (l = o.factor) != null && l.active ? (
|
|
7863
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", gc, [
|
|
7864
7864
|
n("div", {
|
|
7865
7865
|
class: "legend-bars-gl4 ice-edge",
|
|
7866
7866
|
style: ue({ right: a.right + "px" })
|
|
@@ -7977,7 +7977,7 @@ const bc = {
|
|
|
7977
7977
|
}, wc = { key: 0 };
|
|
7978
7978
|
function xc(e, t, o, i, a, r) {
|
|
7979
7979
|
var l;
|
|
7980
|
-
return (l = o.factor) != null && l.active ? (
|
|
7980
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", wc, [
|
|
7981
7981
|
n("div", {
|
|
7982
7982
|
class: "legend-bars-gl4 ice-cover",
|
|
7983
7983
|
style: ue({ right: a.right + "px" })
|
|
@@ -8095,7 +8095,7 @@ const kc = {
|
|
|
8095
8095
|
}, _c = { key: 0 };
|
|
8096
8096
|
function zc(e, t, o, i, a, r) {
|
|
8097
8097
|
var l;
|
|
8098
|
-
return (l = o.factor) != null && l.active ? (
|
|
8098
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", _c, [
|
|
8099
8099
|
n("div", {
|
|
8100
8100
|
class: "legend-bars-gl4 ice-thickness",
|
|
8101
8101
|
style: ue({ right: a.right + "px" })
|
|
@@ -8215,7 +8215,7 @@ const Pc = {
|
|
|
8215
8215
|
}, Cc = { key: 0 };
|
|
8216
8216
|
function Mc(e, t, o, i, a, r) {
|
|
8217
8217
|
var l;
|
|
8218
|
-
return (l = o.factor) != null && l.active ? (
|
|
8218
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", Cc, [
|
|
8219
8219
|
n("div", {
|
|
8220
8220
|
class: "legend-bars-gl4 precip3h",
|
|
8221
8221
|
style: ue({ right: a.right + "px" })
|
|
@@ -8326,7 +8326,7 @@ const Tc = {
|
|
|
8326
8326
|
}, Rc = { key: 0 };
|
|
8327
8327
|
function Ic(e, t, o, i, a, r) {
|
|
8328
8328
|
var l;
|
|
8329
|
-
return (l = o.factor) != null && l.active ? (
|
|
8329
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", Rc, [
|
|
8330
8330
|
n("div", {
|
|
8331
8331
|
class: "legend-bars-gl4 visibility",
|
|
8332
8332
|
style: ue({ right: a.right + "px" })
|
|
@@ -8438,7 +8438,7 @@ const Ac = {
|
|
|
8438
8438
|
}, Gc = { key: 0 };
|
|
8439
8439
|
function Wc(e, t, o, i, a, r) {
|
|
8440
8440
|
var l;
|
|
8441
|
-
return (l = o.factor) != null && l.active ? (
|
|
8441
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", Gc, [
|
|
8442
8442
|
n("div", {
|
|
8443
8443
|
class: "legend-bars-gl4 water-temp",
|
|
8444
8444
|
style: ue({ right: a.right + "px" })
|
|
@@ -8558,10 +8558,10 @@ const Nc = {
|
|
|
8558
8558
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
8559
8559
|
}
|
|
8560
8560
|
}
|
|
8561
|
-
},
|
|
8562
|
-
function
|
|
8561
|
+
}, Zc = { key: 0 };
|
|
8562
|
+
function Bc(e, t, o, i, a, r) {
|
|
8563
8563
|
var l;
|
|
8564
|
-
return (l = o.factor) != null && l.active ? (
|
|
8564
|
+
return (l = o.factor) != null && l.active ? (P(), I("div", Zc, [
|
|
8565
8565
|
n("div", {
|
|
8566
8566
|
class: "legend-bars-gl4 temp",
|
|
8567
8567
|
style: ue({ right: a.right + "px" })
|
|
@@ -8577,7 +8577,7 @@ function Zc(e, t, o, i, a, r) {
|
|
|
8577
8577
|
]), 4)
|
|
8578
8578
|
])) : N("", !0);
|
|
8579
8579
|
}
|
|
8580
|
-
const Ec = /* @__PURE__ */ ne(Nc, [["render",
|
|
8580
|
+
const Ec = /* @__PURE__ */ ne(Nc, [["render", Bc]]);
|
|
8581
8581
|
const Oc = {
|
|
8582
8582
|
name: "IdmGlLayer",
|
|
8583
8583
|
components: {
|
|
@@ -8939,7 +8939,7 @@ const Oc = {
|
|
|
8939
8939
|
}
|
|
8940
8940
|
this.handleWeatherLayerToggle(), this.handleDrawWeather4Json(), this.$nextTick(() => {
|
|
8941
8941
|
var u, x, v, w, k;
|
|
8942
|
-
(k = (w = (v = (x = (u = this.$parent) == null ? void 0 : u.$refs) == null ? void 0 : x.idmBottomBar) == null ? void 0 : v.$refs) == null ? void 0 : w.capture) == null || k.
|
|
8942
|
+
(k = (w = (v = (x = (u = this.$parent) == null ? void 0 : u.$refs) == null ? void 0 : x.idmBottomBar) == null ? void 0 : v.$refs) == null ? void 0 : w.capture) == null || k.captureCurrentFrame();
|
|
8943
8943
|
});
|
|
8944
8944
|
}
|
|
8945
8945
|
},
|
|
@@ -9286,8 +9286,8 @@ const Oc = {
|
|
|
9286
9286
|
}, im = { class: "text-body-1 py-2" }, rm = { class: "text-body-1 font-weight-medium" }, lm = { class: "text-body-2 text-label" }, nm = { class: "text-body-2 text-label" }, sm = { class: "text-body-2 text-label mb-3" }, cm = { class: "text-body-1 font-weight-medium" }, mm = { class: "text-body-2 text-label" }, dm = { class: "text-body-2 text-label" }, hm = { class: "text-body-2 text-label mb-3" }, um = { class: "text-body-1 py-2" }, pm = { class: "text-body-1 font-weight-medium" }, gm = { class: "text-body-2 text-label" }, fm = { class: "text-body-2 text-label" }, ym = { class: "text-body-2 text-label mb-3" }, bm = { class: "text-body-1 font-weight-medium" }, wm = { class: "text-body-2 text-label" }, xm = { class: "text-body-2 text-label" }, vm = { class: "text-body-2 text-label mb-3" }, km = { class: "text-body-1 py-2" }, _m = { class: "text-body-1 font-weight-medium" }, zm = { class: "text-body-2 text-label" }, Lm = { class: "text-body-2 text-label" }, Pm = { class: "text-body-2 text-label mb-3" };
|
|
9287
9287
|
function Cm(e, t, o, i, a, r) {
|
|
9288
9288
|
var H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe, ve, Me;
|
|
9289
|
-
const l = R("VBtn"), c = R("VTooltip"), s = R("VCol"), d = R("VRow"), m = R("VCardText"), g = R("VDivider"), p = R("VCard"), y = R("VSwitch"), f = R("VBtnToggle"), h = R("VCardTitle"), u = R("VCardItem"), x = R("VCheckbox"), v = R("VRadio"), w = R("IdmWindBarb"), k = R("IdmSigWaveHeight"), S = R("IdmCurrentDirection"), _ = R("IdmPrmsl"), M = R("IdmWindParticle"), T = R("IdmCurrentParticle"), W = R("IdmWave"), F = R("IdmSwell"), E = R("IdmIceEdge"), V = R("IdmIceCover"), J = R("IdmIceThickness"), Q = R("IdmPrecip3h"), ee = R("IdmVisibility"), he = R("IdmWaterTemp"),
|
|
9290
|
-
return
|
|
9289
|
+
const l = R("VBtn"), c = R("VTooltip"), s = R("VCol"), d = R("VRow"), m = R("VCardText"), g = R("VDivider"), p = R("VCard"), y = R("VSwitch"), f = R("VBtnToggle"), h = R("VCardTitle"), u = R("VCardItem"), x = R("VCheckbox"), v = R("VRadio"), w = R("IdmWindBarb"), k = R("IdmSigWaveHeight"), S = R("IdmCurrentDirection"), _ = R("IdmPrmsl"), M = R("IdmWindParticle"), T = R("IdmCurrentParticle"), W = R("IdmWave"), F = R("IdmSwell"), E = R("IdmIceEdge"), V = R("IdmIceCover"), J = R("IdmIceThickness"), Q = R("IdmPrecip3h"), ee = R("IdmVisibility"), he = R("IdmWaterTemp"), D = R("IdmTemp");
|
|
9290
|
+
return P(), I("div", Xc, [
|
|
9291
9291
|
n("div", {
|
|
9292
9292
|
class: "menu-bar-box transition pa-1",
|
|
9293
9293
|
style: ue({ top: o.top + o.paddingTop + 46 + "px", right: a.right + "px" })
|
|
@@ -9300,7 +9300,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9300
9300
|
"open-on-focus": !o.simple,
|
|
9301
9301
|
"open-on-hover": !o.simple
|
|
9302
9302
|
}, {
|
|
9303
|
-
activator:
|
|
9303
|
+
activator: C(({ props: K }) => [
|
|
9304
9304
|
L(l, Y(K, {
|
|
9305
9305
|
"min-width": "32",
|
|
9306
9306
|
width: "32",
|
|
@@ -9308,7 +9308,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9308
9308
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
9309
9309
|
onClick: r.handleMenuToggle
|
|
9310
9310
|
}), {
|
|
9311
|
-
default:
|
|
9311
|
+
default: C(() => t[9] || (t[9] = [
|
|
9312
9312
|
n("i", { class: "iconfont icon-Weather text-h4" }, null, -1)
|
|
9313
9313
|
])),
|
|
9314
9314
|
_: 2,
|
|
@@ -9318,7 +9318,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9318
9318
|
_: 1
|
|
9319
9319
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
9320
9320
|
], 4),
|
|
9321
|
-
r.showTipMenu ? (
|
|
9321
|
+
r.showTipMenu ? (P(), I("div", jc, [
|
|
9322
9322
|
n("div", {
|
|
9323
9323
|
class: _e(["menu-bar-box pa-1 rounded", o.simple ? "simple" : ""]),
|
|
9324
9324
|
style: ue({ right: a.right + "px", top: o.simple ? "354px" : "450px" })
|
|
@@ -9331,7 +9331,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9331
9331
|
"open-on-focus": !o.simple,
|
|
9332
9332
|
"open-on-hover": !o.simple
|
|
9333
9333
|
}, {
|
|
9334
|
-
activator:
|
|
9334
|
+
activator: C(({ props: K }) => [
|
|
9335
9335
|
L(l, Y(K, {
|
|
9336
9336
|
"min-width": "32",
|
|
9337
9337
|
width: "32",
|
|
@@ -9339,7 +9339,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9339
9339
|
class: ["text-none pa-0", a.legendToggle ? "bg-primary active-border" : ""],
|
|
9340
9340
|
onClick: t[0] || (t[0] = (me) => a.legendToggle = !a.legendToggle)
|
|
9341
9341
|
}), {
|
|
9342
|
-
default:
|
|
9342
|
+
default: C(() => t[10] || (t[10] = [
|
|
9343
9343
|
n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
|
|
9344
9344
|
])),
|
|
9345
9345
|
_: 2,
|
|
@@ -9349,27 +9349,27 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9349
9349
|
_: 1
|
|
9350
9350
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
9351
9351
|
], 6),
|
|
9352
|
-
a.legendToggle ? (
|
|
9352
|
+
a.legendToggle ? (P(), B(p, {
|
|
9353
9353
|
key: 0,
|
|
9354
9354
|
elevation: "16",
|
|
9355
9355
|
class: "card-info d-flex justify-center align-start",
|
|
9356
9356
|
style: ue({ position: "absolute", top: o.simple ? "200px" : "340px", right: a.right + 50 + "px" })
|
|
9357
9357
|
}, {
|
|
9358
|
-
default:
|
|
9358
|
+
default: C(() => [
|
|
9359
9359
|
L(m, {
|
|
9360
9360
|
class: "d-flex flex-column justify-center align-start text-label px-2",
|
|
9361
9361
|
style: { width: "110px" }
|
|
9362
9362
|
}, {
|
|
9363
|
-
default:
|
|
9363
|
+
default: C(() => [
|
|
9364
9364
|
t[11] || (t[11] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wind Level", -1)),
|
|
9365
9365
|
L(d, { class: "ma-0 ml-n1 text-body-2" }, {
|
|
9366
|
-
default:
|
|
9367
|
-
(
|
|
9366
|
+
default: C(() => [
|
|
9367
|
+
(P(!0), I(Ie, null, De(a.legend.barbs, (K, me) => (P(), B(s, {
|
|
9368
9368
|
key: K,
|
|
9369
9369
|
cols: "6",
|
|
9370
9370
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
9371
9371
|
}, {
|
|
9372
|
-
default:
|
|
9372
|
+
default: C(() => [
|
|
9373
9373
|
n("div", Vc, [
|
|
9374
9374
|
n("i", {
|
|
9375
9375
|
class: _e(["iconfont", r.barbsIconName[me]]),
|
|
@@ -9392,18 +9392,18 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9392
9392
|
class: "d-flex flex-column justify-center align-start text-label px-2",
|
|
9393
9393
|
style: { width: "100px" }
|
|
9394
9394
|
}, {
|
|
9395
|
-
default:
|
|
9395
|
+
default: C(() => [
|
|
9396
9396
|
t[12] || (t[12] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wave Height", -1)),
|
|
9397
9397
|
L(d, { class: "ma-0" }, {
|
|
9398
|
-
default:
|
|
9399
|
-
(
|
|
9398
|
+
default: C(() => [
|
|
9399
|
+
(P(!0), I(Ie, null, De(a.legend.sigWaveHeight, (K, me) => (P(), B(s, {
|
|
9400
9400
|
key: me,
|
|
9401
9401
|
cols: "12",
|
|
9402
9402
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
9403
9403
|
}, {
|
|
9404
|
-
default:
|
|
9404
|
+
default: C(() => [
|
|
9405
9405
|
n("div", Yc, [
|
|
9406
|
-
me === 0 ? (
|
|
9406
|
+
me === 0 ? (P(), I("div", Uc)) : (P(), I("div", {
|
|
9407
9407
|
key: 1,
|
|
9408
9408
|
style: ue({ width: "24px", height: "12px", background: K.color })
|
|
9409
9409
|
}, null, 4)),
|
|
@@ -9424,16 +9424,16 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9424
9424
|
class: "d-flex flex-column justify-center align-start text-label px-2",
|
|
9425
9425
|
style: { width: "90px" }
|
|
9426
9426
|
}, {
|
|
9427
|
-
default:
|
|
9427
|
+
default: C(() => [
|
|
9428
9428
|
t[13] || (t[13] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Current", -1)),
|
|
9429
9429
|
L(d, { class: "ma-0 ml-n4" }, {
|
|
9430
|
-
default:
|
|
9431
|
-
(
|
|
9430
|
+
default: C(() => [
|
|
9431
|
+
(P(!0), I(Ie, null, De(a.legend.current, (K, me) => (P(), B(s, {
|
|
9432
9432
|
key: me,
|
|
9433
9433
|
cols: "12",
|
|
9434
9434
|
class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
|
|
9435
9435
|
}, {
|
|
9436
|
-
default:
|
|
9436
|
+
default: C(() => [
|
|
9437
9437
|
n("div", Kc, [
|
|
9438
9438
|
n("div", $c, [
|
|
9439
9439
|
n("i", {
|
|
@@ -9483,14 +9483,14 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9483
9483
|
class: "mr-n2",
|
|
9484
9484
|
onClick: r.handleMenuToggle
|
|
9485
9485
|
}, {
|
|
9486
|
-
default:
|
|
9486
|
+
default: C(() => t[14] || (t[14] = [
|
|
9487
9487
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
9488
9488
|
])),
|
|
9489
9489
|
_: 1,
|
|
9490
9490
|
__: [14]
|
|
9491
9491
|
}, 8, ["onClick"])
|
|
9492
9492
|
], 2),
|
|
9493
|
-
o.simple ? (
|
|
9493
|
+
o.simple ? (P(), I("div", tm, [
|
|
9494
9494
|
n("div", null, b(e.$t("weather.forecastModel")), 1),
|
|
9495
9495
|
L(f, {
|
|
9496
9496
|
modelValue: a.currentModel,
|
|
@@ -9500,7 +9500,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9500
9500
|
density: "compact",
|
|
9501
9501
|
group: ""
|
|
9502
9502
|
}, {
|
|
9503
|
-
default:
|
|
9503
|
+
default: C(() => [
|
|
9504
9504
|
L(l, {
|
|
9505
9505
|
density: "compact",
|
|
9506
9506
|
height: "28",
|
|
@@ -9509,7 +9509,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9509
9509
|
color: a.currentModel === "GFS" ? "primary" : "",
|
|
9510
9510
|
"base-color": ""
|
|
9511
9511
|
}, {
|
|
9512
|
-
default:
|
|
9512
|
+
default: C(() => t[15] || (t[15] = [
|
|
9513
9513
|
de("NOAA", -1)
|
|
9514
9514
|
])),
|
|
9515
9515
|
_: 1,
|
|
@@ -9523,7 +9523,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9523
9523
|
"base-color": "",
|
|
9524
9524
|
value: "ECMWF"
|
|
9525
9525
|
}, {
|
|
9526
|
-
default:
|
|
9526
|
+
default: C(() => t[16] || (t[16] = [
|
|
9527
9527
|
de("ECMWF", -1)
|
|
9528
9528
|
])),
|
|
9529
9529
|
_: 1,
|
|
@@ -9540,11 +9540,11 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9540
9540
|
class: "block-bg mx-auto mb-2",
|
|
9541
9541
|
elevation: "0"
|
|
9542
9542
|
}, {
|
|
9543
|
-
default:
|
|
9543
|
+
default: C(() => [
|
|
9544
9544
|
L(u, { class: "border-b-thin" }, {
|
|
9545
|
-
default:
|
|
9545
|
+
default: C(() => [
|
|
9546
9546
|
L(h, { class: "text-h6" }, {
|
|
9547
|
-
default:
|
|
9547
|
+
default: C(() => [
|
|
9548
9548
|
de(b(e.$t("weather.overlays")), 1)
|
|
9549
9549
|
]),
|
|
9550
9550
|
_: 1
|
|
@@ -9553,8 +9553,8 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9553
9553
|
_: 1
|
|
9554
9554
|
}),
|
|
9555
9555
|
L(m, { class: "py-2 mx-n1" }, {
|
|
9556
|
-
default:
|
|
9557
|
-
(
|
|
9556
|
+
default: C(() => [
|
|
9557
|
+
(P(!0), I(Ie, null, De(a.tagLayers.filter((K) => K.overlays), (K) => (P(), B(x, {
|
|
9558
9558
|
key: K.key,
|
|
9559
9559
|
modelValue: a.checkList,
|
|
9560
9560
|
"onUpdate:modelValue": t[3] || (t[3] = (me) => a.checkList = me),
|
|
@@ -9577,11 +9577,11 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9577
9577
|
class: "block-bg mx-auto mb-2",
|
|
9578
9578
|
elevation: "0"
|
|
9579
9579
|
}, {
|
|
9580
|
-
default:
|
|
9580
|
+
default: C(() => [
|
|
9581
9581
|
L(u, { class: "border-b-thin" }, {
|
|
9582
|
-
default:
|
|
9582
|
+
default: C(() => [
|
|
9583
9583
|
L(h, { class: "text-h6" }, {
|
|
9584
|
-
default:
|
|
9584
|
+
default: C(() => [
|
|
9585
9585
|
de(b(e.$t("weather.renders")), 1)
|
|
9586
9586
|
]),
|
|
9587
9587
|
_: 1
|
|
@@ -9590,8 +9590,8 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9590
9590
|
_: 1
|
|
9591
9591
|
}),
|
|
9592
9592
|
L(m, { class: "py-2 mx-n1" }, {
|
|
9593
|
-
default:
|
|
9594
|
-
(
|
|
9593
|
+
default: C(() => [
|
|
9594
|
+
(P(!0), I(Ie, null, De(a.tagLayers.filter((K) => !K.overlays), (K) => (P(), I(Ie, {
|
|
9595
9595
|
key: K.key
|
|
9596
9596
|
}, [
|
|
9597
9597
|
L(v, {
|
|
@@ -9607,7 +9607,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9607
9607
|
"hide-details": "",
|
|
9608
9608
|
onClick: (me) => a.renderKey = a.renderKey === K.key ? "" : K.key
|
|
9609
9609
|
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
|
|
9610
|
-
a.renderKey === "wind-particle" && K.key === "wind-particle" ? (
|
|
9610
|
+
a.renderKey === "wind-particle" && K.key === "wind-particle" ? (P(), I("div", om, [
|
|
9611
9611
|
n("span", null, b(e.$t("weather.particleAnimatiom")), 1),
|
|
9612
9612
|
L(y, {
|
|
9613
9613
|
modelValue: a.showWindParticle,
|
|
@@ -9622,7 +9622,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9622
9622
|
"hide-details": ""
|
|
9623
9623
|
}, null, 8, ["modelValue"])
|
|
9624
9624
|
])) : N("", !0),
|
|
9625
|
-
a.renderKey === "current-particle" && K.key === "current-particle" ? (
|
|
9625
|
+
a.renderKey === "current-particle" && K.key === "current-particle" ? (P(), I("div", am, [
|
|
9626
9626
|
n("span", null, b(e.$t("weather.particleAnimatiom")), 1),
|
|
9627
9627
|
L(y, {
|
|
9628
9628
|
modelValue: a.showCurrentParticle,
|
|
@@ -9637,7 +9637,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9637
9637
|
"hide-details": ""
|
|
9638
9638
|
}, null, 8, ["modelValue"])
|
|
9639
9639
|
])) : N("", !0),
|
|
9640
|
-
a.renderKey === "wave-group" && K.key === "wave-group" ? (
|
|
9640
|
+
a.renderKey === "wave-group" && K.key === "wave-group" ? (P(), B(f, {
|
|
9641
9641
|
key: 2,
|
|
9642
9642
|
modelValue: a.waveToggleValue,
|
|
9643
9643
|
"onUpdate:modelValue": t[7] || (t[7] = (me) => a.waveToggleValue = me),
|
|
@@ -9648,7 +9648,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9648
9648
|
group: "",
|
|
9649
9649
|
disabled: !a.autoActive
|
|
9650
9650
|
}, {
|
|
9651
|
-
default:
|
|
9651
|
+
default: C(() => [
|
|
9652
9652
|
L(l, {
|
|
9653
9653
|
density: "compact",
|
|
9654
9654
|
height: "30",
|
|
@@ -9658,7 +9658,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9658
9658
|
"base-color": "grey-lighten-1",
|
|
9659
9659
|
disabled: !a.autoActive
|
|
9660
9660
|
}, {
|
|
9661
|
-
default:
|
|
9661
|
+
default: C(() => [
|
|
9662
9662
|
de(b(e.$t("weather.significant")), 1)
|
|
9663
9663
|
]),
|
|
9664
9664
|
_: 1
|
|
@@ -9672,7 +9672,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9672
9672
|
disabled: !a.autoActive,
|
|
9673
9673
|
value: "swell"
|
|
9674
9674
|
}, {
|
|
9675
|
-
default:
|
|
9675
|
+
default: C(() => [
|
|
9676
9676
|
de(b(e.$t("weather.swell")), 1)
|
|
9677
9677
|
]),
|
|
9678
9678
|
_: 1
|
|
@@ -9680,7 +9680,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9680
9680
|
]),
|
|
9681
9681
|
_: 1
|
|
9682
9682
|
}, 8, ["modelValue", "disabled"])) : N("", !0),
|
|
9683
|
-
a.renderKey === "ice-forecast" && K.key === "ice-forecast" ? (
|
|
9683
|
+
a.renderKey === "ice-forecast" && K.key === "ice-forecast" ? (P(), B(f, {
|
|
9684
9684
|
key: 3,
|
|
9685
9685
|
modelValue: a.iceToggleValue,
|
|
9686
9686
|
"onUpdate:modelValue": t[8] || (t[8] = (me) => a.iceToggleValue = me),
|
|
@@ -9691,7 +9691,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9691
9691
|
group: "",
|
|
9692
9692
|
disabled: !a.autoActive
|
|
9693
9693
|
}, {
|
|
9694
|
-
default:
|
|
9694
|
+
default: C(() => [
|
|
9695
9695
|
L(l, {
|
|
9696
9696
|
density: "compact",
|
|
9697
9697
|
height: "30",
|
|
@@ -9701,7 +9701,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9701
9701
|
"base-color": "grey-lighten-1",
|
|
9702
9702
|
disabled: !a.autoActive
|
|
9703
9703
|
}, {
|
|
9704
|
-
default:
|
|
9704
|
+
default: C(() => [
|
|
9705
9705
|
de(b(e.$t("weather.coverage")), 1)
|
|
9706
9706
|
]),
|
|
9707
9707
|
_: 1
|
|
@@ -9715,7 +9715,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9715
9715
|
disabled: !a.autoActive,
|
|
9716
9716
|
value: "ice-thickness"
|
|
9717
9717
|
}, {
|
|
9718
|
-
default:
|
|
9718
|
+
default: C(() => [
|
|
9719
9719
|
de(b(e.$t("weather.thickness")), 1)
|
|
9720
9720
|
]),
|
|
9721
9721
|
_: 1
|
|
@@ -9734,11 +9734,11 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9734
9734
|
class: "block-bg mx-auto mb-2",
|
|
9735
9735
|
elevation: "0"
|
|
9736
9736
|
}, {
|
|
9737
|
-
default:
|
|
9737
|
+
default: C(() => [
|
|
9738
9738
|
L(u, { class: "border-b-thin" }, {
|
|
9739
|
-
default:
|
|
9739
|
+
default: C(() => [
|
|
9740
9740
|
L(h, { class: "text-h6" }, {
|
|
9741
|
-
default:
|
|
9741
|
+
default: C(() => [
|
|
9742
9742
|
de(b(e.$t("weather.forecastModel")), 1)
|
|
9743
9743
|
]),
|
|
9744
9744
|
_: 1
|
|
@@ -9747,15 +9747,15 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9747
9747
|
_: 1
|
|
9748
9748
|
}),
|
|
9749
9749
|
L(m, { class: "" }, {
|
|
9750
|
-
default:
|
|
9751
|
-
var K, me, je, Ne, Le, Te, oe, Pe, pe, ye,
|
|
9750
|
+
default: C(() => {
|
|
9751
|
+
var K, me, je, Ne, Le, Te, oe, Pe, pe, ye, Be, He, Ve, j, be, Re, Ee, Oe, q, Ze, re, tt, ot, at, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Zt, Bt, Et, Ot, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo;
|
|
9752
9752
|
return [
|
|
9753
9753
|
n("div", im, b(e.$t("weather.atmospheric")), 1),
|
|
9754
9754
|
n("div", rm, b((je = (me = (K = a.models) == null ? void 0 : K.weather) == null ? void 0 : me.NOAA) == null ? void 0 : je.source) + " " + b((Te = (Le = (Ne = a.models) == null ? void 0 : Ne.weather) == null ? void 0 : Le.NOAA) == null ? void 0 : Te.spatialResolution) + b(e.$t("units.km")) + " " + b((ye = (pe = (Pe = (oe = a.models) == null ? void 0 : oe.weather) == null ? void 0 : Pe.NOAA) == null ? void 0 : pe.meta) == null ? void 0 : ye.days) + b(e.$t("units.days")), 1),
|
|
9755
9755
|
n("div", lm, b(e.$t("weather.source")) + ": NOAA", 1),
|
|
9756
|
-
n("div", nm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((j = (Ve = (He = (
|
|
9756
|
+
n("div", nm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((j = (Ve = (He = (Be = a.models) == null ? void 0 : Be.weather) == null ? void 0 : He.NOAA) == null ? void 0 : Ve.meta) == null ? void 0 : j.availabilityTime)), 1),
|
|
9757
9757
|
n("div", sm, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((Oe = (Ee = (Re = (be = a.models) == null ? void 0 : be.weather) == null ? void 0 : Re.NOAA) == null ? void 0 : Ee.meta) == null ? void 0 : Oe.initialisationTime)), 1),
|
|
9758
|
-
n("div", cm, b((re = (
|
|
9758
|
+
n("div", cm, b((re = (Ze = (q = a.models) == null ? void 0 : q.weather) == null ? void 0 : Ze.ECMWF) == null ? void 0 : re.source) + " " + b((at = (ot = (tt = a.models) == null ? void 0 : tt.weather) == null ? void 0 : ot.ECMWF) == null ? void 0 : at.spatialResolution) + b(e.$t("units.km")) + " " + b((dt = (mt = (ct = (Ge = a.models) == null ? void 0 : Ge.weather) == null ? void 0 : ct.ECMWF) == null ? void 0 : mt.meta) == null ? void 0 : dt.days) + b(e.$t("units.days")), 1),
|
|
9759
9759
|
n("div", mm, b(e.$t("weather.source")) + ": ECMWF", 1),
|
|
9760
9760
|
n("div", dm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((gt = (pt = (ut = (ht = a.models) == null ? void 0 : ht.weather) == null ? void 0 : ut.ECMWF) == null ? void 0 : pt.meta) == null ? void 0 : gt.availabilityTime)), 1),
|
|
9761
9761
|
n("div", hm, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((wt = (bt = (yt = (ft = a.models) == null ? void 0 : ft.weather) == null ? void 0 : yt.ECMWF) == null ? void 0 : bt.meta) == null ? void 0 : wt.initialisationTime)), 1),
|
|
@@ -9764,7 +9764,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9764
9764
|
n("div", pm, b((_t = (kt = (vt = (xt = a.models) == null ? void 0 : xt.marine) == null ? void 0 : vt.wave) == null ? void 0 : kt.NOAA) == null ? void 0 : _t.source) + " " + b((Ct = (Pt = (Lt = (zt = a.models) == null ? void 0 : zt.marine) == null ? void 0 : Lt.wave) == null ? void 0 : Pt.NOAA) == null ? void 0 : Ct.spatialResolution) + b(e.$t("units.km")) + " " + b((It = (Rt = (Tt = (St = (Mt = a.models) == null ? void 0 : Mt.marine) == null ? void 0 : St.wave) == null ? void 0 : Tt.NOAA) == null ? void 0 : Rt.meta) == null ? void 0 : It.days) + b(e.$t("units.days")), 1),
|
|
9765
9765
|
n("div", gm, b(e.$t("weather.source")) + ": NOAA", 1),
|
|
9766
9766
|
n("div", fm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((Ft = (Wt = (Gt = (At = (Dt = a.models) == null ? void 0 : Dt.marine) == null ? void 0 : At.wave) == null ? void 0 : Gt.NOAA) == null ? void 0 : Wt.meta) == null ? void 0 : Ft.availabilityTime)), 1),
|
|
9767
|
-
n("div", ym, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((Ot = (Et = (
|
|
9767
|
+
n("div", ym, b(e.$t("weather.referenceTime")) + ": " + b(r.computeDateZ((Ot = (Et = (Bt = (Zt = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Zt.wave) == null ? void 0 : Bt.NOAA) == null ? void 0 : Et.meta) == null ? void 0 : Ot.initialisationTime)), 1),
|
|
9768
9768
|
n("div", bm, b((Ht = (Vt = (jt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : jt.wave) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Ht.source) + " " + b((Kt = (Jt = (Ut = (Yt = a.models) == null ? void 0 : Yt.marine) == null ? void 0 : Ut.wave) == null ? void 0 : Jt.ECMWF) == null ? void 0 : Kt.spatialResolution) + b(e.$t("units.km")) + " " + b((oo = (to = (eo = (Qt = (qt = a.models) == null ? void 0 : qt.marine) == null ? void 0 : Qt.wave) == null ? void 0 : eo.ECMWF) == null ? void 0 : to.meta) == null ? void 0 : oo.days) + b(e.$t("units.days")), 1),
|
|
9769
9769
|
n("div", wm, b(e.$t("weather.source")) + ": ECMWF", 1),
|
|
9770
9770
|
n("div", xm, b(e.$t("weather.lastUpdate")) + ": " + b(r.computeDateUpdate((no = (lo = (ro = (io = (ao = a.models) == null ? void 0 : ao.marine) == null ? void 0 : io.wave) == null ? void 0 : ro.ECMWF) == null ? void 0 : lo.meta) == null ? void 0 : no.availabilityTime)), 1),
|
|
@@ -9784,7 +9784,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9784
9784
|
})
|
|
9785
9785
|
], 2)
|
|
9786
9786
|
], 6),
|
|
9787
|
-
o.map ? (
|
|
9787
|
+
o.map ? (P(), B(w, Y({
|
|
9788
9788
|
key: 1,
|
|
9789
9789
|
ref: "windBarb",
|
|
9790
9790
|
map: o.map,
|
|
@@ -9793,7 +9793,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9793
9793
|
wind: (H = a.weatherLayers) == null ? void 0 : H.wind,
|
|
9794
9794
|
"menu-toggle": o.menuToggle
|
|
9795
9795
|
}, e.$attrs), null, 16, ["map", "map-feather", "wind", "menu-toggle"])) : N("", !0),
|
|
9796
|
-
o.map ? (
|
|
9796
|
+
o.map ? (P(), B(k, Y({
|
|
9797
9797
|
key: 2,
|
|
9798
9798
|
map: o.map,
|
|
9799
9799
|
"before-layer": "empty-layer-2",
|
|
@@ -9801,7 +9801,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9801
9801
|
"menu-toggle": o.menuToggle,
|
|
9802
9802
|
"active-weather-layers": a.activeWeatherLayers
|
|
9803
9803
|
}, e.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : N("", !0),
|
|
9804
|
-
o.map ? (
|
|
9804
|
+
o.map ? (P(), B(S, Y({
|
|
9805
9805
|
key: 3,
|
|
9806
9806
|
map: o.map,
|
|
9807
9807
|
"map-feather": o.mapFeather,
|
|
@@ -9809,7 +9809,7 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9809
9809
|
current: (te = a.weatherLayers) == null ? void 0 : te.current,
|
|
9810
9810
|
"menu-toggle": o.menuToggle
|
|
9811
9811
|
}, e.$attrs), null, 16, ["map", "map-feather", "current", "menu-toggle"])) : N("", !0),
|
|
9812
|
-
o.map ? (
|
|
9812
|
+
o.map ? (P(), B(_, Y({
|
|
9813
9813
|
key: 4,
|
|
9814
9814
|
map: o.map,
|
|
9815
9815
|
"before-layer": "empty-layer-3",
|
|
@@ -9817,28 +9817,28 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9817
9817
|
"menu-toggle": o.menuToggle,
|
|
9818
9818
|
"active-weather-layers": a.activeWeatherLayers
|
|
9819
9819
|
}, e.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : N("", !0),
|
|
9820
|
-
o.map ? (
|
|
9820
|
+
o.map ? (P(), B(M, Y({
|
|
9821
9821
|
key: 5,
|
|
9822
9822
|
viewport: a.viewport,
|
|
9823
9823
|
factor: (O = a.weatherLayers) == null ? void 0 : O["wind-particle"],
|
|
9824
9824
|
"menu-toggle": o.menuToggle,
|
|
9825
9825
|
simple: o.simple
|
|
9826
9826
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9827
|
-
o.map ? (
|
|
9827
|
+
o.map ? (P(), B(T, Y({
|
|
9828
9828
|
key: 6,
|
|
9829
9829
|
viewport: a.viewport,
|
|
9830
9830
|
factor: ($ = a.weatherLayers) == null ? void 0 : $["current-particle"],
|
|
9831
9831
|
"menu-toggle": o.menuToggle,
|
|
9832
9832
|
simple: o.simple
|
|
9833
9833
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9834
|
-
o.map ? (
|
|
9834
|
+
o.map ? (P(), B(W, Y({
|
|
9835
9835
|
key: 7,
|
|
9836
9836
|
viewport: a.viewport,
|
|
9837
9837
|
factor: (A = a.weatherLayers) == null ? void 0 : A["sig-wave"],
|
|
9838
9838
|
"menu-toggle": o.menuToggle,
|
|
9839
9839
|
simple: o.simple
|
|
9840
9840
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9841
|
-
o.map ? (
|
|
9841
|
+
o.map ? (P(), B(F, Y({
|
|
9842
9842
|
key: 8,
|
|
9843
9843
|
map: o.map,
|
|
9844
9844
|
viewport: a.viewport,
|
|
@@ -9847,49 +9847,49 @@ function Cm(e, t, o, i, a, r) {
|
|
|
9847
9847
|
"active-weather-layers": a.activeWeatherLayers,
|
|
9848
9848
|
simple: o.simple
|
|
9849
9849
|
}, e.$attrs), null, 16, ["map", "viewport", "factor", "menu-toggle", "active-weather-layers", "simple"])) : N("", !0),
|
|
9850
|
-
o.map ? (
|
|
9850
|
+
o.map ? (P(), B(E, Y({
|
|
9851
9851
|
key: 9,
|
|
9852
9852
|
viewport: a.viewport,
|
|
9853
9853
|
factor: (ge = a.weatherLayers) == null ? void 0 : ge["ice-edge"],
|
|
9854
9854
|
"menu-toggle": o.menuToggle,
|
|
9855
9855
|
simple: o.simple
|
|
9856
9856
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9857
|
-
o.map ? (
|
|
9857
|
+
o.map ? (P(), B(V, Y({
|
|
9858
9858
|
key: 10,
|
|
9859
9859
|
viewport: a.viewport,
|
|
9860
9860
|
factor: (xe = a.weatherLayers) == null ? void 0 : xe["ice-cover"],
|
|
9861
9861
|
"menu-toggle": o.menuToggle,
|
|
9862
9862
|
simple: o.simple
|
|
9863
9863
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9864
|
-
o.map ? (
|
|
9864
|
+
o.map ? (P(), B(J, Y({
|
|
9865
9865
|
key: 11,
|
|
9866
9866
|
viewport: a.viewport,
|
|
9867
9867
|
factor: (ke = a.weatherLayers) == null ? void 0 : ke["ice-thickness"],
|
|
9868
9868
|
"menu-toggle": o.menuToggle,
|
|
9869
9869
|
simple: o.simple
|
|
9870
9870
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9871
|
-
o.map ? (
|
|
9871
|
+
o.map ? (P(), B(Q, Y({
|
|
9872
9872
|
key: 12,
|
|
9873
9873
|
viewport: a.viewport,
|
|
9874
9874
|
factor: (se = a.weatherLayers) == null ? void 0 : se.precip3h,
|
|
9875
9875
|
"menu-toggle": o.menuToggle,
|
|
9876
9876
|
simple: o.simple
|
|
9877
9877
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9878
|
-
o.map ? (
|
|
9878
|
+
o.map ? (P(), B(ee, Y({
|
|
9879
9879
|
key: 13,
|
|
9880
9880
|
viewport: a.viewport,
|
|
9881
9881
|
factor: (fe = a.weatherLayers) == null ? void 0 : fe.visibility,
|
|
9882
9882
|
"menu-toggle": o.menuToggle,
|
|
9883
9883
|
simple: o.simple
|
|
9884
9884
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9885
|
-
o.map ? (
|
|
9885
|
+
o.map ? (P(), B(he, Y({
|
|
9886
9886
|
key: 14,
|
|
9887
9887
|
viewport: a.viewport,
|
|
9888
9888
|
factor: (ve = a.weatherLayers) == null ? void 0 : ve["water-temp"],
|
|
9889
9889
|
"menu-toggle": o.menuToggle,
|
|
9890
9890
|
simple: o.simple
|
|
9891
9891
|
}, e.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9892
|
-
o.map ? (
|
|
9892
|
+
o.map ? (P(), B(D, Y({
|
|
9893
9893
|
key: 15,
|
|
9894
9894
|
viewport: a.viewport,
|
|
9895
9895
|
factor: (Me = a.weatherLayers) == null ? void 0 : Me.temp,
|
|
@@ -10245,15 +10245,15 @@ let Di = class {
|
|
|
10245
10245
|
}), a;
|
|
10246
10246
|
}
|
|
10247
10247
|
static pickHourly(t, o) {
|
|
10248
|
-
var i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he,
|
|
10249
|
-
const oe = typeof o == "string" ? G(o) : o, Pe = t == null ? void 0 : t.weather, pe = t == null ? void 0 : t.marine, ye = G((a = (i = Pe == null ? void 0 : Pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(),
|
|
10250
|
-
if (oe.isBetween(
|
|
10251
|
-
const j = oe.utc().diff(
|
|
10248
|
+
var i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe, ve, Me, K, me, je, Ne, Le, Te;
|
|
10249
|
+
const oe = typeof o == "string" ? G(o) : o, Pe = t == null ? void 0 : t.weather, pe = t == null ? void 0 : t.marine, ye = G((a = (i = Pe == null ? void 0 : Pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), Be = ye.clone().add((c = (l = (r = Pe == null ? void 0 : Pe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), He = ye.clone().add((m = (d = (s = Pe == null ? void 0 : Pe[0]) == null ? void 0 : s.hourly) == null ? void 0 : d.time) == null ? void 0 : m.at(-1), "h"), Ve = [];
|
|
10250
|
+
if (oe.isBetween(Be, He, "millisecond", "[]")) {
|
|
10251
|
+
const j = oe.utc().diff(Be, "h", !1);
|
|
10252
10252
|
let be, Re;
|
|
10253
10253
|
if (Pe) {
|
|
10254
10254
|
let Ee = 0, Oe = 0, q = 0;
|
|
10255
|
-
for (const
|
|
10256
|
-
const re =
|
|
10255
|
+
for (const Ze of Pe) {
|
|
10256
|
+
const re = Ze == null ? void 0 : Ze.hourly;
|
|
10257
10257
|
for (let Ge = j - (j - 1) % 3; Ge <= j; Ge++)
|
|
10258
10258
|
Ee += (g = re == null ? void 0 : re.precipitation) == null ? void 0 : g.at(Ge);
|
|
10259
10259
|
for (let Ge = j - (j - 1) % 6; Ge <= j; Ge++)
|
|
@@ -10288,8 +10288,8 @@ let Di = class {
|
|
|
10288
10288
|
};
|
|
10289
10289
|
const { name: tt, url: ot, bg: at } = this.parseWeatherCode(be.code, be.isDay);
|
|
10290
10290
|
be.name = tt, be.url = ot, be.bg = at, be.wind.scale = this.beaufort(this.kts2ms(be.wind.kts)), be.wind.direction = this.degree2Direction(be.wind.degree), Ve.push({
|
|
10291
|
-
utc:
|
|
10292
|
-
model:
|
|
10291
|
+
utc: Be.add(j, "h").format(),
|
|
10292
|
+
model: Ze.model,
|
|
10293
10293
|
weather: { ...be }
|
|
10294
10294
|
});
|
|
10295
10295
|
}
|
|
@@ -10302,7 +10302,7 @@ let Di = class {
|
|
|
10302
10302
|
wave: {
|
|
10303
10303
|
sig: {
|
|
10304
10304
|
height: (he = q == null ? void 0 : q.wave_height) == null ? void 0 : he.at(j),
|
|
10305
|
-
degree: (
|
|
10305
|
+
degree: (D = q == null ? void 0 : q.wave_direction) == null ? void 0 : D.at(j),
|
|
10306
10306
|
bearing: ((H = q == null ? void 0 : q.wave_direction) == null ? void 0 : H.at(j)) !== null ? (((U = q == null ? void 0 : q.wave_direction) == null ? void 0 : U.at(j)) + 180) % 360 : null,
|
|
10307
10307
|
period: (te = q == null ? void 0 : q.wave_period) == null ? void 0 : te.at(j)
|
|
10308
10308
|
},
|
|
@@ -10358,7 +10358,7 @@ let Di = class {
|
|
|
10358
10358
|
};
|
|
10359
10359
|
}
|
|
10360
10360
|
static pickDaily(t, o) {
|
|
10361
|
-
var i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he,
|
|
10361
|
+
var i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe;
|
|
10362
10362
|
const ve = typeof o == "string" ? G(o) : o, Me = t == null ? void 0 : t.weather, K = t == null ? void 0 : t.marine, me = G((r = (a = (i = Me == null ? void 0 : Me[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = G((s = (c = (l = Me == null ? void 0 : Me[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), Ne = [];
|
|
10363
10363
|
if (ve.isBetween(me, je, "millisecond", "[]")) {
|
|
10364
10364
|
let Le, Te;
|
|
@@ -10398,8 +10398,8 @@ let Di = class {
|
|
|
10398
10398
|
bearing: ((V = pe.wind_direction_10m_dominant) == null ? void 0 : V.at(oe)) !== null ? (((J = pe.wind_direction_10m_dominant) == null ? void 0 : J.at(oe)) + 180) % 360 : null
|
|
10399
10399
|
}
|
|
10400
10400
|
};
|
|
10401
|
-
const { name: ye, url:
|
|
10402
|
-
Le.name = ye, Le.url =
|
|
10401
|
+
const { name: ye, url: Be, bg: He } = this.parseWeatherCode(Le.code, !0);
|
|
10402
|
+
Le.name = ye, Le.url = Be, Le.bg = He, Le.wind.scale = this.beaufort(this.kts2ms(Le.wind.kts)), Le.wind.direction = this.degree2Direction(Le.wind.degree), Ne.push({
|
|
10403
10403
|
utc: me.add(oe, "d").utc().format(),
|
|
10404
10404
|
model: Pe.model,
|
|
10405
10405
|
weather: { ...Le }
|
|
@@ -10415,7 +10415,7 @@ let Di = class {
|
|
|
10415
10415
|
height: (Q = ye.wave_height_max) == null ? void 0 : Q.at(oe),
|
|
10416
10416
|
degree: (ee = ye.wave_direction_dominant) == null ? void 0 : ee.at(oe),
|
|
10417
10417
|
period: (he = ye.wave_period_max) == null ? void 0 : he.at(oe),
|
|
10418
|
-
bearing: ((
|
|
10418
|
+
bearing: ((D = ye.wave_direction_dominant) == null ? void 0 : D.at(oe)) !== null ? (((H = ye.wave_direction_dominant) == null ? void 0 : H.at(oe)) + 180) % 360 : null
|
|
10419
10419
|
},
|
|
10420
10420
|
swell: {
|
|
10421
10421
|
height: (U = ye.swell_wave_height_max) == null ? void 0 : U.at(oe),
|
|
@@ -11320,7 +11320,7 @@ const Sm = {
|
|
|
11320
11320
|
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), (e = this.interpolateMarkers) == null || e.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (t = this.map) == null || t.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
|
|
11321
11321
|
},
|
|
11322
11322
|
handleDateChange() {
|
|
11323
|
-
var e, t, o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he,
|
|
11323
|
+
var e, t, o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H;
|
|
11324
11324
|
if ((e = this.interpolateMarkers) == null || e.forEach((U) => U == null ? void 0 : U.remove()), (t = this.interpolateData) != null && t.length && this.tropicals.active) {
|
|
11325
11325
|
const U = G(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), te = this.interpolateData.filter((A) => A.properties.date === (U == null ? void 0 : U.format()) && !A.properties.disabled), X = this.handleComputePolygons(te), O = ae.featureCollection([...te]);
|
|
11326
11326
|
X.forEach((A) => {
|
|
@@ -11383,7 +11383,7 @@ const Sm = {
|
|
|
11383
11383
|
}
|
|
11384
11384
|
this.$emit("tropicalCenterPoints", $);
|
|
11385
11385
|
} else
|
|
11386
|
-
(
|
|
11386
|
+
(D = this.map) != null && D.getSource(this.interpolateSource) && ((H = this.map) == null || H.getSource(this.interpolateSource).setData(this.empty));
|
|
11387
11387
|
},
|
|
11388
11388
|
handleClick(e) {
|
|
11389
11389
|
var a, r, l, c, s, d, m, g, p, y, f;
|
|
@@ -11521,7 +11521,7 @@ const Sm = {
|
|
|
11521
11521
|
}, Tm = { class: "idm-tropical-gl4" }, Rm = { class: "pb-1" }, Im = { class: "text-h5 font-weight-600" }, Dm = {
|
|
11522
11522
|
key: 0,
|
|
11523
11523
|
class: "text-h5 font-weight-600"
|
|
11524
|
-
}, Am = { class: "text-body-1" }, Gm = { class: "text-label" }, Wm = { class: "d-flex justify-space-between align-center" }, Fm = { class: "w-60" }, Nm = { class: "text-label pr-1" },
|
|
11524
|
+
}, Am = { class: "text-body-1" }, Gm = { class: "text-label" }, Wm = { class: "d-flex justify-space-between align-center" }, Fm = { class: "w-60" }, Nm = { class: "text-label pr-1" }, Zm = { class: "flex-1-1-0" }, Bm = { class: "text-label pr-1" }, Em = { class: "py-2 d-flex justify-space-between align-center" }, Om = { class: "w-60" }, Xm = { class: "text-label pr-1" }, jm = { class: "flex-1-1-0" }, Vm = { class: "text-label pr-1" }, Hm = { class: "d-flex align-center flex-1-1-100 justify-space-between mt-n1" }, Ym = {
|
|
11525
11525
|
class: "text-label pr-1",
|
|
11526
11526
|
style: { width: "70px" }
|
|
11527
11527
|
}, Um = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, Jm = { class: "more" }, Km = {
|
|
@@ -11531,7 +11531,7 @@ const Sm = {
|
|
|
11531
11531
|
key: 1,
|
|
11532
11532
|
class: "my-3 w-100",
|
|
11533
11533
|
style: { height: "80px" }
|
|
11534
|
-
}, xd = { class: "legend d-flex justify-start align-center" }, vd = { class: "label" }, kd = { class: "legend d-flex justify-start align-center" }, _d = { class: "label" }, zd = { class: "legend d-flex justify-start align-center" }, Ld = { class: "label" }, Pd = { class: "legend d-flex justify-start align-center" }, Cd = { class: "label" }, Md = { class: "legend d-flex justify-start align-center" }, Sd = { class: "label" }, Td = { class: "legend d-flex justify-start align-center" }, Rd = { class: "label" }, Id = { class: "legend d-flex justify-start align-center" }, Dd = { class: "label" }, Ad = { class: "legend d-flex justify-start align-center" }, Gd = { class: "label" }, Wd = { class: "legend d-flex justify-start align-center" }, Fd = { class: "label" }, Nd = { class: "legend d-flex justify-start align-center" },
|
|
11534
|
+
}, xd = { class: "legend d-flex justify-start align-center" }, vd = { class: "label" }, kd = { class: "legend d-flex justify-start align-center" }, _d = { class: "label" }, zd = { class: "legend d-flex justify-start align-center" }, Ld = { class: "label" }, Pd = { class: "legend d-flex justify-start align-center" }, Cd = { class: "label" }, Md = { class: "legend d-flex justify-start align-center" }, Sd = { class: "label" }, Td = { class: "legend d-flex justify-start align-center" }, Rd = { class: "label" }, Id = { class: "legend d-flex justify-start align-center" }, Dd = { class: "label" }, Ad = { class: "legend d-flex justify-start align-center" }, Gd = { class: "label" }, Wd = { class: "legend d-flex justify-start align-center" }, Fd = { class: "label" }, Nd = { class: "legend d-flex justify-start align-center" }, Zd = { class: "label" }, Bd = { class: "d-flex justify-star align-center" }, Ed = { class: "font-weight-600 mr-1" }, Od = { class: "" }, Xd = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, jd = {
|
|
11535
11535
|
key: 0,
|
|
11536
11536
|
class: "d-flex justify-start align-center"
|
|
11537
11537
|
}, Vd = { class: "text-label pr-1" }, Hd = {
|
|
@@ -11558,7 +11558,7 @@ const Sm = {
|
|
|
11558
11558
|
}, nh = { class: "text-label pr-1" }, sh = { class: "d-flex justify-start align-center" }, ch = { class: "text-label pr-1" };
|
|
11559
11559
|
function mh(e, t, o, i, a, r) {
|
|
11560
11560
|
const l = R("VBtn"), c = R("VTooltip"), s = R("VCardText"), d = R("VDivider"), m = R("VCardActions"), g = R("VCard"), p = R("v-card-title"), y = R("v-divider");
|
|
11561
|
-
return
|
|
11561
|
+
return P(), I("div", Tm, [
|
|
11562
11562
|
n("div", {
|
|
11563
11563
|
class: "menu-bar-box transition pa-1",
|
|
11564
11564
|
style: ue({ top: o.top + o.paddingTop + 86 + "px", right: a.right + "px" })
|
|
@@ -11571,7 +11571,7 @@ function mh(e, t, o, i, a, r) {
|
|
|
11571
11571
|
"open-on-focus": !o.simple,
|
|
11572
11572
|
"open-on-hover": !o.simple
|
|
11573
11573
|
}, {
|
|
11574
|
-
activator:
|
|
11574
|
+
activator: C(({ props: f }) => [
|
|
11575
11575
|
L(l, Y(f, {
|
|
11576
11576
|
"min-width": "32",
|
|
11577
11577
|
width: "32",
|
|
@@ -11579,7 +11579,7 @@ function mh(e, t, o, i, a, r) {
|
|
|
11579
11579
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
11580
11580
|
onClick: r.handleMenuToggle
|
|
11581
11581
|
}), {
|
|
11582
|
-
default:
|
|
11582
|
+
default: C(() => t[3] || (t[3] = [
|
|
11583
11583
|
n("i", { class: "iconfont icon-Tropical text-h4" }, null, -1)
|
|
11584
11584
|
])),
|
|
11585
11585
|
_: 2,
|
|
@@ -11589,7 +11589,7 @@ function mh(e, t, o, i, a, r) {
|
|
|
11589
11589
|
_: 1
|
|
11590
11590
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
11591
11591
|
], 4),
|
|
11592
|
-
a.showTropicalsInfo && !e.$attrs.hideTropicalsLegend ? (
|
|
11592
|
+
a.showTropicalsInfo && !e.$attrs.hideTropicalsLegend ? (P(), I("div", {
|
|
11593
11593
|
key: 0,
|
|
11594
11594
|
ref: "tropicalsInfo",
|
|
11595
11595
|
id: "idm-tropical-gl4-info",
|
|
@@ -11599,14 +11599,14 @@ function mh(e, t, o, i, a, r) {
|
|
|
11599
11599
|
class: _e(["w-100", o.simple ? "rounded-t-4 bg-none" : ""]),
|
|
11600
11600
|
elevation: o.simple ? 0 : 16
|
|
11601
11601
|
}, {
|
|
11602
|
-
default:
|
|
11602
|
+
default: C(() => [
|
|
11603
11603
|
L(s, null, {
|
|
11604
|
-
default:
|
|
11604
|
+
default: C(() => {
|
|
11605
11605
|
var f, h, u, x, v, w, k, S, _, M, T, W;
|
|
11606
11606
|
return [
|
|
11607
11607
|
n("div", Rm, [
|
|
11608
11608
|
n("span", Im, b(o.locale === "en" ? (f = a.activeTropicals) == null ? void 0 : f.Name : ((h = a.activeTropicals) == null ? void 0 : h.nameCn) || ((u = a.activeTropicals) == null ? void 0 : u.Name) || "-"), 1),
|
|
11609
|
-
(v = (x = a.activeTropicals) == null ? void 0 : x.history) != null && v.levelI18n ? (
|
|
11609
|
+
(v = (x = a.activeTropicals) == null ? void 0 : x.history) != null && v.levelI18n ? (P(), I("span", Dm, " , " + b(e.$t("tropical." + ((k = (w = a.activeTropicals) == null ? void 0 : w.history) == null ? void 0 : k.levelI18n))), 1)) : N("", !0)
|
|
11610
11610
|
]),
|
|
11611
11611
|
L(l, {
|
|
11612
11612
|
icon: "",
|
|
@@ -11615,7 +11615,7 @@ function mh(e, t, o, i, a, r) {
|
|
|
11615
11615
|
class: "close",
|
|
11616
11616
|
onClick: Se(r.handleCloseInfoMarker, ["stop"])
|
|
11617
11617
|
}, {
|
|
11618
|
-
default:
|
|
11618
|
+
default: C(() => t[4] || (t[4] = [
|
|
11619
11619
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
11620
11620
|
])),
|
|
11621
11621
|
_: 1,
|
|
@@ -11631,7 +11631,7 @@ function mh(e, t, o, i, a, r) {
|
|
|
11631
11631
|
}),
|
|
11632
11632
|
L(d),
|
|
11633
11633
|
L(s, { class: "text-body-1 py-3" }, {
|
|
11634
|
-
default:
|
|
11634
|
+
default: C(() => {
|
|
11635
11635
|
var f, h, u, x, v, w, k, S, _;
|
|
11636
11636
|
return [
|
|
11637
11637
|
n("div", Wm, [
|
|
@@ -11640,8 +11640,8 @@ function mh(e, t, o, i, a, r) {
|
|
|
11640
11640
|
n("span", null, b(((h = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : h.kts) || "-") + " kts", 1),
|
|
11641
11641
|
n("span", null, ", BF " + b(r.computeBF(((x = (u = a.activeTropicals) == null ? void 0 : u.history) == null ? void 0 : x.kts) || "-")), 1)
|
|
11642
11642
|
]),
|
|
11643
|
-
n("div",
|
|
11644
|
-
n("label",
|
|
11643
|
+
n("div", Zm, [
|
|
11644
|
+
n("label", Bm, b(e.$t("weather.pressure")) + " : ", 1),
|
|
11645
11645
|
n("span", null, b(((w = (v = a.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : w.pressure) || "-") + " hPa", 1)
|
|
11646
11646
|
])
|
|
11647
11647
|
]),
|
|
@@ -11658,7 +11658,7 @@ function mh(e, t, o, i, a, r) {
|
|
|
11658
11658
|
n("div", Hm, [
|
|
11659
11659
|
n("label", Ym, b(e.$t("tropical.models")) + " : ", 1),
|
|
11660
11660
|
n("div", Um, [
|
|
11661
|
-
(
|
|
11661
|
+
(P(!0), I(Ie, null, De((_ = a.activeTropicals) == null ? void 0 : _.forecasts, (M, T) => (P(), B(l, {
|
|
11662
11662
|
key: T,
|
|
11663
11663
|
density: "compact",
|
|
11664
11664
|
variant: M.disabled ? "text" : "flat",
|
|
@@ -11667,7 +11667,7 @@ function mh(e, t, o, i, a, r) {
|
|
|
11667
11667
|
class: _e(["model text-none text-body-1 px-1", M.disabled ? "btn-border-1 btn-bg-1" : ""]),
|
|
11668
11668
|
onClick: Se((W) => r.handleForecastToggle(M), ["stop"])
|
|
11669
11669
|
}, {
|
|
11670
|
-
default:
|
|
11670
|
+
default: C(() => [
|
|
11671
11671
|
de(b(M.model), 1)
|
|
11672
11672
|
]),
|
|
11673
11673
|
_: 2
|
|
@@ -11679,11 +11679,11 @@ function mh(e, t, o, i, a, r) {
|
|
|
11679
11679
|
_: 1
|
|
11680
11680
|
}),
|
|
11681
11681
|
L(d),
|
|
11682
|
-
o.simple ? N("", !0) : (
|
|
11682
|
+
o.simple ? N("", !0) : (P(), B(m, {
|
|
11683
11683
|
key: 0,
|
|
11684
11684
|
class: "d-flex justify-space-between"
|
|
11685
11685
|
}, {
|
|
11686
|
-
default:
|
|
11686
|
+
default: C(() => [
|
|
11687
11687
|
L(l, {
|
|
11688
11688
|
density: "compact",
|
|
11689
11689
|
"prepend-icon": "",
|
|
@@ -11692,23 +11692,23 @@ function mh(e, t, o, i, a, r) {
|
|
|
11692
11692
|
class: "text-none text-body-1",
|
|
11693
11693
|
onClick: t[0] || (t[0] = Se((f) => a.showLegend = !a.showLegend, ["stop"]))
|
|
11694
11694
|
}, {
|
|
11695
|
-
prepend:
|
|
11695
|
+
prepend: C(() => t[5] || (t[5] = [
|
|
11696
11696
|
n("i", { class: "iconfont icon-Legend text-h4" }, null, -1)
|
|
11697
11697
|
])),
|
|
11698
|
-
default:
|
|
11698
|
+
default: C(() => [
|
|
11699
11699
|
de(" " + b(e.$t("weather.legend")), 1)
|
|
11700
11700
|
]),
|
|
11701
11701
|
_: 1
|
|
11702
11702
|
}, 8, ["color"]),
|
|
11703
11703
|
n("div", Jm, [
|
|
11704
|
-
o.permission & a.helper.LEVEL.Supper ? (
|
|
11704
|
+
o.permission & a.helper.LEVEL.Supper ? (P(), B(l, {
|
|
11705
11705
|
key: 0,
|
|
11706
11706
|
variant: "text",
|
|
11707
11707
|
density: "compact",
|
|
11708
11708
|
class: "text-none text-body-1",
|
|
11709
11709
|
onClick: t[1] || (t[1] = Se((f) => r.handleNotification(a.activeTropicals), ["stop"]))
|
|
11710
11710
|
}, {
|
|
11711
|
-
default:
|
|
11711
|
+
default: C(() => [
|
|
11712
11712
|
de(b(e.$t("actions.notify")), 1)
|
|
11713
11713
|
]),
|
|
11714
11714
|
_: 1
|
|
@@ -11720,7 +11720,7 @@ function mh(e, t, o, i, a, r) {
|
|
|
11720
11720
|
class: "text-none text-body-1",
|
|
11721
11721
|
onClick: t[2] || (t[2] = Se((f) => r.handleStrikeProbability(a.activeTropicals), ["stop"]))
|
|
11722
11722
|
}, {
|
|
11723
|
-
default:
|
|
11723
|
+
default: C(() => [
|
|
11724
11724
|
de(b(e.$t("actions.viewReport")), 1)
|
|
11725
11725
|
]),
|
|
11726
11726
|
_: 1
|
|
@@ -11732,7 +11732,7 @@ function mh(e, t, o, i, a, r) {
|
|
|
11732
11732
|
]),
|
|
11733
11733
|
_: 1
|
|
11734
11734
|
}, 8, ["class", "elevation"]),
|
|
11735
|
-
o.simple ? (
|
|
11735
|
+
o.simple ? (P(), I("div", Km, [
|
|
11736
11736
|
n("div", $m, [
|
|
11737
11737
|
n("div", qm, [
|
|
11738
11738
|
t[6] || (t[6] = n("div", { class: "icon td" }, null, -1)),
|
|
@@ -11777,11 +11777,11 @@ function mh(e, t, o, i, a, r) {
|
|
|
11777
11777
|
n("div", bd, "50kts " + b(e.$t("tropical.radii")), 1)
|
|
11778
11778
|
])
|
|
11779
11779
|
])
|
|
11780
|
-
])) : (
|
|
11780
|
+
])) : (P(), I("div", wd, [
|
|
11781
11781
|
Qe(L(g, { elevation: "16" }, {
|
|
11782
|
-
default:
|
|
11782
|
+
default: C(() => [
|
|
11783
11783
|
L(s, null, {
|
|
11784
|
-
default:
|
|
11784
|
+
default: C(() => [
|
|
11785
11785
|
Qe(n("div", {
|
|
11786
11786
|
class: _e(["pa-1 d-flex justify-space-between align-center flex-wrap", o.locale === "zhHans" ? " ga-2" : " ga-3"])
|
|
11787
11787
|
}, [
|
|
@@ -11823,7 +11823,7 @@ function mh(e, t, o, i, a, r) {
|
|
|
11823
11823
|
]),
|
|
11824
11824
|
n("div", Nd, [
|
|
11825
11825
|
t[25] || (t[25] = n("div", { class: "icon r10" }, null, -1)),
|
|
11826
|
-
n("div",
|
|
11826
|
+
n("div", Zd, "50kts " + b(e.$t("tropical.radii")), 1)
|
|
11827
11827
|
])
|
|
11828
11828
|
], 2), [
|
|
11829
11829
|
[et, a.showLegend]
|
|
@@ -11843,12 +11843,12 @@ function mh(e, t, o, i, a, r) {
|
|
|
11843
11843
|
elevation: "16",
|
|
11844
11844
|
"max-width": "280"
|
|
11845
11845
|
}, {
|
|
11846
|
-
default:
|
|
11846
|
+
default: C(() => [
|
|
11847
11847
|
L(p, null, {
|
|
11848
|
-
default:
|
|
11848
|
+
default: C(() => {
|
|
11849
11849
|
var f, h, u, x;
|
|
11850
11850
|
return [
|
|
11851
|
-
n("div",
|
|
11851
|
+
n("div", Bd, [
|
|
11852
11852
|
n("span", Ed, b(o.locale === "en" ? (f = a.hoverPoint) == null ? void 0 : f.Name : ((h = a.hoverPoint) == null ? void 0 : h.nameCn) || ((u = a.hoverPoint) == null ? void 0 : u.Name)), 1),
|
|
11853
11853
|
n("span", Od, " [" + b(e.$t("tropical." + ((x = a.hoverPoint) == null ? void 0 : x.levelI18n))) + "]", 1)
|
|
11854
11854
|
])
|
|
@@ -11858,31 +11858,31 @@ function mh(e, t, o, i, a, r) {
|
|
|
11858
11858
|
}),
|
|
11859
11859
|
L(y),
|
|
11860
11860
|
L(s, { class: "text-body-1" }, {
|
|
11861
|
-
default:
|
|
11862
|
-
var f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he,
|
|
11861
|
+
default: C(() => {
|
|
11862
|
+
var f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D;
|
|
11863
11863
|
return [
|
|
11864
11864
|
n("div", Xd, [
|
|
11865
|
-
((f = a.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (
|
|
11865
|
+
((f = a.hoverPoint) == null ? void 0 : f.type) === "forecast" ? (P(), I("div", jd, [
|
|
11866
11866
|
n("label", Vd, b(e.$t("tropical.updated")) + " : ", 1),
|
|
11867
11867
|
n("span", null, b(r.computeTzTime((h = a.hoverPoint) == null ? void 0 : h.update, o.timeZone)), 1)
|
|
11868
11868
|
])) : N("", !0),
|
|
11869
|
-
((u = a.hoverPoint) == null ? void 0 : u.type) === "forecast" ? (
|
|
11869
|
+
((u = a.hoverPoint) == null ? void 0 : u.type) === "forecast" ? (P(), I("div", Hd, [
|
|
11870
11870
|
n("label", Yd, b(e.$t("tropical.forecast")) + " : ", 1),
|
|
11871
11871
|
n("span", null, b(r.computeTzTime((x = a.hoverPoint) == null ? void 0 : x.date, o.timeZone)), 1)
|
|
11872
11872
|
])) : N("", !0),
|
|
11873
|
-
((v = a.hoverPoint) == null ? void 0 : v.type) === "history" ? (
|
|
11873
|
+
((v = a.hoverPoint) == null ? void 0 : v.type) === "history" ? (P(), I("div", Ud, [
|
|
11874
11874
|
n("label", Jd, b(e.$t("tropical.forecast")) + " : ", 1),
|
|
11875
11875
|
n("span", null, b(r.computeTzTime((w = a.hoverPoint) == null ? void 0 : w.date, o.timeZone)), 1)
|
|
11876
11876
|
])) : N("", !0),
|
|
11877
|
-
((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (
|
|
11877
|
+
((k = a.hoverPoint) == null ? void 0 : k.type) === "forecast" ? (P(), I("div", Kd, [
|
|
11878
11878
|
n("label", $d, b(e.$t("tropical.model")) + " : ", 1),
|
|
11879
11879
|
n("span", null, b(((S = a.hoverPoint) == null ? void 0 : S.model) ?? "-"), 1)
|
|
11880
11880
|
])) : N("", !0),
|
|
11881
|
-
((_ = a.hoverPoint) == null ? void 0 : _.type) === "forecast" ? (
|
|
11881
|
+
((_ = a.hoverPoint) == null ? void 0 : _.type) === "forecast" ? (P(), I("div", qd, [
|
|
11882
11882
|
n("label", Qd, b(e.$t("weather.wind")) + " : ", 1),
|
|
11883
11883
|
n("span", null, b(((T = JSON.parse((M = a.hoverPoint) == null ? void 0 : M.wind)) == null ? void 0 : T.kts) ?? "-") + " kts", 1)
|
|
11884
11884
|
])) : N("", !0),
|
|
11885
|
-
((W = a.hoverPoint) == null ? void 0 : W.type) === "history" ? (
|
|
11885
|
+
((W = a.hoverPoint) == null ? void 0 : W.type) === "history" ? (P(), I("div", eh, [
|
|
11886
11886
|
n("label", th, b(e.$t("weather.wind")) + " : ", 1),
|
|
11887
11887
|
n("span", null, b(((F = a.hoverPoint) == null ? void 0 : F.kts) ?? "-") + " kts", 1)
|
|
11888
11888
|
])) : N("", !0),
|
|
@@ -11890,13 +11890,13 @@ function mh(e, t, o, i, a, r) {
|
|
|
11890
11890
|
n("label", ah, b(e.$t("weather.pressure")) + " : ", 1),
|
|
11891
11891
|
n("span", null, b(((E = a.hoverPoint) == null ? void 0 : E.pressure) ?? "-") + " hPa", 1)
|
|
11892
11892
|
]),
|
|
11893
|
-
((V = a.hoverPoint) == null ? void 0 : V.type) === "history" ? (
|
|
11893
|
+
((V = a.hoverPoint) == null ? void 0 : V.type) === "history" ? (P(), I("div", ih, [
|
|
11894
11894
|
n("label", rh, b(e.$t("tropical.moveSpeed")) + " : ", 1),
|
|
11895
11895
|
n("span", null, b(((Q = JSON.parse((J = a.hoverPoint) == null ? void 0 : J.movement)) == null ? void 0 : Q.kts) ?? "-") + " kts", 1)
|
|
11896
11896
|
])) : N("", !0),
|
|
11897
|
-
((ee = a.hoverPoint) == null ? void 0 : ee.type) === "history" ? (
|
|
11897
|
+
((ee = a.hoverPoint) == null ? void 0 : ee.type) === "history" ? (P(), I("div", lh, [
|
|
11898
11898
|
n("label", nh, b(e.$t("tropical.moveDir")) + " : ", 1),
|
|
11899
|
-
n("span", null, b(((
|
|
11899
|
+
n("span", null, b(((D = JSON.parse((he = a.hoverPoint) == null ? void 0 : he.movement)) == null ? void 0 : D.deg) ?? "-") + " °", 1)
|
|
11900
11900
|
])) : N("", !0),
|
|
11901
11901
|
n("div", sh, [
|
|
11902
11902
|
n("label", ch, b(e.$t("tropical.position")) + " : ", 1),
|
|
@@ -12115,20 +12115,20 @@ const dh = {
|
|
|
12115
12115
|
};
|
|
12116
12116
|
function fh(e, t, o, i, a, r) {
|
|
12117
12117
|
const l = R("VDatePicker"), c = R("VDivider"), s = R("VListItemTitle"), d = R("VListItem"), m = R("VList"), g = R("VCardText"), p = R("VBtn"), y = R("VCardActions"), f = R("VCard");
|
|
12118
|
-
return
|
|
12118
|
+
return P(), I("div", hh, [
|
|
12119
12119
|
n("div", {
|
|
12120
12120
|
style: ue({ height: o.height + "px", width: o.width ? o.width + "px" : "auto" }),
|
|
12121
12121
|
class: _e([o.bgClass, "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-center px-2 cursor-pointer"]),
|
|
12122
12122
|
onClick: t[0] || (t[0] = (...h) => r.handleOpenDatePicker && r.handleOpenDatePicker(...h))
|
|
12123
12123
|
}, b(a.currentDateTime) + " | UTC " + b(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 7),
|
|
12124
|
-
a.showDatePicker ? (
|
|
12124
|
+
a.showDatePicker ? (P(), B(f, {
|
|
12125
12125
|
key: 0,
|
|
12126
12126
|
class: "card-box d-flex flex-column border",
|
|
12127
12127
|
style: ue(r.getStyle)
|
|
12128
12128
|
}, {
|
|
12129
|
-
default:
|
|
12129
|
+
default: C(() => [
|
|
12130
12130
|
L(g, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
12131
|
-
default:
|
|
12131
|
+
default: C(() => [
|
|
12132
12132
|
n("div", uh, [
|
|
12133
12133
|
L(l, {
|
|
12134
12134
|
modelValue: a.currentDate,
|
|
@@ -12151,8 +12151,8 @@ function fh(e, t, o, i, a, r) {
|
|
|
12151
12151
|
n("div", ph, [
|
|
12152
12152
|
n("div", gh, b(a.currentTime), 1),
|
|
12153
12153
|
L(m, { class: "pa-0 flex-1-1-0 scroll" }, {
|
|
12154
|
-
default:
|
|
12155
|
-
(
|
|
12154
|
+
default: C(() => [
|
|
12155
|
+
(P(!0), I(Ie, null, De(r.hourOptions, (h, u) => (P(), B(d, {
|
|
12156
12156
|
key: u,
|
|
12157
12157
|
value: h,
|
|
12158
12158
|
color: "primary",
|
|
@@ -12161,12 +12161,12 @@ function fh(e, t, o, i, a, r) {
|
|
|
12161
12161
|
height: "26",
|
|
12162
12162
|
"min-height": "26"
|
|
12163
12163
|
}, {
|
|
12164
|
-
default:
|
|
12164
|
+
default: C(() => [
|
|
12165
12165
|
L(s, {
|
|
12166
12166
|
class: "text-body-2 font-weight-600 text-center",
|
|
12167
12167
|
onClick: (x) => a.currentTime = h
|
|
12168
12168
|
}, {
|
|
12169
|
-
default:
|
|
12169
|
+
default: C(() => [
|
|
12170
12170
|
de(b(h), 1)
|
|
12171
12171
|
]),
|
|
12172
12172
|
_: 2
|
|
@@ -12186,14 +12186,14 @@ function fh(e, t, o, i, a, r) {
|
|
|
12186
12186
|
class: "justify-end pa-0 pr-4",
|
|
12187
12187
|
style: { height: "50px" }
|
|
12188
12188
|
}, {
|
|
12189
|
-
default:
|
|
12189
|
+
default: C(() => [
|
|
12190
12190
|
L(p, {
|
|
12191
12191
|
size: "small",
|
|
12192
12192
|
variant: "tonal",
|
|
12193
12193
|
class: "text-none text-body-2",
|
|
12194
12194
|
onClick: r.handleCancelDate
|
|
12195
12195
|
}, {
|
|
12196
|
-
default:
|
|
12196
|
+
default: C(() => [
|
|
12197
12197
|
de(b(e.$t("actions.cancel")), 1)
|
|
12198
12198
|
]),
|
|
12199
12199
|
_: 1
|
|
@@ -12205,7 +12205,7 @@ function fh(e, t, o, i, a, r) {
|
|
|
12205
12205
|
class: "text-none text-body-2",
|
|
12206
12206
|
onClick: r.handleConfirmDate
|
|
12207
12207
|
}, {
|
|
12208
|
-
default:
|
|
12208
|
+
default: C(() => [
|
|
12209
12209
|
de(b(e.$t("actions.confirm")), 1)
|
|
12210
12210
|
]),
|
|
12211
12211
|
_: 1
|
|
@@ -12410,28 +12410,28 @@ const yh = {
|
|
|
12410
12410
|
}, wh = { class: "flex-1-1-0" }, xh = { class: "pa-0" };
|
|
12411
12411
|
function vh(e, t, o, i, a, r) {
|
|
12412
12412
|
const l = R("VIcon"), c = R("VDatePicker"), s = R("VCardText"), d = R("VDivider"), m = R("VBtn"), g = R("VCardActions"), p = R("VCard");
|
|
12413
|
-
return
|
|
12413
|
+
return P(), I("div", bh, [
|
|
12414
12414
|
n("div", {
|
|
12415
12415
|
style: ue({ height: o.height + "px", width: o.width ? o.width + "px" : "auto" }),
|
|
12416
12416
|
class: "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-space-between px-2 cursor-pointer",
|
|
12417
12417
|
onClick: t[0] || (t[0] = (...y) => r.handleOpenDatePicker && r.handleOpenDatePicker(...y))
|
|
12418
12418
|
}, [
|
|
12419
12419
|
n("span", wh, b(a.dateRangeStr), 1),
|
|
12420
|
-
a.dateRangeStr ? (
|
|
12420
|
+
a.dateRangeStr ? (P(), B(l, {
|
|
12421
12421
|
key: 0,
|
|
12422
12422
|
class: "text-h5",
|
|
12423
12423
|
icon: "mdi-close-circle text-label",
|
|
12424
12424
|
onClick: Se(r.handleClearDate, ["stop"])
|
|
12425
12425
|
}, null, 8, ["onClick"])) : N("", !0)
|
|
12426
12426
|
], 4),
|
|
12427
|
-
a.showDatePicker ? (
|
|
12427
|
+
a.showDatePicker ? (P(), B(p, {
|
|
12428
12428
|
key: 0,
|
|
12429
12429
|
class: "card-box d-flex flex-column border",
|
|
12430
12430
|
style: ue(r.getStyle)
|
|
12431
12431
|
}, {
|
|
12432
|
-
default:
|
|
12432
|
+
default: C(() => [
|
|
12433
12433
|
L(s, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
12434
|
-
default:
|
|
12434
|
+
default: C(() => [
|
|
12435
12435
|
n("div", xh, [
|
|
12436
12436
|
L(c, {
|
|
12437
12437
|
modelValue: a.dateRange,
|
|
@@ -12456,14 +12456,14 @@ function vh(e, t, o, i, a, r) {
|
|
|
12456
12456
|
class: "justify-end pa-0 pr-4",
|
|
12457
12457
|
style: { height: "50px" }
|
|
12458
12458
|
}, {
|
|
12459
|
-
default:
|
|
12459
|
+
default: C(() => [
|
|
12460
12460
|
L(m, {
|
|
12461
12461
|
size: "small",
|
|
12462
12462
|
variant: "tonal",
|
|
12463
12463
|
class: "text-none text-body-2",
|
|
12464
12464
|
onClick: r.handleCancelDate
|
|
12465
12465
|
}, {
|
|
12466
|
-
default:
|
|
12466
|
+
default: C(() => [
|
|
12467
12467
|
de(b(e.$t("actions.cancel")), 1)
|
|
12468
12468
|
]),
|
|
12469
12469
|
_: 1
|
|
@@ -12475,7 +12475,7 @@ function vh(e, t, o, i, a, r) {
|
|
|
12475
12475
|
class: "text-none text-body-2",
|
|
12476
12476
|
onClick: r.handleConfirmDate
|
|
12477
12477
|
}, {
|
|
12478
|
-
default:
|
|
12478
|
+
default: C(() => [
|
|
12479
12479
|
de(b(e.$t("actions.confirm")), 1)
|
|
12480
12480
|
]),
|
|
12481
12481
|
_: 1
|
|
@@ -13537,10 +13537,10 @@ const kh = {
|
|
|
13537
13537
|
}), this.loading = !1;
|
|
13538
13538
|
},
|
|
13539
13539
|
initTableData(e) {
|
|
13540
|
-
var o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he,
|
|
13540
|
+
var o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H, U, te, X, O, $, A, ie, ge;
|
|
13541
13541
|
this.currentHourData = {}, this.positionGmt = (i = (o = e == null ? void 0 : e.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = e == null ? void 0 : e.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
|
|
13542
13542
|
const t = ((l = Xo.pickHourly(e, G(this.form.dateTime))) == null ? void 0 : l[0]) || {};
|
|
13543
|
-
this.currentHourData.utc = t.utc, this.currentHourData.lat = e.lat, this.currentHourData.lng = e.lng, this.currentHourData.temp = this.computeRoundPrecision((c = t == null ? void 0 : t.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((d = (s = t == null ? void 0 : t.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((g = (m = t == null ? void 0 : t.weather) == null ? void 0 : m.precip) == null ? void 0 : g.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((p = t == null ? void 0 : t.weather) == null ? void 0 : p.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((f = (y = t == null ? void 0 : t.weather) == null ? void 0 : y.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((u = (h = t == null ? void 0 : t.weather) == null ? void 0 : h.wind) == null ? void 0 : u.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((v = (x = t == null ? void 0 : t.weather) == null ? void 0 : x.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (w = t == null ? void 0 : t.weather) == null ? void 0 : w.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((_ = (S = t == null ? void 0 : t.wave) == null ? void 0 : S.sig) == null ? void 0 : _.height, 1) ?? "-", this.currentHourData.sigwaveDir = (T = (M = t == null ? void 0 : t.wave) == null ? void 0 : M.sig) == null ? void 0 : T.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((F = (W = t == null ? void 0 : t.wave) == null ? void 0 : W.sig) == null ? void 0 : F.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (E = t == null ? void 0 : t.wave) == null ? void 0 : E.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = t == null ? void 0 : t.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((he = (ee = t == null ? void 0 : t.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((H = (
|
|
13543
|
+
this.currentHourData.utc = t.utc, this.currentHourData.lat = e.lat, this.currentHourData.lng = e.lng, this.currentHourData.temp = this.computeRoundPrecision((c = t == null ? void 0 : t.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((d = (s = t == null ? void 0 : t.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((g = (m = t == null ? void 0 : t.weather) == null ? void 0 : m.precip) == null ? void 0 : g.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((p = t == null ? void 0 : t.weather) == null ? void 0 : p.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((f = (y = t == null ? void 0 : t.weather) == null ? void 0 : y.wind) == null ? void 0 : f.kts, 1) ?? "-", this.currentHourData.windDir = ((u = (h = t == null ? void 0 : t.weather) == null ? void 0 : h.wind) == null ? void 0 : u.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((v = (x = t == null ? void 0 : t.weather) == null ? void 0 : x.wind) == null ? void 0 : v.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((k = (w = t == null ? void 0 : t.weather) == null ? void 0 : w.wind) == null ? void 0 : k.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((_ = (S = t == null ? void 0 : t.wave) == null ? void 0 : S.sig) == null ? void 0 : _.height, 1) ?? "-", this.currentHourData.sigwaveDir = (T = (M = t == null ? void 0 : t.wave) == null ? void 0 : M.sig) == null ? void 0 : T.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((F = (W = t == null ? void 0 : t.wave) == null ? void 0 : W.sig) == null ? void 0 : F.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((V = (E = t == null ? void 0 : t.wave) == null ? void 0 : E.wd) == null ? void 0 : V.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (J = t == null ? void 0 : t.wave) == null ? void 0 : J.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((he = (ee = t == null ? void 0 : t.wave) == null ? void 0 : ee.wd) == null ? void 0 : he.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((H = (D = t == null ? void 0 : t.wave) == null ? void 0 : D.swell) == null ? void 0 : H.height, 1) ?? "-", this.currentHourData.swellDir = (te = (U = t == null ? void 0 : t.wave) == null ? void 0 : U.swell) == null ? void 0 : te.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((O = (X = t == null ? void 0 : t.wave) == null ? void 0 : X.swell) == null ? void 0 : O.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision(($ = t == null ? void 0 : t.current) == null ? void 0 : $.speed, 1) ?? "-", this.currentHourData.currentDir = (A = t == null ? void 0 : t.current) == null ? void 0 : A.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((ie = t == null ? void 0 : t.current) == null ? void 0 : ie.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(t == null ? void 0 : t.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(t == null ? void 0 : t.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ge = t == null ? void 0 : t.weather) == null ? void 0 : ge.url;
|
|
13544
13544
|
},
|
|
13545
13545
|
handleBind() {
|
|
13546
13546
|
var e, t;
|
|
@@ -13613,7 +13613,7 @@ const kh = {
|
|
|
13613
13613
|
}, Ah = ["xlink:href"], Gh = { class: "d-flex justify-start align-center ga-1 mb-1" }, Wh = {
|
|
13614
13614
|
class: "multi-color-icon",
|
|
13615
13615
|
"aria-hidden": "true"
|
|
13616
|
-
}, Fh = ["xlink:href"], Nh = { class: "d-flex justify-start align-center" },
|
|
13616
|
+
}, Fh = ["xlink:href"], Nh = { class: "d-flex justify-start align-center" }, Zh = { class: "mx-2" }, Bh = { class: "mx-0 py-2 d-flex align-center justify-start" }, Eh = {
|
|
13617
13617
|
style: { width: "100px" },
|
|
13618
13618
|
class: "pa-0 pr-2 text-right opacity-50"
|
|
13619
13619
|
}, Oh = { class: "pa-0 px-0" }, Xh = { class: "mx-0 py-2 d-flex align-center justify-start" }, jh = {
|
|
@@ -13662,7 +13662,7 @@ const kh = {
|
|
|
13662
13662
|
}, Pu = ["xlink:href"];
|
|
13663
13663
|
function Cu(e, t, o, i, a, r) {
|
|
13664
13664
|
const l = R("VBtn"), c = R("VTooltip"), s = R("VCardTitle"), d = R("VDivider"), m = R("VTextField"), g = R("VCol"), p = R("VRow"), y = R("DateTimePicker"), f = R("VBtnToggle"), h = R("VCardText"), u = R("VCardActions"), x = R("VForm"), v = R("VCard");
|
|
13665
|
-
return
|
|
13665
|
+
return P(), I("div", _h, [
|
|
13666
13666
|
n("div", {
|
|
13667
13667
|
class: "menu-bar-box transition pa-1",
|
|
13668
13668
|
style: ue({ top: o.top + o.paddingTop + 126 + "px", right: a.right + "px" })
|
|
@@ -13675,7 +13675,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13675
13675
|
"open-on-focus": !o.simple,
|
|
13676
13676
|
"open-on-hover": !o.simple
|
|
13677
13677
|
}, {
|
|
13678
|
-
activator:
|
|
13678
|
+
activator: C(({ props: w }) => [
|
|
13679
13679
|
L(l, Y(w, {
|
|
13680
13680
|
"min-width": "32",
|
|
13681
13681
|
width: "32",
|
|
@@ -13683,7 +13683,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13683
13683
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
13684
13684
|
onClick: r.handleMenuToggle
|
|
13685
13685
|
}), {
|
|
13686
|
-
default:
|
|
13686
|
+
default: C(() => t[8] || (t[8] = [
|
|
13687
13687
|
n("i", { class: "iconfont icon-a-Spotweather text-h4" }, null, -1)
|
|
13688
13688
|
])),
|
|
13689
13689
|
_: 2,
|
|
@@ -13693,14 +13693,14 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13693
13693
|
_: 1
|
|
13694
13694
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
13695
13695
|
], 4),
|
|
13696
|
-
a.showForm && !o.simple ? (
|
|
13696
|
+
a.showForm && !o.simple ? (P(), B(v, {
|
|
13697
13697
|
key: 0,
|
|
13698
13698
|
class: "spot-form-card",
|
|
13699
13699
|
style: ue({ top: o.top + o.paddingTop + 126 + "px", right: a.right + 50 + "px" })
|
|
13700
13700
|
}, {
|
|
13701
|
-
default:
|
|
13701
|
+
default: C(() => [
|
|
13702
13702
|
L(s, { class: "d-flex justify-space-between align-center" }, {
|
|
13703
|
-
default:
|
|
13703
|
+
default: C(() => [
|
|
13704
13704
|
n("div", zh, [
|
|
13705
13705
|
n("div", Lh, b(e.$t("spot.spotWeather")), 1)
|
|
13706
13706
|
]),
|
|
@@ -13711,7 +13711,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13711
13711
|
class: "mr-n2",
|
|
13712
13712
|
onClick: r.handleCloseForm
|
|
13713
13713
|
}, {
|
|
13714
|
-
default:
|
|
13714
|
+
default: C(() => t[9] || (t[9] = [
|
|
13715
13715
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
13716
13716
|
])),
|
|
13717
13717
|
_: 1,
|
|
@@ -13727,11 +13727,11 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13727
13727
|
class: "form-box",
|
|
13728
13728
|
onSubmit: Se(r.submitForm, ["prevent"])
|
|
13729
13729
|
}, {
|
|
13730
|
-
default:
|
|
13730
|
+
default: C(() => [
|
|
13731
13731
|
L(h, { class: "text-body-1 py-1" }, {
|
|
13732
|
-
default:
|
|
13732
|
+
default: C(() => [
|
|
13733
13733
|
n("div", Ph, [
|
|
13734
|
-
(
|
|
13734
|
+
(P(), I("svg", Ch, [
|
|
13735
13735
|
n("use", {
|
|
13736
13736
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
13737
13737
|
}, null, 8, Mh)
|
|
@@ -13739,12 +13739,12 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13739
13739
|
n("div", null, b(e.$t("spot.lng")), 1)
|
|
13740
13740
|
]),
|
|
13741
13741
|
L(p, { class: "ma-0" }, {
|
|
13742
|
-
default:
|
|
13742
|
+
default: C(() => [
|
|
13743
13743
|
L(g, {
|
|
13744
13744
|
cols: "4",
|
|
13745
13745
|
class: "pa-0 d-flex"
|
|
13746
13746
|
}, {
|
|
13747
|
-
default:
|
|
13747
|
+
default: C(() => [
|
|
13748
13748
|
L(m, {
|
|
13749
13749
|
modelValue: a.form.lngDegree,
|
|
13750
13750
|
"onUpdate:modelValue": t[0] || (t[0] = (w) => a.form.lngDegree = w),
|
|
@@ -13764,7 +13764,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13764
13764
|
cols: "6",
|
|
13765
13765
|
class: "pa-0 d-flex"
|
|
13766
13766
|
}, {
|
|
13767
|
-
default:
|
|
13767
|
+
default: C(() => [
|
|
13768
13768
|
L(m, {
|
|
13769
13769
|
modelValue: a.form.lngMinute,
|
|
13770
13770
|
"onUpdate:modelValue": t[1] || (t[1] = (w) => a.form.lngMinute = w),
|
|
@@ -13785,7 +13785,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13785
13785
|
cols: "2",
|
|
13786
13786
|
class: "pa-0"
|
|
13787
13787
|
}, {
|
|
13788
|
-
default:
|
|
13788
|
+
default: C(() => [
|
|
13789
13789
|
L(l, {
|
|
13790
13790
|
variant: "outlined",
|
|
13791
13791
|
density: "compact",
|
|
@@ -13796,7 +13796,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13796
13796
|
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
13797
13797
|
onClick: t[2] || (t[2] = (w) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
|
|
13798
13798
|
}, {
|
|
13799
|
-
default:
|
|
13799
|
+
default: C(() => [
|
|
13800
13800
|
de(b(a.form.lngDirection), 1)
|
|
13801
13801
|
]),
|
|
13802
13802
|
_: 1
|
|
@@ -13808,7 +13808,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13808
13808
|
_: 1
|
|
13809
13809
|
}),
|
|
13810
13810
|
n("div", Sh, [
|
|
13811
|
-
(
|
|
13811
|
+
(P(), I("svg", Th, [
|
|
13812
13812
|
n("use", {
|
|
13813
13813
|
"xlink:href": `#icon-lng-${o.theme}`
|
|
13814
13814
|
}, null, 8, Rh)
|
|
@@ -13816,12 +13816,12 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13816
13816
|
n("div", null, b(e.$t("spot.lat")), 1)
|
|
13817
13817
|
]),
|
|
13818
13818
|
L(p, { class: "ma-0" }, {
|
|
13819
|
-
default:
|
|
13819
|
+
default: C(() => [
|
|
13820
13820
|
L(g, {
|
|
13821
13821
|
cols: "4",
|
|
13822
13822
|
class: "pa-0 d-flex"
|
|
13823
13823
|
}, {
|
|
13824
|
-
default:
|
|
13824
|
+
default: C(() => [
|
|
13825
13825
|
L(m, {
|
|
13826
13826
|
modelValue: a.form.latDegree,
|
|
13827
13827
|
"onUpdate:modelValue": t[3] || (t[3] = (w) => a.form.latDegree = w),
|
|
@@ -13844,7 +13844,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13844
13844
|
cols: "6",
|
|
13845
13845
|
class: "pa-0 d-flex"
|
|
13846
13846
|
}, {
|
|
13847
|
-
default:
|
|
13847
|
+
default: C(() => [
|
|
13848
13848
|
L(m, {
|
|
13849
13849
|
modelValue: a.form.latMinute,
|
|
13850
13850
|
"onUpdate:modelValue": t[4] || (t[4] = (w) => a.form.latMinute = w),
|
|
@@ -13865,7 +13865,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13865
13865
|
cols: "2",
|
|
13866
13866
|
class: "pa-0"
|
|
13867
13867
|
}, {
|
|
13868
|
-
default:
|
|
13868
|
+
default: C(() => [
|
|
13869
13869
|
L(l, {
|
|
13870
13870
|
variant: "outlined",
|
|
13871
13871
|
density: "compact",
|
|
@@ -13876,7 +13876,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13876
13876
|
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
13877
13877
|
onClick: t[5] || (t[5] = (w) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
|
|
13878
13878
|
}, {
|
|
13879
|
-
default:
|
|
13879
|
+
default: C(() => [
|
|
13880
13880
|
de(b(a.form.latDirection), 1)
|
|
13881
13881
|
]),
|
|
13882
13882
|
_: 1
|
|
@@ -13888,7 +13888,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13888
13888
|
_: 1
|
|
13889
13889
|
}),
|
|
13890
13890
|
n("div", Ih, [
|
|
13891
|
-
(
|
|
13891
|
+
(P(), I("svg", Dh, [
|
|
13892
13892
|
n("use", {
|
|
13893
13893
|
"xlink:href": `#icon-date-time-${o.theme}`
|
|
13894
13894
|
}, null, 8, Ah)
|
|
@@ -13896,12 +13896,12 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13896
13896
|
n("div", null, b(e.$t("spot.dateTime")), 1)
|
|
13897
13897
|
]),
|
|
13898
13898
|
L(p, { class: "ma-0 mb-4" }, {
|
|
13899
|
-
default:
|
|
13899
|
+
default: C(() => [
|
|
13900
13900
|
L(g, {
|
|
13901
13901
|
cols: "12",
|
|
13902
13902
|
class: "pa-0"
|
|
13903
13903
|
}, {
|
|
13904
|
-
default:
|
|
13904
|
+
default: C(() => [
|
|
13905
13905
|
L(y, Y({
|
|
13906
13906
|
"date-time": a.form.dateTime,
|
|
13907
13907
|
"time-zone": o.timeZone
|
|
@@ -13915,7 +13915,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13915
13915
|
_: 1
|
|
13916
13916
|
}),
|
|
13917
13917
|
n("div", Gh, [
|
|
13918
|
-
(
|
|
13918
|
+
(P(), I("svg", Wh, [
|
|
13919
13919
|
n("use", {
|
|
13920
13920
|
"xlink:href": `#icon-forecast-model-${o.theme}`
|
|
13921
13921
|
}, null, 8, Fh)
|
|
@@ -13923,12 +13923,12 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13923
13923
|
n("div", null, b(e.$t("weather.forecastModel")), 1)
|
|
13924
13924
|
]),
|
|
13925
13925
|
L(p, { class: "ma-0 mb-2" }, {
|
|
13926
|
-
default:
|
|
13926
|
+
default: C(() => [
|
|
13927
13927
|
L(g, {
|
|
13928
13928
|
cols: "12",
|
|
13929
13929
|
class: "pa-0"
|
|
13930
13930
|
}, {
|
|
13931
|
-
default:
|
|
13931
|
+
default: C(() => [
|
|
13932
13932
|
L(f, {
|
|
13933
13933
|
modelValue: a.form.forecastModel,
|
|
13934
13934
|
"onUpdate:modelValue": t[7] || (t[7] = (w) => a.form.forecastModel = w),
|
|
@@ -13938,7 +13938,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13938
13938
|
density: "compact",
|
|
13939
13939
|
group: ""
|
|
13940
13940
|
}, {
|
|
13941
|
-
default:
|
|
13941
|
+
default: C(() => [
|
|
13942
13942
|
L(l, {
|
|
13943
13943
|
density: "compact",
|
|
13944
13944
|
height: "30",
|
|
@@ -13947,7 +13947,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13947
13947
|
color: a.form.forecastModel === "GFS" ? "primary" : "",
|
|
13948
13948
|
"base-color": ""
|
|
13949
13949
|
}, {
|
|
13950
|
-
default:
|
|
13950
|
+
default: C(() => t[14] || (t[14] = [
|
|
13951
13951
|
de("NOAA", -1)
|
|
13952
13952
|
])),
|
|
13953
13953
|
_: 1,
|
|
@@ -13961,7 +13961,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13961
13961
|
"base-color": "",
|
|
13962
13962
|
value: "ECMWF"
|
|
13963
13963
|
}, {
|
|
13964
|
-
default:
|
|
13964
|
+
default: C(() => t[15] || (t[15] = [
|
|
13965
13965
|
de("ECMWF", -1)
|
|
13966
13966
|
])),
|
|
13967
13967
|
_: 1,
|
|
@@ -13981,14 +13981,14 @@ function Cu(e, t, o, i, a, r) {
|
|
|
13981
13981
|
}),
|
|
13982
13982
|
L(d),
|
|
13983
13983
|
L(u, { class: "d-flex justify-end align-center ga-4" }, {
|
|
13984
|
-
default:
|
|
13984
|
+
default: C(() => [
|
|
13985
13985
|
L(l, {
|
|
13986
13986
|
size: "small",
|
|
13987
13987
|
variant: "outlined",
|
|
13988
13988
|
class: "text-none text-body-1 btn-border-1 btn-bg-1",
|
|
13989
13989
|
onClick: r.cancelForm
|
|
13990
13990
|
}, {
|
|
13991
|
-
default:
|
|
13991
|
+
default: C(() => [
|
|
13992
13992
|
de(b(e.$t("actions.clear")), 1)
|
|
13993
13993
|
]),
|
|
13994
13994
|
_: 1
|
|
@@ -14002,7 +14002,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14002
14002
|
type: "submit",
|
|
14003
14003
|
class: "text-none text-body-1"
|
|
14004
14004
|
}, {
|
|
14005
|
-
default:
|
|
14005
|
+
default: C(() => [
|
|
14006
14006
|
de(b(e.$t("actions.confirm")), 1)
|
|
14007
14007
|
]),
|
|
14008
14008
|
_: 1
|
|
@@ -14016,18 +14016,18 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14016
14016
|
]),
|
|
14017
14017
|
_: 1
|
|
14018
14018
|
}, 8, ["style"])) : N("", !0),
|
|
14019
|
-
a.showMeteo && !o.simple ? (
|
|
14019
|
+
a.showMeteo && !o.simple ? (P(), B(v, {
|
|
14020
14020
|
key: 1,
|
|
14021
14021
|
id: "idm-gl4-spot-meteo",
|
|
14022
14022
|
class: "spot-meteo",
|
|
14023
14023
|
style: { width: "490px", "z-index": "9" }
|
|
14024
14024
|
}, {
|
|
14025
|
-
default:
|
|
14025
|
+
default: C(() => [
|
|
14026
14026
|
L(s, { class: "d-flex justify-space-between align-center" }, {
|
|
14027
|
-
default:
|
|
14027
|
+
default: C(() => [
|
|
14028
14028
|
n("div", Nh, [
|
|
14029
14029
|
t[16] || (t[16] = n("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
|
|
14030
|
-
n("div",
|
|
14030
|
+
n("div", Zh, b(r.computePosition(a.form || a.currentHourData)), 1)
|
|
14031
14031
|
]),
|
|
14032
14032
|
L(l, {
|
|
14033
14033
|
class: "mr-n2",
|
|
@@ -14036,7 +14036,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14036
14036
|
variant: "plain",
|
|
14037
14037
|
onClick: Se(r.handleCloseMeteo, ["stop"])
|
|
14038
14038
|
}, {
|
|
14039
|
-
default:
|
|
14039
|
+
default: C(() => t[17] || (t[17] = [
|
|
14040
14040
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
14041
14041
|
])),
|
|
14042
14042
|
_: 1,
|
|
@@ -14047,10 +14047,10 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14047
14047
|
}),
|
|
14048
14048
|
L(d),
|
|
14049
14049
|
L(h, { class: "text-body-1 px-0 py-1" }, {
|
|
14050
|
-
default:
|
|
14050
|
+
default: C(() => {
|
|
14051
14051
|
var w, k;
|
|
14052
14052
|
return [
|
|
14053
|
-
n("div",
|
|
14053
|
+
n("div", Bh, [
|
|
14054
14054
|
n("div", Eh, b(e.$t("time.time")), 1),
|
|
14055
14055
|
n("div", Oh, b(r.computedTzTime((w = a.currentHourData) == null ? void 0 : w.utc)), 1)
|
|
14056
14056
|
]),
|
|
@@ -14085,13 +14085,13 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14085
14085
|
}),
|
|
14086
14086
|
L(d),
|
|
14087
14087
|
L(u, { class: "d-flex justify-space-between align-center" }, {
|
|
14088
|
-
default:
|
|
14088
|
+
default: C(() => {
|
|
14089
14089
|
var w;
|
|
14090
14090
|
return [
|
|
14091
14091
|
(w = o.followList) != null && w.some((k) => {
|
|
14092
14092
|
var S, _;
|
|
14093
14093
|
return (k == null ? void 0 : k.id) === a.form.followId || ((S = k == null ? void 0 : k.coordinate) == null ? void 0 : S.lng) === a.form.lng && ((_ = k == null ? void 0 : k.coordinate) == null ? void 0 : _.lat) === a.form.lat;
|
|
14094
|
-
}) ? (
|
|
14094
|
+
}) ? (P(), B(l, {
|
|
14095
14095
|
key: 0,
|
|
14096
14096
|
class: "text-none text-body-1",
|
|
14097
14097
|
id: "idm-gl4-spot-meteo-follow",
|
|
@@ -14100,14 +14100,14 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14100
14100
|
height: "32",
|
|
14101
14101
|
onClick: Se(r.handleCancelFollow, ["stop"])
|
|
14102
14102
|
}, {
|
|
14103
|
-
prepend:
|
|
14103
|
+
prepend: C(() => t[19] || (t[19] = [
|
|
14104
14104
|
n("i", { class: "iconfont icon-yishoucang text-h6 text-warning" }, null, -1)
|
|
14105
14105
|
])),
|
|
14106
|
-
default:
|
|
14106
|
+
default: C(() => [
|
|
14107
14107
|
de(" " + b(e.$t("actions.unfollow")), 1)
|
|
14108
14108
|
]),
|
|
14109
14109
|
_: 1
|
|
14110
|
-
}, 8, ["onClick"])) : (
|
|
14110
|
+
}, 8, ["onClick"])) : (P(), B(l, {
|
|
14111
14111
|
key: 1,
|
|
14112
14112
|
id: "idm-gl4-spot-meteo-unfollow",
|
|
14113
14113
|
class: "text-none text-body-1",
|
|
@@ -14116,10 +14116,10 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14116
14116
|
height: "32",
|
|
14117
14117
|
onClick: Se(r.handleFollow, ["stop"])
|
|
14118
14118
|
}, {
|
|
14119
|
-
prepend:
|
|
14119
|
+
prepend: C(() => t[20] || (t[20] = [
|
|
14120
14120
|
n("i", { class: "iconfont icon-weishoucang text-h6" }, null, -1)
|
|
14121
14121
|
])),
|
|
14122
|
-
default:
|
|
14122
|
+
default: C(() => [
|
|
14123
14123
|
de(b(e.$t("actions.follow")) + " ", 1)
|
|
14124
14124
|
]),
|
|
14125
14125
|
_: 1
|
|
@@ -14132,7 +14132,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14132
14132
|
class: "text-none text-body-1",
|
|
14133
14133
|
onClick: Se(r.handleMeteoMore, ["stop"])
|
|
14134
14134
|
}, {
|
|
14135
|
-
default:
|
|
14135
|
+
default: C(() => [
|
|
14136
14136
|
de(b(e.$t("spot.forecast")), 1)
|
|
14137
14137
|
]),
|
|
14138
14138
|
_: 1
|
|
@@ -14144,15 +14144,15 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14144
14144
|
]),
|
|
14145
14145
|
_: 1
|
|
14146
14146
|
})) : N("", !0),
|
|
14147
|
-
a.showMeteo && o.simple ? (
|
|
14147
|
+
a.showMeteo && o.simple ? (P(), B(v, {
|
|
14148
14148
|
key: 2,
|
|
14149
14149
|
ref: "spotMeteo",
|
|
14150
14150
|
class: "position-absolute bottom-0 rounded-t-4",
|
|
14151
14151
|
style: { width: "100vw", "z-index": "1001" }
|
|
14152
14152
|
}, {
|
|
14153
|
-
default:
|
|
14153
|
+
default: C(() => [
|
|
14154
14154
|
L(s, null, {
|
|
14155
|
-
default:
|
|
14155
|
+
default: C(() => {
|
|
14156
14156
|
var w;
|
|
14157
14157
|
return [
|
|
14158
14158
|
n("div", lu, [
|
|
@@ -14164,7 +14164,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14164
14164
|
(w = o.followList) != null && w.some((k) => {
|
|
14165
14165
|
var S, _;
|
|
14166
14166
|
return (k == null ? void 0 : k.id) === a.form.followId || ((S = k == null ? void 0 : k.coordinate) == null ? void 0 : S.lng) === a.form.lng && ((_ = k == null ? void 0 : k.coordinate) == null ? void 0 : _.lat) === a.form.lat;
|
|
14167
|
-
}) ? (
|
|
14167
|
+
}) ? (P(), B(l, {
|
|
14168
14168
|
key: 0,
|
|
14169
14169
|
class: "text-none text-body-1 rounded-circle",
|
|
14170
14170
|
variant: "text",
|
|
@@ -14174,12 +14174,12 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14174
14174
|
"min-width": "28",
|
|
14175
14175
|
onClick: Se(r.handleCancelFollow, ["stop"])
|
|
14176
14176
|
}, {
|
|
14177
|
-
default:
|
|
14177
|
+
default: C(() => t[22] || (t[22] = [
|
|
14178
14178
|
n("i", { class: "iconfont icon-yishoucang text-h4 text-warning" }, null, -1)
|
|
14179
14179
|
])),
|
|
14180
14180
|
_: 1,
|
|
14181
14181
|
__: [22]
|
|
14182
|
-
}, 8, ["onClick"])) : (
|
|
14182
|
+
}, 8, ["onClick"])) : (P(), B(l, {
|
|
14183
14183
|
key: 1,
|
|
14184
14184
|
class: "text-none text-body-1 rounded-circle",
|
|
14185
14185
|
variant: "plain",
|
|
@@ -14189,7 +14189,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14189
14189
|
"min-width": "28",
|
|
14190
14190
|
onClick: Se(r.handleFollow, ["stop"])
|
|
14191
14191
|
}, {
|
|
14192
|
-
default:
|
|
14192
|
+
default: C(() => t[23] || (t[23] = [
|
|
14193
14193
|
n("i", { class: "iconfont icon-weishoucang text-h4" }, null, -1)
|
|
14194
14194
|
])),
|
|
14195
14195
|
_: 1,
|
|
@@ -14202,7 +14202,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14202
14202
|
variant: "plain",
|
|
14203
14203
|
onClick: Se(r.handleCloseMeteo, ["stop"])
|
|
14204
14204
|
}, {
|
|
14205
|
-
default:
|
|
14205
|
+
default: C(() => t[24] || (t[24] = [
|
|
14206
14206
|
n("i", { class: "iconfont icon-close text-h4" }, null, -1)
|
|
14207
14207
|
])),
|
|
14208
14208
|
_: 1,
|
|
@@ -14218,7 +14218,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14218
14218
|
}),
|
|
14219
14219
|
L(d),
|
|
14220
14220
|
L(h, { class: "text-body-1 px-0 py-2" }, {
|
|
14221
|
-
default:
|
|
14221
|
+
default: C(() => {
|
|
14222
14222
|
var w, k;
|
|
14223
14223
|
return [
|
|
14224
14224
|
n("div", mu, [
|
|
@@ -14270,7 +14270,7 @@ function Cu(e, t, o, i, a, r) {
|
|
|
14270
14270
|
_: 1
|
|
14271
14271
|
}, 512)) : N("", !0),
|
|
14272
14272
|
Qe(n("div", zu, [
|
|
14273
|
-
(
|
|
14273
|
+
(P(), I("svg", Lu, [
|
|
14274
14274
|
n("use", {
|
|
14275
14275
|
"xlink:href": `#icon-spot-${o.theme}`
|
|
14276
14276
|
}, null, 8, Pu)
|
|
@@ -14642,7 +14642,7 @@ const Su = {
|
|
|
14642
14642
|
}, Tu = { class: "idm-gl4-measure" };
|
|
14643
14643
|
function Ru(e, t, o, i, a, r) {
|
|
14644
14644
|
const l = R("VBtn"), c = R("VTooltip");
|
|
14645
|
-
return
|
|
14645
|
+
return P(), I("div", Tu, [
|
|
14646
14646
|
n("div", {
|
|
14647
14647
|
class: "menu-bar-box transition pa-1",
|
|
14648
14648
|
style: ue({ top: o.top + o.paddingTop + 166 + "px", right: a.right + "px" })
|
|
@@ -14655,7 +14655,7 @@ function Ru(e, t, o, i, a, r) {
|
|
|
14655
14655
|
"open-on-focus": !o.simple,
|
|
14656
14656
|
"open-on-hover": !o.simple
|
|
14657
14657
|
}, {
|
|
14658
|
-
activator:
|
|
14658
|
+
activator: C(({ props: s }) => [
|
|
14659
14659
|
L(l, Y(s, {
|
|
14660
14660
|
"min-width": "32",
|
|
14661
14661
|
width: "32",
|
|
@@ -14663,7 +14663,7 @@ function Ru(e, t, o, i, a, r) {
|
|
|
14663
14663
|
class: ["text-none pa-0", a.toggle ? "bg-primary active-border" : ""],
|
|
14664
14664
|
onClick: r.handleMenuToggle
|
|
14665
14665
|
}), {
|
|
14666
|
-
default:
|
|
14666
|
+
default: C(() => t[0] || (t[0] = [
|
|
14667
14667
|
n("i", { class: "iconfont icon-a-Measuredistance text-h4" }, null, -1)
|
|
14668
14668
|
])),
|
|
14669
14669
|
_: 2,
|
|
@@ -14676,25 +14676,25 @@ function Ru(e, t, o, i, a, r) {
|
|
|
14676
14676
|
]);
|
|
14677
14677
|
}
|
|
14678
14678
|
const Iu = /* @__PURE__ */ ne(Su, [["render", Ru]]);
|
|
14679
|
-
var
|
|
14679
|
+
var Z = { image: /* @__PURE__ */ new Map(), background: /* @__PURE__ */ new Map(), resource: /* @__PURE__ */ new Map(), defaultStyle: /* @__PURE__ */ new Map(), baseStyle: /* @__PURE__ */ new Map(), computedStyle: /* @__PURE__ */ new WeakMap(), font: /* @__PURE__ */ new Set(), session: { styleMap: /* @__PURE__ */ new Map(), styleCache: /* @__PURE__ */ new WeakMap(), nodeMap: /* @__PURE__ */ new Map() } };
|
|
14680
14680
|
function Du(e = "soft") {
|
|
14681
|
-
switch (
|
|
14681
|
+
switch (Z.session.__counterEpoch = (Z.session.__counterEpoch || 0) + 1, e) {
|
|
14682
14682
|
case "auto": {
|
|
14683
|
-
|
|
14683
|
+
Z.session.styleMap = /* @__PURE__ */ new Map(), Z.session.nodeMap = /* @__PURE__ */ new Map();
|
|
14684
14684
|
return;
|
|
14685
14685
|
}
|
|
14686
14686
|
case "soft": {
|
|
14687
|
-
|
|
14687
|
+
Z.session.styleMap = /* @__PURE__ */ new Map(), Z.session.nodeMap = /* @__PURE__ */ new Map(), Z.session.styleCache = /* @__PURE__ */ new WeakMap();
|
|
14688
14688
|
return;
|
|
14689
14689
|
}
|
|
14690
14690
|
case "full":
|
|
14691
14691
|
return;
|
|
14692
14692
|
case "disabled": {
|
|
14693
|
-
|
|
14693
|
+
Z.session.styleMap = /* @__PURE__ */ new Map(), Z.session.nodeMap = /* @__PURE__ */ new Map(), Z.session.styleCache = /* @__PURE__ */ new WeakMap(), Z.computedStyle = /* @__PURE__ */ new WeakMap(), Z.baseStyle = /* @__PURE__ */ new Map(), Z.defaultStyle = /* @__PURE__ */ new Map(), Z.image = /* @__PURE__ */ new Map(), Z.background = /* @__PURE__ */ new Map(), Z.resource = /* @__PURE__ */ new Map(), Z.font = /* @__PURE__ */ new Set();
|
|
14694
14694
|
return;
|
|
14695
14695
|
}
|
|
14696
14696
|
default: {
|
|
14697
|
-
|
|
14697
|
+
Z.session.styleMap = /* @__PURE__ */ new Map(), Z.session.nodeMap = /* @__PURE__ */ new Map(), Z.session.styleCache = /* @__PURE__ */ new WeakMap();
|
|
14698
14698
|
return;
|
|
14699
14699
|
}
|
|
14700
14700
|
}
|
|
@@ -14769,7 +14769,7 @@ function Nu(e, t) {
|
|
|
14769
14769
|
return !!t;
|
|
14770
14770
|
}
|
|
14771
14771
|
}
|
|
14772
|
-
function
|
|
14772
|
+
function Zu(e, t) {
|
|
14773
14773
|
if (!t)
|
|
14774
14774
|
return e;
|
|
14775
14775
|
if (t.includes("{url}"))
|
|
@@ -14789,7 +14789,7 @@ function Gi(e) {
|
|
|
14789
14789
|
i.onload = () => t(String(i.result || "")), i.onerror = () => o(new Error("read_failed")), i.readAsDataURL(e);
|
|
14790
14790
|
});
|
|
14791
14791
|
}
|
|
14792
|
-
function
|
|
14792
|
+
function Bu(e, t) {
|
|
14793
14793
|
return [t.as || "blob", t.timeout ?? 3e3, t.useProxy || "", t.errorTTL ?? 8e3, e].join("|");
|
|
14794
14794
|
}
|
|
14795
14795
|
async function Ue(e, t = {}) {
|
|
@@ -14817,14 +14817,14 @@ async function Ue(e, t = {}) {
|
|
|
14817
14817
|
}
|
|
14818
14818
|
if (/^about:blank$/i.test(e))
|
|
14819
14819
|
return o === "dataURL" ? { ok: !0, data: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", status: 200, url: e, fromCache: !1, mime: "image/png" } : { ok: !0, data: o === "text" ? "" : new Blob([]), status: 200, url: e, fromCache: !1 };
|
|
14820
|
-
let s =
|
|
14820
|
+
let s = Bu(e, { as: o, timeout: i, useProxy: a, errorTTL: r }), d = Ho.get(s);
|
|
14821
14821
|
if (d && d.until > Date.now())
|
|
14822
14822
|
return { ...d.result, fromCache: !0 };
|
|
14823
14823
|
d && Ho.delete(s);
|
|
14824
14824
|
let m = aa.get(s);
|
|
14825
14825
|
if (m)
|
|
14826
14826
|
return m;
|
|
14827
|
-
let g = Nu(e, a) ?
|
|
14827
|
+
let g = Nu(e, a) ? Zu(e, a) : e, p = t.credentials;
|
|
14828
14828
|
if (!p)
|
|
14829
14829
|
try {
|
|
14830
14830
|
let u = typeof location < "u" && location.href ? location.href : "http://localhost/", x = new URL(e, u);
|
|
@@ -14867,25 +14867,25 @@ async function ir(e, t = {}) {
|
|
|
14867
14867
|
if (!o)
|
|
14868
14868
|
return e;
|
|
14869
14869
|
let i = Qo(o);
|
|
14870
|
-
if (
|
|
14871
|
-
let a =
|
|
14870
|
+
if (Z.background.has(i)) {
|
|
14871
|
+
let a = Z.background.get(i);
|
|
14872
14872
|
return a ? `url("${a}")` : "none";
|
|
14873
14873
|
}
|
|
14874
14874
|
try {
|
|
14875
14875
|
let a = await Ue(i, { as: "dataURL", useProxy: t.useProxy });
|
|
14876
|
-
return a.ok ? (
|
|
14876
|
+
return a.ok ? (Z.background.set(i, a.data), `url("${a.data}")`) : (Z.background.set(i, null), "none");
|
|
14877
14877
|
} catch {
|
|
14878
|
-
return
|
|
14878
|
+
return Z.background.set(i, null), "none";
|
|
14879
14879
|
}
|
|
14880
14880
|
}
|
|
14881
14881
|
var Eu = /* @__PURE__ */ new Set(["meta", "script", "noscript", "title", "link", "template"]), ba = /* @__PURE__ */ new Set(["meta", "link", "style", "title", "noscript", "script", "template", "g", "defs", "use", "marker", "mask", "clipPath", "pattern", "path", "polygon", "polyline", "line", "circle", "ellipse", "rect", "filter", "lineargradient", "radialgradient", "stop"]);
|
|
14882
14882
|
function Ou(e) {
|
|
14883
14883
|
if (e = String(e).toLowerCase(), ba.has(e)) {
|
|
14884
14884
|
let r = {};
|
|
14885
|
-
return
|
|
14885
|
+
return Z.defaultStyle.set(e, r), r;
|
|
14886
14886
|
}
|
|
14887
|
-
if (
|
|
14888
|
-
return
|
|
14887
|
+
if (Z.defaultStyle.has(e))
|
|
14888
|
+
return Z.defaultStyle.get(e);
|
|
14889
14889
|
let t = document.getElementById("snapdom-sandbox");
|
|
14890
14890
|
t || (t = document.createElement("div"), t.id = "snapdom-sandbox", t.setAttribute("data-snapdom-sandbox", "true"), t.setAttribute("aria-hidden", "true"), t.style.position = "absolute", t.style.left = "-9999px", t.style.top = "-9999px", t.style.width = "0px", t.style.height = "0px", t.style.overflow = "hidden", document.body.appendChild(t));
|
|
14891
14891
|
let o = document.createElement(e);
|
|
@@ -14897,7 +14897,7 @@ function Ou(e) {
|
|
|
14897
14897
|
let l = i.getPropertyValue(r);
|
|
14898
14898
|
a[r] = l;
|
|
14899
14899
|
}
|
|
14900
|
-
return t.removeChild(o),
|
|
14900
|
+
return t.removeChild(o), Z.defaultStyle.set(e, a), a;
|
|
14901
14901
|
}
|
|
14902
14902
|
var Xu = /(?:^|-)(animation|transition)(?:-|$)/i, ju = /^(--|view-timeline|scroll-timeline|animation-trigger|offset-|position-try|app-region|interactivity|overlay|view-transition|-webkit-locale|-webkit-user-(?:drag|modify)|-webkit-tap-highlight-color|-webkit-text-security)$/i, Vu = /* @__PURE__ */ new Set(["cursor", "pointer-events", "touch-action", "user-select", "print-color-adjust", "speak", "reading-flow", "reading-order", "anchor-name", "anchor-scope", "container-name", "container-type", "timeline-scope"]);
|
|
14903
14903
|
function rr(e) {
|
|
@@ -14923,7 +14923,7 @@ function Hu(e) {
|
|
|
14923
14923
|
function Yu(e) {
|
|
14924
14924
|
let t = /* @__PURE__ */ new Map();
|
|
14925
14925
|
for (let i of e) {
|
|
14926
|
-
let a =
|
|
14926
|
+
let a = Z.defaultStyle.get(i);
|
|
14927
14927
|
if (!a)
|
|
14928
14928
|
continue;
|
|
14929
14929
|
let r = Object.entries(a).map(([l, c]) => `${l}:${c};`).sort().join("");
|
|
@@ -14944,8 +14944,8 @@ function Uu(e) {
|
|
|
14944
14944
|
function lr(e, t = null) {
|
|
14945
14945
|
if (!(e instanceof Element))
|
|
14946
14946
|
return window.getComputedStyle(e, t);
|
|
14947
|
-
let o =
|
|
14948
|
-
if (o || (o = /* @__PURE__ */ new Map(),
|
|
14947
|
+
let o = Z.computedStyle.get(e);
|
|
14948
|
+
if (o || (o = /* @__PURE__ */ new Map(), Z.computedStyle.set(e, o)), !o.has(t)) {
|
|
14949
14949
|
let i = window.getComputedStyle(e, t);
|
|
14950
14950
|
o.set(t, i);
|
|
14951
14951
|
}
|
|
@@ -15282,16 +15282,16 @@ async function dr(e, t, o = "") {
|
|
|
15282
15282
|
} catch {
|
|
15283
15283
|
}
|
|
15284
15284
|
if (!Ke(g)) {
|
|
15285
|
-
if ((a =
|
|
15286
|
-
(r =
|
|
15285
|
+
if ((a = Z.resource) != null && a.has(g)) {
|
|
15286
|
+
(r = Z.font) == null || r.add(g), i = i.replace(d[0], `url(${Z.resource.get(g)})`);
|
|
15287
15287
|
continue;
|
|
15288
15288
|
}
|
|
15289
|
-
if (!((l =
|
|
15289
|
+
if (!((l = Z.font) != null && l.has(g)))
|
|
15290
15290
|
try {
|
|
15291
15291
|
let p = await Ue(g, { as: "dataURL", useProxy: o, silent: !0 });
|
|
15292
15292
|
if (p.ok && typeof p.data == "string") {
|
|
15293
15293
|
let y = p.data;
|
|
15294
|
-
(c =
|
|
15294
|
+
(c = Z.resource) == null || c.set(g, y), (s = Z.font) == null || s.add(g), i = i.replace(d[0], `url(${y})`);
|
|
15295
15295
|
}
|
|
15296
15296
|
} catch {
|
|
15297
15297
|
console.warn("[snapDOM] Failed to fetch font resource:", g);
|
|
@@ -15306,7 +15306,7 @@ function pp(e) {
|
|
|
15306
15306
|
let t = (l, c) => e.some(([s, d]) => !(d < l || s > c)), o = t(0, 255) || t(305, 305), i = t(256, 591) || t(7680, 7935), a = t(880, 1023), r = t(1024, 1279);
|
|
15307
15307
|
return t(7840, 7929) || t(258, 259) || t(416, 417) || t(431, 432) ? "vietnamese" : r ? "cyrillic" : a ? "greek" : i ? "latin-ext" : o ? "latin" : null;
|
|
15308
15308
|
}
|
|
15309
|
-
function
|
|
15309
|
+
function Zi(e = {}) {
|
|
15310
15310
|
let t = new Set((e.families || []).map((a) => String(a).toLowerCase())), o = new Set((e.domains || []).map((a) => String(a).toLowerCase())), i = new Set((e.subsets || []).map((a) => String(a).toLowerCase()));
|
|
15311
15311
|
return (a, r) => {
|
|
15312
15312
|
if (t.size && t.has(a.family.toLowerCase()))
|
|
@@ -15399,17 +15399,17 @@ async function yp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
|
|
|
15399
15399
|
var h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he;
|
|
15400
15400
|
e instanceof Set || (e = /* @__PURE__ */ new Set()), t instanceof Set || (t = /* @__PURE__ */ new Set());
|
|
15401
15401
|
let r = /* @__PURE__ */ new Map();
|
|
15402
|
-
for (let
|
|
15403
|
-
let [H, U, te, X] = String(
|
|
15402
|
+
for (let D of e) {
|
|
15403
|
+
let [H, U, te, X] = String(D).split("__");
|
|
15404
15404
|
if (!H)
|
|
15405
15405
|
continue;
|
|
15406
15406
|
let O = r.get(H) || [];
|
|
15407
15407
|
O.push({ w: parseInt(U, 10), s: te, st: parseInt(X, 10) }), r.set(H, O);
|
|
15408
15408
|
}
|
|
15409
|
-
function l(
|
|
15410
|
-
if (!r.has(
|
|
15409
|
+
function l(D, H, U, te) {
|
|
15410
|
+
if (!r.has(D))
|
|
15411
15411
|
return !1;
|
|
15412
|
-
let X = r.get(
|
|
15412
|
+
let X = r.get(D), O = np(U), $ = sp(H), A = cp(te), ie = O.min !== O.max, ge = O.min, xe = (se) => $.kind === "normal" && se === "normal" || $.kind !== "normal" && (se === "italic" || se === "oblique"), ke = !1;
|
|
15413
15413
|
for (let se of X) {
|
|
15414
15414
|
let fe = ie ? se.w >= O.min && se.w <= O.max : se.w === ge, ve = xe(Ko(se.s)), Me = se.st >= A.min && se.st <= A.max;
|
|
15415
15415
|
if (fe && ve && Me) {
|
|
@@ -15433,37 +15433,37 @@ async function yp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
|
|
|
15433
15433
|
}
|
|
15434
15434
|
return !1;
|
|
15435
15435
|
}
|
|
15436
|
-
let c =
|
|
15437
|
-
if ((h =
|
|
15438
|
-
return
|
|
15436
|
+
let c = Zi(o), s = fp(e, o, i, a);
|
|
15437
|
+
if ((h = Z.resource) != null && h.has(s))
|
|
15438
|
+
return Z.resource.get(s);
|
|
15439
15439
|
let d = dp(e), m = [], g = sa;
|
|
15440
|
-
for (let
|
|
15441
|
-
let H =
|
|
15440
|
+
for (let D of document.querySelectorAll("style")) {
|
|
15441
|
+
let H = D.textContent || "";
|
|
15442
15442
|
for (let U of H.matchAll(g)) {
|
|
15443
15443
|
let te = (U[2] || U[4] || "").trim();
|
|
15444
15444
|
!te || Ke(te) || document.querySelector(`link[rel="stylesheet"][href="${te}"]`) || m.push(te);
|
|
15445
15445
|
}
|
|
15446
15446
|
}
|
|
15447
|
-
m.length && await Promise.all(m.map((
|
|
15448
|
-
if (document.querySelector(`link[rel="stylesheet"][href="${
|
|
15447
|
+
m.length && await Promise.all(m.map((D) => new Promise((H) => {
|
|
15448
|
+
if (document.querySelector(`link[rel="stylesheet"][href="${D}"]`))
|
|
15449
15449
|
return H(null);
|
|
15450
15450
|
let U = document.createElement("link");
|
|
15451
|
-
U.rel = "stylesheet", U.href =
|
|
15451
|
+
U.rel = "stylesheet", U.href = D, U.setAttribute("data-snapdom", "injected-import"), U.onload = () => H(U), U.onerror = () => H(null), document.head.appendChild(U);
|
|
15452
15452
|
})));
|
|
15453
|
-
let p = "", y = Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter((
|
|
15454
|
-
for (let
|
|
15453
|
+
let p = "", y = Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter((D) => !!D.href);
|
|
15454
|
+
for (let D of y)
|
|
15455
15455
|
try {
|
|
15456
|
-
if (Ke(
|
|
15456
|
+
if (Ke(D.href))
|
|
15457
15457
|
continue;
|
|
15458
15458
|
let H = "", U = !1;
|
|
15459
15459
|
try {
|
|
15460
|
-
U = new URL(
|
|
15460
|
+
U = new URL(D.href, location.href).origin === location.origin;
|
|
15461
15461
|
} catch {
|
|
15462
15462
|
}
|
|
15463
|
-
if (!U && !mp(
|
|
15463
|
+
if (!U && !mp(D.href, d))
|
|
15464
15464
|
continue;
|
|
15465
15465
|
if (U) {
|
|
15466
|
-
let X = Array.from(document.styleSheets).find((O) => O.href ===
|
|
15466
|
+
let X = Array.from(document.styleSheets).find((O) => O.href === D.href);
|
|
15467
15467
|
if (X)
|
|
15468
15468
|
try {
|
|
15469
15469
|
let O = X.cssRules || [];
|
|
@@ -15471,82 +15471,82 @@ async function yp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
|
|
|
15471
15471
|
} catch {
|
|
15472
15472
|
}
|
|
15473
15473
|
}
|
|
15474
|
-
if (!H && (H = (await Ue(
|
|
15474
|
+
if (!H && (H = (await Ue(D.href, { as: "text", useProxy: a })).data, Ke(D.href)))
|
|
15475
15475
|
continue;
|
|
15476
|
-
H = await hp(H,
|
|
15476
|
+
H = await hp(H, D.href, a);
|
|
15477
15477
|
let te = "";
|
|
15478
15478
|
for (let X of H.match(up) || []) {
|
|
15479
15479
|
let O = (((u = X.match(/font-family:\s*([^;]+);/i)) == null ? void 0 : u[1]) || "").trim(), $ = oa(O);
|
|
15480
15480
|
if (!$ || Ke($))
|
|
15481
15481
|
continue;
|
|
15482
|
-
let A = (((x = X.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : x[1]) || "400").trim(), ie = (((v = X.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "normal").trim(), ge = (((w = X.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : w[1]) || "100%").trim(), xe = (((k = X.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : k[1]) || "").trim(), ke = (((S = X.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : S[1]) || "").trim(), se = wa(ke,
|
|
15482
|
+
let A = (((x = X.match(/font-weight:\s*([^;]+);/i)) == null ? void 0 : x[1]) || "400").trim(), ie = (((v = X.match(/font-style:\s*([^;]+);/i)) == null ? void 0 : v[1]) || "normal").trim(), ge = (((w = X.match(/font-stretch:\s*([^;]+);/i)) == null ? void 0 : w[1]) || "100%").trim(), xe = (((k = X.match(/unicode-range:\s*([^;]+);/i)) == null ? void 0 : k[1]) || "").trim(), ke = (((S = X.match(/src\s*:\s*([^;}]+)[;}]/i)) == null ? void 0 : S[1]) || "").trim(), se = wa(ke, D.href);
|
|
15483
15483
|
if (!l($, ie, A, ge))
|
|
15484
15484
|
continue;
|
|
15485
15485
|
let fe = cr(xe);
|
|
15486
15486
|
if (!mr(t, fe))
|
|
15487
15487
|
continue;
|
|
15488
|
-
let ve = { family: $, weightSpec: A, styleSpec: ie, stretchSpec: ge, unicodeRange: xe, srcRaw: ke, srcUrls: se, href:
|
|
15488
|
+
let ve = { family: $, weightSpec: A, styleSpec: ie, stretchSpec: ge, unicodeRange: xe, srcRaw: ke, srcUrls: se, href: D.href };
|
|
15489
15489
|
if (o && c(ve, fe))
|
|
15490
15490
|
continue;
|
|
15491
|
-
let Me = /url\(/i.test(ke) ? await dr(X,
|
|
15491
|
+
let Me = /url\(/i.test(ke) ? await dr(X, D.href, a) : X;
|
|
15492
15492
|
te += Me;
|
|
15493
15493
|
}
|
|
15494
15494
|
te.trim() && (p += te);
|
|
15495
15495
|
} catch {
|
|
15496
|
-
console.warn("[snapDOM] Failed to process stylesheet:",
|
|
15496
|
+
console.warn("[snapDOM] Failed to process stylesheet:", D.href);
|
|
15497
15497
|
}
|
|
15498
|
-
let f = { requiredIndex: r, usedCodepoints: t, faceMatchesRequired: l, simpleExcluder: o ?
|
|
15499
|
-
for (let
|
|
15500
|
-
if (!(
|
|
15498
|
+
let f = { requiredIndex: r, usedCodepoints: t, faceMatchesRequired: l, simpleExcluder: o ? Zi(o) : null, useProxy: a, visitedSheets: /* @__PURE__ */ new Set(), depth: 0 };
|
|
15499
|
+
for (let D of document.styleSheets)
|
|
15500
|
+
if (!(D.href && y.some((H) => H.href === D.href)))
|
|
15501
15501
|
try {
|
|
15502
|
-
let H =
|
|
15503
|
-
H && f.visitedSheets.add(H), await hr(
|
|
15502
|
+
let H = D.href || location.href;
|
|
15503
|
+
H && f.visitedSheets.add(H), await hr(D, H, async (U) => {
|
|
15504
15504
|
p += U;
|
|
15505
15505
|
}, f);
|
|
15506
15506
|
} catch {
|
|
15507
15507
|
}
|
|
15508
15508
|
try {
|
|
15509
|
-
for (let
|
|
15510
|
-
if (!
|
|
15509
|
+
for (let D of document.fonts || []) {
|
|
15510
|
+
if (!D || !D.family || D.status !== "loaded" || !D._snapdomSrc)
|
|
15511
15511
|
continue;
|
|
15512
|
-
let H = String(
|
|
15512
|
+
let H = String(D.family).replace(/^['"]+|['"]+$/g, "");
|
|
15513
15513
|
if (Ke(H) || !r.has(H) || o != null && o.families && o.families.some((te) => String(te).toLowerCase() === H.toLowerCase()))
|
|
15514
15514
|
continue;
|
|
15515
|
-
let U =
|
|
15515
|
+
let U = D._snapdomSrc;
|
|
15516
15516
|
if (!String(U).startsWith("data:")) {
|
|
15517
|
-
if ((_ =
|
|
15518
|
-
U =
|
|
15519
|
-
else if (!((T =
|
|
15517
|
+
if ((_ = Z.resource) != null && _.has(D._snapdomSrc))
|
|
15518
|
+
U = Z.resource.get(D._snapdomSrc), (M = Z.font) == null || M.add(D._snapdomSrc);
|
|
15519
|
+
else if (!((T = Z.font) != null && T.has(D._snapdomSrc)))
|
|
15520
15520
|
try {
|
|
15521
|
-
let te = await Ue(
|
|
15521
|
+
let te = await Ue(D._snapdomSrc, { as: "dataURL", useProxy: a, silent: !0 });
|
|
15522
15522
|
if (te.ok && typeof te.data == "string")
|
|
15523
|
-
U = te.data, (W =
|
|
15523
|
+
U = te.data, (W = Z.resource) == null || W.set(D._snapdomSrc, U), (F = Z.font) == null || F.add(D._snapdomSrc);
|
|
15524
15524
|
else
|
|
15525
15525
|
continue;
|
|
15526
15526
|
} catch {
|
|
15527
|
-
console.warn("[snapDOM] Failed to fetch dynamic font src:",
|
|
15527
|
+
console.warn("[snapDOM] Failed to fetch dynamic font src:", D._snapdomSrc);
|
|
15528
15528
|
continue;
|
|
15529
15529
|
}
|
|
15530
15530
|
}
|
|
15531
|
-
p += `@font-face{font-family:'${H}';src:url(${U});font-style:${
|
|
15531
|
+
p += `@font-face{font-family:'${H}';src:url(${U});font-style:${D.style || "normal"};font-weight:${D.weight || "normal"};}`;
|
|
15532
15532
|
}
|
|
15533
15533
|
} catch {
|
|
15534
15534
|
}
|
|
15535
|
-
for (let
|
|
15536
|
-
if (!
|
|
15535
|
+
for (let D of i) {
|
|
15536
|
+
if (!D || typeof D != "object")
|
|
15537
15537
|
continue;
|
|
15538
|
-
let H = String(
|
|
15538
|
+
let H = String(D.family || "").replace(/^['"]+|['"]+$/g, "");
|
|
15539
15539
|
if (!H || Ke(H) || !r.has(H) || o != null && o.families && o.families.some((A) => String(A).toLowerCase() === H.toLowerCase()))
|
|
15540
15540
|
continue;
|
|
15541
|
-
let U =
|
|
15541
|
+
let U = D.weight != null ? String(D.weight) : "normal", te = D.style != null ? String(D.style) : "normal", X = D.stretchPct != null ? `${D.stretchPct}%` : "100%", O = String(D.src || ""), $ = O;
|
|
15542
15542
|
if (!$.startsWith("data:")) {
|
|
15543
|
-
if ((E =
|
|
15544
|
-
$ =
|
|
15545
|
-
else if (!((J =
|
|
15543
|
+
if ((E = Z.resource) != null && E.has(O))
|
|
15544
|
+
$ = Z.resource.get(O), (V = Z.font) == null || V.add(O);
|
|
15545
|
+
else if (!((J = Z.font) != null && J.has(O)))
|
|
15546
15546
|
try {
|
|
15547
15547
|
let A = await Ue(O, { as: "dataURL", useProxy: a, silent: !0 });
|
|
15548
15548
|
if (A.ok && typeof A.data == "string")
|
|
15549
|
-
$ = A.data, (Q =
|
|
15549
|
+
$ = A.data, (Q = Z.resource) == null || Q.set(O, $), (ee = Z.font) == null || ee.add(O);
|
|
15550
15550
|
else
|
|
15551
15551
|
continue;
|
|
15552
15552
|
} catch {
|
|
@@ -15556,7 +15556,7 @@ async function yp({ required: e, usedCodepoints: t, exclude: o = void 0, localFo
|
|
|
15556
15556
|
}
|
|
15557
15557
|
p += `@font-face{font-family:'${H}';src:url(${$});font-style:${te};font-weight:${U};font-stretch:${X};}`;
|
|
15558
15558
|
}
|
|
15559
|
-
return p && (p = gp(p), (he =
|
|
15559
|
+
return p && (p = gp(p), (he = Z.resource) == null || he.set(s, p)), p;
|
|
15560
15560
|
}
|
|
15561
15561
|
function bp(e) {
|
|
15562
15562
|
let t = /* @__PURE__ */ new Set();
|
|
@@ -15674,7 +15674,7 @@ function lt(e, { fast: t = !1 } = {}) {
|
|
|
15674
15674
|
return e();
|
|
15675
15675
|
"requestIdleCallback" in window ? requestIdleCallback(e, { timeout: 50 }) : setTimeout(e, 1);
|
|
15676
15676
|
}
|
|
15677
|
-
function
|
|
15677
|
+
function Bo() {
|
|
15678
15678
|
if (typeof navigator > "u")
|
|
15679
15679
|
return !1;
|
|
15680
15680
|
let e = navigator.userAgent || "", t = e.toLowerCase(), o = t.includes("safari") && !t.includes("chrome") && !t.includes("crios") && !t.includes("fxios") && !t.includes("android"), i = /applewebkit/i.test(e), a = /mobile/i.test(e), r = !/safari/i.test(e), l = i && a && r, c = /(micromessenger|wxwork|wecom|windowswechat|macwechat)/i.test(e), s = /(baiduboxapp|baidubrowser|baidusearch|baiduboxlite)/i.test(t), d = /ipad|iphone|ipod/.test(t) && i;
|
|
@@ -15743,7 +15743,7 @@ function zp(e) {
|
|
|
15743
15743
|
function Lp(e, t, o = !1) {
|
|
15744
15744
|
return !e || e.plugins && !o || (e.plugins = zp(t)), e;
|
|
15745
15745
|
}
|
|
15746
|
-
var
|
|
15746
|
+
var Bi = /* @__PURE__ */ new WeakMap(), ca = /* @__PURE__ */ new Map(), ma = 0;
|
|
15747
15747
|
function Eo() {
|
|
15748
15748
|
ma++;
|
|
15749
15749
|
}
|
|
@@ -15800,14 +15800,14 @@ function Mp(e) {
|
|
|
15800
15800
|
return t || (t = Object.entries(e).sort((o, i) => o[0] < i[0] ? -1 : o[0] > i[0] ? 1 : 0).map(([o, i]) => `${o}:${i}`).join(";"), Oi.set(e, t), t);
|
|
15801
15801
|
}
|
|
15802
15802
|
function Sp(e, t = null, o = {}) {
|
|
15803
|
-
let i =
|
|
15803
|
+
let i = Bi.get(e);
|
|
15804
15804
|
if (i && i.epoch === ma)
|
|
15805
15805
|
return i.snapshot;
|
|
15806
15806
|
let a = t || getComputedStyle(e), r = Cp(a, o);
|
|
15807
|
-
return Gp(e, a, r),
|
|
15807
|
+
return Gp(e, a, r), Bi.set(e, { epoch: ma, snapshot: r }), r;
|
|
15808
15808
|
}
|
|
15809
15809
|
function Tp(e, t) {
|
|
15810
|
-
return e && e.session && e.persist ? e : e && (e.styleMap || e.styleCache || e.nodeMap) ? { session: e, persist: { snapshotKeyCache: ca, defaultStyle:
|
|
15810
|
+
return e && e.session && e.persist ? e : e && (e.styleMap || e.styleCache || e.nodeMap) ? { session: e, persist: { snapshotKeyCache: ca, defaultStyle: Z.defaultStyle, baseStyle: Z.baseStyle, image: Z.image, resource: Z.resource, background: Z.background, font: Z.font }, options: t || {} } : { session: Z.session, persist: { snapshotKeyCache: ca, defaultStyle: Z.defaultStyle, baseStyle: Z.baseStyle, image: Z.image, resource: Z.resource, background: Z.background, font: Z.font }, options: e || t || {} };
|
|
15811
15811
|
}
|
|
15812
15812
|
async function nt(e, t, o, i) {
|
|
15813
15813
|
var p, y, f;
|
|
@@ -15965,7 +15965,7 @@ function ia(e, t, o) {
|
|
|
15965
15965
|
function Np(e) {
|
|
15966
15966
|
return e = e.trim(), !e || /:not\(\s*\[data-sd-slotted\]\s*\)\s*$/.test(e) ? e : `${e}:not([data-sd-slotted])`;
|
|
15967
15967
|
}
|
|
15968
|
-
function
|
|
15968
|
+
function Zp(e, t, o = !0) {
|
|
15969
15969
|
return e.split(",").map((i) => i.trim()).filter(Boolean).map((i) => {
|
|
15970
15970
|
if (i.startsWith(":where(") || i.startsWith("@"))
|
|
15971
15971
|
return i;
|
|
@@ -15973,9 +15973,9 @@ function Bp(e, t, o = !0) {
|
|
|
15973
15973
|
return `:where(${t} ${a})`;
|
|
15974
15974
|
}).join(", ");
|
|
15975
15975
|
}
|
|
15976
|
-
function
|
|
15976
|
+
function Bp(e, t) {
|
|
15977
15977
|
return e ? (e = e.replace(/:host\(([^)]+)\)/g, (o, i) => `:where(${t}:is(${i.trim()}))`), e = e.replace(/:host\b/g, `:where(${t})`), e = e.replace(/:host-context\(([^)]+)\)/g, (o, i) => `:where(:where(${i.trim()}) ${t})`), e = e.replace(/::slotted\(([^)]+)\)/g, (o, i) => `:where(${t} ${i.trim()})`), e = e.replace(/(^|})(\s*)([^@}{]+){/g, (o, i, a, r) => {
|
|
15978
|
-
let l =
|
|
15978
|
+
let l = Zp(r, t, !0);
|
|
15979
15979
|
return `${i}${a}${l}{`;
|
|
15980
15980
|
}), e) : "";
|
|
15981
15981
|
}
|
|
@@ -16102,26 +16102,26 @@ async function qp(e, t, o) {
|
|
|
16102
16102
|
let g = document.createElement("div");
|
|
16103
16103
|
return t.nodeMap.set(g, e), nt(e, g, t, o), g.style.overflow = "hidden", g.style.display = "block", g.style.width || (g.style.width = `${Math.round(l.width)}px`), g.style.height || (g.style.height = `${Math.round(l.height)}px`), g.appendChild(m), g;
|
|
16104
16104
|
}
|
|
16105
|
-
var
|
|
16105
|
+
var Zo = /* @__PURE__ */ new Map();
|
|
16106
16106
|
async function Oo(e) {
|
|
16107
16107
|
var o;
|
|
16108
|
-
if ((o =
|
|
16109
|
-
return
|
|
16110
|
-
if (
|
|
16111
|
-
return
|
|
16108
|
+
if ((o = Z.resource) != null && o.has(e))
|
|
16109
|
+
return Z.resource.get(e);
|
|
16110
|
+
if (Zo.has(e))
|
|
16111
|
+
return Zo.get(e);
|
|
16112
16112
|
let t = (async () => {
|
|
16113
16113
|
var a;
|
|
16114
16114
|
let i = await Ue(e, { as: "dataURL", silent: !0 });
|
|
16115
16115
|
if (!i.ok || typeof i.data != "string")
|
|
16116
16116
|
throw new Error(`[snapDOM] Failed to read blob URL: ${e}`);
|
|
16117
|
-
return (a =
|
|
16117
|
+
return (a = Z.resource) == null || a.set(e, i.data), i.data;
|
|
16118
16118
|
})();
|
|
16119
|
-
|
|
16119
|
+
Zo.set(e, t);
|
|
16120
16120
|
try {
|
|
16121
16121
|
let i = await t;
|
|
16122
|
-
return
|
|
16122
|
+
return Zo.set(e, i), i;
|
|
16123
16123
|
} catch (i) {
|
|
16124
|
-
throw
|
|
16124
|
+
throw Zo.delete(e), i;
|
|
16125
16125
|
}
|
|
16126
16126
|
}
|
|
16127
16127
|
var Qp = /\bblob:[^)"'\s]+/g;
|
|
@@ -16379,7 +16379,7 @@ async function $o(e, t, o) {
|
|
|
16379
16379
|
l.setAttribute("data-sd", u);
|
|
16380
16380
|
} catch {
|
|
16381
16381
|
}
|
|
16382
|
-
let v = Op(e.shadowRoot), w =
|
|
16382
|
+
let v = Op(e.shadowRoot), w = Bp(v, x), k = Vp(v), S = Yp(e, k, x);
|
|
16383
16383
|
Xp(l, S + w, u);
|
|
16384
16384
|
let _ = document.createDocumentFragment(), M = await ia(Array.from(e.shadowRoot.childNodes), h, o.fast);
|
|
16385
16385
|
_.append(...M.filter((T) => !!T)), l.appendChild(_);
|
|
@@ -16451,7 +16451,7 @@ function Yi(e, t) {
|
|
|
16451
16451
|
function rg(e) {
|
|
16452
16452
|
let t = () => {
|
|
16453
16453
|
var p;
|
|
16454
|
-
return ((p =
|
|
16454
|
+
return ((p = Z == null ? void 0 : Z.session) == null ? void 0 : p.__counterEpoch) ?? 0;
|
|
16455
16455
|
}, o = t(), i = /* @__PURE__ */ new WeakMap(), a = e instanceof Document ? e.documentElement : e, r = (p) => p && p.tagName === "LI", l = (p) => {
|
|
16456
16456
|
let y = 0, f = p == null ? void 0 : p.parentElement;
|
|
16457
16457
|
if (!f)
|
|
@@ -16734,7 +16734,7 @@ async function yr(e, t, o, i) {
|
|
|
16734
16734
|
let a = e.ownerDocument || document;
|
|
16735
16735
|
if (!ng(a, o))
|
|
16736
16736
|
return;
|
|
16737
|
-
let r = ((d =
|
|
16737
|
+
let r = ((d = Z == null ? void 0 : Z.session) == null ? void 0 : d.__counterEpoch) ?? 0;
|
|
16738
16738
|
if ($i !== r && (st = /* @__PURE__ */ new WeakMap(), o && (o.__counterCtx = null), $i = r), !o.__counterCtx)
|
|
16739
16739
|
try {
|
|
16740
16740
|
o.__counterCtx = rg(e.ownerDocument || document);
|
|
@@ -16781,37 +16781,37 @@ async function yr(e, t, o, i) {
|
|
|
16781
16781
|
}
|
|
16782
16782
|
continue;
|
|
16783
16783
|
}
|
|
16784
|
-
let
|
|
16785
|
-
|
|
16784
|
+
let D = document.createElement("span");
|
|
16785
|
+
D.dataset.snapdomPseudo = p, D.style.pointerEvents = "none";
|
|
16786
16786
|
let H = Wi(y), U = la(H, "span");
|
|
16787
|
-
if (o.styleMap.set(
|
|
16787
|
+
if (o.styleMap.set(D, U), E && u && u.length === 1) {
|
|
16788
16788
|
let { dataUrl: X, width: O, height: $ } = await ip(u, k, _, S, M), A = document.createElement("img");
|
|
16789
|
-
A.src = X, A.style = `height:${S}px;width:${O / $ * S}px;object-fit:contain;`,
|
|
16789
|
+
A.src = X, A.style = `height:${S}px;width:${O / $ * S}px;object-fit:contain;`, D.appendChild(A), t.dataset.snapdomHasIcon = "true";
|
|
16790
16790
|
} else if (u && u.startsWith("url(")) {
|
|
16791
16791
|
let X = ya(u);
|
|
16792
16792
|
if (X != null && X.trim())
|
|
16793
16793
|
try {
|
|
16794
16794
|
let O = document.createElement("img"), $ = await Ue(Qo(X), { as: "dataURL", useProxy: i.useProxy });
|
|
16795
|
-
O.src = $.data, O.style = `width:${S}px;height:auto;object-fit:contain;`,
|
|
16795
|
+
O.src = $.data, O.style = `width:${S}px;height:auto;object-fit:contain;`, D.appendChild(O);
|
|
16796
16796
|
} catch (O) {
|
|
16797
16797
|
console.error(`[snapdom] Error in pseudo ${p} for`, e, O);
|
|
16798
16798
|
}
|
|
16799
16799
|
} else
|
|
16800
|
-
!E && V && (
|
|
16801
|
-
|
|
16800
|
+
!E && V && (D.textContent = u);
|
|
16801
|
+
D.style.backgroundImage = "none", "maskImage" in D.style && (D.style.maskImage = "none"), "webkitMaskImage" in D.style && (D.style.webkitMaskImage = "none");
|
|
16802
16802
|
try {
|
|
16803
|
-
|
|
16803
|
+
D.style.backgroundRepeat = y.backgroundRepeat, D.style.backgroundSize = y.backgroundSize, y.backgroundPositionX && y.backgroundPositionY ? (D.style.backgroundPositionX = y.backgroundPositionX, D.style.backgroundPositionY = y.backgroundPositionY) : D.style.backgroundPosition = y.backgroundPosition, D.style.backgroundOrigin = y.backgroundOrigin, D.style.backgroundClip = y.backgroundClip, D.style.backgroundAttachment = y.backgroundAttachment, D.style.backgroundBlendMode = y.backgroundBlendMode;
|
|
16804
16804
|
} catch {
|
|
16805
16805
|
}
|
|
16806
16806
|
if (J)
|
|
16807
16807
|
try {
|
|
16808
16808
|
let X = nr(v), O = await Promise.all(X.map(ir));
|
|
16809
|
-
|
|
16809
|
+
D.style.backgroundImage = O.join(", ");
|
|
16810
16810
|
} catch (X) {
|
|
16811
16811
|
console.warn(`[snapdom] Failed to inline background-image for ${p}`, X);
|
|
16812
16812
|
}
|
|
16813
|
-
Q && (
|
|
16814
|
-
let te =
|
|
16813
|
+
Q && (D.style.backgroundColor = w);
|
|
16814
|
+
let te = D.childNodes.length > 0 || ((g = D.textContent) == null ? void 0 : g.trim()) !== "" || J || Q || ee || he;
|
|
16815
16815
|
if (x && x.length && e.parentElement) {
|
|
16816
16816
|
let X = st.get(e.parentElement) || /* @__PURE__ */ new Map(), O = ha(e, l), $ = ua(e, getComputedStyle(e, p), O);
|
|
16817
16817
|
for (let { name: A } of x) {
|
|
@@ -16824,7 +16824,7 @@ async function yr(e, t, o, i) {
|
|
|
16824
16824
|
}
|
|
16825
16825
|
if (!te)
|
|
16826
16826
|
continue;
|
|
16827
|
-
p === "::before" ? t.insertBefore(
|
|
16827
|
+
p === "::before" ? t.insertBefore(D, t.firstChild) : t.appendChild(D);
|
|
16828
16828
|
} catch (y) {
|
|
16829
16829
|
console.warn(`[snapdom] Failed to capture ${p} for`, e, y);
|
|
16830
16830
|
}
|
|
@@ -16998,7 +16998,7 @@ function fg(e) {
|
|
|
16998
16998
|
}
|
|
16999
16999
|
async function yg(e, t = {}) {
|
|
17000
17000
|
var s, d;
|
|
17001
|
-
let o = { styleMap:
|
|
17001
|
+
let o = { styleMap: Z.session.styleMap, styleCache: Z.session.styleCache, nodeMap: Z.session.nodeMap }, i, a = "", r = "";
|
|
17002
17002
|
fg(e);
|
|
17003
17003
|
try {
|
|
17004
17004
|
dg(e);
|
|
@@ -17289,7 +17289,7 @@ function Ng(e) {
|
|
|
17289
17289
|
let t = Math.ceil(parseFloat(e.outlineWidth || "0") || 0);
|
|
17290
17290
|
return { top: t, right: t, bottom: t, left: t };
|
|
17291
17291
|
}
|
|
17292
|
-
function
|
|
17292
|
+
function Zg(e) {
|
|
17293
17293
|
var s;
|
|
17294
17294
|
let t = `${e.filter || ""} ${e.webkitFilter || ""}`.trim();
|
|
17295
17295
|
if (!t || t === "none")
|
|
@@ -17302,7 +17302,7 @@ function Bg(e) {
|
|
|
17302
17302
|
}
|
|
17303
17303
|
return { bleed: { top: le(i), right: le(a), bottom: le(r), left: le(l) }, has: c };
|
|
17304
17304
|
}
|
|
17305
|
-
function
|
|
17305
|
+
function Bg(e, t) {
|
|
17306
17306
|
if (!e || !t || !t.style)
|
|
17307
17307
|
return null;
|
|
17308
17308
|
let o = getComputedStyle(e);
|
|
@@ -17442,7 +17442,7 @@ async function wr(e, t) {
|
|
|
17442
17442
|
await qe("beforeSnap", r), await qe("beforeClone", r);
|
|
17443
17443
|
let f = xg(r.element);
|
|
17444
17444
|
try {
|
|
17445
|
-
({ clone: l, classCSS: c, styleCache: s } = await yg(r.element, r.options)), !i && l && (y =
|
|
17445
|
+
({ clone: l, classCSS: c, styleCache: s } = await yg(r.element, r.options)), !i && l && (y = Bg(r.element, l)), !a && l && Lg(r.element, l);
|
|
17446
17446
|
} finally {
|
|
17447
17447
|
f();
|
|
17448
17448
|
}
|
|
@@ -17467,7 +17467,7 @@ async function wr(e, t) {
|
|
|
17467
17467
|
}), t.embedFonts && await new Promise((w) => {
|
|
17468
17468
|
lt(async () => {
|
|
17469
17469
|
let k = bp(r.element), S = wp(r.element);
|
|
17470
|
-
if (
|
|
17470
|
+
if (Bo()) {
|
|
17471
17471
|
let _ = new Set(Array.from(k).map((M) => String(M).split("__")[0]).filter(Boolean));
|
|
17472
17472
|
await xp(_, 1);
|
|
17473
17473
|
}
|
|
@@ -17475,9 +17475,9 @@ async function wr(e, t) {
|
|
|
17475
17475
|
}, { fast: o });
|
|
17476
17476
|
});
|
|
17477
17477
|
let h = Hu(r.clone).sort(), u = h.join(",");
|
|
17478
|
-
|
|
17478
|
+
Z.baseStyle.has(u) ? m = Z.baseStyle.get(u) : await new Promise((w) => {
|
|
17479
17479
|
lt(() => {
|
|
17480
|
-
m = Yu(h),
|
|
17480
|
+
m = Yu(h), Z.baseStyle.set(u, m), w();
|
|
17481
17481
|
}, { fast: o });
|
|
17482
17482
|
}), r = { fontsCSS: d, baseCSS: m, ...r }, await qe("beforeRender", r), await new Promise((w) => {
|
|
17483
17483
|
lt(() => {
|
|
@@ -17492,17 +17492,17 @@ async function wr(e, t) {
|
|
|
17492
17492
|
return Number.isFinite(Re) ? Re : be;
|
|
17493
17493
|
}, W = T(r.options.width), F = T(r.options.height), E = _, V = M, J = Number.isFinite(W), Q = Number.isFinite(F), ee = M > 0 ? _ / M : 1;
|
|
17494
17494
|
J && Q ? (E = Math.max(1, le(W)), V = Math.max(1, le(F))) : J ? (E = Math.max(1, le(W)), V = Math.max(1, le(E / (ee || 1)))) : Q ? (V = Math.max(1, le(F)), E = Math.max(1, le(V * (ee || 1)))) : (E = _, V = M);
|
|
17495
|
-
let he = 0,
|
|
17495
|
+
let he = 0, D = 0, H = _, U = M;
|
|
17496
17496
|
if (!i && y && Number.isFinite(y.a)) {
|
|
17497
17497
|
let j = { a: y.a, b: y.b || 0, c: y.c || 0, d: y.d || 1, e: 0, f: 0 }, be = Qi(_, M, j, 0, 0);
|
|
17498
|
-
he = le(be.minX),
|
|
17498
|
+
he = le(be.minX), D = le(be.minY), H = le(be.maxX), U = le(be.maxY);
|
|
17499
17499
|
} else if (i && Hg(r.element)) {
|
|
17500
|
-
let j = k.transform && k.transform !== "none" ? k.transform : "", be = Og(r.element), Re = jg({ baseTransform: j, rotate: be.rotate || "0deg", scale: be.scale, translate: be.translate }), { ox: Ee, oy: Oe } = Eg(k, _, M), q = Re.is2D ? Re : new DOMMatrix(Re.toString()),
|
|
17501
|
-
he = le(
|
|
17500
|
+
let j = k.transform && k.transform !== "none" ? k.transform : "", be = Og(r.element), Re = jg({ baseTransform: j, rotate: be.rotate || "0deg", scale: be.scale, translate: be.translate }), { ox: Ee, oy: Oe } = Eg(k, _, M), q = Re.is2D ? Re : new DOMMatrix(Re.toString()), Ze = Qi(_, M, q, Ee, Oe);
|
|
17501
|
+
he = le(Ze.minX), D = le(Ze.minY), H = le(Ze.maxX), U = le(Ze.maxY);
|
|
17502
17502
|
}
|
|
17503
|
-
let te = Wg(k), X = Fg(k), O = Ng(k), $ =
|
|
17504
|
-
he = le(he - A.left),
|
|
17505
|
-
let ie = Math.max(1, le(H - he)), ge = Math.max(1, le(U -
|
|
17503
|
+
let te = Wg(k), X = Fg(k), O = Ng(k), $ = Zg(k), A = a ? { top: le(te.top + X.top + O.top + $.bleed.top), right: le(te.right + X.right + O.right + $.bleed.right), bottom: le(te.bottom + X.bottom + O.bottom + $.bleed.bottom), left: le(te.left + X.left + O.left + $.bleed.left) } : { top: 0, right: 0, bottom: 0, left: 0 };
|
|
17504
|
+
he = le(he - A.left), D = le(D - A.top), H = le(H + A.right), U = le(U + A.bottom);
|
|
17505
|
+
let ie = Math.max(1, le(H - he)), ge = Math.max(1, le(U - D)), xe = J || Q ? le(E / _) : 1, ke = Q || J ? le(V / M) : 1, se = Math.max(1, le(ie * xe)), fe = Math.max(1, le(ge * ke)), ve = "http://www.w3.org/2000/svg", Me = Bo() ? 1 : 0, K = le(Me + (i ? 0 : 1)), me = document.createElementNS(ve, "foreignObject"), je = le(he), Ne = le(D);
|
|
17506
17506
|
me.setAttribute("x", String(le(-(je - K)))), me.setAttribute("y", String(le(-(Ne - K)))), me.setAttribute("width", String(le(_ + K * 2))), me.setAttribute("height", String(le(M + K * 2))), me.style.overflow = "visible";
|
|
17507
17507
|
let Le = document.createElement("style");
|
|
17508
17508
|
Le.textContent = r.baseCSS + r.fontsCSS + "svg{overflow:visible;} foreignObject{overflow:visible;}" + r.classCSS, me.appendChild(Le);
|
|
@@ -17510,8 +17510,8 @@ async function wr(e, t) {
|
|
|
17510
17510
|
Te.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), Te.style.width = `${le(_)}px`, Te.style.height = `${le(M)}px`, Te.style.overflow = "visible", r.clone.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), Te.appendChild(r.clone), me.appendChild(Te);
|
|
17511
17511
|
let oe = new XMLSerializer().serializeToString(me), Pe = le(ie + K * 2), pe = le(ge + K * 2), ye = J || Q;
|
|
17512
17512
|
t.meta = { w0: _, h0: M, vbW: Pe, vbH: pe, targetW: E, targetH: V };
|
|
17513
|
-
let
|
|
17514
|
-
p = `<svg xmlns="${ve}" width="${
|
|
17513
|
+
let Be = Bo() && ye ? Pe : le(se + K * 2), He = Bo() && ye ? pe : le(fe + K * 2);
|
|
17514
|
+
p = `<svg xmlns="${ve}" width="${Be}" height="${He}" viewBox="0 0 ${Pe} ${pe}">` + oe + "</svg>", g = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(p)}`, r = { svgString: p, dataURL: g, ...r }, w();
|
|
17515
17515
|
}, { fast: o });
|
|
17516
17516
|
}), await qe("afterRender", r);
|
|
17517
17517
|
let x = document.getElementById("snapdom-sandbox");
|
|
@@ -17542,7 +17542,7 @@ async function Kg(e, t) {
|
|
|
17542
17542
|
if (!e)
|
|
17543
17543
|
throw new Error("Element cannot be null or undefined");
|
|
17544
17544
|
let o = Ug(t);
|
|
17545
|
-
if (Lp(o, t && t.plugins),
|
|
17545
|
+
if (Lp(o, t && t.plugins), Bo() && (o.embedFonts === !0 || qg(e)))
|
|
17546
17546
|
for (let i = 0; i < 3; i++)
|
|
17547
17547
|
try {
|
|
17548
17548
|
await $g(e, t), pa = !1;
|
|
@@ -17554,52 +17554,52 @@ Ce.capture = async (e, t, o) => {
|
|
|
17554
17554
|
if (o !== xr)
|
|
17555
17555
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17556
17556
|
let i = await wr(e, t), a = { img: async (f, h) => {
|
|
17557
|
-
let { toImg: u } = await import("./toImg-
|
|
17557
|
+
let { toImg: u } = await import("./toImg-2cffe07a.js");
|
|
17558
17558
|
return u(i, { ...f, ...h || {} });
|
|
17559
17559
|
}, svg: async (f, h) => {
|
|
17560
|
-
let { toSvg: u } = await import("./toImg-
|
|
17560
|
+
let { toSvg: u } = await import("./toImg-2cffe07a.js");
|
|
17561
17561
|
return u(i, { ...f, ...h || {} });
|
|
17562
17562
|
}, canvas: async (f, h) => {
|
|
17563
|
-
let { toCanvas: u } = await import("./toCanvas-
|
|
17563
|
+
let { toCanvas: u } = await import("./toCanvas-d57ef46f.js");
|
|
17564
17564
|
return u(i, { ...f, ...h || {} });
|
|
17565
17565
|
}, blob: async (f, h) => {
|
|
17566
|
-
let { toBlob: u } = await import("./toBlob-
|
|
17566
|
+
let { toBlob: u } = await import("./toBlob-60a7613b.js");
|
|
17567
17567
|
return u(i, { ...f, ...h || {} });
|
|
17568
17568
|
}, png: async (f, h) => {
|
|
17569
|
-
let { rasterize: u } = await import("./rasterize-JS5G2XHH-
|
|
17569
|
+
let { rasterize: u } = await import("./rasterize-JS5G2XHH-5c492e33.js");
|
|
17570
17570
|
return u(i, { ...f, ...h || {}, format: "png" });
|
|
17571
17571
|
}, jpeg: async (f, h) => {
|
|
17572
|
-
let { rasterize: u } = await import("./rasterize-JS5G2XHH-
|
|
17572
|
+
let { rasterize: u } = await import("./rasterize-JS5G2XHH-5c492e33.js");
|
|
17573
17573
|
return u(i, { ...f, ...h || {}, format: "jpeg" });
|
|
17574
17574
|
}, webp: async (f, h) => {
|
|
17575
|
-
let { rasterize: u } = await import("./rasterize-JS5G2XHH-
|
|
17575
|
+
let { rasterize: u } = await import("./rasterize-JS5G2XHH-5c492e33.js");
|
|
17576
17576
|
return u(i, { ...f, ...h || {}, format: "webp" });
|
|
17577
17577
|
}, download: async (f, h) => {
|
|
17578
|
-
let { download: u } = await import("./download-
|
|
17578
|
+
let { download: u } = await import("./download-101a4a1f.js");
|
|
17579
17579
|
return u(i, { ...f, ...h || {} });
|
|
17580
17580
|
} }, r = { ...t, export: { url: i }, exports: { svg: async (f) => {
|
|
17581
|
-
let { toSvg: h } = await import("./toImg-
|
|
17581
|
+
let { toSvg: h } = await import("./toImg-2cffe07a.js");
|
|
17582
17582
|
return h(i, { ...t, ...f || {}, [$e]: !0 });
|
|
17583
17583
|
}, canvas: async (f) => {
|
|
17584
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17584
|
+
let { toCanvas: h } = await import("./toCanvas-d57ef46f.js");
|
|
17585
17585
|
return h(i, { ...t, ...f || {}, [$e]: !0 });
|
|
17586
17586
|
}, png: async (f) => {
|
|
17587
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17587
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-5c492e33.js");
|
|
17588
17588
|
return h(i, { ...t, ...f || {}, format: "png", [$e]: !0 });
|
|
17589
17589
|
}, jpeg: async (f) => {
|
|
17590
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17590
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-5c492e33.js");
|
|
17591
17591
|
return h(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
|
|
17592
17592
|
}, jpg: async (f) => {
|
|
17593
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17593
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-5c492e33.js");
|
|
17594
17594
|
return h(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
|
|
17595
17595
|
}, webp: async (f) => {
|
|
17596
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17596
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-5c492e33.js");
|
|
17597
17597
|
return h(i, { ...t, ...f || {}, format: "webp", [$e]: !0 });
|
|
17598
17598
|
}, blob: async (f) => {
|
|
17599
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17599
|
+
let { toBlob: h } = await import("./toBlob-60a7613b.js");
|
|
17600
17600
|
return h(i, { ...t, ...f || {}, [$e]: !0 });
|
|
17601
17601
|
}, img: async (f) => {
|
|
17602
|
-
let { toImg: h } = await import("./toImg-
|
|
17602
|
+
let { toImg: h } = await import("./toImg-2cffe07a.js");
|
|
17603
17603
|
return h(i, { ...t, ...f || {}, [$e]: !0 });
|
|
17604
17604
|
} } }, l = await _p("defineExports", r), c = Object.assign({}, ...l.filter((f) => f && typeof f == "object")), s = { ...a, ...c };
|
|
17605
17605
|
s.jpeg && !s.jpg && (s.jpg = (f, h) => s.jpeg(f, h));
|
|
@@ -18032,23 +18032,32 @@ class o0 {
|
|
|
18032
18032
|
}
|
|
18033
18033
|
}
|
|
18034
18034
|
processImage(t, o) {
|
|
18035
|
+
const i = window.devicePixelRatio || 1, a = this.captureRect.x * i, r = this.captureRect.y * i, l = this.captureRect.width * i, c = this.captureRect.height * i;
|
|
18035
18036
|
this.ctx.drawImage(
|
|
18036
18037
|
t,
|
|
18037
|
-
|
|
18038
|
-
|
|
18039
|
-
|
|
18040
|
-
|
|
18038
|
+
a,
|
|
18039
|
+
// 源图像x坐标(实际像素)
|
|
18040
|
+
r,
|
|
18041
|
+
// 源图像y坐标(实际像素)
|
|
18042
|
+
l,
|
|
18043
|
+
// 源图像宽度(实际像素)
|
|
18044
|
+
c,
|
|
18045
|
+
// 源图像高度(实际像素)
|
|
18041
18046
|
0,
|
|
18047
|
+
// 目标画布x坐标(CSS像素)
|
|
18042
18048
|
0,
|
|
18049
|
+
// 目标画布y坐标(CSS像素)
|
|
18043
18050
|
this.captureRect.width,
|
|
18051
|
+
// 目标画布宽度(CSS像素)
|
|
18044
18052
|
this.captureRect.height
|
|
18053
|
+
// 目标画布高度(CSS像素)
|
|
18045
18054
|
);
|
|
18046
|
-
const
|
|
18047
|
-
this.ctx.font = `bold ${
|
|
18048
|
-
const
|
|
18049
|
-
this.ctx.fillStyle = "rgba(0, 0, 0, 0.6)", this.ctx.beginPath(), this.ctx.roundRect(
|
|
18050
|
-
const
|
|
18051
|
-
this.frames.push(
|
|
18055
|
+
const s = o, d = 18, m = 8, g = 12;
|
|
18056
|
+
this.ctx.font = `bold ${d}px Arial, sans-serif`, this.ctx.textAlign = "center", this.ctx.textBaseline = "top";
|
|
18057
|
+
const y = this.ctx.measureText(s).width, f = d, h = (this.captureRect.width - y) / 2 - m * 2, u = g, x = y + m * 4, v = f + m * 2;
|
|
18058
|
+
this.ctx.fillStyle = "rgba(0, 0, 0, 0.6)", this.ctx.beginPath(), this.ctx.roundRect(h, u, x, v, 16), this.ctx.fill(), this.ctx.fillStyle = "#ffffff", this.ctx.fillText(s, this.captureRect.width / 2, g + m);
|
|
18059
|
+
const w = this.ctx.getImageData(0, 0, this.captureRect.width, this.captureRect.height);
|
|
18060
|
+
this.frames.push(w), console.log("[GifRecorder] 帧添加成功, 当前帧数:", this.frames.length);
|
|
18052
18061
|
}
|
|
18053
18062
|
/**
|
|
18054
18063
|
* 获取当前帧数
|
|
@@ -18143,17 +18152,9 @@ const a0 = {
|
|
|
18143
18152
|
type: Number,
|
|
18144
18153
|
default: void 0
|
|
18145
18154
|
},
|
|
18146
|
-
gateway: {
|
|
18147
|
-
type: String,
|
|
18148
|
-
default: ""
|
|
18149
|
-
},
|
|
18150
18155
|
token: {
|
|
18151
18156
|
type: String,
|
|
18152
18157
|
default: ""
|
|
18153
|
-
},
|
|
18154
|
-
defaultMeteoToken: {
|
|
18155
|
-
type: String,
|
|
18156
|
-
default: ""
|
|
18157
18158
|
}
|
|
18158
18159
|
},
|
|
18159
18160
|
emits: ["closeRecord", "preview"],
|
|
@@ -18161,7 +18162,7 @@ const a0 = {
|
|
|
18161
18162
|
return {
|
|
18162
18163
|
recorder: null,
|
|
18163
18164
|
actionStatus: 0,
|
|
18164
|
-
// 1 ready, 2 dragging, 3 dragend, 4 confirmed, 5
|
|
18165
|
+
// 1 ready, 2 dragging, 3 dragend, 4 confirmed, 5 stopped, 6 generated, 7uploaded
|
|
18165
18166
|
startX: 0,
|
|
18166
18167
|
startY: 0,
|
|
18167
18168
|
selection: {
|
|
@@ -18172,7 +18173,8 @@ const a0 = {
|
|
|
18172
18173
|
},
|
|
18173
18174
|
frameCount: 0,
|
|
18174
18175
|
blob: null,
|
|
18175
|
-
ossClient: null
|
|
18176
|
+
ossClient: null,
|
|
18177
|
+
gifUrl: ""
|
|
18176
18178
|
};
|
|
18177
18179
|
},
|
|
18178
18180
|
computed: {
|
|
@@ -18191,14 +18193,16 @@ const a0 = {
|
|
|
18191
18193
|
watch: {
|
|
18192
18194
|
isPlaying: {
|
|
18193
18195
|
handler(e) {
|
|
18194
|
-
e ? this.actionStatus === 4 && this.recorder && (this.recorder.startRecording(), this.actionStatus = 5, this.frameCount = 0, console.log("[BottomBar] GIF 模式开始,使用正常播放 + 事件截图")) : this.actionStatus === 5 && this.recorder && (console.log("[BottomBar] 等待最后一帧截图完成..."), setTimeout(async () => {
|
|
18195
|
-
await this.finishGifGeneration();
|
|
18196
|
-
}, 2e3));
|
|
18197
18196
|
}
|
|
18198
18197
|
},
|
|
18199
18198
|
enabled: {
|
|
18200
18199
|
handler(e) {
|
|
18201
|
-
e
|
|
18200
|
+
e ? this.actionStatus = 1 : this.actionStatus = 5;
|
|
18201
|
+
}
|
|
18202
|
+
},
|
|
18203
|
+
actionStatus: {
|
|
18204
|
+
handler(e) {
|
|
18205
|
+
this.actionStatus === 4 && this.startRecord(), this.actionStatus === 5 && this.recorder && this.createGif(), this.actionStatus === 6 && this.handleUpload(this.blob), this.actionStatus === 7 && this.$emit("preview", this.gifUrl);
|
|
18202
18206
|
}
|
|
18203
18207
|
}
|
|
18204
18208
|
},
|
|
@@ -18206,7 +18210,6 @@ const a0 = {
|
|
|
18206
18210
|
this.ossClient = await Mr.create(this.token);
|
|
18207
18211
|
},
|
|
18208
18212
|
methods: {
|
|
18209
|
-
//鼠标选取区域
|
|
18210
18213
|
handleMouseDown(e) {
|
|
18211
18214
|
this.actionStatus >= 2 && e.clientX >= this.selection.x && e.clientX <= this.selection.x + this.selection.width && e.clientY >= this.selection.y && e.clientY <= this.selection.y + this.selection.height || (this.actionStatus = 2, this.startX = e.clientX, this.startY = e.clientY, this.selection = {
|
|
18212
18215
|
x: e.clientX,
|
|
@@ -18227,57 +18230,56 @@ const a0 = {
|
|
|
18227
18230
|
};
|
|
18228
18231
|
},
|
|
18229
18232
|
handleMouseUp() {
|
|
18230
|
-
|
|
18233
|
+
var e, t;
|
|
18234
|
+
((e = this.selection) == null ? void 0 : e.width) > 20 && ((t = this.selection) == null ? void 0 : t.height) > 20 ? this.actionStatus = 3 : this.actionStatus = 1;
|
|
18231
18235
|
},
|
|
18232
18236
|
handleConfirm() {
|
|
18233
|
-
this.actionStatus = 4
|
|
18237
|
+
this.actionStatus = 4;
|
|
18234
18238
|
},
|
|
18235
18239
|
handleCancel() {
|
|
18236
18240
|
this.actionStatus = 1, this.recorder = null, this.selection = { x: 0, y: 0, width: 0, height: 0 };
|
|
18237
18241
|
},
|
|
18238
|
-
|
|
18239
|
-
|
|
18240
|
-
|
|
18242
|
+
startRecord() {
|
|
18243
|
+
var e, t, o;
|
|
18244
|
+
this.frameCount = 0, this.recorder = new o0(), (e = this.recorder) == null || e.setArea(this.selection), (t = this.recorder) == null || t.setFrameDelay(this.frequency), (o = this.recorder) == null || o.startRecording(), console.log("[BottomBar] 录制准备就绪");
|
|
18241
18245
|
},
|
|
18242
|
-
// 捕获当前帧
|
|
18243
18246
|
async captureCurrentFrame() {
|
|
18244
|
-
var e;
|
|
18245
|
-
if (!this.recorder ||
|
|
18246
|
-
console.log("[BottomBar]
|
|
18247
|
-
return;
|
|
18248
|
-
}
|
|
18249
|
-
try {
|
|
18250
|
-
const t = (e = document.getElementsByClassName("gif-container")) == null ? void 0 : e[0];
|
|
18251
|
-
console.log("[BottomBar] 开始截图, element:", !!t), t && (await this.recorder.captureFrame(t, this.computedUTCTime(this.currentTimestamp)), this.frameCount = this.recorder.getFrameCount(), console.log("[BottomBar] 截图完成, 帧数:", this.frameCount));
|
|
18252
|
-
} catch (t) {
|
|
18253
|
-
console.error("[BottomBar] 截图失败:", t);
|
|
18254
|
-
}
|
|
18255
|
-
},
|
|
18256
|
-
// 完成 GIF 生成
|
|
18257
|
-
async finishGifGeneration() {
|
|
18258
|
-
if (this.recorder) {
|
|
18259
|
-
this.recorder.stopRecording(), console.log("[BottomBar] GIF 停止录制,帧数:", this.frameCount);
|
|
18247
|
+
var e, t, o;
|
|
18248
|
+
if (!(!this.recorder || this.actionStatus !== 4)) {
|
|
18249
|
+
console.log("[BottomBar] 开始截第" + (this.frameCount + 1) + "帧截图");
|
|
18260
18250
|
try {
|
|
18261
|
-
|
|
18262
|
-
|
|
18263
|
-
|
|
18251
|
+
const i = (e = document.getElementsByClassName("gif-container")) == null ? void 0 : e[0];
|
|
18252
|
+
i && (await ((t = this.recorder) == null ? void 0 : t.captureFrame(i, this.computedUTCTime(this.currentTimestamp))), this.frameCount = (o = this.recorder) == null ? void 0 : o.getFrameCount(), console.log("[BottomBar] 截图总帧数:", this.frameCount));
|
|
18253
|
+
} catch (i) {
|
|
18254
|
+
console.error("[BottomBar] 截图失败:", i);
|
|
18264
18255
|
}
|
|
18265
18256
|
}
|
|
18266
18257
|
},
|
|
18258
|
+
async createGif() {
|
|
18259
|
+
console.log("[BottomBar] 等待最后一帧截图完成..."), setTimeout(async () => {
|
|
18260
|
+
var e, t;
|
|
18261
|
+
if (this.recorder) {
|
|
18262
|
+
(e = this.recorder) == null || e.stopRecording(), console.log("[BottomBar] 停止录制,总帧数:", this.frameCount);
|
|
18263
|
+
try {
|
|
18264
|
+
this.blob = await ((t = this.recorder) == null ? void 0 : t.generateGif()), console.log("[BottomBar] GIF生成完成:", this.blob), this.blob && (this.actionStatus = 6);
|
|
18265
|
+
} catch (o) {
|
|
18266
|
+
console.error("[BottomBar] GIF生成失败:", o), this.clear();
|
|
18267
|
+
}
|
|
18268
|
+
}
|
|
18269
|
+
}, 2e3);
|
|
18270
|
+
},
|
|
18267
18271
|
clear() {
|
|
18268
|
-
|
|
18269
|
-
|
|
18270
|
-
}, 2e3)) : (this.actionStatus = 0, this.frameCount = 0, this.blob = null, this.recorder && (this.recorder.reset(), this.recorder = null), this.$emit("closeRecord"));
|
|
18272
|
+
var e;
|
|
18273
|
+
this.actionStatus = 0, this.frameCount = 0, this.blob = null, this.gifUrl = "", this.recorder && ((e = this.recorder) == null || e.reset(), this.recorder = null), this.$emit("closeRecord"), console.log("[BottomBar] 关闭录制功能,清空数据");
|
|
18271
18274
|
},
|
|
18272
18275
|
async handleUpload(e) {
|
|
18273
|
-
var a;
|
|
18276
|
+
var i, a;
|
|
18277
|
+
console.log("[BottomBar] 开始上传");
|
|
18274
18278
|
const t = {
|
|
18275
18279
|
stream: e,
|
|
18276
18280
|
ext: "gif"
|
|
18277
|
-
}, o = await this.ossClient.put2HZ("/share", [t]);
|
|
18278
|
-
console.log("[BottomBar]
|
|
18279
|
-
const i = ((a = o == null ? void 0 : o[0]) == null ? void 0 : a.url) || "";
|
|
18280
|
-
this.$emit("preview", i), this.actionStatus = 7;
|
|
18281
|
+
}, o = await ((i = this.ossClient) == null ? void 0 : i.put2HZ("/share", [t]));
|
|
18282
|
+
this.gifUrl = ((a = o == null ? void 0 : o[0]) == null ? void 0 : a.url) || "", console.log("[BottomBar] 上传成功"), this.actionStatus = 7;
|
|
18281
18283
|
},
|
|
18282
18284
|
handleDownload() {
|
|
18283
18285
|
const t = `ORM-Record-${G().format("yyyyMMDD-HHmm")}.gif`;
|
|
@@ -18296,22 +18298,22 @@ const a0 = {
|
|
|
18296
18298
|
}, h0 = { class: "text-body-2" };
|
|
18297
18299
|
function u0(e, t, o, i, a, r) {
|
|
18298
18300
|
const l = R("VBtn");
|
|
18299
|
-
return
|
|
18300
|
-
a.actionStatus > 0 && a.actionStatus < 4 ? (
|
|
18301
|
+
return P(), I("div", i0, [
|
|
18302
|
+
a.actionStatus > 0 && a.actionStatus < 4 ? (P(), I("div", {
|
|
18301
18303
|
key: 0,
|
|
18302
18304
|
class: "capture-selector",
|
|
18303
18305
|
onMousedown: t[2] || (t[2] = (...c) => r.handleMouseDown && r.handleMouseDown(...c)),
|
|
18304
18306
|
onMousemove: t[3] || (t[3] = (...c) => r.handleMouseMove && r.handleMouseMove(...c)),
|
|
18305
18307
|
onMouseup: t[4] || (t[4] = (...c) => r.handleMouseUp && r.handleMouseUp(...c))
|
|
18306
18308
|
}, [
|
|
18307
|
-
a.actionStatus === 1 ? (
|
|
18308
|
-
a.actionStatus >= 2 ? (
|
|
18309
|
+
a.actionStatus === 1 ? (P(), I("div", r0, b(e.$t("tips.crossHairText")), 1)) : N("", !0),
|
|
18310
|
+
a.actionStatus >= 2 ? (P(), I("div", {
|
|
18309
18311
|
key: 1,
|
|
18310
18312
|
class: "selection-box",
|
|
18311
18313
|
style: ue(r.selectionStyle)
|
|
18312
18314
|
}, [
|
|
18313
18315
|
n("div", l0, b(Math.round(a.selection.width)) + " × " + b(Math.round(a.selection.height)), 1),
|
|
18314
|
-
a.actionStatus === 3 ? (
|
|
18316
|
+
a.actionStatus === 3 ? (P(), I("div", {
|
|
18315
18317
|
key: 0,
|
|
18316
18318
|
class: "action-buttons px-2 rounded font-weight-bold bg-background d-flex justify-end ga-4",
|
|
18317
18319
|
onMousedown: t[0] || (t[0] = Se(() => {
|
|
@@ -18336,7 +18338,7 @@ function u0(e, t, o, i, a, r) {
|
|
|
18336
18338
|
], 32)) : N("", !0)
|
|
18337
18339
|
], 4)) : N("", !0)
|
|
18338
18340
|
], 32)) : N("", !0),
|
|
18339
|
-
a.actionStatus >= 4 && a.actionStatus
|
|
18341
|
+
a.actionStatus >= 4 && a.actionStatus <= 6 ? (P(), I("div", {
|
|
18340
18342
|
key: 1,
|
|
18341
18343
|
class: _e(["capture-frame", { recording: a.actionStatus === 5 }]),
|
|
18342
18344
|
style: ue(r.selectionStyle)
|
|
@@ -18351,11 +18353,11 @@ function u0(e, t, o, i, a, r) {
|
|
|
18351
18353
|
onMouseup: t[6] || (t[6] = Se(() => {
|
|
18352
18354
|
}, ["stop"]))
|
|
18353
18355
|
}, [
|
|
18354
|
-
a.actionStatus ===
|
|
18356
|
+
a.actionStatus === 4 ? (P(), I("div", c0, [
|
|
18355
18357
|
t[7] || (t[7] = n("div", { class: "dot bg-danger" }, null, -1)),
|
|
18356
18358
|
n("div", m0, b(e.$t("tips.recordingText")), 1)
|
|
18357
18359
|
])) : N("", !0),
|
|
18358
|
-
a.actionStatus === 6 ? (
|
|
18360
|
+
a.actionStatus === 5 || a.actionStatus === 6 ? (P(), I("div", d0, [
|
|
18359
18361
|
t[8] || (t[8] = n("div", { class: "dot bg-success" }, null, -1)),
|
|
18360
18362
|
n("div", h0, b(e.$t("tips.savingText")), 1)
|
|
18361
18363
|
])) : N("", !0)
|
|
@@ -18363,7 +18365,7 @@ function u0(e, t, o, i, a, r) {
|
|
|
18363
18365
|
], 6)) : N("", !0)
|
|
18364
18366
|
]);
|
|
18365
18367
|
}
|
|
18366
|
-
const p0 = /* @__PURE__ */ ne(a0, [["render", u0], ["__scopeId", "data-v-
|
|
18368
|
+
const p0 = /* @__PURE__ */ ne(a0, [["render", u0], ["__scopeId", "data-v-a6fb44ac"]]);
|
|
18367
18369
|
const g0 = {
|
|
18368
18370
|
name: "IdmBottomBar",
|
|
18369
18371
|
components: { DateTimePicker: ta, IdmCapture: p0 },
|
|
@@ -18497,13 +18499,19 @@ const g0 = {
|
|
|
18497
18499
|
this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
|
|
18498
18500
|
}
|
|
18499
18501
|
}
|
|
18500
|
-
}, f0 = { class: "idm-bottom-bar-gl4" }, y0 = { class: "date-box d-flex ga-2 mr-2" }, b0 = { class: "play-btns-box d-flex justify-center align-center cursor-pointer
|
|
18502
|
+
}, f0 = { class: "idm-bottom-bar-gl4" }, y0 = { class: "date-box d-flex ga-2 mr-2" }, b0 = { class: "play-btns-box d-flex justify-center align-center cursor-pointer ga-1" }, w0 = {
|
|
18503
|
+
key: 0,
|
|
18504
|
+
class: "iconfont icon-record"
|
|
18505
|
+
}, x0 = {
|
|
18506
|
+
key: 1,
|
|
18507
|
+
class: "iconfont icon-stop-record text-danger"
|
|
18508
|
+
}, v0 = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, k0 = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, _0 = {
|
|
18501
18509
|
key: 0,
|
|
18502
18510
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
18503
|
-
},
|
|
18504
|
-
function
|
|
18511
|
+
}, z0 = ["onClick"], L0 = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, P0 = { class: "text-body-1" };
|
|
18512
|
+
function C0(e, t, o, i, a, r) {
|
|
18505
18513
|
const l = R("IdmCapture"), c = R("DateTimePicker"), s = R("VListItemTitle"), d = R("VListItem"), m = R("VList"), g = R("VMenu"), p = R("VBtn"), y = R("VDivider"), f = R("VTooltip");
|
|
18506
|
-
return
|
|
18514
|
+
return P(), I("div", f0, [
|
|
18507
18515
|
L(l, Y({
|
|
18508
18516
|
ref: "capture",
|
|
18509
18517
|
isPlaying: !a.paused,
|
|
@@ -18538,13 +18546,13 @@ function L0(e, t, o, i, a, r) {
|
|
|
18538
18546
|
class: "text-none elevation-0 btn-border-1 btn-bg-1 text-body-1",
|
|
18539
18547
|
"min-width": "30"
|
|
18540
18548
|
}, {
|
|
18541
|
-
default:
|
|
18549
|
+
default: C(() => [
|
|
18542
18550
|
de(b(a.intervalHour) + " h ", 1),
|
|
18543
18551
|
L(g, { activator: "parent" }, {
|
|
18544
|
-
default:
|
|
18552
|
+
default: C(() => [
|
|
18545
18553
|
L(m, { class: "pa-1" }, {
|
|
18546
|
-
default:
|
|
18547
|
-
(
|
|
18554
|
+
default: C(() => [
|
|
18555
|
+
(P(!0), I(Ie, null, De(a.intervalOptions, (h, u) => (P(), B(d, {
|
|
18548
18556
|
key: u,
|
|
18549
18557
|
value: h,
|
|
18550
18558
|
variant: a.intervalHour === h ? "tonal" : "text",
|
|
@@ -18556,11 +18564,11 @@ function L0(e, t, o, i, a, r) {
|
|
|
18556
18564
|
"min-width": "30",
|
|
18557
18565
|
class: "pa-0 text-center text-body-1"
|
|
18558
18566
|
}, {
|
|
18559
|
-
default:
|
|
18567
|
+
default: C(() => [
|
|
18560
18568
|
L(s, {
|
|
18561
18569
|
onClick: (x) => a.intervalHour = h
|
|
18562
18570
|
}, {
|
|
18563
|
-
default:
|
|
18571
|
+
default: C(() => [
|
|
18564
18572
|
de(b(h) + "h", 1)
|
|
18565
18573
|
]),
|
|
18566
18574
|
_: 2
|
|
@@ -18586,35 +18594,33 @@ function L0(e, t, o, i, a, r) {
|
|
|
18586
18594
|
n("div", b0, [
|
|
18587
18595
|
L(f, {
|
|
18588
18596
|
text: e.$t("actions.record"),
|
|
18589
|
-
location: "top"
|
|
18597
|
+
location: "top",
|
|
18598
|
+
interactive: !0,
|
|
18599
|
+
"open-on-click": !1
|
|
18590
18600
|
}, {
|
|
18591
|
-
activator:
|
|
18601
|
+
activator: C(({ props: h }) => [
|
|
18592
18602
|
L(p, Y(h, {
|
|
18593
18603
|
icon: "",
|
|
18594
18604
|
size: "small",
|
|
18595
18605
|
density: "comfortable",
|
|
18596
18606
|
variant: "text",
|
|
18597
|
-
color: a.gifEnabled ? "primary" : "",
|
|
18598
|
-
class: "mr-1",
|
|
18599
18607
|
onClick: t[5] || (t[5] = (u) => a.gifEnabled = !a.gifEnabled)
|
|
18600
18608
|
}), {
|
|
18601
|
-
default:
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
])),
|
|
18607
|
-
_: 2,
|
|
18608
|
-
__: [12]
|
|
18609
|
-
}, 1040, ["color"])
|
|
18609
|
+
default: C(() => [
|
|
18610
|
+
a.gifEnabled ? (P(), I("i", x0)) : (P(), I("i", w0))
|
|
18611
|
+
]),
|
|
18612
|
+
_: 2
|
|
18613
|
+
}, 1040)
|
|
18610
18614
|
]),
|
|
18611
18615
|
_: 1
|
|
18612
18616
|
}, 8, ["text"]),
|
|
18613
18617
|
L(f, {
|
|
18614
18618
|
text: e.$t("actions.reset"),
|
|
18615
|
-
location: "top"
|
|
18619
|
+
location: "top",
|
|
18620
|
+
interactive: !0,
|
|
18621
|
+
"open-on-click": !1
|
|
18616
18622
|
}, {
|
|
18617
|
-
activator:
|
|
18623
|
+
activator: C(({ props: h }) => [
|
|
18618
18624
|
L(p, Y(h, {
|
|
18619
18625
|
icon: "",
|
|
18620
18626
|
size: "small",
|
|
@@ -18622,20 +18628,22 @@ function L0(e, t, o, i, a, r) {
|
|
|
18622
18628
|
variant: "text",
|
|
18623
18629
|
onClick: r.handleReset
|
|
18624
18630
|
}), {
|
|
18625
|
-
default:
|
|
18631
|
+
default: C(() => t[12] || (t[12] = [
|
|
18626
18632
|
n("i", { class: "iconfont icon-Reset" }, null, -1)
|
|
18627
18633
|
])),
|
|
18628
18634
|
_: 2,
|
|
18629
|
-
__: [
|
|
18635
|
+
__: [12]
|
|
18630
18636
|
}, 1040, ["onClick"])
|
|
18631
18637
|
]),
|
|
18632
18638
|
_: 1
|
|
18633
18639
|
}, 8, ["text"]),
|
|
18634
18640
|
L(f, {
|
|
18635
18641
|
text: e.$t("actions.backward"),
|
|
18636
|
-
location: "top"
|
|
18642
|
+
location: "top",
|
|
18643
|
+
interactive: !0,
|
|
18644
|
+
"open-on-click": !1
|
|
18637
18645
|
}, {
|
|
18638
|
-
activator:
|
|
18646
|
+
activator: C(({ props: h }) => [
|
|
18639
18647
|
L(p, Y(h, {
|
|
18640
18648
|
icon: "",
|
|
18641
18649
|
size: "small",
|
|
@@ -18643,62 +18651,68 @@ function L0(e, t, o, i, a, r) {
|
|
|
18643
18651
|
variant: "text",
|
|
18644
18652
|
onClick: r.handleBackward
|
|
18645
18653
|
}), {
|
|
18646
|
-
default:
|
|
18654
|
+
default: C(() => t[13] || (t[13] = [
|
|
18647
18655
|
n("i", { class: "iconfont icon-Backward" }, null, -1)
|
|
18648
18656
|
])),
|
|
18649
18657
|
_: 2,
|
|
18650
|
-
__: [
|
|
18658
|
+
__: [13]
|
|
18651
18659
|
}, 1040, ["onClick"])
|
|
18652
18660
|
]),
|
|
18653
18661
|
_: 1
|
|
18654
18662
|
}, 8, ["text"]),
|
|
18655
18663
|
L(f, {
|
|
18656
18664
|
text: e.$t("actions.play"),
|
|
18657
|
-
location: "top"
|
|
18665
|
+
location: "top",
|
|
18666
|
+
interactive: !0,
|
|
18667
|
+
"open-on-click": !1
|
|
18658
18668
|
}, {
|
|
18659
|
-
activator:
|
|
18660
|
-
a.paused ? (
|
|
18669
|
+
activator: C(({ props: h }) => [
|
|
18670
|
+
a.paused ? (P(), B(p, Y({ key: 0 }, h, {
|
|
18661
18671
|
icon: "",
|
|
18662
18672
|
size: "small",
|
|
18663
18673
|
density: "comfortable",
|
|
18664
18674
|
variant: "text",
|
|
18665
18675
|
onClick: r.handlePlay
|
|
18666
18676
|
}), {
|
|
18667
|
-
default:
|
|
18677
|
+
default: C(() => t[14] || (t[14] = [
|
|
18668
18678
|
n("i", { class: "iconfont icon-Play" }, null, -1)
|
|
18669
18679
|
])),
|
|
18670
18680
|
_: 2,
|
|
18671
|
-
__: [
|
|
18681
|
+
__: [14]
|
|
18672
18682
|
}, 1040, ["onClick"])) : N("", !0)
|
|
18673
18683
|
]),
|
|
18674
18684
|
_: 1
|
|
18675
18685
|
}, 8, ["text"]),
|
|
18676
18686
|
L(f, {
|
|
18677
18687
|
text: e.$t("actions.pause"),
|
|
18678
|
-
location: "top"
|
|
18688
|
+
location: "top",
|
|
18689
|
+
interactive: !0,
|
|
18690
|
+
"open-on-click": !1
|
|
18679
18691
|
}, {
|
|
18680
|
-
activator:
|
|
18681
|
-
a.paused ? N("", !0) : (
|
|
18692
|
+
activator: C(({ props: h }) => [
|
|
18693
|
+
a.paused ? N("", !0) : (P(), B(p, Y({ key: 0 }, h, {
|
|
18682
18694
|
icon: "",
|
|
18683
18695
|
size: "small",
|
|
18684
18696
|
density: "comfortable",
|
|
18685
18697
|
variant: "text",
|
|
18686
18698
|
onClick: r.handlePause
|
|
18687
18699
|
}), {
|
|
18688
|
-
default:
|
|
18700
|
+
default: C(() => t[15] || (t[15] = [
|
|
18689
18701
|
n("i", { class: "iconfont icon-Pause" }, null, -1)
|
|
18690
18702
|
])),
|
|
18691
18703
|
_: 2,
|
|
18692
|
-
__: [
|
|
18704
|
+
__: [15]
|
|
18693
18705
|
}, 1040, ["onClick"]))
|
|
18694
18706
|
]),
|
|
18695
18707
|
_: 1
|
|
18696
18708
|
}, 8, ["text"]),
|
|
18697
18709
|
L(f, {
|
|
18698
18710
|
text: e.$t("actions.forward"),
|
|
18699
|
-
location: "top"
|
|
18711
|
+
location: "top",
|
|
18712
|
+
interactive: !0,
|
|
18713
|
+
"open-on-click": !1
|
|
18700
18714
|
}, {
|
|
18701
|
-
activator:
|
|
18715
|
+
activator: C(({ props: h }) => [
|
|
18702
18716
|
L(p, Y(h, {
|
|
18703
18717
|
icon: "",
|
|
18704
18718
|
size: "small",
|
|
@@ -18706,11 +18720,11 @@ function L0(e, t, o, i, a, r) {
|
|
|
18706
18720
|
variant: "text",
|
|
18707
18721
|
onClick: r.handleForward
|
|
18708
18722
|
}), {
|
|
18709
|
-
default:
|
|
18723
|
+
default: C(() => t[16] || (t[16] = [
|
|
18710
18724
|
n("i", { class: "iconfont icon-Forward" }, null, -1)
|
|
18711
18725
|
])),
|
|
18712
18726
|
_: 2,
|
|
18713
|
-
__: [
|
|
18727
|
+
__: [16]
|
|
18714
18728
|
}, 1040, ["onClick"])
|
|
18715
18729
|
]),
|
|
18716
18730
|
_: 1
|
|
@@ -18721,12 +18735,12 @@ function L0(e, t, o, i, a, r) {
|
|
|
18721
18735
|
class: "mx-2 my-3",
|
|
18722
18736
|
style: { height: "16px" }
|
|
18723
18737
|
}),
|
|
18724
|
-
n("div",
|
|
18738
|
+
n("div", v0, [
|
|
18725
18739
|
L(f, {
|
|
18726
18740
|
text: e.$t("weather.windBarbs"),
|
|
18727
18741
|
location: "top"
|
|
18728
18742
|
}, {
|
|
18729
|
-
activator:
|
|
18743
|
+
activator: C(({ props: h }) => {
|
|
18730
18744
|
var u, x;
|
|
18731
18745
|
return [
|
|
18732
18746
|
L(p, Y(h, {
|
|
@@ -18738,11 +18752,11 @@ function L0(e, t, o, i, a, r) {
|
|
|
18738
18752
|
"min-width": "24",
|
|
18739
18753
|
onClick: t[6] || (t[6] = (v) => r.handleClickFastWeather("wind"))
|
|
18740
18754
|
}), {
|
|
18741
|
-
default:
|
|
18755
|
+
default: C(() => t[17] || (t[17] = [
|
|
18742
18756
|
n("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
|
|
18743
18757
|
])),
|
|
18744
18758
|
_: 2,
|
|
18745
|
-
__: [
|
|
18759
|
+
__: [17]
|
|
18746
18760
|
}, 1040, ["color", "variant"])
|
|
18747
18761
|
];
|
|
18748
18762
|
}),
|
|
@@ -18752,7 +18766,7 @@ function L0(e, t, o, i, a, r) {
|
|
|
18752
18766
|
text: e.$t("weather.sigWaveHeight"),
|
|
18753
18767
|
location: "top"
|
|
18754
18768
|
}, {
|
|
18755
|
-
activator:
|
|
18769
|
+
activator: C(({ props: h }) => {
|
|
18756
18770
|
var u, x;
|
|
18757
18771
|
return [
|
|
18758
18772
|
L(p, Y(h, {
|
|
@@ -18764,7 +18778,7 @@ function L0(e, t, o, i, a, r) {
|
|
|
18764
18778
|
"min-width": "24",
|
|
18765
18779
|
onClick: t[7] || (t[7] = (v) => r.handleClickFastWeather("sig-wave-height"))
|
|
18766
18780
|
}), {
|
|
18767
|
-
default:
|
|
18781
|
+
default: C(() => [
|
|
18768
18782
|
n("i", Y(h, { class: "iconfont icon-a-WaveHeight" }), null, 16)
|
|
18769
18783
|
]),
|
|
18770
18784
|
_: 2
|
|
@@ -18777,7 +18791,7 @@ function L0(e, t, o, i, a, r) {
|
|
|
18777
18791
|
text: e.$t("weather.currentDirection"),
|
|
18778
18792
|
location: "top"
|
|
18779
18793
|
}, {
|
|
18780
|
-
activator:
|
|
18794
|
+
activator: C(({ props: h }) => {
|
|
18781
18795
|
var u, x;
|
|
18782
18796
|
return [
|
|
18783
18797
|
L(p, Y(h, {
|
|
@@ -18789,7 +18803,7 @@ function L0(e, t, o, i, a, r) {
|
|
|
18789
18803
|
"min-width": "24",
|
|
18790
18804
|
onClick: t[8] || (t[8] = (v) => r.handleClickFastWeather("current-direction"))
|
|
18791
18805
|
}), {
|
|
18792
|
-
default:
|
|
18806
|
+
default: C(() => [
|
|
18793
18807
|
n("i", Y(h, { class: "iconfont icon-Current" }), null, 16)
|
|
18794
18808
|
]),
|
|
18795
18809
|
_: 2
|
|
@@ -18802,7 +18816,7 @@ function L0(e, t, o, i, a, r) {
|
|
|
18802
18816
|
text: e.$t("weather.weatherLayers"),
|
|
18803
18817
|
location: "top"
|
|
18804
18818
|
}, {
|
|
18805
|
-
activator:
|
|
18819
|
+
activator: C(({ props: h }) => [
|
|
18806
18820
|
L(p, Y(h, {
|
|
18807
18821
|
class: "pa-1 d-flex",
|
|
18808
18822
|
variant: "text",
|
|
@@ -18811,7 +18825,7 @@ function L0(e, t, o, i, a, r) {
|
|
|
18811
18825
|
"min-width": "24",
|
|
18812
18826
|
onClick: r.handleClickFastMore
|
|
18813
18827
|
}), {
|
|
18814
|
-
default:
|
|
18828
|
+
default: C(() => [
|
|
18815
18829
|
n("i", Y(h, { class: "iconfont icon-dots-align" }), null, 16)
|
|
18816
18830
|
]),
|
|
18817
18831
|
_: 2
|
|
@@ -18825,7 +18839,7 @@ function L0(e, t, o, i, a, r) {
|
|
|
18825
18839
|
class: "mx-2 mr-3 my-3",
|
|
18826
18840
|
style: { height: "16px" }
|
|
18827
18841
|
}),
|
|
18828
|
-
n("div",
|
|
18842
|
+
n("div", k0, [
|
|
18829
18843
|
L(p, {
|
|
18830
18844
|
text: "",
|
|
18831
18845
|
height: "30",
|
|
@@ -18833,11 +18847,11 @@ function L0(e, t, o, i, a, r) {
|
|
|
18833
18847
|
color: a.source === "GFS" ? "primary" : "",
|
|
18834
18848
|
onClick: t[9] || (t[9] = (h) => a.source = "GFS")
|
|
18835
18849
|
}, {
|
|
18836
|
-
default:
|
|
18850
|
+
default: C(() => t[18] || (t[18] = [
|
|
18837
18851
|
de("NOAA", -1)
|
|
18838
18852
|
])),
|
|
18839
18853
|
_: 1,
|
|
18840
|
-
__: [
|
|
18854
|
+
__: [18]
|
|
18841
18855
|
}, 8, ["color"]),
|
|
18842
18856
|
L(p, {
|
|
18843
18857
|
text: "",
|
|
@@ -18846,11 +18860,11 @@ function L0(e, t, o, i, a, r) {
|
|
|
18846
18860
|
color: a.source === "ECMWF" ? "primary" : "",
|
|
18847
18861
|
onClick: t[10] || (t[10] = (h) => a.source = "ECMWF")
|
|
18848
18862
|
}, {
|
|
18849
|
-
default:
|
|
18863
|
+
default: C(() => t[19] || (t[19] = [
|
|
18850
18864
|
de("ECMWF", -1)
|
|
18851
18865
|
])),
|
|
18852
18866
|
_: 1,
|
|
18853
|
-
__: [
|
|
18867
|
+
__: [19]
|
|
18854
18868
|
}, 8, ["color"])
|
|
18855
18869
|
])
|
|
18856
18870
|
], 4),
|
|
@@ -18858,14 +18872,14 @@ function L0(e, t, o, i, a, r) {
|
|
|
18858
18872
|
class: "timezone-box d-flex flex-column justify-space-between align-end",
|
|
18859
18873
|
style: ue({ right: a.right + "px" })
|
|
18860
18874
|
}, [
|
|
18861
|
-
a.showTimezone ? (
|
|
18862
|
-
(
|
|
18875
|
+
a.showTimezone ? (P(), I("div", _0, [
|
|
18876
|
+
(P(!0), I(Ie, null, De(a.offsets, (h) => (P(), I("div", {
|
|
18863
18877
|
key: h,
|
|
18864
18878
|
class: "item rounded text-body-2 hover-active",
|
|
18865
18879
|
onClick: (u) => a.timeZone = h
|
|
18866
|
-
}, b(h < 0 ? h : "+" + h), 9,
|
|
18880
|
+
}, b(h < 0 ? h : "+" + h), 9, z0))), 128))
|
|
18867
18881
|
])) : N("", !0),
|
|
18868
|
-
n("div",
|
|
18882
|
+
n("div", L0, [
|
|
18869
18883
|
L(p, {
|
|
18870
18884
|
text: "",
|
|
18871
18885
|
variant: "flat",
|
|
@@ -18874,18 +18888,18 @@ function L0(e, t, o, i, a, r) {
|
|
|
18874
18888
|
color: "primary",
|
|
18875
18889
|
onClick: t[11] || (t[11] = (h) => a.showTimezone = !a.showTimezone)
|
|
18876
18890
|
}, {
|
|
18877
|
-
default:
|
|
18891
|
+
default: C(() => [
|
|
18878
18892
|
de(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
18879
18893
|
]),
|
|
18880
18894
|
_: 1
|
|
18881
18895
|
}),
|
|
18882
|
-
n("span",
|
|
18896
|
+
n("span", P0, b(a.currentRealTime), 1)
|
|
18883
18897
|
])
|
|
18884
18898
|
], 4)
|
|
18885
18899
|
]);
|
|
18886
18900
|
}
|
|
18887
|
-
const
|
|
18888
|
-
const
|
|
18901
|
+
const M0 = /* @__PURE__ */ ne(g0, [["render", C0]]);
|
|
18902
|
+
const S0 = {
|
|
18889
18903
|
name: "IdmTimePlayer",
|
|
18890
18904
|
components: { DateTimePicker: ta },
|
|
18891
18905
|
props: {
|
|
@@ -18993,14 +19007,14 @@ const C0 = {
|
|
|
18993
19007
|
this.step = Math.floor(t / this.frequency), this.animation = requestAnimationFrame(this.animateSpeeds);
|
|
18994
19008
|
}
|
|
18995
19009
|
}
|
|
18996
|
-
},
|
|
18997
|
-
function
|
|
19010
|
+
}, T0 = { class: "w-100 timeline-box d-flex justify-space-around align-center rounded px-2" };
|
|
19011
|
+
function R0(e, t, o, i, a, r) {
|
|
18998
19012
|
const l = R("VBtn"), c = R("DateTimePicker");
|
|
18999
|
-
return
|
|
19013
|
+
return P(), I("div", {
|
|
19000
19014
|
class: "idm-time-player-gl4 d-flex justify-center align-center",
|
|
19001
19015
|
style: ue({ bottom: Object.values(a.show).includes(!0) ? o.playerBottom + "px" : "-100px" })
|
|
19002
19016
|
}, [
|
|
19003
|
-
n("div",
|
|
19017
|
+
n("div", T0, [
|
|
19004
19018
|
L(l, {
|
|
19005
19019
|
size: "small",
|
|
19006
19020
|
density: "compact",
|
|
@@ -19010,7 +19024,7 @@ function S0(e, t, o, i, a, r) {
|
|
|
19010
19024
|
height: "30",
|
|
19011
19025
|
onClick: r.handleReset
|
|
19012
19026
|
}, {
|
|
19013
|
-
default:
|
|
19027
|
+
default: C(() => t[4] || (t[4] = [
|
|
19014
19028
|
n("i", { class: "iconfont icon-Reset" }, null, -1)
|
|
19015
19029
|
])),
|
|
19016
19030
|
_: 1,
|
|
@@ -19025,7 +19039,7 @@ function S0(e, t, o, i, a, r) {
|
|
|
19025
19039
|
height: "30",
|
|
19026
19040
|
onClick: r.handleBackward
|
|
19027
19041
|
}, {
|
|
19028
|
-
default:
|
|
19042
|
+
default: C(() => t[5] || (t[5] = [
|
|
19029
19043
|
n("i", { class: "iconfont icon-Backward" }, null, -1)
|
|
19030
19044
|
])),
|
|
19031
19045
|
_: 1,
|
|
@@ -19053,13 +19067,13 @@ function S0(e, t, o, i, a, r) {
|
|
|
19053
19067
|
height: "30",
|
|
19054
19068
|
onClick: r.handleForward
|
|
19055
19069
|
}, {
|
|
19056
|
-
default:
|
|
19070
|
+
default: C(() => t[6] || (t[6] = [
|
|
19057
19071
|
n("i", { class: "iconfont icon-Forward" }, null, -1)
|
|
19058
19072
|
])),
|
|
19059
19073
|
_: 1,
|
|
19060
19074
|
__: [6]
|
|
19061
19075
|
}, 8, ["onClick"]),
|
|
19062
|
-
a.paused ? (
|
|
19076
|
+
a.paused ? (P(), B(l, {
|
|
19063
19077
|
key: 0,
|
|
19064
19078
|
size: "small",
|
|
19065
19079
|
density: "compact",
|
|
@@ -19069,12 +19083,12 @@ function S0(e, t, o, i, a, r) {
|
|
|
19069
19083
|
height: "30",
|
|
19070
19084
|
onClick: r.handlePlay
|
|
19071
19085
|
}, {
|
|
19072
|
-
default:
|
|
19086
|
+
default: C(() => t[7] || (t[7] = [
|
|
19073
19087
|
n("i", { class: "iconfont icon-Play" }, null, -1)
|
|
19074
19088
|
])),
|
|
19075
19089
|
_: 1,
|
|
19076
19090
|
__: [7]
|
|
19077
|
-
}, 8, ["onClick"])) : (
|
|
19091
|
+
}, 8, ["onClick"])) : (P(), B(l, {
|
|
19078
19092
|
key: 1,
|
|
19079
19093
|
size: "small",
|
|
19080
19094
|
density: "compact",
|
|
@@ -19084,7 +19098,7 @@ function S0(e, t, o, i, a, r) {
|
|
|
19084
19098
|
height: "30",
|
|
19085
19099
|
onClick: r.handlePause
|
|
19086
19100
|
}, {
|
|
19087
|
-
default:
|
|
19101
|
+
default: C(() => t[8] || (t[8] = [
|
|
19088
19102
|
n("i", { class: "iconfont icon-Pause" }, null, -1)
|
|
19089
19103
|
])),
|
|
19090
19104
|
_: 1,
|
|
@@ -19093,7 +19107,7 @@ function S0(e, t, o, i, a, r) {
|
|
|
19093
19107
|
])
|
|
19094
19108
|
], 4);
|
|
19095
19109
|
}
|
|
19096
|
-
const kr = /* @__PURE__ */ ne(
|
|
19110
|
+
const kr = /* @__PURE__ */ ne(S0, [["render", R0]]), I0 = {
|
|
19097
19111
|
name: "IdmGL4",
|
|
19098
19112
|
components: {
|
|
19099
19113
|
IdmOtherLayer: Ns,
|
|
@@ -19101,7 +19115,7 @@ const kr = /* @__PURE__ */ ne(C0, [["render", S0]]), T0 = {
|
|
|
19101
19115
|
IdmTropicals: or,
|
|
19102
19116
|
IdmMeasure: Iu,
|
|
19103
19117
|
IdmSpot: Mu,
|
|
19104
|
-
IdmBottomBar:
|
|
19118
|
+
IdmBottomBar: M0,
|
|
19105
19119
|
IdmTimePlayer: kr
|
|
19106
19120
|
},
|
|
19107
19121
|
props: {
|
|
@@ -19158,14 +19172,14 @@ const kr = /* @__PURE__ */ ne(C0, [["render", S0]]), T0 = {
|
|
|
19158
19172
|
}
|
|
19159
19173
|
},
|
|
19160
19174
|
methods: {}
|
|
19161
|
-
},
|
|
19175
|
+
}, D0 = {
|
|
19162
19176
|
ref: "mapHomeGl4",
|
|
19163
19177
|
class: "map-gl4-home",
|
|
19164
19178
|
id: "map-gl4-home"
|
|
19165
19179
|
};
|
|
19166
|
-
function
|
|
19180
|
+
function A0(e, t, o, i, a, r) {
|
|
19167
19181
|
const l = R("IdmOtherLayer"), c = R("IdmWeatherLayer"), s = R("IdmTropicals"), d = R("IdmMeasure"), m = R("IdmSpot"), g = R("IdmBottomBar"), p = R("IdmTimePlayer");
|
|
19168
|
-
return
|
|
19182
|
+
return P(), I("div", D0, [
|
|
19169
19183
|
L(l, Y({
|
|
19170
19184
|
ref: "idmOtherLayers",
|
|
19171
19185
|
simple: o.simple,
|
|
@@ -19229,7 +19243,7 @@ function I0(e, t, o, i, a, r) {
|
|
|
19229
19243
|
"forecast-model": o.forecastModel,
|
|
19230
19244
|
"map-feather": o.mapFeather
|
|
19231
19245
|
}, e.$attrs), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "forecast-model", "map-feather"]),
|
|
19232
|
-
o.simple ? N("", !0) : (
|
|
19246
|
+
o.simple ? N("", !0) : (P(), B(g, Y({
|
|
19233
19247
|
key: 0,
|
|
19234
19248
|
ref: "idmBottomBar",
|
|
19235
19249
|
"forecast-model": o.forecastModel,
|
|
@@ -19239,7 +19253,7 @@ function I0(e, t, o, i, a, r) {
|
|
|
19239
19253
|
"default-meteo-token": a.defaultMeteoToken,
|
|
19240
19254
|
token: o.token
|
|
19241
19255
|
}, e.$attrs), null, 16, ["forecast-model", "weather-check-list", "map-feather", "gateway", "default-meteo-token", "token"])),
|
|
19242
|
-
o.simple ? (
|
|
19256
|
+
o.simple ? (P(), B(p, Y({
|
|
19243
19257
|
key: 1,
|
|
19244
19258
|
ref: "idmBottomBar",
|
|
19245
19259
|
playerBottom: a.playerBottom,
|
|
@@ -19249,8 +19263,8 @@ function I0(e, t, o, i, a, r) {
|
|
|
19249
19263
|
}, e.$attrs), null, 16, ["playerBottom", "bgClass", "weather-check-list", "map-feather"])) : N("", !0)
|
|
19250
19264
|
], 512);
|
|
19251
19265
|
}
|
|
19252
|
-
const
|
|
19253
|
-
class
|
|
19266
|
+
const G0 = /* @__PURE__ */ ne(I0, [["render", A0]]);
|
|
19267
|
+
class W0 {
|
|
19254
19268
|
constructor(t = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
19255
19269
|
we(this, "originStyle");
|
|
19256
19270
|
we(this, "mapboxStyle");
|
|
@@ -19258,7 +19272,7 @@ class A0 {
|
|
|
19258
19272
|
we(this, "hi");
|
|
19259
19273
|
we(this, "td");
|
|
19260
19274
|
we(this, "windy");
|
|
19261
|
-
var o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he,
|
|
19275
|
+
var o, i, a, r, l, c, s, d, m, g, p, y, f, h, u, x, v, w, k, S, _, M, T, W, F, E, V, J, Q, ee, he, D, H, U, te, X, O, $, A, ie, ge, xe, ke, se, fe, ve, Me, K, me, je, Ne, Le, Te, oe, Pe, pe, ye, Be, He, Ve, j, be, Re, Ee, Oe, q, Ze, re, tt, ot, at, Ge, ct, mt, dt, ht, ut, pt, gt, ft, yt, bt, wt, xt, vt, kt, _t, zt, Lt, Pt, Ct, Mt, St, Tt, Rt, It, Dt, At, Gt, Wt, Ft, Nt, Zt, Bt, Et, Ot, Xt, jt, Vt, Ht, Yt, Ut, Jt, Kt, qt, Qt, eo, to, oo, ao, io, ro, lo, no, so, co, mo, ho, uo, po, go, fo, yo, bo, wo, xo, vo, ko, _o, zo, Lo, Po, Co, Mo, So, To, Ro, Io, Do, Ao, Go, Wo, xa, va, ka, _a, za, La, Pa, Ca, Ma, Sa, Ta, Ra, Ia, Da, Aa, Ga, Wa, Fa, Na, Za, Ba, Ea, Oa, Xa, ja, Va, Ha, Ya, Ua, Ja, Ka, $a, qa, Qa, ei, ti, oi, ai, ii, ri, li, ni, si, ci, mi, di, hi, ui, pi, gi, fi, yi, bi, wi, xi, vi, ki, _i, zi, Li, Pi, Ci, Mi, Si, Ti, Ri;
|
|
19262
19276
|
this.i4 = {
|
|
19263
19277
|
source: {
|
|
19264
19278
|
type: "raster",
|
|
@@ -37914,7 +37928,7 @@ class A0 {
|
|
|
37914
37928
|
(E = (F = this.originStyle) == null ? void 0 : F.light.layers) == null ? void 0 : E.find((z) => z.id === "water-line-label"),
|
|
37915
37929
|
(J = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : J.find((z) => z.id === "water-point-label"),
|
|
37916
37930
|
(ee = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : ee.find((z) => z.id === "world-12nm-v4-20231025"),
|
|
37917
|
-
(
|
|
37931
|
+
(D = (he = this.originStyle) == null ? void 0 : he.light.layers) == null ? void 0 : D.find((z) => z.id === "ne-10m-outline"),
|
|
37918
37932
|
(U = (H = this.originStyle) == null ? void 0 : H.light.layers) == null ? void 0 : U.find((z) => z.id === "ne-10m-label"),
|
|
37919
37933
|
(X = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : X.find((z) => z.id === "china-route-line"),
|
|
37920
37934
|
($ = (O = this.originStyle) == null ? void 0 : O.light.layers) == null ? void 0 : $.find((z) => z.id === "china-route-fill"),
|
|
@@ -37941,7 +37955,7 @@ class A0 {
|
|
|
37941
37955
|
fog: {
|
|
37942
37956
|
range: [0.5, 10]
|
|
37943
37957
|
},
|
|
37944
|
-
sources: (
|
|
37958
|
+
sources: (Be = this.originStyle) == null ? void 0 : Be.dark.sources,
|
|
37945
37959
|
sprite: (He = this.originStyle) == null ? void 0 : He.dark.sprite,
|
|
37946
37960
|
glyphs: (Ve = this.originStyle) == null ? void 0 : Ve.dark.glyphs,
|
|
37947
37961
|
projection: (j = this.originStyle) == null ? void 0 : j.dark.projection,
|
|
@@ -37953,7 +37967,7 @@ class A0 {
|
|
|
37953
37967
|
layers: [
|
|
37954
37968
|
(Re = (be = this.originStyle) == null ? void 0 : be.dark.layers) == null ? void 0 : Re.find((z) => z.id === "land"),
|
|
37955
37969
|
(Oe = (Ee = this.originStyle) == null ? void 0 : Ee.dark.layers) == null ? void 0 : Oe.find((z) => z.id === "water"),
|
|
37956
|
-
(
|
|
37970
|
+
(Ze = (q = this.originStyle) == null ? void 0 : q.dark.layers) == null ? void 0 : Ze.find((z) => z.id === "ice-area-fill"),
|
|
37957
37971
|
(tt = (re = this.originStyle) == null ? void 0 : re.dark.layers) == null ? void 0 : tt.find((z) => z.id === "ice-area-line"),
|
|
37958
37972
|
(at = (ot = this.originStyle) == null ? void 0 : ot.dark.layers) == null ? void 0 : at.find((z) => z.id === "loadlines-label"),
|
|
37959
37973
|
(ct = (Ge = this.originStyle) == null ? void 0 : Ge.dark.layers) == null ? void 0 : ct.find((z) => z.id === "loadlines-fill"),
|
|
@@ -37971,8 +37985,8 @@ class A0 {
|
|
|
37971
37985
|
(Dt = (It = this.originStyle) == null ? void 0 : It.dark.layers) == null ? void 0 : Dt.find((z) => z.id === "china-route-fill"),
|
|
37972
37986
|
(Gt = (At = this.originStyle) == null ? void 0 : At.dark.layers) == null ? void 0 : Gt.find((z) => z.id === "china-route-label"),
|
|
37973
37987
|
(Ft = (Wt = this.originStyle) == null ? void 0 : Wt.dark.layers) == null ? void 0 : Ft.find((z) => z.id === "admin-0-boundary-bg"),
|
|
37974
|
-
(
|
|
37975
|
-
(Et = (
|
|
37988
|
+
(Zt = (Nt = this.originStyle) == null ? void 0 : Nt.dark.layers) == null ? void 0 : Zt.find((z) => z.id === "admin-0-boundary"),
|
|
37989
|
+
(Et = (Bt = this.originStyle) == null ? void 0 : Bt.dark.layers) == null ? void 0 : Et.find((z) => z.id === "admin-0-boundary-disputed"),
|
|
37976
37990
|
(Xt = (Ot = this.originStyle) == null ? void 0 : Ot.dark.layers) == null ? void 0 : Xt.find((z) => z.id === "country-label"),
|
|
37977
37991
|
(Vt = (jt = this.originStyle) == null ? void 0 : jt.dark.layers) == null ? void 0 : Vt.find((z) => z.id === "continent-label"),
|
|
37978
37992
|
(Yt = (Ht = this.originStyle) == null ? void 0 : Ht.dark.layers) == null ? void 0 : Yt.find((z) => z.id === "tide-stations"),
|
|
@@ -38084,8 +38098,8 @@ class A0 {
|
|
|
38084
38098
|
(Ga = (Aa = this.originStyle) == null ? void 0 : Aa.light.layers) == null ? void 0 : Ga.find((z) => z.id === "land"),
|
|
38085
38099
|
(Fa = (Wa = this.originStyle) == null ? void 0 : Wa.light.layers) == null ? void 0 : Fa.find((z) => z.id === "water"),
|
|
38086
38100
|
this.i4.layer,
|
|
38087
|
-
(
|
|
38088
|
-
(Ea = (
|
|
38101
|
+
(Za = (Na = this.originStyle) == null ? void 0 : Na.light.layers) == null ? void 0 : Za.find((z) => z.id === "ice-area-fill"),
|
|
38102
|
+
(Ea = (Ba = this.originStyle) == null ? void 0 : Ba.light.layers) == null ? void 0 : Ea.find((z) => z.id === "ice-area-line"),
|
|
38089
38103
|
(Xa = (Oa = this.originStyle) == null ? void 0 : Oa.light.layers) == null ? void 0 : Xa.find((z) => z.id === "loadlines-label"),
|
|
38090
38104
|
(Va = (ja = this.originStyle) == null ? void 0 : ja.light.layers) == null ? void 0 : Va.find((z) => z.id === "loadlines-fill"),
|
|
38091
38105
|
(Ya = (Ha = this.originStyle) == null ? void 0 : Ha.light.layers) == null ? void 0 : Ya.find((z) => z.id === "empty-layer-0"),
|
|
@@ -38115,7 +38129,7 @@ class A0 {
|
|
|
38115
38129
|
};
|
|
38116
38130
|
}
|
|
38117
38131
|
}
|
|
38118
|
-
const
|
|
38132
|
+
const F0 = {
|
|
38119
38133
|
name: "MapInitial",
|
|
38120
38134
|
props: {
|
|
38121
38135
|
token: {
|
|
@@ -38188,7 +38202,7 @@ const G0 = {
|
|
|
38188
38202
|
},
|
|
38189
38203
|
methods: {
|
|
38190
38204
|
async initOnlineMap() {
|
|
38191
|
-
this.helper = new
|
|
38205
|
+
this.helper = new W0(this.token), Ae.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
|
|
38192
38206
|
const e = new Ae.Map({
|
|
38193
38207
|
container: "map",
|
|
38194
38208
|
// style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
|
|
@@ -38231,24 +38245,24 @@ const G0 = {
|
|
|
38231
38245
|
this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (e = this.map) == null || e.flyTo({ zoom: this.zoom, duration: 500 }));
|
|
38232
38246
|
}
|
|
38233
38247
|
}
|
|
38234
|
-
},
|
|
38248
|
+
}, N0 = { class: "v-btn--variant-elevated rounded" }, Z0 = { class: "v-btn--variant-elevated rounded" }, B0 = { class: "zoom" }, E0 = {
|
|
38235
38249
|
key: 2,
|
|
38236
38250
|
class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70"
|
|
38237
38251
|
};
|
|
38238
|
-
function
|
|
38252
|
+
function O0(e, t, o, i, a, r) {
|
|
38239
38253
|
const l = R("VBtn");
|
|
38240
|
-
return
|
|
38254
|
+
return P(), I("div", {
|
|
38241
38255
|
class: "mapbox-initial-gl4 gif-container",
|
|
38242
38256
|
id: "mapbox-initial-gl4",
|
|
38243
38257
|
style: ue({ height: o.height, width: o.width })
|
|
38244
38258
|
}, [
|
|
38245
38259
|
t[6] || (t[6] = n("div", { id: "map" }, null, -1)),
|
|
38246
|
-
o.simple ? (
|
|
38260
|
+
o.simple ? (P(), I("div", {
|
|
38247
38261
|
key: 0,
|
|
38248
38262
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column pa-1 simple",
|
|
38249
38263
|
style: ue({ top: o.top + 254 + "px", right: a.right + "px", height: "40px" })
|
|
38250
38264
|
}, [
|
|
38251
|
-
n("div",
|
|
38265
|
+
n("div", N0, [
|
|
38252
38266
|
L(l, {
|
|
38253
38267
|
"min-width": "32",
|
|
38254
38268
|
width: "32",
|
|
@@ -38256,7 +38270,7 @@ function Z0(e, t, o, i, a, r) {
|
|
|
38256
38270
|
class: "pa-0 elevation-0",
|
|
38257
38271
|
onClick: r.initOnlineMap
|
|
38258
38272
|
}, {
|
|
38259
|
-
default:
|
|
38273
|
+
default: C(() => t[0] || (t[0] = [
|
|
38260
38274
|
n("i", { class: "iconfont icon-shuaxin text-h4" }, null, -1)
|
|
38261
38275
|
])),
|
|
38262
38276
|
_: 1,
|
|
@@ -38264,12 +38278,12 @@ function Z0(e, t, o, i, a, r) {
|
|
|
38264
38278
|
}, 8, ["onClick"])
|
|
38265
38279
|
])
|
|
38266
38280
|
], 4)) : N("", !0),
|
|
38267
|
-
o.simple ? N("", !0) : (
|
|
38281
|
+
o.simple ? N("", !0) : (P(), I("div", {
|
|
38268
38282
|
key: 1,
|
|
38269
38283
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
38270
38284
|
style: ue({ top: o.top + 268 + "px", right: a.right + "px", height: "112px" })
|
|
38271
38285
|
}, [
|
|
38272
|
-
n("div",
|
|
38286
|
+
n("div", Z0, [
|
|
38273
38287
|
L(l, {
|
|
38274
38288
|
"min-width": "32",
|
|
38275
38289
|
width: "32",
|
|
@@ -38277,13 +38291,13 @@ function Z0(e, t, o, i, a, r) {
|
|
|
38277
38291
|
class: "pa-0 elevation-0",
|
|
38278
38292
|
onClick: r.handleZoomIn
|
|
38279
38293
|
}, {
|
|
38280
|
-
default:
|
|
38294
|
+
default: C(() => t[1] || (t[1] = [
|
|
38281
38295
|
n("i", { class: "iconfont icon-a-Zoomin text-h4" }, null, -1)
|
|
38282
38296
|
])),
|
|
38283
38297
|
_: 1,
|
|
38284
38298
|
__: [1]
|
|
38285
38299
|
}, 8, ["onClick"]),
|
|
38286
|
-
n("div",
|
|
38300
|
+
n("div", B0, b(a.zoom ? Math.floor(a.zoom) : 0), 1),
|
|
38287
38301
|
L(l, {
|
|
38288
38302
|
"min-width": "32",
|
|
38289
38303
|
width: "32",
|
|
@@ -38291,7 +38305,7 @@ function Z0(e, t, o, i, a, r) {
|
|
|
38291
38305
|
class: "elevation-0 pa-0",
|
|
38292
38306
|
onClick: r.handleZoomOut
|
|
38293
38307
|
}, {
|
|
38294
|
-
default:
|
|
38308
|
+
default: C(() => t[2] || (t[2] = [
|
|
38295
38309
|
n("i", { class: "iconfont icon-a-Zoomout text-h4" }, null, -1)
|
|
38296
38310
|
])),
|
|
38297
38311
|
_: 1,
|
|
@@ -38299,7 +38313,7 @@ function Z0(e, t, o, i, a, r) {
|
|
|
38299
38313
|
}, 8, ["onClick"])
|
|
38300
38314
|
])
|
|
38301
38315
|
], 4)),
|
|
38302
|
-
o.simple ? N("", !0) : (
|
|
38316
|
+
o.simple ? N("", !0) : (P(), I("div", E0, [
|
|
38303
38317
|
t[3] || (t[3] = n("span", null, "© 2023", -1)),
|
|
38304
38318
|
n("span", null, "-" + b(r.computeYear), 1),
|
|
38305
38319
|
t[4] || (t[4] = n("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
|
|
@@ -38311,25 +38325,25 @@ function Z0(e, t, o, i, a, r) {
|
|
|
38311
38325
|
]))
|
|
38312
38326
|
], 4);
|
|
38313
38327
|
}
|
|
38314
|
-
const
|
|
38328
|
+
const X0 = /* @__PURE__ */ ne(F0, [["render", O0]]), af = {
|
|
38315
38329
|
install(e) {
|
|
38316
|
-
e.component("MapInitial",
|
|
38330
|
+
e.component("MapInitial", X0), e.component("MapboxGL", G0), e.component("TropicalGL", or), e.component("LatLngGL", tr), e.component("DateTimePicker", ta), e.component("DateRangePicker", ar), e.component("PortDetail", ga), e.component("TimePlayer", kr);
|
|
38317
38331
|
}
|
|
38318
38332
|
};
|
|
38319
38333
|
export {
|
|
38320
38334
|
ta as D,
|
|
38321
38335
|
tr as L,
|
|
38322
|
-
|
|
38336
|
+
af as M,
|
|
38323
38337
|
ga as P,
|
|
38324
38338
|
or as T,
|
|
38325
38339
|
fa as V,
|
|
38326
38340
|
Ye as W,
|
|
38327
|
-
|
|
38328
|
-
|
|
38341
|
+
X0 as a,
|
|
38342
|
+
G0 as b,
|
|
38329
38343
|
ar as c,
|
|
38330
38344
|
kr as d,
|
|
38331
38345
|
ze as e,
|
|
38332
38346
|
We as f,
|
|
38333
|
-
|
|
38334
|
-
|
|
38347
|
+
W0 as g,
|
|
38348
|
+
Bo as l
|
|
38335
38349
|
};
|