@expofp/floorplan 3.10.1 → 3.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/browser/{Button-DdPvRBTh.js → Button-Bj5GinNb.js} +6 -6
  2. package/dist/browser/{CookieConsent-C39dYjaQ.js → CookieConsent-vekYv-WL.js} +7 -7
  3. package/dist/browser/{Debug-B5r6LCAX.js → Debug-B8Z6UAk7.js} +7 -7
  4. package/dist/browser/{Demo-Dbrjn3oi.js → Demo-DxKBQPXs.js} +10 -10
  5. package/dist/browser/{Free-DUcGDkLZ.js → Free-xJ581Tn5.js} +10 -10
  6. package/dist/browser/{Gallery-CvO5_8hs.js → Gallery-BCLvsYMq.js} +10 -10
  7. package/dist/browser/{GpsLoader-Cybs-6Z0.js → GpsLoader-D8b4YGWa.js} +19 -19
  8. package/dist/browser/{KioskStore-Df_lwtgJ.js → KioskStore-iac7BFkc.js} +30 -30
  9. package/dist/browser/{MaplibreAdapter-BgOzaHlx.js → MaplibreAdapter-hBzzKWxy.js} +749 -614
  10. package/dist/browser/{ModalContainer-DXVCm1fb.js → ModalContainer-CNFkEgVO.js} +11 -11
  11. package/dist/browser/{PermissionNotice-B0OJFFky.js → PermissionNotice-BjNUzq-I.js} +7 -7
  12. package/dist/browser/{SetKioskMode-BdOX40be.js → SetKioskMode-rZPgTzX2.js} +11 -11
  13. package/dist/browser/ShowKiosk-C0-HDdLS.js +28 -0
  14. package/dist/browser/{TouchHand-RDWCILm_.js → TouchHand-BpAIvJuD.js} +4 -4
  15. package/dist/browser/{ViewerMenuPanel-BlCzm_mm.js → ViewerMenuPanel-B8HWceZY.js} +10 -10
  16. package/dist/browser/{add-debug-secret-listener-lYBneebf.js → add-debug-secret-listener-DrG0zrQz.js} +1 -1
  17. package/dist/browser/{boolean-editor-C_bdHxC2.js → boolean-editor-CksHtQqy.js} +45 -45
  18. package/dist/browser/{bootIntercom-Bf4CaruD.js → bootIntercom-DIY2vGKD.js} +2 -2
  19. package/dist/browser/{booth-by-xy-WnHwiopn.js → booth-by-xy-CB4TcAKe.js} +276 -276
  20. package/dist/browser/{browser-BGtGwkTn.js → browser-BJI7T84p.js} +2 -2
  21. package/dist/browser/bundle.json +61 -61
  22. package/dist/browser/{classnames-DRy7JPyJ.js → classnames-DY5QZHM2.js} +2 -2
  23. package/dist/browser/{client-BE52OM0U.js → client-BKj8O-3N.js} +10 -10
  24. package/dist/browser/{components-BfKSs6sY.js → components-C9T4gWSC.js} +1675 -1675
  25. package/dist/browser/{debug-overlay-mKmIzOYk.js → debug-overlay-oxl07sGQ.js} +355 -355
  26. package/dist/browser/{debug-ui-DLxMK2XU.js → debug-ui-vcgITEra.js} +6 -6
  27. package/dist/browser/{dist-DSRSA5oz.js → dist-B6a_6LWa.js} +64 -63
  28. package/dist/browser/{dist-QsCYWHCu.js → dist-BD71uIJa.js} +5 -5
  29. package/dist/browser/{dist-eojWwYB5.js → dist-DQ-MzacE.js} +3 -3
  30. package/dist/browser/{efp-debug-init-C5HgsgC2.js → efp-debug-init-DeppnUIb.js} +2 -2
  31. package/dist/browser/{enum-editor-BqpFqXiM.js → enum-editor-CeBF-egH.js} +478 -478
  32. package/dist/browser/{es5-7bslpbjj.js → es5-DyEOE9h8.js} +2 -2
  33. package/dist/browser/{event-not-found-Bc1SpnKw.js → event-not-found--rNrnsfb.js} +1 -1
  34. package/dist/browser/{exports-CYJRF2aW.js → exports-CQRMT27z.js} +449 -443
  35. package/dist/browser/{favicon-CRiidRYo.js → favicon-Y_DfJIgc.js} +1 -1
  36. package/dist/browser/{fetch-retry.umd-Btwt1fg_.js → fetch-retry.umd-mDEk7YNi.js} +2 -2
  37. package/dist/browser/{flex-ITkzmA3C.js → flex-gMXInosq.js} +7 -7
  38. package/dist/browser/{floorplan.loader-DJVlfwah.js → floorplan.loader-CKHHfoqW.js} +1284 -1282
  39. package/dist/browser/{floorplan.ready-7KwBZy9I.js → floorplan.ready-Dk5rTB4-.js} +282 -282
  40. package/dist/browser/{fuse-CcYz7YAl.js → fuse-C0XgkQam.js} +4 -4
  41. package/dist/browser/{i18n-CeVxHTr1.js → i18n-DDp2WKLS.js} +19 -20
  42. package/dist/browser/index.js +12 -12
  43. package/dist/browser/{index.module-CV2WVv52.js → index.module-DJ1o-lSs.js} +4 -4
  44. package/dist/browser/{is-webview-BOqof5Uq.js → is-webview-DSeLj16c.js} +1 -1
  45. package/dist/browser/{jsx-runtime-BiSrB4Oo.js → jsx-runtime-4SB5tKoZ.js} +2 -2
  46. package/dist/browser/{lib-Dg9vXDVM.js → lib-CNsibyKE.js} +4 -4
  47. package/dist/browser/{loadImage-VYhbBgH6.js → loadImage-m5qxmKm8.js} +4 -4
  48. package/dist/browser/{logDeviceInfo-B8Mi-9H5.js → logDeviceInfo-DJbQFFfl.js} +9 -9
  49. package/dist/browser/{main-D6ItQIYj.js → main-Ci70zd7U.js} +1 -1
  50. package/dist/browser/{mobx-Deoo_wpx.js → mobx-85FEI3nE.js} +4 -4
  51. package/dist/browser/{particles.min-BNwqgit-.js → particles.min-Cjclve40.js} +2 -2
  52. package/dist/browser/{prop-types-CuEYshV7.js → prop-types-O5uO9swn.js} +2 -2
  53. package/dist/browser/{react-BMPhuMz9.js → react-938H1sny.js} +2 -2
  54. package/dist/browser/{react-dom-DSdkXj0b.js → react-dom-BB5-5CwA.js} +3 -3
  55. package/dist/browser/{reset-all-settings-C2yTiJ1V.js → reset-all-settings-C3UGYA7h.js} +7 -7
  56. package/dist/browser/{rolldown-runtime-I1EwXf_t.js → rolldown-runtime-D_bOcK0P.js} +1 -1
  57. package/dist/browser/{settings-Dr8bs0FB.js → settings-CuvIoKLw.js} +2 -2
  58. package/dist/browser/{settings-item-DjfyQTQB.js → settings-item-jhTAtSrk.js} +15 -15
  59. package/dist/browser/{store-CVdrQCza.js → store-g-LcmXc-.js} +5123 -5042
  60. package/dist/browser/{string-editor-3sN4j-ci.js → string-editor-CjVQpF6U.js} +22 -22
  61. package/dist/browser/{theme-BSTLt6eV.js → theme-DxKuEQUA.js} +927 -930
  62. package/dist/browser/{ui-CiFfwrN8.js → ui-BMAImlSF.js} +8 -8
  63. package/dist/browser/{useRenderTarget-DF7LdnYr.js → useRenderTarget-DL0u3FKy.js} +4 -4
  64. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  65. package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -1
  66. package/dist/esm/components/Maplibre/styles/mapbox-streets-bright.d.ts +3 -0
  67. package/dist/esm/components/Maplibre/styles/mapbox-streets-bright.js +16 -0
  68. package/dist/esm/components/Maplibre/styles/mapbox-streets.d.ts +3 -0
  69. package/dist/esm/components/Maplibre/styles/mapbox-streets.js +16 -0
  70. package/dist/esm/components/Maplibre/useCameraReactions.d.ts +4 -3
  71. package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
  72. package/dist/esm/components/Maplibre/utils/geo-config.d.ts +5 -8
  73. package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
  74. package/dist/esm/components/Maplibre/utils/map-helpers.js +1 -1
  75. package/dist/esm/components/Maplibre/utils/solver.d.ts +6 -7
  76. package/dist/esm/components/Maplibre/utils/solver.js +1 -1
  77. package/dist/esm/data/svg.d.ts +2 -1
  78. package/dist/esm/data/svg.js +1 -1
  79. package/dist/esm/renderer/RendererService.d.ts +2 -1
  80. package/dist/esm/renderer/RendererService.js +1 -1
  81. package/dist/esm/store/LayerStore.d.ts +1 -0
  82. package/dist/esm/store/LayerStore.js +1 -1
  83. package/dist/esm/store/UIState.js +1 -1
  84. package/dist/esm/utils/gps.js +1 -1
  85. package/dist/esm/utils/planBearing.d.ts +14 -0
  86. package/dist/esm/utils/planBearing.js +1 -0
  87. package/dist/esm/utils/scene-bounds.d.ts +57 -0
  88. package/dist/esm/utils/scene-bounds.js +1 -0
  89. package/package.json +8 -8
  90. package/dist/browser/ShowKiosk-cvnSTpd2.js +0 -28
@@ -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.10.1" };
5
+ e.SENTRY_RELEASE = { id: "3.10.2" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "45bed474-f5f9-45e9-bfec-b9661dc1027e", e._sentryDebugIdIdentifier = "sentry-dbid-45bed474-f5f9-45e9-bfec-b9661dc1027e");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "849a9877-2c2e-49a2-93ce-d78dfbc47cf9", e._sentryDebugIdIdentifier = "sentry-dbid-849a9877-2c2e-49a2-93ce-d78dfbc47cf9");
8
8
  } catch {}
9
9
  })();
10
- import { r as e, t } from "./rolldown-runtime-I1EwXf_t.js";
11
- import { t as n } from "./react-BMPhuMz9.js";
12
- import { t as r } from "./jsx-runtime-BiSrB4Oo.js";
13
- import { y as i } from "./i18n-CeVxHTr1.js";
14
- import { t as a } from "./index.module-CV2WVv52.js";
15
- import { Ct as o, G as s, Gt as c, Jt as l, Ot as u, Ut as d, V as f, Vt as p, Wt as m, Xt as h, Yt as g, ct as _, in as v, it as y, j as b, nn as x, o as S, qt as C, s as w, t as T, vt as E } from "./store-CVdrQCza.js";
16
- import { r as D } from "./mobx-Deoo_wpx.js";
17
- import { a as O, c as k, i as A, l as j, n as M, o as ee, r as te, s as N, t as ne } from "./booth-by-xy-WnHwiopn.js";
10
+ import { r as e, t } from "./rolldown-runtime-D_bOcK0P.js";
11
+ import { t as n } from "./react-938H1sny.js";
12
+ import { t as r } from "./jsx-runtime-4SB5tKoZ.js";
13
+ import { y as i } from "./i18n-DDp2WKLS.js";
14
+ import { t as a } from "./index.module-DJ1o-lSs.js";
15
+ import { $t as o, Dt as s, Gt as c, Jt as l, K as u, Mt as d, P as f, St as p, W as m, Xt as h, Y as g, Yt as _, an as v, c as y, ct as b, ft as x, l as S, o as C, qt as w, s as T, sn as E, t as D, u as O } from "./store-g-LcmXc-.js";
16
+ import { r as k } from "./mobx-85FEI3nE.js";
17
+ import { a as A, c as j, i as M, l as ee, n as te, o as ne, r as re, s as ie, t as ae } from "./booth-by-xy-CB4TcAKe.js";
18
18
  //#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
19
- var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__PURE__ */ t(((e, t) => {
19
+ var N = /* @__PURE__ */ e(n(), 1), oe = /* @__PURE__ */ e(h(), 1), se = (/* @__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() {
@@ -325,35 +325,35 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
325
325
  let i = new o(e, t, n, r);
326
326
  return (e) => i.solve(e);
327
327
  }
328
- let N = te(.25, .1, .25, 1);
329
- function ne(e, t, n) {
328
+ let ne = te(.25, .1, .25, 1);
329
+ function re(e, t, n) {
330
330
  return Math.min(n, Math.max(t, e));
331
331
  }
332
- function P(e, t, n) {
332
+ function ie(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
  }
336
- function re(e, ...t) {
336
+ function ae(e, ...t) {
337
337
  for (let n of t) for (let t in n) e[t] = n[t];
338
338
  return e;
339
339
  }
340
- let ie = 1;
341
- function ae(e, t, n) {
340
+ let N = 1;
341
+ function oe(e, t, n) {
342
342
  let r = {};
343
343
  for (let n in e) r[n] = t.call(this, e[n], n, e);
344
344
  return r;
345
345
  }
346
- function oe(e, t, n) {
346
+ function se(e, t, n) {
347
347
  let r = {};
348
348
  for (let n in e) t.call(this, e[n], n, e) && (r[n] = e[n]);
349
349
  return r;
350
350
  }
351
- function se(e) {
352
- return Array.isArray(e) ? e.map(se) : typeof e == "object" && e ? ae(e, se) : e;
351
+ function ce(e) {
352
+ return Array.isArray(e) ? e.map(ce) : typeof e == "object" && e ? oe(e, ce) : e;
353
353
  }
354
- let ce = {};
354
+ let P = {};
355
355
  function le(e) {
356
- ce[e] || (typeof console < "u" && console.warn(e), ce[e] = !0);
356
+ P[e] || (typeof console < "u" && console.warn(e), P[e] = !0);
357
357
  }
358
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);
@@ -466,7 +466,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
466
466
  let t = Oe(e.url);
467
467
  if (t) {
468
468
  let r = yield t(e, n);
469
- return r.data || e.type !== "arrayBuffer" ? r : re(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
469
+ return r.data || e.type !== "arrayBuffer" ? r : ae(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
470
470
  }
471
471
  if (de(self) && (r = self.worker) != null && r.actor) return self.worker.actor.sendAsync({
472
472
  type: "GR",
@@ -568,12 +568,12 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
568
568
  }
569
569
  class Ie {
570
570
  constructor(e, t = {}) {
571
- re(this, t), this.type = e;
571
+ ae(this, t), this.type = e;
572
572
  }
573
573
  }
574
574
  class Le extends Ie {
575
575
  constructor(e, t = {}) {
576
- super("error", re({ error: e }, t));
576
+ super("error", ae({ error: e }, t));
577
577
  }
578
578
  }
579
579
  class Re {
@@ -599,7 +599,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
599
599
  let a = (r = this._oneTimeListeners) != null && r[i] ? this._oneTimeListeners[i].slice() : [];
600
600
  for (let t of a) Fe(i, t, this._oneTimeListeners), t.call(this, e);
601
601
  let o = this._eventedParent;
602
- o && (re(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
602
+ o && (ae(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
603
603
  } else e instanceof Le && console.error(e.error);
604
604
  return this;
605
605
  }
@@ -4499,7 +4499,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
4499
4499
  return this.message;
4500
4500
  }
4501
4501
  }
4502
- let Kt = new Set([
4502
+ let Kt = /* @__PURE__ */ new Set([
4503
4503
  "center",
4504
4504
  "left",
4505
4505
  "right",
@@ -8257,7 +8257,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
8257
8257
  this.property = e, this.value = new za(e, void 0, t);
8258
8258
  }
8259
8259
  transitioned(e, t) {
8260
- return new Ha(this.property, this.value, t, re({}, e.transition, this.transition), e.now);
8260
+ return new Ha(this.property, this.value, t, ae({}, e.transition, this.transition), e.now);
8261
8261
  }
8262
8262
  untransitioned() {
8263
8263
  return new Ha(this.property, this.value, null, {}, 0);
@@ -8271,16 +8271,16 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
8271
8271
  return e in this._properties.defaultTransitionablePropertyValues;
8272
8272
  }
8273
8273
  getValue(e) {
8274
- return se(this._values[e].value.value);
8274
+ return ce(this._values[e].value.value);
8275
8275
  }
8276
8276
  setValue(e, t) {
8277
- Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].value = new za(this._values[e].property, t === null ? void 0 : se(t), this._globalState);
8277
+ Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].value = new za(this._values[e].property, t === null ? void 0 : ce(t), this._globalState);
8278
8278
  }
8279
8279
  getTransition(e) {
8280
- return se(this._values[e].transition);
8280
+ return ce(this._values[e].transition);
8281
8281
  }
8282
8282
  setTransition(e, t) {
8283
- Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].transition = se(t) || void 0;
8283
+ Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].transition = ce(t) || void 0;
8284
8284
  }
8285
8285
  serialize() {
8286
8286
  let e = {};
@@ -8345,10 +8345,10 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
8345
8345
  return e in this._properties.defaultPropertyValues;
8346
8346
  }
8347
8347
  getValue(e) {
8348
- return se(this._values[e].value);
8348
+ return ce(this._values[e].value);
8349
8349
  }
8350
8350
  setValue(e, t) {
8351
- this._values[e] = new za(this._values[e].property, t === null ? void 0 : se(t), this._globalState);
8351
+ this._values[e] = new za(this._values[e].property, t === null ? void 0 : ce(t), this._globalState);
8352
8352
  }
8353
8353
  serialize() {
8354
8354
  let e = {};
@@ -8637,7 +8637,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
8637
8637
  layout: (e = this._unevaluatedLayout) == null ? void 0 : e.serialize(),
8638
8638
  paint: (t = this._transitionablePaint) == null ? void 0 : t.serialize()
8639
8639
  };
8640
- return this.visibility && (n.layout || (n.layout = {}), n.layout.visibility = this.visibility), oe(n, ((e, t) => !(e === void 0 || t === "layout" && !Object.keys(e).length || t === "paint" && !Object.keys(e).length)));
8640
+ return this.visibility && (n.layout || (n.layout = {}), n.layout.visibility = this.visibility), se(n, ((e, t) => !(e === void 0 || t === "layout" && !Object.keys(e).length || t === "paint" && !Object.keys(e).length)));
8641
8641
  }
