adminizer 5.2.0-build.30 → 5.2.0-build.31
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/assets/{abnfDiagram-VCTEODGH-BhZn7BLv.js → abnfDiagram-VCTEODGH-BtJg_wq8.js} +1 -1
- package/assets/{add-DDfJt70P.js → add-CcMmw50d.js} +1 -1
- package/assets/{add-group-Cs3S9VVn.js → add-group-BI7Il1o9.js} +1 -1
- package/assets/{add-user-DxI_sJLw.js → add-user-CbTznIir.js} +1 -1
- package/assets/ai-assistant/agent.es.js +19398 -15273
- package/assets/app-Cg7dXJfk.js +138 -0
- package/assets/{arc-BRY7wCfa.js → arc-BH-jID2f.js} +1 -1
- package/assets/{architectureDiagram-5GKGNRK7-DfBT7jAW.js → architectureDiagram-5GKGNRK7-BmFO29Ca.js} +1 -1
- package/assets/{blockDiagram-I7D4REHJ-CW2mcR7Z.js → blockDiagram-I7D4REHJ-kmdi7zCh.js} +6 -6
- package/assets/{c4Diagram-7LVT6UL2-BGsyO-4Y.js → c4Diagram-7LVT6UL2-BqfDgZbz.js} +1 -1
- package/assets/{catalog-cyCZOCXs.js → catalog-BefPw8hG.js} +1 -1
- package/assets/channel-X5bzKz26.js +1 -0
- package/assets/{chunk-2Q5K7J3B-4EnjsYhG.js → chunk-2Q5K7J3B-5iRxjfuJ.js} +1 -1
- package/assets/{chunk-5VM5RSS4-BVzmz0IS.js → chunk-5VM5RSS4-BhQiByv7.js} +1 -1
- package/assets/{chunk-F27PBJKO-Bkf9Z4lt.js → chunk-F27PBJKO-IjJk4n9A.js} +1 -1
- package/assets/{chunk-IMKFNOWR-Dg6Y3xGC.js → chunk-IMKFNOWR-ymA9WbHJ.js} +1 -1
- package/assets/{chunk-JWPE2WC7-BdVNpqE2.js → chunk-JWPE2WC7-Dyix1HHX.js} +1 -1
- package/assets/{chunk-POPQ4Y6H-0R-etdBM.js → chunk-POPQ4Y6H-IQ0zsMJS.js} +1 -1
- package/assets/{chunk-SVP7TREG-CdABJwLU.js → chunk-SVP7TREG-CXCxziXD.js} +1 -1
- package/assets/{chunk-TICWLB2K-Da-oSw37.js → chunk-TICWLB2K-BcvDM7WB.js} +1 -1
- package/assets/{chunk-XXDRQBXY-Ba8BsH2Z.js → chunk-XXDRQBXY-c2W5S_dd.js} +1 -1
- package/assets/classDiagram-ZZMXUADV-EpRQ1LwP.js +1 -0
- package/assets/classDiagram-v2-VYDZK3BY-EpRQ1LwP.js +1 -0
- package/assets/controls/ckeditor.es.js +12237 -12061
- package/assets/controls/handsontable.es.js +12692 -12652
- package/assets/controls/jsoneditor.es.js +12652 -12557
- package/assets/controls/leaflet.es.js +377 -374
- package/assets/controls/toast-ui.es.js +16101 -15857
- package/assets/{cose-bilkent-JH36ORCC-BYrWDdVx.js → cose-bilkent-JH36ORCC-B5pmdKpq.js} +1 -1
- package/assets/{cynefin-OW5HDTMX-CwHzXvDB.js → cynefin-OW5HDTMX-HzbUuFkc.js} +1 -1
- package/assets/{cynefinDiagram-5FMLGOSQ-V6tH6arn.js → cynefinDiagram-5FMLGOSQ-DUOm6HTV.js} +1 -1
- package/assets/cytoscape.esm-BDkkwuE4.js +321 -0
- package/assets/{dagre-GXQ25YYZ-CaBvafdG.js → dagre-GXQ25YYZ-Cq_xhTkE.js} +1 -1
- package/assets/{dashboard-C27hB1GI.js → dashboard-D_XSE-mA.js} +1 -1
- package/assets/{diagram-S7CK7UJ4-85jkE9hd.js → diagram-S7CK7UJ4-BB0h2Ycq.js} +1 -1
- package/assets/{diagram-UQ7AKVKN-DHJRq1TM.js → diagram-UQ7AKVKN-UmvM898J.js} +1 -1
- package/assets/{diagram-VSXAHHWV-C74VLfSc.js → diagram-VSXAHHWV-C3pfgVZR.js} +1 -1
- package/assets/{diagram-VX7I27RA-CVJcG5hn.js → diagram-VX7I27RA-S-iQHosH.js} +1 -1
- package/assets/{diagram-Z3DM3KII-B8ybg5RA.js → diagram-Z3DM3KII-wkmwXnCL.js} +1 -1
- package/assets/{docs-CK6W0Jko.js → docs-DmiXIQku.js} +1 -1
- package/assets/{ebnfDiagram-PWID7BFC-D_gz_iz6.js → ebnfDiagram-PWID7BFC-TXvp9u_g.js} +1 -1
- package/assets/{erDiagram-RLTQ6QDP-D3W95aGH.js → erDiagram-RLTQ6QDP-D3kVz7Nb.js} +1 -1
- package/assets/{flowDiagram-HODETNUW-D2PTWIEg.js → flowDiagram-HODETNUW-7gxPRGUj.js} +1 -1
- package/assets/{ganttDiagram-EL5Y4UJY-TFBUh0C6.js → ganttDiagram-EL5Y4UJY-CPN-jcnj.js} +1 -1
- package/assets/{gitGraphDiagram-WWUBYQGX-BfFJzeqx.js → gitGraphDiagram-WWUBYQGX-Br1ZEaO6.js} +1 -1
- package/assets/{history-DX6CEQqv.js → history-Bu1mzK4I.js} +1 -1
- package/assets/{infoDiagram-27XIBGKW-esGmrWiw.js → infoDiagram-27XIBGKW-zYs7bQjE.js} +1 -1
- package/assets/{init-user-D1G_dbcZ.js → init-user-fQwp0v90.js} +1 -1
- package/assets/{ishikawaDiagram-5VMMS53U--aGHPnva.js → ishikawaDiagram-5VMMS53U-BjXTvzge.js} +1 -1
- package/assets/{journeyDiagram-3NMN7TZE-03BXeE8O.js → journeyDiagram-3NMN7TZE-CBfsgbN2.js} +1 -1
- package/assets/{kanban-definition-UXKFOSKX-JdDv2WHg.js → kanban-definition-UXKFOSKX-CrzhTXng.js} +1 -1
- package/assets/{layout-Bz6WKClu.js → layout-BUEOcJh3.js} +1 -1
- package/assets/{linear-Chzx_9mb.js → linear-Djausokh.js} +1 -1
- package/assets/{list-BuSdZ2Ic.js → list-ACmum9cV.js} +2 -2
- package/assets/{login-DFWfnrmE.js → login-BQuIs2j8.js} +1 -1
- package/assets/manifest.json +280 -280
- package/assets/{media-manager-CT4LZgo_.js → media-manager-CU4vMw1V.js} +1 -1
- package/assets/mermaid.core-Dojzw60O.js +310 -0
- package/assets/{mindmap-definition-YA3MSWOX-BJSEYobY.js → mindmap-definition-YA3MSWOX-s62CDc7B.js} +1 -1
- package/assets/{module-Cgn-q5gZ.js → module-Cb67xTGv.js} +1 -1
- package/assets/{notification-BrfoqVVT.js → notification-BTTSwP6c.js} +1 -1
- package/assets/{pegDiagram-XKGWAZYB-ccVsKwl1.js → pegDiagram-XKGWAZYB-C61Y70Sx.js} +1 -1
- package/assets/{pieDiagram-E7YTZNPT-B1XZVgNq.js → pieDiagram-E7YTZNPT-p2kr4IMf.js} +1 -1
- package/assets/{quadrantDiagram-AXDQQJYC-CdABEYmF.js → quadrantDiagram-AXDQQJYC-Bt0TmDnC.js} +1 -1
- package/assets/{railroadDiagram-O6MQD6OU-OX83MXuO.js → railroadDiagram-O6MQD6OU-3OLC0D_j.js} +1 -1
- package/assets/{register-Cxf3Pow-.js → register-BIVlQHtg.js} +1 -1
- package/assets/{requirementDiagram-BXWQKSXE-CD7swf9u.js → requirementDiagram-BXWQKSXE-DX_wfhH_.js} +1 -1
- package/assets/{ru-DxiFV21N.js → ru-CQbDDiCI.js} +1 -1
- package/assets/{sankeyDiagram-P5KCCOFB-Cgwq2DVJ.js → sankeyDiagram-P5KCCOFB-C5owbfFt.js} +1 -1
- package/assets/{sequenceDiagram-WJ2MYXX4-BgjP07Zh.js → sequenceDiagram-WJ2MYXX4-C9LP6Bzy.js} +1 -1
- package/assets/{sizeCapture-INFHLROL-B-jQ1aKT.js → sizeCapture-INFHLROL-B7ZoWp62.js} +1 -1
- package/assets/{stateDiagram-D77RDMKH-Drot14NK.js → stateDiagram-D77RDMKH-uWI0NoaS.js} +1 -1
- package/assets/stateDiagram-v2-MP3YSRHH-B_Bjdct-.js +1 -0
- package/assets/{swimlanes-42K2YHIH-lCqHhK1l.js → swimlanes-42K2YHIH-B665ttwU.js} +1 -1
- package/assets/swimlanesDiagram-VR7AAH4N-BDCBtik2.js +8 -0
- package/assets/{timeline-definition-24CTP7MA-B-QLcvwc.js → timeline-definition-24CTP7MA-BI5S9uY1.js} +1 -1
- package/assets/{use-appearance-B0ck1CR_.js → use-appearance-CETqIse6.js} +1 -1
- package/assets/{user-filters-list-ce2cmS5Z.js → user-filters-list-CyxWxLux.js} +1 -1
- package/assets/{vennDiagram-4TSXK5OY-2DN2uspP.js → vennDiagram-4TSXK5OY-Ba9orEWx.js} +1 -1
- package/assets/{wardleyDiagram-VM6X3IG4-C_GODc0p.js → wardleyDiagram-VM6X3IG4-DTWvvomz.js} +1 -1
- package/assets/{welcome-DaAj6jOI.js → welcome-CaSypMCF.js} +1 -1
- package/assets/{with-app-layout-CwAECGwY.js → with-app-layout-BNrVlaFw.js} +23 -23
- package/assets/{xychartDiagram-S5SC5T6Z-Cq8htGoW.js → xychartDiagram-S5SC5T6Z-d9Kf7FbS.js} +1 -1
- package/helpers/publicUserHelper.d.ts +10 -0
- package/helpers/publicUserHelper.js +15 -0
- package/package.json +1 -1
- package/system/bindInertia.js +2 -1
- package/assets/app-DOMFUTFw.js +0 -138
- package/assets/channel-Bd-bsjgh.js +0 -1
- package/assets/classDiagram-ZZMXUADV-BftNBmvr.js +0 -1
- package/assets/classDiagram-v2-VYDZK3BY-BftNBmvr.js +0 -1
- package/assets/cytoscape.esm-BB4DxJjf.js +0 -321
- package/assets/mermaid.core-Dp-0i8FJ.js +0 -310
- package/assets/stateDiagram-v2-MP3YSRHH-C5VLF0H1.js +0 -1
- package/assets/swimlanesDiagram-VR7AAH4N-4yyX1ZbA.js +0 -8
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { j as O } from "./chunks/jsx-runtime-jIxVPx5o.js";
|
|
2
|
-
import { g as
|
|
3
|
-
const
|
|
2
|
+
import { g as Ss } from "./chunks/_commonjsHelpers-C6fGbg64.js";
|
|
3
|
+
const zs = window.React.useEffect, Ms = window.React.useRef;
|
|
4
4
|
function To(r, l) {
|
|
5
|
-
const a =
|
|
6
|
-
|
|
5
|
+
const a = Ms(l);
|
|
6
|
+
zs(function() {
|
|
7
7
|
l !== a.current && r.attributionControl != null && (a.current != null && r.attributionControl.removeAttribution(a.current), l != null && r.attributionControl.addAttribution(l)), a.current = l;
|
|
8
8
|
}, [
|
|
9
9
|
r,
|
|
10
10
|
l
|
|
11
11
|
]);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
14
|
-
function
|
|
13
|
+
const Es = window.React.createContext, Os = window.React.use, As = 1;
|
|
14
|
+
function Is(r) {
|
|
15
15
|
return Object.freeze({
|
|
16
|
-
__version:
|
|
16
|
+
__version: As,
|
|
17
17
|
map: r
|
|
18
18
|
});
|
|
19
19
|
}
|
|
@@ -23,29 +23,29 @@ function oi(r, l) {
|
|
|
23
23
|
...l
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const Gi = Es(null);
|
|
27
27
|
function ri() {
|
|
28
|
-
const r =
|
|
28
|
+
const r = Os(Gi);
|
|
29
29
|
if (r == null)
|
|
30
30
|
throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");
|
|
31
31
|
return r;
|
|
32
32
|
}
|
|
33
|
-
const
|
|
33
|
+
const Rs = window.React, Vi = window.React.forwardRef, Zs = window.React.useEffect, Ui = window.React.useImperativeHandle, Bs = window.React.useState, Ns = window.ReactDOM.createPortal;
|
|
34
34
|
function Co(r) {
|
|
35
35
|
function l(a, h) {
|
|
36
36
|
const { instance: u, context: p } = r(a).current;
|
|
37
|
-
|
|
37
|
+
Ui(h, () => u);
|
|
38
38
|
const { children: m } = a;
|
|
39
|
-
return m == null ? null : /* @__PURE__ */
|
|
39
|
+
return m == null ? null : /* @__PURE__ */ Rs.createElement(Gi, {
|
|
40
40
|
value: p
|
|
41
41
|
}, m);
|
|
42
42
|
}
|
|
43
|
-
return /* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */ Vi(l);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Ds(r) {
|
|
46
46
|
function l(a, h) {
|
|
47
|
-
const [u, p] =
|
|
48
|
-
|
|
47
|
+
const [u, p] = Bs(!1), { instance: m } = r(a, p).current;
|
|
48
|
+
Ui(h, () => m), Zs(function() {
|
|
49
49
|
u && m.update();
|
|
50
50
|
}, [
|
|
51
51
|
m,
|
|
@@ -53,21 +53,21 @@ function Ns(r) {
|
|
|
53
53
|
a.children
|
|
54
54
|
]);
|
|
55
55
|
const b = m._contentNode;
|
|
56
|
-
return b ? /* @__PURE__ */
|
|
56
|
+
return b ? /* @__PURE__ */ Ns(a.children, b) : null;
|
|
57
57
|
}
|
|
58
|
-
return /* @__PURE__ */
|
|
58
|
+
return /* @__PURE__ */ Vi(l);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Fs(r) {
|
|
61
61
|
function l(a, h) {
|
|
62
62
|
const { instance: u } = r(a).current;
|
|
63
|
-
return
|
|
63
|
+
return Ui(h, () => u), null;
|
|
64
64
|
}
|
|
65
|
-
return /* @__PURE__ */
|
|
65
|
+
return /* @__PURE__ */ Vi(l);
|
|
66
66
|
}
|
|
67
|
-
const
|
|
68
|
-
function
|
|
69
|
-
const a =
|
|
70
|
-
|
|
67
|
+
const Ws = window.React.useEffect, Hs = window.React.useRef;
|
|
68
|
+
function $i(r, l) {
|
|
69
|
+
const a = Hs(void 0);
|
|
70
|
+
Ws(function() {
|
|
71
71
|
return l != null && r.instance.on(l), a.current = l, function() {
|
|
72
72
|
a.current != null && r.instance.off(a.current), a.current = null;
|
|
73
73
|
};
|
|
@@ -83,19 +83,19 @@ function si(r, l) {
|
|
|
83
83
|
pane: a
|
|
84
84
|
} : r;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function js(r, l) {
|
|
87
87
|
return function(h, u) {
|
|
88
88
|
const p = ri(), m = r(si(h, p), p);
|
|
89
|
-
return To(p.map, h.attribution),
|
|
89
|
+
return To(p.map, h.attribution), $i(m.current, h.eventHandlers), l(m.current, p, h, u), m;
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
var Ee = { exports: {} };
|
|
93
|
-
var
|
|
94
|
-
function
|
|
93
|
+
var Gs = Ee.exports, ho;
|
|
94
|
+
function Vs() {
|
|
95
95
|
return ho || (ho = 1, (function(r, l) {
|
|
96
96
|
(function(a, h) {
|
|
97
97
|
h(l);
|
|
98
|
-
})(
|
|
98
|
+
})(Gs, (function(a) {
|
|
99
99
|
var h = "1.9.4";
|
|
100
100
|
function u(t) {
|
|
101
101
|
var e, i, n, o;
|
|
@@ -991,7 +991,7 @@ function Gs() {
|
|
|
991
991
|
}
|
|
992
992
|
return i || "M0 0";
|
|
993
993
|
}
|
|
994
|
-
var li = document.documentElement.style, Ie = "ActiveXObject" in window,
|
|
994
|
+
var li = document.documentElement.style, Ie = "ActiveXObject" in window, rr = Ie && !document.addEventListener, en = "msLaunchUri" in navigator && !("documentMode" in document), hi = Mt("webkit"), nn = Mt("android"), on = Mt("android 2") || Mt("android 3"), sr = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ar = nn && Mt("Google") && sr < 537 && !("AudioNode" in window), ci = !!window.opera, rn = !en && Mt("chrome"), sn = Mt("gecko") && !hi && !ci && !Ie, lr = !rn && Mt("safari"), an = Mt("phantom"), ln = "OTransition" in li, hr = navigator.platform.indexOf("Win") === 0, hn = Ie && "transition" in li, ui = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !on, cn = "MozPerspective" in li, cr = !window.L_DISABLE_3D && (hn || ui || cn) && !ln && !an, _e = typeof orientation < "u" || Mt("mobile"), ur = _e && hi, dr = _e && ui, un = !window.PointerEvent && window.MSPointerEvent, dn = !!(window.PointerEvent || un), fn = "ontouchstart" in window || !!window.TouchEvent, fr = !window.L_NO_TOUCH && (fn || dn), mr = _e && ci, pr = _e && sn, _r = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, gr = (function() {
|
|
995
995
|
var t = !1;
|
|
996
996
|
try {
|
|
997
997
|
var e = Object.defineProperty({}, "passive", {
|
|
@@ -1003,12 +1003,12 @@ function Gs() {
|
|
|
1003
1003
|
} catch {
|
|
1004
1004
|
}
|
|
1005
1005
|
return t;
|
|
1006
|
-
})(),
|
|
1006
|
+
})(), vr = (function() {
|
|
1007
1007
|
return !!document.createElement("canvas").getContext;
|
|
1008
|
-
})(), di = !!(document.createElementNS && Qi("svg").createSVGRect),
|
|
1008
|
+
})(), di = !!(document.createElementNS && Qi("svg").createSVGRect), yr = !!di && (function() {
|
|
1009
1009
|
var t = document.createElement("div");
|
|
1010
1010
|
return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1011
|
-
})(),
|
|
1011
|
+
})(), br = !di && (function() {
|
|
1012
1012
|
try {
|
|
1013
1013
|
var t = document.createElement("div");
|
|
1014
1014
|
t.innerHTML = '<v:shape adj="1"/>';
|
|
@@ -1017,78 +1017,78 @@ function Gs() {
|
|
|
1017
1017
|
} catch {
|
|
1018
1018
|
return !1;
|
|
1019
1019
|
}
|
|
1020
|
-
})(),
|
|
1020
|
+
})(), wr = navigator.platform.indexOf("Mac") === 0, xr = navigator.platform.indexOf("Linux") === 0;
|
|
1021
1021
|
function Mt(t) {
|
|
1022
1022
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
|
1023
1023
|
}
|
|
1024
1024
|
var z = {
|
|
1025
1025
|
ie: Ie,
|
|
1026
|
-
ielt9:
|
|
1026
|
+
ielt9: rr,
|
|
1027
1027
|
edge: en,
|
|
1028
1028
|
webkit: hi,
|
|
1029
1029
|
android: nn,
|
|
1030
1030
|
android23: on,
|
|
1031
|
-
androidStock:
|
|
1031
|
+
androidStock: ar,
|
|
1032
1032
|
opera: ci,
|
|
1033
1033
|
chrome: rn,
|
|
1034
1034
|
gecko: sn,
|
|
1035
|
-
safari:
|
|
1035
|
+
safari: lr,
|
|
1036
1036
|
phantom: an,
|
|
1037
1037
|
opera12: ln,
|
|
1038
|
-
win:
|
|
1038
|
+
win: hr,
|
|
1039
1039
|
ie3d: hn,
|
|
1040
1040
|
webkit3d: ui,
|
|
1041
1041
|
gecko3d: cn,
|
|
1042
|
-
any3d:
|
|
1042
|
+
any3d: cr,
|
|
1043
1043
|
mobile: _e,
|
|
1044
|
-
mobileWebkit:
|
|
1045
|
-
mobileWebkit3d:
|
|
1044
|
+
mobileWebkit: ur,
|
|
1045
|
+
mobileWebkit3d: dr,
|
|
1046
1046
|
msPointer: un,
|
|
1047
1047
|
pointer: dn,
|
|
1048
|
-
touch:
|
|
1048
|
+
touch: fr,
|
|
1049
1049
|
touchNative: fn,
|
|
1050
|
-
mobileOpera:
|
|
1051
|
-
mobileGecko:
|
|
1052
|
-
retina:
|
|
1053
|
-
passiveEvents:
|
|
1054
|
-
canvas:
|
|
1050
|
+
mobileOpera: mr,
|
|
1051
|
+
mobileGecko: pr,
|
|
1052
|
+
retina: _r,
|
|
1053
|
+
passiveEvents: gr,
|
|
1054
|
+
canvas: vr,
|
|
1055
1055
|
svg: di,
|
|
1056
|
-
vml:
|
|
1057
|
-
inlineSvg:
|
|
1058
|
-
mac:
|
|
1059
|
-
linux:
|
|
1056
|
+
vml: br,
|
|
1057
|
+
inlineSvg: yr,
|
|
1058
|
+
mac: wr,
|
|
1059
|
+
linux: xr
|
|
1060
1060
|
}, mn = z.msPointer ? "MSPointerDown" : "pointerdown", pn = z.msPointer ? "MSPointerMove" : "pointermove", _n = z.msPointer ? "MSPointerUp" : "pointerup", gn = z.msPointer ? "MSPointerCancel" : "pointercancel", fi = {
|
|
1061
1061
|
touchstart: mn,
|
|
1062
1062
|
touchmove: pn,
|
|
1063
1063
|
touchend: _n,
|
|
1064
1064
|
touchcancel: gn
|
|
1065
1065
|
}, vn = {
|
|
1066
|
-
touchstart:
|
|
1066
|
+
touchstart: Sr,
|
|
1067
1067
|
touchmove: Re,
|
|
1068
1068
|
touchend: Re,
|
|
1069
1069
|
touchcancel: Re
|
|
1070
1070
|
}, se = {}, yn = !1;
|
|
1071
|
-
function xr(t, e, i) {
|
|
1072
|
-
return e === "touchstart" && Tr(), vn[e] ? (i = vn[e].bind(this, i), t.addEventListener(fi[e], i, !1), i) : (console.warn("wrong event specified:", e), T);
|
|
1073
|
-
}
|
|
1074
1071
|
function Pr(t, e, i) {
|
|
1072
|
+
return e === "touchstart" && Cr(), vn[e] ? (i = vn[e].bind(this, i), t.addEventListener(fi[e], i, !1), i) : (console.warn("wrong event specified:", e), T);
|
|
1073
|
+
}
|
|
1074
|
+
function Lr(t, e, i) {
|
|
1075
1075
|
if (!fi[e]) {
|
|
1076
1076
|
console.warn("wrong event specified:", e);
|
|
1077
1077
|
return;
|
|
1078
1078
|
}
|
|
1079
1079
|
t.removeEventListener(fi[e], i, !1);
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function kr(t) {
|
|
1082
1082
|
se[t.pointerId] = t;
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function Tr(t) {
|
|
1085
1085
|
se[t.pointerId] && (se[t.pointerId] = t);
|
|
1086
1086
|
}
|
|
1087
1087
|
function bn(t) {
|
|
1088
1088
|
delete se[t.pointerId];
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1091
|
-
yn || (document.addEventListener(mn,
|
|
1090
|
+
function Cr() {
|
|
1091
|
+
yn || (document.addEventListener(mn, kr, !0), document.addEventListener(pn, Tr, !0), document.addEventListener(_n, bn, !0), document.addEventListener(gn, bn, !0), yn = !0);
|
|
1092
1092
|
}
|
|
1093
1093
|
function Re(t, e) {
|
|
1094
1094
|
if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
|
@@ -1098,17 +1098,17 @@ function Gs() {
|
|
|
1098
1098
|
e.changedTouches = [e], t(e);
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function Sr(t, e) {
|
|
1102
1102
|
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && dt(e), Re(t, e);
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function zr(t) {
|
|
1105
1105
|
var e = {}, i, n;
|
|
1106
1106
|
for (n in t)
|
|
1107
1107
|
i = t[n], e[n] = i && i.bind ? i.bind(t) : i;
|
|
1108
1108
|
return t = e, e.type = "dblclick", e.detail = 2, e.isTrusted = !1, e._simulated = !0, e;
|
|
1109
1109
|
}
|
|
1110
|
-
var
|
|
1111
|
-
function
|
|
1110
|
+
var Mr = 200;
|
|
1111
|
+
function Er(t, e) {
|
|
1112
1112
|
t.addEventListener("dblclick", e);
|
|
1113
1113
|
var i = 0, n;
|
|
1114
1114
|
function o(s) {
|
|
@@ -1124,7 +1124,7 @@ function Gs() {
|
|
|
1124
1124
|
return f instanceof HTMLInputElement || f instanceof HTMLSelectElement;
|
|
1125
1125
|
}))) {
|
|
1126
1126
|
var d = Date.now();
|
|
1127
|
-
d - i <=
|
|
1127
|
+
d - i <= Mr ? (n++, n === 2 && e(zr(s))) : n = 1, i = d;
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
@@ -1133,7 +1133,7 @@ function Gs() {
|
|
|
1133
1133
|
simDblclick: o
|
|
1134
1134
|
};
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function Or(t, e) {
|
|
1137
1137
|
t.removeEventListener("dblclick", e.dblclick), t.removeEventListener("click", e.simDblclick);
|
|
1138
1138
|
}
|
|
1139
1139
|
var mi = Ne(
|
|
@@ -1196,10 +1196,10 @@ function Gs() {
|
|
|
1196
1196
|
function Be(t) {
|
|
1197
1197
|
return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1200
|
-
"opacity" in t.style ? t.style.opacity = e : "filter" in t.style &&
|
|
1199
|
+
function wt(t, e) {
|
|
1200
|
+
"opacity" in t.style ? t.style.opacity = e : "filter" in t.style && Ar(t, e);
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function Ar(t, e) {
|
|
1203
1203
|
var i = !1, n = "DXImageTransform.Microsoft.Alpha";
|
|
1204
1204
|
try {
|
|
1205
1205
|
i = t.filters.item(n);
|
|
@@ -1274,7 +1274,7 @@ function Gs() {
|
|
|
1274
1274
|
boundingClientRect: e
|
|
1275
1275
|
};
|
|
1276
1276
|
}
|
|
1277
|
-
var
|
|
1277
|
+
var Ir = {
|
|
1278
1278
|
__proto__: null,
|
|
1279
1279
|
TRANSFORM: mi,
|
|
1280
1280
|
TRANSITION: ge,
|
|
@@ -1291,7 +1291,7 @@ function Gs() {
|
|
|
1291
1291
|
removeClass: it,
|
|
1292
1292
|
setClass: _i,
|
|
1293
1293
|
getClass: Be,
|
|
1294
|
-
setOpacity:
|
|
1294
|
+
setOpacity: wt,
|
|
1295
1295
|
testProp: Ne,
|
|
1296
1296
|
setTransform: Kt,
|
|
1297
1297
|
setPosition: ot,
|
|
@@ -1354,7 +1354,7 @@ function Gs() {
|
|
|
1354
1354
|
var s = function(d) {
|
|
1355
1355
|
return i.call(n || t, d || window.event);
|
|
1356
1356
|
}, c = s;
|
|
1357
|
-
!z.touchNative && z.pointer && e.indexOf("touch") === 0 ? s =
|
|
1357
|
+
!z.touchNative && z.pointer && e.indexOf("touch") === 0 ? s = Pr(t, e, s) : z.touch && e === "dblclick" ? s = Er(t, s) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(Pi[e] || e, s, z.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (s = function(d) {
|
|
1358
1358
|
d = d || window.event, Ci(t, d) && c(d);
|
|
1359
1359
|
}, t.addEventListener(Pi[e], s, !1)) : t.addEventListener(e, c, !1) : t.attachEvent("on" + e, s), t[Et] = t[Et] || {}, t[Et][o] = s;
|
|
1360
1360
|
}
|
|
@@ -1363,7 +1363,7 @@ function Gs() {
|
|
|
1363
1363
|
var s = t[Et] && t[Et][o];
|
|
1364
1364
|
if (!s)
|
|
1365
1365
|
return this;
|
|
1366
|
-
!z.touchNative && z.pointer && e.indexOf("touch") === 0 ?
|
|
1366
|
+
!z.touchNative && z.pointer && e.indexOf("touch") === 0 ? Lr(t, e, s) : z.touch && e === "dblclick" ? Or(t, s) : "removeEventListener" in t ? t.removeEventListener(Pi[e] || e, s, !1) : t.detachEvent("on" + e, s), t[Et][o] = null;
|
|
1367
1367
|
}
|
|
1368
1368
|
function Xt(t) {
|
|
1369
1369
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
|
@@ -1398,11 +1398,11 @@ function Gs() {
|
|
|
1398
1398
|
(t.clientY - n.top) / i.y - e.clientTop
|
|
1399
1399
|
);
|
|
1400
1400
|
}
|
|
1401
|
-
var
|
|
1401
|
+
var Rr = z.linux && z.chrome ? window.devicePixelRatio : z.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
|
1402
1402
|
function Cn(t) {
|
|
1403
1403
|
return z.edge ? t.wheelDeltaY / 2 : (
|
|
1404
1404
|
// Don't trust window-geometry-based delta
|
|
1405
|
-
t.deltaY && t.deltaMode === 0 ? -t.deltaY /
|
|
1405
|
+
t.deltaY && t.deltaMode === 0 ? -t.deltaY / Rr : (
|
|
1406
1406
|
// Pixels
|
|
1407
1407
|
t.deltaY && t.deltaMode === 1 ? -t.deltaY * 20 : (
|
|
1408
1408
|
// Lines
|
|
@@ -1438,7 +1438,7 @@ function Gs() {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
return i !== t;
|
|
1440
1440
|
}
|
|
1441
|
-
var
|
|
1441
|
+
var Zr = {
|
|
1442
1442
|
__proto__: null,
|
|
1443
1443
|
on: B,
|
|
1444
1444
|
off: q,
|
|
@@ -1665,8 +1665,8 @@ function Gs() {
|
|
|
1665
1665
|
t = M(t), e = e === void 0 ? c : e;
|
|
1666
1666
|
var d = Math.max(s.x, s.y), f = d * this.getZoomScale(c, e), _ = o.distanceTo(n) || 1, x = 1.42, E = x * x;
|
|
1667
1667
|
function H(rt) {
|
|
1668
|
-
var Je = rt ? -1 : 1,
|
|
1669
|
-
return
|
|
1668
|
+
var Je = rt ? -1 : 1, Ls = rt ? f : d, ks = f * f - d * d + Je * E * E * _ * _, Ts = 2 * Ls * E * _, Ni = ks / Ts, lo = Math.sqrt(Ni * Ni + 1) - Ni, Cs = lo < 1e-9 ? -18 : Math.log(lo);
|
|
1669
|
+
return Cs;
|
|
1670
1670
|
}
|
|
1671
1671
|
function pt(rt) {
|
|
1672
1672
|
return (Math.exp(rt) - Math.exp(-rt)) / 2;
|
|
@@ -1674,24 +1674,24 @@ function Gs() {
|
|
|
1674
1674
|
function at(rt) {
|
|
1675
1675
|
return (Math.exp(rt) + Math.exp(-rt)) / 2;
|
|
1676
1676
|
}
|
|
1677
|
-
function
|
|
1677
|
+
function Pt(rt) {
|
|
1678
1678
|
return pt(rt) / at(rt);
|
|
1679
1679
|
}
|
|
1680
1680
|
var gt = H(0);
|
|
1681
1681
|
function me(rt) {
|
|
1682
1682
|
return d * (at(gt) / at(gt + x * rt));
|
|
1683
1683
|
}
|
|
1684
|
-
function ys(rt) {
|
|
1685
|
-
return d * (at(gt) * xt(gt + x * rt) - pt(gt)) / E;
|
|
1686
|
-
}
|
|
1687
1684
|
function bs(rt) {
|
|
1685
|
+
return d * (at(gt) * Pt(gt + x * rt) - pt(gt)) / E;
|
|
1686
|
+
}
|
|
1687
|
+
function ws(rt) {
|
|
1688
1688
|
return 1 - Math.pow(1 - rt, 1.5);
|
|
1689
1689
|
}
|
|
1690
|
-
var
|
|
1690
|
+
var xs = Date.now(), so = (H(1) - gt) / x, Ps = i.duration ? 1e3 * i.duration : 1e3 * so * 0.8;
|
|
1691
1691
|
function ao() {
|
|
1692
|
-
var rt = (Date.now() -
|
|
1692
|
+
var rt = (Date.now() - xs) / Ps, Je = ws(rt) * so;
|
|
1693
1693
|
rt <= 1 ? (this._flyToFrame = tt(ao, this), this._move(
|
|
1694
|
-
this.unproject(n.add(o.subtract(n).multiplyBy(
|
|
1694
|
+
this.unproject(n.add(o.subtract(n).multiplyBy(bs(Je) / _)), c),
|
|
1695
1695
|
this.getScaleZoom(d / me(Je), c),
|
|
1696
1696
|
{ flyTo: !0 }
|
|
1697
1697
|
)) : this._move(t, e)._moveEnd(!0);
|
|
@@ -2329,7 +2329,7 @@ function Gs() {
|
|
|
2329
2329
|
this._animatingZoom && (this._mapPane && it(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));
|
|
2330
2330
|
}
|
|
2331
2331
|
});
|
|
2332
|
-
function
|
|
2332
|
+
function Br(t, e) {
|
|
2333
2333
|
return new j(t, e);
|
|
2334
2334
|
}
|
|
2335
2335
|
var Tt = vt.extend({
|
|
@@ -2575,7 +2575,7 @@ function Gs() {
|
|
|
2575
2575
|
q(t, "click", dt), e._preventClick = !1;
|
|
2576
2576
|
});
|
|
2577
2577
|
}
|
|
2578
|
-
}),
|
|
2578
|
+
}), Nr = function(t, e, i) {
|
|
2579
2579
|
return new zn(t, e, i);
|
|
2580
2580
|
}, Si = Tt.extend({
|
|
2581
2581
|
// @section
|
|
@@ -2640,7 +2640,7 @@ function Gs() {
|
|
|
2640
2640
|
}), j.addInitHook(function() {
|
|
2641
2641
|
this.options.zoomControl && (this.zoomControl = new Si(), this.addControl(this.zoomControl));
|
|
2642
2642
|
});
|
|
2643
|
-
var
|
|
2643
|
+
var Dr = function(t) {
|
|
2644
2644
|
return new Si(t);
|
|
2645
2645
|
}, Mn = Tt.extend({
|
|
2646
2646
|
// @section
|
|
@@ -2694,16 +2694,16 @@ function Gs() {
|
|
|
2694
2694
|
var e = Math.pow(10, (Math.floor(t) + "").length - 1), i = t / e;
|
|
2695
2695
|
return i = i >= 10 ? 10 : i >= 5 ? 5 : i >= 3 ? 3 : i >= 2 ? 2 : 1, e * i;
|
|
2696
2696
|
}
|
|
2697
|
-
}),
|
|
2697
|
+
}), Fr = function(t) {
|
|
2698
2698
|
return new Mn(t);
|
|
2699
|
-
},
|
|
2699
|
+
}, Wr = '<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>', zi = Tt.extend({
|
|
2700
2700
|
// @section
|
|
2701
2701
|
// @aka Control.Attribution options
|
|
2702
2702
|
options: {
|
|
2703
2703
|
position: "bottomright",
|
|
2704
2704
|
// @option prefix: String|false = 'Leaflet'
|
|
2705
2705
|
// The HTML text shown before the attributions. Pass `false` to disable.
|
|
2706
|
-
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (z.inlineSvg ?
|
|
2706
|
+
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (z.inlineSvg ? Wr + " " : "") + "Leaflet</a>"
|
|
2707
2707
|
},
|
|
2708
2708
|
initialize: function(t) {
|
|
2709
2709
|
S(this, t), this._attributions = {};
|
|
@@ -2752,10 +2752,10 @@ function Gs() {
|
|
|
2752
2752
|
}), j.addInitHook(function() {
|
|
2753
2753
|
this.options.attributionControl && new zi().addTo(this);
|
|
2754
2754
|
});
|
|
2755
|
-
var
|
|
2755
|
+
var Hr = function(t) {
|
|
2756
2756
|
return new zi(t);
|
|
2757
2757
|
};
|
|
2758
|
-
Tt.Layers = zn, Tt.Zoom = Si, Tt.Scale = Mn, Tt.Attribution = zi, Pe.layers =
|
|
2758
|
+
Tt.Layers = zn, Tt.Zoom = Si, Tt.Scale = Mn, Tt.Attribution = zi, Pe.layers = Nr, Pe.zoom = Dr, Pe.scale = Fr, Pe.attribution = Hr;
|
|
2759
2759
|
var Ot = vt.extend({
|
|
2760
2760
|
initialize: function(t) {
|
|
2761
2761
|
this._map = t;
|
|
@@ -2785,7 +2785,7 @@ function Gs() {
|
|
|
2785
2785
|
Ot.addTo = function(t, e) {
|
|
2786
2786
|
return t.addHandler(e, this), this;
|
|
2787
2787
|
};
|
|
2788
|
-
var
|
|
2788
|
+
var jr = { Events: K }, En = z.touch ? "touchstart mousedown" : "mousedown", Ht = yt.extend({
|
|
2789
2789
|
options: {
|
|
2790
2790
|
// @section
|
|
2791
2791
|
// @aka Draggable options
|
|
@@ -2865,17 +2865,17 @@ function Gs() {
|
|
|
2865
2865
|
var i, n, o, s, c, d, f, _, x;
|
|
2866
2866
|
if (!t || t.length === 0)
|
|
2867
2867
|
throw new Error("latlngs not passed");
|
|
2868
|
-
|
|
2868
|
+
xt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
|
2869
2869
|
var E = M([0, 0]), H = J(t), pt = H.getNorthWest().distanceTo(H.getSouthWest()) * H.getNorthEast().distanceTo(H.getNorthWest());
|
|
2870
2870
|
pt < 1700 && (E = Mi(t));
|
|
2871
|
-
var at = t.length,
|
|
2871
|
+
var at = t.length, Pt = [];
|
|
2872
2872
|
for (i = 0; i < at; i++) {
|
|
2873
2873
|
var gt = M(t[i]);
|
|
2874
|
-
|
|
2874
|
+
Pt.push(e.project(M([gt.lat - E.lat, gt.lng - E.lng])));
|
|
2875
2875
|
}
|
|
2876
2876
|
for (d = f = _ = 0, i = 0, n = at - 1; i < at; n = i++)
|
|
2877
|
-
o =
|
|
2878
|
-
d === 0 ? x =
|
|
2877
|
+
o = Pt[i], s = Pt[n], c = o.y * s.x - s.y * o.x, f += (o.x + s.x) * c, _ += (o.y + s.y) * c, d += c * 3;
|
|
2878
|
+
d === 0 ? x = Pt[0] : x = [f / d, _ / d];
|
|
2879
2879
|
var me = e.unproject(y(x));
|
|
2880
2880
|
return M([me.lat + E.lat, me.lng + E.lng]);
|
|
2881
2881
|
}
|
|
@@ -2886,7 +2886,7 @@ function Gs() {
|
|
|
2886
2886
|
}
|
|
2887
2887
|
return M([e / n, i / n]);
|
|
2888
2888
|
}
|
|
2889
|
-
var
|
|
2889
|
+
var Gr = {
|
|
2890
2890
|
__proto__: null,
|
|
2891
2891
|
clipPolygon: On,
|
|
2892
2892
|
polygonCenter: An,
|
|
@@ -2896,15 +2896,15 @@ function Gs() {
|
|
|
2896
2896
|
if (!e || !t.length)
|
|
2897
2897
|
return t.slice();
|
|
2898
2898
|
var i = e * e;
|
|
2899
|
-
return t =
|
|
2899
|
+
return t = $r(t, i), t = Ur(t, i), t;
|
|
2900
2900
|
}
|
|
2901
2901
|
function Rn(t, e, i) {
|
|
2902
2902
|
return Math.sqrt(Le(t, e, i, !0));
|
|
2903
2903
|
}
|
|
2904
|
-
function
|
|
2904
|
+
function Vr(t, e, i) {
|
|
2905
2905
|
return Le(t, e, i);
|
|
2906
2906
|
}
|
|
2907
|
-
function
|
|
2907
|
+
function Ur(t, e) {
|
|
2908
2908
|
var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, o = new n(i);
|
|
2909
2909
|
o[0] = o[i - 1] = 1, Ei(t, o, e, 0, i - 1);
|
|
2910
2910
|
var s, c = [];
|
|
@@ -2918,9 +2918,9 @@ function Gs() {
|
|
|
2918
2918
|
f = Le(t[d], t[n], t[o], !0), f > s && (c = d, s = f);
|
|
2919
2919
|
s > i && (e[c] = 1, Ei(t, e, i, n, c), Ei(t, e, i, c, o));
|
|
2920
2920
|
}
|
|
2921
|
-
function
|
|
2921
|
+
function $r(t, e) {
|
|
2922
2922
|
for (var i = [t[0]], n = 1, o = 0, s = t.length; n < s; n++)
|
|
2923
|
-
|
|
2923
|
+
qr(t[n], t[o]) > e && (i.push(t[n]), o = n);
|
|
2924
2924
|
return o < s - 1 && i.push(t[s - 1]), i;
|
|
2925
2925
|
}
|
|
2926
2926
|
var Zn;
|
|
@@ -2942,7 +2942,7 @@ function Gs() {
|
|
|
2942
2942
|
var i = 0;
|
|
2943
2943
|
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;
|
|
2944
2944
|
}
|
|
2945
|
-
function
|
|
2945
|
+
function qr(t, e) {
|
|
2946
2946
|
var i = e.x - t.x, n = e.y - t.y;
|
|
2947
2947
|
return i * i + n * n;
|
|
2948
2948
|
}
|
|
@@ -2950,23 +2950,23 @@ function Gs() {
|
|
|
2950
2950
|
var o = e.x, s = e.y, c = i.x - o, d = i.y - s, f = c * c + d * d, _;
|
|
2951
2951
|
return f > 0 && (_ = ((t.x - o) * c + (t.y - s) * d) / f, _ > 1 ? (o = i.x, s = i.y) : _ > 0 && (o += c * _, s += d * _)), c = t.x - o, d = t.y - s, n ? c * c + d * d : new A(o, s);
|
|
2952
2952
|
}
|
|
2953
|
-
function
|
|
2953
|
+
function xt(t) {
|
|
2954
2954
|
return !U(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
|
|
2955
2955
|
}
|
|
2956
2956
|
function Nn(t) {
|
|
2957
|
-
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),
|
|
2957
|
+
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), xt(t);
|
|
2958
2958
|
}
|
|
2959
2959
|
function Dn(t, e) {
|
|
2960
2960
|
var i, n, o, s, c, d, f, _;
|
|
2961
2961
|
if (!t || t.length === 0)
|
|
2962
2962
|
throw new Error("latlngs not passed");
|
|
2963
|
-
|
|
2963
|
+
xt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
|
2964
2964
|
var x = M([0, 0]), E = J(t), H = E.getNorthWest().distanceTo(E.getSouthWest()) * E.getNorthEast().distanceTo(E.getNorthWest());
|
|
2965
2965
|
H < 1700 && (x = Mi(t));
|
|
2966
2966
|
var pt = t.length, at = [];
|
|
2967
2967
|
for (i = 0; i < pt; i++) {
|
|
2968
|
-
var
|
|
2969
|
-
at.push(e.project(M([
|
|
2968
|
+
var Pt = M(t[i]);
|
|
2969
|
+
at.push(e.project(M([Pt.lat - x.lat, Pt.lng - x.lng])));
|
|
2970
2970
|
}
|
|
2971
2971
|
for (i = 0, n = 0; i < pt - 1; i++)
|
|
2972
2972
|
n += at[i].distanceTo(at[i + 1]) / 2;
|
|
@@ -2984,16 +2984,16 @@ function Gs() {
|
|
|
2984
2984
|
var gt = e.unproject(y(_));
|
|
2985
2985
|
return M([gt.lat + x.lat, gt.lng + x.lng]);
|
|
2986
2986
|
}
|
|
2987
|
-
var
|
|
2987
|
+
var Kr = {
|
|
2988
2988
|
__proto__: null,
|
|
2989
2989
|
simplify: In,
|
|
2990
2990
|
pointToSegmentDistance: Rn,
|
|
2991
|
-
closestPointOnSegment:
|
|
2991
|
+
closestPointOnSegment: Vr,
|
|
2992
2992
|
clipSegment: Bn,
|
|
2993
2993
|
_getEdgeIntersection: We,
|
|
2994
2994
|
_getBitCode: Qt,
|
|
2995
2995
|
_sqClosestPointOnSegment: Le,
|
|
2996
|
-
isFlat:
|
|
2996
|
+
isFlat: xt,
|
|
2997
2997
|
_flat: Nn,
|
|
2998
2998
|
polylineCenter: Dn
|
|
2999
2999
|
}, Oi = {
|
|
@@ -3017,12 +3017,12 @@ function Gs() {
|
|
|
3017
3017
|
_ = o * Math.sin(c), _ = Math.pow((1 - _) / (1 + _), o / 2), f = Math.PI / 2 - 2 * Math.atan(s * _) - c, c += f;
|
|
3018
3018
|
return new I(c * e, t.x * e / i);
|
|
3019
3019
|
}
|
|
3020
|
-
},
|
|
3020
|
+
}, Yr = {
|
|
3021
3021
|
__proto__: null,
|
|
3022
3022
|
LonLat: Oi,
|
|
3023
3023
|
Mercator: Ai,
|
|
3024
3024
|
SphericalMercator: oe
|
|
3025
|
-
},
|
|
3025
|
+
}, Xr = u({}, kt, {
|
|
3026
3026
|
code: "EPSG:3395",
|
|
3027
3027
|
projection: Ai,
|
|
3028
3028
|
transformation: (function() {
|
|
@@ -3033,7 +3033,7 @@ function Gs() {
|
|
|
3033
3033
|
code: "EPSG:4326",
|
|
3034
3034
|
projection: Oi,
|
|
3035
3035
|
transformation: zt(1 / 180, 1, -1 / 180, 0.5)
|
|
3036
|
-
}),
|
|
3036
|
+
}), Jr = u({}, _t, {
|
|
3037
3037
|
projection: Oi,
|
|
3038
3038
|
transformation: zt(1, 0, -1, 0),
|
|
3039
3039
|
scale: function(t) {
|
|
@@ -3048,7 +3048,7 @@ function Gs() {
|
|
|
3048
3048
|
},
|
|
3049
3049
|
infinite: !0
|
|
3050
3050
|
});
|
|
3051
|
-
_t.Earth = kt, _t.EPSG3395 =
|
|
3051
|
+
_t.Earth = kt, _t.EPSG3395 = Xr, _t.EPSG3857 = qt, _t.EPSG900913 = re, _t.EPSG4326 = Fn, _t.Simple = Jr;
|
|
3052
3052
|
var Ct = yt.extend({
|
|
3053
3053
|
// Classes extending `L.Layer` will inherit the following options:
|
|
3054
3054
|
options: {
|
|
@@ -3252,7 +3252,7 @@ function Gs() {
|
|
|
3252
3252
|
getLayerId: function(t) {
|
|
3253
3253
|
return v(t);
|
|
3254
3254
|
}
|
|
3255
|
-
}),
|
|
3255
|
+
}), Qr = function(t, e) {
|
|
3256
3256
|
return new he(t, e);
|
|
3257
3257
|
}, Rt = he.extend({
|
|
3258
3258
|
addLayer: function(t) {
|
|
@@ -3286,7 +3286,7 @@ function Gs() {
|
|
|
3286
3286
|
}
|
|
3287
3287
|
return t;
|
|
3288
3288
|
}
|
|
3289
|
-
}),
|
|
3289
|
+
}), ts = function(t, e) {
|
|
3290
3290
|
return new Rt(t, e);
|
|
3291
3291
|
}, ce = vt.extend({
|
|
3292
3292
|
/* @section
|
|
@@ -3374,7 +3374,7 @@ function Gs() {
|
|
|
3374
3374
|
return z.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
|
|
3375
3375
|
}
|
|
3376
3376
|
});
|
|
3377
|
-
function
|
|
3377
|
+
function es(t) {
|
|
3378
3378
|
return new ce(t);
|
|
3379
3379
|
}
|
|
3380
3380
|
var ke = ce.extend({
|
|
@@ -3615,7 +3615,7 @@ function Gs() {
|
|
|
3615
3615
|
},
|
|
3616
3616
|
_updateOpacity: function() {
|
|
3617
3617
|
var t = this.options.opacity;
|
|
3618
|
-
this._icon &&
|
|
3618
|
+
this._icon && wt(this._icon, t), this._shadow && wt(this._shadow, t);
|
|
3619
3619
|
},
|
|
3620
3620
|
_bringToFront: function() {
|
|
3621
3621
|
this._updateZIndex(this.options.riseOffset);
|
|
@@ -3640,7 +3640,7 @@ function Gs() {
|
|
|
3640
3640
|
return this.options.icon.options.tooltipAnchor;
|
|
3641
3641
|
}
|
|
3642
3642
|
});
|
|
3643
|
-
function
|
|
3643
|
+
function is(t, e) {
|
|
3644
3644
|
return new He(t, e);
|
|
3645
3645
|
}
|
|
3646
3646
|
var jt = Ct.extend({
|
|
@@ -3787,7 +3787,7 @@ function Gs() {
|
|
|
3787
3787
|
return t.distanceTo(this._point) <= this._radius + this._clickTolerance();
|
|
3788
3788
|
}
|
|
3789
3789
|
});
|
|
3790
|
-
function
|
|
3790
|
+
function ns(t, e) {
|
|
3791
3791
|
return new je(t, e);
|
|
3792
3792
|
}
|
|
3793
3793
|
var Ii = je.extend({
|
|
@@ -3828,7 +3828,7 @@ function Gs() {
|
|
|
3828
3828
|
this._updateBounds();
|
|
3829
3829
|
}
|
|
3830
3830
|
});
|
|
3831
|
-
function
|
|
3831
|
+
function os(t, e, i) {
|
|
3832
3832
|
return new Ii(t, e, i);
|
|
3833
3833
|
}
|
|
3834
3834
|
var Zt = jt.extend({
|
|
@@ -3895,11 +3895,11 @@ function Gs() {
|
|
|
3895
3895
|
this._bounds = new ut(), this._latlngs = this._convertLatLngs(t);
|
|
3896
3896
|
},
|
|
3897
3897
|
_defaultShape: function() {
|
|
3898
|
-
return
|
|
3898
|
+
return xt(this._latlngs) ? this._latlngs : this._latlngs[0];
|
|
3899
3899
|
},
|
|
3900
3900
|
// recursively convert latlngs input into actual LatLng instances; calculate bounds along the way
|
|
3901
3901
|
_convertLatLngs: function(t) {
|
|
3902
|
-
for (var e = [], i =
|
|
3902
|
+
for (var e = [], i = xt(t), n = 0, o = t.length; n < o; n++)
|
|
3903
3903
|
i ? (e[n] = M(t[n]), this._bounds.extend(e[n])) : e[n] = this._convertLatLngs(t[n]);
|
|
3904
3904
|
return e;
|
|
3905
3905
|
},
|
|
@@ -3962,7 +3962,7 @@ function Gs() {
|
|
|
3962
3962
|
return !1;
|
|
3963
3963
|
}
|
|
3964
3964
|
});
|
|
3965
|
-
function
|
|
3965
|
+
function rs(t, e) {
|
|
3966
3966
|
return new Zt(t, e);
|
|
3967
3967
|
}
|
|
3968
3968
|
Zt._flat = Nn;
|
|
@@ -3985,10 +3985,10 @@ function Gs() {
|
|
|
3985
3985
|
return i >= 2 && e[0] instanceof I && e[0].equals(e[i - 1]) && e.pop(), e;
|
|
3986
3986
|
},
|
|
3987
3987
|
_setLatLngs: function(t) {
|
|
3988
|
-
Zt.prototype._setLatLngs.call(this, t),
|
|
3988
|
+
Zt.prototype._setLatLngs.call(this, t), xt(this._latlngs) && (this._latlngs = [this._latlngs]);
|
|
3989
3989
|
},
|
|
3990
3990
|
_defaultShape: function() {
|
|
3991
|
-
return
|
|
3991
|
+
return xt(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
|
|
3992
3992
|
},
|
|
3993
3993
|
_clipPoints: function() {
|
|
3994
3994
|
var t = this._renderer._bounds, e = this.options.weight, i = new A(e, e);
|
|
@@ -4015,7 +4015,7 @@ function Gs() {
|
|
|
4015
4015
|
return e || Zt.prototype._containsPoint.call(this, t, !0);
|
|
4016
4016
|
}
|
|
4017
4017
|
});
|
|
4018
|
-
function
|
|
4018
|
+
function ss(t, e) {
|
|
4019
4019
|
return new ue(t, e);
|
|
4020
4020
|
}
|
|
4021
4021
|
var Bt = Rt.extend({
|
|
@@ -4156,7 +4156,7 @@ function Gs() {
|
|
|
4156
4156
|
}
|
|
4157
4157
|
function Ue(t, e, i, n) {
|
|
4158
4158
|
for (var o = [], s = 0, c = t.length; s < c; s++)
|
|
4159
|
-
o.push(e ? Ue(t[s],
|
|
4159
|
+
o.push(e ? Ue(t[s], xt(t[s]) ? 0 : e - 1, i, n) : Zi(t[s], n));
|
|
4160
4160
|
return !e && i && o.length > 0 && o.push(o[0].slice()), o;
|
|
4161
4161
|
}
|
|
4162
4162
|
function de(t, e) {
|
|
@@ -4179,7 +4179,7 @@ function Gs() {
|
|
|
4179
4179
|
};
|
|
4180
4180
|
He.include(Bi), Ii.include(Bi), je.include(Bi), Zt.include({
|
|
4181
4181
|
toGeoJSON: function(t) {
|
|
4182
|
-
var e = !
|
|
4182
|
+
var e = !xt(this._latlngs), i = Ue(this._latlngs, e ? 1 : 0, !1, t);
|
|
4183
4183
|
return de(this, {
|
|
4184
4184
|
type: (e ? "Multi" : "") + "LineString",
|
|
4185
4185
|
coordinates: i
|
|
@@ -4187,7 +4187,7 @@ function Gs() {
|
|
|
4187
4187
|
}
|
|
4188
4188
|
}), ue.include({
|
|
4189
4189
|
toGeoJSON: function(t) {
|
|
4190
|
-
var e = !
|
|
4190
|
+
var e = !xt(this._latlngs), i = e && !xt(this._latlngs[0]), n = Ue(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
|
|
4191
4191
|
return e || (n = [n]), de(this, {
|
|
4192
4192
|
type: (i ? "Multi" : "") + "Polygon",
|
|
4193
4193
|
coordinates: n
|
|
@@ -4233,7 +4233,7 @@ function Gs() {
|
|
|
4233
4233
|
function jn(t, e) {
|
|
4234
4234
|
return new Bt(t, e);
|
|
4235
4235
|
}
|
|
4236
|
-
var
|
|
4236
|
+
var as = jn, qe = Ct.extend({
|
|
4237
4237
|
// @section
|
|
4238
4238
|
// @aka ImageOverlay options
|
|
4239
4239
|
options: {
|
|
@@ -4341,7 +4341,7 @@ function Gs() {
|
|
|
4341
4341
|
ot(t, e.min), t.style.width = i.x + "px", t.style.height = i.y + "px";
|
|
4342
4342
|
},
|
|
4343
4343
|
_updateOpacity: function() {
|
|
4344
|
-
|
|
4344
|
+
wt(this._image, this.options.opacity);
|
|
4345
4345
|
},
|
|
4346
4346
|
_updateZIndex: function() {
|
|
4347
4347
|
this._image && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._image.style.zIndex = this.options.zIndex);
|
|
@@ -4356,7 +4356,7 @@ function Gs() {
|
|
|
4356
4356
|
getCenter: function() {
|
|
4357
4357
|
return this._bounds.getCenter();
|
|
4358
4358
|
}
|
|
4359
|
-
}),
|
|
4359
|
+
}), ls = function(t, e, i) {
|
|
4360
4360
|
return new qe(t, e, i);
|
|
4361
4361
|
}, Gn = qe.extend({
|
|
4362
4362
|
// @section
|
|
@@ -4398,7 +4398,7 @@ function Gs() {
|
|
|
4398
4398
|
// Returns the instance of [`HTMLVideoElement`](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
|
|
4399
4399
|
// used by this overlay.
|
|
4400
4400
|
});
|
|
4401
|
-
function
|
|
4401
|
+
function hs(t, e, i) {
|
|
4402
4402
|
return new Gn(t, e, i);
|
|
4403
4403
|
}
|
|
4404
4404
|
var Vn = qe.extend({
|
|
@@ -4410,7 +4410,7 @@ function Gs() {
|
|
|
4410
4410
|
// Returns the instance of [`SVGElement`](https://developer.mozilla.org/docs/Web/API/SVGElement)
|
|
4411
4411
|
// used by this overlay.
|
|
4412
4412
|
});
|
|
4413
|
-
function
|
|
4413
|
+
function cs(t, e, i) {
|
|
4414
4414
|
return new Vn(t, e, i);
|
|
4415
4415
|
}
|
|
4416
4416
|
var At = Ct.extend({
|
|
@@ -4458,10 +4458,10 @@ function Gs() {
|
|
|
4458
4458
|
return this._map ? this.close() : (arguments.length ? this._source = t : t = this._source, this._prepareOpen(), this.openOn(t._map)), this;
|
|
4459
4459
|
},
|
|
4460
4460
|
onAdd: function(t) {
|
|
4461
|
-
this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated &&
|
|
4461
|
+
this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && wt(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && wt(this._container, 1), this.bringToFront(), this.options.interactive && (N(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
|
|
4462
4462
|
},
|
|
4463
4463
|
onRemove: function(t) {
|
|
4464
|
-
t._fadeAnimated ? (
|
|
4464
|
+
t._fadeAnimated ? (wt(this._container, 0), this._removeTimeout = setTimeout(m(Q, void 0, this._container), 200)) : Q(this._container), this.options.interactive && (it(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
|
|
4465
4465
|
},
|
|
4466
4466
|
// @namespace DivOverlay
|
|
4467
4467
|
// @method getLatLng: LatLng
|
|
@@ -4696,7 +4696,7 @@ function Gs() {
|
|
|
4696
4696
|
_getAnchor: function() {
|
|
4697
4697
|
return y(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
|
|
4698
4698
|
}
|
|
4699
|
-
}),
|
|
4699
|
+
}), us = function(t, e) {
|
|
4700
4700
|
return new Ke(t, e);
|
|
4701
4701
|
};
|
|
4702
4702
|
j.mergeOptions({
|
|
@@ -4839,7 +4839,7 @@ function Gs() {
|
|
|
4839
4839
|
this._setPosition(t);
|
|
4840
4840
|
},
|
|
4841
4841
|
setOpacity: function(t) {
|
|
4842
|
-
this.options.opacity = t, this._container &&
|
|
4842
|
+
this.options.opacity = t, this._container && wt(this._container, t);
|
|
4843
4843
|
},
|
|
4844
4844
|
_animateZoom: function(t) {
|
|
4845
4845
|
var e = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center);
|
|
@@ -4848,7 +4848,7 @@ function Gs() {
|
|
|
4848
4848
|
_getAnchor: function() {
|
|
4849
4849
|
return y(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
|
|
4850
4850
|
}
|
|
4851
|
-
}),
|
|
4851
|
+
}), ds = function(t, e) {
|
|
4852
4852
|
return new Ye(t, e);
|
|
4853
4853
|
};
|
|
4854
4854
|
j.include({
|
|
@@ -4978,7 +4978,7 @@ function Gs() {
|
|
|
4978
4978
|
return null;
|
|
4979
4979
|
}
|
|
4980
4980
|
});
|
|
4981
|
-
function
|
|
4981
|
+
function fs(t) {
|
|
4982
4982
|
return new Un(t);
|
|
4983
4983
|
}
|
|
4984
4984
|
ce.Default = ke;
|
|
@@ -5130,13 +5130,13 @@ function Gs() {
|
|
|
5130
5130
|
},
|
|
5131
5131
|
_updateOpacity: function() {
|
|
5132
5132
|
if (this._map && !z.ielt9) {
|
|
5133
|
-
|
|
5133
|
+
wt(this._container, this.options.opacity);
|
|
5134
5134
|
var t = +/* @__PURE__ */ new Date(), e = !1, i = !1;
|
|
5135
5135
|
for (var n in this._tiles) {
|
|
5136
5136
|
var o = this._tiles[n];
|
|
5137
5137
|
if (!(!o.current || !o.loaded)) {
|
|
5138
5138
|
var s = Math.min(1, (t - o.loaded) / 200);
|
|
5139
|
-
|
|
5139
|
+
wt(o.el, s), s < 1 ? e = !0 : (o.active ? i = !0 : this._onOpaqueTile(o), o.active = !0);
|
|
5140
5140
|
}
|
|
5141
5141
|
}
|
|
5142
5142
|
i && !this._noPrune && this._pruneTiles(), e && (ht(this._fadeFrame), this._fadeFrame = tt(this._updateOpacity, this));
|
|
@@ -5282,10 +5282,10 @@ function Gs() {
|
|
|
5282
5282
|
return gt.distanceTo(s) - me.distanceTo(s);
|
|
5283
5283
|
}), c.length !== 0) {
|
|
5284
5284
|
this._loading || (this._loading = !0, this.fire("loading"));
|
|
5285
|
-
var
|
|
5285
|
+
var Pt = document.createDocumentFragment();
|
|
5286
5286
|
for (H = 0; H < c.length; H++)
|
|
5287
|
-
this._addTile(c[H],
|
|
5288
|
-
this._level.el.appendChild(
|
|
5287
|
+
this._addTile(c[H], Pt);
|
|
5288
|
+
this._level.el.appendChild(Pt);
|
|
5289
5289
|
}
|
|
5290
5290
|
}
|
|
5291
5291
|
}
|
|
@@ -5333,7 +5333,7 @@ function Gs() {
|
|
|
5333
5333
|
_initTile: function(t) {
|
|
5334
5334
|
N(t, "leaflet-tile");
|
|
5335
5335
|
var e = this.getTileSize();
|
|
5336
|
-
t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = T, t.onmousemove = T, z.ielt9 && this.options.opacity < 1 &&
|
|
5336
|
+
t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = T, t.onmousemove = T, z.ielt9 && this.options.opacity < 1 && wt(t, this.options.opacity);
|
|
5337
5337
|
},
|
|
5338
5338
|
_addTile: function(t, e) {
|
|
5339
5339
|
var i = this._getTilePos(t), n = this._tileCoordsToKey(t), o = this.createTile(this._wrapCoords(t), m(this._tileReady, this, t));
|
|
@@ -5353,7 +5353,7 @@ function Gs() {
|
|
|
5353
5353
|
coords: t
|
|
5354
5354
|
});
|
|
5355
5355
|
var n = this._tileCoordsToKey(t);
|
|
5356
|
-
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (
|
|
5356
|
+
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (wt(i.el, 0), ht(this._fadeFrame), this._fadeFrame = tt(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (N(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
|
|
5357
5357
|
tile: i.el,
|
|
5358
5358
|
coords: t
|
|
5359
5359
|
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), z.ielt9 || !this._map._fadeAnimated ? tt(this._pruneTiles, this) : setTimeout(m(this._pruneTiles, this), 250)));
|
|
@@ -5382,7 +5382,7 @@ function Gs() {
|
|
|
5382
5382
|
return !0;
|
|
5383
5383
|
}
|
|
5384
5384
|
});
|
|
5385
|
-
function
|
|
5385
|
+
function ms(t) {
|
|
5386
5386
|
return new Te(t);
|
|
5387
5387
|
}
|
|
5388
5388
|
var fe = Te.extend({
|
|
@@ -5566,10 +5566,10 @@ function Gs() {
|
|
|
5566
5566
|
return u(this.wmsParams, t), e || this.redraw(), this;
|
|
5567
5567
|
}
|
|
5568
5568
|
});
|
|
5569
|
-
function
|
|
5569
|
+
function ps(t, e) {
|
|
5570
5570
|
return new qn(t, e);
|
|
5571
5571
|
}
|
|
5572
|
-
fe.WMS = qn, $n.wms =
|
|
5572
|
+
fe.WMS = qn, $n.wms = ps;
|
|
5573
5573
|
var Nt = Ct.extend({
|
|
5574
5574
|
// @section
|
|
5575
5575
|
// @aka Renderer options
|
|
@@ -5821,7 +5821,7 @@ function Gs() {
|
|
|
5821
5821
|
return function(t) {
|
|
5822
5822
|
return document.createElement("<" + t + ' xmlns="urn:schemas-microsoft.com:vml" class="lvml">');
|
|
5823
5823
|
};
|
|
5824
|
-
})(),
|
|
5824
|
+
})(), _s = {
|
|
5825
5825
|
_initContainer: function() {
|
|
5826
5826
|
this._container = V("div", "leaflet-vml-container");
|
|
5827
5827
|
},
|
|
@@ -5907,7 +5907,7 @@ function Gs() {
|
|
|
5907
5907
|
le(t._path);
|
|
5908
5908
|
}
|
|
5909
5909
|
});
|
|
5910
|
-
z.vml && Se.include(
|
|
5910
|
+
z.vml && Se.include(_s);
|
|
5911
5911
|
function Xn(t) {
|
|
5912
5912
|
return z.svg || z.vml ? new Se(t) : null;
|
|
5913
5913
|
}
|
|
@@ -5948,7 +5948,7 @@ function Gs() {
|
|
|
5948
5948
|
];
|
|
5949
5949
|
}
|
|
5950
5950
|
});
|
|
5951
|
-
function
|
|
5951
|
+
function gs(t, e) {
|
|
5952
5952
|
return new Jn(t, e);
|
|
5953
5953
|
}
|
|
5954
5954
|
Se.create = Xe, Se.pointsToPath = tn, Bt.geometryToLayer = Ge, Bt.coordsToLatLng = Ri, Bt.coordsToLatLngs = Ve, Bt.latLngToCoords = Zi, Bt.latLngsToCoords = Ue, Bt.getFeature = de, Bt.asFeature = $e, j.mergeOptions({
|
|
@@ -6285,7 +6285,7 @@ function Gs() {
|
|
|
6285
6285
|
}
|
|
6286
6286
|
});
|
|
6287
6287
|
j.addInitHook("addHandler", "scrollWheelZoom", no);
|
|
6288
|
-
var
|
|
6288
|
+
var vs = 600;
|
|
6289
6289
|
j.mergeOptions({
|
|
6290
6290
|
// @section Touch interaction options
|
|
6291
6291
|
// @option tapHold: Boolean
|
|
@@ -6308,7 +6308,7 @@ function Gs() {
|
|
|
6308
6308
|
var e = t.touches[0];
|
|
6309
6309
|
this._startPos = this._newPos = new A(e.clientX, e.clientY), this._holdTimeout = setTimeout(m(function() {
|
|
6310
6310
|
this._cancel(), this._isTapValid() && (B(document, "touchend", dt), B(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));
|
|
6311
|
-
}, this),
|
|
6311
|
+
}, this), vs), B(document, "touchend touchcancel contextmenu", this._cancel, this), B(document, "touchmove", this._onMove, this);
|
|
6312
6312
|
}
|
|
6313
6313
|
},
|
|
6314
6314
|
_cancelClickPrevent: function t() {
|
|
@@ -6392,16 +6392,16 @@ function Gs() {
|
|
|
6392
6392
|
this._zooming = !1, ht(this._animRequest), q(document, "touchmove", this._onTouchMove, this), q(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));
|
|
6393
6393
|
}
|
|
6394
6394
|
});
|
|
6395
|
-
j.addInitHook("addHandler", "touchZoom", ro), j.BoxZoom = Qn, j.DoubleClickZoom = to, j.Drag = eo, j.Keyboard = io, j.ScrollWheelZoom = no, j.TapHold = oo, j.TouchZoom = ro, a.Bounds = $, a.Browser = z, a.CRS = _t, a.Canvas = Kn, a.Circle = Ii, a.CircleMarker = je, a.Class = vt, a.Control = Tt, a.DivIcon = Un, a.DivOverlay = At, a.DomEvent =
|
|
6396
|
-
var
|
|
6395
|
+
j.addInitHook("addHandler", "touchZoom", ro), j.BoxZoom = Qn, j.DoubleClickZoom = to, j.Drag = eo, j.Keyboard = io, j.ScrollWheelZoom = no, j.TapHold = oo, j.TouchZoom = ro, a.Bounds = $, a.Browser = z, a.CRS = _t, a.Canvas = Kn, a.Circle = Ii, a.CircleMarker = je, a.Class = vt, a.Control = Tt, a.DivIcon = Un, a.DivOverlay = At, a.DomEvent = Zr, a.DomUtil = Ir, a.Draggable = Ht, a.Evented = yt, a.FeatureGroup = Rt, a.GeoJSON = Bt, a.GridLayer = Te, a.Handler = Ot, a.Icon = ce, a.ImageOverlay = qe, a.LatLng = I, a.LatLngBounds = ut, a.Layer = Ct, a.LayerGroup = he, a.LineUtil = Kr, a.Map = j, a.Marker = He, a.Mixin = jr, a.Path = jt, a.Point = A, a.PolyUtil = Gr, a.Polygon = ue, a.Polyline = Zt, a.Popup = Ke, a.PosAnimation = Sn, a.Projection = Yr, a.Rectangle = Jn, a.Renderer = Nt, a.SVG = Se, a.SVGOverlay = Vn, a.TileLayer = fe, a.Tooltip = Ye, a.Transformation = Wt, a.Util = Ae, a.VideoOverlay = Gn, a.bind = m, a.bounds = ct, a.canvas = Yn, a.circle = os, a.circleMarker = ns, a.control = Pe, a.divIcon = fs, a.extend = u, a.featureGroup = ts, a.geoJSON = jn, a.geoJson = as, a.gridLayer = ms, a.icon = es, a.imageOverlay = ls, a.latLng = M, a.latLngBounds = J, a.layerGroup = Qr, a.map = Br, a.marker = is, a.point = y, a.polygon = ss, a.polyline = rs, a.popup = us, a.rectangle = gs, a.setOptions = S, a.stamp = v, a.svg = Xn, a.svgOverlay = cs, a.tileLayer = $n, a.tooltip = ds, a.transformation = zt, a.version = h, a.videoOverlay = hs;
|
|
6396
|
+
var ys = window.L;
|
|
6397
6397
|
a.noConflict = function() {
|
|
6398
|
-
return window.L =
|
|
6398
|
+
return window.L = ys, this;
|
|
6399
6399
|
}, window.L = a;
|
|
6400
6400
|
}));
|
|
6401
6401
|
})(Ee, Ee.exports)), Ee.exports;
|
|
6402
6402
|
}
|
|
6403
|
-
var Vt =
|
|
6404
|
-
const So = /* @__PURE__ */
|
|
6403
|
+
var Vt = Vs();
|
|
6404
|
+
const So = /* @__PURE__ */ Ss(Vt), Us = window.React.useEffect, Di = window.React.useRef;
|
|
6405
6405
|
function pe(r, l, a) {
|
|
6406
6406
|
return Object.freeze({
|
|
6407
6407
|
instance: r,
|
|
@@ -6417,7 +6417,7 @@ function ai(r, l) {
|
|
|
6417
6417
|
const p = Di(void 0);
|
|
6418
6418
|
p.current || (p.current = r(h, u));
|
|
6419
6419
|
const m = Di(h), { instance: b } = p.current;
|
|
6420
|
-
return
|
|
6420
|
+
return Us(function() {
|
|
6421
6421
|
m.current !== h && (l(b, h, m.current), m.current = h);
|
|
6422
6422
|
}, [
|
|
6423
6423
|
b,
|
|
@@ -6426,9 +6426,9 @@ function ai(r, l) {
|
|
|
6426
6426
|
]), p;
|
|
6427
6427
|
};
|
|
6428
6428
|
}
|
|
6429
|
-
const
|
|
6429
|
+
const $s = window.React.useEffect;
|
|
6430
6430
|
function zo(r, l) {
|
|
6431
|
-
|
|
6431
|
+
$s(function() {
|
|
6432
6432
|
return (l.layerContainer ?? l.map).addLayer(r.instance), function() {
|
|
6433
6433
|
l.layerContainer?.removeLayer(r.instance), l.map.removeLayer(r.instance);
|
|
6434
6434
|
};
|
|
@@ -6440,13 +6440,13 @@ function zo(r, l) {
|
|
|
6440
6440
|
function Mo(r) {
|
|
6441
6441
|
return function(a) {
|
|
6442
6442
|
const h = ri(), u = r(si(a, h), h);
|
|
6443
|
-
return To(h.map, a.attribution),
|
|
6443
|
+
return To(h.map, a.attribution), $i(u.current, a.eventHandlers), zo(u.current, h), u;
|
|
6444
6444
|
};
|
|
6445
6445
|
}
|
|
6446
|
-
const
|
|
6447
|
-
function
|
|
6448
|
-
const a =
|
|
6449
|
-
|
|
6446
|
+
const qs = window.React.useEffect, Ks = window.React.useRef;
|
|
6447
|
+
function Ys(r, l) {
|
|
6448
|
+
const a = Ks(void 0);
|
|
6449
|
+
qs(function() {
|
|
6450
6450
|
if (l.pathOptions !== a.current) {
|
|
6451
6451
|
const u = l.pathOptions ?? {};
|
|
6452
6452
|
r.instance.setStyle(u), a.current = u;
|
|
@@ -6456,58 +6456,58 @@ function Ks(r, l) {
|
|
|
6456
6456
|
l
|
|
6457
6457
|
]);
|
|
6458
6458
|
}
|
|
6459
|
-
function
|
|
6459
|
+
function Xs(r) {
|
|
6460
6460
|
return function(a) {
|
|
6461
6461
|
const h = ri(), u = r(si(a, h), h);
|
|
6462
|
-
return
|
|
6462
|
+
return $i(u.current, a.eventHandlers), zo(u.current, h), Ys(u.current, a), u;
|
|
6463
6463
|
};
|
|
6464
6464
|
}
|
|
6465
|
-
function
|
|
6465
|
+
function Js(r, l) {
|
|
6466
6466
|
const a = ai(r, l), h = Mo(a);
|
|
6467
6467
|
return Co(h);
|
|
6468
6468
|
}
|
|
6469
|
-
function
|
|
6470
|
-
const a = ai(r), h =
|
|
6471
|
-
return
|
|
6469
|
+
function Qs(r, l) {
|
|
6470
|
+
const a = ai(r), h = js(a, l);
|
|
6471
|
+
return Ds(h);
|
|
6472
6472
|
}
|
|
6473
|
-
function
|
|
6474
|
-
const a = ai(r, l), h =
|
|
6473
|
+
function qi(r, l) {
|
|
6474
|
+
const a = ai(r, l), h = Xs(a);
|
|
6475
6475
|
return Co(h);
|
|
6476
6476
|
}
|
|
6477
|
-
function
|
|
6477
|
+
function ta(r, l) {
|
|
6478
6478
|
const a = ai(r, l), h = Mo(a);
|
|
6479
|
-
return
|
|
6479
|
+
return Fs(h);
|
|
6480
6480
|
}
|
|
6481
|
-
function
|
|
6481
|
+
function ea(r, l, a) {
|
|
6482
6482
|
const { opacity: h, zIndex: u } = l;
|
|
6483
6483
|
h != null && h !== a.opacity && r.setOpacity(h), u != null && u !== a.zIndex && r.setZIndex(u);
|
|
6484
6484
|
}
|
|
6485
6485
|
window.React.useEffect;
|
|
6486
|
-
function
|
|
6486
|
+
function ia() {
|
|
6487
6487
|
return ri().map;
|
|
6488
6488
|
}
|
|
6489
|
-
const co = window.React,
|
|
6490
|
-
function
|
|
6489
|
+
const co = window.React, na = window.React.forwardRef, oa = window.React.useCallback, ra = window.React.useEffect, sa = window.React.useImperativeHandle, aa = window.React.useRef, uo = window.React.useState;
|
|
6490
|
+
function la({ bounds: r, boundsOptions: l, center: a, children: h, className: u, id: p, placeholder: m, style: b, whenReady: v, zoom: g, ...R }, T) {
|
|
6491
6491
|
const [D] = uo({
|
|
6492
6492
|
className: u,
|
|
6493
6493
|
id: p,
|
|
6494
6494
|
style: b
|
|
6495
|
-
}), [Z, G] = uo(null), S =
|
|
6496
|
-
|
|
6495
|
+
}), [Z, G] = uo(null), S = aa(void 0);
|
|
6496
|
+
sa(T, () => Z?.map ?? null, [
|
|
6497
6497
|
Z
|
|
6498
6498
|
]);
|
|
6499
|
-
const Y =
|
|
6499
|
+
const Y = oa((X) => {
|
|
6500
6500
|
if (X !== null && !S.current) {
|
|
6501
6501
|
const U = new Vt.Map(X, R);
|
|
6502
|
-
S.current = U, a != null && g != null ? U.setView(a, g) : r != null && U.fitBounds(r, l), v != null && U.whenReady(v), G(
|
|
6502
|
+
S.current = U, a != null && g != null ? U.setView(a, g) : r != null && U.fitBounds(r, l), v != null && U.whenReady(v), G(Is(U));
|
|
6503
6503
|
}
|
|
6504
6504
|
}, []);
|
|
6505
|
-
|
|
6505
|
+
ra(() => () => {
|
|
6506
6506
|
Z?.map.remove();
|
|
6507
6507
|
}, [
|
|
6508
6508
|
Z
|
|
6509
6509
|
]);
|
|
6510
|
-
const ft = Z ? /* @__PURE__ */ co.createElement(
|
|
6510
|
+
const ft = Z ? /* @__PURE__ */ co.createElement(Gi, {
|
|
6511
6511
|
value: Z
|
|
6512
6512
|
}, h) : m ?? null;
|
|
6513
6513
|
return /* @__PURE__ */ co.createElement("div", {
|
|
@@ -6515,32 +6515,32 @@ function aa({ bounds: r, boundsOptions: l, center: a, children: h, className: u,
|
|
|
6515
6515
|
ref: Y
|
|
6516
6516
|
}, ft);
|
|
6517
6517
|
}
|
|
6518
|
-
const
|
|
6518
|
+
const ha = /* @__PURE__ */ na(la), ca = Js(function({ position: l, ...a }, h) {
|
|
6519
6519
|
const u = new Vt.Marker(l, a);
|
|
6520
6520
|
return pe(u, oi(h, {
|
|
6521
6521
|
overlayContainer: u
|
|
6522
6522
|
}));
|
|
6523
6523
|
}, function(l, a, h) {
|
|
6524
6524
|
a.position !== h.position && l.setLatLng(a.position), a.icon != null && a.icon !== h.icon && l.setIcon(a.icon), a.zIndexOffset != null && a.zIndexOffset !== h.zIndexOffset && l.setZIndexOffset(a.zIndexOffset), a.opacity != null && a.opacity !== h.opacity && l.setOpacity(a.opacity), l.dragging != null && a.draggable !== h.draggable && (a.draggable === !0 ? l.dragging.enable() : l.dragging.disable());
|
|
6525
|
-
}),
|
|
6525
|
+
}), ua = qi(function({ positions: l, ...a }, h) {
|
|
6526
6526
|
const u = new Vt.Polygon(l, a);
|
|
6527
6527
|
return pe(u, oi(h, {
|
|
6528
6528
|
overlayContainer: u
|
|
6529
6529
|
}));
|
|
6530
6530
|
}, function(l, a, h) {
|
|
6531
6531
|
a.positions !== h.positions && l.setLatLngs(a.positions);
|
|
6532
|
-
}), fo =
|
|
6532
|
+
}), fo = qi(function({ positions: l, ...a }, h) {
|
|
6533
6533
|
const u = new Vt.Polyline(l, a);
|
|
6534
6534
|
return pe(u, oi(h, {
|
|
6535
6535
|
overlayContainer: u
|
|
6536
6536
|
}));
|
|
6537
6537
|
}, function(l, a, h) {
|
|
6538
6538
|
a.positions !== h.positions && l.setLatLngs(a.positions);
|
|
6539
|
-
}),
|
|
6539
|
+
}), da = window.React.useEffect, Fi = Qs(function(l, a) {
|
|
6540
6540
|
const h = new Vt.Popup(l, a.overlayContainer);
|
|
6541
6541
|
return pe(h, a);
|
|
6542
6542
|
}, function(l, a, { position: h }, u) {
|
|
6543
|
-
|
|
6543
|
+
da(function() {
|
|
6544
6544
|
const { instance: m } = l;
|
|
6545
6545
|
function b(g) {
|
|
6546
6546
|
g.popup === m && (m.update(), u(!0));
|
|
@@ -6563,29 +6563,29 @@ const la = /* @__PURE__ */ ia(aa), ha = Xs(function({ position: l, ...a }, h) {
|
|
|
6563
6563
|
u,
|
|
6564
6564
|
h
|
|
6565
6565
|
]);
|
|
6566
|
-
}), mo =
|
|
6566
|
+
}), mo = qi(function({ bounds: l, ...a }, h) {
|
|
6567
6567
|
const u = new Vt.Rectangle(l, a);
|
|
6568
6568
|
return pe(u, oi(h, {
|
|
6569
6569
|
overlayContainer: u
|
|
6570
6570
|
}));
|
|
6571
6571
|
}, function(l, a, h) {
|
|
6572
6572
|
a.bounds !== h.bounds && l.setBounds(a.bounds);
|
|
6573
|
-
}),
|
|
6573
|
+
}), fa = ta(function({ url: l, ...a }, h) {
|
|
6574
6574
|
const u = new Vt.TileLayer(l, si(a, h));
|
|
6575
6575
|
return pe(u, h);
|
|
6576
6576
|
}, function(l, a, h) {
|
|
6577
|
-
|
|
6577
|
+
ea(l, a, h);
|
|
6578
6578
|
const { url: u } = a;
|
|
6579
6579
|
u != null && u !== h.url && l.setUrl(u);
|
|
6580
6580
|
});
|
|
6581
|
-
var
|
|
6582
|
-
const
|
|
6581
|
+
var ma = Object.defineProperty, Ki = (r, l) => ma(r, "name", { value: l, configurable: !0 });
|
|
6582
|
+
const pa = window.React;
|
|
6583
6583
|
function Hi(r, l) {
|
|
6584
6584
|
if (typeof r == "function")
|
|
6585
6585
|
return r(l);
|
|
6586
6586
|
r != null && (r.current = l);
|
|
6587
6587
|
}
|
|
6588
|
-
|
|
6588
|
+
Ki(Hi, "setRef");
|
|
6589
6589
|
function Eo(...r) {
|
|
6590
6590
|
return (l) => {
|
|
6591
6591
|
let a = !1;
|
|
@@ -6602,61 +6602,57 @@ function Eo(...r) {
|
|
|
6602
6602
|
};
|
|
6603
6603
|
};
|
|
6604
6604
|
}
|
|
6605
|
-
|
|
6605
|
+
Ki(Eo, "composeRefs");
|
|
6606
6606
|
function Oo(...r) {
|
|
6607
|
-
return
|
|
6607
|
+
return pa.useCallback(Eo(...r), r);
|
|
6608
6608
|
}
|
|
6609
|
-
|
|
6610
|
-
var
|
|
6611
|
-
const
|
|
6609
|
+
Ki(Oo, "useComposedRefs");
|
|
6610
|
+
var _a = Object.defineProperty, bt = (r, l) => _a(r, "name", { value: l, configurable: !0 });
|
|
6611
|
+
const Lt = window.React;
|
|
6612
6612
|
// @__NO_SIDE_EFFECTS__
|
|
6613
6613
|
function Ao(r) {
|
|
6614
|
-
const l =
|
|
6614
|
+
const l = Lt.forwardRef((a, h) => {
|
|
6615
6615
|
let { children: u, ...p } = a, m = null, b = !1;
|
|
6616
6616
|
const v = [];
|
|
6617
|
-
|
|
6617
|
+
u = Do(u), Lt.Children.forEach(u, (D) => {
|
|
6618
6618
|
if (Bo(D)) {
|
|
6619
6619
|
b = !0;
|
|
6620
6620
|
const Z = D;
|
|
6621
6621
|
let G = "child" in Z.props ? Z.props.child : Z.props.children;
|
|
6622
|
-
|
|
6622
|
+
for (; Yi(G) && typeof ii == "function"; )
|
|
6623
|
+
G = ii(G._payload);
|
|
6624
|
+
m = ya(Z, G), v.push(m?.props?.children);
|
|
6623
6625
|
} else
|
|
6624
6626
|
v.push(D);
|
|
6625
|
-
}), m ? m =
|
|
6627
|
+
}), m ? m = Lt.cloneElement(m, void 0, v) : (
|
|
6626
6628
|
// A `Slottable` was found but it didn't resolve to a single element (e.g.
|
|
6627
6629
|
// it wrapped multiple elements, text, or a render-prop `child` that
|
|
6628
6630
|
// wasn't an element). Don't fall back to treating the `Slottable` wrapper
|
|
6629
6631
|
// itself as the slot target — throw a descriptive error below instead.
|
|
6630
|
-
!b &&
|
|
6632
|
+
!b && Lt.Children.count(u) === 1 && Lt.isValidElement(u) && (m = u)
|
|
6631
6633
|
);
|
|
6632
6634
|
const g = m ? Zo(m) : void 0, R = Oo(h, g);
|
|
6633
6635
|
if (!m) {
|
|
6634
6636
|
if (u || u === 0)
|
|
6635
6637
|
throw new Error(
|
|
6636
|
-
b ?
|
|
6638
|
+
b ? xa(r) : wa(r)
|
|
6637
6639
|
);
|
|
6638
6640
|
return u;
|
|
6639
6641
|
}
|
|
6640
6642
|
const T = Ro(p, m.props ?? {});
|
|
6641
|
-
return m.type !==
|
|
6643
|
+
return m.type !== Lt.Fragment && (T.ref = h ? R : g), Lt.cloneElement(m, T);
|
|
6642
6644
|
});
|
|
6643
6645
|
return l.displayName = `${r}.Slot`, l;
|
|
6644
6646
|
}
|
|
6645
|
-
|
|
6646
|
-
var
|
|
6647
|
+
bt(Ao, "createSlot");
|
|
6648
|
+
var ga = /* @__PURE__ */ Ao("Slot"), Io = /* @__PURE__ */ Symbol.for("radix.slottable");
|
|
6647
6649
|
// @__NO_SIDE_EFFECTS__
|
|
6648
|
-
function
|
|
6649
|
-
const l = /* @__PURE__ */
|
|
6650
|
+
function va(r) {
|
|
6651
|
+
const l = /* @__PURE__ */ bt((a) => "child" in a ? a.children(a.child) : a.children, "Slottable");
|
|
6650
6652
|
return l.displayName = `${r}.Slottable`, l.__radixId = Io, l;
|
|
6651
6653
|
}
|
|
6652
|
-
|
|
6653
|
-
var
|
|
6654
|
-
if ("child" in r.props) {
|
|
6655
|
-
const a = r.props.child;
|
|
6656
|
-
return Pt.isValidElement(a) ? Pt.cloneElement(a, void 0, r.props.children(a.props.children)) : null;
|
|
6657
|
-
}
|
|
6658
|
-
return Pt.isValidElement(l) ? l : null;
|
|
6659
|
-
}, "getSlottableElementFromSlottable");
|
|
6654
|
+
bt(va, "createSlottable");
|
|
6655
|
+
var ya = /* @__PURE__ */ bt((r, l) => "child" in r.props ? Lt.isValidElement(l) ? Lt.cloneElement(l, void 0, r.props.children(l.props.children)) : null : Lt.isValidElement(l) ? l : null, "getSlottableElementFromSlottable");
|
|
6660
6656
|
function Ro(r, l) {
|
|
6661
6657
|
const a = { ...l };
|
|
6662
6658
|
for (const h in l) {
|
|
@@ -6664,30 +6660,37 @@ function Ro(r, l) {
|
|
|
6664
6660
|
/^on[A-Z]/.test(h) ? u && p ? a[h] = (...b) => {
|
|
6665
6661
|
const v = p(...b);
|
|
6666
6662
|
return u(...b), v;
|
|
6667
|
-
} : u && (a[h] = u) : h === "style" ? a[h] = { ...u, ...p } : h === "className" ? a[h] = [u, p].filter(Boolean).join(" ") : h === "aria-describedby" && (a[h] =
|
|
6663
|
+
} : u && (a[h] = u) : h === "style" ? a[h] = { ...u, ...p } : h === "className" ? a[h] = [u, p].filter(Boolean).join(" ") : h === "aria-describedby" && (a[h] = Fo(p, u));
|
|
6668
6664
|
}
|
|
6669
6665
|
return { ...r, ...a };
|
|
6670
6666
|
}
|
|
6671
|
-
|
|
6667
|
+
bt(Ro, "mergeProps");
|
|
6672
6668
|
function Zo(r) {
|
|
6673
6669
|
let l = Object.getOwnPropertyDescriptor(r.props, "ref")?.get, a = l && "isReactWarning" in l && l.isReactWarning;
|
|
6674
6670
|
return a ? r.ref : (l = Object.getOwnPropertyDescriptor(r, "ref")?.get, a = l && "isReactWarning" in l && l.isReactWarning, a ? r.props.ref : r.props.ref || r.ref);
|
|
6675
6671
|
}
|
|
6676
|
-
|
|
6672
|
+
bt(Zo, "getElementRef");
|
|
6677
6673
|
function Bo(r) {
|
|
6678
|
-
return
|
|
6674
|
+
return Lt.isValidElement(r) && typeof r.type == "function" && "__radixId" in r.type && r.type.__radixId === Io;
|
|
6679
6675
|
}
|
|
6680
|
-
|
|
6681
|
-
var
|
|
6682
|
-
function
|
|
6683
|
-
return r != null && typeof r == "object" && "$$typeof" in r && r.$$typeof ===
|
|
6676
|
+
bt(Bo, "isSlottable");
|
|
6677
|
+
var ba = /* @__PURE__ */ Symbol.for("react.lazy");
|
|
6678
|
+
function Yi(r) {
|
|
6679
|
+
return r != null && typeof r == "object" && "$$typeof" in r && r.$$typeof === ba && "_payload" in r && No(r._payload);
|
|
6684
6680
|
}
|
|
6685
|
-
|
|
6681
|
+
bt(Yi, "isLazyComponent");
|
|
6686
6682
|
function No(r) {
|
|
6687
6683
|
return typeof r == "object" && r !== null && "then" in r;
|
|
6688
6684
|
}
|
|
6689
|
-
|
|
6690
|
-
function Do(
|
|
6685
|
+
bt(No, "isPromiseLike");
|
|
6686
|
+
function Do(r) {
|
|
6687
|
+
let l = r;
|
|
6688
|
+
for (; Yi(l) && typeof ii == "function"; )
|
|
6689
|
+
l = ii(l._payload);
|
|
6690
|
+
return l;
|
|
6691
|
+
}
|
|
6692
|
+
bt(Do, "useUnwrappedLazy");
|
|
6693
|
+
function Fo(...r) {
|
|
6691
6694
|
const l = /* @__PURE__ */ new Set();
|
|
6692
6695
|
for (const a of r)
|
|
6693
6696
|
if (typeof a == "string")
|
|
@@ -6695,22 +6698,22 @@ function Do(...r) {
|
|
|
6695
6698
|
h && l.add(h);
|
|
6696
6699
|
return l.size > 0 ? Array.from(l).join(" ") : void 0;
|
|
6697
6700
|
}
|
|
6698
|
-
|
|
6699
|
-
var
|
|
6700
|
-
function
|
|
6701
|
+
bt(Fo, "concatAriaDescribedby");
|
|
6702
|
+
var wa = /* @__PURE__ */ bt((r) => `${r} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, "createSlotError"), xa = /* @__PURE__ */ bt((r) => `${r} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, "createSlottableError"), ii = Lt[" use ".trim().toString()];
|
|
6703
|
+
function Wo(r) {
|
|
6701
6704
|
var l, a, h = "";
|
|
6702
6705
|
if (typeof r == "string" || typeof r == "number") h += r;
|
|
6703
6706
|
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
6704
6707
|
var u = r.length;
|
|
6705
|
-
for (l = 0; l < u; l++) r[l] && (a =
|
|
6708
|
+
for (l = 0; l < u; l++) r[l] && (a = Wo(r[l])) && (h && (h += " "), h += a);
|
|
6706
6709
|
} else for (a in r) r[a] && (h && (h += " "), h += a);
|
|
6707
6710
|
return h;
|
|
6708
6711
|
}
|
|
6709
|
-
function
|
|
6710
|
-
for (var r, l, a = 0, h = "", u = arguments.length; a < u; a++) (r = arguments[a]) && (l =
|
|
6712
|
+
function Ho() {
|
|
6713
|
+
for (var r, l, a = 0, h = "", u = arguments.length; a < u; a++) (r = arguments[a]) && (l = Wo(r)) && (h && (h += " "), h += l);
|
|
6711
6714
|
return h;
|
|
6712
6715
|
}
|
|
6713
|
-
const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o =
|
|
6716
|
+
const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Ho, Pa = (r, l) => (a) => {
|
|
6714
6717
|
var h;
|
|
6715
6718
|
if (l?.variants == null) return _o(r, a?.class, a?.className);
|
|
6716
6719
|
const { variants: u, defaultVariants: p } = l, m = Object.keys(u).map((g) => {
|
|
@@ -6739,46 +6742,46 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
6739
6742
|
] : g;
|
|
6740
6743
|
}, []);
|
|
6741
6744
|
return _o(r, m, v, a?.class, a?.className);
|
|
6742
|
-
},
|
|
6745
|
+
}, La = (r, l) => {
|
|
6743
6746
|
const a = new Array(r.length + l.length);
|
|
6744
6747
|
for (let h = 0; h < r.length; h++)
|
|
6745
6748
|
a[h] = r[h];
|
|
6746
6749
|
for (let h = 0; h < l.length; h++)
|
|
6747
6750
|
a[r.length + h] = l[h];
|
|
6748
6751
|
return a;
|
|
6749
|
-
},
|
|
6752
|
+
}, ka = (r, l) => ({
|
|
6750
6753
|
classGroupId: r,
|
|
6751
6754
|
validator: l
|
|
6752
|
-
}),
|
|
6755
|
+
}), jo = (r = /* @__PURE__ */ new Map(), l = null, a) => ({
|
|
6753
6756
|
nextPart: r,
|
|
6754
6757
|
validators: l,
|
|
6755
6758
|
classGroupId: a
|
|
6756
|
-
}), ni = "-", go = [],
|
|
6757
|
-
const l =
|
|
6759
|
+
}), ni = "-", go = [], Ta = "arbitrary..", Ca = (r) => {
|
|
6760
|
+
const l = za(r), {
|
|
6758
6761
|
conflictingClassGroups: a,
|
|
6759
6762
|
conflictingClassGroupModifiers: h
|
|
6760
6763
|
} = r;
|
|
6761
6764
|
return {
|
|
6762
6765
|
getClassGroupId: (m) => {
|
|
6763
6766
|
if (m.startsWith("[") && m.endsWith("]"))
|
|
6764
|
-
return
|
|
6767
|
+
return Sa(m);
|
|
6765
6768
|
const b = m.split(ni), v = b[0] === "" && b.length > 1 ? 1 : 0;
|
|
6766
|
-
return
|
|
6769
|
+
return Go(b, v, l);
|
|
6767
6770
|
},
|
|
6768
6771
|
getConflictingClassGroupIds: (m, b) => {
|
|
6769
6772
|
if (b) {
|
|
6770
6773
|
const v = h[m], g = a[m];
|
|
6771
|
-
return v ? g ?
|
|
6774
|
+
return v ? g ? La(g, v) : v : g || go;
|
|
6772
6775
|
}
|
|
6773
6776
|
return a[m] || go;
|
|
6774
6777
|
}
|
|
6775
6778
|
};
|
|
6776
|
-
},
|
|
6779
|
+
}, Go = (r, l, a) => {
|
|
6777
6780
|
if (r.length - l === 0)
|
|
6778
6781
|
return a.classGroupId;
|
|
6779
6782
|
const u = r[l], p = a.nextPart.get(u);
|
|
6780
6783
|
if (p) {
|
|
6781
|
-
const g =
|
|
6784
|
+
const g = Go(r, l + 1, p);
|
|
6782
6785
|
if (g) return g;
|
|
6783
6786
|
}
|
|
6784
6787
|
const m = a.validators;
|
|
@@ -6790,17 +6793,17 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
6790
6793
|
if (R.validator(b))
|
|
6791
6794
|
return R.classGroupId;
|
|
6792
6795
|
}
|
|
6793
|
-
},
|
|
6796
|
+
}, Sa = (r) => r.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
6794
6797
|
const l = r.slice(1, -1), a = l.indexOf(":"), h = l.slice(0, a);
|
|
6795
|
-
return h ?
|
|
6796
|
-
})(),
|
|
6798
|
+
return h ? Ta + h : void 0;
|
|
6799
|
+
})(), za = (r) => {
|
|
6797
6800
|
const {
|
|
6798
6801
|
theme: l,
|
|
6799
6802
|
classGroups: a
|
|
6800
6803
|
} = r;
|
|
6801
|
-
return
|
|
6802
|
-
},
|
|
6803
|
-
const a =
|
|
6804
|
+
return Ma(a, l);
|
|
6805
|
+
}, Ma = (r, l) => {
|
|
6806
|
+
const a = jo();
|
|
6804
6807
|
for (const h in r) {
|
|
6805
6808
|
const u = r[h];
|
|
6806
6809
|
Xi(u, a, h, l);
|
|
@@ -6810,43 +6813,43 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
6810
6813
|
const u = r.length;
|
|
6811
6814
|
for (let p = 0; p < u; p++) {
|
|
6812
6815
|
const m = r[p];
|
|
6813
|
-
|
|
6816
|
+
Ea(m, l, a, h);
|
|
6814
6817
|
}
|
|
6815
|
-
},
|
|
6818
|
+
}, Ea = (r, l, a, h) => {
|
|
6816
6819
|
if (typeof r == "string") {
|
|
6817
|
-
|
|
6820
|
+
Oa(r, l, a);
|
|
6818
6821
|
return;
|
|
6819
6822
|
}
|
|
6820
6823
|
if (typeof r == "function") {
|
|
6821
|
-
|
|
6824
|
+
Aa(r, l, a, h);
|
|
6822
6825
|
return;
|
|
6823
6826
|
}
|
|
6824
|
-
|
|
6825
|
-
},
|
|
6826
|
-
const h = r === "" ? l :
|
|
6827
|
+
Ia(r, l, a, h);
|
|
6828
|
+
}, Oa = (r, l, a) => {
|
|
6829
|
+
const h = r === "" ? l : Vo(l, r);
|
|
6827
6830
|
h.classGroupId = a;
|
|
6828
|
-
},
|
|
6829
|
-
if (
|
|
6831
|
+
}, Aa = (r, l, a, h) => {
|
|
6832
|
+
if (Ra(r)) {
|
|
6830
6833
|
Xi(r(h), l, a, h);
|
|
6831
6834
|
return;
|
|
6832
6835
|
}
|
|
6833
|
-
l.validators === null && (l.validators = []), l.validators.push(
|
|
6834
|
-
},
|
|
6836
|
+
l.validators === null && (l.validators = []), l.validators.push(ka(a, r));
|
|
6837
|
+
}, Ia = (r, l, a, h) => {
|
|
6835
6838
|
const u = Object.entries(r), p = u.length;
|
|
6836
6839
|
for (let m = 0; m < p; m++) {
|
|
6837
6840
|
const [b, v] = u[m];
|
|
6838
|
-
Xi(v,
|
|
6841
|
+
Xi(v, Vo(l, b), a, h);
|
|
6839
6842
|
}
|
|
6840
|
-
},
|
|
6843
|
+
}, Vo = (r, l) => {
|
|
6841
6844
|
let a = r;
|
|
6842
6845
|
const h = l.split(ni), u = h.length;
|
|
6843
6846
|
for (let p = 0; p < u; p++) {
|
|
6844
6847
|
const m = h[p];
|
|
6845
6848
|
let b = a.nextPart.get(m);
|
|
6846
|
-
b || (b =
|
|
6849
|
+
b || (b = jo(), a.nextPart.set(m, b)), a = b;
|
|
6847
6850
|
}
|
|
6848
6851
|
return a;
|
|
6849
|
-
},
|
|
6852
|
+
}, Ra = (r) => "isThemeGetter" in r && r.isThemeGetter === !0, Za = (r) => {
|
|
6850
6853
|
if (r < 1)
|
|
6851
6854
|
return {
|
|
6852
6855
|
get: () => {
|
|
@@ -6870,13 +6873,13 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
6870
6873
|
p in a ? a[p] = m : u(p, m);
|
|
6871
6874
|
}
|
|
6872
6875
|
};
|
|
6873
|
-
},
|
|
6876
|
+
}, ji = "!", vo = ":", Ba = [], yo = (r, l, a, h, u) => ({
|
|
6874
6877
|
modifiers: r,
|
|
6875
6878
|
hasImportantModifier: l,
|
|
6876
6879
|
baseClassName: a,
|
|
6877
6880
|
maybePostfixModifierPosition: h,
|
|
6878
6881
|
isExternal: u
|
|
6879
|
-
}),
|
|
6882
|
+
}), Na = (r) => {
|
|
6880
6883
|
const {
|
|
6881
6884
|
prefix: l,
|
|
6882
6885
|
experimentalParseClassName: a
|
|
@@ -6901,19 +6904,19 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
6901
6904
|
}
|
|
6902
6905
|
const T = p.length === 0 ? u : u.slice(v);
|
|
6903
6906
|
let D = T, Z = !1;
|
|
6904
|
-
T.endsWith(
|
|
6907
|
+
T.endsWith(ji) ? (D = T.slice(0, -1), Z = !0) : (
|
|
6905
6908
|
/**
|
|
6906
6909
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
6907
6910
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
6908
6911
|
*/
|
|
6909
|
-
T.startsWith(
|
|
6912
|
+
T.startsWith(ji) && (D = T.slice(1), Z = !0)
|
|
6910
6913
|
);
|
|
6911
6914
|
const G = g && g > v ? g - v : void 0;
|
|
6912
6915
|
return yo(p, Z, D, G);
|
|
6913
6916
|
};
|
|
6914
6917
|
if (l) {
|
|
6915
6918
|
const u = l + vo, p = h;
|
|
6916
|
-
h = (m) => m.startsWith(u) ? p(m.slice(u.length)) : yo(
|
|
6919
|
+
h = (m) => m.startsWith(u) ? p(m.slice(u.length)) : yo(Ba, !1, m, void 0, !0);
|
|
6917
6920
|
}
|
|
6918
6921
|
if (a) {
|
|
6919
6922
|
const u = h;
|
|
@@ -6923,7 +6926,7 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
6923
6926
|
});
|
|
6924
6927
|
}
|
|
6925
6928
|
return h;
|
|
6926
|
-
},
|
|
6929
|
+
}, Da = (r) => {
|
|
6927
6930
|
const l = /* @__PURE__ */ new Map();
|
|
6928
6931
|
return r.orderSensitiveModifiers.forEach((a, h) => {
|
|
6929
6932
|
l.set(a, 1e6 + h);
|
|
@@ -6936,26 +6939,26 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
6936
6939
|
}
|
|
6937
6940
|
return u.length > 0 && (u.sort(), h.push(...u)), h;
|
|
6938
6941
|
};
|
|
6939
|
-
},
|
|
6940
|
-
cache:
|
|
6941
|
-
parseClassName:
|
|
6942
|
-
sortModifiers:
|
|
6943
|
-
postfixLookupClassGroupIds:
|
|
6944
|
-
...
|
|
6945
|
-
}),
|
|
6942
|
+
}, Fa = (r) => ({
|
|
6943
|
+
cache: Za(r.cacheSize),
|
|
6944
|
+
parseClassName: Na(r),
|
|
6945
|
+
sortModifiers: Da(r),
|
|
6946
|
+
postfixLookupClassGroupIds: Wa(r),
|
|
6947
|
+
...Ca(r)
|
|
6948
|
+
}), Wa = (r) => {
|
|
6946
6949
|
const l = /* @__PURE__ */ Object.create(null), a = r.postfixLookupClassGroups;
|
|
6947
6950
|
if (a)
|
|
6948
6951
|
for (let h = 0; h < a.length; h++)
|
|
6949
6952
|
l[a[h]] = !0;
|
|
6950
6953
|
return l;
|
|
6951
|
-
},
|
|
6954
|
+
}, Ha = /\s+/, ja = (r, l) => {
|
|
6952
6955
|
const {
|
|
6953
6956
|
parseClassName: a,
|
|
6954
6957
|
getClassGroupId: h,
|
|
6955
6958
|
getConflictingClassGroupIds: u,
|
|
6956
6959
|
sortModifiers: p,
|
|
6957
6960
|
postfixLookupClassGroupIds: m
|
|
6958
|
-
} = l, b = [], v = r.trim().split(
|
|
6961
|
+
} = l, b = [], v = r.trim().split(Ha);
|
|
6959
6962
|
let g = "";
|
|
6960
6963
|
for (let R = v.length - 1; R >= 0; R -= 1) {
|
|
6961
6964
|
const T = v[R], {
|
|
@@ -6988,7 +6991,7 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
6988
6991
|
}
|
|
6989
6992
|
ft = !1;
|
|
6990
6993
|
}
|
|
6991
|
-
const U = Z.length === 0 ? "" : Z.length === 1 ? Z[0] : p(Z).join(":"), lt = G ? U +
|
|
6994
|
+
const U = Z.length === 0 ? "" : Z.length === 1 ? Z[0] : p(Z).join(":"), lt = G ? U + ji : U, mt = lt + X;
|
|
6992
6995
|
if (b.indexOf(mt) > -1)
|
|
6993
6996
|
continue;
|
|
6994
6997
|
b.push(mt);
|
|
@@ -7000,46 +7003,46 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
7000
7003
|
g = T + (g.length > 0 ? " " + g : g);
|
|
7001
7004
|
}
|
|
7002
7005
|
return g;
|
|
7003
|
-
},
|
|
7006
|
+
}, Ga = (...r) => {
|
|
7004
7007
|
let l = 0, a, h, u = "";
|
|
7005
7008
|
for (; l < r.length; )
|
|
7006
|
-
(a = r[l++]) && (h =
|
|
7009
|
+
(a = r[l++]) && (h = Uo(a)) && (u && (u += " "), u += h);
|
|
7007
7010
|
return u;
|
|
7008
|
-
},
|
|
7011
|
+
}, Uo = (r) => {
|
|
7009
7012
|
if (typeof r == "string")
|
|
7010
7013
|
return r;
|
|
7011
7014
|
let l, a = "";
|
|
7012
7015
|
for (let h = 0; h < r.length; h++)
|
|
7013
|
-
r[h] && (l =
|
|
7016
|
+
r[h] && (l = Uo(r[h])) && (a && (a += " "), a += l);
|
|
7014
7017
|
return a;
|
|
7015
|
-
},
|
|
7018
|
+
}, Va = (r, ...l) => {
|
|
7016
7019
|
let a, h, u, p;
|
|
7017
7020
|
const m = (v) => {
|
|
7018
7021
|
const g = l.reduce((R, T) => T(R), r());
|
|
7019
|
-
return a =
|
|
7022
|
+
return a = Fa(g), h = a.cache.get, u = a.cache.set, p = b, b(v);
|
|
7020
7023
|
}, b = (v) => {
|
|
7021
7024
|
const g = h(v);
|
|
7022
7025
|
if (g)
|
|
7023
7026
|
return g;
|
|
7024
|
-
const R =
|
|
7027
|
+
const R = ja(v, a);
|
|
7025
7028
|
return u(v, R), R;
|
|
7026
7029
|
};
|
|
7027
|
-
return p = m, (...v) => p(
|
|
7028
|
-
},
|
|
7029
|
-
const l = (a) => a[r] ||
|
|
7030
|
+
return p = m, (...v) => p(Ga(...v));
|
|
7031
|
+
}, Ua = [], st = (r) => {
|
|
7032
|
+
const l = (a) => a[r] || Ua;
|
|
7030
7033
|
return l.isThemeGetter = !0, l.themeKey = r, l;
|
|
7031
|
-
},
|
|
7034
|
+
}, $o = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, qo = /^\((?:(\w[\w-]*):)?(.+)\)$/i, $a = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, qa = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ka = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ya = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Xa = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ja = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Gt = (r) => $a.test(r), F = (r) => !!r && !Number.isNaN(Number(r)), It = (r) => !!r && Number.isInteger(Number(r)), Wi = (r) => r.endsWith("%") && F(r.slice(0, -1)), Dt = (r) => qa.test(r), Ko = () => !0, Qa = (r) => (
|
|
7032
7035
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
7033
7036
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
7034
7037
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
7035
|
-
|
|
7036
|
-
), Ji = () => !1,
|
|
7037
|
-
const h =
|
|
7038
|
+
Ka.test(r) && !Ya.test(r)
|
|
7039
|
+
), Ji = () => !1, tl = (r) => Xa.test(r), el = (r) => Ja.test(r), il = (r) => !P(r) && !k(r), nl = (r) => r.startsWith("@container") && (r[10] === "/" && r[11] !== void 0 || r[11] === "s" && r[16] !== void 0 && r.startsWith("-size/", 10) || r[11] === "n" && r[18] !== void 0 && r.startsWith("-normal/", 10)), ol = (r) => Ut(r, Jo, Ji), P = (r) => $o.test(r), te = (r) => Ut(r, Qo, Qa), bo = (r) => Ut(r, dl, F), rl = (r) => Ut(r, er, Ko), sl = (r) => Ut(r, tr, Ji), wo = (r) => Ut(r, Yo, Ji), al = (r) => Ut(r, Xo, el), Qe = (r) => Ut(r, ir, tl), k = (r) => qo.test(r), ze = (r) => ie(r, Qo), ll = (r) => ie(r, tr), xo = (r) => ie(r, Yo), hl = (r) => ie(r, Jo), cl = (r) => ie(r, Xo), ti = (r) => ie(r, ir, !0), ul = (r) => ie(r, er, !0), Ut = (r, l, a) => {
|
|
7040
|
+
const h = $o.exec(r);
|
|
7038
7041
|
return h ? h[1] ? l(h[1]) : a(h[2]) : !1;
|
|
7039
7042
|
}, ie = (r, l, a = !1) => {
|
|
7040
|
-
const h =
|
|
7043
|
+
const h = qo.exec(r);
|
|
7041
7044
|
return h ? h[1] ? l(h[1]) : a : !1;
|
|
7042
|
-
},
|
|
7045
|
+
}, Yo = (r) => r === "position" || r === "percentage", Xo = (r) => r === "image" || r === "url", Jo = (r) => r === "length" || r === "size" || r === "bg-size", Qo = (r) => r === "length", dl = (r) => r === "number", tr = (r) => r === "family-name", er = (r) => r === "number" || r === "weight", ir = (r) => r === "shadow", fl = () => {
|
|
7043
7046
|
const r = st("color"), l = st("font"), a = st("text"), h = st("font-weight"), u = st("tracking"), p = st("leading"), m = st("breakpoint"), b = st("container"), v = st("spacing"), g = st("radius"), R = st("shadow"), T = st("inset-shadow"), D = st("text-shadow"), Z = st("drop-shadow"), G = st("blur"), S = st("perspective"), Y = st("aspect"), ft = st("ease"), X = st("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], lt = () => [
|
|
7044
7047
|
"center",
|
|
7045
7048
|
"top",
|
|
@@ -7064,7 +7067,7 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
7064
7067
|
position: [k, P]
|
|
7065
7068
|
}], ct = () => ["no-repeat", {
|
|
7066
7069
|
repeat: ["", "x", "y", "space", "round"]
|
|
7067
|
-
}], ut = () => ["auto", "cover", "contain",
|
|
7070
|
+
}], ut = () => ["auto", "cover", "contain", hl, ol, {
|
|
7068
7071
|
size: [k, P]
|
|
7069
7072
|
}], J = () => [Wi, ze, te], I = () => [
|
|
7070
7073
|
// Deprecated since Tailwind CSS v4.0.0
|
|
@@ -7089,11 +7092,11 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
7089
7092
|
aspect: ["video"],
|
|
7090
7093
|
blur: [Dt],
|
|
7091
7094
|
breakpoint: [Dt],
|
|
7092
|
-
color: [
|
|
7095
|
+
color: [Ko],
|
|
7093
7096
|
container: [Dt],
|
|
7094
7097
|
"drop-shadow": [Dt],
|
|
7095
7098
|
ease: ["in", "out", "in-out"],
|
|
7096
|
-
font: [
|
|
7099
|
+
font: [il],
|
|
7097
7100
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
7098
7101
|
"inset-shadow": [Dt],
|
|
7099
7102
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -7133,7 +7136,7 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
7133
7136
|
* Container Name
|
|
7134
7137
|
* @see https://tailwindcss.com/docs/responsive-design#named-containers
|
|
7135
7138
|
*/
|
|
7136
|
-
"container-named": [
|
|
7139
|
+
"container-named": [nl],
|
|
7137
7140
|
/**
|
|
7138
7141
|
* Columns
|
|
7139
7142
|
* @see https://tailwindcss.com/docs/columns
|
|
@@ -7899,7 +7902,7 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
7899
7902
|
* @see https://tailwindcss.com/docs/font-weight
|
|
7900
7903
|
*/
|
|
7901
7904
|
"font-weight": [{
|
|
7902
|
-
font: [h,
|
|
7905
|
+
font: [h, ul, rl]
|
|
7903
7906
|
}],
|
|
7904
7907
|
/**
|
|
7905
7908
|
* Font Stretch
|
|
@@ -7913,7 +7916,7 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
7913
7916
|
* @see https://tailwindcss.com/docs/font-family
|
|
7914
7917
|
*/
|
|
7915
7918
|
"font-family": [{
|
|
7916
|
-
font: [
|
|
7919
|
+
font: [ll, sl, l]
|
|
7917
7920
|
}],
|
|
7918
7921
|
/**
|
|
7919
7922
|
* Font Feature Settings
|
|
@@ -8183,7 +8186,7 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
8183
8186
|
}, It, k, P],
|
|
8184
8187
|
radial: ["", k, P],
|
|
8185
8188
|
conic: ["", It, k, P]
|
|
8186
|
-
},
|
|
8189
|
+
}, cl, al]
|
|
8187
8190
|
}],
|
|
8188
8191
|
/**
|
|
8189
8192
|
* Background Color
|
|
@@ -8584,8 +8587,8 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
8584
8587
|
"inner",
|
|
8585
8588
|
"none",
|
|
8586
8589
|
R,
|
|
8587
|
-
|
|
8588
|
-
|
|
8590
|
+
ti,
|
|
8591
|
+
Qe
|
|
8589
8592
|
]
|
|
8590
8593
|
}],
|
|
8591
8594
|
/**
|
|
@@ -8600,7 +8603,7 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
8600
8603
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
8601
8604
|
*/
|
|
8602
8605
|
"inset-shadow": [{
|
|
8603
|
-
"inset-shadow": ["none", T,
|
|
8606
|
+
"inset-shadow": ["none", T, ti, Qe]
|
|
8604
8607
|
}],
|
|
8605
8608
|
/**
|
|
8606
8609
|
* Inset Box Shadow Color
|
|
@@ -8667,7 +8670,7 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
8667
8670
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
8668
8671
|
*/
|
|
8669
8672
|
"text-shadow": [{
|
|
8670
|
-
"text-shadow": ["none", D,
|
|
8673
|
+
"text-shadow": ["none", D, ti, Qe]
|
|
8671
8674
|
}],
|
|
8672
8675
|
/**
|
|
8673
8676
|
* Text Shadow Color
|
|
@@ -8940,8 +8943,8 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
8940
8943
|
"",
|
|
8941
8944
|
"none",
|
|
8942
8945
|
Z,
|
|
8943
|
-
|
|
8944
|
-
|
|
8946
|
+
ti,
|
|
8947
|
+
Qe
|
|
8945
8948
|
]
|
|
8946
8949
|
}],
|
|
8947
8950
|
/**
|
|
@@ -9727,11 +9730,11 @@ const po = (r) => typeof r == "boolean" ? `${r}` : r === 0 ? "0" : r, _o = Wo, x
|
|
|
9727
9730
|
postfixLookupClassGroups: ["container-type"],
|
|
9728
9731
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
9729
9732
|
};
|
|
9730
|
-
},
|
|
9731
|
-
function
|
|
9732
|
-
return
|
|
9733
|
+
}, ml = /* @__PURE__ */ Va(fl);
|
|
9734
|
+
function pl(...r) {
|
|
9735
|
+
return ml(Ho(r));
|
|
9733
9736
|
}
|
|
9734
|
-
const
|
|
9737
|
+
const _l = Pa(
|
|
9735
9738
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-pointer",
|
|
9736
9739
|
{
|
|
9737
9740
|
variants: {
|
|
@@ -9765,24 +9768,24 @@ function Me({
|
|
|
9765
9768
|
asChild: h = !1,
|
|
9766
9769
|
...u
|
|
9767
9770
|
}) {
|
|
9768
|
-
const p = h ?
|
|
9771
|
+
const p = h ? ga : "button";
|
|
9769
9772
|
return /* @__PURE__ */ O.jsx(
|
|
9770
9773
|
p,
|
|
9771
9774
|
{
|
|
9772
9775
|
"data-slot": "button",
|
|
9773
|
-
className:
|
|
9776
|
+
className: pl(_l({ variant: l, size: a, className: r })),
|
|
9774
9777
|
...u
|
|
9775
9778
|
}
|
|
9776
9779
|
);
|
|
9777
9780
|
}
|
|
9778
|
-
const
|
|
9781
|
+
const gl = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), vl = (r) => r.replace(
|
|
9779
9782
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
9780
9783
|
(l, a, h) => h ? h.toUpperCase() : a.toLowerCase()
|
|
9781
9784
|
), Po = (r) => {
|
|
9782
|
-
const l =
|
|
9785
|
+
const l = vl(r);
|
|
9783
9786
|
return l.charAt(0).toUpperCase() + l.slice(1);
|
|
9784
|
-
},
|
|
9785
|
-
var
|
|
9787
|
+
}, nr = (...r) => r.filter((l, a, h) => !!l && l.trim() !== "" && h.indexOf(l) === a).join(" ").trim();
|
|
9788
|
+
var yl = {
|
|
9786
9789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9787
9790
|
width: 24,
|
|
9788
9791
|
height: 24,
|
|
@@ -9793,7 +9796,7 @@ var vl = {
|
|
|
9793
9796
|
strokeLinecap: "round",
|
|
9794
9797
|
strokeLinejoin: "round"
|
|
9795
9798
|
};
|
|
9796
|
-
const
|
|
9799
|
+
const bl = window.React.forwardRef, Lo = window.React.createElement, wl = bl(
|
|
9797
9800
|
({
|
|
9798
9801
|
color: r = "currentColor",
|
|
9799
9802
|
size: l = 24,
|
|
@@ -9807,12 +9810,12 @@ const yl = window.React.forwardRef, Lo = window.React.createElement, bl = yl(
|
|
|
9807
9810
|
"svg",
|
|
9808
9811
|
{
|
|
9809
9812
|
ref: v,
|
|
9810
|
-
...
|
|
9813
|
+
...yl,
|
|
9811
9814
|
width: l,
|
|
9812
9815
|
height: l,
|
|
9813
9816
|
stroke: r,
|
|
9814
9817
|
strokeWidth: h ? Number(a) * 24 / Number(l) : a,
|
|
9815
|
-
className:
|
|
9818
|
+
className: nr("lucide", u),
|
|
9816
9819
|
...b
|
|
9817
9820
|
},
|
|
9818
9821
|
[
|
|
@@ -9821,13 +9824,13 @@ const yl = window.React.forwardRef, Lo = window.React.createElement, bl = yl(
|
|
|
9821
9824
|
]
|
|
9822
9825
|
)
|
|
9823
9826
|
);
|
|
9824
|
-
const
|
|
9825
|
-
const a =
|
|
9826
|
-
({ className: h, ...u }, p) =>
|
|
9827
|
+
const xl = window.React.forwardRef, Pl = window.React.createElement, Oe = (r, l) => {
|
|
9828
|
+
const a = xl(
|
|
9829
|
+
({ className: h, ...u }, p) => Pl(wl, {
|
|
9827
9830
|
ref: p,
|
|
9828
9831
|
iconNode: l,
|
|
9829
|
-
className:
|
|
9830
|
-
`lucide-${
|
|
9832
|
+
className: nr(
|
|
9833
|
+
`lucide-${gl(Po(r))}`,
|
|
9831
9834
|
`lucide-${r}`,
|
|
9832
9835
|
h
|
|
9833
9836
|
),
|
|
@@ -9836,8 +9839,8 @@ const wl = window.React.forwardRef, xl = window.React.createElement, Oe = (r, l)
|
|
|
9836
9839
|
);
|
|
9837
9840
|
return a.displayName = Po(r), a;
|
|
9838
9841
|
};
|
|
9839
|
-
const
|
|
9840
|
-
const
|
|
9842
|
+
const Ll = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], kl = Oe("check", Ll);
|
|
9843
|
+
const Tl = [
|
|
9841
9844
|
[
|
|
9842
9845
|
"path",
|
|
9843
9846
|
{
|
|
@@ -9845,8 +9848,8 @@ const kl = [
|
|
|
9845
9848
|
key: "yt0hxn"
|
|
9846
9849
|
}
|
|
9847
9850
|
]
|
|
9848
|
-
],
|
|
9849
|
-
const
|
|
9851
|
+
], Cl = Oe("hexagon", Tl);
|
|
9852
|
+
const Sl = [
|
|
9850
9853
|
[
|
|
9851
9854
|
"path",
|
|
9852
9855
|
{
|
|
@@ -9855,17 +9858,17 @@ const Cl = [
|
|
|
9855
9858
|
}
|
|
9856
9859
|
],
|
|
9857
9860
|
["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
|
|
9858
|
-
],
|
|
9859
|
-
const
|
|
9861
|
+
], zl = Oe("map-pin", Sl);
|
|
9862
|
+
const Ml = [
|
|
9860
9863
|
["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }]
|
|
9861
|
-
],
|
|
9862
|
-
const
|
|
9864
|
+
], El = Oe("rectangle-horizontal", Ml);
|
|
9865
|
+
const Ol = [
|
|
9863
9866
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
9864
9867
|
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
|
9865
9868
|
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
|
|
9866
9869
|
["line", { x1: "10", x2: "10", y1: "11", y2: "17", key: "1uufr5" }],
|
|
9867
9870
|
["line", { x1: "14", x2: "14", y1: "11", y2: "17", key: "xtxkd" }]
|
|
9868
|
-
],
|
|
9871
|
+
], Al = Oe("trash-2", Ol), Il = window.React, ee = window.React.useState, ei = window.React.useEffect, St = window.React.useCallback;
|
|
9869
9872
|
delete So.Icon.Default.prototype._getIconUrl;
|
|
9870
9873
|
So.Icon.Default.mergeOptions({
|
|
9871
9874
|
iconRetinaUrl: "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon-2x.png",
|
|
@@ -9878,7 +9881,7 @@ const ko = {
|
|
|
9878
9881
|
opacity: 1,
|
|
9879
9882
|
fillOpacity: 0.7,
|
|
9880
9883
|
dashArray: "0"
|
|
9881
|
-
},
|
|
9884
|
+
}, Rl = ({
|
|
9882
9885
|
position: r,
|
|
9883
9886
|
onAddMarker: l,
|
|
9884
9887
|
onAddPolygon: a,
|
|
@@ -9906,7 +9909,7 @@ const ko = {
|
|
|
9906
9909
|
},
|
|
9907
9910
|
title: "Add marker",
|
|
9908
9911
|
disabled: b,
|
|
9909
|
-
children: /* @__PURE__ */ O.jsx(
|
|
9912
|
+
children: /* @__PURE__ */ O.jsx(zl, {})
|
|
9910
9913
|
}
|
|
9911
9914
|
),
|
|
9912
9915
|
/* @__PURE__ */ O.jsx(
|
|
@@ -9920,7 +9923,7 @@ const ko = {
|
|
|
9920
9923
|
},
|
|
9921
9924
|
title: "Add polygon",
|
|
9922
9925
|
disabled: b && m !== "polygon",
|
|
9923
|
-
children: /* @__PURE__ */ O.jsx(
|
|
9926
|
+
children: /* @__PURE__ */ O.jsx(Cl, {})
|
|
9924
9927
|
}
|
|
9925
9928
|
),
|
|
9926
9929
|
/* @__PURE__ */ O.jsx(
|
|
@@ -9934,7 +9937,7 @@ const ko = {
|
|
|
9934
9937
|
},
|
|
9935
9938
|
title: "Add rectangle",
|
|
9936
9939
|
disabled: b,
|
|
9937
|
-
children: /* @__PURE__ */ O.jsx(
|
|
9940
|
+
children: /* @__PURE__ */ O.jsx(El, {})
|
|
9938
9941
|
}
|
|
9939
9942
|
),
|
|
9940
9943
|
m === "polygon" && b && /* @__PURE__ */ O.jsx(
|
|
@@ -9947,7 +9950,7 @@ const ko = {
|
|
|
9947
9950
|
variant: "ghost",
|
|
9948
9951
|
size: "sm",
|
|
9949
9952
|
title: "Finish drawing",
|
|
9950
|
-
children: /* @__PURE__ */ O.jsx(
|
|
9953
|
+
children: /* @__PURE__ */ O.jsx(kl, {})
|
|
9951
9954
|
}
|
|
9952
9955
|
),
|
|
9953
9956
|
/* @__PURE__ */ O.jsx(
|
|
@@ -9961,11 +9964,11 @@ const ko = {
|
|
|
9961
9964
|
size: "sm",
|
|
9962
9965
|
title: "Clear map",
|
|
9963
9966
|
disabled: b,
|
|
9964
|
-
children: /* @__PURE__ */ O.jsx(
|
|
9967
|
+
children: /* @__PURE__ */ O.jsx(Al, {})
|
|
9965
9968
|
}
|
|
9966
9969
|
)
|
|
9967
9970
|
] }) });
|
|
9968
|
-
},
|
|
9971
|
+
}, Zl = ({
|
|
9969
9972
|
features: r,
|
|
9970
9973
|
mode: l,
|
|
9971
9974
|
drawingMode: a,
|
|
@@ -9975,7 +9978,7 @@ const ko = {
|
|
|
9975
9978
|
onFinishDrawing: m,
|
|
9976
9979
|
allowMarkerMovement: b = !0
|
|
9977
9980
|
}) => {
|
|
9978
|
-
const v =
|
|
9981
|
+
const v = ia(), [g, R] = ee([]), [T, D] = ee(null), [Z, G] = ee(null), S = St((C, W) => {
|
|
9979
9982
|
if (!b) return;
|
|
9980
9983
|
const nt = C.target.getLatLng(), $t = r.map((tt) => tt.id === W ? {
|
|
9981
9984
|
...tt,
|
|
@@ -10002,7 +10005,7 @@ const ko = {
|
|
|
10002
10005
|
v,
|
|
10003
10006
|
p
|
|
10004
10007
|
]);
|
|
10005
|
-
|
|
10008
|
+
ei(() => {
|
|
10006
10009
|
m > 0 && a === "polygon" && g.length >= 3 && Y();
|
|
10007
10010
|
}, [m]);
|
|
10008
10011
|
const ft = St(
|
|
@@ -10058,7 +10061,7 @@ const ko = {
|
|
|
10058
10061
|
h,
|
|
10059
10062
|
p
|
|
10060
10063
|
]);
|
|
10061
|
-
return
|
|
10064
|
+
return ei(() => {
|
|
10062
10065
|
const C = (w) => {
|
|
10063
10066
|
a === "marker" ? ft(w.latlng) : a === "polygon" ? X(w.latlng) : a === "rectangle" && (T ? mt() : U(w.latlng));
|
|
10064
10067
|
}, W = (w) => {
|
|
@@ -10076,7 +10079,7 @@ const ko = {
|
|
|
10076
10079
|
lt,
|
|
10077
10080
|
mt,
|
|
10078
10081
|
T
|
|
10079
|
-
]),
|
|
10082
|
+
]), ei(() => {
|
|
10080
10083
|
const C = (W) => {
|
|
10081
10084
|
W.key === "Escape" && (g.length > 0 || T) && (R([]), D(null), G(null), h("none"), p(!1), v.doubleClickZoom.enable());
|
|
10082
10085
|
};
|
|
@@ -10090,9 +10093,9 @@ const ko = {
|
|
|
10090
10093
|
p,
|
|
10091
10094
|
v
|
|
10092
10095
|
]), /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
|
|
10093
|
-
r.map((C) => /* @__PURE__ */ O.jsxs(
|
|
10096
|
+
r.map((C) => /* @__PURE__ */ O.jsxs(Il.Fragment, { children: [
|
|
10094
10097
|
(l === "marker" || l === "all") && C.position && /* @__PURE__ */ O.jsx(
|
|
10095
|
-
|
|
10098
|
+
ca,
|
|
10096
10099
|
{
|
|
10097
10100
|
position: C.position,
|
|
10098
10101
|
draggable: C.draggable !== !1 && b,
|
|
@@ -10114,7 +10117,7 @@ const ko = {
|
|
|
10114
10117
|
}
|
|
10115
10118
|
),
|
|
10116
10119
|
(l === "polygon" || l === "all") && C.polygon && /* @__PURE__ */ O.jsx(
|
|
10117
|
-
|
|
10120
|
+
ua,
|
|
10118
10121
|
{
|
|
10119
10122
|
positions: C.polygon,
|
|
10120
10123
|
pathOptions: { color: C.color || "blue" },
|
|
@@ -10177,7 +10180,7 @@ const ko = {
|
|
|
10177
10180
|
}
|
|
10178
10181
|
)
|
|
10179
10182
|
] });
|
|
10180
|
-
},
|
|
10183
|
+
}, or = ({
|
|
10181
10184
|
mode: r = "all",
|
|
10182
10185
|
initialFeatures: l = [],
|
|
10183
10186
|
center: a = [45.7, 60.1],
|
|
@@ -10205,11 +10208,11 @@ const ko = {
|
|
|
10205
10208
|
}, [Z, S]), C = St(() => {
|
|
10206
10209
|
S || (U([]), G("none"));
|
|
10207
10210
|
}, [U, S]);
|
|
10208
|
-
return
|
|
10211
|
+
return ei(() => {
|
|
10209
10212
|
JSON.stringify(l) !== JSON.stringify(T) && D(l);
|
|
10210
10213
|
}, [l]), /* @__PURE__ */ O.jsxs("div", { className: `${b} ${g ? "pointer-events-none opacity-50" : ""}`, style: { position: "relative", ...v }, children: [
|
|
10211
10214
|
/* @__PURE__ */ O.jsxs(
|
|
10212
|
-
|
|
10215
|
+
ha,
|
|
10213
10216
|
{
|
|
10214
10217
|
center: a,
|
|
10215
10218
|
zoom: h,
|
|
@@ -10217,14 +10220,14 @@ const ko = {
|
|
|
10217
10220
|
doubleClickZoom: !0,
|
|
10218
10221
|
children: [
|
|
10219
10222
|
/* @__PURE__ */ O.jsx(
|
|
10220
|
-
|
|
10223
|
+
fa,
|
|
10221
10224
|
{
|
|
10222
10225
|
url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
|
|
10223
10226
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
10224
10227
|
}
|
|
10225
10228
|
),
|
|
10226
10229
|
/* @__PURE__ */ O.jsx(
|
|
10227
|
-
|
|
10230
|
+
Zl,
|
|
10228
10231
|
{
|
|
10229
10232
|
features: T,
|
|
10230
10233
|
mode: r,
|
|
@@ -10240,7 +10243,7 @@ const ko = {
|
|
|
10240
10243
|
}
|
|
10241
10244
|
),
|
|
10242
10245
|
u && /* @__PURE__ */ O.jsx(
|
|
10243
|
-
|
|
10246
|
+
Rl,
|
|
10244
10247
|
{
|
|
10245
10248
|
position: p,
|
|
10246
10249
|
onAddMarker: () => lt("marker"),
|
|
@@ -10307,15 +10310,15 @@ const ko = {
|
|
|
10307
10310
|
}
|
|
10308
10311
|
)
|
|
10309
10312
|
] });
|
|
10310
|
-
},
|
|
10311
|
-
function
|
|
10313
|
+
}, Dl = or;
|
|
10314
|
+
function Fl({
|
|
10312
10315
|
initialValue: r,
|
|
10313
10316
|
options: l,
|
|
10314
10317
|
onChange: a,
|
|
10315
10318
|
disabled: h
|
|
10316
10319
|
}) {
|
|
10317
10320
|
return /* @__PURE__ */ O.jsx(
|
|
10318
|
-
|
|
10321
|
+
or,
|
|
10319
10322
|
{
|
|
10320
10323
|
...l,
|
|
10321
10324
|
initialFeatures: r ?? [],
|
|
@@ -10325,6 +10328,6 @@ function Dl({
|
|
|
10325
10328
|
);
|
|
10326
10329
|
}
|
|
10327
10330
|
export {
|
|
10328
|
-
|
|
10329
|
-
|
|
10331
|
+
Dl as Component,
|
|
10332
|
+
Fl as default
|
|
10330
10333
|
};
|