@kong-ui-public/analytics-geo-map 1.4.16-pr.2582.b7f4be1f1.0 → 1.4.16

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.
Files changed (31) hide show
  1. package/dist/countries-simple-geo-BFUDnSiE.js +4 -0
  2. package/dist/style.css +1 -0
  3. package/dist/types/components/AnalyticsGeoMap.vue.d.ts +33 -0
  4. package/dist/types/components/AnalyticsGeoMap.vue.d.ts.map +1 -0
  5. package/dist/types/components/MapLegend.vue.d.ts +12 -0
  6. package/dist/types/components/MapLegend.vue.d.ts.map +1 -0
  7. package/dist/types/components/MapTooltip.vue.d.ts +15 -0
  8. package/dist/types/components/MapTooltip.vue.d.ts.map +1 -0
  9. package/dist/types/composables/index.d.ts +8 -0
  10. package/dist/types/composables/index.d.ts.map +1 -0
  11. package/dist/types/composables/useI18n.d.ts +9 -0
  12. package/dist/types/composables/useI18n.d.ts.map +1 -0
  13. package/dist/types/composables/useMetricUtils.d.ts +16 -0
  14. package/dist/types/composables/useMetricUtils.d.ts.map +1 -0
  15. package/dist/types/index.d.ts +5 -0
  16. package/dist/types/index.d.ts.map +1 -0
  17. package/dist/types/types/index.d.ts +5 -0
  18. package/dist/types/types/index.d.ts.map +1 -0
  19. package/dist/types/types/map-options.d.ts +5 -0
  20. package/dist/types/types/map-options.d.ts.map +1 -0
  21. package/dist/types/types/metric-units.d.ts +2 -0
  22. package/dist/types/types/metric-units.d.ts.map +1 -0
  23. package/dist/types/utils/debounce.d.ts +2 -0
  24. package/dist/types/utils/debounce.d.ts.map +1 -0
  25. package/dist/types/utils/explore-to-country-metrics.d.ts +3 -0
  26. package/dist/types/utils/explore-to-country-metrics.d.ts.map +1 -0
  27. package/dist/types/utils/index.d.ts +3 -0
  28. package/dist/types/utils/index.d.ts.map +1 -0
  29. package/dist/vitals-geo-map.es.js +4886 -0
  30. package/dist/vitals-geo-map.umd.js +1 -0
  31. package/package.json +2 -2
