leaflet-html 0.13.6 → 0.13.8

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.
@@ -1,7 +1,7 @@
1
1
  var zs = Object.defineProperty;
2
2
  var As = (v, d, c) => d in v ? zs(v, d, { enumerable: !0, configurable: !0, writable: !0, value: c }) : v[d] = c;
3
3
  var Lt = (v, d, c) => As(v, typeof d != "symbol" ? d + "" : d, c);
4
- var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, yi = { exports: {} };
4
+ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, yi = { exports: {} };
5
5
  /* @preserve
6
6
  * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
7
7
  * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
@@ -9,7 +9,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
9
9
  (function(v, d) {
10
10
  (function(c, g) {
11
11
  g(d);
12
- })(jn, function(c) {
12
+ })(Vn, function(c) {
13
13
  var g = "1.9.4";
14
14
  function x(t) {
15
15
  var e, i, n, o;
@@ -98,7 +98,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
98
98
  return -1;
99
99
  }
100
100
  var at = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
101
- function jt(t) {
101
+ function Vt(t) {
102
102
  return window["webkit" + t] || window["moz" + t] || window["ms" + t];
103
103
  }
104
104
  var Mi = 0;
@@ -106,7 +106,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
106
106
  var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e - Mi));
107
107
  return Mi = e + i, window.setTimeout(t, i);
108
108
  }
109
- var Ne = window.requestAnimationFrame || jt("RequestAnimationFrame") || Si, ki = window.cancelAnimationFrame || jt("CancelAnimationFrame") || jt("CancelRequestAnimationFrame") || function(t) {
109
+ var Ne = window.requestAnimationFrame || Vt("RequestAnimationFrame") || Si, ki = window.cancelAnimationFrame || Vt("CancelAnimationFrame") || Vt("CancelRequestAnimationFrame") || function(t) {
110
110
  window.clearTimeout(t);
111
111
  };
112
112
  function nt(t, e, i) {
@@ -459,12 +459,12 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
459
459
  function E(t, e, i) {
460
460
  return t instanceof O ? t : W(t) ? new O(t[0], t[1]) : t == null ? t : typeof t == "object" && "x" in t && "y" in t ? new O(t.x, t.y) : new O(t, e, i);
461
461
  }
462
- function V(t, e) {
462
+ function q(t, e) {
463
463
  if (t)
464
464
  for (var i = e ? [t, e] : t, n = 0, o = i.length; n < o; n++)
465
465
  this.extend(i[n]);
466
466
  }
467
- V.prototype = {
467
+ q.prototype = {
468
468
  // @method extend(point: Point): this
469
469
  // Extends the bounds to contain the given point.
470
470
  // @alternative
@@ -521,7 +521,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
521
521
  // Returns `true` if the rectangle contains the given point.
522
522
  contains: function(t) {
523
523
  var e, i;
524
- return typeof t[0] == "number" || t instanceof O ? t = E(t) : t = ot(t), t instanceof V ? (e = t.min, i = t.max) : e = i = t, e.x >= this.min.x && i.x <= this.max.x && e.y >= this.min.y && i.y <= this.max.y;
524
+ return typeof t[0] == "number" || t instanceof O ? t = E(t) : t = ot(t), t instanceof q ? (e = t.min, i = t.max) : e = i = t, e.x >= this.min.x && i.x <= this.max.x && e.y >= this.min.y && i.y <= this.max.y;
525
525
  },
526
526
  // @method intersects(otherBounds: Bounds): Boolean
527
527
  // Returns `true` if the rectangle intersects the given bounds. Two bounds
@@ -562,7 +562,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
562
562
  }
563
563
  };
564
564
  function ot(t, e) {
565
- return !t || t instanceof V ? t : new V(t, e);
565
+ return !t || t instanceof q ? t : new q(t, e);
566
566
  }
567
567
  function st(t, e) {
568
568
  if (t)
@@ -782,7 +782,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
782
782
  if (this.infinite)
783
783
  return null;
784
784
  var e = this.projection.bounds, i = this.scale(t), n = this.transformation.transform(e.min, i), o = this.transformation.transform(e.max, i);
785
- return new V(n, o);
785
+ return new q(n, o);
786
786
  },
787
787
  // @method distance(latlng1: LatLng, latlng2: LatLng): Number
788
788
  // Returns the distance between two geographical coordinates.
@@ -849,7 +849,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
849
849
  },
850
850
  bounds: function() {
851
851
  var t = Oi * Math.PI;
852
- return new V([-t, -t], [t, t]);
852
+ return new q([-t, -t], [t, t]);
853
853
  }()
854
854
  };
855
855
  function De(t, e, i, n) {
@@ -905,7 +905,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
905
905
  }
906
906
  return i || "M0 0";
907
907
  }
908
- var Fe = document.documentElement.style, le = "ActiveXObject" in window, ho = le && !document.addEventListener, Zi = "msLaunchUri" in navigator && !("documentMode" in document), Ge = mt("webkit"), Ii = mt("android"), Bi = mt("android 2") || mt("android 3"), uo = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), lo = Ii && mt("Google") && uo < 537 && !("AudioNode" in window), Ue = !!window.opera, Ni = !Zi && mt("chrome"), Ri = mt("gecko") && !Ge && !Ue && !le, co = !Ni && mt("safari"), Di = mt("phantom"), Hi = "OTransition" in Fe, fo = navigator.platform.indexOf("Win") === 0, Fi = le && "transition" in Fe, We = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Bi, Gi = "MozPerspective" in Fe, _o = !window.L_DISABLE_3D && (Fi || We || Gi) && !Hi && !Di, Yt = typeof orientation < "u" || mt("mobile"), po = Yt && Ge, mo = Yt && We, Ui = !window.PointerEvent && window.MSPointerEvent, Wi = !!(window.PointerEvent || Ui), Vi = "ontouchstart" in window || !!window.TouchEvent, go = !window.L_NO_TOUCH && (Vi || Wi), vo = Yt && Ue, yo = Yt && Ri, Lo = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, wo = function() {
908
+ var Fe = document.documentElement.style, le = "ActiveXObject" in window, ho = le && !document.addEventListener, Zi = "msLaunchUri" in navigator && !("documentMode" in document), Ge = mt("webkit"), Ii = mt("android"), Bi = mt("android 2") || mt("android 3"), uo = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), lo = Ii && mt("Google") && uo < 537 && !("AudioNode" in window), Ue = !!window.opera, Ni = !Zi && mt("chrome"), Ri = mt("gecko") && !Ge && !Ue && !le, co = !Ni && mt("safari"), Di = mt("phantom"), Hi = "OTransition" in Fe, fo = navigator.platform.indexOf("Win") === 0, Fi = le && "transition" in Fe, We = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Bi, Gi = "MozPerspective" in Fe, _o = !window.L_DISABLE_3D && (Fi || We || Gi) && !Hi && !Di, Yt = typeof orientation < "u" || mt("mobile"), po = Yt && Ge, mo = Yt && We, Ui = !window.PointerEvent && window.MSPointerEvent, Wi = !!(window.PointerEvent || Ui), qi = "ontouchstart" in window || !!window.TouchEvent, go = !window.L_NO_TOUCH && (qi || Wi), vo = Yt && Ue, yo = Yt && Ri, Lo = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, wo = function() {
909
909
  var t = !1;
910
910
  try {
911
911
  var e = Object.defineProperty({}, "passive", {
@@ -919,10 +919,10 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
919
919
  return t;
920
920
  }(), bo = function() {
921
921
  return !!document.createElement("canvas").getContext;
922
- }(), Ve = !!(document.createElementNS && zi("svg").createSVGRect), Po = !!Ve && function() {
922
+ }(), qe = !!(document.createElementNS && zi("svg").createSVGRect), Po = !!qe && function() {
923
923
  var t = document.createElement("div");
924
924
  return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
925
- }(), xo = !Ve && function() {
925
+ }(), xo = !qe && function() {
926
926
  try {
927
927
  var t = document.createElement("div");
928
928
  t.innerHTML = '<v:shape adj="1"/>';
@@ -960,20 +960,20 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
960
960
  msPointer: Ui,
961
961
  pointer: Wi,
962
962
  touch: go,
963
- touchNative: Vi,
963
+ touchNative: qi,
964
964
  mobileOpera: vo,
965
965
  mobileGecko: yo,
966
966
  retina: Lo,
967
967
  passiveEvents: wo,
968
968
  canvas: bo,
969
- svg: Ve,
969
+ svg: qe,
970
970
  vml: xo,
971
971
  inlineSvg: Po,
972
972
  mac: Co,
973
973
  linux: To
974
- }, qi = S.msPointer ? "MSPointerDown" : "pointerdown", ji = S.msPointer ? "MSPointerMove" : "pointermove", Ji = S.msPointer ? "MSPointerUp" : "pointerup", Ki = S.msPointer ? "MSPointerCancel" : "pointercancel", qe = {
975
- touchstart: qi,
976
- touchmove: ji,
974
+ }, ji = S.msPointer ? "MSPointerDown" : "pointerdown", Vi = S.msPointer ? "MSPointerMove" : "pointermove", Ji = S.msPointer ? "MSPointerUp" : "pointerup", Ki = S.msPointer ? "MSPointerCancel" : "pointercancel", je = {
975
+ touchstart: ji,
976
+ touchmove: Vi,
977
977
  touchend: Ji,
978
978
  touchcancel: Ki
979
979
  }, Yi = {
@@ -983,14 +983,14 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
983
983
  touchcancel: ce
984
984
  }, Rt = {}, Xi = !1;
985
985
  function Mo(t, e, i) {
986
- return e === "touchstart" && Oo(), Yi[e] ? (i = Yi[e].bind(this, i), t.addEventListener(qe[e], i, !1), i) : (console.warn("wrong event specified:", e), _);
986
+ return e === "touchstart" && Oo(), Yi[e] ? (i = Yi[e].bind(this, i), t.addEventListener(je[e], i, !1), i) : (console.warn("wrong event specified:", e), _);
987
987
  }
988
988
  function So(t, e, i) {
989
- if (!qe[e]) {
989
+ if (!je[e]) {
990
990
  console.warn("wrong event specified:", e);
991
991
  return;
992
992
  }
993
- t.removeEventListener(qe[e], i, !1);
993
+ t.removeEventListener(je[e], i, !1);
994
994
  }
995
995
  function ko(t) {
996
996
  Rt[t.pointerId] = t;
@@ -1002,7 +1002,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1002
1002
  delete Rt[t.pointerId];
1003
1003
  }
1004
1004
  function Oo() {
1005
- Xi || (document.addEventListener(qi, ko, !0), document.addEventListener(ji, Eo, !0), document.addEventListener(Ji, $i, !0), document.addEventListener(Ki, $i, !0), Xi = !0);
1005
+ Xi || (document.addEventListener(ji, ko, !0), document.addEventListener(Vi, Eo, !0), document.addEventListener(Ji, $i, !0), document.addEventListener(Ki, $i, !0), Xi = !0);
1006
1006
  }
1007
1007
  function ce(t, e) {
1008
1008
  if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
@@ -1050,7 +1050,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1050
1050
  function Bo(t, e) {
1051
1051
  t.removeEventListener("dblclick", e.dblclick), t.removeEventListener("click", e.simDblclick);
1052
1052
  }
1053
- var je = _e(
1053
+ var Ve = _e(
1054
1054
  ["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
1055
1055
  ), Xt = _e(
1056
1056
  ["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
@@ -1070,7 +1070,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1070
1070
  var n = document.createElement(t);
1071
1071
  return n.className = e || "", i && i.appendChild(n), n;
1072
1072
  }
1073
- function q(t) {
1073
+ function j(t) {
1074
1074
  var e = t.parentNode;
1075
1075
  e && e.removeChild(t);
1076
1076
  }
@@ -1101,7 +1101,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1101
1101
  Ke(t, (r ? r + " " : "") + e);
1102
1102
  }
1103
1103
  }
1104
- function j(t, e) {
1104
+ function V(t, e) {
1105
1105
  t.classList !== void 0 ? t.classList.remove(e) : Ke(t, w((" " + fe(t) + " ").replace(" " + e + " ", " ")));
1106
1106
  }
1107
1107
  function Ke(t, e) {
@@ -1131,7 +1131,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1131
1131
  }
1132
1132
  function At(t, e, i) {
1133
1133
  var n = e || new O(0, 0);
1134
- t.style[je] = (S.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
1134
+ t.style[Ve] = (S.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
1135
1135
  }
1136
1136
  function K(t, e) {
1137
1137
  t._leaflet_pos = e, S.any3d ? At(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
@@ -1190,19 +1190,19 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1190
1190
  }
1191
1191
  var Ro = {
1192
1192
  __proto__: null,
1193
- TRANSFORM: je,
1193
+ TRANSFORM: Ve,
1194
1194
  TRANSITION: Xt,
1195
1195
  TRANSITION_END: Qi,
1196
1196
  get: tn,
1197
1197
  getStyle: $t,
1198
1198
  create: R,
1199
- remove: q,
1199
+ remove: j,
1200
1200
  empty: de,
1201
1201
  toFront: Dt,
1202
1202
  toBack: Ht,
1203
1203
  hasClass: Je,
1204
1204
  addClass: Z,
1205
- removeClass: j,
1205
+ removeClass: V,
1206
1206
  setClass: Ke,
1207
1207
  getClass: fe,
1208
1208
  setOpacity: ct,
@@ -1592,7 +1592,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1592
1592
  return it(Y) / $(Y);
1593
1593
  }
1594
1594
  var rt = I(0);
1595
- function qt(Y) {
1595
+ function jt(Y) {
1596
1596
  return f * ($(rt) / $(rt + T * Y));
1597
1597
  }
1598
1598
  function xs(Y) {
@@ -1606,7 +1606,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1606
1606
  var Y = (Date.now() - Ts) / Ms, Se = Cs(Y) * Dn;
1607
1607
  Y <= 1 ? (this._flyToFrame = nt(Hn, this), this._move(
1608
1608
  this.unproject(n.add(o.subtract(n).multiplyBy(xs(Se) / P)), u),
1609
- this.getScaleZoom(f / qt(Se), u),
1609
+ this.getScaleZoom(f / jt(Se), u),
1610
1610
  { flyTo: !0 }
1611
1611
  )) : this._move(t, e)._moveEnd(!0);
1612
1612
  }
@@ -1769,12 +1769,12 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1769
1769
  } catch {
1770
1770
  this._container._leaflet_id = void 0, this._containerId = void 0;
1771
1771
  }
1772
- this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), q(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest && (lt(this._resizeRequest), this._resizeRequest = null), this._clearHandlers(), this._loaded && this.fire("unload");
1772
+ this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), j(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest && (lt(this._resizeRequest), this._resizeRequest = null), this._clearHandlers(), this._loaded && this.fire("unload");
1773
1773
  var t;
1774
1774
  for (t in this._layers)
1775
1775
  this._layers[t].remove();
1776
1776
  for (t in this._panes)
1777
- q(this._panes[t]);
1777
+ j(this._panes[t]);
1778
1778
  return this._layers = [], this._panes = [], delete this._mapPane, delete this._renderer, this;
1779
1779
  },
1780
1780
  // @section Other Methods
@@ -1836,7 +1836,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1836
1836
  // coordinates (sometimes useful in layer and overlay implementations).
1837
1837
  getPixelBounds: function(t, e) {
1838
1838
  var i = this._getTopLeftPoint(t, e);
1839
- return new V(i, i.add(this.getSize()));
1839
+ return new q(i, i.add(this.getSize()));
1840
1840
  },
1841
1841
  // TODO: Check semantics - isn't the pixel origin the 0,0 coord relative to
1842
1842
  // the map pane? "left point of the map layer" can be confusing, specially
@@ -2167,14 +2167,14 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2167
2167
  _limitCenter: function(t, e, i) {
2168
2168
  if (!i)
2169
2169
  return t;
2170
- var n = this.project(t, e), o = this.getSize().divideBy(2), r = new V(n.subtract(o), n.add(o)), u = this._getBoundsOffset(r, i, e);
2170
+ var n = this.project(t, e), o = this.getSize().divideBy(2), r = new q(n.subtract(o), n.add(o)), u = this._getBoundsOffset(r, i, e);
2171
2171
  return Math.abs(u.x) <= 1 && Math.abs(u.y) <= 1 ? t : this.unproject(n.add(u), e);
2172
2172
  },
2173
2173
  // adjust offset for view to get inside bounds
2174
2174
  _limitOffset: function(t, e) {
2175
2175
  if (!e)
2176
2176
  return t;
2177
- var i = this.getPixelBounds(), n = new V(i.min.add(t), i.max.add(t));
2177
+ var i = this.getPixelBounds(), n = new q(i.min.add(t), i.max.add(t));
2178
2178
  return t.add(this._getBoundsOffset(n, e));
2179
2179
  },
2180
2180
  // returns offset needed for pxBounds to get inside maxBounds at a specified zoom
@@ -2196,7 +2196,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2196
2196
  this.fire("move");
2197
2197
  },
2198
2198
  _onPanTransitionEnd: function() {
2199
- j(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");
2199
+ V(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");
2200
2200
  },
2201
2201
  _tryAnimatedPan: function(t, e) {
2202
2202
  var i = this._getCenterOffset(t)._trunc();
@@ -2205,12 +2205,12 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2205
2205
  _createAnimProxy: function() {
2206
2206
  var t = this._proxy = R("div", "leaflet-proxy leaflet-zoom-animated");
2207
2207
  this._panes.mapPane.appendChild(t), this.on("zoomanim", function(e) {
2208
- var i = je, n = this._proxy.style[i];
2208
+ var i = Ve, n = this._proxy.style[i];
2209
2209
  At(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[i] && this._animatingZoom && this._onZoomTransitionEnd();
2210
2210
  }, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
2211
2211
  },
2212
2212
  _destroyAnimProxy: function() {
2213
- q(this._proxy), this.off("load moveend", this._animMoveEnd, this), delete this._proxy;
2213
+ j(this._proxy), this.off("load moveend", this._animMoveEnd, this), delete this._proxy;
2214
2214
  },
2215
2215
  _animMoveEnd: function() {
2216
2216
  var t = this.getCenter(), e = this.getZoom();
@@ -2240,7 +2240,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2240
2240
  }), this._tempFireZoomEvent || (this._tempFireZoomEvent = this._zoom !== this._animateToZoom), this._move(this._animateToCenter, this._animateToZoom, void 0, !0), setTimeout(a(this._onZoomTransitionEnd, this), 250));
2241
2241
  },
2242
2242
  _onZoomTransitionEnd: function() {
2243
- this._animatingZoom && (this._mapPane && j(this._mapPane, "leaflet-zoom-anim"), this._animatingZoom = !1, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), this._tempFireZoomEvent && this.fire("zoom"), delete this._tempFireZoomEvent, this.fire("move"), this._moveEnd(!0));
2243
+ this._animatingZoom && (this._mapPane && V(this._mapPane, "leaflet-zoom-anim"), this._animatingZoom = !1, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), this._tempFireZoomEvent && this.fire("zoom"), delete this._tempFireZoomEvent, this.fire("move"), this._moveEnd(!0));
2244
2244
  }
2245
2245
  });
2246
2246
  function Fo(t, e) {
@@ -2288,7 +2288,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2288
2288
  // @method remove: this
2289
2289
  // Removes the control from the map it is currently active on.
2290
2290
  remove: function() {
2291
- return this._map ? (q(this._container), this.onRemove && this.onRemove(this._map), this._map.off("unload", this.remove, this), this._map = null, this) : this;
2291
+ return this._map ? (j(this._container), this.onRemove && this.onRemove(this._map), this._map.off("unload", this.remove, this), this._map = null, this) : this;
2292
2292
  },
2293
2293
  _refocusOnMap: function(t) {
2294
2294
  this._map && t && t.screenX > 0 && t.screenY > 0 && this._map.getContainer().focus();
@@ -2317,8 +2317,8 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2317
2317
  },
2318
2318
  _clearControlPos: function() {
2319
2319
  for (var t in this._controlCorners)
2320
- q(this._controlCorners[t]);
2321
- q(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
2320
+ j(this._controlCorners[t]);
2321
+ j(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
2322
2322
  }
2323
2323
  });
2324
2324
  var hn = _t.extend({
@@ -2392,12 +2392,12 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2392
2392
  expand: function() {
2393
2393
  Z(this._container, "leaflet-control-layers-expanded"), this._section.style.height = null;
2394
2394
  var t = this._map.getSize().y - (this._container.offsetTop + 50);
2395
- return t < this._section.clientHeight ? (Z(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = t + "px") : j(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;
2395
+ return t < this._section.clientHeight ? (Z(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = t + "px") : V(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;
2396
2396
  },
2397
2397
  // @method collapse(): this
2398
2398
  // Collapse the control container if expanded.
2399
2399
  collapse: function() {
2400
- return j(this._container, "leaflet-control-layers-expanded"), this;
2400
+ return V(this._container, "leaflet-control-layers-expanded"), this;
2401
2401
  },
2402
2402
  _initLayout: function() {
2403
2403
  var t = "leaflet-control-layers", e = this._container = R("div", t), i = this.options.collapsed;
@@ -2546,7 +2546,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2546
2546
  },
2547
2547
  _updateDisabled: function() {
2548
2548
  var t = this._map, e = "leaflet-disabled";
2549
- j(this._zoomInButton, e), j(this._zoomOutButton, e), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), (this._disabled || t._zoom === t.getMinZoom()) && (Z(this._zoomOutButton, e), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || t._zoom === t.getMaxZoom()) && (Z(this._zoomInButton, e), this._zoomInButton.setAttribute("aria-disabled", "true"));
2549
+ V(this._zoomInButton, e), V(this._zoomOutButton, e), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), (this._disabled || t._zoom === t.getMinZoom()) && (Z(this._zoomOutButton, e), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || t._zoom === t.getMaxZoom()) && (Z(this._zoomInButton, e), this._zoomInButton.setAttribute("aria-disabled", "true"));
2550
2550
  }
2551
2551
  });
2552
2552
  N.mergeOptions({
@@ -2610,14 +2610,14 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2610
2610
  }
2611
2611
  }), Wo = function(t) {
2612
2612
  return new un(t);
2613
- }, Vo = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>', hi = _t.extend({
2613
+ }, qo = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>', hi = _t.extend({
2614
2614
  // @section
2615
2615
  // @aka Control.Attribution options
2616
2616
  options: {
2617
2617
  position: "bottomright",
2618
2618
  // @option prefix: String|false = 'Leaflet'
2619
2619
  // The HTML text shown before the attributions. Pass `false` to disable.
2620
- prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (S.inlineSvg ? Vo + " " : "") + "Leaflet</a>"
2620
+ prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (S.inlineSvg ? qo + " " : "") + "Leaflet</a>"
2621
2621
  },
2622
2622
  initialize: function(t) {
2623
2623
  C(this, t), this._attributions = {};
@@ -2666,10 +2666,10 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2666
2666
  }), N.addInitHook(function() {
2667
2667
  this.options.attributionControl && new hi().addTo(this);
2668
2668
  });
2669
- var qo = function(t) {
2669
+ var jo = function(t) {
2670
2670
  return new hi(t);
2671
2671
  };
2672
- _t.Layers = hn, _t.Zoom = ai, _t.Scale = un, _t.Attribution = hi, ne.layers = Go, ne.zoom = Uo, ne.scale = Wo, ne.attribution = qo;
2672
+ _t.Layers = hn, _t.Zoom = ai, _t.Scale = un, _t.Attribution = hi, ne.layers = Go, ne.zoom = Uo, ne.scale = Wo, ne.attribution = jo;
2673
2673
  var vt = Pt.extend({
2674
2674
  initialize: function(t) {
2675
2675
  this._map = t;
@@ -2699,7 +2699,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2699
2699
  vt.addTo = function(t, e) {
2700
2700
  return t.addHandler(e, this), this;
2701
2701
  };
2702
- var jo = { Events: ht }, ln = S.touch ? "touchstart mousedown" : "mousedown", Et = Jt.extend({
2702
+ var Vo = { Events: ht }, ln = S.touch ? "touchstart mousedown" : "mousedown", Et = Jt.extend({
2703
2703
  options: {
2704
2704
  // @section
2705
2705
  // @aka Draggable options
@@ -2756,7 +2756,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2756
2756
  this._enabled && this.finishDrag();
2757
2757
  },
2758
2758
  finishDrag: function(t) {
2759
- j(document.body, "leaflet-dragging"), this._lastTarget && (j(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), F(document, "mousemove touchmove", this._onMove, this), F(document, "mouseup touchend touchcancel", this._onUp, this), $e(), te();
2759
+ V(document.body, "leaflet-dragging"), this._lastTarget && (V(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), F(document, "mousemove touchmove", this._onMove, this), F(document, "mouseup touchend touchcancel", this._onUp, this), $e(), te();
2760
2760
  var e = this._moved && this._moving;
2761
2761
  this._moving = !1, Et._dragging = !1, e && this.fire("dragend", {
2762
2762
  noInertia: t,
@@ -2790,8 +2790,8 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2790
2790
  for (f = m = P = 0, i = 0, n = $ - 1; i < $; n = i++)
2791
2791
  o = ft[i], r = ft[n], u = o.y * r.x - r.y * o.x, m += (o.x + r.x) * u, P += (o.y + r.y) * u, f += u * 3;
2792
2792
  f === 0 ? T = ft[0] : T = [m / f, P / f];
2793
- var qt = e.unproject(E(T));
2794
- return B([qt.lat + k.lat, qt.lng + k.lng]);
2793
+ var jt = e.unproject(E(T));
2794
+ return B([jt.lat + k.lat, jt.lng + k.lng]);
2795
2795
  }
2796
2796
  function ui(t) {
2797
2797
  for (var e = 0, i = 0, n = 0, o = 0; o < t.length; o++) {
@@ -2917,11 +2917,11 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2917
2917
  unproject: function(t) {
2918
2918
  return new D(t.y, t.x);
2919
2919
  },
2920
- bounds: new V([-180, -90], [180, 90])
2920
+ bounds: new q([-180, -90], [180, 90])
2921
2921
  }, di = {
2922
2922
  R: 6378137,
2923
2923
  R_MINOR: 6356752314245179e-9,
2924
- bounds: new V([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
2924
+ bounds: new q([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
2925
2925
  project: function(t) {
2926
2926
  var e = Math.PI / 180, i = this.R, n = t.lat * e, o = this.R_MINOR / i, r = Math.sqrt(1 - o * o), u = r * Math.sin(n), f = Math.tan(Math.PI / 4 - n / 2) / Math.pow((1 - u) / (1 + u), r / 2);
2927
2927
  return n = -i * Math.log(Math.max(f, 1e-10)), new O(t.lng * e * i, n);
@@ -3338,7 +3338,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3338
3338
  predrag: this._onPreDrag,
3339
3339
  drag: this._onDrag,
3340
3340
  dragend: this._onDragEnd
3341
- }, this).disable(), this._marker._icon && j(this._marker._icon, "leaflet-marker-draggable");
3341
+ }, this).disable(), this._marker._icon && V(this._marker._icon, "leaflet-marker-draggable");
3342
3342
  },
3343
3343
  moved: function() {
3344
3344
  return this._draggable && this._draggable._moved;
@@ -3501,10 +3501,10 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3501
3501
  this.options.riseOnHover && this.off({
3502
3502
  mouseover: this._bringToFront,
3503
3503
  mouseout: this._resetZIndex
3504
- }), this.options.autoPanOnFocus && F(this._icon, "focus", this._panOnFocus, this), q(this._icon), this.removeInteractiveTarget(this._icon), this._icon = null;
3504
+ }), this.options.autoPanOnFocus && F(this._icon, "focus", this._panOnFocus, this), j(this._icon), this.removeInteractiveTarget(this._icon), this._icon = null;
3505
3505
  },
3506
3506
  _removeShadow: function() {
3507
- this._shadow && q(this._shadow), this._shadow = null;
3507
+ this._shadow && j(this._shadow), this._shadow = null;
3508
3508
  },
3509
3509
  _setPos: function(t) {
3510
3510
  this._icon && K(this._icon, t), this._shadow && K(this._shadow, t), this._zIndex = t.y + this.options.zIndexOffset, this._resetZIndex();
@@ -3685,7 +3685,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3685
3685
  },
3686
3686
  _updateBounds: function() {
3687
3687
  var t = this._radius, e = this._radiusY || t, i = this._clickTolerance(), n = [t + i, e + i];
3688
- this._pxBounds = new V(this._point.subtract(n), this._point.add(n));
3688
+ this._pxBounds = new q(this._point.subtract(n), this._point.add(n));
3689
3689
  },
3690
3690
  _update: function() {
3691
3691
  this._map && this._updatePath();
@@ -3818,12 +3818,12 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3818
3818
  return e;
3819
3819
  },
3820
3820
  _project: function() {
3821
- var t = new V();
3821
+ var t = new q();
3822
3822
  this._rings = [], this._projectLatlngs(this._latlngs, this._rings, t), this._bounds.isValid() && t.isValid() && (this._rawPxBounds = t, this._updateBounds());
3823
3823
  },
3824
3824
  _updateBounds: function() {
3825
3825
  var t = this._clickTolerance(), e = new O(t, t);
3826
- this._rawPxBounds && (this._pxBounds = new V([
3826
+ this._rawPxBounds && (this._pxBounds = new q([
3827
3827
  this._rawPxBounds.min.subtract(e),
3828
3828
  this._rawPxBounds.max.add(e)
3829
3829
  ]));
@@ -3906,7 +3906,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3906
3906
  },
3907
3907
  _clipPoints: function() {
3908
3908
  var t = this._renderer._bounds, e = this.options.weight, i = new O(e, e);
3909
- if (t = new V(t.min.subtract(i), t.max.add(i)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(t))) {
3909
+ if (t = new q(t.min.subtract(i), t.max.add(i)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(t))) {
3910
3910
  if (this.options.noClip) {
3911
3911
  this._parts = this._rings;
3912
3912
  return;
@@ -4182,7 +4182,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4182
4182
  this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (Z(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
4183
4183
  },
4184
4184
  onRemove: function() {
4185
- q(this._image), this.options.interactive && this.removeInteractiveTarget(this._image);
4185
+ j(this._image), this.options.interactive && this.removeInteractiveTarget(this._image);
4186
4186
  },
4187
4187
  // @method setOpacity(opacity: Number): this
4188
4188
  // Sets the opacity of the overlay.
@@ -4248,7 +4248,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4248
4248
  At(this._image, i, e);
4249
4249
  },
4250
4250
  _reset: function() {
4251
- var t = this._image, e = new V(
4251
+ var t = this._image, e = new q(
4252
4252
  this._map.latLngToLayerPoint(this._bounds.getNorthWest()),
4253
4253
  this._map.latLngToLayerPoint(this._bounds.getSouthEast())
4254
4254
  ), i = e.getSize();
@@ -4375,7 +4375,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4375
4375
  this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && ct(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && ct(this._container, 1), this.bringToFront(), this.options.interactive && (Z(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
4376
4376
  },
4377
4377
  onRemove: function(t) {
4378
- t._fadeAnimated ? (ct(this._container, 0), this._removeTimeout = setTimeout(a(q, void 0, this._container), 200)) : q(this._container), this.options.interactive && (j(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
4378
+ t._fadeAnimated ? (ct(this._container, 0), this._removeTimeout = setTimeout(a(j, void 0, this._container), 200)) : j(this._container), this.options.interactive && (V(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
4379
4379
  },
4380
4380
  // @namespace DivOverlay
4381
4381
  // @method getLatLng: LatLng
@@ -4589,7 +4589,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4589
4589
  var i = t.offsetWidth;
4590
4590
  i = Math.min(i, this.options.maxWidth), i = Math.max(i, this.options.minWidth), e.width = i + 1 + "px", e.whiteSpace = "", e.height = "";
4591
4591
  var n = t.offsetHeight, o = this.options.maxHeight, r = "leaflet-popup-scrolled";
4592
- o && n > o ? (e.height = o + "px", Z(t, r)) : j(t, r), this._containerWidth = this._container.offsetWidth;
4592
+ o && n > o ? (e.height = o + "px", Z(t, r)) : V(t, r), this._containerWidth = this._container.offsetWidth;
4593
4593
  },
4594
4594
  _animateZoom: function(t) {
4595
4595
  var e = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center), i = this._getAnchor();
@@ -4746,7 +4746,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4746
4746
  },
4747
4747
  _setPosition: function(t) {
4748
4748
  var e, i, n = this._map, o = this._container, r = n.latLngToContainerPoint(n.getCenter()), u = n.layerPointToContainerPoint(t), f = this.options.direction, m = o.offsetWidth, P = o.offsetHeight, T = E(this.options.offset), k = this._getAnchor();
4749
- f === "top" ? (e = m / 2, i = P) : f === "bottom" ? (e = m / 2, i = 0) : f === "center" ? (e = m / 2, i = P / 2) : f === "right" ? (e = 0, i = P / 2) : f === "left" ? (e = m, i = P / 2) : u.x < r.x ? (f = "right", e = 0, i = P / 2) : (f = "left", e = m + (T.x + k.x) * 2, i = P / 2), t = t.subtract(E(e, i, !0)).add(T).add(k), j(o, "leaflet-tooltip-right"), j(o, "leaflet-tooltip-left"), j(o, "leaflet-tooltip-top"), j(o, "leaflet-tooltip-bottom"), Z(o, "leaflet-tooltip-" + f), K(o, t);
4749
+ f === "top" ? (e = m / 2, i = P) : f === "bottom" ? (e = m / 2, i = 0) : f === "center" ? (e = m / 2, i = P / 2) : f === "right" ? (e = 0, i = P / 2) : f === "left" ? (e = m, i = P / 2) : u.x < r.x ? (f = "right", e = 0, i = P / 2) : (f = "left", e = m + (T.x + k.x) * 2, i = P / 2), t = t.subtract(E(e, i, !0)).add(T).add(k), V(o, "leaflet-tooltip-right"), V(o, "leaflet-tooltip-left"), V(o, "leaflet-tooltip-top"), V(o, "leaflet-tooltip-bottom"), Z(o, "leaflet-tooltip-" + f), K(o, t);
4750
4750
  },
4751
4751
  _updatePosition: function() {
4752
4752
  var t = this._map.latLngToLayerPoint(this._latlng);
@@ -4967,7 +4967,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4967
4967
  t._addZoomLimit(this);
4968
4968
  },
4969
4969
  onRemove: function(t) {
4970
- this._removeAllTiles(), q(this._container), t._removeZoomLimit(this), this._container = null, this._tileZoom = void 0;
4970
+ this._removeAllTiles(), j(this._container), t._removeZoomLimit(this), this._container = null, this._tileZoom = void 0;
4971
4971
  },
4972
4972
  // @method bringToFront: this
4973
4973
  // Brings the tile layer to the top of all tile layers.
@@ -5064,7 +5064,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5064
5064
  var t = this._tileZoom, e = this.options.maxZoom;
5065
5065
  if (t !== void 0) {
5066
5066
  for (var i in this._levels)
5067
- i = Number(i), this._levels[i].el.children.length || i === t ? (this._levels[i].el.style.zIndex = e - Math.abs(t - i), this._onUpdateLevel(i)) : (q(this._levels[i].el), this._removeTilesAtZoom(i), this._onRemoveLevel(i), delete this._levels[i]);
5067
+ i = Number(i), this._levels[i].el.children.length || i === t ? (this._levels[i].el.style.zIndex = e - Math.abs(t - i), this._onUpdateLevel(i)) : (j(this._levels[i].el), this._removeTilesAtZoom(i), this._onRemoveLevel(i), delete this._levels[i]);
5068
5068
  var n = this._levels[t], o = this._map;
5069
5069
  return n || (n = this._levels[t] = {}, n.el = R("div", "leaflet-tile-container leaflet-zoom-animated", this._container), n.el.style.zIndex = e, n.origin = o.project(o.unproject(o.getPixelOrigin()), t).round(), n.zoom = t, this._setZoomTransform(n, o.getCenter(), o.getZoom()), _(n.el.offsetWidth), this._onCreateLevel(n)), this._level = n, n;
5070
5070
  }
@@ -5100,7 +5100,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5100
5100
  },
5101
5101
  _invalidateAll: function() {
5102
5102
  for (var t in this._levels)
5103
- q(this._levels[t].el), this._onRemoveLevel(Number(t)), delete this._levels[t];
5103
+ j(this._levels[t].el), this._onRemoveLevel(Number(t)), delete this._levels[t];
5104
5104
  this._removeAllTiles(), this._tileZoom = void 0;
5105
5105
  },
5106
5106
  _retainParent: function(t, e, i, n) {
@@ -5162,7 +5162,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5162
5162
  },
5163
5163
  _getTiledPixelBounds: function(t) {
5164
5164
  var e = this._map, i = e._animatingZoom ? Math.max(e._animateToZoom, e.getZoom()) : e.getZoom(), n = e.getZoomScale(i, this._tileZoom), o = e.project(t, this._tileZoom).floor(), r = e.getSize().divideBy(n * 2);
5165
- return new V(o.subtract(r), o.add(r));
5165
+ return new q(o.subtract(r), o.add(r));
5166
5166
  },
5167
5167
  // Private method to load tiles in the grid's active zoom level according to map bounds
5168
5168
  _update: function(t) {
@@ -5170,7 +5170,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5170
5170
  if (e) {
5171
5171
  var i = this._clampZoom(e.getZoom());
5172
5172
  if (t === void 0 && (t = e.getCenter()), this._tileZoom !== void 0) {
5173
- var n = this._getTiledPixelBounds(t), o = this._pxBoundsToTileRange(n), r = o.getCenter(), u = [], f = this.options.keepBuffer, m = new V(
5173
+ var n = this._getTiledPixelBounds(t), o = this._pxBoundsToTileRange(n), r = o.getCenter(), u = [], f = this.options.keepBuffer, m = new q(
5174
5174
  o.getBottomLeft().subtract([f, -f]),
5175
5175
  o.getTopRight().add([f, -f])
5176
5176
  );
@@ -5192,8 +5192,8 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5192
5192
  $ ? $.current = !0 : u.push(it);
5193
5193
  }
5194
5194
  }
5195
- if (u.sort(function(rt, qt) {
5196
- return rt.distanceTo(r) - qt.distanceTo(r);
5195
+ if (u.sort(function(rt, jt) {
5196
+ return rt.distanceTo(r) - jt.distanceTo(r);
5197
5197
  }), u.length !== 0) {
5198
5198
  this._loading || (this._loading = !0, this.fire("loading"));
5199
5199
  var ft = document.createDocumentFragment();
@@ -5239,7 +5239,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5239
5239
  },
5240
5240
  _removeTile: function(t) {
5241
5241
  var e = this._tiles[t];
5242
- e && (q(e.el), delete this._tiles[t], this.fire("tileunload", {
5242
+ e && (j(e.el), delete this._tiles[t], this.fire("tileunload", {
5243
5243
  tile: e.el,
5244
5244
  coords: this._keyToTileCoords(t)
5245
5245
  }));
@@ -5284,7 +5284,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5284
5284
  },
5285
5285
  _pxBoundsToTileRange: function(t) {
5286
5286
  var e = this.getTileSize();
5287
- return new V(
5287
+ return new q(
5288
5288
  t.min.unscaleBy(e).floor(),
5289
5289
  t.max.unscaleBy(e).ceil().subtract([1, 1])
5290
5290
  );
@@ -5299,7 +5299,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5299
5299
  function vs(t) {
5300
5300
  return new re(t);
5301
5301
  }
5302
- var Vt = re.extend({
5302
+ var qt = re.extend({
5303
5303
  // @section
5304
5304
  // @aka TileLayer options
5305
5305
  options: {
@@ -5403,7 +5403,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5403
5403
  if (this._tiles[t].coords.z !== this._tileZoom && (e = this._tiles[t].el, e.onload = _, e.onerror = _, !e.complete)) {
5404
5404
  e.src = at;
5405
5405
  var i = this._tiles[t].coords;
5406
- q(e), delete this._tiles[t], this.fire("tileabort", {
5406
+ j(e), delete this._tiles[t], this.fire("tileabort", {
5407
5407
  tile: e,
5408
5408
  coords: i
5409
5409
  });
@@ -5420,9 +5420,9 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5420
5420
  }
5421
5421
  });
5422
5422
  function Tn(t, e) {
5423
- return new Vt(t, e);
5423
+ return new qt(t, e);
5424
5424
  }
5425
- var Mn = Vt.extend({
5425
+ var Mn = qt.extend({
5426
5426
  // @section
5427
5427
  // @aka TileLayer.WMS options
5428
5428
  // If any custom options not documented here are used, they will be sent to the
@@ -5468,10 +5468,10 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5468
5468
  onAdd: function(t) {
5469
5469
  this._crs = this.options.crs || t.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
5470
5470
  var e = this._wmsVersion >= 1.3 ? "crs" : "srs";
5471
- this.wmsParams[e] = this._crs.code, Vt.prototype.onAdd.call(this, t);
5471
+ this.wmsParams[e] = this._crs.code, qt.prototype.onAdd.call(this, t);
5472
5472
  },
5473
5473
  getTileUrl: function(t) {
5474
- var e = this._tileCoordsToNwSe(t), i = this._crs, n = ot(i.project(e[0]), i.project(e[1])), o = n.min, r = n.max, u = (this._wmsVersion >= 1.3 && this._crs === yn ? [o.y, o.x, r.y, r.x] : [o.x, o.y, r.x, r.y]).join(","), f = Vt.prototype.getTileUrl.call(this, t);
5474
+ var e = this._tileCoordsToNwSe(t), i = this._crs, n = ot(i.project(e[0]), i.project(e[1])), o = n.min, r = n.max, u = (this._wmsVersion >= 1.3 && this._crs === yn ? [o.y, o.x, r.y, r.x] : [o.x, o.y, r.x, r.y]).join(","), f = qt.prototype.getTileUrl.call(this, t);
5475
5475
  return f + H(this.wmsParams, f, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + u;
5476
5476
  },
5477
5477
  // @method setParams(params: Object, noRedraw?: Boolean): this
@@ -5483,7 +5483,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5483
5483
  function ys(t, e) {
5484
5484
  return new Mn(t, e);
5485
5485
  }
5486
- Vt.WMS = Mn, Tn.wms = ys;
5486
+ qt.WMS = Mn, Tn.wms = ys;
5487
5487
  var St = pt.extend({
5488
5488
  // @section
5489
5489
  // @aka Renderer options
@@ -5536,7 +5536,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5536
5536
  },
5537
5537
  _update: function() {
5538
5538
  var t = this.options.padding, e = this._map.getSize(), i = this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();
5539
- this._bounds = new V(i, i.add(e.multiplyBy(1 + t * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
5539
+ this._bounds = new q(i, i.add(e.multiplyBy(1 + t * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
5540
5540
  }
5541
5541
  }), Sn = St.extend({
5542
5542
  // @section
@@ -5561,7 +5561,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5561
5561
  z(t, "mousemove", this._onMouseMove, this), z(t, "click dblclick mousedown mouseup contextmenu", this._onClick, this), z(t, "mouseout", this._handleMouseOut, this), t._leaflet_disable_events = !0, this._ctx = t.getContext("2d");
5562
5562
  },
5563
5563
  _destroyContainer: function() {
5564
- lt(this._redrawRequest), delete this._ctx, q(this._container), F(this._container), delete this._container;
5564
+ lt(this._redrawRequest), delete this._ctx, j(this._container), F(this._container), delete this._container;
5565
5565
  },
5566
5566
  _updatePaths: function() {
5567
5567
  if (!this._postponeUpdatePaths) {
@@ -5622,7 +5622,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5622
5622
  _extendRedrawBounds: function(t) {
5623
5623
  if (t._pxBounds) {
5624
5624
  var e = (t.options.weight || 0) + 1;
5625
- this._redrawBounds = this._redrawBounds || new V(), this._redrawBounds.extend(t._pxBounds.min.subtract([e, e])), this._redrawBounds.extend(t._pxBounds.max.add([e, e]));
5625
+ this._redrawBounds = this._redrawBounds || new q(), this._redrawBounds.extend(t._pxBounds.min.subtract([e, e])), this._redrawBounds.extend(t._pxBounds.max.add([e, e]));
5626
5626
  }
5627
5627
  },
5628
5628
  _redraw: function() {
@@ -5685,7 +5685,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5685
5685
  },
5686
5686
  _handleMouseOut: function(t) {
5687
5687
  var e = this._hoveredLayer;
5688
- e && (j(this._container, "leaflet-interactive"), this._fireEvent([e], t, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);
5688
+ e && (V(this._container, "leaflet-interactive"), this._fireEvent([e], t, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);
5689
5689
  },
5690
5690
  _handleMouseHover: function(t, e) {
5691
5691
  if (!this._mouseHoverThrottled) {
@@ -5752,7 +5752,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5752
5752
  },
5753
5753
  _removePath: function(t) {
5754
5754
  var e = t._container;
5755
- q(e), t.removeInteractiveTarget(e), delete this._layers[l(t)];
5755
+ j(e), t.removeInteractiveTarget(e), delete this._layers[l(t)];
5756
5756
  },
5757
5757
  _updateStyle: function(t) {
5758
5758
  var e = t._stroke, i = t._fill, n = t.options, o = t._container;
@@ -5776,7 +5776,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5776
5776
  this._container = Me("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Me("g"), this._container.appendChild(this._rootGroup);
5777
5777
  },
5778
5778
  _destroyContainer: function() {
5779
- q(this._container), F(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
5779
+ j(this._container), F(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
5780
5780
  },
5781
5781
  _update: function() {
5782
5782
  if (!(this._map._animatingZoom && this._bounds)) {
@@ -5794,7 +5794,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5794
5794
  this._rootGroup || this._initContainer(), this._rootGroup.appendChild(t._path), t.addInteractiveTarget(t._path);
5795
5795
  },
5796
5796
  _removePath: function(t) {
5797
- q(t._path), t.removeInteractiveTarget(t._path), delete this._layers[l(t)];
5797
+ j(t._path), t.removeInteractiveTarget(t._path), delete this._layers[l(t)];
5798
5798
  },
5799
5799
  _updatePath: function(t) {
5800
5800
  t._project(), t._update();
@@ -5885,7 +5885,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5885
5885
  return this._moved;
5886
5886
  },
5887
5887
  _destroy: function() {
5888
- q(this._pane), delete this._pane;
5888
+ j(this._pane), delete this._pane;
5889
5889
  },
5890
5890
  _resetState: function() {
5891
5891
  this._resetStateTimeout = 0, this._moved = !1;
@@ -5905,11 +5905,11 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5905
5905
  },
5906
5906
  _onMouseMove: function(t) {
5907
5907
  this._moved || (this._moved = !0, this._box = R("div", "leaflet-zoom-box", this._container), Z(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(t);
5908
- var e = new V(this._point, this._startPoint), i = e.getSize();
5908
+ var e = new q(this._point, this._startPoint), i = e.getSize();
5909
5909
  K(this._box, e.min), this._box.style.width = i.x + "px", this._box.style.height = i.y + "px";
5910
5910
  },
5911
5911
  _finish: function() {
5912
- this._moved && (q(this._box), j(this._container, "leaflet-crosshair")), te(), $e(), F(document, {
5912
+ this._moved && (j(this._box), V(this._container, "leaflet-crosshair")), te(), $e(), F(document, {
5913
5913
  contextmenu: Bt,
5914
5914
  mousemove: this._onMouseMove,
5915
5915
  mouseup: this._onMouseUp,
@@ -5998,7 +5998,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5998
5998
  Z(this._map._container, "leaflet-grab leaflet-touch-drag"), this._draggable.enable(), this._positions = [], this._times = [];
5999
5999
  },
6000
6000
  removeHooks: function() {
6001
- j(this._map._container, "leaflet-grab"), j(this._map._container, "leaflet-touch-drag"), this._draggable.disable();
6001
+ V(this._map._container, "leaflet-grab"), V(this._map._container, "leaflet-touch-drag"), this._draggable.disable();
6002
6002
  },
6003
6003
  moved: function() {
6004
6004
  return this._draggable && this._draggable._moved;
@@ -6272,7 +6272,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
6272
6272
  Z(this._map._container, "leaflet-touch-zoom"), z(this._map._container, "touchstart", this._onTouchStart, this);
6273
6273
  },
6274
6274
  removeHooks: function() {
6275
- j(this._map._container, "leaflet-touch-zoom"), F(this._map._container, "touchstart", this._onTouchStart, this);
6275
+ V(this._map._container, "leaflet-touch-zoom"), F(this._map._container, "touchstart", this._onTouchStart, this);
6276
6276
  },
6277
6277
  _onTouchStart: function(t) {
6278
6278
  var e = this._map;
@@ -6306,7 +6306,7 @@ var jn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
6306
6306
  this._zooming = !1, lt(this._animRequest), F(document, "touchmove", this._onTouchMove, this), F(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
6307
6307
  }
6308
6308
  });
6309
- N.addInitHook("addHandler", "touchZoom", Rn), N.BoxZoom = zn, N.DoubleClickZoom = An, N.Drag = Zn, N.Keyboard = In, N.ScrollWheelZoom = Bn, N.TapHold = Nn, N.TouchZoom = Rn, c.Bounds = V, c.Browser = S, c.CRS = xt, c.Canvas = Sn, c.Circle = fi, c.CircleMarker = ye, c.Class = Pt, c.Control = _t, c.DivIcon = Cn, c.DivOverlay = yt, c.DomEvent = Ho, c.DomUtil = Ro, c.Draggable = Et, c.Evented = Jt, c.FeatureGroup = Ct, c.GeoJSON = Mt, c.GridLayer = re, c.Handler = vt, c.Icon = Gt, c.ImageOverlay = xe, c.LatLng = D, c.LatLngBounds = st, c.Layer = pt, c.LayerGroup = Ft, c.LineUtil = Qo, c.Map = N, c.Marker = ve, c.Mixin = jo, c.Path = Ot, c.Point = O, c.PolyUtil = Jo, c.Polygon = Ut, c.Polyline = Tt, c.Popup = Ce, c.PosAnimation = an, c.Projection = ts, c.Rectangle = On, c.Renderer = St, c.SVG = he, c.SVGOverlay = xn, c.TileLayer = Vt, c.Tooltip = Te, c.Transformation = De, c.Util = so, c.VideoOverlay = Pn, c.bind = a, c.bounds = ot, c.canvas = kn, c.circle = hs, c.circleMarker = as, c.control = ne, c.divIcon = gs, c.extend = x, c.featureGroup = os, c.geoJSON = bn, c.geoJson = cs, c.gridLayer = vs, c.icon = ss, c.imageOverlay = ds, c.latLng = B, c.latLngBounds = J, c.layerGroup = ns, c.map = Fo, c.marker = rs, c.point = E, c.polygon = ls, c.polyline = us, c.popup = ps, c.rectangle = ws, c.setOptions = C, c.stamp = l, c.svg = En, c.svgOverlay = _s, c.tileLayer = Tn, c.tooltip = ms, c.transformation = Kt, c.version = g, c.videoOverlay = fs;
6309
+ N.addInitHook("addHandler", "touchZoom", Rn), N.BoxZoom = zn, N.DoubleClickZoom = An, N.Drag = Zn, N.Keyboard = In, N.ScrollWheelZoom = Bn, N.TapHold = Nn, N.TouchZoom = Rn, c.Bounds = q, c.Browser = S, c.CRS = xt, c.Canvas = Sn, c.Circle = fi, c.CircleMarker = ye, c.Class = Pt, c.Control = _t, c.DivIcon = Cn, c.DivOverlay = yt, c.DomEvent = Ho, c.DomUtil = Ro, c.Draggable = Et, c.Evented = Jt, c.FeatureGroup = Ct, c.GeoJSON = Mt, c.GridLayer = re, c.Handler = vt, c.Icon = Gt, c.ImageOverlay = xe, c.LatLng = D, c.LatLngBounds = st, c.Layer = pt, c.LayerGroup = Ft, c.LineUtil = Qo, c.Map = N, c.Marker = ve, c.Mixin = Vo, c.Path = Ot, c.Point = O, c.PolyUtil = Jo, c.Polygon = Ut, c.Polyline = Tt, c.Popup = Ce, c.PosAnimation = an, c.Projection = ts, c.Rectangle = On, c.Renderer = St, c.SVG = he, c.SVGOverlay = xn, c.TileLayer = qt, c.Tooltip = Te, c.Transformation = De, c.Util = so, c.VideoOverlay = Pn, c.bind = a, c.bounds = ot, c.canvas = kn, c.circle = hs, c.circleMarker = as, c.control = ne, c.divIcon = gs, c.extend = x, c.featureGroup = os, c.geoJSON = bn, c.geoJson = cs, c.gridLayer = vs, c.icon = ss, c.imageOverlay = ds, c.latLng = B, c.latLngBounds = J, c.layerGroup = ns, c.map = Fo, c.marker = rs, c.point = E, c.polygon = ls, c.polyline = us, c.popup = ps, c.rectangle = ws, c.setOptions = C, c.stamp = l, c.svg = En, c.svgOverlay = _s, c.tileLayer = Tn, c.tooltip = ms, c.transformation = Kt, c.version = g, c.videoOverlay = fs;
6310
6310
  var Ps = window.L;
6311
6311
  c.noConflict = function() {
6312
6312
  return window.L = Ps, this;
@@ -6456,14 +6456,14 @@ const Rs = (v) => ({
6456
6456
  let d = parseInt(v.value);
6457
6457
  return isNaN(d) ? {
6458
6458
  status: "abort",
6459
- issues: [...v.issues, Vs(v.value)],
6459
+ issues: [...v.issues, qs(v.value)],
6460
6460
  value: d
6461
6461
  } : { ...v, value: d };
6462
6462
  }, Us = () => (v) => {
6463
6463
  let d = parseFloat(v.value);
6464
6464
  return isNaN(d) ? {
6465
6465
  status: "abort",
6466
- issues: [...v.issues, qs(v.value)],
6466
+ issues: [...v.issues, js(v.value)],
6467
6467
  value: d
6468
6468
  } : { ...v, value: d };
6469
6469
  }, ze = () => (v) => {
@@ -6473,18 +6473,18 @@ const Rs = (v) => ({
6473
6473
  } catch (c) {
6474
6474
  return {
6475
6475
  status: "abort",
6476
- issues: [...v.issues, js(c)],
6476
+ issues: [...v.issues, Vs(c)],
6477
6477
  value: null
6478
6478
  };
6479
6479
  }
6480
6480
  return { ...v, value: d };
6481
- }, Ws = () => (v) => ({ ...v, value: v.value.toLowerCase() === "true" }), Ee = (v, ...d) => Fs(Q(v), ...d), Vs = (v) => ({
6481
+ }, Ws = () => (v) => ({ ...v, value: v.value.toLowerCase() === "true" }), Ee = (v, ...d) => Fs(Q(v), ...d), qs = (v) => ({
6482
6482
  code: "parse_int",
6483
6483
  message: `could not parse int given: "${v}"`
6484
- }), qs = (v) => ({
6484
+ }), js = (v) => ({
6485
6485
  code: "parse_float",
6486
6486
  message: `could not parse float given: "${v}"`
6487
- }), js = (v) => ({
6487
+ }), Vs = (v) => ({
6488
6488
  code: "parse_json",
6489
6489
  message: v.message
6490
6490
  }), Js = (v, d) => ({
@@ -6637,27 +6637,32 @@ class Ci extends zt {
6637
6637
  }
6638
6638
  connectedCallback() {
6639
6639
  const d = wt(Q("url-template"), this), c = Ci.parseTemplateAttributes(d), g = {};
6640
- for (const y of c) {
6641
- const _ = this.getAttribute(y);
6642
- _ !== null && (g[y] = _);
6640
+ for (const _ of c) {
6641
+ const b = this.getAttribute(_);
6642
+ b !== null && (g[_] = b);
6643
6643
  }
6644
6644
  const x = {};
6645
6645
  this.parentElement.tagName.toLowerCase() === "l-pane" && (x.pane = this.parentElement.getAttribute("name"));
6646
6646
  const s = this.getAttribute("name"), a = Be({
6647
6647
  attribution: ut(Q("attribution")),
6648
6648
  errorTileUrl: ut(Q("error-tile-url"))
6649
- }), h = wt(a, this), l = to(this);
6649
+ }), h = wt(a, this), l = this.getAttribute("zoom-offset");
6650
+ if (l) {
6651
+ const _ = parseInt(l);
6652
+ isNaN(_) || (h.zoomOffset = _);
6653
+ }
6654
+ const p = to(this);
6650
6655
  this.layer = G.tileLayer(d, {
6651
6656
  ...g,
6652
6657
  ...x,
6653
6658
  ...h,
6654
- ...l
6659
+ ...p
6655
6660
  });
6656
- const p = new CustomEvent(et, {
6661
+ const y = new CustomEvent(et, {
6657
6662
  detail: { name: s, layer: this.layer },
6658
6663
  bubbles: !0
6659
6664
  });
6660
- this.dispatchEvent(p);
6665
+ this.dispatchEvent(y);
6661
6666
  }
6662
6667
  /**
6663
6668
  * @param {string} urlTemplate
@@ -6670,7 +6675,7 @@ class Ci extends zt {
6670
6675
  }
6671
6676
  class Xs extends zt {
6672
6677
  static get observedAttributes() {
6673
- return ["options"];
6678
+ return ["options", "layers", "styles", "format", "transparent", "version", "crs", "uppercase"];
6674
6679
  }
6675
6680
  constructor() {
6676
6681
  super(), this.layer = null;
@@ -6679,7 +6684,15 @@ class Xs extends zt {
6679
6684
  this.initLayer();
6680
6685
  }
6681
6686
  attributeChangedCallback(d, c, g) {
6682
- d === "options" && c !== g && this.isConnected && this.reloadLayer();
6687
+ if (this.layer && c !== g)
6688
+ switch (d) {
6689
+ case "options":
6690
+ this.layer.setParams(this._parseNonStandardOptions(g));
6691
+ break;
6692
+ default:
6693
+ this.layer.setParams({ [d]: g });
6694
+ break;
6695
+ }
6683
6696
  }
6684
6697
  initLayer() {
6685
6698
  const d = wt(Q("url-template"), this), c = this.getAttribute("name"), g = Be({
@@ -6693,35 +6706,32 @@ class Xs extends zt {
6693
6706
  uppercase: ut(Q("uppercase")),
6694
6707
  // Inherited option from Layer: https://leafletjs.com/reference.html#tilelayer-wms-attribution
6695
6708
  attribution: ut(Q("attribution"))
6696
- }), x = wt(g, this), s = this.getAttribute("options"), a = () => {
6697
- if (s)
6698
- try {
6699
- return JSON.parse(s);
6700
- } catch (y) {
6701
- return console.error(
6702
- "Error whilst parsing JSON for options attribute in l-tile-layer-wms",
6703
- y
6704
- ), {};
6705
- }
6706
- else
6707
- return {};
6708
- }, h = {};
6709
- this.parentElement.tagName.toLowerCase() === "l-pane" && (h.pane = this.parentElement.getAttribute("name"));
6710
- const l = to(this);
6709
+ }), x = wt(g, this), s = this.getAttribute("options"), a = {};
6710
+ this.parentElement.tagName.toLowerCase() === "l-pane" && (a.pane = this.parentElement.getAttribute("name"));
6711
+ const h = to(this);
6711
6712
  this.layer = G.tileLayer.wms(d, {
6712
6713
  ...x,
6713
- ...a(),
6714
- ...h,
6715
- ...l
6714
+ ...this._parseNonStandardOptions(s),
6715
+ ...a,
6716
+ ...h
6716
6717
  });
6717
- const p = new CustomEvent(et, {
6718
+ const l = new CustomEvent(et, {
6718
6719
  detail: { name: c, layer: this.layer },
6719
6720
  bubbles: !0
6720
6721
  });
6721
- this.dispatchEvent(p);
6722
+ this.dispatchEvent(l);
6722
6723
  }
6723
- reloadLayer() {
6724
- this.layer && this.layer.remove(), this.initLayer();
6724
+ _parseNonStandardOptions(d) {
6725
+ if (d)
6726
+ try {
6727
+ return JSON.parse(d);
6728
+ } catch (c) {
6729
+ console.error(
6730
+ "Error whilst parsing JSON for options attribute in l-tile-layer-wms",
6731
+ c
6732
+ );
6733
+ }
6734
+ return {};
6725
6735
  }
6726
6736
  }
6727
6737
  class eo extends HTMLElement {
@@ -7016,7 +7026,7 @@ const Ti = (v) => {
7016
7026
  interactiveLayer: [X("interactive", "boolean", !0)]
7017
7027
  };
7018
7028
  return or(v).flatMap((c) => d[c]);
7019
- }, Vn = {
7029
+ }, qn = {
7020
7030
  circle: ["path"],
7021
7031
  polyline: ["path"],
7022
7032
  polygon: ["polyline"],
@@ -7025,8 +7035,8 @@ const Ti = (v) => {
7025
7035
  interactiveLayer: []
7026
7036
  }, or = (v) => {
7027
7037
  let d = v, c = [v];
7028
- for (; Vn[d].length > 0; ) {
7029
- let g = Vn[d][0];
7038
+ for (; qn[d].length > 0; ) {
7039
+ let g = qn[d][0];
7030
7040
  c.push(g), d = g;
7031
7041
  }
7032
7042
  return c;
@@ -7110,11 +7120,11 @@ const Ti = (v) => {
7110
7120
  }
7111
7121
  return Lt(c, "observedAttributes", rr(d)), c;
7112
7122
  };
7113
- var qn = { exports: {} };
7123
+ var jn = { exports: {} };
7114
7124
  (function(v, d) {
7115
7125
  (function(c, g) {
7116
7126
  g(d);
7117
- })(jn, function(c) {
7127
+ })(Vn, function(c) {
7118
7128
  var g = L.MarkerClusterGroup = L.FeatureGroup.extend({
7119
7129
  options: {
7120
7130
  maxClusterRadius: 80,
@@ -7205,8 +7215,8 @@ var qn = { exports: {} };
7205
7215
  continue;
7206
7216
  }
7207
7217
  if (!this.hasLayer(C) && (this._addLayer(C, this._maxZoom), a || this.fire("layeradd", { layer: C }), C.__parent && C.__parent.getChildCount() === 2)) {
7208
- var at = C.__parent.getAllChildMarkers(), jt = at[0] === C ? at[1] : at[0];
7209
- h.removeLayer(jt);
7218
+ var at = C.__parent.getAllChildMarkers(), Vt = at[0] === C ? at[1] : at[0];
7219
+ h.removeLayer(Vt);
7210
7220
  }
7211
7221
  }
7212
7222
  _ && _(w, b, (/* @__PURE__ */ new Date()).getTime() - H), w === b ? (this._topClusterLevel._recalculateBounds(), this._refreshClustersIcons(), this._topClusterLevel._recursivelyAddChildrenToMap(null, this._zoom, this._currentShownBounds)) : setTimeout(A, this.options.chunkDelay);
@@ -8122,7 +8132,7 @@ var qn = { exports: {} };
8122
8132
  }
8123
8133
  }), c.MarkerClusterGroup = g, c.MarkerCluster = x, Object.defineProperty(c, "__esModule", { value: !0 });
8124
8134
  });
8125
- })(qn, qn.exports);
8135
+ })(jn, jn.exports);
8126
8136
  class oo extends zt {
8127
8137
  constructor() {
8128
8138
  super(), this.layer = null;