@carto/ps-react-maps 4.3.1 → 4.4.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
@@ -77,10 +77,10 @@ function On(n) {
77
77
  }
78
78
  function An(n) {
79
79
  const e = j(39);
80
- let t, r, s, o, i, a, l, d, p, h, b, f;
80
+ let t, r, s, o, i, a, l, d, f, y, b, p;
81
81
  e[0] !== n ? ({
82
82
  instanceRef: i,
83
- overlayRef: h,
83
+ overlayRef: y,
84
84
  controller: t,
85
85
  id: o,
86
86
  layers: a,
@@ -89,9 +89,9 @@ function An(n) {
89
89
  getCursor: r,
90
90
  getTooltip: s,
91
91
  onLoad: d,
92
- onViewStateChange: p,
93
- ...f
94
- } = n, e[0] = n, e[1] = t, e[2] = r, e[3] = s, e[4] = o, e[5] = i, e[6] = a, e[7] = l, e[8] = d, e[9] = p, e[10] = h, e[11] = b, e[12] = f) : (t = e[1], r = e[2], s = e[3], o = e[4], i = e[5], a = e[6], l = e[7], d = e[8], p = e[9], h = e[10], b = e[11], f = e[12]);
92
+ onViewStateChange: f,
93
+ ...p
94
+ } = n, e[0] = n, e[1] = t, e[2] = r, e[3] = s, e[4] = o, e[5] = i, e[6] = a, e[7] = l, e[8] = d, e[9] = f, e[10] = y, e[11] = b, e[12] = p) : (t = e[1], r = e[2], s = e[3], o = e[4], i = e[5], a = e[6], l = e[7], d = e[8], f = e[9], y = e[10], b = e[11], p = e[12]);
95
95
  let M;
96
96
  e[13] !== a ? (M = a.filter(Rn).map(Dn), e[13] = a, e[14] = M) : M = e[14];
97
97
  const S = M, L = i;
@@ -106,7 +106,7 @@ function An(n) {
106
106
  ...b
107
107
  }, e[17] = b, e[18] = m) : m = e[18];
108
108
  let g;
109
- e[19] !== h ? (g = /* @__PURE__ */ G(xn, { overlayRef: h }), e[19] = h, e[20] = g) : g = e[20];
109
+ e[19] !== y ? (g = /* @__PURE__ */ G(xn, { overlayRef: y }), e[19] = y, e[20] = g) : g = e[20];
110
110
  let w;
111
111
  e[21] !== d ? (w = () => d({
112
112
  type: "load",
@@ -115,10 +115,10 @@ function An(n) {
115
115
  let v;
116
116
  e[23] !== l || e[24] !== w ? (v = /* @__PURE__ */ G(qt, { reuseMaps: !1, mapStyle: l, onLoad: w, onRender: Fn }), e[23] = l, e[24] = w, e[25] = v) : v = e[25];
117
117
  let k;
118
- return e[26] !== S || e[27] !== t || e[28] !== r || e[29] !== s || e[30] !== o || e[31] !== p || e[32] !== f || e[33] !== L || e[34] !== u || e[35] !== m || e[36] !== g || e[37] !== v ? (k = /* @__PURE__ */ G(Vt, { children: /* @__PURE__ */ G("div", { className: "deckgl-map", children: /* @__PURE__ */ yt(Bt, { controller: t, id: o, ref: L, layers: S, getCursor: r, getTooltip: s, onLoad: u, onViewStateChange: p, parameters: m, ...f, children: [
118
+ return e[26] !== S || e[27] !== t || e[28] !== r || e[29] !== s || e[30] !== o || e[31] !== f || e[32] !== p || e[33] !== L || e[34] !== u || e[35] !== m || e[36] !== g || e[37] !== v ? (k = /* @__PURE__ */ G(Vt, { children: /* @__PURE__ */ G("div", { className: "deckgl-map", children: /* @__PURE__ */ yt(Bt, { controller: t, id: o, ref: L, layers: S, getCursor: r, getTooltip: s, onLoad: u, onViewStateChange: f, parameters: m, ...p, children: [
119
119
  g,
120
120
  v
121
- ] }) }) }), e[26] = S, e[27] = t, e[28] = r, e[29] = s, e[30] = o, e[31] = p, e[32] = f, e[33] = L, e[34] = u, e[35] = m, e[36] = g, e[37] = v, e[38] = k) : k = e[38], k;
121
+ ] }) }) }), e[26] = S, e[27] = t, e[28] = r, e[29] = s, e[30] = o, e[31] = f, e[32] = p, e[33] = L, e[34] = u, e[35] = m, e[36] = g, e[37] = v, e[38] = k) : k = e[38], k;
122
122
  }
123
123
  function Fn() {
124
124
  document.querySelector(".maplibregl-compact-show")?.classList.remove("maplibregl-compact-show");
@@ -155,14 +155,14 @@ const $n = (n) => {
155
155
  e[3] !== s ? (a = () => (r.setMap(s), () => {
156
156
  r.finalize();
157
157
  }), l = [r, s], e[3] = s, e[4] = a, e[5] = l) : (a = e[4], l = e[5]), Q(a, l);
158
- let d, p;
158
+ let d, f;
159
159
  return e[6] !== n ? (d = () => {
160
160
  r.setProps(n);
161
- }, p = [r, n], e[6] = n, e[7] = d, e[8] = p) : (d = e[7], p = e[8]), Q(d, p), null;
161
+ }, f = [r, n], e[6] = n, e[7] = d, e[8] = f) : (d = e[7], f = e[8]), Q(d, f), null;
162
162
  };
163
163
  function Un(n) {
164
164
  const e = j(77);
165
- let t, r, s, o, i, a, l, d, p, h, b;
165
+ let t, r, s, o, i, a, l, d, f, y, b;
166
166
  e[0] !== n ? ({
167
167
  id: s,
168
168
  instanceRef: o,
@@ -170,22 +170,22 @@ function Un(n) {
170
170
  layers: i,
171
171
  gmapsProps: b,
172
172
  overlayRef: d,
173
- parameters: p,
173
+ parameters: f,
174
174
  controller: r,
175
175
  onLoad: a,
176
176
  onViewStateChange: l,
177
- ...h
178
- } = n, e[0] = n, e[1] = t, e[2] = r, e[3] = s, e[4] = o, e[5] = i, e[6] = a, e[7] = l, e[8] = d, e[9] = p, e[10] = h, e[11] = b) : (t = e[1], r = e[2], s = e[3], o = e[4], i = e[5], a = e[6], l = e[7], d = e[8], p = e[9], h = e[10], b = e[11]);
179
- let f;
180
- e[12] !== b ? (f = b === void 0 ? {
177
+ ...y
178
+ } = n, e[0] = n, e[1] = t, e[2] = r, e[3] = s, e[4] = o, e[5] = i, e[6] = a, e[7] = l, e[8] = d, e[9] = f, e[10] = y, e[11] = b) : (t = e[1], r = e[2], s = e[3], o = e[4], i = e[5], a = e[6], l = e[7], d = e[8], f = e[9], y = e[10], b = e[11]);
179
+ let p;
180
+ e[12] !== b ? (p = b === void 0 ? {
181
181
  apiKey: ""
182
- } : b, e[12] = b, e[13] = f) : f = e[13];
182
+ } : b, e[12] = b, e[13] = p) : p = e[13];
183
183
  let M, S, L;
184
- e[14] !== f ? ({
184
+ e[14] !== p ? ({
185
185
  apiKey: L,
186
186
  APIProviderProps: M,
187
187
  ...S
188
- } = f, e[14] = f, e[15] = M, e[16] = S, e[17] = L) : (M = e[15], S = e[16], L = e[17]);
188
+ } = p, e[14] = p, e[15] = M, e[16] = S, e[17] = L) : (M = e[15], S = e[16], L = e[17]);
189
189
  let u;
190
190
  e: {
191
191
  if (typeof r == "boolean") {
@@ -210,7 +210,7 @@ function Un(n) {
210
210
  e[24] !== i ? (g = i.filter(qn).map(Vn), e[24] = i, e[25] = g) : g = e[25];
211
211
  const w = g;
212
212
  let v;
213
- e[26] !== h.initialViewState?.maxZoom || e[27] !== h.initialViewState?.minZoom ? (v = (ee) => {
213
+ e[26] !== y.initialViewState?.maxZoom || e[27] !== y.initialViewState?.minZoom ? (v = (ee) => {
214
214
  const {
215
215
  detail: ne
216
216
  } = ee, {
@@ -220,15 +220,15 @@ function Un(n) {
220
220
  tilt: ie
221
221
  } = ne;
222
222
  return {
223
- maxZoom: h.initialViewState?.maxZoom,
224
- minZoom: h.initialViewState?.minZoom,
223
+ maxZoom: y.initialViewState?.maxZoom,
224
+ minZoom: y.initialViewState?.minZoom,
225
225
  latitude: J.lat,
226
226
  longitude: J.lng,
227
227
  zoom: K - 1,
228
228
  bearing: te,
229
229
  pitch: ie
230
230
  };
231
- }, e[26] = h.initialViewState?.maxZoom, e[27] = h.initialViewState?.minZoom, e[28] = v) : v = e[28], h.initialViewState?.maxZoom, h.initialViewState?.minZoom;
231
+ }, e[26] = y.initialViewState?.maxZoom, e[27] = y.initialViewState?.minZoom, e[28] = v) : v = e[28], y.initialViewState?.maxZoom, y.initialViewState?.minZoom;
232
232
  const k = v;
233
233
  let D;
234
234
  e[29] !== o || e[30] !== l ? (D = (ee) => {
@@ -258,20 +258,20 @@ function Un(n) {
258
258
  const ne = k(ee);
259
259
  U(ne);
260
260
  }, e[32] = U, e[33] = k, e[34] = A) : A = e[34];
261
- const V = A, q = h.initialViewState?.latitude ?? 0, F = h.initialViewState?.longitude ?? 0;
261
+ const V = A, q = y.initialViewState?.latitude ?? 0, F = y.initialViewState?.longitude ?? 0;
262
262
  let _;
263
263
  e[35] !== q || e[36] !== F ? (_ = {
264
264
  lat: q,
265
265
  lng: F
266
266
  }, e[35] = q, e[36] = F, e[37] = _) : _ = e[37];
267
- const O = (h.initialViewState?.zoom ?? 0) + 1, c = (h.initialViewState?.maxZoom ?? 23) + 1, y = (h.initialViewState?.minZoom ?? 0) + 1, T = h.initialViewState?.pitch, P = h.initialViewState?.bearing;
267
+ const O = (y.initialViewState?.zoom ?? 0) + 1, c = (y.initialViewState?.maxZoom ?? 23) + 1, h = (y.initialViewState?.minZoom ?? 0) + 1, T = y.initialViewState?.pitch, P = y.initialViewState?.bearing;
268
268
  let C;
269
- e[38] !== U || e[39] !== a || e[40] !== h.initialViewState ? (C = () => {
269
+ e[38] !== U || e[39] !== a || e[40] !== y.initialViewState ? (C = () => {
270
270
  a({
271
271
  type: "load",
272
272
  value: !0
273
- }), U(h.initialViewState);
274
- }, e[38] = U, e[39] = a, e[40] = h.initialViewState, e[41] = C) : C = e[41];
273
+ }), U(y.initialViewState);
274
+ }, e[38] = U, e[39] = a, e[40] = y.initialViewState, e[41] = C) : C = e[41];
275
275
  const E = typeof m.scrollZoom == "boolean" ? m.scrollZoom : !!m.scrollZoom, B = m.dragPan ? "greedy" : "none", Z = !m.doubleClickZoom;
276
276
  let I;
277
277
  e[42] !== s || e[43] !== d ? (I = /* @__PURE__ */ G(jn, { id: s, overlayRef: d }), e[42] = s, e[43] = d, e[44] = I) : I = e[44];
@@ -283,17 +283,17 @@ function Un(n) {
283
283
  });
284
284
  }, e[45] = a, e[46] = $) : $ = e[46];
285
285
  let H;
286
- e[47] !== p ? (H = {
286
+ e[47] !== f ? (H = {
287
287
  depthTest: !1,
288
- ...p
289
- }, e[47] = p, e[48] = H) : H = e[48];
288
+ ...f
289
+ }, e[47] = f, e[48] = H) : H = e[48];
290
290
  let W;
291
- e[49] !== w || e[50] !== s || e[51] !== o || e[52] !== h || e[53] !== $ || e[54] !== H ? (W = /* @__PURE__ */ G($n, { id: s, instanceRef: o, layers: w, onLoad: $, parameters: H, ...h }), e[49] = w, e[50] = s, e[51] = o, e[52] = h, e[53] = $, e[54] = H, e[55] = W) : W = e[55];
291
+ e[49] !== w || e[50] !== s || e[51] !== o || e[52] !== y || e[53] !== $ || e[54] !== H ? (W = /* @__PURE__ */ G($n, { id: s, instanceRef: o, layers: w, onLoad: $, parameters: H, ...y }), e[49] = w, e[50] = s, e[51] = o, e[52] = y, e[53] = $, e[54] = H, e[55] = W) : W = e[55];
292
292
  let X;
293
- e[56] !== S || e[57] !== t || e[58] !== V || e[59] !== s || e[60] !== _ || e[61] !== O || e[62] !== c || e[63] !== y || e[64] !== T || e[65] !== P || e[66] !== C || e[67] !== E || e[68] !== B || e[69] !== Z || e[70] !== I || e[71] !== W ? (X = /* @__PURE__ */ G("div", { className: "deckgl-map", children: /* @__PURE__ */ yt(It, { id: s, mapTypeId: t, disableDefaultUI: !0, ...S, center: _, zoom: O, maxZoom: c, minZoom: y, tilt: T, heading: P, onTilesLoaded: C, onBoundsChanged: V, onZoomChanged: V, scrollwheel: E, gestureHandling: B, disableDoubleClickZoom: Z, children: [
293
+ e[56] !== S || e[57] !== t || e[58] !== V || e[59] !== s || e[60] !== _ || e[61] !== O || e[62] !== c || e[63] !== h || e[64] !== T || e[65] !== P || e[66] !== C || e[67] !== E || e[68] !== B || e[69] !== Z || e[70] !== I || e[71] !== W ? (X = /* @__PURE__ */ G("div", { className: "deckgl-map", children: /* @__PURE__ */ yt(It, { id: s, mapTypeId: t, disableDefaultUI: !0, ...S, center: _, zoom: O, maxZoom: c, minZoom: h, tilt: T, heading: P, onTilesLoaded: C, onBoundsChanged: V, onZoomChanged: V, scrollwheel: E, gestureHandling: B, disableDoubleClickZoom: Z, children: [
294
294
  I,
295
295
  W
296
- ] }) }), e[56] = S, e[57] = t, e[58] = V, e[59] = s, e[60] = _, e[61] = O, e[62] = c, e[63] = y, e[64] = T, e[65] = P, e[66] = C, e[67] = E, e[68] = B, e[69] = Z, e[70] = I, e[71] = W, e[72] = X) : X = e[72];
296
+ ] }) }), e[56] = S, e[57] = t, e[58] = V, e[59] = s, e[60] = _, e[61] = O, e[62] = c, e[63] = h, e[64] = T, e[65] = P, e[66] = C, e[67] = E, e[68] = B, e[69] = Z, e[70] = I, e[71] = W, e[72] = X) : X = e[72];
297
297
  let le;
298
298
  return e[73] !== M || e[74] !== L || e[75] !== X ? (le = /* @__PURE__ */ G(Ht, { apiKey: L, ...M, children: X }), e[73] = M, e[74] = L, e[75] = X, e[76] = le) : le = e[76], le;
299
299
  }
@@ -317,25 +317,25 @@ function jn(n) {
317
317
  }
318
318
  function Bn(n) {
319
319
  const e = j(46);
320
- let t, r, s, o, i, a, l, d, p, h, b, f;
320
+ let t, r, s, o, i, a, l, d, f, y, b, p;
321
321
  e[0] !== n ? ({
322
322
  instanceRef: r,
323
323
  overlayRef: o,
324
324
  basemap: a,
325
325
  controller: l,
326
326
  id: d,
327
- layers: p,
327
+ layers: f,
328
328
  gmapsProps: t,
329
- getCursor: h,
329
+ getCursor: y,
330
330
  getTooltip: b,
331
331
  onLoad: s,
332
- onViewStateChange: f,
332
+ onViewStateChange: p,
333
333
  ...i
334
- } = n, e[0] = n, e[1] = t, e[2] = r, e[3] = s, e[4] = o, e[5] = i, e[6] = a, e[7] = l, e[8] = d, e[9] = p, e[10] = h, e[11] = b, e[12] = f) : (t = e[1], r = e[2], s = e[3], o = e[4], i = e[5], a = e[6], l = e[7], d = e[8], p = e[9], h = e[10], b = e[11], f = e[12]);
334
+ } = n, e[0] = n, e[1] = t, e[2] = r, e[3] = s, e[4] = o, e[5] = i, e[6] = a, e[7] = l, e[8] = d, e[9] = f, e[10] = y, e[11] = b, e[12] = p) : (t = e[1], r = e[2], s = e[3], o = e[4], i = e[5], a = e[6], l = e[7], d = e[8], f = e[9], y = e[10], b = e[11], p = e[12]);
335
335
  const M = a === void 0 ? ae.positron : a, S = l === void 0 ? !0 : l, L = d === void 0 ? "deck-gl-map" : d;
