@carto/ps-react-maps 1.3.1-alpha.1 → 1.3.1-alpha.3

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,9 +1,42 @@
1
- import Ie, { createContext as se, useContext as ue, useReducer as Sr, useRef as Fe, useCallback as I } from "react";
2
- var oe = /* @__PURE__ */ ((t) => (t.Roadmap = "roadmap", t.Satellite = "satellite", t.Hybrid = "hybrid", t))(oe || {}), wr = /* @__PURE__ */ ((t) => (t.DarkMatter = "dark-matter", t.Positron = "positron", t.Voyager = "voyager", t))(wr || {});
3
- const Nr = {
1
+ import Ue, { createContext as se, useContext as ue, useReducer as wr, useRef as Fe, useCallback as I } from "react";
2
+ var Tr = /* @__PURE__ */ ((r) => (r.Roadmap = "roadmap", r.Satellite = "satellite", r.Hybrid = "hybrid", r))(Tr || {}), Cr = /* @__PURE__ */ ((r) => (r.DarkMatter = "dark-matter", r.Positron = "positron", r.Voyager = "voyager", r))(Cr || {});
3
+ const ae = {
4
4
  positron: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",
5
5
  voyager: "https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",
6
6
  "dark-matter": "https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json"
7
+ };
8
+ var Or = /* @__PURE__ */ ((r) => (r.Maplibre = "maplibre", r.GoogleMaps = "google-maps", r))(Or || {});
9
+ const Ae = {
10
+ positron: {
11
+ url: ae.positron,
12
+ type: "maplibre"
13
+ /* Maplibre */
14
+ },
15
+ voyager: {
16
+ url: ae.voyager,
17
+ type: "maplibre"
18
+ /* Maplibre */
19
+ },
20
+ "dark-matter": {
21
+ url: ae[
22
+ "dark-matter"
23
+ /* DarkMatter */
24
+ ],
25
+ type: "maplibre"
26
+ /* Maplibre */
27
+ },
28
+ roadmap: {
29
+ type: "google-maps"
30
+ /* GoogleMaps */
31
+ },
32
+ satellite: {
33
+ type: "google-maps"
34
+ /* GoogleMaps */
35
+ },
36
+ hybrid: {
37
+ type: "google-maps"
38
+ /* GoogleMaps */
39
+ }
7
40
  }, V = () => {
8
41
  throw new Error("You forgot to wrap your component in <MapProvider>.");
9
42
  }, B = {
@@ -24,122 +57,118 @@ const Nr = {
24
57
  }
25
58
  }, Ne = se(
26
59
  B.state
27
- ), Ue = se(B.references), Ve = se(
60
+ ), Ve = se(B.references), Ye = se(
28
61
  B.actions
29
62
  );
30
- var k = /* @__PURE__ */ ((t) => (t.SetViewState = "SetViewState", t.SetBasemap = "SetBasemap", t.SetResize = "SetResize", t.SetZoom = "SetZoom", t.SetLoaded = "SetLoaded", t))(k || {});
31
- function Tr(t, { type: s, payload: d }) {
63
+ var D = /* @__PURE__ */ ((r) => (r.SetViewState = "SetViewState", r.SetBasemap = "SetBasemap", r.SetResize = "SetResize", r.SetZoom = "SetZoom", r.SetLoaded = "SetLoaded", r))(D || {});
64
+ function Pr(r, { type: s, payload: d }) {
32
65
  return {
33
66
  SetViewState: () => {
34
- const { id: o, viewState: g } = d, l = { ...t.maps };
67
+ const { id: o, viewState: y } = d, l = { ...r.maps };
35
68
  return l[o] = {
36
- ...t.maps[o],
37
- viewState: g
69
+ ...r.maps[o],
70
+ viewState: y
38
71
  }, {
39
- ...t,
72
+ ...r,
40
73
  maps: l
41
74
  };
42
75
  },
43
76
  SetResize: () => {
44
- const { id: o, width: g, height: l } = d, b = { ...t.maps };
77
+ const { id: o, width: y, height: l } = d, b = { ...r.maps };
45
78
  return b[o] = {
46
- ...t.maps[o],
79
+ ...r.maps[o],
47
80
  viewState: {
48
- ...t.maps[o].viewState,
49
- width: g,
81
+ ...r.maps[o].viewState,
82
+ width: y,
50
83
  height: l
51
84
  }
52
85
  }, {
53
- ...t,
86
+ ...r,
54
87
  maps: b
55
88
  };
56
89
  },
57
90
  SetBasemap: () => {
58
- const { id: o, basemap: g } = d, l = { ...t.maps }, { basemap: b } = l[o], u = Object.values(oe).includes(
59
- b
60
- ), R = Object.values(oe).includes(
61
- g
62
- ), y = u === R;
91
+ const { id: o, basemap: y } = d, l = { ...r.maps }, { basemap: b } = l[o], u = Ae[b]?.type, R = Ae[y]?.type, g = u === R;
63
92
  return l[o] = {
64
- ...t.maps[o],
65
- basemap: g,
66
- isLoaded: y
93
+ ...r.maps[o],
94
+ basemap: y,
95
+ isLoaded: g
67
96
  }, {
68
- ...t,
97
+ ...r,
69
98
  maps: l
70
99
  };
71
100
  },
72
101
  SetZoom: () => {
73
- const { id: o, zoom: g } = d, l = { ...t.maps };
102
+ const { id: o, zoom: y } = d, l = { ...r.maps };
74
103
  return l[o] = {
75
- ...t.maps[o],
104
+ ...r.maps[o],
76
105
  viewState: {
77
- ...t.maps[o].viewState,
78
- zoom: g
106
+ ...r.maps[o].viewState,
107
+ zoom: y
79
108
  }
80
109
  }, {
81
- ...t,
110
+ ...r,
82
111
  maps: l
83
112
  };
84
113
  },
85
114
  SetLoaded: () => {
86
- const { id: o, value: g } = d, l = { ...t.maps };
115
+ const { id: o, value: y } = d, l = { ...r.maps };
87
116
  return l[o] = {
88
- ...t.maps[o],
89
- isLoaded: g
117
+ ...r.maps[o],
118
+ isLoaded: y
90
119
  }, {
91
- ...t,
120
+ ...r,
92
121
  maps: l
93
122
  };
94
123
  }
95
- }[s]?.() ?? t;
124
+ }[s]?.() ?? r;
96
125
  }
97
- function Cr(t) {
98
- return ue(Ne).maps[t];
126
+ function xr(r) {
127
+ return ue(Ne).maps[r];
99
128
  }
100
- function Ye(t) {
101
- const s = ue(Ue), { instanceRef: d, overlayRef: _ } = s.current[t], o = () => {
129
+ function $e(r) {
130
+ const s = ue(Ve), { instanceRef: d, overlayRef: _ } = s.current[r], o = () => {
102
131
  const R = d?.current;
103
132
  return R?.deck || R?._deck;
104
- }, g = () => _?.current, l = () => o()._getViewState(), b = (R) => o()?.getViewports(R);
133
+ }, y = () => _?.current, l = () => o()._getViewState(), b = (R) => o()?.getViewports(R);
105
134
  return {
106
135
  instanceRef: d,
107
136
  overlayRef: _,
108
137
  getDeckInstance: o,
109
- getOverlayInstance: g,
138
+ getOverlayInstance: y,
110
139
  getViewState: l,
111
- getViewport: (R = 0, y) => b(y)?.[R],
140
+ getViewport: (R = 0, g) => b(g)?.[R],
112
141
  getViewports: b
113
142
  };
114
143
  }
115
- function Or(t) {
116
- const { setBasemap: s, setResize: d, setViewState: _, setZoom: o, setLoaded: g } = ue(Ve), { getViewport: l } = Ye(t);
144
+ function jr(r) {
145
+ const { setBasemap: s, setResize: d, setViewState: _, setZoom: o, setLoaded: y } = ue(Ye), { getViewport: l } = $e(r);
117
146
  return {
118
- setBasemap: (u) => s(u, t),
119
- setResize: (u) => d(u, t),
120
- setViewState: (u) => _(u, t),
121
- setZoom: (u) => o(u, t),
122
- setLoaded: (u) => g(u, t),
147
+ setBasemap: (u) => s(u, r),
148
+ setResize: (u) => d(u, r),
149
+ setViewState: (u) => _(u, r),
150
+ setZoom: (u) => o(u, r),
151
+ setLoaded: (u) => y(u, r),
123
152
  fitBounds: (u, {
124
153
  boundsOptions: R,
125
- viewStateOptions: y
154
+ viewStateOptions: g
126
155
  } = {}) => {
127
- const w = l(), { latitude: C, longitude: v, zoom: p } = w.fitBounds(
156
+ const w = l(), { latitude: C, longitude: p, zoom: v } = w.fitBounds(
128
157
  u,
129
158
  R
130
159
  );
131
- _({ ...y, latitude: C, longitude: v, zoom: p }, t);
160
+ _({ ...g, latitude: C, longitude: p, zoom: v }, r);
132
161
  }
133
162
  };
134
163
  }
135
- function Ur(t) {
136
- return Cr(t);
164
+ function Yr(r) {
165
+ return xr(r);
137
166
  }
138
- function Vr(t) {
139
- return Ye(t);
167
+ function $r(r) {
168
+ return $e(r);
140
169
  }
141
- function Yr(t) {
142
- return Or(t);
170
+ function Br(r) {
171
+ return jr(r);
143
172
  }
144
173
  var ie = { exports: {} }, Y = {};
145
174
  /**
@@ -151,54 +180,54 @@ var ie = { exports: {} }, Y = {};
151
180
  * This source code is licensed under the MIT license found in the
152
181
  * LICENSE file in the root directory of this source tree.
153
182
  */
154
- var Ae;
155
- function xr() {
156
- return Ae || (Ae = 1, process.env.NODE_ENV !== "production" && function() {
157
- var t = Ie, s = Symbol.for("react.element"), d = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), p = Symbol.iterator, j = "@@iterator";
183
+ var Me;
184
+ function kr() {
185
+ return Me || (Me = 1, process.env.NODE_ENV !== "production" && function() {
186
+ var r = Ue, s = Symbol.for("react.element"), d = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), b = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), v = Symbol.iterator, j = "@@iterator";
158
187
  function W(e) {
159
188
  if (e === null || typeof e != "object")
160
189
  return null;
161
- var r = p && e[p] || e[j];
162
- return typeof r == "function" ? r : null;
190
+ var t = v && e[v] || e[j];
191
+ return typeof t == "function" ? t : null;
163
192
  }
164
- var D = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
193
+ var k = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
165
194
  function S(e) {
166
195
  {
167
- for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
196
+ for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
168
197
  n[a - 1] = arguments[a];
169
- We("error", e, n);
198
+ ze("error", e, n);
170
199
  }
171
200
  }
172
- function We(e, r, n) {
201
+ function ze(e, t, n) {
173
202
  {
174
- var a = D.ReactDebugCurrentFrame, f = a.getStackAddendum();
175
- f !== "" && (r += "%s", n = n.concat([f]));
203
+ var a = k.ReactDebugCurrentFrame, f = a.getStackAddendum();
204
+ f !== "" && (t += "%s", n = n.concat([f]));
176
205
  var m = n.map(function(c) {
177
206
  return String(c);
178
207
  });
179
- m.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, m);
208
+ m.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, m);
180
209
  }
181
210
  }
182
- var ze = !1, Ze = !1, qe = !1, He = !1, Je = !1, ce;
211
+ var Ze = !1, qe = !1, He = !1, Je = !1, Ge = !1, ce;
183
212
  ce = Symbol.for("react.module.reference");
184
- function Ge(e) {
185
- return !!(typeof e == "string" || typeof e == "function" || e === _ || e === g || Je || e === o || e === R || e === y || He || e === v || ze || Ze || qe || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === w || e.$$typeof === l || e.$$typeof === b || e.$$typeof === u || // This needs to include all possible module reference object
213
+ function Ke(e) {
214
+ return !!(typeof e == "string" || typeof e == "function" || e === _ || e === y || Ge || e === o || e === R || e === g || Je || e === p || Ze || qe || He || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === w || e.$$typeof === l || e.$$typeof === b || e.$$typeof === u || // This needs to include all possible module reference object
186
215
  // types supported by any Flight configuration anywhere since
187
216
  // we don't know which Flight build this will end up being used
188
217
  // with.
189
218
  e.$$typeof === ce || e.getModuleId !== void 0));
190
219
  }
191
- function Ke(e, r, n) {
220
+ function Xe(e, t, n) {
192
221
  var a = e.displayName;
193
222
  if (a)
194
223
  return a;
195
- var f = r.displayName || r.name || "";
224
+ var f = t.displayName || t.name || "";
196
225
  return f !== "" ? n + "(" + f + ")" : n;
197
226
  }
198
227
  function le(e) {
199
228
  return e.displayName || "Context";
200
229
  }
201
- function x(e) {
230
+ function P(e) {
202
231
  if (e == null)
203
232
  return null;
204
233
  if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -210,32 +239,32 @@ function xr() {
210
239
  return "Fragment";
211
240
  case d:
212
241
  return "Portal";
213
- case g:
242
+ case y:
214
243
  return "Profiler";
215
244
  case o:
216
245
  return "StrictMode";
217
246
  case R:
218
247
  return "Suspense";
219
- case y:
248
+ case g:
220
249
  return "SuspenseList";
221
250
  }
222
251
  if (typeof e == "object")
223
252
  switch (e.$$typeof) {
224
253
  case b:
225
- var r = e;
226
- return le(r) + ".Consumer";
254
+ var t = e;
255
+ return le(t) + ".Consumer";
227
256
  case l:
228
257
  var n = e;
229
258
  return le(n._context) + ".Provider";
230
259
  case u:
231
- return Ke(e, e.render, "ForwardRef");
260
+ return Xe(e, e.render, "ForwardRef");
232
261
  case w:
233
262
  var a = e.displayName || null;
234
- return a !== null ? a : x(e.type) || "Memo";
263
+ return a !== null ? a : P(e.type) || "Memo";
235
264
  case C: {
236
265
  var f = e, m = f._payload, c = f._init;
237
266
  try {
238
- return x(c(m));
267
+ return P(c(m));
239
268
  } catch {
240
269
  return null;
241
270
  }
@@ -243,14 +272,14 @@ function xr() {
243
272
  }
244
273
  return null;
245
274
  }
246
- var A = Object.assign, N = 0, fe, de, ve, pe, me, ge, ye;
275
+ var A = Object.assign, U = 0, fe, de, pe, ve, me, ye, ge;
247
276
  function Re() {
248
277
  }
249
278
  Re.__reactDisabledLog = !0;
250
- function Xe() {
279
+ function Qe() {
251
280
  {
252
- if (N === 0) {
253
- fe = console.log, de = console.info, ve = console.warn, pe = console.error, me = console.group, ge = console.groupCollapsed, ye = console.groupEnd;
281
+ if (U === 0) {
282
+ fe = console.log, de = console.info, pe = console.warn, ve = console.error, me = console.group, ye = console.groupCollapsed, ge = console.groupEnd;
254
283
  var e = {
255
284
  configurable: !0,
256
285
  enumerable: !0,
@@ -267,12 +296,12 @@ function xr() {
267
296
  groupEnd: e
268
297
  });
269
298
  }
270
- N++;
299
+ U++;
271
300
  }
272
301
  }
273
- function Qe() {
302
+ function er() {
274
303
  {
275
- if (N--, N === 0) {
304
+ if (U--, U === 0) {
276
305
  var e = {
277
306
  configurable: !0,
278
307
  enumerable: !0,
@@ -286,27 +315,27 @@ function xr() {
286
315
  value: de
287
316
  }),
288
317
  warn: A({}, e, {
289
- value: ve
318
+ value: pe
290
319
  }),
291
320
  error: A({}, e, {
292
- value: pe
321
+ value: ve
293
322
  }),
294
323
  group: A({}, e, {
295
324
  value: me
296
325
  }),
297
326
  groupCollapsed: A({}, e, {
298
- value: ge
327
+ value: ye
299
328
  }),
300
329
  groupEnd: A({}, e, {
301
- value: ye
330
+ value: ge
302
331
  })
303
332
  });
304
333
  }
305
- N < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
334
+ U < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
306
335
  }
307
336
  }
308
- var G = D.ReactCurrentDispatcher, K;
309
- function z(e, r, n) {
337
+ var G = k.ReactCurrentDispatcher, K;
338
+ function z(e, t, n) {
310
339
  {
311
340
  if (K === void 0)
312
341
  try {
@@ -321,10 +350,10 @@ function xr() {
321
350
  }
322
351
  var X = !1, Z;
323
352
  {
324
- var er = typeof WeakMap == "function" ? WeakMap : Map;
325
- Z = new er();
353
+ var rr = typeof WeakMap == "function" ? WeakMap : Map;
354
+ Z = new rr();
326
355
  }
327
- function Ee(e, r) {
356
+ function Ee(e, t) {
328
357
  if (!e || X)
329
358
  return "";
330
359
  {
@@ -337,9 +366,9 @@ function xr() {
337
366
  var f = Error.prepareStackTrace;
338
367
  Error.prepareStackTrace = void 0;
339
368
  var m;
340
- m = G.current, G.current = null, Xe();
369
+ m = G.current, G.current = null, Qe();
341
370
  try {
342
- if (r) {
371
+ if (t) {
343
372
  var c = function() {
344
373
  throw Error();
345
374
  };
@@ -350,29 +379,29 @@ function xr() {
350
379
  }), typeof Reflect == "object" && Reflect.construct) {
351
380
  try {
352
381
  Reflect.construct(c, []);
353
- } catch (P) {
354
- a = P;
382
+ } catch (x) {
383
+ a = x;
355
384
  }
356
385
  Reflect.construct(e, [], c);
357
386
  } else {
358
387
  try {
359
388
  c.call();
360
- } catch (P) {
361
- a = P;
389
+ } catch (x) {
390
+ a = x;
362
391
  }
363
392
  e.call(c.prototype);
364
393
  }
365
394
  } else {
366
395
  try {
367
396
  throw Error();
368
- } catch (P) {
369
- a = P;
397
+ } catch (x) {
398
+ a = x;
370
399
  }
371
400
  e();
372
401
  }
373
- } catch (P) {
374
- if (P && a && typeof P.stack == "string") {
375
- for (var i = P.stack.split(`
402
+ } catch (x) {
403
+ if (x && a && typeof x.stack == "string") {
404
+ for (var i = x.stack.split(`
376
405
  `), T = a.stack.split(`
377
406
  `), E = i.length - 1, h = T.length - 1; E >= 1 && h >= 0 && i[E] !== T[h]; )
378
407
  h--;
@@ -390,56 +419,56 @@ function xr() {
390
419
  }
391
420
  }
392
421
  } finally {
393
- X = !1, G.current = m, Qe(), Error.prepareStackTrace = f;
422
+ X = !1, G.current = m, er(), Error.prepareStackTrace = f;
394
423
  }
395
- var L = e ? e.displayName || e.name : "", ke = L ? z(L) : "";
396
- return typeof e == "function" && Z.set(e, ke), ke;
424
+ var L = e ? e.displayName || e.name : "", De = L ? z(L) : "";
425
+ return typeof e == "function" && Z.set(e, De), De;
397
426
  }
398
- function rr(e, r, n) {
427
+ function tr(e, t, n) {
399
428
  return Ee(e, !1);
400
429
  }
401
- function tr(e) {
402
- var r = e.prototype;
403
- return !!(r && r.isReactComponent);
430
+ function nr(e) {
431
+ var t = e.prototype;
432
+ return !!(t && t.isReactComponent);
404
433
  }
405
- function q(e, r, n) {
434
+ function q(e, t, n) {
406
435
  if (e == null)
407
436
  return "";
408
437
  if (typeof e == "function")
409
- return Ee(e, tr(e));
438
+ return Ee(e, nr(e));
410
439
  if (typeof e == "string")
411
440
  return z(e);
412
441
  switch (e) {
413
442
  case R:
414
443
  return z("Suspense");
415
- case y:
444
+ case g:
416
445
  return z("SuspenseList");
417
446
  }
418
447
  if (typeof e == "object")
419
448
  switch (e.$$typeof) {
420
449
  case u:
421
- return rr(e.render);
450
+ return tr(e.render);
422
451
  case w:
423
- return q(e.type, r, n);
452
+ return q(e.type, t, n);
424
453
  case C: {
425
454
  var a = e, f = a._payload, m = a._init;
426
455
  try {
427
- return q(m(f), r, n);
456
+ return q(m(f), t, n);
428
457
  } catch {
429
458
  }
430
459
  }
431
460
  }
432
461
  return "";
433
462
  }
434
- var H = Object.prototype.hasOwnProperty, be = {}, he = D.ReactDebugCurrentFrame;
463
+ var H = Object.prototype.hasOwnProperty, be = {}, he = k.ReactDebugCurrentFrame;
435
464
  function J(e) {
436
465
  if (e) {
437
- var r = e._owner, n = q(e.type, e._source, r ? r.type : null);
466
+ var t = e._owner, n = q(e.type, e._source, t ? t.type : null);
438
467
  he.setExtraStackFrame(n);
439
468
  } else
440
469
  he.setExtraStackFrame(null);
441
470
  }
442
- function nr(e, r, n, a, f) {
471
+ function ar(e, t, n, a, f) {
443
472
  {
444
473
  var m = Function.call.bind(H);
445
474
  for (var c in e)
@@ -450,7 +479,7 @@ function xr() {
450
479
  var T = Error((a || "React class") + ": " + n + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
451
480
  throw T.name = "Invariant Violation", T;
452
481
  }
453
- i = e[c](r, c, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
482
+ i = e[c](t, c, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
454
483
  } catch (E) {
455
484
  i = E;
456
485
  }
@@ -458,17 +487,17 @@ function xr() {
458
487
  }
459
488
  }
460
489
  }
461
- var ar = Array.isArray;
490
+ var or = Array.isArray;
462
491
  function Q(e) {
463
- return ar(e);
492
+ return or(e);
464
493
  }
465
- function or(e) {
494
+ function ir(e) {
466
495
  {
467
- var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
496
+ var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
468
497
  return n;
469
498
  }
470
499
  }
471
- function ir(e) {
500
+ function sr(e) {
472
501
  try {
473
502
  return _e(e), !1;
474
503
  } catch {
@@ -479,42 +508,42 @@ function xr() {
479
508
  return "" + e;
480
509
  }
481
510
  function Se(e) {
482
- if (ir(e))
483
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", or(e)), _e(e);
511
+ if (sr(e))
512
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ir(e)), _e(e);
484
513
  }
485
- var U = D.ReactCurrentOwner, sr = {
514
+ var N = k.ReactCurrentOwner, ur = {
486
515
  key: !0,
487
516
  ref: !0,
488
517
  __self: !0,
489
518
  __source: !0
490
519
  }, we, Te, ee;
491
520
  ee = {};
492
- function ur(e) {
521
+ function cr(e) {
493
522
  if (H.call(e, "ref")) {
494
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
495
- if (r && r.isReactWarning)
523
+ var t = Object.getOwnPropertyDescriptor(e, "ref").get;
524
+ if (t && t.isReactWarning)
496
525
  return !1;
497
526
  }
498
527
  return e.ref !== void 0;
499
528
  }
500
- function cr(e) {
529
+ function lr(e) {
501
530
  if (H.call(e, "key")) {
502
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
503
- if (r && r.isReactWarning)
531
+ var t = Object.getOwnPropertyDescriptor(e, "key").get;
532
+ if (t && t.isReactWarning)
504
533
  return !1;
505
534
  }
506
535
  return e.key !== void 0;
507
536
  }
508
- function lr(e, r) {
509
- if (typeof e.ref == "string" && U.current && r && U.current.stateNode !== r) {
510
- var n = x(U.current.type);
511
- ee[n] || (S('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', x(U.current.type), e.ref), ee[n] = !0);
537
+ function fr(e, t) {
538
+ if (typeof e.ref == "string" && N.current && t && N.current.stateNode !== t) {
539
+ var n = P(N.current.type);
540
+ ee[n] || (S('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', P(N.current.type), e.ref), ee[n] = !0);
512
541
  }
513
542
  }
514
- function fr(e, r) {
543
+ function dr(e, t) {
515
544
  {
516
545
  var n = function() {
517
- we || (we = !0, S("%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)", r));
546
+ we || (we = !0, S("%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)", t));
518
547
  };
519
548
  n.isReactWarning = !0, Object.defineProperty(e, "key", {
520
549
  get: n,
@@ -522,10 +551,10 @@ function xr() {
522
551
  });
523
552
  }
524
553
  }
525
- function dr(e, r) {
554
+ function pr(e, t) {
526
555
  {
527
556
  var n = function() {
528
- Te || (Te = !0, S("%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)", r));
557
+ Te || (Te = !0, S("%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)", t));
529
558
  };
530
559
  n.isReactWarning = !0, Object.defineProperty(e, "ref", {
531
560
  get: n,
@@ -533,13 +562,13 @@ function xr() {
533
562
  });
534
563
  }
535
564
  }
536
- var vr = function(e, r, n, a, f, m, c) {
565
+ var vr = function(e, t, n, a, f, m, c) {
537
566
  var i = {
538
567
  // This tag allows us to uniquely identify this as a React Element
539
568
  $$typeof: s,
540
569
  // Built-in properties that belong on the element
541
570
  type: e,
542
- key: r,
571
+ key: t,
543
572
  ref: n,
544
573
  props: c,
545
574
  // Record the component responsible for creating this element.
@@ -562,12 +591,12 @@ function xr() {
562
591
  value: f
563
592
  }), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
564
593
  };
565
- function pr(e, r, n, a, f) {
594
+ function mr(e, t, n, a, f) {
566
595
  {
567
596
  var m, c = {}, i = null, T = null;
568
- n !== void 0 && (Se(n), i = "" + n), cr(r) && (Se(r.key), i = "" + r.key), ur(r) && (T = r.ref, lr(r, f));
569
- for (m in r)
570
- H.call(r, m) && !sr.hasOwnProperty(m) && (c[m] = r[m]);
597
+ n !== void 0 && (Se(n), i = "" + n), lr(t) && (Se(t.key), i = "" + t.key), cr(t) && (T = t.ref, fr(t, f));
598
+ for (m in t)
599
+ H.call(t, m) && !ur.hasOwnProperty(m) && (c[m] = t[m]);
571
600
  if (e && e.defaultProps) {
572
601
  var E = e.defaultProps;
573
602
  for (m in E)
@@ -575,15 +604,15 @@ function xr() {
575
604
  }
576
605
  if (i || T) {
577
606
  var h = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
578
- i && fr(c, h), T && dr(c, h);
607
+ i && dr(c, h), T && pr(c, h);
579
608
  }
580
- return vr(e, i, T, f, a, U.current, c);
609
+ return vr(e, i, T, f, a, N.current, c);
581
610
  }
582
611
  }
583
- var re = D.ReactCurrentOwner, Ce = D.ReactDebugCurrentFrame;
612
+ var re = k.ReactCurrentOwner, Ce = k.ReactDebugCurrentFrame;
584
613
  function M(e) {
585
614
  if (e) {
586
- var r = e._owner, n = q(e.type, e._source, r ? r.type : null);
615
+ var t = e._owner, n = q(e.type, e._source, t ? t.type : null);
587
616
  Ce.setExtraStackFrame(n);
588
617
  } else
589
618
  Ce.setExtraStackFrame(null);
@@ -596,7 +625,7 @@ function xr() {
596
625
  function Oe() {
597
626
  {
598
627
  if (re.current) {
599
- var e = x(re.current.type);
628
+ var e = P(re.current.type);
600
629
  if (e)
601
630
  return `
602
631
 
@@ -605,51 +634,51 @@ Check the render method of \`` + e + "`.";
605
634
  return "";
606
635
  }
607
636
  }
608
- function mr(e) {
637
+ function yr(e) {
609
638
  {
610
639
  if (e !== void 0) {
611
- var r = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
640
+ var t = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
612
641
  return `
613
642
 
614
- Check your code at ` + r + ":" + n + ".";
643
+ Check your code at ` + t + ":" + n + ".";
615
644
  }
616
645
  return "";
617
646
  }
618
647
  }
619
- var xe = {};
648
+ var Pe = {};
620
649
  function gr(e) {
621
650
  {
622
- var r = Oe();
623
- if (!r) {
651
+ var t = Oe();
652
+ if (!t) {
624
653
  var n = typeof e == "string" ? e : e.displayName || e.name;
625
- n && (r = `
654
+ n && (t = `
626
655
 
627
656
  Check the top-level render call using <` + n + ">.");
628
657
  }
629
- return r;
658
+ return t;
630
659
  }
631
660
  }
632
- function Pe(e, r) {
661
+ function xe(e, t) {
633
662
  {
634
663
  if (!e._store || e._store.validated || e.key != null)
635
664
  return;
636
665
  e._store.validated = !0;
637
- var n = gr(r);
638
- if (xe[n])
666
+ var n = gr(t);
667
+ if (Pe[n])
639
668
  return;
640
- xe[n] = !0;
669
+ Pe[n] = !0;
641
670
  var a = "";
642
- e && e._owner && e._owner !== re.current && (a = " It was passed a child from " + x(e._owner.type) + "."), M(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), M(null);
671
+ e && e._owner && e._owner !== re.current && (a = " It was passed a child from " + P(e._owner.type) + "."), M(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), M(null);
643
672
  }
644
673
  }
645
- function je(e, r) {
674
+ function je(e, t) {
646
675
  {
647
676
  if (typeof e != "object")
648
677
  return;
649
678
  if (Q(e))
650
679
  for (var n = 0; n < e.length; n++) {
651
680
  var a = e[n];
652
- ne(a) && Pe(a, r);
681
+ ne(a) && xe(a, t);
653
682
  }
654
683
  else if (ne(e))
655
684
  e._store && (e._store.validated = !0);
@@ -657,39 +686,39 @@ Check the top-level render call using <` + n + ">.");
657
686
  var f = W(e);
658
687
  if (typeof f == "function" && f !== e.entries)
659
688
  for (var m = f.call(e), c; !(c = m.next()).done; )
660
- ne(c.value) && Pe(c.value, r);
689
+ ne(c.value) && xe(c.value, t);
661
690
  }
662
691
  }
663
692
  }
664
- function yr(e) {
693
+ function Rr(e) {
665
694
  {
666
- var r = e.type;
667
- if (r == null || typeof r == "string")
695
+ var t = e.type;
696
+ if (t == null || typeof t == "string")
668
697
  return;
669
698
  var n;
670
- if (typeof r == "function")
671
- n = r.propTypes;
672
- else if (typeof r == "object" && (r.$$typeof === u || // Note: Memo only checks outer props here.
699
+ if (typeof t == "function")
700
+ n = t.propTypes;
701
+ else if (typeof t == "object" && (t.$$typeof === u || // Note: Memo only checks outer props here.
673
702
  // Inner props are checked in the reconciler.
674
- r.$$typeof === w))
675
- n = r.propTypes;
703
+ t.$$typeof === w))
704
+ n = t.propTypes;
676
705
  else
677
706
  return;
678
707
  if (n) {
679
- var a = x(r);
680
- nr(n, e.props, "prop", a, e);
681
- } else if (r.PropTypes !== void 0 && !te) {
708
+ var a = P(t);
709
+ ar(n, e.props, "prop", a, e);
710
+ } else if (t.PropTypes !== void 0 && !te) {
682
711
  te = !0;
683
- var f = x(r);
712
+ var f = P(t);
684
713
  S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
685
714
  }
686
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
715
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
687
716
  }
688
717
  }
689
- function Rr(e) {
718
+ function Er(e) {
690
719
  {
691
- for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
692
- var a = r[n];
720
+ for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
721
+ var a = t[n];
693
722
  if (a !== "children" && a !== "key") {
694
723
  M(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), M(null);
695
724
  break;
@@ -698,22 +727,22 @@ Check the top-level render call using <` + n + ">.");
698
727
  e.ref !== null && (M(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
699
728
  }
700
729
  }
701
- function De(e, r, n, a, f, m) {
730
+ function ke(e, t, n, a, f, m) {
702
731
  {
703
- var c = Ge(e);
732
+ var c = Ke(e);
704
733
  if (!c) {
705
734
  var i = "";
706
735
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
707
- var T = mr(f);
736
+ var T = yr(f);
708
737
  T ? i += T : i += Oe();
709
738
  var E;
710
- e === null ? E = "null" : Q(e) ? E = "array" : e !== void 0 && e.$$typeof === s ? (E = "<" + (x(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, i);
739
+ e === null ? E = "null" : Q(e) ? E = "array" : e !== void 0 && e.$$typeof === s ? (E = "<" + (P(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, i);
711
740
  }
712
- var h = pr(e, r, n, f, m);
741
+ var h = mr(e, t, n, f, m);
713
742
  if (h == null)
714
743
  return h;
715
744
  if (c) {
716
- var O = r.children;
745
+ var O = t.children;
717
746
  if (O !== void 0)
718
747
  if (a)
719
748
  if (Q(O)) {
@@ -725,17 +754,17 @@ Check the top-level render call using <` + n + ">.");
725
754
  else
726
755
  je(O, e);
727
756
  }
728
- return e === _ ? Rr(h) : yr(h), h;
757
+ return e === _ ? Er(h) : Rr(h), h;
729
758
  }
730
759
  }
731
- function Er(e, r, n) {
732
- return De(e, r, n, !0);
760
+ function br(e, t, n) {
761
+ return ke(e, t, n, !0);
733
762
  }
734
- function br(e, r, n) {
735
- return De(e, r, n, !1);
763
+ function hr(e, t, n) {
764
+ return ke(e, t, n, !1);
736
765
  }
737
- var hr = br, _r = Er;
738
- Y.Fragment = _, Y.jsx = hr, Y.jsxs = _r;
766
+ var _r = hr, Sr = br;
767
+ Y.Fragment = _, Y.jsx = _r, Y.jsxs = Sr;
739
768
  }()), Y;
740
769
  }
741
770
  var $ = {};
@@ -748,106 +777,106 @@ var $ = {};
748
777
  * This source code is licensed under the MIT license found in the
749
778
  * LICENSE file in the root directory of this source tree.
750
779
  */
751
- var Me;
752
- function Pr() {
753
- if (Me)
780
+ var Le;
781
+ function Dr() {
782
+ if (Le)
754
783
  return $;
755
- Me = 1;
756
- var t = Ie, s = Symbol.for("react.element"), d = Symbol.for("react.fragment"), _ = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
784
+ Le = 1;
785
+ var r = Ue, s = Symbol.for("react.element"), d = Symbol.for("react.fragment"), _ = Object.prototype.hasOwnProperty, o = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
757
786
  function l(b, u, R) {
758
- var y, w = {}, C = null, v = null;
759
- R !== void 0 && (C = "" + R), u.key !== void 0 && (C = "" + u.key), u.ref !== void 0 && (v = u.ref);
760
- for (y in u)
761
- _.call(u, y) && !g.hasOwnProperty(y) && (w[y] = u[y]);
787
+ var g, w = {}, C = null, p = null;
788
+ R !== void 0 && (C = "" + R), u.key !== void 0 && (C = "" + u.key), u.ref !== void 0 && (p = u.ref);
789
+ for (g in u)
790
+ _.call(u, g) && !y.hasOwnProperty(g) && (w[g] = u[g]);
762
791
  if (b && b.defaultProps)
763
- for (y in u = b.defaultProps, u)
764
- w[y] === void 0 && (w[y] = u[y]);
765
- return { $$typeof: s, type: b, key: C, ref: v, props: w, _owner: o.current };
792
+ for (g in u = b.defaultProps, u)
793
+ w[g] === void 0 && (w[g] = u[g]);
794
+ return { $$typeof: s, type: b, key: C, ref: p, props: w, _owner: o.current };
766
795
  }
767
796
  return $.Fragment = d, $.jsx = l, $.jsxs = l, $;
768
797
  }
769
- process.env.NODE_ENV === "production" ? ie.exports = Pr() : ie.exports = xr();
770
- var ae = ie.exports;
771
- function $r({
772
- children: t,
798
+ process.env.NODE_ENV === "production" ? ie.exports = Dr() : ie.exports = kr();
799
+ var oe = ie.exports;
800
+ function Wr({
801
+ children: r,
773
802
  maps: s,
774
803
  externalSync: d
775
804
  }) {
776
- const [_, o] = Sr(Tr, {
805
+ const [_, o] = wr(Pr, {
777
806
  ...B.state,
778
- maps: s.reduce((v, p) => (v[p.id] = {
779
- ...p,
807
+ maps: s.reduce((p, v) => (p[v.id] = {
808
+ ...v,
780
809
  isLoaded: !1
781
- }, v), B.state.maps)
782
- }), g = Fe(
783
- s.reduce((v, p) => (v[p.id] = {
810
+ }, p), B.state.maps)
811
+ }), y = Fe(
812
+ s.reduce((p, v) => (p[v.id] = {
784
813
  instanceRef: {
785
814
  current: null
786
815
  },
787
816
  overlayRef: {
788
817
  current: null
789
818
  }
790
- }, v), {})
819
+ }, p), {})
791
820
  ), l = I(
792
- (v, p, j) => {
793
- s[0].id === v && d?.({
794
- type: p,
821
+ (p, v, j) => {
822
+ s[0].id === p && d?.({
823
+ type: v,
795
824
  payload: j
796
825
  });
797
826
  },
798
827
  [d, s]
799
828
  ), b = I(
800
- (v, p) => {
829
+ (p, v) => {
801
830
  o({
802
- type: k.SetViewState,
831
+ type: D.SetViewState,
803
832
  payload: {
804
- id: p,
805
- viewState: v
833
+ id: v,
834
+ viewState: p
806
835
  }
807
- }), l(p, k.SetViewState, v);
836
+ }), l(v, D.SetViewState, p);
808
837
  },
809
838
  [o, l]
810
839
  ), u = I(
811
- ({ height: v, width: p }, j) => {
840
+ ({ height: p, width: v }, j) => {
812
841
  o({
813
- type: k.SetResize,
842
+ type: D.SetResize,
814
843
  payload: {
815
844
  id: j,
816
- height: v,
817
- width: p
845
+ height: p,
846
+ width: v
818
847
  }
819
- }), l(j, k.SetResize, { height: v, width: p });
848
+ }), l(j, D.SetResize, { height: p, width: v });
820
849
  },
821
850
  [o, l]
822
851
  ), R = I(
823
- (v, p) => {
852
+ (p, v) => {
824
853
  o({
825
- type: k.SetBasemap,
854
+ type: D.SetBasemap,
826
855
  payload: {
827
- id: p,
828
- basemap: v
856
+ id: v,
857
+ basemap: p
829
858
  }
830
859
  });
831
860
  },
832
861
  [o]
833
- ), y = I(
834
- (v, p) => {
862
+ ), g = I(
863
+ (p, v) => {
835
864
  o({
836
- type: k.SetZoom,
865
+ type: D.SetZoom,
837
866
  payload: {
838
- id: p,
839
- zoom: v
867
+ id: v,
868
+ zoom: p
840
869
  }
841
870
  });
842
871
  },
843
872
  [o]
844
873
  ), w = I(
845
- (v, p) => {
874
+ (p, v) => {
846
875
  o({
847
- type: k.SetLoaded,
876
+ type: D.SetLoaded,
848
877
  payload: {
849
- id: p,
850
- value: v
878
+ id: v,
879
+ value: p
851
880
  }
852
881
  });
853
882
  },
@@ -856,12 +885,12 @@ function $r({
856
885
  setViewState: b,
857
886
  setBasemap: R,
858
887
  setResize: u,
859
- setZoom: y,
888
+ setZoom: g,
860
889
  setLoaded: w
861
890
  });
862
- return /* @__PURE__ */ ae.jsx(Ve.Provider, { value: C.current, children: /* @__PURE__ */ ae.jsx(Ue.Provider, { value: g, children: /* @__PURE__ */ ae.jsx(Ne.Provider, { value: _, children: t }) }) });
891
+ return /* @__PURE__ */ oe.jsx(Ye.Provider, { value: C.current, children: /* @__PURE__ */ oe.jsx(Ve.Provider, { value: y, children: /* @__PURE__ */ oe.jsx(Ne.Provider, { value: _, children: r }) }) });
863
892
  }
864
- const $e = {
893
+ const Be = {
865
894
  NUMBER: {
866
895
  style: "decimal",
867
896
  maximumFractionDigits: 1,
@@ -883,83 +912,85 @@ const $e = {
883
912
  day: "2-digit"
884
913
  }
885
914
  };
886
- function Be(t, s, d) {
887
- return Intl.NumberFormat(s, d).format(t);
915
+ function We(r, s, d) {
916
+ return Intl.NumberFormat(s, d).format(r);
888
917
  }
889
- function jr(t, s, d = {}) {
890
- return Be(t, s, { ...$e.NUMBER, ...d });
918
+ function Fr(r, s, d = {}) {
919
+ return We(r, s, { ...Be.NUMBER, ...d });
891
920
  }
892
- function Dr(t, s, d = {}) {
893
- return Be(t, s, { ...$e.CURRENCY, ...d });
921
+ function Ar(r, s, d = {}) {
922
+ return We(r, s, { ...Be.CURRENCY, ...d });
894
923
  }
895
- var F = /* @__PURE__ */ ((t) => (t.CURRENCY = "CURRENCY", t.DEFAULT = "DEFAULT", t.NUMBER = "NUMBER", t))(F || {});
896
- const Le = {
924
+ var F = /* @__PURE__ */ ((r) => (r.CURRENCY = "CURRENCY", r.DEFAULT = "DEFAULT", r.NUMBER = "NUMBER", r))(F || {});
925
+ const Ie = {
897
926
  [F.CURRENCY]: {
898
927
  type: F.CURRENCY,
899
- format: (t, s) => Dr(t, s)
928
+ format: (r, s) => Ar(r, s)
900
929
  },
901
930
  [F.NUMBER]: {
902
931
  type: F.NUMBER,
903
- format: (t, s) => jr(t, s)
932
+ format: (r, s) => Fr(r, s)
904
933
  },
905
934
  [F.DEFAULT]: {
906
935
  type: F.DEFAULT,
907
- format: (t) => t.toLocaleString()
936
+ format: (r) => r.toLocaleString()
908
937
  }
909
938
  };
910
- function Br({
911
- properties: t,
939
+ function zr({
940
+ properties: r,
912
941
  formatters: s = {},
913
- includeColumns: d = Object.keys(t),
942
+ includeColumns: d = Object.keys(r),
914
943
  locale: _ = "en-US",
915
944
  showColumnName: o = !0,
916
- title: g,
917
- getColumnName: l = Lr,
918
- getFieldHtml: b = Fr,
919
- getTitle: u = kr,
920
- getValue: R = Ar
945
+ title: y,
946
+ getColumnName: l = Nr,
947
+ getFieldHtml: b = Lr,
948
+ getTitle: u = Mr,
949
+ getValue: R = Ir
921
950
  }) {
922
- const y = g ? u(g) : "", C = d.reduce((v, p) => {
923
- const j = s[p], W = t[p], D = R(W, _, j), S = o ? l(p) : "";
924
- return v + b(S, D);
951
+ const g = y ? u(y) : "", C = d.reduce((p, v) => {
952
+ const j = s[v], W = r[v], k = R(W, _, j), S = o ? l(v) : "";
953
+ return p + b(S, k);
925
954
  }, "");
926
- return y + C;
955
+ return g + C;
927
956
  }
928
- function kr(t) {
929
- return `<h3 style="margin: 0"><strong>${t}</strong></h3></br>`;
957
+ function Mr(r) {
958
+ return `<h3 style="margin: 0"><strong>${r}</strong></h3></br>`;
930
959
  }
931
- function Fr(t, s) {
932
- return `${t}${s}</br>`;
960
+ function Lr(r, s) {
961
+ return `${r}${s}</br>`;
933
962
  }
934
- function Ar(t, s, d) {
963
+ function Ir(r, s, d) {
935
964
  try {
936
- return Mr(d)(t, s);
965
+ return Ur(d)(r, s);
937
966
  } catch {
938
- return t;
967
+ return r;
939
968
  }
940
969
  }
941
- function Mr(t) {
942
- return typeof t == "function" ? t : (t && Le[t] || Le[F.DEFAULT]).format;
970
+ function Ur(r) {
971
+ return typeof r == "function" ? r : (r && Ie[r] || Ie[F.DEFAULT]).format;
943
972
  }
944
- function Lr(t) {
945
- return `<strong>${t}</strong>: `;
973
+ function Nr(r) {
974
+ return `<strong>${r}</strong>: `;
946
975
  }
947
976
  export {
948
- Nr as CartoBasemapURL,
949
- wr as CartoBasemapsNames,
977
+ ae as CartoBasemapURL,
978
+ Cr as CartoBasemapsNames,
950
979
  F as FormatterTypes,
951
- oe as GMapsBasemap,
952
- k as MapActions,
953
- Ve as MapActionsContext,
980
+ Tr as GMapsBasemap,
981
+ Ae as MAPS_BASEMAP,
982
+ D as MapActions,
983
+ Ye as MapActionsContext,
954
984
  Ne as MapContext,
955
- $r as MapProvider,
956
- Ue as MapReferencesContext,
957
- Br as objectToHtml,
958
- Tr as reducer,
959
- Cr as useMap,
960
- Or as useMapActions,
961
- Yr as useMapActionsByID,
962
- Ur as useMapByID,
963
- Ye as useMapRefences,
964
- Vr as useMapReferencesByID
985
+ Wr as MapProvider,
986
+ Ve as MapReferencesContext,
987
+ Or as MapsTypes,
988
+ zr as objectToHtml,
989
+ Pr as reducer,
990
+ xr as useMap,
991
+ jr as useMapActions,
992
+ Br as useMapActionsByID,
993
+ Yr as useMapByID,
994
+ $e as useMapRefences,
995
+ $r as useMapReferencesByID
965
996
  };