@kong-ui-public/analytics-geo-map 0.1.7 → 0.1.8

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.
@@ -1,6 +1,6 @@
1
- import { defineComponent as A, ref as E, computed as h, onMounted as F, watch as U, openBlock as O, createElementBlock as k, toDisplayString as I, createCommentVNode as j, Fragment as P, renderList as H, createElementVNode as D, normalizeStyle as J, pushScopeId as K, popScopeId as V } from "vue";
2
- import { Map as G, Popup as Z } from "maplibre-gl";
3
- import { createI18n as Q, i18nTComponent as W } from "@kong-ui-public/i18n";
1
+ import { defineComponent as w, ref as A, computed as v, onMounted as $, watch as D, openBlock as x, createElementBlock as O, toDisplayString as U, createCommentVNode as j, Fragment as E, renderList as G, createElementVNode as N, normalizeStyle as H, pushScopeId as V, popScopeId as K } from "vue";
2
+ import { Map as J, Popup as W } from "maplibre-gl";
3
+ import { createI18n as Z, i18nTComponent as Q } from "@kong-ui-public/i18n";
4
4
  const X = {
5
5
  ms: "ms",
6
6
  bytes: "Byte{plural}",
@@ -25,62 +25,2497 @@ const X = {
25
25
  request_size_p99: "Request Size (p99)",
26
26
  request_size_p95: "Request Size (p95)",
27
27
  request_size_p50: "Request Size (p50)"
28
- }, ee = {
28
+ }, e0 = {
29
29
  metricUnits: X,
30
30
  metrics: Y
31
31
  };
32
- function te() {
33
- const i = Q("en-us", ee);
32
+ function a0() {
33
+ const i = Z("en-us", e0);
34
34
  return {
35
35
  i18n: i,
36
- i18nT: W(i)
36
+ i18nT: Q(i)
37
37
  // Translation component <i18n-t>
38
38
  };
39
39
  }
40
- const re = {
41
- useI18n: te
40
+ const t0 = {
41
+ useI18n: a0
42
42
  };
43
- function ae(i) {
43
+ function n0(i) {
44
44
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
45
45
  }
46
- var w = { exports: {} };
46
+ var I = { exports: {} };
47
47
  (function(i) {
48
48
  (function() {
49
- function n(t, r) {
50
- if (r.separator === !1 || t < 1e3)
51
- return t.toString();
52
- var o = typeof r.separator == "string" ? r.separator : ",", u = [], p = Math.round(t).toString().split("");
53
- return p.reverse().forEach(function(s, a) {
54
- a && a % 3 === 0 && u.push(o), u.push(s);
49
+ function r(a, t) {
50
+ if (t.separator === !1 || a < 1e3)
51
+ return a.toString();
52
+ var l = typeof t.separator == "string" ? t.separator : ",", u = [], m = Math.round(a).toString().split("");
53
+ return m.reverse().forEach(function(o, n) {
54
+ n && n % 3 === 0 && u.push(l), u.push(o);
55
55
  }), u.reverse().join("");
56
56
  }
57
- function e(t, r, o) {
58
- var u = t / r, p = o.round ? "round" : "floor";
59
- return o.decimal === !1 ? (t = Math[p](u), t.toString()) : (o.precision ? t = u : t = u < 10 ? Math[p](u * 10) / 10 : Math[p](u), t = t.toString(), typeof o.decimal == "string" && (t = t.replace(".", o.decimal)), t);
57
+ function e(a, t, l) {
58
+ var u = a / t, m = l.round ? "round" : "floor";
59
+ return l.decimal === !1 ? (a = Math[m](u), a.toString()) : (l.precision ? a = u : a = u < 10 ? Math[m](u * 10) / 10 : Math[m](u), a = a.toString(), typeof l.decimal == "string" && (a = a.replace(".", l.decimal)), a);
60
60
  }
61
- var m = 1e3, M = 1e4, R = 1e6, f = 1e9, L = 1e12;
62
- function b(t, r) {
63
- var o;
64
- r = r || {};
65
- var u = t < 0;
66
- u && (t = Math.abs(t)), r.precision && (t = parseFloat(t.toPrecision(r.precision)));
67
- var p = r.min10k ? M : m;
68
- return t < p || r.precision && r.precision > Math.log10(t) ? o = n(e(t, 1, r), r) : t < R ? o = e(t, m, r) + "k" : t < f ? o = e(t, R, r) + "m" : t < L ? o = n(e(t, f, r), r) + "b" : o = n(e(t, L, r), r) + "t", u && (o = "-" + o), r.capital && (o = o.toUpperCase()), r.prefix && (o = r.prefix + o), r.suffix && (o = o + r.suffix), o;
61
+ var g = 1e3, L = 1e4, B = 1e6, p = 1e9, b = 1e12;
62
+ function h(a, t) {
63
+ var l;
64
+ t = t || {};
65
+ var u = a < 0;
66
+ u && (a = Math.abs(a)), t.precision && (a = parseFloat(a.toPrecision(t.precision)));
67
+ var m = t.min10k ? L : g;
68
+ return a < m || t.precision && t.precision > Math.log10(a) ? l = r(e(a, 1, t), t) : a < B ? l = e(a, g, t) + "k" : a < p ? l = e(a, B, t) + "m" : a < b ? l = r(e(a, p, t), t) + "b" : l = r(e(a, b, t), t) + "t", u && (l = "-" + l), t.capital && (l = l.toUpperCase()), t.prefix && (l = t.prefix + l), t.suffix && (l = l + t.suffix), l;
69
69
  }
70
- b.addCommas = n, i.exports = b;
70
+ h.addCommas = r, i.exports = h;
71
71
  })();
72
- })(w);
73
- var ne = w.exports;
74
- const C = /* @__PURE__ */ ae(ne), oe = (i) => (K("data-v-017cc3b6"), i = i(), V(), i), se = { class: "kong-ui-public-analytics-geo-map" }, ie = /* @__PURE__ */ oe(() => /* @__PURE__ */ D("div", {
72
+ })(I);
73
+ var r0 = I.exports;
74
+ const q = /* @__PURE__ */ n0(r0), o0 = "FeatureCollection", l0 = [
75
+ {
76
+ type: "Feature",
77
+ properties: {
78
+ scalerank: 0,
79
+ featurecla: "Lake",
80
+ name: "Lake\rBaikal",
81
+ name_alt: null,
82
+ admin: null,
83
+ min_zoom: 1,
84
+ min_label: 3
85
+ },
86
+ geometry: {
87
+ type: "Polygon",
88
+ coordinates: [
89
+ [
90
+ [
91
+ 106.57998579307912,
92
+ 52.79998159444554
93
+ ],
94
+ [
95
+ 106.53998823448521,
96
+ 52.93999888774037
97
+ ],
98
+ [
99
+ 107.0800069519353,
100
+ 53.18001007751998
101
+ ],
102
+ [
103
+ 107.2999935242018,
104
+ 53.37999787048953
105
+ ],
106
+ [
107
+ 107.59997521365611,
108
+ 53.51998932556822
109
+ ],
110
+ [
111
+ 108.03994835818912,
112
+ 53.859968573616456
113
+ ],
114
+ [
115
+ 108.37997928266967,
116
+ 54.25999583598784
117
+ ],
118
+ [
119
+ 109.05270307824526,
120
+ 55.027597561251326
121
+ ],
122
+ [
123
+ 109.19346967980832,
124
+ 55.53560272889659
125
+ ],
126
+ [
127
+ 109.50699059452313,
128
+ 55.73091380474372
129
+ ],
130
+ [
131
+ 109.92980716353523,
132
+ 55.7129562445223
133
+ ],
134
+ [
135
+ 109.70000206913326,
136
+ 54.980003567110515
137
+ ],
138
+ [
139
+ 109.66000451053935,
140
+ 54.71999359803395
141
+ ],
142
+ [
143
+ 109.47996382043448,
144
+ 54.33999095317566
145
+ ],
146
+ [
147
+ 109.31997358605884,
148
+ 53.81999685323869
149
+ ],
150
+ [
151
+ 109.22003136600637,
152
+ 53.619983222052994
153
+ ],
154
+ [
155
+ 108.99999311730755,
156
+ 53.78002513286093
157
+ ],
158
+ [
159
+ 108.60001753136845,
160
+ 53.4399942083804
161
+ ],
162
+ [
163
+ 108.800005324338,
164
+ 53.37999787048953
165
+ ],
166
+ [
167
+ 108.76000776574409,
168
+ 53.200008856816936
169
+ ],
170
+ [
171
+ 108.45997439985749,
172
+ 53.14001251892607
173
+ ],
174
+ [
175
+ 108.17999148970011,
176
+ 52.79998159444554
177
+ ],
178
+ [
179
+ 107.79996300662566,
180
+ 52.579995022179034
181
+ ],
182
+ [
183
+ 107.31999230349876,
184
+ 52.42000478780339
185
+ ],
186
+ [
187
+ 106.64003380740229,
188
+ 52.32001089131862
189
+ ],
190
+ [
191
+ 106.1000150899522,
192
+ 52.03997630472897
193
+ ],
194
+ [
195
+ 105.740037062607,
196
+ 51.759993394571595
197
+ ],
198
+ [
199
+ 105.24001590375084,
200
+ 51.52000804300813
201
+ ],
202
+ [
203
+ 104.81998986208251,
204
+ 51.46001170511727
205
+ ],
206
+ [
207
+ 104.30002160036167,
208
+ 51.50000926371118
209
+ ],
210
+ [
211
+ 103.7600028829116,
212
+ 51.60000316019595
213
+ ],
214
+ [
215
+ 103.6200114278329,
216
+ 51.73999461527464
217
+ ],
218
+ [
219
+ 103.85999677939637,
220
+ 51.85998729105637
221
+ ],
222
+ [
223
+ 104.39996382041414,
224
+ 51.85998729105637
225
+ ],
226
+ [
227
+ 105.05997521364597,
228
+ 52.0000045843512
229
+ ],
230
+ [
231
+ 105.4800012553143,
232
+ 52.28001333272471
233
+ ],
234
+ [
235
+ 105.98002241417046,
236
+ 52.51999868428817
237
+ ],
238
+ [
239
+ 106.26000532432784,
240
+ 52.619992580772944
241
+ ],
242
+ [
243
+ 106.57998579307912,
244
+ 52.79998159444554
245
+ ]
246
+ ]
247
+ ]
248
+ }
249
+ },
250
+ {
251
+ type: "Feature",
252
+ properties: {
253
+ scalerank: 0,
254
+ featurecla: "Lake",
255
+ name: "Lake\rWinnipeg",
256
+ name_alt: null,
257
+ admin: null,
258
+ min_zoom: 1,
259
+ min_label: 3
260
+ },
261
+ geometry: {
262
+ type: "Polygon",
263
+ coordinates: [
264
+ [
265
+ [
266
+ -98.95540137408423,
267
+ 53.92978343364277
268
+ ],
269
+ [
270
+ -97.95799455441879,
271
+ 54.337097072967325
272
+ ],
273
+ [
274
+ -97.8050064766187,
275
+ 54.05938792583079
276
+ ],
277
+ [
278
+ -97.64380184608419,
279
+ 53.42521474874492
280
+ ],
281
+ [
282
+ -96.39258622921722,
283
+ 51.39730235453108
284
+ ],
285
+ [
286
+ -96.23789282915149,
287
+ 50.6910147161819
288
+ ],
289
+ [
290
+ -96.72558915890605,
291
+ 50.448910630894474
292
+ ],
293
+ [
294
+ -96.92110694048235,
295
+ 50.75405996357799
296
+ ],
297
+ [
298
+ -97.23568722205913,
299
+ 51.49778717712263
300
+ ],
301
+ [
302
+ -98.20097713905517,
303
+ 52.18456696228162
304
+ ],
305
+ [
306
+ -99.23680538612963,
307
+ 53.21628693298888
308
+ ],
309
+ [
310
+ -98.95540137408423,
311
+ 53.92978343364277
312
+ ]
313
+ ]
314
+ ]
315
+ }
316
+ },
317
+ {
318
+ type: "Feature",
319
+ properties: {
320
+ scalerank: 0,
321
+ featurecla: "Lake",
322
+ name: "Great\rSlave Lake",
323
+ name_alt: null,
324
+ admin: null,
325
+ min_zoom: 1,
326
+ min_label: 3
327
+ },
328
+ geometry: {
329
+ type: "Polygon",
330
+ coordinates: [
331
+ [
332
+ [
333
+ -115.00000342492967,
334
+ 61.9723932969562
335
+ ],
336
+ [
337
+ -115.80669837122196,
338
+ 62.54171255151576
339
+ ],
340
+ [
341
+ -116.0585951404287,
342
+ 62.77880402287089
343
+ ],
344
+ [
345
+ -115.84279435917783,
346
+ 62.7503044704619
347
+ ],
348
+ [
349
+ -114.45259497766185,
350
+ 62.42820526798667
351
+ ],
352
+ [
353
+ -113.35341142459757,
354
+ 62.04448192000336
355
+ ],
356
+ [
357
+ -111.77890804731261,
358
+ 62.44360484480964
359
+ ],
360
+ [
361
+ -111.04001258018727,
362
+ 62.92000987410843
363
+ ],
364
+ [
365
+ -110.20001217328286,
366
+ 63.08000010848407
367
+ ],
368
+ [
369
+ -109.40000932497237,
370
+ 62.87817780216814
371
+ ],
372
+ [
373
+ -109.09010576051801,
374
+ 62.814099026126215
375
+ ],
376
+ [
377
+ -109.11651241741916,
378
+ 62.6928144395372
379
+ ],
380
+ [
381
+ -110.10089677614705,
382
+ 62.51561595320837
383
+ ],
384
+ [
385
+ -111.27599300824811,
386
+ 62.34911448836395
387
+ ],
388
+ [
389
+ -112.63050981326654,
390
+ 61.55991201440246
391
+ ],
392
+ [
393
+ -113.64000891808828,
394
+ 61.07999298770784
395
+ ],
396
+ [
397
+ -115.3409903634076,
398
+ 60.87659455020702
399
+ ],
400
+ [
401
+ -116.43999304895887,
402
+ 60.86000641544133
403
+ ],
404
+ [
405
+ -118.06110856817108,
406
+ 61.31196849226605
407
+ ],
408
+ [
409
+ -118.3474735177165,
410
+ 61.36137116153708
411
+ ],
412
+ [
413
+ -118.3849906075604,
414
+ 61.52110301375126
415
+ ],
416
+ [
417
+ -118.17960262741634,
418
+ 61.55629466414203
419
+ ],
420
+ [
421
+ -116.8028132800801,
422
+ 61.32589529076871
423
+ ],
424
+ [
425
+ -115.67879920129957,
426
+ 61.69179026961132
427
+ ],
428
+ [
429
+ -115.00000342492967,
430
+ 61.9723932969562
431
+ ]
432
+ ]
433
+ ]
434
+ }
435
+ },
436
+ {
437
+ type: "Feature",
438
+ properties: {
439
+ scalerank: 0,
440
+ featurecla: "Lake",
441
+ name: "L. Ontario",
442
+ name_alt: null,
443
+ admin: "admin-0",
444
+ min_zoom: 1,
445
+ min_label: 3
446
+ },
447
+ geometry: {
448
+ type: "Polygon",
449
+ coordinates: [
450
+ [
451
+ [
452
+ -79.05630591502026,
453
+ 43.25410431576152
454
+ ],
455
+ [
456
+ -79.36168779164908,
457
+ 43.20237620703736
458
+ ],
459
+ [
460
+ -79.76047481964547,
461
+ 43.29720246029295
462
+ ],
463
+ [
464
+ -79.46116492381094,
465
+ 43.639197089200565
466
+ ],
467
+ [
468
+ -79.1561706204243,
469
+ 43.75743276628437
470
+ ],
471
+ [
472
+ -78.45052893747877,
473
+ 43.9031861435636
474
+ ],
475
+ [
476
+ -77.60536088734519,
477
+ 44.039327704436545
478
+ ],
479
+ [
480
+ -77.16148617217414,
481
+ 43.850140285815996
482
+ ],
483
+ [
484
+ -76.88269181995948,
485
+ 44.0694550644627
486
+ ],
487
+ [
488
+ -76.56555355498425,
489
+ 44.20802541765336
490
+ ],
491
+ [
492
+ -76.35303422718391,
493
+ 44.134670722015045
494
+ ],
495
+ [
496
+ -76.23926856149336,
497
+ 43.979150499032656
498
+ ],
499
+ [
500
+ -76.17999569365458,
501
+ 43.5900011256587
502
+ ],
503
+ [
504
+ -76.9300015937227,
505
+ 43.2599954290428
506
+ ],
507
+ [
508
+ -77.74915056019732,
509
+ 43.342832750006664
510
+ ],
511
+ [
512
+ -78.53499406605984,
513
+ 43.379988104824534
514
+ ],
515
+ [
516
+ -79.05630591502026,
517
+ 43.25410431576152
518
+ ]
519
+ ]
520
+ ]
521
+ }
522
+ },
523
+ {
524
+ type: "Feature",
525
+ properties: {
526
+ scalerank: 0,
527
+ featurecla: "Lake",
528
+ name: "L. Erie",
529
+ name_alt: null,
530
+ admin: "admin-0",
531
+ min_zoom: 1,
532
+ min_label: 3
533
+ },
534
+ geometry: {
535
+ type: "Polygon",
536
+ coordinates: [
537
+ [
538
+ [
539
+ -83.12001135937246,
540
+ 42.08001577409016
541
+ ],
542
+ [
543
+ -82.57123348664891,
544
+ 42.01702220312636
545
+ ],
546
+ [
547
+ -81.82918575715374,
548
+ 42.33552989355732
549
+ ],
550
+ [
551
+ -81.39226152212595,
552
+ 42.61517690690481
553
+ ],
554
+ [
555
+ -81.09496700715081,
556
+ 42.66075552018623
557
+ ],
558
+ [
559
+ -80.54515560578142,
560
+ 42.560089830081665
561
+ ],
562
+ [
563
+ -80.27917700877515,
564
+ 42.71566172949635
565
+ ],
566
+ [
567
+ -79.79135148793986,
568
+ 42.84203644466612
569
+ ],
570
+ [
571
+ -78.92000932485044,
572
+ 42.96500051530464
573
+ ],
574
+ [
575
+ -78.90057898630869,
576
+ 42.8667119410855
577
+ ],
578
+ [
579
+ -79.76220598012725,
580
+ 42.269616604169045
581
+ ],
582
+ [
583
+ -80.51644934764329,
584
+ 41.980331936199136
585
+ ],
586
+ [
587
+ -81.03119828970264,
588
+ 41.845508124349635
589
+ ],
590
+ [
591
+ -81.62351355663209,
592
+ 41.568935858723535
593
+ ],
594
+ [
595
+ -82.34744869660895,
596
+ 41.435920722004255
597
+ ],
598
+ [
599
+ -82.84610043000939,
600
+ 41.48710622818935
601
+ ],
602
+ [
603
+ -83.46283281119673,
604
+ 41.69396698665372
605
+ ],
606
+ [
607
+ -83.12001135937246,
608
+ 42.08001577409016
609
+ ],
610
+ [
611
+ -83.12001135937246,
612
+ 42.08001577409016
613
+ ]
614
+ ]
615
+ ]
616
+ }
617
+ },
618
+ {
619
+ type: "Feature",
620
+ properties: {
621
+ scalerank: 0,
622
+ featurecla: "Lake",
623
+ name: "Lake Superior",
624
+ name_alt: null,
625
+ admin: "admin-0",
626
+ min_zoom: 1,
627
+ min_label: 3
628
+ },
629
+ geometry: {
630
+ type: "Polygon",
631
+ coordinates: [
632
+ [
633
+ [
634
+ -89.60000342482806,
635
+ 48.00998973244721
636
+ ],
637
+ [
638
+ -89.19405921095924,
639
+ 48.40546946877693
640
+ ],
641
+ [
642
+ -88.62641944044917,
643
+ 48.56251414651193
644
+ ],
645
+ [
646
+ -88.40423661981026,
647
+ 48.80632355406499
648
+ ],
649
+ [
650
+ -88.17895321323383,
651
+ 48.93670319273738
652
+ ],
653
+ [
654
+ -87.24903581414156,
655
+ 48.73511343036678
656
+ ],
657
+ [
658
+ -86.56000810417788,
659
+ 48.71108388935106
660
+ ],
661
+ [
662
+ -86.32103044304411,
663
+ 48.57729360614741
664
+ ],
665
+ [
666
+ -85.98652889681881,
667
+ 48.01035146747326
668
+ ],
669
+ [
670
+ -84.8642201403039,
671
+ 47.86007640236849
672
+ ],
673
+ [
674
+ -85.04061764193222,
675
+ 47.575700995466306
676
+ ],
677
+ [
678
+ -84.64500871452178,
679
+ 47.28220469826462
680
+ ],
681
+ [
682
+ -84.81528255892351,
683
+ 46.90233124448706
684
+ ],
685
+ [
686
+ -84.39559241406505,
687
+ 46.77683502866624
688
+ ],
689
+ [
690
+ -84.60490780306328,
691
+ 46.439594631529474
692
+ ],
693
+ [
694
+ -84.9100054593145,
695
+ 46.48000560158172
696
+ ],
697
+ [
698
+ -85.11999264193253,
699
+ 46.76001434995524
700
+ ],
701
+ [
702
+ -86.1026200019625,
703
+ 46.67265534116582
704
+ ],
705
+ [
706
+ -86.99000769727856,
707
+ 46.45000743263628
708
+ ],
709
+ [
710
+ -87.69427995476835,
711
+ 46.83104360614041
712
+ ],
713
+ [
714
+ -88.2612220934425,
715
+ 46.958581041036766
716
+ ],
717
+ [
718
+ -87.93992387566777,
719
+ 47.485913194359185
720
+ ],
721
+ [
722
+ -88.82260901564527,
723
+ 47.154796454449
724
+ ],
725
+ [
726
+ -89.62498897984119,
727
+ 46.83083690041124
728
+ ],
729
+ [
730
+ -90.39703487828177,
731
+ 46.57648550067064
732
+ ],
733
+ [
734
+ -91.00999487991183,
735
+ 46.92000458433087
736
+ ],
737
+ [
738
+ -92.01192338740282,
739
+ 46.71167104754619
740
+ ],
741
+ [
742
+ -92.00877112503301,
743
+ 46.85843211525511
744
+ ],
745
+ [
746
+ -91.33000118687926,
747
+ 47.28000844989221
748
+ ],
749
+ [
750
+ -90.61999284540505,
751
+ 47.68000987404746
752
+ ],
753
+ [
754
+ -89.60000342482806,
755
+ 48.00998973244721
756
+ ]
757
+ ]
758
+ ]
759
+ }
760
+ },
761
+ {
762
+ type: "Feature",
763
+ properties: {
764
+ scalerank: 0,
765
+ featurecla: "Lake",
766
+ name: "Lake\rVictoria",
767
+ name_alt: null,
768
+ admin: "admin-0",
769
+ min_zoom: 1,
770
+ min_label: 3
771
+ },
772
+ geometry: {
773
+ type: "Polygon",
774
+ coordinates: [
775
+ [
776
+ [
777
+ 33.85036827976734,
778
+ 0.128157863766091
779
+ ],
780
+ [
781
+ 33.85036827976734,
782
+ 0.128157863766091
783
+ ],
784
+ [
785
+ 34.13624230320599,
786
+ -0.319308363449238
787
+ ],
788
+ [
789
+ 34.0726286150547,
790
+ -1.059831638191795
791
+ ],
792
+ [
793
+ 33.579428745261055,
794
+ -1.506005954599821
795
+ ],
796
+ [
797
+ 33.251748488098286,
798
+ -1.957968031424549
799
+ ],
800
+ [
801
+ 33.64717654799571,
802
+ -2.30089283611342
803
+ ],
804
+ [
805
+ 33.07672041192572,
806
+ -2.547131035984201
807
+ ],
808
+ [
809
+ 32.95176679864397,
810
+ -2.43044565186915
811
+ ],
812
+ [
813
+ 32.37309410983957,
814
+ -2.489925225437091
815
+ ],
816
+ [
817
+ 31.926558058405476,
818
+ -2.714511000177573
819
+ ],
820
+ [
821
+ 31.648022088352292,
822
+ -2.32921152100937
823
+ ],
824
+ [
825
+ 31.836020949030114,
826
+ -1.629305922048232
827
+ ],
828
+ [
829
+ 31.866199985488578,
830
+ -1.027378838712494
831
+ ],
832
+ [
833
+ 31.815143670384202,
834
+ -0.64042571371094
835
+ ],
836
+ [
837
+ 32.27284183119332,
838
+ -0.056120293786734
839
+ ],
840
+ [
841
+ 32.906136508930246,
842
+ 0.0867650415003
843
+ ],
844
+ [
845
+ 33.33184695815069,
846
+ 0.324993394365833
847
+ ],
848
+ [
849
+ 33.85036827976734,
850
+ 0.128157863766091
851
+ ]
852
+ ]
853
+ ]
854
+ }
855
+ },
856
+ {
857
+ type: "Feature",
858
+ properties: {
859
+ scalerank: 0,
860
+ featurecla: "Lake",
861
+ name: "Lake\rLadoga",
862
+ name_alt: null,
863
+ admin: null,
864
+ min_zoom: 1,
865
+ min_label: 3
866
+ },
867
+ geometry: {
868
+ type: "Polygon",
869
+ coordinates: [
870
+ [
871
+ [
872
+ 29.836711460089845,
873
+ 61.22608226179696
874
+ ],
875
+ [
876
+ 29.836711460089845,
877
+ 61.22608226179696
878
+ ],
879
+ [
880
+ 30.85199832532828,
881
+ 61.77504100203353
882
+ ],
883
+ [
884
+ 32.52688317234018,
885
+ 61.11751007755173
886
+ ],
887
+ [
888
+ 32.94432539239392,
889
+ 60.64260366478942
890
+ ],
891
+ [
892
+ 32.81575442885176,
893
+ 60.481889960361684
894
+ ],
895
+ [
896
+ 32.599901971168606,
897
+ 60.533514716221276
898
+ ],
899
+ [
900
+ 32.583882277158125,
901
+ 60.20893504499601
902
+ ],
903
+ [
904
+ 31.699440138482714,
905
+ 60.23565176049091
906
+ ],
907
+ [
908
+ 31.50973595553924,
909
+ 59.92034800886205
910
+ ],
911
+ [
912
+ 31.106246372204282,
913
+ 59.92768606224749
914
+ ],
915
+ [
916
+ 31.10893354668346,
917
+ 60.14645823835514
918
+ ],
919
+ [
920
+ 30.533878208139498,
921
+ 60.63009796817478
922
+ ],
923
+ [
924
+ 30.502045525847706,
925
+ 60.843211574946466
926
+ ],
927
+ [
928
+ 29.836711460089845,
929
+ 61.22608226179696
930
+ ]
931
+ ]
932
+ ]
933
+ }
934
+ },
935
+ {
936
+ type: "Feature",
937
+ properties: {
938
+ scalerank: 0,
939
+ featurecla: "Lake",
940
+ name: "Lake\rBalkhash",
941
+ name_alt: "Balqash Köli",
942
+ admin: null,
943
+ min_zoom: 1,
944
+ min_label: 3
945
+ },
946
+ geometry: {
947
+ type: "Polygon",
948
+ coordinates: [
949
+ [
950
+ [
951
+ 78.99076541536459,
952
+ 46.748619696634876
953
+ ],
954
+ [
955
+ 78.99076541536459,
956
+ 46.748619696634876
957
+ ],
958
+ [
959
+ 79.2451684915375,
960
+ 46.64516347918655
961
+ ],
962
+ [
963
+ 78.88989301953086,
964
+ 46.369934800800024
965
+ ],
966
+ [
967
+ 78.44506229036242,
968
+ 46.29717438413307
969
+ ],
970
+ [
971
+ 77.20606814973246,
972
+ 46.3955663112168
973
+ ],
974
+ [
975
+ 75.61128177277294,
976
+ 46.50718740496724
977
+ ],
978
+ [
979
+ 75.46333214712132,
980
+ 46.6706141220903
981
+ ],
982
+ [
983
+ 75.40566124868357,
984
+ 46.47080719663377
985
+ ],
986
+ [
987
+ 74.91122114451494,
988
+ 46.404661363300164
989
+ ],
990
+ [
991
+ 74.77138471873312,
992
+ 46.107831936215646
993
+ ],
994
+ [
995
+ 74.27802981964263,
996
+ 46.004065660173566
997
+ ],
998
+ [
999
+ 74.0999528339648,
1000
+ 44.98893382423201
1001
+ ],
1002
+ [
1003
+ 73.4367375019309,
1004
+ 45.60946442319282
1005
+ ],
1006
+ [
1007
+ 73.4399931171653,
1008
+ 45.80586070411809
1009
+ ],
1010
+ [
1011
+ 73.73713260284359,
1012
+ 46.012747300798594
1013
+ ],
1014
+ [
1015
+ 73.67925499867667,
1016
+ 46.18307282163262
1017
+ ],
1018
+ [
1019
+ 74.02068118682908,
1020
+ 46.20490611427593
1021
+ ],
1022
+ [
1023
+ 74.09432010284502,
1024
+ 46.42781240496693
1025
+ ],
1026
+ [
1027
+ 74.939384800114,
1028
+ 46.81678091082786
1029
+ ],
1030
+ [
1031
+ 76.20313195181177,
1032
+ 46.7800131292522
1033
+ ],
1034
+ [
1035
+ 77.18131513866464,
1036
+ 46.64340648048862
1037
+ ],
1038
+ [
1039
+ 77.85993004752152,
1040
+ 46.64785065366573
1041
+ ],
1042
+ [
1043
+ 78.29700931184618,
1044
+ 46.46853343361292
1045
+ ],
1046
+ [
1047
+ 78.39710656119556,
1048
+ 46.657669175801175
1049
+ ],
1050
+ [
1051
+ 78.99076541536459,
1052
+ 46.748619696634876
1053
+ ]
1054
+ ]
1055
+ ]
1056
+ }
1057
+ },
1058
+ {
1059
+ type: "Feature",
1060
+ properties: {
1061
+ scalerank: 0,
1062
+ featurecla: "Lake",
1063
+ name: "Lake\rTanganyika",
1064
+ name_alt: null,
1065
+ admin: "admin-0",
1066
+ min_zoom: 1,
1067
+ min_label: 3
1068
+ },
1069
+ geometry: {
1070
+ type: "Polygon",
1071
+ coordinates: [
1072
+ [
1073
+ [
1074
+ 30.806006300588507,
1075
+ -8.578339125201033
1076
+ ],
1077
+ [
1078
+ 30.46442508313922,
1079
+ -8.498188978716335
1080
+ ],
1081
+ [
1082
+ 30.566847771941724,
1083
+ -8.1150082332721
1084
+ ],
1085
+ [
1086
+ 30.27735639824263,
1087
+ -7.848357842646031
1088
+ ],
1089
+ [
1090
+ 30.14702843600253,
1091
+ -7.299244073112582
1092
+ ],
1093
+ [
1094
+ 29.536523064906334,
1095
+ -6.7541610652979
1096
+ ],
1097
+ [
1098
+ 29.19318484875913,
1099
+ -6.038029066597119
1100
+ ],
1101
+ [
1102
+ 29.371985304489016,
1103
+ -5.616452731960017
1104
+ ],
1105
+ [
1106
+ 29.101717563602506,
1107
+ -5.054006442895265
1108
+ ],
1109
+ [
1110
+ 29.281034783655315,
1111
+ -3.455499362810748
1112
+ ],
1113
+ [
1114
+ 29.652588331833897,
1115
+ -4.420143324403149
1116
+ ],
1117
+ [
1118
+ 29.600085076625334,
1119
+ -4.896393324405054
1120
+ ],
1121
+ [
1122
+ 29.79195966972506,
1123
+ -5.040880629093131
1124
+ ],
1125
+ [
1126
+ 29.758421665167646,
1127
+ -5.466901136907339
1128
+ ],
1129
+ [
1130
+ 29.951226434048635,
1131
+ -5.860985609565162
1132
+ ],
1133
+ [
1134
+ 29.722041456834177,
1135
+ -6.244114678577112
1136
+ ],
1137
+ [
1138
+ 30.52803877129051,
1139
+ -6.922729587433992
1140
+ ],
1141
+ [
1142
+ 30.604158156056457,
1143
+ -7.541916599155222
1144
+ ],
1145
+ [
1146
+ 31.189032016735865,
1147
+ -8.729906101113095
1148
+ ],
1149
+ [
1150
+ 31.022117140433124,
1151
+ -8.786543470904988
1152
+ ],
1153
+ [
1154
+ 30.806006300588507,
1155
+ -8.578339125201033
1156
+ ],
1157
+ [
1158
+ 30.806006300588507,
1159
+ -8.578339125201033
1160
+ ]
1161
+ ]
1162
+ ]
1163
+ }
1164
+ },
1165
+ {
1166
+ type: "Feature",
1167
+ properties: {
1168
+ scalerank: 0,
1169
+ featurecla: "Lake",
1170
+ name: "Lake Malawi",
1171
+ name_alt: "Lake Nyasa",
1172
+ admin: "admin-0",
1173
+ min_zoom: 1,
1174
+ min_label: 3
1175
+ },
1176
+ geometry: {
1177
+ type: "Polygon",
1178
+ coordinates: [
1179
+ [
1180
+ [
1181
+ 35.2602047055542,
1182
+ -14.277474460510291
1183
+ ],
1184
+ [
1185
+ 35.236226840970915,
1186
+ -14.401291192281633
1187
+ ],
1188
+ [
1189
+ 34.881209751125766,
1190
+ -14.012012627826891
1191
+ ],
1192
+ [
1193
+ 34.706543409979076,
1194
+ -14.262023207255027
1195
+ ],
1196
+ [
1197
+ 34.54675988133266,
1198
+ -14.047669366108266
1199
+ ],
1200
+ [
1201
+ 34.55110070164528,
1202
+ -13.67208505621096
1203
+ ],
1204
+ [
1205
+ 34.3209338722171,
1206
+ -13.379389743709737
1207
+ ],
1208
+ [
1209
+ 34.32997724786827,
1210
+ -12.944584242405995
1211
+ ],
1212
+ [
1213
+ 34.032527703596315,
1214
+ -12.208556817272836
1215
+ ],
1216
+ [
1217
+ 34.322690870915096,
1218
+ -11.652983493702834
1219
+ ],
1220
+ [
1221
+ 34.25990400568048,
1222
+ -10.447579034062642
1223
+ ],
1224
+ [
1225
+ 33.906592238100984,
1226
+ -9.801726983278854
1227
+ ],
1228
+ [
1229
+ 33.99557905450757,
1230
+ -9.495440769084837
1231
+ ],
1232
+ [
1233
+ 34.52422895685345,
1234
+ -10.03013681400887
1235
+ ],
1236
+ [
1237
+ 34.60789310073403,
1238
+ -11.080511976773494
1239
+ ],
1240
+ [
1241
+ 34.93702029800096,
1242
+ -11.463434340056267
1243
+ ],
1244
+ [
1245
+ 34.69388268406766,
1246
+ -12.422393894096615
1247
+ ],
1248
+ [
1249
+ 34.86756717300062,
1250
+ -13.701127211159019
1251
+ ],
1252
+ [
1253
+ 35.05597944513687,
1254
+ -13.742933444883136
1255
+ ],
1256
+ [
1257
+ 35.2602047055542,
1258
+ -14.277474460510291
1259
+ ]
1260
+ ]
1261
+ ]
1262
+ }
1263
+ },
1264
+ {
1265
+ type: "Feature",
1266
+ properties: {
1267
+ scalerank: 0,
1268
+ featurecla: "Lake",
1269
+ name: "Aral\rSea",
1270
+ name_alt: null,
1271
+ admin: null,
1272
+ min_zoom: 1,
1273
+ min_label: 3
1274
+ },
1275
+ geometry: {
1276
+ type: "Polygon",
1277
+ coordinates: [
1278
+ [
1279
+ [
1280
+ 60.05285159692946,
1281
+ 44.264636949229114
1282
+ ],
1283
+ [
1284
+ 59.77002648299603,
1285
+ 44.15999217383806
1286
+ ],
1287
+ [
1288
+ 59.06288618351405,
1289
+ 44.36928172462015
1290
+ ],
1291
+ [
1292
+ 59.34571129744745,
1293
+ 44.99720205339871
1294
+ ],
1295
+ [
1296
+ 59.35930219914022,
1297
+ 45.190006822279685
1298
+ ],
1299
+ [
1300
+ 58.96139367049281,
1301
+ 45.37500844988459
1302
+ ],
1303
+ [
1304
+ 58.92144778833119,
1305
+ 45.101846828789746
1306
+ ],
1307
+ [
1308
+ 58.92144778833119,
1309
+ 44.73556427670495
1310
+ ],
1311
+ [
1312
+ 58.497132602782614,
1313
+ 44.212340399749735
1314
+ ],
1315
+ [
1316
+ 58.285000848224456,
1317
+ 44.473952338227335
1318
+ ],
1319
+ [
1320
+ 58.285000848224456,
1321
+ 44.89255727800766
1322
+ ],
1323
+ [
1324
+ 58.689989048095896,
1325
+ 45.50001373959863
1326
+ ],
1327
+ [
1328
+ 58.78000939314833,
1329
+ 45.88673432065487
1330
+ ],
1331
+ [
1332
+ 59.20427290226462,
1333
+ 45.93905670835039
1334
+ ],
1335
+ [
1336
+ 59.535002068932585,
1337
+ 45.70501414650049
1338
+ ],
1339
+ [
1340
+ 59.55784305200561,
1341
+ 46.30533926043519
1342
+ ],
1343
+ [
1344
+ 59.77002648299603,
1345
+ 46.25299103452352
1346
+ ],
1347
+ [
1348
+ 60.12359663273702,
1349
+ 46.096023871436955
1350
+ ],
1351
+ [
1352
+ 60.12359663273702,
1353
+ 45.88673432065487
1354
+ ],
1355
+ [
1356
+ 59.94675988143425,
1357
+ 45.808211981787366
1358
+ ],
1359
+ [
1360
+ 59.84071984237133,
1361
+ 45.520477606786216
1362
+ ],
1363
+ [
1364
+ 60.12359663273702,
1365
+ 45.572774156265595
1366
+ ],
1367
+ [
1368
+ 60.23997195825834,
1369
+ 44.78403677019473
1370
+ ],
1371
+ [
1372
+ 60.05285159692946,
1373
+ 44.264636949229114
1374
+ ]
1375
+ ]
1376
+ ]
1377
+ }
1378
+ },
1379
+ {
1380
+ type: "Feature",
1381
+ properties: {
1382
+ scalerank: 1,
1383
+ featurecla: "Lake",
1384
+ name: "Vänern",
1385
+ name_alt: null,
1386
+ admin: null,
1387
+ min_zoom: 1.7,
1388
+ min_label: 3.6
1389
+ },
1390
+ geometry: {
1391
+ type: "Polygon",
1392
+ coordinates: [
1393
+ [
1394
+ [
1395
+ 13.979281447005576,
1396
+ 59.20491364199721
1397
+ ],
1398
+ [
1399
+ 13.979281447005576,
1400
+ 59.20491364199721
1401
+ ],
1402
+ [
1403
+ 13.984449090234762,
1404
+ 59.086212877022774
1405
+ ],
1406
+ [
1407
+ 13.91892337408865,
1408
+ 58.902503160225166
1409
+ ],
1410
+ [
1411
+ 13.28268313971111,
1412
+ 58.608670966213566
1413
+ ],
1414
+ [
1415
+ 12.830100945698888,
1416
+ 58.50903880475484
1417
+ ],
1418
+ [
1419
+ 12.460149366921371,
1420
+ 58.50619660097878
1421
+ ],
1422
+ [
1423
+ 12.537767368223768,
1424
+ 58.77594757754237
1425
+ ],
1426
+ [
1427
+ 12.522161085671598,
1428
+ 58.880282294339665
1429
+ ],
1430
+ [
1431
+ 12.697085808979608,
1432
+ 58.953843695707135
1433
+ ],
1434
+ [
1435
+ 13.027039829163215,
1436
+ 58.993531195707305
1437
+ ],
1438
+ [
1439
+ 13.195298292705559,
1440
+ 59.12900096296045
1441
+ ],
1442
+ [
1443
+ 13.59144982265505,
1444
+ 59.336481838612315
1445
+ ],
1446
+ [
1447
+ 13.979281447005576,
1448
+ 59.20491364199721
1449
+ ]
1450
+ ]
1451
+ ]
1452
+ }
1453
+ },
1454
+ {
1455
+ type: "Feature",
1456
+ properties: {
1457
+ scalerank: 1,
1458
+ featurecla: "Lake",
1459
+ name: "Lake Okeechobee",
1460
+ name_alt: null,
1461
+ admin: null,
1462
+ min_zoom: 1.7,
1463
+ min_label: 3.6
1464
+ },
1465
+ geometry: {
1466
+ type: "Polygon",
1467
+ coordinates: [
1468
+ [
1469
+ [
1470
+ -80.70643775096435,
1471
+ 26.788959458924822
1472
+ ],
1473
+ [
1474
+ -80.93244462759287,
1475
+ 26.823272609966622
1476
+ ],
1477
+ [
1478
+ -80.91970638703292,
1479
+ 27.068916530866048
1480
+ ],
1481
+ [
1482
+ -80.69369951040441,
1483
+ 27.034629218040394
1484
+ ],
1485
+ [
1486
+ -80.70643775096435,
1487
+ 26.788959458924822
1488
+ ],
1489
+ [
1490
+ -80.70643775096435,
1491
+ 26.788959458924822
1492
+ ]
1493
+ ]
1494
+ ]
1495
+ }
1496
+ },
1497
+ {
1498
+ type: "Feature",
1499
+ properties: {
1500
+ scalerank: 1,
1501
+ featurecla: "Lake",
1502
+ name: "Lago de\rNicaragua",
1503
+ name_alt: null,
1504
+ admin: null,
1505
+ min_zoom: 1.7,
1506
+ min_label: 3.6
1507
+ },
1508
+ geometry: {
1509
+ type: "Polygon",
1510
+ coordinates: [
1511
+ [
1512
+ [
1513
+ -84.85548682324658,
1514
+ 11.147898667846633
1515
+ ],
1516
+ [
1517
+ -85.29013729525353,
1518
+ 11.176165676310276
1519
+ ],
1520
+ [
1521
+ -85.79132117383625,
1522
+ 11.509737046754324
1523
+ ],
1524
+ [
1525
+ -85.8851655748783,
1526
+ 11.900100816287136
1527
+ ],
1528
+ [
1529
+ -85.5653401354239,
1530
+ 11.940330918826362
1531
+ ],
1532
+ [
1533
+ -85.03684526237491,
1534
+ 11.5216484643976
1535
+ ],
1536
+ [
1537
+ -84.85548682324658,
1538
+ 11.147898667846633
1539
+ ],
1540
+ [
1541
+ -84.85548682324658,
1542
+ 11.147898667846633
1543
+ ]
1544
+ ]
1545
+ ]
1546
+ }
1547
+ },
1548
+ {
1549
+ type: "Feature",
1550
+ properties: {
1551
+ scalerank: 1,
1552
+ featurecla: "Lake",
1553
+ name: "Lake Tana",
1554
+ name_alt: null,
1555
+ admin: null,
1556
+ min_zoom: 1.7,
1557
+ min_label: 3.6
1558
+ },
1559
+ geometry: {
1560
+ type: "Polygon",
1561
+ coordinates: [
1562
+ [
1563
+ [
1564
+ 37.14370730972843,
1565
+ 11.850594794151519
1566
+ ],
1567
+ [
1568
+ 37.01482628759251,
1569
+ 12.035596421756424
1570
+ ],
1571
+ [
1572
+ 37.24401126480697,
1573
+ 12.233878892460353
1574
+ ],
1575
+ [
1576
+ 37.518361443844526,
1577
+ 12.160601711470477
1578
+ ],
1579
+ [
1580
+ 37.48187788264647,
1581
+ 11.825092474815477
1582
+ ],
1583
+ [
1584
+ 37.33635704931254,
1585
+ 11.713393866416595
1586
+ ],
1587
+ [
1588
+ 37.14370730972843,
1589
+ 11.850594794151519
1590
+ ],
1591
+ [
1592
+ 37.14370730972843,
1593
+ 11.850594794151519
1594
+ ]
1595
+ ]
1596
+ ]
1597
+ }
1598
+ },
1599
+ {
1600
+ type: "Feature",
1601
+ properties: {
1602
+ scalerank: 1,
1603
+ featurecla: "Lake",
1604
+ name: "Lago Titicaca",
1605
+ name_alt: null,
1606
+ admin: null,
1607
+ min_zoom: 1.7,
1608
+ min_label: 3.6
1609
+ },
1610
+ geometry: {
1611
+ type: "Polygon",
1612
+ coordinates: [
1613
+ [
1614
+ [
1615
+ -69.40673987494259,
1616
+ -16.126198825752063
1617
+ ],
1618
+ [
1619
+ -69.7290974595793,
1620
+ -15.928794854397104
1621
+ ],
1622
+ [
1623
+ -69.98365556504908,
1624
+ -15.73717864345884
1625
+ ],
1626
+ [
1627
+ -69.8770212470148,
1628
+ -15.669844252182529
1629
+ ],
1630
+ [
1631
+ -69.8679778713637,
1632
+ -15.546079196843493
1633
+ ],
1634
+ [
1635
+ -69.88559953477524,
1636
+ -15.35425628017606
1637
+ ],
1638
+ [
1639
+ -69.59675411647981,
1640
+ -15.410480238509614
1641
+ ],
1642
+ [
1643
+ -68.98697221543571,
1644
+ -15.885903415594846
1645
+ ],
1646
+ [
1647
+ -68.9596870591856,
1648
+ -15.91329192470954
1649
+ ],
1650
+ [
1651
+ -68.74623755560401,
1652
+ -16.356003920154023
1653
+ ],
1654
+ [
1655
+ -68.90524593776611,
1656
+ -16.506640720284835
1657
+ ],
1658
+ [
1659
+ -69.00115739609983,
1660
+ -16.536406345284952
1661
+ ],
1662
+ [
1663
+ -69.09084184434238,
1664
+ -16.461992282784657
1665
+ ],
1666
+ [
1667
+ -69.18205074733753,
1668
+ -16.40116912197712
1669
+ ],
1670
+ [
1671
+ -69.25098710801488,
1672
+ -16.227536309476427
1673
+ ],
1674
+ [
1675
+ -69.40673987494259,
1676
+ -16.126198825752063
1677
+ ],
1678
+ [
1679
+ -69.40673987494259,
1680
+ -16.126198825752063
1681
+ ]
1682
+ ]
1683
+ ]
1684
+ }
1685
+ },
1686
+ {
1687
+ type: "Feature",
1688
+ properties: {
1689
+ scalerank: 1,
1690
+ featurecla: "Lake",
1691
+ name: "Lake\rWinnipegosis",
1692
+ name_alt: null,
1693
+ admin: null,
1694
+ min_zoom: 1.7,
1695
+ min_label: 3.6
1696
+ },
1697
+ geometry: {
1698
+ type: "Polygon",
1699
+ coordinates: [
1700
+ [
1701
+ [
1702
+ -99.40377193886468,
1703
+ 53.1258531764781
1704
+ ],
1705
+ [
1706
+ -99.54846594928192,
1707
+ 53.120427151087455
1708
+ ],
1709
+ [
1710
+ -99.80498775917877,
1711
+ 53.14290639913442
1712
+ ],
1713
+ [
1714
+ -100.43146114785316,
1715
+ 53.2841897650204
1716
+ ],
1717
+ [
1718
+ -100.60685095905177,
1719
+ 53.531616522833886
1720
+ ],
1721
+ [
1722
+ -100.33487789589965,
1723
+ 53.745246893928496
1724
+ ],
1725
+ [
1726
+ -100.42673275429846,
1727
+ 53.90740753846039
1728
+ ],
1729
+ [
1730
+ -100.4044860501968,
1731
+ 53.94507965760117
1732
+ ],
1733
+ [
1734
+ -100.32629960813921,
1735
+ 54.094011135466346
1736
+ ],
1737
+ [
1738
+ -100.23586585162842,
1739
+ 54.23033356385231
1740
+ ],
1741
+ [
1742
+ -99.99549292682278,
1743
+ 54.215864162810576
1744
+ ],
1745
+ [
1746
+ -100.04778947630214,
1747
+ 54.10013479269293
1748
+ ],
1749
+ [
1750
+ -100.18356930214904,
1751
+ 53.930351874397985
1752
+ ],
1753
+ [
1754
+ -99.87128862180926,
1755
+ 53.928465684619326
1756
+ ],
1757
+ [
1758
+ -99.91066606321566,
1759
+ 53.821314602262134
1760
+ ],
1761
+ [
1762
+ -100.05649695514333,
1763
+ 53.44332733826322
1764
+ ],
1765
+ [
1766
+ -99.66551306842301,
1767
+ 53.29581696228607
1768
+ ],
1769
+ [
1770
+ -99.39317827024485,
1771
+ 53.26791168884846
1772
+ ],
1773
+ [
1774
+ -99.40377193886468,
1775
+ 53.1258531764781
1776
+ ],
1777
+ [
1778
+ -99.40377193886468,
1779
+ 53.1258531764781
1780
+ ]
1781
+ ]
1782
+ ]
1783
+ }
1784
+ },
1785
+ {
1786
+ type: "Feature",
1787
+ properties: {
1788
+ scalerank: 1,
1789
+ featurecla: "Lake",
1790
+ name: "Lake\rOnega",
1791
+ name_alt: null,
1792
+ admin: null,
1793
+ min_zoom: 1.7,
1794
+ min_label: 3.6
1795
+ },
1796
+ geometry: {
1797
+ type: "Polygon",
1798
+ coordinates: [
1799
+ [
1800
+ [
1801
+ 35.71464725112901,
1802
+ 62.2802298041189
1803
+ ],
1804
+ [
1805
+ 36.0541614112866,
1806
+ 61.716310736733874
1807
+ ],
1808
+ [
1809
+ 36.391401808423325,
1810
+ 61.27605337182331
1811
+ ],
1812
+ [
1813
+ 36.10945519383887,
1814
+ 61.01508738874924
1815
+ ],
1816
+ [
1817
+ 35.35074181492962,
1818
+ 60.948579820389625
1819
+ ],
1820
+ [
1821
+ 34.866843702948586,
1822
+ 61.11637319604125
1823
+ ],
1824
+ [
1825
+ 35.207288038887384,
1826
+ 61.114435329830485
1827
+ ],
1828
+ [
1829
+ 35.57832482274313,
1830
+ 61.08634918887975
1831
+ ],
1832
+ [
1833
+ 35.16000410334027,
1834
+ 61.39428904890701
1835
+ ],
1836
+ [
1837
+ 34.85733523940689,
1838
+ 61.55179881453273
1839
+ ],
1840
+ [
1841
+ 34.48691857273877,
1842
+ 61.86697337508076
1843
+ ],
1844
+ [
1845
+ 34.265019972477376,
1846
+ 62.21914826114994
1847
+ ],
1848
+ [
1849
+ 34.289824659977455,
1850
+ 62.29774811466581
1851
+ ],
1852
+ [
1853
+ 34.66561567560399,
1854
+ 62.22979360620195
1855
+ ],
1856
+ [
1857
+ 34.62613488133297,
1858
+ 62.45223480900245
1859
+ ],
1860
+ [
1861
+ 34.8356311378443,
1862
+ 62.29676626245225
1863
+ ],
1864
+ [
1865
+ 35.080267368314026,
1866
+ 62.1411943630377
1867
+ ],
1868
+ [
1869
+ 35.21658979669991,
1870
+ 62.193284206787894
1871
+ ],
1872
+ [
1873
+ 35.463706495919666,
1874
+ 62.2560193955901
1875
+ ],
1876
+ [
1877
+ 35.13969526544963,
1878
+ 62.48776235620312
1879
+ ],
1880
+ [
1881
+ 34.614352654770414,
1882
+ 62.762448432050576
1883
+ ],
1884
+ [
1885
+ 34.99541466649072,
1886
+ 62.748469957115674
1887
+ ],
1888
+ [
1889
+ 35.23395307795005,
1890
+ 62.675347805422575
1891
+ ],
1892
+ [
1893
+ 35.71464725112901,
1894
+ 62.2802298041189
1895
+ ]
1896
+ ]
1897
+ ]
1898
+ }
1899
+ },
1900
+ {
1901
+ type: "Feature",
1902
+ properties: {
1903
+ scalerank: 1,
1904
+ featurecla: "Lake",
1905
+ name: "Great Salt Lake",
1906
+ name_alt: null,
1907
+ admin: null,
1908
+ min_zoom: 1.7,
1909
+ min_label: 3.6
1910
+ },
1911
+ geometry: {
1912
+ type: "Polygon",
1913
+ coordinates: [
1914
+ [
1915
+ [
1916
+ -112.18405127648089,
1917
+ 41.34124949804567
1918
+ ],
1919
+ [
1920
+ -112.13875688357706,
1921
+ 41.142346910154174
1922
+ ],
1923
+ [
1924
+ -112.17193315310845,
1925
+ 40.851460272783186
1926
+ ],
1927
+ [
1928
+ -112.67882727745939,
1929
+ 41.130487168943205
1930
+ ],
1931
+ [
1932
+ -112.70549231652205,
1933
+ 41.16753917089636
1934
+ ],
1935
+ [
1936
+ -112.87814327680917,
1937
+ 41.62815705013003
1938
+ ],
1939
+ [
1940
+ -112.58955624067522,
1941
+ 41.43891795507716
1942
+ ],
1943
+ [
1944
+ -112.40532975955472,
1945
+ 41.33801972102742
1946
+ ],
1947
+ [
1948
+ -112.21901038292629,
1949
+ 41.42855683040267
1950
+ ],
1951
+ [
1952
+ -112.18405127648089,
1953
+ 41.34124949804567
1954
+ ]
1955
+ ]
1956
+ ]
1957
+ }
1958
+ },
1959
+ {
1960
+ type: "Feature",
1961
+ properties: {
1962
+ scalerank: 1,
1963
+ featurecla: "Lake",
1964
+ name: "Great\rBear Lake",
1965
+ name_alt: null,
1966
+ admin: null,
1967
+ min_zoom: 1.7,
1968
+ min_label: 3.6
1969
+ },
1970
+ geometry: {
1971
+ type: "Polygon",
1972
+ coordinates: [
1973
+ [
1974
+ [
1975
+ -117.7592923653704,
1976
+ 66.22368419052789
1977
+ ],
1978
+ [
1979
+ -117.97374955938167,
1980
+ 65.85489533147692
1981
+ ],
1982
+ [
1983
+ -118.10710059291085,
1984
+ 65.76691620550001
1985
+ ],
1986
+ [
1987
+ -119.7200520432652,
1988
+ 65.73479930283061
1989
+ ],
1990
+ [
1991
+ -119.74568355368197,
1992
+ 65.65436493596833
1993
+ ],
1994
+ [
1995
+ -119.6648099371452,
1996
+ 65.52742178004333
1997
+ ],
1998
+ [
1999
+ -119.70219783590836,
2000
+ 65.36794830999061
2001
+ ],
2002
+ [
2003
+ -121.35509436098008,
2004
+ 64.87999359807459
2005
+ ],
2006
+ [
2007
+ -121.33610327211281,
2008
+ 64.99461192489797
2009
+ ],
2010
+ [
2011
+ -120.94527441468938,
2012
+ 65.37774099390991
2013
+ ],
2014
+ [
2015
+ -121.05728308168202,
2016
+ 65.4463414577774
2017
+ ],
2018
+ [
2019
+ -122.56450374412293,
2020
+ 65.0310696478799
2021
+ ],
2022
+ [
2023
+ -123.232705851873,
2024
+ 65.18041453720339
2025
+ ],
2026
+ [
2027
+ -123.17963415590926,
2028
+ 65.31937246363624
2029
+ ],
2030
+ [
2031
+ -122.32599117087979,
2032
+ 65.79378795029179
2033
+ ],
2034
+ [
2035
+ -122.35622188377054,
2036
+ 65.90184337021411
2037
+ ],
2038
+ [
2039
+ -124.95363440005697,
2040
+ 66.04925039332666
2041
+ ],
2042
+ [
2043
+ -124.89753963280414,
2044
+ 66.15115631780624
2045
+ ],
2046
+ [
2047
+ -119.48724971579031,
2048
+ 66.96929759385118
2049
+ ],
2050
+ [
2051
+ -119.35743771042887,
2052
+ 66.87519481064767
2053
+ ],
2054
+ [
2055
+ -120.1769492193738,
2056
+ 66.46527151149239
2057
+ ],
2058
+ [
2059
+ -117.60545162643749,
2060
+ 66.55934845647975
2061
+ ],
2062
+ [
2063
+ -117.61278967982294,
2064
+ 66.41997711858856
2065
+ ],
2066
+ [
2067
+ -117.7592923653704,
2068
+ 66.22368419052789
2069
+ ],
2070
+ [
2071
+ -117.7592923653704,
2072
+ 66.22368419052789
2073
+ ]
2074
+ ]
2075
+ ]
2076
+ }
2077
+ },
2078
+ {
2079
+ type: "Feature",
2080
+ properties: {
2081
+ scalerank: 1,
2082
+ featurecla: "Lake",
2083
+ name: "Lake Athabasca",
2084
+ name_alt: null,
2085
+ admin: null,
2086
+ min_zoom: 1.7,
2087
+ min_label: 3.6
2088
+ },
2089
+ geometry: {
2090
+ type: "Polygon",
2091
+ coordinates: [
2092
+ [
2093
+ [
2094
+ -109.65330135785099,
2095
+ 59.03763703066841
2096
+ ],
2097
+ [
2098
+ -111.08626298708849,
2099
+ 58.56017263450765
2100
+ ],
2101
+ [
2102
+ -111.19948605023998,
2103
+ 58.685565497463884
2104
+ ],
2105
+ [
2106
+ -111.160005255969,
2107
+ 58.75985036888345
2108
+ ],
2109
+ [
2110
+ -109.09672034385136,
2111
+ 59.55042226830068
2112
+ ],
2113
+ [
2114
+ -106.54517066122398,
2115
+ 59.31968699811746
2116
+ ],
2117
+ [
2118
+ -106.54695349813804,
2119
+ 59.292815253325685
2120
+ ],
2121
+ [
2122
+ -109.65330135785099,
2123
+ 59.03763703066841
2124
+ ],
2125
+ [
2126
+ -109.65330135785099,
2127
+ 59.03763703066841
2128
+ ]
2129
+ ]
2130
+ ]
2131
+ }
2132
+ },
2133
+ {
2134
+ type: "Feature",
2135
+ properties: {
2136
+ scalerank: 1,
2137
+ featurecla: "Lake",
2138
+ name: "Reindeer\rLake",
2139
+ name_alt: null,
2140
+ admin: null,
2141
+ min_zoom: 1.7,
2142
+ min_label: 3.6
2143
+ },
2144
+ geometry: {
2145
+ type: "Polygon",
2146
+ coordinates: [
2147
+ [
2148
+ [
2149
+ -101.89514441608819,
2150
+ 58.01403025983099
2151
+ ],
2152
+ [
2153
+ -101.89514441608819,
2154
+ 58.01403025983099
2155
+ ],
2156
+ [
2157
+ -101.54384802936804,
2158
+ 57.86809601503873
2159
+ ],
2160
+ [
2161
+ -101.97090206582807,
2162
+ 57.34867035585697
2163
+ ],
2164
+ [
2165
+ -101.93403093138781,
2166
+ 57.23066722271848
2167
+ ],
2168
+ [
2169
+ -103.20416012247362,
2170
+ 56.34539826112639
2171
+ ],
2172
+ [
2173
+ -103.2825015938281,
2174
+ 56.40994212505895
2175
+ ],
2176
+ [
2177
+ -103.1487371488406,
2178
+ 56.70411021588043
2179
+ ],
2180
+ [
2181
+ -103.07832800984292,
2182
+ 56.71080231386223
2183
+ ],
2184
+ [
2185
+ -103.01440426309787,
2186
+ 56.56510061301529
2187
+ ],
2188
+ [
2189
+ -102.57680823445028,
2190
+ 56.938281968811054
2191
+ ],
2192
+ [
2193
+ -102.81322791218561,
2194
+ 57.28714956321349
2195
+ ],
2196
+ [
2197
+ -102.81369300007623,
2198
+ 57.46434804954232
2199
+ ],
2200
+ [
2201
+ -102.12874772826359,
2202
+ 58.01914622662788
2203
+ ],
2204
+ [
2205
+ -101.89514441608819,
2206
+ 58.01403025983099
2207
+ ]
2208
+ ]
2209
+ ]
2210
+ }
2211
+ },
2212
+ {
2213
+ type: "Feature",
2214
+ properties: {
2215
+ scalerank: 0,
2216
+ featurecla: "Lake",
2217
+ name: "Lake\rHuron",
2218
+ name_alt: null,
2219
+ admin: "admin-0",
2220
+ min_zoom: 1,
2221
+ min_label: 3
2222
+ },
2223
+ geometry: {
2224
+ type: "Polygon",
2225
+ coordinates: [
2226
+ [
2227
+ [
2228
+ -80.41056433787725,
2229
+ 45.590137437515665
2230
+ ],
2231
+ [
2232
+ -79.76292945017934,
2233
+ 44.824602769543844
2234
+ ],
2235
+ [
2236
+ -80.08500281443844,
2237
+ 44.493925279308144
2238
+ ],
2239
+ [
2240
+ -80.89769222687659,
2241
+ 44.63164297136599
2242
+ ],
2243
+ [
2244
+ -81.40233842642287,
2245
+ 45.25005483660284
2246
+ ],
2247
+ [
2248
+ -81.27567949087549,
2249
+ 44.6201708033972
2250
+ ],
2251
+ [
2252
+ -81.75265296092948,
2253
+ 44.06464915625956
2254
+ ],
2255
+ [
2256
+ -81.70017554393709,
2257
+ 43.590052802090995
2258
+ ],
2259
+ [
2260
+ -81.78272864452336,
2261
+ 43.310845038417995
2262
+ ],
2263
+ [
2264
+ -82.43000179719522,
2265
+ 42.98001251888543
2266
+ ],
2267
+ [
2268
+ -82.4799987454376,
2269
+ 43.39001333268915
2270
+ ],
2271
+ [
2272
+ -82.6599877591102,
2273
+ 43.970003770516996
2274
+ ],
2275
+ [
2276
+ -83.02999101432,
2277
+ 44.06999766700177
2278
+ ],
2279
+ [
2280
+ -83.6500048489579,
2281
+ 43.62999868425261
2282
+ ],
2283
+ [
2284
+ -83.84870073112015,
2285
+ 43.63831858985161
2286
+ ],
2287
+ [
2288
+ -83.89998959016984,
2289
+ 43.88998281511303
2290
+ ],
2291
+ [
2292
+ -83.34999732128743,
2293
+ 44.29001007748441
2294
+ ],
2295
+ [
2296
+ -83.25878841829228,
2297
+ 44.74574453386644
2298
+ ],
2299
+ [
2300
+ -83.33999793163895,
2301
+ 45.200006211928155
2302
+ ],
2303
+ [
2304
+ -84.08000444205858,
2305
+ 45.58998240821879
2306
+ ],
2307
+ [
2308
+ -84.93000423861146,
2309
+ 45.789996039404485
2310
+ ],
2311
+ [
2312
+ -84.75355506055087,
2313
+ 45.924483954444085
2314
+ ],
2315
+ [
2316
+ -84.71999121777729,
2317
+ 45.91998810483469
2318
+ ],
2319
+ [
2320
+ -83.83919226757845,
2321
+ 46.010215155616294
2322
+ ],
2323
+ [
2324
+ -84.33670711946846,
2325
+ 46.40876963966737
2326
+ ],
2327
+ [
2328
+ -84.14870825879063,
2329
+ 46.55576325132161
2330
+ ],
2331
+ [
2332
+ -83.95257036002683,
2333
+ 46.334278062518635
2334
+ ],
2335
+ [
2336
+ -83.20251278352643,
2337
+ 46.21015127215355
2338
+ ],
2339
+ [
2340
+ -82.44199072948692,
2341
+ 46.19963511818216
2342
+ ],
2343
+ [
2344
+ -81.63136837434045,
2345
+ 46.09754832618957
2346
+ ],
2347
+ [
2348
+ -80.73679765493583,
2349
+ 45.90381338152733
2350
+ ],
2351
+ [
2352
+ -80.41056433787725,
2353
+ 45.590137437515665
2354
+ ]
2355
+ ]
2356
+ ]
2357
+ }
2358
+ },
2359
+ {
2360
+ type: "Feature",
2361
+ properties: {
2362
+ scalerank: 0,
2363
+ featurecla: "Lake",
2364
+ name: "Lake\rMichigan",
2365
+ name_alt: null,
2366
+ admin: "admin-0",
2367
+ min_zoom: 1,
2368
+ min_label: 3
2369
+ },
2370
+ geometry: {
2371
+ type: "Polygon",
2372
+ coordinates: [
2373
+ [
2374
+ [
2375
+ -85.53999284538475,
2376
+ 46.03000722918408
2377
+ ],
2378
+ [
2379
+ -84.75355506055087,
2380
+ 45.924483954444085
2381
+ ],
2382
+ [
2383
+ -84.93000423861146,
2384
+ 45.789996039404485
2385
+ ],
2386
+ [
2387
+ -85.06999569369015,
2388
+ 45.40999339454619
2389
+ ],
2390
+ [
2391
+ -85.29044735384727,
2392
+ 45.30824249936349
2393
+ ],
2394
+ [
2395
+ -85.46710323763705,
2396
+ 44.81457754167923
2397
+ ],
2398
+ [
2399
+ -85.55999162468169,
2400
+ 45.150009263685774
2401
+ ],
2402
+ [
2403
+ -85.95983801954006,
2404
+ 44.91059235287753
2405
+ ],
2406
+ [
2407
+ -86.20935767286137,
2408
+ 44.574798895844935
2409
+ ],
2410
+ [
2411
+ -86.47027197950304,
2412
+ 44.08423452409818
2413
+ ],
2414
+ [
2415
+ -86.52001054558397,
2416
+ 43.65999685319804
2417
+ ],
2418
+ [
2419
+ -86.18842871778315,
2420
+ 43.04140412044818
2421
+ ],
2422
+ [
2423
+ -86.21604977084317,
2424
+ 42.38170278581012
2425
+ ],
2426
+ [
2427
+ -86.62191647006355,
2428
+ 41.8944198675139
2429
+ ],
2430
+ [
2431
+ -86.8244364082154,
2432
+ 41.75618541113313
2433
+ ],
2434
+ [
2435
+ -87.09444576694042,
2436
+ 41.64616628678374
2437
+ ],
2438
+ [
2439
+ -87.4342183092595,
2440
+ 41.640714423176945
2441
+ ],
2442
+ [
2443
+ -87.52617652052288,
2444
+ 41.70851390234388
2445
+ ],
2446
+ [
2447
+ -87.79569495314115,
2448
+ 42.23411489518453
2449
+ ],
2450
+ [
2451
+ -87.80344641798493,
2452
+ 42.49399567318035
2453
+ ],
2454
+ [
2455
+ -87.77672970249003,
2456
+ 42.740853990238634
2457
+ ],
2458
+ [
2459
+ -87.90214840366241,
2460
+ 43.23051402442029
2461
+ ],
2462
+ [
2463
+ -87.71221167677363,
2464
+ 43.79650014909703
2465
+ ],
2466
+ [
2467
+ -87.486359829442,
2468
+ 44.49335683855294
2469
+ ],
2470
+ [
2471
+ -86.9674767727993,
2472
+ 45.26287059181122
2473
+ ],
2474
+ [
2475
+ -87.11806189649782,
2476
+ 45.25933075619923
2477
+ ],
2478
+ [
2479
+ -87.85282324903983,
2480
+ 44.61505483660031
2481
+ ],
2482
+ [
2483
+ -87.98831885450912,
2484
+ 44.73331635190026
2485
+ ],
2486
+ [
2487
+ -87.5964306302237,
2488
+ 45.093707790703775
2489
+ ],
2490
+ [
2491
+ -87.00000708692704,
2492
+ 45.73999909116209
2493
+ ],
2494
+ [
2495
+ -86.31999691439827,
2496
+ 45.829993597998396
2497
+ ],
2498
+ [
2499
+ -85.53999284538475,
2500
+ 46.03000722918408
2501
+ ]
2502
+ ]
2503
+ ]
2504
+ }
2505
+ }
2506
+ ], i0 = {
2507
+ type: o0,
2508
+ features: l0
2509
+ }, s0 = (i) => (V("data-v-9e87b817"), i = i(), K(), i), c0 = { class: "kong-ui-public-analytics-geo-map" }, u0 = /* @__PURE__ */ s0(() => /* @__PURE__ */ N("div", {
75
2510
  id: "mapContainer",
76
2511
  class: "analytics-geo-map-container"
77
- }, null, -1)), ce = {
2512
+ }, null, -1)), m0 = {
78
2513
  key: 0,
79
2514
  class: "legend"
80
- }, le = {
2515
+ }, p0 = {
81
2516
  key: 0,
82
2517
  class: "legend-title"
83
- }, ue = { class: "legend-text" }, pe = /* @__PURE__ */ A({
2518
+ }, y0 = { class: "legend-text" }, d0 = /* @__PURE__ */ w({
84
2519
  __name: "AnalyticsGeoMap",
85
2520
  props: {
86
2521
  countryMetrics: {
@@ -121,82 +2556,82 @@ const C = /* @__PURE__ */ ae(ne), oe = (i) => (K("data-v-017cc3b6"), i = i(), V(
121
2556
  }
122
2557
  },
123
2558
  setup(i) {
124
- const n = i, e = E(), { i18n: m } = re.useI18n(), M = h(() => ({
2559
+ const r = i, e = A(), { i18n: g } = t0.useI18n(), L = v(() => ({
125
2560
  "fill-color": [
126
2561
  "match",
127
2562
  ["get", "iso_a2"],
128
- ...Object.keys(n.countryMetrics).length ? Object.entries(n.countryMetrics).flatMap(([s, a]) => [
129
- s,
130
- b(a)
2563
+ ...Object.keys(r.countryMetrics).length ? Object.entries(r.countryMetrics).flatMap(([o, n]) => [
2564
+ o,
2565
+ h(n)
131
2566
  ]) : ["#ccc", "#ccc"],
132
2567
  "#ccc"
133
2568
  // default color if no match
134
2569
  ],
135
2570
  "fill-opacity": 0.7
136
- })), R = h(() => n.withLegend && Object.keys(n.countryMetrics).length > 0), f = h(() => Math.log(Math.min(...Object.values(n.countryMetrics)))), L = h(() => Math.log(Math.max(...Object.values(n.countryMetrics)))), b = (s) => {
137
- const a = Math.log(s), c = (L.value - f.value) / 5;
138
- return a >= f.value + 4 * c ? "#296378" : a >= f.value + 3 * c ? "#0D8093" : a >= f.value + 2 * c ? "#009FA9" : a >= f.value + 1 * c ? "#00BDB7" : "#0CDCBD";
139
- }, t = h(() => n.metric && m.t(`metrics.${n.metric}`) || ""), r = h(() => {
140
- const a = (L.value - f.value) / 5, l = [
141
- f.value + 4 * a,
142
- f.value + 3 * a,
143
- f.value + 2 * a,
144
- f.value + 1 * a,
145
- f.value
2571
+ })), B = v(() => r.withLegend && Object.keys(r.countryMetrics).length > 0), p = v(() => Math.log(Math.min(...Object.values(r.countryMetrics)))), b = v(() => Math.log(Math.max(...Object.values(r.countryMetrics)))), h = (o) => {
2572
+ const n = Math.log(o), s = (b.value - p.value) / 5;
2573
+ return n >= p.value + 4 * s ? "#296378" : n >= p.value + 3 * s ? "#0D8093" : n >= p.value + 2 * s ? "#009FA9" : n >= p.value + 1 * s ? "#00BDB7" : "#0CDCBD";
2574
+ }, a = v(() => r.metric && g.t(`metrics.${r.metric}`) || ""), t = v(() => {
2575
+ const n = (b.value - p.value) / 5, c = [
2576
+ p.value + 4 * n,
2577
+ p.value + 3 * n,
2578
+ p.value + 2 * n,
2579
+ p.value + 1 * n,
2580
+ p.value
146
2581
  ];
147
- return l.map((c, d) => {
148
- const y = d === 0 ? L.value : l[d - 1];
149
- let v = "";
150
- return d === 0 ? v = `> ${C(Math.trunc(Math.exp(c)), { capital: !0 })}` : d === l.length - 1 ? v = `< ${C(Math.trunc(Math.exp(y)), { capital: !0 })}` : v = `${C(Math.trunc(Math.exp(c)), { capital: !0 })} - ${C(Math.trunc(Math.exp(y)), { capital: !0 })}`, {
151
- color: b(Math.exp(c)),
152
- range: v
2582
+ return c.map((s, y) => {
2583
+ const f = y === 0 ? b.value : c[y - 1];
2584
+ let d = "";
2585
+ return y === 0 ? d = `> ${q(Math.trunc(Math.exp(s)), { capital: !0 })}` : y === c.length - 1 ? d = `< ${q(Math.trunc(Math.exp(f)), { capital: !0 })}` : d = `${q(Math.trunc(Math.exp(s)), { capital: !0 })} - ${q(Math.trunc(Math.exp(f)), { capital: !0 })}`, {
2586
+ color: h(Math.exp(s)),
2587
+ range: d
153
2588
  };
154
2589
  });
155
- }), o = (s) => {
156
- const a = s.flat(1);
157
- return Array.isArray(a[0]) && Array.isArray(a[0][0]) ? o(a) : a;
158
- }, u = (s) => {
159
- var l, c, d, y, v, S;
160
- if (s === "RU") {
161
- (l = e.value) == null || l.fitBounds([
2590
+ }), l = (o) => {
2591
+ const n = o.flat(1);
2592
+ return Array.isArray(n[0]) && Array.isArray(n[0][0]) ? l(n) : n;
2593
+ }, u = (o) => {
2594
+ var c, s, y, f, d, M;
2595
+ if (o === "RU") {
2596
+ (c = e.value) == null || c.fitBounds([
162
2597
  [20, 40],
163
2598
  [180, 80]
164
2599
  ]);
165
2600
  return;
166
- } else if (s === "US") {
167
- (c = e.value) == null || c.fitBounds([
2601
+ } else if (o === "US") {
2602
+ (s = e.value) == null || s.fitBounds([
168
2603
  [-130, 20],
169
2604
  [-60, 50]
170
2605
  ]);
171
2606
  return;
172
- } else if (s === "FR") {
173
- (d = e.value) == null || d.fitBounds([
2607
+ } else if (o === "FR") {
2608
+ (y = e.value) == null || y.fitBounds([
174
2609
  [-5, 42],
175
2610
  [9, 51]
176
2611
  ]);
177
2612
  return;
178
- } else if (s === "NO") {
179
- (y = e.value) == null || y.fitBounds([
2613
+ } else if (o === "NO") {
2614
+ (f = e.value) == null || f.fitBounds([
180
2615
  [4, 57],
181
2616
  [32, 71]
182
2617
  ]);
183
2618
  return;
184
2619
  }
185
- const a = n.geoJsonData.features.find((_) => {
186
- var g;
187
- return ((g = _.properties) == null ? void 0 : g.iso_a2) === s;
2620
+ const n = r.geoJsonData.features.find((k) => {
2621
+ var _;
2622
+ return ((_ = k.properties) == null ? void 0 : _.iso_a2) === o;
188
2623
  });
189
- if (a) {
190
- const _ = (v = a.geometry) == null ? void 0 : v.coordinates;
191
- if (!_) return;
192
- const g = o(_), x = g.map((N) => N[1]), T = g.map((N) => N[0]), B = Math.min(...x), q = Math.max(...x), z = Math.min(...T), $ = Math.max(...T);
193
- (S = e.value) == null || S.fitBounds([
194
- [z, B],
195
- [$, q]
2624
+ if (n) {
2625
+ const k = (d = n.geometry) == null ? void 0 : d.coordinates;
2626
+ if (!k) return;
2627
+ const _ = l(k), F = _.map((S) => S[1]), z = _.map((S) => S[0]), T = Math.min(...F), R = Math.max(...F), C = Math.min(...z), P = Math.max(...z);
2628
+ (M = e.value) == null || M.fitBounds([
2629
+ [C, T],
2630
+ [P, R]
196
2631
  ]);
197
2632
  }
198
- }, p = h(() => {
199
- const s = {
2633
+ }, m = v(() => {
2634
+ const o = {
200
2635
  container: "mapContainer",
201
2636
  style: { version: 8, sources: {}, layers: [] },
202
2637
  attributionControl: !1,
@@ -207,76 +2642,94 @@ const C = /* @__PURE__ */ ae(ne), oe = (i) => (K("data-v-017cc3b6"), i = i(), V(
207
2642
  [179, 90]
208
2643
  ]
209
2644
  };
210
- return n.bounds && (s.bounds = n.bounds), s;
2645
+ return r.bounds && (o.bounds = r.bounds), o;
211
2646
  });
212
- return F(() => {
213
- var s, a, l;
214
- e.value = new G(p.value), e.value.on("load", () => {
215
- var d, y, v, S;
216
- (d = e.value) == null || d.addSource("countries", {
2647
+ return $(() => {
2648
+ var o, n, c;
2649
+ e.value = new J(m.value), e.value.on("load", () => {
2650
+ var y, f, d, M, k, _;
2651
+ (y = e.value) == null || y.addSource("countries", {
217
2652
  type: "geojson",
218
- data: n.geoJsonData
219
- }), (y = e.value) == null || y.addLayer({
2653
+ data: r.geoJsonData
2654
+ }), (f = e.value) == null || f.addLayer({
220
2655
  id: "countries-layer",
221
2656
  type: "fill",
222
2657
  source: "countries",
223
- paint: M.value
2658
+ paint: L.value
2659
+ }), (d = e.value) == null || d.addSource("lakes", {
2660
+ type: "geojson",
2661
+ data: i0
2662
+ }), (M = e.value) == null || M.addLayer({
2663
+ id: "lakes-layer",
2664
+ type: "fill",
2665
+ source: "lakes",
2666
+ paint: {
2667
+ "fill-color": "#FFFFFF"
2668
+ }
224
2669
  });
225
- const c = new Z({
2670
+ const s = new W({
226
2671
  closeButton: !1,
227
2672
  closeOnClick: !1
228
2673
  });
229
- (v = e.value) == null || v.on("mousemove", "countries-layer", (_) => {
230
- var x;
231
- const g = (x = _.features) == null ? void 0 : x[0];
232
- if (g) {
233
- const { iso_a2: T, admin: B } = g.properties, q = n.countryMetrics[T];
234
- if (q !== void 0) {
235
- const z = n.showTooltipValue ? `<strong>${B}</strong>: ${C(q, { capital: !0 })} ${m.t(`metricUnits.${n.metricUnit}`, { plural: q > 1 ? "s" : "" })}` : `<strong>${B}</strong>`;
236
- c.setLngLat(_.lngLat).setHTML(z).addTo(e.value);
2674
+ (k = e.value) == null || k.on("mousemove", "countries-layer", (F) => {
2675
+ var T;
2676
+ const z = (T = F.features) == null ? void 0 : T[0];
2677
+ if (z) {
2678
+ const { iso_a2: R, admin: C } = z.properties, P = r.countryMetrics[R];
2679
+ if (P !== void 0) {
2680
+ const S = r.showTooltipValue ? `<strong>${C}</strong>: ${q(P, { capital: !0 })} ${g.t(`metricUnits.${r.metricUnit}`, { plural: P > 1 ? "s" : "" })}` : `<strong>${C}</strong>`;
2681
+ s.setLngLat(F.lngLat).setHTML(S).addTo(e.value);
237
2682
  } else
238
- c.remove();
2683
+ s.remove();
239
2684
  }
240
- }), (S = e.value) == null || S.on("mouseleave", "countries-layer", () => {
241
- c.remove();
242
- }), n.fitToCountry && u(n.fitToCountry);
243
- }), (s = e.value) == null || s.dragRotate.disable(), (a = e.value) == null || a.keyboard.disable(), (l = e.value) == null || l.touchZoomRotate.disableRotation();
244
- }), U(() => n.countryMetrics, () => {
2685
+ }), (_ = e.value) == null || _.on("mouseleave", "countries-layer", () => {
2686
+ s.remove();
2687
+ }), r.fitToCountry && u(r.fitToCountry);
2688
+ }), (o = e.value) == null || o.dragRotate.disable(), (n = e.value) == null || n.keyboard.disable(), (c = e.value) == null || c.touchZoomRotate.disableRotation();
2689
+ }), D(() => r.countryMetrics, () => {
2690
+ var o;
245
2691
  e.value && e.value.isStyleLoaded() && (e.value.getLayer("countries-layer") && e.value.removeLayer("countries-layer"), e.value.addLayer({
246
2692
  id: "countries-layer",
247
2693
  type: "fill",
248
2694
  source: "countries",
249
- paint: M.value
2695
+ paint: L.value
2696
+ }), e.value.removeLayer("lakes-layer"), (o = e.value) == null || o.addLayer({
2697
+ id: "lakes-layer",
2698
+ type: "fill",
2699
+ source: "lakes",
2700
+ paint: {
2701
+ "fill-color": "#FFFFFF"
2702
+ }
250
2703
  }));
251
- }), U(() => n.fitToCountry, (s) => {
252
- var a, l, c;
253
- e.value && s ? u(s) : !p.value.center && !p.value.zoom ? (a = e.value) == null || a.fitBounds([
2704
+ }), D(() => r.fitToCountry, (o) => {
2705
+ var n, c, s;
2706
+ e.value && o ? u(o) : !m.value.center && !m.value.zoom ? (n = e.value) == null || n.fitBounds([
254
2707
  [-180, -90],
255
2708
  [180, 90]
256
- ]) : (p.value.zoom && ((l = e.value) == null || l.setZoom(p.value.zoom)), p.value.center && ((c = e.value) == null || c.flyTo({ center: p.value.center })));
257
- }), (s, a) => (O(), k("div", se, [
258
- ie,
259
- R.value ? (O(), k("div", ce, [
260
- i.metric ? (O(), k("div", le, I(t.value), 1)) : j("", !0),
261
- (O(!0), k(P, null, H(r.value, (l, c) => (O(), k("div", {
262
- key: c,
2709
+ ]) : (m.value.zoom && ((c = e.value) == null || c.setZoom(m.value.zoom)), m.value.center && ((s = e.value) == null || s.flyTo({ center: m.value.center })));
2710
+ }), (o, n) => (x(), O("div", c0, [
2711
+ u0,
2712
+ B.value ? (x(), O("div", m0, [
2713
+ i.metric ? (x(), O("div", p0, U(a.value), 1)) : j("", !0),
2714
+ (x(!0), O(E, null, G(t.value, (c, s) => (x(), O("div", {
2715
+ key: s,
263
2716
  class: "legend-item"
264
2717
  }, [
265
- D("span", {
2718
+ N("span", {
266
2719
  class: "legend-color",
267
- style: J({ backgroundColor: l.color })
2720
+ style: H({ backgroundColor: c.color })
268
2721
  }, null, 4),
269
- D("span", ue, I(l.range), 1)
2722
+ N("span", y0, U(c.range), 1)
270
2723
  ]))), 128))
271
2724
  ])) : j("", !0)
272
2725
  ]));
273
2726
  }
274
- }), fe = (i, n) => {
2727
+ }), f0 = (i, r) => {
275
2728
  const e = i.__vccOpts || i;
276
- for (const [m, M] of n)
277
- e[m] = M;
2729
+ for (const [g, L] of r)
2730
+ e[g] = L;
278
2731
  return e;
279
- }, ge = /* @__PURE__ */ fe(pe, [["__scopeId", "data-v-017cc3b6"]]);
2732
+ }, v0 = /* @__PURE__ */ f0(d0, [["__scopeId", "data-v-9e87b817"]]);
280
2733
  export {
281
- ge as AnalyticsGeoMap
2734
+ v0 as AnalyticsGeoMap
282
2735
  };