@kong-ui-public/analytics-geo-map 1.9.26 → 1.9.27
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 +325 -307
- package/dist/vitals-geo-map.umd.js +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { computed as j, defineComponent as ft, openBlock as Q, createElementBlock as re, toDisplayString as _e, createCommentVNode as Me, Fragment as Kr, renderList as
|
|
2
|
-
import { Map as
|
|
3
|
-
import { AnalyticsIcon as
|
|
4
|
-
import { createI18n as
|
|
1
|
+
import { computed as j, defineComponent as ft, openBlock as Q, createElementBlock as re, toDisplayString as _e, createCommentVNode as Me, Fragment as Kr, renderList as Wr, createElementVNode as te, normalizeStyle as Zr, useCssVars as Jr, inject as Qr, toRef as ve, ref as se, useId as Xr, onUnmounted as ea, onMounted as ta, watch as Pe, renderSlot as Xe, createVNode as na, unref as le, createTextVNode as ra, createBlock as zt } from "vue";
|
|
2
|
+
import { Map as aa } from "maplibre-gl";
|
|
3
|
+
import { AnalyticsIcon as ia } from "@kong/icons";
|
|
4
|
+
import { createI18n as oa, i18nTComponent as sa } from "@kong-ui-public/i18n";
|
|
5
5
|
const Ht = "kapture:prepare", Yt = "kapture:restore";
|
|
6
|
-
function
|
|
6
|
+
function la(t) {
|
|
7
7
|
let n;
|
|
8
8
|
const a = () => {
|
|
9
9
|
n?.(), n = void 0;
|
|
@@ -18,8 +18,8 @@ function sa(t) {
|
|
|
18
18
|
window.removeEventListener(Ht, o), window.removeEventListener(Yt, a), a();
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
return
|
|
21
|
+
function ua(t, n = {}) {
|
|
22
|
+
return la(async () => {
|
|
23
23
|
const a = t();
|
|
24
24
|
if (!a)
|
|
25
25
|
return;
|
|
@@ -31,7 +31,7 @@ function la(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
|
|
34
|
+
const ca = ["in", "not_in", "selector"], da = ["empty", "not_empty"], ue = (t) => t.filter((n) => n !== "time"), _n = [
|
|
35
35
|
"api",
|
|
36
36
|
"api_package",
|
|
37
37
|
"api_product",
|
|
@@ -45,7 +45,7 @@ const ua = ["in", "not_in", "selector"], ca = ["empty", "not_empty"], ue = (t) =
|
|
|
45
45
|
"status_code",
|
|
46
46
|
"status_code_grouped",
|
|
47
47
|
"time"
|
|
48
|
-
], gn = ue(_n),
|
|
48
|
+
], gn = ue(_n), ma = [
|
|
49
49
|
"active_services",
|
|
50
50
|
"error_rate",
|
|
51
51
|
"request_count",
|
|
@@ -73,8 +73,8 @@ const ua = ["in", "not_in", "selector"], ca = ["empty", "not_empty"], ue = (t) =
|
|
|
73
73
|
"realm",
|
|
74
74
|
"portal_api",
|
|
75
75
|
"principal"
|
|
76
|
-
], vn = ue(wn),
|
|
77
|
-
...
|
|
76
|
+
], vn = ue(wn), fa = [
|
|
77
|
+
...ma,
|
|
78
78
|
"cache_hit_rate",
|
|
79
79
|
"response_latency_p99",
|
|
80
80
|
"response_latency_p95",
|
|
@@ -101,7 +101,7 @@ const ua = ["in", "not_in", "selector"], ca = ["empty", "not_empty"], ue = (t) =
|
|
|
101
101
|
"request_size_p50",
|
|
102
102
|
"request_size_average",
|
|
103
103
|
"request_size_sum"
|
|
104
|
-
],
|
|
104
|
+
], pa = [
|
|
105
105
|
"control_plane",
|
|
106
106
|
"control_plane_group",
|
|
107
107
|
"ai_gateway",
|
|
@@ -129,7 +129,7 @@ const ua = ["in", "not_in", "selector"], ca = ["empty", "not_empty"], ue = (t) =
|
|
|
129
129
|
"ai_gateway_model",
|
|
130
130
|
"ai_gateway_agent",
|
|
131
131
|
"ai_gateway_data_plane_node"
|
|
132
|
-
], xn = ue(
|
|
132
|
+
], xn = ue(pa), ya = [
|
|
133
133
|
"a2a_context_id",
|
|
134
134
|
"a2a_error",
|
|
135
135
|
"a2a_method",
|
|
@@ -184,9 +184,24 @@ const ua = ["in", "not_in", "selector"], ca = ["empty", "not_empty"], ue = (t) =
|
|
|
184
184
|
"upstream_uri",
|
|
185
185
|
"upstream_status_code_grouped",
|
|
186
186
|
"websocket"
|
|
187
|
-
]
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
], ha = ue(ya), _a = [
|
|
188
|
+
"auth_type",
|
|
189
|
+
"cache_status",
|
|
190
|
+
"client_ip",
|
|
191
|
+
"data_plane_node_version",
|
|
192
|
+
"header_host",
|
|
193
|
+
"header_user_agent",
|
|
194
|
+
"http_method",
|
|
195
|
+
"oidc_credential",
|
|
196
|
+
"request_id",
|
|
197
|
+
"request_uri",
|
|
198
|
+
"response_header_content_type",
|
|
199
|
+
"response_source",
|
|
200
|
+
"service_port",
|
|
201
|
+
"service_protocol",
|
|
202
|
+
"trace_id",
|
|
203
|
+
"upstream_uri"
|
|
204
|
+
], ga = _a, wa = [
|
|
190
205
|
"ai_count",
|
|
191
206
|
"latencies_response_ms",
|
|
192
207
|
"latencies_upstream_ms",
|
|
@@ -197,9 +212,7 @@ const ya = [
|
|
|
197
212
|
"response_header_content_length",
|
|
198
213
|
"status_code",
|
|
199
214
|
"upstream_status_code"
|
|
200
|
-
]
|
|
201
|
-
ue(ya);
|
|
202
|
-
const ha = [
|
|
215
|
+
], va = ue(wa), xa = [
|
|
203
216
|
...wn,
|
|
204
217
|
"a2a_context_id",
|
|
205
218
|
"a2a_error",
|
|
@@ -211,11 +224,11 @@ const ha = [
|
|
|
211
224
|
"mcp_method",
|
|
212
225
|
"mcp_session_id",
|
|
213
226
|
"mcp_tool_name"
|
|
214
|
-
], Mn = ue(
|
|
227
|
+
], Mn = ue(xa);
|
|
215
228
|
[
|
|
216
|
-
...
|
|
229
|
+
...fa
|
|
217
230
|
];
|
|
218
|
-
const
|
|
231
|
+
const Ma = [
|
|
219
232
|
"control_plane",
|
|
220
233
|
"data_plane_group",
|
|
221
234
|
"managed_cache",
|
|
@@ -223,7 +236,7 @@ const _a = [
|
|
|
223
236
|
"provider",
|
|
224
237
|
"provider_region",
|
|
225
238
|
"time"
|
|
226
|
-
], Fn = ue(
|
|
239
|
+
], Fn = ue(Ma);
|
|
227
240
|
new Set(gn), new Set(vn), new Set(xn), new Set(Mn), new Set(Fn);
|
|
228
241
|
const pt = [
|
|
229
242
|
{ code: "AF", name: "Afghanistan" },
|
|
@@ -474,7 +487,7 @@ const pt = [
|
|
|
474
487
|
{ code: "ZW", name: "Zimbabwe" }
|
|
475
488
|
];
|
|
476
489
|
pt.map((t) => t.code);
|
|
477
|
-
const
|
|
490
|
+
const Tn = (t) => ({
|
|
478
491
|
type: "array",
|
|
479
492
|
description: "A list of filters to apply to the query",
|
|
480
493
|
items: {
|
|
@@ -489,7 +502,7 @@ const ga = (t) => ({
|
|
|
489
502
|
},
|
|
490
503
|
operator: {
|
|
491
504
|
type: "string",
|
|
492
|
-
enum:
|
|
505
|
+
enum: ca
|
|
493
506
|
},
|
|
494
507
|
value: {
|
|
495
508
|
type: "array",
|
|
@@ -515,7 +528,7 @@ const ga = (t) => ({
|
|
|
515
528
|
},
|
|
516
529
|
operator: {
|
|
517
530
|
type: "string",
|
|
518
|
-
enum:
|
|
531
|
+
enum: da
|
|
519
532
|
}
|
|
520
533
|
},
|
|
521
534
|
required: [
|
|
@@ -526,7 +539,7 @@ const ga = (t) => ({
|
|
|
526
539
|
}
|
|
527
540
|
]
|
|
528
541
|
}
|
|
529
|
-
}),
|
|
542
|
+
}), Fa = [
|
|
530
543
|
"control_plane",
|
|
531
544
|
"gateway_service",
|
|
532
545
|
"realm",
|
|
@@ -540,21 +553,26 @@ const ga = (t) => ({
|
|
|
540
553
|
"region",
|
|
541
554
|
"hostname"
|
|
542
555
|
];
|
|
543
|
-
|
|
556
|
+
Tn(Array.from(/* @__PURE__ */ new Set([
|
|
557
|
+
...ha,
|
|
558
|
+
...ga,
|
|
559
|
+
...va
|
|
560
|
+
])));
|
|
561
|
+
Tn([
|
|
544
562
|
.../* @__PURE__ */ new Set([
|
|
545
563
|
...vn,
|
|
546
564
|
...gn,
|
|
547
565
|
...xn,
|
|
548
566
|
...Mn,
|
|
549
|
-
...
|
|
567
|
+
...Fa,
|
|
550
568
|
...Fn
|
|
551
569
|
])
|
|
552
570
|
]);
|
|
553
|
-
let
|
|
554
|
-
function
|
|
555
|
-
return
|
|
571
|
+
let Ta = {};
|
|
572
|
+
function Sa() {
|
|
573
|
+
return Ta;
|
|
556
574
|
}
|
|
557
|
-
const
|
|
575
|
+
const Da = 60, ka = 3600, $t = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
558
576
|
function Te(t, n) {
|
|
559
577
|
return typeof t == "function" ? t(n) : t && typeof t == "object" && $t in t ? t[$t](n) : t instanceof Date ? new t.constructor(n) : new Date(n);
|
|
560
578
|
}
|
|
@@ -566,14 +584,14 @@ function Le(t, n) {
|
|
|
566
584
|
return a.setHours(0, 0, 0, 0), a;
|
|
567
585
|
}
|
|
568
586
|
function Be(t, n) {
|
|
569
|
-
const a =
|
|
587
|
+
const a = Sa(), o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, u = ce(t, n?.in), d = u.getDay(), y = (d < o ? 7 : 0) + d - o;
|
|
570
588
|
return u.setDate(u.getDate() - y), u.setHours(0, 0, 0, 0), u;
|
|
571
589
|
}
|
|
572
590
|
function Ce(t, n, a) {
|
|
573
591
|
const o = ce(t, a?.in);
|
|
574
592
|
return isNaN(n) ? Te(t, NaN) : (o.setDate(o.getDate() + n), o);
|
|
575
593
|
}
|
|
576
|
-
function
|
|
594
|
+
function Sn(t, n, a) {
|
|
577
595
|
const o = ce(t, a?.in);
|
|
578
596
|
if (isNaN(n)) return Te(t, NaN);
|
|
579
597
|
if (!n)
|
|
@@ -587,8 +605,8 @@ function Tn(t, n, a) {
|
|
|
587
605
|
u
|
|
588
606
|
), o);
|
|
589
607
|
}
|
|
590
|
-
function
|
|
591
|
-
return
|
|
608
|
+
function Na(t, n, a) {
|
|
609
|
+
return Sn(t, n * 3, a);
|
|
592
610
|
}
|
|
593
611
|
function ye(t, n) {
|
|
594
612
|
const a = ce(t, n?.in), o = a.getMonth(), u = o - o % 3;
|
|
@@ -598,28 +616,28 @@ function he(t, n) {
|
|
|
598
616
|
const a = ce(t, n?.in);
|
|
599
617
|
return a.setDate(1), a.setHours(0, 0, 0, 0), a;
|
|
600
618
|
}
|
|
601
|
-
function
|
|
619
|
+
function Ra(t, n) {
|
|
602
620
|
const a = ce(t, n?.in), o = a.getFullYear(), u = a.getMonth(), d = Te(a, 0);
|
|
603
621
|
return d.setFullYear(o, u + 1, 0), d.setHours(0, 0, 0, 0), d.getDate();
|
|
604
622
|
}
|
|
605
623
|
function jt(t) {
|
|
606
|
-
return Math.trunc(t *
|
|
624
|
+
return Math.trunc(t * ka);
|
|
607
625
|
}
|
|
608
|
-
function
|
|
609
|
-
const n = t /
|
|
626
|
+
function Ea(t) {
|
|
627
|
+
const n = t / Da;
|
|
610
628
|
return Math.trunc(n);
|
|
611
629
|
}
|
|
612
|
-
function Sn(t, n, a) {
|
|
613
|
-
return Tn(t, -1, a);
|
|
614
|
-
}
|
|
615
630
|
function Dn(t, n, a) {
|
|
616
|
-
return
|
|
631
|
+
return Sn(t, -1, a);
|
|
617
632
|
}
|
|
618
|
-
function
|
|
619
|
-
|
|
620
|
-
return "formatToParts" in a ? Ra(a, t) : Ea(a, t);
|
|
633
|
+
function kn(t, n, a) {
|
|
634
|
+
return Na(t, -1, a);
|
|
621
635
|
}
|
|
622
|
-
|
|
636
|
+
function Pa(t, n) {
|
|
637
|
+
const a = Ia(n);
|
|
638
|
+
return "formatToParts" in a ? Ca(a, t) : Oa(a, t);
|
|
639
|
+
}
|
|
640
|
+
const La = {
|
|
623
641
|
year: 0,
|
|
624
642
|
month: 1,
|
|
625
643
|
day: 2,
|
|
@@ -627,11 +645,11 @@ const Na = {
|
|
|
627
645
|
minute: 4,
|
|
628
646
|
second: 5
|
|
629
647
|
};
|
|
630
|
-
function
|
|
648
|
+
function Ca(t, n) {
|
|
631
649
|
try {
|
|
632
650
|
const a = t.formatToParts(n), o = [];
|
|
633
651
|
for (let u = 0; u < a.length; u++) {
|
|
634
|
-
const d =
|
|
652
|
+
const d = La[a[u].type];
|
|
635
653
|
d !== void 0 && (o[d] = parseInt(a[u].value, 10));
|
|
636
654
|
}
|
|
637
655
|
return o;
|
|
@@ -641,7 +659,7 @@ function Ra(t, n) {
|
|
|
641
659
|
throw a;
|
|
642
660
|
}
|
|
643
661
|
}
|
|
644
|
-
function
|
|
662
|
+
function Oa(t, n) {
|
|
645
663
|
const a = t.format(n), o = /(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(a);
|
|
646
664
|
return [
|
|
647
665
|
parseInt(o[3], 10),
|
|
@@ -652,7 +670,7 @@ function Ea(t, n) {
|
|
|
652
670
|
parseInt(o[6], 10)
|
|
653
671
|
];
|
|
654
672
|
}
|
|
655
|
-
const et = {},
|
|
673
|
+
const et = {}, qt = new Intl.DateTimeFormat("en-US", {
|
|
656
674
|
hourCycle: "h23",
|
|
657
675
|
timeZone: "America/New_York",
|
|
658
676
|
year: "numeric",
|
|
@@ -661,9 +679,9 @@ const et = {}, Kt = new Intl.DateTimeFormat("en-US", {
|
|
|
661
679
|
hour: "2-digit",
|
|
662
680
|
minute: "2-digit",
|
|
663
681
|
second: "2-digit"
|
|
664
|
-
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")),
|
|
665
|
-
function
|
|
666
|
-
return et[t] || (et[t] =
|
|
682
|
+
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Ga = qt === "06/25/2014, 00:00:00" || qt === "06/25/2014 00:00:00";
|
|
683
|
+
function Ia(t) {
|
|
684
|
+
return et[t] || (et[t] = Ga ? new Intl.DateTimeFormat("en-US", {
|
|
667
685
|
hourCycle: "h23",
|
|
668
686
|
timeZone: t,
|
|
669
687
|
year: "numeric",
|
|
@@ -687,7 +705,7 @@ function yt(t, n, a, o, u, d, y) {
|
|
|
687
705
|
const h = /* @__PURE__ */ new Date(0);
|
|
688
706
|
return h.setUTCFullYear(t, n, a), h.setUTCHours(o, u, d, y), h;
|
|
689
707
|
}
|
|
690
|
-
const
|
|
708
|
+
const Kt = 36e5, Ua = 6e4, tt = {
|
|
691
709
|
timezoneZ: /^(Z)$/,
|
|
692
710
|
timezoneHH: /^([+-]\d{2})$/,
|
|
693
711
|
timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
|
|
@@ -700,29 +718,29 @@ function be(t, n, a) {
|
|
|
700
718
|
return 0;
|
|
701
719
|
let u, d;
|
|
702
720
|
if (o = tt.timezoneHH.exec(t), o)
|
|
703
|
-
return u = parseInt(o[1], 10), Wt(u) ? -(u *
|
|
721
|
+
return u = parseInt(o[1], 10), Wt(u) ? -(u * Kt) : NaN;
|
|
704
722
|
if (o = tt.timezoneHHMM.exec(t), o) {
|
|
705
723
|
u = parseInt(o[2], 10);
|
|
706
724
|
const y = parseInt(o[3], 10);
|
|
707
|
-
return Wt(u, y) ? (d = Math.abs(u) *
|
|
725
|
+
return Wt(u, y) ? (d = Math.abs(u) * Kt + y * Ua, o[1] === "+" ? -d : d) : NaN;
|
|
708
726
|
}
|
|
709
|
-
if (
|
|
727
|
+
if (Ba(t)) {
|
|
710
728
|
n = new Date(n || Date.now());
|
|
711
|
-
const y = a ? n :
|
|
712
|
-
return -(a ? h :
|
|
729
|
+
const y = a ? n : Aa(n), h = dt(y, t);
|
|
730
|
+
return -(a ? h : Va(n, h, t));
|
|
713
731
|
}
|
|
714
732
|
return NaN;
|
|
715
733
|
}
|
|
716
|
-
function
|
|
734
|
+
function Aa(t) {
|
|
717
735
|
return yt(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds());
|
|
718
736
|
}
|
|
719
737
|
function dt(t, n) {
|
|
720
|
-
const a =
|
|
738
|
+
const a = Pa(t, n), o = yt(a[0], a[1] - 1, a[2], a[3] % 24, a[4], a[5], 0).getTime();
|
|
721
739
|
let u = t.getTime();
|
|
722
740
|
const d = u % 1e3;
|
|
723
741
|
return u -= d >= 0 ? d : 1e3 + d, o - u;
|
|
724
742
|
}
|
|
725
|
-
function
|
|
743
|
+
function Va(t, n, a) {
|
|
726
744
|
let o = t.getTime() - n;
|
|
727
745
|
const u = dt(new Date(o), a);
|
|
728
746
|
if (n === u)
|
|
@@ -735,7 +753,7 @@ function Wt(t, n) {
|
|
|
735
753
|
return -23 <= t && t <= 23 && (n == null || 0 <= n && n <= 59);
|
|
736
754
|
}
|
|
737
755
|
const Zt = {};
|
|
738
|
-
function
|
|
756
|
+
function Ba(t) {
|
|
739
757
|
if (Zt[t])
|
|
740
758
|
return !0;
|
|
741
759
|
try {
|
|
@@ -748,7 +766,7 @@ function Jt(t) {
|
|
|
748
766
|
const n = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
749
767
|
return n.setUTCFullYear(t.getFullYear()), +t - +n;
|
|
750
768
|
}
|
|
751
|
-
const
|
|
769
|
+
const Nn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, nt = 36e5, Qt = 6e4, ba = 2, H = {
|
|
752
770
|
dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
|
|
753
771
|
datePattern: /^([0-9W+-]+)(.*)/,
|
|
754
772
|
// year tokens
|
|
@@ -780,14 +798,14 @@ const kn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)
|
|
|
780
798
|
HHMM: /^(\d{2}):?(\d{2}([.,]\d*)?)$/,
|
|
781
799
|
HHMMSS: /^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,
|
|
782
800
|
// time zone tokens (to identify the presence of a tz)
|
|
783
|
-
timeZone:
|
|
801
|
+
timeZone: Nn
|
|
784
802
|
};
|
|
785
803
|
function mt(t, n = {}) {
|
|
786
804
|
if (arguments.length < 1)
|
|
787
805
|
throw new TypeError("1 argument required, but only " + arguments.length + " present");
|
|
788
806
|
if (t === null)
|
|
789
807
|
return /* @__PURE__ */ new Date(NaN);
|
|
790
|
-
const a = n.additionalDigits == null ?
|
|
808
|
+
const a = n.additionalDigits == null ? ba : Number(n.additionalDigits);
|
|
791
809
|
if (a !== 2 && a !== 1 && a !== 0)
|
|
792
810
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
793
811
|
if (t instanceof Date || typeof t == "object" && Object.prototype.toString.call(t) === "[object Date]")
|
|
@@ -796,13 +814,13 @@ function mt(t, n = {}) {
|
|
|
796
814
|
return new Date(t);
|
|
797
815
|
if (Object.prototype.toString.call(t) !== "[object String]")
|
|
798
816
|
return /* @__PURE__ */ new Date(NaN);
|
|
799
|
-
const o =
|
|
817
|
+
const o = za(t), { year: u, restDateString: d } = Ha(o.date, a), y = Ya(d, u);
|
|
800
818
|
if (y === null || isNaN(y.getTime()))
|
|
801
819
|
return /* @__PURE__ */ new Date(NaN);
|
|
802
820
|
if (y) {
|
|
803
821
|
const h = y.getTime();
|
|
804
822
|
let T = 0, N;
|
|
805
|
-
if (o.time && (T =
|
|
823
|
+
if (o.time && (T = $a(o.time), T === null || isNaN(T)))
|
|
806
824
|
return /* @__PURE__ */ new Date(NaN);
|
|
807
825
|
if (o.timeZone || n.timeZone) {
|
|
808
826
|
if (N = be(o.timeZone || n.timeZone, new Date(h + T)), isNaN(N))
|
|
@@ -813,7 +831,7 @@ function mt(t, n = {}) {
|
|
|
813
831
|
} else
|
|
814
832
|
return /* @__PURE__ */ new Date(NaN);
|
|
815
833
|
}
|
|
816
|
-
function
|
|
834
|
+
function za(t) {
|
|
817
835
|
const n = {};
|
|
818
836
|
let a = H.dateTimePattern.exec(t), o;
|
|
819
837
|
if (a ? (n.date = a[1], o = a[3]) : (a = H.datePattern.exec(t), a ? (n.date = a[1], o = a[2]) : (n.date = null, o = t)), o) {
|
|
@@ -822,7 +840,7 @@ function Aa(t) {
|
|
|
822
840
|
}
|
|
823
841
|
return n;
|
|
824
842
|
}
|
|
825
|
-
function
|
|
843
|
+
function Ha(t, n) {
|
|
826
844
|
if (t) {
|
|
827
845
|
const a = H.YYY[n], o = H.YYYYY[n];
|
|
828
846
|
let u = H.YYYY.exec(t) || o.exec(t);
|
|
@@ -845,7 +863,7 @@ function Va(t, n) {
|
|
|
845
863
|
year: null
|
|
846
864
|
};
|
|
847
865
|
}
|
|
848
|
-
function
|
|
866
|
+
function Ya(t, n) {
|
|
849
867
|
if (n === null)
|
|
850
868
|
return null;
|
|
851
869
|
let a, o, u;
|
|
@@ -857,7 +875,7 @@ function Ba(t, n) {
|
|
|
857
875
|
if (d = H.DDD.exec(t), d) {
|
|
858
876
|
a = /* @__PURE__ */ new Date(0);
|
|
859
877
|
const y = parseInt(d[1], 10);
|
|
860
|
-
return
|
|
878
|
+
return Ka(n, y) ? (a.setUTCFullYear(n, 0, y), a) : /* @__PURE__ */ new Date(NaN);
|
|
861
879
|
}
|
|
862
880
|
if (d = H.MMDD.exec(t), d) {
|
|
863
881
|
a = /* @__PURE__ */ new Date(0), o = parseInt(d[1], 10) - 1;
|
|
@@ -873,7 +891,7 @@ function Ba(t, n) {
|
|
|
873
891
|
}
|
|
874
892
|
return null;
|
|
875
893
|
}
|
|
876
|
-
function
|
|
894
|
+
function $a(t) {
|
|
877
895
|
let n, a, o = H.HH.exec(t);
|
|
878
896
|
if (o)
|
|
879
897
|
return n = parseFloat(o[1].replace(",", ".")), rt(n) ? n % 24 * nt : NaN;
|
|
@@ -893,8 +911,8 @@ function Xt(t, n, a) {
|
|
|
893
911
|
const u = o.getUTCDay() || 7, d = n * 7 + a + 1 - u;
|
|
894
912
|
return o.setUTCDate(o.getUTCDate() + d), o;
|
|
895
913
|
}
|
|
896
|
-
const
|
|
897
|
-
function
|
|
914
|
+
const ja = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], qa = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
915
|
+
function Rn(t) {
|
|
898
916
|
return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
|
|
899
917
|
}
|
|
900
918
|
function en(t, n, a) {
|
|
@@ -903,16 +921,16 @@ function en(t, n, a) {
|
|
|
903
921
|
if (a != null) {
|
|
904
922
|
if (a < 1)
|
|
905
923
|
return !1;
|
|
906
|
-
const o =
|
|
907
|
-
if (o && a >
|
|
924
|
+
const o = Rn(t);
|
|
925
|
+
if (o && a > qa[n] || !o && a > ja[n])
|
|
908
926
|
return !1;
|
|
909
927
|
}
|
|
910
928
|
return !0;
|
|
911
929
|
}
|
|
912
|
-
function
|
|
930
|
+
function Ka(t, n) {
|
|
913
931
|
if (n < 1)
|
|
914
932
|
return !1;
|
|
915
|
-
const a =
|
|
933
|
+
const a = Rn(t);
|
|
916
934
|
return !(a && n > 366 || !a && n > 365);
|
|
917
935
|
}
|
|
918
936
|
function tn(t, n) {
|
|
@@ -921,41 +939,41 @@ function tn(t, n) {
|
|
|
921
939
|
function rt(t, n, a) {
|
|
922
940
|
return !(t < 0 || t >= 25 || n != null && (n < 0 || n >= 60) || a != null && (a < 0 || a >= 60));
|
|
923
941
|
}
|
|
924
|
-
function
|
|
942
|
+
function Wa(t, n, a) {
|
|
925
943
|
t = mt(t, a);
|
|
926
944
|
const o = be(n, t, !0), u = new Date(t.getTime() - o), d = /* @__PURE__ */ new Date(0);
|
|
927
945
|
return d.setFullYear(u.getUTCFullYear(), u.getUTCMonth(), u.getUTCDate()), d.setHours(u.getUTCHours(), u.getUTCMinutes(), u.getUTCSeconds(), u.getUTCMilliseconds()), d;
|
|
928
946
|
}
|
|
929
|
-
function
|
|
930
|
-
if (typeof t == "string" && !t.match(
|
|
947
|
+
function Za(t, n, a) {
|
|
948
|
+
if (typeof t == "string" && !t.match(Nn))
|
|
931
949
|
return mt(t, { ...a, timeZone: n });
|
|
932
950
|
t = mt(t, a);
|
|
933
951
|
const o = yt(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()).getTime(), u = be(n, new Date(o));
|
|
934
952
|
return new Date(o + u);
|
|
935
953
|
}
|
|
936
|
-
function
|
|
954
|
+
function Ja(t, n) {
|
|
937
955
|
return -be(t, n);
|
|
938
956
|
}
|
|
939
957
|
var Oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ue = { exports: {} };
|
|
940
958
|
Ue.exports;
|
|
941
959
|
var nn;
|
|
942
|
-
function
|
|
960
|
+
function Qa() {
|
|
943
961
|
return nn || (nn = 1, (function(t, n) {
|
|
944
|
-
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\]$/,
|
|
962
|
+
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\]$/, q = /^(?:0|[1-9]\d*)$/, R = {};
|
|
945
963
|
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;
|
|
946
|
-
var W = typeof Oe == "object" && Oe && Oe.Object === Object && Oe, J = typeof self == "object" && self && self.Object === Object && self,
|
|
947
|
-
function
|
|
964
|
+
var W = typeof Oe == "object" && Oe && Oe.Object === Object && Oe, J = typeof self == "object" && self && self.Object === Object && self, K = W || J || Function("return this")(), _t = n && !n.nodeType && n, gt = _t && !0 && t && !t.nodeType && t, En = gt && gt.exports === _t;
|
|
965
|
+
function Pn(r, c) {
|
|
948
966
|
return r.set(c[0], c[1]), r;
|
|
949
967
|
}
|
|
950
|
-
function
|
|
968
|
+
function Ln(r, c) {
|
|
951
969
|
return r.add(c), r;
|
|
952
970
|
}
|
|
953
|
-
function
|
|
971
|
+
function Cn(r, c) {
|
|
954
972
|
for (var m = -1, M = r ? r.length : 0; ++m < M && c(r[m], m, r) !== !1; )
|
|
955
973
|
;
|
|
956
974
|
return r;
|
|
957
975
|
}
|
|
958
|
-
function
|
|
976
|
+
function On(r, c) {
|
|
959
977
|
for (var m = -1, M = c.length, B = r.length; ++m < M; )
|
|
960
978
|
r[B + m] = c[m];
|
|
961
979
|
return r;
|
|
@@ -965,12 +983,12 @@ function qa() {
|
|
|
965
983
|
m = c(m, r[B], B, r);
|
|
966
984
|
return m;
|
|
967
985
|
}
|
|
968
|
-
function
|
|
986
|
+
function Gn(r, c) {
|
|
969
987
|
for (var m = -1, M = Array(r); ++m < r; )
|
|
970
988
|
M[m] = c(m);
|
|
971
989
|
return M;
|
|
972
990
|
}
|
|
973
|
-
function
|
|
991
|
+
function In(r, c) {
|
|
974
992
|
return r?.[c];
|
|
975
993
|
}
|
|
976
994
|
function vt(r) {
|
|
@@ -999,12 +1017,12 @@ function qa() {
|
|
|
999
1017
|
m[++c] = M;
|
|
1000
1018
|
}), m;
|
|
1001
1019
|
}
|
|
1002
|
-
var
|
|
1020
|
+
var Un = Array.prototype, An = Function.prototype, Se = Object.prototype, He = K["__core-js_shared__"], Ft = (function() {
|
|
1003
1021
|
var r = /[^.]+$/.exec(He && He.keys && He.keys.IE_PROTO || "");
|
|
1004
1022
|
return r ? "Symbol(src)_1." + r : "";
|
|
1005
|
-
})(), Tt =
|
|
1023
|
+
})(), Tt = An.toString, ne = Se.hasOwnProperty, De = Se.toString, Vn = RegExp(
|
|
1006
1024
|
"^" + Tt.call(ne).replace(x, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1007
|
-
), St =
|
|
1025
|
+
), St = En ? K.Buffer : void 0, Dt = K.Symbol, kt = K.Uint8Array, Bn = ze(Object.getPrototypeOf, Object), bn = Object.create, zn = Se.propertyIsEnumerable, Hn = Un.splice, Nt = Object.getOwnPropertySymbols, Yn = St ? St.isBuffer : void 0, $n = ze(Object.keys, Object), Ye = fe(K, "DataView"), ge = fe(K, "Map"), $e = fe(K, "Promise"), je = fe(K, "Set"), qe = fe(K, "WeakMap"), we = fe(Object, "create"), jn = oe(Ye), qn = oe(ge), Kn = oe($e), Wn = oe(je), Zn = oe(qe), Rt = Dt ? Dt.prototype : void 0, Et = Rt ? Rt.valueOf : void 0;
|
|
1008
1026
|
function ae(r) {
|
|
1009
1027
|
var c = -1, m = r ? r.length : 0;
|
|
1010
1028
|
for (this.clear(); ++c < m; ) {
|
|
@@ -1012,13 +1030,13 @@ function qa() {
|
|
|
1012
1030
|
this.set(M[0], M[1]);
|
|
1013
1031
|
}
|
|
1014
1032
|
}
|
|
1015
|
-
function
|
|
1033
|
+
function Jn() {
|
|
1016
1034
|
this.__data__ = we ? we(null) : {};
|
|
1017
1035
|
}
|
|
1018
|
-
function
|
|
1036
|
+
function Qn(r) {
|
|
1019
1037
|
return this.has(r) && delete this.__data__[r];
|
|
1020
1038
|
}
|
|
1021
|
-
function
|
|
1039
|
+
function Xn(r) {
|
|
1022
1040
|
var c = this.__data__;
|
|
1023
1041
|
if (we) {
|
|
1024
1042
|
var m = c[r];
|
|
@@ -1026,15 +1044,15 @@ function qa() {
|
|
|
1026
1044
|
}
|
|
1027
1045
|
return ne.call(c, r) ? c[r] : void 0;
|
|
1028
1046
|
}
|
|
1029
|
-
function
|
|
1047
|
+
function er(r) {
|
|
1030
1048
|
var c = this.__data__;
|
|
1031
1049
|
return we ? c[r] !== void 0 : ne.call(c, r);
|
|
1032
1050
|
}
|
|
1033
|
-
function
|
|
1051
|
+
function tr(r, c) {
|
|
1034
1052
|
var m = this.__data__;
|
|
1035
1053
|
return m[r] = we && c === void 0 ? o : c, this;
|
|
1036
1054
|
}
|
|
1037
|
-
ae.prototype.clear =
|
|
1055
|
+
ae.prototype.clear = Jn, ae.prototype.delete = Qn, ae.prototype.get = Xn, ae.prototype.has = er, ae.prototype.set = tr;
|
|
1038
1056
|
function X(r) {
|
|
1039
1057
|
var c = -1, m = r ? r.length : 0;
|
|
1040
1058
|
for (this.clear(); ++c < m; ) {
|
|
@@ -1042,28 +1060,28 @@ function qa() {
|
|
|
1042
1060
|
this.set(M[0], M[1]);
|
|
1043
1061
|
}
|
|
1044
1062
|
}
|
|
1045
|
-
function
|
|
1063
|
+
function nr() {
|
|
1046
1064
|
this.__data__ = [];
|
|
1047
1065
|
}
|
|
1048
|
-
function
|
|
1066
|
+
function rr(r) {
|
|
1049
1067
|
var c = this.__data__, m = ke(c, r);
|
|
1050
1068
|
if (m < 0)
|
|
1051
1069
|
return !1;
|
|
1052
1070
|
var M = c.length - 1;
|
|
1053
|
-
return m == M ? c.pop() :
|
|
1071
|
+
return m == M ? c.pop() : Hn.call(c, m, 1), !0;
|
|
1054
1072
|
}
|
|
1055
|
-
function
|
|
1073
|
+
function ar(r) {
|
|
1056
1074
|
var c = this.__data__, m = ke(c, r);
|
|
1057
1075
|
return m < 0 ? void 0 : c[m][1];
|
|
1058
1076
|
}
|
|
1059
|
-
function
|
|
1077
|
+
function ir(r) {
|
|
1060
1078
|
return ke(this.__data__, r) > -1;
|
|
1061
1079
|
}
|
|
1062
|
-
function
|
|
1080
|
+
function or(r, c) {
|
|
1063
1081
|
var m = this.__data__, M = ke(m, r);
|
|
1064
1082
|
return M < 0 ? m.push([r, c]) : m[M][1] = c, this;
|
|
1065
1083
|
}
|
|
1066
|
-
X.prototype.clear =
|
|
1084
|
+
X.prototype.clear = nr, X.prototype.delete = rr, X.prototype.get = ar, X.prototype.has = ir, X.prototype.set = or;
|
|
1067
1085
|
function de(r) {
|
|
1068
1086
|
var c = -1, m = r ? r.length : 0;
|
|
1069
1087
|
for (this.clear(); ++c < m; ) {
|
|
@@ -1071,42 +1089,42 @@ function qa() {
|
|
|
1071
1089
|
this.set(M[0], M[1]);
|
|
1072
1090
|
}
|
|
1073
1091
|
}
|
|
1074
|
-
function
|
|
1092
|
+
function sr() {
|
|
1075
1093
|
this.__data__ = {
|
|
1076
1094
|
hash: new ae(),
|
|
1077
1095
|
map: new (ge || X)(),
|
|
1078
1096
|
string: new ae()
|
|
1079
1097
|
};
|
|
1080
1098
|
}
|
|
1081
|
-
function
|
|
1099
|
+
function lr(r) {
|
|
1082
1100
|
return Ne(this, r).delete(r);
|
|
1083
1101
|
}
|
|
1084
|
-
function
|
|
1102
|
+
function ur(r) {
|
|
1085
1103
|
return Ne(this, r).get(r);
|
|
1086
1104
|
}
|
|
1087
|
-
function
|
|
1105
|
+
function cr(r) {
|
|
1088
1106
|
return Ne(this, r).has(r);
|
|
1089
1107
|
}
|
|
1090
|
-
function
|
|
1108
|
+
function dr(r, c) {
|
|
1091
1109
|
return Ne(this, r).set(r, c), this;
|
|
1092
1110
|
}
|
|
1093
|
-
de.prototype.clear =
|
|
1111
|
+
de.prototype.clear = sr, de.prototype.delete = lr, de.prototype.get = ur, de.prototype.has = cr, de.prototype.set = dr;
|
|
1094
1112
|
function me(r) {
|
|
1095
1113
|
this.__data__ = new X(r);
|
|
1096
1114
|
}
|
|
1097
|
-
function
|
|
1115
|
+
function mr() {
|
|
1098
1116
|
this.__data__ = new X();
|
|
1099
1117
|
}
|
|
1100
|
-
function
|
|
1118
|
+
function fr(r) {
|
|
1101
1119
|
return this.__data__.delete(r);
|
|
1102
1120
|
}
|
|
1103
|
-
function
|
|
1121
|
+
function pr(r) {
|
|
1104
1122
|
return this.__data__.get(r);
|
|
1105
1123
|
}
|
|
1106
|
-
function
|
|
1124
|
+
function yr(r) {
|
|
1107
1125
|
return this.__data__.has(r);
|
|
1108
1126
|
}
|
|
1109
|
-
function
|
|
1127
|
+
function hr(r, c) {
|
|
1110
1128
|
var m = this.__data__;
|
|
1111
1129
|
if (m instanceof X) {
|
|
1112
1130
|
var M = m.__data__;
|
|
@@ -1116,11 +1134,11 @@ function qa() {
|
|
|
1116
1134
|
}
|
|
1117
1135
|
return m.set(r, c), this;
|
|
1118
1136
|
}
|
|
1119
|
-
me.prototype.clear =
|
|
1120
|
-
function
|
|
1121
|
-
var m = Ze(r) ||
|
|
1137
|
+
me.prototype.clear = mr, me.prototype.delete = fr, me.prototype.get = pr, me.prototype.has = yr, me.prototype.set = hr;
|
|
1138
|
+
function _r(r, c) {
|
|
1139
|
+
var m = Ze(r) || br(r) ? Gn(r.length, String) : [], M = m.length, B = !!M;
|
|
1122
1140
|
for (var Y in r)
|
|
1123
|
-
ne.call(r, Y) && !(B && (Y == "length" ||
|
|
1141
|
+
ne.call(r, Y) && !(B && (Y == "length" || Ur(Y, M))) && m.push(Y);
|
|
1124
1142
|
return m;
|
|
1125
1143
|
}
|
|
1126
1144
|
function Pt(r, c, m) {
|
|
@@ -1133,10 +1151,10 @@ function qa() {
|
|
|
1133
1151
|
return m;
|
|
1134
1152
|
return -1;
|
|
1135
1153
|
}
|
|
1136
|
-
function
|
|
1154
|
+
function gr(r, c) {
|
|
1137
1155
|
return r && Lt(c, Je(c), r);
|
|
1138
1156
|
}
|
|
1139
|
-
function
|
|
1157
|
+
function Ke(r, c, m, M, B, Y, ee) {
|
|
1140
1158
|
var $;
|
|
1141
1159
|
if (M && ($ = Y ? M(r, B, Y, ee) : M(r)), $ !== void 0)
|
|
1142
1160
|
return $;
|
|
@@ -1144,21 +1162,21 @@ function qa() {
|
|
|
1144
1162
|
return r;
|
|
1145
1163
|
var At = Ze(r);
|
|
1146
1164
|
if (At) {
|
|
1147
|
-
if ($ =
|
|
1148
|
-
return
|
|
1165
|
+
if ($ = Or(r), !c)
|
|
1166
|
+
return Pr(r, $);
|
|
1149
1167
|
} else {
|
|
1150
1168
|
var pe = ie(r), Vt = pe == S || pe == E;
|
|
1151
|
-
if (
|
|
1152
|
-
return
|
|
1169
|
+
if (Hr(r))
|
|
1170
|
+
return Tr(r, c);
|
|
1153
1171
|
if (pe == C || pe == d || Vt && !Y) {
|
|
1154
1172
|
if (vt(r))
|
|
1155
1173
|
return Y ? r : {};
|
|
1156
|
-
if ($ =
|
|
1157
|
-
return
|
|
1174
|
+
if ($ = Gr(Vt ? {} : r), !c)
|
|
1175
|
+
return Lr(r, gr($, r));
|
|
1158
1176
|
} else {
|
|
1159
1177
|
if (!R[pe])
|
|
1160
1178
|
return Y ? r : {};
|
|
1161
|
-
$ =
|
|
1179
|
+
$ = Ir(r, pe, Ke, c);
|
|
1162
1180
|
}
|
|
1163
1181
|
}
|
|
1164
1182
|
ee || (ee = new me());
|
|
@@ -1166,36 +1184,36 @@ function qa() {
|
|
|
1166
1184
|
if (Bt)
|
|
1167
1185
|
return Bt;
|
|
1168
1186
|
if (ee.set(r, $), !At)
|
|
1169
|
-
var bt = m ?
|
|
1170
|
-
return
|
|
1171
|
-
bt && (Ee = Qe, Qe = r[Ee]), Pt($, Ee,
|
|
1187
|
+
var bt = m ? Cr(r) : Je(r);
|
|
1188
|
+
return Cn(bt || r, function(Qe, Ee) {
|
|
1189
|
+
bt && (Ee = Qe, Qe = r[Ee]), Pt($, Ee, Ke(Qe, c, m, M, Ee, r, ee));
|
|
1172
1190
|
}), $;
|
|
1173
1191
|
}
|
|
1174
|
-
function
|
|
1175
|
-
return Re(r) ?
|
|
1192
|
+
function wr(r) {
|
|
1193
|
+
return Re(r) ? bn(r) : {};
|
|
1176
1194
|
}
|
|
1177
|
-
function
|
|
1195
|
+
function vr(r, c, m) {
|
|
1178
1196
|
var M = c(r);
|
|
1179
|
-
return Ze(r) ? M :
|
|
1197
|
+
return Ze(r) ? M : On(M, m(r));
|
|
1180
1198
|
}
|
|
1181
|
-
function
|
|
1199
|
+
function xr(r) {
|
|
1182
1200
|
return De.call(r);
|
|
1183
1201
|
}
|
|
1184
|
-
function
|
|
1185
|
-
if (!Re(r) ||
|
|
1202
|
+
function Mr(r) {
|
|
1203
|
+
if (!Re(r) || Vr(r))
|
|
1186
1204
|
return !1;
|
|
1187
|
-
var c = Ut(r) || vt(r) ?
|
|
1205
|
+
var c = Ut(r) || vt(r) ? Vn : O;
|
|
1188
1206
|
return c.test(oe(r));
|
|
1189
1207
|
}
|
|
1190
|
-
function
|
|
1208
|
+
function Fr(r) {
|
|
1191
1209
|
if (!Ot(r))
|
|
1192
|
-
return
|
|
1210
|
+
return $n(r);
|
|
1193
1211
|
var c = [];
|
|
1194
1212
|
for (var m in Object(r))
|
|
1195
1213
|
ne.call(r, m) && m != "constructor" && c.push(m);
|
|
1196
1214
|
return c;
|
|
1197
1215
|
}
|
|
1198
|
-
function
|
|
1216
|
+
function Tr(r, c) {
|
|
1199
1217
|
if (c)
|
|
1200
1218
|
return r.slice();
|
|
1201
1219
|
var m = new r.constructor(r.length);
|
|
@@ -1205,30 +1223,30 @@ function qa() {
|
|
|
1205
1223
|
var c = new r.constructor(r.byteLength);
|
|
1206
1224
|
return new kt(c).set(new kt(r)), c;
|
|
1207
1225
|
}
|
|
1208
|
-
function
|
|
1226
|
+
function Sr(r, c) {
|
|
1209
1227
|
var m = c ? We(r.buffer) : r.buffer;
|
|
1210
1228
|
return new r.constructor(m, r.byteOffset, r.byteLength);
|
|
1211
1229
|
}
|
|
1212
|
-
function
|
|
1230
|
+
function Dr(r, c, m) {
|
|
1213
1231
|
var M = c ? m(xt(r), !0) : xt(r);
|
|
1214
|
-
return wt(M,
|
|
1232
|
+
return wt(M, Pn, new r.constructor());
|
|
1215
1233
|
}
|
|
1216
|
-
function
|
|
1234
|
+
function kr(r) {
|
|
1217
1235
|
var c = new r.constructor(r.source, k.exec(r));
|
|
1218
1236
|
return c.lastIndex = r.lastIndex, c;
|
|
1219
1237
|
}
|
|
1220
|
-
function
|
|
1238
|
+
function Nr(r, c, m) {
|
|
1221
1239
|
var M = c ? m(Mt(r), !0) : Mt(r);
|
|
1222
|
-
return wt(M,
|
|
1240
|
+
return wt(M, Ln, new r.constructor());
|
|
1223
1241
|
}
|
|
1224
|
-
function
|
|
1242
|
+
function Rr(r) {
|
|
1225
1243
|
return Et ? Object(Et.call(r)) : {};
|
|
1226
1244
|
}
|
|
1227
|
-
function
|
|
1245
|
+
function Er(r, c) {
|
|
1228
1246
|
var m = c ? We(r.buffer) : r.buffer;
|
|
1229
1247
|
return new r.constructor(m, r.byteOffset, r.length);
|
|
1230
1248
|
}
|
|
1231
|
-
function
|
|
1249
|
+
function Pr(r, c) {
|
|
1232
1250
|
var m = -1, M = r.length;
|
|
1233
1251
|
for (c || (c = Array(M)); ++m < M; )
|
|
1234
1252
|
c[m] = r[m];
|
|
@@ -1242,46 +1260,46 @@ function qa() {
|
|
|
1242
1260
|
}
|
|
1243
1261
|
return m;
|
|
1244
1262
|
}
|
|
1245
|
-
function
|
|
1263
|
+
function Lr(r, c) {
|
|
1246
1264
|
return Lt(r, Ct(r), c);
|
|
1247
1265
|
}
|
|
1248
|
-
function
|
|
1249
|
-
return
|
|
1266
|
+
function Cr(r) {
|
|
1267
|
+
return vr(r, Je, Ct);
|
|
1250
1268
|
}
|
|
1251
1269
|
function Ne(r, c) {
|
|
1252
1270
|
var m = r.__data__;
|
|
1253
|
-
return
|
|
1271
|
+
return Ar(c) ? m[typeof c == "string" ? "string" : "hash"] : m.map;
|
|
1254
1272
|
}
|
|
1255
1273
|
function fe(r, c) {
|
|
1256
|
-
var m =
|
|
1257
|
-
return
|
|
1274
|
+
var m = In(r, c);
|
|
1275
|
+
return Mr(m) ? m : void 0;
|
|
1258
1276
|
}
|
|
1259
|
-
var Ct = Nt ? ze(Nt, Object) :
|
|
1260
|
-
(Ye && ie(new Ye(new ArrayBuffer(1))) != f || ge && ie(new ge()) != F || $e && ie($e.resolve()) != P || je && ie(new je()) != A ||
|
|
1277
|
+
var Ct = Nt ? ze(Nt, Object) : jr, ie = xr;
|
|
1278
|
+
(Ye && ie(new Ye(new ArrayBuffer(1))) != f || ge && ie(new ge()) != F || $e && ie($e.resolve()) != P || je && ie(new je()) != A || qe && ie(new qe()) != z) && (ie = function(r) {
|
|
1261
1279
|
var c = De.call(r), m = c == C ? r.constructor : void 0, M = m ? oe(m) : void 0;
|
|
1262
1280
|
if (M)
|
|
1263
1281
|
switch (M) {
|
|
1264
|
-
case $n:
|
|
1265
|
-
return f;
|
|
1266
1282
|
case jn:
|
|
1283
|
+
return f;
|
|
1284
|
+
case qn:
|
|
1267
1285
|
return F;
|
|
1268
1286
|
case Kn:
|
|
1269
1287
|
return P;
|
|
1270
|
-
case qn:
|
|
1271
|
-
return A;
|
|
1272
1288
|
case Wn:
|
|
1289
|
+
return A;
|
|
1290
|
+
case Zn:
|
|
1273
1291
|
return z;
|
|
1274
1292
|
}
|
|
1275
1293
|
return c;
|
|
1276
1294
|
});
|
|
1277
|
-
function
|
|
1295
|
+
function Or(r) {
|
|
1278
1296
|
var c = r.length, m = r.constructor(c);
|
|
1279
1297
|
return c && typeof r[0] == "string" && ne.call(r, "index") && (m.index = r.index, m.input = r.input), m;
|
|
1280
1298
|
}
|
|
1281
|
-
function
|
|
1282
|
-
return typeof r.constructor == "function" && !Ot(r) ?
|
|
1299
|
+
function Gr(r) {
|
|
1300
|
+
return typeof r.constructor == "function" && !Ot(r) ? wr(Bn(r)) : {};
|
|
1283
1301
|
}
|
|
1284
|
-
function
|
|
1302
|
+
function Ir(r, c, m, M) {
|
|
1285
1303
|
var B = r.constructor;
|
|
1286
1304
|
switch (c) {
|
|
1287
1305
|
case b:
|
|
@@ -1290,7 +1308,7 @@ function qa() {
|
|
|
1290
1308
|
case T:
|
|
1291
1309
|
return new B(+r);
|
|
1292
1310
|
case f:
|
|
1293
|
-
return
|
|
1311
|
+
return Sr(r, M);
|
|
1294
1312
|
case _:
|
|
1295
1313
|
case s:
|
|
1296
1314
|
case p:
|
|
@@ -1300,28 +1318,28 @@ function qa() {
|
|
|
1300
1318
|
case i:
|
|
1301
1319
|
case l:
|
|
1302
1320
|
case w:
|
|
1303
|
-
return
|
|
1321
|
+
return Er(r, M);
|
|
1304
1322
|
case F:
|
|
1305
|
-
return
|
|
1323
|
+
return Dr(r, M, m);
|
|
1306
1324
|
case G:
|
|
1307
1325
|
case I:
|
|
1308
1326
|
return new B(r);
|
|
1309
1327
|
case L:
|
|
1310
|
-
return
|
|
1328
|
+
return kr(r);
|
|
1311
1329
|
case A:
|
|
1312
|
-
return
|
|
1330
|
+
return Nr(r, M, m);
|
|
1313
1331
|
case U:
|
|
1314
|
-
return
|
|
1332
|
+
return Rr(r);
|
|
1315
1333
|
}
|
|
1316
1334
|
}
|
|
1317
|
-
function
|
|
1318
|
-
return c = c ?? u, !!c && (typeof r == "number" ||
|
|
1335
|
+
function Ur(r, c) {
|
|
1336
|
+
return c = c ?? u, !!c && (typeof r == "number" || q.test(r)) && r > -1 && r % 1 == 0 && r < c;
|
|
1319
1337
|
}
|
|
1320
|
-
function
|
|
1338
|
+
function Ar(r) {
|
|
1321
1339
|
var c = typeof r;
|
|
1322
1340
|
return c == "string" || c == "number" || c == "symbol" || c == "boolean" ? r !== "__proto__" : r === null;
|
|
1323
1341
|
}
|
|
1324
|
-
function
|
|
1342
|
+
function Vr(r) {
|
|
1325
1343
|
return !!Ft && Ft in r;
|
|
1326
1344
|
}
|
|
1327
1345
|
function Ot(r) {
|
|
@@ -1341,51 +1359,51 @@ function qa() {
|
|
|
1341
1359
|
}
|
|
1342
1360
|
return "";
|
|
1343
1361
|
}
|
|
1344
|
-
function
|
|
1345
|
-
return
|
|
1362
|
+
function Br(r) {
|
|
1363
|
+
return Ke(r, !0, !0);
|
|
1346
1364
|
}
|
|
1347
1365
|
function Gt(r, c) {
|
|
1348
1366
|
return r === c || r !== r && c !== c;
|
|
1349
1367
|
}
|
|
1350
|
-
function
|
|
1351
|
-
return
|
|
1368
|
+
function br(r) {
|
|
1369
|
+
return zr(r) && ne.call(r, "callee") && (!zn.call(r, "callee") || De.call(r) == d);
|
|
1352
1370
|
}
|
|
1353
1371
|
var Ze = Array.isArray;
|
|
1354
1372
|
function It(r) {
|
|
1355
|
-
return r != null &&
|
|
1373
|
+
return r != null && Yr(r.length) && !Ut(r);
|
|
1356
1374
|
}
|
|
1357
|
-
function
|
|
1358
|
-
return
|
|
1375
|
+
function zr(r) {
|
|
1376
|
+
return $r(r) && It(r);
|
|
1359
1377
|
}
|
|
1360
|
-
var
|
|
1378
|
+
var Hr = Yn || qr;
|
|
1361
1379
|
function Ut(r) {
|
|
1362
1380
|
var c = Re(r) ? De.call(r) : "";
|
|
1363
1381
|
return c == S || c == E;
|
|
1364
1382
|
}
|
|
1365
|
-
function
|
|
1383
|
+
function Yr(r) {
|
|
1366
1384
|
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= u;
|
|
1367
1385
|
}
|
|
1368
1386
|
function Re(r) {
|
|
1369
1387
|
var c = typeof r;
|
|
1370
1388
|
return !!r && (c == "object" || c == "function");
|
|
1371
1389
|
}
|
|
1372
|
-
function
|
|
1390
|
+
function $r(r) {
|
|
1373
1391
|
return !!r && typeof r == "object";
|
|
1374
1392
|
}
|
|
1375
1393
|
function Je(r) {
|
|
1376
|
-
return It(r) ?
|
|
1394
|
+
return It(r) ? _r(r) : Fr(r);
|
|
1377
1395
|
}
|
|
1378
|
-
function
|
|
1396
|
+
function jr() {
|
|
1379
1397
|
return [];
|
|
1380
1398
|
}
|
|
1381
|
-
function
|
|
1399
|
+
function qr() {
|
|
1382
1400
|
return !1;
|
|
1383
1401
|
}
|
|
1384
|
-
t.exports =
|
|
1402
|
+
t.exports = Br;
|
|
1385
1403
|
})(Ue, Ue.exports)), Ue.exports;
|
|
1386
1404
|
}
|
|
1387
|
-
|
|
1388
|
-
const Z = (t, n) => new Date(t.getTime() -
|
|
1405
|
+
Qa();
|
|
1406
|
+
const Z = (t, n) => new Date(t.getTime() - Ja(n, t));
|
|
1389
1407
|
class V {
|
|
1390
1408
|
timeframeText;
|
|
1391
1409
|
key;
|
|
@@ -1455,11 +1473,11 @@ class V {
|
|
|
1455
1473
|
tzAdjustedDate(n) {
|
|
1456
1474
|
if (!n)
|
|
1457
1475
|
return /* @__PURE__ */ new Date();
|
|
1458
|
-
const a =
|
|
1459
|
-
return
|
|
1476
|
+
const a = Za(/* @__PURE__ */ new Date(), new Intl.DateTimeFormat().resolvedOptions().timeZone);
|
|
1477
|
+
return Wa(a, n);
|
|
1460
1478
|
}
|
|
1461
1479
|
}
|
|
1462
|
-
class
|
|
1480
|
+
class Xa extends V {
|
|
1463
1481
|
rawStart(n) {
|
|
1464
1482
|
let a = Be(this.tzAdjustedDate(n), { weekStartsOn: 1 });
|
|
1465
1483
|
return n && (a = Z(a, n)), a;
|
|
@@ -1468,7 +1486,7 @@ class Wa extends V {
|
|
|
1468
1486
|
return 3600 * 24 * 7;
|
|
1469
1487
|
}
|
|
1470
1488
|
}
|
|
1471
|
-
class
|
|
1489
|
+
class ei extends V {
|
|
1472
1490
|
rawStart(n) {
|
|
1473
1491
|
let a = he(this.tzAdjustedDate(n));
|
|
1474
1492
|
return n && (a = Z(a, n)), a;
|
|
@@ -1477,7 +1495,7 @@ class Za extends V {
|
|
|
1477
1495
|
return 3600 * 24 * 31;
|
|
1478
1496
|
}
|
|
1479
1497
|
}
|
|
1480
|
-
class
|
|
1498
|
+
class ti extends V {
|
|
1481
1499
|
rawStart(n) {
|
|
1482
1500
|
let a = ye(this.tzAdjustedDate(n));
|
|
1483
1501
|
return n && (a = Z(a, n)), a;
|
|
@@ -1486,7 +1504,7 @@ class Ja extends V {
|
|
|
1486
1504
|
return 3600 * 24 * 92;
|
|
1487
1505
|
}
|
|
1488
1506
|
}
|
|
1489
|
-
class
|
|
1507
|
+
class ni extends V {
|
|
1490
1508
|
rawStart(n) {
|
|
1491
1509
|
let a = new Date(this.tzAdjustedDate(n).getFullYear(), 0, 1);
|
|
1492
1510
|
return n && (a = Z(a, n)), a;
|
|
@@ -1495,7 +1513,7 @@ class Qa extends V {
|
|
|
1495
1513
|
return 3600 * 24 * 366;
|
|
1496
1514
|
}
|
|
1497
1515
|
}
|
|
1498
|
-
class
|
|
1516
|
+
class ri extends V {
|
|
1499
1517
|
rawEnd(n) {
|
|
1500
1518
|
let a = Be(this.tzAdjustedDate(n), { weekStartsOn: 1 });
|
|
1501
1519
|
return n && (a = Z(a, n)), a;
|
|
@@ -1508,27 +1526,27 @@ class Xa extends V {
|
|
|
1508
1526
|
return n && (o = Z(o, n)), o;
|
|
1509
1527
|
}
|
|
1510
1528
|
}
|
|
1511
|
-
class
|
|
1529
|
+
class ai extends V {
|
|
1512
1530
|
rawEnd(n) {
|
|
1513
1531
|
let a = ye(this.tzAdjustedDate(n));
|
|
1514
1532
|
return n && (a = Z(a, n)), a;
|
|
1515
1533
|
}
|
|
1516
1534
|
rawStart(n) {
|
|
1517
|
-
let a = ye(
|
|
1535
|
+
let a = ye(kn(this.tzAdjustedDate(n)));
|
|
1518
1536
|
return n && (a = Z(a, n)), a;
|
|
1519
1537
|
}
|
|
1520
1538
|
}
|
|
1521
|
-
class
|
|
1539
|
+
class ii extends V {
|
|
1522
1540
|
rawEnd(n) {
|
|
1523
1541
|
let a = he(this.tzAdjustedDate(n));
|
|
1524
1542
|
return n && (a = Z(a, n)), a;
|
|
1525
1543
|
}
|
|
1526
1544
|
rawStart(n) {
|
|
1527
|
-
let a = he(
|
|
1545
|
+
let a = he(Dn(this.tzAdjustedDate(n)));
|
|
1528
1546
|
return n && (a = Z(a, n)), a;
|
|
1529
1547
|
}
|
|
1530
1548
|
}
|
|
1531
|
-
class
|
|
1549
|
+
class oi extends V {
|
|
1532
1550
|
rawEnd(n) {
|
|
1533
1551
|
let a = new Date(this.tzAdjustedDate(n).getFullYear(), 0, 1);
|
|
1534
1552
|
return n && (a = Z(a, n)), a;
|
|
@@ -1648,7 +1666,7 @@ v.FIFTEEN_MIN, new V({
|
|
|
1648
1666
|
fineGrainedDefaultGranularity: "daily",
|
|
1649
1667
|
allowedTiers: ["trial", "plus", "enterprise"],
|
|
1650
1668
|
allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
|
|
1651
|
-
}), v.CURRENT_WEEK, new
|
|
1669
|
+
}), v.CURRENT_WEEK, new Xa({
|
|
1652
1670
|
key: v.CURRENT_WEEK,
|
|
1653
1671
|
display: "This week",
|
|
1654
1672
|
timeframeText: "Week",
|
|
@@ -1662,7 +1680,7 @@ v.FIFTEEN_MIN, new V({
|
|
|
1662
1680
|
fineGrainedDefaultGranularity: "twoHourly",
|
|
1663
1681
|
allowedTiers: ["plus", "enterprise"],
|
|
1664
1682
|
allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
|
|
1665
|
-
}), v.CURRENT_MONTH, new
|
|
1683
|
+
}), v.CURRENT_MONTH, new ei({
|
|
1666
1684
|
key: v.CURRENT_MONTH,
|
|
1667
1685
|
display: "This month",
|
|
1668
1686
|
timeframeText: "Month",
|
|
@@ -1674,7 +1692,7 @@ v.FIFTEEN_MIN, new V({
|
|
|
1674
1692
|
dataGranularity: "daily",
|
|
1675
1693
|
isRelative: !1,
|
|
1676
1694
|
allowedTiers: ["plus", "enterprise"]
|
|
1677
|
-
}), v.CURRENT_QUARTER, new
|
|
1695
|
+
}), v.CURRENT_QUARTER, new ti({
|
|
1678
1696
|
key: v.CURRENT_QUARTER,
|
|
1679
1697
|
display: "This quarter",
|
|
1680
1698
|
timeframeText: "Quarter",
|
|
@@ -1686,7 +1704,7 @@ v.FIFTEEN_MIN, new V({
|
|
|
1686
1704
|
dataGranularity: "daily",
|
|
1687
1705
|
isRelative: !1,
|
|
1688
1706
|
allowedTiers: ["plus", "enterprise"]
|
|
1689
|
-
}), v.CURRENT_YEAR, new
|
|
1707
|
+
}), v.CURRENT_YEAR, new ni({
|
|
1690
1708
|
key: v.CURRENT_YEAR,
|
|
1691
1709
|
display: "This year",
|
|
1692
1710
|
timeframeText: "Year",
|
|
@@ -1698,7 +1716,7 @@ v.FIFTEEN_MIN, new V({
|
|
|
1698
1716
|
dataGranularity: "daily",
|
|
1699
1717
|
isRelative: !1,
|
|
1700
1718
|
allowedTiers: ["plus", "enterprise"]
|
|
1701
|
-
}), v.PREVIOUS_WEEK, new
|
|
1719
|
+
}), v.PREVIOUS_WEEK, new ri({
|
|
1702
1720
|
key: v.PREVIOUS_WEEK,
|
|
1703
1721
|
display: "Previous week",
|
|
1704
1722
|
timeframeText: "Week",
|
|
@@ -1709,32 +1727,32 @@ v.FIFTEEN_MIN, new V({
|
|
|
1709
1727
|
fineGrainedDefaultGranularity: "twoHourly",
|
|
1710
1728
|
allowedTiers: ["plus", "enterprise"],
|
|
1711
1729
|
allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
|
|
1712
|
-
}), v.PREVIOUS_MONTH, new
|
|
1730
|
+
}), v.PREVIOUS_MONTH, new ii({
|
|
1713
1731
|
key: v.PREVIOUS_MONTH,
|
|
1714
1732
|
display: "Previous month",
|
|
1715
1733
|
timeframeText: "Month",
|
|
1716
1734
|
timeframeLength: () => {
|
|
1717
1735
|
let t = 0;
|
|
1718
|
-
const n = he(/* @__PURE__ */ new Date()), a = he(
|
|
1719
|
-
return n.getTimezoneOffset() !== a.getTimezoneOffset() && (t = rn(n, a)), 3600 * 24 *
|
|
1736
|
+
const n = he(/* @__PURE__ */ new Date()), a = he(Dn(/* @__PURE__ */ new Date()));
|
|
1737
|
+
return n.getTimezoneOffset() !== a.getTimezoneOffset() && (t = rn(n, a)), 3600 * 24 * Ra((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + jt(t);
|
|
1720
1738
|
},
|
|
1721
1739
|
defaultResponseGranularity: "daily",
|
|
1722
1740
|
dataGranularity: "daily",
|
|
1723
1741
|
isRelative: !1,
|
|
1724
1742
|
allowedTiers: ["plus", "enterprise"]
|
|
1725
|
-
}), v.PREVIOUS_QUARTER, new
|
|
1743
|
+
}), v.PREVIOUS_QUARTER, new ai({
|
|
1726
1744
|
key: v.PREVIOUS_QUARTER,
|
|
1727
1745
|
display: "Previous quarter",
|
|
1728
1746
|
timeframeText: "Quarter",
|
|
1729
1747
|
timeframeLength: () => {
|
|
1730
|
-
const t = ye(/* @__PURE__ */ new Date()), n = ye(
|
|
1748
|
+
const t = ye(/* @__PURE__ */ new Date()), n = ye(kn(/* @__PURE__ */ new Date()));
|
|
1731
1749
|
return (t.getTime() - n.getTime()) / 1e3;
|
|
1732
1750
|
},
|
|
1733
1751
|
defaultResponseGranularity: "daily",
|
|
1734
1752
|
dataGranularity: "daily",
|
|
1735
1753
|
isRelative: !1,
|
|
1736
1754
|
allowedTiers: ["plus", "enterprise"]
|
|
1737
|
-
}), v.PREVIOUS_YEAR, new
|
|
1755
|
+
}), v.PREVIOUS_YEAR, new oi({
|
|
1738
1756
|
key: v.PREVIOUS_YEAR,
|
|
1739
1757
|
display: "Previous year",
|
|
1740
1758
|
timeframeText: "Year",
|
|
@@ -1749,11 +1767,11 @@ v.FIFTEEN_MIN, new V({
|
|
|
1749
1767
|
allowedTiers: ["plus", "enterprise"]
|
|
1750
1768
|
});
|
|
1751
1769
|
function rn(t, n) {
|
|
1752
|
-
return
|
|
1770
|
+
return Ea(t.getTimezoneOffset() - n.getTimezoneOffset());
|
|
1753
1771
|
}
|
|
1754
1772
|
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;
|
|
1755
1773
|
new Map(pt.map((t) => [t.code, { code: t.code, name: t.name }]));
|
|
1756
|
-
const an = 1e3,
|
|
1774
|
+
const an = 1e3, si = 1e4, on = 1e6, sn = 1e9, ln = 1e12, Ae = (t, n) => {
|
|
1757
1775
|
if (n.separator === !1 || t < 1e3)
|
|
1758
1776
|
return t.toString();
|
|
1759
1777
|
const a = typeof n.separator == "string" ? n.separator : ",", o = [];
|
|
@@ -1773,12 +1791,12 @@ function Ve(t, n = {}) {
|
|
|
1773
1791
|
let a;
|
|
1774
1792
|
const o = t < 0;
|
|
1775
1793
|
o && (t = Math.abs(t)), n.precision && (t = parseFloat(t.toPrecision(n.precision)));
|
|
1776
|
-
const u = n.min10k ?
|
|
1794
|
+
const u = n.min10k ? si : an;
|
|
1777
1795
|
return t < u || n.precision && n.precision > Math.log10(t) ? a = Ae(xe(t, 1, n), n) : t < on ? a = `${xe(t, an, n)}k` : t < sn ? a = `${xe(t, on, n)}m` : t < ln ? a = `${Ae(xe(t, sn, n), n)}b` : a = `${Ae(xe(t, ln, n), n)}t`, o && (a = `-${a}`), n.capital && (a = a.toUpperCase()), n.prefix && (a = `${n.prefix}${a}`), n.suffix && (a = `${a}${n.suffix}`), a;
|
|
1778
1796
|
}
|
|
1779
1797
|
Ve.addCommas = Ae;
|
|
1780
|
-
const
|
|
1781
|
-
function
|
|
1798
|
+
const li = typeof document < "u" && document.documentElement?.lang || "en-US", at = new Intl.NumberFormat(li);
|
|
1799
|
+
function ui({
|
|
1782
1800
|
i18n: t
|
|
1783
1801
|
}) {
|
|
1784
1802
|
const n = (o, u) => {
|
|
@@ -1843,11 +1861,11 @@ function ii({
|
|
|
1843
1861
|
return `${E} - ${F} ${S}`;
|
|
1844
1862
|
} };
|
|
1845
1863
|
}
|
|
1846
|
-
function
|
|
1864
|
+
function ci(t) {
|
|
1847
1865
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
1848
1866
|
}
|
|
1849
1867
|
var Ge = {}, it, un;
|
|
1850
|
-
function
|
|
1868
|
+
function di() {
|
|
1851
1869
|
if (un) return it;
|
|
1852
1870
|
un = 1, it = h;
|
|
1853
1871
|
var t, n, a, o, u, d = 1e6, y = {
|
|
@@ -1984,7 +2002,7 @@ function si() {
|
|
|
1984
2002
|
return it;
|
|
1985
2003
|
}
|
|
1986
2004
|
var ot, cn;
|
|
1987
|
-
function
|
|
2005
|
+
function mi() {
|
|
1988
2006
|
if (cn) return ot;
|
|
1989
2007
|
cn = 1, ot = y;
|
|
1990
2008
|
var t, n, a, o, u, d = [
|
|
@@ -2073,12 +2091,12 @@ function li() {
|
|
|
2073
2091
|
return ot;
|
|
2074
2092
|
}
|
|
2075
2093
|
var dn;
|
|
2076
|
-
function
|
|
2077
|
-
return dn || (dn = 1, Ge.encode =
|
|
2094
|
+
function fi() {
|
|
2095
|
+
return dn || (dn = 1, Ge.encode = di(), Ge.decode = mi()), Ge;
|
|
2078
2096
|
}
|
|
2079
|
-
var
|
|
2097
|
+
var pi = fi(), Ie = {};
|
|
2080
2098
|
var mn;
|
|
2081
|
-
function
|
|
2099
|
+
function yi() {
|
|
2082
2100
|
return mn || (mn = 1, Ie.read = function(t, n, a, o, u) {
|
|
2083
2101
|
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];
|
|
2084
2102
|
for (E += F, d = G & (1 << -S) - 1, G >>= -S, S += h; S > 0; d = d * 256 + t[n + E], E += F, S -= 8)
|
|
@@ -2103,10 +2121,10 @@ function di() {
|
|
|
2103
2121
|
}), Ie;
|
|
2104
2122
|
}
|
|
2105
2123
|
var st, fn;
|
|
2106
|
-
function
|
|
2124
|
+
function hi() {
|
|
2107
2125
|
if (fn) return st;
|
|
2108
2126
|
fn = 1, st = n;
|
|
2109
|
-
var t =
|
|
2127
|
+
var t = yi();
|
|
2110
2128
|
function n(e) {
|
|
2111
2129
|
this.buf = ArrayBuffer.isView && ArrayBuffer.isView(e) ? e : new Uint8Array(e || 0), this.pos = 0, this.type = 0, this.length = this.buf.length;
|
|
2112
2130
|
}
|
|
@@ -2433,10 +2451,10 @@ function mi() {
|
|
|
2433
2451
|
}
|
|
2434
2452
|
function p(e, i, l) {
|
|
2435
2453
|
for (var w = "", x = i; x < l; ) {
|
|
2436
|
-
var k = e[x], O = null,
|
|
2437
|
-
if (x +
|
|
2454
|
+
var k = e[x], O = null, q = k > 239 ? 4 : k > 223 ? 3 : k > 191 ? 2 : 1;
|
|
2455
|
+
if (x + q > l) break;
|
|
2438
2456
|
var R, W, J;
|
|
2439
|
-
|
|
2457
|
+
q === 1 ? k < 128 && (O = k) : q === 2 ? (R = e[x + 1], (R & 192) === 128 && (O = (k & 31) << 6 | R & 63, O <= 127 && (O = null))) : q === 3 ? (R = e[x + 1], W = e[x + 2], (R & 192) === 128 && (W & 192) === 128 && (O = (k & 15) << 12 | (R & 63) << 6 | W & 63, (O <= 2047 || O >= 55296 && O <= 57343) && (O = null))) : q === 4 && (R = e[x + 1], W = e[x + 2], J = e[x + 3], (R & 192) === 128 && (W & 192) === 128 && (J & 192) === 128 && (O = (k & 15) << 18 | (R & 63) << 12 | (W & 63) << 6 | J & 63, (O <= 65535 || O >= 1114112) && (O = null))), O === null ? (O = 65533, q = 1) : O > 65535 && (O -= 65536, w += String.fromCharCode(O >>> 10 & 1023 | 55296), O = 56320 | O & 1023), w += String.fromCharCode(O), x += q;
|
|
2440
2458
|
}
|
|
2441
2459
|
return w;
|
|
2442
2460
|
}
|
|
@@ -2463,19 +2481,19 @@ function mi() {
|
|
|
2463
2481
|
}
|
|
2464
2482
|
return st;
|
|
2465
2483
|
}
|
|
2466
|
-
var
|
|
2467
|
-
const
|
|
2468
|
-
metricUnits:
|
|
2469
|
-
metrics:
|
|
2470
|
-
cooperative_gestures:
|
|
2471
|
-
no_location_data:
|
|
2472
|
-
no_location_data_description:
|
|
2484
|
+
var _i = hi();
|
|
2485
|
+
const gi = /* @__PURE__ */ ci(_i), pn = "#ffffff", yn = "#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 = {
|
|
2486
|
+
metricUnits: xi,
|
|
2487
|
+
metrics: Mi,
|
|
2488
|
+
cooperative_gestures: Fi,
|
|
2489
|
+
no_location_data: Ti,
|
|
2490
|
+
no_location_data_description: Si
|
|
2473
2491
|
};
|
|
2474
|
-
function
|
|
2475
|
-
const t =
|
|
2492
|
+
function ki() {
|
|
2493
|
+
const t = oa("en-us", Di);
|
|
2476
2494
|
return {
|
|
2477
2495
|
i18n: t,
|
|
2478
|
-
i18nT:
|
|
2496
|
+
i18nT: sa(t)
|
|
2479
2497
|
// Translation component <i18n-t>
|
|
2480
2498
|
};
|
|
2481
2499
|
}
|
|
@@ -2485,7 +2503,7 @@ const hn = 5, lt = [
|
|
|
2485
2503
|
"#00c8f4",
|
|
2486
2504
|
"#67e3ff",
|
|
2487
2505
|
"#b3f1ff"
|
|
2488
|
-
],
|
|
2506
|
+
], Ni = (t, n) => {
|
|
2489
2507
|
const a = t.length;
|
|
2490
2508
|
if (!a)
|
|
2491
2509
|
return NaN;
|
|
@@ -2497,7 +2515,7 @@ const hn = 5, lt = [
|
|
|
2497
2515
|
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;
|
|
2498
2516
|
return Array.from({ length: n }, (h, T) => o + T * d).map((h) => Math.exp(h)).reverse();
|
|
2499
2517
|
};
|
|
2500
|
-
function
|
|
2518
|
+
function Ri({
|
|
2501
2519
|
countryMetrics: t,
|
|
2502
2520
|
metric: n,
|
|
2503
2521
|
unit: a,
|
|
@@ -2511,7 +2529,7 @@ function Si({
|
|
|
2511
2529
|
}), h = j(() => Object.values(y.value)), T = j(() => Object.keys(y.value).length), N = j(() => T.value < hn - 1 ? T.value : hn), S = j(() => !n.value?.includes("latency")), E = j(() => {
|
|
2512
2530
|
const C = [];
|
|
2513
2531
|
if (h.value.length > 10) {
|
|
2514
|
-
const P = [...h.value].sort((b, f) => b - f), L =
|
|
2532
|
+
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 = ut(A, 3), z = ut(I, 2);
|
|
2515
2533
|
return C.push(...U, ...z), C;
|
|
2516
2534
|
}
|
|
2517
2535
|
return ut(h.value, N.value);
|
|
@@ -2549,10 +2567,10 @@ function Si({
|
|
|
2549
2567
|
scale: E
|
|
2550
2568
|
};
|
|
2551
2569
|
}
|
|
2552
|
-
function
|
|
2570
|
+
function Ei({
|
|
2553
2571
|
unit: t
|
|
2554
2572
|
}) {
|
|
2555
|
-
const { i18n: n } = Fe.useI18n(), { formatUnit: a, formatRange: o } =
|
|
2573
|
+
const { i18n: n } = Fe.useI18n(), { formatUnit: a, formatRange: o } = ui({ i18n: n });
|
|
2556
2574
|
return {
|
|
2557
2575
|
formatMetric: (y, {
|
|
2558
2576
|
showUnit: h = !0,
|
|
@@ -2571,10 +2589,10 @@ function Di({
|
|
|
2571
2589
|
};
|
|
2572
2590
|
}
|
|
2573
2591
|
const Fe = {
|
|
2574
|
-
useI18n:
|
|
2575
|
-
useLegendScale:
|
|
2576
|
-
useMetricFormat:
|
|
2577
|
-
},
|
|
2592
|
+
useI18n: ki,
|
|
2593
|
+
useLegendScale: Ri,
|
|
2594
|
+
useMetricFormat: Ei
|
|
2595
|
+
}, to = (t) => {
|
|
2578
2596
|
if (!t || !t.data)
|
|
2579
2597
|
return {};
|
|
2580
2598
|
const n = {}, a = t.data;
|
|
@@ -2585,7 +2603,7 @@ const Fe = {
|
|
|
2585
2603
|
}
|
|
2586
2604
|
return n;
|
|
2587
2605
|
};
|
|
2588
|
-
function
|
|
2606
|
+
function Pi(t, n = 0) {
|
|
2589
2607
|
let a = null;
|
|
2590
2608
|
return (...o) => {
|
|
2591
2609
|
a && clearTimeout(a), a = setTimeout(() => t(...o), n);
|
|
@@ -2603,10 +2621,10 @@ const ct = (t) => {
|
|
|
2603
2621
|
emptyCountryFill: o("--kui-color-background-neutral-weaker", yn),
|
|
2604
2622
|
waterFill: o("--kui-color-background", pn)
|
|
2605
2623
|
};
|
|
2606
|
-
},
|
|
2624
|
+
}, Li = { class: "legend" }, Ci = {
|
|
2607
2625
|
key: 0,
|
|
2608
2626
|
class: "legend-title"
|
|
2609
|
-
},
|
|
2627
|
+
}, Oi = { class: "legend-text" }, Gi = /* @__PURE__ */ ft({
|
|
2610
2628
|
__name: "MapLegend",
|
|
2611
2629
|
props: {
|
|
2612
2630
|
metric: {},
|
|
@@ -2614,17 +2632,17 @@ const ct = (t) => {
|
|
|
2614
2632
|
data: {}
|
|
2615
2633
|
},
|
|
2616
2634
|
setup(t) {
|
|
2617
|
-
return (n, a) => (Q(), re("div",
|
|
2618
|
-
t.metric ? (Q(), re("div",
|
|
2619
|
-
(Q(!0), re(Kr, null,
|
|
2635
|
+
return (n, a) => (Q(), re("div", Li, [
|
|
2636
|
+
t.metric ? (Q(), re("div", Ci, _e(t.title), 1)) : Me("", !0),
|
|
2637
|
+
(Q(!0), re(Kr, null, Wr(t.data, (o, u) => (Q(), re("div", {
|
|
2620
2638
|
key: u,
|
|
2621
2639
|
class: "legend-item"
|
|
2622
2640
|
}, [
|
|
2623
2641
|
te("span", {
|
|
2624
2642
|
class: "legend-color",
|
|
2625
|
-
style:
|
|
2643
|
+
style: Zr({ backgroundColor: o.color })
|
|
2626
2644
|
}, null, 4),
|
|
2627
|
-
te("span",
|
|
2645
|
+
te("span", Oi, _e(o.range), 1)
|
|
2628
2646
|
]))), 128))
|
|
2629
2647
|
]));
|
|
2630
2648
|
}
|
|
@@ -2633,7 +2651,7 @@ const ct = (t) => {
|
|
|
2633
2651
|
for (const [o, u] of n)
|
|
2634
2652
|
a[o] = u;
|
|
2635
2653
|
return a;
|
|
2636
|
-
},
|
|
2654
|
+
}, Ii = /* @__PURE__ */ ht(Gi, [["__scopeId", "data-v-2858aa0d"]]), Ui = { class: "map-tooltip" }, Ai = { class: "map-tooltip-text" }, Vi = { key: 0 }, Bi = /* @__PURE__ */ ft({
|
|
2637
2655
|
__name: "MapTooltip",
|
|
2638
2656
|
props: {
|
|
2639
2657
|
data: {},
|
|
@@ -2642,25 +2660,25 @@ const ct = (t) => {
|
|
|
2642
2660
|
left: {}
|
|
2643
2661
|
},
|
|
2644
2662
|
setup(t) {
|
|
2645
|
-
return
|
|
2663
|
+
return Jr((n) => ({
|
|
2646
2664
|
v75a0a274: n.left,
|
|
2647
2665
|
v144f4294: n.top,
|
|
2648
2666
|
v6e49e79e: n.data.color
|
|
2649
|
-
})), (n, a) => (Q(), re("div",
|
|
2667
|
+
})), (n, a) => (Q(), re("div", Ui, [
|
|
2650
2668
|
a[0] || (a[0] = te("div", { class: "map-tooltip-color" }, null, -1)),
|
|
2651
|
-
te("div",
|
|
2669
|
+
te("div", Ai, [
|
|
2652
2670
|
te("div", null, _e(t.data.label), 1),
|
|
2653
|
-
t.showValue ? (Q(), re("span",
|
|
2671
|
+
t.showValue ? (Q(), re("span", Vi, _e(t.data.value), 1)) : Me("", !0)
|
|
2654
2672
|
])
|
|
2655
2673
|
]));
|
|
2656
2674
|
}
|
|
2657
|
-
}), Ui = /* @__PURE__ */ ht(Ii, [["__scopeId", "data-v-6bea2641"]]), Ai = "FeatureCollection", Vi = /* @__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]]]}}]'), Bi = {
|
|
2658
|
-
type:
|
|
2659
|
-
features:
|
|
2660
|
-
},
|
|
2675
|
+
}), 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 = {
|
|
2676
|
+
type: zi,
|
|
2677
|
+
features: Hi
|
|
2678
|
+
}, $i = { class: "kong-ui-public-analytics-geo-map" }, ji = {
|
|
2661
2679
|
key: 0,
|
|
2662
2680
|
class: "no-location-overlay"
|
|
2663
|
-
},
|
|
2681
|
+
}, qi = { class: "no-location-overlay-title" }, Ki = { class: "no-location-overlay-description" }, Wi = ["id"], Zi = /* @__PURE__ */ ft({
|
|
2664
2682
|
__name: "AnalyticsGeoMap",
|
|
2665
2683
|
props: {
|
|
2666
2684
|
countryMetrics: {},
|
|
@@ -2675,12 +2693,12 @@ const ct = (t) => {
|
|
|
2675
2693
|
},
|
|
2676
2694
|
emits: ["boundsChange"],
|
|
2677
2695
|
setup(t, { emit: n }) {
|
|
2678
|
-
const a = import("./countries-simple-geo-BFUDnSiE.js").then((e) => e.default), o = n, { i18n: u } = Fe.useI18n(), d =
|
|
2696
|
+
const a = import("./countries-simple-geo-BFUDnSiE.js").then((e) => e.default), o = n, { i18n: u } = Fe.useI18n(), d = Qr("app:konnectColorMode", j(() => "light")), { getColor: y, legendData: h } = Fe.useLegendScale({
|
|
2679
2697
|
countryMetrics: ve(() => t.countryMetrics),
|
|
2680
2698
|
metric: ve(() => t.metric),
|
|
2681
2699
|
unit: ve(() => t.metricUnit),
|
|
2682
2700
|
emptyCountryFill: ve(() => L.value.emptyCountryFill)
|
|
2683
|
-
}), { formatMetric: T } = Fe.useMetricFormat({ unit: ve(() => t.metricUnit) }), N = se(), S =
|
|
2701
|
+
}), { formatMetric: T } = Fe.useMetricFormat({ unit: ve(() => t.metricUnit) }), N = se(), S = Xr(), E = se(), F = se(), G = se(null), C = se({ left: "0px", top: "0px" }), P = se(!1), L = se(ct()), A = j(() => Object.keys(t.countryMetrics).length === 0 && !t.fitToCountry), I = j(() => ({
|
|
2684
2702
|
"fill-color": [
|
|
2685
2703
|
"match",
|
|
2686
2704
|
[
|
|
@@ -2736,10 +2754,10 @@ const ct = (t) => {
|
|
|
2736
2754
|
if (i) {
|
|
2737
2755
|
const l = i.geometry?.coordinates;
|
|
2738
2756
|
if (!l) return;
|
|
2739
|
-
const w = f(l), x = w.map((J) => J[1]), k = w.map((J) => J[0]), O = Math.min(...x),
|
|
2757
|
+
const w = f(l), x = w.map((J) => J[1]), k = w.map((J) => J[0]), O = Math.min(...x), q = Math.max(...x), R = Math.min(...k), W = Math.max(...k);
|
|
2740
2758
|
F.value?.fitBounds([
|
|
2741
2759
|
[R, O],
|
|
2742
|
-
[W,
|
|
2760
|
+
[W, q]
|
|
2743
2761
|
]);
|
|
2744
2762
|
}
|
|
2745
2763
|
}, s = j(() => {
|
|
@@ -2761,24 +2779,24 @@ const ct = (t) => {
|
|
|
2761
2779
|
}
|
|
2762
2780
|
};
|
|
2763
2781
|
return t.bounds && (e.bounds = t.bounds), e;
|
|
2764
|
-
}), g =
|
|
2782
|
+
}), g = Pi(() => {
|
|
2765
2783
|
if (!F.value) return;
|
|
2766
2784
|
const e = F.value.getBounds(), i = e.getSouthWest(), l = e.getNorthEast();
|
|
2767
2785
|
o("boundsChange", [
|
|
2768
2786
|
[i.lng, i.lat],
|
|
2769
2787
|
[l.lng, l.lat]
|
|
2770
2788
|
]);
|
|
2771
|
-
}, 300), D =
|
|
2789
|
+
}, 300), D = ua(
|
|
2772
2790
|
() => F.value?.getCanvas(),
|
|
2773
2791
|
{ redraw: () => F.value?.redraw() }
|
|
2774
2792
|
);
|
|
2775
|
-
return
|
|
2793
|
+
return ea(() => {
|
|
2776
2794
|
D();
|
|
2777
|
-
}),
|
|
2795
|
+
}), ta(async () => {
|
|
2778
2796
|
L.value = ct(E.value);
|
|
2779
2797
|
try {
|
|
2780
|
-
const e = await a, i = await fetch(e), l = new Uint8Array(await i.arrayBuffer()), w =
|
|
2781
|
-
G.value = w, F.value = new
|
|
2798
|
+
const e = await a, i = await fetch(e), l = new Uint8Array(await i.arrayBuffer()), w = pi.decode(new gi(l));
|
|
2799
|
+
G.value = w, F.value = new aa(s.value), F.value.on("load", () => {
|
|
2782
2800
|
F.value?.addSource("countries", {
|
|
2783
2801
|
type: "geojson",
|
|
2784
2802
|
data: w
|
|
@@ -2789,7 +2807,7 @@ const ct = (t) => {
|
|
|
2789
2807
|
paint: I.value
|
|
2790
2808
|
}), F.value?.addSource("lakes", {
|
|
2791
2809
|
type: "geojson",
|
|
2792
|
-
data:
|
|
2810
|
+
data: Yi
|
|
2793
2811
|
}), F.value?.addLayer({
|
|
2794
2812
|
id: "lakes-layer",
|
|
2795
2813
|
type: "fill",
|
|
@@ -2798,11 +2816,11 @@ const ct = (t) => {
|
|
|
2798
2816
|
}), F.value?.on("mousemove", "countries-layer", (x) => {
|
|
2799
2817
|
const k = x.features?.[0];
|
|
2800
2818
|
if (k) {
|
|
2801
|
-
const { iso_a2: O, iso_a2_eh:
|
|
2802
|
-
|
|
2819
|
+
const { iso_a2: O, iso_a2_eh: q, ISO_A2: R, admin: W } = k.properties, J = R ?? O === "-99" ? q : O, K = t.countryMetrics[J];
|
|
2820
|
+
K !== void 0 && (N.value = {
|
|
2803
2821
|
label: W,
|
|
2804
|
-
color: y(
|
|
2805
|
-
value: T(
|
|
2822
|
+
color: y(K),
|
|
2823
|
+
value: T(K)
|
|
2806
2824
|
}, P.value = !0, C.value = {
|
|
2807
2825
|
left: `${x.point.x}px`,
|
|
2808
2826
|
top: `${x.point.y}px`
|
|
@@ -2828,20 +2846,20 @@ const ct = (t) => {
|
|
|
2828
2846
|
if (!e) return;
|
|
2829
2847
|
const l = e?.flat(), w = i?.flat();
|
|
2830
2848
|
!(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);
|
|
2831
|
-
}), (e, i) => (Q(), re("div",
|
|
2832
|
-
A.value ? (Q(), re("div",
|
|
2849
|
+
}), (e, i) => (Q(), re("div", $i, [
|
|
2850
|
+
A.value ? (Q(), re("div", ji, [
|
|
2833
2851
|
Xe(e.$slots, "no-location-icon", {}, () => [
|
|
2834
|
-
|
|
2835
|
-
color: `var(--kui-icon-color-neutral, ${le(
|
|
2836
|
-
size: `var(--kui-icon-size-60, ${le(
|
|
2852
|
+
na(le(ia), {
|
|
2853
|
+
color: `var(--kui-icon-color-neutral, ${le(wi)})`,
|
|
2854
|
+
size: `var(--kui-icon-size-60, ${le(vi)})`
|
|
2837
2855
|
}, null, 8, ["color", "size"])
|
|
2838
2856
|
], !0),
|
|
2839
|
-
te("div",
|
|
2857
|
+
te("div", qi, [
|
|
2840
2858
|
Xe(e.$slots, "no-location-title", {}, () => [
|
|
2841
|
-
|
|
2859
|
+
ra(_e(le(u).t("no_location_data")), 1)
|
|
2842
2860
|
], !0)
|
|
2843
2861
|
]),
|
|
2844
|
-
te("div",
|
|
2862
|
+
te("div", Ki, [
|
|
2845
2863
|
Xe(e.$slots, "no-location-description", {}, () => [
|
|
2846
2864
|
te("p", null, _e(le(u).t("no_location_data_description")), 1)
|
|
2847
2865
|
], !0)
|
|
@@ -2852,15 +2870,15 @@ const ct = (t) => {
|
|
|
2852
2870
|
ref_key: "mapContainer",
|
|
2853
2871
|
ref: E,
|
|
2854
2872
|
class: "analytics-geo-map-container"
|
|
2855
|
-
}, null, 8,
|
|
2856
|
-
z.value ? (Q(), zt(
|
|
2873
|
+
}, null, 8, Wi),
|
|
2874
|
+
z.value ? (Q(), zt(Ii, {
|
|
2857
2875
|
key: 1,
|
|
2858
2876
|
class: "legend-container",
|
|
2859
2877
|
data: le(h),
|
|
2860
2878
|
metric: t.metric,
|
|
2861
2879
|
title: b.value
|
|
2862
2880
|
}, null, 8, ["data", "metric", "title"])) : Me("", !0),
|
|
2863
|
-
P.value && N.value ? (Q(), zt(
|
|
2881
|
+
P.value && N.value ? (Q(), zt(bi, {
|
|
2864
2882
|
key: 2,
|
|
2865
2883
|
data: N.value,
|
|
2866
2884
|
left: C.value.left,
|
|
@@ -2869,9 +2887,9 @@ const ct = (t) => {
|
|
|
2869
2887
|
}, null, 8, ["data", "left", "show-value", "top"])) : Me("", !0)
|
|
2870
2888
|
]));
|
|
2871
2889
|
}
|
|
2872
|
-
}),
|
|
2890
|
+
}), no = /* @__PURE__ */ ht(Zi, [["__scopeId", "data-v-7dea982a"]]);
|
|
2873
2891
|
export {
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2892
|
+
no as AnalyticsGeoMap,
|
|
2893
|
+
Pi as debounce,
|
|
2894
|
+
to as exploreResultToCountryMetrics
|
|
2877
2895
|
};
|