@expofp/floorplan 3.7.17 → 3.8.0
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-CalAncSt.js → Button-1J9oictV.js} +5 -5
- package/dist/browser/{CookieConsent-ZygvYtDb.js → CookieConsent-DIB9ja_x.js} +7 -7
- package/dist/browser/{Debug-D0iAX94G.js → Debug-Dj0pjQgz.js} +7 -7
- package/dist/browser/{Demo-DtZnCrNU.js → Demo-DFFTbr3B.js} +9 -9
- package/dist/browser/{Free-CY2ZgfTi.js → Free-VNovKWeM.js} +9 -9
- package/dist/browser/{Gallery-BJyU80Q8.js → Gallery-CsjJODa1.js} +9 -9
- package/dist/browser/{GpsLoader-C4Az3Ogj.js → GpsLoader-LtDTQ04B.js} +25 -25
- package/dist/browser/{KioskStore-D3xv5iMJ.js → KioskStore-BlqVE5Em.js} +26 -26
- package/dist/browser/{MaplibreAdapter-BI5hr4DA.js → MaplibreAdapter-BdhppB5g.js} +941 -960
- package/dist/browser/{ModalContainer-CGy7G3W-.js → ModalContainer-B3TzgHkN.js} +10 -10
- package/dist/browser/{PermissionNotice-BQl-Eh0U.js → PermissionNotice-CFzmPPcM.js} +6 -6
- package/dist/browser/{SetKioskMode-puXODfKF.js → SetKioskMode-BmGR1XVY.js} +11 -11
- package/dist/browser/ShowKiosk-zlmmcHhV.js +28 -0
- package/dist/browser/{TouchHand-DjRl3mqw.js → TouchHand-CJVe9zjZ.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-DwpOTh1A.js → ViewerMenuPanel-BWULAn9z.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-0zbOfR23.js → add-debug-secret-listener-BmN449zK.js} +1 -1
- package/dist/browser/{boolean-editor-Ct-PRF2J.js → boolean-editor-DfnwzSdd.js} +9 -9
- package/dist/browser/{bootIntercom-CNJJMQLU.js → bootIntercom-Dm7ltiQq.js} +2 -2
- package/dist/browser/{browser-Dvk9Y0QP.js → browser-BHxQ7Crl.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-N7RelmSW.js → classnames-CYIl-Aml.js} +2 -2
- package/dist/browser/{client-B3oB_gzf.js → client-C9cyInZ3.js} +4 -4
- package/dist/browser/{components-DCWqd4OH.js → components-CGrjy21U.js} +1680 -1684
- package/dist/browser/{createWayfinding-DCYv9I1K.js → createWayfinding-BiBK6J8p.js} +513 -494
- package/dist/browser/{debug-overlay-C1zmn9JP.js → debug-overlay-DDKkKZ7_.js} +10 -10
- package/dist/browser/{debug-ui-Dk4TQW1Q.js → debug-ui-CKdNfGUm.js} +6 -6
- package/dist/browser/{dist-Dhhxwn3m.js → dist-Dveh_M6J.js} +3 -3
- package/dist/browser/{dist-BjWXGdvS.js → dist-Sr-nbWel.js} +6 -6
- package/dist/browser/{dist-CZ9F3ShM.js → dist-Y5bXC6OR.js} +5 -5
- package/dist/browser/{efp-debug-init-BY441NPw.js → efp-debug-init-QlttX6qg.js} +2 -2
- package/dist/browser/{enum-editor-wsFvRjdm.js → enum-editor-D8AUxIjM.js} +11 -11
- package/dist/browser/{es5--a3vRB-s.js → es5-DM_2dLMc.js} +2 -2
- package/dist/browser/{event-not-found-C08dNiXm.js → event-not-found-BzZrJTbo.js} +1 -1
- package/dist/browser/{exports-DnnAyWkZ.js → exports-C77c46fn.js} +1 -1
- package/dist/browser/{favicon-BUBgyUNE.js → favicon-CLXnJgR0.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DqWbcFb6.js → fetch-retry.umd-DIeR-B1a.js} +2 -2
- package/dist/browser/{flex-BJvbUFUw.js → flex-B9_T4ILl.js} +5 -5
- package/dist/browser/{floorplan.loader-DtRqhN7h.js → floorplan.loader-DBLUmBct.js} +11 -11
- package/dist/browser/{floorplan.ready-DU_ul7oy.js → floorplan.ready-C_Yqubo7.js} +303 -227
- package/dist/browser/{fuse-C1gHDLf6.js → fuse-BA9FAI84.js} +2 -2
- package/dist/browser/{i18n-GqZrkrT3.js → i18n-i9ni8Aks.js} +4 -4
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-ClFPQstA.js → index.module-DPZn4TXU.js} +4 -4
- package/dist/browser/{is-webview-Ubd69hDX.js → is-webview-Dy8i33Cj.js} +1 -1
- package/dist/browser/{jsx-runtime-CcqjcKRn.js → jsx-runtime-DzGUGvz-.js} +2 -2
- package/dist/browser/{lib-D-VhTz7u.js → lib-BHciLO67.js} +4 -4
- package/dist/browser/{loadImage-BSgOJpEi.js → loadImage-Kl5pv_Gu.js} +4 -4
- package/dist/browser/{logDeviceInfo-CqPbQalh.js → logDeviceInfo-CS0Fd9Bz.js} +9 -9
- package/dist/browser/{main-D02oALU5.js → main-CnhK8g8p.js} +1 -1
- package/dist/browser/{mobx-9haaaJQN.js → mobx-MDNY-J4R.js} +4 -4
- package/dist/browser/{particles.min-Cy0_xv2F.js → particles.min-BfWO2YCb.js} +2 -2
- package/dist/browser/{prop-types-CGmwvRRk.js → prop-types-8OQVQO5z.js} +2 -2
- package/dist/browser/{react-C94g1dWf.js → react-BHziDcUN.js} +2 -2
- package/dist/browser/{react-dom-VzzznUin.js → react-dom-B2YH_-FW.js} +3 -3
- package/dist/browser/{reset-all-settings-Bs45R4UK.js → reset-all-settings-DhiQzgYR.js} +7 -7
- package/dist/browser/{rolldown-runtime-DDajFMnr.js → rolldown-runtime-kNW8iHBm.js} +1 -1
- package/dist/browser/{settings-B89NEO7Z.js → settings-Cu5Wcs8p.js} +2 -2
- package/dist/browser/{settings-item-CTgteXDw.js → settings-item-v4B4uQdw.js} +6 -6
- package/dist/browser/{store-39MLQcdz.js → store-pynNgMKs.js} +5840 -5756
- package/dist/browser/{string-editor-4uawnaDY.js → string-editor-DpTkbez0.js} +7 -7
- package/dist/browser/{theme-CWzone56.js → theme-BOa5CSxW.js} +8 -8
- package/dist/browser/{ui-D8Gz1TVh.js → ui-Bq-HLu6b.js} +8 -8
- package/dist/browser/{useRenderTarget-BSjQ_3rd.js → useRenderTarget-l4FhOrhr.js} +4 -4
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/booth-by-xy.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +1 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +4 -4
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +10 -4
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +5 -5
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/useCameraReactions.d.ts +2 -2
- package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +2 -2
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.js +1 -1
- package/dist/esm/components/Maplibre/utils/geo-config.d.ts +6 -6
- package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
- package/dist/esm/components/Maplibre/utils/solver.js +1 -1
- package/dist/esm/components/gps/useUserLocationAndHeading.d.ts +1 -1
- package/dist/esm/components/gps/useUserLocationAndHeading.js +1 -1
- package/dist/esm/components/gps/utils.d.ts +1 -1
- package/dist/esm/components/gps/utils.js +1 -1
- package/dist/esm/data/svg.d.ts +4 -4
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +39 -2
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/renderer/engine-core/canvases.d.ts +1 -1
- package/dist/esm/renderer/engine-core/canvases.js +1 -1
- package/dist/esm/renderer/engine-core/defs.d.ts +23 -4
- package/dist/esm/renderer/engine-core/defs.js +3 -3
- package/dist/esm/renderer/engine-core/types.d.ts +13 -2
- package/dist/esm/renderer/engine-core/update-def.d.ts +3 -2
- package/dist/esm/renderer/engine-core/update-def.js +1 -1
- package/dist/esm/renderer/engine-core/utils/rotation.d.ts +13 -1
- package/dist/esm/renderer/index.d.ts +2 -2
- package/dist/esm/renderer/index.js +1 -1
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/BoothStore.d.ts +14 -2
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/LayerStore.d.ts +4 -4
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +3 -3
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +6 -7
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/dist/esm/utils/gps.d.ts +0 -1
- package/dist/esm/utils/gps.js +1 -1
- package/dist/esm/utils/imageloader.d.ts +1 -3
- package/dist/esm/utils/imageloader.js +1 -1
- package/dist/esm/utils/math.d.ts +0 -1
- package/dist/esm/utils/math.js +1 -1
- package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +4 -0
- package/dist/esm/wayfinding/adapters/boothToEndpoint.js +1 -1
- package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.d.ts +7 -6
- package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.js +1 -1
- package/dist/esm/wayfinding/core/graph/graphHelpers.js +1 -1
- package/dist/esm/wayfinding/core/graph/linkCost.js +1 -1
- package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.js +1 -1
- package/dist/esm/wayfinding/core/index.d.ts +0 -1
- package/dist/esm/wayfinding/core/position/distanceToRoute.d.ts +1 -1
- package/dist/esm/wayfinding/core/position/distanceToRoute.js +1 -1
- package/dist/esm/wayfinding/core/position/gpsThreshold.js +1 -1
- package/dist/esm/wayfinding/core/position/rerouteController.d.ts +1 -1
- package/dist/esm/wayfinding/core/position/rerouteController.js +1 -1
- package/dist/esm/wayfinding/core/position/snapToRoute.js +1 -1
- package/dist/esm/wayfinding/core/rendering/computeTrailPoints.d.ts +2 -2
- package/dist/esm/wayfinding/core/rendering/computeTrailPoints.js +1 -1
- package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.d.ts +1 -1
- package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.js +1 -1
- package/dist/esm/wayfinding/core/rendering/routeGeometry.d.ts +4 -8
- package/dist/esm/wayfinding/core/rendering/routeGeometry.js +1 -1
- package/dist/esm/wayfinding/core/routing/getRouteLength.js +1 -1
- package/dist/esm/wayfinding/createWayfinding.js +1 -1
- package/dist/esm/wayfinding/handlers/kioskHandler.js +1 -1
- package/dist/esm/wayfinding/renderer/iconManager.js +1 -1
- package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -1
- package/dist/esm/wayfinding/runtime/positionView.d.ts +3 -3
- package/dist/esm/wayfinding/runtime/positionView.js +1 -1
- package/dist/esm/wayfinding/runtime/routeUpdate.d.ts +6 -5
- package/dist/esm/wayfinding/runtime/routeUpdate.js +1 -1
- package/dist/esm/wayfinding/runtime/types.d.ts +4 -3
- package/package.json +4 -4
- package/dist/browser/ShowKiosk-78DDAGCM.js +0 -28
- package/dist/esm/components/Map/drawing/config/Rect.d.ts +0 -7
- package/dist/esm/components/Map/drawing/config/Rect.js +0 -1
- package/dist/esm/core/Line.d.ts +0 -12
- package/dist/esm/core/Line.js +0 -1
- package/dist/esm/core/Polygon.d.ts +0 -16
- package/dist/esm/core/Polygon.js +0 -1
- package/dist/esm/core/Rect.d.ts +0 -36
- package/dist/esm/core/Rect.js +0 -1
- package/dist/esm/core/Size.d.ts +0 -7
- package/dist/esm/core/Size.js +0 -1
- package/dist/esm/utils/haversineDistance.d.ts +0 -7
- package/dist/esm/utils/haversineDistance.js +0 -1
|
@@ -2,21 +2,21 @@ 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.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.8.0" };
|
|
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] = "ddee9588-cefc-4364-833d-cfc647e14748", e._sentryDebugIdIdentifier = "sentry-dbid-ddee9588-cefc-4364-833d-cfc647e14748");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { v as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./index.module-
|
|
15
|
-
import {
|
|
16
|
-
import { r as
|
|
17
|
-
import { a as
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-kNW8iHBm.js";
|
|
11
|
+
import { t as n } from "./react-BHziDcUN.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-DzGUGvz-.js";
|
|
13
|
+
import { v as i } from "./i18n-i9ni8Aks.js";
|
|
14
|
+
import { t as a } from "./index.module-DPZn4TXU.js";
|
|
15
|
+
import { It as o, Kt as s, Sn as c, Vt as l, an as u, bn as d, bt as f, dn as p, fn as m, ln as h, mn as g, o as _, pn as v, rt as y, s as b, sn as x, st as S, t as C, wt as w } from "./store-pynNgMKs.js";
|
|
16
|
+
import { r as T } from "./mobx-MDNY-J4R.js";
|
|
17
|
+
import { a as E, c as D, i as O, l as k, n as A, o as j, r as M, s as ee, t as te, u as N } from "./createWayfinding-BiBK6J8p.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
|
|
19
|
-
var
|
|
19
|
+
var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__PURE__ */ t(((e, t) => {
|
|
20
20
|
(function(n, r) {
|
|
21
21
|
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());
|
|
22
22
|
})(e, (function() {
|
|
@@ -321,15 +321,15 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
321
321
|
let t = e * e, n = t * e;
|
|
322
322
|
return 4 * (e < .5 ? n : 3 * (e - t) + n - .75);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function te(e, t, n, r) {
|
|
325
325
|
let i = new o(e, t, n, r);
|
|
326
326
|
return (e) => i.solve(e);
|
|
327
327
|
}
|
|
328
|
-
let
|
|
329
|
-
function
|
|
328
|
+
let N = te(.25, .1, .25, 1);
|
|
329
|
+
function P(e, t, n) {
|
|
330
330
|
return Math.min(n, Math.max(t, e));
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function ne(e, t, n) {
|
|
333
333
|
let r = n - t, i = ((e - t) % r + r) % r + t;
|
|
334
334
|
return i === t ? n : i;
|
|
335
335
|
}
|
|
@@ -351,22 +351,22 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
351
351
|
function se(e) {
|
|
352
352
|
return Array.isArray(e) ? e.map(se) : typeof e == "object" && e ? ae(e, se) : e;
|
|
353
353
|
}
|
|
354
|
-
let
|
|
355
|
-
function
|
|
356
|
-
|
|
354
|
+
let ce = {};
|
|
355
|
+
function le(e) {
|
|
356
|
+
ce[e] || (typeof console < "u" && console.warn(e), ce[e] = !0);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function ue(e, t, n) {
|
|
359
359
|
return (n.y - e.y) * (t.x - e.x) > (t.y - e.y) * (n.x - e.x);
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function de(e) {
|
|
362
362
|
return typeof WorkerGlobalScope < "u" && e !== void 0 && e instanceof WorkerGlobalScope;
|
|
363
363
|
}
|
|
364
|
-
let
|
|
365
|
-
function
|
|
364
|
+
let fe = null;
|
|
365
|
+
function pe(e) {
|
|
366
366
|
return typeof ImageBitmap < "u" && e instanceof ImageBitmap;
|
|
367
367
|
}
|
|
368
|
-
let
|
|
369
|
-
function
|
|
368
|
+
let me = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
|
|
369
|
+
function he(e, n, r, i, a) {
|
|
370
370
|
return t(this, void 0, void 0, (function* () {
|
|
371
371
|
if (typeof VideoFrame > "u") throw Error("VideoFrame not supported");
|
|
372
372
|
let t = new VideoFrame(e, { timestamp: 0 });
|
|
@@ -398,25 +398,25 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
398
398
|
}
|
|
399
399
|
}));
|
|
400
400
|
}
|
|
401
|
-
let
|
|
402
|
-
function
|
|
401
|
+
let ge, _e;
|
|
402
|
+
function ve(e, t, n, r) {
|
|
403
403
|
return e.addEventListener(t, n, r), { unsubscribe: () => {
|
|
404
404
|
e.removeEventListener(t, n, r);
|
|
405
405
|
} };
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function ye(e) {
|
|
408
408
|
return e * Math.PI / 180;
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function be(e) {
|
|
411
411
|
return e / Math.PI * 180;
|
|
412
412
|
}
|
|
413
|
-
let
|
|
413
|
+
let xe = {
|
|
414
414
|
touchstart: !0,
|
|
415
415
|
touchmove: !0,
|
|
416
416
|
touchmoveWindow: !0,
|
|
417
417
|
touchend: !0,
|
|
418
418
|
touchcancel: !0
|
|
419
|
-
},
|
|
419
|
+
}, Se = {
|
|
420
420
|
dblclick: !0,
|
|
421
421
|
click: !0,
|
|
422
422
|
mouseover: !0,
|
|
@@ -428,55 +428,55 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
428
428
|
mouseupWindow: !0,
|
|
429
429
|
contextmenu: !0,
|
|
430
430
|
wheel: !0
|
|
431
|
-
},
|
|
432
|
-
class
|
|
433
|
-
constructor(e =
|
|
434
|
-
super(e instanceof Error ? e.message : e), this.name =
|
|
431
|
+
}, Ce = "AbortError";
|
|
432
|
+
class we extends Error {
|
|
433
|
+
constructor(e = Ce) {
|
|
434
|
+
super(e instanceof Error ? e.message : e), this.name = Ce, e instanceof Error && e.stack && (this.stack = e.stack);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
function we(e) {
|
|
438
|
-
return e instanceof Error && e.name === Se;
|
|
439
|
-
}
|
|
440
437
|
function Te(e) {
|
|
441
|
-
|
|
438
|
+
return e instanceof Error && e.name === Ce;
|
|
439
|
+
}
|
|
440
|
+
function Ee(e) {
|
|
441
|
+
if (e.aborted) throw new we(e.reason);
|
|
442
442
|
}
|
|
443
|
-
let
|
|
443
|
+
let De = {
|
|
444
444
|
MAX_PARALLEL_IMAGE_REQUESTS: 16,
|
|
445
445
|
MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME: 8,
|
|
446
446
|
MAX_TILE_CACHE_ZOOM_LEVELS: 5,
|
|
447
447
|
REGISTERED_PROTOCOLS: {},
|
|
448
448
|
WORKER_URL: ""
|
|
449
449
|
};
|
|
450
|
-
function
|
|
451
|
-
return
|
|
450
|
+
function Oe(e) {
|
|
451
|
+
return De.REGISTERED_PROTOCOLS[e.substring(0, e.indexOf("://"))];
|
|
452
452
|
}
|
|
453
|
-
let
|
|
454
|
-
class
|
|
453
|
+
let ke = "global-dispatcher";
|
|
454
|
+
class Ae extends Error {
|
|
455
455
|
constructor(e, t, n, r) {
|
|
456
456
|
super(`AJAXError: ${t} (${e}): ${n}`), this.status = e, this.statusText = t, this.url = n, this.body = r;
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
let
|
|
459
|
+
let je = () => {
|
|
460
460
|
var e;
|
|
461
|
-
return
|
|
462
|
-
},
|
|
461
|
+
return de(self) ? (e = self.worker) == null ? void 0 : e.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href;
|
|
462
|
+
}, Me = function(e, n) {
|
|
463
463
|
return t(this, void 0, void 0, (function* () {
|
|
464
464
|
var r, i;
|
|
465
465
|
if (e.url.includes("://") && !/^https?:|^file:/.test(e.url)) {
|
|
466
|
-
let t =
|
|
466
|
+
let t = Oe(e.url);
|
|
467
467
|
if (t) {
|
|
468
468
|
let r = yield t(e, n);
|
|
469
469
|
return r.data || e.type !== "arrayBuffer" ? r : re(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
|
|
470
470
|
}
|
|
471
|
-
if (
|
|
471
|
+
if (de(self) && (r = self.worker) != null && r.actor) return self.worker.actor.sendAsync({
|
|
472
472
|
type: "GR",
|
|
473
473
|
data: e,
|
|
474
|
-
targetMapId:
|
|
474
|
+
targetMapId: ke
|
|
475
475
|
}, n);
|
|
476
476
|
}
|
|
477
477
|
if (!((e) => {
|
|
478
478
|
var t;
|
|
479
|
-
return e.startsWith("file:") || ((t =
|
|
479
|
+
return e.startsWith("file:") || ((t = je()) == null ? void 0 : t.startsWith("file:")) && !/^\w+:/.test(e);
|
|
480
480
|
})(e.url)) {
|
|
481
481
|
if (fetch && Request && AbortController && Object.hasOwn(Request.prototype, "signal")) return function(e, n) {
|
|
482
482
|
return t(this, void 0, void 0, (function* () {
|
|
@@ -486,7 +486,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
486
486
|
credentials: e.credentials,
|
|
487
487
|
headers: e.headers,
|
|
488
488
|
cache: e.cache,
|
|
489
|
-
referrer:
|
|
489
|
+
referrer: je(),
|
|
490
490
|
referrerPolicy: e.referrerPolicy,
|
|
491
491
|
signal: n.signal
|
|
492
492
|
}), r, i;
|
|
@@ -494,15 +494,15 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
494
494
|
try {
|
|
495
495
|
r = yield fetch(t);
|
|
496
496
|
} catch (t) {
|
|
497
|
-
throw
|
|
497
|
+
throw Te(t) ? t : new Ae(0, A(t).message, e.url, new Blob());
|
|
498
498
|
}
|
|
499
499
|
if (!r.ok) {
|
|
500
500
|
let t = yield r.blob();
|
|
501
|
-
throw new
|
|
501
|
+
throw new Ae(r.status, r.statusText, e.url, t);
|
|
502
502
|
}
|
|
503
503
|
i = e.type === "arrayBuffer" || e.type === "image" ? r.arrayBuffer() : e.type === "json" ? r.json() : r.text();
|
|
504
504
|
let a = yield i;
|
|
505
|
-
return
|
|
505
|
+
return Ee(n.signal), {
|
|
506
506
|
data: a,
|
|
507
507
|
cacheControl: r.headers.get("Cache-Control"),
|
|
508
508
|
expires: r.headers.get("Expires"),
|
|
@@ -510,11 +510,11 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
510
510
|
};
|
|
511
511
|
}));
|
|
512
512
|
}(e, n);
|
|
513
|
-
if (
|
|
513
|
+
if (de(self) && (i = self.worker) != null && i.actor) return self.worker.actor.sendAsync({
|
|
514
514
|
type: "GR",
|
|
515
515
|
data: e,
|
|
516
516
|
mustQueue: !0,
|
|
517
|
-
targetMapId:
|
|
517
|
+
targetMapId: ke
|
|
518
518
|
}, n);
|
|
519
519
|
}
|
|
520
520
|
return function(e, t) {
|
|
@@ -542,65 +542,65 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
542
542
|
});
|
|
543
543
|
} else {
|
|
544
544
|
let t = new Blob([a.response], { type: a.getResponseHeader("Content-Type") });
|
|
545
|
-
r(new
|
|
545
|
+
r(new Ae(a.status, a.statusText, e.url, t));
|
|
546
546
|
}
|
|
547
547
|
}, t.signal.addEventListener("abort", (() => {
|
|
548
|
-
a.abort(), r(new
|
|
548
|
+
a.abort(), r(new we(t.signal.reason));
|
|
549
549
|
})), a.send(e.body);
|
|
550
550
|
}));
|
|
551
551
|
}(e, n);
|
|
552
552
|
}));
|
|
553
553
|
};
|
|
554
|
-
function
|
|
554
|
+
function Ne(e) {
|
|
555
555
|
if (!e || e.indexOf("://") <= 0 || e.startsWith("data:image/") || e.startsWith("blob:")) return !0;
|
|
556
556
|
let t = new URL(e), n = window.location;
|
|
557
557
|
return t.protocol === n.protocol && t.host === n.host;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function Pe(e, t, n) {
|
|
560
560
|
var r;
|
|
561
561
|
(r = n[e]) != null && r.includes(t) || (n[e] || (n[e] = []), n[e].push(t));
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function Fe(e, t, n) {
|
|
564
564
|
if (n != null && n[e]) {
|
|
565
565
|
let r = n[e].indexOf(t);
|
|
566
566
|
r !== -1 && n[e].splice(r, 1);
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
class
|
|
569
|
+
class Ie {
|
|
570
570
|
constructor(e, t = {}) {
|
|
571
571
|
re(this, t), this.type = e;
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
class
|
|
574
|
+
class Le extends Ie {
|
|
575
575
|
constructor(e, t = {}) {
|
|
576
576
|
super("error", re({ error: e }, t));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
class
|
|
579
|
+
class Re {
|
|
580
580
|
on(e, t) {
|
|
581
|
-
return this._listeners || (this._listeners = {}),
|
|
581
|
+
return this._listeners || (this._listeners = {}), Pe(e, t, this._listeners), { unsubscribe: () => {
|
|
582
582
|
this.off(e, t);
|
|
583
583
|
} };
|
|
584
584
|
}
|
|
585
585
|
off(e, t) {
|
|
586
|
-
return
|
|
586
|
+
return Fe(e, t, this._listeners), Fe(e, t, this._oneTimeListeners), this;
|
|
587
587
|
}
|
|
588
588
|
once(e, t) {
|
|
589
|
-
return t ? (this._oneTimeListeners || (this._oneTimeListeners = {}),
|
|
589
|
+
return t ? (this._oneTimeListeners || (this._oneTimeListeners = {}), Pe(e, t, this._oneTimeListeners), this) : new Promise(((t) => this.once(e, t)));
|
|
590
590
|
}
|
|
591
591
|
fire(e, t) {
|
|
592
592
|
var n, r;
|
|
593
|
-
typeof e == "string" && (e = new
|
|
593
|
+
typeof e == "string" && (e = new Ie(e, t || {}));
|
|
594
594
|
let i = e.type;
|
|
595
595
|
if (this.listens(i)) {
|
|
596
596
|
e.target = this;
|
|
597
597
|
let t = (n = this._listeners) != null && n[i] ? this._listeners[i].slice() : [];
|
|
598
598
|
for (let n of t) n.call(this, e);
|
|
599
599
|
let a = (r = this._oneTimeListeners) != null && r[i] ? this._oneTimeListeners[i].slice() : [];
|
|
600
|
-
for (let t of a)
|
|
600
|
+
for (let t of a) Fe(i, t, this._oneTimeListeners), t.call(this, e);
|
|
601
601
|
let o = this._eventedParent;
|
|
602
602
|
o && (re(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
|
|
603
|
-
} else e instanceof
|
|
603
|
+
} else e instanceof Le && console.error(e.error);
|
|
604
604
|
return this;
|
|
605
605
|
}
|
|
606
606
|
listens(e) {
|
|
@@ -611,7 +611,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
611
611
|
return this._eventedParent = e, this._eventedParentData = t, this;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
var
|
|
614
|
+
var F = {
|
|
615
615
|
$version: 8,
|
|
616
616
|
$root: {
|
|
617
617
|
version: {
|
|
@@ -3222,7 +3222,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
3222
3222
|
}
|
|
3223
3223
|
}
|
|
3224
3224
|
};
|
|
3225
|
-
let
|
|
3225
|
+
let ze = [
|
|
3226
3226
|
"type",
|
|
3227
3227
|
"source",
|
|
3228
3228
|
"source-layer",
|
|
@@ -3231,37 +3231,37 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
3231
3231
|
"filter",
|
|
3232
3232
|
"layout"
|
|
3233
3233
|
];
|
|
3234
|
-
function
|
|
3234
|
+
function Be(e, t) {
|
|
3235
3235
|
let n = {};
|
|
3236
3236
|
for (let t in e) t !== "ref" && (n[t] = e[t]);
|
|
3237
|
-
return
|
|
3237
|
+
return ze.forEach(((e) => {
|
|
3238
3238
|
e in t && (n[e] = t[e]);
|
|
3239
3239
|
})), n;
|
|
3240
3240
|
}
|
|
3241
|
-
function
|
|
3241
|
+
function I(e, t) {
|
|
3242
3242
|
if (Array.isArray(e)) {
|
|
3243
3243
|
if (!Array.isArray(t) || e.length !== t.length) return !1;
|
|
3244
|
-
for (let n = 0; n < e.length; n++) if (!
|
|
3244
|
+
for (let n = 0; n < e.length; n++) if (!I(e[n], t[n])) return !1;
|
|
3245
3245
|
return !0;
|
|
3246
3246
|
}
|
|
3247
3247
|
if (typeof e == "object" && e && t !== null) {
|
|
3248
3248
|
if (typeof t != "object" || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
3249
|
-
for (let n in e) if (!
|
|
3249
|
+
for (let n in e) if (!I(e[n], t[n])) return !1;
|
|
3250
3250
|
return !0;
|
|
3251
3251
|
}
|
|
3252
3252
|
return e === t;
|
|
3253
3253
|
}
|
|
3254
|
-
function
|
|
3254
|
+
function R(e, t) {
|
|
3255
3255
|
e.push(t);
|
|
3256
3256
|
}
|
|
3257
3257
|
function Ve(e, t, n) {
|
|
3258
|
-
|
|
3258
|
+
R(n, {
|
|
3259
3259
|
command: "addSource",
|
|
3260
3260
|
args: [e, t[e]]
|
|
3261
3261
|
});
|
|
3262
3262
|
}
|
|
3263
3263
|
function He(e, t, n) {
|
|
3264
|
-
|
|
3264
|
+
R(t, {
|
|
3265
3265
|
command: "removeSource",
|
|
3266
3266
|
args: [e]
|
|
3267
3267
|
}), n[e] = !0;
|
|
@@ -3271,13 +3271,13 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
3271
3271
|
}
|
|
3272
3272
|
function We(e, t, n) {
|
|
3273
3273
|
let r;
|
|
3274
|
-
for (r in e[n]) if (Object.prototype.hasOwnProperty.call(e[n], r) && r !== "data" && !
|
|
3275
|
-
for (r in t[n]) if (Object.prototype.hasOwnProperty.call(t[n], r) && r !== "data" && !
|
|
3274
|
+
for (r in e[n]) if (Object.prototype.hasOwnProperty.call(e[n], r) && r !== "data" && !I(e[n][r], t[n][r])) return !1;
|
|
3275
|
+
for (r in t[n]) if (Object.prototype.hasOwnProperty.call(t[n], r) && r !== "data" && !I(e[n][r], t[n][r])) return !1;
|
|
3276
3276
|
return !0;
|
|
3277
3277
|
}
|
|
3278
3278
|
function Ge(e, t, n, r, i, a) {
|
|
3279
3279
|
e = e || {}, t = t || {};
|
|
3280
|
-
for (let o in e) Object.prototype.hasOwnProperty.call(e, o) && (
|
|
3280
|
+
for (let o in e) Object.prototype.hasOwnProperty.call(e, o) && (I(e[o], t[o]) || n.push({
|
|
3281
3281
|
command: a,
|
|
3282
3282
|
args: [
|
|
3283
3283
|
r,
|
|
@@ -3286,7 +3286,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
3286
3286
|
i
|
|
3287
3287
|
]
|
|
3288
3288
|
}));
|
|
3289
|
-
for (let o in t) Object.prototype.hasOwnProperty.call(t, o) && !Object.prototype.hasOwnProperty.call(e, o) && (
|
|
3289
|
+
for (let o in t) Object.prototype.hasOwnProperty.call(t, o) && !Object.prototype.hasOwnProperty.call(e, o) && (I(e[o], t[o]) || n.push({
|
|
3290
3290
|
command: a,
|
|
3291
3291
|
args: [
|
|
3292
3292
|
r,
|
|
@@ -7154,7 +7154,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
7154
7154
|
}
|
|
7155
7155
|
function Ei(e) {
|
|
7156
7156
|
let t = "";
|
|
7157
|
-
for (let n of
|
|
7157
|
+
for (let n of ze) t += `/${Ti(e[n])}`;
|
|
7158
7158
|
return t;
|
|
7159
7159
|
}
|
|
7160
7160
|
function Di(e) {
|
|
@@ -7865,7 +7865,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
7865
7865
|
let t = e.value, n = e.key, r = Ui(e);
|
|
7866
7866
|
return r.length || (t.indexOf("{fontstack}") === -1 && r.push(new z(n, t, "\"glyphs\" url must include a \"{fontstack}\" token")), t.indexOf("{range}") === -1 && r.push(new z(n, t, "\"glyphs\" url must include a \"{range}\" token"))), r;
|
|
7867
7867
|
}
|
|
7868
|
-
function ta(e, t =
|
|
7868
|
+
function ta(e, t = F) {
|
|
7869
7869
|
let n = [];
|
|
7870
7870
|
return n = n.concat($i({
|
|
7871
7871
|
key: "",
|
|
@@ -7929,10 +7929,10 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
7929
7929
|
return this._globalStateRefs;
|
|
7930
7930
|
}
|
|
7931
7931
|
}
|
|
7932
|
-
let sa =
|
|
7932
|
+
let sa = F, ca = ta, la = ca.light, ua = ca.sky, da = ca.paintProperty, fa = ca.layoutProperty;
|
|
7933
7933
|
function pa(e, t) {
|
|
7934
7934
|
let n = !1;
|
|
7935
|
-
if (t != null && t.length) for (let r of t) e.fire(new
|
|
7935
|
+
if (t != null && t.length) for (let r of t) e.fire(new Le(Error(r.message))), n = !0;
|
|
7936
7936
|
return n;
|
|
7937
7937
|
}
|
|
7938
7938
|
class ma {
|
|
@@ -8030,7 +8030,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
8030
8030
|
shallow: n.shallow || []
|
|
8031
8031
|
};
|
|
8032
8032
|
}
|
|
8033
|
-
X("Object", Object), X("Set", Set), X("TransferableGridIndex", ma), X("Color", W), X("Error", Error), X("AJAXError",
|
|
8033
|
+
X("Object", Object), X("Set", Set), X("TransferableGridIndex", ma), X("Color", W), X("Error", Error), X("AJAXError", Ae), X("ResolvedImage", qt), X("StylePropertyFunction", di), X("StyleExpression", ai, { omit: ["_evaluator"] }), X("ZoomDependentExpression", li), X("ZoomConstantExpression", ci), X("CompoundExpression", Lr, { omit: ["_evaluate"] });
|
|
8034
8034
|
for (let e in Ir) Ir[e]._classRegistryKey || X(`Expression_${e}`, Ir[e]);
|
|
8035
8035
|
function ga(e) {
|
|
8036
8036
|
var t;
|
|
@@ -8044,10 +8044,10 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
8044
8044
|
if (typeof e != "object" || !e) return !1;
|
|
8045
8045
|
let t = _a(e);
|
|
8046
8046
|
return t && t !== "Object";
|
|
8047
|
-
}(e) && (e == null || typeof e == "boolean" || typeof e == "number" || typeof e == "string" || e instanceof Boolean || e instanceof Number || e instanceof String || e instanceof Date || e instanceof RegExp || e instanceof Blob || e instanceof Error || ga(e) ||
|
|
8047
|
+
}(e) && (e == null || typeof e == "boolean" || typeof e == "number" || typeof e == "string" || e instanceof Boolean || e instanceof Number || e instanceof String || e instanceof Date || e instanceof RegExp || e instanceof Blob || e instanceof Error || ga(e) || pe(e) || ArrayBuffer.isView(e) || e instanceof ImageData);
|
|
8048
8048
|
}
|
|
8049
8049
|
function ya(e, t) {
|
|
8050
|
-
if (va(e)) return (ga(e) ||
|
|
8050
|
+
if (va(e)) return (ga(e) || pe(e)) && t && t.push(e), ArrayBuffer.isView(e) && t && t.push(e.buffer), e instanceof ImageData && t && t.push(e.data.buffer), e;
|
|
8051
8051
|
if (Array.isArray(e)) {
|
|
8052
8052
|
let n = [];
|
|
8053
8053
|
for (let r of e) n.push(ya(r, t));
|
|
@@ -8521,7 +8521,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
8521
8521
|
}
|
|
8522
8522
|
X("DataDrivenProperty", Q), X("DataConstantProperty", Z), X("CrossFadedDataDrivenProperty", qa), X("CrossFadedProperty", Ja), X("ColorRampProperty", Ya);
|
|
8523
8523
|
let Za = " is a PAINT property not a LAYOUT property. Use get/setPaintProperty instead?", Qa = " is a LAYOUT property not a PAINT property. Use get/setLayoutProperty instead?";
|
|
8524
|
-
class $a extends
|
|
8524
|
+
class $a extends Re {
|
|
8525
8525
|
constructor(e, t, n) {
|
|
8526
8526
|
if (super(), this.id = e.id, this.type = e.type, this._globalState = n, this._featureFilter = {
|
|
8527
8527
|
filter: () => !0,
|
|
@@ -8580,7 +8580,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
8580
8580
|
setLayoutProperty(e, t, n = {}) {
|
|
8581
8581
|
var r;
|
|
8582
8582
|
if (e === "visibility") return this.visibility = t, this._visibilityExpression.setValue(t), void this.recalculateVisibility();
|
|
8583
|
-
(r = this._transitionablePaint) != null && r.hasProperty(e) ? this.fire(new
|
|
8583
|
+
(r = this._transitionablePaint) != null && r.hasProperty(e) ? this.fire(new Le(/* @__PURE__ */ Error(e + Za))) : t != null && this._validate(fa, `layers.${this.id}.layout.${e}`, e, t, n) || this._unevaluatedLayout.setValue(e, t);
|
|
8584
8584
|
}
|
|
8585
8585
|
getPaintProperty(e) {
|
|
8586
8586
|
var t, n;
|
|
@@ -8594,7 +8594,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
8594
8594
|
}
|
|
8595
8595
|
setPaintProperty(e, t, n = {}) {
|
|
8596
8596
|
var r;
|
|
8597
|
-
if (e === "visibility" || (r = this._unevaluatedLayout) != null && r.hasProperty(e)) return this.fire(new
|
|
8597
|
+
if (e === "visibility" || (r = this._unevaluatedLayout) != null && r.hasProperty(e)) return this.fire(new Le(/* @__PURE__ */ Error(e + Qa))), !1;
|
|
8598
8598
|
if (t != null && this._validate(da, `layers.${this.id}.paint.${e}`, e, t, n)) return !1;
|
|
8599
8599
|
if (e.endsWith(Ra)) return this._transitionablePaint.setTransition(e.slice(0, -11), t || void 0), !1;
|
|
8600
8600
|
{
|
|
@@ -8645,7 +8645,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
8645
8645
|
layerType: this.type,
|
|
8646
8646
|
objectKey: n,
|
|
8647
8647
|
value: r,
|
|
8648
|
-
styleSpec:
|
|
8648
|
+
styleSpec: F,
|
|
8649
8649
|
style: {
|
|
8650
8650
|
glyphs: !0,
|
|
8651
8651
|
sprite: !0
|
|
@@ -8673,15 +8673,15 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
8673
8673
|
let eo;
|
|
8674
8674
|
var to = { get paint() {
|
|
8675
8675
|
return eo = eo || new Xa({
|
|
8676
|
-
"raster-opacity": new Z(
|
|
8677
|
-
"raster-hue-rotate": new Z(
|
|
8678
|
-
"raster-brightness-min": new Z(
|
|
8679
|
-
"raster-brightness-max": new Z(
|
|
8680
|
-
"raster-saturation": new Z(
|
|
8681
|
-
"raster-contrast": new Z(
|
|
8682
|
-
resampling: new Z(
|
|
8683
|
-
"raster-resampling": new Z(
|
|
8684
|
-
"raster-fade-duration": new Z(
|
|
8676
|
+
"raster-opacity": new Z(F.paint_raster["raster-opacity"]),
|
|
8677
|
+
"raster-hue-rotate": new Z(F.paint_raster["raster-hue-rotate"]),
|
|
8678
|
+
"raster-brightness-min": new Z(F.paint_raster["raster-brightness-min"]),
|
|
8679
|
+
"raster-brightness-max": new Z(F.paint_raster["raster-brightness-max"]),
|
|
8680
|
+
"raster-saturation": new Z(F.paint_raster["raster-saturation"]),
|
|
8681
|
+
"raster-contrast": new Z(F.paint_raster["raster-contrast"]),
|
|
8682
|
+
resampling: new Z(F.paint_raster.resampling),
|
|
8683
|
+
"raster-resampling": new Z(F.paint_raster["raster-resampling"]),
|
|
8684
|
+
"raster-fade-duration": new Z(F.paint_raster["raster-fade-duration"])
|
|
8685
8685
|
});
|
|
8686
8686
|
} };
|
|
8687
8687
|
class no extends $a {
|
|
@@ -9376,7 +9376,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
9376
9376
|
}
|
|
9377
9377
|
prepareSegment(e, t, n, r) {
|
|
9378
9378
|
let i = this.segments[this.segments.length - 1];
|
|
9379
|
-
return e > ss.MAX_VERTEX_ARRAY_LENGTH &&
|
|
9379
|
+
return e > ss.MAX_VERTEX_ARRAY_LENGTH && le(`Max vertices per segment is ${ss.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${e}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${ss.MAX_VERTEX_ARRAY_LENGTH} vertices.`), this._forceNewSegmentOnNextPrepare || !i || i.vertexLength + e > ss.MAX_VERTEX_ARRAY_LENGTH || i.sortKey !== r ? this.createNewSegment(t, n, r) : i;
|
|
9380
9380
|
}
|
|
9381
9381
|
createNewSegment(e, t, n) {
|
|
9382
9382
|
let r = {
|
|
@@ -9412,7 +9412,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
9412
9412
|
}
|
|
9413
9413
|
}
|
|
9414
9414
|
function cs(e, t) {
|
|
9415
|
-
return 256 * (e =
|
|
9415
|
+
return 256 * (e = P(Math.floor(e), 0, 255)) + P(Math.floor(t), 0, 255);
|
|
9416
9416
|
}
|
|
9417
9417
|
ss.MAX_VERTEX_ARRAY_LENGTH = 2 ** 16 - 1, X("SegmentVector", ss);
|
|
9418
9418
|
let ls = oo([
|
|
@@ -9672,7 +9672,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
9672
9672
|
this.paintVertexBuffer && this.paintVertexBuffer.destroy();
|
|
9673
9673
|
}
|
|
9674
9674
|
setUniform(e, t) {
|
|
9675
|
-
let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r =
|
|
9675
|
+
let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r = P(this.expression.interpolationFactor(n, this.zoom, this.zoom + 1), 0, 1);
|
|
9676
9676
|
e.set(r);
|
|
9677
9677
|
}
|
|
9678
9678
|
getBinding(e, t, n) {
|
|
@@ -9966,7 +9966,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
9966
9966
|
let t = O / e.extent, n = e.loadGeometry();
|
|
9967
9967
|
for (let e of n) for (let n of e) {
|
|
9968
9968
|
let e = Math.round(n.x * t), r = Math.round(n.y * t);
|
|
9969
|
-
n.x =
|
|
9969
|
+
n.x = P(e, Bs, zs), n.y = P(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");
|
|
9970
9970
|
}
|
|
9971
9971
|
return n;
|
|
9972
9972
|
}
|
|
@@ -10117,7 +10117,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
10117
10117
|
return !1;
|
|
10118
10118
|
}
|
|
10119
10119
|
function Zs(e, t, n, r) {
|
|
10120
|
-
return
|
|
10120
|
+
return ue(e, n, r) !== ue(t, n, r) && ue(e, t, n) !== ue(e, t, r);
|
|
10121
10121
|
}
|
|
10122
10122
|
function Qs(e, t, n) {
|
|
10123
10123
|
let r = n * n;
|
|
@@ -10150,8 +10150,8 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
10150
10150
|
function nc(e, t, n) {
|
|
10151
10151
|
let r = n[0], i = n[2];
|
|
10152
10152
|
if (e.x < r.x && t.x < r.x || e.x > i.x && t.x > i.x || e.y < r.y && t.y < r.y || e.y > i.y && t.y > i.y) return !1;
|
|
10153
|
-
let a =
|
|
10154
|
-
return a !==
|
|
10153
|
+
let a = ue(e, t, n[0]);
|
|
10154
|
+
return a !== ue(e, t, n[1]) || a !== ue(e, t, n[2]) || a !== ue(e, t, n[3]);
|
|
10155
10155
|
}
|
|
10156
10156
|
function rc(e, t, n) {
|
|
10157
10157
|
let r = t.paint.get(e).value;
|
|
@@ -10209,21 +10209,21 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
10209
10209
|
var hc = {
|
|
10210
10210
|
get paint() {
|
|
10211
10211
|
return mc = mc || new Xa({
|
|
10212
|
-
"circle-radius": new Q(
|
|
10213
|
-
"circle-color": new Q(
|
|
10214
|
-
"circle-blur": new Q(
|
|
10215
|
-
"circle-opacity": new Q(
|
|
10216
|
-
"circle-translate": new Z(
|
|
10217
|
-
"circle-translate-anchor": new Z(
|
|
10218
|
-
"circle-pitch-scale": new Z(
|
|
10219
|
-
"circle-pitch-alignment": new Z(
|
|
10220
|
-
"circle-stroke-width": new Q(
|
|
10221
|
-
"circle-stroke-color": new Q(
|
|
10222
|
-
"circle-stroke-opacity": new Q(
|
|
10212
|
+
"circle-radius": new Q(F.paint_circle["circle-radius"]),
|
|
10213
|
+
"circle-color": new Q(F.paint_circle["circle-color"]),
|
|
10214
|
+
"circle-blur": new Q(F.paint_circle["circle-blur"]),
|
|
10215
|
+
"circle-opacity": new Q(F.paint_circle["circle-opacity"]),
|
|
10216
|
+
"circle-translate": new Z(F.paint_circle["circle-translate"]),
|
|
10217
|
+
"circle-translate-anchor": new Z(F.paint_circle["circle-translate-anchor"]),
|
|
10218
|
+
"circle-pitch-scale": new Z(F.paint_circle["circle-pitch-scale"]),
|
|
10219
|
+
"circle-pitch-alignment": new Z(F.paint_circle["circle-pitch-alignment"]),
|
|
10220
|
+
"circle-stroke-width": new Q(F.paint_circle["circle-stroke-width"]),
|
|
10221
|
+
"circle-stroke-color": new Q(F.paint_circle["circle-stroke-color"]),
|
|
10222
|
+
"circle-stroke-opacity": new Q(F.paint_circle["circle-stroke-opacity"])
|
|
10223
10223
|
});
|
|
10224
10224
|
},
|
|
10225
10225
|
get layout() {
|
|
10226
|
-
return pc = pc || new Xa({ "circle-sort-key": new Q(
|
|
10226
|
+
return pc = pc || new Xa({ "circle-sort-key": new Q(F.layout_circle["circle-sort-key"]) });
|
|
10227
10227
|
}
|
|
10228
10228
|
};
|
|
10229
10229
|
class gc extends $a {
|
|
@@ -10257,11 +10257,11 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
10257
10257
|
X("HeatmapBucket", _c, { omit: ["layers"] });
|
|
10258
10258
|
var yc = { get paint() {
|
|
10259
10259
|
return vc = vc || new Xa({
|
|
10260
|
-
"heatmap-radius": new Q(
|
|
10261
|
-
"heatmap-weight": new Q(
|
|
10262
|
-
"heatmap-intensity": new Z(
|
|
10263
|
-
"heatmap-color": new Ya(
|
|
10264
|
-
"heatmap-opacity": new Z(
|
|
10260
|
+
"heatmap-radius": new Q(F.paint_heatmap["heatmap-radius"]),
|
|
10261
|
+
"heatmap-weight": new Q(F.paint_heatmap["heatmap-weight"]),
|
|
10262
|
+
"heatmap-intensity": new Z(F.paint_heatmap["heatmap-intensity"]),
|
|
10263
|
+
"heatmap-color": new Ya(F.paint_heatmap["heatmap-color"]),
|
|
10264
|
+
"heatmap-opacity": new Z(F.paint_heatmap["heatmap-opacity"])
|
|
10265
10265
|
});
|
|
10266
10266
|
} };
|
|
10267
10267
|
function bc(e, { width: t, height: n }, r, i) {
|
|
@@ -10408,15 +10408,15 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
10408
10408
|
let kc;
|
|
10409
10409
|
var Ac = { get paint() {
|
|
10410
10410
|
return kc = kc || new Xa({
|
|
10411
|
-
"hillshade-illumination-direction": new Z(
|
|
10412
|
-
"hillshade-illumination-altitude": new Z(
|
|
10413
|
-
"hillshade-illumination-anchor": new Z(
|
|
10414
|
-
"hillshade-exaggeration": new Z(
|
|
10415
|
-
"hillshade-shadow-color": new Z(
|
|
10416
|
-
"hillshade-highlight-color": new Z(
|
|
10417
|
-
"hillshade-accent-color": new Z(
|
|
10418
|
-
"hillshade-method": new Z(
|
|
10419
|
-
resampling: new Z(
|
|
10411
|
+
"hillshade-illumination-direction": new Z(F.paint_hillshade["hillshade-illumination-direction"]),
|
|
10412
|
+
"hillshade-illumination-altitude": new Z(F.paint_hillshade["hillshade-illumination-altitude"]),
|
|
10413
|
+
"hillshade-illumination-anchor": new Z(F.paint_hillshade["hillshade-illumination-anchor"]),
|
|
10414
|
+
"hillshade-exaggeration": new Z(F.paint_hillshade["hillshade-exaggeration"]),
|
|
10415
|
+
"hillshade-shadow-color": new Z(F.paint_hillshade["hillshade-shadow-color"]),
|
|
10416
|
+
"hillshade-highlight-color": new Z(F.paint_hillshade["hillshade-highlight-color"]),
|
|
10417
|
+
"hillshade-accent-color": new Z(F.paint_hillshade["hillshade-accent-color"]),
|
|
10418
|
+
"hillshade-method": new Z(F.paint_hillshade["hillshade-method"]),
|
|
10419
|
+
resampling: new Z(F.paint_hillshade.resampling)
|
|
10420
10420
|
});
|
|
10421
10421
|
} };
|
|
10422
10422
|
class jc extends $a {
|
|
@@ -10429,9 +10429,9 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
10429
10429
|
getIlluminationProperties() {
|
|
10430
10430
|
let e = this.paint.get("hillshade-illumination-direction").values, t = this.paint.get("hillshade-illumination-altitude").values, n = this.paint.get("hillshade-highlight-color").values, r = this.paint.get("hillshade-shadow-color").values, i = Math.max(e.length, t.length, n.length, r.length);
|
|
10431
10431
|
e = e.concat(Array(i - e.length).fill(e.at(-1))), t = t.concat(Array(i - t.length).fill(t.at(-1))), n = n.concat(Array(i - n.length).fill(n.at(-1))), r = r.concat(Array(i - r.length).fill(r.at(-1)));
|
|
10432
|
-
let a = t.map(
|
|
10432
|
+
let a = t.map(ye);
|
|
10433
10433
|
return {
|
|
10434
|
-
directionRadians: e.map(
|
|
10434
|
+
directionRadians: e.map(ye),
|
|
10435
10435
|
altitudeRadians: a,
|
|
10436
10436
|
shadowColor: r,
|
|
10437
10437
|
highlightColor: n
|
|
@@ -10444,9 +10444,9 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
10444
10444
|
let Mc;
|
|
10445
10445
|
var Nc = { get paint() {
|
|
10446
10446
|
return Mc = Mc || new Xa({
|
|
10447
|
-
"color-relief-opacity": new Z(
|
|
10448
|
-
"color-relief-color": new Ya(
|
|
10449
|
-
resampling: new Z(
|
|
10447
|
+
"color-relief-opacity": new Z(F["paint_color-relief"]["color-relief-opacity"]),
|
|
10448
|
+
"color-relief-color": new Ya(F["paint_color-relief"]["color-relief-color"]),
|
|
10449
|
+
resampling: new Z(F["paint_color-relief"].resampling)
|
|
10450
10450
|
});
|
|
10451
10451
|
} };
|
|
10452
10452
|
function Pc(e) {
|
|
@@ -10504,7 +10504,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
10504
10504
|
"mapbox",
|
|
10505
10505
|
"terrarium",
|
|
10506
10506
|
"custom"
|
|
10507
|
-
].includes(n)) return void
|
|
10507
|
+
].includes(n)) return void le(`"${n}" is not a valid encoding type. Valid types include "mapbox", "terrarium" and "custom".`);
|
|
10508
10508
|
this.stride = t.height;
|
|
10509
10509
|
let s = this.dim = t.height - 2;
|
|
10510
10510
|
switch (this.data = new Uint32Array(t.data.buffer), n) {
|
|
@@ -10600,7 +10600,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
10600
10600
|
colorStops: []
|
|
10601
10601
|
}, i = (t.elevationStops.length - 1) / (e - 1);
|
|
10602
10602
|
for (let e = 0; e < t.elevationStops.length - .5; e += i) r.elevationStops.push(t.elevationStops[Math.round(e)]), r.colorStops.push(t.colorStops[Math.round(e)]);
|
|
10603
|
-
return
|
|
10603
|
+
return le(`Too many colors in specification of ${this.id} color-relief layer, may not render properly. Max possible colors: ${e}, provided: ${t.elevationStops.length}`), r;
|
|
10604
10604
|
}
|
|
10605
10605
|
_colorRampChanged() {
|
|
10606
10606
|
return this.colorRampExpression != this._transitionablePaint._values["color-relief-color"].value.expression;
|
|
@@ -11247,17 +11247,17 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
11247
11247
|
var El = {
|
|
11248
11248
|
get paint() {
|
|
11249
11249
|
return Tl = Tl || new Xa({
|
|
11250
|
-
"fill-antialias": new Z(
|
|
11251
|
-
"fill-opacity": new Q(
|
|
11252
|
-
"fill-color": new Q(
|
|
11253
|
-
"fill-outline-color": new Q(
|
|
11254
|
-
"fill-translate": new Z(
|
|
11255
|
-
"fill-translate-anchor": new Z(
|
|
11256
|
-
"fill-pattern": new qa(
|
|
11250
|
+
"fill-antialias": new Z(F.paint_fill["fill-antialias"]),
|
|
11251
|
+
"fill-opacity": new Q(F.paint_fill["fill-opacity"]),
|
|
11252
|
+
"fill-color": new Q(F.paint_fill["fill-color"]),
|
|
11253
|
+
"fill-outline-color": new Q(F.paint_fill["fill-outline-color"]),
|
|
11254
|
+
"fill-translate": new Z(F.paint_fill["fill-translate"]),
|
|
11255
|
+
"fill-translate-anchor": new Z(F.paint_fill["fill-translate-anchor"]),
|
|
11256
|
+
"fill-pattern": new qa(F.paint_fill["fill-pattern"])
|
|
11257
11257
|
});
|
|
11258
11258
|
},
|
|
11259
11259
|
get layout() {
|
|
11260
|
-
return wl = wl || new Xa({ "fill-sort-key": new Q(
|
|
11260
|
+
return wl = wl || new Xa({ "fill-sort-key": new Q(F.layout_fill["fill-sort-key"]) });
|
|
11261
11261
|
}
|
|
11262
11262
|
};
|
|
11263
11263
|
class Dl extends $a {
|
|
@@ -11555,14 +11555,14 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
11555
11555
|
X("FillExtrusionBucket", Vl, { omit: ["layers", "features"] });
|
|
11556
11556
|
var Kl = { get paint() {
|
|
11557
11557
|
return Gl = Gl || new Xa({
|
|
11558
|
-
"fill-extrusion-opacity": new Z(
|
|
11559
|
-
"fill-extrusion-color": new Q(
|
|
11560
|
-
"fill-extrusion-translate": new Z(
|
|
11561
|
-
"fill-extrusion-translate-anchor": new Z(
|
|
11562
|
-
"fill-extrusion-pattern": new qa(
|
|
11563
|
-
"fill-extrusion-height": new Q(
|
|
11564
|
-
"fill-extrusion-base": new Q(
|
|
11565
|
-
"fill-extrusion-vertical-gradient": new Z(
|
|
11558
|
+
"fill-extrusion-opacity": new Z(F["paint_fill-extrusion"]["fill-extrusion-opacity"]),
|
|
11559
|
+
"fill-extrusion-color": new Q(F["paint_fill-extrusion"]["fill-extrusion-color"]),
|
|
11560
|
+
"fill-extrusion-translate": new Z(F["paint_fill-extrusion"]["fill-extrusion-translate"]),
|
|
11561
|
+
"fill-extrusion-translate-anchor": new Z(F["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),
|
|
11562
|
+
"fill-extrusion-pattern": new qa(F["paint_fill-extrusion"]["fill-extrusion-pattern"]),
|
|
11563
|
+
"fill-extrusion-height": new Q(F["paint_fill-extrusion"]["fill-extrusion-height"]),
|
|
11564
|
+
"fill-extrusion-base": new Q(F["paint_fill-extrusion"]["fill-extrusion-base"]),
|
|
11565
|
+
"fill-extrusion-vertical-gradient": new Z(F["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])
|
|
11566
11566
|
});
|
|
11567
11567
|
} };
|
|
11568
11568
|
class ql extends $a {
|
|
@@ -12810,26 +12810,26 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
12810
12810
|
var ld = {
|
|
12811
12811
|
get paint() {
|
|
12812
12812
|
return cd = cd || new Xa({
|
|
12813
|
-
"line-opacity": new Q(
|
|
12814
|
-
"line-color": new Q(
|
|
12815
|
-
"line-translate": new Z(
|
|
12816
|
-
"line-translate-anchor": new Z(
|
|
12817
|
-
"line-width": new Q(
|
|
12818
|
-
"line-gap-width": new Q(
|
|
12819
|
-
"line-offset": new Q(
|
|
12820
|
-
"line-blur": new Q(
|
|
12821
|
-
"line-dasharray": new qa(
|
|
12822
|
-
"line-pattern": new qa(
|
|
12823
|
-
"line-gradient": new Ya(
|
|
12813
|
+
"line-opacity": new Q(F.paint_line["line-opacity"]),
|
|
12814
|
+
"line-color": new Q(F.paint_line["line-color"]),
|
|
12815
|
+
"line-translate": new Z(F.paint_line["line-translate"]),
|
|
12816
|
+
"line-translate-anchor": new Z(F.paint_line["line-translate-anchor"]),
|
|
12817
|
+
"line-width": new Q(F.paint_line["line-width"]),
|
|
12818
|
+
"line-gap-width": new Q(F.paint_line["line-gap-width"]),
|
|
12819
|
+
"line-offset": new Q(F.paint_line["line-offset"]),
|
|
12820
|
+
"line-blur": new Q(F.paint_line["line-blur"]),
|
|
12821
|
+
"line-dasharray": new qa(F.paint_line["line-dasharray"]),
|
|
12822
|
+
"line-pattern": new qa(F.paint_line["line-pattern"]),
|
|
12823
|
+
"line-gradient": new Ya(F.paint_line["line-gradient"])
|
|
12824
12824
|
});
|
|
12825
12825
|
},
|
|
12826
12826
|
get layout() {
|
|
12827
12827
|
return sd = sd || new Xa({
|
|
12828
|
-
"line-cap": new Q(
|
|
12829
|
-
"line-join": new Q(
|
|
12830
|
-
"line-miter-limit": new Q(
|
|
12831
|
-
"line-round-limit": new Q(
|
|
12832
|
-
"line-sort-key": new Q(
|
|
12828
|
+
"line-cap": new Q(F.layout_line["line-cap"]),
|
|
12829
|
+
"line-join": new Q(F.layout_line["line-join"]),
|
|
12830
|
+
"line-miter-limit": new Q(F.layout_line["line-miter-limit"]),
|
|
12831
|
+
"line-round-limit": new Q(F.layout_line["line-round-limit"]),
|
|
12832
|
+
"line-sort-key": new Q(F.layout_line["line-sort-key"])
|
|
12833
12833
|
});
|
|
12834
12834
|
}
|
|
12835
12835
|
};
|
|
@@ -13449,13 +13449,13 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
13449
13449
|
}
|
|
13450
13450
|
addImageSection(e) {
|
|
13451
13451
|
let t = e.image ? e.image.name : "";
|
|
13452
|
-
if (t.length === 0) return void
|
|
13452
|
+
if (t.length === 0) return void le("Can't add FormattedSection with an empty image.");
|
|
13453
13453
|
let n = this.getNextImageSectionCharCode();
|
|
13454
13454
|
n ? (this.text += String.fromCharCode(n), this.sections.push({
|
|
13455
13455
|
scale: 1,
|
|
13456
13456
|
verticalAlign: e.verticalAlign || "bottom",
|
|
13457
13457
|
imageName: t
|
|
13458
|
-
}), this.sectionIndex.push(this.sections.length - 1)) :
|
|
13458
|
+
}), this.sectionIndex.push(this.sections.length - 1)) : le("Reached maximum number of images 6401");
|
|
13459
13459
|
}
|
|
13460
13460
|
getNextImageSectionCharCode() {
|
|
13461
13461
|
return this.imageSectionID ? this.imageSectionID >= 63743 ? null : ++this.imageSectionID : (this.imageSectionID = 57344, this.imageSectionID);
|
|
@@ -14574,72 +14574,72 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
14574
14574
|
var Cf = {
|
|
14575
14575
|
get paint() {
|
|
14576
14576
|
return Sf = Sf || new Xa({
|
|
14577
|
-
"icon-opacity": new Q(
|
|
14578
|
-
"icon-color": new Q(
|
|
14579
|
-
"icon-halo-color": new Q(
|
|
14580
|
-
"icon-halo-width": new Q(
|
|
14581
|
-
"icon-halo-blur": new Q(
|
|
14582
|
-
"icon-translate": new Z(
|
|
14583
|
-
"icon-translate-anchor": new Z(
|
|
14584
|
-
"text-opacity": new Q(
|
|
14585
|
-
"text-color": new Q(
|
|
14577
|
+
"icon-opacity": new Q(F.paint_symbol["icon-opacity"]),
|
|
14578
|
+
"icon-color": new Q(F.paint_symbol["icon-color"]),
|
|
14579
|
+
"icon-halo-color": new Q(F.paint_symbol["icon-halo-color"]),
|
|
14580
|
+
"icon-halo-width": new Q(F.paint_symbol["icon-halo-width"]),
|
|
14581
|
+
"icon-halo-blur": new Q(F.paint_symbol["icon-halo-blur"]),
|
|
14582
|
+
"icon-translate": new Z(F.paint_symbol["icon-translate"]),
|
|
14583
|
+
"icon-translate-anchor": new Z(F.paint_symbol["icon-translate-anchor"]),
|
|
14584
|
+
"text-opacity": new Q(F.paint_symbol["text-opacity"]),
|
|
14585
|
+
"text-color": new Q(F.paint_symbol["text-color"], {
|
|
14586
14586
|
runtimeType: Qe,
|
|
14587
14587
|
getOverride: (e) => e.textColor,
|
|
14588
14588
|
hasOverride: (e) => !!e.textColor
|
|
14589
14589
|
}),
|
|
14590
|
-
"text-halo-color": new Q(
|
|
14591
|
-
"text-halo-width": new Q(
|
|
14592
|
-
"text-halo-blur": new Q(
|
|
14593
|
-
"text-translate": new Z(
|
|
14594
|
-
"text-translate-anchor": new Z(
|
|
14590
|
+
"text-halo-color": new Q(F.paint_symbol["text-halo-color"]),
|
|
14591
|
+
"text-halo-width": new Q(F.paint_symbol["text-halo-width"]),
|
|
14592
|
+
"text-halo-blur": new Q(F.paint_symbol["text-halo-blur"]),
|
|
14593
|
+
"text-translate": new Z(F.paint_symbol["text-translate"]),
|
|
14594
|
+
"text-translate-anchor": new Z(F.paint_symbol["text-translate-anchor"])
|
|
14595
14595
|
});
|
|
14596
14596
|
},
|
|
14597
14597
|
get layout() {
|
|
14598
14598
|
return xf = xf || new Xa({
|
|
14599
|
-
"symbol-placement": new Z(
|
|
14600
|
-
"symbol-spacing": new Z(
|
|
14601
|
-
"symbol-avoid-edges": new Z(
|
|
14602
|
-
"symbol-sort-key": new Q(
|
|
14603
|
-
"symbol-z-order": new Z(
|
|
14604
|
-
"icon-allow-overlap": new Z(
|
|
14605
|
-
"icon-overlap": new Z(
|
|
14606
|
-
"icon-ignore-placement": new Z(
|
|
14607
|
-
"icon-optional": new Z(
|
|
14608
|
-
"icon-rotation-alignment": new Z(
|
|
14609
|
-
"icon-size": new Q(
|
|
14610
|
-
"icon-text-fit": new Z(
|
|
14611
|
-
"icon-text-fit-padding": new Z(
|
|
14612
|
-
"icon-image": new Q(
|
|
14613
|
-
"icon-rotate": new Q(
|
|
14614
|
-
"icon-padding": new Q(
|
|
14615
|
-
"icon-keep-upright": new Z(
|
|
14616
|
-
"icon-offset": new Q(
|
|
14617
|
-
"icon-anchor": new Q(
|
|
14618
|
-
"icon-pitch-alignment": new Z(
|
|
14619
|
-
"text-pitch-alignment": new Z(
|
|
14620
|
-
"text-rotation-alignment": new Z(
|
|
14621
|
-
"text-field": new Q(
|
|
14622
|
-
"text-font": new Q(
|
|
14623
|
-
"text-size": new Q(
|
|
14624
|
-
"text-max-width": new Q(
|
|
14625
|
-
"text-line-height": new Z(
|
|
14626
|
-
"text-letter-spacing": new Q(
|
|
14627
|
-
"text-justify": new Q(
|
|
14628
|
-
"text-radial-offset": new Q(
|
|
14629
|
-
"text-variable-anchor": new Z(
|
|
14630
|
-
"text-variable-anchor-offset": new Q(
|
|
14631
|
-
"text-anchor": new Q(
|
|
14632
|
-
"text-max-angle": new Z(
|
|
14633
|
-
"text-writing-mode": new Z(
|
|
14634
|
-
"text-rotate": new Q(
|
|
14635
|
-
"text-padding": new Z(
|
|
14636
|
-
"text-keep-upright": new Z(
|
|
14637
|
-
"text-transform": new Q(
|
|
14638
|
-
"text-offset": new Q(
|
|
14639
|
-
"text-allow-overlap": new Z(
|
|
14640
|
-
"text-overlap": new Z(
|
|
14641
|
-
"text-ignore-placement": new Z(
|
|
14642
|
-
"text-optional": new Z(
|
|
14599
|
+
"symbol-placement": new Z(F.layout_symbol["symbol-placement"]),
|
|
14600
|
+
"symbol-spacing": new Z(F.layout_symbol["symbol-spacing"]),
|
|
14601
|
+
"symbol-avoid-edges": new Z(F.layout_symbol["symbol-avoid-edges"]),
|
|
14602
|
+
"symbol-sort-key": new Q(F.layout_symbol["symbol-sort-key"]),
|
|
14603
|
+
"symbol-z-order": new Z(F.layout_symbol["symbol-z-order"]),
|
|
14604
|
+
"icon-allow-overlap": new Z(F.layout_symbol["icon-allow-overlap"]),
|
|
14605
|
+
"icon-overlap": new Z(F.layout_symbol["icon-overlap"]),
|
|
14606
|
+
"icon-ignore-placement": new Z(F.layout_symbol["icon-ignore-placement"]),
|
|
14607
|
+
"icon-optional": new Z(F.layout_symbol["icon-optional"]),
|
|
14608
|
+
"icon-rotation-alignment": new Z(F.layout_symbol["icon-rotation-alignment"]),
|
|
14609
|
+
"icon-size": new Q(F.layout_symbol["icon-size"]),
|
|
14610
|
+
"icon-text-fit": new Z(F.layout_symbol["icon-text-fit"]),
|
|
14611
|
+
"icon-text-fit-padding": new Z(F.layout_symbol["icon-text-fit-padding"]),
|
|
14612
|
+
"icon-image": new Q(F.layout_symbol["icon-image"]),
|
|
14613
|
+
"icon-rotate": new Q(F.layout_symbol["icon-rotate"]),
|
|
14614
|
+
"icon-padding": new Q(F.layout_symbol["icon-padding"]),
|
|
14615
|
+
"icon-keep-upright": new Z(F.layout_symbol["icon-keep-upright"]),
|
|
14616
|
+
"icon-offset": new Q(F.layout_symbol["icon-offset"]),
|
|
14617
|
+
"icon-anchor": new Q(F.layout_symbol["icon-anchor"]),
|
|
14618
|
+
"icon-pitch-alignment": new Z(F.layout_symbol["icon-pitch-alignment"]),
|
|
14619
|
+
"text-pitch-alignment": new Z(F.layout_symbol["text-pitch-alignment"]),
|
|
14620
|
+
"text-rotation-alignment": new Z(F.layout_symbol["text-rotation-alignment"]),
|
|
14621
|
+
"text-field": new Q(F.layout_symbol["text-field"]),
|
|
14622
|
+
"text-font": new Q(F.layout_symbol["text-font"]),
|
|
14623
|
+
"text-size": new Q(F.layout_symbol["text-size"]),
|
|
14624
|
+
"text-max-width": new Q(F.layout_symbol["text-max-width"]),
|
|
14625
|
+
"text-line-height": new Z(F.layout_symbol["text-line-height"]),
|
|
14626
|
+
"text-letter-spacing": new Q(F.layout_symbol["text-letter-spacing"]),
|
|
14627
|
+
"text-justify": new Q(F.layout_symbol["text-justify"]),
|
|
14628
|
+
"text-radial-offset": new Q(F.layout_symbol["text-radial-offset"]),
|
|
14629
|
+
"text-variable-anchor": new Z(F.layout_symbol["text-variable-anchor"]),
|
|
14630
|
+
"text-variable-anchor-offset": new Q(F.layout_symbol["text-variable-anchor-offset"]),
|
|
14631
|
+
"text-anchor": new Q(F.layout_symbol["text-anchor"]),
|
|
14632
|
+
"text-max-angle": new Z(F.layout_symbol["text-max-angle"]),
|
|
14633
|
+
"text-writing-mode": new Z(F.layout_symbol["text-writing-mode"]),
|
|
14634
|
+
"text-rotate": new Q(F.layout_symbol["text-rotate"]),
|
|
14635
|
+
"text-padding": new Z(F.layout_symbol["text-padding"]),
|
|
14636
|
+
"text-keep-upright": new Z(F.layout_symbol["text-keep-upright"]),
|
|
14637
|
+
"text-transform": new Q(F.layout_symbol["text-transform"]),
|
|
14638
|
+
"text-offset": new Q(F.layout_symbol["text-offset"]),
|
|
14639
|
+
"text-allow-overlap": new Z(F.layout_symbol["text-allow-overlap"]),
|
|
14640
|
+
"text-overlap": new Z(F.layout_symbol["text-overlap"]),
|
|
14641
|
+
"text-ignore-placement": new Z(F.layout_symbol["text-ignore-placement"]),
|
|
14642
|
+
"text-optional": new Z(F.layout_symbol["text-optional"])
|
|
14643
14643
|
});
|
|
14644
14644
|
}
|
|
14645
14645
|
};
|
|
@@ -14724,9 +14724,9 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
14724
14724
|
let Ef;
|
|
14725
14725
|
var Df = { get paint() {
|
|
14726
14726
|
return Ef = Ef || new Xa({
|
|
14727
|
-
"background-color": new Z(
|
|
14728
|
-
"background-pattern": new Ja(
|
|
14729
|
-
"background-opacity": new Z(
|
|
14727
|
+
"background-color": new Z(F.paint_background["background-color"]),
|
|
14728
|
+
"background-pattern": new Ja(F.paint_background["background-pattern"]),
|
|
14729
|
+
"background-opacity": new Z(F.paint_background["background-opacity"])
|
|
14730
14730
|
});
|
|
14731
14731
|
} };
|
|
14732
14732
|
class Of extends $a {
|
|
@@ -14778,7 +14778,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
14778
14778
|
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");
|
|
14779
14779
|
}
|
|
14780
14780
|
wrap() {
|
|
14781
|
-
return new Nf(
|
|
14781
|
+
return new Nf(ne(this.lng, -180, 180), this.lat);
|
|
14782
14782
|
}
|
|
14783
14783
|
toArray() {
|
|
14784
14784
|
return [this.lng, this.lat];
|
|
@@ -17371,21 +17371,21 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17371
17371
|
(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;
|
|
17372
17372
|
}
|
|
17373
17373
|
let E = u.x1, D = u.y1, O = u.x2 - E, k = u.y2 - D, A = (e, i, a, c) => {
|
|
17374
|
-
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), ee = new n(p, _),
|
|
17375
|
-
if (
|
|
17376
|
-
let e = Math.sin(
|
|
17374
|
+
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), ee = new n(p, _), te = new n(l, _), N = new n(u / s, f / s), P = new n(g / s, A / s), ne = t * Math.PI / 180;
|
|
17375
|
+
if (ne) {
|
|
17376
|
+
let e = Math.sin(ne), t = Math.cos(ne), n = [
|
|
17377
17377
|
t,
|
|
17378
17378
|
-e,
|
|
17379
17379
|
e,
|
|
17380
17380
|
t
|
|
17381
17381
|
];
|
|
17382
|
-
j._matMult(n), M._matMult(n),
|
|
17382
|
+
j._matMult(n), M._matMult(n), te._matMult(n), ee._matMult(n);
|
|
17383
17383
|
}
|
|
17384
17384
|
let re = e.stretch + e.fixed, ie = i.stretch + i.fixed;
|
|
17385
17385
|
return {
|
|
17386
17386
|
tl: j,
|
|
17387
17387
|
tr: M,
|
|
17388
|
-
bl:
|
|
17388
|
+
bl: te,
|
|
17389
17389
|
br: ee,
|
|
17390
17390
|
tex: {
|
|
17391
17391
|
x: o.paddedRect.x + 1 + re,
|
|
@@ -17396,8 +17396,8 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17396
17396
|
writingMode: void 0,
|
|
17397
17397
|
glyphOffset: [0, 0],
|
|
17398
17398
|
sectionIndex: 0,
|
|
17399
|
-
pixelOffsetTL:
|
|
17400
|
-
pixelOffsetBR:
|
|
17399
|
+
pixelOffsetTL: N,
|
|
17400
|
+
pixelOffsetBR: P,
|
|
17401
17401
|
minFontScaleX: C / s / O,
|
|
17402
17402
|
minFontScaleY: T / s / k,
|
|
17403
17403
|
isSDF: r
|
|
@@ -17658,7 +17658,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17658
17658
|
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, _)));
|
|
17659
17659
|
let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1, ee = (c, f) => {
|
|
17660
17660
|
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) {
|
|
17661
|
-
let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, ee = 0,
|
|
17661
|
+
let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, ee = 0, te = 0, N = -1, P = -1, ne = {}, re = _s("");
|
|
17662
17662
|
if (t.allowVerticalPlacement && i.vertical) {
|
|
17663
17663
|
let e = c.layout.get("text-rotate").evaluate(x, {}, w) + 90;
|
|
17664
17664
|
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));
|
|
@@ -17667,29 +17667,29 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17667
17667
|
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;
|
|
17668
17668
|
O = new yh(l, n, u, d, f, a, _, v, !1, r), j = 4 * o.length;
|
|
17669
17669
|
let m = t.iconSizeData, h = null;
|
|
17670
|
-
m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df &&
|
|
17670
|
+
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), N = 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), P = t.icon.placedSymbolArray.length - 1);
|
|
17671
17671
|
}
|
|
17672
17672
|
let ie = Object.keys(i.horizontal);
|
|
17673
17673
|
for (let r of ie) {
|
|
17674
17674
|
let a = i.horizontal[r];
|
|
17675
17675
|
D || (re = _s(a.text), D = new yh(l, n, u, d, f, a, p, m, h, c.layout.get("text-rotate").evaluate(x, {}, w)));
|
|
17676
17676
|
let s = a.positionedLines.length === 1;
|
|
17677
|
-
if (ee += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? ie : [r],
|
|
17678
|
-
}
|
|
17679
|
-
i.vertical && (
|
|
17680
|
-
let ae = D ? D.boxStartIndex : t.collisionBoxArray.length, oe = D ? D.boxEndIndex : t.collisionBoxArray.length, se = k ? k.boxStartIndex : t.collisionBoxArray.length,
|
|
17681
|
-
|
|
17682
|
-
let
|
|
17683
|
-
|
|
17684
|
-
let
|
|
17677
|
+
if (ee += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? ie : [r], ne, N, S, w), s) break;
|
|
17678
|
+
}
|
|
17679
|
+
i.vertical && (te += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], ne, P, S, w));
|
|
17680
|
+
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;
|
|
17681
|
+
me = he(D, me), me = he(k, me), me = he(O, me), me = he(A, me);
|
|
17682
|
+
let ge = +(me > -1);
|
|
17683
|
+
ge && (me *= T / xd), t.glyphOffsetArray.length >= bf.MAX_GLYPHS && le("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), x.sortKey !== void 0 && t.addToSortKeyRanges(t.symbolInstances.length, x.sortKey);
|
|
17684
|
+
let _e = Dh(c, x, w), [ve, ye] = function(t, n) {
|
|
17685
17685
|
let r = t.length, i = n == null ? void 0 : n.values;
|
|
17686
17686
|
if ((i == null ? void 0 : i.length) > 0) for (let n = 0; n < i.length; n += 2) {
|
|
17687
17687
|
let r = i[n + 1];
|
|
17688
17688
|
t.emplaceBack(e.aM[i[n]], r[0], r[1]);
|
|
17689
17689
|
}
|
|
17690
17690
|
return [r, t.length];
|
|
17691
|
-
}(t.textAnchorOffsets,
|
|
17692
|
-
t.symbolInstances.emplaceBack(n.x, n.y,
|
|
17691
|
+
}(t.textAnchorOffsets, _e);
|
|
17692
|
+
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, N, P, re, ae, oe, se, ce, ue, de, fe, pe, u, ee, te, j, M, ge, 0, p, me, ve, ye);
|
|
17693
17693
|
}(t, f, c, r, i, a, j, t.layers[0], t.collisionBoxArray, n.index, n.sourceLayerIndex, t.index, v, [
|
|
17694
17694
|
S,
|
|
17695
17695
|
S,
|
|
@@ -17761,7 +17761,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17761
17761
|
}
|
|
17762
17762
|
return u;
|
|
17763
17763
|
}(0, r, c, a, o, s, i, e.allowVerticalPlacement), _ = e.textSizeData, v = null;
|
|
17764
|
-
_.kind === "source" ? (v = [128 * a.layout.get("text-size").evaluate(s, {})], v[0] > df &&
|
|
17764
|
+
_.kind === "source" ? (v = [128 * a.layout.get("text-size").evaluate(s, {})], v[0] > df && le(`${e.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)) : _.kind === "composite" && (v = [128 * m.compositeTextSizes[0].evaluate(s, {}, h), 128 * m.compositeTextSizes[1].evaluate(s, {}, h)], (v[0] > df || v[1] > df) && le(`${e.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)), e.addSymbols(e.text, g, v, c, o, s, u, t, l.lineStartIndex, l.lineLength, p, h);
|
|
17765
17765
|
for (let t of d) f[t] = e.text.placedSymbolArray.length - 1;
|
|
17766
17766
|
return 4 * g.length;
|
|
17767
17767
|
}
|
|
@@ -17777,21 +17777,21 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17777
17777
|
} else i[t] = [];
|
|
17778
17778
|
return i[t].push(r), !1;
|
|
17779
17779
|
}
|
|
17780
|
-
e.$ =
|
|
17780
|
+
e.$ = Te, e.A = f, e.B = Ra, e.C = pa, e.D = Z, e.E = Re, e.F = ca, e.G = function([e, t, n]) {
|
|
17781
17781
|
return t += 90, t *= Math.PI / 180, n *= Math.PI / 180, {
|
|
17782
17782
|
x: e * Math.cos(t) * Math.sin(n),
|
|
17783
17783
|
y: e * Math.sin(t) * Math.sin(n),
|
|
17784
17784
|
z: e * Math.cos(n)
|
|
17785
17785
|
};
|
|
17786
17786
|
}, e.H = xn, e.I = Xd, e.J = Ia, e.K = ua, e.L = function(e) {
|
|
17787
|
-
if (
|
|
17787
|
+
if (fe == null) {
|
|
17788
17788
|
let t = e.navigator ? e.navigator.userAgent : null;
|
|
17789
|
-
|
|
17789
|
+
fe = !!e.safari || !(!t || !(/\b(iPad|iPhone|iPod)\b/.test(t) || t.match("Safari") && !t.match("Chrome")));
|
|
17790
17790
|
}
|
|
17791
|
-
return
|
|
17792
|
-
}, e.M =
|
|
17791
|
+
return fe;
|
|
17792
|
+
}, e.M = ke, e.N = class {
|
|
17793
17793
|
constructor(e, t) {
|
|
17794
|
-
this.target = e, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new Af((() => this.process())), this.subscription =
|
|
17794
|
+
this.target = e, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new Af((() => this.process())), this.subscription = ve(this.target, "message", ((e) => this.receive(e)), !1), this.globalScope = de(self) ? e : window;
|
|
17795
17795
|
}
|
|
17796
17796
|
registerMessageHandler(e, t) {
|
|
17797
17797
|
this.messageHandlers[e] = t;
|
|
@@ -17801,7 +17801,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17801
17801
|
}
|
|
17802
17802
|
sendAsync(e, t) {
|
|
17803
17803
|
return new Promise(((n, r) => {
|
|
17804
|
-
let i = Math.round(0xde0b6b3a7640000 * Math.random()).toString(36).substring(0, 10), a = t ?
|
|
17804
|
+
let i = Math.round(0xde0b6b3a7640000 * Math.random()).toString(36).substring(0, 10), a = t ? ve(t.signal, "abort", (() => {
|
|
17805
17805
|
a == null || a.unsubscribe(), delete this.resolveRejects[i];
|
|
17806
17806
|
let t = {
|
|
17807
17807
|
id: i,
|
|
@@ -17842,7 +17842,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17842
17842
|
delete this.abortControllers[n], e && e.abort();
|
|
17843
17843
|
return;
|
|
17844
17844
|
}
|
|
17845
|
-
if (
|
|
17845
|
+
if (de(self) || t.mustQueue) return this.tasks[n] = t, this.taskQueue.push(n), void this.invoker.trigger();
|
|
17846
17846
|
this.processTask(n, t);
|
|
17847
17847
|
}
|
|
17848
17848
|
}
|
|
@@ -17902,10 +17902,10 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17902
17902
|
let n = {};
|
|
17903
17903
|
for (let r of t) r in e && (n[r] = e[r]);
|
|
17904
17904
|
return n;
|
|
17905
|
-
}, e.W = Nf, e.X =
|
|
17905
|
+
}, e.W = Nf, e.X = ne, e.Y = Lf, e.Z = If, e._ = t, e.a = we, e.a$ = function(e) {
|
|
17906
17906
|
var t = new f(3);
|
|
17907
17907
|
return t[0] = e[0], t[1] = e[1], t[2] = e[2], t;
|
|
17908
|
-
}, e.a0 = l, e.a1 = u, e.a2 =
|
|
17908
|
+
}, 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) {
|
|
17909
17909
|
var t = e[0], n = e[1];
|
|
17910
17910
|
return Math.sqrt(t * t + n * n);
|
|
17911
17911
|
}, e.aB = function(e) {
|
|
@@ -17934,7 +17934,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17934
17934
|
n = [n[0] * t - n[1] * e, n[0] * e + n[1] * t];
|
|
17935
17935
|
}
|
|
17936
17936
|
return [i ? n[0] : k(t, n[0], e.zoom), i ? n[1] : k(t, n[1], e.zoom)];
|
|
17937
|
-
}, e.aN = pf, e.aO = Oh, e.aP = ef, e.aQ = (e) => e.type === "symbol", e.aR = Zl, e.aS = oo, e.aT = ml, e.aU = Go, e.aV = ss, e.aW = is, e.aX =
|
|
17937
|
+
}, e.aN = pf, e.aO = Oh, e.aP = ef, e.aQ = (e) => e.type === "symbol", e.aR = Zl, e.aS = oo, e.aT = ml, e.aU = Go, e.aV = ss, e.aW = is, e.aX = be, e.aY = Vf, e.aZ = y, e.a_ = v, e.aa = Wf, e.ab = (e) => {
|
|
17938
17938
|
let t = window.document.createElement("video");
|
|
17939
17939
|
return t.muted = !0, new Promise(((n) => {
|
|
17940
17940
|
t.onloadstart = () => {
|
|
@@ -17942,7 +17942,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17942
17942
|
};
|
|
17943
17943
|
for (let n of e) {
|
|
17944
17944
|
let e = window.document.createElement("source");
|
|
17945
|
-
|
|
17945
|
+
Ne(n) || (t.crossOrigin = "Anonymous"), e.src = n, t.appendChild(e);
|
|
17946
17946
|
}
|
|
17947
17947
|
}));
|
|
17948
17948
|
}, e.ac = z, e.ad = function() {
|
|
@@ -17957,7 +17957,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
17957
17957
|
isNaN(e) ? delete t["max-age"] : t["max-age"] = e;
|
|
17958
17958
|
}
|
|
17959
17959
|
return t;
|
|
17960
|
-
}, e.al =
|
|
17960
|
+
}, e.al = P, e.am = 85.051129, e.an = ye, e.ao = function(e) {
|
|
17961
17961
|
return 2 ** e;
|
|
17962
17962
|
}, e.ap = m, e.aq = Rf, e.ar = function(e) {
|
|
17963
17963
|
return Math.log(e) / Math.LN2;
|
|
@@ -18042,7 +18042,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18042
18042
|
let n = 0, r = 0;
|
|
18043
18043
|
if (e.kind === "constant") r = e.layoutSize;
|
|
18044
18044
|
else if (e.kind !== "source") {
|
|
18045
|
-
let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ?
|
|
18045
|
+
let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ? P(yn.interpolationFactor(i, t, a, o), 0, 1) : 0;
|
|
18046
18046
|
e.kind === "camera" ? r = xn.number(e.minSize, e.maxSize, s) : n = s;
|
|
18047
18047
|
}
|
|
18048
18048
|
return {
|
|
@@ -18051,7 +18051,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18051
18051
|
};
|
|
18052
18052
|
}, e.ay = function(e, { uSize: t, uSizeT: n }, { lowerSize: r, upperSize: i }) {
|
|
18053
18053
|
return e.kind === "source" ? r / 128 : e.kind === "composite" ? xn.number(r / 128, i / 128, n) : t;
|
|
18054
|
-
}, e.az = E, e.b =
|
|
18054
|
+
}, e.az = E, e.b = pe, e.b$ = Ts, e.b0 = function(e, t, n) {
|
|
18055
18055
|
return e[0] = t[0] - n[0], e[1] = t[1] - n[1], e[2] = t[2] - n[2], e;
|
|
18056
18056
|
}, e.b1 = function(e, t) {
|
|
18057
18057
|
var n = t[0], r = t[1], i = t[2], a = n * n + r * r + i * i;
|
|
@@ -18138,16 +18138,16 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18138
18138
|
let n = j(e, 2 * Math.PI), r = j(t, 2 * Math.PI);
|
|
18139
18139
|
return Math.min(Math.abs(n - r), Math.abs(n - r + 2 * Math.PI), Math.abs(n - r - 2 * Math.PI));
|
|
18140
18140
|
}, e.bN = function() {
|
|
18141
|
-
let e = {}, t =
|
|
18142
|
-
for (let n in
|
|
18143
|
-
let r =
|
|
18141
|
+
let e = {}, t = F.$version;
|
|
18142
|
+
for (let n in F.$root) {
|
|
18143
|
+
let r = F.$root[n];
|
|
18144
18144
|
if (r.required) {
|
|
18145
18145
|
let i = null;
|
|
18146
18146
|
i = n === "version" ? t : r.type === "array" ? [] : {}, i != null && (e[n] = i);
|
|
18147
18147
|
}
|
|
18148
18148
|
}
|
|
18149
18149
|
return e;
|
|
18150
|
-
}, e.bO =
|
|
18150
|
+
}, e.bO = je, e.bP = xa, e.bQ = function e(t, n) {
|
|
18151
18151
|
if (Array.isArray(t)) {
|
|
18152
18152
|
if (!Array.isArray(n) || t.length !== n.length) return !1;
|
|
18153
18153
|
for (let r = 0; r < t.length; r++) if (!e(t[r], n[r])) return !1;
|
|
@@ -18159,11 +18159,11 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18159
18159
|
return !0;
|
|
18160
18160
|
}
|
|
18161
18161
|
return t === n;
|
|
18162
|
-
}, e.bR =
|
|
18162
|
+
}, e.bR = Ee, e.bS = function(e) {
|
|
18163
18163
|
e = e.slice();
|
|
18164
18164
|
let t = Object.create(null);
|
|
18165
18165
|
for (let n = 0; n < e.length; n++) t[e[n].id] = e[n];
|
|
18166
|
-
for (let n = 0; n < e.length; n++) "ref" in e[n] && (e[n] =
|
|
18166
|
+
for (let n = 0; n < e.length; n++) "ref" in e[n] && (e[n] = Be(e[n], t[e[n].ref]));
|
|
18167
18167
|
return e;
|
|
18168
18168
|
}, e.bT = function(e, t) {
|
|
18169
18169
|
if (e.type === "custom") return new kf(e, t);
|
|
@@ -18186,50 +18186,50 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18186
18186
|
}];
|
|
18187
18187
|
let n = [];
|
|
18188
18188
|
try {
|
|
18189
|
-
if (!
|
|
18189
|
+
if (!I(e.version, t.version)) return [{
|
|
18190
18190
|
command: "setStyle",
|
|
18191
18191
|
args: [t]
|
|
18192
18192
|
}];
|
|
18193
|
-
|
|
18193
|
+
I(e.center, t.center) || n.push({
|
|
18194
18194
|
command: "setCenter",
|
|
18195
18195
|
args: [t.center]
|
|
18196
|
-
}),
|
|
18196
|
+
}), I(e.state, t.state) || n.push({
|
|
18197
18197
|
command: "setGlobalState",
|
|
18198
18198
|
args: [t.state]
|
|
18199
|
-
}),
|
|
18199
|
+
}), I(e.centerAltitude, t.centerAltitude) || n.push({
|
|
18200
18200
|
command: "setCenterAltitude",
|
|
18201
18201
|
args: [t.centerAltitude]
|
|
18202
|
-
}),
|
|
18202
|
+
}), I(e.zoom, t.zoom) || n.push({
|
|
18203
18203
|
command: "setZoom",
|
|
18204
18204
|
args: [t.zoom]
|
|
18205
|
-
}),
|
|
18205
|
+
}), I(e.bearing, t.bearing) || n.push({
|
|
18206
18206
|
command: "setBearing",
|
|
18207
18207
|
args: [t.bearing]
|
|
18208
|
-
}),
|
|
18208
|
+
}), I(e.pitch, t.pitch) || n.push({
|
|
18209
18209
|
command: "setPitch",
|
|
18210
18210
|
args: [t.pitch]
|
|
18211
|
-
}),
|
|
18211
|
+
}), I(e.roll, t.roll) || n.push({
|
|
18212
18212
|
command: "setRoll",
|
|
18213
18213
|
args: [t.roll]
|
|
18214
|
-
}),
|
|
18214
|
+
}), I(e.sprite, t.sprite) || n.push({
|
|
18215
18215
|
command: "setSprite",
|
|
18216
18216
|
args: [t.sprite]
|
|
18217
|
-
}),
|
|
18217
|
+
}), I(e.glyphs, t.glyphs) || n.push({
|
|
18218
18218
|
command: "setGlyphs",
|
|
18219
18219
|
args: [t.glyphs]
|
|
18220
|
-
}),
|
|
18220
|
+
}), I(e.transition, t.transition) || n.push({
|
|
18221
18221
|
command: "setTransition",
|
|
18222
18222
|
args: [t.transition]
|
|
18223
|
-
}),
|
|
18223
|
+
}), I(e.light, t.light) || n.push({
|
|
18224
18224
|
command: "setLight",
|
|
18225
18225
|
args: [t.light]
|
|
18226
|
-
}),
|
|
18226
|
+
}), I(e.terrain, t.terrain) || n.push({
|
|
18227
18227
|
command: "setTerrain",
|
|
18228
18228
|
args: [t.terrain]
|
|
18229
|
-
}),
|
|
18229
|
+
}), I(e.sky, t.sky) || n.push({
|
|
18230
18230
|
command: "setSky",
|
|
18231
18231
|
args: [t.sky]
|
|
18232
|
-
}),
|
|
18232
|
+
}), I(e.projection, t.projection) || n.push({
|
|
18233
18233
|
command: "setProjection",
|
|
18234
18234
|
args: [t.projection]
|
|
18235
18235
|
});
|
|
@@ -18237,7 +18237,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18237
18237
|
(function(e, t, n, r) {
|
|
18238
18238
|
let i;
|
|
18239
18239
|
for (i in t = t || {}, e = e || {}) Object.prototype.hasOwnProperty.call(e, i) && (Object.prototype.hasOwnProperty.call(t, i) || He(i, n, r));
|
|
18240
|
-
for (i in t) Object.prototype.hasOwnProperty.call(t, i) && (Object.prototype.hasOwnProperty.call(e, i) ?
|
|
18240
|
+
for (i in t) Object.prototype.hasOwnProperty.call(t, i) && (Object.prototype.hasOwnProperty.call(e, i) ? I(e[i], t[i]) || (e[i].type === "geojson" && t[i].type === "geojson" && We(e, t, i) ? R(n, {
|
|
18241
18241
|
command: "setGeoJSONSourceData",
|
|
18242
18242
|
args: [i, t[i].data]
|
|
18243
18243
|
}) : Ue(i, t, n, r)) : Ve(i, t, n));
|
|
@@ -18251,29 +18251,29 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18251
18251
|
})), n = n.concat(i), function(e, t, n) {
|
|
18252
18252
|
t = t || [];
|
|
18253
18253
|
let r = (e = e || []).map(Ke), i = t.map(Ke), a = e.reduce(qe, {}), o = t.reduce(qe, {}), s = r.slice(), c = Object.create(null), l, u, d, f, p;
|
|
18254
|
-
for (let e = 0, t = 0; e < r.length; e++) l = r[e], Object.prototype.hasOwnProperty.call(o, l) ? t++ : (
|
|
18254
|
+
for (let e = 0, t = 0; e < r.length; e++) l = r[e], Object.prototype.hasOwnProperty.call(o, l) ? t++ : (R(n, {
|
|
18255
18255
|
command: "removeLayer",
|
|
18256
18256
|
args: [l]
|
|
18257
18257
|
}), s.splice(s.indexOf(l, t), 1));
|
|
18258
|
-
for (let e = 0, t = 0; e < i.length; e++) l = i[i.length - 1 - e], s[s.length - 1 - e] !== l && (Object.prototype.hasOwnProperty.call(a, l) ? (
|
|
18258
|
+
for (let e = 0, t = 0; e < i.length; e++) l = i[i.length - 1 - e], s[s.length - 1 - e] !== l && (Object.prototype.hasOwnProperty.call(a, l) ? (R(n, {
|
|
18259
18259
|
command: "removeLayer",
|
|
18260
18260
|
args: [l]
|
|
18261
|
-
}), s.splice(s.lastIndexOf(l, s.length - t), 1)) : t++, f = s[s.length - e],
|
|
18261
|
+
}), s.splice(s.lastIndexOf(l, s.length - t), 1)) : t++, f = s[s.length - e], R(n, {
|
|
18262
18262
|
command: "addLayer",
|
|
18263
18263
|
args: [o[l], f]
|
|
18264
18264
|
}), s.splice(s.length - e, 0, l), c[l] = !0);
|
|
18265
|
-
for (let e = 0; e < i.length; e++) if (l = i[e], u = a[l], d = o[l], !c[l] && !
|
|
18266
|
-
for (p in Ge(u.layout, d.layout, n, l, null, "setLayoutProperty"), Ge(u.paint, d.paint, n, l, null, "setPaintProperty"),
|
|
18265
|
+
for (let e = 0; e < i.length; e++) if (l = i[e], u = a[l], d = o[l], !c[l] && !I(u, d)) if (I(u.source, d.source) && I(u["source-layer"], d["source-layer"]) && I(u.type, d.type)) {
|
|
18266
|
+
for (p in Ge(u.layout, d.layout, n, l, null, "setLayoutProperty"), Ge(u.paint, d.paint, n, l, null, "setPaintProperty"), I(u.filter, d.filter) || R(n, {
|
|
18267
18267
|
command: "setFilter",
|
|
18268
18268
|
args: [l, d.filter]
|
|
18269
|
-
}),
|
|
18269
|
+
}), I(u.minzoom, d.minzoom) && I(u.maxzoom, d.maxzoom) || R(n, {
|
|
18270
18270
|
command: "setLayerZoomRange",
|
|
18271
18271
|
args: [
|
|
18272
18272
|
l,
|
|
18273
18273
|
d.minzoom,
|
|
18274
18274
|
d.maxzoom
|
|
18275
18275
|
]
|
|
18276
|
-
}), u) Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") :
|
|
18276
|
+
}), u) Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") : I(u[p], d[p]) || R(n, {
|
|
18277
18277
|
command: "setLayerProperty",
|
|
18278
18278
|
args: [
|
|
18279
18279
|
l,
|
|
@@ -18281,7 +18281,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18281
18281
|
d[p]
|
|
18282
18282
|
]
|
|
18283
18283
|
}));
|
|
18284
|
-
for (p in d) Object.prototype.hasOwnProperty.call(d, p) && !Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") :
|
|
18284
|
+
for (p in d) Object.prototype.hasOwnProperty.call(d, p) && !Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") : I(u[p], d[p]) || R(n, {
|
|
18285
18285
|
command: "setLayerProperty",
|
|
18286
18286
|
args: [
|
|
18287
18287
|
l,
|
|
@@ -18289,10 +18289,10 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18289
18289
|
d[p]
|
|
18290
18290
|
]
|
|
18291
18291
|
}));
|
|
18292
|
-
} else
|
|
18292
|
+
} else R(n, {
|
|
18293
18293
|
command: "removeLayer",
|
|
18294
18294
|
args: [l]
|
|
18295
|
-
}), f = s[s.lastIndexOf(l) + 1],
|
|
18295
|
+
}), f = s[s.lastIndexOf(l) + 1], R(n, {
|
|
18296
18296
|
command: "addLayer",
|
|
18297
18297
|
args: [d, f]
|
|
18298
18298
|
});
|
|
@@ -18351,8 +18351,8 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18351
18351
|
let t = new Float64Array(9);
|
|
18352
18352
|
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);
|
|
18353
18353
|
(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;
|
|
18354
|
-
let b =
|
|
18355
|
-
return Math.hypot(t[5], t[8]) < .001 ? (x = 0, S = -
|
|
18354
|
+
let b = be(-Math.asin(P(t[2], -1, 1))), x, S;
|
|
18355
|
+
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]))), {
|
|
18356
18356
|
roll: x,
|
|
18357
18357
|
pitch: b + 90,
|
|
18358
18358
|
bearing: S
|
|
@@ -18360,12 +18360,12 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18360
18360
|
}, e.bn = function(e, t) {
|
|
18361
18361
|
return e.roll == t.roll && e.pitch == t.pitch && e.bearing == t.bearing;
|
|
18362
18362
|
}, e.bo = W, e.bp = Cs, e.bq = hl, e.br = gl, e.bs = pl, e.bt = M, e.bu = ee, e.bv = Jt, e.bw = function(e, t, n, r, i) {
|
|
18363
|
-
return M(r, i,
|
|
18363
|
+
return M(r, i, P((e - t) / (n - t), 0, 1));
|
|
18364
18364
|
}, e.bx = function(e, t, n, r) {
|
|
18365
18365
|
return e[0] = t[0] + n[0] * r, e[1] = t[1] + n[1] * r, e[2] = t[2] + n[2] * r, e;
|
|
18366
18366
|
}, e.by = j, e.bz = function() {
|
|
18367
18367
|
return new Float64Array(3);
|
|
18368
|
-
}, e.c =
|
|
18368
|
+
}, e.c = De, e.c$ = si, e.c0 = class extends Ss {
|
|
18369
18369
|
constructor(e, t) {
|
|
18370
18370
|
super(e, t), this.current = Es;
|
|
18371
18371
|
}
|
|
@@ -18427,9 +18427,9 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18427
18427
|
}
|
|
18428
18428
|
}
|
|
18429
18429
|
}, e.cA = function(e, t) {
|
|
18430
|
-
return
|
|
18430
|
+
return xe[t] && "touches" in e;
|
|
18431
18431
|
}, e.cB = function(e) {
|
|
18432
|
-
return
|
|
18432
|
+
return xe[e] || Se[e];
|
|
18433
18433
|
}, e.cC = function(e, t, n) {
|
|
18434
18434
|
var r = t[0], i = t[1];
|
|
18435
18435
|
return e[0] = n[0] * r + n[4] * i + n[12], e[1] = n[1] * r + n[5] * i + n[13], e;
|
|
@@ -18438,10 +18438,10 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18438
18438
|
return !(e < 0 || e > 25 || r < 0 || r >= 1 || n < 0 || n >= 1);
|
|
18439
18439
|
}, e.cE = function(e, t) {
|
|
18440
18440
|
return e[0] = t[0], e[1] = 0, e[2] = 0, e[3] = 0, e[4] = 0, e[5] = t[1], e[6] = 0, e[7] = 0, e[8] = 0, e[9] = 0, e[10] = t[2], e[11] = 0, e[12] = 0, e[13] = 0, e[14] = 0, e[15] = 1, e;
|
|
18441
|
-
}, e.cF = class extends lo {}, e.cG =
|
|
18442
|
-
|
|
18441
|
+
}, e.cF = class extends lo {}, e.cG = Ae, e.cH = function(e, t) {
|
|
18442
|
+
De.REGISTERED_PROTOCOLS[e] = t;
|
|
18443
18443
|
}, e.cI = function(e) {
|
|
18444
|
-
delete
|
|
18444
|
+
delete De.REGISTERED_PROTOCOLS[e];
|
|
18445
18445
|
}, e.cJ = function(e, t) {
|
|
18446
18446
|
let n = {};
|
|
18447
18447
|
for (let r = 0; r < e.length; r++) {
|
|
@@ -18504,7 +18504,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18504
18504
|
let b = !1;
|
|
18505
18505
|
if ((n = o.icon) != null && n.name) {
|
|
18506
18506
|
let e = t.imageMap[o.icon.name];
|
|
18507
|
-
e && (v = cf(t.imagePositions[o.icon.name], a.get("icon-offset").evaluate(o, {}, t.canonical), a.get("icon-anchor").evaluate(o, {}, t.canonical)), b = !!e.sdf, t.bucket.sdfIcons === void 0 ? t.bucket.sdfIcons = b : t.bucket.sdfIcons !== b &&
|
|
18507
|
+
e && (v = cf(t.imagePositions[o.icon.name], a.get("icon-offset").evaluate(o, {}, t.canonical), a.get("icon-anchor").evaluate(o, {}, t.canonical)), b = !!e.sdf, t.bucket.sdfIcons === void 0 ? t.bucket.sdfIcons = b : t.bucket.sdfIcons !== b && le("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (e.pixelRatio !== t.bucket.pixelRatio || a.get("icon-rotate").constantOr(1) !== 0) && (t.bucket.iconsNeedLinear = !0));
|
|
18508
18508
|
}
|
|
18509
18509
|
let x = jh(g.horizontal) || g.vertical;
|
|
18510
18510
|
(r = t.bucket).iconsInText || (r.iconsInText = !!x && x.iconsInText), (x || v) && kh(t.bucket, o, g, v, t.imageMap, s, m, h, y, b, t.canonical, t.subdivisionGranularity);
|
|
@@ -18540,13 +18540,13 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18540
18540
|
}, e.cV = Ll, e.cW = Pd, e.cX = Vm, e.cY = function(e, n, r, i, a) {
|
|
18541
18541
|
return t(this, void 0, void 0, (function* () {
|
|
18542
18542
|
if (u()) try {
|
|
18543
|
-
return yield
|
|
18543
|
+
return yield he(e, n, r, i, a);
|
|
18544
18544
|
} catch {}
|
|
18545
18545
|
return function(e, t, n, r, i) {
|
|
18546
18546
|
let a = e.width, o = e.height;
|
|
18547
|
-
|
|
18548
|
-
let s =
|
|
18549
|
-
return
|
|
18547
|
+
ge && _e || (ge = new OffscreenCanvas(a, o), _e = ge.getContext("2d", { willReadFrequently: !0 })), ge.width = a, ge.height = o, _e.drawImage(e, 0, 0, a, o);
|
|
18548
|
+
let s = _e.getImageData(t, n, r, i);
|
|
18549
|
+
return _e.clearRect(0, 0, a, o), s.data;
|
|
18550
18550
|
}(e, n, r, i, a);
|
|
18551
18551
|
}));
|
|
18552
18552
|
}, e.cZ = Ic, e.c_ = class {
|
|
@@ -18564,21 +18564,21 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18564
18564
|
}, e.ch = class extends uo {}, e.ci = class extends jo {}, e.cj = function(e, t) {
|
|
18565
18565
|
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];
|
|
18566
18566
|
}, e.ck = function(e, t) {
|
|
18567
|
-
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], ee = t[14],
|
|
18568
|
-
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(_ - ee) <= d * Math.max(1, Math.abs(_), Math.abs(ee)) && Math.abs(v -
|
|
18567
|
+
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], ee = t[14], te = t[15];
|
|
18568
|
+
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(_ - ee) <= d * Math.max(1, Math.abs(_), Math.abs(ee)) && Math.abs(v - te) <= d * Math.max(1, Math.abs(v), Math.abs(te));
|
|
18569
18569
|
}, e.cl = function(e, t) {
|
|
18570
18570
|
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;
|
|
18571
|
-
}, 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 =
|
|
18571
|
+
}, 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 = te, e.cw = function(e, t, n) {
|
|
18572
18572
|
if (t <= 0) return e;
|
|
18573
18573
|
let r = 1 / t;
|
|
18574
18574
|
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;
|
|
18575
18575
|
}, e.cx = function(e, t, n) {
|
|
18576
18576
|
let r = D(t.x - n.x, t.y - n.y), i = D(e.x - n.x, e.y - n.y);
|
|
18577
18577
|
var a, o;
|
|
18578
|
-
return
|
|
18579
|
-
}, e.cy =
|
|
18578
|
+
return be(Math.atan2(r[0] * i[1] - r[1] * i[0], (a = r)[0] * (o = i)[0] + a[1] * o[1]));
|
|
18579
|
+
}, e.cy = N, e.cz = function(e, t) {
|
|
18580
18580
|
var n;
|
|
18581
|
-
if (!
|
|
18581
|
+
if (!Se[t]) return !1;
|
|
18582
18582
|
let r = e == null ? void 0 : e.target, i = ((n = r == null ? void 0 : r.ownerDocument) == null ? void 0 : n.defaultView) || window;
|
|
18583
18583
|
return e instanceof i.MouseEvent || e instanceof i.WheelEvent;
|
|
18584
18584
|
}, e.d = A, e.d0 = class {
|
|
@@ -18674,7 +18674,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18674
18674
|
getClusterLeaves(e, t, n) {
|
|
18675
18675
|
return this.tileIndex.getLeaves(e, t, n);
|
|
18676
18676
|
}
|
|
18677
|
-
}, e.d1 = Fa, e.e = re, e.f =
|
|
18677
|
+
}, e.d1 = Fa, e.e = re, e.f = Ne, e.g = Oe, e.h = (e) => t(void 0, void 0, void 0, (function* () {
|
|
18678
18678
|
if (e.byteLength === 0) return createImageBitmap(new ImageData(1, 1));
|
|
18679
18679
|
let t = new Blob([new Uint8Array(e)], { type: "image/png" });
|
|
18680
18680
|
try {
|
|
@@ -18682,18 +18682,18 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
18682
18682
|
} catch (e) {
|
|
18683
18683
|
throw Error(`Could not load image because of ${A(e).message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`);
|
|
18684
18684
|
}
|
|
18685
|
-
})), e.i =
|
|
18685
|
+
})), e.i = de, e.j = (e) => new Promise(((t, n) => {
|
|
18686
18686
|
let r = new Image();
|
|
18687
18687
|
r.onload = () => {
|
|
18688
|
-
t(r), URL.revokeObjectURL(r.src), r.onload = null, window.requestAnimationFrame((() => r.src =
|
|
18688
|
+
t(r), URL.revokeObjectURL(r.src), r.onload = null, window.requestAnimationFrame((() => r.src = me));
|
|
18689
18689
|
}, 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."));
|
|
18690
18690
|
let i = new Blob([new Uint8Array(e)], { type: "image/png" });
|
|
18691
|
-
r.src = e.byteLength ? URL.createObjectURL(i) :
|
|
18692
|
-
})), e.k = (e, t) =>
|
|
18691
|
+
r.src = e.byteLength ? URL.createObjectURL(i) : me;
|
|
18692
|
+
})), e.k = (e, t) => Me(re(e, { type: "json" }), t), e.l = Le, e.m = Me, e.n = Ie, e.o = (e, t) => Me(re(e, { type: "arrayBuffer" }), t), e.p = Yd, e.q = function(e) {
|
|
18693
18693
|
return new Pd(e).readFields(Kd, []);
|
|
18694
18694
|
}, e.r = function(e) {
|
|
18695
18695
|
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));
|
|
18696
|
-
}, e.s =
|
|
18696
|
+
}, e.s = ve, e.t = Cc, e.u = Xa, e.v = sa, e.w = le, e.x = F, e.y = Va, e.z = la;
|
|
18697
18697
|
})), n("worker", ["./shared"], (function(e) {
|
|
18698
18698
|
class t {
|
|
18699
18699
|
constructor(e, t) {
|
|
@@ -20237,12 +20237,12 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20237
20237
|
return Object.keys(this.active).length;
|
|
20238
20238
|
}
|
|
20239
20239
|
}
|
|
20240
|
-
let M = Math.floor(s.hardwareConcurrency / 2), ee,
|
|
20241
|
-
function
|
|
20240
|
+
let M = Math.floor(s.hardwareConcurrency / 2), ee, te;
|
|
20241
|
+
function N() {
|
|
20242
20242
|
return ee || (ee = new j()), ee;
|
|
20243
20243
|
}
|
|
20244
20244
|
j.workerCount = t.L(globalThis) ? Math.max(Math.min(M, 3), 1) : 1;
|
|
20245
|
-
class
|
|
20245
|
+
class P {
|
|
20246
20246
|
constructor(e, n) {
|
|
20247
20247
|
this.workerPool = e, this.actors = [], this.currentActor = 0, this.id = n;
|
|
20248
20248
|
let r = this.workerPool.acquire(n);
|
|
@@ -20274,8 +20274,8 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20274
20274
|
for (let t of this.actors) t.unregisterMessageHandler(e);
|
|
20275
20275
|
}
|
|
20276
20276
|
}
|
|
20277
|
-
function
|
|
20278
|
-
return
|
|
20277
|
+
function ne() {
|
|
20278
|
+
return te || (te = new P(N(), t.M), te.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), te;
|
|
20279
20279
|
}
|
|
20280
20280
|
function re(e, n) {
|
|
20281
20281
|
let r = t.O();
|
|
@@ -20352,7 +20352,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20352
20352
|
return "vector_layers" in a && a.vector_layers && (o.vectorLayerIds = a.vector_layers.map(((e) => e.id))), o;
|
|
20353
20353
|
}));
|
|
20354
20354
|
}
|
|
20355
|
-
class
|
|
20355
|
+
class ce {
|
|
20356
20356
|
constructor(e, t) {
|
|
20357
20357
|
e && (t ? this.setSouthWest(e).setNorthEast(t) : Array.isArray(e) && (e.length === 4 ? this.setSouthWest([e[0], e[1]]).setNorthEast([e[2], e[3]]) : this.setSouthWest(e[0]).setNorthEast(e[1])));
|
|
20358
20358
|
}
|
|
@@ -20366,7 +20366,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20366
20366
|
let n = this._sw, r = this._ne, i, a;
|
|
20367
20367
|
if (e instanceof t.W) i = e, a = e;
|
|
20368
20368
|
else {
|
|
20369
|
-
if (!(e instanceof
|
|
20369
|
+
if (!(e instanceof ce)) return Array.isArray(e) ? e.length === 4 || e.every(Array.isArray) ? this.extend(ce.convert(e)) : this.extend(t.W.convert(e)) : e && ("lng" in e || "lon" in e) && "lat" in e ? this.extend(t.W.convert(e)) : this;
|
|
20370
20370
|
if (i = e._sw, a = e._ne, !i || !a) return this;
|
|
20371
20371
|
}
|
|
20372
20372
|
return n || r ? (n.lng = Math.min(i.lng, n.lng), n.lat = Math.min(i.lat, n.lat), r.lng = Math.max(a.lng, r.lng), r.lat = Math.max(a.lat, r.lat)) : (this._sw = new t.W(i.lng, i.lat), this._ne = new t.W(a.lng, a.lat)), this;
|
|
@@ -20412,27 +20412,27 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20412
20412
|
return this._sw.lng > this._ne.lng && (i = this._sw.lng >= n && n >= this._ne.lng), this._sw.lat <= r && r <= this._ne.lat && i;
|
|
20413
20413
|
}
|
|
20414
20414
|
intersects(e) {
|
|
20415
|
-
if (!((e =
|
|
20415
|
+
if (!((e = ce.convert(e)).getNorth() >= this.getSouth() && e.getSouth() <= this.getNorth())) return !1;
|
|
20416
20416
|
let n = Math.abs(this.getEast() - this.getWest()), r = Math.abs(e.getEast() - e.getWest());
|
|
20417
20417
|
if (n >= 360 || r >= 360) return !0;
|
|
20418
20418
|
let i = t.X(this.getWest(), -180, 180), a = t.X(this.getEast(), -180, 180), o = t.X(e.getWest(), -180, 180), s = t.X(e.getEast(), -180, 180), c = i > a, l = o > s;
|
|
20419
20419
|
return !(!c || !l) || (c ? s >= i || o <= a : l ? a >= o || i <= s : o <= a && s >= i);
|
|
20420
20420
|
}
|
|
20421
20421
|
static convert(e) {
|
|
20422
|
-
return e instanceof
|
|
20422
|
+
return e instanceof ce ? e : e && new ce(e);
|
|
20423
20423
|
}
|
|
20424
20424
|
static fromLngLat(e, n = 0) {
|
|
20425
20425
|
let r = 360 * n / 40075017, i = r / Math.cos(Math.PI / 180 * e.lat);
|
|
20426
|
-
return new
|
|
20426
|
+
return new ce(new t.W(e.lng - i, e.lat - r), new t.W(e.lng + i, e.lat + r));
|
|
20427
20427
|
}
|
|
20428
20428
|
adjustAntiMeridian() {
|
|
20429
20429
|
let e = new t.W(this._sw.lng, this._sw.lat), n = new t.W(this._ne.lng, this._ne.lat);
|
|
20430
|
-
return new
|
|
20430
|
+
return new ce(e, e.lng > n.lng ? new t.W(n.lng + 360, n.lat) : n);
|
|
20431
20431
|
}
|
|
20432
20432
|
}
|
|
20433
|
-
class
|
|
20433
|
+
class le {
|
|
20434
20434
|
constructor(e, t, n) {
|
|
20435
|
-
this.bounds =
|
|
20435
|
+
this.bounds = ce.convert(this.validateBounds(e)), this.minzoom = t || 0, this.maxzoom = n || 24;
|
|
20436
20436
|
}
|
|
20437
20437
|
validateBounds(e) {
|
|
20438
20438
|
return Array.isArray(e) && e.length === 4 ? [
|
|
@@ -20452,7 +20452,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20452
20452
|
return e.x >= r && e.x < a && e.y >= i && e.y < o;
|
|
20453
20453
|
}
|
|
20454
20454
|
}
|
|
20455
|
-
class
|
|
20455
|
+
class ue extends t.E {
|
|
20456
20456
|
constructor(e, n, r, i) {
|
|
20457
20457
|
if (super(), this.id = e, this.dispatcher = r, this.type = "vector", this.minzoom = 0, this.maxzoom = 22, this.scheme = "xyz", this.tileSize = 512, this.reparseOverscaled = !0, this.isTileClipped = !0, this._loaded = !1, t.e(this, t.V(n, [
|
|
20458
20458
|
"url",
|
|
@@ -20468,7 +20468,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20468
20468
|
this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
|
|
20469
20469
|
try {
|
|
20470
20470
|
let n = yield se(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
|
|
20471
|
-
this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new
|
|
20471
|
+
this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new le(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
|
|
20472
20472
|
dataType: "source",
|
|
20473
20473
|
sourceDataType: "metadata"
|
|
20474
20474
|
})), this.fire(new t.n("data", {
|
|
@@ -20598,7 +20598,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20598
20598
|
return !1;
|
|
20599
20599
|
}
|
|
20600
20600
|
}
|
|
20601
|
-
class
|
|
20601
|
+
class de extends t.E {
|
|
20602
20602
|
constructor(e, n, r, i) {
|
|
20603
20603
|
super(), this.id = e, this.dispatcher = r, this.setEventedParent(i), this.type = "raster", this.minzoom = 0, this.maxzoom = 22, this.roundZoom = !0, this.scheme = "xyz", this.tileSize = 512, this._loaded = !1, this._options = t.e({ type: "raster" }, n), t.e(this, t.V(n, [
|
|
20604
20604
|
"url",
|
|
@@ -20611,7 +20611,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20611
20611
|
this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
|
|
20612
20612
|
try {
|
|
20613
20613
|
let n = yield se(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
|
|
20614
|
-
this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new
|
|
20614
|
+
this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new le(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
|
|
20615
20615
|
dataType: "source",
|
|
20616
20616
|
sourceDataType: "metadata"
|
|
20617
20617
|
})), this.fire(new t.n("data", {
|
|
@@ -20687,7 +20687,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20687
20687
|
return !1;
|
|
20688
20688
|
}
|
|
20689
20689
|
}
|
|
20690
|
-
class
|
|
20690
|
+
class fe extends de {
|
|
20691
20691
|
constructor(e, n, r, i) {
|
|
20692
20692
|
super(e, n, r, i), this.type = "raster-dem", this.maxzoom = 22, this._options = t.e({ type: "raster-dem" }, n), this.encoding = n.encoding || "mapbox", this.redFactor = n.redFactor, this.greenFactor = n.greenFactor, this.blueFactor = n.blueFactor, this.baseShift = n.baseShift;
|
|
20693
20693
|
}
|
|
@@ -20758,10 +20758,10 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20758
20758
|
}));
|
|
20759
20759
|
}
|
|
20760
20760
|
}
|
|
20761
|
-
function
|
|
20761
|
+
function pe(e, t) {
|
|
20762
20762
|
return t ? e.properties[t] : e.id;
|
|
20763
20763
|
}
|
|
20764
|
-
function
|
|
20764
|
+
function me(e, t) {
|
|
20765
20765
|
let n = { id: e.id };
|
|
20766
20766
|
if (t.removeAllProperties && (delete e.removeProperties, delete e.addOrUpdateProperties, delete t.removeProperties), t.removeProperties) for (let n of t.removeProperties) {
|
|
20767
20767
|
let t = e.addOrUpdateProperties.findIndex(((e) => e.key === n));
|
|
@@ -20769,28 +20769,28 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20769
20769
|
}
|
|
20770
20770
|
return (e.removeAllProperties || t.removeAllProperties) && (n.removeAllProperties = !0), (e.removeProperties || t.removeProperties) && (n.removeProperties = [...e.removeProperties || [], ...t.removeProperties || []]), (e.addOrUpdateProperties || t.addOrUpdateProperties) && (n.addOrUpdateProperties = [...e.addOrUpdateProperties || [], ...t.addOrUpdateProperties || []]), (e.newGeometry || t.newGeometry) && (n.newGeometry = t.newGeometry || e.newGeometry), n;
|
|
20771
20771
|
}
|
|
20772
|
-
function
|
|
20772
|
+
function he(e) {
|
|
20773
20773
|
var t, n;
|
|
20774
20774
|
if (!e) return {};
|
|
20775
20775
|
let r = {};
|
|
20776
20776
|
return r.removeAll = e.removeAll, r.remove = new Set(e.remove || []), r.add = new Map((t = e.add) == null ? void 0 : t.map(((e) => [e.id, e]))), r.update = new Map((n = e.update) == null ? void 0 : n.map(((e) => [e.id, e]))), r;
|
|
20777
20777
|
}
|
|
20778
|
-
function he(e) {
|
|
20779
|
-
return e && e.length !== 0 ? typeof e[0] == "number" ? [e] : e.flatMap(((e) => he(e))) : [];
|
|
20780
|
-
}
|
|
20781
20778
|
function ge(e) {
|
|
20782
|
-
return e.
|
|
20779
|
+
return e && e.length !== 0 ? typeof e[0] == "number" ? [e] : e.flatMap(((e) => ge(e))) : [];
|
|
20783
20780
|
}
|
|
20784
20781
|
function _e(e) {
|
|
20785
|
-
|
|
20782
|
+
return e.type === "GeometryCollection" ? e.geometries.flatMap(((e) => _e(e))) : ge(e.coordinates);
|
|
20783
|
+
}
|
|
20784
|
+
function ve(e) {
|
|
20785
|
+
let t = new ce(), n;
|
|
20786
20786
|
switch (e.type) {
|
|
20787
20787
|
case "FeatureCollection":
|
|
20788
|
-
n = e.features.flatMap(((e) =>
|
|
20788
|
+
n = e.features.flatMap(((e) => _e(e.geometry)));
|
|
20789
20789
|
break;
|
|
20790
20790
|
case "Feature":
|
|
20791
|
-
n =
|
|
20791
|
+
n = _e(e.geometry);
|
|
20792
20792
|
break;
|
|
20793
|
-
default: n =
|
|
20793
|
+
default: n = _e(e);
|
|
20794
20794
|
}
|
|
20795
20795
|
if (n.length === 0) return t;
|
|
20796
20796
|
for (let e of n) {
|
|
@@ -20799,7 +20799,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20799
20799
|
}
|
|
20800
20800
|
return t;
|
|
20801
20801
|
}
|
|
20802
|
-
class
|
|
20802
|
+
class ye extends t.E {
|
|
20803
20803
|
constructor(e, n, r, i) {
|
|
20804
20804
|
super(), this.id = e, this.type = "geojson", this.minzoom = 0, this.maxzoom = 18, this.tileSize = 512, this.isTileClipped = !0, this.reparseOverscaled = !0, this._removed = !1, this._isUpdatingWorker = !1, this._pendingWorkerUpdate = { data: n.data }, this.actor = r.getActor(), this.setEventedParent(i), this._data = typeof n.data == "string" ? { url: n.data } : { geojson: n.data }, this._options = t.e({}, n), this._collectResourceTiming = n.collectResourceTiming, n.maxzoom !== void 0 && (this.maxzoom = n.maxzoom), n.type && (this.type = n.type), n.attribution && (this.attribution = n.attribution), this.promoteId = n.promoteId, n.clusterMaxZoom !== void 0 && this.maxzoom <= n.clusterMaxZoom && t.w(`The maxzoom value "${this.maxzoom}" is expected to be greater than the clusterMaxZoom value "${n.clusterMaxZoom}".`), this.workerOptions = t.e({
|
|
20805
20805
|
source: this.id,
|
|
@@ -20852,13 +20852,13 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20852
20852
|
this._pendingWorkerUpdate.diff = function(e, t) {
|
|
20853
20853
|
if (!e) return t || {};
|
|
20854
20854
|
if (!t) return e || {};
|
|
20855
|
-
let n =
|
|
20855
|
+
let n = he(e), r = he(t);
|
|
20856
20856
|
(function(e, t) {
|
|
20857
20857
|
t.removeAll && (e.add.clear(), e.update.clear(), e.remove.clear(), t.remove.clear());
|
|
20858
20858
|
for (let n of t.remove) e.add.delete(n), e.update.delete(n);
|
|
20859
20859
|
for (let [n, r] of t.update) {
|
|
20860
20860
|
let i = e.update.get(n);
|
|
20861
|
-
i && (t.update.set(n,
|
|
20861
|
+
i && (t.update.set(n, me(i, r)), e.update.delete(n));
|
|
20862
20862
|
}
|
|
20863
20863
|
})(n, r);
|
|
20864
20864
|
let i = {};
|
|
@@ -20881,7 +20881,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20881
20881
|
}
|
|
20882
20882
|
getBounds() {
|
|
20883
20883
|
return t._(this, void 0, void 0, (function* () {
|
|
20884
|
-
return
|
|
20884
|
+
return ve(yield this.getData());
|
|
20885
20885
|
}));
|
|
20886
20886
|
}
|
|
20887
20887
|
setClusterOptions(e) {
|
|
@@ -20972,13 +20972,13 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20972
20972
|
let n = /* @__PURE__ */ new Map();
|
|
20973
20973
|
if (e == null || e.type == null) return n;
|
|
20974
20974
|
if (e.type === "Feature") {
|
|
20975
|
-
let r =
|
|
20975
|
+
let r = pe(e, t);
|
|
20976
20976
|
return r == null ? void 0 : (n.set(r, e), n);
|
|
20977
20977
|
}
|
|
20978
20978
|
if (e.type === "FeatureCollection") {
|
|
20979
20979
|
let r = /* @__PURE__ */ new Set();
|
|
20980
20980
|
for (let i of e.features) {
|
|
20981
|
-
let e =
|
|
20981
|
+
let e = pe(i, t);
|
|
20982
20982
|
if (e == null || r.has(e)) return;
|
|
20983
20983
|
r.add(e), n.set(e, i);
|
|
20984
20984
|
}
|
|
@@ -20998,7 +20998,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
20998
20998
|
t && (a.push(t.geometry), e.delete(n));
|
|
20999
20999
|
}
|
|
21000
21000
|
if (t.add) for (let r of t.add) {
|
|
21001
|
-
let t =
|
|
21001
|
+
let t = pe(r, n);
|
|
21002
21002
|
if (t == null) continue;
|
|
21003
21003
|
let i = e.get(t);
|
|
21004
21004
|
i && a.push(i.geometry), a.push(r.geometry), e.set(t, r);
|
|
@@ -21020,14 +21020,14 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21020
21020
|
return e.removeAll || this._options.cluster ? void 0 : n;
|
|
21021
21021
|
}
|
|
21022
21022
|
_getShouldReloadTileOptions(e) {
|
|
21023
|
-
if (e) return { affectedBounds: e.filter(Boolean).map(((e) =>
|
|
21023
|
+
if (e) return { affectedBounds: e.filter(Boolean).map(((e) => ve(e))) };
|
|
21024
21024
|
}
|
|
21025
21025
|
shouldReloadTile(e, { affectedBounds: n }) {
|
|
21026
21026
|
if (e.state === "loading") return !0;
|
|
21027
21027
|
if (e.state === "unloaded") return !1;
|
|
21028
21028
|
let { buffer: r, extent: i } = this.workerOptions.geojsonVtOptions, a = function({ x: e, y: n, z: r }, i = 0) {
|
|
21029
21029
|
let a = t.a4((e - i) / 2 ** r), o = t.a5((n + 1 + i) / 2 ** r), s = t.a4((e + 1 + i) / 2 ** r), c = t.a5((n - i) / 2 ** r);
|
|
21030
|
-
return new
|
|
21030
|
+
return new ce([a, o], [s, c]);
|
|
21031
21031
|
}(e.tileID.canonical, r / i);
|
|
21032
21032
|
for (let e of n) if (a.intersects(e)) return !0;
|
|
21033
21033
|
return !1;
|
|
@@ -21099,7 +21099,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21099
21099
|
return !1;
|
|
21100
21100
|
}
|
|
21101
21101
|
}
|
|
21102
|
-
class
|
|
21102
|
+
class be extends t.E {
|
|
21103
21103
|
constructor(e, t, n, r) {
|
|
21104
21104
|
super(), this.flippedWindingOrder = !1, this.id = e, this.dispatcher = n, this.coordinates = t.coordinates, this.type = "image", this.minzoom = 0, this.maxzoom = 22, this.tileSize = 512, this.tiles = {}, this._loaded = !1, this.setEventedParent(r), this.options = t;
|
|
21105
21105
|
}
|
|
@@ -21191,7 +21191,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21191
21191
|
return o;
|
|
21192
21192
|
}
|
|
21193
21193
|
}
|
|
21194
|
-
class
|
|
21194
|
+
class xe extends be {
|
|
21195
21195
|
constructor(e, t, n, r) {
|
|
21196
21196
|
super(e, t, n, r), this._onPlayingHandler = () => {
|
|
21197
21197
|
var e;
|
|
@@ -21260,7 +21260,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21260
21260
|
return this.video && !this.video.paused;
|
|
21261
21261
|
}
|
|
21262
21262
|
}
|
|
21263
|
-
class
|
|
21263
|
+
class Se extends be {
|
|
21264
21264
|
constructor(e, n, r, i) {
|
|
21265
21265
|
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;
|
|
21266
21266
|
}
|
|
@@ -21314,21 +21314,21 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21314
21314
|
return !1;
|
|
21315
21315
|
}
|
|
21316
21316
|
}
|
|
21317
|
-
let
|
|
21317
|
+
let Ce = {}, we = (e) => {
|
|
21318
21318
|
switch (e) {
|
|
21319
|
-
case "geojson": return
|
|
21320
|
-
case "image": return
|
|
21321
|
-
case "raster": return
|
|
21322
|
-
case "raster-dem": return
|
|
21323
|
-
case "vector": return
|
|
21324
|
-
case "video": return
|
|
21325
|
-
case "canvas": return
|
|
21326
|
-
}
|
|
21327
|
-
return
|
|
21328
|
-
},
|
|
21329
|
-
class
|
|
21319
|
+
case "geojson": return ye;
|
|
21320
|
+
case "image": return be;
|
|
21321
|
+
case "raster": return de;
|
|
21322
|
+
case "raster-dem": return fe;
|
|
21323
|
+
case "vector": return ue;
|
|
21324
|
+
case "video": return xe;
|
|
21325
|
+
case "canvas": return Se;
|
|
21326
|
+
}
|
|
21327
|
+
return Ce[e];
|
|
21328
|
+
}, Te = "RTLPluginLoaded";
|
|
21329
|
+
class Ee extends t.E {
|
|
21330
21330
|
constructor() {
|
|
21331
|
-
super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher =
|
|
21331
|
+
super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = ne();
|
|
21332
21332
|
}
|
|
21333
21333
|
_syncState(e) {
|
|
21334
21334
|
return this.status = e, this.dispatcher.broadcast("SRPS", {
|
|
@@ -21356,24 +21356,24 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21356
21356
|
}
|
|
21357
21357
|
_requestImport() {
|
|
21358
21358
|
return t._(this, void 0, void 0, (function* () {
|
|
21359
|
-
yield this._syncState("loading"), this.status = "loaded", this.fire(new t.n(
|
|
21359
|
+
yield this._syncState("loading"), this.status = "loaded", this.fire(new t.n(Te));
|
|
21360
21360
|
}));
|
|
21361
21361
|
}
|
|
21362
21362
|
lazyLoad() {
|
|
21363
21363
|
this.status === "unavailable" ? this.status = "requested" : this.status === "deferred" && this._requestImport();
|
|
21364
21364
|
}
|
|
21365
21365
|
}
|
|
21366
|
-
let
|
|
21367
|
-
function
|
|
21368
|
-
return
|
|
21366
|
+
let De = null;
|
|
21367
|
+
function Oe() {
|
|
21368
|
+
return De || (De = new Ee()), De;
|
|
21369
21369
|
}
|
|
21370
|
-
var
|
|
21370
|
+
var ke, Ae;
|
|
21371
21371
|
(function(e) {
|
|
21372
21372
|
e[e.Base = 0] = "Base", e[e.Parent = 1] = "Parent";
|
|
21373
|
-
})(
|
|
21373
|
+
})(ke || (ke = {})), function(e) {
|
|
21374
21374
|
e[e.Departing = 0] = "Departing", e[e.Incoming = 1] = "Incoming";
|
|
21375
|
-
}(
|
|
21376
|
-
class
|
|
21375
|
+
}(Ae || (Ae = {}));
|
|
21376
|
+
class je {
|
|
21377
21377
|
constructor(e, n) {
|
|
21378
21378
|
this.timeAdded = 0, this.fadeEndTime = 0, this.fadeOpacity = 1, this.tileID = e, this.uid = t.ad(), this.uses = 0, this.tileSize = n, this.buckets = {}, this.expirationTime = null, this.queryPadding = 0, this.hasSymbolBuckets = !1, this.hasRTLText = !1, this.dependencies = {}, this.rtt = [], this.rttFingerprint = {}, this.expiredRequestCount = 0, this.state = "loading";
|
|
21379
21379
|
}
|
|
@@ -21419,7 +21419,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21419
21419
|
if (this.hasRTLText = !1, this.hasSymbolBuckets) for (let e in this.buckets) {
|
|
21420
21420
|
let n = this.buckets[e];
|
|
21421
21421
|
if (n instanceof t.af && n.hasRTLText) {
|
|
21422
|
-
this.hasRTLText = !0,
|
|
21422
|
+
this.hasRTLText = !0, Oe().lazyLoad();
|
|
21423
21423
|
break;
|
|
21424
21424
|
}
|
|
21425
21425
|
}
|
|
@@ -21551,7 +21551,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21551
21551
|
return !1;
|
|
21552
21552
|
}
|
|
21553
21553
|
}
|
|
21554
|
-
class
|
|
21554
|
+
class Me {
|
|
21555
21555
|
constructor() {
|
|
21556
21556
|
this.state = {}, this.stateChanges = {}, this.deletedStates = {}, this.revision = 0;
|
|
21557
21557
|
}
|
|
@@ -21611,18 +21611,18 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21611
21611
|
this.stateChanges = {}, this.deletedStates = {}, Object.keys(o).length !== 0 && (this.revision++, e.setFeatureState(o, n));
|
|
21612
21612
|
}
|
|
21613
21613
|
}
|
|
21614
|
-
let
|
|
21615
|
-
function
|
|
21614
|
+
let Ne = 89.25;
|
|
21615
|
+
function Pe(e, n) {
|
|
21616
21616
|
let r = t.al(n.lat, -t.am, t.am);
|
|
21617
21617
|
return new t.P(t.Z(n.lng) * e, t.Y(r) * e);
|
|
21618
21618
|
}
|
|
21619
|
-
function
|
|
21619
|
+
function Fe(e, n) {
|
|
21620
21620
|
return new t.a7(n.x / e, n.y / e).toLngLat();
|
|
21621
21621
|
}
|
|
21622
|
-
function
|
|
21623
|
-
return e.cameraToCenterDistance * Math.min(.85 * Math.tan(t.an(90 - e.pitch)), Math.tan(t.an(
|
|
21622
|
+
function Ie(e) {
|
|
21623
|
+
return e.cameraToCenterDistance * Math.min(.85 * Math.tan(t.an(90 - e.pitch)), Math.tan(t.an(Ne - e.pitch)));
|
|
21624
21624
|
}
|
|
21625
|
-
function
|
|
21625
|
+
function Le(e, n) {
|
|
21626
21626
|
let r = e.canonical, i = n / t.ao(r.z), a = r.x + 2 ** r.z * e.wrap, o = t.ap(new Float64Array(16));
|
|
21627
21627
|
return t.Q(o, o, [
|
|
21628
21628
|
a * i,
|
|
@@ -21634,11 +21634,11 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21634
21634
|
1
|
|
21635
21635
|
]), o;
|
|
21636
21636
|
}
|
|
21637
|
-
function
|
|
21638
|
-
let o = t.a7.fromLngLat(e, n), s = a * t.aq(1, e.lat), { x: c, y: l, z: u } =
|
|
21637
|
+
function Re(e, n, r, i, a) {
|
|
21638
|
+
let o = t.a7.fromLngLat(e, n), s = a * t.aq(1, e.lat), { x: c, y: l, z: u } = F(r, i);
|
|
21639
21639
|
return new t.a7(o.x + s * -c, o.y + s * -l, o.z + s * -u);
|
|
21640
21640
|
}
|
|
21641
|
-
function
|
|
21641
|
+
function F(e, n) {
|
|
21642
21642
|
let r = t.an(e), i = t.an(n), a = Math.cos(-r), o = Math.sin(r);
|
|
21643
21643
|
return {
|
|
21644
21644
|
x: o * Math.sin(i),
|
|
@@ -21646,24 +21646,24 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21646
21646
|
z: a
|
|
21647
21647
|
};
|
|
21648
21648
|
}
|
|
21649
|
-
function
|
|
21649
|
+
function ze(e, t, n) {
|
|
21650
21650
|
let r = t.intersectsFrustum(e);
|
|
21651
21651
|
if (!n || r === 0) return r;
|
|
21652
21652
|
let i = t.intersectsPlane(n);
|
|
21653
21653
|
return i === 0 ? 0 : r === 2 && i === 2 ? 2 : 1;
|
|
21654
21654
|
}
|
|
21655
|
-
function
|
|
21655
|
+
function Be(e, t, n) {
|
|
21656
21656
|
let r = 0, i = (n - t) / 10;
|
|
21657
21657
|
for (let a = 0; a < 10; a++) r += i * Math.cos(t + (a + .5) / 10 * (n - t)) ** +e;
|
|
21658
21658
|
return r;
|
|
21659
21659
|
}
|
|
21660
|
-
function
|
|
21660
|
+
function I(e, n) {
|
|
21661
21661
|
return function(r, i, a, o, s) {
|
|
21662
|
-
let c = 2 * ((e - 1) / t.ar(Math.cos(t.an(
|
|
21662
|
+
let c = 2 * ((e - 1) / t.ar(Math.cos(t.an(Ne - s)) / Math.cos(t.an(Ne))) - 1), l = Math.acos(a / o), u = 2 * Be(c - 1, 0, t.an(s / 2)), d = Math.min(t.an(Ne), l + t.an(s / 2)), f = Be(c - 1, Math.min(d, l - t.an(s / 2)), d), p = Math.atan(i / a), m = Math.hypot(i, a), h = r;
|
|
21663
21663
|
return h += t.ar(o / m / Math.max(.5, Math.cos(t.an(s / 2)))), h += c * t.ar(Math.cos(p)) / 2, h -= t.ar(Math.max(1, f / u / n)) / 2, h;
|
|
21664
21664
|
};
|
|
21665
21665
|
}
|
|
21666
|
-
let
|
|
21666
|
+
let R = I(9.314, 3);
|
|
21667
21667
|
function Ve(e, n) {
|
|
21668
21668
|
let r = (n.roundZoom ? Math.round : Math.floor)(e.zoom + t.ar(e.tileSize / n.tileSize));
|
|
21669
21669
|
return Math.max(0, r);
|
|
@@ -21694,12 +21694,12 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21694
21694
|
z: p.zoom
|
|
21695
21695
|
}, w = s.getTileBoundingVolume(C, p.wrap, e.elevation, n);
|
|
21696
21696
|
if (!S) {
|
|
21697
|
-
let e =
|
|
21697
|
+
let e = ze(r, w, i);
|
|
21698
21698
|
if (e === 0) continue;
|
|
21699
21699
|
S = e === 2;
|
|
21700
21700
|
}
|
|
21701
21701
|
let T = s.distanceToTile2d(a.x, a.y, C, w), E = l;
|
|
21702
|
-
c && (E = (n.calculateTileZoom ||
|
|
21702
|
+
c && (E = (n.calculateTileZoom || R)(e.zoom + t.ar(e.tileSize / n.tileSize), T, _, v, e.fov)), E = (n.roundZoom ? Math.round : Math.floor)(E), E = Math.max(0, E);
|
|
21703
21703
|
let D = Math.min(E, d);
|
|
21704
21704
|
if (p.wrap = s.getWrap(o, C, p.wrap), p.zoom >= D) {
|
|
21705
21705
|
if (p.zoom < u) continue;
|
|
@@ -21726,18 +21726,18 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21726
21726
|
function Ge(e, t, n, r, i, a, o) {
|
|
21727
21727
|
if (!t.hasData()) return !1;
|
|
21728
21728
|
let { tileID: s, fadingRole: c, fadingDirection: l, fadingParentID: u } = t;
|
|
21729
|
-
if (c ===
|
|
21729
|
+
if (c === ke.Base && l === Ae.Incoming && u) return n[u.key] = u, !0;
|
|
21730
21730
|
let d = Math.max(s.overscaledZ - i, a);
|
|
21731
21731
|
for (let i = s.overscaledZ - 1; i >= d; i--) {
|
|
21732
21732
|
let a = s.scaledTo(i), c = e.getLoadedTile(a);
|
|
21733
21733
|
if (c) return t.setCrossFadeLogic({
|
|
21734
|
-
fadingRole:
|
|
21735
|
-
fadingDirection:
|
|
21734
|
+
fadingRole: ke.Base,
|
|
21735
|
+
fadingDirection: Ae.Incoming,
|
|
21736
21736
|
fadingParentID: c.tileID,
|
|
21737
21737
|
fadeEndTime: r + o
|
|
21738
21738
|
}), c.setCrossFadeLogic({
|
|
21739
|
-
fadingRole:
|
|
21740
|
-
fadingDirection:
|
|
21739
|
+
fadingRole: ke.Parent,
|
|
21740
|
+
fadingDirection: Ae.Departing,
|
|
21741
21741
|
fadeEndTime: r + o
|
|
21742
21742
|
}), n[a.key] = a, !0;
|
|
21743
21743
|
}
|
|
@@ -21757,14 +21757,14 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21757
21757
|
let n = e.getLoadedTile(a);
|
|
21758
21758
|
if (!n) continue;
|
|
21759
21759
|
let { fadingRole: c, fadingDirection: l, fadingParentID: u } = n;
|
|
21760
|
-
c ===
|
|
21761
|
-
fadingRole:
|
|
21762
|
-
fadingDirection:
|
|
21760
|
+
c === ke.Base && l === Ae.Departing && u || (n.setCrossFadeLogic({
|
|
21761
|
+
fadingRole: ke.Base,
|
|
21762
|
+
fadingDirection: Ae.Departing,
|
|
21763
21763
|
fadingParentID: t.tileID,
|
|
21764
21764
|
fadeEndTime: i + o
|
|
21765
21765
|
}), t.setCrossFadeLogic({
|
|
21766
|
-
fadingRole:
|
|
21767
|
-
fadingDirection:
|
|
21766
|
+
fadingRole: ke.Parent,
|
|
21767
|
+
fadingDirection: Ae.Incoming,
|
|
21768
21768
|
fadeEndTime: i + o
|
|
21769
21769
|
})), r[a.key] = a, s = !0;
|
|
21770
21770
|
}
|
|
@@ -21836,10 +21836,10 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
21836
21836
|
})), this.on("error", (() => {
|
|
21837
21837
|
this._sourceErrored = this._source.loaded();
|
|
21838
21838
|
})), this._source = ((e, t, n, r) => {
|
|
21839
|
-
let i = new (
|
|
21839
|
+
let i = new (we(t.type))(e, t, n, r);
|
|
21840
21840
|
if (i.id !== e) throw Error(`Expected Source id to be ${e} instead of ${i.id}`);
|
|
21841
21841
|
return i;
|
|
21842
|
-
})(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
|
|
21842
|
+
})(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 Me(), this._didEmitContent = !1, this._updated = !1;
|
|
21843
21843
|
}
|
|
21844
21844
|
onAdd(e) {
|
|
21845
21845
|
var t;
|
|
@@ -22013,7 +22013,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
22013
22013
|
let c = l(), u = t.at(n);
|
|
22014
22014
|
for (let t of n) {
|
|
22015
22015
|
let n = e.getTileById(t.key);
|
|
22016
|
-
n.fadingDirection !==
|
|
22016
|
+
n.fadingDirection !== Ae.Departing && n.fadeOpacity !== 0 || n.resetFadeLogic(), Ge(e, n, r, c, i, a, s) || Ke(e, n, r, c, o, s) || z(n, u, c, s) || n.resetFadeLogic();
|
|
22017
22017
|
}
|
|
22018
22018
|
}(this._inViewTiles, r, o, this._maxFadingAncestorLevels, this._source.minzoom, this._source.maxzoom, this._rasterFadeDuration), s ? this._cleanUpRasterTiles(o) : this._cleanUpVectorTiles(o);
|
|
22019
22019
|
}
|
|
@@ -22062,7 +22062,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
22062
22062
|
if (n) return n;
|
|
22063
22063
|
n = this._outOfViewCache.getAndRemove(e), n && (n.resetFadeLogic(), this._setTileReloadTimer(e.key, n), n.tileID = e, this._state.initializeTileState(n, this.map ? this.map.painter : null));
|
|
22064
22064
|
let r = n;
|
|
22065
|
-
return n || (n = new
|
|
22065
|
+
return n || (n = new je(e, this._source.tileSize * e.overscaleFactor()), this._loadTile(n, e.key, n.state)), n.uses++, this._inViewTiles.setTile(e.key, n), r || this._source.fire(new t.n("dataloading", {
|
|
22066
22066
|
tile: n,
|
|
22067
22067
|
coord: n.tileID,
|
|
22068
22068
|
dataType: "source"
|
|
@@ -23012,15 +23012,15 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
23012
23012
|
var w, A;
|
|
23013
23013
|
if (n[e.crossTileID]) return;
|
|
23014
23014
|
if (d) return void (this.placements[e.crossTileID] = new St(!1, !1, !1));
|
|
23015
|
-
let j = !1, M = !1, ee = !0,
|
|
23015
|
+
let j = !1, M = !1, ee = !0, te = null, N = {
|
|
23016
23016
|
box: null,
|
|
23017
23017
|
placeable: !1,
|
|
23018
23018
|
offscreen: null,
|
|
23019
23019
|
occluded: !1
|
|
23020
|
-
},
|
|
23020
|
+
}, P = { placeable: !1 }, ne = null, re = null, ie = null, ae = 0, oe = 0, se = 0;
|
|
23021
23021
|
f.textFeatureIndex ? ae = f.textFeatureIndex : e.useRuntimeCollisionCircles && (ae = e.featureIndex), f.verticalTextFeatureIndex && (oe = f.verticalTextFeatureIndex);
|
|
23022
|
-
let
|
|
23023
|
-
if (
|
|
23022
|
+
let ce = f.textBox;
|
|
23023
|
+
if (ce) {
|
|
23024
23024
|
let n = (n) => {
|
|
23025
23025
|
let r = t.ax.horizontal;
|
|
23026
23026
|
if (i.allowVerticalPlacement && !n && this.prevPlacement) {
|
|
@@ -23030,21 +23030,21 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
23030
23030
|
return r;
|
|
23031
23031
|
}, a = (n, r) => {
|
|
23032
23032
|
if (i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && f.verticalTextBox) {
|
|
23033
|
-
for (let e of i.writingModes) if (e === t.ax.vertical ? (
|
|
23034
|
-
} else
|
|
23033
|
+
for (let e of i.writingModes) if (e === t.ax.vertical ? (N = r(), P = N) : N = n(), N != null && N.placeable) break;
|
|
23034
|
+
} else N = n();
|
|
23035
23035
|
}, l = e.textAnchorOffsetStartIndex, d = e.textAnchorOffsetEndIndex;
|
|
23036
23036
|
if (d === l) {
|
|
23037
23037
|
let r = (t, n) => {
|
|
23038
23038
|
let r = this.collisionIndex.placeCollisionBox(t, _, u, D, c, S, x, o, m.predicate, O, void 0, k);
|
|
23039
23039
|
return r != null && r.placeable && (this.markUsedOrientation(i, n, e), this.placedOrientations[e.crossTileID] = n), r;
|
|
23040
23040
|
};
|
|
23041
|
-
a((() => r(
|
|
23041
|
+
a((() => r(ce, t.ax.horizontal)), (() => {
|
|
23042
23042
|
let n = f.verticalTextBox;
|
|
23043
23043
|
return i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && n ? r(n, t.ax.vertical) : {
|
|
23044
23044
|
box: null,
|
|
23045
23045
|
offscreen: null
|
|
23046
23046
|
};
|
|
23047
|
-
})), n(
|
|
23047
|
+
})), n(N == null ? void 0 : N.placeable);
|
|
23048
23048
|
} else {
|
|
23049
23049
|
let p = t.aM[(A = (w = this.prevPlacement) == null ? void 0 : w.variableOffsets[e.crossTileID]) == null ? void 0 : A.anchor], h = (t, n, a) => {
|
|
23050
23050
|
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";
|
|
@@ -23054,46 +23054,46 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
23054
23054
|
let r = i.textAnchorOffsets.get(n);
|
|
23055
23055
|
if (p && r.textAnchor !== p) continue;
|
|
23056
23056
|
let l = this.attemptAnchorPlacement(r, t, f, h, g, x, S, u, D, c, m, T, e, i, a, o, s, v, O);
|
|
23057
|
-
if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0,
|
|
23057
|
+
if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0, te = l.shift, b;
|
|
23058
23058
|
}
|
|
23059
23059
|
p ? p = null : T = _;
|
|
23060
23060
|
}
|
|
23061
23061
|
return r && !b && (b = {
|
|
23062
|
-
box: this.collisionIndex.placeCollisionBox(
|
|
23062
|
+
box: this.collisionIndex.placeCollisionBox(ce, "always", u, D, c, S, x, o, m.predicate, O, void 0, k).box,
|
|
23063
23063
|
offscreen: !1,
|
|
23064
23064
|
placeable: !1,
|
|
23065
23065
|
occluded: !1
|
|
23066
23066
|
}), b;
|
|
23067
23067
|
};
|
|
23068
|
-
a((() => h(
|
|
23068
|
+
a((() => h(ce, f.iconBox, t.ax.horizontal)), (() => {
|
|
23069
23069
|
let n = f.verticalTextBox;
|
|
23070
|
-
return i.allowVerticalPlacement && !(
|
|
23070
|
+
return i.allowVerticalPlacement && !(N != null && N.placeable) && e.numVerticalGlyphVertices > 0 && n ? h(n, f.verticalIconBox, t.ax.vertical) : {
|
|
23071
23071
|
box: null,
|
|
23072
23072
|
occluded: !0,
|
|
23073
23073
|
offscreen: null
|
|
23074
23074
|
};
|
|
23075
|
-
})),
|
|
23076
|
-
let g = n(
|
|
23075
|
+
})), N && (j = N.placeable, ee = N.offscreen);
|
|
23076
|
+
let g = n(N == null ? void 0 : N.placeable);
|
|
23077
23077
|
if (!j && this.prevPlacement) {
|
|
23078
23078
|
let t = this.prevPlacement.variableOffsets[e.crossTileID];
|
|
23079
23079
|
t && (this.variableOffsets[e.crossTileID] = t, this.markUsedJustification(i, t.anchor, e, g));
|
|
23080
23080
|
}
|
|
23081
23081
|
}
|
|
23082
23082
|
}
|
|
23083
|
-
if (
|
|
23083
|
+
if (ne = N, j = ne == null ? void 0 : ne.placeable, ee = ne == null ? void 0 : ne.offscreen, e.useRuntimeCollisionCircles && e.centerJustifiedTextSymbolIndex >= 0) {
|
|
23084
23084
|
let n = i.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex), s = t.ay(i.textSizeData, p, n), u = a.get("text-padding");
|
|
23085
23085
|
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, ee && (ee = re.offscreen);
|
|
23086
23086
|
}
|
|
23087
23087
|
if (f.iconFeatureIndex && (se = f.iconFeatureIndex), f.iconBox) {
|
|
23088
|
-
let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C &&
|
|
23089
|
-
|
|
23088
|
+
let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C && te ? te : void 0, k);
|
|
23089
|
+
P && P.placeable && f.verticalIconBox ? (ie = e(f.verticalIconBox), M = ie.placeable) : (ie = e(f.iconBox), M = ie.placeable), ee && (ee = ie.offscreen);
|
|
23090
23090
|
}
|
|
23091
|
-
let
|
|
23092
|
-
|
|
23093
|
-
let
|
|
23094
|
-
if (j &&
|
|
23091
|
+
let le = h || e.numHorizontalGlyphVertices === 0 && e.numVerticalGlyphVertices === 0, ue = g || e.numIconVertices === 0;
|
|
23092
|
+
le || ue ? ue ? le || M && (M = j) : j = M && j : M = j = M && j;
|
|
23093
|
+
let de = M && ie.placeable;
|
|
23094
|
+
if (j && ne.placeable && this.collisionIndex.insertCollisionBox(ne.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, P && P.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");
|
|
23095
23095
|
if (i.bucketInstanceId === 0) throw Error("bucket.bucketInstanceId can't be 0");
|
|
23096
|
-
this.placements[e.crossTileID] = new St((j || T) && !(
|
|
23096
|
+
this.placements[e.crossTileID] = new St((j || T) && !(ne != null && ne.occluded), (M || E) && !(ie != null && ie.occluded), ee || i.justReloaded), n[e.crossTileID] = !0;
|
|
23097
23097
|
};
|
|
23098
23098
|
if (w) {
|
|
23099
23099
|
if (e.symbolInstanceStart !== 0) throw Error("bucket.bucketInstanceId should be 0");
|
|
@@ -23793,7 +23793,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
23793
23793
|
}
|
|
23794
23794
|
getMaxBounds() {
|
|
23795
23795
|
var e, t;
|
|
23796
|
-
return ((e = this._latRange) == null ? void 0 : e.length) !== 2 || ((t = this._lngRange) == null ? void 0 : t.length) !== 2 ? null : new
|
|
23796
|
+
return ((e = this._latRange) == null ? void 0 : e.length) !== 2 || ((t = this._lngRange) == null ? void 0 : t.length) !== 2 ? null : new ce([this._lngRange[0], this._latRange[0]], [this._lngRange[1], this._latRange[1]]);
|
|
23797
23797
|
}
|
|
23798
23798
|
setMaxBounds(e) {
|
|
23799
23799
|
e ? (this._lngRange = [e.getWest(), e.getEast()], this._latRange = [e.getSouth(), e.getNorth()], this.constrainInternal()) : (this._lngRange = null, this._latRange = [-t.am, t.am]);
|
|
@@ -23846,7 +23846,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
23846
23846
|
this._callbacks.calcMatrices();
|
|
23847
23847
|
}
|
|
23848
23848
|
calculateCenterFromCameraLngLatAlt(e, n, r, i) {
|
|
23849
|
-
let a = r === void 0 ? this.bearing : r, o = i = i === void 0 ? this.pitch : i, { distanceToCenter: s, clampedElevation: c } = this._distanceToCenterFromAltElevationPitch(n, this.elevation, o), { x: l, y: u } =
|
|
23849
|
+
let a = r === void 0 ? this.bearing : r, o = i = i === void 0 ? this.pitch : i, { distanceToCenter: s, clampedElevation: c } = this._distanceToCenterFromAltElevationPitch(n, this.elevation, o), { x: l, y: u } = F(o, a), d = t.a7.fromLngLat(e, n), f, p, m = t.aY(1, d.y), h = 0;
|
|
23850
23850
|
do {
|
|
23851
23851
|
if (h += 1, h > 10) break;
|
|
23852
23852
|
p = s / m, f = new t.a7(d.x + l * p, d.y + u * p), m = 1 / f.meterInMercatorCoordinateUnits();
|
|
@@ -23859,7 +23859,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
23859
23859
|
}
|
|
23860
23860
|
recalculateZoomAndCenter(e) {
|
|
23861
23861
|
if (this.elevation - e == 0) return;
|
|
23862
|
-
let n = 1 / this.worldSize, r = t.aq(1, this.center.lat) * this.worldSize, i = t.a7.fromLngLat(this.center, this.elevation), a = i.x / n, o = i.y / n, s = i.z / n, c = this.pitch, l = this.bearing, { x: u, y: d, z: f } =
|
|
23862
|
+
let n = 1 / this.worldSize, r = t.aq(1, this.center.lat) * this.worldSize, i = t.a7.fromLngLat(this.center, this.elevation), a = i.x / n, o = i.y / n, s = i.z / n, c = this.pitch, l = this.bearing, { x: u, y: d, z: f } = F(c, l), p = this.cameraToCenterDistance, m = a + p * -u, h = o + p * -d, g = s + p * f, { distanceToCenter: _, clampedElevation: v } = this._distanceToCenterFromAltElevationPitch(g / r, e, c), y = _ * r, b = new t.a7((m + u * y) * n, (h + d * y) * n, 0).toLngLat(), x = t.aq(1, b.lat), S = t.ar(this.height / 2 / Math.tan(this.fovInRadians / 2) / _ / x / this.tileSize);
|
|
23863
23863
|
this._elevation = v, this._center = b, this.setZoom(S);
|
|
23864
23864
|
}
|
|
23865
23865
|
_distanceToCenterFromAltElevationPitch(e, n, r) {
|
|
@@ -23878,7 +23878,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
23878
23878
|
}
|
|
23879
23879
|
getCameraLngLat() {
|
|
23880
23880
|
let e = t.aq(1, this.center.lat) * this.worldSize;
|
|
23881
|
-
return
|
|
23881
|
+
return Re(this.center, this.elevation, this.pitch, this.bearing, this.cameraToCenterDistance / e).toLngLat();
|
|
23882
23882
|
}
|
|
23883
23883
|
getMercatorTileCoordinates(e) {
|
|
23884
23884
|
if (!e) return [
|
|
@@ -24347,8 +24347,8 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24347
24347
|
o = t.Y(e[1]) * a, s = t.Y(e[0]) * a, s - o < p && (u = p / (s - o));
|
|
24348
24348
|
}
|
|
24349
24349
|
i && (c = t.X(t.Z(i[0]) * a, 0, a), l = t.X(t.Z(i[1]) * a, 0, a), l < c && (l += a), l - c < f && (d = f / (l - c)));
|
|
24350
|
-
let { x: m, y: h } =
|
|
24351
|
-
if (v) return r.center =
|
|
24350
|
+
let { x: m, y: h } = Pe(a, e), g, _, v = Math.max(d || 0, u || 0);
|
|
24351
|
+
if (v) return r.center = Fe(a, new t.P(d ? (l + c) / 2 : m, u ? (s + o) / 2 : h)).wrap(), r.zoom += t.ar(v), r;
|
|
24352
24352
|
if (this._helper._latRange) {
|
|
24353
24353
|
let e = p / 2;
|
|
24354
24354
|
h - e < o && (_ = o + e), h + e > s && (_ = s - e);
|
|
@@ -24359,7 +24359,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24359
24359
|
let r = f / 2;
|
|
24360
24360
|
n - r < c && (g = c + r), n + r > l && (g = l - r);
|
|
24361
24361
|
}
|
|
24362
|
-
return (g !== void 0 || _ !== void 0) && (r.center =
|
|
24362
|
+
return (g !== void 0 || _ !== void 0) && (r.center = Fe(a, new t.P(g == null ? m : g, _ == null ? h : _)).wrap()), r;
|
|
24363
24363
|
}, this.applyConstrain = (e, t) => this._helper.applyConstrain(e, t), this._helper = new Xt({
|
|
24364
24364
|
calcMatrices: () => this._calcMatrices(),
|
|
24365
24365
|
defaultConstrain: (e, t) => this.defaultConstrain(e, t)
|
|
@@ -24452,11 +24452,11 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24452
24452
|
return t.aE(i, i, r), new t.P(i[0] / i[3], i[1] / i[3]);
|
|
24453
24453
|
}
|
|
24454
24454
|
getBounds() {
|
|
24455
|
-
let e = Math.max(0, this._helper._height / 2 -
|
|
24456
|
-
return new
|
|
24455
|
+
let e = Math.max(0, this._helper._height / 2 - Ie(this));
|
|
24456
|
+
return new ce().extend(this.screenPointToLocation(new t.P(0, e))).extend(this.screenPointToLocation(new t.P(this._helper._width, e))).extend(this.screenPointToLocation(new t.P(this._helper._width, this._helper._height))).extend(this.screenPointToLocation(new t.P(0, this._helper._height)));
|
|
24457
24457
|
}
|
|
24458
24458
|
isPointOnMapSurface(e, t) {
|
|
24459
|
-
return t ? t.pointCoordinate(e) != null : e.y > this.height / 2 -
|
|
24459
|
+
return t ? t.pointCoordinate(e) != null : e.y > this.height / 2 - Ie(this);
|
|
24460
24460
|
}
|
|
24461
24461
|
calculatePosMatrix(e, n = !1, r) {
|
|
24462
24462
|
var i;
|
|
@@ -24465,7 +24465,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24465
24465
|
let e = o.get(a);
|
|
24466
24466
|
return r ? e.f32 : e.f64;
|
|
24467
24467
|
}
|
|
24468
|
-
let s =
|
|
24468
|
+
let s = Le(e, this.worldSize);
|
|
24469
24469
|
t.U(s, n ? this._alignedProjMatrix : this._viewProjMatrix, s);
|
|
24470
24470
|
let c = {
|
|
24471
24471
|
f64: s,
|
|
@@ -24476,7 +24476,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24476
24476
|
calculateFogMatrix(e) {
|
|
24477
24477
|
let n = e.key, r = this._fogMatrixCacheF32;
|
|
24478
24478
|
if (r.has(n)) return r.get(n);
|
|
24479
|
-
let i =
|
|
24479
|
+
let i = Le(e, this.worldSize);
|
|
24480
24480
|
return t.U(i, this._fogMatrix, i), r.set(n, new Float32Array(i)), r.get(n);
|
|
24481
24481
|
}
|
|
24482
24482
|
calculateCenterFromCameraLngLatAlt(e, t, n, r) {
|
|
@@ -24484,14 +24484,14 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24484
24484
|
}
|
|
24485
24485
|
_calculateNearFarZIfNeeded(e, n, r) {
|
|
24486
24486
|
if (!this._helper.autoCalculateNearFarZ) return;
|
|
24487
|
-
let i = Math.min(this.elevation, this.minElevationForCurrentTile, this.getCameraAltitude() - 100), a = e - i * this._helper._pixelPerMeter / Math.cos(n), o = i < 0 ? a : e, s = Math.PI / 2 + this.pitchInRadians, c = t.an(this.fov) * (Math.abs(Math.cos(t.an(this.roll))) * this.height + Math.abs(Math.sin(t.an(this.roll))) * this.width) / this.height * (.5 + r.y / this.height), l = Math.sin(c) * o / Math.sin(t.al(Math.PI - s - c, .01, Math.PI - .01)), u =
|
|
24487
|
+
let i = Math.min(this.elevation, this.minElevationForCurrentTile, this.getCameraAltitude() - 100), a = e - i * this._helper._pixelPerMeter / Math.cos(n), o = i < 0 ? a : e, s = Math.PI / 2 + this.pitchInRadians, c = t.an(this.fov) * (Math.abs(Math.cos(t.an(this.roll))) * this.height + Math.abs(Math.sin(t.an(this.roll))) * this.width) / this.height * (.5 + r.y / this.height), l = Math.sin(c) * o / Math.sin(t.al(Math.PI - s - c, .01, Math.PI - .01)), u = Ie(this), d = Math.atan(u / this._helper.cameraToCenterDistance), f = t.an(.75), p = d > f ? 2 * d * (.5 + r.y / (2 * u)) : f, m = Math.sin(p) * o / Math.sin(t.al(Math.PI - s - p, .01, Math.PI - .01)), h = Math.min(l, m);
|
|
24488
24488
|
this._helper._farZ = 1.01 * (Math.cos(Math.PI / 2 - n) * h + o), this._helper._nearZ = this._helper._height / 50;
|
|
24489
24489
|
}
|
|
24490
24490
|
_calcMatrices() {
|
|
24491
24491
|
if (!this._helper._height) return;
|
|
24492
|
-
let e = this.centerOffset, n =
|
|
24492
|
+
let e = this.centerOffset, n = Pe(this.worldSize, this.center), r = n.x, i = n.y;
|
|
24493
24493
|
this._helper._pixelPerMeter = t.aq(1, this.center.lat) * this.worldSize;
|
|
24494
|
-
let a = t.an(Math.min(this.pitch,
|
|
24494
|
+
let a = t.an(Math.min(this.pitch, Ne)), o = Math.max(this._helper.cameraToCenterDistance / 2, this._helper.cameraToCenterDistance + this._helper._elevation * this._helper._pixelPerMeter / Math.cos(a)), s;
|
|
24495
24495
|
var c, l;
|
|
24496
24496
|
this._calculateNearFarZIfNeeded(o, a, e), s = new Float64Array(16), t.bc(s, this.fovInRadians, this._helper._width / this._helper._height, this._helper._nearZ, this._helper._farZ), this._invProjMatrix = new Float64Array(16), (c = this._invProjMatrix)[0] = 1 / (l = s)[0], c[1] = 0, c[2] = 0, c[3] = 0, c[4] = 0, c[5] = 1 / l[5], c[6] = 0, c[7] = 0, c[8] = 0, c[9] = 0, c[10] = 0, c[11] = 1 / l[14], c[12] = 0, c[13] = 0, c[14] = -1, c[15] = l[10] / l[14], s[8] = 2 * -e.x / this._helper._width, s[9] = 2 * e.y / this._helper._height, this._projectionMatrix = t.bd(s), t.S(s, s, [
|
|
24497
24497
|
1,
|
|
@@ -24578,7 +24578,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24578
24578
|
}
|
|
24579
24579
|
getCameraLngLat() {
|
|
24580
24580
|
let e = t.aq(1, this.center.lat) * this.worldSize;
|
|
24581
|
-
return
|
|
24581
|
+
return Re(this.center, this.elevation, this.pitch, this.bearing, this._helper.cameraToCenterDistance / e).toLngLat();
|
|
24582
24582
|
}
|
|
24583
24583
|
lngLatToCameraDepth(e, n) {
|
|
24584
24584
|
let r = t.a7.fromLngLat(e), i = [
|
|
@@ -24661,7 +24661,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24661
24661
|
let n = new t.a3(0, 0, 0, 0, 0), r = this.getProjectionData({
|
|
24662
24662
|
overscaledTileID: n,
|
|
24663
24663
|
applyGlobeMatrix: e
|
|
24664
|
-
}), i =
|
|
24664
|
+
}), i = Le(n, this.worldSize);
|
|
24665
24665
|
t.U(i, this._viewProjMatrix, i), r.tileMercatorCoords = [
|
|
24666
24666
|
0,
|
|
24667
24667
|
0,
|
|
@@ -24692,11 +24692,11 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24692
24692
|
else e.tr.setRoll(t.H.number(e.startEulerAngles.roll, e.endEulerAngles.roll, e.k)), e.tr.setPitch(t.H.number(e.startEulerAngles.pitch, e.endEulerAngles.pitch, e.k)), e.tr.setBearing(t.H.number(e.startEulerAngles.bearing, e.endEulerAngles.bearing, e.k));
|
|
24693
24693
|
}
|
|
24694
24694
|
function rn(e, n, r, i, a) {
|
|
24695
|
-
let o = a.padding, s =
|
|
24695
|
+
let o = a.padding, s = Pe(a.worldSize, r.getNorthWest()), c = Pe(a.worldSize, r.getNorthEast()), l = Pe(a.worldSize, r.getSouthEast()), u = Pe(a.worldSize, r.getSouthWest()), d = t.an(-i), f = s.rotate(d), p = c.rotate(d), m = l.rotate(d), h = u.rotate(d), g = new t.P(Math.max(f.x, p.x, h.x, m.x), Math.max(f.y, p.y, h.y, m.y)), _ = new t.P(Math.min(f.x, p.x, h.x, m.x), Math.min(f.y, p.y, h.y, m.y)), v = g.sub(_), y = (a.width - (o.left + o.right + n.left + n.right)) / v.x, b = (a.height - (o.top + o.bottom + n.top + n.bottom)) / v.y;
|
|
24696
24696
|
if (b < 0 || y < 0) return void tn();
|
|
24697
24697
|
let x = Math.min(t.ar(a.scale * Math.min(y, b)), e.maxZoom), S = t.P.convert(e.offset), C = new t.P((n.left - n.right) / 2, (n.top - n.bottom) / 2).rotate(t.an(i)), w = S.add(C).mult(a.scale / t.ao(x));
|
|
24698
24698
|
return {
|
|
24699
|
-
center:
|
|
24699
|
+
center: Fe(a.worldSize, s.add(l).div(2).sub(w)),
|
|
24700
24700
|
zoom: x,
|
|
24701
24701
|
bearing: i
|
|
24702
24702
|
};
|
|
@@ -24706,7 +24706,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24706
24706
|
return !1;
|
|
24707
24707
|
}
|
|
24708
24708
|
handlePanInertia(e, t) {
|
|
24709
|
-
let n = e.mag(), r = Math.abs(
|
|
24709
|
+
let n = e.mag(), r = Math.abs(Ie(t));
|
|
24710
24710
|
return {
|
|
24711
24711
|
easingOffset: e.mult(Math.min(.75 * r / n, 1)),
|
|
24712
24712
|
easingCenter: t.center
|
|
@@ -24735,7 +24735,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24735
24735
|
bearing: n.bearing === void 0 ? e.bearing : n.bearing
|
|
24736
24736
|
}, s = n.zoom !== void 0, c = !e.isPaddingEqual(n.padding), l = !1, u = s ? +n.zoom : e.zoom, d = e.centerPoint.add(n.offsetAsPoint), f = e.screenPointToLocation(d), { center: p, zoom: m } = e.applyConstrain(t.W.convert(n.center || f), u == null ? r : u);
|
|
24737
24737
|
Jt(e, p);
|
|
24738
|
-
let h =
|
|
24738
|
+
let h = Pe(e.worldSize, f), g = Pe(e.worldSize, p).sub(h), _ = t.ao(m - r);
|
|
24739
24739
|
return l = m !== r, {
|
|
24740
24740
|
easeFunc: (s) => {
|
|
24741
24741
|
if (l && e.setZoom(t.H.number(r, m, s)), t.bn(a, o) || nn({
|
|
@@ -24746,7 +24746,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24746
24746
|
useSlerp: a.roll != o.roll
|
|
24747
24747
|
}), c && (e.interpolatePadding(i, n.padding, s), d = e.centerPoint.add(n.offsetAsPoint)), n.around) e.setLocationAtPoint(n.around, n.aroundPoint);
|
|
24748
24748
|
else {
|
|
24749
|
-
let n = t.ao(e.zoom - r), i = (m > r ? Math.min(2, _) : Math.max(.5, _)) ** (1 - s), a =
|
|
24749
|
+
let n = t.ao(e.zoom - r), i = (m > r ? Math.min(2, _) : Math.max(.5, _)) ** (1 - s), a = Fe(e.worldSize, h.add(g.mult(s * i)).mult(n));
|
|
24750
24750
|
e.setLocationAtPoint(e.renderWorldCopies ? a.wrap() : a, d);
|
|
24751
24751
|
}
|
|
24752
24752
|
},
|
|
@@ -24757,7 +24757,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24757
24757
|
handleFlyTo(e, n) {
|
|
24758
24758
|
let r = n.zoom !== void 0, i = e.zoom, a = e.applyConstrain(t.W.convert(n.center || n.locationAtOffset), r ? +n.zoom : i), o = a.center, s = a.zoom;
|
|
24759
24759
|
Jt(e, o);
|
|
24760
|
-
let c =
|
|
24760
|
+
let c = Pe(e.worldSize, n.locationAtOffset), l = Pe(e.worldSize, o).sub(c), u = l.mag(), d = t.ao(s - i), f;
|
|
24761
24761
|
if (n.minZoom !== void 0) {
|
|
24762
24762
|
let r = Math.min(+n.minZoom, i, s), a = e.applyConstrain(o, r).zoom;
|
|
24763
24763
|
f = t.ao(a - i);
|
|
@@ -24765,7 +24765,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
24765
24765
|
return {
|
|
24766
24766
|
easeFunc: (n, r, a, u) => {
|
|
24767
24767
|
e.setZoom(n === 1 ? s : i + t.ar(r));
|
|
24768
|
-
let d = n === 1 ? o :
|
|
24768
|
+
let d = n === 1 ? o : Fe(e.worldSize, c.add(l.mult(a)).mult(r));
|
|
24769
24769
|
e.setLocationAtPoint(e.renderWorldCopies ? d.wrap() : d, u);
|
|
24770
24770
|
},
|
|
24771
24771
|
scaleOfZoom: d,
|
|
@@ -25826,7 +25826,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
25826
25826
|
0,
|
|
25827
25827
|
-1,
|
|
25828
25828
|
0
|
|
25829
|
-
]) && (u[1] = -90, u[0] = -180, u[2] = 180), new
|
|
25829
|
+
]) && (u[1] = -90, u[0] = -180, u[2] = 180), new ce(u);
|
|
25830
25830
|
}
|
|
25831
25831
|
calculateCenterFromCameraLngLatAlt(e, t, n, r) {
|
|
25832
25832
|
return this._helper.calculateCenterFromCameraLngLatAlt(e, t, n, r);
|
|
@@ -26501,9 +26501,9 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
26501
26501
|
let t = this.tileManagers[e].getSource().type;
|
|
26502
26502
|
t !== "vector" && t !== "geojson" || this.tileManagers[e].reload();
|
|
26503
26503
|
}
|
|
26504
|
-
}, this.map = e, this.dispatcher = new
|
|
26504
|
+
}, this.map = e, this.dispatcher = new P(N(), 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);
|
|
26505
26505
|
let a = ((r = e._container) == null ? void 0 : r.lang) || typeof document < "u" && ((i = document.documentElement) == null ? void 0 : i.lang) || void 0;
|
|
26506
|
-
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()),
|
|
26506
|
+
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()), Oe().on(Te, this._rtlPluginLoaded), this.on("data", ((e) => {
|
|
26507
26507
|
if (e.dataType !== "source" || e.sourceDataType !== "metadata") return;
|
|
26508
26508
|
let t = this.tileManagers[e.sourceId];
|
|
26509
26509
|
if (!t) return;
|
|
@@ -27230,7 +27230,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
27230
27230
|
}, i)));
|
|
27231
27231
|
}
|
|
27232
27232
|
_remove(e = !0) {
|
|
27233
|
-
this._frameRequest && (this._frameRequest.abort(), this._frameRequest = null), this._loadStyleRequest && (this._loadStyleRequest.abort(), this._loadStyleRequest = null), this._spriteRequest && (this._spriteRequest.abort(), this._spriteRequest = null),
|
|
27233
|
+
this._frameRequest && (this._frameRequest.abort(), this._frameRequest = null), this._loadStyleRequest && (this._loadStyleRequest.abort(), this._loadStyleRequest = null), this._spriteRequest && (this._spriteRequest.abort(), this._spriteRequest = null), Oe().off(Te, this._rtlPluginLoaded);
|
|
27234
27234
|
for (let e in this._layers) this._layers[e].setEventedParent(null);
|
|
27235
27235
|
for (let e in this.tileManagers) {
|
|
27236
27236
|
let t = this.tileManagers[e];
|
|
@@ -28664,36 +28664,36 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
28664
28664
|
if (!l) continue;
|
|
28665
28665
|
let d = a ? l.text : l.icon;
|
|
28666
28666
|
if (!(d != null && d.segments.get().length) || !d.hasVisibleVertices) continue;
|
|
28667
|
-
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, ee,
|
|
28668
|
-
if (a) ee = i.glyphAtlasTexture,
|
|
28667
|
+
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, ee, te, N, P = [0, 0], ne = null;
|
|
28668
|
+
if (a) ee = i.glyphAtlasTexture, te = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (P = i.imageAtlasTexture.size, ne = i.imageAtlasTexture, N = T || e.options.rotating || e.options.zooming || g.kind === "composite" || g.kind === "camera" ? _.LINEAR : _.NEAREST);
|
|
28669
28669
|
else {
|
|
28670
28670
|
let t = r.layout.get("icon-size").constantOr(0) !== 1 || l.iconsNeedLinear;
|
|
28671
|
-
ee = i.imageAtlasTexture,
|
|
28671
|
+
ee = i.imageAtlasTexture, te = h || e.options.rotating || e.options.zooming || t || T ? _.LINEAR : _.NEAREST, M = i.imageAtlasTexture.size;
|
|
28672
28672
|
}
|
|
28673
28673
|
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({
|
|
28674
28674
|
overscaledTileID: c,
|
|
28675
28675
|
applyGlobeMatrix: !p,
|
|
28676
28676
|
applyTerrainMatrix: !0
|
|
28677
|
-
}),
|
|
28677
|
+
}), ce = E && l.hasTextData(), le = r.layout.get("icon-text-fit") !== "none" && ce && l.hasIconData();
|
|
28678
28678
|
if (x) {
|
|
28679
28679
|
let n = t.O();
|
|
28680
28680
|
H(n, ie);
|
|
28681
28681
|
let i = e.style.map.terrain ? (t, n) => e.style.map.terrain.getElevation(c, t, n) : null;
|
|
28682
28682
|
it(l, e, a, ie, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, oe, i);
|
|
28683
28683
|
}
|
|
28684
|
-
let
|
|
28685
|
-
|
|
28686
|
-
let
|
|
28684
|
+
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;
|
|
28685
|
+
pe = h ? l.iconsInText ? yr(g.kind, A, S, b, x, ue, e, de, ae, oe, M, P, 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);
|
|
28686
|
+
let me = {
|
|
28687
28687
|
program: k,
|
|
28688
28688
|
buffers: d,
|
|
28689
|
-
uniformValues:
|
|
28689
|
+
uniformValues: pe,
|
|
28690
28690
|
projectionData: se,
|
|
28691
28691
|
atlasTexture: ee,
|
|
28692
|
-
atlasTextureIcon:
|
|
28693
|
-
atlasInterpolation:
|
|
28694
|
-
atlasInterpolationIcon:
|
|
28692
|
+
atlasTextureIcon: ne,
|
|
28693
|
+
atlasInterpolation: te,
|
|
28694
|
+
atlasInterpolationIcon: N,
|
|
28695
28695
|
isSDF: h,
|
|
28696
|
-
hasHalo:
|
|
28696
|
+
hasHalo: fe
|
|
28697
28697
|
};
|
|
28698
28698
|
if (C && l.canOverlap) {
|
|
28699
28699
|
w = !0;
|
|
@@ -28701,13 +28701,13 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
28701
28701
|
for (let n of e) D.push({
|
|
28702
28702
|
segments: new t.aV([n]),
|
|
28703
28703
|
sortKey: n.sortKey,
|
|
28704
|
-
state:
|
|
28704
|
+
state: me,
|
|
28705
28705
|
terrainData: j
|
|
28706
28706
|
});
|
|
28707
28707
|
} else D.push({
|
|
28708
28708
|
segments: d.segments,
|
|
28709
28709
|
sortKey: 0,
|
|
28710
|
-
state:
|
|
28710
|
+
state: me,
|
|
28711
28711
|
terrainData: j
|
|
28712
28712
|
});
|
|
28713
28713
|
}
|
|
@@ -28946,7 +28946,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
28946
28946
|
parentScaleBy: o,
|
|
28947
28947
|
parentTopLeft: [e.tileID.canonical.x * o % 1, e.tileID.canonical.y * o % 1],
|
|
28948
28948
|
fadeValues: function(e, n, r) {
|
|
28949
|
-
let i = l(), a = (i - n.timeAdded) / r, o = e.fadingDirection ===
|
|
28949
|
+
let i = l(), a = (i - n.timeAdded) / r, o = e.fadingDirection === Ae.Incoming, s = t.al((i - e.timeAdded) / r, 0, 1), c = t.al(1 - a, 0, 1), u = o ? s : c;
|
|
28950
28950
|
return {
|
|
28951
28951
|
tileOpacity: u,
|
|
28952
28952
|
parentTileOpacity: o ? c : s,
|
|
@@ -29253,7 +29253,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
29253
29253
|
raster: function(e, t, n, r, i) {
|
|
29254
29254
|
if (e.renderPass !== "translucent" || n.paint.get("raster-opacity") === 0 || !r.length) return;
|
|
29255
29255
|
let { isRenderingToTexture: a } = i, o = t.getSource(), s = e.style.projection.useSubdivision;
|
|
29256
|
-
if (o instanceof
|
|
29256
|
+
if (o instanceof be) Ii(e, t, n, r, null, !1, !1, o.tileCoords, o.flippedWindingOrder, a);
|
|
29257
29257
|
else if (s) {
|
|
29258
29258
|
let [i, o, s] = e.stencilConfigForOverlapTwoPass(r);
|
|
29259
29259
|
Ii(e, t, n, s, i, !1, !0, Fi, !1, a), Ii(e, t, n, s, o, !0, !0, Fi, !1, a);
|
|
@@ -29290,7 +29290,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
29290
29290
|
},
|
|
29291
29291
|
sky: function(e, t) {
|
|
29292
29292
|
let n = e.context, r = n.gl, i = ((e, t, n) => {
|
|
29293
|
-
let r = Math.cos(t.rollInRadians), i = Math.sin(t.rollInRadians), a =
|
|
29293
|
+
let r = Math.cos(t.rollInRadians), i = Math.sin(t.rollInRadians), a = Ie(t), o = t.getProjectionData({
|
|
29294
29294
|
overscaledTileID: null,
|
|
29295
29295
|
applyGlobeMatrix: !0,
|
|
29296
29296
|
applyTerrainMatrix: !0
|
|
@@ -31318,7 +31318,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
31318
31318
|
return this.jumpTo({ roll: e }, t), this;
|
|
31319
31319
|
}
|
|
31320
31320
|
cameraForBounds(e, t) {
|
|
31321
|
-
e =
|
|
31321
|
+
e = ce.convert(e).adjustAntiMeridian();
|
|
31322
31322
|
let n = (t == null ? void 0 : t.bearing) || 0;
|
|
31323
31323
|
return this._cameraForBoxAndBearing(e.getNorthWest(), e.getSouthEast(), n, t);
|
|
31324
31324
|
}
|
|
@@ -31344,7 +31344,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
31344
31344
|
}
|
|
31345
31345
|
let o = t.e(a, i.padding);
|
|
31346
31346
|
i.padding = o;
|
|
31347
|
-
let s = this.transform, c = new
|
|
31347
|
+
let s = this.transform, c = new ce(e, n), l = this.cameraHelper.cameraForBoxAndBearing(i, o, c, r, s);
|
|
31348
31348
|
return l && this._zoomSnap && (l.zoom = t.cw(l.zoom, this._zoomSnap, -1)), l;
|
|
31349
31349
|
}
|
|
31350
31350
|
fitBounds(e, t, n) {
|
|
@@ -31683,7 +31683,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
31683
31683
|
reparseOverscaled: !1,
|
|
31684
31684
|
terrain: n,
|
|
31685
31685
|
calculateTileZoom: this.tileManager._source.calculateTileZoom
|
|
31686
|
-
})) r[i.key] = !0, this._renderableTilesKeys.push(i.key), this._tiles[i.key] || (i.terrainRttPosMatrix32f = new Float64Array(16), t.c7(i.terrainRttPosMatrix32f, 0, t.a6, t.a6, 0, 0, 1), this._tiles[i.key] = new
|
|
31686
|
+
})) r[i.key] = !0, this._renderableTilesKeys.push(i.key), this._tiles[i.key] || (i.terrainRttPosMatrix32f = new Float64Array(16), t.c7(i.terrainRttPosMatrix32f, 0, t.a6, t.a6, 0, 0, 1), this._tiles[i.key] = new je(i, this.tileSize), this._lastTilesetChange = l());
|
|
31687
31687
|
for (let e in this._tiles) r[e] || delete this._tiles[e];
|
|
31688
31688
|
}
|
|
31689
31689
|
freeRtt(e) {
|
|
@@ -32020,7 +32020,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
32020
32020
|
this._stacks = [], this._prevType = null, this._rttTiles = [], this._renderableTiles = this.terrain.tileManager.getRenderableTiles(), this._renderableLayerIds = e._order.filter(((n) => !e._layers[n].isHidden(t))), this._coordsAscending = {};
|
|
32021
32021
|
for (let t in e.tileManagers) {
|
|
32022
32022
|
this._coordsAscending[t] = {};
|
|
32023
|
-
let n = e.tileManagers[t].getVisibleCoordinates(), r = e.tileManagers[t].getSource(), a = r instanceof
|
|
32023
|
+
let n = e.tileManagers[t].getVisibleCoordinates(), r = e.tileManagers[t].getSource(), a = r instanceof be ? r.terrainTileRanges : null;
|
|
32024
32024
|
for (let e of n) {
|
|
32025
32025
|
let n = this.terrain.tileManager.getTerrainCoords(e, a);
|
|
32026
32026
|
for (let e in n) (i = this._coordsAscending[t])[e] || (i[e] = []), this._coordsAscending[t][e].push(n[e]);
|
|
@@ -32291,7 +32291,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
32291
32291
|
return this.transform.getMaxBounds();
|
|
32292
32292
|
}
|
|
32293
32293
|
setMaxBounds(e) {
|
|
32294
|
-
return this.transform.setMaxBounds(
|
|
32294
|
+
return this.transform.setMaxBounds(ce.convert(e)), this._update();
|
|
32295
32295
|
}
|
|
32296
32296
|
setMinZoom(e) {
|
|
32297
32297
|
if ((e = e == null ? -2 : e) >= -2 && e <= this.transform.maxZoom) {
|
|
@@ -32585,8 +32585,8 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
32585
32585
|
if (n) {
|
|
32586
32586
|
let r = this.getSource(n);
|
|
32587
32587
|
if (!r) throw Error(`There is no source with ID "${n}", cannot set LOD parameters`);
|
|
32588
|
-
r.calculateTileZoom =
|
|
32589
|
-
} else for (let n in this.style.tileManagers) this.style.tileManagers[n].getSource().calculateTileZoom =
|
|
32588
|
+
r.calculateTileZoom = I(Math.max(1, e), Math.max(1, t));
|
|
32589
|
+
} else for (let n in this.style.tileManagers) this.style.tileManagers[n].getSource().calculateTileZoom = I(Math.max(1, e), Math.max(1, t));
|
|
32590
32590
|
return this._update(!0), this;
|
|
32591
32591
|
}
|
|
32592
32592
|
refreshTiles(e, n) {
|
|
@@ -33311,7 +33311,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33311
33311
|
return wo(new t.P(0, 0));
|
|
33312
33312
|
}
|
|
33313
33313
|
let To = n;
|
|
33314
|
-
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 =
|
|
33314
|
+
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 {
|
|
33315
33315
|
constructor(e = {}) {
|
|
33316
33316
|
var n;
|
|
33317
33317
|
super(), this._onFullscreenChange = () => {
|
|
@@ -33355,7 +33355,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33355
33355
|
_togglePseudoFullScreen() {
|
|
33356
33356
|
this._container.classList.toggle("maplibregl-pseudo-fullscreen"), this._handleFullscreenChange(), this._map.resize();
|
|
33357
33357
|
}
|
|
33358
|
-
}, e.GeoJSONSource =
|
|
33358
|
+
}, e.GeoJSONSource = ye, e.GeolocateControl = class extends t.E {
|
|
33359
33359
|
constructor(e) {
|
|
33360
33360
|
super(), this._onSuccess = (e) => {
|
|
33361
33361
|
if (this._map) {
|
|
@@ -33375,7 +33375,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33375
33375
|
this.options.showUserLocation && this._watchState !== "OFF" && this._updateMarker(e), this.options.trackUserLocation && this._watchState !== "ACTIVE_LOCK" || this._updateCamera(e), this.options.showUserLocation && this._dotElement.classList.remove("maplibregl-user-location-dot-stale"), this.fire(new t.n("geolocate", e)), this._finish();
|
|
33376
33376
|
}
|
|
33377
33377
|
}, this._updateCamera = (e) => {
|
|
33378
|
-
let n = new t.W(e.coords.longitude, e.coords.latitude), r = e.coords.accuracy, i = this._map.getBearing(), a = t.e({ bearing: i }, this.options.fitBoundsOptions), o =
|
|
33378
|
+
let n = new t.W(e.coords.longitude, e.coords.latitude), r = e.coords.accuracy, i = this._map.getBearing(), a = t.e({ bearing: i }, this.options.fitBoundsOptions), o = ce.fromLngLat(n, r);
|
|
33379
33379
|
this._map.fitBounds(o, a, { geolocateSource: !0 });
|
|
33380
33380
|
}, this._updateMarker = (e) => {
|
|
33381
33381
|
if (e) {
|
|
@@ -33527,7 +33527,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33527
33527
|
onRemove() {
|
|
33528
33528
|
this._container.remove(), this._map.off("styledata", this._updateGlobeIcon), this._map.off("projectiontransition", this._updateGlobeIcon), this._globeButton.removeEventListener("click", this._toggleProjection), this._map = void 0;
|
|
33529
33529
|
}
|
|
33530
|
-
}, e.Hash = Qi, e.ImageSource =
|
|
33530
|
+
}, e.Hash = Qi, e.ImageSource = be, e.KeyboardHandler = Pa, e.LngLatBounds = ce, e.LogoControl = Xa, e.Map = so, e.MapLibreMap = so, e.MapMouseEvent = ca, e.MapTouchEvent = la, e.MapWheelEvent = ua, e.Marker = ho, e.NavigationControl = class {
|
|
33531
33531
|
constructor(e) {
|
|
33532
33532
|
this._updateZoomButtons = () => {
|
|
33533
33533
|
let e = this._map.getZoom(), t = e === this._map.getMaxZoom(), n = e === this._map.getMinZoom();
|
|
@@ -33653,7 +33653,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33653
33653
|
let e = this._container.querySelector(Co);
|
|
33654
33654
|
e && e.focus();
|
|
33655
33655
|
}
|
|
33656
|
-
}, e.RasterDEMTileSource =
|
|
33656
|
+
}, e.RasterDEMTileSource = fe, e.RasterTileSource = de, e.ScaleControl = class {
|
|
33657
33657
|
constructor(e) {
|
|
33658
33658
|
this._onMove = () => {
|
|
33659
33659
|
bo(this._map, this._container, this.options);
|
|
@@ -33684,18 +33684,18 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33684
33684
|
onRemove() {
|
|
33685
33685
|
this._container.remove(), this._map.off("terrain", this._updateTerrainIcon), this._map = void 0;
|
|
33686
33686
|
}
|
|
33687
|
-
}, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource =
|
|
33688
|
-
if (
|
|
33687
|
+
}, 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* () {
|
|
33688
|
+
if (we(e)) throw Error(`A source type called "${e}" already exists.`);
|
|
33689
33689
|
((e, t) => {
|
|
33690
|
-
|
|
33690
|
+
Ce[e] = t;
|
|
33691
33691
|
})(e, n);
|
|
33692
33692
|
})), e.clearPrewarmedResources = function() {
|
|
33693
33693
|
let e = ee;
|
|
33694
33694
|
e && (e.isPreloaded() && e.numActive() === 1 ? (e.release(A), ee = 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()"));
|
|
33695
|
-
}, e.createTileMesh = fn, e.getGlobalDispatcher =
|
|
33695
|
+
}, e.createTileMesh = fn, e.getGlobalDispatcher = ne, e.getMaxParallelImageRequests = function() {
|
|
33696
33696
|
return t.c.MAX_PARALLEL_IMAGE_REQUESTS;
|
|
33697
33697
|
}, e.getRTLTextPluginStatus = function() {
|
|
33698
|
-
return
|
|
33698
|
+
return Oe().getRTLTextPluginStatus();
|
|
33699
33699
|
}, e.getVersion = function() {
|
|
33700
33700
|
return To;
|
|
33701
33701
|
}, e.getWorkerCount = function() {
|
|
@@ -33703,11 +33703,11 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33703
33703
|
}, e.getWorkerUrl = function() {
|
|
33704
33704
|
return t.c.WORKER_URL;
|
|
33705
33705
|
}, e.importScriptInWorkers = function(e) {
|
|
33706
|
-
return
|
|
33706
|
+
return ne().broadcast("IS", e);
|
|
33707
33707
|
}, e.isTimeFrozen = function() {
|
|
33708
33708
|
return c.isFrozen();
|
|
33709
33709
|
}, e.now = l, e.prewarm = function() {
|
|
33710
|
-
|
|
33710
|
+
N().acquire(A);
|
|
33711
33711
|
}, e.restoreNow = function() {
|
|
33712
33712
|
c.restoreNow();
|
|
33713
33713
|
}, e.setMaxParallelImageRequests = function(e) {
|
|
@@ -33715,7 +33715,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33715
33715
|
}, e.setNow = function(e) {
|
|
33716
33716
|
c.setNow(e);
|
|
33717
33717
|
}, e.setRTLTextPlugin = function(e, t) {
|
|
33718
|
-
return
|
|
33718
|
+
return Oe().setRTLTextPlugin(e, t);
|
|
33719
33719
|
}, e.setWorkerCount = function(e) {
|
|
33720
33720
|
j.workerCount = e;
|
|
33721
33721
|
}, e.setWorkerUrl = function(e) {
|
|
@@ -33723,7 +33723,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33723
33723
|
};
|
|
33724
33724
|
})), e;
|
|
33725
33725
|
}));
|
|
33726
|
-
})))(),
|
|
33726
|
+
})))(), ie = Uint8Array, ae = Uint16Array, oe = Int32Array, se = new ie([
|
|
33727
33727
|
0,
|
|
33728
33728
|
0,
|
|
33729
33729
|
0,
|
|
@@ -33756,7 +33756,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33756
33756
|
0,
|
|
33757
33757
|
0,
|
|
33758
33758
|
0
|
|
33759
|
-
]),
|
|
33759
|
+
]), ce = new ie([
|
|
33760
33760
|
0,
|
|
33761
33761
|
0,
|
|
33762
33762
|
0,
|
|
@@ -33789,7 +33789,7 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33789
33789
|
13,
|
|
33790
33790
|
0,
|
|
33791
33791
|
0
|
|
33792
|
-
]),
|
|
33792
|
+
]), le = new ie([
|
|
33793
33793
|
16,
|
|
33794
33794
|
17,
|
|
33795
33795
|
18,
|
|
@@ -33809,51 +33809,51 @@ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(p(), 1), ne = (/* @__P
|
|
|
33809
33809
|
14,
|
|
33810
33810
|
1,
|
|
33811
33811
|
15
|
|
33812
|
-
]),
|
|
33813
|
-
for (var n = new
|
|
33814
|
-
for (var i = new
|
|
33812
|
+
]), ue = function(e, t) {
|
|
33813
|
+
for (var n = new ae(31), r = 0; r < 31; ++r) n[r] = t += 1 << e[r - 1];
|
|
33814
|
+
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;
|
|
33815
33815
|
return {
|
|
33816
33816
|
b: n,
|
|
33817
33817
|
r: i
|
|
33818
33818
|
};
|
|
33819
|
-
},
|
|
33820
|
-
|
|
33821
|
-
var
|
|
33822
|
-
|
|
33823
|
-
for (var
|
|
33824
|
-
var
|
|
33825
|
-
|
|
33819
|
+
}, de = ue(se, 2), fe = de.b, pe = de.r;
|
|
33820
|
+
fe[28] = 258, pe[258] = 28;
|
|
33821
|
+
var me = ue(ce, 0), he = me.b;
|
|
33822
|
+
me.r;
|
|
33823
|
+
for (var ge = new ae(32768), _e = 0; _e < 32768; ++_e) {
|
|
33824
|
+
var ve = (_e & 43690) >> 1 | (_e & 21845) << 1;
|
|
33825
|
+
ve = (ve & 52428) >> 2 | (ve & 13107) << 2, ve = (ve & 61680) >> 4 | (ve & 3855) << 4, ge[_e] = ((ve & 65280) >> 8 | (ve & 255) << 8) >> 1;
|
|
33826
33826
|
}
|
|
33827
|
-
for (var
|
|
33828
|
-
for (var r = e.length, i = 0, a = new
|
|
33829
|
-
var o = new
|
|
33827
|
+
for (var ye = (function(e, t, n) {
|
|
33828
|
+
for (var r = e.length, i = 0, a = new ae(t); i < r; ++i) e[i] && ++a[e[i] - 1];
|
|
33829
|
+
var o = new ae(t);
|
|
33830
33830
|
for (i = 1; i < t; ++i) o[i] = o[i - 1] + a[i - 1] << 1;
|
|
33831
33831
|
var s;
|
|
33832
33832
|
if (n) {
|
|
33833
|
-
s = new
|
|
33833
|
+
s = new ae(1 << t);
|
|
33834
33834
|
var c = 15 - t;
|
|
33835
|
-
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[
|
|
33836
|
-
} else for (s = new
|
|
33835
|
+
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[ge[d] >> c] = l;
|
|
33836
|
+
} else for (s = new ae(r), i = 0; i < r; ++i) e[i] && (s[i] = ge[o[e[i] - 1]++] >> 15 - e[i]);
|
|
33837
33837
|
return s;
|
|
33838
|
-
}),
|
|
33839
|
-
for (var
|
|
33840
|
-
for (var
|
|
33841
|
-
for (var
|
|
33842
|
-
for (var
|
|
33843
|
-
var
|
|
33838
|
+
}), be = new ie(288), _e = 0; _e < 144; ++_e) be[_e] = 8;
|
|
33839
|
+
for (var _e = 144; _e < 256; ++_e) be[_e] = 9;
|
|
33840
|
+
for (var _e = 256; _e < 280; ++_e) be[_e] = 7;
|
|
33841
|
+
for (var _e = 280; _e < 288; ++_e) be[_e] = 8;
|
|
33842
|
+
for (var xe = new ie(32), _e = 0; _e < 32; ++_e) xe[_e] = 5;
|
|
33843
|
+
var Se = /*#__PURE__*/ ye(be, 9, 1), Ce = /*#__PURE__*/ ye(xe, 5, 1), we = function(e) {
|
|
33844
33844
|
for (var t = e[0], n = 1; n < e.length; ++n) e[n] > t && (t = e[n]);
|
|
33845
33845
|
return t;
|
|
33846
|
-
},
|
|
33846
|
+
}, Te = function(e, t, n) {
|
|
33847
33847
|
var r = t / 8 | 0;
|
|
33848
33848
|
return (e[r] | e[r + 1] << 8) >> (t & 7) & n;
|
|
33849
|
-
},
|
|
33849
|
+
}, Ee = function(e, t) {
|
|
33850
33850
|
var n = t / 8 | 0;
|
|
33851
33851
|
return (e[n] | e[n + 1] << 8 | e[n + 2] << 16) >> (t & 7);
|
|
33852
|
-
},
|
|
33852
|
+
}, De = function(e) {
|
|
33853
33853
|
return (e + 7) / 8 | 0;
|
|
33854
|
-
},
|
|
33855
|
-
return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new
|
|
33856
|
-
},
|
|
33854
|
+
}, Oe = function(e, t, n) {
|
|
33855
|
+
return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new ie(e.subarray(t, n));
|
|
33856
|
+
}, ke = [
|
|
33857
33857
|
"unexpected EOF",
|
|
33858
33858
|
"invalid block type",
|
|
33859
33859
|
"invalid length/literal",
|
|
@@ -33868,133 +33868,133 @@ var ye = /*#__PURE__*/ ge(_e, 9, 1), be = /*#__PURE__*/ ge(ve, 5, 1), xe = funct
|
|
|
33868
33868
|
"filename too long",
|
|
33869
33869
|
"stream finishing",
|
|
33870
33870
|
"invalid zip data"
|
|
33871
|
-
],
|
|
33872
|
-
var r = Error(t ||
|
|
33873
|
-
if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r,
|
|
33871
|
+
], Ae = function(e, t, n) {
|
|
33872
|
+
var r = Error(t || ke[e]);
|
|
33873
|
+
if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r, Ae), !n) throw r;
|
|
33874
33874
|
return r;
|
|
33875
|
-
},
|
|
33875
|
+
}, je = function(e, t, n, r) {
|
|
33876
33876
|
var i = e.length, a = r ? r.length : 0;
|
|
33877
|
-
if (!i || t.f && !t.l) return n || new
|
|
33877
|
+
if (!i || t.f && !t.l) return n || new ie(0);
|
|
33878
33878
|
var o = !n, s = o || t.i != 2, c = t.i;
|
|
33879
|
-
o && (n = new
|
|
33879
|
+
o && (n = new ie(i * 3));
|
|
33880
33880
|
var l = function(e) {
|
|
33881
33881
|
var t = n.length;
|
|
33882
33882
|
if (e > t) {
|
|
33883
|
-
var r = new
|
|
33883
|
+
var r = new ie(Math.max(t * 2, e));
|
|
33884
33884
|
r.set(n), n = r;
|
|
33885
33885
|
}
|
|
33886
33886
|
}, 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;
|
|
33887
33887
|
do {
|
|
33888
33888
|
if (!p) {
|
|
33889
|
-
u =
|
|
33890
|
-
var v =
|
|
33889
|
+
u = Te(e, d, 1);
|
|
33890
|
+
var v = Te(e, d + 1, 3);
|
|
33891
33891
|
if (d += 3, !v) {
|
|
33892
|
-
var y =
|
|
33892
|
+
var y = De(d) + 4, b = e[y - 4] | e[y - 3] << 8, x = y + b;
|
|
33893
33893
|
if (x > i) {
|
|
33894
|
-
c &&
|
|
33894
|
+
c && Ae(0);
|
|
33895
33895
|
break;
|
|
33896
33896
|
}
|
|
33897
33897
|
s && l(f + b), n.set(e.subarray(y, x), f), t.b = f += b, t.p = d = x * 8, t.f = u;
|
|
33898
33898
|
continue;
|
|
33899
|
-
} else if (v == 1) p =
|
|
33899
|
+
} else if (v == 1) p = Se, m = Ce, h = 9, g = 5;
|
|
33900
33900
|
else if (v == 2) {
|
|
33901
|
-
var S =
|
|
33901
|
+
var S = Te(e, d, 31) + 257, C = Te(e, d + 10, 15) + 4, w = S + Te(e, d + 5, 31) + 1;
|
|
33902
33902
|
d += 14;
|
|
33903
|
-
for (var T = new
|
|
33903
|
+
for (var T = new ie(w), E = new ie(19), D = 0; D < C; ++D) E[le[D]] = Te(e, d + D * 3, 7);
|
|
33904
33904
|
d += C * 3;
|
|
33905
|
-
for (var O =
|
|
33906
|
-
var j = A[
|
|
33905
|
+
for (var O = we(E), k = (1 << O) - 1, A = ye(E, O, 1), D = 0; D < w;) {
|
|
33906
|
+
var j = A[Te(e, d, k)];
|
|
33907
33907
|
d += j & 15;
|
|
33908
33908
|
var y = j >> 4;
|
|
33909
33909
|
if (y < 16) T[D++] = y;
|
|
33910
33910
|
else {
|
|
33911
33911
|
var M = 0, ee = 0;
|
|
33912
|
-
for (y == 16 ? (ee = 3 +
|
|
33912
|
+
for (y == 16 ? (ee = 3 + Te(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (ee = 3 + Te(e, d, 7), d += 3) : y == 18 && (ee = 11 + Te(e, d, 127), d += 7); ee--;) T[D++] = M;
|
|
33913
33913
|
}
|
|
33914
33914
|
}
|
|
33915
|
-
var
|
|
33916
|
-
h =
|
|
33917
|
-
} else
|
|
33915
|
+
var te = T.subarray(0, S), N = T.subarray(S);
|
|
33916
|
+
h = we(te), g = we(N), p = ye(te, h, 1), m = ye(N, g, 1);
|
|
33917
|
+
} else Ae(1);
|
|
33918
33918
|
if (d > _) {
|
|
33919
|
-
c &&
|
|
33919
|
+
c && Ae(0);
|
|
33920
33920
|
break;
|
|
33921
33921
|
}
|
|
33922
33922
|
}
|
|
33923
33923
|
s && l(f + 131072);
|
|
33924
|
-
for (var
|
|
33925
|
-
var M = p[
|
|
33924
|
+
for (var P = (1 << h) - 1, ne = (1 << g) - 1, re = d;; re = d) {
|
|
33925
|
+
var M = p[Ee(e, d) & P], ae = M >> 4;
|
|
33926
33926
|
if (d += M & 15, d > _) {
|
|
33927
|
-
c &&
|
|
33927
|
+
c && Ae(0);
|
|
33928
33928
|
break;
|
|
33929
33929
|
}
|
|
33930
|
-
if (M ||
|
|
33931
|
-
else if (
|
|
33932
|
-
|
|
33930
|
+
if (M || Ae(2), ae < 256) n[f++] = ae;
|
|
33931
|
+
else if (ae == 256) {
|
|
33932
|
+
re = d, p = null;
|
|
33933
33933
|
break;
|
|
33934
33934
|
} else {
|
|
33935
|
-
var
|
|
33936
|
-
if (
|
|
33937
|
-
var D =
|
|
33938
|
-
|
|
33939
|
-
}
|
|
33940
|
-
var de = m[
|
|
33941
|
-
de ||
|
|
33942
|
-
var
|
|
33935
|
+
var oe = ae - 254;
|
|
33936
|
+
if (ae > 264) {
|
|
33937
|
+
var D = ae - 257, ue = se[D];
|
|
33938
|
+
oe = Te(e, d, (1 << ue) - 1) + fe[D], d += ue;
|
|
33939
|
+
}
|
|
33940
|
+
var de = m[Ee(e, d) & ne], pe = de >> 4;
|
|
33941
|
+
de || Ae(3), d += de & 15;
|
|
33942
|
+
var N = he[pe];
|
|
33943
33943
|
if (pe > 3) {
|
|
33944
|
-
var ue =
|
|
33945
|
-
|
|
33944
|
+
var ue = ce[pe];
|
|
33945
|
+
N += Ee(e, d) & (1 << ue) - 1, d += ue;
|
|
33946
33946
|
}
|
|
33947
33947
|
if (d > _) {
|
|
33948
|
-
c &&
|
|
33948
|
+
c && Ae(0);
|
|
33949
33949
|
break;
|
|
33950
33950
|
}
|
|
33951
33951
|
s && l(f + 131072);
|
|
33952
|
-
var me = f +
|
|
33953
|
-
if (f <
|
|
33954
|
-
var
|
|
33955
|
-
for (
|
|
33952
|
+
var me = f + oe;
|
|
33953
|
+
if (f < N) {
|
|
33954
|
+
var ge = a - N, _e = Math.min(N, me);
|
|
33955
|
+
for (ge + f < 0 && Ae(3); f < _e; ++f) n[f] = r[ge + f];
|
|
33956
33956
|
}
|
|
33957
|
-
for (; f < me; ++f) n[f] = n[f -
|
|
33957
|
+
for (; f < me; ++f) n[f] = n[f - N];
|
|
33958
33958
|
}
|
|
33959
33959
|
}
|
|
33960
|
-
t.l = p, t.p =
|
|
33960
|
+
t.l = p, t.p = re, t.b = f, t.f = u, p && (u = 1, t.m = h, t.d = m, t.n = g);
|
|
33961
33961
|
} while (!u);
|
|
33962
|
-
return f != n.length && o ?
|
|
33963
|
-
},
|
|
33964
|
-
(e[0] != 31 || e[1] != 139 || e[2] != 8) &&
|
|
33962
|
+
return f != n.length && o ? Oe(n, 0, f) : n.subarray(0, f);
|
|
33963
|
+
}, Me = /*#__PURE__*/ new ie(0), Ne = function(e) {
|
|
33964
|
+
(e[0] != 31 || e[1] != 139 || e[2] != 8) && Ae(6, "invalid gzip data");
|
|
33965
33965
|
var t = e[3], n = 10;
|
|
33966
33966
|
t & 4 && (n += (e[10] | e[11] << 8) + 2);
|
|
33967
33967
|
for (var r = (t >> 3 & 1) + (t >> 4 & 1); r > 0; r -= !e[n++]);
|
|
33968
33968
|
return n + (t & 2);
|
|
33969
|
-
},
|
|
33969
|
+
}, Pe = function(e) {
|
|
33970
33970
|
var t = e.length;
|
|
33971
33971
|
return (e[t - 4] | e[t - 3] << 8 | e[t - 2] << 16 | e[t - 1] << 24) >>> 0;
|
|
33972
|
-
},
|
|
33973
|
-
return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) &&
|
|
33972
|
+
}, Fe = function(e, t) {
|
|
33973
|
+
return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) && Ae(6, "invalid zlib data"), (e[1] >> 5 & 1) == +!t && Ae(6, "invalid zlib data: " + (e[1] & 32 ? "need" : "unexpected") + " dictionary"), (e[1] >> 3 & 4) + 2;
|
|
33974
33974
|
};
|
|
33975
|
-
function
|
|
33976
|
-
return
|
|
33975
|
+
function Ie(e, t) {
|
|
33976
|
+
return je(e, { i: 2 }, t && t.out, t && t.dictionary);
|
|
33977
33977
|
}
|
|
33978
|
-
function
|
|
33979
|
-
var n =
|
|
33980
|
-
return n + 8 > e.length &&
|
|
33978
|
+
function Le(e, t) {
|
|
33979
|
+
var n = Ne(e);
|
|
33980
|
+
return n + 8 > e.length && Ae(6, "invalid gzip data"), je(e.subarray(n, -8), { i: 2 }, t && t.out || new ie(Pe(e)), t && t.dictionary);
|
|
33981
33981
|
}
|
|
33982
|
-
function
|
|
33983
|
-
return
|
|
33982
|
+
function Re(e, t) {
|
|
33983
|
+
return je(e.subarray(Fe(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
|
|
33984
33984
|
}
|
|
33985
|
-
function
|
|
33986
|
-
return e[0] == 31 && e[1] == 139 && e[2] == 8 ?
|
|
33985
|
+
function F(e, t) {
|
|
33986
|
+
return e[0] == 31 && e[1] == 139 && e[2] == 8 ? Le(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? Ie(e, t) : Re(e, t);
|
|
33987
33987
|
}
|
|
33988
|
-
var
|
|
33988
|
+
var ze = typeof TextDecoder < "u" && /*#__PURE__*/ new TextDecoder();
|
|
33989
33989
|
try {
|
|
33990
|
-
|
|
33990
|
+
ze.decode(Me, { stream: !0 });
|
|
33991
33991
|
} catch {}
|
|
33992
33992
|
//#endregion
|
|
33993
33993
|
//#region ../../node_modules/.pnpm/pmtiles@4.4.1/node_modules/pmtiles/dist/esm/index.js
|
|
33994
|
-
var
|
|
33994
|
+
var Be = Object.defineProperty, I = Math.pow, R = (e, t) => Be(e, "name", {
|
|
33995
33995
|
value: t,
|
|
33996
33996
|
configurable: !0
|
|
33997
|
-
}),
|
|
33997
|
+
}), Ve = (e, t, n) => new Promise((r, i) => {
|
|
33998
33998
|
var a = (e) => {
|
|
33999
33999
|
try {
|
|
34000
34000
|
s(n.next(e));
|
|
@@ -34010,10 +34010,10 @@ var I = Object.defineProperty, Re = Math.pow, ze = (e, t) => I(e, "name", {
|
|
|
34010
34010
|
}, s = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(a, o);
|
|
34011
34011
|
s((n = n.apply(e, t)).next());
|
|
34012
34012
|
});
|
|
34013
|
-
|
|
34013
|
+
R((e, t) => {
|
|
34014
34014
|
let n = !1, r = "";
|
|
34015
34015
|
return new (L.GridLayer.extend({
|
|
34016
|
-
createTile:
|
|
34016
|
+
createTile: R((t, i) => {
|
|
34017
34017
|
let a = document.createElement("img"), o = new AbortController(), s = o.signal;
|
|
34018
34018
|
return a.cancel = () => {
|
|
34019
34019
|
o.abort();
|
|
@@ -34029,7 +34029,7 @@ ze((e, t) => {
|
|
|
34029
34029
|
if (e.name !== "AbortError") throw e;
|
|
34030
34030
|
}), a;
|
|
34031
34031
|
}, "createTile"),
|
|
34032
|
-
_removeTile:
|
|
34032
|
+
_removeTile: R(function(e) {
|
|
34033
34033
|
let t = this._tiles[e];
|
|
34034
34034
|
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", {
|
|
34035
34035
|
tile: t.el,
|
|
@@ -34038,16 +34038,16 @@ ze((e, t) => {
|
|
|
34038
34038
|
}, "_removeTile")
|
|
34039
34039
|
}))(t);
|
|
34040
34040
|
}, "leafletRasterLayer");
|
|
34041
|
-
var
|
|
34041
|
+
var He = R((e) => (t, n) => {
|
|
34042
34042
|
if (n instanceof AbortController) return e(t, n);
|
|
34043
34043
|
let r = new AbortController();
|
|
34044
|
-
return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel:
|
|
34045
|
-
}, "v3compat"),
|
|
34044
|
+
return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel: R(() => r.abort(), "cancel") };
|
|
34045
|
+
}, "v3compat"), Ue = class {
|
|
34046
34046
|
constructor(e) {
|
|
34047
|
-
this.tilev4 =
|
|
34047
|
+
this.tilev4 = R((e, t) => Ve(this, null, function* () {
|
|
34048
34048
|
if (e.type === "json") {
|
|
34049
34049
|
let n = e.url.substr(10), r = this.tiles.get(n);
|
|
34050
|
-
if (r || (r = new
|
|
34050
|
+
if (r || (r = new dt(n), this.tiles.set(n, r)), this.metadata) {
|
|
34051
34051
|
let n = yield r.getTileJson(e.url);
|
|
34052
34052
|
return t.signal.throwIfAborted(), { data: n };
|
|
34053
34053
|
}
|
|
@@ -34067,7 +34067,7 @@ var Be = ze((e) => (t, n) => {
|
|
|
34067
34067
|
let n = /* @__PURE__ */ new RegExp(/pmtiles:\/\/(.+)\/(\d+)\/(\d+)\/(\d+)/), r = e.url.match(n);
|
|
34068
34068
|
if (!r) throw Error("Invalid PMTiles protocol URL");
|
|
34069
34069
|
let i = r[1], a = this.tiles.get(i);
|
|
34070
|
-
a || (a = new
|
|
34070
|
+
a || (a = new dt(i), this.tiles.set(i, a));
|
|
34071
34071
|
let o = r[2], s = r[3], c = r[4], l = yield a == null ? void 0 : a.getZxy(+o, +s, +c, t.signal);
|
|
34072
34072
|
if (t.signal.throwIfAborted(), l) return {
|
|
34073
34073
|
data: new Uint8Array(l.data),
|
|
@@ -34080,7 +34080,7 @@ var Be = ze((e) => (t, n) => {
|
|
|
34080
34080
|
return { data: new Uint8Array() };
|
|
34081
34081
|
}
|
|
34082
34082
|
return { data: null };
|
|
34083
|
-
}), "tilev4"), this.tile =
|
|
34083
|
+
}), "tilev4"), this.tile = He(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;
|
|
34084
34084
|
}
|
|
34085
34085
|
add(e) {
|
|
34086
34086
|
this.tiles.set(e.source.getKey(), e);
|
|
@@ -34089,50 +34089,50 @@ var Be = ze((e) => (t, n) => {
|
|
|
34089
34089
|
return this.tiles.get(e);
|
|
34090
34090
|
}
|
|
34091
34091
|
};
|
|
34092
|
-
|
|
34093
|
-
var
|
|
34094
|
-
function
|
|
34092
|
+
R(Ue, "Protocol");
|
|
34093
|
+
var We = Ue;
|
|
34094
|
+
function Ge(e, t) {
|
|
34095
34095
|
return (t >>> 0) * 4294967296 + (e >>> 0);
|
|
34096
34096
|
}
|
|
34097
|
-
|
|
34098
|
-
function
|
|
34097
|
+
R(Ge, "toNum");
|
|
34098
|
+
function Ke(e, t) {
|
|
34099
34099
|
let n = t.buf, r = n[t.pos++], i = (r & 112) >> 4;
|
|
34100
|
-
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
|
|
34100
|
+
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 Ge(e, i);
|
|
34101
34101
|
throw Error("Expected varint not more than 10 bytes");
|
|
34102
34102
|
}
|
|
34103
|
-
|
|
34104
|
-
function
|
|
34103
|
+
R(Ke, "readVarintRemainder");
|
|
34104
|
+
function qe(e) {
|
|
34105
34105
|
let t = e.buf, n = t[e.pos++], r = n & 127;
|
|
34106
|
-
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,
|
|
34106
|
+
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, Ke(r, e));
|
|
34107
34107
|
}
|
|
34108
|
-
|
|
34109
|
-
function
|
|
34108
|
+
R(qe, "readVarint");
|
|
34109
|
+
function z(e, t, n, r, i) {
|
|
34110
34110
|
return i === 0 ? r === 0 ? [n, t] : [e - 1 - n, e - 1 - t] : [t, n];
|
|
34111
34111
|
}
|
|
34112
|
-
|
|
34113
|
-
function
|
|
34112
|
+
R(z, "rotate");
|
|
34113
|
+
function Je(e, t, n) {
|
|
34114
34114
|
if (e > 26) throw Error("Tile zoom level exceeds max safe number limit (26)");
|
|
34115
34115
|
if (t >= 1 << e || n >= 1 << e) throw Error("tile x/y outside zoom level bounds");
|
|
34116
34116
|
let r = ((1 << e) * (1 << e) - 1) / 3, i = e - 1, [a, o] = [t, n];
|
|
34117
34117
|
for (let e = 1 << i; e > 0; e >>= 1) {
|
|
34118
34118
|
let t = a & e, n = o & e;
|
|
34119
|
-
r += (3 * t ^ n) * (1 << i), [a, o] =
|
|
34119
|
+
r += (3 * t ^ n) * (1 << i), [a, o] = z(e, a, o, t, n), i--;
|
|
34120
34120
|
}
|
|
34121
34121
|
return r;
|
|
34122
34122
|
}
|
|
34123
|
-
|
|
34124
|
-
function
|
|
34123
|
+
R(Je, "zxyToTileId");
|
|
34124
|
+
function Ye(e) {
|
|
34125
34125
|
let t = 3 * e + 1;
|
|
34126
34126
|
return t < 4294967296 ? 31 - Math.clz32(t) : 63 - Math.clz32(t / 4294967296);
|
|
34127
34127
|
}
|
|
34128
|
-
|
|
34129
|
-
function
|
|
34130
|
-
let t =
|
|
34128
|
+
R(Ye, "tileIdToZ");
|
|
34129
|
+
function Xe(e) {
|
|
34130
|
+
let t = Ye(e) >> 1;
|
|
34131
34131
|
if (t > 26) throw Error("Tile zoom level exceeds max safe number limit (26)");
|
|
34132
34132
|
let n = e - ((1 << t) * (1 << t) - 1) / 3, r = 0, i = 0, a = 1 << t;
|
|
34133
34133
|
for (let e = 1; e < a; e <<= 1) {
|
|
34134
34134
|
let t = e & n / 2, a = e & (n ^ t);
|
|
34135
|
-
[r, i] =
|
|
34135
|
+
[r, i] = z(e, r, i, t, a), n /= 2, r += t, i += a;
|
|
34136
34136
|
}
|
|
34137
34137
|
return [
|
|
34138
34138
|
t,
|
|
@@ -34140,13 +34140,13 @@ function Je(e) {
|
|
|
34140
34140
|
i
|
|
34141
34141
|
];
|
|
34142
34142
|
}
|
|
34143
|
-
|
|
34144
|
-
var
|
|
34145
|
-
function
|
|
34146
|
-
return
|
|
34143
|
+
R(Xe, "tileIdToZxy");
|
|
34144
|
+
var Ze = ((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))(Ze || {});
|
|
34145
|
+
function B(e, t) {
|
|
34146
|
+
return Ve(this, null, function* () {
|
|
34147
34147
|
if (t === 1 || t === 0) return e;
|
|
34148
34148
|
if (t === 2) {
|
|
34149
|
-
if (globalThis.DecompressionStream === void 0) return
|
|
34149
|
+
if (globalThis.DecompressionStream === void 0) return F(new Uint8Array(e));
|
|
34150
34150
|
let t = new Response(e).body;
|
|
34151
34151
|
if (!t) throw Error("Failed to read response stream");
|
|
34152
34152
|
let n = t.pipeThrough(new globalThis.DecompressionStream("gzip"));
|
|
@@ -34155,14 +34155,14 @@ function Xe(e, t) {
|
|
|
34155
34155
|
throw Error("Compression method not supported");
|
|
34156
34156
|
});
|
|
34157
34157
|
}
|
|
34158
|
-
|
|
34159
|
-
var
|
|
34160
|
-
function
|
|
34158
|
+
R(B, "defaultDecompress");
|
|
34159
|
+
var V = ((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))(V || {});
|
|
34160
|
+
function H(e) {
|
|
34161
34161
|
return e === 1 ? ".mvt" : e === 2 ? ".png" : e === 3 ? ".jpg" : e === 4 ? ".webp" : e === 5 ? ".avif" : e === 6 ? ".mlt" : "";
|
|
34162
34162
|
}
|
|
34163
|
-
|
|
34164
|
-
var
|
|
34165
|
-
function
|
|
34163
|
+
R(H, "tileTypeExt");
|
|
34164
|
+
var Qe = 127;
|
|
34165
|
+
function $e(e, t) {
|
|
34166
34166
|
let n = 0, r = e.length - 1;
|
|
34167
34167
|
for (; n <= r;) {
|
|
34168
34168
|
let i = r + n >> 1, a = t - e[i].tileId;
|
|
@@ -34172,7 +34172,7 @@ function H(e, t) {
|
|
|
34172
34172
|
}
|
|
34173
34173
|
return r >= 0 && (e[r].runLength === 0 || t - e[r].tileId < e[r].runLength) ? e[r] : null;
|
|
34174
34174
|
}
|
|
34175
|
-
|
|
34175
|
+
R($e, "findTile"), R(class {
|
|
34176
34176
|
constructor(e) {
|
|
34177
34177
|
this.file = e;
|
|
34178
34178
|
}
|
|
@@ -34180,12 +34180,12 @@ ze(H, "findTile"), ze(class {
|
|
|
34180
34180
|
return this.file.name;
|
|
34181
34181
|
}
|
|
34182
34182
|
getBytes(e, t) {
|
|
34183
|
-
return
|
|
34183
|
+
return Ve(this, null, function* () {
|
|
34184
34184
|
return { data: yield this.file.slice(e, e + t).arrayBuffer() };
|
|
34185
34185
|
});
|
|
34186
34186
|
}
|
|
34187
34187
|
}, "FileSource");
|
|
34188
|
-
var
|
|
34188
|
+
var et = class {
|
|
34189
34189
|
constructor(e, t = new Headers(), n = void 0) {
|
|
34190
34190
|
var r, i;
|
|
34191
34191
|
this.url = e, this.customHeaders = t, this.credentials = n, this.mustReload = !1;
|
|
@@ -34201,7 +34201,7 @@ var Qe = class {
|
|
|
34201
34201
|
this.customHeaders = e;
|
|
34202
34202
|
}
|
|
34203
34203
|
getBytes(e, t, n, r) {
|
|
34204
|
-
return
|
|
34204
|
+
return Ve(this, null, function* () {
|
|
34205
34205
|
let i, a;
|
|
34206
34206
|
n ? a = n : (i = new AbortController(), a = i.signal);
|
|
34207
34207
|
let o = new Headers(this.customHeaders);
|
|
@@ -34226,7 +34226,7 @@ var Qe = class {
|
|
|
34226
34226
|
});
|
|
34227
34227
|
}
|
|
34228
34228
|
let l = c.headers.get("Etag");
|
|
34229
|
-
if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new
|
|
34229
|
+
if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new at(`Server returned non-matching ETag ${r} after one retry. Check browser extensions and servers for issues that may affect correct ETag headers.`);
|
|
34230
34230
|
if (c.status >= 300) throw Error(`Bad response code: ${c.status}`);
|
|
34231
34231
|
let u = c.headers.get("Content-Length");
|
|
34232
34232
|
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.");
|
|
@@ -34239,29 +34239,29 @@ var Qe = class {
|
|
|
34239
34239
|
});
|
|
34240
34240
|
}
|
|
34241
34241
|
};
|
|
34242
|
-
|
|
34243
|
-
var
|
|
34244
|
-
function
|
|
34242
|
+
R(et, "FetchSource");
|
|
34243
|
+
var U = et;
|
|
34244
|
+
function tt(e, t) {
|
|
34245
34245
|
let n = e.getUint32(t + 4, !0), r = e.getUint32(t + 0, !0);
|
|
34246
|
-
return n *
|
|
34246
|
+
return n * I(2, 32) + r;
|
|
34247
34247
|
}
|
|
34248
|
-
|
|
34249
|
-
function
|
|
34248
|
+
R(tt, "getUint64");
|
|
34249
|
+
function nt(e, t) {
|
|
34250
34250
|
let n = new DataView(e), r = n.getUint8(7);
|
|
34251
34251
|
if (r > 3) throw Error(`Archive is spec version ${r} but this library supports up to spec version 3`);
|
|
34252
34252
|
return {
|
|
34253
34253
|
specVersion: r,
|
|
34254
|
-
rootDirectoryOffset:
|
|
34255
|
-
rootDirectoryLength:
|
|
34256
|
-
jsonMetadataOffset:
|
|
34257
|
-
jsonMetadataLength:
|
|
34258
|
-
leafDirectoryOffset:
|
|
34259
|
-
leafDirectoryLength:
|
|
34260
|
-
tileDataOffset:
|
|
34261
|
-
tileDataLength:
|
|
34262
|
-
numAddressedTiles:
|
|
34263
|
-
numTileEntries:
|
|
34264
|
-
numTileContents:
|
|
34254
|
+
rootDirectoryOffset: tt(n, 8),
|
|
34255
|
+
rootDirectoryLength: tt(n, 16),
|
|
34256
|
+
jsonMetadataOffset: tt(n, 24),
|
|
34257
|
+
jsonMetadataLength: tt(n, 32),
|
|
34258
|
+
leafDirectoryOffset: tt(n, 40),
|
|
34259
|
+
leafDirectoryLength: tt(n, 48),
|
|
34260
|
+
tileDataOffset: tt(n, 56),
|
|
34261
|
+
tileDataLength: tt(n, 64),
|
|
34262
|
+
numAddressedTiles: tt(n, 72),
|
|
34263
|
+
numTileEntries: tt(n, 80),
|
|
34264
|
+
numTileContents: tt(n, 88),
|
|
34265
34265
|
clustered: n.getUint8(96) === 1,
|
|
34266
34266
|
internalCompression: n.getUint8(97),
|
|
34267
34267
|
tileCompression: n.getUint8(98),
|
|
@@ -34278,14 +34278,14 @@ function U(e, t) {
|
|
|
34278
34278
|
etag: t
|
|
34279
34279
|
};
|
|
34280
34280
|
}
|
|
34281
|
-
|
|
34282
|
-
function
|
|
34281
|
+
R(nt, "bytesToHeader");
|
|
34282
|
+
function rt(e) {
|
|
34283
34283
|
let t = {
|
|
34284
34284
|
buf: new Uint8Array(e),
|
|
34285
34285
|
pos: 0
|
|
34286
|
-
}, n =
|
|
34286
|
+
}, n = qe(t), r = [], i = 0;
|
|
34287
34287
|
for (let e = 0; e < n; e++) {
|
|
34288
|
-
let e =
|
|
34288
|
+
let e = qe(t);
|
|
34289
34289
|
r.push({
|
|
34290
34290
|
tileId: i + e,
|
|
34291
34291
|
offset: 0,
|
|
@@ -34293,23 +34293,23 @@ function tt(e) {
|
|
|
34293
34293
|
runLength: 1
|
|
34294
34294
|
}), i += e;
|
|
34295
34295
|
}
|
|
34296
|
-
for (let e = 0; e < n; e++) r[e].runLength =
|
|
34297
|
-
for (let e = 0; e < n; e++) r[e].length =
|
|
34296
|
+
for (let e = 0; e < n; e++) r[e].runLength = qe(t);
|
|
34297
|
+
for (let e = 0; e < n; e++) r[e].length = qe(t);
|
|
34298
34298
|
for (let e = 0; e < n; e++) {
|
|
34299
|
-
let n =
|
|
34299
|
+
let n = qe(t);
|
|
34300
34300
|
n === 0 && e > 0 ? r[e].offset = r[e - 1].offset + r[e - 1].length : r[e].offset = n - 1;
|
|
34301
34301
|
}
|
|
34302
34302
|
return r;
|
|
34303
34303
|
}
|
|
34304
|
-
|
|
34305
|
-
var
|
|
34306
|
-
|
|
34307
|
-
var
|
|
34308
|
-
function
|
|
34309
|
-
return
|
|
34304
|
+
R(rt, "deserializeIndex");
|
|
34305
|
+
var it = class extends Error {};
|
|
34306
|
+
R(it, "EtagMismatch");
|
|
34307
|
+
var at = it;
|
|
34308
|
+
function ot(e, t) {
|
|
34309
|
+
return Ve(this, null, function* () {
|
|
34310
34310
|
let n = yield e.getBytes(0, 16384);
|
|
34311
34311
|
if (new DataView(n.data).getUint16(0, !0) !== 19792) throw Error("Wrong magic number for PMTiles archive");
|
|
34312
|
-
let r =
|
|
34312
|
+
let r = nt(n.data.slice(0, Qe), n.etag), i = n.data.slice(r.rootDirectoryOffset, r.rootDirectoryOffset + r.rootDirectoryLength), a = `${e.getKey()}|${r.etag || ""}|${r.rootDirectoryOffset}|${r.rootDirectoryLength}`, o = rt(yield t(i, r.internalCompression));
|
|
34313
34313
|
return [r, [
|
|
34314
34314
|
a,
|
|
34315
34315
|
o.length,
|
|
@@ -34317,23 +34317,23 @@ function it(e, t) {
|
|
|
34317
34317
|
]];
|
|
34318
34318
|
});
|
|
34319
34319
|
}
|
|
34320
|
-
|
|
34321
|
-
function
|
|
34322
|
-
return
|
|
34323
|
-
let a =
|
|
34320
|
+
R(ot, "getHeaderAndRoot");
|
|
34321
|
+
function st(e, t, n, r, i) {
|
|
34322
|
+
return Ve(this, null, function* () {
|
|
34323
|
+
let a = rt(yield t((yield e.getBytes(n, r, void 0, i.etag)).data, i.internalCompression));
|
|
34324
34324
|
if (a.length === 0) throw Error("Empty directory is invalid");
|
|
34325
34325
|
return a;
|
|
34326
34326
|
});
|
|
34327
34327
|
}
|
|
34328
|
-
|
|
34329
|
-
constructor(e = 100, t = !0, n =
|
|
34328
|
+
R(st, "getDirectory"), R(class {
|
|
34329
|
+
constructor(e = 100, t = !0, n = B) {
|
|
34330
34330
|
this.cache = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
|
|
34331
34331
|
}
|
|
34332
34332
|
getHeader(e) {
|
|
34333
|
-
return
|
|
34333
|
+
return Ve(this, null, function* () {
|
|
34334
34334
|
let t = e.getKey(), n = this.cache.get(t);
|
|
34335
34335
|
if (n) return n.lastUsed = this.counter++, n.data;
|
|
34336
|
-
let r = yield
|
|
34336
|
+
let r = yield ot(e, this.decompress);
|
|
34337
34337
|
return r[1] && this.cache.set(r[1][0], {
|
|
34338
34338
|
lastUsed: this.counter++,
|
|
34339
34339
|
data: r[1][2]
|
|
@@ -34344,10 +34344,10 @@ ze(at, "getDirectory"), ze(class {
|
|
|
34344
34344
|
});
|
|
34345
34345
|
}
|
|
34346
34346
|
getDirectory(e, t, n, r) {
|
|
34347
|
-
return
|
|
34347
|
+
return Ve(this, null, function* () {
|
|
34348
34348
|
let i = `${e.getKey()}|${r.etag || ""}|${t}|${n}`, a = this.cache.get(i);
|
|
34349
34349
|
if (a) return a.lastUsed = this.counter++, a.data;
|
|
34350
|
-
let o = yield
|
|
34350
|
+
let o = yield st(e, this.decompress, t, n, r);
|
|
34351
34351
|
return this.cache.set(i, {
|
|
34352
34352
|
lastUsed: this.counter++,
|
|
34353
34353
|
data: o
|
|
@@ -34363,21 +34363,21 @@ ze(at, "getDirectory"), ze(class {
|
|
|
34363
34363
|
}
|
|
34364
34364
|
}
|
|
34365
34365
|
invalidate(e) {
|
|
34366
|
-
return
|
|
34366
|
+
return Ve(this, null, function* () {
|
|
34367
34367
|
this.cache.delete(e.getKey());
|
|
34368
34368
|
});
|
|
34369
34369
|
}
|
|
34370
34370
|
}, "ResolvedValueCache");
|
|
34371
|
-
var
|
|
34372
|
-
constructor(e = 100, t = !0, n =
|
|
34371
|
+
var ct = class {
|
|
34372
|
+
constructor(e = 100, t = !0, n = B) {
|
|
34373
34373
|
this.cache = /* @__PURE__ */ new Map(), this.invalidations = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
|
|
34374
34374
|
}
|
|
34375
34375
|
getHeader(e) {
|
|
34376
|
-
return
|
|
34376
|
+
return Ve(this, null, function* () {
|
|
34377
34377
|
let t = e.getKey(), n = this.cache.get(t);
|
|
34378
34378
|
if (n) return n.lastUsed = this.counter++, yield n.data;
|
|
34379
34379
|
let r = new Promise((t, n) => {
|
|
34380
|
-
|
|
34380
|
+
ot(e, this.decompress).then((e) => {
|
|
34381
34381
|
e[1] && this.cache.set(e[1][0], {
|
|
34382
34382
|
lastUsed: this.counter++,
|
|
34383
34383
|
data: Promise.resolve(e[1][2])
|
|
@@ -34393,11 +34393,11 @@ var ot = class {
|
|
|
34393
34393
|
});
|
|
34394
34394
|
}
|
|
34395
34395
|
getDirectory(e, t, n, r) {
|
|
34396
|
-
return
|
|
34396
|
+
return Ve(this, null, function* () {
|
|
34397
34397
|
let i = `${e.getKey()}|${r.etag || ""}|${t}|${n}`, a = this.cache.get(i);
|
|
34398
34398
|
if (a) return a.lastUsed = this.counter++, yield a.data;
|
|
34399
34399
|
let o = new Promise((i, a) => {
|
|
34400
|
-
|
|
34400
|
+
st(e, this.decompress, t, n, r).then((e) => {
|
|
34401
34401
|
i(e), this.prune();
|
|
34402
34402
|
}).catch((e) => {
|
|
34403
34403
|
a(e);
|
|
@@ -34418,7 +34418,7 @@ var ot = class {
|
|
|
34418
34418
|
}
|
|
34419
34419
|
}
|
|
34420
34420
|
invalidate(e) {
|
|
34421
|
-
return
|
|
34421
|
+
return Ve(this, null, function* () {
|
|
34422
34422
|
let t = e.getKey();
|
|
34423
34423
|
if (this.invalidations.get(t)) return yield this.invalidations.get(t);
|
|
34424
34424
|
this.cache.delete(e.getKey());
|
|
@@ -34433,23 +34433,23 @@ var ot = class {
|
|
|
34433
34433
|
});
|
|
34434
34434
|
}
|
|
34435
34435
|
};
|
|
34436
|
-
|
|
34437
|
-
var
|
|
34436
|
+
R(ct, "SharedPromiseCache");
|
|
34437
|
+
var lt = ct, ut = class {
|
|
34438
34438
|
constructor(e, t, n) {
|
|
34439
|
-
typeof e == "string" ? this.source = new
|
|
34439
|
+
typeof e == "string" ? this.source = new U(e) : this.source = e, n ? this.decompress = n : this.decompress = B, t ? this.cache = t : this.cache = new lt();
|
|
34440
34440
|
}
|
|
34441
34441
|
getHeader() {
|
|
34442
|
-
return
|
|
34442
|
+
return Ve(this, null, function* () {
|
|
34443
34443
|
return yield this.cache.getHeader(this.source);
|
|
34444
34444
|
});
|
|
34445
34445
|
}
|
|
34446
34446
|
getZxyAttempt(e, t, n, r) {
|
|
34447
|
-
return
|
|
34448
|
-
let i =
|
|
34447
|
+
return Ve(this, null, function* () {
|
|
34448
|
+
let i = Je(e, t, n), a = yield this.cache.getHeader(this.source);
|
|
34449
34449
|
if (e < a.minZoom || e > a.maxZoom) return;
|
|
34450
34450
|
let o = a.rootDirectoryOffset, s = a.rootDirectoryLength;
|
|
34451
34451
|
for (let e = 0; e <= 3; e++) {
|
|
34452
|
-
let e =
|
|
34452
|
+
let e = $e(yield this.cache.getDirectory(this.source, o, s, a), i);
|
|
34453
34453
|
if (e) {
|
|
34454
34454
|
if (e.runLength > 0) {
|
|
34455
34455
|
let t = yield this.source.getBytes(a.tileDataOffset + e.offset, e.length, r, a.etag);
|
|
@@ -34466,38 +34466,38 @@ var st = ot, ct = class {
|
|
|
34466
34466
|
});
|
|
34467
34467
|
}
|
|
34468
34468
|
getZxy(e, t, n, r) {
|
|
34469
|
-
return
|
|
34469
|
+
return Ve(this, null, function* () {
|
|
34470
34470
|
try {
|
|
34471
34471
|
return yield this.getZxyAttempt(e, t, n, r);
|
|
34472
34472
|
} catch (i) {
|
|
34473
|
-
if (i instanceof
|
|
34473
|
+
if (i instanceof at) return this.cache.invalidate(this.source), yield this.getZxyAttempt(e, t, n, r);
|
|
34474
34474
|
throw i;
|
|
34475
34475
|
}
|
|
34476
34476
|
});
|
|
34477
34477
|
}
|
|
34478
34478
|
getMetadataAttempt() {
|
|
34479
|
-
return
|
|
34479
|
+
return Ve(this, null, function* () {
|
|
34480
34480
|
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");
|
|
34481
34481
|
return JSON.parse(r.decode(n));
|
|
34482
34482
|
});
|
|
34483
34483
|
}
|
|
34484
34484
|
getMetadata() {
|
|
34485
|
-
return
|
|
34485
|
+
return Ve(this, null, function* () {
|
|
34486
34486
|
try {
|
|
34487
34487
|
return yield this.getMetadataAttempt();
|
|
34488
34488
|
} catch (e) {
|
|
34489
|
-
if (e instanceof
|
|
34489
|
+
if (e instanceof at) return this.cache.invalidate(this.source), yield this.getMetadataAttempt();
|
|
34490
34490
|
throw e;
|
|
34491
34491
|
}
|
|
34492
34492
|
});
|
|
34493
34493
|
}
|
|
34494
34494
|
getTileJson(e) {
|
|
34495
|
-
return
|
|
34495
|
+
return Ve(this, null, function* () {
|
|
34496
34496
|
let t = yield this.getHeader(), n = yield this.getMetadata();
|
|
34497
34497
|
return {
|
|
34498
34498
|
tilejson: "3.0.0",
|
|
34499
34499
|
scheme: "xyz",
|
|
34500
|
-
tiles: [`${e}/{z}/{x}/{y}${
|
|
34500
|
+
tiles: [`${e}/{z}/{x}/{y}${H(t.tileType)}`],
|
|
34501
34501
|
vector_layers: n.vector_layers,
|
|
34502
34502
|
attribution: n.attribution,
|
|
34503
34503
|
description: n.description,
|
|
@@ -34520,14 +34520,14 @@ var st = ot, ct = class {
|
|
|
34520
34520
|
});
|
|
34521
34521
|
}
|
|
34522
34522
|
};
|
|
34523
|
-
|
|
34524
|
-
var
|
|
34523
|
+
R(ut, "PMTiles");
|
|
34524
|
+
var dt = ut, ft = r(), pt = "expofp-map-dim", mt = "expofp-map-dim-source", ht = "3d-expofp", gt = null, _t = [
|
|
34525
34525
|
"coalesce",
|
|
34526
34526
|
["get", "name:en"],
|
|
34527
34527
|
["get", "name_en"],
|
|
34528
34528
|
["get", "name:latin"],
|
|
34529
34529
|
["get", "name"]
|
|
34530
|
-
],
|
|
34530
|
+
], vt = {
|
|
34531
34531
|
type: "Feature",
|
|
34532
34532
|
geometry: {
|
|
34533
34533
|
type: "Polygon",
|
|
@@ -34541,60 +34541,60 @@ var lt = ct, ut = r(), dt = "expofp-map-dim", ft = "expofp-map-dim-source", pt =
|
|
|
34541
34541
|
},
|
|
34542
34542
|
properties: {}
|
|
34543
34543
|
};
|
|
34544
|
-
function
|
|
34544
|
+
function yt(e) {
|
|
34545
34545
|
if (!e || typeof e != "object") return !1;
|
|
34546
34546
|
let t = e.length;
|
|
34547
34547
|
if (typeof t != "number" || t < 16) return !1;
|
|
34548
34548
|
let n = e[0];
|
|
34549
34549
|
return typeof n == "number" && Number.isFinite(n);
|
|
34550
34550
|
}
|
|
34551
|
-
function
|
|
34551
|
+
function bt(e) {
|
|
34552
34552
|
var t;
|
|
34553
|
-
if (
|
|
34553
|
+
if (yt(e)) return Array.from(e);
|
|
34554
34554
|
let n = e, r = n == null || (t = n.defaultProjectionData) == null ? void 0 : t.mainMatrix;
|
|
34555
|
-
return
|
|
34555
|
+
return yt(r) ? Array.from(r) : (console.warn("Maplibre custom layer received an unsupported projection matrix payload.", e), null);
|
|
34556
34556
|
}
|
|
34557
|
-
function
|
|
34558
|
-
return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) =>
|
|
34557
|
+
function xt(e) {
|
|
34558
|
+
return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) => xt(e)) : !e || typeof e != "object" ? !1 : Object.values(e).some((e) => xt(e));
|
|
34559
34559
|
}
|
|
34560
|
-
function
|
|
34561
|
-
return e.type !== "symbol" || !e.id || !e.layout ? !1 :
|
|
34560
|
+
function St(e) {
|
|
34561
|
+
return e.type !== "symbol" || !e.id || !e.layout ? !1 : xt(e.layout["text-field"]);
|
|
34562
34562
|
}
|
|
34563
|
-
function
|
|
34563
|
+
function Ct(e) {
|
|
34564
34564
|
var t;
|
|
34565
34565
|
let n = e.getStyle();
|
|
34566
|
-
for (let r of (t = n.layers) == null ? [] : t)
|
|
34566
|
+
for (let r of (t = n.layers) == null ? [] : t) St(r) && e.setLayoutProperty(r.id, "text-field", _t);
|
|
34567
34567
|
}
|
|
34568
|
-
function
|
|
34569
|
-
if (!
|
|
34570
|
-
|
|
34568
|
+
function wt() {
|
|
34569
|
+
if (!gt) {
|
|
34570
|
+
gt = new We();
|
|
34571
34571
|
try {
|
|
34572
|
-
(0,
|
|
34572
|
+
(0, re.addProtocol)("pmtiles", gt.tile);
|
|
34573
34573
|
} catch (e) {
|
|
34574
34574
|
console.warn("Maplibre PMTiles protocol registration failed.", e);
|
|
34575
34575
|
}
|
|
34576
34576
|
}
|
|
34577
34577
|
}
|
|
34578
|
-
function
|
|
34579
|
-
let
|
|
34578
|
+
function Tt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapOptions: i, onRendererReady: a, onMapDimLayerReady: o, onMapLoadError: c }) {
|
|
34579
|
+
let l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(a), p = (0, P.useRef)(o), m = (0, P.useRef)(c), h = (0, P.useRef)({
|
|
34580
34580
|
sceneDef: e,
|
|
34581
34581
|
geoConfig: t,
|
|
34582
34582
|
staticTransform: n,
|
|
34583
34583
|
tileSource: r,
|
|
34584
34584
|
mapOptions: i
|
|
34585
34585
|
});
|
|
34586
|
-
return (0,
|
|
34587
|
-
|
|
34588
|
-
}), (0,
|
|
34586
|
+
return (0, P.useEffect)(() => {
|
|
34587
|
+
f.current = a, p.current = o, m.current = c;
|
|
34588
|
+
}), (0, P.useEffect)(() => {
|
|
34589
34589
|
var e, t;
|
|
34590
|
-
if (!
|
|
34591
|
-
let { sceneDef: n, geoConfig: r, staticTransform: i, tileSource: a, mapOptions: o } =
|
|
34592
|
-
|
|
34593
|
-
let
|
|
34594
|
-
|
|
34590
|
+
if (!l.current) return;
|
|
34591
|
+
let { sceneDef: n, geoConfig: r, staticTransform: i, tileSource: a, mapOptions: o } = h.current, c = !1, g = { ...n };
|
|
34592
|
+
g.rootLayer = { ...n.rootLayer };
|
|
34593
|
+
let _ = n.rootLayer.children;
|
|
34594
|
+
g.rootLayer.children = _.filter((e) => {
|
|
34595
34595
|
var t;
|
|
34596
34596
|
return (e == null || (t = e.name) == null ? void 0 : t.toString().toLowerCase()) !== "areamap";
|
|
34597
|
-
}),
|
|
34597
|
+
}), g.background = void 0, g.staticTransform = i, wt();
|
|
34598
34598
|
let v = r.bounds ? {
|
|
34599
34599
|
bounds: r.bounds,
|
|
34600
34600
|
fitBoundsOptions: {
|
|
@@ -34604,8 +34604,8 @@ function Ct({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34604
34604
|
} : {
|
|
34605
34605
|
center: r.center,
|
|
34606
34606
|
zoom: r.zoom
|
|
34607
|
-
}, y = new
|
|
34608
|
-
container:
|
|
34607
|
+
}, y = new re.Map({
|
|
34608
|
+
container: l.current,
|
|
34609
34609
|
style: a.style,
|
|
34610
34610
|
...v,
|
|
34611
34611
|
bearing: r.bearing,
|
|
@@ -34616,41 +34616,41 @@ function Ct({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34616
34616
|
maxBounds: o == null ? void 0 : o.maxBounds,
|
|
34617
34617
|
canvasContextAttributes: { antialias: !0 }
|
|
34618
34618
|
});
|
|
34619
|
-
r.zoomAdjustment && y.jumpTo({ zoom: y.getZoom() + r.zoomAdjustment }),
|
|
34619
|
+
r.zoomAdjustment && y.jumpTo({ zoom: y.getZoom() + r.zoomAdjustment }), u.current = y, y.once("error", (e) => {
|
|
34620
34620
|
var t, n;
|
|
34621
|
-
y.isStyleLoaded() || (t =
|
|
34621
|
+
y.isStyleLoaded() || (t = m.current) == null || t.call(m, (n = e == null ? void 0 : e.error) == null ? e : n);
|
|
34622
34622
|
});
|
|
34623
34623
|
let b = {
|
|
34624
|
-
id:
|
|
34624
|
+
id: ht,
|
|
34625
34625
|
type: "custom",
|
|
34626
34626
|
renderingMode: "3d",
|
|
34627
34627
|
onAdd(e, t) {
|
|
34628
34628
|
var n;
|
|
34629
|
-
if (
|
|
34630
|
-
let r = new
|
|
34629
|
+
if (c) return;
|
|
34630
|
+
let r = new s({
|
|
34631
34631
|
canvas: y.getCanvas(),
|
|
34632
34632
|
gl: t
|
|
34633
34633
|
});
|
|
34634
|
-
if (
|
|
34634
|
+
if (c) {
|
|
34635
34635
|
r.dispose();
|
|
34636
34636
|
return;
|
|
34637
34637
|
}
|
|
34638
|
-
r.init(
|
|
34638
|
+
r.init(g), d.current = r, (n = f.current) == null || n.call(f, r, y, g, () => y.triggerRepaint());
|
|
34639
34639
|
},
|
|
34640
34640
|
render(e, t) {
|
|
34641
|
-
if (!
|
|
34642
|
-
let n =
|
|
34643
|
-
n &&
|
|
34641
|
+
if (!d.current || d.current.isDisposed) return;
|
|
34642
|
+
let n = bt(t == null ? e : t);
|
|
34643
|
+
n && d.current.render(n);
|
|
34644
34644
|
}
|
|
34645
34645
|
}, x = () => {
|
|
34646
34646
|
var e;
|
|
34647
|
-
|
|
34647
|
+
Ct(y), y.getSource(mt) || y.addSource(mt, {
|
|
34648
34648
|
type: "geojson",
|
|
34649
|
-
data:
|
|
34649
|
+
data: vt
|
|
34650
34650
|
}), y.getLayer("expofp-map-dim") || y.addLayer({
|
|
34651
|
-
id:
|
|
34651
|
+
id: pt,
|
|
34652
34652
|
type: "fill",
|
|
34653
|
-
source:
|
|
34653
|
+
source: mt,
|
|
34654
34654
|
paint: {
|
|
34655
34655
|
"fill-color": "#000000",
|
|
34656
34656
|
"fill-opacity": 0,
|
|
@@ -34659,14 +34659,14 @@ function Ct({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34659
34659
|
delay: 0
|
|
34660
34660
|
}
|
|
34661
34661
|
}
|
|
34662
|
-
}), (e =
|
|
34662
|
+
}), (e = p.current) == null || e.call(p, y), y.addLayer(b);
|
|
34663
34663
|
};
|
|
34664
34664
|
return y.on("style.load", x), () => {
|
|
34665
34665
|
var e;
|
|
34666
|
-
|
|
34666
|
+
c = !0, y.off("style.load", x), (e = d.current) == null || e.dispose(), d.current = null, y.remove(), u.current = null;
|
|
34667
34667
|
};
|
|
34668
|
-
}, []), /* @__PURE__ */ (0,
|
|
34669
|
-
ref:
|
|
34668
|
+
}, []), /* @__PURE__ */ (0, ft.jsx)("div", {
|
|
34669
|
+
ref: l,
|
|
34670
34670
|
style: {
|
|
34671
34671
|
position: "absolute",
|
|
34672
34672
|
top: 0,
|
|
@@ -34676,45 +34676,45 @@ function Ct({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34676
34676
|
}
|
|
34677
34677
|
});
|
|
34678
34678
|
}
|
|
34679
|
-
var
|
|
34680
|
-
function
|
|
34679
|
+
var Et = .02, Dt = .15;
|
|
34680
|
+
function Ot(e) {
|
|
34681
34681
|
let t = [
|
|
34682
|
-
[
|
|
34683
|
-
[
|
|
34684
|
-
[
|
|
34685
|
-
[
|
|
34686
|
-
].map(([t, n]) =>
|
|
34682
|
+
[x.min.x, x.min.y],
|
|
34683
|
+
[x.max.x, x.min.y],
|
|
34684
|
+
[x.max.x, x.max.y],
|
|
34685
|
+
[x.min.x, x.max.y]
|
|
34686
|
+
].map(([t, n]) => y(t, n, e));
|
|
34687
34687
|
if (!t.every(([e, t]) => Number.isFinite(e) && Number.isFinite(t))) return;
|
|
34688
|
-
let n = t.map(([e]) => e), r = t.map(([, e]) => e), i = Math.min(...n), a = Math.max(...n), o = Math.min(...r), s = Math.max(...r), c = Math.max((a - i) * 3,
|
|
34688
|
+
let n = t.map(([e]) => e), r = t.map(([, e]) => e), i = Math.min(...n), a = Math.max(...n), o = Math.min(...r), s = Math.max(...r), c = Math.max((a - i) * 3, Et), l = Math.max((s - o) * 3, Et);
|
|
34689
34689
|
return [[i - c, o - l], [a + c, s + l]];
|
|
34690
34690
|
}
|
|
34691
|
-
function
|
|
34691
|
+
function kt(e, t) {
|
|
34692
34692
|
let n = [
|
|
34693
|
-
|
|
34694
|
-
|
|
34695
|
-
|
|
34696
|
-
|
|
34693
|
+
y(e.min.x, e.min.y, t),
|
|
34694
|
+
y(e.max.x, e.min.y, t),
|
|
34695
|
+
y(e.max.x, e.max.y, t),
|
|
34696
|
+
y(e.min.x, e.max.y, t)
|
|
34697
34697
|
], r = n.map(([e]) => e), i = n.map(([, e]) => e);
|
|
34698
34698
|
return [[Math.min(...r), Math.min(...i)], [Math.max(...r), Math.max(...i)]];
|
|
34699
34699
|
}
|
|
34700
|
-
function
|
|
34701
|
-
let t =
|
|
34700
|
+
function At(e = 0) {
|
|
34701
|
+
let t = b.canvasVisibleRectPx, n = b.screenSize;
|
|
34702
34702
|
return !t || !n ? {
|
|
34703
34703
|
top: e,
|
|
34704
34704
|
bottom: e,
|
|
34705
34705
|
left: e,
|
|
34706
34706
|
right: e
|
|
34707
34707
|
} : {
|
|
34708
|
-
top: Math.max(0, t.
|
|
34709
|
-
bottom: Math.max(0, n.height - t.
|
|
34710
|
-
left: Math.max(0, t.
|
|
34711
|
-
right: Math.max(0, n.width - t.
|
|
34708
|
+
top: Math.max(0, t.min.y) + e,
|
|
34709
|
+
bottom: Math.max(0, n.height - t.max.y) + e,
|
|
34710
|
+
left: Math.max(0, t.min.x) + e,
|
|
34711
|
+
right: Math.max(0, n.width - t.max.x) + e
|
|
34712
34712
|
};
|
|
34713
34713
|
}
|
|
34714
|
-
function
|
|
34714
|
+
function jt() {
|
|
34715
34715
|
var e, t;
|
|
34716
|
-
if (!(!(
|
|
34717
|
-
let n =
|
|
34716
|
+
if (!(!(S == null || (e = S.properties) == null) && e.config)) return null;
|
|
34717
|
+
let n = S.properties.config;
|
|
34718
34718
|
return {
|
|
34719
34719
|
center: [(n.p0.lng + n.p2.lng) / 2, (n.p0.lat + n.p2.lat) / 2],
|
|
34720
34720
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
@@ -34722,10 +34722,10 @@ function kt() {
|
|
|
34722
34722
|
gpsConfig: n
|
|
34723
34723
|
};
|
|
34724
34724
|
}
|
|
34725
|
-
function
|
|
34725
|
+
function Mt(e, t, n, r = {}) {
|
|
34726
34726
|
var i, a;
|
|
34727
|
-
if (!e || !t || !n || t.
|
|
34728
|
-
let o =
|
|
34727
|
+
if (!e || !t || !n || t.size.height === Infinity || t.size.width === Infinity || t.size.height <= 0 || t.size.width <= 0) return;
|
|
34728
|
+
let o = kt(t, n.gpsConfig), s = At((i = r.padding) == null ? 50 : i);
|
|
34729
34729
|
e.fitBounds(o, {
|
|
34730
34730
|
padding: s,
|
|
34731
34731
|
duration: (a = r.duration) == null ? 1e3 : a,
|
|
@@ -34734,64 +34734,62 @@ function At(e, t, n, r = {}) {
|
|
|
34734
34734
|
}
|
|
34735
34735
|
//#endregion
|
|
34736
34736
|
//#region src/components/Maplibre/useCameraReactions.ts
|
|
34737
|
-
var
|
|
34738
|
-
function
|
|
34739
|
-
|
|
34737
|
+
var Nt = b;
|
|
34738
|
+
function Pt(e, t) {
|
|
34739
|
+
T(() => Nt.moveToBooths, (n) => {
|
|
34740
34740
|
let r = e.current;
|
|
34741
34741
|
if (!n || !r || !t) return;
|
|
34742
34742
|
let i = n.filter((e) => e.rect);
|
|
34743
|
-
|
|
34744
|
-
|
|
34745
|
-
At(r, x.fromMultiple(a), t), jt.moveToBooths = null;
|
|
34746
|
-
}), C(() => jt.moveToRect, (n) => {
|
|
34743
|
+
i.length !== 0 && (Mt(r, g.fromUnion(...i.map((e) => e.rect)), t), Nt.moveToBooths = null);
|
|
34744
|
+
}), T(() => Nt.moveToRect, (n) => {
|
|
34747
34745
|
let r = e.current;
|
|
34748
|
-
!n || !r || !t || (
|
|
34749
|
-
}),
|
|
34746
|
+
!n || !r || !t || (Mt(r, n, t), Nt.moveToRect = null);
|
|
34747
|
+
}), T(() => Nt.zoomBy, (t) => {
|
|
34750
34748
|
let n = e.current;
|
|
34751
34749
|
!t || !n || (n.flyTo({
|
|
34752
34750
|
zoom: n.getZoom() + (t > 1 ? .5 : -.5),
|
|
34753
34751
|
animate: !0,
|
|
34754
34752
|
duration: 500
|
|
34755
|
-
}),
|
|
34756
|
-
}),
|
|
34757
|
-
let r = e.current, i =
|
|
34753
|
+
}), Nt.zoomBy = null);
|
|
34754
|
+
}), T(() => b.moveToLocation, (n) => {
|
|
34755
|
+
let r = e.current, i = _.routeStore.currentPosition;
|
|
34758
34756
|
if (!n || !r || !i) return;
|
|
34759
34757
|
let { lng: a, lat: o } = i, s = typeof a == "number" && Number.isFinite(a) && typeof o == "number" && Number.isFinite(o), c;
|
|
34760
34758
|
if (s) c = [a, o];
|
|
34761
34759
|
else {
|
|
34762
34760
|
if (!t) return;
|
|
34763
|
-
c =
|
|
34761
|
+
c = y(i.x, i.y, t.gpsConfig);
|
|
34764
34762
|
}
|
|
34765
34763
|
r.flyTo({
|
|
34766
34764
|
center: c,
|
|
34767
34765
|
animate: !0,
|
|
34768
34766
|
duration: 1e3
|
|
34769
34767
|
}), r.once("moveend", () => {
|
|
34770
|
-
|
|
34768
|
+
b.moveToLocation = !1;
|
|
34771
34769
|
});
|
|
34772
|
-
}),
|
|
34770
|
+
}), T(() => b.centerMap, (n) => {
|
|
34773
34771
|
let r = e.current;
|
|
34774
|
-
!n || !r || !t || (
|
|
34772
|
+
!n || !r || !t || (b.list.type === "search" && !b.list.text || Mt(r, _.layerStore.rectangle || x, t, { padding: 0 }), b.centerMap = !1);
|
|
34775
34773
|
});
|
|
34776
34774
|
}
|
|
34777
34775
|
//#endregion
|
|
34778
34776
|
//#region src/components/Maplibre/utils/map-helpers.ts
|
|
34779
|
-
var
|
|
34777
|
+
var Ft = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, It = {
|
|
34780
34778
|
pitch: 30,
|
|
34781
34779
|
maxPitch: 70,
|
|
34782
34780
|
minZoom: 14
|
|
34783
|
-
},
|
|
34781
|
+
}, Lt = {
|
|
34784
34782
|
pitch: 0,
|
|
34785
34783
|
maxPitch: 0,
|
|
34786
34784
|
minZoom: 14
|
|
34787
34785
|
};
|
|
34788
|
-
function
|
|
34789
|
-
e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(
|
|
34786
|
+
function W(e, t) {
|
|
34787
|
+
e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(pt, "fill-opacity", Rt(t)), e.triggerRepaint());
|
|
34790
34788
|
}
|
|
34791
|
-
function
|
|
34789
|
+
function Rt(e) {
|
|
34792
34790
|
return Math.min(Math.max(e, 0), 1);
|
|
34793
34791
|
}
|
|
34794
|
-
function
|
|
34792
|
+
function zt(e, t, n = !1) {
|
|
34795
34793
|
var r, i, a;
|
|
34796
34794
|
if (!e) return;
|
|
34797
34795
|
e.setMinZoom((r = t.minZoom) == null ? null : r), e.setMaxZoom((i = t.maxZoom) == null ? null : i), e.setMaxBounds((a = t.maxBounds) == null ? null : a);
|
|
@@ -34801,72 +34799,72 @@ function W(e, t, n = !1) {
|
|
|
34801
34799
|
duration: 300
|
|
34802
34800
|
}), l && e.once("moveend", () => e.setMaxPitch(s))) : e.jumpTo({ pitch: o }));
|
|
34803
34801
|
}
|
|
34804
|
-
function
|
|
34802
|
+
function Bt() {
|
|
34805
34803
|
var e, t;
|
|
34806
|
-
let n = (e = (t =
|
|
34807
|
-
return n != null && n.style ? { style: n.style } : n != null && n.styleUrl ? { style: n.styleUrl } :
|
|
34804
|
+
let n = (e = (t = _.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
|
|
34805
|
+
return n != null && n.style ? { style: n.style } : n != null && n.styleUrl ? { style: n.styleUrl } : Ft;
|
|
34808
34806
|
}
|
|
34809
34807
|
//#endregion
|
|
34810
34808
|
//#region src/components/Maplibre/useDimming.ts
|
|
34811
|
-
function
|
|
34812
|
-
let n = (0,
|
|
34813
|
-
(0,
|
|
34809
|
+
function Vt(e, t) {
|
|
34810
|
+
let n = (0, P.useRef)(t);
|
|
34811
|
+
(0, P.useEffect)(() => {
|
|
34814
34812
|
n.current = t;
|
|
34815
34813
|
}, [t]);
|
|
34816
|
-
let r = (0,
|
|
34817
|
-
return (0,
|
|
34818
|
-
let t =
|
|
34819
|
-
|
|
34820
|
-
}), a =
|
|
34821
|
-
|
|
34814
|
+
let r = (0, P.useRef)(null), i = (0, P.useRef)(null);
|
|
34815
|
+
return (0, P.useEffect)(() => {
|
|
34816
|
+
let t = E((t) => {
|
|
34817
|
+
W(e.current, t * M);
|
|
34818
|
+
}), a = E((e) => {
|
|
34819
|
+
O(n.current, e * 1);
|
|
34822
34820
|
});
|
|
34823
34821
|
return r.current = t, i.current = a, () => {
|
|
34824
34822
|
t.stop(), a.stop(), r.current = null, i.current = null;
|
|
34825
34823
|
};
|
|
34826
|
-
}, [e]),
|
|
34824
|
+
}, [e]), T(() => b.dimmed, (e) => {
|
|
34827
34825
|
var t, n;
|
|
34828
34826
|
(t = r.current) == null || t.setTarget(e), (n = i.current) == null || n.setTarget(e);
|
|
34829
34827
|
}), {
|
|
34830
34828
|
mapDimAnimatorRef: r,
|
|
34831
34829
|
venueDimAnimatorRef: i,
|
|
34832
|
-
handleMapDimLayerReady: (0,
|
|
34830
|
+
handleMapDimLayerReady: (0, P.useCallback)((e) => {
|
|
34833
34831
|
var t, n;
|
|
34834
|
-
|
|
34832
|
+
W(e, ((t = (n = r.current) == null ? void 0 : n.getValue()) == null ? +!!b.dimmed : t) * M);
|
|
34835
34833
|
}, [])
|
|
34836
34834
|
};
|
|
34837
34835
|
}
|
|
34838
34836
|
//#endregion
|
|
34839
34837
|
//#region src/components/Maplibre/utils/layer-defs.ts
|
|
34840
|
-
function
|
|
34838
|
+
function G(e, t = /* @__PURE__ */ new Map()) {
|
|
34841
34839
|
var n;
|
|
34842
34840
|
if (e.name) {
|
|
34843
34841
|
var r;
|
|
34844
34842
|
let n = (r = t.get(e.name)) == null ? [] : r;
|
|
34845
34843
|
n.push(e), t.set(e.name, n);
|
|
34846
34844
|
}
|
|
34847
|
-
for (let r of (n = e.children) == null ? [] : n) r && "children" in r &&
|
|
34845
|
+
for (let r of (n = e.children) == null ? [] : n) r && "children" in r && G(r, t);
|
|
34848
34846
|
return t;
|
|
34849
34847
|
}
|
|
34850
|
-
function
|
|
34851
|
-
return e != null && e.shape ?
|
|
34848
|
+
function Ht(e) {
|
|
34849
|
+
return e != null && e.shape ? C.booths.find((t) => {
|
|
34852
34850
|
var n;
|
|
34853
34851
|
return (n = t.shapes) == null ? void 0 : n.some((t) => t.shape === e.shape);
|
|
34854
34852
|
}) : null;
|
|
34855
34853
|
}
|
|
34856
34854
|
//#endregion
|
|
34857
34855
|
//#region src/components/Maplibre/useLayerVisibilitySync.ts
|
|
34858
|
-
function
|
|
34859
|
-
let r = (0,
|
|
34860
|
-
|
|
34856
|
+
function Ut(e, t, n) {
|
|
34857
|
+
let r = (0, P.useRef)(null), i = (0, P.useRef)(null);
|
|
34858
|
+
T(() => _.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
|
|
34861
34859
|
var a, o;
|
|
34862
34860
|
let s = e.scene;
|
|
34863
34861
|
if (!s) return;
|
|
34864
34862
|
((a = r.current) == null ? void 0 : a.rootLayer) !== s.rootLayer && (r.current = {
|
|
34865
34863
|
rootLayer: s.rootLayer,
|
|
34866
|
-
defsByName:
|
|
34864
|
+
defsByName: G(s.rootLayer)
|
|
34867
34865
|
});
|
|
34868
34866
|
let c = r.current.defsByName, l = [];
|
|
34869
|
-
for (let e of
|
|
34867
|
+
for (let e of _.layerStore.layers) {
|
|
34870
34868
|
let t = c.get(e.name);
|
|
34871
34869
|
if (t != null && t.length) for (let n of t) {
|
|
34872
34870
|
let t = !e.visible;
|
|
@@ -34874,42 +34872,45 @@ function G(e, t, n) {
|
|
|
34874
34872
|
}
|
|
34875
34873
|
}
|
|
34876
34874
|
l.length && e.update(...l);
|
|
34877
|
-
let u =
|
|
34878
|
-
!u || i.current === u.name
|
|
34875
|
+
let u = _.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
|
|
34876
|
+
if (!u || i.current === u.name) return;
|
|
34877
|
+
i.current = u.name;
|
|
34878
|
+
let d = (o = u.viewbox) == null ? u.rect : o;
|
|
34879
|
+
Mt(t.current, d == null ? null : d, n);
|
|
34879
34880
|
});
|
|
34880
34881
|
}
|
|
34881
34882
|
//#endregion
|
|
34882
34883
|
//#region src/components/Maplibre/useRendererEvents.ts
|
|
34883
|
-
var
|
|
34884
|
-
function
|
|
34885
|
-
(0,
|
|
34884
|
+
var Wt = b;
|
|
34885
|
+
function Gt(e, t) {
|
|
34886
|
+
(0, P.useEffect)(() => {
|
|
34886
34887
|
if (!e) return;
|
|
34887
34888
|
let n = ({ data: e }) => {
|
|
34888
|
-
if (
|
|
34889
|
-
let { point: t, defs: n } =
|
|
34890
|
-
|
|
34889
|
+
if (b.setKioskModeEnabled) return;
|
|
34890
|
+
let { point: t, defs: n } = l(e), r = A(t.x, t.y), i = Ht(n[0]);
|
|
34891
|
+
Wt.hoveredBooth = r || i;
|
|
34891
34892
|
}, r = () => {
|
|
34892
|
-
|
|
34893
|
+
b.setKioskModeEnabled || (Wt.hoveredBooth = null);
|
|
34893
34894
|
}, i = ({ data: e }) => {
|
|
34894
34895
|
var n, r;
|
|
34895
|
-
if (!(
|
|
34896
|
-
(n = (r = window).__resett) == null || n.call(r),
|
|
34897
|
-
let { point: i, defs: a } =
|
|
34898
|
-
if (
|
|
34899
|
-
let e =
|
|
34900
|
-
|
|
34896
|
+
if (!(b != null && b.rootElement)) return;
|
|
34897
|
+
(n = (r = window).__resett) == null || n.call(r), b.overlayPosition === "bottom" && b.overlaySize === "full" && _.showMap();
|
|
34898
|
+
let { point: i, defs: a } = l(e), { x: o, y: s } = i;
|
|
34899
|
+
if (b.onGetCoordsClick) {
|
|
34900
|
+
let e = _.layerStore.layers.find((e) => e.visible && (e.mode === f.TurnedOn || e.mode === f.TurnedOff));
|
|
34901
|
+
b.onGetCoordsClick({
|
|
34901
34902
|
x: o,
|
|
34902
|
-
y:
|
|
34903
|
+
y: s,
|
|
34903
34904
|
z: (e == null ? void 0 : e.name) || null
|
|
34904
34905
|
});
|
|
34905
34906
|
}
|
|
34906
|
-
if (
|
|
34907
|
-
if (
|
|
34908
|
-
let e =
|
|
34909
|
-
|
|
34907
|
+
if (b.setKioskModeEnabled) return;
|
|
34908
|
+
if (b.onMarkerClick) {
|
|
34909
|
+
let e = N(o, s, t.scale);
|
|
34910
|
+
b.onMarkerClick(e);
|
|
34910
34911
|
}
|
|
34911
|
-
let
|
|
34912
|
-
|
|
34912
|
+
let c = A(i.x, i.y), u = Ht(a[0]);
|
|
34913
|
+
_.clickBooth(c || u);
|
|
34913
34914
|
}, a = () => {
|
|
34914
34915
|
var e, t;
|
|
34915
34916
|
return (e = (t = window).__resett) == null ? void 0 : e.call(t);
|
|
@@ -34921,10 +34922,10 @@ function Ut(e, t) {
|
|
|
34921
34922
|
}
|
|
34922
34923
|
//#endregion
|
|
34923
34924
|
//#region src/components/Maplibre/useWayfindingAndMarkers.ts
|
|
34924
|
-
function
|
|
34925
|
-
(0,
|
|
34925
|
+
function Kt(e, t) {
|
|
34926
|
+
(0, P.useEffect)(() => {
|
|
34926
34927
|
if (!e) return;
|
|
34927
|
-
let n =
|
|
34928
|
+
let n = te(t), r = k(t);
|
|
34928
34929
|
return () => {
|
|
34929
34930
|
n == null || n(), r == null || r();
|
|
34930
34931
|
};
|
|
@@ -34932,18 +34933,18 @@ function Wt(e, t) {
|
|
|
34932
34933
|
}
|
|
34933
34934
|
//#endregion
|
|
34934
34935
|
//#region src/components/Maplibre/utils/solver.ts
|
|
34935
|
-
var
|
|
34936
|
-
function
|
|
34936
|
+
var qt = 1e-12, Jt = 3.28084;
|
|
34937
|
+
function Yt(e, t) {
|
|
34937
34938
|
var n, r;
|
|
34938
|
-
let i = (n = e.p1) == null ?
|
|
34939
|
+
let i = (n = e.p1) == null ? Xt(e) : n, a = [
|
|
34939
34940
|
e.p0,
|
|
34940
34941
|
i,
|
|
34941
34942
|
e.p2
|
|
34942
34943
|
], o = [], s = [], c = [];
|
|
34943
34944
|
for (let e of a) {
|
|
34944
|
-
|
|
34945
|
-
let t =
|
|
34946
|
-
|
|
34945
|
+
Zt(e), s.push([e.x, e.y]);
|
|
34946
|
+
let t = re.MercatorCoordinate.fromLngLat([e.lng, e.lat], 0), n = t.meterInMercatorCoordinateUnits();
|
|
34947
|
+
Qt(t.x), Qt(t.y), Qt(n), o.push(n), c.push([t.x, t.y]);
|
|
34947
34948
|
}
|
|
34948
34949
|
let l = [], u = [];
|
|
34949
34950
|
for (let e = 0; e < 3; e++) {
|
|
@@ -34964,7 +34965,7 @@ function Jt(e, t) {
|
|
|
34964
34965
|
1
|
|
34965
34966
|
]), u.push(i);
|
|
34966
34967
|
}
|
|
34967
|
-
let [d, f, p, m, h, g] =
|
|
34968
|
+
let [d, f, p, m, h, g] = $t(l, u), _ = (t == null || (r = t.toLowerCase) == null ? void 0 : r.call(t).trim()) === "ft" ? 1 / Jt : 1, v = [
|
|
34968
34969
|
d,
|
|
34969
34970
|
m,
|
|
34970
34971
|
0,
|
|
@@ -34985,47 +34986,29 @@ function Jt(e, t) {
|
|
|
34985
34986
|
if (!v.every(Number.isFinite)) throw Error("Cannot calculate Maplibre transform: geo anchor points produced a non-finite matrix.");
|
|
34986
34987
|
return v;
|
|
34987
34988
|
}
|
|
34988
|
-
function
|
|
34989
|
+
function Xt(e) {
|
|
34989
34990
|
let t = e.p2.x - e.p0.x, n = e.p2.y - e.p0.y;
|
|
34990
34991
|
if (t === 0 && n === 0) throw Error("Cannot calculate Maplibre transform: p0 and p2 have identical SVG coordinates.");
|
|
34991
|
-
let r = e.p0.x - n, i = e.p0.y + t, a =
|
|
34992
|
+
let r = e.p0.x - n, i = e.p0.y + t, a = v(e.p0, e.p2), o = p(e.p0, e.p2), { lat: s, lng: c } = m(e.p0, a, o + 90);
|
|
34992
34993
|
return {
|
|
34993
34994
|
x: r,
|
|
34994
34995
|
y: i,
|
|
34995
|
-
lat:
|
|
34996
|
-
lng:
|
|
34996
|
+
lat: s,
|
|
34997
|
+
lng: c
|
|
34997
34998
|
};
|
|
34998
34999
|
}
|
|
34999
|
-
function Xt(e) {
|
|
35000
|
-
Zt(e.x), Zt(e.y), Zt(e.lat), Zt(e.lng);
|
|
35001
|
-
}
|
|
35002
35000
|
function Zt(e) {
|
|
35003
|
-
|
|
35001
|
+
Qt(e.x), Qt(e.y), Qt(e.lat), Qt(e.lng);
|
|
35004
35002
|
}
|
|
35005
35003
|
function Qt(e) {
|
|
35006
|
-
|
|
35007
|
-
}
|
|
35008
|
-
function $t(e) {
|
|
35009
|
-
return e * 180 / Math.PI;
|
|
35010
|
-
}
|
|
35011
|
-
function en(e, t, n, r) {
|
|
35012
|
-
let i = Qt(e), a = Qt(n), o = Qt(n - e), s = Qt(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);
|
|
35013
|
-
return qt * (2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)));
|
|
35014
|
-
}
|
|
35015
|
-
function tn(e, t, n, r) {
|
|
35016
|
-
let i = Qt(e), a = Qt(n), o = Qt(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);
|
|
35017
|
-
return ($t(Math.atan2(s, c)) + 360) % 360;
|
|
35018
|
-
}
|
|
35019
|
-
function nn(e, t, n, r) {
|
|
35020
|
-
let i = n / qt, a = Qt(r), o = Qt(e), s = Qt(t), c = Math.asin(Math.sin(o) * Math.cos(i) + Math.cos(o) * Math.sin(i) * Math.cos(a));
|
|
35021
|
-
return [$t(s + Math.atan2(Math.sin(a) * Math.sin(i) * Math.cos(o), Math.cos(i) - Math.sin(o) * Math.sin(c))), $t(c)];
|
|
35004
|
+
if (!Number.isFinite(e)) throw Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.");
|
|
35022
35005
|
}
|
|
35023
|
-
function
|
|
35006
|
+
function $t(e, t) {
|
|
35024
35007
|
let n = e.length, r = e.map((e, n) => [...e, t[n]]);
|
|
35025
35008
|
for (let e = 0; e < n; e++) {
|
|
35026
35009
|
let t = e;
|
|
35027
35010
|
for (let i = e + 1; i < n; i++) Math.abs(r[i][e]) > Math.abs(r[t][e]) && (t = i);
|
|
35028
|
-
if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) <
|
|
35011
|
+
if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < qt) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
|
|
35029
35012
|
for (let t = e + 1; t < n; t++) {
|
|
35030
35013
|
let i = r[t][e] / r[e][e];
|
|
35031
35014
|
for (let a = e; a <= n; a++) r[t][a] -= i * r[e][a];
|
|
@@ -35041,100 +35024,98 @@ function rn(e, t) {
|
|
|
35041
35024
|
}
|
|
35042
35025
|
//#endregion
|
|
35043
35026
|
//#region src/components/Maplibre/MaplibreAdapter.tsx
|
|
35044
|
-
var
|
|
35045
|
-
function
|
|
35027
|
+
var en = "routes-api.expofp.com";
|
|
35028
|
+
function tn() {
|
|
35046
35029
|
i(() => {
|
|
35047
|
-
|
|
35030
|
+
_.layerStore.layers.forEach((e) => {
|
|
35048
35031
|
e.configured = !1, e.children = [], e.loaded = !1;
|
|
35049
|
-
}),
|
|
35032
|
+
}), _.layerStore.layersLoaded = !1;
|
|
35050
35033
|
});
|
|
35051
35034
|
}
|
|
35052
|
-
function
|
|
35035
|
+
function nn(e, t) {
|
|
35053
35036
|
let n = [];
|
|
35054
35037
|
for (let r of e.rollRegistry.invoke(t)) Array.isArray(r) ? n.push(...r) : n.push(r);
|
|
35055
35038
|
n.length && e.update(...n);
|
|
35056
35039
|
}
|
|
35057
|
-
var
|
|
35058
|
-
let [t, n] = (0,
|
|
35059
|
-
center:
|
|
35060
|
-
bearing:
|
|
35061
|
-
zoom:
|
|
35062
|
-
bounds:
|
|
35063
|
-
fitPadding:
|
|
35064
|
-
zoomAdjustment:
|
|
35065
|
-
} : null, [
|
|
35040
|
+
var rn = a(function({ viewMode: e }) {
|
|
35041
|
+
let [t, n] = (0, P.useState)(null), [r, i] = (0, P.useState)(null), a = _.rendererService, s = (0, P.useRef)(null), l = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useMemo)(() => jt(), []), h = (0, P.useMemo)(() => m ? {
|
|
35042
|
+
center: m.center,
|
|
35043
|
+
bearing: m.bearing,
|
|
35044
|
+
zoom: m.zoom,
|
|
35045
|
+
bounds: kt(x, m.gpsConfig),
|
|
35046
|
+
fitPadding: At(0),
|
|
35047
|
+
zoomAdjustment: Dt
|
|
35048
|
+
} : null, [m]), g = (0, P.useMemo)(() => {
|
|
35066
35049
|
var e;
|
|
35067
|
-
return
|
|
35068
|
-
}, [
|
|
35069
|
-
...e === "map2d" ?
|
|
35070
|
-
maxBounds:
|
|
35071
|
-
}), [
|
|
35072
|
-
(0,
|
|
35073
|
-
if (!
|
|
35050
|
+
return m ? Yt(m.gpsConfig, (e = u()) == null ? void 0 : e.getAttribute("units")) : null;
|
|
35051
|
+
}, [m]), v = (0, P.useMemo)(() => ({
|
|
35052
|
+
...e === "map2d" ? Lt : It,
|
|
35053
|
+
maxBounds: m ? Ot(m.gpsConfig) : void 0
|
|
35054
|
+
}), [m, e]), y = (0, P.useRef)(v), S = (0, P.useMemo)(() => Bt(), []), { mapDimAnimatorRef: C, venueDimAnimatorRef: T, handleMapDimLayerReady: E } = Vt(l, a);
|
|
35055
|
+
(0, P.useEffect)(() => {
|
|
35056
|
+
if (!m) return;
|
|
35074
35057
|
let e = !1;
|
|
35075
|
-
|
|
35076
|
-
let t =
|
|
35077
|
-
|
|
35078
|
-
let r = (0, te.default)(g.backgroundColor === "none" ? "#ebebeb" : g.backgroundColor).string();
|
|
35079
|
-
n(l(t, c.fromCoreRect(d), r));
|
|
35058
|
+
tn();
|
|
35059
|
+
let t = D(a).then((t) => {
|
|
35060
|
+
e || n(o(t, x, (0, ne.default)(c.backgroundColor === "none" ? "#ebebeb" : c.backgroundColor).string()));
|
|
35080
35061
|
}).catch((t) => {
|
|
35081
35062
|
e || console.warn("Maplibre scene configuration failed.", t);
|
|
35082
|
-
}), r =
|
|
35063
|
+
}), r = C.current, u = T.current;
|
|
35083
35064
|
return () => {
|
|
35084
35065
|
var n;
|
|
35085
|
-
e = !0,
|
|
35086
|
-
let
|
|
35087
|
-
t.finally(() => a.disposeIfCurrent(
|
|
35066
|
+
e = !0, tn();
|
|
35067
|
+
let o = s.current;
|
|
35068
|
+
t.finally(() => a.disposeIfCurrent(o)), (n = f.current) == null || n.call(f), f.current = null, s.current = null, l.current = null, p.current = null, i(null), r == null || r.stop(), u == null || u.stop(), b.sceneDefReady = !1;
|
|
35088
35069
|
};
|
|
35089
35070
|
}, [
|
|
35090
|
-
|
|
35091
|
-
|
|
35071
|
+
m,
|
|
35072
|
+
C,
|
|
35092
35073
|
a,
|
|
35093
|
-
|
|
35074
|
+
T
|
|
35094
35075
|
]);
|
|
35095
|
-
let
|
|
35096
|
-
var
|
|
35097
|
-
s.current = e,
|
|
35098
|
-
let
|
|
35099
|
-
t.on("rotate",
|
|
35100
|
-
t.off("rotate",
|
|
35101
|
-
},
|
|
35102
|
-
let
|
|
35103
|
-
|
|
35076
|
+
let O = (0, P.useCallback)((e, t, n, r) => {
|
|
35077
|
+
var o, c, u;
|
|
35078
|
+
s.current = e, l.current = t, p.current = r, i(e), a.attach(e, n, r), zt(t, y.current), (o = C.current) == null || o.setTarget(b.dimmed, { immediate: !0 }), (c = T.current) == null || c.setTarget(b.dimmed, { immediate: !0 }), (u = f.current) == null || u.call(f);
|
|
35079
|
+
let m = () => nn(a, d(t.getBearing()));
|
|
35080
|
+
t.on("rotate", m), t.on("rotateend", m), f.current = () => {
|
|
35081
|
+
t.off("rotate", m), t.off("rotateend", m);
|
|
35082
|
+
}, w(a);
|
|
35083
|
+
let h = a.ptScaleRegistry.invoke(a.scale || 1);
|
|
35084
|
+
h.length && a.update(...h), nn(a, d(t.getBearing())), _.layerStore.layersLoaded = !0, _.fp.onFpConfigured && _.fp.onFpConfigured(), b.sceneDefReady = !0, r();
|
|
35104
35085
|
}, [
|
|
35105
35086
|
a,
|
|
35106
|
-
|
|
35107
|
-
|
|
35087
|
+
C,
|
|
35088
|
+
T
|
|
35108
35089
|
]);
|
|
35109
|
-
(0,
|
|
35110
|
-
|
|
35111
|
-
}, [
|
|
35112
|
-
enabled:
|
|
35090
|
+
(0, P.useEffect)(() => {
|
|
35091
|
+
y.current = v, zt(l.current, v, !0);
|
|
35092
|
+
}, [v]), Gt(r, a), Kt(r, a), Ut(a, l, m), Pt(l, m), ee({
|
|
35093
|
+
enabled: _.layerStore.layersLoaded && b.buildRoute,
|
|
35113
35094
|
rendererService: a
|
|
35114
|
-
}),
|
|
35115
|
-
permission:
|
|
35095
|
+
}), j({
|
|
35096
|
+
permission: _.layerStore.layersLoaded,
|
|
35116
35097
|
rendererService: a,
|
|
35117
|
-
dataJsonUrl: `https://${
|
|
35118
|
-
websocketUrl: `wss://${
|
|
35098
|
+
dataJsonUrl: `https://${en}/v1/routes?expo=${c.EXPO}`,
|
|
35099
|
+
websocketUrl: `wss://${en}/locations?expo=${c.EXPO}`
|
|
35119
35100
|
});
|
|
35120
|
-
let
|
|
35121
|
-
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e),
|
|
35101
|
+
let k = (0, P.useCallback)((e) => {
|
|
35102
|
+
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), _.maplibreStore.deactivateMaplibre();
|
|
35122
35103
|
}, []);
|
|
35123
|
-
if (!
|
|
35124
|
-
let
|
|
35125
|
-
return /* @__PURE__ */ (0,
|
|
35104
|
+
if (!m || !h || !g || !t) return null;
|
|
35105
|
+
let A = `${h.center.join(",")}:${h.bearing}:${h.zoom}`;
|
|
35106
|
+
return /* @__PURE__ */ (0, ft.jsx)(Tt, {
|
|
35126
35107
|
sceneDef: t,
|
|
35127
|
-
geoConfig:
|
|
35128
|
-
staticTransform:
|
|
35129
|
-
tileSource:
|
|
35130
|
-
mapOptions:
|
|
35131
|
-
onRendererReady:
|
|
35132
|
-
onMapDimLayerReady:
|
|
35133
|
-
onMapLoadError:
|
|
35134
|
-
},
|
|
35108
|
+
geoConfig: h,
|
|
35109
|
+
staticTransform: g,
|
|
35110
|
+
tileSource: S,
|
|
35111
|
+
mapOptions: v,
|
|
35112
|
+
onRendererReady: O,
|
|
35113
|
+
onMapDimLayerReady: E,
|
|
35114
|
+
onMapLoadError: k
|
|
35115
|
+
}, A);
|
|
35135
35116
|
});
|
|
35136
35117
|
//#endregion
|
|
35137
|
-
export {
|
|
35118
|
+
export { rn as default };
|
|
35138
35119
|
|
|
35139
35120
|
;/* vite-per-chunk-css */
|
|
35140
35121
|
__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}\n/*$vite$:1*/", "MaplibreAdapter.css", false);
|