@expofp/floorplan 3.29.0 → 3.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/browser/{Button-l_hPqiuU.js → Button-CQwO9tIg.js} +5 -5
  2. package/dist/browser/{CookieConsent-EffOZJgD.js → CookieConsent-C-b_gQuN.js} +7 -7
  3. package/dist/browser/{Debug-rOD-YWud.js → Debug-fQQyYJXu.js} +8 -8
  4. package/dist/browser/{DebugTools-BwsNJtP5.js → DebugTools-BCE8StGX.js} +6 -6
  5. package/dist/browser/{Demo-DQocGpY4.js → Demo-Cl9GA9tB.js} +10 -10
  6. package/dist/browser/{Free-jKrNfKhM.js → Free-DI9bpsX5.js} +10 -10
  7. package/dist/browser/{GalleryContainer-De1iNCNG.js → GalleryContainer-DKLp4FU4.js} +10 -10
  8. package/dist/browser/{GpsLoader-BenMF1AT.js → GpsLoader-CiDmup5t.js} +11 -11
  9. package/dist/browser/{KioskStore-jkf_5ZIR.js → KioskStore-BVpFrfzX.js} +6 -6
  10. package/dist/browser/{MaplibreAdapter-CE4B_TIi.js → MaplibreAdapter-BJxJxnzx.js} +824 -824
  11. package/dist/browser/{ModalContainer-BloTbQku.js → ModalContainer-NXKmni8w.js} +11 -11
  12. package/dist/browser/{PermissionNotice-DS0oqKu9.js → PermissionNotice-BkAvCmPD.js} +7 -7
  13. package/dist/browser/{SetKioskMode-HtAKOPC9.js → SetKioskMode-CsV-ckXR.js} +10 -10
  14. package/dist/browser/{ShowKiosk-7tbZQIDI.js → ShowKiosk-CqhWjqxE.js} +11 -11
  15. package/dist/browser/{ViewerMenuPanel-XbhQNWx_.js → ViewerMenuPanel-CCca0xxk.js} +22 -22
  16. package/dist/browser/{add-debug-secret-listener-CkeCkfaL.js → add-debug-secret-listener-CxE72n53.js} +1 -1
  17. package/dist/browser/{adopt-global-settings-Be-vT3wB.js → adopt-global-settings-nxeDDXp1.js} +9 -9
  18. package/dist/browser/{boolean-editor-HgpSyxYE.js → boolean-editor-DPMQ0YU3.js} +9 -9
  19. package/dist/browser/{bootIntercom-CdnkOUSF.js → bootIntercom-DBS2-Ra7.js} +3 -3
  20. package/dist/browser/bundle.json +69 -69
  21. package/dist/browser/{camera-events-Cfr8wY1s.js → camera-events-rGM_y-1M.js} +1 -1
  22. package/dist/browser/{classnames-gre2OstJ.js → classnames-CkjzoXiH.js} +2 -2
  23. package/dist/browser/{client-DEv3diyQ.js → client-DiPQk1ur.js} +5 -5
  24. package/dist/browser/{components-cxKqJ5jL.js → components-CAI7tVu_.js} +1170 -983
  25. package/dist/browser/{debug-context-BgfkvL7V.js → debug-context-Cx6l3A8H.js} +5 -5
  26. package/dist/browser/{debug-overlay-CblRDbHl.js → debug-overlay-BlCwf63z.js} +10 -10
  27. package/dist/browser/{debug-ui-DYJdJ6jj.js → debug-ui-CL9NYiBY.js} +6 -6
  28. package/dist/browser/{dimming-zcyPvfOo.js → dimming-BrddBap-.js} +8 -8
  29. package/dist/browser/{dist-CRKbXPIc.js → dist-Bdec-Nxs.js} +6 -6
  30. package/dist/browser/{dist-CjHkfOEr.js → dist-DbtaUrV6.js} +5 -5
  31. package/dist/browser/{dist-DK1wSRUs.js → dist-JdkIiWfj.js} +3 -3
  32. package/dist/browser/{efp-debug-init-CakRcoee.js → efp-debug-init-DDFZgkyx.js} +3 -3
  33. package/dist/browser/{enum-editor-aOqv4ECw.js → enum-editor-BBt11YmB.js} +4 -4
  34. package/dist/browser/{es5-CYJMN1yS.js → es5-DVB0QLwS.js} +2 -2
  35. package/dist/browser/{event-not-found-CFV7733L.js → event-not-found-hzkyr5mJ.js} +1 -1
  36. package/dist/browser/{exports-Cg3bnLdL.js → exports-DRumaK8s.js} +1 -1
  37. package/dist/browser/{favicon-CnMKXilr.js → favicon-ByjB1rX0.js} +1 -1
  38. package/dist/browser/{fetch-retry.umd-BRv-ZUsT.js → fetch-retry.umd-CEIMoenq.js} +2 -2
  39. package/dist/browser/{flex-Dey_v5Rg.js → flex-CrHBC47v.js} +5 -5
  40. package/dist/browser/{floorplan.loader-Czl85866.js → floorplan.loader-UtQ5sLSE.js} +10 -10
  41. package/dist/browser/{floorplan.ready-DvJANOyh.js → floorplan.ready-BBRE91D6.js} +18 -18
  42. package/dist/browser/{fuse-D6dqsPyE.js → fuse-D9Fc86Mp.js} +2 -2
  43. package/dist/browser/{i18n-q7qL5ZoI.js → i18n-C3pmOHfm.js} +5 -5
  44. package/dist/browser/index.js +14 -14
  45. package/dist/browser/{index.module-BOYpQR7T.js → index.module-ScroRsV4.js} +4 -4
  46. package/dist/browser/{integrateKiosk-BXyk9qXx.js → integrateKiosk-Bp4Usv7I.js} +5 -5
  47. package/dist/browser/{is-webview-BTf8kTai.js → is-webview-B0VkhBwH.js} +1 -1
  48. package/dist/browser/{jsx-runtime-CDl3fsrH.js → jsx-runtime-BV6RRH6M.js} +2 -2
  49. package/dist/browser/{kiosk-record-g8ouzTVC.js → kiosk-record-NHohuRZk.js} +1 -1
  50. package/dist/browser/{lib-DEuN4kdx.js → lib-D4o7UxhZ.js} +3 -3
  51. package/dist/browser/{loadImage-C3eJlb8I.js → loadImage-CmTxbx4i.js} +4 -4
  52. package/dist/browser/{logDeviceInfo-l6Au-h-6.js → logDeviceInfo-BJEg8M4e.js} +9 -9
  53. package/dist/browser/{mobx-xecOIlkC.js → mobx-LsEeQkKC.js} +4 -4
  54. package/dist/browser/{optional-boolean-editor-B7aKIM3h.js → optional-boolean-editor-DuCfWYyQ.js} +3 -3
  55. package/dist/browser/{optional-enum-editor-BAe9FxTq.js → optional-enum-editor-Q-snbPWN.js} +4 -4
  56. package/dist/browser/{optional-string-editor-Da9aXoKe.js → optional-string-editor-Bd-V93ee.js} +4 -4
  57. package/dist/browser/{particles.min-DURYN-qI.js → particles.min-BXxEUmtZ.js} +2 -2
  58. package/dist/browser/{react-dom-BcgXsF5y.js → react-dom-BpJ-AdUf.js} +3 -3
  59. package/dist/browser/{react-DFBml8M2.js → react-yYxHcXya.js} +2 -2
  60. package/dist/browser/{rolldown-runtime-BE082EJH.js → rolldown-runtime-DB1nSOXr.js} +1 -1
  61. package/dist/browser/{scheduler-BTdl9Z-L.js → scheduler-DgvhfFMA.js} +2 -2
  62. package/dist/browser/{select-DLQkYoyz.js → select-DC3zsJbM.js} +10 -10
  63. package/dist/browser/{settings-CrCkwXD5.js → settings-CmbIseSw.js} +2 -2
  64. package/dist/browser/{settings-item-J-nvw2nS.js → settings-item-Dp6uSDI5.js} +6 -6
  65. package/dist/browser/{store-Dk0JLM7b.js → store-BQJFbecZ.js} +103 -99
  66. package/dist/browser/{string-editor-BwskUza8.js → string-editor-DKRik8qD.js} +4 -4
  67. package/dist/browser/{text-field-BgJYP7NI.js → text-field-D3Rb6XM1.js} +5 -5
  68. package/dist/browser/{theme-DZRNImDh.js → theme-B-lC93LF.js} +8 -8
  69. package/dist/browser/{ui-DIbqA_0R.js → ui-D9c3dK9d.js} +8 -8
  70. package/dist/browser/{useRenderTarget-QjG-IZYX.js → useRenderTarget-Cn4JNaNq.js} +5 -5
  71. package/dist/browser/{viewport-Cre6yS9D.js → viewport-B7y5otP7.js} +3 -3
  72. package/dist/esm/components/AutocompleteContainer.d.ts +1 -1
  73. package/dist/esm/components/AutocompleteContainer.js +1 -1
  74. package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
  75. package/dist/esm/components/OverlayContainer.js +1 -1
  76. package/dist/esm/components/SearchBox.js +1 -1
  77. package/dist/esm/store/RouteStore.js +1 -1
  78. package/dist/esm/store/UIState.d.ts +2 -0
  79. package/dist/esm/store/UIState.js +1 -1
  80. package/dist/esm/test/store-harness.d.ts +19 -0
  81. package/dist/esm/test/store-harness.js +1 -0
  82. package/package.json +10 -10
@@ -2,23 +2,23 @@ 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.29.0" };
5
+ e.SENTRY_RELEASE = { id: "3.31.0" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "51605e40-1e9a-476e-93ef-b11d649c2b47", e._sentryDebugIdIdentifier = "sentry-dbid-51605e40-1e9a-476e-93ef-b11d649c2b47");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "bf0aed95-cb33-4d01-81ba-9a2d8448bdbd", e._sentryDebugIdIdentifier = "sentry-dbid-bf0aed95-cb33-4d01-81ba-9a2d8448bdbd");
8
8
  } catch {}
9
9
  })();
10
- import { r as e, t } from "./rolldown-runtime-BE082EJH.js";
11
- import { X as n, Y as r, v as i, y as a } from "./i18n-q7qL5ZoI.js";
12
- import { t as o } from "./react-DFBml8M2.js";
13
- import { t as s } from "./jsx-runtime-CDl3fsrH.js";
14
- import { n as c } from "./loadImage-C3eJlb8I.js";
15
- import { At as l, Cn as u, D as d, En as f, Ft as p, G as m, Ht as h, It as g, L as _, Lt as v, Mt as y, Sn as b, St as x, Tn as S, c as C, d as w, f as T, in as E, kn as D, kt as O, l as k, p as A, qt as j, u as M, v as N, xn as ee, xt as P, yn as te, z as ne } from "./store-Dk0JLM7b.js";
16
- import { t as re } from "./index.module-BOYpQR7T.js";
17
- import { r as ie } from "./mobx-xecOIlkC.js";
18
- import { t as ae } from "./viewport-Cre6yS9D.js";
19
- import { a as oe, c as se, i as ce, n as le, o as ue, r as de, s as fe, t as pe } from "./dimming-zcyPvfOo.js";
10
+ import { r as e, t } from "./rolldown-runtime-DB1nSOXr.js";
11
+ import { X as n, Y as r, v as i, y as a } from "./i18n-C3pmOHfm.js";
12
+ import { t as o } from "./react-yYxHcXya.js";
13
+ import { t as s } from "./jsx-runtime-BV6RRH6M.js";
14
+ import { n as c } from "./loadImage-CmTxbx4i.js";
15
+ import { At as l, Cn as u, D as d, En as f, Ft as p, G as m, Ht as h, It as g, L as _, Lt as v, Mt as y, Sn as b, St as x, Tn as S, c as C, d as w, f as T, in as E, kn as D, kt as O, l as k, p as A, qt as j, u as M, v as ee, xn as te, xt as N, yn as ne, z as re } from "./store-BQJFbecZ.js";
16
+ import { t as ie } from "./index.module-ScroRsV4.js";
17
+ import { r as ae } from "./mobx-LsEeQkKC.js";
18
+ import { t as oe } from "./viewport-B7y5otP7.js";
19
+ import { a as se, c as ce, i as le, n as ue, o as de, r as fe, s as pe, t as me } from "./dimming-BrddBap-.js";
20
20
  //#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
21
- var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__PURE__ */ t(((e, t) => {
21
+ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__PURE__ */ t(((e, t) => {
22
22
  (function(n, r) {
23
23
  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());
24
24
  })(e, (function() {
@@ -317,58 +317,58 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
317
317
  function M(e, t, n) {
318
318
  return e * (1 - n) + t * n;
319
319
  }
320
- function N(e) {
320
+ function ee(e) {
321
321
  if (e <= 0) return 0;
322
322
  if (e >= 1) return 1;
323
323
  let t = e * e, n = t * e;
324
324
  return 4 * (e < .5 ? n : 3 * (e - t) + n - .75);
325
325
  }
326
- function ee(e, t, n, r) {
326
+ function te(e, t, n, r) {
327
327
  let i = new o(e, t, n, r);
328
328
  return (e) => i.solve(e);
329
329
  }
330
- let P = ee(.25, .1, .25, 1);
331
- function te(e, t, n) {
330
+ let N = te(.25, .1, .25, 1);
331
+ function ne(e, t, n) {
332
332
  return Math.min(n, Math.max(t, e));
333
333
  }
334
- function ne(e, t, n) {
334
+ function re(e, t, n) {
335
335
  let r = n - t, i = ((e - t) % r + r) % r + t;
336
336
  return i === t ? n : i;
337
337
  }
338
- function re(e, ...t) {
338
+ function ie(e, ...t) {
339
339
  for (let n of t) for (let t in n) e[t] = n[t];
340
340
  return e;
341
341
  }
342
- let ie = 1;
343
- function ae(e, t, n) {
342
+ let ae = 1;
343
+ function oe(e, t, n) {
344
344
  let r = {};
345
345
  for (let n in e) r[n] = t.call(this, e[n], n, e);
346
346
  return r;
347
347
  }
348
- function oe(e, t, n) {
348
+ function se(e, t, n) {
349
349
  let r = {};
350
350
  for (let n in e) t.call(this, e[n], n, e) && (r[n] = e[n]);
351
351
  return r;
352
352
  }
353
- function se(e) {
354
- return Array.isArray(e) ? e.map(se) : typeof e == "object" && e ? ae(e, se) : e;
353
+ function ce(e) {
354
+ return Array.isArray(e) ? e.map(ce) : typeof e == "object" && e ? oe(e, ce) : e;
355
355
  }
356
- let ce = {};
357
- function le(e) {
358
- ce[e] || (typeof console < "u" && console.warn(e), ce[e] = !0);
356
+ let le = {};
357
+ function ue(e) {
358
+ le[e] || (typeof console < "u" && console.warn(e), le[e] = !0);
359
359
  }
360
- function ue(e, t, n) {
360
+ function de(e, t, n) {
361
361
  return (n.y - e.y) * (t.x - e.x) > (t.y - e.y) * (n.x - e.x);
362
362
  }
363
- function de(e) {
363
+ function fe(e) {
364
364
  return typeof WorkerGlobalScope < "u" && e !== void 0 && e instanceof WorkerGlobalScope;
365
365
  }
366
- let fe = null;
367
- function pe(e) {
366
+ let pe = null;
367
+ function me(e) {
368
368
  return typeof ImageBitmap < "u" && e instanceof ImageBitmap;
369
369
  }
370
- let F = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
371
- function me(e, n, r, i, a) {
370
+ let P = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
371
+ function he(e, n, r, i, a) {
372
372
  return t(this, void 0, void 0, (function* () {
373
373
  if (typeof VideoFrame > "u") throw Error("VideoFrame not supported");
374
374
  let t = new VideoFrame(e, { timestamp: 0 });
@@ -400,25 +400,25 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
400
400
  }
401
401
  }));
402
402
  }
403
- let he, ge;
404
- function _e(e, t, n, r) {
403
+ let ge, _e;
404
+ function ve(e, t, n, r) {
405
405
  return e.addEventListener(t, n, r), { unsubscribe: () => {
406
406
  e.removeEventListener(t, n, r);
407
407
  } };
408
408
  }
409
- function ve(e) {
409
+ function ye(e) {
410
410
  return e * Math.PI / 180;
411
411
  }
412
- function ye(e) {
412
+ function be(e) {
413
413
  return e / Math.PI * 180;
414
414
  }
415
- let be = {
415
+ let xe = {
416
416
  touchstart: !0,
417
417
  touchmove: !0,
418
418
  touchmoveWindow: !0,
419
419
  touchend: !0,
420
420
  touchcancel: !0
421
- }, xe = {
421
+ }, Se = {
422
422
  dblclick: !0,
423
423
  click: !0,
424
424
  mouseover: !0,
@@ -430,55 +430,55 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
430
430
  mouseupWindow: !0,
431
431
  contextmenu: !0,
432
432
  wheel: !0
433
- }, Se = "AbortError";
434
- class Ce extends Error {
435
- constructor(e = Se) {
436
- super(e instanceof Error ? e.message : e), this.name = Se, e instanceof Error && e.stack && (this.stack = e.stack);
433
+ }, Ce = "AbortError";
434
+ class we extends Error {
435
+ constructor(e = Ce) {
436
+ super(e instanceof Error ? e.message : e), this.name = Ce, e instanceof Error && e.stack && (this.stack = e.stack);
437
437
  }
438
438
  }
439
- function we(e) {
440
- return e instanceof Error && e.name === Se;
441
- }
442
439
  function Te(e) {
443
- if (e.aborted) throw new Ce(e.reason);
440
+ return e instanceof Error && e.name === Ce;
441
+ }
442
+ function Ee(e) {
443
+ if (e.aborted) throw new we(e.reason);
444
444
  }
445
- let Ee = {
445
+ let De = {
446
446
  MAX_PARALLEL_IMAGE_REQUESTS: 16,
447
447
  MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME: 8,
448
448
  MAX_TILE_CACHE_ZOOM_LEVELS: 5,
449
449
  REGISTERED_PROTOCOLS: {},
450
450
  WORKER_URL: ""
451
451
  };
452
- function De(e) {
453
- return Ee.REGISTERED_PROTOCOLS[e.substring(0, e.indexOf("://"))];
452
+ function Oe(e) {
453
+ return De.REGISTERED_PROTOCOLS[e.substring(0, e.indexOf("://"))];
454
454
  }
455
- let Oe = "global-dispatcher";
456
- class I extends Error {
455
+ let ke = "global-dispatcher";
456
+ class F extends Error {
457
457
  constructor(e, t, n, r) {
458
458
  super(`AJAXError: ${t} (${e}): ${n}`), this.status = e, this.statusText = t, this.url = n, this.body = r;
459
459
  }
460
460
  }
461
- let ke = () => {
461
+ let Ae = () => {
462
462
  var e;
463
- return de(self) ? (e = self.worker) == null ? void 0 : e.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href;
464
- }, Ae = function(e, n) {
463
+ return fe(self) ? (e = self.worker) == null ? void 0 : e.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href;
464
+ }, je = function(e, n) {
465
465
  return t(this, void 0, void 0, (function* () {
466
466
  var r, i;
467
467
  if (e.url.includes("://") && !/^https?:|^file:/.test(e.url)) {
468
- let t = De(e.url);
468
+ let t = Oe(e.url);
469
469
  if (t) {
470
470
  let r = yield t(e, n);
471
- return r.data || e.type !== "arrayBuffer" ? r : re(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
471
+ return r.data || e.type !== "arrayBuffer" ? r : ie(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
472
472
  }
473
- if (de(self) && (r = self.worker) != null && r.actor) return self.worker.actor.sendAsync({
473
+ if (fe(self) && (r = self.worker) != null && r.actor) return self.worker.actor.sendAsync({
474
474
  type: "GR",
475
475
  data: e,
476
- targetMapId: Oe
476
+ targetMapId: ke
477
477
  }, n);
478
478
  }
479
479
  if (!((e) => {
480
480
  var t;
481
- return e.startsWith("file:") || ((t = ke()) == null ? void 0 : t.startsWith("file:")) && !/^\w+:/.test(e);
481
+ return e.startsWith("file:") || ((t = Ae()) == null ? void 0 : t.startsWith("file:")) && !/^\w+:/.test(e);
482
482
  })(e.url)) {
483
483
  if (fetch && Request && AbortController && Object.hasOwn(Request.prototype, "signal")) return function(e, n) {
484
484
  return t(this, void 0, void 0, (function* () {
@@ -488,7 +488,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
488
488
  credentials: e.credentials,
489
489
  headers: e.headers,
490
490
  cache: e.cache,
491
- referrer: ke(),
491
+ referrer: Ae(),
492
492
  referrerPolicy: e.referrerPolicy,
493
493
  signal: n.signal
494
494
  }), r, i;
@@ -496,15 +496,15 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
496
496
  try {
497
497
  r = yield fetch(t);
498
498
  } catch (t) {
499
- throw we(t) ? t : new I(0, A(t).message, e.url, new Blob());
499
+ throw Te(t) ? t : new F(0, A(t).message, e.url, new Blob());
500
500
  }
501
501
  if (!r.ok) {
502
502
  let t = yield r.blob();
503
- throw new I(r.status, r.statusText, e.url, t);
503
+ throw new F(r.status, r.statusText, e.url, t);
504
504
  }
505
505
  i = e.type === "arrayBuffer" || e.type === "image" ? r.arrayBuffer() : e.type === "json" ? r.json() : r.text();
506
506
  let a = yield i;
507
- return Te(n.signal), {
507
+ return Ee(n.signal), {
508
508
  data: a,
509
509
  cacheControl: r.headers.get("Cache-Control"),
510
510
  expires: r.headers.get("Expires"),
@@ -512,11 +512,11 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
512
512
  };
513
513
  }));
514
514
  }(e, n);
515
- if (de(self) && (i = self.worker) != null && i.actor) return self.worker.actor.sendAsync({
515
+ if (fe(self) && (i = self.worker) != null && i.actor) return self.worker.actor.sendAsync({
516
516
  type: "GR",
517
517
  data: e,
518
518
  mustQueue: !0,
519
- targetMapId: Oe
519
+ targetMapId: ke
520
520
  }, n);
521
521
  }
522
522
  return function(e, t) {
@@ -544,65 +544,65 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
544
544
  });
545
545
  } else {
546
546
  let t = new Blob([a.response], { type: a.getResponseHeader("Content-Type") });
547
- r(new I(a.status, a.statusText, e.url, t));
547
+ r(new F(a.status, a.statusText, e.url, t));
548
548
  }
549
549
  }, t.signal.addEventListener("abort", (() => {
550
- a.abort(), r(new Ce(t.signal.reason));
550
+ a.abort(), r(new we(t.signal.reason));
551
551
  })), a.send(e.body);
552
552
  }));
553
553
  }(e, n);
554
554
  }));
555
555
  };
556
- function je(e) {
556
+ function Me(e) {
557
557
  if (!e || e.indexOf("://") <= 0 || e.startsWith("data:image/") || e.startsWith("blob:")) return !0;
558
558
  let t = new URL(e), n = window.location;
559
559
  return t.protocol === n.protocol && t.host === n.host;
560
560
  }
561
- function Me(e, t, n) {
561
+ function Ne(e, t, n) {
562
562
  var r;
563
563
  (r = n[e]) != null && r.includes(t) || (n[e] || (n[e] = []), n[e].push(t));
564
564
  }
565
- function Ne(e, t, n) {
565
+ function Pe(e, t, n) {
566
566
  if (n != null && n[e]) {
567
567
  let r = n[e].indexOf(t);
568
568
  r !== -1 && n[e].splice(r, 1);
569
569
  }
570
570
  }
571
- class Pe {
571
+ class Fe {
572
572
  constructor(e, t = {}) {
573
- re(this, t), this.type = e;
573
+ ie(this, t), this.type = e;
574
574
  }
575
575
  }
576
- class Fe extends Pe {
576
+ class Ie extends Fe {
577
577
  constructor(e, t = {}) {
578
- super("error", re({ error: e }, t));
578
+ super("error", ie({ error: e }, t));
579
579
  }
580
580
  }
581
- class Ie {
581
+ class Le {
582
582
  on(e, t) {
583
- return this._listeners || (this._listeners = {}), Me(e, t, this._listeners), { unsubscribe: () => {
583
+ return this._listeners || (this._listeners = {}), Ne(e, t, this._listeners), { unsubscribe: () => {
584
584
  this.off(e, t);
585
585
  } };
586
586
  }
587
587
  off(e, t) {
588
- return Ne(e, t, this._listeners), Ne(e, t, this._oneTimeListeners), this;
588
+ return Pe(e, t, this._listeners), Pe(e, t, this._oneTimeListeners), this;
589
589
  }
590
590
  once(e, t) {
591
- return t ? (this._oneTimeListeners || (this._oneTimeListeners = {}), Me(e, t, this._oneTimeListeners), this) : new Promise(((t) => this.once(e, t)));
591
+ return t ? (this._oneTimeListeners || (this._oneTimeListeners = {}), Ne(e, t, this._oneTimeListeners), this) : new Promise(((t) => this.once(e, t)));
592
592
  }
593
593
  fire(e, t) {
594
594
  var n, r;
595
- typeof e == "string" && (e = new Pe(e, t || {}));
595
+ typeof e == "string" && (e = new Fe(e, t || {}));
596
596
  let i = e.type;
597
597
  if (this.listens(i)) {
598
598
  e.target = this;
599
599
  let t = (n = this._listeners) != null && n[i] ? this._listeners[i].slice() : [];
600
600
  for (let n of t) n.call(this, e);
601
601
  let a = (r = this._oneTimeListeners) != null && r[i] ? this._oneTimeListeners[i].slice() : [];
602
- for (let t of a) Ne(i, t, this._oneTimeListeners), t.call(this, e);
602
+ for (let t of a) Pe(i, t, this._oneTimeListeners), t.call(this, e);
603
603
  let o = this._eventedParent;
604
- o && (re(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
605
- } else e instanceof Fe && console.error(e.error);
604
+ o && (ie(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
605
+ } else e instanceof Ie && console.error(e.error);
606
606
  return this;
607
607
  }
608
608
  listens(e) {
@@ -613,7 +613,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
613
613
  return this._eventedParent = e, this._eventedParentData = t, this;
614
614
  }
615
615
  }
616
- var R = {
616
+ var I = {
617
617
  $version: 8,
618
618
  $root: {
619
619
  version: {
@@ -3224,7 +3224,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
3224
3224
  }
3225
3225
  }
3226
3226
  };
3227
- let Le = [
3227
+ let Re = [
3228
3228
  "type",
3229
3229
  "source",
3230
3230
  "source-layer",
@@ -3233,22 +3233,22 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
3233
3233
  "filter",
3234
3234
  "layout"
3235
3235
  ];
3236
- function Re(e, t) {
3236
+ function ze(e, t) {
3237
3237
  let n = {};
3238
3238
  for (let t in e) t !== "ref" && (n[t] = e[t]);
3239
- return Le.forEach(((e) => {
3239
+ return Re.forEach(((e) => {
3240
3240
  e in t && (n[e] = t[e]);
3241
3241
  })), n;
3242
3242
  }
3243
- function ze(e, t) {
3243
+ function R(e, t) {
3244
3244
  if (Array.isArray(e)) {
3245
3245
  if (!Array.isArray(t) || e.length !== t.length) return !1;
3246
- for (let n = 0; n < e.length; n++) if (!ze(e[n], t[n])) return !1;
3246
+ for (let n = 0; n < e.length; n++) if (!R(e[n], t[n])) return !1;
3247
3247
  return !0;
3248
3248
  }
3249
3249
  if (typeof e == "object" && e && t !== null) {
3250
3250
  if (typeof t != "object" || Object.keys(e).length !== Object.keys(t).length) return !1;
3251
- for (let n in e) if (!ze(e[n], t[n])) return !1;
3251
+ for (let n in e) if (!R(e[n], t[n])) return !1;
3252
3252
  return !0;
3253
3253
  }
3254
3254
  return e === t;
@@ -3273,13 +3273,13 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
3273
3273
  }
3274
3274
  function We(e, t, n) {
3275
3275
  let r;
3276
- for (r in e[n]) if (Object.prototype.hasOwnProperty.call(e[n], r) && r !== "data" && !ze(e[n][r], t[n][r])) return !1;
3277
- for (r in t[n]) if (Object.prototype.hasOwnProperty.call(t[n], r) && r !== "data" && !ze(e[n][r], t[n][r])) return !1;
3276
+ for (r in e[n]) if (Object.prototype.hasOwnProperty.call(e[n], r) && r !== "data" && !R(e[n][r], t[n][r])) return !1;
3277
+ for (r in t[n]) if (Object.prototype.hasOwnProperty.call(t[n], r) && r !== "data" && !R(e[n][r], t[n][r])) return !1;
3278
3278
  return !0;
3279
3279
  }
3280
3280
  function Ge(e, t, n, r, i, a) {
3281
3281
  e = e || {}, t = t || {};
3282
- for (let o in e) Object.prototype.hasOwnProperty.call(e, o) && (ze(e[o], t[o]) || n.push({
3282
+ for (let o in e) Object.prototype.hasOwnProperty.call(e, o) && (R(e[o], t[o]) || n.push({
3283
3283
  command: a,
3284
3284
  args: [
3285
3285
  r,
@@ -3288,7 +3288,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
3288
3288
  i
3289
3289
  ]
3290
3290
  }));
3291
- for (let o in t) Object.prototype.hasOwnProperty.call(t, o) && !Object.prototype.hasOwnProperty.call(e, o) && (ze(e[o], t[o]) || n.push({
3291
+ for (let o in t) Object.prototype.hasOwnProperty.call(t, o) && !Object.prototype.hasOwnProperty.call(e, o) && (R(e[o], t[o]) || n.push({
3292
3292
  command: a,
3293
3293
  args: [
3294
3294
  r,
@@ -7157,7 +7157,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
7157
7157
  }
7158
7158
  function Ei(e) {
7159
7159
  let t = "";
7160
- for (let n of Le) t += `/${Ti(e[n])}`;
7160
+ for (let n of Re) t += `/${Ti(e[n])}`;
7161
7161
  return t;
7162
7162
  }
7163
7163
  function Di(e) {
@@ -7868,7 +7868,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
7868
7868
  let t = e.value, n = e.key, r = Ui(e);
7869
7869
  return r.length || (t.indexOf("{fontstack}") === -1 && r.push(new z(n, t, "\"glyphs\" url must include a \"{fontstack}\" token")), t.indexOf("{range}") === -1 && r.push(new z(n, t, "\"glyphs\" url must include a \"{range}\" token"))), r;
7870
7870
  }
7871
- function ta(e, t = R) {
7871
+ function ta(e, t = I) {
7872
7872
  let n = [];
7873
7873
  return n = n.concat($i({
7874
7874
  key: "",
@@ -7932,10 +7932,10 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
7932
7932
  return this._globalStateRefs;
7933
7933
  }
7934
7934
  }
7935
- let sa = R, ca = ta, la = ca.light, ua = ca.sky, da = ca.paintProperty, fa = ca.layoutProperty;
7935
+ let sa = I, ca = ta, la = ca.light, ua = ca.sky, da = ca.paintProperty, fa = ca.layoutProperty;
7936
7936
  function pa(e, t) {
7937
7937
  let n = !1;
7938
- if (t != null && t.length) for (let r of t) e.fire(new Fe(Error(r.message))), n = !0;
7938
+ if (t != null && t.length) for (let r of t) e.fire(new Ie(Error(r.message))), n = !0;
7939
7939
  return n;
7940
7940
  }
7941
7941
  class ma {
@@ -8033,7 +8033,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8033
8033
  shallow: n.shallow || []
8034
8034
  };
8035
8035
  }
8036
- X("Object", Object), X("Set", Set), X("TransferableGridIndex", ma), X("Color", W), X("Error", Error), X("AJAXError", I), X("ResolvedImage", qt), X("StylePropertyFunction", di), X("StyleExpression", ai, { omit: ["_evaluator"] }), X("ZoomDependentExpression", li), X("ZoomConstantExpression", ci), X("CompoundExpression", Lr, { omit: ["_evaluate"] });
8036
+ X("Object", Object), X("Set", Set), X("TransferableGridIndex", ma), X("Color", W), X("Error", Error), X("AJAXError", F), X("ResolvedImage", qt), X("StylePropertyFunction", di), X("StyleExpression", ai, { omit: ["_evaluator"] }), X("ZoomDependentExpression", li), X("ZoomConstantExpression", ci), X("CompoundExpression", Lr, { omit: ["_evaluate"] });
8037
8037
  for (let e in Ir) Ir[e]._classRegistryKey || X(`Expression_${e}`, Ir[e]);
8038
8038
  function ga(e) {
8039
8039
  var t;
@@ -8047,10 +8047,10 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8047
8047
  if (typeof e != "object" || !e) return !1;
8048
8048
  let t = _a(e);
8049
8049
  return t && t !== "Object";
8050
- }(e) && (e == null || typeof e == "boolean" || typeof e == "number" || typeof e == "string" || e instanceof Boolean || e instanceof Number || e instanceof String || e instanceof Date || e instanceof RegExp || e instanceof Blob || e instanceof Error || ga(e) || pe(e) || ArrayBuffer.isView(e) || e instanceof ImageData);
8050
+ }(e) && (e == null || typeof e == "boolean" || typeof e == "number" || typeof e == "string" || e instanceof Boolean || e instanceof Number || e instanceof String || e instanceof Date || e instanceof RegExp || e instanceof Blob || e instanceof Error || ga(e) || me(e) || ArrayBuffer.isView(e) || e instanceof ImageData);
8051
8051
  }
8052
8052
  function ya(e, t) {
8053
- if (va(e)) return (ga(e) || pe(e)) && t && t.push(e), ArrayBuffer.isView(e) && t && t.push(e.buffer), e instanceof ImageData && t && t.push(e.data.buffer), e;
8053
+ if (va(e)) return (ga(e) || me(e)) && t && t.push(e), ArrayBuffer.isView(e) && t && t.push(e.buffer), e instanceof ImageData && t && t.push(e.data.buffer), e;
8054
8054
  if (Array.isArray(e)) {
8055
8055
  let n = [];
8056
8056
  for (let r of e) n.push(ya(r, t));
@@ -8260,7 +8260,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8260
8260
  this.property = e, this.value = new za(e, void 0, t);
8261
8261
  }
8262
8262
  transitioned(e, t) {
8263
- return new Ha(this.property, this.value, t, re({}, e.transition, this.transition), e.now);
8263
+ return new Ha(this.property, this.value, t, ie({}, e.transition, this.transition), e.now);
8264
8264
  }
8265
8265
  untransitioned() {
8266
8266
  return new Ha(this.property, this.value, null, {}, 0);
@@ -8274,16 +8274,16 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8274
8274
  return e in this._properties.defaultTransitionablePropertyValues;
8275
8275
  }
8276
8276
  getValue(e) {
8277
- return se(this._values[e].value.value);
8277
+ return ce(this._values[e].value.value);
8278
8278
  }
8279
8279
  setValue(e, t) {
8280
- 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);
8280
+ 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);
8281
8281
  }
8282
8282
  getTransition(e) {
8283
- return se(this._values[e].transition);
8283
+ return ce(this._values[e].transition);
8284
8284
  }
8285
8285
  setTransition(e, t) {
8286
- Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].transition = se(t) || void 0;
8286
+ Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].transition = ce(t) || void 0;
8287
8287
  }
8288
8288
  serialize() {
8289
8289
  let e = {};
@@ -8317,7 +8317,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8317
8317
  if (r < this.begin) return a.possiblyEvaluate(e, t, n);
8318
8318
  {
8319
8319
  let o = (r - this.begin) / (this.end - this.begin);
8320
- return this.property.interpolate(a.possiblyEvaluate(e, t, n), i, N(o));
8320
+ return this.property.interpolate(a.possiblyEvaluate(e, t, n), i, ee(o));
8321
8321
  }
8322
8322
  }
8323
8323
  return i;
@@ -8348,10 +8348,10 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8348
8348
  return e in this._properties.defaultPropertyValues;
8349
8349
  }
8350
8350
  getValue(e) {
8351
- return se(this._values[e].value);
8351
+ return ce(this._values[e].value);
8352
8352
  }
8353
8353
  setValue(e, t) {
8354
- this._values[e] = new za(this._values[e].property, t === null ? void 0 : se(t), this._globalState);
8354
+ this._values[e] = new za(this._values[e].property, t === null ? void 0 : ce(t), this._globalState);
8355
8355
  }
8356
8356
  serialize() {
8357
8357
  let e = {};
@@ -8524,7 +8524,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8524
8524
  }
8525
8525
  X("DataDrivenProperty", Q), X("DataConstantProperty", Z), X("CrossFadedDataDrivenProperty", qa), X("CrossFadedProperty", Ja), X("ColorRampProperty", Ya);
8526
8526
  let Za = " is a PAINT property not a LAYOUT property. Use get/setPaintProperty instead?", Qa = " is a LAYOUT property not a PAINT property. Use get/setLayoutProperty instead?";
8527
- class $a extends Ie {
8527
+ class $a extends Le {
8528
8528
  constructor(e, t, n) {
8529
8529
  if (super(), this.id = e.id, this.type = e.type, this._globalState = n, this._featureFilter = {
8530
8530
  filter: () => !0,
@@ -8583,7 +8583,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8583
8583
  setLayoutProperty(e, t, n = {}) {
8584
8584
  var r;
8585
8585
  if (e === "visibility") return this.visibility = t, this._visibilityExpression.setValue(t), void this.recalculateVisibility();
8586
- (r = this._transitionablePaint) != null && r.hasProperty(e) ? this.fire(new Fe(/* @__PURE__ */ Error(e + Za))) : t != null && this._validate(fa, `layers.${this.id}.layout.${e}`, e, t, n) || this._unevaluatedLayout.setValue(e, t);
8586
+ (r = this._transitionablePaint) != null && r.hasProperty(e) ? this.fire(new Ie(/* @__PURE__ */ Error(e + Za))) : t != null && this._validate(fa, `layers.${this.id}.layout.${e}`, e, t, n) || this._unevaluatedLayout.setValue(e, t);
8587
8587
  }
8588
8588
  getPaintProperty(e) {
8589
8589
  var t, n;
@@ -8597,7 +8597,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8597
8597
  }
8598
8598
  setPaintProperty(e, t, n = {}) {
8599
8599
  var r;
8600
- if (e === "visibility" || (r = this._unevaluatedLayout) != null && r.hasProperty(e)) return this.fire(new Fe(/* @__PURE__ */ Error(e + Qa))), !1;
8600
+ if (e === "visibility" || (r = this._unevaluatedLayout) != null && r.hasProperty(e)) return this.fire(new Ie(/* @__PURE__ */ Error(e + Qa))), !1;
8601
8601
  if (t != null && this._validate(da, `layers.${this.id}.paint.${e}`, e, t, n)) return !1;
8602
8602
  if (e.endsWith(Ra)) return this._transitionablePaint.setTransition(e.slice(0, -11), t || void 0), !1;
8603
8603
  {
@@ -8640,7 +8640,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8640
8640
  layout: (e = this._unevaluatedLayout) == null ? void 0 : e.serialize(),
8641
8641
  paint: (t = this._transitionablePaint) == null ? void 0 : t.serialize()
8642
8642
  };
8643
- 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)));
8643
+ 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)));
8644
8644
  }
8645
8645
  _validate(e, t, n, r, i = {}) {
8646
8646
  return !1 !== (i == null ? void 0 : i.validate) && pa(this, e.call(ca, {
@@ -8648,7 +8648,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8648
8648
  layerType: this.type,
8649
8649
  objectKey: n,
8650
8650
  value: r,
8651
- styleSpec: R,
8651
+ styleSpec: I,
8652
8652
  style: {
8653
8653
  glyphs: !0,
8654
8654
  sprite: !0
@@ -8676,15 +8676,15 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
8676
8676
  let eo;
8677
8677
  var to = { get paint() {
8678
8678
  return eo = eo || new Xa({
8679
- "raster-opacity": new Z(R.paint_raster["raster-opacity"]),
8680
- "raster-hue-rotate": new Z(R.paint_raster["raster-hue-rotate"]),
8681
- "raster-brightness-min": new Z(R.paint_raster["raster-brightness-min"]),
8682
- "raster-brightness-max": new Z(R.paint_raster["raster-brightness-max"]),
8683
- "raster-saturation": new Z(R.paint_raster["raster-saturation"]),
8684
- "raster-contrast": new Z(R.paint_raster["raster-contrast"]),
8685
- resampling: new Z(R.paint_raster.resampling),
8686
- "raster-resampling": new Z(R.paint_raster["raster-resampling"]),
8687
- "raster-fade-duration": new Z(R.paint_raster["raster-fade-duration"])
8679
+ "raster-opacity": new Z(I.paint_raster["raster-opacity"]),
8680
+ "raster-hue-rotate": new Z(I.paint_raster["raster-hue-rotate"]),
8681
+ "raster-brightness-min": new Z(I.paint_raster["raster-brightness-min"]),
8682
+ "raster-brightness-max": new Z(I.paint_raster["raster-brightness-max"]),
8683
+ "raster-saturation": new Z(I.paint_raster["raster-saturation"]),
8684
+ "raster-contrast": new Z(I.paint_raster["raster-contrast"]),
8685
+ resampling: new Z(I.paint_raster.resampling),
8686
+ "raster-resampling": new Z(I.paint_raster["raster-resampling"]),
8687
+ "raster-fade-duration": new Z(I.paint_raster["raster-fade-duration"])
8688
8688
  });
8689
8689
  } };
8690
8690
  class no extends $a {
@@ -9379,7 +9379,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
9379
9379
  }
9380
9380
  prepareSegment(e, t, n, r) {
9381
9381
  let i = this.segments[this.segments.length - 1];
9382
- return e > ss.MAX_VERTEX_ARRAY_LENGTH && le(`Max vertices per segment is ${ss.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${e}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${ss.MAX_VERTEX_ARRAY_LENGTH} vertices.`), this._forceNewSegmentOnNextPrepare || !i || i.vertexLength + e > ss.MAX_VERTEX_ARRAY_LENGTH || i.sortKey !== r ? this.createNewSegment(t, n, r) : i;
9382
+ return e > ss.MAX_VERTEX_ARRAY_LENGTH && ue(`Max vertices per segment is ${ss.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${e}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${ss.MAX_VERTEX_ARRAY_LENGTH} vertices.`), this._forceNewSegmentOnNextPrepare || !i || i.vertexLength + e > ss.MAX_VERTEX_ARRAY_LENGTH || i.sortKey !== r ? this.createNewSegment(t, n, r) : i;
9383
9383
  }
9384
9384
  createNewSegment(e, t, n) {
9385
9385
  let r = {
@@ -9415,7 +9415,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
9415
9415
  }
9416
9416
  }
9417
9417
  function cs(e, t) {
9418
- return 256 * (e = te(Math.floor(e), 0, 255)) + te(Math.floor(t), 0, 255);
9418
+ return 256 * (e = ne(Math.floor(e), 0, 255)) + ne(Math.floor(t), 0, 255);
9419
9419
  }
9420
9420
  ss.MAX_VERTEX_ARRAY_LENGTH = 2 ** 16 - 1, X("SegmentVector", ss);
9421
9421
  let ls = oo([
@@ -9675,7 +9675,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
9675
9675
  this.paintVertexBuffer && this.paintVertexBuffer.destroy();
9676
9676
  }
9677
9677
  setUniform(e, t) {
9678
- let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r = te(this.expression.interpolationFactor(n, this.zoom, this.zoom + 1), 0, 1);
9678
+ let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r = ne(this.expression.interpolationFactor(n, this.zoom, this.zoom + 1), 0, 1);
9679
9679
  e.set(r);
9680
9680
  }
9681
9681
  getBinding(e, t, n) {
@@ -9969,7 +9969,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
9969
9969
  let t = O / e.extent, n = e.loadGeometry();
9970
9970
  for (let e of n) for (let n of e) {
9971
9971
  let e = Math.round(n.x * t), r = Math.round(n.y * t);
9972
- n.x = te(e, Bs, zs), n.y = te(r, Bs, zs), (e < n.x || e > n.x + 1 || r < n.y || r > n.y + 1) && le("Geometry exceeds allowed extent, reduce your vector tile buffer size");
9972
+ 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) && ue("Geometry exceeds allowed extent, reduce your vector tile buffer size");
9973
9973
  }
9974
9974
  return n;
9975
9975
  }
@@ -10120,7 +10120,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
10120
10120
  return !1;
10121
10121
  }
10122
10122
  function Zs(e, t, n, r) {
10123
- return ue(e, n, r) !== ue(t, n, r) && ue(e, t, n) !== ue(e, t, r);
10123
+ return de(e, n, r) !== de(t, n, r) && de(e, t, n) !== de(e, t, r);
10124
10124
  }
10125
10125
  function Qs(e, t, n) {
10126
10126
  let r = n * n;
@@ -10153,8 +10153,8 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
10153
10153
  function nc(e, t, n) {
10154
10154
  let r = n[0], i = n[2];
10155
10155
  if (e.x < r.x && t.x < r.x || e.x > i.x && t.x > i.x || e.y < r.y && t.y < r.y || e.y > i.y && t.y > i.y) return !1;
10156
- let a = ue(e, t, n[0]);
10157
- return a !== ue(e, t, n[1]) || a !== ue(e, t, n[2]) || a !== ue(e, t, n[3]);
10156
+ let a = de(e, t, n[0]);
10157
+ return a !== de(e, t, n[1]) || a !== de(e, t, n[2]) || a !== de(e, t, n[3]);
10158
10158
  }
10159
10159
  function rc(e, t, n) {
10160
10160
  let r = t.paint.get(e).value;
@@ -10212,21 +10212,21 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
10212
10212
  var hc = {
10213
10213
  get paint() {
10214
10214
  return mc = mc || new Xa({
10215
- "circle-radius": new Q(R.paint_circle["circle-radius"]),
10216
- "circle-color": new Q(R.paint_circle["circle-color"]),
10217
- "circle-blur": new Q(R.paint_circle["circle-blur"]),
10218
- "circle-opacity": new Q(R.paint_circle["circle-opacity"]),
10219
- "circle-translate": new Z(R.paint_circle["circle-translate"]),
10220
- "circle-translate-anchor": new Z(R.paint_circle["circle-translate-anchor"]),
10221
- "circle-pitch-scale": new Z(R.paint_circle["circle-pitch-scale"]),
10222
- "circle-pitch-alignment": new Z(R.paint_circle["circle-pitch-alignment"]),
10223
- "circle-stroke-width": new Q(R.paint_circle["circle-stroke-width"]),
10224
- "circle-stroke-color": new Q(R.paint_circle["circle-stroke-color"]),
10225
- "circle-stroke-opacity": new Q(R.paint_circle["circle-stroke-opacity"])
10215
+ "circle-radius": new Q(I.paint_circle["circle-radius"]),
10216
+ "circle-color": new Q(I.paint_circle["circle-color"]),
10217
+ "circle-blur": new Q(I.paint_circle["circle-blur"]),
10218
+ "circle-opacity": new Q(I.paint_circle["circle-opacity"]),
10219
+ "circle-translate": new Z(I.paint_circle["circle-translate"]),
10220
+ "circle-translate-anchor": new Z(I.paint_circle["circle-translate-anchor"]),
10221
+ "circle-pitch-scale": new Z(I.paint_circle["circle-pitch-scale"]),
10222
+ "circle-pitch-alignment": new Z(I.paint_circle["circle-pitch-alignment"]),
10223
+ "circle-stroke-width": new Q(I.paint_circle["circle-stroke-width"]),
10224
+ "circle-stroke-color": new Q(I.paint_circle["circle-stroke-color"]),
10225
+ "circle-stroke-opacity": new Q(I.paint_circle["circle-stroke-opacity"])
10226
10226
  });
10227
10227
  },
10228
10228
  get layout() {
10229
- return pc = pc || new Xa({ "circle-sort-key": new Q(R.layout_circle["circle-sort-key"]) });
10229
+ return pc = pc || new Xa({ "circle-sort-key": new Q(I.layout_circle["circle-sort-key"]) });
10230
10230
  }
10231
10231
  };
10232
10232
  class gc extends $a {
@@ -10260,11 +10260,11 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
10260
10260
  X("HeatmapBucket", _c, { omit: ["layers"] });
10261
10261
  var yc = { get paint() {
10262
10262
  return vc = vc || new Xa({
10263
- "heatmap-radius": new Q(R.paint_heatmap["heatmap-radius"]),
10264
- "heatmap-weight": new Q(R.paint_heatmap["heatmap-weight"]),
10265
- "heatmap-intensity": new Z(R.paint_heatmap["heatmap-intensity"]),
10266
- "heatmap-color": new Ya(R.paint_heatmap["heatmap-color"]),
10267
- "heatmap-opacity": new Z(R.paint_heatmap["heatmap-opacity"])
10263
+ "heatmap-radius": new Q(I.paint_heatmap["heatmap-radius"]),
10264
+ "heatmap-weight": new Q(I.paint_heatmap["heatmap-weight"]),
10265
+ "heatmap-intensity": new Z(I.paint_heatmap["heatmap-intensity"]),
10266
+ "heatmap-color": new Ya(I.paint_heatmap["heatmap-color"]),
10267
+ "heatmap-opacity": new Z(I.paint_heatmap["heatmap-opacity"])
10268
10268
  });
10269
10269
  } };
10270
10270
  function bc(e, { width: t, height: n }, r, i) {
@@ -10411,15 +10411,15 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
10411
10411
  let kc;
10412
10412
  var Ac = { get paint() {
10413
10413
  return kc = kc || new Xa({
10414
- "hillshade-illumination-direction": new Z(R.paint_hillshade["hillshade-illumination-direction"]),
10415
- "hillshade-illumination-altitude": new Z(R.paint_hillshade["hillshade-illumination-altitude"]),
10416
- "hillshade-illumination-anchor": new Z(R.paint_hillshade["hillshade-illumination-anchor"]),
10417
- "hillshade-exaggeration": new Z(R.paint_hillshade["hillshade-exaggeration"]),
10418
- "hillshade-shadow-color": new Z(R.paint_hillshade["hillshade-shadow-color"]),
10419
- "hillshade-highlight-color": new Z(R.paint_hillshade["hillshade-highlight-color"]),
10420
- "hillshade-accent-color": new Z(R.paint_hillshade["hillshade-accent-color"]),
10421
- "hillshade-method": new Z(R.paint_hillshade["hillshade-method"]),
10422
- resampling: new Z(R.paint_hillshade.resampling)
10414
+ "hillshade-illumination-direction": new Z(I.paint_hillshade["hillshade-illumination-direction"]),
10415
+ "hillshade-illumination-altitude": new Z(I.paint_hillshade["hillshade-illumination-altitude"]),
10416
+ "hillshade-illumination-anchor": new Z(I.paint_hillshade["hillshade-illumination-anchor"]),
10417
+ "hillshade-exaggeration": new Z(I.paint_hillshade["hillshade-exaggeration"]),
10418
+ "hillshade-shadow-color": new Z(I.paint_hillshade["hillshade-shadow-color"]),
10419
+ "hillshade-highlight-color": new Z(I.paint_hillshade["hillshade-highlight-color"]),
10420
+ "hillshade-accent-color": new Z(I.paint_hillshade["hillshade-accent-color"]),
10421
+ "hillshade-method": new Z(I.paint_hillshade["hillshade-method"]),
10422
+ resampling: new Z(I.paint_hillshade.resampling)
10423
10423
  });
10424
10424
  } };
10425
10425
  class jc extends $a {
@@ -10432,9 +10432,9 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
10432
10432
  getIlluminationProperties() {
10433
10433
  let e = this.paint.get("hillshade-illumination-direction").values, t = this.paint.get("hillshade-illumination-altitude").values, n = this.paint.get("hillshade-highlight-color").values, r = this.paint.get("hillshade-shadow-color").values, i = Math.max(e.length, t.length, n.length, r.length);
10434
10434
  e = e.concat(Array(i - e.length).fill(e.at(-1))), t = t.concat(Array(i - t.length).fill(t.at(-1))), n = n.concat(Array(i - n.length).fill(n.at(-1))), r = r.concat(Array(i - r.length).fill(r.at(-1)));
10435
- let a = t.map(ve);
10435
+ let a = t.map(ye);
10436
10436
  return {
10437
- directionRadians: e.map(ve),
10437
+ directionRadians: e.map(ye),
10438
10438
  altitudeRadians: a,
10439
10439
  shadowColor: r,
10440
10440
  highlightColor: n
@@ -10447,9 +10447,9 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
10447
10447
  let Mc;
10448
10448
  var Nc = { get paint() {
10449
10449
  return Mc = Mc || new Xa({
10450
- "color-relief-opacity": new Z(R["paint_color-relief"]["color-relief-opacity"]),
10451
- "color-relief-color": new Ya(R["paint_color-relief"]["color-relief-color"]),
10452
- resampling: new Z(R["paint_color-relief"].resampling)
10450
+ "color-relief-opacity": new Z(I["paint_color-relief"]["color-relief-opacity"]),
10451
+ "color-relief-color": new Ya(I["paint_color-relief"]["color-relief-color"]),
10452
+ resampling: new Z(I["paint_color-relief"].resampling)
10453
10453
  });
10454
10454
  } };
10455
10455
  function Pc(e) {
@@ -10507,7 +10507,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
10507
10507
  "mapbox",
10508
10508
  "terrarium",
10509
10509
  "custom"
10510
- ].includes(n)) return void le(`"${n}" is not a valid encoding type. Valid types include "mapbox", "terrarium" and "custom".`);
10510
+ ].includes(n)) return void ue(`"${n}" is not a valid encoding type. Valid types include "mapbox", "terrarium" and "custom".`);
10511
10511
  this.stride = t.height;
10512
10512
  let s = this.dim = t.height - 2;
10513
10513
  switch (this.data = new Uint32Array(t.data.buffer), n) {
@@ -10603,7 +10603,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
10603
10603
  colorStops: []
10604
10604
  }, i = (t.elevationStops.length - 1) / (e - 1);
10605
10605
  for (let e = 0; e < t.elevationStops.length - .5; e += i) r.elevationStops.push(t.elevationStops[Math.round(e)]), r.colorStops.push(t.colorStops[Math.round(e)]);
10606
- return le(`Too many colors in specification of ${this.id} color-relief layer, may not render properly. Max possible colors: ${e}, provided: ${t.elevationStops.length}`), r;
10606
+ return ue(`Too many colors in specification of ${this.id} color-relief layer, may not render properly. Max possible colors: ${e}, provided: ${t.elevationStops.length}`), r;
10607
10607
  }
10608
10608
  _colorRampChanged() {
10609
10609
  return this.colorRampExpression != this._transitionablePaint._values["color-relief-color"].value.expression;
@@ -11250,17 +11250,17 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
11250
11250
  var El = {
11251
11251
  get paint() {
11252
11252
  return Tl = Tl || new Xa({
11253
- "fill-antialias": new Z(R.paint_fill["fill-antialias"]),
11254
- "fill-opacity": new Q(R.paint_fill["fill-opacity"]),
11255
- "fill-color": new Q(R.paint_fill["fill-color"]),
11256
- "fill-outline-color": new Q(R.paint_fill["fill-outline-color"]),
11257
- "fill-translate": new Z(R.paint_fill["fill-translate"]),
11258
- "fill-translate-anchor": new Z(R.paint_fill["fill-translate-anchor"]),
11259
- "fill-pattern": new qa(R.paint_fill["fill-pattern"])
11253
+ "fill-antialias": new Z(I.paint_fill["fill-antialias"]),
11254
+ "fill-opacity": new Q(I.paint_fill["fill-opacity"]),
11255
+ "fill-color": new Q(I.paint_fill["fill-color"]),
11256
+ "fill-outline-color": new Q(I.paint_fill["fill-outline-color"]),
11257
+ "fill-translate": new Z(I.paint_fill["fill-translate"]),
11258
+ "fill-translate-anchor": new Z(I.paint_fill["fill-translate-anchor"]),
11259
+ "fill-pattern": new qa(I.paint_fill["fill-pattern"])
11260
11260
  });
11261
11261
  },
11262
11262
  get layout() {
11263
- return wl = wl || new Xa({ "fill-sort-key": new Q(R.layout_fill["fill-sort-key"]) });
11263
+ return wl = wl || new Xa({ "fill-sort-key": new Q(I.layout_fill["fill-sort-key"]) });
11264
11264
  }
11265
11265
  };
11266
11266
  class Dl extends $a {
@@ -11558,14 +11558,14 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
11558
11558
  X("FillExtrusionBucket", Vl, { omit: ["layers", "features"] });
11559
11559
  var Kl = { get paint() {
11560
11560
  return Gl = Gl || new Xa({
11561
- "fill-extrusion-opacity": new Z(R["paint_fill-extrusion"]["fill-extrusion-opacity"]),
11562
- "fill-extrusion-color": new Q(R["paint_fill-extrusion"]["fill-extrusion-color"]),
11563
- "fill-extrusion-translate": new Z(R["paint_fill-extrusion"]["fill-extrusion-translate"]),
11564
- "fill-extrusion-translate-anchor": new Z(R["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),
11565
- "fill-extrusion-pattern": new qa(R["paint_fill-extrusion"]["fill-extrusion-pattern"]),
11566
- "fill-extrusion-height": new Q(R["paint_fill-extrusion"]["fill-extrusion-height"]),
11567
- "fill-extrusion-base": new Q(R["paint_fill-extrusion"]["fill-extrusion-base"]),
11568
- "fill-extrusion-vertical-gradient": new Z(R["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])
11561
+ "fill-extrusion-opacity": new Z(I["paint_fill-extrusion"]["fill-extrusion-opacity"]),
11562
+ "fill-extrusion-color": new Q(I["paint_fill-extrusion"]["fill-extrusion-color"]),
11563
+ "fill-extrusion-translate": new Z(I["paint_fill-extrusion"]["fill-extrusion-translate"]),
11564
+ "fill-extrusion-translate-anchor": new Z(I["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),
11565
+ "fill-extrusion-pattern": new qa(I["paint_fill-extrusion"]["fill-extrusion-pattern"]),
11566
+ "fill-extrusion-height": new Q(I["paint_fill-extrusion"]["fill-extrusion-height"]),
11567
+ "fill-extrusion-base": new Q(I["paint_fill-extrusion"]["fill-extrusion-base"]),
11568
+ "fill-extrusion-vertical-gradient": new Z(I["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])
11569
11569
  });
11570
11570
  } };
11571
11571
  class ql extends $a {
@@ -12813,26 +12813,26 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
12813
12813
  var ld = {
12814
12814
  get paint() {
12815
12815
  return cd = cd || new Xa({
12816
- "line-opacity": new Q(R.paint_line["line-opacity"]),
12817
- "line-color": new Q(R.paint_line["line-color"]),
12818
- "line-translate": new Z(R.paint_line["line-translate"]),
12819
- "line-translate-anchor": new Z(R.paint_line["line-translate-anchor"]),
12820
- "line-width": new Q(R.paint_line["line-width"]),
12821
- "line-gap-width": new Q(R.paint_line["line-gap-width"]),
12822
- "line-offset": new Q(R.paint_line["line-offset"]),
12823
- "line-blur": new Q(R.paint_line["line-blur"]),
12824
- "line-dasharray": new qa(R.paint_line["line-dasharray"]),
12825
- "line-pattern": new qa(R.paint_line["line-pattern"]),
12826
- "line-gradient": new Ya(R.paint_line["line-gradient"])
12816
+ "line-opacity": new Q(I.paint_line["line-opacity"]),
12817
+ "line-color": new Q(I.paint_line["line-color"]),
12818
+ "line-translate": new Z(I.paint_line["line-translate"]),
12819
+ "line-translate-anchor": new Z(I.paint_line["line-translate-anchor"]),
12820
+ "line-width": new Q(I.paint_line["line-width"]),
12821
+ "line-gap-width": new Q(I.paint_line["line-gap-width"]),
12822
+ "line-offset": new Q(I.paint_line["line-offset"]),
12823
+ "line-blur": new Q(I.paint_line["line-blur"]),
12824
+ "line-dasharray": new qa(I.paint_line["line-dasharray"]),
12825
+ "line-pattern": new qa(I.paint_line["line-pattern"]),
12826
+ "line-gradient": new Ya(I.paint_line["line-gradient"])
12827
12827
  });
12828
12828
  },
12829
12829
  get layout() {
12830
12830
  return sd = sd || new Xa({
12831
- "line-cap": new Q(R.layout_line["line-cap"]),
12832
- "line-join": new Q(R.layout_line["line-join"]),
12833
- "line-miter-limit": new Q(R.layout_line["line-miter-limit"]),
12834
- "line-round-limit": new Q(R.layout_line["line-round-limit"]),
12835
- "line-sort-key": new Q(R.layout_line["line-sort-key"])
12831
+ "line-cap": new Q(I.layout_line["line-cap"]),
12832
+ "line-join": new Q(I.layout_line["line-join"]),
12833
+ "line-miter-limit": new Q(I.layout_line["line-miter-limit"]),
12834
+ "line-round-limit": new Q(I.layout_line["line-round-limit"]),
12835
+ "line-sort-key": new Q(I.layout_line["line-sort-key"])
12836
12836
  });
12837
12837
  }
12838
12838
  };
@@ -12846,7 +12846,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
12846
12846
  }), super.possiblyEvaluate(e, t);
12847
12847
  }
12848
12848
  evaluate(e, t, n, r) {
12849
- return t = re({}, t, { zoom: Math.floor(t.zoom) }), super.evaluate(e, t, n, r);
12849
+ return t = ie({}, t, { zoom: Math.floor(t.zoom) }), super.evaluate(e, t, n, r);
12850
12850
  }
12851
12851
  }
12852
12852
  let dd;
@@ -13452,13 +13452,13 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
13452
13452
  }
13453
13453
  addImageSection(e) {
13454
13454
  let t = e.image ? e.image.name : "";
13455
- if (t.length === 0) return void le("Can't add FormattedSection with an empty image.");
13455
+ if (t.length === 0) return void ue("Can't add FormattedSection with an empty image.");
13456
13456
  let n = this.getNextImageSectionCharCode();
13457
13457
  n ? (this.text += String.fromCharCode(n), this.sections.push({
13458
13458
  scale: 1,
13459
13459
  verticalAlign: e.verticalAlign || "bottom",
13460
13460
  imageName: t
13461
- }), this.sectionIndex.push(this.sections.length - 1)) : le("Reached maximum number of images 6401");
13461
+ }), this.sectionIndex.push(this.sections.length - 1)) : ue("Reached maximum number of images 6401");
13462
13462
  }
13463
13463
  getNextImageSectionCharCode() {
13464
13464
  return this.imageSectionID ? this.imageSectionID >= 63743 ? null : ++this.imageSectionID : (this.imageSectionID = 57344, this.imageSectionID);
@@ -14577,72 +14577,72 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
14577
14577
  var Cf = {
14578
14578
  get paint() {
14579
14579
  return Sf = Sf || new Xa({
14580
- "icon-opacity": new Q(R.paint_symbol["icon-opacity"]),
14581
- "icon-color": new Q(R.paint_symbol["icon-color"]),
14582
- "icon-halo-color": new Q(R.paint_symbol["icon-halo-color"]),
14583
- "icon-halo-width": new Q(R.paint_symbol["icon-halo-width"]),
14584
- "icon-halo-blur": new Q(R.paint_symbol["icon-halo-blur"]),
14585
- "icon-translate": new Z(R.paint_symbol["icon-translate"]),
14586
- "icon-translate-anchor": new Z(R.paint_symbol["icon-translate-anchor"]),
14587
- "text-opacity": new Q(R.paint_symbol["text-opacity"]),
14588
- "text-color": new Q(R.paint_symbol["text-color"], {
14580
+ "icon-opacity": new Q(I.paint_symbol["icon-opacity"]),
14581
+ "icon-color": new Q(I.paint_symbol["icon-color"]),
14582
+ "icon-halo-color": new Q(I.paint_symbol["icon-halo-color"]),
14583
+ "icon-halo-width": new Q(I.paint_symbol["icon-halo-width"]),
14584
+ "icon-halo-blur": new Q(I.paint_symbol["icon-halo-blur"]),
14585
+ "icon-translate": new Z(I.paint_symbol["icon-translate"]),
14586
+ "icon-translate-anchor": new Z(I.paint_symbol["icon-translate-anchor"]),
14587
+ "text-opacity": new Q(I.paint_symbol["text-opacity"]),
14588
+ "text-color": new Q(I.paint_symbol["text-color"], {
14589
14589
  runtimeType: Qe,
14590
14590
  getOverride: (e) => e.textColor,
14591
14591
  hasOverride: (e) => !!e.textColor
14592
14592
  }),
14593
- "text-halo-color": new Q(R.paint_symbol["text-halo-color"]),
14594
- "text-halo-width": new Q(R.paint_symbol["text-halo-width"]),
14595
- "text-halo-blur": new Q(R.paint_symbol["text-halo-blur"]),
14596
- "text-translate": new Z(R.paint_symbol["text-translate"]),
14597
- "text-translate-anchor": new Z(R.paint_symbol["text-translate-anchor"])
14593
+ "text-halo-color": new Q(I.paint_symbol["text-halo-color"]),
14594
+ "text-halo-width": new Q(I.paint_symbol["text-halo-width"]),
14595
+ "text-halo-blur": new Q(I.paint_symbol["text-halo-blur"]),
14596
+ "text-translate": new Z(I.paint_symbol["text-translate"]),
14597
+ "text-translate-anchor": new Z(I.paint_symbol["text-translate-anchor"])
14598
14598
  });
14599
14599
  },
14600
14600
  get layout() {
14601
14601
  return xf = xf || new Xa({
14602
- "symbol-placement": new Z(R.layout_symbol["symbol-placement"]),
14603
- "symbol-spacing": new Z(R.layout_symbol["symbol-spacing"]),
14604
- "symbol-avoid-edges": new Z(R.layout_symbol["symbol-avoid-edges"]),
14605
- "symbol-sort-key": new Q(R.layout_symbol["symbol-sort-key"]),
14606
- "symbol-z-order": new Z(R.layout_symbol["symbol-z-order"]),
14607
- "icon-allow-overlap": new Z(R.layout_symbol["icon-allow-overlap"]),
14608
- "icon-overlap": new Z(R.layout_symbol["icon-overlap"]),
14609
- "icon-ignore-placement": new Z(R.layout_symbol["icon-ignore-placement"]),
14610
- "icon-optional": new Z(R.layout_symbol["icon-optional"]),
14611
- "icon-rotation-alignment": new Z(R.layout_symbol["icon-rotation-alignment"]),
14612
- "icon-size": new Q(R.layout_symbol["icon-size"]),
14613
- "icon-text-fit": new Z(R.layout_symbol["icon-text-fit"]),
14614
- "icon-text-fit-padding": new Z(R.layout_symbol["icon-text-fit-padding"]),
14615
- "icon-image": new Q(R.layout_symbol["icon-image"]),
14616
- "icon-rotate": new Q(R.layout_symbol["icon-rotate"]),
14617
- "icon-padding": new Q(R.layout_symbol["icon-padding"]),
14618
- "icon-keep-upright": new Z(R.layout_symbol["icon-keep-upright"]),
14619
- "icon-offset": new Q(R.layout_symbol["icon-offset"]),
14620
- "icon-anchor": new Q(R.layout_symbol["icon-anchor"]),
14621
- "icon-pitch-alignment": new Z(R.layout_symbol["icon-pitch-alignment"]),
14622
- "text-pitch-alignment": new Z(R.layout_symbol["text-pitch-alignment"]),
14623
- "text-rotation-alignment": new Z(R.layout_symbol["text-rotation-alignment"]),
14624
- "text-field": new Q(R.layout_symbol["text-field"]),
14625
- "text-font": new Q(R.layout_symbol["text-font"]),
14626
- "text-size": new Q(R.layout_symbol["text-size"]),
14627
- "text-max-width": new Q(R.layout_symbol["text-max-width"]),
14628
- "text-line-height": new Z(R.layout_symbol["text-line-height"]),
14629
- "text-letter-spacing": new Q(R.layout_symbol["text-letter-spacing"]),
14630
- "text-justify": new Q(R.layout_symbol["text-justify"]),
14631
- "text-radial-offset": new Q(R.layout_symbol["text-radial-offset"]),
14632
- "text-variable-anchor": new Z(R.layout_symbol["text-variable-anchor"]),
14633
- "text-variable-anchor-offset": new Q(R.layout_symbol["text-variable-anchor-offset"]),
14634
- "text-anchor": new Q(R.layout_symbol["text-anchor"]),
14635
- "text-max-angle": new Z(R.layout_symbol["text-max-angle"]),
14636
- "text-writing-mode": new Z(R.layout_symbol["text-writing-mode"]),
14637
- "text-rotate": new Q(R.layout_symbol["text-rotate"]),
14638
- "text-padding": new Z(R.layout_symbol["text-padding"]),
14639
- "text-keep-upright": new Z(R.layout_symbol["text-keep-upright"]),
14640
- "text-transform": new Q(R.layout_symbol["text-transform"]),
14641
- "text-offset": new Q(R.layout_symbol["text-offset"]),
14642
- "text-allow-overlap": new Z(R.layout_symbol["text-allow-overlap"]),
14643
- "text-overlap": new Z(R.layout_symbol["text-overlap"]),
14644
- "text-ignore-placement": new Z(R.layout_symbol["text-ignore-placement"]),
14645
- "text-optional": new Z(R.layout_symbol["text-optional"])
14602
+ "symbol-placement": new Z(I.layout_symbol["symbol-placement"]),
14603
+ "symbol-spacing": new Z(I.layout_symbol["symbol-spacing"]),
14604
+ "symbol-avoid-edges": new Z(I.layout_symbol["symbol-avoid-edges"]),
14605
+ "symbol-sort-key": new Q(I.layout_symbol["symbol-sort-key"]),
14606
+ "symbol-z-order": new Z(I.layout_symbol["symbol-z-order"]),
14607
+ "icon-allow-overlap": new Z(I.layout_symbol["icon-allow-overlap"]),
14608
+ "icon-overlap": new Z(I.layout_symbol["icon-overlap"]),
14609
+ "icon-ignore-placement": new Z(I.layout_symbol["icon-ignore-placement"]),
14610
+ "icon-optional": new Z(I.layout_symbol["icon-optional"]),
14611
+ "icon-rotation-alignment": new Z(I.layout_symbol["icon-rotation-alignment"]),
14612
+ "icon-size": new Q(I.layout_symbol["icon-size"]),
14613
+ "icon-text-fit": new Z(I.layout_symbol["icon-text-fit"]),
14614
+ "icon-text-fit-padding": new Z(I.layout_symbol["icon-text-fit-padding"]),
14615
+ "icon-image": new Q(I.layout_symbol["icon-image"]),
14616
+ "icon-rotate": new Q(I.layout_symbol["icon-rotate"]),
14617
+ "icon-padding": new Q(I.layout_symbol["icon-padding"]),
14618
+ "icon-keep-upright": new Z(I.layout_symbol["icon-keep-upright"]),
14619
+ "icon-offset": new Q(I.layout_symbol["icon-offset"]),
14620
+ "icon-anchor": new Q(I.layout_symbol["icon-anchor"]),
14621
+ "icon-pitch-alignment": new Z(I.layout_symbol["icon-pitch-alignment"]),
14622
+ "text-pitch-alignment": new Z(I.layout_symbol["text-pitch-alignment"]),
14623
+ "text-rotation-alignment": new Z(I.layout_symbol["text-rotation-alignment"]),
14624
+ "text-field": new Q(I.layout_symbol["text-field"]),
14625
+ "text-font": new Q(I.layout_symbol["text-font"]),
14626
+ "text-size": new Q(I.layout_symbol["text-size"]),
14627
+ "text-max-width": new Q(I.layout_symbol["text-max-width"]),
14628
+ "text-line-height": new Z(I.layout_symbol["text-line-height"]),
14629
+ "text-letter-spacing": new Q(I.layout_symbol["text-letter-spacing"]),
14630
+ "text-justify": new Q(I.layout_symbol["text-justify"]),
14631
+ "text-radial-offset": new Q(I.layout_symbol["text-radial-offset"]),
14632
+ "text-variable-anchor": new Z(I.layout_symbol["text-variable-anchor"]),
14633
+ "text-variable-anchor-offset": new Q(I.layout_symbol["text-variable-anchor-offset"]),
14634
+ "text-anchor": new Q(I.layout_symbol["text-anchor"]),
14635
+ "text-max-angle": new Z(I.layout_symbol["text-max-angle"]),
14636
+ "text-writing-mode": new Z(I.layout_symbol["text-writing-mode"]),
14637
+ "text-rotate": new Q(I.layout_symbol["text-rotate"]),
14638
+ "text-padding": new Z(I.layout_symbol["text-padding"]),
14639
+ "text-keep-upright": new Z(I.layout_symbol["text-keep-upright"]),
14640
+ "text-transform": new Q(I.layout_symbol["text-transform"]),
14641
+ "text-offset": new Q(I.layout_symbol["text-offset"]),
14642
+ "text-allow-overlap": new Z(I.layout_symbol["text-allow-overlap"]),
14643
+ "text-overlap": new Z(I.layout_symbol["text-overlap"]),
14644
+ "text-ignore-placement": new Z(I.layout_symbol["text-ignore-placement"]),
14645
+ "text-optional": new Z(I.layout_symbol["text-optional"])
14646
14646
  });
14647
14647
  }
14648
14648
  };
@@ -14727,9 +14727,9 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
14727
14727
  let Ef;
14728
14728
  var Df = { get paint() {
14729
14729
  return Ef = Ef || new Xa({
14730
- "background-color": new Z(R.paint_background["background-color"]),
14731
- "background-pattern": new Ja(R.paint_background["background-pattern"]),
14732
- "background-opacity": new Z(R.paint_background["background-opacity"])
14730
+ "background-color": new Z(I.paint_background["background-color"]),
14731
+ "background-pattern": new Ja(I.paint_background["background-pattern"]),
14732
+ "background-opacity": new Z(I.paint_background["background-opacity"])
14733
14733
  });
14734
14734
  } };
14735
14735
  class Of extends $a {
@@ -14781,7 +14781,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
14781
14781
  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");
14782
14782
  }
14783
14783
  wrap() {
14784
- return new Nf(ne(this.lng, -180, 180), this.lat);
14784
+ return new Nf(re(this.lng, -180, 180), this.lat);
14785
14785
  }
14786
14786
  toArray() {
14787
14787
  return [this.lng, this.lat];
@@ -17216,7 +17216,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17216
17216
  if (!n) continue;
17217
17217
  let i = {};
17218
17218
  m && l && (i = l.getState(n.sourceLayer || Um, m));
17219
- let d = re({}, c[t]);
17219
+ let d = ie({}, c[t]);
17220
17220
  d.paint = Qm(d.paint, n.paint, p, i, o), d.layout = Qm(d.layout, n.layout, p, i, o);
17221
17221
  let f = !u || u(p, n, i);
17222
17222
  if (!f) continue;
@@ -17248,7 +17248,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17248
17248
  }
17249
17249
  }
17250
17250
  function Qm(e, t, n, r, i) {
17251
- return ae(e, ((e, a) => {
17251
+ return oe(e, ((e, a) => {
17252
17252
  let o = t instanceof Ka ? t.get(a) : null;
17253
17253
  return o != null && o.evaluate ? o.evaluate(n, r, i) : o;
17254
17254
  }));
@@ -17390,33 +17390,33 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17390
17390
  (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;
17391
17391
  }
17392
17392
  let E = u.x1, D = u.y1, O = u.x2 - E, k = u.y2 - D, A = (e, i, a, c) => {
17393
- let l = _h(e.stretch - v, y, O, E), u = vh(e.fixed - S, C, e.stretch, m), d = _h(i.stretch - b, x, k, D), f = vh(i.fixed - w, T, i.stretch, h), p = _h(a.stretch - v, y, O, E), g = vh(a.fixed - S, C, a.stretch, m), _ = _h(c.stretch - b, x, k, D), A = vh(c.fixed - w, T, c.stretch, h), j = new n(l, d), M = new n(p, d), N = new n(p, _), ee = new n(l, _), P = new n(u / s, f / s), te = new n(g / s, A / s), ne = t * Math.PI / 180;
17394
- if (ne) {
17395
- let e = Math.sin(ne), t = Math.cos(ne), n = [
17393
+ 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), re = t * Math.PI / 180;
17394
+ if (re) {
17395
+ let e = Math.sin(re), t = Math.cos(re), n = [
17396
17396
  t,
17397
17397
  -e,
17398
17398
  e,
17399
17399
  t
17400
17400
  ];
17401
- j._matMult(n), M._matMult(n), ee._matMult(n), N._matMult(n);
17401
+ j._matMult(n), M._matMult(n), te._matMult(n), ee._matMult(n);
17402
17402
  }
17403
- let re = e.stretch + e.fixed, ie = i.stretch + i.fixed;
17403
+ let ie = e.stretch + e.fixed, ae = i.stretch + i.fixed;
17404
17404
  return {
17405
17405
  tl: j,
17406
17406
  tr: M,
17407
- bl: ee,
17408
- br: N,
17407
+ bl: te,
17408
+ br: ee,
17409
17409
  tex: {
17410
- x: o.paddedRect.x + 1 + re,
17411
- y: o.paddedRect.y + 1 + ie,
17412
- w: a.stretch + a.fixed - re,
17413
- h: c.stretch + c.fixed - ie
17410
+ x: o.paddedRect.x + 1 + ie,
17411
+ y: o.paddedRect.y + 1 + ae,
17412
+ w: a.stretch + a.fixed - ie,
17413
+ h: c.stretch + c.fixed - ae
17414
17414
  },
17415
17415
  writingMode: void 0,
17416
17416
  glyphOffset: [0, 0],
17417
17417
  sectionIndex: 0,
17418
- pixelOffsetTL: P,
17419
- pixelOffsetBR: te,
17418
+ pixelOffsetTL: N,
17419
+ pixelOffsetBR: ne,
17420
17420
  minFontScaleX: C / s / O,
17421
17421
  minFontScaleY: T / s / k,
17422
17422
  isSDF: r
@@ -17675,9 +17675,9 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17675
17675
  ];
17676
17676
  }(m, n, d, t.tilePixelRatio), w = m.get("text-max-angle") / 180 * Math.PI, T = m.get("text-rotation-alignment") !== "viewport" && m.get("symbol-placement") !== "point", E = m.get("icon-rotation-alignment") === "map" && m.get("symbol-placement") !== "point", D = m.get("symbol-placement"), k = x / 2, A = m.get("icon-text-fit"), j;
17677
17677
  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, _)));
17678
- let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1, N = (c, f) => {
17678
+ let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1, ee = (c, f) => {
17679
17679
  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) {
17680
- let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, N = 0, ee = 0, P = -1, te = -1, ne = {}, re = _s("");
17680
+ let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, ee = 0, te = 0, N = -1, ne = -1, re = {}, ie = _s("");
17681
17681
  if (t.allowVerticalPlacement && i.vertical) {
17682
17682
  let e = c.layout.get("text-rotate").evaluate(x, {}, w) + 90;
17683
17683
  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));
@@ -17686,33 +17686,33 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17686
17686
  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;
17687
17687
  O = new yh(l, n, u, d, f, a, _, v, !1, r), j = 4 * o.length;
17688
17688
  let m = t.iconSizeData, h = null;
17689
- m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df && le(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)) : m.kind === "composite" && (h = [128 * S.compositeIconSizes[0].evaluate(x, {}, w), 128 * S.compositeIconSizes[1].evaluate(x, {}, w)], (h[0] > df || h[1] > df) && le(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)), t.addSymbols(t.icon, o, h, b, y, x, e.ax.none, n, E.lineStartIndex, E.lineLength, -1, w), P = t.icon.placedSymbolArray.length - 1, p && (M = 4 * p.length, t.addSymbols(t.icon, p, h, b, y, x, e.ax.vertical, n, E.lineStartIndex, E.lineLength, -1, w), te = t.icon.placedSymbolArray.length - 1);
17689
+ m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df && ue(`${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) && ue(`${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);
17690
17690
  }
17691
- let ie = Object.keys(i.horizontal);
17692
- for (let r of ie) {
17691
+ let ae = Object.keys(i.horizontal);
17692
+ for (let r of ae) {
17693
17693
  let a = i.horizontal[r];
17694
17694
  if (!D) {
17695
- re = _s(a.text);
17695
+ ie = _s(a.text);
17696
17696
  let e = c.layout.get("text-rotate").evaluate(x, {}, w);
17697
17697
  D = new yh(l, n, u, d, f, a, p, m, h, e);
17698
17698
  }
17699
17699
  let s = a.positionedLines.length === 1;
17700
- if (N += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? ie : [r], ne, P, S, w), s) break;
17701
- }
17702
- i.vertical && (ee += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], ne, te, S, w));
17703
- 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, F = -1, me = (e, t) => e != null && e.circleDiameter ? Math.max(e.circleDiameter, t) : t;
17704
- F = me(D, F), F = me(k, F), F = me(O, F), F = me(A, F);
17705
- let he = +(F > -1);
17706
- he && (F *= 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);
17707
- let ge = Dh(c, x, w), [_e, ve] = function(t, n) {
17700
+ if (ee += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? ae : [r], re, N, S, w), s) break;
17701
+ }
17702
+ i.vertical && (te += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], re, ne, S, w));
17703
+ let oe = D ? D.boxStartIndex : t.collisionBoxArray.length, se = D ? D.boxEndIndex : t.collisionBoxArray.length, ce = k ? k.boxStartIndex : t.collisionBoxArray.length, le = k ? k.boxEndIndex : t.collisionBoxArray.length, de = O ? O.boxStartIndex : t.collisionBoxArray.length, fe = O ? O.boxEndIndex : t.collisionBoxArray.length, pe = A ? A.boxStartIndex : t.collisionBoxArray.length, me = A ? A.boxEndIndex : t.collisionBoxArray.length, P = -1, he = (e, t) => e != null && e.circleDiameter ? Math.max(e.circleDiameter, t) : t;
17704
+ P = he(D, P), P = he(k, P), P = he(O, P), P = he(A, P);
17705
+ let ge = +(P > -1);
17706
+ ge && (P *= T / xd), t.glyphOffsetArray.length >= bf.MAX_GLYPHS && ue("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);
17707
+ let _e = Dh(c, x, w), [ve, ye] = function(t, n) {
17708
17708
  let r = t.length, i = n == null ? void 0 : n.values;
17709
17709
  if ((i == null ? void 0 : i.length) > 0) for (let n = 0; n < i.length; n += 2) {
17710
17710
  let r = i[n + 1];
17711
17711
  t.emplaceBack(e.aM[i[n]], r[0], r[1]);
17712
17712
  }
17713
17713
  return [r, t.length];
17714
- }(t.textAnchorOffsets, ge);
17715
- t.symbolInstances.emplaceBack(n.x, n.y, ne.right >= 0 ? ne.right : -1, ne.center >= 0 ? ne.center : -1, ne.left >= 0 ? ne.left : -1, ne.vertical || -1, P, te, re, ae, oe, se, ce, ue, de, fe, pe, u, N, ee, j, M, he, 0, p, F, _e, ve);
17714
+ }(t.textAnchorOffsets, _e);
17715
+ t.symbolInstances.emplaceBack(n.x, n.y, re.right >= 0 ? re.right : -1, re.center >= 0 ? re.center : -1, re.left >= 0 ? re.left : -1, re.vertical || -1, N, ne, ie, oe, se, ce, le, de, fe, pe, me, u, ee, te, j, M, ge, 0, p, P, ve, ye);
17716
17716
  }(t, f, c, r, i, a, j, t.layers[0], t.collisionBoxArray, n.index, n.sourceLayerIndex, t.index, v, [
17717
17717
  S,
17718
17718
  S,
@@ -17722,22 +17722,22 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17722
17722
  };
17723
17723
  if (D === "line") for (let e of eh(n.geometry, 0, 0, O, O)) {
17724
17724
  let n = yl(e, M), a = fh(n, x, w, r.vertical || g, i, 24, y, t.overscaling, O);
17725
- for (let e of a) g && Mh(t, g.text, k, e) || N(n, e);
17725
+ for (let e of a) g && Mh(t, g.text, k, e) || ee(n, e);
17726
17726
  }
17727
17727
  else if (D === "line-center") {
17728
17728
  for (let e of n.geometry) if (e.length > 1) {
17729
17729
  let t = yl(e, M), n = dh(t, w, r.vertical || g, i, 24, y);
17730
- n && N(t, n);
17730
+ n && ee(t, n);
17731
17731
  }
17732
17732
  } else if (n.type === "Polygon") for (let e of or(n.geometry, 0)) {
17733
17733
  let t = xh(e, 16);
17734
- N(yl(e[0], M, !0), new oh(t.x, t.y, 0));
17734
+ ee(yl(e[0], M, !0), new oh(t.x, t.y, 0));
17735
17735
  }
17736
17736
  else if (n.type === "LineString") for (let e of n.geometry) {
17737
17737
  let t = yl(e, M);
17738
- N(t, new oh(t[0].x, t[0].y, 0));
17738
+ ee(t, new oh(t[0].x, t[0].y, 0));
17739
17739
  }
17740
- else if (n.type === "Point") for (let e of n.geometry) for (let t of e) N([t], new oh(t.x, t.y, 0));
17740
+ else if (n.type === "Point") for (let e of n.geometry) for (let t of e) ee([t], new oh(t.x, t.y, 0));
17741
17741
  }
17742
17742
  function Ah(e, t, r, i, a, o, s, c, l, u, d, f, p, m, h) {
17743
17743
  let g = function(e, t, r, i, a, o, s, c) {
@@ -17784,7 +17784,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17784
17784
  }
17785
17785
  return u;
17786
17786
  }(0, r, c, a, o, s, i, e.allowVerticalPlacement), _ = e.textSizeData, v = null;
17787
- _.kind === "source" ? (v = [128 * a.layout.get("text-size").evaluate(s, {})], v[0] > df && le(`${e.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)) : _.kind === "composite" && (v = [128 * m.compositeTextSizes[0].evaluate(s, {}, h), 128 * m.compositeTextSizes[1].evaluate(s, {}, h)], (v[0] > df || v[1] > df) && le(`${e.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)), e.addSymbols(e.text, g, v, c, o, s, u, t, l.lineStartIndex, l.lineLength, p, h);
17787
+ _.kind === "source" ? (v = [128 * a.layout.get("text-size").evaluate(s, {})], v[0] > df && ue(`${e.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)) : _.kind === "composite" && (v = [128 * m.compositeTextSizes[0].evaluate(s, {}, h), 128 * m.compositeTextSizes[1].evaluate(s, {}, h)], (v[0] > df || v[1] > df) && ue(`${e.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)), e.addSymbols(e.text, g, v, c, o, s, u, t, l.lineStartIndex, l.lineLength, p, h);
17788
17788
  for (let t of d) f[t] = e.text.placedSymbolArray.length - 1;
17789
17789
  return 4 * g.length;
17790
17790
  }
@@ -17800,21 +17800,21 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17800
17800
  } else i[t] = [];
17801
17801
  return i[t].push(r), !1;
17802
17802
  }
17803
- e.$ = we, e.A = f, e.B = Ra, e.C = pa, e.D = Z, e.E = Ie, e.F = ca, e.G = function([e, t, n]) {
17803
+ e.$ = Te, e.A = f, e.B = Ra, e.C = pa, e.D = Z, e.E = Le, e.F = ca, e.G = function([e, t, n]) {
17804
17804
  return t += 90, t *= Math.PI / 180, n *= Math.PI / 180, {
17805
17805
  x: e * Math.cos(t) * Math.sin(n),
17806
17806
  y: e * Math.sin(t) * Math.sin(n),
17807
17807
  z: e * Math.cos(n)
17808
17808
  };
17809
17809
  }, e.H = xn, e.I = Xd, e.J = Ia, e.K = ua, e.L = function(e) {
17810
- if (fe == null) {
17810
+ if (pe == null) {
17811
17811
  let t = e.navigator ? e.navigator.userAgent : null;
17812
- fe = !!e.safari || !(!t || !(/\b(iPad|iPhone|iPod)\b/.test(t) || t.match("Safari") && !t.match("Chrome")));
17812
+ pe = !!e.safari || !(!t || !(/\b(iPad|iPhone|iPod)\b/.test(t) || t.match("Safari") && !t.match("Chrome")));
17813
17813
  }
17814
- return fe;
17815
- }, e.M = Oe, e.N = class {
17814
+ return pe;
17815
+ }, e.M = ke, e.N = class {
17816
17816
  constructor(e, t) {
17817
- this.target = e, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new Af((() => this.process())), this.subscription = _e(this.target, "message", ((e) => this.receive(e)), !1), this.globalScope = de(self) ? e : window;
17817
+ this.target = e, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new Af((() => this.process())), this.subscription = ve(this.target, "message", ((e) => this.receive(e)), !1), this.globalScope = fe(self) ? e : window;
17818
17818
  }
17819
17819
  registerMessageHandler(e, t) {
17820
17820
  this.messageHandlers[e] = t;
@@ -17824,7 +17824,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17824
17824
  }
17825
17825
  sendAsync(e, t) {
17826
17826
  return new Promise(((n, r) => {
17827
- let i = Math.round(0xde0b6b3a7640000 * Math.random()).toString(36).substring(0, 10), a = t ? _e(t.signal, "abort", (() => {
17827
+ let i = Math.round(0xde0b6b3a7640000 * Math.random()).toString(36).substring(0, 10), a = t ? ve(t.signal, "abort", (() => {
17828
17828
  a == null || a.unsubscribe(), delete this.resolveRejects[i];
17829
17829
  let t = {
17830
17830
  id: i,
@@ -17865,7 +17865,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17865
17865
  delete this.abortControllers[n], e && e.abort();
17866
17866
  return;
17867
17867
  }
17868
- if (de(self) || t.mustQueue) return this.tasks[n] = t, this.taskQueue.push(n), void this.invoker.trigger();
17868
+ if (fe(self) || t.mustQueue) return this.tasks[n] = t, this.taskQueue.push(n), void this.invoker.trigger();
17869
17869
  this.processTask(n, t);
17870
17870
  }
17871
17871
  }
@@ -17925,10 +17925,10 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17925
17925
  let n = {};
17926
17926
  for (let r of t) r in e && (n[r] = e[r]);
17927
17927
  return n;
17928
- }, e.W = Nf, e.X = ne, e.Y = Lf, e.Z = If, e._ = t, e.a = Ce, e.a$ = function(e) {
17928
+ }, e.W = Nf, e.X = re, e.Y = Lf, e.Z = If, e._ = t, e.a = we, e.a$ = function(e) {
17929
17929
  var t = new f(3);
17930
17930
  return t[0] = e[0], t[1] = e[1], t[2] = e[2], t;
17931
- }, e.a0 = l, e.a1 = u, e.a2 = me, 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) {
17931
+ }, 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) {
17932
17932
  var t = e[0], n = e[1];
17933
17933
  return Math.sqrt(t * t + n * n);
17934
17934
  }, e.aB = function(e) {
@@ -17957,7 +17957,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17957
17957
  n = [n[0] * t - n[1] * e, n[0] * e + n[1] * t];
17958
17958
  }
17959
17959
  return [i ? n[0] : k(t, n[0], e.zoom), i ? n[1] : k(t, n[1], e.zoom)];
17960
- }, e.aN = pf, e.aO = Oh, e.aP = ef, e.aQ = (e) => e.type === "symbol", e.aR = Zl, e.aS = oo, e.aT = ml, e.aU = Go, e.aV = ss, e.aW = is, e.aX = ye, e.aY = Vf, e.aZ = y, e.a_ = v, e.aa = Wf, e.ab = (e) => {
17960
+ }, e.aN = pf, e.aO = Oh, e.aP = ef, e.aQ = (e) => e.type === "symbol", e.aR = Zl, e.aS = oo, e.aT = ml, e.aU = Go, e.aV = ss, e.aW = is, e.aX = be, e.aY = Vf, e.aZ = y, e.a_ = v, e.aa = Wf, e.ab = (e) => {
17961
17961
  let t = window.document.createElement("video");
17962
17962
  return t.muted = !0, new Promise(((n) => {
17963
17963
  t.onloadstart = () => {
@@ -17965,11 +17965,11 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17965
17965
  };
17966
17966
  for (let n of e) {
17967
17967
  let e = window.document.createElement("source");
17968
- je(n) || (t.crossOrigin = "Anonymous"), e.src = n, t.appendChild(e);
17968
+ Me(n) || (t.crossOrigin = "Anonymous"), e.src = n, t.appendChild(e);
17969
17969
  }
17970
17970
  }));
17971
17971
  }, e.ac = z, e.ad = function() {
17972
- return ie++;
17972
+ return ae++;
17973
17973
  }, e.ae = Po, e.af = bf, e.ag = Um, e.ah = _i, e.ai = Hs, e.aj = Xf, e.ak = function(e) {
17974
17974
  let t = {};
17975
17975
  if (e.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g, ((e, n, r, i) => {
@@ -17980,7 +17980,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
17980
17980
  isNaN(e) ? delete t["max-age"] : t["max-age"] = e;
17981
17981
  }
17982
17982
  return t;
17983
- }, e.al = te, e.am = 85.051129, e.an = ve, e.ao = function(e) {
17983
+ }, e.al = ne, e.am = 85.051129, e.an = ye, e.ao = function(e) {
17984
17984
  return 2 ** e;
17985
17985
  }, e.ap = m, e.aq = Rf, e.ar = function(e) {
17986
17986
  return Math.log(e) / Math.LN2;
@@ -18065,7 +18065,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18065
18065
  let n = 0, r = 0;
18066
18066
  if (e.kind === "constant") r = e.layoutSize;
18067
18067
  else if (e.kind !== "source") {
18068
- let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ? te(yn.interpolationFactor(i, t, a, o), 0, 1) : 0;
18068
+ let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ? ne(yn.interpolationFactor(i, t, a, o), 0, 1) : 0;
18069
18069
  e.kind === "camera" ? r = xn.number(e.minSize, e.maxSize, s) : n = s;
18070
18070
  }
18071
18071
  return {
@@ -18074,7 +18074,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18074
18074
  };
18075
18075
  }, e.ay = function(e, { uSize: t, uSizeT: n }, { lowerSize: r, upperSize: i }) {
18076
18076
  return e.kind === "source" ? r / 128 : e.kind === "composite" ? xn.number(r / 128, i / 128, n) : t;
18077
- }, e.az = E, e.b = pe, e.b$ = Ts, e.b0 = function(e, t, n) {
18077
+ }, e.az = E, e.b = me, e.b$ = Ts, e.b0 = function(e, t, n) {
18078
18078
  return e[0] = t[0] - n[0], e[1] = t[1] - n[1], e[2] = t[2] - n[2], e;
18079
18079
  }, e.b1 = function(e, t) {
18080
18080
  var n = t[0], r = t[1], i = t[2], a = n * n + r * r + i * i;
@@ -18161,16 +18161,16 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18161
18161
  let n = j(e, 2 * Math.PI), r = j(t, 2 * Math.PI);
18162
18162
  return Math.min(Math.abs(n - r), Math.abs(n - r + 2 * Math.PI), Math.abs(n - r - 2 * Math.PI));
18163
18163
  }, e.bN = function() {
18164
- let e = {}, t = R.$version;
18165
- for (let n in R.$root) {
18166
- let r = R.$root[n];
18164
+ let e = {}, t = I.$version;
18165
+ for (let n in I.$root) {
18166
+ let r = I.$root[n];
18167
18167
  if (r.required) {
18168
18168
  let i = null;
18169
18169
  i = n === "version" ? t : r.type === "array" ? [] : {}, i != null && (e[n] = i);
18170
18170
  }
18171
18171
  }
18172
18172
  return e;
18173
- }, e.bO = ke, e.bP = xa, e.bQ = function e(t, n) {
18173
+ }, e.bO = Ae, e.bP = xa, e.bQ = function e(t, n) {
18174
18174
  if (Array.isArray(t)) {
18175
18175
  if (!Array.isArray(n) || t.length !== n.length) return !1;
18176
18176
  for (let r = 0; r < t.length; r++) if (!e(t[r], n[r])) return !1;
@@ -18182,11 +18182,11 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18182
18182
  return !0;
18183
18183
  }
18184
18184
  return t === n;
18185
- }, e.bR = Te, e.bS = function(e) {
18185
+ }, e.bR = Ee, e.bS = function(e) {
18186
18186
  e = e.slice();
18187
18187
  let t = Object.create(null);
18188
18188
  for (let n = 0; n < e.length; n++) t[e[n].id] = e[n];
18189
- for (let n = 0; n < e.length; n++) "ref" in e[n] && (e[n] = Re(e[n], t[e[n].ref]));
18189
+ for (let n = 0; n < e.length; n++) "ref" in e[n] && (e[n] = ze(e[n], t[e[n].ref]));
18190
18190
  return e;
18191
18191
  }, e.bT = function(e, t) {
18192
18192
  if (e.type === "custom") return new kf(e, t);
@@ -18202,57 +18202,57 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18202
18202
  case "raster": return new no(e, t);
18203
18203
  case "symbol": return new Tf(e, t);
18204
18204
  }
18205
- }, e.bU = (e) => e.type === "raster", e.bV = se, e.bW = function(e, t) {
18205
+ }, e.bU = (e) => e.type === "raster", e.bV = ce, e.bW = function(e, t) {
18206
18206
  if (!e) return [{
18207
18207
  command: "setStyle",
18208
18208
  args: [t]
18209
18209
  }];
18210
18210
  let n = [];
18211
18211
  try {
18212
- if (!ze(e.version, t.version)) return [{
18212
+ if (!R(e.version, t.version)) return [{
18213
18213
  command: "setStyle",
18214
18214
  args: [t]
18215
18215
  }];
18216
- ze(e.center, t.center) || n.push({
18216
+ R(e.center, t.center) || n.push({
18217
18217
  command: "setCenter",
18218
18218
  args: [t.center]
18219
- }), ze(e.state, t.state) || n.push({
18219
+ }), R(e.state, t.state) || n.push({
18220
18220
  command: "setGlobalState",
18221
18221
  args: [t.state]
18222
- }), ze(e.centerAltitude, t.centerAltitude) || n.push({
18222
+ }), R(e.centerAltitude, t.centerAltitude) || n.push({
18223
18223
  command: "setCenterAltitude",
18224
18224
  args: [t.centerAltitude]
18225
- }), ze(e.zoom, t.zoom) || n.push({
18225
+ }), R(e.zoom, t.zoom) || n.push({
18226
18226
  command: "setZoom",
18227
18227
  args: [t.zoom]
18228
- }), ze(e.bearing, t.bearing) || n.push({
18228
+ }), R(e.bearing, t.bearing) || n.push({
18229
18229
  command: "setBearing",
18230
18230
  args: [t.bearing]
18231
- }), ze(e.pitch, t.pitch) || n.push({
18231
+ }), R(e.pitch, t.pitch) || n.push({
18232
18232
  command: "setPitch",
18233
18233
  args: [t.pitch]
18234
- }), ze(e.roll, t.roll) || n.push({
18234
+ }), R(e.roll, t.roll) || n.push({
18235
18235
  command: "setRoll",
18236
18236
  args: [t.roll]
18237
- }), ze(e.sprite, t.sprite) || n.push({
18237
+ }), R(e.sprite, t.sprite) || n.push({
18238
18238
  command: "setSprite",
18239
18239
  args: [t.sprite]
18240
- }), ze(e.glyphs, t.glyphs) || n.push({
18240
+ }), R(e.glyphs, t.glyphs) || n.push({
18241
18241
  command: "setGlyphs",
18242
18242
  args: [t.glyphs]
18243
- }), ze(e.transition, t.transition) || n.push({
18243
+ }), R(e.transition, t.transition) || n.push({
18244
18244
  command: "setTransition",
18245
18245
  args: [t.transition]
18246
- }), ze(e.light, t.light) || n.push({
18246
+ }), R(e.light, t.light) || n.push({
18247
18247
  command: "setLight",
18248
18248
  args: [t.light]
18249
- }), ze(e.terrain, t.terrain) || n.push({
18249
+ }), R(e.terrain, t.terrain) || n.push({
18250
18250
  command: "setTerrain",
18251
18251
  args: [t.terrain]
18252
- }), ze(e.sky, t.sky) || n.push({
18252
+ }), R(e.sky, t.sky) || n.push({
18253
18253
  command: "setSky",
18254
18254
  args: [t.sky]
18255
- }), ze(e.projection, t.projection) || n.push({
18255
+ }), R(e.projection, t.projection) || n.push({
18256
18256
  command: "setProjection",
18257
18257
  args: [t.projection]
18258
18258
  });
@@ -18260,7 +18260,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18260
18260
  (function(e, t, n, r) {
18261
18261
  let i;
18262
18262
  for (i in t = t || {}, e = e || {}) Object.prototype.hasOwnProperty.call(e, i) && (Object.prototype.hasOwnProperty.call(t, i) || He(i, n, r));
18263
- for (i in t) Object.prototype.hasOwnProperty.call(t, i) && (Object.prototype.hasOwnProperty.call(e, i) ? ze(e[i], t[i]) || (e[i].type === "geojson" && t[i].type === "geojson" && We(e, t, i) ? Be(n, {
18263
+ for (i in t) Object.prototype.hasOwnProperty.call(t, i) && (Object.prototype.hasOwnProperty.call(e, i) ? R(e[i], t[i]) || (e[i].type === "geojson" && t[i].type === "geojson" && We(e, t, i) ? Be(n, {
18264
18264
  command: "setGeoJSONSourceData",
18265
18265
  args: [i, t[i].data]
18266
18266
  }) : Ue(i, t, n, r)) : Ve(i, t, n));
@@ -18285,18 +18285,18 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18285
18285
  command: "addLayer",
18286
18286
  args: [o[l], f]
18287
18287
  }), s.splice(s.length - e, 0, l), c[l] = !0);
18288
- for (let e = 0; e < i.length; e++) if (l = i[e], u = a[l], d = o[l], !c[l] && !ze(u, d)) if (ze(u.source, d.source) && ze(u["source-layer"], d["source-layer"]) && ze(u.type, d.type)) {
18289
- for (p in Ge(u.layout, d.layout, n, l, null, "setLayoutProperty"), Ge(u.paint, d.paint, n, l, null, "setPaintProperty"), ze(u.filter, d.filter) || Be(n, {
18288
+ for (let e = 0; e < i.length; e++) if (l = i[e], u = a[l], d = o[l], !c[l] && !R(u, d)) if (R(u.source, d.source) && R(u["source-layer"], d["source-layer"]) && R(u.type, d.type)) {
18289
+ for (p in Ge(u.layout, d.layout, n, l, null, "setLayoutProperty"), Ge(u.paint, d.paint, n, l, null, "setPaintProperty"), R(u.filter, d.filter) || Be(n, {
18290
18290
  command: "setFilter",
18291
18291
  args: [l, d.filter]
18292
- }), ze(u.minzoom, d.minzoom) && ze(u.maxzoom, d.maxzoom) || Be(n, {
18292
+ }), R(u.minzoom, d.minzoom) && R(u.maxzoom, d.maxzoom) || Be(n, {
18293
18293
  command: "setLayerZoomRange",
18294
18294
  args: [
18295
18295
  l,
18296
18296
  d.minzoom,
18297
18297
  d.maxzoom
18298
18298
  ]
18299
- }), u) Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") : ze(u[p], d[p]) || Be(n, {
18299
+ }), u) Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") : R(u[p], d[p]) || Be(n, {
18300
18300
  command: "setLayerProperty",
18301
18301
  args: [
18302
18302
  l,
@@ -18304,7 +18304,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18304
18304
  d[p]
18305
18305
  ]
18306
18306
  }));
18307
- for (p in d) Object.prototype.hasOwnProperty.call(d, p) && !Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") : ze(u[p], d[p]) || Be(n, {
18307
+ for (p in d) Object.prototype.hasOwnProperty.call(d, p) && !Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") : R(u[p], d[p]) || Be(n, {
18308
18308
  command: "setLayerProperty",
18309
18309
  args: [
18310
18310
  l,
@@ -18330,7 +18330,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18330
18330
  }, e.bX = function(e) {
18331
18331
  let t = [], n = e.id;
18332
18332
  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;
18333
- }, e.bY = ae, e.bZ = oe, e.b_ = class extends Ss {
18333
+ }, e.bY = oe, e.bZ = se, e.b_ = class extends Ss {
18334
18334
  constructor(e, t) {
18335
18335
  super(e, t), this.current = 0;
18336
18336
  }
@@ -18374,21 +18374,21 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18374
18374
  let t = /* @__PURE__ */ new Float64Array(9);
18375
18375
  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);
18376
18376
  (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;
18377
- let b = ye(-Math.asin(te(t[2], -1, 1))), x, S;
18378
- return Math.hypot(t[5], t[8]) < .001 ? (x = 0, S = -ye(Math.atan2(t[3], t[4]))) : (x = ye(t[5] === 0 && t[8] === 0 ? 0 : Math.atan2(t[5], t[8])), S = ye(t[1] === 0 && t[0] === 0 ? 0 : Math.atan2(t[1], t[0]))), {
18377
+ let b = be(-Math.asin(ne(t[2], -1, 1))), x, S;
18378
+ 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]))), {
18379
18379
  roll: x,
18380
18380
  pitch: b + 90,
18381
18381
  bearing: S
18382
18382
  };
18383
18383
  }, e.bn = function(e, t) {
18384
18384
  return e.roll == t.roll && e.pitch == t.pitch && e.bearing == t.bearing;
18385
- }, e.bo = W, e.bp = Cs, e.bq = hl, e.br = gl, e.bs = pl, e.bt = M, e.bu = N, e.bv = Jt, e.bw = function(e, t, n, r, i) {
18386
- return M(r, i, te((e - t) / (n - t), 0, 1));
18385
+ }, e.bo = W, e.bp = Cs, e.bq = hl, e.br = gl, e.bs = pl, e.bt = M, e.bu = ee, e.bv = Jt, e.bw = function(e, t, n, r, i) {
18386
+ return M(r, i, ne((e - t) / (n - t), 0, 1));
18387
18387
  }, e.bx = function(e, t, n, r) {
18388
18388
  return e[0] = t[0] + n[0] * r, e[1] = t[1] + n[1] * r, e[2] = t[2] + n[2] * r, e;
18389
18389
  }, e.by = j, e.bz = function() {
18390
18390
  return /* @__PURE__ */ new Float64Array(3);
18391
- }, e.c = Ee, e.c$ = si, e.c0 = class extends Ss {
18391
+ }, e.c = De, e.c$ = si, e.c0 = class extends Ss {
18392
18392
  constructor(e, t) {
18393
18393
  super(e, t), this.current = Es;
18394
18394
  }
@@ -18450,9 +18450,9 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18450
18450
  }
18451
18451
  }
18452
18452
  }, e.cA = function(e, t) {
18453
- return be[t] && "touches" in e;
18453
+ return xe[t] && "touches" in e;
18454
18454
  }, e.cB = function(e) {
18455
- return be[e] || xe[e];
18455
+ return xe[e] || Se[e];
18456
18456
  }, e.cC = function(e, t, n) {
18457
18457
  var r = t[0], i = t[1];
18458
18458
  return e[0] = n[0] * r + n[4] * i + n[12], e[1] = n[1] * r + n[5] * i + n[13], e;
@@ -18461,10 +18461,10 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18461
18461
  return !(e < 0 || e > 25 || r < 0 || r >= 1 || n < 0 || n >= 1);
18462
18462
  }, e.cE = function(e, t) {
18463
18463
  return e[0] = t[0], e[1] = 0, e[2] = 0, e[3] = 0, e[4] = 0, e[5] = t[1], e[6] = 0, e[7] = 0, e[8] = 0, e[9] = 0, e[10] = t[2], e[11] = 0, e[12] = 0, e[13] = 0, e[14] = 0, e[15] = 1, e;
18464
- }, e.cF = class extends lo {}, e.cG = I, e.cH = function(e, t) {
18465
- Ee.REGISTERED_PROTOCOLS[e] = t;
18464
+ }, e.cF = class extends lo {}, e.cG = F, e.cH = function(e, t) {
18465
+ De.REGISTERED_PROTOCOLS[e] = t;
18466
18466
  }, e.cI = function(e) {
18467
- delete Ee.REGISTERED_PROTOCOLS[e];
18467
+ delete De.REGISTERED_PROTOCOLS[e];
18468
18468
  }, e.cJ = function(e, t) {
18469
18469
  let n = {};
18470
18470
  for (let r = 0; r < e.length; r++) {
@@ -18527,7 +18527,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18527
18527
  let b = !1;
18528
18528
  if ((n = o.icon) != null && n.name) {
18529
18529
  let e = t.imageMap[o.icon.name];
18530
- e && (v = cf(t.imagePositions[o.icon.name], a.get("icon-offset").evaluate(o, {}, t.canonical), a.get("icon-anchor").evaluate(o, {}, t.canonical)), b = !!e.sdf, t.bucket.sdfIcons === void 0 ? t.bucket.sdfIcons = b : t.bucket.sdfIcons !== b && le("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (e.pixelRatio !== t.bucket.pixelRatio || a.get("icon-rotate").constantOr(1) !== 0) && (t.bucket.iconsNeedLinear = !0));
18530
+ e && (v = cf(t.imagePositions[o.icon.name], a.get("icon-offset").evaluate(o, {}, t.canonical), a.get("icon-anchor").evaluate(o, {}, t.canonical)), b = !!e.sdf, t.bucket.sdfIcons === void 0 ? t.bucket.sdfIcons = b : t.bucket.sdfIcons !== b && ue("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (e.pixelRatio !== t.bucket.pixelRatio || a.get("icon-rotate").constantOr(1) !== 0) && (t.bucket.iconsNeedLinear = !0));
18531
18531
  }
18532
18532
  let x = jh(g.horizontal) || g.vertical;
18533
18533
  (r = t.bucket).iconsInText || (r.iconsInText = !!x && x.iconsInText), (x || v) && kh(t.bucket, o, g, v, t.imageMap, s, m, h, y, b, t.canonical, t.subdivisionGranularity);
@@ -18563,13 +18563,13 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18563
18563
  }, e.cV = Ll, e.cW = Pd, e.cX = Vm, e.cY = function(e, n, r, i, a) {
18564
18564
  return t(this, void 0, void 0, (function* () {
18565
18565
  if (u()) try {
18566
- return yield me(e, n, r, i, a);
18566
+ return yield he(e, n, r, i, a);
18567
18567
  } catch {}
18568
18568
  return function(e, t, n, r, i) {
18569
18569
  let a = e.width, o = e.height;
18570
- he && ge || (he = new OffscreenCanvas(a, o), ge = he.getContext("2d", { willReadFrequently: !0 })), he.width = a, he.height = o, ge.drawImage(e, 0, 0, a, o);
18571
- let s = ge.getImageData(t, n, r, i);
18572
- return ge.clearRect(0, 0, a, o), s.data;
18570
+ ge && _e || (ge = new OffscreenCanvas(a, o), _e = ge.getContext("2d", { willReadFrequently: !0 })), ge.width = a, ge.height = o, _e.drawImage(e, 0, 0, a, o);
18571
+ let s = _e.getImageData(t, n, r, i);
18572
+ return _e.clearRect(0, 0, a, o), s.data;
18573
18573
  }(e, n, r, i, a);
18574
18574
  }));
18575
18575
  }, e.cZ = Ic, e.c_ = class {
@@ -18587,21 +18587,21 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18587
18587
  }, e.ch = class extends uo {}, e.ci = class extends jo {}, e.cj = function(e, t) {
18588
18588
  return e[0] === t[0] && e[1] === t[1] && e[2] === t[2] && e[3] === t[3] && e[4] === t[4] && e[5] === t[5] && e[6] === t[6] && e[7] === t[7] && e[8] === t[8] && e[9] === t[9] && e[10] === t[10] && e[11] === t[11] && e[12] === t[12] && e[13] === t[13] && e[14] === t[14] && e[15] === t[15];
18589
18589
  }, e.ck = function(e, t) {
18590
- var n = e[0], r = e[1], i = e[2], a = e[3], o = e[4], s = e[5], c = e[6], l = e[7], u = e[8], f = e[9], p = e[10], m = e[11], h = e[12], g = e[13], _ = e[14], v = e[15], y = t[0], b = t[1], x = t[2], S = t[3], C = t[4], w = t[5], T = t[6], E = t[7], D = t[8], O = t[9], k = t[10], A = t[11], j = t[12], M = t[13], N = t[14], ee = t[15];
18591
- return Math.abs(n - y) <= d * Math.max(1, Math.abs(n), Math.abs(y)) && Math.abs(r - b) <= d * Math.max(1, Math.abs(r), Math.abs(b)) && Math.abs(i - x) <= d * Math.max(1, Math.abs(i), Math.abs(x)) && Math.abs(a - S) <= d * Math.max(1, Math.abs(a), Math.abs(S)) && Math.abs(o - C) <= d * Math.max(1, Math.abs(o), Math.abs(C)) && Math.abs(s - w) <= d * Math.max(1, Math.abs(s), Math.abs(w)) && Math.abs(c - T) <= d * Math.max(1, Math.abs(c), Math.abs(T)) && Math.abs(l - E) <= d * Math.max(1, Math.abs(l), Math.abs(E)) && Math.abs(u - D) <= d * Math.max(1, Math.abs(u), Math.abs(D)) && Math.abs(f - O) <= d * Math.max(1, Math.abs(f), Math.abs(O)) && Math.abs(p - k) <= d * Math.max(1, Math.abs(p), Math.abs(k)) && Math.abs(m - A) <= d * Math.max(1, Math.abs(m), Math.abs(A)) && Math.abs(h - j) <= d * Math.max(1, Math.abs(h), Math.abs(j)) && Math.abs(g - M) <= d * Math.max(1, Math.abs(g), Math.abs(M)) && Math.abs(_ - N) <= d * Math.max(1, Math.abs(_), Math.abs(N)) && Math.abs(v - ee) <= d * Math.max(1, Math.abs(v), Math.abs(ee));
18590
+ var n = e[0], r = e[1], i = e[2], a = e[3], o = e[4], s = e[5], c = e[6], l = e[7], u = e[8], f = e[9], p = e[10], m = e[11], h = e[12], g = e[13], _ = e[14], v = e[15], y = t[0], b = t[1], x = t[2], S = t[3], C = t[4], w = t[5], T = t[6], E = t[7], D = t[8], O = t[9], k = t[10], A = t[11], j = t[12], M = t[13], ee = t[14], te = t[15];
18591
+ return Math.abs(n - y) <= d * Math.max(1, Math.abs(n), Math.abs(y)) && Math.abs(r - b) <= d * Math.max(1, Math.abs(r), Math.abs(b)) && Math.abs(i - x) <= d * Math.max(1, Math.abs(i), Math.abs(x)) && Math.abs(a - S) <= d * Math.max(1, Math.abs(a), Math.abs(S)) && Math.abs(o - C) <= d * Math.max(1, Math.abs(o), Math.abs(C)) && Math.abs(s - w) <= d * Math.max(1, Math.abs(s), Math.abs(w)) && Math.abs(c - T) <= d * Math.max(1, Math.abs(c), Math.abs(T)) && Math.abs(l - E) <= d * Math.max(1, Math.abs(l), Math.abs(E)) && Math.abs(u - D) <= d * Math.max(1, Math.abs(u), Math.abs(D)) && Math.abs(f - O) <= d * Math.max(1, Math.abs(f), Math.abs(O)) && Math.abs(p - k) <= d * Math.max(1, Math.abs(p), Math.abs(k)) && Math.abs(m - A) <= d * Math.max(1, Math.abs(m), Math.abs(A)) && Math.abs(h - j) <= d * Math.max(1, Math.abs(h), Math.abs(j)) && Math.abs(g - M) <= d * Math.max(1, Math.abs(g), Math.abs(M)) && Math.abs(_ - ee) <= d * Math.max(1, Math.abs(_), Math.abs(ee)) && Math.abs(v - te) <= d * Math.max(1, Math.abs(v), Math.abs(te));
18592
18592
  }, e.cl = function(e, t) {
18593
18593
  return e[0] = t[0], e[1] = t[1], e[2] = t[2], e[3] = t[3], e[4] = t[4], e[5] = t[5], e[6] = t[6], e[7] = t[7], e[8] = t[8], e[9] = t[9], e[10] = t[10], e[11] = t[11], e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15], e;
18594
- }, e.cm = (e) => e.type === "circle", e.cn = (e) => e.type === "heatmap", e.co = (e) => e.type === "line", e.cp = (e) => e.type === "fill", e.cq = (e) => e.type === "fill-extrusion", e.cr = (e) => e.type === "hillshade", e.cs = (e) => e.type === "color-relief", e.ct = (e) => e.type === "background", e.cu = (e) => e.type === "custom", e.cv = ee, e.cw = function(e, t, n) {
18594
+ }, e.cm = (e) => e.type === "circle", e.cn = (e) => e.type === "heatmap", e.co = (e) => e.type === "line", e.cp = (e) => e.type === "fill", e.cq = (e) => e.type === "fill-extrusion", e.cr = (e) => e.type === "hillshade", e.cs = (e) => e.type === "color-relief", e.ct = (e) => e.type === "background", e.cu = (e) => e.type === "custom", e.cv = te, e.cw = function(e, t, n) {
18595
18595
  if (t <= 0) return e;
18596
18596
  let r = 1 / t;
18597
18597
  return n === void 0 || Math.abs(n) < 1e-10 ? Math.round(e * r) / r : (n > 0 ? Math.ceil(e * r - 1e-9) : Math.floor(e * r + 1e-10)) / r;
18598
18598
  }, e.cx = function(e, t, n) {
18599
18599
  let r = D(t.x - n.x, t.y - n.y), i = D(e.x - n.x, e.y - n.y);
18600
18600
  var a, o;
18601
- return ye(Math.atan2(r[0] * i[1] - r[1] * i[0], (a = r)[0] * (o = i)[0] + a[1] * o[1]));
18602
- }, e.cy = P, e.cz = function(e, t) {
18601
+ return be(Math.atan2(r[0] * i[1] - r[1] * i[0], (a = r)[0] * (o = i)[0] + a[1] * o[1]));
18602
+ }, e.cy = N, e.cz = function(e, t) {
18603
18603
  var n;
18604
- if (!xe[t]) return !1;
18604
+ if (!Se[t]) return !1;
18605
18605
  let r = e == null ? void 0 : e.target, i = ((n = r == null ? void 0 : r.ownerDocument) == null ? void 0 : n.defaultView) || window;
18606
18606
  return e instanceof i.MouseEvent || e instanceof i.WheelEvent;
18607
18607
  }, e.d = A, e.d0 = class {
@@ -18697,7 +18697,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18697
18697
  getClusterLeaves(e, t, n) {
18698
18698
  return this.tileIndex.getLeaves(e, t, n);
18699
18699
  }
18700
- }, e.d1 = Fa, e.e = re, e.f = je, e.g = De, e.h = (e) => t(void 0, void 0, void 0, (function* () {
18700
+ }, e.d1 = Fa, e.e = ie, e.f = Me, e.g = Oe, e.h = (e) => t(void 0, void 0, void 0, (function* () {
18701
18701
  if (e.byteLength === 0) return createImageBitmap(new ImageData(1, 1));
18702
18702
  let t = new Blob([new Uint8Array(e)], { type: "image/png" });
18703
18703
  try {
@@ -18705,18 +18705,18 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
18705
18705
  } catch (e) {
18706
18706
  throw Error(`Could not load image because of ${A(e).message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`);
18707
18707
  }
18708
- })), e.i = de, e.j = (e) => new Promise(((t, n) => {
18708
+ })), e.i = fe, e.j = (e) => new Promise(((t, n) => {
18709
18709
  let r = new Image();
18710
18710
  r.onload = () => {
18711
- t(r), URL.revokeObjectURL(r.src), r.onload = null, window.requestAnimationFrame((() => r.src = F));
18711
+ t(r), URL.revokeObjectURL(r.src), r.onload = null, window.requestAnimationFrame((() => r.src = P));
18712
18712
  }, 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."));
18713
18713
  let i = new Blob([new Uint8Array(e)], { type: "image/png" });
18714
- r.src = e.byteLength ? URL.createObjectURL(i) : F;
18715
- })), e.k = (e, t) => Ae(re(e, { type: "json" }), t), e.l = Fe, e.m = Ae, e.n = Pe, e.o = (e, t) => Ae(re(e, { type: "arrayBuffer" }), t), e.p = Yd, e.q = function(e) {
18714
+ r.src = e.byteLength ? URL.createObjectURL(i) : P;
18715
+ })), e.k = (e, t) => je(ie(e, { type: "json" }), t), e.l = Ie, e.m = je, e.n = Fe, e.o = (e, t) => je(ie(e, { type: "arrayBuffer" }), t), e.p = Yd, e.q = function(e) {
18716
18716
  return new Pd(e).readFields(Kd, []);
18717
18717
  }, e.r = function(e) {
18718
18718
  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));
18719
- }, e.s = _e, e.t = Cc, e.u = Xa, e.v = sa, e.w = le, e.x = R, e.y = Va, e.z = la;
18719
+ }, e.s = ve, e.t = Cc, e.u = Xa, e.v = sa, e.w = ue, e.x = I, e.y = Va, e.z = la;
18720
18720
  })), n("worker", ["./shared"], (function(e) {
18721
18721
  class t {
18722
18722
  constructor(e, t) {
@@ -20260,12 +20260,12 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20260
20260
  return Object.keys(this.active).length;
20261
20261
  }
20262
20262
  }
20263
- let M = Math.floor(s.hardwareConcurrency / 2), N, ee;
20264
- function P() {
20265
- return N || (N = new j()), N;
20263
+ let M = Math.floor(s.hardwareConcurrency / 2), ee, te;
20264
+ function N() {
20265
+ return ee || (ee = new j()), ee;
20266
20266
  }
20267
20267
  j.workerCount = t.L(globalThis) ? Math.max(Math.min(M, 3), 1) : 1;
20268
- class te {
20268
+ class ne {
20269
20269
  constructor(e, n) {
20270
20270
  this.workerPool = e, this.actors = [], this.currentActor = 0, this.id = n;
20271
20271
  let r = this.workerPool.acquire(n);
@@ -20297,10 +20297,10 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20297
20297
  for (let t of this.actors) t.unregisterMessageHandler(e);
20298
20298
  }
20299
20299
  }
20300
- function ne() {
20301
- return ee || (ee = new te(P(), t.M), ee.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), ee;
20300
+ function re() {
20301
+ return te || (te = new ne(N(), t.M), te.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), te;
20302
20302
  }
20303
- function re(e, n) {
20303
+ function ie(e, n) {
20304
20304
  let r = t.O();
20305
20305
  return t.Q(r, r, [
20306
20306
  1,
@@ -20312,7 +20312,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20312
20312
  1
20313
20313
  ]), e.calculatePosMatrix ? t.U(r, r, e.calculatePosMatrix(n.toUnwrapped())) : r;
20314
20314
  }
20315
- function ie(e, t, n, r, i, a, o) {
20315
+ function ae(e, t, n, r, i, a, o) {
20316
20316
  var s;
20317
20317
  let c = function(e, t, n) {
20318
20318
  if (e) for (let r of e) {
@@ -20325,14 +20325,14 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20325
20325
  }
20326
20326
  return !1;
20327
20327
  }((s = i == null ? void 0 : i.layers) == null ? null : s, t, e.id), l = a.maxPitchScaleFactor(), u = e.tilesIn(r, l, c);
20328
- u.sort(ae);
20328
+ u.sort(oe);
20329
20329
  let d = [];
20330
20330
  for (let r of u) d.push({
20331
20331
  wrappedTileID: r.tileID.wrapped().key,
20332
- 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)
20332
+ queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l, ie(a, r.tileID), o ? (e, t) => o(r.tileID, e, t) : void 0)
20333
20333
  });
20334
20334
  return function(e, t) {
20335
- for (let n in e) for (let r of e[n]) oe(r, t);
20335
+ for (let n in e) for (let r of e[n]) se(r, t);
20336
20336
  return e;
20337
20337
  }(function(e) {
20338
20338
  let t = {}, n = {};
@@ -20350,15 +20350,15 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20350
20350
  return t;
20351
20351
  }(d), e);
20352
20352
  }
20353
- function ae(e, t) {
20353
+ function oe(e, t) {
20354
20354
  let n = e.tileID, r = t.tileID;
20355
20355
  return n.overscaledZ - r.overscaledZ || n.canonical.y - r.canonical.y || n.wrap - r.wrap || n.canonical.x - r.canonical.x;
20356
20356
  }
20357
- function oe(e, t) {
20357
+ function se(e, t) {
20358
20358
  let n = e.feature, r = t.getFeatureState(n.layer["source-layer"], n.id);
20359
20359
  n.source = n.layer.source, n.layer["source-layer"] && (n.sourceLayer = n.layer["source-layer"]), n.state = r;
20360
20360
  }
20361
- function se(e, n, r, i) {
20361
+ function ce(e, n, r, i) {
20362
20362
  return t._(this, void 0, void 0, (function* () {
20363
20363
  let a = e;
20364
20364
  if (e.url ? a = (yield t.k(yield n.transformRequest(e.url, "Source"), r)).data : yield s.frameAsync(r, i), !a) return null;
@@ -20375,7 +20375,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20375
20375
  return "vector_layers" in a && a.vector_layers && (o.vectorLayerIds = a.vector_layers.map(((e) => e.id))), o;
20376
20376
  }));
20377
20377
  }
20378
- class ce {
20378
+ class le {
20379
20379
  constructor(e, t) {
20380
20380
  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])));
20381
20381
  }
@@ -20389,7 +20389,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20389
20389
  let n = this._sw, r = this._ne, i, a;
20390
20390
  if (e instanceof t.W) i = e, a = e;
20391
20391
  else {
20392
- 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;
20392
+ if (!(e instanceof le)) return Array.isArray(e) ? e.length === 4 || e.every(Array.isArray) ? this.extend(le.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;
20393
20393
  if (i = e._sw, a = e._ne, !i || !a) return this;
20394
20394
  }
20395
20395
  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;
@@ -20435,27 +20435,27 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20435
20435
  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;
20436
20436
  }
20437
20437
  intersects(e) {
20438
- if (!((e = ce.convert(e)).getNorth() >= this.getSouth() && e.getSouth() <= this.getNorth())) return !1;
20438
+ if (!((e = le.convert(e)).getNorth() >= this.getSouth() && e.getSouth() <= this.getNorth())) return !1;
20439
20439
  let n = Math.abs(this.getEast() - this.getWest()), r = Math.abs(e.getEast() - e.getWest());
20440
20440
  if (n >= 360 || r >= 360) return !0;
20441
20441
  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;
20442
20442
  return !(!c || !l) || (c ? s >= i || o <= a : l ? a >= o || i <= s : o <= a && s >= i);
20443
20443
  }
20444
20444
  static convert(e) {
20445
- return e instanceof ce ? e : e && new ce(e);
20445
+ return e instanceof le ? e : e && new le(e);
20446
20446
  }
20447
20447
  static fromLngLat(e, n = 0) {
20448
20448
  let r = 360 * n / 40075017, i = r / Math.cos(Math.PI / 180 * e.lat);
20449
- return new ce(new t.W(e.lng - i, e.lat - r), new t.W(e.lng + i, e.lat + r));
20449
+ return new le(new t.W(e.lng - i, e.lat - r), new t.W(e.lng + i, e.lat + r));
20450
20450
  }
20451
20451
  adjustAntiMeridian() {
20452
20452
  let e = new t.W(this._sw.lng, this._sw.lat), n = new t.W(this._ne.lng, this._ne.lat);
20453
- return new ce(e, e.lng > n.lng ? new t.W(n.lng + 360, n.lat) : n);
20453
+ return new le(e, e.lng > n.lng ? new t.W(n.lng + 360, n.lat) : n);
20454
20454
  }
20455
20455
  }
20456
- class le {
20456
+ class ue {
20457
20457
  constructor(e, t, n) {
20458
- this.bounds = ce.convert(this.validateBounds(e)), this.minzoom = t || 0, this.maxzoom = n || 24;
20458
+ this.bounds = le.convert(this.validateBounds(e)), this.minzoom = t || 0, this.maxzoom = n || 24;
20459
20459
  }
20460
20460
  validateBounds(e) {
20461
20461
  return Array.isArray(e) && e.length === 4 ? [
@@ -20475,7 +20475,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20475
20475
  return e.x >= r && e.x < a && e.y >= i && e.y < o;
20476
20476
  }
20477
20477
  }
20478
- class ue extends t.E {
20478
+ class de extends t.E {
20479
20479
  constructor(e, n, r, i) {
20480
20480
  if (super(), this.id = e, this.dispatcher = r, this.type = "vector", this.minzoom = 0, this.maxzoom = 22, this.scheme = "xyz", this.tileSize = 512, this.reparseOverscaled = !0, this.isTileClipped = !0, this._loaded = !1, t.e(this, t.V(n, [
20481
20481
  "url",
@@ -20490,8 +20490,8 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20490
20490
  return t._(this, arguments, void 0, (function* (e = !1) {
20491
20491
  this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
20492
20492
  try {
20493
- let n = yield se(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20494
- 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", {
20493
+ let n = yield ce(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20494
+ this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new ue(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
20495
20495
  dataType: "source",
20496
20496
  sourceDataType: "metadata"
20497
20497
  })), this.fire(new t.n("data", {
@@ -20621,7 +20621,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20621
20621
  return !1;
20622
20622
  }
20623
20623
  }
20624
- class de extends t.E {
20624
+ class fe extends t.E {
20625
20625
  constructor(e, n, r, i) {
20626
20626
  super(), this.id = e, this.dispatcher = r, this.setEventedParent(i), this.type = "raster", this.minzoom = 0, this.maxzoom = 22, this.roundZoom = !0, this.scheme = "xyz", this.tileSize = 512, this._loaded = !1, this._options = t.e({ type: "raster" }, n), t.e(this, t.V(n, [
20627
20627
  "url",
@@ -20633,8 +20633,8 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20633
20633
  return t._(this, arguments, void 0, (function* (e = !1) {
20634
20634
  this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
20635
20635
  try {
20636
- let n = yield se(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20637
- 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", {
20636
+ let n = yield ce(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20637
+ this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new ue(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
20638
20638
  dataType: "source",
20639
20639
  sourceDataType: "metadata"
20640
20640
  })), this.fire(new t.n("data", {
@@ -20710,7 +20710,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20710
20710
  return !1;
20711
20711
  }
20712
20712
  }
20713
- class fe extends de {
20713
+ class pe extends fe {
20714
20714
  constructor(e, n, r, i) {
20715
20715
  super(e, n, r, i), this.type = "raster-dem", this.maxzoom = 22, this._options = t.e({ type: "raster-dem" }, n), this.encoding = n.encoding || "mapbox", this.redFactor = n.redFactor, this.greenFactor = n.greenFactor, this.blueFactor = n.blueFactor, this.baseShift = n.baseShift;
20716
20716
  }
@@ -20781,10 +20781,10 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20781
20781
  }));
20782
20782
  }
20783
20783
  }
20784
- function pe(e, t) {
20784
+ function me(e, t) {
20785
20785
  return t ? e.properties[t] : e.id;
20786
20786
  }
20787
- function F(e, t) {
20787
+ function P(e, t) {
20788
20788
  let n = { id: e.id };
20789
20789
  if (t.removeAllProperties && (delete e.removeProperties, delete e.addOrUpdateProperties, delete t.removeProperties), t.removeProperties) for (let n of t.removeProperties) {
20790
20790
  let t = e.addOrUpdateProperties.findIndex(((e) => e.key === n));
@@ -20792,28 +20792,28 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20792
20792
  }
20793
20793
  return (e.removeAllProperties || t.removeAllProperties) && (n.removeAllProperties = !0), (e.removeProperties || t.removeProperties) && (n.removeProperties = [...e.removeProperties || [], ...t.removeProperties || []]), (e.addOrUpdateProperties || t.addOrUpdateProperties) && (n.addOrUpdateProperties = [...e.addOrUpdateProperties || [], ...t.addOrUpdateProperties || []]), (e.newGeometry || t.newGeometry) && (n.newGeometry = t.newGeometry || e.newGeometry), n;
20794
20794
  }
20795
- function me(e) {
20795
+ function he(e) {
20796
20796
  var t, n;
20797
20797
  if (!e) return {};
20798
20798
  let r = {};
20799
20799
  return r.removeAll = e.removeAll, r.remove = new Set(e.remove || []), r.add = new Map((t = e.add) == null ? void 0 : t.map(((e) => [e.id, e]))), r.update = new Map((n = e.update) == null ? void 0 : n.map(((e) => [e.id, e]))), r;
20800
20800
  }
20801
- function he(e) {
20802
- return e && e.length !== 0 ? typeof e[0] == "number" ? [e] : e.flatMap(((e) => he(e))) : [];
20803
- }
20804
20801
  function ge(e) {
20805
- return e.type === "GeometryCollection" ? e.geometries.flatMap(((e) => ge(e))) : he(e.coordinates);
20802
+ return e && e.length !== 0 ? typeof e[0] == "number" ? [e] : e.flatMap(((e) => ge(e))) : [];
20806
20803
  }
20807
20804
  function _e(e) {
20808
- let t = new ce(), n;
20805
+ return e.type === "GeometryCollection" ? e.geometries.flatMap(((e) => _e(e))) : ge(e.coordinates);
20806
+ }
20807
+ function ve(e) {
20808
+ let t = new le(), n;
20809
20809
  switch (e.type) {
20810
20810
  case "FeatureCollection":
20811
- n = e.features.flatMap(((e) => ge(e.geometry)));
20811
+ n = e.features.flatMap(((e) => _e(e.geometry)));
20812
20812
  break;
20813
20813
  case "Feature":
20814
- n = ge(e.geometry);
20814
+ n = _e(e.geometry);
20815
20815
  break;
20816
- default: n = ge(e);
20816
+ default: n = _e(e);
20817
20817
  }
20818
20818
  if (n.length === 0) return t;
20819
20819
  for (let e of n) {
@@ -20822,7 +20822,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20822
20822
  }
20823
20823
  return t;
20824
20824
  }
20825
- class ve extends t.E {
20825
+ class ye extends t.E {
20826
20826
  constructor(e, n, r, i) {
20827
20827
  super(), this.id = e, this.type = "geojson", this.minzoom = 0, this.maxzoom = 18, this.tileSize = 512, this.isTileClipped = !0, this.reparseOverscaled = !0, this._removed = !1, this._isUpdatingWorker = !1, this._pendingWorkerUpdate = { data: n.data }, this.actor = r.getActor(), this.setEventedParent(i), this._data = typeof n.data == "string" ? { url: n.data } : { geojson: n.data }, this._options = t.e({}, n), this._collectResourceTiming = n.collectResourceTiming, n.maxzoom !== void 0 && (this.maxzoom = n.maxzoom), n.type && (this.type = n.type), n.attribution && (this.attribution = n.attribution), this.promoteId = n.promoteId, n.clusterMaxZoom !== void 0 && this.maxzoom <= n.clusterMaxZoom && t.w(`The maxzoom value "${this.maxzoom}" is expected to be greater than the clusterMaxZoom value "${n.clusterMaxZoom}".`), this.workerOptions = t.e({
20828
20828
  source: this.id,
@@ -20875,13 +20875,13 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20875
20875
  this._pendingWorkerUpdate.diff = function(e, t) {
20876
20876
  if (!e) return t || {};
20877
20877
  if (!t) return e || {};
20878
- let n = me(e), r = me(t);
20878
+ let n = he(e), r = he(t);
20879
20879
  (function(e, t) {
20880
20880
  t.removeAll && (e.add.clear(), e.update.clear(), e.remove.clear(), t.remove.clear());
20881
20881
  for (let n of t.remove) e.add.delete(n), e.update.delete(n);
20882
20882
  for (let [n, r] of t.update) {
20883
20883
  let i = e.update.get(n);
20884
- i && (t.update.set(n, F(i, r)), e.update.delete(n));
20884
+ i && (t.update.set(n, P(i, r)), e.update.delete(n));
20885
20885
  }
20886
20886
  })(n, r);
20887
20887
  let i = {};
@@ -20904,7 +20904,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20904
20904
  }
20905
20905
  getBounds() {
20906
20906
  return t._(this, void 0, void 0, (function* () {
20907
- return _e(yield this.getData());
20907
+ return ve(yield this.getData());
20908
20908
  }));
20909
20909
  }
20910
20910
  setClusterOptions(e) {
@@ -20995,13 +20995,13 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
20995
20995
  let n = /* @__PURE__ */ new Map();
20996
20996
  if (e == null || e.type == null) return n;
20997
20997
  if (e.type === "Feature") {
20998
- let r = pe(e, t);
20998
+ let r = me(e, t);
20999
20999
  return r == null ? void 0 : (n.set(r, e), n);
21000
21000
  }
21001
21001
  if (e.type === "FeatureCollection") {
21002
21002
  let r = /* @__PURE__ */ new Set();
21003
21003
  for (let i of e.features) {
21004
- let e = pe(i, t);
21004
+ let e = me(i, t);
21005
21005
  if (e == null || r.has(e)) return;
21006
21006
  r.add(e), n.set(e, i);
21007
21007
  }
@@ -21021,7 +21021,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21021
21021
  t && (a.push(t.geometry), e.delete(n));
21022
21022
  }
21023
21023
  if (t.add) for (let r of t.add) {
21024
- let t = pe(r, n);
21024
+ let t = me(r, n);
21025
21025
  if (t == null) continue;
21026
21026
  let i = e.get(t);
21027
21027
  i && a.push(i.geometry), a.push(r.geometry), e.set(t, r);
@@ -21043,14 +21043,14 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21043
21043
  return e.removeAll || this._options.cluster ? void 0 : n;
21044
21044
  }
21045
21045
  _getShouldReloadTileOptions(e) {
21046
- if (e) return { affectedBounds: e.filter(Boolean).map(((e) => _e(e))) };
21046
+ if (e) return { affectedBounds: e.filter(Boolean).map(((e) => ve(e))) };
21047
21047
  }
21048
21048
  shouldReloadTile(e, { affectedBounds: n }) {
21049
21049
  if (e.state === "loading") return !0;
21050
21050
  if (e.state === "unloaded") return !1;
21051
21051
  let { buffer: r, extent: i } = this.workerOptions.geojsonVtOptions, a = function({ x: e, y: n, z: r }, i = 0) {
21052
21052
  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);
21053
- return new ce([a, o], [s, c]);
21053
+ return new le([a, o], [s, c]);
21054
21054
  }(e.tileID.canonical, r / i);
21055
21055
  for (let e of n) if (a.intersects(e)) return !0;
21056
21056
  return !1;
@@ -21122,7 +21122,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21122
21122
  return !1;
21123
21123
  }
21124
21124
  }
21125
- class ye extends t.E {
21125
+ class be extends t.E {
21126
21126
  constructor(e, t, n, r) {
21127
21127
  super(), this.flippedWindingOrder = !1, this.id = e, this.dispatcher = n, this.coordinates = t.coordinates, this.type = "image", this.minzoom = 0, this.maxzoom = 22, this.tileSize = 512, this.tiles = {}, this._loaded = !1, this.setEventedParent(r), this.options = t;
21128
21128
  }
@@ -21214,7 +21214,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21214
21214
  return o;
21215
21215
  }
21216
21216
  }
21217
- class be extends ye {
21217
+ class xe extends be {
21218
21218
  constructor(e, t, n, r) {
21219
21219
  super(e, t, n, r), this._onPlayingHandler = () => {
21220
21220
  var e;
@@ -21283,7 +21283,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21283
21283
  return this.video && !this.video.paused;
21284
21284
  }
21285
21285
  }
21286
- class xe extends ye {
21286
+ class Se extends be {
21287
21287
  constructor(e, n, r, i) {
21288
21288
  super(e, n, r, i), n.coordinates ? Array.isArray(n.coordinates) && n.coordinates.length === 4 && !n.coordinates.some(((e) => !Array.isArray(e) || e.length !== 2 || e.some(((e) => typeof e != "number")))) || this.fire(new t.l(new t.ac(`sources.${e}`, null, "\"coordinates\" property must be an array of 4 longitude/latitude array pairs"))) : this.fire(new t.l(new t.ac(`sources.${e}`, null, "missing required property \"coordinates\""))), n.animate && typeof n.animate != "boolean" && this.fire(new t.l(new t.ac(`sources.${e}`, null, "optional \"animate\" property must be a boolean value"))), n.canvas ? typeof n.canvas == "string" || n.canvas instanceof HTMLCanvasElement || this.fire(new t.l(new t.ac(`sources.${e}`, null, "\"canvas\" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance"))) : this.fire(new t.l(new t.ac(`sources.${e}`, null, "missing required property \"canvas\""))), this.options = n, this.animate = n.animate === void 0 || n.animate;
21289
21289
  }
@@ -21337,21 +21337,21 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21337
21337
  return !1;
21338
21338
  }
21339
21339
  }
21340
- let Se = {}, Ce = (e) => {
21340
+ let Ce = {}, we = (e) => {
21341
21341
  switch (e) {
21342
- case "geojson": return ve;
21343
- case "image": return ye;
21344
- case "raster": return de;
21345
- case "raster-dem": return fe;
21346
- case "vector": return ue;
21347
- case "video": return be;
21348
- case "canvas": return xe;
21349
- }
21350
- return Se[e];
21351
- }, we = "RTLPluginLoaded";
21352
- class Te extends t.E {
21342
+ case "geojson": return ye;
21343
+ case "image": return be;
21344
+ case "raster": return fe;
21345
+ case "raster-dem": return pe;
21346
+ case "vector": return de;
21347
+ case "video": return xe;
21348
+ case "canvas": return Se;
21349
+ }
21350
+ return Ce[e];
21351
+ }, Te = "RTLPluginLoaded";
21352
+ class Ee extends t.E {
21353
21353
  constructor() {
21354
- super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = ne();
21354
+ super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = re();
21355
21355
  }
21356
21356
  _syncState(e) {
21357
21357
  return this.status = e, this.dispatcher.broadcast("SRPS", {
@@ -21379,24 +21379,24 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21379
21379
  }
21380
21380
  _requestImport() {
21381
21381
  return t._(this, void 0, void 0, (function* () {
21382
- yield this._syncState("loading"), this.status = "loaded", this.fire(new t.n(we));
21382
+ yield this._syncState("loading"), this.status = "loaded", this.fire(new t.n(Te));
21383
21383
  }));
21384
21384
  }
21385
21385
  lazyLoad() {
21386
21386
  this.status === "unavailable" ? this.status = "requested" : this.status === "deferred" && this._requestImport();
21387
21387
  }
21388
21388
  }
21389
- let Ee = null;
21390
- function De() {
21391
- return Ee || (Ee = new Te()), Ee;
21389
+ let De = null;
21390
+ function Oe() {
21391
+ return De || (De = new Ee()), De;
21392
21392
  }
21393
- var Oe, I;
21393
+ var ke, F;
21394
21394
  (function(e) {
21395
21395
  e[e.Base = 0] = "Base", e[e.Parent = 1] = "Parent";
21396
- })(Oe || (Oe = {})), function(e) {
21396
+ })(ke || (ke = {})), function(e) {
21397
21397
  e[e.Departing = 0] = "Departing", e[e.Incoming = 1] = "Incoming";
21398
- }(I || (I = {}));
21399
- class ke {
21398
+ }(F || (F = {}));
21399
+ class Ae {
21400
21400
  constructor(e, n) {
21401
21401
  this.timeAdded = 0, this.fadeEndTime = 0, this.fadeOpacity = 1, this.tileID = e, this.uid = t.ad(), this.uses = 0, this.tileSize = n, this.buckets = {}, this.expirationTime = null, this.queryPadding = 0, this.hasSymbolBuckets = !1, this.hasRTLText = !1, this.dependencies = {}, this.rtt = [], this.rttFingerprint = {}, this.expiredRequestCount = 0, this.state = "loading";
21402
21402
  }
@@ -21442,7 +21442,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21442
21442
  if (this.hasRTLText = !1, this.hasSymbolBuckets) for (let e in this.buckets) {
21443
21443
  let n = this.buckets[e];
21444
21444
  if (n instanceof t.af && n.hasRTLText) {
21445
- this.hasRTLText = !0, De().lazyLoad();
21445
+ this.hasRTLText = !0, Oe().lazyLoad();
21446
21446
  break;
21447
21447
  }
21448
21448
  }
@@ -21574,7 +21574,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21574
21574
  return !1;
21575
21575
  }
21576
21576
  }
21577
- class Ae {
21577
+ class je {
21578
21578
  constructor() {
21579
21579
  this.state = {}, this.stateChanges = {}, this.deletedStates = {}, this.revision = 0;
21580
21580
  }
@@ -21634,18 +21634,18 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21634
21634
  this.stateChanges = {}, this.deletedStates = {}, Object.keys(o).length !== 0 && (this.revision++, e.setFeatureState(o, n));
21635
21635
  }
21636
21636
  }
21637
- let je = 89.25;
21638
- function Me(e, n) {
21637
+ let Me = 89.25;
21638
+ function Ne(e, n) {
21639
21639
  let r = t.al(n.lat, -t.am, t.am);
21640
21640
  return new t.P(t.Z(n.lng) * e, t.Y(r) * e);
21641
21641
  }
21642
- function Ne(e, n) {
21642
+ function Pe(e, n) {
21643
21643
  return new t.a7(n.x / e, n.y / e).toLngLat();
21644
21644
  }
21645
- function Pe(e) {
21646
- return e.cameraToCenterDistance * Math.min(.85 * Math.tan(t.an(90 - e.pitch)), Math.tan(t.an(je - e.pitch)));
21645
+ function Fe(e) {
21646
+ return e.cameraToCenterDistance * Math.min(.85 * Math.tan(t.an(90 - e.pitch)), Math.tan(t.an(Me - e.pitch)));
21647
21647
  }
21648
- function Fe(e, n) {
21648
+ function Ie(e, n) {
21649
21649
  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));
21650
21650
  return t.Q(o, o, [
21651
21651
  a * i,
@@ -21657,11 +21657,11 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21657
21657
  1
21658
21658
  ]), o;
21659
21659
  }
21660
- function Ie(e, n, r, i, a) {
21661
- let o = t.a7.fromLngLat(e, n), s = a * t.aq(1, e.lat), { x: c, y: l, z: u } = R(r, i);
21660
+ function Le(e, n, r, i, a) {
21661
+ let o = t.a7.fromLngLat(e, n), s = a * t.aq(1, e.lat), { x: c, y: l, z: u } = I(r, i);
21662
21662
  return new t.a7(o.x + s * -c, o.y + s * -l, o.z + s * -u);
21663
21663
  }
21664
- function R(e, n) {
21664
+ function I(e, n) {
21665
21665
  let r = t.an(e), i = t.an(n), a = Math.cos(-r), o = Math.sin(r);
21666
21666
  return {
21667
21667
  x: o * Math.sin(i),
@@ -21669,24 +21669,24 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21669
21669
  z: a
21670
21670
  };
21671
21671
  }
21672
- function Le(e, t, n) {
21672
+ function Re(e, t, n) {
21673
21673
  let r = t.intersectsFrustum(e);
21674
21674
  if (!n || r === 0) return r;
21675
21675
  let i = t.intersectsPlane(n);
21676
21676
  return i === 0 ? 0 : r === 2 && i === 2 ? 2 : 1;
21677
21677
  }
21678
- function Re(e, t, n) {
21678
+ function ze(e, t, n) {
21679
21679
  let r = 0, i = (n - t) / 10;
21680
21680
  for (let a = 0; a < 10; a++) r += i * Math.cos(t + (a + .5) / 10 * (n - t)) ** +e;
21681
21681
  return r;
21682
21682
  }
21683
- function ze(e, n) {
21683
+ function R(e, n) {
21684
21684
  return function(r, i, a, o, s) {
21685
- let c = 2 * ((e - 1) / t.ar(Math.cos(t.an(je - s)) / Math.cos(t.an(je))) - 1), l = Math.acos(a / o), u = 2 * Re(c - 1, 0, t.an(s / 2)), d = Math.min(t.an(je), l + t.an(s / 2)), f = Re(c - 1, Math.min(d, l - t.an(s / 2)), d), p = Math.atan(i / a), m = Math.hypot(i, a), h = r;
21685
+ let c = 2 * ((e - 1) / t.ar(Math.cos(t.an(Me - s)) / Math.cos(t.an(Me))) - 1), l = Math.acos(a / o), u = 2 * ze(c - 1, 0, t.an(s / 2)), d = Math.min(t.an(Me), l + t.an(s / 2)), f = ze(c - 1, Math.min(d, l - t.an(s / 2)), d), p = Math.atan(i / a), m = Math.hypot(i, a), h = r;
21686
21686
  return h += t.ar(o / m / Math.max(.5, Math.cos(t.an(s / 2)))), h += c * t.ar(Math.cos(p)) / 2, h -= t.ar(Math.max(1, f / u / n)) / 2, h;
21687
21687
  };
21688
21688
  }
21689
- let Be = ze(9.314, 3);
21689
+ let Be = R(9.314, 3);
21690
21690
  function Ve(e, n) {
21691
21691
  let r = (n.roundZoom ? Math.round : Math.floor)(e.zoom + t.ar(e.tileSize / n.tileSize));
21692
21692
  return Math.max(0, r);
@@ -21717,7 +21717,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21717
21717
  z: p.zoom
21718
21718
  }, w = s.getTileBoundingVolume(C, p.wrap, e.elevation, n);
21719
21719
  if (!S) {
21720
- let e = Le(r, w, i);
21720
+ let e = Re(r, w, i);
21721
21721
  if (e === 0) continue;
21722
21722
  S = e === 2;
21723
21723
  }
@@ -21749,18 +21749,18 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21749
21749
  function Ge(e, t, n, r, i, a, o) {
21750
21750
  if (!t.hasData()) return !1;
21751
21751
  let { tileID: s, fadingRole: c, fadingDirection: l, fadingParentID: u } = t;
21752
- if (c === Oe.Base && l === I.Incoming && u) return n[u.key] = u, !0;
21752
+ if (c === ke.Base && l === F.Incoming && u) return n[u.key] = u, !0;
21753
21753
  let d = Math.max(s.overscaledZ - i, a);
21754
21754
  for (let i = s.overscaledZ - 1; i >= d; i--) {
21755
21755
  let a = s.scaledTo(i), c = e.getLoadedTile(a);
21756
21756
  if (c) return t.setCrossFadeLogic({
21757
- fadingRole: Oe.Base,
21758
- fadingDirection: I.Incoming,
21757
+ fadingRole: ke.Base,
21758
+ fadingDirection: F.Incoming,
21759
21759
  fadingParentID: c.tileID,
21760
21760
  fadeEndTime: r + o
21761
21761
  }), c.setCrossFadeLogic({
21762
- fadingRole: Oe.Parent,
21763
- fadingDirection: I.Departing,
21762
+ fadingRole: ke.Parent,
21763
+ fadingDirection: F.Departing,
21764
21764
  fadeEndTime: r + o
21765
21765
  }), n[a.key] = a, !0;
21766
21766
  }
@@ -21780,14 +21780,14 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21780
21780
  let n = e.getLoadedTile(a);
21781
21781
  if (!n) continue;
21782
21782
  let { fadingRole: c, fadingDirection: l, fadingParentID: u } = n;
21783
- c === Oe.Base && l === I.Departing && u || (n.setCrossFadeLogic({
21784
- fadingRole: Oe.Base,
21785
- fadingDirection: I.Departing,
21783
+ c === ke.Base && l === F.Departing && u || (n.setCrossFadeLogic({
21784
+ fadingRole: ke.Base,
21785
+ fadingDirection: F.Departing,
21786
21786
  fadingParentID: t.tileID,
21787
21787
  fadeEndTime: i + o
21788
21788
  }), t.setCrossFadeLogic({
21789
- fadingRole: Oe.Parent,
21790
- fadingDirection: I.Incoming,
21789
+ fadingRole: ke.Parent,
21790
+ fadingDirection: F.Incoming,
21791
21791
  fadeEndTime: i + o
21792
21792
  })), r[a.key] = a, s = !0;
21793
21793
  }
@@ -21859,10 +21859,10 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
21859
21859
  })), this.on("error", (() => {
21860
21860
  this._sourceErrored = this._source.loaded();
21861
21861
  })), this._source = ((e, t, n, r) => {
21862
- let i = new (Ce(t.type))(e, t, n, r);
21862
+ let i = new (we(t.type))(e, t, n, r);
21863
21863
  if (i.id !== e) throw Error(`Expected Source id to be ${e} instead of ${i.id}`);
21864
21864
  return i;
21865
- })(e, n, r, this), this._inViewTiles = new Ye(), this._outOfViewCache = new t.av(0, ((e) => this._unloadTile(e))), this._timers = {}, this._maxTileCacheSize = null, this._maxTileCacheZoomLevels = null, this._rasterFadeDuration = 0, this._maxFadingAncestorLevels = 5, this._state = new Ae(), this._didEmitContent = !1, this._updated = !1;
21865
+ })(e, n, r, this), this._inViewTiles = new Ye(), this._outOfViewCache = new t.av(0, ((e) => this._unloadTile(e))), this._timers = {}, this._maxTileCacheSize = null, this._maxTileCacheZoomLevels = null, this._rasterFadeDuration = 0, this._maxFadingAncestorLevels = 5, this._state = new je(), this._didEmitContent = !1, this._updated = !1;
21866
21866
  }
21867
21867
  onAdd(e) {
21868
21868
  var t;
@@ -22036,7 +22036,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
22036
22036
  let c = l(), u = t.at(n);
22037
22037
  for (let t of n) {
22038
22038
  let n = e.getTileById(t.key);
22039
- n.fadingDirection !== I.Departing && n.fadeOpacity !== 0 || n.resetFadeLogic(), Ge(e, n, r, c, i, a, s) || Ke(e, n, r, c, o, s) || z(n, u, c, s) || n.resetFadeLogic();
22039
+ n.fadingDirection !== F.Departing && n.fadeOpacity !== 0 || n.resetFadeLogic(), Ge(e, n, r, c, i, a, s) || Ke(e, n, r, c, o, s) || z(n, u, c, s) || n.resetFadeLogic();
22040
22040
  }
22041
22041
  }(this._inViewTiles, r, o, this._maxFadingAncestorLevels, this._source.minzoom, this._source.maxzoom, this._rasterFadeDuration), s ? this._cleanUpRasterTiles(o) : this._cleanUpVectorTiles(o);
22042
22042
  }
@@ -22085,7 +22085,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
22085
22085
  if (n) return n;
22086
22086
  n = this._outOfViewCache.getAndRemove(e), n && (n.resetFadeLogic(), this._setTileReloadTimer(e.key, n), n.tileID = e, this._state.initializeTileState(n, this.map ? this.map.painter : null));
22087
22087
  let r = n;
22088
- return n || (n = new ke(e, this._source.tileSize * e.overscaleFactor()), this._loadTile(n, e.key, n.state)), n.uses++, this._inViewTiles.setTile(e.key, n), r || this._source.fire(new t.n("dataloading", {
22088
+ return n || (n = new Ae(e, this._source.tileSize * e.overscaleFactor()), this._loadTile(n, e.key, n.state)), n.uses++, this._inViewTiles.setTile(e.key, n), r || this._source.fire(new t.n("dataloading", {
22089
22089
  tile: n,
22090
22090
  coord: n.tileID,
22091
22091
  dataType: "source"
@@ -23035,15 +23035,15 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
23035
23035
  var w, A;
23036
23036
  if (n[e.crossTileID]) return;
23037
23037
  if (d) return void (this.placements[e.crossTileID] = new St(!1, !1, !1));
23038
- let j = !1, M = !1, N = !0, ee = null, P = {
23038
+ let j = !1, M = !1, ee = !0, te = null, N = {
23039
23039
  box: null,
23040
23040
  placeable: !1,
23041
23041
  offscreen: null,
23042
23042
  occluded: !1
23043
- }, te = { placeable: !1 }, ne = null, re = null, ie = null, ae = 0, oe = 0, se = 0;
23044
- f.textFeatureIndex ? ae = f.textFeatureIndex : e.useRuntimeCollisionCircles && (ae = e.featureIndex), f.verticalTextFeatureIndex && (oe = f.verticalTextFeatureIndex);
23045
- let ce = f.textBox;
23046
- if (ce) {
23043
+ }, ne = { placeable: !1 }, re = null, ie = null, ae = null, oe = 0, se = 0, ce = 0;
23044
+ f.textFeatureIndex ? oe = f.textFeatureIndex : e.useRuntimeCollisionCircles && (oe = e.featureIndex), f.verticalTextFeatureIndex && (se = f.verticalTextFeatureIndex);
23045
+ let le = f.textBox;
23046
+ if (le) {
23047
23047
  let n = (n) => {
23048
23048
  let r = t.ax.horizontal;
23049
23049
  if (i.allowVerticalPlacement && !n && this.prevPlacement) {
@@ -23053,21 +23053,21 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
23053
23053
  return r;
23054
23054
  }, a = (n, r) => {
23055
23055
  if (i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && f.verticalTextBox) {
23056
- for (let e of i.writingModes) if (e === t.ax.vertical ? (P = r(), te = P) : P = n(), P != null && P.placeable) break;
23057
- } else P = n();
23056
+ for (let e of i.writingModes) if (e === t.ax.vertical ? (N = r(), ne = N) : N = n(), N != null && N.placeable) break;
23057
+ } else N = n();
23058
23058
  }, l = e.textAnchorOffsetStartIndex, d = e.textAnchorOffsetEndIndex;
23059
23059
  if (d === l) {
23060
23060
  let r = (t, n) => {
23061
23061
  let r = this.collisionIndex.placeCollisionBox(t, _, u, D, c, S, x, o, m.predicate, O, void 0, k);
23062
23062
  return r != null && r.placeable && (this.markUsedOrientation(i, n, e), this.placedOrientations[e.crossTileID] = n), r;
23063
23063
  };
23064
- a((() => r(ce, t.ax.horizontal)), (() => {
23064
+ a((() => r(le, t.ax.horizontal)), (() => {
23065
23065
  let n = f.verticalTextBox;
23066
23066
  return i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && n ? r(n, t.ax.vertical) : {
23067
23067
  box: null,
23068
23068
  offscreen: null
23069
23069
  };
23070
- })), n(P == null ? void 0 : P.placeable);
23070
+ })), n(N == null ? void 0 : N.placeable);
23071
23071
  } else {
23072
23072
  let p = t.aM[(A = (w = this.prevPlacement) == null ? void 0 : w.variableOffsets[e.crossTileID]) == null ? void 0 : A.anchor], h = (t, n, a) => {
23073
23073
  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";
@@ -23077,46 +23077,46 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
23077
23077
  let r = i.textAnchorOffsets.get(n);
23078
23078
  if (p && r.textAnchor !== p) continue;
23079
23079
  let l = this.attemptAnchorPlacement(r, t, f, h, g, x, S, u, D, c, m, T, e, i, a, o, s, v, O);
23080
- if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0, ee = l.shift, b;
23080
+ if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0, te = l.shift, b;
23081
23081
  }
23082
23082
  p ? p = null : T = _;
23083
23083
  }
23084
23084
  return r && !b && (b = {
23085
- box: this.collisionIndex.placeCollisionBox(ce, "always", u, D, c, S, x, o, m.predicate, O, void 0, k).box,
23085
+ box: this.collisionIndex.placeCollisionBox(le, "always", u, D, c, S, x, o, m.predicate, O, void 0, k).box,
23086
23086
  offscreen: !1,
23087
23087
  placeable: !1,
23088
23088
  occluded: !1
23089
23089
  }), b;
23090
23090
  };
23091
- a((() => h(ce, f.iconBox, t.ax.horizontal)), (() => {
23091
+ a((() => h(le, f.iconBox, t.ax.horizontal)), (() => {
23092
23092
  let n = f.verticalTextBox;
23093
- return i.allowVerticalPlacement && !(P != null && P.placeable) && e.numVerticalGlyphVertices > 0 && n ? h(n, f.verticalIconBox, t.ax.vertical) : {
23093
+ return i.allowVerticalPlacement && !(N != null && N.placeable) && e.numVerticalGlyphVertices > 0 && n ? h(n, f.verticalIconBox, t.ax.vertical) : {
23094
23094
  box: null,
23095
23095
  occluded: !0,
23096
23096
  offscreen: null
23097
23097
  };
23098
- })), P && (j = P.placeable, N = P.offscreen);
23099
- let g = n(P == null ? void 0 : P.placeable);
23098
+ })), N && (j = N.placeable, ee = N.offscreen);
23099
+ let g = n(N == null ? void 0 : N.placeable);
23100
23100
  if (!j && this.prevPlacement) {
23101
23101
  let t = this.prevPlacement.variableOffsets[e.crossTileID];
23102
23102
  t && (this.variableOffsets[e.crossTileID] = t, this.markUsedJustification(i, t.anchor, e, g));
23103
23103
  }
23104
23104
  }
23105
23105
  }
23106
- if (ne = P, j = ne == null ? void 0 : ne.placeable, N = ne == null ? void 0 : ne.offscreen, e.useRuntimeCollisionCircles && e.centerJustifiedTextSymbolIndex >= 0) {
23106
+ if (re = N, j = re == null ? void 0 : re.placeable, ee = re == null ? void 0 : re.offscreen, e.useRuntimeCollisionCircles && e.centerJustifiedTextSymbolIndex >= 0) {
23107
23107
  let n = i.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex), s = t.ay(i.textSizeData, p, n), u = a.get("text-padding");
23108
- re = this.collisionIndex.placeCollisionCircles(_, n, i.lineVertexArray, i.glyphOffsetArray, s, c, l, r, S, m.predicate, e.collisionCircleDiameter, u, o, O), re.circles.length && re.collisionDetected && !r && t.w("Collisions detected, but collision boxes are not shown"), j = v || re.circles.length > 0 && !re.collisionDetected, N && (N = re.offscreen);
23108
+ ie = this.collisionIndex.placeCollisionCircles(_, n, i.lineVertexArray, i.glyphOffsetArray, s, c, l, r, S, m.predicate, e.collisionCircleDiameter, u, o, O), ie.circles.length && ie.collisionDetected && !r && t.w("Collisions detected, but collision boxes are not shown"), j = v || ie.circles.length > 0 && !ie.collisionDetected, ee && (ee = ie.offscreen);
23109
23109
  }
23110
- if (f.iconFeatureIndex && (se = f.iconFeatureIndex), f.iconBox) {
23111
- let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C && ee ? ee : void 0, k);
23112
- te && te.placeable && f.verticalIconBox ? (ie = e(f.verticalIconBox), M = ie.placeable) : (ie = e(f.iconBox), M = ie.placeable), N && (N = ie.offscreen);
23110
+ if (f.iconFeatureIndex && (ce = f.iconFeatureIndex), f.iconBox) {
23111
+ let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C && te ? te : void 0, k);
23112
+ ne && ne.placeable && f.verticalIconBox ? (ae = e(f.verticalIconBox), M = ae.placeable) : (ae = e(f.iconBox), M = ae.placeable), ee && (ee = ae.offscreen);
23113
23113
  }
23114
- let le = h || e.numHorizontalGlyphVertices === 0 && e.numVerticalGlyphVertices === 0, ue = g || e.numIconVertices === 0;
23115
- le || ue ? ue ? le || M && (M = j) : j = M && j : M = j = M && j;
23116
- let de = M && ie.placeable;
23117
- if (j && ne.placeable && this.collisionIndex.insertCollisionBox(ne.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, te && te.placeable && oe ? oe : ae, m.ID), de && this.collisionIndex.insertCollisionBox(ie.box, y, a.get("icon-ignore-placement"), i.bucketInstanceId, se, m.ID), re && j && this.collisionIndex.insertCollisionCircles(re.circles, _, a.get("text-ignore-placement"), i.bucketInstanceId, ae, m.ID), r && this.storeCollisionData(i.bucketInstanceId, b, f, ne, ie, re), e.crossTileID === 0) throw Error("symbolInstance.crossTileID can't be 0");
23114
+ let ue = h || e.numHorizontalGlyphVertices === 0 && e.numVerticalGlyphVertices === 0, de = g || e.numIconVertices === 0;
23115
+ ue || de ? de ? ue || M && (M = j) : j = M && j : M = j = M && j;
23116
+ let fe = M && ae.placeable;
23117
+ if (j && re.placeable && this.collisionIndex.insertCollisionBox(re.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, ne && ne.placeable && se ? se : oe, m.ID), fe && this.collisionIndex.insertCollisionBox(ae.box, y, a.get("icon-ignore-placement"), i.bucketInstanceId, ce, m.ID), ie && j && this.collisionIndex.insertCollisionCircles(ie.circles, _, a.get("text-ignore-placement"), i.bucketInstanceId, oe, m.ID), r && this.storeCollisionData(i.bucketInstanceId, b, f, re, ae, ie), e.crossTileID === 0) throw Error("symbolInstance.crossTileID can't be 0");
23118
23118
  if (i.bucketInstanceId === 0) throw Error("bucket.bucketInstanceId can't be 0");
23119
- this.placements[e.crossTileID] = new St((j || T) && !(ne != null && ne.occluded), (M || E) && !(ie != null && ie.occluded), N || i.justReloaded), n[e.crossTileID] = !0;
23119
+ this.placements[e.crossTileID] = new St((j || T) && !(re != null && re.occluded), (M || E) && !(ae != null && ae.occluded), ee || i.justReloaded), n[e.crossTileID] = !0;
23120
23120
  };
23121
23121
  if (w) {
23122
23122
  if (e.symbolInstanceStart !== 0) throw Error("bucket.bucketInstanceId should be 0");
@@ -23816,7 +23816,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
23816
23816
  }
23817
23817
  getMaxBounds() {
23818
23818
  var e, t;
23819
- 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]]);
23819
+ return ((e = this._latRange) == null ? void 0 : e.length) !== 2 || ((t = this._lngRange) == null ? void 0 : t.length) !== 2 ? null : new le([this._lngRange[0], this._latRange[0]], [this._lngRange[1], this._latRange[1]]);
23820
23820
  }
23821
23821
  setMaxBounds(e) {
23822
23822
  e ? (this._lngRange = [e.getWest(), e.getEast()], this._latRange = [e.getSouth(), e.getNorth()], this.constrainInternal()) : (this._lngRange = null, this._latRange = [-t.am, t.am]);
@@ -23869,7 +23869,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
23869
23869
  this._callbacks.calcMatrices();
23870
23870
  }
23871
23871
  calculateCenterFromCameraLngLatAlt(e, n, r, i) {
23872
- let a = r === void 0 ? this.bearing : r, o = i = i === void 0 ? this.pitch : i, { distanceToCenter: s, clampedElevation: c } = this._distanceToCenterFromAltElevationPitch(n, this.elevation, o), { x: l, y: u } = R(o, a), d = t.a7.fromLngLat(e, n), f, p, m = t.aY(1, d.y), h = 0;
23872
+ let a = r === void 0 ? this.bearing : r, o = i = i === void 0 ? this.pitch : i, { distanceToCenter: s, clampedElevation: c } = this._distanceToCenterFromAltElevationPitch(n, this.elevation, o), { x: l, y: u } = I(o, a), d = t.a7.fromLngLat(e, n), f, p, m = t.aY(1, d.y), h = 0;
23873
23873
  do {
23874
23874
  if (h += 1, h > 10) break;
23875
23875
  p = s / m, f = new t.a7(d.x + l * p, d.y + u * p), m = 1 / f.meterInMercatorCoordinateUnits();
@@ -23882,7 +23882,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
23882
23882
  }
23883
23883
  recalculateZoomAndCenter(e) {
23884
23884
  if (this.elevation - e == 0) return;
23885
- let n = 1 / this.worldSize, r = t.aq(1, this.center.lat) * this.worldSize, i = t.a7.fromLngLat(this.center, this.elevation), a = i.x / n, o = i.y / n, s = i.z / n, c = this.pitch, l = this.bearing, { x: u, y: d, z: f } = R(c, l), p = this.cameraToCenterDistance, m = a + p * -u, h = o + p * -d, g = s + p * f, { distanceToCenter: _, clampedElevation: v } = this._distanceToCenterFromAltElevationPitch(g / r, e, c), y = _ * r, b = new t.a7((m + u * y) * n, (h + d * y) * n, 0).toLngLat(), x = t.aq(1, b.lat), S = t.ar(this.height / 2 / Math.tan(this.fovInRadians / 2) / _ / x / this.tileSize);
23885
+ let n = 1 / this.worldSize, r = t.aq(1, this.center.lat) * this.worldSize, i = t.a7.fromLngLat(this.center, this.elevation), a = i.x / n, o = i.y / n, s = i.z / n, c = this.pitch, l = this.bearing, { x: u, y: d, z: f } = I(c, l), p = this.cameraToCenterDistance, m = a + p * -u, h = o + p * -d, g = s + p * f, { distanceToCenter: _, clampedElevation: v } = this._distanceToCenterFromAltElevationPitch(g / r, e, c), y = _ * r, b = new t.a7((m + u * y) * n, (h + d * y) * n, 0).toLngLat(), x = t.aq(1, b.lat), S = t.ar(this.height / 2 / Math.tan(this.fovInRadians / 2) / _ / x / this.tileSize);
23886
23886
  this._elevation = v, this._center = b, this.setZoom(S);
23887
23887
  }
23888
23888
  _distanceToCenterFromAltElevationPitch(e, n, r) {
@@ -23901,7 +23901,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
23901
23901
  }
23902
23902
  getCameraLngLat() {
23903
23903
  let e = t.aq(1, this.center.lat) * this.worldSize;
23904
- return Ie(this.center, this.elevation, this.pitch, this.bearing, this.cameraToCenterDistance / e).toLngLat();
23904
+ return Le(this.center, this.elevation, this.pitch, this.bearing, this.cameraToCenterDistance / e).toLngLat();
23905
23905
  }
23906
23906
  getMercatorTileCoordinates(e) {
23907
23907
  if (!e) return [
@@ -24370,8 +24370,8 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24370
24370
  o = t.Y(e[1]) * a, s = t.Y(e[0]) * a, s - o < p && (u = p / (s - o));
24371
24371
  }
24372
24372
  i && (c = t.X(t.Z(i[0]) * a, 0, a), l = t.X(t.Z(i[1]) * a, 0, a), l < c && (l += a), l - c < f && (d = f / (l - c)));
24373
- let { x: m, y: h } = Me(a, e), g, _, v = Math.max(d || 0, u || 0);
24374
- if (v) return r.center = Ne(a, new t.P(d ? (l + c) / 2 : m, u ? (s + o) / 2 : h)).wrap(), r.zoom += t.ar(v), r;
24373
+ let { x: m, y: h } = Ne(a, e), g, _, v = Math.max(d || 0, u || 0);
24374
+ if (v) return r.center = Pe(a, new t.P(d ? (l + c) / 2 : m, u ? (s + o) / 2 : h)).wrap(), r.zoom += t.ar(v), r;
24375
24375
  if (this._helper._latRange) {
24376
24376
  let e = p / 2;
24377
24377
  h - e < o && (_ = o + e), h + e > s && (_ = s - e);
@@ -24382,7 +24382,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24382
24382
  let r = f / 2;
24383
24383
  n - r < c && (g = c + r), n + r > l && (g = l - r);
24384
24384
  }
24385
- return (g !== void 0 || _ !== void 0) && (r.center = Ne(a, new t.P(g == null ? m : g, _ == null ? h : _)).wrap()), r;
24385
+ return (g !== void 0 || _ !== void 0) && (r.center = Pe(a, new t.P(g == null ? m : g, _ == null ? h : _)).wrap()), r;
24386
24386
  }, this.applyConstrain = (e, t) => this._helper.applyConstrain(e, t), this._helper = new Xt({
24387
24387
  calcMatrices: () => this._calcMatrices(),
24388
24388
  defaultConstrain: (e, t) => this.defaultConstrain(e, t)
@@ -24475,11 +24475,11 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24475
24475
  return t.aE(i, i, r), new t.P(i[0] / i[3], i[1] / i[3]);
24476
24476
  }
24477
24477
  getBounds() {
24478
- let e = Math.max(0, this._helper._height / 2 - Pe(this));
24479
- 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)));
24478
+ let e = Math.max(0, this._helper._height / 2 - Fe(this));
24479
+ return new le().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)));
24480
24480
  }
24481
24481
  isPointOnMapSurface(e, t) {
24482
- return t ? t.pointCoordinate(e) != null : e.y > this.height / 2 - Pe(this);
24482
+ return t ? t.pointCoordinate(e) != null : e.y > this.height / 2 - Fe(this);
24483
24483
  }
24484
24484
  calculatePosMatrix(e, n = !1, r) {
24485
24485
  var i;
@@ -24488,7 +24488,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24488
24488
  let e = o.get(a);
24489
24489
  return r ? e.f32 : e.f64;
24490
24490
  }
24491
- let s = Fe(e, this.worldSize);
24491
+ let s = Ie(e, this.worldSize);
24492
24492
  t.U(s, n ? this._alignedProjMatrix : this._viewProjMatrix, s);
24493
24493
  let c = {
24494
24494
  f64: s,
@@ -24499,7 +24499,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24499
24499
  calculateFogMatrix(e) {
24500
24500
  let n = e.key, r = this._fogMatrixCacheF32;
24501
24501
  if (r.has(n)) return r.get(n);
24502
- let i = Fe(e, this.worldSize);
24502
+ let i = Ie(e, this.worldSize);
24503
24503
  return t.U(i, this._fogMatrix, i), r.set(n, new Float32Array(i)), r.get(n);
24504
24504
  }
24505
24505
  calculateCenterFromCameraLngLatAlt(e, t, n, r) {
@@ -24507,14 +24507,14 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24507
24507
  }
24508
24508
  _calculateNearFarZIfNeeded(e, n, r) {
24509
24509
  if (!this._helper.autoCalculateNearFarZ) return;
24510
- let i = Math.min(this.elevation, this.minElevationForCurrentTile, this.getCameraAltitude() - 100), a = e - i * this._helper._pixelPerMeter / Math.cos(n), o = i < 0 ? a : e, s = Math.PI / 2 + this.pitchInRadians, c = t.an(this.fov) * (Math.abs(Math.cos(t.an(this.roll))) * this.height + Math.abs(Math.sin(t.an(this.roll))) * this.width) / this.height * (.5 + r.y / this.height), l = Math.sin(c) * o / Math.sin(t.al(Math.PI - s - c, .01, Math.PI - .01)), u = Pe(this), d = Math.atan(u / this._helper.cameraToCenterDistance), f = t.an(.75), p = d > f ? 2 * d * (.5 + r.y / (2 * u)) : f, m = Math.sin(p) * o / Math.sin(t.al(Math.PI - s - p, .01, Math.PI - .01)), h = Math.min(l, m);
24510
+ let i = Math.min(this.elevation, this.minElevationForCurrentTile, this.getCameraAltitude() - 100), a = e - i * this._helper._pixelPerMeter / Math.cos(n), o = i < 0 ? a : e, s = Math.PI / 2 + this.pitchInRadians, c = t.an(this.fov) * (Math.abs(Math.cos(t.an(this.roll))) * this.height + Math.abs(Math.sin(t.an(this.roll))) * this.width) / this.height * (.5 + r.y / this.height), l = Math.sin(c) * o / Math.sin(t.al(Math.PI - s - c, .01, Math.PI - .01)), u = Fe(this), d = Math.atan(u / this._helper.cameraToCenterDistance), f = t.an(.75), p = d > f ? 2 * d * (.5 + r.y / (2 * u)) : f, m = Math.sin(p) * o / Math.sin(t.al(Math.PI - s - p, .01, Math.PI - .01)), h = Math.min(l, m);
24511
24511
  this._helper._farZ = 1.01 * (Math.cos(Math.PI / 2 - n) * h + o), this._helper._nearZ = this._helper._height / 50;
24512
24512
  }
24513
24513
  _calcMatrices() {
24514
24514
  if (!this._helper._height) return;
24515
- let e = this.centerOffset, n = Me(this.worldSize, this.center), r = n.x, i = n.y;
24515
+ let e = this.centerOffset, n = Ne(this.worldSize, this.center), r = n.x, i = n.y;
24516
24516
  this._helper._pixelPerMeter = t.aq(1, this.center.lat) * this.worldSize;
24517
- let a = t.an(Math.min(this.pitch, je)), o = Math.max(this._helper.cameraToCenterDistance / 2, this._helper.cameraToCenterDistance + this._helper._elevation * this._helper._pixelPerMeter / Math.cos(a)), s;
24517
+ let a = t.an(Math.min(this.pitch, Me)), o = Math.max(this._helper.cameraToCenterDistance / 2, this._helper.cameraToCenterDistance + this._helper._elevation * this._helper._pixelPerMeter / Math.cos(a)), s;
24518
24518
  var c, l;
24519
24519
  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, [
24520
24520
  1,
@@ -24601,7 +24601,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24601
24601
  }
24602
24602
  getCameraLngLat() {
24603
24603
  let e = t.aq(1, this.center.lat) * this.worldSize;
24604
- return Ie(this.center, this.elevation, this.pitch, this.bearing, this._helper.cameraToCenterDistance / e).toLngLat();
24604
+ return Le(this.center, this.elevation, this.pitch, this.bearing, this._helper.cameraToCenterDistance / e).toLngLat();
24605
24605
  }
24606
24606
  lngLatToCameraDepth(e, n) {
24607
24607
  let r = t.a7.fromLngLat(e), i = [
@@ -24684,7 +24684,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24684
24684
  let n = new t.a3(0, 0, 0, 0, 0), r = this.getProjectionData({
24685
24685
  overscaledTileID: n,
24686
24686
  applyGlobeMatrix: e
24687
- }), i = Fe(n, this.worldSize);
24687
+ }), i = Ie(n, this.worldSize);
24688
24688
  t.U(i, this._viewProjMatrix, i), r.tileMercatorCoords = [
24689
24689
  0,
24690
24690
  0,
@@ -24715,11 +24715,11 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24715
24715
  else e.tr.setRoll(t.H.number(e.startEulerAngles.roll, e.endEulerAngles.roll, e.k)), e.tr.setPitch(t.H.number(e.startEulerAngles.pitch, e.endEulerAngles.pitch, e.k)), e.tr.setBearing(t.H.number(e.startEulerAngles.bearing, e.endEulerAngles.bearing, e.k));
24716
24716
  }
24717
24717
  function rn(e, n, r, i, a) {
24718
- let o = a.padding, s = Me(a.worldSize, r.getNorthWest()), c = Me(a.worldSize, r.getNorthEast()), l = Me(a.worldSize, r.getSouthEast()), u = Me(a.worldSize, r.getSouthWest()), d = t.an(-i), f = s.rotate(d), p = c.rotate(d), m = l.rotate(d), h = u.rotate(d), g = new t.P(Math.max(f.x, p.x, h.x, m.x), Math.max(f.y, p.y, h.y, m.y)), _ = new t.P(Math.min(f.x, p.x, h.x, m.x), Math.min(f.y, p.y, h.y, m.y)), v = g.sub(_), y = (a.width - (o.left + o.right + n.left + n.right)) / v.x, b = (a.height - (o.top + o.bottom + n.top + n.bottom)) / v.y;
24718
+ let o = a.padding, s = Ne(a.worldSize, r.getNorthWest()), c = Ne(a.worldSize, r.getNorthEast()), l = Ne(a.worldSize, r.getSouthEast()), u = Ne(a.worldSize, r.getSouthWest()), d = t.an(-i), f = s.rotate(d), p = c.rotate(d), m = l.rotate(d), h = u.rotate(d), g = new t.P(Math.max(f.x, p.x, h.x, m.x), Math.max(f.y, p.y, h.y, m.y)), _ = new t.P(Math.min(f.x, p.x, h.x, m.x), Math.min(f.y, p.y, h.y, m.y)), v = g.sub(_), y = (a.width - (o.left + o.right + n.left + n.right)) / v.x, b = (a.height - (o.top + o.bottom + n.top + n.bottom)) / v.y;
24719
24719
  if (b < 0 || y < 0) return void tn();
24720
24720
  let x = Math.min(t.ar(a.scale * Math.min(y, b)), e.maxZoom), S = t.P.convert(e.offset), C = new t.P((n.left - n.right) / 2, (n.top - n.bottom) / 2).rotate(t.an(i)), w = S.add(C).mult(a.scale / t.ao(x));
24721
24721
  return {
24722
- center: Ne(a.worldSize, s.add(l).div(2).sub(w)),
24722
+ center: Pe(a.worldSize, s.add(l).div(2).sub(w)),
24723
24723
  zoom: x,
24724
24724
  bearing: i
24725
24725
  };
@@ -24729,7 +24729,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24729
24729
  return !1;
24730
24730
  }
24731
24731
  handlePanInertia(e, t) {
24732
- let n = e.mag(), r = Math.abs(Pe(t));
24732
+ let n = e.mag(), r = Math.abs(Fe(t));
24733
24733
  return {
24734
24734
  easingOffset: e.mult(Math.min(.75 * r / n, 1)),
24735
24735
  easingCenter: t.center
@@ -24758,7 +24758,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24758
24758
  bearing: n.bearing === void 0 ? e.bearing : n.bearing
24759
24759
  }, s = n.zoom !== void 0, c = !e.isPaddingEqual(n.padding), l = !1, u = s ? +n.zoom : e.zoom, d = e.centerPoint.add(n.offsetAsPoint), f = e.screenPointToLocation(d), { center: p, zoom: m } = e.applyConstrain(t.W.convert(n.center || f), u == null ? r : u);
24760
24760
  Jt(e, p);
24761
- let h = Me(e.worldSize, f), g = Me(e.worldSize, p).sub(h), _ = t.ao(m - r);
24761
+ let h = Ne(e.worldSize, f), g = Ne(e.worldSize, p).sub(h), _ = t.ao(m - r);
24762
24762
  return l = m !== r, {
24763
24763
  easeFunc: (s) => {
24764
24764
  if (l && e.setZoom(t.H.number(r, m, s)), t.bn(a, o) || nn({
@@ -24769,7 +24769,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24769
24769
  useSlerp: a.roll != o.roll
24770
24770
  }), c && (e.interpolatePadding(i, n.padding, s), d = e.centerPoint.add(n.offsetAsPoint)), n.around) e.setLocationAtPoint(n.around, n.aroundPoint);
24771
24771
  else {
24772
- let n = t.ao(e.zoom - r), i = (m > r ? Math.min(2, _) : Math.max(.5, _)) ** (1 - s), a = Ne(e.worldSize, h.add(g.mult(s * i)).mult(n));
24772
+ let n = t.ao(e.zoom - r), i = (m > r ? Math.min(2, _) : Math.max(.5, _)) ** (1 - s), a = Pe(e.worldSize, h.add(g.mult(s * i)).mult(n));
24773
24773
  e.setLocationAtPoint(e.renderWorldCopies ? a.wrap() : a, d);
24774
24774
  }
24775
24775
  },
@@ -24780,7 +24780,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24780
24780
  handleFlyTo(e, n) {
24781
24781
  let r = n.zoom !== void 0, i = e.zoom, a = e.applyConstrain(t.W.convert(n.center || n.locationAtOffset), r ? +n.zoom : i), o = a.center, s = a.zoom;
24782
24782
  Jt(e, o);
24783
- let c = Me(e.worldSize, n.locationAtOffset), l = Me(e.worldSize, o).sub(c), u = l.mag(), d = t.ao(s - i), f;
24783
+ let c = Ne(e.worldSize, n.locationAtOffset), l = Ne(e.worldSize, o).sub(c), u = l.mag(), d = t.ao(s - i), f;
24784
24784
  if (n.minZoom !== void 0) {
24785
24785
  let r = Math.min(+n.minZoom, i, s), a = e.applyConstrain(o, r).zoom;
24786
24786
  f = t.ao(a - i);
@@ -24788,7 +24788,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
24788
24788
  return {
24789
24789
  easeFunc: (n, r, a, u) => {
24790
24790
  e.setZoom(n === 1 ? s : i + t.ar(r));
24791
- let d = n === 1 ? o : Ne(e.worldSize, c.add(l.mult(a)).mult(r));
24791
+ let d = n === 1 ? o : Pe(e.worldSize, c.add(l.mult(a)).mult(r));
24792
24792
  e.setLocationAtPoint(e.renderWorldCopies ? d.wrap() : d, u);
24793
24793
  },
24794
24794
  scaleOfZoom: d,
@@ -25849,7 +25849,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
25849
25849
  0,
25850
25850
  -1,
25851
25851
  0
25852
- ]) && (u[1] = -90, u[0] = -180, u[2] = 180), new ce(u);
25852
+ ]) && (u[1] = -90, u[0] = -180, u[2] = 180), new le(u);
25853
25853
  }
25854
25854
  calculateCenterFromCameraLngLatAlt(e, t, n, r) {
25855
25855
  return this._helper.calculateCenterFromCameraLngLatAlt(e, t, n, r);
@@ -26524,9 +26524,9 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
26524
26524
  let t = this.tileManagers[e].getSource().type;
26525
26525
  t !== "vector" && t !== "geojson" || this.tileManagers[e].reload();
26526
26526
  }
26527
- }, this.map = e, this.dispatcher = new te(P(), e._getMapId()), this.dispatcher.registerMessageHandler("GG", ((e, t) => this.getGlyphs(e, t))), this.dispatcher.registerMessageHandler("GI", ((e, t) => this.getImages(e, t))), this.dispatcher.registerMessageHandler("GDA", ((e, t) => this.getDashes(e, t))), this.imageManager = new _(), this.imageManager.setEventedParent(this);
26527
+ }, 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);
26528
26528
  let a = ((r = e._container) == null ? void 0 : r.lang) || typeof document < "u" && ((i = document.documentElement) == null ? void 0 : i.lang) || void 0;
26529
- this.glyphManager = new C(e._requestManager, n.localIdeographFontFamily, a), this.lineAtlas = new k(256, 512), this.crossTileSymbolIndex = new zt(), this._setInitialValues(), this._resetUpdates(), this.dispatcher.broadcast("SR", t.bO()), De().on(we, this._rtlPluginLoaded), this.on("data", ((e) => {
26529
+ this.glyphManager = new C(e._requestManager, n.localIdeographFontFamily, a), this.lineAtlas = new k(256, 512), this.crossTileSymbolIndex = new zt(), this._setInitialValues(), this._resetUpdates(), this.dispatcher.broadcast("SR", t.bO()), Oe().on(Te, this._rtlPluginLoaded), this.on("data", ((e) => {
26530
26530
  if (e.dataType !== "source" || e.sourceDataType !== "metadata") return;
26531
26531
  let t = this.tileManagers[e.sourceId];
26532
26532
  if (!t) return;
@@ -27097,11 +27097,11 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
27097
27097
  layers: s,
27098
27098
  globalState: this._globalState
27099
27099
  });
27100
- 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));
27100
+ for (let t in this.tileManagers) n.layers && !i[t] || a.push(ae(this.tileManagers[t], this._layers, o, e, c, r, this.map.terrain ? (e, t, n) => this.map.terrain.getElevation(e, t, n) : void 0));
27101
27101
  return this.placement && a.push(function(e, t, n, r, i, a, o) {
27102
27102
  let s = {}, c = a.queryRenderedSymbols(r), l = [];
27103
27103
  for (let e of Object.keys(c).map(Number)) l.push(o[e]);
27104
- l.sort(ae);
27104
+ l.sort(oe);
27105
27105
  for (let n of l) {
27106
27106
  let r = n.featureIndex.lookupSymbolFeatures(c[n.bucketInstanceId], t, n.bucketIndex, n.sourceLayerIndex, {
27107
27107
  filterSpec: i.filter,
@@ -27122,7 +27122,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
27122
27122
  }
27123
27123
  }
27124
27124
  return function(e, t, n) {
27125
- for (let r in e) for (let i of e[r]) oe(i, n[t[r].source]);
27125
+ for (let r in e) for (let i of e[r]) se(i, n[t[r].source]);
27126
27126
  return e;
27127
27127
  }(s, e, n);
27128
27128
  }(this._layers, o, this.tileManagers, e, c, this.placement.collisionIndex, this.placement.retainedQueryData)), this._flattenAndSortRenderedFeatures(a);
@@ -27253,7 +27253,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
27253
27253
  }, i)));
27254
27254
  }
27255
27255
  _remove(e = !0) {
27256
- this._frameRequest && (this._frameRequest.abort(), this._frameRequest = null), this._loadStyleRequest && (this._loadStyleRequest.abort(), this._loadStyleRequest = null), this._spriteRequest && (this._spriteRequest.abort(), this._spriteRequest = null), De().off(we, this._rtlPluginLoaded);
27256
+ this._frameRequest && (this._frameRequest.abort(), this._frameRequest = null), this._loadStyleRequest && (this._loadStyleRequest.abort(), this._loadStyleRequest = null), this._spriteRequest && (this._spriteRequest.abort(), this._spriteRequest = null), Oe().off(Te, this._rtlPluginLoaded);
27257
27257
  for (let e in this._layers) this._layers[e].setEventedParent(null);
27258
27258
  for (let e in this.tileManagers) {
27259
27259
  let t = this.tileManagers[e];
@@ -28687,36 +28687,36 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
28687
28687
  if (!l) continue;
28688
28688
  let d = a ? l.text : l.icon;
28689
28689
  if (!(d != null && d.segments.get().length) || !d.hasVisibleVertices) continue;
28690
- let f = d.programConfigurations.get(r.id), h = a || l.sdfIcons, g = a ? l.textSizeData : l.iconSizeData, T = b || v.pitch !== 0, k = e.useProgram(_i(h, a, l), f), A = t.aw(g, v.zoom), j = (m = e.style.map.terrain) == null ? void 0 : m.getTerrainData(c), M, N, ee, P, te = [0, 0], ne = null;
28691
- if (a) N = i.glyphAtlasTexture, ee = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (te = i.imageAtlasTexture.size, ne = i.imageAtlasTexture, P = T || e.options.rotating || e.options.zooming || g.kind === "composite" || g.kind === "camera" ? _.LINEAR : _.NEAREST);
28690
+ 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], re = null;
28691
+ if (a) ee = i.glyphAtlasTexture, te = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (ne = i.imageAtlasTexture.size, re = i.imageAtlasTexture, N = T || e.options.rotating || e.options.zooming || g.kind === "composite" || g.kind === "camera" ? _.LINEAR : _.NEAREST);
28692
28692
  else {
28693
28693
  let t = r.layout.get("icon-size").constantOr(0) !== 1 || l.iconsNeedLinear;
28694
- N = i.imageAtlasTexture, ee = h || e.options.rotating || e.options.zooming || t || T ? _.LINEAR : _.NEAREST, M = i.imageAtlasTexture.size;
28694
+ ee = i.imageAtlasTexture, te = h || e.options.rotating || e.options.zooming || t || T ? _.LINEAR : _.NEAREST, M = i.imageAtlasTexture.size;
28695
28695
  }
28696
- let re = t.aK(i, 1, e.transform.zoom), ie = $e(y, e.transform, re), ae = et(b, y, e.transform, re), oe = t.aL(v, i, o, s), se = v.getProjectionData({
28696
+ let ie = t.aK(i, 1, e.transform.zoom), ae = $e(y, e.transform, ie), oe = et(b, y, e.transform, ie), se = t.aL(v, i, o, s), ce = v.getProjectionData({
28697
28697
  overscaledTileID: c,
28698
28698
  applyGlobeMatrix: !p,
28699
28699
  applyTerrainMatrix: !0
28700
- }), ce = E && l.hasTextData(), le = r.layout.get("icon-text-fit") !== "none" && ce && l.hasIconData();
28700
+ }), le = E && l.hasTextData(), ue = r.layout.get("icon-text-fit") !== "none" && le && l.hasIconData();
28701
28701
  if (x) {
28702
28702
  let n = t.O();
28703
- H(n, ie);
28703
+ H(n, ae);
28704
28704
  let i = e.style.map.terrain ? (t, n) => e.style.map.terrain.getElevation(c, t, n) : null;
28705
- it(l, e, a, ie, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, oe, i);
28705
+ it(l, e, a, ae, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, se, i);
28706
28706
  }
28707
- 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;
28708
- pe = h ? l.iconsInText ? yr(g.kind, A, S, b, x, ue, e, de, ae, oe, M, te, O) : vr(g.kind, A, S, b, x, ue, e, de, ae, oe, a, M, fe, O) : _r(g.kind, A, S, b, x, ue, e, de, ae, oe, a, M, O);
28709
- let F = {
28707
+ let de = a && E || ue, fe = x || de ? pi : b ? ae : e.transform.clipSpaceToPixelsMatrix, pe = h && r.paint.get(a ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0, me;
28708
+ me = h ? l.iconsInText ? yr(g.kind, A, S, b, x, de, e, fe, oe, se, M, ne, O) : vr(g.kind, A, S, b, x, de, e, fe, oe, se, a, M, pe, O) : _r(g.kind, A, S, b, x, de, e, fe, oe, se, a, M, O);
28709
+ let P = {
28710
28710
  program: k,
28711
28711
  buffers: d,
28712
- uniformValues: pe,
28713
- projectionData: se,
28714
- atlasTexture: N,
28715
- atlasTextureIcon: ne,
28716
- atlasInterpolation: ee,
28717
- atlasInterpolationIcon: P,
28712
+ uniformValues: me,
28713
+ projectionData: ce,
28714
+ atlasTexture: ee,
28715
+ atlasTextureIcon: re,
28716
+ atlasInterpolation: te,
28717
+ atlasInterpolationIcon: N,
28718
28718
  isSDF: h,
28719
- hasHalo: fe
28719
+ hasHalo: pe
28720
28720
  };
28721
28721
  if (C && l.canOverlap) {
28722
28722
  w = !0;
@@ -28724,13 +28724,13 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
28724
28724
  for (let n of e) D.push({
28725
28725
  segments: new t.aV([n]),
28726
28726
  sortKey: n.sortKey,
28727
- state: F,
28727
+ state: P,
28728
28728
  terrainData: j
28729
28729
  });
28730
28730
  } else D.push({
28731
28731
  segments: d.segments,
28732
28732
  sortKey: 0,
28733
- state: F,
28733
+ state: P,
28734
28734
  terrainData: j
28735
28735
  });
28736
28736
  }
@@ -28969,7 +28969,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
28969
28969
  parentScaleBy: o,
28970
28970
  parentTopLeft: [e.tileID.canonical.x * o % 1, e.tileID.canonical.y * o % 1],
28971
28971
  fadeValues: function(e, n, r) {
28972
- let i = l(), a = (i - n.timeAdded) / r, o = e.fadingDirection === I.Incoming, s = t.al((i - e.timeAdded) / r, 0, 1), c = t.al(1 - a, 0, 1), u = o ? s : c;
28972
+ let i = l(), a = (i - n.timeAdded) / r, o = e.fadingDirection === F.Incoming, s = t.al((i - e.timeAdded) / r, 0, 1), c = t.al(1 - a, 0, 1), u = o ? s : c;
28973
28973
  return {
28974
28974
  tileOpacity: u,
28975
28975
  parentTileOpacity: o ? c : s,
@@ -29276,7 +29276,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
29276
29276
  raster: function(e, t, n, r, i) {
29277
29277
  if (e.renderPass !== "translucent" || n.paint.get("raster-opacity") === 0 || !r.length) return;
29278
29278
  let { isRenderingToTexture: a } = i, o = t.getSource(), s = e.style.projection.useSubdivision;
29279
- if (o instanceof ye) Ii(e, t, n, r, null, !1, !1, o.tileCoords, o.flippedWindingOrder, a);
29279
+ if (o instanceof be) Ii(e, t, n, r, null, !1, !1, o.tileCoords, o.flippedWindingOrder, a);
29280
29280
  else if (s) {
29281
29281
  let [i, o, s] = e.stencilConfigForOverlapTwoPass(r);
29282
29282
  Ii(e, t, n, s, i, !1, !0, Fi, !1, a), Ii(e, t, n, s, o, !0, !0, Fi, !1, a);
@@ -29313,7 +29313,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
29313
29313
  },
29314
29314
  sky: function(e, t) {
29315
29315
  let n = e.context, r = n.gl, i = ((e, t, n) => {
29316
- let r = Math.cos(t.rollInRadians), i = Math.sin(t.rollInRadians), a = Pe(t), o = t.getProjectionData({
29316
+ let r = Math.cos(t.rollInRadians), i = Math.sin(t.rollInRadians), a = Fe(t), o = t.getProjectionData({
29317
29317
  overscaledTileID: null,
29318
29318
  applyGlobeMatrix: !0,
29319
29319
  applyTerrainMatrix: !0
@@ -31345,7 +31345,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
31345
31345
  return this.jumpTo({ roll: e }, t), this;
31346
31346
  }
31347
31347
  cameraForBounds(e, t) {
31348
- e = ce.convert(e).adjustAntiMeridian();
31348
+ e = le.convert(e).adjustAntiMeridian();
31349
31349
  let n = (t == null ? void 0 : t.bearing) || 0;
31350
31350
  return this._cameraForBoxAndBearing(e.getNorthWest(), e.getSouthEast(), n, t);
31351
31351
  }
@@ -31371,7 +31371,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
31371
31371
  }
31372
31372
  let o = t.e(a, i.padding);
31373
31373
  i.padding = o;
31374
- let s = this.transform, c = new ce(e, n), l = this.cameraHelper.cameraForBoxAndBearing(i, o, c, r, s);
31374
+ let s = this.transform, c = new le(e, n), l = this.cameraHelper.cameraForBoxAndBearing(i, o, c, r, s);
31375
31375
  return l && this._zoomSnap && (l.zoom = t.cw(l.zoom, this._zoomSnap, -1)), l;
31376
31376
  }
31377
31377
  fitBounds(e, t, n) {
@@ -31710,7 +31710,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
31710
31710
  reparseOverscaled: !1,
31711
31711
  terrain: n,
31712
31712
  calculateTileZoom: this.tileManager._source.calculateTileZoom
31713
- })) 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 ke(i, this.tileSize), this._lastTilesetChange = l());
31713
+ })) 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 Ae(i, this.tileSize), this._lastTilesetChange = l());
31714
31714
  for (let e in this._tiles) r[e] || delete this._tiles[e];
31715
31715
  }
31716
31716
  freeRtt(e) {
@@ -32047,7 +32047,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
32047
32047
  this._stacks = [], this._prevType = null, this._rttTiles = [], this._renderableTiles = this.terrain.tileManager.getRenderableTiles(), this._renderableLayerIds = e._order.filter(((n) => !e._layers[n].isHidden(t))), this._coordsAscending = {};
32048
32048
  for (let t in e.tileManagers) {
32049
32049
  this._coordsAscending[t] = {};
32050
- let n = e.tileManagers[t].getVisibleCoordinates(), r = e.tileManagers[t].getSource(), a = r instanceof ye ? r.terrainTileRanges : null;
32050
+ let n = e.tileManagers[t].getVisibleCoordinates(), r = e.tileManagers[t].getSource(), a = r instanceof be ? r.terrainTileRanges : null;
32051
32051
  for (let e of n) {
32052
32052
  let n = this.terrain.tileManager.getTerrainCoords(e, a);
32053
32053
  for (let e in n) (i = this._coordsAscending[t])[e] || (i[e] = []), this._coordsAscending[t][e].push(n[e]);
@@ -32318,7 +32318,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
32318
32318
  return this.transform.getMaxBounds();
32319
32319
  }
32320
32320
  setMaxBounds(e) {
32321
- return this.transform.setMaxBounds(ce.convert(e)), this._update();
32321
+ return this.transform.setMaxBounds(le.convert(e)), this._update();
32322
32322
  }
32323
32323
  setMinZoom(e) {
32324
32324
  if ((e = e == null ? -2 : e) >= -2 && e <= this.transform.maxZoom) {
@@ -32612,8 +32612,8 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
32612
32612
  if (n) {
32613
32613
  let r = this.getSource(n);
32614
32614
  if (!r) throw Error(`There is no source with ID "${n}", cannot set LOD parameters`);
32615
- r.calculateTileZoom = ze(Math.max(1, e), Math.max(1, t));
32616
- } else for (let n in this.style.tileManagers) this.style.tileManagers[n].getSource().calculateTileZoom = ze(Math.max(1, e), Math.max(1, t));
32615
+ r.calculateTileZoom = R(Math.max(1, e), Math.max(1, t));
32616
+ } else for (let n in this.style.tileManagers) this.style.tileManagers[n].getSource().calculateTileZoom = R(Math.max(1, e), Math.max(1, t));
32617
32617
  return this._update(!0), this;
32618
32618
  }
32619
32619
  refreshTiles(e, n) {
@@ -33338,7 +33338,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33338
33338
  return wo(new t.P(0, 0));
33339
33339
  }
33340
33340
  let To = n;
33341
- e.AJAXError = t.cG, e.EXTENT = t.a6, e.Event = t.n, e.Evented = t.E, e.LngLat = t.W, e.MercatorCoordinate = t.a7, e.Point = t.P, e.addProtocol = t.cH, e.config = t.c, e.removeProtocol = t.cI, e.AttributionControl = Ya, e.BoxZoomHandler = ma, e.CanvasSource = xe, e.CooperativeGesturesHandler = Wa, e.DoubleClickZoomHandler = Ra, e.DragPanHandler = Va, e.DragRotateHandler = Ha, e.EdgeInsets = qt, e.FullscreenControl = class extends t.E {
33341
+ e.AJAXError = t.cG, e.EXTENT = t.a6, e.Event = t.n, e.Evented = t.E, e.LngLat = t.W, e.MercatorCoordinate = t.a7, e.Point = t.P, e.addProtocol = t.cH, e.config = t.c, e.removeProtocol = t.cI, e.AttributionControl = Ya, e.BoxZoomHandler = ma, e.CanvasSource = Se, e.CooperativeGesturesHandler = Wa, e.DoubleClickZoomHandler = Ra, e.DragPanHandler = Va, e.DragRotateHandler = Ha, e.EdgeInsets = qt, e.FullscreenControl = class extends t.E {
33342
33342
  constructor(e = {}) {
33343
33343
  var n;
33344
33344
  super(), this._onFullscreenChange = () => {
@@ -33382,7 +33382,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33382
33382
  _togglePseudoFullScreen() {
33383
33383
  this._container.classList.toggle("maplibregl-pseudo-fullscreen"), this._handleFullscreenChange(), this._map.resize();
33384
33384
  }
33385
- }, e.GeoJSONSource = ve, e.GeolocateControl = class extends t.E {
33385
+ }, e.GeoJSONSource = ye, e.GeolocateControl = class extends t.E {
33386
33386
  constructor(e) {
33387
33387
  super(), this._onSuccess = (e) => {
33388
33388
  if (this._map) {
@@ -33402,7 +33402,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33402
33402
  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();
33403
33403
  }
33404
33404
  }, this._updateCamera = (e) => {
33405
- 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);
33405
+ 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 = le.fromLngLat(n, r);
33406
33406
  this._map.fitBounds(o, a, { geolocateSource: !0 });
33407
33407
  }, this._updateMarker = (e) => {
33408
33408
  if (e) {
@@ -33554,7 +33554,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33554
33554
  onRemove() {
33555
33555
  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;
33556
33556
  }
33557
- }, e.Hash = Qi, e.ImageSource = ye, 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 {
33557
+ }, e.Hash = Qi, e.ImageSource = be, e.KeyboardHandler = Pa, e.LngLatBounds = le, e.LogoControl = Xa, e.Map = so, e.MapLibreMap = so, e.MapMouseEvent = ca, e.MapTouchEvent = la, e.MapWheelEvent = ua, e.Marker = ho, e.NavigationControl = class {
33558
33558
  constructor(e) {
33559
33559
  this._updateZoomButtons = () => {
33560
33560
  let e = this._map.getZoom(), t = e === this._map.getMaxZoom(), n = e === this._map.getMinZoom();
@@ -33680,7 +33680,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33680
33680
  let e = this._container.querySelector(Co);
33681
33681
  e && e.focus();
33682
33682
  }
33683
- }, e.RasterDEMTileSource = fe, e.RasterTileSource = de, e.ScaleControl = class {
33683
+ }, e.RasterDEMTileSource = pe, e.RasterTileSource = fe, e.ScaleControl = class {
33684
33684
  constructor(e) {
33685
33685
  this._onMove = () => {
33686
33686
  bo(this._map, this._container, this.options);
@@ -33711,18 +33711,18 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33711
33711
  onRemove() {
33712
33712
  this._container.remove(), this._map.off("terrain", this._updateTerrainIcon), this._map = void 0;
33713
33713
  }
33714
- }, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource = ue, e.VideoSource = be, e.addSourceType = (e, n) => t._(void 0, void 0, void 0, (function* () {
33715
- if (Ce(e)) throw Error(`A source type called "${e}" already exists.`);
33714
+ }, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource = de, e.VideoSource = xe, e.addSourceType = (e, n) => t._(void 0, void 0, void 0, (function* () {
33715
+ if (we(e)) throw Error(`A source type called "${e}" already exists.`);
33716
33716
  ((e, t) => {
33717
- Se[e] = t;
33717
+ Ce[e] = t;
33718
33718
  })(e, n);
33719
33719
  })), e.clearPrewarmedResources = function() {
33720
- let e = N;
33721
- e && (e.isPreloaded() && e.numActive() === 1 ? (e.release(A), N = null) : console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"));
33722
- }, e.createTileMesh = fn, e.getGlobalDispatcher = ne, e.getMaxParallelImageRequests = function() {
33720
+ let e = ee;
33721
+ 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()"));
33722
+ }, e.createTileMesh = fn, e.getGlobalDispatcher = re, e.getMaxParallelImageRequests = function() {
33723
33723
  return t.c.MAX_PARALLEL_IMAGE_REQUESTS;
33724
33724
  }, e.getRTLTextPluginStatus = function() {
33725
- return De().getRTLTextPluginStatus();
33725
+ return Oe().getRTLTextPluginStatus();
33726
33726
  }, e.getVersion = function() {
33727
33727
  return To;
33728
33728
  }, e.getWorkerCount = function() {
@@ -33730,11 +33730,11 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33730
33730
  }, e.getWorkerUrl = function() {
33731
33731
  return t.c.WORKER_URL;
33732
33732
  }, e.importScriptInWorkers = function(e) {
33733
- return ne().broadcast("IS", e);
33733
+ return re().broadcast("IS", e);
33734
33734
  }, e.isTimeFrozen = function() {
33735
33735
  return c.isFrozen();
33736
33736
  }, e.now = l, e.prewarm = function() {
33737
- P().acquire(A);
33737
+ N().acquire(A);
33738
33738
  }, e.restoreNow = function() {
33739
33739
  c.restoreNow();
33740
33740
  }, e.setMaxParallelImageRequests = function(e) {
@@ -33742,7 +33742,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33742
33742
  }, e.setNow = function(e) {
33743
33743
  c.setNow(e);
33744
33744
  }, e.setRTLTextPlugin = function(e, t) {
33745
- return De().setRTLTextPlugin(e, t);
33745
+ return Oe().setRTLTextPlugin(e, t);
33746
33746
  }, e.setWorkerCount = function(e) {
33747
33747
  j.workerCount = e;
33748
33748
  }, e.setWorkerUrl = function(e) {
@@ -33750,7 +33750,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33750
33750
  };
33751
33751
  })), e;
33752
33752
  }));
33753
- })))(), ge = Uint8Array, _e = Uint16Array, ve = Int32Array, ye = new ge([
33753
+ })))(), _e = Uint8Array, ve = Uint16Array, ye = Int32Array, be = new _e([
33754
33754
  0,
33755
33755
  0,
33756
33756
  0,
@@ -33783,7 +33783,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33783
33783
  0,
33784
33784
  0,
33785
33785
  0
33786
- ]), be = new ge([
33786
+ ]), xe = new _e([
33787
33787
  0,
33788
33788
  0,
33789
33789
  0,
@@ -33816,7 +33816,7 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33816
33816
  13,
33817
33817
  0,
33818
33818
  0
33819
- ]), xe = new ge([
33819
+ ]), Se = new _e([
33820
33820
  16,
33821
33821
  17,
33822
33822
  18,
@@ -33836,51 +33836,51 @@ var F = /* @__PURE__ */ e(o(), 1), me = /* @__PURE__ */ e(f(), 1), he = (/* @__P
33836
33836
  14,
33837
33837
  1,
33838
33838
  15
33839
- ]), Se = function(e, t) {
33840
- for (var n = new _e(31), r = 0; r < 31; ++r) n[r] = t += 1 << e[r - 1];
33841
- for (var i = new ve(n[30]), r = 1; r < 30; ++r) for (var a = n[r]; a < n[r + 1]; ++a) i[a] = a - n[r] << 5 | r;
33839
+ ]), Ce = function(e, t) {
33840
+ for (var n = new ve(31), r = 0; r < 31; ++r) n[r] = t += 1 << e[r - 1];
33841
+ for (var i = new ye(n[30]), r = 1; r < 30; ++r) for (var a = n[r]; a < n[r + 1]; ++a) i[a] = a - n[r] << 5 | r;
33842
33842
  return {
33843
33843
  b: n,
33844
33844
  r: i
33845
33845
  };
33846
- }, Ce = Se(ye, 2), we = Ce.b, Te = Ce.r;
33847
- we[28] = 258, Te[258] = 28;
33848
- var Ee = Se(be, 0), De = Ee.b;
33849
- Ee.r;
33850
- for (var Oe = new _e(32768), I = 0; I < 32768; ++I) {
33851
- var ke = (I & 43690) >> 1 | (I & 21845) << 1;
33852
- ke = (ke & 52428) >> 2 | (ke & 13107) << 2, ke = (ke & 61680) >> 4 | (ke & 3855) << 4, Oe[I] = ((ke & 65280) >> 8 | (ke & 255) << 8) >> 1;
33846
+ }, we = Ce(be, 2), Te = we.b, Ee = we.r;
33847
+ Te[28] = 258, Ee[258] = 28;
33848
+ var De = Ce(xe, 0), Oe = De.b;
33849
+ De.r;
33850
+ for (var ke = new ve(32768), F = 0; F < 32768; ++F) {
33851
+ var Ae = (F & 43690) >> 1 | (F & 21845) << 1;
33852
+ Ae = (Ae & 52428) >> 2 | (Ae & 13107) << 2, Ae = (Ae & 61680) >> 4 | (Ae & 3855) << 4, ke[F] = ((Ae & 65280) >> 8 | (Ae & 255) << 8) >> 1;
33853
33853
  }
33854
- for (var Ae = (function(e, t, n) {
33855
- for (var r = e.length, i = 0, a = new _e(t); i < r; ++i) e[i] && ++a[e[i] - 1];
33856
- var o = new _e(t);
33854
+ for (var je = (function(e, t, n) {
33855
+ for (var r = e.length, i = 0, a = new ve(t); i < r; ++i) e[i] && ++a[e[i] - 1];
33856
+ var o = new ve(t);
33857
33857
  for (i = 1; i < t; ++i) o[i] = o[i - 1] + a[i - 1] << 1;
33858
33858
  var s;
33859
33859
  if (n) {
33860
- s = new _e(1 << t);
33860
+ s = new ve(1 << t);
33861
33861
  var c = 15 - t;
33862
- 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[Oe[d] >> c] = l;
33863
- } else for (s = new _e(r), i = 0; i < r; ++i) e[i] && (s[i] = Oe[o[e[i] - 1]++] >> 15 - e[i]);
33862
+ 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[ke[d] >> c] = l;
33863
+ } else for (s = new ve(r), i = 0; i < r; ++i) e[i] && (s[i] = ke[o[e[i] - 1]++] >> 15 - e[i]);
33864
33864
  return s;
33865
- }), je = new ge(288), I = 0; I < 144; ++I) je[I] = 8;
33866
- for (var I = 144; I < 256; ++I) je[I] = 9;
33867
- for (var I = 256; I < 280; ++I) je[I] = 7;
33868
- for (var I = 280; I < 288; ++I) je[I] = 8;
33869
- for (var Me = new ge(32), I = 0; I < 32; ++I) Me[I] = 5;
33870
- var Ne = /*#__PURE__*/ Ae(je, 9, 1), Pe = /*#__PURE__*/ Ae(Me, 5, 1), Fe = function(e) {
33865
+ }), Me = new _e(288), F = 0; F < 144; ++F) Me[F] = 8;
33866
+ for (var F = 144; F < 256; ++F) Me[F] = 9;
33867
+ for (var F = 256; F < 280; ++F) Me[F] = 7;
33868
+ for (var F = 280; F < 288; ++F) Me[F] = 8;
33869
+ for (var Ne = new _e(32), F = 0; F < 32; ++F) Ne[F] = 5;
33870
+ var Pe = /*#__PURE__*/ je(Me, 9, 1), Fe = /*#__PURE__*/ je(Ne, 5, 1), Ie = function(e) {
33871
33871
  for (var t = e[0], n = 1; n < e.length; ++n) e[n] > t && (t = e[n]);
33872
33872
  return t;
33873
- }, Ie = function(e, t, n) {
33873
+ }, Le = function(e, t, n) {
33874
33874
  var r = t / 8 | 0;
33875
33875
  return (e[r] | e[r + 1] << 8) >> (t & 7) & n;
33876
- }, R = function(e, t) {
33876
+ }, I = function(e, t) {
33877
33877
  var n = t / 8 | 0;
33878
33878
  return (e[n] | e[n + 1] << 8 | e[n + 2] << 16) >> (t & 7);
33879
- }, Le = function(e) {
33879
+ }, Re = function(e) {
33880
33880
  return (e + 7) / 8 | 0;
33881
- }, Re = function(e, t, n) {
33882
- return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new ge(e.subarray(t, n));
33883
- }, ze = [
33881
+ }, ze = function(e, t, n) {
33882
+ return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new _e(e.subarray(t, n));
33883
+ }, R = [
33884
33884
  "unexpected EOF",
33885
33885
  "invalid block type",
33886
33886
  "invalid length/literal",
@@ -33896,51 +33896,51 @@ var Ne = /*#__PURE__*/ Ae(je, 9, 1), Pe = /*#__PURE__*/ Ae(Me, 5, 1), Fe = funct
33896
33896
  "stream finishing",
33897
33897
  "invalid zip data"
33898
33898
  ], Be = function(e, t, n) {
33899
- var r = Error(t || ze[e]);
33899
+ var r = Error(t || R[e]);
33900
33900
  if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r, Be), !n) throw r;
33901
33901
  return r;
33902
33902
  }, Ve = function(e, t, n, r) {
33903
33903
  var i = e.length, a = r ? r.length : 0;
33904
- if (!i || t.f && !t.l) return n || new ge(0);
33904
+ if (!i || t.f && !t.l) return n || new _e(0);
33905
33905
  var o = !n, s = o || t.i != 2, c = t.i;
33906
- o && (n = new ge(i * 3));
33906
+ o && (n = new _e(i * 3));
33907
33907
  var l = function(e) {
33908
33908
  var t = n.length;
33909
33909
  if (e > t) {
33910
- var r = new ge(Math.max(t * 2, e));
33910
+ var r = new _e(Math.max(t * 2, e));
33911
33911
  r.set(n), n = r;
33912
33912
  }
33913
33913
  }, 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;
33914
33914
  do {
33915
33915
  if (!p) {
33916
- u = Ie(e, d, 1);
33917
- var v = Ie(e, d + 1, 3);
33916
+ u = Le(e, d, 1);
33917
+ var v = Le(e, d + 1, 3);
33918
33918
  if (d += 3, !v) {
33919
- var y = Le(d) + 4, b = e[y - 4] | e[y - 3] << 8, x = y + b;
33919
+ var y = Re(d) + 4, b = e[y - 4] | e[y - 3] << 8, x = y + b;
33920
33920
  if (x > i) {
33921
33921
  c && Be(0);
33922
33922
  break;
33923
33923
  }
33924
33924
  s && l(f + b), n.set(e.subarray(y, x), f), t.b = f += b, t.p = d = x * 8, t.f = u;
33925
33925
  continue;
33926
- } else if (v == 1) p = Ne, m = Pe, h = 9, g = 5;
33926
+ } else if (v == 1) p = Pe, m = Fe, h = 9, g = 5;
33927
33927
  else if (v == 2) {
33928
- var S = Ie(e, d, 31) + 257, C = Ie(e, d + 10, 15) + 4, w = S + Ie(e, d + 5, 31) + 1;
33928
+ var S = Le(e, d, 31) + 257, C = Le(e, d + 10, 15) + 4, w = S + Le(e, d + 5, 31) + 1;
33929
33929
  d += 14;
33930
- for (var T = new ge(w), E = new ge(19), D = 0; D < C; ++D) E[xe[D]] = Ie(e, d + D * 3, 7);
33930
+ for (var T = new _e(w), E = new _e(19), D = 0; D < C; ++D) E[Se[D]] = Le(e, d + D * 3, 7);
33931
33931
  d += C * 3;
33932
- for (var O = Fe(E), k = (1 << O) - 1, A = Ae(E, O, 1), D = 0; D < w;) {
33933
- var j = A[Ie(e, d, k)];
33932
+ for (var O = Ie(E), k = (1 << O) - 1, A = je(E, O, 1), D = 0; D < w;) {
33933
+ var j = A[Le(e, d, k)];
33934
33934
  d += j & 15;
33935
33935
  var y = j >> 4;
33936
33936
  if (y < 16) T[D++] = y;
33937
33937
  else {
33938
- var M = 0, N = 0;
33939
- for (y == 16 ? (N = 3 + Ie(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (N = 3 + Ie(e, d, 7), d += 3) : y == 18 && (N = 11 + Ie(e, d, 127), d += 7); N--;) T[D++] = M;
33938
+ var M = 0, ee = 0;
33939
+ for (y == 16 ? (ee = 3 + Le(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (ee = 3 + Le(e, d, 7), d += 3) : y == 18 && (ee = 11 + Le(e, d, 127), d += 7); ee--;) T[D++] = M;
33940
33940
  }
33941
33941
  }
33942
- var ee = T.subarray(0, S), P = T.subarray(S);
33943
- h = Fe(ee), g = Fe(P), p = Ae(ee, h, 1), m = Ae(P, g, 1);
33942
+ var te = T.subarray(0, S), N = T.subarray(S);
33943
+ h = Ie(te), g = Ie(N), p = je(te, h, 1), m = je(N, g, 1);
33944
33944
  } else Be(1);
33945
33945
  if (d > _) {
33946
33946
  c && Be(0);
@@ -33948,46 +33948,46 @@ var Ne = /*#__PURE__*/ Ae(je, 9, 1), Pe = /*#__PURE__*/ Ae(Me, 5, 1), Fe = funct
33948
33948
  }
33949
33949
  }
33950
33950
  s && l(f + 131072);
33951
- for (var te = (1 << h) - 1, ne = (1 << g) - 1, re = d;; re = d) {
33952
- var M = p[R(e, d) & te], ie = M >> 4;
33951
+ for (var ne = (1 << h) - 1, re = (1 << g) - 1, ie = d;; ie = d) {
33952
+ var M = p[I(e, d) & ne], ae = M >> 4;
33953
33953
  if (d += M & 15, d > _) {
33954
33954
  c && Be(0);
33955
33955
  break;
33956
33956
  }
33957
- if (M || Be(2), ie < 256) n[f++] = ie;
33958
- else if (ie == 256) {
33959
- re = d, p = null;
33957
+ if (M || Be(2), ae < 256) n[f++] = ae;
33958
+ else if (ae == 256) {
33959
+ ie = d, p = null;
33960
33960
  break;
33961
33961
  } else {
33962
- var ae = ie - 254;
33963
- if (ie > 264) {
33964
- var D = ie - 257, oe = ye[D];
33965
- ae = Ie(e, d, (1 << oe) - 1) + we[D], d += oe;
33966
- }
33967
- var se = m[R(e, d) & ne], ce = se >> 4;
33968
- se || Be(3), d += se & 15;
33969
- var P = De[ce];
33970
- if (ce > 3) {
33971
- var oe = be[ce];
33972
- P += R(e, d) & (1 << oe) - 1, d += oe;
33962
+ var oe = ae - 254;
33963
+ if (ae > 264) {
33964
+ var D = ae - 257, se = be[D];
33965
+ oe = Le(e, d, (1 << se) - 1) + Te[D], d += se;
33966
+ }
33967
+ var ce = m[I(e, d) & re], le = ce >> 4;
33968
+ ce || Be(3), d += ce & 15;
33969
+ var N = Oe[le];
33970
+ if (le > 3) {
33971
+ var se = xe[le];
33972
+ N += I(e, d) & (1 << se) - 1, d += se;
33973
33973
  }
33974
33974
  if (d > _) {
33975
33975
  c && Be(0);
33976
33976
  break;
33977
33977
  }
33978
33978
  s && l(f + 131072);
33979
- var le = f + ae;
33980
- if (f < P) {
33981
- var ue = a - P, de = Math.min(P, le);
33982
- for (ue + f < 0 && Be(3); f < de; ++f) n[f] = r[ue + f];
33979
+ var ue = f + oe;
33980
+ if (f < N) {
33981
+ var de = a - N, fe = Math.min(N, ue);
33982
+ for (de + f < 0 && Be(3); f < fe; ++f) n[f] = r[de + f];
33983
33983
  }
33984
- for (; f < le; ++f) n[f] = n[f - P];
33984
+ for (; f < ue; ++f) n[f] = n[f - N];
33985
33985
  }
33986
33986
  }
33987
- t.l = p, t.p = re, t.b = f, t.f = u, p && (u = 1, t.m = h, t.d = m, t.n = g);
33987
+ t.l = p, t.p = ie, t.b = f, t.f = u, p && (u = 1, t.m = h, t.d = m, t.n = g);
33988
33988
  } while (!u);
33989
- return f != n.length && o ? Re(n, 0, f) : n.subarray(0, f);
33990
- }, He = /*#__PURE__*/ new ge(0), Ue = function(e) {
33989
+ return f != n.length && o ? ze(n, 0, f) : n.subarray(0, f);
33990
+ }, He = /*#__PURE__*/ new _e(0), Ue = function(e) {
33991
33991
  (e[0] != 31 || e[1] != 139 || e[2] != 8) && Be(6, "invalid gzip data");
33992
33992
  var t = e[3], n = 10;
33993
33993
  t & 4 && (n += (e[10] | e[11] << 8) + 2);
@@ -34004,7 +34004,7 @@ function Ke(e, t) {
34004
34004
  }
34005
34005
  function qe(e, t) {
34006
34006
  var n = Ue(e);
34007
- return n + 8 > e.length && Be(6, "invalid gzip data"), Ve(e.subarray(n, -8), { i: 2 }, t && t.out || new ge(We(e)), t && t.dictionary);
34007
+ return n + 8 > e.length && Be(6, "invalid gzip data"), Ve(e.subarray(n, -8), { i: 2 }, t && t.out || new _e(We(e)), t && t.dictionary);
34008
34008
  }
34009
34009
  function z(e, t) {
34010
34010
  return Ve(e.subarray(Ge(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
@@ -34667,22 +34667,22 @@ function Ht() {
34667
34667
  let e = new $e();
34668
34668
  It = e;
34669
34669
  try {
34670
- (0, he.addProtocol)("pmtiles", e.tile);
34670
+ (0, ge.addProtocol)("pmtiles", e.tile);
34671
34671
  } catch (e) {
34672
34672
  console.warn("Maplibre PMTiles protocol registration failed.", e);
34673
34673
  }
34674
34674
  return e;
34675
34675
  }
34676
34676
  function Ut({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i, onMapReady: a, onMapDimLayerReady: o, onMapLoadError: s, onPointerMissed: c, children: u }) {
34677
- let d = (0, F.useRef)(null), [f, p] = (0, F.useState)(), m = (0, F.useRef)(a), h = (0, F.useRef)(o), g = (0, F.useRef)(s), _ = (0, F.useRef)({
34677
+ let d = (0, P.useRef)(null), [f, p] = (0, P.useState)(), m = (0, P.useRef)(a), h = (0, P.useRef)(o), g = (0, P.useRef)(s), _ = (0, P.useRef)({
34678
34678
  geoConfig: t,
34679
34679
  tileSource: n,
34680
34680
  mapOptions: r,
34681
34681
  debug: i
34682
34682
  });
34683
- return (0, F.useEffect)(() => {
34683
+ return (0, P.useEffect)(() => {
34684
34684
  m.current = a, h.current = o, g.current = s;
34685
- }), (0, F.useEffect)(() => {
34685
+ }), (0, P.useEffect)(() => {
34686
34686
  let e = d.current;
34687
34687
  if (!e) return;
34688
34688
  let { geoConfig: t, tileSource: n, mapOptions: r, debug: i } = _.current, a = !1, o, s = () => {
@@ -34696,7 +34696,7 @@ function Ut({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
34696
34696
  } : {
34697
34697
  center: t.center,
34698
34698
  zoom: t.zoom
34699
- }, u = At(n.style, n.offline ? (e) => Dt(c, e) : void 0), d = new he.Map({
34699
+ }, u = At(n.style, n.offline ? (e) => Dt(c, e) : void 0), d = new ge.Map({
34700
34700
  container: e,
34701
34701
  ...l,
34702
34702
  bearing: t.bearing,
@@ -34822,7 +34822,7 @@ function tn(e, t, n, r, i) {
34822
34822
  _(e.max.x, e.min.y, t),
34823
34823
  _(e.max.x, e.max.y, t),
34824
34824
  _(e.min.x, e.max.y, t)
34825
- ].map(([e, t]) => he.MercatorCoordinate.fromLngLat({
34825
+ ].map(([e, t]) => ge.MercatorCoordinate.fromLngLat({
34826
34826
  lng: e,
34827
34827
  lat: t
34828
34828
  }));
@@ -34833,7 +34833,7 @@ function tn(e, t, n, r, i) {
34833
34833
  if (p <= 0 || m <= 0) return null;
34834
34834
  let h = Math.min(p / (d * en), m / (f * en));
34835
34835
  if (!(h > 0)) return null;
34836
- let g = en * h, v = (Math.min(...l) + Math.max(...l)) / 2 - (i.left - i.right) / 2 / g, y = (Math.min(...u) + Math.max(...u)) / 2 - (i.top - i.bottom) / 2 / g, { lng: b, lat: x } = new he.MercatorCoordinate(v * s + y * c, -v * c + y * s).toLngLat();
34836
+ let g = en * h, v = (Math.min(...l) + Math.max(...l)) / 2 - (i.left - i.right) / 2 / g, y = (Math.min(...u) + Math.max(...u)) / 2 - (i.top - i.bottom) / 2 / g, { lng: b, lat: x } = new ge.MercatorCoordinate(v * s + y * c, -v * c + y * s).toLngLat();
34837
34837
  return {
34838
34838
  center: [b, x],
34839
34839
  zoom: Math.log2(h)
@@ -34868,7 +34868,7 @@ function an(e, t, n) {
34868
34868
  function on() {
34869
34869
  var e, t;
34870
34870
  if (!(!(m == null || (e = m.properties) == null) && e.config)) return null;
34871
- let n = m.properties.config, r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a = ne(n.p0, n.p2), o = Number.isFinite(a) ? a : (t = n.bearing) == null ? 0 : t;
34871
+ let n = m.properties.config, r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a = re(n.p0, n.p2), o = Number.isFinite(a) ? a : (t = n.bearing) == null ? 0 : t;
34872
34872
  return {
34873
34873
  center: [r, i],
34874
34874
  bearing: o,
@@ -34907,7 +34907,7 @@ function sn(e, t, n, r = {}) {
34907
34907
  e.easeTo(g);
34908
34908
  return;
34909
34909
  }
34910
- let _ = e.getBounds().extend(he.LngLatBounds.convert(o)), v = e.cameraForBounds(_, {
34910
+ let _ = e.getBounds().extend(ge.LngLatBounds.convert(o)), v = e.cameraForBounds(_, {
34911
34911
  padding: c,
34912
34912
  bearing: n.bearing
34913
34913
  });
@@ -34929,14 +34929,14 @@ function sn(e, t, n, r = {}) {
34929
34929
  }
34930
34930
  //#endregion
34931
34931
  //#region src/components/Maplibre/useCameraReactions.ts
34932
- var K = k, q = 15, cn = 24;
34933
- function J(e) {
34934
- return M(e, T(e, ee));
34932
+ var K = k, q = 15, cn = 24, J = 20;
34933
+ function ln(e) {
34934
+ return M(e, T(e, te)).expand(J);
34935
34935
  }
34936
- function ln(e, t) {
34936
+ function un(e, t) {
34937
34937
  return Math.min(Math.max(t, e.getMinZoom()), e.getMaxZoom());
34938
34938
  }
34939
- function un(e, t, n) {
34939
+ function dn(e, t, n) {
34940
34940
  var r;
34941
34941
  if (n.length !== 1) return !1;
34942
34942
  let i = (r = n[0]) == null ? void 0 : r.id, a = C.poiMarkerStore.markers.find((e) => e.boothId === i);
@@ -34944,35 +34944,35 @@ function un(e, t, n) {
34944
34944
  let o = _(a.center.x, a.center.y, t.gpsConfig);
34945
34945
  return an(e, o, rn(cn)) || e.easeTo({
34946
34946
  center: o,
34947
- zoom: ln(e, q),
34947
+ zoom: un(e, q),
34948
34948
  bearing: t.bearing,
34949
34949
  duration: 500,
34950
34950
  essential: !0
34951
34951
  }), !0;
34952
34952
  }
34953
- function dn(e, t, n) {
34954
- ie(() => K.moveToBooths, (n) => {
34953
+ function fn(e, t, n) {
34954
+ ae(() => K.moveToBooths, (n) => {
34955
34955
  let r = e.current;
34956
34956
  if (!n || !r || !t) return;
34957
34957
  let i = n.filter((e) => e.rect);
34958
34958
  if (i.length !== 0) {
34959
- if (un(r, t, i)) {
34959
+ if (dn(r, t, i)) {
34960
34960
  K.moveToBooths = null;
34961
34961
  return;
34962
34962
  }
34963
- sn(r, J(D.fromUnion(...i.map((e) => e.rect))), t), K.moveToBooths = null;
34963
+ sn(r, ln(D.fromUnion(...i.map((e) => e.rect))), t), K.moveToBooths = null;
34964
34964
  }
34965
- }), ie(() => K.moveToRect, (n) => {
34965
+ }), ae(() => K.moveToRect, (n) => {
34966
34966
  let r = e.current;
34967
34967
  !n || !r || !t || (sn(r, n, t, { paddingPercent: K.moveToRectPaddingPercent }), K.moveToRect = null, K.moveToRectPaddingPercent = null);
34968
- }), ie(() => K.zoomBy, (t) => {
34968
+ }), ae(() => K.zoomBy, (t) => {
34969
34969
  let n = e.current;
34970
34970
  !t || !n || (n.flyTo({
34971
34971
  zoom: n.getZoom() + (t > 1 ? .5 : -.5),
34972
34972
  animate: !0,
34973
34973
  duration: 500
34974
34974
  }), K.zoomBy = null);
34975
- }), ie(() => [
34975
+ }), ae(() => [
34976
34976
  k.moveToLocation,
34977
34977
  C.maplibreStore.cameraPort,
34978
34978
  C.routeStore.currentPosition
@@ -34997,16 +34997,16 @@ function dn(e, t, n) {
34997
34997
  animate: !0,
34998
34998
  duration: 1e3
34999
34999
  });
35000
- }), ie(() => k.centerMap, (r) => {
35000
+ }), ae(() => k.centerMap, (r) => {
35001
35001
  let i = e.current;
35002
35002
  if (!(!r || !i || !t)) {
35003
35003
  if (!(k.list.type === "search" && !k.list.text)) {
35004
35004
  let { rect: e } = A({
35005
35005
  layerViewbox: C.layerStore.viewboxRectangle,
35006
- explicitArea: b ? ee : null,
35006
+ explicitArea: b ? te : null,
35007
35007
  layerRectangle: C.layerStore.rectangle,
35008
35008
  sceneDef: n,
35009
- svgArea: ee
35009
+ svgArea: te
35010
35010
  });
35011
35011
  sn(i, e, t);
35012
35012
  }
@@ -35016,39 +35016,39 @@ function dn(e, t, n) {
35016
35016
  }
35017
35017
  //#endregion
35018
35018
  //#region src/components/Maplibre/utils/map-theme.ts
35019
- var fn = 50;
35020
- function pn(e) {
35019
+ var pn = 50;
35020
+ function mn(e) {
35021
35021
  return e === "light" || e === "dark";
35022
35022
  }
35023
- function mn(e) {
35023
+ function hn(e) {
35024
35024
  if (!e || e === "none") return "light";
35025
35025
  try {
35026
- return (0, me.default)(e).lightness() < fn ? "dark" : "light";
35026
+ return (0, he.default)(e).lightness() < pn ? "dark" : "light";
35027
35027
  } catch {
35028
35028
  return "light";
35029
35029
  }
35030
35030
  }
35031
- function hn(e, t) {
35032
- return pn(e) ? e : mn(t);
35031
+ function gn(e, t) {
35032
+ return mn(e) ? e : hn(t);
35033
35033
  }
35034
35034
  //#endregion
35035
35035
  //#region src/components/Maplibre/utils/map-helpers.ts
35036
- var gn = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, _n = { style: "https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json" }, vn = 12, yn = {
35036
+ var _n = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, vn = { style: "https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json" }, yn = 12, bn = {
35037
35037
  pitch: 30,
35038
35038
  maxPitch: 70,
35039
- minZoom: vn
35040
- }, bn = {
35039
+ minZoom: yn
35040
+ }, xn = {
35041
35041
  pitch: 0,
35042
35042
  maxPitch: 0,
35043
- minZoom: vn
35043
+ minZoom: yn
35044
35044
  };
35045
- function xn(e, t) {
35046
- e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(Nt, "fill-opacity", Sn(t)), e.triggerRepaint());
35045
+ function Sn(e, t) {
35046
+ e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(Nt, "fill-opacity", Cn(t)), e.triggerRepaint());
35047
35047
  }
35048
- function Sn(e) {
35048
+ function Cn(e) {
35049
35049
  return Math.min(Math.max(e, 0), 1);
35050
35050
  }
35051
- function Cn(e, t, n = !1) {
35051
+ function wn(e, t, n = !1) {
35052
35052
  var r, i, a;
35053
35053
  if (!e) return;
35054
35054
  e.setMinZoom((r = t.minZoom) == null ? null : r), e.setMaxZoom((i = t.maxZoom) == null ? null : i), e.setMaxBounds((a = t.maxBounds) == null ? null : a);
@@ -35058,7 +35058,7 @@ function Cn(e, t, n = !1) {
35058
35058
  duration: 300
35059
35059
  }), l && e.once("moveend", () => e.setMaxPitch(s))) : e.jumpTo({ pitch: o }));
35060
35060
  }
35061
- function wn() {
35061
+ function Tn() {
35062
35062
  var e, t, n;
35063
35063
  let r = (e = (t = C.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
35064
35064
  return r != null && r.style ? {
@@ -35067,43 +35067,43 @@ function wn() {
35067
35067
  } : r != null && r.styleUrl ? {
35068
35068
  style: r.styleUrl,
35069
35069
  offline: r.offline
35070
- } : hn(m == null || (n = m.properties) == null || (n = n.config) == null ? void 0 : n.style, u.backgroundColor) === "dark" ? _n : gn;
35070
+ } : gn(m == null || (n = m.properties) == null || (n = n.config) == null ? void 0 : n.style, u.backgroundColor) === "dark" ? vn : _n;
35071
35071
  }
35072
35072
  //#endregion
35073
35073
  //#region src/components/Maplibre/useDimming.ts
35074
- function Tn() {
35074
+ function En() {
35075
35075
  return k.dimmed && !C.poiMarkerStore.dimSuppressed;
35076
35076
  }
35077
- function En(e, t) {
35078
- let n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useCallback)((e) => {
35077
+ function Dn(e, t) {
35078
+ let n = (0, P.useRef)(null), r = (0, P.useRef)(null), i = (0, P.useCallback)((e) => {
35079
35079
  var t, i;
35080
- let a = Tn();
35080
+ let a = En();
35081
35081
  (t = n.current) == null || t.setTarget(a, e), (i = r.current) == null || i.setTarget(a, e);
35082
35082
  }, []);
35083
- return (0, F.useEffect)(() => {
35084
- let i = de((t) => {
35085
- xn(e.current, t * pe);
35086
- }), a = de((e) => {
35083
+ return (0, P.useEffect)(() => {
35084
+ let i = fe((t) => {
35085
+ Sn(e.current, t * me);
35086
+ }), a = fe((e) => {
35087
35087
  let n = t.current;
35088
- n && le(n, e * 1) && y(n.rootLayer);
35088
+ n && ue(n, e * 1) && y(n.rootLayer);
35089
35089
  });
35090
35090
  return n.current = i, r.current = a, () => {
35091
35091
  i.stop(), a.stop(), n.current = null, r.current = null;
35092
35092
  };
35093
- }, [e, t]), ie(() => Tn(), () => i()), {
35093
+ }, [e, t]), ae(() => En(), () => i()), {
35094
35094
  mapDimAnimatorRef: n,
35095
35095
  venueDimAnimatorRef: r,
35096
35096
  applyDimmingTarget: i,
35097
- handleMapDimLayerReady: (0, F.useCallback)((e) => {
35097
+ handleMapDimLayerReady: (0, P.useCallback)((e) => {
35098
35098
  var t, r;
35099
- xn(e, ((t = (r = n.current) == null ? void 0 : r.getValue()) == null ? +!!Tn() : t) * pe);
35099
+ Sn(e, ((t = (r = n.current) == null ? void 0 : r.getValue()) == null ? +!!En() : t) * me);
35100
35100
  }, [])
35101
35101
  };
35102
35102
  }
35103
35103
  //#endregion
35104
35104
  //#region src/components/Maplibre/useKioskIdleEvents.ts
35105
- function Dn(e, t) {
35106
- (0, F.useEffect)(() => {
35105
+ function On(e, t) {
35106
+ (0, P.useEffect)(() => {
35107
35107
  let n = t.current;
35108
35108
  if (!e || !n) return;
35109
35109
  let r = !1, i = (e) => {
@@ -35120,26 +35120,26 @@ function Dn(e, t) {
35120
35120
  }
35121
35121
  //#endregion
35122
35122
  //#region src/components/Maplibre/utils/layer-defs.ts
35123
- function On(e, t = /* @__PURE__ */ new Map()) {
35123
+ function kn(e, t = /* @__PURE__ */ new Map()) {
35124
35124
  var n;
35125
35125
  if (e.name) {
35126
35126
  var r;
35127
35127
  let n = (r = t.get(e.name)) == null ? [] : r;
35128
35128
  n.push(e), t.set(e.name, n);
35129
35129
  }
35130
- for (let r of (n = e.children) == null ? [] : n) p(r) && On(r, t);
35130
+ for (let r of (n = e.children) == null ? [] : n) p(r) && kn(r, t);
35131
35131
  return t;
35132
35132
  }
35133
35133
  //#endregion
35134
35134
  //#region src/components/Maplibre/useLayerVisibilitySync.ts
35135
- function kn(e, t, n) {
35136
- let r = (0, F.useRef)(null), i = (0, F.useRef)(null);
35137
- ie(() => C.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
35135
+ function An(e, t, n) {
35136
+ let r = (0, P.useRef)(null), i = (0, P.useRef)(null);
35137
+ ae(() => C.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
35138
35138
  var a, o;
35139
35139
  if (!e) return;
35140
35140
  ((a = r.current) == null ? void 0 : a.rootLayer) !== e.rootLayer && (r.current = {
35141
35141
  rootLayer: e.rootLayer,
35142
- defsByName: On(e.rootLayer)
35142
+ defsByName: kn(e.rootLayer)
35143
35143
  });
35144
35144
  let s = r.current.defsByName, c = [];
35145
35145
  for (let e of C.layerStore.layers) {
@@ -35163,29 +35163,29 @@ function kn(e, t, n) {
35163
35163
  }
35164
35164
  //#endregion
35165
35165
  //#region src/components/Maplibre/usePoiMarkers.ts
35166
- var An = "expofp-poi", jn = "expofp-poi-clusters", Mn = "expofp-poi-cluster-count", Nn = "expofp-poi-unclustered", Pn = "expofp-poi-selected", Fn = "expofp-poi-pinhead-image", In = [
35167
- jn,
35166
+ var jn = "expofp-poi", Mn = "expofp-poi-clusters", Nn = "expofp-poi-cluster-count", Pn = "expofp-poi-unclustered", Fn = "expofp-poi-selected", In = "expofp-poi-pinhead-image", Ln = [
35168
35167
  Mn,
35169
35168
  Nn,
35170
- Pn
35171
- ], Ln = In.filter((e) => e !== Mn), Rn = (e) => `expofp-poi-icon-${e}`;
35172
- function zn(e, t, a) {
35173
- (0, F.useEffect)(() => {
35169
+ Pn,
35170
+ Fn
35171
+ ], Rn = Ln.filter((e) => e !== Nn), zn = (e) => `expofp-poi-icon-${e}`;
35172
+ function Bn(e, t, a) {
35173
+ (0, P.useEffect)(() => {
35174
35174
  var o;
35175
- if (!P()) return;
35175
+ if (!N()) return;
35176
35176
  let s = t.current;
35177
35177
  if (!e || !s || !a) return;
35178
35178
  let { gpsConfig: c } = a, l = /* @__PURE__ */ new Set(), d = window.devicePixelRatio || 1, f = E(36, d, ((o = u.colors) == null || (o = o.booths) == null ? void 0 : o.selected) || "#3b6ef5"), p = (e) => _(e.center.x, e.center.y, c), m = (e, t) => {
35179
35179
  s.hasImage(e) && s.removeImage(e), s.addImage(e, t, { pixelRatio: d }), l.add(e);
35180
35180
  }, g = (e) => {
35181
- let t = C.poiMarkerStore.markers, n = new Set(t.map((e) => Rn(e.boothId)));
35182
- n.add(Fn);
35181
+ let t = C.poiMarkerStore.markers, n = new Set(t.map((e) => zn(e.boothId)));
35182
+ n.add(In);
35183
35183
  for (let e of [...l]) n.has(e) || (s.hasImage(e) && s.removeImage(e), l.delete(e));
35184
35184
  for (let n of t) {
35185
- let t = Rn(n.boothId);
35185
+ let t = zn(n.boothId);
35186
35186
  (e || !l.has(t)) && m(t, n.icon);
35187
35187
  }
35188
- l.has(Fn) || m(Fn, f);
35188
+ l.has(In) || m(In, f);
35189
35189
  }, v = () => {
35190
35190
  let e = C.poiMarkerStore.selectedMarkerId, t = C.poiMarkerStore.outdoorFilter, n = !t.active, r = C.poiMarkerStore.markers;
35191
35191
  return e === null ? t.active && (r = t.matchingMarkers) : r = r.filter((t) => t.boothId === e), {
@@ -35200,7 +35200,7 @@ function zn(e, t, a) {
35200
35200
  },
35201
35201
  properties: {
35202
35202
  boothId: t.boothId,
35203
- icon: Rn(t.boothId),
35203
+ icon: zn(t.boothId),
35204
35204
  pinhead: t.boothId === e
35205
35205
  }
35206
35206
  }))
@@ -35220,16 +35220,16 @@ function zn(e, t, a) {
35220
35220
  }
35221
35221
  return (n = r) == null ? ["Noto Sans Regular"] : n;
35222
35222
  }, b = null, x = () => {
35223
- for (let e of In) s.getLayer(e) && s.removeLayer(e);
35224
- s.getSource(An) && s.removeSource(An), b = null;
35223
+ for (let e of Ln) s.getLayer(e) && s.removeLayer(e);
35224
+ s.getSource(jn) && s.removeSource(jn), b = null;
35225
35225
  }, S = (e, t) => {
35226
- if (b !== null && b !== t && x(), s.getSource(An) || (s.addSource(An, {
35226
+ if (b !== null && b !== t && x(), s.getSource(jn) || (s.addSource(jn, {
35227
35227
  type: "geojson",
35228
35228
  data: e,
35229
35229
  cluster: t,
35230
35230
  clusterRadius: 50,
35231
35231
  clusterMinPoints: 3
35232
- }), b = t), s.getLayer(jn)) return;
35232
+ }), b = t), s.getLayer(Mn)) return;
35233
35233
  let i = ["!", ["has", "point_count"]], a = [
35234
35234
  "==",
35235
35235
  [
@@ -35240,9 +35240,9 @@ function zn(e, t, a) {
35240
35240
  !0
35241
35241
  ];
35242
35242
  s.addLayer({
35243
- id: jn,
35243
+ id: Mn,
35244
35244
  type: "circle",
35245
- source: An,
35245
+ source: jn,
35246
35246
  filter: ["has", "point_count"],
35247
35247
  paint: {
35248
35248
  "circle-radius": 36 / 2,
@@ -35252,9 +35252,9 @@ function zn(e, t, a) {
35252
35252
  "circle-pitch-alignment": "viewport"
35253
35253
  }
35254
35254
  }), s.addLayer({
35255
- id: Mn,
35255
+ id: Nn,
35256
35256
  type: "symbol",
35257
- source: An,
35257
+ source: jn,
35258
35258
  filter: ["has", "point_count"],
35259
35259
  layout: {
35260
35260
  "text-field": ["get", "point_count_abbreviated"],
@@ -35265,9 +35265,9 @@ function zn(e, t, a) {
35265
35265
  },
35266
35266
  paint: { "text-color": "#ffffff" }
35267
35267
  }), s.addLayer({
35268
- id: Nn,
35268
+ id: Pn,
35269
35269
  type: "symbol",
35270
- source: An,
35270
+ source: jn,
35271
35271
  filter: [
35272
35272
  "all",
35273
35273
  i,
@@ -35280,30 +35280,30 @@ function zn(e, t, a) {
35280
35280
  "icon-ignore-placement": !0
35281
35281
  }
35282
35282
  }), s.addLayer({
35283
- id: Pn,
35283
+ id: Fn,
35284
35284
  type: "symbol",
35285
- source: An,
35285
+ source: jn,
35286
35286
  filter: [
35287
35287
  "all",
35288
35288
  i,
35289
35289
  a
35290
35290
  ],
35291
35291
  layout: {
35292
- "icon-image": Fn,
35292
+ "icon-image": In,
35293
35293
  "icon-anchor": "bottom",
35294
35294
  "icon-allow-overlap": !0,
35295
35295
  "icon-ignore-placement": !0
35296
35296
  }
35297
35297
  });
35298
35298
  }, w = () => {
35299
- if (!s.getLayer(jn)) return;
35300
- let e = Tn() ? 1 - pe : 1;
35301
- s.setPaintProperty(jn, "circle-opacity", e), s.setPaintProperty(jn, "circle-stroke-opacity", e), s.setPaintProperty(Mn, "text-opacity", e), s.setPaintProperty(Nn, "icon-opacity", e), s.setPaintProperty(Pn, "icon-opacity", e);
35299
+ if (!s.getLayer(Mn)) return;
35300
+ let e = En() ? 1 - me : 1;
35301
+ s.setPaintProperty(Mn, "circle-opacity", e), s.setPaintProperty(Mn, "circle-stroke-opacity", e), s.setPaintProperty(Nn, "text-opacity", e), s.setPaintProperty(Pn, "icon-opacity", e), s.setPaintProperty(Fn, "icon-opacity", e);
35302
35302
  }, T = (e = !1) => {
35303
35303
  var t;
35304
35304
  g(e);
35305
35305
  let { cluster: n, data: r } = v();
35306
- S(r, n), (t = s.getSource(An)) == null || t.setData(r), w();
35306
+ S(r, n), (t = s.getSource(jn)) == null || t.setData(r), w();
35307
35307
  }, O = (e) => {
35308
35308
  if (!e.length) return;
35309
35309
  let t = rn(50);
@@ -35327,7 +35327,7 @@ function zn(e, t, a) {
35327
35327
  r && C.clickBooth(r);
35328
35328
  }, A = (e) => {
35329
35329
  var t, n, r;
35330
- let i = (t = e.features) == null ? void 0 : t[0], a = i == null || (n = i.properties) == null ? void 0 : n.cluster_id, o = s.getSource(An);
35330
+ let i = (t = e.features) == null ? void 0 : t[0], a = i == null || (n = i.properties) == null ? void 0 : n.cluster_id, o = s.getSource(jn);
35331
35331
  if (typeof a != "number" || !o || (i == null || (r = i.geometry) == null ? void 0 : r.type) !== "Point") return;
35332
35332
  let [c = 0, l = 0] = i.geometry.coordinates;
35333
35333
  o.getClusterExpansionZoom(a).then((e) => {
@@ -35338,8 +35338,8 @@ function zn(e, t, a) {
35338
35338
  });
35339
35339
  });
35340
35340
  };
35341
- s.on("click", Nn, k), s.on("click", Pn, k), s.on("click", jn, A), h.set((e, t) => {
35342
- let n = Ln.filter((e) => !!s.getLayer(e));
35341
+ s.on("click", Pn, k), s.on("click", Fn, k), s.on("click", Mn, A), h.set((e, t) => {
35342
+ let n = Rn.filter((e) => !!s.getLayer(e));
35343
35343
  if (!n.length) return !1;
35344
35344
  let r = s.project(_(e, t, c));
35345
35345
  return s.queryRenderedFeatures([r.x, r.y], { layers: n }).length > 0;
@@ -35348,11 +35348,11 @@ function zn(e, t, a) {
35348
35348
  l.clear(), T(!0);
35349
35349
  };
35350
35350
  s.on("style.load", j);
35351
- let M = i(() => C.poiMarkerStore.markers, () => T(!0)), N = i(() => C.poiMarkerStore.selectedMarkerId, () => T()), ee = i(() => C.poiMarkerStore.outdoorFilter.key, () => {
35351
+ let M = i(() => C.poiMarkerStore.markers, () => T(!0)), ee = i(() => C.poiMarkerStore.selectedMarkerId, () => T()), te = i(() => C.poiMarkerStore.outdoorFilter.key, () => {
35352
35352
  T(), O(C.poiMarkerStore.outdoorFilter.matchingMarkers);
35353
- }), te = i(() => Tn(), () => w());
35353
+ }), ne = i(() => En(), () => w());
35354
35354
  return T(!0), () => {
35355
- M(), N(), ee(), te(), h.set(null), s.off("style.load", j), s.off("click", Nn, k), s.off("click", Pn, k), s.off("click", jn, A);
35355
+ M(), ee(), te(), ne(), h.set(null), s.off("style.load", j), s.off("click", Pn, k), s.off("click", Fn, k), s.off("click", Mn, A);
35356
35356
  try {
35357
35357
  x();
35358
35358
  for (let e of l) s.hasImage(e) && s.removeImage(e);
@@ -35366,14 +35366,14 @@ function zn(e, t, a) {
35366
35366
  }
35367
35367
  //#endregion
35368
35368
  //#region src/components/Maplibre/useWayfindingAndMarkers.ts
35369
- function Bn(e, t) {
35370
- (0, F.useEffect)(() => {
35369
+ function Vn(e, t) {
35370
+ (0, P.useEffect)(() => {
35371
35371
  if (!e) return;
35372
35372
  let n = d({
35373
35373
  scene: e,
35374
35374
  store: C,
35375
35375
  canvas: t
35376
- }), r = se({ scene: e });
35376
+ }), r = ce({ scene: e });
35377
35377
  return () => {
35378
35378
  n(), r();
35379
35379
  };
@@ -35381,17 +35381,17 @@ function Bn(e, t) {
35381
35381
  }
35382
35382
  //#endregion
35383
35383
  //#region src/components/Maplibre/utils/solver.ts
35384
- var Vn = 1e-12, Hn = 3.28084, Un = 6371e3, Wn = 1, Gn = .02;
35385
- function Kn(e, t) {
35384
+ var Hn = 1e-12, Un = 3.28084, Wn = 6371e3, Gn = 1, Kn = .02;
35385
+ function qn(e, t) {
35386
35386
  var n;
35387
35387
  let r, i;
35388
35388
  try {
35389
- r = Xn(e), i = "perpendicular";
35389
+ r = Zn(e), i = "perpendicular";
35390
35390
  } catch (t) {
35391
35391
  if (!e.p1) throw t;
35392
35392
  r = e.p1, i = "explicit-fallback";
35393
35393
  }
35394
- let a = qn(e);
35394
+ let a = Jn(e);
35395
35395
  i === "perpendicular" && a != null && a.inconsistent && console.warn("Maplibre geo: ignoring inconsistent anchor p1; placing venue from the p0->p2 diagonal.", {
35396
35396
  angleErrorDeg: a.angleErrorDeg,
35397
35397
  sideRatioError: a.ratioError
@@ -35402,9 +35402,9 @@ function Kn(e, t) {
35402
35402
  e.p2
35403
35403
  ], s = [], c = [], l = [];
35404
35404
  for (let e of o) {
35405
- Zn(e), c.push([e.x, e.y]);
35406
- let t = he.MercatorCoordinate.fromLngLat([e.lng, e.lat], 0), n = t.meterInMercatorCoordinateUnits();
35407
- Qn(t.x), Qn(t.y), Qn(n), s.push(n), l.push([t.x, t.y]);
35405
+ Qn(e), c.push([e.x, e.y]);
35406
+ let t = ge.MercatorCoordinate.fromLngLat([e.lng, e.lat], 0), n = t.meterInMercatorCoordinateUnits();
35407
+ $n(t.x), $n(t.y), $n(n), s.push(n), l.push([t.x, t.y]);
35408
35408
  }
35409
35409
  let u = [], d = [];
35410
35410
  for (let e = 0; e < 3; e++) {
@@ -35425,7 +35425,7 @@ function Kn(e, t) {
35425
35425
  1
35426
35426
  ]), d.push(i);
35427
35427
  }
35428
- let [f, p, m, h, g, _] = ir(u, d), v = (t == null || (n = t.toLowerCase) == null ? void 0 : n.call(t).trim()) === "ft" ? 1 / Hn : 1, y = [
35428
+ let [f, p, m, h, g, _] = ar(u, d), v = (t == null || (n = t.toLowerCase) == null ? void 0 : n.call(t).trim()) === "ft" ? 1 / Un : 1, y = [
35429
35429
  f,
35430
35430
  h,
35431
35431
  0,
@@ -35446,34 +35446,34 @@ function Kn(e, t) {
35446
35446
  if (!y.every(Number.isFinite)) throw Error("Cannot calculate Maplibre transform: geo anchor points produced a non-finite matrix.");
35447
35447
  return y;
35448
35448
  }
35449
- function qn(e) {
35449
+ function Jn(e) {
35450
35450
  let t = e.p1;
35451
35451
  if (!t) return null;
35452
- let n = Jn(e.p0.x, e.p0.y, t.x, t.y, e.p2.x, e.p2.y), r = Yn(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;
35452
+ let n = Yn(e.p0.x, e.p0.y, t.x, t.y, e.p2.x, e.p2.y), r = Xn(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;
35453
35453
  return {
35454
35454
  angleErrorDeg: i,
35455
35455
  ratioError: a,
35456
- inconsistent: i > Wn || a > Gn
35456
+ inconsistent: i > Gn || a > Kn
35457
35457
  };
35458
35458
  }
35459
- function Jn(e, t, n, r, i, a) {
35459
+ function Yn(e, t, n, r, i, a) {
35460
35460
  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;
35461
35461
  return {
35462
35462
  axisRatio: o > 0 ? s / o : Infinity,
35463
- angleDeg: er(Math.acos(Math.max(-1, Math.min(1, l))))
35463
+ angleDeg: tr(Math.acos(Math.max(-1, Math.min(1, l))))
35464
35464
  };
35465
35465
  }
35466
- function Yn(e, t, n) {
35467
- let r = tr(e.lat, e.lng, t.lat, t.lng), i = tr(e.lat, e.lng, n.lat, n.lng), a = nr(e.lat, e.lng, t.lat, t.lng), o = nr(e.lat, e.lng, n.lat, n.lng), s = Math.abs(o - a) % 360;
35466
+ function Xn(e, t, n) {
35467
+ let r = nr(e.lat, e.lng, t.lat, t.lng), i = nr(e.lat, e.lng, n.lat, n.lng), a = rr(e.lat, e.lng, t.lat, t.lng), o = rr(e.lat, e.lng, n.lat, n.lng), s = Math.abs(o - a) % 360;
35468
35468
  return s > 180 && (s = 360 - s), {
35469
35469
  axisRatio: r > 0 ? i / r : Infinity,
35470
35470
  angleDeg: s
35471
35471
  };
35472
35472
  }
35473
- function Xn(e) {
35473
+ function Zn(e) {
35474
35474
  let t = e.p2.x - e.p0.x, n = e.p2.y - e.p0.y;
35475
35475
  if (t === 0 && n === 0) throw Error("Cannot calculate Maplibre transform: p0 and p2 have identical SVG coordinates.");
35476
- let r = e.p0.x - n, i = e.p0.y + t, a = tr(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), o = nr(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), [s, c] = rr(e.p0.lat, e.p0.lng, a, o + 90);
35476
+ let r = e.p0.x - n, i = e.p0.y + t, a = nr(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), o = rr(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), [s, c] = ir(e.p0.lat, e.p0.lng, a, o + 90);
35477
35477
  return {
35478
35478
  x: r,
35479
35479
  y: i,
@@ -35481,36 +35481,36 @@ function Xn(e) {
35481
35481
  lng: s
35482
35482
  };
35483
35483
  }
35484
- function Zn(e) {
35485
- Qn(e.x), Qn(e.y), Qn(e.lat), Qn(e.lng);
35486
- }
35487
35484
  function Qn(e) {
35488
- if (!Number.isFinite(e)) throw Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.");
35485
+ $n(e.x), $n(e.y), $n(e.lat), $n(e.lng);
35489
35486
  }
35490
35487
  function $n(e) {
35491
- return e * Math.PI / 180;
35488
+ if (!Number.isFinite(e)) throw Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.");
35492
35489
  }
35493
35490
  function er(e) {
35494
- return e * 180 / Math.PI;
35491
+ return e * Math.PI / 180;
35495
35492
  }
35496
- function tr(e, t, n, r) {
35497
- let i = $n(e), a = $n(n), o = $n(n - e), s = $n(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);
35498
- return Un * (2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)));
35493
+ function tr(e) {
35494
+ return e * 180 / Math.PI;
35499
35495
  }
35500
35496
  function nr(e, t, n, r) {
35501
- let i = $n(e), a = $n(n), o = $n(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);
35502
- return (er(Math.atan2(s, c)) + 360) % 360;
35497
+ let i = er(e), a = er(n), o = er(n - e), s = er(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);
35498
+ return Wn * (2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)));
35503
35499
  }
35504
35500
  function rr(e, t, n, r) {
35505
- let i = n / Un, a = $n(r), o = $n(e), s = $n(t), c = Math.asin(Math.sin(o) * Math.cos(i) + Math.cos(o) * Math.sin(i) * Math.cos(a));
35506
- return [er(s + Math.atan2(Math.sin(a) * Math.sin(i) * Math.cos(o), Math.cos(i) - Math.sin(o) * Math.sin(c))), er(c)];
35501
+ let i = er(e), a = er(n), o = er(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);
35502
+ return (tr(Math.atan2(s, c)) + 360) % 360;
35503
+ }
35504
+ function ir(e, t, n, r) {
35505
+ let i = n / Wn, a = er(r), o = er(e), s = er(t), c = Math.asin(Math.sin(o) * Math.cos(i) + Math.cos(o) * Math.sin(i) * Math.cos(a));
35506
+ return [tr(s + Math.atan2(Math.sin(a) * Math.sin(i) * Math.cos(o), Math.cos(i) - Math.sin(o) * Math.sin(c))), tr(c)];
35507
35507
  }
35508
- function ir(e, t) {
35508
+ function ar(e, t) {
35509
35509
  let n = e.length, r = e.map((e, n) => [...e, t[n]]);
35510
35510
  for (let e = 0; e < n; e++) {
35511
35511
  let t = e;
35512
35512
  for (let i = e + 1; i < n; i++) Math.abs(r[i][e]) > Math.abs(r[t][e]) && (t = i);
35513
- if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < Vn) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
35513
+ if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < Hn) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
35514
35514
  for (let t = e + 1; t < n; t++) {
35515
35515
  let i = r[t][e] / r[e][e];
35516
35516
  for (let a = e; a <= n; a++) r[t][a] -= i * r[e][a];
@@ -35526,8 +35526,8 @@ function ir(e, t) {
35526
35526
  }
35527
35527
  //#endregion
35528
35528
  //#region src/components/Maplibre/MaplibreAdapter.tsx
35529
- var ar = "routes-api.expofp.com", or = 800;
35530
- function sr(e, t, n) {
35529
+ var or = "routes-api.expofp.com", sr = 800;
35530
+ function cr(e, t, n) {
35531
35531
  return {
35532
35532
  getCameraState: () => {
35533
35533
  let t = e.getCenter();
@@ -35546,7 +35546,7 @@ function sr(e, t, n) {
35546
35546
  zoom: r.zoom,
35547
35547
  bearing: (i = r.bearing) == null ? t : i,
35548
35548
  pitch: (a = r.pitch) == null ? n() : a,
35549
- duration: or,
35549
+ duration: sr,
35550
35550
  essential: !0
35551
35551
  });
35552
35552
  },
@@ -35556,24 +35556,24 @@ function sr(e, t, n) {
35556
35556
  }
35557
35557
  };
35558
35558
  }
35559
- function cr() {
35559
+ function lr() {
35560
35560
  C.poiMarkerStore.clear(), a(() => {
35561
35561
  C.layerStore.layers.forEach((e) => {
35562
35562
  e.configured = !1, e.children = [], e.loaded = !1;
35563
35563
  }), C.layerStore.layersLoaded = !1;
35564
35564
  });
35565
35565
  }
35566
- var lr = re(function({ viewMode: e }) {
35566
+ var ur = ie(function({ viewMode: e }) {
35567
35567
  var t;
35568
- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null), s = (0, F.useRef)(null), l = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useMemo)(() => on(), []), m = (0, F.useMemo)(() => A({
35568
+ let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(!1), o = (0, P.useRef)(null), s = (0, P.useRef)(null), l = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useMemo)(() => on(), []), m = (0, P.useMemo)(() => A({
35569
35569
  layerViewbox: C.layerStore.viewboxRectangle,
35570
- explicitArea: b ? ee : null,
35570
+ explicitArea: b ? te : null,
35571
35571
  layerRectangle: C.layerStore.rectangle,
35572
35572
  sceneDef: n,
35573
- svgArea: ee
35574
- }), [n]), h = m.rect, _ = (0, F.useMemo)(() => {
35573
+ svgArea: te
35574
+ }), [n]), h = m.rect, _ = (0, P.useMemo)(() => {
35575
35575
  if (!p) return null;
35576
- let e = w(m.source) ? 0 : T(h, ee), t = rn(0);
35576
+ let e = w(m.source) ? 0 : T(h, te), t = rn(0);
35577
35577
  e && k.screenSize && (t.left += k.screenSize.width * e, t.right += k.screenSize.width * e, t.top += k.screenSize.height * e, t.bottom += k.screenSize.height * e);
35578
35578
  let n = k.screenSize ? tn(h, p.gpsConfig, p.bearing, {
35579
35579
  width: k.screenSize.width,
@@ -35595,10 +35595,10 @@ var lr = re(function({ viewMode: e }) {
35595
35595
  p,
35596
35596
  m,
35597
35597
  h
35598
- ]), y = (0, F.useMemo)(() => {
35598
+ ]), y = (0, P.useMemo)(() => {
35599
35599
  var e;
35600
- return p ? Kn(p.gpsConfig, (e = te()) == null ? void 0 : e.getAttribute("units")) : null;
35601
- }, [p]), E = (0, F.useMemo)(() => ({ ...e === "map2d" ? bn : yn }), [e]), D = (0, F.useRef)(E), O = (0, F.useMemo)(() => wn(), []), M = (0, F.useMemo)(() => {
35600
+ return p ? qn(p.gpsConfig, (e = ne()) == null ? void 0 : e.getAttribute("units")) : null;
35601
+ }, [p]), E = (0, P.useMemo)(() => ({ ...e === "map2d" ? xn : bn }), [e]), D = (0, P.useRef)(E), O = (0, P.useMemo)(() => Tn(), []), M = (0, P.useMemo)(() => {
35602
35602
  if (!n || !y) return null;
35603
35603
  let e = n.rootLayer.children, t = g(e) ? e.filter((e) => e.name.toLowerCase() !== "areamap") : e;
35604
35604
  return {
@@ -35610,79 +35610,79 @@ var lr = re(function({ viewMode: e }) {
35610
35610
  background: void 0,
35611
35611
  staticTransform: y
35612
35612
  };
35613
- }, [n, y]), P = (0, F.useRef)(null);
35614
- (0, F.useEffect)(() => {
35615
- P.current = M;
35616
- }, [M]), (0, F.useEffect)(() => {
35617
- if (M) return N(M), () => N(void 0);
35613
+ }, [n, y]), N = (0, P.useRef)(null);
35614
+ (0, P.useEffect)(() => {
35615
+ N.current = M;
35616
+ }, [M]), (0, P.useEffect)(() => {
35617
+ if (M) return ee(M), () => ee(void 0);
35618
35618
  }, [M]);
35619
- let { mapDimAnimatorRef: ne, venueDimAnimatorRef: re, applyDimmingTarget: ie, handleMapDimLayerReady: se } = En(o, P);
35620
- (0, F.useEffect)(() => {
35619
+ let { mapDimAnimatorRef: re, venueDimAnimatorRef: ie, applyDimmingTarget: ae, handleMapDimLayerReady: ce } = Dn(o, N);
35620
+ (0, P.useEffect)(() => {
35621
35621
  if (!p) return;
35622
35622
  let e = !1;
35623
- cr(), fe().then(({ layers: t, cleanup: n }) => {
35623
+ lr(), pe().then(({ layers: t, cleanup: n }) => {
35624
35624
  if (e) {
35625
35625
  n();
35626
35626
  return;
35627
35627
  }
35628
35628
  l.current = n;
35629
- let i = (0, me.default)(u.backgroundColor === "none" ? "#ebebeb" : u.backgroundColor).string();
35630
- r(j(t, ee, i));
35629
+ let i = (0, he.default)(u.backgroundColor === "none" ? "#ebebeb" : u.backgroundColor).string();
35630
+ r(j(t, te, i));
35631
35631
  }).catch((t) => {
35632
35632
  e || console.warn("Maplibre scene configuration failed.", t);
35633
35633
  });
35634
- let t = ne.current, n = re.current;
35634
+ let t = re.current, n = ie.current;
35635
35635
  return () => {
35636
35636
  var r;
35637
- e = !0, cr(), (r = l.current) == null || r.call(l), l.current = null, f.current && (C.maplibreStore.clearCameraPortIfCurrent(f.current), f.current = null), o.current = null, s.current = null, d.current = null, a(!1), t == null || t.stop(), n == null || n.stop(), k.sceneDefReady = !1;
35637
+ e = !0, lr(), (r = l.current) == null || r.call(l), l.current = null, f.current && (C.maplibreStore.clearCameraPortIfCurrent(f.current), f.current = null), o.current = null, s.current = null, d.current = null, a(!1), t == null || t.stop(), n == null || n.stop(), k.sceneDefReady = !1;
35638
35638
  };
35639
35639
  }, [
35640
35640
  p,
35641
- ne,
35642
- re
35641
+ re,
35642
+ ie
35643
35643
  ]);
35644
- let le = (0, F.useCallback)((e, t) => {
35644
+ let ue = (0, P.useCallback)((e, t) => {
35645
35645
  var n;
35646
- o.current = e, s.current = e.getCanvas(), d.current = t, a(!0), Cn(e, D.current);
35647
- let r = sr(e, (n = p == null ? void 0 : p.bearing) == null ? e.getBearing() : n, () => {
35646
+ o.current = e, s.current = e.getCanvas(), d.current = t, a(!0), wn(e, D.current);
35647
+ let r = cr(e, (n = p == null ? void 0 : p.bearing) == null ? e.getBearing() : n, () => {
35648
35648
  var e;
35649
35649
  return (e = D.current.pitch) == null ? 0 : e;
35650
35650
  });
35651
- f.current = r, C.maplibreStore.setCameraPort(r), C.fp.getCenterCoordinates = () => ae(s.current), ie({ immediate: !0 }), x(), C.layerStore.layersLoaded = !0, C.fp.onFpConfigured && C.fp.onFpConfigured(), k.sceneDefReady = !0, t();
35652
- }, [ie, p]);
35653
- (0, F.useEffect)(() => {
35654
- D.current = E, Cn(o.current, E, !0);
35655
- }, [E]), Dn(i, o), Bn(M, s), zn(i, o, p), kn(M, o, p), dn(o, p, M), oe({
35651
+ f.current = r, C.maplibreStore.setCameraPort(r), C.fp.getCenterCoordinates = () => oe(s.current), ae({ immediate: !0 }), x(), C.layerStore.layersLoaded = !0, C.fp.onFpConfigured && C.fp.onFpConfigured(), k.sceneDefReady = !0, t();
35652
+ }, [ae, p]);
35653
+ (0, P.useEffect)(() => {
35654
+ D.current = E, wn(o.current, E, !0);
35655
+ }, [E]), On(i, o), Vn(M, s), Bn(i, o, p), An(M, o, p), fn(o, p, M), se({
35656
35656
  enabled: C.layerStore.layersLoaded && k.buildRoute,
35657
35657
  scene: M == null ? void 0 : M
35658
35658
  });
35659
- let de = (t = S.busRoutes) != null && t;
35660
- ce({
35661
- permission: C.layerStore.layersLoaded && de,
35659
+ let fe = (t = S.busRoutes) != null && t;
35660
+ le({
35661
+ permission: C.layerStore.layersLoaded && fe,
35662
35662
  scene: M == null ? void 0 : M,
35663
- dataJsonUrl: `https://${ar}/v1/routes?expo=${u.EXPO}`,
35664
- websocketUrl: `wss://${ar}/locations?expo=${u.EXPO}`
35663
+ dataJsonUrl: `https://${or}/v1/routes?expo=${u.EXPO}`,
35664
+ websocketUrl: `wss://${or}/locations?expo=${u.EXPO}`
35665
35665
  });
35666
- let pe = (0, F.useCallback)((e) => {
35666
+ let me = (0, P.useCallback)((e) => {
35667
35667
  console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), C.maplibreStore.deactivateMaplibre();
35668
35668
  }, []);
35669
35669
  if (!p || !_ || !y || !M) return null;
35670
- let he = `${_.center.join(",")}:${_.bearing}:${_.zoom}`;
35670
+ let ge = `${_.center.join(",")}:${_.bearing}:${_.zoom}`;
35671
35671
  return /* @__PURE__ */ (0, jt.jsx)(Ut, {
35672
35672
  sceneDef: M,
35673
35673
  geoConfig: _,
35674
35674
  tileSource: O,
35675
35675
  mapOptions: E,
35676
35676
  debug: c,
35677
- onMapReady: le,
35678
- onMapDimLayerReady: se,
35679
- onMapLoadError: pe,
35677
+ onMapReady: ue,
35678
+ onMapDimLayerReady: ce,
35679
+ onMapLoadError: me,
35680
35680
  onPointerMissed: v,
35681
- children: /* @__PURE__ */ (0, jt.jsx)(ue, {})
35682
- }, he);
35681
+ children: /* @__PURE__ */ (0, jt.jsx)(de, {})
35682
+ }, ge);
35683
35683
  });
35684
35684
  //#endregion
35685
- export { lr as default };
35685
+ export { ur as default };
35686
35686
 
35687
35687
  ;/* vite-per-chunk-css */
35688
35688
  __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);