@@ -0,0 +1,4886 @@
1
+ import { computed as C, defineComponent as Tt, createElementBlock as ae, openBlock as j, createCommentVNode as De, toDisplayString as ce, Fragment as jr, renderList as Kr, createElementVNode as J, normalizeStyle as $r, useCssVars as Wr, toRef as Xt, ref as Se, useId as Zr, onMounted as qr, watch as ut, createBlock as Qt, renderSlot as ct, createVNode as Jr, unref as ue, createTextVNode as Xr } from "vue";
2
+ import { Map as Qr } from "maplibre-gl";
3
+ import { createI18n as ea, i18nTComponent as ta } from "@kong-ui-public/i18n";
4
+ import { AnalyticsIcon as na } from "@kong/icons";
5
+ const ra = {
6
+ ms: "ms",
7
+ bytes: "Byte{plural}",
8
+ count: "request{plural}",
9
+ "count/minute": "rpm",
10
+ requests: "request{plural}"
11
+ }, aa = {
12
+ request_count: "Request count",
13
+ request_per_minute: "Requests per minute",
14
+ response_latency_average: "Response latency (avg)",
15
+ response_latency_p99: "Response latency (p99)",
16
+ response_latency_p95: "Response latency (p95)",
17
+ response_latency_p50: "Response latency (p50)",
18
+ kong_latency_average: "Kong latency (avg)",
19
+ kong_latency_p99: "Kong latency (p99)",
20
+ kong_latency_p95: "Kong latency (p95)",
21
+ kong_latency_p50: "Kong latency (p50)",
22
+ upstream_latency_average: "Upstream latency (avg)",
23
+ upstream_latency_p99: "Upstream latency (p99)",
24
+ upstream_latency_p95: "Upstream latency (p95)",
25
+ upstream_latency_p50: "Upstream latency (p50)",
26
+ response_size_average: "Response size (avg)",
27
+ response_size_p99: "Response size (p99)",
28
+ response_size_p95: "Response size (p95)",
29
+ response_size_p50: "Response size (p50)",
30
+ response_size_sum: "Response size (sum)",
31
+ request_size_average: "Request size (avg)",
32
+ request_size_p99: "Request size (p99)",
33
+ request_size_p95: "Request size (p95)",
34
+ request_size_p50: "Request size (p50)",
35
+ request_size_sum: "Request size (sum)"
36
+ }, ia = {
37
+ windows_zoom_help_text: "Use Ctrl + Scroll to zoom the map",
38
+ mac_zoom_help_text: "Use ⌘ + Scroll to zoom the map",
39
+ mobile_zoom_help_text: "Use two fingers to zoom the map"
40
+ }, oa = "No location", sa = "No location data found.", la = {
41
+ metricUnits: ra,
42
+ metrics: aa,
43
+ cooperative_gestures: ia,
44
+ no_location_data: oa,
45
+ no_location_data_description: sa
46
+ };
47
+ function ua() {
48
+ const e = ea("en-us", la);
49
+ return {
50
+ i18n: e,
51
+ i18nT: ta(e)
52
+ // Translation component <i18n-t>
53
+ };
54
+ }
55
+ function wn(e) {
56
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
57
+ }
58
+ var xn = { exports: {} };
59
+ (function(e) {
60
+ (function() {
61
+ function t(m, u) {
62
+ if (u.separator === !1 || m < 1e3)
63
+ return m.toString();
64
+ var f = typeof u.separator == "string" ? u.separator : ",", _ = [], v = Math.round(m).toString().split("");
65
+ return v.reverse().forEach(function(F, N) {
66
+ N && N % 3 === 0 && _.push(f), _.push(F);
67
+ }), _.reverse().join("");
68
+ }
69
+ function n(m, u, f) {
70
+ var _ = m / u, v = f.round ? "round" : "floor";
71
+ return f.decimal === !1 ? (m = Math[v](_), m.toString()) : (f.precision ? m = _ : m = _ < 10 ? Math[v](_ * 10) / 10 : Math[v](_), m = m.toString(), typeof f.decimal == "string" && (m = m.replace(".", f.decimal)), m);
72
+ }
73
+ var a = 1e3, i = 1e4, s = 1e6, c = 1e9, d = 1e12;
74
+ function y(m, u) {
75
+ var f;
76
+ u = u || {};
77
+ var _ = m < 0;
78
+ _ && (m = Math.abs(m)), u.precision && (m = parseFloat(m.toPrecision(u.precision)));
79
+ var v = u.min10k ? i : a;
80
+ return m < v || u.precision && u.precision > Math.log10(m) ? f = t(n(m, 1, u), u) : m < s ? f = n(m, a, u) + "k" : m < c ? f = n(m, s, u) + "m" : m < d ? f = t(n(m, c, u), u) + "b" : f = t(n(m, d, u), u) + "t", _ && (f = "-" + f), u.capital && (f = f.toUpperCase()), u.prefix && (f = u.prefix + f), u.suffix && (f = f + u.suffix), f;
81
+ }
82
+ y.addCommas = t, e.exports = y;
83
+ })();
84
+ })(xn);
85
+ var ca = xn.exports;
86
+ const da = /* @__PURE__ */ wn(ca);
87
+ var ma = Object.defineProperty, fa = (e, t, n) => t in e ? ma(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, G = (e, t, n) => fa(e, typeof t != "symbol" ? t + "" : t, n), p = /* @__PURE__ */ ((e) => (e.FIFTEEN_MIN = "15m", e.ONE_HOUR = "1h", e.SIX_HOUR = "6h", e.TWELVE_HOUR = "12h", e.ONE_DAY = "24h", e.SEVEN_DAY = "7d", e.THIRTY_DAY = "30d", e.NINETY_DAY = "90d", e.ONE_HUNDRED_EIGHTY_DAY = "180d", e.ONE_YEAR = "365d", e.CURRENT_WEEK = "current_week", e.CURRENT_MONTH = "current_month", e.CURRENT_QUARTER = "current_quarter", e.CURRENT_YEAR = "current_year", e.PREVIOUS_WEEK = "previous_week", e.PREVIOUS_MONTH = "previous_month", e.PREVIOUS_QUARTER = "previous_quarter", e.PREVIOUS_YEAR = "previous_year", e))(p || {});
88
+ const ha = ["in", "not_in", "selector"], pa = ["empty", "not_empty"], ya = [
89
+ "15m",
90
+ "1h",
91
+ "6h",
92
+ "12h",
93
+ "24h",
94
+ "7d",
95
+ "current_week",
96
+ "previous_week",
97
+ "30d",
98
+ "current_month",
99
+ "previous_month"
100
+ ], Re = (e) => e.filter((t) => t !== "time"), Tn = [
101
+ "api",
102
+ "api_product",
103
+ "api_product_version",
104
+ "control_plane",
105
+ "control_plane_group",
106
+ "data_plane_node",
107
+ "gateway_service",
108
+ "portal",
109
+ "route",
110
+ "status_code",
111
+ "status_code_grouped",
112
+ "time"
113
+ ], Mn = Re(Tn), _a = [
114
+ ...Tn,
115
+ "application",
116
+ "consumer",
117
+ "country_code",
118
+ "upstream_status_code",
119
+ "upstream_status_code_grouped",
120
+ "response_source",
121
+ "data_plane_node_version",
122
+ "realm"
123
+ ], Fn = Re(_a), ga = [
124
+ "control_plane",
125
+ "control_plane_group",
126
+ "gateway_service",
127
+ "consumer",
128
+ "application",
129
+ "route",
130
+ "ai_provider",
131
+ "ai_response_model",
132
+ "ai_request_model",
133
+ "llm_cache_status",
134
+ "llm_embeddings_provider",
135
+ "llm_embeddings_model",
136
+ "time",
137
+ "realm",
138
+ "status_code",
139
+ "status_code_grouped",
140
+ "ai_plugin"
141
+ ], Sn = Re(ga), va = [
142
+ "api",
143
+ "api_product",
144
+ "api_product_version",
145
+ "application",
146
+ "auth_type",
147
+ "client_ip",
148
+ "consumer",
149
+ "consumer_group",
150
+ "control_plane",
151
+ "control_plane_group",
152
+ "country_code",
153
+ "data_plane_node",
154
+ "data_plane_node_version",
155
+ "gateway_service",
156
+ "header_host",
157
+ "header_user_agent",
158
+ "http_method",
159
+ "portal",
160
+ "realm",
161
+ "request_id",
162
+ "request_uri",
163
+ "response_header_content_type",
164
+ "response_source",
165
+ "route",
166
+ "service_port",
167
+ "service_protocol",
168
+ "sse",
169
+ "status_code_grouped",
170
+ "time",
171
+ "trace_id",
172
+ "upstream_uri",
173
+ "upstream_status_code_grouped",
174
+ "websocket"
175
+ ];
176
+ Re(va);
177
+ const wa = [
178
+ "ai_count",
179
+ "latencies_response_ms",
180
+ "latencies_upstream_ms",
181
+ "latencies_kong_gateway_ms",
182
+ "request_body_size",
183
+ "response_body_size",
184
+ "response_header_content_length",
185
+ "status_code",
186
+ "upstream_status_code"
187
+ ];
188
+ Re(wa);
189
+ new Set(Mn), new Set(Fn), new Set(Sn);
190
+ const Mt = [
191
+ { code: "AF", name: "Afghanistan" },
192
+ { code: "AX", name: "Aland Islands" },
193
+ { code: "AL", name: "Albania" },
194
+ { code: "DZ", name: "Algeria" },
195
+ { code: "AS", name: "American Samoa" },
196
+ { code: "AD", name: "Andorra" },
197
+ { code: "AO", name: "Angola" },
198
+ { code: "AI", name: "Anguilla" },
199
+ { code: "AQ", name: "Antarctica" },
200
+ { code: "AG", name: "Antigua and Barbuda" },
201
+ { code: "AR", name: "Argentina" },
202
+ { code: "AM", name: "Armenia" },
203
+ { code: "AW", name: "Aruba" },
204
+ { code: "AU", name: "Australia" },
205
+ { code: "AT", name: "Austria" },
206
+ { code: "AZ", name: "Azerbaijan" },
207
+ { code: "BS", name: "Bahamas" },
208
+ { code: "BH", name: "Bahrain" },
209
+ { code: "BD", name: "Bangladesh" },
210
+ { code: "BB", name: "Barbados" },
211
+ { code: "BY", name: "Belarus" },
212
+ { code: "BE", name: "Belgium" },
213
+ { code: "BZ", name: "Belize" },
214
+ { code: "BJ", name: "Benin" },
215
+ { code: "BM", name: "Bermuda" },
216
+ { code: "BT", name: "Bhutan" },
217
+ { code: "BO", name: "Bolivia" },
218
+ { code: "BA", name: "Bosnia and Herzegovina" },
219
+ { code: "BW", name: "Botswana" },
220
+ { code: "BV", name: "Bouvet Island" },
221
+ { code: "BR", name: "Brazil" },
222
+ { code: "IO", name: "British Indian Ocean Territory" },
223
+ { code: "BN", name: "Brunei Darussalam" },
224
+ { code: "BG", name: "Bulgaria" },
225
+ { code: "BF", name: "Burkina Faso" },
226
+ { code: "BI", name: "Burundi" },
227
+ { code: "KH", name: "Cambodia" },
228
+ { code: "CM", name: "Cameroon" },
229
+ { code: "CA", name: "Canada" },
230
+ { code: "CV", name: "Cape Verde" },
231
+ { code: "KY", name: "Cayman Islands" },
232
+ { code: "CF", name: "Central African Republic" },
233
+ { code: "TD", name: "Chad" },
234
+ { code: "CL", name: "Chile" },
235
+ { code: "CN", name: "China" },
236
+ { code: "CX", name: "Christmas Island" },
237
+ { code: "CC", name: "Cocos (Keeling) Islands" },
238
+ { code: "CO", name: "Colombia" },
239
+ { code: "KM", name: "Comoros" },
240
+ { code: "CG", name: "Congo" },
241
+ { code: "CD", name: "Democratic Republic of the Congo" },
242
+ { code: "CK", name: "Cook Islands" },
243
+ { code: "CR", name: "Costa Rica" },
244
+ { code: "CI", name: "Cote d'Ivoire" },
245
+ { code: "HR", name: "Croatia" },
246
+ { code: "CU", name: "Cuba" },
247
+ { code: "CY", name: "Cyprus" },
248
+ { code: "CZ", name: "Czech Republic" },
249
+ { code: "DK", name: "Denmark" },
250
+ { code: "DJ", name: "Djibouti" },
251
+ { code: "DM", name: "Dominica" },
252
+ { code: "DO", name: "Dominican Republic" },
253
+ { code: "EC", name: "Ecuador" },
254
+ { code: "EG", name: "Egypt" },
255
+ { code: "SV", name: "El Salvador" },
256
+ { code: "GQ", name: "Equatorial Guinea" },
257
+ { code: "ER", name: "Eritrea" },
258
+ { code: "EE", name: "Estonia" },
259
+ { code: "ET", name: "Ethiopia" },
260
+ { code: "FK", name: "Falkland Islands (Malvinas)" },
261
+ { code: "FO", name: "Faroe Islands" },
262
+ { code: "FJ", name: "Fiji" },
263
+ { code: "FI", name: "Finland" },
264
+ { code: "FR", name: "France" },
265
+ { code: "GF", name: "French Guiana" },
266
+ { code: "PF", name: "French Polynesia" },
267
+ { code: "TF", name: "French Southern Territories" },
268
+ { code: "GA", name: "Gabon" },
269
+ { code: "GM", name: "Gambia" },
270
+ { code: "GE", name: "Georgia" },
271
+ { code: "DE", name: "Germany" },
272
+ { code: "GH", name: "Ghana" },
273
+ { code: "GI", name: "Gibraltar" },
274
+ { code: "GR", name: "Greece" },
275
+ { code: "GL", name: "Greenland" },
276
+ { code: "GD", name: "Grenada" },
277
+ { code: "GP", name: "Guadeloupe" },
278
+ { code: "GU", name: "Guam" },
279
+ { code: "GT", name: "Guatemala" },
280
+ { code: "GG", name: "Guernsey" },
281
+ { code: "GN", name: "Guinea" },
282
+ { code: "GW", name: "Guinea-Bissau" },
283
+ { code: "GY", name: "Guyana" },
284
+ { code: "HT", name: "Haiti" },
285
+ { code: "HM", name: "Heard Island and McDonald Islands" },
286
+ { code: "VA", name: "The Vatican" },
287
+ { code: "HN", name: "Honduras" },
288
+ { code: "HK", name: "Hong Kong" },
289
+ { code: "HU", name: "Hungary" },
290
+ { code: "IS", name: "Iceland" },
291
+ { code: "IN", name: "India" },
292
+ { code: "ID", name: "Indonesia" },
293
+ { code: "IR", name: "Iran" },
294
+ { code: "IQ", name: "Iraq" },
295
+ { code: "IE", name: "Ireland" },
296
+ { code: "IM", name: "Isle of Man" },
297
+ { code: "IL", name: "Israel" },
298
+ { code: "IT", name: "Italy" },
299
+ { code: "JM", name: "Jamaica" },
300
+ { code: "JP", name: "Japan" },
301
+ { code: "JE", name: "Jersey" },
302
+ { code: "JO", name: "Jordan" },
303
+ { code: "KZ", name: "Kazakhstan" },
304
+ { code: "KE", name: "Kenya" },
305
+ { code: "KI", name: "Kiribati" },
306
+ { code: "KP", name: "North Korea" },
307
+ { code: "KR", name: "South Korea" },
308
+ { code: "KW", name: "Kuwait" },
309
+ { code: "KG", name: "Kyrgyzstan" },
310
+ { code: "LA", name: "Laos" },
311
+ { code: "LV", name: "Latvia" },
312
+ { code: "LB", name: "Lebanon" },
313
+ { code: "LS", name: "Lesotho" },
314
+ { code: "LR", name: "Liberia" },
315
+ { code: "LY", name: "Libya" },
316
+ { code: "LI", name: "Liechtenstein" },
317
+ { code: "LT", name: "Lithuania" },
318
+ { code: "LU", name: "Luxembourg" },
319
+ { code: "MO", name: "Macao" },
320
+ { code: "MK", name: "Macedonia" },
321
+ { code: "MG", name: "Madagascar" },
322
+ { code: "MW", name: "Malawi" },
323
+ { code: "MY", name: "Malaysia" },
324
+ { code: "MV", name: "Maldives" },
325
+ { code: "ML", name: "Mali" },
326
+ { code: "MT", name: "Malta" },
327
+ { code: "MH", name: "Marshall Islands" },
328
+ { code: "MQ", name: "Martinique" },
329
+ { code: "MR", name: "Mauritania" },
330
+ { code: "MU", name: "Mauritius" },
331
+ { code: "YT", name: "Mayotte" },
332
+ { code: "MX", name: "Mexico" },
333
+ { code: "FM", name: "Micronesia, " },
334
+ { code: "MD", name: "Moldova," },
335
+ { code: "MC", name: "Monaco" },
336
+ { code: "MN", name: "Mongolia" },
337
+ { code: "ME", name: "Montenegro" },
338
+ { code: "MS", name: "Montserrat" },
339
+ { code: "MA", name: "Morocco" },
340
+ { code: "MZ", name: "Mozambique" },
341
+ { code: "MM", name: "Myanmar" },
342
+ { code: "NA", name: "Namibia" },
343
+ { code: "NR", name: "Nauru" },
344
+ { code: "NP", name: "Nepal" },
345
+ { code: "NL", name: "Netherlands" },
346
+ { code: "NC", name: "New Caledonia" },
347
+ { code: "NZ", name: "New Zealand" },
348
+ { code: "NI", name: "Nicaragua" },
349
+ { code: "NE", name: "Niger" },
350
+ { code: "NG", name: "Nigeria" },
351
+ { code: "NU", name: "Niue" },
352
+ { code: "NF", name: "Norfolk Island" },
353
+ { code: "MP", name: "Northern Mariana Islands" },
354
+ { code: "NO", name: "Norway" },
355
+ { code: "OM", name: "Oman" },
356
+ { code: "PK", name: "Pakistan" },
357
+ { code: "PW", name: "Palau" },
358
+ { code: "PA", name: "Panama" },
359
+ { code: "PG", name: "Papua New Guinea" },
360
+ { code: "PY", name: "Paraguay" },
361
+ { code: "PE", name: "Peru" },
362
+ { code: "PH", name: "Philippines" },
363
+ { code: "PN", name: "Pitcairn" },
364
+ { code: "PL", name: "Poland" },
365
+ { code: "PT", name: "Portugal" },
366
+ { code: "PR", name: "Puerto Rico" },
367
+ { code: "QA", name: "Qatar" },
368
+ { code: "RE", name: "Reunion" },
369
+ { code: "RO", name: "Romania" },
370
+ { code: "RU", name: "Russia" },
371
+ { code: "RW", name: "Rwanda" },
372
+ { code: "BL", name: "Saint Barthelemy" },
373
+ { code: "SH", name: "Saint Helena" },
374
+ { code: "KN", name: "Saint Kitts and Nevis" },
375
+ { code: "LC", name: "Saint Lucia" },
376
+ { code: "MF", name: "Saint Martin" },
377
+ { code: "PM", name: "Saint Pierre and Miquelon" },
378
+ { code: "VC", name: "Saint Vincent and the Grenadines" },
379
+ { code: "WS", name: "Samoa" },
380
+ { code: "SM", name: "San Marino" },
381
+ { code: "ST", name: "Sao Tome and Principe" },
382
+ { code: "SA", name: "Saudi Arabia" },
383
+ { code: "SN", name: "Senegal" },
384
+ { code: "RS", name: "Serbia" },
385
+ { code: "SC", name: "Seychelles" },
386
+ { code: "SL", name: "Sierra Leone" },
387
+ { code: "SG", name: "Singapore" },
388
+ { code: "SX", name: "Sint Maarten" },
389
+ { code: "SK", name: "Slovakia" },
390
+ { code: "SI", name: "Slovenia" },
391
+ { code: "SB", name: "Solomon Islands" },
392
+ { code: "SO", name: "Somalia" },
393
+ { code: "ZA", name: "South Africa" },
394
+ { code: "GS", name: "South Georgia and the South Sandwich Islands" },
395
+ { code: "SS", name: "South Sudan" },
396
+ { code: "ES", name: "Spain" },
397
+ { code: "LK", name: "Sri Lanka" },
398
+ { code: "SD", name: "Sudan" },
399
+ { code: "SR", name: "Suriname" },
400
+ { code: "SJ", name: "Svalbard and Jan Mayen" },
401
+ { code: "SZ", name: "Swaziland" },
402
+ { code: "SE", name: "Sweden" },
403
+ { code: "CH", name: "Switzerland" },
404
+ { code: "SY", name: "Syria" },
405
+ { code: "TW", name: "Taiwan" },
406
+ { code: "TJ", name: "Tajikistan" },
407
+ { code: "TZ", name: "Tanzania" },
408
+ { code: "TH", name: "Thailand" },
409
+ { code: "TL", name: "Timor-Leste" },
410
+ { code: "TG", name: "Togo" },
411
+ { code: "TK", name: "Tokelau" },
412
+ { code: "TO", name: "Tonga" },
413
+ { code: "TT", name: "Trinidad and Tobago" },
414
+ { code: "TN", name: "Tunisia" },
415
+ { code: "TR", name: "Turkey" },
416
+ { code: "TM", name: "Turkmenistan" },
417
+ { code: "TC", name: "Turks and Caicos Islands" },
418
+ { code: "TV", name: "Tuvalu" },
419
+ { code: "UG", name: "Uganda" },
420
+ { code: "UA", name: "Ukraine" },
421
+ { code: "AE", name: "United Arab Emirates" },
422
+ { code: "GB", name: "United Kingdom" },
423
+ { code: "US", name: "United States" },
424
+ { code: "UM", name: "United States Minor Outlying Islands" },
425
+ { code: "UY", name: "Uruguay" },
426
+ { code: "UZ", name: "Uzbekistan" },
427
+ { code: "VU", name: "Vanuatu" },
428
+ { code: "VE", name: "Venezuela" },
429
+ { code: "VN", name: "Vietnam" },
430
+ { code: "VG", name: "British Virgin Islands" },
431
+ { code: "VI", name: "U.S. Virgin Islands" },
432
+ { code: "WF", name: "Wallis and Futuna" },
433
+ { code: "EH", name: "Western Sahara" },
434
+ { code: "YE", name: "Yemen" },
435
+ { code: "ZM", name: "Zambia" },
436
+ { code: "ZW", name: "Zimbabwe" }
437
+ ];
438
+ Mt.map((e) => e.code);
439
+ const xa = (e) => ({
440
+ type: "array",
441
+ description: "A list of filters to apply to the query",
442
+ items: {
443
+ oneOf: [
444
+ {
445
+ type: "object",
446
+ description: "In filter",
447
+ properties: {
448
+ field: {
449
+ type: "string",
450
+ enum: e
451
+ },
452
+ operator: {
453
+ type: "string",
454
+ enum: ha
455
+ },
456
+ value: {
457
+ type: "array",
458
+ items: {
459
+ type: ["string", "number", "null"]
460
+ }
461
+ }
462
+ },
463
+ required: [
464
+ "field",
465
+ "operator",
466
+ "value"
467
+ ],
468
+ additionalProperties: !1
469
+ },
470
+ {
471
+ type: "object",
472
+ description: "Empty filter",
473
+ properties: {
474
+ field: {
475
+ type: "string",
476
+ enum: e
477
+ },
478
+ operator: {
479
+ type: "string",
480
+ enum: pa
481
+ }
482
+ },
483
+ required: [
484
+ "field",
485
+ "operator"
486
+ ],
487
+ additionalProperties: !1
488
+ }
489
+ ]
490
+ }
491
+ });
492
+ xa([.../* @__PURE__ */ new Set([...Fn, ...Mn, ...Sn])]);
493
+ let Ta = {};
494
+ function Ma() {
495
+ return Ta;
496
+ }
497
+ const Fa = 60, Sa = 3600, en = Symbol.for("constructDateFrom");
498
+ function Ne(e, t) {
499
+ return typeof e == "function" ? e(t) : e && typeof e == "object" && en in e ? e[en](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
500
+ }
501
+ function Te(e, t) {
502
+ return Ne(t || e, e);
503
+ }
504
+ function dt(e, t) {
505
+ const n = Te(e, void 0);
506
+ return n.setHours(0, 0, 0, 0), n;
507
+ }
508
+ function He(e, t) {
509
+ var n, a, i, s;
510
+ const c = Ma(), d = (t == null ? void 0 : t.weekStartsOn) ?? ((a = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : a.weekStartsOn) ?? c.weekStartsOn ?? ((s = (i = c.locale) == null ? void 0 : i.options) == null ? void 0 : s.weekStartsOn) ?? 0, y = Te(e, t == null ? void 0 : t.in), m = y.getDay(), u = (m < d ? 7 : 0) + m - d;
511
+ return y.setDate(y.getDate() - u), y.setHours(0, 0, 0, 0), y;
512
+ }
513
+ function mt(e, t, n) {
514
+ const a = Te(e, void 0);
515
+ return isNaN(t) ? Ne(e, NaN) : (a.setDate(a.getDate() + t), a);
516
+ }
517
+ function Da(e, t, n) {
518
+ const a = Te(e, void 0);
519
+ if (isNaN(t)) return Ne(e, NaN);
520
+ const i = a.getDate(), s = Ne(e, a.getTime());
521
+ s.setMonth(a.getMonth() + t + 1, 0);
522
+ const c = s.getDate();
523
+ return i >= c ? s : (a.setFullYear(
524
+ s.getFullYear(),
525
+ s.getMonth(),
526
+ i
527
+ ), a);
528
+ }
529
+ function we(e, t) {
530
+ const n = Te(e, void 0);
531
+ return n.setDate(1), n.setHours(0, 0, 0, 0), n;
532
+ }
533
+ function ka(e, t) {
534
+ const n = Te(e, void 0), a = n.getFullYear(), i = n.getMonth(), s = Ne(n, 0);
535
+ return s.setFullYear(a, i + 1, 0), s.setHours(0, 0, 0, 0), s.getDate();
536
+ }
537
+ function tn(e) {
538
+ return Math.trunc(e * Sa);
539
+ }
540
+ function Na(e) {
541
+ const t = e / Fa;
542
+ return Math.trunc(t);
543
+ }
544
+ function Dn(e, t, n) {
545
+ return Da(e, -1);
546
+ }
547
+ function Ea(e, t) {
548
+ const n = Ga(t);
549
+ return "formatToParts" in n ? Oa(n, e) : Ia(n, e);
550
+ }
551
+ const Ra = {
552
+ year: 0,
553
+ month: 1,
554
+ day: 2,
555
+ hour: 3,
556
+ minute: 4,
557
+ second: 5
558
+ };
559
+ function Oa(e, t) {
560
+ try {
561
+ const n = e.formatToParts(t), a = [];
562
+ for (let i = 0; i < n.length; i++) {
563
+ const s = Ra[n[i].type];
564
+ s !== void 0 && (a[s] = parseInt(n[i].value, 10));
565
+ }
566
+ return a;
567
+ } catch (n) {
568
+ if (n instanceof RangeError)
569
+ return [NaN];
570
+ throw n;
571
+ }
572
+ }
573
+ function Ia(e, t) {
574
+ const n = e.format(t), a = /(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);
575
+ return [
576
+ parseInt(a[3], 10),
577
+ parseInt(a[1], 10),
578
+ parseInt(a[2], 10),
579
+ parseInt(a[4], 10),
580
+ parseInt(a[5], 10),
581
+ parseInt(a[6], 10)
582
+ ];
583
+ }
584
+ const ft = {}, nn = new Intl.DateTimeFormat("en-US", {
585
+ hourCycle: "h23",
586
+ timeZone: "America/New_York",
587
+ year: "numeric",
588
+ month: "2-digit",
589
+ day: "2-digit",
590
+ hour: "2-digit",
591
+ minute: "2-digit",
592
+ second: "2-digit"
593
+ }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), La = nn === "06/25/2014, 00:00:00" || nn === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
594
+ function Ga(e) {
595
+ return ft[e] || (ft[e] = La ? new Intl.DateTimeFormat("en-US", {
596
+ hourCycle: "h23",
597
+ timeZone: e,
598
+ year: "numeric",
599
+ month: "numeric",
600
+ day: "2-digit",
601
+ hour: "2-digit",
602
+ minute: "2-digit",
603
+ second: "2-digit"
604
+ }) : new Intl.DateTimeFormat("en-US", {
605
+ hour12: !1,
606
+ timeZone: e,
607
+ year: "numeric",
608
+ month: "numeric",
609
+ day: "2-digit",
610
+ hour: "2-digit",
611
+ minute: "2-digit",
612
+ second: "2-digit"
613
+ })), ft[e];
614
+ }
615
+ function Ft(e, t, n, a, i, s, c) {
616
+ const d = /* @__PURE__ */ new Date(0);
617
+ return d.setUTCFullYear(e, t, n), d.setUTCHours(a, i, s, c), d;
618
+ }
619
+ const rn = 36e5, Ca = 6e4, ht = {
620
+ timezoneZ: /^(Z)$/,
621
+ timezoneHH: /^([+-]\d{2})$/,
622
+ timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
623
+ };
624
+ function Ke(e, t, n) {
625
+ if (!e)
626
+ return 0;
627
+ let a = ht.timezoneZ.exec(e);
628
+ if (a)
629
+ return 0;
630
+ let i, s;
631
+ if (a = ht.timezoneHH.exec(e), a)
632
+ return i = parseInt(a[1], 10), an(i) ? -(i * rn) : NaN;
633
+ if (a = ht.timezoneHHMM.exec(e), a) {
634
+ i = parseInt(a[2], 10);
635
+ const c = parseInt(a[3], 10);
636
+ return an(i, c) ? (s = Math.abs(i) * rn + c * Ca, a[1] === "+" ? -s : s) : NaN;
637
+ }
638
+ if (Ua(e)) {
639
+ t = new Date(t || Date.now());
640
+ const c = n ? t : Aa(t), d = vt(c, e);
641
+ return -(n ? d : Pa(t, d, e));
642
+ }
643
+ return NaN;
644
+ }
645
+ function Aa(e) {
646
+ return Ft(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
647
+ }
648
+ function vt(e, t) {
649
+ const n = Ea(e, t), a = Ft(n[0], n[1] - 1, n[2], n[3] % 24, n[4], n[5], 0).getTime();
650
+ let i = e.getTime();
651
+ const s = i % 1e3;
652
+ return i -= s >= 0 ? s : 1e3 + s, a - i;
653
+ }
654
+ function Pa(e, t, n) {
655
+ let a = e.getTime() - t;
656
+ const i = vt(new Date(a), n);
657
+ if (t === i)
658
+ return t;
659
+ a -= i - t;
660
+ const s = vt(new Date(a), n);
661
+ return i === s ? i : Math.max(i, s);
662
+ }
663
+ function an(e, t) {
664
+ return -23 <= e && e <= 23 && (t == null || 0 <= t && t <= 59);
665
+ }
666
+ const on = {};
667
+ function Ua(e) {
668
+ if (on[e])
669
+ return !0;
670
+ try {
671
+ return new Intl.DateTimeFormat(void 0, { timeZone: e }), on[e] = !0, !0;
672
+ } catch {
673
+ return !1;
674
+ }
675
+ }
676
+ function sn(e) {
677
+ const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
678
+ return t.setUTCFullYear(e.getFullYear()), +e - +t;
679
+ }
680
+ const kn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, pt = 36e5, ln = 6e4, ba = 2, E = {
681
+ dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
682
+ datePattern: /^([0-9W+-]+)(.*)/,
683
+ // year tokens
684
+ YY: /^(\d{2})$/,
685
+ YYY: [
686
+ /^([+-]\d{2})$/,
687
+ // 0 additional digits
688
+ /^([+-]\d{3})$/,
689
+ // 1 additional digit
690
+ /^([+-]\d{4})$/
691
+ // 2 additional digits
692
+ ],
693
+ YYYY: /^(\d{4})/,
694
+ YYYYY: [
695
+ /^([+-]\d{4})/,
696
+ // 0 additional digits
697
+ /^([+-]\d{5})/,
698
+ // 1 additional digit
699
+ /^([+-]\d{6})/
700
+ // 2 additional digits
701
+ ],
702
+ // date tokens
703
+ MM: /^-(\d{2})$/,
704
+ DDD: /^-?(\d{3})$/,
705
+ MMDD: /^-?(\d{2})-?(\d{2})$/,
706
+ Www: /^-?W(\d{2})$/,
707
+ WwwD: /^-?W(\d{2})-?(\d{1})$/,
708
+ HH: /^(\d{2}([.,]\d*)?)$/,
709
+ HHMM: /^(\d{2}):?(\d{2}([.,]\d*)?)$/,
710
+ HHMMSS: /^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,
711
+ // time zone tokens (to identify the presence of a tz)
712
+ timeZone: kn
713
+ };
714
+ function wt(e, t = {}) {
715
+ if (arguments.length < 1)
716
+ throw new TypeError("1 argument required, but only " + arguments.length + " present");
717
+ if (e === null)
718
+ return /* @__PURE__ */ new Date(NaN);
719
+ const n = t.additionalDigits == null ? ba : Number(t.additionalDigits);
720
+ if (n !== 2 && n !== 1 && n !== 0)
721
+ throw new RangeError("additionalDigits must be 0, 1 or 2");
722
+ if (e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]")
723
+ return new Date(e.getTime());
724
+ if (typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]")
725
+ return new Date(e);
726
+ if (Object.prototype.toString.call(e) !== "[object String]")
727
+ return /* @__PURE__ */ new Date(NaN);
728
+ const a = Ba(e), { year: i, restDateString: s } = Ha(a.date, n), c = Ya(s, i);
729
+ if (c === null || isNaN(c.getTime()))
730
+ return /* @__PURE__ */ new Date(NaN);
731
+ if (c) {
732
+ const d = c.getTime();
733
+ let y = 0, m;
734
+ if (a.time && (y = Va(a.time), y === null || isNaN(y)))
735
+ return /* @__PURE__ */ new Date(NaN);
736
+ if (a.timeZone || t.timeZone) {
737
+ if (m = Ke(a.timeZone || t.timeZone, new Date(d + y)), isNaN(m))
738
+ return /* @__PURE__ */ new Date(NaN);
739
+ } else
740
+ m = sn(new Date(d + y)), m = sn(new Date(d + y + m));
741
+ return new Date(d + y + m);
742
+ } else
743
+ return /* @__PURE__ */ new Date(NaN);
744
+ }
745
+ function Ba(e) {
746
+ const t = {};
747
+ let n = E.dateTimePattern.exec(e), a;
748
+ if (n ? (t.date = n[1], a = n[3]) : (n = E.datePattern.exec(e), n ? (t.date = n[1], a = n[2]) : (t.date = null, a = e)), a) {
749
+ const i = E.timeZone.exec(a);
750
+ i ? (t.time = a.replace(i[1], ""), t.timeZone = i[1].trim()) : t.time = a;
751
+ }
752
+ return t;
753
+ }
754
+ function Ha(e, t) {
755
+ if (e) {
756
+ const n = E.YYY[t], a = E.YYYYY[t];
757
+ let i = E.YYYY.exec(e) || a.exec(e);
758
+ if (i) {
759
+ const s = i[1];
760
+ return {
761
+ year: parseInt(s, 10),
762
+ restDateString: e.slice(s.length)
763
+ };
764
+ }
765
+ if (i = E.YY.exec(e) || n.exec(e), i) {
766
+ const s = i[1];
767
+ return {
768
+ year: parseInt(s, 10) * 100,
769
+ restDateString: e.slice(s.length)
770
+ };
771
+ }
772
+ }
773
+ return {
774
+ year: null
775
+ };
776
+ }
777
+ function Ya(e, t) {
778
+ if (t === null)
779
+ return null;
780
+ let n, a, i;
781
+ if (!e || !e.length)
782
+ return n = /* @__PURE__ */ new Date(0), n.setUTCFullYear(t), n;
783
+ let s = E.MM.exec(e);
784
+ if (s)
785
+ return n = /* @__PURE__ */ new Date(0), a = parseInt(s[1], 10) - 1, cn(t, a) ? (n.setUTCFullYear(t, a), n) : /* @__PURE__ */ new Date(NaN);
786
+ if (s = E.DDD.exec(e), s) {
787
+ n = /* @__PURE__ */ new Date(0);
788
+ const c = parseInt(s[1], 10);
789
+ return Ka(t, c) ? (n.setUTCFullYear(t, 0, c), n) : /* @__PURE__ */ new Date(NaN);
790
+ }
791
+ if (s = E.MMDD.exec(e), s) {
792
+ n = /* @__PURE__ */ new Date(0), a = parseInt(s[1], 10) - 1;
793
+ const c = parseInt(s[2], 10);
794
+ return cn(t, a, c) ? (n.setUTCFullYear(t, a, c), n) : /* @__PURE__ */ new Date(NaN);
795
+ }
796
+ if (s = E.Www.exec(e), s)
797
+ return i = parseInt(s[1], 10) - 1, dn(i) ? un(t, i) : /* @__PURE__ */ new Date(NaN);
798
+ if (s = E.WwwD.exec(e), s) {
799
+ i = parseInt(s[1], 10) - 1;
800
+ const c = parseInt(s[2], 10) - 1;
801
+ return dn(i, c) ? un(t, i, c) : /* @__PURE__ */ new Date(NaN);
802
+ }
803
+ return null;
804
+ }
805
+ function Va(e) {
806
+ let t, n, a = E.HH.exec(e);
807
+ if (a)
808
+ return t = parseFloat(a[1].replace(",", ".")), yt(t) ? t % 24 * pt : NaN;
809
+ if (a = E.HHMM.exec(e), a)
810
+ return t = parseInt(a[1], 10), n = parseFloat(a[2].replace(",", ".")), yt(t, n) ? t % 24 * pt + n * ln : NaN;
811
+ if (a = E.HHMMSS.exec(e), a) {
812
+ t = parseInt(a[1], 10), n = parseInt(a[2], 10);
813
+ const i = parseFloat(a[3].replace(",", "."));
814
+ return yt(t, n, i) ? t % 24 * pt + n * ln + i * 1e3 : NaN;
815
+ }
816
+ return null;
817
+ }
818
+ function un(e, t, n) {
819
+ t = t || 0, n = n || 0;
820
+ const a = /* @__PURE__ */ new Date(0);
821
+ a.setUTCFullYear(e, 0, 4);
822
+ const i = a.getUTCDay() || 7, s = t * 7 + n + 1 - i;
823
+ return a.setUTCDate(a.getUTCDate() + s), a;
824
+ }
825
+ const za = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], ja = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
826
+ function Nn(e) {
827
+ return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
828
+ }
829
+ function cn(e, t, n) {
830
+ if (t < 0 || t > 11)
831
+ return !1;
832
+ if (n != null) {
833
+ if (n < 1)
834
+ return !1;
835
+ const a = Nn(e);
836
+ if (a && n > ja[t] || !a && n > za[t])
837
+ return !1;
838
+ }
839
+ return !0;
840
+ }
841
+ function Ka(e, t) {
842
+ if (t < 1)
843
+ return !1;
844
+ const n = Nn(e);
845
+ return !(n && t > 366 || !n && t > 365);
846
+ }
847
+ function dn(e, t) {
848
+ return !(e < 0 || e > 52 || t != null && (t < 0 || t > 6));
849
+ }
850
+ function yt(e, t, n) {
851
+ return !(e < 0 || e >= 25 || t != null && (t < 0 || t >= 60) || n != null && (n < 0 || n >= 60));
852
+ }
853
+ function $a(e, t, n) {
854
+ e = wt(e, n);
855
+ const a = Ke(t, e, !0), i = new Date(e.getTime() - a), s = /* @__PURE__ */ new Date(0);
856
+ return s.setFullYear(i.getUTCFullYear(), i.getUTCMonth(), i.getUTCDate()), s.setHours(i.getUTCHours(), i.getUTCMinutes(), i.getUTCSeconds(), i.getUTCMilliseconds()), s;
857
+ }
858
+ function Wa(e, t, n) {
859
+ if (typeof e == "string" && !e.match(kn))
860
+ return wt(e, { ...n, timeZone: t });
861
+ e = wt(e, n);
862
+ const a = Ft(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()).getTime(), i = Ke(t, new Date(a));
863
+ return new Date(a + i);
864
+ }
865
+ function Za(e, t) {
866
+ return -Ke(e, t);
867
+ }
868
+ var Ue = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ye = { exports: {} };
869
+ Ye.exports;
870
+ (function(e, t) {
871
+ var n = 200, a = "__lodash_hash_undefined__", i = 9007199254740991, s = "[object Arguments]", c = "[object Array]", d = "[object Boolean]", y = "[object Date]", m = "[object Error]", u = "[object Function]", f = "[object GeneratorFunction]", _ = "[object Map]", v = "[object Number]", F = "[object Object]", N = "[object Promise]", P = "[object RegExp]", Q = "[object Set]", U = "[object String]", ie = "[object Symbol]", b = "[object WeakMap]", We = "[object ArrayBuffer]", de = "[object DataView]", g = "[object Float32Array]", T = "[object Float64Array]", M = "[object Int8Array]", D = "[object Int16Array]", ee = "[object Int32Array]", K = "[object Uint8Array]", B = "[object Uint8ClampedArray]", te = "[object Uint16Array]", ne = "[object Uint32Array]", L = /[\\^$.*+?()[\]{}|]/g, H = /\w*$/, Y = /^\[object .+?Constructor\]$/, V = /^(?:0|[1-9]\d*)$/, w = {};
872
+ w[s] = w[c] = w[We] = w[de] = w[d] = w[y] = w[g] = w[T] = w[M] = w[D] = w[ee] = w[_] = w[v] = w[F] = w[P] = w[Q] = w[U] = w[ie] = w[K] = w[B] = w[te] = w[ne] = !0, w[m] = w[u] = w[b] = !1;
873
+ var z = typeof Ue == "object" && Ue && Ue.Object === Object && Ue, me = typeof self == "object" && self && self.Object === Object && self, R = z || me || Function("return this")(), $ = t && !t.nodeType && t, Oe = $ && !0 && e && !e.nodeType && e, Ze = Oe && Oe.exports === $;
874
+ function qe(r, o) {
875
+ return r.set(o[0], o[1]), r;
876
+ }
877
+ function Je(r, o) {
878
+ return r.add(o), r;
879
+ }
880
+ function fe(r, o) {
881
+ for (var l = -1, h = r ? r.length : 0; ++l < h && o(r[l], l, r) !== !1; )
882
+ ;
883
+ return r;
884
+ }
885
+ function On(r, o) {
886
+ for (var l = -1, h = o.length, S = r.length; ++l < h; )
887
+ r[S + l] = o[l];
888
+ return r;
889
+ }
890
+ function Et(r, o, l, h) {
891
+ for (var S = -1, O = r ? r.length : 0; ++S < O; )
892
+ l = o(l, r[S], S, r);
893
+ return l;
894
+ }
895
+ function In(r, o) {
896
+ for (var l = -1, h = Array(r); ++l < r; )
897
+ h[l] = o(l);
898
+ return h;
899
+ }
900
+ function Ln(r, o) {
901
+ return r == null ? void 0 : r[o];
902
+ }
903
+ function Rt(r) {
904
+ var o = !1;
905
+ if (r != null && typeof r.toString != "function")
906
+ try {
907
+ o = !!(r + "");
908
+ } catch {
909
+ }
910
+ return o;
911
+ }
912
+ function Ot(r) {
913
+ var o = -1, l = Array(r.size);
914
+ return r.forEach(function(h, S) {
915
+ l[++o] = [S, h];
916
+ }), l;
917
+ }
918
+ function Xe(r, o) {
919
+ return function(l) {
920
+ return r(o(l));
921
+ };
922
+ }
923
+ function It(r) {
924
+ var o = -1, l = Array(r.size);
925
+ return r.forEach(function(h) {
926
+ l[++o] = h;
927
+ }), l;
928
+ }
929
+ var Gn = Array.prototype, Cn = Function.prototype, Ie = Object.prototype, Qe = R["__core-js_shared__"], Lt = function() {
930
+ var r = /[^.]+$/.exec(Qe && Qe.keys && Qe.keys.IE_PROTO || "");
931
+ return r ? "Symbol(src)_1." + r : "";
932
+ }(), Gt = Cn.toString, re = Ie.hasOwnProperty, Le = Ie.toString, An = RegExp(
933
+ "^" + Gt.call(re).replace(L, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
934
+ ), Ct = Ze ? R.Buffer : void 0, At = R.Symbol, Pt = R.Uint8Array, Pn = Xe(Object.getPrototypeOf, Object), Un = Object.create, bn = Ie.propertyIsEnumerable, Bn = Gn.splice, Ut = Object.getOwnPropertySymbols, Hn = Ct ? Ct.isBuffer : void 0, Yn = Xe(Object.keys, Object), et = ye(R, "DataView"), Me = ye(R, "Map"), tt = ye(R, "Promise"), nt = ye(R, "Set"), rt = ye(R, "WeakMap"), Fe = ye(Object, "create"), Vn = le(et), zn = le(Me), jn = le(tt), Kn = le(nt), $n = le(rt), bt = At ? At.prototype : void 0, Bt = bt ? bt.valueOf : void 0;
935
+ function oe(r) {
936
+ var o = -1, l = r ? r.length : 0;
937
+ for (this.clear(); ++o < l; ) {
938
+ var h = r[o];
939
+ this.set(h[0], h[1]);
940
+ }
941
+ }
942
+ function Wn() {
943
+ this.__data__ = Fe ? Fe(null) : {};
944
+ }
945
+ function Zn(r) {
946
+ return this.has(r) && delete this.__data__[r];
947
+ }
948
+ function qn(r) {
949
+ var o = this.__data__;
950
+ if (Fe) {
951
+ var l = o[r];
952
+ return l === a ? void 0 : l;
953
+ }
954
+ return re.call(o, r) ? o[r] : void 0;
955
+ }
956
+ function Jn(r) {
957
+ var o = this.__data__;
958
+ return Fe ? o[r] !== void 0 : re.call(o, r);
959
+ }
960
+ function Xn(r, o) {
961
+ var l = this.__data__;
962
+ return l[r] = Fe && o === void 0 ? a : o, this;
963
+ }
964
+ oe.prototype.clear = Wn, oe.prototype.delete = Zn, oe.prototype.get = qn, oe.prototype.has = Jn, oe.prototype.set = Xn;
965
+ function W(r) {
966
+ var o = -1, l = r ? r.length : 0;
967
+ for (this.clear(); ++o < l; ) {
968
+ var h = r[o];
969
+ this.set(h[0], h[1]);
970
+ }
971
+ }
972
+ function Qn() {
973
+ this.__data__ = [];
974
+ }
975
+ function er(r) {
976
+ var o = this.__data__, l = Ge(o, r);
977
+ if (l < 0)
978
+ return !1;
979
+ var h = o.length - 1;
980
+ return l == h ? o.pop() : Bn.call(o, l, 1), !0;
981
+ }
982
+ function tr(r) {
983
+ var o = this.__data__, l = Ge(o, r);
984
+ return l < 0 ? void 0 : o[l][1];
985
+ }
986
+ function nr(r) {
987
+ return Ge(this.__data__, r) > -1;
988
+ }
989
+ function rr(r, o) {
990
+ var l = this.__data__, h = Ge(l, r);
991
+ return h < 0 ? l.push([r, o]) : l[h][1] = o, this;
992
+ }
993
+ W.prototype.clear = Qn, W.prototype.delete = er, W.prototype.get = tr, W.prototype.has = nr, W.prototype.set = rr;
994
+ function he(r) {
995
+ var o = -1, l = r ? r.length : 0;
996
+ for (this.clear(); ++o < l; ) {
997
+ var h = r[o];
998
+ this.set(h[0], h[1]);
999
+ }
1000
+ }
1001
+ function ar() {
1002
+ this.__data__ = {
1003
+ hash: new oe(),
1004
+ map: new (Me || W)(),
1005
+ string: new oe()
1006
+ };
1007
+ }
1008
+ function ir(r) {
1009
+ return Ce(this, r).delete(r);
1010
+ }
1011
+ function or(r) {
1012
+ return Ce(this, r).get(r);
1013
+ }
1014
+ function sr(r) {
1015
+ return Ce(this, r).has(r);
1016
+ }
1017
+ function lr(r, o) {
1018
+ return Ce(this, r).set(r, o), this;
1019
+ }
1020
+ he.prototype.clear = ar, he.prototype.delete = ir, he.prototype.get = or, he.prototype.has = sr, he.prototype.set = lr;
1021
+ function pe(r) {
1022
+ this.__data__ = new W(r);
1023
+ }
1024
+ function ur() {
1025
+ this.__data__ = new W();
1026
+ }
1027
+ function cr(r) {
1028
+ return this.__data__.delete(r);
1029
+ }
1030
+ function dr(r) {
1031
+ return this.__data__.get(r);
1032
+ }
1033
+ function mr(r) {
1034
+ return this.__data__.has(r);
1035
+ }
1036
+ function fr(r, o) {
1037
+ var l = this.__data__;
1038
+ if (l instanceof W) {
1039
+ var h = l.__data__;
1040
+ if (!Me || h.length < n - 1)
1041
+ return h.push([r, o]), this;
1042
+ l = this.__data__ = new he(h);
1043
+ }
1044
+ return l.set(r, o), this;
1045
+ }
1046
+ pe.prototype.clear = ur, pe.prototype.delete = cr, pe.prototype.get = dr, pe.prototype.has = mr, pe.prototype.set = fr;
1047
+ function hr(r, o) {
1048
+ var l = ot(r) || Ur(r) ? In(r.length, String) : [], h = l.length, S = !!h;
1049
+ for (var O in r)
1050
+ re.call(r, O) && !(S && (O == "length" || Gr(O, h))) && l.push(O);
1051
+ return l;
1052
+ }
1053
+ function Ht(r, o, l) {
1054
+ var h = r[o];
1055
+ (!(re.call(r, o) && jt(h, l)) || l === void 0 && !(o in r)) && (r[o] = l);
1056
+ }
1057
+ function Ge(r, o) {
1058
+ for (var l = r.length; l--; )
1059
+ if (jt(r[l][0], o))
1060
+ return l;
1061
+ return -1;
1062
+ }
1063
+ function pr(r, o) {
1064
+ return r && Yt(o, st(o), r);
1065
+ }
1066
+ function at(r, o, l, h, S, O, Z) {
1067
+ var I;
1068
+ if (h && (I = O ? h(r, S, O, Z) : h(r)), I !== void 0)
1069
+ return I;
1070
+ if (!Ae(r))
1071
+ return r;
1072
+ var Wt = ot(r);
1073
+ if (Wt) {
1074
+ if (I = Or(r), !o)
1075
+ return Nr(r, I);
1076
+ } else {
1077
+ var _e = se(r), Zt = _e == u || _e == f;
1078
+ if (Br(r))
1079
+ return xr(r, o);
1080
+ if (_e == F || _e == s || Zt && !O) {
1081
+ if (Rt(r))
1082
+ return O ? r : {};
1083
+ if (I = Ir(Zt ? {} : r), !o)
1084
+ return Er(r, pr(I, r));
1085
+ } else {
1086
+ if (!w[_e])
1087
+ return O ? r : {};
1088
+ I = Lr(r, _e, at, o);
1089
+ }
1090
+ }
1091
+ Z || (Z = new pe());
1092
+ var qt = Z.get(r);
1093
+ if (qt)
1094
+ return qt;
1095
+ if (Z.set(r, I), !Wt)
1096
+ var Jt = l ? Rr(r) : st(r);
1097
+ return fe(Jt || r, function(lt, Pe) {
1098
+ Jt && (Pe = lt, lt = r[Pe]), Ht(I, Pe, at(lt, o, l, h, Pe, r, Z));
1099
+ }), I;
1100
+ }
1101
+ function yr(r) {
1102
+ return Ae(r) ? Un(r) : {};
1103
+ }
1104
+ function _r(r, o, l) {
1105
+ var h = o(r);
1106
+ return ot(r) ? h : On(h, l(r));
1107
+ }
1108
+ function gr(r) {
1109
+ return Le.call(r);
1110
+ }
1111
+ function vr(r) {
1112
+ if (!Ae(r) || Ar(r))
1113
+ return !1;
1114
+ var o = $t(r) || Rt(r) ? An : Y;
1115
+ return o.test(le(r));
1116
+ }
1117
+ function wr(r) {
1118
+ if (!zt(r))
1119
+ return Yn(r);
1120
+ var o = [];
1121
+ for (var l in Object(r))
1122
+ re.call(r, l) && l != "constructor" && o.push(l);
1123
+ return o;
1124
+ }
1125
+ function xr(r, o) {
1126
+ if (o)
1127
+ return r.slice();
1128
+ var l = new r.constructor(r.length);
1129
+ return r.copy(l), l;
1130
+ }
1131
+ function it(r) {
1132
+ var o = new r.constructor(r.byteLength);
1133
+ return new Pt(o).set(new Pt(r)), o;
1134
+ }
1135
+ function Tr(r, o) {
1136
+ var l = o ? it(r.buffer) : r.buffer;
1137
+ return new r.constructor(l, r.byteOffset, r.byteLength);
1138
+ }
1139
+ function Mr(r, o, l) {
1140
+ var h = o ? l(Ot(r), !0) : Ot(r);
1141
+ return Et(h, qe, new r.constructor());
1142
+ }
1143
+ function Fr(r) {
1144
+ var o = new r.constructor(r.source, H.exec(r));
1145
+ return o.lastIndex = r.lastIndex, o;
1146
+ }
1147
+ function Sr(r, o, l) {
1148
+ var h = o ? l(It(r), !0) : It(r);
1149
+ return Et(h, Je, new r.constructor());
1150
+ }
1151
+ function Dr(r) {
1152
+ return Bt ? Object(Bt.call(r)) : {};
1153
+ }
1154
+ function kr(r, o) {
1155
+ var l = o ? it(r.buffer) : r.buffer;
1156
+ return new r.constructor(l, r.byteOffset, r.length);
1157
+ }
1158
+ function Nr(r, o) {
1159
+ var l = -1, h = r.length;
1160
+ for (o || (o = Array(h)); ++l < h; )
1161
+ o[l] = r[l];
1162
+ return o;
1163
+ }
1164
+ function Yt(r, o, l, h) {
1165
+ l || (l = {});
1166
+ for (var S = -1, O = o.length; ++S < O; ) {
1167
+ var Z = o[S], I = void 0;
1168
+ Ht(l, Z, I === void 0 ? r[Z] : I);
1169
+ }
1170
+ return l;
1171
+ }
1172
+ function Er(r, o) {
1173
+ return Yt(r, Vt(r), o);
1174
+ }
1175
+ function Rr(r) {
1176
+ return _r(r, st, Vt);
1177
+ }
1178
+ function Ce(r, o) {
1179
+ var l = r.__data__;
1180
+ return Cr(o) ? l[typeof o == "string" ? "string" : "hash"] : l.map;
1181
+ }
1182
+ function ye(r, o) {
1183
+ var l = Ln(r, o);
1184
+ return vr(l) ? l : void 0;
1185
+ }
1186
+ var Vt = Ut ? Xe(Ut, Object) : Vr, se = gr;
1187
+ (et && se(new et(new ArrayBuffer(1))) != de || Me && se(new Me()) != _ || tt && se(tt.resolve()) != N || nt && se(new nt()) != Q || rt && se(new rt()) != b) && (se = function(r) {
1188
+ var o = Le.call(r), l = o == F ? r.constructor : void 0, h = l ? le(l) : void 0;
1189
+ if (h)
1190
+ switch (h) {
1191
+ case Vn:
1192
+ return de;
1193
+ case zn:
1194
+ return _;
1195
+ case jn:
1196
+ return N;
1197
+ case Kn:
1198
+ return Q;
1199
+ case $n:
1200
+ return b;
1201
+ }
1202
+ return o;
1203
+ });
1204
+ function Or(r) {
1205
+ var o = r.length, l = r.constructor(o);
1206
+ return o && typeof r[0] == "string" && re.call(r, "index") && (l.index = r.index, l.input = r.input), l;
1207
+ }
1208
+ function Ir(r) {
1209
+ return typeof r.constructor == "function" && !zt(r) ? yr(Pn(r)) : {};
1210
+ }
1211
+ function Lr(r, o, l, h) {
1212
+ var S = r.constructor;
1213
+ switch (o) {
1214
+ case We:
1215
+ return it(r);
1216
+ case d:
1217
+ case y:
1218
+ return new S(+r);
1219
+ case de:
1220
+ return Tr(r, h);
1221
+ case g:
1222
+ case T:
1223
+ case M:
1224
+ case D:
1225
+ case ee:
1226
+ case K:
1227
+ case B:
1228
+ case te:
1229
+ case ne:
1230
+ return kr(r, h);
1231
+ case _:
1232
+ return Mr(r, h, l);
1233
+ case v:
1234
+ case U:
1235
+ return new S(r);
1236
+ case P:
1237
+ return Fr(r);
1238
+ case Q:
1239
+ return Sr(r, h, l);
1240
+ case ie:
1241
+ return Dr(r);
1242
+ }
1243
+ }
1244
+ function Gr(r, o) {
1245
+ return o = o ?? i, !!o && (typeof r == "number" || V.test(r)) && r > -1 && r % 1 == 0 && r < o;
1246
+ }
1247
+ function Cr(r) {
1248
+ var o = typeof r;
1249
+ return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? r !== "__proto__" : r === null;
1250
+ }
1251
+ function Ar(r) {
1252
+ return !!Lt && Lt in r;
1253
+ }
1254
+ function zt(r) {
1255
+ var o = r && r.constructor, l = typeof o == "function" && o.prototype || Ie;
1256
+ return r === l;
1257
+ }
1258
+ function le(r) {
1259
+ if (r != null) {
1260
+ try {
1261
+ return Gt.call(r);
1262
+ } catch {
1263
+ }
1264
+ try {
1265
+ return r + "";
1266
+ } catch {
1267
+ }
1268
+ }
1269
+ return "";
1270
+ }
1271
+ function Pr(r) {
1272
+ return at(r, !0, !0);
1273
+ }
1274
+ function jt(r, o) {
1275
+ return r === o || r !== r && o !== o;
1276
+ }
1277
+ function Ur(r) {
1278
+ return br(r) && re.call(r, "callee") && (!bn.call(r, "callee") || Le.call(r) == s);
1279
+ }
1280
+ var ot = Array.isArray;
1281
+ function Kt(r) {
1282
+ return r != null && Hr(r.length) && !$t(r);
1283
+ }
1284
+ function br(r) {
1285
+ return Yr(r) && Kt(r);
1286
+ }
1287
+ var Br = Hn || zr;
1288
+ function $t(r) {
1289
+ var o = Ae(r) ? Le.call(r) : "";
1290
+ return o == u || o == f;
1291
+ }
1292
+ function Hr(r) {
1293
+ return typeof r == "number" && r > -1 && r % 1 == 0 && r <= i;
1294
+ }
1295
+ function Ae(r) {
1296
+ var o = typeof r;
1297
+ return !!r && (o == "object" || o == "function");
1298
+ }
1299
+ function Yr(r) {
1300
+ return !!r && typeof r == "object";
1301
+ }
1302
+ function st(r) {
1303
+ return Kt(r) ? hr(r) : wr(r);
1304
+ }
1305
+ function Vr() {
1306
+ return [];
1307
+ }
1308
+ function zr() {
1309
+ return !1;
1310
+ }
1311
+ e.exports = Pr;
1312
+ })(Ye, Ye.exports);
1313
+ Ye.exports;
1314
+ const X = (e, t) => new Date(e.getTime() - Za(t, e));
1315
+ class k {
1316
+ constructor(t) {
1317
+ G(this, "timeframeText"), G(this, "key"), G(this, "display"), G(this, "timeframeLength"), G(this, "allowedTiers"), G(this, "defaultResponseGranularity"), G(this, "dataGranularity"), G(this, "isRelative"), G(this, "fineGrainedDefaultGranularity"), G(this, "_startCustom"), G(this, "_endCustom"), G(this, "_allowedGranularitiesOverride"), this.display = t.display, this.timeframeText = t.timeframeText, this.key = t.key, this.timeframeLength = t.timeframeLength, this.allowedTiers = t.allowedTiers, this.defaultResponseGranularity = t.defaultResponseGranularity, this.dataGranularity = t.dataGranularity, this.isRelative = t.isRelative, this._startCustom = t.startCustom, this._endCustom = t.endCustom, this._allowedGranularitiesOverride = t.allowedGranularitiesOverride, this.fineGrainedDefaultGranularity = t.fineGrainedDefaultGranularity;
1318
+ }
1319
+ // rawEnd does not consider granularity and should not be used directly in queries.
1320
+ // Use `new QueryTime(timeframe, granularity?).queryEndSeconds()` instead.
1321
+ // eslint-disable-next-line -- `tz` is required because it's used in subclasses.
1322
+ rawEnd(t) {
1323
+ return this._endCustom || /* @__PURE__ */ new Date();
1324
+ }
1325
+ // rawStart does not consider granularity and should not be used directly in queries.
1326
+ // Use `new QueryTime(timeframe, granularity?).queryStartSeconds()` instead.
1327
+ // eslint-disable-next-line -- `tz` is required because it's used in subclasses.
1328
+ rawStart(t) {
1329
+ return this._startCustom || new Date(this.rawEnd().getTime() - this.timeframeLengthMs());
1330
+ }
1331
+ timeframeLengthMs() {
1332
+ return this.timeframeLength() * 1e3;
1333
+ }
1334
+ maximumTimeframeLength() {
1335
+ return this.timeframeLength();
1336
+ }
1337
+ allowedGranularities(t) {
1338
+ if (this._allowedGranularitiesOverride && t)
1339
+ return new Set(this._allowedGranularitiesOverride);
1340
+ const n = /* @__PURE__ */ new Set(), a = this.maximumTimeframeLength() / 3600;
1341
+ return a <= 6 && n.add("minutely"), a >= 2 && a <= 7 * 24 && n.add("hourly"), a >= 2 * 24 && n.add("daily"), a >= 2 * 24 * 14 && n.add("weekly"), n;
1342
+ }
1343
+ cacheKey() {
1344
+ return this.key !== "custom" ? this.key : `${this.rawStart().toISOString()}-${this.rawEnd().toISOString()}`;
1345
+ }
1346
+ v4Query(t) {
1347
+ if (this.key === "custom")
1348
+ return {
1349
+ type: "absolute",
1350
+ start: this.rawStart(),
1351
+ end: this.rawEnd(),
1352
+ tz: t
1353
+ };
1354
+ if (ya.includes(this.key))
1355
+ return {
1356
+ type: "relative",
1357
+ // Safe assertion; we just checked that key is a member of the union.
1358
+ time_range: this.key,
1359
+ tz: t
1360
+ };
1361
+ throw new Error("Unsupported relative time value for Explore");
1362
+ }
1363
+ tzAdjustedDate(t) {
1364
+ if (!t)
1365
+ return /* @__PURE__ */ new Date();
1366
+ const n = Wa(/* @__PURE__ */ new Date(), new Intl.DateTimeFormat().resolvedOptions().timeZone);
1367
+ return $a(n, t);
1368
+ }
1369
+ }
1370
+ class qa extends k {
1371
+ rawStart(t) {
1372
+ let n = He(this.tzAdjustedDate(t), { weekStartsOn: 1 });
1373
+ return t && (n = X(n, t)), n;
1374
+ }
1375
+ maximumTimeframeLength() {
1376
+ return 60 * 60 * 24 * 7;
1377
+ }
1378
+ }
1379
+ class Ja extends k {
1380
+ rawStart(t) {
1381
+ let n = we(this.tzAdjustedDate(t));
1382
+ return t && (n = X(n, t)), n;
1383
+ }
1384
+ maximumTimeframeLength() {
1385
+ return 60 * 60 * 24 * 31;
1386
+ }
1387
+ }
1388
+ class Xa extends k {
1389
+ rawStart(t) {
1390
+ let n = new Date(this.tzAdjustedDate(t).getFullYear(), 0, 1);
1391
+ return t && (n = X(n, t)), n;
1392
+ }
1393
+ maximumTimeframeLength() {
1394
+ return 60 * 60 * 24 * 366;
1395
+ }
1396
+ }
1397
+ class Qa extends k {
1398
+ rawEnd(t) {
1399
+ let n = He(this.tzAdjustedDate(t), { weekStartsOn: 1 });
1400
+ return t && (n = X(n, t)), n;
1401
+ }
1402
+ rawStart(t) {
1403
+ const n = this.tzAdjustedDate(t);
1404
+ let a = He(n.setDate(n.getDate() - 7), {
1405
+ weekStartsOn: 1
1406
+ });
1407
+ return t && (a = X(a, t)), a;
1408
+ }
1409
+ }
1410
+ class ei extends k {
1411
+ rawEnd(t) {
1412
+ let n = we(this.tzAdjustedDate(t));
1413
+ return t && (n = X(n, t)), n;
1414
+ }
1415
+ rawStart(t) {
1416
+ let n = we(Dn(this.tzAdjustedDate(t)));
1417
+ return t && (n = X(n, t)), n;
1418
+ }
1419
+ }
1420
+ class ti extends k {
1421
+ rawEnd(t) {
1422
+ let n = new Date(this.tzAdjustedDate(t).getFullYear(), 0, 1);
1423
+ return t && (n = X(n, t)), n;
1424
+ }
1425
+ rawStart(t) {
1426
+ let n = new Date(this.tzAdjustedDate(t).getFullYear() - 1, 0, 1);
1427
+ return t && (n = X(n, t)), n;
1428
+ }
1429
+ }
1430
+ p.FIFTEEN_MIN, new k({
1431
+ key: p.FIFTEEN_MIN,
1432
+ display: "Last 15 minutes",
1433
+ timeframeText: "15 minutes",
1434
+ timeframeLength: () => 60 * 15,
1435
+ defaultResponseGranularity: "minutely",
1436
+ dataGranularity: "minutely",
1437
+ isRelative: !0,
1438
+ fineGrainedDefaultGranularity: "thirtySecondly",
1439
+ allowedTiers: ["free", "trial", "plus", "enterprise"],
1440
+ allowedGranularitiesOverride: ["tenSecondly", "thirtySecondly", "minutely"]
1441
+ }), p.ONE_HOUR, new k({
1442
+ key: p.ONE_HOUR,
1443
+ display: "Last hour",
1444
+ timeframeText: "One hour",
1445
+ timeframeLength: () => 60 * 60 * 1,
1446
+ defaultResponseGranularity: "minutely",
1447
+ dataGranularity: "minutely",
1448
+ isRelative: !0,
1449
+ fineGrainedDefaultGranularity: "minutely",
1450
+ allowedTiers: ["free", "trial", "plus", "enterprise"],
1451
+ allowedGranularitiesOverride: ["tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely"]
1452
+ }), p.SIX_HOUR, new k({
1453
+ key: p.SIX_HOUR,
1454
+ display: "Last 6 hours",
1455
+ timeframeText: "6 hours",
1456
+ timeframeLength: () => 60 * 60 * 6,
1457
+ defaultResponseGranularity: "hourly",
1458
+ dataGranularity: "hourly",
1459
+ isRelative: !0,
1460
+ fineGrainedDefaultGranularity: "fiveMinutely",
1461
+ allowedTiers: ["free", "trial", "plus", "enterprise"],
1462
+ allowedGranularitiesOverride: ["thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
1463
+ }), p.TWELVE_HOUR, new k({
1464
+ key: p.TWELVE_HOUR,
1465
+ display: "Last 12 hours",
1466
+ timeframeText: "12 hours",
1467
+ timeframeLength: () => 60 * 60 * 12,
1468
+ defaultResponseGranularity: "hourly",
1469
+ dataGranularity: "hourly",
1470
+ isRelative: !0,
1471
+ fineGrainedDefaultGranularity: "tenMinutely",
1472
+ allowedTiers: ["free", "trial", "plus", "enterprise"],
1473
+ allowedGranularitiesOverride: ["minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
1474
+ }), p.ONE_DAY, new k({
1475
+ key: p.ONE_DAY,
1476
+ display: "Last 24 hours",
1477
+ timeframeText: "24 hours",
1478
+ timeframeLength: () => 60 * 60 * 24,
1479
+ defaultResponseGranularity: "hourly",
1480
+ dataGranularity: "hourly",
1481
+ isRelative: !0,
1482
+ fineGrainedDefaultGranularity: "thirtyMinutely",
1483
+ allowedTiers: ["free", "trial", "plus", "enterprise"],
1484
+ allowedGranularitiesOverride: ["fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
1485
+ }), p.SEVEN_DAY, new k({
1486
+ key: p.SEVEN_DAY,
1487
+ display: "Last 7 days",
1488
+ timeframeText: "7 days",
1489
+ timeframeLength: () => 60 * 60 * 24 * 7,
1490
+ defaultResponseGranularity: "daily",
1491
+ dataGranularity: "daily",
1492
+ isRelative: !0,
1493
+ fineGrainedDefaultGranularity: "twoHourly",
1494
+ allowedTiers: ["trial", "plus", "enterprise"],
1495
+ allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
1496
+ }), p.THIRTY_DAY, new k({
1497
+ key: p.THIRTY_DAY,
1498
+ display: "Last 30 days",
1499
+ timeframeText: "30 days",
1500
+ timeframeLength: () => 60 * 60 * 24 * 30,
1501
+ defaultResponseGranularity: "daily",
1502
+ dataGranularity: "daily",
1503
+ isRelative: !0,
1504
+ fineGrainedDefaultGranularity: "twelveHourly",
1505
+ allowedTiers: ["trial", "plus", "enterprise"],
1506
+ allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
1507
+ }), p.NINETY_DAY, new k({
1508
+ key: p.NINETY_DAY,
1509
+ display: "Last 90 days",
1510
+ timeframeText: "90 days",
1511
+ timeframeLength: () => 60 * 60 * 24 * 90,
1512
+ defaultResponseGranularity: "daily",
1513
+ dataGranularity: "daily",
1514
+ isRelative: !0,
1515
+ fineGrainedDefaultGranularity: "daily",
1516
+ allowedTiers: ["trial", "plus", "enterprise"],
1517
+ allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
1518
+ }), p.ONE_HUNDRED_EIGHTY_DAY, new k({
1519
+ key: p.ONE_HUNDRED_EIGHTY_DAY,
1520
+ display: "Last 180 days",
1521
+ timeframeText: "180 days",
1522
+ timeframeLength: () => 60 * 60 * 24 * 180,
1523
+ defaultResponseGranularity: "daily",
1524
+ dataGranularity: "daily",
1525
+ isRelative: !0,
1526
+ fineGrainedDefaultGranularity: "daily",
1527
+ allowedTiers: ["trial", "plus", "enterprise"],
1528
+ allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
1529
+ }), p.ONE_YEAR, new k({
1530
+ key: p.ONE_YEAR,
1531
+ display: "Last 365 days",
1532
+ timeframeText: "365 days",
1533
+ timeframeLength: () => 60 * 60 * 24 * 365,
1534
+ defaultResponseGranularity: "daily",
1535
+ dataGranularity: "daily",
1536
+ isRelative: !0,
1537
+ fineGrainedDefaultGranularity: "daily",
1538
+ allowedTiers: ["trial", "plus", "enterprise"],
1539
+ allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
1540
+ }), p.CURRENT_WEEK, new qa({
1541
+ key: p.CURRENT_WEEK,
1542
+ display: "This week",
1543
+ timeframeText: "Week",
1544
+ timeframeLength: () => {
1545
+ const e = He(/* @__PURE__ */ new Date(), { weekStartsOn: 1 });
1546
+ return (dt(mt(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
1547
+ },
1548
+ defaultResponseGranularity: "daily",
1549
+ dataGranularity: "daily",
1550
+ isRelative: !1,
1551
+ fineGrainedDefaultGranularity: "twoHourly",
1552
+ allowedTiers: ["plus", "enterprise"],
1553
+ allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
1554
+ }), p.CURRENT_MONTH, new Ja({
1555
+ key: p.CURRENT_MONTH,
1556
+ display: "This month",
1557
+ timeframeText: "Month",
1558
+ timeframeLength: () => {
1559
+ const e = we(/* @__PURE__ */ new Date());
1560
+ return (dt(mt(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
1561
+ },
1562
+ defaultResponseGranularity: "daily",
1563
+ dataGranularity: "daily",
1564
+ isRelative: !1,
1565
+ allowedTiers: ["plus", "enterprise"]
1566
+ }), p.CURRENT_YEAR, new Xa({
1567
+ key: p.CURRENT_YEAR,
1568
+ display: "This year",
1569
+ timeframeText: "Year",
1570
+ timeframeLength: () => {
1571
+ const e = new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1);
1572
+ return (dt(mt(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
1573
+ },
1574
+ defaultResponseGranularity: "daily",
1575
+ dataGranularity: "daily",
1576
+ isRelative: !1,
1577
+ allowedTiers: ["plus", "enterprise"]
1578
+ }), p.PREVIOUS_WEEK, new Qa({
1579
+ key: p.PREVIOUS_WEEK,
1580
+ display: "Previous week",
1581
+ timeframeText: "Week",
1582
+ timeframeLength: () => 60 * 60 * 24 * 7,
1583
+ defaultResponseGranularity: "daily",
1584
+ dataGranularity: "daily",
1585
+ isRelative: !1,
1586
+ fineGrainedDefaultGranularity: "twoHourly",
1587
+ allowedTiers: ["plus", "enterprise"],
1588
+ allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
1589
+ }), p.PREVIOUS_MONTH, new ei({
1590
+ key: p.PREVIOUS_MONTH,
1591
+ display: "Previous month",
1592
+ timeframeText: "Month",
1593
+ timeframeLength: () => {
1594
+ let e = 0;
1595
+ const t = we(/* @__PURE__ */ new Date()), n = we(Dn(/* @__PURE__ */ new Date()));
1596
+ return t.getTimezoneOffset() !== n.getTimezoneOffset() && (e = mn(t, n)), 60 * 60 * 24 * ka((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + tn(e);
1597
+ },
1598
+ defaultResponseGranularity: "daily",
1599
+ dataGranularity: "daily",
1600
+ isRelative: !1,
1601
+ allowedTiers: ["plus", "enterprise"]
1602
+ }), p.PREVIOUS_YEAR, new ti({
1603
+ key: p.PREVIOUS_YEAR,
1604
+ display: "Previous year",
1605
+ timeframeText: "Year",
1606
+ timeframeLength: () => {
1607
+ const e = new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1), t = new Date((/* @__PURE__ */ new Date()).getFullYear() - 1, 0, 1);
1608
+ let n = 0;
1609
+ return e.getTimezoneOffset() !== t.getTimezoneOffset() && (n = mn(e, t)), 60 * 60 * 24 * (365 + (t.getFullYear() % 4 === 0 ? 1 : 0)) + tn(n);
1610
+ },
1611
+ defaultResponseGranularity: "daily",
1612
+ dataGranularity: "daily",
1613
+ isRelative: !1,
1614
+ allowedTiers: ["plus", "enterprise"]
1615
+ });
1616
+ function mn(e, t) {
1617
+ return Na(e.getTimezoneOffset() - t.getTimezoneOffset());
1618
+ }
1619
+ p.FIFTEEN_MIN, p.ONE_HOUR, p.SIX_HOUR, p.TWELVE_HOUR, p.ONE_DAY, p.SEVEN_DAY, p.FIFTEEN_MIN, p.ONE_HOUR, p.SIX_HOUR, p.TWELVE_HOUR, p.ONE_DAY, p.SEVEN_DAY, p.THIRTY_DAY, p.NINETY_DAY, p.ONE_HUNDRED_EIGHTY_DAY, p.ONE_YEAR, p.CURRENT_WEEK, p.CURRENT_MONTH, p.CURRENT_YEAR, p.PREVIOUS_WEEK, p.PREVIOUS_MONTH, p.PREVIOUS_YEAR;
1620
+ new Map(Mt.map((e) => [e.code, { code: e.code, name: e.name }]));
1621
+ const ke = "#e0e4ea", ni = "#828a9e", ri = "32px", fn = 5, _t = [
1622
+ "#00819d",
1623
+ "#00abd2",
1624
+ "#00c8f4",
1625
+ "#67e3ff",
1626
+ "#b3f1ff"
1627
+ ], ai = (e, t) => {
1628
+ const n = e.length;
1629
+ if (!n)
1630
+ return NaN;
1631
+ const a = (n - 1) * t, i = Math.floor(a), s = Math.ceil(a);
1632
+ return i === s ? e[i] : e[i] + (a - i) * (e[s] - e[i]);
1633
+ }, gt = (e, t) => {
1634
+ if (e.length === 0)
1635
+ return [];
1636
+ const n = e.filter((d) => d > 0).map(Math.log).sort((d, y) => d - y), a = Math.min(...n), s = (Math.max(...n) - a) / t;
1637
+ return Array.from({ length: t }, (d, y) => a + y * s).map((d) => Math.exp(d)).reverse();
1638
+ };
1639
+ function ii({
1640
+ countryMetrics: e,
1641
+ metric: t
1642
+ }) {
1643
+ const n = C(() => {
1644
+ const f = { ...e.value };
1645
+ for (const _ of Object.keys(f))
1646
+ Mt.find((v) => v.code === _) || delete f[_];
1647
+ return f;
1648
+ }), a = C(() => Object.values(n.value)), i = C(() => Object.keys(n.value).length), s = C(() => i.value < fn - 1 ? i.value : fn), c = C(() => {
1649
+ var f;
1650
+ return !((f = t.value) != null && f.includes("latency"));
1651
+ }), d = C(() => {
1652
+ const f = [];
1653
+ if (a.value.length > 10) {
1654
+ const _ = [...a.value].sort((U, ie) => U - ie), v = ai(_, 0.75), F = a.value.filter((U) => U >= v), N = a.value.filter((U) => U < v), P = gt(F, 3), Q = gt(N, 2);
1655
+ return f.push(...P, ...Q), f;
1656
+ }
1657
+ return gt(a.value, s.value);
1658
+ }), y = C(() => a.value.length === 1 ? [{
1659
+ color: m(a.value[0]),
1660
+ range: u(a.value[0])
1661
+ }] : d.value.map((f, _) => {
1662
+ const v = _ === 0 ? Math.max(...d.value) : d.value[_ - 1], F = f, N = v;
1663
+ let P = "";
1664
+ return _ === 0 ? P = `> ${u(F)}` : _ === d.value.length - 1 ? P = `< ${u(N)}` : P = `${u(F)} - ${u(N)}`, {
1665
+ color: m(F),
1666
+ range: P
1667
+ };
1668
+ })), m = (f) => {
1669
+ if (f === 0)
1670
+ return ke;
1671
+ const _ = d.value.findIndex((v) => f >= v);
1672
+ return _ === -1 ? _t[_t.length - 1] : _t[_] ?? ke;
1673
+ }, u = (f) => {
1674
+ var v;
1675
+ const _ = Math.trunc(f);
1676
+ return c.value ? da(_, { capital: !0 }) : new Intl.NumberFormat(((v = document == null ? void 0 : document.documentElement) == null ? void 0 : v.lang) || "en-US").format(_);
1677
+ };
1678
+ return {
1679
+ getColor: m,
1680
+ formatMetric: u,
1681
+ legendData: y,
1682
+ scale: d
1683
+ };
1684
+ }
1685
+ const hn = {
1686
+ useI18n: ua,
1687
+ useMetricUtils: ii
1688
+ }, oi = "FeatureCollection", si = [
1689
+ {
1690
+ type: "Feature",
1691
+ properties: {
1692
+ scalerank: 0,
1693
+ featurecla: "Lake",
1694
+ name: "Lake\rBaikal",
1695
+ name_alt: null,
1696
+ admin: null,
1697
+ min_zoom: 1,
1698
+ min_label: 3
1699
+ },
1700
+ geometry: {
1701
+ type: "Polygon",
1702
+ coordinates: [
1703
+ [
1704
+ [
1705
+ 106.57998579307912,
1706
+ 52.79998159444554
1707
+ ],
1708
+ [
1709
+ 106.53998823448521,
1710
+ 52.93999888774037
1711
+ ],
1712
+ [
1713
+ 107.0800069519353,
1714
+ 53.18001007751998
1715
+ ],
1716
+ [
1717
+ 107.2999935242018,
1718
+ 53.37999787048953
1719
+ ],
1720
+ [
1721
+ 107.59997521365611,
1722
+ 53.51998932556822
1723
+ ],
1724
+ [
1725
+ 108.03994835818912,
1726
+ 53.859968573616456
1727
+ ],
1728
+ [
1729
+ 108.37997928266967,
1730
+ 54.25999583598784
1731
+ ],
1732
+ [
1733
+ 109.05270307824526,
1734
+ 55.027597561251326
1735
+ ],
1736
+ [
1737
+ 109.19346967980832,
1738
+ 55.53560272889659
1739
+ ],
1740
+ [
1741
+ 109.50699059452313,
1742
+ 55.73091380474372
1743
+ ],
1744
+ [
1745
+ 109.92980716353523,
1746
+ 55.7129562445223
1747
+ ],
1748
+ [
1749
+ 109.70000206913326,
1750
+ 54.980003567110515
1751
+ ],
1752
+ [
1753
+ 109.66000451053935,
1754
+ 54.71999359803395
1755
+ ],
1756
+ [
1757
+ 109.47996382043448,
1758
+ 54.33999095317566
1759
+ ],
1760
+ [
1761
+ 109.31997358605884,
1762
+ 53.81999685323869
1763
+ ],
1764
+ [
1765
+ 109.22003136600637,
1766
+ 53.619983222052994
1767
+ ],
1768
+ [
1769
+ 108.99999311730755,
1770
+ 53.78002513286093
1771
+ ],
1772
+ [
1773
+ 108.60001753136845,
1774
+ 53.4399942083804
1775
+ ],
1776
+ [
1777
+ 108.800005324338,
1778
+ 53.37999787048953
1779
+ ],
1780
+ [
1781
+ 108.76000776574409,
1782
+ 53.200008856816936
1783
+ ],
1784
+ [
1785
+ 108.45997439985749,
1786
+ 53.14001251892607
1787
+ ],
1788
+ [
1789
+ 108.17999148970011,
1790
+ 52.79998159444554
1791
+ ],
1792
+ [
1793
+ 107.79996300662566,
1794
+ 52.579995022179034
1795
+ ],
1796
+ [
1797
+ 107.31999230349876,
1798
+ 52.42000478780339
1799
+ ],
1800
+ [
1801
+ 106.64003380740229,
1802
+ 52.32001089131862
1803
+ ],
1804
+ [
1805
+ 106.1000150899522,
1806
+ 52.03997630472897
1807
+ ],
1808
+ [
1809
+ 105.740037062607,
1810
+ 51.759993394571595
1811
+ ],
1812
+ [
1813
+ 105.24001590375084,
1814
+ 51.52000804300813
1815
+ ],
1816
+ [
1817
+ 104.81998986208251,
1818
+ 51.46001170511727
1819
+ ],
1820
+ [
1821
+ 104.30002160036167,
1822
+ 51.50000926371118
1823
+ ],
1824
+ [
1825
+ 103.7600028829116,
1826
+ 51.60000316019595
1827
+ ],
1828
+ [
1829
+ 103.6200114278329,
1830
+ 51.73999461527464
1831
+ ],
1832
+ [
1833
+ 103.85999677939637,
1834
+ 51.85998729105637
1835
+ ],
1836
+ [
1837
+ 104.39996382041414,
1838
+ 51.85998729105637
1839
+ ],
1840
+ [
1841
+ 105.05997521364597,
1842
+ 52.0000045843512
1843
+ ],
1844
+ [
1845
+ 105.4800012553143,
1846
+ 52.28001333272471
1847
+ ],
1848
+ [
1849
+ 105.98002241417046,
1850
+ 52.51999868428817
1851
+ ],
1852
+ [
1853
+ 106.26000532432784,
1854
+ 52.619992580772944
1855
+ ],
1856
+ [
1857
+ 106.57998579307912,
1858
+ 52.79998159444554
1859
+ ]
1860
+ ]
1861
+ ]
1862
+ }
1863
+ },
1864
+ {
1865
+ type: "Feature",
1866
+ properties: {
1867
+ scalerank: 0,
1868
+ featurecla: "Lake",
1869
+ name: "Lake\rWinnipeg",
1870
+ name_alt: null,
1871
+ admin: null,
1872
+ min_zoom: 1,
1873
+ min_label: 3
1874
+ },
1875
+ geometry: {
1876
+ type: "Polygon",
1877
+ coordinates: [
1878
+ [
1879
+ [
1880
+ -98.95540137408423,
1881
+ 53.92978343364277
1882
+ ],
1883
+ [
1884
+ -97.95799455441879,
1885
+ 54.337097072967325
1886
+ ],
1887
+ [
1888
+ -97.8050064766187,
1889
+ 54.05938792583079
1890
+ ],
1891
+ [
1892
+ -97.64380184608419,
1893
+ 53.42521474874492
1894
+ ],
1895
+ [
1896
+ -96.39258622921722,
1897
+ 51.39730235453108
1898
+ ],
1899
+ [
1900
+ -96.23789282915149,
1901
+ 50.6910147161819
1902
+ ],
1903
+ [
1904
+ -96.72558915890605,
1905
+ 50.448910630894474
1906
+ ],
1907
+ [
1908
+ -96.92110694048235,
1909
+ 50.75405996357799
1910
+ ],
1911
+ [
1912
+ -97.23568722205913,
1913
+ 51.49778717712263
1914
+ ],
1915
+ [
1916
+ -98.20097713905517,
1917
+ 52.18456696228162
1918
+ ],
1919
+ [
1920
+ -99.23680538612963,
1921
+ 53.21628693298888
1922
+ ],
1923
+ [
1924
+ -98.95540137408423,
1925
+ 53.92978343364277
1926
+ ]
1927
+ ]
1928
+ ]
1929
+ }
1930
+ },
1931
+ {
1932
+ type: "Feature",
1933
+ properties: {
1934
+ scalerank: 0,
1935
+ featurecla: "Lake",
1936
+ name: "Great\rSlave Lake",
1937
+ name_alt: null,
1938
+ admin: null,
1939
+ min_zoom: 1,
1940
+ min_label: 3
1941
+ },
1942
+ geometry: {
1943
+ type: "Polygon",
1944
+ coordinates: [
1945
+ [
1946
+ [
1947
+ -115.00000342492967,
1948
+ 61.9723932969562
1949
+ ],
1950
+ [
1951
+ -115.80669837122196,
1952
+ 62.54171255151576
1953
+ ],
1954
+ [
1955
+ -116.0585951404287,
1956
+ 62.77880402287089
1957
+ ],
1958
+ [
1959
+ -115.84279435917783,
1960
+ 62.7503044704619
1961
+ ],
1962
+ [
1963
+ -114.45259497766185,
1964
+ 62.42820526798667
1965
+ ],
1966
+ [
1967
+ -113.35341142459757,
1968
+ 62.04448192000336
1969
+ ],
1970
+ [
1971
+ -111.77890804731261,
1972
+ 62.44360484480964
1973
+ ],
1974
+ [
1975
+ -111.04001258018727,
1976
+ 62.92000987410843
1977
+ ],
1978
+ [
1979
+ -110.20001217328286,
1980
+ 63.08000010848407
1981
+ ],
1982
+ [
1983
+ -109.40000932497237,
1984
+ 62.87817780216814
1985
+ ],
1986
+ [
1987
+ -109.09010576051801,
1988
+ 62.814099026126215
1989
+ ],
1990
+ [
1991
+ -109.11651241741916,
1992
+ 62.6928144395372
1993
+ ],
1994
+ [
1995
+ -110.10089677614705,
1996
+ 62.51561595320837
1997
+ ],
1998
+ [
1999
+ -111.27599300824811,
2000
+ 62.34911448836395
2001
+ ],
2002
+ [
2003
+ -112.63050981326654,
2004
+ 61.55991201440246
2005
+ ],
2006
+ [
2007
+ -113.64000891808828,
2008
+ 61.07999298770784
2009
+ ],
2010
+ [
2011
+ -115.3409903634076,
2012
+ 60.87659455020702
2013
+ ],
2014
+ [
2015
+ -116.43999304895887,
2016
+ 60.86000641544133
2017
+ ],
2018
+ [
2019
+ -118.06110856817108,
2020
+ 61.31196849226605
2021
+ ],
2022
+ [
2023
+ -118.3474735177165,
2024
+ 61.36137116153708
2025
+ ],
2026
+ [
2027
+ -118.3849906075604,
2028
+ 61.52110301375126
2029
+ ],
2030
+ [
2031
+ -118.17960262741634,
2032
+ 61.55629466414203
2033
+ ],
2034
+ [
2035
+ -116.8028132800801,
2036
+ 61.32589529076871
2037
+ ],
2038
+ [
2039
+ -115.67879920129957,
2040
+ 61.69179026961132
2041
+ ],
2042
+ [
2043
+ -115.00000342492967,
2044
+ 61.9723932969562
2045
+ ]
2046
+ ]
2047
+ ]
2048
+ }
2049
+ },
2050
+ {
2051
+ type: "Feature",
2052
+ properties: {
2053
+ scalerank: 0,
2054
+ featurecla: "Lake",
2055
+ name: "L. Ontario",
2056
+ name_alt: null,
2057
+ admin: "admin-0",
2058
+ min_zoom: 1,
2059
+ min_label: 3
2060
+ },
2061
+ geometry: {
2062
+ type: "Polygon",
2063
+ coordinates: [
2064
+ [
2065
+ [
2066
+ -79.05630591502026,
2067
+ 43.25410431576152
2068
+ ],
2069
+ [
2070
+ -79.36168779164908,
2071
+ 43.20237620703736
2072
+ ],
2073
+ [
2074
+ -79.76047481964547,
2075
+ 43.29720246029295
2076
+ ],
2077
+ [
2078
+ -79.46116492381094,
2079
+ 43.639197089200565
2080
+ ],
2081
+ [
2082
+ -79.1561706204243,
2083
+ 43.75743276628437
2084
+ ],
2085
+ [
2086
+ -78.45052893747877,
2087
+ 43.9031861435636
2088
+ ],
2089
+ [
2090
+ -77.60536088734519,
2091
+ 44.039327704436545
2092
+ ],
2093
+ [
2094
+ -77.16148617217414,
2095
+ 43.850140285815996
2096
+ ],
2097
+ [
2098
+ -76.88269181995948,
2099
+ 44.0694550644627
2100
+ ],
2101
+ [
2102
+ -76.56555355498425,
2103
+ 44.20802541765336
2104
+ ],
2105
+ [
2106
+ -76.35303422718391,
2107
+ 44.134670722015045
2108
+ ],
2109
+ [
2110
+ -76.23926856149336,
2111
+ 43.979150499032656
2112
+ ],
2113
+ [
2114
+ -76.17999569365458,
2115
+ 43.5900011256587
2116
+ ],
2117
+ [
2118
+ -76.9300015937227,
2119
+ 43.2599954290428
2120
+ ],
2121
+ [
2122
+ -77.74915056019732,
2123
+ 43.342832750006664
2124
+ ],
2125
+ [
2126
+ -78.53499406605984,
2127
+ 43.379988104824534
2128
+ ],
2129
+ [
2130
+ -79.05630591502026,
2131
+ 43.25410431576152
2132
+ ]
2133
+ ]
2134
+ ]
2135
+ }
2136
+ },
2137
+ {
2138
+ type: "Feature",
2139
+ properties: {
2140
+ scalerank: 0,
2141
+ featurecla: "Lake",
2142
+ name: "L. Erie",
2143
+ name_alt: null,
2144
+ admin: "admin-0",
2145
+ min_zoom: 1,
2146
+ min_label: 3
2147
+ },
2148
+ geometry: {
2149
+ type: "Polygon",
2150
+ coordinates: [
2151
+ [
2152
+ [
2153
+ -83.12001135937246,
2154
+ 42.08001577409016
2155
+ ],
2156
+ [
2157
+ -82.57123348664891,
2158
+ 42.01702220312636
2159
+ ],
2160
+ [
2161
+ -81.82918575715374,
2162
+ 42.33552989355732
2163
+ ],
2164
+ [
2165
+ -81.39226152212595,
2166
+ 42.61517690690481
2167
+ ],
2168
+ [
2169
+ -81.09496700715081,
2170
+ 42.66075552018623
2171
+ ],
2172
+ [
2173
+ -80.54515560578142,
2174
+ 42.560089830081665
2175
+ ],
2176
+ [
2177
+ -80.27917700877515,
2178
+ 42.71566172949635
2179
+ ],
2180
+ [
2181
+ -79.79135148793986,
2182
+ 42.84203644466612
2183
+ ],
2184
+ [
2185
+ -78.92000932485044,
2186
+ 42.96500051530464
2187
+ ],
2188
+ [
2189
+ -78.90057898630869,
2190
+ 42.8667119410855
2191
+ ],
2192
+ [
2193
+ -79.76220598012725,
2194
+ 42.269616604169045
2195
+ ],
2196
+ [
2197
+ -80.51644934764329,
2198
+ 41.980331936199136
2199
+ ],
2200
+ [
2201
+ -81.03119828970264,
2202
+ 41.845508124349635
2203
+ ],
2204
+ [
2205
+ -81.62351355663209,
2206
+ 41.568935858723535
2207
+ ],
2208
+ [
2209
+ -82.34744869660895,
2210
+ 41.435920722004255
2211
+ ],
2212
+ [
2213
+ -82.84610043000939,
2214
+ 41.48710622818935
2215
+ ],
2216
+ [
2217
+ -83.46283281119673,
2218
+ 41.69396698665372
2219
+ ],
2220
+ [
2221
+ -83.12001135937246,
2222
+ 42.08001577409016
2223
+ ],
2224
+ [
2225
+ -83.12001135937246,
2226
+ 42.08001577409016
2227
+ ]
2228
+ ]
2229
+ ]
2230
+ }
2231
+ },
2232
+ {
2233
+ type: "Feature",
2234
+ properties: {
2235
+ scalerank: 0,
2236
+ featurecla: "Lake",
2237
+ name: "Lake Superior",
2238
+ name_alt: null,
2239
+ admin: "admin-0",
2240
+ min_zoom: 1,
2241
+ min_label: 3
2242
+ },
2243
+ geometry: {
2244
+ type: "Polygon",
2245
+ coordinates: [
2246
+ [
2247
+ [
2248
+ -89.60000342482806,
2249
+ 48.00998973244721
2250
+ ],
2251
+ [
2252
+ -89.19405921095924,
2253
+ 48.40546946877693
2254
+ ],
2255
+ [
2256
+ -88.62641944044917,
2257
+ 48.56251414651193
2258
+ ],
2259
+ [
2260
+ -88.40423661981026,
2261
+ 48.80632355406499
2262
+ ],
2263
+ [
2264
+ -88.17895321323383,
2265
+ 48.93670319273738
2266
+ ],
2267
+ [
2268
+ -87.24903581414156,
2269
+ 48.73511343036678
2270
+ ],
2271
+ [
2272
+ -86.56000810417788,
2273
+ 48.71108388935106
2274
+ ],
2275
+ [
2276
+ -86.32103044304411,
2277
+ 48.57729360614741
2278
+ ],
2279
+ [
2280
+ -85.98652889681881,
2281
+ 48.01035146747326
2282
+ ],
2283
+ [
2284
+ -84.8642201403039,
2285
+ 47.86007640236849
2286
+ ],
2287
+ [
2288
+ -85.04061764193222,
2289
+ 47.575700995466306
2290
+ ],
2291
+ [
2292
+ -84.64500871452178,
2293
+ 47.28220469826462
2294
+ ],
2295
+ [
2296
+ -84.81528255892351,
2297
+ 46.90233124448706
2298
+ ],
2299
+ [
2300
+ -84.39559241406505,
2301
+ 46.77683502866624
2302
+ ],
2303
+ [
2304
+ -84.60490780306328,
2305
+ 46.439594631529474
2306
+ ],
2307
+ [
2308
+ -84.9100054593145,
2309
+ 46.48000560158172
2310
+ ],
2311
+ [
2312
+ -85.11999264193253,
2313
+ 46.76001434995524
2314
+ ],
2315
+ [
2316
+ -86.1026200019625,
2317
+ 46.67265534116582
2318
+ ],
2319
+ [
2320
+ -86.99000769727856,
2321
+ 46.45000743263628
2322
+ ],
2323
+ [
2324
+ -87.69427995476835,
2325
+ 46.83104360614041
2326
+ ],
2327
+ [
2328
+ -88.2612220934425,
2329
+ 46.958581041036766
2330
+ ],
2331
+ [
2332
+ -87.93992387566777,
2333
+ 47.485913194359185
2334
+ ],
2335
+ [
2336
+ -88.82260901564527,
2337
+ 47.154796454449
2338
+ ],
2339
+ [
2340
+ -89.62498897984119,
2341
+ 46.83083690041124
2342
+ ],
2343
+ [
2344
+ -90.39703487828177,
2345
+ 46.57648550067064
2346
+ ],
2347
+ [
2348
+ -91.00999487991183,
2349
+ 46.92000458433087
2350
+ ],
2351
+ [
2352
+ -92.01192338740282,
2353
+ 46.71167104754619
2354
+ ],
2355
+ [
2356
+ -92.00877112503301,
2357
+ 46.85843211525511
2358
+ ],
2359
+ [
2360
+ -91.33000118687926,
2361
+ 47.28000844989221
2362
+ ],
2363
+ [
2364
+ -90.61999284540505,
2365
+ 47.68000987404746
2366
+ ],
2367
+ [
2368
+ -89.60000342482806,
2369
+ 48.00998973244721
2370
+ ]
2371
+ ]
2372
+ ]
2373
+ }
2374
+ },
2375
+ {
2376
+ type: "Feature",
2377
+ properties: {
2378
+ scalerank: 0,
2379
+ featurecla: "Lake",
2380
+ name: "Lake\rVictoria",
2381
+ name_alt: null,
2382
+ admin: "admin-0",
2383
+ min_zoom: 1,
2384
+ min_label: 3
2385
+ },
2386
+ geometry: {
2387
+ type: "Polygon",
2388
+ coordinates: [
2389
+ [
2390
+ [
2391
+ 33.85036827976734,
2392
+ 0.128157863766091
2393
+ ],
2394
+ [
2395
+ 33.85036827976734,
2396
+ 0.128157863766091
2397
+ ],
2398
+ [
2399
+ 34.13624230320599,
2400
+ -0.319308363449238
2401
+ ],
2402
+ [
2403
+ 34.0726286150547,
2404
+ -1.059831638191795
2405
+ ],
2406
+ [
2407
+ 33.579428745261055,
2408
+ -1.506005954599821
2409
+ ],
2410
+ [
2411
+ 33.251748488098286,
2412
+ -1.957968031424549
2413
+ ],
2414
+ [
2415
+ 33.64717654799571,
2416
+ -2.30089283611342
2417
+ ],
2418
+ [
2419
+ 33.07672041192572,
2420
+ -2.547131035984201
2421
+ ],
2422
+ [
2423
+ 32.95176679864397,
2424
+ -2.43044565186915
2425
+ ],
2426
+ [
2427
+ 32.37309410983957,
2428
+ -2.489925225437091
2429
+ ],
2430
+ [
2431
+ 31.926558058405476,
2432
+ -2.714511000177573
2433
+ ],
2434
+ [
2435
+ 31.648022088352292,
2436
+ -2.32921152100937
2437
+ ],
2438
+ [
2439
+ 31.836020949030114,
2440
+ -1.629305922048232
2441
+ ],
2442
+ [
2443
+ 31.866199985488578,
2444
+ -1.027378838712494
2445
+ ],
2446
+ [
2447
+ 31.815143670384202,
2448
+ -0.64042571371094
2449
+ ],
2450
+ [
2451
+ 32.27284183119332,
2452
+ -0.056120293786734
2453
+ ],
2454
+ [
2455
+ 32.906136508930246,
2456
+ 0.0867650415003
2457
+ ],
2458
+ [
2459
+ 33.33184695815069,
2460
+ 0.324993394365833
2461
+ ],
2462
+ [
2463
+ 33.85036827976734,
2464
+ 0.128157863766091
2465
+ ]
2466
+ ]
2467
+ ]
2468
+ }
2469
+ },
2470
+ {
2471
+ type: "Feature",
2472
+ properties: {
2473
+ scalerank: 0,
2474
+ featurecla: "Lake",
2475
+ name: "Lake\rLadoga",
2476
+ name_alt: null,
2477
+ admin: null,
2478
+ min_zoom: 1,
2479
+ min_label: 3
2480
+ },
2481
+ geometry: {
2482
+ type: "Polygon",
2483
+ coordinates: [
2484
+ [
2485
+ [
2486
+ 29.836711460089845,
2487
+ 61.22608226179696
2488
+ ],
2489
+ [
2490
+ 29.836711460089845,
2491
+ 61.22608226179696
2492
+ ],
2493
+ [
2494
+ 30.85199832532828,
2495
+ 61.77504100203353
2496
+ ],
2497
+ [
2498
+ 32.52688317234018,
2499
+ 61.11751007755173
2500
+ ],
2501
+ [
2502
+ 32.94432539239392,
2503
+ 60.64260366478942
2504
+ ],
2505
+ [
2506
+ 32.81575442885176,
2507
+ 60.481889960361684
2508
+ ],
2509
+ [
2510
+ 32.599901971168606,
2511
+ 60.533514716221276
2512
+ ],
2513
+ [
2514
+ 32.583882277158125,
2515
+ 60.20893504499601
2516
+ ],
2517
+ [
2518
+ 31.699440138482714,
2519
+ 60.23565176049091
2520
+ ],
2521
+ [
2522
+ 31.50973595553924,
2523
+ 59.92034800886205
2524
+ ],
2525
+ [
2526
+ 31.106246372204282,
2527
+ 59.92768606224749
2528
+ ],
2529
+ [
2530
+ 31.10893354668346,
2531
+ 60.14645823835514
2532
+ ],
2533
+ [
2534
+ 30.533878208139498,
2535
+ 60.63009796817478
2536
+ ],
2537
+ [
2538
+ 30.502045525847706,
2539
+ 60.843211574946466
2540
+ ],
2541
+ [
2542
+ 29.836711460089845,
2543
+ 61.22608226179696
2544
+ ]
2545
+ ]
2546
+ ]
2547
+ }
2548
+ },
2549
+ {
2550
+ type: "Feature",
2551
+ properties: {
2552
+ scalerank: 0,
2553
+ featurecla: "Lake",
2554
+ name: "Lake\rBalkhash",
2555
+ name_alt: "Balqash Köli",
2556
+ admin: null,
2557
+ min_zoom: 1,
2558
+ min_label: 3
2559
+ },
2560
+ geometry: {
2561
+ type: "Polygon",
2562
+ coordinates: [
2563
+ [
2564
+ [
2565
+ 78.99076541536459,
2566
+ 46.748619696634876
2567
+ ],
2568
+ [
2569
+ 78.99076541536459,
2570
+ 46.748619696634876
2571
+ ],
2572
+ [
2573
+ 79.2451684915375,
2574
+ 46.64516347918655
2575
+ ],
2576
+ [
2577
+ 78.88989301953086,
2578
+ 46.369934800800024
2579
+ ],
2580
+ [
2581
+ 78.44506229036242,
2582
+ 46.29717438413307
2583
+ ],
2584
+ [
2585
+ 77.20606814973246,
2586
+ 46.3955663112168
2587
+ ],
2588
+ [
2589
+ 75.61128177277294,
2590
+ 46.50718740496724
2591
+ ],
2592
+ [
2593
+ 75.46333214712132,
2594
+ 46.6706141220903
2595
+ ],
2596
+ [
2597
+ 75.40566124868357,
2598
+ 46.47080719663377
2599
+ ],
2600
+ [
2601
+ 74.91122114451494,
2602
+ 46.404661363300164
2603
+ ],
2604
+ [
2605
+ 74.77138471873312,
2606
+ 46.107831936215646
2607
+ ],
2608
+ [
2609
+ 74.27802981964263,
2610
+ 46.004065660173566
2611
+ ],
2612
+ [
2613
+ 74.0999528339648,
2614
+ 44.98893382423201
2615
+ ],
2616
+ [
2617
+ 73.4367375019309,
2618
+ 45.60946442319282
2619
+ ],
2620
+ [
2621
+ 73.4399931171653,
2622
+ 45.80586070411809
2623
+ ],
2624
+ [
2625
+ 73.73713260284359,
2626
+ 46.012747300798594
2627
+ ],
2628
+ [
2629
+ 73.67925499867667,
2630
+ 46.18307282163262
2631
+ ],
2632
+ [
2633
+ 74.02068118682908,
2634
+ 46.20490611427593
2635
+ ],
2636
+ [
2637
+ 74.09432010284502,
2638
+ 46.42781240496693
2639
+ ],
2640
+ [
2641
+ 74.939384800114,
2642
+ 46.81678091082786
2643
+ ],
2644
+ [
2645
+ 76.20313195181177,
2646
+ 46.7800131292522
2647
+ ],
2648
+ [
2649
+ 77.18131513866464,
2650
+ 46.64340648048862
2651
+ ],
2652
+ [
2653
+ 77.85993004752152,
2654
+ 46.64785065366573
2655
+ ],
2656
+ [
2657
+ 78.29700931184618,
2658
+ 46.46853343361292
2659
+ ],
2660
+ [
2661
+ 78.39710656119556,
2662
+ 46.657669175801175
2663
+ ],
2664
+ [
2665
+ 78.99076541536459,
2666
+ 46.748619696634876
2667
+ ]
2668
+ ]
2669
+ ]
2670
+ }
2671
+ },
2672
+ {
2673
+ type: "Feature",
2674
+ properties: {
2675
+ scalerank: 0,
2676
+ featurecla: "Lake",
2677
+ name: "Lake\rTanganyika",
2678
+ name_alt: null,
2679
+ admin: "admin-0",
2680
+ min_zoom: 1,
2681
+ min_label: 3
2682
+ },
2683
+ geometry: {
2684
+ type: "Polygon",
2685
+ coordinates: [
2686
+ [
2687
+ [
2688
+ 30.806006300588507,
2689
+ -8.578339125201033
2690
+ ],
2691
+ [
2692
+ 30.46442508313922,
2693
+ -8.498188978716335
2694
+ ],
2695
+ [
2696
+ 30.566847771941724,
2697
+ -8.1150082332721
2698
+ ],
2699
+ [
2700
+ 30.27735639824263,
2701
+ -7.848357842646031
2702
+ ],
2703
+ [
2704
+ 30.14702843600253,
2705
+ -7.299244073112582
2706
+ ],
2707
+ [
2708
+ 29.536523064906334,
2709
+ -6.7541610652979
2710
+ ],
2711
+ [
2712
+ 29.19318484875913,
2713
+ -6.038029066597119
2714
+ ],
2715
+ [
2716
+ 29.371985304489016,
2717
+ -5.616452731960017
2718
+ ],
2719
+ [
2720
+ 29.101717563602506,
2721
+ -5.054006442895265
2722
+ ],
2723
+ [
2724
+ 29.281034783655315,
2725
+ -3.455499362810748
2726
+ ],
2727
+ [
2728
+ 29.652588331833897,
2729
+ -4.420143324403149
2730
+ ],
2731
+ [
2732
+ 29.600085076625334,
2733
+ -4.896393324405054
2734
+ ],
2735
+ [
2736
+ 29.79195966972506,
2737
+ -5.040880629093131
2738
+ ],
2739
+ [
2740
+ 29.758421665167646,
2741
+ -5.466901136907339
2742
+ ],
2743
+ [
2744
+ 29.951226434048635,
2745
+ -5.860985609565162
2746
+ ],
2747
+ [
2748
+ 29.722041456834177,
2749
+ -6.244114678577112
2750
+ ],
2751
+ [
2752
+ 30.52803877129051,
2753
+ -6.922729587433992
2754
+ ],
2755
+ [
2756
+ 30.604158156056457,
2757
+ -7.541916599155222
2758
+ ],
2759
+ [
2760
+ 31.189032016735865,
2761
+ -8.729906101113095
2762
+ ],
2763
+ [
2764
+ 31.022117140433124,
2765
+ -8.786543470904988
2766
+ ],
2767
+ [
2768
+ 30.806006300588507,
2769
+ -8.578339125201033
2770
+ ],
2771
+ [
2772
+ 30.806006300588507,
2773
+ -8.578339125201033
2774
+ ]
2775
+ ]
2776
+ ]
2777
+ }
2778
+ },
2779
+ {
2780
+ type: "Feature",
2781
+ properties: {
2782
+ scalerank: 0,
2783
+ featurecla: "Lake",
2784
+ name: "Lake Malawi",
2785
+ name_alt: "Lake Nyasa",
2786
+ admin: "admin-0",
2787
+ min_zoom: 1,
2788
+ min_label: 3
2789
+ },
2790
+ geometry: {
2791
+ type: "Polygon",
2792
+ coordinates: [
2793
+ [
2794
+ [
2795
+ 35.2602047055542,
2796
+ -14.277474460510291
2797
+ ],
2798
+ [
2799
+ 35.236226840970915,
2800
+ -14.401291192281633
2801
+ ],
2802
+ [
2803
+ 34.881209751125766,
2804
+ -14.012012627826891
2805
+ ],
2806
+ [
2807
+ 34.706543409979076,
2808
+ -14.262023207255027
2809
+ ],
2810
+ [
2811
+ 34.54675988133266,
2812
+ -14.047669366108266
2813
+ ],
2814
+ [
2815
+ 34.55110070164528,
2816
+ -13.67208505621096
2817
+ ],
2818
+ [
2819
+ 34.3209338722171,
2820
+ -13.379389743709737
2821
+ ],
2822
+ [
2823
+ 34.32997724786827,
2824
+ -12.944584242405995
2825
+ ],
2826
+ [
2827
+ 34.032527703596315,
2828
+ -12.208556817272836
2829
+ ],
2830
+ [
2831
+ 34.322690870915096,
2832
+ -11.652983493702834
2833
+ ],
2834
+ [
2835
+ 34.25990400568048,
2836
+ -10.447579034062642
2837
+ ],
2838
+ [
2839
+ 33.906592238100984,
2840
+ -9.801726983278854
2841
+ ],
2842
+ [
2843
+ 33.99557905450757,
2844
+ -9.495440769084837
2845
+ ],
2846
+ [
2847
+ 34.52422895685345,
2848
+ -10.03013681400887
2849
+ ],
2850
+ [
2851
+ 34.60789310073403,
2852
+ -11.080511976773494
2853
+ ],
2854
+ [
2855
+ 34.93702029800096,
2856
+ -11.463434340056267
2857
+ ],
2858
+ [
2859
+ 34.69388268406766,
2860
+ -12.422393894096615
2861
+ ],
2862
+ [
2863
+ 34.86756717300062,
2864
+ -13.701127211159019
2865
+ ],
2866
+ [
2867
+ 35.05597944513687,
2868
+ -13.742933444883136
2869
+ ],
2870
+ [
2871
+ 35.2602047055542,
2872
+ -14.277474460510291
2873
+ ]
2874
+ ]
2875
+ ]
2876
+ }
2877
+ },
2878
+ {
2879
+ type: "Feature",
2880
+ properties: {
2881
+ scalerank: 0,
2882
+ featurecla: "Lake",
2883
+ name: "Aral\rSea",
2884
+ name_alt: null,
2885
+ admin: null,
2886
+ min_zoom: 1,
2887
+ min_label: 3
2888
+ },
2889
+ geometry: {
2890
+ type: "Polygon",
2891
+ coordinates: [
2892
+ [
2893
+ [
2894
+ 60.05285159692946,
2895
+ 44.264636949229114
2896
+ ],
2897
+ [
2898
+ 59.77002648299603,
2899
+ 44.15999217383806
2900
+ ],
2901
+ [
2902
+ 59.06288618351405,
2903
+ 44.36928172462015
2904
+ ],
2905
+ [
2906
+ 59.34571129744745,
2907
+ 44.99720205339871
2908
+ ],
2909
+ [
2910
+ 59.35930219914022,
2911
+ 45.190006822279685
2912
+ ],
2913
+ [
2914
+ 58.96139367049281,
2915
+ 45.37500844988459
2916
+ ],
2917
+ [
2918
+ 58.92144778833119,
2919
+ 45.101846828789746
2920
+ ],
2921
+ [
2922
+ 58.92144778833119,
2923
+ 44.73556427670495
2924
+ ],
2925
+ [
2926
+ 58.497132602782614,
2927
+ 44.212340399749735
2928
+ ],
2929
+ [
2930
+ 58.285000848224456,
2931
+ 44.473952338227335
2932
+ ],
2933
+ [
2934
+ 58.285000848224456,
2935
+ 44.89255727800766
2936
+ ],
2937
+ [
2938
+ 58.689989048095896,
2939
+ 45.50001373959863
2940
+ ],
2941
+ [
2942
+ 58.78000939314833,
2943
+ 45.88673432065487
2944
+ ],
2945
+ [
2946
+ 59.20427290226462,
2947
+ 45.93905670835039
2948
+ ],
2949
+ [
2950
+ 59.535002068932585,
2951
+ 45.70501414650049
2952
+ ],
2953
+ [
2954
+ 59.55784305200561,
2955
+ 46.30533926043519
2956
+ ],
2957
+ [
2958
+ 59.77002648299603,
2959
+ 46.25299103452352
2960
+ ],
2961
+ [
2962
+ 60.12359663273702,
2963
+ 46.096023871436955
2964
+ ],
2965
+ [
2966
+ 60.12359663273702,
2967
+ 45.88673432065487
2968
+ ],
2969
+ [
2970
+ 59.94675988143425,
2971
+ 45.808211981787366
2972
+ ],
2973
+ [
2974
+ 59.84071984237133,
2975
+ 45.520477606786216
2976
+ ],
2977
+ [
2978
+ 60.12359663273702,
2979
+ 45.572774156265595
2980
+ ],
2981
+ [
2982
+ 60.23997195825834,
2983
+ 44.78403677019473
2984
+ ],
2985
+ [
2986
+ 60.05285159692946,
2987
+ 44.264636949229114
2988
+ ]
2989
+ ]
2990
+ ]
2991
+ }
2992
+ },
2993
+ {
2994
+ type: "Feature",
2995
+ properties: {
2996
+ scalerank: 1,
2997
+ featurecla: "Lake",
2998
+ name: "Vänern",
2999
+ name_alt: null,
3000
+ admin: null,
3001
+ min_zoom: 1.7,
3002
+ min_label: 3.6
3003
+ },
3004
+ geometry: {
3005
+ type: "Polygon",
3006
+ coordinates: [
3007
+ [
3008
+ [
3009
+ 13.979281447005576,
3010
+ 59.20491364199721
3011
+ ],
3012
+ [
3013
+ 13.979281447005576,
3014
+ 59.20491364199721
3015
+ ],
3016
+ [
3017
+ 13.984449090234762,
3018
+ 59.086212877022774
3019
+ ],
3020
+ [
3021
+ 13.91892337408865,
3022
+ 58.902503160225166
3023
+ ],
3024
+ [
3025
+ 13.28268313971111,
3026
+ 58.608670966213566
3027
+ ],
3028
+ [
3029
+ 12.830100945698888,
3030
+ 58.50903880475484
3031
+ ],
3032
+ [
3033
+ 12.460149366921371,
3034
+ 58.50619660097878
3035
+ ],
3036
+ [
3037
+ 12.537767368223768,
3038
+ 58.77594757754237
3039
+ ],
3040
+ [
3041
+ 12.522161085671598,
3042
+ 58.880282294339665
3043
+ ],
3044
+ [
3045
+ 12.697085808979608,
3046
+ 58.953843695707135
3047
+ ],
3048
+ [
3049
+ 13.027039829163215,
3050
+ 58.993531195707305
3051
+ ],
3052
+ [
3053
+ 13.195298292705559,
3054
+ 59.12900096296045
3055
+ ],
3056
+ [
3057
+ 13.59144982265505,
3058
+ 59.336481838612315
3059
+ ],
3060
+ [
3061
+ 13.979281447005576,
3062
+ 59.20491364199721
3063
+ ]
3064
+ ]
3065
+ ]
3066
+ }
3067
+ },
3068
+ {
3069
+ type: "Feature",
3070
+ properties: {
3071
+ scalerank: 1,
3072
+ featurecla: "Lake",
3073
+ name: "Lake Okeechobee",
3074
+ name_alt: null,
3075
+ admin: null,
3076
+ min_zoom: 1.7,
3077
+ min_label: 3.6
3078
+ },
3079
+ geometry: {
3080
+ type: "Polygon",
3081
+ coordinates: [
3082
+ [
3083
+ [
3084
+ -80.70643775096435,
3085
+ 26.788959458924822
3086
+ ],
3087
+ [
3088
+ -80.93244462759287,
3089
+ 26.823272609966622
3090
+ ],
3091
+ [
3092
+ -80.91970638703292,
3093
+ 27.068916530866048
3094
+ ],
3095
+ [
3096
+ -80.69369951040441,
3097
+ 27.034629218040394
3098
+ ],
3099
+ [
3100
+ -80.70643775096435,
3101
+ 26.788959458924822
3102
+ ],
3103
+ [
3104
+ -80.70643775096435,
3105
+ 26.788959458924822
3106
+ ]
3107
+ ]
3108
+ ]
3109
+ }
3110
+ },
3111
+ {
3112
+ type: "Feature",
3113
+ properties: {
3114
+ scalerank: 1,
3115
+ featurecla: "Lake",
3116
+ name: "Lago de\rNicaragua",
3117
+ name_alt: null,
3118
+ admin: null,
3119
+ min_zoom: 1.7,
3120
+ min_label: 3.6
3121
+ },
3122
+ geometry: {
3123
+ type: "Polygon",
3124
+ coordinates: [
3125
+ [
3126
+ [
3127
+ -84.85548682324658,
3128
+ 11.147898667846633
3129
+ ],
3130
+ [
3131
+ -85.29013729525353,
3132
+ 11.176165676310276
3133
+ ],
3134
+ [
3135
+ -85.79132117383625,
3136
+ 11.509737046754324
3137
+ ],
3138
+ [
3139
+ -85.8851655748783,
3140
+ 11.900100816287136
3141
+ ],
3142
+ [
3143
+ -85.5653401354239,
3144
+ 11.940330918826362
3145
+ ],
3146
+ [
3147
+ -85.03684526237491,
3148
+ 11.5216484643976
3149
+ ],
3150
+ [
3151
+ -84.85548682324658,
3152
+ 11.147898667846633
3153
+ ],
3154
+ [
3155
+ -84.85548682324658,
3156
+ 11.147898667846633
3157
+ ]
3158
+ ]
3159
+ ]
3160
+ }
3161
+ },
3162
+ {
3163
+ type: "Feature",
3164
+ properties: {
3165
+ scalerank: 1,
3166
+ featurecla: "Lake",
3167
+ name: "Lake Tana",
3168
+ name_alt: null,
3169
+ admin: null,
3170
+ min_zoom: 1.7,
3171
+ min_label: 3.6
3172
+ },
3173
+ geometry: {
3174
+ type: "Polygon",
3175
+ coordinates: [
3176
+ [
3177
+ [
3178
+ 37.14370730972843,
3179
+ 11.850594794151519
3180
+ ],
3181
+ [
3182
+ 37.01482628759251,
3183
+ 12.035596421756424
3184
+ ],
3185
+ [
3186
+ 37.24401126480697,
3187
+ 12.233878892460353
3188
+ ],
3189
+ [
3190
+ 37.518361443844526,
3191
+ 12.160601711470477
3192
+ ],
3193
+ [
3194
+ 37.48187788264647,
3195
+ 11.825092474815477
3196
+ ],
3197
+ [
3198
+ 37.33635704931254,
3199
+ 11.713393866416595
3200
+ ],
3201
+ [
3202
+ 37.14370730972843,
3203
+ 11.850594794151519
3204
+ ],
3205
+ [
3206
+ 37.14370730972843,
3207
+ 11.850594794151519
3208
+ ]
3209
+ ]
3210
+ ]
3211
+ }
3212
+ },
3213
+ {
3214
+ type: "Feature",
3215
+ properties: {
3216
+ scalerank: 1,
3217
+ featurecla: "Lake",
3218
+ name: "Lago Titicaca",
3219
+ name_alt: null,
3220
+ admin: null,
3221
+ min_zoom: 1.7,
3222
+ min_label: 3.6
3223
+ },
3224
+ geometry: {
3225
+ type: "Polygon",
3226
+ coordinates: [
3227
+ [
3228
+ [
3229
+ -69.40673987494259,
3230
+ -16.126198825752063
3231
+ ],
3232
+ [
3233
+ -69.7290974595793,
3234
+ -15.928794854397104
3235
+ ],
3236
+ [
3237
+ -69.98365556504908,
3238
+ -15.73717864345884
3239
+ ],
3240
+ [
3241
+ -69.8770212470148,
3242
+ -15.669844252182529
3243
+ ],
3244
+ [
3245
+ -69.8679778713637,
3246
+ -15.546079196843493
3247
+ ],
3248
+ [
3249
+ -69.88559953477524,
3250
+ -15.35425628017606
3251
+ ],
3252
+ [
3253
+ -69.59675411647981,
3254
+ -15.410480238509614
3255
+ ],
3256
+ [
3257
+ -68.98697221543571,
3258
+ -15.885903415594846
3259
+ ],
3260
+ [
3261
+ -68.9596870591856,
3262
+ -15.91329192470954
3263
+ ],
3264
+ [
3265
+ -68.74623755560401,
3266
+ -16.356003920154023
3267
+ ],
3268
+ [
3269
+ -68.90524593776611,
3270
+ -16.506640720284835
3271
+ ],
3272
+ [
3273
+ -69.00115739609983,
3274
+ -16.536406345284952
3275
+ ],
3276
+ [
3277
+ -69.09084184434238,
3278
+ -16.461992282784657
3279
+ ],
3280
+ [
3281
+ -69.18205074733753,
3282
+ -16.40116912197712
3283
+ ],
3284
+ [
3285
+ -69.25098710801488,
3286
+ -16.227536309476427
3287
+ ],
3288
+ [
3289
+ -69.40673987494259,
3290
+ -16.126198825752063
3291
+ ],
3292
+ [
3293
+ -69.40673987494259,
3294
+ -16.126198825752063
3295
+ ]
3296
+ ]
3297
+ ]
3298
+ }
3299
+ },
3300
+ {
3301
+ type: "Feature",
3302
+ properties: {
3303
+ scalerank: 1,
3304
+ featurecla: "Lake",
3305
+ name: "Lake\rWinnipegosis",
3306
+ name_alt: null,
3307
+ admin: null,
3308
+ min_zoom: 1.7,
3309
+ min_label: 3.6
3310
+ },
3311
+ geometry: {
3312
+ type: "Polygon",
3313
+ coordinates: [
3314
+ [
3315
+ [
3316
+ -99.40377193886468,
3317
+ 53.1258531764781
3318
+ ],
3319
+ [
3320
+ -99.54846594928192,
3321
+ 53.120427151087455
3322
+ ],
3323
+ [
3324
+ -99.80498775917877,
3325
+ 53.14290639913442
3326
+ ],
3327
+ [
3328
+ -100.43146114785316,
3329
+ 53.2841897650204
3330
+ ],
3331
+ [
3332
+ -100.60685095905177,
3333
+ 53.531616522833886
3334
+ ],
3335
+ [
3336
+ -100.33487789589965,
3337
+ 53.745246893928496
3338
+ ],
3339
+ [
3340
+ -100.42673275429846,
3341
+ 53.90740753846039
3342
+ ],
3343
+ [
3344
+ -100.4044860501968,
3345
+ 53.94507965760117
3346
+ ],
3347
+ [
3348
+ -100.32629960813921,
3349
+ 54.094011135466346
3350
+ ],
3351
+ [
3352
+ -100.23586585162842,
3353
+ 54.23033356385231
3354
+ ],
3355
+ [
3356
+ -99.99549292682278,
3357
+ 54.215864162810576
3358
+ ],
3359
+ [
3360
+ -100.04778947630214,
3361
+ 54.10013479269293
3362
+ ],
3363
+ [
3364
+ -100.18356930214904,
3365
+ 53.930351874397985
3366
+ ],
3367
+ [
3368
+ -99.87128862180926,
3369
+ 53.928465684619326
3370
+ ],
3371
+ [
3372
+ -99.91066606321566,
3373
+ 53.821314602262134
3374
+ ],
3375
+ [
3376
+ -100.05649695514333,
3377
+ 53.44332733826322
3378
+ ],
3379
+ [
3380
+ -99.66551306842301,
3381
+ 53.29581696228607
3382
+ ],
3383
+ [
3384
+ -99.39317827024485,
3385
+ 53.26791168884846
3386
+ ],
3387
+ [
3388
+ -99.40377193886468,
3389
+ 53.1258531764781
3390
+ ],
3391
+ [
3392
+ -99.40377193886468,
3393
+ 53.1258531764781
3394
+ ]
3395
+ ]
3396
+ ]
3397
+ }
3398
+ },
3399
+ {
3400
+ type: "Feature",
3401
+ properties: {
3402
+ scalerank: 1,
3403
+ featurecla: "Lake",
3404
+ name: "Lake\rOnega",
3405
+ name_alt: null,
3406
+ admin: null,
3407
+ min_zoom: 1.7,
3408
+ min_label: 3.6
3409
+ },
3410
+ geometry: {
3411
+ type: "Polygon",
3412
+ coordinates: [
3413
+ [
3414
+ [
3415
+ 35.71464725112901,
3416
+ 62.2802298041189
3417
+ ],
3418
+ [
3419
+ 36.0541614112866,
3420
+ 61.716310736733874
3421
+ ],
3422
+ [
3423
+ 36.391401808423325,
3424
+ 61.27605337182331
3425
+ ],
3426
+ [
3427
+ 36.10945519383887,
3428
+ 61.01508738874924
3429
+ ],
3430
+ [
3431
+ 35.35074181492962,
3432
+ 60.948579820389625
3433
+ ],
3434
+ [
3435
+ 34.866843702948586,
3436
+ 61.11637319604125
3437
+ ],
3438
+ [
3439
+ 35.207288038887384,
3440
+ 61.114435329830485
3441
+ ],
3442
+ [
3443
+ 35.57832482274313,
3444
+ 61.08634918887975
3445
+ ],
3446
+ [
3447
+ 35.16000410334027,
3448
+ 61.39428904890701
3449
+ ],
3450
+ [
3451
+ 34.85733523940689,
3452
+ 61.55179881453273
3453
+ ],
3454
+ [
3455
+ 34.48691857273877,
3456
+ 61.86697337508076
3457
+ ],
3458
+ [
3459
+ 34.265019972477376,
3460
+ 62.21914826114994
3461
+ ],
3462
+ [
3463
+ 34.289824659977455,
3464
+ 62.29774811466581
3465
+ ],
3466
+ [
3467
+ 34.66561567560399,
3468
+ 62.22979360620195
3469
+ ],
3470
+ [
3471
+ 34.62613488133297,
3472
+ 62.45223480900245
3473
+ ],
3474
+ [
3475
+ 34.8356311378443,
3476
+ 62.29676626245225
3477
+ ],
3478
+ [
3479
+ 35.080267368314026,
3480
+ 62.1411943630377
3481
+ ],
3482
+ [
3483
+ 35.21658979669991,
3484
+ 62.193284206787894
3485
+ ],
3486
+ [
3487
+ 35.463706495919666,
3488
+ 62.2560193955901
3489
+ ],
3490
+ [
3491
+ 35.13969526544963,
3492
+ 62.48776235620312
3493
+ ],
3494
+ [
3495
+ 34.614352654770414,
3496
+ 62.762448432050576
3497
+ ],
3498
+ [
3499
+ 34.99541466649072,
3500
+ 62.748469957115674
3501
+ ],
3502
+ [
3503
+ 35.23395307795005,
3504
+ 62.675347805422575
3505
+ ],
3506
+ [
3507
+ 35.71464725112901,
3508
+ 62.2802298041189
3509
+ ]
3510
+ ]
3511
+ ]
3512
+ }
3513
+ },
3514
+ {
3515
+ type: "Feature",
3516
+ properties: {
3517
+ scalerank: 1,
3518
+ featurecla: "Lake",
3519
+ name: "Great Salt Lake",
3520
+ name_alt: null,
3521
+ admin: null,
3522
+ min_zoom: 1.7,
3523
+ min_label: 3.6
3524
+ },
3525
+ geometry: {
3526
+ type: "Polygon",
3527
+ coordinates: [
3528
+ [
3529
+ [
3530
+ -112.18405127648089,
3531
+ 41.34124949804567
3532
+ ],
3533
+ [
3534
+ -112.13875688357706,
3535
+ 41.142346910154174
3536
+ ],
3537
+ [
3538
+ -112.17193315310845,
3539
+ 40.851460272783186
3540
+ ],
3541
+ [
3542
+ -112.67882727745939,
3543
+ 41.130487168943205
3544
+ ],
3545
+ [
3546
+ -112.70549231652205,
3547
+ 41.16753917089636
3548
+ ],
3549
+ [
3550
+ -112.87814327680917,
3551
+ 41.62815705013003
3552
+ ],
3553
+ [
3554
+ -112.58955624067522,
3555
+ 41.43891795507716
3556
+ ],
3557
+ [
3558
+ -112.40532975955472,
3559
+ 41.33801972102742
3560
+ ],
3561
+ [
3562
+ -112.21901038292629,
3563
+ 41.42855683040267
3564
+ ],
3565
+ [
3566
+ -112.18405127648089,
3567
+ 41.34124949804567
3568
+ ]
3569
+ ]
3570
+ ]
3571
+ }
3572
+ },
3573
+ {
3574
+ type: "Feature",
3575
+ properties: {
3576
+ scalerank: 1,
3577
+ featurecla: "Lake",
3578
+ name: "Great\rBear Lake",
3579
+ name_alt: null,
3580
+ admin: null,
3581
+ min_zoom: 1.7,
3582
+ min_label: 3.6
3583
+ },
3584
+ geometry: {
3585
+ type: "Polygon",
3586
+ coordinates: [
3587
+ [
3588
+ [
3589
+ -117.7592923653704,
3590
+ 66.22368419052789
3591
+ ],
3592
+ [
3593
+ -117.97374955938167,
3594
+ 65.85489533147692
3595
+ ],
3596
+ [
3597
+ -118.10710059291085,
3598
+ 65.76691620550001
3599
+ ],
3600
+ [
3601
+ -119.7200520432652,
3602
+ 65.73479930283061
3603
+ ],
3604
+ [
3605
+ -119.74568355368197,
3606
+ 65.65436493596833
3607
+ ],
3608
+ [
3609
+ -119.6648099371452,
3610
+ 65.52742178004333
3611
+ ],
3612
+ [
3613
+ -119.70219783590836,
3614
+ 65.36794830999061
3615
+ ],
3616
+ [
3617
+ -121.35509436098008,
3618
+ 64.87999359807459
3619
+ ],
3620
+ [
3621
+ -121.33610327211281,
3622
+ 64.99461192489797
3623
+ ],
3624
+ [
3625
+ -120.94527441468938,
3626
+ 65.37774099390991
3627
+ ],
3628
+ [
3629
+ -121.05728308168202,
3630
+ 65.4463414577774
3631
+ ],
3632
+ [
3633
+ -122.56450374412293,
3634
+ 65.0310696478799
3635
+ ],
3636
+ [
3637
+ -123.232705851873,
3638
+ 65.18041453720339
3639
+ ],
3640
+ [
3641
+ -123.17963415590926,
3642
+ 65.31937246363624
3643
+ ],
3644
+ [
3645
+ -122.32599117087979,
3646
+ 65.79378795029179
3647
+ ],
3648
+ [
3649
+ -122.35622188377054,
3650
+ 65.90184337021411
3651
+ ],
3652
+ [
3653
+ -124.95363440005697,
3654
+ 66.04925039332666
3655
+ ],
3656
+ [
3657
+ -124.89753963280414,
3658
+ 66.15115631780624
3659
+ ],
3660
+ [
3661
+ -119.48724971579031,
3662
+ 66.96929759385118
3663
+ ],
3664
+ [
3665
+ -119.35743771042887,
3666
+ 66.87519481064767
3667
+ ],
3668
+ [
3669
+ -120.1769492193738,
3670
+ 66.46527151149239
3671
+ ],
3672
+ [
3673
+ -117.60545162643749,
3674
+ 66.55934845647975
3675
+ ],
3676
+ [
3677
+ -117.61278967982294,
3678
+ 66.41997711858856
3679
+ ],
3680
+ [
3681
+ -117.7592923653704,
3682
+ 66.22368419052789
3683
+ ],
3684
+ [
3685
+ -117.7592923653704,
3686
+ 66.22368419052789
3687
+ ]
3688
+ ]
3689
+ ]
3690
+ }
3691
+ },
3692
+ {
3693
+ type: "Feature",
3694
+ properties: {
3695
+ scalerank: 1,
3696
+ featurecla: "Lake",
3697
+ name: "Lake Athabasca",
3698
+ name_alt: null,
3699
+ admin: null,
3700
+ min_zoom: 1.7,
3701
+ min_label: 3.6
3702
+ },
3703
+ geometry: {
3704
+ type: "Polygon",
3705
+ coordinates: [
3706
+ [
3707
+ [
3708
+ -109.65330135785099,
3709
+ 59.03763703066841
3710
+ ],
3711
+ [
3712
+ -111.08626298708849,
3713
+ 58.56017263450765
3714
+ ],
3715
+ [
3716
+ -111.19948605023998,
3717
+ 58.685565497463884
3718
+ ],
3719
+ [
3720
+ -111.160005255969,
3721
+ 58.75985036888345
3722
+ ],
3723
+ [
3724
+ -109.09672034385136,
3725
+ 59.55042226830068
3726
+ ],
3727
+ [
3728
+ -106.54517066122398,
3729
+ 59.31968699811746
3730
+ ],
3731
+ [
3732
+ -106.54695349813804,
3733
+ 59.292815253325685
3734
+ ],
3735
+ [
3736
+ -109.65330135785099,
3737
+ 59.03763703066841
3738
+ ],
3739
+ [
3740
+ -109.65330135785099,
3741
+ 59.03763703066841
3742
+ ]
3743
+ ]
3744
+ ]
3745
+ }
3746
+ },
3747
+ {
3748
+ type: "Feature",
3749
+ properties: {
3750
+ scalerank: 1,
3751
+ featurecla: "Lake",
3752
+ name: "Reindeer\rLake",
3753
+ name_alt: null,
3754
+ admin: null,
3755
+ min_zoom: 1.7,
3756
+ min_label: 3.6
3757
+ },
3758
+ geometry: {
3759
+ type: "Polygon",
3760
+ coordinates: [
3761
+ [
3762
+ [
3763
+ -101.89514441608819,
3764
+ 58.01403025983099
3765
+ ],
3766
+ [
3767
+ -101.89514441608819,
3768
+ 58.01403025983099
3769
+ ],
3770
+ [
3771
+ -101.54384802936804,
3772
+ 57.86809601503873
3773
+ ],
3774
+ [
3775
+ -101.97090206582807,
3776
+ 57.34867035585697
3777
+ ],
3778
+ [
3779
+ -101.93403093138781,
3780
+ 57.23066722271848
3781
+ ],
3782
+ [
3783
+ -103.20416012247362,
3784
+ 56.34539826112639
3785
+ ],
3786
+ [
3787
+ -103.2825015938281,
3788
+ 56.40994212505895
3789
+ ],
3790
+ [
3791
+ -103.1487371488406,
3792
+ 56.70411021588043
3793
+ ],
3794
+ [
3795
+ -103.07832800984292,
3796
+ 56.71080231386223
3797
+ ],
3798
+ [
3799
+ -103.01440426309787,
3800
+ 56.56510061301529
3801
+ ],
3802
+ [
3803
+ -102.57680823445028,
3804
+ 56.938281968811054
3805
+ ],
3806
+ [
3807
+ -102.81322791218561,
3808
+ 57.28714956321349
3809
+ ],
3810
+ [
3811
+ -102.81369300007623,
3812
+ 57.46434804954232
3813
+ ],
3814
+ [
3815
+ -102.12874772826359,
3816
+ 58.01914622662788
3817
+ ],
3818
+ [
3819
+ -101.89514441608819,
3820
+ 58.01403025983099
3821
+ ]
3822
+ ]
3823
+ ]
3824
+ }
3825
+ },
3826
+ {
3827
+ type: "Feature",
3828
+ properties: {
3829
+ scalerank: 0,
3830
+ featurecla: "Lake",
3831
+ name: "Lake\rHuron",
3832
+ name_alt: null,
3833
+ admin: "admin-0",
3834
+ min_zoom: 1,
3835
+ min_label: 3
3836
+ },
3837
+ geometry: {
3838
+ type: "Polygon",
3839
+ coordinates: [
3840
+ [
3841
+ [
3842
+ -80.41056433787725,
3843
+ 45.590137437515665
3844
+ ],
3845
+ [
3846
+ -79.76292945017934,
3847
+ 44.824602769543844
3848
+ ],
3849
+ [
3850
+ -80.08500281443844,
3851
+ 44.493925279308144
3852
+ ],
3853
+ [
3854
+ -80.89769222687659,
3855
+ 44.63164297136599
3856
+ ],
3857
+ [
3858
+ -81.40233842642287,
3859
+ 45.25005483660284
3860
+ ],
3861
+ [
3862
+ -81.27567949087549,
3863
+ 44.6201708033972
3864
+ ],
3865
+ [
3866
+ -81.75265296092948,
3867
+ 44.06464915625956
3868
+ ],
3869
+ [
3870
+ -81.70017554393709,
3871
+ 43.590052802090995
3872
+ ],
3873
+ [
3874
+ -81.78272864452336,
3875
+ 43.310845038417995
3876
+ ],
3877
+ [
3878
+ -82.43000179719522,
3879
+ 42.98001251888543
3880
+ ],
3881
+ [
3882
+ -82.4799987454376,
3883
+ 43.39001333268915
3884
+ ],
3885
+ [
3886
+ -82.6599877591102,
3887
+ 43.970003770516996
3888
+ ],
3889
+ [
3890
+ -83.02999101432,
3891
+ 44.06999766700177
3892
+ ],
3893
+ [
3894
+ -83.6500048489579,
3895
+ 43.62999868425261
3896
+ ],
3897
+ [
3898
+ -83.84870073112015,
3899
+ 43.63831858985161
3900
+ ],
3901
+ [
3902
+ -83.89998959016984,
3903
+ 43.88998281511303
3904
+ ],
3905
+ [
3906
+ -83.34999732128743,
3907
+ 44.29001007748441
3908
+ ],
3909
+ [
3910
+ -83.25878841829228,
3911
+ 44.74574453386644
3912
+ ],
3913
+ [
3914
+ -83.33999793163895,
3915
+ 45.200006211928155
3916
+ ],
3917
+ [
3918
+ -84.08000444205858,
3919
+ 45.58998240821879
3920
+ ],
3921
+ [
3922
+ -84.93000423861146,
3923
+ 45.789996039404485
3924
+ ],
3925
+ [
3926
+ -84.75355506055087,
3927
+ 45.924483954444085
3928
+ ],
3929
+ [
3930
+ -84.71999121777729,
3931
+ 45.91998810483469
3932
+ ],
3933
+ [
3934
+ -83.83919226757845,
3935
+ 46.010215155616294
3936
+ ],
3937
+ [
3938
+ -84.33670711946846,
3939
+ 46.40876963966737
3940
+ ],
3941
+ [
3942
+ -84.14870825879063,
3943
+ 46.55576325132161
3944
+ ],
3945
+ [
3946
+ -83.95257036002683,
3947
+ 46.334278062518635
3948
+ ],
3949
+ [
3950
+ -83.20251278352643,
3951
+ 46.21015127215355
3952
+ ],
3953
+ [
3954
+ -82.44199072948692,
3955
+ 46.19963511818216
3956
+ ],
3957
+ [
3958
+ -81.63136837434045,
3959
+ 46.09754832618957
3960
+ ],
3961
+ [
3962
+ -80.73679765493583,
3963
+ 45.90381338152733
3964
+ ],
3965
+ [
3966
+ -80.41056433787725,
3967
+ 45.590137437515665
3968
+ ]
3969
+ ]
3970
+ ]
3971
+ }
3972
+ },
3973
+ {
3974
+ type: "Feature",
3975
+ properties: {
3976
+ scalerank: 0,
3977
+ featurecla: "Lake",
3978
+ name: "Lake\rMichigan",
3979
+ name_alt: null,
3980
+ admin: "admin-0",
3981
+ min_zoom: 1,
3982
+ min_label: 3
3983
+ },
3984
+ geometry: {
3985
+ type: "Polygon",
3986
+ coordinates: [
3987
+ [
3988
+ [
3989
+ -85.53999284538475,
3990
+ 46.03000722918408
3991
+ ],
3992
+ [
3993
+ -84.75355506055087,
3994
+ 45.924483954444085
3995
+ ],
3996
+ [
3997
+ -84.93000423861146,
3998
+ 45.789996039404485
3999
+ ],
4000
+ [
4001
+ -85.06999569369015,
4002
+ 45.40999339454619
4003
+ ],
4004
+ [
4005
+ -85.29044735384727,
4006
+ 45.30824249936349
4007
+ ],
4008
+ [
4009
+ -85.46710323763705,
4010
+ 44.81457754167923
4011
+ ],
4012
+ [
4013
+ -85.55999162468169,
4014
+ 45.150009263685774
4015
+ ],
4016
+ [
4017
+ -85.95983801954006,
4018
+ 44.91059235287753
4019
+ ],
4020
+ [
4021
+ -86.20935767286137,
4022
+ 44.574798895844935
4023
+ ],
4024
+ [
4025
+ -86.47027197950304,
4026
+ 44.08423452409818
4027
+ ],
4028
+ [
4029
+ -86.52001054558397,
4030
+ 43.65999685319804
4031
+ ],
4032
+ [
4033
+ -86.18842871778315,
4034
+ 43.04140412044818
4035
+ ],
4036
+ [
4037
+ -86.21604977084317,
4038
+ 42.38170278581012
4039
+ ],
4040
+ [
4041
+ -86.62191647006355,
4042
+ 41.8944198675139
4043
+ ],
4044
+ [
4045
+ -86.8244364082154,
4046
+ 41.75618541113313
4047
+ ],
4048
+ [
4049
+ -87.09444576694042,
4050
+ 41.64616628678374
4051
+ ],
4052
+ [
4053
+ -87.4342183092595,
4054
+ 41.640714423176945
4055
+ ],
4056
+ [
4057
+ -87.52617652052288,
4058
+ 41.70851390234388
4059
+ ],
4060
+ [
4061
+ -87.79569495314115,
4062
+ 42.23411489518453
4063
+ ],
4064
+ [
4065
+ -87.80344641798493,
4066
+ 42.49399567318035
4067
+ ],
4068
+ [
4069
+ -87.77672970249003,
4070
+ 42.740853990238634
4071
+ ],
4072
+ [
4073
+ -87.90214840366241,
4074
+ 43.23051402442029
4075
+ ],
4076
+ [
4077
+ -87.71221167677363,
4078
+ 43.79650014909703
4079
+ ],
4080
+ [
4081
+ -87.486359829442,
4082
+ 44.49335683855294
4083
+ ],
4084
+ [
4085
+ -86.9674767727993,
4086
+ 45.26287059181122
4087
+ ],
4088
+ [
4089
+ -87.11806189649782,
4090
+ 45.25933075619923
4091
+ ],
4092
+ [
4093
+ -87.85282324903983,
4094
+ 44.61505483660031
4095
+ ],
4096
+ [
4097
+ -87.98831885450912,
4098
+ 44.73331635190026
4099
+ ],
4100
+ [
4101
+ -87.5964306302237,
4102
+ 45.093707790703775
4103
+ ],
4104
+ [
4105
+ -87.00000708692704,
4106
+ 45.73999909116209
4107
+ ],
4108
+ [
4109
+ -86.31999691439827,
4110
+ 45.829993597998396
4111
+ ],
4112
+ [
4113
+ -85.53999284538475,
4114
+ 46.03000722918408
4115
+ ]
4116
+ ]
4117
+ ]
4118
+ }
4119
+ }
4120
+ ], li = {
4121
+ type: oi,
4122
+ features: si
4123
+ };
4124
+ var ui = di, Ve, xe, A, ze, $e, ci = [
4125
+ "Point",
4126
+ "MultiPoint",
4127
+ "LineString",
4128
+ "MultiLineString",
4129
+ "Polygon",
4130
+ "MultiPolygon",
4131
+ "GeometryCollection"
4132
+ ];
4133
+ function di(e) {
4134
+ ze = 2, $e = Math.pow(10, 6), A = null, Ve = [], xe = [];
4135
+ var t = e.readFields(mi, {});
4136
+ return Ve = null, t;
4137
+ }
4138
+ function mi(e, t, n) {
4139
+ e === 1 ? Ve.push(n.readString()) : e === 2 ? ze = n.readVarint() : e === 3 ? $e = Math.pow(10, n.readVarint()) : e === 4 ? fi(n, t) : e === 5 ? En(n, t) : e === 6 && St(n, t);
4140
+ }
4141
+ function fi(e, t) {
4142
+ return t.type = "FeatureCollection", t.features = [], e.readMessage(hi, t);
4143
+ }
4144
+ function En(e, t) {
4145
+ t.type = "Feature";
4146
+ var n = e.readMessage(pi, t);
4147
+ return "geometry" in n || (n.geometry = null), n;
4148
+ }
4149
+ function St(e, t) {
4150
+ return t.type = "Point", e.readMessage(yi, t);
4151
+ }
4152
+ function hi(e, t, n) {
4153
+ e === 1 ? t.features.push(En(n, {})) : e === 13 ? xe.push(Dt(n)) : e === 15 && je(n, t);
4154
+ }
4155
+ function pi(e, t, n) {
4156
+ e === 1 ? t.geometry = St(n, {}) : e === 11 ? t.id = n.readString() : e === 12 ? t.id = n.readSVarint() : e === 13 ? xe.push(Dt(n)) : e === 14 ? t.properties = je(n, {}) : e === 15 && je(n, t);
4157
+ }
4158
+ function yi(e, t, n) {
4159
+ e === 1 ? t.type = ci[n.readVarint()] : e === 2 ? A = n.readPackedVarint() : e === 3 ? _i(t, n, t.type) : e === 4 ? (t.geometries = t.geometries || [], t.geometries.push(St(n, {}))) : e === 13 ? xe.push(Dt(n)) : e === 15 && je(n, t);
4160
+ }
4161
+ function _i(e, t, n) {
4162
+ n === "Point" ? e.coordinates = gi(t) : n === "MultiPoint" || n === "LineString" ? e.coordinates = pn(t) : n === "MultiLineString" ? e.coordinates = yn(t) : n === "Polygon" ? e.coordinates = yn(t, !0) : n === "MultiPolygon" && (e.coordinates = vi(t));
4163
+ }
4164
+ function Dt(e) {
4165
+ for (var t = e.readVarint() + e.pos, n = null; e.pos < t; ) {
4166
+ var a = e.readVarint(), i = a >> 3;
4167
+ i === 1 ? n = e.readString() : i === 2 ? n = e.readDouble() : i === 3 ? n = e.readVarint() : i === 4 ? n = -e.readVarint() : i === 5 ? n = e.readBoolean() : i === 6 && (n = JSON.parse(e.readString()));
4168
+ }
4169
+ return n;
4170
+ }
4171
+ function je(e, t) {
4172
+ for (var n = e.readVarint() + e.pos; e.pos < n; ) t[Ve[e.readVarint()]] = xe[e.readVarint()];
4173
+ return xe = [], t;
4174
+ }
4175
+ function gi(e) {
4176
+ for (var t = e.readVarint() + e.pos, n = []; e.pos < t; ) n.push(e.readSVarint() / $e);
4177
+ return n;
4178
+ }
4179
+ function Ee(e, t, n, a) {
4180
+ var i = 0, s = [], c, d, y = [];
4181
+ for (d = 0; d < ze; d++) y[d] = 0;
4182
+ for (; n ? i < n : e.pos < t; ) {
4183
+ for (c = [], d = 0; d < ze; d++)
4184
+ y[d] += e.readSVarint(), c[d] = y[d] / $e;
4185
+ s.push(c), i++;
4186
+ }
4187
+ return a && s.push(s[0]), s;
4188
+ }
4189
+ function pn(e) {
4190
+ return Ee(e, e.readVarint() + e.pos);
4191
+ }
4192
+ function yn(e, t) {
4193
+ var n = e.readVarint() + e.pos;
4194
+ if (!A) return [Ee(e, n, null, t)];
4195
+ for (var a = [], i = 0; i < A.length; i++) a.push(Ee(e, n, A[i], t));
4196
+ return A = null, a;
4197
+ }
4198
+ function vi(e) {
4199
+ var t = e.readVarint() + e.pos;
4200
+ if (!A) return [[Ee(e, t, null, !0)]];
4201
+ for (var n = [], a = 1, i = 0; i < A[0]; i++) {
4202
+ for (var s = [], c = 0; c < A[a]; c++) s.push(Ee(e, t, A[a + 1 + c], !0));
4203
+ a += A[a] + 1, n.push(s);
4204
+ }
4205
+ return A = null, n;
4206
+ }
4207
+ var wi = ui, kt = {};
4208
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
4209
+ kt.read = function(e, t, n, a, i) {
4210
+ var s, c, d = i * 8 - a - 1, y = (1 << d) - 1, m = y >> 1, u = -7, f = n ? i - 1 : 0, _ = n ? -1 : 1, v = e[t + f];
4211
+ for (f += _, s = v & (1 << -u) - 1, v >>= -u, u += d; u > 0; s = s * 256 + e[t + f], f += _, u -= 8)
4212
+ ;
4213
+ for (c = s & (1 << -u) - 1, s >>= -u, u += a; u > 0; c = c * 256 + e[t + f], f += _, u -= 8)
4214
+ ;
4215
+ if (s === 0)
4216
+ s = 1 - m;
4217
+ else {
4218
+ if (s === y)
4219
+ return c ? NaN : (v ? -1 : 1) * (1 / 0);
4220
+ c = c + Math.pow(2, a), s = s - m;
4221
+ }
4222
+ return (v ? -1 : 1) * c * Math.pow(2, s - a);
4223
+ };
4224
+ kt.write = function(e, t, n, a, i, s) {
4225
+ var c, d, y, m = s * 8 - i - 1, u = (1 << m) - 1, f = u >> 1, _ = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = a ? 0 : s - 1, F = a ? 1 : -1, N = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
4226
+ for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (d = isNaN(t) ? 1 : 0, c = u) : (c = Math.floor(Math.log(t) / Math.LN2), t * (y = Math.pow(2, -c)) < 1 && (c--, y *= 2), c + f >= 1 ? t += _ / y : t += _ * Math.pow(2, 1 - f), t * y >= 2 && (c++, y /= 2), c + f >= u ? (d = 0, c = u) : c + f >= 1 ? (d = (t * y - 1) * Math.pow(2, i), c = c + f) : (d = t * Math.pow(2, f - 1) * Math.pow(2, i), c = 0)); i >= 8; e[n + v] = d & 255, v += F, d /= 256, i -= 8)
4227
+ ;
4228
+ for (c = c << i | d, m += i; m > 0; e[n + v] = c & 255, v += F, c /= 256, m -= 8)
4229
+ ;
4230
+ e[n + v - F] |= N * 128;
4231
+ };
4232
+ var xi = x, be = kt;
4233
+ function x(e) {
4234
+ this.buf = ArrayBuffer.isView && ArrayBuffer.isView(e) ? e : new Uint8Array(e || 0), this.pos = 0, this.type = 0, this.length = this.buf.length;
4235
+ }
4236
+ x.Varint = 0;
4237
+ x.Fixed64 = 1;
4238
+ x.Bytes = 2;
4239
+ x.Fixed32 = 5;
4240
+ var xt = 65536 * 65536, _n = 1 / xt, Ti = 12, Rn = typeof TextDecoder > "u" ? null : new TextDecoder("utf-8");
4241
+ x.prototype = {
4242
+ destroy: function() {
4243
+ this.buf = null;
4244
+ },
4245
+ // === READING =================================================================
4246
+ readFields: function(e, t, n) {
4247
+ for (n = n || this.length; this.pos < n; ) {
4248
+ var a = this.readVarint(), i = a >> 3, s = this.pos;
4249
+ this.type = a & 7, e(i, t, this), this.pos === s && this.skip(a);
4250
+ }
4251
+ return t;
4252
+ },
4253
+ readMessage: function(e, t) {
4254
+ return this.readFields(e, t, this.readVarint() + this.pos);
4255
+ },
4256
+ readFixed32: function() {
4257
+ var e = Be(this.buf, this.pos);
4258
+ return this.pos += 4, e;
4259
+ },
4260
+ readSFixed32: function() {
4261
+ var e = vn(this.buf, this.pos);
4262
+ return this.pos += 4, e;
4263
+ },
4264
+ // 64-bit int handling is based on github.com/dpw/node-buffer-more-ints (MIT-licensed)
4265
+ readFixed64: function() {
4266
+ var e = Be(this.buf, this.pos) + Be(this.buf, this.pos + 4) * xt;
4267
+ return this.pos += 8, e;
4268
+ },
4269
+ readSFixed64: function() {
4270
+ var e = Be(this.buf, this.pos) + vn(this.buf, this.pos + 4) * xt;
4271
+ return this.pos += 8, e;
4272
+ },
4273
+ readFloat: function() {
4274
+ var e = be.read(this.buf, this.pos, !0, 23, 4);
4275
+ return this.pos += 4, e;
4276
+ },
4277
+ readDouble: function() {
4278
+ var e = be.read(this.buf, this.pos, !0, 52, 8);
4279
+ return this.pos += 8, e;
4280
+ },
4281
+ readVarint: function(e) {
4282
+ var t = this.buf, n, a;
4283
+ return a = t[this.pos++], n = a & 127, a < 128 || (a = t[this.pos++], n |= (a & 127) << 7, a < 128) || (a = t[this.pos++], n |= (a & 127) << 14, a < 128) || (a = t[this.pos++], n |= (a & 127) << 21, a < 128) ? n : (a = t[this.pos], n |= (a & 15) << 28, Mi(n, e, this));
4284
+ },
4285
+ readVarint64: function() {
4286
+ return this.readVarint(!0);
4287
+ },
4288
+ readSVarint: function() {
4289
+ var e = this.readVarint();
4290
+ return e % 2 === 1 ? (e + 1) / -2 : e / 2;
4291
+ },
4292
+ readBoolean: function() {
4293
+ return !!this.readVarint();
4294
+ },
4295
+ readString: function() {
4296
+ var e = this.readVarint() + this.pos, t = this.pos;
4297
+ return this.pos = e, e - t >= Ti && Rn ? Pi(this.buf, t, e) : Ai(this.buf, t, e);
4298
+ },
4299
+ readBytes: function() {
4300
+ var e = this.readVarint() + this.pos, t = this.buf.subarray(this.pos, e);
4301
+ return this.pos = e, t;
4302
+ },
4303
+ // verbose for performance reasons; doesn't affect gzipped size
4304
+ readPackedVarint: function(e, t) {
4305
+ if (this.type !== x.Bytes) return e.push(this.readVarint(t));
4306
+ var n = q(this);
4307
+ for (e = e || []; this.pos < n; ) e.push(this.readVarint(t));
4308
+ return e;
4309
+ },
4310
+ readPackedSVarint: function(e) {
4311
+ if (this.type !== x.Bytes) return e.push(this.readSVarint());
4312
+ var t = q(this);
4313
+ for (e = e || []; this.pos < t; ) e.push(this.readSVarint());
4314
+ return e;
4315
+ },
4316
+ readPackedBoolean: function(e) {
4317
+ if (this.type !== x.Bytes) return e.push(this.readBoolean());
4318
+ var t = q(this);
4319
+ for (e = e || []; this.pos < t; ) e.push(this.readBoolean());
4320
+ return e;
4321
+ },
4322
+ readPackedFloat: function(e) {
4323
+ if (this.type !== x.Bytes) return e.push(this.readFloat());
4324
+ var t = q(this);
4325
+ for (e = e || []; this.pos < t; ) e.push(this.readFloat());
4326
+ return e;
4327
+ },
4328
+ readPackedDouble: function(e) {
4329
+ if (this.type !== x.Bytes) return e.push(this.readDouble());
4330
+ var t = q(this);
4331
+ for (e = e || []; this.pos < t; ) e.push(this.readDouble());
4332
+ return e;
4333
+ },
4334
+ readPackedFixed32: function(e) {
4335
+ if (this.type !== x.Bytes) return e.push(this.readFixed32());
4336
+ var t = q(this);
4337
+ for (e = e || []; this.pos < t; ) e.push(this.readFixed32());
4338
+ return e;
4339
+ },
4340
+ readPackedSFixed32: function(e) {
4341
+ if (this.type !== x.Bytes) return e.push(this.readSFixed32());
4342
+ var t = q(this);
4343
+ for (e = e || []; this.pos < t; ) e.push(this.readSFixed32());
4344
+ return e;
4345
+ },
4346
+ readPackedFixed64: function(e) {
4347
+ if (this.type !== x.Bytes) return e.push(this.readFixed64());
4348
+ var t = q(this);
4349
+ for (e = e || []; this.pos < t; ) e.push(this.readFixed64());
4350
+ return e;
4351
+ },
4352
+ readPackedSFixed64: function(e) {
4353
+ if (this.type !== x.Bytes) return e.push(this.readSFixed64());
4354
+ var t = q(this);
4355
+ for (e = e || []; this.pos < t; ) e.push(this.readSFixed64());
4356
+ return e;
4357
+ },
4358
+ skip: function(e) {
4359
+ var t = e & 7;
4360
+ if (t === x.Varint) for (; this.buf[this.pos++] > 127; )
4361
+ ;
4362
+ else if (t === x.Bytes) this.pos = this.readVarint() + this.pos;
4363
+ else if (t === x.Fixed32) this.pos += 4;
4364
+ else if (t === x.Fixed64) this.pos += 8;
4365
+ else throw new Error("Unimplemented type: " + t);
4366
+ },
4367
+ // === WRITING =================================================================
4368
+ writeTag: function(e, t) {
4369
+ this.writeVarint(e << 3 | t);
4370
+ },
4371
+ realloc: function(e) {
4372
+ for (var t = this.length || 16; t < this.pos + e; ) t *= 2;
4373
+ if (t !== this.length) {
4374
+ var n = new Uint8Array(t);
4375
+ n.set(this.buf), this.buf = n, this.length = t;
4376
+ }
4377
+ },
4378
+ finish: function() {
4379
+ return this.length = this.pos, this.pos = 0, this.buf.subarray(0, this.length);
4380
+ },
4381
+ writeFixed32: function(e) {
4382
+ this.realloc(4), ve(this.buf, e, this.pos), this.pos += 4;
4383
+ },
4384
+ writeSFixed32: function(e) {
4385
+ this.realloc(4), ve(this.buf, e, this.pos), this.pos += 4;
4386
+ },
4387
+ writeFixed64: function(e) {
4388
+ this.realloc(8), ve(this.buf, e & -1, this.pos), ve(this.buf, Math.floor(e * _n), this.pos + 4), this.pos += 8;
4389
+ },
4390
+ writeSFixed64: function(e) {
4391
+ this.realloc(8), ve(this.buf, e & -1, this.pos), ve(this.buf, Math.floor(e * _n), this.pos + 4), this.pos += 8;
4392
+ },
4393
+ writeVarint: function(e) {
4394
+ if (e = +e || 0, e > 268435455 || e < 0) {
4395
+ Fi(e, this);
4396
+ return;
4397
+ }
4398
+ this.realloc(4), this.buf[this.pos++] = e & 127 | (e > 127 ? 128 : 0), !(e <= 127) && (this.buf[this.pos++] = (e >>>= 7) & 127 | (e > 127 ? 128 : 0), !(e <= 127) && (this.buf[this.pos++] = (e >>>= 7) & 127 | (e > 127 ? 128 : 0), !(e <= 127) && (this.buf[this.pos++] = e >>> 7 & 127)));
4399
+ },
4400
+ writeSVarint: function(e) {
4401
+ this.writeVarint(e < 0 ? -e * 2 - 1 : e * 2);
4402
+ },
4403
+ writeBoolean: function(e) {
4404
+ this.writeVarint(!!e);
4405
+ },
4406
+ writeString: function(e) {
4407
+ e = String(e), this.realloc(e.length * 4), this.pos++;
4408
+ var t = this.pos;
4409
+ this.pos = Ui(this.buf, e, this.pos);
4410
+ var n = this.pos - t;
4411
+ n >= 128 && gn(t, n, this), this.pos = t - 1, this.writeVarint(n), this.pos += n;
4412
+ },
4413
+ writeFloat: function(e) {
4414
+ this.realloc(4), be.write(this.buf, e, this.pos, !0, 23, 4), this.pos += 4;
4415
+ },
4416
+ writeDouble: function(e) {
4417
+ this.realloc(8), be.write(this.buf, e, this.pos, !0, 52, 8), this.pos += 8;
4418
+ },
4419
+ writeBytes: function(e) {
4420
+ var t = e.length;
4421
+ this.writeVarint(t), this.realloc(t);
4422
+ for (var n = 0; n < t; n++) this.buf[this.pos++] = e[n];
4423
+ },
4424
+ writeRawMessage: function(e, t) {
4425
+ this.pos++;
4426
+ var n = this.pos;
4427
+ e(t, this);
4428
+ var a = this.pos - n;
4429
+ a >= 128 && gn(n, a, this), this.pos = n - 1, this.writeVarint(a), this.pos += a;
4430
+ },
4431
+ writeMessage: function(e, t, n) {
4432
+ this.writeTag(e, x.Bytes), this.writeRawMessage(t, n);
4433
+ },
4434
+ writePackedVarint: function(e, t) {
4435
+ t.length && this.writeMessage(e, ki, t);
4436
+ },
4437
+ writePackedSVarint: function(e, t) {
4438
+ t.length && this.writeMessage(e, Ni, t);
4439
+ },
4440
+ writePackedBoolean: function(e, t) {
4441
+ t.length && this.writeMessage(e, Oi, t);
4442
+ },
4443
+ writePackedFloat: function(e, t) {
4444
+ t.length && this.writeMessage(e, Ei, t);
4445
+ },
4446
+ writePackedDouble: function(e, t) {
4447
+ t.length && this.writeMessage(e, Ri, t);
4448
+ },
4449
+ writePackedFixed32: function(e, t) {
4450
+ t.length && this.writeMessage(e, Ii, t);
4451
+ },
4452
+ writePackedSFixed32: function(e, t) {
4453
+ t.length && this.writeMessage(e, Li, t);
4454
+ },
4455
+ writePackedFixed64: function(e, t) {
4456
+ t.length && this.writeMessage(e, Gi, t);
4457
+ },
4458
+ writePackedSFixed64: function(e, t) {
4459
+ t.length && this.writeMessage(e, Ci, t);
4460
+ },
4461
+ writeBytesField: function(e, t) {
4462
+ this.writeTag(e, x.Bytes), this.writeBytes(t);
4463
+ },
4464
+ writeFixed32Field: function(e, t) {
4465
+ this.writeTag(e, x.Fixed32), this.writeFixed32(t);
4466
+ },
4467
+ writeSFixed32Field: function(e, t) {
4468
+ this.writeTag(e, x.Fixed32), this.writeSFixed32(t);
4469
+ },
4470
+ writeFixed64Field: function(e, t) {
4471
+ this.writeTag(e, x.Fixed64), this.writeFixed64(t);
4472
+ },
4473
+ writeSFixed64Field: function(e, t) {
4474
+ this.writeTag(e, x.Fixed64), this.writeSFixed64(t);
4475
+ },
4476
+ writeVarintField: function(e, t) {
4477
+ this.writeTag(e, x.Varint), this.writeVarint(t);
4478
+ },
4479
+ writeSVarintField: function(e, t) {
4480
+ this.writeTag(e, x.Varint), this.writeSVarint(t);
4481
+ },
4482
+ writeStringField: function(e, t) {
4483
+ this.writeTag(e, x.Bytes), this.writeString(t);
4484
+ },
4485
+ writeFloatField: function(e, t) {
4486
+ this.writeTag(e, x.Fixed32), this.writeFloat(t);
4487
+ },
4488
+ writeDoubleField: function(e, t) {
4489
+ this.writeTag(e, x.Fixed64), this.writeDouble(t);
4490
+ },
4491
+ writeBooleanField: function(e, t) {
4492
+ this.writeVarintField(e, !!t);
4493
+ }
4494
+ };
4495
+ function Mi(e, t, n) {
4496
+ var a = n.buf, i, s;
4497
+ if (s = a[n.pos++], i = (s & 112) >> 4, s < 128 || (s = a[n.pos++], i |= (s & 127) << 3, s < 128) || (s = a[n.pos++], i |= (s & 127) << 10, s < 128) || (s = a[n.pos++], i |= (s & 127) << 17, s < 128) || (s = a[n.pos++], i |= (s & 127) << 24, s < 128) || (s = a[n.pos++], i |= (s & 1) << 31, s < 128)) return ge(e, i, t);
4498
+ throw new Error("Expected varint not more than 10 bytes");
4499
+ }
4500
+ function q(e) {
4501
+ return e.type === x.Bytes ? e.readVarint() + e.pos : e.pos + 1;
4502
+ }
4503
+ function ge(e, t, n) {
4504
+ return n ? t * 4294967296 + (e >>> 0) : (t >>> 0) * 4294967296 + (e >>> 0);
4505
+ }
4506
+ function Fi(e, t) {
4507
+ var n, a;
4508
+ if (e >= 0 ? (n = e % 4294967296 | 0, a = e / 4294967296 | 0) : (n = ~(-e % 4294967296), a = ~(-e / 4294967296), n ^ 4294967295 ? n = n + 1 | 0 : (n = 0, a = a + 1 | 0)), e >= 18446744073709552e3 || e < -18446744073709552e3)
4509
+ throw new Error("Given varint doesn't fit into 10 bytes");
4510
+ t.realloc(10), Si(n, a, t), Di(a, t);
4511
+ }
4512
+ function Si(e, t, n) {
4513
+ n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos] = e & 127;
4514
+ }
4515
+ function Di(e, t) {
4516
+ var n = (e & 7) << 4;
4517
+ t.buf[t.pos++] |= n | ((e >>>= 3) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127)))));
4518
+ }
4519
+ function gn(e, t, n) {
4520
+ var a = t <= 16383 ? 1 : t <= 2097151 ? 2 : t <= 268435455 ? 3 : Math.floor(Math.log(t) / (Math.LN2 * 7));
4521
+ n.realloc(a);
4522
+ for (var i = n.pos - 1; i >= e; i--) n.buf[i + a] = n.buf[i];
4523
+ }
4524
+ function ki(e, t) {
4525
+ for (var n = 0; n < e.length; n++) t.writeVarint(e[n]);
4526
+ }
4527
+ function Ni(e, t) {
4528
+ for (var n = 0; n < e.length; n++) t.writeSVarint(e[n]);
4529
+ }
4530
+ function Ei(e, t) {
4531
+ for (var n = 0; n < e.length; n++) t.writeFloat(e[n]);
4532
+ }
4533
+ function Ri(e, t) {
4534
+ for (var n = 0; n < e.length; n++) t.writeDouble(e[n]);
4535
+ }
4536
+ function Oi(e, t) {
4537
+ for (var n = 0; n < e.length; n++) t.writeBoolean(e[n]);
4538
+ }
4539
+ function Ii(e, t) {
4540
+ for (var n = 0; n < e.length; n++) t.writeFixed32(e[n]);
4541
+ }
4542
+ function Li(e, t) {
4543
+ for (var n = 0; n < e.length; n++) t.writeSFixed32(e[n]);
4544
+ }
4545
+ function Gi(e, t) {
4546
+ for (var n = 0; n < e.length; n++) t.writeFixed64(e[n]);
4547
+ }
4548
+ function Ci(e, t) {
4549
+ for (var n = 0; n < e.length; n++) t.writeSFixed64(e[n]);
4550
+ }
4551
+ function Be(e, t) {
4552
+ return (e[t] | e[t + 1] << 8 | e[t + 2] << 16) + e[t + 3] * 16777216;
4553
+ }
4554
+ function ve(e, t, n) {
4555
+ e[n] = t, e[n + 1] = t >>> 8, e[n + 2] = t >>> 16, e[n + 3] = t >>> 24;
4556
+ }
4557
+ function vn(e, t) {
4558
+ return (e[t] | e[t + 1] << 8 | e[t + 2] << 16) + (e[t + 3] << 24);
4559
+ }
4560
+ function Ai(e, t, n) {
4561
+ for (var a = "", i = t; i < n; ) {
4562
+ var s = e[i], c = null, d = s > 239 ? 4 : s > 223 ? 3 : s > 191 ? 2 : 1;
4563
+ if (i + d > n) break;
4564
+ var y, m, u;
4565
+ d === 1 ? s < 128 && (c = s) : d === 2 ? (y = e[i + 1], (y & 192) === 128 && (c = (s & 31) << 6 | y & 63, c <= 127 && (c = null))) : d === 3 ? (y = e[i + 1], m = e[i + 2], (y & 192) === 128 && (m & 192) === 128 && (c = (s & 15) << 12 | (y & 63) << 6 | m & 63, (c <= 2047 || c >= 55296 && c <= 57343) && (c = null))) : d === 4 && (y = e[i + 1], m = e[i + 2], u = e[i + 3], (y & 192) === 128 && (m & 192) === 128 && (u & 192) === 128 && (c = (s & 15) << 18 | (y & 63) << 12 | (m & 63) << 6 | u & 63, (c <= 65535 || c >= 1114112) && (c = null))), c === null ? (c = 65533, d = 1) : c > 65535 && (c -= 65536, a += String.fromCharCode(c >>> 10 & 1023 | 55296), c = 56320 | c & 1023), a += String.fromCharCode(c), i += d;
4566
+ }
4567
+ return a;
4568
+ }
4569
+ function Pi(e, t, n) {
4570
+ return Rn.decode(e.subarray(t, n));
4571
+ }
4572
+ function Ui(e, t, n) {
4573
+ for (var a = 0, i, s; a < t.length; a++) {
4574
+ if (i = t.charCodeAt(a), i > 55295 && i < 57344)
4575
+ if (s)
4576
+ if (i < 56320) {
4577
+ e[n++] = 239, e[n++] = 191, e[n++] = 189, s = i;
4578
+ continue;
4579
+ } else
4580
+ i = s - 55296 << 10 | i - 56320 | 65536, s = null;
4581
+ else {
4582
+ i > 56319 || a + 1 === t.length ? (e[n++] = 239, e[n++] = 191, e[n++] = 189) : s = i;
4583
+ continue;
4584
+ }
4585
+ else s && (e[n++] = 239, e[n++] = 191, e[n++] = 189, s = null);
4586
+ i < 128 ? e[n++] = i : (i < 2048 ? e[n++] = i >> 6 | 192 : (i < 65536 ? e[n++] = i >> 12 | 224 : (e[n++] = i >> 18 | 240, e[n++] = i >> 12 & 63 | 128), e[n++] = i >> 6 & 63 | 128), e[n++] = i & 63 | 128);
4587
+ }
4588
+ return n;
4589
+ }
4590
+ const bi = /* @__PURE__ */ wn(xi), s0 = (e) => {
4591
+ var a, i;
4592
+ if (!e || !e.data)
4593
+ return {};
4594
+ const t = {}, n = e.data;
4595
+ if (n)
4596
+ for (const s of n) {
4597
+ const c = (a = s == null ? void 0 : s.event) == null ? void 0 : a.country_code, d = (i = e.meta.metric_names) == null ? void 0 : i[0];
4598
+ c && (t[c] = d ? s.event[d] : 0);
4599
+ }
4600
+ return t;
4601
+ };
4602
+ function Bi(e, t = 0) {
4603
+ let n = null;
4604
+ return (...a) => {
4605
+ n && clearTimeout(n), n = setTimeout(() => e(...a), t);
4606
+ };
4607
+ }
4608
+ const Hi = { class: "legend" }, Yi = {
4609
+ key: 0,
4610
+ class: "legend-title"
4611
+ }, Vi = { class: "legend-text" }, zi = /* @__PURE__ */ Tt({
4612
+ __name: "MapLegend",
4613
+ props: {
4614
+ metric: {},
4615
+ title: {},
4616
+ data: {}
4617
+ },
4618
+ setup(e) {
4619
+ return (t, n) => (j(), ae("div", Hi, [
4620
+ t.metric ? (j(), ae("div", Yi, ce(t.title), 1)) : De("", !0),
4621
+ (j(!0), ae(jr, null, Kr(t.data, (a, i) => (j(), ae("div", {
4622
+ key: i,
4623
+ class: "legend-item"
4624
+ }, [
4625
+ J("span", {
4626
+ class: "legend-color",
4627
+ style: $r({ backgroundColor: a.color })
4628
+ }, null, 4),
4629
+ J("span", Vi, ce(a.range), 1)
4630
+ ]))), 128))
4631
+ ]));
4632
+ }
4633
+ }), Nt = (e, t) => {
4634
+ const n = e.__vccOpts || e;
4635
+ for (const [a, i] of t)
4636
+ n[a] = i;
4637
+ return n;
4638
+ }, ji = /* @__PURE__ */ Nt(zi, [["__scopeId", "data-v-5f034736"]]), Ki = { class: "map-tooltip" }, $i = { class: "map-tooltip-text" }, Wi = { key: 0 }, Zi = /* @__PURE__ */ Tt({
4639
+ __name: "MapTooltip",
4640
+ props: {
4641
+ data: {},
4642
+ showValue: { type: Boolean },
4643
+ top: {},
4644
+ left: {}
4645
+ },
4646
+ setup(e) {
4647
+ return Wr((t) => ({
4648
+ "55ff282a": t.left,
4649
+ "23ce2e1e": t.top,
4650
+ "011f7503": t.data.color
4651
+ })), (t, n) => (j(), ae("div", Ki, [
4652
+ n[0] || (n[0] = J("div", { class: "map-tooltip-color" }, null, -1)),
4653
+ J("div", $i, [
4654
+ J("div", null, ce(t.data.label), 1),
4655
+ t.showValue ? (j(), ae("span", Wi, ce(t.data.value) + " " + ce(t.data.unit), 1)) : De("", !0)
4656
+ ])
4657
+ ]));
4658
+ }
4659
+ }), qi = /* @__PURE__ */ Nt(Zi, [["__scopeId", "data-v-5e8af715"]]), Ji = { class: "kong-ui-public-analytics-geo-map" }, Xi = {
4660
+ key: 0,
4661
+ class: "no-location-overlay"
4662
+ }, Qi = { class: "no-location-overlay-title" }, e0 = { class: "no-location-overlay-description" }, t0 = ["id"], n0 = /* @__PURE__ */ Tt({
4663
+ __name: "AnalyticsGeoMap",
4664
+ props: {
4665
+ countryMetrics: {},
4666
+ metricUnit: {},
4667
+ metric: {},
4668
+ withLegend: { type: Boolean, default: !0 },
4669
+ showTooltipValue: { type: Boolean, default: !0 },
4670
+ fitToCountry: { default: () => {
4671
+ } },
4672
+ bounds: { default: () => {
4673
+ } }
4674
+ },
4675
+ emits: ["boundsChange"],
4676
+ setup(e, { emit: t }) {
4677
+ const n = import("./countries-simple-geo-BFUDnSiE.js").then((g) => g.default), a = t, { i18n: i } = hn.useI18n(), { getColor: s, formatMetric: c, legendData: d } = hn.useMetricUtils({
4678
+ countryMetrics: Xt(() => e.countryMetrics),
4679
+ metric: Xt(() => e.metric)
4680
+ }), y = Se(), m = Zr(), u = Se(), f = Se(null), _ = Se({ left: "0px", top: "0px" }), v = Se(!1), F = C(() => Object.keys(e.countryMetrics).length === 0 && !e.fitToCountry), N = C(() => ({
4681
+ "fill-color": [
4682
+ "match",
4683
+ [
4684
+ "coalesce",
4685
+ [
4686
+ "case",
4687
+ ["==", ["get", "iso_a2"], "-99"],
4688
+ ["get", "iso_a2_eh"],
4689
+ ["get", "iso_a2"]
4690
+ ],
4691
+ ["get", "ISO_A2"]
4692
+ ],
4693
+ ...Object.keys(e.countryMetrics).length ? Object.entries(e.countryMetrics).flatMap(([g, T]) => [
4694
+ g,
4695
+ s(T)
4696
+ ]) : [ke, ke],
4697
+ ke
4698
+ // default color if no match
4699
+ ],
4700
+ "fill-opacity": 0.7
4701
+ })), P = C(() => e.withLegend && Object.keys(e.countryMetrics).length > 0), Q = C(() => e.metric && i.t(`metrics.${e.metric}`) || ""), U = (g) => {
4702
+ const T = g.flat(1);
4703
+ return Array.isArray(T[0]) && Array.isArray(T[0][0]) ? U(T) : T;
4704
+ }, ie = (g) => {
4705
+ var M, D, ee, K, B, te, ne;
4706
+ if (g === "RU") {
4707
+ (M = u.value) == null || M.fitBounds([
4708
+ [20, 40],
4709
+ [180, 80]
4710
+ ]);
4711
+ return;
4712
+ } else if (g === "US") {
4713
+ (D = u.value) == null || D.fitBounds([
4714
+ [-130, 20],
4715
+ [-60, 50]
4716
+ ]);
4717
+ return;
4718
+ } else if (g === "FR") {
4719
+ (ee = u.value) == null || ee.fitBounds([
4720
+ [-5, 42],
4721
+ [9, 51]
4722
+ ]);
4723
+ return;
4724
+ } else if (g === "NO") {
4725
+ (K = u.value) == null || K.fitBounds([
4726
+ [4, 57],
4727
+ [32, 71]
4728
+ ]);
4729
+ return;
4730
+ }
4731
+ const T = (B = f.value) == null ? void 0 : B.features.find((L) => {
4732
+ var H, Y, V, w, z;
4733
+ return (H = L.properties) != null && H.ISO_A2 ? ((Y = L.properties) == null ? void 0 : Y.ISO_A2) === g : ((V = L.properties) == null ? void 0 : V.iso_a2) === "-99" ? ((w = L.properties) == null ? void 0 : w.iso_a2_eh) === g : ((z = L.properties) == null ? void 0 : z.iso_a2) === g;
4734
+ });
4735
+ if (T) {
4736
+ const L = (te = T.geometry) == null ? void 0 : te.coordinates;
4737
+ if (!L) return;
4738
+ const H = U(L), Y = H.map(($) => $[1]), V = H.map(($) => $[0]), w = Math.min(...Y), z = Math.max(...Y), me = Math.min(...V), R = Math.max(...V);
4739
+ (ne = u.value) == null || ne.fitBounds([
4740
+ [me, w],
4741
+ [R, z]
4742
+ ]);
4743
+ }
4744
+ }, b = C(() => {
4745
+ const g = {
4746
+ container: m,
4747
+ style: { version: 8, sources: {}, layers: [] },
4748
+ attributionControl: !1,
4749
+ // fit bounds for whole world minus antarctica
4750
+ maxBounds: [
4751
+ [-179, -75],
4752
+ // -75 south tip of south america
4753
+ [179, 90]
4754
+ ],
4755
+ cooperativeGestures: !0,
4756
+ locale: {
4757
+ "CooperativeGesturesHandler.WindowsHelpText": i.t("cooperative_gestures.windows_zoom_help_text"),
4758
+ "CooperativeGesturesHandler.MacHelpText": i.t("cooperative_gestures.mac_zoom_help_text"),
4759
+ "CooperativeGesturesHandler.MobileHelpText": i.t("cooperative_gestures.mobile_zoom_help_text")
4760
+ }
4761
+ };
4762
+ return e.bounds && (g.bounds = e.bounds), g;
4763
+ }), de = Bi(() => {
4764
+ if (!u.value) return;
4765
+ const g = u.value.getBounds(), T = g.getSouthWest(), M = g.getNorthEast();
4766
+ a("boundsChange", [
4767
+ [T.lng, T.lat],
4768
+ [M.lng, M.lat]
4769
+ ]);
4770
+ }, 300);
4771
+ return qr(async () => {
4772
+ var g, T, M;
4773
+ try {
4774
+ const D = await n, ee = await fetch(D), K = new Uint8Array(await ee.arrayBuffer()), B = wi(new bi(K));
4775
+ f.value = B, u.value = new Qr(b.value), u.value.on("load", () => {
4776
+ var te, ne, L, H, Y, V, w;
4777
+ (te = u.value) == null || te.addSource("countries", {
4778
+ type: "geojson",
4779
+ data: B
4780
+ }), (ne = u.value) == null || ne.addLayer({
4781
+ id: "countries-layer",
4782
+ type: "fill",
4783
+ source: "countries",
4784
+ paint: N.value
4785
+ }), (L = u.value) == null || L.addSource("lakes", {
4786
+ type: "geojson",
4787
+ data: li
4788
+ }), (H = u.value) == null || H.addLayer({
4789
+ id: "lakes-layer",
4790
+ type: "fill",
4791
+ source: "lakes",
4792
+ paint: {
4793
+ "fill-color": "#FFFFFF"
4794
+ }
4795
+ }), (Y = u.value) == null || Y.on("mousemove", "countries-layer", (z) => {
4796
+ var R;
4797
+ const me = (R = z.features) == null ? void 0 : R[0];
4798
+ if (me) {
4799
+ const { iso_a2: $, iso_a2_eh: Oe, ISO_A2: Ze, admin: qe } = me.properties, Je = Ze ?? $ === "-99" ? Oe : $, fe = e.countryMetrics[Je];
4800
+ fe !== void 0 && (y.value = {
4801
+ label: qe,
4802
+ color: s(fe),
4803
+ value: c(fe),
4804
+ unit: i.t(`metricUnits.${e.metricUnit}`, { plural: fe > 1 ? "s" : "" })
4805
+ }, v.value = !0, _.value = {
4806
+ left: `${z.point.x}px`,
4807
+ top: `${z.point.y}px`
4808
+ });
4809
+ }
4810
+ }), (V = u.value) == null || V.on("mouseleave", "countries-layer", () => {
4811
+ v.value = !1;
4812
+ }), (w = u.value) == null || w.on("move", de), e.fitToCountry && ie(e.fitToCountry);
4813
+ }), (g = u.value) == null || g.dragRotate.disable(), (T = u.value) == null || T.keyboard.disable(), (M = u.value) == null || M.touchZoomRotate.disableRotation();
4814
+ } catch (D) {
4815
+ console.error(D);
4816
+ }
4817
+ }), ut(() => e.countryMetrics, () => {
4818
+ var g;
4819
+ u.value && u.value.isStyleLoaded() && (u.value.getLayer("countries-layer") && u.value.removeLayer("countries-layer"), u.value.addLayer({
4820
+ id: "countries-layer",
4821
+ type: "fill",
4822
+ source: "countries",
4823
+ paint: N.value
4824
+ }), u.value.removeLayer("lakes-layer"), (g = u.value) == null || g.addLayer({
4825
+ id: "lakes-layer",
4826
+ type: "fill",
4827
+ source: "lakes",
4828
+ paint: {
4829
+ "fill-color": "#FFFFFF"
4830
+ }
4831
+ }));
4832
+ }), ut(() => e.fitToCountry, (g) => {
4833
+ var T, M, D;
4834
+ u.value && g ? ie(g) : !b.value.center && !b.value.zoom ? (T = u.value) == null || T.fitBounds([
4835
+ [-180, -90],
4836
+ [180, 90]
4837
+ ]) : (b.value.zoom && ((M = u.value) == null || M.setZoom(b.value.zoom)), b.value.center && ((D = u.value) == null || D.flyTo({ center: b.value.center })));
4838
+ }), ut(() => e.bounds, (g, T) => {
4839
+ if (!g) return;
4840
+ const M = g == null ? void 0 : g.flat(), D = T == null ? void 0 : T.flat();
4841
+ !(M && D && M.length === D.length && M.every((K, B) => Math.round(K * 100) / 100 === Math.round(D[B] * 100) / 100)) && u.value && u.value.fitBounds(g);
4842
+ }), (g, T) => (j(), ae("div", Ji, [
4843
+ F.value ? (j(), ae("div", Xi, [
4844
+ ct(g.$slots, "no-location-icon", {}, () => [
4845
+ Jr(ue(na), {
4846
+ color: ue(ni),
4847
+ size: ue(ri)
4848
+ }, null, 8, ["color", "size"])
4849
+ ], !0),
4850
+ J("div", Qi, [
4851
+ ct(g.$slots, "no-location-title", {}, () => [
4852
+ Xr(ce(ue(i).t("no_location_data")), 1)
4853
+ ], !0)
4854
+ ]),
4855
+ J("div", e0, [
4856
+ ct(g.$slots, "no-location-description", {}, () => [
4857
+ J("p", null, ce(ue(i).t("no_location_data_description")), 1)
4858
+ ], !0)
4859
+ ])
4860
+ ])) : De("", !0),
4861
+ J("div", {
4862
+ id: ue(m),
4863
+ class: "analytics-geo-map-container"
4864
+ }, null, 8, t0),
4865
+ P.value ? (j(), Qt(ji, {
4866
+ key: 1,
4867
+ class: "legend-container",
4868
+ data: ue(d),
4869
+ metric: g.metric,
4870
+ title: Q.value
4871
+ }, null, 8, ["data", "metric", "title"])) : De("", !0),
4872
+ v.value && y.value ? (j(), Qt(qi, {
4873
+ key: 2,
4874
+ data: y.value,
4875
+ left: _.value.left,
4876
+ "show-value": g.showTooltipValue,
4877
+ top: _.value.top
4878
+ }, null, 8, ["data", "left", "show-value", "top"])) : De("", !0)
4879
+ ]));
4880
+ }
4881
+ }), l0 = /* @__PURE__ */ Nt(n0, [["__scopeId", "data-v-f8b9de28"]]);
4882
+ export {
4883
+ l0 as AnalyticsGeoMap,
4884
+ Bi as debounce,
4885
+ s0 as exploreResultToCountryMetrics
4886
+ };