@expofp/floorplan 3.44.3 → 3.44.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-CNVBhsa-.js → Button-F_XLD8Fy.js} +5 -5
- package/dist/browser/{CookieConsent-Dxv1Wsat.js → CookieConsent-DZfbYufk.js} +7 -7
- package/dist/browser/{Debug-CFKoef7p.js → Debug-Bfe4H5gN.js} +7 -7
- package/dist/browser/{DebugTools-B8V3wXuK.js → DebugTools-D8ye4Kez.js} +6 -6
- package/dist/browser/{Demo-DM0A_1km.js → Demo-CuFsb-_M.js} +9 -9
- package/dist/browser/{Free-CzO-mFfd.js → Free-C0Nk9qPr.js} +10 -10
- package/dist/browser/{GalleryContainer-CbEnMCVB.js → GalleryContainer-CyAGAg4x.js} +11 -11
- package/dist/browser/{GpsLoader-CVbPQRMb.js → GpsLoader-CoB3sRdS.js} +14 -14
- package/dist/browser/{KioskStore-CwqXi5BX.js → KioskStore-CFuPEGt0.js} +10 -10
- package/dist/browser/{LayerStore-Zb7qIu0z.js → LayerStore-CoevODUO.js} +3164 -3107
- package/dist/browser/{MaplibreAdapter-CpqKTkaf.js → MaplibreAdapter-Cu_LsCXF.js} +647 -645
- package/dist/browser/{ModalContainer-DXJrM1Bp.js → ModalContainer-My0C_xoz.js} +10 -10
- package/dist/browser/{PermissionNotice-DDKii54V.js → PermissionNotice-BOGBP1GX.js} +6 -6
- package/dist/browser/{RouteStore-hvwT2i2u.js → RouteStore-Dm2o_5F2.js} +143 -143
- package/dist/browser/{SetKioskMode-BwmKtUXS.js → SetKioskMode-DPCRqozK.js} +12 -12
- package/dist/browser/{ShowKiosk-BRG5YHbS.js → ShowKiosk-DrNye8Aa.js} +11 -11
- package/dist/browser/{UIState-CE6LgRm0.js → UIState-BQFpVx6u.js} +81 -81
- package/dist/browser/{ViewerMenuPanel-mc608c2h.js → ViewerMenuPanel-CR4YhVRV.js} +11 -11
- package/dist/browser/{add-debug-secret-listener-BK7p-z9L.js → add-debug-secret-listener-ujLceXxU.js} +1 -1
- package/dist/browser/{adopt-global-settings-CRMYLGuM.js → adopt-global-settings-CN0GZTt5.js} +9 -9
- package/dist/browser/{boolean-editor-C-3p4K-F.js → boolean-editor-Ceq6Etwz.js} +9 -9
- package/dist/browser/{bootIntercom-Db2ZY2IP.js → bootIntercom-B1uR7uMB.js} +2 -2
- package/dist/browser/bundle.json +85 -85
- package/dist/browser/{camera-events-R9lBN0gH.js → camera-events-CvNcBo4O.js} +1 -1
- package/dist/browser/{classnames-BbFWiHL5.js → classnames-CrsP-Ebw.js} +2 -2
- package/dist/browser/{client-BEMnZXAF.js → client-BHrMhFVE.js} +5 -5
- package/dist/browser/{components-DliPPf5t.js → components-BqCyp8zM.js} +152 -152
- package/dist/browser/{create-live-plan-DAzphLxx.js → create-live-plan-CvZGo-XN.js} +77 -77
- package/dist/browser/{debug-context-CvwXOlAn.js → debug-context-i7l7Gx3K.js} +5 -5
- package/dist/browser/{debug-overlay-C4EOfo6K.js → debug-overlay-CRW_rbNG.js} +10 -10
- package/dist/browser/{debug-ui-C4ij0VwK.js → debug-ui-3YKCQhko.js} +6 -6
- package/dist/browser/{dimming-DDbaTusx.js → dimming-Dvu1pvil.js} +287 -287
- package/dist/browser/{dist-7WIWetl1.js → dist-Cle-ua_T.js} +3 -3
- package/dist/browser/{dist-Bec_HPvI.js → dist-DkwknQXP.js} +5 -5
- package/dist/browser/{dist-YzxDC-l3.js → dist-uDlhOKs3.js} +6 -6
- package/dist/browser/{efp-debug-init-DcPbyNJ4.js → efp-debug-init-BYeJPe2d.js} +3 -3
- package/dist/browser/{enum-editor-D7bIWtJ_.js → enum-editor-B_FawgZE.js} +4 -4
- package/dist/browser/{es5-BrgEa0Fa.js → es5-Dbukoinx.js} +2 -2
- package/dist/browser/{event-head-z1FHiOEx.js → event-head-D6VrYuEF.js} +1 -1
- package/dist/browser/{event-not-found-CmEMYoWH.js → event-not-found-BDz3WPij.js} +3 -3
- package/dist/browser/{event-scoped-cache-BYrRCtdG.js → event-scoped-cache-e6nGR3aQ.js} +2 -2
- package/dist/browser/{expofpUrl-CEUejCEN.js → expofpUrl-B0MZmxoe.js} +1 -1
- package/dist/browser/{exports-DKQt5QYX.js → exports-DEZevwDn.js} +1 -1
- package/dist/browser/{favicon-hXbIh_yH.js → favicon-u31TeYa4.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CLXaW0xF.js → fetch-retry.umd-Cn-1aORd.js} +2 -2
- package/dist/browser/{flex-KPw9gVGD.js → flex-cYeXiUeX.js} +5 -5
- package/dist/browser/{floorplan.loader-D93gRJBq.js → floorplan.loader-DQ33Y83e.js} +12 -12
- package/dist/browser/{floorplan.ready-BNLEOdiv.js → floorplan.ready-DzJBQvVZ.js} +43 -43
- package/dist/browser/{freeBanner-oymjDdPI.js → freeBanner-DIcnNW6x.js} +2 -2
- package/dist/browser/{fuse-BFSl1xAm.js → fuse-ZGglAVb9.js} +2 -2
- package/dist/browser/{i18n-rk8cQWa3.js → i18n-DkibBSFF.js} +6 -6
- package/dist/browser/index.js +17 -17
- package/dist/browser/{index.module-CSdtATMD.js → index.module-BP-TB38-.js} +4 -4
- package/dist/browser/{init-ui-lJmr6-g1.js → init-ui-DwX0YEOm.js} +15 -15
- package/dist/browser/{integrateKiosk-CRw9kkw3.js → integrateKiosk-Di2HTJ8S.js} +6 -6
- package/dist/browser/{is-debug-BmKkiaOm.js → is-debug-DH7N8jQh.js} +4 -4
- package/dist/browser/{is-own-domain-WyB1g8Cb.js → is-own-domain-CE5Nyu9G.js} +1 -1
- package/dist/browser/{is-webview-zrRx507t.js → is-webview-BCZ5IIAQ.js} +1 -1
- package/dist/browser/{jsx-runtime-D9gYD2sV.js → jsx-runtime-DRF-BLHf.js} +2 -2
- package/dist/browser/{kiosk-mode-BpbUrRKq.js → kiosk-mode-AIiDx_CP.js} +5 -5
- package/dist/browser/{kiosk-record-B3e1fovJ.js → kiosk-record-DjdRCsw4.js} +1 -1
- package/dist/browser/{kioskApi-D_uzTtqk.js → kioskApi-CvKNO-wZ.js} +7 -7
- package/dist/browser/{lib-B3FA8Hoq.js → lib-D51yHChz.js} +3 -3
- package/dist/browser/{loadImage-BBg66Nnb.js → loadImage-mqrRnYPB.js} +1 -1
- package/dist/browser/{logDeviceInfo-WQQRX_vW.js → logDeviceInfo-BbgtT2xS.js} +9 -9
- package/dist/browser/{mobx-BvloKnDW.js → mobx-DzcgHXfh.js} +4 -4
- package/dist/browser/{mobx.module-CjTRKVWn.js → mobx.module-DXfPwJbY.js} +1 -1
- package/dist/browser/{optional-boolean-editor-CBiiGQUP.js → optional-boolean-editor-i9cNIguy.js} +3 -3
- package/dist/browser/{optional-enum-editor-BItRyjei.js → optional-enum-editor-OmCRikPm.js} +4 -4
- package/dist/browser/{optional-string-editor-B7jzDfQN.js → optional-string-editor-C5sw9XjO.js} +4 -4
- package/dist/browser/{particles.min-A7cunk1O.js → particles.min-Cj5RSf6H.js} +2 -2
- package/dist/browser/{react-DJbZe8VG.js → react-BU3jD5B2.js} +2 -2
- package/dist/browser/{react-dom-CF-AXfUm.js → react-dom-DJDMclnf.js} +3 -3
- package/dist/browser/{rolldown-runtime-BiG6A0mX.js → rolldown-runtime-CEvxUPK8.js} +1 -1
- package/dist/browser/{scene-CXn1c6mI.js → scene-B7RN58fT.js} +12 -12
- package/dist/browser/{scheduler-Dafdeh3M.js → scheduler-BZKT_e0-.js} +2 -2
- package/dist/browser/{select-BxjiQiLf.js → select-COMyfaY9.js} +10 -10
- package/dist/browser/{settings-BOBQS9z-.js → settings-Cg-yMbvI.js} +2 -2
- package/dist/browser/{settings-item-DUoTvDE-.js → settings-item-D1VQ8quC.js} +6 -6
- package/dist/browser/{store-D-LRnUif.js → store-XoxiSr-z.js} +2 -2
- package/dist/browser/{string-editor-DiDkcybB.js → string-editor-CWO5nIcD.js} +4 -4
- package/dist/browser/{text-field-CIc92NZ5.js → text-field-BqEB9Lpy.js} +5 -5
- package/dist/browser/{theme-0Xo52fpM.js → theme-Drd2jIAq.js} +8 -8
- package/dist/browser/{ui-D9VGB23k.js → ui-Bg4NEUSa.js} +8 -8
- package/dist/browser/{useRenderTarget-DZ5XMBlN.js → useRenderTarget-Bqxwvxh1.js} +4 -4
- package/dist/browser/{viewport-DBg-6DYR.js → viewport-BkMq7yU7.js} +3 -3
- package/dist/browser/{wayfinding-B87Zv5e1.js → wayfinding-BvV-kzMQ.js} +411 -411
- package/dist/esm/components/Map/drawing/config/canvases.d.ts +0 -9
- package/dist/esm/components/Map/drawing/config/canvases.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-outdoor-poi.js +1 -1
- package/dist/esm/components/Map/drawing/config/poi-pin-shape.d.ts +100 -0
- package/dist/esm/components/Map/drawing/config/poi-pin-shape.js +1 -0
- package/dist/esm/components/Map/drawing/config/poi-pin.d.ts +10 -0
- package/dist/esm/components/Map/drawing/config/poi-pin.js +1 -0
- package/dist/esm/components/Maplibre/usePoiMarkers.js +1 -1
- package/dist/esm/constants.d.ts +2 -2
- package/dist/esm/constants.js +1 -1
- package/package.json +10 -10
|
@@ -2,29 +2,29 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.44.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.44.4" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4968f066-e462-433b-9df8-fdf462753fcd", e._sentryDebugIdIdentifier = "sentry-dbid-4968f066-e462-433b-9df8-fdf462753fcd");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { F as n, I as r, g as i, s as a } from "./i18n-
|
|
12
|
-
import { t as o } from "./react-
|
|
13
|
-
import { t as s } from "./jsx-runtime-
|
|
14
|
-
import { t as c } from "./is-debug-
|
|
15
|
-
import { i as l, l as u, u as d } from "./mobx.module-
|
|
16
|
-
import { t as f } from "./index.module-
|
|
17
|
-
import { l as p, u as m } from "./store-
|
|
18
|
-
import { i as h } from "./mobx-
|
|
19
|
-
import { n as g, t as _ } from "./expofpUrl-
|
|
20
|
-
import { At as v,
|
|
21
|
-
import { g as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { a as
|
|
25
|
-
import { a as
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-CEvxUPK8.js";
|
|
11
|
+
import { F as n, I as r, g as i, s as a } from "./i18n-DkibBSFF.js";
|
|
12
|
+
import { t as o } from "./react-BU3jD5B2.js";
|
|
13
|
+
import { t as s } from "./jsx-runtime-DRF-BLHf.js";
|
|
14
|
+
import { t as c } from "./is-debug-DH7N8jQh.js";
|
|
15
|
+
import { i as l, l as u, u as d } from "./mobx.module-DXfPwJbY.js";
|
|
16
|
+
import { t as f } from "./index.module-BP-TB38-.js";
|
|
17
|
+
import { l as p, u as m } from "./store-XoxiSr-z.js";
|
|
18
|
+
import { i as h } from "./mobx-DzcgHXfh.js";
|
|
19
|
+
import { n as g, t as _ } from "./expofpUrl-B0MZmxoe.js";
|
|
20
|
+
import { At as v, C as y, Dt as b, Et as x, K as S, Nt as C, Ot as w, Rt as T, a as E, at as D, c as O, dt as k, ft as A, gt as j, l as M, o as N, ot as ee, pt as P, s as te, u as ne, v as re } from "./LayerStore-CoevODUO.js";
|
|
21
|
+
import { g as ie, h as ae, n as oe, p as se } from "./wayfinding-BvV-kzMQ.js";
|
|
22
|
+
import { t as ce } from "./camera-events-CvNcBo4O.js";
|
|
23
|
+
import { t as le } from "./viewport-BkMq7yU7.js";
|
|
24
|
+
import { a as ue, i as de, n as fe, o as pe, s as me } from "./scene-B7RN58fT.js";
|
|
25
|
+
import { a as he, c as ge, i as _e, l as ve, n as ye, o as be, r as xe, s as Se, t as Ce } from "./dimming-Dvu1pvil.js";
|
|
26
26
|
//#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
|
|
27
|
-
var F = /* @__PURE__ */ e(o(), 1),
|
|
27
|
+
var F = /* @__PURE__ */ e(o(), 1), we = /* @__PURE__ */ e(j(), 1), Te = (/* @__PURE__ */ t(((e, t) => {
|
|
28
28
|
(function(n, r) {
|
|
29
29
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self, n.maplibregl = r());
|
|
30
30
|
})(e, (function() {
|
|
@@ -323,29 +323,29 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
323
323
|
function M(e, t, n) {
|
|
324
324
|
return e * (1 - n) + t * n;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function N(e) {
|
|
327
327
|
if (e <= 0) return 0;
|
|
328
328
|
if (e >= 1) return 1;
|
|
329
329
|
let t = e * e, n = t * e;
|
|
330
330
|
return 4 * (e < .5 ? n : 3 * (e - t) + n - .75);
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function ee(e, t, n, r) {
|
|
333
333
|
let i = new o(e, t, n, r);
|
|
334
334
|
return (e) => i.solve(e);
|
|
335
335
|
}
|
|
336
|
-
let
|
|
337
|
-
function
|
|
336
|
+
let P = ee(.25, .1, .25, 1);
|
|
337
|
+
function te(e, t, n) {
|
|
338
338
|
return Math.min(n, Math.max(t, e));
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function ne(e, t, n) {
|
|
341
341
|
let r = n - t, i = ((e - t) % r + r) % r + t;
|
|
342
342
|
return i === t ? n : i;
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function re(e, ...t) {
|
|
345
345
|
for (let n of t) for (let t in n) e[t] = n[t];
|
|
346
346
|
return e;
|
|
347
347
|
}
|
|
348
|
-
let
|
|
348
|
+
let ie = 1;
|
|
349
349
|
function ae(e, t, n) {
|
|
350
350
|
let r = {};
|
|
351
351
|
for (let n in e) r[n] = t.call(this, e[n], n, e);
|
|
@@ -418,13 +418,13 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
418
418
|
function be(e) {
|
|
419
419
|
return e / Math.PI * 180;
|
|
420
420
|
}
|
|
421
|
-
let
|
|
421
|
+
let xe = {
|
|
422
422
|
touchstart: !0,
|
|
423
423
|
touchmove: !0,
|
|
424
424
|
touchmoveWindow: !0,
|
|
425
425
|
touchend: !0,
|
|
426
426
|
touchcancel: !0
|
|
427
|
-
},
|
|
427
|
+
}, Se = {
|
|
428
428
|
dblclick: !0,
|
|
429
429
|
click: !0,
|
|
430
430
|
mouseover: !0,
|
|
@@ -436,17 +436,17 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
436
436
|
mouseupWindow: !0,
|
|
437
437
|
contextmenu: !0,
|
|
438
438
|
wheel: !0
|
|
439
|
-
},
|
|
440
|
-
class
|
|
441
|
-
constructor(e =
|
|
442
|
-
super(e instanceof Error ? e.message : e), this.name =
|
|
439
|
+
}, Ce = "AbortError";
|
|
440
|
+
class F extends Error {
|
|
441
|
+
constructor(e = Ce) {
|
|
442
|
+
super(e instanceof Error ? e.message : e), this.name = Ce, e instanceof Error && e.stack && (this.stack = e.stack);
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
445
|
function we(e) {
|
|
446
|
-
return e instanceof Error && e.name ===
|
|
446
|
+
return e instanceof Error && e.name === Ce;
|
|
447
447
|
}
|
|
448
448
|
function Te(e) {
|
|
449
|
-
if (e.aborted) throw new
|
|
449
|
+
if (e.aborted) throw new F(e.reason);
|
|
450
450
|
}
|
|
451
451
|
let Ee = {
|
|
452
452
|
MAX_PARALLEL_IMAGE_REQUESTS: 16,
|
|
@@ -474,7 +474,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
474
474
|
let t = De(e.url);
|
|
475
475
|
if (t) {
|
|
476
476
|
let r = yield t(e, n);
|
|
477
|
-
return r.data || e.type !== "arrayBuffer" ? r :
|
|
477
|
+
return r.data || e.type !== "arrayBuffer" ? r : re(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
|
|
478
478
|
}
|
|
479
479
|
if (de(self) && (r = self.worker) != null && r.actor) return self.worker.actor.sendAsync({
|
|
480
480
|
type: "GR",
|
|
@@ -553,7 +553,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
553
553
|
r(new ke(a.status, a.statusText, e.url, t));
|
|
554
554
|
}
|
|
555
555
|
}, t.signal.addEventListener("abort", (() => {
|
|
556
|
-
a.abort(), r(new
|
|
556
|
+
a.abort(), r(new F(t.signal.reason));
|
|
557
557
|
})), a.send(e.body);
|
|
558
558
|
}));
|
|
559
559
|
}(e, n);
|
|
@@ -576,12 +576,12 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
576
576
|
}
|
|
577
577
|
class Fe {
|
|
578
578
|
constructor(e, t = {}) {
|
|
579
|
-
|
|
579
|
+
re(this, t), this.type = e;
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
class Ie extends Fe {
|
|
583
583
|
constructor(e, t = {}) {
|
|
584
|
-
super("error",
|
|
584
|
+
super("error", re({ error: e }, t));
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
class Le {
|
|
@@ -607,7 +607,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
607
607
|
let a = (r = this._oneTimeListeners) != null && r[i] ? this._oneTimeListeners[i].slice() : [];
|
|
608
608
|
for (let t of a) Pe(i, t, this._oneTimeListeners), t.call(this, e);
|
|
609
609
|
let o = this._eventedParent;
|
|
610
|
-
o && (
|
|
610
|
+
o && (re(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
|
|
611
611
|
} else e instanceof Ie && console.error(e.error);
|
|
612
612
|
return this;
|
|
613
613
|
}
|
|
@@ -8266,7 +8266,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
8266
8266
|
this.property = e, this.value = new za(e, void 0, t);
|
|
8267
8267
|
}
|
|
8268
8268
|
transitioned(e, t) {
|
|
8269
|
-
return new Ha(this.property, this.value, t,
|
|
8269
|
+
return new Ha(this.property, this.value, t, re({}, e.transition, this.transition), e.now);
|
|
8270
8270
|
}
|
|
8271
8271
|
untransitioned() {
|
|
8272
8272
|
return new Ha(this.property, this.value, null, {}, 0);
|
|
@@ -8323,7 +8323,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
8323
8323
|
if (r < this.begin) return a.possiblyEvaluate(e, t, n);
|
|
8324
8324
|
{
|
|
8325
8325
|
let o = (r - this.begin) / (this.end - this.begin);
|
|
8326
|
-
return this.property.interpolate(a.possiblyEvaluate(e, t, n), i,
|
|
8326
|
+
return this.property.interpolate(a.possiblyEvaluate(e, t, n), i, N(o));
|
|
8327
8327
|
}
|
|
8328
8328
|
}
|
|
8329
8329
|
return i;
|
|
@@ -9421,7 +9421,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
9421
9421
|
}
|
|
9422
9422
|
}
|
|
9423
9423
|
function cs(e, t) {
|
|
9424
|
-
return 256 * (e =
|
|
9424
|
+
return 256 * (e = te(Math.floor(e), 0, 255)) + te(Math.floor(t), 0, 255);
|
|
9425
9425
|
}
|
|
9426
9426
|
ss.MAX_VERTEX_ARRAY_LENGTH = 2 ** 16 - 1, X("SegmentVector", ss);
|
|
9427
9427
|
let ls = oo([
|
|
@@ -9681,7 +9681,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
9681
9681
|
this.paintVertexBuffer && this.paintVertexBuffer.destroy();
|
|
9682
9682
|
}
|
|
9683
9683
|
setUniform(e, t) {
|
|
9684
|
-
let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r =
|
|
9684
|
+
let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r = te(this.expression.interpolationFactor(n, this.zoom, this.zoom + 1), 0, 1);
|
|
9685
9685
|
e.set(r);
|
|
9686
9686
|
}
|
|
9687
9687
|
getBinding(e, t, n) {
|
|
@@ -9975,7 +9975,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
9975
9975
|
let t = O / e.extent, n = e.loadGeometry();
|
|
9976
9976
|
for (let e of n) for (let n of e) {
|
|
9977
9977
|
let e = Math.round(n.x * t), r = Math.round(n.y * t);
|
|
9978
|
-
n.x =
|
|
9978
|
+
n.x = te(e, Bs, zs), n.y = te(r, Bs, zs), (e < n.x || e > n.x + 1 || r < n.y || r > n.y + 1) && le("Geometry exceeds allowed extent, reduce your vector tile buffer size");
|
|
9979
9979
|
}
|
|
9980
9980
|
return n;
|
|
9981
9981
|
}
|
|
@@ -12852,7 +12852,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
12852
12852
|
}), super.possiblyEvaluate(e, t);
|
|
12853
12853
|
}
|
|
12854
12854
|
evaluate(e, t, n, r) {
|
|
12855
|
-
return t =
|
|
12855
|
+
return t = re({}, t, { zoom: Math.floor(t.zoom) }), super.evaluate(e, t, n, r);
|
|
12856
12856
|
}
|
|
12857
12857
|
}
|
|
12858
12858
|
let dd;
|
|
@@ -14787,7 +14787,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
14787
14787
|
if (this.lng = +e, this.lat = +t, this.lat > 90 || this.lat < -90) throw Error("Invalid LngLat latitude value: must be between -90 and 90");
|
|
14788
14788
|
}
|
|
14789
14789
|
wrap() {
|
|
14790
|
-
return new Nf(
|
|
14790
|
+
return new Nf(ne(this.lng, -180, 180), this.lat);
|
|
14791
14791
|
}
|
|
14792
14792
|
toArray() {
|
|
14793
14793
|
return [this.lng, this.lat];
|
|
@@ -17222,7 +17222,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
17222
17222
|
if (!n) continue;
|
|
17223
17223
|
let i = {};
|
|
17224
17224
|
m && l && (i = l.getState(n.sourceLayer || Um, m));
|
|
17225
|
-
let d =
|
|
17225
|
+
let d = re({}, c[t]);
|
|
17226
17226
|
d.paint = Qm(d.paint, n.paint, p, i, o), d.layout = Qm(d.layout, n.layout, p, i, o);
|
|
17227
17227
|
let f = !u || u(p, n, i);
|
|
17228
17228
|
if (!f) continue;
|
|
@@ -17396,33 +17396,33 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
17396
17396
|
(o.textFitWidth || o.textFitHeight) && (u = lf(e)), v = hh(d, 0, t[0]), b = hh(f, 0, t[1]), y = hh(d, t[0], t[2]), x = hh(f, t[1], t[3]), S = t[0] - v, w = t[1] - b, C = n - y, T = r - x;
|
|
17397
17397
|
}
|
|
17398
17398
|
let E = u.x1, D = u.y1, O = u.x2 - E, k = u.y2 - D, A = (e, i, a, c) => {
|
|
17399
|
-
let l = _h(e.stretch - v, y, O, E), u = vh(e.fixed - S, C, e.stretch, m), d = _h(i.stretch - b, x, k, D), f = vh(i.fixed - w, T, i.stretch, h), p = _h(a.stretch - v, y, O, E), g = vh(a.fixed - S, C, a.stretch, m), _ = _h(c.stretch - b, x, k, D), A = vh(c.fixed - w, T, c.stretch, h), j = new n(l, d), M = new n(p, d),
|
|
17400
|
-
if (
|
|
17401
|
-
let e = Math.sin(
|
|
17399
|
+
let l = _h(e.stretch - v, y, O, E), u = vh(e.fixed - S, C, e.stretch, m), d = _h(i.stretch - b, x, k, D), f = vh(i.fixed - w, T, i.stretch, h), p = _h(a.stretch - v, y, O, E), g = vh(a.fixed - S, C, a.stretch, m), _ = _h(c.stretch - b, x, k, D), A = vh(c.fixed - w, T, c.stretch, h), j = new n(l, d), M = new n(p, d), N = new n(p, _), ee = new n(l, _), P = new n(u / s, f / s), te = new n(g / s, A / s), ne = t * Math.PI / 180;
|
|
17400
|
+
if (ne) {
|
|
17401
|
+
let e = Math.sin(ne), t = Math.cos(ne), n = [
|
|
17402
17402
|
t,
|
|
17403
17403
|
-e,
|
|
17404
17404
|
e,
|
|
17405
17405
|
t
|
|
17406
17406
|
];
|
|
17407
|
-
j._matMult(n), M._matMult(n),
|
|
17407
|
+
j._matMult(n), M._matMult(n), ee._matMult(n), N._matMult(n);
|
|
17408
17408
|
}
|
|
17409
|
-
let
|
|
17409
|
+
let re = e.stretch + e.fixed, ie = i.stretch + i.fixed;
|
|
17410
17410
|
return {
|
|
17411
17411
|
tl: j,
|
|
17412
17412
|
tr: M,
|
|
17413
|
-
bl:
|
|
17414
|
-
br:
|
|
17413
|
+
bl: ee,
|
|
17414
|
+
br: N,
|
|
17415
17415
|
tex: {
|
|
17416
|
-
x: o.paddedRect.x + 1 +
|
|
17417
|
-
y: o.paddedRect.y + 1 +
|
|
17418
|
-
w: a.stretch + a.fixed -
|
|
17419
|
-
h: c.stretch + c.fixed -
|
|
17416
|
+
x: o.paddedRect.x + 1 + re,
|
|
17417
|
+
y: o.paddedRect.y + 1 + ie,
|
|
17418
|
+
w: a.stretch + a.fixed - re,
|
|
17419
|
+
h: c.stretch + c.fixed - ie
|
|
17420
17420
|
},
|
|
17421
17421
|
writingMode: void 0,
|
|
17422
17422
|
glyphOffset: [0, 0],
|
|
17423
17423
|
sectionIndex: 0,
|
|
17424
|
-
pixelOffsetTL:
|
|
17425
|
-
pixelOffsetBR:
|
|
17424
|
+
pixelOffsetTL: P,
|
|
17425
|
+
pixelOffsetBR: te,
|
|
17426
17426
|
minFontScaleX: C / s / O,
|
|
17427
17427
|
minFontScaleY: T / s / k,
|
|
17428
17428
|
isSDF: r
|
|
@@ -17681,9 +17681,9 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
17681
17681
|
];
|
|
17682
17682
|
}(m, n, d, t.tilePixelRatio), w = m.get("text-max-angle") / 180 * Math.PI, T = m.get("text-rotation-alignment") !== "viewport" && m.get("symbol-placement") !== "point", E = m.get("icon-rotation-alignment") === "map" && m.get("symbol-placement") !== "point", D = m.get("symbol-placement"), k = x / 2, A = m.get("icon-text-fit"), j;
|
|
17683
17683
|
i && A !== "none" && (t.allowVerticalPlacement && r.vertical && (j = uf(i, r.vertical, A, m.get("icon-text-fit-padding"), h, _)), g && (i = uf(i, g, A, m.get("icon-text-fit-padding"), h, _)));
|
|
17684
|
-
let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1,
|
|
17684
|
+
let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1, N = (c, f) => {
|
|
17685
17685
|
f.x < 0 || f.x >= O || f.y < 0 || f.y >= O || function(t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T) {
|
|
17686
|
-
let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0,
|
|
17686
|
+
let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, N = 0, ee = 0, P = -1, te = -1, ne = {}, re = _s("");
|
|
17687
17687
|
if (t.allowVerticalPlacement && i.vertical) {
|
|
17688
17688
|
let e = c.layout.get("text-rotate").evaluate(x, {}, w) + 90;
|
|
17689
17689
|
k = new yh(l, n, u, d, f, i.vertical, p, m, h, e), s && (A = new yh(l, n, u, d, f, s, _, v, h, e));
|
|
@@ -17692,20 +17692,20 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
17692
17692
|
let r = c.layout.get("icon-rotate").evaluate(x, {}), i = c.layout.get("icon-text-fit") !== "none", o = mh(a, r, C, i), p = s ? mh(s, r, C, i) : void 0;
|
|
17693
17693
|
O = new yh(l, n, u, d, f, a, _, v, !1, r), j = 4 * o.length;
|
|
17694
17694
|
let m = t.iconSizeData, h = null;
|
|
17695
|
-
m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df && le(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)) : m.kind === "composite" && (h = [128 * S.compositeIconSizes[0].evaluate(x, {}, w), 128 * S.compositeIconSizes[1].evaluate(x, {}, w)], (h[0] > df || h[1] > df) && le(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)), t.addSymbols(t.icon, o, h, b, y, x, e.ax.none, n, E.lineStartIndex, E.lineLength, -1, w),
|
|
17695
|
+
m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df && le(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)) : m.kind === "composite" && (h = [128 * S.compositeIconSizes[0].evaluate(x, {}, w), 128 * S.compositeIconSizes[1].evaluate(x, {}, w)], (h[0] > df || h[1] > df) && le(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)), t.addSymbols(t.icon, o, h, b, y, x, e.ax.none, n, E.lineStartIndex, E.lineLength, -1, w), P = t.icon.placedSymbolArray.length - 1, p && (M = 4 * p.length, t.addSymbols(t.icon, p, h, b, y, x, e.ax.vertical, n, E.lineStartIndex, E.lineLength, -1, w), te = t.icon.placedSymbolArray.length - 1);
|
|
17696
17696
|
}
|
|
17697
|
-
let
|
|
17698
|
-
for (let r of
|
|
17697
|
+
let ie = Object.keys(i.horizontal);
|
|
17698
|
+
for (let r of ie) {
|
|
17699
17699
|
let a = i.horizontal[r];
|
|
17700
17700
|
if (!D) {
|
|
17701
|
-
|
|
17701
|
+
re = _s(a.text);
|
|
17702
17702
|
let e = c.layout.get("text-rotate").evaluate(x, {}, w);
|
|
17703
17703
|
D = new yh(l, n, u, d, f, a, p, m, h, e);
|
|
17704
17704
|
}
|
|
17705
17705
|
let s = a.positionedLines.length === 1;
|
|
17706
|
-
if (
|
|
17706
|
+
if (N += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? ie : [r], ne, P, S, w), s) break;
|
|
17707
17707
|
}
|
|
17708
|
-
i.vertical && (
|
|
17708
|
+
i.vertical && (ee += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], ne, te, S, w));
|
|
17709
17709
|
let ae = D ? D.boxStartIndex : t.collisionBoxArray.length, oe = D ? D.boxEndIndex : t.collisionBoxArray.length, se = k ? k.boxStartIndex : t.collisionBoxArray.length, ce = k ? k.boxEndIndex : t.collisionBoxArray.length, ue = O ? O.boxStartIndex : t.collisionBoxArray.length, de = O ? O.boxEndIndex : t.collisionBoxArray.length, fe = A ? A.boxStartIndex : t.collisionBoxArray.length, pe = A ? A.boxEndIndex : t.collisionBoxArray.length, me = -1, he = (e, t) => e != null && e.circleDiameter ? Math.max(e.circleDiameter, t) : t;
|
|
17710
17710
|
me = he(D, me), me = he(k, me), me = he(O, me), me = he(A, me);
|
|
17711
17711
|
let ge = +(me > -1);
|
|
@@ -17718,7 +17718,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
17718
17718
|
}
|
|
17719
17719
|
return [r, t.length];
|
|
17720
17720
|
}(t.textAnchorOffsets, _e);
|
|
17721
|
-
t.symbolInstances.emplaceBack(n.x, n.y,
|
|
17721
|
+
t.symbolInstances.emplaceBack(n.x, n.y, ne.right >= 0 ? ne.right : -1, ne.center >= 0 ? ne.center : -1, ne.left >= 0 ? ne.left : -1, ne.vertical || -1, P, te, re, ae, oe, se, ce, ue, de, fe, pe, u, N, ee, j, M, ge, 0, p, me, ve, ye);
|
|
17722
17722
|
}(t, f, c, r, i, a, j, t.layers[0], t.collisionBoxArray, n.index, n.sourceLayerIndex, t.index, v, [
|
|
17723
17723
|
S,
|
|
17724
17724
|
S,
|
|
@@ -17728,22 +17728,22 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
17728
17728
|
};
|
|
17729
17729
|
if (D === "line") for (let e of eh(n.geometry, 0, 0, O, O)) {
|
|
17730
17730
|
let n = yl(e, M), a = fh(n, x, w, r.vertical || g, i, 24, y, t.overscaling, O);
|
|
17731
|
-
for (let e of a) g && Mh(t, g.text, k, e) ||
|
|
17731
|
+
for (let e of a) g && Mh(t, g.text, k, e) || N(n, e);
|
|
17732
17732
|
}
|
|
17733
17733
|
else if (D === "line-center") {
|
|
17734
17734
|
for (let e of n.geometry) if (e.length > 1) {
|
|
17735
17735
|
let t = yl(e, M), n = dh(t, w, r.vertical || g, i, 24, y);
|
|
17736
|
-
n &&
|
|
17736
|
+
n && N(t, n);
|
|
17737
17737
|
}
|
|
17738
17738
|
} else if (n.type === "Polygon") for (let e of or(n.geometry, 0)) {
|
|
17739
17739
|
let t = xh(e, 16);
|
|
17740
|
-
|
|
17740
|
+
N(yl(e[0], M, !0), new oh(t.x, t.y, 0));
|
|
17741
17741
|
}
|
|
17742
17742
|
else if (n.type === "LineString") for (let e of n.geometry) {
|
|
17743
17743
|
let t = yl(e, M);
|
|
17744
|
-
|
|
17744
|
+
N(t, new oh(t[0].x, t[0].y, 0));
|
|
17745
17745
|
}
|
|
17746
|
-
else if (n.type === "Point") for (let e of n.geometry) for (let t of e)
|
|
17746
|
+
else if (n.type === "Point") for (let e of n.geometry) for (let t of e) N([t], new oh(t.x, t.y, 0));
|
|
17747
17747
|
}
|
|
17748
17748
|
function Ah(e, t, r, i, a, o, s, c, l, u, d, f, p, m, h) {
|
|
17749
17749
|
let g = function(e, t, r, i, a, o, s, c) {
|
|
@@ -17931,7 +17931,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
17931
17931
|
let n = {};
|
|
17932
17932
|
for (let r of t) r in e && (n[r] = e[r]);
|
|
17933
17933
|
return n;
|
|
17934
|
-
}, e.W = Nf, e.X =
|
|
17934
|
+
}, e.W = Nf, e.X = ne, e.Y = Lf, e.Z = If, e._ = t, e.a = F, e.a$ = function(e) {
|
|
17935
17935
|
var t = new f(3);
|
|
17936
17936
|
return t[0] = e[0], t[1] = e[1], t[2] = e[2], t;
|
|
17937
17937
|
}, e.a0 = l, e.a1 = u, e.a2 = he, e.a3 = Kf, e.a4 = zf, e.a5 = Bf, e.a6 = O, e.a7 = Hf, e.a8 = Jf, e.a9 = 25, e.aA = function(e) {
|
|
@@ -17975,7 +17975,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
17975
17975
|
}
|
|
17976
17976
|
}));
|
|
17977
17977
|
}, e.ac = z, e.ad = function() {
|
|
17978
|
-
return
|
|
17978
|
+
return ie++;
|
|
17979
17979
|
}, e.ae = Po, e.af = bf, e.ag = Um, e.ah = _i, e.ai = Hs, e.aj = Xf, e.ak = function(e) {
|
|
17980
17980
|
let t = {};
|
|
17981
17981
|
if (e.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g, ((e, n, r, i) => {
|
|
@@ -17986,7 +17986,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
17986
17986
|
isNaN(e) ? delete t["max-age"] : t["max-age"] = e;
|
|
17987
17987
|
}
|
|
17988
17988
|
return t;
|
|
17989
|
-
}, e.al =
|
|
17989
|
+
}, e.al = te, e.am = 85.051129, e.an = ye, e.ao = function(e) {
|
|
17990
17990
|
return 2 ** e;
|
|
17991
17991
|
}, e.ap = m, e.aq = Rf, e.ar = function(e) {
|
|
17992
17992
|
return Math.log(e) / Math.LN2;
|
|
@@ -18071,7 +18071,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
18071
18071
|
let n = 0, r = 0;
|
|
18072
18072
|
if (e.kind === "constant") r = e.layoutSize;
|
|
18073
18073
|
else if (e.kind !== "source") {
|
|
18074
|
-
let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ?
|
|
18074
|
+
let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ? te(yn.interpolationFactor(i, t, a, o), 0, 1) : 0;
|
|
18075
18075
|
e.kind === "camera" ? r = xn.number(e.minSize, e.maxSize, s) : n = s;
|
|
18076
18076
|
}
|
|
18077
18077
|
return {
|
|
@@ -18380,7 +18380,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
18380
18380
|
let t = /* @__PURE__ */ new Float64Array(9);
|
|
18381
18381
|
var n, r, i, a, o, s, c, l, u, d = (i = (r = e)[0]) * (c = i + i), f = (a = r[1]) * c, p, m = (o = r[2]) * c, h = o * (l = a + a), g, _ = (s = r[3]) * c, v = s * l, y = s * (u = o + o);
|
|
18382
18382
|
(n = t)[0] = 1 - (p = a * l) - (g = o * u), n[3] = f - y, n[6] = m + v, n[1] = f + y, n[4] = 1 - d - g, n[7] = h - _, n[2] = m - v, n[5] = h + _, n[8] = 1 - d - p;
|
|
18383
|
-
let b = be(-Math.asin(
|
|
18383
|
+
let b = be(-Math.asin(te(t[2], -1, 1))), x, S;
|
|
18384
18384
|
return Math.hypot(t[5], t[8]) < .001 ? (x = 0, S = -be(Math.atan2(t[3], t[4]))) : (x = be(t[5] === 0 && t[8] === 0 ? 0 : Math.atan2(t[5], t[8])), S = be(t[1] === 0 && t[0] === 0 ? 0 : Math.atan2(t[1], t[0]))), {
|
|
18385
18385
|
roll: x,
|
|
18386
18386
|
pitch: b + 90,
|
|
@@ -18388,8 +18388,8 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
18388
18388
|
};
|
|
18389
18389
|
}, e.bn = function(e, t) {
|
|
18390
18390
|
return e.roll == t.roll && e.pitch == t.pitch && e.bearing == t.bearing;
|
|
18391
|
-
}, e.bo = W, e.bp = Cs, e.bq = hl, e.br = gl, e.bs = pl, e.bt = M, e.bu =
|
|
18392
|
-
return M(r, i,
|
|
18391
|
+
}, e.bo = W, e.bp = Cs, e.bq = hl, e.br = gl, e.bs = pl, e.bt = M, e.bu = N, e.bv = Jt, e.bw = function(e, t, n, r, i) {
|
|
18392
|
+
return M(r, i, te((e - t) / (n - t), 0, 1));
|
|
18393
18393
|
}, e.bx = function(e, t, n, r) {
|
|
18394
18394
|
return e[0] = t[0] + n[0] * r, e[1] = t[1] + n[1] * r, e[2] = t[2] + n[2] * r, e;
|
|
18395
18395
|
}, e.by = j, e.bz = function() {
|
|
@@ -18456,9 +18456,9 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
18456
18456
|
}
|
|
18457
18457
|
}
|
|
18458
18458
|
}, e.cA = function(e, t) {
|
|
18459
|
-
return
|
|
18459
|
+
return xe[t] && "touches" in e;
|
|
18460
18460
|
}, e.cB = function(e) {
|
|
18461
|
-
return
|
|
18461
|
+
return xe[e] || Se[e];
|
|
18462
18462
|
}, e.cC = function(e, t, n) {
|
|
18463
18463
|
var r = t[0], i = t[1];
|
|
18464
18464
|
return e[0] = n[0] * r + n[4] * i + n[12], e[1] = n[1] * r + n[5] * i + n[13], e;
|
|
@@ -18593,11 +18593,11 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
18593
18593
|
}, e.ch = class extends uo {}, e.ci = class extends jo {}, e.cj = function(e, t) {
|
|
18594
18594
|
return e[0] === t[0] && e[1] === t[1] && e[2] === t[2] && e[3] === t[3] && e[4] === t[4] && e[5] === t[5] && e[6] === t[6] && e[7] === t[7] && e[8] === t[8] && e[9] === t[9] && e[10] === t[10] && e[11] === t[11] && e[12] === t[12] && e[13] === t[13] && e[14] === t[14] && e[15] === t[15];
|
|
18595
18595
|
}, e.ck = function(e, t) {
|
|
18596
|
-
var n = e[0], r = e[1], i = e[2], a = e[3], o = e[4], s = e[5], c = e[6], l = e[7], u = e[8], f = e[9], p = e[10], m = e[11], h = e[12], g = e[13], _ = e[14], v = e[15], y = t[0], b = t[1], x = t[2], S = t[3], C = t[4], w = t[5], T = t[6], E = t[7], D = t[8], O = t[9], k = t[10], A = t[11], j = t[12], M = t[13],
|
|
18597
|
-
return Math.abs(n - y) <= d * Math.max(1, Math.abs(n), Math.abs(y)) && Math.abs(r - b) <= d * Math.max(1, Math.abs(r), Math.abs(b)) && Math.abs(i - x) <= d * Math.max(1, Math.abs(i), Math.abs(x)) && Math.abs(a - S) <= d * Math.max(1, Math.abs(a), Math.abs(S)) && Math.abs(o - C) <= d * Math.max(1, Math.abs(o), Math.abs(C)) && Math.abs(s - w) <= d * Math.max(1, Math.abs(s), Math.abs(w)) && Math.abs(c - T) <= d * Math.max(1, Math.abs(c), Math.abs(T)) && Math.abs(l - E) <= d * Math.max(1, Math.abs(l), Math.abs(E)) && Math.abs(u - D) <= d * Math.max(1, Math.abs(u), Math.abs(D)) && Math.abs(f - O) <= d * Math.max(1, Math.abs(f), Math.abs(O)) && Math.abs(p - k) <= d * Math.max(1, Math.abs(p), Math.abs(k)) && Math.abs(m - A) <= d * Math.max(1, Math.abs(m), Math.abs(A)) && Math.abs(h - j) <= d * Math.max(1, Math.abs(h), Math.abs(j)) && Math.abs(g - M) <= d * Math.max(1, Math.abs(g), Math.abs(M)) && Math.abs(_ -
|
|
18596
|
+
var n = e[0], r = e[1], i = e[2], a = e[3], o = e[4], s = e[5], c = e[6], l = e[7], u = e[8], f = e[9], p = e[10], m = e[11], h = e[12], g = e[13], _ = e[14], v = e[15], y = t[0], b = t[1], x = t[2], S = t[3], C = t[4], w = t[5], T = t[6], E = t[7], D = t[8], O = t[9], k = t[10], A = t[11], j = t[12], M = t[13], N = t[14], ee = t[15];
|
|
18597
|
+
return Math.abs(n - y) <= d * Math.max(1, Math.abs(n), Math.abs(y)) && Math.abs(r - b) <= d * Math.max(1, Math.abs(r), Math.abs(b)) && Math.abs(i - x) <= d * Math.max(1, Math.abs(i), Math.abs(x)) && Math.abs(a - S) <= d * Math.max(1, Math.abs(a), Math.abs(S)) && Math.abs(o - C) <= d * Math.max(1, Math.abs(o), Math.abs(C)) && Math.abs(s - w) <= d * Math.max(1, Math.abs(s), Math.abs(w)) && Math.abs(c - T) <= d * Math.max(1, Math.abs(c), Math.abs(T)) && Math.abs(l - E) <= d * Math.max(1, Math.abs(l), Math.abs(E)) && Math.abs(u - D) <= d * Math.max(1, Math.abs(u), Math.abs(D)) && Math.abs(f - O) <= d * Math.max(1, Math.abs(f), Math.abs(O)) && Math.abs(p - k) <= d * Math.max(1, Math.abs(p), Math.abs(k)) && Math.abs(m - A) <= d * Math.max(1, Math.abs(m), Math.abs(A)) && Math.abs(h - j) <= d * Math.max(1, Math.abs(h), Math.abs(j)) && Math.abs(g - M) <= d * Math.max(1, Math.abs(g), Math.abs(M)) && Math.abs(_ - N) <= d * Math.max(1, Math.abs(_), Math.abs(N)) && Math.abs(v - ee) <= d * Math.max(1, Math.abs(v), Math.abs(ee));
|
|
18598
18598
|
}, e.cl = function(e, t) {
|
|
18599
18599
|
return e[0] = t[0], e[1] = t[1], e[2] = t[2], e[3] = t[3], e[4] = t[4], e[5] = t[5], e[6] = t[6], e[7] = t[7], e[8] = t[8], e[9] = t[9], e[10] = t[10], e[11] = t[11], e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15], e;
|
|
18600
|
-
}, e.cm = (e) => e.type === "circle", e.cn = (e) => e.type === "heatmap", e.co = (e) => e.type === "line", e.cp = (e) => e.type === "fill", e.cq = (e) => e.type === "fill-extrusion", e.cr = (e) => e.type === "hillshade", e.cs = (e) => e.type === "color-relief", e.ct = (e) => e.type === "background", e.cu = (e) => e.type === "custom", e.cv =
|
|
18600
|
+
}, e.cm = (e) => e.type === "circle", e.cn = (e) => e.type === "heatmap", e.co = (e) => e.type === "line", e.cp = (e) => e.type === "fill", e.cq = (e) => e.type === "fill-extrusion", e.cr = (e) => e.type === "hillshade", e.cs = (e) => e.type === "color-relief", e.ct = (e) => e.type === "background", e.cu = (e) => e.type === "custom", e.cv = ee, e.cw = function(e, t, n) {
|
|
18601
18601
|
if (t <= 0) return e;
|
|
18602
18602
|
let r = 1 / t;
|
|
18603
18603
|
return n === void 0 || Math.abs(n) < 1e-10 ? Math.round(e * r) / r : (n > 0 ? Math.ceil(e * r - 1e-9) : Math.floor(e * r + 1e-10)) / r;
|
|
@@ -18605,9 +18605,9 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
18605
18605
|
let r = D(t.x - n.x, t.y - n.y), i = D(e.x - n.x, e.y - n.y);
|
|
18606
18606
|
var a, o;
|
|
18607
18607
|
return be(Math.atan2(r[0] * i[1] - r[1] * i[0], (a = r)[0] * (o = i)[0] + a[1] * o[1]));
|
|
18608
|
-
}, e.cy =
|
|
18608
|
+
}, e.cy = P, e.cz = function(e, t) {
|
|
18609
18609
|
var n;
|
|
18610
|
-
if (!
|
|
18610
|
+
if (!Se[t]) return !1;
|
|
18611
18611
|
let r = e == null ? void 0 : e.target, i = ((n = r == null ? void 0 : r.ownerDocument) == null ? void 0 : n.defaultView) || window;
|
|
18612
18612
|
return e instanceof i.MouseEvent || e instanceof i.WheelEvent;
|
|
18613
18613
|
}, e.d = A, e.d0 = class {
|
|
@@ -18703,7 +18703,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
18703
18703
|
getClusterLeaves(e, t, n) {
|
|
18704
18704
|
return this.tileIndex.getLeaves(e, t, n);
|
|
18705
18705
|
}
|
|
18706
|
-
}, e.d1 = Fa, e.e =
|
|
18706
|
+
}, e.d1 = Fa, e.e = re, e.f = Me, e.g = De, e.h = (e) => t(void 0, void 0, void 0, (function* () {
|
|
18707
18707
|
if (e.byteLength === 0) return createImageBitmap(new ImageData(1, 1));
|
|
18708
18708
|
let t = new Blob([new Uint8Array(e)], { type: "image/png" });
|
|
18709
18709
|
try {
|
|
@@ -18718,7 +18718,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
18718
18718
|
}, r.onerror = () => n(/* @__PURE__ */ Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));
|
|
18719
18719
|
let i = new Blob([new Uint8Array(e)], { type: "image/png" });
|
|
18720
18720
|
r.src = e.byteLength ? URL.createObjectURL(i) : me;
|
|
18721
|
-
})), e.k = (e, t) => je(
|
|
18721
|
+
})), e.k = (e, t) => je(re(e, { type: "json" }), t), e.l = Ie, e.m = je, e.n = Fe, e.o = (e, t) => je(re(e, { type: "arrayBuffer" }), t), e.p = Yd, e.q = function(e) {
|
|
18722
18722
|
return new Pd(e).readFields(Kd, []);
|
|
18723
18723
|
}, e.r = function(e) {
|
|
18724
18724
|
return /[\u02EA\u02EB\u1100-\u11FF\u2E80-\u2FDF\u3000-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFE10-\uFE1F\uFE30-\uFE4F\uFF00-\uFFEF]|\uD81B[\uDFE0-\uDFFF]|[\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFFF]|\uD82C[\uDC00-\uDEFB]|\uD83C[\uDE00-\uDEFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79]/gim.test(String.fromCodePoint(e));
|
|
@@ -20266,12 +20266,12 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
20266
20266
|
return Object.keys(this.active).length;
|
|
20267
20267
|
}
|
|
20268
20268
|
}
|
|
20269
|
-
let M = Math.floor(s.hardwareConcurrency / 2),
|
|
20270
|
-
function
|
|
20271
|
-
return
|
|
20269
|
+
let M = Math.floor(s.hardwareConcurrency / 2), N, ee;
|
|
20270
|
+
function P() {
|
|
20271
|
+
return N || (N = new j()), N;
|
|
20272
20272
|
}
|
|
20273
20273
|
j.workerCount = t.L(globalThis) ? Math.max(Math.min(M, 3), 1) : 1;
|
|
20274
|
-
class
|
|
20274
|
+
class te {
|
|
20275
20275
|
constructor(e, n) {
|
|
20276
20276
|
this.workerPool = e, this.actors = [], this.currentActor = 0, this.id = n;
|
|
20277
20277
|
let r = this.workerPool.acquire(n);
|
|
@@ -20303,10 +20303,10 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
20303
20303
|
for (let t of this.actors) t.unregisterMessageHandler(e);
|
|
20304
20304
|
}
|
|
20305
20305
|
}
|
|
20306
|
-
function
|
|
20307
|
-
return
|
|
20306
|
+
function ne() {
|
|
20307
|
+
return ee || (ee = new te(P(), t.M), ee.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), ee;
|
|
20308
20308
|
}
|
|
20309
|
-
function
|
|
20309
|
+
function re(e, n) {
|
|
20310
20310
|
let r = t.O();
|
|
20311
20311
|
return t.Q(r, r, [
|
|
20312
20312
|
1,
|
|
@@ -20318,7 +20318,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
20318
20318
|
1
|
|
20319
20319
|
]), e.calculatePosMatrix ? t.U(r, r, e.calculatePosMatrix(n.toUnwrapped())) : r;
|
|
20320
20320
|
}
|
|
20321
|
-
function
|
|
20321
|
+
function ie(e, t, n, r, i, a, o) {
|
|
20322
20322
|
var s;
|
|
20323
20323
|
let c = function(e, t, n) {
|
|
20324
20324
|
if (e) for (let r of e) {
|
|
@@ -20335,7 +20335,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
20335
20335
|
let d = [];
|
|
20336
20336
|
for (let r of u) d.push({
|
|
20337
20337
|
wrappedTileID: r.tileID.wrapped().key,
|
|
20338
|
-
queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l,
|
|
20338
|
+
queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l, re(a, r.tileID), o ? (e, t) => o(r.tileID, e, t) : void 0)
|
|
20339
20339
|
});
|
|
20340
20340
|
return function(e, t) {
|
|
20341
20341
|
for (let n in e) for (let r of e[n]) oe(r, t);
|
|
@@ -21220,7 +21220,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
21220
21220
|
return o;
|
|
21221
21221
|
}
|
|
21222
21222
|
}
|
|
21223
|
-
class
|
|
21223
|
+
class xe extends be {
|
|
21224
21224
|
constructor(e, t, n, r) {
|
|
21225
21225
|
super(e, t, n, r), this._onPlayingHandler = () => {
|
|
21226
21226
|
var e;
|
|
@@ -21289,7 +21289,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
21289
21289
|
return this.video && !this.video.paused;
|
|
21290
21290
|
}
|
|
21291
21291
|
}
|
|
21292
|
-
class
|
|
21292
|
+
class Se extends be {
|
|
21293
21293
|
constructor(e, n, r, i) {
|
|
21294
21294
|
super(e, n, r, i), n.coordinates ? Array.isArray(n.coordinates) && n.coordinates.length === 4 && !n.coordinates.some(((e) => !Array.isArray(e) || e.length !== 2 || e.some(((e) => typeof e != "number")))) || this.fire(new t.l(new t.ac(`sources.${e}`, null, "\"coordinates\" property must be an array of 4 longitude/latitude array pairs"))) : this.fire(new t.l(new t.ac(`sources.${e}`, null, "missing required property \"coordinates\""))), n.animate && typeof n.animate != "boolean" && this.fire(new t.l(new t.ac(`sources.${e}`, null, "optional \"animate\" property must be a boolean value"))), n.canvas ? typeof n.canvas == "string" || n.canvas instanceof HTMLCanvasElement || this.fire(new t.l(new t.ac(`sources.${e}`, null, "\"canvas\" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance"))) : this.fire(new t.l(new t.ac(`sources.${e}`, null, "missing required property \"canvas\""))), this.options = n, this.animate = n.animate === void 0 || n.animate;
|
|
21295
21295
|
}
|
|
@@ -21343,21 +21343,21 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
21343
21343
|
return !1;
|
|
21344
21344
|
}
|
|
21345
21345
|
}
|
|
21346
|
-
let
|
|
21346
|
+
let Ce = {}, F = (e) => {
|
|
21347
21347
|
switch (e) {
|
|
21348
21348
|
case "geojson": return ye;
|
|
21349
21349
|
case "image": return be;
|
|
21350
21350
|
case "raster": return de;
|
|
21351
21351
|
case "raster-dem": return fe;
|
|
21352
21352
|
case "vector": return ue;
|
|
21353
|
-
case "video": return
|
|
21354
|
-
case "canvas": return
|
|
21353
|
+
case "video": return xe;
|
|
21354
|
+
case "canvas": return Se;
|
|
21355
21355
|
}
|
|
21356
|
-
return
|
|
21356
|
+
return Ce[e];
|
|
21357
21357
|
}, we = "RTLPluginLoaded";
|
|
21358
21358
|
class Te extends t.E {
|
|
21359
21359
|
constructor() {
|
|
21360
|
-
super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher =
|
|
21360
|
+
super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = ne();
|
|
21361
21361
|
}
|
|
21362
21362
|
_syncState(e) {
|
|
21363
21363
|
return this.status = e, this.dispatcher.broadcast("SRPS", {
|
|
@@ -21865,7 +21865,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
21865
21865
|
})), this.on("error", (() => {
|
|
21866
21866
|
this._sourceErrored = this._source.loaded();
|
|
21867
21867
|
})), this._source = ((e, t, n, r) => {
|
|
21868
|
-
let i = new (
|
|
21868
|
+
let i = new (F(t.type))(e, t, n, r);
|
|
21869
21869
|
if (i.id !== e) throw Error(`Expected Source id to be ${e} instead of ${i.id}`);
|
|
21870
21870
|
return i;
|
|
21871
21871
|
})(e, n, r, this), this._inViewTiles = new Ye(), this._outOfViewCache = new t.av(0, ((e) => this._unloadTile(e))), this._timers = {}, this._maxTileCacheSize = null, this._maxTileCacheZoomLevels = null, this._rasterFadeDuration = 0, this._maxFadingAncestorLevels = 5, this._state = new je(), this._didEmitContent = !1, this._updated = !1;
|
|
@@ -23041,12 +23041,12 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
23041
23041
|
var w, A;
|
|
23042
23042
|
if (n[e.crossTileID]) return;
|
|
23043
23043
|
if (d) return void (this.placements[e.crossTileID] = new St(!1, !1, !1));
|
|
23044
|
-
let j = !1, M = !1,
|
|
23044
|
+
let j = !1, M = !1, N = !0, ee = null, P = {
|
|
23045
23045
|
box: null,
|
|
23046
23046
|
placeable: !1,
|
|
23047
23047
|
offscreen: null,
|
|
23048
23048
|
occluded: !1
|
|
23049
|
-
},
|
|
23049
|
+
}, te = { placeable: !1 }, ne = null, re = null, ie = null, ae = 0, oe = 0, se = 0;
|
|
23050
23050
|
f.textFeatureIndex ? ae = f.textFeatureIndex : e.useRuntimeCollisionCircles && (ae = e.featureIndex), f.verticalTextFeatureIndex && (oe = f.verticalTextFeatureIndex);
|
|
23051
23051
|
let ce = f.textBox;
|
|
23052
23052
|
if (ce) {
|
|
@@ -23059,8 +23059,8 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
23059
23059
|
return r;
|
|
23060
23060
|
}, a = (n, r) => {
|
|
23061
23061
|
if (i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && f.verticalTextBox) {
|
|
23062
|
-
for (let e of i.writingModes) if (e === t.ax.vertical ? (
|
|
23063
|
-
} else
|
|
23062
|
+
for (let e of i.writingModes) if (e === t.ax.vertical ? (P = r(), te = P) : P = n(), P != null && P.placeable) break;
|
|
23063
|
+
} else P = n();
|
|
23064
23064
|
}, l = e.textAnchorOffsetStartIndex, d = e.textAnchorOffsetEndIndex;
|
|
23065
23065
|
if (d === l) {
|
|
23066
23066
|
let r = (t, n) => {
|
|
@@ -23073,7 +23073,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
23073
23073
|
box: null,
|
|
23074
23074
|
offscreen: null
|
|
23075
23075
|
};
|
|
23076
|
-
})), n(
|
|
23076
|
+
})), n(P == null ? void 0 : P.placeable);
|
|
23077
23077
|
} else {
|
|
23078
23078
|
let p = t.aM[(A = (w = this.prevPlacement) == null ? void 0 : w.variableOffsets[e.crossTileID]) == null ? void 0 : A.anchor], h = (t, n, a) => {
|
|
23079
23079
|
let f = t.x2 - t.x1, h = t.y2 - t.y1, g = e.textBoxScale, v = C && y === "never" ? n : null, b = null, w = _ === "never" ? 1 : 2, T = "never";
|
|
@@ -23083,7 +23083,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
23083
23083
|
let r = i.textAnchorOffsets.get(n);
|
|
23084
23084
|
if (p && r.textAnchor !== p) continue;
|
|
23085
23085
|
let l = this.attemptAnchorPlacement(r, t, f, h, g, x, S, u, D, c, m, T, e, i, a, o, s, v, O);
|
|
23086
|
-
if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0,
|
|
23086
|
+
if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0, ee = l.shift, b;
|
|
23087
23087
|
}
|
|
23088
23088
|
p ? p = null : T = _;
|
|
23089
23089
|
}
|
|
@@ -23096,33 +23096,33 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
23096
23096
|
};
|
|
23097
23097
|
a((() => h(ce, f.iconBox, t.ax.horizontal)), (() => {
|
|
23098
23098
|
let n = f.verticalTextBox;
|
|
23099
|
-
return i.allowVerticalPlacement && !(
|
|
23099
|
+
return i.allowVerticalPlacement && !(P != null && P.placeable) && e.numVerticalGlyphVertices > 0 && n ? h(n, f.verticalIconBox, t.ax.vertical) : {
|
|
23100
23100
|
box: null,
|
|
23101
23101
|
occluded: !0,
|
|
23102
23102
|
offscreen: null
|
|
23103
23103
|
};
|
|
23104
|
-
})),
|
|
23105
|
-
let g = n(
|
|
23104
|
+
})), P && (j = P.placeable, N = P.offscreen);
|
|
23105
|
+
let g = n(P == null ? void 0 : P.placeable);
|
|
23106
23106
|
if (!j && this.prevPlacement) {
|
|
23107
23107
|
let t = this.prevPlacement.variableOffsets[e.crossTileID];
|
|
23108
23108
|
t && (this.variableOffsets[e.crossTileID] = t, this.markUsedJustification(i, t.anchor, e, g));
|
|
23109
23109
|
}
|
|
23110
23110
|
}
|
|
23111
23111
|
}
|
|
23112
|
-
if (
|
|
23112
|
+
if (ne = P, j = ne == null ? void 0 : ne.placeable, N = ne == null ? void 0 : ne.offscreen, e.useRuntimeCollisionCircles && e.centerJustifiedTextSymbolIndex >= 0) {
|
|
23113
23113
|
let n = i.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex), s = t.ay(i.textSizeData, p, n), u = a.get("text-padding");
|
|
23114
|
-
|
|
23114
|
+
re = this.collisionIndex.placeCollisionCircles(_, n, i.lineVertexArray, i.glyphOffsetArray, s, c, l, r, S, m.predicate, e.collisionCircleDiameter, u, o, O), re.circles.length && re.collisionDetected && !r && t.w("Collisions detected, but collision boxes are not shown"), j = v || re.circles.length > 0 && !re.collisionDetected, N && (N = re.offscreen);
|
|
23115
23115
|
}
|
|
23116
23116
|
if (f.iconFeatureIndex && (se = f.iconFeatureIndex), f.iconBox) {
|
|
23117
|
-
let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C &&
|
|
23118
|
-
|
|
23117
|
+
let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C && ee ? ee : void 0, k);
|
|
23118
|
+
te && te.placeable && f.verticalIconBox ? (ie = e(f.verticalIconBox), M = ie.placeable) : (ie = e(f.iconBox), M = ie.placeable), N && (N = ie.offscreen);
|
|
23119
23119
|
}
|
|
23120
23120
|
let le = h || e.numHorizontalGlyphVertices === 0 && e.numVerticalGlyphVertices === 0, ue = g || e.numIconVertices === 0;
|
|
23121
23121
|
le || ue ? ue ? le || M && (M = j) : j = M && j : M = j = M && j;
|
|
23122
|
-
let de = M &&
|
|
23123
|
-
if (j &&
|
|
23122
|
+
let de = M && ie.placeable;
|
|
23123
|
+
if (j && ne.placeable && this.collisionIndex.insertCollisionBox(ne.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, te && te.placeable && oe ? oe : ae, m.ID), de && this.collisionIndex.insertCollisionBox(ie.box, y, a.get("icon-ignore-placement"), i.bucketInstanceId, se, m.ID), re && j && this.collisionIndex.insertCollisionCircles(re.circles, _, a.get("text-ignore-placement"), i.bucketInstanceId, ae, m.ID), r && this.storeCollisionData(i.bucketInstanceId, b, f, ne, ie, re), e.crossTileID === 0) throw Error("symbolInstance.crossTileID can't be 0");
|
|
23124
23124
|
if (i.bucketInstanceId === 0) throw Error("bucket.bucketInstanceId can't be 0");
|
|
23125
|
-
this.placements[e.crossTileID] = new St((j || T) && !(
|
|
23125
|
+
this.placements[e.crossTileID] = new St((j || T) && !(ne != null && ne.occluded), (M || E) && !(ie != null && ie.occluded), N || i.justReloaded), n[e.crossTileID] = !0;
|
|
23126
23126
|
};
|
|
23127
23127
|
if (w) {
|
|
23128
23128
|
if (e.symbolInstanceStart !== 0) throw Error("bucket.bucketInstanceId should be 0");
|
|
@@ -26530,7 +26530,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
26530
26530
|
let t = this.tileManagers[e].getSource().type;
|
|
26531
26531
|
t !== "vector" && t !== "geojson" || this.tileManagers[e].reload();
|
|
26532
26532
|
}
|
|
26533
|
-
}, this.map = e, this.dispatcher = new
|
|
26533
|
+
}, this.map = e, this.dispatcher = new te(P(), e._getMapId()), this.dispatcher.registerMessageHandler("GG", ((e, t) => this.getGlyphs(e, t))), this.dispatcher.registerMessageHandler("GI", ((e, t) => this.getImages(e, t))), this.dispatcher.registerMessageHandler("GDA", ((e, t) => this.getDashes(e, t))), this.imageManager = new _(), this.imageManager.setEventedParent(this);
|
|
26534
26534
|
let a = ((r = e._container) == null ? void 0 : r.lang) || typeof document < "u" && ((i = document.documentElement) == null ? void 0 : i.lang) || void 0;
|
|
26535
26535
|
this.glyphManager = new C(e._requestManager, n.localIdeographFontFamily, a), this.lineAtlas = new k(256, 512), this.crossTileSymbolIndex = new zt(), this._setInitialValues(), this._resetUpdates(), this.dispatcher.broadcast("SR", t.bO()), De().on(we, this._rtlPluginLoaded), this.on("data", ((e) => {
|
|
26536
26536
|
if (e.dataType !== "source" || e.sourceDataType !== "metadata") return;
|
|
@@ -27103,7 +27103,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
27103
27103
|
layers: s,
|
|
27104
27104
|
globalState: this._globalState
|
|
27105
27105
|
});
|
|
27106
|
-
for (let t in this.tileManagers) n.layers && !i[t] || a.push(
|
|
27106
|
+
for (let t in this.tileManagers) n.layers && !i[t] || a.push(ie(this.tileManagers[t], this._layers, o, e, c, r, this.map.terrain ? (e, t, n) => this.map.terrain.getElevation(e, t, n) : void 0));
|
|
27107
27107
|
return this.placement && a.push(function(e, t, n, r, i, a, o) {
|
|
27108
27108
|
let s = {}, c = a.queryRenderedSymbols(r), l = [];
|
|
27109
27109
|
for (let e of Object.keys(c).map(Number)) l.push(o[e]);
|
|
@@ -28693,34 +28693,34 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
28693
28693
|
if (!l) continue;
|
|
28694
28694
|
let d = a ? l.text : l.icon;
|
|
28695
28695
|
if (!(d != null && d.segments.get().length) || !d.hasVisibleVertices) continue;
|
|
28696
|
-
let f = d.programConfigurations.get(r.id), h = a || l.sdfIcons, g = a ? l.textSizeData : l.iconSizeData, T = b || v.pitch !== 0, k = e.useProgram(_i(h, a, l), f), A = t.aw(g, v.zoom), j = (m = e.style.map.terrain) == null ? void 0 : m.getTerrainData(c), M,
|
|
28697
|
-
if (a)
|
|
28696
|
+
let f = d.programConfigurations.get(r.id), h = a || l.sdfIcons, g = a ? l.textSizeData : l.iconSizeData, T = b || v.pitch !== 0, k = e.useProgram(_i(h, a, l), f), A = t.aw(g, v.zoom), j = (m = e.style.map.terrain) == null ? void 0 : m.getTerrainData(c), M, N, ee, P, te = [0, 0], ne = null;
|
|
28697
|
+
if (a) N = i.glyphAtlasTexture, ee = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (te = i.imageAtlasTexture.size, ne = i.imageAtlasTexture, P = T || e.options.rotating || e.options.zooming || g.kind === "composite" || g.kind === "camera" ? _.LINEAR : _.NEAREST);
|
|
28698
28698
|
else {
|
|
28699
28699
|
let t = r.layout.get("icon-size").constantOr(0) !== 1 || l.iconsNeedLinear;
|
|
28700
|
-
|
|
28700
|
+
N = i.imageAtlasTexture, ee = h || e.options.rotating || e.options.zooming || t || T ? _.LINEAR : _.NEAREST, M = i.imageAtlasTexture.size;
|
|
28701
28701
|
}
|
|
28702
|
-
let
|
|
28702
|
+
let re = t.aK(i, 1, e.transform.zoom), ie = $e(y, e.transform, re), ae = et(b, y, e.transform, re), oe = t.aL(v, i, o, s), se = v.getProjectionData({
|
|
28703
28703
|
overscaledTileID: c,
|
|
28704
28704
|
applyGlobeMatrix: !p,
|
|
28705
28705
|
applyTerrainMatrix: !0
|
|
28706
28706
|
}), ce = E && l.hasTextData(), le = r.layout.get("icon-text-fit") !== "none" && ce && l.hasIconData();
|
|
28707
28707
|
if (x) {
|
|
28708
28708
|
let n = t.O();
|
|
28709
|
-
H(n,
|
|
28709
|
+
H(n, ie);
|
|
28710
28710
|
let i = e.style.map.terrain ? (t, n) => e.style.map.terrain.getElevation(c, t, n) : null;
|
|
28711
|
-
it(l, e, a,
|
|
28711
|
+
it(l, e, a, ie, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, oe, i);
|
|
28712
28712
|
}
|
|
28713
|
-
let ue = a && E || le, de = x || ue ? pi : b ?
|
|
28714
|
-
pe = h ? l.iconsInText ? yr(g.kind, A, S, b, x, ue, e, de, ae, oe, M,
|
|
28713
|
+
let ue = a && E || le, de = x || ue ? pi : b ? ie : e.transform.clipSpaceToPixelsMatrix, fe = h && r.paint.get(a ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0, pe;
|
|
28714
|
+
pe = h ? l.iconsInText ? yr(g.kind, A, S, b, x, ue, e, de, ae, oe, M, te, O) : vr(g.kind, A, S, b, x, ue, e, de, ae, oe, a, M, fe, O) : _r(g.kind, A, S, b, x, ue, e, de, ae, oe, a, M, O);
|
|
28715
28715
|
let me = {
|
|
28716
28716
|
program: k,
|
|
28717
28717
|
buffers: d,
|
|
28718
28718
|
uniformValues: pe,
|
|
28719
28719
|
projectionData: se,
|
|
28720
|
-
atlasTexture:
|
|
28721
|
-
atlasTextureIcon:
|
|
28722
|
-
atlasInterpolation:
|
|
28723
|
-
atlasInterpolationIcon:
|
|
28720
|
+
atlasTexture: N,
|
|
28721
|
+
atlasTextureIcon: ne,
|
|
28722
|
+
atlasInterpolation: ee,
|
|
28723
|
+
atlasInterpolationIcon: P,
|
|
28724
28724
|
isSDF: h,
|
|
28725
28725
|
hasHalo: fe
|
|
28726
28726
|
};
|
|
@@ -33344,7 +33344,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
33344
33344
|
return wo(new t.P(0, 0));
|
|
33345
33345
|
}
|
|
33346
33346
|
let To = n;
|
|
33347
|
-
e.AJAXError = t.cG, e.EXTENT = t.a6, e.Event = t.n, e.Evented = t.E, e.LngLat = t.W, e.MercatorCoordinate = t.a7, e.Point = t.P, e.addProtocol = t.cH, e.config = t.c, e.removeProtocol = t.cI, e.AttributionControl = Ya, e.BoxZoomHandler = ma, e.CanvasSource =
|
|
33347
|
+
e.AJAXError = t.cG, e.EXTENT = t.a6, e.Event = t.n, e.Evented = t.E, e.LngLat = t.W, e.MercatorCoordinate = t.a7, e.Point = t.P, e.addProtocol = t.cH, e.config = t.c, e.removeProtocol = t.cI, e.AttributionControl = Ya, e.BoxZoomHandler = ma, e.CanvasSource = Se, e.CooperativeGesturesHandler = Wa, e.DoubleClickZoomHandler = Ra, e.DragPanHandler = Va, e.DragRotateHandler = Ha, e.EdgeInsets = qt, e.FullscreenControl = class extends t.E {
|
|
33348
33348
|
constructor(e = {}) {
|
|
33349
33349
|
var n;
|
|
33350
33350
|
super(), this._onFullscreenChange = () => {
|
|
@@ -33717,15 +33717,15 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
33717
33717
|
onRemove() {
|
|
33718
33718
|
this._container.remove(), this._map.off("terrain", this._updateTerrainIcon), this._map = void 0;
|
|
33719
33719
|
}
|
|
33720
|
-
}, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource = ue, e.VideoSource =
|
|
33721
|
-
if (
|
|
33720
|
+
}, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource = ue, e.VideoSource = xe, e.addSourceType = (e, n) => t._(void 0, void 0, void 0, (function* () {
|
|
33721
|
+
if (F(e)) throw Error(`A source type called "${e}" already exists.`);
|
|
33722
33722
|
((e, t) => {
|
|
33723
|
-
|
|
33723
|
+
Ce[e] = t;
|
|
33724
33724
|
})(e, n);
|
|
33725
33725
|
})), e.clearPrewarmedResources = function() {
|
|
33726
|
-
let e =
|
|
33727
|
-
e && (e.isPreloaded() && e.numActive() === 1 ? (e.release(A),
|
|
33728
|
-
}, e.createTileMesh = fn, e.getGlobalDispatcher =
|
|
33726
|
+
let e = N;
|
|
33727
|
+
e && (e.isPreloaded() && e.numActive() === 1 ? (e.release(A), N = null) : console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"));
|
|
33728
|
+
}, e.createTileMesh = fn, e.getGlobalDispatcher = ne, e.getMaxParallelImageRequests = function() {
|
|
33729
33729
|
return t.c.MAX_PARALLEL_IMAGE_REQUESTS;
|
|
33730
33730
|
}, e.getRTLTextPluginStatus = function() {
|
|
33731
33731
|
return De().getRTLTextPluginStatus();
|
|
@@ -33736,11 +33736,11 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
33736
33736
|
}, e.getWorkerUrl = function() {
|
|
33737
33737
|
return t.c.WORKER_URL;
|
|
33738
33738
|
}, e.importScriptInWorkers = function(e) {
|
|
33739
|
-
return
|
|
33739
|
+
return ne().broadcast("IS", e);
|
|
33740
33740
|
}, e.isTimeFrozen = function() {
|
|
33741
33741
|
return c.isFrozen();
|
|
33742
33742
|
}, e.now = l, e.prewarm = function() {
|
|
33743
|
-
|
|
33743
|
+
P().acquire(A);
|
|
33744
33744
|
}, e.restoreNow = function() {
|
|
33745
33745
|
c.restoreNow();
|
|
33746
33746
|
}, e.setMaxParallelImageRequests = function(e) {
|
|
@@ -33756,7 +33756,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
33756
33756
|
};
|
|
33757
33757
|
})), e;
|
|
33758
33758
|
}));
|
|
33759
|
-
})))(),
|
|
33759
|
+
})))(), Ee = Uint8Array, De = Uint16Array, Oe = Int32Array, ke = new Ee([
|
|
33760
33760
|
0,
|
|
33761
33761
|
0,
|
|
33762
33762
|
0,
|
|
@@ -33789,7 +33789,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
33789
33789
|
0,
|
|
33790
33790
|
0,
|
|
33791
33791
|
0
|
|
33792
|
-
]),
|
|
33792
|
+
]), Ae = new Ee([
|
|
33793
33793
|
0,
|
|
33794
33794
|
0,
|
|
33795
33795
|
0,
|
|
@@ -33822,7 +33822,7 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
33822
33822
|
13,
|
|
33823
33823
|
0,
|
|
33824
33824
|
0
|
|
33825
|
-
]),
|
|
33825
|
+
]), je = new Ee([
|
|
33826
33826
|
16,
|
|
33827
33827
|
17,
|
|
33828
33828
|
18,
|
|
@@ -33842,51 +33842,51 @@ var F = /* @__PURE__ */ e(o(), 1), xe = /* @__PURE__ */ e(E(), 1), Se = (/* @__P
|
|
|
33842
33842
|
14,
|
|
33843
33843
|
1,
|
|
33844
33844
|
15
|
|
33845
|
-
]),
|
|
33846
|
-
for (var n = new
|
|
33847
|
-
for (var i = new
|
|
33845
|
+
]), Me = function(e, t) {
|
|
33846
|
+
for (var n = new De(31), r = 0; r < 31; ++r) n[r] = t += 1 << e[r - 1];
|
|
33847
|
+
for (var i = new Oe(n[30]), r = 1; r < 30; ++r) for (var a = n[r]; a < n[r + 1]; ++a) i[a] = a - n[r] << 5 | r;
|
|
33848
33848
|
return {
|
|
33849
33849
|
b: n,
|
|
33850
33850
|
r: i
|
|
33851
33851
|
};
|
|
33852
|
-
},
|
|
33853
|
-
|
|
33854
|
-
var
|
|
33855
|
-
|
|
33856
|
-
for (var
|
|
33857
|
-
var
|
|
33858
|
-
|
|
33852
|
+
}, Ne = Me(ke, 2), Pe = Ne.b, Fe = Ne.r;
|
|
33853
|
+
Pe[28] = 258, Fe[258] = 28;
|
|
33854
|
+
var Ie = Me(Ae, 0), Le = Ie.b;
|
|
33855
|
+
Ie.r;
|
|
33856
|
+
for (var I = new De(32768), Re = 0; Re < 32768; ++Re) {
|
|
33857
|
+
var ze = (Re & 43690) >> 1 | (Re & 21845) << 1;
|
|
33858
|
+
ze = (ze & 52428) >> 2 | (ze & 13107) << 2, ze = (ze & 61680) >> 4 | (ze & 3855) << 4, I[Re] = ((ze & 65280) >> 8 | (ze & 255) << 8) >> 1;
|
|
33859
33859
|
}
|
|
33860
|
-
for (var
|
|
33861
|
-
for (var r = e.length, i = 0, a = new
|
|
33862
|
-
var o = new
|
|
33860
|
+
for (var R = (function(e, t, n) {
|
|
33861
|
+
for (var r = e.length, i = 0, a = new De(t); i < r; ++i) e[i] && ++a[e[i] - 1];
|
|
33862
|
+
var o = new De(t);
|
|
33863
33863
|
for (i = 1; i < t; ++i) o[i] = o[i - 1] + a[i - 1] << 1;
|
|
33864
33864
|
var s;
|
|
33865
33865
|
if (n) {
|
|
33866
|
-
s = new
|
|
33866
|
+
s = new De(1 << t);
|
|
33867
33867
|
var c = 15 - t;
|
|
33868
|
-
for (i = 0; i < r; ++i) if (e[i]) for (var l = i << 4 | e[i], u = t - e[i], d = o[e[i] - 1]++ << u, f = d | (1 << u) - 1; d <= f; ++d) s[
|
|
33869
|
-
} else for (s = new
|
|
33868
|
+
for (i = 0; i < r; ++i) if (e[i]) for (var l = i << 4 | e[i], u = t - e[i], d = o[e[i] - 1]++ << u, f = d | (1 << u) - 1; d <= f; ++d) s[I[d] >> c] = l;
|
|
33869
|
+
} else for (s = new De(r), i = 0; i < r; ++i) e[i] && (s[i] = I[o[e[i] - 1]++] >> 15 - e[i]);
|
|
33870
33870
|
return s;
|
|
33871
|
-
}),
|
|
33872
|
-
for (var
|
|
33873
|
-
for (var
|
|
33874
|
-
for (var
|
|
33875
|
-
for (var
|
|
33876
|
-
var
|
|
33871
|
+
}), Be = new Ee(288), Re = 0; Re < 144; ++Re) Be[Re] = 8;
|
|
33872
|
+
for (var Re = 144; Re < 256; ++Re) Be[Re] = 9;
|
|
33873
|
+
for (var Re = 256; Re < 280; ++Re) Be[Re] = 7;
|
|
33874
|
+
for (var Re = 280; Re < 288; ++Re) Be[Re] = 8;
|
|
33875
|
+
for (var Ve = new Ee(32), Re = 0; Re < 32; ++Re) Ve[Re] = 5;
|
|
33876
|
+
var He = /*#__PURE__*/ R(Be, 9, 1), Ue = /*#__PURE__*/ R(Ve, 5, 1), We = function(e) {
|
|
33877
33877
|
for (var t = e[0], n = 1; n < e.length; ++n) e[n] > t && (t = e[n]);
|
|
33878
33878
|
return t;
|
|
33879
|
-
},
|
|
33879
|
+
}, Ge = function(e, t, n) {
|
|
33880
33880
|
var r = t / 8 | 0;
|
|
33881
33881
|
return (e[r] | e[r + 1] << 8) >> (t & 7) & n;
|
|
33882
|
-
},
|
|
33882
|
+
}, Ke = function(e, t) {
|
|
33883
33883
|
var n = t / 8 | 0;
|
|
33884
33884
|
return (e[n] | e[n + 1] << 8 | e[n + 2] << 16) >> (t & 7);
|
|
33885
|
-
},
|
|
33885
|
+
}, qe = function(e) {
|
|
33886
33886
|
return (e + 7) / 8 | 0;
|
|
33887
|
-
},
|
|
33888
|
-
return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new
|
|
33889
|
-
},
|
|
33887
|
+
}, z = function(e, t, n) {
|
|
33888
|
+
return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new Ee(e.subarray(t, n));
|
|
33889
|
+
}, Je = [
|
|
33890
33890
|
"unexpected EOF",
|
|
33891
33891
|
"invalid block type",
|
|
33892
33892
|
"invalid length/literal",
|
|
@@ -33901,133 +33901,133 @@ var R = /*#__PURE__*/ I(Re, 9, 1), Be = /*#__PURE__*/ I(ze, 5, 1), Ve = function
|
|
|
33901
33901
|
"filename too long",
|
|
33902
33902
|
"stream finishing",
|
|
33903
33903
|
"invalid zip data"
|
|
33904
|
-
],
|
|
33905
|
-
var r = Error(t ||
|
|
33906
|
-
if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r,
|
|
33904
|
+
], Ye = function(e, t, n) {
|
|
33905
|
+
var r = Error(t || Je[e]);
|
|
33906
|
+
if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r, Ye), !n) throw r;
|
|
33907
33907
|
return r;
|
|
33908
|
-
},
|
|
33908
|
+
}, Xe = function(e, t, n, r) {
|
|
33909
33909
|
var i = e.length, a = r ? r.length : 0;
|
|
33910
|
-
if (!i || t.f && !t.l) return n || new
|
|
33910
|
+
if (!i || t.f && !t.l) return n || new Ee(0);
|
|
33911
33911
|
var o = !n, s = o || t.i != 2, c = t.i;
|
|
33912
|
-
o && (n = new
|
|
33912
|
+
o && (n = new Ee(i * 3));
|
|
33913
33913
|
var l = function(e) {
|
|
33914
33914
|
var t = n.length;
|
|
33915
33915
|
if (e > t) {
|
|
33916
|
-
var r = new
|
|
33916
|
+
var r = new Ee(Math.max(t * 2, e));
|
|
33917
33917
|
r.set(n), n = r;
|
|
33918
33918
|
}
|
|
33919
33919
|
}, u = t.f || 0, d = t.p || 0, f = t.b || 0, p = t.l, m = t.d, h = t.m, g = t.n, _ = i * 8;
|
|
33920
33920
|
do {
|
|
33921
33921
|
if (!p) {
|
|
33922
|
-
u =
|
|
33923
|
-
var v =
|
|
33922
|
+
u = Ge(e, d, 1);
|
|
33923
|
+
var v = Ge(e, d + 1, 3);
|
|
33924
33924
|
if (d += 3, !v) {
|
|
33925
|
-
var y =
|
|
33925
|
+
var y = qe(d) + 4, b = e[y - 4] | e[y - 3] << 8, x = y + b;
|
|
33926
33926
|
if (x > i) {
|
|
33927
|
-
c &&
|
|
33927
|
+
c && Ye(0);
|
|
33928
33928
|
break;
|
|
33929
33929
|
}
|
|
33930
33930
|
s && l(f + b), n.set(e.subarray(y, x), f), t.b = f += b, t.p = d = x * 8, t.f = u;
|
|
33931
33931
|
continue;
|
|
33932
|
-
} else if (v == 1) p =
|
|
33932
|
+
} else if (v == 1) p = He, m = Ue, h = 9, g = 5;
|
|
33933
33933
|
else if (v == 2) {
|
|
33934
|
-
var S =
|
|
33934
|
+
var S = Ge(e, d, 31) + 257, C = Ge(e, d + 10, 15) + 4, w = S + Ge(e, d + 5, 31) + 1;
|
|
33935
33935
|
d += 14;
|
|
33936
|
-
for (var T = new
|
|
33936
|
+
for (var T = new Ee(w), E = new Ee(19), D = 0; D < C; ++D) E[je[D]] = Ge(e, d + D * 3, 7);
|
|
33937
33937
|
d += C * 3;
|
|
33938
|
-
for (var O =
|
|
33939
|
-
var j = A[
|
|
33938
|
+
for (var O = We(E), k = (1 << O) - 1, A = R(E, O, 1), D = 0; D < w;) {
|
|
33939
|
+
var j = A[Ge(e, d, k)];
|
|
33940
33940
|
d += j & 15;
|
|
33941
33941
|
var y = j >> 4;
|
|
33942
33942
|
if (y < 16) T[D++] = y;
|
|
33943
33943
|
else {
|
|
33944
|
-
var M = 0,
|
|
33945
|
-
for (y == 16 ? (
|
|
33944
|
+
var M = 0, N = 0;
|
|
33945
|
+
for (y == 16 ? (N = 3 + Ge(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (N = 3 + Ge(e, d, 7), d += 3) : y == 18 && (N = 11 + Ge(e, d, 127), d += 7); N--;) T[D++] = M;
|
|
33946
33946
|
}
|
|
33947
33947
|
}
|
|
33948
|
-
var
|
|
33949
|
-
h =
|
|
33950
|
-
} else
|
|
33948
|
+
var ee = T.subarray(0, S), P = T.subarray(S);
|
|
33949
|
+
h = We(ee), g = We(P), p = R(ee, h, 1), m = R(P, g, 1);
|
|
33950
|
+
} else Ye(1);
|
|
33951
33951
|
if (d > _) {
|
|
33952
|
-
c &&
|
|
33952
|
+
c && Ye(0);
|
|
33953
33953
|
break;
|
|
33954
33954
|
}
|
|
33955
33955
|
}
|
|
33956
33956
|
s && l(f + 131072);
|
|
33957
|
-
for (var
|
|
33958
|
-
var M = p[
|
|
33957
|
+
for (var te = (1 << h) - 1, ne = (1 << g) - 1, re = d;; re = d) {
|
|
33958
|
+
var M = p[Ke(e, d) & te], ie = M >> 4;
|
|
33959
33959
|
if (d += M & 15, d > _) {
|
|
33960
|
-
c &&
|
|
33960
|
+
c && Ye(0);
|
|
33961
33961
|
break;
|
|
33962
33962
|
}
|
|
33963
|
-
if (M ||
|
|
33964
|
-
else if (
|
|
33965
|
-
|
|
33963
|
+
if (M || Ye(2), ie < 256) n[f++] = ie;
|
|
33964
|
+
else if (ie == 256) {
|
|
33965
|
+
re = d, p = null;
|
|
33966
33966
|
break;
|
|
33967
33967
|
} else {
|
|
33968
|
-
var ae =
|
|
33969
|
-
if (
|
|
33970
|
-
var D =
|
|
33971
|
-
ae =
|
|
33972
|
-
}
|
|
33973
|
-
var se = m[
|
|
33974
|
-
se ||
|
|
33975
|
-
var
|
|
33968
|
+
var ae = ie - 254;
|
|
33969
|
+
if (ie > 264) {
|
|
33970
|
+
var D = ie - 257, oe = ke[D];
|
|
33971
|
+
ae = Ge(e, d, (1 << oe) - 1) + Pe[D], d += oe;
|
|
33972
|
+
}
|
|
33973
|
+
var se = m[Ke(e, d) & ne], ce = se >> 4;
|
|
33974
|
+
se || Ye(3), d += se & 15;
|
|
33975
|
+
var P = Le[ce];
|
|
33976
33976
|
if (ce > 3) {
|
|
33977
|
-
var oe =
|
|
33978
|
-
|
|
33977
|
+
var oe = Ae[ce];
|
|
33978
|
+
P += Ke(e, d) & (1 << oe) - 1, d += oe;
|
|
33979
33979
|
}
|
|
33980
33980
|
if (d > _) {
|
|
33981
|
-
c &&
|
|
33981
|
+
c && Ye(0);
|
|
33982
33982
|
break;
|
|
33983
33983
|
}
|
|
33984
33984
|
s && l(f + 131072);
|
|
33985
33985
|
var le = f + ae;
|
|
33986
|
-
if (f <
|
|
33987
|
-
var ue = a -
|
|
33988
|
-
for (ue + f < 0 &&
|
|
33986
|
+
if (f < P) {
|
|
33987
|
+
var ue = a - P, de = Math.min(P, le);
|
|
33988
|
+
for (ue + f < 0 && Ye(3); f < de; ++f) n[f] = r[ue + f];
|
|
33989
33989
|
}
|
|
33990
|
-
for (; f < le; ++f) n[f] = n[f -
|
|
33990
|
+
for (; f < le; ++f) n[f] = n[f - P];
|
|
33991
33991
|
}
|
|
33992
33992
|
}
|
|
33993
|
-
t.l = p, t.p =
|
|
33993
|
+
t.l = p, t.p = re, t.b = f, t.f = u, p && (u = 1, t.m = h, t.d = m, t.n = g);
|
|
33994
33994
|
} while (!u);
|
|
33995
|
-
return f != n.length && o ?
|
|
33996
|
-
},
|
|
33997
|
-
(e[0] != 31 || e[1] != 139 || e[2] != 8) &&
|
|
33995
|
+
return f != n.length && o ? z(n, 0, f) : n.subarray(0, f);
|
|
33996
|
+
}, Ze = /*#__PURE__*/ new Ee(0), B = function(e) {
|
|
33997
|
+
(e[0] != 31 || e[1] != 139 || e[2] != 8) && Ye(6, "invalid gzip data");
|
|
33998
33998
|
var t = e[3], n = 10;
|
|
33999
33999
|
t & 4 && (n += (e[10] | e[11] << 8) + 2);
|
|
34000
34000
|
for (var r = (t >> 3 & 1) + (t >> 4 & 1); r > 0; r -= !e[n++]);
|
|
34001
34001
|
return n + (t & 2);
|
|
34002
|
-
},
|
|
34002
|
+
}, V = function(e) {
|
|
34003
34003
|
var t = e.length;
|
|
34004
34004
|
return (e[t - 4] | e[t - 3] << 8 | e[t - 2] << 16 | e[t - 1] << 24) >>> 0;
|
|
34005
|
-
},
|
|
34006
|
-
return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) &&
|
|
34005
|
+
}, H = function(e, t) {
|
|
34006
|
+
return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) && Ye(6, "invalid zlib data"), (e[1] >> 5 & 1) == +!t && Ye(6, "invalid zlib data: " + (e[1] & 32 ? "need" : "unexpected") + " dictionary"), (e[1] >> 3 & 4) + 2;
|
|
34007
34007
|
};
|
|
34008
|
-
function
|
|
34009
|
-
return
|
|
34008
|
+
function Qe(e, t) {
|
|
34009
|
+
return Xe(e, { i: 2 }, t && t.out, t && t.dictionary);
|
|
34010
34010
|
}
|
|
34011
|
-
function
|
|
34012
|
-
var n =
|
|
34013
|
-
return n + 8 > e.length &&
|
|
34011
|
+
function $e(e, t) {
|
|
34012
|
+
var n = B(e);
|
|
34013
|
+
return n + 8 > e.length && Ye(6, "invalid gzip data"), Xe(e.subarray(n, -8), { i: 2 }, t && t.out || new Ee(V(e)), t && t.dictionary);
|
|
34014
34014
|
}
|
|
34015
|
-
function
|
|
34016
|
-
return
|
|
34015
|
+
function et(e, t) {
|
|
34016
|
+
return Xe(e.subarray(H(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
|
|
34017
34017
|
}
|
|
34018
|
-
function
|
|
34019
|
-
return e[0] == 31 && e[1] == 139 && e[2] == 8 ?
|
|
34018
|
+
function U(e, t) {
|
|
34019
|
+
return e[0] == 31 && e[1] == 139 && e[2] == 8 ? $e(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? Qe(e, t) : et(e, t);
|
|
34020
34020
|
}
|
|
34021
|
-
var
|
|
34021
|
+
var tt = typeof TextDecoder < "u" && /*#__PURE__*/ new TextDecoder();
|
|
34022
34022
|
try {
|
|
34023
|
-
|
|
34023
|
+
tt.decode(Ze, { stream: !0 });
|
|
34024
34024
|
} catch {}
|
|
34025
34025
|
//#endregion
|
|
34026
34026
|
//#region ../../node_modules/.pnpm/pmtiles@4.4.1/node_modules/pmtiles/dist/esm/index.js
|
|
34027
|
-
var
|
|
34027
|
+
var nt = Object.defineProperty, rt = Math.pow, it = (e, t) => nt(e, "name", {
|
|
34028
34028
|
value: t,
|
|
34029
34029
|
configurable: !0
|
|
34030
|
-
}),
|
|
34030
|
+
}), at = (e, t, n) => new Promise((r, i) => {
|
|
34031
34031
|
var a = (e) => {
|
|
34032
34032
|
try {
|
|
34033
34033
|
s(n.next(e));
|
|
@@ -34043,10 +34043,10 @@ var et = Object.defineProperty, U = Math.pow, tt = (e, t) => et(e, "name", {
|
|
|
34043
34043
|
}, s = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(a, o);
|
|
34044
34044
|
s((n = n.apply(e, t)).next());
|
|
34045
34045
|
});
|
|
34046
|
-
|
|
34046
|
+
it((e, t) => {
|
|
34047
34047
|
let n = !1, r = "";
|
|
34048
34048
|
return new (L.GridLayer.extend({
|
|
34049
|
-
createTile:
|
|
34049
|
+
createTile: it((t, i) => {
|
|
34050
34050
|
let a = document.createElement("img"), o = new AbortController(), s = o.signal;
|
|
34051
34051
|
return a.cancel = () => {
|
|
34052
34052
|
o.abort();
|
|
@@ -34062,7 +34062,7 @@ tt((e, t) => {
|
|
|
34062
34062
|
if (e.name !== "AbortError") throw e;
|
|
34063
34063
|
}), a;
|
|
34064
34064
|
}, "createTile"),
|
|
34065
|
-
_removeTile:
|
|
34065
|
+
_removeTile: it(function(e) {
|
|
34066
34066
|
let t = this._tiles[e];
|
|
34067
34067
|
t && (t.el.cancel && t.el.cancel(), t.el.src && window.URL.revokeObjectURL(t.el.src), t.el.width = 0, t.el.height = 0, t.el.deleted = !0, L.DomUtil.remove(t.el), delete this._tiles[e], this.fire("tileunload", {
|
|
34068
34068
|
tile: t.el,
|
|
@@ -34071,16 +34071,16 @@ tt((e, t) => {
|
|
|
34071
34071
|
}, "_removeTile")
|
|
34072
34072
|
}))(t);
|
|
34073
34073
|
}, "leafletRasterLayer");
|
|
34074
|
-
var
|
|
34074
|
+
var ot = it((e) => (t, n) => {
|
|
34075
34075
|
if (n instanceof AbortController) return e(t, n);
|
|
34076
34076
|
let r = new AbortController();
|
|
34077
|
-
return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel:
|
|
34078
|
-
}, "v3compat"),
|
|
34077
|
+
return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel: it(() => r.abort(), "cancel") };
|
|
34078
|
+
}, "v3compat"), st = class {
|
|
34079
34079
|
constructor(e) {
|
|
34080
|
-
this.tilev4 =
|
|
34080
|
+
this.tilev4 = it((e, t) => at(this, null, function* () {
|
|
34081
34081
|
if (e.type === "json") {
|
|
34082
34082
|
let n = e.url.substr(10), r = this.tiles.get(n);
|
|
34083
|
-
if (r || (r = new
|
|
34083
|
+
if (r || (r = new Pt(n), this.tiles.set(n, r)), this.metadata) {
|
|
34084
34084
|
let n = yield r.getTileJson(e.url);
|
|
34085
34085
|
return t.signal.throwIfAborted(), { data: n };
|
|
34086
34086
|
}
|
|
@@ -34100,7 +34100,7 @@ var rt = tt((e) => (t, n) => {
|
|
|
34100
34100
|
let n = /* @__PURE__ */ new RegExp(/pmtiles:\/\/(.+)\/(\d+)\/(\d+)\/(\d+)/), r = e.url.match(n);
|
|
34101
34101
|
if (!r) throw Error("Invalid PMTiles protocol URL");
|
|
34102
34102
|
let i = r[1], a = this.tiles.get(i);
|
|
34103
|
-
a || (a = new
|
|
34103
|
+
a || (a = new Pt(i), this.tiles.set(i, a));
|
|
34104
34104
|
let o = r[2], s = r[3], c = r[4], l = yield a == null ? void 0 : a.getZxy(+o, +s, +c, t.signal);
|
|
34105
34105
|
if (t.signal.throwIfAborted(), l) return {
|
|
34106
34106
|
data: new Uint8Array(l.data),
|
|
@@ -34113,7 +34113,7 @@ var rt = tt((e) => (t, n) => {
|
|
|
34113
34113
|
return { data: /* @__PURE__ */ new Uint8Array() };
|
|
34114
34114
|
}
|
|
34115
34115
|
return { data: null };
|
|
34116
|
-
}), "tilev4"), this.tile =
|
|
34116
|
+
}), "tilev4"), this.tile = ot(this.tilev4), this.tiles = /* @__PURE__ */ new Map(), this.metadata = (e == null ? void 0 : e.metadata) || !1, this.errorOnMissingTile = (e == null ? void 0 : e.errorOnMissingTile) || !1;
|
|
34117
34117
|
}
|
|
34118
34118
|
add(e) {
|
|
34119
34119
|
this.tiles.set(e.source.getKey(), e);
|
|
@@ -34122,50 +34122,50 @@ var rt = tt((e) => (t, n) => {
|
|
|
34122
34122
|
return this.tiles.get(e);
|
|
34123
34123
|
}
|
|
34124
34124
|
};
|
|
34125
|
-
|
|
34126
|
-
var
|
|
34127
|
-
function
|
|
34125
|
+
it(st, "Protocol");
|
|
34126
|
+
var ct = st;
|
|
34127
|
+
function lt(e, t) {
|
|
34128
34128
|
return (t >>> 0) * 4294967296 + (e >>> 0);
|
|
34129
34129
|
}
|
|
34130
|
-
|
|
34131
|
-
function
|
|
34130
|
+
it(lt, "toNum");
|
|
34131
|
+
function ut(e, t) {
|
|
34132
34132
|
let n = t.buf, r = n[t.pos++], i = (r & 112) >> 4;
|
|
34133
|
-
if (r < 128 || (r = n[t.pos++], i |= (r & 127) << 3, r < 128) || (r = n[t.pos++], i |= (r & 127) << 10, r < 128) || (r = n[t.pos++], i |= (r & 127) << 17, r < 128) || (r = n[t.pos++], i |= (r & 127) << 24, r < 128) || (r = n[t.pos++], i |= (r & 1) << 31, r < 128)) return
|
|
34133
|
+
if (r < 128 || (r = n[t.pos++], i |= (r & 127) << 3, r < 128) || (r = n[t.pos++], i |= (r & 127) << 10, r < 128) || (r = n[t.pos++], i |= (r & 127) << 17, r < 128) || (r = n[t.pos++], i |= (r & 127) << 24, r < 128) || (r = n[t.pos++], i |= (r & 1) << 31, r < 128)) return lt(e, i);
|
|
34134
34134
|
throw Error("Expected varint not more than 10 bytes");
|
|
34135
34135
|
}
|
|
34136
|
-
|
|
34137
|
-
function
|
|
34136
|
+
it(ut, "readVarintRemainder");
|
|
34137
|
+
function dt(e) {
|
|
34138
34138
|
let t = e.buf, n = t[e.pos++], r = n & 127;
|
|
34139
|
-
return n < 128 || (n = t[e.pos++], r |= (n & 127) << 7, n < 128) || (n = t[e.pos++], r |= (n & 127) << 14, n < 128) || (n = t[e.pos++], r |= (n & 127) << 21, n < 128) ? r : (n = t[e.pos], r |= (n & 15) << 28,
|
|
34139
|
+
return n < 128 || (n = t[e.pos++], r |= (n & 127) << 7, n < 128) || (n = t[e.pos++], r |= (n & 127) << 14, n < 128) || (n = t[e.pos++], r |= (n & 127) << 21, n < 128) ? r : (n = t[e.pos], r |= (n & 15) << 28, ut(r, e));
|
|
34140
34140
|
}
|
|
34141
|
-
|
|
34142
|
-
function
|
|
34141
|
+
it(dt, "readVarint");
|
|
34142
|
+
function ft(e, t, n, r, i) {
|
|
34143
34143
|
return i === 0 ? r === 0 ? [n, t] : [e - 1 - n, e - 1 - t] : [t, n];
|
|
34144
34144
|
}
|
|
34145
|
-
|
|
34146
|
-
function
|
|
34145
|
+
it(ft, "rotate");
|
|
34146
|
+
function pt(e, t, n) {
|
|
34147
34147
|
if (e > 26) throw Error("Tile zoom level exceeds max safe number limit (26)");
|
|
34148
34148
|
if (t >= 1 << e || n >= 1 << e) throw Error("tile x/y outside zoom level bounds");
|
|
34149
34149
|
let r = ((1 << e) * (1 << e) - 1) / 3, i = e - 1, [a, o] = [t, n];
|
|
34150
34150
|
for (let e = 1 << i; e > 0; e >>= 1) {
|
|
34151
34151
|
let t = a & e, n = o & e;
|
|
34152
|
-
r += (3 * t ^ n) * (1 << i), [a, o] =
|
|
34152
|
+
r += (3 * t ^ n) * (1 << i), [a, o] = ft(e, a, o, t, n), i--;
|
|
34153
34153
|
}
|
|
34154
34154
|
return r;
|
|
34155
34155
|
}
|
|
34156
|
-
|
|
34157
|
-
function
|
|
34156
|
+
it(pt, "zxyToTileId");
|
|
34157
|
+
function mt(e) {
|
|
34158
34158
|
let t = 3 * e + 1;
|
|
34159
34159
|
return t < 4294967296 ? 31 - Math.clz32(t) : 63 - Math.clz32(t / 4294967296);
|
|
34160
34160
|
}
|
|
34161
|
-
|
|
34162
|
-
function
|
|
34163
|
-
let t =
|
|
34161
|
+
it(mt, "tileIdToZ");
|
|
34162
|
+
function ht(e) {
|
|
34163
|
+
let t = mt(e) >> 1;
|
|
34164
34164
|
if (t > 26) throw Error("Tile zoom level exceeds max safe number limit (26)");
|
|
34165
34165
|
let n = e - ((1 << t) * (1 << t) - 1) / 3, r = 0, i = 0, a = 1 << t;
|
|
34166
34166
|
for (let e = 1; e < a; e <<= 1) {
|
|
34167
34167
|
let t = e & n / 2, a = e & (n ^ t);
|
|
34168
|
-
[r, i] =
|
|
34168
|
+
[r, i] = ft(e, r, i, t, a), n /= 2, r += t, i += a;
|
|
34169
34169
|
}
|
|
34170
34170
|
return [
|
|
34171
34171
|
t,
|
|
@@ -34173,13 +34173,13 @@ function ft(e) {
|
|
|
34173
34173
|
i
|
|
34174
34174
|
];
|
|
34175
34175
|
}
|
|
34176
|
-
|
|
34177
|
-
var
|
|
34178
|
-
function
|
|
34179
|
-
return
|
|
34176
|
+
it(ht, "tileIdToZxy");
|
|
34177
|
+
var gt = ((e) => (e[e.Unknown = 0] = "Unknown", e[e.None = 1] = "None", e[e.Gzip = 2] = "Gzip", e[e.Brotli = 3] = "Brotli", e[e.Zstd = 4] = "Zstd", e))(gt || {});
|
|
34178
|
+
function _t(e, t) {
|
|
34179
|
+
return at(this, null, function* () {
|
|
34180
34180
|
if (t === 1 || t === 0) return e;
|
|
34181
34181
|
if (t === 2) {
|
|
34182
|
-
if (globalThis.DecompressionStream === void 0) return
|
|
34182
|
+
if (globalThis.DecompressionStream === void 0) return U(new Uint8Array(e));
|
|
34183
34183
|
let t = new Response(e).body;
|
|
34184
34184
|
if (!t) throw Error("Failed to read response stream");
|
|
34185
34185
|
let n = t.pipeThrough(new globalThis.DecompressionStream("gzip"));
|
|
@@ -34188,14 +34188,14 @@ function mt(e, t) {
|
|
|
34188
34188
|
throw Error("Compression method not supported");
|
|
34189
34189
|
});
|
|
34190
34190
|
}
|
|
34191
|
-
|
|
34192
|
-
var
|
|
34193
|
-
function
|
|
34191
|
+
it(_t, "defaultDecompress");
|
|
34192
|
+
var vt = ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Mvt = 1] = "Mvt", e[e.Png = 2] = "Png", e[e.Jpeg = 3] = "Jpeg", e[e.Webp = 4] = "Webp", e[e.Avif = 5] = "Avif", e[e.Mlt = 6] = "Mlt", e))(vt || {});
|
|
34193
|
+
function yt(e) {
|
|
34194
34194
|
return e === 1 ? ".mvt" : e === 2 ? ".png" : e === 3 ? ".jpg" : e === 4 ? ".webp" : e === 5 ? ".avif" : e === 6 ? ".mlt" : "";
|
|
34195
34195
|
}
|
|
34196
|
-
|
|
34197
|
-
var
|
|
34198
|
-
function
|
|
34196
|
+
it(yt, "tileTypeExt");
|
|
34197
|
+
var bt = 127;
|
|
34198
|
+
function xt(e, t) {
|
|
34199
34199
|
let n = 0, r = e.length - 1;
|
|
34200
34200
|
for (; n <= r;) {
|
|
34201
34201
|
let i = r + n >> 1, a = t - e[i].tileId;
|
|
@@ -34205,7 +34205,7 @@ function vt(e, t) {
|
|
|
34205
34205
|
}
|
|
34206
34206
|
return r >= 0 && (e[r].runLength === 0 || t - e[r].tileId < e[r].runLength) ? e[r] : null;
|
|
34207
34207
|
}
|
|
34208
|
-
|
|
34208
|
+
it(xt, "findTile"), it(class {
|
|
34209
34209
|
constructor(e) {
|
|
34210
34210
|
this.file = e;
|
|
34211
34211
|
}
|
|
@@ -34213,12 +34213,12 @@ tt(vt, "findTile"), tt(class {
|
|
|
34213
34213
|
return this.file.name;
|
|
34214
34214
|
}
|
|
34215
34215
|
getBytes(e, t) {
|
|
34216
|
-
return
|
|
34216
|
+
return at(this, null, function* () {
|
|
34217
34217
|
return { data: yield this.file.slice(e, e + t).arrayBuffer() };
|
|
34218
34218
|
});
|
|
34219
34219
|
}
|
|
34220
34220
|
}, "FileSource");
|
|
34221
|
-
var
|
|
34221
|
+
var St = class {
|
|
34222
34222
|
constructor(e, t = new Headers(), n = void 0) {
|
|
34223
34223
|
var r, i;
|
|
34224
34224
|
this.url = e, this.customHeaders = t, this.credentials = n, this.mustReload = !1;
|
|
@@ -34234,7 +34234,7 @@ var yt = class {
|
|
|
34234
34234
|
this.customHeaders = e;
|
|
34235
34235
|
}
|
|
34236
34236
|
getBytes(e, t, n, r) {
|
|
34237
|
-
return
|
|
34237
|
+
return at(this, null, function* () {
|
|
34238
34238
|
let i, a;
|
|
34239
34239
|
n ? a = n : (i = new AbortController(), a = i.signal);
|
|
34240
34240
|
let o = new Headers(this.customHeaders);
|
|
@@ -34259,7 +34259,7 @@ var yt = class {
|
|
|
34259
34259
|
});
|
|
34260
34260
|
}
|
|
34261
34261
|
let l = c.headers.get("Etag");
|
|
34262
|
-
if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new
|
|
34262
|
+
if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new Ot(`Server returned non-matching ETag ${r} after one retry. Check browser extensions and servers for issues that may affect correct ETag headers.`);
|
|
34263
34263
|
if (c.status >= 300) throw Error(`Bad response code: ${c.status}`);
|
|
34264
34264
|
let u = c.headers.get("Content-Length");
|
|
34265
34265
|
if (c.status === 200 && (!u || +u > t)) throw i && i.abort(), /* @__PURE__ */ Error("Server returned no content-length header or content-length exceeding request. Check that your storage backend supports HTTP Byte Serving.");
|
|
@@ -34272,29 +34272,29 @@ var yt = class {
|
|
|
34272
34272
|
});
|
|
34273
34273
|
}
|
|
34274
34274
|
};
|
|
34275
|
-
|
|
34276
|
-
var
|
|
34277
|
-
function
|
|
34275
|
+
it(St, "FetchSource");
|
|
34276
|
+
var Ct = St;
|
|
34277
|
+
function wt(e, t) {
|
|
34278
34278
|
let n = e.getUint32(t + 4, !0), r = e.getUint32(t + 0, !0);
|
|
34279
|
-
return n *
|
|
34279
|
+
return n * rt(2, 32) + r;
|
|
34280
34280
|
}
|
|
34281
|
-
|
|
34282
|
-
function
|
|
34281
|
+
it(wt, "getUint64");
|
|
34282
|
+
function Tt(e, t) {
|
|
34283
34283
|
let n = new DataView(e), r = n.getUint8(7);
|
|
34284
34284
|
if (r > 3) throw Error(`Archive is spec version ${r} but this library supports up to spec version 3`);
|
|
34285
34285
|
return {
|
|
34286
34286
|
specVersion: r,
|
|
34287
|
-
rootDirectoryOffset:
|
|
34288
|
-
rootDirectoryLength:
|
|
34289
|
-
jsonMetadataOffset:
|
|
34290
|
-
jsonMetadataLength:
|
|
34291
|
-
leafDirectoryOffset:
|
|
34292
|
-
leafDirectoryLength:
|
|
34293
|
-
tileDataOffset:
|
|
34294
|
-
tileDataLength:
|
|
34295
|
-
numAddressedTiles:
|
|
34296
|
-
numTileEntries:
|
|
34297
|
-
numTileContents:
|
|
34287
|
+
rootDirectoryOffset: wt(n, 8),
|
|
34288
|
+
rootDirectoryLength: wt(n, 16),
|
|
34289
|
+
jsonMetadataOffset: wt(n, 24),
|
|
34290
|
+
jsonMetadataLength: wt(n, 32),
|
|
34291
|
+
leafDirectoryOffset: wt(n, 40),
|
|
34292
|
+
leafDirectoryLength: wt(n, 48),
|
|
34293
|
+
tileDataOffset: wt(n, 56),
|
|
34294
|
+
tileDataLength: wt(n, 64),
|
|
34295
|
+
numAddressedTiles: wt(n, 72),
|
|
34296
|
+
numTileEntries: wt(n, 80),
|
|
34297
|
+
numTileContents: wt(n, 88),
|
|
34298
34298
|
clustered: n.getUint8(96) === 1,
|
|
34299
34299
|
internalCompression: n.getUint8(97),
|
|
34300
34300
|
tileCompression: n.getUint8(98),
|
|
@@ -34311,14 +34311,14 @@ function St(e, t) {
|
|
|
34311
34311
|
etag: t
|
|
34312
34312
|
};
|
|
34313
34313
|
}
|
|
34314
|
-
|
|
34315
|
-
function
|
|
34314
|
+
it(Tt, "bytesToHeader");
|
|
34315
|
+
function Et(e) {
|
|
34316
34316
|
let t = {
|
|
34317
34317
|
buf: new Uint8Array(e),
|
|
34318
34318
|
pos: 0
|
|
34319
|
-
}, n =
|
|
34319
|
+
}, n = dt(t), r = [], i = 0;
|
|
34320
34320
|
for (let e = 0; e < n; e++) {
|
|
34321
|
-
let e =
|
|
34321
|
+
let e = dt(t);
|
|
34322
34322
|
r.push({
|
|
34323
34323
|
tileId: i + e,
|
|
34324
34324
|
offset: 0,
|
|
@@ -34326,23 +34326,23 @@ function Ct(e) {
|
|
|
34326
34326
|
runLength: 1
|
|
34327
34327
|
}), i += e;
|
|
34328
34328
|
}
|
|
34329
|
-
for (let e = 0; e < n; e++) r[e].runLength =
|
|
34330
|
-
for (let e = 0; e < n; e++) r[e].length =
|
|
34329
|
+
for (let e = 0; e < n; e++) r[e].runLength = dt(t);
|
|
34330
|
+
for (let e = 0; e < n; e++) r[e].length = dt(t);
|
|
34331
34331
|
for (let e = 0; e < n; e++) {
|
|
34332
|
-
let n =
|
|
34332
|
+
let n = dt(t);
|
|
34333
34333
|
n === 0 && e > 0 ? r[e].offset = r[e - 1].offset + r[e - 1].length : r[e].offset = n - 1;
|
|
34334
34334
|
}
|
|
34335
34335
|
return r;
|
|
34336
34336
|
}
|
|
34337
|
-
|
|
34338
|
-
var
|
|
34339
|
-
|
|
34340
|
-
var
|
|
34341
|
-
function
|
|
34342
|
-
return
|
|
34337
|
+
it(Et, "deserializeIndex");
|
|
34338
|
+
var Dt = class extends Error {};
|
|
34339
|
+
it(Dt, "EtagMismatch");
|
|
34340
|
+
var Ot = Dt;
|
|
34341
|
+
function kt(e, t) {
|
|
34342
|
+
return at(this, null, function* () {
|
|
34343
34343
|
let n = yield e.getBytes(0, 16384);
|
|
34344
34344
|
if (new DataView(n.data).getUint16(0, !0) !== 19792) throw Error("Wrong magic number for PMTiles archive");
|
|
34345
|
-
let r =
|
|
34345
|
+
let r = Tt(n.data.slice(0, bt), n.etag), i = n.data.slice(r.rootDirectoryOffset, r.rootDirectoryOffset + r.rootDirectoryLength), a = `${e.getKey()}|${r.etag || ""}|${r.rootDirectoryOffset}|${r.rootDirectoryLength}`, o = Et(yield t(i, r.internalCompression));
|
|
34346
34346
|
return [r, [
|
|
34347
34347
|
a,
|
|
34348
34348
|
o.length,
|
|
@@ -34350,23 +34350,23 @@ function Et(e, t) {
|
|
|
34350
34350
|
]];
|
|
34351
34351
|
});
|
|
34352
34352
|
}
|
|
34353
|
-
|
|
34354
|
-
function
|
|
34355
|
-
return
|
|
34356
|
-
let a =
|
|
34353
|
+
it(kt, "getHeaderAndRoot");
|
|
34354
|
+
function At(e, t, n, r, i) {
|
|
34355
|
+
return at(this, null, function* () {
|
|
34356
|
+
let a = Et(yield t((yield e.getBytes(n, r, void 0, i.etag)).data, i.internalCompression));
|
|
34357
34357
|
if (a.length === 0) throw Error("Empty directory is invalid");
|
|
34358
34358
|
return a;
|
|
34359
34359
|
});
|
|
34360
34360
|
}
|
|
34361
|
-
|
|
34362
|
-
constructor(e = 100, t = !0, n =
|
|
34361
|
+
it(At, "getDirectory"), it(class {
|
|
34362
|
+
constructor(e = 100, t = !0, n = _t) {
|
|
34363
34363
|
this.cache = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
|
|
34364
34364
|
}
|
|
34365
34365
|
getHeader(e) {
|
|
34366
|
-
return
|
|
34366
|
+
return at(this, null, function* () {
|
|
34367
34367
|
let t = e.getKey(), n = this.cache.get(t);
|
|
34368
34368
|
if (n) return n.lastUsed = this.counter++, n.data;
|
|
34369
|
-
let r = yield
|
|
34369
|
+
let r = yield kt(e, this.decompress);
|
|
34370
34370
|
return r[1] && this.cache.set(r[1][0], {
|
|
34371
34371
|
lastUsed: this.counter++,
|
|
34372
34372
|
data: r[1][2]
|
|
@@ -34377,10 +34377,10 @@ tt(Dt, "getDirectory"), tt(class {
|
|
|
34377
34377
|
});
|
|
34378
34378
|
}
|
|
34379
34379
|
getDirectory(e, t, n, r) {
|
|
34380
|
-
return
|
|
34380
|
+
return at(this, null, function* () {
|
|
34381
34381
|
let i = `${e.getKey()}|${r.etag || ""}|${t}|${n}`, a = this.cache.get(i);
|
|
34382
34382
|
if (a) return a.lastUsed = this.counter++, a.data;
|
|
34383
|
-
let o = yield
|
|
34383
|
+
let o = yield At(e, this.decompress, t, n, r);
|
|
34384
34384
|
return this.cache.set(i, {
|
|
34385
34385
|
lastUsed: this.counter++,
|
|
34386
34386
|
data: o
|
|
@@ -34396,21 +34396,21 @@ tt(Dt, "getDirectory"), tt(class {
|
|
|
34396
34396
|
}
|
|
34397
34397
|
}
|
|
34398
34398
|
invalidate(e) {
|
|
34399
|
-
return
|
|
34399
|
+
return at(this, null, function* () {
|
|
34400
34400
|
this.cache.delete(e.getKey());
|
|
34401
34401
|
});
|
|
34402
34402
|
}
|
|
34403
34403
|
}, "ResolvedValueCache");
|
|
34404
|
-
var
|
|
34405
|
-
constructor(e = 100, t = !0, n =
|
|
34404
|
+
var jt = class {
|
|
34405
|
+
constructor(e = 100, t = !0, n = _t) {
|
|
34406
34406
|
this.cache = /* @__PURE__ */ new Map(), this.invalidations = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
|
|
34407
34407
|
}
|
|
34408
34408
|
getHeader(e) {
|
|
34409
|
-
return
|
|
34409
|
+
return at(this, null, function* () {
|
|
34410
34410
|
let t = e.getKey(), n = this.cache.get(t);
|
|
34411
34411
|
if (n) return n.lastUsed = this.counter++, yield n.data;
|
|
34412
34412
|
let r = new Promise((t, n) => {
|
|
34413
|
-
|
|
34413
|
+
kt(e, this.decompress).then((e) => {
|
|
34414
34414
|
e[1] && this.cache.set(e[1][0], {
|
|
34415
34415
|
lastUsed: this.counter++,
|
|
34416
34416
|
data: Promise.resolve(e[1][2])
|
|
@@ -34426,11 +34426,11 @@ var Ot = class {
|
|
|
34426
34426
|
});
|
|
34427
34427
|
}
|
|
34428
34428
|
getDirectory(e, t, n, r) {
|
|
34429
|
-
return
|
|
34429
|
+
return at(this, null, function* () {
|
|
34430
34430
|
let i = `${e.getKey()}|${r.etag || ""}|${t}|${n}`, a = this.cache.get(i);
|
|
34431
34431
|
if (a) return a.lastUsed = this.counter++, yield a.data;
|
|
34432
34432
|
let o = new Promise((i, a) => {
|
|
34433
|
-
|
|
34433
|
+
At(e, this.decompress, t, n, r).then((e) => {
|
|
34434
34434
|
i(e), this.prune();
|
|
34435
34435
|
}).catch((e) => {
|
|
34436
34436
|
a(e);
|
|
@@ -34451,7 +34451,7 @@ var Ot = class {
|
|
|
34451
34451
|
}
|
|
34452
34452
|
}
|
|
34453
34453
|
invalidate(e) {
|
|
34454
|
-
return
|
|
34454
|
+
return at(this, null, function* () {
|
|
34455
34455
|
let t = e.getKey();
|
|
34456
34456
|
if (this.invalidations.get(t)) return yield this.invalidations.get(t);
|
|
34457
34457
|
this.cache.delete(e.getKey());
|
|
@@ -34466,23 +34466,23 @@ var Ot = class {
|
|
|
34466
34466
|
});
|
|
34467
34467
|
}
|
|
34468
34468
|
};
|
|
34469
|
-
|
|
34470
|
-
var
|
|
34469
|
+
it(jt, "SharedPromiseCache");
|
|
34470
|
+
var Mt = jt, Nt = class {
|
|
34471
34471
|
constructor(e, t, n) {
|
|
34472
|
-
typeof e == "string" ? this.source = new
|
|
34472
|
+
typeof e == "string" ? this.source = new Ct(e) : this.source = e, n ? this.decompress = n : this.decompress = _t, t ? this.cache = t : this.cache = new Mt();
|
|
34473
34473
|
}
|
|
34474
34474
|
getHeader() {
|
|
34475
|
-
return
|
|
34475
|
+
return at(this, null, function* () {
|
|
34476
34476
|
return yield this.cache.getHeader(this.source);
|
|
34477
34477
|
});
|
|
34478
34478
|
}
|
|
34479
34479
|
getZxyAttempt(e, t, n, r) {
|
|
34480
|
-
return
|
|
34481
|
-
let i =
|
|
34480
|
+
return at(this, null, function* () {
|
|
34481
|
+
let i = pt(e, t, n), a = yield this.cache.getHeader(this.source);
|
|
34482
34482
|
if (e < a.minZoom || e > a.maxZoom) return;
|
|
34483
34483
|
let o = a.rootDirectoryOffset, s = a.rootDirectoryLength;
|
|
34484
34484
|
for (let e = 0; e <= 3; e++) {
|
|
34485
|
-
let e =
|
|
34485
|
+
let e = xt(yield this.cache.getDirectory(this.source, o, s, a), i);
|
|
34486
34486
|
if (e) {
|
|
34487
34487
|
if (e.runLength > 0) {
|
|
34488
34488
|
let t = yield this.source.getBytes(a.tileDataOffset + e.offset, e.length, r, a.etag);
|
|
@@ -34499,38 +34499,38 @@ var kt = Ot, At = class {
|
|
|
34499
34499
|
});
|
|
34500
34500
|
}
|
|
34501
34501
|
getZxy(e, t, n, r) {
|
|
34502
|
-
return
|
|
34502
|
+
return at(this, null, function* () {
|
|
34503
34503
|
try {
|
|
34504
34504
|
return yield this.getZxyAttempt(e, t, n, r);
|
|
34505
34505
|
} catch (i) {
|
|
34506
|
-
if (i instanceof
|
|
34506
|
+
if (i instanceof Ot) return this.cache.invalidate(this.source), yield this.getZxyAttempt(e, t, n, r);
|
|
34507
34507
|
throw i;
|
|
34508
34508
|
}
|
|
34509
34509
|
});
|
|
34510
34510
|
}
|
|
34511
34511
|
getMetadataAttempt() {
|
|
34512
|
-
return
|
|
34512
|
+
return at(this, null, function* () {
|
|
34513
34513
|
let e = yield this.cache.getHeader(this.source), t = yield this.source.getBytes(e.jsonMetadataOffset, e.jsonMetadataLength, void 0, e.etag), n = yield this.decompress(t.data, e.internalCompression), r = new TextDecoder("utf-8");
|
|
34514
34514
|
return JSON.parse(r.decode(n));
|
|
34515
34515
|
});
|
|
34516
34516
|
}
|
|
34517
34517
|
getMetadata() {
|
|
34518
|
-
return
|
|
34518
|
+
return at(this, null, function* () {
|
|
34519
34519
|
try {
|
|
34520
34520
|
return yield this.getMetadataAttempt();
|
|
34521
34521
|
} catch (e) {
|
|
34522
|
-
if (e instanceof
|
|
34522
|
+
if (e instanceof Ot) return this.cache.invalidate(this.source), yield this.getMetadataAttempt();
|
|
34523
34523
|
throw e;
|
|
34524
34524
|
}
|
|
34525
34525
|
});
|
|
34526
34526
|
}
|
|
34527
34527
|
getTileJson(e) {
|
|
34528
|
-
return
|
|
34528
|
+
return at(this, null, function* () {
|
|
34529
34529
|
let t = yield this.getHeader(), n = yield this.getMetadata();
|
|
34530
34530
|
return {
|
|
34531
34531
|
tilejson: "3.0.0",
|
|
34532
34532
|
scheme: "xyz",
|
|
34533
|
-
tiles: [`${e}/{z}/{x}/{y}${
|
|
34533
|
+
tiles: [`${e}/{z}/{x}/{y}${yt(t.tileType)}`],
|
|
34534
34534
|
vector_layers: n.vector_layers,
|
|
34535
34535
|
attribution: n.attribution,
|
|
34536
34536
|
description: n.description,
|
|
@@ -34553,8 +34553,8 @@ var kt = Ot, At = class {
|
|
|
34553
34553
|
});
|
|
34554
34554
|
}
|
|
34555
34555
|
};
|
|
34556
|
-
|
|
34557
|
-
var
|
|
34556
|
+
it(Nt, "PMTiles");
|
|
34557
|
+
var Pt = Nt, Ft = class extends Te.AttributionControl {
|
|
34558
34558
|
constructor(e) {
|
|
34559
34559
|
super({
|
|
34560
34560
|
compact: !0,
|
|
@@ -34565,7 +34565,7 @@ var jt = At, Mt = class extends Se.AttributionControl {
|
|
|
34565
34565
|
let t = super.onAdd(e);
|
|
34566
34566
|
return t.classList.remove("maplibregl-compact-show"), t;
|
|
34567
34567
|
}
|
|
34568
|
-
},
|
|
34568
|
+
}, It = class {
|
|
34569
34569
|
constructor() {
|
|
34570
34570
|
this.container = void 0;
|
|
34571
34571
|
}
|
|
@@ -34582,9 +34582,9 @@ var jt = At, Mt = class extends Se.AttributionControl {
|
|
|
34582
34582
|
getDefaultPosition() {
|
|
34583
34583
|
return "bottom-right";
|
|
34584
34584
|
}
|
|
34585
|
-
},
|
|
34585
|
+
}, Lt = 16384, W = class {
|
|
34586
34586
|
constructor(e) {
|
|
34587
|
-
this.url = e, this.ranged = void 0, this.archive = void 0, this.ranged = new
|
|
34587
|
+
this.url = e, this.ranged = void 0, this.archive = void 0, this.ranged = new Ct(e);
|
|
34588
34588
|
}
|
|
34589
34589
|
getKey() {
|
|
34590
34590
|
return this.url;
|
|
@@ -34592,28 +34592,28 @@ var jt = At, Mt = class extends Se.AttributionControl {
|
|
|
34592
34592
|
async getBytes(e, t, n, r) {
|
|
34593
34593
|
this.archive || (this.archive = this.probe());
|
|
34594
34594
|
let i = await this.archive;
|
|
34595
|
-
return i ? (
|
|
34595
|
+
return i ? (zt(n), { data: await Bt(i.slice(e, e + t)) }) : this.ranged.getBytes(e, t, n, r);
|
|
34596
34596
|
}
|
|
34597
34597
|
async probe() {
|
|
34598
34598
|
let e;
|
|
34599
34599
|
try {
|
|
34600
|
-
e = await fetch(this.url, { headers: { Range: `bytes=0-${
|
|
34600
|
+
e = await fetch(this.url, { headers: { Range: `bytes=0-${Lt - 1}` } });
|
|
34601
34601
|
} catch {
|
|
34602
34602
|
return null;
|
|
34603
34603
|
}
|
|
34604
34604
|
if (e.status !== 200) return null;
|
|
34605
34605
|
let t = await e.blob();
|
|
34606
|
-
return t.size ===
|
|
34606
|
+
return t.size === Lt ? null : t;
|
|
34607
34607
|
}
|
|
34608
34608
|
};
|
|
34609
|
-
function
|
|
34610
|
-
e.get(t) || e.add(new
|
|
34609
|
+
function Rt(e, t) {
|
|
34610
|
+
e.get(t) || e.add(new Pt(new W(t)));
|
|
34611
34611
|
}
|
|
34612
|
-
function
|
|
34612
|
+
function zt(e) {
|
|
34613
34613
|
var t;
|
|
34614
34614
|
if (e != null && e.aborted) throw (t = e.reason) == null ? new DOMException("The operation was aborted.", "AbortError") : t;
|
|
34615
34615
|
}
|
|
34616
|
-
async function
|
|
34616
|
+
async function Bt(e) {
|
|
34617
34617
|
return typeof e.arrayBuffer == "function" ? e.arrayBuffer() : new Promise((t, n) => {
|
|
34618
34618
|
let r = new FileReader();
|
|
34619
34619
|
r.onload = () => t(r.result), r.onerror = () => n(r.error), r.readAsArrayBuffer(e);
|
|
@@ -34621,7 +34621,7 @@ async function W(e) {
|
|
|
34621
34621
|
}
|
|
34622
34622
|
//#endregion
|
|
34623
34623
|
//#region src/components/Maplibre/utils/resolve-map-style.ts
|
|
34624
|
-
function
|
|
34624
|
+
function Vt(e, t) {
|
|
34625
34625
|
if (typeof e != "string") return;
|
|
34626
34626
|
let n = new URL(e, window.location.href).href, r = (e) => new URL(e, n).href.replace(/%7B/g, "{").replace(/%7D/g, "}"), i = (e) => {
|
|
34627
34627
|
if (!e.startsWith("pmtiles://")) return r(e);
|
|
@@ -34652,13 +34652,13 @@ function Rt(e, t) {
|
|
|
34652
34652
|
}
|
|
34653
34653
|
//#endregion
|
|
34654
34654
|
//#region src/components/Maplibre/MaplibreWrapper.tsx
|
|
34655
|
-
var
|
|
34655
|
+
var G = s(), Ht = "<a href=\"https://maplibre.org/\" target=\"_blank\">MapLibre</a>", Ut = "expofp-map-dim", Wt = "expofp-map-dim-source", Gt = "3d-expofp", Kt = null, qt = [
|
|
34656
34656
|
"coalesce",
|
|
34657
34657
|
["get", "name:en"],
|
|
34658
34658
|
["get", "name_en"],
|
|
34659
34659
|
["get", "name:latin"],
|
|
34660
34660
|
["get", "name"]
|
|
34661
|
-
],
|
|
34661
|
+
], Jt = {
|
|
34662
34662
|
type: "Feature",
|
|
34663
34663
|
geometry: {
|
|
34664
34664
|
type: "Polygon",
|
|
@@ -34672,42 +34672,42 @@ var zt = s(), Bt = "<a href=\"https://maplibre.org/\" target=\"_blank\">MapLibre
|
|
|
34672
34672
|
},
|
|
34673
34673
|
properties: {}
|
|
34674
34674
|
};
|
|
34675
|
-
function
|
|
34675
|
+
function Yt(e) {
|
|
34676
34676
|
if (!e || typeof e != "object") return !1;
|
|
34677
34677
|
let t = e.length;
|
|
34678
34678
|
if (typeof t != "number" || t < 16) return !1;
|
|
34679
34679
|
let n = e[0];
|
|
34680
34680
|
return typeof n == "number" && Number.isFinite(n);
|
|
34681
34681
|
}
|
|
34682
|
-
function
|
|
34682
|
+
function Xt(e) {
|
|
34683
34683
|
var t;
|
|
34684
|
-
if (
|
|
34684
|
+
if (Yt(e)) return Array.from(e);
|
|
34685
34685
|
let n = e, r = n == null || (t = n.defaultProjectionData) == null ? void 0 : t.mainMatrix;
|
|
34686
|
-
return
|
|
34686
|
+
return Yt(r) ? Array.from(r) : (console.warn("Maplibre custom layer received an unsupported projection matrix payload.", e), null);
|
|
34687
34687
|
}
|
|
34688
|
-
function
|
|
34689
|
-
return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) =>
|
|
34688
|
+
function Zt(e) {
|
|
34689
|
+
return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) => Zt(e)) : !e || typeof e != "object" ? !1 : Object.values(e).some((e) => Zt(e));
|
|
34690
34690
|
}
|
|
34691
|
-
function
|
|
34692
|
-
return e.type !== "symbol" || !e.id || !e.layout ? !1 :
|
|
34691
|
+
function Qt(e) {
|
|
34692
|
+
return e.type !== "symbol" || !e.id || !e.layout ? !1 : Zt(e.layout["text-field"]);
|
|
34693
34693
|
}
|
|
34694
|
-
function
|
|
34694
|
+
function $t(e) {
|
|
34695
34695
|
var t;
|
|
34696
34696
|
let n = e.getStyle();
|
|
34697
|
-
for (let r of (t = n.layers) == null ? [] : t)
|
|
34697
|
+
for (let r of (t = n.layers) == null ? [] : t) Qt(r) && e.setLayoutProperty(r.id, "text-field", qt);
|
|
34698
34698
|
}
|
|
34699
|
-
function
|
|
34700
|
-
if (
|
|
34701
|
-
let e = new
|
|
34702
|
-
|
|
34699
|
+
function en() {
|
|
34700
|
+
if (Kt) return Kt;
|
|
34701
|
+
let e = new ct();
|
|
34702
|
+
Kt = e;
|
|
34703
34703
|
try {
|
|
34704
|
-
(0,
|
|
34704
|
+
(0, Te.addProtocol)("pmtiles", e.tile);
|
|
34705
34705
|
} catch (e) {
|
|
34706
34706
|
console.warn("Maplibre PMTiles protocol registration failed.", e);
|
|
34707
34707
|
}
|
|
34708
34708
|
return e;
|
|
34709
34709
|
}
|
|
34710
|
-
function
|
|
34710
|
+
function tn({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i, onMapReady: a, onMapDimLayerReady: o, onMapLoadError: s, onPointerMissed: c, children: l }) {
|
|
34711
34711
|
let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(), p = (0, F.useRef)(a), h = (0, F.useRef)(o), g = (0, F.useRef)(s), _ = (0, F.useRef)({
|
|
34712
34712
|
geoConfig: t,
|
|
34713
34713
|
tileSource: n,
|
|
@@ -34720,7 +34720,7 @@ function Qt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34720
34720
|
let e = u.current;
|
|
34721
34721
|
if (!e) return;
|
|
34722
34722
|
let { geoConfig: t, tileSource: n, mapOptions: r, debug: i } = _.current, a = !1, o, s = () => {
|
|
34723
|
-
let s =
|
|
34723
|
+
let s = en(), c = t.bounds ? {
|
|
34724
34724
|
bounds: t.bounds,
|
|
34725
34725
|
fitBoundsOptions: {
|
|
34726
34726
|
padding: t.fitPadding,
|
|
@@ -34729,7 +34729,7 @@ function Qt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34729
34729
|
} : {
|
|
34730
34730
|
center: t.center,
|
|
34731
34731
|
zoom: t.zoom
|
|
34732
|
-
}, l =
|
|
34732
|
+
}, l = Vt(n.style, n.offline ? (e) => Rt(s, e) : void 0), u = new Te.Map({
|
|
34733
34733
|
container: e,
|
|
34734
34734
|
...c,
|
|
34735
34735
|
bearing: t.bearing,
|
|
@@ -34744,7 +34744,7 @@ function Qt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34744
34744
|
touchPitch: m.pitchEnabled,
|
|
34745
34745
|
canvasContextAttributes: { antialias: !0 }
|
|
34746
34746
|
});
|
|
34747
|
-
u.addControl(new
|
|
34747
|
+
u.addControl(new It()), u.addControl(new Ft(Ht)), t.zoomAdjustment && u.jumpTo({ zoom: u.getZoom() + t.zoomAdjustment }), u.once("error", (e) => {
|
|
34748
34748
|
var t, n;
|
|
34749
34749
|
u.isStyleLoaded() || (t = g.current) == null || t.call(g, (n = e == null ? void 0 : e.error) == null ? e : n);
|
|
34750
34750
|
});
|
|
@@ -34758,7 +34758,7 @@ function Qt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34758
34758
|
};
|
|
34759
34759
|
u.on("styleimagemissing", d);
|
|
34760
34760
|
let _, v = () => u.triggerRepaint(), y = {
|
|
34761
|
-
id:
|
|
34761
|
+
id: Gt,
|
|
34762
34762
|
type: "custom",
|
|
34763
34763
|
renderingMode: "3d",
|
|
34764
34764
|
onAdd(e, t) {
|
|
@@ -34772,18 +34772,18 @@ function Qt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34772
34772
|
}), (n = p.current) == null || n.call(p, u, v));
|
|
34773
34773
|
},
|
|
34774
34774
|
render(e, t) {
|
|
34775
|
-
let n =
|
|
34775
|
+
let n = Xt(t == null ? e : t);
|
|
34776
34776
|
n && (_ == null || _(n)), i && v();
|
|
34777
34777
|
}
|
|
34778
34778
|
}, b = () => {
|
|
34779
34779
|
var e;
|
|
34780
|
-
|
|
34780
|
+
$t(u), u.getSource(Wt) || u.addSource(Wt, {
|
|
34781
34781
|
type: "geojson",
|
|
34782
|
-
data:
|
|
34782
|
+
data: Jt
|
|
34783
34783
|
}), u.getLayer("expofp-map-dim") || u.addLayer({
|
|
34784
|
-
id:
|
|
34784
|
+
id: Ut,
|
|
34785
34785
|
type: "fill",
|
|
34786
|
-
source:
|
|
34786
|
+
source: Wt,
|
|
34787
34787
|
paint: {
|
|
34788
34788
|
"fill-color": "#000000",
|
|
34789
34789
|
"fill-opacity": 0,
|
|
@@ -34798,12 +34798,12 @@ function Qt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34798
34798
|
u.off("style.load", b), u.off("styleimagemissing", d), u.remove();
|
|
34799
34799
|
};
|
|
34800
34800
|
};
|
|
34801
|
-
return i ?
|
|
34801
|
+
return i ? ee().then(() => {
|
|
34802
34802
|
a || s();
|
|
34803
34803
|
}) : s(), () => {
|
|
34804
34804
|
a = !0, o == null || o(), f(void 0);
|
|
34805
34805
|
};
|
|
34806
|
-
}, []), /* @__PURE__ */ (0,
|
|
34806
|
+
}, []), /* @__PURE__ */ (0, G.jsx)("div", {
|
|
34807
34807
|
ref: u,
|
|
34808
34808
|
style: {
|
|
34809
34809
|
position: "absolute",
|
|
@@ -34812,7 +34812,7 @@ function Qt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34812
34812
|
width: "100%",
|
|
34813
34813
|
height: "100%"
|
|
34814
34814
|
},
|
|
34815
|
-
children: d && /* @__PURE__ */ (0,
|
|
34815
|
+
children: d && /* @__PURE__ */ (0, G.jsx)(D, {
|
|
34816
34816
|
...d,
|
|
34817
34817
|
scene: e,
|
|
34818
34818
|
debug: i,
|
|
@@ -34823,38 +34823,38 @@ function Qt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34823
34823
|
}
|
|
34824
34824
|
//#endregion
|
|
34825
34825
|
//#region src/components/Maplibre/utils/geo-config.ts
|
|
34826
|
-
var
|
|
34827
|
-
function
|
|
34826
|
+
var nn = .15, rn = 1.42, an = .35, on = .9, sn = .85, K = 8, q = .05;
|
|
34827
|
+
function cn(e, t, n, r) {
|
|
34828
34828
|
let i = Math.min(e.getZoom(), t);
|
|
34829
|
-
return i + (n - i) * Math.min(1, r /
|
|
34829
|
+
return i + (n - i) * Math.min(1, r / rn) >= e.getMinZoom() - q;
|
|
34830
34830
|
}
|
|
34831
|
-
function
|
|
34832
|
-
if (
|
|
34833
|
-
if (!
|
|
34834
|
-
let r =
|
|
34835
|
-
for (let a = 0; a <
|
|
34831
|
+
function J(e, t, n) {
|
|
34832
|
+
if (cn(e, t, n, rn)) return rn;
|
|
34833
|
+
if (!cn(e, t, n, an)) return null;
|
|
34834
|
+
let r = an, i = rn;
|
|
34835
|
+
for (let a = 0; a < K; a++) {
|
|
34836
34836
|
let a = (r + i) / 2;
|
|
34837
|
-
|
|
34837
|
+
cn(e, t, n, a) ? r = a : i = a;
|
|
34838
34838
|
}
|
|
34839
34839
|
return r;
|
|
34840
34840
|
}
|
|
34841
|
-
function
|
|
34841
|
+
function ln(e, t) {
|
|
34842
34842
|
let n = [
|
|
34843
|
-
|
|
34844
|
-
|
|
34845
|
-
|
|
34846
|
-
|
|
34843
|
+
se(e.min.x, e.min.y, t),
|
|
34844
|
+
se(e.max.x, e.min.y, t),
|
|
34845
|
+
se(e.max.x, e.max.y, t),
|
|
34846
|
+
se(e.min.x, e.max.y, t)
|
|
34847
34847
|
], r = n.map(([e]) => e), i = n.map(([, e]) => e);
|
|
34848
34848
|
return [[Math.min(...r), Math.min(...i)], [Math.max(...r), Math.max(...i)]];
|
|
34849
34849
|
}
|
|
34850
|
-
var
|
|
34851
|
-
function
|
|
34850
|
+
var un = 512;
|
|
34851
|
+
function dn(e, t, n, r, i) {
|
|
34852
34852
|
let a = [
|
|
34853
|
-
|
|
34854
|
-
|
|
34855
|
-
|
|
34856
|
-
|
|
34857
|
-
].map(([e, t]) =>
|
|
34853
|
+
se(e.min.x, e.min.y, t),
|
|
34854
|
+
se(e.max.x, e.min.y, t),
|
|
34855
|
+
se(e.max.x, e.max.y, t),
|
|
34856
|
+
se(e.min.x, e.max.y, t)
|
|
34857
|
+
].map(([e, t]) => Te.MercatorCoordinate.fromLngLat({
|
|
34858
34858
|
lng: e,
|
|
34859
34859
|
lat: t
|
|
34860
34860
|
}));
|
|
@@ -34863,15 +34863,15 @@ function J(e, t, n, r, i) {
|
|
|
34863
34863
|
if (d <= 0 || f <= 0) return null;
|
|
34864
34864
|
let p = r.width - i.left - i.right, m = r.height - i.top - i.bottom;
|
|
34865
34865
|
if (p <= 0 || m <= 0) return null;
|
|
34866
|
-
let h = Math.min(p / (d *
|
|
34866
|
+
let h = Math.min(p / (d * un), m / (f * un));
|
|
34867
34867
|
if (!(h > 0)) return null;
|
|
34868
|
-
let g =
|
|
34868
|
+
let g = un * h, _ = (Math.min(...l) + Math.max(...l)) / 2 - (i.left - i.right) / 2 / g, v = (Math.min(...u) + Math.max(...u)) / 2 - (i.top - i.bottom) / 2 / g, { lng: y, lat: b } = new Te.MercatorCoordinate(_ * s + v * c, -_ * c + v * s).toLngLat();
|
|
34869
34869
|
return {
|
|
34870
34870
|
center: [y, b],
|
|
34871
34871
|
zoom: Math.log2(h)
|
|
34872
34872
|
};
|
|
34873
34873
|
}
|
|
34874
|
-
function
|
|
34874
|
+
function fn(e, t) {
|
|
34875
34875
|
return {
|
|
34876
34876
|
top: e.top + t.top,
|
|
34877
34877
|
bottom: e.bottom + t.bottom,
|
|
@@ -34879,7 +34879,7 @@ function ln(e, t) {
|
|
|
34879
34879
|
right: e.right + t.right
|
|
34880
34880
|
};
|
|
34881
34881
|
}
|
|
34882
|
-
function
|
|
34882
|
+
function pn(e = 0) {
|
|
34883
34883
|
let t = m.canvasVisibleRectPx, n = m.screenSize;
|
|
34884
34884
|
return t ? {
|
|
34885
34885
|
top: Math.max(0, t.min.y) + e,
|
|
@@ -34893,15 +34893,15 @@ function un(e = 0) {
|
|
|
34893
34893
|
right: e
|
|
34894
34894
|
};
|
|
34895
34895
|
}
|
|
34896
|
-
function
|
|
34896
|
+
function mn(e, t, n) {
|
|
34897
34897
|
let r = e.project(t), i = e.getCanvas();
|
|
34898
34898
|
return r.x >= n.left && r.x <= i.clientWidth - n.right && r.y >= n.top && r.y <= i.clientHeight - n.bottom;
|
|
34899
34899
|
}
|
|
34900
|
-
function
|
|
34900
|
+
function hn() {
|
|
34901
34901
|
var e, t;
|
|
34902
|
-
let n = (e =
|
|
34902
|
+
let n = (e = ie()) == null || (e = e.properties) == null ? void 0 : e.config;
|
|
34903
34903
|
if (!n) return null;
|
|
34904
|
-
let r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a =
|
|
34904
|
+
let r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a = ae(n.p0, n.p2), o = Number.isFinite(a) ? a : (t = n.bearing) == null ? 0 : t;
|
|
34905
34905
|
return {
|
|
34906
34906
|
center: [r, i],
|
|
34907
34907
|
bearing: o,
|
|
@@ -34909,15 +34909,15 @@ function fn() {
|
|
|
34909
34909
|
gpsConfig: n
|
|
34910
34910
|
};
|
|
34911
34911
|
}
|
|
34912
|
-
function
|
|
34912
|
+
function gn(e, t, n, r = {}) {
|
|
34913
34913
|
var i, a;
|
|
34914
34914
|
if (!e || !t || !n || t.size.height === Infinity || t.size.width === Infinity || t.size.height <= 0 || t.size.width <= 0) return;
|
|
34915
|
-
let o =
|
|
34915
|
+
let o = ln(t, n.gpsConfig), s = e.getCanvas(), c = r.paddingPercent == null ? pn((i = r.padding) == null ? 50 : i) : fn(pn(0), {
|
|
34916
34916
|
top: s.clientHeight * r.paddingPercent,
|
|
34917
34917
|
bottom: s.clientHeight * r.paddingPercent,
|
|
34918
34918
|
left: s.clientWidth * r.paddingPercent,
|
|
34919
34919
|
right: s.clientWidth * r.paddingPercent
|
|
34920
|
-
}), l =
|
|
34920
|
+
}), l = dn(t, n.gpsConfig, n.bearing, {
|
|
34921
34921
|
width: s.clientWidth,
|
|
34922
34922
|
height: s.clientHeight
|
|
34923
34923
|
}, c);
|
|
@@ -34940,7 +34940,7 @@ function pn(e, t, n, r = {}) {
|
|
|
34940
34940
|
e.easeTo(g);
|
|
34941
34941
|
return;
|
|
34942
34942
|
}
|
|
34943
|
-
let _ = e.getBounds().extend(
|
|
34943
|
+
let _ = e.getBounds().extend(Te.LngLatBounds.convert(o)), v = e.cameraForBounds(_, {
|
|
34944
34944
|
padding: c,
|
|
34945
34945
|
bearing: n.bearing
|
|
34946
34946
|
});
|
|
@@ -34948,9 +34948,9 @@ function pn(e, t, n, r = {}) {
|
|
|
34948
34948
|
e.easeTo(g);
|
|
34949
34949
|
return;
|
|
34950
34950
|
}
|
|
34951
|
-
let y =
|
|
34951
|
+
let y = J(e, l.zoom, v.zoom);
|
|
34952
34952
|
if (y !== null) {
|
|
34953
|
-
let t = Math.max(
|
|
34953
|
+
let t = Math.max(an, y * on), n = Math.round(h * sn);
|
|
34954
34954
|
e.flyTo({
|
|
34955
34955
|
...g,
|
|
34956
34956
|
curve: t,
|
|
@@ -34962,49 +34962,49 @@ function pn(e, t, n, r = {}) {
|
|
|
34962
34962
|
}
|
|
34963
34963
|
//#endregion
|
|
34964
34964
|
//#region src/components/Maplibre/useCameraReactions.ts
|
|
34965
|
-
var
|
|
34966
|
-
function
|
|
34967
|
-
return
|
|
34965
|
+
var _n = m, vn = 15, yn = 24, bn = 20;
|
|
34966
|
+
function xn(e) {
|
|
34967
|
+
return de(e, pe(e, w())).expand(bn);
|
|
34968
34968
|
}
|
|
34969
|
-
function
|
|
34969
|
+
function Sn(e, t) {
|
|
34970
34970
|
return Math.min(Math.max(t, e.getMinZoom()), e.getMaxZoom());
|
|
34971
34971
|
}
|
|
34972
|
-
function
|
|
34972
|
+
function Cn(e, t, n) {
|
|
34973
34973
|
var r;
|
|
34974
34974
|
if (n.length !== 1) return !1;
|
|
34975
34975
|
let i = (r = n[0]) == null ? void 0 : r.id, a = p.poiMarkerStore.markers.find((e) => e.boothId === i);
|
|
34976
34976
|
if (!a) return !1;
|
|
34977
|
-
let o =
|
|
34978
|
-
return
|
|
34977
|
+
let o = se(a.center.x, a.center.y, t.gpsConfig);
|
|
34978
|
+
return mn(e, o, pn(yn)) || e.easeTo({
|
|
34979
34979
|
center: o,
|
|
34980
|
-
zoom:
|
|
34980
|
+
zoom: Sn(e, vn),
|
|
34981
34981
|
bearing: t.bearing,
|
|
34982
34982
|
duration: 500,
|
|
34983
34983
|
essential: !0
|
|
34984
34984
|
}), !0;
|
|
34985
34985
|
}
|
|
34986
|
-
function
|
|
34987
|
-
h(() =>
|
|
34986
|
+
function wn(e, t, n) {
|
|
34987
|
+
h(() => _n.moveToBooths, (n) => {
|
|
34988
34988
|
let r = e.current;
|
|
34989
34989
|
if (!n || !r || !t) return;
|
|
34990
34990
|
let i = n.filter((e) => e.rect);
|
|
34991
34991
|
if (i.length !== 0) {
|
|
34992
|
-
if (
|
|
34993
|
-
|
|
34992
|
+
if (Cn(r, t, i)) {
|
|
34993
|
+
_n.moveToBooths = null;
|
|
34994
34994
|
return;
|
|
34995
34995
|
}
|
|
34996
|
-
|
|
34996
|
+
gn(r, xn(T.fromUnion(...i.map((e) => e.rect))), t), _n.moveToBooths = null;
|
|
34997
34997
|
}
|
|
34998
|
-
}), h(() =>
|
|
34998
|
+
}), h(() => _n.moveToRect, (n) => {
|
|
34999
34999
|
let r = e.current;
|
|
35000
|
-
!n || !r || !t || (
|
|
35001
|
-
}), h(() =>
|
|
35000
|
+
!n || !r || !t || (gn(r, n, t, { paddingPercent: _n.moveToRectPaddingPercent }), _n.moveToRect = null, _n.moveToRectPaddingPercent = null);
|
|
35001
|
+
}), h(() => _n.zoomBy, (t) => {
|
|
35002
35002
|
let n = e.current;
|
|
35003
35003
|
!t || !n || (n.flyTo({
|
|
35004
35004
|
zoom: n.getZoom() + (t > 1 ? .5 : -.5),
|
|
35005
35005
|
animate: !0,
|
|
35006
35006
|
duration: 500
|
|
35007
|
-
}),
|
|
35007
|
+
}), _n.zoomBy = null);
|
|
35008
35008
|
}), h(() => [
|
|
35009
35009
|
m.moveToLocation,
|
|
35010
35010
|
p.maplibreStore.cameraPort,
|
|
@@ -35023,7 +35023,7 @@ function xn(e, t, n) {
|
|
|
35023
35023
|
if (s) c = [a, o];
|
|
35024
35024
|
else {
|
|
35025
35025
|
if (!t) return;
|
|
35026
|
-
c =
|
|
35026
|
+
c = se(i.x, i.y, t.gpsConfig);
|
|
35027
35027
|
}
|
|
35028
35028
|
r.flyTo({
|
|
35029
35029
|
center: c,
|
|
@@ -35034,14 +35034,14 @@ function xn(e, t, n) {
|
|
|
35034
35034
|
let i = e.current;
|
|
35035
35035
|
if (!(!r || !i || !t)) {
|
|
35036
35036
|
if (!(m.list.type === "search" && !m.list.text)) {
|
|
35037
|
-
let { rect: e } =
|
|
35037
|
+
let { rect: e } = me({
|
|
35038
35038
|
layerViewbox: p.layerStore.viewboxRectangle,
|
|
35039
|
-
explicitArea:
|
|
35039
|
+
explicitArea: v() ? w() : null,
|
|
35040
35040
|
layerRectangle: p.layerStore.rectangle,
|
|
35041
35041
|
sceneDef: n,
|
|
35042
|
-
svgArea:
|
|
35042
|
+
svgArea: w()
|
|
35043
35043
|
});
|
|
35044
|
-
|
|
35044
|
+
gn(i, e, t);
|
|
35045
35045
|
}
|
|
35046
35046
|
m.centerMap = !1;
|
|
35047
35047
|
}
|
|
@@ -35049,31 +35049,31 @@ function xn(e, t, n) {
|
|
|
35049
35049
|
}
|
|
35050
35050
|
//#endregion
|
|
35051
35051
|
//#region src/components/Maplibre/utils/map-theme.ts
|
|
35052
|
-
var
|
|
35053
|
-
function
|
|
35052
|
+
var Tn = 50;
|
|
35053
|
+
function En(e) {
|
|
35054
35054
|
return e === "light" || e === "dark";
|
|
35055
35055
|
}
|
|
35056
|
-
function
|
|
35056
|
+
function Dn(e) {
|
|
35057
35057
|
if (!e || e === "none") return "light";
|
|
35058
35058
|
try {
|
|
35059
|
-
return (0,
|
|
35059
|
+
return (0, we.default)(e).lightness() < Tn ? "dark" : "light";
|
|
35060
35060
|
} catch {
|
|
35061
35061
|
return "light";
|
|
35062
35062
|
}
|
|
35063
35063
|
}
|
|
35064
|
-
function
|
|
35065
|
-
return
|
|
35064
|
+
function On(e, t) {
|
|
35065
|
+
return En(e) ? e : Dn(t);
|
|
35066
35066
|
}
|
|
35067
35067
|
//#endregion
|
|
35068
35068
|
//#region src/components/Maplibre/utils/map-helpers.ts
|
|
35069
|
-
var
|
|
35070
|
-
function
|
|
35071
|
-
e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(
|
|
35069
|
+
var kn = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, An = { style: "https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json" };
|
|
35070
|
+
function jn(e, t) {
|
|
35071
|
+
e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(Ut, "fill-opacity", Mn(t)), e.triggerRepaint());
|
|
35072
35072
|
}
|
|
35073
|
-
function
|
|
35073
|
+
function Mn(e) {
|
|
35074
35074
|
return Math.min(Math.max(e, 0), 1);
|
|
35075
35075
|
}
|
|
35076
|
-
function
|
|
35076
|
+
function Nn(e, t) {
|
|
35077
35077
|
var n, r, i;
|
|
35078
35078
|
if (!e) return;
|
|
35079
35079
|
e.setMinZoom((n = t.minZoom) == null ? null : n), e.setMaxZoom((r = t.maxZoom) == null ? null : r), e.setMaxBounds((i = t.maxBounds) == null ? null : i);
|
|
@@ -35083,7 +35083,7 @@ function An(e, t) {
|
|
|
35083
35083
|
duration: m.mapSettings.pitchtime
|
|
35084
35084
|
}), l && e.once("moveend", () => e.setMaxPitch(o))) : e.jumpTo({ pitch: a }));
|
|
35085
35085
|
}
|
|
35086
|
-
function
|
|
35086
|
+
function Pn() {
|
|
35087
35087
|
var e, t, n;
|
|
35088
35088
|
let r = (e = (t = p.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
|
|
35089
35089
|
return r != null && r.style ? {
|
|
@@ -35092,42 +35092,42 @@ function jn() {
|
|
|
35092
35092
|
} : r != null && r.styleUrl ? {
|
|
35093
35093
|
style: r.styleUrl,
|
|
35094
35094
|
offline: r.offline
|
|
35095
|
-
} :
|
|
35095
|
+
} : On((n = ie()) == null || (n = n.properties) == null || (n = n.config) == null ? void 0 : n.style, x.backgroundColor) === "dark" ? An : kn;
|
|
35096
35096
|
}
|
|
35097
35097
|
//#endregion
|
|
35098
35098
|
//#region src/components/Maplibre/useDimming.ts
|
|
35099
|
-
function
|
|
35099
|
+
function Fn() {
|
|
35100
35100
|
return m.dimmed && !p.poiMarkerStore.dimSuppressed;
|
|
35101
35101
|
}
|
|
35102
|
-
function
|
|
35102
|
+
function In(e, t) {
|
|
35103
35103
|
let n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useCallback)((e) => {
|
|
35104
35104
|
var t, i;
|
|
35105
|
-
let a =
|
|
35105
|
+
let a = Fn();
|
|
35106
35106
|
(t = n.current) == null || t.setTarget(a, e), (i = r.current) == null || i.setTarget(a, e);
|
|
35107
35107
|
}, []);
|
|
35108
35108
|
return (0, F.useEffect)(() => {
|
|
35109
|
-
let i =
|
|
35110
|
-
|
|
35111
|
-
}), a =
|
|
35109
|
+
let i = xe((t) => {
|
|
35110
|
+
jn(e.current, t * Ce);
|
|
35111
|
+
}), a = xe((e) => {
|
|
35112
35112
|
let n = t.current;
|
|
35113
|
-
n &&
|
|
35113
|
+
n && ye(n, e * 1) && k(n.rootLayer);
|
|
35114
35114
|
});
|
|
35115
35115
|
return n.current = i, r.current = a, () => {
|
|
35116
35116
|
i.stop(), a.stop(), n.current = null, r.current = null;
|
|
35117
35117
|
};
|
|
35118
|
-
}, [e, t]), h(() =>
|
|
35118
|
+
}, [e, t]), h(() => Fn(), () => i()), {
|
|
35119
35119
|
mapDimAnimatorRef: n,
|
|
35120
35120
|
venueDimAnimatorRef: r,
|
|
35121
35121
|
applyDimmingTarget: i,
|
|
35122
35122
|
handleMapDimLayerReady: (0, F.useCallback)((e) => {
|
|
35123
35123
|
var t, r;
|
|
35124
|
-
|
|
35124
|
+
jn(e, ((t = (r = n.current) == null ? void 0 : r.getValue()) == null ? +!!Fn() : t) * Ce);
|
|
35125
35125
|
}, [])
|
|
35126
35126
|
};
|
|
35127
35127
|
}
|
|
35128
35128
|
//#endregion
|
|
35129
35129
|
//#region src/components/Maplibre/useKioskCameraEvents.ts
|
|
35130
|
-
function
|
|
35130
|
+
function Ln(e, t) {
|
|
35131
35131
|
(0, F.useEffect)(() => {
|
|
35132
35132
|
let n = t.current;
|
|
35133
35133
|
if (!e || !n) return;
|
|
@@ -35136,7 +35136,7 @@ function Pn(e, t) {
|
|
|
35136
35136
|
e.originalEvent && (r = !0, (t = (n = window).__resett) == null || t.call(n));
|
|
35137
35137
|
}, a = () => {
|
|
35138
35138
|
var e, t;
|
|
35139
|
-
|
|
35139
|
+
ce(), r && (r = !1, (e = (t = window).__resett) == null || e.call(t));
|
|
35140
35140
|
};
|
|
35141
35141
|
return n.on("movestart", i), n.on("moveend", a), () => {
|
|
35142
35142
|
n.off("movestart", i), n.off("moveend", a);
|
|
@@ -35145,26 +35145,26 @@ function Pn(e, t) {
|
|
|
35145
35145
|
}
|
|
35146
35146
|
//#endregion
|
|
35147
35147
|
//#region src/components/Maplibre/utils/layer-defs.ts
|
|
35148
|
-
function
|
|
35148
|
+
function Rn(e, t = /* @__PURE__ */ new Map()) {
|
|
35149
35149
|
var n;
|
|
35150
35150
|
if (e.name) {
|
|
35151
35151
|
var r;
|
|
35152
35152
|
let n = (r = t.get(e.name)) == null ? [] : r;
|
|
35153
35153
|
n.push(e), t.set(e.name, n);
|
|
35154
35154
|
}
|
|
35155
|
-
for (let r of (n = e.children) == null ? [] : n)
|
|
35155
|
+
for (let r of (n = e.children) == null ? [] : n) A(r) && Rn(r, t);
|
|
35156
35156
|
return t;
|
|
35157
35157
|
}
|
|
35158
35158
|
//#endregion
|
|
35159
35159
|
//#region src/components/Maplibre/useLayerVisibilitySync.ts
|
|
35160
|
-
function
|
|
35160
|
+
function zn(e, t, n) {
|
|
35161
35161
|
let r = (0, F.useRef)(null), i = (0, F.useRef)(null);
|
|
35162
35162
|
h(() => p.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
|
|
35163
35163
|
var a, o;
|
|
35164
35164
|
if (!e) return;
|
|
35165
35165
|
((a = r.current) == null ? void 0 : a.rootLayer) !== e.rootLayer && (r.current = {
|
|
35166
35166
|
rootLayer: e.rootLayer,
|
|
35167
|
-
defsByName:
|
|
35167
|
+
defsByName: Rn(e.rootLayer)
|
|
35168
35168
|
});
|
|
35169
35169
|
let s = r.current.defsByName, c = [];
|
|
35170
35170
|
for (let e of p.layerStore.layers) {
|
|
@@ -35174,12 +35174,12 @@ function In(e, t, n) {
|
|
|
35174
35174
|
n.hidden !== t && (n.hidden = t, c.push(n));
|
|
35175
35175
|
}
|
|
35176
35176
|
}
|
|
35177
|
-
c.length &&
|
|
35177
|
+
c.length && k(...c);
|
|
35178
35178
|
let l = p.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
|
|
35179
35179
|
if (!l || i.current === l.name) return;
|
|
35180
35180
|
i.current = l.name;
|
|
35181
35181
|
let u = (o = l.viewbox) == null ? l.rect : o;
|
|
35182
|
-
|
|
35182
|
+
gn(t.current, u == null ? null : u, n);
|
|
35183
35183
|
}, void 0, [
|
|
35184
35184
|
e,
|
|
35185
35185
|
t,
|
|
@@ -35188,30 +35188,30 @@ function In(e, t, n) {
|
|
|
35188
35188
|
}
|
|
35189
35189
|
//#endregion
|
|
35190
35190
|
//#region src/components/Maplibre/usePoiMarkers.ts
|
|
35191
|
-
var
|
|
35192
|
-
|
|
35193
|
-
|
|
35194
|
-
|
|
35195
|
-
|
|
35196
|
-
],
|
|
35197
|
-
function
|
|
35191
|
+
var Bn = "expofp-poi", Vn = "expofp-poi-clusters", Hn = "expofp-poi-cluster-count", Un = "expofp-poi-unclustered", Wn = "expofp-poi-selected", Gn = "expofp-poi-pinhead-image", Kn = [
|
|
35192
|
+
Vn,
|
|
35193
|
+
Hn,
|
|
35194
|
+
Un,
|
|
35195
|
+
Wn
|
|
35196
|
+
], qn = Kn.filter((e) => e !== Hn), Jn = (e) => `expofp-poi-icon-${e}`;
|
|
35197
|
+
function Yn(e, t, i) {
|
|
35198
35198
|
(0, F.useEffect)(() => {
|
|
35199
35199
|
var a;
|
|
35200
|
-
if (!
|
|
35200
|
+
if (!E()) return;
|
|
35201
35201
|
let o = t.current;
|
|
35202
35202
|
if (!e || !o || !i) return;
|
|
35203
|
-
let { gpsConfig: s } = i, c = /* @__PURE__ */ new Set(), l = window.devicePixelRatio || 1, d =
|
|
35203
|
+
let { gpsConfig: s } = i, c = /* @__PURE__ */ new Set(), l = window.devicePixelRatio || 1, d = N(40, l, ((a = x.colors) == null || (a = a.booths) == null ? void 0 : a.selected) || "#3b6ef5"), f = M(te, 40, l).tipOffset, m = M(O, 40, l).tipOffset, h = (e) => se(e.center.x, e.center.y, s), g = (e, t) => {
|
|
35204
35204
|
o.hasImage(e) && o.removeImage(e), o.addImage(e, t, { pixelRatio: l }), c.add(e);
|
|
35205
|
-
},
|
|
35206
|
-
let t = p.poiMarkerStore.markers, n = new Set(t.map((e) =>
|
|
35207
|
-
n.add(
|
|
35205
|
+
}, _ = (e) => {
|
|
35206
|
+
let t = p.poiMarkerStore.markers, n = new Set(t.map((e) => Jn(e.boothId)));
|
|
35207
|
+
n.add(Gn);
|
|
35208
35208
|
for (let e of [...c]) n.has(e) || (o.hasImage(e) && o.removeImage(e), c.delete(e));
|
|
35209
35209
|
for (let n of t) {
|
|
35210
|
-
let t =
|
|
35211
|
-
(e || !c.has(t)) &&
|
|
35210
|
+
let t = Jn(n.boothId);
|
|
35211
|
+
(e || !c.has(t)) && g(t, n.icon);
|
|
35212
35212
|
}
|
|
35213
|
-
c.has(
|
|
35214
|
-
},
|
|
35213
|
+
c.has(Gn) || g(Gn, d);
|
|
35214
|
+
}, v = () => {
|
|
35215
35215
|
let e = p.poiMarkerStore.selectedMarkerId, t = p.poiMarkerStore.outdoorFilter, n = !t.active, r = p.poiMarkerStore.markers;
|
|
35216
35216
|
return e === null ? t.active && (r = t.matchingMarkers) : r = r.filter((t) => t.boothId === e), {
|
|
35217
35217
|
cluster: n,
|
|
@@ -35221,17 +35221,17 @@ function Kn(e, t, i) {
|
|
|
35221
35221
|
type: "Feature",
|
|
35222
35222
|
geometry: {
|
|
35223
35223
|
type: "Point",
|
|
35224
|
-
coordinates:
|
|
35224
|
+
coordinates: h(t)
|
|
35225
35225
|
},
|
|
35226
35226
|
properties: {
|
|
35227
35227
|
boothId: t.boothId,
|
|
35228
|
-
icon:
|
|
35228
|
+
icon: Jn(t.boothId),
|
|
35229
35229
|
pinhead: t.boothId === e
|
|
35230
35230
|
}
|
|
35231
35231
|
}))
|
|
35232
35232
|
}
|
|
35233
35233
|
};
|
|
35234
|
-
},
|
|
35234
|
+
}, b = () => {
|
|
35235
35235
|
var e, t, n;
|
|
35236
35236
|
let r = null;
|
|
35237
35237
|
for (let n of (e = (t = o.getStyle()) == null ? void 0 : t.layers) == null ? [] : e) {
|
|
@@ -35244,17 +35244,17 @@ function Kn(e, t, i) {
|
|
|
35244
35244
|
}
|
|
35245
35245
|
}
|
|
35246
35246
|
return (n = r) == null ? ["Noto Sans Regular"] : n;
|
|
35247
|
-
},
|
|
35248
|
-
for (let e of
|
|
35249
|
-
o.getSource(
|
|
35250
|
-
},
|
|
35251
|
-
if (
|
|
35247
|
+
}, S = null, C = () => {
|
|
35248
|
+
for (let e of Kn) o.getLayer(e) && o.removeLayer(e);
|
|
35249
|
+
o.getSource(Bn) && o.removeSource(Bn), S = null;
|
|
35250
|
+
}, w = (e, t) => {
|
|
35251
|
+
if (S !== null && S !== t && C(), o.getSource(Bn) || (o.addSource(Bn, {
|
|
35252
35252
|
type: "geojson",
|
|
35253
35253
|
data: e,
|
|
35254
35254
|
cluster: t,
|
|
35255
35255
|
clusterRadius: 50,
|
|
35256
35256
|
clusterMinPoints: 3
|
|
35257
|
-
}),
|
|
35257
|
+
}), S = t), o.getLayer(Vn)) return;
|
|
35258
35258
|
let i = ["!", ["has", "point_count"]], a = [
|
|
35259
35259
|
"==",
|
|
35260
35260
|
[
|
|
@@ -35265,9 +35265,9 @@ function Kn(e, t, i) {
|
|
|
35265
35265
|
!0
|
|
35266
35266
|
];
|
|
35267
35267
|
o.addLayer({
|
|
35268
|
-
id:
|
|
35268
|
+
id: Vn,
|
|
35269
35269
|
type: "circle",
|
|
35270
|
-
source:
|
|
35270
|
+
source: Bn,
|
|
35271
35271
|
filter: ["has", "point_count"],
|
|
35272
35272
|
paint: {
|
|
35273
35273
|
"circle-radius": 36 / 2,
|
|
@@ -35277,22 +35277,22 @@ function Kn(e, t, i) {
|
|
|
35277
35277
|
"circle-pitch-alignment": "viewport"
|
|
35278
35278
|
}
|
|
35279
35279
|
}), o.addLayer({
|
|
35280
|
-
id:
|
|
35280
|
+
id: Hn,
|
|
35281
35281
|
type: "symbol",
|
|
35282
|
-
source:
|
|
35282
|
+
source: Bn,
|
|
35283
35283
|
filter: ["has", "point_count"],
|
|
35284
35284
|
layout: {
|
|
35285
35285
|
"text-field": ["get", "point_count_abbreviated"],
|
|
35286
|
-
"text-font":
|
|
35286
|
+
"text-font": b(),
|
|
35287
35287
|
"text-size": 14,
|
|
35288
35288
|
"text-allow-overlap": !0,
|
|
35289
35289
|
"text-ignore-placement": !0
|
|
35290
35290
|
},
|
|
35291
35291
|
paint: { "text-color": "#ffffff" }
|
|
35292
35292
|
}), o.addLayer({
|
|
35293
|
-
id:
|
|
35293
|
+
id: Un,
|
|
35294
35294
|
type: "symbol",
|
|
35295
|
-
source:
|
|
35295
|
+
source: Bn,
|
|
35296
35296
|
filter: [
|
|
35297
35297
|
"all",
|
|
35298
35298
|
i,
|
|
@@ -35301,39 +35301,41 @@ function Kn(e, t, i) {
|
|
|
35301
35301
|
layout: {
|
|
35302
35302
|
"icon-image": ["get", "icon"],
|
|
35303
35303
|
"icon-anchor": "bottom",
|
|
35304
|
+
"icon-offset": [0, f],
|
|
35304
35305
|
"icon-allow-overlap": !0,
|
|
35305
35306
|
"icon-ignore-placement": !0
|
|
35306
35307
|
}
|
|
35307
35308
|
}), o.addLayer({
|
|
35308
|
-
id:
|
|
35309
|
+
id: Wn,
|
|
35309
35310
|
type: "symbol",
|
|
35310
|
-
source:
|
|
35311
|
+
source: Bn,
|
|
35311
35312
|
filter: [
|
|
35312
35313
|
"all",
|
|
35313
35314
|
i,
|
|
35314
35315
|
a
|
|
35315
35316
|
],
|
|
35316
35317
|
layout: {
|
|
35317
|
-
"icon-image":
|
|
35318
|
+
"icon-image": Gn,
|
|
35318
35319
|
"icon-anchor": "bottom",
|
|
35320
|
+
"icon-offset": [0, m],
|
|
35319
35321
|
"icon-allow-overlap": !0,
|
|
35320
35322
|
"icon-ignore-placement": !0
|
|
35321
35323
|
}
|
|
35322
35324
|
});
|
|
35323
|
-
},
|
|
35324
|
-
if (!o.getLayer(
|
|
35325
|
-
let e =
|
|
35326
|
-
o.setPaintProperty(
|
|
35327
|
-
},
|
|
35325
|
+
}, D = () => {
|
|
35326
|
+
if (!o.getLayer(Vn)) return;
|
|
35327
|
+
let e = Fn() ? 1 - Ce : 1;
|
|
35328
|
+
o.setPaintProperty(Vn, "circle-opacity", e), o.setPaintProperty(Vn, "circle-stroke-opacity", e), o.setPaintProperty(Hn, "text-opacity", e), o.setPaintProperty(Un, "icon-opacity", e), o.setPaintProperty(Wn, "icon-opacity", e);
|
|
35329
|
+
}, k = (e = !1) => {
|
|
35328
35330
|
var t;
|
|
35329
|
-
|
|
35330
|
-
let { cluster: n, data: r } =
|
|
35331
|
-
|
|
35332
|
-
},
|
|
35331
|
+
_(e);
|
|
35332
|
+
let { cluster: n, data: r } = v();
|
|
35333
|
+
w(r, n), (t = o.getSource(Bn)) == null || t.setData(r), D();
|
|
35334
|
+
}, A = (e) => {
|
|
35333
35335
|
if (!e.length) return;
|
|
35334
|
-
let t =
|
|
35335
|
-
if (e.every((e) =>
|
|
35336
|
-
let n =
|
|
35336
|
+
let t = pn(50);
|
|
35337
|
+
if (e.every((e) => mn(o, h(e), t))) return;
|
|
35338
|
+
let n = ln(T.fromPoints(e.map((e) => e.center)), s), r = o.cameraForBounds(n, {
|
|
35337
35339
|
padding: t,
|
|
35338
35340
|
bearing: i.bearing
|
|
35339
35341
|
});
|
|
@@ -35344,15 +35346,15 @@ function Kn(e, t, i) {
|
|
|
35344
35346
|
duration: 500,
|
|
35345
35347
|
essential: !0
|
|
35346
35348
|
});
|
|
35347
|
-
},
|
|
35349
|
+
}, j = (e) => {
|
|
35348
35350
|
var t;
|
|
35349
35351
|
let n = (t = e.features) == null || (t = t[0]) == null || (t = t.properties) == null ? void 0 : t.boothId;
|
|
35350
35352
|
if (typeof n != "number") return;
|
|
35351
35353
|
let r = p.boothStore.boothById.get(n);
|
|
35352
35354
|
r && p.clickBooth(r);
|
|
35353
|
-
},
|
|
35355
|
+
}, ee = (e) => {
|
|
35354
35356
|
var t, n, r;
|
|
35355
|
-
let i = (t = e.features) == null ? void 0 : t[0], a = i == null || (n = i.properties) == null ? void 0 : n.cluster_id, s = o.getSource(
|
|
35357
|
+
let i = (t = e.features) == null ? void 0 : t[0], a = i == null || (n = i.properties) == null ? void 0 : n.cluster_id, s = o.getSource(Bn);
|
|
35356
35358
|
if (typeof a != "number" || !s || (i == null || (r = i.geometry) == null ? void 0 : r.type) !== "Point") return;
|
|
35357
35359
|
let [c = 0, l = 0] = i.geometry.coordinates;
|
|
35358
35360
|
s.getClusterExpansionZoom(a).then((e) => {
|
|
@@ -35363,23 +35365,23 @@ function Kn(e, t, i) {
|
|
|
35363
35365
|
});
|
|
35364
35366
|
});
|
|
35365
35367
|
};
|
|
35366
|
-
o.on("click",
|
|
35367
|
-
let n =
|
|
35368
|
+
o.on("click", Un, j), o.on("click", Wn, j), o.on("click", Vn, ee), y.set((e, t) => {
|
|
35369
|
+
let n = qn.filter((e) => !!o.getLayer(e));
|
|
35368
35370
|
if (!n.length) return !1;
|
|
35369
|
-
let r = o.project(
|
|
35371
|
+
let r = o.project(se(e, t, s));
|
|
35370
35372
|
return o.queryRenderedFeatures([r.x, r.y], { layers: n }).length > 0;
|
|
35371
35373
|
});
|
|
35372
|
-
let
|
|
35373
|
-
c.clear(),
|
|
35374
|
+
let P = () => {
|
|
35375
|
+
c.clear(), k(!0);
|
|
35374
35376
|
};
|
|
35375
|
-
o.on("style.load",
|
|
35376
|
-
let
|
|
35377
|
-
|
|
35378
|
-
}),
|
|
35379
|
-
return
|
|
35380
|
-
|
|
35377
|
+
o.on("style.load", P);
|
|
35378
|
+
let ne = u(() => p.poiMarkerStore.markers, () => k(!0)), re = u(() => p.poiMarkerStore.selectedMarkerId, () => k()), ie = u(() => p.poiMarkerStore.outdoorFilter.key, () => {
|
|
35379
|
+
k(), A(p.poiMarkerStore.outdoorFilter.matchingMarkers);
|
|
35380
|
+
}), ae = u(() => Fn(), () => D());
|
|
35381
|
+
return k(!0), () => {
|
|
35382
|
+
ne(), re(), ie(), ae(), y.set(null), o.off("style.load", P), o.off("click", Un, j), o.off("click", Wn, j), o.off("click", Vn, ee);
|
|
35381
35383
|
try {
|
|
35382
|
-
|
|
35384
|
+
C();
|
|
35383
35385
|
for (let e of c) o.hasImage(e) && o.removeImage(e);
|
|
35384
35386
|
} catch {}
|
|
35385
35387
|
};
|
|
@@ -35391,14 +35393,14 @@ function Kn(e, t, i) {
|
|
|
35391
35393
|
}
|
|
35392
35394
|
//#endregion
|
|
35393
35395
|
//#region src/components/Maplibre/useWayfindingAndMarkers.ts
|
|
35394
|
-
function
|
|
35396
|
+
function Xn(e, t) {
|
|
35395
35397
|
(0, F.useEffect)(() => {
|
|
35396
35398
|
if (!e) return;
|
|
35397
|
-
let n =
|
|
35399
|
+
let n = oe({
|
|
35398
35400
|
scene: e,
|
|
35399
35401
|
store: p,
|
|
35400
35402
|
canvas: t
|
|
35401
|
-
}), r =
|
|
35403
|
+
}), r = ve({ scene: e });
|
|
35402
35404
|
return () => {
|
|
35403
35405
|
n(), r();
|
|
35404
35406
|
};
|
|
@@ -35406,17 +35408,17 @@ function qn(e, t) {
|
|
|
35406
35408
|
}
|
|
35407
35409
|
//#endregion
|
|
35408
35410
|
//#region src/components/Maplibre/utils/solver.ts
|
|
35409
|
-
var
|
|
35410
|
-
function
|
|
35411
|
+
var Zn = 1e-12, Qn = 3.28084, $n = 6371e3, er = 1, tr = .02;
|
|
35412
|
+
function nr(e, t) {
|
|
35411
35413
|
var n;
|
|
35412
35414
|
let r, i;
|
|
35413
35415
|
try {
|
|
35414
|
-
r =
|
|
35416
|
+
r = or(e), i = "perpendicular";
|
|
35415
35417
|
} catch (t) {
|
|
35416
35418
|
if (!e.p1) throw t;
|
|
35417
35419
|
r = e.p1, i = "explicit-fallback";
|
|
35418
35420
|
}
|
|
35419
|
-
let a =
|
|
35421
|
+
let a = rr(e);
|
|
35420
35422
|
i === "perpendicular" && a != null && a.inconsistent && console.warn("Maplibre geo: ignoring inconsistent anchor p1; placing venue from the p0->p2 diagonal.", {
|
|
35421
35423
|
angleErrorDeg: a.angleErrorDeg,
|
|
35422
35424
|
sideRatioError: a.ratioError
|
|
@@ -35427,9 +35429,9 @@ function $n(e, t) {
|
|
|
35427
35429
|
e.p2
|
|
35428
35430
|
], s = [], c = [], l = [];
|
|
35429
35431
|
for (let e of o) {
|
|
35430
|
-
|
|
35431
|
-
let t =
|
|
35432
|
-
|
|
35432
|
+
sr(e), c.push([e.x, e.y]);
|
|
35433
|
+
let t = Te.MercatorCoordinate.fromLngLat([e.lng, e.lat], 0), n = t.meterInMercatorCoordinateUnits();
|
|
35434
|
+
cr(t.x), cr(t.y), cr(n), s.push(n), l.push([t.x, t.y]);
|
|
35433
35435
|
}
|
|
35434
35436
|
let u = [], d = [];
|
|
35435
35437
|
for (let e = 0; e < 3; e++) {
|
|
@@ -35450,7 +35452,7 @@ function $n(e, t) {
|
|
|
35450
35452
|
1
|
|
35451
35453
|
]), d.push(i);
|
|
35452
35454
|
}
|
|
35453
|
-
let [f, p, m, h, g, _] =
|
|
35455
|
+
let [f, p, m, h, g, _] = mr(u, d), v = (t == null || (n = t.toLowerCase) == null ? void 0 : n.call(t).trim()) === "ft" ? 1 / Qn : 1, y = [
|
|
35454
35456
|
f,
|
|
35455
35457
|
h,
|
|
35456
35458
|
0,
|
|
@@ -35471,34 +35473,34 @@ function $n(e, t) {
|
|
|
35471
35473
|
if (!y.every(Number.isFinite)) throw Error("Cannot calculate Maplibre transform: geo anchor points produced a non-finite matrix.");
|
|
35472
35474
|
return y;
|
|
35473
35475
|
}
|
|
35474
|
-
function
|
|
35476
|
+
function rr(e) {
|
|
35475
35477
|
let t = e.p1;
|
|
35476
35478
|
if (!t) return null;
|
|
35477
|
-
let n =
|
|
35479
|
+
let n = ir(e.p0.x, e.p0.y, t.x, t.y, e.p2.x, e.p2.y), r = ar(e.p0, t, e.p2), i = Math.abs(n.angleDeg - r.angleDeg), a = Number.isFinite(r.axisRatio) && r.axisRatio > 0 ? Math.abs(n.axisRatio / r.axisRatio - 1) : Infinity;
|
|
35478
35480
|
return {
|
|
35479
35481
|
angleErrorDeg: i,
|
|
35480
35482
|
ratioError: a,
|
|
35481
|
-
inconsistent: i >
|
|
35483
|
+
inconsistent: i > er || a > tr
|
|
35482
35484
|
};
|
|
35483
35485
|
}
|
|
35484
|
-
function
|
|
35486
|
+
function ir(e, t, n, r, i, a) {
|
|
35485
35487
|
let o = Math.hypot(n - e, r - t), s = Math.hypot(i - e, a - t), c = (n - e) * (i - e) + (r - t) * (a - t), l = o > 0 && s > 0 ? c / (o * s) : NaN;
|
|
35486
35488
|
return {
|
|
35487
35489
|
axisRatio: o > 0 ? s / o : Infinity,
|
|
35488
|
-
angleDeg:
|
|
35490
|
+
angleDeg: ur(Math.acos(Math.max(-1, Math.min(1, l))))
|
|
35489
35491
|
};
|
|
35490
35492
|
}
|
|
35491
|
-
function
|
|
35492
|
-
let r =
|
|
35493
|
+
function ar(e, t, n) {
|
|
35494
|
+
let r = dr(e.lat, e.lng, t.lat, t.lng), i = dr(e.lat, e.lng, n.lat, n.lng), a = fr(e.lat, e.lng, t.lat, t.lng), o = fr(e.lat, e.lng, n.lat, n.lng), s = Math.abs(o - a) % 360;
|
|
35493
35495
|
return s > 180 && (s = 360 - s), {
|
|
35494
35496
|
axisRatio: r > 0 ? i / r : Infinity,
|
|
35495
35497
|
angleDeg: s
|
|
35496
35498
|
};
|
|
35497
35499
|
}
|
|
35498
|
-
function
|
|
35500
|
+
function or(e) {
|
|
35499
35501
|
let t = e.p2.x - e.p0.x, n = e.p2.y - e.p0.y;
|
|
35500
35502
|
if (t === 0 && n === 0) throw Error("Cannot calculate Maplibre transform: p0 and p2 have identical SVG coordinates.");
|
|
35501
|
-
let r = e.p0.x - n, i = e.p0.y + t, a =
|
|
35503
|
+
let r = e.p0.x - n, i = e.p0.y + t, a = dr(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), o = fr(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), [s, c] = pr(e.p0.lat, e.p0.lng, a, o + 90);
|
|
35502
35504
|
return {
|
|
35503
35505
|
x: r,
|
|
35504
35506
|
y: i,
|
|
@@ -35506,36 +35508,36 @@ function rr(e) {
|
|
|
35506
35508
|
lng: s
|
|
35507
35509
|
};
|
|
35508
35510
|
}
|
|
35509
|
-
function
|
|
35510
|
-
|
|
35511
|
+
function sr(e) {
|
|
35512
|
+
cr(e.x), cr(e.y), cr(e.lat), cr(e.lng);
|
|
35511
35513
|
}
|
|
35512
|
-
function
|
|
35514
|
+
function cr(e) {
|
|
35513
35515
|
if (!Number.isFinite(e)) throw Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.");
|
|
35514
35516
|
}
|
|
35515
|
-
function
|
|
35517
|
+
function lr(e) {
|
|
35516
35518
|
return e * Math.PI / 180;
|
|
35517
35519
|
}
|
|
35518
|
-
function
|
|
35520
|
+
function ur(e) {
|
|
35519
35521
|
return e * 180 / Math.PI;
|
|
35520
35522
|
}
|
|
35521
|
-
function
|
|
35522
|
-
let i =
|
|
35523
|
-
return
|
|
35523
|
+
function dr(e, t, n, r) {
|
|
35524
|
+
let i = lr(e), a = lr(n), o = lr(n - e), s = lr(r - t), c = Math.sin(o / 2) * Math.sin(o / 2) + Math.cos(i) * Math.cos(a) * Math.sin(s / 2) * Math.sin(s / 2);
|
|
35525
|
+
return $n * (2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)));
|
|
35524
35526
|
}
|
|
35525
|
-
function
|
|
35526
|
-
let i =
|
|
35527
|
-
return (
|
|
35527
|
+
function fr(e, t, n, r) {
|
|
35528
|
+
let i = lr(e), a = lr(n), o = lr(r - t), s = Math.sin(o) * Math.cos(a), c = Math.cos(i) * Math.sin(a) - Math.sin(i) * Math.cos(a) * Math.cos(o);
|
|
35529
|
+
return (ur(Math.atan2(s, c)) + 360) % 360;
|
|
35528
35530
|
}
|
|
35529
|
-
function
|
|
35530
|
-
let i = n /
|
|
35531
|
-
return [
|
|
35531
|
+
function pr(e, t, n, r) {
|
|
35532
|
+
let i = n / $n, a = lr(r), o = lr(e), s = lr(t), c = Math.asin(Math.sin(o) * Math.cos(i) + Math.cos(o) * Math.sin(i) * Math.cos(a));
|
|
35533
|
+
return [ur(s + Math.atan2(Math.sin(a) * Math.sin(i) * Math.cos(o), Math.cos(i) - Math.sin(o) * Math.sin(c))), ur(c)];
|
|
35532
35534
|
}
|
|
35533
|
-
function
|
|
35535
|
+
function mr(e, t) {
|
|
35534
35536
|
let n = e.length, r = e.map((e, n) => [...e, t[n]]);
|
|
35535
35537
|
for (let e = 0; e < n; e++) {
|
|
35536
35538
|
let t = e;
|
|
35537
35539
|
for (let i = e + 1; i < n; i++) Math.abs(r[i][e]) > Math.abs(r[t][e]) && (t = i);
|
|
35538
|
-
if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) <
|
|
35540
|
+
if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < Zn) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
|
|
35539
35541
|
for (let t = e + 1; t < n; t++) {
|
|
35540
35542
|
let i = r[t][e] / r[e][e];
|
|
35541
35543
|
for (let a = e; a <= n; a++) r[t][a] -= i * r[e][a];
|
|
@@ -35551,8 +35553,8 @@ function dr(e, t) {
|
|
|
35551
35553
|
}
|
|
35552
35554
|
//#endregion
|
|
35553
35555
|
//#region src/components/Maplibre/MaplibreAdapter.tsx
|
|
35554
|
-
var
|
|
35555
|
-
function
|
|
35556
|
+
var hr = "routes-api.expofp.com", gr = 800;
|
|
35557
|
+
function _r(e, t, n) {
|
|
35556
35558
|
return {
|
|
35557
35559
|
getCameraState: () => {
|
|
35558
35560
|
let t = e.getCenter();
|
|
@@ -35571,7 +35573,7 @@ function mr(e, t, n) {
|
|
|
35571
35573
|
zoom: r.zoom,
|
|
35572
35574
|
bearing: (i = r.bearing) == null ? t : i,
|
|
35573
35575
|
pitch: (a = r.pitch) == null ? n() : a,
|
|
35574
|
-
duration:
|
|
35576
|
+
duration: gr,
|
|
35575
35577
|
essential: !0
|
|
35576
35578
|
});
|
|
35577
35579
|
},
|
|
@@ -35581,26 +35583,26 @@ function mr(e, t, n) {
|
|
|
35581
35583
|
}
|
|
35582
35584
|
};
|
|
35583
35585
|
}
|
|
35584
|
-
function
|
|
35586
|
+
function vr() {
|
|
35585
35587
|
p.poiMarkerStore.clear(), d(() => {
|
|
35586
35588
|
p.layerStore.layers.forEach((e) => {
|
|
35587
35589
|
e.configured = !1, e.children = [], e.loaded = !1;
|
|
35588
35590
|
}), p.layerStore.layersLoaded = !1;
|
|
35589
35591
|
});
|
|
35590
35592
|
}
|
|
35591
|
-
var
|
|
35593
|
+
var yr = () => m.overlayPosition === "bottom", br = f(function({ viewMode: e }) {
|
|
35592
35594
|
var t;
|
|
35593
|
-
let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null), s = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useMemo)(() =>
|
|
35595
|
+
let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null), s = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useMemo)(() => hn(), []), _ = (0, F.useMemo)(() => me({
|
|
35594
35596
|
layerViewbox: p.layerStore.viewboxRectangle,
|
|
35595
|
-
explicitArea:
|
|
35597
|
+
explicitArea: v() ? w() : null,
|
|
35596
35598
|
layerRectangle: p.layerStore.rectangle,
|
|
35597
35599
|
sceneDef: n,
|
|
35598
|
-
svgArea:
|
|
35599
|
-
}), [n]),
|
|
35600
|
+
svgArea: w()
|
|
35601
|
+
}), [n]), y = _.rect, T = (0, F.useMemo)(() => {
|
|
35600
35602
|
if (!g) return null;
|
|
35601
|
-
let e =
|
|
35603
|
+
let e = ue(_.source) ? 0 : pe(y, w()), t = pn(0);
|
|
35602
35604
|
e && m.screenSize && (t.left += m.screenSize.width * e, t.right += m.screenSize.width * e, t.top += m.screenSize.height * e, t.bottom += m.screenSize.height * e);
|
|
35603
|
-
let n = m.screenSize ?
|
|
35605
|
+
let n = m.screenSize ? dn(y, g.gpsConfig, g.bearing, {
|
|
35604
35606
|
width: m.screenSize.width,
|
|
35605
35607
|
height: m.screenSize.height
|
|
35606
35608
|
}, t) : null;
|
|
@@ -35612,31 +35614,31 @@ var gr = () => m.overlayPosition === "bottom", _r = f(function({ viewMode: e })
|
|
|
35612
35614
|
center: g.center,
|
|
35613
35615
|
bearing: g.bearing,
|
|
35614
35616
|
zoom: g.zoom,
|
|
35615
|
-
bounds:
|
|
35617
|
+
bounds: ln(y, g.gpsConfig),
|
|
35616
35618
|
fitPadding: t,
|
|
35617
|
-
zoomAdjustment:
|
|
35619
|
+
zoomAdjustment: nn
|
|
35618
35620
|
};
|
|
35619
35621
|
}, [
|
|
35620
35622
|
g,
|
|
35621
35623
|
_,
|
|
35622
|
-
|
|
35623
|
-
]),
|
|
35624
|
+
y
|
|
35625
|
+
]), E = (0, F.useMemo)(() => {
|
|
35624
35626
|
var e;
|
|
35625
|
-
return g ?
|
|
35626
|
-
}, [g]),
|
|
35627
|
+
return g ? nr(g.gpsConfig, (e = b()) == null ? void 0 : e.getAttribute("units")) : null;
|
|
35628
|
+
}, [g]), D = m.mapSettings.pitchdegrees, O = m.maxPitch, k = (0, F.useMemo)(() => {
|
|
35627
35629
|
let t = e === "map2d";
|
|
35628
35630
|
return {
|
|
35629
|
-
pitch: t ? 0 :
|
|
35630
|
-
maxPitch: t ? 0 :
|
|
35631
|
+
pitch: t ? 0 : D,
|
|
35632
|
+
maxPitch: t ? 0 : O,
|
|
35631
35633
|
minZoom: 12
|
|
35632
35634
|
};
|
|
35633
35635
|
}, [
|
|
35634
35636
|
e,
|
|
35635
|
-
|
|
35636
|
-
|
|
35637
|
-
]),
|
|
35638
|
-
if (!n || !
|
|
35639
|
-
let e = n.rootLayer.children, t =
|
|
35637
|
+
D,
|
|
35638
|
+
O
|
|
35639
|
+
]), A = (0, F.useRef)(k), j = (0, F.useMemo)(() => Pn(), []), M = (0, F.useMemo)(() => {
|
|
35640
|
+
if (!n || !E) return null;
|
|
35641
|
+
let e = n.rootLayer.children, t = P(e) ? e.filter((e) => e.name.toLowerCase() !== "areamap") : e;
|
|
35640
35642
|
return {
|
|
35641
35643
|
...n,
|
|
35642
35644
|
rootLayer: {
|
|
@@ -35644,44 +35646,44 @@ var gr = () => m.overlayPosition === "bottom", _r = f(function({ viewMode: e })
|
|
|
35644
35646
|
children: t
|
|
35645
35647
|
},
|
|
35646
35648
|
background: void 0,
|
|
35647
|
-
staticTransform:
|
|
35649
|
+
staticTransform: E
|
|
35648
35650
|
};
|
|
35649
|
-
}, [n,
|
|
35651
|
+
}, [n, E]), N = (0, F.useRef)(null);
|
|
35650
35652
|
(0, F.useEffect)(() => {
|
|
35651
|
-
|
|
35652
|
-
}, [
|
|
35653
|
-
if (
|
|
35654
|
-
}, [
|
|
35655
|
-
let { mapDimAnimatorRef:
|
|
35653
|
+
N.current = M;
|
|
35654
|
+
}, [M]), (0, F.useEffect)(() => {
|
|
35655
|
+
if (M) return fe(M), () => fe(void 0);
|
|
35656
|
+
}, [M]);
|
|
35657
|
+
let { mapDimAnimatorRef: ee, venueDimAnimatorRef: te, applyDimmingTarget: ie, handleMapDimLayerReady: ae } = In(o, N);
|
|
35656
35658
|
(0, F.useEffect)(() => {
|
|
35657
35659
|
if (!g) return;
|
|
35658
35660
|
let e = !1;
|
|
35659
|
-
|
|
35661
|
+
vr(), ge().then(({ layers: t, cleanup: n }) => {
|
|
35660
35662
|
if (e) {
|
|
35661
35663
|
n();
|
|
35662
35664
|
return;
|
|
35663
35665
|
}
|
|
35664
35666
|
d.current = n;
|
|
35665
|
-
let i = (0,
|
|
35666
|
-
r(S(t,
|
|
35667
|
+
let i = (0, we.default)(x.backgroundColor === "none" ? "#ebebeb" : x.backgroundColor).string();
|
|
35668
|
+
r(S(t, w(), i));
|
|
35667
35669
|
}).catch((t) => {
|
|
35668
35670
|
e || console.warn("Maplibre scene configuration failed.", t);
|
|
35669
35671
|
});
|
|
35670
|
-
let t =
|
|
35672
|
+
let t = ee.current, n = te.current;
|
|
35671
35673
|
return () => {
|
|
35672
35674
|
var r;
|
|
35673
|
-
e = !0,
|
|
35675
|
+
e = !0, vr(), (r = d.current) == null || r.call(d), d.current = null, h.current && (p.maplibreStore.clearCameraPortIfCurrent(h.current), h.current = null), o.current = null, s.current = null, f.current = null, a(!1), t == null || t.stop(), n == null || n.stop(), m.sceneDefReady = !1;
|
|
35674
35676
|
};
|
|
35675
35677
|
}, [
|
|
35676
35678
|
g,
|
|
35677
|
-
|
|
35678
|
-
|
|
35679
|
+
ee,
|
|
35680
|
+
te
|
|
35679
35681
|
]);
|
|
35680
|
-
let
|
|
35682
|
+
let oe = (0, F.useCallback)((e, t) => {
|
|
35681
35683
|
var n;
|
|
35682
35684
|
o.current = e, s.current = e.getCanvas(), f.current = t, a(!0);
|
|
35683
35685
|
let r = u(() => ({
|
|
35684
|
-
popover:
|
|
35686
|
+
popover: yr(),
|
|
35685
35687
|
listTopPx: m.mobileToggleTopPx
|
|
35686
35688
|
}), ({ popover: t, listTopPx: n }) => {
|
|
35687
35689
|
let r = e.getContainer();
|
|
@@ -35690,46 +35692,46 @@ var gr = () => m.overlayPosition === "bottom", _r = f(function({ viewMode: e })
|
|
|
35690
35692
|
equals: l.structural,
|
|
35691
35693
|
fireImmediately: !0
|
|
35692
35694
|
});
|
|
35693
|
-
e.once("remove", r), e.once("idle", () =>
|
|
35694
|
-
let i =
|
|
35695
|
+
e.once("remove", r), e.once("idle", () => Nn(e, A.current));
|
|
35696
|
+
let i = _r(e, (n = g == null ? void 0 : g.bearing) == null ? e.getBearing() : n, () => {
|
|
35695
35697
|
var e;
|
|
35696
|
-
return (e =
|
|
35698
|
+
return (e = A.current.pitch) == null ? 0 : e;
|
|
35697
35699
|
});
|
|
35698
|
-
h.current = i, p.maplibreStore.setCameraPort(i), p.fp.getCenterCoordinates = () =>
|
|
35699
|
-
}, [
|
|
35700
|
+
h.current = i, p.maplibreStore.setCameraPort(i), p.fp.getCenterCoordinates = () => le(s.current), ie({ immediate: !0 }), ne(), p.layerStore.layersLoaded = !0, p.fp.onFpConfigured && p.fp.onFpConfigured(), m.sceneDefReady = !0, t();
|
|
35701
|
+
}, [ie, g]);
|
|
35700
35702
|
(0, F.useEffect)(() => {
|
|
35701
|
-
|
|
35702
|
-
}, [
|
|
35703
|
+
A.current = k, Nn(o.current, k);
|
|
35704
|
+
}, [k]), Ln(i, o), Xn(M, s), Yn(i, o, g), zn(M, o, g), wn(o, g, M), he({
|
|
35703
35705
|
enabled: p.layerStore.layersLoaded && m.buildRoute,
|
|
35704
|
-
scene:
|
|
35706
|
+
scene: M == null ? void 0 : M
|
|
35705
35707
|
});
|
|
35706
|
-
let
|
|
35707
|
-
|
|
35708
|
-
permission: p.layerStore.layersLoaded &&
|
|
35709
|
-
scene:
|
|
35710
|
-
dataJsonUrl: `https://${
|
|
35711
|
-
websocketUrl: `wss://${
|
|
35708
|
+
let se = (t = C.busRoutes) != null && t;
|
|
35709
|
+
_e({
|
|
35710
|
+
permission: p.layerStore.layersLoaded && se,
|
|
35711
|
+
scene: M == null ? void 0 : M,
|
|
35712
|
+
dataJsonUrl: `https://${hr}/v1/routes?expo=${x.EXPO}`,
|
|
35713
|
+
websocketUrl: `wss://${hr}/locations?expo=${x.EXPO}`
|
|
35712
35714
|
});
|
|
35713
|
-
let
|
|
35715
|
+
let ce = (0, F.useCallback)((e) => {
|
|
35714
35716
|
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), p.maplibreStore.deactivateMaplibre();
|
|
35715
35717
|
}, []);
|
|
35716
|
-
if (!g || !
|
|
35717
|
-
let
|
|
35718
|
-
return /* @__PURE__ */ (0,
|
|
35719
|
-
sceneDef:
|
|
35720
|
-
geoConfig:
|
|
35721
|
-
tileSource:
|
|
35722
|
-
mapOptions:
|
|
35718
|
+
if (!g || !T || !E || !M) return null;
|
|
35719
|
+
let de = `${T.center.join(",")}:${T.bearing}:${T.zoom}`;
|
|
35720
|
+
return /* @__PURE__ */ (0, G.jsxs)(tn, {
|
|
35721
|
+
sceneDef: M,
|
|
35722
|
+
geoConfig: T,
|
|
35723
|
+
tileSource: j,
|
|
35724
|
+
mapOptions: k,
|
|
35723
35725
|
debug: c,
|
|
35724
|
-
onMapReady:
|
|
35726
|
+
onMapReady: oe,
|
|
35725
35727
|
onMapDimLayerReady: ae,
|
|
35726
|
-
onMapLoadError:
|
|
35727
|
-
onPointerMissed:
|
|
35728
|
-
children: [/* @__PURE__ */ (0,
|
|
35729
|
-
},
|
|
35728
|
+
onMapLoadError: ce,
|
|
35729
|
+
onPointerMissed: re,
|
|
35730
|
+
children: [/* @__PURE__ */ (0, G.jsx)(be, {}), c && /* @__PURE__ */ (0, G.jsx)(Se, { canvas: s })]
|
|
35731
|
+
}, de);
|
|
35730
35732
|
});
|
|
35731
35733
|
//#endregion
|
|
35732
|
-
export {
|
|
35734
|
+
export { br as default };
|
|
35733
35735
|
|
|
35734
35736
|
;/* vite-per-chunk-css */
|
|
35735
35737
|
__vite_inject_css__(".maplibregl-map{-webkit-tap-highlight-color:#0000;font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;position:relative;overflow:hidden}.maplibregl-canvas{position:absolute;top:0;left:0}.maplibregl-map:-webkit-full-screen{width:100%;height:100%}.maplibregl-map:fullscreen{width:100%;height:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;z-index:2;position:absolute}.maplibregl-ctrl-top-left{top:0;left:0}.maplibregl-ctrl-top-right{top:0;right:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px buttontext}}.maplibregl-ctrl-group button{box-sizing:border-box;cursor:pointer;background-color:#0000;border:0;outline:none;width:29px;height:29px;padding:0;display:block}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;width:100%;height:100%;display:block}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:#0000}.maplibregl-ctrl-group button+button{border-top:1px solid buttontext}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}@media (hover:hover){.maplibregl-ctrl button:not(:disabled):hover{background-color:#0000000d}}.maplibregl-ctrl button:not(:disabled):active{background-color:#0000000d}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E\")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E\")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E\")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E\")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E\")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E\")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E\")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E\")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E\")}}.maplibregl-ctrl button.maplibregl-ctrl-globe .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23333' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-globe-enabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%2333b5e5' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:2s linear infinite maplibregl-spin}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E\")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E\")}}@keyframes maplibregl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{cursor:pointer;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E\");background-repeat:no-repeat;width:88px;height:23px;margin:0 0 -4px -4px;display:block;overflow:hidden}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:#0000;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E\")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E\")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{box-sizing:content-box;color:#000;background-color:#fff;border-radius:12px;min-height:20px;margin:10px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{visibility:visible;padding:2px 28px 2px 8px}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{box-sizing:border-box;cursor:pointer;background-color:#ffffff80;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E\");border:0;border-radius:12px;outline:none;width:24px;height:24px;display:none;position:absolute;top:0;right:0}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:#0000000d}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;right:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;left:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E\")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E\")}}.maplibregl-ctrl-attrib a{color:#000000bf;text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{box-sizing:border-box;color:#333;white-space:nowrap;background-color:#ffffffbf;border:2px solid #333;border-top:#333;padding:0 5px;font-size:10px}.maplibregl-popup{pointer-events:none;will-change:transform;display:flex;position:absolute;top:0;left:0}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{z-index:1;border:10px solid #0000;width:0;height:0}.maplibregl-popup-anchor-top .maplibregl-popup-tip{border-top:none;border-bottom-color:#fff;align-self:center}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{border-top:none;border-bottom-color:#fff;border-left:none;align-self:flex-start}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{border-top:none;border-bottom-color:#fff;border-right:none;align-self:flex-end}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{border-top-color:#fff;border-bottom:none;align-self:center}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{border-top-color:#fff;border-bottom:none;border-left:none;align-self:flex-start}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{border-top-color:#fff;border-bottom:none;border-right:none;align-self:flex-end}.maplibregl-popup-anchor-left .maplibregl-popup-tip{border-left:none;border-right-color:#fff;align-self:center}.maplibregl-popup-anchor-right .maplibregl-popup-tip{border-left-color:#fff;border-right:none;align-self:center}[dir=rtl] .maplibregl-popup-anchor-left{flex-direction:row-reverse}[dir=rtl] .maplibregl-popup-anchor-right{flex-direction:row}[dir=rtl] .maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-start}[dir=rtl] .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-start}.maplibregl-popup-close-button{cursor:pointer;background-color:#0000;border:0;border-radius:0 3px 0 0;position:absolute;top:0;right:0}.maplibregl-popup-close-button:hover{background-color:#0000000d}.maplibregl-popup-content{pointer-events:auto;background:#fff;border-radius:3px;padding:15px 10px;position:relative;box-shadow:0 1px 2px #0000001a}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{will-change:transform;transition:opacity .2s;position:absolute;top:0;left:0}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;width:15px;height:15px}.maplibregl-user-location-dot:before{content:\"\";animation:2s infinite maplibregl-user-location-dot-pulse;position:absolute}.maplibregl-user-location-dot:after{box-sizing:border-box;content:\"\";border:2px solid #fff;border-radius:50%;width:19px;height:19px;position:absolute;top:-2px;left:-2px;box-shadow:0 0 3px #00000059}@media (prefers-reduced-motion:reduce){.maplibregl-user-location-dot:before{animation:none}}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;width:1px;height:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{opacity:.5;background:#fff;border:2px dotted #202020;width:0;height:0;position:absolute;top:0;left:0}.maplibregl-cooperative-gesture-screen{color:#fff;opacity:0;pointer-events:none;z-index:99999;background:#0006;justify-content:center;align-items:center;padding:1rem;font-size:1.4em;line-height:1.2;transition:opacity 1s 1s;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity 50ms}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(pointer:coarse){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{z-index:99999;width:100%!important;height:100%!important;position:fixed!important;top:0!important;left:0!important}.maplibregl-ctrl-bottom-right{align-items:flex-end;display:flex}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact{margin:0 0 var(--app-gap,10px) var(--app-gap,10px)}.efp-map-attrib-popover .maplibregl-ctrl-bottom-right{left:0}.efp-map-attrib-popover .maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact{pointer-events:none;background:0 0;flex:auto;min-width:0;min-height:0;padding:0}.efp-map-attrib-popover .maplibregl-compact>.maplibregl-ctrl-attrib-button{background-color:var(--color-white,#fff);pointer-events:auto;margin-left:auto;position:static}.efp-map-attrib-popover .maplibregl-ctrl-attrib.maplibregl-compact-show>.maplibregl-ctrl-attrib-button{background-color:#e6e6e6}.efp-map-attrib-popover .maplibregl-compact-show>.maplibregl-ctrl-attrib-inner{right:0;bottom:var(--efp-map-attrib-popover-bottom,30px);box-sizing:border-box;background-color:var(--color-white,#fff);pointer-events:auto;border-radius:12px;width:max-content;max-width:100%;padding:4px 10px;position:absolute;box-shadow:0 1px 4px #00000026}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl.efp-map-logo{box-sizing:border-box;height:24px;margin:0 var(--app-gap,10px) var(--app-gap,10px);background-color:var(--color-white,#fff);border-radius:12px;align-items:center;padding:0 8px;display:flex}.efp-map-logo__image{width:4.5rem;display:block}@media (min-width:550px){.efp-kiosk .efp-map-logo{pointer-events:none}}\n/*$vite$:1*/", "MaplibreAdapter.css", false);
|