8642
8642
  _validate(e, t, n, r, i = {}) {
8643
8643
  return !1 !== (i == null ? void 0 : i.validate) && pa(this, e.call(ca, {
@@ -9412,7 +9412,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
9412
9412
  }
9413
9413
  }
9414
9414
  function cs(e, t) {
9415
- return 256 * (e = ne(Math.floor(e), 0, 255)) + ne(Math.floor(t), 0, 255);
9415
+ return 256 * (e = re(Math.floor(e), 0, 255)) + re(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([
@@ -9561,7 +9561,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
9561
9561
  e.r === this.current.r && e.g === this.current.g && e.b === this.current.b && e.a === this.current.a || (this.current = e, this.gl.uniform4f(this.location, e.r, e.g, e.b, e.a));
9562
9562
  }
9563
9563
  }
9564
- let Es = new Float32Array(16);
9564
+ let Es = /* @__PURE__ */ new Float32Array(16);
9565
9565
  function Ds(e) {
9566
9566
  return [cs(255 * e.r, 255 * e.g), cs(255 * e.b, 255 * e.a)];
9567
9567
  }
@@ -9672,7 +9672,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 = ne(this.expression.interpolationFactor(n, this.zoom, this.zoom + 1), 0, 1);
9675
+ let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r = re(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 P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 = ne(e, Bs, zs), n.y = ne(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");
9969
+ n.x = re(e, Bs, zs), n.y = re(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
  }
@@ -12843,7 +12843,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
12843
12843
  }), super.possiblyEvaluate(e, t);
12844
12844
  }
12845
12845
  evaluate(e, t, n, r) {
12846
- return t = re({}, t, { zoom: Math.floor(t.zoom) }), super.evaluate(e, t, n, r);
12846
+ return t = ae({}, t, { zoom: Math.floor(t.zoom) }), super.evaluate(e, t, n, r);
12847
12847
  }
12848
12848
  }
12849
12849
  let dd;
@@ -13487,7 +13487,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
13487
13487
  }
13488
13488
  let jd = 4294967296, Md = 1 / jd, Nd = typeof TextDecoder > "u" ? null : new TextDecoder("utf-8");
13489
13489
  class Pd {
13490
- constructor(e = new Uint8Array(16)) {
13490
+ constructor(e = /* @__PURE__ */ new Uint8Array(16)) {
13491
13491
  this.buf = ArrayBuffer.isView(e) ? e : new Uint8Array(e), this.dataView = new DataView(this.buf.buffer), this.pos = 0, this.type = 0, this.length = this.buf.length;
13492
13492
  }
13493
13493
  readFields(e, t, n = this.length) {
@@ -14778,7 +14778,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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(P(this.lng, -180, 180), this.lat);
14781
+ return new Nf(ie(this.lng, -180, 180), this.lat);
14782
14782
  }
14783
14783
  toArray() {
14784
14784
  return [this.lng, this.lat];
@@ -15212,7 +15212,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
15212
15212
  })($ || ($ = {})), function(e) {
15213
15213
  e.NONE = "NONE", e.FAST_PFOR = "FAST_PFOR", e.VARINT = "VARINT", e.ALP = "ALP";
15214
15214
  }(op || (op = {}));
15215
- let sp = new Uint32Array(33);
15215
+ let sp = /* @__PURE__ */ new Uint32Array(33);
15216
15216
  sp[0] = 0;
15217
15217
  for (let e = 1; e <= 32; e++) sp[e] = e === 32 ? 4294967295 : 4294967295 >>> 32 - e;
15218
15218
  let cp = sp;
@@ -15231,10 +15231,10 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
15231
15231
  let e = new Uint8Array(fp);
15232
15232
  return {
15233
15233
  dataToBePacked: Array(33),
15234
- dataPointers: new Int32Array(33),
15234
+ dataPointers: /* @__PURE__ */ new Int32Array(33),
15235
15235
  byteContainer: e,
15236
15236
  byteContainerI32: new Int32Array(e.buffer, e.byteOffset, e.byteLength >>> 2),
15237
- exceptionSizes: new Int32Array(33)
15237
+ exceptionSizes: /* @__PURE__ */ new Int32Array(33)
15238
15238
  };
15239
15239
  }
15240
15240
  function mp(e, t, n, r, i) {
@@ -17197,7 +17197,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
17197
17197
  if (!n) continue;
17198
17198
  let i = {};
17199
17199
  m && l && (i = l.getState(n.sourceLayer || Um, m));
17200
- let d = re({}, c[t]);
17200
+ let d = ae({}, c[t]);
17201
17201
  d.paint = Qm(d.paint, n.paint, p, i, o), d.layout = Qm(d.layout, n.layout, p, i, o);
17202
17202
  let f = !u || u(p, n, i);
17203
17203
  if (!f) continue;
@@ -17229,7 +17229,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
17229
17229
  }
17230
17230
  }
17231
17231
  function Qm(e, t, n, r, i) {
17232
- return ae(e, ((e, a) => {
17232
+ return oe(e, ((e, a) => {
17233
17233
  let o = t instanceof Ka ? t.get(a) : null;
17234
17234
  return o != null && o.evaluate ? o.evaluate(n, r, i) : o;
17235
17235
  }));
@@ -17371,9 +17371,9 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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, _), te = new n(l, _), N = new n(u / s, f / s), ne = new n(g / s, A / s), P = t * Math.PI / 180;
17375
- if (P) {
17376
- let e = Math.sin(P), t = Math.cos(P), n = [
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, _), ne = new n(u / s, f / s), re = new n(g / s, A / s), ie = t * Math.PI / 180;
17375
+ if (ie) {
17376
+ let e = Math.sin(ie), t = Math.cos(ie), n = [
17377
17377
  t,
17378
17378
  -e,
17379
17379
  e,
@@ -17381,23 +17381,23 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
17381
17381
  ];
17382
17382
  j._matMult(n), M._matMult(n), te._matMult(n), ee._matMult(n);
17383
17383
  }
17384
- let re = e.stretch + e.fixed, ie = i.stretch + i.fixed;
17384
+ let ae = e.stretch + e.fixed, N = i.stretch + i.fixed;
17385
17385
  return {
17386
17386
  tl: j,
17387
17387
  tr: M,
17388
17388
  bl: te,
17389
17389
  br: ee,
17390
17390
  tex: {
17391
- x: o.paddedRect.x + 1 + re,
17392
- y: o.paddedRect.y + 1 + ie,
17393
- w: a.stretch + a.fixed - re,
17394
- h: c.stretch + c.fixed - ie
17391
+ x: o.paddedRect.x + 1 + ae,
17392
+ y: o.paddedRect.y + 1 + N,
17393
+ w: a.stretch + a.fixed - ae,
17394
+ h: c.stretch + c.fixed - N
17395
17395
  },
17396
17396
  writingMode: void 0,
17397
17397
  glyphOffset: [0, 0],
17398
17398
  sectionIndex: 0,
17399
- pixelOffsetTL: N,
17400
- pixelOffsetBR: ne,
17399
+ pixelOffsetTL: ne,
17400
+ pixelOffsetBR: re,
17401
17401
  minFontScaleX: C / s / O,
17402
17402
  minFontScaleY: T / s / k,
17403
17403
  isSDF: r
@@ -17658,7 +17658,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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, te = 0, N = -1, ne = -1, P = {}, re = _s("");
17661
+ let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, ee = 0, te = 0, ne = -1, re = -1, ie = {}, ae = _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,17 +17667,17 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 && 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), ne = t.icon.placedSymbolArray.length - 1);
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), ne = 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), re = t.icon.placedSymbolArray.length - 1);
17671
17671
  }
17672
- let ie = Object.keys(i.horizontal);
17673
- for (let r of ie) {
17672
+ let N = Object.keys(i.horizontal);
17673
+ for (let r of N) {
17674
17674
  let a = i.horizontal[r];
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)));
17675
+ D || (ae = _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], P, N, S, w), s) break;
17677
+ if (ee += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? N : [r], ie, ne, S, w), s) break;
17678
17678
  }
17679
- i.vertical && (te += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], P, ne, 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;
17679
+ i.vertical && (te += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], ie, re, S, w));
17680
+ let oe = D ? D.boxStartIndex : t.collisionBoxArray.length, se = D ? D.boxEndIndex : t.collisionBoxArray.length, ce = k ? k.boxStartIndex : t.collisionBoxArray.length, P = 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
17681
  me = he(D, me), me = he(k, me), me = he(O, me), me = he(A, me);
17682
17682
  let ge = +(me > -1);
17683
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);
@@ -17689,7 +17689,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
17689
17689
  }
17690
17690
  return [r, t.length];
17691
17691
  }(t.textAnchorOffsets, _e);
17692
- t.symbolInstances.emplaceBack(n.x, n.y, P.right >= 0 ? P.right : -1, P.center >= 0 ? P.center : -1, P.left >= 0 ? P.left : -1, P.vertical || -1, N, ne, re, ae, oe, se, ce, ue, de, fe, pe, u, ee, te, j, M, ge, 0, p, me, ve, ye);
17692
+ t.symbolInstances.emplaceBack(n.x, n.y, ie.right >= 0 ? ie.right : -1, ie.center >= 0 ? ie.center : -1, ie.left >= 0 ? ie.left : -1, ie.vertical || -1, ne, re, ae, oe, se, ce, P, 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,
@@ -17902,7 +17902,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 = P, e.Y = Lf, e.Z = If, e._ = t, e.a = we, e.a$ = function(e) {
17905
+ }, e.W = Nf, e.X = ie, 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
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) {
@@ -17946,7 +17946,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
17946
17946
  }
17947
17947
  }));
17948
17948
  }, e.ac = R, e.ad = function() {
17949
- return ie++;
17949
+ return N++;
17950
17950
  }, e.ae = Po, e.af = bf, e.ag = Um, e.ah = _i, e.ai = Hs, e.aj = Xf, e.ak = function(e) {
17951
17951
  let t = {};
17952
17952
  if (e.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g, ((e, n, r, i) => {
@@ -17957,7 +17957,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
17957
17957
  isNaN(e) ? delete t["max-age"] : t["max-age"] = e;
17958
17958
  }
17959
17959
  return t;
17960
- }, e.al = ne, e.am = 85.051129, e.an = ye, e.ao = function(e) {
17960
+ }, e.al = re, 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 P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 ? ne(bn.interpolationFactor(i, t, a, o), 0, 1) : 0;
18045
+ let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ? re(bn.interpolationFactor(i, t, a, o), 0, 1) : 0;
18046
18046
  e.kind === "camera" ? r = Sn.number(e.minSize, e.maxSize, s) : n = s;
18047
18047
  }
18048
18048
  return {
@@ -18111,7 +18111,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
18111
18111
  ]), m = y([], d, -e[3]);
18112
18112
  return v(m, m, y([], f, -t[3])), v(m, m, y([], p, -n[3])), y(m, m, 1 / r), m;
18113
18113
  }, e.bD = Mf, e.bE = function() {
18114
- return new Float64Array(4);
18114
+ return /* @__PURE__ */ new Float64Array(4);
18115
18115
  }, e.bF = function(e, t, n, r) {
18116
18116
  var i = [], a = [];
18117
18117
  return i[0] = t[0] - n[0], i[1] = t[1] - n[1], i[2] = t[2] - n[2], a[0] = i[0] * Math.cos(r) - i[1] * Math.sin(r), a[1] = i[0] * Math.sin(r) + i[1] * Math.cos(r), a[2] = i[2], e[0] = a[0] + n[0], e[1] = a[1] + n[1], e[2] = a[2] + n[2], e;
@@ -18179,7 +18179,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
18179
18179
  case "raster": return new no(e, t);
18180
18180
  case "symbol": return new Tf(e, t);
18181
18181
  }
