@kong-ui-public/analytics-geo-map 1.9.41 → 1.9.42
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/vitals-geo-map.es.js +357 -349
- package/dist/vitals-geo-map.umd.js +1 -1
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { computed as j, defineComponent as
|
|
1
|
+
import { computed as j, defineComponent as pt, openBlock as J, createElementBlock as re, toDisplayString as ge, createCommentVNode as Fe, Fragment as qr, renderList as Wr, createElementVNode as te, normalizeStyle as Zr, useCssVars as Qr, inject as Jr, toRef as xe, ref as le, useId as Xr, onUnmounted as ea, onMounted as ta, watch as Le, renderSlot as et, createVNode as na, unref as ue, createTextVNode as ra, createBlock as qt } from "vue";
|
|
2
2
|
import { Map as aa } from "maplibre-gl";
|
|
3
3
|
import { AnalyticsIcon as ia } from "@kong/icons";
|
|
4
4
|
import { createI18n as oa, i18nTComponent as sa } from "@kong-ui-public/i18n";
|
|
5
|
-
const
|
|
5
|
+
const Wt = "kapture:prepare", Zt = "kapture:restore";
|
|
6
6
|
function la(t) {
|
|
7
7
|
let n;
|
|
8
8
|
const a = () => {
|
|
@@ -14,8 +14,8 @@ function la(t) {
|
|
|
14
14
|
})()
|
|
15
15
|
);
|
|
16
16
|
};
|
|
17
|
-
return window.addEventListener(
|
|
18
|
-
window.removeEventListener(
|
|
17
|
+
return window.addEventListener(Wt, o), window.addEventListener(Zt, a), () => {
|
|
18
|
+
window.removeEventListener(Wt, o), window.removeEventListener(Zt, a), a();
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
function ua(t, n = {}) {
|
|
@@ -31,7 +31,7 @@ function ua(t, n = {}) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
var v = /* @__PURE__ */ ((t) => (t.FIFTEEN_MIN = "15m", t.ONE_HOUR = "1h", t.SIX_HOUR = "6h", t.TWELVE_HOUR = "12h", t.ONE_DAY = "24h", t.SEVEN_DAY = "7d", t.THIRTY_DAY = "30d", t.NINETY_DAY = "90d", t.ONE_HUNDRED_EIGHTY_DAY = "180d", t.ONE_YEAR = "365d", t.CURRENT_WEEK = "current_week", t.CURRENT_MONTH = "current_month", t.CURRENT_QUARTER = "current_quarter", t.CURRENT_YEAR = "current_year", t.PREVIOUS_WEEK = "previous_week", t.PREVIOUS_MONTH = "previous_month", t.PREVIOUS_QUARTER = "previous_quarter", t.PREVIOUS_YEAR = "previous_year", t))(v || {});
|
|
34
|
-
const ca = ["in", "not_in", "selector"], da = ["empty", "not_empty"],
|
|
34
|
+
const ca = ["in", "not_in", "selector"], da = ["empty", "not_empty"], ce = (t) => t.filter((n) => n !== "time"), Fn = [
|
|
35
35
|
"api",
|
|
36
36
|
"api_package",
|
|
37
37
|
"api_product",
|
|
@@ -45,14 +45,14 @@ const ca = ["in", "not_in", "selector"], da = ["empty", "not_empty"], ue = (t) =
|
|
|
45
45
|
"status_code",
|
|
46
46
|
"status_code_grouped",
|
|
47
47
|
"time"
|
|
48
|
-
],
|
|
48
|
+
], yt = ce(Fn), ma = [
|
|
49
49
|
"active_services",
|
|
50
50
|
"error_rate",
|
|
51
51
|
"request_count",
|
|
52
52
|
"request_per_minute",
|
|
53
53
|
"response_latency_average"
|
|
54
|
-
],
|
|
55
|
-
...
|
|
54
|
+
], Tn = [
|
|
55
|
+
...Fn,
|
|
56
56
|
"ai_gateway",
|
|
57
57
|
"ai_gateway_consumer",
|
|
58
58
|
"ai_gateway_consumer_group",
|
|
@@ -73,7 +73,7 @@ const ca = ["in", "not_in", "selector"], da = ["empty", "not_empty"], ue = (t) =
|
|
|
73
73
|
"realm",
|
|
74
74
|
"portal_api",
|
|
75
75
|
"principal"
|
|
76
|
-
],
|
|
76
|
+
], ht = ce(Tn), fa = [
|
|
77
77
|
...ma,
|
|
78
78
|
"share_of_requests",
|
|
79
79
|
"cache_hit_rate",
|
|
@@ -130,7 +130,7 @@ const ca = ["in", "not_in", "selector"], da = ["empty", "not_empty"], ue = (t) =
|
|
|
130
130
|
"ai_gateway_model",
|
|
131
131
|
"ai_gateway_agent",
|
|
132
132
|
"ai_gateway_data_plane_node"
|
|
133
|
-
],
|
|
133
|
+
], _t = ce(pa), ya = [
|
|
134
134
|
"a2a_context_id",
|
|
135
135
|
"a2a_error",
|
|
136
136
|
"a2a_method",
|
|
@@ -186,7 +186,7 @@ const ca = ["in", "not_in", "selector"], da = ["empty", "not_empty"], ue = (t) =
|
|
|
186
186
|
"upstream_uri",
|
|
187
187
|
"upstream_status_code_grouped",
|
|
188
188
|
"websocket"
|
|
189
|
-
], ha =
|
|
189
|
+
], ha = ce(ya), _a = [
|
|
190
190
|
"auth_type",
|
|
191
191
|
"cache_status",
|
|
192
192
|
"client_ip",
|
|
@@ -214,8 +214,8 @@ const ca = ["in", "not_in", "selector"], da = ["empty", "not_empty"], ue = (t) =
|
|
|
214
214
|
"response_header_content_length",
|
|
215
215
|
"status_code",
|
|
216
216
|
"upstream_status_code"
|
|
217
|
-
], va =
|
|
218
|
-
...
|
|
217
|
+
], va = ce(wa), xa = [
|
|
218
|
+
...Tn.filter((t) => t !== "consumer_group"),
|
|
219
219
|
"a2a_context_id",
|
|
220
220
|
"a2a_error",
|
|
221
221
|
"a2a_method",
|
|
@@ -227,7 +227,7 @@ const ca = ["in", "not_in", "selector"], da = ["empty", "not_empty"], ue = (t) =
|
|
|
227
227
|
"mcp_method",
|
|
228
228
|
"mcp_session_id",
|
|
229
229
|
"mcp_tool_name"
|
|
230
|
-
],
|
|
230
|
+
], gt = ce(xa);
|
|
231
231
|
[
|
|
232
232
|
...fa
|
|
233
233
|
];
|
|
@@ -239,9 +239,9 @@ const Ma = [
|
|
|
239
239
|
"provider",
|
|
240
240
|
"provider_region",
|
|
241
241
|
"time"
|
|
242
|
-
],
|
|
243
|
-
new Set(
|
|
244
|
-
const
|
|
242
|
+
], wt = ce(Ma);
|
|
243
|
+
new Set(yt), new Set(ht), new Set(_t), new Set(gt), new Set(wt);
|
|
244
|
+
const vt = [
|
|
245
245
|
{ code: "AF", name: "Afghanistan" },
|
|
246
246
|
{ code: "AX", name: "Aland Islands" },
|
|
247
247
|
{ code: "AL", name: "Albania" },
|
|
@@ -488,9 +488,7 @@ const pt = [
|
|
|
488
488
|
{ code: "YE", name: "Yemen" },
|
|
489
489
|
{ code: "ZM", name: "Zambia" },
|
|
490
490
|
{ code: "ZW", name: "Zimbabwe" }
|
|
491
|
-
]
|
|
492
|
-
pt.map((t) => t.code);
|
|
493
|
-
const Tn = (t) => ({
|
|
491
|
+
], ae = (t) => ({
|
|
494
492
|
type: "array",
|
|
495
493
|
description: "A list of filters to apply to the query",
|
|
496
494
|
items: {
|
|
@@ -542,7 +540,12 @@ const Tn = (t) => ({
|
|
|
542
540
|
}
|
|
543
541
|
]
|
|
544
542
|
}
|
|
545
|
-
})
|
|
543
|
+
});
|
|
544
|
+
({
|
|
545
|
+
...ae()
|
|
546
|
+
});
|
|
547
|
+
vt.map((t) => t.code);
|
|
548
|
+
const Fa = [
|
|
546
549
|
"control_plane",
|
|
547
550
|
"gateway_service",
|
|
548
551
|
"realm",
|
|
@@ -556,50 +559,55 @@ const Tn = (t) => ({
|
|
|
556
559
|
"region",
|
|
557
560
|
"hostname"
|
|
558
561
|
];
|
|
559
|
-
|
|
562
|
+
ae(ht);
|
|
563
|
+
ae(yt);
|
|
564
|
+
ae(_t);
|
|
565
|
+
ae(gt);
|
|
566
|
+
ae(wt);
|
|
567
|
+
ae(Array.from(/* @__PURE__ */ new Set([
|
|
560
568
|
...ha,
|
|
561
569
|
...ga,
|
|
562
570
|
...va
|
|
563
571
|
])));
|
|
564
|
-
|
|
572
|
+
ae([
|
|
565
573
|
.../* @__PURE__ */ new Set([
|
|
566
|
-
...
|
|
567
|
-
...
|
|
568
|
-
...
|
|
569
|
-
...
|
|
574
|
+
...ht,
|
|
575
|
+
...yt,
|
|
576
|
+
..._t,
|
|
577
|
+
...gt,
|
|
570
578
|
...Fa,
|
|
571
|
-
...
|
|
579
|
+
...wt
|
|
572
580
|
])
|
|
573
581
|
]);
|
|
574
582
|
let Ta = {};
|
|
575
583
|
function Sa() {
|
|
576
584
|
return Ta;
|
|
577
585
|
}
|
|
578
|
-
const Da = 60, ka = 3600,
|
|
579
|
-
function
|
|
580
|
-
return typeof t == "function" ? t(n) : t && typeof t == "object" &&
|
|
586
|
+
const Da = 60, ka = 3600, Qt = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
587
|
+
function Se(t, n) {
|
|
588
|
+
return typeof t == "function" ? t(n) : t && typeof t == "object" && Qt in t ? t[Qt](n) : t instanceof Date ? new t.constructor(n) : new Date(n);
|
|
581
589
|
}
|
|
582
|
-
function
|
|
583
|
-
return
|
|
590
|
+
function de(t, n) {
|
|
591
|
+
return Se(n || t, t);
|
|
584
592
|
}
|
|
585
|
-
function
|
|
586
|
-
const a =
|
|
593
|
+
function Ce(t, n) {
|
|
594
|
+
const a = de(t, n?.in);
|
|
587
595
|
return a.setHours(0, 0, 0, 0), a;
|
|
588
596
|
}
|
|
589
|
-
function
|
|
590
|
-
const a = Sa(), o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, u =
|
|
597
|
+
function be(t, n) {
|
|
598
|
+
const a = Sa(), o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, u = de(t, n?.in), d = u.getDay(), y = (d < o ? 7 : 0) + d - o;
|
|
591
599
|
return u.setDate(u.getDate() - y), u.setHours(0, 0, 0, 0), u;
|
|
592
600
|
}
|
|
593
|
-
function
|
|
594
|
-
const o =
|
|
595
|
-
return isNaN(n) ?
|
|
601
|
+
function Oe(t, n, a) {
|
|
602
|
+
const o = de(t, a?.in);
|
|
603
|
+
return isNaN(n) ? Se(t, NaN) : (o.setDate(o.getDate() + n), o);
|
|
596
604
|
}
|
|
597
605
|
function Sn(t, n, a) {
|
|
598
|
-
const o =
|
|
599
|
-
if (isNaN(n)) return
|
|
606
|
+
const o = de(t, a?.in);
|
|
607
|
+
if (isNaN(n)) return Se(t, NaN);
|
|
600
608
|
if (!n)
|
|
601
609
|
return o;
|
|
602
|
-
const u = o.getDate(), d =
|
|
610
|
+
const u = o.getDate(), d = Se(t, o.getTime());
|
|
603
611
|
d.setMonth(o.getMonth() + n + 1, 0);
|
|
604
612
|
const y = d.getDate();
|
|
605
613
|
return u >= y ? d : (o.setFullYear(
|
|
@@ -611,19 +619,19 @@ function Sn(t, n, a) {
|
|
|
611
619
|
function Na(t, n, a) {
|
|
612
620
|
return Sn(t, n * 3, a);
|
|
613
621
|
}
|
|
614
|
-
function
|
|
615
|
-
const a =
|
|
622
|
+
function he(t, n) {
|
|
623
|
+
const a = de(t, n?.in), o = a.getMonth(), u = o - o % 3;
|
|
616
624
|
return a.setMonth(u, 1), a.setHours(0, 0, 0, 0), a;
|
|
617
625
|
}
|
|
618
|
-
function
|
|
619
|
-
const a =
|
|
626
|
+
function _e(t, n) {
|
|
627
|
+
const a = de(t, n?.in);
|
|
620
628
|
return a.setDate(1), a.setHours(0, 0, 0, 0), a;
|
|
621
629
|
}
|
|
622
630
|
function Ra(t, n) {
|
|
623
|
-
const a =
|
|
631
|
+
const a = de(t, n?.in), o = a.getFullYear(), u = a.getMonth(), d = Se(a, 0);
|
|
624
632
|
return d.setFullYear(o, u + 1, 0), d.setHours(0, 0, 0, 0), d.getDate();
|
|
625
633
|
}
|
|
626
|
-
function
|
|
634
|
+
function Jt(t) {
|
|
627
635
|
return Math.trunc(t * ka);
|
|
628
636
|
}
|
|
629
637
|
function Ea(t) {
|
|
@@ -637,7 +645,7 @@ function kn(t, n, a) {
|
|
|
637
645
|
return Na(t, -1, a);
|
|
638
646
|
}
|
|
639
647
|
function Pa(t, n) {
|
|
640
|
-
const a =
|
|
648
|
+
const a = Ia(n);
|
|
641
649
|
return "formatToParts" in a ? Ca(a, t) : Oa(a, t);
|
|
642
650
|
}
|
|
643
651
|
const La = {
|
|
@@ -673,7 +681,7 @@ function Oa(t, n) {
|
|
|
673
681
|
parseInt(o[6], 10)
|
|
674
682
|
];
|
|
675
683
|
}
|
|
676
|
-
const
|
|
684
|
+
const tt = {}, Xt = new Intl.DateTimeFormat("en-US", {
|
|
677
685
|
hourCycle: "h23",
|
|
678
686
|
timeZone: "America/New_York",
|
|
679
687
|
year: "numeric",
|
|
@@ -682,9 +690,9 @@ const et = {}, Kt = new Intl.DateTimeFormat("en-US", {
|
|
|
682
690
|
hour: "2-digit",
|
|
683
691
|
minute: "2-digit",
|
|
684
692
|
second: "2-digit"
|
|
685
|
-
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")),
|
|
686
|
-
function
|
|
687
|
-
return
|
|
693
|
+
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Ga = Xt === "06/25/2014, 00:00:00" || Xt === "06/25/2014 00:00:00";
|
|
694
|
+
function Ia(t) {
|
|
695
|
+
return tt[t] || (tt[t] = Ga ? new Intl.DateTimeFormat("en-US", {
|
|
688
696
|
hourCycle: "h23",
|
|
689
697
|
timeZone: t,
|
|
690
698
|
year: "numeric",
|
|
@@ -702,74 +710,74 @@ function Ga(t) {
|
|
|
702
710
|
hour: "2-digit",
|
|
703
711
|
minute: "2-digit",
|
|
704
712
|
second: "2-digit"
|
|
705
|
-
})),
|
|
713
|
+
})), tt[t];
|
|
706
714
|
}
|
|
707
|
-
function
|
|
715
|
+
function xt(t, n, a, o, u, d, y) {
|
|
708
716
|
const h = /* @__PURE__ */ new Date(0);
|
|
709
717
|
return h.setUTCFullYear(t, n, a), h.setUTCHours(o, u, d, y), h;
|
|
710
718
|
}
|
|
711
|
-
const
|
|
719
|
+
const en = 36e5, Ua = 6e4, nt = {
|
|
712
720
|
timezoneZ: /^(Z)$/,
|
|
713
721
|
timezoneHH: /^([+-]\d{2})$/,
|
|
714
722
|
timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
|
|
715
723
|
};
|
|
716
|
-
function
|
|
724
|
+
function ze(t, n, a) {
|
|
717
725
|
if (!t)
|
|
718
726
|
return 0;
|
|
719
|
-
let o =
|
|
727
|
+
let o = nt.timezoneZ.exec(t);
|
|
720
728
|
if (o)
|
|
721
729
|
return 0;
|
|
722
730
|
let u, d;
|
|
723
|
-
if (o =
|
|
724
|
-
return u = parseInt(o[1], 10),
|
|
725
|
-
if (o =
|
|
731
|
+
if (o = nt.timezoneHH.exec(t), o)
|
|
732
|
+
return u = parseInt(o[1], 10), tn(u) ? -(u * en) : NaN;
|
|
733
|
+
if (o = nt.timezoneHHMM.exec(t), o) {
|
|
726
734
|
u = parseInt(o[2], 10);
|
|
727
735
|
const y = parseInt(o[3], 10);
|
|
728
|
-
return
|
|
736
|
+
return tn(u, y) ? (d = Math.abs(u) * en + y * Ua, o[1] === "+" ? -d : d) : NaN;
|
|
729
737
|
}
|
|
730
738
|
if (Ba(t)) {
|
|
731
739
|
n = new Date(n || Date.now());
|
|
732
|
-
const y = a ? n : Aa(n), h =
|
|
740
|
+
const y = a ? n : Aa(n), h = mt(y, t);
|
|
733
741
|
return -(a ? h : Va(n, h, t));
|
|
734
742
|
}
|
|
735
743
|
return NaN;
|
|
736
744
|
}
|
|
737
745
|
function Aa(t) {
|
|
738
|
-
return
|
|
746
|
+
return xt(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds());
|
|
739
747
|
}
|
|
740
|
-
function
|
|
741
|
-
const a = Pa(t, n), o =
|
|
748
|
+
function mt(t, n) {
|
|
749
|
+
const a = Pa(t, n), o = xt(a[0], a[1] - 1, a[2], a[3] % 24, a[4], a[5], 0).getTime();
|
|
742
750
|
let u = t.getTime();
|
|
743
751
|
const d = u % 1e3;
|
|
744
752
|
return u -= d >= 0 ? d : 1e3 + d, o - u;
|
|
745
753
|
}
|
|
746
754
|
function Va(t, n, a) {
|
|
747
755
|
let o = t.getTime() - n;
|
|
748
|
-
const u =
|
|
756
|
+
const u = mt(new Date(o), a);
|
|
749
757
|
if (n === u)
|
|
750
758
|
return n;
|
|
751
759
|
o -= u - n;
|
|
752
|
-
const d =
|
|
760
|
+
const d = mt(new Date(o), a);
|
|
753
761
|
return u === d ? u : Math.max(u, d);
|
|
754
762
|
}
|
|
755
|
-
function
|
|
763
|
+
function tn(t, n) {
|
|
756
764
|
return -23 <= t && t <= 23 && (n == null || 0 <= n && n <= 59);
|
|
757
765
|
}
|
|
758
|
-
const
|
|
766
|
+
const nn = {};
|
|
759
767
|
function Ba(t) {
|
|
760
|
-
if (
|
|
768
|
+
if (nn[t])
|
|
761
769
|
return !0;
|
|
762
770
|
try {
|
|
763
|
-
return new Intl.DateTimeFormat(void 0, { timeZone: t }),
|
|
771
|
+
return new Intl.DateTimeFormat(void 0, { timeZone: t }), nn[t] = !0, !0;
|
|
764
772
|
} catch {
|
|
765
773
|
return !1;
|
|
766
774
|
}
|
|
767
775
|
}
|
|
768
|
-
function
|
|
776
|
+
function rn(t) {
|
|
769
777
|
const n = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
770
778
|
return n.setUTCFullYear(t.getFullYear()), +t - +n;
|
|
771
779
|
}
|
|
772
|
-
const Nn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,
|
|
780
|
+
const Nn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, rt = 36e5, an = 6e4, ba = 2, H = {
|
|
773
781
|
dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
|
|
774
782
|
datePattern: /^([0-9W+-]+)(.*)/,
|
|
775
783
|
// year tokens
|
|
@@ -803,7 +811,7 @@ const Nn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)
|
|
|
803
811
|
// time zone tokens (to identify the presence of a tz)
|
|
804
812
|
timeZone: Nn
|
|
805
813
|
};
|
|
806
|
-
function
|
|
814
|
+
function ft(t, n = {}) {
|
|
807
815
|
if (arguments.length < 1)
|
|
808
816
|
throw new TypeError("1 argument required, but only " + arguments.length + " present");
|
|
809
817
|
if (t === null)
|
|
@@ -826,10 +834,10 @@ function mt(t, n = {}) {
|
|
|
826
834
|
if (o.time && (T = $a(o.time), T === null || isNaN(T)))
|
|
827
835
|
return /* @__PURE__ */ new Date(NaN);
|
|
828
836
|
if (o.timeZone || n.timeZone) {
|
|
829
|
-
if (N =
|
|
837
|
+
if (N = ze(o.timeZone || n.timeZone, new Date(h + T)), isNaN(N))
|
|
830
838
|
return /* @__PURE__ */ new Date(NaN);
|
|
831
839
|
} else
|
|
832
|
-
N =
|
|
840
|
+
N = rn(new Date(h + T)), N = rn(new Date(h + T + N));
|
|
833
841
|
return new Date(h + T + N);
|
|
834
842
|
} else
|
|
835
843
|
return /* @__PURE__ */ new Date(NaN);
|
|
@@ -874,7 +882,7 @@ function Ya(t, n) {
|
|
|
874
882
|
return a = /* @__PURE__ */ new Date(0), a.setUTCFullYear(n), a;
|
|
875
883
|
let d = H.MM.exec(t);
|
|
876
884
|
if (d)
|
|
877
|
-
return a = /* @__PURE__ */ new Date(0), o = parseInt(d[1], 10) - 1,
|
|
885
|
+
return a = /* @__PURE__ */ new Date(0), o = parseInt(d[1], 10) - 1, sn(n, o) ? (a.setUTCFullYear(n, o), a) : /* @__PURE__ */ new Date(NaN);
|
|
878
886
|
if (d = H.DDD.exec(t), d) {
|
|
879
887
|
a = /* @__PURE__ */ new Date(0);
|
|
880
888
|
const y = parseInt(d[1], 10);
|
|
@@ -883,31 +891,31 @@ function Ya(t, n) {
|
|
|
883
891
|
if (d = H.MMDD.exec(t), d) {
|
|
884
892
|
a = /* @__PURE__ */ new Date(0), o = parseInt(d[1], 10) - 1;
|
|
885
893
|
const y = parseInt(d[2], 10);
|
|
886
|
-
return
|
|
894
|
+
return sn(n, o, y) ? (a.setUTCFullYear(n, o, y), a) : /* @__PURE__ */ new Date(NaN);
|
|
887
895
|
}
|
|
888
896
|
if (d = H.Www.exec(t), d)
|
|
889
|
-
return u = parseInt(d[1], 10) - 1,
|
|
897
|
+
return u = parseInt(d[1], 10) - 1, ln(u) ? on(n, u) : /* @__PURE__ */ new Date(NaN);
|
|
890
898
|
if (d = H.WwwD.exec(t), d) {
|
|
891
899
|
u = parseInt(d[1], 10) - 1;
|
|
892
900
|
const y = parseInt(d[2], 10) - 1;
|
|
893
|
-
return
|
|
901
|
+
return ln(u, y) ? on(n, u, y) : /* @__PURE__ */ new Date(NaN);
|
|
894
902
|
}
|
|
895
903
|
return null;
|
|
896
904
|
}
|
|
897
905
|
function $a(t) {
|
|
898
906
|
let n, a, o = H.HH.exec(t);
|
|
899
907
|
if (o)
|
|
900
|
-
return n = parseFloat(o[1].replace(",", ".")),
|
|
908
|
+
return n = parseFloat(o[1].replace(",", ".")), at(n) ? n % 24 * rt : NaN;
|
|
901
909
|
if (o = H.HHMM.exec(t), o)
|
|
902
|
-
return n = parseInt(o[1], 10), a = parseFloat(o[2].replace(",", ".")),
|
|
910
|
+
return n = parseInt(o[1], 10), a = parseFloat(o[2].replace(",", ".")), at(n, a) ? n % 24 * rt + a * an : NaN;
|
|
903
911
|
if (o = H.HHMMSS.exec(t), o) {
|
|
904
912
|
n = parseInt(o[1], 10), a = parseInt(o[2], 10);
|
|
905
913
|
const u = parseFloat(o[3].replace(",", "."));
|
|
906
|
-
return
|
|
914
|
+
return at(n, a, u) ? n % 24 * rt + a * an + u * 1e3 : NaN;
|
|
907
915
|
}
|
|
908
916
|
return null;
|
|
909
917
|
}
|
|
910
|
-
function
|
|
918
|
+
function on(t, n, a) {
|
|
911
919
|
n = n || 0, a = a || 0;
|
|
912
920
|
const o = /* @__PURE__ */ new Date(0);
|
|
913
921
|
o.setUTCFullYear(t, 0, 4);
|
|
@@ -918,7 +926,7 @@ const ja = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Ka = [31, 29, 31, 3
|
|
|
918
926
|
function Rn(t) {
|
|
919
927
|
return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
|
|
920
928
|
}
|
|
921
|
-
function
|
|
929
|
+
function sn(t, n, a) {
|
|
922
930
|
if (n < 0 || n > 11)
|
|
923
931
|
return !1;
|
|
924
932
|
if (a != null) {
|
|
@@ -936,35 +944,35 @@ function qa(t, n) {
|
|
|
936
944
|
const a = Rn(t);
|
|
937
945
|
return !(a && n > 366 || !a && n > 365);
|
|
938
946
|
}
|
|
939
|
-
function
|
|
947
|
+
function ln(t, n) {
|
|
940
948
|
return !(t < 0 || t > 52 || n != null && (n < 0 || n > 6));
|
|
941
949
|
}
|
|
942
|
-
function
|
|
950
|
+
function at(t, n, a) {
|
|
943
951
|
return !(t < 0 || t >= 25 || n != null && (n < 0 || n >= 60) || a != null && (a < 0 || a >= 60));
|
|
944
952
|
}
|
|
945
953
|
function Wa(t, n, a) {
|
|
946
|
-
t =
|
|
947
|
-
const o =
|
|
954
|
+
t = ft(t, a);
|
|
955
|
+
const o = ze(n, t, !0), u = new Date(t.getTime() - o), d = /* @__PURE__ */ new Date(0);
|
|
948
956
|
return d.setFullYear(u.getUTCFullYear(), u.getUTCMonth(), u.getUTCDate()), d.setHours(u.getUTCHours(), u.getUTCMinutes(), u.getUTCSeconds(), u.getUTCMilliseconds()), d;
|
|
949
957
|
}
|
|
950
958
|
function Za(t, n, a) {
|
|
951
959
|
if (typeof t == "string" && !t.match(Nn))
|
|
952
|
-
return
|
|
953
|
-
t =
|
|
954
|
-
const o =
|
|
960
|
+
return ft(t, { ...a, timeZone: n });
|
|
961
|
+
t = ft(t, a);
|
|
962
|
+
const o = xt(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()).getTime(), u = ze(n, new Date(o));
|
|
955
963
|
return new Date(o + u);
|
|
956
964
|
}
|
|
957
965
|
function Qa(t, n) {
|
|
958
|
-
return -
|
|
966
|
+
return -ze(t, n);
|
|
959
967
|
}
|
|
960
|
-
var
|
|
961
|
-
|
|
962
|
-
var
|
|
968
|
+
var Ge = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ae = { exports: {} };
|
|
969
|
+
Ae.exports;
|
|
970
|
+
var un;
|
|
963
971
|
function Ja() {
|
|
964
|
-
return
|
|
965
|
-
var a = 200, o = "__lodash_hash_undefined__", u = 9007199254740991, d = "[object Arguments]", y = "[object Array]", h = "[object Boolean]", T = "[object Date]", N = "[object Error]", S = "[object Function]", E = "[object GeneratorFunction]", F = "[object Map]",
|
|
966
|
-
R[d] = R[y] = R[b] = R[f] = R[h] = R[T] = R[_] = R[s] = R[p] = R[g] = R[D] = R[F] = R[
|
|
967
|
-
var W = typeof
|
|
972
|
+
return un || (un = 1, (function(t, n) {
|
|
973
|
+
var a = 200, o = "__lodash_hash_undefined__", u = 9007199254740991, d = "[object Arguments]", y = "[object Array]", h = "[object Boolean]", T = "[object Date]", N = "[object Error]", S = "[object Function]", E = "[object GeneratorFunction]", F = "[object Map]", G = "[object Number]", C = "[object Object]", P = "[object Promise]", L = "[object RegExp]", A = "[object Set]", I = "[object String]", U = "[object Symbol]", z = "[object WeakMap]", b = "[object ArrayBuffer]", f = "[object DataView]", _ = "[object Float32Array]", s = "[object Float64Array]", p = "[object Int8Array]", g = "[object Int16Array]", D = "[object Int32Array]", e = "[object Uint8Array]", i = "[object Uint8ClampedArray]", l = "[object Uint16Array]", w = "[object Uint32Array]", x = /[\\^$.*+?()[\]{}|]/g, k = /\w*$/, O = /^\[object .+?Constructor\]$/, K = /^(?:0|[1-9]\d*)$/, R = {};
|
|
974
|
+
R[d] = R[y] = R[b] = R[f] = R[h] = R[T] = R[_] = R[s] = R[p] = R[g] = R[D] = R[F] = R[G] = R[C] = R[L] = R[A] = R[I] = R[U] = R[e] = R[i] = R[l] = R[w] = !0, R[N] = R[S] = R[z] = !1;
|
|
975
|
+
var W = typeof Ge == "object" && Ge && Ge.Object === Object && Ge, Q = typeof self == "object" && self && self.Object === Object && self, q = W || Q || Function("return this")(), Ft = n && !n.nodeType && n, Tt = Ft && !0 && t && !t.nodeType && t, En = Tt && Tt.exports === Ft;
|
|
968
976
|
function Pn(r, c) {
|
|
969
977
|
return r.set(c[0], c[1]), r;
|
|
970
978
|
}
|
|
@@ -981,20 +989,20 @@ function Ja() {
|
|
|
981
989
|
r[B + m] = c[m];
|
|
982
990
|
return r;
|
|
983
991
|
}
|
|
984
|
-
function
|
|
992
|
+
function St(r, c, m, M) {
|
|
985
993
|
for (var B = -1, Y = r ? r.length : 0; ++B < Y; )
|
|
986
994
|
m = c(m, r[B], B, r);
|
|
987
995
|
return m;
|
|
988
996
|
}
|
|
989
|
-
function
|
|
997
|
+
function Gn(r, c) {
|
|
990
998
|
for (var m = -1, M = Array(r); ++m < r; )
|
|
991
999
|
M[m] = c(m);
|
|
992
1000
|
return M;
|
|
993
1001
|
}
|
|
994
|
-
function
|
|
1002
|
+
function In(r, c) {
|
|
995
1003
|
return r?.[c];
|
|
996
1004
|
}
|
|
997
|
-
function
|
|
1005
|
+
function Dt(r) {
|
|
998
1006
|
var c = !1;
|
|
999
1007
|
if (r != null && typeof r.toString != "function")
|
|
1000
1008
|
try {
|
|
@@ -1003,30 +1011,30 @@ function Ja() {
|
|
|
1003
1011
|
}
|
|
1004
1012
|
return c;
|
|
1005
1013
|
}
|
|
1006
|
-
function
|
|
1014
|
+
function kt(r) {
|
|
1007
1015
|
var c = -1, m = Array(r.size);
|
|
1008
1016
|
return r.forEach(function(M, B) {
|
|
1009
1017
|
m[++c] = [B, M];
|
|
1010
1018
|
}), m;
|
|
1011
1019
|
}
|
|
1012
|
-
function
|
|
1020
|
+
function He(r, c) {
|
|
1013
1021
|
return function(m) {
|
|
1014
1022
|
return r(c(m));
|
|
1015
1023
|
};
|
|
1016
1024
|
}
|
|
1017
|
-
function
|
|
1025
|
+
function Nt(r) {
|
|
1018
1026
|
var c = -1, m = Array(r.size);
|
|
1019
1027
|
return r.forEach(function(M) {
|
|
1020
1028
|
m[++c] = M;
|
|
1021
1029
|
}), m;
|
|
1022
1030
|
}
|
|
1023
|
-
var Un = Array.prototype, An = Function.prototype,
|
|
1024
|
-
var r = /[^.]+$/.exec(
|
|
1031
|
+
var Un = Array.prototype, An = Function.prototype, De = Object.prototype, Ye = q["__core-js_shared__"], Rt = (function() {
|
|
1032
|
+
var r = /[^.]+$/.exec(Ye && Ye.keys && Ye.keys.IE_PROTO || "");
|
|
1025
1033
|
return r ? "Symbol(src)_1." + r : "";
|
|
1026
|
-
})(),
|
|
1027
|
-
"^" +
|
|
1028
|
-
),
|
|
1029
|
-
function
|
|
1034
|
+
})(), Et = An.toString, ne = De.hasOwnProperty, ke = De.toString, Vn = RegExp(
|
|
1035
|
+
"^" + Et.call(ne).replace(x, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1036
|
+
), Pt = En ? q.Buffer : void 0, Lt = q.Symbol, Ct = q.Uint8Array, Bn = He(Object.getPrototypeOf, Object), bn = Object.create, zn = De.propertyIsEnumerable, Hn = Un.splice, Ot = Object.getOwnPropertySymbols, Yn = Pt ? Pt.isBuffer : void 0, $n = He(Object.keys, Object), $e = pe(q, "DataView"), we = pe(q, "Map"), je = pe(q, "Promise"), Ke = pe(q, "Set"), qe = pe(q, "WeakMap"), ve = pe(Object, "create"), jn = se($e), Kn = se(we), qn = se(je), Wn = se(Ke), Zn = se(qe), Gt = Lt ? Lt.prototype : void 0, It = Gt ? Gt.valueOf : void 0;
|
|
1037
|
+
function ie(r) {
|
|
1030
1038
|
var c = -1, m = r ? r.length : 0;
|
|
1031
1039
|
for (this.clear(); ++c < m; ) {
|
|
1032
1040
|
var M = r[c];
|
|
@@ -1034,14 +1042,14 @@ function Ja() {
|
|
|
1034
1042
|
}
|
|
1035
1043
|
}
|
|
1036
1044
|
function Qn() {
|
|
1037
|
-
this.__data__ =
|
|
1045
|
+
this.__data__ = ve ? ve(null) : {};
|
|
1038
1046
|
}
|
|
1039
1047
|
function Jn(r) {
|
|
1040
1048
|
return this.has(r) && delete this.__data__[r];
|
|
1041
1049
|
}
|
|
1042
1050
|
function Xn(r) {
|
|
1043
1051
|
var c = this.__data__;
|
|
1044
|
-
if (
|
|
1052
|
+
if (ve) {
|
|
1045
1053
|
var m = c[r];
|
|
1046
1054
|
return m === o ? void 0 : m;
|
|
1047
1055
|
}
|
|
@@ -1049,13 +1057,13 @@ function Ja() {
|
|
|
1049
1057
|
}
|
|
1050
1058
|
function er(r) {
|
|
1051
1059
|
var c = this.__data__;
|
|
1052
|
-
return
|
|
1060
|
+
return ve ? c[r] !== void 0 : ne.call(c, r);
|
|
1053
1061
|
}
|
|
1054
1062
|
function tr(r, c) {
|
|
1055
1063
|
var m = this.__data__;
|
|
1056
|
-
return m[r] =
|
|
1064
|
+
return m[r] = ve && c === void 0 ? o : c, this;
|
|
1057
1065
|
}
|
|
1058
|
-
|
|
1066
|
+
ie.prototype.clear = Qn, ie.prototype.delete = Jn, ie.prototype.get = Xn, ie.prototype.has = er, ie.prototype.set = tr;
|
|
1059
1067
|
function X(r) {
|
|
1060
1068
|
var c = -1, m = r ? r.length : 0;
|
|
1061
1069
|
for (this.clear(); ++c < m; ) {
|
|
@@ -1067,25 +1075,25 @@ function Ja() {
|
|
|
1067
1075
|
this.__data__ = [];
|
|
1068
1076
|
}
|
|
1069
1077
|
function rr(r) {
|
|
1070
|
-
var c = this.__data__, m =
|
|
1078
|
+
var c = this.__data__, m = Ne(c, r);
|
|
1071
1079
|
if (m < 0)
|
|
1072
1080
|
return !1;
|
|
1073
1081
|
var M = c.length - 1;
|
|
1074
1082
|
return m == M ? c.pop() : Hn.call(c, m, 1), !0;
|
|
1075
1083
|
}
|
|
1076
1084
|
function ar(r) {
|
|
1077
|
-
var c = this.__data__, m =
|
|
1085
|
+
var c = this.__data__, m = Ne(c, r);
|
|
1078
1086
|
return m < 0 ? void 0 : c[m][1];
|
|
1079
1087
|
}
|
|
1080
1088
|
function ir(r) {
|
|
1081
|
-
return
|
|
1089
|
+
return Ne(this.__data__, r) > -1;
|
|
1082
1090
|
}
|
|
1083
1091
|
function or(r, c) {
|
|
1084
|
-
var m = this.__data__, M =
|
|
1092
|
+
var m = this.__data__, M = Ne(m, r);
|
|
1085
1093
|
return M < 0 ? m.push([r, c]) : m[M][1] = c, this;
|
|
1086
1094
|
}
|
|
1087
1095
|
X.prototype.clear = nr, X.prototype.delete = rr, X.prototype.get = ar, X.prototype.has = ir, X.prototype.set = or;
|
|
1088
|
-
function
|
|
1096
|
+
function me(r) {
|
|
1089
1097
|
var c = -1, m = r ? r.length : 0;
|
|
1090
1098
|
for (this.clear(); ++c < m; ) {
|
|
1091
1099
|
var M = r[c];
|
|
@@ -1094,25 +1102,25 @@ function Ja() {
|
|
|
1094
1102
|
}
|
|
1095
1103
|
function sr() {
|
|
1096
1104
|
this.__data__ = {
|
|
1097
|
-
hash: new
|
|
1098
|
-
map: new (
|
|
1099
|
-
string: new
|
|
1105
|
+
hash: new ie(),
|
|
1106
|
+
map: new (we || X)(),
|
|
1107
|
+
string: new ie()
|
|
1100
1108
|
};
|
|
1101
1109
|
}
|
|
1102
1110
|
function lr(r) {
|
|
1103
|
-
return
|
|
1111
|
+
return Re(this, r).delete(r);
|
|
1104
1112
|
}
|
|
1105
1113
|
function ur(r) {
|
|
1106
|
-
return
|
|
1114
|
+
return Re(this, r).get(r);
|
|
1107
1115
|
}
|
|
1108
1116
|
function cr(r) {
|
|
1109
|
-
return
|
|
1117
|
+
return Re(this, r).has(r);
|
|
1110
1118
|
}
|
|
1111
1119
|
function dr(r, c) {
|
|
1112
|
-
return
|
|
1120
|
+
return Re(this, r).set(r, c), this;
|
|
1113
1121
|
}
|
|
1114
|
-
|
|
1115
|
-
function
|
|
1122
|
+
me.prototype.clear = sr, me.prototype.delete = lr, me.prototype.get = ur, me.prototype.has = cr, me.prototype.set = dr;
|
|
1123
|
+
function fe(r) {
|
|
1116
1124
|
this.__data__ = new X(r);
|
|
1117
1125
|
}
|
|
1118
1126
|
function mr() {
|
|
@@ -1131,85 +1139,85 @@ function Ja() {
|
|
|
1131
1139
|
var m = this.__data__;
|
|
1132
1140
|
if (m instanceof X) {
|
|
1133
1141
|
var M = m.__data__;
|
|
1134
|
-
if (!
|
|
1142
|
+
if (!we || M.length < a - 1)
|
|
1135
1143
|
return M.push([r, c]), this;
|
|
1136
|
-
m = this.__data__ = new
|
|
1144
|
+
m = this.__data__ = new me(M);
|
|
1137
1145
|
}
|
|
1138
1146
|
return m.set(r, c), this;
|
|
1139
1147
|
}
|
|
1140
|
-
|
|
1148
|
+
fe.prototype.clear = mr, fe.prototype.delete = fr, fe.prototype.get = pr, fe.prototype.has = yr, fe.prototype.set = hr;
|
|
1141
1149
|
function _r(r, c) {
|
|
1142
|
-
var m =
|
|
1150
|
+
var m = Qe(r) || br(r) ? Gn(r.length, String) : [], M = m.length, B = !!M;
|
|
1143
1151
|
for (var Y in r)
|
|
1144
1152
|
ne.call(r, Y) && !(B && (Y == "length" || Ur(Y, M))) && m.push(Y);
|
|
1145
1153
|
return m;
|
|
1146
1154
|
}
|
|
1147
|
-
function
|
|
1155
|
+
function Ut(r, c, m) {
|
|
1148
1156
|
var M = r[c];
|
|
1149
|
-
(!(ne.call(r, c) &&
|
|
1157
|
+
(!(ne.call(r, c) && bt(M, m)) || m === void 0 && !(c in r)) && (r[c] = m);
|
|
1150
1158
|
}
|
|
1151
|
-
function
|
|
1159
|
+
function Ne(r, c) {
|
|
1152
1160
|
for (var m = r.length; m--; )
|
|
1153
|
-
if (
|
|
1161
|
+
if (bt(r[m][0], c))
|
|
1154
1162
|
return m;
|
|
1155
1163
|
return -1;
|
|
1156
1164
|
}
|
|
1157
1165
|
function gr(r, c) {
|
|
1158
|
-
return r &&
|
|
1166
|
+
return r && At(c, Je(c), r);
|
|
1159
1167
|
}
|
|
1160
|
-
function
|
|
1168
|
+
function We(r, c, m, M, B, Y, ee) {
|
|
1161
1169
|
var $;
|
|
1162
1170
|
if (M && ($ = Y ? M(r, B, Y, ee) : M(r)), $ !== void 0)
|
|
1163
1171
|
return $;
|
|
1164
|
-
if (!
|
|
1172
|
+
if (!Ee(r))
|
|
1165
1173
|
return r;
|
|
1166
|
-
var
|
|
1167
|
-
if (
|
|
1174
|
+
var Yt = Qe(r);
|
|
1175
|
+
if (Yt) {
|
|
1168
1176
|
if ($ = Or(r), !c)
|
|
1169
1177
|
return Pr(r, $);
|
|
1170
1178
|
} else {
|
|
1171
|
-
var
|
|
1179
|
+
var ye = oe(r), $t = ye == S || ye == E;
|
|
1172
1180
|
if (Hr(r))
|
|
1173
1181
|
return Tr(r, c);
|
|
1174
|
-
if (
|
|
1175
|
-
if (
|
|
1182
|
+
if (ye == C || ye == d || $t && !Y) {
|
|
1183
|
+
if (Dt(r))
|
|
1176
1184
|
return Y ? r : {};
|
|
1177
|
-
if ($ =
|
|
1185
|
+
if ($ = Gr($t ? {} : r), !c)
|
|
1178
1186
|
return Lr(r, gr($, r));
|
|
1179
1187
|
} else {
|
|
1180
|
-
if (!R[
|
|
1188
|
+
if (!R[ye])
|
|
1181
1189
|
return Y ? r : {};
|
|
1182
|
-
$ =
|
|
1190
|
+
$ = Ir(r, ye, We, c);
|
|
1183
1191
|
}
|
|
1184
1192
|
}
|
|
1185
|
-
ee || (ee = new
|
|
1186
|
-
var
|
|
1187
|
-
if (
|
|
1188
|
-
return
|
|
1189
|
-
if (ee.set(r, $), !
|
|
1190
|
-
var
|
|
1191
|
-
return Cn(
|
|
1192
|
-
|
|
1193
|
+
ee || (ee = new fe());
|
|
1194
|
+
var jt = ee.get(r);
|
|
1195
|
+
if (jt)
|
|
1196
|
+
return jt;
|
|
1197
|
+
if (ee.set(r, $), !Yt)
|
|
1198
|
+
var Kt = m ? Cr(r) : Je(r);
|
|
1199
|
+
return Cn(Kt || r, function(Xe, Pe) {
|
|
1200
|
+
Kt && (Pe = Xe, Xe = r[Pe]), Ut($, Pe, We(Xe, c, m, M, Pe, r, ee));
|
|
1193
1201
|
}), $;
|
|
1194
1202
|
}
|
|
1195
1203
|
function wr(r) {
|
|
1196
|
-
return
|
|
1204
|
+
return Ee(r) ? bn(r) : {};
|
|
1197
1205
|
}
|
|
1198
1206
|
function vr(r, c, m) {
|
|
1199
1207
|
var M = c(r);
|
|
1200
|
-
return
|
|
1208
|
+
return Qe(r) ? M : On(M, m(r));
|
|
1201
1209
|
}
|
|
1202
1210
|
function xr(r) {
|
|
1203
|
-
return
|
|
1211
|
+
return ke.call(r);
|
|
1204
1212
|
}
|
|
1205
1213
|
function Mr(r) {
|
|
1206
|
-
if (!
|
|
1214
|
+
if (!Ee(r) || Vr(r))
|
|
1207
1215
|
return !1;
|
|
1208
|
-
var c =
|
|
1209
|
-
return c.test(
|
|
1216
|
+
var c = Ht(r) || Dt(r) ? Vn : O;
|
|
1217
|
+
return c.test(se(r));
|
|
1210
1218
|
}
|
|
1211
1219
|
function Fr(r) {
|
|
1212
|
-
if (!
|
|
1220
|
+
if (!Bt(r))
|
|
1213
1221
|
return $n(r);
|
|
1214
1222
|
var c = [];
|
|
1215
1223
|
for (var m in Object(r))
|
|
@@ -1222,31 +1230,31 @@ function Ja() {
|
|
|
1222
1230
|
var m = new r.constructor(r.length);
|
|
1223
1231
|
return r.copy(m), m;
|
|
1224
1232
|
}
|
|
1225
|
-
function
|
|
1233
|
+
function Ze(r) {
|
|
1226
1234
|
var c = new r.constructor(r.byteLength);
|
|
1227
|
-
return new
|
|
1235
|
+
return new Ct(c).set(new Ct(r)), c;
|
|
1228
1236
|
}
|
|
1229
1237
|
function Sr(r, c) {
|
|
1230
|
-
var m = c ?
|
|
1238
|
+
var m = c ? Ze(r.buffer) : r.buffer;
|
|
1231
1239
|
return new r.constructor(m, r.byteOffset, r.byteLength);
|
|
1232
1240
|
}
|
|
1233
1241
|
function Dr(r, c, m) {
|
|
1234
|
-
var M = c ? m(
|
|
1235
|
-
return
|
|
1242
|
+
var M = c ? m(kt(r), !0) : kt(r);
|
|
1243
|
+
return St(M, Pn, new r.constructor());
|
|
1236
1244
|
}
|
|
1237
1245
|
function kr(r) {
|
|
1238
1246
|
var c = new r.constructor(r.source, k.exec(r));
|
|
1239
1247
|
return c.lastIndex = r.lastIndex, c;
|
|
1240
1248
|
}
|
|
1241
1249
|
function Nr(r, c, m) {
|
|
1242
|
-
var M = c ? m(
|
|
1243
|
-
return
|
|
1250
|
+
var M = c ? m(Nt(r), !0) : Nt(r);
|
|
1251
|
+
return St(M, Ln, new r.constructor());
|
|
1244
1252
|
}
|
|
1245
1253
|
function Rr(r) {
|
|
1246
|
-
return
|
|
1254
|
+
return It ? Object(It.call(r)) : {};
|
|
1247
1255
|
}
|
|
1248
1256
|
function Er(r, c) {
|
|
1249
|
-
var m = c ?
|
|
1257
|
+
var m = c ? Ze(r.buffer) : r.buffer;
|
|
1250
1258
|
return new r.constructor(m, r.byteOffset, r.length);
|
|
1251
1259
|
}
|
|
1252
1260
|
function Pr(r, c) {
|
|
@@ -1255,31 +1263,31 @@ function Ja() {
|
|
|
1255
1263
|
c[m] = r[m];
|
|
1256
1264
|
return c;
|
|
1257
1265
|
}
|
|
1258
|
-
function
|
|
1266
|
+
function At(r, c, m, M) {
|
|
1259
1267
|
m || (m = {});
|
|
1260
1268
|
for (var B = -1, Y = c.length; ++B < Y; ) {
|
|
1261
1269
|
var ee = c[B], $ = void 0;
|
|
1262
|
-
|
|
1270
|
+
Ut(m, ee, $ === void 0 ? r[ee] : $);
|
|
1263
1271
|
}
|
|
1264
1272
|
return m;
|
|
1265
1273
|
}
|
|
1266
1274
|
function Lr(r, c) {
|
|
1267
|
-
return
|
|
1275
|
+
return At(r, Vt(r), c);
|
|
1268
1276
|
}
|
|
1269
1277
|
function Cr(r) {
|
|
1270
|
-
return vr(r,
|
|
1278
|
+
return vr(r, Je, Vt);
|
|
1271
1279
|
}
|
|
1272
|
-
function
|
|
1280
|
+
function Re(r, c) {
|
|
1273
1281
|
var m = r.__data__;
|
|
1274
1282
|
return Ar(c) ? m[typeof c == "string" ? "string" : "hash"] : m.map;
|
|
1275
1283
|
}
|
|
1276
|
-
function
|
|
1277
|
-
var m =
|
|
1284
|
+
function pe(r, c) {
|
|
1285
|
+
var m = In(r, c);
|
|
1278
1286
|
return Mr(m) ? m : void 0;
|
|
1279
1287
|
}
|
|
1280
|
-
var
|
|
1281
|
-
(
|
|
1282
|
-
var c =
|
|
1288
|
+
var Vt = Ot ? He(Ot, Object) : jr, oe = xr;
|
|
1289
|
+
($e && oe(new $e(new ArrayBuffer(1))) != f || we && oe(new we()) != F || je && oe(je.resolve()) != P || Ke && oe(new Ke()) != A || qe && oe(new qe()) != z) && (oe = function(r) {
|
|
1290
|
+
var c = ke.call(r), m = c == C ? r.constructor : void 0, M = m ? se(m) : void 0;
|
|
1283
1291
|
if (M)
|
|
1284
1292
|
switch (M) {
|
|
1285
1293
|
case jn:
|
|
@@ -1299,14 +1307,14 @@ function Ja() {
|
|
|
1299
1307
|
var c = r.length, m = r.constructor(c);
|
|
1300
1308
|
return c && typeof r[0] == "string" && ne.call(r, "index") && (m.index = r.index, m.input = r.input), m;
|
|
1301
1309
|
}
|
|
1302
|
-
function
|
|
1303
|
-
return typeof r.constructor == "function" && !
|
|
1310
|
+
function Gr(r) {
|
|
1311
|
+
return typeof r.constructor == "function" && !Bt(r) ? wr(Bn(r)) : {};
|
|
1304
1312
|
}
|
|
1305
|
-
function
|
|
1313
|
+
function Ir(r, c, m, M) {
|
|
1306
1314
|
var B = r.constructor;
|
|
1307
1315
|
switch (c) {
|
|
1308
1316
|
case b:
|
|
1309
|
-
return
|
|
1317
|
+
return Ze(r);
|
|
1310
1318
|
case h:
|
|
1311
1319
|
case T:
|
|
1312
1320
|
return new B(+r);
|
|
@@ -1324,8 +1332,8 @@ function Ja() {
|
|
|
1324
1332
|
return Er(r, M);
|
|
1325
1333
|
case F:
|
|
1326
1334
|
return Dr(r, M, m);
|
|
1327
|
-
case I:
|
|
1328
1335
|
case G:
|
|
1336
|
+
case I:
|
|
1329
1337
|
return new B(r);
|
|
1330
1338
|
case L:
|
|
1331
1339
|
return kr(r);
|
|
@@ -1343,16 +1351,16 @@ function Ja() {
|
|
|
1343
1351
|
return c == "string" || c == "number" || c == "symbol" || c == "boolean" ? r !== "__proto__" : r === null;
|
|
1344
1352
|
}
|
|
1345
1353
|
function Vr(r) {
|
|
1346
|
-
return !!
|
|
1354
|
+
return !!Rt && Rt in r;
|
|
1347
1355
|
}
|
|
1348
|
-
function
|
|
1349
|
-
var c = r && r.constructor, m = typeof c == "function" && c.prototype ||
|
|
1356
|
+
function Bt(r) {
|
|
1357
|
+
var c = r && r.constructor, m = typeof c == "function" && c.prototype || De;
|
|
1350
1358
|
return r === m;
|
|
1351
1359
|
}
|
|
1352
|
-
function
|
|
1360
|
+
function se(r) {
|
|
1353
1361
|
if (r != null) {
|
|
1354
1362
|
try {
|
|
1355
|
-
return
|
|
1363
|
+
return Et.call(r);
|
|
1356
1364
|
} catch {
|
|
1357
1365
|
}
|
|
1358
1366
|
try {
|
|
@@ -1363,38 +1371,38 @@ function Ja() {
|
|
|
1363
1371
|
return "";
|
|
1364
1372
|
}
|
|
1365
1373
|
function Br(r) {
|
|
1366
|
-
return
|
|
1374
|
+
return We(r, !0, !0);
|
|
1367
1375
|
}
|
|
1368
|
-
function
|
|
1376
|
+
function bt(r, c) {
|
|
1369
1377
|
return r === c || r !== r && c !== c;
|
|
1370
1378
|
}
|
|
1371
1379
|
function br(r) {
|
|
1372
|
-
return zr(r) && ne.call(r, "callee") && (!zn.call(r, "callee") ||
|
|
1380
|
+
return zr(r) && ne.call(r, "callee") && (!zn.call(r, "callee") || ke.call(r) == d);
|
|
1373
1381
|
}
|
|
1374
|
-
var
|
|
1375
|
-
function
|
|
1376
|
-
return r != null && Yr(r.length) && !
|
|
1382
|
+
var Qe = Array.isArray;
|
|
1383
|
+
function zt(r) {
|
|
1384
|
+
return r != null && Yr(r.length) && !Ht(r);
|
|
1377
1385
|
}
|
|
1378
1386
|
function zr(r) {
|
|
1379
|
-
return $r(r) &&
|
|
1387
|
+
return $r(r) && zt(r);
|
|
1380
1388
|
}
|
|
1381
1389
|
var Hr = Yn || Kr;
|
|
1382
|
-
function
|
|
1383
|
-
var c =
|
|
1390
|
+
function Ht(r) {
|
|
1391
|
+
var c = Ee(r) ? ke.call(r) : "";
|
|
1384
1392
|
return c == S || c == E;
|
|
1385
1393
|
}
|
|
1386
1394
|
function Yr(r) {
|
|
1387
1395
|
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= u;
|
|
1388
1396
|
}
|
|
1389
|
-
function
|
|
1397
|
+
function Ee(r) {
|
|
1390
1398
|
var c = typeof r;
|
|
1391
1399
|
return !!r && (c == "object" || c == "function");
|
|
1392
1400
|
}
|
|
1393
1401
|
function $r(r) {
|
|
1394
1402
|
return !!r && typeof r == "object";
|
|
1395
1403
|
}
|
|
1396
|
-
function
|
|
1397
|
-
return
|
|
1404
|
+
function Je(r) {
|
|
1405
|
+
return zt(r) ? _r(r) : Fr(r);
|
|
1398
1406
|
}
|
|
1399
1407
|
function jr() {
|
|
1400
1408
|
return [];
|
|
@@ -1403,7 +1411,7 @@ function Ja() {
|
|
|
1403
1411
|
return !1;
|
|
1404
1412
|
}
|
|
1405
1413
|
t.exports = Br;
|
|
1406
|
-
})(
|
|
1414
|
+
})(Ae, Ae.exports)), Ae.exports;
|
|
1407
1415
|
}
|
|
1408
1416
|
Ja();
|
|
1409
1417
|
const Z = (t, n) => new Date(t.getTime() - Qa(n, t));
|
|
@@ -1482,7 +1490,7 @@ class V {
|
|
|
1482
1490
|
}
|
|
1483
1491
|
class Xa extends V {
|
|
1484
1492
|
rawStart(n) {
|
|
1485
|
-
let a =
|
|
1493
|
+
let a = be(this.tzAdjustedDate(n), { weekStartsOn: 1 });
|
|
1486
1494
|
return n && (a = Z(a, n)), a;
|
|
1487
1495
|
}
|
|
1488
1496
|
maximumTimeframeLength() {
|
|
@@ -1491,7 +1499,7 @@ class Xa extends V {
|
|
|
1491
1499
|
}
|
|
1492
1500
|
class ei extends V {
|
|
1493
1501
|
rawStart(n) {
|
|
1494
|
-
let a =
|
|
1502
|
+
let a = _e(this.tzAdjustedDate(n));
|
|
1495
1503
|
return n && (a = Z(a, n)), a;
|
|
1496
1504
|
}
|
|
1497
1505
|
maximumTimeframeLength() {
|
|
@@ -1500,7 +1508,7 @@ class ei extends V {
|
|
|
1500
1508
|
}
|
|
1501
1509
|
class ti extends V {
|
|
1502
1510
|
rawStart(n) {
|
|
1503
|
-
let a =
|
|
1511
|
+
let a = he(this.tzAdjustedDate(n));
|
|
1504
1512
|
return n && (a = Z(a, n)), a;
|
|
1505
1513
|
}
|
|
1506
1514
|
maximumTimeframeLength() {
|
|
@@ -1518,12 +1526,12 @@ class ni extends V {
|
|
|
1518
1526
|
}
|
|
1519
1527
|
class ri extends V {
|
|
1520
1528
|
rawEnd(n) {
|
|
1521
|
-
let a =
|
|
1529
|
+
let a = be(this.tzAdjustedDate(n), { weekStartsOn: 1 });
|
|
1522
1530
|
return n && (a = Z(a, n)), a;
|
|
1523
1531
|
}
|
|
1524
1532
|
rawStart(n) {
|
|
1525
1533
|
const a = this.tzAdjustedDate(n);
|
|
1526
|
-
let o =
|
|
1534
|
+
let o = be(a.setDate(a.getDate() - 7), {
|
|
1527
1535
|
weekStartsOn: 1
|
|
1528
1536
|
});
|
|
1529
1537
|
return n && (o = Z(o, n)), o;
|
|
@@ -1531,21 +1539,21 @@ class ri extends V {
|
|
|
1531
1539
|
}
|
|
1532
1540
|
class ai extends V {
|
|
1533
1541
|
rawEnd(n) {
|
|
1534
|
-
let a =
|
|
1542
|
+
let a = he(this.tzAdjustedDate(n));
|
|
1535
1543
|
return n && (a = Z(a, n)), a;
|
|
1536
1544
|
}
|
|
1537
1545
|
rawStart(n) {
|
|
1538
|
-
let a =
|
|
1546
|
+
let a = he(kn(this.tzAdjustedDate(n)));
|
|
1539
1547
|
return n && (a = Z(a, n)), a;
|
|
1540
1548
|
}
|
|
1541
1549
|
}
|
|
1542
1550
|
class ii extends V {
|
|
1543
1551
|
rawEnd(n) {
|
|
1544
|
-
let a =
|
|
1552
|
+
let a = _e(this.tzAdjustedDate(n));
|
|
1545
1553
|
return n && (a = Z(a, n)), a;
|
|
1546
1554
|
}
|
|
1547
1555
|
rawStart(n) {
|
|
1548
|
-
let a =
|
|
1556
|
+
let a = _e(Dn(this.tzAdjustedDate(n)));
|
|
1549
1557
|
return n && (a = Z(a, n)), a;
|
|
1550
1558
|
}
|
|
1551
1559
|
}
|
|
@@ -1674,8 +1682,8 @@ v.FIFTEEN_MIN, new V({
|
|
|
1674
1682
|
display: "This week",
|
|
1675
1683
|
timeframeText: "Week",
|
|
1676
1684
|
timeframeLength: () => {
|
|
1677
|
-
const t =
|
|
1678
|
-
return (
|
|
1685
|
+
const t = be(/* @__PURE__ */ new Date(), { weekStartsOn: 1 });
|
|
1686
|
+
return (Ce(Oe(/* @__PURE__ */ new Date(), 1)).getTime() - t.getTime()) / 1e3;
|
|
1679
1687
|
},
|
|
1680
1688
|
defaultResponseGranularity: "daily",
|
|
1681
1689
|
dataGranularity: "daily",
|
|
@@ -1688,8 +1696,8 @@ v.FIFTEEN_MIN, new V({
|
|
|
1688
1696
|
display: "This month",
|
|
1689
1697
|
timeframeText: "Month",
|
|
1690
1698
|
timeframeLength: () => {
|
|
1691
|
-
const t =
|
|
1692
|
-
return (
|
|
1699
|
+
const t = _e(/* @__PURE__ */ new Date());
|
|
1700
|
+
return (Ce(Oe(/* @__PURE__ */ new Date(), 1)).getTime() - t.getTime()) / 1e3;
|
|
1693
1701
|
},
|
|
1694
1702
|
defaultResponseGranularity: "daily",
|
|
1695
1703
|
dataGranularity: "daily",
|
|
@@ -1700,8 +1708,8 @@ v.FIFTEEN_MIN, new V({
|
|
|
1700
1708
|
display: "This quarter",
|
|
1701
1709
|
timeframeText: "Quarter",
|
|
1702
1710
|
timeframeLength: () => {
|
|
1703
|
-
const t =
|
|
1704
|
-
return (
|
|
1711
|
+
const t = he(/* @__PURE__ */ new Date());
|
|
1712
|
+
return (Ce(Oe(/* @__PURE__ */ new Date(), 1)).getTime() - t.getTime()) / 1e3;
|
|
1705
1713
|
},
|
|
1706
1714
|
defaultResponseGranularity: "daily",
|
|
1707
1715
|
dataGranularity: "daily",
|
|
@@ -1713,7 +1721,7 @@ v.FIFTEEN_MIN, new V({
|
|
|
1713
1721
|
timeframeText: "Year",
|
|
1714
1722
|
timeframeLength: () => {
|
|
1715
1723
|
const t = new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1);
|
|
1716
|
-
return (
|
|
1724
|
+
return (Ce(Oe(/* @__PURE__ */ new Date(), 1)).getTime() - t.getTime()) / 1e3;
|
|
1717
1725
|
},
|
|
1718
1726
|
defaultResponseGranularity: "daily",
|
|
1719
1727
|
dataGranularity: "daily",
|
|
@@ -1736,8 +1744,8 @@ v.FIFTEEN_MIN, new V({
|
|
|
1736
1744
|
timeframeText: "Month",
|
|
1737
1745
|
timeframeLength: () => {
|
|
1738
1746
|
let t = 0;
|
|
1739
|
-
const n =
|
|
1740
|
-
return n.getTimezoneOffset() !== a.getTimezoneOffset() && (t =
|
|
1747
|
+
const n = _e(/* @__PURE__ */ new Date()), a = _e(Dn(/* @__PURE__ */ new Date()));
|
|
1748
|
+
return n.getTimezoneOffset() !== a.getTimezoneOffset() && (t = cn(n, a)), 3600 * 24 * Ra((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + Jt(t);
|
|
1741
1749
|
},
|
|
1742
1750
|
defaultResponseGranularity: "daily",
|
|
1743
1751
|
dataGranularity: "daily",
|
|
@@ -1748,7 +1756,7 @@ v.FIFTEEN_MIN, new V({
|
|
|
1748
1756
|
display: "Previous quarter",
|
|
1749
1757
|
timeframeText: "Quarter",
|
|
1750
1758
|
timeframeLength: () => {
|
|
1751
|
-
const t =
|
|
1759
|
+
const t = he(/* @__PURE__ */ new Date()), n = he(kn(/* @__PURE__ */ new Date()));
|
|
1752
1760
|
return (t.getTime() - n.getTime()) / 1e3;
|
|
1753
1761
|
},
|
|
1754
1762
|
defaultResponseGranularity: "daily",
|
|
@@ -1762,26 +1770,26 @@ v.FIFTEEN_MIN, new V({
|
|
|
1762
1770
|
timeframeLength: () => {
|
|
1763
1771
|
const t = new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1), n = new Date((/* @__PURE__ */ new Date()).getFullYear() - 1, 0, 1);
|
|
1764
1772
|
let a = 0;
|
|
1765
|
-
return t.getTimezoneOffset() !== n.getTimezoneOffset() && (a =
|
|
1773
|
+
return t.getTimezoneOffset() !== n.getTimezoneOffset() && (a = cn(t, n)), 3600 * 24 * (365 + (n.getFullYear() % 4 === 0 ? 1 : 0)) + Jt(a);
|
|
1766
1774
|
},
|
|
1767
1775
|
defaultResponseGranularity: "daily",
|
|
1768
1776
|
dataGranularity: "daily",
|
|
1769
1777
|
isRelative: !1,
|
|
1770
1778
|
allowedTiers: ["plus", "enterprise"]
|
|
1771
1779
|
});
|
|
1772
|
-
function
|
|
1780
|
+
function cn(t, n) {
|
|
1773
1781
|
return Ea(t.getTimezoneOffset() - n.getTimezoneOffset());
|
|
1774
1782
|
}
|
|
1775
1783
|
v.FIFTEEN_MIN, v.ONE_HOUR, v.SIX_HOUR, v.TWELVE_HOUR, v.ONE_DAY, v.SEVEN_DAY, v.FIFTEEN_MIN, v.ONE_HOUR, v.SIX_HOUR, v.TWELVE_HOUR, v.ONE_DAY, v.SEVEN_DAY, v.THIRTY_DAY, v.NINETY_DAY, v.ONE_HUNDRED_EIGHTY_DAY, v.ONE_YEAR, v.CURRENT_WEEK, v.CURRENT_MONTH, v.CURRENT_QUARTER, v.CURRENT_YEAR, v.PREVIOUS_WEEK, v.PREVIOUS_MONTH, v.PREVIOUS_QUARTER, v.PREVIOUS_YEAR;
|
|
1776
|
-
new Map(
|
|
1777
|
-
const
|
|
1784
|
+
new Map(vt.map((t) => [t.code, { code: t.code, name: t.name }]));
|
|
1785
|
+
const dn = 1e3, si = 1e4, mn = 1e6, fn = 1e9, pn = 1e12, Ve = (t, n) => {
|
|
1778
1786
|
if (n.separator === !1 || t < 1e3)
|
|
1779
1787
|
return t.toString();
|
|
1780
1788
|
const a = typeof n.separator == "string" ? n.separator : ",", o = [];
|
|
1781
1789
|
return Math.round(t).toString().split("").reverse().forEach((u, d) => {
|
|
1782
1790
|
d && d % 3 === 0 && o.push(a), o.push(u);
|
|
1783
1791
|
}), o.reverse().join("");
|
|
1784
|
-
},
|
|
1792
|
+
}, Me = (t, n, a) => {
|
|
1785
1793
|
const o = t / n, u = a.round ? "round" : "floor";
|
|
1786
1794
|
if (a.decimal === !1)
|
|
1787
1795
|
return Math[u](o).toString();
|
|
@@ -1790,15 +1798,15 @@ const an = 1e3, si = 1e4, on = 1e6, sn = 1e9, ln = 1e12, Ae = (t, n) => {
|
|
|
1790
1798
|
let y = d.toString();
|
|
1791
1799
|
return typeof a.decimal == "string" && (y = y.replace(".", a.decimal)), y;
|
|
1792
1800
|
};
|
|
1793
|
-
function
|
|
1801
|
+
function Be(t, n = {}) {
|
|
1794
1802
|
let a;
|
|
1795
1803
|
const o = t < 0;
|
|
1796
1804
|
o && (t = Math.abs(t)), n.precision && (t = parseFloat(t.toPrecision(n.precision)));
|
|
1797
|
-
const u = n.min10k ? si :
|
|
1798
|
-
return t < u || n.precision && n.precision > Math.log10(t) ? a =
|
|
1805
|
+
const u = n.min10k ? si : dn;
|
|
1806
|
+
return t < u || n.precision && n.precision > Math.log10(t) ? a = Ve(Me(t, 1, n), n) : t < mn ? a = `${Me(t, dn, n)}k` : t < fn ? a = `${Me(t, mn, n)}m` : t < pn ? a = `${Ve(Me(t, fn, n), n)}b` : a = `${Ve(Me(t, pn, n), n)}t`, o && (a = `-${a}`), n.capital && (a = a.toUpperCase()), n.prefix && (a = `${n.prefix}${a}`), n.suffix && (a = `${a}${n.suffix}`), a;
|
|
1799
1807
|
}
|
|
1800
|
-
|
|
1801
|
-
const li = typeof document < "u" && document.documentElement?.lang || "en-US",
|
|
1808
|
+
Be.addCommas = Ve;
|
|
1809
|
+
const li = typeof document < "u" && document.documentElement?.lang || "en-US", it = new Intl.NumberFormat(li);
|
|
1802
1810
|
function ui({
|
|
1803
1811
|
i18n: t
|
|
1804
1812
|
}) {
|
|
@@ -1840,7 +1848,7 @@ function ui({
|
|
|
1840
1848
|
case "usd":
|
|
1841
1849
|
return a(o, y);
|
|
1842
1850
|
default:
|
|
1843
|
-
return isNaN(o) ? `${o}` : h ? `${
|
|
1851
|
+
return isNaN(o) ? `${o}` : h ? `${Be(o, { capital: !0 })} ${N}` : o >= 0.01 ? `${it.format(Number.parseFloat(o.toFixed(2)))} ${N}` : `${Number.parseFloat(o.toPrecision(4))} ${N}`;
|
|
1844
1852
|
}
|
|
1845
1853
|
}, formatBytes: n, formatCost: a, formatRange: (o, u, d, {
|
|
1846
1854
|
isBytes1024: y = !1,
|
|
@@ -1858,19 +1866,19 @@ function ui({
|
|
|
1858
1866
|
if (isNaN(o) || isNaN(u))
|
|
1859
1867
|
return `${o} - ${u}`;
|
|
1860
1868
|
if (T)
|
|
1861
|
-
return `${
|
|
1869
|
+
return `${Be(o, { capital: !0 })} - ${Be(u, { capital: !0 })} ${S}`;
|
|
1862
1870
|
}
|
|
1863
|
-
const E = o >= 0.01 ? `${
|
|
1871
|
+
const E = o >= 0.01 ? `${it.format(Number.parseFloat(o.toFixed(2)))}` : `${Number.parseFloat(o.toPrecision(4))}`, F = u >= 0.01 ? `${it.format(Number.parseFloat(u.toFixed(2)))}` : `${Number.parseFloat(u.toPrecision(4))}`;
|
|
1864
1872
|
return `${E} - ${F} ${S}`;
|
|
1865
1873
|
} };
|
|
1866
1874
|
}
|
|
1867
1875
|
function ci(t) {
|
|
1868
1876
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
1869
1877
|
}
|
|
1870
|
-
var Ie = {},
|
|
1878
|
+
var Ie = {}, ot, yn;
|
|
1871
1879
|
function di() {
|
|
1872
|
-
if (
|
|
1873
|
-
|
|
1880
|
+
if (yn) return ot;
|
|
1881
|
+
yn = 1, ot = h;
|
|
1874
1882
|
var t, n, a, o, u, d = 1e6, y = {
|
|
1875
1883
|
Point: 0,
|
|
1876
1884
|
MultiPoint: 1,
|
|
@@ -1883,7 +1891,7 @@ function di() {
|
|
|
1883
1891
|
function h(s, p) {
|
|
1884
1892
|
t = {}, a = [], n = 0, o = 0, u = 1, T(s), u = Math.min(u, d);
|
|
1885
1893
|
for (var g = Math.ceil(Math.log(u) / Math.LN10), D = 0; D < a.length; D++) p.writeStringField(1, a[D]);
|
|
1886
|
-
return o !== 2 && p.writeVarintField(2, o), g !== 6 && p.writeVarintField(3, g), s.type === "FeatureCollection" ? p.writeMessage(4,
|
|
1894
|
+
return o !== 2 && p.writeVarintField(2, o), g !== 6 && p.writeVarintField(3, g), s.type === "FeatureCollection" ? p.writeMessage(4, G, s) : s.type === "Feature" ? p.writeMessage(5, C, s) : p.writeMessage(6, P, s), t = null, p.finish();
|
|
1887
1895
|
}
|
|
1888
1896
|
function T(s) {
|
|
1889
1897
|
var p, g;
|
|
@@ -1917,7 +1925,7 @@ function di() {
|
|
|
1917
1925
|
function F(s) {
|
|
1918
1926
|
t[s] === void 0 && (a.push(s), t[s] = n++);
|
|
1919
1927
|
}
|
|
1920
|
-
function
|
|
1928
|
+
function G(s, p) {
|
|
1921
1929
|
for (var g = 0; g < s.features.length; g++)
|
|
1922
1930
|
p.writeMessage(1, C, s.features[g]);
|
|
1923
1931
|
L(s, p, !0);
|
|
@@ -1928,7 +1936,7 @@ function di() {
|
|
|
1928
1936
|
function P(s, p) {
|
|
1929
1937
|
p.writeVarintField(1, y[s.type]);
|
|
1930
1938
|
var g = s.coordinates;
|
|
1931
|
-
if (s.type === "Point")
|
|
1939
|
+
if (s.type === "Point") I(g, p);
|
|
1932
1940
|
else if (s.type === "MultiPoint") U(g, p);
|
|
1933
1941
|
else if (s.type === "LineString") U(g, p);
|
|
1934
1942
|
else if (s.type === "MultiLineString") z(g, p);
|
|
@@ -1950,7 +1958,7 @@ function di() {
|
|
|
1950
1958
|
g === "string" ? p.writeStringField(1, s) : g === "boolean" ? p.writeBooleanField(5, s) : g === "object" ? p.writeStringField(6, JSON.stringify(s)) : g === "number" && (s % 1 !== 0 ? p.writeDoubleField(2, s) : s >= 0 ? p.writeVarintField(3, s) : p.writeVarintField(4, -s));
|
|
1951
1959
|
}
|
|
1952
1960
|
}
|
|
1953
|
-
function
|
|
1961
|
+
function I(s, p) {
|
|
1954
1962
|
for (var g = [], D = 0; D < o; D++) g.push(Math.round(s[D] * u));
|
|
1955
1963
|
p.writePackedSVarint(3, g);
|
|
1956
1964
|
}
|
|
@@ -2002,12 +2010,12 @@ function di() {
|
|
|
2002
2010
|
} else if (s === "coordinates") return !0;
|
|
2003
2011
|
return !1;
|
|
2004
2012
|
}
|
|
2005
|
-
return
|
|
2013
|
+
return ot;
|
|
2006
2014
|
}
|
|
2007
|
-
var
|
|
2015
|
+
var st, hn;
|
|
2008
2016
|
function mi() {
|
|
2009
|
-
if (
|
|
2010
|
-
|
|
2017
|
+
if (hn) return st;
|
|
2018
|
+
hn = 1, st = y;
|
|
2011
2019
|
var t, n, a, o, u, d = [
|
|
2012
2020
|
"Point",
|
|
2013
2021
|
"MultiPoint",
|
|
@@ -2034,7 +2042,7 @@ function mi() {
|
|
|
2034
2042
|
return "geometry" in s || (s.geometry = null), s;
|
|
2035
2043
|
}
|
|
2036
2044
|
function S(f, _) {
|
|
2037
|
-
return _.type = "Point", f.readMessage(
|
|
2045
|
+
return _.type = "Point", f.readMessage(G, _);
|
|
2038
2046
|
}
|
|
2039
2047
|
function E(f, _, s) {
|
|
2040
2048
|
f === 1 ? _.features.push(N(s, {})) : f === 13 ? n.push(P(s)) : f === 15 && L(s, _);
|
|
@@ -2042,7 +2050,7 @@ function mi() {
|
|
|
2042
2050
|
function F(f, _, s) {
|
|
2043
2051
|
f === 1 ? _.geometry = S(s, {}) : f === 11 ? _.id = s.readString() : f === 12 ? _.id = s.readSVarint() : f === 13 ? n.push(P(s)) : f === 14 ? _.properties = L(s, {}) : f === 15 && L(s, _);
|
|
2044
2052
|
}
|
|
2045
|
-
function
|
|
2053
|
+
function G(f, _, s) {
|
|
2046
2054
|
f === 1 ? _.type = d[s.readVarint()] : f === 2 ? a = s.readPackedVarint() : f === 3 ? C(_, s, _.type) : f === 4 ? (_.geometries = _.geometries || [], _.geometries.push(S(s, {}))) : f === 13 ? n.push(P(s)) : f === 15 && L(s, _);
|
|
2047
2055
|
}
|
|
2048
2056
|
function C(f, _, s) {
|
|
@@ -2063,7 +2071,7 @@ function mi() {
|
|
|
2063
2071
|
for (var _ = f.readVarint() + f.pos, s = []; f.pos < _; ) s.push(f.readSVarint() / u);
|
|
2064
2072
|
return s;
|
|
2065
2073
|
}
|
|
2066
|
-
function
|
|
2074
|
+
function I(f, _, s, p) {
|
|
2067
2075
|
var g = 0, D = [], e, i, l = [];
|
|
2068
2076
|
for (i = 0; i < o; i++) l[i] = 0;
|
|
2069
2077
|
for (; s ? g < s : f.pos < _; ) {
|
|
@@ -2074,35 +2082,35 @@ function mi() {
|
|
|
2074
2082
|
return p && D.push(D[0]), D;
|
|
2075
2083
|
}
|
|
2076
2084
|
function U(f) {
|
|
2077
|
-
return
|
|
2085
|
+
return I(f, f.readVarint() + f.pos);
|
|
2078
2086
|
}
|
|
2079
2087
|
function z(f, _) {
|
|
2080
2088
|
var s = f.readVarint() + f.pos;
|
|
2081
|
-
if (!a) return [
|
|
2082
|
-
for (var p = [], g = 0; g < a.length; g++) p.push(
|
|
2089
|
+
if (!a) return [I(f, s, null, _)];
|
|
2090
|
+
for (var p = [], g = 0; g < a.length; g++) p.push(I(f, s, a[g], _));
|
|
2083
2091
|
return a = null, p;
|
|
2084
2092
|
}
|
|
2085
2093
|
function b(f) {
|
|
2086
2094
|
var _ = f.readVarint() + f.pos;
|
|
2087
|
-
if (!a) return [[
|
|
2095
|
+
if (!a) return [[I(f, _, null, !0)]];
|
|
2088
2096
|
for (var s = [], p = 1, g = 0; g < a[0]; g++) {
|
|
2089
|
-
for (var D = [], e = 0; e < a[p]; e++) D.push(
|
|
2097
|
+
for (var D = [], e = 0; e < a[p]; e++) D.push(I(f, _, a[p + 1 + e], !0));
|
|
2090
2098
|
p += a[p] + 1, s.push(D);
|
|
2091
2099
|
}
|
|
2092
2100
|
return a = null, s;
|
|
2093
2101
|
}
|
|
2094
|
-
return
|
|
2102
|
+
return st;
|
|
2095
2103
|
}
|
|
2096
|
-
var
|
|
2104
|
+
var _n;
|
|
2097
2105
|
function fi() {
|
|
2098
|
-
return
|
|
2106
|
+
return _n || (_n = 1, Ie.encode = di(), Ie.decode = mi()), Ie;
|
|
2099
2107
|
}
|
|
2100
|
-
var pi = fi(),
|
|
2101
|
-
var
|
|
2108
|
+
var pi = fi(), Ue = {};
|
|
2109
|
+
var gn;
|
|
2102
2110
|
function yi() {
|
|
2103
|
-
return
|
|
2104
|
-
var d, y, h = u * 8 - o - 1, T = (1 << h) - 1, N = T >> 1, S = -7, E = a ? u - 1 : 0, F = a ? -1 : 1,
|
|
2105
|
-
for (E += F, d =
|
|
2111
|
+
return gn || (gn = 1, Ue.read = function(t, n, a, o, u) {
|
|
2112
|
+
var d, y, h = u * 8 - o - 1, T = (1 << h) - 1, N = T >> 1, S = -7, E = a ? u - 1 : 0, F = a ? -1 : 1, G = t[n + E];
|
|
2113
|
+
for (E += F, d = G & (1 << -S) - 1, G >>= -S, S += h; S > 0; d = d * 256 + t[n + E], E += F, S -= 8)
|
|
2106
2114
|
;
|
|
2107
2115
|
for (y = d & (1 << -S) - 1, d >>= -S, S += o; S > 0; y = y * 256 + t[n + E], E += F, S -= 8)
|
|
2108
2116
|
;
|
|
@@ -2110,23 +2118,23 @@ function yi() {
|
|
|
2110
2118
|
d = 1 - N;
|
|
2111
2119
|
else {
|
|
2112
2120
|
if (d === T)
|
|
2113
|
-
return y ? NaN : (
|
|
2121
|
+
return y ? NaN : (G ? -1 : 1) * (1 / 0);
|
|
2114
2122
|
y = y + Math.pow(2, o), d = d - N;
|
|
2115
2123
|
}
|
|
2116
|
-
return (
|
|
2117
|
-
},
|
|
2118
|
-
var y, h, T, N = d * 8 - u - 1, S = (1 << N) - 1, E = S >> 1, F = u === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
|
|
2119
|
-
for (n = Math.abs(n), isNaN(n) || n === 1 / 0 ? (h = isNaN(n) ? 1 : 0, y = S) : (y = Math.floor(Math.log(n) / Math.LN2), n * (T = Math.pow(2, -y)) < 1 && (y--, T *= 2), y + E >= 1 ? n += F / T : n += F * Math.pow(2, 1 - E), n * T >= 2 && (y++, T /= 2), y + E >= S ? (h = 0, y = S) : y + E >= 1 ? (h = (n * T - 1) * Math.pow(2, u), y = y + E) : (h = n * Math.pow(2, E - 1) * Math.pow(2, u), y = 0)); u >= 8; t[a +
|
|
2124
|
+
return (G ? -1 : 1) * y * Math.pow(2, d - o);
|
|
2125
|
+
}, Ue.write = function(t, n, a, o, u, d) {
|
|
2126
|
+
var y, h, T, N = d * 8 - u - 1, S = (1 << N) - 1, E = S >> 1, F = u === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, G = o ? 0 : d - 1, C = o ? 1 : -1, P = n < 0 || n === 0 && 1 / n < 0 ? 1 : 0;
|
|
2127
|
+
for (n = Math.abs(n), isNaN(n) || n === 1 / 0 ? (h = isNaN(n) ? 1 : 0, y = S) : (y = Math.floor(Math.log(n) / Math.LN2), n * (T = Math.pow(2, -y)) < 1 && (y--, T *= 2), y + E >= 1 ? n += F / T : n += F * Math.pow(2, 1 - E), n * T >= 2 && (y++, T /= 2), y + E >= S ? (h = 0, y = S) : y + E >= 1 ? (h = (n * T - 1) * Math.pow(2, u), y = y + E) : (h = n * Math.pow(2, E - 1) * Math.pow(2, u), y = 0)); u >= 8; t[a + G] = h & 255, G += C, h /= 256, u -= 8)
|
|
2120
2128
|
;
|
|
2121
|
-
for (y = y << u | h, N += u; N > 0; t[a +
|
|
2129
|
+
for (y = y << u | h, N += u; N > 0; t[a + G] = y & 255, G += C, y /= 256, N -= 8)
|
|
2122
2130
|
;
|
|
2123
|
-
t[a +
|
|
2124
|
-
}),
|
|
2131
|
+
t[a + G - C] |= P * 128;
|
|
2132
|
+
}), Ue;
|
|
2125
2133
|
}
|
|
2126
|
-
var
|
|
2134
|
+
var lt, wn;
|
|
2127
2135
|
function hi() {
|
|
2128
|
-
if (
|
|
2129
|
-
|
|
2136
|
+
if (wn) return lt;
|
|
2137
|
+
wn = 1, lt = n;
|
|
2130
2138
|
var t = yi();
|
|
2131
2139
|
function n(e) {
|
|
2132
2140
|
this.buf = ArrayBuffer.isView && ArrayBuffer.isView(e) ? e : new Uint8Array(e || 0), this.pos = 0, this.type = 0, this.length = this.buf.length;
|
|
@@ -2327,7 +2335,7 @@ function hi() {
|
|
|
2327
2335
|
this.writeTag(e, n.Bytes), this.writeRawMessage(i, l);
|
|
2328
2336
|
},
|
|
2329
2337
|
writePackedVarint: function(e, i) {
|
|
2330
|
-
i.length && this.writeMessage(e,
|
|
2338
|
+
i.length && this.writeMessage(e, G, i);
|
|
2331
2339
|
},
|
|
2332
2340
|
writePackedSVarint: function(e, i) {
|
|
2333
2341
|
i.length && this.writeMessage(e, C, i);
|
|
@@ -2342,7 +2350,7 @@ function hi() {
|
|
|
2342
2350
|
i.length && this.writeMessage(e, L, i);
|
|
2343
2351
|
},
|
|
2344
2352
|
writePackedFixed32: function(e, i) {
|
|
2345
|
-
i.length && this.writeMessage(e,
|
|
2353
|
+
i.length && this.writeMessage(e, I, i);
|
|
2346
2354
|
},
|
|
2347
2355
|
writePackedSFixed32: function(e, i) {
|
|
2348
2356
|
i.length && this.writeMessage(e, U, i);
|
|
@@ -2416,7 +2424,7 @@ function hi() {
|
|
|
2416
2424
|
l.realloc(w);
|
|
2417
2425
|
for (var x = l.pos - 1; x >= e; x--) l.buf[x + w] = l.buf[x];
|
|
2418
2426
|
}
|
|
2419
|
-
function
|
|
2427
|
+
function G(e, i) {
|
|
2420
2428
|
for (var l = 0; l < e.length; l++) i.writeVarint(e[l]);
|
|
2421
2429
|
}
|
|
2422
2430
|
function C(e, i) {
|
|
@@ -2431,7 +2439,7 @@ function hi() {
|
|
|
2431
2439
|
function A(e, i) {
|
|
2432
2440
|
for (var l = 0; l < e.length; l++) i.writeBoolean(e[l]);
|
|
2433
2441
|
}
|
|
2434
|
-
function
|
|
2442
|
+
function I(e, i) {
|
|
2435
2443
|
for (var l = 0; l < e.length; l++) i.writeFixed32(e[l]);
|
|
2436
2444
|
}
|
|
2437
2445
|
function U(e, i) {
|
|
@@ -2482,10 +2490,10 @@ function hi() {
|
|
|
2482
2490
|
}
|
|
2483
2491
|
return l;
|
|
2484
2492
|
}
|
|
2485
|
-
return
|
|
2493
|
+
return lt;
|
|
2486
2494
|
}
|
|
2487
2495
|
var _i = hi();
|
|
2488
|
-
const gi = /* @__PURE__ */ ci(_i),
|
|
2496
|
+
const gi = /* @__PURE__ */ ci(_i), vn = "#ffffff", xn = "#e0e4ea", wi = "#828a9e", vi = "32px", xi = { ms: "ms", bytes: "Byte{plural}", count: "request{plural}", "count/minute": "rpm", requests: "request{plural}" }, Mi = { error_rate: "Error rate", request_count: "Request count", request_per_minute: "Requests per minute", response_latency_average: "Response latency (avg)", response_latency_p99: "Response latency (p99)", response_latency_p95: "Response latency (p95)", response_latency_p50: "Response latency (p50)", kong_latency_average: "Kong latency (avg)", kong_latency_p99: "Kong latency (p99)", kong_latency_p95: "Kong latency (p95)", kong_latency_p50: "Kong latency (p50)", upstream_latency_average: "Upstream latency (avg)", upstream_latency_p99: "Upstream latency (p99)", upstream_latency_p95: "Upstream latency (p95)", upstream_latency_p50: "Upstream latency (p50)", response_size_average: "Response size (avg)", response_size_p99: "Response size (p99)", response_size_p95: "Response size (p95)", response_size_p50: "Response size (p50)", response_size_sum: "Response size (sum)", request_size_average: "Request size (avg)", request_size_p99: "Request size (p99)", request_size_p95: "Request size (p95)", request_size_p50: "Request size (p50)", request_size_sum: "Request size (sum)", cache_hit_rate: "Cache hit rate" }, Fi = { windows_zoom_help_text: "Use Ctrl + Scroll to zoom the map", mac_zoom_help_text: "Use ⌘ + Scroll to zoom the map", mobile_zoom_help_text: "Use two fingers to zoom the map" }, Ti = "No data in the current time frame", Si = "Once there is traffic, it will display here", Di = {
|
|
2489
2497
|
metricUnits: xi,
|
|
2490
2498
|
metrics: Mi,
|
|
2491
2499
|
cooperative_gestures: Fi,
|
|
@@ -2500,7 +2508,7 @@ function ki() {
|
|
|
2500
2508
|
// Translation component <i18n-t>
|
|
2501
2509
|
};
|
|
2502
2510
|
}
|
|
2503
|
-
const
|
|
2511
|
+
const Mn = 5, ut = [
|
|
2504
2512
|
"#00819d",
|
|
2505
2513
|
"#00abd2",
|
|
2506
2514
|
"#00c8f4",
|
|
@@ -2512,7 +2520,7 @@ const hn = 5, lt = [
|
|
|
2512
2520
|
return NaN;
|
|
2513
2521
|
const o = (a - 1) * n, u = Math.floor(o), d = Math.ceil(o);
|
|
2514
2522
|
return u === d ? t[u] : t[u] + (o - u) * (t[d] - t[u]);
|
|
2515
|
-
},
|
|
2523
|
+
}, ct = (t, n) => {
|
|
2516
2524
|
if (t.length === 0)
|
|
2517
2525
|
return [];
|
|
2518
2526
|
const a = t.filter((h) => h > 0).map(Math.log).sort((h, T) => h - T), o = Math.min(...a), d = (Math.max(...a) - o) / n;
|
|
@@ -2524,48 +2532,48 @@ function Ri({
|
|
|
2524
2532
|
unit: a,
|
|
2525
2533
|
emptyCountryFill: o
|
|
2526
2534
|
}) {
|
|
2527
|
-
const { formatMetric: u, formatMetricRange: d } =
|
|
2535
|
+
const { formatMetric: u, formatMetricRange: d } = Te.useMetricFormat({ unit: a }), y = j(() => {
|
|
2528
2536
|
const C = { ...t.value };
|
|
2529
2537
|
for (const P of Object.keys(C))
|
|
2530
|
-
|
|
2538
|
+
vt.find((L) => L.code === P) || delete C[P];
|
|
2531
2539
|
return C;
|
|
2532
|
-
}), h = j(() => Object.values(y.value)), T = j(() => Object.keys(y.value).length), N = j(() => T.value <
|
|
2540
|
+
}), h = j(() => Object.values(y.value)), T = j(() => Object.keys(y.value).length), N = j(() => T.value < Mn - 1 ? T.value : Mn), S = j(() => !n.value?.includes("latency")), E = j(() => {
|
|
2533
2541
|
const C = [];
|
|
2534
2542
|
if (h.value.length > 10) {
|
|
2535
|
-
const P = [...h.value].sort((b, f) => b - f), L = Ni(P, 0.75), A = h.value.filter((b) => b >= L),
|
|
2543
|
+
const P = [...h.value].sort((b, f) => b - f), L = Ni(P, 0.75), A = h.value.filter((b) => b >= L), I = h.value.filter((b) => b < L), U = ct(A, 3), z = ct(I, 2);
|
|
2536
2544
|
return C.push(...U, ...z), C;
|
|
2537
2545
|
}
|
|
2538
|
-
return
|
|
2546
|
+
return ct(h.value, N.value);
|
|
2539
2547
|
}), F = j(() => h.value.length === 1 ? [{
|
|
2540
|
-
color:
|
|
2548
|
+
color: G(h.value[0]),
|
|
2541
2549
|
range: u(h.value[0], {
|
|
2542
2550
|
approximate: S.value,
|
|
2543
2551
|
showUnit: !a.value.includes("count")
|
|
2544
2552
|
}).trim()
|
|
2545
2553
|
}] : E.value.map((C, P) => {
|
|
2546
|
-
const L = P === 0 ? Math.max(...E.value) : E.value[P - 1], A = C,
|
|
2554
|
+
const L = P === 0 ? Math.max(...E.value) : E.value[P - 1], A = C, I = L;
|
|
2547
2555
|
let U = "";
|
|
2548
2556
|
return P === 0 ? U = `> ${u(A, {
|
|
2549
2557
|
showUnit: !a.value.includes("count"),
|
|
2550
2558
|
approximate: S.value
|
|
2551
|
-
})}`.trim() : P === E.value.length - 1 ? U = `< ${u(
|
|
2559
|
+
})}`.trim() : P === E.value.length - 1 ? U = `< ${u(I, {
|
|
2552
2560
|
showUnit: !a.value.includes("count"),
|
|
2553
2561
|
approximate: S.value
|
|
2554
|
-
})}`.trim() : U = d(A,
|
|
2562
|
+
})}`.trim() : U = d(A, I, {
|
|
2555
2563
|
showUnit: !a.value.includes("count"),
|
|
2556
2564
|
approximate: S.value
|
|
2557
2565
|
}).trim(), {
|
|
2558
|
-
color:
|
|
2566
|
+
color: G(A),
|
|
2559
2567
|
range: U
|
|
2560
2568
|
};
|
|
2561
|
-
})),
|
|
2569
|
+
})), G = (C) => {
|
|
2562
2570
|
if (C === 0)
|
|
2563
2571
|
return o.value;
|
|
2564
2572
|
const P = E.value.findIndex((L) => C >= L);
|
|
2565
|
-
return P === -1 ?
|
|
2573
|
+
return P === -1 ? ut[ut.length - 1] : ut[P] ?? o.value;
|
|
2566
2574
|
};
|
|
2567
2575
|
return {
|
|
2568
|
-
getColor:
|
|
2576
|
+
getColor: G,
|
|
2569
2577
|
legendData: F,
|
|
2570
2578
|
scale: E
|
|
2571
2579
|
};
|
|
@@ -2573,7 +2581,7 @@ function Ri({
|
|
|
2573
2581
|
function Ei({
|
|
2574
2582
|
unit: t
|
|
2575
2583
|
}) {
|
|
2576
|
-
const { i18n: n } =
|
|
2584
|
+
const { i18n: n } = Te.useI18n(), { formatUnit: a, formatRange: o } = ui({ i18n: n });
|
|
2577
2585
|
return {
|
|
2578
2586
|
formatMetric: (y, {
|
|
2579
2587
|
showUnit: h = !0,
|
|
@@ -2591,7 +2599,7 @@ function Ei({
|
|
|
2591
2599
|
})
|
|
2592
2600
|
};
|
|
2593
2601
|
}
|
|
2594
|
-
const
|
|
2602
|
+
const Te = {
|
|
2595
2603
|
useI18n: ki,
|
|
2596
2604
|
useLegendScale: Ri,
|
|
2597
2605
|
useMetricFormat: Ei
|
|
@@ -2612,22 +2620,22 @@ function Pi(t, n = 0) {
|
|
|
2612
2620
|
a && clearTimeout(a), a = setTimeout(() => t(...o), n);
|
|
2613
2621
|
};
|
|
2614
2622
|
}
|
|
2615
|
-
const
|
|
2623
|
+
const dt = (t) => {
|
|
2616
2624
|
const n = t ?? (typeof document > "u" ? null : document.documentElement);
|
|
2617
2625
|
if (typeof window > "u" || !n)
|
|
2618
2626
|
return {
|
|
2619
|
-
emptyCountryFill:
|
|
2620
|
-
waterFill:
|
|
2627
|
+
emptyCountryFill: xn,
|
|
2628
|
+
waterFill: vn
|
|
2621
2629
|
};
|
|
2622
2630
|
const a = window.getComputedStyle(n), o = (u, d) => a.getPropertyValue(u).trim() || d;
|
|
2623
2631
|
return {
|
|
2624
|
-
emptyCountryFill: o("--kui-color-background-neutral-weaker",
|
|
2625
|
-
waterFill: o("--kui-color-background",
|
|
2632
|
+
emptyCountryFill: o("--kui-color-background-neutral-weaker", xn),
|
|
2633
|
+
waterFill: o("--kui-color-background", vn)
|
|
2626
2634
|
};
|
|
2627
2635
|
}, Li = { class: "legend" }, Ci = {
|
|
2628
2636
|
key: 0,
|
|
2629
2637
|
class: "legend-title"
|
|
2630
|
-
}, Oi = { class: "legend-text" },
|
|
2638
|
+
}, Oi = { class: "legend-text" }, Gi = /* @__PURE__ */ pt({
|
|
2631
2639
|
__name: "MapLegend",
|
|
2632
2640
|
props: {
|
|
2633
2641
|
metric: {},
|
|
@@ -2636,7 +2644,7 @@ const ct = (t) => {
|
|
|
2636
2644
|
},
|
|
2637
2645
|
setup(t) {
|
|
2638
2646
|
return (n, a) => (J(), re("div", Li, [
|
|
2639
|
-
t.metric ? (J(), re("div", Ci,
|
|
2647
|
+
t.metric ? (J(), re("div", Ci, ge(t.title), 1)) : Fe("", !0),
|
|
2640
2648
|
(J(!0), re(qr, null, Wr(t.data, (o, u) => (J(), re("div", {
|
|
2641
2649
|
key: u,
|
|
2642
2650
|
class: "legend-item"
|
|
@@ -2645,16 +2653,16 @@ const ct = (t) => {
|
|
|
2645
2653
|
class: "legend-color",
|
|
2646
2654
|
style: Zr({ backgroundColor: o.color })
|
|
2647
2655
|
}, null, 4),
|
|
2648
|
-
te("span", Oi,
|
|
2656
|
+
te("span", Oi, ge(o.range), 1)
|
|
2649
2657
|
]))), 128))
|
|
2650
2658
|
]));
|
|
2651
2659
|
}
|
|
2652
|
-
}),
|
|
2660
|
+
}), Mt = (t, n) => {
|
|
2653
2661
|
const a = t.__vccOpts || t;
|
|
2654
2662
|
for (const [o, u] of n)
|
|
2655
2663
|
a[o] = u;
|
|
2656
2664
|
return a;
|
|
2657
|
-
},
|
|
2665
|
+
}, Ii = /* @__PURE__ */ Mt(Gi, [["__scopeId", "data-v-2858aa0d"]]), Ui = { class: "map-tooltip" }, Ai = { class: "map-tooltip-text" }, Vi = { key: 0 }, Bi = /* @__PURE__ */ pt({
|
|
2658
2666
|
__name: "MapTooltip",
|
|
2659
2667
|
props: {
|
|
2660
2668
|
data: {},
|
|
@@ -2670,18 +2678,18 @@ const ct = (t) => {
|
|
|
2670
2678
|
})), (n, a) => (J(), re("div", Ui, [
|
|
2671
2679
|
a[0] || (a[0] = te("div", { class: "map-tooltip-color" }, null, -1)),
|
|
2672
2680
|
te("div", Ai, [
|
|
2673
|
-
te("div", null,
|
|
2674
|
-
t.showValue ? (J(), re("span", Vi,
|
|
2681
|
+
te("div", null, ge(t.data.label), 1),
|
|
2682
|
+
t.showValue ? (J(), re("span", Vi, ge(t.data.value), 1)) : Fe("", !0)
|
|
2675
2683
|
])
|
|
2676
2684
|
]));
|
|
2677
2685
|
}
|
|
2678
|
-
}), bi = /* @__PURE__ */ ht(Bi, [["__scopeId", "data-v-6bea2641"]]), zi = "FeatureCollection", Hi = /* @__PURE__ */ JSON.parse('[{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rBaikal","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[106.57998579307912,52.79998159444554],[106.53998823448521,52.93999888774037],[107.0800069519353,53.18001007751998],[107.2999935242018,53.37999787048953],[107.59997521365611,53.51998932556822],[108.03994835818912,53.859968573616456],[108.37997928266967,54.25999583598784],[109.05270307824526,55.027597561251326],[109.19346967980832,55.53560272889659],[109.50699059452313,55.73091380474372],[109.92980716353523,55.7129562445223],[109.70000206913326,54.980003567110515],[109.66000451053935,54.71999359803395],[109.47996382043448,54.33999095317566],[109.31997358605884,53.81999685323869],[109.22003136600637,53.619983222052994],[108.99999311730755,53.78002513286093],[108.60001753136845,53.4399942083804],[108.800005324338,53.37999787048953],[108.76000776574409,53.200008856816936],[108.45997439985749,53.14001251892607],[108.17999148970011,52.79998159444554],[107.79996300662566,52.579995022179034],[107.31999230349876,52.42000478780339],[106.64003380740229,52.32001089131862],[106.1000150899522,52.03997630472897],[105.740037062607,51.759993394571595],[105.24001590375084,51.52000804300813],[104.81998986208251,51.46001170511727],[104.30002160036167,51.50000926371118],[103.7600028829116,51.60000316019595],[103.6200114278329,51.73999461527464],[103.85999677939637,51.85998729105637],[104.39996382041414,51.85998729105637],[105.05997521364597,52.0000045843512],[105.4800012553143,52.28001333272471],[105.98002241417046,52.51999868428817],[106.26000532432784,52.619992580772944],[106.57998579307912,52.79998159444554]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rWinnipeg","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-98.95540137408423,53.92978343364277],[-97.95799455441879,54.337097072967325],[-97.8050064766187,54.05938792583079],[-97.64380184608419,53.42521474874492],[-96.39258622921722,51.39730235453108],[-96.23789282915149,50.6910147161819],[-96.72558915890605,50.448910630894474],[-96.92110694048235,50.75405996357799],[-97.23568722205913,51.49778717712263],[-98.20097713905517,52.18456696228162],[-99.23680538612963,53.21628693298888],[-98.95540137408423,53.92978343364277]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Great\\rSlave Lake","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-115.00000342492967,61.9723932969562],[-115.80669837122196,62.54171255151576],[-116.0585951404287,62.77880402287089],[-115.84279435917783,62.7503044704619],[-114.45259497766185,62.42820526798667],[-113.35341142459757,62.04448192000336],[-111.77890804731261,62.44360484480964],[-111.04001258018727,62.92000987410843],[-110.20001217328286,63.08000010848407],[-109.40000932497237,62.87817780216814],[-109.09010576051801,62.814099026126215],[-109.11651241741916,62.6928144395372],[-110.10089677614705,62.51561595320837],[-111.27599300824811,62.34911448836395],[-112.63050981326654,61.55991201440246],[-113.64000891808828,61.07999298770784],[-115.3409903634076,60.87659455020702],[-116.43999304895887,60.86000641544133],[-118.06110856817108,61.31196849226605],[-118.3474735177165,61.36137116153708],[-118.3849906075604,61.52110301375126],[-118.17960262741634,61.55629466414203],[-116.8028132800801,61.32589529076871],[-115.67879920129957,61.69179026961132],[-115.00000342492967,61.9723932969562]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"L. Ontario","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-79.05630591502026,43.25410431576152],[-79.36168779164908,43.20237620703736],[-79.76047481964547,43.29720246029295],[-79.46116492381094,43.639197089200565],[-79.1561706204243,43.75743276628437],[-78.45052893747877,43.9031861435636],[-77.60536088734519,44.039327704436545],[-77.16148617217414,43.850140285815996],[-76.88269181995948,44.0694550644627],[-76.56555355498425,44.20802541765336],[-76.35303422718391,44.134670722015045],[-76.23926856149336,43.979150499032656],[-76.17999569365458,43.5900011256587],[-76.9300015937227,43.2599954290428],[-77.74915056019732,43.342832750006664],[-78.53499406605984,43.379988104824534],[-79.05630591502026,43.25410431576152]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"L. Erie","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-83.12001135937246,42.08001577409016],[-82.57123348664891,42.01702220312636],[-81.82918575715374,42.33552989355732],[-81.39226152212595,42.61517690690481],[-81.09496700715081,42.66075552018623],[-80.54515560578142,42.560089830081665],[-80.27917700877515,42.71566172949635],[-79.79135148793986,42.84203644466612],[-78.92000932485044,42.96500051530464],[-78.90057898630869,42.8667119410855],[-79.76220598012725,42.269616604169045],[-80.51644934764329,41.980331936199136],[-81.03119828970264,41.845508124349635],[-81.62351355663209,41.568935858723535],[-82.34744869660895,41.435920722004255],[-82.84610043000939,41.48710622818935],[-83.46283281119673,41.69396698665372],[-83.12001135937246,42.08001577409016],[-83.12001135937246,42.08001577409016]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake Superior","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-89.60000342482806,48.00998973244721],[-89.19405921095924,48.40546946877693],[-88.62641944044917,48.56251414651193],[-88.40423661981026,48.80632355406499],[-88.17895321323383,48.93670319273738],[-87.24903581414156,48.73511343036678],[-86.56000810417788,48.71108388935106],[-86.32103044304411,48.57729360614741],[-85.98652889681881,48.01035146747326],[-84.8642201403039,47.86007640236849],[-85.04061764193222,47.575700995466306],[-84.64500871452178,47.28220469826462],[-84.81528255892351,46.90233124448706],[-84.39559241406505,46.77683502866624],[-84.60490780306328,46.439594631529474],[-84.9100054593145,46.48000560158172],[-85.11999264193253,46.76001434995524],[-86.1026200019625,46.67265534116582],[-86.99000769727856,46.45000743263628],[-87.69427995476835,46.83104360614041],[-88.2612220934425,46.958581041036766],[-87.93992387566777,47.485913194359185],[-88.82260901564527,47.154796454449],[-89.62498897984119,46.83083690041124],[-90.39703487828177,46.57648550067064],[-91.00999487991183,46.92000458433087],[-92.01192338740282,46.71167104754619],[-92.00877112503301,46.85843211525511],[-91.33000118687926,47.28000844989221],[-90.61999284540505,47.68000987404746],[-89.60000342482806,48.00998973244721]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rVictoria","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[33.85036827976734,0.128157863766091],[33.85036827976734,0.128157863766091],[34.13624230320599,-0.319308363449238],[34.0726286150547,-1.059831638191795],[33.579428745261055,-1.506005954599821],[33.251748488098286,-1.957968031424549],[33.64717654799571,-2.30089283611342],[33.07672041192572,-2.547131035984201],[32.95176679864397,-2.43044565186915],[32.37309410983957,-2.489925225437091],[31.926558058405476,-2.714511000177573],[31.648022088352292,-2.32921152100937],[31.836020949030114,-1.629305922048232],[31.866199985488578,-1.027378838712494],[31.815143670384202,-0.64042571371094],[32.27284183119332,-0.056120293786734],[32.906136508930246,0.0867650415003],[33.33184695815069,0.324993394365833],[33.85036827976734,0.128157863766091]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rLadoga","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[29.836711460089845,61.22608226179696],[29.836711460089845,61.22608226179696],[30.85199832532828,61.77504100203353],[32.52688317234018,61.11751007755173],[32.94432539239392,60.64260366478942],[32.81575442885176,60.481889960361684],[32.599901971168606,60.533514716221276],[32.583882277158125,60.20893504499601],[31.699440138482714,60.23565176049091],[31.50973595553924,59.92034800886205],[31.106246372204282,59.92768606224749],[31.10893354668346,60.14645823835514],[30.533878208139498,60.63009796817478],[30.502045525847706,60.843211574946466],[29.836711460089845,61.22608226179696]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rBalkhash","name_alt":"Balqash Köli","admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[78.99076541536459,46.748619696634876],[78.99076541536459,46.748619696634876],[79.2451684915375,46.64516347918655],[78.88989301953086,46.369934800800024],[78.44506229036242,46.29717438413307],[77.20606814973246,46.3955663112168],[75.61128177277294,46.50718740496724],[75.46333214712132,46.6706141220903],[75.40566124868357,46.47080719663377],[74.91122114451494,46.404661363300164],[74.77138471873312,46.107831936215646],[74.27802981964263,46.004065660173566],[74.0999528339648,44.98893382423201],[73.4367375019309,45.60946442319282],[73.4399931171653,45.80586070411809],[73.73713260284359,46.012747300798594],[73.67925499867667,46.18307282163262],[74.02068118682908,46.20490611427593],[74.09432010284502,46.42781240496693],[74.939384800114,46.81678091082786],[76.20313195181177,46.7800131292522],[77.18131513866464,46.64340648048862],[77.85993004752152,46.64785065366573],[78.29700931184618,46.46853343361292],[78.39710656119556,46.657669175801175],[78.99076541536459,46.748619696634876]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rTanganyika","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[30.806006300588507,-8.578339125201033],[30.46442508313922,-8.498188978716335],[30.566847771941724,-8.1150082332721],[30.27735639824263,-7.848357842646031],[30.14702843600253,-7.299244073112582],[29.536523064906334,-6.7541610652979],[29.19318484875913,-6.038029066597119],[29.371985304489016,-5.616452731960017],[29.101717563602506,-5.054006442895265],[29.281034783655315,-3.455499362810748],[29.652588331833897,-4.420143324403149],[29.600085076625334,-4.896393324405054],[29.79195966972506,-5.040880629093131],[29.758421665167646,-5.466901136907339],[29.951226434048635,-5.860985609565162],[29.722041456834177,-6.244114678577112],[30.52803877129051,-6.922729587433992],[30.604158156056457,-7.541916599155222],[31.189032016735865,-8.729906101113095],[31.022117140433124,-8.786543470904988],[30.806006300588507,-8.578339125201033],[30.806006300588507,-8.578339125201033]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake Malawi","name_alt":"Lake Nyasa","admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[35.2602047055542,-14.277474460510291],[35.236226840970915,-14.401291192281633],[34.881209751125766,-14.012012627826891],[34.706543409979076,-14.262023207255027],[34.54675988133266,-14.047669366108266],[34.55110070164528,-13.67208505621096],[34.3209338722171,-13.379389743709737],[34.32997724786827,-12.944584242405995],[34.032527703596315,-12.208556817272836],[34.322690870915096,-11.652983493702834],[34.25990400568048,-10.447579034062642],[33.906592238100984,-9.801726983278854],[33.99557905450757,-9.495440769084837],[34.52422895685345,-10.03013681400887],[34.60789310073403,-11.080511976773494],[34.93702029800096,-11.463434340056267],[34.69388268406766,-12.422393894096615],[34.86756717300062,-13.701127211159019],[35.05597944513687,-13.742933444883136],[35.2602047055542,-14.277474460510291]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Aral\\rSea","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[60.05285159692946,44.264636949229114],[59.77002648299603,44.15999217383806],[59.06288618351405,44.36928172462015],[59.34571129744745,44.99720205339871],[59.35930219914022,45.190006822279685],[58.96139367049281,45.37500844988459],[58.92144778833119,45.101846828789746],[58.92144778833119,44.73556427670495],[58.497132602782614,44.212340399749735],[58.285000848224456,44.473952338227335],[58.285000848224456,44.89255727800766],[58.689989048095896,45.50001373959863],[58.78000939314833,45.88673432065487],[59.20427290226462,45.93905670835039],[59.535002068932585,45.70501414650049],[59.55784305200561,46.30533926043519],[59.77002648299603,46.25299103452352],[60.12359663273702,46.096023871436955],[60.12359663273702,45.88673432065487],[59.94675988143425,45.808211981787366],[59.84071984237133,45.520477606786216],[60.12359663273702,45.572774156265595],[60.23997195825834,44.78403677019473],[60.05285159692946,44.264636949229114]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Vänern","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[13.979281447005576,59.20491364199721],[13.979281447005576,59.20491364199721],[13.984449090234762,59.086212877022774],[13.91892337408865,58.902503160225166],[13.28268313971111,58.608670966213566],[12.830100945698888,58.50903880475484],[12.460149366921371,58.50619660097878],[12.537767368223768,58.77594757754237],[12.522161085671598,58.880282294339665],[12.697085808979608,58.953843695707135],[13.027039829163215,58.993531195707305],[13.195298292705559,59.12900096296045],[13.59144982265505,59.336481838612315],[13.979281447005576,59.20491364199721]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Okeechobee","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-80.70643775096435,26.788959458924822],[-80.93244462759287,26.823272609966622],[-80.91970638703292,27.068916530866048],[-80.69369951040441,27.034629218040394],[-80.70643775096435,26.788959458924822],[-80.70643775096435,26.788959458924822]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lago de\\rNicaragua","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-84.85548682324658,11.147898667846633],[-85.29013729525353,11.176165676310276],[-85.79132117383625,11.509737046754324],[-85.8851655748783,11.900100816287136],[-85.5653401354239,11.940330918826362],[-85.03684526237491,11.5216484643976],[-84.85548682324658,11.147898667846633],[-84.85548682324658,11.147898667846633]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Tana","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[37.14370730972843,11.850594794151519],[37.01482628759251,12.035596421756424],[37.24401126480697,12.233878892460353],[37.518361443844526,12.160601711470477],[37.48187788264647,11.825092474815477],[37.33635704931254,11.713393866416595],[37.14370730972843,11.850594794151519],[37.14370730972843,11.850594794151519]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lago Titicaca","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-69.40673987494259,-16.126198825752063],[-69.7290974595793,-15.928794854397104],[-69.98365556504908,-15.73717864345884],[-69.8770212470148,-15.669844252182529],[-69.8679778713637,-15.546079196843493],[-69.88559953477524,-15.35425628017606],[-69.59675411647981,-15.410480238509614],[-68.98697221543571,-15.885903415594846],[-68.9596870591856,-15.91329192470954],[-68.74623755560401,-16.356003920154023],[-68.90524593776611,-16.506640720284835],[-69.00115739609983,-16.536406345284952],[-69.09084184434238,-16.461992282784657],[-69.18205074733753,-16.40116912197712],[-69.25098710801488,-16.227536309476427],[-69.40673987494259,-16.126198825752063],[-69.40673987494259,-16.126198825752063]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake\\rWinnipegosis","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-99.40377193886468,53.1258531764781],[-99.54846594928192,53.120427151087455],[-99.80498775917877,53.14290639913442],[-100.43146114785316,53.2841897650204],[-100.60685095905177,53.531616522833886],[-100.33487789589965,53.745246893928496],[-100.42673275429846,53.90740753846039],[-100.4044860501968,53.94507965760117],[-100.32629960813921,54.094011135466346],[-100.23586585162842,54.23033356385231],[-99.99549292682278,54.215864162810576],[-100.04778947630214,54.10013479269293],[-100.18356930214904,53.930351874397985],[-99.87128862180926,53.928465684619326],[-99.91066606321566,53.821314602262134],[-100.05649695514333,53.44332733826322],[-99.66551306842301,53.29581696228607],[-99.39317827024485,53.26791168884846],[-99.40377193886468,53.1258531764781],[-99.40377193886468,53.1258531764781]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake\\rOnega","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[35.71464725112901,62.2802298041189],[36.0541614112866,61.716310736733874],[36.391401808423325,61.27605337182331],[36.10945519383887,61.01508738874924],[35.35074181492962,60.948579820389625],[34.866843702948586,61.11637319604125],[35.207288038887384,61.114435329830485],[35.57832482274313,61.08634918887975],[35.16000410334027,61.39428904890701],[34.85733523940689,61.55179881453273],[34.48691857273877,61.86697337508076],[34.265019972477376,62.21914826114994],[34.289824659977455,62.29774811466581],[34.66561567560399,62.22979360620195],[34.62613488133297,62.45223480900245],[34.8356311378443,62.29676626245225],[35.080267368314026,62.1411943630377],[35.21658979669991,62.193284206787894],[35.463706495919666,62.2560193955901],[35.13969526544963,62.48776235620312],[34.614352654770414,62.762448432050576],[34.99541466649072,62.748469957115674],[35.23395307795005,62.675347805422575],[35.71464725112901,62.2802298041189]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Great Salt Lake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-112.18405127648089,41.34124949804567],[-112.13875688357706,41.142346910154174],[-112.17193315310845,40.851460272783186],[-112.67882727745939,41.130487168943205],[-112.70549231652205,41.16753917089636],[-112.87814327680917,41.62815705013003],[-112.58955624067522,41.43891795507716],[-112.40532975955472,41.33801972102742],[-112.21901038292629,41.42855683040267],[-112.18405127648089,41.34124949804567]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Great\\rBear Lake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-117.7592923653704,66.22368419052789],[-117.97374955938167,65.85489533147692],[-118.10710059291085,65.76691620550001],[-119.7200520432652,65.73479930283061],[-119.74568355368197,65.65436493596833],[-119.6648099371452,65.52742178004333],[-119.70219783590836,65.36794830999061],[-121.35509436098008,64.87999359807459],[-121.33610327211281,64.99461192489797],[-120.94527441468938,65.37774099390991],[-121.05728308168202,65.4463414577774],[-122.56450374412293,65.0310696478799],[-123.232705851873,65.18041453720339],[-123.17963415590926,65.31937246363624],[-122.32599117087979,65.79378795029179],[-122.35622188377054,65.90184337021411],[-124.95363440005697,66.04925039332666],[-124.89753963280414,66.15115631780624],[-119.48724971579031,66.96929759385118],[-119.35743771042887,66.87519481064767],[-120.1769492193738,66.46527151149239],[-117.60545162643749,66.55934845647975],[-117.61278967982294,66.41997711858856],[-117.7592923653704,66.22368419052789],[-117.7592923653704,66.22368419052789]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Athabasca","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-109.65330135785099,59.03763703066841],[-111.08626298708849,58.56017263450765],[-111.19948605023998,58.685565497463884],[-111.160005255969,58.75985036888345],[-109.09672034385136,59.55042226830068],[-106.54517066122398,59.31968699811746],[-106.54695349813804,59.292815253325685],[-109.65330135785099,59.03763703066841],[-109.65330135785099,59.03763703066841]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Reindeer\\rLake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-101.89514441608819,58.01403025983099],[-101.89514441608819,58.01403025983099],[-101.54384802936804,57.86809601503873],[-101.97090206582807,57.34867035585697],[-101.93403093138781,57.23066722271848],[-103.20416012247362,56.34539826112639],[-103.2825015938281,56.40994212505895],[-103.1487371488406,56.70411021588043],[-103.07832800984292,56.71080231386223],[-103.01440426309787,56.56510061301529],[-102.57680823445028,56.938281968811054],[-102.81322791218561,57.28714956321349],[-102.81369300007623,57.46434804954232],[-102.12874772826359,58.01914622662788],[-101.89514441608819,58.01403025983099]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rHuron","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-80.41056433787725,45.590137437515665],[-79.76292945017934,44.824602769543844],[-80.08500281443844,44.493925279308144],[-80.89769222687659,44.63164297136599],[-81.40233842642287,45.25005483660284],[-81.27567949087549,44.6201708033972],[-81.75265296092948,44.06464915625956],[-81.70017554393709,43.590052802090995],[-81.78272864452336,43.310845038417995],[-82.43000179719522,42.98001251888543],[-82.4799987454376,43.39001333268915],[-82.6599877591102,43.970003770516996],[-83.02999101432,44.06999766700177],[-83.6500048489579,43.62999868425261],[-83.84870073112015,43.63831858985161],[-83.89998959016984,43.88998281511303],[-83.34999732128743,44.29001007748441],[-83.25878841829228,44.74574453386644],[-83.33999793163895,45.200006211928155],[-84.08000444205858,45.58998240821879],[-84.93000423861146,45.789996039404485],[-84.75355506055087,45.924483954444085],[-84.71999121777729,45.91998810483469],[-83.83919226757845,46.010215155616294],[-84.33670711946846,46.40876963966737],[-84.14870825879063,46.55576325132161],[-83.95257036002683,46.334278062518635],[-83.20251278352643,46.21015127215355],[-82.44199072948692,46.19963511818216],[-81.63136837434045,46.09754832618957],[-80.73679765493583,45.90381338152733],[-80.41056433787725,45.590137437515665]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rMichigan","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-85.53999284538475,46.03000722918408],[-84.75355506055087,45.924483954444085],[-84.93000423861146,45.789996039404485],[-85.06999569369015,45.40999339454619],[-85.29044735384727,45.30824249936349],[-85.46710323763705,44.81457754167923],[-85.55999162468169,45.150009263685774],[-85.95983801954006,44.91059235287753],[-86.20935767286137,44.574798895844935],[-86.47027197950304,44.08423452409818],[-86.52001054558397,43.65999685319804],[-86.18842871778315,43.04140412044818],[-86.21604977084317,42.38170278581012],[-86.62191647006355,41.8944198675139],[-86.8244364082154,41.75618541113313],[-87.09444576694042,41.64616628678374],[-87.4342183092595,41.640714423176945],[-87.52617652052288,41.70851390234388],[-87.79569495314115,42.23411489518453],[-87.80344641798493,42.49399567318035],[-87.77672970249003,42.740853990238634],[-87.90214840366241,43.23051402442029],[-87.71221167677363,43.79650014909703],[-87.486359829442,44.49335683855294],[-86.9674767727993,45.26287059181122],[-87.11806189649782,45.25933075619923],[-87.85282324903983,44.61505483660031],[-87.98831885450912,44.73331635190026],[-87.5964306302237,45.093707790703775],[-87.00000708692704,45.73999909116209],[-86.31999691439827,45.829993597998396],[-85.53999284538475,46.03000722918408]]]}}]'), Yi = {
|
|
2686
|
+
}), bi = /* @__PURE__ */ Mt(Bi, [["__scopeId", "data-v-6bea2641"]]), zi = "FeatureCollection", Hi = /* @__PURE__ */ JSON.parse('[{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rBaikal","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[106.57998579307912,52.79998159444554],[106.53998823448521,52.93999888774037],[107.0800069519353,53.18001007751998],[107.2999935242018,53.37999787048953],[107.59997521365611,53.51998932556822],[108.03994835818912,53.859968573616456],[108.37997928266967,54.25999583598784],[109.05270307824526,55.027597561251326],[109.19346967980832,55.53560272889659],[109.50699059452313,55.73091380474372],[109.92980716353523,55.7129562445223],[109.70000206913326,54.980003567110515],[109.66000451053935,54.71999359803395],[109.47996382043448,54.33999095317566],[109.31997358605884,53.81999685323869],[109.22003136600637,53.619983222052994],[108.99999311730755,53.78002513286093],[108.60001753136845,53.4399942083804],[108.800005324338,53.37999787048953],[108.76000776574409,53.200008856816936],[108.45997439985749,53.14001251892607],[108.17999148970011,52.79998159444554],[107.79996300662566,52.579995022179034],[107.31999230349876,52.42000478780339],[106.64003380740229,52.32001089131862],[106.1000150899522,52.03997630472897],[105.740037062607,51.759993394571595],[105.24001590375084,51.52000804300813],[104.81998986208251,51.46001170511727],[104.30002160036167,51.50000926371118],[103.7600028829116,51.60000316019595],[103.6200114278329,51.73999461527464],[103.85999677939637,51.85998729105637],[104.39996382041414,51.85998729105637],[105.05997521364597,52.0000045843512],[105.4800012553143,52.28001333272471],[105.98002241417046,52.51999868428817],[106.26000532432784,52.619992580772944],[106.57998579307912,52.79998159444554]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rWinnipeg","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-98.95540137408423,53.92978343364277],[-97.95799455441879,54.337097072967325],[-97.8050064766187,54.05938792583079],[-97.64380184608419,53.42521474874492],[-96.39258622921722,51.39730235453108],[-96.23789282915149,50.6910147161819],[-96.72558915890605,50.448910630894474],[-96.92110694048235,50.75405996357799],[-97.23568722205913,51.49778717712263],[-98.20097713905517,52.18456696228162],[-99.23680538612963,53.21628693298888],[-98.95540137408423,53.92978343364277]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Great\\rSlave Lake","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-115.00000342492967,61.9723932969562],[-115.80669837122196,62.54171255151576],[-116.0585951404287,62.77880402287089],[-115.84279435917783,62.7503044704619],[-114.45259497766185,62.42820526798667],[-113.35341142459757,62.04448192000336],[-111.77890804731261,62.44360484480964],[-111.04001258018727,62.92000987410843],[-110.20001217328286,63.08000010848407],[-109.40000932497237,62.87817780216814],[-109.09010576051801,62.814099026126215],[-109.11651241741916,62.6928144395372],[-110.10089677614705,62.51561595320837],[-111.27599300824811,62.34911448836395],[-112.63050981326654,61.55991201440246],[-113.64000891808828,61.07999298770784],[-115.3409903634076,60.87659455020702],[-116.43999304895887,60.86000641544133],[-118.06110856817108,61.31196849226605],[-118.3474735177165,61.36137116153708],[-118.3849906075604,61.52110301375126],[-118.17960262741634,61.55629466414203],[-116.8028132800801,61.32589529076871],[-115.67879920129957,61.69179026961132],[-115.00000342492967,61.9723932969562]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"L. Ontario","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-79.05630591502026,43.25410431576152],[-79.36168779164908,43.20237620703736],[-79.76047481964547,43.29720246029295],[-79.46116492381094,43.639197089200565],[-79.1561706204243,43.75743276628437],[-78.45052893747877,43.9031861435636],[-77.60536088734519,44.039327704436545],[-77.16148617217414,43.850140285815996],[-76.88269181995948,44.0694550644627],[-76.56555355498425,44.20802541765336],[-76.35303422718391,44.134670722015045],[-76.23926856149336,43.979150499032656],[-76.17999569365458,43.5900011256587],[-76.9300015937227,43.2599954290428],[-77.74915056019732,43.342832750006664],[-78.53499406605984,43.379988104824534],[-79.05630591502026,43.25410431576152]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"L. Erie","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-83.12001135937246,42.08001577409016],[-82.57123348664891,42.01702220312636],[-81.82918575715374,42.33552989355732],[-81.39226152212595,42.61517690690481],[-81.09496700715081,42.66075552018623],[-80.54515560578142,42.560089830081665],[-80.27917700877515,42.71566172949635],[-79.79135148793986,42.84203644466612],[-78.92000932485044,42.96500051530464],[-78.90057898630869,42.8667119410855],[-79.76220598012725,42.269616604169045],[-80.51644934764329,41.980331936199136],[-81.03119828970264,41.845508124349635],[-81.62351355663209,41.568935858723535],[-82.34744869660895,41.435920722004255],[-82.84610043000939,41.48710622818935],[-83.46283281119673,41.69396698665372],[-83.12001135937246,42.08001577409016],[-83.12001135937246,42.08001577409016]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake Superior","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-89.60000342482806,48.00998973244721],[-89.19405921095924,48.40546946877693],[-88.62641944044917,48.56251414651193],[-88.40423661981026,48.80632355406499],[-88.17895321323383,48.93670319273738],[-87.24903581414156,48.73511343036678],[-86.56000810417788,48.71108388935106],[-86.32103044304411,48.57729360614741],[-85.98652889681881,48.01035146747326],[-84.8642201403039,47.86007640236849],[-85.04061764193222,47.575700995466306],[-84.64500871452178,47.28220469826462],[-84.81528255892351,46.90233124448706],[-84.39559241406505,46.77683502866624],[-84.60490780306328,46.439594631529474],[-84.9100054593145,46.48000560158172],[-85.11999264193253,46.76001434995524],[-86.1026200019625,46.67265534116582],[-86.99000769727856,46.45000743263628],[-87.69427995476835,46.83104360614041],[-88.2612220934425,46.958581041036766],[-87.93992387566777,47.485913194359185],[-88.82260901564527,47.154796454449],[-89.62498897984119,46.83083690041124],[-90.39703487828177,46.57648550067064],[-91.00999487991183,46.92000458433087],[-92.01192338740282,46.71167104754619],[-92.00877112503301,46.85843211525511],[-91.33000118687926,47.28000844989221],[-90.61999284540505,47.68000987404746],[-89.60000342482806,48.00998973244721]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rVictoria","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[33.85036827976734,0.128157863766091],[33.85036827976734,0.128157863766091],[34.13624230320599,-0.319308363449238],[34.0726286150547,-1.059831638191795],[33.579428745261055,-1.506005954599821],[33.251748488098286,-1.957968031424549],[33.64717654799571,-2.30089283611342],[33.07672041192572,-2.547131035984201],[32.95176679864397,-2.43044565186915],[32.37309410983957,-2.489925225437091],[31.926558058405476,-2.714511000177573],[31.648022088352292,-2.32921152100937],[31.836020949030114,-1.629305922048232],[31.866199985488578,-1.027378838712494],[31.815143670384202,-0.64042571371094],[32.27284183119332,-0.056120293786734],[32.906136508930246,0.0867650415003],[33.33184695815069,0.324993394365833],[33.85036827976734,0.128157863766091]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rLadoga","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[29.836711460089845,61.22608226179696],[29.836711460089845,61.22608226179696],[30.85199832532828,61.77504100203353],[32.52688317234018,61.11751007755173],[32.94432539239392,60.64260366478942],[32.81575442885176,60.481889960361684],[32.599901971168606,60.533514716221276],[32.583882277158125,60.20893504499601],[31.699440138482714,60.23565176049091],[31.50973595553924,59.92034800886205],[31.106246372204282,59.92768606224749],[31.10893354668346,60.14645823835514],[30.533878208139498,60.63009796817478],[30.502045525847706,60.843211574946466],[29.836711460089845,61.22608226179696]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rBalkhash","name_alt":"Balqash Köli","admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[78.99076541536459,46.748619696634876],[78.99076541536459,46.748619696634876],[79.2451684915375,46.64516347918655],[78.88989301953086,46.369934800800024],[78.44506229036242,46.29717438413307],[77.20606814973246,46.3955663112168],[75.61128177277294,46.50718740496724],[75.46333214712132,46.6706141220903],[75.40566124868357,46.47080719663377],[74.91122114451494,46.404661363300164],[74.77138471873312,46.107831936215646],[74.27802981964263,46.004065660173566],[74.0999528339648,44.98893382423201],[73.4367375019309,45.60946442319282],[73.4399931171653,45.80586070411809],[73.73713260284359,46.012747300798594],[73.67925499867667,46.18307282163262],[74.02068118682908,46.20490611427593],[74.09432010284502,46.42781240496693],[74.939384800114,46.81678091082786],[76.20313195181177,46.7800131292522],[77.18131513866464,46.64340648048862],[77.85993004752152,46.64785065366573],[78.29700931184618,46.46853343361292],[78.39710656119556,46.657669175801175],[78.99076541536459,46.748619696634876]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rTanganyika","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[30.806006300588507,-8.578339125201033],[30.46442508313922,-8.498188978716335],[30.566847771941724,-8.1150082332721],[30.27735639824263,-7.848357842646031],[30.14702843600253,-7.299244073112582],[29.536523064906334,-6.7541610652979],[29.19318484875913,-6.038029066597119],[29.371985304489016,-5.616452731960017],[29.101717563602506,-5.054006442895265],[29.281034783655315,-3.455499362810748],[29.652588331833897,-4.420143324403149],[29.600085076625334,-4.896393324405054],[29.79195966972506,-5.040880629093131],[29.758421665167646,-5.466901136907339],[29.951226434048635,-5.860985609565162],[29.722041456834177,-6.244114678577112],[30.52803877129051,-6.922729587433992],[30.604158156056457,-7.541916599155222],[31.189032016735865,-8.729906101113095],[31.022117140433124,-8.786543470904988],[30.806006300588507,-8.578339125201033],[30.806006300588507,-8.578339125201033]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake Malawi","name_alt":"Lake Nyasa","admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[35.2602047055542,-14.277474460510291],[35.236226840970915,-14.401291192281633],[34.881209751125766,-14.012012627826891],[34.706543409979076,-14.262023207255027],[34.54675988133266,-14.047669366108266],[34.55110070164528,-13.67208505621096],[34.3209338722171,-13.379389743709737],[34.32997724786827,-12.944584242405995],[34.032527703596315,-12.208556817272836],[34.322690870915096,-11.652983493702834],[34.25990400568048,-10.447579034062642],[33.906592238100984,-9.801726983278854],[33.99557905450757,-9.495440769084837],[34.52422895685345,-10.03013681400887],[34.60789310073403,-11.080511976773494],[34.93702029800096,-11.463434340056267],[34.69388268406766,-12.422393894096615],[34.86756717300062,-13.701127211159019],[35.05597944513687,-13.742933444883136],[35.2602047055542,-14.277474460510291]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Aral\\rSea","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[60.05285159692946,44.264636949229114],[59.77002648299603,44.15999217383806],[59.06288618351405,44.36928172462015],[59.34571129744745,44.99720205339871],[59.35930219914022,45.190006822279685],[58.96139367049281,45.37500844988459],[58.92144778833119,45.101846828789746],[58.92144778833119,44.73556427670495],[58.497132602782614,44.212340399749735],[58.285000848224456,44.473952338227335],[58.285000848224456,44.89255727800766],[58.689989048095896,45.50001373959863],[58.78000939314833,45.88673432065487],[59.20427290226462,45.93905670835039],[59.535002068932585,45.70501414650049],[59.55784305200561,46.30533926043519],[59.77002648299603,46.25299103452352],[60.12359663273702,46.096023871436955],[60.12359663273702,45.88673432065487],[59.94675988143425,45.808211981787366],[59.84071984237133,45.520477606786216],[60.12359663273702,45.572774156265595],[60.23997195825834,44.78403677019473],[60.05285159692946,44.264636949229114]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Vänern","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[13.979281447005576,59.20491364199721],[13.979281447005576,59.20491364199721],[13.984449090234762,59.086212877022774],[13.91892337408865,58.902503160225166],[13.28268313971111,58.608670966213566],[12.830100945698888,58.50903880475484],[12.460149366921371,58.50619660097878],[12.537767368223768,58.77594757754237],[12.522161085671598,58.880282294339665],[12.697085808979608,58.953843695707135],[13.027039829163215,58.993531195707305],[13.195298292705559,59.12900096296045],[13.59144982265505,59.336481838612315],[13.979281447005576,59.20491364199721]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Okeechobee","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-80.70643775096435,26.788959458924822],[-80.93244462759287,26.823272609966622],[-80.91970638703292,27.068916530866048],[-80.69369951040441,27.034629218040394],[-80.70643775096435,26.788959458924822],[-80.70643775096435,26.788959458924822]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lago de\\rNicaragua","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-84.85548682324658,11.147898667846633],[-85.29013729525353,11.176165676310276],[-85.79132117383625,11.509737046754324],[-85.8851655748783,11.900100816287136],[-85.5653401354239,11.940330918826362],[-85.03684526237491,11.5216484643976],[-84.85548682324658,11.147898667846633],[-84.85548682324658,11.147898667846633]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Tana","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[37.14370730972843,11.850594794151519],[37.01482628759251,12.035596421756424],[37.24401126480697,12.233878892460353],[37.518361443844526,12.160601711470477],[37.48187788264647,11.825092474815477],[37.33635704931254,11.713393866416595],[37.14370730972843,11.850594794151519],[37.14370730972843,11.850594794151519]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lago Titicaca","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-69.40673987494259,-16.126198825752063],[-69.7290974595793,-15.928794854397104],[-69.98365556504908,-15.73717864345884],[-69.8770212470148,-15.669844252182529],[-69.8679778713637,-15.546079196843493],[-69.88559953477524,-15.35425628017606],[-69.59675411647981,-15.410480238509614],[-68.98697221543571,-15.885903415594846],[-68.9596870591856,-15.91329192470954],[-68.74623755560401,-16.356003920154023],[-68.90524593776611,-16.506640720284835],[-69.00115739609983,-16.536406345284952],[-69.09084184434238,-16.461992282784657],[-69.18205074733753,-16.40116912197712],[-69.25098710801488,-16.227536309476427],[-69.40673987494259,-16.126198825752063],[-69.40673987494259,-16.126198825752063]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake\\rWinnipegosis","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-99.40377193886468,53.1258531764781],[-99.54846594928192,53.120427151087455],[-99.80498775917877,53.14290639913442],[-100.43146114785316,53.2841897650204],[-100.60685095905177,53.531616522833886],[-100.33487789589965,53.745246893928496],[-100.42673275429846,53.90740753846039],[-100.4044860501968,53.94507965760117],[-100.32629960813921,54.094011135466346],[-100.23586585162842,54.23033356385231],[-99.99549292682278,54.215864162810576],[-100.04778947630214,54.10013479269293],[-100.18356930214904,53.930351874397985],[-99.87128862180926,53.928465684619326],[-99.91066606321566,53.821314602262134],[-100.05649695514333,53.44332733826322],[-99.66551306842301,53.29581696228607],[-99.39317827024485,53.26791168884846],[-99.40377193886468,53.1258531764781],[-99.40377193886468,53.1258531764781]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake\\rOnega","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[35.71464725112901,62.2802298041189],[36.0541614112866,61.716310736733874],[36.391401808423325,61.27605337182331],[36.10945519383887,61.01508738874924],[35.35074181492962,60.948579820389625],[34.866843702948586,61.11637319604125],[35.207288038887384,61.114435329830485],[35.57832482274313,61.08634918887975],[35.16000410334027,61.39428904890701],[34.85733523940689,61.55179881453273],[34.48691857273877,61.86697337508076],[34.265019972477376,62.21914826114994],[34.289824659977455,62.29774811466581],[34.66561567560399,62.22979360620195],[34.62613488133297,62.45223480900245],[34.8356311378443,62.29676626245225],[35.080267368314026,62.1411943630377],[35.21658979669991,62.193284206787894],[35.463706495919666,62.2560193955901],[35.13969526544963,62.48776235620312],[34.614352654770414,62.762448432050576],[34.99541466649072,62.748469957115674],[35.23395307795005,62.675347805422575],[35.71464725112901,62.2802298041189]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Great Salt Lake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-112.18405127648089,41.34124949804567],[-112.13875688357706,41.142346910154174],[-112.17193315310845,40.851460272783186],[-112.67882727745939,41.130487168943205],[-112.70549231652205,41.16753917089636],[-112.87814327680917,41.62815705013003],[-112.58955624067522,41.43891795507716],[-112.40532975955472,41.33801972102742],[-112.21901038292629,41.42855683040267],[-112.18405127648089,41.34124949804567]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Great\\rBear Lake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-117.7592923653704,66.22368419052789],[-117.97374955938167,65.85489533147692],[-118.10710059291085,65.76691620550001],[-119.7200520432652,65.73479930283061],[-119.74568355368197,65.65436493596833],[-119.6648099371452,65.52742178004333],[-119.70219783590836,65.36794830999061],[-121.35509436098008,64.87999359807459],[-121.33610327211281,64.99461192489797],[-120.94527441468938,65.37774099390991],[-121.05728308168202,65.4463414577774],[-122.56450374412293,65.0310696478799],[-123.232705851873,65.18041453720339],[-123.17963415590926,65.31937246363624],[-122.32599117087979,65.79378795029179],[-122.35622188377054,65.90184337021411],[-124.95363440005697,66.04925039332666],[-124.89753963280414,66.15115631780624],[-119.48724971579031,66.96929759385118],[-119.35743771042887,66.87519481064767],[-120.1769492193738,66.46527151149239],[-117.60545162643749,66.55934845647975],[-117.61278967982294,66.41997711858856],[-117.7592923653704,66.22368419052789],[-117.7592923653704,66.22368419052789]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Athabasca","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-109.65330135785099,59.03763703066841],[-111.08626298708849,58.56017263450765],[-111.19948605023998,58.685565497463884],[-111.160005255969,58.75985036888345],[-109.09672034385136,59.55042226830068],[-106.54517066122398,59.31968699811746],[-106.54695349813804,59.292815253325685],[-109.65330135785099,59.03763703066841],[-109.65330135785099,59.03763703066841]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Reindeer\\rLake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-101.89514441608819,58.01403025983099],[-101.89514441608819,58.01403025983099],[-101.54384802936804,57.86809601503873],[-101.97090206582807,57.34867035585697],[-101.93403093138781,57.23066722271848],[-103.20416012247362,56.34539826112639],[-103.2825015938281,56.40994212505895],[-103.1487371488406,56.70411021588043],[-103.07832800984292,56.71080231386223],[-103.01440426309787,56.56510061301529],[-102.57680823445028,56.938281968811054],[-102.81322791218561,57.28714956321349],[-102.81369300007623,57.46434804954232],[-102.12874772826359,58.01914622662788],[-101.89514441608819,58.01403025983099]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rHuron","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-80.41056433787725,45.590137437515665],[-79.76292945017934,44.824602769543844],[-80.08500281443844,44.493925279308144],[-80.89769222687659,44.63164297136599],[-81.40233842642287,45.25005483660284],[-81.27567949087549,44.6201708033972],[-81.75265296092948,44.06464915625956],[-81.70017554393709,43.590052802090995],[-81.78272864452336,43.310845038417995],[-82.43000179719522,42.98001251888543],[-82.4799987454376,43.39001333268915],[-82.6599877591102,43.970003770516996],[-83.02999101432,44.06999766700177],[-83.6500048489579,43.62999868425261],[-83.84870073112015,43.63831858985161],[-83.89998959016984,43.88998281511303],[-83.34999732128743,44.29001007748441],[-83.25878841829228,44.74574453386644],[-83.33999793163895,45.200006211928155],[-84.08000444205858,45.58998240821879],[-84.93000423861146,45.789996039404485],[-84.75355506055087,45.924483954444085],[-84.71999121777729,45.91998810483469],[-83.83919226757845,46.010215155616294],[-84.33670711946846,46.40876963966737],[-84.14870825879063,46.55576325132161],[-83.95257036002683,46.334278062518635],[-83.20251278352643,46.21015127215355],[-82.44199072948692,46.19963511818216],[-81.63136837434045,46.09754832618957],[-80.73679765493583,45.90381338152733],[-80.41056433787725,45.590137437515665]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rMichigan","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-85.53999284538475,46.03000722918408],[-84.75355506055087,45.924483954444085],[-84.93000423861146,45.789996039404485],[-85.06999569369015,45.40999339454619],[-85.29044735384727,45.30824249936349],[-85.46710323763705,44.81457754167923],[-85.55999162468169,45.150009263685774],[-85.95983801954006,44.91059235287753],[-86.20935767286137,44.574798895844935],[-86.47027197950304,44.08423452409818],[-86.52001054558397,43.65999685319804],[-86.18842871778315,43.04140412044818],[-86.21604977084317,42.38170278581012],[-86.62191647006355,41.8944198675139],[-86.8244364082154,41.75618541113313],[-87.09444576694042,41.64616628678374],[-87.4342183092595,41.640714423176945],[-87.52617652052288,41.70851390234388],[-87.79569495314115,42.23411489518453],[-87.80344641798493,42.49399567318035],[-87.77672970249003,42.740853990238634],[-87.90214840366241,43.23051402442029],[-87.71221167677363,43.79650014909703],[-87.486359829442,44.49335683855294],[-86.9674767727993,45.26287059181122],[-87.11806189649782,45.25933075619923],[-87.85282324903983,44.61505483660031],[-87.98831885450912,44.73331635190026],[-87.5964306302237,45.093707790703775],[-87.00000708692704,45.73999909116209],[-86.31999691439827,45.829993597998396],[-85.53999284538475,46.03000722918408]]]}}]'), Yi = {
|
|
2679
2687
|
type: zi,
|
|
2680
2688
|
features: Hi
|
|
2681
2689
|
}, $i = { class: "kong-ui-public-analytics-geo-map" }, ji = {
|
|
2682
2690
|
key: 0,
|
|
2683
2691
|
class: "no-location-overlay"
|
|
2684
|
-
}, Ki = { class: "no-location-overlay-title" }, qi = { class: "no-location-overlay-description" }, Wi = ["id"], Zi = /* @__PURE__ */
|
|
2692
|
+
}, Ki = { class: "no-location-overlay-title" }, qi = { class: "no-location-overlay-description" }, Wi = ["id"], Zi = /* @__PURE__ */ pt({
|
|
2685
2693
|
__name: "AnalyticsGeoMap",
|
|
2686
2694
|
props: {
|
|
2687
2695
|
countryMetrics: {},
|
|
@@ -2696,12 +2704,12 @@ const ct = (t) => {
|
|
|
2696
2704
|
},
|
|
2697
2705
|
emits: ["boundsChange"],
|
|
2698
2706
|
setup(t, { emit: n }) {
|
|
2699
|
-
const a = import("./countries-simple-geo-BFUDnSiE.js").then((e) => e.default), o = n, { i18n: u } =
|
|
2700
|
-
countryMetrics:
|
|
2701
|
-
metric:
|
|
2702
|
-
unit:
|
|
2703
|
-
emptyCountryFill:
|
|
2704
|
-
}), { formatMetric: T } =
|
|
2707
|
+
const a = import("./countries-simple-geo-BFUDnSiE.js").then((e) => e.default), o = n, { i18n: u } = Te.useI18n(), d = Jr("app:konnectColorMode", j(() => "light")), { getColor: y, legendData: h } = Te.useLegendScale({
|
|
2708
|
+
countryMetrics: xe(() => t.countryMetrics),
|
|
2709
|
+
metric: xe(() => t.metric),
|
|
2710
|
+
unit: xe(() => t.metricUnit),
|
|
2711
|
+
emptyCountryFill: xe(() => L.value.emptyCountryFill)
|
|
2712
|
+
}), { formatMetric: T } = Te.useMetricFormat({ unit: xe(() => t.metricUnit) }), N = le(), S = Xr(), E = le(), F = le(), G = le(null), C = le({ left: "0px", top: "0px" }), P = le(!1), L = le(dt()), A = j(() => Object.keys(t.countryMetrics).length === 0 && !t.fitToCountry), I = j(() => ({
|
|
2705
2713
|
"fill-color": [
|
|
2706
2714
|
"match",
|
|
2707
2715
|
[
|
|
@@ -2753,7 +2761,7 @@ const ct = (t) => {
|
|
|
2753
2761
|
]);
|
|
2754
2762
|
return;
|
|
2755
2763
|
}
|
|
2756
|
-
const i =
|
|
2764
|
+
const i = G.value?.features.find((l) => l.properties?.ISO_A2 ? l.properties?.ISO_A2 === e : l.properties?.iso_a2 === "-99" ? l.properties?.iso_a2_eh === e : l.properties?.iso_a2 === e);
|
|
2757
2765
|
if (i) {
|
|
2758
2766
|
const l = i.geometry?.coordinates;
|
|
2759
2767
|
if (!l) return;
|
|
@@ -2796,10 +2804,10 @@ const ct = (t) => {
|
|
|
2796
2804
|
return ea(() => {
|
|
2797
2805
|
D();
|
|
2798
2806
|
}), ta(async () => {
|
|
2799
|
-
L.value =
|
|
2807
|
+
L.value = dt(E.value);
|
|
2800
2808
|
try {
|
|
2801
2809
|
const e = await a, i = await fetch(e), l = new Uint8Array(await i.arrayBuffer()), w = pi.decode(new gi(l));
|
|
2802
|
-
|
|
2810
|
+
G.value = w, F.value = new aa(s.value), F.value.on("load", () => {
|
|
2803
2811
|
F.value?.addSource("countries", {
|
|
2804
2812
|
type: "geojson",
|
|
2805
2813
|
data: w
|
|
@@ -2807,7 +2815,7 @@ const ct = (t) => {
|
|
|
2807
2815
|
id: "countries-layer",
|
|
2808
2816
|
type: "fill",
|
|
2809
2817
|
source: "countries",
|
|
2810
|
-
paint:
|
|
2818
|
+
paint: I.value
|
|
2811
2819
|
}), F.value?.addSource("lakes", {
|
|
2812
2820
|
type: "geojson",
|
|
2813
2821
|
data: Yi
|
|
@@ -2836,61 +2844,61 @@ const ct = (t) => {
|
|
|
2836
2844
|
} catch (e) {
|
|
2837
2845
|
console.error(e);
|
|
2838
2846
|
}
|
|
2839
|
-
}),
|
|
2840
|
-
L.value =
|
|
2841
|
-
}),
|
|
2842
|
-
F.value?.isStyleLoaded() && (F.value.getLayer("countries-layer") && F.value.setPaintProperty("countries-layer", "fill-color",
|
|
2843
|
-
}),
|
|
2847
|
+
}), Le(d, () => {
|
|
2848
|
+
L.value = dt(E.value);
|
|
2849
|
+
}), Le([I, U], () => {
|
|
2850
|
+
F.value?.isStyleLoaded() && (F.value.getLayer("countries-layer") && F.value.setPaintProperty("countries-layer", "fill-color", I.value["fill-color"]), F.value.getLayer("lakes-layer") && F.value.setPaintProperty("lakes-layer", "fill-color", U.value["fill-color"]));
|
|
2851
|
+
}), Le(() => t.fitToCountry, (e) => {
|
|
2844
2852
|
F.value && e ? _(e) : !s.value.center && !s.value.zoom ? F.value?.fitBounds([
|
|
2845
2853
|
[-180, -90],
|
|
2846
2854
|
[180, 90]
|
|
2847
2855
|
]) : (s.value.zoom && F.value?.setZoom(s.value.zoom), s.value.center && F.value?.flyTo({ center: s.value.center }));
|
|
2848
|
-
}),
|
|
2856
|
+
}), Le(() => t.bounds, (e, i) => {
|
|
2849
2857
|
if (!e) return;
|
|
2850
2858
|
const l = e?.flat(), w = i?.flat();
|
|
2851
2859
|
!(l && w && l.length === w.length && l.every((k, O) => Math.round(k * 100) / 100 === Math.round(w[O] * 100) / 100)) && F.value && F.value.fitBounds(e);
|
|
2852
2860
|
}), (e, i) => (J(), re("div", $i, [
|
|
2853
2861
|
A.value ? (J(), re("div", ji, [
|
|
2854
|
-
|
|
2855
|
-
na(
|
|
2856
|
-
color: `var(--kui-icon-color-neutral, ${
|
|
2857
|
-
size: `var(--kui-icon-size-60, ${
|
|
2862
|
+
et(e.$slots, "no-location-icon", {}, () => [
|
|
2863
|
+
na(ue(ia), {
|
|
2864
|
+
color: `var(--kui-icon-color-neutral, ${ue(wi)})`,
|
|
2865
|
+
size: `var(--kui-icon-size-60, ${ue(vi)})`
|
|
2858
2866
|
}, null, 8, ["color", "size"])
|
|
2859
2867
|
], !0),
|
|
2860
2868
|
te("div", Ki, [
|
|
2861
|
-
|
|
2862
|
-
ra(
|
|
2869
|
+
et(e.$slots, "no-location-title", {}, () => [
|
|
2870
|
+
ra(ge(ue(u).t("no_location_data")), 1)
|
|
2863
2871
|
], !0)
|
|
2864
2872
|
]),
|
|
2865
2873
|
te("div", qi, [
|
|
2866
|
-
|
|
2867
|
-
te("p", null,
|
|
2874
|
+
et(e.$slots, "no-location-description", {}, () => [
|
|
2875
|
+
te("p", null, ge(ue(u).t("no_location_data_description")), 1)
|
|
2868
2876
|
], !0)
|
|
2869
2877
|
])
|
|
2870
|
-
])) :
|
|
2878
|
+
])) : Fe("", !0),
|
|
2871
2879
|
te("div", {
|
|
2872
|
-
id:
|
|
2880
|
+
id: ue(S),
|
|
2873
2881
|
ref_key: "mapContainer",
|
|
2874
2882
|
ref: E,
|
|
2875
2883
|
class: "analytics-geo-map-container"
|
|
2876
2884
|
}, null, 8, Wi),
|
|
2877
|
-
z.value ? (J(),
|
|
2885
|
+
z.value ? (J(), qt(Ii, {
|
|
2878
2886
|
key: 1,
|
|
2879
2887
|
class: "legend-container",
|
|
2880
|
-
data:
|
|
2888
|
+
data: ue(h),
|
|
2881
2889
|
metric: t.metric,
|
|
2882
2890
|
title: b.value
|
|
2883
|
-
}, null, 8, ["data", "metric", "title"])) :
|
|
2884
|
-
P.value && N.value ? (J(),
|
|
2891
|
+
}, null, 8, ["data", "metric", "title"])) : Fe("", !0),
|
|
2892
|
+
P.value && N.value ? (J(), qt(bi, {
|
|
2885
2893
|
key: 2,
|
|
2886
2894
|
data: N.value,
|
|
2887
2895
|
left: C.value.left,
|
|
2888
2896
|
"show-value": t.showTooltipValue,
|
|
2889
2897
|
top: C.value.top
|
|
2890
|
-
}, null, 8, ["data", "left", "show-value", "top"])) :
|
|
2898
|
+
}, null, 8, ["data", "left", "show-value", "top"])) : Fe("", !0)
|
|
2891
2899
|
]));
|
|
2892
2900
|
}
|
|
2893
|
-
}), no = /* @__PURE__ */
|
|
2901
|
+
}), no = /* @__PURE__ */ Mt(Zi, [["__scopeId", "data-v-7dea982a"]]);
|
|
2894
2902
|
export {
|
|
2895
2903
|
no as AnalyticsGeoMap,
|
|
2896
2904
|
Pi as debounce,
|