@datagouv/components-next 1.0.2-dev.32 → 1.0.2-dev.33
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/{Datafair.client-BzyuQrsK.js → Datafair.client-DTop4XUQ.js} +4 -4
- package/dist/{Event-B0pbfyAo.js → Event--kp8kMdJ.js} +1 -1
- package/dist/{JsonPreview.client-CsFH4_pc.js → JsonPreview.client-CQgsXj2k.js} +5 -5
- package/dist/{Map-ByzoJvTf.js → Map-BjUnLyj8.js} +2 -2
- package/dist/{MapContainer.client-PxTb3GFB.js → MapContainer.client-DoaSmve7.js} +10 -10
- package/dist/{OSM-FSBCBM2l.js → OSM-s40W6sQ2.js} +1 -1
- package/dist/{PdfPreview.client-F9riTFzW.js → PdfPreview.client-Bz4y94yO.js} +4 -4
- package/dist/{Pmtiles.client-BdN6D_o3.js → Pmtiles.client-unndDBnn.js} +4 -4
- package/dist/Swagger.client-DOF5-Cja.js +4 -0
- package/dist/{Tile-nykTnQlb.js → Tile-DbNFNPfU.js} +4 -4
- package/dist/{TileImage-RLU-wMoy.js → TileImage-BsXBxMtq.js} +1 -1
- package/dist/{View-SHblmfOT.js → View-BR92hTWP.js} +1 -1
- package/dist/{XmlPreview.client-CLDalkuE.js → XmlPreview.client-CDYIE8d2.js} +5 -5
- package/dist/components-next.css +3 -3
- package/dist/components-next.js +54 -55
- package/dist/{index-DwQ7YeNi.js → index-DPpU5u3q.js} +1164 -1164
- package/dist/{leaflet-src-DKk3Q492.js → leaflet-src-7m1mB8LI.js} +183 -185
- package/dist/{main-BLApSdTQ.js → main-CgbCg2eH.js} +3658 -3716
- package/dist/{text-clamp.esm-DVseBqZZ.js → text-clamp.esm-B5kW_XMt.js} +4 -4
- package/dist/{tilecoord-BgTy1qJO.js → tilecoord-Db24Px13.js} +5 -5
- package/dist/{vue3-json-viewer-BgCuOAH6.js → vue3-json-viewer-BXwup7nO.js} +10 -10
- package/dist/{vue3-xml-viewer.common-DkEC3fSC.js → vue3-xml-viewer.common-CX-A57C3.js} +16 -16
- package/package.json +6 -6
- package/src/components/ActivityList/ActivityList.vue +0 -2
- package/src/components/Pagination.vue +8 -5
- package/src/components/Search/GlobalSearch.vue +0 -2
- package/src/main.ts +0 -1
- package/dist/Swagger.client-DRsUsdkD.js +0 -4
- package/src/functions/pagination.ts +0 -9
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
function jo(Vt, qt) {
|
|
1
|
+
function Vo(Vt, qt) {
|
|
3
2
|
for (var l = 0; l < qt.length; l++) {
|
|
4
3
|
const it = qt[l];
|
|
5
4
|
if (typeof it != "string" && !Array.isArray(it)) {
|
|
@@ -20,12 +19,12 @@ var Gt = { exports: {} };
|
|
|
20
19
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
|
21
20
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
|
22
21
|
*/
|
|
23
|
-
var
|
|
24
|
-
function
|
|
22
|
+
var qo = Gt.exports, pn;
|
|
23
|
+
function jo() {
|
|
25
24
|
return pn || (pn = 1, (function(Vt, qt) {
|
|
26
25
|
(function(l, it) {
|
|
27
26
|
it(qt);
|
|
28
|
-
})(
|
|
27
|
+
})(qo, (function(l) {
|
|
29
28
|
var it = "1.9.4";
|
|
30
29
|
function x(t) {
|
|
31
30
|
var e, i, n, o;
|
|
@@ -56,7 +55,7 @@ function Yo() {
|
|
|
56
55
|
function P(t) {
|
|
57
56
|
return "_leaflet_id" in t || (t._leaflet_id = ++Je), t._leaflet_id;
|
|
58
57
|
}
|
|
59
|
-
function
|
|
58
|
+
function $e(t, e, i) {
|
|
60
59
|
var n, o, s, r;
|
|
61
60
|
return r = function() {
|
|
62
61
|
n = !1, o && (s.apply(i, o), o = !1);
|
|
@@ -89,15 +88,15 @@ function Yo() {
|
|
|
89
88
|
t.options[i] = e[i];
|
|
90
89
|
return t.options;
|
|
91
90
|
}
|
|
92
|
-
function
|
|
91
|
+
function Qe(t, e, i) {
|
|
93
92
|
var n = [];
|
|
94
93
|
for (var o in t)
|
|
95
94
|
n.push(encodeURIComponent(i ? o.toUpperCase() : o) + "=" + encodeURIComponent(t[o]));
|
|
96
95
|
return (!e || e.indexOf("?") === -1 ? "?" : "&") + n.join("&");
|
|
97
96
|
}
|
|
98
|
-
var
|
|
97
|
+
var vn = /\{ *([\w_ -]+) *\}/g;
|
|
99
98
|
function ti(t, e) {
|
|
100
|
-
return t.replace(
|
|
99
|
+
return t.replace(vn, function(i, n) {
|
|
101
100
|
var o = e[n];
|
|
102
101
|
if (o === void 0)
|
|
103
102
|
throw new Error("No value provided for variable " + i);
|
|
@@ -134,7 +133,7 @@ function Yo() {
|
|
|
134
133
|
function G(t) {
|
|
135
134
|
t && ni.call(window, t);
|
|
136
135
|
}
|
|
137
|
-
var
|
|
136
|
+
var gn = {
|
|
138
137
|
__proto__: null,
|
|
139
138
|
extend: x,
|
|
140
139
|
create: ut,
|
|
@@ -143,14 +142,14 @@ function Yo() {
|
|
|
143
142
|
return Je;
|
|
144
143
|
},
|
|
145
144
|
stamp: P,
|
|
146
|
-
throttle:
|
|
145
|
+
throttle: $e,
|
|
147
146
|
wrapNum: Ct,
|
|
148
147
|
falseFn: E,
|
|
149
148
|
formatNum: J,
|
|
150
149
|
trim: de,
|
|
151
150
|
splitWords: dt,
|
|
152
151
|
setOptions: C,
|
|
153
|
-
getParamString:
|
|
152
|
+
getParamString: Qe,
|
|
154
153
|
template: ti,
|
|
155
154
|
isArray: K,
|
|
156
155
|
indexOf: _e,
|
|
@@ -169,7 +168,7 @@ function Yo() {
|
|
|
169
168
|
n.constructor = e, e.prototype = n;
|
|
170
169
|
for (var o in this)
|
|
171
170
|
Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (e[o] = this[o]);
|
|
172
|
-
return t.statics && x(e, t.statics), t.includes && (
|
|
171
|
+
return t.statics && x(e, t.statics), t.includes && (yn(t.includes), x.apply(null, [n].concat(t.includes))), x(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? ut(i.options) : {}, x(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
|
|
173
172
|
if (!this._initHooksCalled) {
|
|
174
173
|
i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
|
|
175
174
|
for (var s = 0, r = n._initHooks.length; s < r; s++)
|
|
@@ -187,7 +186,7 @@ function Yo() {
|
|
|
187
186
|
};
|
|
188
187
|
return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(i), this;
|
|
189
188
|
};
|
|
190
|
-
function
|
|
189
|
+
function yn(t) {
|
|
191
190
|
if (!(typeof L > "u" || !L || !L.Mixin)) {
|
|
192
191
|
t = K(t) ? t : [t];
|
|
193
192
|
for (var e = 0; e < t.length; e++)
|
|
@@ -492,7 +491,7 @@ function Yo() {
|
|
|
492
491
|
return this;
|
|
493
492
|
if (t instanceof m || typeof t[0] == "number" || "x" in t)
|
|
494
493
|
e = i = _(t);
|
|
495
|
-
else if (t =
|
|
494
|
+
else if (t = H(t), e = t.min, i = t.max, !e || !i)
|
|
496
495
|
return this;
|
|
497
496
|
return !this.min && !this.max ? (this.min = e.clone(), this.max = i.clone()) : (this.min.x = Math.min(e.x, this.min.x), this.max.x = Math.max(i.x, this.max.x), this.min.y = Math.min(e.y, this.min.y), this.max.y = Math.max(i.y, this.max.y)), this;
|
|
498
497
|
},
|
|
@@ -537,13 +536,13 @@ function Yo() {
|
|
|
537
536
|
// Returns `true` if the rectangle contains the given point.
|
|
538
537
|
contains: function(t) {
|
|
539
538
|
var e, i;
|
|
540
|
-
return typeof t[0] == "number" || t instanceof m ? t = _(t) : t =
|
|
539
|
+
return typeof t[0] == "number" || t instanceof m ? t = _(t) : t = H(t), t instanceof z ? (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;
|
|
541
540
|
},
|
|
542
541
|
// @method intersects(otherBounds: Bounds): Boolean
|
|
543
542
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds
|
|
544
543
|
// intersect if they have at least one point in common.
|
|
545
544
|
intersects: function(t) {
|
|
546
|
-
t =
|
|
545
|
+
t = H(t);
|
|
547
546
|
var e = this.min, i = this.max, n = t.min, o = t.max, s = o.x >= e.x && n.x <= i.x, r = o.y >= e.y && n.y <= i.y;
|
|
548
547
|
return s && r;
|
|
549
548
|
},
|
|
@@ -551,7 +550,7 @@ function Yo() {
|
|
|
551
550
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds
|
|
552
551
|
// overlap if their intersection is an area.
|
|
553
552
|
overlaps: function(t) {
|
|
554
|
-
t =
|
|
553
|
+
t = H(t);
|
|
555
554
|
var e = this.min, i = this.max, n = t.min, o = t.max, s = o.x > e.x && n.x < i.x, r = o.y > e.y && n.y < i.y;
|
|
556
555
|
return s && r;
|
|
557
556
|
},
|
|
@@ -566,7 +565,7 @@ function Yo() {
|
|
|
566
565
|
// Negative values will retract the bounds.
|
|
567
566
|
pad: function(t) {
|
|
568
567
|
var e = this.min, i = this.max, n = Math.abs(e.x - i.x) * t, o = Math.abs(e.y - i.y) * t;
|
|
569
|
-
return
|
|
568
|
+
return H(
|
|
570
569
|
_(e.x - n, e.y - o),
|
|
571
570
|
_(i.x + n, i.y + o)
|
|
572
571
|
);
|
|
@@ -574,18 +573,18 @@ function Yo() {
|
|
|
574
573
|
// @method equals(otherBounds: Bounds): Boolean
|
|
575
574
|
// Returns `true` if the rectangle is equivalent to the given bounds.
|
|
576
575
|
equals: function(t) {
|
|
577
|
-
return t ? (t =
|
|
576
|
+
return t ? (t = H(t), this.min.equals(t.getTopLeft()) && this.max.equals(t.getBottomRight())) : !1;
|
|
578
577
|
}
|
|
579
578
|
};
|
|
580
|
-
function
|
|
579
|
+
function H(t, e) {
|
|
581
580
|
return !t || t instanceof z ? t : new z(t, e);
|
|
582
581
|
}
|
|
583
|
-
function
|
|
582
|
+
function F(t, e) {
|
|
584
583
|
if (t)
|
|
585
584
|
for (var i = e ? [t, e] : t, n = 0, o = i.length; n < o; n++)
|
|
586
585
|
this.extend(i[n]);
|
|
587
586
|
}
|
|
588
|
-
|
|
587
|
+
F.prototype = {
|
|
589
588
|
// @method extend(latlng: LatLng): this
|
|
590
589
|
// Extend the bounds to contain the given point
|
|
591
590
|
// @alternative
|
|
@@ -595,7 +594,7 @@ function Yo() {
|
|
|
595
594
|
var e = this._southWest, i = this._northEast, n, o;
|
|
596
595
|
if (t instanceof b)
|
|
597
596
|
n = t, o = t;
|
|
598
|
-
else if (t instanceof
|
|
597
|
+
else if (t instanceof F) {
|
|
599
598
|
if (n = t._southWest, o = t._northEast, !n || !o)
|
|
600
599
|
return this;
|
|
601
600
|
} else
|
|
@@ -608,7 +607,7 @@ function Yo() {
|
|
|
608
607
|
// Negative values will retract the bounds.
|
|
609
608
|
pad: function(t) {
|
|
610
609
|
var e = this._southWest, i = this._northEast, n = Math.abs(e.lat - i.lat) * t, o = Math.abs(e.lng - i.lng) * t;
|
|
611
|
-
return new
|
|
610
|
+
return new F(
|
|
612
611
|
new b(e.lat - n, e.lng - o),
|
|
613
612
|
new b(i.lat + n, i.lng + o)
|
|
614
613
|
);
|
|
@@ -669,7 +668,7 @@ function Yo() {
|
|
|
669
668
|
contains: function(t) {
|
|
670
669
|
typeof t[0] == "number" || t instanceof b || "lat" in t ? t = y(t) : t = O(t);
|
|
671
670
|
var e = this._southWest, i = this._northEast, n, o;
|
|
672
|
-
return t instanceof
|
|
671
|
+
return t instanceof F ? (n = t.getSouthWest(), o = t.getNorthEast()) : n = o = t, n.lat >= e.lat && o.lat <= i.lat && n.lng >= e.lng && o.lng <= i.lng;
|
|
673
672
|
},
|
|
674
673
|
// @method intersects(otherBounds: LatLngBounds): Boolean
|
|
675
674
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.
|
|
@@ -702,7 +701,7 @@ function Yo() {
|
|
|
702
701
|
}
|
|
703
702
|
};
|
|
704
703
|
function O(t, e) {
|
|
705
|
-
return t instanceof
|
|
704
|
+
return t instanceof F ? t : new F(t, e);
|
|
706
705
|
}
|
|
707
706
|
function b(t, e, i) {
|
|
708
707
|
if (isNaN(t) || isNaN(e))
|
|
@@ -833,7 +832,7 @@ function Yo() {
|
|
|
833
832
|
if (n === 0 && o === 0)
|
|
834
833
|
return t;
|
|
835
834
|
var s = t.getSouthWest(), r = t.getNorthEast(), a = new b(s.lat - n, s.lng - o), h = new b(r.lat - n, r.lng - o);
|
|
836
|
-
return new
|
|
835
|
+
return new F(a, h);
|
|
837
836
|
}
|
|
838
837
|
}, lt = x({}, ot, {
|
|
839
838
|
wrapLng: [-180, 180],
|
|
@@ -906,7 +905,7 @@ function Yo() {
|
|
|
906
905
|
var t = 0.5 / (Math.PI * ve.R);
|
|
907
906
|
return kt(t, 0.5, -t, 0.5);
|
|
908
907
|
})()
|
|
909
|
-
}),
|
|
908
|
+
}), wn = x({}, ye, {
|
|
910
909
|
code: "EPSG:900913"
|
|
911
910
|
});
|
|
912
911
|
function ri(t) {
|
|
@@ -921,7 +920,7 @@ function Yo() {
|
|
|
921
920
|
}
|
|
922
921
|
return i || "M0 0";
|
|
923
922
|
}
|
|
924
|
-
var we = document.documentElement.style, Kt = "ActiveXObject" in window,
|
|
923
|
+
var we = document.documentElement.style, Kt = "ActiveXObject" in window, xn = Kt && !document.addEventListener, hi = "msLaunchUri" in navigator && !("documentMode" in document), xe = $("webkit"), ui = $("android"), li = $("android 2") || $("android 3"), Pn = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Ln = ui && $("Google") && Pn < 537 && !("AudioNode" in window), Pe = !!window.opera, ci = !hi && $("chrome"), fi = $("gecko") && !xe && !Pe && !Kt, Tn = !ci && $("safari"), di = $("phantom"), _i = "OTransition" in we, bn = navigator.platform.indexOf("Win") === 0, mi = Kt && "transition" in we, Le = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !li, pi = "MozPerspective" in we, Mn = !window.L_DISABLE_3D && (mi || Le || pi) && !_i && !di, Et = typeof orientation < "u" || $("mobile"), Sn = Et && xe, Cn = Et && Le, vi = !window.PointerEvent && window.MSPointerEvent, gi = !!(window.PointerEvent || vi), yi = "ontouchstart" in window || !!window.TouchEvent, zn = !window.L_NO_TOUCH && (yi || gi), kn = Et && Pe, En = Et && fi, Zn = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, On = (function() {
|
|
925
924
|
var t = !1;
|
|
926
925
|
try {
|
|
927
926
|
var e = Object.defineProperty({}, "passive", {
|
|
@@ -933,12 +932,12 @@ function Yo() {
|
|
|
933
932
|
} catch {
|
|
934
933
|
}
|
|
935
934
|
return t;
|
|
936
|
-
})(),
|
|
935
|
+
})(), In = (function() {
|
|
937
936
|
return !!document.createElement("canvas").getContext;
|
|
938
|
-
})(), Te = !!(document.createElementNS && ri("svg").createSVGRect),
|
|
937
|
+
})(), Te = !!(document.createElementNS && ri("svg").createSVGRect), An = !!Te && (function() {
|
|
939
938
|
var t = document.createElement("div");
|
|
940
939
|
return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
941
|
-
})(),
|
|
940
|
+
})(), Bn = !Te && (function() {
|
|
942
941
|
try {
|
|
943
942
|
var t = document.createElement("div");
|
|
944
943
|
t.innerHTML = '<v:shape adj="1"/>';
|
|
@@ -947,59 +946,59 @@ function Yo() {
|
|
|
947
946
|
} catch {
|
|
948
947
|
return !1;
|
|
949
948
|
}
|
|
950
|
-
})(),
|
|
951
|
-
function
|
|
949
|
+
})(), Nn = navigator.platform.indexOf("Mac") === 0, Rn = navigator.platform.indexOf("Linux") === 0;
|
|
950
|
+
function $(t) {
|
|
952
951
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
|
953
952
|
}
|
|
954
953
|
var f = {
|
|
955
954
|
ie: Kt,
|
|
956
|
-
ielt9:
|
|
955
|
+
ielt9: xn,
|
|
957
956
|
edge: hi,
|
|
958
957
|
webkit: xe,
|
|
959
958
|
android: ui,
|
|
960
959
|
android23: li,
|
|
961
|
-
androidStock:
|
|
960
|
+
androidStock: Ln,
|
|
962
961
|
opera: Pe,
|
|
963
962
|
chrome: ci,
|
|
964
963
|
gecko: fi,
|
|
965
|
-
safari:
|
|
964
|
+
safari: Tn,
|
|
966
965
|
phantom: di,
|
|
967
966
|
opera12: _i,
|
|
968
|
-
win:
|
|
967
|
+
win: bn,
|
|
969
968
|
ie3d: mi,
|
|
970
969
|
webkit3d: Le,
|
|
971
970
|
gecko3d: pi,
|
|
972
|
-
any3d:
|
|
971
|
+
any3d: Mn,
|
|
973
972
|
mobile: Et,
|
|
974
|
-
mobileWebkit:
|
|
975
|
-
mobileWebkit3d:
|
|
973
|
+
mobileWebkit: Sn,
|
|
974
|
+
mobileWebkit3d: Cn,
|
|
976
975
|
msPointer: vi,
|
|
977
976
|
pointer: gi,
|
|
978
|
-
touch:
|
|
977
|
+
touch: zn,
|
|
979
978
|
touchNative: yi,
|
|
980
|
-
mobileOpera:
|
|
981
|
-
mobileGecko:
|
|
982
|
-
retina:
|
|
983
|
-
passiveEvents:
|
|
984
|
-
canvas:
|
|
979
|
+
mobileOpera: kn,
|
|
980
|
+
mobileGecko: En,
|
|
981
|
+
retina: Zn,
|
|
982
|
+
passiveEvents: On,
|
|
983
|
+
canvas: In,
|
|
985
984
|
svg: Te,
|
|
986
|
-
vml:
|
|
987
|
-
inlineSvg:
|
|
988
|
-
mac:
|
|
989
|
-
linux:
|
|
985
|
+
vml: Bn,
|
|
986
|
+
inlineSvg: An,
|
|
987
|
+
mac: Nn,
|
|
988
|
+
linux: Rn
|
|
990
989
|
}, wi = f.msPointer ? "MSPointerDown" : "pointerdown", xi = f.msPointer ? "MSPointerMove" : "pointermove", Pi = f.msPointer ? "MSPointerUp" : "pointerup", Li = f.msPointer ? "MSPointerCancel" : "pointercancel", be = {
|
|
991
990
|
touchstart: wi,
|
|
992
991
|
touchmove: xi,
|
|
993
992
|
touchend: Pi,
|
|
994
993
|
touchcancel: Li
|
|
995
994
|
}, Ti = {
|
|
996
|
-
touchstart:
|
|
995
|
+
touchstart: Gn,
|
|
997
996
|
touchmove: Yt,
|
|
998
997
|
touchend: Yt,
|
|
999
998
|
touchcancel: Yt
|
|
1000
999
|
}, yt = {}, bi = !1;
|
|
1001
|
-
function
|
|
1002
|
-
return e === "touchstart" &&
|
|
1000
|
+
function Dn(t, e, i) {
|
|
1001
|
+
return e === "touchstart" && Un(), Ti[e] ? (i = Ti[e].bind(this, i), t.addEventListener(be[e], i, !1), i) : (console.warn("wrong event specified:", e), E);
|
|
1003
1002
|
}
|
|
1004
1003
|
function Hn(t, e, i) {
|
|
1005
1004
|
if (!be[e]) {
|
|
@@ -1008,17 +1007,17 @@ function Yo() {
|
|
|
1008
1007
|
}
|
|
1009
1008
|
t.removeEventListener(be[e], i, !1);
|
|
1010
1009
|
}
|
|
1011
|
-
function
|
|
1010
|
+
function Fn(t) {
|
|
1012
1011
|
yt[t.pointerId] = t;
|
|
1013
1012
|
}
|
|
1014
|
-
function
|
|
1013
|
+
function Wn(t) {
|
|
1015
1014
|
yt[t.pointerId] && (yt[t.pointerId] = t);
|
|
1016
1015
|
}
|
|
1017
1016
|
function Mi(t) {
|
|
1018
1017
|
delete yt[t.pointerId];
|
|
1019
1018
|
}
|
|
1020
|
-
function
|
|
1021
|
-
bi || (document.addEventListener(wi,
|
|
1019
|
+
function Un() {
|
|
1020
|
+
bi || (document.addEventListener(wi, Fn, !0), document.addEventListener(xi, Wn, !0), document.addEventListener(Pi, Mi, !0), document.addEventListener(Li, Mi, !0), bi = !0);
|
|
1022
1021
|
}
|
|
1023
1022
|
function Yt(t, e) {
|
|
1024
1023
|
if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
|
@@ -1028,17 +1027,17 @@ function Yo() {
|
|
|
1028
1027
|
e.changedTouches = [e], t(e);
|
|
1029
1028
|
}
|
|
1030
1029
|
}
|
|
1031
|
-
function
|
|
1030
|
+
function Gn(t, e) {
|
|
1032
1031
|
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && N(e), Yt(t, e);
|
|
1033
1032
|
}
|
|
1034
|
-
function
|
|
1033
|
+
function Vn(t) {
|
|
1035
1034
|
var e = {}, i, n;
|
|
1036
1035
|
for (n in t)
|
|
1037
1036
|
i = t[n], e[n] = i && i.bind ? i.bind(t) : i;
|
|
1038
1037
|
return t = e, e.type = "dblclick", e.detail = 2, e.isTrusted = !1, e._simulated = !0, e;
|
|
1039
1038
|
}
|
|
1040
|
-
var
|
|
1041
|
-
function
|
|
1039
|
+
var qn = 200;
|
|
1040
|
+
function jn(t, e) {
|
|
1042
1041
|
t.addEventListener("dblclick", e);
|
|
1043
1042
|
var i = 0, n;
|
|
1044
1043
|
function o(s) {
|
|
@@ -1054,7 +1053,7 @@ function Yo() {
|
|
|
1054
1053
|
return h instanceof HTMLInputElement || h instanceof HTMLSelectElement;
|
|
1055
1054
|
}))) {
|
|
1056
1055
|
var a = Date.now();
|
|
1057
|
-
a - i <=
|
|
1056
|
+
a - i <= qn ? (n++, n === 2 && e(Vn(s))) : n = 1, i = a;
|
|
1058
1057
|
}
|
|
1059
1058
|
}
|
|
1060
1059
|
}
|
|
@@ -1063,12 +1062,12 @@ function Yo() {
|
|
|
1063
1062
|
simDblclick: o
|
|
1064
1063
|
};
|
|
1065
1064
|
}
|
|
1066
|
-
function
|
|
1065
|
+
function Kn(t, e) {
|
|
1067
1066
|
t.removeEventListener("dblclick", e.dblclick), t.removeEventListener("click", e.simDblclick);
|
|
1068
1067
|
}
|
|
1069
|
-
var Me =
|
|
1068
|
+
var Me = $t(
|
|
1070
1069
|
["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
|
|
1071
|
-
), Zt =
|
|
1070
|
+
), Zt = $t(
|
|
1072
1071
|
["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
|
|
1073
1072
|
), Si = Zt === "webkitTransition" || Zt === "OTransition" ? Zt + "End" : "transitionend";
|
|
1074
1073
|
function Ci(t) {
|
|
@@ -1127,9 +1126,9 @@ function Yo() {
|
|
|
1127
1126
|
return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
|
|
1128
1127
|
}
|
|
1129
1128
|
function V(t, e) {
|
|
1130
|
-
"opacity" in t.style ? t.style.opacity = e : "filter" in t.style &&
|
|
1129
|
+
"opacity" in t.style ? t.style.opacity = e : "filter" in t.style && Yn(t, e);
|
|
1131
1130
|
}
|
|
1132
|
-
function
|
|
1131
|
+
function Yn(t, e) {
|
|
1133
1132
|
var i = !1, n = "DXImageTransform.Microsoft.Alpha";
|
|
1134
1133
|
try {
|
|
1135
1134
|
i = t.filters.item(n);
|
|
@@ -1139,7 +1138,7 @@ function Yo() {
|
|
|
1139
1138
|
}
|
|
1140
1139
|
e = Math.round(e * 100), i ? (i.Enabled = e !== 100, i.Opacity = e) : t.style.filter += " progid:" + n + "(opacity=" + e + ")";
|
|
1141
1140
|
}
|
|
1142
|
-
function
|
|
1141
|
+
function $t(t) {
|
|
1143
1142
|
for (var e = document.documentElement.style, i = 0; i < t.length; i++)
|
|
1144
1143
|
if (t[i] in e)
|
|
1145
1144
|
return t[i];
|
|
@@ -1163,7 +1162,7 @@ function Yo() {
|
|
|
1163
1162
|
M(window, "selectstart", N);
|
|
1164
1163
|
};
|
|
1165
1164
|
else {
|
|
1166
|
-
var Bt =
|
|
1165
|
+
var Bt = $t(
|
|
1167
1166
|
["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]
|
|
1168
1167
|
);
|
|
1169
1168
|
It = function() {
|
|
@@ -1181,14 +1180,14 @@ function Yo() {
|
|
|
1181
1180
|
function Ee() {
|
|
1182
1181
|
M(window, "dragstart", N);
|
|
1183
1182
|
}
|
|
1184
|
-
var
|
|
1183
|
+
var Qt, Ze;
|
|
1185
1184
|
function Oe(t) {
|
|
1186
1185
|
for (; t.tabIndex === -1; )
|
|
1187
1186
|
t = t.parentNode;
|
|
1188
|
-
t.style && (te(),
|
|
1187
|
+
t.style && (te(), Qt = t, Ze = t.style.outlineStyle, t.style.outlineStyle = "none", p(window, "keydown", te));
|
|
1189
1188
|
}
|
|
1190
1189
|
function te() {
|
|
1191
|
-
|
|
1190
|
+
Qt && (Qt.style.outlineStyle = Ze, Qt = void 0, Ze = void 0, M(window, "keydown", te));
|
|
1192
1191
|
}
|
|
1193
1192
|
function zi(t) {
|
|
1194
1193
|
do
|
|
@@ -1204,7 +1203,7 @@ function Yo() {
|
|
|
1204
1203
|
boundingClientRect: e
|
|
1205
1204
|
};
|
|
1206
1205
|
}
|
|
1207
|
-
var
|
|
1206
|
+
var Xn = {
|
|
1208
1207
|
__proto__: null,
|
|
1209
1208
|
TRANSFORM: Me,
|
|
1210
1209
|
TRANSITION: Zt,
|
|
@@ -1222,7 +1221,7 @@ function Yo() {
|
|
|
1222
1221
|
setClass: Ce,
|
|
1223
1222
|
getClass: Jt,
|
|
1224
1223
|
setOpacity: V,
|
|
1225
|
-
testProp:
|
|
1224
|
+
testProp: $t,
|
|
1226
1225
|
setTransform: _t,
|
|
1227
1226
|
setPosition: I,
|
|
1228
1227
|
getPosition: mt,
|
|
@@ -1250,10 +1249,10 @@ function Yo() {
|
|
|
1250
1249
|
}
|
|
1251
1250
|
return this;
|
|
1252
1251
|
}
|
|
1253
|
-
var
|
|
1252
|
+
var Q = "_leaflet_events";
|
|
1254
1253
|
function M(t, e, i, n) {
|
|
1255
1254
|
if (arguments.length === 1)
|
|
1256
|
-
ki(t), delete t[
|
|
1255
|
+
ki(t), delete t[Q];
|
|
1257
1256
|
else if (e && typeof e == "object")
|
|
1258
1257
|
for (var o in e)
|
|
1259
1258
|
Ne(t, o, e[o], i);
|
|
@@ -1267,7 +1266,7 @@ function Yo() {
|
|
|
1267
1266
|
return this;
|
|
1268
1267
|
}
|
|
1269
1268
|
function ki(t, e) {
|
|
1270
|
-
for (var i in t[
|
|
1269
|
+
for (var i in t[Q]) {
|
|
1271
1270
|
var n = i.split(/\d/)[0];
|
|
1272
1271
|
(!e || e(n)) && Ne(t, n, null, null, i);
|
|
1273
1272
|
}
|
|
@@ -1279,21 +1278,21 @@ function Yo() {
|
|
|
1279
1278
|
};
|
|
1280
1279
|
function Be(t, e, i, n) {
|
|
1281
1280
|
var o = e + P(i) + (n ? "_" + P(n) : "");
|
|
1282
|
-
if (t[
|
|
1281
|
+
if (t[Q] && t[Q][o])
|
|
1283
1282
|
return this;
|
|
1284
1283
|
var s = function(a) {
|
|
1285
1284
|
return i.call(n || t, a || window.event);
|
|
1286
1285
|
}, r = s;
|
|
1287
|
-
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? s =
|
|
1286
|
+
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? s = Dn(t, e, s) : f.touch && e === "dblclick" ? s = jn(t, s) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(Ae[e] || e, s, f.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (s = function(a) {
|
|
1288
1287
|
a = a || window.event, De(t, a) && r(a);
|
|
1289
|
-
}, t.addEventListener(Ae[e], s, !1)) : t.addEventListener(e, r, !1) : t.attachEvent("on" + e, s), t[
|
|
1288
|
+
}, t.addEventListener(Ae[e], s, !1)) : t.addEventListener(e, r, !1) : t.attachEvent("on" + e, s), t[Q] = t[Q] || {}, t[Q][o] = s;
|
|
1290
1289
|
}
|
|
1291
1290
|
function Ne(t, e, i, n, o) {
|
|
1292
1291
|
o = o || e + P(i) + (n ? "_" + P(n) : "");
|
|
1293
|
-
var s = t[
|
|
1292
|
+
var s = t[Q] && t[Q][o];
|
|
1294
1293
|
if (!s)
|
|
1295
1294
|
return this;
|
|
1296
|
-
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? Hn(t, e, s) : f.touch && e === "dblclick" ?
|
|
1295
|
+
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? Hn(t, e, s) : f.touch && e === "dblclick" ? Kn(t, s) : "removeEventListener" in t ? t.removeEventListener(Ae[e] || e, s, !1) : t.detachEvent("on" + e, s), t[Q][o] = null;
|
|
1297
1296
|
}
|
|
1298
1297
|
function pt(t) {
|
|
1299
1298
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
|
@@ -1328,11 +1327,11 @@ function Yo() {
|
|
|
1328
1327
|
(t.clientY - n.top) / i.y - e.clientTop
|
|
1329
1328
|
);
|
|
1330
1329
|
}
|
|
1331
|
-
var
|
|
1330
|
+
var Jn = f.linux && f.chrome ? window.devicePixelRatio : f.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
|
1332
1331
|
function Oi(t) {
|
|
1333
1332
|
return f.edge ? t.wheelDeltaY / 2 : (
|
|
1334
1333
|
// Don't trust window-geometry-based delta
|
|
1335
|
-
t.deltaY && t.deltaMode === 0 ? -t.deltaY /
|
|
1334
|
+
t.deltaY && t.deltaMode === 0 ? -t.deltaY / Jn : (
|
|
1336
1335
|
// Pixels
|
|
1337
1336
|
t.deltaY && t.deltaMode === 1 ? -t.deltaY * 20 : (
|
|
1338
1337
|
// Lines
|
|
@@ -1595,8 +1594,8 @@ function Yo() {
|
|
|
1595
1594
|
t = y(t), e = e === void 0 ? r : e;
|
|
1596
1595
|
var a = Math.max(s.x, s.y), h = a * this.getZoomScale(r, e), u = o.distanceTo(n) || 1, c = 1.42, d = c * c;
|
|
1597
1596
|
function g(A) {
|
|
1598
|
-
var fe = A ? -1 : 1,
|
|
1599
|
-
return
|
|
1597
|
+
var fe = A ? -1 : 1, Fo = A ? h : a, Wo = h * h - a * a + fe * d * d * u * u, Uo = 2 * Fo * d * u, Xe = Wo / Uo, mn = Math.sqrt(Xe * Xe + 1) - Xe, Go = mn < 1e-9 ? -18 : Math.log(mn);
|
|
1598
|
+
return Go;
|
|
1600
1599
|
}
|
|
1601
1600
|
function R(A) {
|
|
1602
1601
|
return (Math.exp(A) - Math.exp(-A)) / 2;
|
|
@@ -1611,17 +1610,17 @@ function Yo() {
|
|
|
1611
1610
|
function St(A) {
|
|
1612
1611
|
return a * (B(W) / B(W + c * A));
|
|
1613
1612
|
}
|
|
1614
|
-
function
|
|
1613
|
+
function No(A) {
|
|
1615
1614
|
return a * (B(W) * j(W + c * A) - R(W)) / d;
|
|
1616
1615
|
}
|
|
1617
|
-
function
|
|
1616
|
+
function Ro(A) {
|
|
1618
1617
|
return 1 - Math.pow(1 - A, 1.5);
|
|
1619
1618
|
}
|
|
1620
|
-
var
|
|
1619
|
+
var Do = Date.now(), dn = (g(1) - W) / c, Ho = i.duration ? 1e3 * i.duration : 1e3 * dn * 0.8;
|
|
1621
1620
|
function _n() {
|
|
1622
|
-
var A = (Date.now() -
|
|
1621
|
+
var A = (Date.now() - Do) / Ho, fe = Ro(A) * dn;
|
|
1623
1622
|
A <= 1 ? (this._flyToFrame = D(_n, this), this._move(
|
|
1624
|
-
this.unproject(n.add(o.subtract(n).multiplyBy(
|
|
1623
|
+
this.unproject(n.add(o.subtract(n).multiplyBy(No(fe) / u)), r),
|
|
1625
1624
|
this.getScaleZoom(a / St(fe), r),
|
|
1626
1625
|
{ flyTo: !0 }
|
|
1627
1626
|
)) : this._move(t, e)._moveEnd(!0);
|
|
@@ -1666,7 +1665,7 @@ function Yo() {
|
|
|
1666
1665
|
// the map will not be panned.
|
|
1667
1666
|
panInside: function(t, e) {
|
|
1668
1667
|
e = e || {};
|
|
1669
|
-
var i = _(e.paddingTopLeft || e.padding || [0, 0]), n = _(e.paddingBottomRight || e.padding || [0, 0]), o = this.project(this.getCenter()), s = this.project(t), r = this.getPixelBounds(), a =
|
|
1668
|
+
var i = _(e.paddingTopLeft || e.padding || [0, 0]), n = _(e.paddingBottomRight || e.padding || [0, 0]), o = this.project(this.getCenter()), s = this.project(t), r = this.getPixelBounds(), a = H([r.min.add(i), r.max.subtract(n)]), h = a.getSize();
|
|
1670
1669
|
if (!a.contains(s)) {
|
|
1671
1670
|
this._enforcingBounds = !0;
|
|
1672
1671
|
var u = s.subtract(a.getCenter()), c = a.extend(s).getSize().subtract(h);
|
|
@@ -1817,7 +1816,7 @@ function Yo() {
|
|
|
1817
1816
|
// Returns the geographical bounds visible in the current map view
|
|
1818
1817
|
getBounds: function() {
|
|
1819
1818
|
var t = this.getPixelBounds(), e = this.unproject(t.getBottomLeft()), i = this.unproject(t.getTopRight());
|
|
1820
|
-
return new
|
|
1819
|
+
return new F(e, i);
|
|
1821
1820
|
},
|
|
1822
1821
|
// @method getMinZoom(): Number
|
|
1823
1822
|
// Returns the minimum zoom level of the map (if set in the `minZoom` option of the map or of any layers), or `0` by default.
|
|
@@ -1836,7 +1835,7 @@ function Yo() {
|
|
|
1836
1835
|
// the given bounds in its entirety.
|
|
1837
1836
|
getBoundsZoom: function(t, e, i) {
|
|
1838
1837
|
t = O(t), i = _(i || [0, 0]);
|
|
1839
|
-
var n = this.getZoom() || 0, o = this.getMinZoom(), s = this.getMaxZoom(), r = t.getNorthWest(), a = t.getSouthEast(), h = this.getSize().subtract(i), u =
|
|
1838
|
+
var n = this.getZoom() || 0, o = this.getMinZoom(), s = this.getMaxZoom(), r = t.getNorthWest(), a = t.getSouthEast(), h = this.getSize().subtract(i), u = H(this.project(a, n), this.project(r, n)).getSize(), c = f.any3d ? this.options.zoomSnap : 1, d = h.x / u.x, g = h.y / u.y, R = e ? Math.max(d, g) : Math.min(d, g);
|
|
1840
1839
|
return n = this.getScaleZoom(R, n), c && (n = Math.round(n / (c / 100)) * (c / 100), n = e ? Math.ceil(n / c) * c : Math.floor(n / c) * c), Math.max(o, Math.min(s, n));
|
|
1841
1840
|
},
|
|
1842
1841
|
// @method getSize(): Point
|
|
@@ -2164,7 +2163,7 @@ function Yo() {
|
|
|
2164
2163
|
},
|
|
2165
2164
|
_latLngBoundsToNewLayerBounds: function(t, e, i) {
|
|
2166
2165
|
var n = this._getNewPixelOrigin(i, e);
|
|
2167
|
-
return
|
|
2166
|
+
return H([
|
|
2168
2167
|
this.project(t.getSouthWest(), e)._subtract(n),
|
|
2169
2168
|
this.project(t.getNorthWest(), e)._subtract(n),
|
|
2170
2169
|
this.project(t.getSouthEast(), e)._subtract(n),
|
|
@@ -2195,7 +2194,7 @@ function Yo() {
|
|
|
2195
2194
|
},
|
|
2196
2195
|
// returns offset needed for pxBounds to get inside maxBounds at a specified zoom
|
|
2197
2196
|
_getBoundsOffset: function(t, e, i) {
|
|
2198
|
-
var n =
|
|
2197
|
+
var n = H(
|
|
2199
2198
|
this.project(e.getNorthEast(), i),
|
|
2200
2199
|
this.project(e.getSouthWest(), i)
|
|
2201
2200
|
), o = n.min.subtract(t.min), s = n.max.subtract(t.max), r = this._rebound(o.x, -s.x), a = this._rebound(o.y, -s.y);
|
|
@@ -2259,7 +2258,7 @@ function Yo() {
|
|
|
2259
2258
|
this._animatingZoom && (this._mapPane && Z(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));
|
|
2260
2259
|
}
|
|
2261
2260
|
});
|
|
2262
|
-
function
|
|
2261
|
+
function Qn(t, e) {
|
|
2263
2262
|
return new w(t, e);
|
|
2264
2263
|
}
|
|
2265
2264
|
var Y = nt.extend({
|
|
@@ -2505,9 +2504,9 @@ function Yo() {
|
|
|
2505
2504
|
M(t, "click", N), e._preventClick = !1;
|
|
2506
2505
|
});
|
|
2507
2506
|
}
|
|
2508
|
-
}),
|
|
2507
|
+
}), to = function(t, e, i) {
|
|
2509
2508
|
return new Ai(t, e, i);
|
|
2510
|
-
},
|
|
2509
|
+
}, He = Y.extend({
|
|
2511
2510
|
// @section
|
|
2512
2511
|
// @aka Control.Zoom options
|
|
2513
2512
|
options: {
|
|
@@ -2568,10 +2567,10 @@ function Yo() {
|
|
|
2568
2567
|
w.mergeOptions({
|
|
2569
2568
|
zoomControl: !0
|
|
2570
2569
|
}), w.addInitHook(function() {
|
|
2571
|
-
this.options.zoomControl && (this.zoomControl = new
|
|
2570
|
+
this.options.zoomControl && (this.zoomControl = new He(), this.addControl(this.zoomControl));
|
|
2572
2571
|
});
|
|
2573
|
-
var
|
|
2574
|
-
return new
|
|
2572
|
+
var eo = function(t) {
|
|
2573
|
+
return new He(t);
|
|
2575
2574
|
}, Bi = Y.extend({
|
|
2576
2575
|
// @section
|
|
2577
2576
|
// @aka Control.Scale options
|
|
@@ -2624,16 +2623,16 @@ function Yo() {
|
|
|
2624
2623
|
var e = Math.pow(10, (Math.floor(t) + "").length - 1), i = t / e;
|
|
2625
2624
|
return i = i >= 10 ? 10 : i >= 5 ? 5 : i >= 3 ? 3 : i >= 2 ? 2 : 1, e * i;
|
|
2626
2625
|
}
|
|
2627
|
-
}),
|
|
2626
|
+
}), io = function(t) {
|
|
2628
2627
|
return new Bi(t);
|
|
2629
|
-
},
|
|
2628
|
+
}, no = '<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>', Fe = Y.extend({
|
|
2630
2629
|
// @section
|
|
2631
2630
|
// @aka Control.Attribution options
|
|
2632
2631
|
options: {
|
|
2633
2632
|
position: "bottomright",
|
|
2634
2633
|
// @option prefix: String|false = 'Leaflet'
|
|
2635
2634
|
// The HTML text shown before the attributions. Pass `false` to disable.
|
|
2636
|
-
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (f.inlineSvg ?
|
|
2635
|
+
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (f.inlineSvg ? no + " " : "") + "Leaflet</a>"
|
|
2637
2636
|
},
|
|
2638
2637
|
initialize: function(t) {
|
|
2639
2638
|
C(this, t), this._attributions = {};
|
|
@@ -2680,12 +2679,12 @@ function Yo() {
|
|
|
2680
2679
|
w.mergeOptions({
|
|
2681
2680
|
attributionControl: !0
|
|
2682
2681
|
}), w.addInitHook(function() {
|
|
2683
|
-
this.options.attributionControl && new
|
|
2682
|
+
this.options.attributionControl && new Fe().addTo(this);
|
|
2684
2683
|
});
|
|
2685
|
-
var
|
|
2686
|
-
return new
|
|
2684
|
+
var oo = function(t) {
|
|
2685
|
+
return new Fe(t);
|
|
2687
2686
|
};
|
|
2688
|
-
Y.Layers = Ai, Y.Zoom =
|
|
2687
|
+
Y.Layers = Ai, Y.Zoom = He, Y.Scale = Bi, Y.Attribution = Fe, Rt.layers = to, Rt.zoom = eo, Rt.scale = io, Rt.attribution = oo;
|
|
2689
2688
|
var tt = nt.extend({
|
|
2690
2689
|
initialize: function(t) {
|
|
2691
2690
|
this._map = t;
|
|
@@ -2715,7 +2714,7 @@ function Yo() {
|
|
|
2715
2714
|
tt.addTo = function(t, e) {
|
|
2716
2715
|
return t.addHandler(e, this), this;
|
|
2717
2716
|
};
|
|
2718
|
-
var
|
|
2717
|
+
var so = { Events: U }, Ni = f.touch ? "touchstart mousedown" : "mousedown", ct = zt.extend({
|
|
2719
2718
|
options: {
|
|
2720
2719
|
// @section
|
|
2721
2720
|
// @aka Draggable options
|
|
@@ -2816,25 +2815,25 @@ function Yo() {
|
|
|
2816
2815
|
}
|
|
2817
2816
|
return y([e / n, i / n]);
|
|
2818
2817
|
}
|
|
2819
|
-
var
|
|
2818
|
+
var ro = {
|
|
2820
2819
|
__proto__: null,
|
|
2821
2820
|
clipPolygon: Ri,
|
|
2822
2821
|
polygonCenter: Di,
|
|
2823
2822
|
centroid: We
|
|
2824
2823
|
};
|
|
2825
|
-
function
|
|
2824
|
+
function Hi(t, e) {
|
|
2826
2825
|
if (!e || !t.length)
|
|
2827
2826
|
return t.slice();
|
|
2828
2827
|
var i = e * e;
|
|
2829
|
-
return t =
|
|
2828
|
+
return t = uo(t, i), t = ho(t, i), t;
|
|
2830
2829
|
}
|
|
2831
|
-
function
|
|
2830
|
+
function Fi(t, e, i) {
|
|
2832
2831
|
return Math.sqrt(Dt(t, e, i, !0));
|
|
2833
2832
|
}
|
|
2834
|
-
function
|
|
2833
|
+
function ao(t, e, i) {
|
|
2835
2834
|
return Dt(t, e, i);
|
|
2836
2835
|
}
|
|
2837
|
-
function
|
|
2836
|
+
function ho(t, e) {
|
|
2838
2837
|
var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, o = new n(i);
|
|
2839
2838
|
o[0] = o[i - 1] = 1, Ue(t, o, e, 0, i - 1);
|
|
2840
2839
|
var s, r = [];
|
|
@@ -2848,9 +2847,9 @@ function Yo() {
|
|
|
2848
2847
|
h = Dt(t[a], t[n], t[o], !0), h > s && (r = a, s = h);
|
|
2849
2848
|
s > i && (e[r] = 1, Ue(t, e, i, n, r), Ue(t, e, i, r, o));
|
|
2850
2849
|
}
|
|
2851
|
-
function
|
|
2850
|
+
function uo(t, e) {
|
|
2852
2851
|
for (var i = [t[0]], n = 1, o = 0, s = t.length; n < s; n++)
|
|
2853
|
-
|
|
2852
|
+
lo(t[n], t[o]) > e && (i.push(t[n]), o = n);
|
|
2854
2853
|
return o < s - 1 && i.push(t[s - 1]), i;
|
|
2855
2854
|
}
|
|
2856
2855
|
var Wi;
|
|
@@ -2872,7 +2871,7 @@ function Yo() {
|
|
|
2872
2871
|
var i = 0;
|
|
2873
2872
|
return t.x < e.min.x ? i |= 1 : t.x > e.max.x && (i |= 2), t.y < e.min.y ? i |= 4 : t.y > e.max.y && (i |= 8), i;
|
|
2874
2873
|
}
|
|
2875
|
-
function
|
|
2874
|
+
function lo(t, e) {
|
|
2876
2875
|
var i = e.x - t.x, n = e.y - t.y;
|
|
2877
2876
|
return i * i + n * n;
|
|
2878
2877
|
}
|
|
@@ -2914,11 +2913,11 @@ function Yo() {
|
|
|
2914
2913
|
var W = e.unproject(_(u));
|
|
2915
2914
|
return y([W.lat + c.lat, W.lng + c.lng]);
|
|
2916
2915
|
}
|
|
2917
|
-
var
|
|
2916
|
+
var co = {
|
|
2918
2917
|
__proto__: null,
|
|
2919
|
-
simplify:
|
|
2920
|
-
pointToSegmentDistance:
|
|
2921
|
-
closestPointOnSegment:
|
|
2918
|
+
simplify: Hi,
|
|
2919
|
+
pointToSegmentDistance: Fi,
|
|
2920
|
+
closestPointOnSegment: ao,
|
|
2922
2921
|
clipSegment: Ui,
|
|
2923
2922
|
_getEdgeIntersection: ee,
|
|
2924
2923
|
_getBitCode: gt,
|
|
@@ -2947,12 +2946,12 @@ function Yo() {
|
|
|
2947
2946
|
u = o * Math.sin(r), u = Math.pow((1 - u) / (1 + u), o / 2), h = Math.PI / 2 - 2 * Math.atan(s * u) - r, r += h;
|
|
2948
2947
|
return new b(r * e, t.x * e / i);
|
|
2949
2948
|
}
|
|
2950
|
-
},
|
|
2949
|
+
}, fo = {
|
|
2951
2950
|
__proto__: null,
|
|
2952
2951
|
LonLat: Ge,
|
|
2953
2952
|
Mercator: Ve,
|
|
2954
2953
|
SphericalMercator: ve
|
|
2955
|
-
},
|
|
2954
|
+
}, _o = x({}, lt, {
|
|
2956
2955
|
code: "EPSG:3395",
|
|
2957
2956
|
projection: Ve,
|
|
2958
2957
|
transformation: (function() {
|
|
@@ -2963,7 +2962,7 @@ function Yo() {
|
|
|
2963
2962
|
code: "EPSG:4326",
|
|
2964
2963
|
projection: Ge,
|
|
2965
2964
|
transformation: kt(1 / 180, 1, -1 / 180, 0.5)
|
|
2966
|
-
}),
|
|
2965
|
+
}), mo = x({}, ot, {
|
|
2967
2966
|
projection: Ge,
|
|
2968
2967
|
transformation: kt(1, 0, -1, 0),
|
|
2969
2968
|
scale: function(t) {
|
|
@@ -2978,7 +2977,7 @@ function Yo() {
|
|
|
2978
2977
|
},
|
|
2979
2978
|
infinite: !0
|
|
2980
2979
|
});
|
|
2981
|
-
ot.Earth = lt, ot.EPSG3395 =
|
|
2980
|
+
ot.Earth = lt, ot.EPSG3395 = _o, ot.EPSG3857 = ye, ot.EPSG900913 = wn, ot.EPSG4326 = qi, ot.Simple = mo;
|
|
2982
2981
|
var X = zt.extend({
|
|
2983
2982
|
// Classes extending `L.Layer` will inherit the following options:
|
|
2984
2983
|
options: {
|
|
@@ -3182,7 +3181,7 @@ function Yo() {
|
|
|
3182
3181
|
getLayerId: function(t) {
|
|
3183
3182
|
return P(t);
|
|
3184
3183
|
}
|
|
3185
|
-
}),
|
|
3184
|
+
}), po = function(t, e) {
|
|
3186
3185
|
return new Pt(t, e);
|
|
3187
3186
|
}, st = Pt.extend({
|
|
3188
3187
|
addLayer: function(t) {
|
|
@@ -3209,14 +3208,14 @@ function Yo() {
|
|
|
3209
3208
|
// @method getBounds(): LatLngBounds
|
|
3210
3209
|
// Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).
|
|
3211
3210
|
getBounds: function() {
|
|
3212
|
-
var t = new
|
|
3211
|
+
var t = new F();
|
|
3213
3212
|
for (var e in this._layers) {
|
|
3214
3213
|
var i = this._layers[e];
|
|
3215
3214
|
t.extend(i.getBounds ? i.getBounds() : i.getLatLng());
|
|
3216
3215
|
}
|
|
3217
3216
|
return t;
|
|
3218
3217
|
}
|
|
3219
|
-
}),
|
|
3218
|
+
}), vo = function(t, e) {
|
|
3220
3219
|
return new st(t, e);
|
|
3221
3220
|
}, Lt = nt.extend({
|
|
3222
3221
|
/* @section
|
|
@@ -3304,10 +3303,10 @@ function Yo() {
|
|
|
3304
3303
|
return f.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
|
|
3305
3304
|
}
|
|
3306
3305
|
});
|
|
3307
|
-
function
|
|
3306
|
+
function go(t) {
|
|
3308
3307
|
return new Lt(t);
|
|
3309
3308
|
}
|
|
3310
|
-
var
|
|
3309
|
+
var Ht = Lt.extend({
|
|
3311
3310
|
options: {
|
|
3312
3311
|
iconUrl: "marker-icon.png",
|
|
3313
3312
|
iconRetinaUrl: "marker-icon-2x.png",
|
|
@@ -3319,7 +3318,7 @@ function Yo() {
|
|
|
3319
3318
|
shadowSize: [41, 41]
|
|
3320
3319
|
},
|
|
3321
3320
|
_getIconUrl: function(t) {
|
|
3322
|
-
return typeof
|
|
3321
|
+
return typeof Ht.imagePath != "string" && (Ht.imagePath = this._detectIconPath()), (this.options.imagePath || Ht.imagePath) + Lt.prototype._getIconUrl.call(this, t);
|
|
3323
3322
|
},
|
|
3324
3323
|
_stripUrl: function(t) {
|
|
3325
3324
|
var e = function(i, n, o) {
|
|
@@ -3360,7 +3359,7 @@ function Yo() {
|
|
|
3360
3359
|
return this._draggable && this._draggable._moved;
|
|
3361
3360
|
},
|
|
3362
3361
|
_adjustPan: function(t) {
|
|
3363
|
-
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s = mt(e._icon), r = i.getPixelBounds(), a = i.getPixelOrigin(), h =
|
|
3362
|
+
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s = mt(e._icon), r = i.getPixelBounds(), a = i.getPixelOrigin(), h = H(
|
|
3364
3363
|
r.min._subtract(a).add(o),
|
|
3365
3364
|
r.max._subtract(a).subtract(o)
|
|
3366
3365
|
);
|
|
@@ -3393,7 +3392,7 @@ function Yo() {
|
|
|
3393
3392
|
// Icon instance to use for rendering the marker.
|
|
3394
3393
|
// See [Icon documentation](#L.Icon) for details on how to customize the marker icon.
|
|
3395
3394
|
// If not specified, a common instance of `L.Icon.Default` is used.
|
|
3396
|
-
icon: new
|
|
3395
|
+
icon: new Ht(),
|
|
3397
3396
|
// Option inherited from "Interactive layer" abstract class
|
|
3398
3397
|
interactive: !0,
|
|
3399
3398
|
// @option keyboard: Boolean = true
|
|
@@ -3570,7 +3569,7 @@ function Yo() {
|
|
|
3570
3569
|
return this.options.icon.options.tooltipAnchor;
|
|
3571
3570
|
}
|
|
3572
3571
|
});
|
|
3573
|
-
function
|
|
3572
|
+
function yo(t, e) {
|
|
3574
3573
|
return new ie(t, e);
|
|
3575
3574
|
}
|
|
3576
3575
|
var ft = X.extend({
|
|
@@ -3717,7 +3716,7 @@ function Yo() {
|
|
|
3717
3716
|
return t.distanceTo(this._point) <= this._radius + this._clickTolerance();
|
|
3718
3717
|
}
|
|
3719
3718
|
});
|
|
3720
|
-
function
|
|
3719
|
+
function wo(t, e) {
|
|
3721
3720
|
return new ne(t, e);
|
|
3722
3721
|
}
|
|
3723
3722
|
var qe = ne.extend({
|
|
@@ -3740,7 +3739,7 @@ function Yo() {
|
|
|
3740
3739
|
// Returns the `LatLngBounds` of the path.
|
|
3741
3740
|
getBounds: function() {
|
|
3742
3741
|
var t = [this._radius, this._radiusY || this._radius];
|
|
3743
|
-
return new
|
|
3742
|
+
return new F(
|
|
3744
3743
|
this._map.layerPointToLatLng(this._point.subtract(t)),
|
|
3745
3744
|
this._map.layerPointToLatLng(this._point.add(t))
|
|
3746
3745
|
);
|
|
@@ -3758,7 +3757,7 @@ function Yo() {
|
|
|
3758
3757
|
this._updateBounds();
|
|
3759
3758
|
}
|
|
3760
3759
|
});
|
|
3761
|
-
function
|
|
3760
|
+
function xo(t, e, i) {
|
|
3762
3761
|
return new qe(t, e, i);
|
|
3763
3762
|
}
|
|
3764
3763
|
var rt = ft.extend({
|
|
@@ -3822,7 +3821,7 @@ function Yo() {
|
|
|
3822
3821
|
return e = e || this._defaultShape(), t = y(t), e.push(t), this._bounds.extend(t), this.redraw();
|
|
3823
3822
|
},
|
|
3824
3823
|
_setLatLngs: function(t) {
|
|
3825
|
-
this._bounds = new
|
|
3824
|
+
this._bounds = new F(), this._latlngs = this._convertLatLngs(t);
|
|
3826
3825
|
},
|
|
3827
3826
|
_defaultShape: function() {
|
|
3828
3827
|
return q(this._latlngs) ? this._latlngs : this._latlngs[0];
|
|
@@ -3872,7 +3871,7 @@ function Yo() {
|
|
|
3872
3871
|
// simplify each clipped part of the polyline for performance
|
|
3873
3872
|
_simplifyPoints: function() {
|
|
3874
3873
|
for (var t = this._parts, e = this.options.smoothFactor, i = 0, n = t.length; i < n; i++)
|
|
3875
|
-
t[i] =
|
|
3874
|
+
t[i] = Hi(t[i], e);
|
|
3876
3875
|
},
|
|
3877
3876
|
_update: function() {
|
|
3878
3877
|
this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());
|
|
@@ -3887,12 +3886,12 @@ function Yo() {
|
|
|
3887
3886
|
return !1;
|
|
3888
3887
|
for (i = 0, s = this._parts.length; i < s; i++)
|
|
3889
3888
|
for (a = this._parts[i], n = 0, r = a.length, o = r - 1; n < r; o = n++)
|
|
3890
|
-
if (!(!e && n === 0) &&
|
|
3889
|
+
if (!(!e && n === 0) && Fi(t, a[o], a[n]) <= h)
|
|
3891
3890
|
return !0;
|
|
3892
3891
|
return !1;
|
|
3893
3892
|
}
|
|
3894
3893
|
});
|
|
3895
|
-
function
|
|
3894
|
+
function Po(t, e) {
|
|
3896
3895
|
return new rt(t, e);
|
|
3897
3896
|
}
|
|
3898
3897
|
rt._flat = Gi;
|
|
@@ -3945,7 +3944,7 @@ function Yo() {
|
|
|
3945
3944
|
return e || rt.prototype._containsPoint.call(this, t, !0);
|
|
3946
3945
|
}
|
|
3947
3946
|
});
|
|
3948
|
-
function
|
|
3947
|
+
function Lo(t, e) {
|
|
3949
3948
|
return new Tt(t, e);
|
|
3950
3949
|
}
|
|
3951
3950
|
var at = st.extend({
|
|
@@ -4163,7 +4162,7 @@ function Yo() {
|
|
|
4163
4162
|
function Yi(t, e) {
|
|
4164
4163
|
return new at(t, e);
|
|
4165
4164
|
}
|
|
4166
|
-
var
|
|
4165
|
+
var To = Yi, he = X.extend({
|
|
4167
4166
|
// @section
|
|
4168
4167
|
// @aka ImageOverlay options
|
|
4169
4168
|
options: {
|
|
@@ -4286,7 +4285,7 @@ function Yo() {
|
|
|
4286
4285
|
getCenter: function() {
|
|
4287
4286
|
return this._bounds.getCenter();
|
|
4288
4287
|
}
|
|
4289
|
-
}),
|
|
4288
|
+
}), bo = function(t, e, i) {
|
|
4290
4289
|
return new he(t, e, i);
|
|
4291
4290
|
}, Xi = he.extend({
|
|
4292
4291
|
// @section
|
|
@@ -4328,7 +4327,7 @@ function Yo() {
|
|
|
4328
4327
|
// Returns the instance of [`HTMLVideoElement`](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
|
|
4329
4328
|
// used by this overlay.
|
|
4330
4329
|
});
|
|
4331
|
-
function
|
|
4330
|
+
function Mo(t, e, i) {
|
|
4332
4331
|
return new Xi(t, e, i);
|
|
4333
4332
|
}
|
|
4334
4333
|
var Ji = he.extend({
|
|
@@ -4340,7 +4339,7 @@ function Yo() {
|
|
|
4340
4339
|
// Returns the instance of [`SVGElement`](https://developer.mozilla.org/docs/Web/API/SVGElement)
|
|
4341
4340
|
// used by this overlay.
|
|
4342
4341
|
});
|
|
4343
|
-
function
|
|
4342
|
+
function So(t, e, i) {
|
|
4344
4343
|
return new Ji(t, e, i);
|
|
4345
4344
|
}
|
|
4346
4345
|
var et = X.extend({
|
|
@@ -4626,7 +4625,7 @@ function Yo() {
|
|
|
4626
4625
|
_getAnchor: function() {
|
|
4627
4626
|
return _(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
|
|
4628
4627
|
}
|
|
4629
|
-
}),
|
|
4628
|
+
}), Co = function(t, e) {
|
|
4630
4629
|
return new ue(t, e);
|
|
4631
4630
|
};
|
|
4632
4631
|
w.mergeOptions({
|
|
@@ -4778,7 +4777,7 @@ function Yo() {
|
|
|
4778
4777
|
_getAnchor: function() {
|
|
4779
4778
|
return _(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
|
|
4780
4779
|
}
|
|
4781
|
-
}),
|
|
4780
|
+
}), zo = function(t, e) {
|
|
4782
4781
|
return new le(t, e);
|
|
4783
4782
|
};
|
|
4784
4783
|
w.include({
|
|
@@ -4879,7 +4878,7 @@ function Yo() {
|
|
|
4879
4878
|
this._tooltip.options.sticky && t.originalEvent && (i = this._map.mouseEventToContainerPoint(t.originalEvent), n = this._map.containerPointToLayerPoint(i), e = this._map.layerPointToLatLng(n)), this._tooltip.setLatLng(e);
|
|
4880
4879
|
}
|
|
4881
4880
|
});
|
|
4882
|
-
var
|
|
4881
|
+
var $i = Lt.extend({
|
|
4883
4882
|
options: {
|
|
4884
4883
|
// @section
|
|
4885
4884
|
// @aka DivIcon options
|
|
@@ -4908,11 +4907,11 @@ function Yo() {
|
|
|
4908
4907
|
return null;
|
|
4909
4908
|
}
|
|
4910
4909
|
});
|
|
4911
|
-
function
|
|
4912
|
-
return new
|
|
4910
|
+
function ko(t) {
|
|
4911
|
+
return new $i(t);
|
|
4913
4912
|
}
|
|
4914
|
-
Lt.Default =
|
|
4915
|
-
var
|
|
4913
|
+
Lt.Default = Ht;
|
|
4914
|
+
var Ft = X.extend({
|
|
4916
4915
|
// @section
|
|
4917
4916
|
// @aka GridLayer options
|
|
4918
4917
|
options: {
|
|
@@ -5032,7 +5031,7 @@ function Yo() {
|
|
|
5032
5031
|
zoom: this._resetView,
|
|
5033
5032
|
moveend: this._onMoveEnd
|
|
5034
5033
|
};
|
|
5035
|
-
return this.options.updateWhenIdle || (this._onMove || (this._onMove =
|
|
5034
|
+
return this.options.updateWhenIdle || (this._onMove || (this._onMove = $e(this._onMoveEnd, this.options.updateInterval, this)), t.move = this._onMove), this._zoomAnimated && (t.zoomanim = this._animateZoom), t;
|
|
5036
5035
|
},
|
|
5037
5036
|
// @section Extension methods
|
|
5038
5037
|
// Layers extending `GridLayer` shall reimplement the following method.
|
|
@@ -5241,7 +5240,7 @@ function Yo() {
|
|
|
5241
5240
|
},
|
|
5242
5241
|
// converts tile coordinates to its geographical bounds
|
|
5243
5242
|
_tileCoordsToBounds: function(t) {
|
|
5244
|
-
var e = this._tileCoordsToNwSe(t), i = new
|
|
5243
|
+
var e = this._tileCoordsToNwSe(t), i = new F(e[0], e[1]);
|
|
5245
5244
|
return this.options.noWrap || (i = this._map.wrapLatLngBounds(i)), i;
|
|
5246
5245
|
},
|
|
5247
5246
|
// converts tile coordinates to key for the tile cache
|
|
@@ -5312,10 +5311,10 @@ function Yo() {
|
|
|
5312
5311
|
return !0;
|
|
5313
5312
|
}
|
|
5314
5313
|
});
|
|
5315
|
-
function
|
|
5316
|
-
return new
|
|
5314
|
+
function Eo(t) {
|
|
5315
|
+
return new Ft(t);
|
|
5317
5316
|
}
|
|
5318
|
-
var Mt =
|
|
5317
|
+
var Mt = Ft.extend({
|
|
5319
5318
|
// @section
|
|
5320
5319
|
// @aka TileLayer options
|
|
5321
5320
|
options: {
|
|
@@ -5428,14 +5427,14 @@ function Yo() {
|
|
|
5428
5427
|
_removeTile: function(t) {
|
|
5429
5428
|
var e = this._tiles[t];
|
|
5430
5429
|
if (e)
|
|
5431
|
-
return e.el.setAttribute("src", jt),
|
|
5430
|
+
return e.el.setAttribute("src", jt), Ft.prototype._removeTile.call(this, t);
|
|
5432
5431
|
},
|
|
5433
5432
|
_tileReady: function(t, e, i) {
|
|
5434
5433
|
if (!(!this._map || i && i.getAttribute("src") === jt))
|
|
5435
|
-
return
|
|
5434
|
+
return Ft.prototype._tileReady.call(this, t, e, i);
|
|
5436
5435
|
}
|
|
5437
5436
|
});
|
|
5438
|
-
function
|
|
5437
|
+
function Qi(t, e) {
|
|
5439
5438
|
return new Mt(t, e);
|
|
5440
5439
|
}
|
|
5441
5440
|
var tn = Mt.extend({
|
|
@@ -5487,8 +5486,8 @@ function Yo() {
|
|
|
5487
5486
|
this.wmsParams[e] = this._crs.code, Mt.prototype.onAdd.call(this, t);
|
|
5488
5487
|
},
|
|
5489
5488
|
getTileUrl: function(t) {
|
|
5490
|
-
var e = this._tileCoordsToNwSe(t), i = this._crs, n =
|
|
5491
|
-
return a +
|
|
5489
|
+
var e = this._tileCoordsToNwSe(t), i = this._crs, n = H(i.project(e[0]), i.project(e[1])), o = n.min, s = n.max, r = (this._wmsVersion >= 1.3 && this._crs === qi ? [o.y, o.x, s.y, s.x] : [o.x, o.y, s.x, s.y]).join(","), a = Mt.prototype.getTileUrl.call(this, t);
|
|
5490
|
+
return a + Qe(this.wmsParams, a, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + r;
|
|
5492
5491
|
},
|
|
5493
5492
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
|
5494
5493
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
|
@@ -5496,10 +5495,10 @@ function Yo() {
|
|
|
5496
5495
|
return x(this.wmsParams, t), e || this.redraw(), this;
|
|
5497
5496
|
}
|
|
5498
5497
|
});
|
|
5499
|
-
function
|
|
5498
|
+
function Zo(t, e) {
|
|
5500
5499
|
return new tn(t, e);
|
|
5501
5500
|
}
|
|
5502
|
-
Mt.WMS = tn,
|
|
5501
|
+
Mt.WMS = tn, Qi.wms = Zo;
|
|
5503
5502
|
var ht = X.extend({
|
|
5504
5503
|
// @section
|
|
5505
5504
|
// @aka Renderer options
|
|
@@ -5751,7 +5750,7 @@ function Yo() {
|
|
|
5751
5750
|
return function(t) {
|
|
5752
5751
|
return document.createElement("<" + t + ' xmlns="urn:schemas-microsoft.com:vml" class="lvml">');
|
|
5753
5752
|
};
|
|
5754
|
-
})(),
|
|
5753
|
+
})(), Oo = {
|
|
5755
5754
|
_initContainer: function() {
|
|
5756
5755
|
this._container = T("div", "leaflet-vml-container");
|
|
5757
5756
|
},
|
|
@@ -5837,7 +5836,7 @@ function Yo() {
|
|
|
5837
5836
|
xt(t._path);
|
|
5838
5837
|
}
|
|
5839
5838
|
});
|
|
5840
|
-
f.vml && Ut.include(
|
|
5839
|
+
f.vml && Ut.include(Oo);
|
|
5841
5840
|
function on(t) {
|
|
5842
5841
|
return f.svg || f.vml ? new Ut(t) : null;
|
|
5843
5842
|
}
|
|
@@ -5878,7 +5877,7 @@ function Yo() {
|
|
|
5878
5877
|
];
|
|
5879
5878
|
}
|
|
5880
5879
|
});
|
|
5881
|
-
function
|
|
5880
|
+
function Io(t, e) {
|
|
5882
5881
|
return new sn(t, e);
|
|
5883
5882
|
}
|
|
5884
5883
|
Ut.create = ce, Ut.pointsToPath = ai, at.geometryToLayer = oe, at.coordsToLatLng = je, at.coordsToLatLngs = se, at.latLngToCoords = Ke, at.latLngsToCoords = re, at.getFeature = bt, at.asFeature = ae, w.mergeOptions({
|
|
@@ -5935,7 +5934,7 @@ function Yo() {
|
|
|
5935
5934
|
_onMouseUp: function(t) {
|
|
5936
5935
|
if (!(t.which !== 1 && t.button !== 1) && (this._finish(), !!this._moved)) {
|
|
5937
5936
|
this._clearDeferredResetState(), this._resetStateTimeout = setTimeout(S(this._resetState, this), 0);
|
|
5938
|
-
var e = new
|
|
5937
|
+
var e = new F(
|
|
5939
5938
|
this._map.containerPointToLatLng(this._startPoint),
|
|
5940
5939
|
this._map.containerPointToLatLng(this._point)
|
|
5941
5940
|
);
|
|
@@ -6026,7 +6025,7 @@ function Yo() {
|
|
|
6026
6025
|
var t = this._map;
|
|
6027
6026
|
if (t._stop(), this._map.options.maxBounds && this._map.options.maxBoundsViscosity) {
|
|
6028
6027
|
var e = O(this._map.options.maxBounds);
|
|
6029
|
-
this._offsetLimit =
|
|
6028
|
+
this._offsetLimit = H(
|
|
6030
6029
|
this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),
|
|
6031
6030
|
this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())
|
|
6032
6031
|
), this._viscosity = Math.min(1, Math.max(0, this._map.options.maxBoundsViscosity));
|
|
@@ -6215,7 +6214,7 @@ function Yo() {
|
|
|
6215
6214
|
}
|
|
6216
6215
|
});
|
|
6217
6216
|
w.addInitHook("addHandler", "scrollWheelZoom", ln);
|
|
6218
|
-
var
|
|
6217
|
+
var Ao = 600;
|
|
6219
6218
|
w.mergeOptions({
|
|
6220
6219
|
// @section Touch interaction options
|
|
6221
6220
|
// @option tapHold: Boolean
|
|
@@ -6238,7 +6237,7 @@ function Yo() {
|
|
|
6238
6237
|
var e = t.touches[0];
|
|
6239
6238
|
this._startPos = this._newPos = new m(e.clientX, e.clientY), this._holdTimeout = setTimeout(S(function() {
|
|
6240
6239
|
this._cancel(), this._isTapValid() && (p(document, "touchend", N), p(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));
|
|
6241
|
-
}, this),
|
|
6240
|
+
}, this), Ao), p(document, "touchend touchcancel contextmenu", this._cancel, this), p(document, "touchmove", this._onMove, this);
|
|
6242
6241
|
}
|
|
6243
6242
|
},
|
|
6244
6243
|
_cancelClickPrevent: function t() {
|
|
@@ -6322,19 +6321,18 @@ function Yo() {
|
|
|
6322
6321
|
this._zooming = !1, G(this._animRequest), M(document, "touchmove", this._onTouchMove, this), M(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));
|
|
6323
6322
|
}
|
|
6324
6323
|
});
|
|
6325
|
-
w.addInitHook("addHandler", "touchZoom", fn), w.BoxZoom = rn, w.DoubleClickZoom = an, w.Drag = hn, w.Keyboard = un, w.ScrollWheelZoom = ln, w.TapHold = cn, w.TouchZoom = fn, l.Bounds = z, l.Browser = f, l.CRS = ot, l.Canvas = en, l.Circle = qe, l.CircleMarker = ne, l.Class = nt, l.Control = Y, l.DivIcon =
|
|
6326
|
-
var
|
|
6324
|
+
w.addInitHook("addHandler", "touchZoom", fn), w.BoxZoom = rn, w.DoubleClickZoom = an, w.Drag = hn, w.Keyboard = un, w.ScrollWheelZoom = ln, w.TapHold = cn, w.TouchZoom = fn, l.Bounds = z, l.Browser = f, l.CRS = ot, l.Canvas = en, l.Circle = qe, l.CircleMarker = ne, l.Class = nt, l.Control = Y, l.DivIcon = $i, l.DivOverlay = et, l.DomEvent = $n, l.DomUtil = Xn, l.Draggable = ct, l.Evented = zt, l.FeatureGroup = st, l.GeoJSON = at, l.GridLayer = Ft, l.Handler = tt, l.Icon = Lt, l.ImageOverlay = he, l.LatLng = b, l.LatLngBounds = F, l.Layer = X, l.LayerGroup = Pt, l.LineUtil = co, l.Map = w, l.Marker = ie, l.Mixin = so, l.Path = ft, l.Point = m, l.PolyUtil = ro, l.Polygon = Tt, l.Polyline = rt, l.Popup = ue, l.PosAnimation = Ii, l.Projection = fo, l.Rectangle = sn, l.Renderer = ht, l.SVG = Ut, l.SVGOverlay = Ji, l.TileLayer = Mt, l.Tooltip = le, l.Transformation = ge, l.Util = gn, l.VideoOverlay = Xi, l.bind = S, l.bounds = H, l.canvas = nn, l.circle = xo, l.circleMarker = wo, l.control = Rt, l.divIcon = ko, l.extend = x, l.featureGroup = vo, l.geoJSON = Yi, l.geoJson = To, l.gridLayer = Eo, l.icon = go, l.imageOverlay = bo, l.latLng = y, l.latLngBounds = O, l.layerGroup = po, l.map = Qn, l.marker = yo, l.point = _, l.polygon = Lo, l.polyline = Po, l.popup = Co, l.rectangle = Io, l.setOptions = C, l.stamp = P, l.svg = on, l.svgOverlay = So, l.tileLayer = Qi, l.tooltip = zo, l.transformation = kt, l.version = it, l.videoOverlay = Mo;
|
|
6325
|
+
var Bo = window.L;
|
|
6327
6326
|
l.noConflict = function() {
|
|
6328
|
-
return window.L =
|
|
6327
|
+
return window.L = Bo, this;
|
|
6329
6328
|
}, window.L = l;
|
|
6330
6329
|
}));
|
|
6331
6330
|
})(Gt, Gt.exports)), Gt.exports;
|
|
6332
6331
|
}
|
|
6333
|
-
var
|
|
6334
|
-
const
|
|
6335
|
-
__proto__: null
|
|
6336
|
-
|
|
6337
|
-
}, [vn]);
|
|
6332
|
+
var Ko = jo();
|
|
6333
|
+
const Yo = /* @__PURE__ */ Vo({
|
|
6334
|
+
__proto__: null
|
|
6335
|
+
}, [Ko]);
|
|
6338
6336
|
export {
|
|
6339
|
-
|
|
6337
|
+
Yo as l
|
|
6340
6338
|
};
|