336
336
  let u;
337
- e[13] !== p ? (u = p === void 0 ? [] : p, e[13] = p, e[14] = u) : u = e[14];
338
- const m = u, g = h === void 0 ? Pn : h, w = b === void 0 ? On : b, v = f === void 0 ? Hn : f;
337
+ e[13] !== f ? (u = f === void 0 ? [] : f, e[13] = f, e[14] = u) : u = e[14];
338
+ const m = u, g = y === void 0 ? Pn : y, w = b === void 0 ? On : b, v = p === void 0 ? Hn : p;
339
339
  let k;
340
340
  e[15] === Symbol.for("react.memo_cache_sentinel") ? (k = [!1, !1], e[15] = k) : k = e[15];
341
341
  const [D, U] = ue(k), {
@@ -358,11 +358,11 @@ function Bn(n) {
358
358
  value: !1
359
359
  });
360
360
  }, c = [_], e[17] = O, e[18] = c) : (O = e[17], c = e[18]), Q(O, c);
361
- let y, T;
362
- if (e[19] !== D || e[20] !== s ? (y = () => {
361
+ let h, T;
362
+ if (e[19] !== D || e[20] !== s ? (h = () => {
363
363
  const C = D.every(In);
364
364
  s?.(C);
365
- }, T = [D, s], e[19] = D, e[20] = s, e[21] = y, e[22] = T) : (y = e[21], T = e[22]), Q(y, T), q) {
365
+ }, T = [D, s], e[19] = D, e[20] = s, e[21] = h, e[22] = T) : (h = e[21], T = e[22]), Q(h, T), q) {
366
366
  let C;
367
367
  return e[23] !== M || e[24] !== S || e[25] !== g || e[26] !== w || e[27] !== t || e[28] !== L || e[29] !== r || e[30] !== m || e[31] !== v || e[32] !== o || e[33] !== i ? (C = /* @__PURE__ */ G(Un, { instanceRef: r, overlayRef: o, controller: S, id: L, basemap: M, layers: m, gmapsProps: t, getCursor: g, getTooltip: w, onLoad: _, onViewStateChange: v, ...i }), e[23] = M, e[24] = S, e[25] = g, e[26] = w, e[27] = t, e[28] = L, e[29] = r, e[30] = m, e[31] = v, e[32] = o, e[33] = i, e[34] = C) : C = e[34], C;
368
368
  }
@@ -420,13 +420,13 @@ function Zn() {
420
420
  var g = m.customMerge(u);
421
421
  return typeof g == "function" ? g : S;
422
422
  }
423
- function p(u) {
423
+ function f(u) {
424
424
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(u).filter(function(m) {
425
425
  return Object.propertyIsEnumerable.call(u, m);
426
426
  }) : [];
427
427
  }
428
- function h(u) {
429
- return Object.keys(u).concat(p(u));
428
+ function y(u) {
429
+ return Object.keys(u).concat(f(u));
430
430
  }
431
431
  function b(u, m) {
432
432
  try {
@@ -435,15 +435,15 @@ function Zn() {
435
435
  return !1;
436
436
  }
437
437
  }
438
- function f(u, m) {
438
+ function p(u, m) {
439
439
  return b(u, m) && !(Object.hasOwnProperty.call(u, m) && Object.propertyIsEnumerable.call(u, m));
440
440
  }
441
441
  function M(u, m, g) {
442
442
  var w = {};
443
- return g.isMergeableObject(u) && h(u).forEach(function(v) {
443
+ return g.isMergeableObject(u) && y(u).forEach(function(v) {
444
444
  w[v] = a(u[v], g);
445
- }), h(m).forEach(function(v) {
446
- f(u, v) || (b(u, v) && g.isMergeableObject(m[v]) ? w[v] = d(v, g)(u[v], m[v], g) : w[v] = a(m[v], g));
445
+ }), y(m).forEach(function(v) {
446
+ p(u, v) || (b(u, v) && g.isMergeableObject(m[v]) ? w[v] = d(v, g)(u[v], m[v], g) : w[v] = a(m[v], g));
447
447
  }), w;
448
448
  }
449
449
  function S(u, m, g) {
@@ -540,11 +540,11 @@ const me = /* @__PURE__ */ Tt(zn), Gn = (n) => {
540
540
  if (!a.maps?.[s]?.isLoaded) return;
541
541
  const l = a.getViewState(s);
542
542
  if (!l) return;
543
- const p = new bt(l).fitBounds(o, i?.boundsOptions);
543
+ const f = new bt(l).fitBounds(o, i?.boundsOptions);
544
544
  return {
545
- latitude: p.latitude,
546
- longitude: p.longitude,
547
- zoom: p.zoom,
545
+ latitude: f.latitude,
546
+ longitude: f.longitude,
547
+ zoom: f.zoom,
548
548
  ...i?.viewStateOptions
549
549
  };
550
550
  },
@@ -724,21 +724,21 @@ const me = /* @__PURE__ */ Tt(zn), Gn = (n) => {
724
724
  setLayerHover: (t, r, s) => {
725
725
  const o = e(), i = o.getDeckInstance(t), a = o.getViewport(t), l = i?.widgetManager;
726
726
  if (!l || !a) return;
727
- const [d, p] = a.project(s);
728
- if (d == null || p == null || isNaN(d) || isNaN(p)) return;
729
- const h = i.pickObject({
727
+ const [d, f] = a.project(s);
728
+ if (d == null || f == null || isNaN(d) || isNaN(f)) return;
729
+ const y = i.pickObject({
730
730
  x: d,
731
- y: p,
731
+ y: f,
732
732
  radius: 5,
733
733
  layerIds: [r]
734
734
  });
735
- if (!h) return;
735
+ if (!y) return;
736
736
  const b = {
737
- ...h,
737
+ ...y,
738
738
  x: d,
739
- y: p
740
- }, f = new MouseEvent("mouseenter");
741
- h.layer?.onHover?.(b, f), l.onHover?.(b, f);
739
+ y: f
740
+ }, p = new MouseEvent("mouseenter");
741
+ y.layer?.onHover?.(b, p), l.onHover?.(b, p);
742
742
  },
743
743
  clearLayersHover: (t) => {
744
744
  const o = e().getDeckInstance(t)?.widgetManager;
@@ -777,12 +777,12 @@ function bo(n) {
777
777
  mapId: r
778
778
  } = n;
779
779
  let s;
780
- e[0] !== r ? (s = (p) => p.maps[r], e[0] = r, e[1] = s) : s = e[1];
780
+ e[0] !== r ? (s = (f) => f.maps[r], e[0] = r, e[1] = s) : s = e[1];
781
781
  const {
782
782
  basemap: o
783
783
  } = x(s), i = x(tr);
784
784
  let a;
785
- e[2] !== r || e[3] !== i ? (a = (p) => i(r, p), e[2] = r, e[3] = i, e[4] = a) : a = e[4];
785
+ e[2] !== r || e[3] !== i ? (a = (f) => i(r, f), e[2] = r, e[3] = i, e[4] = a) : a = e[4];
786
786
  const l = a;
787
787
  let d;
788
788
  return e[5] !== o || e[6] !== t || e[7] !== l ? (d = t({
@@ -876,44 +876,46 @@ const he = "lassoLayer", Oe = "maskLayer", rr = {
876
876
  value: "edit",
877
877
  mode: nr
878
878
  }
879
- }, Se = gt((n) => ({
879
+ }, Se = gt((n, e) => ({
880
880
  layers: {},
881
- setLayer: (e, t) => n((r) => {
882
- const s = {
883
- ...r.layers
884
- }, o = s[e] ?? {
881
+ setLayer: (t, r) => n((s) => {
882
+ const o = {
883
+ ...s.layers
884
+ }, i = o[t] ?? {
885
885
  type: null,
886
886
  props: {}
887
- }, i = [...o.props.extensions ?? [], ...t.props?.extensions ?? []].reduce((l, d) => (l.some((p) => p.equals(d)) || l.push(d), l), []), a = o.legend || t.legend ? {
888
- ...o.legend,
889
- ...t.legend
887
+ }, a = [...i.props.extensions ?? [], ...r.props?.extensions ?? []].reduce((d, f) => (d.some((y) => y.equals(f)) || d.push(f), d), []), l = i.legend || r.legend ? {
888
+ ...i.legend,
889
+ ...r.legend
890
890
  } : void 0;
891
- return s[e] = {
892
- ...o,
893
- ...t,
891
+ return o[t] = {
892
+ ...i,
893
+ ...r,
894
894
  props: {
895
- id: e,
896
- ...o.props,
897
- ...t.props,
895
+ id: t,
896
+ ...i.props,
897
+ ...r.props,
898
898
  updateTriggers: {
899
- ...o.props.updateTriggers ?? {},
900
- ...t.props?.updateTriggers ?? {}
899
+ ...i.props.updateTriggers ?? {},
900
+ ...r.props?.updateTriggers ?? {}
901
901
  },
902
- extensions: i
902
+ extensions: a
903
903
  },
904
- legend: a
904
+ legend: l
905
905
  }, {
906
- layers: s
906
+ layers: o
907
907
  };
908
908
  }),
909
- removeLayer: (e) => n((t) => {
910
- const r = {
911
- ...t.layers
909
+ removeLayer: (t) => n((r) => {
910
+ const s = {
911
+ ...r.layers
912
912
  };
913
- return delete r[e], {
914
- layers: r
913
+ return delete s[t], {
914
+ layers: s
915
915
  };
916
- })
916
+ }),
917
+ getLayers: () => e().layers,
918
+ getLayer: (t) => e().layers[t]
917
919
  })), rt = ["click", "keyup", "panstart", "panmove", "panend", "pointermove"], kt = {
918
920
  multipan: [Qe, {
919
921
  threshold: 10,
@@ -942,22 +944,22 @@ function Ct(n) {
942
944
  const o = x(s);
943
945
  let i;
944
946
  e[2] !== t ? (i = (S) => S.maps[t]?.isLoaded, e[2] = t, e[3] = i) : i = e[3];
945
- const a = x(i), l = x(lr), d = x(ar), p = Se(ir), {
946
- type: h
947
- } = we[o], b = h === ce.googleMaps;
948
- let f, M;
949
- e[4] !== l || e[5] !== d || e[6] !== b || e[7] !== a || e[8] !== r || e[9] !== t || e[10] !== p ? (f = () => {
947
+ const a = x(i), l = x(lr), d = x(ar), f = Se(ir), {
948
+ type: y
949
+ } = we[o], b = y === ce.googleMaps;
950
+ let p, M;
951
+ e[4] !== l || e[5] !== d || e[6] !== b || e[7] !== a || e[8] !== r || e[9] !== t || e[10] !== f ? (p = () => {
950
952
  if (!a)
951
953
  return;
952
954
  let S, L;
953
955
  b ? L = d(t)?.getDiv() ?? null : L = l(t)?.getCanvas() ?? null, L && (S = new an(L, {
954
956
  recognizers: Object.keys(kt).map(or)
955
- }), p(r, {
957
+ }), f(r, {
956
958
  props: {
957
959
  eventManager: S
958
960
  }
959
961
  }));
960
- }, M = [d, b, a, l, r, t, p], e[4] = l, e[5] = d, e[6] = b, e[7] = a, e[8] = r, e[9] = t, e[10] = p, e[11] = f, e[12] = M) : (f = e[11], M = e[12]), Q(f, M);
962
+ }, M = [d, b, a, l, r, t, f], e[4] = l, e[5] = d, e[6] = b, e[7] = a, e[8] = r, e[9] = t, e[10] = f, e[11] = p, e[12] = M) : (p = e[11], M = e[12]), Q(p, M);
961
963
  }
962
964
  function or(n) {
963
965
  const [e, t, r, s] = kt[n], o = {
@@ -1060,14 +1062,14 @@ const dr = (n) => Ze()((e) => ({
1060
1062
  modeInstance: a = new Ue.polygon.mode(),
1061
1063
  modes: l = Ue,
1062
1064
  modeSelected: d = Ue.polygon.value,
1063
- values: p = {}
1065
+ values: f = {}
1064
1066
  } = s;
1065
1067
  return r[i] = {
1066
1068
  enabled: o,
1067
1069
  modeInstance: a,
1068
1070
  modes: l,
1069
1071
  modeSelected: d,
1070
- values: p
1072
+ values: f
1071
1073
  }, r;
1072
1074
  }, {}),
1073
1075
  setEnabled: (r, s) => {
@@ -1167,30 +1169,30 @@ function pr({
1167
1169
  mapId: n,
1168
1170
  children: e
1169
1171
  }) {
1170
- const t = Y((f) => f.data[n]?.enabled), r = Y((f) => f.setEnabled), s = Y((f) => f.data[n]?.values), o = Y((f) => f.setValue), i = Y((f) => f.setVisibility), a = Y((f) => f.data[n]?.modeSelected), l = Y((f) => f.setModeSelected), d = Y((f) => f.data[n]?.modes), p = Y((f) => f.setModeInstance);
1172
+ const t = Y((p) => p.data[n]?.enabled), r = Y((p) => p.setEnabled), s = Y((p) => p.data[n]?.values), o = Y((p) => p.setValue), i = Y((p) => p.setVisibility), a = Y((p) => p.data[n]?.modeSelected), l = Y((p) => p.setModeSelected), d = Y((p) => p.data[n]?.modes), f = Y((p) => p.setModeInstance);
1171
1173
  Q(() => {
1172
- const f = d[a];
1173
- if (f && t) {
1174
- const M = f.mode;
1175
- p(n, new M());
1174
+ const p = d[a];
1175
+ if (p && t) {
1176
+ const M = p.mode;
1177
+ f(n, new M());
1176
1178
  }
1177
- }, [t, n, a, d, p]);
1179
+ }, [t, n, a, d, f]);
1178
1180
  const [
1179
- h
1181
+ y
1180
1182
  // , draw
1181
1183
  ] = ge(() => {
1182
- const f = (L) => ({
1184
+ const p = (L) => ({
1183
1185
  id: L.id,
1184
1186
  ...L.properties,
1185
1187
  visible: L.properties.visible,
1186
1188
  label: L.properties.label
1187
1189
  });
1188
1190
  return [
1189
- Object.values(s).filter((L) => L.type === "mask").map(f)
1191
+ Object.values(s).filter((L) => L.type === "mask").map(p)
1190
1192
  // , draw
1191
1193
  ];
1192
- }, [s]), b = se((f) => {
1193
- r(n, !!f), l(n, f);
1194
+ }, [s]), b = se((p) => {
1195
+ r(n, !!p), l(n, p);
1194
1196
  }, [n, r, l]);
1195
1197
  return e({
1196
1198
  mapId: n,
@@ -1198,12 +1200,12 @@ function pr({
1198
1200
  modes: d,
1199
1201
  modeSelected: a,
1200
1202
  values: {
1201
- mask: h
1203
+ mask: y
1202
1204
  // draw,
1203
1205
  },
1204
- setValue: se((f, M) => o(n, f, M), [n, o]),
1205
- setEnabled: se((f) => r(n, f), [n, r]),
1206
- setVisibility: se((f, M) => i(n, f, M), [n, i]),
1206
+ setValue: se((p, M) => o(n, p, M), [n, o]),
1207
+ setEnabled: se((p) => r(n, p), [n, r]),
1208
+ setVisibility: se((p, M) => i(n, p, M), [n, i]),
1207
1209
  setModeSelected: b
1208
1210
  });
1209
1211
  }
@@ -1253,16 +1255,16 @@ function Ae({
1253
1255
  dimension: i = "length"
1254
1256
  }) {
1255
1257
  const a = e === Be["m-km"], l = e === Be["ft-mi"], d = a || l;
1256
- let p, h;
1258
+ let f, y;
1257
1259
  if (d) {
1258
- const f = n < (r ?? ot);
1259
- let M = f ? N.meter : N.kilometer;
1260
- p = f ? ve.meter : ve.kilometer, l && (p = f ? ve.feet : ve.mile, M = f ? N.feet : N.mile), h = st(n, M, i);
1260
+ const p = n < (r ?? ot);
1261
+ let M = p ? N.meter : N.kilometer;
1262
+ f = p ? ve.meter : ve.kilometer, l && (f = p ? ve.feet : ve.mile, M = p ? N.feet : N.mile), y = st(n, M, i);
1261
1263
  } else
1262
- p = ve[e], h = st(n, e, i);
1263
- let b = `${Mt(h, t, {
1264
+ f = ve[e], y = st(n, e, i);
1265
+ let b = `${Mt(y, t, {
1264
1266
  style: "unit",
1265
- unit: p,
1267
+ unit: f,
1266
1268
  unitDisplay: "short",
1267
1269
  notation: "standard",
1268
1270
  minimumFractionDigits: 2,
@@ -1707,7 +1709,7 @@ function Tr({
1707
1709
  layerProps: s = {},
1708
1710
  defaultType: o = "mask"
1709
1711
  }) {
1710
- const i = Y((_) => _.data[e]?.enabled), a = Y((_) => _.setEnabled), l = Y((_) => _.data[e]?.values), d = Y((_) => _.setValue), p = Y((_) => _.data[e]?.modeInstance), h = Y((_) => _.data[e]?.modeSelected), b = Se((_) => _.setLayer), f = x((_) => _.addLayers), M = x((_) => _.removeLayers), S = x(vt((_) => _.maps[e]?.layers.filter((O) => !Er.includes(O)))), L = x((_) => _.getDeckInstance), u = ke({});
1712
+ const i = Y((_) => _.data[e]?.enabled), a = Y((_) => _.setEnabled), l = Y((_) => _.data[e]?.values), d = Y((_) => _.setValue), f = Y((_) => _.data[e]?.modeInstance), y = Y((_) => _.data[e]?.modeSelected), b = Se((_) => _.setLayer), p = x((_) => _.addLayers), M = x((_) => _.removeLayers), S = x(vt((_) => _.maps[e]?.layers.filter((O) => !Er.includes(O)))), L = x((_) => _.getDeckInstance), u = ke({});
1711
1713
  Ct({
1712
1714
  mapId: e,
1713
1715
  layerId: he
@@ -1733,9 +1735,9 @@ function Tr({
1733
1735
  A();
1734
1736
  }, [A]);
1735
1737
  const V = ke(m.length);
1736
- Q(() => (f(e, [he]), () => {
1738
+ Q(() => (p(e, [he]), () => {
1737
1739
  M(e, [he]);
1738
- }), [f, e, M]);
1740
+ }), [p, e, M]);
1739
1741
  const q = se(() => {
1740
1742
  A(), U([]), a(e, !1);
1741
1743
  }, [e, A, a]), F = se(({
@@ -1746,8 +1748,8 @@ function Tr({
1746
1748
  q();
1747
1749
  return;
1748
1750
  }
1749
- k(O), _ !== oe.updateTentativeFeature && _ === oe.addFeature && (h !== "edit" && (V.current = V.current + 1), O.features.forEach((c, y) => {
1750
- c.properties.label ??= `${r?.mask} ${V.current}`, c.properties.index = y, c.properties.visible = c.properties.visible ?? !0;
1751
+ k(O), _ !== oe.updateTentativeFeature && _ === oe.addFeature && (y !== "edit" && (V.current = V.current + 1), O.features.forEach((c, h) => {
1752
+ c.properties.label ??= `${r?.mask} ${V.current}`, c.properties.index = h, c.properties.visible = c.properties.visible ?? !0;
1751
1753
  const T = c.id ?? crypto.randomUUID();
1752
1754
  d(e, T, {
1753
1755
  geometry: c.geometry,
@@ -1756,12 +1758,12 @@ function Tr({
1756
1758
  type: o
1757
1759
  });
1758
1760
  }), q());
1759
- }, [o, q, r?.mask, e, h, d]);
1761
+ }, [o, q, r?.mask, e, y, d]);
1760
1762
  return Q(() => {
1761
1763
  const _ = i, {
1762
1764
  border: O,
1763
1765
  point: c,
1764
- fill: y
1766
+ fill: h
1765
1767
  } = t.colors.editing, {
1766
1768
  border: T,
1767
1769
  fill: P
@@ -1780,16 +1782,16 @@ function Tr({
1780
1782
  }
1781
1783
  },
1782
1784
  getLineColor: (E) => D[0] === E.properties.index ? O : T,
1783
- getFillColor: (E) => D[0] === E.properties.index ? y : P,
1785
+ getFillColor: (E) => D[0] === E.properties.index ? h : P,
1784
1786
  pointColor: {
1785
1787
  fill: c,
1786
1788
  outline: O
1787
1789
  },
1788
1790
  onEdit: F,
1789
- mode: _ ? p : new nn()
1791
+ mode: _ ? f : new nn()
1790
1792
  });
1791
1793
  b(he, C);
1792
- }, [v, i, s.mask, w, p, F, D, b, t.colors.editing, t.colors.finished]), Q(() => {
1794
+ }, [v, i, s.mask, w, f, F, D, b, t.colors.editing, t.colors.finished]), Q(() => {
1793
1795
  const _ = {
1794
1796
  ...Te,
1795
1797
  data: g,
@@ -1801,12 +1803,12 @@ function Tr({
1801
1803
  return b(Te.id, {
1802
1804
  type: cn,
1803
1805
  props: _
1804
- }), f(e, [Te.id]), () => {
1806
+ }), p(e, [Te.id]), () => {
1805
1807
  M(e, [Te.id]);
1806
1808
  };
1807
- }, [f, e, g, w, M, b]), Q(() => {
1809
+ }, [p, e, g, w, M, b]), Q(() => {
1808
1810
  S?.forEach((_) => {
1809
- const O = L(e)?.props.layers.find((y) => y.props.id === _);
1811
+ const O = L(e)?.props.layers.find((h) => h.props.id === _);
1810
1812
  if (!O) return;
1811
1813
  i && (u.current[_] = O?.props.pickable);
1812
1814
  const c = !i && (u.current[_] ?? O?.props.pickable);
@@ -1882,7 +1884,7 @@ function kr({
1882
1884
  }
1883
1885
  }
1884
1886
  }
1885
- }), p = me(Sr, {
1887
+ }), f = me(Sr, {
1886
1888
  _subLayerProps: {
1887
1889
  guides: {
1888
1890
  getLineColor: i,
@@ -1892,7 +1894,7 @@ function kr({
1892
1894
  getEditHandlePointColor: a,
1893
1895
  getEditHandlePointOutlineColor: i
1894
1896
  });
1895
- return me(p, d);
1897
+ return me(f, d);
1896
1898
  }
1897
1899
  const Cr = (n) => Ze()((e) => ({
1898
1900
  measurements: n.reduce((r, s) => {
@@ -1902,10 +1904,10 @@ const Cr = (n) => Ze()((e) => ({
1902
1904
  modes: a = Mr,
1903
1905
  units: l = _r,
1904
1906
  distance: d = 0,
1905
- finished: p = !1,
1906
- locale: h = "en",
1907
+ finished: f = !1,
1908
+ locale: y = "en",
1907
1909
  positions: b = [],
1908
- clearLayerOnStart: f = !1,
1910
+ clearLayerOnStart: p = !1,
1909
1911
  unit: M = Be["m-km"],
1910
1912
  enabled: S = !1
1911
1913
  } = s;
@@ -1914,11 +1916,11 @@ const Cr = (n) => Ze()((e) => ({
1914
1916
  units: l,
1915
1917
  modeSelected: i,
1916
1918
  distance: d,
1917
- finished: p,
1918
- locale: h,
1919
+ finished: f,
1920
+ locale: y,
1919
1921
  positions: b,
1920
1922
  unit: M,
1921
- clearLayerOnStart: f,
1923
+ clearLayerOnStart: p,
1922
1924
  enabled: S
1923
1925
  }, r;
1924
1926
  }, {}),
@@ -2042,12 +2044,12 @@ function xt(n) {
2042
2044
  let a;
2043
2045
  e[4] !== t ? (a = (R) => R.measurements[t].distance, e[4] = t, e[5] = a) : a = e[5];
2044
2046
  const l = z(a), d = z(Ur);
2045
- let p;
2046
- e[6] !== d || e[7] !== t ? (p = (R) => d(t, R), e[6] = d, e[7] = t, e[8] = p) : p = e[8];
2047
- const h = p;
2047
+ let f;
2048
+ e[6] !== d || e[7] !== t ? (f = (R) => d(t, R), e[6] = d, e[7] = t, e[8] = f) : f = e[8];
2049
+ const y = f;
2048
2050
  let b;
2049
2051
  e[9] !== t ? (b = (R) => R.measurements[t].clearLayerOnStart, e[9] = t, e[10] = b) : b = e[10];
2050
- const f = z(b);
2052
+ const p = z(b);
2051
2053
  let M;
2052
2054
  e[11] !== t ? (M = (R) => R.measurements[t].enabled, e[11] = t, e[12] = M) : M = e[12];
2053
2055
  const S = z(M), L = z($r);
@@ -2071,9 +2073,9 @@ function xt(n) {
2071
2073
  let _;
2072
2074
  e[27] !== t ? (_ = (R) => R.measurements[t].locale, e[27] = t, e[28] = _) : _ = e[28];
2073
2075
  const O = z(_), c = z(Dr);
2074
- let y;
2075
- e[29] !== c || e[30] !== t ? (y = (R) => c(t, R), e[29] = c, e[30] = t, e[31] = y) : y = e[31];
2076
- const T = y;
2076
+ let h;
2077
+ e[29] !== c || e[30] !== t ? (h = (R) => c(t, R), e[29] = c, e[30] = t, e[31] = h) : h = e[31];
2078
+ const T = h;
2077
2079
  let P;
2078
2080
  e[32] !== t ? (P = (R) => R.measurements[t].modeInstance, e[32] = t, e[33] = P) : P = e[33];
2079
2081
  const C = z(P), E = z(Fr);
@@ -2103,11 +2105,11 @@ function xt(n) {
2103
2105
  }, e[50] = m, e[51] = Me) : Me = e[51];
2104
2106
  const Fe = Me;
2105
2107
  let _e;
2106
- return e[52] !== ie || e[53] !== f || e[54] !== l || e[55] !== S || e[56] !== A || e[57] !== O || e[58] !== C || e[59] !== w || e[60] !== s || e[61] !== $ || e[62] !== h || e[63] !== m || e[64] !== F || e[65] !== T || e[66] !== Z || e[67] !== D || e[68] !== X || e[69] !== K || e[70] !== Fe || e[71] !== ee || e[72] !== i ? (_e = {
2108
+ return e[52] !== ie || e[53] !== p || e[54] !== l || e[55] !== S || e[56] !== A || e[57] !== O || e[58] !== C || e[59] !== w || e[60] !== s || e[61] !== $ || e[62] !== y || e[63] !== m || e[64] !== F || e[65] !== T || e[66] !== Z || e[67] !== D || e[68] !== X || e[69] !== K || e[70] !== Fe || e[71] !== ee || e[72] !== i ? (_e = {
2107
2109
  modes: s,
2108
2110
  units: i,
2109
2111
  distance: l,
2110
- clearLayerOnStart: f,
2112
+ clearLayerOnStart: p,
2111
2113
  modeSelected: w,
2112
2114
  enabled: S,
2113
2115
  finished: A,
@@ -2115,7 +2117,7 @@ function xt(n) {
2115
2117
  modeInstance: C,
2116
2118
  positions: $,
2117
2119
  unit: ee,
2118
- setDistance: h,
2120
+ setDistance: y,
2119
2121
  setModeSelected: D,
2120
2122
  setFinished: F,
2121
2123
  setLocale: T,
@@ -2125,7 +2127,7 @@ function xt(n) {
2125
2127
  toggleLayer: Fe,
2126
2128
  clearLayer: ie,
2127
2129
  setModeInstance: Z
2128
- }, e[52] = ie, e[53] = f, e[54] = l, e[55] = S, e[56] = A, e[57] = O, e[58] = C, e[59] = w, e[60] = s, e[61] = $, e[62] = h, e[63] = m, e[64] = F, e[65] = T, e[66] = Z, e[67] = D, e[68] = X, e[69] = K, e[70] = Fe, e[71] = ee, e[72] = i, e[73] = _e) : _e = e[73], _e;
2130
+ }, e[52] = ie, e[53] = p, e[54] = l, e[55] = S, e[56] = A, e[57] = O, e[58] = C, e[59] = w, e[60] = s, e[61] = $, e[62] = y, e[63] = m, e[64] = F, e[65] = T, e[66] = Z, e[67] = D, e[68] = X, e[69] = K, e[70] = Fe, e[71] = ee, e[72] = i, e[73] = _e) : _e = e[73], _e;
2129
2131
  }
2130
2132
  function Or(n) {
2131
2133
  return n.setUnit;
@@ -2166,10 +2168,10 @@ function Vr(n) {
2166
2168
  units: a,
2167
2169
  distance: l,
2168
2170
  setDistance: d,
2169
- clearLayerOnStart: p,
2170
- modeSelected: h,
2171
+ clearLayerOnStart: f,
2172
+ modeSelected: y,
2171
2173
  setModeSelected: b,
2172
- enabled: f,
2174
+ enabled: p,
2173
2175
  setEnabled: M,
2174
2176
  finished: S,
2175
2177
  setFinished: L,
@@ -2185,33 +2187,33 @@ function Vr(n) {
2185
2187
  toggleLayer: V
2186
2188
  } = xt(o);
2187
2189
  let q;
2188
- e[2] !== h || e[3] !== i || e[4] !== w || e[5] !== k ? (q = () => {
2189
- if (h && i[h]) {
2190
- const T = i[h].mode;
2190
+ e[2] !== y || e[3] !== i || e[4] !== w || e[5] !== k ? (q = () => {
2191
+ if (y && i[y]) {
2192
+ const T = i[y].mode;
2191
2193
  w(new T());
2192
2194
  }
2193
2195
  return () => {
2194
2196
  k([]);
2195
2197
  };
2196
- }, e[2] = h, e[3] = i, e[4] = w, e[5] = k, e[6] = q) : q = e[6];
2198
+ }, e[2] = y, e[3] = i, e[4] = w, e[5] = k, e[6] = q) : q = e[6];
2197
2199
  let F;
2198
- e[7] !== h || e[8] !== i || e[9] !== M || e[10] !== w || e[11] !== k ? (F = [i, h, k, w, M], e[7] = h, e[8] = i, e[9] = M, e[10] = w, e[11] = k, e[12] = F) : F = e[12], Q(q, F);
2200
+ e[7] !== y || e[8] !== i || e[9] !== M || e[10] !== w || e[11] !== k ? (F = [i, y, k, w, M], e[7] = y, e[8] = i, e[9] = M, e[10] = w, e[11] = k, e[12] = F) : F = e[12], Q(q, F);
2199
2201
  let _;
2200
- e[13] !== V || e[14] !== A || e[15] !== p || e[16] !== S ? (_ = (T) => {
2201
- T && (p || !S) && A(), V(T);
2202
- }, e[13] = V, e[14] = A, e[15] = p, e[16] = S, e[17] = _) : _ = e[17];
2203
- const O = _, c = !!p;
2204
- let y;
2205
- return e[18] !== s || e[19] !== A || e[20] !== l || e[21] !== f || e[22] !== S || e[23] !== u || e[24] !== t || e[25] !== g || e[26] !== h || e[27] !== i || e[28] !== v || e[29] !== d || e[30] !== M || e[31] !== L || e[32] !== m || e[33] !== b || e[34] !== k || e[35] !== U || e[36] !== c || e[37] !== r || e[38] !== O || e[39] !== D || e[40] !== a ? (y = s({
2202
+ e[13] !== V || e[14] !== A || e[15] !== f || e[16] !== S ? (_ = (T) => {
2203
+ T && (f || !S) && A(), V(T);
2204
+ }, e[13] = V, e[14] = A, e[15] = f, e[16] = S, e[17] = _) : _ = e[17];
2205
+ const O = _, c = !!f;
2206
+ let h;
2207
+ return e[18] !== s || e[19] !== A || e[20] !== l || e[21] !== p || e[22] !== S || e[23] !== u || e[24] !== t || e[25] !== g || e[26] !== y || e[27] !== i || e[28] !== v || e[29] !== d || e[30] !== M || e[31] !== L || e[32] !== m || e[33] !== b || e[34] !== k || e[35] !== U || e[36] !== c || e[37] !== r || e[38] !== O || e[39] !== D || e[40] !== a ? (h = s({
2206
2208
  mapId: t,
2207
2209
  distance: l,
2208
- enabled: f,
2210
+ enabled: p,
2209
2211
  finished: S,
2210
2212
  locale: u,
2211
2213
  positions: v,
2212
2214
  unit: D,
2213
2215
  clearLayerOnStart: c,
2214
- modeSelected: h,
2216
+ modeSelected: y,
2215
2217
  modes: i,
2216
2218
  units: a,
2217
2219
  value: Ae({
@@ -2230,7 +2232,7 @@ function Vr(n) {
2230
2232
  setEnabled: M,
2231
2233
  toggleLayer: O,
2232
2234
  clearLayer: A
2233
- }), e[18] = s, e[19] = A, e[20] = l, e[21] = f, e[22] = S, e[23] = u, e[24] = t, e[25] = g, e[26] = h, e[27] = i, e[28] = v, e[29] = d, e[30] = M, e[31] = L, e[32] = m, e[33] = b, e[34] = k, e[35] = U, e[36] = c, e[37] = r, e[38] = O, e[39] = D, e[40] = a, e[41] = y) : y = e[41], y;
2235
+ }), e[18] = s, e[19] = A, e[20] = l, e[21] = p, e[22] = S, e[23] = u, e[24] = t, e[25] = g, e[26] = y, e[27] = i, e[28] = v, e[29] = d, e[30] = M, e[31] = L, e[32] = m, e[33] = b, e[34] = k, e[35] = U, e[36] = c, e[37] = r, e[38] = O, e[39] = D, e[40] = a, e[41] = h) : h = e[41], h;
2234
2236
  }
2235
2237
  const qr = [fe];
2236
2238
  function jr(n) {
@@ -2248,21 +2250,21 @@ function jr(n) {
2248
2250
  const {
2249
2251
  styles: l
2250
2252
  } = a, d = l === void 0 ? it.styles : l;
2251
- let p;
2252
- e[2] !== r ? (p = {
2253
+ let f;
2254
+ e[2] !== r ? (f = {
2253
2255
  mapId: r
2254
- }, e[2] = r, e[3] = p) : p = e[3];
2256
+ }, e[2] = r, e[3] = f) : f = e[3];
2255
2257
  const {
2256
- setDistance: h,
2258
+ setDistance: y,
2257
2259
  clearLayerOnStart: b,
2258
- enabled: f,
2260
+ enabled: p,
2259
2261
  finished: M,
2260
2262
  setFinished: S,
2261
2263
  locale: L,
2262
2264
  setPositions: u,
2263
2265
  unit: m,
2264
2266
  modeInstance: g
2265
- } = xt(p), w = Se(Gr), v = x(zr), k = x(Zr), D = x(Nr), U = x(Hr);
2267
+ } = xt(f), w = Se(Gr), v = x(zr), k = x(Zr), D = x(Nr), U = x(Hr);
2266
2268
  let A;
2267
2269
  e[4] !== r ? (A = (I) => I.maps[r]?.layers.filter(Ir), e[4] = r, e[5] = A) : A = e[5];
2268
2270
  const V = x(vt(A)), q = x(Br);
@@ -2275,33 +2277,33 @@ function jr(n) {
2275
2277
  layerId: fe
2276
2278
  }, e[7] = r, e[8] = O) : O = e[8], Ct(O);
2277
2279
  let c;
2278
- e[9] !== D || e[10] !== f || e[11] !== v || e[12] !== r || e[13] !== U || e[14] !== k ? (c = () => {
2280
+ e[9] !== D || e[10] !== p || e[11] !== v || e[12] !== r || e[13] !== U || e[14] !== k ? (c = () => {
2279
2281
  const I = v(r);
2280
- return f && (D(r, [fe]), k(r, {
2282
+ return p && (D(r, [fe]), k(r, {
2281
2283
  doubleClickZoom: !1
2282
2284
  })), () => {
2283
2285
  U(r, [fe]), k(r, I);
2284
2286
  };
2285
- }, e[9] = D, e[10] = f, e[11] = v, e[12] = r, e[13] = U, e[14] = k, e[15] = c) : c = e[15];
2286
- let y;
2287
- e[16] !== D || e[17] !== b || e[18] !== f || e[19] !== v || e[20] !== r || e[21] !== U || e[22] !== k ? (y = [D, b, r, U, f, v, k], e[16] = D, e[17] = b, e[18] = f, e[19] = v, e[20] = r, e[21] = U, e[22] = k, e[23] = y) : y = e[23], Q(c, y);
2287
+ }, e[9] = D, e[10] = p, e[11] = v, e[12] = r, e[13] = U, e[14] = k, e[15] = c) : c = e[15];
2288
+ let h;
2289
+ e[16] !== D || e[17] !== b || e[18] !== p || e[19] !== v || e[20] !== r || e[21] !== U || e[22] !== k ? (h = [D, b, r, U, p, v, k], e[16] = D, e[17] = b, e[18] = p, e[19] = v, e[20] = r, e[21] = U, e[22] = k, e[23] = h) : h = e[23], Q(c, h);
2288
2290
  let T, P;
2289
- e[24] !== f || e[25] !== q || e[26] !== r || e[27] !== V || e[28] !== w ? (T = () => {
2291
+ e[24] !== p || e[25] !== q || e[26] !== r || e[27] !== V || e[28] !== w ? (T = () => {
2290
2292
  V?.forEach((I) => {
2291
2293
  const $ = q(r)?.props.layers.find((W) => W.props.id === I);
2292
2294
  if (!$)
2293
2295
  return;
2294
- f && (_.current[I] = $?.props.pickable);
2295
- const H = !f && (_.current[I] ?? $?.props.pickable);
2296
+ p && (_.current[I] = $?.props.pickable);
2297
+ const H = !p && (_.current[I] ?? $?.props.pickable);
2296
2298
  w(I, {
2297
2299
  props: {
2298
2300
  pickable: H
2299
2301
  }
2300
2302
  });
2301
2303
  });
2302
- }, P = [f, q, r, V, w], e[24] = f, e[25] = q, e[26] = r, e[27] = V, e[28] = w, e[29] = T, e[30] = P) : (T = e[29], P = e[30]), Q(T, P);
2304
+ }, P = [p, q, r, V, w], e[24] = p, e[25] = q, e[26] = r, e[27] = V, e[28] = w, e[29] = T, e[30] = P) : (T = e[29], P = e[30]), Q(T, P);
2303
2305
  let C;
2304
- e[31] !== g || e[32] !== h || e[33] !== S || e[34] !== u ? (C = (I) => {
2306
+ e[31] !== g || e[32] !== y || e[33] !== S || e[34] !== u ? (C = (I) => {
2305
2307
  const {
2306
2308
  editType: $,
2307
2309
  editContext: H
@@ -2310,19 +2312,19 @@ function jr(n) {
2310
2312
  g.resetClickSequence();
2311
2313
  return;
2312
2314
  }
2313
- $ === oe.addPosition && h(H.distance), S(!!H.finished);
2315
+ $ === oe.addPosition && y(H.distance), S(!!H.finished);
2314
2316
  const W = H.positions;
2315
2317
  W?.length && u(W);
2316
- }, e[31] = g, e[32] = h, e[33] = S, e[34] = u, e[35] = C) : C = e[35];
2318
+ }, e[31] = g, e[32] = y, e[33] = S, e[34] = u, e[35] = C) : C = e[35];
2317
2319
  const E = C;
2318
2320
  let B, Z;
2319
- return e[36] !== f || e[37] !== M || e[38] !== o || e[39] !== L || e[40] !== g || e[41] !== E || e[42] !== w || e[43] !== d.colors.editing || e[44] !== d.colors.finished || e[45] !== d.colors.point || e[46] !== i || e[47] !== m ? (B = () => {
2321
+ return e[36] !== p || e[37] !== M || e[38] !== o || e[39] !== L || e[40] !== g || e[41] !== E || e[42] !== w || e[43] !== d.colors.editing || e[44] !== d.colors.finished || e[45] !== d.colors.point || e[46] !== i || e[47] !== m ? (B = () => {
2320
2322
  const I = M ? d.colors.finished : d.colors.editing, $ = M ? d.colors.finished : d.colors.point, H = Lr({
2321
2323
  layerProps: {
2322
2324
  ...o,
2323
2325
  pickable: o?.pickable ?? !M
2324
2326
  },
2325
- enabled: f,
2327
+ enabled: p,
2326
2328
  guideColor: I,
2327
2329
  pointColor: $,
2328
2330
  locale: L,
@@ -2332,7 +2334,7 @@ function jr(n) {
2332
2334
  textOptions: i
2333
2335
  });
2334
2336
  w(fe, H);
2335
- }, Z = [M, g, o, L, E, w, d.colors.editing, d.colors.finished, d.colors.point, i, m, f], e[36] = f, e[37] = M, e[38] = o, e[39] = L, e[40] = g, e[41] = E, e[42] = w, e[43] = d.colors.editing, e[44] = d.colors.finished, e[45] = d.colors.point, e[46] = i, e[47] = m, e[48] = B, e[49] = Z) : (B = e[48], Z = e[49]), Q(B, Z), t;
2337
+ }, Z = [M, g, o, L, E, w, d.colors.editing, d.colors.finished, d.colors.point, i, m, p], e[36] = p, e[37] = M, e[38] = o, e[39] = L, e[40] = g, e[41] = E, e[42] = w, e[43] = d.colors.editing, e[44] = d.colors.finished, e[45] = d.colors.point, e[46] = i, e[47] = m, e[48] = B, e[49] = Z) : (B = e[48], Z = e[49]), Q(B, Z), t;
2336
2338
  }
2337
2339
  function Br(n) {
2338
2340
  return n.getDeckInstance;
@@ -2400,12 +2402,12 @@ function vo(n) {
2400
2402
  let l;
2401
2403
  e[7] !== t ? (l = (E) => E.maps[t].instanceRef, e[7] = t, e[8] = l) : l = e[8];
2402
2404
  const d = x(l);
2403
- let p;
2404
- e[9] !== t ? (p = (E) => E.maps[t].overlayRef, e[9] = t, e[10] = p) : p = e[10];
2405
- const h = x(p), b = ke(null);
2406
2405
  let f;
2407
- e[11] !== t ? (f = (E) => E.viewStates[t], e[11] = t, e[12] = f) : f = e[12];
2408
- const M = x(f);
2406
+ e[9] !== t ? (f = (E) => E.maps[t].overlayRef, e[9] = t, e[10] = f) : f = e[10];
2407
+ const y = x(f), b = ke(null);
2408
+ let p;
2409
+ e[11] !== t ? (p = (E) => E.viewStates[t], e[11] = t, e[12] = p) : p = e[12];
2410
+ const M = x(p);
2409
2411
  let S;
2410
2412
  e[13] !== t ? (S = (E) => E.maps[t].controller, e[13] = t, e[14] = S) : S = e[14];
2411
2413
  const L = x(S), u = x(rs), m = x(ns), g = x(ts), w = x(es), v = x(Xr);
@@ -2439,15 +2441,15 @@ function vo(n) {
2439
2441
  const Z = !!u(t)?.props.layers?.every(Qr);
2440
2442
  w(t, Z), o.onAfterRender?.(E);
2441
2443
  }, e[29] = u, e[30] = t, e[31] = o, e[32] = w, e[33] = O) : O = e[33];
2442
- const c = O, y = o.onDragEnd;
2444
+ const c = O, h = o.onDragEnd;
2443
2445
  let T;
2444
- e[34] !== y || e[35] !== t || e[36] !== v ? (T = (...E) => {
2446
+ e[34] !== h || e[35] !== t || e[36] !== v ? (T = (...E) => {
2445
2447
  const B = E;
2446
- v(t), y && y(...B);
2447
- }, e[34] = y, e[35] = t, e[36] = v, e[37] = T) : T = e[37];
2448
+ v(t), h && h(...B);
2449
+ }, e[34] = h, e[35] = t, e[36] = v, e[37] = T) : T = e[37];
2448
2450
  const P = T;
2449
2451
  let C;
2450
- return e[38] !== a || e[39] !== A || e[40] !== L || e[41] !== c || e[42] !== P || e[43] !== _ || e[44] !== q || e[45] !== t || e[46] !== d || e[47] !== h || e[48] !== o || e[49] !== M ? (C = /* @__PURE__ */ G(Bn, { ...o, controller: L, id: t, layers: A, instanceRef: d, overlayRef: h, basemap: a, initialViewState: M, onLoad: _, onViewStateChange: q, onAfterRender: c, onDragEnd: P }), e[38] = a, e[39] = A, e[40] = L, e[41] = c, e[42] = P, e[43] = _, e[44] = q, e[45] = t, e[46] = d, e[47] = h, e[48] = o, e[49] = M, e[50] = C) : C = e[50], C;
2452
+ return e[38] !== a || e[39] !== A || e[40] !== L || e[41] !== c || e[42] !== P || e[43] !== _ || e[44] !== q || e[45] !== t || e[46] !== d || e[47] !== y || e[48] !== o || e[49] !== M ? (C = /* @__PURE__ */ G(Bn, { ...o, controller: L, id: t, layers: A, instanceRef: d, overlayRef: y, basemap: a, initialViewState: M, onLoad: _, onViewStateChange: q, onAfterRender: c, onDragEnd: P }), e[38] = a, e[39] = A, e[40] = L, e[41] = c, e[42] = P, e[43] = _, e[44] = q, e[45] = t, e[46] = d, e[47] = y, e[48] = o, e[49] = M, e[50] = C) : C = e[50], C;
2451
2453
  }
2452
2454
  function Qr(n) {
2453
2455
  return n?.isLoaded;
@@ -2496,7 +2498,7 @@ function ss() {
2496
2498
  return c && DataView.prototype.isPrototypeOf(c);
2497
2499
  }
2498
2500
  if (l.arrayBuffer)
2499
- var p = [
2501
+ var f = [
2500
2502
  "[object Int8Array]",
2501
2503
  "[object Uint8Array]",
2502
2504
  "[object Uint8ClampedArray]",
@@ -2506,68 +2508,68 @@ function ss() {
2506
2508
  "[object Uint32Array]",
2507
2509
  "[object Float32Array]",
2508
2510
  "[object Float64Array]"
2509
- ], h = ArrayBuffer.isView || function(c) {
2510
- return c && p.indexOf(Object.prototype.toString.call(c)) > -1;
2511
+ ], y = ArrayBuffer.isView || function(c) {
2512
+ return c && f.indexOf(Object.prototype.toString.call(c)) > -1;
2511
2513
  };
2512
2514
  function b(c) {
2513
2515
  if (typeof c != "string" && (c = String(c)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(c) || c === "")
2514
2516
  throw new TypeError('Invalid character in header field name: "' + c + '"');
2515
2517
  return c.toLowerCase();
2516
2518
  }
2517
- function f(c) {
2519
+ function p(c) {
2518
2520
  return typeof c != "string" && (c = String(c)), c;
2519
2521
  }
2520
2522
  function M(c) {
2521
- var y = {
2523
+ var h = {
2522
2524
  next: function() {
2523
2525
  var T = c.shift();
2524
2526
  return { done: T === void 0, value: T };
2525
2527
  }
2526
2528
  };
2527
- return l.iterable && (y[Symbol.iterator] = function() {
2528
- return y;
2529
- }), y;
2529
+ return l.iterable && (h[Symbol.iterator] = function() {
2530
+ return h;
2531
+ }), h;
2530
2532
  }
2531
2533
  function S(c) {
2532
- this.map = {}, c instanceof S ? c.forEach(function(y, T) {
2533
- this.append(T, y);
2534
- }, this) : Array.isArray(c) ? c.forEach(function(y) {
2535
- if (y.length != 2)
2536
- throw new TypeError("Headers constructor: expected name/value pair to be length 2, found" + y.length);
2537
- this.append(y[0], y[1]);
2538
- }, this) : c && Object.getOwnPropertyNames(c).forEach(function(y) {
2539
- this.append(y, c[y]);
2534
+ this.map = {}, c instanceof S ? c.forEach(function(h, T) {
2535
+ this.append(T, h);
2536
+ }, this) : Array.isArray(c) ? c.forEach(function(h) {
2537
+ if (h.length != 2)
2538
+ throw new TypeError("Headers constructor: expected name/value pair to be length 2, found" + h.length);
2539
+ this.append(h[0], h[1]);
2540
+ }, this) : c && Object.getOwnPropertyNames(c).forEach(function(h) {
2541
+ this.append(h, c[h]);
2540
2542
  }, this);
2541
2543
  }
2542
- S.prototype.append = function(c, y) {
2543
- c = b(c), y = f(y);
2544
+ S.prototype.append = function(c, h) {
2545
+ c = b(c), h = p(h);
2544
2546
  var T = this.map[c];
2545
- this.map[c] = T ? T + ", " + y : y;
2547
+ this.map[c] = T ? T + ", " + h : h;
2546
2548
  }, S.prototype.delete = function(c) {
2547
2549
  delete this.map[b(c)];
2548
2550
  }, S.prototype.get = function(c) {
2549
2551
  return c = b(c), this.has(c) ? this.map[c] : null;
2550
2552
  }, S.prototype.has = function(c) {
2551
2553
  return this.map.hasOwnProperty(b(c));
2552
- }, S.prototype.set = function(c, y) {
2553
- this.map[b(c)] = f(y);
2554
- }, S.prototype.forEach = function(c, y) {
2554
+ }, S.prototype.set = function(c, h) {
2555
+ this.map[b(c)] = p(h);
2556
+ }, S.prototype.forEach = function(c, h) {
2555
2557
  for (var T in this.map)
2556
- this.map.hasOwnProperty(T) && c.call(y, this.map[T], T, this);
2558
+ this.map.hasOwnProperty(T) && c.call(h, this.map[T], T, this);
2557
2559
  }, S.prototype.keys = function() {
2558
2560
  var c = [];
2559
- return this.forEach(function(y, T) {
2561
+ return this.forEach(function(h, T) {
2560
2562
  c.push(T);
2561
2563
  }), M(c);
2562
2564
  }, S.prototype.values = function() {
2563
2565
  var c = [];
2564
- return this.forEach(function(y) {
2565
- c.push(y);
2566
+ return this.forEach(function(h) {
2567
+ c.push(h);
2566
2568
  }), M(c);
2567
2569
  }, S.prototype.entries = function() {
2568
2570
  var c = [];
2569
- return this.forEach(function(y, T) {
2570
- c.push([T, y]);
2571
+ return this.forEach(function(h, T) {
2572
+ c.push([T, h]);
2571
2573
  }), M(c);
2572
2574
  }, l.iterable && (S.prototype[Symbol.iterator] = S.prototype.entries);
2573
2575
  function L(c) {
@@ -2578,36 +2580,36 @@ function ss() {
2578
2580
  }
2579
2581
  }
2580
2582
  function u(c) {
2581
- return new Promise(function(y, T) {
2583
+ return new Promise(function(h, T) {
2582
2584
  c.onload = function() {
2583
- y(c.result);
2585
+ h(c.result);
2584
2586
  }, c.onerror = function() {
2585
2587
  T(c.error);
2586
2588
  };
2587
2589
  });
2588
2590
  }
2589
2591
  function m(c) {
2590
- var y = new FileReader(), T = u(y);
2591
- return y.readAsArrayBuffer(c), T;
2592
+ var h = new FileReader(), T = u(h);
2593
+ return h.readAsArrayBuffer(c), T;
2592
2594
  }
2593
2595
  function g(c) {
2594
- var y = new FileReader(), T = u(y), P = /charset=([A-Za-z0-9_-]+)/.exec(c.type), C = P ? P[1] : "utf-8";
2595
- return y.readAsText(c, C), T;
2596
+ var h = new FileReader(), T = u(h), P = /charset=([A-Za-z0-9_-]+)/.exec(c.type), C = P ? P[1] : "utf-8";
2597
+ return h.readAsText(c, C), T;
2596
2598
  }
2597
2599
  function w(c) {
2598
- for (var y = new Uint8Array(c), T = new Array(y.length), P = 0; P < y.length; P++)
2599
- T[P] = String.fromCharCode(y[P]);
2600
+ for (var h = new Uint8Array(c), T = new Array(h.length), P = 0; P < h.length; P++)
2601
+ T[P] = String.fromCharCode(h[P]);
2600
2602
  return T.join("");
2601
2603
  }
2602
2604
  function v(c) {
2603
2605
  if (c.slice)
2604
2606
  return c.slice(0);
2605
- var y = new Uint8Array(c.byteLength);
2606
- return y.set(new Uint8Array(c)), y.buffer;
2607
+ var h = new Uint8Array(c.byteLength);
2608
+ return h.set(new Uint8Array(c)), h.buffer;
2607
2609
  }
2608
2610
  function k() {
2609
2611
  return this.bodyUsed = !1, this._initBody = function(c) {
2610
- this.bodyUsed = this.bodyUsed, this._bodyInit = c, c ? typeof c == "string" ? this._bodyText = c : l.blob && Blob.prototype.isPrototypeOf(c) ? this._bodyBlob = c : l.formData && FormData.prototype.isPrototypeOf(c) ? this._bodyFormData = c : l.searchParams && URLSearchParams.prototype.isPrototypeOf(c) ? this._bodyText = c.toString() : l.arrayBuffer && l.blob && d(c) ? (this._bodyArrayBuffer = v(c.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : l.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(c) || h(c)) ? this._bodyArrayBuffer = v(c) : this._bodyText = c = Object.prototype.toString.call(c) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof c == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : l.searchParams && URLSearchParams.prototype.isPrototypeOf(c) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
2612
+ this.bodyUsed = this.bodyUsed, this._bodyInit = c, c ? typeof c == "string" ? this._bodyText = c : l.blob && Blob.prototype.isPrototypeOf(c) ? this._bodyBlob = c : l.formData && FormData.prototype.isPrototypeOf(c) ? this._bodyFormData = c : l.searchParams && URLSearchParams.prototype.isPrototypeOf(c) ? this._bodyText = c.toString() : l.arrayBuffer && l.blob && d(c) ? (this._bodyArrayBuffer = v(c.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : l.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(c) || y(c)) ? this._bodyArrayBuffer = v(c) : this._bodyText = c = Object.prototype.toString.call(c) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof c == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : l.searchParams && URLSearchParams.prototype.isPrototypeOf(c) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
2611
2613
  }, l.blob && (this.blob = function() {
2612
2614
  var c = L(this);
2613
2615
  if (c)
@@ -2652,28 +2654,28 @@ function ss() {
2652
2654
  }
2653
2655
  var D = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
2654
2656
  function U(c) {
2655
- var y = c.toUpperCase();
2656
- return D.indexOf(y) > -1 ? y : c;
2657
+ var h = c.toUpperCase();
2658
+ return D.indexOf(h) > -1 ? h : c;
2657
2659
  }
2658
- function A(c, y) {
2660
+ function A(c, h) {
2659
2661
  if (!(this instanceof A))
2660
2662
  throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
2661
- y = y || {};
2662
- var T = y.body;
2663
+ h = h || {};
2664
+ var T = h.body;
2663
2665
  if (c instanceof A) {
2664
2666
  if (c.bodyUsed)
2665
2667
  throw new TypeError("Already read");
2666
- this.url = c.url, this.credentials = c.credentials, y.headers || (this.headers = new S(c.headers)), this.method = c.method, this.mode = c.mode, this.signal = c.signal, !T && c._bodyInit != null && (T = c._bodyInit, c.bodyUsed = !0);
2668
+ this.url = c.url, this.credentials = c.credentials, h.headers || (this.headers = new S(c.headers)), this.method = c.method, this.mode = c.mode, this.signal = c.signal, !T && c._bodyInit != null && (T = c._bodyInit, c.bodyUsed = !0);
2667
2669
  } else
2668
2670
  this.url = String(c);
2669
- if (this.credentials = y.credentials || this.credentials || "same-origin", (y.headers || !this.headers) && (this.headers = new S(y.headers)), this.method = U(y.method || this.method || "GET"), this.mode = y.mode || this.mode || null, this.signal = y.signal || this.signal || (function() {
2671
+ if (this.credentials = h.credentials || this.credentials || "same-origin", (h.headers || !this.headers) && (this.headers = new S(h.headers)), this.method = U(h.method || this.method || "GET"), this.mode = h.mode || this.mode || null, this.signal = h.signal || this.signal || (function() {
2670
2672
  if ("AbortController" in a) {
2671
2673
  var E = new AbortController();
2672
2674
  return E.signal;
2673
2675
  }
2674
2676
  })(), this.referrer = null, (this.method === "GET" || this.method === "HEAD") && T)
2675
2677
  throw new TypeError("Body not allowed for GET or HEAD requests");
2676
- if (this._initBody(T), (this.method === "GET" || this.method === "HEAD") && (y.cache === "no-store" || y.cache === "no-cache")) {
2678
+ if (this._initBody(T), (this.method === "GET" || this.method === "HEAD") && (h.cache === "no-store" || h.cache === "no-cache")) {
2677
2679
  var P = /([?&])_=[^&]*/;
2678
2680
  if (P.test(this.url))
2679
2681
  this.url = this.url.replace(P, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
@@ -2687,16 +2689,16 @@ function ss() {
2687
2689
  return new A(this, { body: this._bodyInit });
2688
2690
  };
2689
2691
  function V(c) {
2690
- var y = new FormData();
2692
+ var h = new FormData();
2691
2693
  return c.trim().split("&").forEach(function(T) {
2692
2694
  if (T) {
2693
2695
  var P = T.split("="), C = P.shift().replace(/\+/g, " "), E = P.join("=").replace(/\+/g, " ");
2694
- y.append(decodeURIComponent(C), decodeURIComponent(E));
2696
+ h.append(decodeURIComponent(C), decodeURIComponent(E));
2695
2697
  }
2696
- }), y;
2698
+ }), h;
2697
2699
  }
2698
2700
  function q(c) {
2699
- var y = new S(), T = c.replace(/\r?\n[\t ]+/g, " ");
2701
+ var h = new S(), T = c.replace(/\r?\n[\t ]+/g, " ");
2700
2702
  return T.split("\r").map(function(P) {
2701
2703
  return P.indexOf(`
2702
2704
  `) === 0 ? P.substr(1, P.length) : P;
@@ -2705,20 +2707,20 @@ function ss() {
2705
2707
  if (E) {
2706
2708
  var B = C.join(":").trim();
2707
2709
  try {
2708
- y.append(E, B);
2710
+ h.append(E, B);
2709
2711
  } catch (Z) {
2710
2712
  console.warn("Response " + Z.message);
2711
2713
  }
2712
2714
  }
2713
- }), y;
2715
+ }), h;
2714
2716
  }
2715
2717
  k.call(A.prototype);
2716
- function F(c, y) {
2718
+ function F(c, h) {
2717
2719
  if (!(this instanceof F))
2718
2720
  throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
2719
- if (y || (y = {}), this.type = "default", this.status = y.status === void 0 ? 200 : y.status, this.status < 200 || this.status > 599)
2721
+ if (h || (h = {}), this.type = "default", this.status = h.status === void 0 ? 200 : h.status, this.status < 200 || this.status > 599)
2720
2722
  throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
2721
- this.ok = this.status >= 200 && this.status < 300, this.statusText = y.statusText === void 0 ? "" : "" + y.statusText, this.headers = new S(y.headers), this.url = y.url || "", this._initBody(c);
2723
+ this.ok = this.status >= 200 && this.status < 300, this.statusText = h.statusText === void 0 ? "" : "" + h.statusText, this.headers = new S(h.headers), this.url = h.url || "", this._initBody(c);
2722
2724
  }
2723
2725
  k.call(F.prototype), F.prototype.clone = function() {
2724
2726
  return new F(this._bodyInit, {
@@ -2732,23 +2734,23 @@ function ss() {
2732
2734
  return c.ok = !1, c.status = 0, c.type = "error", c;
2733
2735
  };
2734
2736
  var _ = [301, 302, 303, 307, 308];
2735
- F.redirect = function(c, y) {
2736
- if (_.indexOf(y) === -1)
2737
+ F.redirect = function(c, h) {
2738
+ if (_.indexOf(h) === -1)
2737
2739
  throw new RangeError("Invalid status code");
2738
- return new F(null, { status: y, headers: { location: c } });
2740
+ return new F(null, { status: h, headers: { location: c } });
2739
2741
  }, i.DOMException = a.DOMException;
2740
2742
  try {
2741
2743
  new i.DOMException();
2742
2744
  } catch {
2743
- i.DOMException = function(y, T) {
2744
- this.message = y, this.name = T;
2745
- var P = Error(y);
2745
+ i.DOMException = function(h, T) {
2746
+ this.message = h, this.name = T;
2747
+ var P = Error(h);
2746
2748
  this.stack = P.stack;
2747
2749
  }, i.DOMException.prototype = Object.create(Error.prototype), i.DOMException.prototype.constructor = i.DOMException;
2748
2750
  }
2749
- function O(c, y) {
2751
+ function O(c, h) {
2750
2752
  return new Promise(function(T, P) {
2751
- var C = new A(c, y);
2753
+ var C = new A(c, h);
2752
2754
  if (C.signal && C.signal.aborted)
2753
2755
  return P(new i.DOMException("Aborted", "AbortError"));
2754
2756
  var E = new XMLHttpRequest();
@@ -2785,10 +2787,10 @@ function ss() {
2785
2787
  return $;
2786
2788
  }
2787
2789
  }
2788
- if (E.open(C.method, Z(C.url), !0), C.credentials === "include" ? E.withCredentials = !0 : C.credentials === "omit" && (E.withCredentials = !1), "responseType" in E && (l.blob ? E.responseType = "blob" : l.arrayBuffer && (E.responseType = "arraybuffer")), y && typeof y.headers == "object" && !(y.headers instanceof S || a.Headers && y.headers instanceof a.Headers)) {
2790
+ if (E.open(C.method, Z(C.url), !0), C.credentials === "include" ? E.withCredentials = !0 : C.credentials === "omit" && (E.withCredentials = !1), "responseType" in E && (l.blob ? E.responseType = "blob" : l.arrayBuffer && (E.responseType = "arraybuffer")), h && typeof h.headers == "object" && !(h.headers instanceof S || a.Headers && h.headers instanceof a.Headers)) {
2789
2791
  var I = [];
2790
- Object.getOwnPropertyNames(y.headers).forEach(function($) {
2791
- I.push(b($)), E.setRequestHeader($, f(y.headers[$]));
2792
+ Object.getOwnPropertyNames(h.headers).forEach(function($) {
2793
+ I.push(b($)), E.setRequestHeader($, p(h.headers[$]));
2792
2794
  }), C.headers.forEach(function($, H) {
2793
2795
  I.indexOf(H) === -1 && E.setRequestHeader(H, $);
2794
2796
  });
@@ -2861,13 +2863,13 @@ function ds() {
2861
2863
  var g = m.customMerge(u);
2862
2864
  return typeof g == "function" ? g : S;
2863
2865
  }
2864
- function p(u) {
2866
+ function f(u) {
2865
2867
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(u).filter(function(m) {
2866
2868
  return Object.propertyIsEnumerable.call(u, m);
2867
2869
  }) : [];
2868
2870
  }
2869
- function h(u) {
2870
- return Object.keys(u).concat(p(u));
2871
+ function y(u) {
2872
+ return Object.keys(u).concat(f(u));
2871
2873
  }
2872
2874
  function b(u, m) {
2873
2875
  try {
@@ -2876,15 +2878,15 @@ function ds() {
2876
2878
  return !1;
2877
2879
  }
2878
2880
  }
2879
- function f(u, m) {
2881
+ function p(u, m) {
2880
2882
  return b(u, m) && !(Object.hasOwnProperty.call(u, m) && Object.propertyIsEnumerable.call(u, m));
2881
2883
  }
2882
2884
  function M(u, m, g) {
2883
2885
  var w = {};
2884
- return g.isMergeableObject(u) && h(u).forEach(function(v) {
2886
+ return g.isMergeableObject(u) && y(u).forEach(function(v) {
2885
2887
  w[v] = a(u[v], g);
2886
- }), h(m).forEach(function(v) {
2887
- f(u, v) || (b(u, v) && g.isMergeableObject(m[v]) ? w[v] = d(v, g)(u[v], m[v], g) : w[v] = a(m[v], g));
2888
+ }), y(m).forEach(function(v) {
2889
+ p(u, v) || (b(u, v) && g.isMergeableObject(m[v]) ? w[v] = d(v, g)(u[v], m[v], g) : w[v] = a(m[v], g));
2888
2890
  }), w;
2889
2891
  }
2890
2892
  function S(u, m, g) {
@@ -2963,21 +2965,21 @@ async function Ut({
2963
2965
  let d = cs({
2964
2966
  url: i,
2965
2967
  params: o
2966
- }), p = e, h = s;
2967
- s === be.get && d.length > a && (p = o, h = be.post, d = i);
2968
+ }), f = e, y = s;
2969
+ s === be.get && d.length > a && (f = o, y = be.post, d = i);
2968
2970
  const b = ms({
2969
- body: p,
2971
+ body: f,
2970
2972
  accessToken: t ?? r?.accessToken,
2971
- method: h,
2973
+ method: y,
2972
2974
  ...l
2973
2975
  });
2974
2976
  n && (b.signal = n);
2975
- const f = await is(d, b);
2976
- if (!f.ok) {
2977
- const M = await f.text();
2977
+ const p = await is(d, b);
2978
+ if (!p.ok) {
2979
+ const M = await p.text();
2978
2980
  throw new Error(M);
2979
2981
  }
2980
- return f.status === 204 ? Promise.resolve() : await f.json();
2982
+ return p.status === 204 ? Promise.resolve() : await p.json();
2981
2983
  }
2982
2984
  const Pe = gt()(kn((n, e) => ({
2983
2985
  sources: {},
@@ -3214,20 +3216,20 @@ function Ls(n) {
3214
3216
  let l;
3215
3217
  if (e[0] !== t || e[1] !== i || e[2] !== r || e[3] !== a || e[4] !== s) {
3216
3218
  l = [r, s], a?.props && "queryParameters" in a.props && a.props.queryParameters && l.push(a.props.queryParameters), i && l.push(i);
3217
- const h = a?.props.headers;
3219
+ const y = a?.props.headers;
3218
3220
  let b;
3219
- e[6] !== h ? (b = Ts(h), e[6] = h, e[7] = b) : b = e[7];
3220
- const f = b;
3221
- f && l.push(f), l.push(t), e[0] = t, e[1] = i, e[2] = r, e[3] = a, e[4] = s, e[5] = l;
3221
+ e[6] !== y ? (b = Ts(y), e[6] = y, e[7] = b) : b = e[7];
3222
+ const p = b;
3223
+ p && l.push(p), l.push(t), e[0] = t, e[1] = i, e[2] = r, e[3] = a, e[4] = s, e[5] = l;
3222
3224
  } else
3223
3225
  l = e[5];
3224
3226
  const d = l;
3225
- let p;
3226
- return e[8] !== i || e[9] !== d || e[10] !== a ? (p = {
3227
+ let f;
3228
+ return e[8] !== i || e[9] !== d || e[10] !== a ? (f = {
3227
3229
  mergedFilters: i,
3228
3230
  widgetModel: a,
3229
3231
  queryKey: d
3230
- }, e[8] = i, e[9] = d, e[10] = a, e[11] = p) : p = e[11], p;
3232
+ }, e[8] = i, e[9] = d, e[10] = a, e[11] = f) : f = e[11], f;
3231
3233
  }
3232
3234
  function de({
3233
3235
  queryKeyPrefix: n,
@@ -3239,15 +3241,15 @@ function de({
3239
3241
  sourceId: a,
3240
3242
  widgetProps: l,
3241
3243
  additionalFilter: d,
3242
- useQueryProps: p
3244
+ useQueryProps: f
3243
3245
  } = s;
3244
- let h;
3245
- o[0] !== p ? (h = p === void 0 ? {} : p, o[0] = p, o[1] = h) : h = o[1];
3246
- let b, f;
3247
- o[2] !== h ? ({
3246
+ let y;
3247
+ o[0] !== f ? (y = f === void 0 ? {} : f, o[0] = f, o[1] = y) : y = o[1];
3248
+ let b, p;
3249
+ o[2] !== y ? ({
3248
3250
  enabled: b,
3249
- ...f
3250
- } = h, o[2] = h, o[3] = b, o[4] = f) : (b = o[3], f = o[4]);
3251
+ ...p
3252
+ } = y, o[2] = y, o[3] = b, o[4] = p) : (b = o[3], p = o[4]);
3251
3253
  const M = b === void 0 ? !0 : b;
3252
3254
  let S;
3253
3255
  o[5] !== i || o[6] !== d || o[7] !== a || o[8] !== l ? (S = {
@@ -3278,12 +3280,12 @@ function de({
3278
3280
  }, o[12] = L, o[13] = m, o[14] = l, o[15] = w) : w = o[15];
3279
3281
  const v = !!m && M;
3280
3282
  let k;
3281
- return o[16] !== g || o[17] !== w || o[18] !== v || o[19] !== f ? (k = {
3283
+ return o[16] !== g || o[17] !== w || o[18] !== v || o[19] !== p ? (k = {
3282
3284
  queryKey: g,
3283
3285
  queryFn: w,
3284
3286
  enabled: v,
3285
- ...f
3286
- }, o[16] = g, o[17] = w, o[18] = v, o[19] = f, o[20] = k) : k = o[20], Et(k);
3287
+ ...p
3288
+ }, o[16] = g, o[17] = w, o[18] = v, o[19] = p, o[20] = k) : k = o[20], Et(k);
3287
3289
  };
3288
3290
  return {
3289
3291
  useModelHook: t,
@@ -3402,41 +3404,41 @@ function Io(n) {
3402
3404
  let l;
3403
3405
  e[2] !== o ? (l = o === void 0 ? [] : o, e[2] = o, e[3] = l) : l = e[3];
3404
3406
  const d = l;
3405
- let p;
3406
- e[4] !== t || e[5] !== d ? (p = /* @__PURE__ */ G(Pr, { values: d, children: t }), e[4] = t, e[5] = d, e[6] = p) : p = e[6];
3407
- let h;
3408
- e[7] !== a || e[8] !== p ? (h = /* @__PURE__ */ G(fr, { values: a, children: p }), e[7] = a, e[8] = p, e[9] = h) : h = e[9];
3407
+ let f;
3408
+ e[4] !== t || e[5] !== d ? (f = /* @__PURE__ */ G(Pr, { values: d, children: t }), e[4] = t, e[5] = d, e[6] = f) : f = e[6];
3409
+ let y;
3410
+ e[7] !== a || e[8] !== f ? (y = /* @__PURE__ */ G(fr, { values: a, children: f }), e[7] = a, e[8] = f, e[9] = y) : y = e[9];
3409
3411
  let b;
3410
- return e[10] !== r || e[11] !== h ? (b = /* @__PURE__ */ G(er, { values: r, children: h }), e[10] = r, e[11] = h, e[12] = b) : b = e[12], b;
3412
+ return e[10] !== r || e[11] !== y ? (b = /* @__PURE__ */ G(er, { values: r, children: y }), e[10] = r, e[11] = y, e[12] = b) : b = e[12], b;
3411
3413
  }
3412
3414
  function Ho(n, e) {
3413
3415
  const t = Se((d) => d.layers), r = Se((d) => d.setLayer), s = ge(() => $t(n.map((d) => t[d]).filter((d) => !!d?.legend)).toReversed(), [t, n]), o = ge(() => s.map(e), [e, s]), i = se(({
3414
3416
  id: d,
3415
- visible: p,
3416
- ...h
3417
+ visible: f,
3418
+ ...y
3417
3419
  }) => {
3418
3420
  r(d, {
3419
3421
  props: {
3420
- visible: p
3422
+ visible: f
3421
3423
  },
3422
- legend: h
3424
+ legend: y
3423
3425
  });
3424
3426
  }, [r]), a = se(({
3425
3427
  id: d,
3426
- collapsed: p
3428
+ collapsed: f
3427
3429
  }) => {
3428
3430
  r(d, {
3429
3431
  legend: {
3430
- collapsed: p
3432
+ collapsed: f
3431
3433
  }
3432
3434
  });
3433
3435
  }, [r]), l = se(({
3434
3436
  id: d,
3435
- opacity: p
3437
+ opacity: f
3436
3438
  }) => {
3437
3439
  r(d, {
3438
3440
  props: {
3439
- opacity: p
3441
+ opacity: f
3440
3442
  }
3441
3443
  });
3442
3444
  }, [r]);
@@ -3450,9 +3452,9 @@ function Ho(n, e) {
3450
3452
  function No({
3451
3453
  mapId: n
3452
3454
  }) {
3453
- const [e, t] = ue(void 0), [r, s] = ue(!1), [o, i] = ue(void 0), a = x((u) => u.maps[n]?.basemap), l = x((u) => u.getDeckInstance), d = x((u) => u.getOverlayInstance), p = x((u) => u.areLayersLoaded[n]), b = x((u) => u.maps[n]?.isLoaded) && p, {
3454
- type: f
3455
- } = we[a], M = f === ce.googleMaps, S = se(async () => {
3455
+ const [e, t] = ue(void 0), [r, s] = ue(!1), [o, i] = ue(void 0), a = x((u) => u.maps[n]?.basemap), l = x((u) => u.getDeckInstance), d = x((u) => u.getOverlayInstance), f = x((u) => u.areLayersLoaded[n]), b = x((u) => u.maps[n]?.isLoaded) && f, {
3456
+ type: p
3457
+ } = we[a], M = p === ce.googleMaps, S = se(async () => {
3456
3458
  const u = l(n), m = d(n);
3457
3459
  try {
3458
3460
  const g = document.createElement("canvas");
@@ -3507,13 +3509,13 @@ function Zo(n) {
3507
3509
  mapId: t
3508
3510
  }, e[4] = t, e[5] = a) : a = e[5];
3509
3511
  const l = Fs(a), d = i ?? l ?? s;
3510
- let p;
3511
- return e[6] !== i || e[7] !== l || e[8] !== d || e[9] !== s ? (p = {
3512
+ let f;
3513
+ return e[6] !== i || e[7] !== l || e[8] !== d || e[9] !== s ? (f = {
3512
3514
  spatialFilter: d,
3513
3515
  staticSpatialFilter: l,
3514
3516
  lassoToolsSpatialFilter: i,
3515
3517
  viewportSpatialFilter: s
3516
- }, e[6] = i, e[7] = l, e[8] = d, e[9] = s, e[10] = p) : p = e[10], p;
3518
+ }, e[6] = i, e[7] = l, e[8] = d, e[9] = s, e[10] = f) : f = e[10], f;
3517
3519
  }
3518
3520
  function Cs(n) {
3519
3521
  const e = j(4), {
@@ -3623,11 +3625,11 @@ function zo({
3623
3625
  getTitle: l = xs,
3624
3626
  getValue: d = Us
3625
3627
  }) {
3626
- const p = o ? l(o) : "", b = t.reduce((f, M) => {
3628
+ const f = o ? l(o) : "", b = t.reduce((p, M) => {
3627
3629
  const S = e[M], L = n[M], u = d(L, r, S), m = s ? i(M) : "";
3628
- return f + a(m, u);
3630
+ return p + a(m, u);
3629
3631
  }, "");
3630
- return p + b;
3632
+ return f + b;
3631
3633
  }
3632
3634
  function xs(n) {
3633
3635
  return `<h3 style="margin: 0"><strong>${n}</strong></h3></br>`;
@@ -3691,26 +3693,26 @@ function Ko(n) {
3691
3693
  } = x(s);
3692
3694
  let l;
3693
3695
  e[2] !== r ? (l = (v) => v.areLayersLoaded[r], e[2] = r, e[3] = l) : l = e[3];
3694
- const d = x(l), p = x(Hs), h = x(Is), b = x(Bs), f = !d;
3696
+ const d = x(l), f = x(Hs), y = x(Is), b = x(Bs), p = !d;
3695
3697
  let M;
3696
- e[4] !== r || e[5] !== p ? (M = (v) => p(r, v), e[4] = r, e[5] = p, e[6] = M) : M = e[6];
3698
+ e[4] !== r || e[5] !== f ? (M = (v) => f(r, v), e[4] = r, e[5] = f, e[6] = M) : M = e[6];
3697
3699
  const S = M;
3698
3700
  let L;
3699
- e[7] !== h || e[8] !== r ? (L = (v) => h(r, v), e[7] = h, e[8] = r, e[9] = L) : L = e[9];
3701
+ e[7] !== y || e[8] !== r ? (L = (v) => y(r, v), e[7] = y, e[8] = r, e[9] = L) : L = e[9];
3700
3702
  const u = L;
3701
3703
  let m;
3702
3704
  e[10] !== r || e[11] !== b ? (m = () => b(r), e[10] = r, e[11] = b, e[12] = m) : m = e[12];
3703
3705
  const g = m;
3704
3706
  let w;
3705
- return e[13] !== t || e[14] !== i || e[15] !== a || e[16] !== f || e[17] !== S || e[18] !== u || e[19] !== g || e[20] !== o ? (w = t({
3707
+ return e[13] !== t || e[14] !== i || e[15] !== a || e[16] !== p || e[17] !== S || e[18] !== u || e[19] !== g || e[20] !== o ? (w = t({
3706
3708
  zoom: o,
3707
3709
  maxZoom: i,
3708
3710
  minZoom: a,
3709
- isLoading: f,
3711
+ isLoading: p,
3710
3712
  setZoom: S,
3711
3713
  flyTo: u,
3712
3714
  resetViewState: g
3713
- }), e[13] = t, e[14] = i, e[15] = a, e[16] = f, e[17] = S, e[18] = u, e[19] = g, e[20] = o, e[21] = w) : w = e[21], w;
3715
+ }), e[13] = t, e[14] = i, e[15] = a, e[16] = p, e[17] = S, e[18] = u, e[19] = g, e[20] = o, e[21] = w) : w = e[21], w;
3714
3716
  }
3715
3717
  function Bs(n) {
3716
3718
  return n.resetViewState;
@@ -3735,11 +3737,11 @@ async function Ns({
3735
3737
  params: l,
3736
3738
  apiVersion: d = Ye
3737
3739
  }) {
3738
- const p = `${n}/${d}/stats/${e}/${s}`;
3740
+ const f = `${n}/${d}/stats/${e}/${s}`;
3739
3741
  return Ut({
3740
3742
  accessToken: t,
3741
3743
  signal: o,
3742
- url: p,
3744
+ url: f,
3743
3745
  method: be.get,
3744
3746
  params: {
3745
3747
  q: r,
@@ -3785,35 +3787,35 @@ function Yo(n) {
3785
3787
  } = n;
3786
3788
  let l;
3787
3789
  e[0] !== a ? (l = a === void 0 ? {} : a, e[0] = a, e[1] = l) : l = e[1];
3788
- let d, p;
3790
+ let d, f;
3789
3791
  e[2] !== l ? ({
3790
3792
  enabled: d,
3791
- ...p
3792
- } = l, e[2] = l, e[3] = d, e[4] = p) : (d = e[3], p = e[4]);
3793
- const h = d === void 0 ? !0 : d;
3793
+ ...f
3794
+ } = l, e[2] = l, e[3] = d, e[4] = f) : (d = e[3], f = e[4]);
3795
+ const y = d === void 0 ? !0 : d;
3794
3796
  let b;
3795
3797
  e[5] !== r || e[6] !== t ? (b = [t, r], e[5] = r, e[6] = t, e[7] = b) : b = e[7];
3796
- let f;
3797
- e[8] !== s || e[9] !== r || e[10] !== i || e[11] !== o || e[12] !== t ? (f = () => zs({
3798
+ let p;
3799
+ e[8] !== s || e[9] !== r || e[10] !== i || e[11] !== o || e[12] !== t ? (p = () => zs({
3798
3800
  source: t,
3799
3801
  params: o,
3800
3802
  attribute: r,
3801
3803
  accessToken: s,
3802
3804
  fetcherOptions: i
3803
- }), e[8] = s, e[9] = r, e[10] = i, e[11] = o, e[12] = t, e[13] = f) : f = e[13];
3805
+ }), e[8] = s, e[9] = r, e[10] = i, e[11] = o, e[12] = t, e[13] = p) : p = e[13];
3804
3806
  let M;
3805
- return e[14] !== h || e[15] !== t || e[16] !== b || e[17] !== f || e[18] !== p ? (M = {
3807
+ return e[14] !== y || e[15] !== t || e[16] !== b || e[17] !== p || e[18] !== f ? (M = {
3806
3808
  queryKey: b,
3807
- queryFn: f,
3809
+ queryFn: p,
3808
3810
  select(S) {
3809
3811
  return {
3810
3812
  ...S,
3811
3813
  type: S.type.toLowerCase()
3812
3814
  };
3813
3815
  },
3814
- enabled: !!t && h,
3815
- ...p
3816
- }, e[14] = h, e[15] = t, e[16] = b, e[17] = f, e[18] = p, e[19] = M) : M = e[19], Et(M);
3816
+ enabled: !!t && y,
3817
+ ...f
3818
+ }, e[14] = y, e[15] = t, e[16] = b, e[17] = p, e[18] = f, e[19] = M) : M = e[19], Et(M);
3817
3819
  }
3818
3820
  function zs({
3819
3821
  source: n,