@carto/ps-react-ui 4.14.1 → 4.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/chat.js +494 -466
  2. package/dist/chat.js.map +1 -1
  3. package/dist/components.js +434 -408
  4. package/dist/components.js.map +1 -1
  5. package/dist/markdown-DdqANCiN.js +102 -0
  6. package/dist/markdown-DdqANCiN.js.map +1 -0
  7. package/dist/markdown-content-Dk2DSgbf.js +10287 -0
  8. package/dist/markdown-content-Dk2DSgbf.js.map +1 -0
  9. package/dist/types/chat/bubbles/chat-agent-message-markdown.d.ts +12 -0
  10. package/dist/types/chat/bubbles/chat-agent-message.d.ts +9 -0
  11. package/dist/types/chat/bubbles/index.d.ts +1 -0
  12. package/dist/types/chat/index.d.ts +2 -1
  13. package/dist/types/chat/types.d.ts +9 -0
  14. package/dist/types/components/index.d.ts +2 -1
  15. package/dist/types/components/lasso-tool/message.d.ts +7 -0
  16. package/dist/types/components/lasso-tool/types.d.ts +17 -2
  17. package/dist/types/widgets-v2/markdown/markdown-content.d.ts +7 -1
  18. package/dist/widgets-v2/markdown.js +9 -8
  19. package/dist/widgets-v2/markdown.js.map +1 -1
  20. package/dist/widgets-v2.js +23 -22
  21. package/dist/widgets-v2.js.map +1 -1
  22. package/package.json +3 -2
  23. package/src/chat/bubbles/chat-agent-message-markdown.test.tsx +38 -0
  24. package/src/chat/bubbles/chat-agent-message-markdown.tsx +34 -0
  25. package/src/chat/bubbles/chat-agent-message.test.tsx +12 -0
  26. package/src/chat/bubbles/chat-agent-message.tsx +21 -1
  27. package/src/chat/bubbles/index.ts +1 -0
  28. package/src/chat/index.ts +2 -0
  29. package/src/chat/types.ts +10 -0
  30. package/src/components/index.ts +2 -0
  31. package/src/components/lasso-tool/message.tsx +36 -0
  32. package/src/components/lasso-tool/types.ts +20 -1
  33. package/src/widgets-v2/markdown/markdown-content.test.tsx +10 -0
  34. package/src/widgets-v2/markdown/markdown-content.tsx +9 -0
  35. package/src/widgets-v2/wrapper/widget-wrapper.tsx +4 -1
  36. package/dist/markdown-BD1jcknS.js +0 -8326
  37. package/dist/markdown-BD1jcknS.js.map +0 -1
@@ -1,17 +1,17 @@
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";
1
+ import { s as De, L as ot, a as ye, S as nt, T as it } from "./lasso-tool-YLFRgb-S.js";
2
+ import { D as Yl, b as Kl, c as Xl, d as ql, e as Ql, f as Jl, g as eo } from "./lasso-tool-YLFRgb-S.js";
3
+ import { jsxs as U, Fragment as me, jsx as l } from "react/jsx-runtime";
4
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";
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 st, 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 rt, List as qe, DialogContent as Qe, DialogActions as Je, AlertTitle as at, Alert as et, Snackbar as ct, alpha as dt, MenuItem as Ve, Menu as ft, FormControlLabel as mt, Radio as pt, RadioGroup as ut, FormControl as ht, CircularProgress as gt, Grid as Te, Skeleton as Oe, ListItem as bt, Drawer as vt, useTheme as yt, useMediaQuery as xt } from "@mui/material";
6
+ import { useRef as we, useState as ae, useId as St, useReducer as _t, useEffectEvent as Ct, useEffect as tt } from "react";
7
7
  import { d as Be } from "./cjs-D4KH3azB.js";