18182
- }, e.bU = (e) => e.type === "raster", e.bV = se, e.bW = function(e, t) {
18182
+ }, e.bU = (e) => e.type === "raster", e.bV = ce, e.bW = function(e, t) {
18183
18183
  if (!e) return [{
18184
18184
  command: "setStyle",
18185
18185
  args: [t]
@@ -18307,7 +18307,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
18307
18307
  }, e.bX = function(e) {
18308
18308
  let t = [], n = e.id;
18309
18309
  return n === void 0 && t.push({ message: `layers.${n}: missing required property "id"` }), e.render === void 0 && t.push({ message: `layers.${n}: missing required method "render"` }), e.renderingMode && e.renderingMode !== "2d" && e.renderingMode !== "3d" && t.push({ message: `layers.${n}: property "renderingMode" must be either "2d" or "3d"` }), t;
18310
- }, e.bY = ae, e.bZ = oe, e.b_ = class extends Ss {
18310
+ }, e.bY = oe, e.bZ = se, e.b_ = class extends Ss {
18311
18311
  constructor(e, t) {
18312
18312
  super(e, t), this.current = 0;
18313
18313
  }
@@ -18334,24 +18334,24 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
18334
18334
  var n = t[0], r = t[1], i = t[2], a = t[3], o = t[4], s = t[5], c = t[6], l = t[7], u = t[8], d = t[9], f = t[10], p = t[11], m = t[12], h = t[13], g = t[14], _ = t[15], v = n * s - r * o, y = n * c - i * o, b = n * l - a * o, x = r * c - i * s, S = r * l - a * s, C = i * l - a * c, w = u * h - d * m, T = u * g - f * m, E = u * _ - p * m, D = d * g - f * h, O = d * _ - p * h, k = f * _ - p * g, A = v * k - y * O + b * D + x * E - S * T + C * w;
18335
18335
  return A ? (e[0] = (s * k - c * O + l * D) * (A = 1 / A), e[1] = (i * O - r * k - a * D) * A, e[2] = (h * C - g * S + _ * x) * A, e[3] = (f * S - d * C - p * x) * A, e[4] = (c * E - o * k - l * T) * A, e[5] = (n * k - i * E + a * T) * A, e[6] = (g * b - m * C - _ * y) * A, e[7] = (u * C - f * b + p * y) * A, e[8] = (o * O - s * E + l * w) * A, e[9] = (r * E - n * O - a * w) * A, e[10] = (m * S - h * b + _ * v) * A, e[11] = (d * b - u * S - p * v) * A, e[12] = (s * T - o * D - c * w) * A, e[13] = (n * D - r * T + i * w) * A, e[14] = (h * y - m * x - g * v) * A, e[15] = (u * x - d * y + f * v) * A, e) : null;
18336
18336
  }, e.bh = function() {
18337
- let e = new Float32Array(16);
18337
+ let e = /* @__PURE__ */ new Float32Array(16);
18338
18338
  return m(e), e;
18339
18339
  }, e.bi = function() {
18340
- let e = new Float64Array(16);
18340
+ let e = /* @__PURE__ */ new Float64Array(16);
18341
18341
  return m(e), e;
18342
18342
  }, e.bj = function() {
18343
- return new Float64Array(16);
18343
+ return /* @__PURE__ */ new Float64Array(16);
18344
18344
  }, e.bk = function(e, t, n) {
18345
- let r = new Float64Array(4);
18345
+ let r = /* @__PURE__ */ new Float64Array(4);
18346
18346
  return T(r, e, t - 90, n), r;
18347
18347
  }, e.bl = function(e, t, n, r) {
18348
18348
  var i, a, o, s, c, l = t[0], u = t[1], f = t[2], p = t[3], m = n[0], h = n[1], g = n[2], _ = n[3];
18349
18349
  return (a = l * m + u * h + f * g + p * _) < 0 && (a = -a, m = -m, h = -h, g = -g, _ = -_), 1 - a > d ? (i = Math.acos(a), o = Math.sin(i), s = Math.sin((1 - r) * i) / o, c = Math.sin(r * i) / o) : (s = 1 - r, c = r), e[0] = s * l + c * m, e[1] = s * u + c * h, e[2] = s * f + c * g, e[3] = s * p + c * _, e;
18350
18350
  }, e.bm = function(e) {
18351
- let t = new Float64Array(9);
18351
+ let t = /* @__PURE__ */ 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 = be(-Math.asin(ne(t[2], -1, 1))), x, S;
18354
+ let b = be(-Math.asin(re(t[2], -1, 1))), x, S;
18355
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,
@@ -18360,11 +18360,11 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 = U, e.bp = Cs, e.bq = hl, e.br = gl, e.bs = pl, e.bt = M, e.bu = ee, e.bv = Yt, e.bw = function(e, t, n, r, i) {
18363
- return M(r, i, ne((e - t) / (n - t), 0, 1));
18363
+ return M(r, i, re((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
- return new Float64Array(3);
18367
+ return /* @__PURE__ */ new Float64Array(3);
18368
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;
@@ -18576,7 +18576,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
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
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) {
18579
+ }, e.cy = ne, e.cz = function(e, t) {
18580
18580
  var n;
18581
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;
@@ -18674,7 +18674,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 = Ne, e.g = Oe, e.h = (e) => t(void 0, void 0, void 0, (function* () {
18677
+ }, e.d1 = Fa, e.e = ae, 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 {
@@ -18689,7 +18689,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
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
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) {
18692
+ })), e.k = (e, t) => Me(ae(e, { type: "json" }), t), e.l = Le, e.m = Me, e.n = Ie, e.o = (e, t) => Me(ae(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));
@@ -19801,7 +19801,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
19801
19801
  return e;
19802
19802
  }
19803
19803
  }
19804
- let v = 0x56bc75e2d63100000, y = new Float64Array(256);
19804
+ let v = 0x56bc75e2d63100000, y = /* @__PURE__ */ new Float64Array(256);
19805
19805
  for (let e = 0; e < 256; e++) {
19806
19806
  let t = .5 - (e / 255) ** (1 / 2.2);
19807
19807
  y[e] = t * Math.abs(t);
@@ -20238,11 +20238,11 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
20238
20238
  }
20239
20239
  }
20240
20240
  let M = Math.floor(s.hardwareConcurrency / 2), ee, te;
20241
- function N() {
20241
+ function ne() {
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 ne {
20245
+ class re {
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,10 +20274,10 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
20274
20274
  for (let t of this.actors) t.unregisterMessageHandler(e);
20275
20275
  }
20276
20276
  }
20277
- function P() {
20278
- return te || (te = new ne(N(), t.M), te.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), te;
20277
+ function ie() {
20278
+ return te || (te = new re(ne(), t.M), te.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), te;
20279
20279
  }
20280
- function re(e, n) {
20280
+ function ae(e, n) {
20281
20281
  let r = t.O();
20282
20282
  return t.Q(r, r, [
20283
20283
  1,
@@ -20289,7 +20289,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
20289
20289
  1
20290
20290
  ]), e.calculatePosMatrix ? t.U(r, r, e.calculatePosMatrix(n.toUnwrapped())) : r;
20291
20291
  }
20292
- function ie(e, t, n, r, i, a, o) {
20292
+ function N(e, t, n, r, i, a, o) {
20293
20293
  var s;
20294
20294
  let c = function(e, t, n) {
20295
20295
  if (e) for (let r of e) {
@@ -20302,14 +20302,14 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
20302
20302
  }
20303
20303
  return !1;
20304
20304
  }((s = i == null ? void 0 : i.layers) == null ? null : s, t, e.id), l = a.maxPitchScaleFactor(), u = e.tilesIn(r, l, c);
20305
- u.sort(ae);
20305
+ u.sort(oe);
20306
20306
  let d = [];
20307
20307
  for (let r of u) d.push({
20308
20308
  wrappedTileID: r.tileID.wrapped().key,
20309
- queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l, re(a, r.tileID), o ? (e, t) => o(r.tileID, e, t) : void 0)
20309
+ queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l, ae(a, r.tileID), o ? (e, t) => o(r.tileID, e, t) : void 0)
20310
20310
  });
20311
20311
  return function(e, t) {
20312
- for (let n in e) for (let r of e[n]) oe(r, t);
20312
+ for (let n in e) for (let r of e[n]) se(r, t);
20313
20313
  return e;
20314
20314
  }(function(e) {
20315
20315
  let t = {}, n = {};
@@ -20327,15 +20327,15 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
20327
20327
  return t;
20328
20328
  }(d), e);
20329
20329
  }
20330
- function ae(e, t) {
20330
+ function oe(e, t) {
20331
20331
  let n = e.tileID, r = t.tileID;
20332
20332
  return n.overscaledZ - r.overscaledZ || n.canonical.y - r.canonical.y || n.wrap - r.wrap || n.canonical.x - r.canonical.x;
20333
20333
  }
20334
- function oe(e, t) {
20334
+ function se(e, t) {
20335
20335
  let n = e.feature, r = t.getFeatureState(n.layer["source-layer"], n.id);
20336
20336
  n.source = n.layer.source, n.layer["source-layer"] && (n.sourceLayer = n.layer["source-layer"]), n.state = r;
20337
20337
  }
20338
- function se(e, n, r, i) {
20338
+ function ce(e, n, r, i) {
20339
20339
  return t._(this, void 0, void 0, (function* () {
20340
20340
  let a = e;
20341
20341
  if (e.url ? a = (yield t.k(yield n.transformRequest(e.url, "Source"), r)).data : yield s.frameAsync(r, i), !a) return null;
@@ -20352,7 +20352,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 ce {
20355
+ class P {
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 P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 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;
20369
+ if (!(e instanceof P)) return Array.isArray(e) ? e.length === 4 || e.every(Array.isArray) ? this.extend(P.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 P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 = ce.convert(e)).getNorth() >= this.getSouth() && e.getSouth() <= this.getNorth())) return !1;
20415
+ if (!((e = P.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 ce ? e : e && new ce(e);
20422
+ return e instanceof P ? e : e && new P(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 ce(new t.W(e.lng - i, e.lat - r), new t.W(e.lng + i, e.lat + r));
20426
+ return new P(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 ce(e, e.lng > n.lng ? new t.W(n.lng + 360, n.lat) : n);
20430
+ return new P(e, e.lng > n.lng ? new t.W(n.lng + 360, n.lat) : n);
20431
20431
  }
20432
20432
  }
20433
20433
  class le {
20434
20434
  constructor(e, t, n) {
20435
- this.bounds = ce.convert(this.validateBounds(e)), this.minzoom = t || 0, this.maxzoom = n || 24;
20435
+ this.bounds = P.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 ? [
@@ -20467,7 +20467,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
20467
20467
  return t._(this, arguments, void 0, (function* (e = !1) {
20468
20468
  this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
20469
20469
  try {
20470
- let n = yield se(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20470
+ let n = yield ce(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20471
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"
@@ -20610,7 +20610,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
20610
20610
  return t._(this, arguments, void 0, (function* (e = !1) {
20611
20611
  this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
20612
20612
  try {
20613
- let n = yield se(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20613
+ let n = yield ce(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20614
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"
@@ -20782,7 +20782,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
20782
20782
  return e.type === "GeometryCollection" ? e.geometries.flatMap(((e) => _e(e))) : ge(e.coordinates);
20783
20783
  }
20784
20784
  function ve(e) {
20785
- let t = new ce(), n;
20785
+ let t = new P(), n;
20786
20786
  switch (e.type) {
20787
20787
  case "FeatureCollection":
20788
20788
  n = e.features.flatMap(((e) => _e(e.geometry)));
@@ -20862,7 +20862,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
20862
20862
  }
20863
20863
  })(n, r);
20864
20864
  let i = {};
20865
- if ((n.removeAll || r.removeAll) && (i.removeAll = !0), i.remove = new Set([...n.remove, ...r.remove]), i.add = new Map([...n.add, ...r.add]), i.update = new Map([...n.update, ...r.update]), i.remove.size && i.add.size) for (let e of i.add.keys()) i.remove.delete(e);
20865
+ if ((n.removeAll || r.removeAll) && (i.removeAll = !0), i.remove = /* @__PURE__ */ new Set([...n.remove, ...r.remove]), i.add = new Map([...n.add, ...r.add]), i.update = new Map([...n.update, ...r.update]), i.remove.size && i.add.size) for (let e of i.add.keys()) i.remove.delete(e);
20866
20866
  return function(e) {
20867
20867
  let t = {};
20868
20868
  return e.removeAll && (t.removeAll = e.removeAll), e.remove && (t.remove = Array.from(e.remove)), e.add && (t.add = Array.from(e.add.values())), e.update && (t.update = Array.from(e.update.values())), t;
@@ -21027,7 +21027,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
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 ce([a, o], [s, c]);
21030
+ return new P([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;
@@ -21328,7 +21328,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
21328
21328
  }, Te = "RTLPluginLoaded";
21329
21329
  class Ee extends t.E {
21330
21330
  constructor() {
21331
- super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = P();
21331
+ super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = ie();
21332
21332
  }
21333
21333
  _syncState(e) {
21334
21334
  return this.status = e, this.dispatcher.broadcast("SRPS", {
@@ -21623,7 +21623,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
21623
21623
  return e.cameraToCenterDistance * Math.min(.85 * Math.tan(t.an(90 - e.pitch)), Math.tan(t.an(Ne - e.pitch)));
21624
21624
  }
21625
21625
  function Le(e, n) {
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));
21626
+ let r = e.canonical, i = n / t.ao(r.z), a = r.x + 2 ** r.z * e.wrap, o = t.ap(/* @__PURE__ */ new Float64Array(16));
21627
21627
  return t.Q(o, o, [
21628
21628
  a * i,
21629
21629
  r.y * i,
@@ -23012,15 +23012,15 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
23012
23012
  var w, A;
23013
23013
  if (n[e.crossTileID]) return;
23014
23014
  if (d) return void (this.placements[e.crossTileID] = new Ct(!1, !1, !1));
23015
- let j = !1, M = !1, ee = !0, te = null, N = {
23015
+ let j = !1, M = !1, ee = !0, te = null, ne = {
23016
23016
  box: null,
23017
23017
  placeable: !1,
23018
23018
  offscreen: null,
23019
23019
  occluded: !1
23020
- }, ne = { placeable: !1 }, P = null, re = null, ie = null, ae = 0, oe = 0, se = 0;
23021
- f.textFeatureIndex ? ae = f.textFeatureIndex : e.useRuntimeCollisionCircles && (ae = e.featureIndex), f.verticalTextFeatureIndex && (oe = f.verticalTextFeatureIndex);
23022
- let ce = f.textBox;
23023
- if (ce) {
23020
+ }, re = { placeable: !1 }, ie = null, ae = null, N = null, oe = 0, se = 0, ce = 0;
23021
+ f.textFeatureIndex ? oe = f.textFeatureIndex : e.useRuntimeCollisionCircles && (oe = e.featureIndex), f.verticalTextFeatureIndex && (se = f.verticalTextFeatureIndex);
23022
+ let P = f.textBox;
23023
+ if (P) {
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 P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 ? (N = r(), ne = N) : N = n(), N != null && N.placeable) break;
23034
- } else N = n();
23033
+ for (let e of i.writingModes) if (e === t.ax.vertical ? (ne = r(), re = ne) : ne = n(), ne != null && ne.placeable) break;
23034
+ } else ne = 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(ce, t.ax.horizontal)), (() => {
23041
+ a((() => r(P, 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(N == null ? void 0 : N.placeable);
23047
+ })), n(ne == null ? void 0 : ne.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";
@@ -23059,41 +23059,41 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
23059
23059
  p ? p = null : T = _;
23060
23060
  }
23061
23061
  return r && !b && (b = {
23062
- box: this.collisionIndex.placeCollisionBox(ce, "always", u, D, c, S, x, o, m.predicate, O, void 0, k).box,
23062
+ box: this.collisionIndex.placeCollisionBox(P, "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(ce, f.iconBox, t.ax.horizontal)), (() => {
23068
+ a((() => h(P, f.iconBox, t.ax.horizontal)), (() => {
23069
23069
  let n = f.verticalTextBox;
23070
- return i.allowVerticalPlacement && !(N != null && N.placeable) && e.numVerticalGlyphVertices > 0 && n ? h(n, f.verticalIconBox, t.ax.vertical) : {
23070
+ return i.allowVerticalPlacement && !(ne != null && ne.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
- })), N && (j = N.placeable, ee = N.offscreen);
23076
- let g = n(N == null ? void 0 : N.placeable);
23075
+ })), ne && (j = ne.placeable, ee = ne.offscreen);
23076
+ let g = n(ne == null ? void 0 : ne.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 (P = N, j = P == null ? void 0 : P.placeable, ee = P == null ? void 0 : P.offscreen, e.useRuntimeCollisionCircles && e.centerJustifiedTextSymbolIndex >= 0) {
23083
+ if (ie = ne, j = ie == null ? void 0 : ie.placeable, ee = ie == null ? void 0 : ie.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
- 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);
23085
+ ae = this.collisionIndex.placeCollisionCircles(_, n, i.lineVertexArray, i.glyphOffsetArray, s, c, l, r, S, m.predicate, e.collisionCircleDiameter, u, o, O), ae.circles.length && ae.collisionDetected && !r && t.w("Collisions detected, but collision boxes are not shown"), j = v || ae.circles.length > 0 && !ae.collisionDetected, ee && (ee = ae.offscreen);
23086
23086
  }
23087
- if (f.iconFeatureIndex && (se = f.iconFeatureIndex), f.iconBox) {
23087
+ if (f.iconFeatureIndex && (ce = f.iconFeatureIndex), f.iconBox) {
23088
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
- ne && ne.placeable && f.verticalIconBox ? (ie = e(f.verticalIconBox), M = ie.placeable) : (ie = e(f.iconBox), M = ie.placeable), ee && (ee = ie.offscreen);
23089
+ re && re.placeable && f.verticalIconBox ? (N = e(f.verticalIconBox), M = N.placeable) : (N = e(f.iconBox), M = N.placeable), ee && (ee = N.offscreen);
23090
23090
  }
23091
23091
  let le = h || e.numHorizontalGlyphVertices === 0 && e.numVerticalGlyphVertices === 0, ue = g || e.numIconVertices === 0;
23092
23092
  le || ue ? ue ? le || M && (M = j) : j = M && j : M = j = M && j;
23093
- let de = M && ie.placeable;
23094
- if (j && P.placeable && this.collisionIndex.insertCollisionBox(P.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, ne && ne.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, P, ie, re), e.crossTileID === 0) throw Error("symbolInstance.crossTileID can't be 0");
23093
+ let de = M && N.placeable;
23094
+ if (j && ie.placeable && this.collisionIndex.insertCollisionBox(ie.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, re && re.placeable && se ? se : oe, m.ID), de && this.collisionIndex.insertCollisionBox(N.box, y, a.get("icon-ignore-placement"), i.bucketInstanceId, ce, m.ID), ae && j && this.collisionIndex.insertCollisionCircles(ae.circles, _, a.get("text-ignore-placement"), i.bucketInstanceId, oe, m.ID), r && this.storeCollisionData(i.bucketInstanceId, b, f, ie, N, ae), 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 Ct((j || T) && !(P != null && P.occluded), (M || E) && !(ie != null && ie.occluded), ee || i.justReloaded), n[e.crossTileID] = !0;
23096
+ this.placements[e.crossTileID] = new Ct((j || T) && !(ie != null && ie.occluded), (M || E) && !(N != null && N.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 P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 ce([this._lngRange[0], this._latRange[0]], [this._lngRange[1], this._latRange[1]]);
23796
+ return ((e = this._latRange) == null ? void 0 : e.length) !== 2 || ((t = this._lngRange) == null ? void 0 : t.length) !== 2 ? null : new P([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]);
@@ -23820,7 +23820,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
23820
23820
  _calcMatrices() {
23821
23821
  if (this._width && this._height) {
23822
23822
  this._pixelsToGLUnits = [2 / this._width, -2 / this._height];
23823
- let e = t.ap(new Float64Array(16));
23823
+ let e = t.ap(/* @__PURE__ */ new Float64Array(16));
23824
23824
  t.S(e, e, [
23825
23825
  this._width / 2,
23826
23826
  -this._height / 2,
@@ -23829,7 +23829,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
23829
23829
  1,
23830
23830
  -1,
23831
23831
  0
23832
- ]), this._clipSpaceToPixelsMatrix = e, e = t.ap(new Float64Array(16)), t.S(e, e, [
23832
+ ]), this._clipSpaceToPixelsMatrix = e, e = t.ap(/* @__PURE__ */ new Float64Array(16)), t.S(e, e, [
23833
23833
  1,
23834
23834
  -1,
23835
23835
  1
@@ -24453,7 +24453,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
24453
24453
  }
24454
24454
  getBounds() {
24455
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)));
24456
+ return new P().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
24459
  return t ? t.pointCoordinate(e) != null : e.y > this.height / 2 - Ie(this);
@@ -24493,7 +24493,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
24493
24493
  this._helper._pixelPerMeter = t.aq(1, this.center.lat) * this.worldSize;
24494
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
- 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, [
24496
+ this._calculateNearFarZIfNeeded(o, a, e), s = /* @__PURE__ */ new Float64Array(16), t.bc(s, this.fovInRadians, this._helper._width / this._helper._height, this._helper._nearZ, this._helper._farZ), this._invProjMatrix = /* @__PURE__ */ 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,
24498
24498
  -1,
24499
24499
  1
@@ -24513,7 +24513,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
24513
24513
  1,
24514
24514
  1,
24515
24515
  this._helper._pixelPerMeter
24516
- ]), this._pixelMatrix = t.U(new Float64Array(16), this.clipSpaceToPixelsMatrix, s), t.Q(s, s, [
24516
+ ]), this._pixelMatrix = t.U(/* @__PURE__ */ new Float64Array(16), this.clipSpaceToPixelsMatrix, s), t.Q(s, s, [
24517
24517
  0,
24518
24518
  0,
24519
24519
  -this.elevation
@@ -24528,7 +24528,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
24528
24528
  u[0] / u[3],
24529
24529
  u[1] / u[3],
24530
24530
  u[2] / u[3]
24531
- ], this._fogMatrix = new Float64Array(16), t.bc(this._fogMatrix, this.fovInRadians, this.width / this.height, o, this._helper._farZ), this._fogMatrix[8] = 2 * -e.x / this.width, this._fogMatrix[9] = 2 * e.y / this.height, t.S(this._fogMatrix, this._fogMatrix, [
24531
+ ], this._fogMatrix = /* @__PURE__ */ new Float64Array(16), t.bc(this._fogMatrix, this.fovInRadians, this.width / this.height, o, this._helper._farZ), this._fogMatrix[8] = 2 * -e.x / this.width, this._fogMatrix[9] = 2 * e.y / this.height, t.S(this._fogMatrix, this._fogMatrix, [
24532
24532
  1,
24533
24533
  -1,
24534
24534
  1
@@ -24548,13 +24548,13 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
24548
24548
  0,
24549
24549
  0,
24550
24550
  -this.elevation
24551
- ]), this._pixelMatrix3D = t.U(new Float64Array(16), this.clipSpaceToPixelsMatrix, s);
24551
+ ]), this._pixelMatrix3D = t.U(/* @__PURE__ */ new Float64Array(16), this.clipSpaceToPixelsMatrix, s);
24552
24552
  let d = this._helper._width % 2 / 2, f = this._helper._height % 2 / 2, p = Math.cos(this.bearingInRadians), m = Math.sin(-this.bearingInRadians), h = r - Math.round(r) + p * d + m * f, g = i - Math.round(i) + p * f + m * d, _ = new Float64Array(s);
24553
24553
  if (t.Q(_, _, [
24554
24554
  h > .5 ? h - 1 : h,
24555
24555
  g > .5 ? g - 1 : g,
24556
24556
  0
24557
- ]), this._alignedProjMatrix = _, s = t.bg(new Float64Array(16), this._pixelMatrix), !s) throw Error("failed to invert matrix");
24557
+ ]), this._alignedProjMatrix = _, s = t.bg(/* @__PURE__ */ new Float64Array(16), this._pixelMatrix), !s) throw Error("failed to invert matrix");
24558
24558
  this._pixelMatrixInverse = s, this._clearMatrixCaches();
24559
24559
  }
24560
24560
  _clearMatrixCaches() {
@@ -24684,7 +24684,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
24684
24684
  }
24685
24685
  function rn(e) {
24686
24686
  if (e.useSlerp) if (e.k < 1) {
24687
- let n = t.bk(e.startEulerAngles.roll, e.startEulerAngles.pitch, e.startEulerAngles.bearing), r = t.bk(e.endEulerAngles.roll, e.endEulerAngles.pitch, e.endEulerAngles.bearing), i = new Float64Array(4);
24687
+ let n = t.bk(e.startEulerAngles.roll, e.startEulerAngles.pitch, e.startEulerAngles.bearing), r = t.bk(e.endEulerAngles.roll, e.endEulerAngles.pitch, e.endEulerAngles.bearing), i = /* @__PURE__ */ new Float64Array(4);
24688
24688
  t.bl(i, n, r, e.k);
24689
24689
  let a = t.bm(i);
24690
24690
  e.tr.setRoll(a.roll), e.tr.setPitch(a.pitch), e.tr.setBearing(a.bearing);
@@ -24833,7 +24833,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
24833
24833
  let i = new t.aU();
24834
24834
  i.emplaceBack(-1, -1), i.emplaceBack(2, -1), i.emplaceBack(-1, 2);
24835
24835
  let a = new t.aW();
24836
- a.emplaceBack(0, 1, 2), this._fullscreenTriangle = new Ut(n.createVertexBuffer(i, Wt.members), n.createIndexBuffer(a), t.aV.simpleSegment(0, 0, i.length, a.length)), this._resultBuffer = new Uint8Array(4), n.activeTexture.set(r.TEXTURE1);
24836
+ a.emplaceBack(0, 1, 2), this._fullscreenTriangle = new Ut(n.createVertexBuffer(i, Wt.members), n.createIndexBuffer(a), t.aV.simpleSegment(0, 0, i.length, a.length)), this._resultBuffer = /* @__PURE__ */ new Uint8Array(4), n.activeTexture.set(r.TEXTURE1);
24837
24837
  let o = r.createTexture();
24838
24838
  r.bindTexture(r.TEXTURE_2D, o), r.texParameteri(r.TEXTURE_2D, r.TEXTURE_WRAP_S, r.CLAMP_TO_EDGE), r.texParameteri(r.TEXTURE_2D, r.TEXTURE_WRAP_T, r.CLAMP_TO_EDGE), r.texParameteri(r.TEXTURE_2D, r.TEXTURE_MIN_FILTER, r.NEAREST), r.texParameteri(r.TEXTURE_2D, r.TEXTURE_MAG_FILTER, r.NEAREST), r.texImage2D(r.TEXTURE_2D, 0, this._texFormat, this._texWidth, this._texHeight, 0, this._texFormat, this._texType, null), this._fbo = n.createFramebuffer(this._texWidth, this._texHeight, !1, !1), this._fbo.colorAttachment.set(o), un(r) && (this._pbo = r.createBuffer(), r.bindBuffer(r.PIXEL_PACK_BUFFER, this._pbo), r.bufferData(r.PIXEL_PACK_BUFFER, 4, r.STREAM_READ), r.bindBuffer(r.PIXEL_PACK_BUFFER, null));
24839
24839
  }
@@ -25074,12 +25074,12 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
25074
25074
  return 2 * Math.PI * t;
25075
25075
  }
25076
25076
  function yn(e, n, r, i, a) {
25077
- let o = 1 / (1 << a), s = n / t.a6 * o + i * o, c = t.by((e / t.a6 * o + r * o) * Math.PI * 2 + Math.PI, 2 * Math.PI), l = 2 * Math.atan(Math.exp(Math.PI - s * Math.PI * 2)) - .5 * Math.PI, u = Math.cos(l), d = new Float64Array(3);
25077
+ let o = 1 / (1 << a), s = n / t.a6 * o + i * o, c = t.by((e / t.a6 * o + r * o) * Math.PI * 2 + Math.PI, 2 * Math.PI), l = 2 * Math.atan(Math.exp(Math.PI - s * Math.PI * 2)) - .5 * Math.PI, u = Math.cos(l), d = /* @__PURE__ */ new Float64Array(3);
25078
25078
  return d[0] = Math.sin(c) * u, d[1] = Math.sin(l), d[2] = Math.cos(c) * u, d;
25079
25079
  }
25080
25080
  function bn(e) {
25081
25081
  return function(e, t) {
25082
- let n = Math.cos(t), r = new Float64Array(3);
25082
+ let n = Math.cos(t), r = /* @__PURE__ */ new Float64Array(3);
25083
25083
  return r[0] = Math.sin(e) * n, r[1] = Math.sin(t), r[2] = Math.cos(e) * n, r;
25084
25084
  }(e.lng * Math.PI / 180, e.lat * Math.PI / 180);
25085
25085
  }
@@ -25826,7 +25826,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
25826
25826
  0,
25827
25827
  -1,
25828
25828
  0
25829
- ]) && (u[1] = -90, u[0] = -180, u[2] = 180), new ce(u);
25829
+ ]) && (u[1] = -90, u[0] = -180, u[2] = 180), new P(u);
25830
25830
  }
25831
25831
  calculateCenterFromCameraLngLatAlt(e, t, n, r) {
25832
25832
  return this._helper.calculateCenterFromCameraLngLatAlt(e, t, n, r);
@@ -26501,7 +26501,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 ne(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);
26504
+ }, this.map = e, this.dispatcher = new re(ne(), 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
26506
  this.glyphManager = new C(e._requestManager, n.localIdeographFontFamily, a), this.lineAtlas = new k(256, 512), this.crossTileSymbolIndex = new Bt(), 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;
@@ -27074,11 +27074,11 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
27074
27074
  layers: s,
27075
27075
  globalState: this._globalState
27076
27076
  });
27077
- for (let t in this.tileManagers) n.layers && !i[t] || a.push(ie(this.tileManagers[t], this._layers, o, e, c, r, this.map.terrain ? (e, t, n) => this.map.terrain.getElevation(e, t, n) : void 0));
27077
+ for (let t in this.tileManagers) n.layers && !i[t] || a.push(N(this.tileManagers[t], this._layers, o, e, c, r, this.map.terrain ? (e, t, n) => this.map.terrain.getElevation(e, t, n) : void 0));
27078
27078
  return this.placement && a.push(function(e, t, n, r, i, a, o) {
27079
27079
  let s = {}, c = a.queryRenderedSymbols(r), l = [];
27080
27080
  for (let e of Object.keys(c).map(Number)) l.push(o[e]);
27081
- l.sort(ae);
27081
+ l.sort(oe);
27082
27082
  for (let n of l) {
27083
27083
  let r = n.featureIndex.lookupSymbolFeatures(c[n.bucketInstanceId], t, n.bucketIndex, n.sourceLayerIndex, {
27084
27084
  filterSpec: i.filter,
@@ -27099,7 +27099,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
27099
27099
  }
27100
27100
  }
27101
27101
  return function(e, t, n) {
27102
- for (let r in e) for (let i of e[r]) oe(i, n[t[r].source]);
27102
+ for (let r in e) for (let i of e[r]) se(i, n[t[r].source]);
27103
27103
  return e;
27104
27104
  }(s, e, n);
27105
27105
  }(this._layers, o, this.tileManagers, e, c, this.placement.collisionIndex, this.placement.retainedQueryData)), this._flattenAndSortRenderedFeatures(a);
@@ -28592,7 +28592,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
28592
28592
  }
28593
28593
  y.destroy(), v.destroy();
28594
28594
  }
28595
- let pi = t.ap(new Float32Array(16));
28595
+ let pi = t.ap(/* @__PURE__ */ new Float32Array(16));
28596
28596
  function mi(e, n, r, i, a, o) {
28597
28597
  let { horizontalAlign: s, verticalAlign: c } = t.aP(e);
28598
28598
  return new t.P((-(s - .5) * n / a + i[0]) * o, (-(c - .5) * r / a + i[1]) * o);
@@ -28664,34 +28664,34 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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, te, N, ne = [0, 0], P = null;
28668
- if (a) ee = i.glyphAtlasTexture, te = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (ne = i.imageAtlasTexture.size, P = i.imageAtlasTexture, N = T || e.options.rotating || e.options.zooming || g.kind === "composite" || g.kind === "camera" ? _.LINEAR : _.NEAREST);
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, ne, re = [0, 0], ie = null;
28668
+ if (a) ee = i.glyphAtlasTexture, te = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (re = i.imageAtlasTexture.size, ie = i.imageAtlasTexture, ne = 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
28671
  ee = i.imageAtlasTexture, te = h || e.options.rotating || e.options.zooming || t || T ? _.LINEAR : _.NEAREST, M = i.imageAtlasTexture.size;
28672
28672
  }
28673
- let re = t.aK(i, 1, e.transform.zoom), ie = et(y, e.transform, re), ae = tt(b, y, e.transform, re), oe = t.aL(v, i, o, s), se = v.getProjectionData({
28673
+ let ae = t.aK(i, 1, e.transform.zoom), N = et(y, e.transform, ae), oe = tt(b, y, e.transform, ae), se = t.aL(v, i, o, s), ce = v.getProjectionData({
28674
28674
  overscaledTileID: c,
28675
28675
  applyGlobeMatrix: !p,
28676
28676
  applyTerrainMatrix: !0
28677
- }), ce = E && l.hasTextData(), le = r.layout.get("icon-text-fit") !== "none" && ce && l.hasIconData();
28677
+ }), P = E && l.hasTextData(), le = r.layout.get("icon-text-fit") !== "none" && P && l.hasIconData();
28678
28678
  if (x) {
28679
28679
  let n = t.O();
28680
- V(n, ie);
28680
+ V(n, N);
28681
28681
  let i = e.style.map.terrain ? (t, n) => e.style.map.terrain.getElevation(c, t, n) : null;
28682
- at(l, e, a, ie, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, oe, i);
28682
+ at(l, e, a, N, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, se, i);
28683
28683
  }
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 ? br(g.kind, A, S, b, x, ue, e, de, ae, oe, M, ne, O) : yr(g.kind, A, S, b, x, ue, e, de, ae, oe, a, M, fe, O) : vr(g.kind, A, S, b, x, ue, e, de, ae, oe, a, M, O);
28684
+ let ue = a && E || le, de = x || ue ? pi : b ? N : e.transform.clipSpaceToPixelsMatrix, fe = h && r.paint.get(a ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0, pe;
28685
+ pe = h ? l.iconsInText ? br(g.kind, A, S, b, x, ue, e, de, oe, se, M, re, O) : yr(g.kind, A, S, b, x, ue, e, de, oe, se, a, M, fe, O) : vr(g.kind, A, S, b, x, ue, e, de, oe, se, a, M, O);
28686
28686
  let me = {
28687
28687
  program: k,
28688
28688
  buffers: d,
28689
28689
  uniformValues: pe,
28690
- projectionData: se,
28690
+ projectionData: ce,
28691
28691
  atlasTexture: ee,
28692
- atlasTextureIcon: P,
28692
+ atlasTextureIcon: ie,
28693
28693
  atlasInterpolation: te,
28694
- atlasInterpolationIcon: N,
28694
+ atlasInterpolationIcon: ne,
28695
28695
  isSDF: h,
28696
28696
  hasHalo: fe
28697
28697
  };
@@ -29312,7 +29312,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
29312
29312
  -r.x,
29313
29313
  -r.y,
29314
29314
  -r.z
29315
- ], a = t.ap(new Float64Array(16));
29315
+ ], a = t.ap(/* @__PURE__ */ new Float64Array(16));
29316
29316
  return e.properties.get("anchor") === "map" && (t.be(a, a, n.rollInRadians), t.bf(a, a, -n.pitchInRadians), t.be(a, a, n.bearingInRadians), t.bf(a, a, n.center.lat * Math.PI / 180), t.bI(a, a, -n.center.lng * Math.PI / 180)), t.cg(i, i, a), i;
29317
29317
  }(r, e.transform), u = c.getProjectionData({
29318
29318
  overscaledTileID: null,
@@ -29320,7 +29320,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
29320
29320
  applyTerrainMatrix: !0
29321
29321
  }), d = n.properties.get("atmosphere-blend") * u.projectionTransition;
29322
29322
  if (d === 0) return;
29323
- let f = xn(c.worldSize, c.center.lat), p = c.inverseProjectionMatrix, m = new Float64Array(4);
29323
+ let f = xn(c.worldSize, c.center.lat), p = c.inverseProjectionMatrix, m = /* @__PURE__ */ new Float64Array(4);
29324
29324
  m[3] = 1, t.aE(m, m, c.modelViewProjectionMatrix), m[0] /= m[3], m[1] /= m[3], m[2] /= m[3], m[3] = 1, t.aE(m, m, p), m[0] /= m[3], m[1] /= m[3], m[2] /= m[3], m[3] = 1;
29325
29325
  let h = ((e, t, n, r, i) => ({
29326
29326
  u_sun_pos: e,
@@ -29433,7 +29433,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
29433
29433
  this.drawFunctions = Yi, this.context = new ui(e), this.transform = n, this._tileTextures = {}, this.terrainFacilitator = {
29434
29434
  depthDirty: !0,
29435
29435
  coordsDirty: !1,
29436
- matrix: t.ap(new Float64Array(16)),
29436
+ matrix: t.ap(/* @__PURE__ */ new Float64Array(16)),
29437
29437
  renderTime: 0
29438
29438
  }, this.setup(), this.numSublayers = Ze.maxOverzooming + Ze.maxUnderzooming + 1, this.depthEpsilon = 1 / 2 ** 16, this.crossTileSymbolIndex = new Bt();
29439
29439
  }
@@ -31318,7 +31318,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
31318
31318
  return this.jumpTo({ roll: e }, t), this;
31319
31319
  }
31320
31320
  cameraForBounds(e, t) {
31321
- e = ce.convert(e).adjustAntiMeridian();
31321
+ e = P.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 P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
31344
31344
  }
31345
31345
  let o = t.e(a, i.padding);
31346
31346
  i.padding = o;
31347
- let s = this.transform, c = new ce(e, n), l = this.cameraHelper.cameraForBoxAndBearing(i, o, c, r, s);
31347
+ let s = this.transform, c = new P(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 P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 je(i, this.tileSize), this._lastTilesetChange = l());
31686
+ })) r[i.key] = !0, this._renderableTilesKeys.push(i.key), this._tiles[i.key] || (i.terrainRttPosMatrix32f = /* @__PURE__ */ 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) {
@@ -31827,7 +31827,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
31827
31827
  let e = this.painter.context, n = new t.R({
31828
31828
  width: 1,
31829
31829
  height: 1
31830
- }, new Uint8Array(4));
31830
+ }, /* @__PURE__ */ new Uint8Array(4));
31831
31831
  this._emptyDepthTexture = new t.T(e, n, e.gl.RGBA, { premultiply: !1 }), this._emptyDemUnpack = [
31832
31832
  0,
31833
31833
  0,
@@ -31847,7 +31847,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
31847
31847
  if (a && !this._demMatrixCache[a]) {
31848
31848
  let n = this.tileManager.getSource().maxzoom, r = e.canonical.z - i.tileID.canonical.z;
31849
31849
  e.overscaledZ > e.canonical.z && (e.canonical.z >= n ? r = e.canonical.z - n : t.w("cannot calculate elevation if elevation maxzoom > source.maxzoom"));
31850
- let o = e.canonical.x - (e.canonical.x >> r << r), s = e.canonical.y - (e.canonical.y >> r << r), c = t.cE(new Float64Array(16), [
31850
+ let o = e.canonical.x - (e.canonical.x >> r << r), s = e.canonical.y - (e.canonical.y >> r << r), c = t.cE(/* @__PURE__ */ new Float64Array(16), [
31851
31851
  1 / (t.a6 << r),
31852
31852
  1 / (t.a6 << r),
31853
31853
  0
@@ -31898,7 +31898,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
31898
31898
  }
31899
31899
  pointCoordinate(e) {
31900
31900
  this.painter.maybeDrawDepth(!0), this.painter.maybeDrawCoords();
31901
- let n = new Uint8Array(4), r = this.painter.context, i = r.gl, a = Math.round(e.x * this.painter.pixelRatio / devicePixelRatio), o = Math.round(e.y * this.painter.pixelRatio / devicePixelRatio), s = Math.round(this.painter.height / devicePixelRatio);
31901
+ let n = /* @__PURE__ */ new Uint8Array(4), r = this.painter.context, i = r.gl, a = Math.round(e.x * this.painter.pixelRatio / devicePixelRatio), o = Math.round(e.y * this.painter.pixelRatio / devicePixelRatio), s = Math.round(this.painter.height / devicePixelRatio);
31902
31902
  r.bindFramebuffer.set(this.getFramebuffer("coords").framebuffer), i.readPixels(a, s - o - 1, 1, 1, i.RGBA, i.UNSIGNED_BYTE, n), r.bindFramebuffer.set(null);
31903
31903
  let c = n[0] + (n[2] >> 4 << 8), l = n[1] + ((15 & n[2]) << 8), u = this.coordsIndex[255 - n[3]], d = u && this.tileManager.getTileByID(u);
31904
31904
  if (!d) return null;
@@ -31906,7 +31906,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
31906
31906
  return new t.a7((d.tileID.canonical.x * f + c) / p + d.tileID.wrap, (d.tileID.canonical.y * f + l) / p, this.getElevation(d.tileID, c, l, f));
31907
31907
  }
31908
31908
  depthAtPoint(e) {
31909
- let t = new Uint8Array(4), n = this.painter.context, r = n.gl;
31909
+ let t = /* @__PURE__ */ new Uint8Array(4), n = this.painter.context, r = n.gl;
31910
31910
  return n.bindFramebuffer.set(this.getFramebuffer("depth").framebuffer), r.readPixels(e.x, this.painter.height / devicePixelRatio - e.y - 1, 1, 1, r.RGBA, r.UNSIGNED_BYTE, t), n.bindFramebuffer.set(null), (t[0] / 16777216 + t[1] / 65536 + t[2] / 256 + t[3]) / 256;
31911
31911
  }
31912
31912
  getTerrainMesh(e) {
@@ -32291,7 +32291,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
32291
32291
  return this.transform.getMaxBounds();
32292
32292
  }
32293
32293
  setMaxBounds(e) {
32294
- return this.transform.setMaxBounds(ce.convert(e)), this._update();
32294
+ return this.transform.setMaxBounds(P.convert(e)), this._update();
32295
32295
  }
32296
32296
  setMinZoom(e) {
32297
32297
  if ((e = e == null ? -2 : e) >= -2 && e <= this.transform.maxZoom) {
@@ -33375,7 +33375,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 = ce.fromLngLat(n, r);
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 = P.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 P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__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 = 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 {
33530
+ }, e.Hash = Qi, e.ImageSource = be, e.KeyboardHandler = Pa, e.LngLatBounds = P, 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();
@@ -33692,7 +33692,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
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 = pn, e.getGlobalDispatcher = P, e.getMaxParallelImageRequests = function() {
33695
+ }, e.createTileMesh = pn, e.getGlobalDispatcher = ie, e.getMaxParallelImageRequests = function() {
33696
33696
  return t.c.MAX_PARALLEL_IMAGE_REQUESTS;
33697
33697
  }, e.getRTLTextPluginStatus = function() {
33698
33698
  return Oe().getRTLTextPluginStatus();
@@ -33703,11 +33703,11 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
33703
33703
  }, e.getWorkerUrl = function() {
33704
33704
  return t.c.WORKER_URL;
33705
33705
  }, e.importScriptInWorkers = function(e) {
33706
- return P().broadcast("IS", e);
33706
+ return ie().broadcast("IS", e);
33707
33707
  }, e.isTimeFrozen = function() {
33708
33708
  return c.isFrozen();
33709
33709
  }, e.now = l, e.prewarm = function() {
33710
- N().acquire(A);
33710
+ ne().acquire(A);
33711
33711
  }, e.restoreNow = function() {
33712
33712
  c.restoreNow();
33713
33713
  }, e.setMaxParallelImageRequests = function(e) {
@@ -33723,7 +33723,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
33723
33723
  };
33724
33724
  })), e;
33725
33725
  }));
33726
- })))(), ae = Uint8Array, oe = Uint16Array, se = Int32Array, ce = new ae([
33726
+ })))(), ce = Uint8Array, P = Uint16Array, le = Int32Array, ue = new ce([
33727
33727
  0,
33728
33728
  0,
33729
33729
  0,
@@ -33756,7 +33756,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
33756
33756
  0,
33757
33757
  0,
33758
33758
  0
33759
- ]), le = new ae([
33759
+ ]), de = new ce([
33760
33760
  0,
33761
33761
  0,
33762
33762
  0,
@@ -33789,7 +33789,7 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
33789
33789
  13,
33790
33790
  0,
33791
33791
  0
33792
- ]), ue = new ae([
33792
+ ]), fe = new ce([
33793
33793
  16,
33794
33794
  17,
33795
33795
  18,
@@ -33809,51 +33809,51 @@ var P = /* @__PURE__ */ e(n(), 1), re = /* @__PURE__ */ e(c(), 1), ie = (/* @__P
33809
33809
  14,
33810
33810
  1,
33811
33811
  15
33812
- ]), de = function(e, t) {
33813
- for (var n = new oe(31), r = 0; r < 31; ++r) n[r] = t += 1 << e[r - 1];
33814
- for (var i = new se(n[30]), r = 1; r < 30; ++r) for (var a = n[r]; a < n[r + 1]; ++a) i[a] = a - n[r] << 5 | r;
33812
+ ]), pe = function(e, t) {
33813
+ for (var n = new P(31), r = 0; r < 31; ++r) n[r] = t += 1 << e[r - 1];
33814
+ for (var i = new le(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
- }, fe = de(ce, 2), pe = fe.b, me = fe.r;
33820
- pe[28] = 258, me[258] = 28;
33821
- var he = de(le, 0), ge = he.b;
33822
- he.r;
33823
- for (var _e = new oe(32768), ve = 0; ve < 32768; ++ve) {
33824
- var ye = (ve & 43690) >> 1 | (ve & 21845) << 1;
33825
- ye = (ye & 52428) >> 2 | (ye & 13107) << 2, ye = (ye & 61680) >> 4 | (ye & 3855) << 4, _e[ve] = ((ye & 65280) >> 8 | (ye & 255) << 8) >> 1;
33819
+ }, me = pe(ue, 2), he = me.b, ge = me.r;
33820
+ he[28] = 258, ge[258] = 28;
33821
+ var _e = pe(de, 0), ve = _e.b;
33822
+ _e.r;
33823
+ for (var ye = new P(32768), be = 0; be < 32768; ++be) {
33824
+ var xe = (be & 43690) >> 1 | (be & 21845) << 1;
33825
+ xe = (xe & 52428) >> 2 | (xe & 13107) << 2, xe = (xe & 61680) >> 4 | (xe & 3855) << 4, ye[be] = ((xe & 65280) >> 8 | (xe & 255) << 8) >> 1;
33826
33826
  }
33827
- for (var be = (function(e, t, n) {
33828
- for (var r = e.length, i = 0, a = new oe(t); i < r; ++i) e[i] && ++a[e[i] - 1];
33829
- var o = new oe(t);
33827
+ for (var Se = (function(e, t, n) {
33828
+ for (var r = e.length, i = 0, a = new P(t); i < r; ++i) e[i] && ++a[e[i] - 1];
33829
+ var o = new P(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 oe(1 << t);
33833
+ s = new P(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[_e[d] >> c] = l;
33836
- } else for (s = new oe(r), i = 0; i < r; ++i) e[i] && (s[i] = _e[o[e[i] - 1]++] >> 15 - e[i]);
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[ye[d] >> c] = l;
33836
+ } else for (s = new P(r), i = 0; i < r; ++i) e[i] && (s[i] = ye[o[e[i] - 1]++] >> 15 - e[i]);
33837
33837
  return s;
33838
- }), xe = new ae(288), ve = 0; ve < 144; ++ve) xe[ve] = 8;
33839
- for (var ve = 144; ve < 256; ++ve) xe[ve] = 9;
33840
- for (var ve = 256; ve < 280; ++ve) xe[ve] = 7;
33841
- for (var ve = 280; ve < 288; ++ve) xe[ve] = 8;
33842
- for (var Se = new ae(32), ve = 0; ve < 32; ++ve) Se[ve] = 5;
33843
- var Ce = /*#__PURE__*/ be(xe, 9, 1), we = /*#__PURE__*/ be(Se, 5, 1), Te = function(e) {
33838
+ }), Ce = new ce(288), be = 0; be < 144; ++be) Ce[be] = 8;
33839
+ for (var be = 144; be < 256; ++be) Ce[be] = 9;
33840
+ for (var be = 256; be < 280; ++be) Ce[be] = 7;
33841
+ for (var be = 280; be < 288; ++be) Ce[be] = 8;
33842
+ for (var we = new ce(32), be = 0; be < 32; ++be) we[be] = 5;
33843
+ var Te = /*#__PURE__*/ Se(Ce, 9, 1), Ee = /*#__PURE__*/ Se(we, 5, 1), De = 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
- }, Ee = function(e, t, n) {
33846
+ }, Oe = function(e, t, n) {
33847
33847
  var r = t / 8 | 0;
33848
33848
  return (e[r] | e[r + 1] << 8) >> (t & 7) & n;
33849
- }, De = function(e, t) {
33849
+ }, ke = 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
- }, Oe = function(e) {
33852
+ }, Ae = function(e) {
33853
33853
  return (e + 7) / 8 | 0;
33854
- }, ke = function(e, t, n) {
33855
- return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new ae(e.subarray(t, n));
33856
- }, Ae = [
33854
+ }, je = function(e, t, n) {
33855
+ return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new ce(e.subarray(t, n));
33856
+ }, Me = [
33857
33857
  "unexpected EOF",
33858
33858
  "invalid block type",
33859
33859
  "invalid length/literal",
@@ -33868,133 +33868,133 @@ var Ce = /*#__PURE__*/ be(xe, 9, 1), we = /*#__PURE__*/ be(Se, 5, 1), Te = funct
33868
33868
  "filename too long",
33869
33869
  "stream finishing",
33870
33870
  "invalid zip data"
33871
- ], je = function(e, t, n) {
33872
- var r = Error(t || Ae[e]);
33873
- if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r, je), !n) throw r;
33871
+ ], Ne = function(e, t, n) {
33872
+ var r = Error(t || Me[e]);
33873
+ if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r, Ne), !n) throw r;
33874
33874
  return r;
33875
- }, Me = function(e, t, n, r) {
33875
+ }, Pe = 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 ae(0);
33877
+ if (!i || t.f && !t.l) return n || new ce(0);
33878
33878
  var o = !n, s = o || t.i != 2, c = t.i;
33879
- o && (n = new ae(i * 3));
33879
+ o && (n = new ce(i * 3));
33880
33880
  var l = function(e) {
33881
33881
  var t = n.length;
33882
33882
  if (e > t) {
33883
- var r = new ae(Math.max(t * 2, e));
33883
+ var r = new ce(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 = Ee(e, d, 1);
33890
- var v = Ee(e, d + 1, 3);
33889
+ u = Oe(e, d, 1);
33890
+ var v = Oe(e, d + 1, 3);
33891
33891
  if (d += 3, !v) {
33892
- var y = Oe(d) + 4, b = e[y - 4] | e[y - 3] << 8, x = y + b;
33892
+ var y = Ae(d) + 4, b = e[y - 4] | e[y - 3] << 8, x = y + b;
33893
33893
  if (x > i) {
33894
- c && je(0);
33894
+ c && Ne(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 = Ce, m = we, h = 9, g = 5;
33899
+ } else if (v == 1) p = Te, m = Ee, h = 9, g = 5;
33900
33900
  else if (v == 2) {
33901
- var S = Ee(e, d, 31) + 257, C = Ee(e, d + 10, 15) + 4, w = S + Ee(e, d + 5, 31) + 1;
33901
+ var S = Oe(e, d, 31) + 257, C = Oe(e, d + 10, 15) + 4, w = S + Oe(e, d + 5, 31) + 1;
33902
33902
  d += 14;
33903
- for (var T = new ae(w), E = new ae(19), D = 0; D < C; ++D) E[ue[D]] = Ee(e, d + D * 3, 7);
33903
+ for (var T = new ce(w), E = new ce(19), D = 0; D < C; ++D) E[fe[D]] = Oe(e, d + D * 3, 7);
33904
33904
  d += C * 3;
33905
- for (var O = Te(E), k = (1 << O) - 1, A = be(E, O, 1), D = 0; D < w;) {
33906
- var j = A[Ee(e, d, k)];
33905
+ for (var O = De(E), k = (1 << O) - 1, A = Se(E, O, 1), D = 0; D < w;) {
33906
+ var j = A[Oe(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 + Ee(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (ee = 3 + Ee(e, d, 7), d += 3) : y == 18 && (ee = 11 + Ee(e, d, 127), d += 7); ee--;) T[D++] = M;
33912
+ for (y == 16 ? (ee = 3 + Oe(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (ee = 3 + Oe(e, d, 7), d += 3) : y == 18 && (ee = 11 + Oe(e, d, 127), d += 7); ee--;) T[D++] = M;
33913
33913
  }
33914
33914
  }
33915
- var te = T.subarray(0, S), N = T.subarray(S);
33916
- h = Te(te), g = Te(N), p = be(te, h, 1), m = be(N, g, 1);
33917
- } else je(1);
33915
+ var te = T.subarray(0, S), ne = T.subarray(S);
33916
+ h = De(te), g = De(ne), p = Se(te, h, 1), m = Se(ne, g, 1);
33917
+ } else Ne(1);
33918
33918
  if (d > _) {
33919
- c && je(0);
33919
+ c && Ne(0);
33920
33920
  break;
33921
33921
  }
33922
33922
  }
33923
33923
  s && l(f + 131072);
33924
- for (var ne = (1 << h) - 1, P = (1 << g) - 1, re = d;; re = d) {
33925
- var M = p[De(e, d) & ne], ie = M >> 4;
33924
+ for (var re = (1 << h) - 1, ie = (1 << g) - 1, ae = d;; ae = d) {
33925
+ var M = p[ke(e, d) & re], N = M >> 4;
33926
33926
  if (d += M & 15, d > _) {
33927
- c && je(0);
33927
+ c && Ne(0);
33928
33928
  break;
33929
33929
  }
33930
- if (M || je(2), ie < 256) n[f++] = ie;
33931
- else if (ie == 256) {
33932
- re = d, p = null;
33930
+ if (M || Ne(2), N < 256) n[f++] = N;
33931
+ else if (N == 256) {
33932
+ ae = d, p = null;
33933
33933
  break;
33934
33934
  } else {
33935
- var oe = ie - 254;
33936
- if (ie > 264) {
33937
- var D = ie - 257, se = ce[D];
33938
- oe = Ee(e, d, (1 << se) - 1) + pe[D], d += se;
33939
- }
33940
- var de = m[De(e, d) & P], fe = de >> 4;
33941
- de || je(3), d += de & 15;
33942
- var N = ge[fe];
33943
- if (fe > 3) {
33944
- var se = le[fe];
33945
- N += De(e, d) & (1 << se) - 1, d += se;
33935
+ var oe = N - 254;
33936
+ if (N > 264) {
33937
+ var D = N - 257, se = ue[D];
33938
+ oe = Oe(e, d, (1 << se) - 1) + he[D], d += se;
33939
+ }
33940
+ var P = m[ke(e, d) & ie], le = P >> 4;
33941
+ P || Ne(3), d += P & 15;
33942
+ var ne = ve[le];
33943
+ if (le > 3) {
33944
+ var se = de[le];
33945
+ ne += ke(e, d) & (1 << se) - 1, d += se;
33946
33946
  }
33947
33947
  if (d > _) {
33948
- c && je(0);
33948
+ c && Ne(0);
33949
33949
  break;
33950
33950
  }
33951
33951
  s && l(f + 131072);
33952
- var me = f + oe;
33953
- if (f < N) {
33954
- var he = a - N, _e = Math.min(N, me);
33955
- for (he + f < 0 && je(3); f < _e; ++f) n[f] = r[he + f];
33952
+ var pe = f + oe;
33953
+ if (f < ne) {
33954
+ var me = a - ne, ge = Math.min(ne, pe);
33955
+ for (me + f < 0 && Ne(3); f < ge; ++f) n[f] = r[me + f];
33956
33956
  }
33957
- for (; f < me; ++f) n[f] = n[f - N];
33957
+ for (; f < pe; ++f) n[f] = n[f - ne];
33958
33958
  }
33959
33959
  }
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);
33960
+ t.l = p, t.p = ae, 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 ? ke(n, 0, f) : n.subarray(0, f);
33963
- }, Ne = /*#__PURE__*/ new ae(0), Pe = function(e) {
33964
- (e[0] != 31 || e[1] != 139 || e[2] != 8) && je(6, "invalid gzip data");
33962
+ return f != n.length && o ? je(n, 0, f) : n.subarray(0, f);
33963
+ }, Fe = /*#__PURE__*/ new ce(0), Ie = function(e) {
33964
+ (e[0] != 31 || e[1] != 139 || e[2] != 8) && Ne(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
- }, Fe = function(e) {
33969
+ }, Le = 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
- }, Ie = function(e, t) {
33973
- return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) && je(6, "invalid zlib data"), (e[1] >> 5 & 1) == +!t && je(6, "invalid zlib data: " + (e[1] & 32 ? "need" : "unexpected") + " dictionary"), (e[1] >> 3 & 4) + 2;
33972
+ }, Re = function(e, t) {
33973
+ return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) && Ne(6, "invalid zlib data"), (e[1] >> 5 & 1) == +!t && Ne(6, "invalid zlib data: " + (e[1] & 32 ? "need" : "unexpected") + " dictionary"), (e[1] >> 3 & 4) + 2;
33974
33974
  };
33975
- function Le(e, t) {
33976
- return Me(e, { i: 2 }, t && t.out, t && t.dictionary);
33977
- }
33978
- function Re(e, t) {
33979
- var n = Pe(e);
33980
- return n + 8 > e.length && je(6, "invalid gzip data"), Me(e.subarray(n, -8), { i: 2 }, t && t.out || new ae(Fe(e)), t && t.dictionary);
33981
- }
33982
33975
  function F(e, t) {
33983
- return Me(e.subarray(Ie(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
33976
+ return Pe(e, { i: 2 }, t && t.out, t && t.dictionary);
33984
33977
  }
33985
33978
  function ze(e, t) {
33986
- return e[0] == 31 && e[1] == 139 && e[2] == 8 ? Re(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? Le(e, t) : F(e, t);
33979
+ var n = Ie(e);
33980
+ return n + 8 > e.length && Ne(6, "invalid gzip data"), Pe(e.subarray(n, -8), { i: 2 }, t && t.out || new ce(Le(e)), t && t.dictionary);
33981
+ }
33982
+ function Be(e, t) {
33983
+ return Pe(e.subarray(Re(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
33984
+ }
33985
+ function I(e, t) {
33986
+ return e[0] == 31 && e[1] == 139 && e[2] == 8 ? ze(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? F(e, t) : Be(e, t);
33987
33987
  }
33988
- var Be = typeof TextDecoder < "u" && /*#__PURE__*/ new TextDecoder();
33988
+ var Ve = typeof TextDecoder < "u" && /*#__PURE__*/ new TextDecoder();
33989
33989
  try {
33990
- Be.decode(Ne, { stream: !0 });
33990
+ Ve.decode(Fe, { 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 I = Object.defineProperty, Ve = Math.pow, He = (e, t) => I(e, "name", {
33994
+ var He = Object.defineProperty, Ue = Math.pow, We = (e, t) => He(e, "name", {
33995
33995
  value: t,
33996
33996
  configurable: !0
33997
- }), Ue = (e, t, n) => new Promise((r, i) => {
33997
+ }), Ge = (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, Ve = Math.pow, He = (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
- He((e, t) => {
34013
+ We((e, t) => {
34014
34014
  let n = !1, r = "";
34015
34015
  return new (L.GridLayer.extend({
34016
- createTile: He((t, i) => {
34016
+ createTile: We((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 @@ He((e, t) => {
34029
34029
  if (e.name !== "AbortError") throw e;
34030
34030
  }), a;
34031
34031
  }, "createTile"),
34032
- _removeTile: He(function(e) {
34032
+ _removeTile: We(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 @@ He((e, t) => {
34038
34038
  }, "_removeTile")
34039
34039
  }))(t);
34040
34040
  }, "leafletRasterLayer");
34041
- var We = He((e) => (t, n) => {
34041
+ var Ke = We((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: He(() => r.abort(), "cancel") };
34045
- }, "v3compat"), Ge = class {
34044
+ return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel: We(() => r.abort(), "cancel") };
34045
+ }, "v3compat"), qe = class {
34046
34046
  constructor(e) {
34047
- this.tilev4 = He((e, t) => Ue(this, null, function* () {
34047
+ this.tilev4 = We((e, t) => Ge(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 pt(n), this.tiles.set(n, r)), this.metadata) {
34050
+ if (r || (r = new ht(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 We = He((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 pt(i), this.tiles.set(i, a));
34070
+ a || (a = new ht(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),
@@ -34077,10 +34077,10 @@ var We = He((e) => (t, n) => {
34077
34077
  let u = yield a.getHeader();
34078
34078
  if (u.tileType === 1 || u.tileType === 6) {
34079
34079
  if (this.errorOnMissingTile) throw Error("Tile not found.");
34080
- return { data: new Uint8Array() };
34080
+ return { data: /* @__PURE__ */ new Uint8Array() };
34081
34081
  }
34082
34082
  return { data: null };
34083
- }), "tilev4"), this.tile = We(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;
34083
+ }), "tilev4"), this.tile = Ke(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 We = He((e) => (t, n) => {
34089
34089
  return this.tiles.get(e);
34090
34090
  }
34091
34091
  };
34092
- He(Ge, "Protocol");
34093
- var Ke = Ge;
34094
- function qe(e, t) {
34092
+ We(qe, "Protocol");
34093
+ var Je = qe;
34094
+ function R(e, t) {
34095
34095
  return (t >>> 0) * 4294967296 + (e >>> 0);
34096
34096
  }
34097
- He(qe, "toNum");
34098
- function Je(e, t) {
34097
+ We(R, "toNum");
34098
+ function Ye(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 qe(e, i);
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 R(e, i);
34101
34101
  throw Error("Expected varint not more than 10 bytes");
34102
34102
  }
34103
- He(Je, "readVarintRemainder");
34104
- function R(e) {
34103
+ We(Ye, "readVarintRemainder");
34104
+ function Xe(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, Je(r, e));
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, Ye(r, e));
34107
34107
  }
34108
- He(R, "readVarint");
34109
- function Ye(e, t, n, r, i) {
34108
+ We(Xe, "readVarint");
34109
+ function Ze(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
- He(Ye, "rotate");
34113
- function Xe(e, t, n) {
34112
+ We(Ze, "rotate");
34113
+ function Qe(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] = Ye(e, a, o, t, n), i--;
34119
+ r += (3 * t ^ n) * (1 << i), [a, o] = Ze(e, a, o, t, n), i--;
34120
34120
  }
34121
34121
  return r;
34122
34122
  }
34123
- He(Xe, "zxyToTileId");
34124
- function Ze(e) {
34123
+ We(Qe, "zxyToTileId");
34124
+ function z(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
- He(Ze, "tileIdToZ");
34129
- function Qe(e) {
34130
- let t = Ze(e) >> 1;
34128
+ We(z, "tileIdToZ");
34129
+ function B(e) {
34130
+ let t = z(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] = Ye(e, r, i, t, a), n /= 2, r += t, i += a;
34135
+ [r, i] = Ze(e, r, i, t, a), n /= 2, r += t, i += a;
34136
34136
  }
34137
34137
  return [
34138
34138
  t,
@@ -34140,13 +34140,13 @@ function Qe(e) {
34140
34140
  i
34141
34141
  ];
34142
34142
  }
34143
- He(Qe, "tileIdToZxy");
34144
- var z = ((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))(z || {});
34145
- function B(e, t) {
34146
- return Ue(this, null, function* () {
34143
+ We(B, "tileIdToZxy");
34144
+ var V = ((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))(V || {});
34145
+ function $e(e, t) {
34146
+ return Ge(this, null, function* () {
34147
34147
  if (t === 1 || t === 0) return e;
34148
34148
  if (t === 2) {
34149
- if (globalThis.DecompressionStream === void 0) return ze(new Uint8Array(e));
34149
+ if (globalThis.DecompressionStream === void 0) return I(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 B(e, t) {
34155
34155
  throw Error("Compression method not supported");
34156
34156
  });
34157
34157
  }
34158
- He(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 $e(e) {
34158
+ We($e, "defaultDecompress");
34159
+ var et = ((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))(et || {});
34160
+ function tt(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
- He($e, "tileTypeExt");
34164
- var et = 127;
34165
- function tt(e, t) {
34163
+ We(tt, "tileTypeExt");
34164
+ var H = 127;
34165
+ function nt(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 tt(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
- He(tt, "findTile"), He(class {
34175
+ We(nt, "findTile"), We(class {
34176
34176
  constructor(e) {
34177
34177
  this.file = e;
34178
34178
  }
@@ -34180,12 +34180,12 @@ He(tt, "findTile"), He(class {
34180
34180
  return this.file.name;
34181
34181
  }
34182
34182
  getBytes(e, t) {
34183
- return Ue(this, null, function* () {
34183
+ return Ge(this, null, function* () {
34184
34184
  return { data: yield this.file.slice(e, e + t).arrayBuffer() };
34185
34185
  });
34186
34186
  }
34187
34187
  }, "FileSource");
34188
- var H = class {
34188
+ var rt = 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 H = class {
34201
34201
  this.customHeaders = e;
34202
34202
  }
34203
34203
  getBytes(e, t, n, r) {
34204
- return Ue(this, null, function* () {
34204
+ return Ge(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 H = 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 st(`Server returned non-matching ETag ${r} after one retry. Check browser extensions and servers for issues that may affect correct ETag headers.`);
34229
+ if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new lt(`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 H = class {
34239
34239
  });
34240
34240
  }
34241
34241
  };
34242
- He(H, "FetchSource");
34243
- var nt = H;
34244
- function rt(e, t) {
34242
+ We(rt, "FetchSource");
34243
+ var it = rt;
34244
+ function at(e, t) {
34245
34245
  let n = e.getUint32(t + 4, !0), r = e.getUint32(t + 0, !0);
34246
- return n * Ve(2, 32) + r;
34246
+ return n * Ue(2, 32) + r;
34247
34247
  }
34248
- He(rt, "getUint64");
34249
- function it(e, t) {
34248
+ We(at, "getUint64");
34249
+ function ot(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: rt(n, 8),
34255
- rootDirectoryLength: rt(n, 16),
34256
- jsonMetadataOffset: rt(n, 24),
34257
- jsonMetadataLength: rt(n, 32),
34258
- leafDirectoryOffset: rt(n, 40),
34259
- leafDirectoryLength: rt(n, 48),
34260
- tileDataOffset: rt(n, 56),
34261
- tileDataLength: rt(n, 64),
34262
- numAddressedTiles: rt(n, 72),
34263
- numTileEntries: rt(n, 80),
34264
- numTileContents: rt(n, 88),
34254
+ rootDirectoryOffset: at(n, 8),
34255
+ rootDirectoryLength: at(n, 16),
34256
+ jsonMetadataOffset: at(n, 24),
34257
+ jsonMetadataLength: at(n, 32),
34258
+ leafDirectoryOffset: at(n, 40),
34259
+ leafDirectoryLength: at(n, 48),
34260
+ tileDataOffset: at(n, 56),
34261
+ tileDataLength: at(n, 64),
34262
+ numAddressedTiles: at(n, 72),
34263
+ numTileEntries: at(n, 80),
34264
+ numTileContents: at(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 it(e, t) {
34278
34278
  etag: t
34279
34279
  };
34280
34280
  }
34281
- He(it, "bytesToHeader");
34282
- function at(e) {
34281
+ We(ot, "bytesToHeader");
34282
+ function st(e) {
34283
34283
  let t = {
34284
34284
  buf: new Uint8Array(e),
34285
34285
  pos: 0
34286
- }, n = R(t), r = [], i = 0;
34286
+ }, n = Xe(t), r = [], i = 0;
34287
34287
  for (let e = 0; e < n; e++) {
34288
- let e = R(t);
34288
+ let e = Xe(t);
34289
34289
  r.push({
34290
34290
  tileId: i + e,
34291
34291
  offset: 0,
@@ -34293,23 +34293,23 @@ function at(e) {
34293
34293
  runLength: 1
34294
34294
  }), i += e;
34295
34295
  }
34296
- for (let e = 0; e < n; e++) r[e].runLength = R(t);
34297
- for (let e = 0; e < n; e++) r[e].length = R(t);
34296
+ for (let e = 0; e < n; e++) r[e].runLength = Xe(t);
34297
+ for (let e = 0; e < n; e++) r[e].length = Xe(t);
34298
34298
  for (let e = 0; e < n; e++) {
34299
- let n = R(t);
34299
+ let n = Xe(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
- He(at, "deserializeIndex");
34305
- var ot = class extends Error {};
34306
- He(ot, "EtagMismatch");
34307
- var st = ot;
34308
- function ct(e, t) {
34309
- return Ue(this, null, function* () {
34304
+ We(st, "deserializeIndex");
34305
+ var ct = class extends Error {};
34306
+ We(ct, "EtagMismatch");
34307
+ var lt = ct;
34308
+ function ut(e, t) {
34309
+ return Ge(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 = it(n.data.slice(0, et), n.etag), i = n.data.slice(r.rootDirectoryOffset, r.rootDirectoryOffset + r.rootDirectoryLength), a = `${e.getKey()}|${r.etag || ""}|${r.rootDirectoryOffset}|${r.rootDirectoryLength}`, o = at(yield t(i, r.internalCompression));
34312
+ let r = ot(n.data.slice(0, H), n.etag), i = n.data.slice(r.rootDirectoryOffset, r.rootDirectoryOffset + r.rootDirectoryLength), a = `${e.getKey()}|${r.etag || ""}|${r.rootDirectoryOffset}|${r.rootDirectoryLength}`, o = st(yield t(i, r.internalCompression));
34313
34313
  return [r, [
34314
34314
  a,
34315
34315
  o.length,
@@ -34317,23 +34317,23 @@ function ct(e, t) {
34317
34317
  ]];
34318
34318
  });
34319
34319
  }
34320
- He(ct, "getHeaderAndRoot");
34321
- function lt(e, t, n, r, i) {
34322
- return Ue(this, null, function* () {
34323
- let a = at(yield t((yield e.getBytes(n, r, void 0, i.etag)).data, i.internalCompression));
34320
+ We(ut, "getHeaderAndRoot");
34321
+ function dt(e, t, n, r, i) {
34322
+ return Ge(this, null, function* () {
34323
+ let a = st(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
- He(lt, "getDirectory"), He(class {
34329
- constructor(e = 100, t = !0, n = B) {
34328
+ We(dt, "getDirectory"), We(class {
34329
+ constructor(e = 100, t = !0, n = $e) {
34330
34330
  this.cache = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
34331
34331
  }
34332
34332
  getHeader(e) {
34333
- return Ue(this, null, function* () {
34333
+ return Ge(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 ct(e, this.decompress);
34336
+ let r = yield ut(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 @@ He(lt, "getDirectory"), He(class {
34344
34344
  });
34345
34345
  }
34346
34346
  getDirectory(e, t, n, r) {
34347
- return Ue(this, null, function* () {
34347
+ return Ge(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 lt(e, this.decompress, t, n, r);
34350
+ let o = yield dt(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 @@ He(lt, "getDirectory"), He(class {
34363
34363
  }
34364
34364
  }
34365
34365
  invalidate(e) {
34366
- return Ue(this, null, function* () {
34366
+ return Ge(this, null, function* () {
34367
34367
  this.cache.delete(e.getKey());
34368
34368
  });
34369
34369
  }
34370
34370
  }, "ResolvedValueCache");
34371
- var ut = class {
34372
- constructor(e = 100, t = !0, n = B) {
34371
+ var ft = class {
34372
+ constructor(e = 100, t = !0, n = $e) {
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 Ue(this, null, function* () {
34376
+ return Ge(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
- ct(e, this.decompress).then((e) => {
34380
+ ut(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 ut = class {
34393
34393
  });
34394
34394
  }
34395
34395
  getDirectory(e, t, n, r) {
34396
- return Ue(this, null, function* () {
34396
+ return Ge(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
- lt(e, this.decompress, t, n, r).then((e) => {
34400
+ dt(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 ut = class {
34418
34418
  }
34419
34419
  }
34420
34420
  invalidate(e) {
34421
- return Ue(this, null, function* () {
34421
+ return Ge(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 ut = class {
34433
34433
  });
34434
34434
  }
34435
34435
  };
34436
- He(ut, "SharedPromiseCache");
34437
- var dt = ut, ft = class {
34436
+ We(ft, "SharedPromiseCache");
34437
+ var pt = ft, mt = class {
34438
34438
  constructor(e, t, n) {
34439
- typeof e == "string" ? this.source = new nt(e) : this.source = e, n ? this.decompress = n : this.decompress = B, t ? this.cache = t : this.cache = new dt();
34439
+ typeof e == "string" ? this.source = new it(e) : this.source = e, n ? this.decompress = n : this.decompress = $e, t ? this.cache = t : this.cache = new pt();
34440
34440
  }
34441
34441
  getHeader() {
34442
- return Ue(this, null, function* () {
34442
+ return Ge(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 Ue(this, null, function* () {
34448
- let i = Xe(e, t, n), a = yield this.cache.getHeader(this.source);
34447
+ return Ge(this, null, function* () {
34448
+ let i = Qe(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 = tt(yield this.cache.getDirectory(this.source, o, s, a), i);
34452
+ let e = nt(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 dt = ut, ft = class {
34466
34466
  });
34467
34467
  }
34468
34468
  getZxy(e, t, n, r) {
34469
- return Ue(this, null, function* () {
34469
+ return Ge(this, null, function* () {
34470
34470
  try {
34471
34471
  return yield this.getZxyAttempt(e, t, n, r);
34472
34472
  } catch (i) {
34473
- if (i instanceof st) return this.cache.invalidate(this.source), yield this.getZxyAttempt(e, t, n, r);
34473
+ if (i instanceof lt) 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 Ue(this, null, function* () {
34479
+ return Ge(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 Ue(this, null, function* () {
34485
+ return Ge(this, null, function* () {
34486
34486
  try {
34487
34487
  return yield this.getMetadataAttempt();
34488
34488
  } catch (e) {
34489
- if (e instanceof st) return this.cache.invalidate(this.source), yield this.getMetadataAttempt();
34489
+ if (e instanceof lt) 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 Ue(this, null, function* () {
34495
+ return Ge(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}${$e(t.tileType)}`],
34500
+ tiles: [`${e}/{z}/{x}/{y}${tt(t.tileType)}`],
34501
34501
  vector_layers: n.vector_layers,
34502
34502
  attribution: n.attribution,
34503
34503
  description: n.description,
@@ -34520,14 +34520,14 @@ var dt = ut, ft = class {
34520
34520
  });
34521
34521
  }
34522
34522
  };
34523
- He(ft, "PMTiles");
34524
- var pt = ft, mt = r(), ht = "expofp-map-dim", gt = "expofp-map-dim-source", _t = "3d-expofp", vt = null, yt = [
34523
+ We(mt, "PMTiles");
34524
+ var ht = mt, gt = r(), _t = "expofp-map-dim", vt = "expofp-map-dim-source", yt = "3d-expofp", bt = null, xt = [
34525
34525
  "coalesce",
34526
34526
  ["get", "name:en"],
34527
34527
  ["get", "name_en"],
34528
34528
  ["get", "name:latin"],
34529
34529
  ["get", "name"]
34530
- ], bt = {
34530
+ ], St = {
34531
34531
  type: "Feature",
34532
34532
  geometry: {
34533
34533
  type: "Polygon",
@@ -34541,51 +34541,51 @@ var pt = ft, mt = r(), ht = "expofp-map-dim", gt = "expofp-map-dim-source", _t =
34541
34541
  },
34542
34542
  properties: {}
34543
34543
  };
34544
- function xt(e) {
34544
+ function Ct(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 St(e) {
34551
+ function wt(e) {
34552
34552
  var t;
34553
- if (xt(e)) return Array.from(e);
34553
+ if (Ct(e)) return Array.from(e);
34554
34554
  let n = e, r = n == null || (t = n.defaultProjectionData) == null ? void 0 : t.mainMatrix;
34555
- return xt(r) ? Array.from(r) : (console.warn("Maplibre custom layer received an unsupported projection matrix payload.", e), null);
34555
+ return Ct(r) ? Array.from(r) : (console.warn("Maplibre custom layer received an unsupported projection matrix payload.", e), null);
34556
34556
  }
34557
- function Ct(e) {
34558
- return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) => Ct(e)) : !e || typeof e != "object" ? !1 : Object.values(e).some((e) => Ct(e));
34557
+ function Tt(e) {
34558
+ return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) => Tt(e)) : !e || typeof e != "object" ? !1 : Object.values(e).some((e) => Tt(e));
34559
34559
  }
34560
- function wt(e) {
34561
- return e.type !== "symbol" || !e.id || !e.layout ? !1 : Ct(e.layout["text-field"]);
34560
+ function Et(e) {
34561
+ return e.type !== "symbol" || !e.id || !e.layout ? !1 : Tt(e.layout["text-field"]);
34562
34562
  }
34563
- function Tt(e) {
34563
+ function Dt(e) {
34564
34564
  var t;
34565
34565
  let n = e.getStyle();
34566
- for (let r of (t = n.layers) == null ? [] : t) wt(r) && e.setLayoutProperty(r.id, "text-field", yt);
34566
+ for (let r of (t = n.layers) == null ? [] : t) Et(r) && e.setLayoutProperty(r.id, "text-field", xt);
34567
34567
  }
34568
- function Et() {
34569
- if (!vt) {
34570
- vt = new Ke();
34568
+ function Ot() {
34569
+ if (!bt) {
34570
+ bt = new Je();
34571
34571
  try {
34572
- (0, ie.addProtocol)("pmtiles", vt.tile);
34572
+ (0, se.addProtocol)("pmtiles", bt.tile);
34573
34573
  } catch (e) {
34574
34574
  console.warn("Maplibre PMTiles protocol registration failed.", e);
34575
34575
  }
34576
34576
  }
34577
34577
  }
34578
- function Dt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapOptions: i, onRendererReady: a, onMapDimLayerReady: o, onMapLoadError: s }) {
34579
- let c = (0, P.useRef)(null), l = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(a), p = (0, P.useRef)(o), m = (0, P.useRef)(s), h = (0, P.useRef)({
34578
+ function kt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapOptions: i, onRendererReady: a, onMapDimLayerReady: o, onMapLoadError: s }) {
34579
+ let c = (0, N.useRef)(null), l = (0, N.useRef)(null), u = (0, N.useRef)(null), f = (0, N.useRef)(a), p = (0, N.useRef)(o), m = (0, N.useRef)(s), h = (0, N.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, P.useEffect)(() => {
34586
+ return (0, N.useEffect)(() => {
34587
34587
  f.current = a, p.current = o, m.current = s;
34588
- }), (0, P.useEffect)(() => {
34588
+ }), (0, N.useEffect)(() => {
34589
34589
  var e, t;
34590
34590
  if (!c.current) return;
34591
34591
  let { sceneDef: n, geoConfig: r, staticTransform: i, tileSource: a, mapOptions: o } = h.current, s = !1, g = { ...n };
@@ -34594,7 +34594,7 @@ function Dt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34594
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
- }), g.background = void 0, g.staticTransform = i, Et();
34597
+ }), g.background = void 0, g.staticTransform = i, Ot();
34598
34598
  let v = r.bounds ? {
34599
34599
  bounds: r.bounds,
34600
34600
  fitBoundsOptions: {
@@ -34604,7 +34604,7 @@ function Dt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34604
34604
  } : {
34605
34605
  center: r.center,
34606
34606
  zoom: r.zoom
34607
- }, y = new ie.Map({
34607
+ }, y = new se.Map({
34608
34608
  container: c.current,
34609
34609
  style: a.style,
34610
34610
  ...v,
@@ -34614,20 +34614,30 @@ function Dt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34614
34614
  minZoom: o == null ? void 0 : o.minZoom,
34615
34615
  maxZoom: o == null ? void 0 : o.maxZoom,
34616
34616
  maxBounds: o == null ? void 0 : o.maxBounds,
34617
+ bearingSnap: 0,
34617
34618
  canvasContextAttributes: { antialias: !0 }
34618
34619
  });
34619
34620
  r.zoomAdjustment && y.jumpTo({ zoom: y.getZoom() + r.zoomAdjustment }), l.current = y, y.once("error", (e) => {
34620
34621
  var t, n;
34621
34622
  y.isStyleLoaded() || (t = m.current) == null || t.call(m, (n = e == null ? void 0 : e.error) == null ? e : n);
34622
34623
  });
34623
- let b = {
34624
- id: _t,
34624
+ let b = (e) => {
34625
+ let t = e == null ? void 0 : e.id;
34626
+ !t || y.hasImage(t) || y.addImage(t, {
34627
+ width: 1,
34628
+ height: 1,
34629
+ data: /* @__PURE__ */ new Uint8Array(4)
34630
+ });
34631
+ };
34632
+ y.on("styleimagemissing", b);
34633
+ let x = {
34634
+ id: yt,
34625
34635
  type: "custom",
34626
34636
  renderingMode: "3d",
34627
34637
  onAdd(e, t) {
34628
34638
  var n;
34629
34639
  if (s) return;
34630
- let r = new u({
34640
+ let r = new d({
34631
34641
  canvas: y.getCanvas(),
34632
34642
  gl: t
34633
34643
  });
@@ -34635,22 +34645,22 @@ function Dt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34635
34645
  r.dispose();
34636
34646
  return;
34637
34647
  }
34638
- r.init(g), d.current = r, (n = f.current) == null || n.call(f, r, y, g, () => y.triggerRepaint());
34648
+ r.init(g), u.current = r, (n = f.current) == null || n.call(f, r, y, g, () => y.triggerRepaint());
34639
34649
  },
34640
34650
  render(e, t) {
34641
- if (!d.current || d.current.isDisposed) return;
34642
- let n = St(t == null ? e : t);
34643
- n && d.current.render(n);
34651
+ if (!u.current || u.current.isDisposed) return;
34652
+ let n = wt(t == null ? e : t);
34653
+ n && u.current.render(n);
34644
34654
  }
34645
- }, x = () => {
34655
+ }, S = () => {
34646
34656
  var e;
34647
- Tt(y), y.getSource(gt) || y.addSource(gt, {
34657
+ Dt(y), y.getSource(vt) || y.addSource(vt, {
34648
34658
  type: "geojson",
34649
- data: bt
34659
+ data: St
34650
34660
  }), y.getLayer("expofp-map-dim") || y.addLayer({
34651
- id: ht,
34661
+ id: _t,
34652
34662
  type: "fill",
34653
- source: gt,
34663
+ source: vt,
34654
34664
  paint: {
34655
34665
  "fill-color": "#000000",
34656
34666
  "fill-opacity": 0,
@@ -34659,13 +34669,13 @@ function Dt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34659
34669
  delay: 0
34660
34670
  }
34661
34671
  }
34662
- }), (e = p.current) == null || e.call(p, y), y.addLayer(b);
34672
+ }), (e = p.current) == null || e.call(p, y), y.addLayer(x);
34663
34673
  };
34664
- return y.on("style.load", x), () => {
34674
+ return y.on("style.load", S), () => {
34665
34675
  var e;
34666
- s = !0, y.off("style.load", x), (e = d.current) == null || e.dispose(), d.current = null, y.remove(), l.current = null;
34676
+ s = !0, y.off("style.load", S), y.off("styleimagemissing", b), (e = u.current) == null || e.dispose(), u.current = null, y.remove(), l.current = null;
34667
34677
  };
34668
- }, []), /* @__PURE__ */ (0, mt.jsx)("div", {
34678
+ }, []), /* @__PURE__ */ (0, gt.jsx)("div", {
34669
34679
  ref: c,
34670
34680
  style: {
34671
34681
  position: "absolute",
@@ -34676,29 +34686,34 @@ function Dt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34676
34686
  }
34677
34687
  });
34678
34688
  }
34679
- var Ot = .02, kt = .15;
34680
- function At(e) {
34681
- let t = [
34682
- [d.min.x, d.min.y],
34683
- [d.max.x, d.min.y],
34684
- [d.max.x, d.max.y],
34685
- [d.min.x, d.max.y]
34686
- ].map(([t, n]) => f(t, n, e));
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, Ot), l = Math.max((s - o) * 3, Ot);
34689
- return [[i - c, o - l], [a + c, s + l]];
34689
+ //#endregion
34690
+ //#region src/components/Maplibre/utils/geo-config.ts
34691
+ var At = .15, jt = 1.42, Mt = .35, Nt = .9, Pt = .85, Ft = 8, It = .05;
34692
+ function Lt(e, t, n, r) {
34693
+ let i = Math.min(e.getZoom(), t);
34694
+ return i + (n - i) * Math.min(1, r / jt) >= e.getMinZoom() - It;
34690
34695
  }
34691
- function jt(e, t) {
34696
+ function Rt(e, t, n) {
34697
+ if (Lt(e, t, n, jt)) return jt;
34698
+ if (!Lt(e, t, n, Mt)) return null;
34699
+ let r = Mt, i = jt;
34700
+ for (let a = 0; a < Ft; a++) {
34701
+ let a = (r + i) / 2;
34702
+ Lt(e, t, n, a) ? r = a : i = a;
34703
+ }
34704
+ return r;
34705
+ }
34706
+ function U(e, t) {
34692
34707
  let n = [
34693
- f(e.min.x, e.min.y, t),
34694
- f(e.max.x, e.min.y, t),
34695
- f(e.max.x, e.max.y, t),
34696
- f(e.min.x, e.max.y, t)
34708
+ m(e.min.x, e.min.y, t),
34709
+ m(e.max.x, e.min.y, t),
34710
+ m(e.max.x, e.max.y, t),
34711
+ m(e.min.x, e.max.y, t)
34697
34712
  ], r = n.map(([e]) => e), i = n.map(([, e]) => e);
34698
34713
  return [[Math.min(...r), Math.min(...i)], [Math.max(...r), Math.max(...i)]];
34699
34714
  }
34700
- function Mt(e = 0) {
34701
- let t = w.canvasVisibleRectPx, n = w.screenSize;
34715
+ function zt(e = 0) {
34716
+ let t = T.canvasVisibleRectPx, n = T.screenSize;
34702
34717
  return !t || !n ? {
34703
34718
  top: e,
34704
34719
  bottom: e,
@@ -34711,85 +34726,136 @@ function Mt(e = 0) {
34711
34726
  right: Math.max(0, n.width - t.max.x) + e
34712
34727
  };
34713
34728
  }
34714
- function Nt() {
34729
+ function Bt() {
34715
34730
  var e, t;
34716
- if (!(!(s == null || (e = s.properties) == null) && e.config)) return null;
34717
- let n = s.properties.config;
34731
+ if (!(!(g == null || (e = g.properties) == null) && e.config)) return null;
34732
+ let n = g.properties.config, r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a = u(n.p0, n.p2), o = Number.isFinite(a) ? a : (t = n.bearing) == null ? 0 : t;
34718
34733
  return {
34719
- center: [(n.p0.lng + n.p2.lng) / 2, (n.p0.lat + n.p2.lat) / 2],
34720
- bearing: (t = n.bearing) == null ? 0 : t,
34734
+ center: [r, i],
34735
+ bearing: o,
34721
34736
  zoom: 16,
34722
34737
  gpsConfig: n
34723
34738
  };
34724
34739
  }
34725
- function Pt(e, t, n, r = {}) {
34740
+ function Vt(e, t, n, r = {}) {
34726
34741
  var i, a;
34727
34742
  if (!e || !t || !n || t.size.height === Infinity || t.size.width === Infinity || t.size.height <= 0 || t.size.width <= 0) return;
34728
- let o = jt(t, n.gpsConfig), s = Mt((i = r.padding) == null ? 50 : i);
34729
- e.fitBounds(o, {
34743
+ let o = U(t, n.gpsConfig), s = zt((i = r.padding) == null ? 50 : i), c = e.cameraForBounds(o, {
34730
34744
  padding: s,
34731
- duration: (a = r.duration) == null ? 1e3 : a,
34732
34745
  bearing: n.bearing
34733
34746
  });
34747
+ if (!(c != null && c.center) || typeof c.zoom != "number") {
34748
+ e.fitBounds(o, {
34749
+ padding: s,
34750
+ bearing: n.bearing,
34751
+ essential: !0
34752
+ });
34753
+ return;
34754
+ }
34755
+ let l = e.project(e.getCenter()), u = e.project(c.center), d = Math.max(e.getCanvas().clientWidth, e.getCanvas().clientHeight, 1), f = Math.hypot(u.x - l.x, u.y - l.y) / d, p = Math.abs(e.getZoom() - c.zoom), m = (a = r.duration) == null ? Math.min(2800, 500 + f * 450 + p * 150) : a, h = {
34756
+ center: c.center,
34757
+ zoom: c.zoom,
34758
+ bearing: n.bearing,
34759
+ duration: m,
34760
+ essential: !0
34761
+ };
34762
+ if (f <= 1.2 && p <= 1.5) {
34763
+ e.easeTo(h);
34764
+ return;
34765
+ }
34766
+ let g = e.getBounds().extend(se.LngLatBounds.convert(o)), _ = e.cameraForBounds(g, {
34767
+ padding: s,
34768
+ bearing: n.bearing
34769
+ });
34770
+ if (!(_ != null && _.center) || typeof _.zoom != "number" || _.zoom >= e.getZoom() - .2) {
34771
+ e.easeTo(h);
34772
+ return;
34773
+ }
34774
+ let v = Rt(e, c.zoom, _.zoom);
34775
+ if (v !== null) {
34776
+ let t = Math.max(Mt, v * Nt), n = Math.round(m * Pt);
34777
+ e.flyTo({
34778
+ ...h,
34779
+ curve: t,
34780
+ duration: n
34781
+ });
34782
+ return;
34783
+ }
34784
+ e.easeTo(h);
34734
34785
  }
34735
34786
  //#endregion
34736
34787
  //#region src/components/Maplibre/useCameraReactions.ts
34737
- var Ft = w;
34738
- function It(e, t) {
34739
- D(() => Ft.moveToBooths, (n) => {
34788
+ var Ht = T;
34789
+ function W(e) {
34790
+ return y(e, S(e, w));
34791
+ }
34792
+ function Ut(e, t, n) {
34793
+ k(() => Ht.moveToBooths, (n) => {
34740
34794
  let r = e.current;
34741
34795
  if (!n || !r || !t) return;
34742
34796
  let i = n.filter((e) => e.rect);
34743
- i.length !== 0 && (Pt(r, h.fromUnion(...i.map((e) => e.rect)), t), Ft.moveToBooths = null);
34744
- }), D(() => Ft.moveToRect, (n) => {
34797
+ i.length !== 0 && (Vt(r, W(o.fromUnion(...i.map((e) => e.rect))), t), Ht.moveToBooths = null);
34798
+ }), k(() => Ht.moveToRect, (n) => {
34745
34799
  let r = e.current;
34746
- !n || !r || !t || (Pt(r, n, t), Ft.moveToRect = null);
34747
- }), D(() => Ft.zoomBy, (t) => {
34800
+ !n || !r || !t || (Vt(r, n, t), Ht.moveToRect = null);
34801
+ }), k(() => Ht.zoomBy, (t) => {
34748
34802
  let n = e.current;
34749
34803
  !t || !n || (n.flyTo({
34750
34804
  zoom: n.getZoom() + (t > 1 ? .5 : -.5),
34751
34805
  animate: !0,
34752
34806
  duration: 500
34753
- }), Ft.zoomBy = null);
34754
- }), D(() => w.moveToLocation, (n) => {
34755
- let r = e.current, i = S.routeStore.currentPosition;
34807
+ }), Ht.zoomBy = null);
34808
+ }), k(() => T.moveToLocation, (n) => {
34809
+ let r = e.current, i = C.routeStore.currentPosition;
34756
34810
  if (!n || !r || !i) return;
34757
34811
  let { lng: a, lat: o } = i, s = typeof a == "number" && Number.isFinite(a) && typeof o == "number" && Number.isFinite(o), c;
34758
34812
  if (s) c = [a, o];
34759
34813
  else {
34760
34814
  if (!t) return;
34761
- c = f(i.x, i.y, t.gpsConfig);
34815
+ c = m(i.x, i.y, t.gpsConfig);
34762
34816
  }
34763
34817
  r.flyTo({
34764
34818
  center: c,
34765
34819
  animate: !0,
34766
34820
  duration: 1e3
34767
34821
  }), r.once("moveend", () => {
34768
- w.moveToLocation = !1;
34822
+ T.moveToLocation = !1;
34769
34823
  });
34770
- }), D(() => w.centerMap, (n) => {
34771
- let r = e.current;
34772
- !n || !r || !t || (w.list.type === "search" && !w.list.text || Pt(r, S.layerStore.rectangle || d, t, { padding: 0 }), w.centerMap = !1);
34824
+ }), k(() => T.centerMap, (r) => {
34825
+ let i = e.current;
34826
+ if (!(!r || !i || !t)) {
34827
+ if (!(T.list.type === "search" && !T.list.text)) {
34828
+ let { rect: e } = O({
34829
+ layerViewbox: C.layerStore.viewboxRectangle,
34830
+ explicitArea: l ? w : null,
34831
+ layerRectangle: C.layerStore.rectangle,
34832
+ sceneDef: n,
34833
+ svgArea: w
34834
+ });
34835
+ Vt(i, e, t);
34836
+ }
34837
+ T.centerMap = !1;
34838
+ }
34773
34839
  });
34774
34840
  }
34775
34841
  //#endregion
34776
34842
  //#region src/components/Maplibre/utils/map-helpers.ts
34777
- var Lt = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, Rt = {
34843
+ var Wt = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, Gt = 12, Kt = {
34778
34844
  pitch: 30,
34779
34845
  maxPitch: 70,
34780
- minZoom: 14
34781
- }, U = {
34846
+ minZoom: Gt
34847
+ }, qt = {
34782
34848
  pitch: 0,
34783
34849
  maxPitch: 0,
34784
- minZoom: 14
34850
+ minZoom: Gt
34785
34851
  };
34786
- function zt(e, t) {
34787
- e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(ht, "fill-opacity", Bt(t)), e.triggerRepaint());
34852
+ function Jt(e, t) {
34853
+ e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(_t, "fill-opacity", Yt(t)), e.triggerRepaint());
34788
34854
  }
34789
- function Bt(e) {
34855
+ function Yt(e) {
34790
34856
  return Math.min(Math.max(e, 0), 1);
34791
34857
  }
34792
- function Vt(e, t, n = !1) {
34858
+ function Xt(e, t, n = !1) {
34793
34859
  var r, i, a;
34794
34860
  if (!e) return;
34795
34861
  e.setMinZoom((r = t.minZoom) == null ? null : r), e.setMaxZoom((i = t.maxZoom) == null ? null : i), e.setMaxBounds((a = t.maxBounds) == null ? null : a);
@@ -34799,72 +34865,72 @@ function Vt(e, t, n = !1) {
34799
34865
  duration: 300
34800
34866
  }), l && e.once("moveend", () => e.setMaxPitch(s))) : e.jumpTo({ pitch: o }));
34801
34867
  }
34802
- function Ht() {
34868
+ function Zt() {
34803
34869
  var e, t;
34804
- let n = (e = (t = S.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 } : Lt;
34870
+ let n = (e = (t = C.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
34871
+ return n != null && n.style ? { style: n.style } : n != null && n.styleUrl ? { style: n.styleUrl } : Wt;
34806
34872
  }
34807
34873
  //#endregion
34808
34874
  //#region src/components/Maplibre/useDimming.ts
34809
- function W(e, t) {
34810
- let n = (0, P.useRef)(t);
34811
- (0, P.useEffect)(() => {
34875
+ function Qt(e, t) {
34876
+ let n = (0, N.useRef)(t);
34877
+ (0, N.useEffect)(() => {
34812
34878
  n.current = t;
34813
34879
  }, [t]);
34814
- let r = (0, P.useRef)(null), i = (0, P.useRef)(null);
34815
- return (0, P.useEffect)(() => {
34816
- let t = A((t) => {
34817
- zt(e.current, t * M);
34818
- }), a = A((e) => {
34819
- te(n.current, e * 1);
34880
+ let r = (0, N.useRef)(null), i = (0, N.useRef)(null);
34881
+ return (0, N.useEffect)(() => {
34882
+ let t = M((t) => {
34883
+ Jt(e.current, t * te);
34884
+ }), a = M((e) => {
34885
+ re(n.current, e * 1);
34820
34886
  });
34821
34887
  return r.current = t, i.current = a, () => {
34822
34888
  t.stop(), a.stop(), r.current = null, i.current = null;
34823
34889
  };
34824
- }, [e]), D(() => w.dimmed, (e) => {
34890
+ }, [e]), k(() => T.dimmed, (e) => {
34825
34891
  var t, n;
34826
34892
  (t = r.current) == null || t.setTarget(e), (n = i.current) == null || n.setTarget(e);
34827
34893
  }), {
34828
34894
  mapDimAnimatorRef: r,
34829
34895
  venueDimAnimatorRef: i,
34830
- handleMapDimLayerReady: (0, P.useCallback)((e) => {
34896
+ handleMapDimLayerReady: (0, N.useCallback)((e) => {
34831
34897
  var t, n;
34832
- zt(e, ((t = (n = r.current) == null ? void 0 : n.getValue()) == null ? +!!w.dimmed : t) * M);
34898
+ Jt(e, ((t = (n = r.current) == null ? void 0 : n.getValue()) == null ? +!!T.dimmed : t) * te);
34833
34899
  }, [])
34834
34900
  };
34835
34901
  }
34836
34902
  //#endregion
34837
34903
  //#region src/components/Maplibre/utils/layer-defs.ts
34838
- function Ut(e, t = /* @__PURE__ */ new Map()) {
34904
+ function $t(e, t = /* @__PURE__ */ new Map()) {
34839
34905
  var n;
34840
34906
  if (e.name) {
34841
34907
  var r;
34842
34908
  let n = (r = t.get(e.name)) == null ? [] : r;
34843
34909
  n.push(e), t.set(e.name, n);
34844
34910
  }
34845
- for (let r of (n = e.children) == null ? [] : n) r && "children" in r && Ut(r, t);
34911
+ for (let r of (n = e.children) == null ? [] : n) r && "children" in r && $t(r, t);
34846
34912
  return t;
34847
34913
  }
34848
- function Wt(e) {
34849
- return e != null && e.shape ? T.booths.find((t) => {
34914
+ function en(e) {
34915
+ return e != null && e.shape ? D.booths.find((t) => {
34850
34916
  var n;
34851
34917
  return (n = t.shapes) == null ? void 0 : n.some((t) => t.shape === e.shape);
34852
34918
  }) : null;
34853
34919
  }
34854
34920
  //#endregion
34855
34921
  //#region src/components/Maplibre/useLayerVisibilitySync.ts
34856
- function Gt(e, t, n) {
34857
- let r = (0, P.useRef)(null), i = (0, P.useRef)(null);
34858
- D(() => S.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
34922
+ function tn(e, t, n) {
34923
+ let r = (0, N.useRef)(null), i = (0, N.useRef)(null);
34924
+ k(() => C.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
34859
34925
  var a, o;
34860
34926
  let s = e.scene;
34861
34927
  if (!s) return;
34862
34928
  ((a = r.current) == null ? void 0 : a.rootLayer) !== s.rootLayer && (r.current = {
34863
34929
  rootLayer: s.rootLayer,
34864
- defsByName: Ut(s.rootLayer)
34930
+ defsByName: $t(s.rootLayer)
34865
34931
  });
34866
34932
  let c = r.current.defsByName, l = [];
34867
- for (let e of S.layerStore.layers) {
34933
+ for (let e of C.layerStore.layers) {
34868
34934
  let t = c.get(e.name);
34869
34935
  if (t != null && t.length) for (let n of t) {
34870
34936
  let t = !e.visible;
@@ -34872,45 +34938,45 @@ function Gt(e, t, n) {
34872
34938
  }
34873
34939
  }
34874
34940
  l.length && e.update(...l);
34875
- let u = S.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
34941
+ let u = C.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
34876
34942
  if (!u || i.current === u.name) return;
34877
34943
  i.current = u.name;
34878
34944
  let d = (o = u.viewbox) == null ? u.rect : o;
34879
- Pt(t.current, d == null ? null : d, n);
34945
+ Vt(t.current, d == null ? null : d, n);
34880
34946
  });
34881
34947
  }
34882
34948
  //#endregion
34883
34949
  //#region src/components/Maplibre/useRendererEvents.ts
34884
- var Kt = w;
34885
- function qt(e, t) {
34886
- (0, P.useEffect)(() => {
34950
+ var nn = T;
34951
+ function rn(e, t) {
34952
+ (0, N.useEffect)(() => {
34887
34953
  if (!e) return;
34888
34954
  let n = ({ data: e }) => {
34889
- if (w.setKioskModeEnabled) return;
34890
- let { point: t, defs: n } = o(e), r = ne(t.x, t.y), i = Wt(n[0]);
34891
- Kt.hoveredBooth = r || i;
34955
+ if (T.setKioskModeEnabled) return;
34956
+ let { point: t, defs: n } = s(e), r = ae(t.x, t.y), i = en(n[0]);
34957
+ nn.hoveredBooth = r || i;
34892
34958
  }, r = () => {
34893
- w.setKioskModeEnabled || (Kt.hoveredBooth = null);
34959
+ T.setKioskModeEnabled || (nn.hoveredBooth = null);
34894
34960
  }, i = ({ data: e }) => {
34895
34961
  var n, r;
34896
- if (!(w != null && w.rootElement)) return;
34897
- (n = (r = window).__resett) == null || n.call(r), w.overlayPosition === "bottom" && w.overlaySize === "full" && S.showMap();
34898
- let { point: i, defs: a } = o(e), { x: s, y: c } = i;
34899
- if (w.onGetCoordsClick) {
34900
- let e = S.layerStore.layers.find((e) => e.visible && (e.mode === y.TurnedOn || e.mode === y.TurnedOff));
34901
- w.onGetCoordsClick({
34902
- x: s,
34962
+ if (!(T != null && T.rootElement)) return;
34963
+ (n = (r = window).__resett) == null || n.call(r), T.overlayPosition === "bottom" && T.overlaySize === "full" && C.showMap();
34964
+ let { point: i, defs: a } = s(e), { x: o, y: c } = i;
34965
+ if (T.onGetCoordsClick) {
34966
+ let e = C.layerStore.layers.find((e) => e.visible && (e.mode === b.TurnedOn || e.mode === b.TurnedOff));
34967
+ T.onGetCoordsClick({
34968
+ x: o,
34903
34969
  y: c,
34904
34970
  z: (e == null ? void 0 : e.name) || null
34905
34971
  });
34906
34972
  }
34907
- if (w.setKioskModeEnabled) return;
34908
- if (w.onMarkerClick) {
34909
- let e = j(s, c, t.scale);
34910
- w.onMarkerClick(e);
34973
+ if (T.setKioskModeEnabled) return;
34974
+ if (T.onMarkerClick) {
34975
+ let e = ee(o, c, t.scale);
34976
+ T.onMarkerClick(e);
34911
34977
  }
34912
- let l = ne(i.x, i.y), u = Wt(a[0]);
34913
- S.clickBooth(l || u);
34978
+ let l = ae(i.x, i.y), u = en(a[0]);
34979
+ C.clickBooth(l || u);
34914
34980
  }, a = () => {
34915
34981
  var e, t;
34916
34982
  return (e = (t = window).__resett) == null ? void 0 : e.call(t);
@@ -34922,10 +34988,10 @@ function qt(e, t) {
34922
34988
  }
34923
34989
  //#endregion
34924
34990
  //#region src/components/Maplibre/useWayfindingAndMarkers.ts
34925
- function Jt(e, t) {
34926
- (0, P.useEffect)(() => {
34991
+ function an(e, t) {
34992
+ (0, N.useEffect)(() => {
34927
34993
  if (!e) return;
34928
- let n = b(t, S), r = k(t);
34994
+ let n = f(t, C), r = j(t);
34929
34995
  return () => {
34930
34996
  n == null || n(), r == null || r();
34931
34997
  };
@@ -34933,82 +34999,136 @@ function Jt(e, t) {
34933
34999
  }
34934
35000
  //#endregion
34935
35001
  //#region src/components/Maplibre/utils/solver.ts
34936
- var Yt = 1e-12, Xt = 3.28084;
34937
- function Zt(e, t) {
34938
- var n, r;
34939
- let i = (n = e.p1) == null ? Qt(e) : n, a = [
35002
+ var on = 1e-12, sn = 3.28084, cn = 6371e3, G = 1, K = .02;
35003
+ function ln(e, t) {
35004
+ var n;
35005
+ let r, i;
35006
+ try {
35007
+ r = fn(e), i = "perpendicular";
35008
+ } catch (t) {
35009
+ if (!e.p1) throw t;
35010
+ r = e.p1, i = "explicit-fallback";
35011
+ }
35012
+ let a = q(e);
35013
+ i === "perpendicular" && a != null && a.inconsistent && console.warn("Maplibre geo: ignoring inconsistent anchor p1; placing venue from the p0->p2 diagonal.", {
35014
+ angleErrorDeg: a.angleErrorDeg,
35015
+ sideRatioError: a.ratioError
35016
+ });
35017
+ let o = [
34940
35018
  e.p0,
34941
- i,
35019
+ r,
34942
35020
  e.p2
34943
- ], o = [], s = [], c = [];
34944
- for (let e of a) {
34945
- $t(e), s.push([e.x, e.y]);
34946
- let t = ie.MercatorCoordinate.fromLngLat([e.lng, e.lat], 0), n = t.meterInMercatorCoordinateUnits();
34947
- en(t.x), en(t.y), en(n), o.push(n), c.push([t.x, t.y]);
35021
+ ], s = [], c = [], l = [];
35022
+ for (let e of o) {
35023
+ pn(e), c.push([e.x, e.y]);
35024
+ let t = se.MercatorCoordinate.fromLngLat([e.lng, e.lat], 0), n = t.meterInMercatorCoordinateUnits();
35025
+ mn(t.x), mn(t.y), mn(n), s.push(n), l.push([t.x, t.y]);
34948
35026
  }
34949
- let l = [], u = [];
35027
+ let u = [], d = [];
34950
35028
  for (let e = 0; e < 3; e++) {
34951
- let [t, n] = s[e], [r, i] = c[e];
34952
- l.push([
35029
+ let [t, n] = c[e], [r, i] = l[e];
35030
+ u.push([
34953
35031
  t,
34954
35032
  n,
34955
35033
  1,
34956
35034
  0,
34957
35035
  0,
34958
35036
  0
34959
- ]), u.push(r), l.push([
35037
+ ]), d.push(r), u.push([
34960
35038
  0,
34961
35039
  0,
34962
35040
  0,
34963
35041
  t,
34964
35042
  n,
34965
35043
  1
34966
- ]), u.push(i);
35044
+ ]), d.push(i);
34967
35045
  }
34968
- let [d, f, p, m, h, g] = tn(l, u), _ = (t == null || (r = t.toLowerCase) == null ? void 0 : r.call(t).trim()) === "ft" ? 1 / Xt : 1, v = [
34969
- d,
34970
- m,
34971
- 0,
34972
- 0,
35046
+ let [f, p, m, h, g, _] = bn(u, d), v = (t == null || (n = t.toLowerCase) == null ? void 0 : n.call(t).trim()) === "ft" ? 1 / sn : 1, y = [
34973
35047
  f,
34974
35048
  h,
34975
35049
  0,
34976
35050
  0,
35051
+ p,
35052
+ g,
34977
35053
  0,
34978
35054
  0,
34979
- o.reduce((e, t) => e + t, 0) / o.length * _,
34980
35055
  0,
34981
- p,
34982
- g,
35056
+ 0,
35057
+ s.reduce((e, t) => e + t, 0) / s.length * v,
35058
+ 0,
35059
+ m,
35060
+ _,
34983
35061
  0,
34984
35062
  1
34985
35063
  ];
34986
- if (!v.every(Number.isFinite)) throw Error("Cannot calculate Maplibre transform: geo anchor points produced a non-finite matrix.");
34987
- return v;
35064
+ if (!y.every(Number.isFinite)) throw Error("Cannot calculate Maplibre transform: geo anchor points produced a non-finite matrix.");
35065
+ return y;
35066
+ }
35067
+ function q(e) {
35068
+ let t = e.p1;
35069
+ if (!t) return null;
35070
+ let n = un(e.p0.x, e.p0.y, t.x, t.y, e.p2.x, e.p2.y), r = dn(e.p0, t, e.p2), i = Math.abs(n.angleDeg - r.angleDeg), a = Number.isFinite(r.axisRatio) && r.axisRatio > 0 ? Math.abs(n.axisRatio / r.axisRatio - 1) : Infinity;
35071
+ return {
35072
+ angleErrorDeg: i,
35073
+ ratioError: a,
35074
+ inconsistent: i > G || a > K
35075
+ };
35076
+ }
35077
+ function un(e, t, n, r, i, a) {
35078
+ let o = Math.hypot(n - e, r - t), s = Math.hypot(i - e, a - t), c = (n - e) * (i - e) + (r - t) * (a - t), l = o > 0 && s > 0 ? c / (o * s) : NaN;
35079
+ return {
35080
+ axisRatio: o > 0 ? s / o : Infinity,
35081
+ angleDeg: gn(Math.acos(Math.max(-1, Math.min(1, l))))
35082
+ };
34988
35083
  }
34989
- function Qt(e) {
35084
+ function dn(e, t, n) {
35085
+ let r = _n(e.lat, e.lng, t.lat, t.lng), i = _n(e.lat, e.lng, n.lat, n.lng), a = vn(e.lat, e.lng, t.lat, t.lng), o = vn(e.lat, e.lng, n.lat, n.lng), s = Math.abs(o - a) % 360;
35086
+ return s > 180 && (s = 360 - s), {
35087
+ axisRatio: r > 0 ? i / r : Infinity,
35088
+ angleDeg: s
35089
+ };
35090
+ }
35091
+ function fn(e) {
34990
35092
  let t = e.p2.x - e.p0.x, n = e.p2.y - e.p0.y;
34991
35093
  if (t === 0 && n === 0) throw Error("Cannot calculate Maplibre transform: p0 and p2 have identical SVG coordinates.");
34992
- let r = e.p0.x - n, i = e.p0.y + t, a = g(e.p0, e.p2), o = C(e.p0, e.p2), { lat: s, lng: c } = l(e.p0, a, o + 90);
35094
+ let r = e.p0.x - n, i = e.p0.y + t, a = _n(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), o = vn(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), [s, c] = yn(e.p0.lat, e.p0.lng, a, o + 90);
34993
35095
  return {
34994
35096
  x: r,
34995
35097
  y: i,
34996
- lat: s,
34997
- lng: c
35098
+ lat: c,
35099
+ lng: s
34998
35100
  };
34999
35101
  }
35000
- function $t(e) {
35001
- en(e.x), en(e.y), en(e.lat), en(e.lng);
35102
+ function pn(e) {
35103
+ mn(e.x), mn(e.y), mn(e.lat), mn(e.lng);
35002
35104
  }
35003
- function en(e) {
35105
+ function mn(e) {
35004
35106
  if (!Number.isFinite(e)) throw Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.");
35005
35107
  }
35006
- function tn(e, t) {
35108
+ function hn(e) {
35109
+ return e * Math.PI / 180;
35110
+ }
35111
+ function gn(e) {
35112
+ return e * 180 / Math.PI;
35113
+ }
35114
+ function _n(e, t, n, r) {
35115
+ let i = hn(e), a = hn(n), o = hn(n - e), s = hn(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);
35116
+ return cn * (2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)));
35117
+ }
35118
+ function vn(e, t, n, r) {
35119
+ let i = hn(e), a = hn(n), o = hn(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);
35120
+ return (gn(Math.atan2(s, c)) + 360) % 360;
35121
+ }
35122
+ function yn(e, t, n, r) {
35123
+ let i = n / cn, a = hn(r), o = hn(e), s = hn(t), c = Math.asin(Math.sin(o) * Math.cos(i) + Math.cos(o) * Math.sin(i) * Math.cos(a));
35124
+ return [gn(s + Math.atan2(Math.sin(a) * Math.sin(i) * Math.cos(o), Math.cos(i) - Math.sin(o) * Math.sin(c))), gn(c)];
35125
+ }
35126
+ function bn(e, t) {
35007
35127
  let n = e.length, r = e.map((e, n) => [...e, t[n]]);
35008
35128
  for (let e = 0; e < n; e++) {
35009
35129
  let t = e;
35010
35130
  for (let i = e + 1; i < n; i++) Math.abs(r[i][e]) > Math.abs(r[t][e]) && (t = i);
35011
- if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < Yt) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
35131
+ if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < on) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
35012
35132
  for (let t = e + 1; t < n; t++) {
35013
35133
  let i = r[t][e] / r[e][e];
35014
35134
  for (let a = e; a <= n; a++) r[t][a] -= i * r[e][a];
@@ -35024,101 +35144,116 @@ function tn(e, t) {
35024
35144
  }
35025
35145
  //#endregion
35026
35146
  //#region src/components/Maplibre/MaplibreAdapter.tsx
35027
- var nn = "routes-api.expofp.com";
35028
- function rn() {
35147
+ var xn = "routes-api.expofp.com";
35148
+ function Sn() {
35029
35149
  i(() => {
35030
- S.layerStore.layers.forEach((e) => {
35150
+ C.layerStore.layers.forEach((e) => {
35031
35151
  e.configured = !1, e.children = [], e.loaded = !1;
35032
- }), S.layerStore.layersLoaded = !1;
35152
+ }), C.layerStore.layersLoaded = !1;
35033
35153
  });
35034
35154
  }
35035
- function an(e, t) {
35155
+ function Cn(e, t) {
35036
35156
  let n = [];
35037
35157
  for (let r of e.rollRegistry.invoke(t)) Array.isArray(r) ? n.push(...r) : n.push(r);
35038
35158
  n.length && e.update(...n);
35039
35159
  }
35040
- var on = a(function({ viewMode: e }) {
35160
+ function wn(e) {
35161
+ var t, n, r;
35162
+ let i = Math.abs((t = e[0]) == null ? 0 : t), a = Math.hypot((n = e[0]) == null ? 0 : n, (r = e[1]) == null ? 0 : r);
35163
+ return i <= 0 || a <= 0 ? 1 : i / a;
35164
+ }
35165
+ var Tn = a(function({ viewMode: e }) {
35041
35166
  var t, n;
35042
- let [r, i] = (0, P.useState)(null), [a, o] = (0, P.useState)(null), s = S.rendererService, c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), f = (0, P.useRef)(null), h = (0, P.useMemo)(() => Nt(), []), g = (0, P.useMemo)(() => h ? {
35167
+ let [r, i] = (0, N.useState)(null), [a, o] = (0, N.useState)(null), s = C.rendererService, u = (0, N.useRef)(null), d = (0, N.useRef)(null), f = (0, N.useRef)(null), m = (0, N.useRef)(null), h = (0, N.useMemo)(() => Bt(), []), g = (0, N.useMemo)(() => {
35168
+ let { rect: e } = O({
35169
+ layerViewbox: C.layerStore.viewboxRectangle,
35170
+ explicitArea: l ? w : null,
35171
+ layerRectangle: C.layerStore.rectangle,
35172
+ sceneDef: r,
35173
+ svgArea: w
35174
+ });
35175
+ return e;
35176
+ }, [r]), y = (0, N.useMemo)(() => h ? {
35043
35177
  center: h.center,
35044
35178
  bearing: h.bearing,
35045
35179
  zoom: h.zoom,
35046
- bounds: jt(d, h.gpsConfig),
35047
- fitPadding: Mt(0),
35048
- zoomAdjustment: kt
35049
- } : null, [h]), y = (0, P.useMemo)(() => {
35180
+ bounds: U(g, h.gpsConfig),
35181
+ fitPadding: zt(0),
35182
+ zoomAdjustment: At
35183
+ } : null, [h, g]), b = (0, N.useMemo)(() => {
35050
35184
  var e;
35051
- return h ? Zt(h.gpsConfig, (e = p()) == null ? void 0 : e.getAttribute("units")) : null;
35052
- }, [h]), b = (0, P.useMemo)(() => ({
35053
- ...e === "map2d" ? U : Rt,
35054
- maxBounds: h ? At(h.gpsConfig) : void 0
35055
- }), [h, e]), C = (0, P.useRef)(b), T = (0, P.useMemo)(() => Ht(), []), { mapDimAnimatorRef: D, venueDimAnimatorRef: k, handleMapDimLayerReady: A } = W(l, s);
35056
- (0, P.useEffect)(() => {
35185
+ return h ? ln(h.gpsConfig, (e = c()) == null ? void 0 : e.getAttribute("units")) : null;
35186
+ }, [h]), S = (0, N.useMemo)(() => ({ ...e === "map2d" ? qt : Kt }), [e]), D = (0, N.useRef)(S), k = (0, N.useMemo)(() => Zt(), []), { mapDimAnimatorRef: j, venueDimAnimatorRef: M, handleMapDimLayerReady: ee } = Qt(d, s);
35187
+ (0, N.useEffect)(() => {
35057
35188
  if (!h) return;
35058
35189
  let e = !1;
35059
- rn();
35060
- let t = N(s).then((t) => {
35061
- e || i(E(t, d, (0, re.default)(v.backgroundColor === "none" ? "#ebebeb" : v.backgroundColor).string()));
35190
+ Sn();
35191
+ let t = ie(s).then((t) => {
35192
+ e || i(p(t, w, (0, oe.default)(E.backgroundColor === "none" ? "#ebebeb" : E.backgroundColor).string()));
35062
35193
  }).catch((t) => {
35063
35194
  e || console.warn("Maplibre scene configuration failed.", t);
35064
- }), n = D.current, r = k.current;
35195
+ }), n = j.current, r = M.current;
35065
35196
  return () => {
35066
35197
  var i;
35067
- e = !0, rn();
35068
- let a = c.current;
35069
- t.finally(() => s.disposeIfCurrent(a)), (i = u.current) == null || i.call(u), u.current = null, c.current = null, l.current = null, f.current = null, o(null), n == null || n.stop(), r == null || r.stop(), w.sceneDefReady = !1;
35198
+ e = !0, Sn();
35199
+ let a = u.current;
35200
+ t.finally(() => s.disposeIfCurrent(a)), (i = f.current) == null || i.call(f), f.current = null, u.current = null, d.current = null, m.current = null, o(null), n == null || n.stop(), r == null || r.stop(), T.sceneDefReady = !1;
35070
35201
  };
35071
35202
  }, [
35072
35203
  h,
35073
- D,
35204
+ j,
35074
35205
  s,
35075
- k
35206
+ M
35076
35207
  ]);
35077
- let j = (0, P.useCallback)((e, t, n, r) => {
35078
- var i, a, d;
35079
- c.current = e, l.current = t, f.current = r, o(e), s.attach(e, n, r), Vt(t, C.current), (i = D.current) == null || i.setTarget(w.dimmed, { immediate: !0 }), (a = k.current) == null || a.setTarget(w.dimmed, { immediate: !0 }), (d = u.current) == null || d.call(u);
35080
- let p = () => an(s, x(t.getBearing()));
35081
- t.on("rotate", p), t.on("rotateend", p), u.current = () => {
35208
+ let te = (0, N.useCallback)((e, t, n, r) => {
35209
+ var i, a, c, l;
35210
+ u.current = e, d.current = t, m.current = r, o(e), s.attach(e, n, r, b ? wn(b) : 1), Xt(t, D.current), (i = j.current) == null || i.setTarget(T.dimmed, { immediate: !0 }), (a = M.current) == null || a.setTarget(T.dimmed, { immediate: !0 }), (c = f.current) == null || c.call(f);
35211
+ let p = () => {
35212
+ var e;
35213
+ Cn(s, v(t.getBearing() - ((e = h == null ? void 0 : h.bearing) == null ? 0 : e)));
35214
+ };
35215
+ t.on("rotate", p), t.on("rotateend", p), f.current = () => {
35082
35216
  t.off("rotate", p), t.off("rotateend", p);
35083
- }, _(s);
35084
- let m = s.ptScaleRegistry.invoke(s.scale || 1);
35085
- m.length && s.update(...m), an(s, x(t.getBearing())), S.layerStore.layersLoaded = !0, S.fp.onFpConfigured && S.fp.onFpConfigured(), w.sceneDefReady = !0, r();
35217
+ }, x(s);
35218
+ let g = s.ptScaleRegistry.invoke(s.scale || 1);
35219
+ g.length && s.update(...g), Cn(s, v(t.getBearing() - ((l = h == null ? void 0 : h.bearing) == null ? 0 : l))), C.layerStore.layersLoaded = !0, C.fp.onFpConfigured && C.fp.onFpConfigured(), T.sceneDefReady = !0, r();
35086
35220
  }, [
35087
35221
  s,
35088
- D,
35089
- k
35222
+ j,
35223
+ b,
35224
+ M
35090
35225
  ]);
35091
- (0, P.useEffect)(() => {
35092
- C.current = b, Vt(l.current, b, !0);
35093
- }, [b]), qt(a, s), Jt(a, s), Gt(s, l, h), It(l, h), ee({
35094
- enabled: S.layerStore.layersLoaded && w.buildRoute,
35226
+ (0, N.useEffect)(() => {
35227
+ D.current = S, Xt(d.current, S, !0);
35228
+ }, [S]), rn(a, s), an(a, s), tn(s, d, h), Ut(d, h, r), ne({
35229
+ enabled: C.layerStore.layersLoaded && T.buildRoute,
35095
35230
  rendererService: s
35096
35231
  });
35097
- let M = (t = (n = m.flags) == null ? void 0 : n.busRoutes) == null ? !1 : t;
35098
- O({
35099
- permission: S.layerStore.layersLoaded && M,
35232
+ let re = (t = (n = _.flags) == null ? void 0 : n.busRoutes) == null ? !1 : t;
35233
+ A({
35234
+ permission: C.layerStore.layersLoaded && re,
35100
35235
  rendererService: s,
35101
- dataJsonUrl: `https://${nn}/v1/routes?expo=${v.EXPO}`,
35102
- websocketUrl: `wss://${nn}/locations?expo=${v.EXPO}`
35236
+ dataJsonUrl: `https://${xn}/v1/routes?expo=${E.EXPO}`,
35237
+ websocketUrl: `wss://${xn}/locations?expo=${E.EXPO}`
35103
35238
  });
35104
- let te = (0, P.useCallback)((e) => {
35105
- console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), S.maplibreStore.deactivateMaplibre();
35239
+ let ae = (0, N.useCallback)((e) => {
35240
+ console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), C.maplibreStore.deactivateMaplibre();
35106
35241
  }, []);
35107
- if (!h || !g || !y || !r) return null;
35108
- let ne = `${g.center.join(",")}:${g.bearing}:${g.zoom}`;
35109
- return /* @__PURE__ */ (0, mt.jsx)(Dt, {
35242
+ if (!h || !y || !b || !r) return null;
35243
+ let se = `${y.center.join(",")}:${y.bearing}:${y.zoom}`;
35244
+ return /* @__PURE__ */ (0, gt.jsx)(kt, {
35110
35245
  sceneDef: r,
35111
- geoConfig: g,
35112
- staticTransform: y,
35113
- tileSource: T,
35114
- mapOptions: b,
35115
- onRendererReady: j,
35116
- onMapDimLayerReady: A,
35117
- onMapLoadError: te
35118
- }, ne);
35246
+ geoConfig: y,
35247
+ staticTransform: b,
35248
+ tileSource: k,
35249
+ mapOptions: S,
35250
+ onRendererReady: te,
35251
+ onMapDimLayerReady: ee,
35252
+ onMapLoadError: ae
35253
+ }, se);
35119
35254
  });
35120
35255
  //#endregion
35121
- export { on as default };
35256
+ export { Tn as default };
35122
35257
 
35123
35258
  ;/* vite-per-chunk-css */
35124
35259
  __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);