@carto/ps-react-ui 4.9.0 → 4.11.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 (186) hide show
  1. package/dist/category-Dnd2_j0x.js +719 -0
  2. package/dist/category-Dnd2_j0x.js.map +1 -0
  3. package/dist/change-column-BiuuHCDN.js +1156 -0
  4. package/dist/change-column-BiuuHCDN.js.map +1 -0
  5. package/dist/chat.js +1507 -0
  6. package/dist/chat.js.map +1 -0
  7. package/dist/components.js +125 -122
  8. package/dist/components.js.map +1 -1
  9. package/dist/copy-button-DGL1tyli.js +26 -0
  10. package/dist/copy-button-DGL1tyli.js.map +1 -0
  11. package/dist/{data-zoom-layout-BH0LPwSy.js → data-zoom-layout--YiY6ko_.js} +5 -4
  12. package/dist/{data-zoom-layout-BH0LPwSy.js.map → data-zoom-layout--YiY6ko_.js.map} +1 -1
  13. package/dist/{download-config-DNLkypdN.js → download-config-oJIFZ2WC.js} +10 -9
  14. package/dist/{download-config-DNLkypdN.js.map → download-config-oJIFZ2WC.js.map} +1 -1
  15. package/dist/{lasso-tool-BYbxrJ-7.js → lasso-tool-CDFj4zKY.js} +2 -1
  16. package/dist/lasso-tool-CDFj4zKY.js.map +1 -0
  17. package/dist/{spread-CTuIXZSM.js → spread-CPis22AE.js} +5 -4
  18. package/dist/{spread-CTuIXZSM.js.map → spread-CPis22AE.js.map} +1 -1
  19. package/dist/types/chat/bubbles/chat-error-message.d.ts +2 -0
  20. package/dist/types/chat/bubbles/chat-suggestion-button.d.ts +2 -0
  21. package/dist/types/chat/bubbles/chat-user-message.d.ts +2 -0
  22. package/dist/types/chat/bubbles/index.d.ts +4 -0
  23. package/dist/types/chat/const.d.ts +4 -0
  24. package/dist/types/chat/containers/chat-content.d.ts +2 -0
  25. package/dist/types/chat/containers/chat-footer.d.ts +2 -0
  26. package/dist/types/chat/containers/chat-header.d.ts +2 -0
  27. package/dist/types/chat/containers/chat-starter.d.ts +2 -0
  28. package/dist/types/chat/containers/index.d.ts +4 -0
  29. package/dist/types/chat/containers/styles.d.ts +93 -0
  30. package/dist/types/chat/feedback/chat-loader.d.ts +2 -0
  31. package/dist/types/chat/feedback/chat-rating-action.d.ts +2 -0
  32. package/dist/types/chat/feedback/chat-thinking.d.ts +2 -0
  33. package/dist/types/chat/feedback/chat-tool-code-area.d.ts +2 -0
  34. package/dist/types/chat/feedback/chat-tool-full-view-dialog.d.ts +2 -0
  35. package/dist/types/chat/feedback/chat-tool-group.d.ts +2 -0
  36. package/dist/types/chat/feedback/chat-tool-trace.d.ts +3 -0
  37. package/dist/types/chat/feedback/get-tool-label.d.ts +2 -0
  38. package/dist/types/chat/feedback/index.d.ts +8 -0
  39. package/dist/types/chat/feedback/styles.d.ts +211 -0
  40. package/dist/types/chat/index.d.ts +20 -0
  41. package/dist/types/chat/types.d.ts +184 -0
  42. package/dist/types/chat/use-typewriter.d.ts +30 -0
  43. package/dist/types/components/copy-button/copy-button.d.ts +2 -0
  44. package/dist/types/components/copy-button/types.d.ts +6 -0
  45. package/dist/types/components/index.d.ts +2 -0
  46. package/dist/types/components/lasso-tool/styles.d.ts +1 -0
  47. package/dist/types/components/measurement-tools/styles.d.ts +1 -0
  48. package/dist/types/widgets-v2/actions/index.d.ts +1 -0
  49. package/dist/types/widgets-v2/actions/show-all/index.d.ts +2 -0
  50. package/dist/types/widgets-v2/actions/show-all/labels.d.ts +5 -0
  51. package/dist/types/widgets-v2/actions/show-all/show-all.d.ts +33 -0
  52. package/dist/types/widgets-v2/actions/show-all/style.d.ts +8 -0
  53. package/dist/types/widgets-v2/category/category-ui.d.ts +9 -2
  54. package/dist/types/widgets-v2/category/category.d.ts +9 -2
  55. package/dist/types/widgets-v2/category/components/category-row-other.d.ts +19 -6
  56. package/dist/types/widgets-v2/category/style.d.ts +21 -2
  57. package/dist/types/widgets-v2/category/types.d.ts +2 -0
  58. package/dist/types/widgets-v2/index.d.ts +3 -2
  59. package/dist/types/widgets-v2/selection-summary/labels.d.ts +7 -2
  60. package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +13 -6
  61. package/dist/types/widgets-v2/selection-summary/style.d.ts +15 -0
  62. package/dist/types/widgets-v2/wrapper/style.d.ts +1 -2
  63. package/dist/types/widgets-v2/wrapper/widget-wrapper.d.ts +6 -1
  64. package/dist/widgets/actions.js +116 -115
  65. package/dist/widgets/actions.js.map +1 -1
  66. package/dist/widgets/bar.js +1 -1
  67. package/dist/widgets/category.js +10 -9
  68. package/dist/widgets/category.js.map +1 -1
  69. package/dist/widgets/formula.js +12 -11
  70. package/dist/widgets/formula.js.map +1 -1
  71. package/dist/widgets/histogram.js +8 -7
  72. package/dist/widgets/histogram.js.map +1 -1
  73. package/dist/widgets/markdown.js +10 -9
  74. package/dist/widgets/markdown.js.map +1 -1
  75. package/dist/widgets/pie.js +1 -1
  76. package/dist/widgets/scatterplot.js +1 -1
  77. package/dist/widgets/spread.js +10 -9
  78. package/dist/widgets/spread.js.map +1 -1
  79. package/dist/widgets/table.js +18 -17
  80. package/dist/widgets/table.js.map +1 -1
  81. package/dist/widgets/timeseries.js +1 -1
  82. package/dist/widgets/utils.js +1 -1
  83. package/dist/widgets/wrapper.js +4 -3
  84. package/dist/widgets/wrapper.js.map +1 -1
  85. package/dist/widgets-v2/actions.js +41 -37
  86. package/dist/widgets-v2/bar.js +9 -8
  87. package/dist/widgets-v2/bar.js.map +1 -1
  88. package/dist/widgets-v2/category.js +23 -22
  89. package/dist/widgets-v2/category.js.map +1 -1
  90. package/dist/widgets-v2/formula.js +24 -23
  91. package/dist/widgets-v2/formula.js.map +1 -1
  92. package/dist/widgets-v2/histogram.js +11 -10
  93. package/dist/widgets-v2/histogram.js.map +1 -1
  94. package/dist/widgets-v2/markdown.js +10 -9
  95. package/dist/widgets-v2/markdown.js.map +1 -1
  96. package/dist/widgets-v2/pie.js +8 -7
  97. package/dist/widgets-v2/pie.js.map +1 -1
  98. package/dist/widgets-v2/scatterplot.js +10 -9
  99. package/dist/widgets-v2/scatterplot.js.map +1 -1
  100. package/dist/widgets-v2/spread.js +10 -9
  101. package/dist/widgets-v2/spread.js.map +1 -1
  102. package/dist/widgets-v2/table.js +17 -16
  103. package/dist/widgets-v2/table.js.map +1 -1
  104. package/dist/widgets-v2/timeseries.js +9 -8
  105. package/dist/widgets-v2/timeseries.js.map +1 -1
  106. package/dist/widgets-v2/utils.js +1 -1
  107. package/dist/widgets-v2.js +343 -338
  108. package/dist/widgets-v2.js.map +1 -1
  109. package/package.json +9 -3
  110. package/src/chat/bubbles/chat-agent-message.test.tsx +30 -0
  111. package/src/chat/bubbles/chat-agent-message.tsx +11 -0
  112. package/src/chat/bubbles/chat-error-message.test.tsx +40 -0
  113. package/src/chat/bubbles/chat-error-message.tsx +47 -0
  114. package/src/chat/bubbles/chat-suggestion-button.test.tsx +24 -0
  115. package/src/chat/bubbles/chat-suggestion-button.tsx +27 -0
  116. package/src/chat/bubbles/chat-user-message.test.tsx +27 -0
  117. package/src/chat/bubbles/chat-user-message.tsx +27 -0
  118. package/src/chat/bubbles/index.ts +4 -0
  119. package/src/chat/bubbles/styles.ts +148 -0
  120. package/src/chat/const.ts +4 -0
  121. package/src/chat/containers/chat-content.test.tsx +269 -0
  122. package/src/chat/containers/chat-content.tsx +142 -0
  123. package/src/chat/containers/chat-footer.test.tsx +34 -0
  124. package/src/chat/containers/chat-footer.tsx +78 -0
  125. package/src/chat/containers/chat-header.test.tsx +28 -0
  126. package/src/chat/containers/chat-header.tsx +29 -0
  127. package/src/chat/containers/chat-starter.test.tsx +32 -0
  128. package/src/chat/containers/chat-starter.tsx +75 -0
  129. package/src/chat/containers/index.ts +4 -0
  130. package/src/chat/containers/styles.ts +96 -0
  131. package/src/chat/feedback/chat-actions-container.test.tsx +64 -0
  132. package/src/chat/feedback/chat-actions-container.tsx +7 -0
  133. package/src/chat/feedback/chat-loader.test.tsx +10 -0
  134. package/src/chat/feedback/chat-loader.tsx +31 -0
  135. package/src/chat/feedback/chat-rating-action.tsx +43 -0
  136. package/src/chat/feedback/chat-thinking.test.tsx +15 -0
  137. package/src/chat/feedback/chat-thinking.tsx +23 -0
  138. package/src/chat/feedback/chat-tool-code-area.test.tsx +23 -0
  139. package/src/chat/feedback/chat-tool-code-area.tsx +71 -0
  140. package/src/chat/feedback/chat-tool-full-view-dialog.test.tsx +39 -0
  141. package/src/chat/feedback/chat-tool-full-view-dialog.tsx +121 -0
  142. package/src/chat/feedback/chat-tool-group.test.tsx +84 -0
  143. package/src/chat/feedback/chat-tool-group.tsx +156 -0
  144. package/src/chat/feedback/chat-tool-trace.test.tsx +81 -0
  145. package/src/chat/feedback/chat-tool-trace.tsx +192 -0
  146. package/src/chat/feedback/get-tool-label.test.tsx +91 -0
  147. package/src/chat/feedback/get-tool-label.ts +13 -0
  148. package/src/chat/feedback/index.ts +8 -0
  149. package/src/chat/feedback/styles.ts +229 -0
  150. package/src/chat/index.ts +59 -0
  151. package/src/chat/types.ts +215 -0
  152. package/src/chat/use-typewriter.test.tsx +38 -0
  153. package/src/chat/use-typewriter.ts +82 -0
  154. package/src/components/copy-button/copy-button.test.tsx +41 -0
  155. package/src/components/copy-button/copy-button.tsx +31 -0
  156. package/src/components/copy-button/types.ts +10 -0
  157. package/src/components/index.ts +3 -0
  158. package/src/components/lasso-tool/styles.ts +1 -0
  159. package/src/components/measurement-tools/styles.ts +1 -0
  160. package/src/widgets-v2/actions/index.ts +8 -0
  161. package/src/widgets-v2/actions/show-all/index.ts +7 -0
  162. package/src/widgets-v2/actions/show-all/labels.ts +8 -0
  163. package/src/widgets-v2/actions/show-all/show-all.test.tsx +50 -0
  164. package/src/widgets-v2/actions/show-all/show-all.tsx +72 -0
  165. package/src/widgets-v2/actions/show-all/style.ts +8 -0
  166. package/src/widgets-v2/category/category-ui.test.tsx +26 -10
  167. package/src/widgets-v2/category/category-ui.tsx +13 -3
  168. package/src/widgets-v2/category/category.test.tsx +4 -4
  169. package/src/widgets-v2/category/category.tsx +10 -1
  170. package/src/widgets-v2/category/components/category-row-other.test.tsx +36 -7
  171. package/src/widgets-v2/category/components/category-row-other.tsx +64 -13
  172. package/src/widgets-v2/category/style.ts +35 -4
  173. package/src/widgets-v2/category/types.ts +2 -0
  174. package/src/widgets-v2/index.ts +3 -0
  175. package/src/widgets-v2/selection-summary/labels.ts +8 -4
  176. package/src/widgets-v2/selection-summary/selection-summary.test.tsx +15 -9
  177. package/src/widgets-v2/selection-summary/selection-summary.tsx +42 -22
  178. package/src/widgets-v2/selection-summary/style.ts +15 -0
  179. package/src/widgets-v2/wrapper/style.ts +1 -2
  180. package/src/widgets-v2/wrapper/widget-wrapper.test.tsx +30 -0
  181. package/src/widgets-v2/wrapper/widget-wrapper.tsx +11 -1
  182. package/dist/category-DwaeYjpX.js +0 -656
  183. package/dist/category-DwaeYjpX.js.map +0 -1
  184. package/dist/change-column-Cidl_M-4.js +0 -1110
  185. package/dist/change-column-Cidl_M-4.js.map +0 -1
  186. package/dist/lasso-tool-BYbxrJ-7.js.map +0 -1
