@carto/ps-react-ui 4.13.0 → 4.14.1
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/{category-Dnd2_j0x.js → category-CGS_eHr4.js} +2 -2
- package/dist/{category-Dnd2_j0x.js.map → category-CGS_eHr4.js.map} +1 -1
- package/dist/{change-column-DjjwoPt1.js → change-column-CiVAjOUB.js} +2 -2
- package/dist/{change-column-DjjwoPt1.js.map → change-column-CiVAjOUB.js.map} +1 -1
- package/dist/components.js +1138 -747
- package/dist/components.js.map +1 -1
- package/dist/{data-zoom-layout-CkVnm6ej.js → data-zoom-layout-D_FYdnap.js} +2 -2
- package/dist/{data-zoom-layout-CkVnm6ej.js.map → data-zoom-layout-D_FYdnap.js.map} +1 -1
- package/dist/{download-config-oJIFZ2WC.js → download-config-OKlLLSW_.js} +2 -2
- package/dist/{download-config-oJIFZ2WC.js.map → download-config-OKlLLSW_.js.map} +1 -1
- package/dist/{lasso-tool-CDFj4zKY.js → lasso-tool-YLFRgb-S.js} +182 -154
- package/dist/lasso-tool-YLFRgb-S.js.map +1 -0
- package/dist/{spread-DYNpzgh_.js → spread-4MYPOntd.js} +2 -2
- package/dist/{spread-DYNpzgh_.js.map → spread-4MYPOntd.js.map} +1 -1
- package/dist/{table-B3ZWWhJt.js → table-CTcLOycx.js} +2 -2
- package/dist/{table-B3ZWWhJt.js.map → table-CTcLOycx.js.map} +1 -1
- package/dist/types/components/index.d.ts +4 -2
- package/dist/types/components/lasso-tool/geometry-toolbar.d.ts +13 -0
- package/dist/types/components/lasso-tool/icons.d.ts +6 -0
- package/dist/types/components/lasso-tool/lasso-tool.d.ts +1 -1
- package/dist/types/components/lasso-tool/layer-filters.d.ts +10 -0
- package/dist/types/components/lasso-tool/styles.d.ts +1 -1
- package/dist/types/components/lasso-tool/types.d.ts +62 -1
- package/dist/widgets/actions.js +1 -1
- package/dist/widgets/bar.js +1 -1
- package/dist/widgets/category.js +1 -1
- package/dist/widgets/formula.js +1 -1
- package/dist/widgets/histogram.js +1 -1
- package/dist/widgets/markdown.js +1 -1
- package/dist/widgets/pie.js +1 -1
- package/dist/widgets/scatterplot.js +1 -1
- package/dist/widgets/spread.js +1 -1
- package/dist/widgets/table.js +1 -1
- package/dist/widgets/timeseries.js +1 -1
- package/dist/widgets/utils.js +1 -1
- package/dist/widgets/wrapper.js +1 -1
- package/dist/widgets-v2/actions.js +1 -1
- package/dist/widgets-v2/bar.js +2 -2
- package/dist/widgets-v2/category.js +2 -2
- package/dist/widgets-v2/formula.js +1 -1
- package/dist/widgets-v2/histogram.js +2 -2
- package/dist/widgets-v2/markdown.js +1 -1
- package/dist/widgets-v2/pie.js +1 -1
- package/dist/widgets-v2/scatterplot.js +1 -1
- package/dist/widgets-v2/spread.js +2 -2
- package/dist/widgets-v2/table.js +3 -3
- package/dist/widgets-v2/timeseries.js +2 -2
- package/dist/widgets-v2/utils.js +1 -1
- package/dist/widgets-v2.js +5 -5
- package/package.json +1 -1
- package/src/components/index.ts +8 -0
- package/src/components/lasso-tool/const.tsx +1 -0
- package/src/components/lasso-tool/geometry-toolbar.test.tsx +138 -0
- package/src/components/lasso-tool/geometry-toolbar.tsx +258 -0
- package/src/components/lasso-tool/icons.tsx +40 -0
- package/src/components/lasso-tool/lasso-tool.tsx +25 -1
- package/src/components/lasso-tool/layer-filters.test.tsx +103 -0
- package/src/components/lasso-tool/layer-filters.tsx +242 -0
- package/src/components/lasso-tool/styles.ts +1 -1
- package/src/components/lasso-tool/types.ts +66 -1
- package/dist/lasso-tool-CDFj4zKY.js.map +0 -1
package/dist/components.js
CHANGED
|
@@ -1,194 +1,581 @@
|
|
|
1
|
-
import { s as
|
|
2
|
-
import { D as
|
|
3
|
-
import { jsxs as
|
|
4
|
-
import { c as
|
|
5
|
-
import { Divider as
|
|
6
|
-
import { useState as
|
|
7
|
-
import { d as
|
|
8
|
-
import { T as
|
|
9
|
-
import { s as
|
|
10
|
-
import {
|
|
11
|
-
import { S as
|
|
12
|
-
import { C as
|
|
13
|
-
const
|
|
14
|
-
function
|
|
15
|
-
const e =
|
|
1
|
+
import { s as De, L as lt, a as ye, S as ot, T as nt } from "./lasso-tool-YLFRgb-S.js";
|
|
2
|
+
import { D as Nl, b as Gl, c as Hl, d as Yl, e as Kl, f as Xl, g as ql } from "./lasso-tool-YLFRgb-S.js";
|
|
3
|
+
import { jsxs as W, Fragment as fe, jsx as l } from "react/jsx-runtime";
|
|
4
|
+
import { c as Y } from "react/compiler-runtime";
|
|
5
|
+
import { Divider as he, Box as ne, ToggleButton as Pe, SvgIcon as Re, ToggleButtonGroup as He, Typography as se, Button as _e, Paper as Me, TextField as it, Popover as Ye, IconButton as be, ListItemButton as We, ListItemIcon as $e, Checkbox as ze, ListItemText as Ce, Dialog as Ke, DialogTitle as Xe, InputBase as st, List as qe, DialogContent as Qe, DialogActions as Je, alpha as rt, MenuItem as Ve, Menu as at, FormControlLabel as ct, Radio as dt, RadioGroup as mt, FormControl as ft, CircularProgress as pt, Grid as Te, Skeleton as Oe, Alert as ut, ListItem as ht, Drawer as gt, useTheme as bt, useMediaQuery as vt } from "@mui/material";
|
|
6
|
+
import { useRef as we, useState as ae, useId as yt, useReducer as xt, useEffectEvent as St, useEffect as et } from "react";
|
|
7
|
+
import { d as Be } from "./cjs-D4KH3azB.js";
|
|
8
|
+
import { T as ke } from "./tooltip-BDnrRKrp.js";
|
|
9
|
+
import { s as Jl } from "./tooltip-BDnrRKrp.js";
|
|
10
|
+
import { LockOutlined as _t, DeleteOutlined as Ct, Close as Ue, Search as wt, ArrowDropDown as kt, MyLocationOutlined as Tt, LocationDisabledOutlined as Mt, CropFreeOutlined as It, AddOutlined as At, RemoveOutlined as Lt } from "@mui/icons-material";
|
|
11
|
+
import { S as Dt } from "./smart-tooltip-D4vwQpFf.js";
|
|
12
|
+
import { C as to } from "./copy-button-DGL1tyli.js";
|
|
13
|
+
const Pt = [], Rt = {};
|
|
14
|
+
function El(t) {
|
|
15
|
+
const e = Y(55), {
|
|
16
16
|
enabled: i,
|
|
17
|
-
values:
|
|
17
|
+
values: o,
|
|
18
18
|
chipProps: n,
|
|
19
|
-
labels:
|
|
19
|
+
labels: c,
|
|
20
20
|
modes: s,
|
|
21
21
|
modesMapping: a,
|
|
22
|
-
modeSelected:
|
|
22
|
+
modeSelected: r,
|
|
23
23
|
BoxProps: m,
|
|
24
|
-
onChipToggle:
|
|
25
|
-
onDelete:
|
|
26
|
-
onChangeMode:
|
|
27
|
-
onAllChipToggle:
|
|
28
|
-
onAllDelete:
|
|
29
|
-
} = t,
|
|
30
|
-
let
|
|
31
|
-
e[0] !==
|
|
32
|
-
sx:
|
|
33
|
-
|
|
34
|
-
} =
|
|
35
|
-
let
|
|
36
|
-
e[3] !== s || e[4] !== a ? (
|
|
37
|
-
const
|
|
38
|
-
let
|
|
39
|
-
e[6] !==
|
|
40
|
-
edit:
|
|
41
|
-
...
|
|
42
|
-
} =
|
|
43
|
-
let h;
|
|
44
|
-
e[9] !== p ? (h = (K) => p(K), e[9] = p, e[10] = h) : h = e[10];
|
|
45
|
-
const S = h;
|
|
46
|
-
let A;
|
|
47
|
-
e[11] !== _ ? (A = (K, le) => {
|
|
48
|
-
K.preventDefault(), _?.(le);
|
|
49
|
-
}, e[11] = _, e[12] = A) : A = e[12];
|
|
50
|
-
const v = A, k = (c ?? "") in s ? c : Object.keys(C)[0], I = i ? C[k] : null;
|
|
51
|
-
let L;
|
|
52
|
-
e[13] !== x ? (L = Object.values(x), e[13] = x, e[14] = L) : L = e[14];
|
|
53
|
-
const M = L;
|
|
54
|
-
let O;
|
|
55
|
-
e[15] !== R ? (O = {
|
|
56
|
-
...be.container,
|
|
57
|
-
...R
|
|
58
|
-
}, e[15] = R, e[16] = O) : O = e[16];
|
|
59
|
-
const P = r?.options, U = I?.value, B = r?.options;
|
|
24
|
+
onChipToggle: f,
|
|
25
|
+
onDelete: d,
|
|
26
|
+
onChangeMode: h,
|
|
27
|
+
onAllChipToggle: u,
|
|
28
|
+
onAllDelete: L
|
|
29
|
+
} = t, C = o === void 0 ? Pt : o, y = m === void 0 ? Rt : m;
|
|
30
|
+
let $, B;
|
|
31
|
+
e[0] !== y ? ({
|
|
32
|
+
sx: B,
|
|
33
|
+
...$
|
|
34
|
+
} = y, e[0] = y, e[1] = $, e[2] = B) : ($ = e[1], B = e[2]);
|
|
35
|
+
let M;
|
|
36
|
+
e[3] !== s || e[4] !== a ? (M = Be(s, a), e[3] = s, e[4] = a, e[5] = M) : M = e[5];
|
|
37
|
+
const x = M;
|
|
38
|
+
let b, k;
|
|
39
|
+
e[6] !== x ? ({
|
|
40
|
+
edit: k,
|
|
41
|
+
...b
|
|
42
|
+
} = x, e[6] = x, e[7] = b, e[8] = k) : (b = e[7], k = e[8]);
|
|
60
43
|
let g;
|
|
61
|
-
e[
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
44
|
+
e[9] !== d ? (g = (K) => d(K), e[9] = d, e[10] = g) : g = e[10];
|
|
45
|
+
const T = g;
|
|
46
|
+
let I;
|
|
47
|
+
e[11] !== h ? (I = (K, Q) => {
|
|
48
|
+
K.preventDefault(), h?.(Q);
|
|
49
|
+
}, e[11] = h, e[12] = I) : I = e[12];
|
|
50
|
+
const S = I, D = (r ?? "") in s ? r : Object.keys(x)[0], A = i ? x[D] : null;
|
|
51
|
+
let P;
|
|
52
|
+
e[13] !== b ? (P = Object.values(b), e[13] = b, e[14] = P) : P = e[14];
|
|
53
|
+
const _ = P;
|
|
54
|
+
let w;
|
|
55
|
+
e[15] !== B ? (w = {
|
|
56
|
+
...De.container,
|
|
57
|
+
...B
|
|
58
|
+
}, e[15] = B, e[16] = w) : w = e[16];
|
|
59
|
+
const R = c?.options, U = A?.value, O = c?.options;
|
|
60
|
+
let v;
|
|
61
|
+
e[17] !== _ || e[18] !== O ? (v = /* @__PURE__ */ l(Fe, { labels: O, data: _ }), e[17] = _, e[18] = O, e[19] = v) : v = e[19];
|
|
62
|
+
let E;
|
|
63
|
+
e[20] !== k || e[21] !== c?.options || e[22] !== C.length ? (E = !!k && /* @__PURE__ */ W(fe, { children: [
|
|
64
|
+
/* @__PURE__ */ l(he, { orientation: "vertical" }),
|
|
65
|
+
/* @__PURE__ */ l(Fe, { labels: c?.options, data: [{
|
|
66
|
+
...k,
|
|
67
|
+
disabled: !C.length
|
|
68
68
|
}] })
|
|
69
|
-
] }), e[20] =
|
|
70
|
-
let
|
|
71
|
-
e[24] !==
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
] }), e[24] =
|
|
75
|
-
let z;
|
|
76
|
-
e[29] !== M || e[30] !== F || e[31] !== P ? (z = /* @__PURE__ */ o(pt, { data: M, labels: P, children: F }), e[29] = M, e[30] = F, e[31] = P, e[32] = z) : z = e[32];
|
|
69
|
+
] }), e[20] = k, e[21] = c?.options, e[22] = C.length, e[23] = E) : E = e[23];
|
|
70
|
+
let V;
|
|
71
|
+
e[24] !== S || e[25] !== U || e[26] !== v || e[27] !== E ? (V = /* @__PURE__ */ W(He, { value: U, exclusive: !0, className: "inline", sx: De.options.menu, onChange: S, children: [
|
|
72
|
+
v,
|
|
73
|
+
E
|
|
74
|
+
] }), e[24] = S, e[25] = U, e[26] = v, e[27] = E, e[28] = V) : V = e[28];
|
|
77
75
|
let N;
|
|
78
|
-
e[
|
|
79
|
-
const j = !!y.length, G = r?.noData;
|
|
76
|
+
e[29] !== _ || e[30] !== V || e[31] !== R ? (N = /* @__PURE__ */ l(Ot, { data: _, labels: R, children: V }), e[29] = _, e[30] = V, e[31] = R, e[32] = N) : N = e[32];
|
|
80
77
|
let Z;
|
|
81
|
-
e[
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
let
|
|
86
|
-
e[
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
78
|
+
e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Z = /* @__PURE__ */ l(he, { flexItem: !0 }), e[33] = Z) : Z = e[33];
|
|
79
|
+
const j = !!C.length, F = c?.noData;
|
|
80
|
+
let z;
|
|
81
|
+
e[34] !== j || e[35] !== F ? (z = /* @__PURE__ */ l(Et, { hasValues: j, labels: F }), e[34] = j, e[35] = F, e[36] = z) : z = e[36];
|
|
82
|
+
let G;
|
|
83
|
+
e[37] !== n || e[38] !== T || e[39] !== c?.chip || e[40] !== f || e[41] !== C ? (G = !!C.length && /* @__PURE__ */ l(ne, { sx: De.chip.container, className: "inline", children: C.map((K) => /* @__PURE__ */ l(lt, { value: K, labels: c?.chip, chipProps: n, onDelete: T, onChipToggle: f }, K.id)) }), e[37] = n, e[38] = T, e[39] = c?.chip, e[40] = f, e[41] = C, e[42] = G) : G = e[42];
|
|
84
|
+
const X = c?.actions;
|
|
85
|
+
let q;
|
|
86
|
+
e[43] !== u || e[44] !== L || e[45] !== X || e[46] !== C ? (q = /* @__PURE__ */ l($t, { values: C, labels: X, onAllChipToggle: u, onAllDelete: L }), e[43] = u, e[44] = L, e[45] = X, e[46] = C, e[47] = q) : q = e[47];
|
|
87
|
+
let J;
|
|
88
|
+
return e[48] !== $ || e[49] !== N || e[50] !== z || e[51] !== G || e[52] !== q || e[53] !== w ? (J = /* @__PURE__ */ W(ne, { sx: w, ...$, className: "inline", children: [
|
|
90
89
|
N,
|
|
91
90
|
Z,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
z,
|
|
92
|
+
G,
|
|
93
|
+
q
|
|
94
|
+
] }), e[48] = $, e[49] = N, e[50] = z, e[51] = G, e[52] = q, e[53] = w, e[54] = J) : J = e[54], J;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
const e =
|
|
96
|
+
function Ot(t) {
|
|
97
|
+
const e = Y(5), {
|
|
98
98
|
data: i,
|
|
99
|
-
labels:
|
|
99
|
+
labels: o,
|
|
100
100
|
children: n
|
|
101
101
|
} = t;
|
|
102
102
|
if (i.length <= 1)
|
|
103
103
|
return null;
|
|
104
|
-
const
|
|
104
|
+
const c = o?.mode?.title ?? ye.options.mode.title;
|
|
105
105
|
let s;
|
|
106
|
-
e[0] !==
|
|
106
|
+
e[0] !== c ? (s = /* @__PURE__ */ l(se, { variant: "subtitle2", color: "text.secondary", sx: De.options.title, className: "inline", children: c }), e[0] = c, e[1] = s) : s = e[1];
|
|
107
107
|
let a;
|
|
108
|
-
return e[2] !== n || e[3] !== s ? (a = /* @__PURE__ */
|
|
108
|
+
return e[2] !== n || e[3] !== s ? (a = /* @__PURE__ */ W(fe, { children: [
|
|
109
109
|
s,
|
|
110
110
|
n
|
|
111
111
|
] }), e[2] = n, e[3] = s, e[4] = a) : a = e[4], a;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Fe({
|
|
114
114
|
data: t,
|
|
115
115
|
labels: e
|
|
116
116
|
}) {
|
|
117
117
|
return t.filter((i) => !!i).map((i) => {
|
|
118
|
-
const n = (e?.mode?.options ??
|
|
119
|
-
return /* @__PURE__ */
|
|
118
|
+
const n = (e?.mode?.options ?? ye.options.mode.options)[i.value];
|
|
119
|
+
return /* @__PURE__ */ l(ke, { title: n, placement: "bottom", children: /* @__PURE__ */ l(Pe, { disabled: !!i.disabled, value: i.value, "aria-label": i.value, children: /* @__PURE__ */ l(Re, { children: i.icon }) }) }, i.value);
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
const e =
|
|
122
|
+
function Et(t) {
|
|
123
|
+
const e = Y(7), {
|
|
124
124
|
hasValues: i,
|
|
125
|
-
labels:
|
|
125
|
+
labels: o
|
|
126
126
|
} = t;
|
|
127
127
|
if (i)
|
|
128
128
|
return null;
|
|
129
|
-
const n =
|
|
129
|
+
const n = o?.title ?? ye.noData.title, c = o?.description ?? ye.noData.description;
|
|
130
130
|
let s;
|
|
131
|
-
e[0] !== n ? (s = /* @__PURE__ */
|
|
131
|
+
e[0] !== n ? (s = /* @__PURE__ */ l(se, { variant: "body1", color: "textSecondary", children: n }), e[0] = n, e[1] = s) : s = e[1];
|
|
132
132
|
let a;
|
|
133
|
-
e[2] !==
|
|
134
|
-
let
|
|
135
|
-
return e[4] !== s || e[5] !== a ? (
|
|
133
|
+
e[2] !== c ? (a = /* @__PURE__ */ l(se, { variant: "body2", color: "textSecondary", children: c }), e[2] = c, e[3] = a) : a = e[3];
|
|
134
|
+
let r;
|
|
135
|
+
return e[4] !== s || e[5] !== a ? (r = /* @__PURE__ */ W(fe, { children: [
|
|
136
136
|
s,
|
|
137
137
|
a
|
|
138
|
-
] }), e[4] = s, e[5] = a, e[6] =
|
|
138
|
+
] }), e[4] = s, e[5] = a, e[6] = r) : r = e[6], r;
|
|
139
139
|
}
|
|
140
|
-
function
|
|
141
|
-
const e =
|
|
140
|
+
function $t(t) {
|
|
141
|
+
const e = Y(13), {
|
|
142
142
|
values: i,
|
|
143
|
-
labels:
|
|
143
|
+
labels: o,
|
|
144
144
|
onAllChipToggle: n,
|
|
145
|
-
onAllDelete:
|
|
145
|
+
onAllDelete: c
|
|
146
146
|
} = t;
|
|
147
147
|
if (i.length <= 1)
|
|
148
148
|
return null;
|
|
149
|
-
const a = i.some(
|
|
149
|
+
const a = i.some(Bt) ? o?.toggleAll?.active ?? ye.actions.toggleAll.active : o?.toggleAll?.inactive ?? ye.actions.toggleAll.inactive, r = o?.deleteAll ?? ye.actions.deleteAll;
|
|
150
150
|
let m;
|
|
151
151
|
e[0] !== n ? (m = () => n(), e[0] = n, e[1] = m) : m = e[1];
|
|
152
|
-
let d;
|
|
153
|
-
e[2] !== m || e[3] !== a ? (d = /* @__PURE__ */ o(ye, { color: "inherit", onClick: m, children: a }), e[2] = m, e[3] = a, e[4] = d) : d = e[4];
|
|
154
|
-
let p;
|
|
155
|
-
e[5] !== r ? (p = () => r(), e[5] = r, e[6] = p) : p = e[6];
|
|
156
|
-
let _;
|
|
157
|
-
e[7] !== c || e[8] !== p ? (_ = /* @__PURE__ */ o(ye, { color: "error", onClick: p, children: c }), e[7] = c, e[8] = p, e[9] = _) : _ = e[9];
|
|
158
152
|
let f;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
153
|
+
e[2] !== m || e[3] !== a ? (f = /* @__PURE__ */ l(_e, { color: "inherit", onClick: m, children: a }), e[2] = m, e[3] = a, e[4] = f) : f = e[4];
|
|
154
|
+
let d;
|
|
155
|
+
e[5] !== c ? (d = () => c(), e[5] = c, e[6] = d) : d = e[6];
|
|
156
|
+
let h;
|
|
157
|
+
e[7] !== r || e[8] !== d ? (h = /* @__PURE__ */ l(_e, { color: "error", onClick: d, children: r }), e[7] = r, e[8] = d, e[9] = h) : h = e[9];
|
|
158
|
+
let u;
|
|
159
|
+
return e[10] !== f || e[11] !== h ? (u = /* @__PURE__ */ W(ne, { children: [
|
|
160
|
+
f,
|
|
161
|
+
h
|
|
162
|
+
] }), e[10] = f, e[11] = h, e[12] = u) : u = e[12], u;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Bt(t) {
|
|
165
165
|
return t.visible;
|
|
166
166
|
}
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
const Ae = 18, Ut = {
|
|
168
|
+
display: "flex",
|
|
169
|
+
flexDirection: "row",
|
|
170
|
+
alignItems: "center",
|
|
171
|
+
width: "fit-content",
|
|
172
|
+
gap: ({
|
|
173
|
+
spacing: t
|
|
174
|
+
}) => t(0.5),
|
|
175
|
+
p: ({
|
|
176
|
+
spacing: t
|
|
177
|
+
}) => t(0.5),
|
|
178
|
+
borderRadius: ({
|
|
179
|
+
spacing: t
|
|
180
|
+
}) => t(0.5),
|
|
181
|
+
backgroundColor: ({
|
|
182
|
+
palette: t
|
|
183
|
+
}) => t.background.paper
|
|
184
|
+
}, tt = {
|
|
185
|
+
p: ({
|
|
186
|
+
spacing: t
|
|
187
|
+
}) => t(0.375),
|
|
188
|
+
borderRadius: ({
|
|
189
|
+
spacing: t
|
|
190
|
+
}) => t(0.5),
|
|
191
|
+
".MuiTouchRipple-ripple .MuiTouchRipple-child": {
|
|
192
|
+
borderRadius: ({
|
|
193
|
+
spacing: t
|
|
194
|
+
}) => t(0.5)
|
|
195
|
+
}
|
|
196
|
+
}, Wt = (t) => ({
|
|
197
|
+
...tt,
|
|
198
|
+
color: ({
|
|
199
|
+
palette: e
|
|
200
|
+
}) => t ? e.primary.main : e.text.secondary,
|
|
201
|
+
backgroundColor: t ? "rgba(3, 111, 226, 0.08)" : "transparent",
|
|
202
|
+
"&:hover": {
|
|
203
|
+
backgroundColor: ({
|
|
204
|
+
palette: e
|
|
205
|
+
}) => t ? "rgba(3, 111, 226, 0.12)" : e.action.hover
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
function $l(t) {
|
|
209
|
+
const e = Y(73), {
|
|
210
|
+
type: i,
|
|
211
|
+
label: o,
|
|
212
|
+
locked: n,
|
|
213
|
+
onToggleType: c,
|
|
214
|
+
onRename: s,
|
|
215
|
+
onToggleLock: a,
|
|
216
|
+
onDelete: r,
|
|
217
|
+
labels: m,
|
|
218
|
+
PaperProps: f
|
|
219
|
+
} = t, d = n === void 0 ? !1 : n;
|
|
220
|
+
let h;
|
|
221
|
+
e[0] !== f ? (h = f === void 0 ? {} : f, e[0] = f, e[1] = h) : h = e[1];
|
|
222
|
+
let u, L;
|
|
223
|
+
e[2] !== h ? ({
|
|
224
|
+
sx: L,
|
|
225
|
+
...u
|
|
226
|
+
} = h, e[2] = h, e[3] = u, e[4] = L) : (u = e[3], L = e[4]);
|
|
227
|
+
const C = we(null), y = we(!1), [$, B] = ae(null), [M, x] = ae(), [b, k] = ae(o), g = !!$, T = i === "mask" ? m?.toggleType?.draw ?? "Switch to drawing" : m?.toggleType?.mask ?? "Switch to mask", I = m?.rename ?? "Rename", S = m?.renameInput ?? I, p = d ? m?.lock?.unlock ?? "Unlock" : m?.lock?.lock ?? "Lock", D = m?.delete ?? "Delete";
|
|
228
|
+
let A;
|
|
229
|
+
e[5] !== o ? (A = () => {
|
|
230
|
+
y.current = !1, k(o), x(C.current?.clientWidth), B(C.current);
|
|
231
|
+
}, e[5] = o, e[6] = A) : A = e[6];
|
|
232
|
+
const P = A;
|
|
233
|
+
let _;
|
|
234
|
+
e[7] !== b || e[8] !== o || e[9] !== s ? (_ = () => {
|
|
235
|
+
if (!y.current) {
|
|
236
|
+
y.current = !0;
|
|
237
|
+
const re = b.trim();
|
|
238
|
+
re && re !== o && s(re);
|
|
239
|
+
}
|
|
240
|
+
B(null);
|
|
241
|
+
}, e[7] = b, e[8] = o, e[9] = s, e[10] = _) : _ = e[10];
|
|
242
|
+
const w = _;
|
|
243
|
+
let R;
|
|
244
|
+
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = () => {
|
|
245
|
+
y.current = !0, B(null);
|
|
246
|
+
}, e[11] = R) : R = e[11];
|
|
247
|
+
const U = R;
|
|
248
|
+
let O;
|
|
249
|
+
e[12] !== w ? (O = (re) => {
|
|
250
|
+
re.key === "Enter" && (re.preventDefault(), w()), re.key === "Escape" && (re.preventDefault(), U());
|
|
251
|
+
}, e[12] = w, e[13] = O) : O = e[13];
|
|
252
|
+
const v = O;
|
|
253
|
+
let E;
|
|
254
|
+
e[14] !== L ? (E = {
|
|
255
|
+
...Ut,
|
|
256
|
+
...L
|
|
257
|
+
}, e[14] = L, e[15] = E) : E = e[15];
|
|
258
|
+
const V = i === "mask", N = i === "mask";
|
|
259
|
+
let Z;
|
|
260
|
+
e[16] !== c || e[17] !== i ? (Z = () => c(i === "mask" ? "draw" : "mask"), e[16] = c, e[17] = i, e[18] = Z) : Z = e[18];
|
|
261
|
+
let j;
|
|
262
|
+
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ l(Re, { component: ot, inheritViewBox: !0, sx: {
|
|
263
|
+
fontSize: Ae
|
|
264
|
+
} }), e[19] = j) : j = e[19];
|
|
265
|
+
let F;
|
|
266
|
+
e[20] !== d || e[21] !== N || e[22] !== Z || e[23] !== V || e[24] !== T ? (F = /* @__PURE__ */ l(Le, { label: T, active: V, pressed: N, disabled: d, onClick: Z, icon: j }), e[20] = d, e[21] = N, e[22] = Z, e[23] = V, e[24] = T, e[25] = F) : F = e[25];
|
|
267
|
+
let z;
|
|
268
|
+
e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ l(he, { orientation: "vertical", flexItem: !0 }), e[26] = z) : z = e[26];
|
|
269
|
+
let G;
|
|
270
|
+
e[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ l(Re, { component: nt, inheritViewBox: !0, sx: {
|
|
271
|
+
fontSize: Ae
|
|
272
|
+
} }), e[27] = G) : G = e[27];
|
|
273
|
+
let X;
|
|
274
|
+
e[28] !== d || e[29] !== P || e[30] !== I || e[31] !== g ? (X = /* @__PURE__ */ l(Le, { label: I, active: g, disabled: d, onClick: P, icon: G }), e[28] = d, e[29] = P, e[30] = I, e[31] = g, e[32] = X) : X = e[32];
|
|
275
|
+
let q;
|
|
276
|
+
e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = /* @__PURE__ */ l(he, { orientation: "vertical", flexItem: !0 }), e[33] = q) : q = e[33];
|
|
277
|
+
let J;
|
|
278
|
+
e[34] !== d || e[35] !== a ? (J = () => a(!d), e[34] = d, e[35] = a, e[36] = J) : J = e[36];
|
|
279
|
+
let K;
|
|
280
|
+
e[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K = /* @__PURE__ */ l(_t, { sx: {
|
|
281
|
+
fontSize: Ae
|
|
282
|
+
} }), e[37] = K) : K = e[37];
|
|
283
|
+
let Q;
|
|
284
|
+
e[38] !== p || e[39] !== d || e[40] !== J ? (Q = /* @__PURE__ */ l(Le, { label: p, active: d, pressed: d, onClick: J, icon: K }), e[38] = p, e[39] = d, e[40] = J, e[41] = Q) : Q = e[41];
|
|
285
|
+
let ee;
|
|
286
|
+
e[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */ l(he, { orientation: "vertical", flexItem: !0 }), e[42] = ee) : ee = e[42];
|
|
287
|
+
let te;
|
|
288
|
+
e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (te = /* @__PURE__ */ l(Ct, { sx: {
|
|
289
|
+
fontSize: Ae
|
|
290
|
+
} }), e[43] = te) : te = e[43];
|
|
291
|
+
let le;
|
|
292
|
+
e[44] !== D || e[45] !== d || e[46] !== r ? (le = /* @__PURE__ */ l(Le, { label: D, disabled: d, onClick: r, icon: te, color: "error" }), e[44] = D, e[45] = d, e[46] = r, e[47] = le) : le = e[47];
|
|
293
|
+
let oe, ce;
|
|
294
|
+
e[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oe = {
|
|
295
|
+
vertical: "bottom",
|
|
296
|
+
horizontal: "left"
|
|
297
|
+
}, ce = {
|
|
298
|
+
vertical: "top",
|
|
299
|
+
horizontal: "left"
|
|
300
|
+
}, e[48] = oe, e[49] = ce) : (oe = e[48], ce = e[49]);
|
|
301
|
+
let ie;
|
|
302
|
+
e[50] !== M ? (ie = {
|
|
303
|
+
paper: {
|
|
304
|
+
sx: {
|
|
305
|
+
width: M,
|
|
306
|
+
minWidth: 180
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}, e[50] = M, e[51] = ie) : ie = e[51];
|
|
310
|
+
let ge;
|
|
311
|
+
e[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ge = {
|
|
312
|
+
p: 1
|
|
313
|
+
}, e[52] = ge) : ge = e[52];
|
|
314
|
+
let pe;
|
|
315
|
+
e[53] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (pe = (re) => k(re.target.value), e[53] = pe) : pe = e[53];
|
|
316
|
+
let de;
|
|
317
|
+
e[54] !== w || e[55] !== b || e[56] !== v || e[57] !== S ? (de = /* @__PURE__ */ l(ne, { sx: ge, children: /* @__PURE__ */ l(it, { inputRef: zt, fullWidth: !0, label: S, size: "small", variant: "outlined", value: b, onChange: pe, onKeyDown: v, onBlur: w }) }), e[54] = w, e[55] = b, e[56] = v, e[57] = S, e[58] = de) : de = e[58];
|
|
318
|
+
let ue;
|
|
319
|
+
e[59] !== $ || e[60] !== w || e[61] !== g || e[62] !== ie || e[63] !== de ? (ue = /* @__PURE__ */ l(Ye, { open: g, anchorEl: $, onClose: w, anchorOrigin: oe, transformOrigin: ce, slotProps: ie, children: de }), e[59] = $, e[60] = w, e[61] = g, e[62] = ie, e[63] = de, e[64] = ue) : ue = e[64];
|
|
320
|
+
let H;
|
|
321
|
+
return e[65] !== u || e[66] !== F || e[67] !== X || e[68] !== Q || e[69] !== le || e[70] !== ue || e[71] !== E ? (H = /* @__PURE__ */ W(Me, { ref: C, elevation: 6, sx: E, ...u, children: [
|
|
322
|
+
F,
|
|
323
|
+
z,
|
|
324
|
+
X,
|
|
325
|
+
q,
|
|
326
|
+
Q,
|
|
327
|
+
ee,
|
|
328
|
+
le,
|
|
329
|
+
ue
|
|
330
|
+
] }), e[65] = u, e[66] = F, e[67] = X, e[68] = Q, e[69] = le, e[70] = ue, e[71] = E, e[72] = H) : H = e[72], H;
|
|
331
|
+
}
|
|
332
|
+
function zt(t) {
|
|
333
|
+
return t?.focus();
|
|
334
|
+
}
|
|
335
|
+
function Le(t) {
|
|
336
|
+
const e = Y(14), {
|
|
337
|
+
label: i,
|
|
338
|
+
icon: o,
|
|
339
|
+
active: n,
|
|
340
|
+
pressed: c,
|
|
341
|
+
disabled: s,
|
|
342
|
+
color: a,
|
|
343
|
+
onClick: r
|
|
344
|
+
} = t, m = n === void 0 ? !1 : n, f = s === void 0 ? !1 : s;
|
|
345
|
+
let d;
|
|
346
|
+
e[0] !== m || e[1] !== a ? (d = a ? tt : Wt(m), e[0] = m, e[1] = a, e[2] = d) : d = e[2];
|
|
347
|
+
let h;
|
|
348
|
+
e[3] !== a || e[4] !== f || e[5] !== o || e[6] !== i || e[7] !== r || e[8] !== c || e[9] !== d ? (h = /* @__PURE__ */ l("span", { children: /* @__PURE__ */ l(be, { "aria-label": i, "aria-pressed": c, disabled: f, color: a, onClick: r, sx: d, children: o }) }), e[3] = a, e[4] = f, e[5] = o, e[6] = i, e[7] = r, e[8] = c, e[9] = d, e[10] = h) : h = e[10];
|
|
349
|
+
let u;
|
|
350
|
+
return e[11] !== i || e[12] !== h ? (u = /* @__PURE__ */ l(ke, { title: i, placement: "top", children: h }), e[11] = i, e[12] = h, e[13] = u) : u = e[13], u;
|
|
351
|
+
}
|
|
352
|
+
const Vt = {
|
|
353
|
+
display: "flex",
|
|
354
|
+
alignItems: "center",
|
|
355
|
+
justifyContent: "space-between",
|
|
356
|
+
gap: 1,
|
|
357
|
+
p: 2
|
|
358
|
+
}, Ft = {
|
|
359
|
+
borderRadius: ({
|
|
360
|
+
spacing: t
|
|
361
|
+
}) => t(0.5),
|
|
362
|
+
overflow: "hidden",
|
|
363
|
+
backgroundColor: ({
|
|
364
|
+
palette: t
|
|
365
|
+
}) => t.background.default
|
|
366
|
+
}, Zt = {
|
|
367
|
+
display: "flex",
|
|
368
|
+
alignItems: "center",
|
|
369
|
+
gap: 1,
|
|
370
|
+
height: 32,
|
|
371
|
+
px: 1.5,
|
|
372
|
+
color: ({
|
|
373
|
+
palette: t
|
|
374
|
+
}) => t.text.secondary
|
|
375
|
+
}, Ze = {
|
|
376
|
+
px: 2,
|
|
377
|
+
py: 0.5
|
|
378
|
+
}, je = {
|
|
379
|
+
minWidth: 0,
|
|
380
|
+
mr: 1
|
|
381
|
+
};
|
|
382
|
+
function Bl(t) {
|
|
383
|
+
const e = Y(82), {
|
|
384
|
+
open: i,
|
|
385
|
+
onClose: o,
|
|
386
|
+
layers: n,
|
|
387
|
+
onApply: c,
|
|
388
|
+
labels: s,
|
|
389
|
+
DialogProps: a
|
|
390
|
+
} = t, r = yt(), [m, f] = ae(Yt), [d, h] = ae(""), [u, L] = ae(!1);
|
|
391
|
+
i !== u && (L(i), i && (f(new Set(n.filter(Ht).map(Gt))), h("")));
|
|
392
|
+
const C = s?.title ?? "Layer Filters", y = s?.description ?? "Select the layers you want to filter with this polygon", $ = s?.allSelected ?? "All selected", B = s?.empty ?? "No layers to filter";
|
|
393
|
+
let M;
|
|
394
|
+
e[0] !== m || e[1] !== n ? (M = n.length > 0 && n.every((H) => m.has(H.id)), e[0] = m, e[1] = n, e[2] = M) : M = e[2];
|
|
395
|
+
const x = M;
|
|
396
|
+
let b;
|
|
397
|
+
if (e[3] !== m || e[4] !== n) {
|
|
398
|
+
let H;
|
|
399
|
+
e[6] !== m ? (H = (re) => m.has(re.id), e[6] = m, e[7] = H) : H = e[7], b = n.some(H), e[3] = m, e[4] = n, e[5] = b;
|
|
400
|
+
} else
|
|
401
|
+
b = e[5];
|
|
402
|
+
const k = b;
|
|
403
|
+
let g;
|
|
404
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = (H) => f((re) => {
|
|
405
|
+
const Ie = new Set(re);
|
|
406
|
+
return Ie.has(H) ? Ie.delete(H) : Ie.add(H), Ie;
|
|
407
|
+
}), e[8] = g) : g = e[8];
|
|
408
|
+
const T = g;
|
|
409
|
+
let I;
|
|
410
|
+
e[9] !== x || e[10] !== n ? (I = () => f(x ? /* @__PURE__ */ new Set() : new Set(n.map(Nt))), e[9] = x, e[10] = n, e[11] = I) : I = e[11];
|
|
411
|
+
const S = I;
|
|
412
|
+
let p;
|
|
413
|
+
e[12] !== m || e[13] !== n || e[14] !== c || e[15] !== o ? (p = () => {
|
|
414
|
+
c(n.filter((H) => m.has(H.id)).map(jt)), o();
|
|
415
|
+
}, e[12] = m, e[13] = n, e[14] = c, e[15] = o, e[16] = p) : p = e[16];
|
|
416
|
+
const D = p;
|
|
417
|
+
let A, P;
|
|
418
|
+
e[17] !== n || e[18] !== d ? (A = d.trim().toLowerCase(), P = A ? n.filter((H) => H.label.toLowerCase().includes(A)) : n, e[17] = n, e[18] = d, e[19] = A, e[20] = P) : (A = e[19], P = e[20]);
|
|
419
|
+
const _ = P;
|
|
420
|
+
let w;
|
|
421
|
+
e[21] !== C ? (w = /* @__PURE__ */ l(se, { variant: "subtitle1", fontWeight: 500, children: C }), e[21] = C, e[22] = w) : w = e[22];
|
|
422
|
+
let R;
|
|
423
|
+
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = /* @__PURE__ */ l(Ue, { fontSize: "small" }), e[23] = R) : R = e[23];
|
|
424
|
+
let U;
|
|
425
|
+
e[24] !== o ? (U = /* @__PURE__ */ l(be, { "aria-label": "close", size: "small", onClick: o, children: R }), e[24] = o, e[25] = U) : U = e[25];
|
|
426
|
+
let O;
|
|
427
|
+
e[26] !== w || e[27] !== U ? (O = /* @__PURE__ */ W(Xe, { component: "div", sx: Vt, children: [
|
|
428
|
+
w,
|
|
429
|
+
U
|
|
430
|
+
] }), e[26] = w, e[27] = U, e[28] = O) : O = e[28];
|
|
431
|
+
let v;
|
|
432
|
+
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = {
|
|
433
|
+
pt: 1,
|
|
434
|
+
px: 2,
|
|
435
|
+
pb: 3
|
|
436
|
+
}, e[29] = v) : v = e[29];
|
|
437
|
+
let E;
|
|
438
|
+
e[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = {
|
|
439
|
+
mb: 2
|
|
440
|
+
}, e[30] = E) : E = e[30];
|
|
441
|
+
let V;
|
|
442
|
+
e[31] !== y ? (V = /* @__PURE__ */ l(se, { variant: "body2", color: "text.secondary", sx: E, children: y }), e[31] = y, e[32] = V) : V = e[32];
|
|
443
|
+
let N;
|
|
444
|
+
e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ l(wt, { sx: {
|
|
445
|
+
fontSize: 18
|
|
446
|
+
} }), e[33] = N) : N = e[33];
|
|
447
|
+
const Z = s?.search ?? "Search layers", j = s?.search ?? "Search layers";
|
|
448
|
+
let F;
|
|
449
|
+
e[34] !== j ? (F = {
|
|
450
|
+
"aria-label": j
|
|
451
|
+
}, e[34] = j, e[35] = F) : F = e[35];
|
|
452
|
+
let z, G;
|
|
453
|
+
e[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = (H) => h(H.target.value), G = {
|
|
454
|
+
fontSize: 13,
|
|
455
|
+
color: "text.primary"
|
|
456
|
+
}, e[36] = z, e[37] = G) : (z = e[36], G = e[37]);
|
|
457
|
+
let X;
|
|
458
|
+
e[38] !== d || e[39] !== Z || e[40] !== F ? (X = /* @__PURE__ */ W(ne, { sx: Zt, children: [
|
|
459
|
+
N,
|
|
460
|
+
/* @__PURE__ */ l(st, { fullWidth: !0, placeholder: Z, inputProps: F, value: d, onChange: z, sx: G })
|
|
461
|
+
] }), e[38] = d, e[39] = Z, e[40] = F, e[41] = X) : X = e[41];
|
|
462
|
+
let q;
|
|
463
|
+
e[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = /* @__PURE__ */ l(he, {}), e[42] = q) : q = e[42];
|
|
464
|
+
let J;
|
|
465
|
+
e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (J = {
|
|
466
|
+
maxHeight: 240,
|
|
467
|
+
overflowY: "auto",
|
|
468
|
+
"& .MuiDivider-root": {
|
|
469
|
+
my: 0
|
|
470
|
+
}
|
|
471
|
+
}, e[43] = J) : J = e[43];
|
|
472
|
+
let K;
|
|
473
|
+
e[44] !== x || e[45] !== $ || e[46] !== r || e[47] !== A || e[48] !== k || e[49] !== S ? (K = !A && /* @__PURE__ */ W(fe, { children: [
|
|
474
|
+
/* @__PURE__ */ W(We, { dense: !0, sx: Ze, onClick: S, children: [
|
|
475
|
+
/* @__PURE__ */ l($e, { sx: je, children: /* @__PURE__ */ l(ze, { edge: "start", tabIndex: -1, disableRipple: !0, sx: {
|
|
476
|
+
p: 0.5
|
|
477
|
+
}, checked: x, indeterminate: !x && k, inputProps: {
|
|
478
|
+
"aria-labelledby": `${r}-all`
|
|
479
|
+
} }) }),
|
|
480
|
+
/* @__PURE__ */ l(Ce, { id: `${r}-all`, primary: $, primaryTypographyProps: {
|
|
481
|
+
variant: "body2"
|
|
482
|
+
} })
|
|
483
|
+
] }),
|
|
484
|
+
/* @__PURE__ */ l(he, {})
|
|
485
|
+
] }), e[44] = x, e[45] = $, e[46] = r, e[47] = A, e[48] = k, e[49] = S, e[50] = K) : K = e[50];
|
|
486
|
+
let Q;
|
|
487
|
+
e[51] !== m || e[52] !== B || e[53] !== _ || e[54] !== r ? (Q = _.length === 0 ? /* @__PURE__ */ l(se, { variant: "body2", color: "text.secondary", sx: {
|
|
488
|
+
p: 2
|
|
489
|
+
}, children: B }) : _.map((H) => /* @__PURE__ */ W(We, { dense: !0, sx: Ze, onClick: () => T(H.id), children: [
|
|
490
|
+
/* @__PURE__ */ l($e, { sx: je, children: /* @__PURE__ */ l(ze, { edge: "start", tabIndex: -1, disableRipple: !0, sx: {
|
|
491
|
+
p: 0.5
|
|
492
|
+
}, checked: m.has(H.id), inputProps: {
|
|
493
|
+
"aria-labelledby": `${r}-${H.id}`
|
|
494
|
+
} }) }),
|
|
495
|
+
/* @__PURE__ */ l(Ce, { id: `${r}-${H.id}`, primary: H.label, primaryTypographyProps: {
|
|
496
|
+
variant: "body2",
|
|
497
|
+
noWrap: !0,
|
|
498
|
+
title: H.label
|
|
499
|
+
} })
|
|
500
|
+
] }, H.id)), e[51] = m, e[52] = B, e[53] = _, e[54] = r, e[55] = Q) : Q = e[55];
|
|
501
|
+
let ee;
|
|
502
|
+
e[56] !== K || e[57] !== Q ? (ee = /* @__PURE__ */ W(qe, { component: "div", role: "list", disablePadding: !0, sx: J, children: [
|
|
503
|
+
K,
|
|
504
|
+
Q
|
|
505
|
+
] }), e[56] = K, e[57] = Q, e[58] = ee) : ee = e[58];
|
|
506
|
+
let te;
|
|
507
|
+
e[59] !== X || e[60] !== ee ? (te = /* @__PURE__ */ W(ne, { sx: Ft, children: [
|
|
508
|
+
X,
|
|
509
|
+
q,
|
|
510
|
+
ee
|
|
511
|
+
] }), e[59] = X, e[60] = ee, e[61] = te) : te = e[61];
|
|
512
|
+
let le;
|
|
513
|
+
e[62] !== V || e[63] !== te ? (le = /* @__PURE__ */ W(Qe, { sx: v, children: [
|
|
514
|
+
V,
|
|
515
|
+
te
|
|
516
|
+
] }), e[62] = V, e[63] = te, e[64] = le) : le = e[64];
|
|
517
|
+
let oe;
|
|
518
|
+
e[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oe = {
|
|
519
|
+
p: 2
|
|
520
|
+
}, e[65] = oe) : oe = e[65];
|
|
521
|
+
const ce = s?.cancel ?? "Cancel";
|
|
522
|
+
let ie;
|
|
523
|
+
e[66] !== o || e[67] !== ce ? (ie = /* @__PURE__ */ l(_e, { onClick: o, children: ce }), e[66] = o, e[67] = ce, e[68] = ie) : ie = e[68];
|
|
524
|
+
const ge = s?.apply ?? "Apply";
|
|
525
|
+
let pe;
|
|
526
|
+
e[69] !== D || e[70] !== ge ? (pe = /* @__PURE__ */ l(_e, { variant: "contained", onClick: D, children: ge }), e[69] = D, e[70] = ge, e[71] = pe) : pe = e[71];
|
|
527
|
+
let de;
|
|
528
|
+
e[72] !== ie || e[73] !== pe ? (de = /* @__PURE__ */ W(Je, { sx: oe, children: [
|
|
529
|
+
ie,
|
|
530
|
+
pe
|
|
531
|
+
] }), e[72] = ie, e[73] = pe, e[74] = de) : de = e[74];
|
|
532
|
+
let ue;
|
|
533
|
+
return e[75] !== a || e[76] !== o || e[77] !== i || e[78] !== O || e[79] !== le || e[80] !== de ? (ue = /* @__PURE__ */ W(Ke, { open: i, onClose: o, maxWidth: "xs", fullWidth: !0, ...a, children: [
|
|
534
|
+
O,
|
|
535
|
+
le,
|
|
536
|
+
de
|
|
537
|
+
] }), e[75] = a, e[76] = o, e[77] = i, e[78] = O, e[79] = le, e[80] = de, e[81] = ue) : ue = e[81], ue;
|
|
538
|
+
}
|
|
539
|
+
function jt(t) {
|
|
540
|
+
return t.id;
|
|
541
|
+
}
|
|
542
|
+
function Nt(t) {
|
|
543
|
+
return t.id;
|
|
544
|
+
}
|
|
545
|
+
function Gt(t) {
|
|
546
|
+
return t.id;
|
|
547
|
+
}
|
|
548
|
+
function Ht(t) {
|
|
549
|
+
return t.checked;
|
|
550
|
+
}
|
|
551
|
+
function Yt() {
|
|
552
|
+
return /* @__PURE__ */ new Set();
|
|
553
|
+
}
|
|
554
|
+
function Kt(t) {
|
|
555
|
+
const e = Y(3);
|
|
169
556
|
let i;
|
|
170
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */
|
|
171
|
-
let
|
|
172
|
-
return e[1] !== t ? (
|
|
557
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__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] = i) : i = e[0];
|
|
558
|
+
let o;
|
|
559
|
+
return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
|
|
173
560
|
}
|
|
174
|
-
function
|
|
175
|
-
const e =
|
|
561
|
+
function Xt(t) {
|
|
562
|
+
const e = Y(3);
|
|
176
563
|
let i;
|
|
177
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */
|
|
178
|
-
let
|
|
179
|
-
return e[1] !== t ? (
|
|
564
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__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] = i) : i = e[0];
|
|
565
|
+
let o;
|
|
566
|
+
return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
|
|
180
567
|
}
|
|
181
|
-
function
|
|
182
|
-
const e =
|
|
183
|
-
let i,
|
|
184
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */
|
|
568
|
+
function qt(t) {
|
|
569
|
+
const e = Y(4);
|
|
570
|
+
let i, o;
|
|
571
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__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] = i, e[1] = o) : (i = e[0], o = e[1]);
|
|
185
572
|
let n;
|
|
186
|
-
return e[2] !== t ? (n = /* @__PURE__ */
|
|
573
|
+
return e[2] !== t ? (n = /* @__PURE__ */ W("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: [
|
|
187
574
|
i,
|
|
188
|
-
|
|
575
|
+
o
|
|
189
576
|
] }), e[2] = t, e[3] = n) : n = e[3], n;
|
|
190
577
|
}
|
|
191
|
-
const
|
|
578
|
+
const ve = {
|
|
192
579
|
action: {
|
|
193
580
|
tooltip: {
|
|
194
581
|
active: "Click on the map to start measuring",
|
|
@@ -240,7 +627,7 @@ const oe = {
|
|
|
240
627
|
}
|
|
241
628
|
}
|
|
242
629
|
}
|
|
243
|
-
},
|
|
630
|
+
}, Qt = {
|
|
244
631
|
"m-km": {
|
|
245
632
|
short: "m-km"
|
|
246
633
|
},
|
|
@@ -268,17 +655,17 @@ const oe = {
|
|
|
268
655
|
feet: {
|
|
269
656
|
short: "ft"
|
|
270
657
|
}
|
|
271
|
-
},
|
|
658
|
+
}, Jt = {
|
|
272
659
|
distance: {
|
|
273
|
-
icon: /* @__PURE__ */
|
|
660
|
+
icon: /* @__PURE__ */ l(Kt, {})
|
|
274
661
|
},
|
|
275
662
|
buffer: {
|
|
276
|
-
icon: /* @__PURE__ */
|
|
663
|
+
icon: /* @__PURE__ */ l(Xt, {})
|
|
277
664
|
},
|
|
278
665
|
area: {
|
|
279
|
-
icon: /* @__PURE__ */
|
|
666
|
+
icon: /* @__PURE__ */ l(qt, {})
|
|
280
667
|
}
|
|
281
|
-
},
|
|
668
|
+
}, me = {
|
|
282
669
|
container: {
|
|
283
670
|
display: "flex",
|
|
284
671
|
flexDirection: "row",
|
|
@@ -344,7 +731,7 @@ const oe = {
|
|
|
344
731
|
}) => t.primary.main,
|
|
345
732
|
backgroundColor: ({
|
|
346
733
|
palette: t
|
|
347
|
-
}) =>
|
|
734
|
+
}) => rt(t.primary.main, 0.08)
|
|
348
735
|
},
|
|
349
736
|
modal: {
|
|
350
737
|
toggle: {
|
|
@@ -403,322 +790,322 @@ const oe = {
|
|
|
403
790
|
}
|
|
404
791
|
}
|
|
405
792
|
}
|
|
406
|
-
},
|
|
407
|
-
function
|
|
408
|
-
const e =
|
|
793
|
+
}, el = {};
|
|
794
|
+
function Ul(t) {
|
|
795
|
+
const e = Y(44), {
|
|
409
796
|
enabled: i,
|
|
410
|
-
actionProps:
|
|
797
|
+
actionProps: o,
|
|
411
798
|
labels: n,
|
|
412
|
-
modes:
|
|
799
|
+
modes: c,
|
|
413
800
|
modesMapping: s,
|
|
414
801
|
unitsMapping: a,
|
|
415
|
-
modeSelected:
|
|
802
|
+
modeSelected: r,
|
|
416
803
|
PaperProps: m,
|
|
417
|
-
units:
|
|
418
|
-
unitSelected:
|
|
419
|
-
onActionToggle:
|
|
420
|
-
onChangeMode:
|
|
421
|
-
onChangeUnit:
|
|
422
|
-
} = t,
|
|
423
|
-
let
|
|
424
|
-
e[0] !==
|
|
425
|
-
sx:
|
|
426
|
-
...
|
|
427
|
-
} =
|
|
428
|
-
let
|
|
429
|
-
e[3] !==
|
|
430
|
-
const
|
|
431
|
-
let
|
|
432
|
-
e[5] !==
|
|
433
|
-
const
|
|
434
|
-
let
|
|
435
|
-
e[8] !==
|
|
436
|
-
const
|
|
437
|
-
let L;
|
|
438
|
-
e[12] !== u || e[13] !== I || e[14] !== d ? (L = Object.keys(d).length >= 1 ? d : {
|
|
439
|
-
[u]: I.slice(0, 1)
|
|
440
|
-
}, e[12] = u, e[13] = I, e[14] = d, e[15] = L) : L = e[15];
|
|
441
|
-
const O = L[u];
|
|
804
|
+
units: f,
|
|
805
|
+
unitSelected: d,
|
|
806
|
+
onActionToggle: h,
|
|
807
|
+
onChangeMode: u,
|
|
808
|
+
onChangeUnit: L
|
|
809
|
+
} = t, C = n === void 0 ? ve : n, y = s === void 0 ? Jt : s, $ = a === void 0 ? Qt : a, B = m === void 0 ? el : m;
|
|
810
|
+
let M, x;
|
|
811
|
+
e[0] !== B ? ({
|
|
812
|
+
sx: x,
|
|
813
|
+
...M
|
|
814
|
+
} = B, e[0] = B, e[1] = M, e[2] = x) : (M = e[1], x = e[2]);
|
|
815
|
+
let b;
|
|
816
|
+
e[3] !== h ? (b = (z) => h(!!z), e[3] = h, e[4] = b) : b = e[4];
|
|
817
|
+
const k = b;
|
|
818
|
+
let g;
|
|
819
|
+
e[5] !== c || e[6] !== y ? (g = Be(c, y), e[5] = c, e[6] = y, e[7] = g) : g = e[7];
|
|
820
|
+
const T = g, I = (r ?? "") in T;
|
|
821
|
+
let S;
|
|
822
|
+
e[8] !== T || e[9] !== I || e[10] !== r ? (S = I ? r : Object.keys(T)[0], e[8] = T, e[9] = I, e[10] = r, e[11] = S) : S = e[11];
|
|
823
|
+
const p = S, D = T[p], A = f[p];
|
|
442
824
|
let P;
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
825
|
+
e[12] !== p || e[13] !== A || e[14] !== f ? (P = Object.keys(f).length >= 1 ? f : {
|
|
826
|
+
[p]: A.slice(0, 1)
|
|
827
|
+
}, e[12] = p, e[13] = A, e[14] = f, e[15] = P) : P = e[15];
|
|
828
|
+
const w = P[p];
|
|
829
|
+
let R;
|
|
830
|
+
if (e[16] !== w || e[17] !== $) {
|
|
831
|
+
let z;
|
|
832
|
+
e[19] !== $ ? (z = (G) => ({
|
|
833
|
+
...G,
|
|
834
|
+
...$[G.value]
|
|
835
|
+
}), e[19] = $, e[20] = z) : z = e[20], R = w.map(z), e[16] = w, e[17] = $, e[18] = R;
|
|
449
836
|
} else
|
|
450
|
-
|
|
451
|
-
const U =
|
|
452
|
-
let
|
|
453
|
-
e[21] !==
|
|
454
|
-
...
|
|
455
|
-
...
|
|
456
|
-
}, e[21] =
|
|
457
|
-
const
|
|
458
|
-
let
|
|
459
|
-
e[23] !==
|
|
460
|
-
const
|
|
461
|
-
let
|
|
462
|
-
e[29] !== U || e[30] !==
|
|
837
|
+
R = e[18];
|
|
838
|
+
const U = R;
|
|
839
|
+
let O;
|
|
840
|
+
e[21] !== x ? (O = {
|
|
841
|
+
...me.container,
|
|
842
|
+
...x
|
|
843
|
+
}, e[21] = x, e[22] = O) : O = e[22];
|
|
844
|
+
const v = C?.action, E = D?.icon;
|
|
845
|
+
let V;
|
|
846
|
+
e[23] !== o || e[24] !== i || e[25] !== k || e[26] !== v || e[27] !== E ? (V = /* @__PURE__ */ l(tl, { actionProps: o, labels: v, enabled: i, onActionToggle: k, children: E }), e[23] = o, e[24] = i, e[25] = k, e[26] = v, e[27] = E, e[28] = V) : V = e[28];
|
|
847
|
+
const N = C?.options;
|
|
848
|
+
let Z;
|
|
849
|
+
e[29] !== U || e[30] !== T || e[31] !== p || e[32] !== u || e[33] !== L || e[34] !== N || e[35] !== d ? (Z = /* @__PURE__ */ l(ll, { labels: N, modes: T, modeSelected: p, units: U, unitSelected: d, onChangeMode: u, onChangeUnit: L }), e[29] = U, e[30] = T, e[31] = p, e[32] = u, e[33] = L, e[34] = N, e[35] = d, e[36] = Z) : Z = e[36];
|
|
463
850
|
let j;
|
|
464
|
-
e[37] !==
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
] }), e[37] =
|
|
468
|
-
let
|
|
469
|
-
return e[40] !==
|
|
851
|
+
e[37] !== V || e[38] !== Z ? (j = /* @__PURE__ */ W(ne, { children: [
|
|
852
|
+
V,
|
|
853
|
+
Z
|
|
854
|
+
] }), e[37] = V, e[38] = Z, e[39] = j) : j = e[39];
|
|
855
|
+
let F;
|
|
856
|
+
return e[40] !== M || e[41] !== O || e[42] !== j ? (F = /* @__PURE__ */ l(Me, { sx: O, ...M, children: j }), e[40] = M, e[41] = O, e[42] = j, e[43] = F) : F = e[43], F;
|
|
470
857
|
}
|
|
471
|
-
function
|
|
472
|
-
const e =
|
|
858
|
+
function tl(t) {
|
|
859
|
+
const e = Y(12), {
|
|
473
860
|
actionProps: i,
|
|
474
|
-
labels:
|
|
861
|
+
labels: o,
|
|
475
862
|
enabled: n,
|
|
476
|
-
children:
|
|
863
|
+
children: c,
|
|
477
864
|
onActionToggle: s
|
|
478
|
-
} = t, a = n ? "active" : "inactive",
|
|
865
|
+
} = t, a = n ? "active" : "inactive", r = o?.tooltip?.[a] ?? ve.action.tooltip[a], m = i?.TooltipProps;
|
|
866
|
+
let f;
|
|
867
|
+
e[0] !== n || e[1] !== s ? (f = () => s(!n), e[0] = n, e[1] = s, e[2] = f) : f = e[2];
|
|
479
868
|
let d;
|
|
480
|
-
e[
|
|
481
|
-
let
|
|
482
|
-
|
|
483
|
-
let _;
|
|
484
|
-
return e[8] !== c || e[9] !== m || e[10] !== p ? (_ = /* @__PURE__ */ o(fe, { title: c, placement: "right", ...m, children: p }), e[8] = c, e[9] = m, e[10] = p, e[11] = _) : _ = e[11], _;
|
|
869
|
+
e[3] !== r || e[4] !== c || e[5] !== n || e[6] !== f ? (d = /* @__PURE__ */ l(Pe, { value: "toggle", sx: me.actions.icon, onClick: f, "aria-label": r, selected: n, children: c }), e[3] = r, e[4] = c, e[5] = n, e[6] = f, e[7] = d) : d = e[7];
|
|
870
|
+
let h;
|
|
871
|
+
return e[8] !== r || e[9] !== m || e[10] !== d ? (h = /* @__PURE__ */ l(ke, { title: r, placement: "right", ...m, children: d }), e[8] = r, e[9] = m, e[10] = d, e[11] = h) : h = e[11], h;
|
|
485
872
|
}
|
|
486
|
-
function
|
|
487
|
-
const e =
|
|
873
|
+
function ll(t) {
|
|
874
|
+
const e = Y(41), {
|
|
488
875
|
modes: i,
|
|
489
|
-
modeSelected:
|
|
876
|
+
modeSelected: o,
|
|
490
877
|
units: n,
|
|
491
|
-
unitSelected:
|
|
878
|
+
unitSelected: c,
|
|
492
879
|
labels: s,
|
|
493
880
|
onChangeMode: a,
|
|
494
|
-
onChangeUnit:
|
|
495
|
-
} = t, [m,
|
|
496
|
-
let f;
|
|
497
|
-
e[0] !== i ? (f = Object.values(i), e[0] = i, e[1] = f) : f = e[1];
|
|
498
|
-
const D = f;
|
|
499
|
-
let y;
|
|
500
|
-
e[2] !== n ? (y = Object.values(n), e[2] = n, e[3] = y) : y = e[3];
|
|
501
|
-
const b = y;
|
|
502
|
-
if (!(D.length > 1 || b.length > 1))
|
|
503
|
-
return null;
|
|
504
|
-
const R = !!m;
|
|
505
|
-
let T;
|
|
506
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = (Z) => {
|
|
507
|
-
d(Z.currentTarget);
|
|
508
|
-
}, e[4] = T) : T = e[4];
|
|
509
|
-
const C = T;
|
|
510
|
-
let x;
|
|
511
|
-
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = () => {
|
|
512
|
-
d(null);
|
|
513
|
-
}, e[5] = x) : x = e[5];
|
|
514
|
-
const w = x;
|
|
515
|
-
let h;
|
|
516
|
-
e[6] !== a ? (h = (Z, H) => {
|
|
517
|
-
Z.preventDefault(), a(H.value), w();
|
|
518
|
-
}, e[6] = a, e[7] = h) : h = e[7];
|
|
519
|
-
const S = h;
|
|
520
|
-
let A;
|
|
521
|
-
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = () => {
|
|
522
|
-
_(!0);
|
|
523
|
-
}, e[8] = A) : A = e[8];
|
|
524
|
-
const v = A;
|
|
881
|
+
onChangeUnit: r
|
|
882
|
+
} = t, [m, f] = ae(null), [d, h] = ae(!1);
|
|
525
883
|
let u;
|
|
526
|
-
e[
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
884
|
+
e[0] !== i ? (u = Object.values(i), e[0] = i, e[1] = u) : u = e[1];
|
|
885
|
+
const L = u;
|
|
886
|
+
let C;
|
|
887
|
+
e[2] !== n ? (C = Object.values(n), e[2] = n, e[3] = C) : C = e[3];
|
|
888
|
+
const y = C;
|
|
889
|
+
if (!(L.length > 1 || y.length > 1))
|
|
890
|
+
return null;
|
|
891
|
+
const B = !!m;
|
|
892
|
+
let M;
|
|
893
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = (z) => {
|
|
894
|
+
f(z.currentTarget);
|
|
895
|
+
}, e[4] = M) : M = e[4];
|
|
896
|
+
const x = M;
|
|
897
|
+
let b;
|
|
898
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = () => {
|
|
899
|
+
f(null);
|
|
900
|
+
}, e[5] = b) : b = e[5];
|
|
901
|
+
const k = b;
|
|
902
|
+
let g;
|
|
903
|
+
e[6] !== a ? (g = (z, G) => {
|
|
904
|
+
z.preventDefault(), a(G.value), k();
|
|
905
|
+
}, e[6] = a, e[7] = g) : g = e[7];
|
|
906
|
+
const T = g;
|
|
530
907
|
let I;
|
|
531
|
-
e[
|
|
532
|
-
|
|
533
|
-
}, e[
|
|
534
|
-
const
|
|
908
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (I = () => {
|
|
909
|
+
h(!0);
|
|
910
|
+
}, e[8] = I) : I = e[8];
|
|
911
|
+
const S = I;
|
|
912
|
+
let p;
|
|
913
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = () => {
|
|
914
|
+
h(!1);
|
|
915
|
+
}, e[9] = p) : p = e[9];
|
|
916
|
+
const D = p;
|
|
917
|
+
let A;
|
|
918
|
+
e[10] !== r ? (A = (z) => {
|
|
919
|
+
D(), r(z);
|
|
920
|
+
}, e[10] = r, e[11] = A) : A = e[11];
|
|
921
|
+
const P = A, _ = s?.mode?.title ?? ve.options.mode.title, w = s?.units?.title ?? ve.options.units.title, R = L.length > 1 && y.length > 1;
|
|
535
922
|
let U;
|
|
536
|
-
e[12] !==
|
|
537
|
-
const
|
|
538
|
-
let
|
|
539
|
-
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
540
|
-
let
|
|
541
|
-
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
923
|
+
e[12] !== c || e[13] !== n ? (U = n.find((z) => z.value === c) ?? n[0], e[12] = c, e[13] = n, e[14] = U) : U = e[14];
|
|
924
|
+
const O = U;
|
|
925
|
+
let v;
|
|
926
|
+
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ l(be, { sx: me.options.icon, onClick: x, children: /* @__PURE__ */ l(kt, {}) }), e[15] = v) : v = e[15];
|
|
927
|
+
let E;
|
|
928
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = {
|
|
542
929
|
"aria-labelledby": "basic-button",
|
|
543
|
-
sx:
|
|
544
|
-
}, e[16] =
|
|
545
|
-
let
|
|
546
|
-
e[17] !==
|
|
547
|
-
/* @__PURE__ */
|
|
548
|
-
|
|
549
|
-
const
|
|
550
|
-
return /* @__PURE__ */
|
|
551
|
-
/* @__PURE__ */
|
|
552
|
-
/* @__PURE__ */
|
|
553
|
-
] },
|
|
930
|
+
sx: me.options.menu
|
|
931
|
+
}, e[16] = E) : E = e[16];
|
|
932
|
+
let V;
|
|
933
|
+
e[17] !== T || e[18] !== s?.mode?.options || e[19] !== o || e[20] !== _ || e[21] !== L ? (V = L.length > 1 && /* @__PURE__ */ W(fe, { children: [
|
|
934
|
+
/* @__PURE__ */ l(se, { variant: "subtitle2", color: "text.secondary", sx: me.options.title, children: _ }),
|
|
935
|
+
L.map((z) => {
|
|
936
|
+
const X = (s?.mode?.options ?? ve.options.mode.options)[z.value];
|
|
937
|
+
return /* @__PURE__ */ W(Ve, { onClick: (q) => T(q, z), selected: z.value === o, children: [
|
|
938
|
+
/* @__PURE__ */ l($e, { sx: me.options.icons, children: /* @__PURE__ */ l(Re, { children: z.icon }) }),
|
|
939
|
+
/* @__PURE__ */ l(Ce, { children: X })
|
|
940
|
+
] }, z.value);
|
|
554
941
|
})
|
|
555
|
-
] }), e[17] =
|
|
556
|
-
let z;
|
|
557
|
-
e[23] !== P ? (z = P && /* @__PURE__ */ o(me, {}), e[23] = P, e[24] = z) : z = e[24];
|
|
942
|
+
] }), e[17] = T, e[18] = s?.mode?.options, e[19] = o, e[20] = _, e[21] = L, e[22] = V) : V = e[22];
|
|
558
943
|
let N;
|
|
559
|
-
e[
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
944
|
+
e[23] !== R ? (N = R && /* @__PURE__ */ l(he, {}), e[23] = R, e[24] = N) : N = e[24];
|
|
945
|
+
let Z;
|
|
946
|
+
e[25] !== P || e[26] !== s || e[27] !== d || e[28] !== O || e[29] !== w || e[30] !== n || e[31] !== y.length ? (Z = y.length > 1 && /* @__PURE__ */ W(fe, { children: [
|
|
947
|
+
/* @__PURE__ */ W(Ve, { onClick: S, children: [
|
|
948
|
+
/* @__PURE__ */ l(Ce, { children: w }),
|
|
949
|
+
/* @__PURE__ */ l(se, { variant: "caption", fontWeight: 500, sx: me.options.tag, children: O.short })
|
|
563
950
|
] }),
|
|
564
|
-
/* @__PURE__ */
|
|
565
|
-
] }), e[25] =
|
|
951
|
+
/* @__PURE__ */ l(ol, { open: d, labels: s, units: n, unitSelectedValue: O, onClose: D, onSubmit: P })
|
|
952
|
+
] }), e[25] = P, e[26] = s, e[27] = d, e[28] = O, e[29] = w, e[30] = n, e[31] = y.length, e[32] = Z) : Z = e[32];
|
|
566
953
|
let j;
|
|
567
|
-
e[33] !==
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
] }), e[33] =
|
|
572
|
-
let
|
|
573
|
-
return e[37] !== m || e[38] !==
|
|
574
|
-
|
|
575
|
-
/* @__PURE__ */
|
|
576
|
-
] }), e[37] = m, e[38] =
|
|
954
|
+
e[33] !== V || e[34] !== N || e[35] !== Z ? (j = /* @__PURE__ */ W("div", { children: [
|
|
955
|
+
V,
|
|
956
|
+
N,
|
|
957
|
+
Z
|
|
958
|
+
] }), e[33] = V, e[34] = N, e[35] = Z, e[36] = j) : j = e[36];
|
|
959
|
+
let F;
|
|
960
|
+
return e[37] !== m || e[38] !== B || e[39] !== j ? (F = /* @__PURE__ */ W(fe, { children: [
|
|
961
|
+
v,
|
|
962
|
+
/* @__PURE__ */ l(at, { id: "measurement-menu", anchorEl: m, open: B, onClose: k, MenuListProps: E, children: j })
|
|
963
|
+
] }), e[37] = m, e[38] = B, e[39] = j, e[40] = F) : F = e[40], F;
|
|
577
964
|
}
|
|
578
|
-
function
|
|
579
|
-
const e =
|
|
965
|
+
function ol(t) {
|
|
966
|
+
const e = Y(48), {
|
|
580
967
|
open: i,
|
|
581
|
-
labels:
|
|
968
|
+
labels: o,
|
|
582
969
|
units: n,
|
|
583
|
-
unitSelectedValue:
|
|
970
|
+
unitSelectedValue: c,
|
|
584
971
|
onClose: s,
|
|
585
972
|
onSubmit: a
|
|
586
|
-
} = t, [
|
|
587
|
-
let
|
|
588
|
-
if (e[0] !==
|
|
589
|
-
let
|
|
590
|
-
e[3] !==
|
|
973
|
+
} = t, [r, m] = ae("metric");
|
|
974
|
+
let f;
|
|
975
|
+
if (e[0] !== r || e[1] !== n) {
|
|
976
|
+
let v;
|
|
977
|
+
e[3] !== r ? (v = (E) => E.system === r, e[3] = r, e[4] = v) : v = e[4], f = n.filter(v), e[0] = r, e[1] = n, e[2] = f;
|
|
591
978
|
} else
|
|
592
|
-
|
|
593
|
-
const
|
|
594
|
-
let
|
|
595
|
-
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
596
|
-
m(
|
|
597
|
-
}, e[5] =
|
|
598
|
-
const
|
|
599
|
-
let
|
|
600
|
-
e[6] !== a ? (
|
|
979
|
+
f = e[2];
|
|
980
|
+
const d = f;
|
|
981
|
+
let h;
|
|
982
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = (v, E) => {
|
|
983
|
+
m(E);
|
|
984
|
+
}, e[5] = h) : h = e[5];
|
|
985
|
+
const u = h, L = o?.units?.modal?.options ?? ve.options.units.modal.options, C = L[r].options, y = o?.units?.modal?.title ?? ve.options.units.modal.title, $ = o?.units?.modal?.subtitle ?? ve.options.units.modal.subtitle, B = o?.units?.modal?.apply ?? ve.options.units.modal.apply, M = c.system === r ? c : d[0];
|
|
986
|
+
let x;
|
|
987
|
+
e[6] !== a ? (x = {
|
|
601
988
|
component: "form",
|
|
602
|
-
onSubmit: (
|
|
603
|
-
|
|
604
|
-
const
|
|
605
|
-
a(
|
|
989
|
+
onSubmit: (v) => {
|
|
990
|
+
v.preventDefault();
|
|
991
|
+
const E = new FormData(v.currentTarget);
|
|
992
|
+
a(E.get("unit-value"));
|
|
606
993
|
}
|
|
607
|
-
}, e[6] = a, e[7] =
|
|
608
|
-
let
|
|
609
|
-
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
610
|
-
let
|
|
611
|
-
e[9] !== s ? (
|
|
612
|
-
let
|
|
613
|
-
e[11] !==
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
] }), e[11] =
|
|
994
|
+
}, e[6] = a, e[7] = x) : x = e[7];
|
|
995
|
+
let b;
|
|
996
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ l(Ue, {}), e[8] = b) : b = e[8];
|
|
997
|
+
let k;
|
|
998
|
+
e[9] !== s ? (k = /* @__PURE__ */ l(be, { onClick: s, children: b }), e[9] = s, e[10] = k) : k = e[10];
|
|
999
|
+
let g;
|
|
1000
|
+
e[11] !== y || e[12] !== k ? (g = /* @__PURE__ */ W(Xe, { sx: me.options.modal.title, children: [
|
|
1001
|
+
y,
|
|
1002
|
+
k
|
|
1003
|
+
] }), e[11] = y, e[12] = k, e[13] = g) : g = e[13];
|
|
1004
|
+
let T;
|
|
1005
|
+
e[14] !== $ ? (T = /* @__PURE__ */ l(se, { sx: me.options.modal.subtitle, children: $ }), e[14] = $, e[15] = T) : T = e[15];
|
|
1006
|
+
let I;
|
|
1007
|
+
e[16] !== L.metric.title ? (I = /* @__PURE__ */ l(Pe, { value: "metric", children: L.metric.title }), e[16] = L.metric.title, e[17] = I) : I = e[17];
|
|
617
1008
|
let S;
|
|
618
|
-
e[
|
|
619
|
-
let
|
|
620
|
-
e[
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
A,
|
|
626
|
-
v
|
|
627
|
-
] }), e[20] = c, e[21] = A, e[22] = v, e[23] = u) : u = e[23];
|
|
628
|
-
const k = T?.value, I = T?.value;
|
|
629
|
-
let L;
|
|
630
|
-
if (e[24] !== p || e[25] !== y) {
|
|
631
|
-
let g;
|
|
632
|
-
e[27] !== y ? (g = ($) => {
|
|
633
|
-
const F = y[$.value];
|
|
634
|
-
return /* @__PURE__ */ o(Fe, { value: $.value, control: /* @__PURE__ */ o(je, {}), label: F }, $.value);
|
|
635
|
-
}, e[27] = y, e[28] = g) : g = e[28], L = p.map(g), e[24] = p, e[25] = y, e[26] = L;
|
|
636
|
-
} else
|
|
637
|
-
L = e[26];
|
|
638
|
-
let M;
|
|
639
|
-
e[29] !== I || e[30] !== L ? (M = /* @__PURE__ */ o(We, { "aria-labelledby": "unit-value", defaultValue: I, name: "unit-value", sx: q.options.modal.optionsGroup, children: L }), e[29] = I, e[30] = L, e[31] = M) : M = e[31];
|
|
640
|
-
let O;
|
|
641
|
-
e[32] !== k || e[33] !== M ? (O = /* @__PURE__ */ o(Ne, { children: M }, k), e[32] = k, e[33] = M, e[34] = O) : O = e[34];
|
|
1009
|
+
e[18] !== L.imperial.title ? (S = /* @__PURE__ */ l(Pe, { value: "imperial", children: L.imperial.title }), e[18] = L.imperial.title, e[19] = S) : S = e[19];
|
|
1010
|
+
let p;
|
|
1011
|
+
e[20] !== r || e[21] !== I || e[22] !== S ? (p = /* @__PURE__ */ W(He, { color: "primary", value: r, exclusive: !0, fullWidth: !0, onChange: u, "aria-label": "system", sx: me.options.modal.toggle, children: [
|
|
1012
|
+
I,
|
|
1013
|
+
S
|
|
1014
|
+
] }), e[20] = r, e[21] = I, e[22] = S, e[23] = p) : p = e[23];
|
|
1015
|
+
const D = M?.value, A = M?.value;
|
|
642
1016
|
let P;
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
1017
|
+
if (e[24] !== d || e[25] !== C) {
|
|
1018
|
+
let v;
|
|
1019
|
+
e[27] !== C ? (v = (E) => {
|
|
1020
|
+
const V = C[E.value];
|
|
1021
|
+
return /* @__PURE__ */ l(ct, { value: E.value, control: /* @__PURE__ */ l(dt, {}), label: V }, E.value);
|
|
1022
|
+
}, e[27] = C, e[28] = v) : v = e[28], P = d.map(v), e[24] = d, e[25] = C, e[26] = P;
|
|
1023
|
+
} else
|
|
1024
|
+
P = e[26];
|
|
1025
|
+
let _;
|
|
1026
|
+
e[29] !== A || e[30] !== P ? (_ = /* @__PURE__ */ l(mt, { "aria-labelledby": "unit-value", defaultValue: A, name: "unit-value", sx: me.options.modal.optionsGroup, children: P }), e[29] = A, e[30] = P, e[31] = _) : _ = e[31];
|
|
1027
|
+
let w;
|
|
1028
|
+
e[32] !== D || e[33] !== _ ? (w = /* @__PURE__ */ l(ft, { children: _ }, D), e[32] = D, e[33] = _, e[34] = w) : w = e[34];
|
|
1029
|
+
let R;
|
|
1030
|
+
e[35] !== p || e[36] !== w || e[37] !== T ? (R = /* @__PURE__ */ W(Qe, { sx: me.options.modal.content, children: [
|
|
1031
|
+
T,
|
|
1032
|
+
p,
|
|
1033
|
+
w
|
|
1034
|
+
] }), e[35] = p, e[36] = w, e[37] = T, e[38] = R) : R = e[38];
|
|
648
1035
|
let U;
|
|
649
|
-
e[39] !==
|
|
650
|
-
let
|
|
651
|
-
return e[41] !== s || e[42] !== i || e[43] !==
|
|
652
|
-
|
|
653
|
-
|
|
1036
|
+
e[39] !== B ? (U = /* @__PURE__ */ l(Je, { sx: me.options.modal.actions, children: /* @__PURE__ */ l(_e, { variant: "contained", type: "submit", children: B }) }), e[39] = B, e[40] = U) : U = e[40];
|
|
1037
|
+
let O;
|
|
1038
|
+
return e[41] !== s || e[42] !== i || e[43] !== R || e[44] !== U || e[45] !== x || e[46] !== g ? (O = /* @__PURE__ */ W(Ke, { open: i, component: ne, onClose: s, maxWidth: "xs", PaperProps: x, children: [
|
|
1039
|
+
g,
|
|
1040
|
+
R,
|
|
654
1041
|
U
|
|
655
|
-
] }), e[41] = s, e[42] = i, e[43] =
|
|
1042
|
+
] }), e[41] = s, e[42] = i, e[43] = R, e[44] = U, e[45] = x, e[46] = g, e[47] = O) : O = e[47], O;
|
|
656
1043
|
}
|
|
657
|
-
const
|
|
1044
|
+
const nl = {
|
|
658
1045
|
enabled: "Show your current location",
|
|
659
1046
|
disabled: "Location unavailable"
|
|
660
|
-
},
|
|
661
|
-
function
|
|
662
|
-
const e =
|
|
1047
|
+
}, il = "geolocation";
|
|
1048
|
+
function Wl(t) {
|
|
1049
|
+
const e = Y(27), {
|
|
663
1050
|
disabled: i,
|
|
664
|
-
labels:
|
|
1051
|
+
labels: o,
|
|
665
1052
|
PaperProps: n,
|
|
666
|
-
TooltipProps:
|
|
1053
|
+
TooltipProps: c,
|
|
667
1054
|
watch: s,
|
|
668
1055
|
onChange: a,
|
|
669
|
-
onError:
|
|
670
|
-
} = t, m =
|
|
671
|
-
let
|
|
672
|
-
e[0] !==
|
|
673
|
-
|
|
674
|
-
}, e[0] =
|
|
675
|
-
const
|
|
676
|
-
let
|
|
677
|
-
e[2] !==
|
|
1056
|
+
onError: r
|
|
1057
|
+
} = t, m = we(null), f = "geolocation" in navigator, [d, h] = xt(sl, f);
|
|
1058
|
+
let u;
|
|
1059
|
+
e[0] !== r ? (u = (_) => {
|
|
1060
|
+
r?.(_);
|
|
1061
|
+
}, e[0] = r, e[1] = u) : u = e[1];
|
|
1062
|
+
const L = St(u);
|
|
1063
|
+
let C;
|
|
1064
|
+
e[2] !== L ? (C = () => (f && navigator.permissions.query({
|
|
678
1065
|
name: "geolocation"
|
|
679
|
-
}).then((
|
|
680
|
-
_
|
|
681
|
-
_
|
|
1066
|
+
}).then((_) => {
|
|
1067
|
+
h(_.state === "granted" ? "granted" : "denied"), _.onchange = () => {
|
|
1068
|
+
h(_.state === "granted" ? "granted" : "denied");
|
|
682
1069
|
};
|
|
683
|
-
}).catch((
|
|
684
|
-
|
|
1070
|
+
}).catch((_) => {
|
|
1071
|
+
h("denied"), L(_);
|
|
685
1072
|
}), () => {
|
|
686
1073
|
m.current && navigator.geolocation.clearWatch(m.current);
|
|
687
|
-
}), e[2] =
|
|
1074
|
+
}), e[2] = L, e[3] = C) : C = e[3];
|
|
1075
|
+
let y;
|
|
1076
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = [f], e[4] = y) : y = e[4], et(C, y);
|
|
1077
|
+
let $;
|
|
1078
|
+
e[5] !== a ? ($ = (_) => {
|
|
1079
|
+
a(_.coords);
|
|
1080
|
+
}, e[5] = a, e[6] = $) : $ = e[6];
|
|
1081
|
+
const B = $;
|
|
1082
|
+
let M;
|
|
1083
|
+
e[7] !== r ? (M = (_) => {
|
|
1084
|
+
h("denied"), r?.(_);
|
|
1085
|
+
}, e[7] = r, e[8] = M) : M = e[8];
|
|
1086
|
+
const x = M;
|
|
688
1087
|
let b;
|
|
689
|
-
e[
|
|
690
|
-
let E;
|
|
691
|
-
e[5] !== a ? (E = (M) => {
|
|
692
|
-
a(M.coords);
|
|
693
|
-
}, e[5] = a, e[6] = E) : E = e[6];
|
|
694
|
-
const R = E;
|
|
695
|
-
let T;
|
|
696
|
-
e[7] !== c ? (T = (M) => {
|
|
697
|
-
_("denied"), c?.(M);
|
|
698
|
-
}, e[7] = c, e[8] = T) : T = e[8];
|
|
699
|
-
const C = T;
|
|
700
|
-
let x;
|
|
701
|
-
e[9] !== C || e[10] !== R || e[11] !== s ? (x = () => {
|
|
1088
|
+
e[9] !== x || e[10] !== B || e[11] !== s ? (b = () => {
|
|
702
1089
|
if (m.current && navigator.geolocation.clearWatch(m.current), s) {
|
|
703
|
-
m.current = navigator.geolocation.watchPosition(
|
|
1090
|
+
m.current = navigator.geolocation.watchPosition(B, x);
|
|
704
1091
|
return;
|
|
705
1092
|
}
|
|
706
|
-
navigator.geolocation.getCurrentPosition(
|
|
707
|
-
}, e[9] =
|
|
708
|
-
const
|
|
709
|
-
let
|
|
710
|
-
e[13] !==
|
|
711
|
-
let
|
|
712
|
-
e[15] !==
|
|
713
|
-
let
|
|
714
|
-
e[20] !==
|
|
715
|
-
let
|
|
716
|
-
return e[24] !== n || e[25] !==
|
|
1093
|
+
navigator.geolocation.getCurrentPosition(B, x);
|
|
1094
|
+
}, e[9] = x, e[10] = B, e[11] = s, e[12] = b) : b = e[12];
|
|
1095
|
+
const k = b, T = (o?.tooltip ?? nl)[d ? "enabled" : "disabled"], I = o?.ariaLabel ?? il, S = !f || i;
|
|
1096
|
+
let p;
|
|
1097
|
+
e[13] !== d ? (p = d ? /* @__PURE__ */ l(Tt, {}) : /* @__PURE__ */ l(Mt, {}), e[13] = d, e[14] = p) : p = e[14];
|
|
1098
|
+
let D;
|
|
1099
|
+
e[15] !== k || e[16] !== p || e[17] !== I || e[18] !== S ? (D = /* @__PURE__ */ l(be, { onClick: k, "aria-label": I, disabled: S, children: p }), e[15] = k, e[16] = p, e[17] = I, e[18] = S, e[19] = D) : D = e[19];
|
|
1100
|
+
let A;
|
|
1101
|
+
e[20] !== c || e[21] !== D || e[22] !== T ? (A = /* @__PURE__ */ l(ke, { arrow: !0, placement: "right", title: T, ...c, children: D }), e[20] = c, e[21] = D, e[22] = T, e[23] = A) : A = e[23];
|
|
1102
|
+
let P;
|
|
1103
|
+
return e[24] !== n || e[25] !== A ? (P = /* @__PURE__ */ l(Me, { ...n, children: A }), e[24] = n, e[25] = A, e[26] = P) : P = e[26], P;
|
|
717
1104
|
}
|
|
718
|
-
function
|
|
1105
|
+
function sl(t, e) {
|
|
719
1106
|
return e === "granted";
|
|
720
1107
|
}
|
|
721
|
-
const
|
|
1108
|
+
const Ee = {
|
|
722
1109
|
zoom: {
|
|
723
1110
|
position: "relative",
|
|
724
1111
|
height: ({
|
|
@@ -750,180 +1137,180 @@ const we = {
|
|
|
750
1137
|
position: "absolute"
|
|
751
1138
|
}
|
|
752
1139
|
};
|
|
753
|
-
function
|
|
754
|
-
const e =
|
|
1140
|
+
function zl(t) {
|
|
1141
|
+
const e = Y(40), {
|
|
755
1142
|
zoom: i,
|
|
756
|
-
disabled:
|
|
1143
|
+
disabled: o,
|
|
757
1144
|
direction: n,
|
|
758
|
-
reverse:
|
|
1145
|
+
reverse: c,
|
|
759
1146
|
isLoading: s,
|
|
760
1147
|
maxZoom: a,
|
|
761
|
-
minZoom:
|
|
1148
|
+
minZoom: r,
|
|
762
1149
|
PaperProps: m,
|
|
763
|
-
ResetViewProps:
|
|
764
|
-
showZoom:
|
|
765
|
-
onChange:
|
|
766
|
-
onReset:
|
|
767
|
-
} = t,
|
|
768
|
-
let
|
|
769
|
-
e[0] !==
|
|
770
|
-
Icon:
|
|
771
|
-
} :
|
|
772
|
-
const
|
|
773
|
-
let
|
|
774
|
-
e[2] !==
|
|
775
|
-
const
|
|
776
|
-
|
|
777
|
-
}, e[2] =
|
|
778
|
-
const
|
|
779
|
-
let
|
|
780
|
-
e[6] !==
|
|
781
|
-
const
|
|
782
|
-
|
|
783
|
-
}, e[6] =
|
|
784
|
-
const
|
|
785
|
-
let
|
|
786
|
-
|
|
787
|
-
let
|
|
788
|
-
e[10] !==
|
|
789
|
-
...
|
|
790
|
-
flexDirection:
|
|
791
|
-
}, e[10] =
|
|
792
|
-
let
|
|
793
|
-
e[12] !==
|
|
794
|
-
/* @__PURE__ */
|
|
795
|
-
/* @__PURE__ */
|
|
796
|
-
] }), e[12] =
|
|
797
|
-
let L;
|
|
798
|
-
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ o(at, {}), e[17] = L) : L = e[17];
|
|
799
|
-
let M;
|
|
800
|
-
e[18] !== l || e[19] !== w ? (M = /* @__PURE__ */ o(ie, { onClick: w, "aria-label": "Increase zoom", disabled: l, children: L }), e[18] = l, e[19] = w, e[20] = M) : M = e[20];
|
|
801
|
-
let O;
|
|
802
|
-
e[21] !== v ? (O = /* @__PURE__ */ o(me, { orientation: v, flexItem: !0 }), e[21] = v, e[22] = O) : O = e[22];
|
|
1150
|
+
ResetViewProps: f,
|
|
1151
|
+
showZoom: d,
|
|
1152
|
+
onChange: h,
|
|
1153
|
+
onReset: u
|
|
1154
|
+
} = t, L = n === void 0 ? "vertical" : n, C = c === void 0 ? !1 : c, y = a === void 0 ? 24 : a, $ = r === void 0 ? 0 : r;
|
|
1155
|
+
let B;
|
|
1156
|
+
e[0] !== f ? (B = f === void 0 ? {
|
|
1157
|
+
Icon: It
|
|
1158
|
+
} : f, e[0] = f, e[1] = B) : B = e[1];
|
|
1159
|
+
const M = B, x = d === void 0 ? !0 : d;
|
|
1160
|
+
let b;
|
|
1161
|
+
e[2] !== y || e[3] !== h || e[4] !== i ? (b = () => {
|
|
1162
|
+
const E = Math.min(y, i + 1);
|
|
1163
|
+
h(E);
|
|
1164
|
+
}, e[2] = y, e[3] = h, e[4] = i, e[5] = b) : b = e[5];
|
|
1165
|
+
const k = b;
|
|
1166
|
+
let g;
|
|
1167
|
+
e[6] !== $ || e[7] !== h || e[8] !== i ? (g = () => {
|
|
1168
|
+
const E = Math.max($, i - 1);
|
|
1169
|
+
h(E);
|
|
1170
|
+
}, e[6] = $, e[7] = h, e[8] = i, e[9] = g) : g = e[9];
|
|
1171
|
+
const T = g, I = Math.floor(i), S = L === "vertical" ? "horizontal" : "vertical";
|
|
1172
|
+
let p = L === "vertical" ? "column" : "row";
|
|
1173
|
+
C && (p = p + "-reverse");
|
|
1174
|
+
let D;
|
|
1175
|
+
e[10] !== p ? (D = {
|
|
1176
|
+
...Ee.paper,
|
|
1177
|
+
flexDirection: p
|
|
1178
|
+
}, e[10] = p, e[11] = D) : D = e[11];
|
|
1179
|
+
let A;
|
|
1180
|
+
e[12] !== M || e[13] !== o || e[14] !== S || e[15] !== u ? (A = u && /* @__PURE__ */ W(fe, { children: [
|
|
1181
|
+
/* @__PURE__ */ l(be, { onClick: u, "aria-label": "Reset action", disabled: o, children: /* @__PURE__ */ l(M.Icon, {}) }),
|
|
1182
|
+
/* @__PURE__ */ l(he, { orientation: S, flexItem: !0 })
|
|
1183
|
+
] }), e[12] = M, e[13] = o, e[14] = S, e[15] = u, e[16] = A) : A = e[16];
|
|
803
1184
|
let P;
|
|
804
|
-
e[
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
1185
|
+
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ l(At, {}), e[17] = P) : P = e[17];
|
|
1186
|
+
let _;
|
|
1187
|
+
e[18] !== o || e[19] !== k ? (_ = /* @__PURE__ */ l(be, { onClick: k, "aria-label": "Increase zoom", disabled: o, children: P }), e[18] = o, e[19] = k, e[20] = _) : _ = e[20];
|
|
1188
|
+
let w;
|
|
1189
|
+
e[21] !== S ? (w = /* @__PURE__ */ l(he, { orientation: S, flexItem: !0 }), e[21] = S, e[22] = w) : w = e[22];
|
|
1190
|
+
let R;
|
|
1191
|
+
e[23] !== I || e[24] !== S || e[25] !== s || e[26] !== x ? (R = x && /* @__PURE__ */ W(fe, { children: [
|
|
1192
|
+
/* @__PURE__ */ W(ne, { sx: Ee.zoom, children: [
|
|
1193
|
+
/* @__PURE__ */ l(se, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: I }),
|
|
1194
|
+
s && /* @__PURE__ */ l(pt, { sx: Ee.circularProgress, variant: "indeterminate", size: 24 })
|
|
808
1195
|
] }),
|
|
809
|
-
/* @__PURE__ */
|
|
810
|
-
] }), e[23] =
|
|
1196
|
+
/* @__PURE__ */ l(he, { orientation: S, flexItem: !0 })
|
|
1197
|
+
] }), e[23] = I, e[24] = S, e[25] = s, e[26] = x, e[27] = R) : R = e[27];
|
|
811
1198
|
let U;
|
|
812
|
-
e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */
|
|
813
|
-
let
|
|
814
|
-
e[29] !==
|
|
815
|
-
let
|
|
816
|
-
return e[32] !== m || e[33] !==
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
] }), e[32] = m, e[33] =
|
|
1199
|
+
e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ l(Lt, {}), e[28] = U) : U = e[28];
|
|
1200
|
+
let O;
|
|
1201
|
+
e[29] !== T || e[30] !== o ? (O = /* @__PURE__ */ l(be, { onClick: T, "aria-label": "Decrease zoom", disabled: o, children: U }), e[29] = T, e[30] = o, e[31] = O) : O = e[31];
|
|
1202
|
+
let v;
|
|
1203
|
+
return e[32] !== m || e[33] !== D || e[34] !== A || e[35] !== _ || e[36] !== w || e[37] !== R || e[38] !== O ? (v = /* @__PURE__ */ W(Me, { sx: D, ...m, children: [
|
|
1204
|
+
A,
|
|
1205
|
+
_,
|
|
1206
|
+
w,
|
|
1207
|
+
R,
|
|
1208
|
+
O
|
|
1209
|
+
] }), e[32] = m, e[33] = D, e[34] = A, e[35] = _, e[36] = w, e[37] = R, e[38] = O, e[39] = v) : v = e[39], v;
|
|
823
1210
|
}
|
|
824
|
-
function
|
|
825
|
-
const e =
|
|
1211
|
+
function rl(t) {
|
|
1212
|
+
const e = Y(4), {
|
|
826
1213
|
length: i
|
|
827
|
-
} = t,
|
|
1214
|
+
} = t, o = i === void 0 ? 5 : i;
|
|
828
1215
|
let n;
|
|
829
|
-
e[0] !==
|
|
830
|
-
let
|
|
831
|
-
return e[2] !== n ? (
|
|
1216
|
+
e[0] !== o ? (n = new Array(o).fill(null).map(al), e[0] = o, e[1] = n) : n = e[1];
|
|
1217
|
+
let c;
|
|
1218
|
+
return e[2] !== n ? (c = /* @__PURE__ */ l(ne, { "aria-label": "List Data skeleton", children: n }), e[2] = n, e[3] = c) : c = e[3], c;
|
|
832
1219
|
}
|
|
833
|
-
function
|
|
834
|
-
return /* @__PURE__ */
|
|
835
|
-
/* @__PURE__ */
|
|
836
|
-
/* @__PURE__ */
|
|
837
|
-
/* @__PURE__ */
|
|
1220
|
+
function al(t, e) {
|
|
1221
|
+
return /* @__PURE__ */ W(Te, { container: !0, spacing: 1, children: [
|
|
1222
|
+
/* @__PURE__ */ W(Te, { container: !0, item: !0, direction: "row", justifyContent: "space-between", alignItems: "center", children: [
|
|
1223
|
+
/* @__PURE__ */ l(Oe, { width: fl(e) ? 72 : 48, height: 20 }),
|
|
1224
|
+
/* @__PURE__ */ l(Oe, { width: 48, height: 8 })
|
|
838
1225
|
] }),
|
|
839
|
-
/* @__PURE__ */
|
|
840
|
-
height:
|
|
841
|
-
marginTop:
|
|
842
|
-
marginBottom:
|
|
1226
|
+
/* @__PURE__ */ l(Oe, { sx: {
|
|
1227
|
+
height: ml,
|
|
1228
|
+
marginTop: dl,
|
|
1229
|
+
marginBottom: cl,
|
|
843
1230
|
width: "100%"
|
|
844
1231
|
} })
|
|
845
1232
|
] }, `skeleton-${e}`);
|
|
846
1233
|
}
|
|
847
|
-
function
|
|
1234
|
+
function cl(t) {
|
|
848
1235
|
const {
|
|
849
1236
|
spacing: e
|
|
850
1237
|
} = t;
|
|
851
1238
|
return e(1.75);
|
|
852
1239
|
}
|
|
853
|
-
function
|
|
1240
|
+
function dl(t) {
|
|
854
1241
|
const {
|
|
855
1242
|
spacing: e
|
|
856
1243
|
} = t;
|
|
857
1244
|
return e(1.25);
|
|
858
1245
|
}
|
|
859
|
-
function
|
|
1246
|
+
function ml(t) {
|
|
860
1247
|
const {
|
|
861
1248
|
spacing: e
|
|
862
1249
|
} = t;
|
|
863
1250
|
return e(0.5);
|
|
864
1251
|
}
|
|
865
|
-
function
|
|
1252
|
+
function fl(t) {
|
|
866
1253
|
return t % 2 === 1;
|
|
867
1254
|
}
|
|
868
|
-
function
|
|
869
|
-
const e =
|
|
1255
|
+
function pl(t) {
|
|
1256
|
+
const e = Y(13), {
|
|
870
1257
|
title: i,
|
|
871
|
-
body:
|
|
1258
|
+
body: o,
|
|
872
1259
|
severity: n
|
|
873
|
-
} = t,
|
|
1260
|
+
} = t, c = i === void 0 ? "No data available" : i, s = 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;
|
|
874
1261
|
if (n) {
|
|
1262
|
+
let f;
|
|
1263
|
+
e[0] !== s ? (f = /* @__PURE__ */ l(Ne, { children: s }), e[0] = s, e[1] = f) : f = e[1];
|
|
875
1264
|
let d;
|
|
876
|
-
e[
|
|
877
|
-
let p;
|
|
878
|
-
return e[2] !== n || e[3] !== d || e[4] !== r ? (p = /* @__PURE__ */ o(Xe, { title: r, severity: n, children: d }), e[2] = n, e[3] = d, e[4] = r, e[5] = p) : p = e[5], p;
|
|
1265
|
+
return e[2] !== n || e[3] !== f || e[4] !== c ? (d = /* @__PURE__ */ l(ut, { title: c, severity: n, children: f }), e[2] = n, e[3] = f, e[4] = c, e[5] = d) : d = e[5], d;
|
|
879
1266
|
}
|
|
880
1267
|
let a;
|
|
881
|
-
e[6] !==
|
|
882
|
-
let
|
|
883
|
-
e[8] !== s ? (
|
|
1268
|
+
e[6] !== c ? (a = c && /* @__PURE__ */ l(se, { variant: "body2", children: c }), e[6] = c, e[7] = a) : a = e[7];
|
|
1269
|
+
let r;
|
|
1270
|
+
e[8] !== s ? (r = /* @__PURE__ */ l(Ne, { color: "textSecondary", children: s }), e[8] = s, e[9] = r) : r = e[9];
|
|
884
1271
|
let m;
|
|
885
|
-
return e[10] !== a || e[11] !==
|
|
1272
|
+
return e[10] !== a || e[11] !== r ? (m = /* @__PURE__ */ W(ne, { children: [
|
|
886
1273
|
a,
|
|
887
|
-
|
|
888
|
-
] }), e[10] = a, e[11] =
|
|
1274
|
+
r
|
|
1275
|
+
] }), e[10] = a, e[11] = r, e[12] = m) : m = e[12], m;
|
|
889
1276
|
}
|
|
890
|
-
function
|
|
891
|
-
const e =
|
|
1277
|
+
function Ne(t) {
|
|
1278
|
+
const e = Y(5), {
|
|
892
1279
|
color: i,
|
|
893
|
-
children:
|
|
1280
|
+
children: o
|
|
894
1281
|
} = t;
|
|
895
|
-
if (
|
|
896
|
-
const
|
|
1282
|
+
if (o) {
|
|
1283
|
+
const c = i ?? "inherit";
|
|
897
1284
|
let s;
|
|
898
1285
|
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = {
|
|
899
1286
|
fontWeight: "normal"
|
|
900
1287
|
}, e[0] = s) : s = e[0];
|
|
901
1288
|
let a;
|
|
902
|
-
return e[1] !==
|
|
1289
|
+
return e[1] !== o || e[2] !== c ? (a = /* @__PURE__ */ l(ne, { mt: 0.5, children: /* @__PURE__ */ l(se, { component: "div", variant: "caption", color: c, style: s, children: o }) }), e[1] = o, e[2] = c, e[3] = a) : a = e[3], a;
|
|
903
1290
|
}
|
|
904
1291
|
let n;
|
|
905
|
-
return e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */
|
|
1292
|
+
return e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ l(ne, { mt: -1 }), e[4] = n) : n = e[4], n;
|
|
906
1293
|
}
|
|
907
|
-
function
|
|
908
|
-
const e =
|
|
1294
|
+
function ul(t) {
|
|
1295
|
+
const e = Y(2);
|
|
909
1296
|
let i;
|
|
910
1297
|
e[0] !== t ? (i = () => t ? 1 : 0, e[0] = t, e[1] = i) : i = e[1];
|
|
911
|
-
const [
|
|
912
|
-
return t &&
|
|
1298
|
+
const [o, n] = ae(i);
|
|
1299
|
+
return t && o === 0 && n(1), !t && o === 1 && n(2), o === 1;
|
|
913
1300
|
}
|
|
914
|
-
const
|
|
1301
|
+
const Ge = {
|
|
915
1302
|
overflow: "hidden",
|
|
916
1303
|
textOverflow: "ellipsis",
|
|
917
1304
|
whiteSpace: "nowrap"
|
|
918
|
-
},
|
|
1305
|
+
}, Se = {
|
|
919
1306
|
label: {
|
|
920
1307
|
"& .MuiListItemText-primary": {
|
|
921
|
-
...
|
|
1308
|
+
...Ge
|
|
922
1309
|
}
|
|
923
1310
|
},
|
|
924
1311
|
value: {
|
|
925
1312
|
"& .MuiListItemText-primary": {
|
|
926
|
-
...
|
|
1313
|
+
...Ge,
|
|
927
1314
|
textAlign: "right"
|
|
928
1315
|
}
|
|
929
1316
|
},
|
|
@@ -949,72 +1336,72 @@ const De = {
|
|
|
949
1336
|
opacity: 0.5,
|
|
950
1337
|
pointerEvents: "none"
|
|
951
1338
|
}
|
|
952
|
-
},
|
|
1339
|
+
}, hl = {
|
|
953
1340
|
showMore: "Show More",
|
|
954
1341
|
showLess: "Show Less"
|
|
955
|
-
},
|
|
956
|
-
function
|
|
957
|
-
const e =
|
|
1342
|
+
}, gl = [];
|
|
1343
|
+
function Vl(t) {
|
|
1344
|
+
const e = Y(32), {
|
|
958
1345
|
data: i,
|
|
959
|
-
isLoading:
|
|
1346
|
+
isLoading: o,
|
|
960
1347
|
maxItems: n,
|
|
961
|
-
labels:
|
|
1348
|
+
labels: c,
|
|
962
1349
|
showDivider: s,
|
|
963
1350
|
selectedItemId: a,
|
|
964
|
-
tooltipProps:
|
|
1351
|
+
tooltipProps: r,
|
|
965
1352
|
onExpand: m,
|
|
966
|
-
onItemClick:
|
|
967
|
-
} = t,
|
|
968
|
-
let
|
|
969
|
-
e[0] !==
|
|
970
|
-
const
|
|
971
|
-
let
|
|
972
|
-
e[4] !== m || e[5] !==
|
|
973
|
-
|
|
974
|
-
}, e[4] = m, e[5] =
|
|
975
|
-
const
|
|
976
|
-
if (
|
|
977
|
-
let
|
|
978
|
-
return e[7] !==
|
|
1353
|
+
onItemClick: f
|
|
1354
|
+
} = t, d = i === void 0 ? gl : i, h = o === void 0 ? !1 : o, u = n === void 0 ? 5 : n, L = c === void 0 ? hl : c, C = s === void 0 ? !0 : s, [y, $] = ae(!1), B = ul(h);
|
|
1355
|
+
let M;
|
|
1356
|
+
e[0] !== d || e[1] !== u || e[2] !== y ? (M = y ? d : d.slice(0, u), e[0] = d, e[1] = u, e[2] = y, e[3] = M) : M = e[3];
|
|
1357
|
+
const x = M;
|
|
1358
|
+
let b;
|
|
1359
|
+
e[4] !== m || e[5] !== y ? (b = () => {
|
|
1360
|
+
$(!y), m?.(y);
|
|
1361
|
+
}, e[4] = m, e[5] = y, e[6] = b) : b = e[6];
|
|
1362
|
+
const k = b;
|
|
1363
|
+
if (B) {
|
|
1364
|
+
let p;
|
|
1365
|
+
return e[7] !== u ? (p = /* @__PURE__ */ l(rl, { length: u }), e[7] = u, e[8] = p) : p = e[8], p;
|
|
979
1366
|
}
|
|
980
|
-
if (
|
|
981
|
-
let
|
|
982
|
-
return e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1367
|
+
if (x.length === 0) {
|
|
1368
|
+
let p;
|
|
1369
|
+
return e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ l(pl, {}), e[9] = p) : p = e[9], p;
|
|
983
1370
|
}
|
|
984
|
-
let
|
|
985
|
-
if (e[10] !==
|
|
986
|
-
let
|
|
987
|
-
e[16] !==
|
|
1371
|
+
let g;
|
|
1372
|
+
if (e[10] !== x || e[11] !== f || e[12] !== a || e[13] !== C || e[14] !== r) {
|
|
1373
|
+
let p;
|
|
1374
|
+
e[16] !== f || e[17] !== a || e[18] !== C || e[19] !== r ? (p = (D) => /* @__PURE__ */ l(Dt, { followCursor: !1, placement: "top", arrow: !0, title: D.tooltipTitle, enterDelay: 10, ...r, children: (A) => {
|
|
988
1375
|
const {
|
|
989
|
-
ref:
|
|
990
|
-
} =
|
|
991
|
-
return /* @__PURE__ */
|
|
992
|
-
...
|
|
993
|
-
...
|
|
994
|
-
...a ===
|
|
995
|
-
...
|
|
1376
|
+
ref: P
|
|
1377
|
+
} = A;
|
|
1378
|
+
return /* @__PURE__ */ l(ht, { ref: P, role: "listitem", sx: {
|
|
1379
|
+
...C && Se.showDivider,
|
|
1380
|
+
...f && Se.clickable,
|
|
1381
|
+
...a === D.id && Se.selected,
|
|
1382
|
+
...D.disabled && Se.disabled
|
|
996
1383
|
}, onClick: () => {
|
|
997
|
-
|
|
998
|
-
}, children: /* @__PURE__ */
|
|
999
|
-
/* @__PURE__ */
|
|
1000
|
-
/* @__PURE__ */
|
|
1384
|
+
D.disabled || f?.(D);
|
|
1385
|
+
}, children: /* @__PURE__ */ W(Te, { container: !0, alignItems: "center", children: [
|
|
1386
|
+
/* @__PURE__ */ l(Te, { item: !0, xs: 8, children: /* @__PURE__ */ l(Ce, { primary: D.label, sx: Se.label }) }),
|
|
1387
|
+
/* @__PURE__ */ l(Te, { item: !0, xs: 4, children: /* @__PURE__ */ l(Ce, { primary: D.value, sx: Se.value }) })
|
|
1001
1388
|
] }) });
|
|
1002
|
-
} },
|
|
1389
|
+
} }, D.id), e[16] = f, e[17] = a, e[18] = C, e[19] = r, e[20] = p) : p = e[20], g = x.map(p), e[10] = x, e[11] = f, e[12] = a, e[13] = C, e[14] = r, e[15] = g;
|
|
1003
1390
|
} else
|
|
1004
|
-
|
|
1391
|
+
g = e[15];
|
|
1392
|
+
let T;
|
|
1393
|
+
e[21] !== g ? (T = /* @__PURE__ */ l(qe, { id: "expandable-list", role: "list", children: g }), e[21] = g, e[22] = T) : T = e[22];
|
|
1394
|
+
let I;
|
|
1395
|
+
e[23] !== d.length || e[24] !== k || e[25] !== L || e[26] !== u || e[27] !== y ? (I = d.length > u && /* @__PURE__ */ l(ne, { my: 2, children: /* @__PURE__ */ l(_e, { onClick: k, variant: "text", color: "primary", "aria-expanded": y, "aria-controls": "expandable-list", children: y ? L.showLess : L.showMore }) }), e[23] = d.length, e[24] = k, e[25] = L, e[26] = u, e[27] = y, e[28] = I) : I = e[28];
|
|
1005
1396
|
let S;
|
|
1006
|
-
e[
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
return e[29] !== A || e[30] !== S ? (v = /* @__PURE__ */ V(J, { children: [
|
|
1011
|
-
S,
|
|
1012
|
-
A
|
|
1013
|
-
] }), e[29] = A, e[30] = S, e[31] = v) : v = e[31], v;
|
|
1397
|
+
return e[29] !== I || e[30] !== T ? (S = /* @__PURE__ */ W(fe, { children: [
|
|
1398
|
+
T,
|
|
1399
|
+
I
|
|
1400
|
+
] }), e[29] = I, e[30] = T, e[31] = S) : S = e[31], S;
|
|
1014
1401
|
}
|
|
1015
|
-
const
|
|
1402
|
+
const bl = 288, xe = {
|
|
1016
1403
|
root: {
|
|
1017
|
-
width:
|
|
1404
|
+
width: bl,
|
|
1018
1405
|
overflow: "auto"
|
|
1019
1406
|
},
|
|
1020
1407
|
toggle: {
|
|
@@ -1113,7 +1500,7 @@ const Vt = 288, ae = {
|
|
|
1113
1500
|
}) => t.primary.main
|
|
1114
1501
|
}
|
|
1115
1502
|
}
|
|
1116
|
-
},
|
|
1503
|
+
}, vl = {
|
|
1117
1504
|
toggle: {
|
|
1118
1505
|
title: "Toggle basemaps controls"
|
|
1119
1506
|
},
|
|
@@ -1124,264 +1511,268 @@ const Vt = 288, ae = {
|
|
|
1124
1511
|
}
|
|
1125
1512
|
}
|
|
1126
1513
|
};
|
|
1127
|
-
function
|
|
1128
|
-
const e =
|
|
1514
|
+
function yl(t) {
|
|
1515
|
+
const e = Y(6), {
|
|
1129
1516
|
isMobile: i,
|
|
1130
|
-
labels:
|
|
1517
|
+
labels: o,
|
|
1131
1518
|
onChangeCollapsed: n
|
|
1132
|
-
} = t,
|
|
1519
|
+
} = t, c = i === void 0 ? !1 : i;
|
|
1133
1520
|
let s;
|
|
1134
|
-
e[0] !==
|
|
1135
|
-
/* @__PURE__ */
|
|
1136
|
-
/* @__PURE__ */
|
|
1137
|
-
] }), e[0] =
|
|
1521
|
+
e[0] !== c || e[1] !== o || e[2] !== n ? (s = c && /* @__PURE__ */ W(fe, { children: [
|
|
1522
|
+
/* @__PURE__ */ l(se, { variant: "caption", flexGrow: 1, children: o.title }),
|
|
1523
|
+
/* @__PURE__ */ l(ke, { title: o.actions.close, children: /* @__PURE__ */ l(be, { size: "small", onClick: n, "aria-label": o.actions.close, children: /* @__PURE__ */ l(Ue, {}) }) })
|
|
1524
|
+
] }), e[0] = c, e[1] = o, e[2] = n, e[3] = s) : s = e[3];
|
|
1138
1525
|
let a;
|
|
1139
|
-
return e[4] !== s ? (a = /* @__PURE__ */
|
|
1526
|
+
return e[4] !== s ? (a = /* @__PURE__ */ l(ne, { sx: xe.header, children: s }), e[4] = s, e[5] = a) : a = e[5], a;
|
|
1140
1527
|
}
|
|
1141
|
-
function
|
|
1142
|
-
const e =
|
|
1528
|
+
function xl(t) {
|
|
1529
|
+
const e = Y(5), {
|
|
1143
1530
|
title: i,
|
|
1144
|
-
children:
|
|
1531
|
+
children: o,
|
|
1145
1532
|
collapsed: n
|
|
1146
1533
|
} = t;
|
|
1147
1534
|
if (n === void 0 ? !1 : n)
|
|
1148
|
-
return
|
|
1535
|
+
return o;
|
|
1149
1536
|
let s;
|
|
1150
|
-
e[0] !== i ? (s = /* @__PURE__ */
|
|
1537
|
+
e[0] !== i ? (s = /* @__PURE__ */ l(se, { variant: "caption", color: "textSecondary", sx: xe.groupWrapper.content, children: i }), e[0] = i, e[1] = s) : s = e[1];
|
|
1151
1538
|
let a;
|
|
1152
|
-
return e[2] !==
|
|
1539
|
+
return e[2] !== o || e[3] !== s ? (a = /* @__PURE__ */ W(fe, { children: [
|
|
1153
1540
|
s,
|
|
1154
|
-
|
|
1155
|
-
] }), e[2] =
|
|
1541
|
+
o
|
|
1542
|
+
] }), e[2] = o, e[3] = s, e[4] = a) : a = e[4], a;
|
|
1156
1543
|
}
|
|
1157
|
-
function
|
|
1158
|
-
const e =
|
|
1544
|
+
function Sl(t) {
|
|
1545
|
+
const e = Y(9), {
|
|
1159
1546
|
values: i,
|
|
1160
|
-
selected:
|
|
1547
|
+
selected: o,
|
|
1161
1548
|
onChange: n
|
|
1162
1549
|
} = t;
|
|
1163
|
-
let
|
|
1164
|
-
if (e[0] !== n || e[1] !==
|
|
1550
|
+
let c;
|
|
1551
|
+
if (e[0] !== n || e[1] !== o || e[2] !== i) {
|
|
1165
1552
|
let a;
|
|
1166
|
-
e[4] !== n || e[5] !==
|
|
1167
|
-
const m =
|
|
1168
|
-
return /* @__PURE__ */
|
|
1169
|
-
/* @__PURE__ */
|
|
1170
|
-
/* @__PURE__ */
|
|
1171
|
-
...m &&
|
|
1172
|
-
}, children:
|
|
1173
|
-
] },
|
|
1174
|
-
}, e[4] = n, e[5] =
|
|
1553
|
+
e[4] !== n || e[5] !== o ? (a = (r) => {
|
|
1554
|
+
const m = r.id === o;
|
|
1555
|
+
return /* @__PURE__ */ W(ne, { sx: xe.item.container, component: "button", "aria-label": r.label, onClick: () => n(r.id), children: [
|
|
1556
|
+
/* @__PURE__ */ l("img", { src: r.icon, "aria-label": r.label + " icon", "data-active": m }),
|
|
1557
|
+
/* @__PURE__ */ l(se, { variant: "caption", sx: {
|
|
1558
|
+
...m && xe.item.selected
|
|
1559
|
+
}, children: r.label })
|
|
1560
|
+
] }, r.id);
|
|
1561
|
+
}, e[4] = n, e[5] = o, e[6] = a) : a = e[6], c = i.map(a), e[0] = n, e[1] = o, e[2] = i, e[3] = c;
|
|
1175
1562
|
} else
|
|
1176
|
-
|
|
1563
|
+
c = e[3];
|
|
1177
1564
|
let s;
|
|
1178
|
-
return e[7] !==
|
|
1565
|
+
return e[7] !== c ? (s = /* @__PURE__ */ l(ne, { sx: xe.group, children: c }), e[7] = c, e[8] = s) : s = e[8], s;
|
|
1179
1566
|
}
|
|
1180
|
-
function
|
|
1181
|
-
const i = t.startsWith("bottom"),
|
|
1567
|
+
function _l(t, e) {
|
|
1568
|
+
const i = t.startsWith("bottom"), o = t.endsWith("right");
|
|
1182
1569
|
return {
|
|
1183
1570
|
anchorOrigin: {
|
|
1184
1571
|
vertical: i ? "bottom" : "top",
|
|
1185
1572
|
// `'side'` flips horizontally to open beside the anchor; `'overlay'` keeps
|
|
1186
1573
|
// the same edge so the panel lands on top of it.
|
|
1187
|
-
horizontal: e === "overlay" ?
|
|
1574
|
+
horizontal: e === "overlay" ? o ? "right" : "left" : o ? "left" : "right"
|
|
1188
1575
|
},
|
|
1189
1576
|
transformOrigin: {
|
|
1190
1577
|
vertical: i ? "bottom" : "top",
|
|
1191
|
-
horizontal:
|
|
1578
|
+
horizontal: o ? "right" : "left"
|
|
1192
1579
|
}
|
|
1193
1580
|
};
|
|
1194
1581
|
}
|
|
1195
|
-
function
|
|
1196
|
-
const e =
|
|
1582
|
+
function Cl(t) {
|
|
1583
|
+
const e = Y(35), {
|
|
1197
1584
|
ref: i,
|
|
1198
|
-
children:
|
|
1585
|
+
children: o,
|
|
1199
1586
|
collapsed: n,
|
|
1200
|
-
isMobile:
|
|
1587
|
+
isMobile: c,
|
|
1201
1588
|
position: s,
|
|
1202
1589
|
sx: a,
|
|
1203
|
-
slotProps:
|
|
1590
|
+
slotProps: r,
|
|
1204
1591
|
onChangeCollapsed: m,
|
|
1205
|
-
modal:
|
|
1206
|
-
placement:
|
|
1207
|
-
} = t,
|
|
1208
|
-
let
|
|
1209
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1210
|
-
if (
|
|
1211
|
-
const
|
|
1212
|
-
|
|
1592
|
+
modal: f,
|
|
1593
|
+
placement: d
|
|
1594
|
+
} = t, h = c === void 0 ? !1 : c, u = f === void 0 ? !0 : f, L = d === void 0 ? "side" : d, C = we(null), y = we(null);
|
|
1595
|
+
let $;
|
|
1596
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = (O) => {
|
|
1597
|
+
if (y.current?.disconnect(), y.current = null, O && typeof ResizeObserver < "u") {
|
|
1598
|
+
const v = new ResizeObserver(() => C.current?.updatePosition());
|
|
1599
|
+
v.observe(O), y.current = v;
|
|
1213
1600
|
}
|
|
1214
|
-
}, e[0] =
|
|
1215
|
-
const
|
|
1216
|
-
if (
|
|
1217
|
-
const
|
|
1218
|
-
let
|
|
1219
|
-
e[1] !== m ? (
|
|
1220
|
-
let
|
|
1221
|
-
return e[3] !==
|
|
1601
|
+
}, e[0] = $) : $ = e[0];
|
|
1602
|
+
const B = $;
|
|
1603
|
+
if (h) {
|
|
1604
|
+
const O = !n;
|
|
1605
|
+
let v;
|
|
1606
|
+
e[1] !== m ? (v = () => m(!0), e[1] = m, e[2] = v) : v = e[2];
|
|
1607
|
+
let E;
|
|
1608
|
+
return e[3] !== o || e[4] !== O || e[5] !== v ? (E = /* @__PURE__ */ l(gt, { anchor: "bottom", open: O, onClose: v, children: o }), e[3] = o, e[4] = O, e[5] = v, e[6] = E) : E = e[6], E;
|
|
1222
1609
|
}
|
|
1223
|
-
let
|
|
1224
|
-
e[7] !==
|
|
1610
|
+
let M;
|
|
1611
|
+
e[7] !== L || e[8] !== s ? (M = _l(s, L), e[7] = L, e[8] = s, e[9] = M) : M = e[9];
|
|
1225
1612
|
const {
|
|
1226
|
-
anchorOrigin:
|
|
1227
|
-
transformOrigin:
|
|
1228
|
-
} =
|
|
1229
|
-
let
|
|
1230
|
-
e[10] !==
|
|
1613
|
+
anchorOrigin: x,
|
|
1614
|
+
transformOrigin: b
|
|
1615
|
+
} = M, k = r;
|
|
1616
|
+
let g;
|
|
1617
|
+
e[10] !== u || e[11] !== k?.paper || e[12] !== k?.root || e[13] !== r ? (g = u ? r : {
|
|
1231
1618
|
root: {
|
|
1232
1619
|
style: {
|
|
1233
1620
|
pointerEvents: "none"
|
|
1234
1621
|
},
|
|
1235
|
-
...
|
|
1622
|
+
...k?.root
|
|
1236
1623
|
},
|
|
1237
1624
|
paper: {
|
|
1238
|
-
...
|
|
1625
|
+
...k?.paper,
|
|
1239
1626
|
style: {
|
|
1240
1627
|
pointerEvents: "auto",
|
|
1241
|
-
...
|
|
1628
|
+
...k?.paper?.style
|
|
1242
1629
|
}
|
|
1243
1630
|
}
|
|
1244
|
-
}, e[10] =
|
|
1245
|
-
const
|
|
1246
|
-
let
|
|
1247
|
-
e[15] !==
|
|
1248
|
-
const
|
|
1249
|
-
let
|
|
1250
|
-
e[18] !==
|
|
1631
|
+
}, e[10] = u, e[11] = k?.paper, e[12] = k?.root, e[13] = r, e[14] = g) : g = e[14];
|
|
1632
|
+
const T = g, I = !n && i != null;
|
|
1633
|
+
let S;
|
|
1634
|
+
e[15] !== u || e[16] !== m ? (S = u ? () => m(!0) : void 0, e[15] = u, e[16] = m, e[17] = S) : S = e[17];
|
|
1635
|
+
const p = !u, D = !u, A = !u, P = !u, _ = !u, w = !u;
|
|
1636
|
+
let R;
|
|
1637
|
+
e[18] !== o ? (R = /* @__PURE__ */ l("div", { ref: B, children: o }), e[18] = o, e[19] = R) : R = e[19];
|
|
1251
1638
|
let U;
|
|
1252
|
-
return e[20] !==
|
|
1639
|
+
return e[20] !== x || e[21] !== T || e[22] !== i || e[23] !== a || e[24] !== D || e[25] !== A || e[26] !== P || e[27] !== _ || e[28] !== w || e[29] !== R || e[30] !== I || e[31] !== S || e[32] !== p || e[33] !== b ? (U = /* @__PURE__ */ l(Ye, { action: C, sx: a, anchorEl: i, open: I, onClose: S, hideBackdrop: p, disableScrollLock: D, disableEscapeKeyDown: A, disableAutoFocus: P, disableEnforceFocus: _, disableRestoreFocus: w, anchorOrigin: x, transformOrigin: b, slotProps: T, children: R }), e[20] = x, e[21] = T, e[22] = i, e[23] = a, e[24] = D, e[25] = A, e[26] = P, e[27] = _, e[28] = w, e[29] = R, e[30] = I, e[31] = S, e[32] = p, e[33] = b, e[34] = U) : U = e[34], U;
|
|
1253
1640
|
}
|
|
1254
|
-
const
|
|
1255
|
-
function
|
|
1256
|
-
const e =
|
|
1641
|
+
const wl = [];
|
|
1642
|
+
function Fl(t) {
|
|
1643
|
+
const e = Y(54), {
|
|
1257
1644
|
options: i,
|
|
1258
|
-
labels:
|
|
1645
|
+
labels: o,
|
|
1259
1646
|
position: n,
|
|
1260
|
-
selected:
|
|
1647
|
+
selected: c,
|
|
1261
1648
|
onChange: s,
|
|
1262
1649
|
TooltipProps: a
|
|
1263
|
-
} = t,
|
|
1650
|
+
} = t, r = i === void 0 ? wl : i, m = n === void 0 ? "bottom-right" : n, f = c === void 0 ? null : c, [d, h] = ae(null), [u, L] = ae(!1), C = we(null), [y, $] = ae(null), B = bt();
|
|
1651
|
+
let M;
|
|
1652
|
+
e[0] !== B.breakpoints ? (M = B.breakpoints.down("sm"), e[0] = B.breakpoints, e[1] = M) : M = e[1];
|
|
1653
|
+
const x = vt(M);
|
|
1654
|
+
let b;
|
|
1655
|
+
e[2] !== o ? (b = o ?? {}, e[2] = o, e[3] = b) : b = e[3];
|
|
1656
|
+
let k;
|
|
1657
|
+
e[4] !== b ? (k = Be(vl, b), e[4] = b, e[5] = k) : k = e[5];
|
|
1658
|
+
const g = k;
|
|
1264
1659
|
let T;
|
|
1265
|
-
e[
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
e[2] !== l ? (x = l ?? {}, e[2] = l, e[3] = x) : x = e[3];
|
|
1269
|
-
let w;
|
|
1270
|
-
e[4] !== x ? (w = Me(Zt, x), e[4] = x, e[5] = w) : w = e[5];
|
|
1271
|
-
const h = w;
|
|
1272
|
-
let S;
|
|
1273
|
-
if (e[6] !== c || e[7] !== d) {
|
|
1274
|
-
let ne;
|
|
1275
|
-
e[9] !== d ? (ne = (ge) => ge.id === d, e[9] = d, e[10] = ne) : ne = e[10], S = c.find(ne), e[6] = c, e[7] = d, e[8] = S;
|
|
1660
|
+
if (e[6] !== r || e[7] !== f) {
|
|
1661
|
+
let oe;
|
|
1662
|
+
e[9] !== f ? (oe = (ce) => ce.id === f, e[9] = f, e[10] = oe) : oe = e[10], T = r.find(oe), e[6] = r, e[7] = f, e[8] = T;
|
|
1276
1663
|
} else
|
|
1277
|
-
|
|
1278
|
-
const
|
|
1279
|
-
let
|
|
1280
|
-
e[11] !==
|
|
1281
|
-
const
|
|
1282
|
-
let
|
|
1283
|
-
e[13] !==
|
|
1284
|
-
const
|
|
1285
|
-
let
|
|
1286
|
-
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1287
|
-
|
|
1288
|
-
}, e[15] =
|
|
1289
|
-
const
|
|
1290
|
-
let
|
|
1291
|
-
e[16] !==
|
|
1292
|
-
if (
|
|
1293
|
-
return
|
|
1294
|
-
|
|
1295
|
-
},
|
|
1296
|
-
|
|
1664
|
+
T = e[8];
|
|
1665
|
+
const I = T;
|
|
1666
|
+
let S;
|
|
1667
|
+
e[11] !== r ? (S = Object.groupBy(r, kl), e[11] = r, e[12] = S) : S = e[12];
|
|
1668
|
+
const p = S;
|
|
1669
|
+
let D;
|
|
1670
|
+
e[13] !== p ? (D = Object.keys(p), e[13] = p, e[14] = D) : D = e[14];
|
|
1671
|
+
const A = D.length;
|
|
1672
|
+
let P;
|
|
1673
|
+
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = () => {
|
|
1674
|
+
h(null), L(!1);
|
|
1675
|
+
}, e[15] = P) : P = e[15];
|
|
1676
|
+
const _ = P;
|
|
1677
|
+
let w, R;
|
|
1678
|
+
e[16] !== y ? (w = () => {
|
|
1679
|
+
if (C.current && clearTimeout(C.current), !!y)
|
|
1680
|
+
return C.current = setTimeout(() => {
|
|
1681
|
+
_();
|
|
1682
|
+
}, y), () => {
|
|
1683
|
+
C.current && clearTimeout(C.current);
|
|
1297
1684
|
};
|
|
1298
|
-
},
|
|
1685
|
+
}, R = [y], e[16] = y, e[17] = w, e[18] = R) : (w = e[17], R = e[18]), et(w, R);
|
|
1299
1686
|
let U;
|
|
1300
1687
|
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = () => {
|
|
1301
|
-
|
|
1688
|
+
$(null);
|
|
1302
1689
|
}, e[19] = U) : U = e[19];
|
|
1303
|
-
const
|
|
1304
|
-
let
|
|
1305
|
-
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1306
|
-
|
|
1307
|
-
}, e[20] =
|
|
1308
|
-
const
|
|
1309
|
-
let
|
|
1310
|
-
e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1311
|
-
|
|
1312
|
-
}, e[21] =
|
|
1313
|
-
const
|
|
1690
|
+
const O = U;
|
|
1691
|
+
let v;
|
|
1692
|
+
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = () => {
|
|
1693
|
+
$(400);
|
|
1694
|
+
}, e[20] = v) : v = e[20];
|
|
1695
|
+
const E = v;
|
|
1696
|
+
let V;
|
|
1697
|
+
e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = (oe) => {
|
|
1698
|
+
h(oe.currentTarget), L(!0);
|
|
1699
|
+
}, e[21] = V) : V = e[21];
|
|
1700
|
+
const N = I?.icon, Z = I?.label ?? "Basemap";
|
|
1314
1701
|
let j;
|
|
1315
|
-
e[22] !==
|
|
1702
|
+
e[22] !== N || e[23] !== Z ? (j = /* @__PURE__ */ l(be, { sx: xe.toggle, onClick: V, children: /* @__PURE__ */ l("img", { src: N, alt: Z }) }), e[22] = N, e[23] = Z, e[24] = j) : j = e[24];
|
|
1703
|
+
let F;
|
|
1704
|
+
e[25] !== a || e[26] !== g.toggle.title || e[27] !== j ? (F = /* @__PURE__ */ l(ke, { title: g.toggle.title, placement: "right", ...a, children: j }), e[25] = a, e[26] = g.toggle.title, e[27] = j, e[28] = F) : F = e[28];
|
|
1705
|
+
const z = `translate3d(${m.endsWith("right") ? "-8px" : "8px"}, ${m.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
|
|
1316
1706
|
let G;
|
|
1317
|
-
e[
|
|
1318
|
-
const Z = `translate3d(${m.endsWith("right") ? "-8px" : "8px"}, ${m.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
|
|
1319
|
-
let H;
|
|
1320
|
-
e[29] !== Z ? (H = {
|
|
1707
|
+
e[29] !== z ? (G = {
|
|
1321
1708
|
paper: {
|
|
1322
1709
|
sx: {
|
|
1323
|
-
...
|
|
1324
|
-
transform:
|
|
1710
|
+
...xe.root,
|
|
1711
|
+
transform: z
|
|
1325
1712
|
},
|
|
1326
|
-
onMouseOver:
|
|
1327
|
-
onMouseLeave:
|
|
1713
|
+
onMouseOver: O,
|
|
1714
|
+
onMouseLeave: E
|
|
1328
1715
|
}
|
|
1329
|
-
}, e[29] =
|
|
1330
|
-
const
|
|
1331
|
-
let
|
|
1332
|
-
e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1333
|
-
let
|
|
1334
|
-
e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1716
|
+
}, e[29] = z, e[30] = G) : G = e[30];
|
|
1717
|
+
const X = !u;
|
|
1718
|
+
let q;
|
|
1719
|
+
e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = () => _(), e[31] = q) : q = e[31];
|
|
1720
|
+
let J;
|
|
1721
|
+
e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (J = () => _(), e[32] = J) : J = e[32];
|
|
1335
1722
|
let K;
|
|
1336
|
-
e[33] !==
|
|
1337
|
-
let
|
|
1338
|
-
e[36] !==
|
|
1339
|
-
let
|
|
1340
|
-
e[38] !==
|
|
1341
|
-
const [
|
|
1342
|
-
return /* @__PURE__ */
|
|
1343
|
-
|
|
1344
|
-
} }) },
|
|
1345
|
-
}), e[38] =
|
|
1346
|
-
let
|
|
1347
|
-
e[44] !==
|
|
1723
|
+
e[33] !== x || e[34] !== g.header ? (K = /* @__PURE__ */ l(yl, { isMobile: x, labels: g.header, onChangeCollapsed: J }), e[33] = x, e[34] = g.header, e[35] = K) : K = e[35];
|
|
1724
|
+
let Q;
|
|
1725
|
+
e[36] !== p ? (Q = Object.entries(p), e[36] = p, e[37] = Q) : Q = e[37];
|
|
1726
|
+
let ee;
|
|
1727
|
+
e[38] !== A || e[39] !== g.header || e[40] !== s || e[41] !== f || e[42] !== Q ? (ee = Q.map((oe) => {
|
|
1728
|
+
const [ce, ie] = oe;
|
|
1729
|
+
return /* @__PURE__ */ l(xl, { title: ce + " " + g.header.title, collapsed: A < 2, children: /* @__PURE__ */ l(Sl, { values: ie, selected: f, onChange: (ge) => {
|
|
1730
|
+
_(), s(ge);
|
|
1731
|
+
} }) }, ce);
|
|
1732
|
+
}), e[38] = A, e[39] = g.header, e[40] = s, e[41] = f, e[42] = Q, e[43] = ee) : ee = e[43];
|
|
1733
|
+
let te;
|
|
1734
|
+
e[44] !== x || e[45] !== m || e[46] !== G || e[47] !== X || e[48] !== K || e[49] !== ee ? (te = /* @__PURE__ */ W(Cl, { ref: d, slotProps: G, collapsed: X, position: m, isMobile: x, onChangeCollapsed: q, children: [
|
|
1348
1735
|
K,
|
|
1349
|
-
|
|
1350
|
-
] }), e[44] =
|
|
1351
|
-
let
|
|
1352
|
-
return e[51] !==
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
] }), e[51] =
|
|
1736
|
+
ee
|
|
1737
|
+
] }), e[44] = x, e[45] = m, e[46] = G, e[47] = X, e[48] = K, e[49] = ee, e[50] = te) : te = e[50];
|
|
1738
|
+
let le;
|
|
1739
|
+
return e[51] !== F || e[52] !== te ? (le = /* @__PURE__ */ W(Me, { children: [
|
|
1740
|
+
F,
|
|
1741
|
+
te
|
|
1742
|
+
] }), e[51] = F, e[52] = te, e[53] = le) : le = e[53], le;
|
|
1356
1743
|
}
|
|
1357
|
-
function
|
|
1744
|
+
function kl(t) {
|
|
1358
1745
|
return t.group ?? "default";
|
|
1359
1746
|
}
|
|
1360
1747
|
export {
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1748
|
+
qt as AreaIcon,
|
|
1749
|
+
Fl as BasemapsUI,
|
|
1750
|
+
Xt as BufferIcon,
|
|
1751
|
+
to as CopyButton,
|
|
1752
|
+
Nl as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
|
|
1753
|
+
ve as DEFAULT_MEASUREMENT_TOOLS_LABELS,
|
|
1754
|
+
Jt as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING,
|
|
1755
|
+
Qt as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING,
|
|
1756
|
+
Gl as DrawCircleIcon,
|
|
1757
|
+
Hl as DrawLassoIcon,
|
|
1758
|
+
Yl as DrawPolygonIcon,
|
|
1759
|
+
Kl as DrawSquareIcon,
|
|
1760
|
+
Wl as GeolocationControls,
|
|
1761
|
+
ye as LASSO_TOOLS_LABELS,
|
|
1762
|
+
$l as LassoGeometryToolbarUI,
|
|
1763
|
+
Bl as LassoLayerFiltersUI,
|
|
1764
|
+
El as LassoToolsInlineUI,
|
|
1765
|
+
Xl as LassoToolsUI,
|
|
1766
|
+
Vl as ListDataUI,
|
|
1767
|
+
Ul as MeasurementToolsUI,
|
|
1768
|
+
Cl as ResponsiveDrawer,
|
|
1769
|
+
Kt as RulerIcon,
|
|
1770
|
+
ql as SelectToolIcon,
|
|
1771
|
+
Dt as SmartTooltip,
|
|
1772
|
+
ot as SpatialMaskIcon,
|
|
1773
|
+
nt as TextAaIcon,
|
|
1774
|
+
ke as Tooltip,
|
|
1775
|
+
zl as ZoomControlsUI,
|
|
1776
|
+
Jl as setTooltipEnterDelay
|
|
1386
1777
|
};
|
|
1387
1778
|
//# sourceMappingURL=components.js.map
|