@carto/ps-react-maps 1.6.0 → 2.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,28 +1,27 @@
1
- import Qe, { createContext as K, useContext as X, useCallback as M, useReducer as et, useRef as ie, useMemo as Zt, useEffect as tt } from "react";
2
- import { EventManager as Jt } from "mjolnir.js";
3
- import { EditableGeoJsonLayer as Kt } from "@nebula.gl/layers";
4
- import { MeasureDistanceMode as Xt } from "@nebula.gl/edit-modes";
5
- import Qt from "convert-units";
6
- var er = /* @__PURE__ */ ((t) => (t.Roadmap = "roadmap", t.Satellite = "satellite", t.Hybrid = "hybrid", t))(er || {}), tr = /* @__PURE__ */ ((t) => (t.DarkMatter = "dark-matter", t.Positron = "positron", t.Voyager = "voyager", t))(tr || {});
7
- const ge = {
1
+ import tt, { createContext as Q, useContext as ee, useCallback as M, useReducer as rt, useRef as se, useMemo as Qt, useEffect as nt } from "react";
2
+ import { EventManager as er } from "mjolnir.js";
3
+ import { EditableGeoJsonLayer as tr, MeasureDistanceMode as rr } from "@deck.gl-community/editable-layers";
4
+ import nr from "convert-units";
5
+ var ar = /* @__PURE__ */ ((t) => (t.Roadmap = "roadmap", t.Satellite = "satellite", t.Hybrid = "hybrid", t))(ar || {}), or = /* @__PURE__ */ ((t) => (t.DarkMatter = "dark-matter", t.Positron = "positron", t.Voyager = "voyager", t))(or || {});
6
+ const he = {
8
7
  positron: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",
9
8
  voyager: "https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",
10
9
  "dark-matter": "https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json"
11
10
  };
12
- var rt = /* @__PURE__ */ ((t) => (t.Maplibre = "maplibre", t.GoogleMaps = "google-maps", t))(rt || {});
13
- const ye = {
11
+ var at = /* @__PURE__ */ ((t) => (t.Maplibre = "maplibre", t.GoogleMaps = "google-maps", t))(at || {});
12
+ const Ee = {
14
13
  positron: {
15
- url: ge.positron,
14
+ url: he.positron,
16
15
  type: "maplibre"
17
16
  /* Maplibre */
18
17
  },
19
18
  voyager: {
20
- url: ge.voyager,
19
+ url: he.voyager,
21
20
  type: "maplibre"
22
21
  /* Maplibre */
23
22
  },
24
23
  "dark-matter": {
25
- url: ge[
24
+ url: he[
26
25
  "dark-matter"
27
26
  /* DarkMatter */
28
27
  ],
@@ -41,7 +40,7 @@ const ye = {
41
40
  type: "google-maps"
42
41
  /* GoogleMaps */
43
42
  }
44
- }, W = () => {
43
+ }, z = () => {
45
44
  throw new Error("You forgot to wrap your component in <MapProvider>.");
46
45
  }, Z = {
47
46
  state: {
@@ -53,19 +52,19 @@ const ye = {
53
52
  },
54
53
  actions: {
55
54
  // toggleSync: stub,
56
- setViewState: W,
57
- setBasemap: W,
58
- setResize: W,
59
- setZoom: W,
60
- setLoaded: W
55
+ setViewState: z,
56
+ setBasemap: z,
57
+ setResize: z,
58
+ setZoom: z,
59
+ setLoaded: z
61
60
  }
62
- }, nt = K(
61
+ }, ot = Q(
63
62
  Z.state
64
- ), at = K(Z.references), ot = K(
63
+ ), it = Q(Z.references), st = Q(
65
64
  Z.actions
66
65
  );
67
- var L = /* @__PURE__ */ ((t) => (t.SetViewState = "SetViewState", t.SetBasemap = "SetBasemap", t.SetResize = "SetResize", t.SetZoom = "SetZoom", t.SetLoaded = "SetLoaded", t))(L || {});
68
- function rr(t, { type: r, payload: a }) {
66
+ var F = /* @__PURE__ */ ((t) => (t.SetViewState = "SetViewState", t.SetBasemap = "SetBasemap", t.SetResize = "SetResize", t.SetZoom = "SetZoom", t.SetLoaded = "SetLoaded", t))(F || {});
67
+ function ir(t, { type: r, payload: a }) {
69
68
  return {
70
69
  SetViewState: () => {
71
70
  const { id: o, viewState: l } = a, f = { ...t.maps };
@@ -81,18 +80,15 @@ function rr(t, { type: r, payload: a }) {
81
80
  const { id: o, width: l, height: f } = a, y = { ...t.maps };
82
81
  return y[o] = {
83
82
  ...t.maps[o],
84
- viewState: {
85
- ...t.maps[o].viewState,
86
- width: l,
87
- height: f
88
- }
83
+ width: l,
84
+ height: f
89
85
  }, {
90
86
  ...t,
91
87
  maps: y
92
88
  };
93
89
  },
94
90
  SetBasemap: () => {
95
- const { id: o, basemap: l } = a, f = { ...t.maps }, { basemap: y } = f[o], c = ye[y]?.type, E = ye[l]?.type, p = c === E;
91
+ const { id: o, basemap: l } = a, f = { ...t.maps }, { basemap: y } = f[o], c = Ee[y]?.type, E = Ee[l]?.type, p = c === E;
96
92
  return f[o] = {
97
93
  ...t.maps[o],
98
94
  basemap: l,
@@ -127,11 +123,11 @@ function rr(t, { type: r, payload: a }) {
127
123
  }
128
124
  }[r]?.() ?? t;
129
125
  }
130
- function be(t) {
131
- return X(nt).maps[t];
126
+ function Se(t) {
127
+ return ee(ot).maps[t];
132
128
  }
133
- function _e(t) {
134
- const r = X(at), { instanceRef: a, overlayRef: s } = r.current[t], o = M(() => {
129
+ function Re(t) {
130
+ const r = ee(it), { instanceRef: a, overlayRef: s } = r.current[t], o = M(() => {
135
131
  const E = a?.current;
136
132
  return E?.deck || E?._deck;
137
133
  }, [a]), l = M(() => s?.current, [s]), f = M(() => o()?._getViewState(), [o]), y = M(
@@ -151,8 +147,8 @@ function _e(t) {
151
147
  getViewports: y
152
148
  };
153
149
  }
154
- function nr(t) {
155
- const { setBasemap: r, setResize: a, setViewState: s, setZoom: o, setLoaded: l } = X(ot), { getViewport: f } = _e(t);
150
+ function sr(t) {
151
+ const { setBasemap: r, setResize: a, setViewState: s, setZoom: o, setLoaded: l } = ee(st), { getViewport: f } = Re(t);
156
152
  return {
157
153
  setBasemap: (c) => r(c, t),
158
154
  setResize: (c) => a(c, t),
@@ -171,19 +167,19 @@ function nr(t) {
171
167
  }
172
168
  };
173
169
  }
174
- function qr(t) {
175
- return be(t);
176
- }
177
- function Gr(t) {
178
- return _e(t);
170
+ function Jr(t) {
171
+ return Se(t);
179
172
  }
180
173
  function Zr(t) {
181
- return nr(t);
174
+ return Re(t);
175
+ }
176
+ function Xr(t) {
177
+ return sr(t);
182
178
  }
183
- function ar(t) {
179
+ function cr(t) {
184
180
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
185
181
  }
186
- var he = { exports: {} }, H = {};
182
+ var be = { exports: {} }, K = {};
187
183
  /**
188
184
  * @license React
189
185
  * react-jsx-runtime.production.min.js
@@ -193,12 +189,12 @@ var he = { exports: {} }, H = {};
193
189
  * This source code is licensed under the MIT license found in the
194
190
  * LICENSE file in the root directory of this source tree.
195
191
  */
196
- var qe;
197
- function or() {
198
- if (qe)
199
- return H;
200
- qe = 1;
201
- var t = Qe, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
192
+ var Ge;
193
+ function ur() {
194
+ if (Ge)
195
+ return K;
196
+ Ge = 1;
197
+ var t = tt, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
202
198
  function f(y, c, E) {
203
199
  var p, b = {}, O = null, g = null;
204
200
  E !== void 0 && (O = "" + E), c.key !== void 0 && (O = "" + c.key), c.ref !== void 0 && (g = c.ref);
@@ -209,9 +205,9 @@ function or() {
209
205
  b[p] === void 0 && (b[p] = c[p]);
210
206
  return { $$typeof: r, type: y, key: O, ref: g, props: b, _owner: o.current };
211
207
  }
212
- return H.Fragment = a, H.jsx = f, H.jsxs = f, H;
208
+ return K.Fragment = a, K.jsx = f, K.jsxs = f, K;
213
209
  }
214
- var z = {};
210
+ var q = {};
215
211
  /**
216
212
  * @license React
217
213
  * react-jsx-runtime.development.js
@@ -221,27 +217,27 @@ var z = {};
221
217
  * This source code is licensed under the MIT license found in the
222
218
  * LICENSE file in the root directory of this source tree.
223
219
  */
224
- var Ge;
225
- function ir() {
226
- return Ge || (Ge = 1, process.env.NODE_ENV !== "production" && function() {
227
- var t = Qe, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), y = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), h = Symbol.iterator, x = "@@iterator";
228
- function F(e) {
220
+ var Je;
221
+ function lr() {
222
+ return Je || (Je = 1, process.env.NODE_ENV !== "production" && function() {
223
+ var t = tt, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), y = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), h = Symbol.iterator, x = "@@iterator";
224
+ function k(e) {
229
225
  if (e === null || typeof e != "object")
230
226
  return null;
231
227
  var n = h && e[h] || e[x];
232
228
  return typeof n == "function" ? n : null;
233
229
  }
234
- var j = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
235
- function T(e) {
230
+ var D = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
231
+ function R(e) {
236
232
  {
237
233
  for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), u = 1; u < n; u++)
238
234
  i[u - 1] = arguments[u];
239
- Q("error", e, i);
235
+ te("error", e, i);
240
236
  }
241
237
  }
242
- function Q(e, n, i) {
238
+ function te(e, n, i) {
243
239
  {
244
- var u = j.ReactDebugCurrentFrame, v = u.getStackAddendum();
240
+ var u = D.ReactDebugCurrentFrame, v = u.getStackAddendum();
245
241
  v !== "" && (n += "%s", i = i.concat([v]));
246
242
  var _ = i.map(function(m) {
247
243
  return String(m);
@@ -249,29 +245,29 @@ function ir() {
249
245
  _.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, _);
250
246
  }
251
247
  }
252
- var yt = !1, ht = !1, Et = !1, bt = !1, _t = !1, Re;
253
- Re = Symbol.for("react.module.reference");
254
- function St(e) {
255
- return !!(typeof e == "string" || typeof e == "function" || e === s || e === l || _t || e === o || e === E || e === p || bt || e === g || yt || ht || Et || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === b || e.$$typeof === f || e.$$typeof === y || e.$$typeof === c || // This needs to include all possible module reference object
248
+ var Et = !1, bt = !1, _t = !1, St = !1, Rt = !1, Me;
249
+ Me = Symbol.for("react.module.reference");
250
+ function Tt(e) {
251
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === l || Rt || e === o || e === E || e === p || St || e === g || Et || bt || _t || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === b || e.$$typeof === f || e.$$typeof === y || e.$$typeof === c || // This needs to include all possible module reference object
256
252
  // types supported by any Flight configuration anywhere since
257
253
  // we don't know which Flight build this will end up being used
258
254
  // with.
259
- e.$$typeof === Re || e.getModuleId !== void 0));
255
+ e.$$typeof === Me || e.getModuleId !== void 0));
260
256
  }
261
- function Rt(e, n, i) {
257
+ function Mt(e, n, i) {
262
258
  var u = e.displayName;
263
259
  if (u)
264
260
  return u;
265
261
  var v = n.displayName || n.name || "";
266
262
  return v !== "" ? i + "(" + v + ")" : i;
267
263
  }
268
- function Te(e) {
264
+ function Oe(e) {
269
265
  return e.displayName || "Context";
270
266
  }
271
267
  function A(e) {
272
268
  if (e == null)
273
269
  return null;
274
- if (typeof e.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
270
+ if (typeof e.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
275
271
  return e.displayName || e.name || null;
276
272
  if (typeof e == "string")
277
273
  return e;
@@ -293,12 +289,12 @@ function ir() {
293
289
  switch (e.$$typeof) {
294
290
  case y:
295
291
  var n = e;
296
- return Te(n) + ".Consumer";
292
+ return Oe(n) + ".Consumer";
297
293
  case f:
298
294
  var i = e;
299
- return Te(i._context) + ".Provider";
295
+ return Oe(i._context) + ".Provider";
300
296
  case c:
301
- return Rt(e, e.render, "ForwardRef");
297
+ return Mt(e, e.render, "ForwardRef");
302
298
  case b:
303
299
  var u = e.displayName || null;
304
300
  return u !== null ? u : A(e.type) || "Memo";
@@ -313,18 +309,18 @@ function ir() {
313
309
  }
314
310
  return null;
315
311
  }
316
- var I = Object.assign, Y = 0, Me, Oe, Pe, Ce, we, xe, je;
317
- function Ae() {
312
+ var I = Object.assign, B = 0, Pe, Ce, we, je, xe, Ae, De;
313
+ function ke() {
318
314
  }
319
- Ae.__reactDisabledLog = !0;
320
- function Tt() {
315
+ ke.__reactDisabledLog = !0;
316
+ function Ot() {
321
317
  {
322
- if (Y === 0) {
323
- Me = console.log, Oe = console.info, Pe = console.warn, Ce = console.error, we = console.group, xe = console.groupCollapsed, je = console.groupEnd;
318
+ if (B === 0) {
319
+ Pe = console.log, Ce = console.info, we = console.warn, je = console.error, xe = console.group, Ae = console.groupCollapsed, De = console.groupEnd;
324
320
  var e = {
325
321
  configurable: !0,
326
322
  enumerable: !0,
327
- value: Ae,
323
+ value: ke,
328
324
  writable: !0
329
325
  };
330
326
  Object.defineProperties(console, {
@@ -337,12 +333,12 @@ function ir() {
337
333
  groupEnd: e
338
334
  });
339
335
  }
340
- Y++;
336
+ B++;
341
337
  }
342
338
  }
343
- function Mt() {
339
+ function Pt() {
344
340
  {
345
- if (Y--, Y === 0) {
341
+ if (B--, B === 0) {
346
342
  var e = {
347
343
  configurable: !0,
348
344
  enumerable: !0,
@@ -350,64 +346,64 @@ function ir() {
350
346
  };
351
347
  Object.defineProperties(console, {
352
348
  log: I({}, e, {
353
- value: Me
349
+ value: Pe
354
350
  }),
355
351
  info: I({}, e, {
356
- value: Oe
352
+ value: Ce
357
353
  }),
358
354
  warn: I({}, e, {
359
- value: Pe
355
+ value: we
360
356
  }),
361
357
  error: I({}, e, {
362
- value: Ce
358
+ value: je
363
359
  }),
364
360
  group: I({}, e, {
365
- value: we
361
+ value: xe
366
362
  }),
367
363
  groupCollapsed: I({}, e, {
368
- value: xe
364
+ value: Ae
369
365
  }),
370
366
  groupEnd: I({}, e, {
371
- value: je
367
+ value: De
372
368
  })
373
369
  });
374
370
  }
375
- Y < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
371
+ B < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
376
372
  }
377
373
  }
378
- var ce = j.ReactCurrentDispatcher, ue;
379
- function ee(e, n, i) {
374
+ var ue = D.ReactCurrentDispatcher, le;
375
+ function re(e, n, i) {
380
376
  {
381
- if (ue === void 0)
377
+ if (le === void 0)
382
378
  try {
383
379
  throw Error();
384
380
  } catch (v) {
385
381
  var u = v.stack.trim().match(/\n( *(at )?)/);
386
- ue = u && u[1] || "";
382
+ le = u && u[1] || "";
387
383
  }
388
384
  return `
389
- ` + ue + e;
385
+ ` + le + e;
390
386
  }
391
387
  }
392
- var le = !1, te;
388
+ var fe = !1, ne;
393
389
  {
394
- var Ot = typeof WeakMap == "function" ? WeakMap : Map;
395
- te = new Ot();
390
+ var Ct = typeof WeakMap == "function" ? WeakMap : Map;
391
+ ne = new Ct();
396
392
  }
397
- function De(e, n) {
398
- if (!e || le)
393
+ function Fe(e, n) {
394
+ if (!e || fe)
399
395
  return "";
400
396
  {
401
- var i = te.get(e);
397
+ var i = ne.get(e);
402
398
  if (i !== void 0)
403
399
  return i;
404
400
  }
405
401
  var u;
406
- le = !0;
402
+ fe = !0;
407
403
  var v = Error.prepareStackTrace;
408
404
  Error.prepareStackTrace = void 0;
409
405
  var _;
410
- _ = ce.current, ce.current = null, Tt();
406
+ _ = ue.current, ue.current = null, Ot();
411
407
  try {
412
408
  if (n) {
413
409
  var m = function() {
@@ -420,98 +416,98 @@ function ir() {
420
416
  }), typeof Reflect == "object" && Reflect.construct) {
421
417
  try {
422
418
  Reflect.construct(m, []);
423
- } catch (D) {
424
- u = D;
419
+ } catch (w) {
420
+ u = w;
425
421
  }
426
422
  Reflect.construct(e, [], m);
427
423
  } else {
428
424
  try {
429
425
  m.call();
430
- } catch (D) {
431
- u = D;
426
+ } catch (w) {
427
+ u = w;
432
428
  }
433
429
  e.call(m.prototype);
434
430
  }
435
431
  } else {
436
432
  try {
437
433
  throw Error();
438
- } catch (D) {
439
- u = D;
434
+ } catch (w) {
435
+ u = w;
440
436
  }
441
437
  e();
442
438
  }
443
- } catch (D) {
444
- if (D && u && typeof D.stack == "string") {
445
- for (var d = D.stack.split(`
439
+ } catch (w) {
440
+ if (w && u && typeof w.stack == "string") {
441
+ for (var d = w.stack.split(`
446
442
  `), P = u.stack.split(`
447
- `), S = d.length - 1, R = P.length - 1; S >= 1 && R >= 0 && d[S] !== P[R]; )
448
- R--;
449
- for (; S >= 1 && R >= 0; S--, R--)
450
- if (d[S] !== P[R]) {
451
- if (S !== 1 || R !== 1)
443
+ `), S = d.length - 1, T = P.length - 1; S >= 1 && T >= 0 && d[S] !== P[T]; )
444
+ T--;
445
+ for (; S >= 1 && T >= 0; S--, T--)
446
+ if (d[S] !== P[T]) {
447
+ if (S !== 1 || T !== 1)
452
448
  do
453
- if (S--, R--, R < 0 || d[S] !== P[R]) {
454
- var w = `
449
+ if (S--, T--, T < 0 || d[S] !== P[T]) {
450
+ var j = `
455
451
  ` + d[S].replace(" at new ", " at ");
456
- return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && te.set(e, w), w;
452
+ return e.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, j), j;
457
453
  }
458
- while (S >= 1 && R >= 0);
454
+ while (S >= 1 && T >= 0);
459
455
  break;
460
456
  }
461
457
  }
462
458
  } finally {
463
- le = !1, ce.current = _, Mt(), Error.prepareStackTrace = v;
459
+ fe = !1, ue.current = _, Pt(), Error.prepareStackTrace = v;
464
460
  }
465
- var U = e ? e.displayName || e.name : "", ze = U ? ee(U) : "";
466
- return typeof e == "function" && te.set(e, ze), ze;
461
+ var V = e ? e.displayName || e.name : "", N = V ? re(V) : "";
462
+ return typeof e == "function" && ne.set(e, N), N;
467
463
  }
468
- function Pt(e, n, i) {
469
- return De(e, !1);
464
+ function wt(e, n, i) {
465
+ return Fe(e, !1);
470
466
  }
471
- function Ct(e) {
467
+ function jt(e) {
472
468
  var n = e.prototype;
473
469
  return !!(n && n.isReactComponent);
474
470
  }
475
- function re(e, n, i) {
471
+ function ae(e, n, i) {
476
472
  if (e == null)
477
473
  return "";
478
474
  if (typeof e == "function")
479
- return De(e, Ct(e));
475
+ return Fe(e, jt(e));
480
476
  if (typeof e == "string")
481
- return ee(e);
477
+ return re(e);
482
478
  switch (e) {
483
479
  case E:
484
- return ee("Suspense");
480
+ return re("Suspense");
485
481
  case p:
486
- return ee("SuspenseList");
482
+ return re("SuspenseList");
487
483
  }
488
484
  if (typeof e == "object")
489
485
  switch (e.$$typeof) {
490
486
  case c:
491
- return Pt(e.render);
487
+ return wt(e.render);
492
488
  case b:
493
- return re(e.type, n, i);
489
+ return ae(e.type, n, i);
494
490
  case O: {
495
491
  var u = e, v = u._payload, _ = u._init;
496
492
  try {
497
- return re(_(v), n, i);
493
+ return ae(_(v), n, i);
498
494
  } catch {
499
495
  }
500
496
  }
501
497
  }
502
498
  return "";
503
499
  }
504
- var ne = Object.prototype.hasOwnProperty, Fe = {}, Le = j.ReactDebugCurrentFrame;
505
- function ae(e) {
500
+ var W = Object.prototype.hasOwnProperty, Le = {}, Ie = D.ReactDebugCurrentFrame;
501
+ function oe(e) {
506
502
  if (e) {
507
- var n = e._owner, i = re(e.type, e._source, n ? n.type : null);
508
- Le.setExtraStackFrame(i);
503
+ var n = e._owner, i = ae(e.type, e._source, n ? n.type : null);
504
+ Ie.setExtraStackFrame(i);
509
505
  } else
510
- Le.setExtraStackFrame(null);
506
+ Ie.setExtraStackFrame(null);
511
507
  }
512
- function wt(e, n, i, u, v) {
508
+ function xt(e, n, i, u, v) {
513
509
  {
514
- var _ = Function.call.bind(ne);
510
+ var _ = Function.call.bind(W);
515
511
  for (var m in e)
516
512
  if (_(e, m)) {
517
513
  var d = void 0;
@@ -524,67 +520,67 @@ function ir() {
524
520
  } catch (S) {
525
521
  d = S;
526
522
  }
527
- d && !(d instanceof Error) && (ae(v), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", i, m, typeof d), ae(null)), d instanceof Error && !(d.message in Fe) && (Fe[d.message] = !0, ae(v), T("Failed %s type: %s", i, d.message), ae(null));
523
+ d && !(d instanceof Error) && (oe(v), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", i, m, typeof d), oe(null)), d instanceof Error && !(d.message in Le) && (Le[d.message] = !0, oe(v), R("Failed %s type: %s", i, d.message), oe(null));
528
524
  }
529
525
  }
530
526
  }
531
- var xt = Array.isArray;
532
- function fe(e) {
533
- return xt(e);
527
+ var At = Array.isArray;
528
+ function de(e) {
529
+ return At(e);
534
530
  }
535
- function jt(e) {
531
+ function Dt(e) {
536
532
  {
537
533
  var n = typeof Symbol == "function" && Symbol.toStringTag, i = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
538
534
  return i;
539
535
  }
540
536
  }
541
- function At(e) {
537
+ function kt(e) {
542
538
  try {
543
- return ke(e), !1;
539
+ return Ne(e), !1;
544
540
  } catch {
545
541
  return !0;
546
542
  }
547
543
  }
548
- function ke(e) {
544
+ function Ne(e) {
549
545
  return "" + e;
550
546
  }
551
- function Ie(e) {
552
- if (At(e))
553
- return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jt(e)), ke(e);
547
+ function Ue(e) {
548
+ if (kt(e))
549
+ return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Dt(e)), Ne(e);
554
550
  }
555
- var B = j.ReactCurrentOwner, Dt = {
551
+ var H = D.ReactCurrentOwner, Ft = {
556
552
  key: !0,
557
553
  ref: !0,
558
554
  __self: !0,
559
555
  __source: !0
560
- }, Ne, Ue, de;
561
- de = {};
562
- function Ft(e) {
563
- if (ne.call(e, "ref")) {
556
+ }, Ve, $e, me;
557
+ me = {};
558
+ function Lt(e) {
559
+ if (W.call(e, "ref")) {
564
560
  var n = Object.getOwnPropertyDescriptor(e, "ref").get;
565
561
  if (n && n.isReactWarning)
566
562
  return !1;
567
563
  }
568
564
  return e.ref !== void 0;
569
565
  }
570
- function Lt(e) {
571
- if (ne.call(e, "key")) {
566
+ function It(e) {
567
+ if (W.call(e, "key")) {
572
568
  var n = Object.getOwnPropertyDescriptor(e, "key").get;
573
569
  if (n && n.isReactWarning)
574
570
  return !1;
575
571
  }
576
572
  return e.key !== void 0;
577
573
  }
578
- function kt(e, n) {
579
- if (typeof e.ref == "string" && B.current && n && B.current.stateNode !== n) {
580
- var i = A(B.current.type);
581
- de[i] || (T('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(B.current.type), e.ref), de[i] = !0);
574
+ function Nt(e, n) {
575
+ if (typeof e.ref == "string" && H.current && n && H.current.stateNode !== n) {
576
+ var i = A(H.current.type);
577
+ me[i] || (R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(H.current.type), e.ref), me[i] = !0);
582
578
  }
583
579
  }
584
- function It(e, n) {
580
+ function Ut(e, n) {
585
581
  {
586
582
  var i = function() {
587
- Ne || (Ne = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
583
+ Ve || (Ve = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
588
584
  };
589
585
  i.isReactWarning = !0, Object.defineProperty(e, "key", {
590
586
  get: i,
@@ -592,10 +588,10 @@ function ir() {
592
588
  });
593
589
  }
594
590
  }
595
- function Nt(e, n) {
591
+ function Vt(e, n) {
596
592
  {
597
593
  var i = function() {
598
- Ue || (Ue = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
594
+ $e || ($e = !0, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
599
595
  };
600
596
  i.isReactWarning = !0, Object.defineProperty(e, "ref", {
601
597
  get: i,
@@ -603,7 +599,7 @@ function ir() {
603
599
  });
604
600
  }
605
601
  }
606
- var Ut = function(e, n, i, u, v, _, m) {
602
+ var $t = function(e, n, i, u, v, _, m) {
607
603
  var d = {
608
604
  // This tag allows us to uniquely identify this as a React Element
609
605
  $$typeof: r,
@@ -632,41 +628,41 @@ function ir() {
632
628
  value: v
633
629
  }), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
634
630
  };
635
- function Vt(e, n, i, u, v) {
631
+ function Yt(e, n, i, u, v) {
636
632
  {
637
633
  var _, m = {}, d = null, P = null;
638
- i !== void 0 && (Ie(i), d = "" + i), Lt(n) && (Ie(n.key), d = "" + n.key), Ft(n) && (P = n.ref, kt(n, v));
634
+ i !== void 0 && (Ue(i), d = "" + i), It(n) && (Ue(n.key), d = "" + n.key), Lt(n) && (P = n.ref, Nt(n, v));
639
635
  for (_ in n)
640
- ne.call(n, _) && !Dt.hasOwnProperty(_) && (m[_] = n[_]);
636
+ W.call(n, _) && !Ft.hasOwnProperty(_) && (m[_] = n[_]);
641
637
  if (e && e.defaultProps) {
642
638
  var S = e.defaultProps;
643
639
  for (_ in S)
644
640
  m[_] === void 0 && (m[_] = S[_]);
645
641
  }
646
642
  if (d || P) {
647
- var R = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
648
- d && It(m, R), P && Nt(m, R);
643
+ var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
644
+ d && Ut(m, T), P && Vt(m, T);
649
645
  }
650
- return Ut(e, d, P, v, u, B.current, m);
646
+ return $t(e, d, P, v, u, H.current, m);
651
647
  }
652
648
  }
653
- var me = j.ReactCurrentOwner, Ve = j.ReactDebugCurrentFrame;
654
- function N(e) {
649
+ var pe = D.ReactCurrentOwner, Ye = D.ReactDebugCurrentFrame;
650
+ function U(e) {
655
651
  if (e) {
656
- var n = e._owner, i = re(e.type, e._source, n ? n.type : null);
657
- Ve.setExtraStackFrame(i);
652
+ var n = e._owner, i = ae(e.type, e._source, n ? n.type : null);
653
+ Ye.setExtraStackFrame(i);
658
654
  } else
659
- Ve.setExtraStackFrame(null);
655
+ Ye.setExtraStackFrame(null);
660
656
  }
661
- var pe;
662
- pe = !1;
663
- function ve(e) {
657
+ var ve;
658
+ ve = !1;
659
+ function ge(e) {
664
660
  return typeof e == "object" && e !== null && e.$$typeof === r;
665
661
  }
666
- function $e() {
662
+ function Be() {
667
663
  {
668
- if (me.current) {
669
- var e = A(me.current.type);
664
+ if (pe.current) {
665
+ var e = A(pe.current.type);
670
666
  if (e)
671
667
  return `
672
668
 
@@ -675,7 +671,7 @@ Check the render method of \`` + e + "`.";
675
671
  return "";
676
672
  }
677
673
  }
678
- function $t(e) {
674
+ function Bt(e) {
679
675
  {
680
676
  if (e !== void 0) {
681
677
  var n = e.fileName.replace(/^.*[\\\/]/, ""), i = e.lineNumber;
@@ -686,10 +682,10 @@ Check your code at ` + n + ":" + i + ".";
686
682
  return "";
687
683
  }
688
684
  }
689
- var Ye = {};
690
- function Yt(e) {
685
+ var We = {};
686
+ function Wt(e) {
691
687
  {
692
- var n = $e();
688
+ var n = Be();
693
689
  if (!n) {
694
690
  var i = typeof e == "string" ? e : e.displayName || e.name;
695
691
  i && (n = `
@@ -699,39 +695,39 @@ Check the top-level render call using <` + i + ">.");
699
695
  return n;
700
696
  }
701
697
  }
702
- function Be(e, n) {
698
+ function He(e, n) {
703
699
  {
704
700
  if (!e._store || e._store.validated || e.key != null)
705
701
  return;
706
702
  e._store.validated = !0;
707
- var i = Yt(n);
708
- if (Ye[i])
703
+ var i = Wt(n);
704
+ if (We[i])
709
705
  return;
710
- Ye[i] = !0;
706
+ We[i] = !0;
711
707
  var u = "";
712
- e && e._owner && e._owner !== me.current && (u = " It was passed a child from " + A(e._owner.type) + "."), N(e), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, u), N(null);
708
+ e && e._owner && e._owner !== pe.current && (u = " It was passed a child from " + A(e._owner.type) + "."), U(e), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, u), U(null);
713
709
  }
714
710
  }
715
- function We(e, n) {
711
+ function ze(e, n) {
716
712
  {
717
713
  if (typeof e != "object")
718
714
  return;
719
- if (fe(e))
715
+ if (de(e))
720
716
  for (var i = 0; i < e.length; i++) {
721
717
  var u = e[i];
722
- ve(u) && Be(u, n);
718
+ ge(u) && He(u, n);
723
719
  }
724
- else if (ve(e))
720
+ else if (ge(e))
725
721
  e._store && (e._store.validated = !0);
726
722
  else if (e) {
727
- var v = F(e);
723
+ var v = k(e);
728
724
  if (typeof v == "function" && v !== e.entries)
729
725
  for (var _ = v.call(e), m; !(m = _.next()).done; )
730
- ve(m.value) && Be(m.value, n);
726
+ ge(m.value) && He(m.value, n);
731
727
  }
732
728
  }
733
729
  }
734
- function Bt(e) {
730
+ function Ht(e) {
735
731
  {
736
732
  var n = e.type;
737
733
  if (n == null || typeof n == "string")
@@ -747,81 +743,96 @@ Check the top-level render call using <` + i + ">.");
747
743
  return;
748
744
  if (i) {
749
745
  var u = A(n);
750
- wt(i, e.props, "prop", u, e);
751
- } else if (n.PropTypes !== void 0 && !pe) {
752
- pe = !0;
746
+ xt(i, e.props, "prop", u, e);
747
+ } else if (n.PropTypes !== void 0 && !ve) {
748
+ ve = !0;
753
749
  var v = A(n);
754
- T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
750
+ R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
755
751
  }
756
- typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
752
+ typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
757
753
  }
758
754
  }
759
- function Wt(e) {
755
+ function zt(e) {
760
756
  {
761
757
  for (var n = Object.keys(e.props), i = 0; i < n.length; i++) {
762
758
  var u = n[i];
763
759
  if (u !== "children" && u !== "key") {
764
- N(e), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), N(null);
760
+ U(e), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), U(null);
765
761
  break;
766
762
  }
767
763
  }
768
- e.ref !== null && (N(e), T("Invalid attribute `ref` supplied to `React.Fragment`."), N(null));
764
+ e.ref !== null && (U(e), R("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
769
765
  }
770
766
  }
771
- function He(e, n, i, u, v, _) {
767
+ var Ke = {};
768
+ function qe(e, n, i, u, v, _) {
772
769
  {
773
- var m = St(e);
770
+ var m = Tt(e);
774
771
  if (!m) {
775
772
  var d = "";
776
773
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
777
- var P = $t(v);
778
- P ? d += P : d += $e();
774
+ var P = Bt(v);
775
+ P ? d += P : d += Be();
779
776
  var S;
780
- e === null ? S = "null" : fe(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (A(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, d);
777
+ e === null ? S = "null" : de(e) ? S = "array" : e !== void 0 && e.$$typeof === r ? (S = "<" + (A(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, d);
781
778
  }
782
- var R = Vt(e, n, i, v, _);
783
- if (R == null)
784
- return R;
779
+ var T = Yt(e, n, i, v, _);
780
+ if (T == null)
781
+ return T;
785
782
  if (m) {
786
- var w = n.children;
787
- if (w !== void 0)
783
+ var j = n.children;
784
+ if (j !== void 0)
788
785
  if (u)
789
- if (fe(w)) {
790
- for (var U = 0; U < w.length; U++)
791
- We(w[U], e);
792
- Object.freeze && Object.freeze(w);
786
+ if (de(j)) {
787
+ for (var V = 0; V < j.length; V++)
788
+ ze(j[V], e);
789
+ Object.freeze && Object.freeze(j);
793
790
  } else
794
- T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
791
+ R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
795
792
  else
796
- We(w, e);
793
+ ze(j, e);
797
794
  }
798
- return e === s ? Wt(R) : Bt(R), R;
795
+ if (W.call(n, "key")) {
796
+ var N = A(e), w = Object.keys(n).filter(function(Xt) {
797
+ return Xt !== "key";
798
+ }), ye = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
799
+ if (!Ke[N + ye]) {
800
+ var Zt = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
801
+ R(`A props object containing a "key" prop is being spread into JSX:
802
+ let props = %s;
803
+ <%s {...props} />
804
+ React keys must be passed directly to JSX without using spread:
805
+ let props = %s;
806
+ <%s key={someKey} {...props} />`, ye, N, Zt, N), Ke[N + ye] = !0;
807
+ }
808
+ }
809
+ return e === s ? zt(T) : Ht(T), T;
799
810
  }
800
811
  }
801
- function Ht(e, n, i) {
802
- return He(e, n, i, !0);
812
+ function Kt(e, n, i) {
813
+ return qe(e, n, i, !0);
803
814
  }
804
- function zt(e, n, i) {
805
- return He(e, n, i, !1);
815
+ function qt(e, n, i) {
816
+ return qe(e, n, i, !1);
806
817
  }
807
- var qt = zt, Gt = Ht;
808
- z.Fragment = s, z.jsx = qt, z.jsxs = Gt;
809
- }()), z;
818
+ var Gt = qt, Jt = Kt;
819
+ q.Fragment = s, q.jsx = Gt, q.jsxs = Jt;
820
+ }()), q;
810
821
  }
811
- process.env.NODE_ENV === "production" ? he.exports = or() : he.exports = ir();
812
- var G = he.exports;
813
- function Jr({
822
+ process.env.NODE_ENV === "production" ? be.exports = ur() : be.exports = lr();
823
+ var J = be.exports;
824
+ function Qr({
814
825
  children: t,
815
826
  maps: r,
816
827
  externalSync: a
817
828
  }) {
818
- const [s, o] = et(rr, {
829
+ const [s, o] = rt(ir, {
819
830
  ...Z.state,
820
831
  maps: r.reduce((g, h) => (g[h.id] = {
821
832
  ...h,
822
833
  isLoaded: !1
823
834
  }, g), Z.state.maps)
824
- }), l = ie(
835
+ }), l = se(
825
836
  r.reduce((g, h) => (g[h.id] = {
826
837
  instanceRef: {
827
838
  current: null
@@ -841,30 +852,30 @@ function Jr({
841
852
  ), y = M(
842
853
  (g, h) => {
843
854
  o({
844
- type: L.SetViewState,
855
+ type: F.SetViewState,
845
856
  payload: {
846
857
  id: h,
847
858
  viewState: g
848
859
  }
849
- }), f(h, L.SetViewState, g);
860
+ }), f(h, F.SetViewState, g);
850
861
  },
851
862
  [o, f]
852
863
  ), c = M(
853
864
  ({ height: g, width: h }, x) => {
854
865
  o({
855
- type: L.SetResize,
866
+ type: F.SetResize,
856
867
  payload: {
857
868
  id: x,
858
869
  height: g,
859
870
  width: h
860
871
  }
861
- }), f(x, L.SetResize, { height: g, width: h });
872
+ }), f(x, F.SetResize, { height: g, width: h });
862
873
  },
863
874
  [o, f]
864
875
  ), E = M(
865
876
  (g, h) => {
866
877
  o({
867
- type: L.SetBasemap,
878
+ type: F.SetBasemap,
868
879
  payload: {
869
880
  id: h,
870
881
  basemap: g
@@ -875,7 +886,7 @@ function Jr({
875
886
  ), p = M(
876
887
  (g, h) => {
877
888
  o({
878
- type: L.SetZoom,
889
+ type: F.SetZoom,
879
890
  payload: {
880
891
  id: h,
881
892
  zoom: g
@@ -886,7 +897,7 @@ function Jr({
886
897
  ), b = M(
887
898
  (g, h) => {
888
899
  o({
889
- type: L.SetLoaded,
900
+ type: F.SetLoaded,
890
901
  payload: {
891
902
  id: h,
892
903
  value: g
@@ -894,16 +905,16 @@ function Jr({
894
905
  });
895
906
  },
896
907
  [o]
897
- ), O = ie({
908
+ ), O = se({
898
909
  setViewState: y,
899
910
  setBasemap: E,
900
911
  setResize: c,
901
912
  setZoom: p,
902
913
  setLoaded: b
903
914
  });
904
- return /* @__PURE__ */ G.jsx(ot.Provider, { value: O.current, children: /* @__PURE__ */ G.jsx(at.Provider, { value: l, children: /* @__PURE__ */ G.jsx(nt.Provider, { value: s, children: t }) }) });
915
+ return /* @__PURE__ */ J.jsx(st.Provider, { value: O.current, children: /* @__PURE__ */ J.jsx(it.Provider, { value: l, children: /* @__PURE__ */ J.jsx(ot.Provider, { value: s, children: t }) }) });
905
916
  }
906
- const it = {
917
+ const ct = {
907
918
  NUMBER: {
908
919
  style: "decimal",
909
920
  maximumFractionDigits: 1,
@@ -925,92 +936,92 @@ const it = {
925
936
  day: "2-digit"
926
937
  }
927
938
  };
928
- function st(t, r, a) {
939
+ function ut(t, r, a) {
929
940
  return Intl.NumberFormat(r, a).format(t);
930
941
  }
931
- function ct(t, r, a = {}) {
932
- return st(t, r, { ...it.NUMBER, ...a });
942
+ function lt(t, r, a = {}) {
943
+ return ut(t, r, { ...ct.NUMBER, ...a });
933
944
  }
934
- function sr(t, r, a = {}) {
935
- return st(t, r, { ...it.CURRENCY, ...a });
945
+ function fr(t, r, a = {}) {
946
+ return ut(t, r, { ...ct.CURRENCY, ...a });
936
947
  }
937
- var k = /* @__PURE__ */ ((t) => (t.CURRENCY = "CURRENCY", t.DEFAULT = "DEFAULT", t.NUMBER = "NUMBER", t))(k || {});
948
+ var L = /* @__PURE__ */ ((t) => (t.CURRENCY = "CURRENCY", t.DEFAULT = "DEFAULT", t.NUMBER = "NUMBER", t))(L || {});
938
949
  const Ze = {
939
- [k.CURRENCY]: {
940
- type: k.CURRENCY,
941
- format: (t, r) => sr(t, r)
950
+ [L.CURRENCY]: {
951
+ type: L.CURRENCY,
952
+ format: (t, r) => fr(t, r)
942
953
  },
943
- [k.NUMBER]: {
944
- type: k.NUMBER,
945
- format: (t, r) => ct(t, r)
954
+ [L.NUMBER]: {
955
+ type: L.NUMBER,
956
+ format: (t, r) => lt(t, r)
946
957
  },
947
- [k.DEFAULT]: {
948
- type: k.DEFAULT,
958
+ [L.DEFAULT]: {
959
+ type: L.DEFAULT,
949
960
  format: (t) => t.toLocaleString()
950
961
  }
951
962
  };
952
- function Kr({
963
+ function en({
953
964
  properties: t,
954
965
  formatters: r = {},
955
966
  includeColumns: a = Object.keys(t),
956
967
  locale: s = "en-US",
957
968
  showColumnName: o = !0,
958
969
  title: l,
959
- getColumnName: f = dr,
960
- getFieldHtml: y = ur,
961
- getTitle: c = cr,
962
- getValue: E = lr
970
+ getColumnName: f = gr,
971
+ getFieldHtml: y = mr,
972
+ getTitle: c = dr,
973
+ getValue: E = pr
963
974
  }) {
964
975
  const p = l ? c(l) : "", O = a.reduce((g, h) => {
965
- const x = r[h], F = t[h], j = E(F, s, x), T = o ? f(h) : "";
966
- return g + y(T, j);
976
+ const x = r[h], k = t[h], D = E(k, s, x), R = o ? f(h) : "";
977
+ return g + y(R, D);
967
978
  }, "");
968
979
  return p + O;
969
980
  }
970
- function cr(t) {
981
+ function dr(t) {
971
982
  return `<h3 style="margin: 0"><strong>${t}</strong></h3></br>`;
972
983
  }
973
- function ur(t, r) {
984
+ function mr(t, r) {
974
985
  return `${t}${r}</br>`;
975
986
  }
976
- function lr(t, r, a) {
987
+ function pr(t, r, a) {
977
988
  try {
978
- return fr(a)(t, r);
989
+ return vr(a)(t, r);
979
990
  } catch {
980
991
  return t;
981
992
  }
982
993
  }
983
- function fr(t) {
984
- return typeof t == "function" ? t : (t && Ze[t] || Ze[k.DEFAULT]).format;
994
+ function vr(t) {
995
+ return typeof t == "function" ? t : (t && Ze[t] || Ze[L.DEFAULT]).format;
985
996
  }
986
- function dr(t) {
997
+ function gr(t) {
987
998
  return `<strong>${t}</strong>: `;
988
999
  }
989
- function mr(t) {
990
- return ye[t]?.type;
1000
+ function yr(t) {
1001
+ return Ee[t]?.type;
991
1002
  }
992
- function pr(t) {
993
- return mr(t) === rt.GoogleMaps;
1003
+ function hr(t) {
1004
+ return yr(t) === at.GoogleMaps;
994
1005
  }
995
- function vr({ mapId: t }) {
996
- const { isLoaded: r, basemap: a } = be(t), { getOverlayInstance: s } = _e(t);
997
- return Zt(() => {
998
- if (!r || !pr(a))
1006
+ function Er({ mapId: t }) {
1007
+ const { isLoaded: r, basemap: a } = Se(t), { getOverlayInstance: s } = Re(t);
1008
+ return Qt(() => {
1009
+ if (!r || !hr(a))
999
1010
  return null;
1000
1011
  const l = s()?.getDiv();
1001
- return new Jt(l, {});
1012
+ return new er(l, {});
1002
1013
  }, [r, s, a]);
1003
1014
  }
1004
- var C = /* @__PURE__ */ ((t) => (t.milimeter = "milimeter", t.centimeter = "centimeter", t.meter = "meter", t.kilometer = "kilometer", t.mile = "mile", t.feet = "feet", t))(C || {}), ut = /* @__PURE__ */ ((t) => (t.meters = "meters", t.kilometer = "kilometers", t.mile = "miles", t))(ut || {}), se = /* @__PURE__ */ ((t) => (t.AddPosition = "addPosition", t.Finish = "finish", t))(se || {});
1005
- const Je = [
1015
+ var C = /* @__PURE__ */ ((t) => (t.milimeter = "milimeter", t.centimeter = "centimeter", t.meter = "meter", t.kilometer = "kilometer", t.mile = "mile", t.feet = "feet", t))(C || {}), ft = /* @__PURE__ */ ((t) => (t.meters = "meters", t.kilometer = "kilometers", t.mile = "miles", t))(ft || {}), ce = /* @__PURE__ */ ((t) => (t.AddPosition = "addPosition", t.Finish = "finish", t))(ce || {});
1016
+ const Xe = [
1006
1017
  "anyclick",
1007
1018
  "pointermove",
1008
1019
  "panstart",
1009
1020
  "panmove",
1010
1021
  "panend",
1011
1022
  "keyup"
1012
- ], gr = "mapMeasureLayer", yr = {
1013
- id: gr,
1023
+ ], br = "mapMeasureLayer", _r = {
1024
+ id: br,
1014
1025
  pickable: !1,
1015
1026
  billboard: !1,
1016
1027
  editHandlePointRadiusUnits: "pixels",
@@ -1035,24 +1046,24 @@ const Je = [
1035
1046
  getLineWidth: 2
1036
1047
  }
1037
1048
  }
1038
- }, Ee = {
1049
+ }, _e = {
1039
1050
  editing: [71, 219, 153, 255],
1040
1051
  finished: [49, 153, 107, 255]
1041
- }, hr = {
1052
+ }, Sr = {
1042
1053
  styles: {
1043
1054
  colors: {
1044
- editing: Ee.editing,
1045
- finished: Ee.finished
1055
+ editing: _e.editing,
1056
+ finished: _e.finished
1046
1057
  }
1047
1058
  }
1048
- }, Ke = {
1059
+ }, Qe = {
1049
1060
  [C.kilometer]: "km",
1050
1061
  [C.centimeter]: "cm",
1051
1062
  [C.milimeter]: "mm",
1052
1063
  [C.mile]: "mi",
1053
1064
  [C.meter]: "m",
1054
1065
  [C.feet]: "ft"
1055
- }, Er = {
1066
+ }, Rr = {
1056
1067
  [C.kilometer]: "kilometer",
1057
1068
  [C.centimeter]: "centimeter",
1058
1069
  [C.milimeter]: "millimeter",
@@ -1060,14 +1071,14 @@ const Je = [
1060
1071
  [C.meter]: "meter",
1061
1072
  [C.feet]: "foot"
1062
1073
  };
1063
- class br extends Kt {
1074
+ class Tr extends tr {
1064
1075
  eventManager;
1065
1076
  constructor(r) {
1066
1077
  super(r), this.eventManager = r.eventManager;
1067
1078
  }
1068
1079
  _addEventHandlers() {
1069
1080
  const r = this._getEventManager(), { eventHandler: a } = this.state._editableLayerState;
1070
- for (const s of Je)
1081
+ for (const s of Xe)
1071
1082
  r.on(s, a, {
1072
1083
  // give nebula a higher priority so that it can stop propagation to deck.gl's map panning handlers
1073
1084
  priority: 100
@@ -1075,7 +1086,7 @@ class br extends Kt {
1075
1086
  }
1076
1087
  _removeEventHandlers(r = void 0) {
1077
1088
  const a = r || this._getEventManager(), { eventHandler: s } = this.state._editableLayerState;
1078
- for (const o of Je)
1089
+ for (const o of Xe)
1079
1090
  a.off(o, s);
1080
1091
  }
1081
1092
  _getEventManager() {
@@ -1083,12 +1094,12 @@ class br extends Kt {
1083
1094
  this.context.deck.eventManager;
1084
1095
  }
1085
1096
  }
1086
- class _r extends Xt {
1097
+ class Mr extends rr {
1087
1098
  handleClick(r, a) {
1088
1099
  super.handleClick(r, a), a.onEdit({
1089
1100
  // data is the same
1090
1101
  updatedData: a.data,
1091
- editType: se.AddPosition,
1102
+ editType: ce.AddPosition,
1092
1103
  editContext: {
1093
1104
  distance: this._currentDistance,
1094
1105
  finished: this._isMeasuringSessionFinished
@@ -1105,7 +1116,7 @@ class _r extends Xt {
1105
1116
  case "Escape":
1106
1117
  this._isMeasuringSessionFinished = !0, o === 1 && (this.resetClickSequence(), this._currentTooltips = []), a.onUpdateCursor("cell"), a.onEdit({
1107
1118
  updatedData: a.data,
1108
- editType: se.Finish,
1119
+ editType: ce.Finish,
1109
1120
  editContext: {
1110
1121
  finished: this._isMeasuringSessionFinished
1111
1122
  }
@@ -1114,81 +1125,81 @@ class _r extends Xt {
1114
1125
  }
1115
1126
  }
1116
1127
  }
1117
- var Sr = function(r) {
1118
- return Rr(r) && !Tr(r);
1128
+ var Or = function(r) {
1129
+ return Pr(r) && !Cr(r);
1119
1130
  };
1120
- function Rr(t) {
1131
+ function Pr(t) {
1121
1132
  return !!t && typeof t == "object";
1122
1133
  }
1123
- function Tr(t) {
1134
+ function Cr(t) {
1124
1135
  var r = Object.prototype.toString.call(t);
1125
- return r === "[object RegExp]" || r === "[object Date]" || Pr(t);
1136
+ return r === "[object RegExp]" || r === "[object Date]" || xr(t);
1126
1137
  }
1127
- var Mr = typeof Symbol == "function" && Symbol.for, Or = Mr ? Symbol.for("react.element") : 60103;
1128
- function Pr(t) {
1129
- return t.$$typeof === Or;
1138
+ var wr = typeof Symbol == "function" && Symbol.for, jr = wr ? Symbol.for("react.element") : 60103;
1139
+ function xr(t) {
1140
+ return t.$$typeof === jr;
1130
1141
  }
1131
- function Cr(t) {
1142
+ function Ar(t) {
1132
1143
  return Array.isArray(t) ? [] : {};
1133
1144
  }
1134
- function J(t, r) {
1135
- return r.clone !== !1 && r.isMergeableObject(t) ? $(Cr(t), t, r) : t;
1145
+ function X(t, r) {
1146
+ return r.clone !== !1 && r.isMergeableObject(t) ? Y(Ar(t), t, r) : t;
1136
1147
  }
1137
- function wr(t, r, a) {
1148
+ function Dr(t, r, a) {
1138
1149
  return t.concat(r).map(function(s) {
1139
- return J(s, a);
1150
+ return X(s, a);
1140
1151
  });
1141
1152
  }
1142
- function xr(t, r) {
1153
+ function kr(t, r) {
1143
1154
  if (!r.customMerge)
1144
- return $;
1155
+ return Y;
1145
1156
  var a = r.customMerge(t);
1146
- return typeof a == "function" ? a : $;
1157
+ return typeof a == "function" ? a : Y;
1147
1158
  }
1148
- function jr(t) {
1159
+ function Fr(t) {
1149
1160
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(r) {
1150
1161
  return Object.propertyIsEnumerable.call(t, r);
1151
1162
  }) : [];
1152
1163
  }
1153
- function Xe(t) {
1154
- return Object.keys(t).concat(jr(t));
1164
+ function et(t) {
1165
+ return Object.keys(t).concat(Fr(t));
1155
1166
  }
1156
- function lt(t, r) {
1167
+ function dt(t, r) {
1157
1168
  try {
1158
1169
  return r in t;
1159
1170
  } catch {
1160
1171
  return !1;
1161
1172
  }
1162
1173
  }
1163
- function Ar(t, r) {
1164
- return lt(t, r) && !(Object.hasOwnProperty.call(t, r) && Object.propertyIsEnumerable.call(t, r));
1174
+ function Lr(t, r) {
1175
+ return dt(t, r) && !(Object.hasOwnProperty.call(t, r) && Object.propertyIsEnumerable.call(t, r));
1165
1176
  }
1166
- function Dr(t, r, a) {
1177
+ function Ir(t, r, a) {
1167
1178
  var s = {};
1168
- return a.isMergeableObject(t) && Xe(t).forEach(function(o) {
1169
- s[o] = J(t[o], a);
1170
- }), Xe(r).forEach(function(o) {
1171
- Ar(t, o) || (lt(t, o) && a.isMergeableObject(r[o]) ? s[o] = xr(o, a)(t[o], r[o], a) : s[o] = J(r[o], a));
1179
+ return a.isMergeableObject(t) && et(t).forEach(function(o) {
1180
+ s[o] = X(t[o], a);
1181
+ }), et(r).forEach(function(o) {
1182
+ Lr(t, o) || (dt(t, o) && a.isMergeableObject(r[o]) ? s[o] = kr(o, a)(t[o], r[o], a) : s[o] = X(r[o], a));
1172
1183
  }), s;
1173
1184
  }
1174
- function $(t, r, a) {
1175
- a = a || {}, a.arrayMerge = a.arrayMerge || wr, a.isMergeableObject = a.isMergeableObject || Sr, a.cloneUnlessOtherwiseSpecified = J;
1185
+ function Y(t, r, a) {
1186
+ a = a || {}, a.arrayMerge = a.arrayMerge || Dr, a.isMergeableObject = a.isMergeableObject || Or, a.cloneUnlessOtherwiseSpecified = X;
1176
1187
  var s = Array.isArray(r), o = Array.isArray(t), l = s === o;
1177
- return l ? s ? a.arrayMerge(t, r, a) : Dr(t, r, a) : J(r, a);
1188
+ return l ? s ? a.arrayMerge(t, r, a) : Ir(t, r, a) : X(r, a);
1178
1189
  }
1179
- $.all = function(r, a) {
1190
+ Y.all = function(r, a) {
1180
1191
  if (!Array.isArray(r))
1181
1192
  throw new Error("first argument should be an array");
1182
1193
  return r.reduce(function(s, o) {
1183
- return $(s, o, a);
1194
+ return Y(s, o, a);
1184
1195
  }, {});
1185
1196
  };
1186
- var Fr = $, Lr = Fr;
1187
- const oe = /* @__PURE__ */ ar(Lr), q = () => {
1197
+ var Nr = Y, Ur = Nr;
1198
+ const ie = /* @__PURE__ */ cr(Ur), G = () => {
1188
1199
  throw new Error(
1189
1200
  "You forgot to wrap your component in <MeasurementToolsProvider>."
1190
1201
  );
1191
- }, Se = {
1202
+ }, Te = {
1192
1203
  state: {
1193
1204
  enable: !1,
1194
1205
  finished: !0,
@@ -1197,24 +1208,24 @@ const oe = /* @__PURE__ */ ar(Lr), q = () => {
1197
1208
  unit: C.kilometer
1198
1209
  },
1199
1210
  actions: {
1200
- setEnable: q,
1201
- setFinished: q,
1202
- setUnit: q,
1203
- setDistance: q,
1204
- setLocale: q
1211
+ setEnable: G,
1212
+ setFinished: G,
1213
+ setUnit: G,
1214
+ setDistance: G,
1215
+ setLocale: G
1205
1216
  }
1206
- }, ft = K(Se.state), dt = K(Se.actions);
1207
- function mt() {
1208
- return X(
1209
- ft
1217
+ }, mt = Q(Te.state), pt = Q(Te.actions);
1218
+ function vt() {
1219
+ return ee(
1220
+ mt
1210
1221
  );
1211
1222
  }
1212
- function pt() {
1213
- return X(
1214
- dt
1223
+ function gt() {
1224
+ return ee(
1225
+ pt
1215
1226
  );
1216
1227
  }
1217
- const kr = {
1228
+ const Vr = {
1218
1229
  nm: {
1219
1230
  name: {
1220
1231
  singular: "Nanometer",
@@ -1257,7 +1268,7 @@ const kr = {
1257
1268
  },
1258
1269
  to_anchor: 1e3
1259
1270
  }
1260
- }, Ir = {
1271
+ }, $r = {
1261
1272
  mil: {
1262
1273
  name: {
1263
1274
  singular: "Mil",
@@ -1314,10 +1325,10 @@ const kr = {
1314
1325
  },
1315
1326
  to_anchor: 6076.12
1316
1327
  }
1317
- }, Nr = {
1328
+ }, Yr = {
1318
1329
  systems: {
1319
- metric: kr,
1320
- imperial: Ir
1330
+ metric: Vr,
1331
+ imperial: $r
1321
1332
  },
1322
1333
  anchors: {
1323
1334
  metric: {
@@ -1331,71 +1342,71 @@ const kr = {
1331
1342
  }
1332
1343
  }
1333
1344
  }
1334
- }, Ur = Qt({
1335
- length: Nr
1345
+ }, Br = nr({
1346
+ length: Yr
1336
1347
  });
1337
- function vt(t, r) {
1338
- return Ur(t).from(Ke[C.meter]).to(Ke[r]);
1348
+ function yt(t, r) {
1349
+ return Br(t).from(Qe[C.meter]).to(Qe[r]);
1339
1350
  }
1340
- function gt({
1351
+ function ht({
1341
1352
  meters: t,
1342
1353
  unit: r,
1343
1354
  locale: a
1344
1355
  }) {
1345
- return `${ct(vt(t, r), a, {
1356
+ return `${lt(yt(t, r), a, {
1346
1357
  style: "unit",
1347
- unit: Er[r],
1358
+ unit: Rr[r],
1348
1359
  unitDisplay: "short"
1349
1360
  })}`;
1350
1361
  }
1351
- function Xr(t, {
1362
+ function tn(t, {
1352
1363
  hasDoubleClickZoom: r
1353
1364
  }) {
1354
1365
  return typeof t == "boolean" ? { doubleClickZoom: r } : { ...t, doubleClickZoom: r };
1355
1366
  }
1356
- function Qr({
1367
+ function rn({
1357
1368
  mapId: t,
1358
- defaultProps: { styles: r = hr.styles } = {},
1369
+ defaultProps: { styles: r = Sr.styles } = {},
1359
1370
  layerProps: a = {}
1360
1371
  }) {
1361
- const { enable: s, unit: o, finished: l, locale: f } = mt(), { setDistance: y, setFinished: c } = pt(), { isLoaded: E } = be(t), p = ie(), b = vr({ mapId: t }), O = l ? r.colors?.finished : r.colors?.editing, g = M(
1362
- ({ editType: T, editContext: Q }) => {
1363
- T === se.AddPosition && y(Q.distance), c(Q.finished);
1372
+ const { enable: s, unit: o, finished: l, locale: f } = vt(), { setDistance: y, setFinished: c } = gt(), { isLoaded: E } = Se(t), p = se(), b = Er({ mapId: t }), O = l ? r.colors?.finished : r.colors?.editing, g = M(
1373
+ ({ editType: R, editContext: te }) => {
1374
+ R === ce.AddPosition && y(te.distance), c(te.finished);
1364
1375
  },
1365
1376
  [y, c]
1366
1377
  );
1367
- if (tt(() => {
1378
+ if (nt(() => {
1368
1379
  s || (p.current = void 0);
1369
1380
  }, [s]), !s || !E)
1370
1381
  return null;
1371
- const { pickable: h, onHover: x, ...F } = Vr(
1382
+ const { pickable: h, onHover: x, ...k } = Wr(
1372
1383
  a,
1373
1384
  f,
1374
1385
  o,
1375
1386
  g,
1376
- O || Ee.guide
1387
+ O || _e.guide
1377
1388
  );
1378
- return !p.current && !F.mode && (p.current = new _r()), new br({
1379
- ...F,
1389
+ return !p.current && !k.mode && (p.current = new Mr()), new Tr({
1390
+ ...k,
1380
1391
  pickable: h || !l,
1381
1392
  onHover: l ? x : void 0,
1382
- mode: F?.mode || p.current,
1393
+ mode: k?.mode || p.current,
1383
1394
  eventManager: b
1384
1395
  });
1385
1396
  }
1386
- function Vr(t, r, a, s, o) {
1387
- const l = oe(t, {
1397
+ function Wr(t, r, a, s, o) {
1398
+ const l = ie(t, {
1388
1399
  modeConfig: {
1389
1400
  // We force distance due to conversion is addressed at feature getText level
1390
1401
  formatTooltip: (c) => c,
1391
1402
  turfOptions: {
1392
- units: ut.meters
1403
+ units: ft.meters
1393
1404
  }
1394
1405
  },
1395
1406
  onEdit: s,
1396
1407
  _subLayerProps: {
1397
1408
  tooltips: {
1398
- getText: (c) => gt({
1409
+ getText: (c) => ht({
1399
1410
  ...c,
1400
1411
  meters: c.text,
1401
1412
  locale: r,
@@ -1406,7 +1417,7 @@ function Vr(t, r, a, s, o) {
1406
1417
  }
1407
1418
  }
1408
1419
  }
1409
- }), f = oe(yr, {
1420
+ }), f = ie(_r, {
1410
1421
  _subLayerProps: {
1411
1422
  guides: {
1412
1423
  getLineColor: o,
@@ -1416,23 +1427,23 @@ function Vr(t, r, a, s, o) {
1416
1427
  getEditHandlePointColor: o,
1417
1428
  getEditHandlePointOutlineColor: o
1418
1429
  });
1419
- return oe(f, l);
1430
+ return ie(f, l);
1420
1431
  }
1421
- function en({ children: t }) {
1422
- const { distance: r, enable: a, unit: s, locale: o } = mt(), { setDistance: l, setEnable: f } = pt(), y = vt(r, s), c = () => {
1432
+ function nn({ children: t }) {
1433
+ const { distance: r, enable: a, unit: s, locale: o } = vt(), { setDistance: l, setEnable: f } = gt(), y = yt(r, s), c = () => {
1423
1434
  l(0), f(!a);
1424
1435
  };
1425
1436
  return t({
1426
1437
  enable: a,
1427
1438
  meters: r,
1428
- text: gt({ meters: r, unit: s, locale: o }),
1439
+ text: ht({ meters: r, unit: s, locale: o }),
1429
1440
  distance: y,
1430
1441
  unit: s,
1431
1442
  onToggleButton: c
1432
1443
  });
1433
1444
  }
1434
- var V = /* @__PURE__ */ ((t) => (t.SetEnable = "SET_ENABLE", t.SetFinished = "SET_FINISHED", t.SetDistance = "SET_DISTANCE", t.SetUnit = "SET_UNIT", t.SetLocale = "SET_LOCALE", t))(V || {});
1435
- function $r(t, { type: r, payload: a }) {
1445
+ var $ = /* @__PURE__ */ ((t) => (t.SetEnable = "SET_ENABLE", t.SetFinished = "SET_FINISHED", t.SetDistance = "SET_DISTANCE", t.SetUnit = "SET_UNIT", t.SetLocale = "SET_LOCALE", t))($ || {});
1446
+ function Hr(t, { type: r, payload: a }) {
1436
1447
  return {
1437
1448
  SET_ENABLE: () => ({
1438
1449
  ...t,
@@ -1457,94 +1468,94 @@ function $r(t, { type: r, payload: a }) {
1457
1468
  })
1458
1469
  }[r]?.() ?? t;
1459
1470
  }
1460
- function tn({
1471
+ function an({
1461
1472
  children: t,
1462
1473
  defaultProps: r = {},
1463
1474
  locale: a
1464
1475
  }) {
1465
- const [s, o] = et(
1466
- $r,
1467
- oe(Se.state, r)
1476
+ const [s, o] = rt(
1477
+ Hr,
1478
+ ie(Te.state, r)
1468
1479
  ), l = M(
1469
1480
  (b) => {
1470
- o({ type: V.SetLocale, payload: b });
1481
+ o({ type: $.SetLocale, payload: b });
1471
1482
  },
1472
1483
  [o]
1473
1484
  );
1474
- tt(() => {
1485
+ nt(() => {
1475
1486
  a && l(a);
1476
1487
  }, [a, l]);
1477
1488
  const f = M(
1478
1489
  (b) => {
1479
- o({ type: V.SetEnable, payload: b });
1490
+ o({ type: $.SetEnable, payload: b });
1480
1491
  },
1481
1492
  [o]
1482
1493
  ), y = M(
1483
1494
  (b) => {
1484
- o({ type: V.SetFinished, payload: b });
1495
+ o({ type: $.SetFinished, payload: b });
1485
1496
  },
1486
1497
  [o]
1487
1498
  ), c = M(
1488
1499
  (b) => {
1489
- o({ type: V.SetDistance, payload: b });
1500
+ o({ type: $.SetDistance, payload: b });
1490
1501
  },
1491
1502
  [o]
1492
1503
  ), E = M(
1493
1504
  (b) => {
1494
- o({ type: V.SetUnit, payload: b });
1505
+ o({ type: $.SetUnit, payload: b });
1495
1506
  },
1496
1507
  [o]
1497
- ), p = ie({
1508
+ ), p = se({
1498
1509
  setEnable: f,
1499
1510
  setFinished: y,
1500
1511
  setDistance: c,
1501
1512
  setUnit: E,
1502
1513
  setLocale: l
1503
1514
  });
1504
- return /* @__PURE__ */ G.jsx(dt.Provider, { value: p.current, children: /* @__PURE__ */ G.jsx(ft.Provider, { value: s, children: t }) });
1515
+ return /* @__PURE__ */ J.jsx(pt.Provider, { value: p.current, children: /* @__PURE__ */ J.jsx(mt.Provider, { value: s, children: t }) });
1505
1516
  }
1506
1517
  export {
1507
- Ke as CONVERSIONS_UNITS,
1508
- ge as CartoBasemapURL,
1509
- tr as CartoBasemapsNames,
1510
- br as CustomEditableGeojsonLayer,
1511
- _r as CustomMeasureDistanceMode,
1512
- Ee as DEFAULT_COLORS,
1513
- yr as DEFAULT_LAYER_PROPS,
1514
- hr as DEFAULT_PROPS,
1515
- Je as EVENT_MANAGER_EVENT_TYPES,
1516
- se as EditType,
1517
- k as FormatterTypes,
1518
- er as GMapsBasemap,
1519
- Er as INTL_UNITS,
1520
- ye as MAPS_BASEMAP,
1521
- gr as MAP_MEASURE_LAYER_ID,
1522
- L as MapActions,
1523
- ot as MapActionsContext,
1524
- nt as MapContext,
1525
- en as MapMeasurementTools,
1526
- Qr as MapMeasurementToolsLayer,
1527
- tn as MapMeasurementToolsProvider,
1518
+ Qe as CONVERSIONS_UNITS,
1519
+ he as CartoBasemapURL,
1520
+ or as CartoBasemapsNames,
1521
+ Tr as CustomEditableGeojsonLayer,
1522
+ Mr as CustomMeasureDistanceMode,
1523
+ _e as DEFAULT_COLORS,
1524
+ _r as DEFAULT_LAYER_PROPS,
1525
+ Sr as DEFAULT_PROPS,
1526
+ Xe as EVENT_MANAGER_EVENT_TYPES,
1527
+ ce as EditType,
1528
+ L as FormatterTypes,
1529
+ ar as GMapsBasemap,
1530
+ Rr as INTL_UNITS,
1531
+ Ee as MAPS_BASEMAP,
1532
+ br as MAP_MEASURE_LAYER_ID,
1533
+ F as MapActions,
1534
+ st as MapActionsContext,
1535
+ ot as MapContext,
1536
+ nn as MapMeasurementTools,
1537
+ rn as MapMeasurementToolsLayer,
1538
+ an as MapMeasurementToolsProvider,
1528
1539
  C as MapMeasurementUnit,
1529
- ut as MapMeasurementUnitTurf,
1530
- Jr as MapProvider,
1531
- at as MapReferencesContext,
1532
- rt as MapsTypes,
1533
- vt as convertMetersTo,
1534
- Xr as getDeckController,
1535
- mr as getMapType,
1536
- gt as getTextLayerFormattedDistance,
1537
- pr as isGmaps,
1538
- Kr as objectToHtml,
1539
- rr as reducer,
1540
- vr as useEventManager,
1541
- be as useMap,
1542
- nr as useMapActions,
1543
- Zr as useMapActionsByID,
1544
- qr as useMapByID,
1545
- mt as useMapMeasurementTools,
1546
- pt as useMapMeasurementToolsActions,
1547
- _e as useMapRefences,
1548
- _e as useMapReferences,
1549
- Gr as useMapReferencesByID
1540
+ ft as MapMeasurementUnitTurf,
1541
+ Qr as MapProvider,
1542
+ it as MapReferencesContext,
1543
+ at as MapsTypes,
1544
+ yt as convertMetersTo,
1545
+ tn as getDeckController,
1546
+ yr as getMapType,
1547
+ ht as getTextLayerFormattedDistance,
1548
+ hr as isGmaps,
1549
+ en as objectToHtml,
1550
+ ir as reducer,
1551
+ Er as useEventManager,
1552
+ Se as useMap,
1553
+ sr as useMapActions,
1554
+ Xr as useMapActionsByID,
1555
+ Jr as useMapByID,
1556
+ vt as useMapMeasurementTools,
1557
+ gt as useMapMeasurementToolsActions,
1558
+ Re as useMapRefences,
1559
+ Re as useMapReferences,
1560
+ Zr as useMapReferencesByID
1550
1561
  };