@@ -1,14 +1,15 @@
1
- import { s as be, L as $e, a as re } from "./lasso-tool-BYbxrJ-7.js";
2
- import { D as co, b as mo, c as uo, d as po, e as fo, f as ho, S as go } from "./lasso-tool-BYbxrJ-7.js";
1
+ import { s as be, L as Be, a as re } from "./lasso-tool-CDFj4zKY.js";
2
+ import { D as co, b as mo, c as uo, d as po, e as fo, f as ho, S as go } from "./lasso-tool-CDFj4zKY.js";
3
3
  import { jsxs as E, Fragment as J, jsx as o } from "react/jsx-runtime";
4
4
  import { c as F } from "react/compiler-runtime";
5
- import { Divider as ue, Box as Y, ToggleButton as ve, SvgIcon as De, ToggleButtonGroup as Ie, Typography as Q, Button as ye, alpha as Be, Paper as Se, MenuItem as Me, ListItemIcon as Ue, ListItemText as xe, IconButton as ie, Menu as Ve, DialogTitle as Ze, FormControlLabel as We, Radio as je, RadioGroup as Fe, FormControl as Ne, DialogContent as Ge, DialogActions as ze, Dialog as He, CircularProgress as Ye, Grid as pe, Skeleton as _e, Alert as Xe, ListItem as qe, List as Ke, Drawer as Qe, Popover as Je, useTheme as et, useMediaQuery as tt } from "@mui/material";
5
+ import { Divider as ue, Box as Y, ToggleButton as ve, SvgIcon as De, ToggleButtonGroup as Ie, Typography as Q, Button as ye, alpha as $e, Paper as Se, MenuItem as Me, ListItemIcon as Ue, ListItemText as xe, IconButton as ie, Menu as Ve, DialogTitle as Ze, FormControlLabel as We, Radio as je, RadioGroup as Fe, FormControl as Ne, DialogContent as Ge, DialogActions as ze, Dialog as He, CircularProgress as Ye, Grid as pe, Skeleton as Ce, Alert as Xe, ListItem as qe, List as Ke, Drawer as Qe, Popover as Je, useTheme as et, useMediaQuery as tt } from "@mui/material";
6
6
  import { useState as se, useRef as Le, useReducer as ot, useEffect as Pe } from "react";
