@expofp/floorplan 3.5.1 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/browser/{CookieConsent-6peJrqgk.js → CookieConsent-SW2eXIC8.js} +7 -7
  2. package/dist/browser/{Debug-CvWfZhp7.js → Debug-t7OzIN-8.js} +6 -6
  3. package/dist/browser/{Demo-kC9UMaAL.js → Demo-DJ98mlUr.js} +8 -8
  4. package/dist/browser/{Free-D1WOkVlU.js → Free-B9JCPcnr.js} +8 -8
  5. package/dist/browser/{Gallery-D2nstK8X.js → Gallery-CPBGS9q7.js} +9 -9
  6. package/dist/browser/{GpsLoader-DE6I9eQp.js → GpsLoader-vcgurCKn.js} +8 -8
  7. package/dist/browser/{KioskStore-BhXRbqc8.js → KioskStore-DzLhE0fK.js} +4 -4
  8. package/dist/browser/{MaplibreAdapter-DDxo96FQ.js → MaplibreAdapter-CAGVMAol.js} +916 -908
  9. package/dist/browser/{Modal-C_uJNEVc.js → Modal-DBVl72uz.js} +9 -9
  10. package/dist/browser/{PermissionNotice-DeY-7Rry.js → PermissionNotice-BDny4W7h.js} +6 -6
  11. package/dist/browser/{SetKioskMode-Czt6Qco7.js → SetKioskMode-CjKFTXwj.js} +7 -7
  12. package/dist/browser/{ShowKiosk-SDGABRF1.js → ShowKiosk-bwEsTLSP.js} +9 -9
  13. package/dist/browser/{TouchHand-CebNMx3v.js → TouchHand-DFPQ2vE8.js} +4 -4
  14. package/dist/browser/{ViewerMenuPanel-BMREinP9.js → ViewerMenuPanel-DK-DJHgD.js} +7 -7
  15. package/dist/browser/{add-debug-secret-listener-CUkJsq-4.js → add-debug-secret-listener-ND2YIuwE.js} +1 -1
  16. package/dist/browser/{boolean-editor-C0cyyHKp.js → boolean-editor-BXVL077p.js} +9 -9
  17. package/dist/browser/{bootIntercom-BLYoGbUn.js → bootIntercom-DLTAHEbT.js} +2 -2
  18. package/dist/browser/{browser-DI-o-wTZ.js → browser-V3D46fyx.js} +2 -2
  19. package/dist/browser/bundle.json +56 -56
  20. package/dist/browser/{classnames-DWcKabmv.js → classnames-Dxv3Iqu-.js} +2 -2
  21. package/dist/browser/{client-CQI0leBx.js → client-C1kJisHy.js} +4 -4
  22. package/dist/browser/{components-C-3ZMgfD.js → components-B8Qifx-N.js} +36 -36
  23. package/dist/browser/{createWayfinding-CDwQ_kFX.js → createWayfinding-C8Pmd2H5.js} +6 -6
  24. package/dist/browser/{debug-overlay-CUFjVM6D.js → debug-overlay-DWJkUc3u.js} +10 -10
  25. package/dist/browser/{debug-ui-eDwZY0sh.js → debug-ui-jAj6--ux.js} +6 -6
  26. package/dist/browser/{dist-D9RLyx9H.js → dist-BHV9ghY4.js} +6 -6
  27. package/dist/browser/{dist-BiXgsIE3.js → dist-CPyShXna.js} +5 -5
  28. package/dist/browser/{dist-CR8nDYxb.js → dist-DUIasJnS.js} +3 -3
  29. package/dist/browser/{efp-debug-init-C8MmMCLI.js → efp-debug-init-AR3Fvs_0.js} +2 -2
  30. package/dist/browser/{enum-editor-CVPdrht4.js → enum-editor-FiZIrNXM.js} +11 -11
  31. package/dist/browser/{event-not-found-DgbIOCzB.js → event-not-found-BzPx68a_.js} +1 -1
  32. package/dist/browser/{exports-nm9toBcx.js → exports-DlEzkzSC.js} +1 -1
  33. package/dist/browser/{favicon-c3oSQwg0.js → favicon-Dobo0b59.js} +1 -1
  34. package/dist/browser/{fetch-retry.umd-B3h4-W3a.js → fetch-retry.umd-CXT8SYkm.js} +2 -2
  35. package/dist/browser/{flex-L-r84Co9.js → flex-DGR_Loqd.js} +5 -5
  36. package/dist/browser/{floorplan.loader-CrIto_wf.js → floorplan.loader-GMByEo0q.js} +11 -11
  37. package/dist/browser/{floorplan.ready-DbN9VRg6.js → floorplan.ready-DTwVRPUA.js} +11 -11
  38. package/dist/browser/{fuse-BD772YLF.js → fuse-CoX8SCVF.js} +2 -2
  39. package/dist/browser/{i18n-vxuvCdp3.js → i18n-CONnsQk4.js} +3 -3
  40. package/dist/browser/index.js +11 -11
  41. package/dist/browser/{jsx-runtime-B_lDzQUM.js → jsx-runtime-iIXfJE8d.js} +2 -2
  42. package/dist/browser/{lib-Dt473O92.js → lib-CAUtTowO.js} +4 -4
  43. package/dist/browser/{main-BI_sKj7M.js → main-5p-fstPx.js} +1 -1
  44. package/dist/browser/{mobx-CsXF36GH.js → mobx-CP3094rF.js} +4 -4
  45. package/dist/browser/{particles.min-Cu3-EAst.js → particles.min-BvP0Ecuj.js} +2 -2
  46. package/dist/browser/{prop-types-CZk95C-H.js → prop-types-CtPkc8Dm.js} +2 -2
  47. package/dist/browser/{react-DZdfNwUb.js → react-DgvgFS2Z.js} +2 -2
  48. package/dist/browser/{react-dom-RQOatts6.js → react-dom-Bi44rMnr.js} +3 -3
  49. package/dist/browser/{reset-all-settings-B49xLRxj.js → reset-all-settings-CB8d29KN.js} +7 -7
  50. package/dist/browser/{rolldown-runtime-r7aXVB4Q.js → rolldown-runtime-D0nkOxqx.js} +1 -1
  51. package/dist/browser/{settings-CTjITReC.js → settings-CTPClT89.js} +2 -2
  52. package/dist/browser/{settings-item-BfWIariz.js → settings-item-DFxxEXOa.js} +6 -6
  53. package/dist/browser/{storage-NTiBNuK8.js → storage-DvQIEAC7.js} +4 -4
  54. package/dist/browser/{store-DAjbf6yG.js → store-BlZ4xT_G.js} +10 -10
  55. package/dist/browser/{string-editor-xAGw1E90.js → string-editor-YIMEKgRw.js} +7 -7
  56. package/dist/browser/{theme-BlJqeFM1.js → theme-Gip68cNV.js} +8 -8
  57. package/dist/browser/{ui-ZNjW9wBH.js → ui-CZUswZut.js} +8 -8
  58. package/dist/browser/{useRenderTarget-BGVzr0LV.js → useRenderTarget-DTeVFvZz.js} +4 -4
  59. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  60. package/package.json +3 -3
@@ -2,20 +2,20 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.5.1" };
5
+ e.SENTRY_RELEASE = { id: "3.5.2" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d11f8b91-f2b6-438d-8d81-2c2627a73542", e._sentryDebugIdIdentifier = "sentry-dbid-d11f8b91-f2b6-438d-8d81-2c2627a73542");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2da9d114-1e9e-4bb8-a553-e7cf70424b0c", e._sentryDebugIdIdentifier = "sentry-dbid-2da9d114-1e9e-4bb8-a553-e7cf70424b0c");
8
8
  } catch {}
9
9
  })();
10
- import { r as e, t } from "./rolldown-runtime-r7aXVB4Q.js";
11
- import { t as n } from "./react-DZdfNwUb.js";
12
- import { t as r } from "./jsx-runtime-B_lDzQUM.js";
13
- import { _ as i } from "./i18n-vxuvCdp3.js";
14
- import { $t as a, At as o, Ft as s, Pt as c, Tt as l, Yt as u, Zt as d, en as f, et as p, mt as m, o as h, rn as g, rt as _, s as v, t as y, tn as b, ut as x } from "./store-DAjbf6yG.js";
15
- import { r as S } from "./mobx-CsXF36GH.js";
16
- import { a as C, c as w, i as T, l as E, n as D, o as O, r as k, s as A, t as j, u as M } from "./createWayfinding-CDwQ_kFX.js";
10
+ import { r as e, t } from "./rolldown-runtime-D0nkOxqx.js";
11
+ import { t as n } from "./react-DgvgFS2Z.js";
12
+ import { t as r } from "./jsx-runtime-iIXfJE8d.js";
13
+ import { _ as i } from "./i18n-CONnsQk4.js";
14
+ import { $t as a, At as o, Ft as s, Pt as c, Tt as l, Yt as u, Zt as d, en as f, et as p, gt as m, mt as h, o as g, rn as _, rt as v, s as y, t as b, tn as x, ut as S } from "./store-BlZ4xT_G.js";
15
+ import { r as C } from "./mobx-CP3094rF.js";
16
+ import { a as w, c as T, i as E, l as D, n as O, o as k, r as A, s as j, t as M, u as ee } from "./createWayfinding-C8Pmd2H5.js";
17
17
  //#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
18
- var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PURE__ */ t(((e, t) => {
18
+ var N = /* @__PURE__ */ e(n(), 1), te = /* @__PURE__ */ e(x(), 1), ne = (/* @__PURE__ */ t(((e, t) => {
19
19
  (function(n, r) {
20
20
  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());
21
21
  })(e, (function() {
@@ -314,45 +314,45 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
314
314
  function M(e, t, n) {
315
315
  return e * (1 - n) + t * n;
316
316
  }
317
- function N(e) {
317
+ function ee(e) {
318
318
  if (e <= 0) return 0;
319
319
  if (e >= 1) return 1;
320
320
  let t = e * e, n = t * e;
321
321
  return 4 * (e < .5 ? n : 3 * (e - t) + n - .75);
322
322
  }
323
- function ee(e, t, n, r) {
323
+ function N(e, t, n, r) {
324
324
  let i = new o(e, t, n, r);
325
325
  return (e) => i.solve(e);
326
326
  }
327
- let P = ee(.25, .1, .25, 1);
328
- function te(e, t, n) {
327
+ let te = N(.25, .1, .25, 1);
328
+ function ne(e, t, n) {
329
329
  return Math.min(n, Math.max(t, e));
330
330
  }
331
- function F(e, t, n) {
331
+ function P(e, t, n) {
332
332
  let r = n - t, i = ((e - t) % r + r) % r + t;
333
333
  return i === t ? n : i;
334
334
  }
335
- function ne(e, ...t) {
335
+ function re(e, ...t) {
336
336
  for (let n of t) for (let t in n) e[t] = n[t];
337
337
  return e;
338
338
  }
339
- let re = 1;
340
- function ie(e, t, n) {
339
+ let ie = 1;
340
+ function ae(e, t, n) {
341
341
  let r = {};
342
342
  for (let n in e) r[n] = t.call(this, e[n], n, e);
343
343
  return r;
344
344
  }
345
- function ae(e, t, n) {
345
+ function oe(e, t, n) {
346
346
  let r = {};
347
347
  for (let n in e) t.call(this, e[n], n, e) && (r[n] = e[n]);
348
348
  return r;
349
349
  }
350
- function oe(e) {
351
- return Array.isArray(e) ? e.map(oe) : typeof e == "object" && e ? ie(e, oe) : e;
350
+ function se(e) {
351
+ return Array.isArray(e) ? e.map(se) : typeof e == "object" && e ? ae(e, se) : e;
352
352
  }
353
- let se = {};
353
+ let F = {};
354
354
  function ce(e) {
355
- se[e] || (typeof console < "u" && console.warn(e), se[e] = !0);
355
+ F[e] || (typeof console < "u" && console.warn(e), F[e] = !0);
356
356
  }
357
357
  function le(e, t, n) {
358
358
  return (n.y - e.y) * (t.x - e.x) > (t.y - e.y) * (n.x - e.x);
@@ -364,8 +364,8 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
364
364
  function fe(e) {
365
365
  return typeof ImageBitmap < "u" && e instanceof ImageBitmap;
366
366
  }
367
- let I = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
368
- function pe(e, n, r, i, a) {
367
+ let pe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
368
+ function me(e, n, r, i, a) {
369
369
  return t(this, void 0, void 0, (function* () {
370
370
  if (typeof VideoFrame > "u") throw Error("VideoFrame not supported");
371
371
  let t = new VideoFrame(e, { timestamp: 0 });
@@ -397,25 +397,25 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
397
397
  }
398
398
  }));
399
399
  }
400
- let me, he;
401
- function ge(e, t, n, r) {
400
+ let he, ge;
401
+ function _e(e, t, n, r) {
402
402
  return e.addEventListener(t, n, r), { unsubscribe: () => {
403
403
  e.removeEventListener(t, n, r);
404
404
  } };
405
405
  }
406
- function _e(e) {
406
+ function ve(e) {
407
407
  return e * Math.PI / 180;
408
408
  }
409
- function ve(e) {
409
+ function ye(e) {
410
410
  return e / Math.PI * 180;
411
411
  }
412
- let ye = {
412
+ let be = {
413
413
  touchstart: !0,
414
414
  touchmove: !0,
415
415
  touchmoveWindow: !0,
416
416
  touchend: !0,
417
417
  touchcancel: !0
418
- }, be = {
418
+ }, xe = {
419
419
  dblclick: !0,
420
420
  click: !0,
421
421
  mouseover: !0,
@@ -427,55 +427,55 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
427
427
  mouseupWindow: !0,
428
428
  contextmenu: !0,
429
429
  wheel: !0
430
- }, xe = "AbortError";
431
- class Se extends Error {
432
- constructor(e = xe) {
433
- super(e instanceof Error ? e.message : e), this.name = xe, e instanceof Error && e.stack && (this.stack = e.stack);
430
+ }, Se = "AbortError";
431
+ class Ce extends Error {
432
+ constructor(e = Se) {
433
+ super(e instanceof Error ? e.message : e), this.name = Se, e instanceof Error && e.stack && (this.stack = e.stack);
434
434
  }
435
435
  }
436
- function Ce(e) {
437
- return e instanceof Error && e.name === xe;
438
- }
439
436
  function we(e) {
440
- if (e.aborted) throw new Se(e.reason);
437
+ return e instanceof Error && e.name === Se;
441
438
  }
442
- let Te = {
439
+ function Te(e) {
440
+ if (e.aborted) throw new Ce(e.reason);
441
+ }
442
+ let Ee = {
443
443
  MAX_PARALLEL_IMAGE_REQUESTS: 16,
444
444
  MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME: 8,
445
445
  MAX_TILE_CACHE_ZOOM_LEVELS: 5,
446
446
  REGISTERED_PROTOCOLS: {},
447
447
  WORKER_URL: ""
448
448
  };
449
- function Ee(e) {
450
- return Te.REGISTERED_PROTOCOLS[e.substring(0, e.indexOf("://"))];
449
+ function De(e) {
450
+ return Ee.REGISTERED_PROTOCOLS[e.substring(0, e.indexOf("://"))];
451
451
  }
452
- let De = "global-dispatcher";
453
- class Oe extends Error {
452
+ let Oe = "global-dispatcher";
453
+ class ke extends Error {
454
454
  constructor(e, t, n, r) {
455
455
  super(`AJAXError: ${t} (${e}): ${n}`), this.status = e, this.statusText = t, this.url = n, this.body = r;
456
456
  }
457
457
  }
458
- let ke = () => {
458
+ let Ae = () => {
459
459
  var e;
460
460
  return ue(self) ? (e = self.worker) == null ? void 0 : e.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href;
461
- }, Ae = function(e, n) {
461
+ }, je = function(e, n) {
462
462
  return t(this, void 0, void 0, (function* () {
463
463
  var r, i;
464
464
  if (e.url.includes("://") && !/^https?:|^file:/.test(e.url)) {
465
- let t = Ee(e.url);
465
+ let t = De(e.url);
466
466
  if (t) {
467
467
  let r = yield t(e, n);
468
- return r.data || e.type !== "arrayBuffer" ? r : ne(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
468
+ return r.data || e.type !== "arrayBuffer" ? r : re(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
469
469
  }
470
470
  if (ue(self) && (r = self.worker) != null && r.actor) return self.worker.actor.sendAsync({
471
471
  type: "GR",
472
472
  data: e,
473
- targetMapId: De
473
+ targetMapId: Oe
474
474
  }, n);
475
475
  }
476
476
  if (!((e) => {
477
477
  var t;
478
- return e.startsWith("file:") || ((t = ke()) == null ? void 0 : t.startsWith("file:")) && !/^\w+:/.test(e);
478
+ return e.startsWith("file:") || ((t = Ae()) == null ? void 0 : t.startsWith("file:")) && !/^\w+:/.test(e);
479
479
  })(e.url)) {
480
480
  if (fetch && Request && AbortController && Object.hasOwn(Request.prototype, "signal")) return function(e, n) {
481
481
  return t(this, void 0, void 0, (function* () {
@@ -485,7 +485,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
485
485
  credentials: e.credentials,
486
486
  headers: e.headers,
487
487
  cache: e.cache,
488
- referrer: ke(),
488
+ referrer: Ae(),
489
489
  referrerPolicy: e.referrerPolicy,
490
490
  signal: n.signal
491
491
  }), r, i;
@@ -493,15 +493,15 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
493
493
  try {
494
494
  r = yield fetch(t);
495
495
  } catch (t) {
496
- throw Ce(t) ? t : new Oe(0, A(t).message, e.url, new Blob());
496
+ throw we(t) ? t : new ke(0, A(t).message, e.url, new Blob());
497
497
  }
498
498
  if (!r.ok) {
499
499
  let t = yield r.blob();
500
- throw new Oe(r.status, r.statusText, e.url, t);
500
+ throw new ke(r.status, r.statusText, e.url, t);
501
501
  }
502
502
  i = e.type === "arrayBuffer" || e.type === "image" ? r.arrayBuffer() : e.type === "json" ? r.json() : r.text();
503
503
  let a = yield i;
504
- return we(n.signal), {
504
+ return Te(n.signal), {
505
505
  data: a,
506
506
  cacheControl: r.headers.get("Cache-Control"),
507
507
  expires: r.headers.get("Expires"),
@@ -513,7 +513,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
513
513
  type: "GR",
514
514
  data: e,
515
515
  mustQueue: !0,
516
- targetMapId: De
516
+ targetMapId: Oe
517
517
  }, n);
518
518
  }
519
519
  return function(e, t) {
@@ -541,65 +541,65 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
541
541
  });
542
542
  } else {
543
543
  let t = new Blob([a.response], { type: a.getResponseHeader("Content-Type") });
544
- r(new Oe(a.status, a.statusText, e.url, t));
544
+ r(new ke(a.status, a.statusText, e.url, t));
545
545
  }
546
546
  }, t.signal.addEventListener("abort", (() => {
547
- a.abort(), r(new Se(t.signal.reason));
547
+ a.abort(), r(new Ce(t.signal.reason));
548
548
  })), a.send(e.body);
549
549
  }));
550
550
  }(e, n);
551
551
  }));
552
552
  };
553
- function je(e) {
553
+ function Me(e) {
554
554
  if (!e || e.indexOf("://") <= 0 || e.startsWith("data:image/") || e.startsWith("blob:")) return !0;
555
555
  let t = new URL(e), n = window.location;
556
556
  return t.protocol === n.protocol && t.host === n.host;
557
557
  }
558
- function Me(e, t, n) {
558
+ function Ne(e, t, n) {
559
559
  var r;
560
560
  (r = n[e]) != null && r.includes(t) || (n[e] || (n[e] = []), n[e].push(t));
561
561
  }
562
- function Ne(e, t, n) {
562
+ function Pe(e, t, n) {
563
563
  if (n != null && n[e]) {
564
564
  let r = n[e].indexOf(t);
565
565
  r !== -1 && n[e].splice(r, 1);
566
566
  }
567
567
  }
568
- class Pe {
568
+ class Fe {
569
569
  constructor(e, t = {}) {
570
- ne(this, t), this.type = e;
570
+ re(this, t), this.type = e;
571
571
  }
572
572
  }
573
- class Fe extends Pe {
573
+ class Ie extends Fe {
574
574
  constructor(e, t = {}) {
575
- super("error", ne({ error: e }, t));
575
+ super("error", re({ error: e }, t));
576
576
  }
577
577
  }
578
- class Ie {
578
+ class Le {
579
579
  on(e, t) {
580
- return this._listeners || (this._listeners = {}), Me(e, t, this._listeners), { unsubscribe: () => {
580
+ return this._listeners || (this._listeners = {}), Ne(e, t, this._listeners), { unsubscribe: () => {
581
581
  this.off(e, t);
582
582
  } };
583
583
  }
584
584
  off(e, t) {
585
- return Ne(e, t, this._listeners), Ne(e, t, this._oneTimeListeners), this;
585
+ return Pe(e, t, this._listeners), Pe(e, t, this._oneTimeListeners), this;
586
586
  }
587
587
  once(e, t) {
588
- return t ? (this._oneTimeListeners || (this._oneTimeListeners = {}), Me(e, t, this._oneTimeListeners), this) : new Promise(((t) => this.once(e, t)));
588
+ return t ? (this._oneTimeListeners || (this._oneTimeListeners = {}), Ne(e, t, this._oneTimeListeners), this) : new Promise(((t) => this.once(e, t)));
589
589
  }
590
590
  fire(e, t) {
591
591
  var n, r;
592
- typeof e == "string" && (e = new Pe(e, t || {}));
592
+ typeof e == "string" && (e = new Fe(e, t || {}));
593
593
  let i = e.type;
594
594
  if (this.listens(i)) {
595
595
  e.target = this;
596
596
  let t = (n = this._listeners) != null && n[i] ? this._listeners[i].slice() : [];
597
597
  for (let n of t) n.call(this, e);
598
598
  let a = (r = this._oneTimeListeners) != null && r[i] ? this._oneTimeListeners[i].slice() : [];
599
- for (let t of a) Ne(i, t, this._oneTimeListeners), t.call(this, e);
599
+ for (let t of a) Pe(i, t, this._oneTimeListeners), t.call(this, e);
600
600
  let o = this._eventedParent;
601
- o && (ne(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
602
- } else e instanceof Fe && console.error(e.error);
601
+ o && (re(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
602
+ } else e instanceof Ie && console.error(e.error);
603
603
  return this;
604
604
  }
605
605
  listens(e) {
@@ -610,7 +610,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
610
610
  return this._eventedParent = e, this._eventedParentData = t, this;
611
611
  }
612
612
  }
613
- var R = {
613
+ var I = {
614
614
  $version: 8,
615
615
  $root: {
616
616
  version: {
@@ -3221,7 +3221,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
3221
3221
  }
3222
3222
  }
3223
3223
  };
3224
- let Le = [
3224
+ let Re = [
3225
3225
  "type",
3226
3226
  "source",
3227
3227
  "source-layer",
@@ -3230,22 +3230,22 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
3230
3230
  "filter",
3231
3231
  "layout"
3232
3232
  ];
3233
- function Re(e, t) {
3233
+ function ze(e, t) {
3234
3234
  let n = {};
3235
3235
  for (let t in e) t !== "ref" && (n[t] = e[t]);
3236
- return Le.forEach(((e) => {
3236
+ return Re.forEach(((e) => {
3237
3237
  e in t && (n[e] = t[e]);
3238
3238
  })), n;
3239
3239
  }
3240
- function ze(e, t) {
3240
+ function R(e, t) {
3241
3241
  if (Array.isArray(e)) {
3242
3242
  if (!Array.isArray(t) || e.length !== t.length) return !1;
3243
- for (let n = 0; n < e.length; n++) if (!ze(e[n], t[n])) return !1;
3243
+ for (let n = 0; n < e.length; n++) if (!R(e[n], t[n])) return !1;
3244
3244
  return !0;
3245
3245
  }
3246
3246
  if (typeof e == "object" && e && t !== null) {
3247
3247
  if (typeof t != "object" || Object.keys(e).length !== Object.keys(t).length) return !1;
3248
- for (let n in e) if (!ze(e[n], t[n])) return !1;
3248
+ for (let n in e) if (!R(e[n], t[n])) return !1;
3249
3249
  return !0;
3250
3250
  }
3251
3251
  return e === t;
@@ -3270,13 +3270,13 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
3270
3270
  }
3271
3271
  function We(e, t, n) {
3272
3272
  let r;
3273
- for (r in e[n]) if (Object.prototype.hasOwnProperty.call(e[n], r) && r !== "data" && !ze(e[n][r], t[n][r])) return !1;
3274
- for (r in t[n]) if (Object.prototype.hasOwnProperty.call(t[n], r) && r !== "data" && !ze(e[n][r], t[n][r])) return !1;
3273
+ for (r in e[n]) if (Object.prototype.hasOwnProperty.call(e[n], r) && r !== "data" && !R(e[n][r], t[n][r])) return !1;
3274
+ for (r in t[n]) if (Object.prototype.hasOwnProperty.call(t[n], r) && r !== "data" && !R(e[n][r], t[n][r])) return !1;
3275
3275
  return !0;
3276
3276
  }
3277
3277
  function Ge(e, t, n, r, i, a) {
3278
3278
  e = e || {}, t = t || {};
3279
- for (let o in e) Object.prototype.hasOwnProperty.call(e, o) && (ze(e[o], t[o]) || n.push({
3279
+ for (let o in e) Object.prototype.hasOwnProperty.call(e, o) && (R(e[o], t[o]) || n.push({
3280
3280
  command: a,
3281
3281
  args: [
3282
3282
  r,
@@ -3285,7 +3285,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
3285
3285
  i
3286
3286
  ]
3287
3287
  }));
3288
- for (let o in t) Object.prototype.hasOwnProperty.call(t, o) && !Object.prototype.hasOwnProperty.call(e, o) && (ze(e[o], t[o]) || n.push({
3288
+ for (let o in t) Object.prototype.hasOwnProperty.call(t, o) && !Object.prototype.hasOwnProperty.call(e, o) && (R(e[o], t[o]) || n.push({
3289
3289
  command: a,
3290
3290
  args: [
3291
3291
  r,
@@ -7153,7 +7153,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
7153
7153
  }
7154
7154
  function Ei(e) {
7155
7155
  let t = "";
7156
- for (let n of Le) t += `/${Ti(e[n])}`;
7156
+ for (let n of Re) t += `/${Ti(e[n])}`;
7157
7157
  return t;
7158
7158
  }
7159
7159
  function Di(e) {
@@ -7864,7 +7864,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
7864
7864
  let t = e.value, n = e.key, r = Ui(e);
7865
7865
  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;
7866
7866
  }
7867
- function ta(e, t = R) {
7867
+ function ta(e, t = I) {
7868
7868
  let n = [];
7869
7869
  return n = n.concat($i({
7870
7870
  key: "",
@@ -7928,10 +7928,10 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
7928
7928
  return this._globalStateRefs;
7929
7929
  }
7930
7930
  }
7931
- let sa = R, ca = ta, la = ca.light, ua = ca.sky, da = ca.paintProperty, fa = ca.layoutProperty;
7931
+ let sa = I, ca = ta, la = ca.light, ua = ca.sky, da = ca.paintProperty, fa = ca.layoutProperty;
7932
7932
  function pa(e, t) {
7933
7933
  let n = !1;
7934
- if (t != null && t.length) for (let r of t) e.fire(new Fe(Error(r.message))), n = !0;
7934
+ if (t != null && t.length) for (let r of t) e.fire(new Ie(Error(r.message))), n = !0;
7935
7935
  return n;
7936
7936
  }
7937
7937
  class ma {
@@ -8029,7 +8029,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8029
8029
  shallow: n.shallow || []
8030
8030
  };
8031
8031
  }
8032
- X("Object", Object), X("Set", Set), X("TransferableGridIndex", ma), X("Color", W), X("Error", Error), X("AJAXError", Oe), X("ResolvedImage", qt), X("StylePropertyFunction", di), X("StyleExpression", ai, { omit: ["_evaluator"] }), X("ZoomDependentExpression", li), X("ZoomConstantExpression", ci), X("CompoundExpression", Lr, { omit: ["_evaluate"] });
8032
+ X("Object", Object), X("Set", Set), X("TransferableGridIndex", ma), X("Color", W), X("Error", Error), X("AJAXError", ke), X("ResolvedImage", qt), X("StylePropertyFunction", di), X("StyleExpression", ai, { omit: ["_evaluator"] }), X("ZoomDependentExpression", li), X("ZoomConstantExpression", ci), X("CompoundExpression", Lr, { omit: ["_evaluate"] });
8033
8033
  for (let e in Ir) Ir[e]._classRegistryKey || X(`Expression_${e}`, Ir[e]);
8034
8034
  function ga(e) {
8035
8035
  var t;
@@ -8256,7 +8256,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8256
8256
  this.property = e, this.value = new za(e, void 0, t);
8257
8257
  }
8258
8258
  transitioned(e, t) {
8259
- return new Ha(this.property, this.value, t, ne({}, e.transition, this.transition), e.now);
8259
+ return new Ha(this.property, this.value, t, re({}, e.transition, this.transition), e.now);
8260
8260
  }
8261
8261
  untransitioned() {
8262
8262
  return new Ha(this.property, this.value, null, {}, 0);
@@ -8270,16 +8270,16 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8270
8270
  return e in this._properties.defaultTransitionablePropertyValues;
8271
8271
  }
8272
8272
  getValue(e) {
8273
- return oe(this._values[e].value.value);
8273
+ return se(this._values[e].value.value);
8274
8274
  }
8275
8275
  setValue(e, t) {
8276
- 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 : oe(t), this._globalState);
8276
+ Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].value = new za(this._values[e].property, t === null ? void 0 : se(t), this._globalState);
8277
8277
  }
8278
8278
  getTransition(e) {
8279
- return oe(this._values[e].transition);
8279
+ return se(this._values[e].transition);
8280
8280
  }
8281
8281
  setTransition(e, t) {
8282
- Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].transition = oe(t) || void 0;
8282
+ Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].transition = se(t) || void 0;
8283
8283
  }
8284
8284
  serialize() {
8285
8285
  let e = {};
@@ -8313,7 +8313,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8313
8313
  if (r < this.begin) return a.possiblyEvaluate(e, t, n);
8314
8314
  {
8315
8315
  let o = (r - this.begin) / (this.end - this.begin);
8316
- return this.property.interpolate(a.possiblyEvaluate(e, t, n), i, N(o));
8316
+ return this.property.interpolate(a.possiblyEvaluate(e, t, n), i, ee(o));
8317
8317
  }
8318
8318
  }
8319
8319
  return i;
@@ -8344,10 +8344,10 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8344
8344
  return e in this._properties.defaultPropertyValues;
8345
8345
  }
8346
8346
  getValue(e) {
8347
- return oe(this._values[e].value);
8347
+ return se(this._values[e].value);
8348
8348
  }
8349
8349
  setValue(e, t) {
8350
- this._values[e] = new za(this._values[e].property, t === null ? void 0 : oe(t), this._globalState);
8350
+ this._values[e] = new za(this._values[e].property, t === null ? void 0 : se(t), this._globalState);
8351
8351
  }
8352
8352
  serialize() {
8353
8353
  let e = {};
@@ -8520,7 +8520,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8520
8520
  }
8521
8521
  X("DataDrivenProperty", Q), X("DataConstantProperty", Z), X("CrossFadedDataDrivenProperty", qa), X("CrossFadedProperty", Ja), X("ColorRampProperty", Ya);
8522
8522
  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?";
8523
- class $a extends Ie {
8523
+ class $a extends Le {
8524
8524
  constructor(e, t, n) {
8525
8525
  if (super(), this.id = e.id, this.type = e.type, this._globalState = n, this._featureFilter = {
8526
8526
  filter: () => !0,
@@ -8579,7 +8579,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8579
8579
  setLayoutProperty(e, t, n = {}) {
8580
8580
  var r;
8581
8581
  if (e === "visibility") return this.visibility = t, this._visibilityExpression.setValue(t), void this.recalculateVisibility();
8582
- (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);
8582
+ (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);
8583
8583
  }
8584
8584
  getPaintProperty(e) {
8585
8585
  var t, n;
@@ -8593,7 +8593,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8593
8593
  }
8594
8594
  setPaintProperty(e, t, n = {}) {
8595
8595
  var r;
8596
- if (e === "visibility" || (r = this._unevaluatedLayout) != null && r.hasProperty(e)) return this.fire(new Fe(/* @__PURE__ */ Error(e + Qa))), !1;
8596
+ if (e === "visibility" || (r = this._unevaluatedLayout) != null && r.hasProperty(e)) return this.fire(new Ie(/* @__PURE__ */ Error(e + Qa))), !1;
8597
8597
  if (t != null && this._validate(da, `layers.${this.id}.paint.${e}`, e, t, n)) return !1;
8598
8598
  if (e.endsWith(Ra)) return this._transitionablePaint.setTransition(e.slice(0, -11), t || void 0), !1;
8599
8599
  {
@@ -8636,7 +8636,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8636
8636
  layout: (e = this._unevaluatedLayout) == null ? void 0 : e.serialize(),
8637
8637
  paint: (t = this._transitionablePaint) == null ? void 0 : t.serialize()
8638
8638
  };
8639
- return this.visibility && (n.layout || (n.layout = {}), n.layout.visibility = this.visibility), ae(n, ((e, t) => !(e === void 0 || t === "layout" && !Object.keys(e).length || t === "paint" && !Object.keys(e).length)));
8639
+ return this.visibility && (n.layout || (n.layout = {}), n.layout.visibility = this.visibility), oe(n, ((e, t) => !(e === void 0 || t === "layout" && !Object.keys(e).length || t === "paint" && !Object.keys(e).length)));
8640
8640
  }
8641
8641
  _validate(e, t, n, r, i = {}) {
8642
8642
  return !1 !== (i == null ? void 0 : i.validate) && pa(this, e.call(ca, {
@@ -8644,7 +8644,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8644
8644
  layerType: this.type,
8645
8645
  objectKey: n,
8646
8646
  value: r,
8647
- styleSpec: R,
8647
+ styleSpec: I,
8648
8648
  style: {
8649
8649
  glyphs: !0,
8650
8650
  sprite: !0
@@ -8672,15 +8672,15 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
8672
8672
  let eo;
8673
8673
  var to = { get paint() {
8674
8674
  return eo = eo || new Xa({
8675
- "raster-opacity": new Z(R.paint_raster["raster-opacity"]),
8676
- "raster-hue-rotate": new Z(R.paint_raster["raster-hue-rotate"]),
8677
- "raster-brightness-min": new Z(R.paint_raster["raster-brightness-min"]),
8678
- "raster-brightness-max": new Z(R.paint_raster["raster-brightness-max"]),
8679
- "raster-saturation": new Z(R.paint_raster["raster-saturation"]),
8680
- "raster-contrast": new Z(R.paint_raster["raster-contrast"]),
8681
- resampling: new Z(R.paint_raster.resampling),
8682
- "raster-resampling": new Z(R.paint_raster["raster-resampling"]),
8683
- "raster-fade-duration": new Z(R.paint_raster["raster-fade-duration"])
8675
+ "raster-opacity": new Z(I.paint_raster["raster-opacity"]),
8676
+ "raster-hue-rotate": new Z(I.paint_raster["raster-hue-rotate"]),
8677
+ "raster-brightness-min": new Z(I.paint_raster["raster-brightness-min"]),
8678
+ "raster-brightness-max": new Z(I.paint_raster["raster-brightness-max"]),
8679
+ "raster-saturation": new Z(I.paint_raster["raster-saturation"]),
8680
+ "raster-contrast": new Z(I.paint_raster["raster-contrast"]),
8681
+ resampling: new Z(I.paint_raster.resampling),
8682
+ "raster-resampling": new Z(I.paint_raster["raster-resampling"]),
8683
+ "raster-fade-duration": new Z(I.paint_raster["raster-fade-duration"])
8684
8684
  });
8685
8685
  } };
8686
8686
  class no extends $a {
@@ -9411,7 +9411,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
9411
9411
  }
9412
9412
  }
9413
9413
  function cs(e, t) {
9414
- return 256 * (e = te(Math.floor(e), 0, 255)) + te(Math.floor(t), 0, 255);
9414
+ return 256 * (e = ne(Math.floor(e), 0, 255)) + ne(Math.floor(t), 0, 255);
9415
9415
  }
9416
9416
  ss.MAX_VERTEX_ARRAY_LENGTH = 2 ** 16 - 1, X("SegmentVector", ss);
9417
9417
  let ls = oo([
@@ -9671,7 +9671,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
9671
9671
  this.paintVertexBuffer && this.paintVertexBuffer.destroy();
9672
9672
  }
9673
9673
  setUniform(e, t) {
9674
- let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r = te(this.expression.interpolationFactor(n, this.zoom, this.zoom + 1), 0, 1);
9674
+ let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r = ne(this.expression.interpolationFactor(n, this.zoom, this.zoom + 1), 0, 1);
9675
9675
  e.set(r);
9676
9676
  }
9677
9677
  getBinding(e, t, n) {
@@ -9965,7 +9965,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
9965
9965
  let t = O / e.extent, n = e.loadGeometry();
9966
9966
  for (let e of n) for (let n of e) {
9967
9967
  let e = Math.round(n.x * t), r = Math.round(n.y * t);
9968
- 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) && ce("Geometry exceeds allowed extent, reduce your vector tile buffer size");
9968
+ 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) && ce("Geometry exceeds allowed extent, reduce your vector tile buffer size");
9969
9969
  }
9970
9970
  return n;
9971
9971
  }
@@ -10208,21 +10208,21 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
10208
10208
  var hc = {
10209
10209
  get paint() {
10210
10210
  return mc = mc || new Xa({
10211
- "circle-radius": new Q(R.paint_circle["circle-radius"]),
10212
- "circle-color": new Q(R.paint_circle["circle-color"]),
10213
- "circle-blur": new Q(R.paint_circle["circle-blur"]),
10214
- "circle-opacity": new Q(R.paint_circle["circle-opacity"]),
10215
- "circle-translate": new Z(R.paint_circle["circle-translate"]),
10216
- "circle-translate-anchor": new Z(R.paint_circle["circle-translate-anchor"]),
10217
- "circle-pitch-scale": new Z(R.paint_circle["circle-pitch-scale"]),
10218
- "circle-pitch-alignment": new Z(R.paint_circle["circle-pitch-alignment"]),
10219
- "circle-stroke-width": new Q(R.paint_circle["circle-stroke-width"]),
10220
- "circle-stroke-color": new Q(R.paint_circle["circle-stroke-color"]),
10221
- "circle-stroke-opacity": new Q(R.paint_circle["circle-stroke-opacity"])
10211
+ "circle-radius": new Q(I.paint_circle["circle-radius"]),
10212
+ "circle-color": new Q(I.paint_circle["circle-color"]),
10213
+ "circle-blur": new Q(I.paint_circle["circle-blur"]),
10214
+ "circle-opacity": new Q(I.paint_circle["circle-opacity"]),
10215
+ "circle-translate": new Z(I.paint_circle["circle-translate"]),
10216
+ "circle-translate-anchor": new Z(I.paint_circle["circle-translate-anchor"]),
10217
+ "circle-pitch-scale": new Z(I.paint_circle["circle-pitch-scale"]),
10218
+ "circle-pitch-alignment": new Z(I.paint_circle["circle-pitch-alignment"]),
10219
+ "circle-stroke-width": new Q(I.paint_circle["circle-stroke-width"]),
10220
+ "circle-stroke-color": new Q(I.paint_circle["circle-stroke-color"]),
10221
+ "circle-stroke-opacity": new Q(I.paint_circle["circle-stroke-opacity"])
10222
10222
  });
10223
10223
  },
10224
10224
  get layout() {
10225
- return pc = pc || new Xa({ "circle-sort-key": new Q(R.layout_circle["circle-sort-key"]) });
10225
+ return pc = pc || new Xa({ "circle-sort-key": new Q(I.layout_circle["circle-sort-key"]) });
10226
10226
  }
10227
10227
  };
10228
10228
  class gc extends $a {
@@ -10256,11 +10256,11 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
10256
10256
  X("HeatmapBucket", _c, { omit: ["layers"] });
10257
10257
  var yc = { get paint() {
10258
10258
  return vc = vc || new Xa({
10259
- "heatmap-radius": new Q(R.paint_heatmap["heatmap-radius"]),
10260
- "heatmap-weight": new Q(R.paint_heatmap["heatmap-weight"]),
10261
- "heatmap-intensity": new Z(R.paint_heatmap["heatmap-intensity"]),
10262
- "heatmap-color": new Ya(R.paint_heatmap["heatmap-color"]),
10263
- "heatmap-opacity": new Z(R.paint_heatmap["heatmap-opacity"])
10259
+ "heatmap-radius": new Q(I.paint_heatmap["heatmap-radius"]),
10260
+ "heatmap-weight": new Q(I.paint_heatmap["heatmap-weight"]),
10261
+ "heatmap-intensity": new Z(I.paint_heatmap["heatmap-intensity"]),
10262
+ "heatmap-color": new Ya(I.paint_heatmap["heatmap-color"]),
10263
+ "heatmap-opacity": new Z(I.paint_heatmap["heatmap-opacity"])
10264
10264
  });
10265
10265
  } };
10266
10266
  function bc(e, { width: t, height: n }, r, i) {
@@ -10407,15 +10407,15 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
10407
10407
  let kc;
10408
10408
  var Ac = { get paint() {
10409
10409
  return kc = kc || new Xa({
10410
- "hillshade-illumination-direction": new Z(R.paint_hillshade["hillshade-illumination-direction"]),
10411
- "hillshade-illumination-altitude": new Z(R.paint_hillshade["hillshade-illumination-altitude"]),
10412
- "hillshade-illumination-anchor": new Z(R.paint_hillshade["hillshade-illumination-anchor"]),
10413
- "hillshade-exaggeration": new Z(R.paint_hillshade["hillshade-exaggeration"]),
10414
- "hillshade-shadow-color": new Z(R.paint_hillshade["hillshade-shadow-color"]),
10415
- "hillshade-highlight-color": new Z(R.paint_hillshade["hillshade-highlight-color"]),
10416
- "hillshade-accent-color": new Z(R.paint_hillshade["hillshade-accent-color"]),
10417
- "hillshade-method": new Z(R.paint_hillshade["hillshade-method"]),
10418
- resampling: new Z(R.paint_hillshade.resampling)
10410
+ "hillshade-illumination-direction": new Z(I.paint_hillshade["hillshade-illumination-direction"]),
10411
+ "hillshade-illumination-altitude": new Z(I.paint_hillshade["hillshade-illumination-altitude"]),
10412
+ "hillshade-illumination-anchor": new Z(I.paint_hillshade["hillshade-illumination-anchor"]),
10413
+ "hillshade-exaggeration": new Z(I.paint_hillshade["hillshade-exaggeration"]),
10414
+ "hillshade-shadow-color": new Z(I.paint_hillshade["hillshade-shadow-color"]),
10415
+ "hillshade-highlight-color": new Z(I.paint_hillshade["hillshade-highlight-color"]),
10416
+ "hillshade-accent-color": new Z(I.paint_hillshade["hillshade-accent-color"]),
10417
+ "hillshade-method": new Z(I.paint_hillshade["hillshade-method"]),
10418
+ resampling: new Z(I.paint_hillshade.resampling)
10419
10419
  });
10420
10420
  } };
10421
10421
  class jc extends $a {
@@ -10428,9 +10428,9 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
10428
10428
  getIlluminationProperties() {
10429
10429
  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);
10430
10430
  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)));
10431
- let a = t.map(_e);
10431
+ let a = t.map(ve);
10432
10432
  return {
10433
- directionRadians: e.map(_e),
10433
+ directionRadians: e.map(ve),
10434
10434
  altitudeRadians: a,
10435
10435
  shadowColor: r,
10436
10436
  highlightColor: n
@@ -10443,9 +10443,9 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
10443
10443
  let Mc;
10444
10444
  var Nc = { get paint() {
10445
10445
  return Mc = Mc || new Xa({
10446
- "color-relief-opacity": new Z(R["paint_color-relief"]["color-relief-opacity"]),
10447
- "color-relief-color": new Ya(R["paint_color-relief"]["color-relief-color"]),
10448
- resampling: new Z(R["paint_color-relief"].resampling)
10446
+ "color-relief-opacity": new Z(I["paint_color-relief"]["color-relief-opacity"]),
10447
+ "color-relief-color": new Ya(I["paint_color-relief"]["color-relief-color"]),
10448
+ resampling: new Z(I["paint_color-relief"].resampling)
10449
10449
  });
10450
10450
  } };
10451
10451
  function Pc(e) {
@@ -11246,17 +11246,17 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
11246
11246
  var El = {
11247
11247
  get paint() {
11248
11248
  return Tl = Tl || new Xa({
11249
- "fill-antialias": new Z(R.paint_fill["fill-antialias"]),
11250
- "fill-opacity": new Q(R.paint_fill["fill-opacity"]),
11251
- "fill-color": new Q(R.paint_fill["fill-color"]),
11252
- "fill-outline-color": new Q(R.paint_fill["fill-outline-color"]),
11253
- "fill-translate": new Z(R.paint_fill["fill-translate"]),
11254
- "fill-translate-anchor": new Z(R.paint_fill["fill-translate-anchor"]),
11255
- "fill-pattern": new qa(R.paint_fill["fill-pattern"])
11249
+ "fill-antialias": new Z(I.paint_fill["fill-antialias"]),
11250
+ "fill-opacity": new Q(I.paint_fill["fill-opacity"]),
11251
+ "fill-color": new Q(I.paint_fill["fill-color"]),
11252
+ "fill-outline-color": new Q(I.paint_fill["fill-outline-color"]),
11253
+ "fill-translate": new Z(I.paint_fill["fill-translate"]),
11254
+ "fill-translate-anchor": new Z(I.paint_fill["fill-translate-anchor"]),
11255
+ "fill-pattern": new qa(I.paint_fill["fill-pattern"])
11256
11256
  });
11257
11257
  },
11258
11258
  get layout() {
11259
- return wl = wl || new Xa({ "fill-sort-key": new Q(R.layout_fill["fill-sort-key"]) });
11259
+ return wl = wl || new Xa({ "fill-sort-key": new Q(I.layout_fill["fill-sort-key"]) });
11260
11260
  }
11261
11261
  };
11262
11262
  class Dl extends $a {
@@ -11554,14 +11554,14 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
11554
11554
  X("FillExtrusionBucket", Vl, { omit: ["layers", "features"] });
11555
11555
  var Kl = { get paint() {
11556
11556
  return Gl = Gl || new Xa({
11557
- "fill-extrusion-opacity": new Z(R["paint_fill-extrusion"]["fill-extrusion-opacity"]),
11558
- "fill-extrusion-color": new Q(R["paint_fill-extrusion"]["fill-extrusion-color"]),
11559
- "fill-extrusion-translate": new Z(R["paint_fill-extrusion"]["fill-extrusion-translate"]),
11560
- "fill-extrusion-translate-anchor": new Z(R["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),
11561
- "fill-extrusion-pattern": new qa(R["paint_fill-extrusion"]["fill-extrusion-pattern"]),
11562
- "fill-extrusion-height": new Q(R["paint_fill-extrusion"]["fill-extrusion-height"]),
11563
- "fill-extrusion-base": new Q(R["paint_fill-extrusion"]["fill-extrusion-base"]),
11564
- "fill-extrusion-vertical-gradient": new Z(R["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])
11557
+ "fill-extrusion-opacity": new Z(I["paint_fill-extrusion"]["fill-extrusion-opacity"]),
11558
+ "fill-extrusion-color": new Q(I["paint_fill-extrusion"]["fill-extrusion-color"]),
11559
+ "fill-extrusion-translate": new Z(I["paint_fill-extrusion"]["fill-extrusion-translate"]),
11560
+ "fill-extrusion-translate-anchor": new Z(I["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),
11561
+ "fill-extrusion-pattern": new qa(I["paint_fill-extrusion"]["fill-extrusion-pattern"]),
11562
+ "fill-extrusion-height": new Q(I["paint_fill-extrusion"]["fill-extrusion-height"]),
11563
+ "fill-extrusion-base": new Q(I["paint_fill-extrusion"]["fill-extrusion-base"]),
11564
+ "fill-extrusion-vertical-gradient": new Z(I["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])
11565
11565
  });
11566
11566
  } };
11567
11567
  class ql extends $a {
@@ -12809,26 +12809,26 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
12809
12809
  var ld = {
12810
12810
  get paint() {
12811
12811
  return cd = cd || new Xa({
12812
- "line-opacity": new Q(R.paint_line["line-opacity"]),
12813
- "line-color": new Q(R.paint_line["line-color"]),
12814
- "line-translate": new Z(R.paint_line["line-translate"]),
12815
- "line-translate-anchor": new Z(R.paint_line["line-translate-anchor"]),
12816
- "line-width": new Q(R.paint_line["line-width"]),
12817
- "line-gap-width": new Q(R.paint_line["line-gap-width"]),
12818
- "line-offset": new Q(R.paint_line["line-offset"]),
12819
- "line-blur": new Q(R.paint_line["line-blur"]),
12820
- "line-dasharray": new qa(R.paint_line["line-dasharray"]),
12821
- "line-pattern": new qa(R.paint_line["line-pattern"]),
12822
- "line-gradient": new Ya(R.paint_line["line-gradient"])
12812
+ "line-opacity": new Q(I.paint_line["line-opacity"]),
12813
+ "line-color": new Q(I.paint_line["line-color"]),
12814
+ "line-translate": new Z(I.paint_line["line-translate"]),
12815
+ "line-translate-anchor": new Z(I.paint_line["line-translate-anchor"]),
12816
+ "line-width": new Q(I.paint_line["line-width"]),
12817
+ "line-gap-width": new Q(I.paint_line["line-gap-width"]),
12818
+ "line-offset": new Q(I.paint_line["line-offset"]),
12819
+ "line-blur": new Q(I.paint_line["line-blur"]),
12820
+ "line-dasharray": new qa(I.paint_line["line-dasharray"]),
12821
+ "line-pattern": new qa(I.paint_line["line-pattern"]),
12822
+ "line-gradient": new Ya(I.paint_line["line-gradient"])
12823
12823
  });
12824
12824
  },
12825
12825
  get layout() {
12826
12826
  return sd = sd || new Xa({
12827
- "line-cap": new Q(R.layout_line["line-cap"]),
12828
- "line-join": new Q(R.layout_line["line-join"]),
12829
- "line-miter-limit": new Q(R.layout_line["line-miter-limit"]),
12830
- "line-round-limit": new Q(R.layout_line["line-round-limit"]),
12831
- "line-sort-key": new Q(R.layout_line["line-sort-key"])
12827
+ "line-cap": new Q(I.layout_line["line-cap"]),
12828
+ "line-join": new Q(I.layout_line["line-join"]),
12829
+ "line-miter-limit": new Q(I.layout_line["line-miter-limit"]),
12830
+ "line-round-limit": new Q(I.layout_line["line-round-limit"]),
12831
+ "line-sort-key": new Q(I.layout_line["line-sort-key"])
12832
12832
  });
12833
12833
  }
12834
12834
  };
@@ -12842,7 +12842,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
12842
12842
  }), super.possiblyEvaluate(e, t);
12843
12843
  }
12844
12844
  evaluate(e, t, n, r) {
12845
- return t = ne({}, t, { zoom: Math.floor(t.zoom) }), super.evaluate(e, t, n, r);
12845
+ return t = re({}, t, { zoom: Math.floor(t.zoom) }), super.evaluate(e, t, n, r);
12846
12846
  }
12847
12847
  }
12848
12848
  let dd;
@@ -14573,72 +14573,72 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
14573
14573
  var Cf = {
14574
14574
  get paint() {
14575
14575
  return Sf = Sf || new Xa({
14576
- "icon-opacity": new Q(R.paint_symbol["icon-opacity"]),
14577
- "icon-color": new Q(R.paint_symbol["icon-color"]),
14578
- "icon-halo-color": new Q(R.paint_symbol["icon-halo-color"]),
14579
- "icon-halo-width": new Q(R.paint_symbol["icon-halo-width"]),
14580
- "icon-halo-blur": new Q(R.paint_symbol["icon-halo-blur"]),
14581
- "icon-translate": new Z(R.paint_symbol["icon-translate"]),
14582
- "icon-translate-anchor": new Z(R.paint_symbol["icon-translate-anchor"]),
14583
- "text-opacity": new Q(R.paint_symbol["text-opacity"]),
14584
- "text-color": new Q(R.paint_symbol["text-color"], {
14576
+ "icon-opacity": new Q(I.paint_symbol["icon-opacity"]),
14577
+ "icon-color": new Q(I.paint_symbol["icon-color"]),
14578
+ "icon-halo-color": new Q(I.paint_symbol["icon-halo-color"]),
14579
+ "icon-halo-width": new Q(I.paint_symbol["icon-halo-width"]),
14580
+ "icon-halo-blur": new Q(I.paint_symbol["icon-halo-blur"]),
14581
+ "icon-translate": new Z(I.paint_symbol["icon-translate"]),
14582
+ "icon-translate-anchor": new Z(I.paint_symbol["icon-translate-anchor"]),
14583
+ "text-opacity": new Q(I.paint_symbol["text-opacity"]),
14584
+ "text-color": new Q(I.paint_symbol["text-color"], {
14585
14585
  runtimeType: Qe,
14586
14586
  getOverride: (e) => e.textColor,
14587
14587
  hasOverride: (e) => !!e.textColor
14588
14588
  }),
14589
- "text-halo-color": new Q(R.paint_symbol["text-halo-color"]),
14590
- "text-halo-width": new Q(R.paint_symbol["text-halo-width"]),
14591
- "text-halo-blur": new Q(R.paint_symbol["text-halo-blur"]),
14592
- "text-translate": new Z(R.paint_symbol["text-translate"]),
14593
- "text-translate-anchor": new Z(R.paint_symbol["text-translate-anchor"])
14589
+ "text-halo-color": new Q(I.paint_symbol["text-halo-color"]),
14590
+ "text-halo-width": new Q(I.paint_symbol["text-halo-width"]),
14591
+ "text-halo-blur": new Q(I.paint_symbol["text-halo-blur"]),
14592
+ "text-translate": new Z(I.paint_symbol["text-translate"]),
14593
+ "text-translate-anchor": new Z(I.paint_symbol["text-translate-anchor"])
14594
14594
  });
14595
14595
  },
14596
14596
  get layout() {
14597
14597
  return xf = xf || new Xa({
14598
- "symbol-placement": new Z(R.layout_symbol["symbol-placement"]),
14599
- "symbol-spacing": new Z(R.layout_symbol["symbol-spacing"]),
14600
- "symbol-avoid-edges": new Z(R.layout_symbol["symbol-avoid-edges"]),
14601
- "symbol-sort-key": new Q(R.layout_symbol["symbol-sort-key"]),
14602
- "symbol-z-order": new Z(R.layout_symbol["symbol-z-order"]),
14603
- "icon-allow-overlap": new Z(R.layout_symbol["icon-allow-overlap"]),
14604
- "icon-overlap": new Z(R.layout_symbol["icon-overlap"]),
14605
- "icon-ignore-placement": new Z(R.layout_symbol["icon-ignore-placement"]),
14606
- "icon-optional": new Z(R.layout_symbol["icon-optional"]),
14607
- "icon-rotation-alignment": new Z(R.layout_symbol["icon-rotation-alignment"]),
14608
- "icon-size": new Q(R.layout_symbol["icon-size"]),
14609
- "icon-text-fit": new Z(R.layout_symbol["icon-text-fit"]),
14610
- "icon-text-fit-padding": new Z(R.layout_symbol["icon-text-fit-padding"]),
14611
- "icon-image": new Q(R.layout_symbol["icon-image"]),
14612
- "icon-rotate": new Q(R.layout_symbol["icon-rotate"]),
14613
- "icon-padding": new Q(R.layout_symbol["icon-padding"]),
14614
- "icon-keep-upright": new Z(R.layout_symbol["icon-keep-upright"]),
14615
- "icon-offset": new Q(R.layout_symbol["icon-offset"]),
14616
- "icon-anchor": new Q(R.layout_symbol["icon-anchor"]),
14617
- "icon-pitch-alignment": new Z(R.layout_symbol["icon-pitch-alignment"]),
14618
- "text-pitch-alignment": new Z(R.layout_symbol["text-pitch-alignment"]),
14619
- "text-rotation-alignment": new Z(R.layout_symbol["text-rotation-alignment"]),
14620
- "text-field": new Q(R.layout_symbol["text-field"]),
14621
- "text-font": new Q(R.layout_symbol["text-font"]),
14622
- "text-size": new Q(R.layout_symbol["text-size"]),
14623
- "text-max-width": new Q(R.layout_symbol["text-max-width"]),
14624
- "text-line-height": new Z(R.layout_symbol["text-line-height"]),
14625
- "text-letter-spacing": new Q(R.layout_symbol["text-letter-spacing"]),
14626
- "text-justify": new Q(R.layout_symbol["text-justify"]),
14627
- "text-radial-offset": new Q(R.layout_symbol["text-radial-offset"]),
14628
- "text-variable-anchor": new Z(R.layout_symbol["text-variable-anchor"]),
14629
- "text-variable-anchor-offset": new Q(R.layout_symbol["text-variable-anchor-offset"]),
14630
- "text-anchor": new Q(R.layout_symbol["text-anchor"]),
14631
- "text-max-angle": new Z(R.layout_symbol["text-max-angle"]),
14632
- "text-writing-mode": new Z(R.layout_symbol["text-writing-mode"]),
14633
- "text-rotate": new Q(R.layout_symbol["text-rotate"]),
14634
- "text-padding": new Z(R.layout_symbol["text-padding"]),
14635
- "text-keep-upright": new Z(R.layout_symbol["text-keep-upright"]),
14636
- "text-transform": new Q(R.layout_symbol["text-transform"]),
14637
- "text-offset": new Q(R.layout_symbol["text-offset"]),
14638
- "text-allow-overlap": new Z(R.layout_symbol["text-allow-overlap"]),
14639
- "text-overlap": new Z(R.layout_symbol["text-overlap"]),
14640
- "text-ignore-placement": new Z(R.layout_symbol["text-ignore-placement"]),
14641
- "text-optional": new Z(R.layout_symbol["text-optional"])
14598
+ "symbol-placement": new Z(I.layout_symbol["symbol-placement"]),
14599
+ "symbol-spacing": new Z(I.layout_symbol["symbol-spacing"]),
14600
+ "symbol-avoid-edges": new Z(I.layout_symbol["symbol-avoid-edges"]),
14601
+ "symbol-sort-key": new Q(I.layout_symbol["symbol-sort-key"]),
14602
+ "symbol-z-order": new Z(I.layout_symbol["symbol-z-order"]),
14603
+ "icon-allow-overlap": new Z(I.layout_symbol["icon-allow-overlap"]),
14604
+ "icon-overlap": new Z(I.layout_symbol["icon-overlap"]),
14605
+ "icon-ignore-placement": new Z(I.layout_symbol["icon-ignore-placement"]),
14606
+ "icon-optional": new Z(I.layout_symbol["icon-optional"]),
14607
+ "icon-rotation-alignment": new Z(I.layout_symbol["icon-rotation-alignment"]),
14608
+ "icon-size": new Q(I.layout_symbol["icon-size"]),
14609
+ "icon-text-fit": new Z(I.layout_symbol["icon-text-fit"]),
14610
+ "icon-text-fit-padding": new Z(I.layout_symbol["icon-text-fit-padding"]),
14611
+ "icon-image": new Q(I.layout_symbol["icon-image"]),
14612
+ "icon-rotate": new Q(I.layout_symbol["icon-rotate"]),
14613
+ "icon-padding": new Q(I.layout_symbol["icon-padding"]),
14614
+ "icon-keep-upright": new Z(I.layout_symbol["icon-keep-upright"]),
14615
+ "icon-offset": new Q(I.layout_symbol["icon-offset"]),
14616
+ "icon-anchor": new Q(I.layout_symbol["icon-anchor"]),
14617
+ "icon-pitch-alignment": new Z(I.layout_symbol["icon-pitch-alignment"]),
14618
+ "text-pitch-alignment": new Z(I.layout_symbol["text-pitch-alignment"]),
14619
+ "text-rotation-alignment": new Z(I.layout_symbol["text-rotation-alignment"]),
14620
+ "text-field": new Q(I.layout_symbol["text-field"]),
14621
+ "text-font": new Q(I.layout_symbol["text-font"]),
14622
+ "text-size": new Q(I.layout_symbol["text-size"]),
14623
+ "text-max-width": new Q(I.layout_symbol["text-max-width"]),
14624
+ "text-line-height": new Z(I.layout_symbol["text-line-height"]),
14625
+ "text-letter-spacing": new Q(I.layout_symbol["text-letter-spacing"]),
14626
+ "text-justify": new Q(I.layout_symbol["text-justify"]),
14627
+ "text-radial-offset": new Q(I.layout_symbol["text-radial-offset"]),
14628
+ "text-variable-anchor": new Z(I.layout_symbol["text-variable-anchor"]),
14629
+ "text-variable-anchor-offset": new Q(I.layout_symbol["text-variable-anchor-offset"]),
14630
+ "text-anchor": new Q(I.layout_symbol["text-anchor"]),
14631
+ "text-max-angle": new Z(I.layout_symbol["text-max-angle"]),
14632
+ "text-writing-mode": new Z(I.layout_symbol["text-writing-mode"]),
14633
+ "text-rotate": new Q(I.layout_symbol["text-rotate"]),
14634
+ "text-padding": new Z(I.layout_symbol["text-padding"]),
14635
+ "text-keep-upright": new Z(I.layout_symbol["text-keep-upright"]),
14636
+ "text-transform": new Q(I.layout_symbol["text-transform"]),
14637
+ "text-offset": new Q(I.layout_symbol["text-offset"]),
14638
+ "text-allow-overlap": new Z(I.layout_symbol["text-allow-overlap"]),
14639
+ "text-overlap": new Z(I.layout_symbol["text-overlap"]),
14640
+ "text-ignore-placement": new Z(I.layout_symbol["text-ignore-placement"]),
14641
+ "text-optional": new Z(I.layout_symbol["text-optional"])
14642
14642
  });
14643
14643
  }
14644
14644
  };
@@ -14723,9 +14723,9 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
14723
14723
  let Ef;
14724
14724
  var Df = { get paint() {
14725
14725
  return Ef = Ef || new Xa({
14726
- "background-color": new Z(R.paint_background["background-color"]),
14727
- "background-pattern": new Ja(R.paint_background["background-pattern"]),
14728
- "background-opacity": new Z(R.paint_background["background-opacity"])
14726
+ "background-color": new Z(I.paint_background["background-color"]),
14727
+ "background-pattern": new Ja(I.paint_background["background-pattern"]),
14728
+ "background-opacity": new Z(I.paint_background["background-opacity"])
14729
14729
  });
14730
14730
  } };
14731
14731
  class Of extends $a {
@@ -14777,7 +14777,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
14777
14777
  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");
14778
14778
  }
14779
14779
  wrap() {
14780
- return new Nf(F(this.lng, -180, 180), this.lat);
14780
+ return new Nf(P(this.lng, -180, 180), this.lat);
14781
14781
  }
14782
14782
  toArray() {
14783
14783
  return [this.lng, this.lat];
@@ -17196,7 +17196,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17196
17196
  if (!n) continue;
17197
17197
  let i = {};
17198
17198
  m && l && (i = l.getState(n.sourceLayer || Um, m));
17199
- let d = ne({}, c[t]);
17199
+ let d = re({}, c[t]);
17200
17200
  d.paint = Qm(d.paint, n.paint, p, i, o), d.layout = Qm(d.layout, n.layout, p, i, o);
17201
17201
  let f = !u || u(p, n, i);
17202
17202
  if (!f) continue;
@@ -17228,7 +17228,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17228
17228
  }
17229
17229
  }
17230
17230
  function Qm(e, t, n, r, i) {
17231
- return ie(e, ((e, a) => {
17231
+ return ae(e, ((e, a) => {
17232
17232
  let o = t instanceof Ka ? t.get(a) : null;
17233
17233
  return o != null && o.evaluate ? o.evaluate(n, r, i) : o;
17234
17234
  }));
@@ -17370,33 +17370,33 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17370
17370
  (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;
17371
17371
  }
17372
17372
  let E = u.x1, D = u.y1, O = u.x2 - E, k = u.y2 - D, A = (e, i, a, c) => {
17373
- 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), F = t * Math.PI / 180;
17374
- if (F) {
17375
- let e = Math.sin(F), t = Math.cos(F), n = [
17373
+ 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, _), N = new n(l, _), te = new n(u / s, f / s), ne = new n(g / s, A / s), P = t * Math.PI / 180;
17374
+ if (P) {
17375
+ let e = Math.sin(P), t = Math.cos(P), n = [
17376
17376
  t,
17377
17377
  -e,
17378
17378
  e,
17379
17379
  t
17380
17380
  ];
17381
- j._matMult(n), M._matMult(n), ee._matMult(n), N._matMult(n);
17381
+ j._matMult(n), M._matMult(n), N._matMult(n), ee._matMult(n);
17382
17382
  }
17383
- let ne = e.stretch + e.fixed, re = i.stretch + i.fixed;
17383
+ let re = e.stretch + e.fixed, ie = i.stretch + i.fixed;
17384
17384
  return {
17385
17385
  tl: j,
17386
17386
  tr: M,
17387
- bl: ee,
17388
- br: N,
17387
+ bl: N,
17388
+ br: ee,
17389
17389
  tex: {
17390
- x: o.paddedRect.x + 1 + ne,
17391
- y: o.paddedRect.y + 1 + re,
17392
- w: a.stretch + a.fixed - ne,
17393
- h: c.stretch + c.fixed - re
17390
+ x: o.paddedRect.x + 1 + re,
17391
+ y: o.paddedRect.y + 1 + ie,
17392
+ w: a.stretch + a.fixed - re,
17393
+ h: c.stretch + c.fixed - ie
17394
17394
  },
17395
17395
  writingMode: void 0,
17396
17396
  glyphOffset: [0, 0],
17397
17397
  sectionIndex: 0,
17398
- pixelOffsetTL: P,
17399
- pixelOffsetBR: te,
17398
+ pixelOffsetTL: te,
17399
+ pixelOffsetBR: ne,
17400
17400
  minFontScaleX: C / s / O,
17401
17401
  minFontScaleY: T / s / k,
17402
17402
  isSDF: r
@@ -17655,9 +17655,9 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17655
17655
  ];
17656
17656
  }(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;
17657
17657
  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, _)));
17658
- let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1, N = (c, f) => {
17658
+ let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1, ee = (c, f) => {
17659
17659
  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) {
17660
- let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, N = 0, ee = 0, P = -1, te = -1, F = {}, ne = _s("");
17660
+ let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, ee = 0, N = 0, te = -1, ne = -1, P = {}, re = _s("");
17661
17661
  if (t.allowVerticalPlacement && i.vertical) {
17662
17662
  let e = c.layout.get("text-rotate").evaluate(x, {}, w) + 90;
17663
17663
  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));
@@ -17666,29 +17666,29 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17666
17666
  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;
17667
17667
  O = new yh(l, n, u, d, f, a, _, v, !1, r), j = 4 * o.length;
17668
17668
  let m = t.iconSizeData, h = null;
17669
- m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df && ce(`${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) && ce(`${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);
17669
+ m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df && ce(`${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) && ce(`${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), te = t.icon.placedSymbolArray.length - 1, p && (M = 4 * p.length, t.addSymbols(t.icon, p, h, b, y, x, e.ax.vertical, n, E.lineStartIndex, E.lineLength, -1, w), ne = t.icon.placedSymbolArray.length - 1);
17670
17670
  }
17671
- let re = Object.keys(i.horizontal);
17672
- for (let r of re) {
17671
+ let ie = Object.keys(i.horizontal);
17672
+ for (let r of ie) {
17673
17673
  let a = i.horizontal[r];
17674
- D || (ne = _s(a.text), D = new yh(l, n, u, d, f, a, p, m, h, c.layout.get("text-rotate").evaluate(x, {}, w)));
17674
+ D || (re = _s(a.text), D = new yh(l, n, u, d, f, a, p, m, h, c.layout.get("text-rotate").evaluate(x, {}, w)));
17675
17675
  let s = a.positionedLines.length === 1;
17676
- if (N += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? re : [r], F, P, S, w), s) break;
17677
- }
17678
- i.vertical && (ee += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], F, te, S, w));
17679
- let ie = D ? D.boxStartIndex : t.collisionBoxArray.length, ae = D ? D.boxEndIndex : t.collisionBoxArray.length, oe = k ? k.boxStartIndex : t.collisionBoxArray.length, se = k ? k.boxEndIndex : t.collisionBoxArray.length, le = O ? O.boxStartIndex : t.collisionBoxArray.length, ue = O ? O.boxEndIndex : t.collisionBoxArray.length, de = A ? A.boxStartIndex : t.collisionBoxArray.length, fe = A ? A.boxEndIndex : t.collisionBoxArray.length, I = -1, pe = (e, t) => e != null && e.circleDiameter ? Math.max(e.circleDiameter, t) : t;
17680
- I = pe(D, I), I = pe(k, I), I = pe(O, I), I = pe(A, I);
17681
- let me = +(I > -1);
17682
- me && (I *= T / xd), t.glyphOffsetArray.length >= bf.MAX_GLYPHS && ce("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);
17683
- let he = Dh(c, x, w), [ge, _e] = function(t, n) {
17676
+ if (ee += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? ie : [r], P, te, S, w), s) break;
17677
+ }
17678
+ i.vertical && (N += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], P, ne, S, w));
17679
+ let ae = D ? D.boxStartIndex : t.collisionBoxArray.length, oe = D ? D.boxEndIndex : t.collisionBoxArray.length, se = k ? k.boxStartIndex : t.collisionBoxArray.length, F = k ? k.boxEndIndex : t.collisionBoxArray.length, le = O ? O.boxStartIndex : t.collisionBoxArray.length, ue = O ? O.boxEndIndex : t.collisionBoxArray.length, de = A ? A.boxStartIndex : t.collisionBoxArray.length, fe = A ? A.boxEndIndex : t.collisionBoxArray.length, pe = -1, me = (e, t) => e != null && e.circleDiameter ? Math.max(e.circleDiameter, t) : t;
17680
+ pe = me(D, pe), pe = me(k, pe), pe = me(O, pe), pe = me(A, pe);
17681
+ let he = +(pe > -1);
17682
+ he && (pe *= T / xd), t.glyphOffsetArray.length >= bf.MAX_GLYPHS && ce("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);
17683
+ let ge = Dh(c, x, w), [_e, ve] = function(t, n) {
17684
17684
  let r = t.length, i = n == null ? void 0 : n.values;
17685
17685
  if ((i == null ? void 0 : i.length) > 0) for (let n = 0; n < i.length; n += 2) {
17686
17686
  let r = i[n + 1];
17687
17687
  t.emplaceBack(e.aM[i[n]], r[0], r[1]);
17688
17688
  }
17689
17689
  return [r, t.length];
17690
- }(t.textAnchorOffsets, he);
17691
- t.symbolInstances.emplaceBack(n.x, n.y, F.right >= 0 ? F.right : -1, F.center >= 0 ? F.center : -1, F.left >= 0 ? F.left : -1, F.vertical || -1, P, te, ne, ie, ae, oe, se, le, ue, de, fe, u, N, ee, j, M, me, 0, p, I, ge, _e);
17690
+ }(t.textAnchorOffsets, ge);
17691
+ t.symbolInstances.emplaceBack(n.x, n.y, P.right >= 0 ? P.right : -1, P.center >= 0 ? P.center : -1, P.left >= 0 ? P.left : -1, P.vertical || -1, te, ne, re, ae, oe, se, F, le, ue, de, fe, u, ee, N, j, M, he, 0, p, pe, _e, ve);
17692
17692
  }(t, f, c, r, i, a, j, t.layers[0], t.collisionBoxArray, n.index, n.sourceLayerIndex, t.index, v, [
17693
17693
  S,
17694
17694
  S,
@@ -17698,22 +17698,22 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17698
17698
  };
17699
17699
  if (D === "line") for (let e of eh(n.geometry, 0, 0, O, O)) {
17700
17700
  let n = yl(e, M), a = fh(n, x, w, r.vertical || g, i, 24, y, t.overscaling, O);
17701
- for (let e of a) g && Mh(t, g.text, k, e) || N(n, e);
17701
+ for (let e of a) g && Mh(t, g.text, k, e) || ee(n, e);
17702
17702
  }
17703
17703
  else if (D === "line-center") {
17704
17704
  for (let e of n.geometry) if (e.length > 1) {
17705
17705
  let t = yl(e, M), n = dh(t, w, r.vertical || g, i, 24, y);
17706
- n && N(t, n);
17706
+ n && ee(t, n);
17707
17707
  }
17708
17708
  } else if (n.type === "Polygon") for (let e of or(n.geometry, 0)) {
17709
17709
  let t = xh(e, 16);
17710
- N(yl(e[0], M, !0), new oh(t.x, t.y, 0));
17710
+ ee(yl(e[0], M, !0), new oh(t.x, t.y, 0));
17711
17711
  }
17712
17712
  else if (n.type === "LineString") for (let e of n.geometry) {
17713
17713
  let t = yl(e, M);
17714
- N(t, new oh(t[0].x, t[0].y, 0));
17714
+ ee(t, new oh(t[0].x, t[0].y, 0));
17715
17715
  }
17716
- 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));
17716
+ 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));
17717
17717
  }
17718
17718
  function Ah(e, t, r, i, a, o, s, c, l, u, d, f, p, m, h) {
17719
17719
  let g = function(e, t, r, i, a, o, s, c) {
@@ -17776,7 +17776,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17776
17776
  } else i[t] = [];
17777
17777
  return i[t].push(r), !1;
17778
17778
  }
17779
- e.$ = Ce, e.A = f, e.B = Ra, e.C = pa, e.D = Z, e.E = Ie, e.F = ca, e.G = function([e, t, n]) {
17779
+ e.$ = we, e.A = f, e.B = Ra, e.C = pa, e.D = Z, e.E = Le, e.F = ca, e.G = function([e, t, n]) {
17780
17780
  return t += 90, t *= Math.PI / 180, n *= Math.PI / 180, {
17781
17781
  x: e * Math.cos(t) * Math.sin(n),
17782
17782
  y: e * Math.sin(t) * Math.sin(n),
@@ -17788,9 +17788,9 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17788
17788
  de = !!e.safari || !(!t || !(/\b(iPad|iPhone|iPod)\b/.test(t) || t.match("Safari") && !t.match("Chrome")));
17789
17789
  }
17790
17790
  return de;
17791
- }, e.M = De, e.N = class {
17791
+ }, e.M = Oe, e.N = class {
17792
17792
  constructor(e, t) {
17793
- this.target = e, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new Af((() => this.process())), this.subscription = ge(this.target, "message", ((e) => this.receive(e)), !1), this.globalScope = ue(self) ? e : window;
17793
+ 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 = ue(self) ? e : window;
17794
17794
  }
17795
17795
  registerMessageHandler(e, t) {
17796
17796
  this.messageHandlers[e] = t;
@@ -17800,7 +17800,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17800
17800
  }
17801
17801
  sendAsync(e, t) {
17802
17802
  return new Promise(((n, r) => {
17803
- let i = Math.round(0xde0b6b3a7640000 * Math.random()).toString(36).substring(0, 10), a = t ? ge(t.signal, "abort", (() => {
17803
+ let i = Math.round(0xde0b6b3a7640000 * Math.random()).toString(36).substring(0, 10), a = t ? _e(t.signal, "abort", (() => {
17804
17804
  a == null || a.unsubscribe(), delete this.resolveRejects[i];
17805
17805
  let t = {
17806
17806
  id: i,
@@ -17901,10 +17901,10 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17901
17901
  let n = {};
17902
17902
  for (let r of t) r in e && (n[r] = e[r]);
17903
17903
  return n;
17904
- }, e.W = Nf, e.X = F, e.Y = Lf, e.Z = If, e._ = t, e.a = Se, e.a$ = function(e) {
17904
+ }, e.W = Nf, e.X = P, e.Y = Lf, e.Z = If, e._ = t, e.a = Ce, e.a$ = function(e) {
17905
17905
  var t = new f(3);
17906
17906
  return t[0] = e[0], t[1] = e[1], t[2] = e[2], t;
17907
- }, e.a0 = l, e.a1 = u, e.a2 = pe, 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) {
17907
+ }, 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) {
17908
17908
  var t = e[0], n = e[1];
17909
17909
  return Math.sqrt(t * t + n * n);
17910
17910
  }, e.aB = function(e) {
@@ -17933,7 +17933,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17933
17933
  n = [n[0] * t - n[1] * e, n[0] * e + n[1] * t];
17934
17934
  }
17935
17935
  return [i ? n[0] : k(t, n[0], e.zoom), i ? n[1] : k(t, n[1], e.zoom)];
17936
- }, 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 = ve, e.aY = Vf, e.aZ = y, e.a_ = v, e.aa = Wf, e.ab = (e) => {
17936
+ }, 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) => {
17937
17937
  let t = window.document.createElement("video");
17938
17938
  return t.muted = !0, new Promise(((n) => {
17939
17939
  t.onloadstart = () => {
@@ -17941,11 +17941,11 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17941
17941
  };
17942
17942
  for (let n of e) {
17943
17943
  let e = window.document.createElement("source");
17944
- je(n) || (t.crossOrigin = "Anonymous"), e.src = n, t.appendChild(e);
17944
+ Me(n) || (t.crossOrigin = "Anonymous"), e.src = n, t.appendChild(e);
17945
17945
  }
17946
17946
  }));
17947
17947
  }, e.ac = z, e.ad = function() {
17948
- return re++;
17948
+ return ie++;
17949
17949
  }, e.ae = Po, e.af = bf, e.ag = Um, e.ah = _i, e.ai = Hs, e.aj = Xf, e.ak = function(e) {
17950
17950
  let t = {};
17951
17951
  if (e.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g, ((e, n, r, i) => {
@@ -17956,7 +17956,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
17956
17956
  isNaN(e) ? delete t["max-age"] : t["max-age"] = e;
17957
17957
  }
17958
17958
  return t;
17959
- }, e.al = te, e.am = 85.051129, e.an = _e, e.ao = function(e) {
17959
+ }, e.al = ne, e.am = 85.051129, e.an = ve, e.ao = function(e) {
17960
17960
  return 2 ** e;
17961
17961
  }, e.ap = m, e.aq = Rf, e.ar = function(e) {
17962
17962
  return Math.log(e) / Math.LN2;
@@ -18041,7 +18041,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18041
18041
  let n = 0, r = 0;
18042
18042
  if (e.kind === "constant") r = e.layoutSize;
18043
18043
  else if (e.kind !== "source") {
18044
- let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ? te(yn.interpolationFactor(i, t, a, o), 0, 1) : 0;
18044
+ let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ? ne(yn.interpolationFactor(i, t, a, o), 0, 1) : 0;
18045
18045
  e.kind === "camera" ? r = xn.number(e.minSize, e.maxSize, s) : n = s;
18046
18046
  }
18047
18047
  return {
@@ -18137,16 +18137,16 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18137
18137
  let n = j(e, 2 * Math.PI), r = j(t, 2 * Math.PI);
18138
18138
  return Math.min(Math.abs(n - r), Math.abs(n - r + 2 * Math.PI), Math.abs(n - r - 2 * Math.PI));
18139
18139
  }, e.bN = function() {
18140
- let e = {}, t = R.$version;
18141
- for (let n in R.$root) {
18142
- let r = R.$root[n];
18140
+ let e = {}, t = I.$version;
18141
+ for (let n in I.$root) {
18142
+ let r = I.$root[n];
18143
18143
  if (r.required) {
18144
18144
  let i = null;
18145
18145
  i = n === "version" ? t : r.type === "array" ? [] : {}, i != null && (e[n] = i);
18146
18146
  }
18147
18147
  }
18148
18148
  return e;
18149
- }, e.bO = ke, e.bP = xa, e.bQ = function e(t, n) {
18149
+ }, e.bO = Ae, e.bP = xa, e.bQ = function e(t, n) {
18150
18150
  if (Array.isArray(t)) {
18151
18151
  if (!Array.isArray(n) || t.length !== n.length) return !1;
18152
18152
  for (let r = 0; r < t.length; r++) if (!e(t[r], n[r])) return !1;
@@ -18158,11 +18158,11 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18158
18158
  return !0;
18159
18159
  }
18160
18160
  return t === n;
18161
- }, e.bR = we, e.bS = function(e) {
18161
+ }, e.bR = Te, e.bS = function(e) {
18162
18162
  e = e.slice();
18163
18163
  let t = Object.create(null);
18164
18164
  for (let n = 0; n < e.length; n++) t[e[n].id] = e[n];
18165
- for (let n = 0; n < e.length; n++) "ref" in e[n] && (e[n] = Re(e[n], t[e[n].ref]));
18165
+ for (let n = 0; n < e.length; n++) "ref" in e[n] && (e[n] = ze(e[n], t[e[n].ref]));
18166
18166
  return e;
18167
18167
  }, e.bT = function(e, t) {
18168
18168
  if (e.type === "custom") return new kf(e, t);
@@ -18178,57 +18178,57 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18178
18178
  case "raster": return new no(e, t);
18179
18179
  case "symbol": return new Tf(e, t);
18180
18180
  }
18181
- }, e.bU = (e) => e.type === "raster", e.bV = oe, e.bW = function(e, t) {
18181
+ }, e.bU = (e) => e.type === "raster", e.bV = se, e.bW = function(e, t) {
18182
18182
  if (!e) return [{
18183
18183
  command: "setStyle",
18184
18184
  args: [t]
18185
18185
  }];
18186
18186
  let n = [];
18187
18187
  try {
18188
- if (!ze(e.version, t.version)) return [{
18188
+ if (!R(e.version, t.version)) return [{
18189
18189
  command: "setStyle",
18190
18190
  args: [t]
18191
18191
  }];
18192
- ze(e.center, t.center) || n.push({
18192
+ R(e.center, t.center) || n.push({
18193
18193
  command: "setCenter",
18194
18194
  args: [t.center]
18195
- }), ze(e.state, t.state) || n.push({
18195
+ }), R(e.state, t.state) || n.push({
18196
18196
  command: "setGlobalState",
18197
18197
  args: [t.state]
18198
- }), ze(e.centerAltitude, t.centerAltitude) || n.push({
18198
+ }), R(e.centerAltitude, t.centerAltitude) || n.push({
18199
18199
  command: "setCenterAltitude",
18200
18200
  args: [t.centerAltitude]
18201
- }), ze(e.zoom, t.zoom) || n.push({
18201
+ }), R(e.zoom, t.zoom) || n.push({
18202
18202
  command: "setZoom",
18203
18203
  args: [t.zoom]
18204
- }), ze(e.bearing, t.bearing) || n.push({
18204
+ }), R(e.bearing, t.bearing) || n.push({
18205
18205
  command: "setBearing",
18206
18206
  args: [t.bearing]
18207
- }), ze(e.pitch, t.pitch) || n.push({
18207
+ }), R(e.pitch, t.pitch) || n.push({
18208
18208
  command: "setPitch",
18209
18209
  args: [t.pitch]
18210
- }), ze(e.roll, t.roll) || n.push({
18210
+ }), R(e.roll, t.roll) || n.push({
18211
18211
  command: "setRoll",
18212
18212
  args: [t.roll]
18213
- }), ze(e.sprite, t.sprite) || n.push({
18213
+ }), R(e.sprite, t.sprite) || n.push({
18214
18214
  command: "setSprite",
18215
18215
  args: [t.sprite]
18216
- }), ze(e.glyphs, t.glyphs) || n.push({
18216
+ }), R(e.glyphs, t.glyphs) || n.push({
18217
18217
  command: "setGlyphs",
18218
18218
  args: [t.glyphs]
18219
- }), ze(e.transition, t.transition) || n.push({
18219
+ }), R(e.transition, t.transition) || n.push({
18220
18220
  command: "setTransition",
18221
18221
  args: [t.transition]
18222
- }), ze(e.light, t.light) || n.push({
18222
+ }), R(e.light, t.light) || n.push({
18223
18223
  command: "setLight",
18224
18224
  args: [t.light]
18225
- }), ze(e.terrain, t.terrain) || n.push({
18225
+ }), R(e.terrain, t.terrain) || n.push({
18226
18226
  command: "setTerrain",
18227
18227
  args: [t.terrain]
18228
- }), ze(e.sky, t.sky) || n.push({
18228
+ }), R(e.sky, t.sky) || n.push({
18229
18229
  command: "setSky",
18230
18230
  args: [t.sky]
18231
- }), ze(e.projection, t.projection) || n.push({
18231
+ }), R(e.projection, t.projection) || n.push({
18232
18232
  command: "setProjection",
18233
18233
  args: [t.projection]
18234
18234
  });
@@ -18236,7 +18236,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18236
18236
  (function(e, t, n, r) {
18237
18237
  let i;
18238
18238
  for (i in t = t || {}, e = e || {}) Object.prototype.hasOwnProperty.call(e, i) && (Object.prototype.hasOwnProperty.call(t, i) || He(i, n, r));
18239
- 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, {
18239
+ 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, {
18240
18240
  command: "setGeoJSONSourceData",
18241
18241
  args: [i, t[i].data]
18242
18242
  }) : Ue(i, t, n, r)) : Ve(i, t, n));
@@ -18261,18 +18261,18 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18261
18261
  command: "addLayer",
18262
18262
  args: [o[l], f]
18263
18263
  }), s.splice(s.length - e, 0, l), c[l] = !0);
18264
- 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)) {
18265
- 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, {
18264
+ 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)) {
18265
+ 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, {
18266
18266
  command: "setFilter",
18267
18267
  args: [l, d.filter]
18268
- }), ze(u.minzoom, d.minzoom) && ze(u.maxzoom, d.maxzoom) || Be(n, {
18268
+ }), R(u.minzoom, d.minzoom) && R(u.maxzoom, d.maxzoom) || Be(n, {
18269
18269
  command: "setLayerZoomRange",
18270
18270
  args: [
18271
18271
  l,
18272
18272
  d.minzoom,
18273
18273
  d.maxzoom
18274
18274
  ]
18275
- }), 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, {
18275
+ }), 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, {
18276
18276
  command: "setLayerProperty",
18277
18277
  args: [
18278
18278
  l,
@@ -18280,7 +18280,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18280
18280
  d[p]
18281
18281
  ]
18282
18282
  }));
18283
- 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, {
18283
+ 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, {
18284
18284
  command: "setLayerProperty",
18285
18285
  args: [
18286
18286
  l,
@@ -18306,7 +18306,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18306
18306
  }, e.bX = function(e) {
18307
18307
  let t = [], n = e.id;
18308
18308
  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;
18309
- }, e.bY = ie, e.bZ = ae, e.b_ = class extends Ss {
18309
+ }, e.bY = ae, e.bZ = oe, e.b_ = class extends Ss {
18310
18310
  constructor(e, t) {
18311
18311
  super(e, t), this.current = 0;
18312
18312
  }
@@ -18350,21 +18350,21 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18350
18350
  let t = new Float64Array(9);
18351
18351
  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);
18352
18352
  (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;
18353
- let b = ve(-Math.asin(te(t[2], -1, 1))), x, S;
18354
- return Math.hypot(t[5], t[8]) < .001 ? (x = 0, S = -ve(Math.atan2(t[3], t[4]))) : (x = ve(t[5] === 0 && t[8] === 0 ? 0 : Math.atan2(t[5], t[8])), S = ve(t[1] === 0 && t[0] === 0 ? 0 : Math.atan2(t[1], t[0]))), {
18353
+ let b = ye(-Math.asin(ne(t[2], -1, 1))), x, S;
18354
+ 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]))), {
18355
18355
  roll: x,
18356
18356
  pitch: b + 90,
18357
18357
  bearing: S
18358
18358
  };
18359
18359
  }, e.bn = function(e, t) {
18360
18360
  return e.roll == t.roll && e.pitch == t.pitch && e.bearing == t.bearing;
18361
- }, 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) {
18362
- return M(r, i, te((e - t) / (n - t), 0, 1));
18361
+ }, 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) {
18362
+ return M(r, i, ne((e - t) / (n - t), 0, 1));
18363
18363
  }, e.bx = function(e, t, n, r) {
18364
18364
  return e[0] = t[0] + n[0] * r, e[1] = t[1] + n[1] * r, e[2] = t[2] + n[2] * r, e;
18365
18365
  }, e.by = j, e.bz = function() {
18366
18366
  return new Float64Array(3);
18367
- }, e.c = Te, e.c$ = si, e.c0 = class extends Ss {
18367
+ }, e.c = Ee, e.c$ = si, e.c0 = class extends Ss {
18368
18368
  constructor(e, t) {
18369
18369
  super(e, t), this.current = Es;
18370
18370
  }
@@ -18426,9 +18426,9 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18426
18426
  }
18427
18427
  }
18428
18428
  }, e.cA = function(e, t) {
18429
- return ye[t] && "touches" in e;
18429
+ return be[t] && "touches" in e;
18430
18430
  }, e.cB = function(e) {
18431
- return ye[e] || be[e];
18431
+ return be[e] || xe[e];
18432
18432
  }, e.cC = function(e, t, n) {
18433
18433
  var r = t[0], i = t[1];
18434
18434
  return e[0] = n[0] * r + n[4] * i + n[12], e[1] = n[1] * r + n[5] * i + n[13], e;
@@ -18437,10 +18437,10 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18437
18437
  return !(e < 0 || e > 25 || r < 0 || r >= 1 || n < 0 || n >= 1);
18438
18438
  }, e.cE = function(e, t) {
18439
18439
  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;
18440
- }, e.cF = class extends lo {}, e.cG = Oe, e.cH = function(e, t) {
18441
- Te.REGISTERED_PROTOCOLS[e] = t;
18440
+ }, e.cF = class extends lo {}, e.cG = ke, e.cH = function(e, t) {
18441
+ Ee.REGISTERED_PROTOCOLS[e] = t;
18442
18442
  }, e.cI = function(e) {
18443
- delete Te.REGISTERED_PROTOCOLS[e];
18443
+ delete Ee.REGISTERED_PROTOCOLS[e];
18444
18444
  }, e.cJ = function(e, t) {
18445
18445
  let n = {};
18446
18446
  for (let r = 0; r < e.length; r++) {
@@ -18539,13 +18539,13 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18539
18539
  }, e.cV = Ll, e.cW = Pd, e.cX = Vm, e.cY = function(e, n, r, i, a) {
18540
18540
  return t(this, void 0, void 0, (function* () {
18541
18541
  if (u()) try {
18542
- return yield pe(e, n, r, i, a);
18542
+ return yield me(e, n, r, i, a);
18543
18543
  } catch {}
18544
18544
  return function(e, t, n, r, i) {
18545
18545
  let a = e.width, o = e.height;
18546
- me && he || (me = new OffscreenCanvas(a, o), he = me.getContext("2d", { willReadFrequently: !0 })), me.width = a, me.height = o, he.drawImage(e, 0, 0, a, o);
18547
- let s = he.getImageData(t, n, r, i);
18548
- return he.clearRect(0, 0, a, o), s.data;
18546
+ 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);
18547
+ let s = ge.getImageData(t, n, r, i);
18548
+ return ge.clearRect(0, 0, a, o), s.data;
18549
18549
  }(e, n, r, i, a);
18550
18550
  }));
18551
18551
  }, e.cZ = Ic, e.c_ = class {
@@ -18563,21 +18563,21 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18563
18563
  }, e.ch = class extends uo {}, e.ci = class extends jo {}, e.cj = function(e, t) {
18564
18564
  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];
18565
18565
  }, e.ck = function(e, t) {
18566
- 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];
18567
- 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));
18566
+ 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], N = t[15];
18567
+ 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 - N) <= d * Math.max(1, Math.abs(v), Math.abs(N));
18568
18568
  }, e.cl = function(e, t) {
18569
18569
  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;
18570
- }, 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) {
18570
+ }, 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 = N, e.cw = function(e, t, n) {
18571
18571
  if (t <= 0) return e;
18572
18572
  let r = 1 / t;
18573
18573
  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;
18574
18574
  }, e.cx = function(e, t, n) {
18575
18575
  let r = D(t.x - n.x, t.y - n.y), i = D(e.x - n.x, e.y - n.y);
18576
18576
  var a, o;
18577
- return ve(Math.atan2(r[0] * i[1] - r[1] * i[0], (a = r)[0] * (o = i)[0] + a[1] * o[1]));
18578
- }, e.cy = P, e.cz = function(e, t) {
18577
+ return ye(Math.atan2(r[0] * i[1] - r[1] * i[0], (a = r)[0] * (o = i)[0] + a[1] * o[1]));
18578
+ }, e.cy = te, e.cz = function(e, t) {
18579
18579
  var n;
18580
- if (!be[t]) return !1;
18580
+ if (!xe[t]) return !1;
18581
18581
  let r = e == null ? void 0 : e.target, i = ((n = r == null ? void 0 : r.ownerDocument) == null ? void 0 : n.defaultView) || window;
18582
18582
  return e instanceof i.MouseEvent || e instanceof i.WheelEvent;
18583
18583
  }, e.d = A, e.d0 = class {
@@ -18673,7 +18673,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18673
18673
  getClusterLeaves(e, t, n) {
18674
18674
  return this.tileIndex.getLeaves(e, t, n);
18675
18675
  }
18676
- }, e.d1 = Fa, e.e = ne, e.f = je, e.g = Ee, e.h = (e) => t(void 0, void 0, void 0, (function* () {
18676
+ }, e.d1 = Fa, e.e = re, e.f = Me, e.g = De, e.h = (e) => t(void 0, void 0, void 0, (function* () {
18677
18677
  if (e.byteLength === 0) return createImageBitmap(new ImageData(1, 1));
18678
18678
  let t = new Blob([new Uint8Array(e)], { type: "image/png" });
18679
18679
  try {
@@ -18684,15 +18684,15 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
18684
18684
  })), e.i = ue, e.j = (e) => new Promise(((t, n) => {
18685
18685
  let r = new Image();
18686
18686
  r.onload = () => {
18687
- t(r), URL.revokeObjectURL(r.src), r.onload = null, window.requestAnimationFrame((() => r.src = I));
18687
+ t(r), URL.revokeObjectURL(r.src), r.onload = null, window.requestAnimationFrame((() => r.src = pe));
18688
18688
  }, 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."));
18689
18689
  let i = new Blob([new Uint8Array(e)], { type: "image/png" });
18690
- r.src = e.byteLength ? URL.createObjectURL(i) : I;
18691
- })), e.k = (e, t) => Ae(ne(e, { type: "json" }), t), e.l = Fe, e.m = Ae, e.n = Pe, e.o = (e, t) => Ae(ne(e, { type: "arrayBuffer" }), t), e.p = Yd, e.q = function(e) {
18690
+ r.src = e.byteLength ? URL.createObjectURL(i) : pe;
18691
+ })), e.k = (e, t) => je(re(e, { type: "json" }), t), e.l = Ie, e.m = je, e.n = Fe, e.o = (e, t) => je(re(e, { type: "arrayBuffer" }), t), e.p = Yd, e.q = function(e) {
18692
18692
  return new Pd(e).readFields(Kd, []);
18693
18693
  }, e.r = function(e) {
18694
18694
  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));
18695
- }, e.s = ge, e.t = Cc, e.u = Xa, e.v = sa, e.w = ce, e.x = R, e.y = Va, e.z = la;
18695
+ }, e.s = _e, e.t = Cc, e.u = Xa, e.v = sa, e.w = ce, e.x = I, e.y = Va, e.z = la;
18696
18696
  })), n("worker", ["./shared"], (function(e) {
18697
18697
  class t {
18698
18698
  constructor(e, t) {
@@ -20236,12 +20236,12 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20236
20236
  return Object.keys(this.active).length;
20237
20237
  }
20238
20238
  }
20239
- let M = Math.floor(s.hardwareConcurrency / 2), N, ee;
20240
- function P() {
20241
- return N || (N = new j()), N;
20239
+ let M = Math.floor(s.hardwareConcurrency / 2), ee, N;
20240
+ function te() {
20241
+ return ee || (ee = new j()), ee;
20242
20242
  }
20243
20243
  j.workerCount = t.L(globalThis) ? Math.max(Math.min(M, 3), 1) : 1;
20244
- class te {
20244
+ class ne {
20245
20245
  constructor(e, n) {
20246
20246
  this.workerPool = e, this.actors = [], this.currentActor = 0, this.id = n;
20247
20247
  let r = this.workerPool.acquire(n);
@@ -20273,10 +20273,10 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20273
20273
  for (let t of this.actors) t.unregisterMessageHandler(e);
20274
20274
  }
20275
20275
  }
20276
- function F() {
20277
- return ee || (ee = new te(P(), t.M), ee.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), ee;
20276
+ function P() {
20277
+ return N || (N = new ne(te(), t.M), N.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), N;
20278
20278
  }
20279
- function ne(e, n) {
20279
+ function re(e, n) {
20280
20280
  let r = t.O();
20281
20281
  return t.Q(r, r, [
20282
20282
  1,
@@ -20288,7 +20288,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20288
20288
  1
20289
20289
  ]), e.calculatePosMatrix ? t.U(r, r, e.calculatePosMatrix(n.toUnwrapped())) : r;
20290
20290
  }
20291
- function re(e, t, n, r, i, a, o) {
20291
+ function ie(e, t, n, r, i, a, o) {
20292
20292
  var s;
20293
20293
  let c = function(e, t, n) {
20294
20294
  if (e) for (let r of e) {
@@ -20301,14 +20301,14 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20301
20301
  }
20302
20302
  return !1;
20303
20303
  }((s = i == null ? void 0 : i.layers) == null ? null : s, t, e.id), l = a.maxPitchScaleFactor(), u = e.tilesIn(r, l, c);
20304
- u.sort(ie);
20304
+ u.sort(ae);
20305
20305
  let d = [];
20306
20306
  for (let r of u) d.push({
20307
20307
  wrappedTileID: r.tileID.wrapped().key,
20308
- queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l, ne(a, r.tileID), o ? (e, t) => o(r.tileID, e, t) : void 0)
20308
+ queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l, re(a, r.tileID), o ? (e, t) => o(r.tileID, e, t) : void 0)
20309
20309
  });
20310
20310
  return function(e, t) {
20311
- for (let n in e) for (let r of e[n]) ae(r, t);
20311
+ for (let n in e) for (let r of e[n]) oe(r, t);
20312
20312
  return e;
20313
20313
  }(function(e) {
20314
20314
  let t = {}, n = {};
@@ -20326,15 +20326,15 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20326
20326
  return t;
20327
20327
  }(d), e);
20328
20328
  }
20329
- function ie(e, t) {
20329
+ function ae(e, t) {
20330
20330
  let n = e.tileID, r = t.tileID;
20331
20331
  return n.overscaledZ - r.overscaledZ || n.canonical.y - r.canonical.y || n.wrap - r.wrap || n.canonical.x - r.canonical.x;
20332
20332
  }
20333
- function ae(e, t) {
20333
+ function oe(e, t) {
20334
20334
  let n = e.feature, r = t.getFeatureState(n.layer["source-layer"], n.id);
20335
20335
  n.source = n.layer.source, n.layer["source-layer"] && (n.sourceLayer = n.layer["source-layer"]), n.state = r;
20336
20336
  }
20337
- function oe(e, n, r, i) {
20337
+ function se(e, n, r, i) {
20338
20338
  return t._(this, void 0, void 0, (function* () {
20339
20339
  let a = e;
20340
20340
  if (e.url ? a = (yield t.k(yield n.transformRequest(e.url, "Source"), r)).data : yield s.frameAsync(r, i), !a) return null;
@@ -20351,7 +20351,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20351
20351
  return "vector_layers" in a && a.vector_layers && (o.vectorLayerIds = a.vector_layers.map(((e) => e.id))), o;
20352
20352
  }));
20353
20353
  }
20354
- class se {
20354
+ class F {
20355
20355
  constructor(e, t) {
20356
20356
  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])));
20357
20357
  }
@@ -20365,7 +20365,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20365
20365
  let n = this._sw, r = this._ne, i, a;
20366
20366
  if (e instanceof t.W) i = e, a = e;
20367
20367
  else {
20368
- if (!(e instanceof se)) return Array.isArray(e) ? e.length === 4 || e.every(Array.isArray) ? this.extend(se.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;
20368
+ if (!(e instanceof F)) return Array.isArray(e) ? e.length === 4 || e.every(Array.isArray) ? this.extend(F.convert(e)) : this.extend(t.W.convert(e)) : e && ("lng" in e || "lon" in e) && "lat" in e ? this.extend(t.W.convert(e)) : this;
20369
20369
  if (i = e._sw, a = e._ne, !i || !a) return this;
20370
20370
  }
20371
20371
  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;
@@ -20411,27 +20411,27 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20411
20411
  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;
20412
20412
  }
20413
20413
  intersects(e) {
20414
- if (!((e = se.convert(e)).getNorth() >= this.getSouth() && e.getSouth() <= this.getNorth())) return !1;
20414
+ if (!((e = F.convert(e)).getNorth() >= this.getSouth() && e.getSouth() <= this.getNorth())) return !1;
20415
20415
  let n = Math.abs(this.getEast() - this.getWest()), r = Math.abs(e.getEast() - e.getWest());
20416
20416
  if (n >= 360 || r >= 360) return !0;
20417
20417
  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;
20418
20418
  return !(!c || !l) || (c ? s >= i || o <= a : l ? a >= o || i <= s : o <= a && s >= i);
20419
20419
  }
20420
20420
  static convert(e) {
20421
- return e instanceof se ? e : e && new se(e);
20421
+ return e instanceof F ? e : e && new F(e);
20422
20422
  }
20423
20423
  static fromLngLat(e, n = 0) {
20424
20424
  let r = 360 * n / 40075017, i = r / Math.cos(Math.PI / 180 * e.lat);
20425
- return new se(new t.W(e.lng - i, e.lat - r), new t.W(e.lng + i, e.lat + r));
20425
+ return new F(new t.W(e.lng - i, e.lat - r), new t.W(e.lng + i, e.lat + r));
20426
20426
  }
20427
20427
  adjustAntiMeridian() {
20428
20428
  let e = new t.W(this._sw.lng, this._sw.lat), n = new t.W(this._ne.lng, this._ne.lat);
20429
- return new se(e, e.lng > n.lng ? new t.W(n.lng + 360, n.lat) : n);
20429
+ return new F(e, e.lng > n.lng ? new t.W(n.lng + 360, n.lat) : n);
20430
20430
  }
20431
20431
  }
20432
20432
  class ce {
20433
20433
  constructor(e, t, n) {
20434
- this.bounds = se.convert(this.validateBounds(e)), this.minzoom = t || 0, this.maxzoom = n || 24;
20434
+ this.bounds = F.convert(this.validateBounds(e)), this.minzoom = t || 0, this.maxzoom = n || 24;
20435
20435
  }
20436
20436
  validateBounds(e) {
20437
20437
  return Array.isArray(e) && e.length === 4 ? [
@@ -20466,7 +20466,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20466
20466
  return t._(this, arguments, void 0, (function* (e = !1) {
20467
20467
  this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
20468
20468
  try {
20469
- let n = yield oe(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20469
+ let n = yield se(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20470
20470
  this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new ce(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
20471
20471
  dataType: "source",
20472
20472
  sourceDataType: "metadata"
@@ -20609,7 +20609,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20609
20609
  return t._(this, arguments, void 0, (function* (e = !1) {
20610
20610
  this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
20611
20611
  try {
20612
- let n = yield oe(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20612
+ let n = yield se(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20613
20613
  this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new ce(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
20614
20614
  dataType: "source",
20615
20615
  sourceDataType: "metadata"
@@ -20760,7 +20760,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20760
20760
  function fe(e, t) {
20761
20761
  return t ? e.properties[t] : e.id;
20762
20762
  }
20763
- function I(e, t) {
20763
+ function pe(e, t) {
20764
20764
  let n = { id: e.id };
20765
20765
  if (t.removeAllProperties && (delete e.removeProperties, delete e.addOrUpdateProperties, delete t.removeProperties), t.removeProperties) for (let n of t.removeProperties) {
20766
20766
  let t = e.addOrUpdateProperties.findIndex(((e) => e.key === n));
@@ -20768,28 +20768,28 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20768
20768
  }
20769
20769
  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;
20770
20770
  }
20771
- function pe(e) {
20771
+ function me(e) {
20772
20772
  var t, n;
20773
20773
  if (!e) return {};
20774
20774
  let r = {};
20775
20775
  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;
20776
20776
  }
20777
- function me(e) {
20778
- return e && e.length !== 0 ? typeof e[0] == "number" ? [e] : e.flatMap(((e) => me(e))) : [];
20779
- }
20780
20777
  function he(e) {
20781
- return e.type === "GeometryCollection" ? e.geometries.flatMap(((e) => he(e))) : me(e.coordinates);
20778
+ return e && e.length !== 0 ? typeof e[0] == "number" ? [e] : e.flatMap(((e) => he(e))) : [];
20782
20779
  }
20783
20780
  function ge(e) {
20784
- let t = new se(), n;
20781
+ return e.type === "GeometryCollection" ? e.geometries.flatMap(((e) => ge(e))) : he(e.coordinates);
20782
+ }
20783
+ function _e(e) {
20784
+ let t = new F(), n;
20785
20785
  switch (e.type) {
20786
20786
  case "FeatureCollection":
20787
- n = e.features.flatMap(((e) => he(e.geometry)));
20787
+ n = e.features.flatMap(((e) => ge(e.geometry)));
20788
20788
  break;
20789
20789
  case "Feature":
20790
- n = he(e.geometry);
20790
+ n = ge(e.geometry);
20791
20791
  break;
20792
- default: n = he(e);
20792
+ default: n = ge(e);
20793
20793
  }
20794
20794
  if (n.length === 0) return t;
20795
20795
  for (let e of n) {
@@ -20798,7 +20798,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20798
20798
  }
20799
20799
  return t;
20800
20800
  }
20801
- class _e extends t.E {
20801
+ class ve extends t.E {
20802
20802
  constructor(e, n, r, i) {
20803
20803
  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({
20804
20804
  source: this.id,
@@ -20851,13 +20851,13 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20851
20851
  this._pendingWorkerUpdate.diff = function(e, t) {
20852
20852
  if (!e) return t || {};
20853
20853
  if (!t) return e || {};
20854
- let n = pe(e), r = pe(t);
20854
+ let n = me(e), r = me(t);
20855
20855
  (function(e, t) {
20856
20856
  t.removeAll && (e.add.clear(), e.update.clear(), e.remove.clear(), t.remove.clear());
20857
20857
  for (let n of t.remove) e.add.delete(n), e.update.delete(n);
20858
20858
  for (let [n, r] of t.update) {
20859
20859
  let i = e.update.get(n);
20860
- i && (t.update.set(n, I(i, r)), e.update.delete(n));
20860
+ i && (t.update.set(n, pe(i, r)), e.update.delete(n));
20861
20861
  }
20862
20862
  })(n, r);
20863
20863
  let i = {};
@@ -20880,7 +20880,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
20880
20880
  }
20881
20881
  getBounds() {
20882
20882
  return t._(this, void 0, void 0, (function* () {
20883
- return ge(yield this.getData());
20883
+ return _e(yield this.getData());
20884
20884
  }));
20885
20885
  }
20886
20886
  setClusterOptions(e) {
@@ -21019,14 +21019,14 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21019
21019
  return e.removeAll || this._options.cluster ? void 0 : n;
21020
21020
  }
21021
21021
  _getShouldReloadTileOptions(e) {
21022
- if (e) return { affectedBounds: e.filter(Boolean).map(((e) => ge(e))) };
21022
+ if (e) return { affectedBounds: e.filter(Boolean).map(((e) => _e(e))) };
21023
21023
  }
21024
21024
  shouldReloadTile(e, { affectedBounds: n }) {
21025
21025
  if (e.state === "loading") return !0;
21026
21026
  if (e.state === "unloaded") return !1;
21027
21027
  let { buffer: r, extent: i } = this.workerOptions.geojsonVtOptions, a = function({ x: e, y: n, z: r }, i = 0) {
21028
21028
  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);
21029
- return new se([a, o], [s, c]);
21029
+ return new F([a, o], [s, c]);
21030
21030
  }(e.tileID.canonical, r / i);
21031
21031
  for (let e of n) if (a.intersects(e)) return !0;
21032
21032
  return !1;
@@ -21098,7 +21098,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21098
21098
  return !1;
21099
21099
  }
21100
21100
  }
21101
- class ve extends t.E {
21101
+ class ye extends t.E {
21102
21102
  constructor(e, t, n, r) {
21103
21103
  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;
21104
21104
  }
@@ -21190,7 +21190,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21190
21190
  return o;
21191
21191
  }
21192
21192
  }
21193
- class ye extends ve {
21193
+ class be extends ye {
21194
21194
  constructor(e, t, n, r) {
21195
21195
  super(e, t, n, r), this._onPlayingHandler = () => {
21196
21196
  var e;
@@ -21259,7 +21259,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21259
21259
  return this.video && !this.video.paused;
21260
21260
  }
21261
21261
  }
21262
- class be extends ve {
21262
+ class xe extends ye {
21263
21263
  constructor(e, n, r, i) {
21264
21264
  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;
21265
21265
  }
@@ -21313,21 +21313,21 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21313
21313
  return !1;
21314
21314
  }
21315
21315
  }
21316
- let xe = {}, Se = (e) => {
21316
+ let Se = {}, Ce = (e) => {
21317
21317
  switch (e) {
21318
- case "geojson": return _e;
21319
- case "image": return ve;
21318
+ case "geojson": return ve;
21319
+ case "image": return ye;
21320
21320
  case "raster": return ue;
21321
21321
  case "raster-dem": return de;
21322
21322
  case "vector": return le;
21323
- case "video": return ye;
21324
- case "canvas": return be;
21323
+ case "video": return be;
21324
+ case "canvas": return xe;
21325
21325
  }
21326
- return xe[e];
21327
- }, Ce = "RTLPluginLoaded";
21328
- class we extends t.E {
21326
+ return Se[e];
21327
+ }, we = "RTLPluginLoaded";
21328
+ class Te extends t.E {
21329
21329
  constructor() {
21330
- super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = F();
21330
+ super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = P();
21331
21331
  }
21332
21332
  _syncState(e) {
21333
21333
  return this.status = e, this.dispatcher.broadcast("SRPS", {
@@ -21355,24 +21355,24 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21355
21355
  }
21356
21356
  _requestImport() {
21357
21357
  return t._(this, void 0, void 0, (function* () {
21358
- yield this._syncState("loading"), this.status = "loaded", this.fire(new t.n(Ce));
21358
+ yield this._syncState("loading"), this.status = "loaded", this.fire(new t.n(we));
21359
21359
  }));
21360
21360
  }
21361
21361
  lazyLoad() {
21362
21362
  this.status === "unavailable" ? this.status = "requested" : this.status === "deferred" && this._requestImport();
21363
21363
  }
21364
21364
  }
21365
- let Te = null;
21366
- function Ee() {
21367
- return Te || (Te = new we()), Te;
21365
+ let Ee = null;
21366
+ function De() {
21367
+ return Ee || (Ee = new Te()), Ee;
21368
21368
  }
21369
- var De, Oe;
21369
+ var Oe, ke;
21370
21370
  (function(e) {
21371
21371
  e[e.Base = 0] = "Base", e[e.Parent = 1] = "Parent";
21372
- })(De || (De = {})), function(e) {
21372
+ })(Oe || (Oe = {})), function(e) {
21373
21373
  e[e.Departing = 0] = "Departing", e[e.Incoming = 1] = "Incoming";
21374
- }(Oe || (Oe = {}));
21375
- class ke {
21374
+ }(ke || (ke = {}));
21375
+ class Ae {
21376
21376
  constructor(e, n) {
21377
21377
  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";
21378
21378
  }
@@ -21418,7 +21418,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21418
21418
  if (this.hasRTLText = !1, this.hasSymbolBuckets) for (let e in this.buckets) {
21419
21419
  let n = this.buckets[e];
21420
21420
  if (n instanceof t.af && n.hasRTLText) {
21421
- this.hasRTLText = !0, Ee().lazyLoad();
21421
+ this.hasRTLText = !0, De().lazyLoad();
21422
21422
  break;
21423
21423
  }
21424
21424
  }
@@ -21550,7 +21550,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21550
21550
  return !1;
21551
21551
  }
21552
21552
  }
21553
- class Ae {
21553
+ class je {
21554
21554
  constructor() {
21555
21555
  this.state = {}, this.stateChanges = {}, this.deletedStates = {}, this.revision = 0;
21556
21556
  }
@@ -21610,18 +21610,18 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21610
21610
  this.stateChanges = {}, this.deletedStates = {}, Object.keys(o).length !== 0 && (this.revision++, e.setFeatureState(o, n));
21611
21611
  }
21612
21612
  }
21613
- let je = 89.25;
21614
- function Me(e, n) {
21613
+ let Me = 89.25;
21614
+ function Ne(e, n) {
21615
21615
  let r = t.al(n.lat, -t.am, t.am);
21616
21616
  return new t.P(t.Z(n.lng) * e, t.Y(r) * e);
21617
21617
  }
21618
- function Ne(e, n) {
21618
+ function Pe(e, n) {
21619
21619
  return new t.a7(n.x / e, n.y / e).toLngLat();
21620
21620
  }
21621
- function Pe(e) {
21622
- return e.cameraToCenterDistance * Math.min(.85 * Math.tan(t.an(90 - e.pitch)), Math.tan(t.an(je - e.pitch)));
21621
+ function Fe(e) {
21622
+ return e.cameraToCenterDistance * Math.min(.85 * Math.tan(t.an(90 - e.pitch)), Math.tan(t.an(Me - e.pitch)));
21623
21623
  }
21624
- function Fe(e, n) {
21624
+ function Ie(e, n) {
21625
21625
  let r = e.canonical, i = n / t.ao(r.z), a = r.x + 2 ** r.z * e.wrap, o = t.ap(new Float64Array(16));
21626
21626
  return t.Q(o, o, [
21627
21627
  a * i,
@@ -21633,11 +21633,11 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21633
21633
  1
21634
21634
  ]), o;
21635
21635
  }
21636
- function Ie(e, n, r, i, a) {
21637
- let o = t.a7.fromLngLat(e, n), s = a * t.aq(1, e.lat), { x: c, y: l, z: u } = R(r, i);
21636
+ function Le(e, n, r, i, a) {
21637
+ let o = t.a7.fromLngLat(e, n), s = a * t.aq(1, e.lat), { x: c, y: l, z: u } = I(r, i);
21638
21638
  return new t.a7(o.x + s * -c, o.y + s * -l, o.z + s * -u);
21639
21639
  }
21640
- function R(e, n) {
21640
+ function I(e, n) {
21641
21641
  let r = t.an(e), i = t.an(n), a = Math.cos(-r), o = Math.sin(r);
21642
21642
  return {
21643
21643
  x: o * Math.sin(i),
@@ -21645,24 +21645,24 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21645
21645
  z: a
21646
21646
  };
21647
21647
  }
21648
- function Le(e, t, n) {
21648
+ function Re(e, t, n) {
21649
21649
  let r = t.intersectsFrustum(e);
21650
21650
  if (!n || r === 0) return r;
21651
21651
  let i = t.intersectsPlane(n);
21652
21652
  return i === 0 ? 0 : r === 2 && i === 2 ? 2 : 1;
21653
21653
  }
21654
- function Re(e, t, n) {
21654
+ function ze(e, t, n) {
21655
21655
  let r = 0, i = (n - t) / 10;
21656
21656
  for (let a = 0; a < 10; a++) r += i * Math.cos(t + (a + .5) / 10 * (n - t)) ** +e;
21657
21657
  return r;
21658
21658
  }
21659
- function ze(e, n) {
21659
+ function R(e, n) {
21660
21660
  return function(r, i, a, o, s) {
21661
- 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;
21661
+ 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;
21662
21662
  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;
21663
21663
  };
21664
21664
  }
21665
- let Be = ze(9.314, 3);
21665
+ let Be = R(9.314, 3);
21666
21666
  function Ve(e, n) {
21667
21667
  let r = (n.roundZoom ? Math.round : Math.floor)(e.zoom + t.ar(e.tileSize / n.tileSize));
21668
21668
  return Math.max(0, r);
@@ -21693,7 +21693,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21693
21693
  z: p.zoom
21694
21694
  }, w = s.getTileBoundingVolume(C, p.wrap, e.elevation, n);
21695
21695
  if (!S) {
21696
- let e = Le(r, w, i);
21696
+ let e = Re(r, w, i);
21697
21697
  if (e === 0) continue;
21698
21698
  S = e === 2;
21699
21699
  }
@@ -21725,18 +21725,18 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21725
21725
  function Ge(e, t, n, r, i, a, o) {
21726
21726
  if (!t.hasData()) return !1;
21727
21727
  let { tileID: s, fadingRole: c, fadingDirection: l, fadingParentID: u } = t;
21728
- if (c === De.Base && l === Oe.Incoming && u) return n[u.key] = u, !0;
21728
+ if (c === Oe.Base && l === ke.Incoming && u) return n[u.key] = u, !0;
21729
21729
  let d = Math.max(s.overscaledZ - i, a);
21730
21730
  for (let i = s.overscaledZ - 1; i >= d; i--) {
21731
21731
  let a = s.scaledTo(i), c = e.getLoadedTile(a);
21732
21732
  if (c) return t.setCrossFadeLogic({
21733
- fadingRole: De.Base,
21734
- fadingDirection: Oe.Incoming,
21733
+ fadingRole: Oe.Base,
21734
+ fadingDirection: ke.Incoming,
21735
21735
  fadingParentID: c.tileID,
21736
21736
  fadeEndTime: r + o
21737
21737
  }), c.setCrossFadeLogic({
21738
- fadingRole: De.Parent,
21739
- fadingDirection: Oe.Departing,
21738
+ fadingRole: Oe.Parent,
21739
+ fadingDirection: ke.Departing,
21740
21740
  fadeEndTime: r + o
21741
21741
  }), n[a.key] = a, !0;
21742
21742
  }
@@ -21756,14 +21756,14 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21756
21756
  let n = e.getLoadedTile(a);
21757
21757
  if (!n) continue;
21758
21758
  let { fadingRole: c, fadingDirection: l, fadingParentID: u } = n;
21759
- c === De.Base && l === Oe.Departing && u || (n.setCrossFadeLogic({
21760
- fadingRole: De.Base,
21761
- fadingDirection: Oe.Departing,
21759
+ c === Oe.Base && l === ke.Departing && u || (n.setCrossFadeLogic({
21760
+ fadingRole: Oe.Base,
21761
+ fadingDirection: ke.Departing,
21762
21762
  fadingParentID: t.tileID,
21763
21763
  fadeEndTime: i + o
21764
21764
  }), t.setCrossFadeLogic({
21765
- fadingRole: De.Parent,
21766
- fadingDirection: Oe.Incoming,
21765
+ fadingRole: Oe.Parent,
21766
+ fadingDirection: ke.Incoming,
21767
21767
  fadeEndTime: i + o
21768
21768
  })), r[a.key] = a, s = !0;
21769
21769
  }
@@ -21835,10 +21835,10 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
21835
21835
  })), this.on("error", (() => {
21836
21836
  this._sourceErrored = this._source.loaded();
21837
21837
  })), this._source = ((e, t, n, r) => {
21838
- let i = new (Se(t.type))(e, t, n, r);
21838
+ let i = new (Ce(t.type))(e, t, n, r);
21839
21839
  if (i.id !== e) throw Error(`Expected Source id to be ${e} instead of ${i.id}`);
21840
21840
  return i;
21841
- })(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;
21841
+ })(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;
21842
21842
  }
21843
21843
  onAdd(e) {
21844
21844
  var t;
@@ -22012,7 +22012,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
22012
22012
  let c = l(), u = t.at(n);
22013
22013
  for (let t of n) {
22014
22014
  let n = e.getTileById(t.key);
22015
- n.fadingDirection !== Oe.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();
22015
+ n.fadingDirection !== ke.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();
22016
22016
  }
22017
22017
  }(this._inViewTiles, r, o, this._maxFadingAncestorLevels, this._source.minzoom, this._source.maxzoom, this._rasterFadeDuration), s ? this._cleanUpRasterTiles(o) : this._cleanUpVectorTiles(o);
22018
22018
  }
@@ -22061,7 +22061,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
22061
22061
  if (n) return n;
22062
22062
  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));
22063
22063
  let r = n;
22064
- 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", {
22064
+ 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", {
22065
22065
  tile: n,
22066
22066
  coord: n.tileID,
22067
22067
  dataType: "source"
@@ -23011,15 +23011,15 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
23011
23011
  var w, A;
23012
23012
  if (n[e.crossTileID]) return;
23013
23013
  if (d) return void (this.placements[e.crossTileID] = new St(!1, !1, !1));
23014
- let j = !1, M = !1, N = !0, ee = null, P = {
23014
+ let j = !1, M = !1, ee = !0, N = null, te = {
23015
23015
  box: null,
23016
23016
  placeable: !1,
23017
23017
  offscreen: null,
23018
23018
  occluded: !1
23019
- }, te = { placeable: !1 }, F = null, ne = null, re = null, ie = 0, ae = 0, oe = 0;
23020
- f.textFeatureIndex ? ie = f.textFeatureIndex : e.useRuntimeCollisionCircles && (ie = e.featureIndex), f.verticalTextFeatureIndex && (ae = f.verticalTextFeatureIndex);
23021
- let se = f.textBox;
23022
- if (se) {
23019
+ }, ne = { placeable: !1 }, P = null, re = null, ie = null, ae = 0, oe = 0, se = 0;
23020
+ f.textFeatureIndex ? ae = f.textFeatureIndex : e.useRuntimeCollisionCircles && (ae = e.featureIndex), f.verticalTextFeatureIndex && (oe = f.verticalTextFeatureIndex);
23021
+ let F = f.textBox;
23022
+ if (F) {
23023
23023
  let n = (n) => {
23024
23024
  let r = t.ax.horizontal;
23025
23025
  if (i.allowVerticalPlacement && !n && this.prevPlacement) {
@@ -23029,21 +23029,21 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
23029
23029
  return r;
23030
23030
  }, a = (n, r) => {
23031
23031
  if (i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && f.verticalTextBox) {
23032
- for (let e of i.writingModes) if (e === t.ax.vertical ? (P = r(), te = P) : P = n(), P != null && P.placeable) break;
23033
- } else P = n();
23032
+ for (let e of i.writingModes) if (e === t.ax.vertical ? (te = r(), ne = te) : te = n(), te != null && te.placeable) break;
23033
+ } else te = n();
23034
23034
  }, l = e.textAnchorOffsetStartIndex, d = e.textAnchorOffsetEndIndex;
23035
23035
  if (d === l) {
23036
23036
  let r = (t, n) => {
23037
23037
  let r = this.collisionIndex.placeCollisionBox(t, _, u, D, c, S, x, o, m.predicate, O, void 0, k);
23038
23038
  return r != null && r.placeable && (this.markUsedOrientation(i, n, e), this.placedOrientations[e.crossTileID] = n), r;
23039
23039
  };
23040
- a((() => r(se, t.ax.horizontal)), (() => {
23040
+ a((() => r(F, t.ax.horizontal)), (() => {
23041
23041
  let n = f.verticalTextBox;
23042
23042
  return i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && n ? r(n, t.ax.vertical) : {
23043
23043
  box: null,
23044
23044
  offscreen: null
23045
23045
  };
23046
- })), n(P == null ? void 0 : P.placeable);
23046
+ })), n(te == null ? void 0 : te.placeable);
23047
23047
  } else {
23048
23048
  let p = t.aM[(A = (w = this.prevPlacement) == null ? void 0 : w.variableOffsets[e.crossTileID]) == null ? void 0 : A.anchor], h = (t, n, a) => {
23049
23049
  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";
@@ -23053,46 +23053,46 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
23053
23053
  let r = i.textAnchorOffsets.get(n);
23054
23054
  if (p && r.textAnchor !== p) continue;
23055
23055
  let l = this.attemptAnchorPlacement(r, t, f, h, g, x, S, u, D, c, m, T, e, i, a, o, s, v, O);
23056
- if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0, ee = l.shift, b;
23056
+ if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0, N = l.shift, b;
23057
23057
  }
23058
23058
  p ? p = null : T = _;
23059
23059
  }
23060
23060
  return r && !b && (b = {
23061
- box: this.collisionIndex.placeCollisionBox(se, "always", u, D, c, S, x, o, m.predicate, O, void 0, k).box,
23061
+ box: this.collisionIndex.placeCollisionBox(F, "always", u, D, c, S, x, o, m.predicate, O, void 0, k).box,
23062
23062
  offscreen: !1,
23063
23063
  placeable: !1,
23064
23064
  occluded: !1
23065
23065
  }), b;
23066
23066
  };
23067
- a((() => h(se, f.iconBox, t.ax.horizontal)), (() => {
23067
+ a((() => h(F, f.iconBox, t.ax.horizontal)), (() => {
23068
23068
  let n = f.verticalTextBox;
23069
- return i.allowVerticalPlacement && !(P != null && P.placeable) && e.numVerticalGlyphVertices > 0 && n ? h(n, f.verticalIconBox, t.ax.vertical) : {
23069
+ return i.allowVerticalPlacement && !(te != null && te.placeable) && e.numVerticalGlyphVertices > 0 && n ? h(n, f.verticalIconBox, t.ax.vertical) : {
23070
23070
  box: null,
23071
23071
  occluded: !0,
23072
23072
  offscreen: null
23073
23073
  };
23074
- })), P && (j = P.placeable, N = P.offscreen);
23075
- let g = n(P == null ? void 0 : P.placeable);
23074
+ })), te && (j = te.placeable, ee = te.offscreen);
23075
+ let g = n(te == null ? void 0 : te.placeable);
23076
23076
  if (!j && this.prevPlacement) {
23077
23077
  let t = this.prevPlacement.variableOffsets[e.crossTileID];
23078
23078
  t && (this.variableOffsets[e.crossTileID] = t, this.markUsedJustification(i, t.anchor, e, g));
23079
23079
  }
23080
23080
  }
23081
23081
  }
23082
- if (F = P, j = F == null ? void 0 : F.placeable, N = F == null ? void 0 : F.offscreen, e.useRuntimeCollisionCircles && e.centerJustifiedTextSymbolIndex >= 0) {
23082
+ if (P = te, j = P == null ? void 0 : P.placeable, ee = P == null ? void 0 : P.offscreen, e.useRuntimeCollisionCircles && e.centerJustifiedTextSymbolIndex >= 0) {
23083
23083
  let n = i.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex), s = t.ay(i.textSizeData, p, n), u = a.get("text-padding");
23084
- ne = this.collisionIndex.placeCollisionCircles(_, n, i.lineVertexArray, i.glyphOffsetArray, s, c, l, r, S, m.predicate, e.collisionCircleDiameter, u, o, O), ne.circles.length && ne.collisionDetected && !r && t.w("Collisions detected, but collision boxes are not shown"), j = v || ne.circles.length > 0 && !ne.collisionDetected, N && (N = ne.offscreen);
23084
+ re = this.collisionIndex.placeCollisionCircles(_, n, i.lineVertexArray, i.glyphOffsetArray, s, c, l, r, S, m.predicate, e.collisionCircleDiameter, u, o, O), re.circles.length && re.collisionDetected && !r && t.w("Collisions detected, but collision boxes are not shown"), j = v || re.circles.length > 0 && !re.collisionDetected, ee && (ee = re.offscreen);
23085
23085
  }
23086
- if (f.iconFeatureIndex && (oe = f.iconFeatureIndex), f.iconBox) {
23087
- let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C && ee ? ee : void 0, k);
23088
- te && te.placeable && f.verticalIconBox ? (re = e(f.verticalIconBox), M = re.placeable) : (re = e(f.iconBox), M = re.placeable), N && (N = re.offscreen);
23086
+ if (f.iconFeatureIndex && (se = f.iconFeatureIndex), f.iconBox) {
23087
+ let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C && N ? N : void 0, k);
23088
+ ne && ne.placeable && f.verticalIconBox ? (ie = e(f.verticalIconBox), M = ie.placeable) : (ie = e(f.iconBox), M = ie.placeable), ee && (ee = ie.offscreen);
23089
23089
  }
23090
23090
  let ce = h || e.numHorizontalGlyphVertices === 0 && e.numVerticalGlyphVertices === 0, le = g || e.numIconVertices === 0;
23091
23091
  ce || le ? le ? ce || M && (M = j) : j = M && j : M = j = M && j;
23092
- let ue = M && re.placeable;
23093
- if (j && F.placeable && this.collisionIndex.insertCollisionBox(F.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, te && te.placeable && ae ? ae : ie, m.ID), ue && this.collisionIndex.insertCollisionBox(re.box, y, a.get("icon-ignore-placement"), i.bucketInstanceId, oe, m.ID), ne && j && this.collisionIndex.insertCollisionCircles(ne.circles, _, a.get("text-ignore-placement"), i.bucketInstanceId, ie, m.ID), r && this.storeCollisionData(i.bucketInstanceId, b, f, F, re, ne), e.crossTileID === 0) throw Error("symbolInstance.crossTileID can't be 0");
23092
+ let ue = M && ie.placeable;
23093
+ if (j && P.placeable && this.collisionIndex.insertCollisionBox(P.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, ne && ne.placeable && oe ? oe : ae, m.ID), ue && this.collisionIndex.insertCollisionBox(ie.box, y, a.get("icon-ignore-placement"), i.bucketInstanceId, se, m.ID), re && j && this.collisionIndex.insertCollisionCircles(re.circles, _, a.get("text-ignore-placement"), i.bucketInstanceId, ae, m.ID), r && this.storeCollisionData(i.bucketInstanceId, b, f, P, ie, re), e.crossTileID === 0) throw Error("symbolInstance.crossTileID can't be 0");
23094
23094
  if (i.bucketInstanceId === 0) throw Error("bucket.bucketInstanceId can't be 0");
23095
- this.placements[e.crossTileID] = new St((j || T) && !(F != null && F.occluded), (M || E) && !(re != null && re.occluded), N || i.justReloaded), n[e.crossTileID] = !0;
23095
+ this.placements[e.crossTileID] = new St((j || T) && !(P != null && P.occluded), (M || E) && !(ie != null && ie.occluded), ee || i.justReloaded), n[e.crossTileID] = !0;
23096
23096
  };
23097
23097
  if (w) {
23098
23098
  if (e.symbolInstanceStart !== 0) throw Error("bucket.bucketInstanceId should be 0");
@@ -23792,7 +23792,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
23792
23792
  }
23793
23793
  getMaxBounds() {
23794
23794
  var e, t;
23795
- return ((e = this._latRange) == null ? void 0 : e.length) !== 2 || ((t = this._lngRange) == null ? void 0 : t.length) !== 2 ? null : new se([this._lngRange[0], this._latRange[0]], [this._lngRange[1], this._latRange[1]]);
23795
+ return ((e = this._latRange) == null ? void 0 : e.length) !== 2 || ((t = this._lngRange) == null ? void 0 : t.length) !== 2 ? null : new F([this._lngRange[0], this._latRange[0]], [this._lngRange[1], this._latRange[1]]);
23796
23796
  }
23797
23797
  setMaxBounds(e) {
23798
23798
  e ? (this._lngRange = [e.getWest(), e.getEast()], this._latRange = [e.getSouth(), e.getNorth()], this.constrainInternal()) : (this._lngRange = null, this._latRange = [-t.am, t.am]);
@@ -23845,7 +23845,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
23845
23845
  this._callbacks.calcMatrices();
23846
23846
  }
23847
23847
  calculateCenterFromCameraLngLatAlt(e, n, r, i) {
23848
- 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;
23848
+ 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;
23849
23849
  do {
23850
23850
  if (h += 1, h > 10) break;
23851
23851
  p = s / m, f = new t.a7(d.x + l * p, d.y + u * p), m = 1 / f.meterInMercatorCoordinateUnits();
@@ -23858,7 +23858,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
23858
23858
  }
23859
23859
  recalculateZoomAndCenter(e) {
23860
23860
  if (this.elevation - e == 0) return;
23861
- 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);
23861
+ 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);
23862
23862
  this._elevation = v, this._center = b, this.setZoom(S);
23863
23863
  }
23864
23864
  _distanceToCenterFromAltElevationPitch(e, n, r) {
@@ -23877,7 +23877,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
23877
23877
  }
23878
23878
  getCameraLngLat() {
23879
23879
  let e = t.aq(1, this.center.lat) * this.worldSize;
23880
- return Ie(this.center, this.elevation, this.pitch, this.bearing, this.cameraToCenterDistance / e).toLngLat();
23880
+ return Le(this.center, this.elevation, this.pitch, this.bearing, this.cameraToCenterDistance / e).toLngLat();
23881
23881
  }
23882
23882
  getMercatorTileCoordinates(e) {
23883
23883
  if (!e) return [
@@ -24346,8 +24346,8 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24346
24346
  o = t.Y(e[1]) * a, s = t.Y(e[0]) * a, s - o < p && (u = p / (s - o));
24347
24347
  }
24348
24348
  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)));
24349
- let { x: m, y: h } = Me(a, e), g, _, v = Math.max(d || 0, u || 0);
24350
- 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;
24349
+ let { x: m, y: h } = Ne(a, e), g, _, v = Math.max(d || 0, u || 0);
24350
+ 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;
24351
24351
  if (this._helper._latRange) {
24352
24352
  let e = p / 2;
24353
24353
  h - e < o && (_ = o + e), h + e > s && (_ = s - e);
@@ -24358,7 +24358,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24358
24358
  let r = f / 2;
24359
24359
  n - r < c && (g = c + r), n + r > l && (g = l - r);
24360
24360
  }
24361
- return (g !== void 0 || _ !== void 0) && (r.center = Ne(a, new t.P(g == null ? m : g, _ == null ? h : _)).wrap()), r;
24361
+ return (g !== void 0 || _ !== void 0) && (r.center = Pe(a, new t.P(g == null ? m : g, _ == null ? h : _)).wrap()), r;
24362
24362
  }, this.applyConstrain = (e, t) => this._helper.applyConstrain(e, t), this._helper = new Xt({
24363
24363
  calcMatrices: () => this._calcMatrices(),
24364
24364
  defaultConstrain: (e, t) => this.defaultConstrain(e, t)
@@ -24451,11 +24451,11 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24451
24451
  return t.aE(i, i, r), new t.P(i[0] / i[3], i[1] / i[3]);
24452
24452
  }
24453
24453
  getBounds() {
24454
- let e = Math.max(0, this._helper._height / 2 - Pe(this));
24455
- return new se().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)));
24454
+ let e = Math.max(0, this._helper._height / 2 - Fe(this));
24455
+ return new F().extend(this.screenPointToLocation(new t.P(0, e))).extend(this.screenPointToLocation(new t.P(this._helper._width, e))).extend(this.screenPointToLocation(new t.P(this._helper._width, this._helper._height))).extend(this.screenPointToLocation(new t.P(0, this._helper._height)));
24456
24456
  }
24457
24457
  isPointOnMapSurface(e, t) {
24458
- return t ? t.pointCoordinate(e) != null : e.y > this.height / 2 - Pe(this);
24458
+ return t ? t.pointCoordinate(e) != null : e.y > this.height / 2 - Fe(this);
24459
24459
  }
24460
24460
  calculatePosMatrix(e, n = !1, r) {
24461
24461
  var i;
@@ -24464,7 +24464,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24464
24464
  let e = o.get(a);
24465
24465
  return r ? e.f32 : e.f64;
24466
24466
  }
24467
- let s = Fe(e, this.worldSize);
24467
+ let s = Ie(e, this.worldSize);
24468
24468
  t.U(s, n ? this._alignedProjMatrix : this._viewProjMatrix, s);
24469
24469
  let c = {
24470
24470
  f64: s,
@@ -24475,7 +24475,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24475
24475
  calculateFogMatrix(e) {
24476
24476
  let n = e.key, r = this._fogMatrixCacheF32;
24477
24477
  if (r.has(n)) return r.get(n);
24478
- let i = Fe(e, this.worldSize);
24478
+ let i = Ie(e, this.worldSize);
24479
24479
  return t.U(i, this._fogMatrix, i), r.set(n, new Float32Array(i)), r.get(n);
24480
24480
  }
24481
24481
  calculateCenterFromCameraLngLatAlt(e, t, n, r) {
@@ -24483,14 +24483,14 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24483
24483
  }
24484
24484
  _calculateNearFarZIfNeeded(e, n, r) {
24485
24485
  if (!this._helper.autoCalculateNearFarZ) return;
24486
- 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);
24486
+ 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);
24487
24487
  this._helper._farZ = 1.01 * (Math.cos(Math.PI / 2 - n) * h + o), this._helper._nearZ = this._helper._height / 50;
24488
24488
  }
24489
24489
  _calcMatrices() {
24490
24490
  if (!this._helper._height) return;
24491
- let e = this.centerOffset, n = Me(this.worldSize, this.center), r = n.x, i = n.y;
24491
+ let e = this.centerOffset, n = Ne(this.worldSize, this.center), r = n.x, i = n.y;
24492
24492
  this._helper._pixelPerMeter = t.aq(1, this.center.lat) * this.worldSize;
24493
- 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;
24493
+ 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;
24494
24494
  var c, l;
24495
24495
  this._calculateNearFarZIfNeeded(o, a, e), s = new Float64Array(16), t.bc(s, this.fovInRadians, this._helper._width / this._helper._height, this._helper._nearZ, this._helper._farZ), this._invProjMatrix = new Float64Array(16), (c = this._invProjMatrix)[0] = 1 / (l = s)[0], c[1] = 0, c[2] = 0, c[3] = 0, c[4] = 0, c[5] = 1 / l[5], c[6] = 0, c[7] = 0, c[8] = 0, c[9] = 0, c[10] = 0, c[11] = 1 / l[14], c[12] = 0, c[13] = 0, c[14] = -1, c[15] = l[10] / l[14], s[8] = 2 * -e.x / this._helper._width, s[9] = 2 * e.y / this._helper._height, this._projectionMatrix = t.bd(s), t.S(s, s, [
24496
24496
  1,
@@ -24577,7 +24577,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24577
24577
  }
24578
24578
  getCameraLngLat() {
24579
24579
  let e = t.aq(1, this.center.lat) * this.worldSize;
24580
- return Ie(this.center, this.elevation, this.pitch, this.bearing, this._helper.cameraToCenterDistance / e).toLngLat();
24580
+ return Le(this.center, this.elevation, this.pitch, this.bearing, this._helper.cameraToCenterDistance / e).toLngLat();
24581
24581
  }
24582
24582
  lngLatToCameraDepth(e, n) {
24583
24583
  let r = t.a7.fromLngLat(e), i = [
@@ -24660,7 +24660,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24660
24660
  let n = new t.a3(0, 0, 0, 0, 0), r = this.getProjectionData({
24661
24661
  overscaledTileID: n,
24662
24662
  applyGlobeMatrix: e
24663
- }), i = Fe(n, this.worldSize);
24663
+ }), i = Ie(n, this.worldSize);
24664
24664
  t.U(i, this._viewProjMatrix, i), r.tileMercatorCoords = [
24665
24665
  0,
24666
24666
  0,
@@ -24691,11 +24691,11 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24691
24691
  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));
24692
24692
  }
24693
24693
  function rn(e, n, r, i, a) {
24694
- 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;
24694
+ 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;
24695
24695
  if (b < 0 || y < 0) return void tn();
24696
24696
  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));
24697
24697
  return {
24698
- center: Ne(a.worldSize, s.add(l).div(2).sub(w)),
24698
+ center: Pe(a.worldSize, s.add(l).div(2).sub(w)),
24699
24699
  zoom: x,
24700
24700
  bearing: i
24701
24701
  };
@@ -24705,7 +24705,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24705
24705
  return !1;
24706
24706
  }
24707
24707
  handlePanInertia(e, t) {
24708
- let n = e.mag(), r = Math.abs(Pe(t));
24708
+ let n = e.mag(), r = Math.abs(Fe(t));
24709
24709
  return {
24710
24710
  easingOffset: e.mult(Math.min(.75 * r / n, 1)),
24711
24711
  easingCenter: t.center
@@ -24734,7 +24734,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24734
24734
  bearing: n.bearing === void 0 ? e.bearing : n.bearing
24735
24735
  }, 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);
24736
24736
  Jt(e, p);
24737
- let h = Me(e.worldSize, f), g = Me(e.worldSize, p).sub(h), _ = t.ao(m - r);
24737
+ let h = Ne(e.worldSize, f), g = Ne(e.worldSize, p).sub(h), _ = t.ao(m - r);
24738
24738
  return l = m !== r, {
24739
24739
  easeFunc: (s) => {
24740
24740
  if (l && e.setZoom(t.H.number(r, m, s)), t.bn(a, o) || nn({
@@ -24745,7 +24745,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24745
24745
  useSlerp: a.roll != o.roll
24746
24746
  }), c && (e.interpolatePadding(i, n.padding, s), d = e.centerPoint.add(n.offsetAsPoint)), n.around) e.setLocationAtPoint(n.around, n.aroundPoint);
24747
24747
  else {
24748
- 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));
24748
+ 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));
24749
24749
  e.setLocationAtPoint(e.renderWorldCopies ? a.wrap() : a, d);
24750
24750
  }
24751
24751
  },
@@ -24756,7 +24756,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24756
24756
  handleFlyTo(e, n) {
24757
24757
  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;
24758
24758
  Jt(e, o);
24759
- let c = Me(e.worldSize, n.locationAtOffset), l = Me(e.worldSize, o).sub(c), u = l.mag(), d = t.ao(s - i), f;
24759
+ let c = Ne(e.worldSize, n.locationAtOffset), l = Ne(e.worldSize, o).sub(c), u = l.mag(), d = t.ao(s - i), f;
24760
24760
  if (n.minZoom !== void 0) {
24761
24761
  let r = Math.min(+n.minZoom, i, s), a = e.applyConstrain(o, r).zoom;
24762
24762
  f = t.ao(a - i);
@@ -24764,7 +24764,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
24764
24764
  return {
24765
24765
  easeFunc: (n, r, a, u) => {
24766
24766
  e.setZoom(n === 1 ? s : i + t.ar(r));
24767
- let d = n === 1 ? o : Ne(e.worldSize, c.add(l.mult(a)).mult(r));
24767
+ let d = n === 1 ? o : Pe(e.worldSize, c.add(l.mult(a)).mult(r));
24768
24768
  e.setLocationAtPoint(e.renderWorldCopies ? d.wrap() : d, u);
24769
24769
  },
24770
24770
  scaleOfZoom: d,
@@ -25825,7 +25825,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
25825
25825
  0,
25826
25826
  -1,
25827
25827
  0
25828
- ]) && (u[1] = -90, u[0] = -180, u[2] = 180), new se(u);
25828
+ ]) && (u[1] = -90, u[0] = -180, u[2] = 180), new F(u);
25829
25829
  }
25830
25830
  calculateCenterFromCameraLngLatAlt(e, t, n, r) {
25831
25831
  return this._helper.calculateCenterFromCameraLngLatAlt(e, t, n, r);
@@ -26500,9 +26500,9 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
26500
26500
  let t = this.tileManagers[e].getSource().type;
26501
26501
  t !== "vector" && t !== "geojson" || this.tileManagers[e].reload();
26502
26502
  }
26503
- }, 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);
26503
+ }, this.map = e, this.dispatcher = new ne(te(), e._getMapId()), this.dispatcher.registerMessageHandler("GG", ((e, t) => this.getGlyphs(e, t))), this.dispatcher.registerMessageHandler("GI", ((e, t) => this.getImages(e, t))), this.dispatcher.registerMessageHandler("GDA", ((e, t) => this.getDashes(e, t))), this.imageManager = new _(), this.imageManager.setEventedParent(this);
26504
26504
  let a = ((r = e._container) == null ? void 0 : r.lang) || typeof document < "u" && ((i = document.documentElement) == null ? void 0 : i.lang) || void 0;
26505
- 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()), Ee().on(Ce, this._rtlPluginLoaded), this.on("data", ((e) => {
26505
+ 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) => {
26506
26506
  if (e.dataType !== "source" || e.sourceDataType !== "metadata") return;
26507
26507
  let t = this.tileManagers[e.sourceId];
26508
26508
  if (!t) return;
@@ -27073,11 +27073,11 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
27073
27073
  layers: s,
27074
27074
  globalState: this._globalState
27075
27075
  });
27076
- for (let t in this.tileManagers) n.layers && !i[t] || a.push(re(this.tileManagers[t], this._layers, o, e, c, r, this.map.terrain ? (e, t, n) => this.map.terrain.getElevation(e, t, n) : void 0));
27076
+ for (let t in this.tileManagers) n.layers && !i[t] || a.push(ie(this.tileManagers[t], this._layers, o, e, c, r, this.map.terrain ? (e, t, n) => this.map.terrain.getElevation(e, t, n) : void 0));
27077
27077
  return this.placement && a.push(function(e, t, n, r, i, a, o) {
27078
27078
  let s = {}, c = a.queryRenderedSymbols(r), l = [];
27079
27079
  for (let e of Object.keys(c).map(Number)) l.push(o[e]);
27080
- l.sort(ie);
27080
+ l.sort(ae);
27081
27081
  for (let n of l) {
27082
27082
  let r = n.featureIndex.lookupSymbolFeatures(c[n.bucketInstanceId], t, n.bucketIndex, n.sourceLayerIndex, {
27083
27083
  filterSpec: i.filter,
@@ -27098,7 +27098,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
27098
27098
  }
27099
27099
  }
27100
27100
  return function(e, t, n) {
27101
- for (let r in e) for (let i of e[r]) ae(i, n[t[r].source]);
27101
+ for (let r in e) for (let i of e[r]) oe(i, n[t[r].source]);
27102
27102
  return e;
27103
27103
  }(s, e, n);
27104
27104
  }(this._layers, o, this.tileManagers, e, c, this.placement.collisionIndex, this.placement.retainedQueryData)), this._flattenAndSortRenderedFeatures(a);
@@ -27229,7 +27229,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
27229
27229
  }, i)));
27230
27230
  }
27231
27231
  _remove(e = !0) {
27232
- this._frameRequest && (this._frameRequest.abort(), this._frameRequest = null), this._loadStyleRequest && (this._loadStyleRequest.abort(), this._loadStyleRequest = null), this._spriteRequest && (this._spriteRequest.abort(), this._spriteRequest = null), Ee().off(Ce, this._rtlPluginLoaded);
27232
+ 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);
27233
27233
  for (let e in this._layers) this._layers[e].setEventedParent(null);
27234
27234
  for (let e in this.tileManagers) {
27235
27235
  let t = this.tileManagers[e];
@@ -28663,34 +28663,34 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
28663
28663
  if (!l) continue;
28664
28664
  let d = a ? l.text : l.icon;
28665
28665
  if (!(d != null && d.segments.get().length) || !d.hasVisibleVertices) continue;
28666
- 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], F = null;
28667
- if (a) N = i.glyphAtlasTexture, ee = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (te = i.imageAtlasTexture.size, F = i.imageAtlasTexture, P = T || e.options.rotating || e.options.zooming || g.kind === "composite" || g.kind === "camera" ? _.LINEAR : _.NEAREST);
28666
+ 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, N, te, ne = [0, 0], P = null;
28667
+ if (a) ee = i.glyphAtlasTexture, N = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (ne = i.imageAtlasTexture.size, P = i.imageAtlasTexture, te = T || e.options.rotating || e.options.zooming || g.kind === "composite" || g.kind === "camera" ? _.LINEAR : _.NEAREST);
28668
28668
  else {
28669
28669
  let t = r.layout.get("icon-size").constantOr(0) !== 1 || l.iconsNeedLinear;
28670
- N = i.imageAtlasTexture, ee = h || e.options.rotating || e.options.zooming || t || T ? _.LINEAR : _.NEAREST, M = i.imageAtlasTexture.size;
28670
+ ee = i.imageAtlasTexture, N = h || e.options.rotating || e.options.zooming || t || T ? _.LINEAR : _.NEAREST, M = i.imageAtlasTexture.size;
28671
28671
  }
28672
- let ne = t.aK(i, 1, e.transform.zoom), re = $e(y, e.transform, ne), ie = et(b, y, e.transform, ne), ae = t.aL(v, i, o, s), oe = v.getProjectionData({
28672
+ 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({
28673
28673
  overscaledTileID: c,
28674
28674
  applyGlobeMatrix: !p,
28675
28675
  applyTerrainMatrix: !0
28676
- }), se = E && l.hasTextData(), ce = r.layout.get("icon-text-fit") !== "none" && se && l.hasIconData();
28676
+ }), F = E && l.hasTextData(), ce = r.layout.get("icon-text-fit") !== "none" && F && l.hasIconData();
28677
28677
  if (x) {
28678
28678
  let n = t.O();
28679
- H(n, re);
28679
+ H(n, ie);
28680
28680
  let i = e.style.map.terrain ? (t, n) => e.style.map.terrain.getElevation(c, t, n) : null;
28681
- it(l, e, a, re, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, ae, i);
28681
+ it(l, e, a, ie, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, oe, i);
28682
28682
  }
28683
- let le = a && E || ce, ue = x || le ? pi : b ? re : e.transform.clipSpaceToPixelsMatrix, de = h && r.paint.get(a ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0, fe;
28684
- fe = h ? l.iconsInText ? yr(g.kind, A, S, b, x, le, e, ue, ie, ae, M, te, O) : vr(g.kind, A, S, b, x, le, e, ue, ie, ae, a, M, de, O) : _r(g.kind, A, S, b, x, le, e, ue, ie, ae, a, M, O);
28685
- let I = {
28683
+ let le = a && E || ce, ue = x || le ? pi : b ? ie : e.transform.clipSpaceToPixelsMatrix, de = h && r.paint.get(a ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0, fe;
28684
+ fe = h ? l.iconsInText ? yr(g.kind, A, S, b, x, le, e, ue, ae, oe, M, ne, O) : vr(g.kind, A, S, b, x, le, e, ue, ae, oe, a, M, de, O) : _r(g.kind, A, S, b, x, le, e, ue, ae, oe, a, M, O);
28685
+ let pe = {
28686
28686
  program: k,
28687
28687
  buffers: d,
28688
28688
  uniformValues: fe,
28689
- projectionData: oe,
28690
- atlasTexture: N,
28691
- atlasTextureIcon: F,
28692
- atlasInterpolation: ee,
28693
- atlasInterpolationIcon: P,
28689
+ projectionData: se,
28690
+ atlasTexture: ee,
28691
+ atlasTextureIcon: P,
28692
+ atlasInterpolation: N,
28693
+ atlasInterpolationIcon: te,
28694
28694
  isSDF: h,
28695
28695
  hasHalo: de
28696
28696
  };
@@ -28700,13 +28700,13 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
28700
28700
  for (let n of e) D.push({
28701
28701
  segments: new t.aV([n]),
28702
28702
  sortKey: n.sortKey,
28703
- state: I,
28703
+ state: pe,
28704
28704
  terrainData: j
28705
28705
  });
28706
28706
  } else D.push({
28707
28707
  segments: d.segments,
28708
28708
  sortKey: 0,
28709
- state: I,
28709
+ state: pe,
28710
28710
  terrainData: j
28711
28711
  });
28712
28712
  }
@@ -28945,7 +28945,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
28945
28945
  parentScaleBy: o,
28946
28946
  parentTopLeft: [e.tileID.canonical.x * o % 1, e.tileID.canonical.y * o % 1],
28947
28947
  fadeValues: function(e, n, r) {
28948
- let i = l(), a = (i - n.timeAdded) / r, o = e.fadingDirection === Oe.Incoming, s = t.al((i - e.timeAdded) / r, 0, 1), c = t.al(1 - a, 0, 1), u = o ? s : c;
28948
+ let i = l(), a = (i - n.timeAdded) / r, o = e.fadingDirection === ke.Incoming, s = t.al((i - e.timeAdded) / r, 0, 1), c = t.al(1 - a, 0, 1), u = o ? s : c;
28949
28949
  return {
28950
28950
  tileOpacity: u,
28951
28951
  parentTileOpacity: o ? c : s,
@@ -29252,7 +29252,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
29252
29252
  raster: function(e, t, n, r, i) {
29253
29253
  if (e.renderPass !== "translucent" || n.paint.get("raster-opacity") === 0 || !r.length) return;
29254
29254
  let { isRenderingToTexture: a } = i, o = t.getSource(), s = e.style.projection.useSubdivision;
29255
- if (o instanceof ve) Ii(e, t, n, r, null, !1, !1, o.tileCoords, o.flippedWindingOrder, a);
29255
+ if (o instanceof ye) Ii(e, t, n, r, null, !1, !1, o.tileCoords, o.flippedWindingOrder, a);
29256
29256
  else if (s) {
29257
29257
  let [i, o, s] = e.stencilConfigForOverlapTwoPass(r);
29258
29258
  Ii(e, t, n, s, i, !1, !0, Fi, !1, a), Ii(e, t, n, s, o, !0, !0, Fi, !1, a);
@@ -29289,7 +29289,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
29289
29289
  },
29290
29290
  sky: function(e, t) {
29291
29291
  let n = e.context, r = n.gl, i = ((e, t, n) => {
29292
- let r = Math.cos(t.rollInRadians), i = Math.sin(t.rollInRadians), a = Pe(t), o = t.getProjectionData({
29292
+ let r = Math.cos(t.rollInRadians), i = Math.sin(t.rollInRadians), a = Fe(t), o = t.getProjectionData({
29293
29293
  overscaledTileID: null,
29294
29294
  applyGlobeMatrix: !0,
29295
29295
  applyTerrainMatrix: !0
@@ -31317,7 +31317,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
31317
31317
  return this.jumpTo({ roll: e }, t), this;
31318
31318
  }
31319
31319
  cameraForBounds(e, t) {
31320
- e = se.convert(e).adjustAntiMeridian();
31320
+ e = F.convert(e).adjustAntiMeridian();
31321
31321
  let n = (t == null ? void 0 : t.bearing) || 0;
31322
31322
  return this._cameraForBoxAndBearing(e.getNorthWest(), e.getSouthEast(), n, t);
31323
31323
  }
@@ -31343,7 +31343,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
31343
31343
  }
31344
31344
  let o = t.e(a, i.padding);
31345
31345
  i.padding = o;
31346
- let s = this.transform, c = new se(e, n), l = this.cameraHelper.cameraForBoxAndBearing(i, o, c, r, s);
31346
+ let s = this.transform, c = new F(e, n), l = this.cameraHelper.cameraForBoxAndBearing(i, o, c, r, s);
31347
31347
  return l && this._zoomSnap && (l.zoom = t.cw(l.zoom, this._zoomSnap, -1)), l;
31348
31348
  }
31349
31349
  fitBounds(e, t, n) {
@@ -31682,7 +31682,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
31682
31682
  reparseOverscaled: !1,
31683
31683
  terrain: n,
31684
31684
  calculateTileZoom: this.tileManager._source.calculateTileZoom
31685
- })) r[i.key] = !0, this._renderableTilesKeys.push(i.key), this._tiles[i.key] || (i.terrainRttPosMatrix32f = new Float64Array(16), t.c7(i.terrainRttPosMatrix32f, 0, t.a6, t.a6, 0, 0, 1), this._tiles[i.key] = new ke(i, this.tileSize), this._lastTilesetChange = l());
31685
+ })) r[i.key] = !0, this._renderableTilesKeys.push(i.key), this._tiles[i.key] || (i.terrainRttPosMatrix32f = new Float64Array(16), t.c7(i.terrainRttPosMatrix32f, 0, t.a6, t.a6, 0, 0, 1), this._tiles[i.key] = new Ae(i, this.tileSize), this._lastTilesetChange = l());
31686
31686
  for (let e in this._tiles) r[e] || delete this._tiles[e];
31687
31687
  }
31688
31688
  freeRtt(e) {
@@ -32019,7 +32019,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
32019
32019
  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 = {};
32020
32020
  for (let t in e.tileManagers) {
32021
32021
  this._coordsAscending[t] = {};
32022
- let n = e.tileManagers[t].getVisibleCoordinates(), r = e.tileManagers[t].getSource(), a = r instanceof ve ? r.terrainTileRanges : null;
32022
+ let n = e.tileManagers[t].getVisibleCoordinates(), r = e.tileManagers[t].getSource(), a = r instanceof ye ? r.terrainTileRanges : null;
32023
32023
  for (let e of n) {
32024
32024
  let n = this.terrain.tileManager.getTerrainCoords(e, a);
32025
32025
  for (let e in n) (i = this._coordsAscending[t])[e] || (i[e] = []), this._coordsAscending[t][e].push(n[e]);
@@ -32290,7 +32290,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
32290
32290
  return this.transform.getMaxBounds();
32291
32291
  }
32292
32292
  setMaxBounds(e) {
32293
- return this.transform.setMaxBounds(se.convert(e)), this._update();
32293
+ return this.transform.setMaxBounds(F.convert(e)), this._update();
32294
32294
  }
32295
32295
  setMinZoom(e) {
32296
32296
  if ((e = e == null ? -2 : e) >= -2 && e <= this.transform.maxZoom) {
@@ -32584,8 +32584,8 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
32584
32584
  if (n) {
32585
32585
  let r = this.getSource(n);
32586
32586
  if (!r) throw Error(`There is no source with ID "${n}", cannot set LOD parameters`);
32587
- r.calculateTileZoom = ze(Math.max(1, e), Math.max(1, t));
32588
- } else for (let n in this.style.tileManagers) this.style.tileManagers[n].getSource().calculateTileZoom = ze(Math.max(1, e), Math.max(1, t));
32587
+ r.calculateTileZoom = R(Math.max(1, e), Math.max(1, t));
32588
+ } else for (let n in this.style.tileManagers) this.style.tileManagers[n].getSource().calculateTileZoom = R(Math.max(1, e), Math.max(1, t));
32589
32589
  return this._update(!0), this;
32590
32590
  }
32591
32591
  refreshTiles(e, n) {
@@ -33310,7 +33310,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33310
33310
  return wo(new t.P(0, 0));
33311
33311
  }
33312
33312
  let To = n;
33313
- 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 = be, e.CooperativeGesturesHandler = Wa, e.DoubleClickZoomHandler = Ra, e.DragPanHandler = Va, e.DragRotateHandler = Ha, e.EdgeInsets = qt, e.FullscreenControl = class extends t.E {
33313
+ 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 {
33314
33314
  constructor(e = {}) {
33315
33315
  var n;
33316
33316
  super(), this._onFullscreenChange = () => {
@@ -33354,7 +33354,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33354
33354
  _togglePseudoFullScreen() {
33355
33355
  this._container.classList.toggle("maplibregl-pseudo-fullscreen"), this._handleFullscreenChange(), this._map.resize();
33356
33356
  }
33357
- }, e.GeoJSONSource = _e, e.GeolocateControl = class extends t.E {
33357
+ }, e.GeoJSONSource = ve, e.GeolocateControl = class extends t.E {
33358
33358
  constructor(e) {
33359
33359
  super(), this._onSuccess = (e) => {
33360
33360
  if (this._map) {
@@ -33374,7 +33374,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33374
33374
  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();
33375
33375
  }
33376
33376
  }, this._updateCamera = (e) => {
33377
- 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 = se.fromLngLat(n, r);
33377
+ 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 = F.fromLngLat(n, r);
33378
33378
  this._map.fitBounds(o, a, { geolocateSource: !0 });
33379
33379
  }, this._updateMarker = (e) => {
33380
33380
  if (e) {
@@ -33526,7 +33526,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33526
33526
  onRemove() {
33527
33527
  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;
33528
33528
  }
33529
- }, e.Hash = Qi, e.ImageSource = ve, e.KeyboardHandler = Pa, e.LngLatBounds = se, e.LogoControl = Xa, e.Map = so, e.MapLibreMap = so, e.MapMouseEvent = ca, e.MapTouchEvent = la, e.MapWheelEvent = ua, e.Marker = ho, e.NavigationControl = class {
33529
+ }, e.Hash = Qi, e.ImageSource = ye, e.KeyboardHandler = Pa, e.LngLatBounds = F, e.LogoControl = Xa, e.Map = so, e.MapLibreMap = so, e.MapMouseEvent = ca, e.MapTouchEvent = la, e.MapWheelEvent = ua, e.Marker = ho, e.NavigationControl = class {
33530
33530
  constructor(e) {
33531
33531
  this._updateZoomButtons = () => {
33532
33532
  let e = this._map.getZoom(), t = e === this._map.getMaxZoom(), n = e === this._map.getMinZoom();
@@ -33683,18 +33683,18 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33683
33683
  onRemove() {
33684
33684
  this._container.remove(), this._map.off("terrain", this._updateTerrainIcon), this._map = void 0;
33685
33685
  }
33686
- }, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource = le, e.VideoSource = ye, e.addSourceType = (e, n) => t._(void 0, void 0, void 0, (function* () {
33687
- if (Se(e)) throw Error(`A source type called "${e}" already exists.`);
33686
+ }, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource = le, e.VideoSource = be, e.addSourceType = (e, n) => t._(void 0, void 0, void 0, (function* () {
33687
+ if (Ce(e)) throw Error(`A source type called "${e}" already exists.`);
33688
33688
  ((e, t) => {
33689
- xe[e] = t;
33689
+ Se[e] = t;
33690
33690
  })(e, n);
33691
33691
  })), e.clearPrewarmedResources = function() {
33692
- let e = N;
33693
- 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()"));
33694
- }, e.createTileMesh = fn, e.getGlobalDispatcher = F, e.getMaxParallelImageRequests = function() {
33692
+ let e = ee;
33693
+ 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()"));
33694
+ }, e.createTileMesh = fn, e.getGlobalDispatcher = P, e.getMaxParallelImageRequests = function() {
33695
33695
  return t.c.MAX_PARALLEL_IMAGE_REQUESTS;
33696
33696
  }, e.getRTLTextPluginStatus = function() {
33697
- return Ee().getRTLTextPluginStatus();
33697
+ return De().getRTLTextPluginStatus();
33698
33698
  }, e.getVersion = function() {
33699
33699
  return To;
33700
33700
  }, e.getWorkerCount = function() {
@@ -33702,11 +33702,11 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33702
33702
  }, e.getWorkerUrl = function() {
33703
33703
  return t.c.WORKER_URL;
33704
33704
  }, e.importScriptInWorkers = function(e) {
33705
- return F().broadcast("IS", e);
33705
+ return P().broadcast("IS", e);
33706
33706
  }, e.isTimeFrozen = function() {
33707
33707
  return c.isFrozen();
33708
33708
  }, e.now = l, e.prewarm = function() {
33709
- P().acquire(A);
33709
+ te().acquire(A);
33710
33710
  }, e.restoreNow = function() {
33711
33711
  c.restoreNow();
33712
33712
  }, e.setMaxParallelImageRequests = function(e) {
@@ -33714,7 +33714,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33714
33714
  }, e.setNow = function(e) {
33715
33715
  c.setNow(e);
33716
33716
  }, e.setRTLTextPlugin = function(e, t) {
33717
- return Ee().setRTLTextPlugin(e, t);
33717
+ return De().setRTLTextPlugin(e, t);
33718
33718
  }, e.setWorkerCount = function(e) {
33719
33719
  j.workerCount = e;
33720
33720
  }, e.setWorkerUrl = function(e) {
@@ -33722,7 +33722,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33722
33722
  };
33723
33723
  })), e;
33724
33724
  }));
33725
- })))(), te = Uint8Array, F = Uint16Array, ne = Int32Array, re = new te([
33725
+ })))(), P = Uint8Array, re = Uint16Array, ie = Int32Array, ae = new P([
33726
33726
  0,
33727
33727
  0,
33728
33728
  0,
@@ -33755,7 +33755,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33755
33755
  0,
33756
33756
  0,
33757
33757
  0
33758
- ]), ie = new te([
33758
+ ]), oe = new P([
33759
33759
  0,
33760
33760
  0,
33761
33761
  0,
@@ -33788,7 +33788,7 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33788
33788
  13,
33789
33789
  0,
33790
33790
  0
33791
- ]), ae = new te([
33791
+ ]), se = new P([
33792
33792
  16,
33793
33793
  17,
33794
33794
  18,
@@ -33808,51 +33808,51 @@ var N = /* @__PURE__ */ e(n(), 1), ee = /* @__PURE__ */ e(b(), 1), P = (/* @__PU
33808
33808
  14,
33809
33809
  1,
33810
33810
  15
33811
- ]), oe = function(e, t) {
33812
- for (var n = new F(31), r = 0; r < 31; ++r) n[r] = t += 1 << e[r - 1];
33813
- for (var i = new ne(n[30]), r = 1; r < 30; ++r) for (var a = n[r]; a < n[r + 1]; ++a) i[a] = a - n[r] << 5 | r;
33811
+ ]), F = function(e, t) {
33812
+ for (var n = new re(31), r = 0; r < 31; ++r) n[r] = t += 1 << e[r - 1];
33813
+ for (var i = new ie(n[30]), r = 1; r < 30; ++r) for (var a = n[r]; a < n[r + 1]; ++a) i[a] = a - n[r] << 5 | r;
33814
33814
  return {
33815
33815
  b: n,
33816
33816
  r: i
33817
33817
  };
33818
- }, se = oe(re, 2), ce = se.b, le = se.r;
33819
- ce[28] = 258, le[258] = 28;
33820
- var ue = oe(ie, 0), de = ue.b;
33821
- ue.r;
33822
- for (var fe = new F(32768), I = 0; I < 32768; ++I) {
33823
- var pe = (I & 43690) >> 1 | (I & 21845) << 1;
33824
- pe = (pe & 52428) >> 2 | (pe & 13107) << 2, pe = (pe & 61680) >> 4 | (pe & 3855) << 4, fe[I] = ((pe & 65280) >> 8 | (pe & 255) << 8) >> 1;
33818
+ }, ce = F(ae, 2), le = ce.b, ue = ce.r;
33819
+ le[28] = 258, ue[258] = 28;
33820
+ var de = F(oe, 0), fe = de.b;
33821
+ de.r;
33822
+ for (var pe = new re(32768), me = 0; me < 32768; ++me) {
33823
+ var he = (me & 43690) >> 1 | (me & 21845) << 1;
33824
+ he = (he & 52428) >> 2 | (he & 13107) << 2, he = (he & 61680) >> 4 | (he & 3855) << 4, pe[me] = ((he & 65280) >> 8 | (he & 255) << 8) >> 1;
33825
33825
  }
33826
- for (var me = (function(e, t, n) {
33827
- for (var r = e.length, i = 0, a = new F(t); i < r; ++i) e[i] && ++a[e[i] - 1];
33828
- var o = new F(t);
33826
+ for (var ge = (function(e, t, n) {
33827
+ for (var r = e.length, i = 0, a = new re(t); i < r; ++i) e[i] && ++a[e[i] - 1];
33828
+ var o = new re(t);
33829
33829
  for (i = 1; i < t; ++i) o[i] = o[i - 1] + a[i - 1] << 1;
33830
33830
  var s;
33831
33831
  if (n) {
33832
- s = new F(1 << t);
33832
+ s = new re(1 << t);
33833
33833
  var c = 15 - t;
33834
- 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[fe[d] >> c] = l;
33835
- } else for (s = new F(r), i = 0; i < r; ++i) e[i] && (s[i] = fe[o[e[i] - 1]++] >> 15 - e[i]);
33834
+ 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[pe[d] >> c] = l;
33835
+ } else for (s = new re(r), i = 0; i < r; ++i) e[i] && (s[i] = pe[o[e[i] - 1]++] >> 15 - e[i]);
33836
33836
  return s;
33837
- }), he = new te(288), I = 0; I < 144; ++I) he[I] = 8;
33838
- for (var I = 144; I < 256; ++I) he[I] = 9;
33839
- for (var I = 256; I < 280; ++I) he[I] = 7;
33840
- for (var I = 280; I < 288; ++I) he[I] = 8;
33841
- for (var ge = new te(32), I = 0; I < 32; ++I) ge[I] = 5;
33842
- var _e = /*#__PURE__*/ me(he, 9, 1), ve = /*#__PURE__*/ me(ge, 5, 1), ye = function(e) {
33837
+ }), _e = new P(288), me = 0; me < 144; ++me) _e[me] = 8;
33838
+ for (var me = 144; me < 256; ++me) _e[me] = 9;
33839
+ for (var me = 256; me < 280; ++me) _e[me] = 7;
33840
+ for (var me = 280; me < 288; ++me) _e[me] = 8;
33841
+ for (var ve = new P(32), me = 0; me < 32; ++me) ve[me] = 5;
33842
+ var ye = /*#__PURE__*/ ge(_e, 9, 1), be = /*#__PURE__*/ ge(ve, 5, 1), xe = function(e) {
33843
33843
  for (var t = e[0], n = 1; n < e.length; ++n) e[n] > t && (t = e[n]);
33844
33844
  return t;
33845
- }, be = function(e, t, n) {
33845
+ }, Se = function(e, t, n) {
33846
33846
  var r = t / 8 | 0;
33847
33847
  return (e[r] | e[r + 1] << 8) >> (t & 7) & n;
33848
- }, xe = function(e, t) {
33848
+ }, Ce = function(e, t) {
33849
33849
  var n = t / 8 | 0;
33850
33850
  return (e[n] | e[n + 1] << 8 | e[n + 2] << 16) >> (t & 7);
33851
- }, Se = function(e) {
33851
+ }, we = function(e) {
33852
33852
  return (e + 7) / 8 | 0;
33853
- }, Ce = function(e, t, n) {
33854
- return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new te(e.subarray(t, n));
33855
- }, we = [
33853
+ }, Te = function(e, t, n) {
33854
+ return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new P(e.subarray(t, n));
33855
+ }, Ee = [
33856
33856
  "unexpected EOF",
33857
33857
  "invalid block type",
33858
33858
  "invalid length/literal",
@@ -33867,133 +33867,133 @@ var _e = /*#__PURE__*/ me(he, 9, 1), ve = /*#__PURE__*/ me(ge, 5, 1), ye = funct
33867
33867
  "filename too long",
33868
33868
  "stream finishing",
33869
33869
  "invalid zip data"
33870
- ], Te = function(e, t, n) {
33871
- var r = Error(t || we[e]);
33872
- if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r, Te), !n) throw r;
33870
+ ], De = function(e, t, n) {
33871
+ var r = Error(t || Ee[e]);
33872
+ if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r, De), !n) throw r;
33873
33873
  return r;
33874
- }, Ee = function(e, t, n, r) {
33874
+ }, Oe = function(e, t, n, r) {
33875
33875
  var i = e.length, a = r ? r.length : 0;
33876
- if (!i || t.f && !t.l) return n || new te(0);
33876
+ if (!i || t.f && !t.l) return n || new P(0);
33877
33877
  var o = !n, s = o || t.i != 2, c = t.i;
33878
- o && (n = new te(i * 3));
33878
+ o && (n = new P(i * 3));
33879
33879
  var l = function(e) {
33880
33880
  var t = n.length;
33881
33881
  if (e > t) {
33882
- var r = new te(Math.max(t * 2, e));
33882
+ var r = new P(Math.max(t * 2, e));
33883
33883
  r.set(n), n = r;
33884
33884
  }
33885
33885
  }, 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;
33886
33886
  do {
33887
33887
  if (!p) {
33888
- u = be(e, d, 1);
33889
- var v = be(e, d + 1, 3);
33888
+ u = Se(e, d, 1);
33889
+ var v = Se(e, d + 1, 3);
33890
33890
  if (d += 3, !v) {
33891
- var y = Se(d) + 4, b = e[y - 4] | e[y - 3] << 8, x = y + b;
33891
+ var y = we(d) + 4, b = e[y - 4] | e[y - 3] << 8, x = y + b;
33892
33892
  if (x > i) {
33893
- c && Te(0);
33893
+ c && De(0);
33894
33894
  break;
33895
33895
  }
33896
33896
  s && l(f + b), n.set(e.subarray(y, x), f), t.b = f += b, t.p = d = x * 8, t.f = u;
33897
33897
  continue;
33898
- } else if (v == 1) p = _e, m = ve, h = 9, g = 5;
33898
+ } else if (v == 1) p = ye, m = be, h = 9, g = 5;
33899
33899
  else if (v == 2) {
33900
- var S = be(e, d, 31) + 257, C = be(e, d + 10, 15) + 4, w = S + be(e, d + 5, 31) + 1;
33900
+ var S = Se(e, d, 31) + 257, C = Se(e, d + 10, 15) + 4, w = S + Se(e, d + 5, 31) + 1;
33901
33901
  d += 14;
33902
- for (var T = new te(w), E = new te(19), D = 0; D < C; ++D) E[ae[D]] = be(e, d + D * 3, 7);
33902
+ for (var T = new P(w), E = new P(19), D = 0; D < C; ++D) E[se[D]] = Se(e, d + D * 3, 7);
33903
33903
  d += C * 3;
33904
- for (var O = ye(E), k = (1 << O) - 1, A = me(E, O, 1), D = 0; D < w;) {
33905
- var j = A[be(e, d, k)];
33904
+ for (var O = xe(E), k = (1 << O) - 1, A = ge(E, O, 1), D = 0; D < w;) {
33905
+ var j = A[Se(e, d, k)];
33906
33906
  d += j & 15;
33907
33907
  var y = j >> 4;
33908
33908
  if (y < 16) T[D++] = y;
33909
33909
  else {
33910
- var M = 0, N = 0;
33911
- for (y == 16 ? (N = 3 + be(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (N = 3 + be(e, d, 7), d += 3) : y == 18 && (N = 11 + be(e, d, 127), d += 7); N--;) T[D++] = M;
33910
+ var M = 0, ee = 0;
33911
+ for (y == 16 ? (ee = 3 + Se(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (ee = 3 + Se(e, d, 7), d += 3) : y == 18 && (ee = 11 + Se(e, d, 127), d += 7); ee--;) T[D++] = M;
33912
33912
  }
33913
33913
  }
33914
- var ee = T.subarray(0, S), P = T.subarray(S);
33915
- h = ye(ee), g = ye(P), p = me(ee, h, 1), m = me(P, g, 1);
33916
- } else Te(1);
33914
+ var N = T.subarray(0, S), te = T.subarray(S);
33915
+ h = xe(N), g = xe(te), p = ge(N, h, 1), m = ge(te, g, 1);
33916
+ } else De(1);
33917
33917
  if (d > _) {
33918
- c && Te(0);
33918
+ c && De(0);
33919
33919
  break;
33920
33920
  }
33921
33921
  }
33922
33922
  s && l(f + 131072);
33923
- for (var F = (1 << h) - 1, ne = (1 << g) - 1, oe = d;; oe = d) {
33924
- var M = p[xe(e, d) & F], se = M >> 4;
33923
+ for (var ne = (1 << h) - 1, re = (1 << g) - 1, ie = d;; ie = d) {
33924
+ var M = p[Ce(e, d) & ne], F = M >> 4;
33925
33925
  if (d += M & 15, d > _) {
33926
- c && Te(0);
33926
+ c && De(0);
33927
33927
  break;
33928
33928
  }
33929
- if (M || Te(2), se < 256) n[f++] = se;
33930
- else if (se == 256) {
33931
- oe = d, p = null;
33929
+ if (M || De(2), F < 256) n[f++] = F;
33930
+ else if (F == 256) {
33931
+ ie = d, p = null;
33932
33932
  break;
33933
33933
  } else {
33934
- var le = se - 254;
33935
- if (se > 264) {
33936
- var D = se - 257, ue = re[D];
33937
- le = be(e, d, (1 << ue) - 1) + ce[D], d += ue;
33938
- }
33939
- var fe = m[xe(e, d) & ne], I = fe >> 4;
33940
- fe || Te(3), d += fe & 15;
33941
- var P = de[I];
33942
- if (I > 3) {
33943
- var ue = ie[I];
33944
- P += xe(e, d) & (1 << ue) - 1, d += ue;
33934
+ var ce = F - 254;
33935
+ if (F > 264) {
33936
+ var D = F - 257, ue = ae[D];
33937
+ ce = Se(e, d, (1 << ue) - 1) + le[D], d += ue;
33938
+ }
33939
+ var de = m[Ce(e, d) & re], pe = de >> 4;
33940
+ de || De(3), d += de & 15;
33941
+ var te = fe[pe];
33942
+ if (pe > 3) {
33943
+ var ue = oe[pe];
33944
+ te += Ce(e, d) & (1 << ue) - 1, d += ue;
33945
33945
  }
33946
33946
  if (d > _) {
33947
- c && Te(0);
33947
+ c && De(0);
33948
33948
  break;
33949
33949
  }
33950
33950
  s && l(f + 131072);
33951
- var pe = f + le;
33952
- if (f < P) {
33953
- var he = a - P, ge = Math.min(P, pe);
33954
- for (he + f < 0 && Te(3); f < ge; ++f) n[f] = r[he + f];
33951
+ var me = f + ce;
33952
+ if (f < te) {
33953
+ var he = a - te, _e = Math.min(te, me);
33954
+ for (he + f < 0 && De(3); f < _e; ++f) n[f] = r[he + f];
33955
33955
  }
33956
- for (; f < pe; ++f) n[f] = n[f - P];
33956
+ for (; f < me; ++f) n[f] = n[f - te];
33957
33957
  }
33958
33958
  }
33959
- t.l = p, t.p = oe, t.b = f, t.f = u, p && (u = 1, t.m = h, t.d = m, t.n = g);
33959
+ t.l = p, t.p = ie, t.b = f, t.f = u, p && (u = 1, t.m = h, t.d = m, t.n = g);
33960
33960
  } while (!u);
33961
- return f != n.length && o ? Ce(n, 0, f) : n.subarray(0, f);
33962
- }, De = /*#__PURE__*/ new te(0), Oe = function(e) {
33963
- (e[0] != 31 || e[1] != 139 || e[2] != 8) && Te(6, "invalid gzip data");
33961
+ return f != n.length && o ? Te(n, 0, f) : n.subarray(0, f);
33962
+ }, ke = /*#__PURE__*/ new P(0), Ae = function(e) {
33963
+ (e[0] != 31 || e[1] != 139 || e[2] != 8) && De(6, "invalid gzip data");
33964
33964
  var t = e[3], n = 10;
33965
33965
  t & 4 && (n += (e[10] | e[11] << 8) + 2);
33966
33966
  for (var r = (t >> 3 & 1) + (t >> 4 & 1); r > 0; r -= !e[n++]);
33967
33967
  return n + (t & 2);
33968
- }, ke = function(e) {
33968
+ }, je = function(e) {
33969
33969
  var t = e.length;
33970
33970
  return (e[t - 4] | e[t - 3] << 8 | e[t - 2] << 16 | e[t - 1] << 24) >>> 0;
33971
- }, Ae = function(e, t) {
33972
- return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) && Te(6, "invalid zlib data"), (e[1] >> 5 & 1) == +!t && Te(6, "invalid zlib data: " + (e[1] & 32 ? "need" : "unexpected") + " dictionary"), (e[1] >> 3 & 4) + 2;
33971
+ }, Me = function(e, t) {
33972
+ return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) && De(6, "invalid zlib data"), (e[1] >> 5 & 1) == +!t && De(6, "invalid zlib data: " + (e[1] & 32 ? "need" : "unexpected") + " dictionary"), (e[1] >> 3 & 4) + 2;
33973
33973
  };
33974
- function je(e, t) {
33975
- return Ee(e, { i: 2 }, t && t.out, t && t.dictionary);
33976
- }
33977
- function Me(e, t) {
33978
- var n = Oe(e);
33979
- return n + 8 > e.length && Te(6, "invalid gzip data"), Ee(e.subarray(n, -8), { i: 2 }, t && t.out || new te(ke(e)), t && t.dictionary);
33980
- }
33981
33974
  function Ne(e, t) {
33982
- return Ee(e.subarray(Ae(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
33975
+ return Oe(e, { i: 2 }, t && t.out, t && t.dictionary);
33983
33976
  }
33984
33977
  function Pe(e, t) {
33985
- return e[0] == 31 && e[1] == 139 && e[2] == 8 ? Me(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? je(e, t) : Ne(e, t);
33978
+ var n = Ae(e);
33979
+ return n + 8 > e.length && De(6, "invalid gzip data"), Oe(e.subarray(n, -8), { i: 2 }, t && t.out || new P(je(e)), t && t.dictionary);
33980
+ }
33981
+ function Fe(e, t) {
33982
+ return Oe(e.subarray(Me(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
33983
+ }
33984
+ function Ie(e, t) {
33985
+ return e[0] == 31 && e[1] == 139 && e[2] == 8 ? Pe(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? Ne(e, t) : Fe(e, t);
33986
33986
  }
33987
- var Fe = typeof TextDecoder < "u" && /*#__PURE__*/ new TextDecoder();
33987
+ var Le = typeof TextDecoder < "u" && /*#__PURE__*/ new TextDecoder();
33988
33988
  try {
33989
- Fe.decode(De, { stream: !0 });
33989
+ Le.decode(ke, { stream: !0 });
33990
33990
  } catch {}
33991
33991
  //#endregion
33992
33992
  //#region ../../node_modules/.pnpm/pmtiles@4.4.1/node_modules/pmtiles/dist/esm/index.js
33993
- var Ie = Object.defineProperty, R = Math.pow, Le = (e, t) => Ie(e, "name", {
33993
+ var I = Object.defineProperty, Re = Math.pow, ze = (e, t) => I(e, "name", {
33994
33994
  value: t,
33995
33995
  configurable: !0
33996
- }), Re = (e, t, n) => new Promise((r, i) => {
33996
+ }), R = (e, t, n) => new Promise((r, i) => {
33997
33997
  var a = (e) => {
33998
33998
  try {
33999
33999
  s(n.next(e));
@@ -34009,10 +34009,10 @@ var Ie = Object.defineProperty, R = Math.pow, Le = (e, t) => Ie(e, "name", {
34009
34009
  }, s = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(a, o);
34010
34010
  s((n = n.apply(e, t)).next());
34011
34011
  });
34012
- Le((e, t) => {
34012
+ ze((e, t) => {
34013
34013
  let n = !1, r = "";
34014
34014
  return new (L.GridLayer.extend({
34015
- createTile: Le((t, i) => {
34015
+ createTile: ze((t, i) => {
34016
34016
  let a = document.createElement("img"), o = new AbortController(), s = o.signal;
34017
34017
  return a.cancel = () => {
34018
34018
  o.abort();
@@ -34028,7 +34028,7 @@ Le((e, t) => {
34028
34028
  if (e.name !== "AbortError") throw e;
34029
34029
  }), a;
34030
34030
  }, "createTile"),
34031
- _removeTile: Le(function(e) {
34031
+ _removeTile: ze(function(e) {
34032
34032
  let t = this._tiles[e];
34033
34033
  t && (t.el.cancel && t.el.cancel(), t.el.src && window.URL.revokeObjectURL(t.el.src), t.el.width = 0, t.el.height = 0, t.el.deleted = !0, L.DomUtil.remove(t.el), delete this._tiles[e], this.fire("tileunload", {
34034
34034
  tile: t.el,
@@ -34037,16 +34037,16 @@ Le((e, t) => {
34037
34037
  }, "_removeTile")
34038
34038
  }))(t);
34039
34039
  }, "leafletRasterLayer");
34040
- var ze = Le((e) => (t, n) => {
34040
+ var Be = ze((e) => (t, n) => {
34041
34041
  if (n instanceof AbortController) return e(t, n);
34042
34042
  let r = new AbortController();
34043
- return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel: Le(() => r.abort(), "cancel") };
34044
- }, "v3compat"), Be = class {
34043
+ return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel: ze(() => r.abort(), "cancel") };
34044
+ }, "v3compat"), Ve = class {
34045
34045
  constructor(e) {
34046
- this.tilev4 = Le((e, t) => Re(this, null, function* () {
34046
+ this.tilev4 = ze((e, t) => R(this, null, function* () {
34047
34047
  if (e.type === "json") {
34048
34048
  let n = e.url.substr(10), r = this.tiles.get(n);
34049
- if (r || (r = new ct(n), this.tiles.set(n, r)), this.metadata) {
34049
+ if (r || (r = new lt(n), this.tiles.set(n, r)), this.metadata) {
34050
34050
  let n = yield r.getTileJson(e.url);
34051
34051
  return t.signal.throwIfAborted(), { data: n };
34052
34052
  }
@@ -34066,7 +34066,7 @@ var ze = Le((e) => (t, n) => {
34066
34066
  let n = /* @__PURE__ */ new RegExp(/pmtiles:\/\/(.+)\/(\d+)\/(\d+)\/(\d+)/), r = e.url.match(n);
34067
34067
  if (!r) throw Error("Invalid PMTiles protocol URL");
34068
34068
  let i = r[1], a = this.tiles.get(i);
34069
- a || (a = new ct(i), this.tiles.set(i, a));
34069
+ a || (a = new lt(i), this.tiles.set(i, a));
34070
34070
  let o = r[2], s = r[3], c = r[4], l = yield a == null ? void 0 : a.getZxy(+o, +s, +c, t.signal);
34071
34071
  if (t.signal.throwIfAborted(), l) return {
34072
34072
  data: new Uint8Array(l.data),
@@ -34079,7 +34079,7 @@ var ze = Le((e) => (t, n) => {
34079
34079
  return { data: new Uint8Array() };
34080
34080
  }
34081
34081
  return { data: null };
34082
- }), "tilev4"), this.tile = ze(this.tilev4), this.tiles = /* @__PURE__ */ new Map(), this.metadata = (e == null ? void 0 : e.metadata) || !1, this.errorOnMissingTile = (e == null ? void 0 : e.errorOnMissingTile) || !1;
34082
+ }), "tilev4"), this.tile = Be(this.tilev4), this.tiles = /* @__PURE__ */ new Map(), this.metadata = (e == null ? void 0 : e.metadata) || !1, this.errorOnMissingTile = (e == null ? void 0 : e.errorOnMissingTile) || !1;
34083
34083
  }
34084
34084
  add(e) {
34085
34085
  this.tiles.set(e.source.getKey(), e);
@@ -34088,50 +34088,50 @@ var ze = Le((e) => (t, n) => {
34088
34088
  return this.tiles.get(e);
34089
34089
  }
34090
34090
  };
34091
- Le(Be, "Protocol");
34092
- var Ve = Be;
34093
- function He(e, t) {
34091
+ ze(Ve, "Protocol");
34092
+ var He = Ve;
34093
+ function Ue(e, t) {
34094
34094
  return (t >>> 0) * 4294967296 + (e >>> 0);
34095
34095
  }
34096
- Le(He, "toNum");
34097
- function Ue(e, t) {
34096
+ ze(Ue, "toNum");
34097
+ function We(e, t) {
34098
34098
  let n = t.buf, r = n[t.pos++], i = (r & 112) >> 4;
34099
- if (r < 128 || (r = n[t.pos++], i |= (r & 127) << 3, r < 128) || (r = n[t.pos++], i |= (r & 127) << 10, r < 128) || (r = n[t.pos++], i |= (r & 127) << 17, r < 128) || (r = n[t.pos++], i |= (r & 127) << 24, r < 128) || (r = n[t.pos++], i |= (r & 1) << 31, r < 128)) return He(e, i);
34099
+ if (r < 128 || (r = n[t.pos++], i |= (r & 127) << 3, r < 128) || (r = n[t.pos++], i |= (r & 127) << 10, r < 128) || (r = n[t.pos++], i |= (r & 127) << 17, r < 128) || (r = n[t.pos++], i |= (r & 127) << 24, r < 128) || (r = n[t.pos++], i |= (r & 1) << 31, r < 128)) return Ue(e, i);
34100
34100
  throw Error("Expected varint not more than 10 bytes");
34101
34101
  }
34102
- Le(Ue, "readVarintRemainder");
34103
- function We(e) {
34102
+ ze(We, "readVarintRemainder");
34103
+ function Ge(e) {
34104
34104
  let t = e.buf, n = t[e.pos++], r = n & 127;
34105
- return n < 128 || (n = t[e.pos++], r |= (n & 127) << 7, n < 128) || (n = t[e.pos++], r |= (n & 127) << 14, n < 128) || (n = t[e.pos++], r |= (n & 127) << 21, n < 128) ? r : (n = t[e.pos], r |= (n & 15) << 28, Ue(r, e));
34105
+ return n < 128 || (n = t[e.pos++], r |= (n & 127) << 7, n < 128) || (n = t[e.pos++], r |= (n & 127) << 14, n < 128) || (n = t[e.pos++], r |= (n & 127) << 21, n < 128) ? r : (n = t[e.pos], r |= (n & 15) << 28, We(r, e));
34106
34106
  }
34107
- Le(We, "readVarint");
34108
- function Ge(e, t, n, r, i) {
34107
+ ze(Ge, "readVarint");
34108
+ function Ke(e, t, n, r, i) {
34109
34109
  return i === 0 ? r === 0 ? [n, t] : [e - 1 - n, e - 1 - t] : [t, n];
34110
34110
  }
34111
- Le(Ge, "rotate");
34112
- function Ke(e, t, n) {
34111
+ ze(Ke, "rotate");
34112
+ function qe(e, t, n) {
34113
34113
  if (e > 26) throw Error("Tile zoom level exceeds max safe number limit (26)");
34114
34114
  if (t >= 1 << e || n >= 1 << e) throw Error("tile x/y outside zoom level bounds");
34115
34115
  let r = ((1 << e) * (1 << e) - 1) / 3, i = e - 1, [a, o] = [t, n];
34116
34116
  for (let e = 1 << i; e > 0; e >>= 1) {
34117
34117
  let t = a & e, n = o & e;
34118
- r += (3 * t ^ n) * (1 << i), [a, o] = Ge(e, a, o, t, n), i--;
34118
+ r += (3 * t ^ n) * (1 << i), [a, o] = Ke(e, a, o, t, n), i--;
34119
34119
  }
34120
34120
  return r;
34121
34121
  }
34122
- Le(Ke, "zxyToTileId");
34123
- function qe(e) {
34122
+ ze(qe, "zxyToTileId");
34123
+ function z(e) {
34124
34124
  let t = 3 * e + 1;
34125
34125
  return t < 4294967296 ? 31 - Math.clz32(t) : 63 - Math.clz32(t / 4294967296);
34126
34126
  }
34127
- Le(qe, "tileIdToZ");
34128
- function z(e) {
34129
- let t = qe(e) >> 1;
34127
+ ze(z, "tileIdToZ");
34128
+ function Je(e) {
34129
+ let t = z(e) >> 1;
34130
34130
  if (t > 26) throw Error("Tile zoom level exceeds max safe number limit (26)");
34131
34131
  let n = e - ((1 << t) * (1 << t) - 1) / 3, r = 0, i = 0, a = 1 << t;
34132
34132
  for (let e = 1; e < a; e <<= 1) {
34133
34133
  let t = e & n / 2, a = e & (n ^ t);
34134
- [r, i] = Ge(e, r, i, t, a), n /= 2, r += t, i += a;
34134
+ [r, i] = Ke(e, r, i, t, a), n /= 2, r += t, i += a;
34135
34135
  }
34136
34136
  return [
34137
34137
  t,
@@ -34139,13 +34139,13 @@ function z(e) {
34139
34139
  i
34140
34140
  ];
34141
34141
  }
34142
- Le(z, "tileIdToZxy");
34143
- var Je = ((e) => (e[e.Unknown = 0] = "Unknown", e[e.None = 1] = "None", e[e.Gzip = 2] = "Gzip", e[e.Brotli = 3] = "Brotli", e[e.Zstd = 4] = "Zstd", e))(Je || {});
34144
- function Ye(e, t) {
34145
- return Re(this, null, function* () {
34142
+ ze(Je, "tileIdToZxy");
34143
+ var Ye = ((e) => (e[e.Unknown = 0] = "Unknown", e[e.None = 1] = "None", e[e.Gzip = 2] = "Gzip", e[e.Brotli = 3] = "Brotli", e[e.Zstd = 4] = "Zstd", e))(Ye || {});
34144
+ function Xe(e, t) {
34145
+ return R(this, null, function* () {
34146
34146
  if (t === 1 || t === 0) return e;
34147
34147
  if (t === 2) {
34148
- if (globalThis.DecompressionStream === void 0) return Pe(new Uint8Array(e));
34148
+ if (globalThis.DecompressionStream === void 0) return Ie(new Uint8Array(e));
34149
34149
  let t = new Response(e).body;
34150
34150
  if (!t) throw Error("Failed to read response stream");
34151
34151
  let n = t.pipeThrough(new globalThis.DecompressionStream("gzip"));
@@ -34154,14 +34154,14 @@ function Ye(e, t) {
34154
34154
  throw Error("Compression method not supported");
34155
34155
  });
34156
34156
  }
34157
- Le(Ye, "defaultDecompress");
34158
- var Xe = ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Mvt = 1] = "Mvt", e[e.Png = 2] = "Png", e[e.Jpeg = 3] = "Jpeg", e[e.Webp = 4] = "Webp", e[e.Avif = 5] = "Avif", e[e.Mlt = 6] = "Mlt", e))(Xe || {});
34159
- function Ze(e) {
34157
+ ze(Xe, "defaultDecompress");
34158
+ var Ze = ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Mvt = 1] = "Mvt", e[e.Png = 2] = "Png", e[e.Jpeg = 3] = "Jpeg", e[e.Webp = 4] = "Webp", e[e.Avif = 5] = "Avif", e[e.Mlt = 6] = "Mlt", e))(Ze || {});
34159
+ function B(e) {
34160
34160
  return e === 1 ? ".mvt" : e === 2 ? ".png" : e === 3 ? ".jpg" : e === 4 ? ".webp" : e === 5 ? ".avif" : e === 6 ? ".mlt" : "";
34161
34161
  }
34162
- Le(Ze, "tileTypeExt");
34163
- var B = 127;
34164
- function V(e, t) {
34162
+ ze(B, "tileTypeExt");
34163
+ var V = 127;
34164
+ function H(e, t) {
34165
34165
  let n = 0, r = e.length - 1;
34166
34166
  for (; n <= r;) {
34167
34167
  let i = r + n >> 1, a = t - e[i].tileId;
@@ -34171,7 +34171,7 @@ function V(e, t) {
34171
34171
  }
34172
34172
  return r >= 0 && (e[r].runLength === 0 || t - e[r].tileId < e[r].runLength) ? e[r] : null;
34173
34173
  }
34174
- Le(V, "findTile"), Le(class {
34174
+ ze(H, "findTile"), ze(class {
34175
34175
  constructor(e) {
34176
34176
  this.file = e;
34177
34177
  }
@@ -34179,12 +34179,12 @@ Le(V, "findTile"), Le(class {
34179
34179
  return this.file.name;
34180
34180
  }
34181
34181
  getBytes(e, t) {
34182
- return Re(this, null, function* () {
34182
+ return R(this, null, function* () {
34183
34183
  return { data: yield this.file.slice(e, e + t).arrayBuffer() };
34184
34184
  });
34185
34185
  }
34186
34186
  }, "FileSource");
34187
- var H = class {
34187
+ var Qe = class {
34188
34188
  constructor(e, t = new Headers(), n = void 0) {
34189
34189
  var r, i;
34190
34190
  this.url = e, this.customHeaders = t, this.credentials = n, this.mustReload = !1;
@@ -34200,7 +34200,7 @@ var H = class {
34200
34200
  this.customHeaders = e;
34201
34201
  }
34202
34202
  getBytes(e, t, n, r) {
34203
- return Re(this, null, function* () {
34203
+ return R(this, null, function* () {
34204
34204
  let i, a;
34205
34205
  n ? a = n : (i = new AbortController(), a = i.signal);
34206
34206
  let o = new Headers(this.customHeaders);
@@ -34225,7 +34225,7 @@ var H = class {
34225
34225
  });
34226
34226
  }
34227
34227
  let l = c.headers.get("Etag");
34228
- if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new nt(`Server returned non-matching ETag ${r} after one retry. Check browser extensions and servers for issues that may affect correct ETag headers.`);
34228
+ if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new rt(`Server returned non-matching ETag ${r} after one retry. Check browser extensions and servers for issues that may affect correct ETag headers.`);
34229
34229
  if (c.status >= 300) throw Error(`Bad response code: ${c.status}`);
34230
34230
  let u = c.headers.get("Content-Length");
34231
34231
  if (c.status === 200 && (!u || +u > t)) throw i && i.abort(), /* @__PURE__ */ Error("Server returned no content-length header or content-length exceeding request. Check that your storage backend supports HTTP Byte Serving.");
@@ -34238,29 +34238,29 @@ var H = class {
34238
34238
  });
34239
34239
  }
34240
34240
  };
34241
- Le(H, "FetchSource");
34242
- var Qe = H;
34243
- function $e(e, t) {
34241
+ ze(Qe, "FetchSource");
34242
+ var $e = Qe;
34243
+ function et(e, t) {
34244
34244
  let n = e.getUint32(t + 4, !0), r = e.getUint32(t + 0, !0);
34245
- return n * R(2, 32) + r;
34245
+ return n * Re(2, 32) + r;
34246
34246
  }
34247
- Le($e, "getUint64");
34248
- function et(e, t) {
34247
+ ze(et, "getUint64");
34248
+ function U(e, t) {
34249
34249
  let n = new DataView(e), r = n.getUint8(7);
34250
34250
  if (r > 3) throw Error(`Archive is spec version ${r} but this library supports up to spec version 3`);
34251
34251
  return {
34252
34252
  specVersion: r,
34253
- rootDirectoryOffset: $e(n, 8),
34254
- rootDirectoryLength: $e(n, 16),
34255
- jsonMetadataOffset: $e(n, 24),
34256
- jsonMetadataLength: $e(n, 32),
34257
- leafDirectoryOffset: $e(n, 40),
34258
- leafDirectoryLength: $e(n, 48),
34259
- tileDataOffset: $e(n, 56),
34260
- tileDataLength: $e(n, 64),
34261
- numAddressedTiles: $e(n, 72),
34262
- numTileEntries: $e(n, 80),
34263
- numTileContents: $e(n, 88),
34253
+ rootDirectoryOffset: et(n, 8),
34254
+ rootDirectoryLength: et(n, 16),
34255
+ jsonMetadataOffset: et(n, 24),
34256
+ jsonMetadataLength: et(n, 32),
34257
+ leafDirectoryOffset: et(n, 40),
34258
+ leafDirectoryLength: et(n, 48),
34259
+ tileDataOffset: et(n, 56),
34260
+ tileDataLength: et(n, 64),
34261
+ numAddressedTiles: et(n, 72),
34262
+ numTileEntries: et(n, 80),
34263
+ numTileContents: et(n, 88),
34264
34264
  clustered: n.getUint8(96) === 1,
34265
34265
  internalCompression: n.getUint8(97),
34266
34266
  tileCompression: n.getUint8(98),
@@ -34277,14 +34277,14 @@ function et(e, t) {
34277
34277
  etag: t
34278
34278
  };
34279
34279
  }
34280
- Le(et, "bytesToHeader");
34281
- function U(e) {
34280
+ ze(U, "bytesToHeader");
34281
+ function tt(e) {
34282
34282
  let t = {
34283
34283
  buf: new Uint8Array(e),
34284
34284
  pos: 0
34285
- }, n = We(t), r = [], i = 0;
34285
+ }, n = Ge(t), r = [], i = 0;
34286
34286
  for (let e = 0; e < n; e++) {
34287
- let e = We(t);
34287
+ let e = Ge(t);
34288
34288
  r.push({
34289
34289
  tileId: i + e,
34290
34290
  offset: 0,
@@ -34292,23 +34292,23 @@ function U(e) {
34292
34292
  runLength: 1
34293
34293
  }), i += e;
34294
34294
  }
34295
- for (let e = 0; e < n; e++) r[e].runLength = We(t);
34296
- for (let e = 0; e < n; e++) r[e].length = We(t);
34295
+ for (let e = 0; e < n; e++) r[e].runLength = Ge(t);
34296
+ for (let e = 0; e < n; e++) r[e].length = Ge(t);
34297
34297
  for (let e = 0; e < n; e++) {
34298
- let n = We(t);
34298
+ let n = Ge(t);
34299
34299
  n === 0 && e > 0 ? r[e].offset = r[e - 1].offset + r[e - 1].length : r[e].offset = n - 1;
34300
34300
  }
34301
34301
  return r;
34302
34302
  }
34303
- Le(U, "deserializeIndex");
34304
- var tt = class extends Error {};
34305
- Le(tt, "EtagMismatch");
34306
- var nt = tt;
34307
- function rt(e, t) {
34308
- return Re(this, null, function* () {
34303
+ ze(tt, "deserializeIndex");
34304
+ var nt = class extends Error {};
34305
+ ze(nt, "EtagMismatch");
34306
+ var rt = nt;
34307
+ function it(e, t) {
34308
+ return R(this, null, function* () {
34309
34309
  let n = yield e.getBytes(0, 16384);
34310
34310
  if (new DataView(n.data).getUint16(0, !0) !== 19792) throw Error("Wrong magic number for PMTiles archive");
34311
- let r = et(n.data.slice(0, B), n.etag), i = n.data.slice(r.rootDirectoryOffset, r.rootDirectoryOffset + r.rootDirectoryLength), a = `${e.getKey()}|${r.etag || ""}|${r.rootDirectoryOffset}|${r.rootDirectoryLength}`, o = U(yield t(i, r.internalCompression));
34311
+ let r = U(n.data.slice(0, V), n.etag), i = n.data.slice(r.rootDirectoryOffset, r.rootDirectoryOffset + r.rootDirectoryLength), a = `${e.getKey()}|${r.etag || ""}|${r.rootDirectoryOffset}|${r.rootDirectoryLength}`, o = tt(yield t(i, r.internalCompression));
34312
34312
  return [r, [
34313
34313
  a,
34314
34314
  o.length,
@@ -34316,23 +34316,23 @@ function rt(e, t) {
34316
34316
  ]];
34317
34317
  });
34318
34318
  }
34319
- Le(rt, "getHeaderAndRoot");
34320
- function it(e, t, n, r, i) {
34321
- return Re(this, null, function* () {
34322
- let a = U(yield t((yield e.getBytes(n, r, void 0, i.etag)).data, i.internalCompression));
34319
+ ze(it, "getHeaderAndRoot");
34320
+ function at(e, t, n, r, i) {
34321
+ return R(this, null, function* () {
34322
+ let a = tt(yield t((yield e.getBytes(n, r, void 0, i.etag)).data, i.internalCompression));
34323
34323
  if (a.length === 0) throw Error("Empty directory is invalid");
34324
34324
  return a;
34325
34325
  });
34326
34326
  }
34327
- Le(it, "getDirectory"), Le(class {
34328
- constructor(e = 100, t = !0, n = Ye) {
34327
+ ze(at, "getDirectory"), ze(class {
34328
+ constructor(e = 100, t = !0, n = Xe) {
34329
34329
  this.cache = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
34330
34330
  }
34331
34331
  getHeader(e) {
34332
- return Re(this, null, function* () {
34332
+ return R(this, null, function* () {
34333
34333
  let t = e.getKey(), n = this.cache.get(t);
34334
34334
  if (n) return n.lastUsed = this.counter++, n.data;
34335
- let r = yield rt(e, this.decompress);
34335
+ let r = yield it(e, this.decompress);
34336
34336
  return r[1] && this.cache.set(r[1][0], {
34337
34337
  lastUsed: this.counter++,
34338
34338
  data: r[1][2]
@@ -34343,10 +34343,10 @@ Le(it, "getDirectory"), Le(class {
34343
34343
  });
34344
34344
  }
34345
34345
  getDirectory(e, t, n, r) {
34346
- return Re(this, null, function* () {
34346
+ return R(this, null, function* () {
34347
34347
  let i = `${e.getKey()}|${r.etag || ""}|${t}|${n}`, a = this.cache.get(i);
34348
34348
  if (a) return a.lastUsed = this.counter++, a.data;
34349
- let o = yield it(e, this.decompress, t, n, r);
34349
+ let o = yield at(e, this.decompress, t, n, r);
34350
34350
  return this.cache.set(i, {
34351
34351
  lastUsed: this.counter++,
34352
34352
  data: o
@@ -34362,21 +34362,21 @@ Le(it, "getDirectory"), Le(class {
34362
34362
  }
34363
34363
  }
34364
34364
  invalidate(e) {
34365
- return Re(this, null, function* () {
34365
+ return R(this, null, function* () {
34366
34366
  this.cache.delete(e.getKey());
34367
34367
  });
34368
34368
  }
34369
34369
  }, "ResolvedValueCache");
34370
- var at = class {
34371
- constructor(e = 100, t = !0, n = Ye) {
34370
+ var ot = class {
34371
+ constructor(e = 100, t = !0, n = Xe) {
34372
34372
  this.cache = /* @__PURE__ */ new Map(), this.invalidations = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
34373
34373
  }
34374
34374
  getHeader(e) {
34375
- return Re(this, null, function* () {
34375
+ return R(this, null, function* () {
34376
34376
  let t = e.getKey(), n = this.cache.get(t);
34377
34377
  if (n) return n.lastUsed = this.counter++, yield n.data;
34378
34378
  let r = new Promise((t, n) => {
34379
- rt(e, this.decompress).then((e) => {
34379
+ it(e, this.decompress).then((e) => {
34380
34380
  e[1] && this.cache.set(e[1][0], {
34381
34381
  lastUsed: this.counter++,
34382
34382
  data: Promise.resolve(e[1][2])
@@ -34392,11 +34392,11 @@ var at = class {
34392
34392
  });
34393
34393
  }
34394
34394
  getDirectory(e, t, n, r) {
34395
- return Re(this, null, function* () {
34395
+ return R(this, null, function* () {
34396
34396
  let i = `${e.getKey()}|${r.etag || ""}|${t}|${n}`, a = this.cache.get(i);
34397
34397
  if (a) return a.lastUsed = this.counter++, yield a.data;
34398
34398
  let o = new Promise((i, a) => {
34399
- it(e, this.decompress, t, n, r).then((e) => {
34399
+ at(e, this.decompress, t, n, r).then((e) => {
34400
34400
  i(e), this.prune();
34401
34401
  }).catch((e) => {
34402
34402
  a(e);
@@ -34417,7 +34417,7 @@ var at = class {
34417
34417
  }
34418
34418
  }
34419
34419
  invalidate(e) {
34420
- return Re(this, null, function* () {
34420
+ return R(this, null, function* () {
34421
34421
  let t = e.getKey();
34422
34422
  if (this.invalidations.get(t)) return yield this.invalidations.get(t);
34423
34423
  this.cache.delete(e.getKey());
@@ -34432,23 +34432,23 @@ var at = class {
34432
34432
  });
34433
34433
  }
34434
34434
  };
34435
- Le(at, "SharedPromiseCache");
34436
- var ot = at, st = class {
34435
+ ze(ot, "SharedPromiseCache");
34436
+ var st = ot, ct = class {
34437
34437
  constructor(e, t, n) {
34438
- typeof e == "string" ? this.source = new Qe(e) : this.source = e, n ? this.decompress = n : this.decompress = Ye, t ? this.cache = t : this.cache = new ot();
34438
+ typeof e == "string" ? this.source = new $e(e) : this.source = e, n ? this.decompress = n : this.decompress = Xe, t ? this.cache = t : this.cache = new st();
34439
34439
  }
34440
34440
  getHeader() {
34441
- return Re(this, null, function* () {
34441
+ return R(this, null, function* () {
34442
34442
  return yield this.cache.getHeader(this.source);
34443
34443
  });
34444
34444
  }
34445
34445
  getZxyAttempt(e, t, n, r) {
34446
- return Re(this, null, function* () {
34447
- let i = Ke(e, t, n), a = yield this.cache.getHeader(this.source);
34446
+ return R(this, null, function* () {
34447
+ let i = qe(e, t, n), a = yield this.cache.getHeader(this.source);
34448
34448
  if (e < a.minZoom || e > a.maxZoom) return;
34449
34449
  let o = a.rootDirectoryOffset, s = a.rootDirectoryLength;
34450
34450
  for (let e = 0; e <= 3; e++) {
34451
- let e = V(yield this.cache.getDirectory(this.source, o, s, a), i);
34451
+ let e = H(yield this.cache.getDirectory(this.source, o, s, a), i);
34452
34452
  if (e) {
34453
34453
  if (e.runLength > 0) {
34454
34454
  let t = yield this.source.getBytes(a.tileDataOffset + e.offset, e.length, r, a.etag);
@@ -34465,38 +34465,38 @@ var ot = at, st = class {
34465
34465
  });
34466
34466
  }
34467
34467
  getZxy(e, t, n, r) {
34468
- return Re(this, null, function* () {
34468
+ return R(this, null, function* () {
34469
34469
  try {
34470
34470
  return yield this.getZxyAttempt(e, t, n, r);
34471
34471
  } catch (i) {
34472
- if (i instanceof nt) return this.cache.invalidate(this.source), yield this.getZxyAttempt(e, t, n, r);
34472
+ if (i instanceof rt) return this.cache.invalidate(this.source), yield this.getZxyAttempt(e, t, n, r);
34473
34473
  throw i;
34474
34474
  }
34475
34475
  });
34476
34476
  }
34477
34477
  getMetadataAttempt() {
34478
- return Re(this, null, function* () {
34478
+ return R(this, null, function* () {
34479
34479
  let e = yield this.cache.getHeader(this.source), t = yield this.source.getBytes(e.jsonMetadataOffset, e.jsonMetadataLength, void 0, e.etag), n = yield this.decompress(t.data, e.internalCompression), r = new TextDecoder("utf-8");
34480
34480
  return JSON.parse(r.decode(n));
34481
34481
  });
34482
34482
  }
34483
34483
  getMetadata() {
34484
- return Re(this, null, function* () {
34484
+ return R(this, null, function* () {
34485
34485
  try {
34486
34486
  return yield this.getMetadataAttempt();
34487
34487
  } catch (e) {
34488
- if (e instanceof nt) return this.cache.invalidate(this.source), yield this.getMetadataAttempt();
34488
+ if (e instanceof rt) return this.cache.invalidate(this.source), yield this.getMetadataAttempt();
34489
34489
  throw e;
34490
34490
  }
34491
34491
  });
34492
34492
  }
34493
34493
  getTileJson(e) {
34494
- return Re(this, null, function* () {
34494
+ return R(this, null, function* () {
34495
34495
  let t = yield this.getHeader(), n = yield this.getMetadata();
34496
34496
  return {
34497
34497
  tilejson: "3.0.0",
34498
34498
  scheme: "xyz",
34499
- tiles: [`${e}/{z}/{x}/{y}${Ze(t.tileType)}`],
34499
+ tiles: [`${e}/{z}/{x}/{y}${B(t.tileType)}`],
34500
34500
  vector_layers: n.vector_layers,
34501
34501
  attribution: n.attribution,
34502
34502
  description: n.description,
@@ -34519,14 +34519,14 @@ var ot = at, st = class {
34519
34519
  });
34520
34520
  }
34521
34521
  };
34522
- Le(st, "PMTiles");
34523
- var ct = st, lt = r(), ut = "expofp-map-dim", dt = "expofp-map-dim-source", ft = "3d-expofp", pt = null, mt = [
34522
+ ze(ct, "PMTiles");
34523
+ var lt = ct, ut = r(), dt = "expofp-map-dim", ft = "expofp-map-dim-source", pt = "3d-expofp", mt = null, ht = [
34524
34524
  "coalesce",
34525
34525
  ["get", "name:en"],
34526
34526
  ["get", "name_en"],
34527
34527
  ["get", "name:latin"],
34528
34528
  ["get", "name"]
34529
- ], ht = {
34529
+ ], gt = {
34530
34530
  type: "Feature",
34531
34531
  geometry: {
34532
34532
  type: "Polygon",
@@ -34540,41 +34540,41 @@ var ct = st, lt = r(), ut = "expofp-map-dim", dt = "expofp-map-dim-source", ft =
34540
34540
  },
34541
34541
  properties: {}
34542
34542
  };
34543
- function gt(e) {
34543
+ function _t(e) {
34544
34544
  if (!e || typeof e != "object") return !1;
34545
34545
  let t = e.length;
34546
34546
  if (typeof t != "number" || t < 16) return !1;
34547
34547
  let n = e[0];
34548
34548
  return typeof n == "number" && Number.isFinite(n);
34549
34549
  }
34550
- function _t(e) {
34550
+ function vt(e) {
34551
34551
  var t;
34552
- if (gt(e)) return Array.from(e);
34552
+ if (_t(e)) return Array.from(e);
34553
34553
  let n = e, r = n == null || (t = n.defaultProjectionData) == null ? void 0 : t.mainMatrix;
34554
- return gt(r) ? Array.from(r) : (console.warn("Maplibre custom layer received an unsupported projection matrix payload.", e), null);
34555
- }
34556
- function vt(e) {
34557
- return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) => vt(e)) : !e || typeof e != "object" ? !1 : Object.values(e).some((e) => vt(e));
34554
+ return _t(r) ? Array.from(r) : (console.warn("Maplibre custom layer received an unsupported projection matrix payload.", e), null);
34558
34555
  }
34559
34556
  function yt(e) {
34560
- return e.type !== "symbol" || !e.id || !e.layout ? !1 : vt(e.layout["text-field"]);
34557
+ return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) => yt(e)) : !e || typeof e != "object" ? !1 : Object.values(e).some((e) => yt(e));
34561
34558
  }
34562
34559
  function bt(e) {
34560
+ return e.type !== "symbol" || !e.id || !e.layout ? !1 : yt(e.layout["text-field"]);
34561
+ }
34562
+ function xt(e) {
34563
34563
  var t;
34564
34564
  let n = e.getStyle();
34565
- for (let r of (t = n.layers) == null ? [] : t) yt(r) && e.setLayoutProperty(r.id, "text-field", mt);
34565
+ for (let r of (t = n.layers) == null ? [] : t) bt(r) && e.setLayoutProperty(r.id, "text-field", ht);
34566
34566
  }
34567
- function xt() {
34568
- if (!pt) {
34569
- pt = new Ve();
34567
+ function St() {
34568
+ if (!mt) {
34569
+ mt = new He();
34570
34570
  try {
34571
- (0, P.addProtocol)("pmtiles", pt.tile);
34571
+ (0, ne.addProtocol)("pmtiles", mt.tile);
34572
34572
  } catch (e) {
34573
34573
  console.warn("Maplibre PMTiles protocol registration failed.", e);
34574
34574
  }
34575
34575
  }
34576
34576
  }
34577
- function St({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapOptions: i, onRendererReady: a, onMapDimLayerReady: o, onMapLoadError: c }) {
34577
+ function Ct({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapOptions: i, onRendererReady: a, onMapDimLayerReady: o, onMapLoadError: c }) {
34578
34578
  let l = (0, N.useRef)(null), u = (0, N.useRef)(null), d = (0, N.useRef)(null), f = (0, N.useRef)(a), p = (0, N.useRef)(o), m = (0, N.useRef)(c), h = (0, N.useRef)({
34579
34579
  sceneDef: e,
34580
34580
  geoConfig: t,
@@ -34593,7 +34593,7 @@ function St({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34593
34593
  g.rootLayer.children = _.filter((e) => {
34594
34594
  var t;
34595
34595
  return (e == null || (t = e.name) == null ? void 0 : t.toString().toLowerCase()) !== "areamap";
34596
- }), g.background = void 0, g.staticTransform = i, xt();
34596
+ }), g.background = void 0, g.staticTransform = i, St();
34597
34597
  let v = r.bounds ? {
34598
34598
  bounds: r.bounds,
34599
34599
  fitBoundsOptions: {
@@ -34603,7 +34603,7 @@ function St({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34603
34603
  } : {
34604
34604
  center: r.center,
34605
34605
  zoom: r.zoom
34606
- }, y = new P.Map({
34606
+ }, y = new ne.Map({
34607
34607
  container: l.current,
34608
34608
  style: a.style,
34609
34609
  ...v,
@@ -34620,7 +34620,7 @@ function St({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34620
34620
  y.isStyleLoaded() || (t = m.current) == null || t.call(m, (n = e == null ? void 0 : e.error) == null ? e : n);
34621
34621
  });
34622
34622
  let b = {
34623
- id: ft,
34623
+ id: pt,
34624
34624
  type: "custom",
34625
34625
  renderingMode: "3d",
34626
34626
  onAdd(e, t) {
@@ -34638,18 +34638,18 @@ function St({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34638
34638
  },
34639
34639
  render(e, t) {
34640
34640
  if (!d.current || d.current.isDisposed) return;
34641
- let n = _t(t == null ? e : t);
34641
+ let n = vt(t == null ? e : t);
34642
34642
  n && d.current.render(n);
34643
34643
  }
34644
34644
  }, x = () => {
34645
34645
  var e;
34646
- bt(y), y.getSource(dt) || y.addSource(dt, {
34646
+ xt(y), y.getSource(ft) || y.addSource(ft, {
34647
34647
  type: "geojson",
34648
- data: ht
34648
+ data: gt
34649
34649
  }), y.getLayer("expofp-map-dim") || y.addLayer({
34650
- id: ut,
34650
+ id: dt,
34651
34651
  type: "fill",
34652
- source: dt,
34652
+ source: ft,
34653
34653
  paint: {
34654
34654
  "fill-color": "#000000",
34655
34655
  "fill-opacity": 0,
@@ -34664,7 +34664,7 @@ function St({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34664
34664
  var e;
34665
34665
  c = !0, y.off("style.load", x), (e = d.current) == null || e.dispose(), d.current = null, y.remove(), u.current = null;
34666
34666
  };
34667
- }, []), /* @__PURE__ */ (0, lt.jsx)("div", {
34667
+ }, []), /* @__PURE__ */ (0, ut.jsx)("div", {
34668
34668
  ref: l,
34669
34669
  style: {
34670
34670
  position: "absolute",
@@ -34675,8 +34675,8 @@ function St({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
34675
34675
  }
34676
34676
  });
34677
34677
  }
34678
- var Ct = .02, wt = .15;
34679
- function Tt(e) {
34678
+ var wt = .02, Tt = .15;
34679
+ function Et(e) {
34680
34680
  let t = [
34681
34681
  [d.x1, d.y1],
34682
34682
  [d.x2, d.y1],
@@ -34684,10 +34684,10 @@ function Tt(e) {
34684
34684
  [d.x1, d.y2]
34685
34685
  ].map(([t, n]) => p(t, n, e));
34686
34686
  if (!t.every(([e, t]) => Number.isFinite(e) && Number.isFinite(t))) return;
34687
- let n = t.map(([e]) => e), r = t.map(([, e]) => e), i = Math.min(...n), a = Math.max(...n), o = Math.min(...r), s = Math.max(...r), c = Math.max((a - i) * 3, Ct), l = Math.max((s - o) * 3, Ct);
34687
+ let n = t.map(([e]) => e), r = t.map(([, e]) => e), i = Math.min(...n), a = Math.max(...n), o = Math.min(...r), s = Math.max(...r), c = Math.max((a - i) * 3, wt), l = Math.max((s - o) * 3, wt);
34688
34688
  return [[i - c, o - l], [a + c, s + l]];
34689
34689
  }
34690
- function Et(e, t) {
34690
+ function Dt(e, t) {
34691
34691
  let n = [
34692
34692
  p(e.x1, e.y1, t),
34693
34693
  p(e.x2, e.y1, t),
@@ -34696,8 +34696,8 @@ function Et(e, t) {
34696
34696
  ], r = n.map(([e]) => e), i = n.map(([, e]) => e);
34697
34697
  return [[Math.min(...r), Math.min(...i)], [Math.max(...r), Math.max(...i)]];
34698
34698
  }
34699
- function Dt(e = 0) {
34700
- let t = v.canvasVisibleRectPx, n = v.screenSize;
34699
+ function Ot(e = 0) {
34700
+ let t = y.canvasVisibleRectPx, n = y.screenSize;
34701
34701
  return !t || !n ? {
34702
34702
  top: e,
34703
34703
  bottom: e,
@@ -34710,10 +34710,10 @@ function Dt(e = 0) {
34710
34710
  right: Math.max(0, n.width - t.x2) + e
34711
34711
  };
34712
34712
  }
34713
- function Ot() {
34713
+ function kt() {
34714
34714
  var e, t;
34715
- if (!(!(_ == null || (e = _.properties) == null) && e.config)) return null;
34716
- let n = _.properties.config;
34715
+ if (!(!(v == null || (e = v.properties) == null) && e.config)) return null;
34716
+ let n = v.properties.config;
34717
34717
  return {
34718
34718
  center: [(n.p0.lng + n.p2.lng) / 2, (n.p0.lat + n.p2.lat) / 2],
34719
34719
  bearing: (t = n.bearing) == null ? 0 : t,
@@ -34721,10 +34721,10 @@ function Ot() {
34721
34721
  gpsConfig: n
34722
34722
  };
34723
34723
  }
34724
- function kt(e, t, n, r = {}) {
34724
+ function At(e, t, n, r = {}) {
34725
34725
  var i, a;
34726
34726
  if (!e || !t || !n || t.h === Infinity || t.w === Infinity || t.h <= 0 || t.w <= 0) return;
34727
- let o = Et(t, n.gpsConfig), s = Dt((i = r.padding) == null ? 50 : i);
34727
+ let o = Dt(t, n.gpsConfig), s = Ot((i = r.padding) == null ? 50 : i);
34728
34728
  e.fitBounds(o, {
34729
34729
  padding: s,
34730
34730
  duration: (a = r.duration) == null ? 1e3 : a,
@@ -34733,27 +34733,27 @@ function kt(e, t, n, r = {}) {
34733
34733
  }
34734
34734
  //#endregion
34735
34735
  //#region src/components/Maplibre/useCameraReactions.ts
34736
- var At = v;
34737
- function jt(e, t) {
34738
- S(() => At.moveToBooths, (n) => {
34736
+ var jt = y;
34737
+ function Mt(e, t) {
34738
+ C(() => jt.moveToBooths, (n) => {
34739
34739
  let r = e.current;
34740
34740
  if (!n || !r || !t) return;
34741
34741
  let i = n.filter((e) => e.rect);
34742
34742
  if (i.length === 0) return;
34743
34743
  let a = i.map((e) => e.rect);
34744
- kt(r, f.fromMultiple(a), t), At.moveToBooths = null;
34745
- }), S(() => At.moveToRect, (n) => {
34744
+ At(r, f.fromMultiple(a), t), jt.moveToBooths = null;
34745
+ }), C(() => jt.moveToRect, (n) => {
34746
34746
  let r = e.current;
34747
- !n || !r || !t || (kt(r, n, t), At.moveToRect = null);
34748
- }), S(() => At.zoomBy, (t) => {
34747
+ !n || !r || !t || (At(r, n, t), jt.moveToRect = null);
34748
+ }), C(() => jt.zoomBy, (t) => {
34749
34749
  let n = e.current;
34750
34750
  !t || !n || (n.flyTo({
34751
34751
  zoom: n.getZoom() + (t > 1 ? .5 : -.5),
34752
34752
  animate: !0,
34753
34753
  duration: 500
34754
- }), At.zoomBy = null);
34755
- }), S(() => v.moveToLocation, (n) => {
34756
- let r = e.current, i = h.routeStore.currentPosition;
34754
+ }), jt.zoomBy = null);
34755
+ }), C(() => y.moveToLocation, (n) => {
34756
+ let r = e.current, i = g.routeStore.currentPosition;
34757
34757
  if (!n || !r || !i) return;
34758
34758
  let { lng: a, lat: o } = i, s = typeof a == "number" && Number.isFinite(a) && typeof o == "number" && Number.isFinite(o), c;
34759
34759
  if (s) c = [a, o];
@@ -34766,31 +34766,31 @@ function jt(e, t) {
34766
34766
  animate: !0,
34767
34767
  duration: 1e3
34768
34768
  }), r.once("moveend", () => {
34769
- v.moveToLocation = !1;
34769
+ y.moveToLocation = !1;
34770
34770
  });
34771
- }), S(() => v.centerMap, (n) => {
34771
+ }), C(() => y.centerMap, (n) => {
34772
34772
  let r = e.current;
34773
- !n || !r || !t || (v.list.type === "search" && !v.list.text || kt(r, h.layerStore.rectangle || d, t, { padding: 0 }), v.centerMap = !1);
34773
+ !n || !r || !t || (y.list.type === "search" && !y.list.text || At(r, g.layerStore.rectangle || d, t, { padding: 0 }), y.centerMap = !1);
34774
34774
  });
34775
34775
  }
34776
34776
  //#endregion
34777
34777
  //#region src/components/Maplibre/utils/map-helpers.ts
34778
- var Mt = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, Nt = {
34778
+ var Nt = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, Pt = {
34779
34779
  pitch: 30,
34780
34780
  maxPitch: 70,
34781
34781
  minZoom: 14
34782
- }, Pt = {
34782
+ }, Ft = {
34783
34783
  pitch: 0,
34784
34784
  maxPitch: 0,
34785
34785
  minZoom: 14
34786
34786
  };
34787
- function Ft(e, t) {
34788
- e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(ut, "fill-opacity", It(t)), e.triggerRepaint());
34787
+ function It(e, t) {
34788
+ e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(dt, "fill-opacity", Lt(t)), e.triggerRepaint());
34789
34789
  }
34790
- function It(e) {
34790
+ function Lt(e) {
34791
34791
  return Math.min(Math.max(e, 0), 1);
34792
34792
  }
34793
- function Lt(e, t, n = !1) {
34793
+ function W(e, t, n = !1) {
34794
34794
  var r, i, a;
34795
34795
  if (!e) return;
34796
34796
  e.setMinZoom((r = t.minZoom) == null ? null : r), e.setMaxZoom((i = t.maxZoom) == null ? null : i), e.setMaxBounds((a = t.maxBounds) == null ? null : a);
@@ -34800,29 +34800,29 @@ function Lt(e, t, n = !1) {
34800
34800
  duration: 300
34801
34801
  }), l && e.once("moveend", () => e.setMaxPitch(s))) : e.jumpTo({ pitch: o }));
34802
34802
  }
34803
- function W() {
34803
+ function Rt() {
34804
34804
  var e, t;
34805
- let n = (e = (t = h.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
34806
- return n != null && n.style ? { style: n.style } : n != null && n.styleUrl ? { style: n.styleUrl } : Mt;
34805
+ let n = (e = (t = g.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
34806
+ return n != null && n.style ? { style: n.style } : n != null && n.styleUrl ? { style: n.styleUrl } : Nt;
34807
34807
  }
34808
34808
  //#endregion
34809
34809
  //#region src/components/Maplibre/useDimming.ts
34810
- function Rt(e, t) {
34810
+ function zt(e, t) {
34811
34811
  let n = (0, N.useRef)(t);
34812
34812
  (0, N.useEffect)(() => {
34813
34813
  n.current = t;
34814
34814
  }, [t]);
34815
34815
  let r = (0, N.useRef)(null), i = (0, N.useRef)(null);
34816
34816
  return (0, N.useEffect)(() => {
34817
- let t = C((t) => {
34818
- Ft(e.current, t * k);
34819
- }), a = C((e) => {
34820
- T(n.current, e * 1);
34817
+ let t = w((t) => {
34818
+ It(e.current, t * A);
34819
+ }), a = w((e) => {
34820
+ E(n.current, e * 1);
34821
34821
  });
34822
34822
  return r.current = t, i.current = a, () => {
34823
34823
  t.stop(), a.stop(), r.current = null, i.current = null;
34824
34824
  };
34825
- }, [e]), S(() => v.dimmed, (e) => {
34825
+ }, [e]), C(() => y.dimmed, (e) => {
34826
34826
  var t, n;
34827
34827
  (t = r.current) == null || t.setTarget(e), (n = i.current) == null || n.setTarget(e);
34828
34828
  }), {
@@ -34830,42 +34830,42 @@ function Rt(e, t) {
34830
34830
  venueDimAnimatorRef: i,
34831
34831
  handleMapDimLayerReady: (0, N.useCallback)((e) => {
34832
34832
  var t, n;
34833
- Ft(e, ((t = (n = r.current) == null ? void 0 : n.getValue()) == null ? +!!v.dimmed : t) * k);
34833
+ It(e, ((t = (n = r.current) == null ? void 0 : n.getValue()) == null ? +!!y.dimmed : t) * A);
34834
34834
  }, [])
34835
34835
  };
34836
34836
  }
34837
34837
  //#endregion
34838
34838
  //#region src/components/Maplibre/utils/layer-defs.ts
34839
- function zt(e, t = /* @__PURE__ */ new Map()) {
34839
+ function Bt(e, t = /* @__PURE__ */ new Map()) {
34840
34840
  var n;
34841
34841
  if (e.name) {
34842
34842
  var r;
34843
34843
  let n = (r = t.get(e.name)) == null ? [] : r;
34844
34844
  n.push(e), t.set(e.name, n);
34845
34845
  }
34846
- for (let r of (n = e.children) == null ? [] : n) r && "children" in r && zt(r, t);
34846
+ for (let r of (n = e.children) == null ? [] : n) r && "children" in r && Bt(r, t);
34847
34847
  return t;
34848
34848
  }
34849
- function Bt(e) {
34850
- return e != null && e.shape ? y.booths.find((t) => {
34849
+ function Vt(e) {
34850
+ return e != null && e.shape ? b.booths.find((t) => {
34851
34851
  var n;
34852
34852
  return (n = t.shapes) == null ? void 0 : n.some((t) => t.shape === e.shape);
34853
34853
  }) : null;
34854
34854
  }
34855
34855
  //#endregion
34856
34856
  //#region src/components/Maplibre/useLayerVisibilitySync.ts
34857
- function Vt(e, t, n) {
34857
+ function G(e, t, n) {
34858
34858
  let r = (0, N.useRef)(null), i = (0, N.useRef)(null);
34859
- S(() => h.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
34859
+ C(() => g.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
34860
34860
  var a, o;
34861
34861
  let s = e.scene;
34862
34862
  if (!s) return;
34863
34863
  ((a = r.current) == null ? void 0 : a.rootLayer) !== s.rootLayer && (r.current = {
34864
34864
  rootLayer: s.rootLayer,
34865
- defsByName: zt(s.rootLayer)
34865
+ defsByName: Bt(s.rootLayer)
34866
34866
  });
34867
34867
  let c = r.current.defsByName, l = [];
34868
- for (let e of h.layerStore.layers) {
34868
+ for (let e of g.layerStore.layers) {
34869
34869
  let t = c.get(e.name);
34870
34870
  if (t != null && t.length) for (let n of t) {
34871
34871
  let t = !e.visible;
@@ -34873,42 +34873,42 @@ function Vt(e, t, n) {
34873
34873
  }
34874
34874
  }
34875
34875
  l.length && e.update(...l);
34876
- let u = h.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
34877
- !u || i.current === u.name || (i.current = u.name, kt(t.current, (o = u.viewbox) == null ? u.rect : o, n));
34876
+ let u = g.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
34877
+ !u || i.current === u.name || (i.current = u.name, At(t.current, (o = u.viewbox) == null ? u.rect : o, n));
34878
34878
  });
34879
34879
  }
34880
34880
  //#endregion
34881
34881
  //#region src/components/Maplibre/useRendererEvents.ts
34882
- var G = v;
34883
- function Ht(e, t) {
34882
+ var Ht = y;
34883
+ function Ut(e, t) {
34884
34884
  (0, N.useEffect)(() => {
34885
34885
  if (!e) return;
34886
34886
  let n = ({ data: e }) => {
34887
- if (v.setKioskModeEnabled) return;
34888
- let { point: t, defs: n } = o(e), r = D(t.x, t.y), i = Bt(n[0]);
34889
- G.hoveredBooth = r || i;
34887
+ if (y.setKioskModeEnabled) return;
34888
+ let { point: t, defs: n } = o(e), r = O(t.x, t.y), i = Vt(n[0]);
34889
+ Ht.hoveredBooth = r || i;
34890
34890
  }, r = () => {
34891
- v.setKioskModeEnabled || (G.hoveredBooth = null);
34891
+ y.setKioskModeEnabled || (Ht.hoveredBooth = null);
34892
34892
  }, i = ({ data: e }) => {
34893
34893
  var n, r;
34894
- if (!(v != null && v.rootElement)) return;
34895
- (n = (r = window).__resett) == null || n.call(r), v.overlayPosition === "bottom" && v.overlaySize === "full" && h.showMap();
34894
+ if (!(y != null && y.rootElement)) return;
34895
+ (n = (r = window).__resett) == null || n.call(r), y.overlayPosition === "bottom" && y.overlaySize === "full" && g.showMap();
34896
34896
  let { point: i, defs: a } = o(e), { x: s, y: c } = i;
34897
- if (v.onGetCoordsClick) {
34898
- let e = h.layerStore.layers.find((e) => e.visible && (e.mode === x.TurnedOn || e.mode === x.TurnedOff));
34899
- v.onGetCoordsClick({
34897
+ if (y.onGetCoordsClick) {
34898
+ let e = g.layerStore.layers.find((e) => e.visible && (e.mode === S.TurnedOn || e.mode === S.TurnedOff));
34899
+ y.onGetCoordsClick({
34900
34900
  x: s,
34901
34901
  y: c,
34902
34902
  z: (e == null ? void 0 : e.name) || null
34903
34903
  });
34904
34904
  }
34905
- if (v.setKioskModeEnabled) return;
34906
- if (v.onMarkerClick) {
34907
- let e = M(s, c, t.scale);
34908
- v.onMarkerClick(e);
34905
+ if (y.setKioskModeEnabled) return;
34906
+ if (y.onMarkerClick) {
34907
+ let e = ee(s, c, t.scale);
34908
+ y.onMarkerClick(e);
34909
34909
  }
34910
- let l = D(i.x, i.y), u = Bt(a[0]);
34911
- h.clickBooth(l || u);
34910
+ let l = O(i.x, i.y), u = Vt(a[0]);
34911
+ g.clickBooth(l || u);
34912
34912
  }, a = () => {
34913
34913
  var e, t;
34914
34914
  return (e = (t = window).__resett) == null ? void 0 : e.call(t);
@@ -34920,10 +34920,10 @@ function Ht(e, t) {
34920
34920
  }
34921
34921
  //#endregion
34922
34922
  //#region src/components/Maplibre/useWayfindingAndMarkers.ts
34923
- function Ut(e, t) {
34923
+ function Wt(e, t) {
34924
34924
  (0, N.useEffect)(() => {
34925
34925
  if (!e) return;
34926
- let n = j(t), r = E(t);
34926
+ let n = M(t), r = D(t);
34927
34927
  return () => {
34928
34928
  n == null || n(), r == null || r();
34929
34929
  };
@@ -34931,18 +34931,18 @@ function Ut(e, t) {
34931
34931
  }
34932
34932
  //#endregion
34933
34933
  //#region src/components/Maplibre/utils/solver.ts
34934
- var Wt = 1e-12, Gt = 3.28084, Kt = 6371e3;
34935
- function qt(e, t) {
34934
+ var Gt = 1e-12, Kt = 3.28084, qt = 6371e3;
34935
+ function Jt(e, t) {
34936
34936
  var n, r;
34937
- let i = (n = e.p1) == null ? Jt(e) : n, a = [
34937
+ let i = (n = e.p1) == null ? Yt(e) : n, a = [
34938
34938
  e.p0,
34939
34939
  i,
34940
34940
  e.p2
34941
34941
  ], o = [], s = [], c = [];
34942
34942
  for (let e of a) {
34943
- Yt(e), s.push([e.x, e.y]);
34944
- let t = P.MercatorCoordinate.fromLngLat([e.lng, e.lat], 0), n = t.meterInMercatorCoordinateUnits();
34945
- Xt(t.x), Xt(t.y), Xt(n), o.push(n), c.push([t.x, t.y]);
34943
+ Xt(e), s.push([e.x, e.y]);
34944
+ let t = ne.MercatorCoordinate.fromLngLat([e.lng, e.lat], 0), n = t.meterInMercatorCoordinateUnits();
34945
+ Zt(t.x), Zt(t.y), Zt(n), o.push(n), c.push([t.x, t.y]);
34946
34946
  }
34947
34947
  let l = [], u = [];
34948
34948
  for (let e = 0; e < 3; e++) {
@@ -34963,7 +34963,7 @@ function qt(e, t) {
34963
34963
  1
34964
34964
  ]), u.push(i);
34965
34965
  }
34966
- let [d, f, p, m, h, g] = nn(l, u), _ = (t == null || (r = t.toLowerCase) == null ? void 0 : r.call(t).trim()) === "ft" ? 1 / Gt : 1, v = [
34966
+ let [d, f, p, m, h, g] = rn(l, u), _ = (t == null || (r = t.toLowerCase) == null ? void 0 : r.call(t).trim()) === "ft" ? 1 / Kt : 1, v = [
34967
34967
  d,
34968
34968
  m,
34969
34969
  0,
@@ -34984,10 +34984,10 @@ function qt(e, t) {
34984
34984
  if (!v.every(Number.isFinite)) throw Error("Cannot calculate Maplibre transform: geo anchor points produced a non-finite matrix.");
34985
34985
  return v;
34986
34986
  }
34987
- function Jt(e) {
34987
+ function Yt(e) {
34988
34988
  let t = e.p2.x - e.p0.x, n = e.p2.y - e.p0.y;
34989
34989
  if (t === 0 && n === 0) throw Error("Cannot calculate Maplibre transform: p0 and p2 have identical SVG coordinates.");
34990
- let r = e.p0.x - n, i = e.p0.y + t, a = $t(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), o = en(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), [s, c] = tn(e.p0.lat, e.p0.lng, a, o + 90);
34990
+ let r = e.p0.x - n, i = e.p0.y + t, a = en(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), o = tn(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), [s, c] = nn(e.p0.lat, e.p0.lng, a, o + 90);
34991
34991
  return {
34992
34992
  x: r,
34993
34993
  y: i,
@@ -34995,36 +34995,36 @@ function Jt(e) {
34995
34995
  lng: s
34996
34996
  };
34997
34997
  }
34998
- function Yt(e) {
34999
- Xt(e.x), Xt(e.y), Xt(e.lat), Xt(e.lng);
35000
- }
35001
34998
  function Xt(e) {
35002
- if (!Number.isFinite(e)) throw Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.");
34999
+ Zt(e.x), Zt(e.y), Zt(e.lat), Zt(e.lng);
35003
35000
  }
35004
35001
  function Zt(e) {
35005
- return e * Math.PI / 180;
35002
+ if (!Number.isFinite(e)) throw Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.");
35006
35003
  }
35007
35004
  function Qt(e) {
35008
- return e * 180 / Math.PI;
35005
+ return e * Math.PI / 180;
35009
35006
  }
35010
- function $t(e, t, n, r) {
35011
- let i = Zt(e), a = Zt(n), o = Zt(n - e), s = Zt(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);
35012
- return Kt * (2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)));
35007
+ function $t(e) {
35008
+ return e * 180 / Math.PI;
35013
35009
  }
35014
35010
  function en(e, t, n, r) {
35015
- let i = Zt(e), a = Zt(n), o = Zt(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);
35016
- return (Qt(Math.atan2(s, c)) + 360) % 360;
35011
+ let i = Qt(e), a = Qt(n), o = Qt(n - e), s = Qt(r - t), c = Math.sin(o / 2) * Math.sin(o / 2) + Math.cos(i) * Math.cos(a) * Math.sin(s / 2) * Math.sin(s / 2);
35012
+ return qt * (2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)));
35017
35013
  }
35018
35014
  function tn(e, t, n, r) {
35019
- let i = n / Kt, a = Zt(r), o = Zt(e), s = Zt(t), c = Math.asin(Math.sin(o) * Math.cos(i) + Math.cos(o) * Math.sin(i) * Math.cos(a));
35020
- return [Qt(s + Math.atan2(Math.sin(a) * Math.sin(i) * Math.cos(o), Math.cos(i) - Math.sin(o) * Math.sin(c))), Qt(c)];
35015
+ let i = Qt(e), a = Qt(n), o = Qt(r - t), s = Math.sin(o) * Math.cos(a), c = Math.cos(i) * Math.sin(a) - Math.sin(i) * Math.cos(a) * Math.cos(o);
35016
+ return ($t(Math.atan2(s, c)) + 360) % 360;
35021
35017
  }
35022
- function nn(e, t) {
35018
+ function nn(e, t, n, r) {
35019
+ let i = n / qt, a = Qt(r), o = Qt(e), s = Qt(t), c = Math.asin(Math.sin(o) * Math.cos(i) + Math.cos(o) * Math.sin(i) * Math.cos(a));
35020
+ return [$t(s + Math.atan2(Math.sin(a) * Math.sin(i) * Math.cos(o), Math.cos(i) - Math.sin(o) * Math.sin(c))), $t(c)];
35021
+ }
35022
+ function rn(e, t) {
35023
35023
  let n = e.length, r = e.map((e, n) => [...e, t[n]]);
35024
35024
  for (let e = 0; e < n; e++) {
35025
35025
  let t = e;
35026
35026
  for (let i = e + 1; i < n; i++) Math.abs(r[i][e]) > Math.abs(r[t][e]) && (t = i);
35027
- if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < Wt) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
35027
+ if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < Gt) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
35028
35028
  for (let t = e + 1; t < n; t++) {
35029
35029
  let i = r[t][e] / r[e][e];
35030
35030
  for (let a = e; a <= n; a++) r[t][a] -= i * r[e][a];
@@ -35040,92 +35040,100 @@ function nn(e, t) {
35040
35040
  }
35041
35041
  //#endregion
35042
35042
  //#region src/components/Maplibre/MaplibreAdapter.tsx
35043
- var rn = "routes-api.expofp.com";
35044
- function an() {
35043
+ var an = "routes-api.expofp.com";
35044
+ function on() {
35045
35045
  i(() => {
35046
- h.layerStore.layers.forEach((e) => {
35046
+ g.layerStore.layers.forEach((e) => {
35047
35047
  e.configured = !1, e.children = [], e.loaded = !1;
35048
- }), h.layerStore.layersLoaded = !1;
35048
+ }), g.layerStore.layersLoaded = !1;
35049
35049
  });
35050
35050
  }
35051
- var on = g(function({ viewMode: e }) {
35052
- let [t, n] = (0, N.useState)(null), [r, i] = (0, N.useState)(null), o = h.rendererService, s = (0, N.useRef)(null), f = (0, N.useRef)(null), p = (0, N.useRef)(null), g = (0, N.useMemo)(() => Ot(), []), _ = (0, N.useMemo)(() => g ? {
35053
- center: g.center,
35054
- bearing: g.bearing,
35055
- zoom: g.zoom,
35056
- bounds: Et(d, g.gpsConfig),
35057
- fitPadding: Dt(0),
35058
- zoomAdjustment: wt
35059
- } : null, [g]), y = (0, N.useMemo)(() => {
35051
+ function sn(e, t) {
35052
+ let n = [];
35053
+ for (let r of e.rollRegistry.invoke(t)) Array.isArray(r) ? n.push(...r) : n.push(r);
35054
+ n.length && e.update(...n);
35055
+ }
35056
+ var K = _(function({ viewMode: e }) {
35057
+ let [t, n] = (0, N.useState)(null), [r, i] = (0, N.useState)(null), o = g.rendererService, s = (0, N.useRef)(null), f = (0, N.useRef)(null), p = (0, N.useRef)(null), _ = (0, N.useRef)(null), v = (0, N.useMemo)(() => kt(), []), b = (0, N.useMemo)(() => v ? {
35058
+ center: v.center,
35059
+ bearing: v.bearing,
35060
+ zoom: v.zoom,
35061
+ bounds: Dt(d, v.gpsConfig),
35062
+ fitPadding: Ot(0),
35063
+ zoomAdjustment: Tt
35064
+ } : null, [v]), x = (0, N.useMemo)(() => {
35060
35065
  var e;
35061
- return g ? qt(g.gpsConfig, (e = u()) == null ? void 0 : e.getAttribute("units")) : null;
35062
- }, [g]), b = (0, N.useMemo)(() => ({
35063
- ...e === "map2d" ? Pt : Nt,
35064
- maxBounds: g ? Tt(g.gpsConfig) : void 0
35065
- }), [g, e]), x = (0, N.useRef)(b), S = (0, N.useMemo)(() => W(), []), { mapDimAnimatorRef: C, venueDimAnimatorRef: T, handleMapDimLayerReady: E } = Rt(f, o);
35066
+ return v ? Jt(v.gpsConfig, (e = u()) == null ? void 0 : e.getAttribute("units")) : null;
35067
+ }, [v]), S = (0, N.useMemo)(() => ({
35068
+ ...e === "map2d" ? Ft : Pt,
35069
+ maxBounds: v ? Et(v.gpsConfig) : void 0
35070
+ }), [v, e]), C = (0, N.useRef)(S), w = (0, N.useMemo)(() => Rt(), []), { mapDimAnimatorRef: E, venueDimAnimatorRef: D, handleMapDimLayerReady: O } = zt(f, o);
35066
35071
  (0, N.useEffect)(() => {
35067
- if (!g) return;
35072
+ if (!v) return;
35068
35073
  let e = !1;
35069
- an();
35070
- let t = w(o).then((t) => {
35074
+ on();
35075
+ let t = T(o).then((t) => {
35071
35076
  if (e) return;
35072
- let r = (0, ee.default)(a.backgroundColor === "none" ? "#ebebeb" : a.backgroundColor).string();
35077
+ let r = (0, te.default)(a.backgroundColor === "none" ? "#ebebeb" : a.backgroundColor).string();
35073
35078
  n(l(t, c.fromCoreRect(d), r));
35074
35079
  }).catch((t) => {
35075
35080
  e || console.warn("Maplibre scene configuration failed.", t);
35076
- }), r = C.current, u = T.current;
35081
+ }), r = E.current, u = D.current;
35077
35082
  return () => {
35078
- e = !0, an();
35079
- let n = s.current;
35080
- t.finally(() => o.disposeIfCurrent(n)), s.current = null, f.current = null, p.current = null, i(null), r == null || r.stop(), u == null || u.stop(), v.sceneDefReady = !1;
35083
+ var n;
35084
+ e = !0, on();
35085
+ let a = s.current;
35086
+ t.finally(() => o.disposeIfCurrent(a)), (n = p.current) == null || n.call(p), p.current = null, s.current = null, f.current = null, _.current = null, i(null), r == null || r.stop(), u == null || u.stop(), y.sceneDefReady = !1;
35081
35087
  };
35082
35088
  }, [
35083
- g,
35084
- C,
35089
+ v,
35090
+ E,
35085
35091
  o,
35086
- T
35092
+ D
35087
35093
  ]);
35088
- let D = (0, N.useCallback)((e, t, n, r) => {
35089
- var a, c;
35090
- s.current = e, f.current = t, p.current = r, i(e), o.attach(e, n, r), Lt(t, x.current), (a = C.current) == null || a.setTarget(v.dimmed, { immediate: !0 }), (c = T.current) == null || c.setTarget(v.dimmed, { immediate: !0 }), m(o);
35091
- let l = o.ptScaleRegistry.invoke(o.scale || 1);
35092
- l.length && o.update(...l);
35093
- let u = o.rollRegistry.invoke(o.angle || 0).flatMap((e) => Array.isArray(e) ? e : [e]);
35094
- u.length && o.update(...u), h.layerStore.layersLoaded = !0, h.fp.onFpConfigured && h.fp.onFpConfigured(), v.sceneDefReady = !0, r();
35094
+ let A = (0, N.useCallback)((e, t, n, r) => {
35095
+ var a, c, l;
35096
+ s.current = e, f.current = t, _.current = r, i(e), o.attach(e, n, r), W(t, C.current), (a = E.current) == null || a.setTarget(y.dimmed, { immediate: !0 }), (c = D.current) == null || c.setTarget(y.dimmed, { immediate: !0 }), (l = p.current) == null || l.call(p);
35097
+ let u = () => sn(o, m(t.getBearing()));
35098
+ t.on("rotate", u), t.on("rotateend", u), p.current = () => {
35099
+ t.off("rotate", u), t.off("rotateend", u);
35100
+ }, h(o);
35101
+ let d = o.ptScaleRegistry.invoke(o.scale || 1);
35102
+ d.length && o.update(...d), sn(o, m(t.getBearing())), g.layerStore.layersLoaded = !0, g.fp.onFpConfigured && g.fp.onFpConfigured(), y.sceneDefReady = !0, r();
35095
35103
  }, [
35096
35104
  o,
35097
- C,
35098
- T
35105
+ E,
35106
+ D
35099
35107
  ]);
35100
35108
  (0, N.useEffect)(() => {
35101
- x.current = b, Lt(f.current, b, !0);
35102
- }, [b]), Ht(r, o), Ut(r, o), Vt(o, f, g), jt(f, g), A({
35103
- enabled: h.layerStore.layersLoaded && v.buildRoute,
35109
+ C.current = S, W(f.current, S, !0);
35110
+ }, [S]), Ut(r, o), Wt(r, o), G(o, f, v), Mt(f, v), j({
35111
+ enabled: g.layerStore.layersLoaded && y.buildRoute,
35104
35112
  rendererService: o
35105
- }), O({
35106
- permission: h.layerStore.layersLoaded,
35113
+ }), k({
35114
+ permission: g.layerStore.layersLoaded,
35107
35115
  rendererService: o,
35108
- dataJsonUrl: `https://${rn}/v1/routes?expo=${a.EXPO}`,
35109
- websocketUrl: `wss://${rn}/locations?expo=${a.EXPO}`
35116
+ dataJsonUrl: `https://${an}/v1/routes?expo=${a.EXPO}`,
35117
+ websocketUrl: `wss://${an}/locations?expo=${a.EXPO}`
35110
35118
  });
35111
- let k = (0, N.useCallback)((e) => {
35112
- console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), h.maplibreStore.deactivateMaplibre();
35119
+ let M = (0, N.useCallback)((e) => {
35120
+ console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), g.maplibreStore.deactivateMaplibre();
35113
35121
  }, []);
35114
- if (!g || !_ || !y || !t) return null;
35115
- let j = `${_.center.join(",")}:${_.bearing}:${_.zoom}`;
35116
- return /* @__PURE__ */ (0, lt.jsx)(St, {
35122
+ if (!v || !b || !x || !t) return null;
35123
+ let ee = `${b.center.join(",")}:${b.bearing}:${b.zoom}`;
35124
+ return /* @__PURE__ */ (0, ut.jsx)(Ct, {
35117
35125
  sceneDef: t,
35118
- geoConfig: _,
35119
- staticTransform: y,
35120
- tileSource: S,
35121
- mapOptions: b,
35122
- onRendererReady: D,
35123
- onMapDimLayerReady: E,
35124
- onMapLoadError: k
35125
- }, j);
35126
+ geoConfig: b,
35127
+ staticTransform: x,
35128
+ tileSource: w,
35129
+ mapOptions: S,
35130
+ onRendererReady: A,
35131
+ onMapDimLayerReady: O,
35132
+ onMapLoadError: M
35133
+ }, ee);
35126
35134
  });
35127
35135
  //#endregion
35128
- export { on as default };
35136
+ export { K as default };
35129
35137
 
35130
35138
  ;/* vite-per-chunk-css */
35131
35139
  __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);