8
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) {
9
+ import { s as lo } from "./tooltip-BDnrRKrp.js";
10
+ import { LockOutlined as wt, DeleteOutlined as kt, Close as Ue, Search as Tt, ArrowDropDown as Mt, MyLocationOutlined as At, LocationDisabledOutlined as It, CropFreeOutlined as Lt, AddOutlined as Dt, RemoveOutlined as Pt } from "@mui/icons-material";
11
+ import { S as Rt } from "./smart-tooltip-D4vwQpFf.js";
12
+ import { C as no } from "./copy-button-DGL1tyli.js";
13
+ const Ot = [], Et = {};
14
+ function Bl(t) {
15
15
  const e = Y(55), {
16
16
  enabled: i,
17
17
  values: o,
@@ -20,13 +20,13 @@ function El(t) {
20
20
  modes: s,
21
21
  modesMapping: a,
22
22
  modeSelected: r,
23
- BoxProps: m,
24
- onChipToggle: f,
23
+ BoxProps: f,
24
+ onChipToggle: m,
25
25
  onDelete: d,
26
26
  onChangeMode: h,
27
- onAllChipToggle: u,
27
+ onAllChipToggle: p,
28
28
  onAllDelete: L
29
- } = t, C = o === void 0 ? Pt : o, y = m === void 0 ? Rt : m;
29
+ } = t, C = o === void 0 ? Ot : o, y = f === void 0 ? Et : f;
30
30
  let $, B;
31
31
  e[0] !== y ? ({
32
32
  sx: B,
@@ -43,11 +43,11 @@ function El(t) {
43
43
  let g;
44
44
  e[9] !== d ? (g = (K) => d(K), e[9] = d, e[10] = g) : g = e[10];
45
45
  const T = g;
46
- let I;
47
- e[11] !== h ? (I = (K, Q) => {
46
+ let A;
47
+ e[11] !== h ? (A = (K, Q) => {
48
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;
49
+ }, e[11] = h, e[12] = A) : A = e[12];
50
+ const S = A, D = (r ?? "") in s ? r : Object.keys(x)[0], I = i ? x[D] : null;
51
51
  let P;
52
52
  e[13] !== b ? (P = Object.values(b), e[13] = b, e[14] = P) : P = e[14];
53
53
  const _ = P;
@@ -56,11 +56,11 @@ function El(t) {
56
56
  ...De.container,
57
57
  ...B
58
58
  }, e[15] = B, e[16] = w) : w = e[16];
59
- const R = c?.options, U = A?.value, O = c?.options;
59
+ const R = c?.options, W = I?.value, O = c?.options;
60
60
  let v;
61
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
62
  let E;
63
- e[20] !== k || e[21] !== c?.options || e[22] !== C.length ? (E = !!k && /* @__PURE__ */ W(fe, { children: [
63
+ e[20] !== k || e[21] !== c?.options || e[22] !== C.length ? (E = !!k && /* @__PURE__ */ U(me, { children: [
64
64
  /* @__PURE__ */ l(he, { orientation: "vertical" }),
65
65
  /* @__PURE__ */ l(Fe, { labels: c?.options, data: [{
66
66
  ...k,
@@ -68,24 +68,24 @@ function El(t) {
68
68
  }] })
69
69
  ] }), e[20] = k, e[21] = c?.options, e[22] = C.length, e[23] = E) : E = e[23];
70
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: [
71
+ e[24] !== S || e[25] !== W || e[26] !== v || e[27] !== E ? (V = /* @__PURE__ */ U(He, { value: W, exclusive: !0, className: "inline", sx: De.options.menu, onChange: S, children: [
72
72
  v,
73
73
  E
74
- ] }), e[24] = S, e[25] = U, e[26] = v, e[27] = E, e[28] = V) : V = e[28];
74
+ ] }), e[24] = S, e[25] = W, e[26] = v, e[27] = E, e[28] = V) : V = e[28];
75
75
  let N;
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];
76
+ e[29] !== _ || e[30] !== V || e[31] !== R ? (N = /* @__PURE__ */ l($t, { data: _, labels: R, children: V }), e[29] = _, e[30] = V, e[31] = R, e[32] = N) : N = e[32];
77
77
  let Z;
78
78
  e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Z = /* @__PURE__ */ l(he, { flexItem: !0 }), e[33] = Z) : Z = e[33];
79
79
  const j = !!C.length, F = c?.noData;
80
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];
81
+ e[34] !== j || e[35] !== F ? (z = /* @__PURE__ */ l(Bt, { hasValues: j, labels: F }), e[34] = j, e[35] = F, e[36] = z) : z = e[36];
82
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];
83
+ e[37] !== n || e[38] !== T || e[39] !== c?.chip || e[40] !== m || e[41] !== C ? (G = !!C.length && /* @__PURE__ */ l(ne, { sx: De.chip.container, className: "inline", children: C.map((K) => /* @__PURE__ */ l(ot, { value: K, labels: c?.chip, chipProps: n, onDelete: T, onChipToggle: m }, K.id)) }), e[37] = n, e[38] = T, e[39] = c?.chip, e[40] = m, e[41] = C, e[42] = G) : G = e[42];
84
84
  const X = c?.actions;
85
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];
86
+ e[43] !== p || e[44] !== L || e[45] !== X || e[46] !== C ? (q = /* @__PURE__ */ l(Ut, { values: C, labels: X, onAllChipToggle: p, onAllDelete: L }), e[43] = p, e[44] = L, e[45] = X, e[46] = C, e[47] = q) : q = e[47];
87
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: [
88
+ return e[48] !== $ || e[49] !== N || e[50] !== z || e[51] !== G || e[52] !== q || e[53] !== w ? (J = /* @__PURE__ */ U(ne, { sx: w, ...$, className: "inline", children: [
89
89
  N,
90
90
  Z,
91
91
  z,
@@ -93,7 +93,7 @@ function El(t) {
93
93
  q
94
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 Ot(t) {
96
+ function $t(t) {
97
97
  const e = Y(5), {
98
98
  data: i,
99
99
  labels: o,
@@ -105,7 +105,7 @@ function Ot(t) {
105
105
  let s;
106
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__ */ W(fe, { children: [
108
+ return e[2] !== n || e[3] !== s ? (a = /* @__PURE__ */ U(me, { children: [
109
109
  s,
110
110
  n
111
111
  ] }), e[2] = n, e[3] = s, e[4] = a) : a = e[4], a;
@@ -119,7 +119,7 @@ function Fe({
119
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 Et(t) {
122
+ function Bt(t) {
123
123
  const e = Y(7), {
124
124
  hasValues: i,
125
125
  labels: o
@@ -132,12 +132,12 @@ function Et(t) {
132
132
  let a;
133
133
  e[2] !== c ? (a = /* @__PURE__ */ l(se, { variant: "body2", color: "textSecondary", children: c }), e[2] = c, e[3] = a) : a = e[3];
134
134
  let r;
135
- return e[4] !== s || e[5] !== a ? (r = /* @__PURE__ */ W(fe, { children: [
135
+ return e[4] !== s || e[5] !== a ? (r = /* @__PURE__ */ U(me, { children: [
136
136
  s,
137
137
  a
138
138
  ] }), e[4] = s, e[5] = a, e[6] = r) : r = e[6], r;
139
139
  }
140
- function $t(t) {
140
+ function Ut(t) {
141
141
  const e = Y(13), {
142
142
  values: i,
143
143
  labels: o,
@@ -146,25 +146,25 @@ function $t(t) {
146
146
  } = t;
147
147
  if (i.length <= 1)
148
148
  return null;
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
- let m;
151
- e[0] !== n ? (m = () => n(), e[0] = n, e[1] = m) : m = e[1];
149
+ const a = i.some(Wt) ? o?.toggleAll?.active ?? ye.actions.toggleAll.active : o?.toggleAll?.inactive ?? ye.actions.toggleAll.inactive, r = o?.deleteAll ?? ye.actions.deleteAll;
152
150
  let f;
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];
151
+ e[0] !== n ? (f = () => n(), e[0] = n, e[1] = f) : f = e[1];
152
+ let m;
153
+ e[2] !== f || e[3] !== a ? (m = /* @__PURE__ */ l(_e, { color: "inherit", onClick: f, children: a }), e[2] = f, e[3] = a, e[4] = m) : m = e[4];
154
154
  let d;
155
155
  e[5] !== c ? (d = () => c(), e[5] = c, e[6] = d) : d = e[6];
156
156
  let h;
157
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,
158
+ let p;
159
+ return e[10] !== m || e[11] !== h ? (p = /* @__PURE__ */ U(ne, { children: [
160
+ m,
161
161
  h
162
- ] }), e[10] = f, e[11] = h, e[12] = u) : u = e[12], u;
162
+ ] }), e[10] = m, e[11] = h, e[12] = p) : p = e[12], p;
163
163
  }
164
- function Bt(t) {
164
+ function Wt(t) {
165
165
  return t.visible;
166
166
  }
167
- const Ae = 18, Ut = {
167
+ const Ie = 18, zt = {
168
168
  display: "flex",
169
169
  flexDirection: "row",
170
170
  alignItems: "center",
@@ -181,7 +181,7 @@ const Ae = 18, Ut = {
181
181
  backgroundColor: ({
182
182
  palette: t
183
183
  }) => t.background.paper
184
- }, tt = {
184
+ }, lt = {
185
185
  p: ({
186
186
  spacing: t
187
187
  }) => t(0.375),
@@ -193,8 +193,8 @@ const Ae = 18, Ut = {
193
193
  spacing: t
194
194
  }) => t(0.5)
195
195
  }
196
- }, Wt = (t) => ({
197
- ...tt,
196
+ }, Vt = (t) => ({
197
+ ...lt,
198
198
  color: ({
199
199
  palette: e
200
200
  }) => t ? e.primary.main : e.text.secondary,
@@ -205,7 +205,7 @@ const Ae = 18, Ut = {
205
205
  }) => t ? "rgba(3, 111, 226, 0.12)" : e.action.hover
206
206
  }
207
207
  });
208
- function $l(t) {
208
+ function Ul(t) {
209
209
  const e = Y(73), {
210
210
  type: i,
211
211
  label: o,
@@ -214,22 +214,22 @@ function $l(t) {
214
214
  onRename: s,
215
215
  onToggleLock: a,
216
216
  onDelete: r,
217
- labels: m,
218
- PaperProps: f
217
+ labels: f,
218
+ PaperProps: m
219
219
  } = t, d = n === void 0 ? !1 : n;
220
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;
221
+ e[0] !== m ? (h = m === void 0 ? {} : m, e[0] = m, e[1] = h) : h = e[1];
222
+ let p, L;
223
223
  e[2] !== h ? ({
224
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 = () => {
225
+ ...p
226
+ } = h, e[2] = h, e[3] = p, e[4] = L) : (p = 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" ? f?.toggleType?.draw ?? "Switch to drawing" : f?.toggleType?.mask ?? "Switch to mask", A = f?.rename ?? "Rename", S = f?.renameInput ?? A, u = d ? f?.lock?.unlock ?? "Unlock" : f?.lock?.lock ?? "Lock", D = f?.delete ?? "Delete";
228
+ let I;
229
+ e[5] !== o ? (I = () => {
230
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;
231
+ }, e[5] = o, e[6] = I) : I = e[6];
232
+ const P = I;
233
233
  let _;
234
234
  e[7] !== b || e[8] !== o || e[9] !== s ? (_ = () => {
235
235
  if (!y.current) {
@@ -244,49 +244,49 @@ function $l(t) {
244
244
  e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = () => {
245
245
  y.current = !0, B(null);
246
246
  }, e[11] = R) : R = e[11];
247
- const U = R;
247
+ const W = R;
248
248
  let O;
249
249
  e[12] !== w ? (O = (re) => {
250
- re.key === "Enter" && (re.preventDefault(), w()), re.key === "Escape" && (re.preventDefault(), U());
250
+ re.key === "Enter" && (re.preventDefault(), w()), re.key === "Escape" && (re.preventDefault(), W());
251
251
  }, e[12] = w, e[13] = O) : O = e[13];
252
252
  const v = O;
253
253
  let E;
254
254
  e[14] !== L ? (E = {
255
- ...Ut,
255
+ ...zt,
256
256
  ...L
257
257
  }, e[14] = L, e[15] = E) : E = e[15];
258
258
  const V = i === "mask", N = i === "mask";
259
259
  let Z;
260
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
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
262
+ e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ l(Re, { component: nt, inheritViewBox: !0, sx: {
263
+ fontSize: Ie
264
264
  } }), e[19] = j) : j = e[19];
265
265
  let F;
266
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
267
  let z;
268
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
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
270
+ e[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ l(Re, { component: it, inheritViewBox: !0, sx: {
271
+ fontSize: Ie
272
272
  } }), e[27] = G) : G = e[27];
273
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];
274
+ e[28] !== d || e[29] !== P || e[30] !== A || e[31] !== g ? (X = /* @__PURE__ */ l(Le, { label: A, active: g, disabled: d, onClick: P, icon: G }), e[28] = d, e[29] = P, e[30] = A, e[31] = g, e[32] = X) : X = e[32];
275
275
  let q;
276
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
277
  let J;
278
278
  e[34] !== d || e[35] !== a ? (J = () => a(!d), e[34] = d, e[35] = a, e[36] = J) : J = e[36];
279
279
  let K;
280
- e[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K = /* @__PURE__ */ l(_t, { sx: {
281
- fontSize: Ae
280
+ e[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K = /* @__PURE__ */ l(wt, { sx: {
281
+ fontSize: Ie
282
282
  } }), e[37] = K) : K = e[37];
283
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];
284
+ e[38] !== u || e[39] !== d || e[40] !== J ? (Q = /* @__PURE__ */ l(Le, { label: u, active: d, pressed: d, onClick: J, icon: K }), e[38] = u, e[39] = d, e[40] = J, e[41] = Q) : Q = e[41];
285
285
  let ee;
286
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
287
  let te;
288
- e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (te = /* @__PURE__ */ l(Ct, { sx: {
289
- fontSize: Ae
288
+ e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (te = /* @__PURE__ */ l(kt, { sx: {
289
+ fontSize: Ie
290
290
  } }), e[43] = te) : te = e[43];
291
291
  let le;
292
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];
@@ -314,11 +314,11 @@ function $l(t) {
314
314
  let pe;
315
315
  e[53] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (pe = (re) => k(re.target.value), e[53] = pe) : pe = e[53];
316
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];
317
+ e[54] !== w || e[55] !== b || e[56] !== v || e[57] !== S ? (de = /* @__PURE__ */ l(ne, { sx: ge, children: /* @__PURE__ */ l(st, { inputRef: Ft, 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
318
  let ue;
319
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
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: [
321
+ return e[65] !== p || e[66] !== F || e[67] !== X || e[68] !== Q || e[69] !== le || e[70] !== ue || e[71] !== E ? (H = /* @__PURE__ */ U(Me, { ref: C, elevation: 6, sx: E, ...p, children: [
322
322
  F,
323
323
  z,
324
324
  X,
@@ -327,9 +327,9 @@ function $l(t) {
327
327
  ee,
328
328
  le,
329
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;
330
+ ] }), e[65] = p, 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
331
  }
332
- function zt(t) {
332
+ function Ft(t) {
333
333
  return t?.focus();
334
334
  }
335
335
  function Le(t) {
@@ -341,21 +341,21 @@ function Le(t) {
341
341
  disabled: s,
342
342
  color: a,
343
343
  onClick: r
344
- } = t, m = n === void 0 ? !1 : n, f = s === void 0 ? !1 : s;
344
+ } = t, f = n === void 0 ? !1 : n, m = s === void 0 ? !1 : s;
345
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];
346
+ e[0] !== f || e[1] !== a ? (d = a ? lt : Vt(f), e[0] = f, e[1] = a, e[2] = d) : d = e[2];
347
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;
348
+ e[3] !== a || e[4] !== m || 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: m, color: a, onClick: r, sx: d, children: o }) }), e[3] = a, e[4] = m, e[5] = o, e[6] = i, e[7] = r, e[8] = c, e[9] = d, e[10] = h) : h = e[10];
349
+ let p;
350
+ return e[11] !== i || e[12] !== h ? (p = /* @__PURE__ */ l(ke, { title: i, placement: "top", children: h }), e[11] = i, e[12] = h, e[13] = p) : p = e[13], p;
351
351
  }
352
- const Vt = {
352
+ const Zt = {
353
353
  display: "flex",
354
354
  alignItems: "center",
355
355
  justifyContent: "space-between",
356
356
  gap: 1,
357
357
  p: 2
358
- }, Ft = {
358
+ }, jt = {
359
359
  borderRadius: ({
360
360
  spacing: t
361
361
  }) => t(0.5),
@@ -363,7 +363,7 @@ const Vt = {
363
363
  backgroundColor: ({
364
364
  palette: t
365
365
  }) => t.background.default
366
- }, Zt = {
366
+ }, Nt = {
367
367
  display: "flex",
368
368
  alignItems: "center",
369
369
  gap: 1,
@@ -379,7 +379,7 @@ const Vt = {
379
379
  minWidth: 0,
380
380
  mr: 1
381
381
  };
382
- function Bl(t) {
382
+ function Wl(t) {
383
383
  const e = Y(82), {
384
384
  open: i,
385
385
  onClose: o,
@@ -387,47 +387,47 @@ function Bl(t) {
387
387
  onApply: c,
388
388
  labels: s,
389
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("")));
390
+ } = t, r = St(), [f, m] = ae(Xt), [d, h] = ae(""), [p, L] = ae(!1);
391
+ i !== p && (L(i), i && (m(new Set(n.filter(Kt).map(Yt))), h("")));
392
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
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];
394
+ e[0] !== f || e[1] !== n ? (M = n.length > 0 && n.every((H) => f.has(H.id)), e[0] = f, e[1] = n, e[2] = M) : M = e[2];
395
395
  const x = M;
396
396
  let b;
397
- if (e[3] !== m || e[4] !== n) {
397
+ if (e[3] !== f || e[4] !== n) {
398
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;
399
+ e[6] !== f ? (H = (re) => f.has(re.id), e[6] = f, e[7] = H) : H = e[7], b = n.some(H), e[3] = f, e[4] = n, e[5] = b;
400
400
  } else
401
401
  b = e[5];
402
402
  const k = b;
403
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;
404
+ e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = (H) => m((re) => {
405
+ const Ae = new Set(re);
406
+ return Ae.has(H) ? Ae.delete(H) : Ae.add(H), Ae;
407
407
  }), e[8] = g) : g = e[8];
408
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]);
409
+ let A;
410
+ e[9] !== x || e[10] !== n ? (A = () => m(x ? /* @__PURE__ */ new Set() : new Set(n.map(Ht))), e[9] = x, e[10] = n, e[11] = A) : A = e[11];
411
+ const S = A;
412
+ let u;
413
+ e[12] !== f || e[13] !== n || e[14] !== c || e[15] !== o ? (u = () => {
414
+ c(n.filter((H) => f.has(H.id)).map(Gt)), o();
415
+ }, e[12] = f, e[13] = n, e[14] = c, e[15] = o, e[16] = u) : u = e[16];
416
+ const D = u;
417
+ let I, P;
418
+ e[17] !== n || e[18] !== d ? (I = d.trim().toLowerCase(), P = I ? n.filter((H) => H.label.toLowerCase().includes(I)) : n, e[17] = n, e[18] = d, e[19] = I, e[20] = P) : (I = e[19], P = e[20]);
419
419
  const _ = P;
420
420
  let w;
421
421
  e[21] !== C ? (w = /* @__PURE__ */ l(se, { variant: "subtitle1", fontWeight: 500, children: C }), e[21] = C, e[22] = w) : w = e[22];
422
422
  let R;
423
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];
424
+ let W;
425
+ e[24] !== o ? (W = /* @__PURE__ */ l(be, { "aria-label": "close", size: "small", onClick: o, children: R }), e[24] = o, e[25] = W) : W = e[25];
426
426
  let O;
427
- e[26] !== w || e[27] !== U ? (O = /* @__PURE__ */ W(Xe, { component: "div", sx: Vt, children: [
427
+ e[26] !== w || e[27] !== W ? (O = /* @__PURE__ */ U(Xe, { component: "div", sx: Zt, children: [
428
428
  w,
429
- U
430
- ] }), e[26] = w, e[27] = U, e[28] = O) : O = e[28];
429
+ W
430
+ ] }), e[26] = w, e[27] = W, e[28] = O) : O = e[28];
431
431
  let v;
432
432
  e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = {
433
433
  pt: 1,
@@ -441,7 +441,7 @@ function Bl(t) {
441
441
  let V;
442
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
443
  let N;
444
- e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ l(wt, { sx: {
444
+ e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ l(Tt, { sx: {
445
445
  fontSize: 18
446
446
  } }), e[33] = N) : N = e[33];
447
447
  const Z = s?.search ?? "Search layers", j = s?.search ?? "Search layers";
@@ -455,9 +455,9 @@ function Bl(t) {
455
455
  color: "text.primary"
456
456
  }, e[36] = z, e[37] = G) : (z = e[36], G = e[37]);
457
457
  let X;
458
- e[38] !== d || e[39] !== Z || e[40] !== F ? (X = /* @__PURE__ */ W(ne, { sx: Zt, children: [
458
+ e[38] !== d || e[39] !== Z || e[40] !== F ? (X = /* @__PURE__ */ U(ne, { sx: Nt, children: [
459
459
  N,
460
- /* @__PURE__ */ l(st, { fullWidth: !0, placeholder: Z, inputProps: F, value: d, onChange: z, sx: G })
460
+ /* @__PURE__ */ l(rt, { fullWidth: !0, placeholder: Z, inputProps: F, value: d, onChange: z, sx: G })
461
461
  ] }), e[38] = d, e[39] = Z, e[40] = F, e[41] = X) : X = e[41];
462
462
  let q;
463
463
  e[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = /* @__PURE__ */ l(he, {}), e[42] = q) : q = e[42];
@@ -470,8 +470,8 @@ function Bl(t) {
470
470
  }
471
471
  }, e[43] = J) : J = e[43];
472
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: [
473
+ e[44] !== x || e[45] !== $ || e[46] !== r || e[47] !== I || e[48] !== k || e[49] !== S ? (K = !I && /* @__PURE__ */ U(me, { children: [
474
+ /* @__PURE__ */ U(We, { dense: !0, sx: Ze, onClick: S, children: [
475
475
  /* @__PURE__ */ l($e, { sx: je, children: /* @__PURE__ */ l(ze, { edge: "start", tabIndex: -1, disableRipple: !0, sx: {
476
476
  p: 0.5
477
477
  }, checked: x, indeterminate: !x && k, inputProps: {
@@ -482,14 +482,14 @@ function Bl(t) {
482
482
  } })
483
483
  ] }),
484
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];
485
+ ] }), e[44] = x, e[45] = $, e[46] = r, e[47] = I, e[48] = k, e[49] = S, e[50] = K) : K = e[50];
486
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: {
487
+ e[51] !== f || e[52] !== B || e[53] !== _ || e[54] !== r ? (Q = _.length === 0 ? /* @__PURE__ */ l(se, { variant: "body2", color: "text.secondary", sx: {
488
488
  p: 2
489
- }, children: B }) : _.map((H) => /* @__PURE__ */ W(We, { dense: !0, sx: Ze, onClick: () => T(H.id), children: [
489
+ }, children: B }) : _.map((H) => /* @__PURE__ */ U(We, { dense: !0, sx: Ze, onClick: () => T(H.id), children: [
490
490
  /* @__PURE__ */ l($e, { sx: je, children: /* @__PURE__ */ l(ze, { edge: "start", tabIndex: -1, disableRipple: !0, sx: {
491
491
  p: 0.5
492
- }, checked: m.has(H.id), inputProps: {
492
+ }, checked: f.has(H.id), inputProps: {
493
493
  "aria-labelledby": `${r}-${H.id}`
494
494
  } }) }),
495
495
  /* @__PURE__ */ l(Ce, { id: `${r}-${H.id}`, primary: H.label, primaryTypographyProps: {
@@ -497,20 +497,20 @@ function Bl(t) {
497
497
  noWrap: !0,
498
498
  title: H.label
499
499
  } })
500
- ] }, H.id)), e[51] = m, e[52] = B, e[53] = _, e[54] = r, e[55] = Q) : Q = e[55];
500
+ ] }, H.id)), e[51] = f, e[52] = B, e[53] = _, e[54] = r, e[55] = Q) : Q = e[55];
501
501
  let ee;
502
- e[56] !== K || e[57] !== Q ? (ee = /* @__PURE__ */ W(qe, { component: "div", role: "list", disablePadding: !0, sx: J, children: [
502
+ e[56] !== K || e[57] !== Q ? (ee = /* @__PURE__ */ U(qe, { component: "div", role: "list", disablePadding: !0, sx: J, children: [
503
503
  K,
504
504
  Q
505
505
  ] }), e[56] = K, e[57] = Q, e[58] = ee) : ee = e[58];
506
506
  let te;
507
- e[59] !== X || e[60] !== ee ? (te = /* @__PURE__ */ W(ne, { sx: Ft, children: [
507
+ e[59] !== X || e[60] !== ee ? (te = /* @__PURE__ */ U(ne, { sx: jt, children: [
508
508
  X,
509
509
  q,
510
510
  ee
511
511
  ] }), e[59] = X, e[60] = ee, e[61] = te) : te = e[61];
512
512
  let le;
513
- e[62] !== V || e[63] !== te ? (le = /* @__PURE__ */ W(Qe, { sx: v, children: [
513
+ e[62] !== V || e[63] !== te ? (le = /* @__PURE__ */ U(Qe, { sx: v, children: [
514
514
  V,
515
515
  te
516
516
  ] }), e[62] = V, e[63] = te, e[64] = le) : le = e[64];
@@ -525,52 +525,77 @@ function Bl(t) {
525
525
  let pe;
526
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
527
  let de;
528
- e[72] !== ie || e[73] !== pe ? (de = /* @__PURE__ */ W(Je, { sx: oe, children: [
528
+ e[72] !== ie || e[73] !== pe ? (de = /* @__PURE__ */ U(Je, { sx: oe, children: [
529
529
  ie,
530
530
  pe
531
531
  ] }), e[72] = ie, e[73] = pe, e[74] = de) : de = e[74];
532
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: [
533
+ return e[75] !== a || e[76] !== o || e[77] !== i || e[78] !== O || e[79] !== le || e[80] !== de ? (ue = /* @__PURE__ */ U(Ke, { open: i, onClose: o, maxWidth: "xs", fullWidth: !0, ...a, children: [
534
534
  O,
535
535
  le,
536
536
  de
537
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
538
  }
539
- function jt(t) {
539
+ function Gt(t) {
540
540
  return t.id;
541
541
  }
542
- function Nt(t) {
542
+ function Ht(t) {
543
543
  return t.id;
544
544
  }
545
- function Gt(t) {
545
+ function Yt(t) {
546
546
  return t.id;
547
547
  }
548
- function Ht(t) {
548
+ function Kt(t) {
549
549
  return t.checked;
550
550
  }
551
- function Yt() {
551
+ function Xt() {
552
552
  return /* @__PURE__ */ new Set();
553
553
  }
554
- function Kt(t) {
554
+ function zl(t) {
555
+ const e = Y(16), {
556
+ message: i,
557
+ onDismiss: o,
558
+ AlertProps: n,
559
+ SnackbarProps: c
560
+ } = t;
561
+ let s;
562
+ e[0] !== o ? (s = (h, p) => p !== "clickaway" && o(), e[0] = o, e[1] = s) : s = e[1];
563
+ let a;
564
+ e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = {
565
+ position: "static",
566
+ transform: "none"
567
+ }, e[2] = a) : a = e[2];
568
+ const r = i.severity ?? "info";
569
+ let f;
570
+ e[3] !== i.title ? (f = /* @__PURE__ */ l(at, { children: i.title }), e[3] = i.title, e[4] = f) : f = e[4];
571
+ let m;
572
+ e[5] !== n || e[6] !== i.action || e[7] !== i.content || e[8] !== o || e[9] !== r || e[10] !== f ? (m = /* @__PURE__ */ U(et, { severity: r, action: i.action, onClose: o, ...n, children: [
573
+ f,
574
+ i.content
575
+ ] }), e[5] = n, e[6] = i.action, e[7] = i.content, e[8] = o, e[9] = r, e[10] = f, e[11] = m) : m = e[11];
576
+ let d;
577
+ return e[12] !== c || e[13] !== s || e[14] !== m ? (d = /* @__PURE__ */ l(ct, { open: !0, autoHideDuration: 5e3, onClose: s, sx: a, ...c, children: m }), e[12] = c, e[13] = s, e[14] = m, e[15] = d) : d = e[15], d;
578
+ }
579
+ function qt(t) {
555
580
  const e = Y(3);
556
581
  let i;
557
582
  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
583
  let o;
559
584
  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;
560
585
  }
561
- function Xt(t) {
586
+ function Qt(t) {
562
587
  const e = Y(3);
563
588
  let i;
564
589
  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
590
  let o;
566
591
  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;
567
592
  }
568
- function qt(t) {
593
+ function Jt(t) {
569
594
  const e = Y(4);
570
595
  let i, o;
571
596
  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]);
572
597
  let n;
573
- return e[2] !== t ? (n = /* @__PURE__ */ W("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: [
598
+ return e[2] !== t ? (n = /* @__PURE__ */ U("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: [
574
599
  i,
575
600
  o
576
601
  ] }), e[2] = t, e[3] = n) : n = e[3], n;
@@ -627,7 +652,7 @@ const ve = {
627
652
  }
628
653
  }
629
654
  }
630
- }, Qt = {
655
+ }, el = {
631
656
  "m-km": {
632
657
  short: "m-km"
633
658
  },
@@ -655,17 +680,17 @@ const ve = {
655
680
  feet: {
656
681
  short: "ft"
657
682
  }
658
- }, Jt = {
683
+ }, tl = {
659
684
  distance: {
660
- icon: /* @__PURE__ */ l(Kt, {})
685
+ icon: /* @__PURE__ */ l(qt, {})
661
686
  },
662
687
  buffer: {
663
- icon: /* @__PURE__ */ l(Xt, {})
688
+ icon: /* @__PURE__ */ l(Qt, {})
664
689
  },
665
690
  area: {
666
- icon: /* @__PURE__ */ l(qt, {})
691
+ icon: /* @__PURE__ */ l(Jt, {})
667
692
  }
668
- }, me = {
693
+ }, fe = {
669
694
  container: {
670
695
  display: "flex",
671
696
  flexDirection: "row",
@@ -731,7 +756,7 @@ const ve = {
731
756
  }) => t.primary.main,
732
757
  backgroundColor: ({
733
758
  palette: t
734
- }) => rt(t.primary.main, 0.08)
759
+ }) => dt(t.primary.main, 0.08)
735
760
  },
736
761
  modal: {
737
762
  toggle: {
@@ -790,8 +815,8 @@ const ve = {
790
815
  }
791
816
  }
792
817
  }
793
- }, el = {};
794
- function Ul(t) {
818
+ }, ll = {};
819
+ function Vl(t) {
795
820
  const e = Y(44), {
796
821
  enabled: i,
797
822
  actionProps: o,
@@ -800,13 +825,13 @@ function Ul(t) {
800
825
  modesMapping: s,
801
826
  unitsMapping: a,
802
827
  modeSelected: r,
803
- PaperProps: m,
804
- units: f,
828
+ PaperProps: f,
829
+ units: m,
805
830
  unitSelected: d,
806
831
  onActionToggle: h,
807
- onChangeMode: u,
832
+ onChangeMode: p,
808
833
  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;
834
+ } = t, C = n === void 0 ? ve : n, y = s === void 0 ? tl : s, $ = a === void 0 ? el : a, B = f === void 0 ? ll : f;
810
835
  let M, x;
811
836
  e[0] !== B ? ({
812
837
  sx: x,
@@ -817,15 +842,15 @@ function Ul(t) {
817
842
  const k = b;
818
843
  let g;
819
844
  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;
845
+ const T = g, A = (r ?? "") in T;
821
846
  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];
847
+ e[8] !== T || e[9] !== A || e[10] !== r ? (S = A ? r : Object.keys(T)[0], e[8] = T, e[9] = A, e[10] = r, e[11] = S) : S = e[11];
848
+ const u = S, D = T[u], I = m[u];
824
849
  let P;
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];
850
+ e[12] !== u || e[13] !== I || e[14] !== m ? (P = Object.keys(m).length >= 1 ? m : {
851
+ [u]: I.slice(0, 1)
852
+ }, e[12] = u, e[13] = I, e[14] = m, e[15] = P) : P = e[15];
853
+ const w = P[u];
829
854
  let R;
830
855
  if (e[16] !== w || e[17] !== $) {
831
856
  let z;
@@ -835,42 +860,42 @@ function Ul(t) {
835
860
  }), e[19] = $, e[20] = z) : z = e[20], R = w.map(z), e[16] = w, e[17] = $, e[18] = R;
836
861
  } else
837
862
  R = e[18];
838
- const U = R;
863
+ const W = R;
839
864
  let O;
840
865
  e[21] !== x ? (O = {
841
- ...me.container,
866
+ ...fe.container,
842
867
  ...x
843
868
  }, e[21] = x, e[22] = O) : O = e[22];
844
869
  const v = C?.action, E = D?.icon;
845
870
  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];
871
+ e[23] !== o || e[24] !== i || e[25] !== k || e[26] !== v || e[27] !== E ? (V = /* @__PURE__ */ l(ol, { 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
872
  const N = C?.options;
848
873
  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];
874
+ e[29] !== W || e[30] !== T || e[31] !== u || e[32] !== p || e[33] !== L || e[34] !== N || e[35] !== d ? (Z = /* @__PURE__ */ l(nl, { labels: N, modes: T, modeSelected: u, units: W, unitSelected: d, onChangeMode: p, onChangeUnit: L }), e[29] = W, e[30] = T, e[31] = u, e[32] = p, e[33] = L, e[34] = N, e[35] = d, e[36] = Z) : Z = e[36];
850
875
  let j;
851
- e[37] !== V || e[38] !== Z ? (j = /* @__PURE__ */ W(ne, { children: [
876
+ e[37] !== V || e[38] !== Z ? (j = /* @__PURE__ */ U(ne, { children: [
852
877
  V,
853
878
  Z
854
879
  ] }), e[37] = V, e[38] = Z, e[39] = j) : j = e[39];
855
880
  let F;
856
881
  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;
857
882
  }
858
- function tl(t) {
883
+ function ol(t) {
859
884
  const e = Y(12), {
860
885
  actionProps: i,
861
886
  labels: o,
862
887
  enabled: n,
863
888
  children: c,
864
889
  onActionToggle: s
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];
890
+ } = t, a = n ? "active" : "inactive", r = o?.tooltip?.[a] ?? ve.action.tooltip[a], f = i?.TooltipProps;
891
+ let m;
892
+ e[0] !== n || e[1] !== s ? (m = () => s(!n), e[0] = n, e[1] = s, e[2] = m) : m = e[2];
868
893
  let d;
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];
894
+ e[3] !== r || e[4] !== c || e[5] !== n || e[6] !== m ? (d = /* @__PURE__ */ l(Pe, { value: "toggle", sx: fe.actions.icon, onClick: m, "aria-label": r, selected: n, children: c }), e[3] = r, e[4] = c, e[5] = n, e[6] = m, e[7] = d) : d = e[7];
870
895
  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;
896
+ return e[8] !== r || e[9] !== f || e[10] !== d ? (h = /* @__PURE__ */ l(ke, { title: r, placement: "right", ...f, children: d }), e[8] = r, e[9] = f, e[10] = d, e[11] = h) : h = e[11], h;
872
897
  }
873
- function ll(t) {
898
+ function nl(t) {
874
899
  const e = Y(41), {
875
900
  modes: i,
876
901
  modeSelected: o,
@@ -879,24 +904,24 @@ function ll(t) {
879
904
  labels: s,
880
905
  onChangeMode: a,
881
906
  onChangeUnit: r
882
- } = t, [m, f] = ae(null), [d, h] = ae(!1);
883
- let u;
884
- e[0] !== i ? (u = Object.values(i), e[0] = i, e[1] = u) : u = e[1];
885
- const L = u;
907
+ } = t, [f, m] = ae(null), [d, h] = ae(!1);
908
+ let p;
909
+ e[0] !== i ? (p = Object.values(i), e[0] = i, e[1] = p) : p = e[1];
910
+ const L = p;
886
911
  let C;
887
912
  e[2] !== n ? (C = Object.values(n), e[2] = n, e[3] = C) : C = e[3];
888
913
  const y = C;
889
914
  if (!(L.length > 1 || y.length > 1))
890
915
  return null;
891
- const B = !!m;
916
+ const B = !!f;
892
917
  let M;
893
918
  e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = (z) => {
894
- f(z.currentTarget);
919
+ m(z.currentTarget);
895
920
  }, e[4] = M) : M = e[4];
896
921
  const x = M;
897
922
  let b;
898
923
  e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = () => {
899
- f(null);
924
+ m(null);
900
925
  }, e[5] = b) : b = e[5];
901
926
  const k = b;
902
927
  let g;
@@ -904,38 +929,38 @@ function ll(t) {
904
929
  z.preventDefault(), a(G.value), k();
905
930
  }, e[6] = a, e[7] = g) : g = e[7];
906
931
  const T = g;
907
- let I;
908
- e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (I = () => {
932
+ let A;
933
+ e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = () => {
909
934
  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 = () => {
935
+ }, e[8] = A) : A = e[8];
936
+ const S = A;
937
+ let u;
938
+ e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = () => {
914
939
  h(!1);
915
- }, e[9] = p) : p = e[9];
916
- const D = p;
917
- let A;
918
- e[10] !== r ? (A = (z) => {
940
+ }, e[9] = u) : u = e[9];
941
+ const D = u;
942
+ let I;
943
+ e[10] !== r ? (I = (z) => {
919
944
  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;
922
- let U;
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;
945
+ }, e[10] = r, e[11] = I) : I = e[11];
946
+ const P = I, _ = s?.mode?.title ?? ve.options.mode.title, w = s?.units?.title ?? ve.options.units.title, R = L.length > 1 && y.length > 1;
947
+ let W;
948
+ e[12] !== c || e[13] !== n ? (W = n.find((z) => z.value === c) ?? n[0], e[12] = c, e[13] = n, e[14] = W) : W = e[14];
949
+ const O = W;
925
950
  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];
951
+ e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ l(be, { sx: fe.options.icon, onClick: x, children: /* @__PURE__ */ l(Mt, {}) }), e[15] = v) : v = e[15];
927
952
  let E;
928
953
  e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = {
929
954
  "aria-labelledby": "basic-button",
930
- sx: me.options.menu
955
+ sx: fe.options.menu
931
956
  }, e[16] = E) : E = e[16];
932
957
  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: _ }),
958
+ e[17] !== T || e[18] !== s?.mode?.options || e[19] !== o || e[20] !== _ || e[21] !== L ? (V = L.length > 1 && /* @__PURE__ */ U(me, { children: [
959
+ /* @__PURE__ */ l(se, { variant: "subtitle2", color: "text.secondary", sx: fe.options.title, children: _ }),
935
960
  L.map((z) => {
936
961
  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 }) }),
962
+ return /* @__PURE__ */ U(Ve, { onClick: (q) => T(q, z), selected: z.value === o, children: [
963
+ /* @__PURE__ */ l($e, { sx: fe.options.icons, children: /* @__PURE__ */ l(Re, { children: z.icon }) }),
939
964
  /* @__PURE__ */ l(Ce, { children: X })
940
965
  ] }, z.value);
941
966
  })
@@ -943,26 +968,26 @@ function ll(t) {
943
968
  let N;
944
969
  e[23] !== R ? (N = R && /* @__PURE__ */ l(he, {}), e[23] = R, e[24] = N) : N = e[24];
945
970
  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: [
971
+ 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__ */ U(me, { children: [
972
+ /* @__PURE__ */ U(Ve, { onClick: S, children: [
948
973
  /* @__PURE__ */ l(Ce, { children: w }),
949
- /* @__PURE__ */ l(se, { variant: "caption", fontWeight: 500, sx: me.options.tag, children: O.short })
974
+ /* @__PURE__ */ l(se, { variant: "caption", fontWeight: 500, sx: fe.options.tag, children: O.short })
950
975
  ] }),
951
- /* @__PURE__ */ l(ol, { open: d, labels: s, units: n, unitSelectedValue: O, onClose: D, onSubmit: P })
976
+ /* @__PURE__ */ l(il, { open: d, labels: s, units: n, unitSelectedValue: O, onClose: D, onSubmit: P })
952
977
  ] }), 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];
953
978
  let j;
954
- e[33] !== V || e[34] !== N || e[35] !== Z ? (j = /* @__PURE__ */ W("div", { children: [
979
+ e[33] !== V || e[34] !== N || e[35] !== Z ? (j = /* @__PURE__ */ U("div", { children: [
955
980
  V,
956
981
  N,
957
982
  Z
958
983
  ] }), e[33] = V, e[34] = N, e[35] = Z, e[36] = j) : j = e[36];
959
984
  let F;
960
- return e[37] !== m || e[38] !== B || e[39] !== j ? (F = /* @__PURE__ */ W(fe, { children: [
985
+ return e[37] !== f || e[38] !== B || e[39] !== j ? (F = /* @__PURE__ */ U(me, { children: [
961
986
  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;
987
+ /* @__PURE__ */ l(ft, { id: "measurement-menu", anchorEl: f, open: B, onClose: k, MenuListProps: E, children: j })
988
+ ] }), e[37] = f, e[38] = B, e[39] = j, e[40] = F) : F = e[40], F;
964
989
  }
965
- function ol(t) {
990
+ function il(t) {
966
991
  const e = Y(48), {
967
992
  open: i,
968
993
  labels: o,
@@ -970,19 +995,19 @@ function ol(t) {
970
995
  unitSelectedValue: c,
971
996
  onClose: s,
972
997
  onSubmit: a
973
- } = t, [r, m] = ae("metric");
974
- let f;
998
+ } = t, [r, f] = ae("metric");
999
+ let m;
975
1000
  if (e[0] !== r || e[1] !== n) {
976
1001
  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;
1002
+ e[3] !== r ? (v = (E) => E.system === r, e[3] = r, e[4] = v) : v = e[4], m = n.filter(v), e[0] = r, e[1] = n, e[2] = m;
978
1003
  } else
979
- f = e[2];
980
- const d = f;
1004
+ m = e[2];
1005
+ const d = m;
981
1006
  let h;
982
1007
  e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = (v, E) => {
983
- m(E);
1008
+ f(E);
984
1009
  }, 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];
1010
+ const p = 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
1011
  let x;
987
1012
  e[6] !== a ? (x = {
988
1013
  component: "form",
@@ -997,55 +1022,55 @@ function ol(t) {
997
1022
  let k;
998
1023
  e[9] !== s ? (k = /* @__PURE__ */ l(be, { onClick: s, children: b }), e[9] = s, e[10] = k) : k = e[10];
999
1024
  let g;
1000
- e[11] !== y || e[12] !== k ? (g = /* @__PURE__ */ W(Xe, { sx: me.options.modal.title, children: [
1025
+ e[11] !== y || e[12] !== k ? (g = /* @__PURE__ */ U(Xe, { sx: fe.options.modal.title, children: [
1001
1026
  y,
1002
1027
  k
1003
1028
  ] }), e[11] = y, e[12] = k, e[13] = g) : g = e[13];
1004
1029
  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];
1030
+ e[14] !== $ ? (T = /* @__PURE__ */ l(se, { sx: fe.options.modal.subtitle, children: $ }), e[14] = $, e[15] = T) : T = e[15];
1031
+ let A;
1032
+ e[16] !== L.metric.title ? (A = /* @__PURE__ */ l(Pe, { value: "metric", children: L.metric.title }), e[16] = L.metric.title, e[17] = A) : A = e[17];
1008
1033
  let S;
1009
1034
  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,
1035
+ let u;
1036
+ e[20] !== r || e[21] !== A || e[22] !== S ? (u = /* @__PURE__ */ U(He, { color: "primary", value: r, exclusive: !0, fullWidth: !0, onChange: p, "aria-label": "system", sx: fe.options.modal.toggle, children: [
1037
+ A,
1013
1038
  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;
1039
+ ] }), e[20] = r, e[21] = A, e[22] = S, e[23] = u) : u = e[23];
1040
+ const D = M?.value, I = M?.value;
1016
1041
  let P;
1017
1042
  if (e[24] !== d || e[25] !== C) {
1018
1043
  let v;
1019
1044
  e[27] !== C ? (v = (E) => {
1020
1045
  const V = C[E.value];
1021
- return /* @__PURE__ */ l(ct, { value: E.value, control: /* @__PURE__ */ l(dt, {}), label: V }, E.value);
1046
+ return /* @__PURE__ */ l(mt, { value: E.value, control: /* @__PURE__ */ l(pt, {}), label: V }, E.value);
1022
1047
  }, e[27] = C, e[28] = v) : v = e[28], P = d.map(v), e[24] = d, e[25] = C, e[26] = P;
1023
1048
  } else
1024
1049
  P = e[26];
1025
1050
  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];
1051
+ e[29] !== I || e[30] !== P ? (_ = /* @__PURE__ */ l(ut, { "aria-labelledby": "unit-value", defaultValue: I, name: "unit-value", sx: fe.options.modal.optionsGroup, children: P }), e[29] = I, e[30] = P, e[31] = _) : _ = e[31];
1027
1052
  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];
1053
+ e[32] !== D || e[33] !== _ ? (w = /* @__PURE__ */ l(ht, { children: _ }, D), e[32] = D, e[33] = _, e[34] = w) : w = e[34];
1029
1054
  let R;
1030
- e[35] !== p || e[36] !== w || e[37] !== T ? (R = /* @__PURE__ */ W(Qe, { sx: me.options.modal.content, children: [
1055
+ e[35] !== u || e[36] !== w || e[37] !== T ? (R = /* @__PURE__ */ U(Qe, { sx: fe.options.modal.content, children: [
1031
1056
  T,
1032
- p,
1057
+ u,
1033
1058
  w
1034
- ] }), e[35] = p, e[36] = w, e[37] = T, e[38] = R) : R = e[38];
1035
- let U;
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];
1059
+ ] }), e[35] = u, e[36] = w, e[37] = T, e[38] = R) : R = e[38];
1060
+ let W;
1061
+ e[39] !== B ? (W = /* @__PURE__ */ l(Je, { sx: fe.options.modal.actions, children: /* @__PURE__ */ l(_e, { variant: "contained", type: "submit", children: B }) }), e[39] = B, e[40] = W) : W = e[40];
1037
1062
  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: [
1063
+ return e[41] !== s || e[42] !== i || e[43] !== R || e[44] !== W || e[45] !== x || e[46] !== g ? (O = /* @__PURE__ */ U(Ke, { open: i, component: ne, onClose: s, maxWidth: "xs", PaperProps: x, children: [
1039
1064
  g,
1040
1065
  R,
1041
- U
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;
1066
+ W
1067
+ ] }), e[41] = s, e[42] = i, e[43] = R, e[44] = W, e[45] = x, e[46] = g, e[47] = O) : O = e[47], O;
1043
1068
  }
1044
- const nl = {
1069
+ const sl = {
1045
1070
  enabled: "Show your current location",
1046
1071
  disabled: "Location unavailable"
1047
- }, il = "geolocation";
1048
- function Wl(t) {
1072
+ }, rl = "geolocation";
1073
+ function Fl(t) {
1049
1074
  const e = Y(27), {
1050
1075
  disabled: i,
1051
1076
  labels: o,
@@ -1054,14 +1079,14 @@ function Wl(t) {
1054
1079
  watch: s,
1055
1080
  onChange: a,
1056
1081
  onError: r
1057
- } = t, m = we(null), f = "geolocation" in navigator, [d, h] = xt(sl, f);
1058
- let u;
1059
- e[0] !== r ? (u = (_) => {
1082
+ } = t, f = we(null), m = "geolocation" in navigator, [d, h] = _t(al, m);
1083
+ let p;
1084
+ e[0] !== r ? (p = (_) => {
1060
1085
  r?.(_);
1061
- }, e[0] = r, e[1] = u) : u = e[1];
1062
- const L = St(u);
1086
+ }, e[0] = r, e[1] = p) : p = e[1];
1087
+ const L = Ct(p);
1063
1088
  let C;
1064
- e[2] !== L ? (C = () => (f && navigator.permissions.query({
1089
+ e[2] !== L ? (C = () => (m && navigator.permissions.query({
1065
1090
  name: "geolocation"
1066
1091
  }).then((_) => {
1067
1092
  h(_.state === "granted" ? "granted" : "denied"), _.onchange = () => {
@@ -1070,10 +1095,10 @@ function Wl(t) {
1070
1095
  }).catch((_) => {
1071
1096
  h("denied"), L(_);
1072
1097
  }), () => {
1073
- m.current && navigator.geolocation.clearWatch(m.current);
1098
+ f.current && navigator.geolocation.clearWatch(f.current);
1074
1099
  }), e[2] = L, e[3] = C) : C = e[3];
1075
1100
  let y;
1076
- e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = [f], e[4] = y) : y = e[4], et(C, y);
1101
+ e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = [m], e[4] = y) : y = e[4], tt(C, y);
1077
1102
  let $;
1078
1103
  e[5] !== a ? ($ = (_) => {
1079
1104
  a(_.coords);
@@ -1086,23 +1111,23 @@ function Wl(t) {
1086
1111
  const x = M;
1087
1112
  let b;
1088
1113
  e[9] !== x || e[10] !== B || e[11] !== s ? (b = () => {
1089
- if (m.current && navigator.geolocation.clearWatch(m.current), s) {
1090
- m.current = navigator.geolocation.watchPosition(B, x);
1114
+ if (f.current && navigator.geolocation.clearWatch(f.current), s) {
1115
+ f.current = navigator.geolocation.watchPosition(B, x);
1091
1116
  return;
1092
1117
  }
1093
1118
  navigator.geolocation.getCurrentPosition(B, x);
1094
1119
  }, 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];
1120
+ const k = b, T = (o?.tooltip ?? sl)[d ? "enabled" : "disabled"], A = o?.ariaLabel ?? rl, S = !m || i;
1121
+ let u;
1122
+ e[13] !== d ? (u = d ? /* @__PURE__ */ l(At, {}) : /* @__PURE__ */ l(It, {}), e[13] = d, e[14] = u) : u = e[14];
1098
1123
  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];
1124
+ e[15] !== k || e[16] !== u || e[17] !== A || e[18] !== S ? (D = /* @__PURE__ */ l(be, { onClick: k, "aria-label": A, disabled: S, children: u }), e[15] = k, e[16] = u, e[17] = A, e[18] = S, e[19] = D) : D = e[19];
1125
+ let I;
1126
+ e[20] !== c || e[21] !== D || e[22] !== T ? (I = /* @__PURE__ */ l(ke, { arrow: !0, placement: "right", title: T, ...c, children: D }), e[20] = c, e[21] = D, e[22] = T, e[23] = I) : I = e[23];
1102
1127
  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;
1128
+ return e[24] !== n || e[25] !== I ? (P = /* @__PURE__ */ l(Me, { ...n, children: I }), e[24] = n, e[25] = I, e[26] = P) : P = e[26], P;
1104
1129
  }
1105
- function sl(t, e) {
1130
+ function al(t, e) {
1106
1131
  return e === "granted";
1107
1132
  }
1108
1133
  const Ee = {
@@ -1137,7 +1162,7 @@ const Ee = {
1137
1162
  position: "absolute"
1138
1163
  }
1139
1164
  };
1140
- function zl(t) {
1165
+ function Zl(t) {
1141
1166
  const e = Y(40), {
1142
1167
  zoom: i,
1143
1168
  disabled: o,
@@ -1146,16 +1171,16 @@ function zl(t) {
1146
1171
  isLoading: s,
1147
1172
  maxZoom: a,
1148
1173
  minZoom: r,
1149
- PaperProps: m,
1150
- ResetViewProps: f,
1174
+ PaperProps: f,
1175
+ ResetViewProps: m,
1151
1176
  showZoom: d,
1152
1177
  onChange: h,
1153
- onReset: u
1178
+ onReset: p
1154
1179
  } = 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
1180
  let B;
1156
- e[0] !== f ? (B = f === void 0 ? {
1157
- Icon: It
1158
- } : f, e[0] = f, e[1] = B) : B = e[1];
1181
+ e[0] !== m ? (B = m === void 0 ? {
1182
+ Icon: Lt
1183
+ } : m, e[0] = m, e[1] = B) : B = e[1];
1159
1184
  const M = B, x = d === void 0 ? !0 : d;
1160
1185
  let b;
1161
1186
  e[2] !== y || e[3] !== h || e[4] !== i ? (b = () => {
@@ -1168,111 +1193,111 @@ function zl(t) {
1168
1193
  const E = Math.max($, i - 1);
1169
1194
  h(E);
1170
1195
  }, 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");
1196
+ const T = g, A = Math.floor(i), S = L === "vertical" ? "horizontal" : "vertical";
1197
+ let u = L === "vertical" ? "column" : "row";
1198
+ C && (u = u + "-reverse");
1174
1199
  let D;
1175
- e[10] !== p ? (D = {
1200
+ e[10] !== u ? (D = {
1176
1201
  ...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, {}) }),
1202
+ flexDirection: u
1203
+ }, e[10] = u, e[11] = D) : D = e[11];
1204
+ let I;
1205
+ e[12] !== M || e[13] !== o || e[14] !== S || e[15] !== p ? (I = p && /* @__PURE__ */ U(me, { children: [
1206
+ /* @__PURE__ */ l(be, { onClick: p, "aria-label": "Reset action", disabled: o, children: /* @__PURE__ */ l(M.Icon, {}) }),
1182
1207
  /* @__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];
1208
+ ] }), e[12] = M, e[13] = o, e[14] = S, e[15] = p, e[16] = I) : I = e[16];
1184
1209
  let P;
1185
- e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ l(At, {}), e[17] = P) : P = e[17];
1210
+ e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ l(Dt, {}), e[17] = P) : P = e[17];
1186
1211
  let _;
1187
1212
  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
1213
  let w;
1189
1214
  e[21] !== S ? (w = /* @__PURE__ */ l(he, { orientation: S, flexItem: !0 }), e[21] = S, e[22] = w) : w = e[22];
1190
1215
  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 })
1216
+ e[23] !== A || e[24] !== S || e[25] !== s || e[26] !== x ? (R = x && /* @__PURE__ */ U(me, { children: [
1217
+ /* @__PURE__ */ U(ne, { sx: Ee.zoom, children: [
1218
+ /* @__PURE__ */ l(se, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: A }),
1219
+ s && /* @__PURE__ */ l(gt, { sx: Ee.circularProgress, variant: "indeterminate", size: 24 })
1195
1220
  ] }),
1196
1221
  /* @__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];
1198
- let U;
1199
- e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ l(Lt, {}), e[28] = U) : U = e[28];
1222
+ ] }), e[23] = A, e[24] = S, e[25] = s, e[26] = x, e[27] = R) : R = e[27];
1223
+ let W;
1224
+ e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = /* @__PURE__ */ l(Pt, {}), e[28] = W) : W = e[28];
1200
1225
  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];
1226
+ e[29] !== T || e[30] !== o ? (O = /* @__PURE__ */ l(be, { onClick: T, "aria-label": "Decrease zoom", disabled: o, children: W }), e[29] = T, e[30] = o, e[31] = O) : O = e[31];
1202
1227
  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,
1228
+ return e[32] !== f || e[33] !== D || e[34] !== I || e[35] !== _ || e[36] !== w || e[37] !== R || e[38] !== O ? (v = /* @__PURE__ */ U(Me, { sx: D, ...f, children: [
1229
+ I,
1205
1230
  _,
1206
1231
  w,
1207
1232
  R,
1208
1233
  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;
1234
+ ] }), e[32] = f, e[33] = D, e[34] = I, e[35] = _, e[36] = w, e[37] = R, e[38] = O, e[39] = v) : v = e[39], v;
1210
1235
  }
1211
- function rl(t) {
1236
+ function cl(t) {
1212
1237
  const e = Y(4), {
1213
1238
  length: i
1214
1239
  } = t, o = i === void 0 ? 5 : i;
1215
1240
  let n;
1216
- e[0] !== o ? (n = new Array(o).fill(null).map(al), e[0] = o, e[1] = n) : n = e[1];
1241
+ e[0] !== o ? (n = new Array(o).fill(null).map(dl), e[0] = o, e[1] = n) : n = e[1];
1217
1242
  let c;
1218
1243
  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;
1219
1244
  }
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 }),
1245
+ function dl(t, e) {
1246
+ return /* @__PURE__ */ U(Te, { container: !0, spacing: 1, children: [
1247
+ /* @__PURE__ */ U(Te, { container: !0, item: !0, direction: "row", justifyContent: "space-between", alignItems: "center", children: [
1248
+ /* @__PURE__ */ l(Oe, { width: ul(e) ? 72 : 48, height: 20 }),
1224
1249
  /* @__PURE__ */ l(Oe, { width: 48, height: 8 })
1225
1250
  ] }),
1226
1251
  /* @__PURE__ */ l(Oe, { sx: {
1227
- height: ml,
1228
- marginTop: dl,
1229
- marginBottom: cl,
1252
+ height: pl,
1253
+ marginTop: ml,
1254
+ marginBottom: fl,
1230
1255
  width: "100%"
1231
1256
  } })
1232
1257
  ] }, `skeleton-${e}`);
1233
1258
  }
1234
- function cl(t) {
1259
+ function fl(t) {
1235
1260
  const {
1236
1261
  spacing: e
1237
1262
  } = t;
1238
1263
  return e(1.75);
1239
1264
  }
1240
- function dl(t) {
1265
+ function ml(t) {
1241
1266
  const {
1242
1267
  spacing: e
1243
1268
  } = t;
1244
1269
  return e(1.25);
1245
1270
  }
1246
- function ml(t) {
1271
+ function pl(t) {
1247
1272
  const {
1248
1273
  spacing: e
1249
1274
  } = t;
1250
1275
  return e(0.5);
1251
1276
  }
1252
- function fl(t) {
1277
+ function ul(t) {
1253
1278
  return t % 2 === 1;
1254
1279
  }
1255
- function pl(t) {
1280
+ function hl(t) {
1256
1281
  const e = Y(13), {
1257
1282
  title: i,
1258
1283
  body: o,
1259
1284
  severity: n
1260
1285
  } = 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;
1261
1286
  if (n) {
1262
- let f;
1263
- e[0] !== s ? (f = /* @__PURE__ */ l(Ne, { children: s }), e[0] = s, e[1] = f) : f = e[1];
1287
+ let m;
1288
+ e[0] !== s ? (m = /* @__PURE__ */ l(Ne, { children: s }), e[0] = s, e[1] = m) : m = e[1];
1264
1289
  let d;
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;
1290
+ return e[2] !== n || e[3] !== m || e[4] !== c ? (d = /* @__PURE__ */ l(et, { title: c, severity: n, children: m }), e[2] = n, e[3] = m, e[4] = c, e[5] = d) : d = e[5], d;
1266
1291
  }
1267
1292
  let a;
1268
1293
  e[6] !== c ? (a = c && /* @__PURE__ */ l(se, { variant: "body2", children: c }), e[6] = c, e[7] = a) : a = e[7];
1269
1294
  let r;
1270
1295
  e[8] !== s ? (r = /* @__PURE__ */ l(Ne, { color: "textSecondary", children: s }), e[8] = s, e[9] = r) : r = e[9];
1271
- let m;
1272
- return e[10] !== a || e[11] !== r ? (m = /* @__PURE__ */ W(ne, { children: [
1296
+ let f;
1297
+ return e[10] !== a || e[11] !== r ? (f = /* @__PURE__ */ U(ne, { children: [
1273
1298
  a,
1274
1299
  r
1275
- ] }), e[10] = a, e[11] = r, e[12] = m) : m = e[12], m;
1300
+ ] }), e[10] = a, e[11] = r, e[12] = f) : f = e[12], f;
1276
1301
  }
1277
1302
  function Ne(t) {
1278
1303
  const e = Y(5), {
@@ -1291,7 +1316,7 @@ function Ne(t) {
1291
1316
  let n;
1292
1317
  return e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ l(ne, { mt: -1 }), e[4] = n) : n = e[4], n;
1293
1318
  }
1294
- function ul(t) {
1319
+ function gl(t) {
1295
1320
  const e = Y(2);
1296
1321
  let i;
1297
1322
  e[0] !== t ? (i = () => t ? 1 : 0, e[0] = t, e[1] = i) : i = e[1];
@@ -1336,11 +1361,11 @@ const Ge = {
1336
1361
  opacity: 0.5,
1337
1362
  pointerEvents: "none"
1338
1363
  }
1339
- }, hl = {
1364
+ }, bl = {
1340
1365
  showMore: "Show More",
1341
1366
  showLess: "Show Less"
1342
- }, gl = [];
1343
- function Vl(t) {
1367
+ }, vl = [];
1368
+ function jl(t) {
1344
1369
  const e = Y(32), {
1345
1370
  data: i,
1346
1371
  isLoading: o,
@@ -1349,59 +1374,59 @@ function Vl(t) {
1349
1374
  showDivider: s,
1350
1375
  selectedItemId: a,
1351
1376
  tooltipProps: r,
1352
- onExpand: m,
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);
1377
+ onExpand: f,
1378
+ onItemClick: m
1379
+ } = t, d = i === void 0 ? vl : i, h = o === void 0 ? !1 : o, p = n === void 0 ? 5 : n, L = c === void 0 ? bl : c, C = s === void 0 ? !0 : s, [y, $] = ae(!1), B = gl(h);
1355
1380
  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];
1381
+ e[0] !== d || e[1] !== p || e[2] !== y ? (M = y ? d : d.slice(0, p), e[0] = d, e[1] = p, e[2] = y, e[3] = M) : M = e[3];
1357
1382
  const x = M;
1358
1383
  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];
1384
+ e[4] !== f || e[5] !== y ? (b = () => {
1385
+ $(!y), f?.(y);
1386
+ }, e[4] = f, e[5] = y, e[6] = b) : b = e[6];
1362
1387
  const k = b;
1363
1388
  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;
1389
+ let u;
1390
+ return e[7] !== p ? (u = /* @__PURE__ */ l(cl, { length: p }), e[7] = p, e[8] = u) : u = e[8], u;
1366
1391
  }
1367
1392
  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;
1393
+ let u;
1394
+ return e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ l(hl, {}), e[9] = u) : u = e[9], u;
1370
1395
  }
1371
1396
  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) => {
1397
+ if (e[10] !== x || e[11] !== m || e[12] !== a || e[13] !== C || e[14] !== r) {
1398
+ let u;
1399
+ e[16] !== m || e[17] !== a || e[18] !== C || e[19] !== r ? (u = (D) => /* @__PURE__ */ l(Rt, { followCursor: !1, placement: "top", arrow: !0, title: D.tooltipTitle, enterDelay: 10, ...r, children: (I) => {
1375
1400
  const {
1376
1401
  ref: P
1377
- } = A;
1378
- return /* @__PURE__ */ l(ht, { ref: P, role: "listitem", sx: {
1402
+ } = I;
1403
+ return /* @__PURE__ */ l(bt, { ref: P, role: "listitem", sx: {
1379
1404
  ...C && Se.showDivider,
1380
- ...f && Se.clickable,
1405
+ ...m && Se.clickable,
1381
1406
  ...a === D.id && Se.selected,
1382
1407
  ...D.disabled && Se.disabled
1383
1408
  }, onClick: () => {
1384
- D.disabled || f?.(D);
1385
- }, children: /* @__PURE__ */ W(Te, { container: !0, alignItems: "center", children: [
1409
+ D.disabled || m?.(D);
1410
+ }, children: /* @__PURE__ */ U(Te, { container: !0, alignItems: "center", children: [
1386
1411
  /* @__PURE__ */ l(Te, { item: !0, xs: 8, children: /* @__PURE__ */ l(Ce, { primary: D.label, sx: Se.label }) }),
1387
1412
  /* @__PURE__ */ l(Te, { item: !0, xs: 4, children: /* @__PURE__ */ l(Ce, { primary: D.value, sx: Se.value }) })
1388
1413
  ] }) });
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;
1414
+ } }, D.id), e[16] = m, e[17] = a, e[18] = C, e[19] = r, e[20] = u) : u = e[20], g = x.map(u), e[10] = x, e[11] = m, e[12] = a, e[13] = C, e[14] = r, e[15] = g;
1390
1415
  } else
1391
1416
  g = e[15];
1392
1417
  let T;
1393
1418
  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];
1419
+ let A;
1420
+ e[23] !== d.length || e[24] !== k || e[25] !== L || e[26] !== p || e[27] !== y ? (A = d.length > p && /* @__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] = p, e[27] = y, e[28] = A) : A = e[28];
1396
1421
  let S;
1397
- return e[29] !== I || e[30] !== T ? (S = /* @__PURE__ */ W(fe, { children: [
1422
+ return e[29] !== A || e[30] !== T ? (S = /* @__PURE__ */ U(me, { children: [
1398
1423
  T,
1399
- I
1400
- ] }), e[29] = I, e[30] = T, e[31] = S) : S = e[31], S;
1424
+ A
1425
+ ] }), e[29] = A, e[30] = T, e[31] = S) : S = e[31], S;
1401
1426
  }
1402
- const bl = 288, xe = {
1427
+ const yl = 288, xe = {
1403
1428
  root: {
1404
- width: bl,
1429
+ width: yl,
1405
1430
  overflow: "auto"
1406
1431
  },
1407
1432
  toggle: {
@@ -1500,7 +1525,7 @@ const bl = 288, xe = {
1500
1525
  }) => t.primary.main
1501
1526
  }
1502
1527
  }
1503
- }, vl = {
1528
+ }, xl = {
1504
1529
  toggle: {
1505
1530
  title: "Toggle basemaps controls"
1506
1531
  },
@@ -1511,21 +1536,21 @@ const bl = 288, xe = {
1511
1536
  }
1512
1537
  }
1513
1538
  };
1514
- function yl(t) {
1539
+ function Sl(t) {
1515
1540
  const e = Y(6), {
1516
1541
  isMobile: i,
1517
1542
  labels: o,
1518
1543
  onChangeCollapsed: n
1519
1544
  } = t, c = i === void 0 ? !1 : i;
1520
1545
  let s;
1521
- e[0] !== c || e[1] !== o || e[2] !== n ? (s = c && /* @__PURE__ */ W(fe, { children: [
1546
+ e[0] !== c || e[1] !== o || e[2] !== n ? (s = c && /* @__PURE__ */ U(me, { children: [
1522
1547
  /* @__PURE__ */ l(se, { variant: "caption", flexGrow: 1, children: o.title }),
1523
1548
  /* @__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
1549
  ] }), e[0] = c, e[1] = o, e[2] = n, e[3] = s) : s = e[3];
1525
1550
  let a;
1526
1551
  return e[4] !== s ? (a = /* @__PURE__ */ l(ne, { sx: xe.header, children: s }), e[4] = s, e[5] = a) : a = e[5], a;
1527
1552
  }
1528
- function xl(t) {
1553
+ function _l(t) {
1529
1554
  const e = Y(5), {
1530
1555
  title: i,
1531
1556
  children: o,
@@ -1536,12 +1561,12 @@ function xl(t) {
1536
1561
  let s;
1537
1562
  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];
1538
1563
  let a;
1539
- return e[2] !== o || e[3] !== s ? (a = /* @__PURE__ */ W(fe, { children: [
1564
+ return e[2] !== o || e[3] !== s ? (a = /* @__PURE__ */ U(me, { children: [
1540
1565
  s,
1541
1566
  o
1542
1567
  ] }), e[2] = o, e[3] = s, e[4] = a) : a = e[4], a;
1543
1568
  }
1544
- function Sl(t) {
1569
+ function Cl(t) {
1545
1570
  const e = Y(9), {
1546
1571
  values: i,
1547
1572
  selected: o,
@@ -1551,11 +1576,11 @@ function Sl(t) {
1551
1576
  if (e[0] !== n || e[1] !== o || e[2] !== i) {
1552
1577
  let a;
1553
1578
  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 }),
1579
+ const f = r.id === o;
1580
+ return /* @__PURE__ */ U(ne, { sx: xe.item.container, component: "button", "aria-label": r.label, onClick: () => n(r.id), children: [
1581
+ /* @__PURE__ */ l("img", { src: r.icon, "aria-label": r.label + " icon", "data-active": f }),
1557
1582
  /* @__PURE__ */ l(se, { variant: "caption", sx: {
1558
- ...m && xe.item.selected
1583
+ ...f && xe.item.selected
1559
1584
  }, children: r.label })
1560
1585
  ] }, r.id);
1561
1586
  }, 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;
@@ -1564,7 +1589,7 @@ function Sl(t) {
1564
1589
  let s;
1565
1590
  return e[7] !== c ? (s = /* @__PURE__ */ l(ne, { sx: xe.group, children: c }), e[7] = c, e[8] = s) : s = e[8], s;
1566
1591
  }
1567
- function _l(t, e) {
1592
+ function wl(t, e) {
1568
1593
  const i = t.startsWith("bottom"), o = t.endsWith("right");
1569
1594
  return {
1570
1595
  anchorOrigin: {
@@ -1579,7 +1604,7 @@ function _l(t, e) {
1579
1604
  }
1580
1605
  };
1581
1606
  }
1582
- function Cl(t) {
1607
+ function kl(t) {
1583
1608
  const e = Y(35), {
1584
1609
  ref: i,
1585
1610
  children: o,
@@ -1588,10 +1613,10 @@ function Cl(t) {
1588
1613
  position: s,
1589
1614
  sx: a,
1590
1615
  slotProps: r,
1591
- onChangeCollapsed: m,
1592
- modal: f,
1616
+ onChangeCollapsed: f,
1617
+ modal: m,
1593
1618
  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);
1619
+ } = t, h = c === void 0 ? !1 : c, p = m === void 0 ? !0 : m, L = d === void 0 ? "side" : d, C = we(null), y = we(null);
1595
1620
  let $;
1596
1621
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = (O) => {
1597
1622
  if (y.current?.disconnect(), y.current = null, O && typeof ResizeObserver < "u") {
@@ -1603,18 +1628,18 @@ function Cl(t) {
1603
1628
  if (h) {
1604
1629
  const O = !n;
1605
1630
  let v;
1606
- e[1] !== m ? (v = () => m(!0), e[1] = m, e[2] = v) : v = e[2];
1631
+ e[1] !== f ? (v = () => f(!0), e[1] = f, e[2] = v) : v = e[2];
1607
1632
  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;
1633
+ return e[3] !== o || e[4] !== O || e[5] !== v ? (E = /* @__PURE__ */ l(vt, { anchor: "bottom", open: O, onClose: v, children: o }), e[3] = o, e[4] = O, e[5] = v, e[6] = E) : E = e[6], E;
1609
1634
  }
1610
1635
  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];
1636
+ e[7] !== L || e[8] !== s ? (M = wl(s, L), e[7] = L, e[8] = s, e[9] = M) : M = e[9];
1612
1637
  const {
1613
1638
  anchorOrigin: x,
1614
1639
  transformOrigin: b
1615
1640
  } = M, k = r;
1616
1641
  let g;
1617
- e[10] !== u || e[11] !== k?.paper || e[12] !== k?.root || e[13] !== r ? (g = u ? r : {
1642
+ e[10] !== p || e[11] !== k?.paper || e[12] !== k?.root || e[13] !== r ? (g = p ? r : {
1618
1643
  root: {
1619
1644
  style: {
1620
1645
  pointerEvents: "none"
@@ -1628,18 +1653,18 @@ function Cl(t) {
1628
1653
  ...k?.paper?.style
1629
1654
  }
1630
1655
  }
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;
1656
+ }, e[10] = p, e[11] = k?.paper, e[12] = k?.root, e[13] = r, e[14] = g) : g = e[14];
1657
+ const T = g, A = !n && i != null;
1633
1658
  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;
1659
+ e[15] !== p || e[16] !== f ? (S = p ? () => f(!0) : void 0, e[15] = p, e[16] = f, e[17] = S) : S = e[17];
1660
+ const u = !p, D = !p, I = !p, P = !p, _ = !p, w = !p;
1636
1661
  let R;
1637
1662
  e[18] !== o ? (R = /* @__PURE__ */ l("div", { ref: B, children: o }), e[18] = o, e[19] = R) : R = e[19];
1638
- let U;
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;
1663
+ let W;
1664
+ return e[20] !== x || e[21] !== T || e[22] !== i || e[23] !== a || e[24] !== D || e[25] !== I || e[26] !== P || e[27] !== _ || e[28] !== w || e[29] !== R || e[30] !== A || e[31] !== S || e[32] !== u || e[33] !== b ? (W = /* @__PURE__ */ l(Ye, { action: C, sx: a, anchorEl: i, open: A, onClose: S, hideBackdrop: u, disableScrollLock: D, disableEscapeKeyDown: I, 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] = I, e[26] = P, e[27] = _, e[28] = w, e[29] = R, e[30] = A, e[31] = S, e[32] = u, e[33] = b, e[34] = W) : W = e[34], W;
1640
1665
  }
1641
- const wl = [];
1642
- function Fl(t) {
1666
+ const Tl = [];
1667
+ function Nl(t) {
1643
1668
  const e = Y(54), {
1644
1669
  options: i,
1645
1670
  labels: o,
@@ -1647,28 +1672,28 @@ function Fl(t) {
1647
1672
  selected: c,
1648
1673
  onChange: s,
1649
1674
  TooltipProps: a
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();
1675
+ } = t, r = i === void 0 ? Tl : i, f = n === void 0 ? "bottom-right" : n, m = c === void 0 ? null : c, [d, h] = ae(null), [p, L] = ae(!1), C = we(null), [y, $] = ae(null), B = yt();
1651
1676
  let M;
1652
1677
  e[0] !== B.breakpoints ? (M = B.breakpoints.down("sm"), e[0] = B.breakpoints, e[1] = M) : M = e[1];
1653
- const x = vt(M);
1678
+ const x = xt(M);
1654
1679
  let b;
1655
1680
  e[2] !== o ? (b = o ?? {}, e[2] = o, e[3] = b) : b = e[3];
1656
1681
  let k;
1657
- e[4] !== b ? (k = Be(vl, b), e[4] = b, e[5] = k) : k = e[5];
1682
+ e[4] !== b ? (k = Be(xl, b), e[4] = b, e[5] = k) : k = e[5];
1658
1683
  const g = k;
1659
1684
  let T;
1660
- if (e[6] !== r || e[7] !== f) {
1685
+ if (e[6] !== r || e[7] !== m) {
1661
1686
  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;
1687
+ e[9] !== m ? (oe = (ce) => ce.id === m, e[9] = m, e[10] = oe) : oe = e[10], T = r.find(oe), e[6] = r, e[7] = m, e[8] = T;
1663
1688
  } else
1664
1689
  T = e[8];
1665
- const I = T;
1690
+ const A = T;
1666
1691
  let S;
1667
- e[11] !== r ? (S = Object.groupBy(r, kl), e[11] = r, e[12] = S) : S = e[12];
1668
- const p = S;
1692
+ e[11] !== r ? (S = Object.groupBy(r, Ml), e[11] = r, e[12] = S) : S = e[12];
1693
+ const u = S;
1669
1694
  let D;
1670
- e[13] !== p ? (D = Object.keys(p), e[13] = p, e[14] = D) : D = e[14];
1671
- const A = D.length;
1695
+ e[13] !== u ? (D = Object.keys(u), e[13] = u, e[14] = D) : D = e[14];
1696
+ const I = D.length;
1672
1697
  let P;
1673
1698
  e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = () => {
1674
1699
  h(null), L(!1);
@@ -1682,12 +1707,12 @@ function Fl(t) {
1682
1707
  }, y), () => {
1683
1708
  C.current && clearTimeout(C.current);
1684
1709
  };
1685
- }, R = [y], e[16] = y, e[17] = w, e[18] = R) : (w = e[17], R = e[18]), et(w, R);
1686
- let U;
1687
- e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = () => {
1710
+ }, R = [y], e[16] = y, e[17] = w, e[18] = R) : (w = e[17], R = e[18]), tt(w, R);
1711
+ let W;
1712
+ e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = () => {
1688
1713
  $(null);
1689
- }, e[19] = U) : U = e[19];
1690
- const O = U;
1714
+ }, e[19] = W) : W = e[19];
1715
+ const O = W;
1691
1716
  let v;
1692
1717
  e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = () => {
1693
1718
  $(400);
@@ -1697,12 +1722,12 @@ function Fl(t) {
1697
1722
  e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = (oe) => {
1698
1723
  h(oe.currentTarget), L(!0);
1699
1724
  }, e[21] = V) : V = e[21];
1700
- const N = I?.icon, Z = I?.label ?? "Basemap";
1725
+ const N = A?.icon, Z = A?.label ?? "Basemap";
1701
1726
  let j;
1702
1727
  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
1728
  let F;
1704
1729
  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`;
1730
+ const z = `translate3d(${f.endsWith("right") ? "-8px" : "8px"}, ${f.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
1706
1731
  let G;
1707
1732
  e[29] !== z ? (G = {
1708
1733
  paper: {
@@ -1714,65 +1739,66 @@ function Fl(t) {
1714
1739
  onMouseLeave: E
1715
1740
  }
1716
1741
  }, e[29] = z, e[30] = G) : G = e[30];
1717
- const X = !u;
1742
+ const X = !p;
1718
1743
  let q;
1719
1744
  e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = () => _(), e[31] = q) : q = e[31];
1720
1745
  let J;
1721
1746
  e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (J = () => _(), e[32] = J) : J = e[32];
1722
1747
  let K;
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];
1748
+ e[33] !== x || e[34] !== g.header ? (K = /* @__PURE__ */ l(Sl, { isMobile: x, labels: g.header, onChangeCollapsed: J }), e[33] = x, e[34] = g.header, e[35] = K) : K = e[35];
1724
1749
  let Q;
1725
- e[36] !== p ? (Q = Object.entries(p), e[36] = p, e[37] = Q) : Q = e[37];
1750
+ e[36] !== u ? (Q = Object.entries(u), e[36] = u, e[37] = Q) : Q = e[37];
1726
1751
  let ee;
1727
- e[38] !== A || e[39] !== g.header || e[40] !== s || e[41] !== f || e[42] !== Q ? (ee = Q.map((oe) => {
1752
+ e[38] !== I || e[39] !== g.header || e[40] !== s || e[41] !== m || e[42] !== Q ? (ee = Q.map((oe) => {
1728
1753
  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) => {
1754
+ return /* @__PURE__ */ l(_l, { title: ce + " " + g.header.title, collapsed: I < 2, children: /* @__PURE__ */ l(Cl, { values: ie, selected: m, onChange: (ge) => {
1730
1755
  _(), s(ge);
1731
1756
  } }) }, ce);
1732
- }), e[38] = A, e[39] = g.header, e[40] = s, e[41] = f, e[42] = Q, e[43] = ee) : ee = e[43];
1757
+ }), e[38] = I, e[39] = g.header, e[40] = s, e[41] = m, e[42] = Q, e[43] = ee) : ee = e[43];
1733
1758
  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: [
1759
+ e[44] !== x || e[45] !== f || e[46] !== G || e[47] !== X || e[48] !== K || e[49] !== ee ? (te = /* @__PURE__ */ U(kl, { ref: d, slotProps: G, collapsed: X, position: f, isMobile: x, onChangeCollapsed: q, children: [
1735
1760
  K,
1736
1761
  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];
1762
+ ] }), e[44] = x, e[45] = f, e[46] = G, e[47] = X, e[48] = K, e[49] = ee, e[50] = te) : te = e[50];
1738
1763
  let le;
1739
- return e[51] !== F || e[52] !== te ? (le = /* @__PURE__ */ W(Me, { children: [
1764
+ return e[51] !== F || e[52] !== te ? (le = /* @__PURE__ */ U(Me, { children: [
1740
1765
  F,
1741
1766
  te
1742
1767
  ] }), e[51] = F, e[52] = te, e[53] = le) : le = e[53], le;
1743
1768
  }
1744
- function kl(t) {
1769
+ function Ml(t) {
1745
1770
  return t.group ?? "default";
1746
1771
  }
1747
1772
  export {
1748
- qt as AreaIcon,
1749
- Fl as BasemapsUI,
1750
- Xt as BufferIcon,
1751
- to as CopyButton,
1752
- Nl as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
1773
+ Jt as AreaIcon,
1774
+ Nl as BasemapsUI,
1775
+ Qt as BufferIcon,
1776
+ no as CopyButton,
1777
+ Yl as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
1753
1778
  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,
1779
+ tl as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING,
1780
+ el as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING,
1781
+ Kl as DrawCircleIcon,
1782
+ Xl as DrawLassoIcon,
1783
+ ql as DrawPolygonIcon,
1784
+ Ql as DrawSquareIcon,
1785
+ Fl as GeolocationControls,
1761
1786
  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,
1787
+ Ul as LassoGeometryToolbarUI,
1788
+ Wl as LassoLayerFiltersUI,
1789
+ zl as LassoMessageUI,
1790
+ Bl as LassoToolsInlineUI,
1791
+ Jl as LassoToolsUI,
1792
+ jl as ListDataUI,
1793
+ Vl as MeasurementToolsUI,
1794
+ kl as ResponsiveDrawer,
1795
+ qt as RulerIcon,
1796
+ eo as SelectToolIcon,
1797
+ Rt as SmartTooltip,
1798
+ nt as SpatialMaskIcon,
1799
+ it as TextAaIcon,
1774
1800
  ke as Tooltip,
1775
- zl as ZoomControlsUI,
1776
- Jl as setTooltipEnterDelay
1801
+ Zl as ZoomControlsUI,
1802
+ lo as setTooltipEnterDelay
1777
1803
  };
1778
1804
  //# sourceMappingURL=components.js.map