leaflet-html 0.13.8 → 0.13.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/leaflet-html.js +294 -290
- package/dist/leaflet-html.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/leaflet-html.js
CHANGED
@@ -11,7 +11,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
11
11
|
g(d);
|
12
12
|
})(Vn, function(c) {
|
13
13
|
var g = "1.9.4";
|
14
|
-
function
|
14
|
+
function P(t) {
|
15
15
|
var e, i, n, o;
|
16
16
|
for (i = 1, n = arguments.length; i < n; i++) {
|
17
17
|
o = arguments[i];
|
@@ -55,17 +55,17 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
55
55
|
function _() {
|
56
56
|
return !1;
|
57
57
|
}
|
58
|
-
function
|
58
|
+
function w(t, e) {
|
59
59
|
if (e === !1)
|
60
60
|
return t;
|
61
61
|
var i = Math.pow(10, e === void 0 ? 6 : e);
|
62
62
|
return Math.round(t * i) / i;
|
63
63
|
}
|
64
|
-
function
|
64
|
+
function b(t) {
|
65
65
|
return t.trim ? t.trim() : t.replace(/^\s+|\s+$/g, "");
|
66
66
|
}
|
67
67
|
function M(t) {
|
68
|
-
return
|
68
|
+
return b(t).split(/\s+/);
|
69
69
|
}
|
70
70
|
function C(t, e) {
|
71
71
|
Object.prototype.hasOwnProperty.call(t, "options") || (t.options = t.options ? s(t.options) : {});
|
@@ -91,7 +91,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
91
91
|
var W = Array.isArray || function(t) {
|
92
92
|
return Object.prototype.toString.call(t) === "[object Array]";
|
93
93
|
};
|
94
|
-
function
|
94
|
+
function wt(t, e) {
|
95
95
|
for (var i = 0; i < t.length; i++)
|
96
96
|
if (t[i] === e)
|
97
97
|
return i;
|
@@ -120,7 +120,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
120
120
|
}
|
121
121
|
var so = {
|
122
122
|
__proto__: null,
|
123
|
-
extend:
|
123
|
+
extend: P,
|
124
124
|
create: s,
|
125
125
|
bind: a,
|
126
126
|
get lastId() {
|
@@ -130,42 +130,42 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
130
130
|
throttle: p,
|
131
131
|
wrapNum: y,
|
132
132
|
falseFn: _,
|
133
|
-
formatNum:
|
134
|
-
trim:
|
133
|
+
formatNum: w,
|
134
|
+
trim: b,
|
135
135
|
splitWords: M,
|
136
136
|
setOptions: C,
|
137
137
|
getParamString: H,
|
138
138
|
template: U,
|
139
139
|
isArray: W,
|
140
|
-
indexOf:
|
140
|
+
indexOf: wt,
|
141
141
|
emptyImageUrl: at,
|
142
142
|
requestFn: Ne,
|
143
143
|
cancelFn: ki,
|
144
144
|
requestAnimFrame: nt,
|
145
145
|
cancelAnimFrame: lt
|
146
146
|
};
|
147
|
-
function
|
147
|
+
function xt() {
|
148
148
|
}
|
149
|
-
|
149
|
+
xt.extend = function(t) {
|
150
150
|
var e = function() {
|
151
151
|
C(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
|
152
152
|
}, i = e.__super__ = this.prototype, n = s(i);
|
153
153
|
n.constructor = e, e.prototype = n;
|
154
154
|
for (var o in this)
|
155
155
|
Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (e[o] = this[o]);
|
156
|
-
return t.statics &&
|
156
|
+
return t.statics && P(e, t.statics), t.includes && (ro(t.includes), P.apply(null, [n].concat(t.includes))), P(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? s(i.options) : {}, P(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
|
157
157
|
if (!this._initHooksCalled) {
|
158
158
|
i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
|
159
159
|
for (var r = 0, u = n._initHooks.length; r < u; r++)
|
160
160
|
n._initHooks[r].call(this);
|
161
161
|
}
|
162
162
|
}, e;
|
163
|
-
},
|
163
|
+
}, xt.include = function(t) {
|
164
164
|
var e = this.prototype.options;
|
165
|
-
return
|
166
|
-
},
|
167
|
-
return
|
168
|
-
},
|
165
|
+
return P(this.prototype, t), t.options && (this.prototype.options = e, this.mergeOptions(t.options)), this;
|
166
|
+
}, xt.mergeOptions = function(t) {
|
167
|
+
return P(this.prototype.options, t), this;
|
168
|
+
}, xt.addInitHook = function(t) {
|
169
169
|
var e = Array.prototype.slice.call(arguments, 1), i = typeof t == "function" ? t : function() {
|
170
170
|
this[t].apply(this, e);
|
171
171
|
};
|
@@ -261,7 +261,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
261
261
|
fire: function(t, e, i) {
|
262
262
|
if (!this.listens(t, i))
|
263
263
|
return this;
|
264
|
-
var n =
|
264
|
+
var n = P({}, e, {
|
265
265
|
type: t,
|
266
266
|
target: this,
|
267
267
|
sourceTarget: e && e.sourceTarget || this
|
@@ -335,14 +335,14 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
335
335
|
},
|
336
336
|
_propagateEvent: function(t) {
|
337
337
|
for (var e in this._eventParents)
|
338
|
-
this._eventParents[e].fire(t.type,
|
338
|
+
this._eventParents[e].fire(t.type, P({
|
339
339
|
layer: t.target,
|
340
340
|
propagatedFrom: t.target
|
341
341
|
}, t), !0);
|
342
342
|
}
|
343
343
|
};
|
344
344
|
ht.addEventListener = ht.on, ht.removeEventListener = ht.clearAllEventListeners = ht.off, ht.addOneTimeEventListener = ht.once, ht.fireEvent = ht.fire, ht.hasEventListeners = ht.listens;
|
345
|
-
var Jt =
|
345
|
+
var Jt = xt.extend(ht);
|
346
346
|
function O(t, e, i) {
|
347
347
|
this.x = i ? Math.round(t) : t, this.y = i ? Math.round(e) : e;
|
348
348
|
}
|
@@ -453,7 +453,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
453
453
|
// @method toString(): String
|
454
454
|
// Returns a string representation of the point for debugging purposes.
|
455
455
|
toString: function() {
|
456
|
-
return "Point(" +
|
456
|
+
return "Point(" + w(this.x) + ", " + w(this.y) + ")";
|
457
457
|
}
|
458
458
|
};
|
459
459
|
function E(t, e, i) {
|
@@ -709,7 +709,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
709
709
|
// @method toString(): String
|
710
710
|
// Returns a string representation of the point (for debugging purposes).
|
711
711
|
toString: function(t) {
|
712
|
-
return "LatLng(" +
|
712
|
+
return "LatLng(" + w(this.lat, t) + ", " + w(this.lng, t) + ")";
|
713
713
|
},
|
714
714
|
// @method distanceTo(otherLatLng: LatLng): Number
|
715
715
|
// Returns the distance (in meters) to the given `LatLng` calculated using the [Spherical Law of Cosines](https://en.wikipedia.org/wiki/Spherical_law_of_cosines).
|
@@ -737,7 +737,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
737
737
|
function B(t, e, i) {
|
738
738
|
return t instanceof D ? t : W(t) && typeof t[0] != "object" ? t.length === 3 ? new D(t[0], t[1], t[2]) : t.length === 2 ? new D(t[0], t[1]) : null : t == null ? t : typeof t == "object" && "lat" in t ? new D(t.lat, "lng" in t ? t.lng : t.lon, t.alt) : e === void 0 ? null : new D(t, e, i);
|
739
739
|
}
|
740
|
-
var
|
740
|
+
var Pt = {
|
741
741
|
// @method latLngToPoint(latlng: LatLng, zoom: Number): Point
|
742
742
|
// Projects geographical coordinates into pixel coordinates for a given zoom.
|
743
743
|
latLngToPoint: function(t, e) {
|
@@ -819,7 +819,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
819
819
|
var r = t.getSouthWest(), u = t.getNorthEast(), f = new D(r.lat - n, r.lng - o), m = new D(u.lat - n, u.lng - o);
|
820
820
|
return new st(f, m);
|
821
821
|
}
|
822
|
-
}, kt =
|
822
|
+
}, kt = P({}, Pt, {
|
823
823
|
wrapLng: [-180, 180],
|
824
824
|
// Mean Earth Radius, as recommended for use by
|
825
825
|
// the International Union of Geodesy and Geophysics,
|
@@ -883,14 +883,14 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
883
883
|
function Kt(t, e, i, n) {
|
884
884
|
return new De(t, e, i, n);
|
885
885
|
}
|
886
|
-
var He =
|
886
|
+
var He = P({}, kt, {
|
887
887
|
code: "EPSG:3857",
|
888
888
|
projection: Re,
|
889
889
|
transformation: function() {
|
890
890
|
var t = 0.5 / (Math.PI * Re.R);
|
891
891
|
return Kt(t, 0.5, -t, 0.5);
|
892
892
|
}()
|
893
|
-
}), ao =
|
893
|
+
}), ao = P({}, He, {
|
894
894
|
code: "EPSG:900913"
|
895
895
|
});
|
896
896
|
function zi(t) {
|
@@ -905,7 +905,7 @@ var Vn = 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), 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,
|
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, bo = function() {
|
909
909
|
var t = !1;
|
910
910
|
try {
|
911
911
|
var e = Object.defineProperty({}, "passive", {
|
@@ -917,12 +917,12 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
917
917
|
} catch {
|
918
918
|
}
|
919
919
|
return t;
|
920
|
-
}(),
|
920
|
+
}(), wo = function() {
|
921
921
|
return !!document.createElement("canvas").getContext;
|
922
|
-
}(), qe = !!(document.createElementNS && zi("svg").createSVGRect),
|
922
|
+
}(), qe = !!(document.createElementNS && zi("svg").createSVGRect), xo = !!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
|
-
}(),
|
925
|
+
}(), Po = !qe && function() {
|
926
926
|
try {
|
927
927
|
var t = document.createElement("div");
|
928
928
|
t.innerHTML = '<v:shape adj="1"/>';
|
@@ -964,11 +964,11 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
964
964
|
mobileOpera: vo,
|
965
965
|
mobileGecko: yo,
|
966
966
|
retina: Lo,
|
967
|
-
passiveEvents:
|
968
|
-
canvas:
|
967
|
+
passiveEvents: bo,
|
968
|
+
canvas: wo,
|
969
969
|
svg: qe,
|
970
|
-
vml:
|
971
|
-
inlineSvg:
|
970
|
+
vml: Po,
|
971
|
+
inlineSvg: xo,
|
972
972
|
mac: Co,
|
973
973
|
linux: To
|
974
974
|
}, ji = S.msPointer ? "MSPointerDown" : "pointerdown", Vi = S.msPointer ? "MSPointerMove" : "pointermove", Ji = S.msPointer ? "MSPointerUp" : "pointerup", Ki = S.msPointer ? "MSPointerCancel" : "pointercancel", je = {
|
@@ -1102,7 +1102,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
1102
1102
|
}
|
1103
1103
|
}
|
1104
1104
|
function V(t, e) {
|
1105
|
-
t.classList !== void 0 ? t.classList.remove(e) : Ke(t,
|
1105
|
+
t.classList !== void 0 ? t.classList.remove(e) : Ke(t, b((" " + fe(t) + " ").replace(" " + e + " ", " ")));
|
1106
1106
|
}
|
1107
1107
|
function Ke(t, e) {
|
1108
1108
|
t.className.baseVal === void 0 ? t.className = e : t.className.baseVal = e;
|
@@ -1243,7 +1243,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
1243
1243
|
oi(t, o, e[o], i);
|
1244
1244
|
else if (e = M(e), arguments.length === 2)
|
1245
1245
|
nn(t, function(f) {
|
1246
|
-
return
|
1246
|
+
return wt(e, f) !== -1;
|
1247
1247
|
});
|
1248
1248
|
else
|
1249
1249
|
for (var r = 0, u = e.length; r < u; r++)
|
@@ -1484,7 +1484,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
1484
1484
|
// animation options.
|
1485
1485
|
setView: function(t, e, i) {
|
1486
1486
|
if (e = e === void 0 ? this._zoom : this._limitZoom(e), t = this._limitCenter(B(t), e, this.options.maxBounds), i = i || {}, this._stop(), this._loaded && !i.reset && i !== !0) {
|
1487
|
-
i.animate !== void 0 && (i.zoom =
|
1487
|
+
i.animate !== void 0 && (i.zoom = P({ animate: i.animate }, i.zoom), i.pan = P({ animate: i.animate, duration: i.duration }, i.pan));
|
1488
1488
|
var n = this._zoom !== e ? this._tryAnimatedZoom && this._tryAnimatedZoom(t, e, i.zoom) : this._tryAnimatedPan(t, i.pan);
|
1489
1489
|
if (n)
|
1490
1490
|
return clearTimeout(this._sizeTimer), this;
|
@@ -1577,9 +1577,9 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
1577
1577
|
this._stop();
|
1578
1578
|
var n = this.project(this.getCenter()), o = this.project(t), r = this.getSize(), u = this._zoom;
|
1579
1579
|
t = B(t), e = e === void 0 ? u : e;
|
1580
|
-
var f = Math.max(r.x, r.y), m = f * this.getZoomScale(u, e),
|
1580
|
+
var f = Math.max(r.x, r.y), m = f * this.getZoomScale(u, e), x = o.distanceTo(n) || 1, T = 1.42, k = T * T;
|
1581
1581
|
function I(Y) {
|
1582
|
-
var Se = Y ? -1 : 1, Ss = Y ? m : f, ks = m * m - f * f + Se * k * k *
|
1582
|
+
var Se = Y ? -1 : 1, Ss = Y ? m : f, ks = m * m - f * f + Se * k * k * x * x, Es = 2 * Ss * k * x, gi = ks / Es, Fn = Math.sqrt(gi * gi + 1) - gi, Os = Fn < 1e-9 ? -18 : Math.log(Fn);
|
1583
1583
|
return Os;
|
1584
1584
|
}
|
1585
1585
|
function it(Y) {
|
@@ -1595,7 +1595,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
1595
1595
|
function jt(Y) {
|
1596
1596
|
return f * ($(rt) / $(rt + T * Y));
|
1597
1597
|
}
|
1598
|
-
function
|
1598
|
+
function Ps(Y) {
|
1599
1599
|
return f * ($(rt) * ft(rt + T * Y) - it(rt)) / k;
|
1600
1600
|
}
|
1601
1601
|
function Cs(Y) {
|
@@ -1605,7 +1605,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
1605
1605
|
function Hn() {
|
1606
1606
|
var Y = (Date.now() - Ts) / Ms, Se = Cs(Y) * Dn;
|
1607
1607
|
Y <= 1 ? (this._flyToFrame = nt(Hn, this), this._move(
|
1608
|
-
this.unproject(n.add(o.subtract(n).multiplyBy(
|
1608
|
+
this.unproject(n.add(o.subtract(n).multiplyBy(Ps(Se) / x)), u),
|
1609
1609
|
this.getScaleZoom(f / jt(Se), u),
|
1610
1610
|
{ flyTo: !0 }
|
1611
1611
|
)) : this._move(t, e)._moveEnd(!0);
|
@@ -1653,8 +1653,8 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
1653
1653
|
var i = E(e.paddingTopLeft || e.padding || [0, 0]), n = E(e.paddingBottomRight || e.padding || [0, 0]), o = this.project(this.getCenter()), r = this.project(t), u = this.getPixelBounds(), f = ot([u.min.add(i), u.max.subtract(n)]), m = f.getSize();
|
1654
1654
|
if (!f.contains(r)) {
|
1655
1655
|
this._enforcingBounds = !0;
|
1656
|
-
var
|
1657
|
-
o.x +=
|
1656
|
+
var x = r.subtract(f.getCenter()), T = f.extend(r).getSize().subtract(m);
|
1657
|
+
o.x += x.x < 0 ? -T.x : T.x, o.y += x.y < 0 ? -T.y : T.y, this.panTo(this.unproject(o), e), this._enforcingBounds = !1;
|
1658
1658
|
}
|
1659
1659
|
return this;
|
1660
1660
|
},
|
@@ -1673,7 +1673,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
1673
1673
|
invalidateSize: function(t) {
|
1674
1674
|
if (!this._loaded)
|
1675
1675
|
return this;
|
1676
|
-
t =
|
1676
|
+
t = P({
|
1677
1677
|
animate: !1,
|
1678
1678
|
pan: !0
|
1679
1679
|
}, t === !0 ? { animate: !0 } : t);
|
@@ -1701,7 +1701,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
1701
1701
|
// modern browsers ([Chrome 50 and newer](https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins))
|
1702
1702
|
// See `Locate options` for more details.
|
1703
1703
|
locate: function(t) {
|
1704
|
-
if (t = this._locateOptions =
|
1704
|
+
if (t = this._locateOptions = P({
|
1705
1705
|
timeout: 1e4,
|
1706
1706
|
watch: !1
|
1707
1707
|
// setView: false
|
@@ -1820,7 +1820,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
1820
1820
|
// the given bounds in its entirety.
|
1821
1821
|
getBoundsZoom: function(t, e, i) {
|
1822
1822
|
t = J(t), i = E(i || [0, 0]);
|
1823
|
-
var n = this.getZoom() || 0, o = this.getMinZoom(), r = this.getMaxZoom(), u = t.getNorthWest(), f = t.getSouthEast(), m = this.getSize().subtract(i),
|
1823
|
+
var n = this.getZoom() || 0, o = this.getMinZoom(), r = this.getMaxZoom(), u = t.getNorthWest(), f = t.getSouthEast(), m = this.getSize().subtract(i), x = ot(this.project(f, n), this.project(u, n)).getSize(), T = S.any3d ? this.options.zoomSnap : 1, k = m.x / x.x, I = m.y / x.y, it = e ? Math.max(k, I) : Math.min(k, I);
|
1824
1824
|
return n = this.getScaleZoom(it, n), T && (n = Math.round(n / (T / 100)) * (T / 100), n = e ? Math.ceil(n / T) * T : Math.floor(n / T) * T), Math.max(o, Math.min(r, n));
|
1825
1825
|
},
|
1826
1826
|
// @method getSize(): Point
|
@@ -2088,7 +2088,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2088
2088
|
_mouseEvents: ["click", "dblclick", "mouseover", "mouseout", "contextmenu"],
|
2089
2089
|
_fireDOMEvent: function(t, e, i) {
|
2090
2090
|
if (t.type === "click") {
|
2091
|
-
var n =
|
2091
|
+
var n = P({}, t);
|
2092
2092
|
n.type = "preclick", this._fireDOMEvent(n, n.type, i);
|
2093
2093
|
}
|
2094
2094
|
var o = this._findEventTargets(t, e);
|
@@ -2103,11 +2103,11 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2103
2103
|
originalEvent: t
|
2104
2104
|
};
|
2105
2105
|
if (t.type !== "keypress" && t.type !== "keydown" && t.type !== "keyup") {
|
2106
|
-
var
|
2107
|
-
m.containerPoint =
|
2106
|
+
var x = f.getLatLng && (!f._radius || f._radius <= 10);
|
2107
|
+
m.containerPoint = x ? this.latLngToContainerPoint(f.getLatLng()) : this.mouseEventToContainerPoint(t), m.layerPoint = this.containerPointToLayerPoint(m.containerPoint), m.latlng = x ? f.getLatLng() : this.layerPointToLatLng(m.layerPoint);
|
2108
2108
|
}
|
2109
2109
|
for (u = 0; u < o.length; u++)
|
2110
|
-
if (o[u].fire(e, m, !0), m.originalEvent._stopped || o[u].options.bubblingMouseEvents === !1 &&
|
2110
|
+
if (o[u].fire(e, m, !0), m.originalEvent._stopped || o[u].options.bubblingMouseEvents === !1 && wt(this._mouseEvents, e) !== -1)
|
2111
2111
|
return;
|
2112
2112
|
}
|
2113
2113
|
},
|
@@ -2246,7 +2246,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2246
2246
|
function Fo(t, e) {
|
2247
2247
|
return new N(t, e);
|
2248
2248
|
}
|
2249
|
-
var _t =
|
2249
|
+
var _t = xt.extend({
|
2250
2250
|
// @section
|
2251
2251
|
// @aka Control Options
|
2252
2252
|
options: {
|
@@ -2670,7 +2670,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2670
2670
|
return new hi(t);
|
2671
2671
|
};
|
2672
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
|
-
var vt =
|
2673
|
+
var vt = xt.extend({
|
2674
2674
|
initialize: function(t) {
|
2675
2675
|
this._map = t;
|
2676
2676
|
},
|
@@ -2765,18 +2765,18 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2765
2765
|
}
|
2766
2766
|
});
|
2767
2767
|
function cn(t, e, i) {
|
2768
|
-
var n, o = [1, 4, 2, 8], r, u, f, m,
|
2768
|
+
var n, o = [1, 4, 2, 8], r, u, f, m, x, T, k, I;
|
2769
2769
|
for (r = 0, T = t.length; r < T; r++)
|
2770
2770
|
t[r]._code = Nt(t[r], e);
|
2771
2771
|
for (f = 0; f < 4; f++) {
|
2772
2772
|
for (k = o[f], n = [], r = 0, T = t.length, u = T - 1; r < T; u = r++)
|
2773
|
-
m = t[r],
|
2773
|
+
m = t[r], x = t[u], m._code & k ? x._code & k || (I = ge(x, m, k, e, i), I._code = Nt(I, e), n.push(I)) : (x._code & k && (I = ge(x, m, k, e, i), I._code = Nt(I, e), n.push(I)), n.push(m));
|
2774
2774
|
t = n;
|
2775
2775
|
}
|
2776
2776
|
return t;
|
2777
2777
|
}
|
2778
2778
|
function dn(t, e) {
|
2779
|
-
var i, n, o, r, u, f, m,
|
2779
|
+
var i, n, o, r, u, f, m, x, T;
|
2780
2780
|
if (!t || t.length === 0)
|
2781
2781
|
throw new Error("latlngs not passed");
|
2782
2782
|
dt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
@@ -2787,9 +2787,9 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2787
2787
|
var rt = B(t[i]);
|
2788
2788
|
ft.push(e.project(B([rt.lat - k.lat, rt.lng - k.lng])));
|
2789
2789
|
}
|
2790
|
-
for (f = m =
|
2791
|
-
o = ft[i], r = ft[n], u = o.y * r.x - r.y * o.x, m += (o.x + r.x) * u,
|
2792
|
-
f === 0 ? T = ft[0] : T = [m / f,
|
2790
|
+
for (f = m = x = 0, i = 0, n = $ - 1; i < $; n = i++)
|
2791
|
+
o = ft[i], r = ft[n], u = o.y * r.x - r.y * o.x, m += (o.x + r.x) * u, x += (o.y + r.y) * u, f += u * 3;
|
2792
|
+
f === 0 ? T = ft[0] : T = [m / f, x / f];
|
2793
2793
|
var jt = e.unproject(E(T));
|
2794
2794
|
return B([jt.lat + k.lat, jt.lng + k.lng]);
|
2795
2795
|
}
|
@@ -2839,18 +2839,18 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2839
2839
|
}
|
2840
2840
|
var pn;
|
2841
2841
|
function mn(t, e, i, n, o) {
|
2842
|
-
var r = n ? pn : Nt(t, i), u = Nt(e, i), f, m,
|
2842
|
+
var r = n ? pn : Nt(t, i), u = Nt(e, i), f, m, x;
|
2843
2843
|
for (pn = u; ; ) {
|
2844
2844
|
if (!(r | u))
|
2845
2845
|
return [t, e];
|
2846
2846
|
if (r & u)
|
2847
2847
|
return !1;
|
2848
|
-
f = r || u, m = ge(t, e, f, i, o),
|
2848
|
+
f = r || u, m = ge(t, e, f, i, o), x = Nt(m, i), f === r ? (t = m, r = x) : (e = m, u = x);
|
2849
2849
|
}
|
2850
2850
|
}
|
2851
2851
|
function ge(t, e, i, n, o) {
|
2852
|
-
var r = e.x - t.x, u = e.y - t.y, f = n.min, m = n.max,
|
2853
|
-
return i & 8 ? (
|
2852
|
+
var r = e.x - t.x, u = e.y - t.y, f = n.min, m = n.max, x, T;
|
2853
|
+
return i & 8 ? (x = t.x + r * (m.y - t.y) / u, T = m.y) : i & 4 ? (x = t.x + r * (f.y - t.y) / u, T = f.y) : i & 2 ? (x = m.x, T = t.y + u * (m.x - t.x) / r) : i & 1 && (x = f.x, T = t.y + u * (f.x - t.x) / r), new O(x, T, o);
|
2854
2854
|
}
|
2855
2855
|
function Nt(t, e) {
|
2856
2856
|
var i = 0;
|
@@ -2861,8 +2861,8 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2861
2861
|
return i * i + n * n;
|
2862
2862
|
}
|
2863
2863
|
function oe(t, e, i, n) {
|
2864
|
-
var o = e.x, r = e.y, u = i.x - o, f = i.y - r, m = u * u + f * f,
|
2865
|
-
return m > 0 && (
|
2864
|
+
var o = e.x, r = e.y, u = i.x - o, f = i.y - r, m = u * u + f * f, x;
|
2865
|
+
return m > 0 && (x = ((t.x - o) * u + (t.y - r) * f) / m, x > 1 ? (o = i.x, r = i.y) : x > 0 && (o += u * x, r += f * x)), u = t.x - o, f = t.y - r, n ? u * u + f * f : new O(o, r);
|
2866
2866
|
}
|
2867
2867
|
function dt(t) {
|
2868
2868
|
return !W(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
|
@@ -2871,7 +2871,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2871
2871
|
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), dt(t);
|
2872
2872
|
}
|
2873
2873
|
function vn(t, e) {
|
2874
|
-
var i, n, o, r, u, f, m,
|
2874
|
+
var i, n, o, r, u, f, m, x;
|
2875
2875
|
if (!t || t.length === 0)
|
2876
2876
|
throw new Error("latlngs not passed");
|
2877
2877
|
dt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
@@ -2885,17 +2885,17 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2885
2885
|
for (i = 0, n = 0; i < it - 1; i++)
|
2886
2886
|
n += $[i].distanceTo($[i + 1]) / 2;
|
2887
2887
|
if (n === 0)
|
2888
|
-
|
2888
|
+
x = $[0];
|
2889
2889
|
else
|
2890
2890
|
for (i = 0, r = 0; i < it - 1; i++)
|
2891
2891
|
if (u = $[i], f = $[i + 1], o = u.distanceTo(f), r += o, r > n) {
|
2892
|
-
m = (r - n) / o,
|
2892
|
+
m = (r - n) / o, x = [
|
2893
2893
|
f.x - m * (f.x - u.x),
|
2894
2894
|
f.y - m * (f.y - u.y)
|
2895
2895
|
];
|
2896
2896
|
break;
|
2897
2897
|
}
|
2898
|
-
var rt = e.unproject(E(
|
2898
|
+
var rt = e.unproject(E(x));
|
2899
2899
|
return B([rt.lat + T.lat, rt.lng + T.lng]);
|
2900
2900
|
}
|
2901
2901
|
var Qo = {
|
@@ -2927,8 +2927,8 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2927
2927
|
return n = -i * Math.log(Math.max(f, 1e-10)), new O(t.lng * e * i, n);
|
2928
2928
|
},
|
2929
2929
|
unproject: function(t) {
|
2930
|
-
for (var e = 180 / Math.PI, i = this.R, n = this.R_MINOR / i, o = Math.sqrt(1 - n * n), r = Math.exp(-t.y / i), u = Math.PI / 2 - 2 * Math.atan(r), f = 0, m = 0.1,
|
2931
|
-
|
2930
|
+
for (var e = 180 / Math.PI, i = this.R, n = this.R_MINOR / i, o = Math.sqrt(1 - n * n), r = Math.exp(-t.y / i), u = Math.PI / 2 - 2 * Math.atan(r), f = 0, m = 0.1, x; f < 15 && Math.abs(m) > 1e-7; f++)
|
2931
|
+
x = o * Math.sin(u), x = Math.pow((1 - x) / (1 + x), o / 2), m = Math.PI / 2 - 2 * Math.atan(r * x) - u, u += m;
|
2932
2932
|
return new D(u * e, t.x * e / i);
|
2933
2933
|
}
|
2934
2934
|
}, ts = {
|
@@ -2936,18 +2936,18 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2936
2936
|
LonLat: ci,
|
2937
2937
|
Mercator: di,
|
2938
2938
|
SphericalMercator: Re
|
2939
|
-
}, es =
|
2939
|
+
}, es = P({}, kt, {
|
2940
2940
|
code: "EPSG:3395",
|
2941
2941
|
projection: di,
|
2942
2942
|
transformation: function() {
|
2943
2943
|
var t = 0.5 / (Math.PI * di.R);
|
2944
2944
|
return Kt(t, 0.5, -t, 0.5);
|
2945
2945
|
}()
|
2946
|
-
}), yn =
|
2946
|
+
}), yn = P({}, kt, {
|
2947
2947
|
code: "EPSG:4326",
|
2948
2948
|
projection: ci,
|
2949
2949
|
transformation: Kt(1 / 180, 1, -1 / 180, 0.5)
|
2950
|
-
}), is =
|
2950
|
+
}), is = P({}, Pt, {
|
2951
2951
|
projection: ci,
|
2952
2952
|
transformation: Kt(1, 0, -1, 0),
|
2953
2953
|
scale: function(t) {
|
@@ -2962,7 +2962,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
2962
2962
|
},
|
2963
2963
|
infinite: !0
|
2964
2964
|
});
|
2965
|
-
|
2965
|
+
Pt.Earth = kt, Pt.EPSG3395 = es, Pt.EPSG3857 = He, Pt.EPSG900913 = ao, Pt.EPSG4326 = yn, Pt.Simple = is;
|
2966
2966
|
var pt = Jt.extend({
|
2967
2967
|
// Classes extending `L.Layer` will inherit the following options:
|
2968
2968
|
options: {
|
@@ -3202,7 +3202,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
3202
3202
|
}
|
3203
3203
|
}), os = function(t, e) {
|
3204
3204
|
return new Ct(t, e);
|
3205
|
-
}, Gt =
|
3205
|
+
}, Gt = xt.extend({
|
3206
3206
|
/* @section
|
3207
3207
|
* @aka Icon options
|
3208
3208
|
*
|
@@ -3349,11 +3349,11 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
3349
3349
|
u.max._subtract(f).subtract(o)
|
3350
3350
|
);
|
3351
3351
|
if (!m.contains(r)) {
|
3352
|
-
var
|
3352
|
+
var x = E(
|
3353
3353
|
(Math.max(m.max.x, r.x) - m.max.x) / (u.max.x - m.max.x) - (Math.min(m.min.x, r.x) - m.min.x) / (u.min.x - m.min.x),
|
3354
3354
|
(Math.max(m.max.y, r.y) - m.max.y) / (u.max.y - m.max.y) - (Math.min(m.min.y, r.y) - m.min.y) / (u.min.y - m.min.y)
|
3355
3355
|
).multiplyBy(n);
|
3356
|
-
i.panBy(
|
3356
|
+
i.panBy(x, { animate: !1 }), this._draggable._newPos._add(x), this._draggable._startPos._add(x), K(e._icon, this._draggable._newPos), this._onDrag(t), this._panRequest = nt(this._adjustPan.bind(this, t));
|
3357
3357
|
}
|
3358
3358
|
},
|
3359
3359
|
_onDragStart: function() {
|
@@ -3706,7 +3706,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
3706
3706
|
}
|
3707
3707
|
var fi = ye.extend({
|
3708
3708
|
initialize: function(t, e, i) {
|
3709
|
-
if (typeof e == "number" && (e =
|
3709
|
+
if (typeof e == "number" && (e = P({}, i, { radius: e })), C(this, e), this._latlng = B(t), isNaN(this.options.radius))
|
3710
3710
|
throw new Error("Circle radius cannot be NaN");
|
3711
3711
|
this._mRadius = this.options.radius;
|
3712
3712
|
},
|
@@ -3733,8 +3733,8 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
3733
3733
|
_project: function() {
|
3734
3734
|
var t = this._latlng.lng, e = this._latlng.lat, i = this._map, n = i.options.crs;
|
3735
3735
|
if (n.distance === kt.distance) {
|
3736
|
-
var o = Math.PI / 180, r = this._mRadius / kt.R / o, u = i.project([e + r, t]), f = i.project([e - r, t]), m = u.add(f).divideBy(2),
|
3737
|
-
(isNaN(T) || T === 0) && (T = r / Math.cos(Math.PI / 180 * e)), this._point = m.subtract(i.getPixelOrigin()), this._radius = isNaN(T) ? 0 : m.x - i.project([
|
3736
|
+
var o = Math.PI / 180, r = this._mRadius / kt.R / o, u = i.project([e + r, t]), f = i.project([e - r, t]), m = u.add(f).divideBy(2), x = i.unproject(m).lat, T = Math.acos((Math.cos(r * o) - Math.sin(e * o) * Math.sin(x * o)) / (Math.cos(e * o) * Math.cos(x * o))) / o;
|
3737
|
+
(isNaN(T) || T === 0) && (T = r / Math.cos(Math.PI / 180 * e)), this._point = m.subtract(i.getPixelOrigin()), this._radius = isNaN(T) ? 0 : m.x - i.project([x, t - T]).x, this._radiusY = m.y - u.y;
|
3738
3738
|
} else {
|
3739
3739
|
var k = n.unproject(n.project(this._latlng).subtract([this._mRadius, 0]));
|
3740
3740
|
this._point = i.latLngToLayerPoint(this._latlng), this._radius = this._point.x - i.latLngToLayerPoint(k).x;
|
@@ -3779,8 +3779,8 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
3779
3779
|
// Returns the point closest to `p` on the Polyline.
|
3780
3780
|
closestLayerPoint: function(t) {
|
3781
3781
|
for (var e = 1 / 0, i = null, n = oe, o, r, u = 0, f = this._parts.length; u < f; u++)
|
3782
|
-
for (var m = this._parts[u],
|
3783
|
-
o = m[
|
3782
|
+
for (var m = this._parts[u], x = 1, T = m.length; x < T; x++) {
|
3783
|
+
o = m[x - 1], r = m[x];
|
3784
3784
|
var k = n(t, o, r, !0);
|
3785
3785
|
k < e && (e = k, i = n(t, o, r));
|
3786
3786
|
}
|
@@ -3920,11 +3920,11 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
3920
3920
|
},
|
3921
3921
|
// Needed by the `Canvas` renderer for interactivity
|
3922
3922
|
_containsPoint: function(t) {
|
3923
|
-
var e = !1, i, n, o, r, u, f, m,
|
3923
|
+
var e = !1, i, n, o, r, u, f, m, x;
|
3924
3924
|
if (!this._pxBounds || !this._pxBounds.contains(t))
|
3925
3925
|
return !1;
|
3926
3926
|
for (r = 0, m = this._parts.length; r < m; r++)
|
3927
|
-
for (i = this._parts[r], u = 0,
|
3927
|
+
for (i = this._parts[r], u = 0, x = i.length, f = x - 1; u < x; f = u++)
|
3928
3928
|
n = i[u], o = i[f], n.y > t.y != o.y > t.y && t.x < (o.x - n.x) * (t.y - n.y) / (o.y - n.y) + n.x && (e = !e);
|
3929
3929
|
return e || Tt.prototype._containsPoint.call(this, t, !0);
|
3930
3930
|
}
|
@@ -3998,13 +3998,13 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
3998
3998
|
if (r.filter && !r.filter(t))
|
3999
3999
|
return this;
|
4000
4000
|
var u = Le(t, r);
|
4001
|
-
return u ? (u.feature =
|
4001
|
+
return u ? (u.feature = xe(t), u.defaultOptions = u.options, this.resetStyle(u), r.onEachFeature && r.onEachFeature(t, u), this.addLayer(u)) : this;
|
4002
4002
|
},
|
4003
4003
|
// @method resetStyle( <Path> layer? ): this
|
4004
4004
|
// Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.
|
4005
4005
|
// If `layer` is omitted, the style of all features in the current layer is reset.
|
4006
4006
|
resetStyle: function(t) {
|
4007
|
-
return t === void 0 ? this.eachLayer(this.resetStyle, this) : (t.options =
|
4007
|
+
return t === void 0 ? this.eachLayer(this.resetStyle, this) : (t.options = P({}, t.defaultOptions), this._setLayerStyle(t, this.options.style), this);
|
4008
4008
|
},
|
4009
4009
|
// @method setStyle( <Function> style ): this
|
4010
4010
|
// Changes styles of GeoJSON vector layers with the given style function.
|
@@ -4018,26 +4018,26 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4018
4018
|
}
|
4019
4019
|
});
|
4020
4020
|
function Le(t, e) {
|
4021
|
-
var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, o = [], r = e && e.pointToLayer, u = e && e.coordsToLatLng || _i, f, m,
|
4021
|
+
var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, o = [], r = e && e.pointToLayer, u = e && e.coordsToLatLng || _i, f, m, x, T;
|
4022
4022
|
if (!n && !i)
|
4023
4023
|
return null;
|
4024
4024
|
switch (i.type) {
|
4025
4025
|
case "Point":
|
4026
|
-
return f = u(n),
|
4026
|
+
return f = u(n), bn(r, t, f, e);
|
4027
4027
|
case "MultiPoint":
|
4028
|
-
for (
|
4029
|
-
f = u(n[
|
4028
|
+
for (x = 0, T = n.length; x < T; x++)
|
4029
|
+
f = u(n[x]), o.push(bn(r, t, f, e));
|
4030
4030
|
return new Ct(o);
|
4031
4031
|
case "LineString":
|
4032
4032
|
case "MultiLineString":
|
4033
|
-
return m =
|
4033
|
+
return m = be(n, i.type === "LineString" ? 0 : 1, u), new Tt(m, e);
|
4034
4034
|
case "Polygon":
|
4035
4035
|
case "MultiPolygon":
|
4036
|
-
return m =
|
4036
|
+
return m = be(n, i.type === "Polygon" ? 1 : 2, u), new Ut(m, e);
|
4037
4037
|
case "GeometryCollection":
|
4038
|
-
for (
|
4038
|
+
for (x = 0, T = i.geometries.length; x < T; x++) {
|
4039
4039
|
var k = Le({
|
4040
|
-
geometry: i.geometries[
|
4040
|
+
geometry: i.geometries[x],
|
4041
4041
|
type: "Feature",
|
4042
4042
|
properties: t.properties
|
4043
4043
|
}, e);
|
@@ -4045,8 +4045,8 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4045
4045
|
}
|
4046
4046
|
return new Ct(o);
|
4047
4047
|
case "FeatureCollection":
|
4048
|
-
for (
|
4049
|
-
var I = Le(i.features[
|
4048
|
+
for (x = 0, T = i.features.length; x < T; x++) {
|
4049
|
+
var I = Le(i.features[x], e);
|
4050
4050
|
I && o.push(I);
|
4051
4051
|
}
|
4052
4052
|
return new Ct(o);
|
@@ -4054,29 +4054,29 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4054
4054
|
throw new Error("Invalid GeoJSON object.");
|
4055
4055
|
}
|
4056
4056
|
}
|
4057
|
-
function
|
4057
|
+
function bn(t, e, i, n) {
|
4058
4058
|
return t ? t(e, i) : new ve(i, n && n.markersInheritOptions && n);
|
4059
4059
|
}
|
4060
4060
|
function _i(t) {
|
4061
4061
|
return new D(t[1], t[0], t[2]);
|
4062
4062
|
}
|
4063
|
-
function
|
4063
|
+
function be(t, e, i) {
|
4064
4064
|
for (var n = [], o = 0, r = t.length, u; o < r; o++)
|
4065
|
-
u = e ?
|
4065
|
+
u = e ? be(t[o], e - 1, i) : (i || _i)(t[o]), n.push(u);
|
4066
4066
|
return n;
|
4067
4067
|
}
|
4068
4068
|
function pi(t, e) {
|
4069
|
-
return t = B(t), t.alt !== void 0 ? [
|
4069
|
+
return t = B(t), t.alt !== void 0 ? [w(t.lng, e), w(t.lat, e), w(t.alt, e)] : [w(t.lng, e), w(t.lat, e)];
|
4070
4070
|
}
|
4071
|
-
function
|
4071
|
+
function we(t, e, i, n) {
|
4072
4072
|
for (var o = [], r = 0, u = t.length; r < u; r++)
|
4073
|
-
o.push(e ?
|
4073
|
+
o.push(e ? we(t[r], dt(t[r]) ? 0 : e - 1, i, n) : pi(t[r], n));
|
4074
4074
|
return !e && i && o.length > 0 && o.push(o[0].slice()), o;
|
4075
4075
|
}
|
4076
4076
|
function Wt(t, e) {
|
4077
|
-
return t.feature ?
|
4077
|
+
return t.feature ? P({}, t.feature, { geometry: e }) : xe(e);
|
4078
4078
|
}
|
4079
|
-
function
|
4079
|
+
function xe(t) {
|
4080
4080
|
return t.type === "Feature" || t.type === "FeatureCollection" ? t : {
|
4081
4081
|
type: "Feature",
|
4082
4082
|
properties: {},
|
@@ -4093,7 +4093,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4093
4093
|
};
|
4094
4094
|
ve.include(mi), fi.include(mi), ye.include(mi), Tt.include({
|
4095
4095
|
toGeoJSON: function(t) {
|
4096
|
-
var e = !dt(this._latlngs), i =
|
4096
|
+
var e = !dt(this._latlngs), i = we(this._latlngs, e ? 1 : 0, !1, t);
|
4097
4097
|
return Wt(this, {
|
4098
4098
|
type: (e ? "Multi" : "") + "LineString",
|
4099
4099
|
coordinates: i
|
@@ -4101,7 +4101,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4101
4101
|
}
|
4102
4102
|
}), Ut.include({
|
4103
4103
|
toGeoJSON: function(t) {
|
4104
|
-
var e = !dt(this._latlngs), i = e && !dt(this._latlngs[0]), n =
|
4104
|
+
var e = !dt(this._latlngs), i = e && !dt(this._latlngs[0]), n = we(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
|
4105
4105
|
return e || (n = [n]), Wt(this, {
|
4106
4106
|
type: (i ? "Multi" : "") + "Polygon",
|
4107
4107
|
coordinates: n
|
@@ -4131,7 +4131,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4131
4131
|
if (i)
|
4132
4132
|
n.push(r.geometry);
|
4133
4133
|
else {
|
4134
|
-
var u =
|
4134
|
+
var u = xe(r);
|
4135
4135
|
u.type === "FeatureCollection" ? n.push.apply(n, u.features) : n.push(u);
|
4136
4136
|
}
|
4137
4137
|
}
|
@@ -4144,10 +4144,10 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4144
4144
|
};
|
4145
4145
|
}
|
4146
4146
|
});
|
4147
|
-
function
|
4147
|
+
function wn(t, e) {
|
4148
4148
|
return new Mt(t, e);
|
4149
4149
|
}
|
4150
|
-
var cs =
|
4150
|
+
var cs = wn, Pe = pt.extend({
|
4151
4151
|
// @section
|
4152
4152
|
// @aka ImageOverlay options
|
4153
4153
|
options: {
|
@@ -4271,8 +4271,8 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4271
4271
|
return this._bounds.getCenter();
|
4272
4272
|
}
|
4273
4273
|
}), ds = function(t, e, i) {
|
4274
|
-
return new
|
4275
|
-
},
|
4274
|
+
return new Pe(t, e, i);
|
4275
|
+
}, xn = Pe.extend({
|
4276
4276
|
// @section
|
4277
4277
|
// @aka VideoOverlay options
|
4278
4278
|
options: {
|
@@ -4313,9 +4313,9 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4313
4313
|
// used by this overlay.
|
4314
4314
|
});
|
4315
4315
|
function fs(t, e, i) {
|
4316
|
-
return new
|
4316
|
+
return new xn(t, e, i);
|
4317
4317
|
}
|
4318
|
-
var
|
4318
|
+
var Pn = Pe.extend({
|
4319
4319
|
_initImage: function() {
|
4320
4320
|
var t = this._image = this._url;
|
4321
4321
|
Z(t, "leaflet-image-layer"), this._zoomAnimated && Z(t, "leaflet-zoom-animated"), this.options.className && Z(t, this.options.className), t.onselectstart = _, t.onmousemove = _;
|
@@ -4325,7 +4325,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4325
4325
|
// used by this overlay.
|
4326
4326
|
});
|
4327
4327
|
function _s(t, e, i) {
|
4328
|
-
return new
|
4328
|
+
return new Pn(t, e, i);
|
4329
4329
|
}
|
4330
4330
|
var yt = pt.extend({
|
4331
4331
|
// @section
|
@@ -4603,8 +4603,8 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4603
4603
|
}
|
4604
4604
|
var t = this._map, e = parseInt($t(this._container, "marginBottom"), 10) || 0, i = this._container.offsetHeight + e, n = this._containerWidth, o = new O(this._containerLeft, -i - this._containerBottom);
|
4605
4605
|
o._add(Zt(this._container));
|
4606
|
-
var r = t.layerPointToContainerPoint(o), u = E(this.options.autoPanPadding), f = E(this.options.autoPanPaddingTopLeft || u), m = E(this.options.autoPanPaddingBottomRight || u),
|
4607
|
-
r.x + n + m.x >
|
4606
|
+
var r = t.layerPointToContainerPoint(o), u = E(this.options.autoPanPadding), f = E(this.options.autoPanPaddingTopLeft || u), m = E(this.options.autoPanPaddingBottomRight || u), x = t.getSize(), T = 0, k = 0;
|
4607
|
+
r.x + n + m.x > x.x && (T = r.x + n - x.x + m.x), r.x - T - f.x < 0 && (T = r.x - f.x), r.y + i + m.y > x.y && (k = r.y + i - x.y + m.y), r.y - k - f.y < 0 && (k = r.y - f.y), (T || k) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([T, k]));
|
4608
4608
|
}
|
4609
4609
|
},
|
4610
4610
|
_getAnchor: function() {
|
@@ -4745,8 +4745,8 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
4745
4745
|
_adjustPan: function() {
|
4746
4746
|
},
|
4747
4747
|
_setPosition: function(t) {
|
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,
|
4749
|
-
f === "top" ? (e = m / 2, i =
|
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, x = o.offsetHeight, T = E(this.options.offset), k = this._getAnchor();
|
4749
|
+
f === "top" ? (e = m / 2, i = x) : f === "bottom" ? (e = m / 2, i = 0) : f === "center" ? (e = m / 2, i = x / 2) : f === "right" ? (e = 0, i = x / 2) : f === "left" ? (e = m, i = x / 2) : u.x < r.x ? (f = "right", e = 0, i = x / 2) : (f = "left", e = m + (T.x + k.x) * 2, i = x / 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);
|
@@ -5106,8 +5106,8 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
5106
5106
|
_retainParent: function(t, e, i, n) {
|
5107
5107
|
var o = Math.floor(t / 2), r = Math.floor(e / 2), u = i - 1, f = new O(+o, +r);
|
5108
5108
|
f.z = +u;
|
5109
|
-
var m = this._tileCoordsToKey(f),
|
5110
|
-
return
|
5109
|
+
var m = this._tileCoordsToKey(f), x = this._tiles[m];
|
5110
|
+
return x && x.active ? (x.retain = !0, !0) : (x && x.loaded && (x.retain = !0), u > n ? this._retainParent(o, r, u, n) : !1);
|
5111
5111
|
},
|
5112
5112
|
_retainChildren: function(t, e, i, n) {
|
5113
5113
|
for (var o = 2 * t; o < 2 * t + 2; o++)
|
@@ -5176,9 +5176,9 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
5176
5176
|
);
|
5177
5177
|
if (!(isFinite(o.min.x) && isFinite(o.min.y) && isFinite(o.max.x) && isFinite(o.max.y)))
|
5178
5178
|
throw new Error("Attempted to load an infinite number of tiles");
|
5179
|
-
for (var
|
5180
|
-
var T = this._tiles[
|
5181
|
-
(T.z !== this._tileZoom || !m.contains(new O(T.x, T.y))) && (this._tiles[
|
5179
|
+
for (var x in this._tiles) {
|
5180
|
+
var T = this._tiles[x].coords;
|
5181
|
+
(T.z !== this._tileZoom || !m.contains(new O(T.x, T.y))) && (this._tiles[x].current = !1);
|
5182
5182
|
}
|
5183
5183
|
if (Math.abs(i - this._tileZoom) > 1) {
|
5184
5184
|
this._setView(t, i);
|
@@ -5376,7 +5376,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
5376
5376
|
var i = this._globalTileRange.max.y - t.y;
|
5377
5377
|
this.options.tms && (e.y = i), e["-y"] = i;
|
5378
5378
|
}
|
5379
|
-
return U(this._url,
|
5379
|
+
return U(this._url, P(e, this.options));
|
5380
5380
|
},
|
5381
5381
|
_tileOnLoad: function(t, e) {
|
5382
5382
|
S.ielt9 ? setTimeout(a(t, this, null, e), 0) : t(null, e);
|
@@ -5458,7 +5458,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
5458
5458
|
},
|
5459
5459
|
initialize: function(t, e) {
|
5460
5460
|
this._url = t;
|
5461
|
-
var i =
|
5461
|
+
var i = P({}, this.defaultWmsParams);
|
5462
5462
|
for (var n in e)
|
5463
5463
|
n in this.options || (i[n] = e[n]);
|
5464
5464
|
e = C(this, e);
|
@@ -5477,7 +5477,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
5477
5477
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
5478
5478
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
5479
5479
|
setParams: function(t, e) {
|
5480
|
-
return
|
5480
|
+
return P(this.wmsParams, t), e || this.redraw(), this;
|
5481
5481
|
}
|
5482
5482
|
});
|
5483
5483
|
function ys(t, e) {
|
@@ -5862,10 +5862,10 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
5862
5862
|
];
|
5863
5863
|
}
|
5864
5864
|
});
|
5865
|
-
function
|
5865
|
+
function bs(t, e) {
|
5866
5866
|
return new On(t, e);
|
5867
5867
|
}
|
5868
|
-
he.create = Me, he.pointsToPath = Ai, Mt.geometryToLayer = Le, Mt.coordsToLatLng = _i, Mt.coordsToLatLngs =
|
5868
|
+
he.create = Me, he.pointsToPath = Ai, Mt.geometryToLayer = Le, Mt.coordsToLatLng = _i, Mt.coordsToLatLngs = be, Mt.latLngToCoords = pi, Mt.latLngsToCoords = we, Mt.getFeature = Wt, Mt.asFeature = xe, N.mergeOptions({
|
5869
5869
|
// @option boxZoom: Boolean = true
|
5870
5870
|
// Whether the map can be zoomed to a rectangular area specified by
|
5871
5871
|
// dragging the mouse while pressing the shift key.
|
@@ -6052,7 +6052,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
6052
6052
|
e.fire("moveend");
|
6053
6053
|
else {
|
6054
6054
|
this._prunePositions(+/* @__PURE__ */ new Date());
|
6055
|
-
var o = this._lastPos.subtract(this._positions[0]), r = (this._lastTime - this._times[0]) / 1e3, u = i.easeLinearity, f = o.multiplyBy(u / r), m = f.distanceTo([0, 0]),
|
6055
|
+
var o = this._lastPos.subtract(this._positions[0]), r = (this._lastTime - this._times[0]) / 1e3, u = i.easeLinearity, f = o.multiplyBy(u / r), m = f.distanceTo([0, 0]), x = Math.min(i.inertiaMaxSpeed, m), T = f.multiplyBy(x / m), k = x / (i.inertiaDeceleration * u), I = T.multiplyBy(-k / 2).round();
|
6056
6056
|
!I.x && !I.y ? e.fire("moveend") : (I = e._limitOffset(I, e.options.maxBounds), nt(function() {
|
6057
6057
|
e.panBy(I, {
|
6058
6058
|
duration: k,
|
@@ -6199,7 +6199,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
6199
6199
|
}
|
6200
6200
|
});
|
6201
6201
|
N.addInitHook("addHandler", "scrollWheelZoom", Bn);
|
6202
|
-
var
|
6202
|
+
var ws = 600;
|
6203
6203
|
N.mergeOptions({
|
6204
6204
|
// @section Touch interaction options
|
6205
6205
|
// @option tapHold: Boolean
|
@@ -6222,7 +6222,7 @@ var Vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
6222
6222
|
var e = t.touches[0];
|
6223
6223
|
this._startPos = this._newPos = new O(e.clientX, e.clientY), this._holdTimeout = setTimeout(a(function() {
|
6224
6224
|
this._cancel(), this._isTapValid() && (z(document, "touchend", tt), z(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));
|
6225
|
-
}, this),
|
6225
|
+
}, this), ws), z(document, "touchend touchcancel contextmenu", this._cancel, this), z(document, "touchmove", this._onMove, this);
|
6226
6226
|
}
|
6227
6227
|
},
|
6228
6228
|
_cancelClickPrevent: function t() {
|
@@ -6306,21 +6306,21 @@ var Vn = 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 = q, c.Browser = S, c.CRS =
|
6310
|
-
var
|
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 = Pt, c.Canvas = Sn, c.Circle = fi, c.CircleMarker = ye, c.Class = xt, 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 = Pe, 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 = Pn, c.TileLayer = qt, c.Tooltip = Te, c.Transformation = De, c.Util = so, c.VideoOverlay = xn, c.bind = a, c.bounds = ot, c.canvas = kn, c.circle = hs, c.circleMarker = as, c.control = ne, c.divIcon = gs, c.extend = P, c.featureGroup = os, c.geoJSON = wn, 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 = bs, 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
|
+
var xs = window.L;
|
6311
6311
|
c.noConflict = function() {
|
6312
|
-
return window.L =
|
6312
|
+
return window.L = xs, this;
|
6313
6313
|
}, window.L = c;
|
6314
6314
|
});
|
6315
6315
|
})(yi, yi.exports);
|
6316
6316
|
var G = yi.exports;
|
6317
|
-
const et = "l:layer:connected", Jn = "l:popup:connected", Oe = "l:icon:connected", Gn = "l:layer:removed", Kn = "l:latlngbounds:connected", Yn = "l:latlngbounds:changed",
|
6317
|
+
const et = "l:layer:connected", Jn = "l:popup:connected", Oe = "l:icon:connected", Gn = "l:layer:removed", Kn = "l:latlngbounds:connected", Yn = "l:latlngbounds:changed", Pi = "l:tooltip:connected", Xn = "l:pane:connected", $n = (v, d, c = !0) => {
|
6318
6318
|
if (v.hasAttribute("on")) {
|
6319
6319
|
const g = v.getAttribute("on");
|
6320
|
-
g !== null && g.split(/\s+/).forEach((
|
6321
|
-
d !== null && d.on(
|
6320
|
+
g !== null && g.split(/\s+/).forEach((P) => {
|
6321
|
+
d !== null && d.on(P, (s) => {
|
6322
6322
|
v.dispatchEvent(
|
6323
|
-
new CustomEvent(
|
6323
|
+
new CustomEvent(P, { bubbles: c, detail: s })
|
6324
6324
|
);
|
6325
6325
|
});
|
6326
6326
|
});
|
@@ -6346,14 +6346,14 @@ class Is extends HTMLElement {
|
|
6346
6346
|
const { type: a, name: h, layer: l } = s.detail;
|
6347
6347
|
a === "overlay" ? g.addOverlay(l, h) : a === "base" && g.addBaseLayer(l, h), s.preventDefault();
|
6348
6348
|
});
|
6349
|
-
const
|
6349
|
+
const P = new CustomEvent(et, {
|
6350
6350
|
cancelable: !0,
|
6351
6351
|
bubbles: !0,
|
6352
6352
|
detail: {
|
6353
6353
|
layer: g
|
6354
6354
|
}
|
6355
6355
|
});
|
6356
|
-
this.dispatchEvent(
|
6356
|
+
this.dispatchEvent(P);
|
6357
6357
|
}
|
6358
6358
|
}
|
6359
6359
|
class zt extends HTMLElement {
|
@@ -6415,27 +6415,27 @@ const Rs = (v) => ({
|
|
6415
6415
|
status: "clean",
|
6416
6416
|
issues: [],
|
6417
6417
|
value: v
|
6418
|
-
}), Ds = ({ value: v }) => v,
|
6418
|
+
}), Ds = ({ value: v }) => v, bt = (v, d) => {
|
6419
6419
|
const c = v(Rs(d));
|
6420
6420
|
if (c.status !== "clean")
|
6421
6421
|
throw new Ns(c.issues);
|
6422
6422
|
return Ds(c);
|
6423
6423
|
}, Hs = (v) => (d) => {
|
6424
6424
|
let { status: c, issues: g } = d;
|
6425
|
-
const
|
6425
|
+
const P = {};
|
6426
6426
|
for (const s of Object.keys(v)) {
|
6427
6427
|
let a = v[s](d);
|
6428
|
-
a.status === "abort" && (c = "abort", g = [...g, ...a.issues]),
|
6428
|
+
a.status === "abort" && (c = "abort", g = [...g, ...a.issues]), P[s] = a.value;
|
6429
6429
|
}
|
6430
|
-
return { status: c, issues: g, value:
|
6430
|
+
return { status: c, issues: g, value: P };
|
6431
6431
|
}, Be = (v) => (d) => {
|
6432
6432
|
let { issues: c } = d, g = "clean";
|
6433
|
-
const
|
6433
|
+
const P = {};
|
6434
6434
|
for (const s of Object.keys(v)) {
|
6435
6435
|
let a = v[s](d);
|
6436
|
-
a.status !== "clean" && (g = a.status), !(a.value === null && a.status === "clean") && (c = [...c, ...a.issues],
|
6436
|
+
a.status !== "clean" && (g = a.status), !(a.value === null && a.status === "clean") && (c = [...c, ...a.issues], P[s] = a.value);
|
6437
6437
|
}
|
6438
|
-
return { status: g, issues: c, value:
|
6438
|
+
return { status: g, issues: c, value: P };
|
6439
6439
|
}, Fs = (...v) => (d) => {
|
6440
6440
|
for (let c = 0; c < v.length && (d = v[c](d), d.status !== "abort"); c++)
|
6441
6441
|
;
|
@@ -6444,7 +6444,7 @@ const Rs = (v) => ({
|
|
6444
6444
|
for (let c = 0; c < v.length; c++)
|
6445
6445
|
d = v[c](d);
|
6446
6446
|
return d;
|
6447
|
-
},
|
6447
|
+
}, bi = (v) => (d) => d.value === null ? d : v(d), ut = (v) => (d) => (d = v(d), d.value === null ? { status: "clean", issues: [], value: null } : d), Q = (v) => (d) => {
|
6448
6448
|
const c = d.value;
|
6449
6449
|
let g = c.getAttribute(v);
|
6450
6450
|
return g === null ? {
|
@@ -6494,17 +6494,17 @@ const Rs = (v) => ({
|
|
6494
6494
|
constructor() {
|
6495
6495
|
super(), this.map = null;
|
6496
6496
|
const d = (g) => {
|
6497
|
-
const { bounds:
|
6498
|
-
this.map !== null && this.map[s](
|
6497
|
+
const { bounds: P, method: s } = g.detail;
|
6498
|
+
this.map !== null && this.map[s](P);
|
6499
6499
|
};
|
6500
6500
|
this.addEventListener(Kn, d), this.addEventListener(Yn, d), this.addEventListener(Xn, (g) => {
|
6501
|
-
const { name:
|
6502
|
-
this.map.createPane(
|
6501
|
+
const { name: P } = g.detail;
|
6502
|
+
this.map.createPane(P);
|
6503
6503
|
}), new MutationObserver(function(g) {
|
6504
|
-
g.forEach((
|
6505
|
-
if (
|
6506
|
-
const s =
|
6507
|
-
|
6504
|
+
g.forEach((P) => {
|
6505
|
+
if (P.target instanceof Ze) {
|
6506
|
+
const s = P.target;
|
6507
|
+
P.removedNodes.forEach((a) => {
|
6508
6508
|
a instanceof zt && s.map !== null && a.layer !== null && (s.dispatchEvent(new CustomEvent(Gn, {
|
6509
6509
|
bubbles: !0,
|
6510
6510
|
detail: {
|
@@ -6518,7 +6518,7 @@ const Rs = (v) => ({
|
|
6518
6518
|
}
|
6519
6519
|
connectedCallback() {
|
6520
6520
|
const d = { zoomControl: this.hasAttribute("zoom-control") };
|
6521
|
-
if (this.hasAttribute("attribution-control") && (d.attributionControl = this.getAttribute("attribution-control").toLowerCase() === "true"), this.map = G.map(this, d), this.map.whenReady(() => {
|
6521
|
+
if (this.hasAttribute("max-zoom") && (d.maxZoom = parseFloat(this.getAttribute("max-zoom"))), this.hasAttribute("min-zoom") && (d.minZoom = parseFloat(this.getAttribute("min-zoom"))), this.hasAttribute("max-bounds") && (d.maxBounds = JSON.parse(this.getAttribute("max-bounds"))), this.hasAttribute("attribution-control") && (d.attributionControl = this.getAttribute("attribution-control").toLowerCase() === "true"), this.map = G.map(this, d), this.map.whenReady(() => {
|
6522
6522
|
this.dispatchEvent(
|
6523
6523
|
new CustomEvent("ready", {
|
6524
6524
|
bubbles: !0,
|
@@ -6532,20 +6532,20 @@ const Rs = (v) => ({
|
|
6532
6532
|
const g = Hs({
|
6533
6533
|
zoom: Ee("zoom", Gs()),
|
6534
6534
|
center: Ee("center", ze())
|
6535
|
-
}), { zoom:
|
6536
|
-
this.map.setView(s,
|
6535
|
+
}), { zoom: P, center: s } = bt(g, this);
|
6536
|
+
this.map.setView(s, P);
|
6537
6537
|
}
|
6538
6538
|
if (this.hasAttribute("locate")) {
|
6539
6539
|
const g = Ee("locate", ze());
|
6540
|
-
this.map.locate(
|
6540
|
+
this.map.locate(bt(g, this));
|
6541
6541
|
}
|
6542
6542
|
const c = {
|
6543
|
-
"l-control-layers": (g,
|
6544
|
-
default: (g,
|
6543
|
+
"l-control-layers": (g, P) => g.addTo(P),
|
6544
|
+
default: (g, P) => P.addLayer(g)
|
6545
6545
|
};
|
6546
6546
|
this.addEventListener(et, (g) => {
|
6547
|
-
const { layer:
|
6548
|
-
(c[s] || c.default)(
|
6547
|
+
const { layer: P } = g.detail, s = g.target.localName;
|
6548
|
+
(c[s] || c.default)(P, this.map);
|
6549
6549
|
}), this.addEventListener(Gn, (g) => {
|
6550
6550
|
this.map !== null && this.map.removeLayer(g.detail.layer);
|
6551
6551
|
});
|
@@ -6555,19 +6555,19 @@ const Rs = (v) => ({
|
|
6555
6555
|
}
|
6556
6556
|
};
|
6557
6557
|
Lt(Ze, "observedAttributes", ["zoom", "center", "zoom-control"]);
|
6558
|
-
let
|
6558
|
+
let wi = Ze;
|
6559
6559
|
class Qn extends zt {
|
6560
6560
|
constructor() {
|
6561
6561
|
super(), this.layer = null, this.addEventListener(Oe, (d) => {
|
6562
6562
|
d.stopPropagation(), this.layer.setIcon(d.detail.icon);
|
6563
|
-
}), this.addEventListener(
|
6563
|
+
}), this.addEventListener(Pi, (d) => {
|
6564
6564
|
d.stopPropagation(), this.layer.bindTooltip(d.detail.tooltip);
|
6565
6565
|
});
|
6566
6566
|
}
|
6567
6567
|
connectedCallback() {
|
6568
|
-
const d =
|
6568
|
+
const d = bt(Ee("lat-lng", ze()), this), c = bt(
|
6569
6569
|
Be({
|
6570
|
-
opacity: Li(ut(Q("opacity")),
|
6570
|
+
opacity: Li(ut(Q("opacity")), bi(Us()))
|
6571
6571
|
}),
|
6572
6572
|
this
|
6573
6573
|
), g = this.closest("l-pane");
|
@@ -6579,14 +6579,14 @@ class Qn extends zt {
|
|
6579
6579
|
const { content: a, openPopup: h } = s.detail, l = this.layer.bindPopup(a);
|
6580
6580
|
h && l.openPopup();
|
6581
6581
|
});
|
6582
|
-
const
|
6582
|
+
const P = new CustomEvent(et, {
|
6583
6583
|
cancelable: !0,
|
6584
6584
|
bubbles: !0,
|
6585
6585
|
detail: {
|
6586
6586
|
layer: this.layer
|
6587
6587
|
}
|
6588
6588
|
});
|
6589
|
-
this.dispatchEvent(
|
6589
|
+
this.dispatchEvent(P);
|
6590
6590
|
}
|
6591
6591
|
attributeChangedCallback(d, c, g) {
|
6592
6592
|
this.layer !== null && (d === "lat-lng" && this.layer.setLatLng(JSON.parse(g)), d === "opacity" && this.layer.setOpacity(parseFloat(g)), d === "icon" && this.layer.setIcon(G.icon(JSON.parse(g))));
|
@@ -6612,7 +6612,7 @@ class Ys extends HTMLElement {
|
|
6612
6612
|
let c = !1;
|
6613
6613
|
const g = this.getAttribute("open-popup");
|
6614
6614
|
g !== null && (c = g !== "false");
|
6615
|
-
const
|
6615
|
+
const P = new CustomEvent(Jn, {
|
6616
6616
|
cancelable: !0,
|
6617
6617
|
bubbles: !0,
|
6618
6618
|
detail: {
|
@@ -6620,7 +6620,7 @@ class Ys extends HTMLElement {
|
|
6620
6620
|
openPopup: c
|
6621
6621
|
}
|
6622
6622
|
});
|
6623
|
-
this.dispatchEvent(
|
6623
|
+
this.dispatchEvent(P);
|
6624
6624
|
}
|
6625
6625
|
}
|
6626
6626
|
const to = (v) => {
|
@@ -6636,17 +6636,17 @@ class Ci extends zt {
|
|
6636
6636
|
super(), this.layer = null;
|
6637
6637
|
}
|
6638
6638
|
connectedCallback() {
|
6639
|
-
const d =
|
6639
|
+
const d = bt(Q("url-template"), this), c = Ci.parseTemplateAttributes(d), g = {};
|
6640
6640
|
for (const _ of c) {
|
6641
|
-
const
|
6642
|
-
|
6641
|
+
const w = this.getAttribute(_);
|
6642
|
+
w !== null && (g[_] = w);
|
6643
6643
|
}
|
6644
|
-
const
|
6645
|
-
this.parentElement.tagName.toLowerCase() === "l-pane" && (
|
6644
|
+
const P = {};
|
6645
|
+
this.parentElement.tagName.toLowerCase() === "l-pane" && (P.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 =
|
6649
|
+
}), h = bt(a, this), l = this.getAttribute("zoom-offset");
|
6650
6650
|
if (l) {
|
6651
6651
|
const _ = parseInt(l);
|
6652
6652
|
isNaN(_) || (h.zoomOffset = _);
|
@@ -6654,7 +6654,7 @@ class Ci extends zt {
|
|
6654
6654
|
const p = to(this);
|
6655
6655
|
this.layer = G.tileLayer(d, {
|
6656
6656
|
...g,
|
6657
|
-
...
|
6657
|
+
...P,
|
6658
6658
|
...h,
|
6659
6659
|
...p
|
6660
6660
|
});
|
@@ -6695,7 +6695,7 @@ class Xs extends zt {
|
|
6695
6695
|
}
|
6696
6696
|
}
|
6697
6697
|
initLayer() {
|
6698
|
-
const d =
|
6698
|
+
const d = bt(Q("url-template"), this), c = this.getAttribute("name"), g = Be({
|
6699
6699
|
// Leaflet.tileLayer default options: https://leafletjs.com/reference.html#tilelayer-wms-layers
|
6700
6700
|
layers: Q("layers"),
|
6701
6701
|
styles: ut(Q("styles")),
|
@@ -6706,11 +6706,11 @@ class Xs extends zt {
|
|
6706
6706
|
uppercase: ut(Q("uppercase")),
|
6707
6707
|
// Inherited option from Layer: https://leafletjs.com/reference.html#tilelayer-wms-attribution
|
6708
6708
|
attribution: ut(Q("attribution"))
|
6709
|
-
}),
|
6709
|
+
}), P = bt(g, this), s = this.getAttribute("options"), a = {};
|
6710
6710
|
this.parentElement.tagName.toLowerCase() === "l-pane" && (a.pane = this.parentElement.getAttribute("name"));
|
6711
6711
|
const h = to(this);
|
6712
6712
|
this.layer = G.tileLayer.wms(d, {
|
6713
|
-
...
|
6713
|
+
...P,
|
6714
6714
|
...this._parseNonStandardOptions(s),
|
6715
6715
|
...a,
|
6716
6716
|
...h
|
@@ -6777,8 +6777,8 @@ class io extends zt {
|
|
6777
6777
|
const g = {
|
6778
6778
|
opacity: parseFloat(this.getAttribute("opacity") || "1.0"),
|
6779
6779
|
alt: this.getAttribute("alt") || ""
|
6780
|
-
},
|
6781
|
-
|
6780
|
+
}, P = this.closest("l-pane");
|
6781
|
+
P !== null && (g.pane = P.getAttribute("name")), this.layer = G.imageOverlay(d, JSON.parse(c), g), this.dispatchEvent(
|
6782
6782
|
new CustomEvent(et, {
|
6783
6783
|
cancelable: !0,
|
6784
6784
|
bubbles: !0,
|
@@ -6804,13 +6804,13 @@ class $s extends zt {
|
|
6804
6804
|
autoplay: !0,
|
6805
6805
|
muted: !0,
|
6806
6806
|
playsInline: !0
|
6807
|
-
},
|
6807
|
+
}, P = G.videoOverlay(d, c, g);
|
6808
6808
|
this.dispatchEvent(
|
6809
6809
|
new CustomEvent(et, {
|
6810
6810
|
cancelable: !0,
|
6811
6811
|
bubbles: !0,
|
6812
6812
|
detail: {
|
6813
|
-
layer:
|
6813
|
+
layer: P
|
6814
6814
|
}
|
6815
6815
|
})
|
6816
6816
|
);
|
@@ -6822,7 +6822,9 @@ class Qs extends HTMLElement {
|
|
6822
6822
|
}
|
6823
6823
|
connectedCallback() {
|
6824
6824
|
const d = this.getAttribute("geojson"), c = {}, g = this.closest("l-pane");
|
6825
|
-
g !== null && (c.pane = g.getAttribute("name"))
|
6825
|
+
g !== null && (c.pane = g.getAttribute("name"));
|
6826
|
+
const P = this.getAttribute("style");
|
6827
|
+
P !== null && (c.style = JSON.parse(P)), d !== null && (this.layer = G.geoJSON(JSON.parse(d), c), this.dispatchEvent(
|
6826
6828
|
new CustomEvent(et, {
|
6827
6829
|
bubbles: !0,
|
6828
6830
|
cancelable: !0,
|
@@ -6868,10 +6870,10 @@ const ue = (v) => v.replace(/-./g, (d) => d[1].toUpperCase()), tr = (v) => v.spl
|
|
6868
6870
|
*/
|
6869
6871
|
attributeChangedCallback(d, c, g) {
|
6870
6872
|
if (Ie.observedAttributes.indexOf(d) !== -1 && this.icon !== null) {
|
6871
|
-
let
|
6872
|
-
vi.indexOf(d) !== -1 ?
|
6873
|
+
let P = {};
|
6874
|
+
vi.indexOf(d) !== -1 ? P[ue(d)] = g : Wn.indexOf(d) !== -1 ? P[ue(d)] = g.toLowerCase() === "true" : P[ue(d)] = JSON.parse(g), this.icon = G.icon({
|
6873
6875
|
...this.icon.options,
|
6874
|
-
...
|
6876
|
+
...P
|
6875
6877
|
});
|
6876
6878
|
const s = new CustomEvent(Oe, {
|
6877
6879
|
cancelable: !0,
|
@@ -6893,14 +6895,14 @@ const ue = (v) => v.replace(/-./g, (d) => d[1].toUpperCase()), tr = (v) => v.spl
|
|
6893
6895
|
}), Un.forEach((g) => {
|
6894
6896
|
d[ue(g)] = Li(
|
6895
6897
|
ut(Q(g)),
|
6896
|
-
|
6898
|
+
bi(ze())
|
6897
6899
|
);
|
6898
6900
|
}), d.crossOrigin = Li(
|
6899
6901
|
ut(Q("cross-origin")),
|
6900
|
-
|
6902
|
+
bi(Ws())
|
6901
6903
|
);
|
6902
6904
|
const c = Be(d);
|
6903
|
-
return
|
6905
|
+
return bt(c, this);
|
6904
6906
|
}
|
6905
6907
|
};
|
6906
6908
|
Lt(Ie, "observedAttributes", [
|
@@ -6908,7 +6910,7 @@ Lt(Ie, "observedAttributes", [
|
|
6908
6910
|
...Un,
|
6909
6911
|
...Wn
|
6910
6912
|
]);
|
6911
|
-
let
|
6913
|
+
let xi = Ie, er = class extends HTMLElement {
|
6912
6914
|
constructor() {
|
6913
6915
|
super(), this.icon = null;
|
6914
6916
|
}
|
@@ -6916,7 +6918,9 @@ let Pi = Ie, er = class extends HTMLElement {
|
|
6916
6918
|
const d = {
|
6917
6919
|
html: this.innerHTML
|
6918
6920
|
}, c = this.getAttribute("class-name");
|
6919
|
-
c !== null && (d.className = c)
|
6921
|
+
c !== null && (d.className = c);
|
6922
|
+
const g = this.getAttribute("icon-anchor");
|
6923
|
+
g !== null && (d.iconAnchor = g), this.icon = G.divIcon(d), this.dispatchEvent(
|
6920
6924
|
new CustomEvent(Oe, {
|
6921
6925
|
bubbles: !0,
|
6922
6926
|
cancelable: !0,
|
@@ -6937,7 +6941,7 @@ class no extends HTMLElement {
|
|
6937
6941
|
interactive: this.hasAttribute("interactive"),
|
6938
6942
|
direction: this.getAttribute("direction") ?? "auto"
|
6939
6943
|
}), this.tooltip.setContent(this.getAttribute("content"));
|
6940
|
-
const d = new CustomEvent(
|
6944
|
+
const d = new CustomEvent(Pi, {
|
6941
6945
|
cancelable: !0,
|
6942
6946
|
bubbles: !0,
|
6943
6947
|
detail: {
|
@@ -7089,18 +7093,18 @@ const Ti = (v) => {
|
|
7089
7093
|
v.hasAttribute(g.kebab) && (c[g.camel] = g.parser(v.getAttribute(g.kebab)));
|
7090
7094
|
}), c;
|
7091
7095
|
}, hr = (v, d) => Ti(d).map((c) => {
|
7092
|
-
const g = Q(c.kebab),
|
7093
|
-
return c.parser(
|
7096
|
+
const g = Q(c.kebab), P = bt(g, v);
|
7097
|
+
return c.parser(P);
|
7094
7098
|
}), ke = (v, d) => {
|
7095
7099
|
class c extends HTMLElement {
|
7096
7100
|
constructor() {
|
7097
|
-
super(), this.layer = null, this.addEventListener(
|
7098
|
-
this.layer !== null && this.layer.bindTooltip(
|
7101
|
+
super(), this.layer = null, this.addEventListener(Pi, (P) => {
|
7102
|
+
this.layer !== null && this.layer.bindTooltip(P.detail.tooltip);
|
7099
7103
|
});
|
7100
7104
|
}
|
7101
7105
|
connectedCallback() {
|
7102
|
-
const
|
7103
|
-
this.layer = v(...
|
7106
|
+
const P = hr(this, d), s = ar(this, d);
|
7107
|
+
this.layer = v(...P, s);
|
7104
7108
|
const a = new CustomEvent(et, {
|
7105
7109
|
cancelable: !0,
|
7106
7110
|
bubbles: !0,
|
@@ -7114,8 +7118,8 @@ const Ti = (v) => {
|
|
7114
7118
|
* @param {string} attName
|
7115
7119
|
* @param {string} newValue
|
7116
7120
|
*/
|
7117
|
-
attributeChangedCallback(
|
7118
|
-
this.layer !== null && sr(this.layer, d,
|
7121
|
+
attributeChangedCallback(P, s, a) {
|
7122
|
+
this.layer !== null && sr(this.layer, d, P, a);
|
7119
7123
|
}
|
7120
7124
|
}
|
7121
7125
|
return Lt(c, "observedAttributes", rr(d)), c;
|
@@ -7196,18 +7200,18 @@ var jn = { exports: {} };
|
|
7196
7200
|
addLayers: function(s, a) {
|
7197
7201
|
if (!L.Util.isArray(s))
|
7198
7202
|
return this.addLayer(s);
|
7199
|
-
var h = this._featureGroup, l = this._nonPointGroup, p = this.options.chunkedLoading, y = this.options.chunkInterval, _ = this.options.chunkProgress,
|
7203
|
+
var h = this._featureGroup, l = this._nonPointGroup, p = this.options.chunkedLoading, y = this.options.chunkInterval, _ = this.options.chunkProgress, w = s.length, b = 0, M = !0, C;
|
7200
7204
|
if (this._map) {
|
7201
7205
|
var H = (/* @__PURE__ */ new Date()).getTime(), A = L.bind(function() {
|
7202
7206
|
var W = (/* @__PURE__ */ new Date()).getTime();
|
7203
|
-
for (this._map && this._unspiderfy && this._unspiderfy();
|
7204
|
-
if (p &&
|
7205
|
-
var
|
7206
|
-
if (
|
7207
|
+
for (this._map && this._unspiderfy && this._unspiderfy(); b < w; b++) {
|
7208
|
+
if (p && b % 200 === 0) {
|
7209
|
+
var wt = (/* @__PURE__ */ new Date()).getTime() - W;
|
7210
|
+
if (wt > y)
|
7207
7211
|
break;
|
7208
7212
|
}
|
7209
|
-
if (C = s[
|
7210
|
-
M && (s = s.slice(), M = !1), this._extractNonGroupLayers(C, s),
|
7213
|
+
if (C = s[b], C instanceof L.LayerGroup) {
|
7214
|
+
M && (s = s.slice(), M = !1), this._extractNonGroupLayers(C, s), w = s.length;
|
7211
7215
|
continue;
|
7212
7216
|
}
|
7213
7217
|
if (!C.getLatLng) {
|
@@ -7219,13 +7223,13 @@ var jn = { exports: {} };
|
|
7219
7223
|
h.removeLayer(Vt);
|
7220
7224
|
}
|
7221
7225
|
}
|
7222
|
-
_ && _(
|
7226
|
+
_ && _(b, w, (/* @__PURE__ */ new Date()).getTime() - H), b === w ? (this._topClusterLevel._recalculateBounds(), this._refreshClustersIcons(), this._topClusterLevel._recursivelyAddChildrenToMap(null, this._zoom, this._currentShownBounds)) : setTimeout(A, this.options.chunkDelay);
|
7223
7227
|
}, this);
|
7224
7228
|
A();
|
7225
7229
|
} else
|
7226
|
-
for (var U = this._needsClustering;
|
7227
|
-
if (C = s[
|
7228
|
-
M && (s = s.slice(), M = !1), this._extractNonGroupLayers(C, s),
|
7230
|
+
for (var U = this._needsClustering; b < w; b++) {
|
7231
|
+
if (C = s[b], C instanceof L.LayerGroup) {
|
7232
|
+
M && (s = s.slice(), M = !1), this._extractNonGroupLayers(C, s), w = s.length;
|
7229
7233
|
continue;
|
7230
7234
|
}
|
7231
7235
|
if (!C.getLatLng) {
|
@@ -7251,10 +7255,10 @@ var jn = { exports: {} };
|
|
7251
7255
|
}
|
7252
7256
|
if (this._unspiderfy) {
|
7253
7257
|
this._unspiderfy();
|
7254
|
-
var
|
7255
|
-
for (a = 0; a <
|
7256
|
-
if (h =
|
7257
|
-
this._extractNonGroupLayers(h,
|
7258
|
+
var w = s.slice(), b = l;
|
7259
|
+
for (a = 0; a < b; a++) {
|
7260
|
+
if (h = w[a], h instanceof L.LayerGroup) {
|
7261
|
+
this._extractNonGroupLayers(h, w), b = w.length;
|
7258
7262
|
continue;
|
7259
7263
|
}
|
7260
7264
|
this._unspiderfyLayer(h);
|
@@ -7393,11 +7397,11 @@ var jn = { exports: {} };
|
|
7393
7397
|
//Internal function for removing a marker from everything.
|
7394
7398
|
//dontUpdateMap: set to true if you will handle updating the map manually (for bulk functions)
|
7395
7399
|
_removeLayer: function(s, a, h) {
|
7396
|
-
var l = this._gridClusters, p = this._gridUnclustered, y = this._featureGroup, _ = this._map,
|
7400
|
+
var l = this._gridClusters, p = this._gridUnclustered, y = this._featureGroup, _ = this._map, w = Math.floor(this._map.getMinZoom());
|
7397
7401
|
a && this._removeFromGridUnclustered(s, this._maxZoom);
|
7398
|
-
var
|
7399
|
-
for (this._arraySplice(M, s);
|
7400
|
-
a &&
|
7402
|
+
var b = s.__parent, M = b._markers, C;
|
7403
|
+
for (this._arraySplice(M, s); b && (b._childCount--, b._boundsNeedUpdate = !0, !(b._zoom < w)); )
|
7404
|
+
a && b._childCount <= 1 ? (C = b._markers[0] === s ? b._markers[1] : b._markers[0], l[b._zoom].removeObject(b, _.project(b._cLatLng, b._zoom)), p[b._zoom].addObject(C, _.project(C.getLatLng(), b._zoom)), this._arraySplice(b.__parent._childClusters, b), b.__parent._markers.push(C), C.__parent = b.__parent, b._icon && (y.removeLayer(b), h || y.addLayer(C))) : b._iconNeedsUpdate = !0, b = b.__parent;
|
7401
7405
|
delete s.__parent;
|
7402
7406
|
},
|
7403
7407
|
_isOrIsParent: function(s, a) {
|
@@ -7472,20 +7476,20 @@ var jn = { exports: {} };
|
|
7472
7476
|
var h = this._gridClusters, l = this._gridUnclustered, p = Math.floor(this._map.getMinZoom()), y, _;
|
7473
7477
|
for (this.options.singleMarkerMode && this._overrideMarkerIcon(s), s.on(this._childMarkerEventHandlers, this); a >= p; a--) {
|
7474
7478
|
y = this._map.project(s.getLatLng(), a);
|
7475
|
-
var
|
7476
|
-
if (
|
7477
|
-
|
7479
|
+
var w = h[a].getNearObject(y);
|
7480
|
+
if (w) {
|
7481
|
+
w._addChild(s), s.__parent = w;
|
7478
7482
|
return;
|
7479
7483
|
}
|
7480
|
-
if (
|
7481
|
-
var
|
7482
|
-
|
7483
|
-
var M = new this._markerCluster(this, a,
|
7484
|
-
h[a].addObject(M, this._map.project(M._cLatLng, a)),
|
7484
|
+
if (w = l[a].getNearObject(y), w) {
|
7485
|
+
var b = w.__parent;
|
7486
|
+
b && this._removeLayer(w, !1);
|
7487
|
+
var M = new this._markerCluster(this, a, w, s);
|
7488
|
+
h[a].addObject(M, this._map.project(M._cLatLng, a)), w.__parent = M, s.__parent = M;
|
7485
7489
|
var C = M;
|
7486
|
-
for (_ = a - 1; _ >
|
7487
|
-
C = new this._markerCluster(this, _, C), h[_].addObject(C, this._map.project(
|
7488
|
-
|
7490
|
+
for (_ = a - 1; _ > b._zoom; _--)
|
7491
|
+
C = new this._markerCluster(this, _, C), h[_].addObject(C, this._map.project(w.getLatLng(), _));
|
7492
|
+
b._addChild(C), this._removeFromGridUnclustered(w, a);
|
7489
7493
|
return;
|
7490
7494
|
}
|
7491
7495
|
l[a].addObject(s, y);
|
@@ -7610,9 +7614,9 @@ var jn = { exports: {} };
|
|
7610
7614
|
_animationZoomIn: function(s, a) {
|
7611
7615
|
var h = this._getExpandedVisibleBounds(), l = this._featureGroup, p = Math.floor(this._map.getMinZoom()), y;
|
7612
7616
|
this._ignoreMove = !0, this._topClusterLevel._recursively(h, s, p, function(_) {
|
7613
|
-
var
|
7614
|
-
for (h.contains(
|
7615
|
-
M =
|
7617
|
+
var w = _._latlng, b = _._markers, M;
|
7618
|
+
for (h.contains(w) || (w = null), _._isSingleParent() && s + 1 === a ? (l.removeLayer(_), _._recursivelyAddChildrenToMap(null, a, h)) : (_.clusterHide(), _._recursivelyAddChildrenToMap(w, a, h)), y = b.length - 1; y >= 0; y--)
|
7619
|
+
M = b[y], h.contains(M._latlng) || l.removeLayer(M);
|
7616
7620
|
}), this._forceLayout(), this._topClusterLevel._recursivelyBecomeVisible(h, a), l.eachLayer(function(_) {
|
7617
7621
|
!(_ instanceof L.MarkerCluster) && _._icon && _.clusterShow();
|
7618
7622
|
}), this._topClusterLevel._recursively(h, s, a, function(_) {
|
@@ -7643,8 +7647,8 @@ var jn = { exports: {} };
|
|
7643
7647
|
var _ = s._markers[0];
|
7644
7648
|
this._ignoreMove = !0, _.setLatLng(_.getLatLng()), this._ignoreMove = !1, _.clusterShow && _.clusterShow();
|
7645
7649
|
} else
|
7646
|
-
s._recursively(l, h, p, function(
|
7647
|
-
|
7650
|
+
s._recursively(l, h, p, function(w) {
|
7651
|
+
w._recursivelyRemoveChildrenFromMap(l, p, a + 1);
|
7648
7652
|
});
|
7649
7653
|
y._animationEnd();
|
7650
7654
|
});
|
@@ -7660,7 +7664,7 @@ var jn = { exports: {} };
|
|
7660
7664
|
}), L.markerClusterGroup = function(s) {
|
7661
7665
|
return new L.MarkerClusterGroup(s);
|
7662
7666
|
};
|
7663
|
-
var
|
7667
|
+
var P = L.MarkerCluster = L.Marker.extend({
|
7664
7668
|
options: L.Icon.prototype.options,
|
7665
7669
|
initialize: function(s, a, h, l) {
|
7666
7670
|
L.Marker.prototype.initialize.call(
|
@@ -7686,10 +7690,10 @@ var jn = { exports: {} };
|
|
7686
7690
|
zoomToBounds: function(s) {
|
7687
7691
|
for (var a = this._childClusters.slice(), h = this._group._map, l = h.getBoundsZoom(this._bounds), p = this._zoom + 1, y = h.getZoom(), _; a.length > 0 && l > p; ) {
|
7688
7692
|
p++;
|
7689
|
-
var
|
7693
|
+
var w = [];
|
7690
7694
|
for (_ = 0; _ < a.length; _++)
|
7691
|
-
|
7692
|
-
a =
|
7695
|
+
w = w.concat(a[_]._childClusters);
|
7696
|
+
a = w;
|
7693
7697
|
}
|
7694
7698
|
l > p ? this._group._map.setView(this._latlng, p) : l <= y ? this._group._map.setView(this._latlng, y + 1) : this._group._map.fitBounds(this._bounds, s);
|
7695
7699
|
},
|
@@ -7729,12 +7733,12 @@ var jn = { exports: {} };
|
|
7729
7733
|
s._southWest && (s._southWest.lat = 1 / 0, s._southWest.lng = 1 / 0), s._northEast && (s._northEast.lat = -1 / 0, s._northEast.lng = -1 / 0);
|
7730
7734
|
},
|
7731
7735
|
_recalculateBounds: function() {
|
7732
|
-
var s = this._markers, a = this._childClusters, h = 0, l = 0, p = this._childCount, y, _,
|
7736
|
+
var s = this._markers, a = this._childClusters, h = 0, l = 0, p = this._childCount, y, _, w, b;
|
7733
7737
|
if (p !== 0) {
|
7734
7738
|
for (this._resetBounds(), y = 0; y < s.length; y++)
|
7735
|
-
|
7739
|
+
w = s[y]._latlng, this._bounds.extend(w), h += w.lat, l += w.lng;
|
7736
7740
|
for (y = 0; y < a.length; y++)
|
7737
|
-
_ = a[y], _._boundsNeedUpdate && _._recalculateBounds(), this._bounds.extend(_._bounds),
|
7741
|
+
_ = a[y], _._boundsNeedUpdate && _._recalculateBounds(), this._bounds.extend(_._bounds), w = _._wLatLng, b = _._childCount, h += w.lat * b, l += w.lng * b;
|
7738
7742
|
this._latlng = this._wLatLng = new L.LatLng(h / p, l / p), this._boundsNeedUpdate = !1;
|
7739
7743
|
}
|
7740
7744
|
},
|
@@ -7830,10 +7834,10 @@ var jn = { exports: {} };
|
|
7830
7834
|
// runAtEveryLevel: function that takes an L.MarkerCluster as an argument that should be applied on every level
|
7831
7835
|
// runAtBottomLevel: function that takes an L.MarkerCluster as an argument that should be applied at only the bottom level
|
7832
7836
|
_recursively: function(s, a, h, l, p) {
|
7833
|
-
var y = this._childClusters, _ = this._zoom,
|
7837
|
+
var y = this._childClusters, _ = this._zoom, w, b;
|
7834
7838
|
if (a <= _ && (l && l(this), p && _ === h && p(this)), _ < a || _ < h)
|
7835
|
-
for (
|
7836
|
-
|
7839
|
+
for (w = y.length - 1; w >= 0; w--)
|
7840
|
+
b = y[w], b._boundsNeedUpdate && b._recalculateBounds(), s.intersects(b._bounds) && b._recursively(s, a, h, l, p);
|
7837
7841
|
},
|
7838
7842
|
//Returns true if we are the parent of only one cluster and that cluster is the same as us
|
7839
7843
|
_isSingleParent: function() {
|
@@ -7852,36 +7856,36 @@ var jn = { exports: {} };
|
|
7852
7856
|
this._cellSize = s, this._sqCellSize = s * s, this._grid = {}, this._objectPoint = {};
|
7853
7857
|
}, L.DistanceGrid.prototype = {
|
7854
7858
|
addObject: function(s, a) {
|
7855
|
-
var h = this._getCoord(a.x), l = this._getCoord(a.y), p = this._grid, y = p[l] = p[l] || {}, _ = y[h] = y[h] || [],
|
7856
|
-
this._objectPoint[
|
7859
|
+
var h = this._getCoord(a.x), l = this._getCoord(a.y), p = this._grid, y = p[l] = p[l] || {}, _ = y[h] = y[h] || [], w = L.Util.stamp(s);
|
7860
|
+
this._objectPoint[w] = a, _.push(s);
|
7857
7861
|
},
|
7858
7862
|
updateObject: function(s, a) {
|
7859
7863
|
this.removeObject(s), this.addObject(s, a);
|
7860
7864
|
},
|
7861
7865
|
//Returns true if the object was found
|
7862
7866
|
removeObject: function(s, a) {
|
7863
|
-
var h = this._getCoord(a.x), l = this._getCoord(a.y), p = this._grid, y = p[l] = p[l] || {}, _ = y[h] = y[h] || [],
|
7864
|
-
for (delete this._objectPoint[L.Util.stamp(s)],
|
7865
|
-
if (_[
|
7866
|
-
return _.splice(
|
7867
|
+
var h = this._getCoord(a.x), l = this._getCoord(a.y), p = this._grid, y = p[l] = p[l] || {}, _ = y[h] = y[h] || [], w, b;
|
7868
|
+
for (delete this._objectPoint[L.Util.stamp(s)], w = 0, b = _.length; w < b; w++)
|
7869
|
+
if (_[w] === s)
|
7870
|
+
return _.splice(w, 1), b === 1 && delete y[h], !0;
|
7867
7871
|
},
|
7868
7872
|
eachObject: function(s, a) {
|
7869
|
-
var h, l, p, y, _,
|
7873
|
+
var h, l, p, y, _, w, b, M = this._grid;
|
7870
7874
|
for (h in M) {
|
7871
7875
|
_ = M[h];
|
7872
7876
|
for (l in _)
|
7873
|
-
for (
|
7874
|
-
|
7877
|
+
for (w = _[l], p = 0, y = w.length; p < y; p++)
|
7878
|
+
b = s.call(a, w[p]), b && (p--, y--);
|
7875
7879
|
}
|
7876
7880
|
},
|
7877
7881
|
getNearObject: function(s) {
|
7878
|
-
var a = this._getCoord(s.x), h = this._getCoord(s.y), l, p, y, _,
|
7882
|
+
var a = this._getCoord(s.x), h = this._getCoord(s.y), l, p, y, _, w, b, M, C, H = this._objectPoint, A = this._sqCellSize, U = null;
|
7879
7883
|
for (l = h - 1; l <= h + 1; l++)
|
7880
7884
|
if (_ = this._grid[l], _) {
|
7881
7885
|
for (p = a - 1; p <= a + 1; p++)
|
7882
|
-
if (
|
7883
|
-
for (y = 0,
|
7884
|
-
M =
|
7886
|
+
if (w = _[p], w)
|
7887
|
+
for (y = 0, b = w.length; y < b; y++)
|
7888
|
+
M = w[y], C = this._sqDist(H[L.Util.stamp(M)], s), (C < A || C <= A && U === null) && (A = C, U = M);
|
7885
7889
|
}
|
7886
7890
|
return U;
|
7887
7891
|
},
|
@@ -7913,13 +7917,13 @@ var jn = { exports: {} };
|
|
7913
7917
|
* in consideration for the hull.
|
7914
7918
|
*/
|
7915
7919
|
findMostDistantPointFromBaseLine: function(s, a) {
|
7916
|
-
var h = 0, l = null, p = [], y, _,
|
7920
|
+
var h = 0, l = null, p = [], y, _, w;
|
7917
7921
|
for (y = a.length - 1; y >= 0; y--) {
|
7918
|
-
if (_ = a[y],
|
7922
|
+
if (_ = a[y], w = this.getDistant(_, s), w > 0)
|
7919
7923
|
p.push(_);
|
7920
7924
|
else
|
7921
7925
|
continue;
|
7922
|
-
|
7926
|
+
w > h && (h = w, l = _);
|
7923
7927
|
}
|
7924
7928
|
return { maxPoint: l, newPoints: p };
|
7925
7929
|
},
|
@@ -7946,12 +7950,12 @@ var jn = { exports: {} };
|
|
7946
7950
|
* @returns {Array}
|
7947
7951
|
*/
|
7948
7952
|
getConvexHull: function(s) {
|
7949
|
-
var a = !1, h = !1, l = !1, p = !1, y = null, _ = null,
|
7953
|
+
var a = !1, h = !1, l = !1, p = !1, y = null, _ = null, w = null, b = null, M = null, C = null, H;
|
7950
7954
|
for (H = s.length - 1; H >= 0; H--) {
|
7951
7955
|
var A = s[H];
|
7952
|
-
(a === !1 || A.lat > a) && (y = A, a = A.lat), (h === !1 || A.lat < h) && (_ = A, h = A.lat), (l === !1 || A.lng > l) && (
|
7956
|
+
(a === !1 || A.lat > a) && (y = A, a = A.lat), (h === !1 || A.lat < h) && (_ = A, h = A.lat), (l === !1 || A.lng > l) && (w = A, l = A.lng), (p === !1 || A.lng < p) && (b = A, p = A.lng);
|
7953
7957
|
}
|
7954
|
-
h !== a ? (C = _, M = y) : (C =
|
7958
|
+
h !== a ? (C = _, M = y) : (C = b, M = w);
|
7955
7959
|
var U = [].concat(
|
7956
7960
|
this.buildConvexHull([C, M], s),
|
7957
7961
|
this.buildConvexHull([M, C], s)
|
@@ -7988,16 +7992,16 @@ var jn = { exports: {} };
|
|
7988
7992
|
this._group._inZoomAnimation || (this._animationUnspiderfy(s), this._group._spiderfied = null);
|
7989
7993
|
},
|
7990
7994
|
_generatePointsCircle: function(s, a) {
|
7991
|
-
var h = this._group.options.spiderfyDistanceMultiplier * this._circleFootSeparation * (2 + s), l = h / this._2PI, p = this._2PI / s, y = [], _,
|
7995
|
+
var h = this._group.options.spiderfyDistanceMultiplier * this._circleFootSeparation * (2 + s), l = h / this._2PI, p = this._2PI / s, y = [], _, w;
|
7992
7996
|
for (l = Math.max(l, 35), y.length = s, _ = 0; _ < s; _++)
|
7993
|
-
|
7997
|
+
w = this._circleStartAngle + _ * p, y[_] = new L.Point(a.x + l * Math.cos(w), a.y + l * Math.sin(w))._round();
|
7994
7998
|
return y;
|
7995
7999
|
},
|
7996
8000
|
_generatePointsSpiral: function(s, a) {
|
7997
|
-
var h = this._group.options.spiderfyDistanceMultiplier, l = h * this._spiralLengthStart, p = h * this._spiralFootSeparation, y = h * this._spiralLengthFactor * this._2PI, _ = 0,
|
7998
|
-
for (
|
7999
|
-
|
8000
|
-
return
|
8001
|
+
var h = this._group.options.spiderfyDistanceMultiplier, l = h * this._spiralLengthStart, p = h * this._spiralFootSeparation, y = h * this._spiralLengthFactor * this._2PI, _ = 0, w = [], b;
|
8002
|
+
for (w.length = s, b = s; b >= 0; b--)
|
8003
|
+
b < s && (w[b] = new L.Point(a.x + l * Math.cos(_), a.y + l * Math.sin(_))._round()), _ += p / l + b * 5e-4, l += y / _;
|
8004
|
+
return w;
|
8001
8005
|
},
|
8002
8006
|
_noanimationUnspiderfy: function() {
|
8003
8007
|
var s = this._group, a = s._map, h = s._featureGroup, l = this.getAllChildMarkers(null, !0), p, y;
|
@@ -8010,9 +8014,9 @@ var jn = { exports: {} };
|
|
8010
8014
|
}
|
8011
8015
|
}), L.MarkerClusterNonAnimated = L.MarkerCluster.extend({
|
8012
8016
|
_animationSpiderfy: function(s, a) {
|
8013
|
-
var h = this._group, l = h._map, p = h._featureGroup, y = this._group.options.spiderLegPolylineOptions, _,
|
8017
|
+
var h = this._group, l = h._map, p = h._featureGroup, y = this._group.options.spiderLegPolylineOptions, _, w, b, M;
|
8014
8018
|
for (h._ignoreMove = !0, _ = 0; _ < s.length; _++)
|
8015
|
-
M = l.layerPointToLatLng(a[_]),
|
8019
|
+
M = l.layerPointToLatLng(a[_]), w = s[_], b = new L.Polyline([this._latlng, M], y), l.addLayer(b), w._spiderLeg = b, w._preSpiderfyLatlng = w._latlng, w.setLatLng(M), w.setZIndexOffset && w.setZIndexOffset(1e6), p.addLayer(w);
|
8016
8020
|
this.setOpacity(0.3), h._ignoreMove = !1, h.fire("spiderfied", {
|
8017
8021
|
cluster: this,
|
8018
8022
|
markers: s
|
@@ -8023,11 +8027,11 @@ var jn = { exports: {} };
|
|
8023
8027
|
}
|
8024
8028
|
}), L.MarkerCluster.include({
|
8025
8029
|
_animationSpiderfy: function(s, a) {
|
8026
|
-
var h = this, l = this._group, p = l._map, y = l._featureGroup, _ = this._latlng,
|
8027
|
-
for (C === void 0 && (C = L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),
|
8028
|
-
A = s[H], at = p.layerPointToLatLng(a[H]), U = new L.Polyline([_, at], M), p.addLayer(U), A._spiderLeg = U,
|
8030
|
+
var h = this, l = this._group, p = l._map, y = l._featureGroup, _ = this._latlng, w = p.latLngToLayerPoint(_), b = L.Path.SVG, M = L.extend({}, this._group.options.spiderLegPolylineOptions), C = M.opacity, H, A, U, W, wt, at;
|
8031
|
+
for (C === void 0 && (C = L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity), b ? (M.opacity = 0, M.className = (M.className || "") + " leaflet-cluster-spider-leg") : M.opacity = C, l._ignoreMove = !0, H = 0; H < s.length; H++)
|
8032
|
+
A = s[H], at = p.layerPointToLatLng(a[H]), U = new L.Polyline([_, at], M), p.addLayer(U), A._spiderLeg = U, b && (W = U._path, wt = W.getTotalLength() + 0.1, W.style.strokeDasharray = wt, W.style.strokeDashoffset = wt), A.setZIndexOffset && A.setZIndexOffset(1e6), A.clusterHide && A.clusterHide(), y.addLayer(A), A._setPos && A._setPos(w);
|
8029
8033
|
for (l._forceLayout(), l._animationStart(), H = s.length - 1; H >= 0; H--)
|
8030
|
-
at = p.layerPointToLatLng(a[H]), A = s[H], A._preSpiderfyLatlng = A._latlng, A.setLatLng(at), A.clusterShow && A.clusterShow(),
|
8034
|
+
at = p.layerPointToLatLng(a[H]), A = s[H], A._preSpiderfyLatlng = A._latlng, A.setLatLng(at), A.clusterShow && A.clusterShow(), b && (U = A._spiderLeg, W = U._path, W.style.strokeDashoffset = 0, U.setStyle({ opacity: C }));
|
8031
8035
|
this.setOpacity(0.3), l._ignoreMove = !1, setTimeout(function() {
|
8032
8036
|
l._animationEnd(), l.fire("spiderfied", {
|
8033
8037
|
cluster: h,
|
@@ -8036,15 +8040,15 @@ var jn = { exports: {} };
|
|
8036
8040
|
}, 200);
|
8037
8041
|
},
|
8038
8042
|
_animationUnspiderfy: function(s) {
|
8039
|
-
var a = this, h = this._group, l = h._map, p = h._featureGroup, y = s ? l._latLngToNewLayerPoint(this._latlng, s.zoom, s.center) : l.latLngToLayerPoint(this._latlng), _ = this.getAllChildMarkers(null, !0),
|
8043
|
+
var a = this, h = this._group, l = h._map, p = h._featureGroup, y = s ? l._latLngToNewLayerPoint(this._latlng, s.zoom, s.center) : l.latLngToLayerPoint(this._latlng), _ = this.getAllChildMarkers(null, !0), w = L.Path.SVG, b, M, C, H, A, U;
|
8040
8044
|
for (h._ignoreMove = !0, h._animationStart(), this.setOpacity(1), M = _.length - 1; M >= 0; M--)
|
8041
|
-
|
8045
|
+
b = _[M], b._preSpiderfyLatlng && (b.closePopup(), b.setLatLng(b._preSpiderfyLatlng), delete b._preSpiderfyLatlng, U = !0, b._setPos && (b._setPos(y), U = !1), b.clusterHide && (b.clusterHide(), U = !1), U && p.removeLayer(b), w && (C = b._spiderLeg, H = C._path, A = H.getTotalLength() + 0.1, H.style.strokeDashoffset = A, C.setStyle({ opacity: 0 })));
|
8042
8046
|
h._ignoreMove = !1, setTimeout(function() {
|
8043
8047
|
var W = 0;
|
8044
8048
|
for (M = _.length - 1; M >= 0; M--)
|
8045
|
-
|
8049
|
+
b = _[M], b._spiderLeg && W++;
|
8046
8050
|
for (M = _.length - 1; M >= 0; M--)
|
8047
|
-
|
8051
|
+
b = _[M], b._spiderLeg && (b.clusterShow && b.clusterShow(), b.setZIndexOffset && b.setZIndexOffset(0), W > 1 && p.removeLayer(b), l.removeLayer(b._spiderLeg), delete b._spiderLeg);
|
8048
8052
|
h._animationEnd(), h.fire("unspiderfied", {
|
8049
8053
|
cluster: a,
|
8050
8054
|
markers: _
|
@@ -8130,7 +8134,7 @@ var jn = { exports: {} };
|
|
8130
8134
|
var h = this.options.icon;
|
8131
8135
|
return L.setOptions(h, s), this.setIcon(h), a && this.__parent && this.__parent._group.refreshClusters(this), this;
|
8132
8136
|
}
|
8133
|
-
}), c.MarkerClusterGroup = g, c.MarkerCluster =
|
8137
|
+
}), c.MarkerClusterGroup = g, c.MarkerCluster = P, Object.defineProperty(c, "__esModule", { value: !0 });
|
8134
8138
|
});
|
8135
8139
|
})(jn, jn.exports);
|
8136
8140
|
class oo extends zt {
|
@@ -8151,18 +8155,18 @@ class oo extends zt {
|
|
8151
8155
|
name: d
|
8152
8156
|
}
|
8153
8157
|
});
|
8154
|
-
this.dispatchEvent(g), this.addEventListener(et, (
|
8155
|
-
|
8158
|
+
this.dispatchEvent(g), this.addEventListener(et, (P) => {
|
8159
|
+
P.stopPropagation(), this.layer.addLayer(P.detail.layer);
|
8156
8160
|
});
|
8157
8161
|
}
|
8158
8162
|
_createIconCreateFunction(d) {
|
8159
8163
|
if (d) {
|
8160
|
-
let { size: c, content: g, className:
|
8164
|
+
let { size: c, content: g, className: P } = JSON.parse(d);
|
8161
8165
|
return (s) => {
|
8162
8166
|
const a = this._callClusterFunction(s, c), h = this._callClusterFunction(s, g);
|
8163
8167
|
return L.divIcon({
|
8164
8168
|
html: h,
|
8165
|
-
className:
|
8169
|
+
className: P,
|
8166
8170
|
iconSize: new L.Point(a, a)
|
8167
8171
|
});
|
8168
8172
|
};
|
@@ -8177,7 +8181,7 @@ Lt(oo, "observedAttributes", [
|
|
8177
8181
|
"icon-options"
|
8178
8182
|
]);
|
8179
8183
|
const cr = (() => {
|
8180
|
-
customElements.define("l-map",
|
8184
|
+
customElements.define("l-map", wi), customElements.define("l-pane", ir), customElements.define("l-control-layers", Is), customElements.define("l-base-layers", Zs), customElements.define("l-overlay-layers", Ks), customElements.define("l-layer-group", Bs), customElements.define("l-tile-layer", Ci), customElements.define("l-tile-layer-wms", Xs), customElements.define("l-marker-cluster-group", oo), customElements.define("l-marker", Qn), customElements.define("l-popup", Ys), customElements.define("l-lat-lng-bounds", eo), customElements.define("l-image-overlay", io), customElements.define("l-video-overlay", $s), customElements.define("l-geojson", Qs), customElements.define("l-icon", xi), customElements.define("l-circle", ke(G.circle, "circle")), customElements.define("l-polyline", ke(G.polyline, "polyline")), customElements.define("l-polygon", ke(G.polygon, "polygon")), customElements.define("l-rectangle", ke(G.rectangle, "rectangle")), customElements.define("l-tooltip", no), customElements.define("l-div-icon", er);
|
8181
8185
|
})();
|
8182
8186
|
export {
|
8183
8187
|
cr as default
|