7
7
  import { d as we } from "./cjs-D4KH3azB.js";
8
8
  import { T as fe } from "./tooltip-BDnrRKrp.js";
9
9
  import { s as vo } from "./tooltip-BDnrRKrp.js";
10
10
  import { ArrowDropDown as lt, Close as Oe, MyLocationOutlined as nt, LocationDisabledOutlined as it, CropFreeOutlined as st, AddOutlined as rt, RemoveOutlined as at } from "@mui/icons-material";
11
11
  import { S as ct } from "./smart-tooltip-D4vwQpFf.js";
12
+ import { C as xo } from "./copy-button-DGL1tyli.js";
12
13
  const dt = [], mt = {};
13
14
  function to(t) {
14
15
  const e = F(55), {
@@ -31,9 +32,9 @@ function to(t) {
31
32
  sx: M,
32
33
  ...L
33
34
  } = g, e[0] = g, e[1] = L, e[2] = M) : (L = e[1], M = e[2]);
34
- let _;
35
- e[3] !== i || e[4] !== a ? (_ = we(i, a), e[3] = i, e[4] = a, e[5] = _) : _ = e[5];
36
- const y = _;
35
+ let C;
36
+ e[3] !== i || e[4] !== a ? (C = we(i, a), e[3] = i, e[4] = a, e[5] = C) : C = e[5];
37
+ const y = C;
37
38
  let x, k;
38
39
  e[6] !== y ? ({
39
40
  edit: k,
@@ -41,7 +42,7 @@ function to(t) {
41
42
  } = y, e[6] = y, e[7] = x, e[8] = k) : (x = e[7], k = e[8]);
42
43
  let b;
43
44
  e[9] !== u ? (b = (q) => u(q), e[9] = u, e[10] = b) : b = e[10];
44
- const C = b;
45
+ const _ = b;
45
46
  let T;
46
47
  e[11] !== f ? (T = (q, le) => {
47
48
  q.preventDefault(), f?.(le);
@@ -58,39 +59,39 @@ function to(t) {
58
59
  const R = r?.options, V = D?.value, Z = r?.options;
59
60
  let A;
60
61
  e[17] !== U || e[18] !== Z ? (A = /* @__PURE__ */ o(Te, { labels: Z, data: U }), e[17] = U, e[18] = Z, e[19] = A) : A = e[19];
61
- let $;
62
- e[20] !== k || e[21] !== r?.options || e[22] !== h.length ? ($ = !!k && /* @__PURE__ */ E(J, { children: [
62
+ let B;
63
+ e[20] !== k || e[21] !== r?.options || e[22] !== h.length ? (B = !!k && /* @__PURE__ */ E(J, { children: [
63
64
  /* @__PURE__ */ o(ue, { orientation: "vertical" }),
64
65
  /* @__PURE__ */ o(Te, { labels: r?.options, data: [{
65
66
  ...k,
66
67
  disabled: !h.length
67
68
  }] })
68
- ] }), e[20] = k, e[21] = r?.options, e[22] = h.length, e[23] = $) : $ = e[23];
69
+ ] }), e[20] = k, e[21] = r?.options, e[22] = h.length, e[23] = B) : B = e[23];
69
70
  let W;
70
- e[24] !== S || e[25] !== V || e[26] !== A || e[27] !== $ ? (W = /* @__PURE__ */ E(Ie, { value: V, exclusive: !0, className: "inline", sx: be.options.menu, onChange: S, children: [
71
+ e[24] !== S || e[25] !== V || e[26] !== A || e[27] !== B ? (W = /* @__PURE__ */ E(Ie, { value: V, exclusive: !0, className: "inline", sx: be.options.menu, onChange: S, children: [
71
72
  A,
72
- $
73
- ] }), e[24] = S, e[25] = V, e[26] = A, e[27] = $, e[28] = W) : W = e[28];
73
+ B
74
+ ] }), e[24] = S, e[25] = V, e[26] = A, e[27] = B, e[28] = W) : W = e[28];
74
75
  let G;
75
76
  e[29] !== U || e[30] !== W || e[31] !== R ? (G = /* @__PURE__ */ o(ut, { data: U, labels: R, children: W }), e[29] = U, e[30] = W, e[31] = R, e[32] = G) : G = e[32];
76
77
  let N;
77
78
  e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ o(ue, { flexItem: !0 }), e[33] = N) : N = e[33];
78
79
  const j = !!h.length, z = r?.noData;
79
- let B;
80
- e[34] !== j || e[35] !== z ? (B = /* @__PURE__ */ o(pt, { hasValues: j, labels: z }), e[34] = j, e[35] = z, e[36] = B) : B = e[36];
80
+ let $;
81
+ e[34] !== j || e[35] !== z ? ($ = /* @__PURE__ */ o(pt, { hasValues: j, labels: z }), e[34] = j, e[35] = z, e[36] = $) : $ = e[36];
81
82
  let H;
82
- e[37] !== n || e[38] !== C || e[39] !== r?.chip || e[40] !== d || e[41] !== h ? (H = !!h.length && /* @__PURE__ */ o(Y, { sx: be.chip.container, className: "inline", children: h.map((q) => /* @__PURE__ */ o($e, { value: q, labels: r?.chip, chipProps: n, onDelete: C, onChipToggle: d }, q.id)) }), e[37] = n, e[38] = C, e[39] = r?.chip, e[40] = d, e[41] = h, e[42] = H) : H = e[42];
83
+ e[37] !== n || e[38] !== _ || e[39] !== r?.chip || e[40] !== d || e[41] !== h ? (H = !!h.length && /* @__PURE__ */ o(Y, { sx: be.chip.container, className: "inline", children: h.map((q) => /* @__PURE__ */ o(Be, { value: q, labels: r?.chip, chipProps: n, onDelete: _, onChipToggle: d }, q.id)) }), e[37] = n, e[38] = _, e[39] = r?.chip, e[40] = d, e[41] = h, e[42] = H) : H = e[42];
83
84
  const ee = r?.actions;
84
85
  let X;
85
86
  e[43] !== v || e[44] !== w || e[45] !== ee || e[46] !== h ? (X = /* @__PURE__ */ o(ft, { values: h, labels: ee, onAllChipToggle: v, onAllDelete: w }), e[43] = v, e[44] = w, e[45] = ee, e[46] = h, e[47] = X) : X = e[47];
86
87
  let te;
87
- return e[48] !== L || e[49] !== G || e[50] !== B || e[51] !== H || e[52] !== X || e[53] !== P ? (te = /* @__PURE__ */ E(Y, { sx: P, ...L, className: "inline", children: [
88
+ return e[48] !== L || e[49] !== G || e[50] !== $ || e[51] !== H || e[52] !== X || e[53] !== P ? (te = /* @__PURE__ */ E(Y, { sx: P, ...L, className: "inline", children: [
88
89
  G,
89
90
  N,
90
- B,
91
+ $,
91
92
  H,
92
93
  X
93
- ] }), e[48] = L, e[49] = G, e[50] = B, e[51] = H, e[52] = X, e[53] = P, e[54] = te) : te = e[54], te;
94
+ ] }), e[48] = L, e[49] = G, e[50] = $, e[51] = H, e[52] = X, e[53] = P, e[54] = te) : te = e[54], te;
94
95
  }
95
96
  function ut(t) {
96
97
  const e = F(5), {
@@ -286,7 +287,8 @@ const oe = {
286
287
  gap: ({
287
288
  spacing: t
288
289
  }) => t(1),
289
- overflow: "hidden"
290
+ overflow: "hidden",
291
+ width: "fit-content"
290
292
  },
291
293
  actions: {
292
294
  icon: {
@@ -342,7 +344,7 @@ const oe = {
342
344
  }) => t.primary.main,
343
345
  backgroundColor: ({
344
346
  palette: t
345
- }) => Be(t.primary.main, 0.08)
347
+ }) => $e(t.primary.main, 0.08)
346
348
  },
347
349
  modal: {
348
350
  toggle: {
@@ -418,20 +420,20 @@ function oo(t) {
418
420
  onChangeMode: v,
419
421
  onChangeUnit: w
420
422
  } = t, h = n === void 0 ? oe : n, g = i === void 0 ? xt : i, L = a === void 0 ? yt : a, M = m === void 0 ? St : m;
421
- let _, y;
423
+ let C, y;
422
424
  e[0] !== M ? ({
423
425
  sx: y,
424
- ..._
425
- } = M, e[0] = M, e[1] = _, e[2] = y) : (_ = e[1], y = e[2]);
426
+ ...C
427
+ } = M, e[0] = M, e[1] = C, e[2] = y) : (C = e[1], y = e[2]);
426
428
  let x;
427
- e[3] !== f ? (x = (B) => f(!!B), e[3] = f, e[4] = x) : x = e[4];
429
+ e[3] !== f ? (x = ($) => f(!!$), e[3] = f, e[4] = x) : x = e[4];
428
430
  const k = x;
429
431
  let b;
430
432
  e[5] !== r || e[6] !== g ? (b = we(r, g), e[5] = r, e[6] = g, e[7] = b) : b = e[7];
431
- const C = b, T = (c ?? "") in C;
433
+ const _ = b, T = (c ?? "") in _;
432
434
  let S;
433
- e[8] !== C || e[9] !== T || e[10] !== c ? (S = T ? c : Object.keys(C)[0], e[8] = C, e[9] = T, e[10] = c, e[11] = S) : S = e[11];
434
- const p = S, I = C[p], D = d[p];
435
+ e[8] !== _ || e[9] !== T || e[10] !== c ? (S = T ? c : Object.keys(_)[0], e[8] = _, e[9] = T, e[10] = c, e[11] = S) : S = e[11];
436
+ const p = S, I = _[p], D = d[p];
435
437
  let O;
436
438
  e[12] !== p || e[13] !== D || e[14] !== d ? (O = Object.keys(d).length >= 1 ? d : {
437
439
  [p]: D.slice(0, 1)
@@ -439,11 +441,11 @@ function oo(t) {
439
441
  const P = O[p];
440
442
  let R;
441
443
  if (e[16] !== P || e[17] !== L) {
442
- let B;
443
- e[19] !== L ? (B = (H) => ({
444
+ let $;
445
+ e[19] !== L ? ($ = (H) => ({
444
446
  ...H,
445
447
  ...L[H.value]
446
- }), e[19] = L, e[20] = B) : B = e[20], R = P.map(B), e[16] = P, e[17] = L, e[18] = R;
448
+ }), e[19] = L, e[20] = $) : $ = e[20], R = P.map($), e[16] = P, e[17] = L, e[18] = R;
447
449
  } else
448
450
  R = e[18];
449
451
  const V = R;
@@ -452,21 +454,21 @@ function oo(t) {
452
454
  ...K.container,
453
455
  ...y
454
456
  }, e[21] = y, e[22] = Z) : Z = e[22];
455
- const A = h?.action, $ = I?.icon;
457
+ const A = h?.action, B = I?.icon;
456
458
  let W;
457
- e[23] !== l || e[24] !== s || e[25] !== k || e[26] !== A || e[27] !== $ ? (W = /* @__PURE__ */ o(_t, { actionProps: l, labels: A, enabled: s, onActionToggle: k, children: $ }), e[23] = l, e[24] = s, e[25] = k, e[26] = A, e[27] = $, e[28] = W) : W = e[28];
459
+ e[23] !== l || e[24] !== s || e[25] !== k || e[26] !== A || e[27] !== B ? (W = /* @__PURE__ */ o(Ct, { actionProps: l, labels: A, enabled: s, onActionToggle: k, children: B }), e[23] = l, e[24] = s, e[25] = k, e[26] = A, e[27] = B, e[28] = W) : W = e[28];
458
460
  const G = h?.options;
459
461
  let N;
460
- e[29] !== V || e[30] !== C || e[31] !== p || e[32] !== v || e[33] !== w || e[34] !== G || e[35] !== u ? (N = /* @__PURE__ */ o(Ct, { labels: G, modes: C, modeSelected: p, units: V, unitSelected: u, onChangeMode: v, onChangeUnit: w }), e[29] = V, e[30] = C, e[31] = p, e[32] = v, e[33] = w, e[34] = G, e[35] = u, e[36] = N) : N = e[36];
462
+ e[29] !== V || e[30] !== _ || e[31] !== p || e[32] !== v || e[33] !== w || e[34] !== G || e[35] !== u ? (N = /* @__PURE__ */ o(_t, { labels: G, modes: _, modeSelected: p, units: V, unitSelected: u, onChangeMode: v, onChangeUnit: w }), e[29] = V, e[30] = _, e[31] = p, e[32] = v, e[33] = w, e[34] = G, e[35] = u, e[36] = N) : N = e[36];
461
463
  let j;
462
464
  e[37] !== W || e[38] !== N ? (j = /* @__PURE__ */ E(Y, { children: [
463
465
  W,
464
466
  N
465
467
  ] }), e[37] = W, e[38] = N, e[39] = j) : j = e[39];
466
468
  let z;
467
- return e[40] !== _ || e[41] !== Z || e[42] !== j ? (z = /* @__PURE__ */ o(Se, { sx: Z, ..._, children: j }), e[40] = _, e[41] = Z, e[42] = j, e[43] = z) : z = e[43], z;
469
+ return e[40] !== C || e[41] !== Z || e[42] !== j ? (z = /* @__PURE__ */ o(Se, { sx: Z, ...C, children: j }), e[40] = C, e[41] = Z, e[42] = j, e[43] = z) : z = e[43], z;
468
470
  }
469
- function _t(t) {
471
+ function Ct(t) {
470
472
  const e = F(12), {
471
473
  actionProps: s,
472
474
  labels: l,
@@ -481,7 +483,7 @@ function _t(t) {
481
483
  let f;
482
484
  return e[8] !== c || e[9] !== m || e[10] !== u ? (f = /* @__PURE__ */ o(fe, { title: c, placement: "right", ...m, children: u }), e[8] = c, e[9] = m, e[10] = u, e[11] = f) : f = e[11], f;
483
485
  }
484
- function Ct(t) {
486
+ function _t(t) {
485
487
  const e = F(41), {
486
488
  modes: s,
487
489
  modeSelected: l,
@@ -500,21 +502,21 @@ function Ct(t) {
500
502
  if (!(w.length > 1 || g.length > 1))
501
503
  return null;
502
504
  const M = !!m;
503
- let _;
504
- e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (B) => {
505
- d(B.currentTarget);
506
- }, e[4] = _) : _ = e[4];
507
- const y = _;
505
+ let C;
506
+ e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = ($) => {
507
+ d($.currentTarget);
508
+ }, e[4] = C) : C = e[4];
509
+ const y = C;
508
510
  let x;
509
511
  e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = () => {
510
512
  d(null);
511
513
  }, e[5] = x) : x = e[5];
512
514
  const k = x;
513
515
  let b;
514
- e[6] !== a ? (b = (B, H) => {
515
- B.preventDefault(), a(H.value), k();
516
+ e[6] !== a ? (b = ($, H) => {
517
+ $.preventDefault(), a(H.value), k();
516
518
  }, e[6] = a, e[7] = b) : b = e[7];
517
- const C = b;
519
+ const _ = b;
518
520
  let T;
519
521
  e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = () => {
520
522
  f(!0);
@@ -526,31 +528,31 @@ function Ct(t) {
526
528
  }, e[9] = p) : p = e[9];
527
529
  const I = p;
528
530
  let D;
529
- e[10] !== c ? (D = (B) => {
530
- I(), c(B);
531
+ e[10] !== c ? (D = ($) => {
532
+ I(), c($);
531
533
  }, e[10] = c, e[11] = D) : D = e[11];
532
534
  const O = D, U = i?.mode?.title ?? oe.options.mode.title, P = i?.units?.title ?? oe.options.units.title, R = w.length > 1 && g.length > 1;
533
535
  let V;
534
- e[12] !== r || e[13] !== n ? (V = n.find((B) => B.value === r) ?? n[0], e[12] = r, e[13] = n, e[14] = V) : V = e[14];
536
+ e[12] !== r || e[13] !== n ? (V = n.find(($) => $.value === r) ?? n[0], e[12] = r, e[13] = n, e[14] = V) : V = e[14];
535
537
  const Z = V;
536
538
  let A;
537
539
  e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ o(ie, { sx: K.options.icon, onClick: y, children: /* @__PURE__ */ o(lt, {}) }), e[15] = A) : A = e[15];
538
- let $;
539
- e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = {
540
+ let B;
541
+ e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = {
540
542
  "aria-labelledby": "basic-button",
541
543
  sx: K.options.menu
542
- }, e[16] = $) : $ = e[16];
544
+ }, e[16] = B) : B = e[16];
543
545
  let W;
544
- e[17] !== C || e[18] !== i?.mode?.options || e[19] !== l || e[20] !== U || e[21] !== w ? (W = w.length > 1 && /* @__PURE__ */ E(J, { children: [
546
+ e[17] !== _ || e[18] !== i?.mode?.options || e[19] !== l || e[20] !== U || e[21] !== w ? (W = w.length > 1 && /* @__PURE__ */ E(J, { children: [
545
547
  /* @__PURE__ */ o(Q, { variant: "subtitle2", color: "text.secondary", sx: K.options.title, children: U }),
546
- w.map((B) => {
547
- const ee = (i?.mode?.options ?? oe.options.mode.options)[B.value];
548
- return /* @__PURE__ */ E(Me, { onClick: (X) => C(X, B), selected: B.value === l, children: [
549
- /* @__PURE__ */ o(Ue, { sx: K.options.icons, children: /* @__PURE__ */ o(De, { children: B.icon }) }),
548
+ w.map(($) => {
549
+ const ee = (i?.mode?.options ?? oe.options.mode.options)[$.value];
550
+ return /* @__PURE__ */ E(Me, { onClick: (X) => _(X, $), selected: $.value === l, children: [
551
+ /* @__PURE__ */ o(Ue, { sx: K.options.icons, children: /* @__PURE__ */ o(De, { children: $.icon }) }),
550
552
  /* @__PURE__ */ o(xe, { children: ee })
551
- ] }, B.value);
553
+ ] }, $.value);
552
554
  })
553
- ] }), e[17] = C, e[18] = i?.mode?.options, e[19] = l, e[20] = U, e[21] = w, e[22] = W) : W = e[22];
555
+ ] }), e[17] = _, e[18] = i?.mode?.options, e[19] = l, e[20] = U, e[21] = w, e[22] = W) : W = e[22];
554
556
  let G;
555
557
  e[23] !== R ? (G = R && /* @__PURE__ */ o(ue, {}), e[23] = R, e[24] = G) : G = e[24];
556
558
  let N;
@@ -570,7 +572,7 @@ function Ct(t) {
570
572
  let z;
571
573
  return e[37] !== m || e[38] !== M || e[39] !== j ? (z = /* @__PURE__ */ E(J, { children: [
572
574
  A,
573
- /* @__PURE__ */ o(Ve, { id: "measurement-menu", anchorEl: m, open: M, onClose: k, MenuListProps: $, children: j })
575
+ /* @__PURE__ */ o(Ve, { id: "measurement-menu", anchorEl: m, open: M, onClose: k, MenuListProps: B, children: j })
574
576
  ] }), e[37] = m, e[38] = M, e[39] = j, e[40] = z) : z = e[40], z;
575
577
  }
576
578
  function wt(t) {
@@ -585,22 +587,22 @@ function wt(t) {
585
587
  let d;
586
588
  if (e[0] !== c || e[1] !== n) {
587
589
  let A;
588
- e[3] !== c ? (A = ($) => $.system === c, e[3] = c, e[4] = A) : A = e[4], d = n.filter(A), e[0] = c, e[1] = n, e[2] = d;
590
+ e[3] !== c ? (A = (B) => B.system === c, e[3] = c, e[4] = A) : A = e[4], d = n.filter(A), e[0] = c, e[1] = n, e[2] = d;
589
591
  } else
590
592
  d = e[2];
591
593
  const u = d;
592
594
  let f;
593
- e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = (A, $) => {
594
- m($);
595
+ e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = (A, B) => {
596
+ m(B);
595
597
  }, e[5] = f) : f = e[5];
596
- const v = f, w = l?.units?.modal?.options ?? oe.options.units.modal.options, h = w[c].options, g = l?.units?.modal?.title ?? oe.options.units.modal.title, L = l?.units?.modal?.subtitle ?? oe.options.units.modal.subtitle, M = l?.units?.modal?.apply ?? oe.options.units.modal.apply, _ = r.system === c ? r : u[0];
598
+ const v = f, w = l?.units?.modal?.options ?? oe.options.units.modal.options, h = w[c].options, g = l?.units?.modal?.title ?? oe.options.units.modal.title, L = l?.units?.modal?.subtitle ?? oe.options.units.modal.subtitle, M = l?.units?.modal?.apply ?? oe.options.units.modal.apply, C = r.system === c ? r : u[0];
597
599
  let y;
598
600
  e[6] !== a ? (y = {
599
601
  component: "form",
600
602
  onSubmit: (A) => {
601
603
  A.preventDefault();
602
- const $ = new FormData(A.currentTarget);
603
- a($.get("unit-value"));
604
+ const B = new FormData(A.currentTarget);
605
+ a(B.get("unit-value"));
604
606
  }
605
607
  }, e[6] = a, e[7] = y) : y = e[7];
606
608
  let x;
@@ -612,8 +614,8 @@ function wt(t) {
612
614
  g,
613
615
  k
614
616
  ] }), e[11] = g, e[12] = k, e[13] = b) : b = e[13];
615
- let C;
616
- e[14] !== L ? (C = /* @__PURE__ */ o(Q, { sx: K.options.modal.subtitle, children: L }), e[14] = L, e[15] = C) : C = e[15];
617
+ let _;
618
+ e[14] !== L ? (_ = /* @__PURE__ */ o(Q, { sx: K.options.modal.subtitle, children: L }), e[14] = L, e[15] = _) : _ = e[15];
617
619
  let T;
618
620
  e[16] !== w.metric.title ? (T = /* @__PURE__ */ o(ve, { value: "metric", children: w.metric.title }), e[16] = w.metric.title, e[17] = T) : T = e[17];
619
621
  let S;
@@ -623,13 +625,13 @@ function wt(t) {
623
625
  T,
624
626
  S
625
627
  ] }), e[20] = c, e[21] = T, e[22] = S, e[23] = p) : p = e[23];
626
- const I = _?.value, D = _?.value;
628
+ const I = C?.value, D = C?.value;
627
629
  let O;
628
630
  if (e[24] !== u || e[25] !== h) {
629
631
  let A;
630
- e[27] !== h ? (A = ($) => {
631
- const W = h[$.value];
632
- return /* @__PURE__ */ o(We, { value: $.value, control: /* @__PURE__ */ o(je, {}), label: W }, $.value);
632
+ e[27] !== h ? (A = (B) => {
633
+ const W = h[B.value];
634
+ return /* @__PURE__ */ o(We, { value: B.value, control: /* @__PURE__ */ o(je, {}), label: W }, B.value);
633
635
  }, e[27] = h, e[28] = A) : A = e[28], O = u.map(A), e[24] = u, e[25] = h, e[26] = O;
634
636
  } else
635
637
  O = e[26];
@@ -638,11 +640,11 @@ function wt(t) {
638
640
  let P;
639
641
  e[32] !== I || e[33] !== U ? (P = /* @__PURE__ */ o(Ne, { children: U }, I), e[32] = I, e[33] = U, e[34] = P) : P = e[34];
640
642
  let R;
641
- e[35] !== p || e[36] !== P || e[37] !== C ? (R = /* @__PURE__ */ E(Ge, { sx: K.options.modal.content, children: [
642
- C,
643
+ e[35] !== p || e[36] !== P || e[37] !== _ ? (R = /* @__PURE__ */ E(Ge, { sx: K.options.modal.content, children: [
644
+ _,
643
645
  p,
644
646
  P
645
- ] }), e[35] = p, e[36] = P, e[37] = C, e[38] = R) : R = e[38];
647
+ ] }), e[35] = p, e[36] = P, e[37] = _, e[38] = R) : R = e[38];
646
648
  let V;
647
649
  e[39] !== M ? (V = /* @__PURE__ */ o(ze, { sx: K.options.modal.actions, children: /* @__PURE__ */ o(ye, { variant: "contained", type: "submit", children: M }) }), e[39] = M, e[40] = V) : V = e[40];
648
650
  let Z;
@@ -688,19 +690,19 @@ function lo(t) {
688
690
  f("denied"), c?.(D);
689
691
  }, e[5] = c, e[6] = L) : L = e[6];
690
692
  const M = L;
691
- let _;
692
- e[7] !== M || e[8] !== g || e[9] !== i ? (_ = () => {
693
+ let C;
694
+ e[7] !== M || e[8] !== g || e[9] !== i ? (C = () => {
693
695
  if (m.current && navigator.geolocation.clearWatch(m.current), i) {
694
696
  m.current = navigator.geolocation.watchPosition(g, M);
695
697
  return;
696
698
  }
697
699
  navigator.geolocation.getCurrentPosition(g, M);
698
- }, e[7] = M, e[8] = g, e[9] = i, e[10] = _) : _ = e[10];
699
- const y = _, k = (l?.tooltip ?? Mt)[u ? "enabled" : "disabled"], b = l?.ariaLabel ?? Tt, C = !d || s;
700
+ }, e[7] = M, e[8] = g, e[9] = i, e[10] = C) : C = e[10];
701
+ const y = C, k = (l?.tooltip ?? Mt)[u ? "enabled" : "disabled"], b = l?.ariaLabel ?? Tt, _ = !d || s;
700
702
  let T;
701
703
  e[11] !== u ? (T = u ? /* @__PURE__ */ o(nt, {}) : /* @__PURE__ */ o(it, {}), e[11] = u, e[12] = T) : T = e[12];
702
704
  let S;
703
- e[13] !== y || e[14] !== b || e[15] !== C || e[16] !== T ? (S = /* @__PURE__ */ o(ie, { onClick: y, "aria-label": b, disabled: C, children: T }), e[13] = y, e[14] = b, e[15] = C, e[16] = T, e[17] = S) : S = e[17];
705
+ e[13] !== y || e[14] !== b || e[15] !== _ || e[16] !== T ? (S = /* @__PURE__ */ o(ie, { onClick: y, "aria-label": b, disabled: _, children: T }), e[13] = y, e[14] = b, e[15] = _, e[16] = T, e[17] = S) : S = e[17];
704
706
  let p;
705
707
  e[18] !== r || e[19] !== S || e[20] !== k ? (p = /* @__PURE__ */ o(fe, { arrow: !0, placement: "right", title: k, ...r, children: S }), e[18] = r, e[19] = S, e[20] = k, e[21] = p) : p = e[21];
706
708
  let I;
@@ -709,7 +711,7 @@ function lo(t) {
709
711
  function At(t, e) {
710
712
  return e === "granted";
711
713
  }
712
- const Ce = {
714
+ const _e = {
713
715
  zoom: {
714
716
  position: "relative",
715
717
  height: ({
@@ -760,31 +762,31 @@ function no(t) {
760
762
  e[0] !== d ? (M = d === void 0 ? {
761
763
  Icon: st
762
764
  } : d, e[0] = d, e[1] = M) : M = e[1];
763
- const _ = M, y = u === void 0 ? !0 : u;
765
+ const C = M, y = u === void 0 ? !0 : u;
764
766
  let x;
765
767
  e[2] !== g || e[3] !== f || e[4] !== s ? (x = () => {
766
- const $ = Math.min(g, s + 1);
767
- f($);
768
+ const B = Math.min(g, s + 1);
769
+ f(B);
768
770
  }, e[2] = g, e[3] = f, e[4] = s, e[5] = x) : x = e[5];
769
771
  const k = x;
770
772
  let b;
771
773
  e[6] !== L || e[7] !== f || e[8] !== s ? (b = () => {
772
- const $ = Math.max(L, s - 1);
773
- f($);
774
+ const B = Math.max(L, s - 1);
775
+ f(B);
774
776
  }, e[6] = L, e[7] = f, e[8] = s, e[9] = b) : b = e[9];
775
- const C = b, T = Math.floor(s), S = w === "vertical" ? "horizontal" : "vertical";
777
+ const _ = b, T = Math.floor(s), S = w === "vertical" ? "horizontal" : "vertical";
776
778
  let p = w === "vertical" ? "column" : "row";
777
779
  h && (p = p + "-reverse");
778
780
  let I;
779
781
  e[10] !== p ? (I = {
780
- ...Ce.paper,
782
+ ..._e.paper,
781
783
  flexDirection: p
782
784
  }, e[10] = p, e[11] = I) : I = e[11];
783
785
  let D;
784
- e[12] !== _ || e[13] !== l || e[14] !== S || e[15] !== v ? (D = v && /* @__PURE__ */ E(J, { children: [
785
- /* @__PURE__ */ o(ie, { onClick: v, "aria-label": "Reset action", disabled: l, children: /* @__PURE__ */ o(_.Icon, {}) }),
786
+ e[12] !== C || e[13] !== l || e[14] !== S || e[15] !== v ? (D = v && /* @__PURE__ */ E(J, { children: [
787
+ /* @__PURE__ */ o(ie, { onClick: v, "aria-label": "Reset action", disabled: l, children: /* @__PURE__ */ o(C.Icon, {}) }),
786
788
  /* @__PURE__ */ o(ue, { orientation: S, flexItem: !0 })
787
- ] }), e[12] = _, e[13] = l, e[14] = S, e[15] = v, e[16] = D) : D = e[16];
789
+ ] }), e[12] = C, e[13] = l, e[14] = S, e[15] = v, e[16] = D) : D = e[16];
788
790
  let O;
789
791
  e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = /* @__PURE__ */ o(rt, {}), e[17] = O) : O = e[17];
790
792
  let U;
@@ -793,16 +795,16 @@ function no(t) {
793
795
  e[21] !== S ? (P = /* @__PURE__ */ o(ue, { orientation: S, flexItem: !0 }), e[21] = S, e[22] = P) : P = e[22];
794
796
  let R;
795
797
  e[23] !== T || e[24] !== S || e[25] !== i || e[26] !== y ? (R = y && /* @__PURE__ */ E(J, { children: [
796
- /* @__PURE__ */ E(Y, { sx: Ce.zoom, children: [
798
+ /* @__PURE__ */ E(Y, { sx: _e.zoom, children: [
797
799
  /* @__PURE__ */ o(Q, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: T }),
798
- i && /* @__PURE__ */ o(Ye, { sx: Ce.circularProgress, variant: "indeterminate", size: 24 })
800
+ i && /* @__PURE__ */ o(Ye, { sx: _e.circularProgress, variant: "indeterminate", size: 24 })
799
801
  ] }),
800
802
  /* @__PURE__ */ o(ue, { orientation: S, flexItem: !0 })
801
803
  ] }), e[23] = T, e[24] = S, e[25] = i, e[26] = y, e[27] = R) : R = e[27];
802
804
  let V;
803
805
  e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ o(at, {}), e[28] = V) : V = e[28];
804
806
  let Z;
805
- e[29] !== C || e[30] !== l ? (Z = /* @__PURE__ */ o(ie, { onClick: C, "aria-label": "Decrease zoom", disabled: l, children: V }), e[29] = C, e[30] = l, e[31] = Z) : Z = e[31];
807
+ e[29] !== _ || e[30] !== l ? (Z = /* @__PURE__ */ o(ie, { onClick: _, "aria-label": "Decrease zoom", disabled: l, children: V }), e[29] = _, e[30] = l, e[31] = Z) : Z = e[31];
806
808
  let A;
807
809
  return e[32] !== m || e[33] !== I || e[34] !== D || e[35] !== U || e[36] !== P || e[37] !== R || e[38] !== Z ? (A = /* @__PURE__ */ E(Se, { sx: I, ...m, children: [
808
810
  D,
@@ -824,10 +826,10 @@ function kt(t) {
824
826
  function Dt(t, e) {
825
827
  return /* @__PURE__ */ E(pe, { container: !0, spacing: 1, children: [
826
828
  /* @__PURE__ */ E(pe, { container: !0, item: !0, direction: "row", justifyContent: "space-between", alignItems: "center", children: [
827
- /* @__PURE__ */ o(_e, { width: Ot(e) ? 72 : 48, height: 20 }),
828
- /* @__PURE__ */ o(_e, { width: 48, height: 8 })
829
+ /* @__PURE__ */ o(Ce, { width: Ot(e) ? 72 : 48, height: 20 }),
830
+ /* @__PURE__ */ o(Ce, { width: 48, height: 8 })
829
831
  ] }),
830
- /* @__PURE__ */ o(_e, { sx: {
832
+ /* @__PURE__ */ o(Ce, { sx: {
831
833
  height: Pt,
832
834
  marginTop: Lt,
833
835
  marginBottom: It,
@@ -940,10 +942,10 @@ const ke = {
940
942
  opacity: 0.5,
941
943
  pointerEvents: "none"
942
944
  }
943
- }, $t = {
945
+ }, Bt = {
944
946
  showMore: "Show More",
945
947
  showLess: "Show Less"
946
- }, Bt = [];
948
+ }, $t = [];
947
949
  function io(t) {
948
950
  const e = F(32), {
949
951
  data: s,
@@ -955,10 +957,10 @@ function io(t) {
955
957
  tooltipProps: c,
956
958
  onExpand: m,
957
959
  onItemClick: d
958
- } = t, u = s === void 0 ? Bt : s, f = l === void 0 ? !1 : l, v = n === void 0 ? 5 : n, w = r === void 0 ? $t : r, h = i === void 0 ? !0 : i, [g, L] = se(!1), M = Rt(f);
959
- let _;
960
- e[0] !== u || e[1] !== v || e[2] !== g ? (_ = g ? u : u.slice(0, v), e[0] = u, e[1] = v, e[2] = g, e[3] = _) : _ = e[3];
961
- const y = _;
960
+ } = t, u = s === void 0 ? $t : s, f = l === void 0 ? !1 : l, v = n === void 0 ? 5 : n, w = r === void 0 ? Bt : r, h = i === void 0 ? !0 : i, [g, L] = se(!1), M = Rt(f);
961
+ let C;
962
+ e[0] !== u || e[1] !== v || e[2] !== g ? (C = g ? u : u.slice(0, v), e[0] = u, e[1] = v, e[2] = g, e[3] = C) : C = e[3];
963
+ const y = C;
962
964
  let x;
963
965
  e[4] !== m || e[5] !== g ? (x = () => {
964
966
  L(!g), m?.(g);
@@ -993,15 +995,15 @@ function io(t) {
993
995
  } }, I.id), e[16] = d, e[17] = a, e[18] = h, e[19] = c, e[20] = p) : p = e[20], b = y.map(p), e[10] = y, e[11] = d, e[12] = a, e[13] = h, e[14] = c, e[15] = b;
994
996
  } else
995
997
  b = e[15];
996
- let C;
997
- e[21] !== b ? (C = /* @__PURE__ */ o(Ke, { id: "expandable-list", role: "list", children: b }), e[21] = b, e[22] = C) : C = e[22];
998
+ let _;
999
+ e[21] !== b ? (_ = /* @__PURE__ */ o(Ke, { id: "expandable-list", role: "list", children: b }), e[21] = b, e[22] = _) : _ = e[22];
998
1000
  let T;
999
1001
  e[23] !== u.length || e[24] !== k || e[25] !== w || e[26] !== v || e[27] !== g ? (T = u.length > v && /* @__PURE__ */ o(Y, { my: 2, children: /* @__PURE__ */ o(ye, { onClick: k, variant: "text", color: "primary", "aria-expanded": g, "aria-controls": "expandable-list", children: g ? w.showLess : w.showMore }) }), e[23] = u.length, e[24] = k, e[25] = w, e[26] = v, e[27] = g, e[28] = T) : T = e[28];
1000
1002
  let S;
1001
- return e[29] !== T || e[30] !== C ? (S = /* @__PURE__ */ E(J, { children: [
1002
- C,
1003
+ return e[29] !== T || e[30] !== _ ? (S = /* @__PURE__ */ E(J, { children: [
1004
+ _,
1003
1005
  T
1004
- ] }), e[29] = T, e[30] = C, e[31] = S) : S = e[31], S;
1006
+ ] }), e[29] = T, e[30] = _, e[31] = S) : S = e[31], S;
1005
1007
  }
1006
1008
  const Ut = 288, ae = {
1007
1009
  root: {
@@ -1199,8 +1201,8 @@ function Ft(t) {
1199
1201
  vertical: g,
1200
1202
  horizontal: L
1201
1203
  }, e[9] = g, e[10] = L, e[11] = M) : M = e[11];
1202
- let _;
1203
- return e[12] !== l || e[13] !== s || e[14] !== c || e[15] !== a || e[16] !== u || e[17] !== f || e[18] !== h || e[19] !== M ? (_ = /* @__PURE__ */ o(Je, { sx: a, anchorEl: s, open: u, onClose: f, anchorOrigin: h, transformOrigin: M, slotProps: c, children: l }), e[12] = l, e[13] = s, e[14] = c, e[15] = a, e[16] = u, e[17] = f, e[18] = h, e[19] = M, e[20] = _) : _ = e[20], _;
1204
+ let C;
1205
+ return e[12] !== l || e[13] !== s || e[14] !== c || e[15] !== a || e[16] !== u || e[17] !== f || e[18] !== h || e[19] !== M ? (C = /* @__PURE__ */ o(Je, { sx: a, anchorEl: s, open: u, onClose: f, anchorOrigin: h, transformOrigin: M, slotProps: c, children: l }), e[12] = l, e[13] = s, e[14] = c, e[15] = a, e[16] = u, e[17] = f, e[18] = h, e[19] = M, e[20] = C) : C = e[20], C;
1204
1206
  }
1205
1207
  const Nt = [];
1206
1208
  function so(t) {
@@ -1212,21 +1214,21 @@ function so(t) {
1212
1214
  onChange: i,
1213
1215
  TooltipProps: a
1214
1216
  } = t, c = s === void 0 ? Nt : s, m = n === void 0 ? "bottom-right" : n, d = r === void 0 ? null : r, [u, f] = se(null), [v, w] = se(!1), h = Le(null), [g, L] = se(null), M = et();
1215
- let _;
1216
- e[0] !== M.breakpoints ? (_ = M.breakpoints.down("sm"), e[0] = M.breakpoints, e[1] = _) : _ = e[1];
1217
- const y = tt(_);
1217
+ let C;
1218
+ e[0] !== M.breakpoints ? (C = M.breakpoints.down("sm"), e[0] = M.breakpoints, e[1] = C) : C = e[1];
1219
+ const y = tt(C);
1218
1220
  let x;
1219
1221
  e[2] !== l ? (x = l ?? {}, e[2] = l, e[3] = x) : x = e[3];
1220
1222
  let k;
1221
1223
  e[4] !== x ? (k = we(Vt, x), e[4] = x, e[5] = k) : k = e[5];
1222
1224
  const b = k;
1223
- let C;
1225
+ let _;
1224
1226
  if (e[6] !== c || e[7] !== d) {
1225
1227
  let ne;
1226
- e[9] !== d ? (ne = (ge) => ge.id === d, e[9] = d, e[10] = ne) : ne = e[10], C = c.find(ne), e[6] = c, e[7] = d, e[8] = C;
1228
+ e[9] !== d ? (ne = (ge) => ge.id === d, e[9] = d, e[10] = ne) : ne = e[10], _ = c.find(ne), e[6] = c, e[7] = d, e[8] = _;
1227
1229
  } else
1228
- C = e[8];
1229
- const T = C;
1230
+ _ = e[8];
1231
+ const T = _;
1230
1232
  let S;
1231
1233
  e[11] !== c ? (S = Object.groupBy(c, Gt), e[11] = c, e[12] = S) : S = e[12];
1232
1234
  const p = S;
@@ -1256,7 +1258,7 @@ function so(t) {
1256
1258
  e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = () => {
1257
1259
  L(400);
1258
1260
  }, e[20] = A) : A = e[20];
1259
- const $ = A;
1261
+ const B = A;
1260
1262
  let W;
1261
1263
  e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = (ne) => {
1262
1264
  f(ne.currentTarget), w(!0);
@@ -1266,18 +1268,18 @@ function so(t) {
1266
1268
  e[22] !== G || e[23] !== N ? (j = /* @__PURE__ */ o(ie, { sx: ae.toggle, onClick: W, children: /* @__PURE__ */ o("img", { src: G, alt: N }) }), e[22] = G, e[23] = N, e[24] = j) : j = e[24];
1267
1269
  let z;
1268
1270
  e[25] !== a || e[26] !== b.toggle.title || e[27] !== j ? (z = /* @__PURE__ */ o(fe, { title: b.toggle.title, placement: "right", ...a, children: j }), e[25] = a, e[26] = b.toggle.title, e[27] = j, e[28] = z) : z = e[28];
1269
- const B = `translate3d(${m.endsWith("right") ? "-8px" : "8px"}, ${m.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
1271
+ const $ = `translate3d(${m.endsWith("right") ? "-8px" : "8px"}, ${m.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
1270
1272
  let H;
1271
- e[29] !== B ? (H = {
1273
+ e[29] !== $ ? (H = {
1272
1274
  paper: {
1273
1275
  sx: {
1274
1276
  ...ae.root,
1275
- transform: B
1277
+ transform: $
1276
1278
  },
1277
1279
  onMouseOver: Z,
1278
- onMouseLeave: $
1280
+ onMouseLeave: B
1279
1281
  }
1280
- }, e[29] = B, e[30] = H) : H = e[30];
1282
+ }, e[29] = $, e[30] = H) : H = e[30];
1281
1283
  const ee = !v;
1282
1284
  let X;
1283
1285
  e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (X = () => U(), e[31] = X) : X = e[31];
@@ -1312,6 +1314,7 @@ export {
1312
1314
  vt as AreaIcon,
1313
1315
  so as BasemapsUI,
1314
1316
  bt as BufferIcon,
1317
+ xo as CopyButton,
1315
1318
  co as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
1316
1319
  oe as DEFAULT_MEASUREMENT_TOOLS_LABELS,
1317
1320
  xt as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING,