@carto/ps-react-ui 4.2.7 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs-D4KH3azB.js +85 -0
- package/dist/cjs-D4KH3azB.js.map +1 -0
- package/dist/components.js +770 -1415
- package/dist/components.js.map +1 -1
- package/dist/error-B2IJ9d2h.js +38 -0
- package/dist/error-B2IJ9d2h.js.map +1 -0
- package/dist/exports-Cr43OCul.js +51 -0
- package/dist/exports-Cr43OCul.js.map +1 -0
- package/dist/lasso-tool-BwRzEW7k.js +534 -0
- package/dist/lasso-tool-BwRzEW7k.js.map +1 -0
- package/dist/no-data-C54XJt13.js +61 -0
- package/dist/no-data-C54XJt13.js.map +1 -0
- package/dist/note-t51drNe0.js +124 -0
- package/dist/note-t51drNe0.js.map +1 -0
- package/dist/options-D9wflre6.js +49 -0
- package/dist/options-D9wflre6.js.map +1 -0
- package/dist/row-DrHwXNvF.js +35 -0
- package/dist/row-DrHwXNvF.js.map +1 -0
- package/dist/series-D3Pc-kYX.js +91 -0
- package/dist/series-D3Pc-kYX.js.map +1 -0
- package/dist/smart-tooltip-BEtBaIdz.js +39 -0
- package/dist/smart-tooltip-BEtBaIdz.js.map +1 -0
- package/dist/styles-CCZnY17y.js +117 -0
- package/dist/styles-CCZnY17y.js.map +1 -0
- package/dist/tooltip-BDnrRKrp.js +25 -0
- package/dist/tooltip-BDnrRKrp.js.map +1 -0
- package/dist/types/components/measurement-tools/styles.d.ts +13 -4
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/use-debounce.d.ts +19 -0
- package/dist/types/hooks/use-widget-ref.d.ts +17 -0
- package/dist/types/widgets/_shared/chart-config/config-factory.d.ts +38 -0
- package/dist/types/widgets/_shared/chart-config/csv-modifiers.d.ts +19 -0
- package/dist/types/widgets/_shared/chart-config/index.d.ts +7 -0
- package/dist/types/widgets/_shared/chart-config/option-builders.d.ts +85 -0
- package/dist/types/widgets/_shared/skeleton/index.d.ts +4 -0
- package/dist/types/widgets/_shared/skeleton/styles.d.ts +19 -0
- package/dist/types/widgets/actions/change-column/change-column-icon.d.ts +1 -0
- package/dist/types/widgets/actions/change-column/change-column.d.ts +16 -0
- package/dist/types/widgets/actions/change-column/sortable-column-item.d.ts +9 -0
- package/dist/types/widgets/actions/change-column/types.d.ts +19 -0
- package/dist/types/widgets/actions/download/download.d.ts +2 -0
- package/dist/types/widgets/actions/download/exports.d.ts +6 -0
- package/dist/types/widgets/actions/download/types.d.ts +21 -0
- package/dist/types/widgets/actions/fullscreen/fullscreen.d.ts +2 -0
- package/dist/types/widgets/actions/fullscreen/styles.d.ts +16 -0
- package/dist/types/widgets/actions/fullscreen/types.d.ts +20 -0
- package/dist/types/widgets/actions/index.d.ts +18 -0
- package/dist/types/widgets/actions/lock-selection/lock-selection.d.ts +19 -0
- package/dist/types/widgets/actions/lock-selection/types.d.ts +36 -0
- package/dist/types/widgets/actions/relative-data/relative-data.d.ts +18 -0
- package/dist/types/widgets/actions/relative-data/style.d.ts +8 -0
- package/dist/types/widgets/actions/relative-data/types.d.ts +27 -0
- package/dist/types/widgets/actions/relative-data/utils.d.ts +9 -0
- package/dist/types/widgets/actions/relative-data/utils.test.d.ts +1 -0
- package/dist/types/widgets/actions/searcher/searcher-toggle.d.ts +18 -0
- package/dist/types/widgets/actions/searcher/searcher.d.ts +21 -0
- package/dist/types/widgets/actions/searcher/types.d.ts +64 -0
- package/dist/types/widgets/actions/shared/styles.d.ts +11 -0
- package/dist/types/widgets/actions/stack-toggle/grouped-bar-chart-icon.d.ts +1 -0
- package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +16 -0
- package/dist/types/widgets/actions/stack-toggle/types.d.ts +25 -0
- package/dist/types/widgets/actions/zoom-toggle/index.d.ts +2 -0
- package/dist/types/widgets/actions/zoom-toggle/style.d.ts +13 -0
- package/dist/types/widgets/actions/zoom-toggle/types.d.ts +41 -0
- package/dist/types/widgets/actions/zoom-toggle/zoom-toggle.d.ts +18 -0
- package/dist/types/widgets/bar/config.d.ts +5 -0
- package/dist/types/widgets/bar/index.d.ts +3 -0
- package/dist/types/widgets/bar/skeleton.d.ts +1 -0
- package/dist/types/widgets/bar/style.d.ts +37 -0
- package/dist/types/widgets/bar/types.d.ts +9 -0
- package/dist/types/widgets/category/category-ui.d.ts +2 -0
- package/dist/types/widgets/category/components/category-bar.d.ts +7 -0
- package/dist/types/widgets/category/components/category-legend.d.ts +6 -0
- package/dist/types/widgets/category/components/category-row-multi.d.ts +11 -0
- package/dist/types/widgets/category/components/category-row-other.d.ts +6 -0
- package/dist/types/widgets/category/components/category-row-single.d.ts +11 -0
- package/dist/types/widgets/category/components/index.d.ts +10 -0
- package/dist/types/widgets/category/config.d.ts +16 -0
- package/dist/types/widgets/category/index.d.ts +6 -0
- package/dist/types/widgets/category/skeleton.d.ts +1 -0
- package/dist/types/widgets/category/style.d.ts +120 -0
- package/dist/types/widgets/category/types.d.ts +34 -0
- package/dist/types/widgets/echart/const.d.ts +1 -0
- package/dist/types/widgets/echart/echart-ui.d.ts +2 -0
- package/dist/types/widgets/echart/echart.d.ts +2 -0
- package/dist/types/widgets/echart/index.d.ts +5 -0
- package/dist/types/widgets/echart/options.d.ts +2 -0
- package/dist/types/widgets/echart/types.d.ts +34 -0
- package/dist/types/widgets/echart/utils.d.ts +80 -0
- package/dist/types/widgets/error/error.d.ts +2 -0
- package/dist/types/widgets/error/index.d.ts +2 -0
- package/dist/types/widgets/error/types.d.ts +12 -0
- package/dist/types/widgets/formula/components/item.d.ts +2 -0
- package/dist/types/widgets/formula/components/prefix.d.ts +2 -0
- package/dist/types/widgets/formula/components/row.d.ts +2 -0
- package/dist/types/widgets/formula/components/series.d.ts +2 -0
- package/dist/types/widgets/formula/components/suffix.d.ts +2 -0
- package/dist/types/widgets/formula/components/value.d.ts +2 -0
- package/dist/types/widgets/formula/config.d.ts +4 -0
- package/dist/types/widgets/formula/formula-ui.d.ts +2 -0
- package/dist/types/widgets/formula/index.d.ts +11 -0
- package/dist/types/widgets/formula/serializer.d.ts +16 -0
- package/dist/types/widgets/formula/skeleton.d.ts +1 -0
- package/dist/types/widgets/formula/style.d.ts +21 -0
- package/dist/types/widgets/formula/types.d.ts +42 -0
- package/dist/types/widgets/histogram/config.d.ts +5 -0
- package/dist/types/widgets/histogram/index.d.ts +3 -0
- package/dist/types/widgets/histogram/skeleton.d.ts +1 -0
- package/dist/types/widgets/histogram/style.d.ts +15 -0
- package/dist/types/widgets/histogram/types.d.ts +9 -0
- package/dist/types/widgets/index.d.ts +9 -1
- package/dist/types/widgets/loader/index.d.ts +3 -0
- package/dist/types/widgets/loader/loader.d.ts +2 -0
- package/dist/types/widgets/loader/types.d.ts +9 -0
- package/dist/types/widgets/loader/utils.d.ts +1 -0
- package/dist/types/widgets/markdown/config.d.ts +4 -0
- package/dist/types/widgets/markdown/index.d.ts +5 -0
- package/dist/types/widgets/markdown/markdown-ui.d.ts +2 -0
- package/dist/types/widgets/markdown/markdown.d.ts +2 -0
- package/dist/types/widgets/markdown/skeleton.d.ts +1 -0
- package/dist/types/widgets/markdown/style.d.ts +2 -0
- package/dist/types/widgets/markdown/types.d.ts +18 -0
- package/dist/types/widgets/no-data/index.d.ts +2 -0
- package/dist/types/widgets/no-data/no-data.d.ts +35 -0
- package/dist/types/widgets/no-data/style.d.ts +6 -0
- package/dist/types/widgets/no-data/types.d.ts +67 -0
- package/dist/types/widgets/note/index.d.ts +2 -0
- package/dist/types/widgets/note/note.d.ts +2 -0
- package/dist/types/widgets/note/style.d.ts +28 -0
- package/dist/types/widgets/note/types.d.ts +8 -0
- package/dist/types/widgets/pie/config.d.ts +5 -0
- package/dist/types/widgets/pie/index.d.ts +3 -0
- package/dist/types/widgets/pie/skeleton.d.ts +1 -0
- package/dist/types/widgets/pie/style.d.ts +15 -0
- package/dist/types/widgets/pie/types.d.ts +9 -0
- package/dist/types/widgets/range/components/range-item.d.ts +2 -0
- package/dist/types/widgets/range/config.d.ts +6 -0
- package/dist/types/widgets/range/index.d.ts +6 -0
- package/dist/types/widgets/range/range-ui.d.ts +2 -0
- package/dist/types/widgets/range/serializer.d.ts +16 -0
- package/dist/types/widgets/range/serializer.test.d.ts +1 -0
- package/dist/types/widgets/range/skeleton.d.ts +1 -0
- package/dist/types/widgets/range/style.d.ts +2 -0
- package/dist/types/widgets/range/types.d.ts +33 -0
- package/dist/types/widgets/scatterplot/config.d.ts +5 -0
- package/dist/types/widgets/scatterplot/index.d.ts +3 -0
- package/dist/types/widgets/scatterplot/skeleton.d.ts +1 -0
- package/dist/types/widgets/scatterplot/style.d.ts +24 -0
- package/dist/types/widgets/scatterplot/types.d.ts +9 -0
- package/dist/types/widgets/selection-summary/index.d.ts +2 -0
- package/dist/types/widgets/selection-summary/selection-summary.d.ts +2 -0
- package/dist/types/widgets/selection-summary/style.d.ts +9 -0
- package/dist/types/widgets/selection-summary/types.d.ts +13 -0
- package/dist/types/widgets/skeleton-loader/index.d.ts +2 -0
- package/dist/types/widgets/skeleton-loader/skeleton-loader.d.ts +2 -0
- package/dist/types/widgets/skeleton-loader/types.d.ts +7 -0
- package/dist/types/widgets/spread/components/max-value.d.ts +2 -0
- package/dist/types/widgets/spread/components/min-value.d.ts +2 -0
- package/dist/types/widgets/spread/components/separator.d.ts +2 -0
- package/dist/types/widgets/spread/config.d.ts +10 -0
- package/dist/types/widgets/spread/index.d.ts +9 -0
- package/dist/types/widgets/spread/skeleton.d.ts +1 -0
- package/dist/types/widgets/spread/spread-ui.d.ts +2 -0
- package/dist/types/widgets/spread/style.d.ts +21 -0
- package/dist/types/widgets/spread/types.d.ts +40 -0
- package/dist/types/widgets/stores/index.d.ts +2 -0
- package/dist/types/widgets/stores/types.d.ts +165 -0
- package/dist/types/widgets/stores/widget-store.d.ts +39 -0
- package/dist/types/widgets/stores/widget-store.test.d.ts +1 -0
- package/dist/types/widgets/subheader/index.d.ts +2 -0
- package/dist/types/widgets/subheader/style.d.ts +19 -0
- package/dist/types/widgets/subheader/subheader.d.ts +2 -0
- package/dist/types/widgets/subheader/types.d.ts +10 -0
- package/dist/types/widgets/table/components/cell-header.d.ts +5 -0
- package/dist/types/widgets/table/components/cell.d.ts +16 -0
- package/dist/types/widgets/table/components/index.d.ts +4 -0
- package/dist/types/widgets/table/components/pagination-actions.d.ts +5 -0
- package/dist/types/widgets/table/components/pagination.d.ts +5 -0
- package/dist/types/widgets/table/components/row.d.ts +5 -0
- package/dist/types/widgets/table/config.d.ts +17 -0
- package/dist/types/widgets/table/helpers.d.ts +38 -0
- package/dist/types/widgets/table/helpers.test.d.ts +1 -0
- package/dist/types/widgets/table/hooks/index.d.ts +6 -0
- package/dist/types/widgets/table/hooks/use-pagination.d.ts +33 -0
- package/dist/types/widgets/table/hooks/use-pagination.test.d.ts +1 -0
- package/dist/types/widgets/table/hooks/use-selection.d.ts +30 -0
- package/dist/types/widgets/table/hooks/use-selection.test.d.ts +1 -0
- package/dist/types/widgets/table/hooks/use-sort.d.ts +22 -0
- package/dist/types/widgets/table/hooks/use-sort.test.d.ts +1 -0
- package/dist/types/widgets/table/index.d.ts +13 -0
- package/dist/types/widgets/table/serializer.d.ts +16 -0
- package/dist/types/widgets/table/skeleton.d.ts +10 -0
- package/dist/types/widgets/table/style.d.ts +33 -0
- package/dist/types/widgets/table/table-ui.d.ts +32 -0
- package/dist/types/widgets/table/types.d.ts +196 -0
- package/dist/types/widgets/timeseries/config.d.ts +5 -0
- package/dist/types/widgets/timeseries/index.d.ts +3 -0
- package/dist/types/widgets/timeseries/skeleton.d.ts +1 -0
- package/dist/types/widgets/timeseries/style.d.ts +38 -0
- package/dist/types/widgets/timeseries/types.d.ts +9 -0
- package/dist/types/widgets/toolbar-actions/index.d.ts +2 -0
- package/dist/types/widgets/toolbar-actions/styles.d.ts +37 -0
- package/dist/types/widgets/toolbar-actions/toolbar-actions.d.ts +8 -0
- package/dist/types/widgets/toolbar-actions/types.d.ts +45 -0
- package/dist/types/widgets/wrapper/components/actions.d.ts +2 -0
- package/dist/types/widgets/wrapper/components/options.d.ts +2 -0
- package/dist/types/widgets/wrapper/components/title.d.ts +6 -0
- package/dist/types/widgets/wrapper/index.d.ts +6 -0
- package/dist/types/widgets/wrapper/styles.d.ts +89 -0
- package/dist/types/widgets/wrapper/types.d.ts +37 -0
- package/dist/types/widgets/wrapper/wrapper-ui.d.ts +2 -0
- package/dist/types/widgets/wrapper/wrapper.d.ts +2 -0
- package/dist/use-widget-ref-B0aNCANx.js +19 -0
- package/dist/use-widget-ref-B0aNCANx.js.map +1 -0
- package/dist/utils-D3-eQyDR.js +144 -0
- package/dist/utils-D3-eQyDR.js.map +1 -0
- package/dist/widget-store-CB6Trp_0.js +131 -0
- package/dist/widget-store-CB6Trp_0.js.map +1 -0
- package/dist/widgets/actions.js +872 -0
- package/dist/widgets/actions.js.map +1 -0
- package/dist/widgets/bar.js +188 -0
- package/dist/widgets/bar.js.map +1 -0
- package/dist/widgets/category.js +427 -0
- package/dist/widgets/category.js.map +1 -0
- package/dist/widgets/echart.js +115 -0
- package/dist/widgets/echart.js.map +1 -0
- package/dist/widgets/error.js +5 -0
- package/dist/widgets/error.js.map +1 -0
- package/dist/widgets/formula.js +119 -0
- package/dist/widgets/formula.js.map +1 -0
- package/dist/widgets/histogram.js +186 -0
- package/dist/widgets/histogram.js.map +1 -0
- package/dist/widgets/loader.js +57 -0
- package/dist/widgets/loader.js.map +1 -0
- package/dist/widgets/markdown.js +127 -0
- package/dist/widgets/markdown.js.map +1 -0
- package/dist/widgets/no-data.js +5 -0
- package/dist/widgets/no-data.js.map +1 -0
- package/dist/widgets/note.js +5 -0
- package/dist/widgets/note.js.map +1 -0
- package/dist/widgets/pie.js +230 -0
- package/dist/widgets/pie.js.map +1 -0
- package/dist/widgets/range.js +217 -0
- package/dist/widgets/range.js.map +1 -0
- package/dist/widgets/scatterplot.js +233 -0
- package/dist/widgets/scatterplot.js.map +1 -0
- package/dist/widgets/selection-summary.js +40 -0
- package/dist/widgets/selection-summary.js.map +1 -0
- package/dist/widgets/skeleton-loader.js +24 -0
- package/dist/widgets/skeleton-loader.js.map +1 -0
- package/dist/widgets/spread.js +161 -0
- package/dist/widgets/spread.js.map +1 -0
- package/dist/widgets/stores.js +5 -0
- package/dist/widgets/stores.js.map +1 -0
- package/dist/widgets/subheader.js +52 -0
- package/dist/widgets/subheader.js.map +1 -0
- package/dist/widgets/table.js +672 -0
- package/dist/widgets/table.js.map +1 -0
- package/dist/widgets/timeseries.js +187 -0
- package/dist/widgets/timeseries.js.map +1 -0
- package/dist/widgets/toolbar-actions.js +6725 -0
- package/dist/widgets/toolbar-actions.js.map +1 -0
- package/dist/widgets/wrapper.js +295 -0
- package/dist/widgets/wrapper.js.map +1 -0
- package/dist/widgets.js +12 -1
- package/dist/widgets.js.map +1 -1
- package/package.json +114 -4
package/dist/components.js
CHANGED
|
@@ -1,803 +1,197 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
function e(u) {
|
|
17
|
-
return !!u && typeof u == "object";
|
|
18
|
-
}
|
|
19
|
-
function o(u) {
|
|
20
|
-
var m = Object.prototype.toString.call(u);
|
|
21
|
-
return m === "[object RegExp]" || m === "[object Date]" || r(u);
|
|
22
|
-
}
|
|
23
|
-
var l = typeof Symbol == "function" && Symbol.for, i = l ? Symbol.for("react.element") : 60103;
|
|
24
|
-
function r(u) {
|
|
25
|
-
return u.$$typeof === i;
|
|
26
|
-
}
|
|
27
|
-
function s(u) {
|
|
28
|
-
return Array.isArray(u) ? [] : {};
|
|
29
|
-
}
|
|
30
|
-
function a(u, m) {
|
|
31
|
-
return m.clone !== !1 && m.isMergeableObject(u) ? w(s(u), u, m) : u;
|
|
32
|
-
}
|
|
33
|
-
function c(u, m, g) {
|
|
34
|
-
return u.concat(m).map(function(M) {
|
|
35
|
-
return a(M, g);
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
function d(u, m) {
|
|
39
|
-
if (!m.customMerge)
|
|
40
|
-
return w;
|
|
41
|
-
var g = m.customMerge(u);
|
|
42
|
-
return typeof g == "function" ? g : w;
|
|
43
|
-
}
|
|
44
|
-
function f(u) {
|
|
45
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(u).filter(function(m) {
|
|
46
|
-
return Object.propertyIsEnumerable.call(u, m);
|
|
47
|
-
}) : [];
|
|
48
|
-
}
|
|
49
|
-
function h(u) {
|
|
50
|
-
return Object.keys(u).concat(f(u));
|
|
51
|
-
}
|
|
52
|
-
function p(u, m) {
|
|
53
|
-
try {
|
|
54
|
-
return m in u;
|
|
55
|
-
} catch {
|
|
56
|
-
return !1;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
function y(u, m) {
|
|
60
|
-
return p(u, m) && !(Object.hasOwnProperty.call(u, m) && Object.propertyIsEnumerable.call(u, m));
|
|
61
|
-
}
|
|
62
|
-
function x(u, m, g) {
|
|
63
|
-
var M = {};
|
|
64
|
-
return g.isMergeableObject(u) && h(u).forEach(function(v) {
|
|
65
|
-
M[v] = a(u[v], g);
|
|
66
|
-
}), h(m).forEach(function(v) {
|
|
67
|
-
y(u, v) || (p(u, v) && g.isMergeableObject(m[v]) ? M[v] = d(v, g)(u[v], m[v], g) : M[v] = a(m[v], g));
|
|
68
|
-
}), M;
|
|
69
|
-
}
|
|
70
|
-
function w(u, m, g) {
|
|
71
|
-
g = g || {}, g.arrayMerge = g.arrayMerge || c, g.isMergeableObject = g.isMergeableObject || t, g.cloneUnlessOtherwiseSpecified = a;
|
|
72
|
-
var M = Array.isArray(m), v = Array.isArray(u), I = M === v;
|
|
73
|
-
return I ? M ? g.arrayMerge(u, m, g) : x(u, m, g) : a(m, g);
|
|
74
|
-
}
|
|
75
|
-
w.all = function(m, g) {
|
|
76
|
-
if (!Array.isArray(m))
|
|
77
|
-
throw new Error("first argument should be an array");
|
|
78
|
-
return m.reduce(function(M, v) {
|
|
79
|
-
return w(M, v, g);
|
|
80
|
-
}, {});
|
|
81
|
-
};
|
|
82
|
-
var b = w;
|
|
83
|
-
return _e = b, _e;
|
|
84
|
-
}
|
|
85
|
-
var Ct = wt();
|
|
86
|
-
const Ce = /* @__PURE__ */ xt(Ct);
|
|
87
|
-
let Ge = 500;
|
|
88
|
-
function fe(t) {
|
|
89
|
-
const e = Z(10);
|
|
90
|
-
let o, l, i, r;
|
|
91
|
-
e[0] !== t ? ({
|
|
92
|
-
children: o,
|
|
93
|
-
title: r,
|
|
94
|
-
enterNextDelay: i,
|
|
95
|
-
...l
|
|
96
|
-
} = t, e[0] = t, e[1] = o, e[2] = l, e[3] = i, e[4] = r) : (o = e[1], l = e[2], i = e[3], r = e[4]);
|
|
97
|
-
const s = i === void 0 ? Ge : i;
|
|
98
|
-
let a;
|
|
99
|
-
return e[5] !== o || e[6] !== s || e[7] !== l || e[8] !== r ? (a = /* @__PURE__ */ n(et, { title: r, enterNextDelay: s, ...l, children: o }), e[5] = o, e[6] = s, e[7] = l, e[8] = r, e[9] = a) : a = e[9], a;
|
|
100
|
-
}
|
|
101
|
-
function pl(t) {
|
|
102
|
-
Ge = t;
|
|
103
|
-
}
|
|
104
|
-
function Mt(t) {
|
|
105
|
-
const e = Z(3);
|
|
106
|
-
let o;
|
|
107
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm16 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm-2.829 1a2.996 2.996 0 0 0 0 2H6.829a2.995 2.995 0 0 0 0-2h10.342Zm-2.463-5.707 3.998 4a3.013 3.013 0 0 0-1.414 1.414l-4-3.999a3.014 3.014 0 0 0 1.31-1.214l.106-.201ZM2.998 6.829a2.995 2.995 0 0 0 2.002 0v10.342a2.993 2.993 0 0 0-2.002 0V6.83ZM12 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm1.84-3.919c.464.483 1.09.81 1.79.896l-1.47 2.94a2.992 2.992 0 0 0-1.79-.894l1.47-2.942ZM16 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm9.171.998a2.994 2.994 0 0 0 0 2.002H6.829a2.995 2.995 0 0 0 0-2.002h6.342Z", fill: "currentColor" }), e[0] = o) : o = e[0];
|
|
108
|
-
let l;
|
|
109
|
-
return e[1] !== t ? (l = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: o }), e[1] = t, e[2] = l) : l = e[2], l;
|
|
110
|
-
}
|
|
111
|
-
function St(t) {
|
|
112
|
-
const e = Z(3);
|
|
113
|
-
let o;
|
|
114
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm16 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm-2.829 1a2.993 2.993 0 0 0-.17.974l-.001.052.007.183a3 3 0 0 0 .164.79H6.829a2.995 2.995 0 0 0 0-2h10.342ZM2.998 6.828a2.995 2.995 0 0 0 2.002 0V17.17a2.993 2.993 0 0 0-2.002 0V6.83Zm16.001 0a2.995 2.995 0 0 0 2 0V17.17a2.993 2.993 0 0 0-2 0V6.829ZM20 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm13.171.998a2.991 2.991 0 0 0-.17.976L17 4.026l.007.183a3 3 0 0 0 .164.79H6.829a2.995 2.995 0 0 0 0-2H17.17Z", fill: "currentColor" }), e[0] = o) : o = e[0];
|
|
115
|
-
let l;
|
|
116
|
-
return e[1] !== t ? (l = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: o }), e[1] = t, e[2] = l) : l = e[2], l;
|
|
117
|
-
}
|
|
118
|
-
function Tt(t) {
|
|
119
|
-
const e = Z(3);
|
|
120
|
-
let o;
|
|
121
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z", fill: "currentColor" }), e[0] = o) : o = e[0];
|
|
122
|
-
let l;
|
|
123
|
-
return e[1] !== t ? (l = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: o }), e[1] = t, e[2] = l) : l = e[2], l;
|
|
124
|
-
}
|
|
125
|
-
function At(t) {
|
|
126
|
-
const e = Z(3);
|
|
127
|
-
let o;
|
|
128
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 3c4.935 0 9 3.736 9 9l-.002.343-.012.668c-.012.438-.033.86-.062 1.266l-.05.597C20.498 18.767 19.267 21 17 21c-1.192 0-1.971-.341-2.988-1.122l-.472-.375c-.401-.319-.64-.473-.888-.566a4.938 4.938 0 0 0-.415-.13l-.34-.085-.398-.086-.456-.086-.66-.111-1.708-.273a9.112 9.112 0 0 1-.952-.206C5.46 17.301 3 14.954 3 12.015c0-1.508.485-2.995 1.436-4.458.355.585.906 1.04 1.562 1.272C5.328 9.916 5 10.977 5 12.015c0 1.889 1.78 3.588 3.282 4.025l.085.023.345.076.517.092 1.619.257.583.1.518.098.237.05.433.103c.272.07.512.143.73.224.434.161.783.373 1.235.718l.457.362c.806.646 1.24.857 1.959.857.893 0 1.63-1.518 1.895-4.45l.045-.585c.013-.2.024-.407.033-.62l.02-.655c.005-.224.007-.454.007-.69 0-4.12-3.133-7-7-7a1 1 0 1 1 0-2ZM7 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z", fill: "currentColor" }), e[0] = o) : o = e[0];
|
|
129
|
-
let l;
|
|
130
|
-
return e[1] !== t ? (l = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: o }), e[1] = t, e[2] = l) : l = e[2], l;
|
|
131
|
-
}
|
|
132
|
-
function _t(t) {
|
|
133
|
-
const e = Z(3);
|
|
134
|
-
let o;
|
|
135
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "m10.083 19.394.057.113a1 1 0 0 0 1.72.007l2.869-4.786 4.786-2.87a1 1 0 0 0-.121-1.777l-14-6c-.83-.356-1.669.483-1.313 1.313l6.002 14ZM6.905 6.904l9.903 4.244-3.322 1.995-.102.069a1 1 0 0 0-.242.274l-1.992 3.321-4.245-9.903Z", fill: "currentColor" }), e[0] = o) : o = e[0];
|
|
136
|
-
let l;
|
|
137
|
-
return e[1] !== t ? (l = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: o }), e[1] = t, e[2] = l) : l = e[2], l;
|
|
138
|
-
}
|
|
139
|
-
const Y = {
|
|
140
|
-
action: {
|
|
141
|
-
tooltip: {
|
|
142
|
-
active: "Click on the map to draw your spatial filter",
|
|
143
|
-
inactive: "Click on the map to draw your spatial filter"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
chip: {
|
|
147
|
-
tooltip: {
|
|
148
|
-
active: "Hide drawing",
|
|
149
|
-
inactive: "Show drawing"
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
options: {
|
|
153
|
-
mode: {
|
|
154
|
-
title: "Choose a drawing tool",
|
|
155
|
-
options: {
|
|
156
|
-
circle: "Circle",
|
|
157
|
-
lasso: "Lasso tool",
|
|
158
|
-
polygon: "Polygon",
|
|
159
|
-
rectangle: "Rectangle",
|
|
160
|
-
edit: "Edit feature"
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
noData: {
|
|
165
|
-
title: "Spatial filter not applied",
|
|
166
|
-
description: "Select a drawing or editing tool and click on the map to define your spatial filter"
|
|
167
|
-
},
|
|
168
|
-
actions: {
|
|
169
|
-
toggleAll: {
|
|
170
|
-
active: "Hide all",
|
|
171
|
-
inactive: "Show all"
|
|
172
|
-
},
|
|
173
|
-
deleteAll: "Remove all"
|
|
174
|
-
}
|
|
175
|
-
}, ml = {
|
|
176
|
-
polygon: {
|
|
177
|
-
icon: Mt
|
|
178
|
-
},
|
|
179
|
-
rectangle: {
|
|
180
|
-
icon: St
|
|
181
|
-
},
|
|
182
|
-
circle: {
|
|
183
|
-
icon: Tt
|
|
184
|
-
},
|
|
185
|
-
lasso: {
|
|
186
|
-
icon: At
|
|
187
|
-
},
|
|
188
|
-
edit: {
|
|
189
|
-
icon: _t
|
|
190
|
-
}
|
|
191
|
-
}, te = {
|
|
192
|
-
container: {
|
|
193
|
-
display: "flex",
|
|
194
|
-
flexDirection: "row",
|
|
195
|
-
alignItems: "center",
|
|
196
|
-
justifyContent: "flex-start",
|
|
197
|
-
overflow: "hidden",
|
|
198
|
-
"&.inline": {
|
|
199
|
-
flexDirection: "column",
|
|
200
|
-
alignItems: "flex-start",
|
|
201
|
-
gap: ({
|
|
202
|
-
spacing: t
|
|
203
|
-
}) => t(1)
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
actions: {
|
|
207
|
-
icon: {
|
|
208
|
-
width: ({
|
|
209
|
-
spacing: t
|
|
210
|
-
}) => t(4),
|
|
211
|
-
height: ({
|
|
212
|
-
spacing: t
|
|
213
|
-
}) => t(4),
|
|
214
|
-
borderRadius: 0,
|
|
215
|
-
".MuiTouchRipple-ripple .MuiTouchRipple-child": {
|
|
216
|
-
borderRadius: 0
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
options: {
|
|
221
|
-
menu: {
|
|
222
|
-
paddingTop: ({
|
|
223
|
-
spacing: t
|
|
224
|
-
}) => t(1),
|
|
225
|
-
"&.inline": {
|
|
226
|
-
boxShadow: "none",
|
|
227
|
-
backgroundColor: "transparent",
|
|
228
|
-
borderRadius: ({
|
|
229
|
-
spacing: t
|
|
230
|
-
}) => t(0.5),
|
|
231
|
-
"& .MuiDivider-root": {
|
|
232
|
-
height: ({
|
|
233
|
-
spacing: t
|
|
234
|
-
}) => t(4),
|
|
235
|
-
"&.MuiToggleButtonGroup-groupedHorizontal": {
|
|
236
|
-
height: ({
|
|
237
|
-
spacing: t
|
|
238
|
-
}) => t(4)
|
|
239
|
-
},
|
|
240
|
-
"&.MuiToggleButtonGroup-groupedVertical": {
|
|
241
|
-
height: "auto",
|
|
242
|
-
width: ({
|
|
243
|
-
spacing: t
|
|
244
|
-
}) => t(4),
|
|
245
|
-
margin: ({
|
|
246
|
-
spacing: t
|
|
247
|
-
}) => `${t(0.5, 0, 1)} !important`,
|
|
248
|
-
borderRadius: "0 !important"
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"& .MuiToggleButton-sizeSmall": {
|
|
252
|
-
margin: 0,
|
|
253
|
-
"&.MuiToggleButtonGroup-grouped:not(.MuiDivider-root)": {
|
|
254
|
-
margin: 0
|
|
255
|
-
},
|
|
256
|
-
"& + .MuiDivider-root.MuiToggleButtonGroup-groupedHorizontal": {
|
|
257
|
-
height: ({
|
|
258
|
-
spacing: t
|
|
259
|
-
}) => t(3)
|
|
260
|
-
},
|
|
261
|
-
"& + .MuiDivider-root.MuiToggleButtonGroup-groupedVertical": {
|
|
262
|
-
height: "auto",
|
|
263
|
-
width: ({
|
|
264
|
-
spacing: t
|
|
265
|
-
}) => t(3)
|
|
266
|
-
}
|
|
267
|
-
},
|
|
268
|
-
".MuiToggleButtonGroup-grouped:not(.MuiDivider-root)": {
|
|
269
|
-
margin: 0,
|
|
270
|
-
"&:first-of-type": {
|
|
271
|
-
marginLeft: 0
|
|
272
|
-
},
|
|
273
|
-
"&:not(:last-of-type)": {
|
|
274
|
-
marginRight: ({
|
|
275
|
-
spacing: t
|
|
276
|
-
}) => t(0.5)
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"&.MuiToggleButtonGroup-horizontal:not(.MuiDivider-root)": {
|
|
280
|
-
".MuiToggleButtonGroup-grouped": {
|
|
281
|
-
margin: ({
|
|
282
|
-
spacing: t
|
|
283
|
-
}) => t(0, 0.5)
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
"&.MuiToggleButtonGroup-vertical:not(.MuiDivider-root)": {
|
|
287
|
-
".MuiToggleButtonGroup-grouped": {
|
|
288
|
-
margin: ({
|
|
289
|
-
spacing: t
|
|
290
|
-
}) => t(0, 0, 0.5),
|
|
291
|
-
"&:not(:last-of-type)": {
|
|
292
|
-
marginRight: 0
|
|
293
|
-
},
|
|
294
|
-
"&:last-of-type": {
|
|
295
|
-
marginBottom: 0
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
icon: {
|
|
302
|
-
borderRadius: 0,
|
|
303
|
-
width: ({
|
|
304
|
-
spacing: t
|
|
305
|
-
}) => t(3)
|
|
306
|
-
},
|
|
307
|
-
title: {
|
|
308
|
-
paddingX: ({
|
|
309
|
-
spacing: t
|
|
310
|
-
}) => t(2),
|
|
311
|
-
paddingBottom: ({
|
|
312
|
-
spacing: t
|
|
313
|
-
}) => t(0.5),
|
|
314
|
-
"&.inline": {
|
|
315
|
-
paddingX: 0,
|
|
316
|
-
paddingBottom: 0
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
icons: {
|
|
320
|
-
color: ({
|
|
321
|
-
palette: t
|
|
322
|
-
}) => t.text.primary
|
|
323
|
-
},
|
|
324
|
-
more: {
|
|
325
|
-
width: ({
|
|
326
|
-
spacing: t
|
|
327
|
-
}) => t(4)
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
chip: {
|
|
331
|
-
container: {
|
|
332
|
-
display: "flex",
|
|
333
|
-
flexDirection: "row",
|
|
334
|
-
alignItems: "center",
|
|
335
|
-
gap: ({
|
|
336
|
-
spacing: t
|
|
337
|
-
}) => t(0.5),
|
|
338
|
-
overflowX: "auto",
|
|
339
|
-
scrollbarWidth: "none",
|
|
340
|
-
paddingX: ({
|
|
341
|
-
spacing: t
|
|
342
|
-
}) => t(1),
|
|
343
|
-
"&.inline": {
|
|
344
|
-
overflowX: "visible",
|
|
345
|
-
flexWrap: "wrap"
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
chip: {
|
|
349
|
-
marginRight: ({
|
|
350
|
-
spacing: t
|
|
351
|
-
}) => t(0.5)
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
};
|
|
355
|
-
function ze(t) {
|
|
356
|
-
const e = Z(18), {
|
|
357
|
-
chipProps: o,
|
|
358
|
-
value: l,
|
|
359
|
-
labels: i,
|
|
360
|
-
onChipToggle: r,
|
|
361
|
-
onDelete: s
|
|
362
|
-
} = t, a = l.visible ? "active" : "inactive", c = i?.tooltip?.[a] ?? Y.chip.tooltip[a], d = o?.TooltipProps;
|
|
363
|
-
let f;
|
|
364
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (f = {
|
|
365
|
-
...te.chip.chip
|
|
366
|
-
}, e[0] = f) : f = e[0];
|
|
367
|
-
const h = l.visible ? "secondary" : "default";
|
|
368
|
-
let p;
|
|
369
|
-
e[1] !== s || e[2] !== l.id ? (p = () => s(l.id), e[1] = s, e[2] = l.id, e[3] = p) : p = e[3];
|
|
370
|
-
let y;
|
|
371
|
-
e[4] !== r || e[5] !== l.id || e[6] !== l.visible ? (y = () => r(l.id, !l.visible), e[4] = r, e[5] = l.id, e[6] = l.visible, e[7] = y) : y = e[7];
|
|
372
|
-
const x = o?.ChipsProps;
|
|
373
|
-
let w;
|
|
374
|
-
e[8] !== h || e[9] !== p || e[10] !== y || e[11] !== x || e[12] !== l.label ? (w = /* @__PURE__ */ n(tt, { sx: f, color: h, size: "small", onDelete: p, label: l.label, onClick: y, ...x }), e[8] = h, e[9] = p, e[10] = y, e[11] = x, e[12] = l.label, e[13] = w) : w = e[13];
|
|
375
|
-
let b;
|
|
376
|
-
return e[14] !== c || e[15] !== d || e[16] !== w ? (b = /* @__PURE__ */ n(fe, { title: c, placement: "bottom", ...d, children: w }), e[14] = c, e[15] = d, e[16] = w, e[17] = b) : b = e[17], b;
|
|
377
|
-
}
|
|
378
|
-
function ue(t) {
|
|
379
|
-
const e = Z(44), {
|
|
380
|
-
enabled: o,
|
|
381
|
-
values: l,
|
|
382
|
-
actionProps: i,
|
|
383
|
-
chipProps: r,
|
|
384
|
-
labels: s,
|
|
385
|
-
modes: a,
|
|
386
|
-
modesMapping: c,
|
|
387
|
-
modeSelected: d,
|
|
388
|
-
PaperProps: f,
|
|
389
|
-
onActionToggle: h,
|
|
390
|
-
onChipToggle: p,
|
|
391
|
-
onDelete: y,
|
|
392
|
-
onChangeMode: x,
|
|
393
|
-
onAllChipToggle: w,
|
|
394
|
-
onAllDelete: b,
|
|
395
|
-
ChipsSlot: u,
|
|
396
|
-
ActionSlot: m,
|
|
397
|
-
SecondaryActionsSlot: g,
|
|
398
|
-
OptionsSlot: M
|
|
399
|
-
} = t;
|
|
400
|
-
let v;
|
|
401
|
-
e[0] !== l ? (v = l === void 0 ? [] : l, e[0] = l, e[1] = v) : v = e[1];
|
|
402
|
-
const I = v;
|
|
403
|
-
let A;
|
|
404
|
-
e[2] !== f ? (A = f === void 0 ? {} : f, e[2] = f, e[3] = A) : A = e[3];
|
|
405
|
-
let C, _;
|
|
406
|
-
e[4] !== A ? ({
|
|
407
|
-
sx: _,
|
|
408
|
-
...C
|
|
409
|
-
} = A, e[4] = A, e[5] = C, e[6] = _) : (C = e[5], _ = e[6]);
|
|
410
|
-
const T = u === void 0 ? ue.Chips : u, S = m === void 0 ? ue.Action : m, D = g === void 0 ? ue.SecondaryActions : g, O = M === void 0 ? ue.Options : M;
|
|
411
|
-
let V;
|
|
412
|
-
e[7] !== C || e[8] !== i || e[9] !== r || e[10] !== o || e[11] !== s || e[12] !== d || e[13] !== a || e[14] !== c || e[15] !== h || e[16] !== w || e[17] !== b || e[18] !== x || e[19] !== p || e[20] !== y || e[21] !== I ? (V = {
|
|
413
|
-
enabled: o,
|
|
414
|
-
values: I,
|
|
415
|
-
actionProps: i,
|
|
416
|
-
chipProps: r,
|
|
417
|
-
labels: s,
|
|
418
|
-
modes: a,
|
|
419
|
-
modesMapping: c,
|
|
420
|
-
modeSelected: d,
|
|
421
|
-
PaperProps: C,
|
|
422
|
-
onActionToggle: h,
|
|
423
|
-
onChipToggle: p,
|
|
424
|
-
onDelete: y,
|
|
425
|
-
onChangeMode: x,
|
|
426
|
-
onAllChipToggle: w,
|
|
427
|
-
onAllDelete: b
|
|
428
|
-
}, e[7] = C, e[8] = i, e[9] = r, e[10] = o, e[11] = s, e[12] = d, e[13] = a, e[14] = c, e[15] = h, e[16] = w, e[17] = b, e[18] = x, e[19] = p, e[20] = y, e[21] = I, e[22] = V) : V = e[22];
|
|
429
|
-
const L = V;
|
|
430
|
-
let P;
|
|
431
|
-
e[23] !== _ ? (P = {
|
|
432
|
-
...te.container,
|
|
433
|
-
..._
|
|
434
|
-
}, e[23] = _, e[24] = P) : P = e[24];
|
|
435
|
-
let R;
|
|
436
|
-
e[25] !== S || e[26] !== L ? (R = !!S && /* @__PURE__ */ n(S, { ...L }), e[25] = S, e[26] = L, e[27] = R) : R = e[27];
|
|
437
|
-
let j;
|
|
438
|
-
e[28] !== O || e[29] !== L ? (j = !!O && /* @__PURE__ */ n(Ne, { children: (W) => /* @__PURE__ */ n(O, { ...L, ...W }) }), e[28] = O, e[29] = L, e[30] = j) : j = e[30];
|
|
439
|
-
let $;
|
|
440
|
-
e[31] !== T || e[32] !== L ? ($ = !!T && /* @__PURE__ */ n(T, { ...L }), e[31] = T, e[32] = L, e[33] = $) : $ = e[33];
|
|
441
|
-
let k;
|
|
442
|
-
e[34] !== D || e[35] !== L ? (k = !!D && /* @__PURE__ */ n(D, { ...L }), e[34] = D, e[35] = L, e[36] = k) : k = e[36];
|
|
443
|
-
let B;
|
|
444
|
-
return e[37] !== C || e[38] !== P || e[39] !== R || e[40] !== j || e[41] !== $ || e[42] !== k ? (B = /* @__PURE__ */ E(we, { sx: P, ...C, children: [
|
|
445
|
-
R,
|
|
446
|
-
j,
|
|
447
|
-
$,
|
|
448
|
-
k
|
|
449
|
-
] }), e[37] = C, e[38] = P, e[39] = R, e[40] = j, e[41] = $, e[42] = k, e[43] = B) : B = e[43], B;
|
|
450
|
-
}
|
|
451
|
-
function Ot(t) {
|
|
452
|
-
const e = Z(12), {
|
|
453
|
-
actionProps: o,
|
|
454
|
-
labels: l,
|
|
455
|
-
enabled: i,
|
|
456
|
-
children: r,
|
|
457
|
-
onActionToggle: s
|
|
458
|
-
} = t, a = i ? "active" : "inactive", c = l?.tooltip?.[a] ?? Y.action.tooltip[a], d = o?.TooltipProps;
|
|
459
|
-
let f;
|
|
460
|
-
e[0] !== i || e[1] !== s ? (f = () => s(!i), e[0] = i, e[1] = s, e[2] = f) : f = e[2];
|
|
461
|
-
let h;
|
|
462
|
-
e[3] !== c || e[4] !== r || e[5] !== i || e[6] !== f ? (h = /* @__PURE__ */ n(xe, { value: "toggle", sx: te.actions.icon, onClick: f, "aria-label": c, selected: i, children: r }), e[3] = c, e[4] = r, e[5] = i, e[6] = f, e[7] = h) : h = e[7];
|
|
463
|
-
let p;
|
|
464
|
-
return e[8] !== c || e[9] !== d || e[10] !== h ? (p = /* @__PURE__ */ n(fe, { title: c, placement: "right", ...d, children: h }), e[8] = c, e[9] = d, e[10] = h, e[11] = p) : p = e[11], p;
|
|
465
|
-
}
|
|
466
|
-
function Ne({
|
|
467
|
-
TriggerProps: {
|
|
468
|
-
Icon: t = /* @__PURE__ */ n($e, {}),
|
|
469
|
-
sx: e
|
|
470
|
-
} = {},
|
|
471
|
-
MenuProps: o,
|
|
472
|
-
children: l
|
|
473
|
-
}) {
|
|
474
|
-
const [i, r] = oe(null), s = !!i, a = (d) => {
|
|
475
|
-
r(d.currentTarget);
|
|
476
|
-
}, c = () => {
|
|
477
|
-
r(null);
|
|
478
|
-
};
|
|
479
|
-
return /* @__PURE__ */ E(H, { children: [
|
|
480
|
-
/* @__PURE__ */ n(re, { sx: {
|
|
481
|
-
...te.options.icon,
|
|
482
|
-
...e
|
|
483
|
-
}, onClick: a, children: t }),
|
|
484
|
-
/* @__PURE__ */ n(je, { id: "lasso-menu", anchorEl: i, open: s, onClose: c, MenuListProps: {
|
|
485
|
-
"aria-labelledby": "lasso-button",
|
|
486
|
-
sx: te.options.menu
|
|
487
|
-
}, ...o, children: /* @__PURE__ */ n("div", { children: l({
|
|
488
|
-
onClose: c
|
|
489
|
-
}) }) })
|
|
490
|
-
] });
|
|
491
|
-
}
|
|
492
|
-
function Dt(t) {
|
|
493
|
-
const e = Z(5), {
|
|
494
|
-
data: o,
|
|
495
|
-
labels: l,
|
|
496
|
-
children: i
|
|
497
|
-
} = t;
|
|
498
|
-
if (o.length <= 1)
|
|
499
|
-
return null;
|
|
500
|
-
const r = l?.mode?.title ?? Y.options.mode.title;
|
|
501
|
-
let s;
|
|
502
|
-
e[0] !== r ? (s = /* @__PURE__ */ n(Q, { variant: "subtitle2", color: "text.secondary", sx: te.options.title, children: r }), e[0] = r, e[1] = s) : s = e[1];
|
|
503
|
-
let a;
|
|
504
|
-
return e[2] !== i || e[3] !== s ? (a = /* @__PURE__ */ E(H, { children: [
|
|
505
|
-
s,
|
|
506
|
-
i
|
|
507
|
-
] }), e[2] = i, e[3] = s, e[4] = a) : a = e[4], a;
|
|
508
|
-
}
|
|
509
|
-
function Pe({
|
|
510
|
-
data: t,
|
|
511
|
-
modeSelected: e,
|
|
512
|
-
labels: o,
|
|
513
|
-
onChangeMode: l,
|
|
514
|
-
onClose: i
|
|
515
|
-
}) {
|
|
516
|
-
const r = (s, a) => {
|
|
517
|
-
s.preventDefault(), l?.(a), i();
|
|
518
|
-
};
|
|
519
|
-
return t.map((s) => {
|
|
520
|
-
const c = (o?.mode?.options ?? Y.options.mode.options)[s.value];
|
|
521
|
-
return /* @__PURE__ */ E(ve, { disabled: !!s.disabled, onClick: (d) => r(d, s.value), selected: s.value === e, children: [
|
|
522
|
-
/* @__PURE__ */ n(Ze, { sx: te.options.icons, children: /* @__PURE__ */ n(De, { children: /* @__PURE__ */ n(s.icon, {}) }) }),
|
|
523
|
-
/* @__PURE__ */ n(ye, { children: c })
|
|
524
|
-
] }, s.value);
|
|
525
|
-
});
|
|
526
|
-
}
|
|
527
|
-
function It(t) {
|
|
528
|
-
const e = Z(8), {
|
|
1
|
+
import { s as ve, L as Be, a as ae } from "./lasso-tool-BwRzEW7k.js";
|
|
2
|
+
import { D as ol, c as nl, d as il, e as sl, f as rl, b as al, S as cl } from "./lasso-tool-BwRzEW7k.js";
|
|
3
|
+
import { jsxs as $, Fragment as ee, jsx as l } from "react/jsx-runtime";
|
|
4
|
+
import { c as F } from "react/compiler-runtime";
|
|
5
|
+
import { Divider as fe, Box as q, ToggleButton as ye, SvgIcon as Ie, ToggleButtonGroup as Le, Typography as Q, Button as xe, alpha as Ue, Paper as Ce, MenuItem as Te, ListItemIcon as Ve, ListItemText as Se, IconButton as re, Menu as Ze, DialogTitle as We, FormControlLabel as je, Radio as Fe, RadioGroup as Ge, FormControl as Ne, DialogContent as ze, DialogActions as He, Dialog as Xe, CircularProgress as qe, Grid as pe, Skeleton as we, Alert as Ke, ListItem as Ye, List as Qe, Drawer as Je, Popover as et, useTheme as tt, useMediaQuery as lt } from "@mui/material";
|
|
6
|
+
import { useState as ne, useRef as Pe, useEffect as Oe } from "react";
|
|
7
|
+
import { d as Me } from "./cjs-D4KH3azB.js";
|
|
8
|
+
import { T as he } from "./tooltip-BDnrRKrp.js";
|
|
9
|
+
import { s as ml } from "./tooltip-BDnrRKrp.js";
|
|
10
|
+
import { ArrowDropDown as ot, Close as Re, MyLocationOutlined as nt, LocationDisabledOutlined as it, CropFreeOutlined as st, AddOutlined as rt, RemoveOutlined as at } from "@mui/icons-material";
|
|
11
|
+
import { S as ct } from "./smart-tooltip-BEtBaIdz.js";
|
|
12
|
+
function qt(t) {
|
|
13
|
+
const e = F(59), {
|
|
14
|
+
enabled: s,
|
|
529
15
|
values: o,
|
|
530
|
-
|
|
531
|
-
onAllChipToggle: i,
|
|
532
|
-
onAllDelete: r
|
|
533
|
-
} = t;
|
|
534
|
-
if (!o?.length || o.length <= 1)
|
|
535
|
-
return null;
|
|
536
|
-
const a = o?.some(Lt) ? l?.actions?.toggleAll?.active ?? Y.actions.toggleAll.active : l?.actions?.toggleAll?.inactive ?? Y.actions.toggleAll.inactive, c = l?.actions?.deleteAll ?? Y.actions.deleteAll;
|
|
537
|
-
let d;
|
|
538
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ n(ae, { orientation: "vertical", flexItem: !0 }), e[0] = d) : d = e[0];
|
|
539
|
-
let f, h;
|
|
540
|
-
e[1] === Symbol.for("react.memo_cache_sentinel") ? (f = {
|
|
541
|
-
Icon: /* @__PURE__ */ n(Xe, {}),
|
|
542
|
-
sx: te.options.more
|
|
543
|
-
}, h = {
|
|
544
|
-
anchorOrigin: {
|
|
545
|
-
vertical: "bottom",
|
|
546
|
-
horizontal: "right"
|
|
547
|
-
},
|
|
548
|
-
transformOrigin: {
|
|
549
|
-
vertical: "top",
|
|
550
|
-
horizontal: "right"
|
|
551
|
-
}
|
|
552
|
-
}, e[1] = f, e[2] = h) : (f = e[1], h = e[2]);
|
|
553
|
-
let p;
|
|
554
|
-
return e[3] !== c || e[4] !== i || e[5] !== r || e[6] !== a ? (p = /* @__PURE__ */ E(H, { children: [
|
|
555
|
-
d,
|
|
556
|
-
/* @__PURE__ */ n(Ne, { TriggerProps: f, MenuProps: h, children: (y) => /* @__PURE__ */ E(H, { children: [
|
|
557
|
-
/* @__PURE__ */ n(ve, { color: "inherit", onClick: () => {
|
|
558
|
-
i?.(), y.onClose();
|
|
559
|
-
}, children: a }),
|
|
560
|
-
/* @__PURE__ */ n(ae, {}),
|
|
561
|
-
/* @__PURE__ */ n(ve, { color: "error", onClick: () => {
|
|
562
|
-
r?.(), y.onClose();
|
|
563
|
-
}, children: /* @__PURE__ */ n(Q, { variant: "body2", color: "error", children: c }) })
|
|
564
|
-
] }) })
|
|
565
|
-
] }), e[3] = c, e[4] = i, e[5] = r, e[6] = a, e[7] = p) : p = e[7], p;
|
|
566
|
-
}
|
|
567
|
-
function Lt(t) {
|
|
568
|
-
return t.visible;
|
|
569
|
-
}
|
|
570
|
-
ue.Action = function({
|
|
571
|
-
modes: e,
|
|
572
|
-
modesMapping: o,
|
|
573
|
-
modeSelected: l,
|
|
574
|
-
actionProps: i,
|
|
575
|
-
enabled: r,
|
|
576
|
-
labels: s,
|
|
577
|
-
onActionToggle: a
|
|
578
|
-
}) {
|
|
579
|
-
const c = Ue(() => Ce(e ?? {}, o ?? {}), [e, o]), d = (y) => a?.(y), h = (l ? l in (e ?? {}) : !1) ? l : Object.keys(c)[0], p = c[h];
|
|
580
|
-
return /* @__PURE__ */ n(Ot, { actionProps: i, labels: s?.action, enabled: r ?? !1, onActionToggle: d, children: p?.icon && /* @__PURE__ */ n(p.icon, {}) });
|
|
581
|
-
};
|
|
582
|
-
ue.Chips = function({
|
|
583
|
-
values: e,
|
|
584
|
-
labels: o,
|
|
585
|
-
chipProps: l,
|
|
586
|
-
onDelete: i,
|
|
587
|
-
onChipToggle: r,
|
|
588
|
-
onActionToggle: s
|
|
589
|
-
}) {
|
|
590
|
-
const a = (c) => (s?.(!1), i?.(c));
|
|
591
|
-
return !!e?.length && /* @__PURE__ */ n(K, { sx: te.chip.container, children: e?.map((c) => /* @__PURE__ */ n(ze, { value: c, labels: o?.chip, chipProps: l, onDelete: a, onChipToggle: (d, f) => r?.(d, f) }, c.id)) });
|
|
592
|
-
};
|
|
593
|
-
ue.SecondaryActions = It;
|
|
594
|
-
ue.Options = function({
|
|
595
|
-
values: e,
|
|
596
|
-
modes: o,
|
|
597
|
-
modesMapping: l,
|
|
598
|
-
modeSelected: i,
|
|
599
|
-
labels: r,
|
|
600
|
-
onChangeMode: s,
|
|
601
|
-
...a
|
|
602
|
-
}) {
|
|
603
|
-
const c = Ue(() => Ce(o ?? {}, l ?? {}), [o, l]), {
|
|
604
|
-
edit: d,
|
|
605
|
-
...f
|
|
606
|
-
} = c, p = (i ? i in (o ?? {}) : !1) ? i : Object.keys(c)[0], y = Object.values(f), x = (w) => s?.(w);
|
|
607
|
-
return /* @__PURE__ */ E(H, { children: [
|
|
608
|
-
/* @__PURE__ */ n(Dt, { data: y, labels: r?.options, children: /* @__PURE__ */ n(Pe, { ...a, labels: r?.options, data: y, modeSelected: p, onChangeMode: x }) }),
|
|
609
|
-
!!d && /* @__PURE__ */ E(H, { children: [
|
|
610
|
-
/* @__PURE__ */ n(ae, {}),
|
|
611
|
-
/* @__PURE__ */ n(Pe, { ...a, labels: r?.options, data: [{
|
|
612
|
-
...d,
|
|
613
|
-
disabled: !e?.length
|
|
614
|
-
}], modeSelected: p, onChangeMode: x })
|
|
615
|
-
] })
|
|
616
|
-
] });
|
|
617
|
-
};
|
|
618
|
-
function gl(t) {
|
|
619
|
-
const e = Z(59), {
|
|
620
|
-
enabled: o,
|
|
621
|
-
values: l,
|
|
622
|
-
chipProps: i,
|
|
16
|
+
chipProps: n,
|
|
623
17
|
labels: r,
|
|
624
|
-
modes:
|
|
18
|
+
modes: i,
|
|
625
19
|
modesMapping: a,
|
|
626
20
|
modeSelected: c,
|
|
627
21
|
BoxProps: d,
|
|
628
|
-
onChipToggle:
|
|
629
|
-
onDelete:
|
|
630
|
-
onChangeMode:
|
|
631
|
-
onAllChipToggle:
|
|
632
|
-
onAllDelete:
|
|
22
|
+
onChipToggle: m,
|
|
23
|
+
onDelete: u,
|
|
24
|
+
onChangeMode: f,
|
|
25
|
+
onAllChipToggle: I,
|
|
26
|
+
onAllDelete: v
|
|
633
27
|
} = t;
|
|
634
|
-
let
|
|
635
|
-
e[0] !==
|
|
636
|
-
const
|
|
637
|
-
let
|
|
638
|
-
e[2] !== d ? (
|
|
639
|
-
let
|
|
640
|
-
e[4] !==
|
|
641
|
-
sx:
|
|
642
|
-
...
|
|
643
|
-
} =
|
|
644
|
-
let
|
|
645
|
-
e[7] !==
|
|
646
|
-
const
|
|
647
|
-
let
|
|
648
|
-
e[10] !==
|
|
649
|
-
edit:
|
|
650
|
-
...
|
|
651
|
-
} =
|
|
652
|
-
let
|
|
653
|
-
e[13] !==
|
|
654
|
-
const
|
|
655
|
-
let
|
|
656
|
-
e[15] !==
|
|
657
|
-
|
|
658
|
-
}, e[15] =
|
|
659
|
-
const
|
|
660
|
-
let
|
|
661
|
-
e[17] !==
|
|
662
|
-
const
|
|
663
|
-
let
|
|
664
|
-
e[19] !==
|
|
665
|
-
...
|
|
666
|
-
...
|
|
667
|
-
}, e[19] =
|
|
668
|
-
const
|
|
669
|
-
let
|
|
670
|
-
e[21] !==
|
|
28
|
+
let k;
|
|
29
|
+
e[0] !== o ? (k = o === void 0 ? [] : o, e[0] = o, e[1] = k) : k = e[1];
|
|
30
|
+
const p = k;
|
|
31
|
+
let g;
|
|
32
|
+
e[2] !== d ? (g = d === void 0 ? {} : d, e[2] = d, e[3] = g) : g = e[3];
|
|
33
|
+
let S, A;
|
|
34
|
+
e[4] !== g ? ({
|
|
35
|
+
sx: A,
|
|
36
|
+
...S
|
|
37
|
+
} = g, e[4] = g, e[5] = S, e[6] = A) : (S = e[5], A = e[6]);
|
|
38
|
+
let _;
|
|
39
|
+
e[7] !== i || e[8] !== a ? (_ = Me(i, a), e[7] = i, e[8] = a, e[9] = _) : _ = e[9];
|
|
40
|
+
const C = _;
|
|
41
|
+
let D, M;
|
|
42
|
+
e[10] !== C ? ({
|
|
43
|
+
edit: M,
|
|
44
|
+
...D
|
|
45
|
+
} = C, e[10] = C, e[11] = D, e[12] = M) : (D = e[11], M = e[12]);
|
|
46
|
+
let h;
|
|
47
|
+
e[13] !== u ? (h = (K) => u(K), e[13] = u, e[14] = h) : h = e[14];
|
|
48
|
+
const T = h;
|
|
49
|
+
let y;
|
|
50
|
+
e[15] !== f ? (y = (K, ie) => {
|
|
51
|
+
K.preventDefault(), f?.(ie);
|
|
52
|
+
}, e[15] = f, e[16] = y) : y = e[16];
|
|
53
|
+
const b = y, x = (c ?? "") in i ? c : Object.keys(C)[0], Z = s ? C[x] : null;
|
|
54
|
+
let U;
|
|
55
|
+
e[17] !== D ? (U = Object.values(D), e[17] = D, e[18] = U) : U = e[18];
|
|
56
|
+
const L = U;
|
|
57
|
+
let P;
|
|
58
|
+
e[19] !== A ? (P = {
|
|
59
|
+
...ve.container,
|
|
60
|
+
...A
|
|
61
|
+
}, e[19] = A, e[20] = P) : P = e[20];
|
|
62
|
+
const V = r?.options, E = Z?.value, R = r?.options;
|
|
63
|
+
let O;
|
|
64
|
+
e[21] !== L || e[22] !== R ? (O = /* @__PURE__ */ l(Ae, { labels: R, data: L }), e[21] = L, e[22] = R, e[23] = O) : O = e[23];
|
|
671
65
|
let W;
|
|
672
|
-
e[24] !==
|
|
673
|
-
/* @__PURE__ */
|
|
674
|
-
/* @__PURE__ */
|
|
675
|
-
...
|
|
676
|
-
disabled: !
|
|
66
|
+
e[24] !== M || e[25] !== r?.options || e[26] !== p.length ? (W = !!M && /* @__PURE__ */ $(ee, { children: [
|
|
67
|
+
/* @__PURE__ */ l(fe, { orientation: "vertical" }),
|
|
68
|
+
/* @__PURE__ */ l(Ae, { labels: r?.options, data: [{
|
|
69
|
+
...M,
|
|
70
|
+
disabled: !p.length
|
|
677
71
|
}] })
|
|
678
|
-
] }), e[24] =
|
|
679
|
-
let z;
|
|
680
|
-
e[28] !== S || e[29] !== $ || e[30] !== B || e[31] !== W ? (z = /* @__PURE__ */ E(Ve, { value: $, exclusive: !0, className: "inline", sx: te.options.menu, onChange: S, children: [
|
|
681
|
-
B,
|
|
682
|
-
W
|
|
683
|
-
] }), e[28] = S, e[29] = $, e[30] = B, e[31] = W, e[32] = z) : z = e[32];
|
|
72
|
+
] }), e[24] = M, e[25] = r?.options, e[26] = p.length, e[27] = W) : W = e[27];
|
|
684
73
|
let G;
|
|
685
|
-
e[
|
|
74
|
+
e[28] !== b || e[29] !== E || e[30] !== O || e[31] !== W ? (G = /* @__PURE__ */ $(Le, { value: E, exclusive: !0, className: "inline", sx: ve.options.menu, onChange: b, children: [
|
|
75
|
+
O,
|
|
76
|
+
W
|
|
77
|
+
] }), e[28] = b, e[29] = E, e[30] = O, e[31] = W, e[32] = G) : G = e[32];
|
|
78
|
+
let j;
|
|
79
|
+
e[33] !== L || e[34] !== V || e[35] !== G ? (j = /* @__PURE__ */ l(dt, { data: L, labels: V, children: G }), e[33] = L, e[34] = V, e[35] = G, e[36] = j) : j = e[36];
|
|
686
80
|
let N;
|
|
687
|
-
e[37] === Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */
|
|
688
|
-
const
|
|
81
|
+
e[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ l(fe, { flexItem: !0 }), e[37] = N) : N = e[37];
|
|
82
|
+
const z = !!p.length, B = r?.noData;
|
|
83
|
+
let H;
|
|
84
|
+
e[38] !== z || e[39] !== B ? (H = /* @__PURE__ */ l(mt, { hasValues: z, labels: B }), e[38] = z, e[39] = B, e[40] = H) : H = e[40];
|
|
689
85
|
let X;
|
|
690
|
-
e[
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
86
|
+
e[41] !== n || e[42] !== T || e[43] !== r?.chip || e[44] !== m || e[45] !== p ? (X = !!p.length && /* @__PURE__ */ l(q, { sx: ve.chip.container, className: "inline", children: p.map((K) => /* @__PURE__ */ l(Be, { value: K, labels: r?.chip, chipProps: n, onDelete: T, onChipToggle: m }, K.id)) }), e[41] = n, e[42] = T, e[43] = r?.chip, e[44] = m, e[45] = p, e[46] = X) : X = e[46];
|
|
87
|
+
const te = r?.actions;
|
|
88
|
+
let J;
|
|
89
|
+
e[47] !== I || e[48] !== v || e[49] !== te || e[50] !== p ? (J = /* @__PURE__ */ l(ut, { values: p, labels: te, onAllChipToggle: I, onAllDelete: v }), e[47] = I, e[48] = v, e[49] = te, e[50] = p, e[51] = J) : J = e[51];
|
|
694
90
|
let le;
|
|
695
|
-
e[
|
|
696
|
-
|
|
697
|
-
return e[52] !== m || e[53] !== G || e[54] !== X || e[55] !== q || e[56] !== le || e[57] !== R ? (ie = /* @__PURE__ */ E(K, { sx: R, ...m, className: "inline", children: [
|
|
698
|
-
G,
|
|
91
|
+
return e[52] !== S || e[53] !== j || e[54] !== H || e[55] !== X || e[56] !== J || e[57] !== P ? (le = /* @__PURE__ */ $(q, { sx: P, ...S, className: "inline", children: [
|
|
92
|
+
j,
|
|
699
93
|
N,
|
|
94
|
+
H,
|
|
700
95
|
X,
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
] }), e[52] = m, e[53] = G, e[54] = X, e[55] = q, e[56] = le, e[57] = R, e[58] = ie) : ie = e[58], ie;
|
|
96
|
+
J
|
|
97
|
+
] }), e[52] = S, e[53] = j, e[54] = H, e[55] = X, e[56] = J, e[57] = P, e[58] = le) : le = e[58], le;
|
|
704
98
|
}
|
|
705
|
-
function
|
|
706
|
-
const e =
|
|
707
|
-
data:
|
|
708
|
-
labels:
|
|
709
|
-
children:
|
|
99
|
+
function dt(t) {
|
|
100
|
+
const e = F(5), {
|
|
101
|
+
data: s,
|
|
102
|
+
labels: o,
|
|
103
|
+
children: n
|
|
710
104
|
} = t;
|
|
711
|
-
if (
|
|
105
|
+
if (s.length <= 1)
|
|
712
106
|
return null;
|
|
713
|
-
const r =
|
|
714
|
-
let
|
|
715
|
-
e[0] !== r ? (
|
|
107
|
+
const r = o?.mode?.title ?? ae.options.mode.title;
|
|
108
|
+
let i;
|
|
109
|
+
e[0] !== r ? (i = /* @__PURE__ */ l(Q, { variant: "subtitle2", color: "text.secondary", sx: ve.options.title, className: "inline", children: r }), e[0] = r, e[1] = i) : i = e[1];
|
|
716
110
|
let a;
|
|
717
|
-
return e[2] !==
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
] }), e[2] =
|
|
111
|
+
return e[2] !== n || e[3] !== i ? (a = /* @__PURE__ */ $(ee, { children: [
|
|
112
|
+
i,
|
|
113
|
+
n
|
|
114
|
+
] }), e[2] = n, e[3] = i, e[4] = a) : a = e[4], a;
|
|
721
115
|
}
|
|
722
|
-
function
|
|
116
|
+
function Ae({
|
|
723
117
|
data: t,
|
|
724
118
|
labels: e
|
|
725
119
|
}) {
|
|
726
|
-
return t.map((
|
|
727
|
-
const
|
|
728
|
-
return /* @__PURE__ */
|
|
120
|
+
return t.map((s) => {
|
|
121
|
+
const n = (e?.mode?.options ?? ae.options.mode.options)[s.value];
|
|
122
|
+
return /* @__PURE__ */ l(he, { title: n, placement: "bottom", children: /* @__PURE__ */ l(ye, { disabled: !!s.disabled, value: s.value, "aria-label": s.value, children: /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ l(s.icon, {}) }) }) }, s.value);
|
|
729
123
|
});
|
|
730
124
|
}
|
|
731
|
-
function
|
|
732
|
-
const e =
|
|
733
|
-
hasValues:
|
|
734
|
-
labels:
|
|
125
|
+
function mt(t) {
|
|
126
|
+
const e = F(7), {
|
|
127
|
+
hasValues: s,
|
|
128
|
+
labels: o
|
|
735
129
|
} = t;
|
|
736
|
-
if (
|
|
130
|
+
if (s)
|
|
737
131
|
return null;
|
|
738
|
-
const
|
|
739
|
-
let
|
|
740
|
-
e[0] !==
|
|
132
|
+
const n = o?.title ?? ae.noData.title, r = o?.description ?? ae.noData.description;
|
|
133
|
+
let i;
|
|
134
|
+
e[0] !== n ? (i = /* @__PURE__ */ l(Q, { variant: "body1", color: "textSecondary", children: n }), e[0] = n, e[1] = i) : i = e[1];
|
|
741
135
|
let a;
|
|
742
|
-
e[2] !== r ? (a = /* @__PURE__ */
|
|
136
|
+
e[2] !== r ? (a = /* @__PURE__ */ l(Q, { variant: "body2", color: "textSecondary", children: r }), e[2] = r, e[3] = a) : a = e[3];
|
|
743
137
|
let c;
|
|
744
|
-
return e[4] !==
|
|
745
|
-
|
|
138
|
+
return e[4] !== i || e[5] !== a ? (c = /* @__PURE__ */ $(ee, { children: [
|
|
139
|
+
i,
|
|
746
140
|
a
|
|
747
|
-
] }), e[4] =
|
|
141
|
+
] }), e[4] = i, e[5] = a, e[6] = c) : c = e[6], c;
|
|
748
142
|
}
|
|
749
|
-
function
|
|
750
|
-
const e =
|
|
751
|
-
values:
|
|
752
|
-
labels:
|
|
753
|
-
onAllChipToggle:
|
|
143
|
+
function ut(t) {
|
|
144
|
+
const e = F(13), {
|
|
145
|
+
values: s,
|
|
146
|
+
labels: o,
|
|
147
|
+
onAllChipToggle: n,
|
|
754
148
|
onAllDelete: r
|
|
755
149
|
} = t;
|
|
756
|
-
if (
|
|
150
|
+
if (s.length <= 1)
|
|
757
151
|
return null;
|
|
758
|
-
const a =
|
|
152
|
+
const a = s.some(ft) ? o?.toggleAll?.active ?? ae.actions.toggleAll.active : o?.toggleAll?.inactive ?? ae.actions.toggleAll.inactive, c = o?.deleteAll ?? ae.actions.deleteAll;
|
|
759
153
|
let d;
|
|
760
|
-
e[0] !==
|
|
154
|
+
e[0] !== n ? (d = () => n(), e[0] = n, e[1] = d) : d = e[1];
|
|
155
|
+
let m;
|
|
156
|
+
e[2] !== d || e[3] !== a ? (m = /* @__PURE__ */ l(xe, { color: "inherit", onClick: d, children: a }), e[2] = d, e[3] = a, e[4] = m) : m = e[4];
|
|
157
|
+
let u;
|
|
158
|
+
e[5] !== r ? (u = () => r(), e[5] = r, e[6] = u) : u = e[6];
|
|
761
159
|
let f;
|
|
762
|
-
e[
|
|
763
|
-
let
|
|
764
|
-
e[
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
return e[10] !== f || e[11] !== p ? (y = /* @__PURE__ */ E(K, { children: [
|
|
769
|
-
f,
|
|
770
|
-
p
|
|
771
|
-
] }), e[10] = f, e[11] = p, e[12] = y) : y = e[12], y;
|
|
160
|
+
e[7] !== c || e[8] !== u ? (f = /* @__PURE__ */ l(xe, { color: "error", onClick: u, children: c }), e[7] = c, e[8] = u, e[9] = f) : f = e[9];
|
|
161
|
+
let I;
|
|
162
|
+
return e[10] !== m || e[11] !== f ? (I = /* @__PURE__ */ $(q, { children: [
|
|
163
|
+
m,
|
|
164
|
+
f
|
|
165
|
+
] }), e[10] = m, e[11] = f, e[12] = I) : I = e[12], I;
|
|
772
166
|
}
|
|
773
|
-
function
|
|
167
|
+
function ft(t) {
|
|
774
168
|
return t.visible;
|
|
775
169
|
}
|
|
776
|
-
function
|
|
777
|
-
const e =
|
|
170
|
+
function pt(t) {
|
|
171
|
+
const e = F(3);
|
|
172
|
+
let s;
|
|
173
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ l("path", { fill: "currentColor", d: "M3 13.5c-.413 0-.766-.147-1.06-.44A1.445 1.445 0 0 1 1.5 12V6c0-.412.147-.766.44-1.06.294-.293.647-.44 1.06-.44h12c.412 0 .766.147 1.06.44.293.294.44.647.44 1.06v6c0 .412-.147.766-.44 1.06-.294.293-.647.44-1.06.44H3ZM3 12h12V6h-2.25v3h-1.5V6h-1.5v3h-1.5V6h-1.5v3h-1.5V6H3v6Z" }), e[0] = s) : s = e[0];
|
|
778
174
|
let o;
|
|
779
|
-
e[
|
|
780
|
-
let l;
|
|
781
|
-
return e[1] !== t ? (l = /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children: o }), e[1] = t, e[2] = l) : l = e[2], l;
|
|
175
|
+
return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children: s }), e[1] = t, e[2] = o) : o = e[2], o;
|
|
782
176
|
}
|
|
783
|
-
function
|
|
784
|
-
const e =
|
|
177
|
+
function ht(t) {
|
|
178
|
+
const e = F(3);
|
|
179
|
+
let s;
|
|
180
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ l("path", { fill: "currentColor", fillRule: "evenodd", d: "M9 1.5a7.5 7.5 0 1 1 0 15 7.5 7.5 0 0 1 0-15ZM9 3a6 6 0 1 0 0 12A6 6 0 0 0 9 3Zm0 4.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z", clipRule: "evenodd" }), e[0] = s) : s = e[0];
|
|
785
181
|
let o;
|
|
786
|
-
e[
|
|
787
|
-
let l;
|
|
788
|
-
return e[1] !== t ? (l = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: o }), e[1] = t, e[2] = l) : l = e[2], l;
|
|
182
|
+
return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: s }), e[1] = t, e[2] = o) : o = e[2], o;
|
|
789
183
|
}
|
|
790
|
-
function
|
|
791
|
-
const e =
|
|
792
|
-
let
|
|
793
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
794
|
-
let
|
|
795
|
-
return e[2] !== t ? (
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
] }), e[2] = t, e[3] =
|
|
184
|
+
function gt(t) {
|
|
185
|
+
const e = F(4);
|
|
186
|
+
let s, o;
|
|
187
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ l("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 13.5v-9h9v9h-9Zm.75-8.25h7.5v7.5h-7.5v-7.5Z", clipRule: "evenodd" }), o = /* @__PURE__ */ l("path", { fill: "#2C3032", fillRule: "evenodd", d: "M1.5 3A1.5 1.5 0 0 1 3 1.5h12A1.5 1.5 0 0 1 16.5 3v12a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 15V3ZM3 3h12v12H3V3Z", clipRule: "evenodd" }), e[0] = s, e[1] = o) : (s = e[0], o = e[1]);
|
|
188
|
+
let n;
|
|
189
|
+
return e[2] !== t ? (n = /* @__PURE__ */ $("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: [
|
|
190
|
+
s,
|
|
191
|
+
o
|
|
192
|
+
] }), e[2] = t, e[3] = n) : n = e[3], n;
|
|
799
193
|
}
|
|
800
|
-
const
|
|
194
|
+
const oe = {
|
|
801
195
|
action: {
|
|
802
196
|
tooltip: {
|
|
803
197
|
active: "Click on the map to start measuring",
|
|
@@ -849,7 +243,7 @@ const se = {
|
|
|
849
243
|
}
|
|
850
244
|
}
|
|
851
245
|
}
|
|
852
|
-
},
|
|
246
|
+
}, bt = {
|
|
853
247
|
"m-km": {
|
|
854
248
|
short: "m-km"
|
|
855
249
|
},
|
|
@@ -877,17 +271,17 @@ const se = {
|
|
|
877
271
|
feet: {
|
|
878
272
|
short: "ft"
|
|
879
273
|
}
|
|
880
|
-
},
|
|
274
|
+
}, vt = {
|
|
881
275
|
distance: {
|
|
882
|
-
icon: /* @__PURE__ */
|
|
276
|
+
icon: /* @__PURE__ */ l(pt, {})
|
|
883
277
|
},
|
|
884
278
|
buffer: {
|
|
885
|
-
icon: /* @__PURE__ */
|
|
279
|
+
icon: /* @__PURE__ */ l(ht, {})
|
|
886
280
|
},
|
|
887
281
|
area: {
|
|
888
|
-
icon: /* @__PURE__ */
|
|
282
|
+
icon: /* @__PURE__ */ l(gt, {})
|
|
889
283
|
}
|
|
890
|
-
},
|
|
284
|
+
}, Y = {
|
|
891
285
|
container: {
|
|
892
286
|
display: "flex",
|
|
893
287
|
flexDirection: "row",
|
|
@@ -952,7 +346,7 @@ const se = {
|
|
|
952
346
|
}) => t.primary.main,
|
|
953
347
|
backgroundColor: ({
|
|
954
348
|
palette: t
|
|
955
|
-
}) =>
|
|
349
|
+
}) => Ue(t.primary.main, 0.08)
|
|
956
350
|
},
|
|
957
351
|
modal: {
|
|
958
352
|
toggle: {
|
|
@@ -967,33 +361,26 @@ const se = {
|
|
|
967
361
|
marginBottom: ({
|
|
968
362
|
spacing: t
|
|
969
363
|
}) => t(1),
|
|
970
|
-
".MuiToggleButtonGroup-grouped":
|
|
971
|
-
typography:
|
|
972
|
-
}) => ({
|
|
973
|
-
...t.caption,
|
|
364
|
+
".MuiToggleButtonGroup-grouped": {
|
|
365
|
+
typography: "caption",
|
|
974
366
|
fontWeight: 500,
|
|
975
367
|
margin: 0,
|
|
976
368
|
"&:first-of-type:not(.MuiDivider-root)": {
|
|
977
369
|
marginLeft: 0
|
|
978
370
|
}
|
|
979
|
-
}
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
subtitle: {
|
|
374
|
+
typography: "body2",
|
|
375
|
+
color: ({
|
|
376
|
+
palette: t
|
|
377
|
+
}) => t.text.secondary
|
|
980
378
|
},
|
|
981
|
-
subtitle: ({
|
|
982
|
-
typography: t,
|
|
983
|
-
palette: e
|
|
984
|
-
}) => ({
|
|
985
|
-
...t.body2,
|
|
986
|
-
color: e.text.secondary
|
|
987
|
-
}),
|
|
988
379
|
optionsGroup: {
|
|
989
380
|
marginLeft: ({
|
|
990
381
|
spacing: t
|
|
991
382
|
}) => t(1),
|
|
992
|
-
"
|
|
993
|
-
typography: t
|
|
994
|
-
}) => ({
|
|
995
|
-
...t.body2
|
|
996
|
-
})
|
|
383
|
+
typography: "body2"
|
|
997
384
|
},
|
|
998
385
|
title: {
|
|
999
386
|
display: "flex",
|
|
@@ -1019,313 +406,313 @@ const se = {
|
|
|
1019
406
|
}
|
|
1020
407
|
}
|
|
1021
408
|
};
|
|
1022
|
-
function
|
|
1023
|
-
const e =
|
|
1024
|
-
enabled:
|
|
1025
|
-
actionProps:
|
|
1026
|
-
labels:
|
|
409
|
+
function Kt(t) {
|
|
410
|
+
const e = F(46), {
|
|
411
|
+
enabled: s,
|
|
412
|
+
actionProps: o,
|
|
413
|
+
labels: n,
|
|
1027
414
|
modes: r,
|
|
1028
|
-
modesMapping:
|
|
415
|
+
modesMapping: i,
|
|
1029
416
|
unitsMapping: a,
|
|
1030
417
|
modeSelected: c,
|
|
1031
418
|
PaperProps: d,
|
|
1032
|
-
units:
|
|
1033
|
-
unitSelected:
|
|
1034
|
-
onActionToggle:
|
|
1035
|
-
onChangeMode:
|
|
1036
|
-
onChangeUnit:
|
|
1037
|
-
} = t,
|
|
1038
|
-
let
|
|
1039
|
-
e[0] !== d ? (
|
|
1040
|
-
let
|
|
1041
|
-
e[2] !==
|
|
1042
|
-
sx:
|
|
1043
|
-
...
|
|
1044
|
-
} =
|
|
1045
|
-
let
|
|
1046
|
-
e[5] !==
|
|
1047
|
-
const
|
|
1048
|
-
let
|
|
1049
|
-
e[7] !== r || e[8] !==
|
|
1050
|
-
const
|
|
1051
|
-
let
|
|
1052
|
-
e[10] !==
|
|
1053
|
-
const
|
|
1054
|
-
let
|
|
1055
|
-
e[14] !==
|
|
1056
|
-
[
|
|
1057
|
-
}, e[14] =
|
|
1058
|
-
const
|
|
1059
|
-
let
|
|
1060
|
-
if (e[18] !==
|
|
1061
|
-
let
|
|
1062
|
-
e[21] !==
|
|
1063
|
-
...
|
|
1064
|
-
...
|
|
1065
|
-
}), e[21] =
|
|
419
|
+
units: m,
|
|
420
|
+
unitSelected: u,
|
|
421
|
+
onActionToggle: f,
|
|
422
|
+
onChangeMode: I,
|
|
423
|
+
onChangeUnit: v
|
|
424
|
+
} = t, k = n === void 0 ? oe : n, p = i === void 0 ? vt : i, g = a === void 0 ? bt : a;
|
|
425
|
+
let S;
|
|
426
|
+
e[0] !== d ? (S = d === void 0 ? {} : d, e[0] = d, e[1] = S) : S = e[1];
|
|
427
|
+
let A, _;
|
|
428
|
+
e[2] !== S ? ({
|
|
429
|
+
sx: _,
|
|
430
|
+
...A
|
|
431
|
+
} = S, e[2] = S, e[3] = A, e[4] = _) : (A = e[3], _ = e[4]);
|
|
432
|
+
let C;
|
|
433
|
+
e[5] !== f ? (C = (B) => f(!!B), e[5] = f, e[6] = C) : C = e[6];
|
|
434
|
+
const D = C;
|
|
435
|
+
let M;
|
|
436
|
+
e[7] !== r || e[8] !== p ? (M = Me(r, p), e[7] = r, e[8] = p, e[9] = M) : M = e[9];
|
|
437
|
+
const h = M, T = (c ?? "") in h;
|
|
438
|
+
let y;
|
|
439
|
+
e[10] !== h || e[11] !== T || e[12] !== c ? (y = T ? c : Object.keys(h)[0], e[10] = h, e[11] = T, e[12] = c, e[13] = y) : y = e[13];
|
|
440
|
+
const b = y, w = h[b], x = m[b];
|
|
441
|
+
let Z;
|
|
442
|
+
e[14] !== b || e[15] !== x || e[16] !== m ? (Z = Object.keys(m).length >= 1 ? m : {
|
|
443
|
+
[b]: x.slice(0, 1)
|
|
444
|
+
}, e[14] = b, e[15] = x, e[16] = m, e[17] = Z) : Z = e[17];
|
|
445
|
+
const L = Z[b];
|
|
446
|
+
let P;
|
|
447
|
+
if (e[18] !== L || e[19] !== g) {
|
|
448
|
+
let B;
|
|
449
|
+
e[21] !== g ? (B = (H) => ({
|
|
450
|
+
...H,
|
|
451
|
+
...g[H.value]
|
|
452
|
+
}), e[21] = g, e[22] = B) : B = e[22], P = L.map(B), e[18] = L, e[19] = g, e[20] = P;
|
|
1066
453
|
} else
|
|
1067
|
-
|
|
1068
|
-
const
|
|
1069
|
-
let
|
|
1070
|
-
e[23] !==
|
|
1071
|
-
...
|
|
1072
|
-
...
|
|
1073
|
-
}, e[23] =
|
|
1074
|
-
const
|
|
454
|
+
P = e[20];
|
|
455
|
+
const V = P;
|
|
456
|
+
let E;
|
|
457
|
+
e[23] !== _ ? (E = {
|
|
458
|
+
...Y.container,
|
|
459
|
+
..._
|
|
460
|
+
}, e[23] = _, e[24] = E) : E = e[24];
|
|
461
|
+
const R = k?.action, O = w?.icon;
|
|
1075
462
|
let W;
|
|
1076
|
-
e[25] !==
|
|
1077
|
-
const
|
|
1078
|
-
let
|
|
1079
|
-
e[31] !==
|
|
463
|
+
e[25] !== o || e[26] !== s || e[27] !== D || e[28] !== R || e[29] !== O ? (W = /* @__PURE__ */ l(yt, { actionProps: o, labels: R, enabled: s, onActionToggle: D, children: O }), e[25] = o, e[26] = s, e[27] = D, e[28] = R, e[29] = O, e[30] = W) : W = e[30];
|
|
464
|
+
const G = k?.options;
|
|
465
|
+
let j;
|
|
466
|
+
e[31] !== V || e[32] !== h || e[33] !== b || e[34] !== I || e[35] !== v || e[36] !== G || e[37] !== u ? (j = /* @__PURE__ */ l(xt, { labels: G, modes: h, modeSelected: b, units: V, unitSelected: u, onChangeMode: I, onChangeUnit: v }), e[31] = V, e[32] = h, e[33] = b, e[34] = I, e[35] = v, e[36] = G, e[37] = u, e[38] = j) : j = e[38];
|
|
1080
467
|
let N;
|
|
1081
|
-
e[39] !== W || e[40] !==
|
|
468
|
+
e[39] !== W || e[40] !== j ? (N = /* @__PURE__ */ $(q, { children: [
|
|
1082
469
|
W,
|
|
1083
|
-
|
|
1084
|
-
] }), e[39] = W, e[40] =
|
|
1085
|
-
let
|
|
1086
|
-
return e[42] !==
|
|
470
|
+
j
|
|
471
|
+
] }), e[39] = W, e[40] = j, e[41] = N) : N = e[41];
|
|
472
|
+
let z;
|
|
473
|
+
return e[42] !== A || e[43] !== E || e[44] !== N ? (z = /* @__PURE__ */ l(Ce, { sx: E, ...A, children: N }), e[42] = A, e[43] = E, e[44] = N, e[45] = z) : z = e[45], z;
|
|
1087
474
|
}
|
|
1088
|
-
function
|
|
1089
|
-
const e =
|
|
1090
|
-
actionProps:
|
|
1091
|
-
labels:
|
|
1092
|
-
enabled:
|
|
475
|
+
function yt(t) {
|
|
476
|
+
const e = F(12), {
|
|
477
|
+
actionProps: s,
|
|
478
|
+
labels: o,
|
|
479
|
+
enabled: n,
|
|
1093
480
|
children: r,
|
|
1094
|
-
onActionToggle:
|
|
1095
|
-
} = t, a =
|
|
481
|
+
onActionToggle: i
|
|
482
|
+
} = t, a = n ? "active" : "inactive", c = o?.tooltip?.[a] ?? oe.action.tooltip[a], d = s?.TooltipProps;
|
|
483
|
+
let m;
|
|
484
|
+
e[0] !== n || e[1] !== i ? (m = () => i(!n), e[0] = n, e[1] = i, e[2] = m) : m = e[2];
|
|
485
|
+
let u;
|
|
486
|
+
e[3] !== c || e[4] !== r || e[5] !== n || e[6] !== m ? (u = /* @__PURE__ */ l(ye, { value: "toggle", sx: Y.actions.icon, onClick: m, "aria-label": c, selected: n, children: r }), e[3] = c, e[4] = r, e[5] = n, e[6] = m, e[7] = u) : u = e[7];
|
|
1096
487
|
let f;
|
|
1097
|
-
e[
|
|
1098
|
-
let h;
|
|
1099
|
-
e[3] !== c || e[4] !== r || e[5] !== i || e[6] !== f ? (h = /* @__PURE__ */ n(xe, { value: "toggle", sx: ee.actions.icon, onClick: f, "aria-label": c, selected: i, children: r }), e[3] = c, e[4] = r, e[5] = i, e[6] = f, e[7] = h) : h = e[7];
|
|
1100
|
-
let p;
|
|
1101
|
-
return e[8] !== c || e[9] !== d || e[10] !== h ? (p = /* @__PURE__ */ n(fe, { title: c, placement: "right", ...d, children: h }), e[8] = c, e[9] = d, e[10] = h, e[11] = p) : p = e[11], p;
|
|
488
|
+
return e[8] !== c || e[9] !== d || e[10] !== u ? (f = /* @__PURE__ */ l(he, { title: c, placement: "right", ...d, children: u }), e[8] = c, e[9] = d, e[10] = u, e[11] = f) : f = e[11], f;
|
|
1102
489
|
}
|
|
1103
|
-
function
|
|
1104
|
-
const e =
|
|
1105
|
-
modes:
|
|
1106
|
-
modeSelected:
|
|
1107
|
-
units:
|
|
490
|
+
function xt(t) {
|
|
491
|
+
const e = F(41), {
|
|
492
|
+
modes: s,
|
|
493
|
+
modeSelected: o,
|
|
494
|
+
units: n,
|
|
1108
495
|
unitSelected: r,
|
|
1109
|
-
labels:
|
|
496
|
+
labels: i,
|
|
1110
497
|
onChangeMode: a,
|
|
1111
498
|
onChangeUnit: c
|
|
1112
|
-
} = t, [d,
|
|
1113
|
-
let
|
|
1114
|
-
e[0] !==
|
|
1115
|
-
const
|
|
1116
|
-
let
|
|
1117
|
-
e[2] !==
|
|
1118
|
-
const
|
|
1119
|
-
if (!(
|
|
499
|
+
} = t, [d, m] = ne(null), [u, f] = ne(!1);
|
|
500
|
+
let I;
|
|
501
|
+
e[0] !== s ? (I = Object.values(s), e[0] = s, e[1] = I) : I = e[1];
|
|
502
|
+
const v = I;
|
|
503
|
+
let k;
|
|
504
|
+
e[2] !== n ? (k = Object.values(n), e[2] = n, e[3] = k) : k = e[3];
|
|
505
|
+
const p = k;
|
|
506
|
+
if (!(v.length > 1 || p.length > 1))
|
|
1120
507
|
return null;
|
|
1121
|
-
const
|
|
1122
|
-
let g;
|
|
1123
|
-
e[4] === Symbol.for("react.memo_cache_sentinel") ? (g = (U) => {
|
|
1124
|
-
f(U.currentTarget);
|
|
1125
|
-
}, e[4] = g) : g = e[4];
|
|
1126
|
-
const M = g;
|
|
1127
|
-
let v;
|
|
1128
|
-
e[5] === Symbol.for("react.memo_cache_sentinel") ? (v = () => {
|
|
1129
|
-
f(null);
|
|
1130
|
-
}, e[5] = v) : v = e[5];
|
|
1131
|
-
const I = v;
|
|
508
|
+
const S = !!d;
|
|
1132
509
|
let A;
|
|
1133
|
-
e[
|
|
1134
|
-
|
|
1135
|
-
}, e[
|
|
1136
|
-
const
|
|
1137
|
-
let
|
|
1138
|
-
e[
|
|
1139
|
-
|
|
1140
|
-
}, e[
|
|
1141
|
-
const
|
|
1142
|
-
let
|
|
1143
|
-
e[
|
|
1144
|
-
|
|
1145
|
-
}, e[
|
|
1146
|
-
const
|
|
510
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = (B) => {
|
|
511
|
+
m(B.currentTarget);
|
|
512
|
+
}, e[4] = A) : A = e[4];
|
|
513
|
+
const _ = A;
|
|
514
|
+
let C;
|
|
515
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = () => {
|
|
516
|
+
m(null);
|
|
517
|
+
}, e[5] = C) : C = e[5];
|
|
518
|
+
const D = C;
|
|
519
|
+
let M;
|
|
520
|
+
e[6] !== a ? (M = (B, H) => {
|
|
521
|
+
B.preventDefault(), a(H.value), D();
|
|
522
|
+
}, e[6] = a, e[7] = M) : M = e[7];
|
|
523
|
+
const h = M;
|
|
524
|
+
let T;
|
|
525
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = () => {
|
|
526
|
+
f(!0);
|
|
527
|
+
}, e[8] = T) : T = e[8];
|
|
528
|
+
const y = T;
|
|
529
|
+
let b;
|
|
530
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = () => {
|
|
531
|
+
f(!1);
|
|
532
|
+
}, e[9] = b) : b = e[9];
|
|
533
|
+
const w = b;
|
|
534
|
+
let x;
|
|
535
|
+
e[10] !== c ? (x = (B) => {
|
|
536
|
+
w(), c(B);
|
|
537
|
+
}, e[10] = c, e[11] = x) : x = e[11];
|
|
538
|
+
const Z = x, U = i?.mode?.title ?? oe.options.mode.title, L = i?.units?.title ?? oe.options.units.title, P = v.length > 1 && p.length > 1;
|
|
539
|
+
let V;
|
|
540
|
+
e[12] !== r || e[13] !== n ? (V = n.find((B) => B.value === r) ?? n[0], e[12] = r, e[13] = n, e[14] = V) : V = e[14];
|
|
541
|
+
const E = V;
|
|
542
|
+
let R;
|
|
543
|
+
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = /* @__PURE__ */ l(re, { sx: Y.options.icon, onClick: _, children: /* @__PURE__ */ l(ot, {}) }), e[15] = R) : R = e[15];
|
|
1147
544
|
let O;
|
|
1148
|
-
e[
|
|
1149
|
-
D(), c(U);
|
|
1150
|
-
}, e[10] = c, e[11] = O) : O = e[11];
|
|
1151
|
-
const V = O, L = s?.mode?.title ?? se.options.mode.title, P = s?.units?.title ?? se.options.units.title, R = x.length > 1 && b.length > 1;
|
|
1152
|
-
let j;
|
|
1153
|
-
e[12] !== r || e[13] !== i ? (j = i.find((U) => U.value === r) ?? i[0], e[12] = r, e[13] = i, e[14] = j) : j = e[14];
|
|
1154
|
-
const $ = j;
|
|
1155
|
-
let k;
|
|
1156
|
-
e[15] === Symbol.for("react.memo_cache_sentinel") ? (k = /* @__PURE__ */ n(re, { sx: ee.options.icon, onClick: M, children: /* @__PURE__ */ n($e, {}) }), e[15] = k) : k = e[15];
|
|
1157
|
-
let B;
|
|
1158
|
-
e[16] === Symbol.for("react.memo_cache_sentinel") ? (B = {
|
|
545
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = {
|
|
1159
546
|
"aria-labelledby": "basic-button",
|
|
1160
|
-
sx:
|
|
1161
|
-
}, e[16] =
|
|
547
|
+
sx: Y.options.menu
|
|
548
|
+
}, e[16] = O) : O = e[16];
|
|
1162
549
|
let W;
|
|
1163
|
-
e[17] !==
|
|
1164
|
-
/* @__PURE__ */
|
|
1165
|
-
|
|
1166
|
-
const
|
|
1167
|
-
return /* @__PURE__ */
|
|
1168
|
-
/* @__PURE__ */
|
|
1169
|
-
/* @__PURE__ */
|
|
1170
|
-
] },
|
|
550
|
+
e[17] !== h || e[18] !== i?.mode?.options || e[19] !== o || e[20] !== U || e[21] !== v ? (W = v.length > 1 && /* @__PURE__ */ $(ee, { children: [
|
|
551
|
+
/* @__PURE__ */ l(Q, { variant: "subtitle2", color: "text.secondary", sx: Y.options.title, children: U }),
|
|
552
|
+
v.map((B) => {
|
|
553
|
+
const X = (i?.mode?.options ?? oe.options.mode.options)[B.value];
|
|
554
|
+
return /* @__PURE__ */ $(Te, { onClick: (te) => h(te, B), selected: B.value === o, children: [
|
|
555
|
+
/* @__PURE__ */ l(Ve, { sx: Y.options.icons, children: /* @__PURE__ */ l(Ie, { children: B.icon }) }),
|
|
556
|
+
/* @__PURE__ */ l(Se, { children: X })
|
|
557
|
+
] }, B.value);
|
|
1171
558
|
})
|
|
1172
|
-
] }), e[17] =
|
|
1173
|
-
let z;
|
|
1174
|
-
e[23] !== R ? (z = R && /* @__PURE__ */ n(ae, {}), e[23] = R, e[24] = z) : z = e[24];
|
|
559
|
+
] }), e[17] = h, e[18] = i?.mode?.options, e[19] = o, e[20] = U, e[21] = v, e[22] = W) : W = e[22];
|
|
1175
560
|
let G;
|
|
1176
|
-
e[
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
561
|
+
e[23] !== P ? (G = P && /* @__PURE__ */ l(fe, {}), e[23] = P, e[24] = G) : G = e[24];
|
|
562
|
+
let j;
|
|
563
|
+
e[25] !== Z || e[26] !== i || e[27] !== u || e[28] !== E || e[29] !== L || e[30] !== n || e[31] !== p.length ? (j = p.length > 1 && /* @__PURE__ */ $(ee, { children: [
|
|
564
|
+
/* @__PURE__ */ $(Te, { onClick: y, children: [
|
|
565
|
+
/* @__PURE__ */ l(Se, { children: L }),
|
|
566
|
+
/* @__PURE__ */ l(Q, { variant: "caption", fontWeight: 500, sx: Y.options.tag, children: E.short })
|
|
1180
567
|
] }),
|
|
1181
|
-
/* @__PURE__ */
|
|
1182
|
-
] }), e[25] =
|
|
568
|
+
/* @__PURE__ */ l(St, { open: u, labels: i, units: n, unitSelectedValue: E, onClose: w, onSubmit: Z })
|
|
569
|
+
] }), e[25] = Z, e[26] = i, e[27] = u, e[28] = E, e[29] = L, e[30] = n, e[31] = p.length, e[32] = j) : j = e[32];
|
|
1183
570
|
let N;
|
|
1184
|
-
e[33] !== W || e[34] !==
|
|
571
|
+
e[33] !== W || e[34] !== G || e[35] !== j ? (N = /* @__PURE__ */ $("div", { children: [
|
|
1185
572
|
W,
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
] }), e[33] = W, e[34] =
|
|
1189
|
-
let
|
|
1190
|
-
return e[37] !== d || e[38] !==
|
|
1191
|
-
|
|
1192
|
-
/* @__PURE__ */
|
|
1193
|
-
] }), e[37] = d, e[38] =
|
|
573
|
+
G,
|
|
574
|
+
j
|
|
575
|
+
] }), e[33] = W, e[34] = G, e[35] = j, e[36] = N) : N = e[36];
|
|
576
|
+
let z;
|
|
577
|
+
return e[37] !== d || e[38] !== S || e[39] !== N ? (z = /* @__PURE__ */ $(ee, { children: [
|
|
578
|
+
R,
|
|
579
|
+
/* @__PURE__ */ l(Ze, { id: "measurement-menu", anchorEl: d, open: S, onClose: D, MenuListProps: O, children: N })
|
|
580
|
+
] }), e[37] = d, e[38] = S, e[39] = N, e[40] = z) : z = e[40], z;
|
|
1194
581
|
}
|
|
1195
|
-
function
|
|
1196
|
-
const e =
|
|
1197
|
-
open:
|
|
1198
|
-
labels:
|
|
1199
|
-
units:
|
|
582
|
+
function St(t) {
|
|
583
|
+
const e = F(48), {
|
|
584
|
+
open: s,
|
|
585
|
+
labels: o,
|
|
586
|
+
units: n,
|
|
1200
587
|
unitSelectedValue: r,
|
|
1201
|
-
onClose:
|
|
588
|
+
onClose: i,
|
|
1202
589
|
onSubmit: a
|
|
1203
|
-
} = t, [c, d] =
|
|
1204
|
-
let
|
|
1205
|
-
if (e[0] !== c || e[1] !==
|
|
1206
|
-
let
|
|
1207
|
-
e[3] !== c ? (
|
|
590
|
+
} = t, [c, d] = ne("metric");
|
|
591
|
+
let m;
|
|
592
|
+
if (e[0] !== c || e[1] !== n) {
|
|
593
|
+
let R;
|
|
594
|
+
e[3] !== c ? (R = (O) => O.system === c, e[3] = c, e[4] = R) : R = e[4], m = n.filter(R), e[0] = c, e[1] = n, e[2] = m;
|
|
1208
595
|
} else
|
|
1209
|
-
|
|
1210
|
-
const
|
|
1211
|
-
let
|
|
1212
|
-
e[5] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
1213
|
-
d(
|
|
1214
|
-
}, e[5] =
|
|
1215
|
-
const
|
|
1216
|
-
let
|
|
1217
|
-
e[6] !== a ? (
|
|
596
|
+
m = e[2];
|
|
597
|
+
const u = m;
|
|
598
|
+
let f;
|
|
599
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = (R, O) => {
|
|
600
|
+
d(O);
|
|
601
|
+
}, e[5] = f) : f = e[5];
|
|
602
|
+
const I = f, v = o?.units?.modal?.options ?? oe.options.units.modal.options, k = v[c].options, p = o?.units?.modal?.title ?? oe.options.units.modal.title, g = o?.units?.modal?.subtitle ?? oe.options.units.modal.subtitle, S = o?.units?.modal?.apply ?? oe.options.units.modal.apply, A = r.system === c ? r : u[0];
|
|
603
|
+
let _;
|
|
604
|
+
e[6] !== a ? (_ = {
|
|
1218
605
|
component: "form",
|
|
1219
|
-
onSubmit: (
|
|
1220
|
-
|
|
1221
|
-
const
|
|
1222
|
-
a(
|
|
606
|
+
onSubmit: (R) => {
|
|
607
|
+
R.preventDefault();
|
|
608
|
+
const O = new FormData(R.currentTarget);
|
|
609
|
+
a(O.get("unit-value"));
|
|
1223
610
|
}
|
|
1224
|
-
}, e[6] = a, e[7] =
|
|
1225
|
-
let v;
|
|
1226
|
-
e[8] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ n(Be, {}), e[8] = v) : v = e[8];
|
|
1227
|
-
let I;
|
|
1228
|
-
e[9] !== s ? (I = /* @__PURE__ */ n(re, { onClick: s, children: v }), e[9] = s, e[10] = I) : I = e[10];
|
|
1229
|
-
let A;
|
|
1230
|
-
e[11] !== b || e[12] !== I ? (A = /* @__PURE__ */ E(ot, { sx: ee.options.modal.title, children: [
|
|
1231
|
-
b,
|
|
1232
|
-
I
|
|
1233
|
-
] }), e[11] = b, e[12] = I, e[13] = A) : A = e[13];
|
|
611
|
+
}, e[6] = a, e[7] = _) : _ = e[7];
|
|
1234
612
|
let C;
|
|
1235
|
-
e[
|
|
1236
|
-
let
|
|
1237
|
-
e[
|
|
613
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ l(Re, {}), e[8] = C) : C = e[8];
|
|
614
|
+
let D;
|
|
615
|
+
e[9] !== i ? (D = /* @__PURE__ */ l(re, { onClick: i, children: C }), e[9] = i, e[10] = D) : D = e[10];
|
|
616
|
+
let M;
|
|
617
|
+
e[11] !== p || e[12] !== D ? (M = /* @__PURE__ */ $(We, { sx: Y.options.modal.title, children: [
|
|
618
|
+
p,
|
|
619
|
+
D
|
|
620
|
+
] }), e[11] = p, e[12] = D, e[13] = M) : M = e[13];
|
|
621
|
+
let h;
|
|
622
|
+
e[14] !== g ? (h = /* @__PURE__ */ l(Q, { sx: Y.options.modal.subtitle, children: g }), e[14] = g, e[15] = h) : h = e[15];
|
|
1238
623
|
let T;
|
|
1239
|
-
e[
|
|
1240
|
-
let
|
|
1241
|
-
e[
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
624
|
+
e[16] !== v.metric.title ? (T = /* @__PURE__ */ l(ye, { value: "metric", children: v.metric.title }), e[16] = v.metric.title, e[17] = T) : T = e[17];
|
|
625
|
+
let y;
|
|
626
|
+
e[18] !== v.imperial.title ? (y = /* @__PURE__ */ l(ye, { value: "imperial", children: v.imperial.title }), e[18] = v.imperial.title, e[19] = y) : y = e[19];
|
|
627
|
+
let b;
|
|
628
|
+
e[20] !== c || e[21] !== T || e[22] !== y ? (b = /* @__PURE__ */ $(Le, { color: "primary", value: c, exclusive: !0, fullWidth: !0, onChange: I, "aria-label": "system", sx: Y.options.modal.toggle, children: [
|
|
629
|
+
T,
|
|
630
|
+
y
|
|
631
|
+
] }), e[20] = c, e[21] = T, e[22] = y, e[23] = b) : b = e[23];
|
|
632
|
+
const w = A?.value, x = A?.value;
|
|
633
|
+
let Z;
|
|
634
|
+
if (e[24] !== u || e[25] !== k) {
|
|
635
|
+
let R;
|
|
636
|
+
e[27] !== k ? (R = (O) => {
|
|
637
|
+
const W = k[O.value];
|
|
638
|
+
return /* @__PURE__ */ l(je, { value: O.value, control: /* @__PURE__ */ l(Fe, {}), label: W }, O.value);
|
|
639
|
+
}, e[27] = k, e[28] = R) : R = e[28], Z = u.map(R), e[24] = u, e[25] = k, e[26] = Z;
|
|
1253
640
|
} else
|
|
1254
|
-
|
|
641
|
+
Z = e[26];
|
|
642
|
+
let U;
|
|
643
|
+
e[29] !== x || e[30] !== Z ? (U = /* @__PURE__ */ l(Ge, { "aria-labelledby": "unit-value", defaultValue: x, name: "unit-value", sx: Y.options.modal.optionsGroup, children: Z }), e[29] = x, e[30] = Z, e[31] = U) : U = e[31];
|
|
1255
644
|
let L;
|
|
1256
|
-
e[
|
|
645
|
+
e[32] !== w || e[33] !== U ? (L = /* @__PURE__ */ l(Ne, { children: U }, w), e[32] = w, e[33] = U, e[34] = L) : L = e[34];
|
|
1257
646
|
let P;
|
|
1258
|
-
e[
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
let
|
|
1266
|
-
e[
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
j
|
|
1272
|
-
] }), e[41] = s, e[42] = o, e[43] = R, e[44] = j, e[45] = M, e[46] = A, e[47] = $) : $ = e[47], $;
|
|
647
|
+
e[35] !== b || e[36] !== L || e[37] !== h ? (P = /* @__PURE__ */ $(ze, { sx: Y.options.modal.content, children: [
|
|
648
|
+
h,
|
|
649
|
+
b,
|
|
650
|
+
L
|
|
651
|
+
] }), e[35] = b, e[36] = L, e[37] = h, e[38] = P) : P = e[38];
|
|
652
|
+
let V;
|
|
653
|
+
e[39] !== S ? (V = /* @__PURE__ */ l(He, { sx: Y.options.modal.actions, children: /* @__PURE__ */ l(xe, { variant: "contained", type: "submit", children: S }) }), e[39] = S, e[40] = V) : V = e[40];
|
|
654
|
+
let E;
|
|
655
|
+
return e[41] !== i || e[42] !== s || e[43] !== P || e[44] !== V || e[45] !== _ || e[46] !== M ? (E = /* @__PURE__ */ $(Xe, { open: s, component: q, onClose: i, maxWidth: "xs", PaperProps: _, children: [
|
|
656
|
+
M,
|
|
657
|
+
P,
|
|
658
|
+
V
|
|
659
|
+
] }), e[41] = i, e[42] = s, e[43] = P, e[44] = V, e[45] = _, e[46] = M, e[47] = E) : E = e[47], E;
|
|
1273
660
|
}
|
|
1274
|
-
const
|
|
661
|
+
const Ct = {
|
|
1275
662
|
enabled: "Show your current location",
|
|
1276
663
|
disabled: "Location unavailable"
|
|
1277
|
-
},
|
|
1278
|
-
function
|
|
1279
|
-
const e =
|
|
1280
|
-
disabled:
|
|
1281
|
-
labels:
|
|
1282
|
-
PaperProps:
|
|
664
|
+
}, wt = "geolocation";
|
|
665
|
+
function Yt(t) {
|
|
666
|
+
const e = F(25), {
|
|
667
|
+
disabled: s,
|
|
668
|
+
labels: o,
|
|
669
|
+
PaperProps: n,
|
|
1283
670
|
TooltipProps: r,
|
|
1284
|
-
watch:
|
|
671
|
+
watch: i,
|
|
1285
672
|
onChange: a,
|
|
1286
673
|
onError: c
|
|
1287
|
-
} = t, d =
|
|
1288
|
-
let
|
|
1289
|
-
e[0] !== c ? (
|
|
674
|
+
} = t, d = Pe(null), m = "geolocation" in navigator, [u, f] = ne(m);
|
|
675
|
+
let I, v;
|
|
676
|
+
e[0] !== c ? (I = () => (m && navigator.permissions.query({
|
|
1290
677
|
name: "geolocation"
|
|
1291
|
-
}).then((
|
|
1292
|
-
|
|
1293
|
-
|
|
678
|
+
}).then((x) => {
|
|
679
|
+
f(x.state === "granted"), x.onchange = () => {
|
|
680
|
+
f(x.state === "granted");
|
|
1294
681
|
};
|
|
1295
|
-
}).catch((
|
|
1296
|
-
|
|
682
|
+
}).catch((x) => {
|
|
683
|
+
f(!1), c?.(x);
|
|
1297
684
|
}), () => {
|
|
1298
685
|
d.current && navigator.geolocation.clearWatch(d.current);
|
|
1299
|
-
}),
|
|
1300
|
-
let
|
|
1301
|
-
e[3] !== a ? (
|
|
1302
|
-
a(
|
|
1303
|
-
}, e[3] = a, e[4] =
|
|
1304
|
-
const
|
|
1305
|
-
let u;
|
|
1306
|
-
e[5] !== c ? (u = (O) => {
|
|
1307
|
-
p(!1), c?.(O);
|
|
1308
|
-
}, e[5] = c, e[6] = u) : u = e[6];
|
|
1309
|
-
const m = u;
|
|
686
|
+
}), v = [m, c], e[0] = c, e[1] = I, e[2] = v) : (I = e[1], v = e[2]), Oe(I, v);
|
|
687
|
+
let k;
|
|
688
|
+
e[3] !== a ? (k = (x) => {
|
|
689
|
+
a(x.coords);
|
|
690
|
+
}, e[3] = a, e[4] = k) : k = e[4];
|
|
691
|
+
const p = k;
|
|
1310
692
|
let g;
|
|
1311
|
-
e[
|
|
1312
|
-
|
|
1313
|
-
|
|
693
|
+
e[5] !== c ? (g = (x) => {
|
|
694
|
+
f(!1), c?.(x);
|
|
695
|
+
}, e[5] = c, e[6] = g) : g = e[6];
|
|
696
|
+
const S = g;
|
|
697
|
+
let A;
|
|
698
|
+
e[7] !== S || e[8] !== p || e[9] !== i ? (A = () => {
|
|
699
|
+
if (d.current && navigator.geolocation.clearWatch(d.current), i) {
|
|
700
|
+
d.current = navigator.geolocation.watchPosition(p, S);
|
|
1314
701
|
return;
|
|
1315
702
|
}
|
|
1316
|
-
navigator.geolocation.getCurrentPosition(
|
|
1317
|
-
}, e[7] =
|
|
1318
|
-
const
|
|
1319
|
-
let _;
|
|
1320
|
-
e[11] !== h ? (_ = h ? /* @__PURE__ */ n(qe, {}) : /* @__PURE__ */ n(Ke, {}), e[11] = h, e[12] = _) : _ = e[12];
|
|
703
|
+
navigator.geolocation.getCurrentPosition(p, S);
|
|
704
|
+
}, e[7] = S, e[8] = p, e[9] = i, e[10] = A) : A = e[10];
|
|
705
|
+
const _ = A, D = (o?.tooltip ?? Ct)[u ? "enabled" : "disabled"], M = o?.ariaLabel ?? wt, h = !m || s;
|
|
1321
706
|
let T;
|
|
1322
|
-
e[
|
|
1323
|
-
let
|
|
1324
|
-
e[
|
|
1325
|
-
let
|
|
1326
|
-
|
|
707
|
+
e[11] !== u ? (T = u ? /* @__PURE__ */ l(nt, {}) : /* @__PURE__ */ l(it, {}), e[11] = u, e[12] = T) : T = e[12];
|
|
708
|
+
let y;
|
|
709
|
+
e[13] !== _ || e[14] !== M || e[15] !== h || e[16] !== T ? (y = /* @__PURE__ */ l(re, { onClick: _, "aria-label": M, disabled: h, children: T }), e[13] = _, e[14] = M, e[15] = h, e[16] = T, e[17] = y) : y = e[17];
|
|
710
|
+
let b;
|
|
711
|
+
e[18] !== r || e[19] !== y || e[20] !== D ? (b = /* @__PURE__ */ l(he, { arrow: !0, placement: "right", title: D, ...r, children: y }), e[18] = r, e[19] = y, e[20] = D, e[21] = b) : b = e[21];
|
|
712
|
+
let w;
|
|
713
|
+
return e[22] !== n || e[23] !== b ? (w = /* @__PURE__ */ l(Ce, { ...n, children: b }), e[22] = n, e[23] = b, e[24] = w) : w = e[24], w;
|
|
1327
714
|
}
|
|
1328
|
-
const
|
|
715
|
+
const _e = {
|
|
1329
716
|
zoom: {
|
|
1330
717
|
position: "relative",
|
|
1331
718
|
height: ({
|
|
@@ -1357,180 +744,180 @@ const Oe = {
|
|
|
1357
744
|
position: "absolute"
|
|
1358
745
|
}
|
|
1359
746
|
};
|
|
1360
|
-
function
|
|
1361
|
-
const e =
|
|
1362
|
-
zoom:
|
|
1363
|
-
disabled:
|
|
1364
|
-
direction:
|
|
747
|
+
function Qt(t) {
|
|
748
|
+
const e = F(40), {
|
|
749
|
+
zoom: s,
|
|
750
|
+
disabled: o,
|
|
751
|
+
direction: n,
|
|
1365
752
|
reverse: r,
|
|
1366
|
-
isLoading:
|
|
753
|
+
isLoading: i,
|
|
1367
754
|
maxZoom: a,
|
|
1368
755
|
minZoom: c,
|
|
1369
756
|
PaperProps: d,
|
|
1370
|
-
ResetViewProps:
|
|
1371
|
-
showZoom:
|
|
1372
|
-
onChange:
|
|
1373
|
-
onReset:
|
|
1374
|
-
} = t,
|
|
1375
|
-
let
|
|
1376
|
-
e[0] !==
|
|
1377
|
-
Icon:
|
|
1378
|
-
} :
|
|
1379
|
-
const
|
|
1380
|
-
let
|
|
1381
|
-
e[2] !==
|
|
1382
|
-
const
|
|
1383
|
-
|
|
1384
|
-
}, e[2] =
|
|
1385
|
-
const
|
|
1386
|
-
let
|
|
1387
|
-
e[6] !==
|
|
1388
|
-
const
|
|
1389
|
-
|
|
1390
|
-
}, e[6] =
|
|
1391
|
-
const
|
|
1392
|
-
let
|
|
1393
|
-
|
|
1394
|
-
let
|
|
1395
|
-
e[10] !==
|
|
1396
|
-
...
|
|
1397
|
-
flexDirection:
|
|
1398
|
-
}, e[10] =
|
|
1399
|
-
let
|
|
1400
|
-
e[12] !==
|
|
1401
|
-
/* @__PURE__ */
|
|
1402
|
-
/* @__PURE__ */
|
|
1403
|
-
] }), e[12] =
|
|
1404
|
-
let
|
|
1405
|
-
e[17] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
757
|
+
ResetViewProps: m,
|
|
758
|
+
showZoom: u,
|
|
759
|
+
onChange: f,
|
|
760
|
+
onReset: I
|
|
761
|
+
} = t, v = n === void 0 ? "vertical" : n, k = r === void 0 ? !1 : r, p = a === void 0 ? 24 : a, g = c === void 0 ? 0 : c;
|
|
762
|
+
let S;
|
|
763
|
+
e[0] !== m ? (S = m === void 0 ? {
|
|
764
|
+
Icon: st
|
|
765
|
+
} : m, e[0] = m, e[1] = S) : S = e[1];
|
|
766
|
+
const A = S, _ = u === void 0 ? !0 : u;
|
|
767
|
+
let C;
|
|
768
|
+
e[2] !== p || e[3] !== f || e[4] !== s ? (C = () => {
|
|
769
|
+
const O = Math.min(p, s + 1);
|
|
770
|
+
f(O);
|
|
771
|
+
}, e[2] = p, e[3] = f, e[4] = s, e[5] = C) : C = e[5];
|
|
772
|
+
const D = C;
|
|
773
|
+
let M;
|
|
774
|
+
e[6] !== g || e[7] !== f || e[8] !== s ? (M = () => {
|
|
775
|
+
const O = Math.max(g, s - 1);
|
|
776
|
+
f(O);
|
|
777
|
+
}, e[6] = g, e[7] = f, e[8] = s, e[9] = M) : M = e[9];
|
|
778
|
+
const h = M, T = Math.floor(s), y = v === "vertical" ? "horizontal" : "vertical";
|
|
779
|
+
let b = v === "vertical" ? "column" : "row";
|
|
780
|
+
k && (b = b + "-reverse");
|
|
781
|
+
let w;
|
|
782
|
+
e[10] !== b ? (w = {
|
|
783
|
+
..._e.paper,
|
|
784
|
+
flexDirection: b
|
|
785
|
+
}, e[10] = b, e[11] = w) : w = e[11];
|
|
786
|
+
let x;
|
|
787
|
+
e[12] !== A || e[13] !== o || e[14] !== y || e[15] !== I ? (x = I && /* @__PURE__ */ $(ee, { children: [
|
|
788
|
+
/* @__PURE__ */ l(re, { onClick: I, "aria-label": "Reset action", disabled: o, children: /* @__PURE__ */ l(A.Icon, {}) }),
|
|
789
|
+
/* @__PURE__ */ l(fe, { orientation: y, flexItem: !0 })
|
|
790
|
+
] }), e[12] = A, e[13] = o, e[14] = y, e[15] = I, e[16] = x) : x = e[16];
|
|
791
|
+
let Z;
|
|
792
|
+
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Z = /* @__PURE__ */ l(rt, {}), e[17] = Z) : Z = e[17];
|
|
793
|
+
let U;
|
|
794
|
+
e[18] !== o || e[19] !== D ? (U = /* @__PURE__ */ l(re, { onClick: D, "aria-label": "Increase zoom", disabled: o, children: Z }), e[18] = o, e[19] = D, e[20] = U) : U = e[20];
|
|
1406
795
|
let L;
|
|
1407
|
-
e[
|
|
796
|
+
e[21] !== y ? (L = /* @__PURE__ */ l(fe, { orientation: y, flexItem: !0 }), e[21] = y, e[22] = L) : L = e[22];
|
|
1408
797
|
let P;
|
|
1409
|
-
e[
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
/* @__PURE__ */ n(Q, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: _ }),
|
|
1414
|
-
s && /* @__PURE__ */ n(ut, { sx: Oe.circularProgress, variant: "indeterminate", size: 24 })
|
|
798
|
+
e[23] !== T || e[24] !== y || e[25] !== i || e[26] !== _ ? (P = _ && /* @__PURE__ */ $(ee, { children: [
|
|
799
|
+
/* @__PURE__ */ $(q, { sx: _e.zoom, children: [
|
|
800
|
+
/* @__PURE__ */ l(Q, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: T }),
|
|
801
|
+
i && /* @__PURE__ */ l(qe, { sx: _e.circularProgress, variant: "indeterminate", size: 24 })
|
|
1415
802
|
] }),
|
|
1416
|
-
/* @__PURE__ */
|
|
1417
|
-
] }), e[23] =
|
|
1418
|
-
let
|
|
1419
|
-
e[28] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
1420
|
-
let
|
|
1421
|
-
e[29] !==
|
|
1422
|
-
let
|
|
1423
|
-
return e[32] !== d || e[33] !==
|
|
1424
|
-
|
|
803
|
+
/* @__PURE__ */ l(fe, { orientation: y, flexItem: !0 })
|
|
804
|
+
] }), e[23] = T, e[24] = y, e[25] = i, e[26] = _, e[27] = P) : P = e[27];
|
|
805
|
+
let V;
|
|
806
|
+
e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ l(at, {}), e[28] = V) : V = e[28];
|
|
807
|
+
let E;
|
|
808
|
+
e[29] !== h || e[30] !== o ? (E = /* @__PURE__ */ l(re, { onClick: h, "aria-label": "Decrease zoom", disabled: o, children: V }), e[29] = h, e[30] = o, e[31] = E) : E = e[31];
|
|
809
|
+
let R;
|
|
810
|
+
return e[32] !== d || e[33] !== w || e[34] !== x || e[35] !== U || e[36] !== L || e[37] !== P || e[38] !== E ? (R = /* @__PURE__ */ $(Ce, { sx: w, ...d, children: [
|
|
811
|
+
x,
|
|
812
|
+
U,
|
|
1425
813
|
L,
|
|
1426
814
|
P,
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
] }), e[32] = d, e[33] = D, e[34] = O, e[35] = L, e[36] = P, e[37] = R, e[38] = $, e[39] = k) : k = e[39], k;
|
|
815
|
+
E
|
|
816
|
+
] }), e[32] = d, e[33] = w, e[34] = x, e[35] = U, e[36] = L, e[37] = P, e[38] = E, e[39] = R) : R = e[39], R;
|
|
1430
817
|
}
|
|
1431
|
-
function
|
|
1432
|
-
const e =
|
|
1433
|
-
length:
|
|
1434
|
-
} = t,
|
|
1435
|
-
let
|
|
1436
|
-
e[0] !==
|
|
818
|
+
function _t(t) {
|
|
819
|
+
const e = F(4), {
|
|
820
|
+
length: s
|
|
821
|
+
} = t, o = s === void 0 ? 5 : s;
|
|
822
|
+
let n;
|
|
823
|
+
e[0] !== o ? (n = new Array(o).fill(null).map(Mt), e[0] = o, e[1] = n) : n = e[1];
|
|
1437
824
|
let r;
|
|
1438
|
-
return e[2] !==
|
|
825
|
+
return e[2] !== n ? (r = /* @__PURE__ */ l(q, { "aria-label": "List Data skeleton", children: n }), e[2] = n, e[3] = r) : r = e[3], r;
|
|
1439
826
|
}
|
|
1440
|
-
function
|
|
1441
|
-
return /* @__PURE__ */
|
|
1442
|
-
/* @__PURE__ */
|
|
1443
|
-
/* @__PURE__ */
|
|
1444
|
-
/* @__PURE__ */
|
|
827
|
+
function Mt(t, e) {
|
|
828
|
+
return /* @__PURE__ */ $(pe, { container: !0, spacing: 1, children: [
|
|
829
|
+
/* @__PURE__ */ $(pe, { container: !0, item: !0, direction: "row", justifyContent: "space-between", alignItems: "center", children: [
|
|
830
|
+
/* @__PURE__ */ l(we, { width: Dt(e) ? 72 : 48, height: 20 }),
|
|
831
|
+
/* @__PURE__ */ l(we, { width: 48, height: 8 })
|
|
1445
832
|
] }),
|
|
1446
|
-
/* @__PURE__ */
|
|
1447
|
-
height:
|
|
1448
|
-
marginTop:
|
|
1449
|
-
marginBottom:
|
|
833
|
+
/* @__PURE__ */ l(we, { sx: {
|
|
834
|
+
height: kt,
|
|
835
|
+
marginTop: At,
|
|
836
|
+
marginBottom: Tt,
|
|
1450
837
|
width: "100%"
|
|
1451
838
|
} })
|
|
1452
839
|
] }, e);
|
|
1453
840
|
}
|
|
1454
|
-
function
|
|
841
|
+
function Tt(t) {
|
|
1455
842
|
const {
|
|
1456
843
|
spacing: e
|
|
1457
844
|
} = t;
|
|
1458
845
|
return e(1.75);
|
|
1459
846
|
}
|
|
1460
|
-
function
|
|
847
|
+
function At(t) {
|
|
1461
848
|
const {
|
|
1462
849
|
spacing: e
|
|
1463
850
|
} = t;
|
|
1464
851
|
return e(1.25);
|
|
1465
852
|
}
|
|
1466
|
-
function
|
|
853
|
+
function kt(t) {
|
|
1467
854
|
const {
|
|
1468
855
|
spacing: e
|
|
1469
856
|
} = t;
|
|
1470
857
|
return e(0.5);
|
|
1471
858
|
}
|
|
1472
|
-
function
|
|
859
|
+
function Dt(t) {
|
|
1473
860
|
return t % 2 === 1;
|
|
1474
861
|
}
|
|
1475
|
-
function
|
|
1476
|
-
const e =
|
|
1477
|
-
title:
|
|
1478
|
-
body:
|
|
1479
|
-
severity:
|
|
1480
|
-
} = t, r =
|
|
1481
|
-
if (
|
|
1482
|
-
let
|
|
1483
|
-
e[0] !==
|
|
1484
|
-
let
|
|
1485
|
-
return e[2] !==
|
|
862
|
+
function It(t) {
|
|
863
|
+
const e = F(13), {
|
|
864
|
+
title: s,
|
|
865
|
+
body: o,
|
|
866
|
+
severity: n
|
|
867
|
+
} = t, r = s === void 0 ? "No data available" : s, i = o === void 0 ? "There are no results for the combination of filters applied to your data. Try tweaking your filters, or zoom and pan the map to adjust the Map View." : o;
|
|
868
|
+
if (n) {
|
|
869
|
+
let m;
|
|
870
|
+
e[0] !== i ? (m = /* @__PURE__ */ l(ke, { children: i }), e[0] = i, e[1] = m) : m = e[1];
|
|
871
|
+
let u;
|
|
872
|
+
return e[2] !== n || e[3] !== m || e[4] !== r ? (u = /* @__PURE__ */ l(Ke, { title: r, severity: n, children: m }), e[2] = n, e[3] = m, e[4] = r, e[5] = u) : u = e[5], u;
|
|
1486
873
|
}
|
|
1487
874
|
let a;
|
|
1488
|
-
e[6] !== r ? (a = r && /* @__PURE__ */
|
|
875
|
+
e[6] !== r ? (a = r && /* @__PURE__ */ l(Q, { variant: "body2", children: r }), e[6] = r, e[7] = a) : a = e[7];
|
|
1489
876
|
let c;
|
|
1490
|
-
e[8] !==
|
|
877
|
+
e[8] !== i ? (c = /* @__PURE__ */ l(ke, { color: "textSecondary", children: i }), e[8] = i, e[9] = c) : c = e[9];
|
|
1491
878
|
let d;
|
|
1492
|
-
return e[10] !== a || e[11] !== c ? (d = /* @__PURE__ */
|
|
879
|
+
return e[10] !== a || e[11] !== c ? (d = /* @__PURE__ */ $(q, { children: [
|
|
1493
880
|
a,
|
|
1494
881
|
c
|
|
1495
882
|
] }), e[10] = a, e[11] = c, e[12] = d) : d = e[12], d;
|
|
1496
883
|
}
|
|
1497
884
|
function ke(t) {
|
|
1498
|
-
const e =
|
|
1499
|
-
color:
|
|
1500
|
-
children:
|
|
885
|
+
const e = F(5), {
|
|
886
|
+
color: s,
|
|
887
|
+
children: o
|
|
1501
888
|
} = t;
|
|
1502
|
-
if (
|
|
1503
|
-
const r =
|
|
1504
|
-
let
|
|
1505
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
889
|
+
if (o) {
|
|
890
|
+
const r = s ?? "inherit";
|
|
891
|
+
let i;
|
|
892
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = {
|
|
1506
893
|
fontWeight: "normal"
|
|
1507
|
-
}, e[0] =
|
|
894
|
+
}, e[0] = i) : i = e[0];
|
|
1508
895
|
let a;
|
|
1509
|
-
return e[1] !==
|
|
896
|
+
return e[1] !== o || e[2] !== r ? (a = /* @__PURE__ */ l(q, { mt: 0.5, children: /* @__PURE__ */ l(Q, { component: "div", variant: "caption", color: r, style: i, children: o }) }), e[1] = o, e[2] = r, e[3] = a) : a = e[3], a;
|
|
1510
897
|
}
|
|
1511
|
-
let
|
|
1512
|
-
return e[4] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
898
|
+
let n;
|
|
899
|
+
return e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ l(q, { mt: -1 }), e[4] = n) : n = e[4], n;
|
|
1513
900
|
}
|
|
1514
|
-
function
|
|
1515
|
-
const e =
|
|
1516
|
-
let
|
|
1517
|
-
e[0] !== t ? (
|
|
1518
|
-
const [
|
|
1519
|
-
return t &&
|
|
901
|
+
function Lt(t) {
|
|
902
|
+
const e = F(2);
|
|
903
|
+
let s;
|
|
904
|
+
e[0] !== t ? (s = () => t ? 1 : 0, e[0] = t, e[1] = s) : s = e[1];
|
|
905
|
+
const [o, n] = ne(s);
|
|
906
|
+
return t && o === 0 && n(1), !t && o === 1 && n(2), o === 1;
|
|
1520
907
|
}
|
|
1521
|
-
const
|
|
908
|
+
const De = {
|
|
1522
909
|
overflow: "hidden",
|
|
1523
910
|
textOverflow: "ellipsis",
|
|
1524
911
|
whiteSpace: "nowrap"
|
|
1525
|
-
},
|
|
912
|
+
}, ue = {
|
|
1526
913
|
label: {
|
|
1527
914
|
"& .MuiListItemText-primary": {
|
|
1528
|
-
...
|
|
915
|
+
...De
|
|
1529
916
|
}
|
|
1530
917
|
},
|
|
1531
918
|
value: {
|
|
1532
919
|
"& .MuiListItemText-primary": {
|
|
1533
|
-
...
|
|
920
|
+
...De,
|
|
1534
921
|
textAlign: "right"
|
|
1535
922
|
}
|
|
1536
923
|
},
|
|
@@ -1556,107 +943,75 @@ const Ee = {
|
|
|
1556
943
|
opacity: 0.5,
|
|
1557
944
|
pointerEvents: "none"
|
|
1558
945
|
}
|
|
1559
|
-
}
|
|
1560
|
-
function el(t) {
|
|
1561
|
-
const e = Z(13), {
|
|
1562
|
-
title: o,
|
|
1563
|
-
dependencies: l,
|
|
1564
|
-
timeout: i,
|
|
1565
|
-
TooltipProps: r,
|
|
1566
|
-
children: s
|
|
1567
|
-
} = t;
|
|
1568
|
-
let a;
|
|
1569
|
-
e[0] !== l ? (a = l === void 0 ? [] : l, e[0] = l, e[1] = a) : a = e[1];
|
|
1570
|
-
const c = a, d = i === void 0 ? 500 : i, f = Ie(null), [h, p] = oe(!1);
|
|
1571
|
-
let y;
|
|
1572
|
-
e[2] !== d ? (y = () => {
|
|
1573
|
-
const m = setTimeout(() => {
|
|
1574
|
-
if (f.current) {
|
|
1575
|
-
const g = f.current.scrollWidth > f.current.clientWidth || f.current.scrollHeight > f.current.clientHeight;
|
|
1576
|
-
p(g);
|
|
1577
|
-
}
|
|
1578
|
-
}, d);
|
|
1579
|
-
return () => clearTimeout(m);
|
|
1580
|
-
}, e[2] = d, e[3] = y) : y = e[3];
|
|
1581
|
-
let x;
|
|
1582
|
-
e[4] !== c || e[5] !== d ? (x = [c, d], e[4] = c, e[5] = d, e[6] = x) : x = e[6], yt(y, x);
|
|
1583
|
-
const w = h && o;
|
|
1584
|
-
let b;
|
|
1585
|
-
e[7] !== s ? (b = s({
|
|
1586
|
-
ref: f
|
|
1587
|
-
}), e[7] = s, e[8] = b) : b = e[8];
|
|
1588
|
-
let u;
|
|
1589
|
-
return e[9] !== r || e[10] !== w || e[11] !== b ? (u = /* @__PURE__ */ n(fe, { title: w, ...r, children: b }), e[9] = r, e[10] = w, e[11] = b, e[12] = u) : u = e[12], u;
|
|
1590
|
-
}
|
|
1591
|
-
const tl = {
|
|
946
|
+
}, Pt = {
|
|
1592
947
|
showMore: "Show More",
|
|
1593
948
|
showLess: "Show Less"
|
|
1594
949
|
};
|
|
1595
|
-
function
|
|
1596
|
-
const e =
|
|
1597
|
-
data:
|
|
1598
|
-
isLoading:
|
|
1599
|
-
maxItems:
|
|
950
|
+
function Jt(t) {
|
|
951
|
+
const e = F(34), {
|
|
952
|
+
data: s,
|
|
953
|
+
isLoading: o,
|
|
954
|
+
maxItems: n,
|
|
1600
955
|
labels: r,
|
|
1601
|
-
showDivider:
|
|
956
|
+
showDivider: i,
|
|
1602
957
|
selectedItemId: a,
|
|
1603
958
|
tooltipProps: c,
|
|
1604
959
|
onExpand: d,
|
|
1605
|
-
onItemClick:
|
|
960
|
+
onItemClick: m
|
|
1606
961
|
} = t;
|
|
1607
|
-
let
|
|
1608
|
-
e[0] !==
|
|
1609
|
-
const
|
|
1610
|
-
let
|
|
1611
|
-
e[2] !==
|
|
1612
|
-
const
|
|
1613
|
-
let
|
|
1614
|
-
e[6] !== d || e[7] !==
|
|
1615
|
-
|
|
1616
|
-
}, e[6] = d, e[7] =
|
|
1617
|
-
const
|
|
1618
|
-
if (
|
|
1619
|
-
let
|
|
1620
|
-
return e[9] !==
|
|
962
|
+
let u;
|
|
963
|
+
e[0] !== s ? (u = s === void 0 ? [] : s, e[0] = s, e[1] = u) : u = e[1];
|
|
964
|
+
const f = u, I = o === void 0 ? !1 : o, v = n === void 0 ? 5 : n, k = r === void 0 ? Pt : r, p = i === void 0 ? !0 : i, [g, S] = ne(!1), A = Lt(I);
|
|
965
|
+
let _;
|
|
966
|
+
e[2] !== f || e[3] !== v || e[4] !== g ? (_ = g ? f : f.slice(0, v), e[2] = f, e[3] = v, e[4] = g, e[5] = _) : _ = e[5];
|
|
967
|
+
const C = _;
|
|
968
|
+
let D;
|
|
969
|
+
e[6] !== d || e[7] !== g ? (D = () => {
|
|
970
|
+
S(!g), d?.(g);
|
|
971
|
+
}, e[6] = d, e[7] = g, e[8] = D) : D = e[8];
|
|
972
|
+
const M = D;
|
|
973
|
+
if (A) {
|
|
974
|
+
let w;
|
|
975
|
+
return e[9] !== v ? (w = /* @__PURE__ */ l(_t, { length: v }), e[9] = v, e[10] = w) : w = e[10], w;
|
|
1621
976
|
}
|
|
1622
|
-
if (
|
|
1623
|
-
let
|
|
1624
|
-
return e[11] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
977
|
+
if (C.length === 0) {
|
|
978
|
+
let w;
|
|
979
|
+
return e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ l(It, {}), e[11] = w) : w = e[11], w;
|
|
1625
980
|
}
|
|
1626
|
-
let
|
|
1627
|
-
if (e[12] !==
|
|
1628
|
-
let
|
|
1629
|
-
e[18] !==
|
|
981
|
+
let h;
|
|
982
|
+
if (e[12] !== C || e[13] !== m || e[14] !== a || e[15] !== p || e[16] !== c) {
|
|
983
|
+
let w;
|
|
984
|
+
e[18] !== m || e[19] !== a || e[20] !== p || e[21] !== c ? (w = (x, Z) => /* @__PURE__ */ l(ct, { followCursor: !1, placement: "top", arrow: !0, title: x.tooltipTitle, enterDelay: 10, ...c, children: (U) => {
|
|
1630
985
|
const {
|
|
1631
|
-
ref:
|
|
1632
|
-
} =
|
|
1633
|
-
return /* @__PURE__ */
|
|
1634
|
-
...
|
|
1635
|
-
...
|
|
1636
|
-
...a ===
|
|
1637
|
-
...
|
|
986
|
+
ref: L
|
|
987
|
+
} = U;
|
|
988
|
+
return /* @__PURE__ */ l(Ye, { ref: L, role: "listitem", sx: {
|
|
989
|
+
...p && ue.showDivider,
|
|
990
|
+
...m && ue.clickable,
|
|
991
|
+
...a === x.id && ue.selected,
|
|
992
|
+
...x.disabled && ue.disabled
|
|
1638
993
|
}, onClick: () => {
|
|
1639
|
-
|
|
1640
|
-
}, children: /* @__PURE__ */
|
|
1641
|
-
/* @__PURE__ */
|
|
1642
|
-
/* @__PURE__ */
|
|
994
|
+
x.disabled || m?.(x);
|
|
995
|
+
}, children: /* @__PURE__ */ $(pe, { container: !0, alignItems: "center", children: [
|
|
996
|
+
/* @__PURE__ */ l(pe, { item: !0, xs: 8, children: /* @__PURE__ */ l(Se, { primary: x.label, sx: ue.label }) }),
|
|
997
|
+
/* @__PURE__ */ l(pe, { item: !0, xs: 4, children: /* @__PURE__ */ l(Se, { primary: x.value, sx: ue.value }) })
|
|
1643
998
|
] }) });
|
|
1644
|
-
} }, `list-item-${
|
|
999
|
+
} }, `list-item-${Z}`), e[18] = m, e[19] = a, e[20] = p, e[21] = c, e[22] = w) : w = e[22], h = C.map(w), e[12] = C, e[13] = m, e[14] = a, e[15] = p, e[16] = c, e[17] = h;
|
|
1645
1000
|
} else
|
|
1646
|
-
|
|
1647
|
-
let _;
|
|
1648
|
-
e[23] !== C ? (_ = /* @__PURE__ */ n(pt, { id: "expandable-list", role: "list", children: C }), e[23] = C, e[24] = _) : _ = e[24];
|
|
1001
|
+
h = e[17];
|
|
1649
1002
|
let T;
|
|
1650
|
-
e[
|
|
1651
|
-
let
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1003
|
+
e[23] !== h ? (T = /* @__PURE__ */ l(Qe, { id: "expandable-list", role: "list", children: h }), e[23] = h, e[24] = T) : T = e[24];
|
|
1004
|
+
let y;
|
|
1005
|
+
e[25] !== f.length || e[26] !== M || e[27] !== k || e[28] !== v || e[29] !== g ? (y = f.length > v && /* @__PURE__ */ l(q, { my: 2, children: /* @__PURE__ */ l(xe, { onClick: M, variant: "text", color: "primary", "aria-expanded": g, "aria-controls": "expandable-list", children: g ? k.showLess : k.showMore }) }), e[25] = f.length, e[26] = M, e[27] = k, e[28] = v, e[29] = g, e[30] = y) : y = e[30];
|
|
1006
|
+
let b;
|
|
1007
|
+
return e[31] !== T || e[32] !== y ? (b = /* @__PURE__ */ $(ee, { children: [
|
|
1008
|
+
T,
|
|
1009
|
+
y
|
|
1010
|
+
] }), e[31] = T, e[32] = y, e[33] = b) : b = e[33], b;
|
|
1656
1011
|
}
|
|
1657
|
-
const
|
|
1012
|
+
const Ot = 288, ce = {
|
|
1658
1013
|
root: {
|
|
1659
|
-
width:
|
|
1014
|
+
width: Ot,
|
|
1660
1015
|
overflow: "auto"
|
|
1661
1016
|
},
|
|
1662
1017
|
toggle: {
|
|
@@ -1755,7 +1110,7 @@ const ll = 288, he = {
|
|
|
1755
1110
|
}) => t.primary.main
|
|
1756
1111
|
}
|
|
1757
1112
|
}
|
|
1758
|
-
},
|
|
1113
|
+
}, Rt = {
|
|
1759
1114
|
toggle: {
|
|
1760
1115
|
title: "Toggle basemaps controls"
|
|
1761
1116
|
},
|
|
@@ -1766,224 +1121,224 @@ const ll = 288, he = {
|
|
|
1766
1121
|
}
|
|
1767
1122
|
}
|
|
1768
1123
|
};
|
|
1769
|
-
function
|
|
1770
|
-
const e =
|
|
1771
|
-
isMobile:
|
|
1772
|
-
labels:
|
|
1773
|
-
onChangeCollapsed:
|
|
1774
|
-
} = t, r =
|
|
1775
|
-
let
|
|
1776
|
-
e[0] !== r || e[1] !==
|
|
1777
|
-
/* @__PURE__ */
|
|
1778
|
-
/* @__PURE__ */
|
|
1779
|
-
] }), e[0] = r, e[1] =
|
|
1124
|
+
function Et(t) {
|
|
1125
|
+
const e = F(6), {
|
|
1126
|
+
isMobile: s,
|
|
1127
|
+
labels: o,
|
|
1128
|
+
onChangeCollapsed: n
|
|
1129
|
+
} = t, r = s === void 0 ? !1 : s;
|
|
1130
|
+
let i;
|
|
1131
|
+
e[0] !== r || e[1] !== o || e[2] !== n ? (i = r && /* @__PURE__ */ $(ee, { children: [
|
|
1132
|
+
/* @__PURE__ */ l(Q, { variant: "caption", flexGrow: 1, children: o.title }),
|
|
1133
|
+
/* @__PURE__ */ l(he, { title: o.actions.close, children: /* @__PURE__ */ l(re, { size: "small", onClick: n, "aria-label": o.actions.close, children: /* @__PURE__ */ l(Re, {}) }) })
|
|
1134
|
+
] }), e[0] = r, e[1] = o, e[2] = n, e[3] = i) : i = e[3];
|
|
1780
1135
|
let a;
|
|
1781
|
-
return e[4] !==
|
|
1136
|
+
return e[4] !== i ? (a = /* @__PURE__ */ l(q, { sx: ce.header, children: i }), e[4] = i, e[5] = a) : a = e[5], a;
|
|
1782
1137
|
}
|
|
1783
|
-
function
|
|
1784
|
-
const e =
|
|
1785
|
-
title:
|
|
1786
|
-
children:
|
|
1787
|
-
collapsed:
|
|
1138
|
+
function $t(t) {
|
|
1139
|
+
const e = F(5), {
|
|
1140
|
+
title: s,
|
|
1141
|
+
children: o,
|
|
1142
|
+
collapsed: n
|
|
1788
1143
|
} = t;
|
|
1789
|
-
if (
|
|
1790
|
-
return
|
|
1791
|
-
let
|
|
1792
|
-
e[0] !==
|
|
1144
|
+
if (n === void 0 ? !1 : n)
|
|
1145
|
+
return o;
|
|
1146
|
+
let i;
|
|
1147
|
+
e[0] !== s ? (i = /* @__PURE__ */ l(Q, { variant: "caption", color: "textSecondary", sx: ce.groupWrapper.content, children: s }), e[0] = s, e[1] = i) : i = e[1];
|
|
1793
1148
|
let a;
|
|
1794
|
-
return e[2] !==
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
] }), e[2] =
|
|
1149
|
+
return e[2] !== o || e[3] !== i ? (a = /* @__PURE__ */ $(ee, { children: [
|
|
1150
|
+
i,
|
|
1151
|
+
o
|
|
1152
|
+
] }), e[2] = o, e[3] = i, e[4] = a) : a = e[4], a;
|
|
1798
1153
|
}
|
|
1799
|
-
function
|
|
1800
|
-
const e =
|
|
1801
|
-
values:
|
|
1802
|
-
selected:
|
|
1803
|
-
onChange:
|
|
1154
|
+
function Bt(t) {
|
|
1155
|
+
const e = F(9), {
|
|
1156
|
+
values: s,
|
|
1157
|
+
selected: o,
|
|
1158
|
+
onChange: n
|
|
1804
1159
|
} = t;
|
|
1805
1160
|
let r;
|
|
1806
|
-
if (e[0] !==
|
|
1161
|
+
if (e[0] !== n || e[1] !== o || e[2] !== s) {
|
|
1807
1162
|
let a;
|
|
1808
|
-
e[4] !==
|
|
1809
|
-
const d = c.id ===
|
|
1810
|
-
return /* @__PURE__ */
|
|
1811
|
-
/* @__PURE__ */
|
|
1812
|
-
/* @__PURE__ */
|
|
1813
|
-
...d &&
|
|
1163
|
+
e[4] !== n || e[5] !== o ? (a = (c) => {
|
|
1164
|
+
const d = c.id === o;
|
|
1165
|
+
return /* @__PURE__ */ $(q, { sx: ce.item.container, component: "button", "aria-label": c.label, onClick: () => n(c.id), children: [
|
|
1166
|
+
/* @__PURE__ */ l("img", { src: c.icon, "aria-label": c.label + " icon", "data-active": d }),
|
|
1167
|
+
/* @__PURE__ */ l(Q, { variant: "caption", sx: {
|
|
1168
|
+
...d && ce.item.selected
|
|
1814
1169
|
}, children: c.label })
|
|
1815
1170
|
] }, c.id);
|
|
1816
|
-
}, e[4] =
|
|
1171
|
+
}, e[4] = n, e[5] = o, e[6] = a) : a = e[6], r = s.map(a), e[0] = n, e[1] = o, e[2] = s, e[3] = r;
|
|
1817
1172
|
} else
|
|
1818
1173
|
r = e[3];
|
|
1819
|
-
let
|
|
1820
|
-
return e[7] !== r ? (
|
|
1174
|
+
let i;
|
|
1175
|
+
return e[7] !== r ? (i = /* @__PURE__ */ l(q, { sx: ce.group, children: r }), e[7] = r, e[8] = i) : i = e[8], i;
|
|
1821
1176
|
}
|
|
1822
|
-
function
|
|
1823
|
-
const e =
|
|
1824
|
-
ref:
|
|
1825
|
-
children:
|
|
1826
|
-
collapsed:
|
|
1177
|
+
function Ut(t) {
|
|
1178
|
+
const e = F(21), {
|
|
1179
|
+
ref: s,
|
|
1180
|
+
children: o,
|
|
1181
|
+
collapsed: n,
|
|
1827
1182
|
isMobile: r,
|
|
1828
|
-
position:
|
|
1183
|
+
position: i,
|
|
1829
1184
|
sx: a,
|
|
1830
1185
|
slotProps: c,
|
|
1831
1186
|
onChangeCollapsed: d
|
|
1832
1187
|
} = t;
|
|
1833
1188
|
if (r === void 0 ? !1 : r) {
|
|
1834
|
-
const
|
|
1835
|
-
let
|
|
1836
|
-
return e[0] !==
|
|
1189
|
+
const _ = !n;
|
|
1190
|
+
let C;
|
|
1191
|
+
return e[0] !== o || e[1] !== d || e[2] !== _ ? (C = /* @__PURE__ */ l(Je, { anchor: "bottom", open: _, onClose: d, children: o }), e[0] = o, e[1] = d, e[2] = _, e[3] = C) : C = e[3], C;
|
|
1837
1192
|
}
|
|
1838
|
-
const
|
|
1839
|
-
let
|
|
1840
|
-
e[4] !== d ? (
|
|
1841
|
-
const
|
|
1842
|
-
let
|
|
1843
|
-
e[6] !==
|
|
1844
|
-
vertical:
|
|
1845
|
-
horizontal:
|
|
1846
|
-
}, e[6] =
|
|
1847
|
-
const
|
|
1848
|
-
let
|
|
1849
|
-
e[9] !==
|
|
1850
|
-
vertical:
|
|
1851
|
-
horizontal:
|
|
1852
|
-
}, e[9] =
|
|
1853
|
-
let
|
|
1854
|
-
return e[12] !==
|
|
1193
|
+
const u = !n;
|
|
1194
|
+
let f;
|
|
1195
|
+
e[4] !== d ? (f = () => d(!0), e[4] = d, e[5] = f) : f = e[5];
|
|
1196
|
+
const I = i.startsWith("bottom") ? "bottom" : "top", v = i.endsWith("right") ? "left" : "right";
|
|
1197
|
+
let k;
|
|
1198
|
+
e[6] !== I || e[7] !== v ? (k = {
|
|
1199
|
+
vertical: I,
|
|
1200
|
+
horizontal: v
|
|
1201
|
+
}, e[6] = I, e[7] = v, e[8] = k) : k = e[8];
|
|
1202
|
+
const p = i.startsWith("bottom") ? "bottom" : "top", g = i.endsWith("right") ? "right" : "left";
|
|
1203
|
+
let S;
|
|
1204
|
+
e[9] !== p || e[10] !== g ? (S = {
|
|
1205
|
+
vertical: p,
|
|
1206
|
+
horizontal: g
|
|
1207
|
+
}, e[9] = p, e[10] = g, e[11] = S) : S = e[11];
|
|
1208
|
+
let A;
|
|
1209
|
+
return e[12] !== o || e[13] !== s || e[14] !== c || e[15] !== a || e[16] !== u || e[17] !== f || e[18] !== k || e[19] !== S ? (A = /* @__PURE__ */ l(et, { sx: a, anchorEl: s, open: u, onClose: f, anchorOrigin: k, transformOrigin: S, slotProps: c, children: o }), e[12] = o, e[13] = s, e[14] = c, e[15] = a, e[16] = u, e[17] = f, e[18] = k, e[19] = S, e[20] = A) : A = e[20], A;
|
|
1855
1210
|
}
|
|
1856
|
-
function
|
|
1857
|
-
const e =
|
|
1858
|
-
options:
|
|
1859
|
-
labels:
|
|
1860
|
-
position:
|
|
1211
|
+
function el(t) {
|
|
1212
|
+
const e = F(56), {
|
|
1213
|
+
options: s,
|
|
1214
|
+
labels: o,
|
|
1215
|
+
position: n,
|
|
1861
1216
|
selected: r,
|
|
1862
|
-
onChange:
|
|
1217
|
+
onChange: i,
|
|
1863
1218
|
TooltipProps: a
|
|
1864
1219
|
} = t;
|
|
1865
1220
|
let c;
|
|
1866
|
-
e[0] !==
|
|
1867
|
-
const d = c,
|
|
1868
|
-
let M;
|
|
1869
|
-
e[2] !== g.breakpoints ? (M = g.breakpoints.down("sm"), e[2] = g.breakpoints, e[3] = M) : M = e[3];
|
|
1870
|
-
const v = vt(M);
|
|
1871
|
-
let I;
|
|
1872
|
-
e[4] !== l ? (I = l ?? {}, e[4] = l, e[5] = I) : I = e[5];
|
|
1873
|
-
let A;
|
|
1874
|
-
e[6] !== I ? (A = Ce(ol, I), e[6] = I, e[7] = A) : A = e[7];
|
|
1875
|
-
const C = A;
|
|
1221
|
+
e[0] !== s ? (c = s === void 0 ? [] : s, e[0] = s, e[1] = c) : c = e[1];
|
|
1222
|
+
const d = c, m = n === void 0 ? "bottom-right" : n, u = r === void 0 ? null : r, [f, I] = ne(null), [v, k] = ne(!1), p = Pe(null), [g, S] = ne(null), A = tt();
|
|
1876
1223
|
let _;
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1224
|
+
e[2] !== A.breakpoints ? (_ = A.breakpoints.down("sm"), e[2] = A.breakpoints, e[3] = _) : _ = e[3];
|
|
1225
|
+
const C = lt(_);
|
|
1226
|
+
let D;
|
|
1227
|
+
e[4] !== o ? (D = o ?? {}, e[4] = o, e[5] = D) : D = e[5];
|
|
1228
|
+
let M;
|
|
1229
|
+
e[6] !== D ? (M = Me(Rt, D), e[6] = D, e[7] = M) : M = e[7];
|
|
1230
|
+
const h = M;
|
|
1231
|
+
let T;
|
|
1232
|
+
if (e[8] !== d || e[9] !== u) {
|
|
1233
|
+
let se;
|
|
1234
|
+
e[11] !== u ? (se = (be) => be.id === u, e[11] = u, e[12] = se) : se = e[12], T = d.find(se), e[8] = d, e[9] = u, e[10] = T;
|
|
1880
1235
|
} else
|
|
1881
|
-
|
|
1882
|
-
const
|
|
1883
|
-
let
|
|
1884
|
-
e[13] !== d ? (
|
|
1885
|
-
const
|
|
1886
|
-
let
|
|
1887
|
-
e[15] !==
|
|
1888
|
-
const
|
|
1889
|
-
let
|
|
1890
|
-
e[17] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
1891
|
-
|
|
1892
|
-
}, e[17] =
|
|
1893
|
-
const
|
|
1894
|
-
let
|
|
1895
|
-
e[18] !==
|
|
1896
|
-
if (
|
|
1897
|
-
return
|
|
1898
|
-
|
|
1899
|
-
},
|
|
1900
|
-
|
|
1236
|
+
T = e[10];
|
|
1237
|
+
const y = T;
|
|
1238
|
+
let b;
|
|
1239
|
+
e[13] !== d ? (b = Object.groupBy(d, Vt), e[13] = d, e[14] = b) : b = e[14];
|
|
1240
|
+
const w = b;
|
|
1241
|
+
let x;
|
|
1242
|
+
e[15] !== w ? (x = Object.keys(w), e[15] = w, e[16] = x) : x = e[16];
|
|
1243
|
+
const Z = x.length;
|
|
1244
|
+
let U;
|
|
1245
|
+
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = () => {
|
|
1246
|
+
I(null), k(!1);
|
|
1247
|
+
}, e[17] = U) : U = e[17];
|
|
1248
|
+
const L = U;
|
|
1249
|
+
let P, V;
|
|
1250
|
+
e[18] !== g ? (P = () => {
|
|
1251
|
+
if (p.current && clearTimeout(p.current), !!g)
|
|
1252
|
+
return p.current = setTimeout(() => {
|
|
1253
|
+
L();
|
|
1254
|
+
}, g), () => {
|
|
1255
|
+
p.current && clearTimeout(p.current);
|
|
1901
1256
|
};
|
|
1902
|
-
},
|
|
1903
|
-
let
|
|
1904
|
-
e[21] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
1905
|
-
|
|
1906
|
-
}, e[21] =
|
|
1907
|
-
const
|
|
1908
|
-
let
|
|
1909
|
-
e[22] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
1910
|
-
|
|
1911
|
-
}, e[22] =
|
|
1912
|
-
const W =
|
|
1257
|
+
}, V = [g], e[18] = g, e[19] = P, e[20] = V) : (P = e[19], V = e[20]), Oe(P, V);
|
|
1258
|
+
let E;
|
|
1259
|
+
e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = () => {
|
|
1260
|
+
S(null);
|
|
1261
|
+
}, e[21] = E) : E = e[21];
|
|
1262
|
+
const R = E;
|
|
1263
|
+
let O;
|
|
1264
|
+
e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = () => {
|
|
1265
|
+
S(400);
|
|
1266
|
+
}, e[22] = O) : O = e[22];
|
|
1267
|
+
const W = O;
|
|
1268
|
+
let G;
|
|
1269
|
+
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = (se) => {
|
|
1270
|
+
I(se.currentTarget), k(!0);
|
|
1271
|
+
}, e[23] = G) : G = e[23];
|
|
1272
|
+
const j = y?.icon, N = y?.label ?? "Basemap";
|
|
1913
1273
|
let z;
|
|
1914
|
-
e[
|
|
1915
|
-
|
|
1916
|
-
}, e[
|
|
1917
|
-
const
|
|
1918
|
-
let
|
|
1919
|
-
e[
|
|
1920
|
-
let U;
|
|
1921
|
-
e[27] !== a || e[28] !== C.toggle.title || e[29] !== F ? (U = /* @__PURE__ */ n(fe, { title: C.toggle.title, placement: "right", ...a, children: F }), e[27] = a, e[28] = C.toggle.title, e[29] = F, e[30] = U) : U = e[30];
|
|
1922
|
-
const X = `translate3d(${f.endsWith("right") ? "-8px" : "8px"}, ${f.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
|
|
1923
|
-
let q;
|
|
1924
|
-
e[31] !== X ? (q = {
|
|
1274
|
+
e[24] !== j || e[25] !== N ? (z = /* @__PURE__ */ l(re, { sx: ce.toggle, onClick: G, children: /* @__PURE__ */ l("img", { src: j, alt: N }) }), e[24] = j, e[25] = N, e[26] = z) : z = e[26];
|
|
1275
|
+
let B;
|
|
1276
|
+
e[27] !== a || e[28] !== h.toggle.title || e[29] !== z ? (B = /* @__PURE__ */ l(he, { title: h.toggle.title, placement: "right", ...a, children: z }), e[27] = a, e[28] = h.toggle.title, e[29] = z, e[30] = B) : B = e[30];
|
|
1277
|
+
const H = `translate3d(${m.endsWith("right") ? "-8px" : "8px"}, ${m.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
|
|
1278
|
+
let X;
|
|
1279
|
+
e[31] !== H ? (X = {
|
|
1925
1280
|
paper: {
|
|
1926
1281
|
sx: {
|
|
1927
|
-
...
|
|
1928
|
-
transform:
|
|
1282
|
+
...ce.root,
|
|
1283
|
+
transform: H
|
|
1929
1284
|
},
|
|
1930
|
-
onMouseOver:
|
|
1285
|
+
onMouseOver: R,
|
|
1931
1286
|
onMouseLeave: W
|
|
1932
1287
|
}
|
|
1933
|
-
}, e[31] =
|
|
1934
|
-
const
|
|
1288
|
+
}, e[31] = H, e[32] = X) : X = e[32];
|
|
1289
|
+
const te = !v;
|
|
1290
|
+
let J;
|
|
1291
|
+
e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (J = () => L(), e[33] = J) : J = e[33];
|
|
1935
1292
|
let le;
|
|
1936
|
-
e[
|
|
1293
|
+
e[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (le = () => L(), e[34] = le) : le = e[34];
|
|
1294
|
+
let K;
|
|
1295
|
+
e[35] !== C || e[36] !== h.header ? (K = /* @__PURE__ */ l(Et, { isMobile: C, labels: h.header, onChangeCollapsed: le }), e[35] = C, e[36] = h.header, e[37] = K) : K = e[37];
|
|
1937
1296
|
let ie;
|
|
1938
|
-
e[
|
|
1939
|
-
let
|
|
1940
|
-
e[
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
return /* @__PURE__ */ n(il, { title: Se + " " + C.header.title, collapsed: V < 2, children: /* @__PURE__ */ n(sl, { values: Fe, selected: h, onChange: (He) => {
|
|
1947
|
-
P(), s(He);
|
|
1948
|
-
} }) }, Se);
|
|
1949
|
-
}), e[40] = V, e[41] = C.header, e[42] = s, e[43] = h, e[44] = ce, e[45] = pe) : pe = e[45];
|
|
1297
|
+
e[38] !== w ? (ie = Object.entries(w), e[38] = w, e[39] = ie) : ie = e[39];
|
|
1298
|
+
let de;
|
|
1299
|
+
e[40] !== Z || e[41] !== h.header || e[42] !== i || e[43] !== u || e[44] !== ie ? (de = ie.map((se) => {
|
|
1300
|
+
const [be, Ee] = se;
|
|
1301
|
+
return /* @__PURE__ */ l($t, { title: be + " " + h.header.title, collapsed: Z < 2, children: /* @__PURE__ */ l(Bt, { values: Ee, selected: u, onChange: ($e) => {
|
|
1302
|
+
L(), i($e);
|
|
1303
|
+
} }) }, be);
|
|
1304
|
+
}), e[40] = Z, e[41] = h.header, e[42] = i, e[43] = u, e[44] = ie, e[45] = de) : de = e[45];
|
|
1950
1305
|
let me;
|
|
1951
|
-
e[46] !==
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
] }), e[46] =
|
|
1955
|
-
let
|
|
1956
|
-
return e[53] !==
|
|
1957
|
-
|
|
1306
|
+
e[46] !== C || e[47] !== m || e[48] !== X || e[49] !== te || e[50] !== K || e[51] !== de ? (me = /* @__PURE__ */ $(Ut, { ref: f, slotProps: X, collapsed: te, position: m, isMobile: C, onChangeCollapsed: J, children: [
|
|
1307
|
+
K,
|
|
1308
|
+
de
|
|
1309
|
+
] }), e[46] = C, e[47] = m, e[48] = X, e[49] = te, e[50] = K, e[51] = de, e[52] = me) : me = e[52];
|
|
1310
|
+
let ge;
|
|
1311
|
+
return e[53] !== B || e[54] !== me ? (ge = /* @__PURE__ */ $(Ce, { children: [
|
|
1312
|
+
B,
|
|
1958
1313
|
me
|
|
1959
|
-
] }), e[53] =
|
|
1314
|
+
] }), e[53] = B, e[54] = me, e[55] = ge) : ge = e[55], ge;
|
|
1960
1315
|
}
|
|
1961
|
-
function
|
|
1316
|
+
function Vt(t) {
|
|
1962
1317
|
return t.group ?? "default";
|
|
1963
1318
|
}
|
|
1964
1319
|
export {
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1320
|
+
gt as AreaIcon,
|
|
1321
|
+
el as BasemapsUI,
|
|
1322
|
+
ht as BufferIcon,
|
|
1323
|
+
ol as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
|
|
1324
|
+
oe as DEFAULT_MEASUREMENT_TOOLS_LABELS,
|
|
1325
|
+
vt as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING,
|
|
1326
|
+
bt as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING,
|
|
1327
|
+
nl as DrawCircleIcon,
|
|
1328
|
+
il as DrawLassoIcon,
|
|
1329
|
+
sl as DrawPolygonIcon,
|
|
1330
|
+
rl as DrawSquareIcon,
|
|
1331
|
+
Yt as GeolocationControls,
|
|
1332
|
+
ae as LASSO_TOOLS_LABELS,
|
|
1333
|
+
qt as LassoToolsInlineUI,
|
|
1334
|
+
al as LassoToolsUI,
|
|
1335
|
+
Jt as ListDataUI,
|
|
1336
|
+
Kt as MeasurementToolsUI,
|
|
1337
|
+
pt as RulerIcon,
|
|
1338
|
+
cl as SelectToolIcon,
|
|
1339
|
+
ct as SmartTooltip,
|
|
1340
|
+
he as Tooltip,
|
|
1341
|
+
Qt as ZoomControlsUI,
|
|
1342
|
+
ml as setTooltipEnterDelay
|
|
1988
1343
|
};
|
|
1989
1344
|
//# sourceMappingURL=components.js.map
|